@aic-kits/react 0.34.5 → 0.34.6

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/index.cjs CHANGED
@@ -1,65 +1,65 @@
1
- "use strict";var Dv=Object.defineProperty;var Hv=(n,r,i)=>r in n?Dv(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i;var _r=(n,r,i)=>Hv(n,typeof r!="symbol"?r+"":r,i);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("react/jsx-runtime"),Dn=require("styled-components"),h=require("react"),Zv=require("react-dom");var io=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},oi={exports:{}};/**
1
+ "use strict";var N8=Object.defineProperty;var U8=(t,r,i)=>r in t?N8(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i;var _r=(t,r,i)=>U8(t,typeof r!="symbol"?r+"":r,i);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("react/jsx-runtime"),Dn=require("styled-components"),d=require("react"),q8=require("react-dom");var oo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},si={exports:{}};/**
2
2
  * @license
3
3
  * Lodash <https://lodash.com/>
4
4
  * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
5
5
  * Released under MIT license <https://lodash.com/license>
6
6
  * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
7
7
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
8
- */var Nv=oi.exports,mc;function Vv(){return mc||(mc=1,function(n,r){(function(){var i,s="4.17.21",l=200,u="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",f="Expected a function",d="Invalid `variable` option passed into `_.template`",g="__lodash_hash_undefined__",v=500,C="__lodash_placeholder__",S=1,E=2,w=4,_=1,O=2,R=1,M=2,T=4,k=8,I=16,P=32,U=64,N=128,Q=256,pe=512,Ce=30,Me="...",D=800,z=16,G=1,le=2,te=3,oe=1/0,ee=9007199254740991,ve=17976931348623157e292,je=NaN,ke=4294967295,Ie=ke-1,De=ke>>>1,Ke=[["ary",N],["bind",R],["bindKey",M],["curry",k],["curryRight",I],["flip",pe],["partial",P],["partialRight",U],["rearg",Q]],gt="[object Arguments]",Be="[object Array]",it="[object AsyncFunction]",de="[object Boolean]",Se="[object Date]",Re="[object DOMException]",ye="[object Error]",J="[object Function]",ce="[object GeneratorFunction]",Z="[object Map]",ie="[object Number]",fe="[object Null]",we="[object Object]",We="[object Promise]",Xe="[object Proxy]",tt="[object RegExp]",nt="[object Set]",ot="[object String]",re="[object Symbol]",Ne="[object Undefined]",Pe="[object WeakMap]",He="[object WeakSet]",Qe="[object ArrayBuffer]",xt="[object DataView]",Nn="[object Float32Array]",Io="[object Float64Array]",Oo="[object Int8Array]",Mo="[object Int16Array]",Fo="[object Int32Array]",zo="[object Uint8Array]",jo="[object Uint8ClampedArray]",Bo="[object Uint16Array]",Po="[object Uint32Array]",l0=/\b__p \+= '';/g,u0=/\b(__p \+=) '' \+/g,c0=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Da=/&(?:amp|lt|gt|quot|#39);/g,Ha=/[&<>"']/g,f0=RegExp(Da.source),d0=RegExp(Ha.source),h0=/<%-([\s\S]+?)%>/g,p0=/<%([\s\S]+?)%>/g,Za=/<%=([\s\S]+?)%>/g,g0=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,m0=/^\w*$/,v0=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Wo=/[\\^$.*+?()[\]{}|]/g,y0=RegExp(Wo.source),Do=/^\s+/,b0=/\s/,w0=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,x0=/\{\n\/\* \[wrapped with (.+)\] \*/,_0=/,? & /,C0=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,S0=/[()=,{}\[\]\/\s]/,E0=/\\(\\)?/g,A0=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Na=/\w*$/,$0=/^[-+]0x[0-9a-f]+$/i,k0=/^0b[01]+$/i,T0=/^\[object .+?Constructor\]$/,R0=/^0o[0-7]+$/i,L0=/^(?:0|[1-9]\d*)$/,I0=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,mi=/($^)/,O0=/['\n\r\u2028\u2029\\]/g,vi="\\ud800-\\udfff",M0="\\u0300-\\u036f",F0="\\ufe20-\\ufe2f",z0="\\u20d0-\\u20ff",Va=M0+F0+z0,Ua="\\u2700-\\u27bf",qa="a-z\\xdf-\\xf6\\xf8-\\xff",j0="\\xac\\xb1\\xd7\\xf7",B0="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",P0="\\u2000-\\u206f",W0=" \\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",Ga="A-Z\\xc0-\\xd6\\xd8-\\xde",Ka="\\ufe0e\\ufe0f",Xa=j0+B0+P0+W0,Ho="['’]",D0="["+vi+"]",Ya="["+Xa+"]",yi="["+Va+"]",Qa="\\d+",H0="["+Ua+"]",Ja="["+qa+"]",el="[^"+vi+Xa+Qa+Ua+qa+Ga+"]",Zo="\\ud83c[\\udffb-\\udfff]",Z0="(?:"+yi+"|"+Zo+")",tl="[^"+vi+"]",No="(?:\\ud83c[\\udde6-\\uddff]){2}",Vo="[\\ud800-\\udbff][\\udc00-\\udfff]",lr="["+Ga+"]",nl="\\u200d",rl="(?:"+Ja+"|"+el+")",N0="(?:"+lr+"|"+el+")",il="(?:"+Ho+"(?:d|ll|m|re|s|t|ve))?",ol="(?:"+Ho+"(?:D|LL|M|RE|S|T|VE))?",sl=Z0+"?",al="["+Ka+"]?",V0="(?:"+nl+"(?:"+[tl,No,Vo].join("|")+")"+al+sl+")*",U0="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",q0="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ll=al+sl+V0,G0="(?:"+[H0,No,Vo].join("|")+")"+ll,K0="(?:"+[tl+yi+"?",yi,No,Vo,D0].join("|")+")",X0=RegExp(Ho,"g"),Y0=RegExp(yi,"g"),Uo=RegExp(Zo+"(?="+Zo+")|"+K0+ll,"g"),Q0=RegExp([lr+"?"+Ja+"+"+il+"(?="+[Ya,lr,"$"].join("|")+")",N0+"+"+ol+"(?="+[Ya,lr+rl,"$"].join("|")+")",lr+"?"+rl+"+"+il,lr+"+"+ol,q0,U0,Qa,G0].join("|"),"g"),J0=RegExp("["+nl+vi+Va+Ka+"]"),e1=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,t1=["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"],n1=-1,Je={};Je[Nn]=Je[Io]=Je[Oo]=Je[Mo]=Je[Fo]=Je[zo]=Je[jo]=Je[Bo]=Je[Po]=!0,Je[gt]=Je[Be]=Je[Qe]=Je[de]=Je[xt]=Je[Se]=Je[ye]=Je[J]=Je[Z]=Je[ie]=Je[we]=Je[tt]=Je[nt]=Je[ot]=Je[Pe]=!1;var Ye={};Ye[gt]=Ye[Be]=Ye[Qe]=Ye[xt]=Ye[de]=Ye[Se]=Ye[Nn]=Ye[Io]=Ye[Oo]=Ye[Mo]=Ye[Fo]=Ye[Z]=Ye[ie]=Ye[we]=Ye[tt]=Ye[nt]=Ye[ot]=Ye[re]=Ye[zo]=Ye[jo]=Ye[Bo]=Ye[Po]=!0,Ye[ye]=Ye[J]=Ye[Pe]=!1;var r1={À:"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"},i1={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},o1={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},s1={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},a1=parseFloat,l1=parseInt,ul=typeof io=="object"&&io&&io.Object===Object&&io,u1=typeof self=="object"&&self&&self.Object===Object&&self,mt=ul||u1||Function("return this")(),qo=r&&!r.nodeType&&r,Vn=qo&&!0&&n&&!n.nodeType&&n,cl=Vn&&Vn.exports===qo,Go=cl&&ul.process,Ht=function(){try{var A=Vn&&Vn.require&&Vn.require("util").types;return A||Go&&Go.binding&&Go.binding("util")}catch{}}(),fl=Ht&&Ht.isArrayBuffer,dl=Ht&&Ht.isDate,hl=Ht&&Ht.isMap,pl=Ht&&Ht.isRegExp,gl=Ht&&Ht.isSet,ml=Ht&&Ht.isTypedArray;function Ft(A,F,L){switch(L.length){case 0:return A.call(F);case 1:return A.call(F,L[0]);case 2:return A.call(F,L[0],L[1]);case 3:return A.call(F,L[0],L[1],L[2])}return A.apply(F,L)}function c1(A,F,L,se){for(var be=-1,Ze=A==null?0:A.length;++be<Ze;){var ft=A[be];F(se,ft,L(ft),A)}return se}function Zt(A,F){for(var L=-1,se=A==null?0:A.length;++L<se&&F(A[L],L,A)!==!1;);return A}function f1(A,F){for(var L=A==null?0:A.length;L--&&F(A[L],L,A)!==!1;);return A}function vl(A,F){for(var L=-1,se=A==null?0:A.length;++L<se;)if(!F(A[L],L,A))return!1;return!0}function kn(A,F){for(var L=-1,se=A==null?0:A.length,be=0,Ze=[];++L<se;){var ft=A[L];F(ft,L,A)&&(Ze[be++]=ft)}return Ze}function bi(A,F){var L=A==null?0:A.length;return!!L&&ur(A,F,0)>-1}function Ko(A,F,L){for(var se=-1,be=A==null?0:A.length;++se<be;)if(L(F,A[se]))return!0;return!1}function et(A,F){for(var L=-1,se=A==null?0:A.length,be=Array(se);++L<se;)be[L]=F(A[L],L,A);return be}function Tn(A,F){for(var L=-1,se=F.length,be=A.length;++L<se;)A[be+L]=F[L];return A}function Xo(A,F,L,se){var be=-1,Ze=A==null?0:A.length;for(se&&Ze&&(L=A[++be]);++be<Ze;)L=F(L,A[be],be,A);return L}function d1(A,F,L,se){var be=A==null?0:A.length;for(se&&be&&(L=A[--be]);be--;)L=F(L,A[be],be,A);return L}function Yo(A,F){for(var L=-1,se=A==null?0:A.length;++L<se;)if(F(A[L],L,A))return!0;return!1}var h1=Qo("length");function p1(A){return A.split("")}function g1(A){return A.match(C0)||[]}function yl(A,F,L){var se;return L(A,function(be,Ze,ft){if(F(be,Ze,ft))return se=Ze,!1}),se}function wi(A,F,L,se){for(var be=A.length,Ze=L+(se?1:-1);se?Ze--:++Ze<be;)if(F(A[Ze],Ze,A))return Ze;return-1}function ur(A,F,L){return F===F?$1(A,F,L):wi(A,bl,L)}function m1(A,F,L,se){for(var be=L-1,Ze=A.length;++be<Ze;)if(se(A[be],F))return be;return-1}function bl(A){return A!==A}function wl(A,F){var L=A==null?0:A.length;return L?es(A,F)/L:je}function Qo(A){return function(F){return F==null?i:F[A]}}function Jo(A){return function(F){return A==null?i:A[F]}}function xl(A,F,L,se,be){return be(A,function(Ze,ft,Ge){L=se?(se=!1,Ze):F(L,Ze,ft,Ge)}),L}function v1(A,F){var L=A.length;for(A.sort(F);L--;)A[L]=A[L].value;return A}function es(A,F){for(var L,se=-1,be=A.length;++se<be;){var Ze=F(A[se]);Ze!==i&&(L=L===i?Ze:L+Ze)}return L}function ts(A,F){for(var L=-1,se=Array(A);++L<A;)se[L]=F(L);return se}function y1(A,F){return et(F,function(L){return[L,A[L]]})}function _l(A){return A&&A.slice(0,Al(A)+1).replace(Do,"")}function zt(A){return function(F){return A(F)}}function ns(A,F){return et(F,function(L){return A[L]})}function zr(A,F){return A.has(F)}function Cl(A,F){for(var L=-1,se=A.length;++L<se&&ur(F,A[L],0)>-1;);return L}function Sl(A,F){for(var L=A.length;L--&&ur(F,A[L],0)>-1;);return L}function b1(A,F){for(var L=A.length,se=0;L--;)A[L]===F&&++se;return se}var w1=Jo(r1),x1=Jo(i1);function _1(A){return"\\"+s1[A]}function C1(A,F){return A==null?i:A[F]}function cr(A){return J0.test(A)}function S1(A){return e1.test(A)}function E1(A){for(var F,L=[];!(F=A.next()).done;)L.push(F.value);return L}function rs(A){var F=-1,L=Array(A.size);return A.forEach(function(se,be){L[++F]=[be,se]}),L}function El(A,F){return function(L){return A(F(L))}}function Rn(A,F){for(var L=-1,se=A.length,be=0,Ze=[];++L<se;){var ft=A[L];(ft===F||ft===C)&&(A[L]=C,Ze[be++]=L)}return Ze}function xi(A){var F=-1,L=Array(A.size);return A.forEach(function(se){L[++F]=se}),L}function A1(A){var F=-1,L=Array(A.size);return A.forEach(function(se){L[++F]=[se,se]}),L}function $1(A,F,L){for(var se=L-1,be=A.length;++se<be;)if(A[se]===F)return se;return-1}function k1(A,F,L){for(var se=L+1;se--;)if(A[se]===F)return se;return se}function fr(A){return cr(A)?R1(A):h1(A)}function en(A){return cr(A)?L1(A):p1(A)}function Al(A){for(var F=A.length;F--&&b0.test(A.charAt(F)););return F}var T1=Jo(o1);function R1(A){for(var F=Uo.lastIndex=0;Uo.test(A);)++F;return F}function L1(A){return A.match(Uo)||[]}function I1(A){return A.match(Q0)||[]}var O1=function A(F){F=F==null?mt:dr.defaults(mt.Object(),F,dr.pick(mt,t1));var L=F.Array,se=F.Date,be=F.Error,Ze=F.Function,ft=F.Math,Ge=F.Object,is=F.RegExp,M1=F.String,Nt=F.TypeError,_i=L.prototype,F1=Ze.prototype,hr=Ge.prototype,Ci=F["__core-js_shared__"],Si=F1.toString,Ue=hr.hasOwnProperty,z1=0,$l=function(){var e=/[^.]+$/.exec(Ci&&Ci.keys&&Ci.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Ei=hr.toString,j1=Si.call(Ge),B1=mt._,P1=is("^"+Si.call(Ue).replace(Wo,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ai=cl?F.Buffer:i,Ln=F.Symbol,$i=F.Uint8Array,kl=Ai?Ai.allocUnsafe:i,ki=El(Ge.getPrototypeOf,Ge),Tl=Ge.create,Rl=hr.propertyIsEnumerable,Ti=_i.splice,Ll=Ln?Ln.isConcatSpreadable:i,jr=Ln?Ln.iterator:i,Un=Ln?Ln.toStringTag:i,Ri=function(){try{var e=Yn(Ge,"defineProperty");return e({},"",{}),e}catch{}}(),W1=F.clearTimeout!==mt.clearTimeout&&F.clearTimeout,D1=se&&se.now!==mt.Date.now&&se.now,H1=F.setTimeout!==mt.setTimeout&&F.setTimeout,Li=ft.ceil,Ii=ft.floor,os=Ge.getOwnPropertySymbols,Z1=Ai?Ai.isBuffer:i,Il=F.isFinite,N1=_i.join,V1=El(Ge.keys,Ge),dt=ft.max,yt=ft.min,U1=se.now,q1=F.parseInt,Ol=ft.random,G1=_i.reverse,ss=Yn(F,"DataView"),Br=Yn(F,"Map"),as=Yn(F,"Promise"),pr=Yn(F,"Set"),Pr=Yn(F,"WeakMap"),Wr=Yn(Ge,"create"),Oi=Pr&&new Pr,gr={},K1=Qn(ss),X1=Qn(Br),Y1=Qn(as),Q1=Qn(pr),J1=Qn(Pr),Mi=Ln?Ln.prototype:i,Dr=Mi?Mi.valueOf:i,Ml=Mi?Mi.toString:i;function p(e){if(st(e)&&!xe(e)&&!(e instanceof Oe)){if(e instanceof Vt)return e;if(Ue.call(e,"__wrapped__"))return Fu(e)}return new Vt(e)}var mr=function(){function e(){}return function(t){if(!rt(t))return{};if(Tl)return Tl(t);e.prototype=t;var o=new e;return e.prototype=i,o}}();function Fi(){}function Vt(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=i}p.templateSettings={escape:h0,evaluate:p0,interpolate:Za,variable:"",imports:{_:p}},p.prototype=Fi.prototype,p.prototype.constructor=p,Vt.prototype=mr(Fi.prototype),Vt.prototype.constructor=Vt;function Oe(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ke,this.__views__=[]}function eh(){var e=new Oe(this.__wrapped__);return e.__actions__=$t(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=$t(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=$t(this.__views__),e}function th(){if(this.__filtered__){var e=new Oe(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function nh(){var e=this.__wrapped__.value(),t=this.__dir__,o=xe(e),a=t<0,c=o?e.length:0,m=pp(0,c,this.__views__),b=m.start,x=m.end,$=x-b,B=a?x:b-1,W=this.__iteratees__,V=W.length,ne=0,ue=yt($,this.__takeCount__);if(!o||!a&&c==$&&ue==$)return iu(e,this.__actions__);var ge=[];e:for(;$--&&ne<ue;){B+=t;for(var $e=-1,me=e[B];++$e<V;){var Le=W[$e],Fe=Le.iteratee,Pt=Le.type,St=Fe(me);if(Pt==le)me=St;else if(!St){if(Pt==G)continue e;break e}}ge[ne++]=me}return ge}Oe.prototype=mr(Fi.prototype),Oe.prototype.constructor=Oe;function qn(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var a=e[t];this.set(a[0],a[1])}}function rh(){this.__data__=Wr?Wr(null):{},this.size=0}function ih(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function oh(e){var t=this.__data__;if(Wr){var o=t[e];return o===g?i:o}return Ue.call(t,e)?t[e]:i}function sh(e){var t=this.__data__;return Wr?t[e]!==i:Ue.call(t,e)}function ah(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=Wr&&t===i?g:t,this}qn.prototype.clear=rh,qn.prototype.delete=ih,qn.prototype.get=oh,qn.prototype.has=sh,qn.prototype.set=ah;function dn(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var a=e[t];this.set(a[0],a[1])}}function lh(){this.__data__=[],this.size=0}function uh(e){var t=this.__data__,o=zi(t,e);if(o<0)return!1;var a=t.length-1;return o==a?t.pop():Ti.call(t,o,1),--this.size,!0}function ch(e){var t=this.__data__,o=zi(t,e);return o<0?i:t[o][1]}function fh(e){return zi(this.__data__,e)>-1}function dh(e,t){var o=this.__data__,a=zi(o,e);return a<0?(++this.size,o.push([e,t])):o[a][1]=t,this}dn.prototype.clear=lh,dn.prototype.delete=uh,dn.prototype.get=ch,dn.prototype.has=fh,dn.prototype.set=dh;function hn(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var a=e[t];this.set(a[0],a[1])}}function hh(){this.size=0,this.__data__={hash:new qn,map:new(Br||dn),string:new qn}}function ph(e){var t=Gi(this,e).delete(e);return this.size-=t?1:0,t}function gh(e){return Gi(this,e).get(e)}function mh(e){return Gi(this,e).has(e)}function vh(e,t){var o=Gi(this,e),a=o.size;return o.set(e,t),this.size+=o.size==a?0:1,this}hn.prototype.clear=hh,hn.prototype.delete=ph,hn.prototype.get=gh,hn.prototype.has=mh,hn.prototype.set=vh;function Gn(e){var t=-1,o=e==null?0:e.length;for(this.__data__=new hn;++t<o;)this.add(e[t])}function yh(e){return this.__data__.set(e,g),this}function bh(e){return this.__data__.has(e)}Gn.prototype.add=Gn.prototype.push=yh,Gn.prototype.has=bh;function tn(e){var t=this.__data__=new dn(e);this.size=t.size}function wh(){this.__data__=new dn,this.size=0}function xh(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o}function _h(e){return this.__data__.get(e)}function Ch(e){return this.__data__.has(e)}function Sh(e,t){var o=this.__data__;if(o instanceof dn){var a=o.__data__;if(!Br||a.length<l-1)return a.push([e,t]),this.size=++o.size,this;o=this.__data__=new hn(a)}return o.set(e,t),this.size=o.size,this}tn.prototype.clear=wh,tn.prototype.delete=xh,tn.prototype.get=_h,tn.prototype.has=Ch,tn.prototype.set=Sh;function Fl(e,t){var o=xe(e),a=!o&&Jn(e),c=!o&&!a&&zn(e),m=!o&&!a&&!c&&wr(e),b=o||a||c||m,x=b?ts(e.length,M1):[],$=x.length;for(var B in e)(t||Ue.call(e,B))&&!(b&&(B=="length"||c&&(B=="offset"||B=="parent")||m&&(B=="buffer"||B=="byteLength"||B=="byteOffset")||vn(B,$)))&&x.push(B);return x}function zl(e){var t=e.length;return t?e[ys(0,t-1)]:i}function Eh(e,t){return Ki($t(e),Kn(t,0,e.length))}function Ah(e){return Ki($t(e))}function ls(e,t,o){(o!==i&&!nn(e[t],o)||o===i&&!(t in e))&&pn(e,t,o)}function Hr(e,t,o){var a=e[t];(!(Ue.call(e,t)&&nn(a,o))||o===i&&!(t in e))&&pn(e,t,o)}function zi(e,t){for(var o=e.length;o--;)if(nn(e[o][0],t))return o;return-1}function $h(e,t,o,a){return In(e,function(c,m,b){t(a,c,o(c),b)}),a}function jl(e,t){return e&&ln(t,pt(t),e)}function kh(e,t){return e&&ln(t,Tt(t),e)}function pn(e,t,o){t=="__proto__"&&Ri?Ri(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o}function us(e,t){for(var o=-1,a=t.length,c=L(a),m=e==null;++o<a;)c[o]=m?i:Zs(e,t[o]);return c}function Kn(e,t,o){return e===e&&(o!==i&&(e=e<=o?e:o),t!==i&&(e=e>=t?e:t)),e}function Ut(e,t,o,a,c,m){var b,x=t&S,$=t&E,B=t&w;if(o&&(b=c?o(e,a,c,m):o(e)),b!==i)return b;if(!rt(e))return e;var W=xe(e);if(W){if(b=mp(e),!x)return $t(e,b)}else{var V=bt(e),ne=V==J||V==ce;if(zn(e))return au(e,x);if(V==we||V==gt||ne&&!c){if(b=$||ne?{}:Au(e),!x)return $?op(e,kh(b,e)):ip(e,jl(b,e))}else{if(!Ye[V])return c?e:{};b=vp(e,V,x)}}m||(m=new tn);var ue=m.get(e);if(ue)return ue;m.set(e,b),tc(e)?e.forEach(function(me){b.add(Ut(me,t,o,me,e,m))}):Ju(e)&&e.forEach(function(me,Le){b.set(Le,Ut(me,t,o,Le,e,m))});var ge=B?$?Ts:ks:$?Tt:pt,$e=W?i:ge(e);return Zt($e||e,function(me,Le){$e&&(Le=me,me=e[Le]),Hr(b,Le,Ut(me,t,o,Le,e,m))}),b}function Th(e){var t=pt(e);return function(o){return Bl(o,e,t)}}function Bl(e,t,o){var a=o.length;if(e==null)return!a;for(e=Ge(e);a--;){var c=o[a],m=t[c],b=e[c];if(b===i&&!(c in e)||!m(b))return!1}return!0}function Pl(e,t,o){if(typeof e!="function")throw new Nt(f);return Kr(function(){e.apply(i,o)},t)}function Zr(e,t,o,a){var c=-1,m=bi,b=!0,x=e.length,$=[],B=t.length;if(!x)return $;o&&(t=et(t,zt(o))),a?(m=Ko,b=!1):t.length>=l&&(m=zr,b=!1,t=new Gn(t));e:for(;++c<x;){var W=e[c],V=o==null?W:o(W);if(W=a||W!==0?W:0,b&&V===V){for(var ne=B;ne--;)if(t[ne]===V)continue e;$.push(W)}else m(t,V,a)||$.push(W)}return $}var In=du(an),Wl=du(fs,!0);function Rh(e,t){var o=!0;return In(e,function(a,c,m){return o=!!t(a,c,m),o}),o}function ji(e,t,o){for(var a=-1,c=e.length;++a<c;){var m=e[a],b=t(m);if(b!=null&&(x===i?b===b&&!Bt(b):o(b,x)))var x=b,$=m}return $}function Lh(e,t,o,a){var c=e.length;for(o=Ae(o),o<0&&(o=-o>c?0:c+o),a=a===i||a>c?c:Ae(a),a<0&&(a+=c),a=o>a?0:rc(a);o<a;)e[o++]=t;return e}function Dl(e,t){var o=[];return In(e,function(a,c,m){t(a,c,m)&&o.push(a)}),o}function vt(e,t,o,a,c){var m=-1,b=e.length;for(o||(o=bp),c||(c=[]);++m<b;){var x=e[m];t>0&&o(x)?t>1?vt(x,t-1,o,a,c):Tn(c,x):a||(c[c.length]=x)}return c}var cs=hu(),Hl=hu(!0);function an(e,t){return e&&cs(e,t,pt)}function fs(e,t){return e&&Hl(e,t,pt)}function Bi(e,t){return kn(t,function(o){return yn(e[o])})}function Xn(e,t){t=Mn(t,e);for(var o=0,a=t.length;e!=null&&o<a;)e=e[un(t[o++])];return o&&o==a?e:i}function Zl(e,t,o){var a=t(e);return xe(e)?a:Tn(a,o(e))}function _t(e){return e==null?e===i?Ne:fe:Un&&Un in Ge(e)?hp(e):Ap(e)}function ds(e,t){return e>t}function Ih(e,t){return e!=null&&Ue.call(e,t)}function Oh(e,t){return e!=null&&t in Ge(e)}function Mh(e,t,o){return e>=yt(t,o)&&e<dt(t,o)}function hs(e,t,o){for(var a=o?Ko:bi,c=e[0].length,m=e.length,b=m,x=L(m),$=1/0,B=[];b--;){var W=e[b];b&&t&&(W=et(W,zt(t))),$=yt(W.length,$),x[b]=!o&&(t||c>=120&&W.length>=120)?new Gn(b&&W):i}W=e[0];var V=-1,ne=x[0];e:for(;++V<c&&B.length<$;){var ue=W[V],ge=t?t(ue):ue;if(ue=o||ue!==0?ue:0,!(ne?zr(ne,ge):a(B,ge,o))){for(b=m;--b;){var $e=x[b];if(!($e?zr($e,ge):a(e[b],ge,o)))continue e}ne&&ne.push(ge),B.push(ue)}}return B}function Fh(e,t,o,a){return an(e,function(c,m,b){t(a,o(c),m,b)}),a}function Nr(e,t,o){t=Mn(t,e),e=Ru(e,t);var a=e==null?e:e[un(Gt(t))];return a==null?i:Ft(a,e,o)}function Nl(e){return st(e)&&_t(e)==gt}function zh(e){return st(e)&&_t(e)==Qe}function jh(e){return st(e)&&_t(e)==Se}function Vr(e,t,o,a,c){return e===t?!0:e==null||t==null||!st(e)&&!st(t)?e!==e&&t!==t:Bh(e,t,o,a,Vr,c)}function Bh(e,t,o,a,c,m){var b=xe(e),x=xe(t),$=b?Be:bt(e),B=x?Be:bt(t);$=$==gt?we:$,B=B==gt?we:B;var W=$==we,V=B==we,ne=$==B;if(ne&&zn(e)){if(!zn(t))return!1;b=!0,W=!1}if(ne&&!W)return m||(m=new tn),b||wr(e)?Cu(e,t,o,a,c,m):fp(e,t,$,o,a,c,m);if(!(o&_)){var ue=W&&Ue.call(e,"__wrapped__"),ge=V&&Ue.call(t,"__wrapped__");if(ue||ge){var $e=ue?e.value():e,me=ge?t.value():t;return m||(m=new tn),c($e,me,o,a,m)}}return ne?(m||(m=new tn),dp(e,t,o,a,c,m)):!1}function Ph(e){return st(e)&&bt(e)==Z}function ps(e,t,o,a){var c=o.length,m=c,b=!a;if(e==null)return!m;for(e=Ge(e);c--;){var x=o[c];if(b&&x[2]?x[1]!==e[x[0]]:!(x[0]in e))return!1}for(;++c<m;){x=o[c];var $=x[0],B=e[$],W=x[1];if(b&&x[2]){if(B===i&&!($ in e))return!1}else{var V=new tn;if(a)var ne=a(B,W,$,e,t,V);if(!(ne===i?Vr(W,B,_|O,a,V):ne))return!1}}return!0}function Vl(e){if(!rt(e)||xp(e))return!1;var t=yn(e)?P1:T0;return t.test(Qn(e))}function Wh(e){return st(e)&&_t(e)==tt}function Dh(e){return st(e)&&bt(e)==nt}function Hh(e){return st(e)&&to(e.length)&&!!Je[_t(e)]}function Ul(e){return typeof e=="function"?e:e==null?Rt:typeof e=="object"?xe(e)?Kl(e[0],e[1]):Gl(e):pc(e)}function gs(e){if(!Gr(e))return V1(e);var t=[];for(var o in Ge(e))Ue.call(e,o)&&o!="constructor"&&t.push(o);return t}function Zh(e){if(!rt(e))return Ep(e);var t=Gr(e),o=[];for(var a in e)a=="constructor"&&(t||!Ue.call(e,a))||o.push(a);return o}function ms(e,t){return e<t}function ql(e,t){var o=-1,a=kt(e)?L(e.length):[];return In(e,function(c,m,b){a[++o]=t(c,m,b)}),a}function Gl(e){var t=Ls(e);return t.length==1&&t[0][2]?ku(t[0][0],t[0][1]):function(o){return o===e||ps(o,e,t)}}function Kl(e,t){return Os(e)&&$u(t)?ku(un(e),t):function(o){var a=Zs(o,e);return a===i&&a===t?Ns(o,e):Vr(t,a,_|O)}}function Pi(e,t,o,a,c){e!==t&&cs(t,function(m,b){if(c||(c=new tn),rt(m))Nh(e,t,b,o,Pi,a,c);else{var x=a?a(Fs(e,b),m,b+"",e,t,c):i;x===i&&(x=m),ls(e,b,x)}},Tt)}function Nh(e,t,o,a,c,m,b){var x=Fs(e,o),$=Fs(t,o),B=b.get($);if(B){ls(e,o,B);return}var W=m?m(x,$,o+"",e,t,b):i,V=W===i;if(V){var ne=xe($),ue=!ne&&zn($),ge=!ne&&!ue&&wr($);W=$,ne||ue||ge?xe(x)?W=x:lt(x)?W=$t(x):ue?(V=!1,W=au($,!0)):ge?(V=!1,W=lu($,!0)):W=[]:Xr($)||Jn($)?(W=x,Jn(x)?W=ic(x):(!rt(x)||yn(x))&&(W=Au($))):V=!1}V&&(b.set($,W),c(W,$,a,m,b),b.delete($)),ls(e,o,W)}function Xl(e,t){var o=e.length;if(o)return t+=t<0?o:0,vn(t,o)?e[t]:i}function Yl(e,t,o){t.length?t=et(t,function(m){return xe(m)?function(b){return Xn(b,m.length===1?m[0]:m)}:m}):t=[Rt];var a=-1;t=et(t,zt(he()));var c=ql(e,function(m,b,x){var $=et(t,function(B){return B(m)});return{criteria:$,index:++a,value:m}});return v1(c,function(m,b){return rp(m,b,o)})}function Vh(e,t){return Ql(e,t,function(o,a){return Ns(e,a)})}function Ql(e,t,o){for(var a=-1,c=t.length,m={};++a<c;){var b=t[a],x=Xn(e,b);o(x,b)&&Ur(m,Mn(b,e),x)}return m}function Uh(e){return function(t){return Xn(t,e)}}function vs(e,t,o,a){var c=a?m1:ur,m=-1,b=t.length,x=e;for(e===t&&(t=$t(t)),o&&(x=et(e,zt(o)));++m<b;)for(var $=0,B=t[m],W=o?o(B):B;($=c(x,W,$,a))>-1;)x!==e&&Ti.call(x,$,1),Ti.call(e,$,1);return e}function Jl(e,t){for(var o=e?t.length:0,a=o-1;o--;){var c=t[o];if(o==a||c!==m){var m=c;vn(c)?Ti.call(e,c,1):xs(e,c)}}return e}function ys(e,t){return e+Ii(Ol()*(t-e+1))}function qh(e,t,o,a){for(var c=-1,m=dt(Li((t-e)/(o||1)),0),b=L(m);m--;)b[a?m:++c]=e,e+=o;return b}function bs(e,t){var o="";if(!e||t<1||t>ee)return o;do t%2&&(o+=e),t=Ii(t/2),t&&(e+=e);while(t);return o}function Te(e,t){return zs(Tu(e,t,Rt),e+"")}function Gh(e){return zl(xr(e))}function Kh(e,t){var o=xr(e);return Ki(o,Kn(t,0,o.length))}function Ur(e,t,o,a){if(!rt(e))return e;t=Mn(t,e);for(var c=-1,m=t.length,b=m-1,x=e;x!=null&&++c<m;){var $=un(t[c]),B=o;if($==="__proto__"||$==="constructor"||$==="prototype")return e;if(c!=b){var W=x[$];B=a?a(W,$,x):i,B===i&&(B=rt(W)?W:vn(t[c+1])?[]:{})}Hr(x,$,B),x=x[$]}return e}var eu=Oi?function(e,t){return Oi.set(e,t),e}:Rt,Xh=Ri?function(e,t){return Ri(e,"toString",{configurable:!0,enumerable:!1,value:Us(t),writable:!0})}:Rt;function Yh(e){return Ki(xr(e))}function qt(e,t,o){var a=-1,c=e.length;t<0&&(t=-t>c?0:c+t),o=o>c?c:o,o<0&&(o+=c),c=t>o?0:o-t>>>0,t>>>=0;for(var m=L(c);++a<c;)m[a]=e[a+t];return m}function Qh(e,t){var o;return In(e,function(a,c,m){return o=t(a,c,m),!o}),!!o}function Wi(e,t,o){var a=0,c=e==null?a:e.length;if(typeof t=="number"&&t===t&&c<=De){for(;a<c;){var m=a+c>>>1,b=e[m];b!==null&&!Bt(b)&&(o?b<=t:b<t)?a=m+1:c=m}return c}return ws(e,t,Rt,o)}function ws(e,t,o,a){var c=0,m=e==null?0:e.length;if(m===0)return 0;t=o(t);for(var b=t!==t,x=t===null,$=Bt(t),B=t===i;c<m;){var W=Ii((c+m)/2),V=o(e[W]),ne=V!==i,ue=V===null,ge=V===V,$e=Bt(V);if(b)var me=a||ge;else B?me=ge&&(a||ne):x?me=ge&&ne&&(a||!ue):$?me=ge&&ne&&!ue&&(a||!$e):ue||$e?me=!1:me=a?V<=t:V<t;me?c=W+1:m=W}return yt(m,Ie)}function tu(e,t){for(var o=-1,a=e.length,c=0,m=[];++o<a;){var b=e[o],x=t?t(b):b;if(!o||!nn(x,$)){var $=x;m[c++]=b===0?0:b}}return m}function nu(e){return typeof e=="number"?e:Bt(e)?je:+e}function jt(e){if(typeof e=="string")return e;if(xe(e))return et(e,jt)+"";if(Bt(e))return Ml?Ml.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function On(e,t,o){var a=-1,c=bi,m=e.length,b=!0,x=[],$=x;if(o)b=!1,c=Ko;else if(m>=l){var B=t?null:up(e);if(B)return xi(B);b=!1,c=zr,$=new Gn}else $=t?[]:x;e:for(;++a<m;){var W=e[a],V=t?t(W):W;if(W=o||W!==0?W:0,b&&V===V){for(var ne=$.length;ne--;)if($[ne]===V)continue e;t&&$.push(V),x.push(W)}else c($,V,o)||($!==x&&$.push(V),x.push(W))}return x}function xs(e,t){return t=Mn(t,e),e=Ru(e,t),e==null||delete e[un(Gt(t))]}function ru(e,t,o,a){return Ur(e,t,o(Xn(e,t)),a)}function Di(e,t,o,a){for(var c=e.length,m=a?c:-1;(a?m--:++m<c)&&t(e[m],m,e););return o?qt(e,a?0:m,a?m+1:c):qt(e,a?m+1:0,a?c:m)}function iu(e,t){var o=e;return o instanceof Oe&&(o=o.value()),Xo(t,function(a,c){return c.func.apply(c.thisArg,Tn([a],c.args))},o)}function _s(e,t,o){var a=e.length;if(a<2)return a?On(e[0]):[];for(var c=-1,m=L(a);++c<a;)for(var b=e[c],x=-1;++x<a;)x!=c&&(m[c]=Zr(m[c]||b,e[x],t,o));return On(vt(m,1),t,o)}function ou(e,t,o){for(var a=-1,c=e.length,m=t.length,b={};++a<c;){var x=a<m?t[a]:i;o(b,e[a],x)}return b}function Cs(e){return lt(e)?e:[]}function Ss(e){return typeof e=="function"?e:Rt}function Mn(e,t){return xe(e)?e:Os(e,t)?[e]:Mu(Ve(e))}var Jh=Te;function Fn(e,t,o){var a=e.length;return o=o===i?a:o,!t&&o>=a?e:qt(e,t,o)}var su=W1||function(e){return mt.clearTimeout(e)};function au(e,t){if(t)return e.slice();var o=e.length,a=kl?kl(o):new e.constructor(o);return e.copy(a),a}function Es(e){var t=new e.constructor(e.byteLength);return new $i(t).set(new $i(e)),t}function ep(e,t){var o=t?Es(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.byteLength)}function tp(e){var t=new e.constructor(e.source,Na.exec(e));return t.lastIndex=e.lastIndex,t}function np(e){return Dr?Ge(Dr.call(e)):{}}function lu(e,t){var o=t?Es(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}function uu(e,t){if(e!==t){var o=e!==i,a=e===null,c=e===e,m=Bt(e),b=t!==i,x=t===null,$=t===t,B=Bt(t);if(!x&&!B&&!m&&e>t||m&&b&&$&&!x&&!B||a&&b&&$||!o&&$||!c)return 1;if(!a&&!m&&!B&&e<t||B&&o&&c&&!a&&!m||x&&o&&c||!b&&c||!$)return-1}return 0}function rp(e,t,o){for(var a=-1,c=e.criteria,m=t.criteria,b=c.length,x=o.length;++a<b;){var $=uu(c[a],m[a]);if($){if(a>=x)return $;var B=o[a];return $*(B=="desc"?-1:1)}}return e.index-t.index}function cu(e,t,o,a){for(var c=-1,m=e.length,b=o.length,x=-1,$=t.length,B=dt(m-b,0),W=L($+B),V=!a;++x<$;)W[x]=t[x];for(;++c<b;)(V||c<m)&&(W[o[c]]=e[c]);for(;B--;)W[x++]=e[c++];return W}function fu(e,t,o,a){for(var c=-1,m=e.length,b=-1,x=o.length,$=-1,B=t.length,W=dt(m-x,0),V=L(W+B),ne=!a;++c<W;)V[c]=e[c];for(var ue=c;++$<B;)V[ue+$]=t[$];for(;++b<x;)(ne||c<m)&&(V[ue+o[b]]=e[c++]);return V}function $t(e,t){var o=-1,a=e.length;for(t||(t=L(a));++o<a;)t[o]=e[o];return t}function ln(e,t,o,a){var c=!o;o||(o={});for(var m=-1,b=t.length;++m<b;){var x=t[m],$=a?a(o[x],e[x],x,o,e):i;$===i&&($=e[x]),c?pn(o,x,$):Hr(o,x,$)}return o}function ip(e,t){return ln(e,Is(e),t)}function op(e,t){return ln(e,Su(e),t)}function Hi(e,t){return function(o,a){var c=xe(o)?c1:$h,m=t?t():{};return c(o,e,he(a,2),m)}}function vr(e){return Te(function(t,o){var a=-1,c=o.length,m=c>1?o[c-1]:i,b=c>2?o[2]:i;for(m=e.length>3&&typeof m=="function"?(c--,m):i,b&&Ct(o[0],o[1],b)&&(m=c<3?i:m,c=1),t=Ge(t);++a<c;){var x=o[a];x&&e(t,x,a,m)}return t})}function du(e,t){return function(o,a){if(o==null)return o;if(!kt(o))return e(o,a);for(var c=o.length,m=t?c:-1,b=Ge(o);(t?m--:++m<c)&&a(b[m],m,b)!==!1;);return o}}function hu(e){return function(t,o,a){for(var c=-1,m=Ge(t),b=a(t),x=b.length;x--;){var $=b[e?x:++c];if(o(m[$],$,m)===!1)break}return t}}function sp(e,t,o){var a=t&R,c=qr(e);function m(){var b=this&&this!==mt&&this instanceof m?c:e;return b.apply(a?o:this,arguments)}return m}function pu(e){return function(t){t=Ve(t);var o=cr(t)?en(t):i,a=o?o[0]:t.charAt(0),c=o?Fn(o,1).join(""):t.slice(1);return a[e]()+c}}function yr(e){return function(t){return Xo(dc(fc(t).replace(X0,"")),e,"")}}function qr(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var o=mr(e.prototype),a=e.apply(o,t);return rt(a)?a:o}}function ap(e,t,o){var a=qr(e);function c(){for(var m=arguments.length,b=L(m),x=m,$=br(c);x--;)b[x]=arguments[x];var B=m<3&&b[0]!==$&&b[m-1]!==$?[]:Rn(b,$);if(m-=B.length,m<o)return bu(e,t,Zi,c.placeholder,i,b,B,i,i,o-m);var W=this&&this!==mt&&this instanceof c?a:e;return Ft(W,this,b)}return c}function gu(e){return function(t,o,a){var c=Ge(t);if(!kt(t)){var m=he(o,3);t=pt(t),o=function(x){return m(c[x],x,c)}}var b=e(t,o,a);return b>-1?c[m?t[b]:b]:i}}function mu(e){return mn(function(t){var o=t.length,a=o,c=Vt.prototype.thru;for(e&&t.reverse();a--;){var m=t[a];if(typeof m!="function")throw new Nt(f);if(c&&!b&&qi(m)=="wrapper")var b=new Vt([],!0)}for(a=b?a:o;++a<o;){m=t[a];var x=qi(m),$=x=="wrapper"?Rs(m):i;$&&Ms($[0])&&$[1]==(N|k|P|Q)&&!$[4].length&&$[9]==1?b=b[qi($[0])].apply(b,$[3]):b=m.length==1&&Ms(m)?b[x]():b.thru(m)}return function(){var B=arguments,W=B[0];if(b&&B.length==1&&xe(W))return b.plant(W).value();for(var V=0,ne=o?t[V].apply(this,B):W;++V<o;)ne=t[V].call(this,ne);return ne}})}function Zi(e,t,o,a,c,m,b,x,$,B){var W=t&N,V=t&R,ne=t&M,ue=t&(k|I),ge=t&pe,$e=ne?i:qr(e);function me(){for(var Le=arguments.length,Fe=L(Le),Pt=Le;Pt--;)Fe[Pt]=arguments[Pt];if(ue)var St=br(me),Wt=b1(Fe,St);if(a&&(Fe=cu(Fe,a,c,ue)),m&&(Fe=fu(Fe,m,b,ue)),Le-=Wt,ue&&Le<B){var ut=Rn(Fe,St);return bu(e,t,Zi,me.placeholder,o,Fe,ut,x,$,B-Le)}var rn=V?o:this,wn=ne?rn[e]:e;return Le=Fe.length,x?Fe=$p(Fe,x):ge&&Le>1&&Fe.reverse(),W&&$<Le&&(Fe.length=$),this&&this!==mt&&this instanceof me&&(wn=$e||qr(wn)),wn.apply(rn,Fe)}return me}function vu(e,t){return function(o,a){return Fh(o,e,t(a),{})}}function Ni(e,t){return function(o,a){var c;if(o===i&&a===i)return t;if(o!==i&&(c=o),a!==i){if(c===i)return a;typeof o=="string"||typeof a=="string"?(o=jt(o),a=jt(a)):(o=nu(o),a=nu(a)),c=e(o,a)}return c}}function As(e){return mn(function(t){return t=et(t,zt(he())),Te(function(o){var a=this;return e(t,function(c){return Ft(c,a,o)})})})}function Vi(e,t){t=t===i?" ":jt(t);var o=t.length;if(o<2)return o?bs(t,e):t;var a=bs(t,Li(e/fr(t)));return cr(t)?Fn(en(a),0,e).join(""):a.slice(0,e)}function lp(e,t,o,a){var c=t&R,m=qr(e);function b(){for(var x=-1,$=arguments.length,B=-1,W=a.length,V=L(W+$),ne=this&&this!==mt&&this instanceof b?m:e;++B<W;)V[B]=a[B];for(;$--;)V[B++]=arguments[++x];return Ft(ne,c?o:this,V)}return b}function yu(e){return function(t,o,a){return a&&typeof a!="number"&&Ct(t,o,a)&&(o=a=i),t=bn(t),o===i?(o=t,t=0):o=bn(o),a=a===i?t<o?1:-1:bn(a),qh(t,o,a,e)}}function Ui(e){return function(t,o){return typeof t=="string"&&typeof o=="string"||(t=Kt(t),o=Kt(o)),e(t,o)}}function bu(e,t,o,a,c,m,b,x,$,B){var W=t&k,V=W?b:i,ne=W?i:b,ue=W?m:i,ge=W?i:m;t|=W?P:U,t&=~(W?U:P),t&T||(t&=-4);var $e=[e,t,c,ue,V,ge,ne,x,$,B],me=o.apply(i,$e);return Ms(e)&&Lu(me,$e),me.placeholder=a,Iu(me,e,t)}function $s(e){var t=ft[e];return function(o,a){if(o=Kt(o),a=a==null?0:yt(Ae(a),292),a&&Il(o)){var c=(Ve(o)+"e").split("e"),m=t(c[0]+"e"+(+c[1]+a));return c=(Ve(m)+"e").split("e"),+(c[0]+"e"+(+c[1]-a))}return t(o)}}var up=pr&&1/xi(new pr([,-0]))[1]==oe?function(e){return new pr(e)}:Ks;function wu(e){return function(t){var o=bt(t);return o==Z?rs(t):o==nt?A1(t):y1(t,e(t))}}function gn(e,t,o,a,c,m,b,x){var $=t&M;if(!$&&typeof e!="function")throw new Nt(f);var B=a?a.length:0;if(B||(t&=-97,a=c=i),b=b===i?b:dt(Ae(b),0),x=x===i?x:Ae(x),B-=c?c.length:0,t&U){var W=a,V=c;a=c=i}var ne=$?i:Rs(e),ue=[e,t,o,a,c,W,V,m,b,x];if(ne&&Sp(ue,ne),e=ue[0],t=ue[1],o=ue[2],a=ue[3],c=ue[4],x=ue[9]=ue[9]===i?$?0:e.length:dt(ue[9]-B,0),!x&&t&(k|I)&&(t&=-25),!t||t==R)var ge=sp(e,t,o);else t==k||t==I?ge=ap(e,t,x):(t==P||t==(R|P))&&!c.length?ge=lp(e,t,o,a):ge=Zi.apply(i,ue);var $e=ne?eu:Lu;return Iu($e(ge,ue),e,t)}function xu(e,t,o,a){return e===i||nn(e,hr[o])&&!Ue.call(a,o)?t:e}function _u(e,t,o,a,c,m){return rt(e)&&rt(t)&&(m.set(t,e),Pi(e,t,i,_u,m),m.delete(t)),e}function cp(e){return Xr(e)?i:e}function Cu(e,t,o,a,c,m){var b=o&_,x=e.length,$=t.length;if(x!=$&&!(b&&$>x))return!1;var B=m.get(e),W=m.get(t);if(B&&W)return B==t&&W==e;var V=-1,ne=!0,ue=o&O?new Gn:i;for(m.set(e,t),m.set(t,e);++V<x;){var ge=e[V],$e=t[V];if(a)var me=b?a($e,ge,V,t,e,m):a(ge,$e,V,e,t,m);if(me!==i){if(me)continue;ne=!1;break}if(ue){if(!Yo(t,function(Le,Fe){if(!zr(ue,Fe)&&(ge===Le||c(ge,Le,o,a,m)))return ue.push(Fe)})){ne=!1;break}}else if(!(ge===$e||c(ge,$e,o,a,m))){ne=!1;break}}return m.delete(e),m.delete(t),ne}function fp(e,t,o,a,c,m,b){switch(o){case xt:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Qe:return!(e.byteLength!=t.byteLength||!m(new $i(e),new $i(t)));case de:case Se:case ie:return nn(+e,+t);case ye:return e.name==t.name&&e.message==t.message;case tt:case ot:return e==t+"";case Z:var x=rs;case nt:var $=a&_;if(x||(x=xi),e.size!=t.size&&!$)return!1;var B=b.get(e);if(B)return B==t;a|=O,b.set(e,t);var W=Cu(x(e),x(t),a,c,m,b);return b.delete(e),W;case re:if(Dr)return Dr.call(e)==Dr.call(t)}return!1}function dp(e,t,o,a,c,m){var b=o&_,x=ks(e),$=x.length,B=ks(t),W=B.length;if($!=W&&!b)return!1;for(var V=$;V--;){var ne=x[V];if(!(b?ne in t:Ue.call(t,ne)))return!1}var ue=m.get(e),ge=m.get(t);if(ue&&ge)return ue==t&&ge==e;var $e=!0;m.set(e,t),m.set(t,e);for(var me=b;++V<$;){ne=x[V];var Le=e[ne],Fe=t[ne];if(a)var Pt=b?a(Fe,Le,ne,t,e,m):a(Le,Fe,ne,e,t,m);if(!(Pt===i?Le===Fe||c(Le,Fe,o,a,m):Pt)){$e=!1;break}me||(me=ne=="constructor")}if($e&&!me){var St=e.constructor,Wt=t.constructor;St!=Wt&&"constructor"in e&&"constructor"in t&&!(typeof St=="function"&&St instanceof St&&typeof Wt=="function"&&Wt instanceof Wt)&&($e=!1)}return m.delete(e),m.delete(t),$e}function mn(e){return zs(Tu(e,i,Bu),e+"")}function ks(e){return Zl(e,pt,Is)}function Ts(e){return Zl(e,Tt,Su)}var Rs=Oi?function(e){return Oi.get(e)}:Ks;function qi(e){for(var t=e.name+"",o=gr[t],a=Ue.call(gr,t)?o.length:0;a--;){var c=o[a],m=c.func;if(m==null||m==e)return c.name}return t}function br(e){var t=Ue.call(p,"placeholder")?p:e;return t.placeholder}function he(){var e=p.iteratee||qs;return e=e===qs?Ul:e,arguments.length?e(arguments[0],arguments[1]):e}function Gi(e,t){var o=e.__data__;return wp(t)?o[typeof t=="string"?"string":"hash"]:o.map}function Ls(e){for(var t=pt(e),o=t.length;o--;){var a=t[o],c=e[a];t[o]=[a,c,$u(c)]}return t}function Yn(e,t){var o=C1(e,t);return Vl(o)?o:i}function hp(e){var t=Ue.call(e,Un),o=e[Un];try{e[Un]=i;var a=!0}catch{}var c=Ei.call(e);return a&&(t?e[Un]=o:delete e[Un]),c}var Is=os?function(e){return e==null?[]:(e=Ge(e),kn(os(e),function(t){return Rl.call(e,t)}))}:Xs,Su=os?function(e){for(var t=[];e;)Tn(t,Is(e)),e=ki(e);return t}:Xs,bt=_t;(ss&&bt(new ss(new ArrayBuffer(1)))!=xt||Br&&bt(new Br)!=Z||as&&bt(as.resolve())!=We||pr&&bt(new pr)!=nt||Pr&&bt(new Pr)!=Pe)&&(bt=function(e){var t=_t(e),o=t==we?e.constructor:i,a=o?Qn(o):"";if(a)switch(a){case K1:return xt;case X1:return Z;case Y1:return We;case Q1:return nt;case J1:return Pe}return t});function pp(e,t,o){for(var a=-1,c=o.length;++a<c;){var m=o[a],b=m.size;switch(m.type){case"drop":e+=b;break;case"dropRight":t-=b;break;case"take":t=yt(t,e+b);break;case"takeRight":e=dt(e,t-b);break}}return{start:e,end:t}}function gp(e){var t=e.match(x0);return t?t[1].split(_0):[]}function Eu(e,t,o){t=Mn(t,e);for(var a=-1,c=t.length,m=!1;++a<c;){var b=un(t[a]);if(!(m=e!=null&&o(e,b)))break;e=e[b]}return m||++a!=c?m:(c=e==null?0:e.length,!!c&&to(c)&&vn(b,c)&&(xe(e)||Jn(e)))}function mp(e){var t=e.length,o=new e.constructor(t);return t&&typeof e[0]=="string"&&Ue.call(e,"index")&&(o.index=e.index,o.input=e.input),o}function Au(e){return typeof e.constructor=="function"&&!Gr(e)?mr(ki(e)):{}}function vp(e,t,o){var a=e.constructor;switch(t){case Qe:return Es(e);case de:case Se:return new a(+e);case xt:return ep(e,o);case Nn:case Io:case Oo:case Mo:case Fo:case zo:case jo:case Bo:case Po:return lu(e,o);case Z:return new a;case ie:case ot:return new a(e);case tt:return tp(e);case nt:return new a;case re:return np(e)}}function yp(e,t){var o=t.length;if(!o)return e;var a=o-1;return t[a]=(o>1?"& ":"")+t[a],t=t.join(o>2?", ":" "),e.replace(w0,`{
9
- /* [wrapped with `+t+`] */
10
- `)}function bp(e){return xe(e)||Jn(e)||!!(Ll&&e&&e[Ll])}function vn(e,t){var o=typeof e;return t=t??ee,!!t&&(o=="number"||o!="symbol"&&L0.test(e))&&e>-1&&e%1==0&&e<t}function Ct(e,t,o){if(!rt(o))return!1;var a=typeof t;return(a=="number"?kt(o)&&vn(t,o.length):a=="string"&&t in o)?nn(o[t],e):!1}function Os(e,t){if(xe(e))return!1;var o=typeof e;return o=="number"||o=="symbol"||o=="boolean"||e==null||Bt(e)?!0:m0.test(e)||!g0.test(e)||t!=null&&e in Ge(t)}function wp(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Ms(e){var t=qi(e),o=p[t];if(typeof o!="function"||!(t in Oe.prototype))return!1;if(e===o)return!0;var a=Rs(o);return!!a&&e===a[0]}function xp(e){return!!$l&&$l in e}var _p=Ci?yn:Ys;function Gr(e){var t=e&&e.constructor,o=typeof t=="function"&&t.prototype||hr;return e===o}function $u(e){return e===e&&!rt(e)}function ku(e,t){return function(o){return o==null?!1:o[e]===t&&(t!==i||e in Ge(o))}}function Cp(e){var t=Ji(e,function(a){return o.size===v&&o.clear(),a}),o=t.cache;return t}function Sp(e,t){var o=e[1],a=t[1],c=o|a,m=c<(R|M|N),b=a==N&&o==k||a==N&&o==Q&&e[7].length<=t[8]||a==(N|Q)&&t[7].length<=t[8]&&o==k;if(!(m||b))return e;a&R&&(e[2]=t[2],c|=o&R?0:T);var x=t[3];if(x){var $=e[3];e[3]=$?cu($,x,t[4]):x,e[4]=$?Rn(e[3],C):t[4]}return x=t[5],x&&($=e[5],e[5]=$?fu($,x,t[6]):x,e[6]=$?Rn(e[5],C):t[6]),x=t[7],x&&(e[7]=x),a&N&&(e[8]=e[8]==null?t[8]:yt(e[8],t[8])),e[9]==null&&(e[9]=t[9]),e[0]=t[0],e[1]=c,e}function Ep(e){var t=[];if(e!=null)for(var o in Ge(e))t.push(o);return t}function Ap(e){return Ei.call(e)}function Tu(e,t,o){return t=dt(t===i?e.length-1:t,0),function(){for(var a=arguments,c=-1,m=dt(a.length-t,0),b=L(m);++c<m;)b[c]=a[t+c];c=-1;for(var x=L(t+1);++c<t;)x[c]=a[c];return x[t]=o(b),Ft(e,this,x)}}function Ru(e,t){return t.length<2?e:Xn(e,qt(t,0,-1))}function $p(e,t){for(var o=e.length,a=yt(t.length,o),c=$t(e);a--;){var m=t[a];e[a]=vn(m,o)?c[m]:i}return e}function Fs(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var Lu=Ou(eu),Kr=H1||function(e,t){return mt.setTimeout(e,t)},zs=Ou(Xh);function Iu(e,t,o){var a=t+"";return zs(e,yp(a,kp(gp(a),o)))}function Ou(e){var t=0,o=0;return function(){var a=U1(),c=z-(a-o);if(o=a,c>0){if(++t>=D)return arguments[0]}else t=0;return e.apply(i,arguments)}}function Ki(e,t){var o=-1,a=e.length,c=a-1;for(t=t===i?a:t;++o<t;){var m=ys(o,c),b=e[m];e[m]=e[o],e[o]=b}return e.length=t,e}var Mu=Cp(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(v0,function(o,a,c,m){t.push(c?m.replace(E0,"$1"):a||o)}),t});function un(e){if(typeof e=="string"||Bt(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function Qn(e){if(e!=null){try{return Si.call(e)}catch{}try{return e+""}catch{}}return""}function kp(e,t){return Zt(Ke,function(o){var a="_."+o[0];t&o[1]&&!bi(e,a)&&e.push(a)}),e.sort()}function Fu(e){if(e instanceof Oe)return e.clone();var t=new Vt(e.__wrapped__,e.__chain__);return t.__actions__=$t(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function Tp(e,t,o){(o?Ct(e,t,o):t===i)?t=1:t=dt(Ae(t),0);var a=e==null?0:e.length;if(!a||t<1)return[];for(var c=0,m=0,b=L(Li(a/t));c<a;)b[m++]=qt(e,c,c+=t);return b}function Rp(e){for(var t=-1,o=e==null?0:e.length,a=0,c=[];++t<o;){var m=e[t];m&&(c[a++]=m)}return c}function Lp(){var e=arguments.length;if(!e)return[];for(var t=L(e-1),o=arguments[0],a=e;a--;)t[a-1]=arguments[a];return Tn(xe(o)?$t(o):[o],vt(t,1))}var Ip=Te(function(e,t){return lt(e)?Zr(e,vt(t,1,lt,!0)):[]}),Op=Te(function(e,t){var o=Gt(t);return lt(o)&&(o=i),lt(e)?Zr(e,vt(t,1,lt,!0),he(o,2)):[]}),Mp=Te(function(e,t){var o=Gt(t);return lt(o)&&(o=i),lt(e)?Zr(e,vt(t,1,lt,!0),i,o):[]});function Fp(e,t,o){var a=e==null?0:e.length;return a?(t=o||t===i?1:Ae(t),qt(e,t<0?0:t,a)):[]}function zp(e,t,o){var a=e==null?0:e.length;return a?(t=o||t===i?1:Ae(t),t=a-t,qt(e,0,t<0?0:t)):[]}function jp(e,t){return e&&e.length?Di(e,he(t,3),!0,!0):[]}function Bp(e,t){return e&&e.length?Di(e,he(t,3),!0):[]}function Pp(e,t,o,a){var c=e==null?0:e.length;return c?(o&&typeof o!="number"&&Ct(e,t,o)&&(o=0,a=c),Lh(e,t,o,a)):[]}function zu(e,t,o){var a=e==null?0:e.length;if(!a)return-1;var c=o==null?0:Ae(o);return c<0&&(c=dt(a+c,0)),wi(e,he(t,3),c)}function ju(e,t,o){var a=e==null?0:e.length;if(!a)return-1;var c=a-1;return o!==i&&(c=Ae(o),c=o<0?dt(a+c,0):yt(c,a-1)),wi(e,he(t,3),c,!0)}function Bu(e){var t=e==null?0:e.length;return t?vt(e,1):[]}function Wp(e){var t=e==null?0:e.length;return t?vt(e,oe):[]}function Dp(e,t){var o=e==null?0:e.length;return o?(t=t===i?1:Ae(t),vt(e,t)):[]}function Hp(e){for(var t=-1,o=e==null?0:e.length,a={};++t<o;){var c=e[t];a[c[0]]=c[1]}return a}function Pu(e){return e&&e.length?e[0]:i}function Zp(e,t,o){var a=e==null?0:e.length;if(!a)return-1;var c=o==null?0:Ae(o);return c<0&&(c=dt(a+c,0)),ur(e,t,c)}function Np(e){var t=e==null?0:e.length;return t?qt(e,0,-1):[]}var Vp=Te(function(e){var t=et(e,Cs);return t.length&&t[0]===e[0]?hs(t):[]}),Up=Te(function(e){var t=Gt(e),o=et(e,Cs);return t===Gt(o)?t=i:o.pop(),o.length&&o[0]===e[0]?hs(o,he(t,2)):[]}),qp=Te(function(e){var t=Gt(e),o=et(e,Cs);return t=typeof t=="function"?t:i,t&&o.pop(),o.length&&o[0]===e[0]?hs(o,i,t):[]});function Gp(e,t){return e==null?"":N1.call(e,t)}function Gt(e){var t=e==null?0:e.length;return t?e[t-1]:i}function Kp(e,t,o){var a=e==null?0:e.length;if(!a)return-1;var c=a;return o!==i&&(c=Ae(o),c=c<0?dt(a+c,0):yt(c,a-1)),t===t?k1(e,t,c):wi(e,bl,c,!0)}function Xp(e,t){return e&&e.length?Xl(e,Ae(t)):i}var Yp=Te(Wu);function Wu(e,t){return e&&e.length&&t&&t.length?vs(e,t):e}function Qp(e,t,o){return e&&e.length&&t&&t.length?vs(e,t,he(o,2)):e}function Jp(e,t,o){return e&&e.length&&t&&t.length?vs(e,t,i,o):e}var eg=mn(function(e,t){var o=e==null?0:e.length,a=us(e,t);return Jl(e,et(t,function(c){return vn(c,o)?+c:c}).sort(uu)),a});function tg(e,t){var o=[];if(!(e&&e.length))return o;var a=-1,c=[],m=e.length;for(t=he(t,3);++a<m;){var b=e[a];t(b,a,e)&&(o.push(b),c.push(a))}return Jl(e,c),o}function js(e){return e==null?e:G1.call(e)}function ng(e,t,o){var a=e==null?0:e.length;return a?(o&&typeof o!="number"&&Ct(e,t,o)?(t=0,o=a):(t=t==null?0:Ae(t),o=o===i?a:Ae(o)),qt(e,t,o)):[]}function rg(e,t){return Wi(e,t)}function ig(e,t,o){return ws(e,t,he(o,2))}function og(e,t){var o=e==null?0:e.length;if(o){var a=Wi(e,t);if(a<o&&nn(e[a],t))return a}return-1}function sg(e,t){return Wi(e,t,!0)}function ag(e,t,o){return ws(e,t,he(o,2),!0)}function lg(e,t){var o=e==null?0:e.length;if(o){var a=Wi(e,t,!0)-1;if(nn(e[a],t))return a}return-1}function ug(e){return e&&e.length?tu(e):[]}function cg(e,t){return e&&e.length?tu(e,he(t,2)):[]}function fg(e){var t=e==null?0:e.length;return t?qt(e,1,t):[]}function dg(e,t,o){return e&&e.length?(t=o||t===i?1:Ae(t),qt(e,0,t<0?0:t)):[]}function hg(e,t,o){var a=e==null?0:e.length;return a?(t=o||t===i?1:Ae(t),t=a-t,qt(e,t<0?0:t,a)):[]}function pg(e,t){return e&&e.length?Di(e,he(t,3),!1,!0):[]}function gg(e,t){return e&&e.length?Di(e,he(t,3)):[]}var mg=Te(function(e){return On(vt(e,1,lt,!0))}),vg=Te(function(e){var t=Gt(e);return lt(t)&&(t=i),On(vt(e,1,lt,!0),he(t,2))}),yg=Te(function(e){var t=Gt(e);return t=typeof t=="function"?t:i,On(vt(e,1,lt,!0),i,t)});function bg(e){return e&&e.length?On(e):[]}function wg(e,t){return e&&e.length?On(e,he(t,2)):[]}function xg(e,t){return t=typeof t=="function"?t:i,e&&e.length?On(e,i,t):[]}function Bs(e){if(!(e&&e.length))return[];var t=0;return e=kn(e,function(o){if(lt(o))return t=dt(o.length,t),!0}),ts(t,function(o){return et(e,Qo(o))})}function Du(e,t){if(!(e&&e.length))return[];var o=Bs(e);return t==null?o:et(o,function(a){return Ft(t,i,a)})}var _g=Te(function(e,t){return lt(e)?Zr(e,t):[]}),Cg=Te(function(e){return _s(kn(e,lt))}),Sg=Te(function(e){var t=Gt(e);return lt(t)&&(t=i),_s(kn(e,lt),he(t,2))}),Eg=Te(function(e){var t=Gt(e);return t=typeof t=="function"?t:i,_s(kn(e,lt),i,t)}),Ag=Te(Bs);function $g(e,t){return ou(e||[],t||[],Hr)}function kg(e,t){return ou(e||[],t||[],Ur)}var Tg=Te(function(e){var t=e.length,o=t>1?e[t-1]:i;return o=typeof o=="function"?(e.pop(),o):i,Du(e,o)});function Hu(e){var t=p(e);return t.__chain__=!0,t}function Rg(e,t){return t(e),e}function Xi(e,t){return t(e)}var Lg=mn(function(e){var t=e.length,o=t?e[0]:0,a=this.__wrapped__,c=function(m){return us(m,e)};return t>1||this.__actions__.length||!(a instanceof Oe)||!vn(o)?this.thru(c):(a=a.slice(o,+o+(t?1:0)),a.__actions__.push({func:Xi,args:[c],thisArg:i}),new Vt(a,this.__chain__).thru(function(m){return t&&!m.length&&m.push(i),m}))});function Ig(){return Hu(this)}function Og(){return new Vt(this.value(),this.__chain__)}function Mg(){this.__values__===i&&(this.__values__=nc(this.value()));var e=this.__index__>=this.__values__.length,t=e?i:this.__values__[this.__index__++];return{done:e,value:t}}function Fg(){return this}function zg(e){for(var t,o=this;o instanceof Fi;){var a=Fu(o);a.__index__=0,a.__values__=i,t?c.__wrapped__=a:t=a;var c=a;o=o.__wrapped__}return c.__wrapped__=e,t}function jg(){var e=this.__wrapped__;if(e instanceof Oe){var t=e;return this.__actions__.length&&(t=new Oe(this)),t=t.reverse(),t.__actions__.push({func:Xi,args:[js],thisArg:i}),new Vt(t,this.__chain__)}return this.thru(js)}function Bg(){return iu(this.__wrapped__,this.__actions__)}var Pg=Hi(function(e,t,o){Ue.call(e,o)?++e[o]:pn(e,o,1)});function Wg(e,t,o){var a=xe(e)?vl:Rh;return o&&Ct(e,t,o)&&(t=i),a(e,he(t,3))}function Dg(e,t){var o=xe(e)?kn:Dl;return o(e,he(t,3))}var Hg=gu(zu),Zg=gu(ju);function Ng(e,t){return vt(Yi(e,t),1)}function Vg(e,t){return vt(Yi(e,t),oe)}function Ug(e,t,o){return o=o===i?1:Ae(o),vt(Yi(e,t),o)}function Zu(e,t){var o=xe(e)?Zt:In;return o(e,he(t,3))}function Nu(e,t){var o=xe(e)?f1:Wl;return o(e,he(t,3))}var qg=Hi(function(e,t,o){Ue.call(e,o)?e[o].push(t):pn(e,o,[t])});function Gg(e,t,o,a){e=kt(e)?e:xr(e),o=o&&!a?Ae(o):0;var c=e.length;return o<0&&(o=dt(c+o,0)),no(e)?o<=c&&e.indexOf(t,o)>-1:!!c&&ur(e,t,o)>-1}var Kg=Te(function(e,t,o){var a=-1,c=typeof t=="function",m=kt(e)?L(e.length):[];return In(e,function(b){m[++a]=c?Ft(t,b,o):Nr(b,t,o)}),m}),Xg=Hi(function(e,t,o){pn(e,o,t)});function Yi(e,t){var o=xe(e)?et:ql;return o(e,he(t,3))}function Yg(e,t,o,a){return e==null?[]:(xe(t)||(t=t==null?[]:[t]),o=a?i:o,xe(o)||(o=o==null?[]:[o]),Yl(e,t,o))}var Qg=Hi(function(e,t,o){e[o?0:1].push(t)},function(){return[[],[]]});function Jg(e,t,o){var a=xe(e)?Xo:xl,c=arguments.length<3;return a(e,he(t,4),o,c,In)}function em(e,t,o){var a=xe(e)?d1:xl,c=arguments.length<3;return a(e,he(t,4),o,c,Wl)}function tm(e,t){var o=xe(e)?kn:Dl;return o(e,eo(he(t,3)))}function nm(e){var t=xe(e)?zl:Gh;return t(e)}function rm(e,t,o){(o?Ct(e,t,o):t===i)?t=1:t=Ae(t);var a=xe(e)?Eh:Kh;return a(e,t)}function im(e){var t=xe(e)?Ah:Yh;return t(e)}function om(e){if(e==null)return 0;if(kt(e))return no(e)?fr(e):e.length;var t=bt(e);return t==Z||t==nt?e.size:gs(e).length}function sm(e,t,o){var a=xe(e)?Yo:Qh;return o&&Ct(e,t,o)&&(t=i),a(e,he(t,3))}var am=Te(function(e,t){if(e==null)return[];var o=t.length;return o>1&&Ct(e,t[0],t[1])?t=[]:o>2&&Ct(t[0],t[1],t[2])&&(t=[t[0]]),Yl(e,vt(t,1),[])}),Qi=D1||function(){return mt.Date.now()};function lm(e,t){if(typeof t!="function")throw new Nt(f);return e=Ae(e),function(){if(--e<1)return t.apply(this,arguments)}}function Vu(e,t,o){return t=o?i:t,t=e&&t==null?e.length:t,gn(e,N,i,i,i,i,t)}function Uu(e,t){var o;if(typeof t!="function")throw new Nt(f);return e=Ae(e),function(){return--e>0&&(o=t.apply(this,arguments)),e<=1&&(t=i),o}}var Ps=Te(function(e,t,o){var a=R;if(o.length){var c=Rn(o,br(Ps));a|=P}return gn(e,a,t,o,c)}),qu=Te(function(e,t,o){var a=R|M;if(o.length){var c=Rn(o,br(qu));a|=P}return gn(t,a,e,o,c)});function Gu(e,t,o){t=o?i:t;var a=gn(e,k,i,i,i,i,i,t);return a.placeholder=Gu.placeholder,a}function Ku(e,t,o){t=o?i:t;var a=gn(e,I,i,i,i,i,i,t);return a.placeholder=Ku.placeholder,a}function Xu(e,t,o){var a,c,m,b,x,$,B=0,W=!1,V=!1,ne=!0;if(typeof e!="function")throw new Nt(f);t=Kt(t)||0,rt(o)&&(W=!!o.leading,V="maxWait"in o,m=V?dt(Kt(o.maxWait)||0,t):m,ne="trailing"in o?!!o.trailing:ne);function ue(ut){var rn=a,wn=c;return a=c=i,B=ut,b=e.apply(wn,rn),b}function ge(ut){return B=ut,x=Kr(Le,t),W?ue(ut):b}function $e(ut){var rn=ut-$,wn=ut-B,gc=t-rn;return V?yt(gc,m-wn):gc}function me(ut){var rn=ut-$,wn=ut-B;return $===i||rn>=t||rn<0||V&&wn>=m}function Le(){var ut=Qi();if(me(ut))return Fe(ut);x=Kr(Le,$e(ut))}function Fe(ut){return x=i,ne&&a?ue(ut):(a=c=i,b)}function Pt(){x!==i&&su(x),B=0,a=$=c=x=i}function St(){return x===i?b:Fe(Qi())}function Wt(){var ut=Qi(),rn=me(ut);if(a=arguments,c=this,$=ut,rn){if(x===i)return ge($);if(V)return su(x),x=Kr(Le,t),ue($)}return x===i&&(x=Kr(Le,t)),b}return Wt.cancel=Pt,Wt.flush=St,Wt}var um=Te(function(e,t){return Pl(e,1,t)}),cm=Te(function(e,t,o){return Pl(e,Kt(t)||0,o)});function fm(e){return gn(e,pe)}function Ji(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new Nt(f);var o=function(){var a=arguments,c=t?t.apply(this,a):a[0],m=o.cache;if(m.has(c))return m.get(c);var b=e.apply(this,a);return o.cache=m.set(c,b)||m,b};return o.cache=new(Ji.Cache||hn),o}Ji.Cache=hn;function eo(e){if(typeof e!="function")throw new Nt(f);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function dm(e){return Uu(2,e)}var hm=Jh(function(e,t){t=t.length==1&&xe(t[0])?et(t[0],zt(he())):et(vt(t,1),zt(he()));var o=t.length;return Te(function(a){for(var c=-1,m=yt(a.length,o);++c<m;)a[c]=t[c].call(this,a[c]);return Ft(e,this,a)})}),Ws=Te(function(e,t){var o=Rn(t,br(Ws));return gn(e,P,i,t,o)}),Yu=Te(function(e,t){var o=Rn(t,br(Yu));return gn(e,U,i,t,o)}),pm=mn(function(e,t){return gn(e,Q,i,i,i,t)});function gm(e,t){if(typeof e!="function")throw new Nt(f);return t=t===i?t:Ae(t),Te(e,t)}function mm(e,t){if(typeof e!="function")throw new Nt(f);return t=t==null?0:dt(Ae(t),0),Te(function(o){var a=o[t],c=Fn(o,0,t);return a&&Tn(c,a),Ft(e,this,c)})}function vm(e,t,o){var a=!0,c=!0;if(typeof e!="function")throw new Nt(f);return rt(o)&&(a="leading"in o?!!o.leading:a,c="trailing"in o?!!o.trailing:c),Xu(e,t,{leading:a,maxWait:t,trailing:c})}function ym(e){return Vu(e,1)}function bm(e,t){return Ws(Ss(t),e)}function wm(){if(!arguments.length)return[];var e=arguments[0];return xe(e)?e:[e]}function xm(e){return Ut(e,w)}function _m(e,t){return t=typeof t=="function"?t:i,Ut(e,w,t)}function Cm(e){return Ut(e,S|w)}function Sm(e,t){return t=typeof t=="function"?t:i,Ut(e,S|w,t)}function Em(e,t){return t==null||Bl(e,t,pt(t))}function nn(e,t){return e===t||e!==e&&t!==t}var Am=Ui(ds),$m=Ui(function(e,t){return e>=t}),Jn=Nl(function(){return arguments}())?Nl:function(e){return st(e)&&Ue.call(e,"callee")&&!Rl.call(e,"callee")},xe=L.isArray,km=fl?zt(fl):zh;function kt(e){return e!=null&&to(e.length)&&!yn(e)}function lt(e){return st(e)&&kt(e)}function Tm(e){return e===!0||e===!1||st(e)&&_t(e)==de}var zn=Z1||Ys,Rm=dl?zt(dl):jh;function Lm(e){return st(e)&&e.nodeType===1&&!Xr(e)}function Im(e){if(e==null)return!0;if(kt(e)&&(xe(e)||typeof e=="string"||typeof e.splice=="function"||zn(e)||wr(e)||Jn(e)))return!e.length;var t=bt(e);if(t==Z||t==nt)return!e.size;if(Gr(e))return!gs(e).length;for(var o in e)if(Ue.call(e,o))return!1;return!0}function Om(e,t){return Vr(e,t)}function Mm(e,t,o){o=typeof o=="function"?o:i;var a=o?o(e,t):i;return a===i?Vr(e,t,i,o):!!a}function Ds(e){if(!st(e))return!1;var t=_t(e);return t==ye||t==Re||typeof e.message=="string"&&typeof e.name=="string"&&!Xr(e)}function Fm(e){return typeof e=="number"&&Il(e)}function yn(e){if(!rt(e))return!1;var t=_t(e);return t==J||t==ce||t==it||t==Xe}function Qu(e){return typeof e=="number"&&e==Ae(e)}function to(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=ee}function rt(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function st(e){return e!=null&&typeof e=="object"}var Ju=hl?zt(hl):Ph;function zm(e,t){return e===t||ps(e,t,Ls(t))}function jm(e,t,o){return o=typeof o=="function"?o:i,ps(e,t,Ls(t),o)}function Bm(e){return ec(e)&&e!=+e}function Pm(e){if(_p(e))throw new be(u);return Vl(e)}function Wm(e){return e===null}function Dm(e){return e==null}function ec(e){return typeof e=="number"||st(e)&&_t(e)==ie}function Xr(e){if(!st(e)||_t(e)!=we)return!1;var t=ki(e);if(t===null)return!0;var o=Ue.call(t,"constructor")&&t.constructor;return typeof o=="function"&&o instanceof o&&Si.call(o)==j1}var Hs=pl?zt(pl):Wh;function Hm(e){return Qu(e)&&e>=-9007199254740991&&e<=ee}var tc=gl?zt(gl):Dh;function no(e){return typeof e=="string"||!xe(e)&&st(e)&&_t(e)==ot}function Bt(e){return typeof e=="symbol"||st(e)&&_t(e)==re}var wr=ml?zt(ml):Hh;function Zm(e){return e===i}function Nm(e){return st(e)&&bt(e)==Pe}function Vm(e){return st(e)&&_t(e)==He}var Um=Ui(ms),qm=Ui(function(e,t){return e<=t});function nc(e){if(!e)return[];if(kt(e))return no(e)?en(e):$t(e);if(jr&&e[jr])return E1(e[jr]());var t=bt(e),o=t==Z?rs:t==nt?xi:xr;return o(e)}function bn(e){if(!e)return e===0?e:0;if(e=Kt(e),e===oe||e===-1/0){var t=e<0?-1:1;return t*ve}return e===e?e:0}function Ae(e){var t=bn(e),o=t%1;return t===t?o?t-o:t:0}function rc(e){return e?Kn(Ae(e),0,ke):0}function Kt(e){if(typeof e=="number")return e;if(Bt(e))return je;if(rt(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=rt(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=_l(e);var o=k0.test(e);return o||R0.test(e)?l1(e.slice(2),o?2:8):$0.test(e)?je:+e}function ic(e){return ln(e,Tt(e))}function Gm(e){return e?Kn(Ae(e),-9007199254740991,ee):e===0?e:0}function Ve(e){return e==null?"":jt(e)}var Km=vr(function(e,t){if(Gr(t)||kt(t)){ln(t,pt(t),e);return}for(var o in t)Ue.call(t,o)&&Hr(e,o,t[o])}),oc=vr(function(e,t){ln(t,Tt(t),e)}),ro=vr(function(e,t,o,a){ln(t,Tt(t),e,a)}),Xm=vr(function(e,t,o,a){ln(t,pt(t),e,a)}),Ym=mn(us);function Qm(e,t){var o=mr(e);return t==null?o:jl(o,t)}var Jm=Te(function(e,t){e=Ge(e);var o=-1,a=t.length,c=a>2?t[2]:i;for(c&&Ct(t[0],t[1],c)&&(a=1);++o<a;)for(var m=t[o],b=Tt(m),x=-1,$=b.length;++x<$;){var B=b[x],W=e[B];(W===i||nn(W,hr[B])&&!Ue.call(e,B))&&(e[B]=m[B])}return e}),e2=Te(function(e){return e.push(i,_u),Ft(sc,i,e)});function t2(e,t){return yl(e,he(t,3),an)}function n2(e,t){return yl(e,he(t,3),fs)}function r2(e,t){return e==null?e:cs(e,he(t,3),Tt)}function i2(e,t){return e==null?e:Hl(e,he(t,3),Tt)}function o2(e,t){return e&&an(e,he(t,3))}function s2(e,t){return e&&fs(e,he(t,3))}function a2(e){return e==null?[]:Bi(e,pt(e))}function l2(e){return e==null?[]:Bi(e,Tt(e))}function Zs(e,t,o){var a=e==null?i:Xn(e,t);return a===i?o:a}function u2(e,t){return e!=null&&Eu(e,t,Ih)}function Ns(e,t){return e!=null&&Eu(e,t,Oh)}var c2=vu(function(e,t,o){t!=null&&typeof t.toString!="function"&&(t=Ei.call(t)),e[t]=o},Us(Rt)),f2=vu(function(e,t,o){t!=null&&typeof t.toString!="function"&&(t=Ei.call(t)),Ue.call(e,t)?e[t].push(o):e[t]=[o]},he),d2=Te(Nr);function pt(e){return kt(e)?Fl(e):gs(e)}function Tt(e){return kt(e)?Fl(e,!0):Zh(e)}function h2(e,t){var o={};return t=he(t,3),an(e,function(a,c,m){pn(o,t(a,c,m),a)}),o}function p2(e,t){var o={};return t=he(t,3),an(e,function(a,c,m){pn(o,c,t(a,c,m))}),o}var g2=vr(function(e,t,o){Pi(e,t,o)}),sc=vr(function(e,t,o,a){Pi(e,t,o,a)}),m2=mn(function(e,t){var o={};if(e==null)return o;var a=!1;t=et(t,function(m){return m=Mn(m,e),a||(a=m.length>1),m}),ln(e,Ts(e),o),a&&(o=Ut(o,S|E|w,cp));for(var c=t.length;c--;)xs(o,t[c]);return o});function v2(e,t){return ac(e,eo(he(t)))}var y2=mn(function(e,t){return e==null?{}:Vh(e,t)});function ac(e,t){if(e==null)return{};var o=et(Ts(e),function(a){return[a]});return t=he(t),Ql(e,o,function(a,c){return t(a,c[0])})}function b2(e,t,o){t=Mn(t,e);var a=-1,c=t.length;for(c||(c=1,e=i);++a<c;){var m=e==null?i:e[un(t[a])];m===i&&(a=c,m=o),e=yn(m)?m.call(e):m}return e}function w2(e,t,o){return e==null?e:Ur(e,t,o)}function x2(e,t,o,a){return a=typeof a=="function"?a:i,e==null?e:Ur(e,t,o,a)}var lc=wu(pt),uc=wu(Tt);function _2(e,t,o){var a=xe(e),c=a||zn(e)||wr(e);if(t=he(t,4),o==null){var m=e&&e.constructor;c?o=a?new m:[]:rt(e)?o=yn(m)?mr(ki(e)):{}:o={}}return(c?Zt:an)(e,function(b,x,$){return t(o,b,x,$)}),o}function C2(e,t){return e==null?!0:xs(e,t)}function S2(e,t,o){return e==null?e:ru(e,t,Ss(o))}function E2(e,t,o,a){return a=typeof a=="function"?a:i,e==null?e:ru(e,t,Ss(o),a)}function xr(e){return e==null?[]:ns(e,pt(e))}function A2(e){return e==null?[]:ns(e,Tt(e))}function $2(e,t,o){return o===i&&(o=t,t=i),o!==i&&(o=Kt(o),o=o===o?o:0),t!==i&&(t=Kt(t),t=t===t?t:0),Kn(Kt(e),t,o)}function k2(e,t,o){return t=bn(t),o===i?(o=t,t=0):o=bn(o),e=Kt(e),Mh(e,t,o)}function T2(e,t,o){if(o&&typeof o!="boolean"&&Ct(e,t,o)&&(t=o=i),o===i&&(typeof t=="boolean"?(o=t,t=i):typeof e=="boolean"&&(o=e,e=i)),e===i&&t===i?(e=0,t=1):(e=bn(e),t===i?(t=e,e=0):t=bn(t)),e>t){var a=e;e=t,t=a}if(o||e%1||t%1){var c=Ol();return yt(e+c*(t-e+a1("1e-"+((c+"").length-1))),t)}return ys(e,t)}var R2=yr(function(e,t,o){return t=t.toLowerCase(),e+(o?cc(t):t)});function cc(e){return Vs(Ve(e).toLowerCase())}function fc(e){return e=Ve(e),e&&e.replace(I0,w1).replace(Y0,"")}function L2(e,t,o){e=Ve(e),t=jt(t);var a=e.length;o=o===i?a:Kn(Ae(o),0,a);var c=o;return o-=t.length,o>=0&&e.slice(o,c)==t}function I2(e){return e=Ve(e),e&&d0.test(e)?e.replace(Ha,x1):e}function O2(e){return e=Ve(e),e&&y0.test(e)?e.replace(Wo,"\\$&"):e}var M2=yr(function(e,t,o){return e+(o?"-":"")+t.toLowerCase()}),F2=yr(function(e,t,o){return e+(o?" ":"")+t.toLowerCase()}),z2=pu("toLowerCase");function j2(e,t,o){e=Ve(e),t=Ae(t);var a=t?fr(e):0;if(!t||a>=t)return e;var c=(t-a)/2;return Vi(Ii(c),o)+e+Vi(Li(c),o)}function B2(e,t,o){e=Ve(e),t=Ae(t);var a=t?fr(e):0;return t&&a<t?e+Vi(t-a,o):e}function P2(e,t,o){e=Ve(e),t=Ae(t);var a=t?fr(e):0;return t&&a<t?Vi(t-a,o)+e:e}function W2(e,t,o){return o||t==null?t=0:t&&(t=+t),q1(Ve(e).replace(Do,""),t||0)}function D2(e,t,o){return(o?Ct(e,t,o):t===i)?t=1:t=Ae(t),bs(Ve(e),t)}function H2(){var e=arguments,t=Ve(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var Z2=yr(function(e,t,o){return e+(o?"_":"")+t.toLowerCase()});function N2(e,t,o){return o&&typeof o!="number"&&Ct(e,t,o)&&(t=o=i),o=o===i?ke:o>>>0,o?(e=Ve(e),e&&(typeof t=="string"||t!=null&&!Hs(t))&&(t=jt(t),!t&&cr(e))?Fn(en(e),0,o):e.split(t,o)):[]}var V2=yr(function(e,t,o){return e+(o?" ":"")+Vs(t)});function U2(e,t,o){return e=Ve(e),o=o==null?0:Kn(Ae(o),0,e.length),t=jt(t),e.slice(o,o+t.length)==t}function q2(e,t,o){var a=p.templateSettings;o&&Ct(e,t,o)&&(t=i),e=Ve(e),t=ro({},t,a,xu);var c=ro({},t.imports,a.imports,xu),m=pt(c),b=ns(c,m),x,$,B=0,W=t.interpolate||mi,V="__p += '",ne=is((t.escape||mi).source+"|"+W.source+"|"+(W===Za?A0:mi).source+"|"+(t.evaluate||mi).source+"|$","g"),ue="//# sourceURL="+(Ue.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++n1+"]")+`
11
- `;e.replace(ne,function(me,Le,Fe,Pt,St,Wt){return Fe||(Fe=Pt),V+=e.slice(B,Wt).replace(O0,_1),Le&&(x=!0,V+=`' +
8
+ */var G8=si.exports,mc;function K8(){return mc||(mc=1,function(t,r){(function(){var i,s="4.17.21",l=200,u="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",f="Expected a function",h="Invalid `variable` option passed into `_.template`",g="__lodash_hash_undefined__",v=500,_="__lodash_placeholder__",S=1,E=2,x=4,C=1,F=2,R=1,I=2,T=4,k=8,O=16,M=32,N=64,V=128,Q=256,pe=512,Ce=30,Me="...",D=800,j=16,G=1,le=2,te=3,oe=1/0,ee=9007199254740991,ve=17976931348623157e292,je=NaN,ke=4294967295,Oe=ke-1,De=ke>>>1,Ke=[["ary",V],["bind",R],["bindKey",I],["curry",k],["curryRight",O],["flip",pe],["partial",M],["partialRight",N],["rearg",Q]],gt="[object Arguments]",Be="[object Array]",it="[object AsyncFunction]",de="[object Boolean]",Se="[object Date]",Re="[object DOMException]",ye="[object Error]",J="[object Function]",ce="[object GeneratorFunction]",Z="[object Map]",ie="[object Number]",fe="[object Null]",we="[object Object]",We="[object Promise]",Xe="[object Proxy]",tt="[object RegExp]",nt="[object Set]",ot="[object String]",re="[object Symbol]",Ve="[object Undefined]",Pe="[object WeakMap]",He="[object WeakSet]",Qe="[object ArrayBuffer]",_t="[object DataView]",Vn="[object Float32Array]",Io="[object Float64Array]",Mo="[object Int8Array]",Fo="[object Int16Array]",zo="[object Int32Array]",jo="[object Uint8Array]",Bo="[object Uint8ClampedArray]",Po="[object Uint16Array]",Wo="[object Uint32Array]",d0=/\b__p \+= '';/g,h0=/\b(__p \+=) '' \+/g,p0=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Da=/&(?:amp|lt|gt|quot|#39);/g,Ha=/[&<>"']/g,g0=RegExp(Da.source),m0=RegExp(Ha.source),v0=/<%-([\s\S]+?)%>/g,y0=/<%([\s\S]+?)%>/g,Za=/<%=([\s\S]+?)%>/g,b0=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,x0=/^\w*$/,w0=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Do=/[\\^$.*+?()[\]{}|]/g,_0=RegExp(Do.source),Ho=/^\s+/,C0=/\s/,S0=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,E0=/\{\n\/\* \[wrapped with (.+)\] \*/,A0=/,? & /,$0=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,k0=/[()=,{}\[\]\/\s]/,T0=/\\(\\)?/g,R0=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Va=/\w*$/,L0=/^[-+]0x[0-9a-f]+$/i,O0=/^0b[01]+$/i,I0=/^\[object .+?Constructor\]$/,M0=/^0o[0-7]+$/i,F0=/^(?:0|[1-9]\d*)$/,z0=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,vi=/($^)/,j0=/['\n\r\u2028\u2029\\]/g,yi="\\ud800-\\udfff",B0="\\u0300-\\u036f",P0="\\ufe20-\\ufe2f",W0="\\u20d0-\\u20ff",Na=B0+P0+W0,Ua="\\u2700-\\u27bf",qa="a-z\\xdf-\\xf6\\xf8-\\xff",D0="\\xac\\xb1\\xd7\\xf7",H0="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Z0="\\u2000-\\u206f",V0=" \\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",Ga="A-Z\\xc0-\\xd6\\xd8-\\xde",Ka="\\ufe0e\\ufe0f",Xa=D0+H0+Z0+V0,Zo="['’]",N0="["+yi+"]",Ya="["+Xa+"]",bi="["+Na+"]",Qa="\\d+",U0="["+Ua+"]",Ja="["+qa+"]",el="[^"+yi+Xa+Qa+Ua+qa+Ga+"]",Vo="\\ud83c[\\udffb-\\udfff]",q0="(?:"+bi+"|"+Vo+")",tl="[^"+yi+"]",No="(?:\\ud83c[\\udde6-\\uddff]){2}",Uo="[\\ud800-\\udbff][\\udc00-\\udfff]",lr="["+Ga+"]",nl="\\u200d",rl="(?:"+Ja+"|"+el+")",G0="(?:"+lr+"|"+el+")",il="(?:"+Zo+"(?:d|ll|m|re|s|t|ve))?",ol="(?:"+Zo+"(?:D|LL|M|RE|S|T|VE))?",sl=q0+"?",al="["+Ka+"]?",K0="(?:"+nl+"(?:"+[tl,No,Uo].join("|")+")"+al+sl+")*",X0="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Y0="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ll=al+sl+K0,Q0="(?:"+[U0,No,Uo].join("|")+")"+ll,J0="(?:"+[tl+bi+"?",bi,No,Uo,N0].join("|")+")",e1=RegExp(Zo,"g"),t1=RegExp(bi,"g"),qo=RegExp(Vo+"(?="+Vo+")|"+J0+ll,"g"),n1=RegExp([lr+"?"+Ja+"+"+il+"(?="+[Ya,lr,"$"].join("|")+")",G0+"+"+ol+"(?="+[Ya,lr+rl,"$"].join("|")+")",lr+"?"+rl+"+"+il,lr+"+"+ol,Y0,X0,Qa,Q0].join("|"),"g"),r1=RegExp("["+nl+yi+Na+Ka+"]"),i1=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,o1=["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"],s1=-1,Je={};Je[Vn]=Je[Io]=Je[Mo]=Je[Fo]=Je[zo]=Je[jo]=Je[Bo]=Je[Po]=Je[Wo]=!0,Je[gt]=Je[Be]=Je[Qe]=Je[de]=Je[_t]=Je[Se]=Je[ye]=Je[J]=Je[Z]=Je[ie]=Je[we]=Je[tt]=Je[nt]=Je[ot]=Je[Pe]=!1;var Ye={};Ye[gt]=Ye[Be]=Ye[Qe]=Ye[_t]=Ye[de]=Ye[Se]=Ye[Vn]=Ye[Io]=Ye[Mo]=Ye[Fo]=Ye[zo]=Ye[Z]=Ye[ie]=Ye[we]=Ye[tt]=Ye[nt]=Ye[ot]=Ye[re]=Ye[jo]=Ye[Bo]=Ye[Po]=Ye[Wo]=!0,Ye[ye]=Ye[J]=Ye[Pe]=!1;var a1={À:"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"},l1={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},u1={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},c1={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},f1=parseFloat,d1=parseInt,ul=typeof oo=="object"&&oo&&oo.Object===Object&&oo,h1=typeof self=="object"&&self&&self.Object===Object&&self,mt=ul||h1||Function("return this")(),Go=r&&!r.nodeType&&r,Nn=Go&&!0&&t&&!t.nodeType&&t,cl=Nn&&Nn.exports===Go,Ko=cl&&ul.process,Zt=function(){try{var A=Nn&&Nn.require&&Nn.require("util").types;return A||Ko&&Ko.binding&&Ko.binding("util")}catch{}}(),fl=Zt&&Zt.isArrayBuffer,dl=Zt&&Zt.isDate,hl=Zt&&Zt.isMap,pl=Zt&&Zt.isRegExp,gl=Zt&&Zt.isSet,ml=Zt&&Zt.isTypedArray;function Ft(A,z,L){switch(L.length){case 0:return A.call(z);case 1:return A.call(z,L[0]);case 2:return A.call(z,L[0],L[1]);case 3:return A.call(z,L[0],L[1],L[2])}return A.apply(z,L)}function p1(A,z,L,se){for(var be=-1,Ze=A==null?0:A.length;++be<Ze;){var ft=A[be];z(se,ft,L(ft),A)}return se}function Vt(A,z){for(var L=-1,se=A==null?0:A.length;++L<se&&z(A[L],L,A)!==!1;);return A}function g1(A,z){for(var L=A==null?0:A.length;L--&&z(A[L],L,A)!==!1;);return A}function vl(A,z){for(var L=-1,se=A==null?0:A.length;++L<se;)if(!z(A[L],L,A))return!1;return!0}function kn(A,z){for(var L=-1,se=A==null?0:A.length,be=0,Ze=[];++L<se;){var ft=A[L];z(ft,L,A)&&(Ze[be++]=ft)}return Ze}function xi(A,z){var L=A==null?0:A.length;return!!L&&ur(A,z,0)>-1}function Xo(A,z,L){for(var se=-1,be=A==null?0:A.length;++se<be;)if(L(z,A[se]))return!0;return!1}function et(A,z){for(var L=-1,se=A==null?0:A.length,be=Array(se);++L<se;)be[L]=z(A[L],L,A);return be}function Tn(A,z){for(var L=-1,se=z.length,be=A.length;++L<se;)A[be+L]=z[L];return A}function Yo(A,z,L,se){var be=-1,Ze=A==null?0:A.length;for(se&&Ze&&(L=A[++be]);++be<Ze;)L=z(L,A[be],be,A);return L}function m1(A,z,L,se){var be=A==null?0:A.length;for(se&&be&&(L=A[--be]);be--;)L=z(L,A[be],be,A);return L}function Qo(A,z){for(var L=-1,se=A==null?0:A.length;++L<se;)if(z(A[L],L,A))return!0;return!1}var v1=Jo("length");function y1(A){return A.split("")}function b1(A){return A.match($0)||[]}function yl(A,z,L){var se;return L(A,function(be,Ze,ft){if(z(be,Ze,ft))return se=Ze,!1}),se}function wi(A,z,L,se){for(var be=A.length,Ze=L+(se?1:-1);se?Ze--:++Ze<be;)if(z(A[Ze],Ze,A))return Ze;return-1}function ur(A,z,L){return z===z?L1(A,z,L):wi(A,bl,L)}function x1(A,z,L,se){for(var be=L-1,Ze=A.length;++be<Ze;)if(se(A[be],z))return be;return-1}function bl(A){return A!==A}function xl(A,z){var L=A==null?0:A.length;return L?ts(A,z)/L:je}function Jo(A){return function(z){return z==null?i:z[A]}}function es(A){return function(z){return A==null?i:A[z]}}function wl(A,z,L,se,be){return be(A,function(Ze,ft,Ge){L=se?(se=!1,Ze):z(L,Ze,ft,Ge)}),L}function w1(A,z){var L=A.length;for(A.sort(z);L--;)A[L]=A[L].value;return A}function ts(A,z){for(var L,se=-1,be=A.length;++se<be;){var Ze=z(A[se]);Ze!==i&&(L=L===i?Ze:L+Ze)}return L}function ns(A,z){for(var L=-1,se=Array(A);++L<A;)se[L]=z(L);return se}function _1(A,z){return et(z,function(L){return[L,A[L]]})}function _l(A){return A&&A.slice(0,Al(A)+1).replace(Ho,"")}function zt(A){return function(z){return A(z)}}function rs(A,z){return et(z,function(L){return A[L]})}function jr(A,z){return A.has(z)}function Cl(A,z){for(var L=-1,se=A.length;++L<se&&ur(z,A[L],0)>-1;);return L}function Sl(A,z){for(var L=A.length;L--&&ur(z,A[L],0)>-1;);return L}function C1(A,z){for(var L=A.length,se=0;L--;)A[L]===z&&++se;return se}var S1=es(a1),E1=es(l1);function A1(A){return"\\"+c1[A]}function $1(A,z){return A==null?i:A[z]}function cr(A){return r1.test(A)}function k1(A){return i1.test(A)}function T1(A){for(var z,L=[];!(z=A.next()).done;)L.push(z.value);return L}function is(A){var z=-1,L=Array(A.size);return A.forEach(function(se,be){L[++z]=[be,se]}),L}function El(A,z){return function(L){return A(z(L))}}function Rn(A,z){for(var L=-1,se=A.length,be=0,Ze=[];++L<se;){var ft=A[L];(ft===z||ft===_)&&(A[L]=_,Ze[be++]=L)}return Ze}function _i(A){var z=-1,L=Array(A.size);return A.forEach(function(se){L[++z]=se}),L}function R1(A){var z=-1,L=Array(A.size);return A.forEach(function(se){L[++z]=[se,se]}),L}function L1(A,z,L){for(var se=L-1,be=A.length;++se<be;)if(A[se]===z)return se;return-1}function O1(A,z,L){for(var se=L+1;se--;)if(A[se]===z)return se;return se}function fr(A){return cr(A)?M1(A):v1(A)}function en(A){return cr(A)?F1(A):y1(A)}function Al(A){for(var z=A.length;z--&&C0.test(A.charAt(z)););return z}var I1=es(u1);function M1(A){for(var z=qo.lastIndex=0;qo.test(A);)++z;return z}function F1(A){return A.match(qo)||[]}function z1(A){return A.match(n1)||[]}var j1=function A(z){z=z==null?mt:dr.defaults(mt.Object(),z,dr.pick(mt,o1));var L=z.Array,se=z.Date,be=z.Error,Ze=z.Function,ft=z.Math,Ge=z.Object,os=z.RegExp,B1=z.String,Nt=z.TypeError,Ci=L.prototype,P1=Ze.prototype,hr=Ge.prototype,Si=z["__core-js_shared__"],Ei=P1.toString,Ue=hr.hasOwnProperty,W1=0,$l=function(){var e=/[^.]+$/.exec(Si&&Si.keys&&Si.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Ai=hr.toString,D1=Ei.call(Ge),H1=mt._,Z1=os("^"+Ei.call(Ue).replace(Do,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),$i=cl?z.Buffer:i,Ln=z.Symbol,ki=z.Uint8Array,kl=$i?$i.allocUnsafe:i,Ti=El(Ge.getPrototypeOf,Ge),Tl=Ge.create,Rl=hr.propertyIsEnumerable,Ri=Ci.splice,Ll=Ln?Ln.isConcatSpreadable:i,Br=Ln?Ln.iterator:i,Un=Ln?Ln.toStringTag:i,Li=function(){try{var e=Yn(Ge,"defineProperty");return e({},"",{}),e}catch{}}(),V1=z.clearTimeout!==mt.clearTimeout&&z.clearTimeout,N1=se&&se.now!==mt.Date.now&&se.now,U1=z.setTimeout!==mt.setTimeout&&z.setTimeout,Oi=ft.ceil,Ii=ft.floor,ss=Ge.getOwnPropertySymbols,q1=$i?$i.isBuffer:i,Ol=z.isFinite,G1=Ci.join,K1=El(Ge.keys,Ge),dt=ft.max,bt=ft.min,X1=se.now,Y1=z.parseInt,Il=ft.random,Q1=Ci.reverse,as=Yn(z,"DataView"),Pr=Yn(z,"Map"),ls=Yn(z,"Promise"),pr=Yn(z,"Set"),Wr=Yn(z,"WeakMap"),Dr=Yn(Ge,"create"),Mi=Wr&&new Wr,gr={},J1=Qn(as),eh=Qn(Pr),th=Qn(ls),nh=Qn(pr),rh=Qn(Wr),Fi=Ln?Ln.prototype:i,Hr=Fi?Fi.valueOf:i,Ml=Fi?Fi.toString:i;function p(e){if(st(e)&&!_e(e)&&!(e instanceof Ie)){if(e instanceof Ut)return e;if(Ue.call(e,"__wrapped__"))return Fu(e)}return new Ut(e)}var mr=function(){function e(){}return function(n){if(!rt(n))return{};if(Tl)return Tl(n);e.prototype=n;var o=new e;return e.prototype=i,o}}();function zi(){}function Ut(e,n){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=i}p.templateSettings={escape:v0,evaluate:y0,interpolate:Za,variable:"",imports:{_:p}},p.prototype=zi.prototype,p.prototype.constructor=p,Ut.prototype=mr(zi.prototype),Ut.prototype.constructor=Ut;function Ie(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ke,this.__views__=[]}function ih(){var e=new Ie(this.__wrapped__);return e.__actions__=$t(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=$t(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=$t(this.__views__),e}function oh(){if(this.__filtered__){var e=new Ie(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function sh(){var e=this.__wrapped__.value(),n=this.__dir__,o=_e(e),a=n<0,c=o?e.length:0,m=yp(0,c,this.__views__),b=m.start,w=m.end,$=w-b,P=a?w:b-1,W=this.__iteratees__,U=W.length,ne=0,ue=bt($,this.__takeCount__);if(!o||!a&&c==$&&ue==$)return iu(e,this.__actions__);var ge=[];e:for(;$--&&ne<ue;){P+=n;for(var $e=-1,me=e[P];++$e<U;){var Le=W[$e],Fe=Le.iteratee,Pt=Le.type,Et=Fe(me);if(Pt==le)me=Et;else if(!Et){if(Pt==G)continue e;break e}}ge[ne++]=me}return ge}Ie.prototype=mr(zi.prototype),Ie.prototype.constructor=Ie;function qn(e){var n=-1,o=e==null?0:e.length;for(this.clear();++n<o;){var a=e[n];this.set(a[0],a[1])}}function ah(){this.__data__=Dr?Dr(null):{},this.size=0}function lh(e){var n=this.has(e)&&delete this.__data__[e];return this.size-=n?1:0,n}function uh(e){var n=this.__data__;if(Dr){var o=n[e];return o===g?i:o}return Ue.call(n,e)?n[e]:i}function ch(e){var n=this.__data__;return Dr?n[e]!==i:Ue.call(n,e)}function fh(e,n){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=Dr&&n===i?g:n,this}qn.prototype.clear=ah,qn.prototype.delete=lh,qn.prototype.get=uh,qn.prototype.has=ch,qn.prototype.set=fh;function hn(e){var n=-1,o=e==null?0:e.length;for(this.clear();++n<o;){var a=e[n];this.set(a[0],a[1])}}function dh(){this.__data__=[],this.size=0}function hh(e){var n=this.__data__,o=ji(n,e);if(o<0)return!1;var a=n.length-1;return o==a?n.pop():Ri.call(n,o,1),--this.size,!0}function ph(e){var n=this.__data__,o=ji(n,e);return o<0?i:n[o][1]}function gh(e){return ji(this.__data__,e)>-1}function mh(e,n){var o=this.__data__,a=ji(o,e);return a<0?(++this.size,o.push([e,n])):o[a][1]=n,this}hn.prototype.clear=dh,hn.prototype.delete=hh,hn.prototype.get=ph,hn.prototype.has=gh,hn.prototype.set=mh;function pn(e){var n=-1,o=e==null?0:e.length;for(this.clear();++n<o;){var a=e[n];this.set(a[0],a[1])}}function vh(){this.size=0,this.__data__={hash:new qn,map:new(Pr||hn),string:new qn}}function yh(e){var n=Ki(this,e).delete(e);return this.size-=n?1:0,n}function bh(e){return Ki(this,e).get(e)}function xh(e){return Ki(this,e).has(e)}function wh(e,n){var o=Ki(this,e),a=o.size;return o.set(e,n),this.size+=o.size==a?0:1,this}pn.prototype.clear=vh,pn.prototype.delete=yh,pn.prototype.get=bh,pn.prototype.has=xh,pn.prototype.set=wh;function Gn(e){var n=-1,o=e==null?0:e.length;for(this.__data__=new pn;++n<o;)this.add(e[n])}function _h(e){return this.__data__.set(e,g),this}function Ch(e){return this.__data__.has(e)}Gn.prototype.add=Gn.prototype.push=_h,Gn.prototype.has=Ch;function tn(e){var n=this.__data__=new hn(e);this.size=n.size}function Sh(){this.__data__=new hn,this.size=0}function Eh(e){var n=this.__data__,o=n.delete(e);return this.size=n.size,o}function Ah(e){return this.__data__.get(e)}function $h(e){return this.__data__.has(e)}function kh(e,n){var o=this.__data__;if(o instanceof hn){var a=o.__data__;if(!Pr||a.length<l-1)return a.push([e,n]),this.size=++o.size,this;o=this.__data__=new pn(a)}return o.set(e,n),this.size=o.size,this}tn.prototype.clear=Sh,tn.prototype.delete=Eh,tn.prototype.get=Ah,tn.prototype.has=$h,tn.prototype.set=kh;function Fl(e,n){var o=_e(e),a=!o&&Jn(e),c=!o&&!a&&zn(e),m=!o&&!a&&!c&&xr(e),b=o||a||c||m,w=b?ns(e.length,B1):[],$=w.length;for(var P in e)(n||Ue.call(e,P))&&!(b&&(P=="length"||c&&(P=="offset"||P=="parent")||m&&(P=="buffer"||P=="byteLength"||P=="byteOffset")||yn(P,$)))&&w.push(P);return w}function zl(e){var n=e.length;return n?e[bs(0,n-1)]:i}function Th(e,n){return Xi($t(e),Kn(n,0,e.length))}function Rh(e){return Xi($t(e))}function us(e,n,o){(o!==i&&!nn(e[n],o)||o===i&&!(n in e))&&gn(e,n,o)}function Zr(e,n,o){var a=e[n];(!(Ue.call(e,n)&&nn(a,o))||o===i&&!(n in e))&&gn(e,n,o)}function ji(e,n){for(var o=e.length;o--;)if(nn(e[o][0],n))return o;return-1}function Lh(e,n,o,a){return On(e,function(c,m,b){n(a,c,o(c),b)}),a}function jl(e,n){return e&&ln(n,pt(n),e)}function Oh(e,n){return e&&ln(n,Tt(n),e)}function gn(e,n,o){n=="__proto__"&&Li?Li(e,n,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[n]=o}function cs(e,n){for(var o=-1,a=n.length,c=L(a),m=e==null;++o<a;)c[o]=m?i:Vs(e,n[o]);return c}function Kn(e,n,o){return e===e&&(o!==i&&(e=e<=o?e:o),n!==i&&(e=e>=n?e:n)),e}function qt(e,n,o,a,c,m){var b,w=n&S,$=n&E,P=n&x;if(o&&(b=c?o(e,a,c,m):o(e)),b!==i)return b;if(!rt(e))return e;var W=_e(e);if(W){if(b=xp(e),!w)return $t(e,b)}else{var U=xt(e),ne=U==J||U==ce;if(zn(e))return au(e,w);if(U==we||U==gt||ne&&!c){if(b=$||ne?{}:Au(e),!w)return $?up(e,Oh(b,e)):lp(e,jl(b,e))}else{if(!Ye[U])return c?e:{};b=wp(e,U,w)}}m||(m=new tn);var ue=m.get(e);if(ue)return ue;m.set(e,b),tc(e)?e.forEach(function(me){b.add(qt(me,n,o,me,e,m))}):Ju(e)&&e.forEach(function(me,Le){b.set(Le,qt(me,n,o,Le,e,m))});var ge=P?$?Rs:Ts:$?Tt:pt,$e=W?i:ge(e);return Vt($e||e,function(me,Le){$e&&(Le=me,me=e[Le]),Zr(b,Le,qt(me,n,o,Le,e,m))}),b}function Ih(e){var n=pt(e);return function(o){return Bl(o,e,n)}}function Bl(e,n,o){var a=o.length;if(e==null)return!a;for(e=Ge(e);a--;){var c=o[a],m=n[c],b=e[c];if(b===i&&!(c in e)||!m(b))return!1}return!0}function Pl(e,n,o){if(typeof e!="function")throw new Nt(f);return Xr(function(){e.apply(i,o)},n)}function Vr(e,n,o,a){var c=-1,m=xi,b=!0,w=e.length,$=[],P=n.length;if(!w)return $;o&&(n=et(n,zt(o))),a?(m=Xo,b=!1):n.length>=l&&(m=jr,b=!1,n=new Gn(n));e:for(;++c<w;){var W=e[c],U=o==null?W:o(W);if(W=a||W!==0?W:0,b&&U===U){for(var ne=P;ne--;)if(n[ne]===U)continue e;$.push(W)}else m(n,U,a)||$.push(W)}return $}var On=du(an),Wl=du(ds,!0);function Mh(e,n){var o=!0;return On(e,function(a,c,m){return o=!!n(a,c,m),o}),o}function Bi(e,n,o){for(var a=-1,c=e.length;++a<c;){var m=e[a],b=n(m);if(b!=null&&(w===i?b===b&&!Bt(b):o(b,w)))var w=b,$=m}return $}function Fh(e,n,o,a){var c=e.length;for(o=Ae(o),o<0&&(o=-o>c?0:c+o),a=a===i||a>c?c:Ae(a),a<0&&(a+=c),a=o>a?0:rc(a);o<a;)e[o++]=n;return e}function Dl(e,n){var o=[];return On(e,function(a,c,m){n(a,c,m)&&o.push(a)}),o}function vt(e,n,o,a,c){var m=-1,b=e.length;for(o||(o=Cp),c||(c=[]);++m<b;){var w=e[m];n>0&&o(w)?n>1?vt(w,n-1,o,a,c):Tn(c,w):a||(c[c.length]=w)}return c}var fs=hu(),Hl=hu(!0);function an(e,n){return e&&fs(e,n,pt)}function ds(e,n){return e&&Hl(e,n,pt)}function Pi(e,n){return kn(n,function(o){return bn(e[o])})}function Xn(e,n){n=Mn(n,e);for(var o=0,a=n.length;e!=null&&o<a;)e=e[un(n[o++])];return o&&o==a?e:i}function Zl(e,n,o){var a=n(e);return _e(e)?a:Tn(a,o(e))}function Ct(e){return e==null?e===i?Ve:fe:Un&&Un in Ge(e)?vp(e):Rp(e)}function hs(e,n){return e>n}function zh(e,n){return e!=null&&Ue.call(e,n)}function jh(e,n){return e!=null&&n in Ge(e)}function Bh(e,n,o){return e>=bt(n,o)&&e<dt(n,o)}function ps(e,n,o){for(var a=o?Xo:xi,c=e[0].length,m=e.length,b=m,w=L(m),$=1/0,P=[];b--;){var W=e[b];b&&n&&(W=et(W,zt(n))),$=bt(W.length,$),w[b]=!o&&(n||c>=120&&W.length>=120)?new Gn(b&&W):i}W=e[0];var U=-1,ne=w[0];e:for(;++U<c&&P.length<$;){var ue=W[U],ge=n?n(ue):ue;if(ue=o||ue!==0?ue:0,!(ne?jr(ne,ge):a(P,ge,o))){for(b=m;--b;){var $e=w[b];if(!($e?jr($e,ge):a(e[b],ge,o)))continue e}ne&&ne.push(ge),P.push(ue)}}return P}function Ph(e,n,o,a){return an(e,function(c,m,b){n(a,o(c),m,b)}),a}function Nr(e,n,o){n=Mn(n,e),e=Ru(e,n);var a=e==null?e:e[un(Kt(n))];return a==null?i:Ft(a,e,o)}function Vl(e){return st(e)&&Ct(e)==gt}function Wh(e){return st(e)&&Ct(e)==Qe}function Dh(e){return st(e)&&Ct(e)==Se}function Ur(e,n,o,a,c){return e===n?!0:e==null||n==null||!st(e)&&!st(n)?e!==e&&n!==n:Hh(e,n,o,a,Ur,c)}function Hh(e,n,o,a,c,m){var b=_e(e),w=_e(n),$=b?Be:xt(e),P=w?Be:xt(n);$=$==gt?we:$,P=P==gt?we:P;var W=$==we,U=P==we,ne=$==P;if(ne&&zn(e)){if(!zn(n))return!1;b=!0,W=!1}if(ne&&!W)return m||(m=new tn),b||xr(e)?Cu(e,n,o,a,c,m):gp(e,n,$,o,a,c,m);if(!(o&C)){var ue=W&&Ue.call(e,"__wrapped__"),ge=U&&Ue.call(n,"__wrapped__");if(ue||ge){var $e=ue?e.value():e,me=ge?n.value():n;return m||(m=new tn),c($e,me,o,a,m)}}return ne?(m||(m=new tn),mp(e,n,o,a,c,m)):!1}function Zh(e){return st(e)&&xt(e)==Z}function gs(e,n,o,a){var c=o.length,m=c,b=!a;if(e==null)return!m;for(e=Ge(e);c--;){var w=o[c];if(b&&w[2]?w[1]!==e[w[0]]:!(w[0]in e))return!1}for(;++c<m;){w=o[c];var $=w[0],P=e[$],W=w[1];if(b&&w[2]){if(P===i&&!($ in e))return!1}else{var U=new tn;if(a)var ne=a(P,W,$,e,n,U);if(!(ne===i?Ur(W,P,C|F,a,U):ne))return!1}}return!0}function Nl(e){if(!rt(e)||Ep(e))return!1;var n=bn(e)?Z1:I0;return n.test(Qn(e))}function Vh(e){return st(e)&&Ct(e)==tt}function Nh(e){return st(e)&&xt(e)==nt}function Uh(e){return st(e)&&no(e.length)&&!!Je[Ct(e)]}function Ul(e){return typeof e=="function"?e:e==null?Rt:typeof e=="object"?_e(e)?Kl(e[0],e[1]):Gl(e):pc(e)}function ms(e){if(!Kr(e))return K1(e);var n=[];for(var o in Ge(e))Ue.call(e,o)&&o!="constructor"&&n.push(o);return n}function qh(e){if(!rt(e))return Tp(e);var n=Kr(e),o=[];for(var a in e)a=="constructor"&&(n||!Ue.call(e,a))||o.push(a);return o}function vs(e,n){return e<n}function ql(e,n){var o=-1,a=kt(e)?L(e.length):[];return On(e,function(c,m,b){a[++o]=n(c,m,b)}),a}function Gl(e){var n=Os(e);return n.length==1&&n[0][2]?ku(n[0][0],n[0][1]):function(o){return o===e||gs(o,e,n)}}function Kl(e,n){return Ms(e)&&$u(n)?ku(un(e),n):function(o){var a=Vs(o,e);return a===i&&a===n?Ns(o,e):Ur(n,a,C|F)}}function Wi(e,n,o,a,c){e!==n&&fs(n,function(m,b){if(c||(c=new tn),rt(m))Gh(e,n,b,o,Wi,a,c);else{var w=a?a(zs(e,b),m,b+"",e,n,c):i;w===i&&(w=m),us(e,b,w)}},Tt)}function Gh(e,n,o,a,c,m,b){var w=zs(e,o),$=zs(n,o),P=b.get($);if(P){us(e,o,P);return}var W=m?m(w,$,o+"",e,n,b):i,U=W===i;if(U){var ne=_e($),ue=!ne&&zn($),ge=!ne&&!ue&&xr($);W=$,ne||ue||ge?_e(w)?W=w:lt(w)?W=$t(w):ue?(U=!1,W=au($,!0)):ge?(U=!1,W=lu($,!0)):W=[]:Yr($)||Jn($)?(W=w,Jn(w)?W=ic(w):(!rt(w)||bn(w))&&(W=Au($))):U=!1}U&&(b.set($,W),c(W,$,a,m,b),b.delete($)),us(e,o,W)}function Xl(e,n){var o=e.length;if(o)return n+=n<0?o:0,yn(n,o)?e[n]:i}function Yl(e,n,o){n.length?n=et(n,function(m){return _e(m)?function(b){return Xn(b,m.length===1?m[0]:m)}:m}):n=[Rt];var a=-1;n=et(n,zt(he()));var c=ql(e,function(m,b,w){var $=et(n,function(P){return P(m)});return{criteria:$,index:++a,value:m}});return w1(c,function(m,b){return ap(m,b,o)})}function Kh(e,n){return Ql(e,n,function(o,a){return Ns(e,a)})}function Ql(e,n,o){for(var a=-1,c=n.length,m={};++a<c;){var b=n[a],w=Xn(e,b);o(w,b)&&qr(m,Mn(b,e),w)}return m}function Xh(e){return function(n){return Xn(n,e)}}function ys(e,n,o,a){var c=a?x1:ur,m=-1,b=n.length,w=e;for(e===n&&(n=$t(n)),o&&(w=et(e,zt(o)));++m<b;)for(var $=0,P=n[m],W=o?o(P):P;($=c(w,W,$,a))>-1;)w!==e&&Ri.call(w,$,1),Ri.call(e,$,1);return e}function Jl(e,n){for(var o=e?n.length:0,a=o-1;o--;){var c=n[o];if(o==a||c!==m){var m=c;yn(c)?Ri.call(e,c,1):_s(e,c)}}return e}function bs(e,n){return e+Ii(Il()*(n-e+1))}function Yh(e,n,o,a){for(var c=-1,m=dt(Oi((n-e)/(o||1)),0),b=L(m);m--;)b[a?m:++c]=e,e+=o;return b}function xs(e,n){var o="";if(!e||n<1||n>ee)return o;do n%2&&(o+=e),n=Ii(n/2),n&&(e+=e);while(n);return o}function Te(e,n){return js(Tu(e,n,Rt),e+"")}function Qh(e){return zl(wr(e))}function Jh(e,n){var o=wr(e);return Xi(o,Kn(n,0,o.length))}function qr(e,n,o,a){if(!rt(e))return e;n=Mn(n,e);for(var c=-1,m=n.length,b=m-1,w=e;w!=null&&++c<m;){var $=un(n[c]),P=o;if($==="__proto__"||$==="constructor"||$==="prototype")return e;if(c!=b){var W=w[$];P=a?a(W,$,w):i,P===i&&(P=rt(W)?W:yn(n[c+1])?[]:{})}Zr(w,$,P),w=w[$]}return e}var eu=Mi?function(e,n){return Mi.set(e,n),e}:Rt,ep=Li?function(e,n){return Li(e,"toString",{configurable:!0,enumerable:!1,value:qs(n),writable:!0})}:Rt;function tp(e){return Xi(wr(e))}function Gt(e,n,o){var a=-1,c=e.length;n<0&&(n=-n>c?0:c+n),o=o>c?c:o,o<0&&(o+=c),c=n>o?0:o-n>>>0,n>>>=0;for(var m=L(c);++a<c;)m[a]=e[a+n];return m}function np(e,n){var o;return On(e,function(a,c,m){return o=n(a,c,m),!o}),!!o}function Di(e,n,o){var a=0,c=e==null?a:e.length;if(typeof n=="number"&&n===n&&c<=De){for(;a<c;){var m=a+c>>>1,b=e[m];b!==null&&!Bt(b)&&(o?b<=n:b<n)?a=m+1:c=m}return c}return ws(e,n,Rt,o)}function ws(e,n,o,a){var c=0,m=e==null?0:e.length;if(m===0)return 0;n=o(n);for(var b=n!==n,w=n===null,$=Bt(n),P=n===i;c<m;){var W=Ii((c+m)/2),U=o(e[W]),ne=U!==i,ue=U===null,ge=U===U,$e=Bt(U);if(b)var me=a||ge;else P?me=ge&&(a||ne):w?me=ge&&ne&&(a||!ue):$?me=ge&&ne&&!ue&&(a||!$e):ue||$e?me=!1:me=a?U<=n:U<n;me?c=W+1:m=W}return bt(m,Oe)}function tu(e,n){for(var o=-1,a=e.length,c=0,m=[];++o<a;){var b=e[o],w=n?n(b):b;if(!o||!nn(w,$)){var $=w;m[c++]=b===0?0:b}}return m}function nu(e){return typeof e=="number"?e:Bt(e)?je:+e}function jt(e){if(typeof e=="string")return e;if(_e(e))return et(e,jt)+"";if(Bt(e))return Ml?Ml.call(e):"";var n=e+"";return n=="0"&&1/e==-1/0?"-0":n}function In(e,n,o){var a=-1,c=xi,m=e.length,b=!0,w=[],$=w;if(o)b=!1,c=Xo;else if(m>=l){var P=n?null:hp(e);if(P)return _i(P);b=!1,c=jr,$=new Gn}else $=n?[]:w;e:for(;++a<m;){var W=e[a],U=n?n(W):W;if(W=o||W!==0?W:0,b&&U===U){for(var ne=$.length;ne--;)if($[ne]===U)continue e;n&&$.push(U),w.push(W)}else c($,U,o)||($!==w&&$.push(U),w.push(W))}return w}function _s(e,n){return n=Mn(n,e),e=Ru(e,n),e==null||delete e[un(Kt(n))]}function ru(e,n,o,a){return qr(e,n,o(Xn(e,n)),a)}function Hi(e,n,o,a){for(var c=e.length,m=a?c:-1;(a?m--:++m<c)&&n(e[m],m,e););return o?Gt(e,a?0:m,a?m+1:c):Gt(e,a?m+1:0,a?c:m)}function iu(e,n){var o=e;return o instanceof Ie&&(o=o.value()),Yo(n,function(a,c){return c.func.apply(c.thisArg,Tn([a],c.args))},o)}function Cs(e,n,o){var a=e.length;if(a<2)return a?In(e[0]):[];for(var c=-1,m=L(a);++c<a;)for(var b=e[c],w=-1;++w<a;)w!=c&&(m[c]=Vr(m[c]||b,e[w],n,o));return In(vt(m,1),n,o)}function ou(e,n,o){for(var a=-1,c=e.length,m=n.length,b={};++a<c;){var w=a<m?n[a]:i;o(b,e[a],w)}return b}function Ss(e){return lt(e)?e:[]}function Es(e){return typeof e=="function"?e:Rt}function Mn(e,n){return _e(e)?e:Ms(e,n)?[e]:Mu(Ne(e))}var rp=Te;function Fn(e,n,o){var a=e.length;return o=o===i?a:o,!n&&o>=a?e:Gt(e,n,o)}var su=V1||function(e){return mt.clearTimeout(e)};function au(e,n){if(n)return e.slice();var o=e.length,a=kl?kl(o):new e.constructor(o);return e.copy(a),a}function As(e){var n=new e.constructor(e.byteLength);return new ki(n).set(new ki(e)),n}function ip(e,n){var o=n?As(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.byteLength)}function op(e){var n=new e.constructor(e.source,Va.exec(e));return n.lastIndex=e.lastIndex,n}function sp(e){return Hr?Ge(Hr.call(e)):{}}function lu(e,n){var o=n?As(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}function uu(e,n){if(e!==n){var o=e!==i,a=e===null,c=e===e,m=Bt(e),b=n!==i,w=n===null,$=n===n,P=Bt(n);if(!w&&!P&&!m&&e>n||m&&b&&$&&!w&&!P||a&&b&&$||!o&&$||!c)return 1;if(!a&&!m&&!P&&e<n||P&&o&&c&&!a&&!m||w&&o&&c||!b&&c||!$)return-1}return 0}function ap(e,n,o){for(var a=-1,c=e.criteria,m=n.criteria,b=c.length,w=o.length;++a<b;){var $=uu(c[a],m[a]);if($){if(a>=w)return $;var P=o[a];return $*(P=="desc"?-1:1)}}return e.index-n.index}function cu(e,n,o,a){for(var c=-1,m=e.length,b=o.length,w=-1,$=n.length,P=dt(m-b,0),W=L($+P),U=!a;++w<$;)W[w]=n[w];for(;++c<b;)(U||c<m)&&(W[o[c]]=e[c]);for(;P--;)W[w++]=e[c++];return W}function fu(e,n,o,a){for(var c=-1,m=e.length,b=-1,w=o.length,$=-1,P=n.length,W=dt(m-w,0),U=L(W+P),ne=!a;++c<W;)U[c]=e[c];for(var ue=c;++$<P;)U[ue+$]=n[$];for(;++b<w;)(ne||c<m)&&(U[ue+o[b]]=e[c++]);return U}function $t(e,n){var o=-1,a=e.length;for(n||(n=L(a));++o<a;)n[o]=e[o];return n}function ln(e,n,o,a){var c=!o;o||(o={});for(var m=-1,b=n.length;++m<b;){var w=n[m],$=a?a(o[w],e[w],w,o,e):i;$===i&&($=e[w]),c?gn(o,w,$):Zr(o,w,$)}return o}function lp(e,n){return ln(e,Is(e),n)}function up(e,n){return ln(e,Su(e),n)}function Zi(e,n){return function(o,a){var c=_e(o)?p1:Lh,m=n?n():{};return c(o,e,he(a,2),m)}}function vr(e){return Te(function(n,o){var a=-1,c=o.length,m=c>1?o[c-1]:i,b=c>2?o[2]:i;for(m=e.length>3&&typeof m=="function"?(c--,m):i,b&&St(o[0],o[1],b)&&(m=c<3?i:m,c=1),n=Ge(n);++a<c;){var w=o[a];w&&e(n,w,a,m)}return n})}function du(e,n){return function(o,a){if(o==null)return o;if(!kt(o))return e(o,a);for(var c=o.length,m=n?c:-1,b=Ge(o);(n?m--:++m<c)&&a(b[m],m,b)!==!1;);return o}}function hu(e){return function(n,o,a){for(var c=-1,m=Ge(n),b=a(n),w=b.length;w--;){var $=b[e?w:++c];if(o(m[$],$,m)===!1)break}return n}}function cp(e,n,o){var a=n&R,c=Gr(e);function m(){var b=this&&this!==mt&&this instanceof m?c:e;return b.apply(a?o:this,arguments)}return m}function pu(e){return function(n){n=Ne(n);var o=cr(n)?en(n):i,a=o?o[0]:n.charAt(0),c=o?Fn(o,1).join(""):n.slice(1);return a[e]()+c}}function yr(e){return function(n){return Yo(dc(fc(n).replace(e1,"")),e,"")}}function Gr(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 o=mr(e.prototype),a=e.apply(o,n);return rt(a)?a:o}}function fp(e,n,o){var a=Gr(e);function c(){for(var m=arguments.length,b=L(m),w=m,$=br(c);w--;)b[w]=arguments[w];var P=m<3&&b[0]!==$&&b[m-1]!==$?[]:Rn(b,$);if(m-=P.length,m<o)return bu(e,n,Vi,c.placeholder,i,b,P,i,i,o-m);var W=this&&this!==mt&&this instanceof c?a:e;return Ft(W,this,b)}return c}function gu(e){return function(n,o,a){var c=Ge(n);if(!kt(n)){var m=he(o,3);n=pt(n),o=function(w){return m(c[w],w,c)}}var b=e(n,o,a);return b>-1?c[m?n[b]:b]:i}}function mu(e){return vn(function(n){var o=n.length,a=o,c=Ut.prototype.thru;for(e&&n.reverse();a--;){var m=n[a];if(typeof m!="function")throw new Nt(f);if(c&&!b&&Gi(m)=="wrapper")var b=new Ut([],!0)}for(a=b?a:o;++a<o;){m=n[a];var w=Gi(m),$=w=="wrapper"?Ls(m):i;$&&Fs($[0])&&$[1]==(V|k|M|Q)&&!$[4].length&&$[9]==1?b=b[Gi($[0])].apply(b,$[3]):b=m.length==1&&Fs(m)?b[w]():b.thru(m)}return function(){var P=arguments,W=P[0];if(b&&P.length==1&&_e(W))return b.plant(W).value();for(var U=0,ne=o?n[U].apply(this,P):W;++U<o;)ne=n[U].call(this,ne);return ne}})}function Vi(e,n,o,a,c,m,b,w,$,P){var W=n&V,U=n&R,ne=n&I,ue=n&(k|O),ge=n&pe,$e=ne?i:Gr(e);function me(){for(var Le=arguments.length,Fe=L(Le),Pt=Le;Pt--;)Fe[Pt]=arguments[Pt];if(ue)var Et=br(me),Wt=C1(Fe,Et);if(a&&(Fe=cu(Fe,a,c,ue)),m&&(Fe=fu(Fe,m,b,ue)),Le-=Wt,ue&&Le<P){var ut=Rn(Fe,Et);return bu(e,n,Vi,me.placeholder,o,Fe,ut,w,$,P-Le)}var rn=U?o:this,wn=ne?rn[e]:e;return Le=Fe.length,w?Fe=Lp(Fe,w):ge&&Le>1&&Fe.reverse(),W&&$<Le&&(Fe.length=$),this&&this!==mt&&this instanceof me&&(wn=$e||Gr(wn)),wn.apply(rn,Fe)}return me}function vu(e,n){return function(o,a){return Ph(o,e,n(a),{})}}function Ni(e,n){return function(o,a){var c;if(o===i&&a===i)return n;if(o!==i&&(c=o),a!==i){if(c===i)return a;typeof o=="string"||typeof a=="string"?(o=jt(o),a=jt(a)):(o=nu(o),a=nu(a)),c=e(o,a)}return c}}function $s(e){return vn(function(n){return n=et(n,zt(he())),Te(function(o){var a=this;return e(n,function(c){return Ft(c,a,o)})})})}function Ui(e,n){n=n===i?" ":jt(n);var o=n.length;if(o<2)return o?xs(n,e):n;var a=xs(n,Oi(e/fr(n)));return cr(n)?Fn(en(a),0,e).join(""):a.slice(0,e)}function dp(e,n,o,a){var c=n&R,m=Gr(e);function b(){for(var w=-1,$=arguments.length,P=-1,W=a.length,U=L(W+$),ne=this&&this!==mt&&this instanceof b?m:e;++P<W;)U[P]=a[P];for(;$--;)U[P++]=arguments[++w];return Ft(ne,c?o:this,U)}return b}function yu(e){return function(n,o,a){return a&&typeof a!="number"&&St(n,o,a)&&(o=a=i),n=xn(n),o===i?(o=n,n=0):o=xn(o),a=a===i?n<o?1:-1:xn(a),Yh(n,o,a,e)}}function qi(e){return function(n,o){return typeof n=="string"&&typeof o=="string"||(n=Xt(n),o=Xt(o)),e(n,o)}}function bu(e,n,o,a,c,m,b,w,$,P){var W=n&k,U=W?b:i,ne=W?i:b,ue=W?m:i,ge=W?i:m;n|=W?M:N,n&=~(W?N:M),n&T||(n&=-4);var $e=[e,n,c,ue,U,ge,ne,w,$,P],me=o.apply(i,$e);return Fs(e)&&Lu(me,$e),me.placeholder=a,Ou(me,e,n)}function ks(e){var n=ft[e];return function(o,a){if(o=Xt(o),a=a==null?0:bt(Ae(a),292),a&&Ol(o)){var c=(Ne(o)+"e").split("e"),m=n(c[0]+"e"+(+c[1]+a));return c=(Ne(m)+"e").split("e"),+(c[0]+"e"+(+c[1]-a))}return n(o)}}var hp=pr&&1/_i(new pr([,-0]))[1]==oe?function(e){return new pr(e)}:Xs;function xu(e){return function(n){var o=xt(n);return o==Z?is(n):o==nt?R1(n):_1(n,e(n))}}function mn(e,n,o,a,c,m,b,w){var $=n&I;if(!$&&typeof e!="function")throw new Nt(f);var P=a?a.length:0;if(P||(n&=-97,a=c=i),b=b===i?b:dt(Ae(b),0),w=w===i?w:Ae(w),P-=c?c.length:0,n&N){var W=a,U=c;a=c=i}var ne=$?i:Ls(e),ue=[e,n,o,a,c,W,U,m,b,w];if(ne&&kp(ue,ne),e=ue[0],n=ue[1],o=ue[2],a=ue[3],c=ue[4],w=ue[9]=ue[9]===i?$?0:e.length:dt(ue[9]-P,0),!w&&n&(k|O)&&(n&=-25),!n||n==R)var ge=cp(e,n,o);else n==k||n==O?ge=fp(e,n,w):(n==M||n==(R|M))&&!c.length?ge=dp(e,n,o,a):ge=Vi.apply(i,ue);var $e=ne?eu:Lu;return Ou($e(ge,ue),e,n)}function wu(e,n,o,a){return e===i||nn(e,hr[o])&&!Ue.call(a,o)?n:e}function _u(e,n,o,a,c,m){return rt(e)&&rt(n)&&(m.set(n,e),Wi(e,n,i,_u,m),m.delete(n)),e}function pp(e){return Yr(e)?i:e}function Cu(e,n,o,a,c,m){var b=o&C,w=e.length,$=n.length;if(w!=$&&!(b&&$>w))return!1;var P=m.get(e),W=m.get(n);if(P&&W)return P==n&&W==e;var U=-1,ne=!0,ue=o&F?new Gn:i;for(m.set(e,n),m.set(n,e);++U<w;){var ge=e[U],$e=n[U];if(a)var me=b?a($e,ge,U,n,e,m):a(ge,$e,U,e,n,m);if(me!==i){if(me)continue;ne=!1;break}if(ue){if(!Qo(n,function(Le,Fe){if(!jr(ue,Fe)&&(ge===Le||c(ge,Le,o,a,m)))return ue.push(Fe)})){ne=!1;break}}else if(!(ge===$e||c(ge,$e,o,a,m))){ne=!1;break}}return m.delete(e),m.delete(n),ne}function gp(e,n,o,a,c,m,b){switch(o){case _t:if(e.byteLength!=n.byteLength||e.byteOffset!=n.byteOffset)return!1;e=e.buffer,n=n.buffer;case Qe:return!(e.byteLength!=n.byteLength||!m(new ki(e),new ki(n)));case de:case Se:case ie:return nn(+e,+n);case ye:return e.name==n.name&&e.message==n.message;case tt:case ot:return e==n+"";case Z:var w=is;case nt:var $=a&C;if(w||(w=_i),e.size!=n.size&&!$)return!1;var P=b.get(e);if(P)return P==n;a|=F,b.set(e,n);var W=Cu(w(e),w(n),a,c,m,b);return b.delete(e),W;case re:if(Hr)return Hr.call(e)==Hr.call(n)}return!1}function mp(e,n,o,a,c,m){var b=o&C,w=Ts(e),$=w.length,P=Ts(n),W=P.length;if($!=W&&!b)return!1;for(var U=$;U--;){var ne=w[U];if(!(b?ne in n:Ue.call(n,ne)))return!1}var ue=m.get(e),ge=m.get(n);if(ue&&ge)return ue==n&&ge==e;var $e=!0;m.set(e,n),m.set(n,e);for(var me=b;++U<$;){ne=w[U];var Le=e[ne],Fe=n[ne];if(a)var Pt=b?a(Fe,Le,ne,n,e,m):a(Le,Fe,ne,e,n,m);if(!(Pt===i?Le===Fe||c(Le,Fe,o,a,m):Pt)){$e=!1;break}me||(me=ne=="constructor")}if($e&&!me){var Et=e.constructor,Wt=n.constructor;Et!=Wt&&"constructor"in e&&"constructor"in n&&!(typeof Et=="function"&&Et instanceof Et&&typeof Wt=="function"&&Wt instanceof Wt)&&($e=!1)}return m.delete(e),m.delete(n),$e}function vn(e){return js(Tu(e,i,Bu),e+"")}function Ts(e){return Zl(e,pt,Is)}function Rs(e){return Zl(e,Tt,Su)}var Ls=Mi?function(e){return Mi.get(e)}:Xs;function Gi(e){for(var n=e.name+"",o=gr[n],a=Ue.call(gr,n)?o.length:0;a--;){var c=o[a],m=c.func;if(m==null||m==e)return c.name}return n}function br(e){var n=Ue.call(p,"placeholder")?p:e;return n.placeholder}function he(){var e=p.iteratee||Gs;return e=e===Gs?Ul:e,arguments.length?e(arguments[0],arguments[1]):e}function Ki(e,n){var o=e.__data__;return Sp(n)?o[typeof n=="string"?"string":"hash"]:o.map}function Os(e){for(var n=pt(e),o=n.length;o--;){var a=n[o],c=e[a];n[o]=[a,c,$u(c)]}return n}function Yn(e,n){var o=$1(e,n);return Nl(o)?o:i}function vp(e){var n=Ue.call(e,Un),o=e[Un];try{e[Un]=i;var a=!0}catch{}var c=Ai.call(e);return a&&(n?e[Un]=o:delete e[Un]),c}var Is=ss?function(e){return e==null?[]:(e=Ge(e),kn(ss(e),function(n){return Rl.call(e,n)}))}:Ys,Su=ss?function(e){for(var n=[];e;)Tn(n,Is(e)),e=Ti(e);return n}:Ys,xt=Ct;(as&&xt(new as(new ArrayBuffer(1)))!=_t||Pr&&xt(new Pr)!=Z||ls&&xt(ls.resolve())!=We||pr&&xt(new pr)!=nt||Wr&&xt(new Wr)!=Pe)&&(xt=function(e){var n=Ct(e),o=n==we?e.constructor:i,a=o?Qn(o):"";if(a)switch(a){case J1:return _t;case eh:return Z;case th:return We;case nh:return nt;case rh:return Pe}return n});function yp(e,n,o){for(var a=-1,c=o.length;++a<c;){var m=o[a],b=m.size;switch(m.type){case"drop":e+=b;break;case"dropRight":n-=b;break;case"take":n=bt(n,e+b);break;case"takeRight":e=dt(e,n-b);break}}return{start:e,end:n}}function bp(e){var n=e.match(E0);return n?n[1].split(A0):[]}function Eu(e,n,o){n=Mn(n,e);for(var a=-1,c=n.length,m=!1;++a<c;){var b=un(n[a]);if(!(m=e!=null&&o(e,b)))break;e=e[b]}return m||++a!=c?m:(c=e==null?0:e.length,!!c&&no(c)&&yn(b,c)&&(_e(e)||Jn(e)))}function xp(e){var n=e.length,o=new e.constructor(n);return n&&typeof e[0]=="string"&&Ue.call(e,"index")&&(o.index=e.index,o.input=e.input),o}function Au(e){return typeof e.constructor=="function"&&!Kr(e)?mr(Ti(e)):{}}function wp(e,n,o){var a=e.constructor;switch(n){case Qe:return As(e);case de:case Se:return new a(+e);case _t:return ip(e,o);case Vn:case Io:case Mo:case Fo:case zo:case jo:case Bo:case Po:case Wo:return lu(e,o);case Z:return new a;case ie:case ot:return new a(e);case tt:return op(e);case nt:return new a;case re:return sp(e)}}function _p(e,n){var o=n.length;if(!o)return e;var a=o-1;return n[a]=(o>1?"& ":"")+n[a],n=n.join(o>2?", ":" "),e.replace(S0,`{
9
+ /* [wrapped with `+n+`] */
10
+ `)}function Cp(e){return _e(e)||Jn(e)||!!(Ll&&e&&e[Ll])}function yn(e,n){var o=typeof e;return n=n??ee,!!n&&(o=="number"||o!="symbol"&&F0.test(e))&&e>-1&&e%1==0&&e<n}function St(e,n,o){if(!rt(o))return!1;var a=typeof n;return(a=="number"?kt(o)&&yn(n,o.length):a=="string"&&n in o)?nn(o[n],e):!1}function Ms(e,n){if(_e(e))return!1;var o=typeof e;return o=="number"||o=="symbol"||o=="boolean"||e==null||Bt(e)?!0:x0.test(e)||!b0.test(e)||n!=null&&e in Ge(n)}function Sp(e){var n=typeof e;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?e!=="__proto__":e===null}function Fs(e){var n=Gi(e),o=p[n];if(typeof o!="function"||!(n in Ie.prototype))return!1;if(e===o)return!0;var a=Ls(o);return!!a&&e===a[0]}function Ep(e){return!!$l&&$l in e}var Ap=Si?bn:Qs;function Kr(e){var n=e&&e.constructor,o=typeof n=="function"&&n.prototype||hr;return e===o}function $u(e){return e===e&&!rt(e)}function ku(e,n){return function(o){return o==null?!1:o[e]===n&&(n!==i||e in Ge(o))}}function $p(e){var n=eo(e,function(a){return o.size===v&&o.clear(),a}),o=n.cache;return n}function kp(e,n){var o=e[1],a=n[1],c=o|a,m=c<(R|I|V),b=a==V&&o==k||a==V&&o==Q&&e[7].length<=n[8]||a==(V|Q)&&n[7].length<=n[8]&&o==k;if(!(m||b))return e;a&R&&(e[2]=n[2],c|=o&R?0:T);var w=n[3];if(w){var $=e[3];e[3]=$?cu($,w,n[4]):w,e[4]=$?Rn(e[3],_):n[4]}return w=n[5],w&&($=e[5],e[5]=$?fu($,w,n[6]):w,e[6]=$?Rn(e[5],_):n[6]),w=n[7],w&&(e[7]=w),a&V&&(e[8]=e[8]==null?n[8]:bt(e[8],n[8])),e[9]==null&&(e[9]=n[9]),e[0]=n[0],e[1]=c,e}function Tp(e){var n=[];if(e!=null)for(var o in Ge(e))n.push(o);return n}function Rp(e){return Ai.call(e)}function Tu(e,n,o){return n=dt(n===i?e.length-1:n,0),function(){for(var a=arguments,c=-1,m=dt(a.length-n,0),b=L(m);++c<m;)b[c]=a[n+c];c=-1;for(var w=L(n+1);++c<n;)w[c]=a[c];return w[n]=o(b),Ft(e,this,w)}}function Ru(e,n){return n.length<2?e:Xn(e,Gt(n,0,-1))}function Lp(e,n){for(var o=e.length,a=bt(n.length,o),c=$t(e);a--;){var m=n[a];e[a]=yn(m,o)?c[m]:i}return e}function zs(e,n){if(!(n==="constructor"&&typeof e[n]=="function")&&n!="__proto__")return e[n]}var Lu=Iu(eu),Xr=U1||function(e,n){return mt.setTimeout(e,n)},js=Iu(ep);function Ou(e,n,o){var a=n+"";return js(e,_p(a,Op(bp(a),o)))}function Iu(e){var n=0,o=0;return function(){var a=X1(),c=j-(a-o);if(o=a,c>0){if(++n>=D)return arguments[0]}else n=0;return e.apply(i,arguments)}}function Xi(e,n){var o=-1,a=e.length,c=a-1;for(n=n===i?a:n;++o<n;){var m=bs(o,c),b=e[m];e[m]=e[o],e[o]=b}return e.length=n,e}var Mu=$p(function(e){var n=[];return e.charCodeAt(0)===46&&n.push(""),e.replace(w0,function(o,a,c,m){n.push(c?m.replace(T0,"$1"):a||o)}),n});function un(e){if(typeof e=="string"||Bt(e))return e;var n=e+"";return n=="0"&&1/e==-1/0?"-0":n}function Qn(e){if(e!=null){try{return Ei.call(e)}catch{}try{return e+""}catch{}}return""}function Op(e,n){return Vt(Ke,function(o){var a="_."+o[0];n&o[1]&&!xi(e,a)&&e.push(a)}),e.sort()}function Fu(e){if(e instanceof Ie)return e.clone();var n=new Ut(e.__wrapped__,e.__chain__);return n.__actions__=$t(e.__actions__),n.__index__=e.__index__,n.__values__=e.__values__,n}function Ip(e,n,o){(o?St(e,n,o):n===i)?n=1:n=dt(Ae(n),0);var a=e==null?0:e.length;if(!a||n<1)return[];for(var c=0,m=0,b=L(Oi(a/n));c<a;)b[m++]=Gt(e,c,c+=n);return b}function Mp(e){for(var n=-1,o=e==null?0:e.length,a=0,c=[];++n<o;){var m=e[n];m&&(c[a++]=m)}return c}function Fp(){var e=arguments.length;if(!e)return[];for(var n=L(e-1),o=arguments[0],a=e;a--;)n[a-1]=arguments[a];return Tn(_e(o)?$t(o):[o],vt(n,1))}var zp=Te(function(e,n){return lt(e)?Vr(e,vt(n,1,lt,!0)):[]}),jp=Te(function(e,n){var o=Kt(n);return lt(o)&&(o=i),lt(e)?Vr(e,vt(n,1,lt,!0),he(o,2)):[]}),Bp=Te(function(e,n){var o=Kt(n);return lt(o)&&(o=i),lt(e)?Vr(e,vt(n,1,lt,!0),i,o):[]});function Pp(e,n,o){var a=e==null?0:e.length;return a?(n=o||n===i?1:Ae(n),Gt(e,n<0?0:n,a)):[]}function Wp(e,n,o){var a=e==null?0:e.length;return a?(n=o||n===i?1:Ae(n),n=a-n,Gt(e,0,n<0?0:n)):[]}function Dp(e,n){return e&&e.length?Hi(e,he(n,3),!0,!0):[]}function Hp(e,n){return e&&e.length?Hi(e,he(n,3),!0):[]}function Zp(e,n,o,a){var c=e==null?0:e.length;return c?(o&&typeof o!="number"&&St(e,n,o)&&(o=0,a=c),Fh(e,n,o,a)):[]}function zu(e,n,o){var a=e==null?0:e.length;if(!a)return-1;var c=o==null?0:Ae(o);return c<0&&(c=dt(a+c,0)),wi(e,he(n,3),c)}function ju(e,n,o){var a=e==null?0:e.length;if(!a)return-1;var c=a-1;return o!==i&&(c=Ae(o),c=o<0?dt(a+c,0):bt(c,a-1)),wi(e,he(n,3),c,!0)}function Bu(e){var n=e==null?0:e.length;return n?vt(e,1):[]}function Vp(e){var n=e==null?0:e.length;return n?vt(e,oe):[]}function Np(e,n){var o=e==null?0:e.length;return o?(n=n===i?1:Ae(n),vt(e,n)):[]}function Up(e){for(var n=-1,o=e==null?0:e.length,a={};++n<o;){var c=e[n];a[c[0]]=c[1]}return a}function Pu(e){return e&&e.length?e[0]:i}function qp(e,n,o){var a=e==null?0:e.length;if(!a)return-1;var c=o==null?0:Ae(o);return c<0&&(c=dt(a+c,0)),ur(e,n,c)}function Gp(e){var n=e==null?0:e.length;return n?Gt(e,0,-1):[]}var Kp=Te(function(e){var n=et(e,Ss);return n.length&&n[0]===e[0]?ps(n):[]}),Xp=Te(function(e){var n=Kt(e),o=et(e,Ss);return n===Kt(o)?n=i:o.pop(),o.length&&o[0]===e[0]?ps(o,he(n,2)):[]}),Yp=Te(function(e){var n=Kt(e),o=et(e,Ss);return n=typeof n=="function"?n:i,n&&o.pop(),o.length&&o[0]===e[0]?ps(o,i,n):[]});function Qp(e,n){return e==null?"":G1.call(e,n)}function Kt(e){var n=e==null?0:e.length;return n?e[n-1]:i}function Jp(e,n,o){var a=e==null?0:e.length;if(!a)return-1;var c=a;return o!==i&&(c=Ae(o),c=c<0?dt(a+c,0):bt(c,a-1)),n===n?O1(e,n,c):wi(e,bl,c,!0)}function eg(e,n){return e&&e.length?Xl(e,Ae(n)):i}var tg=Te(Wu);function Wu(e,n){return e&&e.length&&n&&n.length?ys(e,n):e}function ng(e,n,o){return e&&e.length&&n&&n.length?ys(e,n,he(o,2)):e}function rg(e,n,o){return e&&e.length&&n&&n.length?ys(e,n,i,o):e}var ig=vn(function(e,n){var o=e==null?0:e.length,a=cs(e,n);return Jl(e,et(n,function(c){return yn(c,o)?+c:c}).sort(uu)),a});function og(e,n){var o=[];if(!(e&&e.length))return o;var a=-1,c=[],m=e.length;for(n=he(n,3);++a<m;){var b=e[a];n(b,a,e)&&(o.push(b),c.push(a))}return Jl(e,c),o}function Bs(e){return e==null?e:Q1.call(e)}function sg(e,n,o){var a=e==null?0:e.length;return a?(o&&typeof o!="number"&&St(e,n,o)?(n=0,o=a):(n=n==null?0:Ae(n),o=o===i?a:Ae(o)),Gt(e,n,o)):[]}function ag(e,n){return Di(e,n)}function lg(e,n,o){return ws(e,n,he(o,2))}function ug(e,n){var o=e==null?0:e.length;if(o){var a=Di(e,n);if(a<o&&nn(e[a],n))return a}return-1}function cg(e,n){return Di(e,n,!0)}function fg(e,n,o){return ws(e,n,he(o,2),!0)}function dg(e,n){var o=e==null?0:e.length;if(o){var a=Di(e,n,!0)-1;if(nn(e[a],n))return a}return-1}function hg(e){return e&&e.length?tu(e):[]}function pg(e,n){return e&&e.length?tu(e,he(n,2)):[]}function gg(e){var n=e==null?0:e.length;return n?Gt(e,1,n):[]}function mg(e,n,o){return e&&e.length?(n=o||n===i?1:Ae(n),Gt(e,0,n<0?0:n)):[]}function vg(e,n,o){var a=e==null?0:e.length;return a?(n=o||n===i?1:Ae(n),n=a-n,Gt(e,n<0?0:n,a)):[]}function yg(e,n){return e&&e.length?Hi(e,he(n,3),!1,!0):[]}function bg(e,n){return e&&e.length?Hi(e,he(n,3)):[]}var xg=Te(function(e){return In(vt(e,1,lt,!0))}),wg=Te(function(e){var n=Kt(e);return lt(n)&&(n=i),In(vt(e,1,lt,!0),he(n,2))}),_g=Te(function(e){var n=Kt(e);return n=typeof n=="function"?n:i,In(vt(e,1,lt,!0),i,n)});function Cg(e){return e&&e.length?In(e):[]}function Sg(e,n){return e&&e.length?In(e,he(n,2)):[]}function Eg(e,n){return n=typeof n=="function"?n:i,e&&e.length?In(e,i,n):[]}function Ps(e){if(!(e&&e.length))return[];var n=0;return e=kn(e,function(o){if(lt(o))return n=dt(o.length,n),!0}),ns(n,function(o){return et(e,Jo(o))})}function Du(e,n){if(!(e&&e.length))return[];var o=Ps(e);return n==null?o:et(o,function(a){return Ft(n,i,a)})}var Ag=Te(function(e,n){return lt(e)?Vr(e,n):[]}),$g=Te(function(e){return Cs(kn(e,lt))}),kg=Te(function(e){var n=Kt(e);return lt(n)&&(n=i),Cs(kn(e,lt),he(n,2))}),Tg=Te(function(e){var n=Kt(e);return n=typeof n=="function"?n:i,Cs(kn(e,lt),i,n)}),Rg=Te(Ps);function Lg(e,n){return ou(e||[],n||[],Zr)}function Og(e,n){return ou(e||[],n||[],qr)}var Ig=Te(function(e){var n=e.length,o=n>1?e[n-1]:i;return o=typeof o=="function"?(e.pop(),o):i,Du(e,o)});function Hu(e){var n=p(e);return n.__chain__=!0,n}function Mg(e,n){return n(e),e}function Yi(e,n){return n(e)}var Fg=vn(function(e){var n=e.length,o=n?e[0]:0,a=this.__wrapped__,c=function(m){return cs(m,e)};return n>1||this.__actions__.length||!(a instanceof Ie)||!yn(o)?this.thru(c):(a=a.slice(o,+o+(n?1:0)),a.__actions__.push({func:Yi,args:[c],thisArg:i}),new Ut(a,this.__chain__).thru(function(m){return n&&!m.length&&m.push(i),m}))});function zg(){return Hu(this)}function jg(){return new Ut(this.value(),this.__chain__)}function Bg(){this.__values__===i&&(this.__values__=nc(this.value()));var e=this.__index__>=this.__values__.length,n=e?i:this.__values__[this.__index__++];return{done:e,value:n}}function Pg(){return this}function Wg(e){for(var n,o=this;o instanceof zi;){var a=Fu(o);a.__index__=0,a.__values__=i,n?c.__wrapped__=a:n=a;var c=a;o=o.__wrapped__}return c.__wrapped__=e,n}function Dg(){var e=this.__wrapped__;if(e instanceof Ie){var n=e;return this.__actions__.length&&(n=new Ie(this)),n=n.reverse(),n.__actions__.push({func:Yi,args:[Bs],thisArg:i}),new Ut(n,this.__chain__)}return this.thru(Bs)}function Hg(){return iu(this.__wrapped__,this.__actions__)}var Zg=Zi(function(e,n,o){Ue.call(e,o)?++e[o]:gn(e,o,1)});function Vg(e,n,o){var a=_e(e)?vl:Mh;return o&&St(e,n,o)&&(n=i),a(e,he(n,3))}function Ng(e,n){var o=_e(e)?kn:Dl;return o(e,he(n,3))}var Ug=gu(zu),qg=gu(ju);function Gg(e,n){return vt(Qi(e,n),1)}function Kg(e,n){return vt(Qi(e,n),oe)}function Xg(e,n,o){return o=o===i?1:Ae(o),vt(Qi(e,n),o)}function Zu(e,n){var o=_e(e)?Vt:On;return o(e,he(n,3))}function Vu(e,n){var o=_e(e)?g1:Wl;return o(e,he(n,3))}var Yg=Zi(function(e,n,o){Ue.call(e,o)?e[o].push(n):gn(e,o,[n])});function Qg(e,n,o,a){e=kt(e)?e:wr(e),o=o&&!a?Ae(o):0;var c=e.length;return o<0&&(o=dt(c+o,0)),ro(e)?o<=c&&e.indexOf(n,o)>-1:!!c&&ur(e,n,o)>-1}var Jg=Te(function(e,n,o){var a=-1,c=typeof n=="function",m=kt(e)?L(e.length):[];return On(e,function(b){m[++a]=c?Ft(n,b,o):Nr(b,n,o)}),m}),em=Zi(function(e,n,o){gn(e,o,n)});function Qi(e,n){var o=_e(e)?et:ql;return o(e,he(n,3))}function tm(e,n,o,a){return e==null?[]:(_e(n)||(n=n==null?[]:[n]),o=a?i:o,_e(o)||(o=o==null?[]:[o]),Yl(e,n,o))}var nm=Zi(function(e,n,o){e[o?0:1].push(n)},function(){return[[],[]]});function rm(e,n,o){var a=_e(e)?Yo:wl,c=arguments.length<3;return a(e,he(n,4),o,c,On)}function im(e,n,o){var a=_e(e)?m1:wl,c=arguments.length<3;return a(e,he(n,4),o,c,Wl)}function om(e,n){var o=_e(e)?kn:Dl;return o(e,to(he(n,3)))}function sm(e){var n=_e(e)?zl:Qh;return n(e)}function am(e,n,o){(o?St(e,n,o):n===i)?n=1:n=Ae(n);var a=_e(e)?Th:Jh;return a(e,n)}function lm(e){var n=_e(e)?Rh:tp;return n(e)}function um(e){if(e==null)return 0;if(kt(e))return ro(e)?fr(e):e.length;var n=xt(e);return n==Z||n==nt?e.size:ms(e).length}function cm(e,n,o){var a=_e(e)?Qo:np;return o&&St(e,n,o)&&(n=i),a(e,he(n,3))}var fm=Te(function(e,n){if(e==null)return[];var o=n.length;return o>1&&St(e,n[0],n[1])?n=[]:o>2&&St(n[0],n[1],n[2])&&(n=[n[0]]),Yl(e,vt(n,1),[])}),Ji=N1||function(){return mt.Date.now()};function dm(e,n){if(typeof n!="function")throw new Nt(f);return e=Ae(e),function(){if(--e<1)return n.apply(this,arguments)}}function Nu(e,n,o){return n=o?i:n,n=e&&n==null?e.length:n,mn(e,V,i,i,i,i,n)}function Uu(e,n){var o;if(typeof n!="function")throw new Nt(f);return e=Ae(e),function(){return--e>0&&(o=n.apply(this,arguments)),e<=1&&(n=i),o}}var Ws=Te(function(e,n,o){var a=R;if(o.length){var c=Rn(o,br(Ws));a|=M}return mn(e,a,n,o,c)}),qu=Te(function(e,n,o){var a=R|I;if(o.length){var c=Rn(o,br(qu));a|=M}return mn(n,a,e,o,c)});function Gu(e,n,o){n=o?i:n;var a=mn(e,k,i,i,i,i,i,n);return a.placeholder=Gu.placeholder,a}function Ku(e,n,o){n=o?i:n;var a=mn(e,O,i,i,i,i,i,n);return a.placeholder=Ku.placeholder,a}function Xu(e,n,o){var a,c,m,b,w,$,P=0,W=!1,U=!1,ne=!0;if(typeof e!="function")throw new Nt(f);n=Xt(n)||0,rt(o)&&(W=!!o.leading,U="maxWait"in o,m=U?dt(Xt(o.maxWait)||0,n):m,ne="trailing"in o?!!o.trailing:ne);function ue(ut){var rn=a,wn=c;return a=c=i,P=ut,b=e.apply(wn,rn),b}function ge(ut){return P=ut,w=Xr(Le,n),W?ue(ut):b}function $e(ut){var rn=ut-$,wn=ut-P,gc=n-rn;return U?bt(gc,m-wn):gc}function me(ut){var rn=ut-$,wn=ut-P;return $===i||rn>=n||rn<0||U&&wn>=m}function Le(){var ut=Ji();if(me(ut))return Fe(ut);w=Xr(Le,$e(ut))}function Fe(ut){return w=i,ne&&a?ue(ut):(a=c=i,b)}function Pt(){w!==i&&su(w),P=0,a=$=c=w=i}function Et(){return w===i?b:Fe(Ji())}function Wt(){var ut=Ji(),rn=me(ut);if(a=arguments,c=this,$=ut,rn){if(w===i)return ge($);if(U)return su(w),w=Xr(Le,n),ue($)}return w===i&&(w=Xr(Le,n)),b}return Wt.cancel=Pt,Wt.flush=Et,Wt}var hm=Te(function(e,n){return Pl(e,1,n)}),pm=Te(function(e,n,o){return Pl(e,Xt(n)||0,o)});function gm(e){return mn(e,pe)}function eo(e,n){if(typeof e!="function"||n!=null&&typeof n!="function")throw new Nt(f);var o=function(){var a=arguments,c=n?n.apply(this,a):a[0],m=o.cache;if(m.has(c))return m.get(c);var b=e.apply(this,a);return o.cache=m.set(c,b)||m,b};return o.cache=new(eo.Cache||pn),o}eo.Cache=pn;function to(e){if(typeof e!="function")throw new Nt(f);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 mm(e){return Uu(2,e)}var vm=rp(function(e,n){n=n.length==1&&_e(n[0])?et(n[0],zt(he())):et(vt(n,1),zt(he()));var o=n.length;return Te(function(a){for(var c=-1,m=bt(a.length,o);++c<m;)a[c]=n[c].call(this,a[c]);return Ft(e,this,a)})}),Ds=Te(function(e,n){var o=Rn(n,br(Ds));return mn(e,M,i,n,o)}),Yu=Te(function(e,n){var o=Rn(n,br(Yu));return mn(e,N,i,n,o)}),ym=vn(function(e,n){return mn(e,Q,i,i,i,n)});function bm(e,n){if(typeof e!="function")throw new Nt(f);return n=n===i?n:Ae(n),Te(e,n)}function xm(e,n){if(typeof e!="function")throw new Nt(f);return n=n==null?0:dt(Ae(n),0),Te(function(o){var a=o[n],c=Fn(o,0,n);return a&&Tn(c,a),Ft(e,this,c)})}function wm(e,n,o){var a=!0,c=!0;if(typeof e!="function")throw new Nt(f);return rt(o)&&(a="leading"in o?!!o.leading:a,c="trailing"in o?!!o.trailing:c),Xu(e,n,{leading:a,maxWait:n,trailing:c})}function _m(e){return Nu(e,1)}function Cm(e,n){return Ds(Es(n),e)}function Sm(){if(!arguments.length)return[];var e=arguments[0];return _e(e)?e:[e]}function Em(e){return qt(e,x)}function Am(e,n){return n=typeof n=="function"?n:i,qt(e,x,n)}function $m(e){return qt(e,S|x)}function km(e,n){return n=typeof n=="function"?n:i,qt(e,S|x,n)}function Tm(e,n){return n==null||Bl(e,n,pt(n))}function nn(e,n){return e===n||e!==e&&n!==n}var Rm=qi(hs),Lm=qi(function(e,n){return e>=n}),Jn=Vl(function(){return arguments}())?Vl:function(e){return st(e)&&Ue.call(e,"callee")&&!Rl.call(e,"callee")},_e=L.isArray,Om=fl?zt(fl):Wh;function kt(e){return e!=null&&no(e.length)&&!bn(e)}function lt(e){return st(e)&&kt(e)}function Im(e){return e===!0||e===!1||st(e)&&Ct(e)==de}var zn=q1||Qs,Mm=dl?zt(dl):Dh;function Fm(e){return st(e)&&e.nodeType===1&&!Yr(e)}function zm(e){if(e==null)return!0;if(kt(e)&&(_e(e)||typeof e=="string"||typeof e.splice=="function"||zn(e)||xr(e)||Jn(e)))return!e.length;var n=xt(e);if(n==Z||n==nt)return!e.size;if(Kr(e))return!ms(e).length;for(var o in e)if(Ue.call(e,o))return!1;return!0}function jm(e,n){return Ur(e,n)}function Bm(e,n,o){o=typeof o=="function"?o:i;var a=o?o(e,n):i;return a===i?Ur(e,n,i,o):!!a}function Hs(e){if(!st(e))return!1;var n=Ct(e);return n==ye||n==Re||typeof e.message=="string"&&typeof e.name=="string"&&!Yr(e)}function Pm(e){return typeof e=="number"&&Ol(e)}function bn(e){if(!rt(e))return!1;var n=Ct(e);return n==J||n==ce||n==it||n==Xe}function Qu(e){return typeof e=="number"&&e==Ae(e)}function no(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=ee}function rt(e){var n=typeof e;return e!=null&&(n=="object"||n=="function")}function st(e){return e!=null&&typeof e=="object"}var Ju=hl?zt(hl):Zh;function Wm(e,n){return e===n||gs(e,n,Os(n))}function Dm(e,n,o){return o=typeof o=="function"?o:i,gs(e,n,Os(n),o)}function Hm(e){return ec(e)&&e!=+e}function Zm(e){if(Ap(e))throw new be(u);return Nl(e)}function Vm(e){return e===null}function Nm(e){return e==null}function ec(e){return typeof e=="number"||st(e)&&Ct(e)==ie}function Yr(e){if(!st(e)||Ct(e)!=we)return!1;var n=Ti(e);if(n===null)return!0;var o=Ue.call(n,"constructor")&&n.constructor;return typeof o=="function"&&o instanceof o&&Ei.call(o)==D1}var Zs=pl?zt(pl):Vh;function Um(e){return Qu(e)&&e>=-9007199254740991&&e<=ee}var tc=gl?zt(gl):Nh;function ro(e){return typeof e=="string"||!_e(e)&&st(e)&&Ct(e)==ot}function Bt(e){return typeof e=="symbol"||st(e)&&Ct(e)==re}var xr=ml?zt(ml):Uh;function qm(e){return e===i}function Gm(e){return st(e)&&xt(e)==Pe}function Km(e){return st(e)&&Ct(e)==He}var Xm=qi(vs),Ym=qi(function(e,n){return e<=n});function nc(e){if(!e)return[];if(kt(e))return ro(e)?en(e):$t(e);if(Br&&e[Br])return T1(e[Br]());var n=xt(e),o=n==Z?is:n==nt?_i:wr;return o(e)}function xn(e){if(!e)return e===0?e:0;if(e=Xt(e),e===oe||e===-1/0){var n=e<0?-1:1;return n*ve}return e===e?e:0}function Ae(e){var n=xn(e),o=n%1;return n===n?o?n-o:n:0}function rc(e){return e?Kn(Ae(e),0,ke):0}function Xt(e){if(typeof e=="number")return e;if(Bt(e))return je;if(rt(e)){var n=typeof e.valueOf=="function"?e.valueOf():e;e=rt(n)?n+"":n}if(typeof e!="string")return e===0?e:+e;e=_l(e);var o=O0.test(e);return o||M0.test(e)?d1(e.slice(2),o?2:8):L0.test(e)?je:+e}function ic(e){return ln(e,Tt(e))}function Qm(e){return e?Kn(Ae(e),-9007199254740991,ee):e===0?e:0}function Ne(e){return e==null?"":jt(e)}var Jm=vr(function(e,n){if(Kr(n)||kt(n)){ln(n,pt(n),e);return}for(var o in n)Ue.call(n,o)&&Zr(e,o,n[o])}),oc=vr(function(e,n){ln(n,Tt(n),e)}),io=vr(function(e,n,o,a){ln(n,Tt(n),e,a)}),e2=vr(function(e,n,o,a){ln(n,pt(n),e,a)}),t2=vn(cs);function n2(e,n){var o=mr(e);return n==null?o:jl(o,n)}var r2=Te(function(e,n){e=Ge(e);var o=-1,a=n.length,c=a>2?n[2]:i;for(c&&St(n[0],n[1],c)&&(a=1);++o<a;)for(var m=n[o],b=Tt(m),w=-1,$=b.length;++w<$;){var P=b[w],W=e[P];(W===i||nn(W,hr[P])&&!Ue.call(e,P))&&(e[P]=m[P])}return e}),i2=Te(function(e){return e.push(i,_u),Ft(sc,i,e)});function o2(e,n){return yl(e,he(n,3),an)}function s2(e,n){return yl(e,he(n,3),ds)}function a2(e,n){return e==null?e:fs(e,he(n,3),Tt)}function l2(e,n){return e==null?e:Hl(e,he(n,3),Tt)}function u2(e,n){return e&&an(e,he(n,3))}function c2(e,n){return e&&ds(e,he(n,3))}function f2(e){return e==null?[]:Pi(e,pt(e))}function d2(e){return e==null?[]:Pi(e,Tt(e))}function Vs(e,n,o){var a=e==null?i:Xn(e,n);return a===i?o:a}function h2(e,n){return e!=null&&Eu(e,n,zh)}function Ns(e,n){return e!=null&&Eu(e,n,jh)}var p2=vu(function(e,n,o){n!=null&&typeof n.toString!="function"&&(n=Ai.call(n)),e[n]=o},qs(Rt)),g2=vu(function(e,n,o){n!=null&&typeof n.toString!="function"&&(n=Ai.call(n)),Ue.call(e,n)?e[n].push(o):e[n]=[o]},he),m2=Te(Nr);function pt(e){return kt(e)?Fl(e):ms(e)}function Tt(e){return kt(e)?Fl(e,!0):qh(e)}function v2(e,n){var o={};return n=he(n,3),an(e,function(a,c,m){gn(o,n(a,c,m),a)}),o}function y2(e,n){var o={};return n=he(n,3),an(e,function(a,c,m){gn(o,c,n(a,c,m))}),o}var b2=vr(function(e,n,o){Wi(e,n,o)}),sc=vr(function(e,n,o,a){Wi(e,n,o,a)}),x2=vn(function(e,n){var o={};if(e==null)return o;var a=!1;n=et(n,function(m){return m=Mn(m,e),a||(a=m.length>1),m}),ln(e,Rs(e),o),a&&(o=qt(o,S|E|x,pp));for(var c=n.length;c--;)_s(o,n[c]);return o});function w2(e,n){return ac(e,to(he(n)))}var _2=vn(function(e,n){return e==null?{}:Kh(e,n)});function ac(e,n){if(e==null)return{};var o=et(Rs(e),function(a){return[a]});return n=he(n),Ql(e,o,function(a,c){return n(a,c[0])})}function C2(e,n,o){n=Mn(n,e);var a=-1,c=n.length;for(c||(c=1,e=i);++a<c;){var m=e==null?i:e[un(n[a])];m===i&&(a=c,m=o),e=bn(m)?m.call(e):m}return e}function S2(e,n,o){return e==null?e:qr(e,n,o)}function E2(e,n,o,a){return a=typeof a=="function"?a:i,e==null?e:qr(e,n,o,a)}var lc=xu(pt),uc=xu(Tt);function A2(e,n,o){var a=_e(e),c=a||zn(e)||xr(e);if(n=he(n,4),o==null){var m=e&&e.constructor;c?o=a?new m:[]:rt(e)?o=bn(m)?mr(Ti(e)):{}:o={}}return(c?Vt:an)(e,function(b,w,$){return n(o,b,w,$)}),o}function $2(e,n){return e==null?!0:_s(e,n)}function k2(e,n,o){return e==null?e:ru(e,n,Es(o))}function T2(e,n,o,a){return a=typeof a=="function"?a:i,e==null?e:ru(e,n,Es(o),a)}function wr(e){return e==null?[]:rs(e,pt(e))}function R2(e){return e==null?[]:rs(e,Tt(e))}function L2(e,n,o){return o===i&&(o=n,n=i),o!==i&&(o=Xt(o),o=o===o?o:0),n!==i&&(n=Xt(n),n=n===n?n:0),Kn(Xt(e),n,o)}function O2(e,n,o){return n=xn(n),o===i?(o=n,n=0):o=xn(o),e=Xt(e),Bh(e,n,o)}function I2(e,n,o){if(o&&typeof o!="boolean"&&St(e,n,o)&&(n=o=i),o===i&&(typeof n=="boolean"?(o=n,n=i):typeof e=="boolean"&&(o=e,e=i)),e===i&&n===i?(e=0,n=1):(e=xn(e),n===i?(n=e,e=0):n=xn(n)),e>n){var a=e;e=n,n=a}if(o||e%1||n%1){var c=Il();return bt(e+c*(n-e+f1("1e-"+((c+"").length-1))),n)}return bs(e,n)}var M2=yr(function(e,n,o){return n=n.toLowerCase(),e+(o?cc(n):n)});function cc(e){return Us(Ne(e).toLowerCase())}function fc(e){return e=Ne(e),e&&e.replace(z0,S1).replace(t1,"")}function F2(e,n,o){e=Ne(e),n=jt(n);var a=e.length;o=o===i?a:Kn(Ae(o),0,a);var c=o;return o-=n.length,o>=0&&e.slice(o,c)==n}function z2(e){return e=Ne(e),e&&m0.test(e)?e.replace(Ha,E1):e}function j2(e){return e=Ne(e),e&&_0.test(e)?e.replace(Do,"\\$&"):e}var B2=yr(function(e,n,o){return e+(o?"-":"")+n.toLowerCase()}),P2=yr(function(e,n,o){return e+(o?" ":"")+n.toLowerCase()}),W2=pu("toLowerCase");function D2(e,n,o){e=Ne(e),n=Ae(n);var a=n?fr(e):0;if(!n||a>=n)return e;var c=(n-a)/2;return Ui(Ii(c),o)+e+Ui(Oi(c),o)}function H2(e,n,o){e=Ne(e),n=Ae(n);var a=n?fr(e):0;return n&&a<n?e+Ui(n-a,o):e}function Z2(e,n,o){e=Ne(e),n=Ae(n);var a=n?fr(e):0;return n&&a<n?Ui(n-a,o)+e:e}function V2(e,n,o){return o||n==null?n=0:n&&(n=+n),Y1(Ne(e).replace(Ho,""),n||0)}function N2(e,n,o){return(o?St(e,n,o):n===i)?n=1:n=Ae(n),xs(Ne(e),n)}function U2(){var e=arguments,n=Ne(e[0]);return e.length<3?n:n.replace(e[1],e[2])}var q2=yr(function(e,n,o){return e+(o?"_":"")+n.toLowerCase()});function G2(e,n,o){return o&&typeof o!="number"&&St(e,n,o)&&(n=o=i),o=o===i?ke:o>>>0,o?(e=Ne(e),e&&(typeof n=="string"||n!=null&&!Zs(n))&&(n=jt(n),!n&&cr(e))?Fn(en(e),0,o):e.split(n,o)):[]}var K2=yr(function(e,n,o){return e+(o?" ":"")+Us(n)});function X2(e,n,o){return e=Ne(e),o=o==null?0:Kn(Ae(o),0,e.length),n=jt(n),e.slice(o,o+n.length)==n}function Y2(e,n,o){var a=p.templateSettings;o&&St(e,n,o)&&(n=i),e=Ne(e),n=io({},n,a,wu);var c=io({},n.imports,a.imports,wu),m=pt(c),b=rs(c,m),w,$,P=0,W=n.interpolate||vi,U="__p += '",ne=os((n.escape||vi).source+"|"+W.source+"|"+(W===Za?R0:vi).source+"|"+(n.evaluate||vi).source+"|$","g"),ue="//# sourceURL="+(Ue.call(n,"sourceURL")?(n.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++s1+"]")+`
11
+ `;e.replace(ne,function(me,Le,Fe,Pt,Et,Wt){return Fe||(Fe=Pt),U+=e.slice(P,Wt).replace(j0,A1),Le&&(w=!0,U+=`' +
12
12
  __e(`+Le+`) +
13
- '`),St&&($=!0,V+=`';
14
- `+St+`;
15
- __p += '`),Fe&&(V+=`' +
13
+ '`),Et&&($=!0,U+=`';
14
+ `+Et+`;
15
+ __p += '`),Fe&&(U+=`' +
16
16
  ((__t = (`+Fe+`)) == null ? '' : __t) +
17
- '`),B=Wt+me.length,me}),V+=`';
18
- `;var ge=Ue.call(t,"variable")&&t.variable;if(!ge)V=`with (obj) {
19
- `+V+`
17
+ '`),P=Wt+me.length,me}),U+=`';
18
+ `;var ge=Ue.call(n,"variable")&&n.variable;if(!ge)U=`with (obj) {
19
+ `+U+`
20
20
  }
21
- `;else if(S0.test(ge))throw new be(d);V=($?V.replace(l0,""):V).replace(u0,"$1").replace(c0,"$1;"),V="function("+(ge||"obj")+`) {
21
+ `;else if(k0.test(ge))throw new be(h);U=($?U.replace(d0,""):U).replace(h0,"$1").replace(p0,"$1;"),U="function("+(ge||"obj")+`) {
22
22
  `+(ge?"":`obj || (obj = {});
23
- `)+"var __t, __p = ''"+(x?", __e = _.escape":"")+($?`, __j = Array.prototype.join;
23
+ `)+"var __t, __p = ''"+(w?", __e = _.escape":"")+($?`, __j = Array.prototype.join;
24
24
  function print() { __p += __j.call(arguments, '') }
25
25
  `:`;
26
- `)+V+`return __p
27
- }`;var $e=hc(function(){return Ze(m,ue+"return "+V).apply(i,b)});if($e.source=V,Ds($e))throw $e;return $e}function G2(e){return Ve(e).toLowerCase()}function K2(e){return Ve(e).toUpperCase()}function X2(e,t,o){if(e=Ve(e),e&&(o||t===i))return _l(e);if(!e||!(t=jt(t)))return e;var a=en(e),c=en(t),m=Cl(a,c),b=Sl(a,c)+1;return Fn(a,m,b).join("")}function Y2(e,t,o){if(e=Ve(e),e&&(o||t===i))return e.slice(0,Al(e)+1);if(!e||!(t=jt(t)))return e;var a=en(e),c=Sl(a,en(t))+1;return Fn(a,0,c).join("")}function Q2(e,t,o){if(e=Ve(e),e&&(o||t===i))return e.replace(Do,"");if(!e||!(t=jt(t)))return e;var a=en(e),c=Cl(a,en(t));return Fn(a,c).join("")}function J2(e,t){var o=Ce,a=Me;if(rt(t)){var c="separator"in t?t.separator:c;o="length"in t?Ae(t.length):o,a="omission"in t?jt(t.omission):a}e=Ve(e);var m=e.length;if(cr(e)){var b=en(e);m=b.length}if(o>=m)return e;var x=o-fr(a);if(x<1)return a;var $=b?Fn(b,0,x).join(""):e.slice(0,x);if(c===i)return $+a;if(b&&(x+=$.length-x),Hs(c)){if(e.slice(x).search(c)){var B,W=$;for(c.global||(c=is(c.source,Ve(Na.exec(c))+"g")),c.lastIndex=0;B=c.exec(W);)var V=B.index;$=$.slice(0,V===i?x:V)}}else if(e.indexOf(jt(c),x)!=x){var ne=$.lastIndexOf(c);ne>-1&&($=$.slice(0,ne))}return $+a}function ev(e){return e=Ve(e),e&&f0.test(e)?e.replace(Da,T1):e}var tv=yr(function(e,t,o){return e+(o?" ":"")+t.toUpperCase()}),Vs=pu("toUpperCase");function dc(e,t,o){return e=Ve(e),t=o?i:t,t===i?S1(e)?I1(e):g1(e):e.match(t)||[]}var hc=Te(function(e,t){try{return Ft(e,i,t)}catch(o){return Ds(o)?o:new be(o)}}),nv=mn(function(e,t){return Zt(t,function(o){o=un(o),pn(e,o,Ps(e[o],e))}),e});function rv(e){var t=e==null?0:e.length,o=he();return e=t?et(e,function(a){if(typeof a[1]!="function")throw new Nt(f);return[o(a[0]),a[1]]}):[],Te(function(a){for(var c=-1;++c<t;){var m=e[c];if(Ft(m[0],this,a))return Ft(m[1],this,a)}})}function iv(e){return Th(Ut(e,S))}function Us(e){return function(){return e}}function ov(e,t){return e==null||e!==e?t:e}var sv=mu(),av=mu(!0);function Rt(e){return e}function qs(e){return Ul(typeof e=="function"?e:Ut(e,S))}function lv(e){return Gl(Ut(e,S))}function uv(e,t){return Kl(e,Ut(t,S))}var cv=Te(function(e,t){return function(o){return Nr(o,e,t)}}),fv=Te(function(e,t){return function(o){return Nr(e,o,t)}});function Gs(e,t,o){var a=pt(t),c=Bi(t,a);o==null&&!(rt(t)&&(c.length||!a.length))&&(o=t,t=e,e=this,c=Bi(t,pt(t)));var m=!(rt(o)&&"chain"in o)||!!o.chain,b=yn(e);return Zt(c,function(x){var $=t[x];e[x]=$,b&&(e.prototype[x]=function(){var B=this.__chain__;if(m||B){var W=e(this.__wrapped__),V=W.__actions__=$t(this.__actions__);return V.push({func:$,args:arguments,thisArg:e}),W.__chain__=B,W}return $.apply(e,Tn([this.value()],arguments))})}),e}function dv(){return mt._===this&&(mt._=B1),this}function Ks(){}function hv(e){return e=Ae(e),Te(function(t){return Xl(t,e)})}var pv=As(et),gv=As(vl),mv=As(Yo);function pc(e){return Os(e)?Qo(un(e)):Uh(e)}function vv(e){return function(t){return e==null?i:Xn(e,t)}}var yv=yu(),bv=yu(!0);function Xs(){return[]}function Ys(){return!1}function wv(){return{}}function xv(){return""}function _v(){return!0}function Cv(e,t){if(e=Ae(e),e<1||e>ee)return[];var o=ke,a=yt(e,ke);t=he(t),e-=ke;for(var c=ts(a,t);++o<e;)t(o);return c}function Sv(e){return xe(e)?et(e,un):Bt(e)?[e]:$t(Mu(Ve(e)))}function Ev(e){var t=++z1;return Ve(e)+t}var Av=Ni(function(e,t){return e+t},0),$v=$s("ceil"),kv=Ni(function(e,t){return e/t},1),Tv=$s("floor");function Rv(e){return e&&e.length?ji(e,Rt,ds):i}function Lv(e,t){return e&&e.length?ji(e,he(t,2),ds):i}function Iv(e){return wl(e,Rt)}function Ov(e,t){return wl(e,he(t,2))}function Mv(e){return e&&e.length?ji(e,Rt,ms):i}function Fv(e,t){return e&&e.length?ji(e,he(t,2),ms):i}var zv=Ni(function(e,t){return e*t},1),jv=$s("round"),Bv=Ni(function(e,t){return e-t},0);function Pv(e){return e&&e.length?es(e,Rt):0}function Wv(e,t){return e&&e.length?es(e,he(t,2)):0}return p.after=lm,p.ary=Vu,p.assign=Km,p.assignIn=oc,p.assignInWith=ro,p.assignWith=Xm,p.at=Ym,p.before=Uu,p.bind=Ps,p.bindAll=nv,p.bindKey=qu,p.castArray=wm,p.chain=Hu,p.chunk=Tp,p.compact=Rp,p.concat=Lp,p.cond=rv,p.conforms=iv,p.constant=Us,p.countBy=Pg,p.create=Qm,p.curry=Gu,p.curryRight=Ku,p.debounce=Xu,p.defaults=Jm,p.defaultsDeep=e2,p.defer=um,p.delay=cm,p.difference=Ip,p.differenceBy=Op,p.differenceWith=Mp,p.drop=Fp,p.dropRight=zp,p.dropRightWhile=jp,p.dropWhile=Bp,p.fill=Pp,p.filter=Dg,p.flatMap=Ng,p.flatMapDeep=Vg,p.flatMapDepth=Ug,p.flatten=Bu,p.flattenDeep=Wp,p.flattenDepth=Dp,p.flip=fm,p.flow=sv,p.flowRight=av,p.fromPairs=Hp,p.functions=a2,p.functionsIn=l2,p.groupBy=qg,p.initial=Np,p.intersection=Vp,p.intersectionBy=Up,p.intersectionWith=qp,p.invert=c2,p.invertBy=f2,p.invokeMap=Kg,p.iteratee=qs,p.keyBy=Xg,p.keys=pt,p.keysIn=Tt,p.map=Yi,p.mapKeys=h2,p.mapValues=p2,p.matches=lv,p.matchesProperty=uv,p.memoize=Ji,p.merge=g2,p.mergeWith=sc,p.method=cv,p.methodOf=fv,p.mixin=Gs,p.negate=eo,p.nthArg=hv,p.omit=m2,p.omitBy=v2,p.once=dm,p.orderBy=Yg,p.over=pv,p.overArgs=hm,p.overEvery=gv,p.overSome=mv,p.partial=Ws,p.partialRight=Yu,p.partition=Qg,p.pick=y2,p.pickBy=ac,p.property=pc,p.propertyOf=vv,p.pull=Yp,p.pullAll=Wu,p.pullAllBy=Qp,p.pullAllWith=Jp,p.pullAt=eg,p.range=yv,p.rangeRight=bv,p.rearg=pm,p.reject=tm,p.remove=tg,p.rest=gm,p.reverse=js,p.sampleSize=rm,p.set=w2,p.setWith=x2,p.shuffle=im,p.slice=ng,p.sortBy=am,p.sortedUniq=ug,p.sortedUniqBy=cg,p.split=N2,p.spread=mm,p.tail=fg,p.take=dg,p.takeRight=hg,p.takeRightWhile=pg,p.takeWhile=gg,p.tap=Rg,p.throttle=vm,p.thru=Xi,p.toArray=nc,p.toPairs=lc,p.toPairsIn=uc,p.toPath=Sv,p.toPlainObject=ic,p.transform=_2,p.unary=ym,p.union=mg,p.unionBy=vg,p.unionWith=yg,p.uniq=bg,p.uniqBy=wg,p.uniqWith=xg,p.unset=C2,p.unzip=Bs,p.unzipWith=Du,p.update=S2,p.updateWith=E2,p.values=xr,p.valuesIn=A2,p.without=_g,p.words=dc,p.wrap=bm,p.xor=Cg,p.xorBy=Sg,p.xorWith=Eg,p.zip=Ag,p.zipObject=$g,p.zipObjectDeep=kg,p.zipWith=Tg,p.entries=lc,p.entriesIn=uc,p.extend=oc,p.extendWith=ro,Gs(p,p),p.add=Av,p.attempt=hc,p.camelCase=R2,p.capitalize=cc,p.ceil=$v,p.clamp=$2,p.clone=xm,p.cloneDeep=Cm,p.cloneDeepWith=Sm,p.cloneWith=_m,p.conformsTo=Em,p.deburr=fc,p.defaultTo=ov,p.divide=kv,p.endsWith=L2,p.eq=nn,p.escape=I2,p.escapeRegExp=O2,p.every=Wg,p.find=Hg,p.findIndex=zu,p.findKey=t2,p.findLast=Zg,p.findLastIndex=ju,p.findLastKey=n2,p.floor=Tv,p.forEach=Zu,p.forEachRight=Nu,p.forIn=r2,p.forInRight=i2,p.forOwn=o2,p.forOwnRight=s2,p.get=Zs,p.gt=Am,p.gte=$m,p.has=u2,p.hasIn=Ns,p.head=Pu,p.identity=Rt,p.includes=Gg,p.indexOf=Zp,p.inRange=k2,p.invoke=d2,p.isArguments=Jn,p.isArray=xe,p.isArrayBuffer=km,p.isArrayLike=kt,p.isArrayLikeObject=lt,p.isBoolean=Tm,p.isBuffer=zn,p.isDate=Rm,p.isElement=Lm,p.isEmpty=Im,p.isEqual=Om,p.isEqualWith=Mm,p.isError=Ds,p.isFinite=Fm,p.isFunction=yn,p.isInteger=Qu,p.isLength=to,p.isMap=Ju,p.isMatch=zm,p.isMatchWith=jm,p.isNaN=Bm,p.isNative=Pm,p.isNil=Dm,p.isNull=Wm,p.isNumber=ec,p.isObject=rt,p.isObjectLike=st,p.isPlainObject=Xr,p.isRegExp=Hs,p.isSafeInteger=Hm,p.isSet=tc,p.isString=no,p.isSymbol=Bt,p.isTypedArray=wr,p.isUndefined=Zm,p.isWeakMap=Nm,p.isWeakSet=Vm,p.join=Gp,p.kebabCase=M2,p.last=Gt,p.lastIndexOf=Kp,p.lowerCase=F2,p.lowerFirst=z2,p.lt=Um,p.lte=qm,p.max=Rv,p.maxBy=Lv,p.mean=Iv,p.meanBy=Ov,p.min=Mv,p.minBy=Fv,p.stubArray=Xs,p.stubFalse=Ys,p.stubObject=wv,p.stubString=xv,p.stubTrue=_v,p.multiply=zv,p.nth=Xp,p.noConflict=dv,p.noop=Ks,p.now=Qi,p.pad=j2,p.padEnd=B2,p.padStart=P2,p.parseInt=W2,p.random=T2,p.reduce=Jg,p.reduceRight=em,p.repeat=D2,p.replace=H2,p.result=b2,p.round=jv,p.runInContext=A,p.sample=nm,p.size=om,p.snakeCase=Z2,p.some=sm,p.sortedIndex=rg,p.sortedIndexBy=ig,p.sortedIndexOf=og,p.sortedLastIndex=sg,p.sortedLastIndexBy=ag,p.sortedLastIndexOf=lg,p.startCase=V2,p.startsWith=U2,p.subtract=Bv,p.sum=Pv,p.sumBy=Wv,p.template=q2,p.times=Cv,p.toFinite=bn,p.toInteger=Ae,p.toLength=rc,p.toLower=G2,p.toNumber=Kt,p.toSafeInteger=Gm,p.toString=Ve,p.toUpper=K2,p.trim=X2,p.trimEnd=Y2,p.trimStart=Q2,p.truncate=J2,p.unescape=ev,p.uniqueId=Ev,p.upperCase=tv,p.upperFirst=Vs,p.each=Zu,p.eachRight=Nu,p.first=Pu,Gs(p,function(){var e={};return an(p,function(t,o){Ue.call(p.prototype,o)||(e[o]=t)}),e}(),{chain:!1}),p.VERSION=s,Zt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){p[e].placeholder=p}),Zt(["drop","take"],function(e,t){Oe.prototype[e]=function(o){o=o===i?1:dt(Ae(o),0);var a=this.__filtered__&&!t?new Oe(this):this.clone();return a.__filtered__?a.__takeCount__=yt(o,a.__takeCount__):a.__views__.push({size:yt(o,ke),type:e+(a.__dir__<0?"Right":"")}),a},Oe.prototype[e+"Right"]=function(o){return this.reverse()[e](o).reverse()}}),Zt(["filter","map","takeWhile"],function(e,t){var o=t+1,a=o==G||o==te;Oe.prototype[e]=function(c){var m=this.clone();return m.__iteratees__.push({iteratee:he(c,3),type:o}),m.__filtered__=m.__filtered__||a,m}}),Zt(["head","last"],function(e,t){var o="take"+(t?"Right":"");Oe.prototype[e]=function(){return this[o](1).value()[0]}}),Zt(["initial","tail"],function(e,t){var o="drop"+(t?"":"Right");Oe.prototype[e]=function(){return this.__filtered__?new Oe(this):this[o](1)}}),Oe.prototype.compact=function(){return this.filter(Rt)},Oe.prototype.find=function(e){return this.filter(e).head()},Oe.prototype.findLast=function(e){return this.reverse().find(e)},Oe.prototype.invokeMap=Te(function(e,t){return typeof e=="function"?new Oe(this):this.map(function(o){return Nr(o,e,t)})}),Oe.prototype.reject=function(e){return this.filter(eo(he(e)))},Oe.prototype.slice=function(e,t){e=Ae(e);var o=this;return o.__filtered__&&(e>0||t<0)?new Oe(o):(e<0?o=o.takeRight(-e):e&&(o=o.drop(e)),t!==i&&(t=Ae(t),o=t<0?o.dropRight(-t):o.take(t-e)),o)},Oe.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Oe.prototype.toArray=function(){return this.take(ke)},an(Oe.prototype,function(e,t){var o=/^(?:filter|find|map|reject)|While$/.test(t),a=/^(?:head|last)$/.test(t),c=p[a?"take"+(t=="last"?"Right":""):t],m=a||/^find/.test(t);c&&(p.prototype[t]=function(){var b=this.__wrapped__,x=a?[1]:arguments,$=b instanceof Oe,B=x[0],W=$||xe(b),V=function(Le){var Fe=c.apply(p,Tn([Le],x));return a&&ne?Fe[0]:Fe};W&&o&&typeof B=="function"&&B.length!=1&&($=W=!1);var ne=this.__chain__,ue=!!this.__actions__.length,ge=m&&!ne,$e=$&&!ue;if(!m&&W){b=$e?b:new Oe(this);var me=e.apply(b,x);return me.__actions__.push({func:Xi,args:[V],thisArg:i}),new Vt(me,ne)}return ge&&$e?e.apply(this,x):(me=this.thru(V),ge?a?me.value()[0]:me.value():me)})}),Zt(["pop","push","shift","sort","splice","unshift"],function(e){var t=_i[e],o=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",a=/^(?:pop|shift)$/.test(e);p.prototype[e]=function(){var c=arguments;if(a&&!this.__chain__){var m=this.value();return t.apply(xe(m)?m:[],c)}return this[o](function(b){return t.apply(xe(b)?b:[],c)})}}),an(Oe.prototype,function(e,t){var o=p[t];if(o){var a=o.name+"";Ue.call(gr,a)||(gr[a]=[]),gr[a].push({name:t,func:o})}}),gr[Zi(i,M).name]=[{name:"wrapper",func:i}],Oe.prototype.clone=eh,Oe.prototype.reverse=th,Oe.prototype.value=nh,p.prototype.at=Lg,p.prototype.chain=Ig,p.prototype.commit=Og,p.prototype.next=Mg,p.prototype.plant=zg,p.prototype.reverse=jg,p.prototype.toJSON=p.prototype.valueOf=p.prototype.value=Bg,p.prototype.first=p.prototype.head,jr&&(p.prototype[jr]=Fg),p},dr=O1();Vn?((Vn.exports=dr)._=dr,qo._=dr):mt._=dr}).call(Nv)}(oi,oi.exports)),oi.exports}var ze=Vv();const wa=n=>({none:0,hairline:n*.5,thin:n,thick:n*2,heavy:n*4}),xa=n=>({none:0,xs:n*.5,sm:n,md:n*2,lg:n*3,xl:n*4,full:9999}),Uv=n=>["none","hairline","thin","thick","heavy"].includes(n),Af=n=>["none","xs","sm","md","lg","xl","full"].includes(n),Co={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",primary100:"#F0EDFF",primary200:"#C3B6FF",primary300:"#A592FF",primary400:"#876DFF",primary500:"#6949FF",secondary100:"#FFF9E6",secondary200:"#FFE69C",secondary300:"#FFDA6A",secondary400:"#FFCD39",secondary500:"#FFC107",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",backgroundPurple:"#F9F8FF",backgroundYellow:"#FFFCED",backgroundGreen:"#F1FDF5",backgroundBlue:"#F6F9FF",backgroundTeal:"#F2FFF8",backgroundRed:"#FFF7F8",backgroundOrange:"#FFF8ED"},$f=n=>n in Co,kf={primary:["#543ACC","#6949FF"],secondary:["#E0A800","#FFC107"],success:["#0FB57A","#12D18E"],danger:["#E64545","#F75555"],warning:["#E1B70D","#FACC15"],info:["#543ACC","#6949FF"]},qv=n=>["primary","secondary","success","danger","warning","info"].includes(n),Gv=1,Kv=8,Xv=8,Yv="Inter",Qv="Sora",Jv=10,e8=4,An={borderWidth:Gv,space:Kv,size:Xv,font:{neutral:Yv,heading:Qv},fontSize:Jv,radius:e8},Tf=n=>({none:"none",sm:`0 1px 2px 0 ${n.grey400}40`,md:`0 4px 6px -1px ${n.grey500}40, 0 2px 4px -1px ${n.grey400}40`,lg:`0 10px 15px -3px ${n.grey600}40, 0 4px 6px -2px ${n.grey500}40`}),t8=n=>["none","sm","md","lg"].includes(n),_a=n=>({"2xs":n*.5,xs:n,sm:n*2,"sm-md":n*2.5,md:n*4,"md-lg":n*6,lg:n*8,xl:n*16,"2xl":n*32,"3xl":n*64,"4xl":n*128}),ir=n=>["2xs","xs","sm","sm-md","md","md-lg","lg","xl","2xl","3xl","4xl"].includes(n),Ca=n=>({none:0,"2xs":n*.25,xs:n*.5,sm:n,"sm-md":n*1.5,md:n*2,"md-lg":n*2.5,lg:n*3,xl:n*4,"2xl":n*5,"3xl":n*6,"4xl":n*8,"5xl":n*10,"6xl":n*12,"7xl":n*14,"8xl":n*16,"9xl":n*18,"10xl":n*20,"-xxs":n*-.25,"-xs":n*-.5,"-sm":n*-1,"-sm-md":n*-1.5,"-md":n*-2,"-md-lg":n*-2.5,"-lg":n*-3,"-xl":n*-4,"-2xl":n*-5,"-3xl":n*-6,"-4xl":n*-8,"-5xl":n*-10,"-6xl":n*-12,"-7xl":n*-14,"-8xl":n*-16,"-9xl":n*-18,"-10xl":n*-20}),Rf=n=>["none","2xs","xs","sm","sm-md","md","md-lg","lg","xl","2xl","3xl","4xl","-xxs","-xs","-sm","-sm-md","-md","-md-lg","-lg","-xl","-2xl","-3xl","-4xl"].includes(n),Sa=({neutral:n,heading:r})=>({neutral:`"${n}", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif`,heading:`"${r}", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif`}),So=n=>({"2xs":n*.75,xs:n,small:n*1.25,medium:n*1.5,large:n*2,xl:n*2.5,"2xl":n*3,"3xl":n*3.5,"4xl":n*4,"5xl":n*5,"6xl":n*6}),Ea=n=>{const r=So(n),i=1.4;return{"2xs":r["2xs"]*i,xs:r.xs*i,small:r.small*i,medium:r.medium*i,large:r.large*i,xl:r.xl*i,"2xl":r["2xl"]*i,"3xl":r["3xl"]*i,"4xl":r["4xl"]*i,"5xl":r["5xl"]*i,"6xl":r["6xl"]*i}},Aa=()=>({"extra-light":100,thin:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,black:900}),n8=n=>["2xs","xs","small","medium","large","xl","2xl","3xl","4xl","5xl","6xl"].includes(n),r8=n=>["extra-light","thin","light","regular","medium","semibold","bold","extrabold","black"].includes(n);class i8{constructor({baseZIndex:r=10,step:i=10}={}){_r(this,"dependencies",new Map);_r(this,"zIndexes",null);_r(this,"nodes",new Set);_r(this,"baseZIndex");_r(this,"step");this.baseZIndex=r,this.step=i}register(r,i){this.nodes.add(r),this.nodes.add(i),this.dependencies.has(r)||this.dependencies.set(r,new Set),this.dependencies.get(r).add(i),this.zIndexes=null}deregister(r,i){const s=this.dependencies.get(r);s&&s.delete(i),this.zIndexes=null}getZIndex(r){return this.zIndexes||this._calculateZIndexes(),this.zIndexes.has(r)?this.zIndexes.get(r):(console.warn(`[ZIndexRegistry] ID '${r}' not found in the calculated z-index map. Returning a fallback value. Was it ever registered?`),this.baseZIndex)}_calculateZIndexes(){const r=new Map;for(const l of this.nodes)r.set(l,0);for(const l of this.dependencies.values())for(const u of l)r.set(u,(r.get(u)||0)+1);const i=[];for(const[l,u]of r.entries())u===0&&i.push(l);const s=[];for(;i.length>0;){const l=i.shift();s.push(l);const u=this.dependencies.get(l)||new Set;for(const f of u){const d=(r.get(f)||0)-1;r.set(f,d),d===0&&i.push(f)}}if(s.length!==this.nodes.size){if(process.env.NODE_ENV!=="production")throw new Error("[ZIndexRegistry] Detected a cycle in the z-index relationships. Cannot resolve the stacking order. Please check the register() function calls.");console.warn("[ZIndexRegistry] Detected a cycle in the z-index relationships. Cannot resolve the stacking order. Please check the register() function calls.")}this.zIndexes=new Map;for(let l=0;l<s.length;l++){const u=s[l];this.zIndexes.set(u,this.baseZIndex+l*this.step)}}}const ar=new i8({baseZIndex:100,step:10}),sn={AIC_Kits_PageContent:"AIC_Kits_PageContent",AIC_Kits_Carousel:"AIC_Kits_Carousel",AIC_Kits_Dropdown:"AIC_Kits_Dropdown",AIC_Kits_Tooltip:"AIC_Kits_Tooltip",AIC_Kits_Modal:"AIC_Kits_Modal",AIC_Kits_Notification:"AIC_Kits_Notification"};ar.register(sn.AIC_Kits_PageContent,sn.AIC_Kits_Carousel);ar.register(sn.AIC_Kits_Carousel,sn.AIC_Kits_Dropdown);ar.register(sn.AIC_Kits_Dropdown,sn.AIC_Kits_Tooltip);ar.register(sn.AIC_Kits_Tooltip,sn.AIC_Kits_Modal);ar.register(sn.AIC_Kits_Modal,sn.AIC_Kits_Notification);const o8=(n=An,r=Co,i=kf)=>{const s=Sa(n.font),l=So(n.fontSize),u=Ea(n.fontSize),f=Aa(),d=wa(n.borderWidth),g=Ca(n.space),v=_a(n.size),C=xa(n.radius),S=Tf(r);return{colors:r,gradientColors:i,fonts:s,fontSizes:l,lineHeights:u,fontWeights:f,borderWidths:d,spaces:g,sizes:v,radii:C,shadows:S}},Lf=n=>({paddingVertical:"md",paddingHorizontal:"md",borderRadius:"lg",borderColor:"grey300",borderWidth:"thin",backgroundColor:"white",gap:"md",header:{gap:"sm-md",iconSize:"sm",iconColor:"grey600",disabledOpacity:.5},animation:{duration:300,easing:"ease"}}),If=n=>({defaultSize:"md",defaultIconSize:"md",defaultEmojiSize:"lg",defaultBrandSize:"md",defaultImageSize:"md",defaultSvgSize:"md"}),Of=n=>({defaultSize:"md",defaultFallbackTextSize:"medium",fallbackBackgroundColor:"grey400",sizes:{sm:{fallbackTextSize:"small"},md:{fallbackTextSize:"medium"},lg:{fallbackTextSize:"xl"}}}),Mf=n=>({defaultSize:"md",defaultVariant:"default",sizes:{sm:{barSpacing:8,barRadius:2,axisColor:"grey600",gridColor:"grey200",labelColor:"grey600"},md:{barSpacing:12,barRadius:4,axisColor:"grey600",gridColor:"grey200",labelColor:"grey600"},lg:{barSpacing:16,barRadius:6,axisColor:"grey600",gridColor:"grey200",labelColor:"grey600"}},variants:{default:{defaultBarColor:"primary"},soft:{defaultBarColor:"secondary"},outlined:{defaultBarColor:"info"}}}),Ff=n=>({defaultBackgroundColor:"white",defaultHeaderParams:{backgroundColor:"white"},desktopMediaQuery:"(min-width: 768px)",mobilePaddingX:"md",desktopPaddingX:"xl",desktopContentMaxWidth:"1200px"}),zf=n=>({loadingConfig:{size:"md"},defaultColor:"primary",defaultTextColor:"white",iconSpacing:"xs",sizes:{sm:{paddingHorizontal:"sm",paddingVertical:"xs",fontSize:"xs",iconSize:"sm",borderWidth:"thin",fontWeight:"regular",iconWeight:"regular",squircleBorderRadii:{circle:"full",rounded:"md",square:"none"}},md:{paddingHorizontal:"md",paddingVertical:"sm",fontSize:"medium",iconSize:"sm-md",borderWidth:"thin",fontWeight:"regular",iconWeight:"regular",squircleBorderRadii:{circle:"full",rounded:"lg",square:"none"}},lg:{paddingHorizontal:"lg",paddingVertical:"md",fontSize:"large",iconSize:"md",borderWidth:"thick",fontWeight:"semibold",iconWeight:"bold",squircleBorderRadii:{circle:"full",rounded:"xl",square:"none"}}},variants:{solid:{},outlined:{bgColor:"transparent"},text:{bgColor:"transparent"}}}),jf=n=>({pagination:{container:{marginTop:"md",padding:"xs",borderRadius:"full",backgroundColor:"grey100",gap:"xs"},dotSize:"2xs",inactiveColor:"grey300",activeColor:"primary",dotBorderRadius:"full"},navigation:{marginHorizontal:"md",buttonColor:"primary",buttonPadding:"sm",buttonBackgroundColor:"white",buttonBorderRadius:"full",iconSize:"sm-md"},autoScroll:{defaultSpeed:20},container:{defaultItemSpacing:"md"}}),Bf=n=>({defaultColor:"primary",defaultSize:"md",checkedBackgroundColor:"primary",uncheckedBorderColor:"grey400",disabledColor:"grey300",disabledTextColor:"grey500",focusBorderColor:"primary",iconColor:"white",textColor:"grey900",sizes:{sm:{labelFontSize:"small",labelPaddingLeft:"xs",iconSize:"xs",iconMargin:"2xs",borderRadius:"sm",borderWidth:"thin"},md:{labelFontSize:"medium",labelPaddingLeft:"sm",iconSize:"sm",iconMargin:"xs",borderRadius:"md",borderWidth:"thin"},lg:{labelFontSize:"large",labelPaddingLeft:"md",iconSize:"sm-md",iconMargin:"xs",borderRadius:"lg",borderWidth:"thin"}},animation:{duration:100,easing:"ease-out"}}),Pf=n=>({defaultColor:"grey300",defaultThickness:1}),Wf=n=>{const r=`0 0 16px 4px ${n.colors.grey400}40`;return{backgroundColor:"grey100",padding:"xs",radius:"full",avatarSize:"md",loadingGap:"sm",navItem:{radius:"full",paddingX:"md",paddingY:"sm",gap:"xs",large:{fontSize:"large",iconSize:30,loadingSize:"small"},medium:{fontSize:"medium",iconSize:24,loadingSize:"small"},active:{fontWeight:"medium",color:"black",backgroundColor:"white",hoverBackgroundColor:"white",hoverBoxShadow:r},inactive:{fontWeight:"regular",color:"grey600",backgroundColor:"transparent",hoverBackgroundColor:"white",hoverBoxShadow:r},hover:{color:"primary"}},profileDropdown:{offset:{top:72,right:0},containerPaddingRight:"md",spacingTop:"sm",padding:"sm",gap:"sm",borderRadius:24,boxShadow:r,backgroundColor:"white",defaultMaxHeight:300,minWidth:50,animationDuration:300},navDropdown:{spacingTop:"sm",paddingX:"md-lg",paddingY:"md",gap:"sm-md",borderRadius:24,boxShadow:r,backgroundColor:"white",defaultMaxHeight:300,minWidth:50,animationDuration:300}}},Df=n=>{const r="grey300",i="danger",s="primary",l="grey100",u="grey300",f="grey500",d="white",g="grey900",v="thin",C=`inset 0 0 0 ${n.borderWidths.thin}px ${n.colors[s]}`,S=`inset 0 0 0 ${n.borderWidths.thin}px ${n.colors[i]}`;return{borderRadius:"md",borderWidth:v,padding:{vertical:"sm",horizontal:"md"},fontSize:"medium",placeholderColor:"grey500",iconSpacing:"sm",iconSize:"sm-md",iconColor:"grey600",textColor:g,disabledTextColor:f,disabledBorderColor:u,focusColor:s,errorColor:i,states:{default:{borderColor:r,backgroundColor:d,boxShadow:"none"},focused:{borderColor:s,backgroundColor:d,boxShadow:C},error:{borderColor:i,backgroundColor:d,boxShadow:S},disabled:{borderColor:u,backgroundColor:l,boxShadow:"none"}}}},Hf=n=>({defaultSize:"md",defaultVariant:"default",sizes:{sm:{strokeWidth:1.5,dotRadius:3,axisColor:"grey600",gridColor:"grey200",labelColor:"grey600",labelFontSize:10,legendFontSize:12,legendSpacing:8},md:{strokeWidth:2,dotRadius:4,axisColor:"grey600",gridColor:"grey200",labelColor:"grey600",labelFontSize:12,legendFontSize:14,legendSpacing:12},lg:{strokeWidth:3,dotRadius:5,axisColor:"grey600",gridColor:"grey200",labelColor:"grey600",labelFontSize:14,legendFontSize:16,legendSpacing:16}},variants:{default:{defaultColors:["primary","secondary","success","warning","danger","info","purple500"]},soft:{defaultColors:["primary300","secondary300","teal300","lime400","pink400","purple400","cyan400"]},bold:{defaultColors:["primary500","secondary500","teal600","orange600","pink600","purple600","cyan600"]}}}),Zf=n=>({defaultGap:"sm",defaultPadding:"none"}),Nf=n=>({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}}),Vf=n=>({container:{sizes:{small:{gap:"xs"},medium:{gap:"sm"},large:{gap:"md"}}},item:{defaultColor:"grey900",text:{color:"black",disabledColor:"grey500"},shapes:{circular:{container:{borderRadius:"full"}},rounded:{container:{borderRadius:"md"}}},sizes:{small:{container:{size:"sm-md"},text:{fontSize:"small"},buttonSize:"sm",icon:{size:"xs",weight:"bold"}},medium:{container:{size:"md"},text:{fontSize:"medium"},buttonSize:"md",icon:{size:"sm",weight:"bold"}},large:{container:{size:"md-lg"},text:{fontSize:"large"},buttonSize:"lg",icon:{size:"sm-md",weight:"bold"}}}}}),Uf=n=>({defaultSize:"md",defaultVariant:"default",sizes:{sm:{strokeWidth:1,strokeColor:"white",labelColor:"grey700",labelFontSize:10,legendFontSize:12,legendSpacing:8},md:{strokeWidth:2,strokeColor:"white",labelColor:"grey700",labelFontSize:12,legendFontSize:14,legendSpacing:12},lg:{strokeWidth:3,strokeColor:"white",labelColor:"grey700",labelFontSize:14,legendFontSize:16,legendSpacing:16}},variants:{default:{defaultColors:["primary","secondary","success","warning","danger","info","cyan500"]},soft:{defaultColors:["primary200","secondary200","lime300","orange300","pink300","purple300","cyan300"]},outlined:{defaultColors:["primary500","secondary500","teal700","orange700","pink700","purple700","cyan700"]}}}),qf=n=>({defaultVariant:"soft",defaultSize:"md",sizes:{sm:{height:"2xs",borderRadius:"xs"},md:{height:"xs",borderRadius:"sm"},lg:{height:"sm",borderRadius:"md"}},variants:{soft:{containerBackgroundColor:"grey100",defaultProgressColor:"primary"},outlined:{containerBackgroundColor:"white",containerBorderWidth:"thin",defaultProgressColor:"primary"},plain:{containerBackgroundColor:"white",defaultProgressColor:"primary"}}}),Gf=n=>{const r="grey300",i="danger",s="grey300",l="grey100",u="grey400",f="grey100",d="grey200",g="white",v="transparent",C="thin",S="thick";return{defaultColor:"primary",defaultSize:"md",defaultVariant:"outlined",defaultCorner:"circle",squircleBorderRadii:{circle:"999px",rounded:"8px"},labelColor:"grey700",disabledLabelColor:u,valueColor:"grey900",placeholderColor:"grey500",helperTextColor:"grey600",errorColor:i,iconColor:"grey600",disabledContentColor:u,disabledOpacity:.6,sizes:{sm:{paddingVertical:"xs",paddingHorizontal:"sm",fontSize:"small",borderWidth:"thin",iconSize:"sm",gap:"xs",dropdownPaddingVertical:"xs",dropdownPaddingHorizontal:"sm"},md:{paddingVertical:"sm",paddingHorizontal:"md",fontSize:"medium",borderWidth:"thin",iconSize:"sm-md",gap:"sm",dropdownPaddingVertical:"sm",dropdownPaddingHorizontal:"md"},lg:{paddingVertical:"md",paddingHorizontal:"lg",fontSize:"large",borderWidth:"thin",iconSize:"md",gap:"md",dropdownPaddingVertical:"md",dropdownPaddingHorizontal:"lg"}},variants:{outlined:{default:{backgroundColor:v,borderColor:r,borderWidth:C},hover:{backgroundColor:"grey100",borderColor:r,borderWidth:C},focused:{backgroundColor:v,borderColor:"primary",borderWidth:S},disabled:{backgroundColor:v,borderColor:s,borderWidth:C},errored:{backgroundColor:v,borderColor:i,borderWidth:C}},filled:{default:{backgroundColor:f,borderColor:v,borderWidth:C},hover:{backgroundColor:d,borderColor:v,borderWidth:C},focused:{backgroundColor:g,borderColor:"primary",borderWidth:S},disabled:{backgroundColor:l,borderColor:v,borderWidth:C},errored:{backgroundColor:g,borderColor:i,borderWidth:C}}},animation:{duration:200,easing:"ease-out"},dropdown:{backgroundColor:g,borderColor:r,shadow:"md",offset:"sm",zIndex:1e3,maxHeight:200,borderRadiusForCircle:"xl",borderRadiusForRounded:"md",itemTextColor:"grey900",itemSelectedTextColor:"grey900",itemHoverBackgroundColor:"grey100",itemSelectedBackgroundColor:"white",emptyTextColor:"grey500"}}},Kf=n=>({animation:{duration:1500,gradient:{start:"grey100",middle:"grey200",end:"grey100"},transition:{backgroundDuration:250,contentFadeDuration:200}},container:{rectangle:{borderRadius:"none",opacity:1},rounded:{borderRadius:"md",opacity:1},circle:{borderRadius:"full",opacity:1},transparent:{borderRadius:"none",opacity:0}}}),Xf=n=>({defaultVariant:"solid",defaultColor:"primary",defaultRadius:"full",defaultSize:"md",sizes:{sm:{paddingVertical:"2xs",paddingHorizontal:"xs",fontSize:"xs",gap:"2xs",iconSize:"xs"},md:{paddingVertical:"xs",paddingHorizontal:"sm",fontSize:"small",gap:"xs",iconSize:"sm"},lg:{paddingVertical:"sm",paddingHorizontal:"md",fontSize:"medium",gap:"sm",iconSize:"sm-md"}}}),Yf=n=>{const r="sm";return{defaultBackgroundColor:"grey800",defaultTextColor:"white",defaultPlacement:"bottom",container:{padding:"sm",borderRadius:"md",shadow:"md",zIndex:9999,maxWidth:"300px"},text:{fontSize:"small"},positioning:{spacing:r,placements:{top:{bottom:"100%",left:"50%",transform:"translateX(-50%)",mb:r},bottom:{top:"100%",left:"50%",transform:"translateX(-50%)",mt:r},left:{top:"50%",right:"100%",transform:"translateY(-50%)",mr:r},right:{top:"50%",left:"100%",transform:"translateY(-50%)",ml:r}}}}},Qf=n=>({animation:{minScale:.92,maxScale:1,minOpacity:.7,maxOpacity:1,springConfig:{mass:.5}}}),Jf=n=>({defaultAccentColor:"#00adef",aspectRatio:56.25,playerSettings:{autoplay:!1,muted:!1,loop:!1,title:!1,byline:!1,portrait:!1,controls:!0}}),ed=n=>({art:If(),base:Ff(),button:zf(),divider:Pf(),header:Wf(n),input:Df(n),list:Zf(),loading:Nf(),pagination:Vf(),skeleton:Kf(),touchable:Qf(),vimeo:Jf(),carousel:jf(),accordion:Lf(),tag:Xf(),checkbox:Bf(),select:Gf(),progress:qf(),avatar:Of(),tooltip:Yf(),barChart:Mf(),pieChart:Uf(),lineChart:Hf()}),s8=Ca(An.space),a8=_a(An.size),l8=wa(An.borderWidth),u8=xa(An.radius),c8=So(An.fontSize),f8=Ea(An.fontSize),d8=Aa(),vc=Sa(An.font),h8={spaces:s8,sizes:a8,colors:Co,radii:u8,borderWidths:l8,fonts:vc,zIndex:ar,__hd__:{text:{fontSizes:c8,lineHeights:f8,fontWeights:d8,fonts:vc}}};function td(){const n=h8,r=ed(n);return{...n,__hd__:{...n.__hd__,...r}}}const ho=td(),ae=Dn.styled,Hn=Dn.keyframes,at=Dn.css,nd=(n,r)=>!["theme","themeFontSize","themeFontWeight","themeTypeface","themePosition","color","bg","bgColor","backgroundColor","opacity","margin","m","marginTop","mt","marginRight","mr","marginBottom","mb","marginLeft","ml","marginX","mx","marginY","my","padding","p","paddingTop","pt","paddingRight","pr","paddingBottom","pb","paddingLeft","pl","paddingX","px","paddingY","py","gap","borderRadius","r","radius","borderBottomLeftRadius","bbl","borderBottomRightRadius","bbr","borderTopLeftRadius","btl","borderTopRightRadius","btr","borderWidth","b","borderBottomWidth","bb","borderTopWidth","bt","borderLeftWidth","bl","borderRightWidth","br","borderColor","bc","borderBottomColor","bb","borderTopColor","bt","borderLeftColor","bl","borderRightColor","br","fontSize","fontWeight","lineHeight","letterSpacing","textAlign","fontStyle","textTransform","textDecoration","themeColor","useRichText","width","height","minWidth","maxWidth","minHeight","maxHeight","display","alignItems","alignContent","justifyContent","flexWrap","flexDirection","flex","flexGrow","flexShrink","flexBasis","alignSelf","position","top","right","bottom","left","overflow","cursor","transition","transform","animation","willChange","pointerEvents","userSelect","resize","boxShadow","textShadow","filter","backdropFilter","mixBlendMode","isolation","zIndex","marginInline","marginBlock","paddingInline","paddingBlock","whiteSpace","textOverflow","overflowY","overflowX","fullWidth","fullHeight","fw","fh","absoluteFill"].includes(n),p8=n=>typeof n=="function"?n(ho):n?{...ho,...n}:ho,g8=({theme:n,children:r})=>{const i=p8(n);return y.jsx(Dn.StyleSheetManager,{shouldForwardProp:nd,children:y.jsx(Dn.ThemeProvider,{theme:i,children:r})})},_e=Dn.useTheme,At=()=>typeof document>"u",hi={xs:0,sm:600,md:900,lg:1200,xl:1536},li=Object.keys(hi),Eo=n=>ze.isObject(n)&&("xs"in n||"sm"in n||"md"in n||"lg"in n||"xl"in n),Dt=(n,r)=>Eo(n)?Object.fromEntries(Object.entries(n).map(([i,s])=>[i,r(s)])):r(n),fa=n=>ze.reduce(n,(r,i,s)=>(ze.forEach(i,(l,u)=>{ze.has(r,u)||ze.set(r,u,{}),ze.set(r,[u,s],l)}),r),{}),rd=(n,r)=>{const i=Object.fromEntries(Object.keys(n).map(d=>[d,$a(n[d])])),s=fa(i),l=Object.fromEntries(li.map(d=>[d,r(s[d])])),u=fa(l);return Object.fromEntries(Object.entries(u).map(([d,g])=>[d,od(g)]))},id=(n,r)=>{if(!Eo(n))return n;switch(r){case"xs":return n.xs??n.sm??n.md??n.lg??n.xl;case"sm":return n.sm??n.xs??n.md??n.lg??n.xl;case"md":return n.md??n.sm??n.xs??n.lg??n.xl;case"lg":return n.lg??n.md??n.sm??n.xs??n.xl;case"xl":return n.xl??n.lg??n.md??n.sm??n.xs}},$a=n=>Object.fromEntries(Object.keys(hi).map(r=>[r,id(n,r)])),od=n=>{let r=n.xs;const i={xs:r};for(let s=1;s<li.length;s++){const l=li[s],u=n[l];ze.isEqual(u,r)||(i[l]=u,r=u)}return Object.keys(i).length===1?i.xs:i},Mr=n=>{const[r,i]=ze.partition(Object.entries(n),([u,f])=>Eo(f)),s=Object.fromEntries(r.map(([u,f])=>[u,$a(f)])),l=ze.compact(li.map(u=>{const f=Object.fromEntries(Object.keys(s).map(g=>[g,s[g][u]]));if(u==="xs"){const g={...Object.fromEntries(i),...f};return ze.isEmpty(g)?null:at(g)}if(ze.isEmpty(f))return null;const d=`(min-width: ${hi[u]}px)`;return at`
28
- @media ${d} {
26
+ `)+U+`return __p
27
+ }`;var $e=hc(function(){return Ze(m,ue+"return "+U).apply(i,b)});if($e.source=U,Hs($e))throw $e;return $e}function Q2(e){return Ne(e).toLowerCase()}function J2(e){return Ne(e).toUpperCase()}function e8(e,n,o){if(e=Ne(e),e&&(o||n===i))return _l(e);if(!e||!(n=jt(n)))return e;var a=en(e),c=en(n),m=Cl(a,c),b=Sl(a,c)+1;return Fn(a,m,b).join("")}function t8(e,n,o){if(e=Ne(e),e&&(o||n===i))return e.slice(0,Al(e)+1);if(!e||!(n=jt(n)))return e;var a=en(e),c=Sl(a,en(n))+1;return Fn(a,0,c).join("")}function n8(e,n,o){if(e=Ne(e),e&&(o||n===i))return e.replace(Ho,"");if(!e||!(n=jt(n)))return e;var a=en(e),c=Cl(a,en(n));return Fn(a,c).join("")}function r8(e,n){var o=Ce,a=Me;if(rt(n)){var c="separator"in n?n.separator:c;o="length"in n?Ae(n.length):o,a="omission"in n?jt(n.omission):a}e=Ne(e);var m=e.length;if(cr(e)){var b=en(e);m=b.length}if(o>=m)return e;var w=o-fr(a);if(w<1)return a;var $=b?Fn(b,0,w).join(""):e.slice(0,w);if(c===i)return $+a;if(b&&(w+=$.length-w),Zs(c)){if(e.slice(w).search(c)){var P,W=$;for(c.global||(c=os(c.source,Ne(Va.exec(c))+"g")),c.lastIndex=0;P=c.exec(W);)var U=P.index;$=$.slice(0,U===i?w:U)}}else if(e.indexOf(jt(c),w)!=w){var ne=$.lastIndexOf(c);ne>-1&&($=$.slice(0,ne))}return $+a}function i8(e){return e=Ne(e),e&&g0.test(e)?e.replace(Da,I1):e}var o8=yr(function(e,n,o){return e+(o?" ":"")+n.toUpperCase()}),Us=pu("toUpperCase");function dc(e,n,o){return e=Ne(e),n=o?i:n,n===i?k1(e)?z1(e):b1(e):e.match(n)||[]}var hc=Te(function(e,n){try{return Ft(e,i,n)}catch(o){return Hs(o)?o:new be(o)}}),s8=vn(function(e,n){return Vt(n,function(o){o=un(o),gn(e,o,Ws(e[o],e))}),e});function a8(e){var n=e==null?0:e.length,o=he();return e=n?et(e,function(a){if(typeof a[1]!="function")throw new Nt(f);return[o(a[0]),a[1]]}):[],Te(function(a){for(var c=-1;++c<n;){var m=e[c];if(Ft(m[0],this,a))return Ft(m[1],this,a)}})}function l8(e){return Ih(qt(e,S))}function qs(e){return function(){return e}}function u8(e,n){return e==null||e!==e?n:e}var c8=mu(),f8=mu(!0);function Rt(e){return e}function Gs(e){return Ul(typeof e=="function"?e:qt(e,S))}function d8(e){return Gl(qt(e,S))}function h8(e,n){return Kl(e,qt(n,S))}var p8=Te(function(e,n){return function(o){return Nr(o,e,n)}}),g8=Te(function(e,n){return function(o){return Nr(e,o,n)}});function Ks(e,n,o){var a=pt(n),c=Pi(n,a);o==null&&!(rt(n)&&(c.length||!a.length))&&(o=n,n=e,e=this,c=Pi(n,pt(n)));var m=!(rt(o)&&"chain"in o)||!!o.chain,b=bn(e);return Vt(c,function(w){var $=n[w];e[w]=$,b&&(e.prototype[w]=function(){var P=this.__chain__;if(m||P){var W=e(this.__wrapped__),U=W.__actions__=$t(this.__actions__);return U.push({func:$,args:arguments,thisArg:e}),W.__chain__=P,W}return $.apply(e,Tn([this.value()],arguments))})}),e}function m8(){return mt._===this&&(mt._=H1),this}function Xs(){}function v8(e){return e=Ae(e),Te(function(n){return Xl(n,e)})}var y8=$s(et),b8=$s(vl),x8=$s(Qo);function pc(e){return Ms(e)?Jo(un(e)):Xh(e)}function w8(e){return function(n){return e==null?i:Xn(e,n)}}var _8=yu(),C8=yu(!0);function Ys(){return[]}function Qs(){return!1}function S8(){return{}}function E8(){return""}function A8(){return!0}function $8(e,n){if(e=Ae(e),e<1||e>ee)return[];var o=ke,a=bt(e,ke);n=he(n),e-=ke;for(var c=ns(a,n);++o<e;)n(o);return c}function k8(e){return _e(e)?et(e,un):Bt(e)?[e]:$t(Mu(Ne(e)))}function T8(e){var n=++W1;return Ne(e)+n}var R8=Ni(function(e,n){return e+n},0),L8=ks("ceil"),O8=Ni(function(e,n){return e/n},1),I8=ks("floor");function M8(e){return e&&e.length?Bi(e,Rt,hs):i}function F8(e,n){return e&&e.length?Bi(e,he(n,2),hs):i}function z8(e){return xl(e,Rt)}function j8(e,n){return xl(e,he(n,2))}function B8(e){return e&&e.length?Bi(e,Rt,vs):i}function P8(e,n){return e&&e.length?Bi(e,he(n,2),vs):i}var W8=Ni(function(e,n){return e*n},1),D8=ks("round"),H8=Ni(function(e,n){return e-n},0);function Z8(e){return e&&e.length?ts(e,Rt):0}function V8(e,n){return e&&e.length?ts(e,he(n,2)):0}return p.after=dm,p.ary=Nu,p.assign=Jm,p.assignIn=oc,p.assignInWith=io,p.assignWith=e2,p.at=t2,p.before=Uu,p.bind=Ws,p.bindAll=s8,p.bindKey=qu,p.castArray=Sm,p.chain=Hu,p.chunk=Ip,p.compact=Mp,p.concat=Fp,p.cond=a8,p.conforms=l8,p.constant=qs,p.countBy=Zg,p.create=n2,p.curry=Gu,p.curryRight=Ku,p.debounce=Xu,p.defaults=r2,p.defaultsDeep=i2,p.defer=hm,p.delay=pm,p.difference=zp,p.differenceBy=jp,p.differenceWith=Bp,p.drop=Pp,p.dropRight=Wp,p.dropRightWhile=Dp,p.dropWhile=Hp,p.fill=Zp,p.filter=Ng,p.flatMap=Gg,p.flatMapDeep=Kg,p.flatMapDepth=Xg,p.flatten=Bu,p.flattenDeep=Vp,p.flattenDepth=Np,p.flip=gm,p.flow=c8,p.flowRight=f8,p.fromPairs=Up,p.functions=f2,p.functionsIn=d2,p.groupBy=Yg,p.initial=Gp,p.intersection=Kp,p.intersectionBy=Xp,p.intersectionWith=Yp,p.invert=p2,p.invertBy=g2,p.invokeMap=Jg,p.iteratee=Gs,p.keyBy=em,p.keys=pt,p.keysIn=Tt,p.map=Qi,p.mapKeys=v2,p.mapValues=y2,p.matches=d8,p.matchesProperty=h8,p.memoize=eo,p.merge=b2,p.mergeWith=sc,p.method=p8,p.methodOf=g8,p.mixin=Ks,p.negate=to,p.nthArg=v8,p.omit=x2,p.omitBy=w2,p.once=mm,p.orderBy=tm,p.over=y8,p.overArgs=vm,p.overEvery=b8,p.overSome=x8,p.partial=Ds,p.partialRight=Yu,p.partition=nm,p.pick=_2,p.pickBy=ac,p.property=pc,p.propertyOf=w8,p.pull=tg,p.pullAll=Wu,p.pullAllBy=ng,p.pullAllWith=rg,p.pullAt=ig,p.range=_8,p.rangeRight=C8,p.rearg=ym,p.reject=om,p.remove=og,p.rest=bm,p.reverse=Bs,p.sampleSize=am,p.set=S2,p.setWith=E2,p.shuffle=lm,p.slice=sg,p.sortBy=fm,p.sortedUniq=hg,p.sortedUniqBy=pg,p.split=G2,p.spread=xm,p.tail=gg,p.take=mg,p.takeRight=vg,p.takeRightWhile=yg,p.takeWhile=bg,p.tap=Mg,p.throttle=wm,p.thru=Yi,p.toArray=nc,p.toPairs=lc,p.toPairsIn=uc,p.toPath=k8,p.toPlainObject=ic,p.transform=A2,p.unary=_m,p.union=xg,p.unionBy=wg,p.unionWith=_g,p.uniq=Cg,p.uniqBy=Sg,p.uniqWith=Eg,p.unset=$2,p.unzip=Ps,p.unzipWith=Du,p.update=k2,p.updateWith=T2,p.values=wr,p.valuesIn=R2,p.without=Ag,p.words=dc,p.wrap=Cm,p.xor=$g,p.xorBy=kg,p.xorWith=Tg,p.zip=Rg,p.zipObject=Lg,p.zipObjectDeep=Og,p.zipWith=Ig,p.entries=lc,p.entriesIn=uc,p.extend=oc,p.extendWith=io,Ks(p,p),p.add=R8,p.attempt=hc,p.camelCase=M2,p.capitalize=cc,p.ceil=L8,p.clamp=L2,p.clone=Em,p.cloneDeep=$m,p.cloneDeepWith=km,p.cloneWith=Am,p.conformsTo=Tm,p.deburr=fc,p.defaultTo=u8,p.divide=O8,p.endsWith=F2,p.eq=nn,p.escape=z2,p.escapeRegExp=j2,p.every=Vg,p.find=Ug,p.findIndex=zu,p.findKey=o2,p.findLast=qg,p.findLastIndex=ju,p.findLastKey=s2,p.floor=I8,p.forEach=Zu,p.forEachRight=Vu,p.forIn=a2,p.forInRight=l2,p.forOwn=u2,p.forOwnRight=c2,p.get=Vs,p.gt=Rm,p.gte=Lm,p.has=h2,p.hasIn=Ns,p.head=Pu,p.identity=Rt,p.includes=Qg,p.indexOf=qp,p.inRange=O2,p.invoke=m2,p.isArguments=Jn,p.isArray=_e,p.isArrayBuffer=Om,p.isArrayLike=kt,p.isArrayLikeObject=lt,p.isBoolean=Im,p.isBuffer=zn,p.isDate=Mm,p.isElement=Fm,p.isEmpty=zm,p.isEqual=jm,p.isEqualWith=Bm,p.isError=Hs,p.isFinite=Pm,p.isFunction=bn,p.isInteger=Qu,p.isLength=no,p.isMap=Ju,p.isMatch=Wm,p.isMatchWith=Dm,p.isNaN=Hm,p.isNative=Zm,p.isNil=Nm,p.isNull=Vm,p.isNumber=ec,p.isObject=rt,p.isObjectLike=st,p.isPlainObject=Yr,p.isRegExp=Zs,p.isSafeInteger=Um,p.isSet=tc,p.isString=ro,p.isSymbol=Bt,p.isTypedArray=xr,p.isUndefined=qm,p.isWeakMap=Gm,p.isWeakSet=Km,p.join=Qp,p.kebabCase=B2,p.last=Kt,p.lastIndexOf=Jp,p.lowerCase=P2,p.lowerFirst=W2,p.lt=Xm,p.lte=Ym,p.max=M8,p.maxBy=F8,p.mean=z8,p.meanBy=j8,p.min=B8,p.minBy=P8,p.stubArray=Ys,p.stubFalse=Qs,p.stubObject=S8,p.stubString=E8,p.stubTrue=A8,p.multiply=W8,p.nth=eg,p.noConflict=m8,p.noop=Xs,p.now=Ji,p.pad=D2,p.padEnd=H2,p.padStart=Z2,p.parseInt=V2,p.random=I2,p.reduce=rm,p.reduceRight=im,p.repeat=N2,p.replace=U2,p.result=C2,p.round=D8,p.runInContext=A,p.sample=sm,p.size=um,p.snakeCase=q2,p.some=cm,p.sortedIndex=ag,p.sortedIndexBy=lg,p.sortedIndexOf=ug,p.sortedLastIndex=cg,p.sortedLastIndexBy=fg,p.sortedLastIndexOf=dg,p.startCase=K2,p.startsWith=X2,p.subtract=H8,p.sum=Z8,p.sumBy=V8,p.template=Y2,p.times=$8,p.toFinite=xn,p.toInteger=Ae,p.toLength=rc,p.toLower=Q2,p.toNumber=Xt,p.toSafeInteger=Qm,p.toString=Ne,p.toUpper=J2,p.trim=e8,p.trimEnd=t8,p.trimStart=n8,p.truncate=r8,p.unescape=i8,p.uniqueId=T8,p.upperCase=o8,p.upperFirst=Us,p.each=Zu,p.eachRight=Vu,p.first=Pu,Ks(p,function(){var e={};return an(p,function(n,o){Ue.call(p.prototype,o)||(e[o]=n)}),e}(),{chain:!1}),p.VERSION=s,Vt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){p[e].placeholder=p}),Vt(["drop","take"],function(e,n){Ie.prototype[e]=function(o){o=o===i?1:dt(Ae(o),0);var a=this.__filtered__&&!n?new Ie(this):this.clone();return a.__filtered__?a.__takeCount__=bt(o,a.__takeCount__):a.__views__.push({size:bt(o,ke),type:e+(a.__dir__<0?"Right":"")}),a},Ie.prototype[e+"Right"]=function(o){return this.reverse()[e](o).reverse()}}),Vt(["filter","map","takeWhile"],function(e,n){var o=n+1,a=o==G||o==te;Ie.prototype[e]=function(c){var m=this.clone();return m.__iteratees__.push({iteratee:he(c,3),type:o}),m.__filtered__=m.__filtered__||a,m}}),Vt(["head","last"],function(e,n){var o="take"+(n?"Right":"");Ie.prototype[e]=function(){return this[o](1).value()[0]}}),Vt(["initial","tail"],function(e,n){var o="drop"+(n?"":"Right");Ie.prototype[e]=function(){return this.__filtered__?new Ie(this):this[o](1)}}),Ie.prototype.compact=function(){return this.filter(Rt)},Ie.prototype.find=function(e){return this.filter(e).head()},Ie.prototype.findLast=function(e){return this.reverse().find(e)},Ie.prototype.invokeMap=Te(function(e,n){return typeof e=="function"?new Ie(this):this.map(function(o){return Nr(o,e,n)})}),Ie.prototype.reject=function(e){return this.filter(to(he(e)))},Ie.prototype.slice=function(e,n){e=Ae(e);var o=this;return o.__filtered__&&(e>0||n<0)?new Ie(o):(e<0?o=o.takeRight(-e):e&&(o=o.drop(e)),n!==i&&(n=Ae(n),o=n<0?o.dropRight(-n):o.take(n-e)),o)},Ie.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Ie.prototype.toArray=function(){return this.take(ke)},an(Ie.prototype,function(e,n){var o=/^(?:filter|find|map|reject)|While$/.test(n),a=/^(?:head|last)$/.test(n),c=p[a?"take"+(n=="last"?"Right":""):n],m=a||/^find/.test(n);c&&(p.prototype[n]=function(){var b=this.__wrapped__,w=a?[1]:arguments,$=b instanceof Ie,P=w[0],W=$||_e(b),U=function(Le){var Fe=c.apply(p,Tn([Le],w));return a&&ne?Fe[0]:Fe};W&&o&&typeof P=="function"&&P.length!=1&&($=W=!1);var ne=this.__chain__,ue=!!this.__actions__.length,ge=m&&!ne,$e=$&&!ue;if(!m&&W){b=$e?b:new Ie(this);var me=e.apply(b,w);return me.__actions__.push({func:Yi,args:[U],thisArg:i}),new Ut(me,ne)}return ge&&$e?e.apply(this,w):(me=this.thru(U),ge?a?me.value()[0]:me.value():me)})}),Vt(["pop","push","shift","sort","splice","unshift"],function(e){var n=Ci[e],o=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",a=/^(?:pop|shift)$/.test(e);p.prototype[e]=function(){var c=arguments;if(a&&!this.__chain__){var m=this.value();return n.apply(_e(m)?m:[],c)}return this[o](function(b){return n.apply(_e(b)?b:[],c)})}}),an(Ie.prototype,function(e,n){var o=p[n];if(o){var a=o.name+"";Ue.call(gr,a)||(gr[a]=[]),gr[a].push({name:n,func:o})}}),gr[Vi(i,I).name]=[{name:"wrapper",func:i}],Ie.prototype.clone=ih,Ie.prototype.reverse=oh,Ie.prototype.value=sh,p.prototype.at=Fg,p.prototype.chain=zg,p.prototype.commit=jg,p.prototype.next=Bg,p.prototype.plant=Wg,p.prototype.reverse=Dg,p.prototype.toJSON=p.prototype.valueOf=p.prototype.value=Hg,p.prototype.first=p.prototype.head,Br&&(p.prototype[Br]=Pg),p},dr=j1();Nn?((Nn.exports=dr)._=dr,Go._=dr):mt._=dr}).call(G8)}(si,si.exports)),si.exports}var ze=K8();const wa=t=>({none:0,hairline:t*.5,thin:t,thick:t*2,heavy:t*4}),_a=t=>({none:0,xs:t*.5,sm:t,md:t*2,lg:t*3,xl:t*4,full:9999}),X8=t=>["none","hairline","thin","thick","heavy"].includes(t),kf=t=>["none","xs","sm","md","lg","xl","full"].includes(t),So={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",primary100:"#F0EDFF",primary200:"#C3B6FF",primary300:"#A592FF",primary400:"#876DFF",primary500:"#6949FF",secondary100:"#FFF9E6",secondary200:"#FFE69C",secondary300:"#FFDA6A",secondary400:"#FFCD39",secondary500:"#FFC107",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",backgroundPurple:"#F9F8FF",backgroundYellow:"#FFFCED",backgroundGreen:"#F1FDF5",backgroundBlue:"#F6F9FF",backgroundTeal:"#F2FFF8",backgroundRed:"#FFF7F8",backgroundOrange:"#FFF8ED"},Tf=t=>t in So,Rf={primary:["#543ACC","#6949FF"],secondary:["#E0A800","#FFC107"],success:["#0FB57A","#12D18E"],danger:["#E64545","#F75555"],warning:["#E1B70D","#FACC15"],info:["#543ACC","#6949FF"]},Y8=t=>["primary","secondary","success","danger","warning","info"].includes(t),Q8=1,J8=8,ev=8,tv="Inter",nv="Sora",rv=10,iv=4,$n={borderWidth:Q8,space:J8,size:ev,font:{neutral:tv,heading:nv},fontSize:rv,radius:iv},Lf=t=>({none:"none",sm:`0 1px 2px 0 ${t.grey400}40`,md:`0 4px 6px -1px ${t.grey500}40, 0 2px 4px -1px ${t.grey400}40`,lg:`0 10px 15px -3px ${t.grey600}40, 0 4px 6px -2px ${t.grey500}40`}),ov=t=>["none","sm","md","lg"].includes(t),Ca=t=>({"2xs":t*.5,xs:t,sm:t*2,"sm-md":t*2.5,md:t*4,"md-lg":t*6,lg:t*8,xl:t*16,"2xl":t*32,"3xl":t*64,"4xl":t*128}),ir=t=>["2xs","xs","sm","sm-md","md","md-lg","lg","xl","2xl","3xl","4xl"].includes(t),Sa=t=>({none:0,"2xs":t*.25,xs:t*.5,sm:t,"sm-md":t*1.5,md:t*2,"md-lg":t*2.5,lg:t*3,xl:t*4,"2xl":t*5,"3xl":t*6,"4xl":t*8,"5xl":t*10,"6xl":t*12,"7xl":t*14,"8xl":t*16,"9xl":t*18,"10xl":t*20,"-xxs":t*-.25,"-xs":t*-.5,"-sm":t*-1,"-sm-md":t*-1.5,"-md":t*-2,"-md-lg":t*-2.5,"-lg":t*-3,"-xl":t*-4,"-2xl":t*-5,"-3xl":t*-6,"-4xl":t*-8,"-5xl":t*-10,"-6xl":t*-12,"-7xl":t*-14,"-8xl":t*-16,"-9xl":t*-18,"-10xl":t*-20}),Of=t=>["none","2xs","xs","sm","sm-md","md","md-lg","lg","xl","2xl","3xl","4xl","-xxs","-xs","-sm","-sm-md","-md","-md-lg","-lg","-xl","-2xl","-3xl","-4xl"].includes(t),Ea=({neutral:t,heading:r})=>({neutral:`"${t}", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif`,heading:`"${r}", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif`}),Eo=t=>({"2xs":t*.75,xs:t,small:t*1.25,medium:t*1.5,large:t*2,xl:t*2.5,"2xl":t*3,"3xl":t*3.5,"4xl":t*4,"5xl":t*5,"6xl":t*6}),Aa=t=>{const r=Eo(t),i=1.4;return{"2xs":r["2xs"]*i,xs:r.xs*i,small:r.small*i,medium:r.medium*i,large:r.large*i,xl:r.xl*i,"2xl":r["2xl"]*i,"3xl":r["3xl"]*i,"4xl":r["4xl"]*i,"5xl":r["5xl"]*i,"6xl":r["6xl"]*i}},$a=()=>({"extra-light":100,thin:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,black:900}),sv=t=>["2xs","xs","small","medium","large","xl","2xl","3xl","4xl","5xl","6xl"].includes(t),av=t=>["extra-light","thin","light","regular","medium","semibold","bold","extrabold","black"].includes(t);class lv{constructor({baseZIndex:r=10,step:i=10}={}){_r(this,"dependencies",new Map);_r(this,"zIndexes",null);_r(this,"nodes",new Set);_r(this,"baseZIndex");_r(this,"step");this.baseZIndex=r,this.step=i}register(r,i){this.nodes.add(r),this.nodes.add(i),this.dependencies.has(r)||this.dependencies.set(r,new Set),this.dependencies.get(r).add(i),this.zIndexes=null}deregister(r,i){const s=this.dependencies.get(r);s&&s.delete(i),this.zIndexes=null}getZIndex(r){return this.zIndexes||this._calculateZIndexes(),this.zIndexes.has(r)?this.zIndexes.get(r):(console.warn(`[ZIndexRegistry] ID '${r}' not found in the calculated z-index map. Returning a fallback value. Was it ever registered?`),this.baseZIndex)}_calculateZIndexes(){const r=new Map;for(const l of this.nodes)r.set(l,0);for(const l of this.dependencies.values())for(const u of l)r.set(u,(r.get(u)||0)+1);const i=[];for(const[l,u]of r.entries())u===0&&i.push(l);const s=[];for(;i.length>0;){const l=i.shift();s.push(l);const u=this.dependencies.get(l)||new Set;for(const f of u){const h=(r.get(f)||0)-1;r.set(f,h),h===0&&i.push(f)}}if(s.length!==this.nodes.size){if(process.env.NODE_ENV!=="production")throw new Error("[ZIndexRegistry] Detected a cycle in the z-index relationships. Cannot resolve the stacking order. Please check the register() function calls.");console.warn("[ZIndexRegistry] Detected a cycle in the z-index relationships. Cannot resolve the stacking order. Please check the register() function calls.")}this.zIndexes=new Map;for(let l=0;l<s.length;l++){const u=s[l];this.zIndexes.set(u,this.baseZIndex+l*this.step)}}}const ar=new lv({baseZIndex:100,step:10}),sn={AIC_Kits_PageContent:"AIC_Kits_PageContent",AIC_Kits_Carousel:"AIC_Kits_Carousel",AIC_Kits_Dropdown:"AIC_Kits_Dropdown",AIC_Kits_Tooltip:"AIC_Kits_Tooltip",AIC_Kits_Modal:"AIC_Kits_Modal",AIC_Kits_Notification:"AIC_Kits_Notification"};ar.register(sn.AIC_Kits_PageContent,sn.AIC_Kits_Carousel);ar.register(sn.AIC_Kits_Carousel,sn.AIC_Kits_Dropdown);ar.register(sn.AIC_Kits_Dropdown,sn.AIC_Kits_Tooltip);ar.register(sn.AIC_Kits_Tooltip,sn.AIC_Kits_Modal);ar.register(sn.AIC_Kits_Modal,sn.AIC_Kits_Notification);const uv=(t=$n,r=So,i=Rf)=>{const s=Ea(t.font),l=Eo(t.fontSize),u=Aa(t.fontSize),f=$a(),h=wa(t.borderWidth),g=Sa(t.space),v=Ca(t.size),_=_a(t.radius),S=Lf(r);return{colors:r,gradientColors:i,fonts:s,fontSizes:l,lineHeights:u,fontWeights:f,borderWidths:h,spaces:g,sizes:v,radii:_,shadows:S}},If=t=>({paddingVertical:"md",paddingHorizontal:"md",borderRadius:"lg",borderColor:"grey300",borderWidth:"thin",backgroundColor:"white",gap:"md",header:{gap:"sm-md",iconSize:"sm",iconColor:"grey600",disabledOpacity:.5},animation:{duration:300,easing:"ease"}}),Mf=t=>({defaultSize:"md",defaultIconSize:"md",defaultEmojiSize:"lg",defaultBrandSize:"md",defaultImageSize:"md",defaultSvgSize:"md"}),Ff=t=>({defaultSize:"md",defaultFallbackTextSize:"medium",fallbackBackgroundColor:"grey400",sizes:{sm:{fallbackTextSize:"small"},md:{fallbackTextSize:"medium"},lg:{fallbackTextSize:"xl"}}}),zf=t=>({defaultSize:"md",defaultVariant:"default",sizes:{sm:{barSpacing:8,barRadius:2,axisColor:"grey600",gridColor:"grey200",labelColor:"grey600"},md:{barSpacing:12,barRadius:4,axisColor:"grey600",gridColor:"grey200",labelColor:"grey600"},lg:{barSpacing:16,barRadius:6,axisColor:"grey600",gridColor:"grey200",labelColor:"grey600"}},variants:{default:{defaultBarColor:"primary"},soft:{defaultBarColor:"secondary"},outlined:{defaultBarColor:"info"}}}),jf=t=>({defaultBackgroundColor:"white",defaultHeaderParams:{backgroundColor:"white"},desktopMediaQuery:"(min-width: 768px)",mobilePaddingX:"md",desktopPaddingX:"xl",desktopContentMaxWidth:"1200px"}),Bf=t=>({loadingConfig:{size:"md"},defaultColor:"primary",defaultTextColor:"white",iconSpacing:"xs",sizes:{sm:{paddingHorizontal:"sm",paddingVertical:"xs",fontSize:"xs",iconSize:"sm",borderWidth:"thin",fontWeight:"regular",iconWeight:"regular",squircleBorderRadii:{circle:"full",rounded:"md",square:"none"}},md:{paddingHorizontal:"md",paddingVertical:"sm",fontSize:"medium",iconSize:"sm-md",borderWidth:"thin",fontWeight:"regular",iconWeight:"regular",squircleBorderRadii:{circle:"full",rounded:"lg",square:"none"}},lg:{paddingHorizontal:"lg",paddingVertical:"md",fontSize:"large",iconSize:"md",borderWidth:"thick",fontWeight:"semibold",iconWeight:"bold",squircleBorderRadii:{circle:"full",rounded:"xl",square:"none"}}},variants:{solid:{},outlined:{bgColor:"transparent"},text:{bgColor:"transparent"}}}),Pf=t=>({pagination:{container:{marginTop:"md",padding:"xs",borderRadius:"full",backgroundColor:"grey100",gap:"xs"},dotSize:"2xs",inactiveColor:"grey300",activeColor:"primary",dotBorderRadius:"full"},navigation:{marginHorizontal:"md",buttonColor:"primary",buttonPadding:"sm",buttonBackgroundColor:"white",buttonBorderRadius:"full",iconSize:"sm-md"},autoScroll:{defaultSpeed:20},container:{defaultItemSpacing:"md"}}),Wf=t=>({defaultColor:"primary",defaultSize:"md",checkedBackgroundColor:"primary",uncheckedBorderColor:"grey400",disabledColor:"grey300",disabledTextColor:"grey500",focusBorderColor:"primary",iconColor:"white",textColor:"grey900",sizes:{sm:{labelFontSize:"small",labelPaddingLeft:"xs",iconSize:"xs",iconMargin:"2xs",borderRadius:"sm",borderWidth:"thin"},md:{labelFontSize:"medium",labelPaddingLeft:"sm",iconSize:"sm",iconMargin:"xs",borderRadius:"md",borderWidth:"thin"},lg:{labelFontSize:"large",labelPaddingLeft:"md",iconSize:"sm-md",iconMargin:"xs",borderRadius:"lg",borderWidth:"thin"}},animation:{duration:100,easing:"ease-out"}}),Df=t=>({defaultColor:"grey300",defaultThickness:1}),Hf=t=>{const r=`0 0 16px 4px ${t.colors.grey400}40`;return{backgroundColor:"grey100",padding:"xs",radius:"full",avatarSize:"md",loadingGap:"sm",navItem:{radius:"full",paddingX:"md",paddingY:"sm",gap:"xs",large:{gap:"sm",containerHeight:30,fontSize:"large",iconSize:28,loadingSize:"small"},medium:{gap:"xs",containerHeight:24,fontSize:"medium",iconSize:22,loadingSize:"small"},active:{fontWeight:"medium",color:"black",backgroundColor:"white",hoverBackgroundColor:"white",hoverBoxShadow:r},inactive:{fontWeight:"regular",color:"grey600",backgroundColor:"transparent",hoverBackgroundColor:"white",hoverBoxShadow:r},hover:{color:"primary"}},profileDropdown:{offset:{top:72,right:0},containerPaddingRight:"md",spacingTop:"sm",padding:"sm",gap:"sm",borderRadius:24,boxShadow:r,backgroundColor:"white",defaultMaxHeight:300,minWidth:50,animationDuration:300},navDropdown:{spacingTop:"sm",paddingX:"md-lg",paddingY:"md",gap:"sm-md",borderRadius:24,boxShadow:r,backgroundColor:"white",defaultMaxHeight:300,minWidth:50,animationDuration:300}}},Zf=t=>{const r="grey300",i="danger",s="primary",l="grey100",u="grey300",f="grey500",h="white",g="grey900",v="thin",_=`inset 0 0 0 ${t.borderWidths.thin}px ${t.colors[s]}`,S=`inset 0 0 0 ${t.borderWidths.thin}px ${t.colors[i]}`;return{borderRadius:"md",borderWidth:v,padding:{vertical:"sm",horizontal:"md"},fontSize:"medium",placeholderColor:"grey500",iconSpacing:"sm",iconSize:"sm-md",iconColor:"grey600",textColor:g,disabledTextColor:f,disabledBorderColor:u,focusColor:s,errorColor:i,states:{default:{borderColor:r,backgroundColor:h,boxShadow:"none"},focused:{borderColor:s,backgroundColor:h,boxShadow:_},error:{borderColor:i,backgroundColor:h,boxShadow:S},disabled:{borderColor:u,backgroundColor:l,boxShadow:"none"}}}},Vf=t=>({defaultSize:"md",defaultVariant:"default",sizes:{sm:{strokeWidth:1.5,dotRadius:3,axisColor:"grey600",gridColor:"grey200",labelColor:"grey600",labelFontSize:10,legendFontSize:12,legendSpacing:8},md:{strokeWidth:2,dotRadius:4,axisColor:"grey600",gridColor:"grey200",labelColor:"grey600",labelFontSize:12,legendFontSize:14,legendSpacing:12},lg:{strokeWidth:3,dotRadius:5,axisColor:"grey600",gridColor:"grey200",labelColor:"grey600",labelFontSize:14,legendFontSize:16,legendSpacing:16}},variants:{default:{defaultColors:["primary","secondary","success","warning","danger","info","purple500"]},soft:{defaultColors:["primary300","secondary300","teal300","lime400","pink400","purple400","cyan400"]},bold:{defaultColors:["primary500","secondary500","teal600","orange600","pink600","purple600","cyan600"]}}}),Nf=t=>({defaultGap:"sm",defaultPadding:"none"}),Uf=t=>({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}}),qf=t=>({container:{sizes:{small:{gap:"xs"},medium:{gap:"sm"},large:{gap:"md"}}},item:{defaultColor:"grey900",text:{color:"black",disabledColor:"grey500"},shapes:{circular:{container:{borderRadius:"full"}},rounded:{container:{borderRadius:"md"}}},sizes:{small:{container:{size:"sm-md"},text:{fontSize:"small"},buttonSize:"sm",icon:{size:"xs",weight:"bold"}},medium:{container:{size:"md"},text:{fontSize:"medium"},buttonSize:"md",icon:{size:"sm",weight:"bold"}},large:{container:{size:"md-lg"},text:{fontSize:"large"},buttonSize:"lg",icon:{size:"sm-md",weight:"bold"}}}}}),Gf=t=>({defaultSize:"md",defaultVariant:"default",sizes:{sm:{strokeWidth:1,strokeColor:"white",labelColor:"grey700",labelFontSize:10,legendFontSize:12,legendSpacing:8},md:{strokeWidth:2,strokeColor:"white",labelColor:"grey700",labelFontSize:12,legendFontSize:14,legendSpacing:12},lg:{strokeWidth:3,strokeColor:"white",labelColor:"grey700",labelFontSize:14,legendFontSize:16,legendSpacing:16}},variants:{default:{defaultColors:["primary","secondary","success","warning","danger","info","cyan500"]},soft:{defaultColors:["primary200","secondary200","lime300","orange300","pink300","purple300","cyan300"]},outlined:{defaultColors:["primary500","secondary500","teal700","orange700","pink700","purple700","cyan700"]}}}),Kf=t=>({defaultVariant:"soft",defaultSize:"md",sizes:{sm:{height:"2xs",borderRadius:"xs"},md:{height:"xs",borderRadius:"sm"},lg:{height:"sm",borderRadius:"md"}},variants:{soft:{containerBackgroundColor:"grey100",defaultProgressColor:"primary"},outlined:{containerBackgroundColor:"white",containerBorderWidth:"thin",defaultProgressColor:"primary"},plain:{containerBackgroundColor:"white",defaultProgressColor:"primary"}}}),Xf=t=>{const r="grey300",i="danger",s="grey300",l="grey100",u="grey400",f="grey100",h="grey200",g="white",v="transparent",_="thin",S="thick";return{defaultColor:"primary",defaultSize:"md",defaultVariant:"outlined",defaultCorner:"circle",squircleBorderRadii:{circle:"999px",rounded:"8px"},labelColor:"grey700",disabledLabelColor:u,valueColor:"grey900",placeholderColor:"grey500",helperTextColor:"grey600",errorColor:i,iconColor:"grey600",disabledContentColor:u,disabledOpacity:.6,sizes:{sm:{paddingVertical:"xs",paddingHorizontal:"sm",fontSize:"small",borderWidth:"thin",iconSize:"sm",gap:"xs",dropdownPaddingVertical:"xs",dropdownPaddingHorizontal:"sm"},md:{paddingVertical:"sm",paddingHorizontal:"md",fontSize:"medium",borderWidth:"thin",iconSize:"sm-md",gap:"sm",dropdownPaddingVertical:"sm",dropdownPaddingHorizontal:"md"},lg:{paddingVertical:"md",paddingHorizontal:"lg",fontSize:"large",borderWidth:"thin",iconSize:"md",gap:"md",dropdownPaddingVertical:"md",dropdownPaddingHorizontal:"lg"}},variants:{outlined:{default:{backgroundColor:v,borderColor:r,borderWidth:_},hover:{backgroundColor:"grey100",borderColor:r,borderWidth:_},focused:{backgroundColor:v,borderColor:"primary",borderWidth:S},disabled:{backgroundColor:v,borderColor:s,borderWidth:_},errored:{backgroundColor:v,borderColor:i,borderWidth:_}},filled:{default:{backgroundColor:f,borderColor:v,borderWidth:_},hover:{backgroundColor:h,borderColor:v,borderWidth:_},focused:{backgroundColor:g,borderColor:"primary",borderWidth:S},disabled:{backgroundColor:l,borderColor:v,borderWidth:_},errored:{backgroundColor:g,borderColor:i,borderWidth:_}}},animation:{duration:200,easing:"ease-out"},dropdown:{backgroundColor:g,borderColor:r,shadow:"md",offset:"sm",zIndex:1e3,maxHeight:200,borderRadiusForCircle:"xl",borderRadiusForRounded:"md",itemTextColor:"grey900",itemSelectedTextColor:"grey900",itemHoverBackgroundColor:"grey100",itemSelectedBackgroundColor:"white",emptyTextColor:"grey500"}}},Yf=t=>({animation:{duration:1500,gradient:{start:"grey100",middle:"grey200",end:"grey100"},transition:{backgroundDuration:250,contentFadeDuration:200}},container:{rectangle:{borderRadius:"none",opacity:1},rounded:{borderRadius:"md",opacity:1},circle:{borderRadius:"full",opacity:1},transparent:{borderRadius:"none",opacity:0}}}),Qf=t=>({defaultVariant:"solid",defaultColor:"primary",defaultRadius:"full",defaultSize:"md",sizes:{sm:{paddingVertical:"2xs",paddingHorizontal:"xs",fontSize:"xs",gap:"2xs",iconSize:"xs"},md:{paddingVertical:"xs",paddingHorizontal:"sm",fontSize:"small",gap:"xs",iconSize:"sm"},lg:{paddingVertical:"sm",paddingHorizontal:"md",fontSize:"medium",gap:"sm",iconSize:"sm-md"}}}),Jf=t=>{const r="sm";return{defaultBackgroundColor:"grey800",defaultTextColor:"white",defaultPlacement:"bottom",container:{padding:"sm",borderRadius:"md",shadow:"md",zIndex:9999,maxWidth:"300px"},text:{fontSize:"small"},positioning:{spacing:r,placements:{top:{bottom:"100%",left:"50%",transform:"translateX(-50%)",mb:r},bottom:{top:"100%",left:"50%",transform:"translateX(-50%)",mt:r},left:{top:"50%",right:"100%",transform:"translateY(-50%)",mr:r},right:{top:"50%",left:"100%",transform:"translateY(-50%)",ml:r}}}}},ed=t=>({animation:{minScale:.92,maxScale:1,minOpacity:.7,maxOpacity:1,springConfig:{mass:.5}}}),td=t=>({defaultAccentColor:"#00adef",aspectRatio:56.25,playerSettings:{autoplay:!1,muted:!1,loop:!1,title:!1,byline:!1,portrait:!1,controls:!0}}),nd=t=>({art:Mf(),base:jf(),button:Bf(),divider:Df(),header:Hf(t),input:Zf(t),list:Nf(),loading:Uf(),pagination:qf(),skeleton:Yf(),touchable:ed(),vimeo:td(),carousel:Pf(),accordion:If(),tag:Qf(),checkbox:Wf(),select:Xf(),progress:Kf(),avatar:Ff(),tooltip:Jf(),barChart:zf(),pieChart:Gf(),lineChart:Vf()}),cv=Sa($n.space),fv=Ca($n.size),dv=wa($n.borderWidth),hv=_a($n.radius),pv=Eo($n.fontSize),gv=Aa($n.fontSize),mv=$a(),vc=Ea($n.font),vv={spaces:cv,sizes:fv,colors:So,radii:hv,borderWidths:dv,fonts:vc,zIndex:ar,__hd__:{text:{fontSizes:pv,lineHeights:gv,fontWeights:mv,fonts:vc}}};function rd(){const t=vv,r=nd(t);return{...t,__hd__:{...t.__hd__,...r}}}const po=rd(),ae=Dn.styled,Hn=Dn.keyframes,at=Dn.css,id=(t,r)=>!["theme","themeFontSize","themeFontWeight","themeTypeface","themePosition","color","bg","bgColor","backgroundColor","opacity","margin","m","marginTop","mt","marginRight","mr","marginBottom","mb","marginLeft","ml","marginX","mx","marginY","my","padding","p","paddingTop","pt","paddingRight","pr","paddingBottom","pb","paddingLeft","pl","paddingX","px","paddingY","py","gap","borderRadius","r","radius","borderBottomLeftRadius","bbl","borderBottomRightRadius","bbr","borderTopLeftRadius","btl","borderTopRightRadius","btr","borderWidth","b","borderBottomWidth","bb","borderTopWidth","bt","borderLeftWidth","bl","borderRightWidth","br","borderColor","bc","borderBottomColor","bb","borderTopColor","bt","borderLeftColor","bl","borderRightColor","br","fontSize","fontWeight","lineHeight","letterSpacing","textAlign","fontStyle","textTransform","textDecoration","themeColor","useRichText","width","height","minWidth","maxWidth","minHeight","maxHeight","display","alignItems","alignContent","justifyContent","flexWrap","flexDirection","flex","flexGrow","flexShrink","flexBasis","alignSelf","position","top","right","bottom","left","overflow","cursor","transition","transform","animation","willChange","pointerEvents","userSelect","resize","boxShadow","textShadow","filter","backdropFilter","mixBlendMode","isolation","zIndex","marginInline","marginBlock","paddingInline","paddingBlock","whiteSpace","textOverflow","overflowY","overflowX","fullWidth","fullHeight","fw","fh","absoluteFill"].includes(t),yv=t=>typeof t=="function"?t(po):t?{...po,...t}:po,bv=({theme:t,children:r})=>{const i=yv(t);return y.jsx(Dn.StyleSheetManager,{shouldForwardProp:id,children:y.jsx(Dn.ThemeProvider,{theme:i,children:r})})},xe=Dn.useTheme,yt=()=>typeof document>"u",pi={xs:0,sm:600,md:900,lg:1200,xl:1536},ui=Object.keys(pi),Ao=t=>ze.isObject(t)&&("xs"in t||"sm"in t||"md"in t||"lg"in t||"xl"in t),Dt=(t,r)=>Ao(t)?Object.fromEntries(Object.entries(t).map(([i,s])=>[i,r(s)])):r(t),da=t=>ze.reduce(t,(r,i,s)=>(ze.forEach(i,(l,u)=>{ze.has(r,u)||ze.set(r,u,{}),ze.set(r,[u,s],l)}),r),{}),od=(t,r)=>{const i=Object.fromEntries(Object.keys(t).map(h=>[h,ka(t[h])])),s=da(i),l=Object.fromEntries(ui.map(h=>[h,r(s[h])])),u=da(l);return Object.fromEntries(Object.entries(u).map(([h,g])=>[h,ad(g)]))},sd=(t,r)=>{if(!Ao(t))return t;switch(r){case"xs":return t.xs??t.sm??t.md??t.lg??t.xl;case"sm":return t.sm??t.xs??t.md??t.lg??t.xl;case"md":return t.md??t.sm??t.xs??t.lg??t.xl;case"lg":return t.lg??t.md??t.sm??t.xs??t.xl;case"xl":return t.xl??t.lg??t.md??t.sm??t.xs}},ka=t=>Object.fromEntries(Object.keys(pi).map(r=>[r,sd(t,r)])),ad=t=>{let r=t.xs;const i={xs:r};for(let s=1;s<ui.length;s++){const l=ui[s],u=t[l];ze.isEqual(u,r)||(i[l]=u,r=u)}return Object.keys(i).length===1?i.xs:i},Mr=t=>{const[r,i]=ze.partition(Object.entries(t),([u,f])=>Ao(f)),s=Object.fromEntries(r.map(([u,f])=>[u,ka(f)])),l=ze.compact(ui.map(u=>{const f=Object.fromEntries(Object.keys(s).map(g=>[g,s[g][u]]));if(u==="xs"){const g={...Object.fromEntries(i),...f};return ze.isEmpty(g)?null:at(g)}if(ze.isEmpty(f))return null;const h=`(min-width: ${pi[u]}px)`;return at`
28
+ @media ${h} {
29
29
  ${at(f)}
30
30
  }
31
- `}));return at`${l}`},m8={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"}},v8={m:{property:"margin",scale:"spaces"},mt:{property:"marginTop",scale:"spaces"},mb:{property:"marginBottom",scale:"spaces"},ml:{property:"marginLeft",scale:"spaces"},mr:{property:"marginRight",scale:"spaces"},mx:{property:"marginInline",scale:"spaces"},my:{property:"marginBlock",scale:"spaces"},p:{property:"padding",scale:"spaces"},pt:{property:"paddingTop",scale:"spaces"},pb:{property:"paddingBottom",scale:"spaces"},pl:{property:"paddingLeft",scale:"spaces"},pr:{property:"paddingRight",scale:"spaces"},px:{property:"paddingInline",scale:"spaces"},py:{property:"paddingBlock",scale:"spaces"},margin:{property:"margin",scale:"spaces"},marginBottom:{property:"marginBottom",scale:"spaces"},marginLeft:{property:"marginLeft",scale:"spaces"},marginRight:{property:"marginRight",scale:"spaces"},marginTop:{property:"marginTop",scale:"spaces"},marginX:{property:"marginInline",scale:"spaces"},marginY:{property:"marginBlock",scale:"spaces"},padding:{property:"padding",scale:"spaces"},paddingBottom:{property:"paddingBottom",scale:"spaces"},paddingLeft:{property:"paddingLeft",scale:"spaces"},paddingRight:{property:"paddingRight",scale:"spaces"},paddingTop:{property:"paddingTop",scale:"spaces"},paddingX:{property:"paddingInline",scale:"spaces"},paddingY:{property:"paddingBlock",scale:"spaces"},gap:{property:"gap",scale:"spaces"}},y8={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"}},b8={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"}},sd={...m8,...v8,...y8,...b8},ad=["alignContent","alignItems","alignSelf","display","flex","flexBasis","flexDirection","flexGrow","flexShrink","flexWrap","justifyContent","position","top","right","bottom","left","overflow","width","minWidth","maxWidth","height","minHeight","maxHeight","opacity","cursor","transition","transform","animation","willChange","pointerEvents","userSelect","resize","boxShadow","textShadow","filter","backdropFilter","mixBlendMode","isolation","zIndex","marginInline","marginBlock","paddingInline","paddingBlock","willChange","whiteSpace","textOverflow","overflowY","overflowX"],ka=["absoluteFill","fullWidth","fullHeight","fw","fh"],ld={absoluteFill:{position:"absolute",top:0,bottom:0,left:0,right:0},fullWidth:{width:"100%"},fullHeight:{height:"100%"},fw:{width:"100%"},fh:{height:"100%"}},ud=(n,r,i)=>{const s=sd[r],l=i[r];if(!l)return;const{scale:u,property:f}=s;switch(u){case"colors":return{[f]:Dt(l,d=>n.colors[d])};case"spaces":return{[f]:Dt(l,d=>n.spaces[d])};case"radii":return{[f]:Dt(l,d=>n.radii[d])};case"borderWidths":return{[f]:Dt(l,d=>n.borderWidths[d])}}},cd=(n,r)=>Object.keys(r).reduce((s,l)=>({...s,...ud(n,l,r)}),{}),w8=n=>ka.reduce((r,i)=>n[i]?{...r,...ld[i]}:r,{}),fd=Object.keys(sd),dd=(n,r)=>{const i=ze.pick(r,fd),s=ze.pick(r,[...ad]),l=ze.pick(r,[...ka]);return Mr({...cd(n,i),...w8(l),...s})},hd=ae.div(({theme:n,...r})=>dd(n,r));function x8({children:n,style:r,"data-testid":i,...s},l){return y.jsx(hd,{...s,style:r,ref:l,"data-testid":i,children:n})}const X=h.forwardRef(x8),wt=(n,r)=>typeof r=="number"?`${r}px`:ze.isString(r)?ir(r)?`${n.sizes[r]}px`:r:"auto",pd=n=>new RegExp("\\p{Emoji}","u").test(n)&&n.length<=2,gd=n=>ze.isString(n)&&n.includes("icon-"),md=n=>{const r=[".jpg",".jpeg",".png",".gif",".webp",".svg"],i=n.toLowerCase();return ze.isString(n)&&(r.some(s=>i.endsWith(s))||n.startsWith("data:image/")||n.startsWith("http"))},vd=n=>ze.isString(n)&&n.startsWith("<svg"),yd=({art:n,width:r,height:i,style:s,"data-testid":l,...u})=>{const f=_e(),d=f.__hd__.art.defaultBrandSize||f.__hd__.art.defaultSize,g=wt(f,r??d),v=wt(f,i??d);return y.jsx(X,{display:"flex",alignItems:"center",justifyContent:"center",width:g,height:v,style:s,"data-testid":l,...u,children:n})},bd=({art:n,size:r,style:i,"data-testid":s,...l})=>{const u=_e(),f=u.__hd__.art.defaultEmojiSize||u.__hd__.art.defaultSize,d=wt(u,r??f),g=typeof d=="string"&&d.endsWith("px")?parseInt(d,10):u.__hd__.text.fontSizes[f]??24,v=u.__hd__.text.lineHeights[f]?`${u.__hd__.text.lineHeights[f]/g}`:"1";return y.jsx(X,{display:"flex",alignItems:"center",justifyContent:"center",width:d,height:d,style:{...i,fontSize:d,lineHeight:v},"data-testid":s,...l,children:n})},Ta=({art:n,size:r,color:i="currentColor",weight:s="regular",style:l,"data-testid":u,...f})=>{const d=_e(),g=d.__hd__.art.defaultIconSize||d.__hd__.art.defaultSize,v=wt(d,r??g),C=n;if(!C)return process.env.NODE_ENV!=="production"&&console.warn(`[IconArt] Icon component not found for art="${n}". This should not happen with TypeScript checks.`),null;const S=$f(i)?d.colors[i]:i;return y.jsx(X,{display:"flex",alignItems:"center",justifyContent:"center",width:v,height:v,style:l,"data-testid":u,...f,children:y.jsx(C,{size:v,color:S,weight:s,style:l})})},_8=new Map([["bold",h.createElement(h.Fragment,null,h.createElement("path",{d:"M208.49,199.51a12,12,0,0,1-17,17l-80-80a12,12,0,0,1,0-17l80-80a12,12,0,0,1,17,17L137,128ZM57,128l71.52-71.51a12,12,0,0,0-17-17l-80,80a12,12,0,0,0,0,17l80,80a12,12,0,0,0,17-17Z"}))],["duotone",h.createElement(h.Fragment,null,h.createElement("path",{d:"M200,48V208l-80-80Z",opacity:"0.2"}),h.createElement("path",{d:"M203.06,40.61a8,8,0,0,0-8.72,1.73l-80,80a8,8,0,0,0,0,11.32l80,80A8,8,0,0,0,208,208V48A8,8,0,0,0,203.06,40.61ZM192,188.69,131.31,128,192,67.31Zm-66.34,13.65a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L51.31,128Z"}))],["fill",h.createElement(h.Fragment,null,h.createElement("path",{d:"M208,48V208a8,8,0,0,1-13.66,5.66L128,147.31V208a8,8,0,0,1-13.66,5.66l-80-80a8,8,0,0,1,0-11.32l80-80A8,8,0,0,1,128,48v60.69l66.34-66.35A8,8,0,0,1,208,48Z"}))],["light",h.createElement(h.Fragment,null,h.createElement("path",{d:"M204.24,203.76a6,6,0,1,1-8.48,8.48l-80-80a6,6,0,0,1,0-8.48l80-80a6,6,0,0,1,8.48,8.48L128.49,128ZM48.49,128l75.75-75.76a6,6,0,0,0-8.48-8.48l-80,80a6,6,0,0,0,0,8.48l80,80a6,6,0,1,0,8.48-8.48Z"}))],["regular",h.createElement(h.Fragment,null,h.createElement("path",{d:"M205.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L131.31,128ZM51.31,128l74.35-74.34a8,8,0,0,0-11.32-11.32l-80,80a8,8,0,0,0,0,11.32l80,80a8,8,0,0,0,11.32-11.32Z"}))],["thin",h.createElement(h.Fragment,null,h.createElement("path",{d:"M202.83,205.17a4,4,0,0,1-5.66,5.66l-80-80a4,4,0,0,1,0-5.66l80-80a4,4,0,1,1,5.66,5.66L125.66,128ZM45.66,128l77.17-77.17a4,4,0,0,0-5.66-5.66l-80,80a4,4,0,0,0,0,5.66l80,80a4,4,0,1,0,5.66-5.66Z"}))]]),C8=new Map([["bold",h.createElement(h.Fragment,null,h.createElement("path",{d:"M144.49,136.49l-80,80a12,12,0,0,1-17-17L119,128,47.51,56.49a12,12,0,0,1,17-17l80,80A12,12,0,0,1,144.49,136.49Zm80-17-80-80a12,12,0,1,0-17,17L199,128l-71.52,71.51a12,12,0,0,0,17,17l80-80A12,12,0,0,0,224.49,119.51Z"}))],["duotone",h.createElement(h.Fragment,null,h.createElement("path",{d:"M136,128,56,208V48Z",opacity:"0.2"}),h.createElement("path",{d:"M141.66,122.34l-80-80A8,8,0,0,0,48,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,141.66,122.34ZM64,188.69V67.31L124.69,128Zm157.66-55-80,80a8,8,0,0,1-11.32-11.32L204.69,128,130.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,221.66,133.66Z"}))],["fill",h.createElement(h.Fragment,null,h.createElement("path",{d:"M221.66,133.66l-80,80A8,8,0,0,1,128,208V147.31L61.66,213.66A8,8,0,0,1,48,208V48a8,8,0,0,1,13.66-5.66L128,108.69V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,221.66,133.66Z"}))],["light",h.createElement(h.Fragment,null,h.createElement("path",{d:"M140.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L127.51,128,51.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,140.24,132.24Zm80-8.48-80-80a6,6,0,0,0-8.48,8.48L207.51,128l-75.75,75.76a6,6,0,1,0,8.48,8.48l80-80A6,6,0,0,0,220.24,123.76Z"}))],["regular",h.createElement(h.Fragment,null,h.createElement("path",{d:"M141.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L124.69,128,50.34,53.66A8,8,0,0,1,61.66,42.34l80,80A8,8,0,0,1,141.66,133.66Zm80-11.32-80-80a8,8,0,0,0-11.32,11.32L204.69,128l-74.35,74.34a8,8,0,0,0,11.32,11.32l80-80A8,8,0,0,0,221.66,122.34Z"}))],["thin",h.createElement(h.Fragment,null,h.createElement("path",{d:"M138.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L130.34,128,53.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,138.83,130.83Zm80-5.66-80-80a4,4,0,0,0-5.66,5.66L210.34,128l-77.17,77.17a4,4,0,0,0,5.66,5.66l80-80A4,4,0,0,0,218.83,125.17Z"}))]]),S8=new Map([["bold",h.createElement(h.Fragment,null,h.createElement("path",{d:"M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z"}))],["duotone",h.createElement(h.Fragment,null,h.createElement("path",{d:"M208,96l-80,80L48,96Z",opacity:"0.2"}),h.createElement("path",{d:"M215.39,92.94A8,8,0,0,0,208,88H48a8,8,0,0,0-5.66,13.66l80,80a8,8,0,0,0,11.32,0l80-80A8,8,0,0,0,215.39,92.94ZM128,164.69,67.31,104H188.69Z"}))],["fill",h.createElement(h.Fragment,null,h.createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,48,88H208a8,8,0,0,1,5.66,13.66Z"}))],["light",h.createElement(h.Fragment,null,h.createElement("path",{d:"M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z"}))],["regular",h.createElement(h.Fragment,null,h.createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z"}))],["thin",h.createElement(h.Fragment,null,h.createElement("path",{d:"M210.83,98.83l-80,80a4,4,0,0,1-5.66,0l-80-80a4,4,0,0,1,5.66-5.66L128,170.34l77.17-77.17a4,4,0,1,1,5.66,5.66Z"}))]]),E8=new Map([["bold",h.createElement(h.Fragment,null,h.createElement("path",{d:"M168.49,199.51a12,12,0,0,1-17,17l-80-80a12,12,0,0,1,0-17l80-80a12,12,0,0,1,17,17L97,128Z"}))],["duotone",h.createElement(h.Fragment,null,h.createElement("path",{d:"M160,48V208L80,128Z",opacity:"0.2"}),h.createElement("path",{d:"M163.06,40.61a8,8,0,0,0-8.72,1.73l-80,80a8,8,0,0,0,0,11.32l80,80A8,8,0,0,0,168,208V48A8,8,0,0,0,163.06,40.61ZM152,188.69,91.31,128,152,67.31Z"}))],["fill",h.createElement(h.Fragment,null,h.createElement("path",{d:"M168,48V208a8,8,0,0,1-13.66,5.66l-80-80a8,8,0,0,1,0-11.32l80-80A8,8,0,0,1,168,48Z"}))],["light",h.createElement(h.Fragment,null,h.createElement("path",{d:"M164.24,203.76a6,6,0,1,1-8.48,8.48l-80-80a6,6,0,0,1,0-8.48l80-80a6,6,0,0,1,8.48,8.48L88.49,128Z"}))],["regular",h.createElement(h.Fragment,null,h.createElement("path",{d:"M165.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L91.31,128Z"}))],["thin",h.createElement(h.Fragment,null,h.createElement("path",{d:"M162.83,205.17a4,4,0,0,1-5.66,5.66l-80-80a4,4,0,0,1,0-5.66l80-80a4,4,0,1,1,5.66,5.66L85.66,128Z"}))]]),A8=new Map([["bold",h.createElement(h.Fragment,null,h.createElement("path",{d:"M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z"}))],["duotone",h.createElement(h.Fragment,null,h.createElement("path",{d:"M176,128,96,208V48Z",opacity:"0.2"}),h.createElement("path",{d:"M181.66,122.34l-80-80A8,8,0,0,0,88,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,181.66,122.34ZM104,188.69V67.31L164.69,128Z"}))],["fill",h.createElement(h.Fragment,null,h.createElement("path",{d:"M181.66,133.66l-80,80A8,8,0,0,1,88,208V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,181.66,133.66Z"}))],["light",h.createElement(h.Fragment,null,h.createElement("path",{d:"M180.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L167.51,128,91.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,180.24,132.24Z"}))],["regular",h.createElement(h.Fragment,null,h.createElement("path",{d:"M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"}))],["thin",h.createElement(h.Fragment,null,h.createElement("path",{d:"M178.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L170.34,128,93.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,178.83,130.83Z"}))]]),$8=new Map([["bold",h.createElement(h.Fragment,null,h.createElement("path",{d:"M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z"}))],["duotone",h.createElement(h.Fragment,null,h.createElement("path",{d:"M232,56V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Z",opacity:"0.2"}),h.createElement("path",{d:"M205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"}))],["fill",h.createElement(h.Fragment,null,h.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"}))],["light",h.createElement(h.Fragment,null,h.createElement("path",{d:"M228.24,76.24l-128,128a6,6,0,0,1-8.48,0l-56-56a6,6,0,0,1,8.48-8.48L96,191.51,219.76,67.76a6,6,0,0,1,8.48,8.48Z"}))],["regular",h.createElement(h.Fragment,null,h.createElement("path",{d:"M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"}))],["thin",h.createElement(h.Fragment,null,h.createElement("path",{d:"M226.83,74.83l-128,128a4,4,0,0,1-5.66,0l-56-56a4,4,0,0,1,5.66-5.66L96,194.34,221.17,69.17a4,4,0,1,1,5.66,5.66Z"}))]]),k8=new Map([["bold",h.createElement(h.Fragment,null,h.createElement("path",{d:"M251,123.13c-.37-.81-9.13-20.26-28.48-39.61C196.63,57.67,164,44,128,44S59.37,57.67,33.51,83.52C14.16,102.87,5.4,122.32,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212s68.63-13.66,94.48-39.51c19.36-19.35,28.12-38.79,28.49-39.61A12.08,12.08,0,0,0,251,123.13Zm-46.06,33C183.47,177.27,157.59,188,128,188s-55.47-10.73-76.91-31.88A130.36,130.36,0,0,1,29.52,128,130.45,130.45,0,0,1,51.09,99.89C72.54,78.73,98.41,68,128,68s55.46,10.73,76.91,31.89A130.36,130.36,0,0,1,226.48,128,130.45,130.45,0,0,1,204.91,156.12ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,64a20,20,0,1,1,20-20A20,20,0,0,1,128,148Z"}))],["duotone",h.createElement(h.Fragment,null,h.createElement("path",{d:"M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"}),h.createElement("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"}))],["fill",h.createElement(h.Fragment,null,h.createElement("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z"}))],["light",h.createElement(h.Fragment,null,h.createElement("path",{d:"M245.48,125.57c-.34-.78-8.66-19.23-27.24-37.81C201,70.54,171.38,50,128,50S55,70.54,37.76,87.76c-18.58,18.58-26.9,37-27.24,37.81a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206s73-20.53,90.24-37.75c18.58-18.58,26.9-37,27.24-37.8A6,6,0,0,0,245.48,125.57ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.77,134.77,0,0,1,22.69,128,134.56,134.56,0,0,1,46.55,95.94C69.22,73.42,96.62,62,128,62s58.78,11.42,81.45,33.94A134.56,134.56,0,0,1,233.31,128C226.94,140.21,195,194,128,194Zm0-112a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162Z"}))],["regular",h.createElement(h.Fragment,null,h.createElement("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"}))],["thin",h.createElement(h.Fragment,null,h.createElement("path",{d:"M243.66,126.38c-.34-.76-8.52-18.89-26.83-37.2C199.87,72.22,170.7,52,128,52S56.13,72.22,39.17,89.18c-18.31,18.31-26.49,36.44-26.83,37.2a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17s71.87-20.21,88.83-37.17c18.31-18.31,26.49-36.43,26.83-37.2A4.08,4.08,0,0,0,243.66,126.38Zm-32.7,35c-23.07,23-51,34.62-83,34.62s-59.89-11.65-83-34.62A135.71,135.71,0,0,1,20.44,128,135.69,135.69,0,0,1,45,94.62C68.11,71.65,96,60,128,60s59.89,11.65,83,34.62A135.79,135.79,0,0,1,235.56,128,135.71,135.71,0,0,1,211,161.38ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Z"}))]]),T8=new Map([["bold",h.createElement(h.Fragment,null,h.createElement("path",{d:"M56.88,31.93A12,12,0,1,0,39.12,48.07l16,17.65C20.67,88.66,5.72,121.58,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212a131.34,131.34,0,0,0,51-10l20.09,22.1a12,12,0,0,0,17.76-16.14ZM128,188c-29.59,0-55.47-10.73-76.91-31.88A130.69,130.69,0,0,1,29.52,128c5.27-9.31,18.79-29.9,42-44.29l90.09,99.11A109.33,109.33,0,0,1,128,188Zm123-55.12c-.36.81-9,20-28,39.16a12,12,0,1,1-17-16.9A130.48,130.48,0,0,0,226.48,128a130.36,130.36,0,0,0-21.57-28.12C183.46,78.73,157.59,68,128,68c-3.35,0-6.7.14-10,.42a12,12,0,1,1-2-23.91c3.93-.34,8-.51,12-.51,36,0,68.63,13.67,94.49,39.52,19.35,19.35,28.11,38.8,28.48,39.61A12.08,12.08,0,0,1,251,132.88Z"}))],["duotone",h.createElement(h.Fragment,null,h.createElement("path",{d:"M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"}),h.createElement("path",{d:"M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z"}))],["fill",h.createElement(h.Fragment,null,h.createElement("path",{d:"M96.68,57.87a4,4,0,0,1,2.08-6.6A130.13,130.13,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41a8,8,0,0,1,0,6.5c-.35.79-8.82,19.57-27.65,38.4q-4.28,4.26-8.79,8.07a4,4,0,0,1-5.55-.36ZM213.92,210.62a8,8,0,1,1-11.84,10.76L180,197.13A127.21,127.21,0,0,1,128,208c-34.88,0-66.57-13.26-91.66-38.34C17.51,150.83,9,132.05,8.69,131.26a8,8,0,0,1,0-6.5C9,124,17.51,105.18,36.34,86.35a135,135,0,0,1,25-19.78L42.08,45.38A8,8,0,1,1,53.92,34.62Zm-65.49-48.25-52.69-58a40,40,0,0,0,52.69,58Z"}))],["light",h.createElement(h.Fragment,null,h.createElement("path",{d:"M52.44,36A6,6,0,0,0,43.56,44L64.44,67c-37.28,21.9-53.23,57-53.92,58.57a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206a124.91,124.91,0,0,0,52.57-11.25l23,25.29a6,6,0,0,0,8.88-8.08Zm48.62,71.32,45,49.52a34,34,0,0,1-45-49.52ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.57,134.57,0,0,1,22.69,128c4.29-8.2,20.1-35.18,50-51.91L92.89,98.3a46,46,0,0,0,61.35,67.48l17.81,19.6A113.47,113.47,0,0,1,128,194Zm6.4-99.4a6,6,0,0,1,2.25-11.79,46.17,46.17,0,0,1,37.15,40.87,6,6,0,0,1-5.42,6.53l-.56,0a6,6,0,0,1-6-5.45A34.1,34.1,0,0,0,134.4,94.6Zm111.08,35.85c-.41.92-10.37,23-32.86,43.12a6,6,0,1,1-8-8.94A134.07,134.07,0,0,0,233.31,128a134.67,134.67,0,0,0-23.86-32.07C186.78,73.42,159.38,62,128,62a120.19,120.19,0,0,0-19.69,1.6,6,6,0,1,1-2-11.83A131.12,131.12,0,0,1,128,50c43.38,0,73,20.54,90.24,37.76,18.58,18.58,26.9,37,27.24,37.81A6,6,0,0,1,245.48,130.45Z"}))],["regular",h.createElement(h.Fragment,null,h.createElement("path",{d:"M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z"}))],["thin",h.createElement(h.Fragment,null,h.createElement("path",{d:"M51,37.31A4,4,0,0,0,45,42.69L67.59,67.5C29.34,89,13,124.81,12.34,126.38a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17a122.59,122.59,0,0,0,53.06-11.69l24,26.38a4,4,0,1,0,5.92-5.38ZM149.1,157.16A36,36,0,0,1,101,104.22ZM128,196c-32,0-59.89-11.65-83-34.62A135.81,135.81,0,0,1,20.44,128c3.65-7.23,20.09-36.81,52.68-54.43l22.45,24.7a44,44,0,0,0,59,64.83l20.89,23A114.94,114.94,0,0,1,128,196Zm6.78-103.36a4,4,0,0,1,1.49-7.86,44.15,44.15,0,0,1,35.54,39.09,4,4,0,0,1-3.61,4.35l-.38,0a4,4,0,0,1-4-3.63A36.1,36.1,0,0,0,134.78,92.64Zm108.88,37c-.41.91-10.2,22.58-32.38,42.45a4,4,0,0,1-2.67,1,4,4,0,0,1-2.67-7A136.71,136.71,0,0,0,235.56,128,136.07,136.07,0,0,0,211,94.62C187.89,71.65,160,60,128,60a122,122,0,0,0-20,1.63,4,4,0,0,1-1.32-7.89A129.3,129.3,0,0,1,128,52c42.7,0,71.87,20.22,88.83,37.18,18.31,18.31,26.49,36.44,26.83,37.2A4.08,4.08,0,0,1,243.66,129.63Z"}))]]),R8=new Map([["bold",h.createElement(h.Fragment,null,h.createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm56.49-92.49a12,12,0,0,1-17,17L162,131l-5.51,5.52a12,12,0,0,1-17-17L145,114l-5.52-5.51a12,12,0,0,1,17-17L162,97l5.51-5.52a12,12,0,0,1,17,17L179,114Zm-68,17a12,12,0,0,1-17,0L94,131l-5.51,5.52a12,12,0,0,1-17-17L77,114l-5.52-5.51a12,12,0,0,1,17-17L94,97l5.51-5.52a12,12,0,0,1,17,17L111,114l5.52,5.51A12,12,0,0,1,116.49,136.49ZM144,180a16,16,0,1,1-16-16A16,16,0,0,1,144,180Z"}))],["duotone",h.createElement(h.Fragment,null,h.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),h.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm61.66-93.66a8,8,0,0,1-11.32,11.32L168,123.31l-10.34,10.35a8,8,0,0,1-11.32-11.32L156.69,112l-10.35-10.34a8,8,0,0,1,11.32-11.32L168,100.69l10.34-10.35a8,8,0,0,1,11.32,11.32L179.31,112Zm-80-20.68L99.31,112l10.35,10.34a8,8,0,0,1-11.32,11.32L88,123.31,77.66,133.66a8,8,0,0,1-11.32-11.32L76.69,112,66.34,101.66A8,8,0,0,1,77.66,90.34L88,100.69,98.34,90.34a8,8,0,0,1,11.32,11.32ZM140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["fill",h.createElement(h.Fragment,null,h.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.13,104.13,0,0,0,128,24Zm-18.34,98.34a8,8,0,0,1-11.32,11.32L88,123.31,77.66,133.66a8,8,0,0,1-11.32-11.32L76.69,112,66.34,101.66A8,8,0,0,1,77.66,90.34L88,100.69,98.34,90.34a8,8,0,0,1,11.32,11.32L99.31,112ZM128,192a12,12,0,1,1,12-12A12,12,0,0,1,128,192Zm61.66-69.66a8,8,0,0,1-11.32,11.32L168,123.31l-10.34,10.35a8,8,0,0,1-11.32-11.32L156.69,112l-10.35-10.34a8,8,0,0,1,11.32-11.32L168,100.69l10.34-10.35a8,8,0,0,1,11.32,11.32L179.31,112Z"}))],["light",h.createElement(h.Fragment,null,h.createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm60.24-117.76L176.49,112l11.75,11.76a6,6,0,1,1-8.48,8.48L168,120.49l-11.76,11.75a6,6,0,0,1-8.48-8.48L159.51,112l-11.75-11.76a6,6,0,0,1,8.48-8.48L168,103.51l11.76-11.75a6,6,0,0,1,8.48,8.48Zm-80,0L96.49,112l11.75,11.76a6,6,0,1,1-8.48,8.48L88,120.49,76.24,132.24a6,6,0,0,1-8.48-8.48L79.51,112,67.76,100.24a6,6,0,0,1,8.48-8.48L88,103.51,99.76,91.76a6,6,0,0,1,8.48,8.48ZM138,180a10,10,0,1,1-10-10A10,10,0,0,1,138,180Z"}))],["regular",h.createElement(h.Fragment,null,h.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm61.66-93.66a8,8,0,0,1-11.32,11.32L168,123.31l-10.34,10.35a8,8,0,0,1-11.32-11.32L156.69,112l-10.35-10.34a8,8,0,0,1,11.32-11.32L168,100.69l10.34-10.35a8,8,0,0,1,11.32,11.32L179.31,112Zm-80-20.68L99.31,112l10.35,10.34a8,8,0,0,1-11.32,11.32L88,123.31,77.66,133.66a8,8,0,0,1-11.32-11.32L76.69,112,66.34,101.66A8,8,0,0,1,77.66,90.34L88,100.69,98.34,90.34a8,8,0,0,1,11.32,11.32ZM140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["thin",h.createElement(h.Fragment,null,h.createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220ZM186.83,98.83,173.66,112l13.17,13.17a4,4,0,0,1-5.66,5.66L168,117.66l-13.17,13.17a4,4,0,0,1-5.66-5.66L162.34,112,149.17,98.83a4,4,0,0,1,5.66-5.66L168,106.34l13.17-13.17a4,4,0,1,1,5.66,5.66Zm-80,0L93.66,112l13.17,13.17a4,4,0,0,1-5.66,5.66L88,117.66,74.83,130.83a4,4,0,0,1-5.66-5.66L82.34,112,69.17,98.83a4,4,0,0,1,5.66-5.66L88,106.34l13.17-13.17a4,4,0,0,1,5.66,5.66ZM136,180a8,8,0,1,1-8-8A8,8,0,0,1,136,180Z"}))]]),L8=h.createContext({color:"currentColor",size:"1em",weight:"regular",mirrored:!1});var I8=Object.defineProperty,vo=Object.getOwnPropertySymbols,wd=Object.prototype.hasOwnProperty,xd=Object.prototype.propertyIsEnumerable,yc=(n,r,i)=>r in n?I8(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,bc=(n,r)=>{for(var i in r||(r={}))wd.call(r,i)&&yc(n,i,r[i]);if(vo)for(var i of vo(r))xd.call(r,i)&&yc(n,i,r[i]);return n},wc=(n,r)=>{var i={};for(var s in n)wd.call(n,s)&&r.indexOf(s)<0&&(i[s]=n[s]);if(n!=null&&vo)for(var s of vo(n))r.indexOf(s)<0&&xd.call(n,s)&&(i[s]=n[s]);return i};const _d=h.forwardRef((n,r)=>{const i=n,{alt:s,color:l,size:u,weight:f,mirrored:d,children:g,weights:v}=i,C=wc(i,["alt","color","size","weight","mirrored","children","weights"]),S=h.useContext(L8),{color:E="currentColor",size:w,weight:_="regular",mirrored:O=!1}=S,R=wc(S,["color","size","weight","mirrored"]);return h.createElement("svg",bc(bc({ref:r,xmlns:"http://www.w3.org/2000/svg",width:u??w,height:u??w,fill:l??E,viewBox:"0 0 256 256",transform:d||O?"scale(-1, 1)":void 0},R),C),!!s&&h.createElement("title",null,s),g,v.get(f??_))});_d.displayName="IconBase";const $n=_d;var O8=Object.defineProperty,M8=Object.defineProperties,F8=Object.getOwnPropertyDescriptors,xc=Object.getOwnPropertySymbols,z8=Object.prototype.hasOwnProperty,j8=Object.prototype.propertyIsEnumerable,_c=(n,r,i)=>r in n?O8(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,B8=(n,r)=>{for(var i in r||(r={}))z8.call(r,i)&&_c(n,i,r[i]);if(xc)for(var i of xc(r))j8.call(r,i)&&_c(n,i,r[i]);return n},P8=(n,r)=>M8(n,F8(r));const Cd=h.forwardRef((n,r)=>h.createElement($n,P8(B8({ref:r},n),{weights:_8})));Cd.displayName="CaretDoubleLeft";var W8=Object.defineProperty,D8=Object.defineProperties,H8=Object.getOwnPropertyDescriptors,Cc=Object.getOwnPropertySymbols,Z8=Object.prototype.hasOwnProperty,N8=Object.prototype.propertyIsEnumerable,Sc=(n,r,i)=>r in n?W8(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,V8=(n,r)=>{for(var i in r||(r={}))Z8.call(r,i)&&Sc(n,i,r[i]);if(Cc)for(var i of Cc(r))N8.call(r,i)&&Sc(n,i,r[i]);return n},U8=(n,r)=>D8(n,H8(r));const Sd=h.forwardRef((n,r)=>h.createElement($n,U8(V8({ref:r},n),{weights:C8})));Sd.displayName="CaretDoubleRight";var q8=Object.defineProperty,G8=Object.defineProperties,K8=Object.getOwnPropertyDescriptors,Ec=Object.getOwnPropertySymbols,X8=Object.prototype.hasOwnProperty,Y8=Object.prototype.propertyIsEnumerable,Ac=(n,r,i)=>r in n?q8(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,Q8=(n,r)=>{for(var i in r||(r={}))X8.call(r,i)&&Ac(n,i,r[i]);if(Ec)for(var i of Ec(r))Y8.call(r,i)&&Ac(n,i,r[i]);return n},J8=(n,r)=>G8(n,K8(r));const Ra=h.forwardRef((n,r)=>h.createElement($n,J8(Q8({ref:r},n),{weights:S8})));Ra.displayName="CaretDown";var ey=Object.defineProperty,ty=Object.defineProperties,ny=Object.getOwnPropertyDescriptors,$c=Object.getOwnPropertySymbols,ry=Object.prototype.hasOwnProperty,iy=Object.prototype.propertyIsEnumerable,kc=(n,r,i)=>r in n?ey(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,oy=(n,r)=>{for(var i in r||(r={}))ry.call(r,i)&&kc(n,i,r[i]);if($c)for(var i of $c(r))iy.call(r,i)&&kc(n,i,r[i]);return n},sy=(n,r)=>ty(n,ny(r));const La=h.forwardRef((n,r)=>h.createElement($n,sy(oy({ref:r},n),{weights:E8})));La.displayName="CaretLeft";var ay=Object.defineProperty,ly=Object.defineProperties,uy=Object.getOwnPropertyDescriptors,Tc=Object.getOwnPropertySymbols,cy=Object.prototype.hasOwnProperty,fy=Object.prototype.propertyIsEnumerable,Rc=(n,r,i)=>r in n?ay(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,dy=(n,r)=>{for(var i in r||(r={}))cy.call(r,i)&&Rc(n,i,r[i]);if(Tc)for(var i of Tc(r))fy.call(r,i)&&Rc(n,i,r[i]);return n},hy=(n,r)=>ly(n,uy(r));const pi=h.forwardRef((n,r)=>h.createElement($n,hy(dy({ref:r},n),{weights:A8})));pi.displayName="CaretRight";var py=Object.defineProperty,gy=Object.defineProperties,my=Object.getOwnPropertyDescriptors,Lc=Object.getOwnPropertySymbols,vy=Object.prototype.hasOwnProperty,yy=Object.prototype.propertyIsEnumerable,Ic=(n,r,i)=>r in n?py(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,by=(n,r)=>{for(var i in r||(r={}))vy.call(r,i)&&Ic(n,i,r[i]);if(Lc)for(var i of Lc(r))yy.call(r,i)&&Ic(n,i,r[i]);return n},wy=(n,r)=>gy(n,my(r));const Ed=h.forwardRef((n,r)=>h.createElement($n,wy(by({ref:r},n),{weights:$8})));Ed.displayName="Check";var xy=Object.defineProperty,_y=Object.defineProperties,Cy=Object.getOwnPropertyDescriptors,Oc=Object.getOwnPropertySymbols,Sy=Object.prototype.hasOwnProperty,Ey=Object.prototype.propertyIsEnumerable,Mc=(n,r,i)=>r in n?xy(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,Ay=(n,r)=>{for(var i in r||(r={}))Sy.call(r,i)&&Mc(n,i,r[i]);if(Oc)for(var i of Oc(r))Ey.call(r,i)&&Mc(n,i,r[i]);return n},$y=(n,r)=>_y(n,Cy(r));const Ad=h.forwardRef((n,r)=>h.createElement($n,$y(Ay({ref:r},n),{weights:k8})));Ad.displayName="Eye";var ky=Object.defineProperty,Ty=Object.defineProperties,Ry=Object.getOwnPropertyDescriptors,Fc=Object.getOwnPropertySymbols,Ly=Object.prototype.hasOwnProperty,Iy=Object.prototype.propertyIsEnumerable,zc=(n,r,i)=>r in n?ky(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,Oy=(n,r)=>{for(var i in r||(r={}))Ly.call(r,i)&&zc(n,i,r[i]);if(Fc)for(var i of Fc(r))Iy.call(r,i)&&zc(n,i,r[i]);return n},My=(n,r)=>Ty(n,Ry(r));const $d=h.forwardRef((n,r)=>h.createElement($n,My(Oy({ref:r},n),{weights:T8})));$d.displayName="EyeSlash";var Fy=Object.defineProperty,zy=Object.defineProperties,jy=Object.getOwnPropertyDescriptors,jc=Object.getOwnPropertySymbols,By=Object.prototype.hasOwnProperty,Py=Object.prototype.propertyIsEnumerable,Bc=(n,r,i)=>r in n?Fy(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,Wy=(n,r)=>{for(var i in r||(r={}))By.call(r,i)&&Bc(n,i,r[i]);if(jc)for(var i of jc(r))Py.call(r,i)&&Bc(n,i,r[i]);return n},Dy=(n,r)=>zy(n,jy(r));const kd=h.forwardRef((n,r)=>h.createElement($n,Dy(Wy({ref:r},n),{weights:R8})));kd.displayName="SmileyXEyes";function Hy(n){const r=h.useRef(void 0);return h.useEffect(()=>{r.current=n},[n]),r.current}const Zy=Dn.keyframes`
31
+ `}));return at`${l}`},xv={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"}},wv={m:{property:"margin",scale:"spaces"},mt:{property:"marginTop",scale:"spaces"},mb:{property:"marginBottom",scale:"spaces"},ml:{property:"marginLeft",scale:"spaces"},mr:{property:"marginRight",scale:"spaces"},mx:{property:"marginInline",scale:"spaces"},my:{property:"marginBlock",scale:"spaces"},p:{property:"padding",scale:"spaces"},pt:{property:"paddingTop",scale:"spaces"},pb:{property:"paddingBottom",scale:"spaces"},pl:{property:"paddingLeft",scale:"spaces"},pr:{property:"paddingRight",scale:"spaces"},px:{property:"paddingInline",scale:"spaces"},py:{property:"paddingBlock",scale:"spaces"},margin:{property:"margin",scale:"spaces"},marginBottom:{property:"marginBottom",scale:"spaces"},marginLeft:{property:"marginLeft",scale:"spaces"},marginRight:{property:"marginRight",scale:"spaces"},marginTop:{property:"marginTop",scale:"spaces"},marginX:{property:"marginInline",scale:"spaces"},marginY:{property:"marginBlock",scale:"spaces"},padding:{property:"padding",scale:"spaces"},paddingBottom:{property:"paddingBottom",scale:"spaces"},paddingLeft:{property:"paddingLeft",scale:"spaces"},paddingRight:{property:"paddingRight",scale:"spaces"},paddingTop:{property:"paddingTop",scale:"spaces"},paddingX:{property:"paddingInline",scale:"spaces"},paddingY:{property:"paddingBlock",scale:"spaces"},gap:{property:"gap",scale:"spaces"}},_v={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"}},Cv={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"}},ld={...xv,...wv,..._v,...Cv},ud=["alignContent","alignItems","alignSelf","display","flex","flexBasis","flexDirection","flexGrow","flexShrink","flexWrap","justifyContent","position","top","right","bottom","left","overflow","width","minWidth","maxWidth","height","minHeight","maxHeight","opacity","cursor","transition","transform","animation","willChange","pointerEvents","userSelect","resize","boxShadow","textShadow","filter","backdropFilter","mixBlendMode","isolation","zIndex","marginInline","marginBlock","paddingInline","paddingBlock","willChange","whiteSpace","textOverflow","overflowY","overflowX"],Ta=["absoluteFill","fullWidth","fullHeight","fw","fh"],cd={absoluteFill:{position:"absolute",top:0,bottom:0,left:0,right:0},fullWidth:{width:"100%"},fullHeight:{height:"100%"},fw:{width:"100%"},fh:{height:"100%"}},fd=(t,r,i)=>{const s=ld[r],l=i[r];if(!l)return;const{scale:u,property:f}=s;switch(u){case"colors":return{[f]:Dt(l,h=>t.colors[h])};case"spaces":return{[f]:Dt(l,h=>t.spaces[h])};case"radii":return{[f]:Dt(l,h=>t.radii[h])};case"borderWidths":return{[f]:Dt(l,h=>t.borderWidths[h])}}},dd=(t,r)=>Object.keys(r).reduce((s,l)=>({...s,...fd(t,l,r)}),{}),Sv=t=>Ta.reduce((r,i)=>t[i]?{...r,...cd[i]}:r,{}),hd=Object.keys(ld),pd=(t,r)=>{const i=ze.pick(r,hd),s=ze.pick(r,[...ud]),l=ze.pick(r,[...Ta]);return Mr({...dd(t,i),...Sv(l),...s})},gd=ae.div(({theme:t,...r})=>pd(t,r));function Ev({children:t,style:r,"data-testid":i,...s},l){return y.jsx(gd,{...s,style:r,ref:l,"data-testid":i,children:t})}const X=d.forwardRef(Ev),wt=(t,r)=>typeof r=="number"?`${r}px`:ze.isString(r)?ir(r)?`${t.sizes[r]}px`:r:"auto",md=t=>new RegExp("\\p{Emoji}","u").test(t)&&t.length<=2,vd=t=>ze.isString(t)&&t.includes("icon-"),yd=t=>{const r=[".jpg",".jpeg",".png",".gif",".webp",".svg"],i=t.toLowerCase();return ze.isString(t)&&(r.some(s=>i.endsWith(s))||t.startsWith("data:image/")||t.startsWith("http"))},bd=t=>ze.isString(t)&&t.startsWith("<svg"),xd=({art:t,width:r,height:i,style:s,"data-testid":l,...u})=>{const f=xe(),h=f.__hd__.art.defaultBrandSize||f.__hd__.art.defaultSize,g=wt(f,r??h),v=wt(f,i??h);return y.jsx(X,{display:"flex",alignItems:"center",justifyContent:"center",width:g,height:v,style:s,"data-testid":l,...u,children:t})},wd=({art:t,size:r,style:i,"data-testid":s,...l})=>{const u=xe(),f=u.__hd__.art.defaultEmojiSize||u.__hd__.art.defaultSize,h=wt(u,r??f),g=typeof h=="string"&&h.endsWith("px")?parseInt(h,10):u.__hd__.text.fontSizes[f]??24,v=u.__hd__.text.lineHeights[f]?`${u.__hd__.text.lineHeights[f]/g}`:"1";return y.jsx(X,{display:"flex",alignItems:"center",justifyContent:"center",width:h,height:h,style:{...i,fontSize:h,lineHeight:v},"data-testid":s,...l,children:t})},Ra=({art:t,size:r,color:i="currentColor",weight:s="regular",style:l,"data-testid":u,...f})=>{const h=xe(),g=h.__hd__.art.defaultIconSize||h.__hd__.art.defaultSize,v=wt(h,r??g),_=t;if(!_)return process.env.NODE_ENV!=="production"&&console.warn(`[IconArt] Icon component not found for art="${t}". This should not happen with TypeScript checks.`),null;const S=Tf(i)?h.colors[i]:i;return y.jsx(X,{display:"flex",alignItems:"center",justifyContent:"center",width:v,height:v,style:l,"data-testid":u,...f,children:y.jsx(_,{size:v,color:S,weight:s,style:l})})},Av=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M208.49,199.51a12,12,0,0,1-17,17l-80-80a12,12,0,0,1,0-17l80-80a12,12,0,0,1,17,17L137,128ZM57,128l71.52-71.51a12,12,0,0,0-17-17l-80,80a12,12,0,0,0,0,17l80,80a12,12,0,0,0,17-17Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M200,48V208l-80-80Z",opacity:"0.2"}),d.createElement("path",{d:"M203.06,40.61a8,8,0,0,0-8.72,1.73l-80,80a8,8,0,0,0,0,11.32l80,80A8,8,0,0,0,208,208V48A8,8,0,0,0,203.06,40.61ZM192,188.69,131.31,128,192,67.31Zm-66.34,13.65a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L51.31,128Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M208,48V208a8,8,0,0,1-13.66,5.66L128,147.31V208a8,8,0,0,1-13.66,5.66l-80-80a8,8,0,0,1,0-11.32l80-80A8,8,0,0,1,128,48v60.69l66.34-66.35A8,8,0,0,1,208,48Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M204.24,203.76a6,6,0,1,1-8.48,8.48l-80-80a6,6,0,0,1,0-8.48l80-80a6,6,0,0,1,8.48,8.48L128.49,128ZM48.49,128l75.75-75.76a6,6,0,0,0-8.48-8.48l-80,80a6,6,0,0,0,0,8.48l80,80a6,6,0,1,0,8.48-8.48Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M205.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L131.31,128ZM51.31,128l74.35-74.34a8,8,0,0,0-11.32-11.32l-80,80a8,8,0,0,0,0,11.32l80,80a8,8,0,0,0,11.32-11.32Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M202.83,205.17a4,4,0,0,1-5.66,5.66l-80-80a4,4,0,0,1,0-5.66l80-80a4,4,0,1,1,5.66,5.66L125.66,128ZM45.66,128l77.17-77.17a4,4,0,0,0-5.66-5.66l-80,80a4,4,0,0,0,0,5.66l80,80a4,4,0,1,0,5.66-5.66Z"}))]]),$v=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M144.49,136.49l-80,80a12,12,0,0,1-17-17L119,128,47.51,56.49a12,12,0,0,1,17-17l80,80A12,12,0,0,1,144.49,136.49Zm80-17-80-80a12,12,0,1,0-17,17L199,128l-71.52,71.51a12,12,0,0,0,17,17l80-80A12,12,0,0,0,224.49,119.51Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M136,128,56,208V48Z",opacity:"0.2"}),d.createElement("path",{d:"M141.66,122.34l-80-80A8,8,0,0,0,48,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,141.66,122.34ZM64,188.69V67.31L124.69,128Zm157.66-55-80,80a8,8,0,0,1-11.32-11.32L204.69,128,130.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,221.66,133.66Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M221.66,133.66l-80,80A8,8,0,0,1,128,208V147.31L61.66,213.66A8,8,0,0,1,48,208V48a8,8,0,0,1,13.66-5.66L128,108.69V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,221.66,133.66Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M140.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L127.51,128,51.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,140.24,132.24Zm80-8.48-80-80a6,6,0,0,0-8.48,8.48L207.51,128l-75.75,75.76a6,6,0,1,0,8.48,8.48l80-80A6,6,0,0,0,220.24,123.76Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M141.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L124.69,128,50.34,53.66A8,8,0,0,1,61.66,42.34l80,80A8,8,0,0,1,141.66,133.66Zm80-11.32-80-80a8,8,0,0,0-11.32,11.32L204.69,128l-74.35,74.34a8,8,0,0,0,11.32,11.32l80-80A8,8,0,0,0,221.66,122.34Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M138.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L130.34,128,53.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,138.83,130.83Zm80-5.66-80-80a4,4,0,0,0-5.66,5.66L210.34,128l-77.17,77.17a4,4,0,0,0,5.66,5.66l80-80A4,4,0,0,0,218.83,125.17Z"}))]]),kv=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M208,96l-80,80L48,96Z",opacity:"0.2"}),d.createElement("path",{d:"M215.39,92.94A8,8,0,0,0,208,88H48a8,8,0,0,0-5.66,13.66l80,80a8,8,0,0,0,11.32,0l80-80A8,8,0,0,0,215.39,92.94ZM128,164.69,67.31,104H188.69Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,48,88H208a8,8,0,0,1,5.66,13.66Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M210.83,98.83l-80,80a4,4,0,0,1-5.66,0l-80-80a4,4,0,0,1,5.66-5.66L128,170.34l77.17-77.17a4,4,0,1,1,5.66,5.66Z"}))]]),Tv=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M168.49,199.51a12,12,0,0,1-17,17l-80-80a12,12,0,0,1,0-17l80-80a12,12,0,0,1,17,17L97,128Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M160,48V208L80,128Z",opacity:"0.2"}),d.createElement("path",{d:"M163.06,40.61a8,8,0,0,0-8.72,1.73l-80,80a8,8,0,0,0,0,11.32l80,80A8,8,0,0,0,168,208V48A8,8,0,0,0,163.06,40.61ZM152,188.69,91.31,128,152,67.31Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M168,48V208a8,8,0,0,1-13.66,5.66l-80-80a8,8,0,0,1,0-11.32l80-80A8,8,0,0,1,168,48Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M164.24,203.76a6,6,0,1,1-8.48,8.48l-80-80a6,6,0,0,1,0-8.48l80-80a6,6,0,0,1,8.48,8.48L88.49,128Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M165.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L91.31,128Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M162.83,205.17a4,4,0,0,1-5.66,5.66l-80-80a4,4,0,0,1,0-5.66l80-80a4,4,0,1,1,5.66,5.66L85.66,128Z"}))]]),Rv=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M176,128,96,208V48Z",opacity:"0.2"}),d.createElement("path",{d:"M181.66,122.34l-80-80A8,8,0,0,0,88,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,181.66,122.34ZM104,188.69V67.31L164.69,128Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M181.66,133.66l-80,80A8,8,0,0,1,88,208V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,181.66,133.66Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M180.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L167.51,128,91.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,180.24,132.24Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M178.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L170.34,128,93.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,178.83,130.83Z"}))]]),Lv=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M232,56V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Z",opacity:"0.2"}),d.createElement("path",{d:"M205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M228.24,76.24l-128,128a6,6,0,0,1-8.48,0l-56-56a6,6,0,0,1,8.48-8.48L96,191.51,219.76,67.76a6,6,0,0,1,8.48,8.48Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M226.83,74.83l-128,128a4,4,0,0,1-5.66,0l-56-56a4,4,0,0,1,5.66-5.66L96,194.34,221.17,69.17a4,4,0,1,1,5.66,5.66Z"}))]]),Ov=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M251,123.13c-.37-.81-9.13-20.26-28.48-39.61C196.63,57.67,164,44,128,44S59.37,57.67,33.51,83.52C14.16,102.87,5.4,122.32,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212s68.63-13.66,94.48-39.51c19.36-19.35,28.12-38.79,28.49-39.61A12.08,12.08,0,0,0,251,123.13Zm-46.06,33C183.47,177.27,157.59,188,128,188s-55.47-10.73-76.91-31.88A130.36,130.36,0,0,1,29.52,128,130.45,130.45,0,0,1,51.09,99.89C72.54,78.73,98.41,68,128,68s55.46,10.73,76.91,31.89A130.36,130.36,0,0,1,226.48,128,130.45,130.45,0,0,1,204.91,156.12ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,64a20,20,0,1,1,20-20A20,20,0,0,1,128,148Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"}),d.createElement("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M245.48,125.57c-.34-.78-8.66-19.23-27.24-37.81C201,70.54,171.38,50,128,50S55,70.54,37.76,87.76c-18.58,18.58-26.9,37-27.24,37.81a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206s73-20.53,90.24-37.75c18.58-18.58,26.9-37,27.24-37.8A6,6,0,0,0,245.48,125.57ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.77,134.77,0,0,1,22.69,128,134.56,134.56,0,0,1,46.55,95.94C69.22,73.42,96.62,62,128,62s58.78,11.42,81.45,33.94A134.56,134.56,0,0,1,233.31,128C226.94,140.21,195,194,128,194Zm0-112a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M243.66,126.38c-.34-.76-8.52-18.89-26.83-37.2C199.87,72.22,170.7,52,128,52S56.13,72.22,39.17,89.18c-18.31,18.31-26.49,36.44-26.83,37.2a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17s71.87-20.21,88.83-37.17c18.31-18.31,26.49-36.43,26.83-37.2A4.08,4.08,0,0,0,243.66,126.38Zm-32.7,35c-23.07,23-51,34.62-83,34.62s-59.89-11.65-83-34.62A135.71,135.71,0,0,1,20.44,128,135.69,135.69,0,0,1,45,94.62C68.11,71.65,96,60,128,60s59.89,11.65,83,34.62A135.79,135.79,0,0,1,235.56,128,135.71,135.71,0,0,1,211,161.38ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Z"}))]]),Iv=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M56.88,31.93A12,12,0,1,0,39.12,48.07l16,17.65C20.67,88.66,5.72,121.58,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212a131.34,131.34,0,0,0,51-10l20.09,22.1a12,12,0,0,0,17.76-16.14ZM128,188c-29.59,0-55.47-10.73-76.91-31.88A130.69,130.69,0,0,1,29.52,128c5.27-9.31,18.79-29.9,42-44.29l90.09,99.11A109.33,109.33,0,0,1,128,188Zm123-55.12c-.36.81-9,20-28,39.16a12,12,0,1,1-17-16.9A130.48,130.48,0,0,0,226.48,128a130.36,130.36,0,0,0-21.57-28.12C183.46,78.73,157.59,68,128,68c-3.35,0-6.7.14-10,.42a12,12,0,1,1-2-23.91c3.93-.34,8-.51,12-.51,36,0,68.63,13.67,94.49,39.52,19.35,19.35,28.11,38.8,28.48,39.61A12.08,12.08,0,0,1,251,132.88Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"}),d.createElement("path",{d:"M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M96.68,57.87a4,4,0,0,1,2.08-6.6A130.13,130.13,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41a8,8,0,0,1,0,6.5c-.35.79-8.82,19.57-27.65,38.4q-4.28,4.26-8.79,8.07a4,4,0,0,1-5.55-.36ZM213.92,210.62a8,8,0,1,1-11.84,10.76L180,197.13A127.21,127.21,0,0,1,128,208c-34.88,0-66.57-13.26-91.66-38.34C17.51,150.83,9,132.05,8.69,131.26a8,8,0,0,1,0-6.5C9,124,17.51,105.18,36.34,86.35a135,135,0,0,1,25-19.78L42.08,45.38A8,8,0,1,1,53.92,34.62Zm-65.49-48.25-52.69-58a40,40,0,0,0,52.69,58Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M52.44,36A6,6,0,0,0,43.56,44L64.44,67c-37.28,21.9-53.23,57-53.92,58.57a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206a124.91,124.91,0,0,0,52.57-11.25l23,25.29a6,6,0,0,0,8.88-8.08Zm48.62,71.32,45,49.52a34,34,0,0,1-45-49.52ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.57,134.57,0,0,1,22.69,128c4.29-8.2,20.1-35.18,50-51.91L92.89,98.3a46,46,0,0,0,61.35,67.48l17.81,19.6A113.47,113.47,0,0,1,128,194Zm6.4-99.4a6,6,0,0,1,2.25-11.79,46.17,46.17,0,0,1,37.15,40.87,6,6,0,0,1-5.42,6.53l-.56,0a6,6,0,0,1-6-5.45A34.1,34.1,0,0,0,134.4,94.6Zm111.08,35.85c-.41.92-10.37,23-32.86,43.12a6,6,0,1,1-8-8.94A134.07,134.07,0,0,0,233.31,128a134.67,134.67,0,0,0-23.86-32.07C186.78,73.42,159.38,62,128,62a120.19,120.19,0,0,0-19.69,1.6,6,6,0,1,1-2-11.83A131.12,131.12,0,0,1,128,50c43.38,0,73,20.54,90.24,37.76,18.58,18.58,26.9,37,27.24,37.81A6,6,0,0,1,245.48,130.45Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M51,37.31A4,4,0,0,0,45,42.69L67.59,67.5C29.34,89,13,124.81,12.34,126.38a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17a122.59,122.59,0,0,0,53.06-11.69l24,26.38a4,4,0,1,0,5.92-5.38ZM149.1,157.16A36,36,0,0,1,101,104.22ZM128,196c-32,0-59.89-11.65-83-34.62A135.81,135.81,0,0,1,20.44,128c3.65-7.23,20.09-36.81,52.68-54.43l22.45,24.7a44,44,0,0,0,59,64.83l20.89,23A114.94,114.94,0,0,1,128,196Zm6.78-103.36a4,4,0,0,1,1.49-7.86,44.15,44.15,0,0,1,35.54,39.09,4,4,0,0,1-3.61,4.35l-.38,0a4,4,0,0,1-4-3.63A36.1,36.1,0,0,0,134.78,92.64Zm108.88,37c-.41.91-10.2,22.58-32.38,42.45a4,4,0,0,1-2.67,1,4,4,0,0,1-2.67-7A136.71,136.71,0,0,0,235.56,128,136.07,136.07,0,0,0,211,94.62C187.89,71.65,160,60,128,60a122,122,0,0,0-20,1.63,4,4,0,0,1-1.32-7.89A129.3,129.3,0,0,1,128,52c42.7,0,71.87,20.22,88.83,37.18,18.31,18.31,26.49,36.44,26.83,37.2A4.08,4.08,0,0,1,243.66,129.63Z"}))]]),Mv=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M232.49,215.51,185,168a92.12,92.12,0,1,0-17,17l47.53,47.54a12,12,0,0,0,17-17ZM44,112a68,68,0,1,1,68,68A68.07,68.07,0,0,1,44,112Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z",opacity:"0.2"}),d.createElement("path",{d:"M229.66,218.34,179.6,168.28a88.21,88.21,0,1,0-11.32,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M168,112a56,56,0,1,1-56-56A56,56,0,0,1,168,112Zm61.66,117.66a8,8,0,0,1-11.32,0l-50.06-50.07a88,88,0,1,1,11.32-11.31l50.06,50.06A8,8,0,0,1,229.66,229.66ZM112,184a72,72,0,1,0-72-72A72.08,72.08,0,0,0,112,184Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M228.24,219.76l-51.38-51.38a86.15,86.15,0,1,0-8.48,8.48l51.38,51.38a6,6,0,0,0,8.48-8.48ZM38,112a74,74,0,1,1,74,74A74.09,74.09,0,0,1,38,112Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M226.83,221.17l-52.7-52.7a84.1,84.1,0,1,0-5.66,5.66l52.7,52.7a4,4,0,0,0,5.66-5.66ZM36,112a76,76,0,1,1,76,76A76.08,76.08,0,0,1,36,112Z"}))]]),Fv=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm56.49-92.49a12,12,0,0,1-17,17L162,131l-5.51,5.52a12,12,0,0,1-17-17L145,114l-5.52-5.51a12,12,0,0,1,17-17L162,97l5.51-5.52a12,12,0,0,1,17,17L179,114Zm-68,17a12,12,0,0,1-17,0L94,131l-5.51,5.52a12,12,0,0,1-17-17L77,114l-5.52-5.51a12,12,0,0,1,17-17L94,97l5.51-5.52a12,12,0,0,1,17,17L111,114l5.52,5.51A12,12,0,0,1,116.49,136.49ZM144,180a16,16,0,1,1-16-16A16,16,0,0,1,144,180Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),d.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm61.66-93.66a8,8,0,0,1-11.32,11.32L168,123.31l-10.34,10.35a8,8,0,0,1-11.32-11.32L156.69,112l-10.35-10.34a8,8,0,0,1,11.32-11.32L168,100.69l10.34-10.35a8,8,0,0,1,11.32,11.32L179.31,112Zm-80-20.68L99.31,112l10.35,10.34a8,8,0,0,1-11.32,11.32L88,123.31,77.66,133.66a8,8,0,0,1-11.32-11.32L76.69,112,66.34,101.66A8,8,0,0,1,77.66,90.34L88,100.69,98.34,90.34a8,8,0,0,1,11.32,11.32ZM140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.13,104.13,0,0,0,128,24Zm-18.34,98.34a8,8,0,0,1-11.32,11.32L88,123.31,77.66,133.66a8,8,0,0,1-11.32-11.32L76.69,112,66.34,101.66A8,8,0,0,1,77.66,90.34L88,100.69,98.34,90.34a8,8,0,0,1,11.32,11.32L99.31,112ZM128,192a12,12,0,1,1,12-12A12,12,0,0,1,128,192Zm61.66-69.66a8,8,0,0,1-11.32,11.32L168,123.31l-10.34,10.35a8,8,0,0,1-11.32-11.32L156.69,112l-10.35-10.34a8,8,0,0,1,11.32-11.32L168,100.69l10.34-10.35a8,8,0,0,1,11.32,11.32L179.31,112Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm60.24-117.76L176.49,112l11.75,11.76a6,6,0,1,1-8.48,8.48L168,120.49l-11.76,11.75a6,6,0,0,1-8.48-8.48L159.51,112l-11.75-11.76a6,6,0,0,1,8.48-8.48L168,103.51l11.76-11.75a6,6,0,0,1,8.48,8.48Zm-80,0L96.49,112l11.75,11.76a6,6,0,1,1-8.48,8.48L88,120.49,76.24,132.24a6,6,0,0,1-8.48-8.48L79.51,112,67.76,100.24a6,6,0,0,1,8.48-8.48L88,103.51,99.76,91.76a6,6,0,0,1,8.48,8.48ZM138,180a10,10,0,1,1-10-10A10,10,0,0,1,138,180Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm61.66-93.66a8,8,0,0,1-11.32,11.32L168,123.31l-10.34,10.35a8,8,0,0,1-11.32-11.32L156.69,112l-10.35-10.34a8,8,0,0,1,11.32-11.32L168,100.69l10.34-10.35a8,8,0,0,1,11.32,11.32L179.31,112Zm-80-20.68L99.31,112l10.35,10.34a8,8,0,0,1-11.32,11.32L88,123.31,77.66,133.66a8,8,0,0,1-11.32-11.32L76.69,112,66.34,101.66A8,8,0,0,1,77.66,90.34L88,100.69,98.34,90.34a8,8,0,0,1,11.32,11.32ZM140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220ZM186.83,98.83,173.66,112l13.17,13.17a4,4,0,0,1-5.66,5.66L168,117.66l-13.17,13.17a4,4,0,0,1-5.66-5.66L162.34,112,149.17,98.83a4,4,0,0,1,5.66-5.66L168,106.34l13.17-13.17a4,4,0,1,1,5.66,5.66Zm-80,0L93.66,112l13.17,13.17a4,4,0,0,1-5.66,5.66L88,117.66,74.83,130.83a4,4,0,0,1-5.66-5.66L82.34,112,69.17,98.83a4,4,0,0,1,5.66-5.66L88,106.34l13.17-13.17a4,4,0,0,1,5.66,5.66ZM136,180a8,8,0,1,1-8-8A8,8,0,0,1,136,180Z"}))]]),zv=d.createContext({color:"currentColor",size:"1em",weight:"regular",mirrored:!1});var jv=Object.defineProperty,yo=Object.getOwnPropertySymbols,_d=Object.prototype.hasOwnProperty,Cd=Object.prototype.propertyIsEnumerable,yc=(t,r,i)=>r in t?jv(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i,bc=(t,r)=>{for(var i in r||(r={}))_d.call(r,i)&&yc(t,i,r[i]);if(yo)for(var i of yo(r))Cd.call(r,i)&&yc(t,i,r[i]);return t},xc=(t,r)=>{var i={};for(var s in t)_d.call(t,s)&&r.indexOf(s)<0&&(i[s]=t[s]);if(t!=null&&yo)for(var s of yo(t))r.indexOf(s)<0&&Cd.call(t,s)&&(i[s]=t[s]);return i};const Sd=d.forwardRef((t,r)=>{const i=t,{alt:s,color:l,size:u,weight:f,mirrored:h,children:g,weights:v}=i,_=xc(i,["alt","color","size","weight","mirrored","children","weights"]),S=d.useContext(zv),{color:E="currentColor",size:x,weight:C="regular",mirrored:F=!1}=S,R=xc(S,["color","size","weight","mirrored"]);return d.createElement("svg",bc(bc({ref:r,xmlns:"http://www.w3.org/2000/svg",width:u??x,height:u??x,fill:l??E,viewBox:"0 0 256 256",transform:h||F?"scale(-1, 1)":void 0},R),_),!!s&&d.createElement("title",null,s),g,v.get(f??C))});Sd.displayName="IconBase";const dn=Sd;var Bv=Object.defineProperty,Pv=Object.defineProperties,Wv=Object.getOwnPropertyDescriptors,wc=Object.getOwnPropertySymbols,Dv=Object.prototype.hasOwnProperty,Hv=Object.prototype.propertyIsEnumerable,_c=(t,r,i)=>r in t?Bv(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i,Zv=(t,r)=>{for(var i in r||(r={}))Dv.call(r,i)&&_c(t,i,r[i]);if(wc)for(var i of wc(r))Hv.call(r,i)&&_c(t,i,r[i]);return t},Vv=(t,r)=>Pv(t,Wv(r));const Ed=d.forwardRef((t,r)=>d.createElement(dn,Vv(Zv({ref:r},t),{weights:Av})));Ed.displayName="CaretDoubleLeft";var Nv=Object.defineProperty,Uv=Object.defineProperties,qv=Object.getOwnPropertyDescriptors,Cc=Object.getOwnPropertySymbols,Gv=Object.prototype.hasOwnProperty,Kv=Object.prototype.propertyIsEnumerable,Sc=(t,r,i)=>r in t?Nv(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i,Xv=(t,r)=>{for(var i in r||(r={}))Gv.call(r,i)&&Sc(t,i,r[i]);if(Cc)for(var i of Cc(r))Kv.call(r,i)&&Sc(t,i,r[i]);return t},Yv=(t,r)=>Uv(t,qv(r));const Ad=d.forwardRef((t,r)=>d.createElement(dn,Yv(Xv({ref:r},t),{weights:$v})));Ad.displayName="CaretDoubleRight";var Qv=Object.defineProperty,Jv=Object.defineProperties,ey=Object.getOwnPropertyDescriptors,Ec=Object.getOwnPropertySymbols,ty=Object.prototype.hasOwnProperty,ny=Object.prototype.propertyIsEnumerable,Ac=(t,r,i)=>r in t?Qv(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i,ry=(t,r)=>{for(var i in r||(r={}))ty.call(r,i)&&Ac(t,i,r[i]);if(Ec)for(var i of Ec(r))ny.call(r,i)&&Ac(t,i,r[i]);return t},iy=(t,r)=>Jv(t,ey(r));const La=d.forwardRef((t,r)=>d.createElement(dn,iy(ry({ref:r},t),{weights:kv})));La.displayName="CaretDown";var oy=Object.defineProperty,sy=Object.defineProperties,ay=Object.getOwnPropertyDescriptors,$c=Object.getOwnPropertySymbols,ly=Object.prototype.hasOwnProperty,uy=Object.prototype.propertyIsEnumerable,kc=(t,r,i)=>r in t?oy(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i,cy=(t,r)=>{for(var i in r||(r={}))ly.call(r,i)&&kc(t,i,r[i]);if($c)for(var i of $c(r))uy.call(r,i)&&kc(t,i,r[i]);return t},fy=(t,r)=>sy(t,ay(r));const Oa=d.forwardRef((t,r)=>d.createElement(dn,fy(cy({ref:r},t),{weights:Tv})));Oa.displayName="CaretLeft";var dy=Object.defineProperty,hy=Object.defineProperties,py=Object.getOwnPropertyDescriptors,Tc=Object.getOwnPropertySymbols,gy=Object.prototype.hasOwnProperty,my=Object.prototype.propertyIsEnumerable,Rc=(t,r,i)=>r in t?dy(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i,vy=(t,r)=>{for(var i in r||(r={}))gy.call(r,i)&&Rc(t,i,r[i]);if(Tc)for(var i of Tc(r))my.call(r,i)&&Rc(t,i,r[i]);return t},yy=(t,r)=>hy(t,py(r));const gi=d.forwardRef((t,r)=>d.createElement(dn,yy(vy({ref:r},t),{weights:Rv})));gi.displayName="CaretRight";var by=Object.defineProperty,xy=Object.defineProperties,wy=Object.getOwnPropertyDescriptors,Lc=Object.getOwnPropertySymbols,_y=Object.prototype.hasOwnProperty,Cy=Object.prototype.propertyIsEnumerable,Oc=(t,r,i)=>r in t?by(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i,Sy=(t,r)=>{for(var i in r||(r={}))_y.call(r,i)&&Oc(t,i,r[i]);if(Lc)for(var i of Lc(r))Cy.call(r,i)&&Oc(t,i,r[i]);return t},Ey=(t,r)=>xy(t,wy(r));const $d=d.forwardRef((t,r)=>d.createElement(dn,Ey(Sy({ref:r},t),{weights:Lv})));$d.displayName="Check";var Ay=Object.defineProperty,$y=Object.defineProperties,ky=Object.getOwnPropertyDescriptors,Ic=Object.getOwnPropertySymbols,Ty=Object.prototype.hasOwnProperty,Ry=Object.prototype.propertyIsEnumerable,Mc=(t,r,i)=>r in t?Ay(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i,Ly=(t,r)=>{for(var i in r||(r={}))Ty.call(r,i)&&Mc(t,i,r[i]);if(Ic)for(var i of Ic(r))Ry.call(r,i)&&Mc(t,i,r[i]);return t},Oy=(t,r)=>$y(t,ky(r));const kd=d.forwardRef((t,r)=>d.createElement(dn,Oy(Ly({ref:r},t),{weights:Ov})));kd.displayName="Eye";var Iy=Object.defineProperty,My=Object.defineProperties,Fy=Object.getOwnPropertyDescriptors,Fc=Object.getOwnPropertySymbols,zy=Object.prototype.hasOwnProperty,jy=Object.prototype.propertyIsEnumerable,zc=(t,r,i)=>r in t?Iy(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i,By=(t,r)=>{for(var i in r||(r={}))zy.call(r,i)&&zc(t,i,r[i]);if(Fc)for(var i of Fc(r))jy.call(r,i)&&zc(t,i,r[i]);return t},Py=(t,r)=>My(t,Fy(r));const Td=d.forwardRef((t,r)=>d.createElement(dn,Py(By({ref:r},t),{weights:Iv})));Td.displayName="EyeSlash";var Wy=Object.defineProperty,Dy=Object.defineProperties,Hy=Object.getOwnPropertyDescriptors,jc=Object.getOwnPropertySymbols,Zy=Object.prototype.hasOwnProperty,Vy=Object.prototype.propertyIsEnumerable,Bc=(t,r,i)=>r in t?Wy(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i,Ny=(t,r)=>{for(var i in r||(r={}))Zy.call(r,i)&&Bc(t,i,r[i]);if(jc)for(var i of jc(r))Vy.call(r,i)&&Bc(t,i,r[i]);return t},Uy=(t,r)=>Dy(t,Hy(r));const Rd=d.forwardRef((t,r)=>d.createElement(dn,Uy(Ny({ref:r},t),{weights:Mv})));Rd.displayName="MagnifyingGlass";var qy=Object.defineProperty,Gy=Object.defineProperties,Ky=Object.getOwnPropertyDescriptors,Pc=Object.getOwnPropertySymbols,Xy=Object.prototype.hasOwnProperty,Yy=Object.prototype.propertyIsEnumerable,Wc=(t,r,i)=>r in t?qy(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i,Qy=(t,r)=>{for(var i in r||(r={}))Xy.call(r,i)&&Wc(t,i,r[i]);if(Pc)for(var i of Pc(r))Yy.call(r,i)&&Wc(t,i,r[i]);return t},Jy=(t,r)=>Gy(t,Ky(r));const Ld=d.forwardRef((t,r)=>d.createElement(dn,Jy(Qy({ref:r},t),{weights:Fv})));Ld.displayName="SmileyXEyes";function eb(t){const r=d.useRef(void 0);return d.useEffect(()=>{r.current=t},[t]),r.current}const tb=Dn.keyframes`
32
32
  0% {
33
33
  background-position: -468px 0;
34
34
  }
35
35
  100% {
36
36
  background-position: 468px 0;
37
37
  }
38
- `,Ny=ae.div`
38
+ `,nb=ae.div`
39
39
  width: 100%;
40
40
  height: 100%;
41
- border-radius: ${({theme:n,$variant:r})=>{const i=n.__hd__.skeleton.container[r].borderRadius;switch(r){case"circle":return`${n.radii[i]}px`;case"rounded":return`${n.radii[i]}px`;default:return`${n.radii[i]}px`}}};
42
- background: ${({theme:n,$visible:r})=>{const i=n.__hd__.skeleton.animation.gradient,s=n.colors[i.start],l=n.colors[i.middle],u=n.colors[i.end];return r?`linear-gradient(
41
+ border-radius: ${({theme:t,$variant:r})=>{const i=t.__hd__.skeleton.container[r].borderRadius;switch(r){case"circle":return`${t.radii[i]}px`;case"rounded":return`${t.radii[i]}px`;default:return`${t.radii[i]}px`}}};
42
+ background: ${({theme:t,$visible:r})=>{const i=t.__hd__.skeleton.animation.gradient,s=t.colors[i.start],l=t.colors[i.middle],u=t.colors[i.end];return r?`linear-gradient(
43
43
  to right,
44
44
  ${s} 8%,
45
45
  ${l} 18%,
46
46
  ${u} 33%
47
47
  )`:s}};
48
- opacity: ${({theme:n,$variant:r})=>n.__hd__.skeleton.container[r].opacity};
49
- transition: background ${({theme:n})=>n.__hd__.skeleton.animation.transition.backgroundDuration}ms ease-in-out;
48
+ opacity: ${({theme:t,$variant:r})=>t.__hd__.skeleton.container[r].opacity};
49
+ transition: background ${({theme:t})=>t.__hd__.skeleton.animation.transition.backgroundDuration}ms ease-in-out;
50
50
  background-size: 800px 100px;
51
- animation: ${Zy} ${({theme:n,$duration:r})=>r||n.__hd__.skeleton.animation.duration}ms linear infinite;
51
+ animation: ${tb} ${({theme:t,$duration:r})=>r||t.__hd__.skeleton.animation.duration}ms linear infinite;
52
52
  will-change: background-position;
53
53
  transform: translateZ(0); /* Force hardware acceleration */
54
- `,Vy=({visible:n,variant:r,animationDuration:i,children:s,...l})=>{const u=_e(),[f,d]=h.useState(n),g=h.useDeferredValue(n),v=h.useDeferredValue(f),C=u.__hd__.skeleton.animation.transition.backgroundDuration,S=u.__hd__.skeleton.animation.transition.contentFadeDuration;return h.useEffect(()=>{let E;return g?d(!0):E=setTimeout(()=>{d(!1)},C),()=>{E&&clearTimeout(E)}},[C,g]),y.jsxs(X,{...l,position:"relative",children:[y.jsx(X,{fw:!0,fh:!0,position:"relative",opacity:n?0:1,transition:`opacity ${S}ms ease-in-out`,children:s}),(n||g||f||v)&&y.jsx(X,{absoluteFill:!0,opacity:n&&f?1:0,transition:`opacity ${C}ms ease-in-out`,children:y.jsx(Ny,{$variant:r,$duration:i,$visible:!0})})]})},Ao=({visible:n=!0,variant:r="rectangle",children:i,animationDuration:s=1500,...l})=>y.jsx(Vy,{visible:n,variant:r,animationDuration:s,...l,children:i}),Uy=ae.p.attrs(({as:n})=>({as:n||"p"}))(({$themeFontSize:n,$themeFontWeight:r,$themeColor:i,$themeTypeface:s,theme:l,$textAlign:u,$textTransform:f,$textDecoration:d,$numberOfLines:g})=>{const v=l,C=Dt(r,w=>v.__hd__.text.fontWeights[w]),S={fontSize:Dt(n,w=>`${v.__hd__.text.fontSizes[w]}px`),lineHeight:Dt(n,w=>`${v.__hd__.text.lineHeights[w]}px`),letterSpacing:Dt(n,w=>`${v.__hd__.text.fontSizes[w]*.03}px`)},E=g?rd({numberOfLines:g,themeFontSize:n},({numberOfLines:w,themeFontSize:_})=>({display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:w,minHeight:`${v.__hd__.text.lineHeights[_]*w}px`,maxHeight:`${v.__hd__.text.lineHeights[_]*w}px`,overflow:"hidden"})):{};return Mr({...S,...E,fontFamily:Dt(s,w=>v.fonts[w]),fontWeight:C,color:Dt(i,w=>v.colors[w]),textAlign:u,textTransform:f,textDecoration:d,margin:0})}),Td=[{pattern:/<strong>(.*?)<\/strong>/g,props:{fontWeight:"bold"}}],qy=(n,r,i)=>{if(typeof n!="string")return n;let s=0;const l=[];return Td.forEach(({pattern:u,props:f})=>{Array.from(n.matchAll(u)).forEach(g=>{const[v,C]=g,S=g.index;S>s&&l.push(n.slice(s,S)),l.push(h.createElement(r,{...i,...f,key:S},C)),s=S+v.length})}),s<n.length&&l.push(n.slice(s)),l},Gy=n=>function(i){const{useRichText:s=!1,children:l}=i;if(!s||typeof l!="string")return y.jsx(n,{...i,children:l});const u=qy(l.toString(),n,i);return y.jsx(n,{...i,children:u})};function Ky({children:n,fontSize:r="medium",fontWeight:i="regular",color:s="grey900",typeface:l="neutral",textAlign:u,textTransform:f,textDecoration:d,numberOfLines:g,"data-testid":v,as:C="p",...S},E){return y.jsx(Uy,{...S,$themeFontSize:r,$themeFontWeight:i,$themeColor:s,$themeTypeface:l,$textAlign:u,$textTransform:f,$textDecoration:d,ref:E,"data-testid":v,as:C,$numberOfLines:g,children:n})}const Xy=h.forwardRef(Ky),ht=Gy(Xy),Yy=()=>y.jsxs(X,{display:"flex",alignItems:"center",justifyContent:"center",gap:"2xs",children:[y.jsx(Ta,{art:kd,size:"sm",color:"grey600"}),y.jsx(ht,{fontSize:"xs",color:"grey600",children:"Error"})]}),Qy=ae.img`
54
+ `,rb=({visible:t,variant:r,animationDuration:i,children:s,...l})=>{const u=xe(),[f,h]=d.useState(t),g=d.useDeferredValue(t),v=d.useDeferredValue(f),_=u.__hd__.skeleton.animation.transition.backgroundDuration,S=u.__hd__.skeleton.animation.transition.contentFadeDuration;return d.useEffect(()=>{let E;return g?h(!0):E=setTimeout(()=>{h(!1)},_),()=>{E&&clearTimeout(E)}},[_,g]),y.jsxs(X,{...l,position:"relative",children:[y.jsx(X,{fw:!0,fh:!0,position:"relative",opacity:t?0:1,transition:`opacity ${S}ms ease-in-out`,children:s}),(t||g||f||v)&&y.jsx(X,{absoluteFill:!0,opacity:t&&f?1:0,transition:`opacity ${_}ms ease-in-out`,children:y.jsx(nb,{$variant:r,$duration:i,$visible:!0})})]})},mi=({visible:t=!0,variant:r="rectangle",children:i,animationDuration:s=1500,...l})=>y.jsx(rb,{visible:t,variant:r,animationDuration:s,...l,children:i}),ib=ae.p.attrs(({as:t})=>({as:t||"p"}))(({$themeFontSize:t,$themeFontWeight:r,$themeColor:i,$themeTypeface:s,theme:l,$textAlign:u,$textTransform:f,$textDecoration:h,$numberOfLines:g})=>{const v=l,_=Dt(r,x=>v.__hd__.text.fontWeights[x]),S={fontSize:Dt(t,x=>`${v.__hd__.text.fontSizes[x]}px`),lineHeight:Dt(t,x=>`${v.__hd__.text.lineHeights[x]}px`),letterSpacing:Dt(t,x=>`${v.__hd__.text.fontSizes[x]*.03}px`)},E=g?od({numberOfLines:g,themeFontSize:t},({numberOfLines:x,themeFontSize:C})=>({display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:x,minHeight:`${v.__hd__.text.lineHeights[C]*x}px`,maxHeight:`${v.__hd__.text.lineHeights[C]*x}px`,overflow:"hidden"})):{};return Mr({...S,...E,fontFamily:Dt(s,x=>v.fonts[x]),fontWeight:_,color:Dt(i,x=>v.colors[x]),textAlign:u,textTransform:f,textDecoration:h,margin:0})}),Od=[{pattern:/<strong>(.*?)<\/strong>/g,props:{fontWeight:"bold"}}],ob=(t,r,i)=>{if(typeof t!="string")return t;let s=0;const l=[];return Od.forEach(({pattern:u,props:f})=>{Array.from(t.matchAll(u)).forEach(g=>{const[v,_]=g,S=g.index;S>s&&l.push(t.slice(s,S)),l.push(d.createElement(r,{...i,...f,key:S},_)),s=S+v.length})}),s<t.length&&l.push(t.slice(s)),l},sb=t=>function(i){const{useRichText:s=!1,children:l}=i;if(!s||typeof l!="string")return y.jsx(t,{...i,children:l});const u=ob(l.toString(),t,i);return y.jsx(t,{...i,children:u})};function ab({children:t,fontSize:r="medium",fontWeight:i="regular",color:s="grey900",typeface:l="neutral",textAlign:u,textTransform:f,textDecoration:h,numberOfLines:g,"data-testid":v,as:_="p",...S},E){return y.jsx(ib,{...S,$themeFontSize:r,$themeFontWeight:i,$themeColor:s,$themeTypeface:l,$textAlign:u,$textTransform:f,$textDecoration:h,ref:E,"data-testid":v,as:_,$numberOfLines:g,children:t})}const lb=d.forwardRef(ab),ht=sb(lb),ub=()=>y.jsxs(X,{display:"flex",alignItems:"center",justifyContent:"center",gap:"2xs",children:[y.jsx(Ra,{art:Ld,size:"sm",color:"grey600"}),y.jsx(ht,{fontSize:"xs",color:"grey600",children:"Error"})]}),cb=ae.img`
55
55
  width: 100%;
56
56
  height: 100%;
57
- object-fit: ${({$objectFit:n})=>n};
58
- object-position: ${({$objectPosition:n})=>n};
59
- aspect-ratio: ${({$aspectRatio:n})=>n};
60
- mix-blend-mode: ${({$mixBlendMode:n})=>n};
61
- image-rendering: ${({$imageRendering:n})=>n};
62
- `,Rd=({art:n,width:r,height:i,style:s,"data-testid":l,alt:u,fallback:f,useSkeleton:d=!0,objectFit:g,objectPosition:v,aspectRatio:C,mixBlendMode:S,imageRendering:E,...w})=>{const _=_e(),[O,R]=h.useState(!0),[M,T]=h.useState(!1),k=_.__hd__.art.defaultImageSize||_.__hd__.art.defaultSize,I=Dt(r,Ce=>wt(_,Ce??k)),P=Dt(i,Ce=>wt(_,Ce??k)),U=w.r||w.radius||w.borderRadius||"md",N=Hy(n);h.useEffect(()=>{!ze.isNil(N)&&N!==n&&(R(!0),T(!1))},[n,N]);const Q=()=>{R(!1)},pe=()=>{T(!0),R(!1)};return y.jsx(X,{display:"flex",alignItems:"center",justifyContent:"center",width:I,height:P,overflow:"hidden",style:s,"data-testid":l,...w,children:y.jsxs(Ao,{visible:O,width:I,height:P,r:U,children:[M&&y.jsxs(X,{width:I,height:P,r:U,display:"flex",alignItems:"center",justifyContent:"center",bgColor:"grey200",children:[!O&&f,!O&&!f&&!u&&y.jsx(ht,{fontSize:"xs",color:"grey600",children:f||u}),!O&&!f&&!u&&Yy()]}),!M&&(!At()||!d)&&y.jsx(Qy,{src:n,alt:ze.isString(u)?u:"Image",onLoad:Q,onError:pe,"data-testid":l?`${l}-image`:void 0,$objectFit:g,$objectPosition:v,$aspectRatio:C,$mixBlendMode:S,$imageRendering:E}),!M&&At()&&d&&u]})})},Ld=({art:n,width:r,height:i,style:s,"data-testid":l,...u})=>{const f=_e(),d=f.__hd__.art.defaultSvgSize||f.__hd__.art.defaultSize,g=wt(f,r??d),v=wt(f,i??d);return y.jsx(X,{display:"flex",alignItems:"center",justifyContent:"center",width:g,height:v,overflow:"hidden",style:s,"data-testid":l,dangerouslySetInnerHTML:{__html:n},...u})},Qt=n=>{const{art:r,type:i}=n;return i==="image"||ze.isString(r)&&md(r)?y.jsx(Rd,{...n}):i==="svg"||ze.isString(r)&&vd(r)?y.jsx(Ld,{...n}):i==="emoji"||ze.isString(r)&&pd(r)?y.jsx(bd,{...n}):i==="icon"||ze.isString(r)&&gd(r)?y.jsx(Ta,{...n}):i==="brand"?y.jsx(yd,{...n}):y.jsx(y.Fragment,{})},Jy=n=>n==="sm"||n==="md"||n==="lg",Id=({src:n,name:r,size:i,...s})=>{var C;const l=_e(),u=l.__hd__.avatar,f=i||u.defaultSize,d=wt(l,f);let g=u.defaultFallbackTextSize;typeof f=="string"&&Jy(f)&&u.sizes[f]&&(g=u.sizes[f].fallbackTextSize);const v=u.fallbackBackgroundColor;return y.jsx(X,{width:d,height:d,r:"full",overflow:"hidden",display:"flex",alignItems:"center",justifyContent:"center",...s,children:n?y.jsx(Qt,{type:"image",art:n,width:"100%",height:"100%",objectFit:"cover"}):y.jsx(X,{width:"100%",height:"100%",bgColor:v,display:"flex",justifyContent:"center",alignItems:"center",children:y.jsx(ht,{color:"white",fontSize:g,fontWeight:"semibold",children:((C=r==null?void 0:r.charAt(0))==null?void 0:C.toUpperCase())||"U"})})})};function eb(n){const[r,i]=h.useState(()=>(At(),!1));return h.useEffect(()=>{if(At())return;const s=window.matchMedia(n),l=u=>{i(u.matches)};return s.addEventListener?s.addEventListener("change",l):s.addListener(l),i(s.matches),()=>{s.removeEventListener?s.removeEventListener("change",l):s.removeListener(l)}},[n]),r}const gi=(n="xl")=>{const[r,i]=h.useState(()=>(typeof window>"u"||!window.matchMedia,n));return h.useEffect(()=>{if(At())return;const l=["xl","lg","md","sm"].map(d=>({key:d,mql:window.matchMedia(`(min-width: ${hi[d]}px)`)})),u=()=>{for(const{key:d,mql:g}of l)if(g.matches)return d;return"xs"},f=()=>{i(u())};return f(),l.forEach(({mql:d})=>{d.addEventListener?d.addEventListener("change",f):d.addListener(f)}),()=>{l.forEach(({mql:d})=>{d.removeEventListener?d.removeEventListener("change",f):d.removeListener(f)})}},[]),r};function tb(){const{innerWidth:n,innerHeight:r}=window;return{width:n,height:r}}const Od=()=>{const[n,r]=h.useState(()=>At()?{width:void 0,height:void 0}:{width:void 0,height:void 0});return h.useEffect(()=>{if(At())return;function i(){r(tb())}return i(),window.addEventListener("resize",i),()=>window.removeEventListener("resize",i)},[]),n},or=typeof window<"u"?h.useLayoutEffect:h.useEffect;function da(n,r,i,s){const l=h.useRef(r);or(()=>{l.current=r},[r]),h.useEffect(()=>{const u=(i==null?void 0:i.current)??window;if(!(u&&u.addEventListener))return;const f=d=>{l.current(d)};return u.addEventListener(n,f,s),()=>{u.removeEventListener(n,f,s)}},[n,i,s])}function $o(n){const[r,i]=h.useState(!1),s=gi(),l=s==="xs"||s==="sm",u=()=>{l||i(!0)},f=()=>{l||i(!1)};return da("mouseenter",u,n),da("mouseleave",f,n),l?!1:r}const nb=()=>typeof window>"u"||!window.navigator?{isMouse:!0,isTouch:!1}:window.matchMedia("(any-pointer: fine)").matches?{isMouse:!0,isTouch:!1}:window.matchMedia("(any-pointer: coarse)").matches?{isMouse:!1,isTouch:!0}:{isMouse:!0,isTouch:!1};function Ia(){const[n,r]=h.useState(nb);return h.useEffect(()=>{const i=s=>{s.pointerType==="touch"?n.isTouch||r({isMouse:!1,isTouch:!0}):s.pointerType==="mouse"&&(n.isMouse||r({isMouse:!0,isTouch:!1}))};return window.addEventListener("pointerdown",i,{passive:!0}),()=>{window.removeEventListener("pointerdown",i)}},[n]),n}var rb="2.0.3",ha=500,Pc="user-agent",Lr="",Wc="?",yo="function",Wn="undefined",Ir="object",pa="string",It="browser",xn="cpu",fn="device",on="engine",Yt="os",kr="result",K="name",j="type",q="vendor",Y="version",Ot="architecture",ui="major",H="model",si="console",Ee="mobile",qe="tablet",ct="smarttv",cn="wearable",Qs="xr",ai="embedded",Yr="inapp",Oa="brands",rr="formFactors",Ma="fullVersionList",Tr="platform",Fa="platformVersion",ko="bitness",Zn="sec-ch-ua",ib=Zn+"-full-version-list",ob=Zn+"-arch",sb=Zn+"-"+ko,ab=Zn+"-form-factors",lb=Zn+"-"+Ee,ub=Zn+"-"+H,Md=Zn+"-"+Tr,cb=Md+"-version",Fd=[Oa,Ma,Ee,H,Tr,Fa,Ot,rr,ko],oo="Amazon",Cr="Apple",Dc="ASUS",Hc="BlackBerry",er="Google",Zc="Huawei",Nc="Lenovo",Vc="Honor",so="LG",Js="Microsoft",ea="Motorola",ta="Nvidia",Uc="OnePlus",na="OPPO",Qr="Samsung",qc="Sharp",Jr="Sony",ra="Xiaomi",ia="Zebra",Gc="Chrome",Kc="Chromium",jn="Chromecast",fb="Edge",ei="Firefox",ti="Opera",oa="Facebook",Xc="Sogou",Sr="Mobile ",ni=" Browser",ga="Windows",db=typeof window!==Wn,Mt=db&&window.navigator?window.navigator:void 0,Bn=Mt&&Mt.userAgentData?Mt.userAgentData:void 0,hb=function(n,r){var i={},s=r;if(!bo(r)){s={};for(var l in r)for(var u in r[l])s[u]=r[l][u].concat(s[u]?s[u]:[])}for(var f in n)i[f]=s[f]&&s[f].length%2===0?s[f].concat(n[f]):n[f];return i},To=function(n){for(var r={},i=0;i<n.length;i++)r[n[i].toUpperCase()]=n[i];return r},ma=function(n,r){if(typeof n===Ir&&n.length>0){for(var i in n)if(_n(n[i])==_n(r))return!0;return!1}return Fr(n)?_n(r).indexOf(_n(n))!==-1:!1},bo=function(n,r){for(var i in n)return/^(browser|cpu|device|engine|os)$/.test(i)||(r?bo(n[i]):!1)},Fr=function(n){return typeof n===pa},sa=function(n){if(n){for(var r=[],i=Or(/\\?\"/g,n).split(","),s=0;s<i.length;s++)if(i[s].indexOf(";")>-1){var l=ci(i[s]).split(";v=");r[s]={brand:l[0],version:l[1]}}else r[s]=ci(i[s]);return r}},_n=function(n){return Fr(n)?n.toLowerCase():n},aa=function(n){return Fr(n)?Or(/[^\d\.]/g,n).split(".")[0]:void 0},Cn=function(n){for(var r in n){var i=n[r];typeof i==Ir&&i.length==2?this[i[0]]=i[1]:this[i]=void 0}return this},Or=function(n,r){return Fr(r)?r.replace(n,Lr):r},ri=function(n){return Or(/\\?\"/g,n)},ci=function(n,r){if(Fr(n))return n=Or(/^\s\s*/,n),typeof r===Wn?n:n.substring(0,ha)},la=function(n,r){if(!(!n||!r))for(var i=0,s,l,u,f,d,g;i<r.length&&!d;){var v=r[i],C=r[i+1];for(s=l=0;s<v.length&&!d&&v[s];)if(d=v[s++].exec(n),d)for(u=0;u<C.length;u++)g=d[++l],f=C[u],typeof f===Ir&&f.length>0?f.length===2?typeof f[1]==yo?this[f[0]]=f[1].call(this,g):this[f[0]]=f[1]:f.length===3?typeof f[1]===yo&&!(f[1].exec&&f[1].test)?this[f[0]]=g?f[1].call(this,g,f[2]):void 0:this[f[0]]=g?g.replace(f[1],f[2]):void 0:f.length===4&&(this[f[0]]=g?f[3].call(this,g.replace(f[1],f[2])):void 0):this[f]=g||void 0;i+=2}},Pn=function(n,r){for(var i in r)if(typeof r[i]===Ir&&r[i].length>0){for(var s=0;s<r[i].length;s++)if(ma(r[i][s],n))return i===Wc?void 0:i}else if(ma(r[i],n))return i===Wc?void 0:i;return r.hasOwnProperty("*")?r["*"]:n},Yc={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Qc={embedded:"Automotive",mobile:"Mobile",tablet:["Tablet","EInk"],smarttv:"TV",wearable:"Watch",xr:["VR","XR"],"?":["Desktop","Unknown"],"*":void 0},Jc={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[Y,[K,Sr+"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[Y,[K,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[K,Y],[/opios[\/ ]+([\w\.]+)/i],[Y,[K,ti+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[Y,[K,ti+" GX"]],[/\bopr\/([\w\.]+)/i],[Y,[K,ti]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[Y,[K,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[Y,[K,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon|otter|dooble|(?:lg |qute)browser)\/([-\w\.]+)/i,/(heytap|ovi|115|surf)browser\/([\d\.]+)/i,/(ecosia|weibo)(?:__| \w+@)([\d\.]+)/i],[K,Y],[/quark(?:pc)?\/([-\w\.]+)/i],[Y,[K,"Quark"]],[/\bddg\/([\w\.]+)/i],[Y,[K,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[Y,[K,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[Y,[K,"WeChat"]],[/konqueror\/([\w\.]+)/i],[Y,[K,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[Y,[K,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[Y,[K,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[Y,[K,"Smart "+Nc+ni]],[/(avast|avg)\/([\w\.]+)/i],[[K,/(.+)/,"$1 Secure"+ni],Y],[/\bfocus\/([\w\.]+)/i],[Y,[K,ei+" Focus"]],[/\bopt\/([\w\.]+)/i],[Y,[K,ti+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[Y,[K,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[Y,[K,"Dolphin"]],[/coast\/([\w\.]+)/i],[Y,[K,ti+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[Y,[K,"MIUI"+ni]],[/fxios\/([\w\.-]+)/i],[Y,[K,Sr+ei]],[/\bqihoobrowser\/?([\w\.]*)/i],[Y,[K,"360"]],[/\b(qq)\/([\w\.]+)/i],[[K,/(.+)/,"$1Browser"],Y],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[K,/(.+)/,"$1"+ni],Y],[/samsungbrowser\/([\w\.]+)/i],[Y,[K,Qr+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[Y,[K,Xc+" Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[K,Xc+" Mobile"],Y],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[K,Y],[/(lbbrowser|rekonq)/i],[K],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[Y,K],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[K,oa],Y,[j,Yr]],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(instagram|snapchat)[\/ ]([-\w\.]+)/i],[K,Y,[j,Yr]],[/\bgsa\/([\w\.]+) .*safari\//i],[Y,[K,"GSA"],[j,Yr]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[Y,[K,"TikTok"],[j,Yr]],[/\[(linkedin)app\]/i],[K,[j,Yr]],[/(chromium)[\/ ]([-\w\.]+)/i],[K,Y],[/headlesschrome(?:\/([\w\.]+)| )/i],[Y,[K,Gc+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[K,Gc+" WebView"],Y],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[Y,[K,"Android"+ni]],[/chrome\/([\w\.]+) mobile/i],[Y,[K,Sr+"Chrome"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[K,Y],[/version\/([\w\.\,]+) .*mobile(?:\/\w+ | ?)safari/i],[Y,[K,Sr+"Safari"]],[/iphone .*mobile(?:\/\w+ | ?)safari/i],[[K,Sr+"Safari"]],[/version\/([\w\.\,]+) .*(safari)/i],[Y,K],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[K,[Y,"1"]],[/(webkit|khtml)\/([\w\.]+)/i],[K,Y],[/(?:mobile|tablet);.*(firefox)\/([\w\.-]+)/i],[[K,Sr+ei],Y],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[K,"Netscape"],Y],[/(wolvic|librewolf)\/([\w\.]+)/i],[K,Y],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[Y,[K,ei+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[K,[Y,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[K,[Y,/[^\d\.]+./,Lr]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[Ot,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[Ot,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[Ot,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[Ot,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[Ot,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[Ot,/ower/,Lr,_n]],[/ sun4\w[;\)]/i],[[Ot,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[Ot,_n]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[H,[q,Qr],[j,qe]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[H,[q,Qr],[j,Ee]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[H,[q,Cr],[j,Ee]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[H,[q,Cr],[j,qe]],[/(macintosh);/i],[H,[q,Cr]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[H,[q,qc],[j,Ee]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[H,[q,Vc],[j,qe]],[/honor([-\w ]+)[;\)]/i],[H,[q,Vc],[j,Ee]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[H,[q,Zc],[j,qe]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[H,[q,Zc],[j,Ee]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[H,/_/g," "],[q,ra],[j,qe]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[H,/_/g," "],[q,ra],[j,Ee]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[H,[q,na],[j,Ee]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[H,[q,Pn,{OnePlus:["304","403","203"],"*":na}],[j,qe]],[/(vivo (5r?|6|8l?|go|one|s|x[il]?[2-4]?)[\w\+ ]*)(?: bui|\))/i],[H,[q,"BLU"],[j,Ee]],[/; vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[H,[q,"Vivo"],[j,Ee]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[H,[q,"Realme"],[j,Ee]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[H,[q,ea],[j,Ee]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[H,[q,ea],[j,qe]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[H,[q,so],[j,qe]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+(?!.*(?:browser|netcast|android tv|watch))(\w+)/i,/\blg-?([\d\w]+) bui/i],[H,[q,so],[j,Ee]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[H,[q,Nc],[j,qe]],[/(nokia) (t[12][01])/i],[q,H,[j,qe]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[H,/_/g," "],[j,Ee],[q,"Nokia"]],[/(pixel (c|tablet))\b/i],[H,[q,er],[j,qe]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[H,[q,er],[j,Ee]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[H,[q,Jr],[j,Ee]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[H,"Xperia Tablet"],[q,Jr],[j,qe]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[H,[q,Uc],[j,Ee]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[H,[q,oo],[j,qe]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[H,/(.+)/g,"Fire Phone $1"],[q,oo],[j,Ee]],[/(playbook);[-\w\),; ]+(rim)/i],[H,q,[j,qe]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[H,[q,Hc],[j,Ee]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[H,[q,Dc],[j,qe]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[H,[q,Dc],[j,Ee]],[/(nexus 9)/i],[H,[q,"HTC"],[j,qe]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[q,[H,/_/g," "],[j,Ee]],[/tcl (xess p17aa)/i,/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])(_\w(\w|\w\w))?(\)| bui)/i],[H,[q,"TCL"],[j,qe]],[/droid [\w\.]+; (418(?:7d|8v)|5087z|5102l|61(?:02[dh]|25[adfh]|27[ai]|56[dh]|59k|65[ah])|a509dl|t(?:43(?:0w|1[adepqu])|50(?:6d|7[adju])|6(?:09dl|10k|12b|71[efho]|76[hjk])|7(?:66[ahju]|67[hw]|7[045][bh]|71[hk]|73o|76[ho]|79w|81[hks]?|82h|90[bhsy]|99b)|810[hs]))(_\w(\w|\w\w))?(\)| bui)/i],[H,[q,"TCL"],[j,Ee]],[/(itel) ((\w+))/i],[[q,_n],H,[j,Pn,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[H,[q,"Acer"],[j,qe]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[H,[q,"Meizu"],[j,Ee]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[H,[q,"Ulefone"],[j,Ee]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[H,[q,"Energizer"],[j,Ee]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[H,[q,"Cat"],[j,Ee]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[H,[q,"Smartfren"],[j,Ee]],[/droid.+; (a(?:015|06[35]|142p?))/i],[H,[q,"Nothing"],[j,Ee]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[H,[q,"Archos"],[j,qe]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[H,[q,"Archos"],[j,Ee]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[q,H,[j,qe]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (blu|hmd|imo|tcl)[_ ]([\w\+ ]+?)(?: bui|\)|; r)/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[q,H,[j,Ee]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i],[q,H,[j,qe]],[/(surface duo)/i],[H,[q,Js],[j,qe]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[H,[q,"Fairphone"],[j,Ee]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[H,[q,ta],[j,qe]],[/(sprint) (\w+)/i],[q,H,[j,Ee]],[/(kin\.[onetw]{3})/i],[[H,/\./g," "],[q,Js],[j,Ee]],[/droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[H,[q,ia],[j,qe]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[H,[q,ia],[j,Ee]],[/smart-tv.+(samsung)/i],[q,[j,ct]],[/hbbtv.+maple;(\d+)/i],[[H,/^/,"SmartTV"],[q,Qr],[j,ct]],[/tcast.+(lg)e?. ([-\w]+)/i],[q,H,[j,ct]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[q,so],[j,ct]],[/(apple) ?tv/i],[q,[H,Cr+" TV"],[j,ct]],[/crkey.*devicetype\/chromecast/i],[[H,jn+" Third Generation"],[q,er],[j,ct]],[/crkey.*devicetype\/([^/]*)/i],[[H,/^/,"Chromecast "],[q,er],[j,ct]],[/fuchsia.*crkey/i],[[H,jn+" Nest Hub"],[q,er],[j,ct]],[/crkey/i],[[H,jn],[q,er],[j,ct]],[/(portaltv)/i],[H,[q,oa],[j,ct]],[/droid.+aft(\w+)( bui|\))/i],[H,[q,oo],[j,ct]],[/(shield \w+ tv)/i],[H,[q,ta],[j,ct]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[H,[q,qc],[j,ct]],[/(bravia[\w ]+)( bui|\))/i],[H,[q,Jr],[j,ct]],[/(mi(tv|box)-?\w+) bui/i],[H,[q,ra],[j,ct]],[/Hbbtv.*(technisat) (.*);/i],[q,H,[j,ct]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[q,ci],[H,ci],[j,ct]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[H,[j,ct]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[j,ct]],[/(ouya)/i,/(nintendo) (\w+)/i],[q,H,[j,si]],[/droid.+; (shield)( bui|\))/i],[H,[q,ta],[j,si]],[/(playstation \w+)/i],[H,[q,Jr],[j,si]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[H,[q,Js],[j,si]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[H,[q,Qr],[j,cn]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[q,H,[j,cn]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[H,[q,na],[j,cn]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[H,[q,Cr],[j,cn]],[/(opwwe\d{3})/i],[H,[q,Uc],[j,cn]],[/(moto 360)/i],[H,[q,ea],[j,cn]],[/(smartwatch 3)/i],[H,[q,Jr],[j,cn]],[/(g watch r)/i],[H,[q,so],[j,cn]],[/droid.+; (wt63?0{2,3})\)/i],[H,[q,ia],[j,cn]],[/droid.+; (glass) \d/i],[H,[q,er],[j,Qs]],[/(pico) (4|neo3(?: link|pro)?)/i],[q,H,[j,Qs]],[/(quest( \d| pro)?s?).+vr/i],[H,[q,oa],[j,Qs]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[q,[j,ai]],[/(aeobc)\b/i],[H,[q,oo],[j,ai]],[/(homepod).+mac os/i],[H,[q,Cr],[j,ai]],[/windows iot/i],[[j,ai]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+?(mobile|vr|\d) safari/i],[H,[j,Pn,{mobile:"Mobile",xr:"VR","*":qe}]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[j,qe]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[j,Ee]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[H,[q,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[Y,[K,fb+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[K,Y],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[Y,[K,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[K,Y],[/ladybird\//i],[[K,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[Y,K]],os:[[/microsoft (windows) (vista|xp)/i],[K,Y],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[K,[Y,Pn,Yc]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[Y,Pn,Yc],[K,ga]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[Y,/_/g,"."],[K,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[K,"macOS"],[Y,/_/g,"."]],[/android ([\d\.]+).*crkey/i],[Y,[K,jn+" Android"]],[/fuchsia.*crkey\/([\d\.]+)/i],[Y,[K,jn+" Fuchsia"]],[/crkey\/([\d\.]+).*devicetype\/smartspeaker/i],[Y,[K,jn+" SmartSpeaker"]],[/linux.*crkey\/([\d\.]+)/i],[Y,[K,jn+" Linux"]],[/crkey\/([\d\.]+)/i],[Y,[K,jn]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[Y,K],[/(ubuntu) ([\w\.]+) like android/i],[[K,/(.+)/,"$1 Touch"],Y],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/\.; ]?([\d\.]*)/i],[K,Y],[/\(bb(10);/i],[Y,[K,Hc]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[Y,[K,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[Y,[K,ei+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[Y,[K,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[Y,[K,"watchOS"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[K,"Chrome OS"],Y],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) (\w+)/i,/(xbox); +xbox ([^\);]+)/i,/(pico) .+os([\w\.]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[K,Y],[/(sunos) ?([\w\.\d]*)/i],[[K,"Solaris"],Y],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[K,Y]]},ao=function(){var n={init:{},isIgnore:{},isIgnoreRgx:{},toString:{}};return Cn.call(n.init,[[It,[K,Y,ui,j]],[xn,[Ot]],[fn,[j,H,q]],[on,[K,Y]],[Yt,[K,Y]]]),Cn.call(n.isIgnore,[[It,[Y,ui]],[on,[Y]],[Yt,[Y]]]),Cn.call(n.isIgnoreRgx,[[It,/ ?browser$/i],[Yt,/ ?os$/i]]),Cn.call(n.toString,[[It,[K,Y]],[xn,[Ot]],[fn,[q,H]],[on,[K,Y]],[Yt,[K,Y]]]),n}(),pb=function(n,r){var i=ao.init[r],s=ao.isIgnore[r]||0,l=ao.isIgnoreRgx[r]||0,u=ao.toString[r]||0;function f(){Cn.call(this,i)}return f.prototype.getItem=function(){return n},f.prototype.withClientHints=function(){return Bn?Bn.getHighEntropyValues(Fd).then(function(d){return n.setCH(new zd(d,!1)).parseCH().get()}):n.parseCH().get()},f.prototype.withFeatureCheck=function(){return n.detectFeature().get()},r!=kr&&(f.prototype.is=function(d){var g=!1;for(var v in this)if(this.hasOwnProperty(v)&&!ma(s,v)&&_n(l?Or(l,this[v]):this[v])==_n(l?Or(l,d):d)){if(g=!0,d!=Wn)break}else if(d==Wn&&g){g=!g;break}return g},f.prototype.toString=function(){var d=Lr;for(var g in u)typeof this[u[g]]!==Wn&&(d+=(d?" ":Lr)+this[u[g]]);return d||Wn}),Bn||(f.prototype.then=function(d){var g=this,v=function(){for(var S in g)g.hasOwnProperty(S)&&(this[S]=g[S])};v.prototype={is:f.prototype.is,toString:f.prototype.toString};var C=new v;return d(C),C}),new f};function zd(n,r){if(n=n||{},Cn.call(this,Fd),r)Cn.call(this,[[Oa,sa(n[Zn])],[Ma,sa(n[ib])],[Ee,/\?1/.test(n[lb])],[H,ri(n[ub])],[Tr,ri(n[Md])],[Fa,ri(n[cb])],[Ot,ri(n[ob])],[rr,sa(n[ab])],[ko,ri(n[sb])]]);else for(var i in n)this.hasOwnProperty(i)&&typeof n[i]!==Wn&&(this[i]=n[i])}function ef(n,r,i,s){return this.get=function(l){return l?this.data.hasOwnProperty(l)?this.data[l]:void 0:this.data},this.set=function(l,u){return this.data[l]=u,this},this.setCH=function(l){return this.uaCH=l,this},this.detectFeature=function(){if(Mt&&Mt.userAgent==this.ua)switch(this.itemType){case It:Mt.brave&&typeof Mt.brave.isBrave==yo&&this.set(K,"Brave");break;case fn:!this.get(j)&&Bn&&Bn[Ee]&&this.set(j,Ee),this.get(H)=="Macintosh"&&Mt&&typeof Mt.standalone!==Wn&&Mt.maxTouchPoints&&Mt.maxTouchPoints>2&&this.set(H,"iPad").set(j,qe);break;case Yt:!this.get(K)&&Bn&&Bn[Tr]&&this.set(K,Bn[Tr]);break;case kr:var l=this.data,u=function(f){return l[f].getItem().detectFeature().get()};this.set(It,u(It)).set(xn,u(xn)).set(fn,u(fn)).set(on,u(on)).set(Yt,u(Yt))}return this},this.parseUA=function(){return this.itemType!=kr&&la.call(this.data,this.ua,this.rgxMap),this.itemType==It&&this.set(ui,aa(this.get(Y))),this},this.parseCH=function(){var l=this.uaCH,u=this.rgxMap;switch(this.itemType){case It:case on:var f=l[Ma]||l[Oa],d;if(f)for(var g in f){var v=f[g].brand||f[g],C=f[g].version;this.itemType==It&&!/not.a.brand/i.test(v)&&(!d||/chrom/i.test(d)&&v!=Kc)&&(v=Pn(v,{Chrome:"Google Chrome",Edge:"Microsoft Edge","Chrome WebView":"Android WebView","Chrome Headless":"HeadlessChrome","Huawei Browser":"HuaweiBrowser","MIUI Browser":"Miui Browser","Opera Mobi":"OperaMobile",Yandex:"YaBrowser"}),this.set(K,v).set(Y,C).set(ui,aa(C)),d=v),this.itemType==on&&v==Kc&&this.set(Y,C)}break;case xn:var S=l[Ot];S&&(S&&l[ko]=="64"&&(S+="64"),la.call(this.data,S+";",u));break;case fn:if(l[Ee]&&this.set(j,Ee),l[H]&&(this.set(H,l[H]),!this.get(j)||!this.get(q))){var E={};la.call(E,"droid 9; "+l[H]+")",u),!this.get(j)&&E.type&&this.set(j,E.type),!this.get(q)&&E.vendor&&this.set(q,E.vendor)}if(l[rr]){var w;if(typeof l[rr]!="string")for(var _=0;!w&&_<l[rr].length;)w=Pn(l[rr][_++],Qc);else w=Pn(l[rr],Qc);this.set(j,w)}break;case Yt:var O=l[Tr];if(O){var R=l[Fa];O==ga&&(R=parseInt(aa(R),10)>=13?"11":"10"),this.set(K,O).set(Y,R)}this.get(K)==ga&&l[H]=="Xbox"&&this.set(K,"Xbox").set(Y,void 0);break;case kr:var M=this.data,T=function(k){return M[k].getItem().setCH(l).parseCH().get()};this.set(It,T(It)).set(xn,T(xn)).set(fn,T(fn)).set(on,T(on)).set(Yt,T(Yt))}return this},Cn.call(this,[["itemType",n],["ua",r],["uaCH",s],["rgxMap",i],["data",pb(this,n)]]),this}function En(n,r,i){if(typeof n===Ir?(bo(n,!0)?(typeof r===Ir&&(i=r),r=n):(i=n,r=void 0),n=void 0):typeof n===pa&&!bo(r,!0)&&(i=r,r=void 0),i&&typeof i.append===yo){var s={};i.forEach(function(g,v){s[v]=g}),i=s}if(!(this instanceof En))return new En(n,r,i).getResult();var l=typeof n===pa?n:i&&i[Pc]?i[Pc]:Mt&&Mt.userAgent?Mt.userAgent:Lr,u=new zd(i,!0),f=r?hb(Jc,r):Jc,d=function(g){return g==kr?function(){return new ef(g,l,f,u).set("ua",l).set(It,this.getBrowser()).set(xn,this.getCPU()).set(fn,this.getDevice()).set(on,this.getEngine()).set(Yt,this.getOS()).get()}:function(){return new ef(g,l,f[g],u).parseUA().get()}};return Cn.call(this,[["getBrowser",d(It)],["getCPU",d(xn)],["getDevice",d(fn)],["getEngine",d(on)],["getOS",d(Yt)],["getResult",d(kr)],["getUA",function(){return l}],["setUA",function(g){return Fr(g)&&(l=g.length>ha?ci(g,ha):g),this}]]).setUA(l),this}En.VERSION=rb;En.BROWSER=To([K,Y,ui,j]);En.CPU=To([Ot]);En.DEVICE=To([H,q,j,si,Ee,ct,qe,cn,ai]);En.ENGINE=En.OS=To([K,Y]);var jd=(n=>(n.Desktop="Desktop",n.Mobile="Mobile",n.Tablet="Tablet",n.SmartTV="Smart TV",n.Bot="Bot/Crawler",n.Unknown="Unknown",n))(jd||{}),Bd=(n=>(n.Chrome="Chrome",n.Firefox="Firefox",n.Safari="Safari",n.Edge="Edge",n.IE="IE/Edge Legacy",n.Opera="Opera",n.Brave="Brave",n.Other="Other",n))(Bd||{}),Pd=(n=>(n.Windows="Windows",n.macOS="macOS",n.Linux="Linux",n.Android="Android",n.iOS="iOS",n.Other="Other",n))(Pd||{});const va=n=>{const i=new En(n).getResult(),l={deviceType:/bot|crawler|spider|crawling/i.test(n)?"Bot/Crawler":gb(i.device.type),browserName:mb(i.browser.name),osName:vb(i.os.name)},u=l.deviceType==="Mobile"||l.deviceType==="Tablet";return{...i,normalized:l,isMobile:u,isDesktop:!u}},gb=n=>{if(!n)return"Desktop";const r=n.toLowerCase();return r==="mobile"?"Mobile":r==="tablet"?"Tablet":r==="smarttv"?"Smart TV":"Unknown"},mb=n=>{if(!n)return"Other";const r=n.toLowerCase();return r.includes("brave")?"Brave":r.includes("edge")?"Edge":r.includes("opera")?"Opera":r.includes("ie")||r.includes("trident")?"IE/Edge Legacy":r.includes("chrome")?"Chrome":r.includes("firefox")?"Firefox":r.includes("safari")?"Safari":"Other"},vb=n=>{if(!n)return"Other";const r=n.toLowerCase();return r.includes("windows")?"Windows":r.includes("mac os")?"macOS":["ubuntu","debian","fedora","linux"].some(i=>r.includes(i))?"Linux":r.includes("android")?"Android":r.includes("ios")?"iOS":"Other"},yb=n=>{const[r,i]=h.useState(n?va(n):void 0);return h.useEffect(()=>{r||i(va(window.navigator.userAgent))},[r]),r},bb=ae(X)`
57
+ object-fit: ${({$objectFit:t})=>t};
58
+ object-position: ${({$objectPosition:t})=>t};
59
+ aspect-ratio: ${({$aspectRatio:t})=>t};
60
+ mix-blend-mode: ${({$mixBlendMode:t})=>t};
61
+ image-rendering: ${({$imageRendering:t})=>t};
62
+ `,Id=({art:t,width:r,height:i,style:s,"data-testid":l,alt:u,fallback:f,useSkeleton:h=!0,objectFit:g,objectPosition:v,aspectRatio:_,mixBlendMode:S,imageRendering:E,...x})=>{const C=xe(),[F,R]=d.useState(!0),[I,T]=d.useState(!1),k=C.__hd__.art.defaultImageSize||C.__hd__.art.defaultSize,O=Dt(r,Ce=>wt(C,Ce??k)),M=Dt(i,Ce=>wt(C,Ce??k)),N=x.r||x.radius||x.borderRadius||"md",V=eb(t);d.useEffect(()=>{!ze.isNil(V)&&V!==t&&(R(!0),T(!1))},[t,V]);const Q=()=>{R(!1)},pe=()=>{T(!0),R(!1)};return y.jsx(X,{display:"flex",alignItems:"center",justifyContent:"center",width:O,height:M,overflow:"hidden",style:s,"data-testid":l,...x,children:y.jsxs(mi,{visible:F,width:O,height:M,r:N,children:[I&&y.jsxs(X,{width:O,height:M,r:N,display:"flex",alignItems:"center",justifyContent:"center",bgColor:"grey200",children:[!F&&f,!F&&!f&&!u&&y.jsx(ht,{fontSize:"xs",color:"grey600",children:f||u}),!F&&!f&&!u&&ub()]}),!I&&(!yt()||!h)&&y.jsx(cb,{src:t,alt:ze.isString(u)?u:"Image",onLoad:Q,onError:pe,"data-testid":l?`${l}-image`:void 0,$objectFit:g,$objectPosition:v,$aspectRatio:_,$mixBlendMode:S,$imageRendering:E}),!I&&yt()&&h&&u]})})},Md=({art:t,width:r,height:i,style:s,"data-testid":l,...u})=>{const f=xe(),h=f.__hd__.art.defaultSvgSize||f.__hd__.art.defaultSize,g=wt(f,r??h),v=wt(f,i??h);return y.jsx(X,{display:"flex",alignItems:"center",justifyContent:"center",width:g,height:v,overflow:"hidden",style:s,"data-testid":l,dangerouslySetInnerHTML:{__html:t},...u})},Ht=t=>{const{art:r,type:i}=t;return i==="image"||ze.isString(r)&&yd(r)?y.jsx(Id,{...t}):i==="svg"||ze.isString(r)&&bd(r)?y.jsx(Md,{...t}):i==="emoji"||ze.isString(r)&&md(r)?y.jsx(wd,{...t}):i==="icon"||ze.isString(r)&&vd(r)?y.jsx(Ra,{...t}):i==="brand"?y.jsx(xd,{...t}):y.jsx(y.Fragment,{})},fb=t=>t==="sm"||t==="md"||t==="lg",Fd=({src:t,name:r,size:i,...s})=>{var _;const l=xe(),u=l.__hd__.avatar,f=i||u.defaultSize,h=wt(l,f);let g=u.defaultFallbackTextSize;typeof f=="string"&&fb(f)&&u.sizes[f]&&(g=u.sizes[f].fallbackTextSize);const v=u.fallbackBackgroundColor;return y.jsx(X,{width:h,height:h,r:"full",overflow:"hidden",display:"flex",alignItems:"center",justifyContent:"center",...s,children:t?y.jsx(Ht,{type:"image",art:t,width:"100%",height:"100%",objectFit:"cover"}):y.jsx(X,{width:"100%",height:"100%",bgColor:v,display:"flex",justifyContent:"center",alignItems:"center",children:y.jsx(ht,{color:"white",fontSize:g,fontWeight:"semibold",children:((_=r==null?void 0:r.charAt(0))==null?void 0:_.toUpperCase())||"U"})})})};function db(t){const[r,i]=d.useState(()=>(yt(),!1));return d.useEffect(()=>{if(yt())return;const s=window.matchMedia(t),l=u=>{i(u.matches)};return s.addEventListener?s.addEventListener("change",l):s.addListener(l),i(s.matches),()=>{s.removeEventListener?s.removeEventListener("change",l):s.removeListener(l)}},[t]),r}const Fr=(t="xl")=>{const[r,i]=d.useState(()=>(typeof window>"u"||!window.matchMedia,t));return d.useEffect(()=>{if(yt())return;const l=["xl","lg","md","sm"].map(h=>({key:h,mql:window.matchMedia(`(min-width: ${pi[h]}px)`)})),u=()=>{for(const{key:h,mql:g}of l)if(g.matches)return h;return"xs"},f=()=>{i(u())};return f(),l.forEach(({mql:h})=>{h.addEventListener?h.addEventListener("change",f):h.addListener(f)}),()=>{l.forEach(({mql:h})=>{h.removeEventListener?h.removeEventListener("change",f):h.removeListener(f)})}},[]),r};function hb(){const{innerWidth:t,innerHeight:r}=window;return{width:t,height:r}}const zd=()=>{const[t,r]=d.useState(()=>yt()?{width:void 0,height:void 0}:{width:void 0,height:void 0});return d.useEffect(()=>{if(yt())return;function i(){r(hb())}return i(),window.addEventListener("resize",i),()=>window.removeEventListener("resize",i)},[]),t},or=typeof window<"u"?d.useLayoutEffect:d.useEffect;function ha(t,r,i,s){const l=d.useRef(r);or(()=>{l.current=r},[r]),d.useEffect(()=>{const u=(i==null?void 0:i.current)??window;if(!(u&&u.addEventListener))return;const f=h=>{l.current(h)};return u.addEventListener(t,f,s),()=>{u.removeEventListener(t,f,s)}},[t,i,s])}function $o(t){const[r,i]=d.useState(!1),s=Fr(),l=s==="xs"||s==="sm",u=()=>{l||i(!0)},f=()=>{l||i(!1)};return ha("mouseenter",u,t),ha("mouseleave",f,t),l?!1:r}const pb=()=>typeof window>"u"||!window.navigator?{isMouse:!0,isTouch:!1}:window.matchMedia("(any-pointer: fine)").matches?{isMouse:!0,isTouch:!1}:window.matchMedia("(any-pointer: coarse)").matches?{isMouse:!1,isTouch:!0}:{isMouse:!0,isTouch:!1};function Ia(){const[t,r]=d.useState(pb);return d.useEffect(()=>{const i=s=>{s.pointerType==="touch"?t.isTouch||r({isMouse:!1,isTouch:!0}):s.pointerType==="mouse"&&(t.isMouse||r({isMouse:!0,isTouch:!1}))};return window.addEventListener("pointerdown",i,{passive:!0}),()=>{window.removeEventListener("pointerdown",i)}},[t]),t}var gb="2.0.3",pa=500,Dc="user-agent",Lr="",Hc="?",bo="function",Wn="undefined",Or="object",ga="string",Ot="browser",_n="cpu",fn="device",on="engine",Qt="os",kr="result",K="name",B="type",q="vendor",Y="version",It="architecture",ci="major",H="model",ai="console",Ee="mobile",qe="tablet",ct="smarttv",cn="wearable",Js="xr",li="embedded",Qr="inapp",Ma="brands",rr="formFactors",Fa="fullVersionList",Tr="platform",za="platformVersion",ko="bitness",Zn="sec-ch-ua",mb=Zn+"-full-version-list",vb=Zn+"-arch",yb=Zn+"-"+ko,bb=Zn+"-form-factors",xb=Zn+"-"+Ee,wb=Zn+"-"+H,jd=Zn+"-"+Tr,_b=jd+"-version",Bd=[Ma,Fa,Ee,H,Tr,za,It,rr,ko],so="Amazon",Cr="Apple",Zc="ASUS",Vc="BlackBerry",er="Google",Nc="Huawei",Uc="Lenovo",qc="Honor",ao="LG",ea="Microsoft",ta="Motorola",na="Nvidia",Gc="OnePlus",ra="OPPO",Jr="Samsung",Kc="Sharp",ei="Sony",ia="Xiaomi",oa="Zebra",Xc="Chrome",Yc="Chromium",jn="Chromecast",Cb="Edge",ti="Firefox",ni="Opera",sa="Facebook",Qc="Sogou",Sr="Mobile ",ri=" Browser",ma="Windows",Sb=typeof window!==Wn,Mt=Sb&&window.navigator?window.navigator:void 0,Bn=Mt&&Mt.userAgentData?Mt.userAgentData:void 0,Eb=function(t,r){var i={},s=r;if(!xo(r)){s={};for(var l in r)for(var u in r[l])s[u]=r[l][u].concat(s[u]?s[u]:[])}for(var f in t)i[f]=s[f]&&s[f].length%2===0?s[f].concat(t[f]):t[f];return i},To=function(t){for(var r={},i=0;i<t.length;i++)r[t[i].toUpperCase()]=t[i];return r},va=function(t,r){if(typeof t===Or&&t.length>0){for(var i in t)if(Cn(t[i])==Cn(r))return!0;return!1}return zr(t)?Cn(r).indexOf(Cn(t))!==-1:!1},xo=function(t,r){for(var i in t)return/^(browser|cpu|device|engine|os)$/.test(i)||(r?xo(t[i]):!1)},zr=function(t){return typeof t===ga},aa=function(t){if(t){for(var r=[],i=Ir(/\\?\"/g,t).split(","),s=0;s<i.length;s++)if(i[s].indexOf(";")>-1){var l=fi(i[s]).split(";v=");r[s]={brand:l[0],version:l[1]}}else r[s]=fi(i[s]);return r}},Cn=function(t){return zr(t)?t.toLowerCase():t},la=function(t){return zr(t)?Ir(/[^\d\.]/g,t).split(".")[0]:void 0},Sn=function(t){for(var r in t){var i=t[r];typeof i==Or&&i.length==2?this[i[0]]=i[1]:this[i]=void 0}return this},Ir=function(t,r){return zr(r)?r.replace(t,Lr):r},ii=function(t){return Ir(/\\?\"/g,t)},fi=function(t,r){if(zr(t))return t=Ir(/^\s\s*/,t),typeof r===Wn?t:t.substring(0,pa)},ua=function(t,r){if(!(!t||!r))for(var i=0,s,l,u,f,h,g;i<r.length&&!h;){var v=r[i],_=r[i+1];for(s=l=0;s<v.length&&!h&&v[s];)if(h=v[s++].exec(t),h)for(u=0;u<_.length;u++)g=h[++l],f=_[u],typeof f===Or&&f.length>0?f.length===2?typeof f[1]==bo?this[f[0]]=f[1].call(this,g):this[f[0]]=f[1]:f.length===3?typeof f[1]===bo&&!(f[1].exec&&f[1].test)?this[f[0]]=g?f[1].call(this,g,f[2]):void 0:this[f[0]]=g?g.replace(f[1],f[2]):void 0:f.length===4&&(this[f[0]]=g?f[3].call(this,g.replace(f[1],f[2])):void 0):this[f]=g||void 0;i+=2}},Pn=function(t,r){for(var i in r)if(typeof r[i]===Or&&r[i].length>0){for(var s=0;s<r[i].length;s++)if(va(r[i][s],t))return i===Hc?void 0:i}else if(va(r[i],t))return i===Hc?void 0:i;return r.hasOwnProperty("*")?r["*"]:t},Jc={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},ef={embedded:"Automotive",mobile:"Mobile",tablet:["Tablet","EInk"],smarttv:"TV",wearable:"Watch",xr:["VR","XR"],"?":["Desktop","Unknown"],"*":void 0},tf={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[Y,[K,Sr+"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[Y,[K,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[K,Y],[/opios[\/ ]+([\w\.]+)/i],[Y,[K,ni+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[Y,[K,ni+" GX"]],[/\bopr\/([\w\.]+)/i],[Y,[K,ni]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[Y,[K,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[Y,[K,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon|otter|dooble|(?:lg |qute)browser)\/([-\w\.]+)/i,/(heytap|ovi|115|surf)browser\/([\d\.]+)/i,/(ecosia|weibo)(?:__| \w+@)([\d\.]+)/i],[K,Y],[/quark(?:pc)?\/([-\w\.]+)/i],[Y,[K,"Quark"]],[/\bddg\/([\w\.]+)/i],[Y,[K,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[Y,[K,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[Y,[K,"WeChat"]],[/konqueror\/([\w\.]+)/i],[Y,[K,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[Y,[K,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[Y,[K,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[Y,[K,"Smart "+Uc+ri]],[/(avast|avg)\/([\w\.]+)/i],[[K,/(.+)/,"$1 Secure"+ri],Y],[/\bfocus\/([\w\.]+)/i],[Y,[K,ti+" Focus"]],[/\bopt\/([\w\.]+)/i],[Y,[K,ni+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[Y,[K,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[Y,[K,"Dolphin"]],[/coast\/([\w\.]+)/i],[Y,[K,ni+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[Y,[K,"MIUI"+ri]],[/fxios\/([\w\.-]+)/i],[Y,[K,Sr+ti]],[/\bqihoobrowser\/?([\w\.]*)/i],[Y,[K,"360"]],[/\b(qq)\/([\w\.]+)/i],[[K,/(.+)/,"$1Browser"],Y],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[K,/(.+)/,"$1"+ri],Y],[/samsungbrowser\/([\w\.]+)/i],[Y,[K,Jr+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[Y,[K,Qc+" Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[K,Qc+" Mobile"],Y],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[K,Y],[/(lbbrowser|rekonq)/i],[K],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[Y,K],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[K,sa],Y,[B,Qr]],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(instagram|snapchat)[\/ ]([-\w\.]+)/i],[K,Y,[B,Qr]],[/\bgsa\/([\w\.]+) .*safari\//i],[Y,[K,"GSA"],[B,Qr]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[Y,[K,"TikTok"],[B,Qr]],[/\[(linkedin)app\]/i],[K,[B,Qr]],[/(chromium)[\/ ]([-\w\.]+)/i],[K,Y],[/headlesschrome(?:\/([\w\.]+)| )/i],[Y,[K,Xc+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[K,Xc+" WebView"],Y],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[Y,[K,"Android"+ri]],[/chrome\/([\w\.]+) mobile/i],[Y,[K,Sr+"Chrome"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[K,Y],[/version\/([\w\.\,]+) .*mobile(?:\/\w+ | ?)safari/i],[Y,[K,Sr+"Safari"]],[/iphone .*mobile(?:\/\w+ | ?)safari/i],[[K,Sr+"Safari"]],[/version\/([\w\.\,]+) .*(safari)/i],[Y,K],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[K,[Y,"1"]],[/(webkit|khtml)\/([\w\.]+)/i],[K,Y],[/(?:mobile|tablet);.*(firefox)\/([\w\.-]+)/i],[[K,Sr+ti],Y],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[K,"Netscape"],Y],[/(wolvic|librewolf)\/([\w\.]+)/i],[K,Y],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[Y,[K,ti+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[K,[Y,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[K,[Y,/[^\d\.]+./,Lr]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[It,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[It,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[It,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[It,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[It,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[It,/ower/,Lr,Cn]],[/ sun4\w[;\)]/i],[[It,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[It,Cn]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[H,[q,Jr],[B,qe]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[H,[q,Jr],[B,Ee]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[H,[q,Cr],[B,Ee]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[H,[q,Cr],[B,qe]],[/(macintosh);/i],[H,[q,Cr]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[H,[q,Kc],[B,Ee]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[H,[q,qc],[B,qe]],[/honor([-\w ]+)[;\)]/i],[H,[q,qc],[B,Ee]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[H,[q,Nc],[B,qe]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[H,[q,Nc],[B,Ee]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[H,/_/g," "],[q,ia],[B,qe]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[H,/_/g," "],[q,ia],[B,Ee]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[H,[q,ra],[B,Ee]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[H,[q,Pn,{OnePlus:["304","403","203"],"*":ra}],[B,qe]],[/(vivo (5r?|6|8l?|go|one|s|x[il]?[2-4]?)[\w\+ ]*)(?: bui|\))/i],[H,[q,"BLU"],[B,Ee]],[/; vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[H,[q,"Vivo"],[B,Ee]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[H,[q,"Realme"],[B,Ee]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[H,[q,ta],[B,Ee]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[H,[q,ta],[B,qe]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[H,[q,ao],[B,qe]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+(?!.*(?:browser|netcast|android tv|watch))(\w+)/i,/\blg-?([\d\w]+) bui/i],[H,[q,ao],[B,Ee]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[H,[q,Uc],[B,qe]],[/(nokia) (t[12][01])/i],[q,H,[B,qe]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[H,/_/g," "],[B,Ee],[q,"Nokia"]],[/(pixel (c|tablet))\b/i],[H,[q,er],[B,qe]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[H,[q,er],[B,Ee]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[H,[q,ei],[B,Ee]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[H,"Xperia Tablet"],[q,ei],[B,qe]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[H,[q,Gc],[B,Ee]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[H,[q,so],[B,qe]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[H,/(.+)/g,"Fire Phone $1"],[q,so],[B,Ee]],[/(playbook);[-\w\),; ]+(rim)/i],[H,q,[B,qe]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[H,[q,Vc],[B,Ee]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[H,[q,Zc],[B,qe]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[H,[q,Zc],[B,Ee]],[/(nexus 9)/i],[H,[q,"HTC"],[B,qe]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[q,[H,/_/g," "],[B,Ee]],[/tcl (xess p17aa)/i,/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])(_\w(\w|\w\w))?(\)| bui)/i],[H,[q,"TCL"],[B,qe]],[/droid [\w\.]+; (418(?:7d|8v)|5087z|5102l|61(?:02[dh]|25[adfh]|27[ai]|56[dh]|59k|65[ah])|a509dl|t(?:43(?:0w|1[adepqu])|50(?:6d|7[adju])|6(?:09dl|10k|12b|71[efho]|76[hjk])|7(?:66[ahju]|67[hw]|7[045][bh]|71[hk]|73o|76[ho]|79w|81[hks]?|82h|90[bhsy]|99b)|810[hs]))(_\w(\w|\w\w))?(\)| bui)/i],[H,[q,"TCL"],[B,Ee]],[/(itel) ((\w+))/i],[[q,Cn],H,[B,Pn,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[H,[q,"Acer"],[B,qe]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[H,[q,"Meizu"],[B,Ee]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[H,[q,"Ulefone"],[B,Ee]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[H,[q,"Energizer"],[B,Ee]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[H,[q,"Cat"],[B,Ee]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[H,[q,"Smartfren"],[B,Ee]],[/droid.+; (a(?:015|06[35]|142p?))/i],[H,[q,"Nothing"],[B,Ee]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[H,[q,"Archos"],[B,qe]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[H,[q,"Archos"],[B,Ee]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[q,H,[B,qe]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (blu|hmd|imo|tcl)[_ ]([\w\+ ]+?)(?: bui|\)|; r)/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[q,H,[B,Ee]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i],[q,H,[B,qe]],[/(surface duo)/i],[H,[q,ea],[B,qe]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[H,[q,"Fairphone"],[B,Ee]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[H,[q,na],[B,qe]],[/(sprint) (\w+)/i],[q,H,[B,Ee]],[/(kin\.[onetw]{3})/i],[[H,/\./g," "],[q,ea],[B,Ee]],[/droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[H,[q,oa],[B,qe]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[H,[q,oa],[B,Ee]],[/smart-tv.+(samsung)/i],[q,[B,ct]],[/hbbtv.+maple;(\d+)/i],[[H,/^/,"SmartTV"],[q,Jr],[B,ct]],[/tcast.+(lg)e?. ([-\w]+)/i],[q,H,[B,ct]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[q,ao],[B,ct]],[/(apple) ?tv/i],[q,[H,Cr+" TV"],[B,ct]],[/crkey.*devicetype\/chromecast/i],[[H,jn+" Third Generation"],[q,er],[B,ct]],[/crkey.*devicetype\/([^/]*)/i],[[H,/^/,"Chromecast "],[q,er],[B,ct]],[/fuchsia.*crkey/i],[[H,jn+" Nest Hub"],[q,er],[B,ct]],[/crkey/i],[[H,jn],[q,er],[B,ct]],[/(portaltv)/i],[H,[q,sa],[B,ct]],[/droid.+aft(\w+)( bui|\))/i],[H,[q,so],[B,ct]],[/(shield \w+ tv)/i],[H,[q,na],[B,ct]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[H,[q,Kc],[B,ct]],[/(bravia[\w ]+)( bui|\))/i],[H,[q,ei],[B,ct]],[/(mi(tv|box)-?\w+) bui/i],[H,[q,ia],[B,ct]],[/Hbbtv.*(technisat) (.*);/i],[q,H,[B,ct]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[q,fi],[H,fi],[B,ct]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[H,[B,ct]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[B,ct]],[/(ouya)/i,/(nintendo) (\w+)/i],[q,H,[B,ai]],[/droid.+; (shield)( bui|\))/i],[H,[q,na],[B,ai]],[/(playstation \w+)/i],[H,[q,ei],[B,ai]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[H,[q,ea],[B,ai]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[H,[q,Jr],[B,cn]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[q,H,[B,cn]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[H,[q,ra],[B,cn]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[H,[q,Cr],[B,cn]],[/(opwwe\d{3})/i],[H,[q,Gc],[B,cn]],[/(moto 360)/i],[H,[q,ta],[B,cn]],[/(smartwatch 3)/i],[H,[q,ei],[B,cn]],[/(g watch r)/i],[H,[q,ao],[B,cn]],[/droid.+; (wt63?0{2,3})\)/i],[H,[q,oa],[B,cn]],[/droid.+; (glass) \d/i],[H,[q,er],[B,Js]],[/(pico) (4|neo3(?: link|pro)?)/i],[q,H,[B,Js]],[/(quest( \d| pro)?s?).+vr/i],[H,[q,sa],[B,Js]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[q,[B,li]],[/(aeobc)\b/i],[H,[q,so],[B,li]],[/(homepod).+mac os/i],[H,[q,Cr],[B,li]],[/windows iot/i],[[B,li]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+?(mobile|vr|\d) safari/i],[H,[B,Pn,{mobile:"Mobile",xr:"VR","*":qe}]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[B,qe]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[B,Ee]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[H,[q,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[Y,[K,Cb+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[K,Y],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[Y,[K,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[K,Y],[/ladybird\//i],[[K,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[Y,K]],os:[[/microsoft (windows) (vista|xp)/i],[K,Y],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[K,[Y,Pn,Jc]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[Y,Pn,Jc],[K,ma]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[Y,/_/g,"."],[K,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[K,"macOS"],[Y,/_/g,"."]],[/android ([\d\.]+).*crkey/i],[Y,[K,jn+" Android"]],[/fuchsia.*crkey\/([\d\.]+)/i],[Y,[K,jn+" Fuchsia"]],[/crkey\/([\d\.]+).*devicetype\/smartspeaker/i],[Y,[K,jn+" SmartSpeaker"]],[/linux.*crkey\/([\d\.]+)/i],[Y,[K,jn+" Linux"]],[/crkey\/([\d\.]+)/i],[Y,[K,jn]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[Y,K],[/(ubuntu) ([\w\.]+) like android/i],[[K,/(.+)/,"$1 Touch"],Y],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/\.; ]?([\d\.]*)/i],[K,Y],[/\(bb(10);/i],[Y,[K,Vc]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[Y,[K,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[Y,[K,ti+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[Y,[K,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[Y,[K,"watchOS"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[K,"Chrome OS"],Y],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) (\w+)/i,/(xbox); +xbox ([^\);]+)/i,/(pico) .+os([\w\.]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[K,Y],[/(sunos) ?([\w\.\d]*)/i],[[K,"Solaris"],Y],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[K,Y]]},lo=function(){var t={init:{},isIgnore:{},isIgnoreRgx:{},toString:{}};return Sn.call(t.init,[[Ot,[K,Y,ci,B]],[_n,[It]],[fn,[B,H,q]],[on,[K,Y]],[Qt,[K,Y]]]),Sn.call(t.isIgnore,[[Ot,[Y,ci]],[on,[Y]],[Qt,[Y]]]),Sn.call(t.isIgnoreRgx,[[Ot,/ ?browser$/i],[Qt,/ ?os$/i]]),Sn.call(t.toString,[[Ot,[K,Y]],[_n,[It]],[fn,[q,H]],[on,[K,Y]],[Qt,[K,Y]]]),t}(),Ab=function(t,r){var i=lo.init[r],s=lo.isIgnore[r]||0,l=lo.isIgnoreRgx[r]||0,u=lo.toString[r]||0;function f(){Sn.call(this,i)}return f.prototype.getItem=function(){return t},f.prototype.withClientHints=function(){return Bn?Bn.getHighEntropyValues(Bd).then(function(h){return t.setCH(new Pd(h,!1)).parseCH().get()}):t.parseCH().get()},f.prototype.withFeatureCheck=function(){return t.detectFeature().get()},r!=kr&&(f.prototype.is=function(h){var g=!1;for(var v in this)if(this.hasOwnProperty(v)&&!va(s,v)&&Cn(l?Ir(l,this[v]):this[v])==Cn(l?Ir(l,h):h)){if(g=!0,h!=Wn)break}else if(h==Wn&&g){g=!g;break}return g},f.prototype.toString=function(){var h=Lr;for(var g in u)typeof this[u[g]]!==Wn&&(h+=(h?" ":Lr)+this[u[g]]);return h||Wn}),Bn||(f.prototype.then=function(h){var g=this,v=function(){for(var S in g)g.hasOwnProperty(S)&&(this[S]=g[S])};v.prototype={is:f.prototype.is,toString:f.prototype.toString};var _=new v;return h(_),_}),new f};function Pd(t,r){if(t=t||{},Sn.call(this,Bd),r)Sn.call(this,[[Ma,aa(t[Zn])],[Fa,aa(t[mb])],[Ee,/\?1/.test(t[xb])],[H,ii(t[wb])],[Tr,ii(t[jd])],[za,ii(t[_b])],[It,ii(t[vb])],[rr,aa(t[bb])],[ko,ii(t[yb])]]);else for(var i in t)this.hasOwnProperty(i)&&typeof t[i]!==Wn&&(this[i]=t[i])}function nf(t,r,i,s){return this.get=function(l){return l?this.data.hasOwnProperty(l)?this.data[l]:void 0:this.data},this.set=function(l,u){return this.data[l]=u,this},this.setCH=function(l){return this.uaCH=l,this},this.detectFeature=function(){if(Mt&&Mt.userAgent==this.ua)switch(this.itemType){case Ot:Mt.brave&&typeof Mt.brave.isBrave==bo&&this.set(K,"Brave");break;case fn:!this.get(B)&&Bn&&Bn[Ee]&&this.set(B,Ee),this.get(H)=="Macintosh"&&Mt&&typeof Mt.standalone!==Wn&&Mt.maxTouchPoints&&Mt.maxTouchPoints>2&&this.set(H,"iPad").set(B,qe);break;case Qt:!this.get(K)&&Bn&&Bn[Tr]&&this.set(K,Bn[Tr]);break;case kr:var l=this.data,u=function(f){return l[f].getItem().detectFeature().get()};this.set(Ot,u(Ot)).set(_n,u(_n)).set(fn,u(fn)).set(on,u(on)).set(Qt,u(Qt))}return this},this.parseUA=function(){return this.itemType!=kr&&ua.call(this.data,this.ua,this.rgxMap),this.itemType==Ot&&this.set(ci,la(this.get(Y))),this},this.parseCH=function(){var l=this.uaCH,u=this.rgxMap;switch(this.itemType){case Ot:case on:var f=l[Fa]||l[Ma],h;if(f)for(var g in f){var v=f[g].brand||f[g],_=f[g].version;this.itemType==Ot&&!/not.a.brand/i.test(v)&&(!h||/chrom/i.test(h)&&v!=Yc)&&(v=Pn(v,{Chrome:"Google Chrome",Edge:"Microsoft Edge","Chrome WebView":"Android WebView","Chrome Headless":"HeadlessChrome","Huawei Browser":"HuaweiBrowser","MIUI Browser":"Miui Browser","Opera Mobi":"OperaMobile",Yandex:"YaBrowser"}),this.set(K,v).set(Y,_).set(ci,la(_)),h=v),this.itemType==on&&v==Yc&&this.set(Y,_)}break;case _n:var S=l[It];S&&(S&&l[ko]=="64"&&(S+="64"),ua.call(this.data,S+";",u));break;case fn:if(l[Ee]&&this.set(B,Ee),l[H]&&(this.set(H,l[H]),!this.get(B)||!this.get(q))){var E={};ua.call(E,"droid 9; "+l[H]+")",u),!this.get(B)&&E.type&&this.set(B,E.type),!this.get(q)&&E.vendor&&this.set(q,E.vendor)}if(l[rr]){var x;if(typeof l[rr]!="string")for(var C=0;!x&&C<l[rr].length;)x=Pn(l[rr][C++],ef);else x=Pn(l[rr],ef);this.set(B,x)}break;case Qt:var F=l[Tr];if(F){var R=l[za];F==ma&&(R=parseInt(la(R),10)>=13?"11":"10"),this.set(K,F).set(Y,R)}this.get(K)==ma&&l[H]=="Xbox"&&this.set(K,"Xbox").set(Y,void 0);break;case kr:var I=this.data,T=function(k){return I[k].getItem().setCH(l).parseCH().get()};this.set(Ot,T(Ot)).set(_n,T(_n)).set(fn,T(fn)).set(on,T(on)).set(Qt,T(Qt))}return this},Sn.call(this,[["itemType",t],["ua",r],["uaCH",s],["rgxMap",i],["data",Ab(this,t)]]),this}function An(t,r,i){if(typeof t===Or?(xo(t,!0)?(typeof r===Or&&(i=r),r=t):(i=t,r=void 0),t=void 0):typeof t===ga&&!xo(r,!0)&&(i=r,r=void 0),i&&typeof i.append===bo){var s={};i.forEach(function(g,v){s[v]=g}),i=s}if(!(this instanceof An))return new An(t,r,i).getResult();var l=typeof t===ga?t:i&&i[Dc]?i[Dc]:Mt&&Mt.userAgent?Mt.userAgent:Lr,u=new Pd(i,!0),f=r?Eb(tf,r):tf,h=function(g){return g==kr?function(){return new nf(g,l,f,u).set("ua",l).set(Ot,this.getBrowser()).set(_n,this.getCPU()).set(fn,this.getDevice()).set(on,this.getEngine()).set(Qt,this.getOS()).get()}:function(){return new nf(g,l,f[g],u).parseUA().get()}};return Sn.call(this,[["getBrowser",h(Ot)],["getCPU",h(_n)],["getDevice",h(fn)],["getEngine",h(on)],["getOS",h(Qt)],["getResult",h(kr)],["getUA",function(){return l}],["setUA",function(g){return zr(g)&&(l=g.length>pa?fi(g,pa):g),this}]]).setUA(l),this}An.VERSION=gb;An.BROWSER=To([K,Y,ci,B]);An.CPU=To([It]);An.DEVICE=To([H,q,B,ai,Ee,ct,qe,cn,li]);An.ENGINE=An.OS=To([K,Y]);var Wd=(t=>(t.Desktop="Desktop",t.Mobile="Mobile",t.Tablet="Tablet",t.SmartTV="Smart TV",t.Bot="Bot/Crawler",t.Unknown="Unknown",t))(Wd||{}),Dd=(t=>(t.Chrome="Chrome",t.Firefox="Firefox",t.Safari="Safari",t.Edge="Edge",t.IE="IE/Edge Legacy",t.Opera="Opera",t.Brave="Brave",t.Other="Other",t))(Dd||{}),Hd=(t=>(t.Windows="Windows",t.macOS="macOS",t.Linux="Linux",t.Android="Android",t.iOS="iOS",t.Other="Other",t))(Hd||{});const ya=t=>{const i=new An(t).getResult(),l={deviceType:/bot|crawler|spider|crawling/i.test(t)?"Bot/Crawler":$b(i.device.type),browserName:kb(i.browser.name),osName:Tb(i.os.name)},u=l.deviceType==="Mobile"||l.deviceType==="Tablet";return{...i,normalized:l,isMobile:u,isDesktop:!u}},$b=t=>{if(!t)return"Desktop";const r=t.toLowerCase();return r==="mobile"?"Mobile":r==="tablet"?"Tablet":r==="smarttv"?"Smart TV":"Unknown"},kb=t=>{if(!t)return"Other";const r=t.toLowerCase();return r.includes("brave")?"Brave":r.includes("edge")?"Edge":r.includes("opera")?"Opera":r.includes("ie")||r.includes("trident")?"IE/Edge Legacy":r.includes("chrome")?"Chrome":r.includes("firefox")?"Firefox":r.includes("safari")?"Safari":"Other"},Tb=t=>{if(!t)return"Other";const r=t.toLowerCase();return r.includes("windows")?"Windows":r.includes("mac os")?"macOS":["ubuntu","debian","fedora","linux"].some(i=>r.includes(i))?"Linux":r.includes("android")?"Android":r.includes("ios")?"iOS":"Other"},Rb=t=>{const[r,i]=d.useState(t?ya(t):void 0);return d.useEffect(()=>{r||i(ya(window.navigator.userAgent))},[r]),r},Lb=ae(X)`
63
63
  position: absolute;
64
64
  top: 0;
65
65
  left: 0;
@@ -68,9 +68,9 @@ function print() { __p += __j.call(arguments, '') }
68
68
  display: flex;
69
69
  justify-content: center;
70
70
  align-items: center;
71
- `,wb=ae.div`
72
- width: ${({size:n})=>n};
73
- height: ${({size:n})=>n};
71
+ `,Ob=ae.div`
72
+ width: ${({size:t})=>t};
73
+ height: ${({size:t})=>t};
74
74
  border-radius: 50%;
75
75
  position: relative;
76
76
 
@@ -83,9 +83,9 @@ function print() { __p += __j.call(arguments, '') }
83
83
  width: 100%;
84
84
  height: 100%;
85
85
  border-radius: 50%;
86
- border: ${({strokeWidth:n})=>n} solid transparent;
87
- border-top-color: ${({color:n})=>n};
88
- border-right-color: ${({color:n})=>n};
86
+ border: ${({strokeWidth:t})=>t} solid transparent;
87
+ border-top-color: ${({color:t})=>t};
88
+ border-right-color: ${({color:t})=>t};
89
89
  animation: spin 1s linear infinite;
90
90
  }
91
91
 
@@ -94,26 +94,26 @@ function print() { __p += __j.call(arguments, '') }
94
94
  transform: rotate(360deg);
95
95
  }
96
96
  }
97
- `,tf=({size:n,color:r="primary","data-testid":i})=>{const s=_e(),u=Object.keys(s.__hd__.loading.sizes).includes(n)?s.__hd__.loading.sizes[n]:n,d=Object.keys(s.__hd__.loading.strokeWidths).includes(n)?s.__hd__.loading.strokeWidths[n]:"2px",g=s.colors[r]||r;return y.jsx(wb,{size:u,color:g,strokeWidth:d,"data-testid":i})},za=({size:n,loading:r=!0,color:i="primary",children:s,"data-testid":l,...u})=>{const f=_e(),[d,g]=h.useState(r),[v,C]=h.useState(r?1:0),[S,E]=h.useState(r?0:1);return h.useEffect(()=>{let w;return r?(g(!0),C(1),E(0)):(C(0),E(1),w=setTimeout(()=>{g(!1)},f.__hd__.loading.animation.showingDuration)),()=>{w&&clearTimeout(w)}},[r,f.__hd__.loading.animation.showingDuration]),s?y.jsxs(X,{position:"relative",...u,children:[d&&y.jsx(bb,{style:{opacity:v,transition:`opacity ${f.__hd__.loading.animation.showingDuration}ms`},children:y.jsx(tf,{size:n,color:i,"data-testid":l})}),y.jsx(X,{style:{opacity:S,transition:`opacity ${f.__hd__.loading.animation.contentShowingDuration}ms`},children:s})]}):d?y.jsx(tf,{size:n,color:i,"data-testid":l}):null};function xb({children:n,onClick:r,style:i,useScaleAnimation:s=!0,useOpacityAnimation:l=!0,href:u,target:f,rel:d,"data-testid":g,...v},C){const S=_e(),[E,w]=h.useState(!1),_=h.useCallback(()=>{w(!0)},[]),O=h.useCallback(()=>{w(!1)},[]),R=h.useCallback(()=>{w(!1)},[]),M=h.useMemo(()=>{const k=[];return s&&k.push("transform 0.2s ease"),l&&k.push("opacity 0.2s ease"),k.join(", ")},[s,l]),T={ref:C,onClick:r,onMouseDown:_,onMouseUp:O,onMouseLeave:R,style:i,"data-testid":g,transition:M,transform:s?`scale(${E?S.__hd__.touchable.animation.minScale:S.__hd__.touchable.animation.maxScale})`:void 0,opacity:l?E?S.__hd__.touchable.animation.minOpacity:S.__hd__.touchable.animation.maxOpacity:void 0,cursor:"pointer",...v};return u?y.jsx(X,{as:"a",href:u,target:f,rel:d,...T,children:n}):y.jsx(X,{...T,children:n})}const _b=h.forwardRef(xb),Jt=_b,Ro=(n,r,i,s="solid",l)=>{if(l)return n.colors.grey500;if(i)return n.colors[i];switch(s){case"outlined":case"text":return n.colors[r];case"solid":default:return r==="white"?n.colors.grey900:n.colors.white}},ja=ae(X)`
97
+ `,rf=({size:t,color:r="primary","data-testid":i})=>{const s=xe(),u=Object.keys(s.__hd__.loading.sizes).includes(t)?s.__hd__.loading.sizes[t]:t,h=Object.keys(s.__hd__.loading.strokeWidths).includes(t)?s.__hd__.loading.strokeWidths[t]:"2px",g=s.colors[r]||r;return y.jsx(Ob,{size:u,color:g,strokeWidth:h,"data-testid":i})},ja=({size:t,loading:r=!0,color:i="primary",children:s,"data-testid":l,...u})=>{const f=xe(),[h,g]=d.useState(r),[v,_]=d.useState(r?1:0),[S,E]=d.useState(r?0:1);return d.useEffect(()=>{let x;return r?(g(!0),_(1),E(0)):(_(0),E(1),x=setTimeout(()=>{g(!1)},f.__hd__.loading.animation.showingDuration)),()=>{x&&clearTimeout(x)}},[r,f.__hd__.loading.animation.showingDuration]),s?y.jsxs(X,{position:"relative",...u,children:[h&&y.jsx(Lb,{style:{opacity:v,transition:`opacity ${f.__hd__.loading.animation.showingDuration}ms`},children:y.jsx(rf,{size:t,color:i,"data-testid":l})}),y.jsx(X,{style:{opacity:S,transition:`opacity ${f.__hd__.loading.animation.contentShowingDuration}ms`},children:s})]}):h?y.jsx(rf,{size:t,color:i,"data-testid":l}):null};function Ib({children:t,onClick:r,style:i,useScaleAnimation:s=!0,useOpacityAnimation:l=!0,href:u,target:f,rel:h,"data-testid":g,...v},_){const S=xe(),[E,x]=d.useState(!1),C=d.useCallback(()=>{x(!0)},[]),F=d.useCallback(()=>{x(!1)},[]),R=d.useCallback(()=>{x(!1)},[]),I=d.useMemo(()=>{const k=[];return s&&k.push("transform 0.2s ease"),l&&k.push("opacity 0.2s ease"),k.join(", ")},[s,l]),T={ref:_,onClick:r,onMouseDown:C,onMouseUp:F,onMouseLeave:R,style:i,"data-testid":g,transition:I,transform:s?`scale(${E?S.__hd__.touchable.animation.minScale:S.__hd__.touchable.animation.maxScale})`:void 0,opacity:l?E?S.__hd__.touchable.animation.minOpacity:S.__hd__.touchable.animation.maxOpacity:void 0,cursor:"pointer",...v};return u?y.jsx(X,{as:"a",href:u,target:f,rel:h,...T,children:t}):y.jsx(X,{...T,children:t})}const Mb=d.forwardRef(Ib),Jt=Mb,Ro=(t,r,i,s="solid",l)=>{if(l)return t.colors.grey500;if(i)return t.colors[i];switch(s){case"outlined":case"text":return t.colors[r];case"solid":default:return r==="white"?t.colors.grey900:t.colors.white}},Ba=ae(X)`
98
98
  display: flex;
99
99
  flex-direction: row;
100
100
  justify-content: center;
101
101
  align-items: center;
102
102
  position: relative;
103
- background-color: ${({theme:n,$backgroundColor:r})=>r==="disabled"?n.colors.grey200:n.colors[r]};
104
- border-radius: ${({theme:n,$borderRadius:r})=>n.radii[r]}px;
105
- padding: ${({$paddingVertical:n,$paddingHorizontal:r,theme:i})=>`${i.spaces[n]}px ${i.spaces[r]}px`};
106
- border: ${({$borderWidth:n,theme:r})=>r.borderWidths[n]}px solid transparent;
107
- ${({$variant:n,$color:r,theme:i})=>n==="outlined"&&`border-color: ${i.colors[r]};`}
108
- pointer-events: ${({$disabled:n})=>n?"none":"auto"};
109
- cursor: ${({$disabled:n})=>n?"not-allowed":"pointer"};
103
+ background-color: ${({theme:t,$backgroundColor:r})=>r==="disabled"?t.colors.grey200:t.colors[r]};
104
+ border-radius: ${({theme:t,$borderRadius:r})=>t.radii[r]}px;
105
+ padding: ${({$paddingVertical:t,$paddingHorizontal:r,theme:i})=>`${i.spaces[t]}px ${i.spaces[r]}px`};
106
+ border: ${({$borderWidth:t,theme:r})=>r.borderWidths[t]}px solid transparent;
107
+ ${({$variant:t,$color:r,theme:i})=>t==="outlined"&&`border-color: ${i.colors[r]};`}
108
+ pointer-events: ${({$disabled:t})=>t?"none":"auto"};
109
+ cursor: ${({$disabled:t})=>t?"not-allowed":"pointer"};
110
110
  // Add border-color to transition
111
111
  transition: opacity 0.2s ease-in-out, background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
112
- opacity: ${({$disabled:n})=>n?.7:1}; // Keep base opacity for disabled state
112
+ opacity: ${({$disabled:t})=>t?.7:1}; // Keep base opacity for disabled state
113
113
 
114
114
  @media (min-width: 900px) {
115
115
  &:hover {
116
- ${({$disabled:n,$variant:r,$color:i,$borderWidth:s,theme:l})=>!n&&`
116
+ ${({$disabled:t,$variant:r,$color:i,$borderWidth:s,theme:l})=>!t&&`
117
117
  opacity: 1; // Ensure full opacity on hover
118
118
  // Solid: background white, border with main color
119
119
  ${r==="solid"?`background-color: ${l.colors.white}; border-color: ${l.colors[i]}; border-width: ${l.borderWidths[s]}px;`:""}
@@ -123,119 +123,123 @@ function print() { __p += __j.call(arguments, '') }
123
123
  `}
124
124
  }
125
125
  }
126
- `,Cb=ae(ht)`
127
- color: ${({theme:n,$themeColor:r,$themeTextColor:i,$variant:s,$disabled:l})=>Ro(n,r,i,s,l)};
128
- font-size: ${({theme:n,$themeFontSize:r})=>n.__hd__.text.fontSizes[r]}px;
129
- font-weight: ${({theme:n,$themeFontWeight:r})=>n.__hd__.text.fontWeights[r]};
126
+ `,Fb=ae(ht)`
127
+ color: ${({theme:t,$themeColor:r,$themeTextColor:i,$variant:s,$disabled:l})=>Ro(t,r,i,s,l)};
128
+ font-size: ${({theme:t,$themeFontSize:r})=>t.__hd__.text.fontSizes[r]}px;
129
+ font-weight: ${({theme:t,$themeFontWeight:r})=>t.__hd__.text.fontWeights[r]};
130
130
  // Apply other text properties from theme sizes if needed (e.g., line height)
131
131
  transition: color 0.2s ease-in-out, opacity 0.2s ease-in-out;
132
132
 
133
133
  @media (min-width: 900px) {
134
- ${ja}:hover & {
135
- ${({$variant:n,theme:r,$themeColor:i,$disabled:s})=>!s&&`
134
+ ${Ba}:hover & {
135
+ ${({$variant:t,theme:r,$themeColor:i,$disabled:s})=>!s&&`
136
136
  // Solid: text becomes main color
137
- ${n==="solid"?`color: ${r.colors[i]};`:""}
137
+ ${t==="solid"?`color: ${r.colors[i]};`:""}
138
138
  // Outlined: text becomes white
139
- ${n==="outlined"?`color: ${r.colors.white};`:""}
139
+ ${t==="outlined"?`color: ${r.colors.white};`:""}
140
140
  // Text: opacity changes
141
- ${n==="text"?`color: ${r.colors.primary};`:""}
141
+ ${t==="text"?`color: ${r.colors.primary};`:""}
142
142
  `}
143
143
  }
144
144
  }
145
- `,nf=ae(X)`
145
+ `,of=ae(X)`
146
146
  display: flex;
147
147
  align-items: center;
148
- margin-left: ${({theme:n,$themePosition:r,$iconSpacing:i})=>r==="right"?`${n.spaces[i]}px`:0};
149
- margin-right: ${({theme:n,$themePosition:r,$iconSpacing:i,$hasText:s})=>r==="left"&&s?`${n.spaces[i]}px`:0};
150
- `,rf=ae(Qt)`
148
+ margin-left: ${({theme:t,$themePosition:r,$iconSpacing:i})=>r==="right"?`${t.spaces[i]}px`:0};
149
+ margin-right: ${({theme:t,$themePosition:r,$iconSpacing:i,$hasText:s})=>r==="left"&&s?`${t.spaces[i]}px`:0};
150
+ `,sf=ae(Ht)`
151
151
  transition: color 0.2s ease-in-out;
152
- color: ${({theme:n,$themeColor:r,$themeTextColor:i,$variant:s,$disabled:l})=>Ro(n,r,i,s,l)};
153
- width: ${({theme:n,$iconSize:r})=>n.sizes[r]}px;
154
- height: ${({theme:n,$iconSize:r})=>n.sizes[r]}px;
152
+ color: ${({theme:t,$themeColor:r,$themeTextColor:i,$variant:s,$disabled:l})=>Ro(t,r,i,s,l)};
153
+ width: ${({theme:t,$iconSize:r})=>t.sizes[r]}px;
154
+ height: ${({theme:t,$iconSize:r})=>t.sizes[r]}px;
155
155
 
156
156
  @media (min-width: 900px) {
157
- ${ja}:hover & {
158
- ${({$variant:n,theme:r,$themeColor:i,$disabled:s})=>!s&&`
157
+ ${Ba}:hover & {
158
+ ${({$variant:t,theme:r,$themeColor:i,$disabled:s})=>!s&&`
159
159
  // Solid: text becomes main color
160
- ${n==="solid"?`color: ${r.colors[i]};`:""}
160
+ ${t==="solid"?`color: ${r.colors[i]};`:""}
161
161
  // Outlined: text becomes white
162
- ${n==="outlined"?`color: ${r.colors.white};`:""}
162
+ ${t==="outlined"?`color: ${r.colors.white};`:""}
163
163
  // Text: opacity changes
164
- ${n==="text"?`color: ${r.colors.primary};`:""}
164
+ ${t==="text"?`color: ${r.colors.primary};`:""}
165
165
  `}
166
166
  }
167
167
  }
168
- `,ya=({disabled:n=!1,icon:r,color:i,textColor:s,loading:l=!1,onClick:u,rightIcon:f,corner:d="circle",variant:g="solid",size:v="md",style:C,"data-testid":S,text:E,...w})=>{var G;const _=_e(),O=_.__hd__.button,R=O.defaultColor||"primary",M=i||R,T=((G=O.variants)==null?void 0:G[g])||{},k=O.sizes[v],I=n||l,P=h.useMemo(()=>I&&g==="solid"?"disabled":g==="solid"?M:T.bgColor||"transparent",[M,I,g,T.bgColor]),U=h.useMemo(()=>Ro(_,M,s,g,I),[_,M,s,g,I]),N=le=>{n||l||u==null||u(le)},Q=g==="text"?"none":k.paddingHorizontal,pe=g==="text"?"none":k.paddingVertical,Ce=k.fontSize,Me=k.iconSize,D=O.iconSpacing||"xs",z=y.jsxs(X,{display:"flex",alignItems:"center",gap:D,children:[r&&y.jsx(nf,{$themePosition:"left",$iconSpacing:D,$hasText:!!E,children:y.jsx(rf,{$themeColor:M,$themeTextColor:s,$variant:g,$disabled:I,$iconSize:Me,type:"icon",art:r,weight:k.iconWeight,size:Me})}),E&&y.jsx(Cb,{$themeColor:M,$themeTextColor:s,$themeFontSize:Ce,$themeFontWeight:k.fontWeight,$disabled:I,$variant:g,as:"span",children:E}),f&&y.jsx(nf,{$themePosition:"right",$iconSpacing:D,children:y.jsx(rf,{$themeColor:M,$themeTextColor:s,$variant:g,$disabled:I,$iconSize:Me,weight:k.iconWeight,type:"icon",art:f,size:Me})})]});return y.jsx(Jt,{onClick:N,style:C,"data-testid":S,...w,children:y.jsx(ja,{$backgroundColor:P,$paddingHorizontal:Q,$paddingVertical:pe,$borderRadius:k.squircleBorderRadii[d],$borderWidth:k.borderWidth,$disabled:I,$variant:g,$color:M,$size:v,children:y.jsx(za,{size:"small",color:U,loading:l,display:"flex",alignItems:"center",justifyContent:"center",children:z})})})},Sb=ae(X)`
169
- background-color: ${({theme:n,$color:r})=>n.colors[r]};
170
- ${({$orientation:n,$thickness:r})=>n==="horizontal"?`
168
+ `,ba=({disabled:t=!1,icon:r,color:i,textColor:s,loading:l=!1,onClick:u,rightIcon:f,corner:h="circle",variant:g="solid",size:v="md",style:_,"data-testid":S,text:E,...x})=>{var G;const C=xe(),F=C.__hd__.button,R=F.defaultColor||"primary",I=i||R,T=((G=F.variants)==null?void 0:G[g])||{},k=F.sizes[v],O=t||l,M=d.useMemo(()=>O&&g==="solid"?"disabled":g==="solid"?I:T.bgColor||"transparent",[I,O,g,T.bgColor]),N=d.useMemo(()=>Ro(C,I,s,g,O),[C,I,s,g,O]),V=le=>{t||l||u==null||u(le)},Q=g==="text"?"none":k.paddingHorizontal,pe=g==="text"?"none":k.paddingVertical,Ce=k.fontSize,Me=k.iconSize,D=F.iconSpacing||"xs",j=y.jsxs(X,{display:"flex",alignItems:"center",gap:D,children:[r&&y.jsx(of,{$themePosition:"left",$iconSpacing:D,$hasText:!!E,children:y.jsx(sf,{$themeColor:I,$themeTextColor:s,$variant:g,$disabled:O,$iconSize:Me,type:"icon",art:r,weight:k.iconWeight,size:Me})}),E&&y.jsx(Fb,{$themeColor:I,$themeTextColor:s,$themeFontSize:Ce,$themeFontWeight:k.fontWeight,$disabled:O,$variant:g,as:"span",children:E}),f&&y.jsx(of,{$themePosition:"right",$iconSpacing:D,children:y.jsx(sf,{$themeColor:I,$themeTextColor:s,$variant:g,$disabled:O,$iconSize:Me,weight:k.iconWeight,type:"icon",art:f,size:Me})})]});return y.jsx(Jt,{onClick:V,style:_,"data-testid":S,...x,children:y.jsx(Ba,{$backgroundColor:M,$paddingHorizontal:Q,$paddingVertical:pe,$borderRadius:k.squircleBorderRadii[h],$borderWidth:k.borderWidth,$disabled:O,$variant:g,$color:I,$size:v,children:y.jsx(ja,{size:"small",color:N,loading:l,display:"flex",alignItems:"center",justifyContent:"center",children:j})})})},zb=ae(X)`
169
+ background-color: ${({theme:t,$color:r})=>t.colors[r]};
170
+ ${({$orientation:t,$thickness:r})=>t==="horizontal"?`
171
171
  height: ${r}px;
172
172
  width: 100%;
173
173
  `:`
174
174
  width: ${r}px;
175
175
  height: 100%;
176
176
  `}
177
- `,Wd=({orientation:n="horizontal",color:r,thickness:i,...s})=>{var v,C;const l=_e(),u=(v=l.__hd__.divider)==null?void 0:v.defaultColor,f=(C=l.__hd__.divider)==null?void 0:C.defaultThickness,d=r||u||"grey300",g=i||f||1;return y.jsx(Sb,{$orientation:n,$color:d,$thickness:g,...s})},Dd=ae(Jt)`
177
+ `,Zd=({orientation:t="horizontal",color:r,thickness:i,...s})=>{var v,_;const l=xe(),u=(v=l.__hd__.divider)==null?void 0:v.defaultColor,f=(_=l.__hd__.divider)==null?void 0:_.defaultThickness,h=r||u||"grey300",g=i||f||1;return y.jsx(zb,{$orientation:t,$color:h,$thickness:g,...s})},Vd=ae(Jt)`
178
178
  display: flex;
179
179
  align-items: center;
180
180
  justify-content: center;
181
181
  transition: background-color 0.2s ease-in-out, transform 50ms ease-in-out, box-shadow 0.2s ease-in-out;
182
- background-color: ${({theme:n,$themeBackgroundColor:r})=>n.colors[r]};
183
- box-shadow: ${({$themeBoxShadow:n})=>n};
184
- border-radius: ${({theme:n,$themeRadius:r})=>n.radii[r]}px;
185
- padding-left: ${({theme:n,$themePaddingX:r})=>n.spaces[r]}px;
186
- padding-right: ${({theme:n,$themePaddingX:r})=>n.spaces[r]}px;
187
- padding-top: ${({theme:n,$themePaddingY:r})=>n.spaces[r]}px;
188
- padding-bottom: ${({theme:n,$themePaddingY:r})=>n.spaces[r]}px;
189
- gap: ${({theme:n,$gap:r})=>n.spaces[r]}px;
182
+ background-color: ${({theme:t,$themeBackgroundColor:r})=>t.colors[r]};
183
+ box-shadow: ${({$themeBoxShadow:t})=>t};
184
+ border-radius: ${({theme:t,$themeRadius:r,$isRound:i})=>i?"50%":`${t.radii[r]}px`};
185
+ padding-left: ${({theme:t,$themePaddingX:r,$themePaddingY:i,$isRound:s})=>t.spaces[s?i:r]}px;
186
+ padding-right: ${({theme:t,$themePaddingX:r,$themePaddingY:i,$isRound:s})=>t.spaces[s?i:r]}px;
187
+ padding-top: ${({theme:t,$themePaddingY:r})=>t.spaces[r]}px;
188
+ padding-bottom: ${({theme:t,$themePaddingY:r})=>t.spaces[r]}px;
189
+ gap: ${({theme:t,$gap:r})=>t.spaces[r]}px;
190
190
  &:hover {
191
- box-shadow: ${({$themeHoverBoxShadow:n})=>n};
192
- background-color: ${({theme:n,$themeHoverBackgroundColor:r})=>n.colors[r]};
191
+ box-shadow: ${({$themeHoverBoxShadow:t})=>t};
192
+ background-color: ${({theme:t,$themeHoverBackgroundColor:r})=>t.colors[r]};
193
193
  }
194
- `,of=ae.span`
194
+ `,af=ae.span`
195
195
  display: inline-flex;
196
196
  align-items: center;
197
+ justify-content: center;
198
+ height: ${({$themeHeight:t})=>t}px;
199
+ min-width: ${({$themeHeight:t})=>t}px;
200
+ gap: ${({theme:t,$themeGap:r})=>t.spaces[r]}px;
197
201
  transition: color 0.2s ease-in-out, opacity 0.2s ease-in-out, rotate 0.2s ease-in-out, font-size 0.2s ease-in-out, font-weight 0.2s ease-in-out;
198
- color: ${({theme:n,$themeColor:r})=>n.colors[r]};
199
- font-weight: ${({theme:n,$themeFontWeight:r})=>n.__hd__.text.fontWeights[r]};
200
- font-size: ${({theme:n,$themeFontSize:r})=>n.__hd__.text.fontSizes[r]}px;
201
- rotate: ${({$isDropdownItem:n,$isDropdownOpen:r})=>!n&&r?"-180deg":void 0};
202
- ${Dd}:hover & {
203
- color: ${({theme:n,$themeHoverColor:r})=>n.colors[r]};
204
- rotate: ${({$isDropdownItem:n,$isDropdownOpen:r})=>!n&&r?"-90deg":void 0};
205
- }
206
- ${({$isLoading:n})=>n&&`
202
+ color: ${({theme:t,$themeColor:r})=>t.colors[r]};
203
+ font-weight: ${({theme:t,$themeFontWeight:r})=>t.__hd__.text.fontWeights[r]};
204
+ font-size: ${({theme:t,$themeFontSize:r})=>t.__hd__.text.fontSizes[r]}px;
205
+ rotate: ${({$isDropdownItem:t,$isDropdownOpen:r})=>!t&&r?"-180deg":void 0};
206
+ ${Vd}:hover & {
207
+ color: ${({theme:t,$themeHoverColor:r})=>t.colors[r]};
208
+ rotate: ${({$isDropdownItem:t,$isDropdownOpen:r})=>!t&&r?"-90deg":void 0};
209
+ }
210
+ ${({$isLoading:t})=>t&&`
207
211
  opacity: 0;
208
212
  `}
209
213
  white-space: nowrap;
210
- `,Ba=({label:n,icon:r,iconSize:i,isActive:s,isLoading:l,dropdownItems:u=[],onClick:f,size:d="large",isDropdownOpen:g=!1,isDropdownItem:v=!1,onMouseEnter:C,onToggleDropdown:S,paddingX:E,paddingY:w})=>{const _=_e(),{isTouch:O}=Ia(),R=u.length>0,M=()=>{if(O&&R){g?f==null||f():S==null||S();return}f==null||f()},T=_.__hd__.header,k=T.navItem,I=s?k.active:k.inactive,P=h.useMemo(()=>v?"transparent":g?I.hoverBackgroundColor:I.backgroundColor,[v,g,I.backgroundColor,I.hoverBackgroundColor]);return y.jsxs(Dd,{onClick:M,onMouseEnter:C,$themeBackgroundColor:P,$themeBoxShadow:!v&&g?I.hoverBoxShadow:"none",$themeHoverBackgroundColor:v?"transparent":I.hoverBackgroundColor,$themeHoverBoxShadow:v?"none":I.hoverBoxShadow,$themeHoverColor:k.active.backgroundColor,$themeRadius:k.radius,$themePaddingX:E??k.paddingX,$themePaddingY:w??k.paddingY,$gap:T.loadingGap,children:[y.jsx(X,{display:"flex",justifyContent:"start",alignItems:"center",flex:1,children:y.jsxs(of,{$themeFontWeight:I.fontWeight,$themeFontSize:k[d].fontSize,$themeColor:I.color,$themeHoverColor:k.hover.color,$isLoading:l??!1,children:[r&&y.jsx(r,{size:i??k[d].iconSize}),n]})}),(u.length>0||g)&&y.jsxs(of,{$themeFontWeight:I.fontWeight,$themeFontSize:k[d].fontSize,$themeColor:I.color,$themeHoverColor:k.hover.color,$isLoading:l??!1,$isDropdownOpen:g,$isDropdownItem:v,children:[u.length>0&&y.jsx(Ra,{size:16,weight:"bold"}),v&&y.jsx(pi,{rotate:45,size:16,weight:"bold"})]}),y.jsx(X,{display:"flex",alignItems:"center",justifyContent:"center",absoluteFill:!0,opacity:l?1:0,transition:"opacity 0.2s ease-in-out",children:y.jsx(za,{size:k[d].loadingSize,color:I.color})})]})};function Eb({userProfile:n,dropdownItems:r,maxHeight:i},s){const l=_e(),u=l.__hd__.header.profileDropdown,[f,d]=h.useState(!1),g=h.useRef(null),v=h.useRef(null),C=ze.isString(u.minWidth)&&ir(u.minWidth)?l.sizes[u.minWidth]:u.minWidth,S=ze.isString(i)&&ir(i)?l.sizes[i]:i||u.defaultMaxHeight,E=()=>{g.current&&clearTimeout(g.current),v.current&&clearTimeout(v.current)},w=(O=()=>{})=>{E(),d(!0),g.current=setTimeout(O,u.animationDuration)},_=(O=()=>{})=>{E(),d(!1),v.current=setTimeout(O,u.animationDuration)};return h.useImperativeHandle(s,()=>({showDropdown:w,hideDropdown:_})),y.jsx(X,{position:"absolute",top:u.offset.top,right:u.offset.right,minWidth:C,zIndex:f?l.zIndex.getZIndex("AIC_Kits_Dropdown"):-1,opacity:f?1:0,transition:`opacity ${u.animationDuration}ms ease-in-out, z-index ${u.animationDuration}ms ease-in-out`,onMouseEnter:()=>w(),onMouseLeave:()=>_(),children:y.jsxs(X,{overflow:"hidden",mt:u.spacingTop,mr:u.containerPaddingRight,padding:u.padding,backgroundColor:u.backgroundColor,boxShadow:u.boxShadow,maxHeight:f?S:0,transition:`max-height ${u.animationDuration}ms ease-in-out`,style:{borderRadius:u.borderRadius},display:"flex",flexDirection:"column",children:[n!=null&&n.name?y.jsx(X,{py:u.padding,mx:"md",children:y.jsx(ht,{textAlign:"left",children:n.name})}):y.jsx(X,{py:u.padding,mx:"md",children:y.jsx(ht,{textAlign:"left",children:n==null?void 0:n.email})}),y.jsx(X,{p:u.padding,children:y.jsx(Wd,{})}),r==null?void 0:r.map(O=>y.jsx(Ba,{label:O.label,onClick:O.onClick,isActive:O.isActive,size:"medium",isDropdownItem:!0},O.label))]})})}const Ab=h.forwardRef(Eb),Hd=({isSignedIn:n=!1,isDropdownVisible:r,setIsDropdownVisible:i,userProfile:s,dropdownItems:l,profileDropdownMaxHeight:u,onProfileClick:f,onSignInClick:d,onRegisterClick:g})=>{const v=_e(),[C,S]=h.useState(!1),[E,w]=h.useState(!0),_=h.useDeferredValue(C),O=gi(),R=!At()&&O==="xs";h.useEffect(()=>{At()||(S(!R),setTimeout(()=>{w(!1)},300))},[R]);const M=v.__hd__.header.avatarSize||"md",T=h.useRef(null),k=()=>{var P;i(!0),(P=T.current)==null||P.showDropdown()},I=()=>{var P;(P=T.current)==null||P.hideDropdown(()=>{i(!1)})};return h.useEffect(()=>{r?k():I()},[r]),y.jsx(Ao,{display:"flex",visible:E,maxWidth:_?"100%":"0px",maxHeight:_?"100%":"0px",opacity:_?1:0,variant:"transparent",transition:"max-width 0.3s ease-in-out, opacity 0.3s ease-in-out",r:"lg",children:y.jsxs(X,{display:"flex",flexDirection:"row",alignItems:"center",children:[n?y.jsx(Jt,{onClick:f,children:y.jsxs(X,{display:"flex",flexDirection:"row",alignItems:"center",p:"sm",r:"full",bgColor:"grey100",onMouseEnter:k,onMouseLeave:I,children:[y.jsx(Id,{src:s==null?void 0:s.avatar,name:s==null?void 0:s.name,size:M}),(s==null?void 0:s.name)&&y.jsx(X,{ml:"sm",children:y.jsx(ht,{fontWeight:"medium",children:s.name})})]})}):y.jsxs(y.Fragment,{children:[y.jsx(X,{mr:"md",children:y.jsx(ya,{text:"Sign in",variant:"text",color:"black",onClick:d})}),y.jsx(ya,{text:"Register",color:"primary",corner:"rounded",onClick:g})]}),n&&y.jsx(Ab,{ref:T,userProfile:s,dropdownItems:l,maxHeight:u})]})})},$b="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='500'%20zoomAndPan='magnify'%20viewBox='0%200%20375%20374.999991'%20height='500'%20preserveAspectRatio='xMidYMid%20meet'%20version='1.0'%3e%3cdefs%3e%3cg%3e%3c/g%3e%3c/defs%3e%3cg%20fill='%230a1420'%20fill-opacity='1'%3e%3cg%20transform='translate(66.308093,%20231.512278)'%3e%3cg%3e%3cpath%20d='M%2095.3125%20-19.625%20L%2098.71875%20-19.625%20L%2098.71875%200%20C%2097.832031%200.375%2096.851562%200.71875%2095.78125%201.03125%20C%2094.71875%201.351562%2093.554688%201.515625%2092.296875%201.515625%20C%2087.265625%201.515625%2082.734375%200.351562%2078.703125%20-1.96875%20C%2074.679688%20-4.300781%2071.472656%20-7.421875%2069.078125%20-11.328125%20C%2066.054688%20-7.421875%2062.375%20-4.300781%2058.03125%20-1.96875%20C%2053.695312%200.351562%2048.757812%201.515625%2043.21875%201.515625%20C%2036.300781%201.515625%2030.007812%20-0.242188%2024.34375%20-3.765625%20C%2018.6875%20-7.296875%2014.1875%20-12.015625%2010.84375%20-17.921875%20C%207.507812%20-23.835938%205.84375%20-30.445312%205.84375%20-37.75%20C%205.84375%20-45.050781%207.507812%20-51.65625%2010.84375%20-57.5625%20C%2014.1875%20-63.476562%2018.6875%20-68.195312%2024.34375%20-71.71875%20C%2030.007812%20-75.25%2036.300781%20-77.015625%2043.21875%20-77.015625%20C%2047.625%20-77.015625%2051.617188%20-76.289062%2055.203125%20-74.84375%20C%2058.796875%20-73.394531%2061.972656%20-71.410156%2064.734375%20-68.890625%20L%2064.734375%20-75.5%20L%2088.71875%20-75.5%20L%2088.71875%20-26.984375%20C%2088.71875%20-23.835938%2089.40625%20-21.820312%2090.78125%20-20.9375%20C%2092.164062%20-20.0625%2093.675781%20-19.625%2095.3125%20-19.625%20Z%20M%2047.9375%20-19.8125%20C%2052.84375%20-19.8125%2057.054688%20-21.539062%2060.578125%20-25%20C%2064.109375%20-28.46875%2065.875%20-32.71875%2065.875%20-37.75%20C%2065.875%20-42.78125%2064.109375%20-47.023438%2060.578125%20-50.484375%20C%2057.054688%20-53.953125%2052.84375%20-55.6875%2047.9375%20-55.6875%20C%2042.90625%20-55.6875%2038.660156%20-53.953125%2035.203125%20-50.484375%20C%2031.742188%20-47.023438%2030.015625%20-42.78125%2030.015625%20-37.75%20C%2030.015625%20-32.71875%2031.742188%20-28.46875%2035.203125%20-25%20C%2038.660156%20-21.539062%2042.90625%20-19.8125%2047.9375%20-19.8125%20Z%20M%2047.9375%20-19.8125%20'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%20fill='%230a1420'%20fill-opacity='1'%3e%3cg%20transform='translate(167.850545,%20231.512278)'%3e%3cg%3e%3cpath%20d='M%2023.59375%20-88.140625%20C%2020.070312%20-88.140625%2016.988281%20-89.460938%2014.34375%20-92.109375%20C%2011.695312%20-94.753906%2010.375%20-97.835938%2010.375%20-101.359375%20C%2010.375%20-105.003906%2011.695312%20-108.117188%2014.34375%20-110.703125%20C%2016.988281%20-113.285156%2020.070312%20-114.578125%2023.59375%20-114.578125%20C%2027.238281%20-114.578125%2030.351562%20-113.285156%2032.9375%20-110.703125%20C%2035.519531%20-108.117188%2036.8125%20-105.003906%2036.8125%20-101.359375%20C%2036.8125%20-97.835938%2035.519531%20-94.753906%2032.9375%20-92.109375%20C%2030.351562%20-89.460938%2027.238281%20-88.140625%2023.59375%20-88.140625%20Z%20M%2011.515625%200%20L%2011.515625%20-75.5%20L%2035.484375%20-75.5%20L%2035.484375%200%20Z%20M%2011.515625%200%20'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%20fill='%230a1420'%20fill-opacity='1'%3e%3cg%20transform='translate(215.035693,%20231.512278)'%3e%3cg%3e%3cpath%20d='M%2047.9375%201.515625%20C%2039.507812%201.515625%2032.148438%20-0.179688%2025.859375%20-3.578125%20C%2019.566406%20-6.984375%2014.65625%20-11.640625%2011.125%20-17.546875%20C%207.601562%20-23.460938%205.84375%20-30.195312%205.84375%20-37.75%20C%205.84375%20-45.300781%207.601562%20-52.03125%2011.125%20-57.9375%20C%2014.65625%20-63.851562%2019.566406%20-68.507812%2025.859375%20-71.90625%20C%2032.148438%20-75.3125%2039.507812%20-77.015625%2047.9375%20-77.015625%20C%2059.269531%20-77.015625%2068.582031%20-74.023438%2075.875%20-68.046875%20C%2083.175781%20-62.066406%2087.644531%20-54.359375%2089.28125%20-44.921875%20L%2064.359375%20-44.921875%20C%2063.097656%20-48.191406%2061.019531%20-50.769531%2058.125%20-52.65625%20C%2055.238281%20-54.550781%2051.84375%20-55.5625%2047.9375%20-55.6875%20C%2042.78125%20-55.5625%2038.503906%20-53.828125%2035.109375%20-50.484375%20C%2031.710938%20-47.148438%2030.015625%20-42.90625%2030.015625%20-37.75%20C%2030.015625%20-32.71875%2031.710938%20-28.5%2035.109375%20-25.09375%20C%2038.503906%20-21.695312%2042.78125%20-19.9375%2047.9375%20-19.8125%20C%2051.84375%20-19.9375%2055.238281%20-20.972656%2058.125%20-22.921875%20C%2061.019531%20-24.878906%2063.097656%20-27.429688%2064.359375%20-30.578125%20L%2089.28125%20-30.578125%20C%2087.644531%20-21.140625%2083.175781%20-13.429688%2075.875%20-7.453125%20C%2068.582031%20-1.472656%2059.269531%201.515625%2047.9375%201.515625%20Z%20M%2047.9375%201.515625%20'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",Zd=({logo:n=$b,onLogoClick:r})=>y.jsx(X,{children:y.jsx(Jt,{onClick:r,children:y.jsx(Qt,{art:n,type:"svg",width:"lg",height:"lg"})})}),kb=({dropdownMaxHeight:n,dropdownMinWidth:r,isDropdownOpen:i=!1,dropdownItems:s=[]})=>{const l=_e(),u=l.__hd__.header.navDropdown,f=ze.isString(n)&&ir(n)?l.sizes[n]:n||u.defaultMaxHeight,d=ze.isString(r)&&ir(r)?l.sizes[r]:r||u.minWidth;return y.jsx(X,{position:"absolute",top:"100%",left:0,minWidth:d,zIndex:i?l.zIndex.getZIndex("AIC_Kits_Dropdown"):-1,opacity:i?1:0,transition:`z-index ${u.animationDuration}ms ease-in, opacity ${u.animationDuration}ms ease-in`,children:y.jsx(X,{overflow:"hidden",display:"flex",flexDirection:"column",mt:u.spacingTop,px:u.paddingX,py:u.paddingY,gap:u.gap,backgroundColor:u.backgroundColor,boxShadow:u.boxShadow,maxHeight:i?f:0,transition:`max-height ${u.animationDuration}ms ease-in`,style:{borderRadius:u.borderRadius},children:s.length>0&&s.map((g,v)=>y.jsx(Ba,{isDropdownOpen:!0,isDropdownItem:!0,size:"medium",paddingX:"none",paddingY:"none",...g},`nav-dropdown-item-${v}`))})})},Tb=ae.span`
214
+ `,Lo=({label:t,icon:r,iconSize:i,isActive:s,isLoading:l,dropdownItems:u=[],onClick:f,size:h="large",isDropdownOpen:g=!1,isDropdownItem:v=!1,onMouseEnter:_,onToggleDropdown:S,paddingX:E,paddingY:x,isRound:C=!1})=>{const F=xe(),{isTouch:R}=Ia(),I=u.length>0,T=()=>{if(R&&I){g?f==null||f():S==null||S();return}f==null||f()},k=F.__hd__.header,O=k.navItem,M=s?O.active:O.inactive,N=d.useMemo(()=>v?"transparent":g?M.hoverBackgroundColor:M.backgroundColor,[v,g,M.backgroundColor,M.hoverBackgroundColor]);return y.jsxs(Vd,{onClick:T,onMouseEnter:_,$themeBackgroundColor:N,$themeBoxShadow:!v&&g?M.hoverBoxShadow:"none",$themeHoverBackgroundColor:v?"transparent":M.hoverBackgroundColor,$themeHoverBoxShadow:v?"none":M.hoverBoxShadow,$themeHoverColor:O.active.backgroundColor,$themeRadius:O.radius,$themePaddingX:E??O.paddingX,$themePaddingY:x??O.paddingY,$gap:k.loadingGap,$isRound:C,children:[y.jsx(X,{display:"flex",justifyContent:"start",alignItems:"center",flex:1,children:y.jsxs(af,{$themeFontWeight:M.fontWeight,$themeFontSize:O[h].fontSize,$themeColor:M.color,$themeHoverColor:O.hover.color,$themeGap:O[h].gap,$themeHeight:O[h].containerHeight,$isLoading:l??!1,children:[r&&y.jsx(Ht,{type:"icon",art:r,size:i??O[h].iconSize}),t]})}),(u.length>0||g)&&y.jsxs(af,{$themeFontWeight:M.fontWeight,$themeFontSize:O[h].fontSize,$themeColor:M.color,$themeHoverColor:O.hover.color,$themeGap:O[h].gap,$themeHeight:O[h].containerHeight,$isLoading:l??!1,$isDropdownOpen:g,$isDropdownItem:v,children:[u.length>0&&y.jsx(La,{size:16,weight:"bold"}),v&&y.jsx(gi,{rotate:45,size:16,weight:"bold"})]}),y.jsx(X,{display:"flex",alignItems:"center",justifyContent:"center",absoluteFill:!0,opacity:l?1:0,transition:"opacity 0.2s ease-in-out",children:y.jsx(ja,{size:O[h].loadingSize,color:M.color})})]})};function jb({userProfile:t,dropdownItems:r,maxHeight:i},s){const l=xe(),u=l.__hd__.header.profileDropdown,[f,h]=d.useState(!1),g=d.useRef(null),v=d.useRef(null),_=ze.isString(u.minWidth)&&ir(u.minWidth)?l.sizes[u.minWidth]:u.minWidth,S=ze.isString(i)&&ir(i)?l.sizes[i]:i||u.defaultMaxHeight,E=()=>{g.current&&clearTimeout(g.current),v.current&&clearTimeout(v.current)},x=(F=()=>{})=>{E(),h(!0),g.current=setTimeout(F,u.animationDuration)},C=(F=()=>{})=>{E(),h(!1),v.current=setTimeout(F,u.animationDuration)};return d.useImperativeHandle(s,()=>({showDropdown:x,hideDropdown:C})),y.jsx(X,{position:"absolute",top:u.offset.top,right:u.offset.right,minWidth:_,zIndex:f?l.zIndex.getZIndex("AIC_Kits_Dropdown"):-1,opacity:f?1:0,transition:`opacity ${u.animationDuration}ms ease-in-out, z-index ${u.animationDuration}ms ease-in-out`,onMouseEnter:()=>x(),onMouseLeave:()=>C(),children:y.jsxs(X,{overflow:"hidden",mt:u.spacingTop,mr:u.containerPaddingRight,padding:u.padding,backgroundColor:u.backgroundColor,boxShadow:u.boxShadow,maxHeight:f?S:0,transition:`max-height ${u.animationDuration}ms ease-in-out`,style:{borderRadius:u.borderRadius},display:"flex",flexDirection:"column",children:[t!=null&&t.name?y.jsx(X,{py:u.padding,mx:"md",children:y.jsx(ht,{textAlign:"left",children:t.name})}):y.jsx(X,{py:u.padding,mx:"md",children:y.jsx(ht,{textAlign:"left",children:t==null?void 0:t.email})}),y.jsx(X,{p:u.padding,children:y.jsx(Zd,{})}),r==null?void 0:r.map(F=>y.jsx(Lo,{label:F.label,onClick:F.onClick,isActive:F.isActive,size:"medium",isDropdownItem:!0},F.label))]})})}const Bb=d.forwardRef(jb),Nd=({isSignedIn:t=!1,isDropdownVisible:r,setIsDropdownVisible:i,userProfile:s,dropdownItems:l,profileDropdownMaxHeight:u,onProfileClick:f,onSignInClick:h,onRegisterClick:g})=>{const v=xe(),[_,S]=d.useState(!1),[E,x]=d.useState(!0),C=d.useDeferredValue(_),F=Fr(),R=!yt()&&F==="xs";d.useEffect(()=>{yt()||(S(!R),setTimeout(()=>{x(!1)},300))},[R]);const I=v.__hd__.header.avatarSize||"md",T=d.useRef(null),k=()=>{var M;i(!0),(M=T.current)==null||M.showDropdown()},O=()=>{var M;(M=T.current)==null||M.hideDropdown(()=>{i(!1)})};return d.useEffect(()=>{r?k():O()},[r]),y.jsx(mi,{display:"flex",visible:E,maxWidth:C?"100%":"0px",maxHeight:C?"100%":"0px",opacity:C?1:0,variant:"transparent",transition:"max-width 0.3s ease-in-out, opacity 0.3s ease-in-out",r:"lg",children:y.jsxs(X,{display:"flex",flexDirection:"row",alignItems:"center",children:[t?y.jsx(Jt,{onClick:f,children:y.jsxs(X,{display:"flex",flexDirection:"row",alignItems:"center",p:"sm",r:"full",bgColor:"grey100",onMouseEnter:k,onMouseLeave:O,children:[y.jsx(Fd,{src:s==null?void 0:s.avatar,name:s==null?void 0:s.name,size:I}),(s==null?void 0:s.name)&&y.jsx(X,{ml:"sm",children:y.jsx(ht,{fontWeight:"medium",children:s.name})})]})}):y.jsxs(y.Fragment,{children:[y.jsx(X,{mr:"md",children:y.jsx(ba,{text:"Sign in",variant:"text",color:"black",onClick:h})}),y.jsx(ba,{text:"Register",color:"primary",corner:"rounded",onClick:g})]}),t&&y.jsx(Bb,{ref:T,userProfile:s,dropdownItems:l,maxHeight:u})]})})},Pb="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='500'%20zoomAndPan='magnify'%20viewBox='0%200%20375%20374.999991'%20height='500'%20preserveAspectRatio='xMidYMid%20meet'%20version='1.0'%3e%3cdefs%3e%3cg%3e%3c/g%3e%3c/defs%3e%3cg%20fill='%230a1420'%20fill-opacity='1'%3e%3cg%20transform='translate(66.308093,%20231.512278)'%3e%3cg%3e%3cpath%20d='M%2095.3125%20-19.625%20L%2098.71875%20-19.625%20L%2098.71875%200%20C%2097.832031%200.375%2096.851562%200.71875%2095.78125%201.03125%20C%2094.71875%201.351562%2093.554688%201.515625%2092.296875%201.515625%20C%2087.265625%201.515625%2082.734375%200.351562%2078.703125%20-1.96875%20C%2074.679688%20-4.300781%2071.472656%20-7.421875%2069.078125%20-11.328125%20C%2066.054688%20-7.421875%2062.375%20-4.300781%2058.03125%20-1.96875%20C%2053.695312%200.351562%2048.757812%201.515625%2043.21875%201.515625%20C%2036.300781%201.515625%2030.007812%20-0.242188%2024.34375%20-3.765625%20C%2018.6875%20-7.296875%2014.1875%20-12.015625%2010.84375%20-17.921875%20C%207.507812%20-23.835938%205.84375%20-30.445312%205.84375%20-37.75%20C%205.84375%20-45.050781%207.507812%20-51.65625%2010.84375%20-57.5625%20C%2014.1875%20-63.476562%2018.6875%20-68.195312%2024.34375%20-71.71875%20C%2030.007812%20-75.25%2036.300781%20-77.015625%2043.21875%20-77.015625%20C%2047.625%20-77.015625%2051.617188%20-76.289062%2055.203125%20-74.84375%20C%2058.796875%20-73.394531%2061.972656%20-71.410156%2064.734375%20-68.890625%20L%2064.734375%20-75.5%20L%2088.71875%20-75.5%20L%2088.71875%20-26.984375%20C%2088.71875%20-23.835938%2089.40625%20-21.820312%2090.78125%20-20.9375%20C%2092.164062%20-20.0625%2093.675781%20-19.625%2095.3125%20-19.625%20Z%20M%2047.9375%20-19.8125%20C%2052.84375%20-19.8125%2057.054688%20-21.539062%2060.578125%20-25%20C%2064.109375%20-28.46875%2065.875%20-32.71875%2065.875%20-37.75%20C%2065.875%20-42.78125%2064.109375%20-47.023438%2060.578125%20-50.484375%20C%2057.054688%20-53.953125%2052.84375%20-55.6875%2047.9375%20-55.6875%20C%2042.90625%20-55.6875%2038.660156%20-53.953125%2035.203125%20-50.484375%20C%2031.742188%20-47.023438%2030.015625%20-42.78125%2030.015625%20-37.75%20C%2030.015625%20-32.71875%2031.742188%20-28.46875%2035.203125%20-25%20C%2038.660156%20-21.539062%2042.90625%20-19.8125%2047.9375%20-19.8125%20Z%20M%2047.9375%20-19.8125%20'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%20fill='%230a1420'%20fill-opacity='1'%3e%3cg%20transform='translate(167.850545,%20231.512278)'%3e%3cg%3e%3cpath%20d='M%2023.59375%20-88.140625%20C%2020.070312%20-88.140625%2016.988281%20-89.460938%2014.34375%20-92.109375%20C%2011.695312%20-94.753906%2010.375%20-97.835938%2010.375%20-101.359375%20C%2010.375%20-105.003906%2011.695312%20-108.117188%2014.34375%20-110.703125%20C%2016.988281%20-113.285156%2020.070312%20-114.578125%2023.59375%20-114.578125%20C%2027.238281%20-114.578125%2030.351562%20-113.285156%2032.9375%20-110.703125%20C%2035.519531%20-108.117188%2036.8125%20-105.003906%2036.8125%20-101.359375%20C%2036.8125%20-97.835938%2035.519531%20-94.753906%2032.9375%20-92.109375%20C%2030.351562%20-89.460938%2027.238281%20-88.140625%2023.59375%20-88.140625%20Z%20M%2011.515625%200%20L%2011.515625%20-75.5%20L%2035.484375%20-75.5%20L%2035.484375%200%20Z%20M%2011.515625%200%20'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%20fill='%230a1420'%20fill-opacity='1'%3e%3cg%20transform='translate(215.035693,%20231.512278)'%3e%3cg%3e%3cpath%20d='M%2047.9375%201.515625%20C%2039.507812%201.515625%2032.148438%20-0.179688%2025.859375%20-3.578125%20C%2019.566406%20-6.984375%2014.65625%20-11.640625%2011.125%20-17.546875%20C%207.601562%20-23.460938%205.84375%20-30.195312%205.84375%20-37.75%20C%205.84375%20-45.300781%207.601562%20-52.03125%2011.125%20-57.9375%20C%2014.65625%20-63.851562%2019.566406%20-68.507812%2025.859375%20-71.90625%20C%2032.148438%20-75.3125%2039.507812%20-77.015625%2047.9375%20-77.015625%20C%2059.269531%20-77.015625%2068.582031%20-74.023438%2075.875%20-68.046875%20C%2083.175781%20-62.066406%2087.644531%20-54.359375%2089.28125%20-44.921875%20L%2064.359375%20-44.921875%20C%2063.097656%20-48.191406%2061.019531%20-50.769531%2058.125%20-52.65625%20C%2055.238281%20-54.550781%2051.84375%20-55.5625%2047.9375%20-55.6875%20C%2042.78125%20-55.5625%2038.503906%20-53.828125%2035.109375%20-50.484375%20C%2031.710938%20-47.148438%2030.015625%20-42.90625%2030.015625%20-37.75%20C%2030.015625%20-32.71875%2031.710938%20-28.5%2035.109375%20-25.09375%20C%2038.503906%20-21.695312%2042.78125%20-19.9375%2047.9375%20-19.8125%20C%2051.84375%20-19.9375%2055.238281%20-20.972656%2058.125%20-22.921875%20C%2061.019531%20-24.878906%2063.097656%20-27.429688%2064.359375%20-30.578125%20L%2089.28125%20-30.578125%20C%2087.644531%20-21.140625%2083.175781%20-13.429688%2075.875%20-7.453125%20C%2068.582031%20-1.472656%2059.269531%201.515625%2047.9375%201.515625%20Z%20M%2047.9375%201.515625%20'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",Ud=({logo:t=Pb,onLogoClick:r})=>y.jsx(X,{children:y.jsx(Jt,{onClick:r,children:y.jsx(Ht,{art:t,type:"svg",width:"lg",height:"lg"})})}),Wb=({dropdownMaxHeight:t,dropdownMinWidth:r,isDropdownOpen:i=!1,dropdownItems:s=[]})=>{const l=xe(),u=l.__hd__.header.navDropdown,f=ze.isString(t)&&ir(t)?l.sizes[t]:t||u.defaultMaxHeight,h=ze.isString(r)&&ir(r)?l.sizes[r]:r||u.minWidth;return y.jsx(X,{position:"absolute",top:"100%",left:0,minWidth:h,zIndex:i?l.zIndex.getZIndex("AIC_Kits_Dropdown"):-1,opacity:i?1:0,transition:`z-index ${u.animationDuration}ms ease-in, opacity ${u.animationDuration}ms ease-in`,children:y.jsx(X,{overflow:"hidden",display:"flex",flexDirection:"column",mt:u.spacingTop,px:u.paddingX,py:u.paddingY,gap:u.gap,backgroundColor:u.backgroundColor,boxShadow:u.boxShadow,maxHeight:i?f:0,transition:`max-height ${u.animationDuration}ms ease-in`,style:{borderRadius:u.borderRadius},children:s.length>0&&s.map((g,v)=>y.jsx(Lo,{isDropdownOpen:!0,isDropdownItem:!0,size:"medium",paddingX:"none",paddingY:"none",...g},`nav-dropdown-item-${v}`))})})},Db=ae.span`
211
215
  position: relative;
212
- `,Rb=({item:n,index:r,openItemIndex:i,handleNavItemMouseEnter:s,handleNavItemMouseLeave:l,handleNavItemToggleDropdown:u})=>{var C,S;const[f,d]=h.useState(0),g=h.useRef(null),{isMouse:v}=Ia();return h.useLayoutEffect(()=>{g.current&&d(g.current.offsetWidth)},[n]),y.jsxs(Tb,{onMouseLeave:v?l:void 0,onMouseEnter:v?()=>s(n,r):void 0,children:[y.jsx(X,{ref:g,display:"inline-block",children:y.jsx(Ba,{...n,isActive:i!==r&&(n.isActive||((C=n.dropdownItems)==null?void 0:C.some(E=>E.isActive)))||n.isActive,isLoading:i!==r&&(n.isLoading||((S=n.dropdownItems)==null?void 0:S.some(E=>E.isLoading)))||n.isLoading,isDropdownOpen:i===r,onToggleDropdown:()=>u(r)})}),n.dropdownItems&&n.dropdownItems.length>0&&y.jsx(kb,{dropdownItems:n.dropdownItems,isDropdownOpen:i===r,dropdownMinWidth:f})]})},Nd=({navItems:n=[]})=>{const i=_e().__hd__.header,s=h.useRef(null),[l,u]=h.useState(!1),[f,d]=h.useState(!0),g=gi(),v=!At()&&g==="xs",[C,S]=h.useState(null);h.useEffect(()=>{At()||(u(!v),setTimeout(()=>{d(!1)},300))},[v]),h.useEffect(()=>{const R=M=>{s.current&&!s.current.contains(M.target)&&S(null)};return C!==null&&document.addEventListener("mousedown",R),()=>{document.removeEventListener("mousedown",R)}},[C]);const E=h.useDeferredValue(l),w=(R,M)=>{R.dropdownItems&&R.dropdownItems.length>0&&S(M)},_=()=>{S(null)},O=R=>{S(M=>M===R?null:R)};return y.jsx(Ao,{display:"flex",visible:f,maxWidth:E?"100%":"0px",maxHeight:E?"100%":"0px",opacity:E?1:0,variant:"transparent",transition:"max-width 0.3s ease-in-out, opacity 0.3s ease-in-out",r:"lg",py:"sm",children:y.jsx(X,{ref:s,display:"flex",flexDirection:"row",justifyContent:"center",flex:1,mx:"xl",gap:i.navItem.gap,p:i.padding,r:i.radius,bgColor:i.backgroundColor,children:n.map((R,M)=>y.jsx(Rb,{item:R,index:M,openItemIndex:C,handleNavItemMouseEnter:w,handleNavItemMouseLeave:_,handleNavItemToggleDropdown:O},`nav-item-wrapper-${M}`))})})};function Lb({backgroundColor:n="white",logo:r,navItems:i=[],isSignedIn:s=!1,userProfile:l,profileDropdownItems:u,profileDropdownMaxHeight:f,onLogoClick:d,onNavItemClick:g,onSignInClick:v,onRegisterClick:C,onProfileClick:S,...E},w){const[_,O]=h.useState(!1);return h.useImperativeHandle(w,()=>({showDropdown:()=>O(!0),hideDropdown:()=>O(!1)})),y.jsxs(X,{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",width:"100%",p:"md",bgColor:n,...E,children:[y.jsx(Zd,{logo:r,onLogoClick:d}),y.jsx(Nd,{navItems:i,onNavItemClick:g}),y.jsx(Hd,{isSignedIn:s,isDropdownVisible:_,setIsDropdownVisible:O,userProfile:l,dropdownItems:u,profileDropdownMaxHeight:f,onSignInClick:v,onRegisterClick:C,onProfileClick:S})]})}const Vd=h.forwardRef(Lb),Ib=(n,r,i)=>{let s={};return n?r==="padded"?(s.maxWidth=void 0,s.px=i.desktopPaddingX):(s.maxWidth=i.desktopContentMaxWidth,s.px=i.mobilePaddingX):(s.maxWidth=void 0,s.px=i.mobilePaddingX),s},Ob=(n,r)=>{const i={};return n&&r==="maxWidth"&&(i.marginLeft="auto",i.marginRight="auto"),i},Mb=({children:n,backgroundColor:r="white",header:i,contentLayoutMode:s="maxWidth",style:l,...u})=>{const d=_e().__hd__.base,g=gi(),v=At()||g==="md"||g==="lg"||g==="xl",C=Ib(v,s,d),S=Ob(v,s);return y.jsxs(X,{display:"flex",flexDirection:"column",width:"100%",height:"100%",position:"relative",bgColor:r,style:l,...u,children:[i&&y.jsx(Vd,{...i}),y.jsx(X,{flex:1,overflow:"visible",position:"relative",width:"100%",...C,style:S,children:n})]})},Fb=ae.div`
216
+ `,Hb=({item:t,index:r,openItemIndex:i,handleNavItemMouseEnter:s,handleNavItemMouseLeave:l,handleNavItemToggleDropdown:u})=>{var _,S;const[f,h]=d.useState(0),g=d.useRef(null),{isMouse:v}=Ia();return d.useLayoutEffect(()=>{g.current&&h(g.current.offsetWidth)},[t]),y.jsxs(Db,{onMouseLeave:v?l:void 0,onMouseEnter:v?()=>s(t,r):void 0,children:[y.jsx(X,{ref:g,display:"inline-block",children:y.jsx(Lo,{...t,isActive:i!==r&&(t.isActive||((_=t.dropdownItems)==null?void 0:_.some(E=>E.isActive)))||t.isActive,isLoading:i!==r&&(t.isLoading||((S=t.dropdownItems)==null?void 0:S.some(E=>E.isLoading)))||t.isLoading,isDropdownOpen:i===r,onToggleDropdown:()=>u(r)})}),t.dropdownItems&&t.dropdownItems.length>0&&y.jsx(Wb,{dropdownItems:t.dropdownItems,isDropdownOpen:i===r,dropdownMinWidth:f})]})},qd=({navItems:t=[]})=>{const i=xe().__hd__.header,s=d.useRef(null),[l,u]=d.useState(!1),[f,h]=d.useState(!0),g=Fr(),v=!yt()&&g==="xs",[_,S]=d.useState(null);d.useEffect(()=>{yt()||(u(!v),setTimeout(()=>{h(!1)},300))},[v]),d.useEffect(()=>{const R=I=>{s.current&&!s.current.contains(I.target)&&S(null)};return _!==null&&document.addEventListener("mousedown",R),()=>{document.removeEventListener("mousedown",R)}},[_]);const E=d.useDeferredValue(l),x=(R,I)=>{R.dropdownItems&&R.dropdownItems.length>0&&S(I)},C=()=>{S(null)},F=R=>{S(I=>I===R?null:R)};return y.jsx(mi,{display:"flex",visible:f,maxWidth:E?"100%":"0px",maxHeight:E?"100%":"0px",opacity:E?1:0,variant:"transparent",transition:"max-width 0.3s ease-in-out, opacity 0.3s ease-in-out",r:"lg",py:"sm",children:y.jsx(X,{ref:s,display:"flex",flexDirection:"row",justifyContent:"center",flex:1,gap:i.navItem.gap,p:i.padding,r:i.radius,bgColor:i.backgroundColor,children:t.map((R,I)=>y.jsx(Hb,{item:R,index:I,openItemIndex:_,handleNavItemMouseEnter:x,handleNavItemMouseLeave:C,handleNavItemToggleDropdown:F},`nav-item-wrapper-${I}`))})})},Gd=({onSearchClick:t,isSearchActive:r=!1,isSearchLoading:i=!1})=>{const l=xe().__hd__.header,[u,f]=d.useState(!1),[h,g]=d.useState(!0),v=Fr(),_=!yt()&&v==="xs";d.useEffect(()=>{yt()||(f(!_),setTimeout(()=>{g(!1)},300))},[_]);const S=d.useDeferredValue(u);return y.jsx(mi,{display:"flex",visible:h,maxWidth:S?"100%":"0px",maxHeight:S?"100%":"0px",opacity:S?1:0,variant:"transparent",transition:"max-width 0.3s ease-in-out, opacity 0.3s ease-in-out",r:"lg",py:"sm",children:y.jsx(X,{display:"flex",flexDirection:"row",justifyContent:"center",alignItems:"center",p:l.padding,r:l.radius,bgColor:l.backgroundColor,children:y.jsx(Lo,{icon:Rd,isActive:r,isLoading:i,onClick:t,isRound:!0})})})};function Zb({backgroundColor:t="white",logo:r,navItems:i=[],isSignedIn:s=!1,userProfile:l,profileDropdownItems:u,profileDropdownMaxHeight:f,onLogoClick:h,onNavItemClick:g,onSignInClick:v,onRegisterClick:_,onProfileClick:S,onSearchClick:E,isSearchActive:x,isSearchLoading:C,...F},R){const[I,T]=d.useState(!1);return d.useImperativeHandle(R,()=>({showDropdown:()=>T(!0),hideDropdown:()=>T(!1)})),y.jsxs(X,{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",width:"100%",p:"md",bgColor:t,...F,children:[y.jsx(Ud,{logo:r,onLogoClick:h}),y.jsxs(X,{display:"flex",flexDirection:"row",alignItems:"center",gap:"sm-md",children:[y.jsx(qd,{navItems:i,onNavItemClick:g}),E&&y.jsx(Gd,{onSearchClick:E,isSearchActive:x,isSearchLoading:C})]}),y.jsx(Nd,{isSignedIn:s,isDropdownVisible:I,setIsDropdownVisible:T,userProfile:l,dropdownItems:u,profileDropdownMaxHeight:f,onSignInClick:v,onRegisterClick:_,onProfileClick:S})]})}const Kd=d.forwardRef(Zb),Vb=(t,r,i)=>{let s={};return t?r==="padded"?(s.maxWidth=void 0,s.px=i.desktopPaddingX):(s.maxWidth=i.desktopContentMaxWidth,s.px=i.mobilePaddingX):(s.maxWidth=void 0,s.px=i.mobilePaddingX),s},Nb=(t,r)=>{const i={};return t&&r==="maxWidth"&&(i.marginLeft="auto",i.marginRight="auto"),i},Ub=({children:t,backgroundColor:r="white",header:i,contentLayoutMode:s="maxWidth",style:l,...u})=>{const h=xe().__hd__.base,g=Fr(),v=yt()||g==="md"||g==="lg"||g==="xl",_=Vb(v,s,h),S=Nb(v,s);return y.jsxs(X,{display:"flex",flexDirection:"column",width:"100%",height:"100%",position:"relative",bgColor:r,style:l,...u,children:[i&&y.jsx(Kd,{...i}),y.jsx(X,{flex:1,overflow:"visible",position:"relative",width:"100%",..._,style:S,children:t})]})},qb=ae.div`
213
217
  display: flex;
214
218
  flex-direction: row;
215
219
  align-items: center;
216
- ${({theme:n,$isFocused:r,$isDisabled:i,$error:s,$borderColor:l,$bgColor:u})=>{const f=n.__hd__.input;let d="default";s?d="error":i?d="disabled":r&&(d="focused");const g=f.states[d],v=d==="focused"&&l?`0 0 0 2px ${n.colors[l]} inset`:g.boxShadow,C=n.spaces[f.padding.vertical],S=n.spaces[f.padding.horizontal],E=n.radii[f.borderRadius],w=n.borderWidths[f.borderWidth],_=d!=="disabled"&&u?n.colors[u]:g.backgroundColor;return`
217
- padding: ${C}px ${S}px;
220
+ ${({theme:t,$isFocused:r,$isDisabled:i,$error:s,$borderColor:l,$bgColor:u})=>{const f=t.__hd__.input;let h="default";s?h="error":i?h="disabled":r&&(h="focused");const g=f.states[h],v=h==="focused"&&l?`0 0 0 2px ${t.colors[l]} inset`:g.boxShadow,_=t.spaces[f.padding.vertical],S=t.spaces[f.padding.horizontal],E=t.radii[f.borderRadius],x=t.borderWidths[f.borderWidth],C=h!=="disabled"&&u?t.colors[u]:g.backgroundColor;return`
221
+ padding: ${_}px ${S}px;
218
222
  border-radius: ${E}px;
219
- border: ${w}px solid ${n.colors[g.borderColor]};
223
+ border: ${x}px solid ${t.colors[g.borderColor]};
220
224
  box-shadow: ${v};
221
- background-color: ${_};
225
+ background-color: ${C};
222
226
  opacity: ${i?.7:1};
223
227
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
224
228
  `}}
225
- `,sf=ae.input`
229
+ `,lf=ae.input`
226
230
  flex: 1;
227
231
  border: none;
228
232
  background: transparent;
229
233
  outline: none;
230
- font-size: ${({theme:n})=>`${n.__hd__.text.fontSizes[n.__hd__.input.fontSize||"medium"]}px`};
231
- color: ${({theme:n})=>n.colors[n.__hd__.input.textColor||"grey900"]};
234
+ font-size: ${({theme:t})=>`${t.__hd__.text.fontSizes[t.__hd__.input.fontSize||"medium"]}px`};
235
+ color: ${({theme:t})=>t.colors[t.__hd__.input.textColor||"grey900"]};
232
236
 
233
237
  &::placeholder {
234
- color: ${({theme:n})=>n.colors[n.__hd__.input.placeholderColor||"grey500"]};
238
+ color: ${({theme:t})=>t.colors[t.__hd__.input.placeholderColor||"grey500"]};
235
239
  }
236
240
 
237
241
  &:disabled {
238
- color: ${({theme:n})=>n.colors[n.__hd__.input.disabledTextColor||"grey500"]};
242
+ color: ${({theme:t})=>t.colors[t.__hd__.input.disabledTextColor||"grey500"]};
239
243
  cursor: not-allowed;
240
244
  }
241
245
 
@@ -243,97 +247,97 @@ function print() { __p += __j.call(arguments, '') }
243
247
  &::-ms-reveal {
244
248
  display: none;
245
249
  }
246
- `,zb=(n,r)=>{const{value:i="",onChange:s,placeholder:l="",disabled:u=!1,error:f,label:d,helperText:g,leftIcon:v,rightIcon:C,borderColor:S,bgColor:E,multiline:w,..._}=n,O=_e(),R=O.__hd__.input,[M,T]=h.useState(!1),k=h.useRef(null),[I,P]=h.useState(i),[U,N]=h.useState(!1),[Q,pe]=h.useState(null),Ce=!w&&_.type==="password";h.useEffect(()=>{P(i)},[i]),h.useEffect(()=>{if(Ce&&k.current&&Q!==null){const ee=k.current,ve=Q;requestAnimationFrame(()=>{ee&&(ee.focus(),ee.setSelectionRange(ve,ve))}),pe(null)}},[U,Ce,Q]),h.useImperativeHandle(r,()=>({focus:()=>{var ee;return(ee=k.current)==null?void 0:ee.focus()},blur:()=>{var ee;return(ee=k.current)==null?void 0:ee.blur()},get value(){return I}}));const Me=ee=>{T(!0),n.onFocus&&n.onFocus(ee)},D=ee=>{T(!1),n.onBlur&&n.onBlur(ee)},z=ee=>{const ve=ee.target.value;P(ve),s==null||s(ve)},G=wt(O,R.iconSize),le=u?R.disabledTextColor:R.iconColor,te=()=>{Ce&&k.current&&(pe(k.current.selectionStart),N(!U))},oe={ref:k,value:I,onChange:z,onFocus:Me,onBlur:D,placeholder:l,disabled:u};return y.jsxs(X,{fw:!0,children:[d&&y.jsx(X,{mb:"xs",children:y.jsx(ht,{fontWeight:"medium",children:d})}),y.jsxs(Fb,{$isFocused:M,$isDisabled:u,$error:!!f,$borderColor:S,$bgColor:E,children:[v&&y.jsx(X,{mr:R.iconSpacing,children:y.jsx(Qt,{type:"icon",art:v,size:G,color:le})}),w?y.jsx(sf,{as:"textarea",...oe,..._}):y.jsx(sf,{...oe,..._,type:U?"text":_.type}),Ce&&M?y.jsx(X,{ml:R.iconSpacing,onClick:te,onMouseDown:ee=>ee.preventDefault(),cursor:"pointer","data-testid":"password-toggle-icon",children:y.jsx(Qt,{type:"icon",art:U?Ad:$d,size:G,color:le})}):!Ce&&C&&y.jsx(X,{ml:R.iconSpacing,children:y.jsx(Qt,{type:"icon",art:C,size:G,color:le})})]}),(f||g)&&y.jsx(X,{mt:"xs",children:y.jsx(ht,{fontSize:"xs",color:f?"danger":"grey600",children:f||g})})]})},jb=h.forwardRef(zb),Bb=["p","padding","pt","pb","pl","pr","px","py","gap","display","flexDirection","alignItems","justifyContent","flexWrap","flexGrow","flexShrink","flexBasis","flex"];function Pb(n){const r={},i={},s={};for(const l in n)if(Object.prototype.hasOwnProperty.call(n,l)){const u=n[l];Bb.includes(l)?r[l]=u:l!=="data"&&l!=="renderItem"&&l!=="keyExtractor"&&l!=="ListEmptyComponent"&&l!=="ListHeaderComponent"&&l!=="ListFooterComponent"&&l!=="ItemSeparatorComponent"&&l!=="itemGap"?i[l]=u:s[l]=u}return{listProps:s,contentProps:r,containerProps:i}}function Wb(n,r){var k,I;const{listProps:i,contentProps:s,containerProps:l}=Pb(n),{data:u=[],renderItem:f,keyExtractor:d,ListEmptyComponent:g,ListHeaderComponent:v,ListFooterComponent:C,ItemSeparatorComponent:S,itemGap:E}=i,w=_e(),_=((k=w.__hd__.list)==null?void 0:k.defaultGap)||"xs",O=E||_,R=((I=w.__hd__.list)==null?void 0:I.defaultPadding)||"0px",M=s.p??s.padding??R,T=()=>u.length===0&&g?g:u.map((P,U)=>{const N=d?d(P,U):String(U),Q=f?f(P,U):null;return Q?y.jsxs(h.Fragment,{children:[Q,S&&U<u.length-1?S:null]},N):null});return y.jsx(X,{ref:r,overflow:"auto",width:"100%",...l,children:y.jsxs(X,{display:"flex",flexDirection:"column",gap:O,p:M,...s,children:[v,T(),C]})})}const Db=h.forwardRef(Wb);/*! @vimeo/player v2.27.1 | (c) 2025 Vimeo | MIT License | https://github.com/vimeo/player.js */function af(n,r){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(n);r&&(s=s.filter(function(l){return Object.getOwnPropertyDescriptor(n,l).enumerable})),i.push.apply(i,s)}return i}function lf(n){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{};r%2?af(Object(i),!0).forEach(function(s){po(n,s,i[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):af(Object(i)).forEach(function(s){Object.defineProperty(n,s,Object.getOwnPropertyDescriptor(i,s))})}return n}function Et(){Et=function(){return n};var n={},r=Object.prototype,i=r.hasOwnProperty,s=Object.defineProperty||function(D,z,G){D[z]=G.value},l=typeof Symbol=="function"?Symbol:{},u=l.iterator||"@@iterator",f=l.asyncIterator||"@@asyncIterator",d=l.toStringTag||"@@toStringTag";function g(D,z,G){return Object.defineProperty(D,z,{value:G,enumerable:!0,configurable:!0,writable:!0}),D[z]}try{g({},"")}catch{g=function(z,G,le){return z[G]=le}}function v(D,z,G,le){var te=z&&z.prototype instanceof E?z:E,oe=Object.create(te.prototype),ee=new pe(le||[]);return s(oe,"_invoke",{value:P(D,G,ee)}),oe}function C(D,z,G){try{return{type:"normal",arg:D.call(z,G)}}catch(le){return{type:"throw",arg:le}}}n.wrap=v;var S={};function E(){}function w(){}function _(){}var O={};g(O,u,function(){return this});var R=Object.getPrototypeOf,M=R&&R(R(Ce([])));M&&M!==r&&i.call(M,u)&&(O=M);var T=_.prototype=E.prototype=Object.create(O);function k(D){["next","throw","return"].forEach(function(z){g(D,z,function(G){return this._invoke(z,G)})})}function I(D,z){function G(te,oe,ee,ve){var je=C(D[te],D,oe);if(je.type!=="throw"){var ke=je.arg,Ie=ke.value;return Ie&&typeof Ie=="object"&&i.call(Ie,"__await")?z.resolve(Ie.__await).then(function(De){G("next",De,ee,ve)},function(De){G("throw",De,ee,ve)}):z.resolve(Ie).then(function(De){ke.value=De,ee(ke)},function(De){return G("throw",De,ee,ve)})}ve(je.arg)}var le;s(this,"_invoke",{value:function(te,oe){function ee(){return new z(function(ve,je){G(te,oe,ve,je)})}return le=le?le.then(ee,ee):ee()}})}function P(D,z,G){var le="suspendedStart";return function(te,oe){if(le==="executing")throw new Error("Generator is already running");if(le==="completed"){if(te==="throw")throw oe;return Me()}for(G.method=te,G.arg=oe;;){var ee=G.delegate;if(ee){var ve=U(ee,G);if(ve){if(ve===S)continue;return ve}}if(G.method==="next")G.sent=G._sent=G.arg;else if(G.method==="throw"){if(le==="suspendedStart")throw le="completed",G.arg;G.dispatchException(G.arg)}else G.method==="return"&&G.abrupt("return",G.arg);le="executing";var je=C(D,z,G);if(je.type==="normal"){if(le=G.done?"completed":"suspendedYield",je.arg===S)continue;return{value:je.arg,done:G.done}}je.type==="throw"&&(le="completed",G.method="throw",G.arg=je.arg)}}}function U(D,z){var G=z.method,le=D.iterator[G];if(le===void 0)return z.delegate=null,G==="throw"&&D.iterator.return&&(z.method="return",z.arg=void 0,U(D,z),z.method==="throw")||G!=="return"&&(z.method="throw",z.arg=new TypeError("The iterator does not provide a '"+G+"' method")),S;var te=C(le,D.iterator,z.arg);if(te.type==="throw")return z.method="throw",z.arg=te.arg,z.delegate=null,S;var oe=te.arg;return oe?oe.done?(z[D.resultName]=oe.value,z.next=D.nextLoc,z.method!=="return"&&(z.method="next",z.arg=void 0),z.delegate=null,S):oe:(z.method="throw",z.arg=new TypeError("iterator result is not an object"),z.delegate=null,S)}function N(D){var z={tryLoc:D[0]};1 in D&&(z.catchLoc=D[1]),2 in D&&(z.finallyLoc=D[2],z.afterLoc=D[3]),this.tryEntries.push(z)}function Q(D){var z=D.completion||{};z.type="normal",delete z.arg,D.completion=z}function pe(D){this.tryEntries=[{tryLoc:"root"}],D.forEach(N,this),this.reset(!0)}function Ce(D){if(D){var z=D[u];if(z)return z.call(D);if(typeof D.next=="function")return D;if(!isNaN(D.length)){var G=-1,le=function te(){for(;++G<D.length;)if(i.call(D,G))return te.value=D[G],te.done=!1,te;return te.value=void 0,te.done=!0,te};return le.next=le}}return{next:Me}}function Me(){return{value:void 0,done:!0}}return w.prototype=_,s(T,"constructor",{value:_,configurable:!0}),s(_,"constructor",{value:w,configurable:!0}),w.displayName=g(_,d,"GeneratorFunction"),n.isGeneratorFunction=function(D){var z=typeof D=="function"&&D.constructor;return!!z&&(z===w||(z.displayName||z.name)==="GeneratorFunction")},n.mark=function(D){return Object.setPrototypeOf?Object.setPrototypeOf(D,_):(D.__proto__=_,g(D,d,"GeneratorFunction")),D.prototype=Object.create(T),D},n.awrap=function(D){return{__await:D}},k(I.prototype),g(I.prototype,f,function(){return this}),n.AsyncIterator=I,n.async=function(D,z,G,le,te){te===void 0&&(te=Promise);var oe=new I(v(D,z,G,le),te);return n.isGeneratorFunction(z)?oe:oe.next().then(function(ee){return ee.done?ee.value:oe.next()})},k(T),g(T,d,"Generator"),g(T,u,function(){return this}),g(T,"toString",function(){return"[object Generator]"}),n.keys=function(D){var z=Object(D),G=[];for(var le in z)G.push(le);return G.reverse(),function te(){for(;G.length;){var oe=G.pop();if(oe in z)return te.value=oe,te.done=!1,te}return te.done=!0,te}},n.values=Ce,pe.prototype={constructor:pe,reset:function(D){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(Q),!D)for(var z in this)z.charAt(0)==="t"&&i.call(this,z)&&!isNaN(+z.slice(1))&&(this[z]=void 0)},stop:function(){this.done=!0;var D=this.tryEntries[0].completion;if(D.type==="throw")throw D.arg;return this.rval},dispatchException:function(D){if(this.done)throw D;var z=this;function G(je,ke){return oe.type="throw",oe.arg=D,z.next=je,ke&&(z.method="next",z.arg=void 0),!!ke}for(var le=this.tryEntries.length-1;le>=0;--le){var te=this.tryEntries[le],oe=te.completion;if(te.tryLoc==="root")return G("end");if(te.tryLoc<=this.prev){var ee=i.call(te,"catchLoc"),ve=i.call(te,"finallyLoc");if(ee&&ve){if(this.prev<te.catchLoc)return G(te.catchLoc,!0);if(this.prev<te.finallyLoc)return G(te.finallyLoc)}else if(ee){if(this.prev<te.catchLoc)return G(te.catchLoc,!0)}else{if(!ve)throw new Error("try statement without catch or finally");if(this.prev<te.finallyLoc)return G(te.finallyLoc)}}}},abrupt:function(D,z){for(var G=this.tryEntries.length-1;G>=0;--G){var le=this.tryEntries[G];if(le.tryLoc<=this.prev&&i.call(le,"finallyLoc")&&this.prev<le.finallyLoc){var te=le;break}}te&&(D==="break"||D==="continue")&&te.tryLoc<=z&&z<=te.finallyLoc&&(te=null);var oe=te?te.completion:{};return oe.type=D,oe.arg=z,te?(this.method="next",this.next=te.finallyLoc,S):this.complete(oe)},complete:function(D,z){if(D.type==="throw")throw D.arg;return D.type==="break"||D.type==="continue"?this.next=D.arg:D.type==="return"?(this.rval=this.arg=D.arg,this.method="return",this.next="end"):D.type==="normal"&&z&&(this.next=z),S},finish:function(D){for(var z=this.tryEntries.length-1;z>=0;--z){var G=this.tryEntries[z];if(G.finallyLoc===D)return this.complete(G.completion,G.afterLoc),Q(G),S}},catch:function(D){for(var z=this.tryEntries.length-1;z>=0;--z){var G=this.tryEntries[z];if(G.tryLoc===D){var le=G.completion;if(le.type==="throw"){var te=le.arg;Q(G)}return te}}throw new Error("illegal catch attempt")},delegateYield:function(D,z,G){return this.delegate={iterator:Ce(D),resultName:z,nextLoc:G},this.method==="next"&&(this.arg=void 0),S}},n}function uf(n,r,i,s,l,u,f){try{var d=n[u](f),g=d.value}catch(v){i(v);return}d.done?r(g):Promise.resolve(g).then(s,l)}function nr(n){return function(){var r=this,i=arguments;return new Promise(function(s,l){var u=n.apply(r,i);function f(g){uf(u,s,l,f,d,"next",g)}function d(g){uf(u,s,l,f,d,"throw",g)}f(void 0)})}}function Ud(n,r){if(!(n instanceof r))throw new TypeError("Cannot call a class as a function")}function Hb(n,r){for(var i=0;i<r.length;i++){var s=r[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(n,Kd(s.key),s)}}function qd(n,r,i){return r&&Hb(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n}function po(n,r,i){return r=Kd(r),r in n?Object.defineProperty(n,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[r]=i,n}function Zb(n,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(r&&r.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),r&&di(n,r)}function fi(n){return fi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},fi(n)}function di(n,r){return di=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(s,l){return s.__proto__=l,s},di(n,r)}function Gd(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function go(n,r,i){return Gd()?go=Reflect.construct.bind():go=function(l,u,f){var d=[null];d.push.apply(d,u);var g=Function.bind.apply(l,d),v=new g;return f&&di(v,f.prototype),v},go.apply(null,arguments)}function Nb(n){return Function.toString.call(n).indexOf("[native code]")!==-1}function ba(n){var r=typeof Map=="function"?new Map:void 0;return ba=function(s){if(s===null||!Nb(s))return s;if(typeof s!="function")throw new TypeError("Super expression must either be null or a function");if(typeof r<"u"){if(r.has(s))return r.get(s);r.set(s,l)}function l(){return go(s,arguments,fi(this).constructor)}return l.prototype=Object.create(s.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),di(l,s)},ba(n)}function mo(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function Vb(n,r){if(r&&(typeof r=="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return mo(n)}function Ub(n){var r=Gd();return function(){var s=fi(n),l;if(r){var u=fi(this).constructor;l=Reflect.construct(s,arguments,u)}else l=s.apply(this,arguments);return Vb(this,l)}}function qb(n,r){if(typeof n!="object"||n===null)return n;var i=n[Symbol.toPrimitive];if(i!==void 0){var s=i.call(n,r);if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}function Kd(n){var r=qb(n,"string");return typeof r=="symbol"?r:String(r)}var Xd=typeof global<"u"&&{}.toString.call(global)==="[object global]";function cf(n,r){return n.indexOf(r.toLowerCase())===0?n:"".concat(r.toLowerCase()).concat(n.substr(0,1).toUpperCase()).concat(n.substr(1))}function Gb(n){return!!(n&&n.nodeType===1&&"nodeName"in n&&n.ownerDocument&&n.ownerDocument.defaultView)}function Kb(n){return!isNaN(parseFloat(n))&&isFinite(n)&&Math.floor(n)==n}function sr(n){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(n)}function Yd(n){var r=/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/;return r.test(n)}function Xb(n){for(var r=(n||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),i=(r&&r[1]||"").replace("player.",""),s=[".videoji.hk",".vimeo.work",".videoji.cn"],l=0,u=s;l<u.length;l++){var f=u[l];if(i.endsWith(f))return i}return"vimeo.com"}function Qd(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=n.id,i=n.url,s=r||i;if(!s)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(Kb(s))return"https://vimeo.com/".concat(s);if(sr(s))return s.replace("http:","https:");throw r?new TypeError("“".concat(r,"” is not a valid video id.")):new TypeError("“".concat(s,"” is not a vimeo.com url."))}var ff=function(r,i,s){var l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"addEventListener",u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"removeEventListener",f=typeof i=="string"?[i]:i;return f.forEach(function(d){r[l](d,s)}),{cancel:function(){return f.forEach(function(g){return r[u](g,s)})}}},Yb=typeof Array.prototype.indexOf<"u",Qb=typeof window<"u"&&typeof window.postMessage<"u";if(!Xd&&(!Yb||!Qb))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var Rr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Jb(n,r){return r={exports:{}},n(r,r.exports),r.exports}/*!
250
+ `,Gb=(t,r)=>{const{value:i="",onChange:s,placeholder:l="",disabled:u=!1,error:f,label:h,helperText:g,leftIcon:v,rightIcon:_,borderColor:S,bgColor:E,multiline:x,...C}=t,F=xe(),R=F.__hd__.input,[I,T]=d.useState(!1),k=d.useRef(null),[O,M]=d.useState(i),[N,V]=d.useState(!1),[Q,pe]=d.useState(null),Ce=!x&&C.type==="password";d.useEffect(()=>{M(i)},[i]),d.useEffect(()=>{if(Ce&&k.current&&Q!==null){const ee=k.current,ve=Q;requestAnimationFrame(()=>{ee&&(ee.focus(),ee.setSelectionRange(ve,ve))}),pe(null)}},[N,Ce,Q]),d.useImperativeHandle(r,()=>({focus:()=>{var ee;return(ee=k.current)==null?void 0:ee.focus()},blur:()=>{var ee;return(ee=k.current)==null?void 0:ee.blur()},get value(){return O}}));const Me=ee=>{T(!0),t.onFocus&&t.onFocus(ee)},D=ee=>{T(!1),t.onBlur&&t.onBlur(ee)},j=ee=>{const ve=ee.target.value;M(ve),s==null||s(ve)},G=wt(F,R.iconSize),le=u?R.disabledTextColor:R.iconColor,te=()=>{Ce&&k.current&&(pe(k.current.selectionStart),V(!N))},oe={ref:k,value:O,onChange:j,onFocus:Me,onBlur:D,placeholder:l,disabled:u};return y.jsxs(X,{fw:!0,children:[h&&y.jsx(X,{mb:"xs",children:y.jsx(ht,{fontWeight:"medium",children:h})}),y.jsxs(qb,{$isFocused:I,$isDisabled:u,$error:!!f,$borderColor:S,$bgColor:E,children:[v&&y.jsx(X,{mr:R.iconSpacing,children:y.jsx(Ht,{type:"icon",art:v,size:G,color:le})}),x?y.jsx(lf,{as:"textarea",...oe,...C}):y.jsx(lf,{...oe,...C,type:N?"text":C.type}),Ce&&I?y.jsx(X,{ml:R.iconSpacing,onClick:te,onMouseDown:ee=>ee.preventDefault(),cursor:"pointer","data-testid":"password-toggle-icon",children:y.jsx(Ht,{type:"icon",art:N?kd:Td,size:G,color:le})}):!Ce&&_&&y.jsx(X,{ml:R.iconSpacing,children:y.jsx(Ht,{type:"icon",art:_,size:G,color:le})})]}),(f||g)&&y.jsx(X,{mt:"xs",children:y.jsx(ht,{fontSize:"xs",color:f?"danger":"grey600",children:f||g})})]})},Kb=d.forwardRef(Gb),Xb=["p","padding","pt","pb","pl","pr","px","py","gap","display","flexDirection","alignItems","justifyContent","flexWrap","flexGrow","flexShrink","flexBasis","flex"];function Yb(t){const r={},i={},s={};for(const l in t)if(Object.prototype.hasOwnProperty.call(t,l)){const u=t[l];Xb.includes(l)?r[l]=u:l!=="data"&&l!=="renderItem"&&l!=="keyExtractor"&&l!=="ListEmptyComponent"&&l!=="ListHeaderComponent"&&l!=="ListFooterComponent"&&l!=="ItemSeparatorComponent"&&l!=="itemGap"?i[l]=u:s[l]=u}return{listProps:s,contentProps:r,containerProps:i}}function Qb(t,r){var k,O;const{listProps:i,contentProps:s,containerProps:l}=Yb(t),{data:u=[],renderItem:f,keyExtractor:h,ListEmptyComponent:g,ListHeaderComponent:v,ListFooterComponent:_,ItemSeparatorComponent:S,itemGap:E}=i,x=xe(),C=((k=x.__hd__.list)==null?void 0:k.defaultGap)||"xs",F=E||C,R=((O=x.__hd__.list)==null?void 0:O.defaultPadding)||"0px",I=s.p??s.padding??R,T=()=>u.length===0&&g?g:u.map((M,N)=>{const V=h?h(M,N):String(N),Q=f?f(M,N):null;return Q?y.jsxs(d.Fragment,{children:[Q,S&&N<u.length-1?S:null]},V):null});return y.jsx(X,{ref:r,overflow:"auto",width:"100%",...l,children:y.jsxs(X,{display:"flex",flexDirection:"column",gap:F,p:I,...s,children:[v,T(),_]})})}const Jb=d.forwardRef(Qb);/*! @vimeo/player v2.27.1 | (c) 2025 Vimeo | MIT License | https://github.com/vimeo/player.js */function uf(t,r){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);r&&(s=s.filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable})),i.push.apply(i,s)}return i}function cf(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{};r%2?uf(Object(i),!0).forEach(function(s){go(t,s,i[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):uf(Object(i)).forEach(function(s){Object.defineProperty(t,s,Object.getOwnPropertyDescriptor(i,s))})}return t}function At(){At=function(){return t};var t={},r=Object.prototype,i=r.hasOwnProperty,s=Object.defineProperty||function(D,j,G){D[j]=G.value},l=typeof Symbol=="function"?Symbol:{},u=l.iterator||"@@iterator",f=l.asyncIterator||"@@asyncIterator",h=l.toStringTag||"@@toStringTag";function g(D,j,G){return Object.defineProperty(D,j,{value:G,enumerable:!0,configurable:!0,writable:!0}),D[j]}try{g({},"")}catch{g=function(j,G,le){return j[G]=le}}function v(D,j,G,le){var te=j&&j.prototype instanceof E?j:E,oe=Object.create(te.prototype),ee=new pe(le||[]);return s(oe,"_invoke",{value:M(D,G,ee)}),oe}function _(D,j,G){try{return{type:"normal",arg:D.call(j,G)}}catch(le){return{type:"throw",arg:le}}}t.wrap=v;var S={};function E(){}function x(){}function C(){}var F={};g(F,u,function(){return this});var R=Object.getPrototypeOf,I=R&&R(R(Ce([])));I&&I!==r&&i.call(I,u)&&(F=I);var T=C.prototype=E.prototype=Object.create(F);function k(D){["next","throw","return"].forEach(function(j){g(D,j,function(G){return this._invoke(j,G)})})}function O(D,j){function G(te,oe,ee,ve){var je=_(D[te],D,oe);if(je.type!=="throw"){var ke=je.arg,Oe=ke.value;return Oe&&typeof Oe=="object"&&i.call(Oe,"__await")?j.resolve(Oe.__await).then(function(De){G("next",De,ee,ve)},function(De){G("throw",De,ee,ve)}):j.resolve(Oe).then(function(De){ke.value=De,ee(ke)},function(De){return G("throw",De,ee,ve)})}ve(je.arg)}var le;s(this,"_invoke",{value:function(te,oe){function ee(){return new j(function(ve,je){G(te,oe,ve,je)})}return le=le?le.then(ee,ee):ee()}})}function M(D,j,G){var le="suspendedStart";return function(te,oe){if(le==="executing")throw new Error("Generator is already running");if(le==="completed"){if(te==="throw")throw oe;return Me()}for(G.method=te,G.arg=oe;;){var ee=G.delegate;if(ee){var ve=N(ee,G);if(ve){if(ve===S)continue;return ve}}if(G.method==="next")G.sent=G._sent=G.arg;else if(G.method==="throw"){if(le==="suspendedStart")throw le="completed",G.arg;G.dispatchException(G.arg)}else G.method==="return"&&G.abrupt("return",G.arg);le="executing";var je=_(D,j,G);if(je.type==="normal"){if(le=G.done?"completed":"suspendedYield",je.arg===S)continue;return{value:je.arg,done:G.done}}je.type==="throw"&&(le="completed",G.method="throw",G.arg=je.arg)}}}function N(D,j){var G=j.method,le=D.iterator[G];if(le===void 0)return j.delegate=null,G==="throw"&&D.iterator.return&&(j.method="return",j.arg=void 0,N(D,j),j.method==="throw")||G!=="return"&&(j.method="throw",j.arg=new TypeError("The iterator does not provide a '"+G+"' method")),S;var te=_(le,D.iterator,j.arg);if(te.type==="throw")return j.method="throw",j.arg=te.arg,j.delegate=null,S;var oe=te.arg;return oe?oe.done?(j[D.resultName]=oe.value,j.next=D.nextLoc,j.method!=="return"&&(j.method="next",j.arg=void 0),j.delegate=null,S):oe:(j.method="throw",j.arg=new TypeError("iterator result is not an object"),j.delegate=null,S)}function V(D){var j={tryLoc:D[0]};1 in D&&(j.catchLoc=D[1]),2 in D&&(j.finallyLoc=D[2],j.afterLoc=D[3]),this.tryEntries.push(j)}function Q(D){var j=D.completion||{};j.type="normal",delete j.arg,D.completion=j}function pe(D){this.tryEntries=[{tryLoc:"root"}],D.forEach(V,this),this.reset(!0)}function Ce(D){if(D){var j=D[u];if(j)return j.call(D);if(typeof D.next=="function")return D;if(!isNaN(D.length)){var G=-1,le=function te(){for(;++G<D.length;)if(i.call(D,G))return te.value=D[G],te.done=!1,te;return te.value=void 0,te.done=!0,te};return le.next=le}}return{next:Me}}function Me(){return{value:void 0,done:!0}}return x.prototype=C,s(T,"constructor",{value:C,configurable:!0}),s(C,"constructor",{value:x,configurable:!0}),x.displayName=g(C,h,"GeneratorFunction"),t.isGeneratorFunction=function(D){var j=typeof D=="function"&&D.constructor;return!!j&&(j===x||(j.displayName||j.name)==="GeneratorFunction")},t.mark=function(D){return Object.setPrototypeOf?Object.setPrototypeOf(D,C):(D.__proto__=C,g(D,h,"GeneratorFunction")),D.prototype=Object.create(T),D},t.awrap=function(D){return{__await:D}},k(O.prototype),g(O.prototype,f,function(){return this}),t.AsyncIterator=O,t.async=function(D,j,G,le,te){te===void 0&&(te=Promise);var oe=new O(v(D,j,G,le),te);return t.isGeneratorFunction(j)?oe:oe.next().then(function(ee){return ee.done?ee.value:oe.next()})},k(T),g(T,h,"Generator"),g(T,u,function(){return this}),g(T,"toString",function(){return"[object Generator]"}),t.keys=function(D){var j=Object(D),G=[];for(var le in j)G.push(le);return G.reverse(),function te(){for(;G.length;){var oe=G.pop();if(oe in j)return te.value=oe,te.done=!1,te}return te.done=!0,te}},t.values=Ce,pe.prototype={constructor:pe,reset:function(D){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(Q),!D)for(var j in this)j.charAt(0)==="t"&&i.call(this,j)&&!isNaN(+j.slice(1))&&(this[j]=void 0)},stop:function(){this.done=!0;var D=this.tryEntries[0].completion;if(D.type==="throw")throw D.arg;return this.rval},dispatchException:function(D){if(this.done)throw D;var j=this;function G(je,ke){return oe.type="throw",oe.arg=D,j.next=je,ke&&(j.method="next",j.arg=void 0),!!ke}for(var le=this.tryEntries.length-1;le>=0;--le){var te=this.tryEntries[le],oe=te.completion;if(te.tryLoc==="root")return G("end");if(te.tryLoc<=this.prev){var ee=i.call(te,"catchLoc"),ve=i.call(te,"finallyLoc");if(ee&&ve){if(this.prev<te.catchLoc)return G(te.catchLoc,!0);if(this.prev<te.finallyLoc)return G(te.finallyLoc)}else if(ee){if(this.prev<te.catchLoc)return G(te.catchLoc,!0)}else{if(!ve)throw new Error("try statement without catch or finally");if(this.prev<te.finallyLoc)return G(te.finallyLoc)}}}},abrupt:function(D,j){for(var G=this.tryEntries.length-1;G>=0;--G){var le=this.tryEntries[G];if(le.tryLoc<=this.prev&&i.call(le,"finallyLoc")&&this.prev<le.finallyLoc){var te=le;break}}te&&(D==="break"||D==="continue")&&te.tryLoc<=j&&j<=te.finallyLoc&&(te=null);var oe=te?te.completion:{};return oe.type=D,oe.arg=j,te?(this.method="next",this.next=te.finallyLoc,S):this.complete(oe)},complete:function(D,j){if(D.type==="throw")throw D.arg;return D.type==="break"||D.type==="continue"?this.next=D.arg:D.type==="return"?(this.rval=this.arg=D.arg,this.method="return",this.next="end"):D.type==="normal"&&j&&(this.next=j),S},finish:function(D){for(var j=this.tryEntries.length-1;j>=0;--j){var G=this.tryEntries[j];if(G.finallyLoc===D)return this.complete(G.completion,G.afterLoc),Q(G),S}},catch:function(D){for(var j=this.tryEntries.length-1;j>=0;--j){var G=this.tryEntries[j];if(G.tryLoc===D){var le=G.completion;if(le.type==="throw"){var te=le.arg;Q(G)}return te}}throw new Error("illegal catch attempt")},delegateYield:function(D,j,G){return this.delegate={iterator:Ce(D),resultName:j,nextLoc:G},this.method==="next"&&(this.arg=void 0),S}},t}function ff(t,r,i,s,l,u,f){try{var h=t[u](f),g=h.value}catch(v){i(v);return}h.done?r(g):Promise.resolve(g).then(s,l)}function nr(t){return function(){var r=this,i=arguments;return new Promise(function(s,l){var u=t.apply(r,i);function f(g){ff(u,s,l,f,h,"next",g)}function h(g){ff(u,s,l,f,h,"throw",g)}f(void 0)})}}function Xd(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function e3(t,r){for(var i=0;i<r.length;i++){var s=r[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,Jd(s.key),s)}}function Yd(t,r,i){return r&&e3(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function go(t,r,i){return r=Jd(r),r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}function t3(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),r&&hi(t,r)}function di(t){return di=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},di(t)}function hi(t,r){return hi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(s,l){return s.__proto__=l,s},hi(t,r)}function Qd(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function mo(t,r,i){return Qd()?mo=Reflect.construct.bind():mo=function(l,u,f){var h=[null];h.push.apply(h,u);var g=Function.bind.apply(l,h),v=new g;return f&&hi(v,f.prototype),v},mo.apply(null,arguments)}function n3(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function xa(t){var r=typeof Map=="function"?new Map:void 0;return xa=function(s){if(s===null||!n3(s))return s;if(typeof s!="function")throw new TypeError("Super expression must either be null or a function");if(typeof r<"u"){if(r.has(s))return r.get(s);r.set(s,l)}function l(){return mo(s,arguments,di(this).constructor)}return l.prototype=Object.create(s.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),hi(l,s)},xa(t)}function vo(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function r3(t,r){if(r&&(typeof r=="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return vo(t)}function i3(t){var r=Qd();return function(){var s=di(t),l;if(r){var u=di(this).constructor;l=Reflect.construct(s,arguments,u)}else l=s.apply(this,arguments);return r3(this,l)}}function o3(t,r){if(typeof t!="object"||t===null)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var s=i.call(t,r);if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}function Jd(t){var r=o3(t,"string");return typeof r=="symbol"?r:String(r)}var e0=typeof global<"u"&&{}.toString.call(global)==="[object global]";function df(t,r){return t.indexOf(r.toLowerCase())===0?t:"".concat(r.toLowerCase()).concat(t.substr(0,1).toUpperCase()).concat(t.substr(1))}function s3(t){return!!(t&&t.nodeType===1&&"nodeName"in t&&t.ownerDocument&&t.ownerDocument.defaultView)}function a3(t){return!isNaN(parseFloat(t))&&isFinite(t)&&Math.floor(t)==t}function sr(t){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(t)}function t0(t){var r=/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/;return r.test(t)}function l3(t){for(var r=(t||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),i=(r&&r[1]||"").replace("player.",""),s=[".videoji.hk",".vimeo.work",".videoji.cn"],l=0,u=s;l<u.length;l++){var f=u[l];if(i.endsWith(f))return i}return"vimeo.com"}function n0(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.id,i=t.url,s=r||i;if(!s)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(a3(s))return"https://vimeo.com/".concat(s);if(sr(s))return s.replace("http:","https:");throw r?new TypeError("“".concat(r,"” is not a valid video id.")):new TypeError("“".concat(s,"” is not a vimeo.com url."))}var hf=function(r,i,s){var l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"addEventListener",u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"removeEventListener",f=typeof i=="string"?[i]:i;return f.forEach(function(h){r[l](h,s)}),{cancel:function(){return f.forEach(function(g){return r[u](g,s)})}}},u3=typeof Array.prototype.indexOf<"u",c3=typeof window<"u"&&typeof window.postMessage<"u";if(!e0&&(!u3||!c3))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var Rr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function f3(t,r){return r={exports:{}},t(r,r.exports),r.exports}/*!
247
251
  * weakmap-polyfill v2.0.4 - ECMAScript6 WeakMap polyfill
248
252
  * https://github.com/polygonplanet/weakmap-polyfill
249
253
  * Copyright (c) 2015-2021 polygonplanet <polygon.planet.aqua@gmail.com>
250
254
  * @license MIT
251
- */(function(n){if(n.WeakMap)return;var r=Object.prototype.hasOwnProperty,i=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{value:1}).x===1}catch{}}(),s=function(u,f,d){i?Object.defineProperty(u,f,{configurable:!0,writable:!0,value:d}):u[f]=d};n.WeakMap=function(){function u(){if(this===void 0)throw new TypeError("Constructor WeakMap requires 'new'");if(s(this,"_id",d("_WeakMap")),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}s(u.prototype,"delete",function(v){if(f(this,"delete"),!l(v))return!1;var C=v[this._id];return C&&C[0]===v?(delete v[this._id],!0):!1}),s(u.prototype,"get",function(v){if(f(this,"get"),!!l(v)){var C=v[this._id];if(C&&C[0]===v)return C[1]}}),s(u.prototype,"has",function(v){if(f(this,"has"),!l(v))return!1;var C=v[this._id];return!!(C&&C[0]===v)}),s(u.prototype,"set",function(v,C){if(f(this,"set"),!l(v))throw new TypeError("Invalid value used as weak map key");var S=v[this._id];return S&&S[0]===v?(S[1]=C,this):(s(v,this._id,[v,C]),this)});function f(v,C){if(!l(v)||!r.call(v,"_id"))throw new TypeError(C+" method called on incompatible receiver "+typeof v)}function d(v){return v+"_"+g()+"."+g()}function g(){return Math.random().toString().substring(2)}return s(u,"_polyfill",!0),u}();function l(u){return Object(u)===u}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:Rr);var Xt=Jb(function(n){/*! Native Promise Only
255
+ */(function(t){if(t.WeakMap)return;var r=Object.prototype.hasOwnProperty,i=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{value:1}).x===1}catch{}}(),s=function(u,f,h){i?Object.defineProperty(u,f,{configurable:!0,writable:!0,value:h}):u[f]=h};t.WeakMap=function(){function u(){if(this===void 0)throw new TypeError("Constructor WeakMap requires 'new'");if(s(this,"_id",h("_WeakMap")),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}s(u.prototype,"delete",function(v){if(f(this,"delete"),!l(v))return!1;var _=v[this._id];return _&&_[0]===v?(delete v[this._id],!0):!1}),s(u.prototype,"get",function(v){if(f(this,"get"),!!l(v)){var _=v[this._id];if(_&&_[0]===v)return _[1]}}),s(u.prototype,"has",function(v){if(f(this,"has"),!l(v))return!1;var _=v[this._id];return!!(_&&_[0]===v)}),s(u.prototype,"set",function(v,_){if(f(this,"set"),!l(v))throw new TypeError("Invalid value used as weak map key");var S=v[this._id];return S&&S[0]===v?(S[1]=_,this):(s(v,this._id,[v,_]),this)});function f(v,_){if(!l(v)||!r.call(v,"_id"))throw new TypeError(_+" method called on incompatible receiver "+typeof v)}function h(v){return v+"_"+g()+"."+g()}function g(){return Math.random().toString().substring(2)}return s(u,"_polyfill",!0),u}();function l(u){return Object(u)===u}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:Rr);var Yt=f3(function(t){/*! Native Promise Only
252
256
  v0.8.1 (c) Kyle Simpson
253
257
  MIT License: http://getify.mit-license.org
254
- */(function(i,s,l){s[i]=s[i]||l(),n.exports&&(n.exports=s[i])})("Promise",Rr,function(){var i,s,l,u=Object.prototype.toString,f=typeof setImmediate<"u"?function(k){return setImmediate(k)}:setTimeout;try{Object.defineProperty({},"x",{}),i=function(k,I,P,U){return Object.defineProperty(k,I,{value:P,writable:!0,configurable:U!==!1})}}catch{i=function(I,P,U){return I[P]=U,I}}l=function(){var k,I,P;function U(N,Q){this.fn=N,this.self=Q,this.next=void 0}return{add:function(Q,pe){P=new U(Q,pe),I?I.next=P:k=P,I=P,P=void 0},drain:function(){var Q=k;for(k=I=s=void 0;Q;)Q.fn.call(Q.self),Q=Q.next}}}();function d(T,k){l.add(T,k),s||(s=f(l.drain))}function g(T){var k,I=typeof T;return T!=null&&(I=="object"||I=="function")&&(k=T.then),typeof k=="function"?k:!1}function v(){for(var T=0;T<this.chain.length;T++)C(this,this.state===1?this.chain[T].success:this.chain[T].failure,this.chain[T]);this.chain.length=0}function C(T,k,I){var P,U;try{k===!1?I.reject(T.msg):(k===!0?P=T.msg:P=k.call(void 0,T.msg),P===I.promise?I.reject(TypeError("Promise-chain cycle")):(U=g(P))?U.call(P,I.resolve,I.reject):I.resolve(P))}catch(N){I.reject(N)}}function S(T){var k,I=this;if(!I.triggered){I.triggered=!0,I.def&&(I=I.def);try{(k=g(T))?d(function(){var P=new _(I);try{k.call(T,function(){S.apply(P,arguments)},function(){E.apply(P,arguments)})}catch(U){E.call(P,U)}}):(I.msg=T,I.state=1,I.chain.length>0&&d(v,I))}catch(P){E.call(new _(I),P)}}}function E(T){var k=this;k.triggered||(k.triggered=!0,k.def&&(k=k.def),k.msg=T,k.state=2,k.chain.length>0&&d(v,k))}function w(T,k,I,P){for(var U=0;U<k.length;U++)(function(Q){T.resolve(k[Q]).then(function(Ce){I(Q,Ce)},P)})(U)}function _(T){this.def=T,this.triggered=!1}function O(T){this.promise=T,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function R(T){if(typeof T!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var k=new O(this);this.then=function(P,U){var N={success:typeof P=="function"?P:!0,failure:typeof U=="function"?U:!1};return N.promise=new this.constructor(function(pe,Ce){if(typeof pe!="function"||typeof Ce!="function")throw TypeError("Not a function");N.resolve=pe,N.reject=Ce}),k.chain.push(N),k.state!==0&&d(v,k),N.promise},this.catch=function(P){return this.then(void 0,P)};try{T.call(void 0,function(P){S.call(k,P)},function(P){E.call(k,P)})}catch(I){E.call(k,I)}}var M=i({},"constructor",R,!1);return R.prototype=M,i(M,"__NPO__",0,!1),i(R,"resolve",function(k){var I=this;return k&&typeof k=="object"&&k.__NPO__===1?k:new I(function(U,N){if(typeof U!="function"||typeof N!="function")throw TypeError("Not a function");U(k)})}),i(R,"reject",function(k){return new this(function(P,U){if(typeof P!="function"||typeof U!="function")throw TypeError("Not a function");U(k)})}),i(R,"all",function(k){var I=this;return u.call(k)!="[object Array]"?I.reject(TypeError("Not an array")):k.length===0?I.resolve([]):new I(function(U,N){if(typeof U!="function"||typeof N!="function")throw TypeError("Not a function");var Q=k.length,pe=Array(Q),Ce=0;w(I,k,function(D,z){pe[D]=z,++Ce===Q&&U(pe)},N)})}),i(R,"race",function(k){var I=this;return u.call(k)!="[object Array]"?I.reject(TypeError("Not an array")):new I(function(U,N){if(typeof U!="function"||typeof N!="function")throw TypeError("Not a function");w(I,k,function(pe,Ce){U(Ce)},N)})}),R})}),Sn=new WeakMap;function ii(n,r,i){var s=Sn.get(n.element)||{};r in s||(s[r]=[]),s[r].push(i),Sn.set(n.element,s)}function wo(n,r){var i=Sn.get(n.element)||{};return i[r]||[]}function xo(n,r,i){var s=Sn.get(n.element)||{};if(!s[r])return!0;if(!i)return s[r]=[],Sn.set(n.element,s),!0;var l=s[r].indexOf(i);return l!==-1&&s[r].splice(l,1),Sn.set(n.element,s),s[r]&&s[r].length===0}function ew(n,r){var i=wo(n,r);if(i.length<1)return!1;var s=i.shift();return xo(n,r,s),s}function tw(n,r){var i=Sn.get(n);Sn.set(r,i),Sn.delete(n)}function Lo(n){if(typeof n=="string")try{n=JSON.parse(n)}catch(r){return console.warn(r),{}}return n}function tr(n,r,i){if(!(!n.element.contentWindow||!n.element.contentWindow.postMessage)){var s={method:r};i!==void 0&&(s.value=i);var l=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));l>=8&&l<10&&(s=JSON.stringify(s)),n.element.contentWindow.postMessage(s,n.origin)}}function nw(n,r){r=Lo(r);var i=[],s;if(r.event){if(r.event==="error"){var l=wo(n,r.data.method);l.forEach(function(f){var d=new Error(r.data.message);d.name=r.data.name,f.reject(d),xo(n,r.data.method,f)})}i=wo(n,"event:".concat(r.event)),s=r.data}else if(r.method){var u=ew(n,r.method);u&&(i.push(u),s=r.value)}i.forEach(function(f){try{if(typeof f=="function"){f.call(n,s);return}f.resolve(s)}catch{}})}var rw=["airplay","audio_tracks","audiotrack","autopause","autoplay","background","byline","cc","chapter_id","chapters","chromecast","color","colors","controls","dnt","end_time","fullscreen","height","id","initial_quality","interactive_params","keyboard","loop","maxheight","max_quality","maxwidth","min_quality","muted","play_button_position","playsinline","portrait","progress_bar","quality","quality_selector","responsive","skipping_forward","speed","start_time","texttrack","title","transcript","transparent","unmute_button","url","vimeo_logo","volume","watch_full_video","width"];function Jd(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return rw.reduce(function(i,s){var l=n.getAttribute("data-vimeo-".concat(s));return(l||l==="")&&(i[s]=l===""?1:l),i},r)}function Pa(n,r){var i=n.html;if(!r)throw new TypeError("An element must be provided");if(r.getAttribute("data-vimeo-initialized")!==null)return r.querySelector("iframe");var s=document.createElement("div");return s.innerHTML=i,r.appendChild(s.firstChild),r.setAttribute("data-vimeo-initialized","true"),r.querySelector("iframe")}function e0(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0;return new Promise(function(s,l){if(!sr(n))throw new TypeError("“".concat(n,"” is not a vimeo.com url."));var u=Xb(n),f="https://".concat(u,"/api/oembed.json?url=").concat(encodeURIComponent(n));for(var d in r)r.hasOwnProperty(d)&&(f+="&".concat(d,"=").concat(encodeURIComponent(r[d])));var g="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;g.open("GET",f,!0),g.onload=function(){if(g.status===404){l(new Error("“".concat(n,"” was not found.")));return}if(g.status===403){l(new Error("“".concat(n,"” is not embeddable.")));return}try{var v=JSON.parse(g.responseText);if(v.domain_status_code===403){Pa(v,i),l(new Error("“".concat(n,"” is not embeddable.")));return}s(v)}catch(C){l(C)}},g.onerror=function(){var v=g.status?" (".concat(g.status,")"):"";l(new Error("There was an error fetching the embed code from Vimeo".concat(v,".")))},g.send()})}function iw(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document,r=[].slice.call(n.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),i=function(l){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(l))};r.forEach(function(s){try{if(s.getAttribute("data-vimeo-defer")!==null)return;var l=Jd(s),u=Qd(l);e0(u,l,s).then(function(f){return Pa(f,s)}).catch(i)}catch(f){i(f)}})}function ow(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoPlayerResizeEmbeds_){window.VimeoPlayerResizeEmbeds_=!0;var r=function(s){if(sr(s.origin)&&!(!s.data||s.data.event!=="spacechange")){for(var l=n.querySelectorAll("iframe"),u=0;u<l.length;u++)if(l[u].contentWindow===s.source){var f=l[u].parentElement;f.style.paddingBottom="".concat(s.data.data[0].bottom,"px");break}}};window.addEventListener("message",r)}}function sw(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoSeoMetadataAppended){window.VimeoSeoMetadataAppended=!0;var r=function(s){if(sr(s.origin)){var l=Lo(s.data);if(!(!l||l.event!=="ready"))for(var u=n.querySelectorAll("iframe"),f=0;f<u.length;f++){var d=u[f],g=d.contentWindow===s.source;if(Yd(d.src)&&g){var v=new Wa(d);v.callMethod("appendVideoMetadata",window.location.href)}}}};window.addEventListener("message",r)}}function aw(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoCheckedUrlTimeParam){window.VimeoCheckedUrlTimeParam=!0;var r=function(l){"console"in window&&console.error&&console.error("There was an error getting video Id: ".concat(l))},i=function(l){if(sr(l.origin)){var u=Lo(l.data);if(!(!u||u.event!=="ready"))for(var f=n.querySelectorAll("iframe"),d=function(){var C=f[g],S=C.contentWindow===l.source;if(Yd(C.src)&&S){var E=new Wa(C);E.getVideoId().then(function(w){var _=new RegExp("[?&]vimeo_t_".concat(w,"=([^&#]*)")).exec(window.location.href);if(_&&_[1]){var O=decodeURI(_[1]);E.setCurrentTime(O)}}).catch(r)}},g=0;g<f.length;g++)d()}};window.addEventListener("message",i)}}function lw(){var n=function(){for(var s,l=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],u=0,f=l.length,d={};u<f;u++)if(s=l[u],s&&s[1]in document){for(u=0;u<s.length;u++)d[l[0][u]]=s[u];return d}return!1}(),r={fullscreenchange:n.fullscreenchange,fullscreenerror:n.fullscreenerror},i={request:function(l){return new Promise(function(u,f){var d=function v(){i.off("fullscreenchange",v),u()};i.on("fullscreenchange",d),l=l||document.documentElement;var g=l[n.requestFullscreen]();g instanceof Promise&&g.then(d).catch(f)})},exit:function(){return new Promise(function(l,u){if(!i.isFullscreen){l();return}var f=function g(){i.off("fullscreenchange",g),l()};i.on("fullscreenchange",f);var d=document[n.exitFullscreen]();d instanceof Promise&&d.then(f).catch(u)})},on:function(l,u){var f=r[l];f&&document.addEventListener(f,u)},off:function(l,u){var f=r[l];f&&document.removeEventListener(f,u)}};return Object.defineProperties(i,{isFullscreen:{get:function(){return!!document[n.fullscreenElement]}},element:{enumerable:!0,get:function(){return document[n.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return!!document[n.fullscreenEnabled]}}}),i}var uw={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1},cw=function(n){Zb(i,n);var r=Ub(i);function i(s,l){var u,f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},d=arguments.length>3?arguments[3]:void 0;return Ud(this,i),u=r.call(this),po(mo(u),"logger",void 0),po(mo(u),"speedAdjustment",0),po(mo(u),"adjustSpeed",function(){var g=nr(Et().mark(function v(C,S){var E;return Et().wrap(function(_){for(;;)switch(_.prev=_.next){case 0:if(u.speedAdjustment!==S){_.next=2;break}return _.abrupt("return");case 2:return _.next=4,C.getPlaybackRate();case 4:return _.t0=_.sent,_.t1=u.speedAdjustment,_.t2=_.t0-_.t1,_.t3=S,E=_.t2+_.t3,u.log("New playbackRate: ".concat(E)),_.next=12,C.setPlaybackRate(E);case 12:u.speedAdjustment=S;case 13:case"end":return _.stop()}},v)}));return function(v,C){return g.apply(this,arguments)}}()),u.logger=d,u.init(l,s,lf(lf({},uw),f)),u}return qd(i,[{key:"disconnect",value:function(){this.dispatchEvent(new Event("disconnect"))}},{key:"init",value:function(){var s=nr(Et().mark(function u(f,d,g){var v=this,C,S,E;return Et().wrap(function(_){for(;;)switch(_.prev=_.next){case 0:return _.next=2,this.waitForTOReadyState(f,"open");case 2:if(g.role!=="viewer"){_.next=10;break}return _.next=5,this.updatePlayer(f,d,g);case 5:C=ff(f,"change",function(){return v.updatePlayer(f,d,g)}),S=this.maintainPlaybackPosition(f,d,g),this.addEventListener("disconnect",function(){S.cancel(),C.cancel()}),_.next=14;break;case 10:return _.next=12,this.updateTimingObject(f,d);case 12:E=ff(d,["seeked","play","pause","ratechange"],function(){return v.updateTimingObject(f,d)},"on","off"),this.addEventListener("disconnect",function(){return E.cancel()});case 14:case"end":return _.stop()}},u,this)}));function l(u,f,d){return s.apply(this,arguments)}return l}()},{key:"updateTimingObject",value:function(){var s=nr(Et().mark(function u(f,d){return Et().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.t0=f,v.next=3,d.getCurrentTime();case 3:return v.t1=v.sent,v.next=6,d.getPaused();case 6:if(!v.sent){v.next=10;break}v.t2=0,v.next=13;break;case 10:return v.next=12,d.getPlaybackRate();case 12:v.t2=v.sent;case 13:v.t3=v.t2,v.t4={position:v.t1,velocity:v.t3},v.t0.update.call(v.t0,v.t4);case 16:case"end":return v.stop()}},u)}));function l(u,f){return s.apply(this,arguments)}return l}()},{key:"updatePlayer",value:function(){var s=nr(Et().mark(function u(f,d,g){var v,C,S;return Et().wrap(function(w){for(;;)switch(w.prev=w.next){case 0:if(v=f.query(),C=v.position,S=v.velocity,typeof C=="number"&&d.setCurrentTime(C),typeof S!="number"){w.next=25;break}if(S!==0){w.next=11;break}return w.next=6,d.getPaused();case 6:if(w.t0=w.sent,w.t0!==!1){w.next=9;break}d.pause();case 9:w.next=25;break;case 11:if(!(S>0)){w.next=25;break}return w.next=14,d.getPaused();case 14:if(w.t1=w.sent,w.t1!==!0){w.next=19;break}return w.next=18,d.play().catch(function(){var _=nr(Et().mark(function O(R){return Et().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:if(!(R.name==="NotAllowedError"&&g.autoPlayMuted)){T.next=5;break}return T.next=3,d.setMuted(!0);case 3:return T.next=5,d.play().catch(function(k){return console.error("Couldn't play the video from TimingSrcConnector. Error:",k)});case 5:case"end":return T.stop()}},O)}));return function(O){return _.apply(this,arguments)}}());case 18:this.updatePlayer(f,d,g);case 19:return w.next=21,d.getPlaybackRate();case 21:if(w.t2=w.sent,w.t3=S,w.t2===w.t3){w.next=25;break}d.setPlaybackRate(S);case 25:case"end":return w.stop()}},u,this)}));function l(u,f,d){return s.apply(this,arguments)}return l}()},{key:"maintainPlaybackPosition",value:function(l,u,f){var d=this,g=f.allowedDrift,v=f.maxAllowedDrift,C=f.minCheckInterval,S=f.maxRateAdjustment,E=f.maxTimeToCatchUp,w=Math.min(E,Math.max(C,v))*1e3,_=function(){var R=nr(Et().mark(function M(){var T,k,I,P,U;return Et().wrap(function(Q){for(;;)switch(Q.prev=Q.next){case 0:if(Q.t0=l.query().velocity===0,Q.t0){Q.next=6;break}return Q.next=4,u.getPaused();case 4:Q.t1=Q.sent,Q.t0=Q.t1===!0;case 6:if(!Q.t0){Q.next=8;break}return Q.abrupt("return");case 8:return Q.t2=l.query().position,Q.next=11,u.getCurrentTime();case 11:if(Q.t3=Q.sent,T=Q.t2-Q.t3,k=Math.abs(T),d.log("Drift: ".concat(T)),!(k>v)){Q.next=22;break}return Q.next=18,d.adjustSpeed(u,0);case 18:u.setCurrentTime(l.query().position),d.log("Resync by currentTime"),Q.next=29;break;case 22:if(!(k>g)){Q.next=29;break}return I=k/E,P=S,U=I<P?(P-I)/2:P,Q.next=28,d.adjustSpeed(u,U*Math.sign(T));case 28:d.log("Resync by playbackRate");case 29:case"end":return Q.stop()}},M)}));return function(){return R.apply(this,arguments)}}(),O=setInterval(function(){return _()},w);return{cancel:function(){return clearInterval(O)}}}},{key:"log",value:function(l){var u;(u=this.logger)===null||u===void 0||u.call(this,"TimingSrcConnector: ".concat(l))}},{key:"waitForTOReadyState",value:function(l,u){return new Promise(function(f){var d=function g(){l.readyState===u?f():l.addEventListener("readystatechange",g,{once:!0})};d()})}}]),i}(ba(EventTarget)),Er=new WeakMap,ua=new WeakMap,Lt={},Wa=function(){function n(r){var i=this,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(Ud(this,n),window.jQuery&&r instanceof jQuery&&(r.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),r=r[0]),typeof document<"u"&&typeof r=="string"&&(r=document.getElementById(r)),!Gb(r))throw new TypeError("You must pass either a valid element or a valid id.");if(r.nodeName!=="IFRAME"){var l=r.querySelector("iframe");l&&(r=l)}if(r.nodeName==="IFRAME"&&!sr(r.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(Er.has(r))return Er.get(r);this._window=r.ownerDocument.defaultView,this.element=r,this.origin="*";var u=new Xt(function(d,g){if(i._onMessage=function(S){if(!(!sr(S.origin)||i.element.contentWindow!==S.source)){i.origin==="*"&&(i.origin=S.origin);var E=Lo(S.data),w=E&&E.event==="error",_=w&&E.data&&E.data.method==="ready";if(_){var O=new Error(E.data.message);O.name=E.data.name,g(O);return}var R=E&&E.event==="ready",M=E&&E.method==="ping";if(R||M){i.element.setAttribute("data-ready","true"),d();return}nw(i,E)}},i._window.addEventListener("message",i._onMessage),i.element.nodeName!=="IFRAME"){var v=Jd(r,s),C=Qd(v);e0(C,v,r).then(function(S){var E=Pa(S,r);return i.element=E,i._originalElement=r,tw(r,E),Er.set(i.element,i),S}).catch(g)}});if(ua.set(this,u),Er.set(this.element,this),this.element.nodeName==="IFRAME"&&tr(this,"ping"),Lt.isEnabled){var f=function(){return Lt.exit()};this.fullscreenchangeHandler=function(){Lt.isFullscreen?ii(i,"event:exitFullscreen",f):xo(i,"event:exitFullscreen",f),i.ready().then(function(){tr(i,"fullscreenchange",Lt.isFullscreen)})},Lt.on("fullscreenchange",this.fullscreenchangeHandler)}return this}return qd(n,[{key:"callMethod",value:function(i){for(var s=this,l=arguments.length,u=new Array(l>1?l-1:0),f=1;f<l;f++)u[f-1]=arguments[f];if(i==null)throw new TypeError("You must pass a method name.");return new Xt(function(d,g){return s.ready().then(function(){ii(s,i,{resolve:d,reject:g}),tr(s,i,u)}).catch(g)})}},{key:"get",value:function(i){var s=this;return new Xt(function(l,u){return i=cf(i,"get"),s.ready().then(function(){ii(s,i,{resolve:l,reject:u}),tr(s,i)}).catch(u)})}},{key:"set",value:function(i,s){var l=this;return new Xt(function(u,f){if(i=cf(i,"set"),s==null)throw new TypeError("There must be a value to set.");return l.ready().then(function(){ii(l,i,{resolve:u,reject:f}),tr(l,i,s)}).catch(f)})}},{key:"on",value:function(i,s){if(!i)throw new TypeError("You must pass an event name.");if(!s)throw new TypeError("You must pass a callback function.");if(typeof s!="function")throw new TypeError("The callback must be a function.");var l=wo(this,"event:".concat(i));l.length===0&&this.callMethod("addEventListener",i).catch(function(){}),ii(this,"event:".concat(i),s)}},{key:"off",value:function(i,s){if(!i)throw new TypeError("You must pass an event name.");if(s&&typeof s!="function")throw new TypeError("The callback must be a function.");var l=xo(this,"event:".concat(i),s);l&&this.callMethod("removeEventListener",i).catch(function(u){})}},{key:"loadVideo",value:function(i){return this.callMethod("loadVideo",i)}},{key:"ready",value:function(){var i=ua.get(this)||new Xt(function(s,l){l(new Error("Unknown player. Probably unloaded."))});return Xt.resolve(i)}},{key:"addCuePoint",value:function(i){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.callMethod("addCuePoint",{time:i,data:s})}},{key:"removeCuePoint",value:function(i){return this.callMethod("removeCuePoint",i)}},{key:"enableTextTrack",value:function(i,s){if(!i)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:i,kind:s})}},{key:"disableTextTrack",value:function(){return this.callMethod("disableTextTrack")}},{key:"pause",value:function(){return this.callMethod("pause")}},{key:"play",value:function(){return this.callMethod("play")}},{key:"requestFullscreen",value:function(){return Lt.isEnabled?Lt.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return Lt.isEnabled?Lt.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return Lt.isEnabled?Xt.resolve(Lt.isFullscreen):this.get("fullscreen")}},{key:"requestPictureInPicture",value:function(){return this.callMethod("requestPictureInPicture")}},{key:"exitPictureInPicture",value:function(){return this.callMethod("exitPictureInPicture")}},{key:"getPictureInPicture",value:function(){return this.get("pictureInPicture")}},{key:"remotePlaybackPrompt",value:function(){return this.callMethod("remotePlaybackPrompt")}},{key:"unload",value:function(){return this.callMethod("unload")}},{key:"destroy",value:function(){var i=this;return new Xt(function(s){if(ua.delete(i),Er.delete(i.element),i._originalElement&&(Er.delete(i._originalElement),i._originalElement.removeAttribute("data-vimeo-initialized")),i.element&&i.element.nodeName==="IFRAME"&&i.element.parentNode&&(i.element.parentNode.parentNode&&i._originalElement&&i._originalElement!==i.element.parentNode?i.element.parentNode.parentNode.removeChild(i.element.parentNode):i.element.parentNode.removeChild(i.element)),i.element&&i.element.nodeName==="DIV"&&i.element.parentNode){i.element.removeAttribute("data-vimeo-initialized");var l=i.element.querySelector("iframe");l&&l.parentNode&&(l.parentNode.parentNode&&i._originalElement&&i._originalElement!==l.parentNode?l.parentNode.parentNode.removeChild(l.parentNode):l.parentNode.removeChild(l))}i._window.removeEventListener("message",i._onMessage),Lt.isEnabled&&Lt.off("fullscreenchange",i.fullscreenchangeHandler),s()})}},{key:"getAutopause",value:function(){return this.get("autopause")}},{key:"setAutopause",value:function(i){return this.set("autopause",i)}},{key:"getBuffered",value:function(){return this.get("buffered")}},{key:"getCameraProps",value:function(){return this.get("cameraProps")}},{key:"setCameraProps",value:function(i){return this.set("cameraProps",i)}},{key:"getChapters",value:function(){return this.get("chapters")}},{key:"getCurrentChapter",value:function(){return this.get("currentChapter")}},{key:"getColor",value:function(){return this.get("color")}},{key:"getColors",value:function(){return Xt.all([this.get("colorOne"),this.get("colorTwo"),this.get("colorThree"),this.get("colorFour")])}},{key:"setColor",value:function(i){return this.set("color",i)}},{key:"setColors",value:function(i){if(!Array.isArray(i))return new Xt(function(u,f){return f(new TypeError("Argument must be an array."))});var s=new Xt(function(u){return u(null)}),l=[i[0]?this.set("colorOne",i[0]):s,i[1]?this.set("colorTwo",i[1]):s,i[2]?this.set("colorThree",i[2]):s,i[3]?this.set("colorFour",i[3]):s];return Xt.all(l)}},{key:"getCuePoints",value:function(){return this.get("cuePoints")}},{key:"getCurrentTime",value:function(){return this.get("currentTime")}},{key:"setCurrentTime",value:function(i){return this.set("currentTime",i)}},{key:"getDuration",value:function(){return this.get("duration")}},{key:"getEnded",value:function(){return this.get("ended")}},{key:"getLoop",value:function(){return this.get("loop")}},{key:"setLoop",value:function(i){return this.set("loop",i)}},{key:"setMuted",value:function(i){return this.set("muted",i)}},{key:"getMuted",value:function(){return this.get("muted")}},{key:"getPaused",value:function(){return this.get("paused")}},{key:"getPlaybackRate",value:function(){return this.get("playbackRate")}},{key:"setPlaybackRate",value:function(i){return this.set("playbackRate",i)}},{key:"getPlayed",value:function(){return this.get("played")}},{key:"getQualities",value:function(){return this.get("qualities")}},{key:"getQuality",value:function(){return this.get("quality")}},{key:"setQuality",value:function(i){return this.set("quality",i)}},{key:"getRemotePlaybackAvailability",value:function(){return this.get("remotePlaybackAvailability")}},{key:"getRemotePlaybackState",value:function(){return this.get("remotePlaybackState")}},{key:"getSeekable",value:function(){return this.get("seekable")}},{key:"getSeeking",value:function(){return this.get("seeking")}},{key:"getTextTracks",value:function(){return this.get("textTracks")}},{key:"getVideoEmbedCode",value:function(){return this.get("videoEmbedCode")}},{key:"getVideoId",value:function(){return this.get("videoId")}},{key:"getVideoTitle",value:function(){return this.get("videoTitle")}},{key:"getVideoWidth",value:function(){return this.get("videoWidth")}},{key:"getVideoHeight",value:function(){return this.get("videoHeight")}},{key:"getVideoUrl",value:function(){return this.get("videoUrl")}},{key:"getVolume",value:function(){return this.get("volume")}},{key:"setVolume",value:function(i){return this.set("volume",i)}},{key:"setTimingSrc",value:function(){var r=nr(Et().mark(function s(l,u){var f=this,d;return Et().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:if(l){v.next=2;break}throw new TypeError("A Timing Object must be provided.");case 2:return v.next=4,this.ready();case 4:return d=new cw(this,l,u),tr(this,"notifyTimingObjectConnect"),d.addEventListener("disconnect",function(){return tr(f,"notifyTimingObjectDisconnect")}),v.abrupt("return",d);case 8:case"end":return v.stop()}},s,this)}));function i(s,l){return r.apply(this,arguments)}return i}()}]),n}();Xd||(Lt=lw(),iw(),ow(),sw(),aw());const fw=(n,r,i,s)=>({id:parseInt(n,10),width:typeof r=="number"?r:void 0,height:typeof i=="number"?i:void 0,...s}),dw=async(n,r)=>{if(n)try{const i=[];typeof r.loop=="boolean"&&i.push(n.getLoop().then(s=>{if(s!==r.loop)return n.setLoop(r.loop)})),r.color&&i.push(n.getColor().then(s=>{if(s!==r.color)return n.setColor(r.color)})),typeof r.muted=="boolean"&&i.push(n.getMuted().then(s=>{if(s!==r.muted)return n.setMuted(r.muted)})),await Promise.all(i)}catch(i){console.warn("Error enforcing player config:",i)}},hw=n=>({ready:n.onReady,play:n.onPlay,pause:n.onPlayerPause,ended:n.onEnd,timeupdate:n.onTimeUpdate?r=>{var i;(i=n.onTimeUpdate)==null||i.call(n,r.seconds)}:void 0,progress:n.onProgress?r=>{var i;(i=n.onProgress)==null||i.call(n,r.percent)}:void 0,seeking:n.onSeeking,seeked:n.onSeeked,error:n.onPlayerError}),pw=n=>{var i,s;const r=_e();return h.useMemo(()=>{var u,f;return{...(u=r.__hd__.vimeo)==null?void 0:u.playerSettings,...n,color:(n==null?void 0:n.color)||((f=r.__hd__.vimeo)==null?void 0:f.defaultAccentColor)||"#00adef"}},[(i=r.__hd__.vimeo)==null?void 0:i.playerSettings,(s=r.__hd__.vimeo)==null?void 0:s.defaultAccentColor,n])},gw=(n,r,i,s,l)=>{const u=h.useRef(null);return h.useEffect(()=>n.current?((async()=>{try{const d=fw(r,i,s,l);n.current&&(u.current=new Wa(n.current,d),setTimeout(()=>{dw(u.current,l)},100))}catch(d){console.error("Failed to initialize Vimeo player:",d)}})(),()=>{u.current&&(u.current.destroy(),u.current=null)}):void 0,[r,i,s]),u},mw=(n,r)=>{h.useEffect(()=>{if(!n.current||!r)return;const i=n.current,s=hw(r);return Object.entries(s).forEach(([l,u])=>{u&&i.on(l,u)}),()=>{n.current&&Object.entries(s).forEach(([l,u])=>{if(u)try{n.current.off(l,u)}catch{}})}},[n,r])},vw=ae.div`
258
+ */(function(i,s,l){s[i]=s[i]||l(),t.exports&&(t.exports=s[i])})("Promise",Rr,function(){var i,s,l,u=Object.prototype.toString,f=typeof setImmediate<"u"?function(k){return setImmediate(k)}:setTimeout;try{Object.defineProperty({},"x",{}),i=function(k,O,M,N){return Object.defineProperty(k,O,{value:M,writable:!0,configurable:N!==!1})}}catch{i=function(O,M,N){return O[M]=N,O}}l=function(){var k,O,M;function N(V,Q){this.fn=V,this.self=Q,this.next=void 0}return{add:function(Q,pe){M=new N(Q,pe),O?O.next=M:k=M,O=M,M=void 0},drain:function(){var Q=k;for(k=O=s=void 0;Q;)Q.fn.call(Q.self),Q=Q.next}}}();function h(T,k){l.add(T,k),s||(s=f(l.drain))}function g(T){var k,O=typeof T;return T!=null&&(O=="object"||O=="function")&&(k=T.then),typeof k=="function"?k:!1}function v(){for(var T=0;T<this.chain.length;T++)_(this,this.state===1?this.chain[T].success:this.chain[T].failure,this.chain[T]);this.chain.length=0}function _(T,k,O){var M,N;try{k===!1?O.reject(T.msg):(k===!0?M=T.msg:M=k.call(void 0,T.msg),M===O.promise?O.reject(TypeError("Promise-chain cycle")):(N=g(M))?N.call(M,O.resolve,O.reject):O.resolve(M))}catch(V){O.reject(V)}}function S(T){var k,O=this;if(!O.triggered){O.triggered=!0,O.def&&(O=O.def);try{(k=g(T))?h(function(){var M=new C(O);try{k.call(T,function(){S.apply(M,arguments)},function(){E.apply(M,arguments)})}catch(N){E.call(M,N)}}):(O.msg=T,O.state=1,O.chain.length>0&&h(v,O))}catch(M){E.call(new C(O),M)}}}function E(T){var k=this;k.triggered||(k.triggered=!0,k.def&&(k=k.def),k.msg=T,k.state=2,k.chain.length>0&&h(v,k))}function x(T,k,O,M){for(var N=0;N<k.length;N++)(function(Q){T.resolve(k[Q]).then(function(Ce){O(Q,Ce)},M)})(N)}function C(T){this.def=T,this.triggered=!1}function F(T){this.promise=T,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function R(T){if(typeof T!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var k=new F(this);this.then=function(M,N){var V={success:typeof M=="function"?M:!0,failure:typeof N=="function"?N:!1};return V.promise=new this.constructor(function(pe,Ce){if(typeof pe!="function"||typeof Ce!="function")throw TypeError("Not a function");V.resolve=pe,V.reject=Ce}),k.chain.push(V),k.state!==0&&h(v,k),V.promise},this.catch=function(M){return this.then(void 0,M)};try{T.call(void 0,function(M){S.call(k,M)},function(M){E.call(k,M)})}catch(O){E.call(k,O)}}var I=i({},"constructor",R,!1);return R.prototype=I,i(I,"__NPO__",0,!1),i(R,"resolve",function(k){var O=this;return k&&typeof k=="object"&&k.__NPO__===1?k:new O(function(N,V){if(typeof N!="function"||typeof V!="function")throw TypeError("Not a function");N(k)})}),i(R,"reject",function(k){return new this(function(M,N){if(typeof M!="function"||typeof N!="function")throw TypeError("Not a function");N(k)})}),i(R,"all",function(k){var O=this;return u.call(k)!="[object Array]"?O.reject(TypeError("Not an array")):k.length===0?O.resolve([]):new O(function(N,V){if(typeof N!="function"||typeof V!="function")throw TypeError("Not a function");var Q=k.length,pe=Array(Q),Ce=0;x(O,k,function(D,j){pe[D]=j,++Ce===Q&&N(pe)},V)})}),i(R,"race",function(k){var O=this;return u.call(k)!="[object Array]"?O.reject(TypeError("Not an array")):new O(function(N,V){if(typeof N!="function"||typeof V!="function")throw TypeError("Not a function");x(O,k,function(pe,Ce){N(Ce)},V)})}),R})}),En=new WeakMap;function oi(t,r,i){var s=En.get(t.element)||{};r in s||(s[r]=[]),s[r].push(i),En.set(t.element,s)}function wo(t,r){var i=En.get(t.element)||{};return i[r]||[]}function _o(t,r,i){var s=En.get(t.element)||{};if(!s[r])return!0;if(!i)return s[r]=[],En.set(t.element,s),!0;var l=s[r].indexOf(i);return l!==-1&&s[r].splice(l,1),En.set(t.element,s),s[r]&&s[r].length===0}function d3(t,r){var i=wo(t,r);if(i.length<1)return!1;var s=i.shift();return _o(t,r,s),s}function h3(t,r){var i=En.get(t);En.set(r,i),En.delete(t)}function Oo(t){if(typeof t=="string")try{t=JSON.parse(t)}catch(r){return console.warn(r),{}}return t}function tr(t,r,i){if(!(!t.element.contentWindow||!t.element.contentWindow.postMessage)){var s={method:r};i!==void 0&&(s.value=i);var l=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));l>=8&&l<10&&(s=JSON.stringify(s)),t.element.contentWindow.postMessage(s,t.origin)}}function p3(t,r){r=Oo(r);var i=[],s;if(r.event){if(r.event==="error"){var l=wo(t,r.data.method);l.forEach(function(f){var h=new Error(r.data.message);h.name=r.data.name,f.reject(h),_o(t,r.data.method,f)})}i=wo(t,"event:".concat(r.event)),s=r.data}else if(r.method){var u=d3(t,r.method);u&&(i.push(u),s=r.value)}i.forEach(function(f){try{if(typeof f=="function"){f.call(t,s);return}f.resolve(s)}catch{}})}var g3=["airplay","audio_tracks","audiotrack","autopause","autoplay","background","byline","cc","chapter_id","chapters","chromecast","color","colors","controls","dnt","end_time","fullscreen","height","id","initial_quality","interactive_params","keyboard","loop","maxheight","max_quality","maxwidth","min_quality","muted","play_button_position","playsinline","portrait","progress_bar","quality","quality_selector","responsive","skipping_forward","speed","start_time","texttrack","title","transcript","transparent","unmute_button","url","vimeo_logo","volume","watch_full_video","width"];function r0(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return g3.reduce(function(i,s){var l=t.getAttribute("data-vimeo-".concat(s));return(l||l==="")&&(i[s]=l===""?1:l),i},r)}function Pa(t,r){var i=t.html;if(!r)throw new TypeError("An element must be provided");if(r.getAttribute("data-vimeo-initialized")!==null)return r.querySelector("iframe");var s=document.createElement("div");return s.innerHTML=i,r.appendChild(s.firstChild),r.setAttribute("data-vimeo-initialized","true"),r.querySelector("iframe")}function i0(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0;return new Promise(function(s,l){if(!sr(t))throw new TypeError("“".concat(t,"” is not a vimeo.com url."));var u=l3(t),f="https://".concat(u,"/api/oembed.json?url=").concat(encodeURIComponent(t));for(var h in r)r.hasOwnProperty(h)&&(f+="&".concat(h,"=").concat(encodeURIComponent(r[h])));var g="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;g.open("GET",f,!0),g.onload=function(){if(g.status===404){l(new Error("“".concat(t,"” was not found.")));return}if(g.status===403){l(new Error("“".concat(t,"” is not embeddable.")));return}try{var v=JSON.parse(g.responseText);if(v.domain_status_code===403){Pa(v,i),l(new Error("“".concat(t,"” is not embeddable.")));return}s(v)}catch(_){l(_)}},g.onerror=function(){var v=g.status?" (".concat(g.status,")"):"";l(new Error("There was an error fetching the embed code from Vimeo".concat(v,".")))},g.send()})}function m3(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document,r=[].slice.call(t.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),i=function(l){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(l))};r.forEach(function(s){try{if(s.getAttribute("data-vimeo-defer")!==null)return;var l=r0(s),u=n0(l);i0(u,l,s).then(function(f){return Pa(f,s)}).catch(i)}catch(f){i(f)}})}function v3(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoPlayerResizeEmbeds_){window.VimeoPlayerResizeEmbeds_=!0;var r=function(s){if(sr(s.origin)&&!(!s.data||s.data.event!=="spacechange")){for(var l=t.querySelectorAll("iframe"),u=0;u<l.length;u++)if(l[u].contentWindow===s.source){var f=l[u].parentElement;f.style.paddingBottom="".concat(s.data.data[0].bottom,"px");break}}};window.addEventListener("message",r)}}function y3(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoSeoMetadataAppended){window.VimeoSeoMetadataAppended=!0;var r=function(s){if(sr(s.origin)){var l=Oo(s.data);if(!(!l||l.event!=="ready"))for(var u=t.querySelectorAll("iframe"),f=0;f<u.length;f++){var h=u[f],g=h.contentWindow===s.source;if(t0(h.src)&&g){var v=new Wa(h);v.callMethod("appendVideoMetadata",window.location.href)}}}};window.addEventListener("message",r)}}function b3(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoCheckedUrlTimeParam){window.VimeoCheckedUrlTimeParam=!0;var r=function(l){"console"in window&&console.error&&console.error("There was an error getting video Id: ".concat(l))},i=function(l){if(sr(l.origin)){var u=Oo(l.data);if(!(!u||u.event!=="ready"))for(var f=t.querySelectorAll("iframe"),h=function(){var _=f[g],S=_.contentWindow===l.source;if(t0(_.src)&&S){var E=new Wa(_);E.getVideoId().then(function(x){var C=new RegExp("[?&]vimeo_t_".concat(x,"=([^&#]*)")).exec(window.location.href);if(C&&C[1]){var F=decodeURI(C[1]);E.setCurrentTime(F)}}).catch(r)}},g=0;g<f.length;g++)h()}};window.addEventListener("message",i)}}function x3(){var t=function(){for(var s,l=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],u=0,f=l.length,h={};u<f;u++)if(s=l[u],s&&s[1]in document){for(u=0;u<s.length;u++)h[l[0][u]]=s[u];return h}return!1}(),r={fullscreenchange:t.fullscreenchange,fullscreenerror:t.fullscreenerror},i={request:function(l){return new Promise(function(u,f){var h=function v(){i.off("fullscreenchange",v),u()};i.on("fullscreenchange",h),l=l||document.documentElement;var g=l[t.requestFullscreen]();g instanceof Promise&&g.then(h).catch(f)})},exit:function(){return new Promise(function(l,u){if(!i.isFullscreen){l();return}var f=function g(){i.off("fullscreenchange",g),l()};i.on("fullscreenchange",f);var h=document[t.exitFullscreen]();h instanceof Promise&&h.then(f).catch(u)})},on:function(l,u){var f=r[l];f&&document.addEventListener(f,u)},off:function(l,u){var f=r[l];f&&document.removeEventListener(f,u)}};return Object.defineProperties(i,{isFullscreen:{get:function(){return!!document[t.fullscreenElement]}},element:{enumerable:!0,get:function(){return document[t.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return!!document[t.fullscreenEnabled]}}}),i}var w3={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1},_3=function(t){t3(i,t);var r=i3(i);function i(s,l){var u,f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},h=arguments.length>3?arguments[3]:void 0;return Xd(this,i),u=r.call(this),go(vo(u),"logger",void 0),go(vo(u),"speedAdjustment",0),go(vo(u),"adjustSpeed",function(){var g=nr(At().mark(function v(_,S){var E;return At().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:if(u.speedAdjustment!==S){C.next=2;break}return C.abrupt("return");case 2:return C.next=4,_.getPlaybackRate();case 4:return C.t0=C.sent,C.t1=u.speedAdjustment,C.t2=C.t0-C.t1,C.t3=S,E=C.t2+C.t3,u.log("New playbackRate: ".concat(E)),C.next=12,_.setPlaybackRate(E);case 12:u.speedAdjustment=S;case 13:case"end":return C.stop()}},v)}));return function(v,_){return g.apply(this,arguments)}}()),u.logger=h,u.init(l,s,cf(cf({},w3),f)),u}return Yd(i,[{key:"disconnect",value:function(){this.dispatchEvent(new Event("disconnect"))}},{key:"init",value:function(){var s=nr(At().mark(function u(f,h,g){var v=this,_,S,E;return At().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:return C.next=2,this.waitForTOReadyState(f,"open");case 2:if(g.role!=="viewer"){C.next=10;break}return C.next=5,this.updatePlayer(f,h,g);case 5:_=hf(f,"change",function(){return v.updatePlayer(f,h,g)}),S=this.maintainPlaybackPosition(f,h,g),this.addEventListener("disconnect",function(){S.cancel(),_.cancel()}),C.next=14;break;case 10:return C.next=12,this.updateTimingObject(f,h);case 12:E=hf(h,["seeked","play","pause","ratechange"],function(){return v.updateTimingObject(f,h)},"on","off"),this.addEventListener("disconnect",function(){return E.cancel()});case 14:case"end":return C.stop()}},u,this)}));function l(u,f,h){return s.apply(this,arguments)}return l}()},{key:"updateTimingObject",value:function(){var s=nr(At().mark(function u(f,h){return At().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.t0=f,v.next=3,h.getCurrentTime();case 3:return v.t1=v.sent,v.next=6,h.getPaused();case 6:if(!v.sent){v.next=10;break}v.t2=0,v.next=13;break;case 10:return v.next=12,h.getPlaybackRate();case 12:v.t2=v.sent;case 13:v.t3=v.t2,v.t4={position:v.t1,velocity:v.t3},v.t0.update.call(v.t0,v.t4);case 16:case"end":return v.stop()}},u)}));function l(u,f){return s.apply(this,arguments)}return l}()},{key:"updatePlayer",value:function(){var s=nr(At().mark(function u(f,h,g){var v,_,S;return At().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:if(v=f.query(),_=v.position,S=v.velocity,typeof _=="number"&&h.setCurrentTime(_),typeof S!="number"){x.next=25;break}if(S!==0){x.next=11;break}return x.next=6,h.getPaused();case 6:if(x.t0=x.sent,x.t0!==!1){x.next=9;break}h.pause();case 9:x.next=25;break;case 11:if(!(S>0)){x.next=25;break}return x.next=14,h.getPaused();case 14:if(x.t1=x.sent,x.t1!==!0){x.next=19;break}return x.next=18,h.play().catch(function(){var C=nr(At().mark(function F(R){return At().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:if(!(R.name==="NotAllowedError"&&g.autoPlayMuted)){T.next=5;break}return T.next=3,h.setMuted(!0);case 3:return T.next=5,h.play().catch(function(k){return console.error("Couldn't play the video from TimingSrcConnector. Error:",k)});case 5:case"end":return T.stop()}},F)}));return function(F){return C.apply(this,arguments)}}());case 18:this.updatePlayer(f,h,g);case 19:return x.next=21,h.getPlaybackRate();case 21:if(x.t2=x.sent,x.t3=S,x.t2===x.t3){x.next=25;break}h.setPlaybackRate(S);case 25:case"end":return x.stop()}},u,this)}));function l(u,f,h){return s.apply(this,arguments)}return l}()},{key:"maintainPlaybackPosition",value:function(l,u,f){var h=this,g=f.allowedDrift,v=f.maxAllowedDrift,_=f.minCheckInterval,S=f.maxRateAdjustment,E=f.maxTimeToCatchUp,x=Math.min(E,Math.max(_,v))*1e3,C=function(){var R=nr(At().mark(function I(){var T,k,O,M,N;return At().wrap(function(Q){for(;;)switch(Q.prev=Q.next){case 0:if(Q.t0=l.query().velocity===0,Q.t0){Q.next=6;break}return Q.next=4,u.getPaused();case 4:Q.t1=Q.sent,Q.t0=Q.t1===!0;case 6:if(!Q.t0){Q.next=8;break}return Q.abrupt("return");case 8:return Q.t2=l.query().position,Q.next=11,u.getCurrentTime();case 11:if(Q.t3=Q.sent,T=Q.t2-Q.t3,k=Math.abs(T),h.log("Drift: ".concat(T)),!(k>v)){Q.next=22;break}return Q.next=18,h.adjustSpeed(u,0);case 18:u.setCurrentTime(l.query().position),h.log("Resync by currentTime"),Q.next=29;break;case 22:if(!(k>g)){Q.next=29;break}return O=k/E,M=S,N=O<M?(M-O)/2:M,Q.next=28,h.adjustSpeed(u,N*Math.sign(T));case 28:h.log("Resync by playbackRate");case 29:case"end":return Q.stop()}},I)}));return function(){return R.apply(this,arguments)}}(),F=setInterval(function(){return C()},x);return{cancel:function(){return clearInterval(F)}}}},{key:"log",value:function(l){var u;(u=this.logger)===null||u===void 0||u.call(this,"TimingSrcConnector: ".concat(l))}},{key:"waitForTOReadyState",value:function(l,u){return new Promise(function(f){var h=function g(){l.readyState===u?f():l.addEventListener("readystatechange",g,{once:!0})};h()})}}]),i}(xa(EventTarget)),Er=new WeakMap,ca=new WeakMap,Lt={},Wa=function(){function t(r){var i=this,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(Xd(this,t),window.jQuery&&r instanceof jQuery&&(r.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),r=r[0]),typeof document<"u"&&typeof r=="string"&&(r=document.getElementById(r)),!s3(r))throw new TypeError("You must pass either a valid element or a valid id.");if(r.nodeName!=="IFRAME"){var l=r.querySelector("iframe");l&&(r=l)}if(r.nodeName==="IFRAME"&&!sr(r.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(Er.has(r))return Er.get(r);this._window=r.ownerDocument.defaultView,this.element=r,this.origin="*";var u=new Yt(function(h,g){if(i._onMessage=function(S){if(!(!sr(S.origin)||i.element.contentWindow!==S.source)){i.origin==="*"&&(i.origin=S.origin);var E=Oo(S.data),x=E&&E.event==="error",C=x&&E.data&&E.data.method==="ready";if(C){var F=new Error(E.data.message);F.name=E.data.name,g(F);return}var R=E&&E.event==="ready",I=E&&E.method==="ping";if(R||I){i.element.setAttribute("data-ready","true"),h();return}p3(i,E)}},i._window.addEventListener("message",i._onMessage),i.element.nodeName!=="IFRAME"){var v=r0(r,s),_=n0(v);i0(_,v,r).then(function(S){var E=Pa(S,r);return i.element=E,i._originalElement=r,h3(r,E),Er.set(i.element,i),S}).catch(g)}});if(ca.set(this,u),Er.set(this.element,this),this.element.nodeName==="IFRAME"&&tr(this,"ping"),Lt.isEnabled){var f=function(){return Lt.exit()};this.fullscreenchangeHandler=function(){Lt.isFullscreen?oi(i,"event:exitFullscreen",f):_o(i,"event:exitFullscreen",f),i.ready().then(function(){tr(i,"fullscreenchange",Lt.isFullscreen)})},Lt.on("fullscreenchange",this.fullscreenchangeHandler)}return this}return Yd(t,[{key:"callMethod",value:function(i){for(var s=this,l=arguments.length,u=new Array(l>1?l-1:0),f=1;f<l;f++)u[f-1]=arguments[f];if(i==null)throw new TypeError("You must pass a method name.");return new Yt(function(h,g){return s.ready().then(function(){oi(s,i,{resolve:h,reject:g}),tr(s,i,u)}).catch(g)})}},{key:"get",value:function(i){var s=this;return new Yt(function(l,u){return i=df(i,"get"),s.ready().then(function(){oi(s,i,{resolve:l,reject:u}),tr(s,i)}).catch(u)})}},{key:"set",value:function(i,s){var l=this;return new Yt(function(u,f){if(i=df(i,"set"),s==null)throw new TypeError("There must be a value to set.");return l.ready().then(function(){oi(l,i,{resolve:u,reject:f}),tr(l,i,s)}).catch(f)})}},{key:"on",value:function(i,s){if(!i)throw new TypeError("You must pass an event name.");if(!s)throw new TypeError("You must pass a callback function.");if(typeof s!="function")throw new TypeError("The callback must be a function.");var l=wo(this,"event:".concat(i));l.length===0&&this.callMethod("addEventListener",i).catch(function(){}),oi(this,"event:".concat(i),s)}},{key:"off",value:function(i,s){if(!i)throw new TypeError("You must pass an event name.");if(s&&typeof s!="function")throw new TypeError("The callback must be a function.");var l=_o(this,"event:".concat(i),s);l&&this.callMethod("removeEventListener",i).catch(function(u){})}},{key:"loadVideo",value:function(i){return this.callMethod("loadVideo",i)}},{key:"ready",value:function(){var i=ca.get(this)||new Yt(function(s,l){l(new Error("Unknown player. Probably unloaded."))});return Yt.resolve(i)}},{key:"addCuePoint",value:function(i){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.callMethod("addCuePoint",{time:i,data:s})}},{key:"removeCuePoint",value:function(i){return this.callMethod("removeCuePoint",i)}},{key:"enableTextTrack",value:function(i,s){if(!i)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:i,kind:s})}},{key:"disableTextTrack",value:function(){return this.callMethod("disableTextTrack")}},{key:"pause",value:function(){return this.callMethod("pause")}},{key:"play",value:function(){return this.callMethod("play")}},{key:"requestFullscreen",value:function(){return Lt.isEnabled?Lt.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return Lt.isEnabled?Lt.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return Lt.isEnabled?Yt.resolve(Lt.isFullscreen):this.get("fullscreen")}},{key:"requestPictureInPicture",value:function(){return this.callMethod("requestPictureInPicture")}},{key:"exitPictureInPicture",value:function(){return this.callMethod("exitPictureInPicture")}},{key:"getPictureInPicture",value:function(){return this.get("pictureInPicture")}},{key:"remotePlaybackPrompt",value:function(){return this.callMethod("remotePlaybackPrompt")}},{key:"unload",value:function(){return this.callMethod("unload")}},{key:"destroy",value:function(){var i=this;return new Yt(function(s){if(ca.delete(i),Er.delete(i.element),i._originalElement&&(Er.delete(i._originalElement),i._originalElement.removeAttribute("data-vimeo-initialized")),i.element&&i.element.nodeName==="IFRAME"&&i.element.parentNode&&(i.element.parentNode.parentNode&&i._originalElement&&i._originalElement!==i.element.parentNode?i.element.parentNode.parentNode.removeChild(i.element.parentNode):i.element.parentNode.removeChild(i.element)),i.element&&i.element.nodeName==="DIV"&&i.element.parentNode){i.element.removeAttribute("data-vimeo-initialized");var l=i.element.querySelector("iframe");l&&l.parentNode&&(l.parentNode.parentNode&&i._originalElement&&i._originalElement!==l.parentNode?l.parentNode.parentNode.removeChild(l.parentNode):l.parentNode.removeChild(l))}i._window.removeEventListener("message",i._onMessage),Lt.isEnabled&&Lt.off("fullscreenchange",i.fullscreenchangeHandler),s()})}},{key:"getAutopause",value:function(){return this.get("autopause")}},{key:"setAutopause",value:function(i){return this.set("autopause",i)}},{key:"getBuffered",value:function(){return this.get("buffered")}},{key:"getCameraProps",value:function(){return this.get("cameraProps")}},{key:"setCameraProps",value:function(i){return this.set("cameraProps",i)}},{key:"getChapters",value:function(){return this.get("chapters")}},{key:"getCurrentChapter",value:function(){return this.get("currentChapter")}},{key:"getColor",value:function(){return this.get("color")}},{key:"getColors",value:function(){return Yt.all([this.get("colorOne"),this.get("colorTwo"),this.get("colorThree"),this.get("colorFour")])}},{key:"setColor",value:function(i){return this.set("color",i)}},{key:"setColors",value:function(i){if(!Array.isArray(i))return new Yt(function(u,f){return f(new TypeError("Argument must be an array."))});var s=new Yt(function(u){return u(null)}),l=[i[0]?this.set("colorOne",i[0]):s,i[1]?this.set("colorTwo",i[1]):s,i[2]?this.set("colorThree",i[2]):s,i[3]?this.set("colorFour",i[3]):s];return Yt.all(l)}},{key:"getCuePoints",value:function(){return this.get("cuePoints")}},{key:"getCurrentTime",value:function(){return this.get("currentTime")}},{key:"setCurrentTime",value:function(i){return this.set("currentTime",i)}},{key:"getDuration",value:function(){return this.get("duration")}},{key:"getEnded",value:function(){return this.get("ended")}},{key:"getLoop",value:function(){return this.get("loop")}},{key:"setLoop",value:function(i){return this.set("loop",i)}},{key:"setMuted",value:function(i){return this.set("muted",i)}},{key:"getMuted",value:function(){return this.get("muted")}},{key:"getPaused",value:function(){return this.get("paused")}},{key:"getPlaybackRate",value:function(){return this.get("playbackRate")}},{key:"setPlaybackRate",value:function(i){return this.set("playbackRate",i)}},{key:"getPlayed",value:function(){return this.get("played")}},{key:"getQualities",value:function(){return this.get("qualities")}},{key:"getQuality",value:function(){return this.get("quality")}},{key:"setQuality",value:function(i){return this.set("quality",i)}},{key:"getRemotePlaybackAvailability",value:function(){return this.get("remotePlaybackAvailability")}},{key:"getRemotePlaybackState",value:function(){return this.get("remotePlaybackState")}},{key:"getSeekable",value:function(){return this.get("seekable")}},{key:"getSeeking",value:function(){return this.get("seeking")}},{key:"getTextTracks",value:function(){return this.get("textTracks")}},{key:"getVideoEmbedCode",value:function(){return this.get("videoEmbedCode")}},{key:"getVideoId",value:function(){return this.get("videoId")}},{key:"getVideoTitle",value:function(){return this.get("videoTitle")}},{key:"getVideoWidth",value:function(){return this.get("videoWidth")}},{key:"getVideoHeight",value:function(){return this.get("videoHeight")}},{key:"getVideoUrl",value:function(){return this.get("videoUrl")}},{key:"getVolume",value:function(){return this.get("volume")}},{key:"setVolume",value:function(i){return this.set("volume",i)}},{key:"setTimingSrc",value:function(){var r=nr(At().mark(function s(l,u){var f=this,h;return At().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:if(l){v.next=2;break}throw new TypeError("A Timing Object must be provided.");case 2:return v.next=4,this.ready();case 4:return h=new _3(this,l,u),tr(this,"notifyTimingObjectConnect"),h.addEventListener("disconnect",function(){return tr(f,"notifyTimingObjectDisconnect")}),v.abrupt("return",h);case 8:case"end":return v.stop()}},s,this)}));function i(s,l){return r.apply(this,arguments)}return i}()}]),t}();e0||(Lt=x3(),m3(),v3(),y3(),b3());const C3=(t,r,i,s)=>({id:parseInt(t,10),width:typeof r=="number"?r:void 0,height:typeof i=="number"?i:void 0,...s}),S3=async(t,r)=>{if(t)try{const i=[];typeof r.loop=="boolean"&&i.push(t.getLoop().then(s=>{if(s!==r.loop)return t.setLoop(r.loop)})),r.color&&i.push(t.getColor().then(s=>{if(s!==r.color)return t.setColor(r.color)})),typeof r.muted=="boolean"&&i.push(t.getMuted().then(s=>{if(s!==r.muted)return t.setMuted(r.muted)})),await Promise.all(i)}catch(i){console.warn("Error enforcing player config:",i)}},E3=t=>({ready:t.onReady,play:t.onPlay,pause:t.onPlayerPause,ended:t.onEnd,timeupdate:t.onTimeUpdate?r=>{var i;(i=t.onTimeUpdate)==null||i.call(t,r.seconds)}:void 0,progress:t.onProgress?r=>{var i;(i=t.onProgress)==null||i.call(t,r.percent)}:void 0,seeking:t.onSeeking,seeked:t.onSeeked,error:t.onPlayerError}),A3=t=>{var i,s;const r=xe();return d.useMemo(()=>{var u,f;return{...(u=r.__hd__.vimeo)==null?void 0:u.playerSettings,...t,color:(t==null?void 0:t.color)||((f=r.__hd__.vimeo)==null?void 0:f.defaultAccentColor)||"#00adef"}},[(i=r.__hd__.vimeo)==null?void 0:i.playerSettings,(s=r.__hd__.vimeo)==null?void 0:s.defaultAccentColor,t])},$3=(t,r,i,s,l)=>{const u=d.useRef(null);return d.useEffect(()=>t.current?((async()=>{try{const h=C3(r,i,s,l);t.current&&(u.current=new Wa(t.current,h),setTimeout(()=>{S3(u.current,l)},100))}catch(h){console.error("Failed to initialize Vimeo player:",h)}})(),()=>{u.current&&(u.current.destroy(),u.current=null)}):void 0,[r,i,s]),u},k3=(t,r)=>{d.useEffect(()=>{if(!t.current||!r)return;const i=t.current,s=E3(r);return Object.entries(s).forEach(([l,u])=>{u&&i.on(l,u)}),()=>{t.current&&Object.entries(s).forEach(([l,u])=>{if(u)try{t.current.off(l,u)}catch{}})}},[t,r])},T3=ae.div`
255
259
  position: relative;
256
260
  width: 100%;
257
261
  height: 100%;
258
262
  overflow: hidden;
259
- `,yw=ae.div`
263
+ `,R3=ae.div`
260
264
  position: relative;
261
- padding-bottom: ${({$aspectRatio:n})=>`${n}%`};
265
+ padding-bottom: ${({$aspectRatio:t})=>`${t}%`};
262
266
  height: 0;
263
267
  overflow: hidden;
264
- `,bw=ae.div`
268
+ `,L3=ae.div`
265
269
  position: absolute;
266
270
  top: 0;
267
271
  left: 0;
268
272
  width: 100%;
269
273
  height: 100%;
270
- `,ww=({videoId:n,width:r="100%",height:i="auto",config:s,callbacks:l})=>{var E;const u=_e(),f=h.useRef(null),[d]=h.useState(`vimeo-player-${Math.random().toString(36).substr(2,9)}`),g=i==="auto",v=((E=u.__hd__.vimeo)==null?void 0:E.aspectRatio)||56.25,C=pw(s),S=gw(f,n,r,i,C);return mw(S,l),g?y.jsx(yw,{$aspectRatio:v,children:y.jsx(bw,{ref:f,id:d})}):y.jsx(vw,{style:{width:r,height:i},children:y.jsx("div",{ref:f,id:d,style:{width:"100%",height:"100%"}})})},xw={color:"#00adef",autoplay:!1,muted:!1,loop:!1,title:!1,byline:!1,portrait:!1,dnt:!0,playsinline:!0,background:!1,controls:!0,pip:!1,responsive:!0,width:"100%"},_w="https://player.vimeo.com",Cw=({videoId:n,playerWidth:r,playerHeight:i,config:s,callbacks:l,...u})=>y.jsx(X,{overflow:"hidden",...u,children:y.jsx(ww,{videoId:n,width:r,height:i,config:s,callbacks:l})});function df({item:n,index:r,renderItem:i}){return y.jsx(X,{flexShrink:0,children:i({item:n,index:r,isFocused:!0})})}function lo({item:n,index:r,isFocused:i,renderItem:s,itemsPerView:l,itemWidth:u}){const f=ze.isNil(l)?void 0:`0 0 ${100/l}%`;return y.jsx(X,{flex:ze.isNil(u)?f:void 0,width:u,overflow:"hidden",children:s({item:n,index:r,isFocused:i})})}const Sw=/^(\d+|\d*\.\d+)(px)$/,Ew=(n,r)=>{if(typeof r=="string"){if(ir(r))return n.sizes[r];if(Sw.test(r))return parseInt(r.replace("px",""),10);throw new Error("Invalid itemWidth, must be a Size or a number or a valid pixel value")}return r},ca=(n,r,i,s)=>{if(s)return`calc(-${n} * (${s}px + ${i}px))`;const l=n*(100/r),u=n*i;return`calc(-${l}% - ${u}px)`},Ar=(n,r,i,s)=>s?`${s(n,r)}${i||""}`:`carousel-item-${r}${i||""}`,Aw=Hn`
274
+ `,O3=({videoId:t,width:r="100%",height:i="auto",config:s,callbacks:l})=>{var E;const u=xe(),f=d.useRef(null),[h]=d.useState(`vimeo-player-${Math.random().toString(36).substr(2,9)}`),g=i==="auto",v=((E=u.__hd__.vimeo)==null?void 0:E.aspectRatio)||56.25,_=A3(s),S=$3(f,t,r,i,_);return k3(S,l),g?y.jsx(R3,{$aspectRatio:v,children:y.jsx(L3,{ref:f,id:h})}):y.jsx(T3,{style:{width:r,height:i},children:y.jsx("div",{ref:f,id:h,style:{width:"100%",height:"100%"}})})},I3={color:"#00adef",autoplay:!1,muted:!1,loop:!1,title:!1,byline:!1,portrait:!1,dnt:!0,playsinline:!0,background:!1,controls:!0,pip:!1,responsive:!0,width:"100%"},M3="https://player.vimeo.com",F3=({videoId:t,playerWidth:r,playerHeight:i,config:s,callbacks:l,...u})=>y.jsx(X,{overflow:"hidden",...u,children:y.jsx(O3,{videoId:t,width:r,height:i,config:s,callbacks:l})});function pf({item:t,index:r,renderItem:i}){return y.jsx(X,{flexShrink:0,children:i({item:t,index:r,isFocused:!0})})}function uo({item:t,index:r,isFocused:i,renderItem:s,itemsPerView:l,itemWidth:u}){const f=ze.isNil(l)?void 0:`0 0 ${100/l}%`;return y.jsx(X,{flex:ze.isNil(u)?f:void 0,width:u,overflow:"hidden",children:s({item:t,index:r,isFocused:i})})}const z3=/^(\d+|\d*\.\d+)(px)$/,j3=(t,r)=>{if(typeof r=="string"){if(ir(r))return t.sizes[r];if(z3.test(r))return parseInt(r.replace("px",""),10);throw new Error("Invalid itemWidth, must be a Size or a number or a valid pixel value")}return r},fa=(t,r,i,s)=>{if(s)return`calc(-${t} * (${s}px + ${i}px))`;const l=t*(100/r),u=t*i;return`calc(-${l}% - ${u}px)`},Ar=(t,r,i,s)=>s?`${s(t,r)}${i||""}`:`carousel-item-${r}${i||""}`,B3=Hn`
271
275
  0% { transform: translateX(0); }
272
276
  100% { transform: translateX(-50%); } /* Scroll one full set of items */
273
- `,$w=ae(X)`
277
+ `,P3=ae(X)`
274
278
  display: flex;
275
279
  align-items: stretch; // Use stretch to ensure items fill height if needed
276
- gap: ${({$itemSpacing:n})=>n||0}px;
280
+ gap: ${({$itemSpacing:t})=>t||0}px;
277
281
  will-change: transform;
278
- transition: ${({$autoScroll:n})=>n?"none":"transform 0.5s ease-in-out"};
282
+ transition: ${({$autoScroll:t})=>t?"none":"transform 0.5s ease-in-out"};
279
283
 
280
284
  /* Apply animation conditionally using the css helper */
281
- animation: ${({$autoScroll:n,$scrollDuration:r})=>n?at`${Aw} ${r}s linear infinite`:"none"};
282
- `;function kw({itemSpacing:n,itemsWrapperRef:r,items:i,renderItem:s,keyExtractor:l,autoScroll:u,activeIndex:f,virtualActiveIndex:d,itemsPerView:g=1,itemWidth:v,infiniteLoop:C=!1}){const S=_e(),w=S.__hd__.carousel.autoScroll,_=typeof u=="object"&&u.speed||w.defaultSpeed,O=h.useMemo(()=>{if(i.length<=g)return i;const P=i.length%g;return P===0?i:i.slice(0,i.length-P)},[i,g]),R=u?O.length*(_/5):0,M=S.spaces[n||S.__hd__.carousel.container.defaultItemSpacing]||0,T=C&&!u&&O.length>1,k=h.useMemo(()=>{if(v)return v*g+M*(g-1)},[v,g,M]),I=h.useMemo(()=>{if(u)return y.jsxs(y.Fragment,{children:[O.map((P,U)=>y.jsx(df,{item:P,index:U,renderItem:s},Ar(P,U,"-auto-scroll",l))),O.map((P,U)=>y.jsx(df,{item:P,index:U+O.length,renderItem:s},Ar(P,U,"-duplicate",l)))]});if(T){const P=U=>{const N=d-O.length;return U>=N&&U<N+g};return y.jsxs(y.Fragment,{children:[O.map((U,N)=>{const Q=N;return y.jsx(lo,{item:U,index:Q,isFocused:P(N),renderItem:s,itemsPerView:g,itemWidth:v},Ar(U,Q,"-prefix",l))}),O.map((U,N)=>y.jsx(lo,{item:U,index:N,isFocused:P(N),renderItem:s,itemsPerView:g,itemWidth:v},Ar(U,N,void 0,l))),O.map((U,N)=>{const Q=N;return y.jsx(lo,{item:U,index:Q,isFocused:P(N),renderItem:s,itemsPerView:g,itemWidth:v},Ar(U,Q,"-suffix",l))})]})}return O.map((P,U)=>y.jsx(lo,{item:P,index:U,isFocused:U>=f&&U<f+g,renderItem:s,itemsPerView:g,itemWidth:v},Ar(P,U,void 0,l)))},[u,T,O,l,s,d,g,v,f]);return y.jsx(X,{width:k,display:"flex",children:y.jsx($w,{$autoScroll:!!u,$scrollDuration:R,$itemSpacing:M,ref:r,children:I})})}const Tw=ae(La)`
285
+ animation: ${({$autoScroll:t,$scrollDuration:r})=>t?at`${B3} ${r}s linear infinite`:"none"};
286
+ `;function W3({itemSpacing:t,itemsWrapperRef:r,items:i,renderItem:s,keyExtractor:l,autoScroll:u,activeIndex:f,virtualActiveIndex:h,itemsPerView:g=1,itemWidth:v,infiniteLoop:_=!1}){const S=xe(),x=S.__hd__.carousel.autoScroll,C=typeof u=="object"&&u.speed||x.defaultSpeed,F=d.useMemo(()=>{if(i.length<=g)return i;const M=i.length%g;return M===0?i:i.slice(0,i.length-M)},[i,g]),R=u?F.length*(C/5):0,I=S.spaces[t||S.__hd__.carousel.container.defaultItemSpacing]||0,T=_&&!u&&F.length>1,k=d.useMemo(()=>{if(v)return v*g+I*(g-1)},[v,g,I]),O=d.useMemo(()=>{if(u)return y.jsxs(y.Fragment,{children:[F.map((M,N)=>y.jsx(pf,{item:M,index:N,renderItem:s},Ar(M,N,"-auto-scroll",l))),F.map((M,N)=>y.jsx(pf,{item:M,index:N+F.length,renderItem:s},Ar(M,N,"-duplicate",l)))]});if(T){const M=N=>{const V=h-F.length;return N>=V&&N<V+g};return y.jsxs(y.Fragment,{children:[F.map((N,V)=>{const Q=V;return y.jsx(uo,{item:N,index:Q,isFocused:M(V),renderItem:s,itemsPerView:g,itemWidth:v},Ar(N,Q,"-prefix",l))}),F.map((N,V)=>y.jsx(uo,{item:N,index:V,isFocused:M(V),renderItem:s,itemsPerView:g,itemWidth:v},Ar(N,V,void 0,l))),F.map((N,V)=>{const Q=V;return y.jsx(uo,{item:N,index:Q,isFocused:M(V),renderItem:s,itemsPerView:g,itemWidth:v},Ar(N,Q,"-suffix",l))})]})}return F.map((M,N)=>y.jsx(uo,{item:M,index:N,isFocused:N>=f&&N<f+g,renderItem:s,itemsPerView:g,itemWidth:v},Ar(M,N,void 0,l)))},[u,T,F,l,s,h,g,v,f]);return y.jsx(X,{width:k,display:"flex",children:y.jsx(P3,{$autoScroll:!!u,$scrollDuration:R,$itemSpacing:I,ref:r,children:O})})}const D3=ae(Oa)`
283
287
  transition: color 0.2s ease;
284
- color: ${({$color:n,theme:r})=>r.colors[n]};
285
- `,Rw=ae(pi)`
288
+ color: ${({$color:t,theme:r})=>r.colors[t]};
289
+ `,H3=ae(gi)`
286
290
  transition: color 0.2s ease;
287
- color: ${({$color:n,theme:r})=>r.colors[n]};
288
- `;function hf({isLeft:n,onPrev:r,onNext:i}){const s=h.useRef(null),l=$o(s),u=_e(),f=u.__hd__.carousel.navigation,d=u.spaces[f.buttonPadding]*2+u.sizes[f.iconSize],g=wt(u,f.iconSize),v=l?f.buttonBackgroundColor:f.buttonColor,C=typeof g=="string"?parseInt(g,10):g;return y.jsx(Jt,{onClick:n?r:i,ml:n?{xs:"none",sm:f.marginHorizontal}:void 0,mr:n?void 0:{xs:"none",sm:f.marginHorizontal},ref:s,children:y.jsx(X,{display:"flex",justifyContent:"center",alignItems:"center",width:d,height:d,p:f.buttonPadding,r:f.buttonBorderRadius,bgColor:l?f.buttonColor:f.buttonBackgroundColor,transition:"background-color 0.2s ease",zIndex:u.zIndex.getZIndex("AIC_Kits_Carousel"),boxShadow:"0 0 16px 0 rgba(0, 0, 0, 0.1)",ref:s,children:n?y.jsx(Tw,{size:C,weight:"bold",$color:v}):y.jsx(Rw,{size:C,weight:"bold",$color:v})})})}function Lw({itemsCount:n,activeIndex:r,onDotClick:i}){const s=_e(),l=s.__hd__.carousel.pagination,u=l.container,f=wt(s,l.dotSize);return y.jsx(X,{display:"flex",justifyContent:"center",alignItems:"center",mt:u.marginTop,p:u.padding,r:u.borderRadius,bgColor:u.backgroundColor,gap:u.gap,children:Array.from({length:n}).map((d,g)=>y.jsx(X,{width:f,height:f,r:l.dotBorderRadius,bgColor:g===r?l.activeColor:l.inactiveColor,cursor:"pointer",transition:"background-color 0.3s ease",onClick:()=>i(g)},`dot-${g}`))})}function Iw({items:n,renderItem:r,showPagination:i=!0,showNavigation:s=!0,autoPlay:l=!1,autoScroll:u=!1,initialIndex:f=0,onIndexChange:d,keyExtractor:g,itemSpacing:v,itemsPerView:C=1,itemWidth:S,infiniteLoop:E=!1,...w},_){const O=_e(),{width:R}=Od(),M=O.__hd__.carousel,T=h.useMemo(()=>{if(n.length<=C)return n;const re=n.length%C;return re===0?n:n.slice(0,n.length-re)},[n,C]),[k,I]=h.useState(f),[P,U]=h.useState(f),N=h.useRef(null),Q=h.useRef(null),pe=h.useRef(null),Ce=h.useRef(!1),[Me,D]=h.useState(!1),[z,G]=h.useState(null),[le,te]=h.useState(0),oe=!!u,ee=oe?1:Math.max(1,C),ve=oe?void 0:Ew(O,S),je=O.spaces[v||M.container.defaultItemSpacing]||0,ke=oe?!1:i,Ie=oe?!1:s,De=E&&!oe&&T.length>1,Ke=Math.max(0,T.length-ee),gt=Math.ceil(T.length/ee),Be=typeof l=="object"&&l.delay||3e3,it=h.useCallback(re=>{if(T.length===0)return 0;for(;re<0;)re+=T.length;return re%T.length},[T.length]),de=h.useCallback(re=>{if(!De)return{virtualIndex:re,realIndex:re,needsSnap:!1};let Ne=re,Pe=re,He=!1;return re<0||re>Ke?(Ne=T.length+re,Pe=it(re),He=!0):(Ne=T.length+re,Pe=re,He=!1),{virtualIndex:Ne,realIndex:Pe,needsSnap:He}},[De,T.length,Ke,it]),Se=h.useCallback(re=>{if(!De||!N.current)return;const Ne=T.length+re,Pe=ca(Ne,ee,je,ve);N.current.style.transition="none",N.current.style.transform=`translateX(${Pe})`,U(Ne),requestAnimationFrame(()=>{N.current&&(N.current.style.transition="")})},[De,T.length,ee,je,ve]),Re=h.useCallback(()=>{if(N.current){const re=window.getComputedStyle(N.current),Ne=new DOMMatrixReadOnly(re.transform);te(Ne.e)}},[]),ye=h.useCallback(re=>{const Ne=De?re:Math.max(0,Math.min(re,Ke)),Pe=de(Ne),He=Math.max(0,Math.min(Ne,Ke));if((He!==k||Me)&&(I(He),d==null||d(He)),N.current&&!oe){const Qe=Pe.virtualIndex;U(Qe);const xt=ca(Qe,ee,je,ve);N.current.style.transform=`translateX(${xt})`,N.current.style.transition="",queueMicrotask(()=>{Re()}),Pe.needsSnap&&(pe.current&&clearTimeout(pe.current),pe.current=setTimeout(()=>{Se(Pe.realIndex),I(Pe.realIndex),d==null||d(Pe.realIndex)},500))}},[De,Ke,k,d,oe,ee,je,ve,Re,Me,de,Se]),J=h.useCallback(()=>{E&&T.length>0?ye(k+ee):ye(Math.min(k+ee,Ke))},[E,k,ee,Ke,T.length,ye]),ce=h.useCallback(()=>{E&&T.length>0?ye(k-ee):ye(Math.max(k-ee,0))},[E,k,ee,T.length,ye]);h.useImperativeHandle(_,()=>({goToIndex:ye,goToNext:J,goToPrev:ce}));const Z=h.useCallback(()=>{Q.current&&clearTimeout(Q.current)},[]),ie=()=>{Ce.current=!0,l&&!oe&&Z(),oe&&N.current&&(N.current.style.animationPlayState="paused")},fe=h.useCallback(()=>{if(Ce.current=!1,l&&!oe&&!Me){Z();const re=(k+1)%T.length,Ne=Math.min(re,Ke);Q.current=setTimeout(()=>ye(Ne),Be)}oe&&N.current&&(N.current.style.animationPlayState="running")},[l,oe,Me,Z,k,T.length,Ke,Be,ye]),we=h.useCallback(re=>{oe||n.length<=ee||(pe.current&&(clearTimeout(pe.current),pe.current=null),Re(),Z(),D(!0),G(re),N.current&&(N.current.style.transition="none"))},[oe,Z,n.length,ee,Re]),We=h.useCallback(re=>{if(!Me||z===null||oe||!N.current)return;const Ne=re-z;N.current.style.transform=`translateX(${le+Ne}px)`},[Me,z,oe,le]),Xe=h.useCallback(()=>{if(!Me||z===null||oe)return;D(!1);let re=ve;!re&&N.current&&N.current.firstChild&&(re=N.current.firstChild.clientWidth),!re&&N.current&&(re=N.current.clientWidth/ee);const Ne=(re||0)/3;if(N.current){const Pe=window.getComputedStyle(N.current),xt=new DOMMatrixReadOnly(Pe.transform).e-le;N.current.style.transition="",Math.abs(xt)>Ne?xt<0?J():ce():ye(k)}G(null),l&&!Ce.current&&(Q.current=setTimeout(()=>J(),Be))},[Me,z,oe,ve,ee,J,ce,k,l,Be,le,ye]),tt=Math.floor(k/ee),nt=re=>ye(re*ee);h.useEffect(()=>{if(!l||oe||Ce.current||Me){Z();return}const re=(k+1)%T.length,Ne=Math.min(re,Ke);return Q.current=setTimeout(()=>ye(Ne),Be),Z},[k,l,Be,ye,Z,oe,T.length,Ke,Me]),h.useEffect(()=>{if(!At()){if(De){const re=T.length+f;if(U(re),N.current){const Ne=ca(re,ee,je,ve);N.current.style.transform=`translateX(${Ne})`,N.current.style.transition="none",requestAnimationFrame(()=>{N.current&&(N.current.style.transition="")})}}ye(f)}},[R,f,De,T.length,ee,je,ve]),h.useEffect(()=>()=>{Q.current&&clearTimeout(Q.current),pe.current&&clearTimeout(pe.current)},[]);const ot=()=>{Me&&N.current&&Xe(),fe()};return y.jsxs(X,{fw:!0,overflow:"hidden",onMouseEnter:ie,onMouseLeave:ot,onTouchStart:re=>we(re.touches[0].clientX),onTouchMove:re=>We(re.touches[0].clientX),onTouchEnd:Xe,onMouseDown:re=>{re.button===0&&we(re.clientX)},onMouseMove:re=>{re.buttons===1&&Me&&We(re.clientX)},onMouseUp:re=>{re.button===0&&Me&&Xe()},display:"flex",flexDirection:"column",alignItems:"center",...w,children:[y.jsxs(X,{position:"relative",display:"flex",justifyContent:"center",alignItems:"center",fw:!0,children:[y.jsx(kw,{itemsWrapperRef:N,itemSpacing:v,activeIndex:k,virtualActiveIndex:P,items:T,renderItem:r,keyExtractor:g,autoScroll:u,itemsPerView:ee,itemWidth:ve,infiniteLoop:E}),Ie&&n.length>ee&&y.jsx(X,{position:"absolute",left:0,top:"50%",transform:"translateY(-50%)",children:y.jsx(hf,{isLeft:!0,onPrev:ce,onNext:J})}),Ie&&n.length>ee&&y.jsx(X,{position:"absolute",right:0,top:"50%",transform:"translateY(-50%)",children:y.jsx(hf,{isLeft:!1,onPrev:ce,onNext:J})})]}),ke&&gt>1&&y.jsx(Lw,{itemsCount:gt,activeIndex:tt,onDotClick:nt})]})}const Ow=h.forwardRef(Iw);function Mw({renderContent:n,isExpanded:r}){const s=_e().__hd__.accordion,l=s.animation,u=h.useRef(null),[f,d]=h.useState(0);return h.useEffect(()=>{r&&u.current&&d(u.current.scrollHeight)},[r,n]),y.jsx(X,{overflow:"hidden",transition:`height ${l.duration}ms ${l.easing},
289
- opacity ${l.duration}ms ${l.easing}`,height:r?f:0,opacity:r?1:0,children:y.jsx(X,{ref:u,pt:s.gap,children:n()})})}const Fw=ae(pi)`
290
- transition: transform ${({$duration:n,$easing:r})=>`${n}ms ${r}`};
291
- transform: rotate(${({$isExpanded:n})=>n?"90deg":"0deg"});
291
+ color: ${({$color:t,theme:r})=>r.colors[t]};
292
+ `;function gf({isLeft:t,onPrev:r,onNext:i}){const s=d.useRef(null),l=$o(s),u=xe(),f=u.__hd__.carousel.navigation,h=u.spaces[f.buttonPadding]*2+u.sizes[f.iconSize],g=wt(u,f.iconSize),v=l?f.buttonBackgroundColor:f.buttonColor,_=typeof g=="string"?parseInt(g,10):g;return y.jsx(Jt,{onClick:t?r:i,ml:t?{xs:"none",sm:f.marginHorizontal}:void 0,mr:t?void 0:{xs:"none",sm:f.marginHorizontal},ref:s,children:y.jsx(X,{display:"flex",justifyContent:"center",alignItems:"center",width:h,height:h,p:f.buttonPadding,r:f.buttonBorderRadius,bgColor:l?f.buttonColor:f.buttonBackgroundColor,transition:"background-color 0.2s ease",zIndex:u.zIndex.getZIndex("AIC_Kits_Carousel"),boxShadow:"0 0 16px 0 rgba(0, 0, 0, 0.1)",ref:s,children:t?y.jsx(D3,{size:_,weight:"bold",$color:v}):y.jsx(H3,{size:_,weight:"bold",$color:v})})})}function Z3({itemsCount:t,activeIndex:r,onDotClick:i}){const s=xe(),l=s.__hd__.carousel.pagination,u=l.container,f=wt(s,l.dotSize);return y.jsx(X,{display:"flex",justifyContent:"center",alignItems:"center",mt:u.marginTop,p:u.padding,r:u.borderRadius,bgColor:u.backgroundColor,gap:u.gap,children:Array.from({length:t}).map((h,g)=>y.jsx(X,{width:f,height:f,r:l.dotBorderRadius,bgColor:g===r?l.activeColor:l.inactiveColor,cursor:"pointer",transition:"background-color 0.3s ease",onClick:()=>i(g)},`dot-${g}`))})}function V3({items:t,renderItem:r,showPagination:i=!0,showNavigation:s=!0,autoPlay:l=!1,autoScroll:u=!1,initialIndex:f=0,onIndexChange:h,keyExtractor:g,itemSpacing:v,itemsPerView:_=1,itemWidth:S,infiniteLoop:E=!1,...x},C){const F=xe(),{width:R}=zd(),I=F.__hd__.carousel,T=d.useMemo(()=>{if(t.length<=_)return t;const re=t.length%_;return re===0?t:t.slice(0,t.length-re)},[t,_]),[k,O]=d.useState(f),[M,N]=d.useState(f),V=d.useRef(null),Q=d.useRef(null),pe=d.useRef(null),Ce=d.useRef(!1),[Me,D]=d.useState(!1),[j,G]=d.useState(null),[le,te]=d.useState(0),oe=!!u,ee=oe?1:Math.max(1,_),ve=oe?void 0:j3(F,S),je=F.spaces[v||I.container.defaultItemSpacing]||0,ke=oe?!1:i,Oe=oe?!1:s,De=E&&!oe&&T.length>1,Ke=Math.max(0,T.length-ee),gt=Math.ceil(T.length/ee),Be=typeof l=="object"&&l.delay||3e3,it=d.useCallback(re=>{if(T.length===0)return 0;for(;re<0;)re+=T.length;return re%T.length},[T.length]),de=d.useCallback(re=>{if(!De)return{virtualIndex:re,realIndex:re,needsSnap:!1};let Ve=re,Pe=re,He=!1;return re<0||re>Ke?(Ve=T.length+re,Pe=it(re),He=!0):(Ve=T.length+re,Pe=re,He=!1),{virtualIndex:Ve,realIndex:Pe,needsSnap:He}},[De,T.length,Ke,it]),Se=d.useCallback(re=>{if(!De||!V.current)return;const Ve=T.length+re,Pe=fa(Ve,ee,je,ve);V.current.style.transition="none",V.current.style.transform=`translateX(${Pe})`,N(Ve),requestAnimationFrame(()=>{V.current&&(V.current.style.transition="")})},[De,T.length,ee,je,ve]),Re=d.useCallback(()=>{if(V.current){const re=window.getComputedStyle(V.current),Ve=new DOMMatrixReadOnly(re.transform);te(Ve.e)}},[]),ye=d.useCallback(re=>{const Ve=De?re:Math.max(0,Math.min(re,Ke)),Pe=de(Ve),He=Math.max(0,Math.min(Ve,Ke));if((He!==k||Me)&&(O(He),h==null||h(He)),V.current&&!oe){const Qe=Pe.virtualIndex;N(Qe);const _t=fa(Qe,ee,je,ve);V.current.style.transform=`translateX(${_t})`,V.current.style.transition="",queueMicrotask(()=>{Re()}),Pe.needsSnap&&(pe.current&&clearTimeout(pe.current),pe.current=setTimeout(()=>{Se(Pe.realIndex),O(Pe.realIndex),h==null||h(Pe.realIndex)},500))}},[De,Ke,k,h,oe,ee,je,ve,Re,Me,de,Se]),J=d.useCallback(()=>{E&&T.length>0?ye(k+ee):ye(Math.min(k+ee,Ke))},[E,k,ee,Ke,T.length,ye]),ce=d.useCallback(()=>{E&&T.length>0?ye(k-ee):ye(Math.max(k-ee,0))},[E,k,ee,T.length,ye]);d.useImperativeHandle(C,()=>({goToIndex:ye,goToNext:J,goToPrev:ce}));const Z=d.useCallback(()=>{Q.current&&clearTimeout(Q.current)},[]),ie=()=>{Ce.current=!0,l&&!oe&&Z(),oe&&V.current&&(V.current.style.animationPlayState="paused")},fe=d.useCallback(()=>{if(Ce.current=!1,l&&!oe&&!Me){Z();const re=(k+1)%T.length,Ve=Math.min(re,Ke);Q.current=setTimeout(()=>ye(Ve),Be)}oe&&V.current&&(V.current.style.animationPlayState="running")},[l,oe,Me,Z,k,T.length,Ke,Be,ye]),we=d.useCallback(re=>{oe||t.length<=ee||(pe.current&&(clearTimeout(pe.current),pe.current=null),Re(),Z(),D(!0),G(re),V.current&&(V.current.style.transition="none"))},[oe,Z,t.length,ee,Re]),We=d.useCallback(re=>{if(!Me||j===null||oe||!V.current)return;const Ve=re-j;V.current.style.transform=`translateX(${le+Ve}px)`},[Me,j,oe,le]),Xe=d.useCallback(()=>{if(!Me||j===null||oe)return;D(!1);let re=ve;!re&&V.current&&V.current.firstChild&&(re=V.current.firstChild.clientWidth),!re&&V.current&&(re=V.current.clientWidth/ee);const Ve=(re||0)/3;if(V.current){const Pe=window.getComputedStyle(V.current),_t=new DOMMatrixReadOnly(Pe.transform).e-le;V.current.style.transition="",Math.abs(_t)>Ve?_t<0?J():ce():ye(k)}G(null),l&&!Ce.current&&(Q.current=setTimeout(()=>J(),Be))},[Me,j,oe,ve,ee,J,ce,k,l,Be,le,ye]),tt=Math.floor(k/ee),nt=re=>ye(re*ee);d.useEffect(()=>{if(!l||oe||Ce.current||Me){Z();return}const re=(k+1)%T.length,Ve=Math.min(re,Ke);return Q.current=setTimeout(()=>ye(Ve),Be),Z},[k,l,Be,ye,Z,oe,T.length,Ke,Me]),d.useEffect(()=>{if(!yt()){if(De){const re=T.length+f;if(N(re),V.current){const Ve=fa(re,ee,je,ve);V.current.style.transform=`translateX(${Ve})`,V.current.style.transition="none",requestAnimationFrame(()=>{V.current&&(V.current.style.transition="")})}}ye(f)}},[R,f,De,T.length,ee,je,ve]),d.useEffect(()=>()=>{Q.current&&clearTimeout(Q.current),pe.current&&clearTimeout(pe.current)},[]);const ot=()=>{Me&&V.current&&Xe(),fe()};return y.jsxs(X,{fw:!0,overflow:"hidden",onMouseEnter:ie,onMouseLeave:ot,onTouchStart:re=>we(re.touches[0].clientX),onTouchMove:re=>We(re.touches[0].clientX),onTouchEnd:Xe,onMouseDown:re=>{re.button===0&&we(re.clientX)},onMouseMove:re=>{re.buttons===1&&Me&&We(re.clientX)},onMouseUp:re=>{re.button===0&&Me&&Xe()},display:"flex",flexDirection:"column",alignItems:"center",...x,children:[y.jsxs(X,{position:"relative",display:"flex",justifyContent:"center",alignItems:"center",fw:!0,children:[y.jsx(W3,{itemsWrapperRef:V,itemSpacing:v,activeIndex:k,virtualActiveIndex:M,items:T,renderItem:r,keyExtractor:g,autoScroll:u,itemsPerView:ee,itemWidth:ve,infiniteLoop:E}),Oe&&t.length>ee&&y.jsx(X,{position:"absolute",left:0,top:"50%",transform:"translateY(-50%)",children:y.jsx(gf,{isLeft:!0,onPrev:ce,onNext:J})}),Oe&&t.length>ee&&y.jsx(X,{position:"absolute",right:0,top:"50%",transform:"translateY(-50%)",children:y.jsx(gf,{isLeft:!1,onPrev:ce,onNext:J})})]}),ke&&gt>1&&y.jsx(Z3,{itemsCount:gt,activeIndex:tt,onDotClick:nt})]})}const N3=d.forwardRef(V3);function U3({renderContent:t,isExpanded:r}){const s=xe().__hd__.accordion,l=s.animation,u=d.useRef(null),[f,h]=d.useState(0);return d.useEffect(()=>{r&&u.current&&h(u.current.scrollHeight)},[r,t]),y.jsx(X,{overflow:"hidden",transition:`height ${l.duration}ms ${l.easing},
293
+ opacity ${l.duration}ms ${l.easing}`,height:r?f:0,opacity:r?1:0,children:y.jsx(X,{ref:u,pt:s.gap,children:t()})})}const q3=ae(gi)`
294
+ transition: transform ${({$duration:t,$easing:r})=>`${t}ms ${r}`};
295
+ transform: rotate(${({$isExpanded:t})=>t?"90deg":"0deg"});
292
296
  flex-shrink: 0; /* Prevent icon from shrinking */
293
- `;function zw({renderHeader:n,isExpanded:r,onToggle:i,disabled:s,iconPosition:l="left"}){const u=_e(),f=u.__hd__.accordion,d=f.header,g=f.animation,v=wt(u,d.iconSize),C=u.colors[d.iconColor]||d.iconColor,S=y.jsx(Jt,{onClick:s?void 0:i,cursor:s?"not-allowed":"pointer",opacity:s?d.disabledOpacity:1,children:y.jsx(Fw,{size:v,color:C,weight:"bold",$isExpanded:r,$duration:g.duration,$easing:g.easing})});return y.jsx(Jt,{onClick:s?void 0:i,cursor:s?"not-allowed":"pointer",opacity:s?d.disabledOpacity:1,useScaleAnimation:!1,children:y.jsxs(X,{display:"flex",alignItems:"center",gap:l==="none"?void 0:d.gap,children:[l==="left"&&S,y.jsx(X,{flex:1,children:n(r)}),l==="right"&&S]})})}function jw({renderHeader:n,renderContent:r,initialExpanded:i=!1,expanded:s,onExpandedChange:l,disabled:u=!1,iconPosition:f="left",...d}){const v=_e().__hd__.accordion,C=s!==void 0,[S,E]=h.useState(i),w=C?s:S;h.useEffect(()=>{C&&E(s)},[C,s]);const _=h.useCallback(()=>{if(u)return;const O=!w;C||E(O),l==null||l(O)},[u,w,C,l]);return y.jsxs(X,{p:v.paddingVertical,px:v.paddingHorizontal,r:v.borderRadius,b:v.borderWidth,borderColor:v.borderColor,bgColor:v.backgroundColor,...d,children:[y.jsx(zw,{renderHeader:n,isExpanded:w,onToggle:_,disabled:u,iconPosition:f}),y.jsx(Mw,{renderContent:r,isExpanded:w})]})}const t0=(n,r,i,s)=>i?n.colors[i]:s==="solid"?r==="white"?n.colors.grey900:n.colors.white:n.colors[r],Bw=ae(X)`
297
+ `;function G3({renderHeader:t,isExpanded:r,onToggle:i,disabled:s,iconPosition:l="left"}){const u=xe(),f=u.__hd__.accordion,h=f.header,g=f.animation,v=wt(u,h.iconSize),_=u.colors[h.iconColor]||h.iconColor,S=y.jsx(Jt,{onClick:s?void 0:i,cursor:s?"not-allowed":"pointer",opacity:s?h.disabledOpacity:1,children:y.jsx(q3,{size:v,color:_,weight:"bold",$isExpanded:r,$duration:g.duration,$easing:g.easing})});return y.jsx(Jt,{onClick:s?void 0:i,cursor:s?"not-allowed":"pointer",opacity:s?h.disabledOpacity:1,useScaleAnimation:!1,children:y.jsxs(X,{display:"flex",alignItems:"center",gap:l==="none"?void 0:h.gap,children:[l==="left"&&S,y.jsx(X,{flex:1,children:t(r)}),l==="right"&&S]})})}function K3({renderHeader:t,renderContent:r,initialExpanded:i=!1,expanded:s,onExpandedChange:l,disabled:u=!1,iconPosition:f="left",...h}){const v=xe().__hd__.accordion,_=s!==void 0,[S,E]=d.useState(i),x=_?s:S;d.useEffect(()=>{_&&E(s)},[_,s]);const C=d.useCallback(()=>{if(u)return;const F=!x;_||E(F),l==null||l(F)},[u,x,_,l]);return y.jsxs(X,{p:v.paddingVertical,px:v.paddingHorizontal,r:v.borderRadius,b:v.borderWidth,borderColor:v.borderColor,bgColor:v.backgroundColor,...h,children:[y.jsx(G3,{renderHeader:t,isExpanded:x,onToggle:C,disabled:u,iconPosition:f}),y.jsx(U3,{renderContent:r,isExpanded:x})]})}const o0=(t,r,i,s)=>i?t.colors[i]:s==="solid"?r==="white"?t.colors.grey900:t.colors.white:t.colors[r],X3=ae(X)`
294
298
  display: inline-flex; /* Use inline-flex to allow tags to flow like text */
295
299
  align-items: center;
296
300
  justify-content: center;
297
301
  white-space: nowrap; /* Prevent text wrapping */
298
- border-width: ${({theme:n})=>n.borderWidths.thin}px; /* Use thin border for outlined */
302
+ border-width: ${({theme:t})=>t.borderWidths.thin}px; /* Use thin border for outlined */
299
303
  border-style: solid;
300
- gap: ${({theme:n,$gap:r})=>n.spaces[r]}px;
301
- padding: ${({theme:n,$paddingVertical:r,$paddingHorizontal:i})=>`${n.spaces[r]}px ${n.spaces[i]}px`};
304
+ gap: ${({theme:t,$gap:r})=>t.spaces[r]}px;
305
+ padding: ${({theme:t,$paddingVertical:r,$paddingHorizontal:i})=>`${t.spaces[r]}px ${t.spaces[i]}px`};
302
306
 
303
- border-radius: ${({theme:n,$radius:r})=>Af(r)?`${n.radii[r]}px`:r};
307
+ border-radius: ${({theme:t,$radius:r})=>kf(r)?`${t.radii[r]}px`:r};
304
308
 
305
- background-color: ${({theme:n,$variant:r,$color:i})=>r==="solid"?n.colors[i]:n.colors.transparent};
309
+ background-color: ${({theme:t,$variant:r,$color:i})=>r==="solid"?t.colors[i]:t.colors.transparent};
306
310
 
307
- border-color: ${({theme:n,$variant:r,$color:i})=>r==="outlined"?n.colors[i]:n.colors.transparent};
308
- `,Pw=ae(ht)`
309
- color: ${({theme:n,$color:r,$textColor:i,$variant:s})=>t0(n,r,i,s)};
310
- font-size: ${({theme:n,$fontSize:r})=>n.__hd__.text.fontSizes[r]}px;
311
+ border-color: ${({theme:t,$variant:r,$color:i})=>r==="outlined"?t.colors[i]:t.colors.transparent};
312
+ `,Y3=ae(ht)`
313
+ color: ${({theme:t,$color:r,$textColor:i,$variant:s})=>o0(t,r,i,s)};
314
+ font-size: ${({theme:t,$fontSize:r})=>t.__hd__.text.fontSizes[r]}px;
311
315
  /* Use medium weight for tags by default, can be customized via theme if needed */
312
- font-weight: ${({theme:n})=>n.__hd__.text.fontWeights.medium};
316
+ font-weight: ${({theme:t})=>t.__hd__.text.fontWeights.medium};
313
317
  line-height: 1; /* Ensure tight line height for tags */
314
- `,Ww=({variant:n,color:r,textColor:i,size:s,radius:l,icon:u,rightIcon:f,children:d,style:g,"data-testid":v,...C})=>{const S=_e(),E=S.__hd__.tag,w=n??E.defaultVariant,_=r??E.defaultColor,O=s??E.defaultSize,R=l??E.defaultRadius,M=t0(S,_,i,w),T=h.useMemo(()=>E.sizes[O],[E.sizes,O]);return y.jsxs(Bw,{$variant:w,$color:_,$textColor:i,$size:O,$radius:R,$paddingVertical:T.paddingVertical,$paddingHorizontal:T.paddingHorizontal,$fontSize:T.fontSize,$gap:T.gap,$iconSize:T.iconSize,style:g,"data-testid":v,...C,children:[u&&y.jsx(Qt,{type:"icon",art:u,size:T.iconSize,color:M,weight:"regular"}),y.jsx(Pw,{$color:_,$textColor:i,$variant:w,$fontSize:T.fontSize,as:"span",children:d}),f&&y.jsx(Qt,{type:"icon",art:f,size:T.iconSize,color:M,weight:"regular"})]})},Dw=({label:n,checked:r,onChange:i,disabled:s=!1,color:l,size:u,style:f,"data-testid":d})=>{const g=_e(),v=g.__hd__.checkbox,[C,S]=h.useState(r);h.useEffect(()=>{S(r)},[r]);const E=l??v.defaultColor,w=u??v.defaultSize,_=v.sizes[w],O=v.animation,R=wt(g,_.iconSize),M=C?E:"white",T=C?E:v.uncheckedBorderColor,k=s?v.disabledColor:M,I=s?v.disabledColor:T,P=()=>{if(s)return;const U=!C;S(U),i(U)};return y.jsxs(Jt,{onClick:s?void 0:P,style:f,"data-testid":d,useScaleAnimation:!1,useOpacityAnimation:!1,display:"inline-flex",alignItems:"center",cursor:s?"not-allowed":"pointer",children:[y.jsx(X,{display:"flex",alignItems:"center",justifyContent:"center",borderRadius:_.borderRadius,borderWidth:_.borderWidth,borderColor:I,backgroundColor:k,filter:s?"opacity(0.5)":"none",transition:`background-color ${O.duration}ms ${O.easing}, border-color ${O.duration}ms ${O.easing}`,children:y.jsx(Qt,{type:"icon",art:Ed,size:R,color:g.colors[v.iconColor],weight:"bold",opacity:C?1:0,transition:`opacity ${O.duration}ms ${O.easing}`,margin:_.iconMargin})}),n&&y.jsx(X,{pl:_.labelPaddingLeft,children:y.jsx(ht,{fontSize:_.labelFontSize,color:s?v.disabledTextColor:v.textColor,as:"span",children:n})})]})};function n0({value:n,onChange:r,disabled:i=!1}){const[s,l]=h.useState(!1),[u,f]=h.useState(!1),[d,g]=h.useState(n),v=h.useRef(null);h.useEffect(()=>{g(n)},[n]);const C=h.useCallback(()=>{i||l(w=>!w)},[i]),S=h.useCallback(w=>{w.disabled||(g(w.value),r==null||r(w.value),l(!1))},[r]),E=h.useCallback(()=>{l(!1)},[]);return{isOpen:s,setIsOpen:l,isHovering:u,setIsHovering:f,selectedValue:d,selectRef:v,handleToggle:C,handleSelect:S,handleClose:E}}function r0({option:n,isSelected:r,isDisabled:i,onSelect:s,sizeConfig:l,themeSelect:u,animation:f}){const d=h.useRef(null),g=$o(d),v=u.dropdown;let C=v.backgroundColor;r?C=v.itemSelectedBackgroundColor:g&&!i&&(C=v.itemHoverBackgroundColor);const S=i?u.disabledContentColor:r?v.itemSelectedTextColor:v.itemTextColor;return y.jsx(Jt,{ref:d,onClick:()=>!i&&s(n),useScaleAnimation:!1,useOpacityAnimation:!1,cursor:i?"not-allowed":"pointer",fw:!0,children:y.jsx(X,{p:l.dropdownPaddingVertical,px:l.dropdownPaddingHorizontal,bgColor:C,transition:`background-color ${f.duration}ms ${f.easing}`,opacity:i?u.disabledOpacity:1,display:"block",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",children:y.jsx(ht,{fontSize:l.fontSize,color:S,fontWeight:r?"semibold":"regular",as:"span",children:n.label})})},n.value)}function Hw({anchorElement:n,isOpen:r,options:i,onSelect:s,selectedValue:l,onClose:u,size:f,borderRadius:d}){const g=_e(),v=g.__hd__.select,C=v.dropdown,S=h.useRef(null),E=v.sizes[f],w=v.animation,_=n.getBoundingClientRect(),O=g.spaces[C.offset];return h.useEffect(()=>{const R=M=>{S.current&&!S.current.contains(M.target)&&n&&!n.contains(M.target)&&u()};return r?document.addEventListener("mousedown",R):document.removeEventListener("mousedown",R),()=>{document.removeEventListener("mousedown",R)}},[r,u,n]),At()?null:Zv.createPortal(y.jsx(X,{ref:S,bgColor:C.backgroundColor,b:C.borderColor!=="transparent"?E.borderWidth:"none",borderColor:C.borderColor,boxShadow:C.shadow,position:"absolute",top:`${_.bottom+window.scrollY+O}px`,left:`${_.left+window.scrollX}px`,width:`${_.width}px`,zIndex:g.zIndex.getZIndex("AIC_Kits_Dropdown"),opacity:r?1:0,maxHeight:r?C.maxHeight:0,overflowY:"auto",transition:`opacity ${w.duration}ms ${w.easing},max-height ${w.duration}ms ${w.easing}`,onClick:R=>R.stopPropagation(),onMouseDown:R=>R.stopPropagation(),style:{borderRadius:d},children:i.length>0?i.map(R=>{const M=R.value===l,T=!!R.disabled;return y.jsx(r0,{option:R,isSelected:M,isDisabled:T,onSelect:s,sizeConfig:E,themeSelect:v,animation:w},R.value)}):y.jsx(X,{p:E.dropdownPaddingVertical,px:E.dropdownPaddingHorizontal,children:y.jsx(ht,{fontSize:E.fontSize,color:C.emptyTextColor,as:"span",children:"No options available"})})}),document.body)}const Zw=({fontSize:n,color:r,...i})=>{const s=_e(),l={border:"none",backgroundColor:"transparent",outline:"none",width:"100%",fontFamily:"inherit",padding:0,fontSize:s.__hd__.text.fontSizes[n],color:s.colors[r]};return y.jsx("input",{style:l,...i})},i0=({placeholder:n,selectedOptionLabel:r,isOpen:i,isDisabled:s,handleToggle:l,iconSizePx:u,inputBorderRadius:f,sizeConfig:d,animation:g,currentBgColor:v,currentBorderColor:C,baseBorderWidthKey:S,insetBoxShadow:E,textColor:w,iconColor:_,testId:O,setIsHovering:R,searchable:M,searchTerm:T,onSearchChange:k})=>{const I=i&&M;return y.jsx(Jt,{onClick:l,cursor:s?"not-allowed":"pointer",useScaleAnimation:!1,useOpacityAnimation:!1,"data-testid":O,onMouseEnter:()=>R(!0),onMouseLeave:()=>R(!1),children:y.jsxs(X,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",p:d.paddingVertical,px:d.paddingHorizontal,b:S,borderColor:C,bgColor:v,opacity:1,transition:`background-color ${g.duration}ms ${g.easing}, border-color ${g.duration}ms ${g.easing}, box-shadow ${g.duration}ms ${g.easing}`,gap:d.gap,style:{borderRadius:f,boxShadow:E},children:[y.jsx(X,{flex:1,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",children:I?y.jsx(Zw,{value:T,onChange:P=>k(P.target.value),placeholder:n,onClick:P=>P.stopPropagation(),autoFocus:!0,fontSize:d.fontSize,color:w}):y.jsx(ht,{fontSize:d.fontSize,color:w,as:"span",children:r||n})}),y.jsx(Qt,{type:"icon",art:Ra,size:u,color:_,weight:"bold",transition:`transform ${g.duration}ms ${g.easing}`,transform:i?"rotate(180deg)":"rotate(0deg)"})]})})};function o0({theme:n,themeSelect:r,variant:i,isDisabled:s,isErrored:l,isOpen:u,isHovering:f,focusColor:d}){const g=r.variants[i],v="thin",C=n.borderWidths[v];let S;s?S=g.disabled:l?S=g.errored:u?S={...g.focused,borderColor:d}:f?S=g.hover:S=g.default;let E="none";if(!s&&!l&&u){const w=g.focused.borderWidth,_=n.borderWidths[w],O=Math.max(0,_-C);if(O>0){const R=n.colors[d];E=`inset 0 0 0 ${O}px ${R}`}}return{backgroundColor:S.backgroundColor,borderColor:S.borderColor,borderWidth:v,insetBoxShadow:E}}const Nw=({options:n,value:r,onChange:i,placeholder:s="Select an option",label:l,helperText:u,error:f,disabled:d=!1,variant:g="outlined",color:v,size:C,corner:S,style:E,"data-testid":w,searchable:_=!1})=>{var ye;const O=_e(),R=O.__hd__.select,[M,T]=h.useState(""),{isOpen:k,isHovering:I,selectedValue:P,selectRef:U,handleToggle:N,handleSelect:Q,handleClose:pe,setIsHovering:Ce}=n0({value:r,onChange:i,disabled:d});h.useEffect(()=>{k&&T("")},[k]);const Me=h.useMemo(()=>M?n.filter(J=>J.label.toLowerCase().includes(M.toLowerCase())):n,[n,M]),D=v??R.defaultColor,z=C??R.defaultSize,G=S??R.defaultCorner,le=R.sizes[z],te=R.animation,oe=R.squircleBorderRadii[G],ee=G==="circle"?R.dropdown.borderRadiusForCircle:R.dropdown.borderRadiusForRounded,ve=O.radii[ee],je=!!f,ke=d,{backgroundColor:Ie,borderColor:De,borderWidth:Ke,insetBoxShadow:gt}=o0({theme:O,themeSelect:R,variant:g,isDisabled:ke,isErrored:je,isOpen:k,isHovering:I,focusColor:D}),Be=ke?R.disabledContentColor:R.iconColor,it=ke?R.disabledContentColor:P!=null?R.valueColor:R.placeholderColor,de=ke?R.disabledLabelColor:R.labelColor,Se=(ye=n.find(J=>J.value===P))==null?void 0:ye.label,Re=wt(O,le.iconSize);return y.jsxs(X,{fw:!0,style:E,position:"relative",ref:U,children:[l&&y.jsx(X,{mb:"xs",children:y.jsx(ht,{fontWeight:"medium",color:de,children:l})}),y.jsx(i0,{placeholder:s,selectedOptionLabel:Se,isOpen:k,isDisabled:ke,handleToggle:N,iconSizePx:Re,inputBorderRadius:oe,sizeConfig:le,animation:te,currentBgColor:Ie,currentBorderColor:De,baseBorderWidthKey:Ke,insetBoxShadow:gt,textColor:it,iconColor:Be,testId:w,setIsHovering:Ce,searchable:_,searchTerm:M,onSearchChange:T}),(f||u)&&y.jsx(X,{children:y.jsx(ht,{fontSize:"xs",color:f?R.errorColor:R.helperTextColor,as:"span",children:f||u})}),U.current&&y.jsx(Hw,{anchorElement:U.current,isOpen:k,options:Me,onSelect:Q,selectedValue:P,onClose:pe,size:z,borderRadius:`${ve}px`})]})},pf=h.createContext({columns:12}),uo={xs:0,sm:600,md:900,lg:1200,xl:1536},gf=(n,r)=>ze.isNumber(r)?`${r}px`:Rf(r)?`${n.spaces[r]??0}px`:r,$r=(n,r)=>{if(r!==void 0)if(ze.isObject(r)){const i={};for(const s in r){const l=s,u=r[l];u!==void 0&&(i[l]=gf(n,u))}return i}else return gf(n,r)},Vw=(n,r)=>{if(n<1||n>r)return console.warn(`AIC-Kits Grid: Size prop should be between 1 and ${r}. Received ${n}.`),"auto";const i=n/r,s=1-i,l=(i*100).toFixed(6).replace(/\.0+$/,""),u=s.toFixed(6).replace(/\.0+$/,"");return`calc(${l}% - ${u} * var(--grid-column-gap, 0px))`},Uw=(n,r)=>{if(n<1||n>r-1)return console.warn(`AIC-Kits Grid: Offset prop should be between 1 and ${r-1}. Received ${n}.`),"0";const i=n/r,s=-i,l=(i*100).toFixed(6).replace(/\.0+$/,""),u=s.toFixed(6).replace(/\.0+$/,"");return`calc(${l}% - ${u} * var(--grid-column-gap, 0px))`},qw=({sizeValue:n,offsetValue:r,currentTotalColumns:i})=>{let s="";if(n==="auto")s+=`
318
+ `,Q3=({variant:t,color:r,textColor:i,size:s,radius:l,icon:u,rightIcon:f,children:h,style:g,"data-testid":v,..._})=>{const S=xe(),E=S.__hd__.tag,x=t??E.defaultVariant,C=r??E.defaultColor,F=s??E.defaultSize,R=l??E.defaultRadius,I=o0(S,C,i,x),T=d.useMemo(()=>E.sizes[F],[E.sizes,F]);return y.jsxs(X3,{$variant:x,$color:C,$textColor:i,$size:F,$radius:R,$paddingVertical:T.paddingVertical,$paddingHorizontal:T.paddingHorizontal,$fontSize:T.fontSize,$gap:T.gap,$iconSize:T.iconSize,style:g,"data-testid":v,..._,children:[u&&y.jsx(Ht,{type:"icon",art:u,size:T.iconSize,color:I,weight:"regular"}),y.jsx(Y3,{$color:C,$textColor:i,$variant:x,$fontSize:T.fontSize,as:"span",children:h}),f&&y.jsx(Ht,{type:"icon",art:f,size:T.iconSize,color:I,weight:"regular"})]})},J3=({label:t,checked:r,onChange:i,disabled:s=!1,color:l,size:u,style:f,"data-testid":h})=>{const g=xe(),v=g.__hd__.checkbox,[_,S]=d.useState(r);d.useEffect(()=>{S(r)},[r]);const E=l??v.defaultColor,x=u??v.defaultSize,C=v.sizes[x],F=v.animation,R=wt(g,C.iconSize),I=_?E:"white",T=_?E:v.uncheckedBorderColor,k=s?v.disabledColor:I,O=s?v.disabledColor:T,M=()=>{if(s)return;const N=!_;S(N),i(N)};return y.jsxs(Jt,{onClick:s?void 0:M,style:f,"data-testid":h,useScaleAnimation:!1,useOpacityAnimation:!1,display:"inline-flex",alignItems:"center",cursor:s?"not-allowed":"pointer",children:[y.jsx(X,{display:"flex",alignItems:"center",justifyContent:"center",borderRadius:C.borderRadius,borderWidth:C.borderWidth,borderColor:O,backgroundColor:k,filter:s?"opacity(0.5)":"none",transition:`background-color ${F.duration}ms ${F.easing}, border-color ${F.duration}ms ${F.easing}`,children:y.jsx(Ht,{type:"icon",art:$d,size:R,color:g.colors[v.iconColor],weight:"bold",opacity:_?1:0,transition:`opacity ${F.duration}ms ${F.easing}`,margin:C.iconMargin})}),t&&y.jsx(X,{pl:C.labelPaddingLeft,children:y.jsx(ht,{fontSize:C.labelFontSize,color:s?v.disabledTextColor:v.textColor,as:"span",children:t})})]})};function s0({value:t,onChange:r,disabled:i=!1}){const[s,l]=d.useState(!1),[u,f]=d.useState(!1),[h,g]=d.useState(t),v=d.useRef(null);d.useEffect(()=>{g(t)},[t]);const _=d.useCallback(()=>{i||l(x=>!x)},[i]),S=d.useCallback(x=>{x.disabled||(g(x.value),r==null||r(x.value),l(!1))},[r]),E=d.useCallback(()=>{l(!1)},[]);return{isOpen:s,setIsOpen:l,isHovering:u,setIsHovering:f,selectedValue:h,selectRef:v,handleToggle:_,handleSelect:S,handleClose:E}}function a0({option:t,isSelected:r,isDisabled:i,onSelect:s,sizeConfig:l,themeSelect:u,animation:f}){const h=d.useRef(null),g=$o(h),v=u.dropdown;let _=v.backgroundColor;r?_=v.itemSelectedBackgroundColor:g&&!i&&(_=v.itemHoverBackgroundColor);const S=i?u.disabledContentColor:r?v.itemSelectedTextColor:v.itemTextColor;return y.jsx(Jt,{ref:h,onClick:()=>!i&&s(t),useScaleAnimation:!1,useOpacityAnimation:!1,cursor:i?"not-allowed":"pointer",fw:!0,children:y.jsx(X,{p:l.dropdownPaddingVertical,px:l.dropdownPaddingHorizontal,bgColor:_,transition:`background-color ${f.duration}ms ${f.easing}`,opacity:i?u.disabledOpacity:1,display:"block",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",children:y.jsx(ht,{fontSize:l.fontSize,color:S,fontWeight:r?"semibold":"regular",as:"span",children:t.label})})},t.value)}function ex({anchorElement:t,isOpen:r,options:i,onSelect:s,selectedValue:l,onClose:u,size:f,borderRadius:h}){const g=xe(),v=g.__hd__.select,_=v.dropdown,S=d.useRef(null),E=v.sizes[f],x=v.animation,C=t.getBoundingClientRect(),F=g.spaces[_.offset];return d.useEffect(()=>{const R=I=>{S.current&&!S.current.contains(I.target)&&t&&!t.contains(I.target)&&u()};return r?document.addEventListener("mousedown",R):document.removeEventListener("mousedown",R),()=>{document.removeEventListener("mousedown",R)}},[r,u,t]),yt()?null:q8.createPortal(y.jsx(X,{ref:S,bgColor:_.backgroundColor,b:_.borderColor!=="transparent"?E.borderWidth:"none",borderColor:_.borderColor,boxShadow:_.shadow,position:"absolute",top:`${C.bottom+window.scrollY+F}px`,left:`${C.left+window.scrollX}px`,width:`${C.width}px`,zIndex:g.zIndex.getZIndex("AIC_Kits_Dropdown"),opacity:r?1:0,maxHeight:r?_.maxHeight:0,overflowY:"auto",transition:`opacity ${x.duration}ms ${x.easing},max-height ${x.duration}ms ${x.easing}`,onClick:R=>R.stopPropagation(),onMouseDown:R=>R.stopPropagation(),style:{borderRadius:h},children:i.length>0?i.map(R=>{const I=R.value===l,T=!!R.disabled;return y.jsx(a0,{option:R,isSelected:I,isDisabled:T,onSelect:s,sizeConfig:E,themeSelect:v,animation:x},R.value)}):y.jsx(X,{p:E.dropdownPaddingVertical,px:E.dropdownPaddingHorizontal,children:y.jsx(ht,{fontSize:E.fontSize,color:_.emptyTextColor,as:"span",children:"No options available"})})}),document.body)}const tx=({fontSize:t,color:r,...i})=>{const s=xe(),l={border:"none",backgroundColor:"transparent",outline:"none",width:"100%",fontFamily:"inherit",padding:0,fontSize:s.__hd__.text.fontSizes[t],color:s.colors[r]};return y.jsx("input",{style:l,...i})},l0=({placeholder:t,selectedOptionLabel:r,isOpen:i,isDisabled:s,handleToggle:l,iconSizePx:u,inputBorderRadius:f,sizeConfig:h,animation:g,currentBgColor:v,currentBorderColor:_,baseBorderWidthKey:S,insetBoxShadow:E,textColor:x,iconColor:C,testId:F,setIsHovering:R,searchable:I,searchTerm:T,onSearchChange:k})=>{const O=i&&I;return y.jsx(Jt,{onClick:l,cursor:s?"not-allowed":"pointer",useScaleAnimation:!1,useOpacityAnimation:!1,"data-testid":F,onMouseEnter:()=>R(!0),onMouseLeave:()=>R(!1),children:y.jsxs(X,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",p:h.paddingVertical,px:h.paddingHorizontal,b:S,borderColor:_,bgColor:v,opacity:1,transition:`background-color ${g.duration}ms ${g.easing}, border-color ${g.duration}ms ${g.easing}, box-shadow ${g.duration}ms ${g.easing}`,gap:h.gap,style:{borderRadius:f,boxShadow:E},children:[y.jsx(X,{flex:1,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",children:O?y.jsx(tx,{value:T,onChange:M=>k(M.target.value),placeholder:t,onClick:M=>M.stopPropagation(),autoFocus:!0,fontSize:h.fontSize,color:x}):y.jsx(ht,{fontSize:h.fontSize,color:x,as:"span",children:r||t})}),y.jsx(Ht,{type:"icon",art:La,size:u,color:C,weight:"bold",transition:`transform ${g.duration}ms ${g.easing}`,transform:i?"rotate(180deg)":"rotate(0deg)"})]})})};function u0({theme:t,themeSelect:r,variant:i,isDisabled:s,isErrored:l,isOpen:u,isHovering:f,focusColor:h}){const g=r.variants[i],v="thin",_=t.borderWidths[v];let S;s?S=g.disabled:l?S=g.errored:u?S={...g.focused,borderColor:h}:f?S=g.hover:S=g.default;let E="none";if(!s&&!l&&u){const x=g.focused.borderWidth,C=t.borderWidths[x],F=Math.max(0,C-_);if(F>0){const R=t.colors[h];E=`inset 0 0 0 ${F}px ${R}`}}return{backgroundColor:S.backgroundColor,borderColor:S.borderColor,borderWidth:v,insetBoxShadow:E}}const nx=({options:t,value:r,onChange:i,placeholder:s="Select an option",label:l,helperText:u,error:f,disabled:h=!1,variant:g="outlined",color:v,size:_,corner:S,style:E,"data-testid":x,searchable:C=!1})=>{var ye;const F=xe(),R=F.__hd__.select,[I,T]=d.useState(""),{isOpen:k,isHovering:O,selectedValue:M,selectRef:N,handleToggle:V,handleSelect:Q,handleClose:pe,setIsHovering:Ce}=s0({value:r,onChange:i,disabled:h});d.useEffect(()=>{k&&T("")},[k]);const Me=d.useMemo(()=>I?t.filter(J=>J.label.toLowerCase().includes(I.toLowerCase())):t,[t,I]),D=v??R.defaultColor,j=_??R.defaultSize,G=S??R.defaultCorner,le=R.sizes[j],te=R.animation,oe=R.squircleBorderRadii[G],ee=G==="circle"?R.dropdown.borderRadiusForCircle:R.dropdown.borderRadiusForRounded,ve=F.radii[ee],je=!!f,ke=h,{backgroundColor:Oe,borderColor:De,borderWidth:Ke,insetBoxShadow:gt}=u0({theme:F,themeSelect:R,variant:g,isDisabled:ke,isErrored:je,isOpen:k,isHovering:O,focusColor:D}),Be=ke?R.disabledContentColor:R.iconColor,it=ke?R.disabledContentColor:M!=null?R.valueColor:R.placeholderColor,de=ke?R.disabledLabelColor:R.labelColor,Se=(ye=t.find(J=>J.value===M))==null?void 0:ye.label,Re=wt(F,le.iconSize);return y.jsxs(X,{fw:!0,style:E,position:"relative",ref:N,children:[l&&y.jsx(X,{mb:"xs",children:y.jsx(ht,{fontWeight:"medium",color:de,children:l})}),y.jsx(l0,{placeholder:s,selectedOptionLabel:Se,isOpen:k,isDisabled:ke,handleToggle:V,iconSizePx:Re,inputBorderRadius:oe,sizeConfig:le,animation:te,currentBgColor:Oe,currentBorderColor:De,baseBorderWidthKey:Ke,insetBoxShadow:gt,textColor:it,iconColor:Be,testId:x,setIsHovering:Ce,searchable:C,searchTerm:I,onSearchChange:T}),(f||u)&&y.jsx(X,{children:y.jsx(ht,{fontSize:"xs",color:f?R.errorColor:R.helperTextColor,as:"span",children:f||u})}),N.current&&y.jsx(ex,{anchorElement:N.current,isOpen:k,options:Me,onSelect:Q,selectedValue:M,onClose:pe,size:j,borderRadius:`${ve}px`})]})},mf=d.createContext({columns:12}),co={xs:0,sm:600,md:900,lg:1200,xl:1536},vf=(t,r)=>ze.isNumber(r)?`${r}px`:Of(r)?`${t.spaces[r]??0}px`:r,$r=(t,r)=>{if(r!==void 0)if(ze.isObject(r)){const i={};for(const s in r){const l=s,u=r[l];u!==void 0&&(i[l]=vf(t,u))}return i}else return vf(t,r)},rx=(t,r)=>{if(t<1||t>r)return console.warn(`AIC-Kits Grid: Size prop should be between 1 and ${r}. Received ${t}.`),"auto";const i=t/r,s=1-i,l=(i*100).toFixed(6).replace(/\.0+$/,""),u=s.toFixed(6).replace(/\.0+$/,"");return`calc(${l}% - ${u} * var(--grid-column-gap, 0px))`},ix=(t,r)=>{if(t<1||t>r-1)return console.warn(`AIC-Kits Grid: Offset prop should be between 1 and ${r-1}. Received ${t}.`),"0";const i=t/r,s=-i,l=(i*100).toFixed(6).replace(/\.0+$/,""),u=s.toFixed(6).replace(/\.0+$/,"");return`calc(${l}% - ${u} * var(--grid-column-gap, 0px))`},ox=({sizeValue:t,offsetValue:r,currentTotalColumns:i})=>{let s="";if(t==="auto")s+=`
315
319
  flex-basis: auto;
316
320
  flex-grow: 0;
317
321
  flex-shrink: 0; /* Prevent shrinking below content size */
318
322
  max-width: none; /* Allow content to define width */
319
323
  width: auto; /* Explicit width auto */
320
- `;else if(n==="grow")s+=`
324
+ `;else if(t==="grow")s+=`
321
325
  flex-basis: 0; /* Basis 0 allows grow */
322
326
  flex-grow: 1;
323
327
  max-width: 100%; /* Can grow up to 100% */
324
328
  width: auto; /* Let flexbox handle width */
325
- `;else if(typeof n=="number"){const l=Vw(n,i);s+=`
329
+ `;else if(typeof t=="number"){const l=rx(t,i);s+=`
326
330
  flex-basis: ${l};
327
331
  flex-grow: 0;
328
332
  flex-shrink: 0; /* Prevent shrinking when space is tight */
329
- `}return r==="auto"?s+="margin-left: auto;":typeof r=="number"?s+=`margin-left: ${Uw(r,i)};`:s+="margin-left: 0;",s},Gw=({size:n,offset:r,columnsContext:i})=>{let s="";const l=typeof i=="object"?i:{xs:i},u=typeof n=="object"?n:{xs:n},f=typeof r=="object"?r:{xs:r},d=Array.from(new Set([...Object.keys(uo),...ze.isObject(u)?Object.keys(u):[],...ze.isObject(f)?Object.keys(f):[],...ze.isObject(l)?Object.keys(l):[]]));d.sort((v,C)=>uo[v]-uo[C]);let g=typeof(l==null?void 0:l.xs)=="number"?l.xs:12;for(const v of d){l[v]!==void 0&&(g=l[v]);const C=u[v],S=f[v];if(C!==void 0||S!==void 0||v==="xs"||l[v]!==void 0){const E=qw({sizeValue:C??u.xs,offsetValue:S??f.xs,currentTotalColumns:g});if(E){const w=v==="xs"?"":`@media (min-width: ${uo[v]}px)`;w?s+=`${w} { ${E} }
333
+ `}return r==="auto"?s+="margin-left: auto;":typeof r=="number"?s+=`margin-left: ${ix(r,i)};`:s+="margin-left: 0;",s},sx=({size:t,offset:r,columnsContext:i})=>{let s="";const l=typeof i=="object"?i:{xs:i},u=typeof t=="object"?t:{xs:t},f=typeof r=="object"?r:{xs:r},h=Array.from(new Set([...Object.keys(co),...ze.isObject(u)?Object.keys(u):[],...ze.isObject(f)?Object.keys(f):[],...ze.isObject(l)?Object.keys(l):[]]));h.sort((v,_)=>co[v]-co[_]);let g=typeof(l==null?void 0:l.xs)=="number"?l.xs:12;for(const v of h){l[v]!==void 0&&(g=l[v]);const _=u[v],S=f[v];if(_!==void 0||S!==void 0||v==="xs"||l[v]!==void 0){const E=ox({sizeValue:_??u.xs,offsetValue:S??f.xs,currentTotalColumns:g});if(E){const x=v==="xs"?"":`@media (min-width: ${co[v]}px)`;x?s+=`${x} { ${E} }
330
334
  `:s+=E+`
331
- `}}}return Dn.css`${s}`},Kw=ae(X)`
335
+ `}}}return Dn.css`${s}`},ax=ae(X)`
332
336
  box-sizing: border-box;
333
337
  margin: 0; // Reset margin by default
334
338
 
335
339
  // --- Container Styles ---
336
- ${({container:n,theme:r,spacing:i,rowSpacing:s,columnSpacing:l,columns:u})=>n&&at`
340
+ ${({container:t,theme:r,spacing:i,rowSpacing:s,columnSpacing:l,columns:u})=>t&&at`
337
341
  display: flex;
338
342
  flex-wrap: wrap;
339
343
  width: 100%; // Default container width
@@ -365,39 +369,39 @@ function print() { __p += __j.call(arguments, '') }
365
369
  `}
366
370
 
367
371
  // --- Item Styles ---
368
- ${({container:n,size:r,offset:i,theme:s,columnsContext:l})=>!n&&(r!==void 0||i!==void 0)&&at`
372
+ ${({container:t,size:r,offset:i,theme:s,columnsContext:l})=>!t&&(r!==void 0||i!==void 0)&&at`
369
373
  /* Reset margin potentially added by parent container's negative margin fallback */
370
374
  /* margin: 0; */
371
- ${Gw({size:r,offset:i,columnsContext:l})}
375
+ ${sx({size:r,offset:i,columnsContext:l})}
372
376
  `}
373
- `,s0=h.forwardRef(({container:n=!1,spacing:r,rowSpacing:i,columnSpacing:s,columns:l=12,size:u,offset:f,children:d,...g},v)=>{const C=h.useContext(pf),S=l!==void 0?l:C.columns;return y.jsx(pf.Provider,{value:{columns:S},children:y.jsx(Kw,{ref:v,container:n,spacing:n?r:void 0,rowSpacing:n?i:void 0,columnSpacing:n?s:void 0,size:u,offset:f,columns:l,columnsContext:S,...g,children:d})})});s0.displayName="Grid";const _o=ae(Jt)`
374
- border-radius: ${({theme:n,$borderRadius:r})=>n.radii[r]}px;
375
- width: ${({theme:n,$size:r})=>n.sizes[r]}px;
376
- height: ${({theme:n,$size:r})=>n.sizes[r]}px;
377
+ `,c0=d.forwardRef(({container:t=!1,spacing:r,rowSpacing:i,columnSpacing:s,columns:l=12,size:u,offset:f,children:h,...g},v)=>{const _=d.useContext(mf),S=l!==void 0?l:_.columns;return y.jsx(mf.Provider,{value:{columns:S},children:y.jsx(ax,{ref:v,container:t,spacing:t?r:void 0,rowSpacing:t?i:void 0,columnSpacing:t?s:void 0,size:u,offset:f,columns:l,columnsContext:S,...g,children:h})})});c0.displayName="Grid";const Co=ae(Jt)`
378
+ border-radius: ${({theme:t,$borderRadius:r})=>t.radii[r]}px;
379
+ width: ${({theme:t,$size:r})=>t.sizes[r]}px;
380
+ height: ${({theme:t,$size:r})=>t.sizes[r]}px;
377
381
  display: flex;
378
382
  align-items: center;
379
383
  justify-content: center;
380
- background-color: ${({theme:n,$color:r,$selected:i})=>i?n.colors[r]:n.colors.white};
384
+ background-color: ${({theme:t,$color:r,$selected:i})=>i?t.colors[r]:t.colors.white};
381
385
  &:hover {
382
- background-color: ${({theme:n,$color:r,$selected:i})=>i?void 0:n.colors[r]};
386
+ background-color: ${({theme:t,$color:r,$selected:i})=>i?void 0:t.colors[r]};
383
387
  }
384
388
  transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
385
- `,mf=ae(ht)`
386
- color: ${({theme:n,$selected:r,$defaultColor:i})=>r?n.colors.white:n.colors[i]};
387
- font-size: ${({theme:n,$fontSize:r})=>n.__hd__.text.fontSizes[r]}px;
388
- ${_o}:hover & {
389
- color: ${({theme:n,$selected:r})=>r?void 0:n.colors.white};
389
+ `,yf=ae(ht)`
390
+ color: ${({theme:t,$selected:r,$defaultColor:i})=>r?t.colors.white:t.colors[i]};
391
+ font-size: ${({theme:t,$fontSize:r})=>t.__hd__.text.fontSizes[r]}px;
392
+ ${Co}:hover & {
393
+ color: ${({theme:t,$selected:r})=>r?void 0:t.colors.white};
390
394
  }
391
395
  transition: color 0.2s ease-in-out, transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
392
- `,Xw=ae(Qt)`
393
- color: ${({theme:n,$color:r,$selected:i})=>i?n.colors.white:n.colors[r]};
394
- ${_o}:hover & {
395
- color: ${({theme:n,$color:r,$selected:i})=>i?n.colors[r]:n.colors.white};
396
+ `,lx=ae(Ht)`
397
+ color: ${({theme:t,$color:r,$selected:i})=>i?t.colors.white:t.colors[r]};
398
+ ${Co}:hover & {
399
+ color: ${({theme:t,$color:r,$selected:i})=>i?t.colors[r]:t.colors.white};
396
400
  }
397
401
  transition: color 0.2s ease-in-out, transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
398
- width: ${({theme:n,$size:r})=>n.sizes[r]}px;
399
- height: ${({theme:n,$size:r})=>n.sizes[r]}px;
400
- `,a0=({type:n="page",page:r,currentPage:i,selected:s=!1,disabled:l=!1,onClick:u,shape:f="circular",size:d="medium",color:g="primary",count:v})=>{const E=_e().__hd__.pagination.item,w=E.sizes[d],_=E.shapes[f],O=M=>{if(console.log("type",n,"page",r,"currentPage",i,"count",v),l){M.stopPropagation();return}n==="first"&&(u==null||u(v&&v>=1?1:null,M)),n==="last"&&(u==null||u(v&&v>=1?v:null,M)),n==="previous"&&(u==null||u(i>=2?i-1:null,M)),n==="next"&&(u==null||u(i<=v-1?i+1:null,M)),n==="page"&&(u==null||u(r??null,M))},R=h.useMemo(()=>{switch(n){case"previous":return La;case"next":return pi;case"first":return Cd;case"last":return Sd;default:return null}},[n]);return n==="page"?y.jsx(_o,{onClick:s?void 0:O,useScaleAnimation:!s,useOpacityAnimation:!s,$borderRadius:_.container.borderRadius,$size:w.container.size,$selected:s,$color:g,children:y.jsx(mf,{color:l?E.text.disabledColor:E.text.color,$defaultColor:E.defaultColor,$fontSize:w.text.fontSize,$selected:s,$color:g,children:String(r)})}):n==="end-ellipsis"||n==="start-ellipsis"?y.jsx(mf,{color:l?E.text.disabledColor:E.text.color,$defaultColor:E.defaultColor,$fontSize:w.text.fontSize,$selected:s,$color:g,children:"..."}):y.jsx(_o,{onClick:O,$borderRadius:_.container.borderRadius,$size:w.container.size,$selected:s,$color:g,children:R&&y.jsx(Xw,{type:"icon",art:R,$color:g,$selected:s,$size:w.icon.size,weight:w.icon.weight})})},Yw=({count:n,page:r,boundaryCount:i=1,siblingCount:s=1,showFirstButton:l=!1,showLastButton:u=!1,showPrevNextButtons:f=!0})=>{const d=(R,M)=>{const T=M-R+1;return Array.from({length:T},(k,I)=>R+I)},g=d(1,Math.min(i,n)),v=d(Math.max(n-i+1,i+1),n),C=Math.max(Math.min(r-s,n-i-s*2-1),i+2),S=Math.min(Math.max(r+s,i+s*2+2),v.length>0?v[0]-2:n-1),E=[];l&&E.push("first"),f&&E.push("previous"),E.push(...g);const w=g.length>0?g[g.length-1]:0;C===w+2?E.push(w+1):C>w+2&&E.push("start-ellipsis"),C<=S&&E.push(...d(C,S));const _=v.length>0?v[0]:n+1;return S===_-2?E.push(_-1):S<_-2&&E.push("end-ellipsis"),E.push(...v),f&&E.push("next"),u&&E.push("last"),{items:E.filter((R,M,T)=>typeof R=="number"?R>=1&&R<=n&&T.indexOf(R)===M:T.indexOf(R)===M).map(R=>{let M,T;return typeof R=="number"?(M="page",T=R):M=R,{type:M,page:T,selected:T===r,disabled:(M==="previous"||M==="first")&&r<=1||(M==="next"||M==="last")&&r>=n}})}},Qw=({count:n=1,page:r=1,onChange:i,boundaryCount:s=1,siblingCount:l=1,showFirstButton:u=!1,showLastButton:f=!1,showPrevNextButtons:d=!0,shape:g="circular",size:v="medium",color:C="primary"})=>{const E=_e().__hd__.pagination,{items:w}=Yw({count:n,page:r,boundaryCount:s,siblingCount:l,showFirstButton:u,showLastButton:f,showPrevNextButtons:d}),_=h.useCallback((O,R)=>{i&&O!==null&&i(O,R)},[i]);return y.jsx(X,{display:"flex",flexDirection:"row",alignItems:"center",gap:E.container.sizes[v].gap,children:w.map((O,R)=>y.jsx(a0,{count:n,type:O.type,page:O.page,currentPage:r,selected:O.selected,disabled:O.disabled,onClick:_,shape:g,size:v,color:C},`${O.type}-${O.page||R}`))})},Jw=Hn`
402
+ width: ${({theme:t,$size:r})=>t.sizes[r]}px;
403
+ height: ${({theme:t,$size:r})=>t.sizes[r]}px;
404
+ `,f0=({type:t="page",page:r,currentPage:i,selected:s=!1,disabled:l=!1,onClick:u,shape:f="circular",size:h="medium",color:g="primary",count:v})=>{const E=xe().__hd__.pagination.item,x=E.sizes[h],C=E.shapes[f],F=I=>{if(console.log("type",t,"page",r,"currentPage",i,"count",v),l){I.stopPropagation();return}t==="first"&&(u==null||u(v&&v>=1?1:null,I)),t==="last"&&(u==null||u(v&&v>=1?v:null,I)),t==="previous"&&(u==null||u(i>=2?i-1:null,I)),t==="next"&&(u==null||u(i<=v-1?i+1:null,I)),t==="page"&&(u==null||u(r??null,I))},R=d.useMemo(()=>{switch(t){case"previous":return Oa;case"next":return gi;case"first":return Ed;case"last":return Ad;default:return null}},[t]);return t==="page"?y.jsx(Co,{onClick:s?void 0:F,useScaleAnimation:!s,useOpacityAnimation:!s,$borderRadius:C.container.borderRadius,$size:x.container.size,$selected:s,$color:g,children:y.jsx(yf,{color:l?E.text.disabledColor:E.text.color,$defaultColor:E.defaultColor,$fontSize:x.text.fontSize,$selected:s,$color:g,children:String(r)})}):t==="end-ellipsis"||t==="start-ellipsis"?y.jsx(yf,{color:l?E.text.disabledColor:E.text.color,$defaultColor:E.defaultColor,$fontSize:x.text.fontSize,$selected:s,$color:g,children:"..."}):y.jsx(Co,{onClick:F,$borderRadius:C.container.borderRadius,$size:x.container.size,$selected:s,$color:g,children:R&&y.jsx(lx,{type:"icon",art:R,$color:g,$selected:s,$size:x.icon.size,weight:x.icon.weight})})},ux=({count:t,page:r,boundaryCount:i=1,siblingCount:s=1,showFirstButton:l=!1,showLastButton:u=!1,showPrevNextButtons:f=!0})=>{const h=(R,I)=>{const T=I-R+1;return Array.from({length:T},(k,O)=>R+O)},g=h(1,Math.min(i,t)),v=h(Math.max(t-i+1,i+1),t),_=Math.max(Math.min(r-s,t-i-s*2-1),i+2),S=Math.min(Math.max(r+s,i+s*2+2),v.length>0?v[0]-2:t-1),E=[];l&&E.push("first"),f&&E.push("previous"),E.push(...g);const x=g.length>0?g[g.length-1]:0;_===x+2?E.push(x+1):_>x+2&&E.push("start-ellipsis"),_<=S&&E.push(...h(_,S));const C=v.length>0?v[0]:t+1;return S===C-2?E.push(C-1):S<C-2&&E.push("end-ellipsis"),E.push(...v),f&&E.push("next"),u&&E.push("last"),{items:E.filter((R,I,T)=>typeof R=="number"?R>=1&&R<=t&&T.indexOf(R)===I:T.indexOf(R)===I).map(R=>{let I,T;return typeof R=="number"?(I="page",T=R):I=R,{type:I,page:T,selected:T===r,disabled:(I==="previous"||I==="first")&&r<=1||(I==="next"||I==="last")&&r>=t}})}},cx=({count:t=1,page:r=1,onChange:i,boundaryCount:s=1,siblingCount:l=1,showFirstButton:u=!1,showLastButton:f=!1,showPrevNextButtons:h=!0,shape:g="circular",size:v="medium",color:_="primary"})=>{const E=xe().__hd__.pagination,{items:x}=ux({count:t,page:r,boundaryCount:s,siblingCount:l,showFirstButton:u,showLastButton:f,showPrevNextButtons:h}),C=d.useCallback((F,R)=>{i&&F!==null&&i(F,R)},[i]);return y.jsx(X,{display:"flex",flexDirection:"row",alignItems:"center",gap:E.container.sizes[v].gap,children:x.map((F,R)=>y.jsx(f0,{count:t,type:F.type,page:F.page,currentPage:r,selected:F.selected,disabled:F.disabled,onClick:C,shape:g,size:v,color:_},`${F.type}-${F.page||R}`))})},fx=Hn`
401
405
  0% {
402
406
  left: 0%;
403
407
  width: 0%;
@@ -413,106 +417,106 @@ function print() { __p += __j.call(arguments, '') }
413
417
  width: 0%; /* Smallest at the right end */
414
418
  transform: translateX(0%); /* Ensure it exits cleanly if it was translateX(100%) it would go off screen too fast */
415
419
  }
416
- `,ex=ae(X)`
420
+ `,dx=ae(X)`
417
421
  position: relative;
418
422
  overflow: hidden;
419
- height: ${({theme:n,$heightKey:r})=>n.sizes[r]}px;
420
- background-color: ${({theme:n,$backgroundColorKey:r})=>n.colors[r]||r};
421
- border-radius: ${({theme:n,$borderRadiusKey:r})=>n.radii[r]}px;
422
- border-width: ${({theme:n,$borderWidthKey:r})=>r?n.borderWidths[r]:0}px;
423
- border-style: ${({$borderWidthKey:n})=>n?"solid":"none"};
424
- border-color: ${({theme:n,$borderColorKey:r})=>r?n.colors[r]||r:"transparent"};
425
- `,tx=ae(X)`
423
+ height: ${({theme:t,$heightKey:r})=>t.sizes[r]}px;
424
+ background-color: ${({theme:t,$backgroundColorKey:r})=>t.colors[r]||r};
425
+ border-radius: ${({theme:t,$borderRadiusKey:r})=>t.radii[r]}px;
426
+ border-width: ${({theme:t,$borderWidthKey:r})=>r?t.borderWidths[r]:0}px;
427
+ border-style: ${({$borderWidthKey:t})=>t?"solid":"none"};
428
+ border-color: ${({theme:t,$borderColorKey:r})=>r?t.colors[r]||r:"transparent"};
429
+ `,hx=ae(X)`
426
430
  width: 100%;
427
431
  height: 100%;
428
432
  position: relative; /* For absolute positioning of the indicator */
429
- `,nx=ae(X)`
433
+ `,px=ae(X)`
430
434
  position: absolute;
431
435
  top: 0;
432
436
  bottom: 0;
433
437
  /* Removed left: 0; as animation will control it for indeterminate */
434
438
  height: 100%;
435
- background-color: ${({theme:n,$progressColorKey:r})=>n.colors[r]};
436
- border-radius: ${({theme:n,$borderRadiusKey:r})=>n.radii[r]}px;
439
+ background-color: ${({theme:t,$progressColorKey:r})=>t.colors[r]};
440
+ border-radius: ${({theme:t,$borderRadiusKey:r})=>t.radii[r]}px;
437
441
 
438
- ${({$progressValue:n})=>n!==void 0?at`
439
- width: ${n}%;
442
+ ${({$progressValue:t})=>t!==void 0?at`
443
+ width: ${t}%;
440
444
  left: 0; // Explicitly set left for determinate state
441
445
  transition: width 0.3s ease-in-out;
442
446
  `:at`
443
447
  /* Indeterminate: animation controls width and position */
444
- animation: ${Jw} 2s infinite linear alternate;
448
+ animation: ${fx} 2s infinite linear alternate;
445
449
  `}
446
- `,rx=({value:n,color:r,size:i,variant:s,testID:l="progress",...u})=>{const d=_e().__hd__.progress,g=s||d.defaultVariant,v=i||d.defaultSize,{height:C,borderRadius:S}=d.sizes[v],{containerBackgroundColor:E,containerBorderColor:w,containerBorderWidth:_,defaultProgressColor:O}=d.variants[g],R=r||O;let M=w;g==="outlined"&&(M=R);const T=n!==void 0?Math.max(0,Math.min(n,100)):void 0;return y.jsx(ex,{$heightKey:C,$borderRadiusKey:S,$backgroundColorKey:E,$borderColorKey:M,$borderWidthKey:_,"data-testid":`${l}-container`,...u,children:y.jsx(tx,{"data-testid":`${l}-bar`,children:y.jsx(nx,{$progressColorKey:R,$progressValue:T,$borderRadiusKey:S,"data-testid":`${l}-indicator`})})})},ix=ae(X)`
450
+ `,gx=({value:t,color:r,size:i,variant:s,testID:l="progress",...u})=>{const h=xe().__hd__.progress,g=s||h.defaultVariant,v=i||h.defaultSize,{height:_,borderRadius:S}=h.sizes[v],{containerBackgroundColor:E,containerBorderColor:x,containerBorderWidth:C,defaultProgressColor:F}=h.variants[g],R=r||F;let I=x;g==="outlined"&&(I=R);const T=t!==void 0?Math.max(0,Math.min(t,100)):void 0;return y.jsx(dx,{$heightKey:_,$borderRadiusKey:S,$backgroundColorKey:E,$borderColorKey:I,$borderWidthKey:C,"data-testid":`${l}-container`,...u,children:y.jsx(hx,{"data-testid":`${l}-bar`,children:y.jsx(px,{$progressColorKey:R,$progressValue:T,$borderRadiusKey:S,"data-testid":`${l}-indicator`})})})},mx=ae(X)`
447
451
  position: fixed;
448
452
  top: 0;
449
453
  left: 0;
450
454
  right: 0;
451
455
  bottom: 0;
452
456
  background-color: rgba(0, 0, 0, 0.5); // Semi-transparent black
453
- z-index: ${n=>n.zIndex};
457
+ z-index: ${t=>t.zIndex};
454
458
  display: flex;
455
459
  align-items: center;
456
460
  justify-content: center;
457
- `;let co=0,vf;const ox=({open:n,onClose:r,children:i,"data-testid":s,...l})=>{const u=_e();if(h.useEffect(()=>{if(!(typeof document>"u"))return n&&(co===0&&(vf=document.body.style.overflow,document.body.style.overflow="hidden"),co++),()=>{n&&(co--,co===0&&(document.body.style.overflow=vf))}},[n]),!n)return null;const f=d=>{d.target===d.currentTarget&&(r==null||r())};return y.jsx(ix,{zIndex:u.zIndex.getZIndex("AIC_Kits_Modal"),onClick:f,"data-testid":s?`${s}-backdrop`:void 0,children:y.jsx(X,{maxHeight:"100vh",overflowY:"auto",...l,"data-testid":s?`${s}-container`:void 0,children:i})})},sx=({children:n,description:r,placement:i,backgroundColor:s,color:l})=>{const u=_e(),f=u.__hd__.tooltip,d=i??f.defaultPlacement,g=s??f.defaultBackgroundColor,v=l??f.defaultTextColor,C=h.useRef(null),S=$o(C),E=f.positioning.placements[d];return y.jsxs(X,{display:"inline-block",position:"relative",ref:C,children:[n,S&&y.jsx(X,{position:"absolute",bgColor:g,p:f.container.padding,r:f.container.borderRadius,boxShadow:f.container.shadow,zIndex:u.zIndex.getZIndex("AIC_Kits_Tooltip"),width:"max-content",maxWidth:f.container.maxWidth,...E,children:y.jsx(ht,{color:v,fontSize:f.text.fontSize,children:r})})]})},ax=Hn`
461
+ `;let fo=0,bf;const vx=({open:t,onClose:r,children:i,"data-testid":s,...l})=>{const u=xe();if(d.useEffect(()=>{if(!(typeof document>"u"))return t&&(fo===0&&(bf=document.body.style.overflow,document.body.style.overflow="hidden"),fo++),()=>{t&&(fo--,fo===0&&(document.body.style.overflow=bf))}},[t]),!t)return null;const f=h=>{h.target===h.currentTarget&&(r==null||r())};return y.jsx(mx,{zIndex:u.zIndex.getZIndex("AIC_Kits_Modal"),onClick:f,"data-testid":s?`${s}-backdrop`:void 0,children:y.jsx(X,{maxHeight:"100vh",overflowY:"auto",...l,"data-testid":s?`${s}-container`:void 0,children:i})})},yx=({children:t,description:r,placement:i,backgroundColor:s,color:l})=>{const u=xe(),f=u.__hd__.tooltip,h=i??f.defaultPlacement,g=s??f.defaultBackgroundColor,v=l??f.defaultTextColor,_=d.useRef(null),S=$o(_),E=f.positioning.placements[h];return y.jsxs(X,{display:"inline-block",position:"relative",ref:_,children:[t,S&&y.jsx(X,{position:"absolute",bgColor:g,p:f.container.padding,r:f.container.borderRadius,boxShadow:f.container.shadow,zIndex:u.zIndex.getZIndex("AIC_Kits_Tooltip"),width:"max-content",maxWidth:f.container.maxWidth,...E,children:y.jsx(ht,{color:v,fontSize:f.text.fontSize,children:r})})]})},bx=Hn`
458
462
  from {
459
463
  opacity: 0;
460
464
  }
461
465
  to {
462
466
  opacity: 1;
463
467
  }
464
- `,lx=ae(X)`
468
+ `,xx=ae(X)`
465
469
  position: relative;
466
470
  display: block;
467
- ${({$width:n,$minWidth:r,$maxWidth:i})=>{const s=n&&typeof n=="object";if(s||r&&typeof r=="object"||i&&typeof i=="object"){const g={};return typeof n=="string"?g.width=n:typeof n=="number"?(g.width="100%",i===void 0&&(g.maxWidth=`${n}px`)):s&&(g.width="100%",i===void 0&&(g.maxWidth=n)),typeof r=="number"?g.minWidth=`${r}px`:(typeof r=="string"||r)&&(g.minWidth=r),i!==void 0&&(typeof i=="string"?i==="auto"?g.maxWidth="none":g.maxWidth=i:typeof i=="number"?g.maxWidth=`${i}px`:g.maxWidth=i),Mr(g)}const d={};return typeof n=="string"?n==="auto"||n==="100%"||/^\d+(\.\d+)?(px|%|em|rem|vw|vh)$/.test(n)?d.width=n:d.width="100%":typeof n=="number"&&(d.width="100%",i===void 0&&(d.maxWidth=`${n}px`)),r!==void 0&&(typeof r=="number"?d.minWidth=`${r}px`:typeof r=="string"&&(d.minWidth=r)),i!==void 0&&(typeof i=="string"?i==="auto"?d.maxWidth="none":d.maxWidth=i:typeof i=="number"&&(d.maxWidth=`${i}px`)),at(d)}}
468
- `,ux=ae.svg`
471
+ ${({$width:t,$minWidth:r,$maxWidth:i})=>{const s=t&&typeof t=="object";if(s||r&&typeof r=="object"||i&&typeof i=="object"){const g={};return typeof t=="string"?g.width=t:typeof t=="number"?(g.width="100%",i===void 0&&(g.maxWidth=`${t}px`)):s&&(g.width="100%",i===void 0&&(g.maxWidth=t)),typeof r=="number"?g.minWidth=`${r}px`:(typeof r=="string"||r)&&(g.minWidth=r),i!==void 0&&(typeof i=="string"?i==="auto"?g.maxWidth="none":g.maxWidth=i:typeof i=="number"?g.maxWidth=`${i}px`:g.maxWidth=i),Mr(g)}const h={};return typeof t=="string"?t==="auto"||t==="100%"||/^\d+(\.\d+)?(px|%|em|rem|vw|vh)$/.test(t)?h.width=t:h.width="100%":typeof t=="number"&&(h.width="100%",i===void 0&&(h.maxWidth=`${t}px`)),r!==void 0&&(typeof r=="number"?h.minWidth=`${r}px`:typeof r=="string"&&(h.minWidth=r)),i!==void 0&&(typeof i=="string"?i==="auto"?h.maxWidth="none":h.maxWidth=i:typeof i=="number"&&(h.maxWidth=`${i}px`)),at(h)}}
472
+ `,wx=ae.svg`
469
473
  display: block;
470
474
  flex-shrink: 0;
471
- width: ${({$width:n})=>n===void 0?"100%":typeof n=="number"?`${n}px`:n};
472
- height: ${({$height:n})=>n?`${n}px`:"auto"};
475
+ width: ${({$width:t})=>t===void 0?"100%":typeof t=="number"?`${t}px`:t};
476
+ height: ${({$height:t})=>t?`${t}px`:"auto"};
473
477
  `;ae.rect`
474
- fill: ${({theme:n,$colorKey:r})=>n.colors[r]};
475
- animation: ${ax} ${({$animationDuration:n})=>n}ms ease-out;
478
+ fill: ${({theme:t,$colorKey:r})=>t.colors[r]};
479
+ animation: ${bx} ${({$animationDuration:t})=>t}ms ease-out;
476
480
  transition: opacity 0.3s ease;
477
481
  cursor: pointer;
478
482
 
479
483
  &:hover {
480
484
  opacity: 0.8;
481
485
  }
482
- `;const yf=ae.line`
483
- stroke: ${({theme:n,$colorKey:r})=>n.colors[r]||r};
486
+ `;const xf=ae.line`
487
+ stroke: ${({theme:t,$colorKey:r})=>t.colors[r]||r};
484
488
  stroke-width: 1;
485
489
  shape-rendering: crispEdges;
486
- `,fo=ae.text`
487
- fill: ${({theme:n,$colorKey:r})=>n.colors[r]||r};
490
+ `,ho=ae.text`
491
+ fill: ${({theme:t,$colorKey:r})=>t.colors[r]||r};
488
492
  font-size: 12px;
489
- font-family: ${({theme:n})=>n.fonts.neutral};
490
- `,cx=ae.line`
491
- stroke: ${({theme:n,$colorKey:r})=>n.colors[r]||r};
493
+ font-family: ${({theme:t})=>t.fonts.neutral};
494
+ `,_x=ae.line`
495
+ stroke: ${({theme:t,$colorKey:r})=>t.colors[r]||r};
492
496
  stroke-width: 1;
493
497
  stroke-dasharray: 2, 2;
494
498
  opacity: 0.3;
495
- `,fx=ae.div`
499
+ `,Cx=ae.div`
496
500
  position: absolute;
497
- left: ${({$left:n})=>n}px;
498
- top: ${({$top:n})=>n}px;
501
+ left: ${({$left:t})=>t}px;
502
+ top: ${({$top:t})=>t}px;
499
503
  transform: translate(-50%, -100%);
500
- background-color: ${({theme:n})=>n.colors.grey800||"#333"};
501
- color: ${({theme:n})=>n.colors.white||"#fff"};
504
+ background-color: ${({theme:t})=>t.colors.grey800||"#333"};
505
+ color: ${({theme:t})=>t.colors.white||"#fff"};
502
506
  padding: 8px 12px;
503
507
  border-radius: 6px;
504
508
  font-size: 12px;
505
- font-family: ${({theme:n})=>n.fonts.neutral||"sans-serif"};
509
+ font-family: ${({theme:t})=>t.fonts.neutral||"sans-serif"};
506
510
  white-space: nowrap;
507
511
  pointer-events: none;
508
512
  z-index: 1000;
509
513
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
510
- `,dx=ae.div`
514
+ `,Sx=ae.div`
511
515
  font-weight: 600;
512
516
  margin-bottom: 4px;
513
- `,hx=ae.div`
517
+ `,Ex=ae.div`
514
518
  font-weight: 400;
515
- `,px=({data:n,width:r=400,minWidth:i=200,maxWidth:s,height:l=300,chartMargin:u,color:f,size:d,variant:g,showGrid:v=!0,showXAxis:C=!0,showYAxis:S=!0,orientation:E="vertical",showTooltip:w=!0,testID:_="bar-chart",...O})=>{var ye,J,ce;const R=_e(),M=(ye=R.__hd__)==null?void 0:ye.barChart,T=h.useRef(null),[k,I]=h.useState(()=>{if(typeof r=="number")return r;if(typeof r=="string"){const Z=r.match(/^(\d+(?:\.\d+)?)px$/);if(Z)return parseFloat(Z[1])}return 400}),[P,U]=h.useState(40),[N,Q]=h.useState(null),[pe,Ce]=h.useState(null),Me=g||(M==null?void 0:M.defaultVariant)||"default",D=d||(M==null?void 0:M.defaultSize)||"md";h.useEffect(()=>{if(!S||E!=="vertical"||(u==null?void 0:u.left)!==void 0)return;const Z=document.createElementNS("http://www.w3.org/2000/svg","svg");Z.style.position="absolute",Z.style.visibility="hidden",Z.style.pointerEvents="none",document.body.appendChild(Z);const ie=document.createElementNS("http://www.w3.org/2000/svg","text");ie.style.fontSize="12px",ie.style.fontFamily=R.fonts.neutral||"sans-serif",Z.appendChild(ie);const fe=n.map(tt=>tt.value),we=fe.length>0?Math.max(...fe):100,We=5;let Xe=0;for(let tt=0;tt<We;tt++){const nt=we/(We-1)*tt;ie.textContent=Math.round(nt).toString();const ot=ie.getBBox();Xe=Math.max(Xe,ot.width)}document.body.removeChild(Z),U(Math.ceil(Xe)+15)},[n,R.fonts.neutral,S,E,u==null?void 0:u.left]),h.useEffect(()=>{if(!S||E!=="horizontal"||(u==null?void 0:u.left)!==void 0)return;const Z=document.createElementNS("http://www.w3.org/2000/svg","svg");Z.style.position="absolute",Z.style.visibility="hidden",Z.style.pointerEvents="none",document.body.appendChild(Z);const ie=document.createElementNS("http://www.w3.org/2000/svg","text");ie.style.fontSize="12px",ie.style.fontFamily=R.fonts.neutral||"sans-serif",Z.appendChild(ie);let fe=0;n.forEach(we=>{ie.textContent=we.label;const We=ie.getBBox();fe=Math.max(fe,We.width)}),document.body.removeChild(Z),U(Math.ceil(fe)+15)},[n,R.fonts.neutral,S,E,u==null?void 0:u.left]);const z={top:(u==null?void 0:u.top)??20,right:(u==null?void 0:u.right)??20,bottom:(u==null?void 0:u.bottom)??40,left:(u==null?void 0:u.left)??P};or(()=>{const Z=T.current;if(!Z)return;const ie=()=>{if(typeof r=="number"){I(r);return}if(typeof r=="string"&&/^\d+(?:\.\d+)?px$/.test(r)){const We=r.match(/^(\d+(?:\.\d+)?)px$/);if(We){I(parseFloat(We[1]));return}}const we=Z.clientWidth;we>0&&I(we)};ie();let fe;return typeof ResizeObserver<"u"?(fe=new ResizeObserver(ie),fe.observe(Z)):window.addEventListener("resize",ie),()=>{fe?fe.disconnect():window.removeEventListener("resize",ie)}},[r,i,s]);const G=(()=>{if(typeof l=="number")return l;if(typeof l=="string"){const Z=l.match(/^(\d+(?:\.\d+)?)px$/);if(Z)return parseFloat(Z[1])}return 300})(),{barRadius:le=4,axisColor:te="grey600",gridColor:oe="grey200",labelColor:ee="grey600"}=((J=M==null?void 0:M.sizes)==null?void 0:J[D])||{},{defaultBarColor:ve="primary"}=((ce=M==null?void 0:M.variants)==null?void 0:ce[Me])||{},je=f||ve,ke=Math.max(0,k-z.left-z.right),Ie=Math.max(0,G-z.top-z.bottom),De=n.map(Z=>Z.value),Ke=De.length>0?Math.max(...De):100,gt=.6,Be=E==="vertical"?ke/Math.max(n.length,1):Ie/Math.max(n.length,1),it=Math.max(Be*gt,1),de=Z=>{const ie=Ke||100,fe=Z||0;return E==="vertical"?fe/ie*Ie:fe/ie*ke},Se=h.useMemo(()=>Array.from({length:5},(ie,fe)=>{const we=Ke/4*fe,We=Ke||100,Xe=we||0,tt=E==="vertical"?Ie-Xe/We*Ie:Xe/We*ke;return{value:we,position:tt}}),[Ke,Ie,ke,E]),Re=(Z,ie)=>{const we=Math.floor(ie/7);if(Z.length<=we)return Z;const We=Math.max(1,we-3);return Z.substring(0,We)+"..."};return y.jsxs(lx,{ref:T,"data-testid":`${_}-container`,$width:r,$minWidth:i,$maxWidth:s,...O,children:[y.jsxs(ux,{$width:k,$height:G,viewBox:`0 0 ${k} ${G}`,role:"img","aria-label":"Bar chart","data-testid":`${_}-svg`,children:[y.jsx("title",{children:"Bar chart"}),y.jsxs("g",{transform:`translate(${z.left}, ${z.top})`,children:[v&&Se.map((Z,ie)=>y.jsx(cx,{$colorKey:oe,x1:E==="vertical"?0:Z.position,y1:E==="vertical"?Z.position:0,x2:E==="vertical"?ke:Z.position,y2:E==="vertical"?Z.position:Ie,"data-testid":`${_}-grid-line-${ie}`},ie)),n.map((Z,ie)=>{const fe=de(Z.value);let we,We,Xe,tt;if(E==="vertical")we=ie*Be+(Be-it)/2,We=Ie-fe,Xe=it,tt=fe;else{const He=ie*Be;we=0,We=He+(Be-it)/2,Xe=fe,tt=it}const nt=2,ot=Math.max(Xe,nt),re=Math.max(tt,nt),Ne=Z.color||je,Pe=R.colors[Ne]||Ne||"#6949FF";return y.jsx("rect",{x:we,y:We,width:ot,height:re,fill:Pe,rx:Math.min(le,re/2,ot/2),ry:Math.min(le,re/2,ot/2),opacity:N===ie?1:.9,cursor:"pointer",onMouseEnter:He=>{var Qe;if(Q(ie),w){const xt=He.currentTarget.getBoundingClientRect(),Nn=(Qe=T.current)==null?void 0:Qe.getBoundingClientRect();Nn&&Ce({x:xt.left-Nn.left+xt.width/2,y:xt.top-Nn.top})}He.currentTarget.style.filter="brightness(1.1)"},onMouseLeave:He=>{Q(null),Ce(null),He.currentTarget.style.filter="brightness(1)"},"data-testid":`${_}-bar-${ie}`},ie)}),C&&y.jsxs(y.Fragment,{children:[y.jsx(yf,{$colorKey:te,x1:0,y1:Ie,x2:ke,y2:Ie,"data-testid":`${_}-x-axis`}),E==="vertical"&&n.map((Z,ie)=>{const fe=ie*Be+Be/2,we=Ie+20,We=Be*.9,Xe=Re(Z.label,We);return y.jsxs(fo,{x:fe,y:we,$colorKey:ee,textAnchor:"middle","data-testid":`${_}-x-label-${ie}`,children:[Z.label!==Xe&&y.jsx("title",{children:Z.label}),Xe]},ie)}),E==="horizontal"&&Se.map((Z,ie)=>y.jsxs("g",{children:[y.jsx("line",{x1:Z.position,y1:Ie,x2:Z.position,y2:Ie+5,stroke:R.colors[te]||te,strokeWidth:1}),y.jsx(fo,{x:Z.position,y:Ie+20,$colorKey:ee,textAnchor:"middle","data-testid":`${_}-x-value-${ie}`,children:Math.round(Z.value)})]},`x-tick-${ie}`))]}),S&&y.jsxs(y.Fragment,{children:[y.jsx(yf,{$colorKey:te,x1:0,y1:0,x2:0,y2:Ie,"data-testid":`${_}-y-axis`}),E==="vertical"&&Se.map((Z,ie)=>y.jsxs("g",{children:[y.jsx("line",{x1:-5,y1:Z.position,x2:0,y2:Z.position,stroke:R.colors[te]||te,strokeWidth:1}),y.jsx(fo,{x:-10,y:Z.position,$colorKey:ee,textAnchor:"end",dominantBaseline:"middle","data-testid":`${_}-y-value-${ie}`,children:Math.round(Z.value)})]},`y-tick-${ie}`)),E==="horizontal"&&n.map((Z,ie)=>{const fe=ie*Be+Be/2;return y.jsx(fo,{x:-10,y:fe,$colorKey:ee,textAnchor:"end",dominantBaseline:"middle","data-testid":`${_}-y-label-${ie}`,children:Z.label},`y-cat-${ie}`)})]})]})]}),w&&N!==null&&pe&&y.jsxs(fx,{$left:pe.x,$top:pe.y-10,"data-testid":`${_}-tooltip`,children:[y.jsx(dx,{children:n[N].label}),y.jsxs(hx,{children:["Value: ",n[N].value]})]})]})},gx=Hn`
519
+ `,Ax=({data:t,width:r=400,minWidth:i=200,maxWidth:s,height:l=300,chartMargin:u,color:f,size:h,variant:g,showGrid:v=!0,showXAxis:_=!0,showYAxis:S=!0,orientation:E="vertical",showTooltip:x=!0,testID:C="bar-chart",...F})=>{var ye,J,ce;const R=xe(),I=(ye=R.__hd__)==null?void 0:ye.barChart,T=d.useRef(null),[k,O]=d.useState(()=>{if(typeof r=="number")return r;if(typeof r=="string"){const Z=r.match(/^(\d+(?:\.\d+)?)px$/);if(Z)return parseFloat(Z[1])}return 400}),[M,N]=d.useState(40),[V,Q]=d.useState(null),[pe,Ce]=d.useState(null),Me=g||(I==null?void 0:I.defaultVariant)||"default",D=h||(I==null?void 0:I.defaultSize)||"md";d.useEffect(()=>{if(!S||E!=="vertical"||(u==null?void 0:u.left)!==void 0)return;const Z=document.createElementNS("http://www.w3.org/2000/svg","svg");Z.style.position="absolute",Z.style.visibility="hidden",Z.style.pointerEvents="none",document.body.appendChild(Z);const ie=document.createElementNS("http://www.w3.org/2000/svg","text");ie.style.fontSize="12px",ie.style.fontFamily=R.fonts.neutral||"sans-serif",Z.appendChild(ie);const fe=t.map(tt=>tt.value),we=fe.length>0?Math.max(...fe):100,We=5;let Xe=0;for(let tt=0;tt<We;tt++){const nt=we/(We-1)*tt;ie.textContent=Math.round(nt).toString();const ot=ie.getBBox();Xe=Math.max(Xe,ot.width)}document.body.removeChild(Z),N(Math.ceil(Xe)+15)},[t,R.fonts.neutral,S,E,u==null?void 0:u.left]),d.useEffect(()=>{if(!S||E!=="horizontal"||(u==null?void 0:u.left)!==void 0)return;const Z=document.createElementNS("http://www.w3.org/2000/svg","svg");Z.style.position="absolute",Z.style.visibility="hidden",Z.style.pointerEvents="none",document.body.appendChild(Z);const ie=document.createElementNS("http://www.w3.org/2000/svg","text");ie.style.fontSize="12px",ie.style.fontFamily=R.fonts.neutral||"sans-serif",Z.appendChild(ie);let fe=0;t.forEach(we=>{ie.textContent=we.label;const We=ie.getBBox();fe=Math.max(fe,We.width)}),document.body.removeChild(Z),N(Math.ceil(fe)+15)},[t,R.fonts.neutral,S,E,u==null?void 0:u.left]);const j={top:(u==null?void 0:u.top)??20,right:(u==null?void 0:u.right)??20,bottom:(u==null?void 0:u.bottom)??40,left:(u==null?void 0:u.left)??M};or(()=>{const Z=T.current;if(!Z)return;const ie=()=>{if(typeof r=="number"){O(r);return}if(typeof r=="string"&&/^\d+(?:\.\d+)?px$/.test(r)){const We=r.match(/^(\d+(?:\.\d+)?)px$/);if(We){O(parseFloat(We[1]));return}}const we=Z.clientWidth;we>0&&O(we)};ie();let fe;return typeof ResizeObserver<"u"?(fe=new ResizeObserver(ie),fe.observe(Z)):window.addEventListener("resize",ie),()=>{fe?fe.disconnect():window.removeEventListener("resize",ie)}},[r,i,s]);const G=(()=>{if(typeof l=="number")return l;if(typeof l=="string"){const Z=l.match(/^(\d+(?:\.\d+)?)px$/);if(Z)return parseFloat(Z[1])}return 300})(),{barRadius:le=4,axisColor:te="grey600",gridColor:oe="grey200",labelColor:ee="grey600"}=((J=I==null?void 0:I.sizes)==null?void 0:J[D])||{},{defaultBarColor:ve="primary"}=((ce=I==null?void 0:I.variants)==null?void 0:ce[Me])||{},je=f||ve,ke=Math.max(0,k-j.left-j.right),Oe=Math.max(0,G-j.top-j.bottom),De=t.map(Z=>Z.value),Ke=De.length>0?Math.max(...De):100,gt=.6,Be=E==="vertical"?ke/Math.max(t.length,1):Oe/Math.max(t.length,1),it=Math.max(Be*gt,1),de=Z=>{const ie=Ke||100,fe=Z||0;return E==="vertical"?fe/ie*Oe:fe/ie*ke},Se=d.useMemo(()=>Array.from({length:5},(ie,fe)=>{const we=Ke/4*fe,We=Ke||100,Xe=we||0,tt=E==="vertical"?Oe-Xe/We*Oe:Xe/We*ke;return{value:we,position:tt}}),[Ke,Oe,ke,E]),Re=(Z,ie)=>{const we=Math.floor(ie/7);if(Z.length<=we)return Z;const We=Math.max(1,we-3);return Z.substring(0,We)+"..."};return y.jsxs(xx,{ref:T,"data-testid":`${C}-container`,$width:r,$minWidth:i,$maxWidth:s,...F,children:[y.jsxs(wx,{$width:k,$height:G,viewBox:`0 0 ${k} ${G}`,role:"img","aria-label":"Bar chart","data-testid":`${C}-svg`,children:[y.jsx("title",{children:"Bar chart"}),y.jsxs("g",{transform:`translate(${j.left}, ${j.top})`,children:[v&&Se.map((Z,ie)=>y.jsx(_x,{$colorKey:oe,x1:E==="vertical"?0:Z.position,y1:E==="vertical"?Z.position:0,x2:E==="vertical"?ke:Z.position,y2:E==="vertical"?Z.position:Oe,"data-testid":`${C}-grid-line-${ie}`},ie)),t.map((Z,ie)=>{const fe=de(Z.value);let we,We,Xe,tt;if(E==="vertical")we=ie*Be+(Be-it)/2,We=Oe-fe,Xe=it,tt=fe;else{const He=ie*Be;we=0,We=He+(Be-it)/2,Xe=fe,tt=it}const nt=2,ot=Math.max(Xe,nt),re=Math.max(tt,nt),Ve=Z.color||je,Pe=R.colors[Ve]||Ve||"#6949FF";return y.jsx("rect",{x:we,y:We,width:ot,height:re,fill:Pe,rx:Math.min(le,re/2,ot/2),ry:Math.min(le,re/2,ot/2),opacity:V===ie?1:.9,cursor:"pointer",onMouseEnter:He=>{var Qe;if(Q(ie),x){const _t=He.currentTarget.getBoundingClientRect(),Vn=(Qe=T.current)==null?void 0:Qe.getBoundingClientRect();Vn&&Ce({x:_t.left-Vn.left+_t.width/2,y:_t.top-Vn.top})}He.currentTarget.style.filter="brightness(1.1)"},onMouseLeave:He=>{Q(null),Ce(null),He.currentTarget.style.filter="brightness(1)"},"data-testid":`${C}-bar-${ie}`},ie)}),_&&y.jsxs(y.Fragment,{children:[y.jsx(xf,{$colorKey:te,x1:0,y1:Oe,x2:ke,y2:Oe,"data-testid":`${C}-x-axis`}),E==="vertical"&&t.map((Z,ie)=>{const fe=ie*Be+Be/2,we=Oe+20,We=Be*.9,Xe=Re(Z.label,We);return y.jsxs(ho,{x:fe,y:we,$colorKey:ee,textAnchor:"middle","data-testid":`${C}-x-label-${ie}`,children:[Z.label!==Xe&&y.jsx("title",{children:Z.label}),Xe]},ie)}),E==="horizontal"&&Se.map((Z,ie)=>y.jsxs("g",{children:[y.jsx("line",{x1:Z.position,y1:Oe,x2:Z.position,y2:Oe+5,stroke:R.colors[te]||te,strokeWidth:1}),y.jsx(ho,{x:Z.position,y:Oe+20,$colorKey:ee,textAnchor:"middle","data-testid":`${C}-x-value-${ie}`,children:Math.round(Z.value)})]},`x-tick-${ie}`))]}),S&&y.jsxs(y.Fragment,{children:[y.jsx(xf,{$colorKey:te,x1:0,y1:0,x2:0,y2:Oe,"data-testid":`${C}-y-axis`}),E==="vertical"&&Se.map((Z,ie)=>y.jsxs("g",{children:[y.jsx("line",{x1:-5,y1:Z.position,x2:0,y2:Z.position,stroke:R.colors[te]||te,strokeWidth:1}),y.jsx(ho,{x:-10,y:Z.position,$colorKey:ee,textAnchor:"end",dominantBaseline:"middle","data-testid":`${C}-y-value-${ie}`,children:Math.round(Z.value)})]},`y-tick-${ie}`)),E==="horizontal"&&t.map((Z,ie)=>{const fe=ie*Be+Be/2;return y.jsx(ho,{x:-10,y:fe,$colorKey:ee,textAnchor:"end",dominantBaseline:"middle","data-testid":`${C}-y-label-${ie}`,children:Z.label},`y-cat-${ie}`)})]})]})]}),x&&V!==null&&pe&&y.jsxs(Cx,{$left:pe.x,$top:pe.y-10,"data-testid":`${C}-tooltip`,children:[y.jsx(Sx,{children:t[V].label}),y.jsxs(Ex,{children:["Value: ",t[V].value]})]})]})},$x=Hn`
516
520
  from {
517
521
  opacity: 0;
518
522
  transform: scale(0.8);
@@ -521,24 +525,24 @@ function print() { __p += __j.call(arguments, '') }
521
525
  opacity: 1;
522
526
  transform: scale(1);
523
527
  }
524
- `,mx=ae(X)`
528
+ `,kx=ae(X)`
525
529
  position: relative;
526
- display: ${({$showLegend:n,$legendPosition:r})=>n?"flex":"inline-flex"};
527
- flex-direction: ${({$legendPosition:n})=>n==="left"?"row-reverse":n==="right"?"row":"column"};
528
- align-items: ${({$legendPosition:n})=>"center"};
530
+ display: ${({$showLegend:t,$legendPosition:r})=>t?"flex":"inline-flex"};
531
+ flex-direction: ${({$legendPosition:t})=>t==="left"?"row-reverse":t==="right"?"row":"column"};
532
+ align-items: ${({$legendPosition:t})=>"center"};
529
533
  justify-content: center;
530
534
  gap: 20px;
531
- ${({$width:n,$height:r,$minWidth:i,$maxWidth:s,$minHeight:l,$maxHeight:u})=>{const f=n&&typeof n=="object",d=r&&typeof r=="object";if(f||d||i&&typeof i=="object"||s&&typeof s=="object"||l&&typeof l=="object"||u&&typeof u=="object"){const _={};return typeof n=="string"?_.width=n:typeof n=="number"?(_.width="100%",s===void 0&&(_.maxWidth=`${n}px`)):f&&(_.width="100%",s===void 0&&(_.maxWidth=n)),typeof r=="string"?_.height=r:typeof r=="number"?(_.height="auto",u===void 0&&(_.maxHeight=`${r}px`)):d&&(_.height="auto",u===void 0&&(_.maxHeight=r)),typeof i=="number"?_.minWidth=`${i}px`:(typeof i=="string"||i)&&(_.minWidth=i),s!==void 0&&(typeof s=="string"?s==="auto"?_.maxWidth="none":_.maxWidth=s:typeof s=="number"?_.maxWidth=`${s}px`:_.maxWidth=s),typeof l=="number"?_.minHeight=`${l}px`:(typeof l=="string"||l)&&(_.minHeight=l),u!==void 0&&(typeof u=="string"?u==="auto"?_.maxHeight="none":_.maxHeight=u:typeof u=="number"?_.maxHeight=`${u}px`:_.maxHeight=u),Mr(_)}const w={};return typeof n=="string"?n==="auto"||n==="100%"||/^\d+(\.\d+)?(px|%|em|rem|vw|vh)$/.test(n)?w.width=n:w.width="100%":typeof n=="number"&&(w.width="100%",s===void 0&&(w.maxWidth=`${n}px`)),typeof r=="string"?r==="auto"||r==="100%"||/^\d+(\.\d+)?(px|%|em|rem|vw|vh)$/.test(r)?w.height=r:w.height="auto":typeof r=="number"&&(w.height="auto",u===void 0&&(w.maxHeight=`${r}px`)),i!==void 0&&(typeof i=="number"?w.minWidth=`${i}px`:typeof i=="string"&&(w.minWidth=i)),s!==void 0&&(typeof s=="string"?s==="auto"?w.maxWidth="none":w.maxWidth=s:typeof s=="number"&&(w.maxWidth=`${s}px`)),l!==void 0&&(typeof l=="number"?w.minHeight=`${l}px`:typeof l=="string"&&(w.minHeight=l)),u!==void 0&&(typeof u=="string"?u==="auto"?w.maxHeight="none":w.maxHeight=u:typeof u=="number"&&(w.maxHeight=`${u}px`)),at(w)}}
532
- `,vx=ae.svg`
535
+ ${({$width:t,$height:r,$minWidth:i,$maxWidth:s,$minHeight:l,$maxHeight:u})=>{const f=t&&typeof t=="object",h=r&&typeof r=="object";if(f||h||i&&typeof i=="object"||s&&typeof s=="object"||l&&typeof l=="object"||u&&typeof u=="object"){const C={};return typeof t=="string"?C.width=t:typeof t=="number"?(C.width="100%",s===void 0&&(C.maxWidth=`${t}px`)):f&&(C.width="100%",s===void 0&&(C.maxWidth=t)),typeof r=="string"?C.height=r:typeof r=="number"?(C.height="auto",u===void 0&&(C.maxHeight=`${r}px`)):h&&(C.height="auto",u===void 0&&(C.maxHeight=r)),typeof i=="number"?C.minWidth=`${i}px`:(typeof i=="string"||i)&&(C.minWidth=i),s!==void 0&&(typeof s=="string"?s==="auto"?C.maxWidth="none":C.maxWidth=s:typeof s=="number"?C.maxWidth=`${s}px`:C.maxWidth=s),typeof l=="number"?C.minHeight=`${l}px`:(typeof l=="string"||l)&&(C.minHeight=l),u!==void 0&&(typeof u=="string"?u==="auto"?C.maxHeight="none":C.maxHeight=u:typeof u=="number"?C.maxHeight=`${u}px`:C.maxHeight=u),Mr(C)}const x={};return typeof t=="string"?t==="auto"||t==="100%"||/^\d+(\.\d+)?(px|%|em|rem|vw|vh)$/.test(t)?x.width=t:x.width="100%":typeof t=="number"&&(x.width="100%",s===void 0&&(x.maxWidth=`${t}px`)),typeof r=="string"?r==="auto"||r==="100%"||/^\d+(\.\d+)?(px|%|em|rem|vw|vh)$/.test(r)?x.height=r:x.height="auto":typeof r=="number"&&(x.height="auto",u===void 0&&(x.maxHeight=`${r}px`)),i!==void 0&&(typeof i=="number"?x.minWidth=`${i}px`:typeof i=="string"&&(x.minWidth=i)),s!==void 0&&(typeof s=="string"?s==="auto"?x.maxWidth="none":x.maxWidth=s:typeof s=="number"&&(x.maxWidth=`${s}px`)),l!==void 0&&(typeof l=="number"?x.minHeight=`${l}px`:typeof l=="string"&&(x.minHeight=l)),u!==void 0&&(typeof u=="string"?u==="auto"?x.maxHeight="none":x.maxHeight=u:typeof u=="number"&&(x.maxHeight=`${u}px`)),at(x)}}
536
+ `,Tx=ae.svg`
533
537
  display: block;
534
538
  flex-shrink: 0;
535
- width: ${({$width:n})=>n===void 0?"100%":typeof n=="number"?`${n}px`:n};
536
- height: ${({$height:n})=>n?`${n}px`:"auto"};
537
- `,yx=ae.path`
538
- fill: ${({theme:n,$colorKey:r})=>n.colors[r]};
539
- stroke: ${({theme:n,$strokeColorKey:r})=>n.colors[r]||r};
540
- stroke-width: ${({$strokeWidth:n})=>n}px;
541
- animation: ${gx} ${({$animationDuration:n})=>n}ms ease-out;
539
+ width: ${({$width:t})=>t===void 0?"100%":typeof t=="number"?`${t}px`:t};
540
+ height: ${({$height:t})=>t?`${t}px`:"auto"};
541
+ `,Rx=ae.path`
542
+ fill: ${({theme:t,$colorKey:r})=>t.colors[r]};
543
+ stroke: ${({theme:t,$strokeColorKey:r})=>t.colors[r]||r};
544
+ stroke-width: ${({$strokeWidth:t})=>t}px;
545
+ animation: ${$x} ${({$animationDuration:t})=>t}ms ease-out;
542
546
  transform: translate(0, 0);
543
547
  cursor: pointer;
544
548
  transition: transform 0.2s ease, filter 0.2s ease;
@@ -547,68 +551,68 @@ function print() { __p += __j.call(arguments, '') }
547
551
  transform: scale(1.1);
548
552
  filter: brightness(1.1);
549
553
  }
550
- `,bx=ae.text`
554
+ `,Lx=ae.text`
551
555
  fill: white;
552
- font-size: ${({$fontSize:n})=>n}px;
553
- font-family: ${({theme:n})=>n.fonts.neutral};
556
+ font-size: ${({$fontSize:t})=>t}px;
557
+ font-family: ${({theme:t})=>t.fonts.neutral};
554
558
  font-weight: 600;
555
559
  pointer-events: none;
556
560
  user-select: none;
557
561
  filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.5));
558
- `,wx=ae(X)`
562
+ `,Ox=ae(X)`
559
563
  display: flex;
560
- flex-direction: ${({$position:n})=>n==="left"||n==="right"?"column":"row"};
561
- flex-wrap: ${({$position:n})=>n==="top"||n==="bottom"?"wrap":"nowrap"};
562
- gap: ${({$spacing:n})=>n}px;
563
- padding: ${({$spacing:n})=>n}px;
564
- ${({$position:n})=>n==="top"?at`margin-bottom: 20px;`:n==="bottom"?at`margin-top: 20px;`:n==="left"?at`margin-right: 20px;`:n==="right"?at`margin-left: 20px;`:""}
565
- `,xx=ae(X)`
564
+ flex-direction: ${({$position:t})=>t==="left"||t==="right"?"column":"row"};
565
+ flex-wrap: ${({$position:t})=>t==="top"||t==="bottom"?"wrap":"nowrap"};
566
+ gap: ${({$spacing:t})=>t}px;
567
+ padding: ${({$spacing:t})=>t}px;
568
+ ${({$position:t})=>t==="top"?at`margin-bottom: 20px;`:t==="bottom"?at`margin-top: 20px;`:t==="left"?at`margin-right: 20px;`:t==="right"?at`margin-left: 20px;`:""}
569
+ `,Ix=ae(X)`
566
570
  display: flex;
567
571
  align-items: center;
568
- gap: ${({$spacing:n})=>n/2}px;
572
+ gap: ${({$spacing:t})=>t/2}px;
569
573
  cursor: pointer;
570
574
  transition: opacity 0.2s ease;
571
575
 
572
576
  &:hover {
573
577
  opacity: 0.8;
574
578
  }
575
- `,_x=ae(X)`
576
- width: ${({$size:n})=>n}px;
577
- height: ${({$size:n})=>n}px;
578
- background-color: ${({theme:n,$colorKey:r})=>n.colors[r]};
579
+ `,Mx=ae(X)`
580
+ width: ${({$size:t})=>t}px;
581
+ height: ${({$size:t})=>t}px;
582
+ background-color: ${({theme:t,$colorKey:r})=>t.colors[r]};
579
583
  border-radius: 2px;
580
584
  flex-shrink: 0;
581
- `,Cx=ae.span`
582
- font-size: ${({$fontSize:n})=>n}px;
583
- color: ${({theme:n,$colorKey:r})=>n.colors[r]||r};
584
- font-family: ${({theme:n})=>n.fonts.neutral};
585
+ `,Fx=ae.span`
586
+ font-size: ${({$fontSize:t})=>t}px;
587
+ color: ${({theme:t,$colorKey:r})=>t.colors[r]||r};
588
+ font-family: ${({theme:t})=>t.fonts.neutral};
585
589
  white-space: nowrap;
586
- `,Sx=(n,r,i,s)=>{const l=n*Math.PI/180,u=r*Math.PI/180,f=Math.cos(l)*s,d=Math.sin(l)*s,g=Math.cos(u)*s,v=Math.sin(u)*s,C=r-n>180?1:0;if(i>0){const S=Math.cos(l)*i,E=Math.sin(l)*i,w=Math.cos(u)*i,_=Math.sin(u)*i;return`
587
- M ${f} ${d}
588
- A ${s} ${s} 0 ${C} 1 ${g} ${v}
589
- L ${w} ${_}
590
- A ${i} ${i} 0 ${C} 0 ${S} ${E}
590
+ `,zx=(t,r,i,s)=>{const l=t*Math.PI/180,u=r*Math.PI/180,f=Math.cos(l)*s,h=Math.sin(l)*s,g=Math.cos(u)*s,v=Math.sin(u)*s,_=r-t>180?1:0;if(i>0){const S=Math.cos(l)*i,E=Math.sin(l)*i,x=Math.cos(u)*i,C=Math.sin(u)*i;return`
591
+ M ${f} ${h}
592
+ A ${s} ${s} 0 ${_} 1 ${g} ${v}
593
+ L ${x} ${C}
594
+ A ${i} ${i} 0 ${_} 0 ${S} ${E}
591
595
  Z
592
596
  `}else return`
593
597
  M 0 0
594
- L ${f} ${d}
595
- A ${s} ${s} 0 ${C} 1 ${g} ${v}
598
+ L ${f} ${h}
599
+ A ${s} ${s} 0 ${_} 1 ${g} ${v}
596
600
  Z
597
- `},Ex=({data:n,width:r=400,height:i=400,minWidth:s=200,maxWidth:l,minHeight:u=200,maxHeight:f,innerRadius:d=0,outerRadius:g,padAngle:v=0,size:C,variant:S,showLabels:E=!1,showLegend:w=!0,legendPosition:_="right",animationDuration:O=300,startAngle:R=-90,testID:M="pie-chart",...T})=>{var Be,it;const I=_e().__hd__.pieChart,P=h.useRef(null),[U,N]=h.useState(()=>{if(typeof r=="number")return r;if(typeof r=="string"){const de=r.match(/^(\d+(?:\.\d+)?)px$/);if(de)return parseFloat(de[1])}return 400}),[Q,pe]=h.useState(()=>{if(typeof i=="number")return i;if(typeof i=="string"){const de=i.match(/^(\d+(?:\.\d+)?)px$/);if(de)return parseFloat(de[1])}return 400}),Ce=S||(I==null?void 0:I.defaultVariant)||"default",Me=C||(I==null?void 0:I.defaultSize)||"md";or(()=>{const de=P.current;if(!de)return;const Se=()=>{if(typeof r=="number"){N(r);return}if(typeof r=="string"&&/^\d+(?:\.\d+)?px$/.test(r)){const J=r.match(/^(\d+(?:\.\d+)?)px$/);if(J){N(parseFloat(J[1]));return}}const ye=de.clientWidth;ye>0&&N(ye)};Se();let Re;return typeof ResizeObserver<"u"?(Re=new ResizeObserver(Se),Re.observe(de)):window.addEventListener("resize",Se),()=>{Re?Re.disconnect():window.removeEventListener("resize",Se)}},[r,s,l]),or(()=>{const de=P.current;if(!de)return;const Se=()=>{if(typeof i=="number"){pe(i);return}if(typeof i=="string"&&/^\d+(?:\.\d+)?px$/.test(i)){const J=i.match(/^(\d+(?:\.\d+)?)px$/);if(J){pe(parseFloat(J[1]));return}}const ye=de.clientHeight;ye>0&&pe(ye)};Se();let Re;return typeof ResizeObserver<"u"?(Re=new ResizeObserver(Se),Re.observe(de)):window.addEventListener("resize",Se),()=>{Re?Re.disconnect():window.removeEventListener("resize",Se)}},[i,u,f]);const{strokeWidth:D=1,strokeColor:z="white",labelColor:G="grey600",labelFontSize:le=12,legendFontSize:te=14,legendSpacing:oe=8}=((Be=I==null?void 0:I.sizes)==null?void 0:Be[Me])||{},{defaultColors:ee=["primary","secondary","success","warning","danger"]}=((it=I==null?void 0:I.variants)==null?void 0:it[Ce])||{},ve=Math.min(U,Q),je=ve/2,ke=ve/2,Ie=g||ve/2-20,De=d*Ie,Ke=h.useMemo(()=>{const de=n.reduce((Re,ye)=>Re+ye.value,0);let Se=R;return n.map((Re,ye)=>{const J=Re.value/de*100,ce=Re.value/de*360-v,Z={...Re,percentage:J,startAngle:Se,endAngle:Se+ce,midAngle:Se+ce/2,color:Re.color||ee[ye%ee.length]};return Se+=ce+v,Z})},[n,R,v,ee]),gt=(de,Se)=>{const Re=de*Math.PI/180,ye=De>0?(De+Ie)/2:Se*.7;return{x:Math.cos(Re)*ye,y:Math.sin(Re)*ye}};return y.jsxs(mx,{ref:P,$legendPosition:_,$showLegend:w,$width:r,$height:i,$minWidth:s,$maxWidth:l||r,$minHeight:u,$maxHeight:f||i,"data-testid":`${M}-container`,...T,children:[y.jsxs(vx,{$width:ve,$height:ve,viewBox:`0 0 ${ve} ${ve}`,role:"img","aria-label":"Pie chart","data-testid":`${M}-svg`,children:[y.jsx("title",{children:"Pie chart"}),y.jsx("g",{transform:`translate(${je}, ${ke})`,children:Ke.map((de,Se)=>{const Re=Sx(de.startAngle,de.endAngle,De,Ie),ye=gt(de.midAngle,Ie);return y.jsxs("g",{children:[y.jsx(yx,{d:Re,$colorKey:de.color,$strokeWidth:D,$strokeColorKey:z,$animationDuration:O,$startAngle:de.startAngle,$endAngle:de.endAngle,"data-testid":`${M}-slice-${Se}`}),E&&y.jsxs(bx,{x:ye.x,y:ye.y,$colorKey:G,$fontSize:le,textAnchor:"middle",dominantBaseline:"middle","data-testid":`${M}-label-${Se}`,children:[de.percentage.toFixed(1),"%"]})]},Se)})})]}),w&&y.jsx(wx,{$position:_,$spacing:oe,"data-testid":`${M}-legend`,children:Ke.map((de,Se)=>y.jsxs(xx,{$spacing:oe,"data-testid":`${M}-legend-item-${Se}`,children:[y.jsx(_x,{$colorKey:de.color,$size:te}),y.jsxs(Cx,{$fontSize:te,$colorKey:G,children:[de.label," (",de.percentage.toFixed(1),"%)"]})]},Se))})]})},Ax=Hn`
601
+ `},jx=({data:t,width:r=400,height:i=400,minWidth:s=200,maxWidth:l,minHeight:u=200,maxHeight:f,innerRadius:h=0,outerRadius:g,padAngle:v=0,size:_,variant:S,showLabels:E=!1,showLegend:x=!0,legendPosition:C="right",animationDuration:F=300,startAngle:R=-90,testID:I="pie-chart",...T})=>{var Be,it;const O=xe().__hd__.pieChart,M=d.useRef(null),[N,V]=d.useState(()=>{if(typeof r=="number")return r;if(typeof r=="string"){const de=r.match(/^(\d+(?:\.\d+)?)px$/);if(de)return parseFloat(de[1])}return 400}),[Q,pe]=d.useState(()=>{if(typeof i=="number")return i;if(typeof i=="string"){const de=i.match(/^(\d+(?:\.\d+)?)px$/);if(de)return parseFloat(de[1])}return 400}),Ce=S||(O==null?void 0:O.defaultVariant)||"default",Me=_||(O==null?void 0:O.defaultSize)||"md";or(()=>{const de=M.current;if(!de)return;const Se=()=>{if(typeof r=="number"){V(r);return}if(typeof r=="string"&&/^\d+(?:\.\d+)?px$/.test(r)){const J=r.match(/^(\d+(?:\.\d+)?)px$/);if(J){V(parseFloat(J[1]));return}}const ye=de.clientWidth;ye>0&&V(ye)};Se();let Re;return typeof ResizeObserver<"u"?(Re=new ResizeObserver(Se),Re.observe(de)):window.addEventListener("resize",Se),()=>{Re?Re.disconnect():window.removeEventListener("resize",Se)}},[r,s,l]),or(()=>{const de=M.current;if(!de)return;const Se=()=>{if(typeof i=="number"){pe(i);return}if(typeof i=="string"&&/^\d+(?:\.\d+)?px$/.test(i)){const J=i.match(/^(\d+(?:\.\d+)?)px$/);if(J){pe(parseFloat(J[1]));return}}const ye=de.clientHeight;ye>0&&pe(ye)};Se();let Re;return typeof ResizeObserver<"u"?(Re=new ResizeObserver(Se),Re.observe(de)):window.addEventListener("resize",Se),()=>{Re?Re.disconnect():window.removeEventListener("resize",Se)}},[i,u,f]);const{strokeWidth:D=1,strokeColor:j="white",labelColor:G="grey600",labelFontSize:le=12,legendFontSize:te=14,legendSpacing:oe=8}=((Be=O==null?void 0:O.sizes)==null?void 0:Be[Me])||{},{defaultColors:ee=["primary","secondary","success","warning","danger"]}=((it=O==null?void 0:O.variants)==null?void 0:it[Ce])||{},ve=Math.min(N,Q),je=ve/2,ke=ve/2,Oe=g||ve/2-20,De=h*Oe,Ke=d.useMemo(()=>{const de=t.reduce((Re,ye)=>Re+ye.value,0);let Se=R;return t.map((Re,ye)=>{const J=Re.value/de*100,ce=Re.value/de*360-v,Z={...Re,percentage:J,startAngle:Se,endAngle:Se+ce,midAngle:Se+ce/2,color:Re.color||ee[ye%ee.length]};return Se+=ce+v,Z})},[t,R,v,ee]),gt=(de,Se)=>{const Re=de*Math.PI/180,ye=De>0?(De+Oe)/2:Se*.7;return{x:Math.cos(Re)*ye,y:Math.sin(Re)*ye}};return y.jsxs(kx,{ref:M,$legendPosition:C,$showLegend:x,$width:r,$height:i,$minWidth:s,$maxWidth:l||r,$minHeight:u,$maxHeight:f||i,"data-testid":`${I}-container`,...T,children:[y.jsxs(Tx,{$width:ve,$height:ve,viewBox:`0 0 ${ve} ${ve}`,role:"img","aria-label":"Pie chart","data-testid":`${I}-svg`,children:[y.jsx("title",{children:"Pie chart"}),y.jsx("g",{transform:`translate(${je}, ${ke})`,children:Ke.map((de,Se)=>{const Re=zx(de.startAngle,de.endAngle,De,Oe),ye=gt(de.midAngle,Oe);return y.jsxs("g",{children:[y.jsx(Rx,{d:Re,$colorKey:de.color,$strokeWidth:D,$strokeColorKey:j,$animationDuration:F,$startAngle:de.startAngle,$endAngle:de.endAngle,"data-testid":`${I}-slice-${Se}`}),E&&y.jsxs(Lx,{x:ye.x,y:ye.y,$colorKey:G,$fontSize:le,textAnchor:"middle",dominantBaseline:"middle","data-testid":`${I}-label-${Se}`,children:[de.percentage.toFixed(1),"%"]})]},Se)})})]}),x&&y.jsx(Ox,{$position:C,$spacing:oe,"data-testid":`${I}-legend`,children:Ke.map((de,Se)=>y.jsxs(Ix,{$spacing:oe,"data-testid":`${I}-legend-item-${Se}`,children:[y.jsx(Mx,{$colorKey:de.color,$size:te}),y.jsxs(Fx,{$fontSize:te,$colorKey:G,children:[de.label," (",de.percentage.toFixed(1),"%)"]})]},Se))})]})},Bx=Hn`
598
602
  from {
599
603
  stroke-dashoffset: 1000;
600
604
  }
601
605
  to {
602
606
  stroke-dashoffset: 0;
603
607
  }
604
- `,$x=Hn`
608
+ `,Px=Hn`
605
609
  from {
606
610
  opacity: 0;
607
611
  }
608
612
  to {
609
613
  opacity: 0.3;
610
614
  }
611
- `,kx=Hn`
615
+ `,Wx=Hn`
612
616
  0% {
613
617
  transform: scale(0);
614
618
  opacity: 0;
@@ -621,25 +625,25 @@ function print() { __p += __j.call(arguments, '') }
621
625
  transform: scale(1);
622
626
  opacity: 1;
623
627
  }
624
- `,Tx=ae(X)`
628
+ `,Dx=ae(X)`
625
629
  position: relative;
626
630
  display: block;
627
- ${({$width:n,$minWidth:r,$maxWidth:i,$height:s,$minHeight:l,$maxHeight:u})=>{const f=n&&typeof n=="object",d=r&&typeof r=="object",g=i&&typeof i=="object",v=s&&typeof s=="object";if(f||d||g||v||l&&typeof l=="object"||u&&typeof u=="object"){const _={};return typeof n=="string"?_.width=n:typeof n=="number"?(_.width="100%",i===void 0&&(_.maxWidth=`${n}px`)):f&&(_.width="100%",i===void 0&&(_.maxWidth=n)),typeof r=="number"?_.minWidth=`${r}px`:(typeof r=="string"||r)&&(_.minWidth=r),i!==void 0&&(typeof i=="string"?i==="auto"?_.maxWidth="none":_.maxWidth=i:typeof i=="number"?_.maxWidth=`${i}px`:_.maxWidth=i),typeof s=="string"?_.height=s:typeof s=="number"?(_.height="auto",u===void 0&&(_.maxHeight=`${s}px`)):v&&(_.height="auto",u===void 0&&(_.maxHeight=s)),typeof l=="number"?_.minHeight=`${l}px`:(typeof l=="string"||l)&&(_.minHeight=l),u!==void 0&&(typeof u=="string"?u==="auto"?_.maxHeight="none":_.maxHeight=u:typeof u=="number"?_.maxHeight=`${u}px`:_.maxHeight=u),Mr(_)}const w={};return typeof n=="string"?n==="auto"||n==="100%"||/^\d+(\.\d+)?(px|%|em|rem|vw|vh)$/.test(n)?w.width=n:w.width="100%":typeof n=="number"&&(w.width="100%",i===void 0&&(w.maxWidth=`${n}px`)),r!==void 0&&(typeof r=="number"?w.minWidth=`${r}px`:typeof r=="string"&&(w.minWidth=r)),i!==void 0&&(typeof i=="string"?i==="auto"?w.maxWidth="none":w.maxWidth=i:typeof i=="number"&&(w.maxWidth=`${i}px`)),typeof s=="string"?s==="auto"||s==="100%"||/^\d+(\.\d+)?(px|%|em|rem|vw|vh)$/.test(s)?w.height=s:w.height="auto":typeof s=="number"&&(w.height="auto",u===void 0&&(w.maxHeight=`${s}px`)),l!==void 0&&(typeof l=="number"?w.minHeight=`${l}px`:typeof l=="string"&&(w.minHeight=l)),u!==void 0&&(typeof u=="string"?u==="auto"?w.maxHeight="none":w.maxHeight=u:typeof u=="number"&&(w.maxHeight=`${u}px`)),at(w)}}
628
- `,Rx=ae.svg`
631
+ ${({$width:t,$minWidth:r,$maxWidth:i,$height:s,$minHeight:l,$maxHeight:u})=>{const f=t&&typeof t=="object",h=r&&typeof r=="object",g=i&&typeof i=="object",v=s&&typeof s=="object";if(f||h||g||v||l&&typeof l=="object"||u&&typeof u=="object"){const C={};return typeof t=="string"?C.width=t:typeof t=="number"?(C.width="100%",i===void 0&&(C.maxWidth=`${t}px`)):f&&(C.width="100%",i===void 0&&(C.maxWidth=t)),typeof r=="number"?C.minWidth=`${r}px`:(typeof r=="string"||r)&&(C.minWidth=r),i!==void 0&&(typeof i=="string"?i==="auto"?C.maxWidth="none":C.maxWidth=i:typeof i=="number"?C.maxWidth=`${i}px`:C.maxWidth=i),typeof s=="string"?C.height=s:typeof s=="number"?(C.height="auto",u===void 0&&(C.maxHeight=`${s}px`)):v&&(C.height="auto",u===void 0&&(C.maxHeight=s)),typeof l=="number"?C.minHeight=`${l}px`:(typeof l=="string"||l)&&(C.minHeight=l),u!==void 0&&(typeof u=="string"?u==="auto"?C.maxHeight="none":C.maxHeight=u:typeof u=="number"?C.maxHeight=`${u}px`:C.maxHeight=u),Mr(C)}const x={};return typeof t=="string"?t==="auto"||t==="100%"||/^\d+(\.\d+)?(px|%|em|rem|vw|vh)$/.test(t)?x.width=t:x.width="100%":typeof t=="number"&&(x.width="100%",i===void 0&&(x.maxWidth=`${t}px`)),r!==void 0&&(typeof r=="number"?x.minWidth=`${r}px`:typeof r=="string"&&(x.minWidth=r)),i!==void 0&&(typeof i=="string"?i==="auto"?x.maxWidth="none":x.maxWidth=i:typeof i=="number"&&(x.maxWidth=`${i}px`)),typeof s=="string"?s==="auto"||s==="100%"||/^\d+(\.\d+)?(px|%|em|rem|vw|vh)$/.test(s)?x.height=s:x.height="auto":typeof s=="number"&&(x.height="auto",u===void 0&&(x.maxHeight=`${s}px`)),l!==void 0&&(typeof l=="number"?x.minHeight=`${l}px`:typeof l=="string"&&(x.minHeight=l)),u!==void 0&&(typeof u=="string"?u==="auto"?x.maxHeight="none":x.maxHeight=u:typeof u=="number"&&(x.maxHeight=`${u}px`)),at(x)}}
632
+ `,Hx=ae.svg`
629
633
  display: block;
630
634
  flex-shrink: 0;
631
- width: ${({$width:n})=>n===void 0?"100%":typeof n=="number"?`${n}px`:n};
632
- height: ${({$height:n})=>n?`${n}px`:"auto"};
633
- `,Lx=ae.path`
635
+ width: ${({$width:t})=>t===void 0?"100%":typeof t=="number"?`${t}px`:t};
636
+ height: ${({$height:t})=>t?`${t}px`:"auto"};
637
+ `,Zx=ae.path`
634
638
  fill: none;
635
- stroke: ${({theme:n,$colorKey:r})=>n.colors[r]};
636
- stroke-width: ${({$strokeWidth:n})=>n}px;
637
- stroke-dasharray: ${({$strokeDasharray:n})=>n||"none"};
639
+ stroke: ${({theme:t,$colorKey:r})=>t.colors[r]};
640
+ stroke-width: ${({$strokeWidth:t})=>t}px;
641
+ stroke-dasharray: ${({$strokeDasharray:t})=>t||"none"};
638
642
  stroke-linecap: round;
639
643
  stroke-linejoin: round;
640
644
  stroke-dasharray: 1000;
641
645
  stroke-dashoffset: 1000;
642
- animation: ${Ax} ${({$animationDuration:n})=>n}ms ease-out forwards;
646
+ animation: ${Bx} ${({$animationDuration:t})=>t}ms ease-out forwards;
643
647
  transition: stroke 0.3s ease;
644
648
  cursor: pointer;
645
649
  transition: opacity 0.2s ease, filter 0.2s ease;
@@ -648,68 +652,68 @@ function print() { __p += __j.call(arguments, '') }
648
652
  opacity: 1;
649
653
  filter: brightness(1.1);
650
654
  }
651
- `,Ix=ae.path`
652
- fill: ${({theme:n,$colorKey:r})=>n.colors[r]};
655
+ `,Vx=ae.path`
656
+ fill: ${({theme:t,$colorKey:r})=>t.colors[r]};
653
657
  opacity: 0;
654
- animation: ${$x} ${({$animationDuration:n})=>n}ms ease-out forwards;
655
- animation-delay: ${({$animationDuration:n})=>n/2}ms;
656
- `,Ox=ae.circle`
657
- fill: ${({theme:n,$colorKey:r})=>n.colors[r]};
658
+ animation: ${Px} ${({$animationDuration:t})=>t}ms ease-out forwards;
659
+ animation-delay: ${({$animationDuration:t})=>t/2}ms;
660
+ `,Nx=ae.circle`
661
+ fill: ${({theme:t,$colorKey:r})=>t.colors[r]};
658
662
  stroke: white;
659
663
  stroke-width: 2px;
660
664
  cursor: pointer;
661
665
  transform-origin: center;
662
- animation: ${kx} ${({$animationDuration:n})=>n/3}ms ease-out forwards;
663
- animation-delay: ${({$animationDuration:n})=>n}ms;
666
+ animation: ${Wx} ${({$animationDuration:t})=>t/3}ms ease-out forwards;
667
+ animation-delay: ${({$animationDuration:t})=>t}ms;
664
668
  opacity: 0;
665
669
 
666
670
  &:hover {
667
671
  transform: scale(1.5);
668
672
  filter: brightness(1.2);
669
673
  }
670
- `,bf=ae.line`
671
- stroke: ${({theme:n,$colorKey:r})=>n.colors[r]||r};
674
+ `,wf=ae.line`
675
+ stroke: ${({theme:t,$colorKey:r})=>t.colors[r]||r};
672
676
  stroke-width: 1;
673
677
  shape-rendering: crispEdges;
674
- `,wf=ae.text`
675
- fill: ${({theme:n,$colorKey:r})=>n.colors[r]||r};
676
- font-size: ${({$fontSize:n})=>n}px;
677
- font-family: ${({theme:n})=>n.fonts.neutral};
678
+ `,_f=ae.text`
679
+ fill: ${({theme:t,$colorKey:r})=>t.colors[r]||r};
680
+ font-size: ${({$fontSize:t})=>t}px;
681
+ font-family: ${({theme:t})=>t.fonts.neutral};
678
682
  user-select: none;
679
- `,xf=ae.line`
680
- stroke: ${({theme:n,$colorKey:r})=>n.colors[r]||r};
683
+ `,Cf=ae.line`
684
+ stroke: ${({theme:t,$colorKey:r})=>t.colors[r]||r};
681
685
  stroke-width: 1;
682
686
  stroke-dasharray: 2, 2;
683
687
  opacity: 0.3;
684
- `,_f=ae(X)`
688
+ `,Sf=ae(X)`
685
689
  display: flex;
686
690
  flex-direction: row;
687
691
  flex-wrap: wrap;
688
- gap: ${({$spacing:n})=>n*1.5}px;
689
- padding: ${({$spacing:n})=>n}px;
692
+ gap: ${({$spacing:t})=>t*1.5}px;
693
+ padding: ${({$spacing:t})=>t}px;
690
694
  justify-content: center;
691
- margin-bottom: ${({$position:n})=>n==="top"?"10px":"0"};
692
- margin-top: ${({$position:n})=>n==="bottom"?"10px":"0"};
693
- `,Cf=ae(X)`
695
+ margin-bottom: ${({$position:t})=>t==="top"?"10px":"0"};
696
+ margin-top: ${({$position:t})=>t==="bottom"?"10px":"0"};
697
+ `,Ef=ae(X)`
694
698
  display: flex;
695
699
  align-items: center;
696
- gap: ${({$spacing:n})=>n/2}px;
700
+ gap: ${({$spacing:t})=>t/2}px;
697
701
  cursor: pointer;
698
702
  transition: opacity 0.2s ease;
699
703
 
700
704
  &:hover {
701
705
  opacity: 0.7;
702
706
  }
703
- `,Sf=ae(X)`
707
+ `,Af=ae(X)`
704
708
  width: 24px;
705
- height: ${({$strokeWidth:n})=>n}px;
706
- background-color: ${({theme:n,$colorKey:r})=>n.colors[r]};
709
+ height: ${({$strokeWidth:t})=>t}px;
710
+ background-color: ${({theme:t,$colorKey:r})=>t.colors[r]};
707
711
  flex-shrink: 0;
708
- ${({$strokeDasharray:n})=>n?`background-image: repeating-linear-gradient(90deg, currentColor 0, currentColor ${n.split(",")[0]}px, transparent ${n.split(",")[0]}px, transparent ${n.split(",")[1]||n.split(",")[0]}px);`:""}
709
- `,Ef=ae.span`
710
- font-size: ${({$fontSize:n})=>n}px;
711
- color: ${({theme:n,$colorKey:r})=>n.colors[r]||r};
712
- font-family: ${({theme:n})=>n.fonts.neutral};
712
+ ${({$strokeDasharray:t})=>t?`background-image: repeating-linear-gradient(90deg, currentColor 0, currentColor ${t.split(",")[0]}px, transparent ${t.split(",")[0]}px, transparent ${t.split(",")[1]||t.split(",")[0]}px);`:""}
713
+ `,$f=ae.span`
714
+ font-size: ${({$fontSize:t})=>t}px;
715
+ color: ${({theme:t,$colorKey:r})=>t.colors[r]||r};
716
+ font-family: ${({theme:t})=>t.fonts.neutral};
713
717
  white-space: nowrap;
714
718
  `;ae(X)`
715
719
  position: absolute;
@@ -722,5 +726,5 @@ function print() { __p += __j.call(arguments, '') }
722
726
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
723
727
  `;ae(X)`
724
728
  font-size: 12px;
725
- font-family: ${({theme:n})=>n.fonts.neutral};
726
- `;const Mx=(n,r)=>{if(n.length===0)return"";if(r==="linear")return n.map((i,s)=>`${s===0?"M":"L"} ${i.x} ${i.y}`).join(" ");if(r==="smooth"){let i=`M ${n[0].x} ${n[0].y}`;for(let s=1;s<n.length;s++){const l=n[Math.max(0,s-2)],u=n[s-1],f=n[s],d=n[Math.min(n.length-1,s+1)],g=u.x+(f.x-l.x)/6,v=u.y+(f.y-l.y)/6,C=f.x-(d.x-u.x)/6,S=f.y-(d.y-u.y)/6;i+=` C ${g} ${v}, ${C} ${S}, ${f.x} ${f.y}`}return i}if(r==="step"){let i=`M ${n[0].x} ${n[0].y}`;for(let s=1;s<n.length;s++){const l=(n[s-1].x+n[s].x)/2;i+=` L ${l} ${n[s-1].y} L ${l} ${n[s].y} L ${n[s].x} ${n[s].y}`}return i}return""},Fx=({series:n,width:r=600,minWidth:i=300,maxWidth:s,height:l=400,minHeight:u=300,maxHeight:f,chartMargin:d,size:g,variant:v,showGrid:C=!0,showXAxis:S=!0,showYAxis:E=!0,showLegend:w=!0,legendPosition:_="top",curve:O="linear",animationDuration:R=500,xAxisLabels:M,yDomain:T,testID:k="line-chart",...I})=>{const P=_e(),U=P.__hd__.lineChart,N=h.useRef(null),[Q,pe]=h.useState(()=>{if(typeof r=="number")return r;if(typeof r=="string"){const J=r.match(/^(\d+(?:\.\d+)?)px$/);if(J)return parseFloat(J[1])}return 600}),[Ce,Me]=h.useState(()=>{if(typeof l=="number")return l;if(typeof l=="string"){const J=l.match(/^(\d+(?:\.\d+)?)px$/);if(J)return parseFloat(J[1])}return 400}),D=v||U.defaultVariant,z=g||U.defaultSize;or(()=>{const J=N.current;if(!J)return;const ce=()=>{if(typeof r=="number")pe(r);else if(typeof r=="string"&&/^\d+(?:\.\d+)?px$/.test(r)){const fe=r.match(/^(\d+(?:\.\d+)?)px$/);fe&&pe(parseFloat(fe[1]))}else{const fe=J.clientWidth;fe>0&&pe(fe)}const ie=(()=>{if(typeof l=="number")return l;if(typeof l=="string"){const fe=l.match(/^(\d+(?:\.\d+)?)px$/);if(fe)return parseFloat(fe[1])}return 400})();Me(ie)};ce();let Z;return typeof ResizeObserver<"u"?(Z=new ResizeObserver(ce),Z.observe(J)):window.addEventListener("resize",ce),()=>{Z?Z.disconnect():window.removeEventListener("resize",ce)}},[r,l]),or(()=>{const J=N.current;if(!J)return;const ce=()=>{if(typeof r=="number")pe(r);else if(typeof r=="string"&&/^\d+(?:\.\d+)?px$/.test(r)){const fe=r.match(/^(\d+(?:\.\d+)?)px$/);fe&&pe(parseFloat(fe[1]))}else{const fe=J.clientWidth;fe>0&&pe(fe)}const ie=(()=>{if(typeof l=="number")return l;if(typeof l=="string"){const fe=l.match(/^(\d+(?:\.\d+)?)px$/);if(fe)return parseFloat(fe[1])}return 400})();Me(ie)};ce();let Z;return typeof ResizeObserver<"u"?(Z=new ResizeObserver(ce),Z.observe(J)):window.addEventListener("resize",ce),()=>{Z?Z.disconnect():window.removeEventListener("resize",ce)}},[r,l]);const{strokeWidth:G,dotRadius:le,axisColor:te,gridColor:oe,labelColor:ee,labelFontSize:ve,legendFontSize:je,legendSpacing:ke}=U.sizes[z],{defaultColors:Ie}=U.variants[D],[De,Ke]=h.useMemo(()=>{if(T)return T;let J=1/0,ce=-1/0;return n.forEach(Z=>{Z.data.forEach(ie=>{J=Math.min(J,ie.y),ce=Math.max(ce,ie.y)})}),J===1/0||ce===-1/0?[0,1]:[Math.floor(J-(ce-J)*.1),Math.ceil(ce+(ce-J)*.1)]},[n,T]),gt=h.useMemo(()=>{const ce=Array.from({length:5},(ot,re)=>(De+(Ke-De)*(re/4)).toFixed(1)),Z=P.fonts.neutral,ie=`${ve}px ${Z}`,fe=ve*.6;let we=null;typeof document<"u"&&(we=document.createElement("canvas").getContext("2d"),we&&(we.font=ie));const We=ot=>we?we.measureText(ot).width:ot.length*fe,Xe=ce.reduce((ot,re)=>Math.max(ot,We(re)),0),tt=Math.ceil(Xe+12),nt=(d==null?void 0:d.left)??50;return Math.max(nt,tt)},[De,Ke,d==null?void 0:d.left,ve,P.fonts.neutral]),Be={top:(d==null?void 0:d.top)??20,right:(d==null?void 0:d.right)??20,bottom:(d==null?void 0:d.bottom)??40,left:gt},it=Math.max(0,Q-Be.left-Be.right),de=Math.max(0,Ce-Be.top-Be.bottom),{processedSeries:Se,xLabels:Re,yTicks:ye}=h.useMemo(()=>{const J=new Set,ce=[];let Z=1/0,ie=-1/0;n.forEach(Pe=>{Pe.data.forEach(He=>{const Qe=String(He.x);J.has(Qe)||(J.add(Qe),ce.push(Qe)),Z=Math.min(Z,He.y),ie=Math.max(ie,He.y)})});const[fe,we]=T||[Math.floor(Z-(ie-Z)*.1),Math.ceil(ie+(ie-Z)*.1)],We=M||ce,Xe=it/(We.length-1||1),tt=new Map(We.map((Pe,He)=>[String(Pe),He*Xe])),nt=Pe=>{const He=(Pe-fe)/(we-fe||1);return de-He*de},ot=n.map((Pe,He)=>({...Pe,color:Pe.color||Ie[He%Ie.length],points:Pe.data.map(Qe=>({x:tt.get(String(Qe.x))||0,y:nt(Qe.y),originalX:Qe.x,originalY:Qe.y}))})),re=5,Ne=Array.from({length:re},(Pe,He)=>{const Qe=fe+(we-fe)*(He/(re-1));return{value:Qe,position:nt(Qe),label:Qe.toFixed(1)}});return{processedSeries:ot,xLabels:We,yTicks:Ne.reverse()}},[n,it,de,M,T,Ie]);return y.jsxs(Tx,{ref:N,"data-testid":`${k}-container`,$width:r,$minWidth:i,$maxWidth:s,$height:l,$minHeight:u,$maxHeight:f,...I,children:[w&&_==="top"&&y.jsx(_f,{$position:_,$spacing:ke,"data-testid":`${k}-legend`,children:Se.map((J,ce)=>y.jsxs(Cf,{$spacing:ke,"data-testid":`${k}-legend-item-${ce}`,children:[y.jsx(Sf,{$colorKey:J.color,$strokeWidth:J.strokeWidth||G,$strokeDasharray:J.strokeDasharray}),y.jsx(Ef,{$fontSize:je,$colorKey:ee,children:J.label})]},J.id))}),y.jsxs(Rx,{$width:Q,$height:Ce,viewBox:`0 0 ${Q} ${Ce}`,role:"img","aria-label":"Line chart","data-testid":`${k}-svg`,children:[y.jsx("title",{children:"Line chart"}),y.jsxs("g",{transform:`translate(${Be.left}, ${Be.top})`,children:[C&&y.jsxs(y.Fragment,{children:[ye.map((J,ce)=>y.jsx(xf,{$colorKey:oe,x1:0,y1:J.position,x2:it,y2:J.position,"data-testid":`${k}-grid-h-${ce}`},`h-grid-${ce}`)),Re.map((J,ce)=>{const Z=ce*it/(Re.length-1||1);return y.jsx(xf,{$colorKey:oe,x1:Z,y1:0,x2:Z,y2:de,"data-testid":`${k}-grid-v-${ce}`},`v-grid-${ce}`)})]}),Se.map((J,ce)=>{var fe,we;const Z=Mx(J.points,O),ie=J.showArea?`${Z} L ${((fe=J.points[J.points.length-1])==null?void 0:fe.x)||0} ${de} L ${((we=J.points[0])==null?void 0:we.x)||0} ${de} Z`:"";return y.jsxs("g",{children:[J.showArea&&y.jsx(Ix,{d:ie,$colorKey:J.color,$animationDuration:R,"data-testid":`${k}-area-${ce}`}),y.jsx(Lx,{d:Z,$colorKey:J.color,$strokeWidth:J.strokeWidth||G,$strokeDasharray:J.strokeDasharray,$animationDuration:R,"data-testid":`${k}-line-${ce}`}),J.showDots!==!1&&J.points.map((We,Xe)=>y.jsx(Ox,{cx:We.x,cy:We.y,r:le,$colorKey:J.color,$animationDuration:R,"data-testid":`${k}-dot-${ce}-${Xe}`},Xe))]},J.id)}),S&&y.jsxs(y.Fragment,{children:[y.jsx(bf,{$colorKey:te,x1:0,y1:de,x2:it,y2:de,"data-testid":`${k}-x-axis`}),Re.map((J,ce)=>{const Z=ce*it/(Re.length-1||1);return y.jsx(wf,{x:Z,y:de+20,$colorKey:ee,$fontSize:ve,textAnchor:"middle","data-testid":`${k}-x-label-${ce}`,children:J},ce)})]}),E&&y.jsxs(y.Fragment,{children:[y.jsx(bf,{$colorKey:te,x1:0,y1:0,x2:0,y2:de,"data-testid":`${k}-y-axis`}),ye.map((J,ce)=>y.jsx(wf,{x:-10,y:J.position,$colorKey:ee,$fontSize:ve,textAnchor:"end",dominantBaseline:"middle","data-testid":`${k}-y-label-${ce}`,children:J.label},ce))]})]})]}),w&&_==="bottom"&&y.jsx(_f,{$position:_,$spacing:ke,"data-testid":`${k}-legend`,children:Se.map((J,ce)=>y.jsxs(Cf,{$spacing:ke,"data-testid":`${k}-legend-item-${ce}`,children:[y.jsx(Sf,{$colorKey:J.color,$strokeWidth:J.strokeWidth||G,$strokeDasharray:J.strokeDasharray}),y.jsx(Ef,{$fontSize:je,$colorKey:ee,children:J.label})]},J.id))})]})};exports.AIC_Kits_StackingLayers=sn;exports.Accordion=jw;exports.Art=Qt;exports.Avatar=Id;exports.BarChart=px;exports.Base=Mb;exports.Box=X;exports.Brand=yd;exports.Button=ya;exports.Carousel=Ow;exports.Checkbox=Dw;exports.DEFAULT_VIMEO_CONFIG=xw;exports.Divider=Wd;exports.Emoji=bd;exports.Grid=s0;exports.Header=Vd;exports.HeaderAuth=Hd;exports.HeaderLogo=Zd;exports.HeaderNav=Nd;exports.Icon=Ta;exports.Image=Rd;exports.Input=jb;exports.LineChart=Fx;exports.List=Db;exports.Loading=za;exports.Modal=ox;exports.NormalizedBrowserName=Bd;exports.NormalizedDeviceType=jd;exports.NormalizedOSName=Pd;exports.Pagination=Qw;exports.PaginationItem=a0;exports.PieChart=Ex;exports.Progress=rx;exports.RESPONSIVE_BREAKPOINTS=hi;exports.RESPONSIVE_BREAKPOINT_KEYS=li;exports.SUPPORTED_RICH_TEXT_TAGS=Td;exports.Select=Nw;exports.SelectDropdownItem=r0;exports.SelectInputDisplay=i0;exports.Skeleton=Ao;exports.StyledBox=hd;exports.Svg=Ld;exports.Tag=Ww;exports.Text=ht;exports.ThemeProvider=g8;exports.Tooltip=sx;exports.Touchable=Jt;exports.VIMEO_HOST=_w;exports.Vimeo=Cw;exports.accordionTheme=Lf;exports.artTheme=If;exports.avatarTheme=Of;exports.barChartTheme=Mf;exports.baseTheme=Ff;exports.buttonTheme=zf;exports.carouselTheme=jf;exports.checkboxTheme=Bf;exports.configKeys=fd;exports.css=at;exports.cssPropsKey=ad;exports.customBoxPropsConfig=ld;exports.customBoxPropsKey=ka;exports.defaultColorPalette=Co;exports.defaultGradientColorPalette=kf;exports.defaultScale=An;exports.defaultTheme=ho;exports.dividerTheme=Pf;exports.genBoxStyle=dd;exports.generateResponsiveStyles=Mr;exports.getBorderWidths=wa;exports.getComponentsTheme=ed;exports.getFontSizes=So;exports.getFontWeights=Aa;exports.getFonts=Sa;exports.getGlobalTheme=o8;exports.getLineHeights=Ea;exports.getPaginationTheme=Vf;exports.getRadii=xa;exports.getResponsiveValue=id;exports.getSelectStyles=o0;exports.getShadows=Tf;exports.getSizeValue=wt;exports.getSizes=_a;exports.getSpaces=Ca;exports.getTextColor=Ro;exports.getTheme=td;exports.getThemeValue=ud;exports.headerTheme=Wf;exports.inferResponsiveValues=rd;exports.inputTheme=Df;exports.isBorderWidth=Uv;exports.isColor=$f;exports.isEmoji=pd;exports.isFontSize=n8;exports.isFontWeight=r8;exports.isGradientColor=qv;exports.isIcon=gd;exports.isImage=md;exports.isRadius=Af;exports.isResponsiveValue=Eo;exports.isSSR=At;exports.isShadow=t8;exports.isSize=ir;exports.isSpace=Rf;exports.isSvg=vd;exports.keyframes=Hn;exports.lineChartTheme=Hf;exports.listTheme=Zf;exports.loadingTheme=Nf;exports.mapStylePropToThemeValue=cd;exports.parseUserAgent=va;exports.pieChartTheme=Uf;exports.populateResponsiveValue=$a;exports.progressTheme=qf;exports.reduceResponsiveValue=od;exports.selectTheme=Gf;exports.shouldForwardProp=nd;exports.skeletonTheme=Kf;exports.styled=ae;exports.tagTheme=Xf;exports.tooltipTheme=Yf;exports.touchableTheme=Qf;exports.transformResponsiveValue=Dt;exports.transposeObject=fa;exports.useEventListener=da;exports.useHover=$o;exports.useInteractionDetector=Ia;exports.useIsomorphicLayoutEffect=or;exports.useMediaQuery=eb;exports.useResponsiveBreakpoint=gi;exports.useSelectState=n0;exports.useTheme=_e;exports.useUserAgent=yb;exports.useWindowDimensions=Od;exports.vimeoTheme=Jf;exports.zIndexRegistry=ar;
729
+ font-family: ${({theme:t})=>t.fonts.neutral};
730
+ `;const Ux=(t,r)=>{if(t.length===0)return"";if(r==="linear")return t.map((i,s)=>`${s===0?"M":"L"} ${i.x} ${i.y}`).join(" ");if(r==="smooth"){let i=`M ${t[0].x} ${t[0].y}`;for(let s=1;s<t.length;s++){const l=t[Math.max(0,s-2)],u=t[s-1],f=t[s],h=t[Math.min(t.length-1,s+1)],g=u.x+(f.x-l.x)/6,v=u.y+(f.y-l.y)/6,_=f.x-(h.x-u.x)/6,S=f.y-(h.y-u.y)/6;i+=` C ${g} ${v}, ${_} ${S}, ${f.x} ${f.y}`}return i}if(r==="step"){let i=`M ${t[0].x} ${t[0].y}`;for(let s=1;s<t.length;s++){const l=(t[s-1].x+t[s].x)/2;i+=` L ${l} ${t[s-1].y} L ${l} ${t[s].y} L ${t[s].x} ${t[s].y}`}return i}return""},qx=({series:t,width:r=600,minWidth:i=300,maxWidth:s,height:l=400,minHeight:u=300,maxHeight:f,chartMargin:h,size:g,variant:v,showGrid:_=!0,showXAxis:S=!0,showYAxis:E=!0,showLegend:x=!0,legendPosition:C="top",curve:F="linear",animationDuration:R=500,xAxisLabels:I,yDomain:T,testID:k="line-chart",...O})=>{const M=xe(),N=M.__hd__.lineChart,V=d.useRef(null),[Q,pe]=d.useState(()=>{if(typeof r=="number")return r;if(typeof r=="string"){const J=r.match(/^(\d+(?:\.\d+)?)px$/);if(J)return parseFloat(J[1])}return 600}),[Ce,Me]=d.useState(()=>{if(typeof l=="number")return l;if(typeof l=="string"){const J=l.match(/^(\d+(?:\.\d+)?)px$/);if(J)return parseFloat(J[1])}return 400}),D=v||N.defaultVariant,j=g||N.defaultSize;or(()=>{const J=V.current;if(!J)return;const ce=()=>{if(typeof r=="number")pe(r);else if(typeof r=="string"&&/^\d+(?:\.\d+)?px$/.test(r)){const fe=r.match(/^(\d+(?:\.\d+)?)px$/);fe&&pe(parseFloat(fe[1]))}else{const fe=J.clientWidth;fe>0&&pe(fe)}const ie=(()=>{if(typeof l=="number")return l;if(typeof l=="string"){const fe=l.match(/^(\d+(?:\.\d+)?)px$/);if(fe)return parseFloat(fe[1])}return 400})();Me(ie)};ce();let Z;return typeof ResizeObserver<"u"?(Z=new ResizeObserver(ce),Z.observe(J)):window.addEventListener("resize",ce),()=>{Z?Z.disconnect():window.removeEventListener("resize",ce)}},[r,l]),or(()=>{const J=V.current;if(!J)return;const ce=()=>{if(typeof r=="number")pe(r);else if(typeof r=="string"&&/^\d+(?:\.\d+)?px$/.test(r)){const fe=r.match(/^(\d+(?:\.\d+)?)px$/);fe&&pe(parseFloat(fe[1]))}else{const fe=J.clientWidth;fe>0&&pe(fe)}const ie=(()=>{if(typeof l=="number")return l;if(typeof l=="string"){const fe=l.match(/^(\d+(?:\.\d+)?)px$/);if(fe)return parseFloat(fe[1])}return 400})();Me(ie)};ce();let Z;return typeof ResizeObserver<"u"?(Z=new ResizeObserver(ce),Z.observe(J)):window.addEventListener("resize",ce),()=>{Z?Z.disconnect():window.removeEventListener("resize",ce)}},[r,l]);const{strokeWidth:G,dotRadius:le,axisColor:te,gridColor:oe,labelColor:ee,labelFontSize:ve,legendFontSize:je,legendSpacing:ke}=N.sizes[j],{defaultColors:Oe}=N.variants[D],[De,Ke]=d.useMemo(()=>{if(T)return T;let J=1/0,ce=-1/0;return t.forEach(Z=>{Z.data.forEach(ie=>{J=Math.min(J,ie.y),ce=Math.max(ce,ie.y)})}),J===1/0||ce===-1/0?[0,1]:[Math.floor(J-(ce-J)*.1),Math.ceil(ce+(ce-J)*.1)]},[t,T]),gt=d.useMemo(()=>{const ce=Array.from({length:5},(ot,re)=>(De+(Ke-De)*(re/4)).toFixed(1)),Z=M.fonts.neutral,ie=`${ve}px ${Z}`,fe=ve*.6;let we=null;typeof document<"u"&&(we=document.createElement("canvas").getContext("2d"),we&&(we.font=ie));const We=ot=>we?we.measureText(ot).width:ot.length*fe,Xe=ce.reduce((ot,re)=>Math.max(ot,We(re)),0),tt=Math.ceil(Xe+12),nt=(h==null?void 0:h.left)??50;return Math.max(nt,tt)},[De,Ke,h==null?void 0:h.left,ve,M.fonts.neutral]),Be={top:(h==null?void 0:h.top)??20,right:(h==null?void 0:h.right)??20,bottom:(h==null?void 0:h.bottom)??40,left:gt},it=Math.max(0,Q-Be.left-Be.right),de=Math.max(0,Ce-Be.top-Be.bottom),{processedSeries:Se,xLabels:Re,yTicks:ye}=d.useMemo(()=>{const J=new Set,ce=[];let Z=1/0,ie=-1/0;t.forEach(Pe=>{Pe.data.forEach(He=>{const Qe=String(He.x);J.has(Qe)||(J.add(Qe),ce.push(Qe)),Z=Math.min(Z,He.y),ie=Math.max(ie,He.y)})});const[fe,we]=T||[Math.floor(Z-(ie-Z)*.1),Math.ceil(ie+(ie-Z)*.1)],We=I||ce,Xe=it/(We.length-1||1),tt=new Map(We.map((Pe,He)=>[String(Pe),He*Xe])),nt=Pe=>{const He=(Pe-fe)/(we-fe||1);return de-He*de},ot=t.map((Pe,He)=>({...Pe,color:Pe.color||Oe[He%Oe.length],points:Pe.data.map(Qe=>({x:tt.get(String(Qe.x))||0,y:nt(Qe.y),originalX:Qe.x,originalY:Qe.y}))})),re=5,Ve=Array.from({length:re},(Pe,He)=>{const Qe=fe+(we-fe)*(He/(re-1));return{value:Qe,position:nt(Qe),label:Qe.toFixed(1)}});return{processedSeries:ot,xLabels:We,yTicks:Ve.reverse()}},[t,it,de,I,T,Oe]);return y.jsxs(Dx,{ref:V,"data-testid":`${k}-container`,$width:r,$minWidth:i,$maxWidth:s,$height:l,$minHeight:u,$maxHeight:f,...O,children:[x&&C==="top"&&y.jsx(Sf,{$position:C,$spacing:ke,"data-testid":`${k}-legend`,children:Se.map((J,ce)=>y.jsxs(Ef,{$spacing:ke,"data-testid":`${k}-legend-item-${ce}`,children:[y.jsx(Af,{$colorKey:J.color,$strokeWidth:J.strokeWidth||G,$strokeDasharray:J.strokeDasharray}),y.jsx($f,{$fontSize:je,$colorKey:ee,children:J.label})]},J.id))}),y.jsxs(Hx,{$width:Q,$height:Ce,viewBox:`0 0 ${Q} ${Ce}`,role:"img","aria-label":"Line chart","data-testid":`${k}-svg`,children:[y.jsx("title",{children:"Line chart"}),y.jsxs("g",{transform:`translate(${Be.left}, ${Be.top})`,children:[_&&y.jsxs(y.Fragment,{children:[ye.map((J,ce)=>y.jsx(Cf,{$colorKey:oe,x1:0,y1:J.position,x2:it,y2:J.position,"data-testid":`${k}-grid-h-${ce}`},`h-grid-${ce}`)),Re.map((J,ce)=>{const Z=ce*it/(Re.length-1||1);return y.jsx(Cf,{$colorKey:oe,x1:Z,y1:0,x2:Z,y2:de,"data-testid":`${k}-grid-v-${ce}`},`v-grid-${ce}`)})]}),Se.map((J,ce)=>{var fe,we;const Z=Ux(J.points,F),ie=J.showArea?`${Z} L ${((fe=J.points[J.points.length-1])==null?void 0:fe.x)||0} ${de} L ${((we=J.points[0])==null?void 0:we.x)||0} ${de} Z`:"";return y.jsxs("g",{children:[J.showArea&&y.jsx(Vx,{d:ie,$colorKey:J.color,$animationDuration:R,"data-testid":`${k}-area-${ce}`}),y.jsx(Zx,{d:Z,$colorKey:J.color,$strokeWidth:J.strokeWidth||G,$strokeDasharray:J.strokeDasharray,$animationDuration:R,"data-testid":`${k}-line-${ce}`}),J.showDots!==!1&&J.points.map((We,Xe)=>y.jsx(Nx,{cx:We.x,cy:We.y,r:le,$colorKey:J.color,$animationDuration:R,"data-testid":`${k}-dot-${ce}-${Xe}`},Xe))]},J.id)}),S&&y.jsxs(y.Fragment,{children:[y.jsx(wf,{$colorKey:te,x1:0,y1:de,x2:it,y2:de,"data-testid":`${k}-x-axis`}),Re.map((J,ce)=>{const Z=ce*it/(Re.length-1||1);return y.jsx(_f,{x:Z,y:de+20,$colorKey:ee,$fontSize:ve,textAnchor:"middle","data-testid":`${k}-x-label-${ce}`,children:J},ce)})]}),E&&y.jsxs(y.Fragment,{children:[y.jsx(wf,{$colorKey:te,x1:0,y1:0,x2:0,y2:de,"data-testid":`${k}-y-axis`}),ye.map((J,ce)=>y.jsx(_f,{x:-10,y:J.position,$colorKey:ee,$fontSize:ve,textAnchor:"end",dominantBaseline:"middle","data-testid":`${k}-y-label-${ce}`,children:J.label},ce))]})]})]}),x&&C==="bottom"&&y.jsx(Sf,{$position:C,$spacing:ke,"data-testid":`${k}-legend`,children:Se.map((J,ce)=>y.jsxs(Ef,{$spacing:ke,"data-testid":`${k}-legend-item-${ce}`,children:[y.jsx(Af,{$colorKey:J.color,$strokeWidth:J.strokeWidth||G,$strokeDasharray:J.strokeDasharray}),y.jsx($f,{$fontSize:je,$colorKey:ee,children:J.label})]},J.id))})]})};exports.AIC_Kits_StackingLayers=sn;exports.Accordion=K3;exports.Art=Ht;exports.Avatar=Fd;exports.BarChart=Ax;exports.Base=Ub;exports.Box=X;exports.Brand=xd;exports.Button=ba;exports.Carousel=N3;exports.Checkbox=J3;exports.DEFAULT_VIMEO_CONFIG=I3;exports.Divider=Zd;exports.Emoji=wd;exports.Grid=c0;exports.Header=Kd;exports.HeaderAuth=Nd;exports.HeaderLogo=Ud;exports.HeaderNav=qd;exports.HeaderSearch=Gd;exports.Icon=Ra;exports.Image=Id;exports.Input=Kb;exports.LineChart=qx;exports.List=Jb;exports.Loading=ja;exports.Modal=vx;exports.NormalizedBrowserName=Dd;exports.NormalizedDeviceType=Wd;exports.NormalizedOSName=Hd;exports.Pagination=cx;exports.PaginationItem=f0;exports.PieChart=jx;exports.Progress=gx;exports.RESPONSIVE_BREAKPOINTS=pi;exports.RESPONSIVE_BREAKPOINT_KEYS=ui;exports.SUPPORTED_RICH_TEXT_TAGS=Od;exports.Select=nx;exports.SelectDropdownItem=a0;exports.SelectInputDisplay=l0;exports.Skeleton=mi;exports.StyledBox=gd;exports.Svg=Md;exports.Tag=Q3;exports.Text=ht;exports.ThemeProvider=bv;exports.Tooltip=yx;exports.Touchable=Jt;exports.VIMEO_HOST=M3;exports.Vimeo=F3;exports.accordionTheme=If;exports.artTheme=Mf;exports.avatarTheme=Ff;exports.barChartTheme=zf;exports.baseTheme=jf;exports.buttonTheme=Bf;exports.carouselTheme=Pf;exports.checkboxTheme=Wf;exports.configKeys=hd;exports.css=at;exports.cssPropsKey=ud;exports.customBoxPropsConfig=cd;exports.customBoxPropsKey=Ta;exports.defaultColorPalette=So;exports.defaultGradientColorPalette=Rf;exports.defaultScale=$n;exports.defaultTheme=po;exports.dividerTheme=Df;exports.genBoxStyle=pd;exports.generateResponsiveStyles=Mr;exports.getBorderWidths=wa;exports.getComponentsTheme=nd;exports.getFontSizes=Eo;exports.getFontWeights=$a;exports.getFonts=Ea;exports.getGlobalTheme=uv;exports.getLineHeights=Aa;exports.getPaginationTheme=qf;exports.getRadii=_a;exports.getResponsiveValue=sd;exports.getSelectStyles=u0;exports.getShadows=Lf;exports.getSizeValue=wt;exports.getSizes=Ca;exports.getSpaces=Sa;exports.getTextColor=Ro;exports.getTheme=rd;exports.getThemeValue=fd;exports.headerTheme=Hf;exports.inferResponsiveValues=od;exports.inputTheme=Zf;exports.isBorderWidth=X8;exports.isColor=Tf;exports.isEmoji=md;exports.isFontSize=sv;exports.isFontWeight=av;exports.isGradientColor=Y8;exports.isIcon=vd;exports.isImage=yd;exports.isRadius=kf;exports.isResponsiveValue=Ao;exports.isSSR=yt;exports.isShadow=ov;exports.isSize=ir;exports.isSpace=Of;exports.isSvg=bd;exports.keyframes=Hn;exports.lineChartTheme=Vf;exports.listTheme=Nf;exports.loadingTheme=Uf;exports.mapStylePropToThemeValue=dd;exports.parseUserAgent=ya;exports.pieChartTheme=Gf;exports.populateResponsiveValue=ka;exports.progressTheme=Kf;exports.reduceResponsiveValue=ad;exports.selectTheme=Xf;exports.shouldForwardProp=id;exports.skeletonTheme=Yf;exports.styled=ae;exports.tagTheme=Qf;exports.tooltipTheme=Jf;exports.touchableTheme=ed;exports.transformResponsiveValue=Dt;exports.transposeObject=da;exports.useEventListener=ha;exports.useHover=$o;exports.useInteractionDetector=Ia;exports.useIsomorphicLayoutEffect=or;exports.useMediaQuery=db;exports.useResponsiveBreakpoint=Fr;exports.useSelectState=s0;exports.useTheme=xe;exports.useUserAgent=Rb;exports.useWindowDimensions=zd;exports.vimeoTheme=td;exports.zIndexRegistry=ar;