@aic-kits/react 0.30.0 → 0.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +5 -5
- package/dist/components/Accordion/Accordion.d.ts +1 -1
- package/dist/components/Accordion/AccordionHeader.d.ts +1 -1
- package/dist/components/Accordion/types.d.ts +6 -2
- package/dist/components/BarChart/BarChart.d.ts +15 -4
- package/dist/components/BarChart/StyledBarChart.d.ts +8 -3
- package/dist/components/LineChart/LineChart.d.ts +27 -5
- package/dist/components/LineChart/StyledLineChart.d.ts +11 -3
- package/dist/components/PieChart/PieChart.d.ts +24 -4
- package/dist/components/PieChart/StyledPieChart.d.ts +8 -1
- package/dist/index.cjs +160 -156
- package/dist/index.js +7155 -6643
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var D8=Object.defineProperty;var H8=(n,r,i)=>r in n?D8(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i;var wr=(n,r,i)=>H8(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"),Z8=require("react-dom");var ro=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ii={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 dm=Cr.exports,eu;function fm(){return eu||(eu=1,function(n,r){(function(){var i,a="4.17.21",l=200,u="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",d="Expected a function",g="Invalid `variable` option passed into `_.template`",v="__lodash_hash_undefined__",m=500,$="__lodash_placeholder__",T=1,b=2,x=4,w=1,C=2,S=1,F=2,L=4,A=8,I=16,P=32,D=64,N=128,U=256,ie=512,ae=30,xe="...",W=800,M=16,Z=1,ee=2,K=3,G=1/0,q=9007199254740991,se=17976931348623157e292,Y=NaN,X=4294967295,ne=X-1,fe=X>>>1,ke=[["ary",N],["bind",S],["bindKey",F],["curry",A],["curryRight",I],["flip",ie],["partial",P],["partialRight",D],["rearg",U]],We="[object Arguments]",ze="[object Array]",Xe="[object AsyncFunction]",nt="[object Boolean]",Ye="[object Date]",it="[object DOMException]",Re="[object Error]",qe="[object Function]",Le="[object GeneratorFunction]",$e="[object Map]",je="[object Number]",ar="[object Null]",st="[object Object]",Nt="[object Promise]",Kt="[object Proxy]",en="[object RegExp]",lt="[object Set]",Xt="[object String]",J="[object Symbol]",Ie="[object Undefined]",De="[object WeakMap]",pe="[object WeakSet]",be="[object ArrayBuffer]",le="[object DataView]",Me="[object Float32Array]",St="[object Float64Array]",vt="[object Int8Array]",Te="[object Int16Array]",he="[object Int32Array]",bt="[object Uint8Array]",$n="[object Uint8ClampedArray]",Wn="[object Uint16Array]",Bi="[object Uint32Array]",Td=/\b__p \+= '';/g,kd=/\b(__p \+=) '' \+/g,Rd=/(__e\(.*?\)|\b__t\)) \+\n'';/g,$a=/&(?:amp|lt|gt|quot|#39);/g,Ea=/[&<>"']/g,Ld=RegExp($a.source),Id=RegExp(Ea.source),Od=/<%-([\s\S]+?)%>/g,Md=/<%([\s\S]+?)%>/g,Aa=/<%=([\s\S]+?)%>/g,Fd=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Pd=/^\w*$/,zd=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Wi=/[\\^$.*+?()[\]{}|]/g,jd=RegExp(Wi.source),Di=/^\s+/,Bd=/\s/,Wd=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Dd=/\{\n\/\* \[wrapped with (.+)\] \*/,Zd=/,? & /,Nd=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Hd=/[()=,{}\[\]\/\s]/,Vd=/\\(\\)?/g,Ud=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ta=/\w*$/,qd=/^[-+]0x[0-9a-f]+$/i,Gd=/^0b[01]+$/i,Kd=/^\[object .+?Constructor\]$/,Xd=/^0o[0-7]+$/i,Yd=/^(?:0|[1-9]\d*)$/,Qd=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Lr=/($^)/,Jd=/['\n\r\u2028\u2029\\]/g,Ir="\\ud800-\\udfff",ef="\\u0300-\\u036f",tf="\\ufe20-\\ufe2f",nf="\\u20d0-\\u20ff",ka=ef+tf+nf,Ra="\\u2700-\\u27bf",La="a-z\\xdf-\\xf6\\xf8-\\xff",rf="\\xac\\xb1\\xd7\\xf7",of="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",af="\\u2000-\\u206f",sf=" \\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",Ia="A-Z\\xc0-\\xd6\\xd8-\\xde",Oa="\\ufe0e\\ufe0f",Ma=rf+of+af+sf,Zi="['’]",lf="["+Ir+"]",Fa="["+Ma+"]",Or="["+ka+"]",Pa="\\d+",uf="["+Ra+"]",za="["+La+"]",ja="[^"+Ir+Ma+Pa+Ra+La+Ia+"]",Ni="\\ud83c[\\udffb-\\udfff]",cf="(?:"+Or+"|"+Ni+")",Ba="[^"+Ir+"]",Hi="(?:\\ud83c[\\udde6-\\uddff]){2}",Vi="[\\ud800-\\udbff][\\udc00-\\udfff]",Dn="["+Ia+"]",Wa="\\u200d",Da="(?:"+za+"|"+ja+")",df="(?:"+Dn+"|"+ja+")",Za="(?:"+Zi+"(?:d|ll|m|re|s|t|ve))?",Na="(?:"+Zi+"(?:D|LL|M|RE|S|T|VE))?",Ha=cf+"?",Va="["+Oa+"]?",ff="(?:"+Wa+"(?:"+[Ba,Hi,Vi].join("|")+")"+Va+Ha+")*",hf="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",pf="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ua=Va+Ha+ff,gf="(?:"+[uf,Hi,Vi].join("|")+")"+Ua,mf="(?:"+[Ba+Or+"?",Or,Hi,Vi,lf].join("|")+")",vf=RegExp(Zi,"g"),bf=RegExp(Or,"g"),Ui=RegExp(Ni+"(?="+Ni+")|"+mf+Ua,"g"),yf=RegExp([Dn+"?"+za+"+"+Za+"(?="+[Fa,Dn,"$"].join("|")+")",df+"+"+Na+"(?="+[Fa,Dn+Da,"$"].join("|")+")",Dn+"?"+Da+"+"+Za,Dn+"+"+Na,pf,hf,Pa,gf].join("|"),"g"),wf=RegExp("["+Wa+Ir+ka+Oa+"]"),xf=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,_f=["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"],Cf=-1,Ne={};Ne[Me]=Ne[St]=Ne[vt]=Ne[Te]=Ne[he]=Ne[bt]=Ne[$n]=Ne[Wn]=Ne[Bi]=!0,Ne[We]=Ne[ze]=Ne[be]=Ne[nt]=Ne[le]=Ne[Ye]=Ne[Re]=Ne[qe]=Ne[$e]=Ne[je]=Ne[st]=Ne[en]=Ne[lt]=Ne[Xt]=Ne[De]=!1;var Ze={};Ze[We]=Ze[ze]=Ze[be]=Ze[le]=Ze[nt]=Ze[Ye]=Ze[Me]=Ze[St]=Ze[vt]=Ze[Te]=Ze[he]=Ze[$e]=Ze[je]=Ze[st]=Ze[en]=Ze[lt]=Ze[Xt]=Ze[J]=Ze[bt]=Ze[$n]=Ze[Wn]=Ze[Bi]=!0,Ze[Re]=Ze[qe]=Ze[De]=!1;var Sf={À:"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"},$f={"&":"&","<":"<",">":">",'"':""","'":"'"},Ef={"&":"&","<":"<",">":">",""":'"',"'":"'"},Af={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Tf=parseFloat,kf=parseInt,qa=typeof yi=="object"&&yi&&yi.Object===Object&&yi,Rf=typeof self=="object"&&self&&self.Object===Object&&self,ot=qa||Rf||Function("return this")(),qi=r&&!r.nodeType&&r,En=qi&&!0&&n&&!n.nodeType&&n,Ga=En&&En.exports===qi,Gi=Ga&&qa.process,It=function(){try{var k=En&&En.require&&En.require("util").types;return k||Gi&&Gi.binding&&Gi.binding("util")}catch{}}(),Ka=It&&It.isArrayBuffer,Xa=It&&It.isDate,Ya=It&&It.isMap,Qa=It&&It.isRegExp,Ja=It&&It.isSet,es=It&&It.isTypedArray;function $t(k,z,O){switch(O.length){case 0:return k.call(z);case 1:return k.call(z,O[0]);case 2:return k.call(z,O[0],O[1]);case 3:return k.call(z,O[0],O[1],O[2])}return k.apply(z,O)}function Lf(k,z,O,te){for(var ge=-1,Oe=k==null?0:k.length;++ge<Oe;){var Qe=k[ge];z(te,Qe,O(Qe),k)}return te}function Ot(k,z){for(var O=-1,te=k==null?0:k.length;++O<te&&z(k[O],O,k)!==!1;);return k}function If(k,z){for(var O=k==null?0:k.length;O--&&z(k[O],O,k)!==!1;);return k}function ts(k,z){for(var O=-1,te=k==null?0:k.length;++O<te;)if(!z(k[O],O,k))return!1;return!0}function pn(k,z){for(var O=-1,te=k==null?0:k.length,ge=0,Oe=[];++O<te;){var Qe=k[O];z(Qe,O,k)&&(Oe[ge++]=Qe)}return Oe}function Mr(k,z){var O=k==null?0:k.length;return!!O&&Zn(k,z,0)>-1}function Ki(k,z,O){for(var te=-1,ge=k==null?0:k.length;++te<ge;)if(O(z,k[te]))return!0;return!1}function He(k,z){for(var O=-1,te=k==null?0:k.length,ge=Array(te);++O<te;)ge[O]=z(k[O],O,k);return ge}function gn(k,z){for(var O=-1,te=z.length,ge=k.length;++O<te;)k[ge+O]=z[O];return k}function Xi(k,z,O,te){var ge=-1,Oe=k==null?0:k.length;for(te&&Oe&&(O=k[++ge]);++ge<Oe;)O=z(O,k[ge],ge,k);return O}function Of(k,z,O,te){var ge=k==null?0:k.length;for(te&&ge&&(O=k[--ge]);ge--;)O=z(O,k[ge],ge,k);return O}function Yi(k,z){for(var O=-1,te=k==null?0:k.length;++O<te;)if(z(k[O],O,k))return!0;return!1}var Mf=Qi("length");function Ff(k){return k.split("")}function Pf(k){return k.match(Nd)||[]}function ns(k,z,O){var te;return O(k,function(ge,Oe,Qe){if(z(ge,Oe,Qe))return te=Oe,!1}),te}function Fr(k,z,O,te){for(var ge=k.length,Oe=O+(te?1:-1);te?Oe--:++Oe<ge;)if(z(k[Oe],Oe,k))return Oe;return-1}function Zn(k,z,O){return z===z?Gf(k,z,O):Fr(k,rs,O)}function zf(k,z,O,te){for(var ge=O-1,Oe=k.length;++ge<Oe;)if(te(k[ge],z))return ge;return-1}function rs(k){return k!==k}function is(k,z){var O=k==null?0:k.length;return O?eo(k,z)/O:Y}function Qi(k){return function(z){return z==null?i:z[k]}}function Ji(k){return function(z){return k==null?i:k[z]}}function os(k,z,O,te,ge){return ge(k,function(Oe,Qe,Be){O=te?(te=!1,Oe):z(O,Oe,Qe,Be)}),O}function jf(k,z){var O=k.length;for(k.sort(z);O--;)k[O]=k[O].value;return k}function eo(k,z){for(var O,te=-1,ge=k.length;++te<ge;){var Oe=z(k[te]);Oe!==i&&(O=O===i?Oe:O+Oe)}return O}function to(k,z){for(var O=-1,te=Array(k);++O<k;)te[O]=z(O);return te}function Bf(k,z){return He(z,function(O){return[O,k[O]]})}function as(k){return k&&k.slice(0,cs(k)+1).replace(Di,"")}function Et(k){return function(z){return k(z)}}function no(k,z){return He(z,function(O){return k[O]})}function sr(k,z){return k.has(z)}function ss(k,z){for(var O=-1,te=k.length;++O<te&&Zn(z,k[O],0)>-1;);return O}function ls(k,z){for(var O=k.length;O--&&Zn(z,k[O],0)>-1;);return O}function Wf(k,z){for(var O=k.length,te=0;O--;)k[O]===z&&++te;return te}var Df=Ji(Sf),Zf=Ji($f);function Nf(k){return"\\"+Af[k]}function Hf(k,z){return k==null?i:k[z]}function Nn(k){return wf.test(k)}function Vf(k){return xf.test(k)}function Uf(k){for(var z,O=[];!(z=k.next()).done;)O.push(z.value);return O}function ro(k){var z=-1,O=Array(k.size);return k.forEach(function(te,ge){O[++z]=[ge,te]}),O}function us(k,z){return function(O){return k(z(O))}}function mn(k,z){for(var O=-1,te=k.length,ge=0,Oe=[];++O<te;){var Qe=k[O];(Qe===z||Qe===$)&&(k[O]=$,Oe[ge++]=O)}return Oe}function Pr(k){var z=-1,O=Array(k.size);return k.forEach(function(te){O[++z]=te}),O}function qf(k){var z=-1,O=Array(k.size);return k.forEach(function(te){O[++z]=[te,te]}),O}function Gf(k,z,O){for(var te=O-1,ge=k.length;++te<ge;)if(k[te]===z)return te;return-1}function Kf(k,z,O){for(var te=O+1;te--;)if(k[te]===z)return te;return te}function Hn(k){return Nn(k)?Yf(k):Mf(k)}function Ht(k){return Nn(k)?Qf(k):Ff(k)}function cs(k){for(var z=k.length;z--&&Bd.test(k.charAt(z)););return z}var Xf=Ji(Ef);function Yf(k){for(var z=Ui.lastIndex=0;Ui.test(k);)++z;return z}function Qf(k){return k.match(Ui)||[]}function Jf(k){return k.match(yf)||[]}var e0=function k(z){z=z==null?ot:Vn.defaults(ot.Object(),z,Vn.pick(ot,_f));var O=z.Array,te=z.Date,ge=z.Error,Oe=z.Function,Qe=z.Math,Be=z.Object,io=z.RegExp,t0=z.String,Mt=z.TypeError,zr=O.prototype,n0=Oe.prototype,Un=Be.prototype,jr=z["__core-js_shared__"],Br=n0.toString,Pe=Un.hasOwnProperty,r0=0,ds=function(){var e=/[^.]+$/.exec(jr&&jr.keys&&jr.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Wr=Un.toString,i0=Br.call(Be),o0=ot._,a0=io("^"+Br.call(Pe).replace(Wi,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Dr=Ga?z.Buffer:i,vn=z.Symbol,Zr=z.Uint8Array,fs=Dr?Dr.allocUnsafe:i,Nr=us(Be.getPrototypeOf,Be),hs=Be.create,ps=Un.propertyIsEnumerable,Hr=zr.splice,gs=vn?vn.isConcatSpreadable:i,lr=vn?vn.iterator:i,An=vn?vn.toStringTag:i,Vr=function(){try{var e=In(Be,"defineProperty");return e({},"",{}),e}catch{}}(),s0=z.clearTimeout!==ot.clearTimeout&&z.clearTimeout,l0=te&&te.now!==ot.Date.now&&te.now,u0=z.setTimeout!==ot.setTimeout&&z.setTimeout,Ur=Qe.ceil,qr=Qe.floor,oo=Be.getOwnPropertySymbols,c0=Dr?Dr.isBuffer:i,ms=z.isFinite,d0=zr.join,f0=us(Be.keys,Be),Je=Qe.max,ut=Qe.min,h0=te.now,p0=z.parseInt,vs=Qe.random,g0=zr.reverse,ao=In(z,"DataView"),ur=In(z,"Map"),so=In(z,"Promise"),qn=In(z,"Set"),cr=In(z,"WeakMap"),dr=In(Be,"create"),Gr=cr&&new cr,Gn={},m0=On(ao),v0=On(ur),b0=On(so),y0=On(qn),w0=On(cr),Kr=vn?vn.prototype:i,fr=Kr?Kr.valueOf:i,bs=Kr?Kr.toString:i;function f(e){if(Ue(e)&&!me(e)&&!(e instanceof Se)){if(e instanceof Ft)return e;if(Pe.call(e,"__wrapped__"))return yl(e)}return new Ft(e)}var Kn=function(){function e(){}return function(t){if(!Ve(t))return{};if(hs)return hs(t);e.prototype=t;var o=new e;return e.prototype=i,o}}();function Xr(){}function Ft(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=i}f.templateSettings={escape:Od,evaluate:Md,interpolate:Aa,variable:"",imports:{_:f}},f.prototype=Xr.prototype,f.prototype.constructor=f,Ft.prototype=Kn(Xr.prototype),Ft.prototype.constructor=Ft;function Se(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=X,this.__views__=[]}function x0(){var e=new Se(this.__wrapped__);return e.__actions__=yt(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=yt(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=yt(this.__views__),e}function _0(){if(this.__filtered__){var e=new Se(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function C0(){var e=this.__wrapped__.value(),t=this.__dir__,o=me(e),s=t<0,c=o?e.length:0,p=F1(0,c,this.__views__),_=p.start,E=p.end,R=E-_,j=s?E:_-1,B=this.__iteratees__,H=B.length,Q=0,oe=ut(R,this.__takeCount__);if(!o||!s&&c==R&&oe==R)return Zs(e,this.__actions__);var ce=[];e:for(;R--&&Q<oe;){j+=t;for(var we=-1,de=e[j];++we<H;){var Ce=B[we],Ee=Ce.iteratee,kt=Ce.type,pt=Ee(de);if(kt==ee)de=pt;else if(!pt){if(kt==Z)continue e;break e}}ce[Q++]=de}return ce}Se.prototype=Kn(Xr.prototype),Se.prototype.constructor=Se;function Tn(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var s=e[t];this.set(s[0],s[1])}}function S0(){this.__data__=dr?dr(null):{},this.size=0}function $0(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function E0(e){var t=this.__data__;if(dr){var o=t[e];return o===v?i:o}return Pe.call(t,e)?t[e]:i}function A0(e){var t=this.__data__;return dr?t[e]!==i:Pe.call(t,e)}function T0(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=dr&&t===i?v:t,this}Tn.prototype.clear=S0,Tn.prototype.delete=$0,Tn.prototype.get=E0,Tn.prototype.has=A0,Tn.prototype.set=T0;function tn(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var s=e[t];this.set(s[0],s[1])}}function k0(){this.__data__=[],this.size=0}function R0(e){var t=this.__data__,o=Yr(t,e);if(o<0)return!1;var s=t.length-1;return o==s?t.pop():Hr.call(t,o,1),--this.size,!0}function L0(e){var t=this.__data__,o=Yr(t,e);return o<0?i:t[o][1]}function I0(e){return Yr(this.__data__,e)>-1}function O0(e,t){var o=this.__data__,s=Yr(o,e);return s<0?(++this.size,o.push([e,t])):o[s][1]=t,this}tn.prototype.clear=k0,tn.prototype.delete=R0,tn.prototype.get=L0,tn.prototype.has=I0,tn.prototype.set=O0;function nn(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var s=e[t];this.set(s[0],s[1])}}function M0(){this.size=0,this.__data__={hash:new Tn,map:new(ur||tn),string:new Tn}}function F0(e){var t=ui(this,e).delete(e);return this.size-=t?1:0,t}function P0(e){return ui(this,e).get(e)}function z0(e){return ui(this,e).has(e)}function j0(e,t){var o=ui(this,e),s=o.size;return o.set(e,t),this.size+=o.size==s?0:1,this}nn.prototype.clear=M0,nn.prototype.delete=F0,nn.prototype.get=P0,nn.prototype.has=z0,nn.prototype.set=j0;function kn(e){var t=-1,o=e==null?0:e.length;for(this.__data__=new nn;++t<o;)this.add(e[t])}function B0(e){return this.__data__.set(e,v),this}function W0(e){return this.__data__.has(e)}kn.prototype.add=kn.prototype.push=B0,kn.prototype.has=W0;function Vt(e){var t=this.__data__=new tn(e);this.size=t.size}function D0(){this.__data__=new tn,this.size=0}function Z0(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o}function N0(e){return this.__data__.get(e)}function H0(e){return this.__data__.has(e)}function V0(e,t){var o=this.__data__;if(o instanceof tn){var s=o.__data__;if(!ur||s.length<l-1)return s.push([e,t]),this.size=++o.size,this;o=this.__data__=new nn(s)}return o.set(e,t),this.size=o.size,this}Vt.prototype.clear=D0,Vt.prototype.delete=Z0,Vt.prototype.get=N0,Vt.prototype.has=H0,Vt.prototype.set=V0;function ys(e,t){var o=me(e),s=!o&&Mn(e),c=!o&&!s&&_n(e),p=!o&&!s&&!c&&Jn(e),_=o||s||c||p,E=_?to(e.length,t0):[],R=E.length;for(var j in e)(t||Pe.call(e,j))&&!(_&&(j=="length"||c&&(j=="offset"||j=="parent")||p&&(j=="buffer"||j=="byteLength"||j=="byteOffset")||sn(j,R)))&&E.push(j);return E}function ws(e){var t=e.length;return t?e[yo(0,t-1)]:i}function U0(e,t){return ci(yt(e),Rn(t,0,e.length))}function q0(e){return ci(yt(e))}function lo(e,t,o){(o!==i&&!Ut(e[t],o)||o===i&&!(t in e))&&rn(e,t,o)}function hr(e,t,o){var s=e[t];(!(Pe.call(e,t)&&Ut(s,o))||o===i&&!(t in e))&&rn(e,t,o)}function Yr(e,t){for(var o=e.length;o--;)if(Ut(e[o][0],t))return o;return-1}function G0(e,t,o,s){return bn(e,function(c,p,_){t(s,c,o(c),_)}),s}function xs(e,t){return e&&Qt(t,rt(t),e)}function K0(e,t){return e&&Qt(t,xt(t),e)}function rn(e,t,o){t=="__proto__"&&Vr?Vr(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o}function uo(e,t){for(var o=-1,s=t.length,c=O(s),p=e==null;++o<s;)c[o]=p?i:Ho(e,t[o]);return c}function Rn(e,t,o){return e===e&&(o!==i&&(e=e<=o?e:o),t!==i&&(e=e>=t?e:t)),e}function Pt(e,t,o,s,c,p){var _,E=t&T,R=t&b,j=t&x;if(o&&(_=c?o(e,s,c,p):o(e)),_!==i)return _;if(!Ve(e))return e;var B=me(e);if(B){if(_=z1(e),!E)return yt(e,_)}else{var H=ct(e),Q=H==qe||H==Le;if(_n(e))return Vs(e,E);if(H==st||H==We||Q&&!c){if(_=R||Q?{}:cl(e),!E)return R?E1(e,K0(_,e)):$1(e,xs(_,e))}else{if(!Ze[H])return c?e:{};_=j1(e,H,E)}}p||(p=new Vt);var oe=p.get(e);if(oe)return oe;p.set(e,_),Bl(e)?e.forEach(function(de){_.add(Pt(de,t,o,de,e,p))}):zl(e)&&e.forEach(function(de,Ce){_.set(Ce,Pt(de,t,o,Ce,e,p))});var ce=j?R?Ro:ko:R?xt:rt,we=B?i:ce(e);return Ot(we||e,function(de,Ce){we&&(Ce=de,de=e[Ce]),hr(_,Ce,Pt(de,t,o,Ce,e,p))}),_}function X0(e){var t=rt(e);return function(o){return _s(o,e,t)}}function _s(e,t,o){var s=o.length;if(e==null)return!s;for(e=Be(e);s--;){var c=o[s],p=t[c],_=e[c];if(_===i&&!(c in e)||!p(_))return!1}return!0}function Cs(e,t,o){if(typeof e!="function")throw new Mt(d);return wr(function(){e.apply(i,o)},t)}function pr(e,t,o,s){var c=-1,p=Mr,_=!0,E=e.length,R=[],j=t.length;if(!E)return R;o&&(t=He(t,Et(o))),s?(p=Ki,_=!1):t.length>=l&&(p=sr,_=!1,t=new kn(t));e:for(;++c<E;){var B=e[c],H=o==null?B:o(B);if(B=s||B!==0?B:0,_&&H===H){for(var Q=j;Q--;)if(t[Q]===H)continue e;R.push(B)}else p(t,H,s)||R.push(B)}return R}var bn=Xs(Yt),Ss=Xs(fo,!0);function Y0(e,t){var o=!0;return bn(e,function(s,c,p){return o=!!t(s,c,p),o}),o}function Qr(e,t,o){for(var s=-1,c=e.length;++s<c;){var p=e[s],_=t(p);if(_!=null&&(E===i?_===_&&!Tt(_):o(_,E)))var E=_,R=p}return R}function Q0(e,t,o,s){var c=e.length;for(o=ye(o),o<0&&(o=-o>c?0:c+o),s=s===i||s>c?c:ye(s),s<0&&(s+=c),s=o>s?0:Dl(s);o<s;)e[o++]=t;return e}function $s(e,t){var o=[];return bn(e,function(s,c,p){t(s,c,p)&&o.push(s)}),o}function at(e,t,o,s,c){var p=-1,_=e.length;for(o||(o=W1),c||(c=[]);++p<_;){var E=e[p];t>0&&o(E)?t>1?at(E,t-1,o,s,c):gn(c,E):s||(c[c.length]=E)}return c}var co=Ys(),Es=Ys(!0);function Yt(e,t){return e&&co(e,t,rt)}function fo(e,t){return e&&Es(e,t,rt)}function Jr(e,t){return pn(t,function(o){return ln(e[o])})}function Ln(e,t){t=wn(t,e);for(var o=0,s=t.length;e!=null&&o<s;)e=e[Jt(t[o++])];return o&&o==s?e:i}function As(e,t,o){var s=t(e);return me(e)?s:gn(s,o(e))}function ft(e){return e==null?e===i?Ie:ar:An&&An in Be(e)?M1(e):q1(e)}function ho(e,t){return e>t}function J0(e,t){return e!=null&&Pe.call(e,t)}function e1(e,t){return e!=null&&t in Be(e)}function t1(e,t,o){return e>=ut(t,o)&&e<Je(t,o)}function po(e,t,o){for(var s=o?Ki:Mr,c=e[0].length,p=e.length,_=p,E=O(p),R=1/0,j=[];_--;){var B=e[_];_&&t&&(B=He(B,Et(t))),R=ut(B.length,R),E[_]=!o&&(t||c>=120&&B.length>=120)?new kn(_&&B):i}B=e[0];var H=-1,Q=E[0];e:for(;++H<c&&j.length<R;){var oe=B[H],ce=t?t(oe):oe;if(oe=o||oe!==0?oe:0,!(Q?sr(Q,ce):s(j,ce,o))){for(_=p;--_;){var we=E[_];if(!(we?sr(we,ce):s(e[_],ce,o)))continue e}Q&&Q.push(ce),j.push(oe)}}return j}function n1(e,t,o,s){return Yt(e,function(c,p,_){t(s,o(c),p,_)}),s}function gr(e,t,o){t=wn(t,e),e=pl(e,t);var s=e==null?e:e[Jt(jt(t))];return s==null?i:$t(s,e,o)}function Ts(e){return Ue(e)&&ft(e)==We}function r1(e){return Ue(e)&&ft(e)==be}function i1(e){return Ue(e)&&ft(e)==Ye}function mr(e,t,o,s,c){return e===t?!0:e==null||t==null||!Ue(e)&&!Ue(t)?e!==e&&t!==t:o1(e,t,o,s,mr,c)}function o1(e,t,o,s,c,p){var _=me(e),E=me(t),R=_?ze:ct(e),j=E?ze:ct(t);R=R==We?st:R,j=j==We?st:j;var B=R==st,H=j==st,Q=R==j;if(Q&&_n(e)){if(!_n(t))return!1;_=!0,B=!1}if(Q&&!B)return p||(p=new Vt),_||Jn(e)?sl(e,t,o,s,c,p):I1(e,t,R,o,s,c,p);if(!(o&w)){var oe=B&&Pe.call(e,"__wrapped__"),ce=H&&Pe.call(t,"__wrapped__");if(oe||ce){var we=oe?e.value():e,de=ce?t.value():t;return p||(p=new Vt),c(we,de,o,s,p)}}return Q?(p||(p=new Vt),O1(e,t,o,s,c,p)):!1}function a1(e){return Ue(e)&&ct(e)==$e}function go(e,t,o,s){var c=o.length,p=c,_=!s;if(e==null)return!p;for(e=Be(e);c--;){var E=o[c];if(_&&E[2]?E[1]!==e[E[0]]:!(E[0]in e))return!1}for(;++c<p;){E=o[c];var R=E[0],j=e[R],B=E[1];if(_&&E[2]){if(j===i&&!(R in e))return!1}else{var H=new Vt;if(s)var Q=s(j,B,R,e,t,H);if(!(Q===i?mr(B,j,w|C,s,H):Q))return!1}}return!0}function ks(e){if(!Ve(e)||Z1(e))return!1;var t=ln(e)?a0:Kd;return t.test(On(e))}function s1(e){return Ue(e)&&ft(e)==en}function l1(e){return Ue(e)&&ct(e)==lt}function u1(e){return Ue(e)&&mi(e.length)&&!!Ne[ft(e)]}function Rs(e){return typeof e=="function"?e:e==null?_t:typeof e=="object"?me(e)?Os(e[0],e[1]):Is(e):Ql(e)}function mo(e){if(!yr(e))return f0(e);var t=[];for(var o in Be(e))Pe.call(e,o)&&o!="constructor"&&t.push(o);return t}function c1(e){if(!Ve(e))return U1(e);var t=yr(e),o=[];for(var s in e)s=="constructor"&&(t||!Pe.call(e,s))||o.push(s);return o}function vo(e,t){return e<t}function Ls(e,t){var o=-1,s=wt(e)?O(e.length):[];return bn(e,function(c,p,_){s[++o]=t(c,p,_)}),s}function Is(e){var t=Io(e);return t.length==1&&t[0][2]?fl(t[0][0],t[0][1]):function(o){return o===e||go(o,e,t)}}function Os(e,t){return Mo(e)&&dl(t)?fl(Jt(e),t):function(o){var s=Ho(o,e);return s===i&&s===t?Vo(o,e):mr(t,s,w|C)}}function ei(e,t,o,s,c){e!==t&&co(t,function(p,_){if(c||(c=new Vt),Ve(p))d1(e,t,_,o,ei,s,c);else{var E=s?s(Po(e,_),p,_+"",e,t,c):i;E===i&&(E=p),lo(e,_,E)}},xt)}function d1(e,t,o,s,c,p,_){var E=Po(e,o),R=Po(t,o),j=_.get(R);if(j){lo(e,o,j);return}var B=p?p(E,R,o+"",e,t,_):i,H=B===i;if(H){var Q=me(R),oe=!Q&&_n(R),ce=!Q&&!oe&&Jn(R);B=R,Q||oe||ce?me(E)?B=E:Ge(E)?B=yt(E):oe?(H=!1,B=Vs(R,!0)):ce?(H=!1,B=Us(R,!0)):B=[]:xr(R)||Mn(R)?(B=E,Mn(E)?B=Zl(E):(!Ve(E)||ln(E))&&(B=cl(R))):H=!1}H&&(_.set(R,B),c(B,R,s,p,_),_.delete(R)),lo(e,o,B)}function Ms(e,t){var o=e.length;if(o)return t+=t<0?o:0,sn(t,o)?e[t]:i}function Fs(e,t,o){t.length?t=He(t,function(p){return me(p)?function(_){return Ln(_,p.length===1?p[0]:p)}:p}):t=[_t];var s=-1;t=He(t,Et(ue()));var c=Ls(e,function(p,_,E){var R=He(t,function(j){return j(p)});return{criteria:R,index:++s,value:p}});return jf(c,function(p,_){return S1(p,_,o)})}function f1(e,t){return Ps(e,t,function(o,s){return Vo(e,s)})}function Ps(e,t,o){for(var s=-1,c=t.length,p={};++s<c;){var _=t[s],E=Ln(e,_);o(E,_)&&vr(p,wn(_,e),E)}return p}function h1(e){return function(t){return Ln(t,e)}}function bo(e,t,o,s){var c=s?zf:Zn,p=-1,_=t.length,E=e;for(e===t&&(t=yt(t)),o&&(E=He(e,Et(o)));++p<_;)for(var R=0,j=t[p],B=o?o(j):j;(R=c(E,B,R,s))>-1;)E!==e&&Hr.call(E,R,1),Hr.call(e,R,1);return e}function zs(e,t){for(var o=e?t.length:0,s=o-1;o--;){var c=t[o];if(o==s||c!==p){var p=c;sn(c)?Hr.call(e,c,1):_o(e,c)}}return e}function yo(e,t){return e+qr(vs()*(t-e+1))}function p1(e,t,o,s){for(var c=-1,p=Je(Ur((t-e)/(o||1)),0),_=O(p);p--;)_[s?p:++c]=e,e+=o;return _}function wo(e,t){var o="";if(!e||t<1||t>q)return o;do t%2&&(o+=e),t=qr(t/2),t&&(e+=e);while(t);return o}function _e(e,t){return zo(hl(e,t,_t),e+"")}function g1(e){return ws(er(e))}function m1(e,t){var o=er(e);return ci(o,Rn(t,0,o.length))}function vr(e,t,o,s){if(!Ve(e))return e;t=wn(t,e);for(var c=-1,p=t.length,_=p-1,E=e;E!=null&&++c<p;){var R=Jt(t[c]),j=o;if(R==="__proto__"||R==="constructor"||R==="prototype")return e;if(c!=_){var B=E[R];j=s?s(B,R,E):i,j===i&&(j=Ve(B)?B:sn(t[c+1])?[]:{})}hr(E,R,j),E=E[R]}return e}var js=Gr?function(e,t){return Gr.set(e,t),e}:_t,v1=Vr?function(e,t){return Vr(e,"toString",{configurable:!0,enumerable:!1,value:qo(t),writable:!0})}:_t;function b1(e){return ci(er(e))}function zt(e,t,o){var s=-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 p=O(c);++s<c;)p[s]=e[s+t];return p}function y1(e,t){var o;return bn(e,function(s,c,p){return o=t(s,c,p),!o}),!!o}function ti(e,t,o){var s=0,c=e==null?s:e.length;if(typeof t=="number"&&t===t&&c<=fe){for(;s<c;){var p=s+c>>>1,_=e[p];_!==null&&!Tt(_)&&(o?_<=t:_<t)?s=p+1:c=p}return c}return xo(e,t,_t,o)}function xo(e,t,o,s){var c=0,p=e==null?0:e.length;if(p===0)return 0;t=o(t);for(var _=t!==t,E=t===null,R=Tt(t),j=t===i;c<p;){var B=qr((c+p)/2),H=o(e[B]),Q=H!==i,oe=H===null,ce=H===H,we=Tt(H);if(_)var de=s||ce;else j?de=ce&&(s||Q):E?de=ce&&Q&&(s||!oe):R?de=ce&&Q&&!oe&&(s||!we):oe||we?de=!1:de=s?H<=t:H<t;de?c=B+1:p=B}return ut(p,ne)}function Bs(e,t){for(var o=-1,s=e.length,c=0,p=[];++o<s;){var _=e[o],E=t?t(_):_;if(!o||!Ut(E,R)){var R=E;p[c++]=_===0?0:_}}return p}function Ws(e){return typeof e=="number"?e:Tt(e)?Y:+e}function At(e){if(typeof e=="string")return e;if(me(e))return He(e,At)+"";if(Tt(e))return bs?bs.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function yn(e,t,o){var s=-1,c=Mr,p=e.length,_=!0,E=[],R=E;if(o)_=!1,c=Ki;else if(p>=l){var j=t?null:R1(e);if(j)return Pr(j);_=!1,c=sr,R=new kn}else R=t?[]:E;e:for(;++s<p;){var B=e[s],H=t?t(B):B;if(B=o||B!==0?B:0,_&&H===H){for(var Q=R.length;Q--;)if(R[Q]===H)continue e;t&&R.push(H),E.push(B)}else c(R,H,o)||(R!==E&&R.push(H),E.push(B))}return E}function _o(e,t){return t=wn(t,e),e=pl(e,t),e==null||delete e[Jt(jt(t))]}function Ds(e,t,o,s){return vr(e,t,o(Ln(e,t)),s)}function ni(e,t,o,s){for(var c=e.length,p=s?c:-1;(s?p--:++p<c)&&t(e[p],p,e););return o?zt(e,s?0:p,s?p+1:c):zt(e,s?p+1:0,s?c:p)}function Zs(e,t){var o=e;return o instanceof Se&&(o=o.value()),Xi(t,function(s,c){return c.func.apply(c.thisArg,gn([s],c.args))},o)}function Co(e,t,o){var s=e.length;if(s<2)return s?yn(e[0]):[];for(var c=-1,p=O(s);++c<s;)for(var _=e[c],E=-1;++E<s;)E!=c&&(p[c]=pr(p[c]||_,e[E],t,o));return yn(at(p,1),t,o)}function Ns(e,t,o){for(var s=-1,c=e.length,p=t.length,_={};++s<c;){var E=s<p?t[s]:i;o(_,e[s],E)}return _}function So(e){return Ge(e)?e:[]}function $o(e){return typeof e=="function"?e:_t}function wn(e,t){return me(e)?e:Mo(e,t)?[e]:bl(Fe(e))}var w1=_e;function xn(e,t,o){var s=e.length;return o=o===i?s:o,!t&&o>=s?e:zt(e,t,o)}var Hs=s0||function(e){return ot.clearTimeout(e)};function Vs(e,t){if(t)return e.slice();var o=e.length,s=fs?fs(o):new e.constructor(o);return e.copy(s),s}function Eo(e){var t=new e.constructor(e.byteLength);return new Zr(t).set(new Zr(e)),t}function x1(e,t){var o=t?Eo(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.byteLength)}function _1(e){var t=new e.constructor(e.source,Ta.exec(e));return t.lastIndex=e.lastIndex,t}function C1(e){return fr?Be(fr.call(e)):{}}function Us(e,t){var o=t?Eo(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}function qs(e,t){if(e!==t){var o=e!==i,s=e===null,c=e===e,p=Tt(e),_=t!==i,E=t===null,R=t===t,j=Tt(t);if(!E&&!j&&!p&&e>t||p&&_&&R&&!E&&!j||s&&_&&R||!o&&R||!c)return 1;if(!s&&!p&&!j&&e<t||j&&o&&c&&!s&&!p||E&&o&&c||!_&&c||!R)return-1}return 0}function S1(e,t,o){for(var s=-1,c=e.criteria,p=t.criteria,_=c.length,E=o.length;++s<_;){var R=qs(c[s],p[s]);if(R){if(s>=E)return R;var j=o[s];return R*(j=="desc"?-1:1)}}return e.index-t.index}function Gs(e,t,o,s){for(var c=-1,p=e.length,_=o.length,E=-1,R=t.length,j=Je(p-_,0),B=O(R+j),H=!s;++E<R;)B[E]=t[E];for(;++c<_;)(H||c<p)&&(B[o[c]]=e[c]);for(;j--;)B[E++]=e[c++];return B}function Ks(e,t,o,s){for(var c=-1,p=e.length,_=-1,E=o.length,R=-1,j=t.length,B=Je(p-E,0),H=O(B+j),Q=!s;++c<B;)H[c]=e[c];for(var oe=c;++R<j;)H[oe+R]=t[R];for(;++_<E;)(Q||c<p)&&(H[oe+o[_]]=e[c++]);return H}function yt(e,t){var o=-1,s=e.length;for(t||(t=O(s));++o<s;)t[o]=e[o];return t}function Qt(e,t,o,s){var c=!o;o||(o={});for(var p=-1,_=t.length;++p<_;){var E=t[p],R=s?s(o[E],e[E],E,o,e):i;R===i&&(R=e[E]),c?rn(o,E,R):hr(o,E,R)}return o}function $1(e,t){return Qt(e,Oo(e),t)}function E1(e,t){return Qt(e,ll(e),t)}function ri(e,t){return function(o,s){var c=me(o)?Lf:G0,p=t?t():{};return c(o,e,ue(s,2),p)}}function Xn(e){return _e(function(t,o){var s=-1,c=o.length,p=c>1?o[c-1]:i,_=c>2?o[2]:i;for(p=e.length>3&&typeof p=="function"?(c--,p):i,_&&ht(o[0],o[1],_)&&(p=c<3?i:p,c=1),t=Be(t);++s<c;){var E=o[s];E&&e(t,E,s,p)}return t})}function Xs(e,t){return function(o,s){if(o==null)return o;if(!wt(o))return e(o,s);for(var c=o.length,p=t?c:-1,_=Be(o);(t?p--:++p<c)&&s(_[p],p,_)!==!1;);return o}}function Ys(e){return function(t,o,s){for(var c=-1,p=Be(t),_=s(t),E=_.length;E--;){var R=_[e?E:++c];if(o(p[R],R,p)===!1)break}return t}}function A1(e,t,o){var s=t&S,c=br(e);function p(){var _=this&&this!==ot&&this instanceof p?c:e;return _.apply(s?o:this,arguments)}return p}function Qs(e){return function(t){t=Fe(t);var o=Nn(t)?Ht(t):i,s=o?o[0]:t.charAt(0),c=o?xn(o,1).join(""):t.slice(1);return s[e]()+c}}function Yn(e){return function(t){return Xi(Xl(Kl(t).replace(vf,"")),e,"")}}function br(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=Kn(e.prototype),s=e.apply(o,t);return Ve(s)?s:o}}function T1(e,t,o){var s=br(e);function c(){for(var p=arguments.length,_=O(p),E=p,R=Qn(c);E--;)_[E]=arguments[E];var j=p<3&&_[0]!==R&&_[p-1]!==R?[]:mn(_,R);if(p-=j.length,p<o)return rl(e,t,ii,c.placeholder,i,_,j,i,i,o-p);var B=this&&this!==ot&&this instanceof c?s:e;return $t(B,this,_)}return c}function Js(e){return function(t,o,s){var c=Be(t);if(!wt(t)){var p=ue(o,3);t=rt(t),o=function(E){return p(c[E],E,c)}}var _=e(t,o,s);return _>-1?c[p?t[_]:_]:i}}function el(e){return an(function(t){var o=t.length,s=o,c=Ft.prototype.thru;for(e&&t.reverse();s--;){var p=t[s];if(typeof p!="function")throw new Mt(d);if(c&&!_&&li(p)=="wrapper")var _=new Ft([],!0)}for(s=_?s:o;++s<o;){p=t[s];var E=li(p),R=E=="wrapper"?Lo(p):i;R&&Fo(R[0])&&R[1]==(N|A|P|U)&&!R[4].length&&R[9]==1?_=_[li(R[0])].apply(_,R[3]):_=p.length==1&&Fo(p)?_[E]():_.thru(p)}return function(){var j=arguments,B=j[0];if(_&&j.length==1&&me(B))return _.plant(B).value();for(var H=0,Q=o?t[H].apply(this,j):B;++H<o;)Q=t[H].call(this,Q);return Q}})}function ii(e,t,o,s,c,p,_,E,R,j){var B=t&N,H=t&S,Q=t&F,oe=t&(A|I),ce=t&ie,we=Q?i:br(e);function de(){for(var Ce=arguments.length,Ee=O(Ce),kt=Ce;kt--;)Ee[kt]=arguments[kt];if(oe)var pt=Qn(de),Rt=Wf(Ee,pt);if(s&&(Ee=Gs(Ee,s,c,oe)),p&&(Ee=Ks(Ee,p,_,oe)),Ce-=Rt,oe&&Ce<j){var Ke=mn(Ee,pt);return rl(e,t,ii,de.placeholder,o,Ee,Ke,E,R,j-Ce)}var qt=H?o:this,cn=Q?qt[e]:e;return Ce=Ee.length,E?Ee=G1(Ee,E):ce&&Ce>1&&Ee.reverse(),B&&R<Ce&&(Ee.length=R),this&&this!==ot&&this instanceof de&&(cn=we||br(cn)),cn.apply(qt,Ee)}return de}function tl(e,t){return function(o,s){return n1(o,e,t(s),{})}}function oi(e,t){return function(o,s){var c;if(o===i&&s===i)return t;if(o!==i&&(c=o),s!==i){if(c===i)return s;typeof o=="string"||typeof s=="string"?(o=At(o),s=At(s)):(o=Ws(o),s=Ws(s)),c=e(o,s)}return c}}function Ao(e){return an(function(t){return t=He(t,Et(ue())),_e(function(o){var s=this;return e(t,function(c){return $t(c,s,o)})})})}function ai(e,t){t=t===i?" ":At(t);var o=t.length;if(o<2)return o?wo(t,e):t;var s=wo(t,Ur(e/Hn(t)));return Nn(t)?xn(Ht(s),0,e).join(""):s.slice(0,e)}function k1(e,t,o,s){var c=t&S,p=br(e);function _(){for(var E=-1,R=arguments.length,j=-1,B=s.length,H=O(B+R),Q=this&&this!==ot&&this instanceof _?p:e;++j<B;)H[j]=s[j];for(;R--;)H[j++]=arguments[++E];return $t(Q,c?o:this,H)}return _}function nl(e){return function(t,o,s){return s&&typeof s!="number"&&ht(t,o,s)&&(o=s=i),t=un(t),o===i?(o=t,t=0):o=un(o),s=s===i?t<o?1:-1:un(s),p1(t,o,s,e)}}function si(e){return function(t,o){return typeof t=="string"&&typeof o=="string"||(t=Bt(t),o=Bt(o)),e(t,o)}}function rl(e,t,o,s,c,p,_,E,R,j){var B=t&A,H=B?_:i,Q=B?i:_,oe=B?p:i,ce=B?i:p;t|=B?P:D,t&=~(B?D:P),t&L||(t&=-4);var we=[e,t,c,oe,H,ce,Q,E,R,j],de=o.apply(i,we);return Fo(e)&&gl(de,we),de.placeholder=s,ml(de,e,t)}function To(e){var t=Qe[e];return function(o,s){if(o=Bt(o),s=s==null?0:ut(ye(s),292),s&&ms(o)){var c=(Fe(o)+"e").split("e"),p=t(c[0]+"e"+(+c[1]+s));return c=(Fe(p)+"e").split("e"),+(c[0]+"e"+(+c[1]-s))}return t(o)}}var R1=qn&&1/Pr(new qn([,-0]))[1]==G?function(e){return new qn(e)}:Xo;function il(e){return function(t){var o=ct(t);return o==$e?ro(t):o==lt?qf(t):Bf(t,e(t))}}function on(e,t,o,s,c,p,_,E){var R=t&F;if(!R&&typeof e!="function")throw new Mt(d);var j=s?s.length:0;if(j||(t&=-97,s=c=i),_=_===i?_:Je(ye(_),0),E=E===i?E:ye(E),j-=c?c.length:0,t&D){var B=s,H=c;s=c=i}var Q=R?i:Lo(e),oe=[e,t,o,s,c,B,H,p,_,E];if(Q&&V1(oe,Q),e=oe[0],t=oe[1],o=oe[2],s=oe[3],c=oe[4],E=oe[9]=oe[9]===i?R?0:e.length:Je(oe[9]-j,0),!E&&t&(A|I)&&(t&=-25),!t||t==S)var ce=A1(e,t,o);else t==A||t==I?ce=T1(e,t,E):(t==P||t==(S|P))&&!c.length?ce=k1(e,t,o,s):ce=ii.apply(i,oe);var we=Q?js:gl;return ml(we(ce,oe),e,t)}function ol(e,t,o,s){return e===i||Ut(e,Un[o])&&!Pe.call(s,o)?t:e}function al(e,t,o,s,c,p){return Ve(e)&&Ve(t)&&(p.set(t,e),ei(e,t,i,al,p),p.delete(t)),e}function L1(e){return xr(e)?i:e}function sl(e,t,o,s,c,p){var _=o&w,E=e.length,R=t.length;if(E!=R&&!(_&&R>E))return!1;var j=p.get(e),B=p.get(t);if(j&&B)return j==t&&B==e;var H=-1,Q=!0,oe=o&C?new kn:i;for(p.set(e,t),p.set(t,e);++H<E;){var ce=e[H],we=t[H];if(s)var de=_?s(we,ce,H,t,e,p):s(ce,we,H,e,t,p);if(de!==i){if(de)continue;Q=!1;break}if(oe){if(!Yi(t,function(Ce,Ee){if(!sr(oe,Ee)&&(ce===Ce||c(ce,Ce,o,s,p)))return oe.push(Ee)})){Q=!1;break}}else if(!(ce===we||c(ce,we,o,s,p))){Q=!1;break}}return p.delete(e),p.delete(t),Q}function I1(e,t,o,s,c,p,_){switch(o){case le:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case be:return!(e.byteLength!=t.byteLength||!p(new Zr(e),new Zr(t)));case nt:case Ye:case je:return Ut(+e,+t);case Re:return e.name==t.name&&e.message==t.message;case en:case Xt:return e==t+"";case $e:var E=ro;case lt:var R=s&w;if(E||(E=Pr),e.size!=t.size&&!R)return!1;var j=_.get(e);if(j)return j==t;s|=C,_.set(e,t);var B=sl(E(e),E(t),s,c,p,_);return _.delete(e),B;case J:if(fr)return fr.call(e)==fr.call(t)}return!1}function O1(e,t,o,s,c,p){var _=o&w,E=ko(e),R=E.length,j=ko(t),B=j.length;if(R!=B&&!_)return!1;for(var H=R;H--;){var Q=E[H];if(!(_?Q in t:Pe.call(t,Q)))return!1}var oe=p.get(e),ce=p.get(t);if(oe&&ce)return oe==t&&ce==e;var we=!0;p.set(e,t),p.set(t,e);for(var de=_;++H<R;){Q=E[H];var Ce=e[Q],Ee=t[Q];if(s)var kt=_?s(Ee,Ce,Q,t,e,p):s(Ce,Ee,Q,e,t,p);if(!(kt===i?Ce===Ee||c(Ce,Ee,o,s,p):kt)){we=!1;break}de||(de=Q=="constructor")}if(we&&!de){var pt=e.constructor,Rt=t.constructor;pt!=Rt&&"constructor"in e&&"constructor"in t&&!(typeof pt=="function"&&pt instanceof pt&&typeof Rt=="function"&&Rt instanceof Rt)&&(we=!1)}return p.delete(e),p.delete(t),we}function an(e){return zo(hl(e,i,_l),e+"")}function ko(e){return As(e,rt,Oo)}function Ro(e){return As(e,xt,ll)}var Lo=Gr?function(e){return Gr.get(e)}:Xo;function li(e){for(var t=e.name+"",o=Gn[t],s=Pe.call(Gn,t)?o.length:0;s--;){var c=o[s],p=c.func;if(p==null||p==e)return c.name}return t}function Qn(e){var t=Pe.call(f,"placeholder")?f:e;return t.placeholder}function ue(){var e=f.iteratee||Go;return e=e===Go?Rs:e,arguments.length?e(arguments[0],arguments[1]):e}function ui(e,t){var o=e.__data__;return D1(t)?o[typeof t=="string"?"string":"hash"]:o.map}function Io(e){for(var t=rt(e),o=t.length;o--;){var s=t[o],c=e[s];t[o]=[s,c,dl(c)]}return t}function In(e,t){var o=Hf(e,t);return ks(o)?o:i}function M1(e){var t=Pe.call(e,An),o=e[An];try{e[An]=i;var s=!0}catch{}var c=Wr.call(e);return s&&(t?e[An]=o:delete e[An]),c}var Oo=oo?function(e){return e==null?[]:(e=Be(e),pn(oo(e),function(t){return ps.call(e,t)}))}:Yo,ll=oo?function(e){for(var t=[];e;)gn(t,Oo(e)),e=Nr(e);return t}:Yo,ct=ft;(ao&&ct(new ao(new ArrayBuffer(1)))!=le||ur&&ct(new ur)!=$e||so&&ct(so.resolve())!=Nt||qn&&ct(new qn)!=lt||cr&&ct(new cr)!=De)&&(ct=function(e){var t=ft(e),o=t==st?e.constructor:i,s=o?On(o):"";if(s)switch(s){case m0:return le;case v0:return $e;case b0:return Nt;case y0:return lt;case w0:return De}return t});function F1(e,t,o){for(var s=-1,c=o.length;++s<c;){var p=o[s],_=p.size;switch(p.type){case"drop":e+=_;break;case"dropRight":t-=_;break;case"take":t=ut(t,e+_);break;case"takeRight":e=Je(e,t-_);break}}return{start:e,end:t}}function P1(e){var t=e.match(Dd);return t?t[1].split(Zd):[]}function ul(e,t,o){t=wn(t,e);for(var s=-1,c=t.length,p=!1;++s<c;){var _=Jt(t[s]);if(!(p=e!=null&&o(e,_)))break;e=e[_]}return p||++s!=c?p:(c=e==null?0:e.length,!!c&&mi(c)&&sn(_,c)&&(me(e)||Mn(e)))}function z1(e){var t=e.length,o=new e.constructor(t);return t&&typeof e[0]=="string"&&Pe.call(e,"index")&&(o.index=e.index,o.input=e.input),o}function cl(e){return typeof e.constructor=="function"&&!yr(e)?Kn(Nr(e)):{}}function j1(e,t,o){var s=e.constructor;switch(t){case be:return Eo(e);case nt:case Ye:return new s(+e);case le:return x1(e,o);case Me:case St:case vt:case Te:case he:case bt:case $n:case Wn:case Bi:return Us(e,o);case $e:return new s;case je:case Xt:return new s(e);case en:return _1(e);case lt:return new s;case J:return C1(e)}}function B1(e,t){var o=t.length;if(!o)return e;var s=o-1;return t[s]=(o>1?"& ":"")+t[s],t=t.join(o>2?", ":" "),e.replace(Wd,`{
|
|
8
|
+
*/var N8=ii.exports,mc;function V8(){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,_="__lodash_placeholder__",S=1,E=2,w=4,C=1,I=2,R=1,M=2,k=4,T=8,z=16,D=32,q=64,G=128,J=256,me=512,we=30,$e="...",H=800,j=16,V=1,le=2,ie=3,te=1/0,ne=9007199254740991,fe=17976931348623157e292,Me=NaN,Ce=4294967295,De=Ce-1,ze=Ce>>>1,Be=[["ary",G],["bind",R],["bindKey",M],["curry",T],["curryRight",z],["flip",me],["partial",D],["partialRight",q],["rearg",J]],He="[object Arguments]",qe="[object Array]",st="[object AsyncFunction]",Q="[object Boolean]",O="[object Date]",ee="[object DOMException]",se="[object Error]",ge="[object Function]",Se="[object GeneratorFunction]",Ee="[object Map]",tt="[object Number]",xt="[object Null]",at="[object Object]",Kt="[object Promise]",cn="[object Proxy]",nt="[object RegExp]",gt="[object Set]",lt="[object String]",oe="[object Symbol]",Te="[object Undefined]",Ye="[object WeakMap]",Xt="[object WeakSet]",fn="[object ArrayBuffer]",Yt="[object DataView]",Lo="[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,gi=/($^)/,O0=/['\n\r\u2028\u2029\\]/g,mi="\\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="["+mi+"]",Ya="["+Xa+"]",vi="["+Va+"]",Qa="\\d+",H0="["+Ua+"]",Ja="["+qa+"]",el="[^"+mi+Xa+Qa+Ua+qa+Ga+"]",Zo="\\ud83c[\\udffb-\\udfff]",Z0="(?:"+vi+"|"+Zo+")",tl="[^"+mi+"]",No="(?:\\ud83c[\\udde6-\\uddff]){2}",Vo="[\\ud800-\\udbff][\\udc00-\\udfff]",sr="["+Ga+"]",nl="\\u200d",rl="(?:"+Ja+"|"+el+")",N0="(?:"+sr+"|"+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+vi+"?",vi,No,Vo,D0].join("|")+")",X0=RegExp(Ho,"g"),Y0=RegExp(vi,"g"),Uo=RegExp(Zo+"(?="+Zo+")|"+K0+ll,"g"),Q0=RegExp([sr+"?"+Ja+"+"+il+"(?="+[Ya,sr,"$"].join("|")+")",N0+"+"+ol+"(?="+[Ya,sr+rl,"$"].join("|")+")",sr+"?"+rl+"+"+il,sr+"+"+ol,q0,U0,Qa,G0].join("|"),"g"),J0=RegExp("["+nl+mi+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,Ve={};Ve[Lo]=Ve[Io]=Ve[Oo]=Ve[Mo]=Ve[Fo]=Ve[zo]=Ve[jo]=Ve[Bo]=Ve[Po]=!0,Ve[He]=Ve[qe]=Ve[fn]=Ve[Q]=Ve[Yt]=Ve[O]=Ve[se]=Ve[ge]=Ve[Ee]=Ve[tt]=Ve[at]=Ve[nt]=Ve[gt]=Ve[lt]=Ve[Ye]=!1;var Ne={};Ne[He]=Ne[qe]=Ne[fn]=Ne[Yt]=Ne[Q]=Ne[O]=Ne[Lo]=Ne[Io]=Ne[Oo]=Ne[Mo]=Ne[Fo]=Ne[Ee]=Ne[tt]=Ne[at]=Ne[nt]=Ne[gt]=Ne[lt]=Ne[oe]=Ne[zo]=Ne[jo]=Ne[Bo]=Ne[Po]=!0,Ne[se]=Ne[ge]=Ne[Ye]=!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={"&":"&","<":"<",">":">",'"':""","'":"'"},o1={"&":"&","<":"<",">":">",""":'"',"'":"'"},s1={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},a1=parseFloat,l1=parseInt,ul=typeof ro=="object"&&ro&&ro.Object===Object&&ro,u1=typeof self=="object"&&self&&self.Object===Object&&self,ct=ul||u1||Function("return this")(),qo=r&&!r.nodeType&&r,Nn=qo&&!0&&n&&!n.nodeType&&n,cl=Nn&&Nn.exports===qo,Go=cl&&ul.process,jt=function(){try{var A=Nn&&Nn.require&&Nn.require("util").types;return A||Go&&Go.binding&&Go.binding("util")}catch{}}(),fl=jt&&jt.isArrayBuffer,dl=jt&&jt.isDate,hl=jt&&jt.isMap,pl=jt&&jt.isRegExp,gl=jt&&jt.isSet,ml=jt&&jt.isTypedArray;function Rt(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,ae){for(var ve=-1,Fe=A==null?0:A.length;++ve<Fe;){var rt=A[ve];F(ae,rt,L(rt),A)}return ae}function Bt(A,F){for(var L=-1,ae=A==null?0:A.length;++L<ae&&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,ae=A==null?0:A.length;++L<ae;)if(!F(A[L],L,A))return!1;return!0}function kn(A,F){for(var L=-1,ae=A==null?0:A.length,ve=0,Fe=[];++L<ae;){var rt=A[L];F(rt,L,A)&&(Fe[ve++]=rt)}return Fe}function yi(A,F){var L=A==null?0:A.length;return!!L&&ar(A,F,0)>-1}function Ko(A,F,L){for(var ae=-1,ve=A==null?0:A.length;++ae<ve;)if(L(F,A[ae]))return!0;return!1}function Ue(A,F){for(var L=-1,ae=A==null?0:A.length,ve=Array(ae);++L<ae;)ve[L]=F(A[L],L,A);return ve}function Tn(A,F){for(var L=-1,ae=F.length,ve=A.length;++L<ae;)A[ve+L]=F[L];return A}function Xo(A,F,L,ae){var ve=-1,Fe=A==null?0:A.length;for(ae&&Fe&&(L=A[++ve]);++ve<Fe;)L=F(L,A[ve],ve,A);return L}function d1(A,F,L,ae){var ve=A==null?0:A.length;for(ae&&ve&&(L=A[--ve]);ve--;)L=F(L,A[ve],ve,A);return L}function Yo(A,F){for(var L=-1,ae=A==null?0:A.length;++L<ae;)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 ae;return L(A,function(ve,Fe,rt){if(F(ve,Fe,rt))return ae=Fe,!1}),ae}function bi(A,F,L,ae){for(var ve=A.length,Fe=L+(ae?1:-1);ae?Fe--:++Fe<ve;)if(F(A[Fe],Fe,A))return Fe;return-1}function ar(A,F,L){return F===F?$1(A,F,L):bi(A,bl,L)}function m1(A,F,L,ae){for(var ve=L-1,Fe=A.length;++ve<Fe;)if(ae(A[ve],F))return ve;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:Me}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,ae,ve){return ve(A,function(Fe,rt,Ze){L=ae?(ae=!1,Fe):F(L,Fe,rt,Ze)}),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,ae=-1,ve=A.length;++ae<ve;){var Fe=F(A[ae]);Fe!==i&&(L=L===i?Fe:L+Fe)}return L}function ts(A,F){for(var L=-1,ae=Array(A);++L<A;)ae[L]=F(L);return ae}function y1(A,F){return Ue(F,function(L){return[L,A[L]]})}function _l(A){return A&&A.slice(0,Al(A)+1).replace(Do,"")}function Lt(A){return function(F){return A(F)}}function ns(A,F){return Ue(F,function(L){return A[L]})}function Fr(A,F){return A.has(F)}function Cl(A,F){for(var L=-1,ae=A.length;++L<ae&&ar(F,A[L],0)>-1;);return L}function Sl(A,F){for(var L=A.length;L--&&ar(F,A[L],0)>-1;);return L}function b1(A,F){for(var L=A.length,ae=0;L--;)A[L]===F&&++ae;return ae}var w1=Jo(r1),x1=Jo(i1);function _1(A){return"\\"+s1[A]}function C1(A,F){return A==null?i:A[F]}function lr(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(ae,ve){L[++F]=[ve,ae]}),L}function El(A,F){return function(L){return A(F(L))}}function Rn(A,F){for(var L=-1,ae=A.length,ve=0,Fe=[];++L<ae;){var rt=A[L];(rt===F||rt===_)&&(A[L]=_,Fe[ve++]=L)}return Fe}function wi(A){var F=-1,L=Array(A.size);return A.forEach(function(ae){L[++F]=ae}),L}function A1(A){var F=-1,L=Array(A.size);return A.forEach(function(ae){L[++F]=[ae,ae]}),L}function $1(A,F,L){for(var ae=L-1,ve=A.length;++ae<ve;)if(A[ae]===F)return ae;return-1}function k1(A,F,L){for(var ae=L+1;ae--;)if(A[ae]===F)return ae;return ae}function ur(A){return lr(A)?R1(A):h1(A)}function Qt(A){return lr(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?ct:cr.defaults(ct.Object(),F,cr.pick(ct,t1));var L=F.Array,ae=F.Date,ve=F.Error,Fe=F.Function,rt=F.Math,Ze=F.Object,is=F.RegExp,M1=F.String,Pt=F.TypeError,xi=L.prototype,F1=Fe.prototype,fr=Ze.prototype,_i=F["__core-js_shared__"],Ci=F1.toString,Pe=fr.hasOwnProperty,z1=0,$l=function(){var e=/[^.]+$/.exec(_i&&_i.keys&&_i.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Si=fr.toString,j1=Ci.call(Ze),B1=ct._,P1=is("^"+Ci.call(Pe).replace(Wo,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ei=cl?F.Buffer:i,Ln=F.Symbol,Ai=F.Uint8Array,kl=Ei?Ei.allocUnsafe:i,$i=El(Ze.getPrototypeOf,Ze),Tl=Ze.create,Rl=fr.propertyIsEnumerable,ki=xi.splice,Ll=Ln?Ln.isConcatSpreadable:i,zr=Ln?Ln.iterator:i,Vn=Ln?Ln.toStringTag:i,Ti=function(){try{var e=Xn(Ze,"defineProperty");return e({},"",{}),e}catch{}}(),W1=F.clearTimeout!==ct.clearTimeout&&F.clearTimeout,D1=ae&&ae.now!==ct.Date.now&&ae.now,H1=F.setTimeout!==ct.setTimeout&&F.setTimeout,Ri=rt.ceil,Li=rt.floor,os=Ze.getOwnPropertySymbols,Z1=Ei?Ei.isBuffer:i,Il=F.isFinite,N1=xi.join,V1=El(Ze.keys,Ze),it=rt.max,dt=rt.min,U1=ae.now,q1=F.parseInt,Ol=rt.random,G1=xi.reverse,ss=Xn(F,"DataView"),jr=Xn(F,"Map"),as=Xn(F,"Promise"),dr=Xn(F,"Set"),Br=Xn(F,"WeakMap"),Pr=Xn(Ze,"create"),Ii=Br&&new Br,hr={},K1=Yn(ss),X1=Yn(jr),Y1=Yn(as),Q1=Yn(dr),J1=Yn(Br),Oi=Ln?Ln.prototype:i,Wr=Oi?Oi.valueOf:i,Ml=Oi?Oi.toString:i;function p(e){if(Ke(e)&&!ye(e)&&!(e instanceof Le)){if(e instanceof Wt)return e;if(Pe.call(e,"__wrapped__"))return Fu(e)}return new Wt(e)}var pr=function(){function e(){}return function(t){if(!Ge(t))return{};if(Tl)return Tl(t);e.prototype=t;var o=new e;return e.prototype=i,o}}();function Mi(){}function Wt(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=Mi.prototype,p.prototype.constructor=p,Wt.prototype=pr(Mi.prototype),Wt.prototype.constructor=Wt;function Le(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ce,this.__views__=[]}function eh(){var e=new Le(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 Le(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=ye(e),a=t<0,c=o?e.length:0,m=pp(0,c,this.__views__),b=m.start,x=m.end,$=x-b,P=a?x:b-1,W=this.__iteratees__,N=W.length,re=0,ce=dt($,this.__takeCount__);if(!o||!a&&c==$&&ce==$)return iu(e,this.__actions__);var he=[];e:for(;$--&&re<ce;){P+=t;for(var Ae=-1,pe=e[P];++Ae<N;){var Re=W[Ae],Ie=Re.iteratee,Mt=Re.type,yt=Ie(pe);if(Mt==le)pe=yt;else if(!yt){if(Mt==V)continue e;break e}}he[re++]=pe}return he}Le.prototype=pr(Mi.prototype),Le.prototype.constructor=Le;function Un(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__=Pr?Pr(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(Pr){var o=t[e];return o===g?i:o}return Pe.call(t,e)?t[e]:i}function sh(e){var t=this.__data__;return Pr?t[e]!==i:Pe.call(t,e)}function ah(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=Pr&&t===i?g:t,this}Un.prototype.clear=rh,Un.prototype.delete=ih,Un.prototype.get=oh,Un.prototype.has=sh,Un.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=Fi(t,e);if(o<0)return!1;var a=t.length-1;return o==a?t.pop():ki.call(t,o,1),--this.size,!0}function ch(e){var t=this.__data__,o=Fi(t,e);return o<0?i:t[o][1]}function fh(e){return Fi(this.__data__,e)>-1}function dh(e,t){var o=this.__data__,a=Fi(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 Un,map:new(jr||dn),string:new Un}}function ph(e){var t=qi(this,e).delete(e);return this.size-=t?1:0,t}function gh(e){return qi(this,e).get(e)}function mh(e){return qi(this,e).has(e)}function vh(e,t){var o=qi(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 qn(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)}qn.prototype.add=qn.prototype.push=yh,qn.prototype.has=bh;function Jt(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(!jr||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}Jt.prototype.clear=wh,Jt.prototype.delete=xh,Jt.prototype.get=_h,Jt.prototype.has=Ch,Jt.prototype.set=Sh;function Fl(e,t){var o=ye(e),a=!o&&Qn(e),c=!o&&!a&&zn(e),m=!o&&!a&&!c&&yr(e),b=o||a||c||m,x=b?ts(e.length,M1):[],$=x.length;for(var P in e)(t||Pe.call(e,P))&&!(b&&(P=="length"||c&&(P=="offset"||P=="parent")||m&&(P=="buffer"||P=="byteLength"||P=="byteOffset")||vn(P,$)))&&x.push(P);return x}function zl(e){var t=e.length;return t?e[ys(0,t-1)]:i}function Eh(e,t){return Gi(_t(e),Gn(t,0,e.length))}function Ah(e){return Gi(_t(e))}function ls(e,t,o){(o!==i&&!en(e[t],o)||o===i&&!(t in e))&&pn(e,t,o)}function Dr(e,t,o){var a=e[t];(!(Pe.call(e,t)&&en(a,o))||o===i&&!(t in e))&&pn(e,t,o)}function Fi(e,t){for(var o=e.length;o--;)if(en(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&&sn(t,ut(t),e)}function kh(e,t){return e&&sn(t,St(t),e)}function pn(e,t,o){t=="__proto__"&&Ti?Ti(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 Gn(e,t,o){return e===e&&(o!==i&&(e=e<=o?e:o),t!==i&&(e=e>=t?e:t)),e}function Dt(e,t,o,a,c,m){var b,x=t&S,$=t&E,P=t&w;if(o&&(b=c?o(e,a,c,m):o(e)),b!==i)return b;if(!Ge(e))return e;var W=ye(e);if(W){if(b=mp(e),!x)return _t(e,b)}else{var N=ht(e),re=N==ge||N==Se;if(zn(e))return au(e,x);if(N==at||N==He||re&&!c){if(b=$||re?{}:Au(e),!x)return $?op(e,kh(b,e)):ip(e,jl(b,e))}else{if(!Ne[N])return c?e:{};b=vp(e,N,x)}}m||(m=new Jt);var ce=m.get(e);if(ce)return ce;m.set(e,b),tc(e)?e.forEach(function(pe){b.add(Dt(pe,t,o,pe,e,m))}):Ju(e)&&e.forEach(function(pe,Re){b.set(Re,Dt(pe,t,o,Re,e,m))});var he=P?$?Ts:ks:$?St:ut,Ae=W?i:he(e);return Bt(Ae||e,function(pe,Re){Ae&&(Re=pe,pe=e[Re]),Dr(b,Re,Dt(pe,t,o,Re,e,m))}),b}function Th(e){var t=ut(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=Ze(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 Pt(f);return Gr(function(){e.apply(i,o)},t)}function Hr(e,t,o,a){var c=-1,m=yi,b=!0,x=e.length,$=[],P=t.length;if(!x)return $;o&&(t=Ue(t,Lt(o))),a?(m=Ko,b=!1):t.length>=l&&(m=Fr,b=!1,t=new qn(t));e:for(;++c<x;){var W=e[c],N=o==null?W:o(W);if(W=a||W!==0?W:0,b&&N===N){for(var re=P;re--;)if(t[re]===N)continue e;$.push(W)}else m(t,N,a)||$.push(W)}return $}var In=du(on),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 zi(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&&!Ot(b):o(b,x)))var x=b,$=m}return $}function Lh(e,t,o,a){var c=e.length;for(o=_e(o),o<0&&(o=-o>c?0:c+o),a=a===i||a>c?c:_e(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 ft(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?ft(x,t-1,o,a,c):Tn(c,x):a||(c[c.length]=x)}return c}var cs=hu(),Hl=hu(!0);function on(e,t){return e&&cs(e,t,ut)}function fs(e,t){return e&&Hl(e,t,ut)}function ji(e,t){return kn(t,function(o){return yn(e[o])})}function Kn(e,t){t=Mn(t,e);for(var o=0,a=t.length;e!=null&&o<a;)e=e[an(t[o++])];return o&&o==a?e:i}function Zl(e,t,o){var a=t(e);return ye(e)?a:Tn(a,o(e))}function mt(e){return e==null?e===i?Te:xt:Vn&&Vn in Ze(e)?hp(e):Ap(e)}function ds(e,t){return e>t}function Ih(e,t){return e!=null&&Pe.call(e,t)}function Oh(e,t){return e!=null&&t in Ze(e)}function Mh(e,t,o){return e>=dt(t,o)&&e<it(t,o)}function hs(e,t,o){for(var a=o?Ko:yi,c=e[0].length,m=e.length,b=m,x=L(m),$=1/0,P=[];b--;){var W=e[b];b&&t&&(W=Ue(W,Lt(t))),$=dt(W.length,$),x[b]=!o&&(t||c>=120&&W.length>=120)?new qn(b&&W):i}W=e[0];var N=-1,re=x[0];e:for(;++N<c&&P.length<$;){var ce=W[N],he=t?t(ce):ce;if(ce=o||ce!==0?ce:0,!(re?Fr(re,he):a(P,he,o))){for(b=m;--b;){var Ae=x[b];if(!(Ae?Fr(Ae,he):a(e[b],he,o)))continue e}re&&re.push(he),P.push(ce)}}return P}function Fh(e,t,o,a){return on(e,function(c,m,b){t(a,o(c),m,b)}),a}function Zr(e,t,o){t=Mn(t,e),e=Ru(e,t);var a=e==null?e:e[an(Zt(t))];return a==null?i:Rt(a,e,o)}function Nl(e){return Ke(e)&&mt(e)==He}function zh(e){return Ke(e)&&mt(e)==fn}function jh(e){return Ke(e)&&mt(e)==O}function Nr(e,t,o,a,c){return e===t?!0:e==null||t==null||!Ke(e)&&!Ke(t)?e!==e&&t!==t:Bh(e,t,o,a,Nr,c)}function Bh(e,t,o,a,c,m){var b=ye(e),x=ye(t),$=b?qe:ht(e),P=x?qe:ht(t);$=$==He?at:$,P=P==He?at:P;var W=$==at,N=P==at,re=$==P;if(re&&zn(e)){if(!zn(t))return!1;b=!0,W=!1}if(re&&!W)return m||(m=new Jt),b||yr(e)?Cu(e,t,o,a,c,m):fp(e,t,$,o,a,c,m);if(!(o&C)){var ce=W&&Pe.call(e,"__wrapped__"),he=N&&Pe.call(t,"__wrapped__");if(ce||he){var Ae=ce?e.value():e,pe=he?t.value():t;return m||(m=new Jt),c(Ae,pe,o,a,m)}}return re?(m||(m=new Jt),dp(e,t,o,a,c,m)):!1}function Ph(e){return Ke(e)&&ht(e)==Ee}function ps(e,t,o,a){var c=o.length,m=c,b=!a;if(e==null)return!m;for(e=Ze(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],P=e[$],W=x[1];if(b&&x[2]){if(P===i&&!($ in e))return!1}else{var N=new Jt;if(a)var re=a(P,W,$,e,t,N);if(!(re===i?Nr(W,P,C|I,a,N):re))return!1}}return!0}function Vl(e){if(!Ge(e)||xp(e))return!1;var t=yn(e)?P1:T0;return t.test(Yn(e))}function Wh(e){return Ke(e)&&mt(e)==nt}function Dh(e){return Ke(e)&&ht(e)==gt}function Hh(e){return Ke(e)&&eo(e.length)&&!!Ve[mt(e)]}function Ul(e){return typeof e=="function"?e:e==null?Et:typeof e=="object"?ye(e)?Kl(e[0],e[1]):Gl(e):pc(e)}function gs(e){if(!qr(e))return V1(e);var t=[];for(var o in Ze(e))Pe.call(e,o)&&o!="constructor"&&t.push(o);return t}function Zh(e){if(!Ge(e))return Ep(e);var t=qr(e),o=[];for(var a in e)a=="constructor"&&(t||!Pe.call(e,a))||o.push(a);return o}function ms(e,t){return e<t}function ql(e,t){var o=-1,a=Ct(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(an(e),t):function(o){var a=Zs(o,e);return a===i&&a===t?Ns(o,e):Nr(t,a,C|I)}}function Bi(e,t,o,a,c){e!==t&&cs(t,function(m,b){if(c||(c=new Jt),Ge(m))Nh(e,t,b,o,Bi,a,c);else{var x=a?a(Fs(e,b),m,b+"",e,t,c):i;x===i&&(x=m),ls(e,b,x)}},St)}function Nh(e,t,o,a,c,m,b){var x=Fs(e,o),$=Fs(t,o),P=b.get($);if(P){ls(e,o,P);return}var W=m?m(x,$,o+"",e,t,b):i,N=W===i;if(N){var re=ye($),ce=!re&&zn($),he=!re&&!ce&&yr($);W=$,re||ce||he?ye(x)?W=x:Qe(x)?W=_t(x):ce?(N=!1,W=au($,!0)):he?(N=!1,W=lu($,!0)):W=[]:Kr($)||Qn($)?(W=x,Qn(x)?W=ic(x):(!Ge(x)||yn(x))&&(W=Au($))):N=!1}N&&(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=Ue(t,function(m){return ye(m)?function(b){return Kn(b,m.length===1?m[0]:m)}:m}):t=[Et];var a=-1;t=Ue(t,Lt(de()));var c=ql(e,function(m,b,x){var $=Ue(t,function(P){return P(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=Kn(e,b);o(x,b)&&Vr(m,Mn(b,e),x)}return m}function Uh(e){return function(t){return Kn(t,e)}}function vs(e,t,o,a){var c=a?m1:ar,m=-1,b=t.length,x=e;for(e===t&&(t=_t(t)),o&&(x=Ue(e,Lt(o)));++m<b;)for(var $=0,P=t[m],W=o?o(P):P;($=c(x,W,$,a))>-1;)x!==e&&ki.call(x,$,1),ki.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)?ki.call(e,c,1):xs(e,c)}}return e}function ys(e,t){return e+Li(Ol()*(t-e+1))}function qh(e,t,o,a){for(var c=-1,m=it(Ri((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>ne)return o;do t%2&&(o+=e),t=Li(t/2),t&&(e+=e);while(t);return o}function ke(e,t){return zs(Tu(e,t,Et),e+"")}function Gh(e){return zl(br(e))}function Kh(e,t){var o=br(e);return Gi(o,Gn(t,0,o.length))}function Vr(e,t,o,a){if(!Ge(e))return e;t=Mn(t,e);for(var c=-1,m=t.length,b=m-1,x=e;x!=null&&++c<m;){var $=an(t[c]),P=o;if($==="__proto__"||$==="constructor"||$==="prototype")return e;if(c!=b){var W=x[$];P=a?a(W,$,x):i,P===i&&(P=Ge(W)?W:vn(t[c+1])?[]:{})}Dr(x,$,P),x=x[$]}return e}var eu=Ii?function(e,t){return Ii.set(e,t),e}:Et,Xh=Ti?function(e,t){return Ti(e,"toString",{configurable:!0,enumerable:!1,value:Us(t),writable:!0})}:Et;function Yh(e){return Gi(br(e))}function Ht(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 Pi(e,t,o){var a=0,c=e==null?a:e.length;if(typeof t=="number"&&t===t&&c<=ze){for(;a<c;){var m=a+c>>>1,b=e[m];b!==null&&!Ot(b)&&(o?b<=t:b<t)?a=m+1:c=m}return c}return ws(e,t,Et,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,$=Ot(t),P=t===i;c<m;){var W=Li((c+m)/2),N=o(e[W]),re=N!==i,ce=N===null,he=N===N,Ae=Ot(N);if(b)var pe=a||he;else P?pe=he&&(a||re):x?pe=he&&re&&(a||!ce):$?pe=he&&re&&!ce&&(a||!Ae):ce||Ae?pe=!1:pe=a?N<=t:N<t;pe?c=W+1:m=W}return dt(m,De)}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||!en(x,$)){var $=x;m[c++]=b===0?0:b}}return m}function nu(e){return typeof e=="number"?e:Ot(e)?Me:+e}function It(e){if(typeof e=="string")return e;if(ye(e))return Ue(e,It)+"";if(Ot(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=yi,m=e.length,b=!0,x=[],$=x;if(o)b=!1,c=Ko;else if(m>=l){var P=t?null:up(e);if(P)return wi(P);b=!1,c=Fr,$=new qn}else $=t?[]:x;e:for(;++a<m;){var W=e[a],N=t?t(W):W;if(W=o||W!==0?W:0,b&&N===N){for(var re=$.length;re--;)if($[re]===N)continue e;t&&$.push(N),x.push(W)}else c($,N,o)||($!==x&&$.push(N),x.push(W))}return x}function xs(e,t){return t=Mn(t,e),e=Ru(e,t),e==null||delete e[an(Zt(t))]}function ru(e,t,o,a){return Vr(e,t,o(Kn(e,t)),a)}function Wi(e,t,o,a){for(var c=e.length,m=a?c:-1;(a?m--:++m<c)&&t(e[m],m,e););return o?Ht(e,a?0:m,a?m+1:c):Ht(e,a?m+1:0,a?c:m)}function iu(e,t){var o=e;return o instanceof Le&&(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]=Hr(m[c]||b,e[x],t,o));return On(ft(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 Qe(e)?e:[]}function Ss(e){return typeof e=="function"?e:Et}function Mn(e,t){return ye(e)?e:Os(e,t)?[e]:Mu(je(e))}var Jh=ke;function Fn(e,t,o){var a=e.length;return o=o===i?a:o,!t&&o>=a?e:Ht(e,t,o)}var su=W1||function(e){return ct.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 Ai(t).set(new Ai(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 Wr?Ze(Wr.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=Ot(e),b=t!==i,x=t===null,$=t===t,P=Ot(t);if(!x&&!P&&!m&&e>t||m&&b&&$&&!x&&!P||a&&b&&$||!o&&$||!c)return 1;if(!a&&!m&&!P&&e<t||P&&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 P=o[a];return $*(P=="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,P=it(m-b,0),W=L($+P),N=!a;++x<$;)W[x]=t[x];for(;++c<b;)(N||c<m)&&(W[o[c]]=e[c]);for(;P--;)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,P=t.length,W=it(m-x,0),N=L(W+P),re=!a;++c<W;)N[c]=e[c];for(var ce=c;++$<P;)N[ce+$]=t[$];for(;++b<x;)(re||c<m)&&(N[ce+o[b]]=e[c++]);return N}function _t(e,t){var o=-1,a=e.length;for(t||(t=L(a));++o<a;)t[o]=e[o];return t}function sn(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,$):Dr(o,x,$)}return o}function ip(e,t){return sn(e,Is(e),t)}function op(e,t){return sn(e,Su(e),t)}function Di(e,t){return function(o,a){var c=ye(o)?c1:$h,m=t?t():{};return c(o,e,de(a,2),m)}}function gr(e){return ke(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&&vt(o[0],o[1],b)&&(m=c<3?i:m,c=1),t=Ze(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(!Ct(o))return e(o,a);for(var c=o.length,m=t?c:-1,b=Ze(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=Ze(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=Ur(e);function m(){var b=this&&this!==ct&&this instanceof m?c:e;return b.apply(a?o:this,arguments)}return m}function pu(e){return function(t){t=je(t);var o=lr(t)?Qt(t):i,a=o?o[0]:t.charAt(0),c=o?Fn(o,1).join(""):t.slice(1);return a[e]()+c}}function mr(e){return function(t){return Xo(dc(fc(t).replace(X0,"")),e,"")}}function Ur(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=pr(e.prototype),a=e.apply(o,t);return Ge(a)?a:o}}function ap(e,t,o){var a=Ur(e);function c(){for(var m=arguments.length,b=L(m),x=m,$=vr(c);x--;)b[x]=arguments[x];var P=m<3&&b[0]!==$&&b[m-1]!==$?[]:Rn(b,$);if(m-=P.length,m<o)return bu(e,t,Hi,c.placeholder,i,b,P,i,i,o-m);var W=this&&this!==ct&&this instanceof c?a:e;return Rt(W,this,b)}return c}function gu(e){return function(t,o,a){var c=Ze(t);if(!Ct(t)){var m=de(o,3);t=ut(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=Wt.prototype.thru;for(e&&t.reverse();a--;){var m=t[a];if(typeof m!="function")throw new Pt(f);if(c&&!b&&Ui(m)=="wrapper")var b=new Wt([],!0)}for(a=b?a:o;++a<o;){m=t[a];var x=Ui(m),$=x=="wrapper"?Rs(m):i;$&&Ms($[0])&&$[1]==(G|T|D|J)&&!$[4].length&&$[9]==1?b=b[Ui($[0])].apply(b,$[3]):b=m.length==1&&Ms(m)?b[x]():b.thru(m)}return function(){var P=arguments,W=P[0];if(b&&P.length==1&&ye(W))return b.plant(W).value();for(var N=0,re=o?t[N].apply(this,P):W;++N<o;)re=t[N].call(this,re);return re}})}function Hi(e,t,o,a,c,m,b,x,$,P){var W=t&G,N=t&R,re=t&M,ce=t&(T|z),he=t&me,Ae=re?i:Ur(e);function pe(){for(var Re=arguments.length,Ie=L(Re),Mt=Re;Mt--;)Ie[Mt]=arguments[Mt];if(ce)var yt=vr(pe),Ft=b1(Ie,yt);if(a&&(Ie=cu(Ie,a,c,ce)),m&&(Ie=fu(Ie,m,b,ce)),Re-=Ft,ce&&Re<P){var Je=Rn(Ie,yt);return bu(e,t,Hi,pe.placeholder,o,Ie,Je,x,$,P-Re)}var tn=N?o:this,wn=re?tn[e]:e;return Re=Ie.length,x?Ie=$p(Ie,x):he&&Re>1&&Ie.reverse(),W&&$<Re&&(Ie.length=$),this&&this!==ct&&this instanceof pe&&(wn=Ae||Ur(wn)),wn.apply(tn,Ie)}return pe}function vu(e,t){return function(o,a){return Fh(o,e,t(a),{})}}function Zi(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=It(o),a=It(a)):(o=nu(o),a=nu(a)),c=e(o,a)}return c}}function As(e){return mn(function(t){return t=Ue(t,Lt(de())),ke(function(o){var a=this;return e(t,function(c){return Rt(c,a,o)})})})}function Ni(e,t){t=t===i?" ":It(t);var o=t.length;if(o<2)return o?bs(t,e):t;var a=bs(t,Ri(e/ur(t)));return lr(t)?Fn(Qt(a),0,e).join(""):a.slice(0,e)}function lp(e,t,o,a){var c=t&R,m=Ur(e);function b(){for(var x=-1,$=arguments.length,P=-1,W=a.length,N=L(W+$),re=this&&this!==ct&&this instanceof b?m:e;++P<W;)N[P]=a[P];for(;$--;)N[P++]=arguments[++x];return Rt(re,c?o:this,N)}return b}function yu(e){return function(t,o,a){return a&&typeof a!="number"&&vt(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 Vi(e){return function(t,o){return typeof t=="string"&&typeof o=="string"||(t=Nt(t),o=Nt(o)),e(t,o)}}function bu(e,t,o,a,c,m,b,x,$,P){var W=t&T,N=W?b:i,re=W?i:b,ce=W?m:i,he=W?i:m;t|=W?D:q,t&=~(W?q:D),t&k||(t&=-4);var Ae=[e,t,c,ce,N,he,re,x,$,P],pe=o.apply(i,Ae);return Ms(e)&&Lu(pe,Ae),pe.placeholder=a,Iu(pe,e,t)}function $s(e){var t=rt[e];return function(o,a){if(o=Nt(o),a=a==null?0:dt(_e(a),292),a&&Il(o)){var c=(je(o)+"e").split("e"),m=t(c[0]+"e"+(+c[1]+a));return c=(je(m)+"e").split("e"),+(c[0]+"e"+(+c[1]-a))}return t(o)}}var up=dr&&1/wi(new dr([,-0]))[1]==te?function(e){return new dr(e)}:Ks;function wu(e){return function(t){var o=ht(t);return o==Ee?rs(t):o==gt?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 Pt(f);var P=a?a.length:0;if(P||(t&=-97,a=c=i),b=b===i?b:it(_e(b),0),x=x===i?x:_e(x),P-=c?c.length:0,t&q){var W=a,N=c;a=c=i}var re=$?i:Rs(e),ce=[e,t,o,a,c,W,N,m,b,x];if(re&&Sp(ce,re),e=ce[0],t=ce[1],o=ce[2],a=ce[3],c=ce[4],x=ce[9]=ce[9]===i?$?0:e.length:it(ce[9]-P,0),!x&&t&(T|z)&&(t&=-25),!t||t==R)var he=sp(e,t,o);else t==T||t==z?he=ap(e,t,x):(t==D||t==(R|D))&&!c.length?he=lp(e,t,o,a):he=Hi.apply(i,ce);var Ae=re?eu:Lu;return Iu(Ae(he,ce),e,t)}function xu(e,t,o,a){return e===i||en(e,fr[o])&&!Pe.call(a,o)?t:e}function _u(e,t,o,a,c,m){return Ge(e)&&Ge(t)&&(m.set(t,e),Bi(e,t,i,_u,m),m.delete(t)),e}function cp(e){return Kr(e)?i:e}function Cu(e,t,o,a,c,m){var b=o&C,x=e.length,$=t.length;if(x!=$&&!(b&&$>x))return!1;var P=m.get(e),W=m.get(t);if(P&&W)return P==t&&W==e;var N=-1,re=!0,ce=o&I?new qn:i;for(m.set(e,t),m.set(t,e);++N<x;){var he=e[N],Ae=t[N];if(a)var pe=b?a(Ae,he,N,t,e,m):a(he,Ae,N,e,t,m);if(pe!==i){if(pe)continue;re=!1;break}if(ce){if(!Yo(t,function(Re,Ie){if(!Fr(ce,Ie)&&(he===Re||c(he,Re,o,a,m)))return ce.push(Ie)})){re=!1;break}}else if(!(he===Ae||c(he,Ae,o,a,m))){re=!1;break}}return m.delete(e),m.delete(t),re}function fp(e,t,o,a,c,m,b){switch(o){case Yt:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case fn:return!(e.byteLength!=t.byteLength||!m(new Ai(e),new Ai(t)));case Q:case O:case tt:return en(+e,+t);case se:return e.name==t.name&&e.message==t.message;case nt:case lt:return e==t+"";case Ee:var x=rs;case gt:var $=a&C;if(x||(x=wi),e.size!=t.size&&!$)return!1;var P=b.get(e);if(P)return P==t;a|=I,b.set(e,t);var W=Cu(x(e),x(t),a,c,m,b);return b.delete(e),W;case oe:if(Wr)return Wr.call(e)==Wr.call(t)}return!1}function dp(e,t,o,a,c,m){var b=o&C,x=ks(e),$=x.length,P=ks(t),W=P.length;if($!=W&&!b)return!1;for(var N=$;N--;){var re=x[N];if(!(b?re in t:Pe.call(t,re)))return!1}var ce=m.get(e),he=m.get(t);if(ce&&he)return ce==t&&he==e;var Ae=!0;m.set(e,t),m.set(t,e);for(var pe=b;++N<$;){re=x[N];var Re=e[re],Ie=t[re];if(a)var Mt=b?a(Ie,Re,re,t,e,m):a(Re,Ie,re,e,t,m);if(!(Mt===i?Re===Ie||c(Re,Ie,o,a,m):Mt)){Ae=!1;break}pe||(pe=re=="constructor")}if(Ae&&!pe){var yt=e.constructor,Ft=t.constructor;yt!=Ft&&"constructor"in e&&"constructor"in t&&!(typeof yt=="function"&&yt instanceof yt&&typeof Ft=="function"&&Ft instanceof Ft)&&(Ae=!1)}return m.delete(e),m.delete(t),Ae}function mn(e){return zs(Tu(e,i,Bu),e+"")}function ks(e){return Zl(e,ut,Is)}function Ts(e){return Zl(e,St,Su)}var Rs=Ii?function(e){return Ii.get(e)}:Ks;function Ui(e){for(var t=e.name+"",o=hr[t],a=Pe.call(hr,t)?o.length:0;a--;){var c=o[a],m=c.func;if(m==null||m==e)return c.name}return t}function vr(e){var t=Pe.call(p,"placeholder")?p:e;return t.placeholder}function de(){var e=p.iteratee||qs;return e=e===qs?Ul:e,arguments.length?e(arguments[0],arguments[1]):e}function qi(e,t){var o=e.__data__;return wp(t)?o[typeof t=="string"?"string":"hash"]:o.map}function Ls(e){for(var t=ut(e),o=t.length;o--;){var a=t[o],c=e[a];t[o]=[a,c,$u(c)]}return t}function Xn(e,t){var o=C1(e,t);return Vl(o)?o:i}function hp(e){var t=Pe.call(e,Vn),o=e[Vn];try{e[Vn]=i;var a=!0}catch{}var c=Si.call(e);return a&&(t?e[Vn]=o:delete e[Vn]),c}var Is=os?function(e){return e==null?[]:(e=Ze(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=$i(e);return t}:Xs,ht=mt;(ss&&ht(new ss(new ArrayBuffer(1)))!=Yt||jr&&ht(new jr)!=Ee||as&&ht(as.resolve())!=Kt||dr&&ht(new dr)!=gt||Br&&ht(new Br)!=Ye)&&(ht=function(e){var t=mt(e),o=t==at?e.constructor:i,a=o?Yn(o):"";if(a)switch(a){case K1:return Yt;case X1:return Ee;case Y1:return Kt;case Q1:return gt;case J1:return Ye}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=dt(t,e+b);break;case"takeRight":e=it(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=an(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&&eo(c)&&vn(b,c)&&(ye(e)||Qn(e)))}function mp(e){var t=e.length,o=new e.constructor(t);return t&&typeof e[0]=="string"&&Pe.call(e,"index")&&(o.index=e.index,o.input=e.input),o}function Au(e){return typeof e.constructor=="function"&&!qr(e)?pr($i(e)):{}}function vp(e,t,o){var a=e.constructor;switch(t){case fn:return Es(e);case Q:case O:return new a(+e);case Yt:return ep(e,o);case Lo:case Io:case Oo:case Mo:case Fo:case zo:case jo:case Bo:case Po:return lu(e,o);case Ee:return new a;case tt:case lt:return new a(e);case nt:return tp(e);case gt:return new a;case oe: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
9
|
/* [wrapped with `+t+`] */
|
|
10
|
-
`)}function W1(e){return me(e)||Mn(e)||!!(gs&&e&&e[gs])}function sn(e,t){var o=typeof e;return t=t??q,!!t&&(o=="number"||o!="symbol"&&Yd.test(e))&&e>-1&&e%1==0&&e<t}function ht(e,t,o){if(!Ve(o))return!1;var s=typeof t;return(s=="number"?wt(o)&&sn(t,o.length):s=="string"&&t in o)?Ut(o[t],e):!1}function Mo(e,t){if(me(e))return!1;var o=typeof e;return o=="number"||o=="symbol"||o=="boolean"||e==null||Tt(e)?!0:Pd.test(e)||!Fd.test(e)||t!=null&&e in Be(t)}function D1(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Fo(e){var t=li(e),o=f[t];if(typeof o!="function"||!(t in Se.prototype))return!1;if(e===o)return!0;var s=Lo(o);return!!s&&e===s[0]}function Z1(e){return!!ds&&ds in e}var N1=jr?ln:Qo;function yr(e){var t=e&&e.constructor,o=typeof t=="function"&&t.prototype||Un;return e===o}function dl(e){return e===e&&!Ve(e)}function fl(e,t){return function(o){return o==null?!1:o[e]===t&&(t!==i||e in Be(o))}}function H1(e){var t=pi(e,function(s){return o.size===m&&o.clear(),s}),o=t.cache;return t}function V1(e,t){var o=e[1],s=t[1],c=o|s,p=c<(S|F|N),_=s==N&&o==A||s==N&&o==U&&e[7].length<=t[8]||s==(N|U)&&t[7].length<=t[8]&&o==A;if(!(p||_))return e;s&S&&(e[2]=t[2],c|=o&S?0:L);var E=t[3];if(E){var R=e[3];e[3]=R?Gs(R,E,t[4]):E,e[4]=R?mn(e[3],$):t[4]}return E=t[5],E&&(R=e[5],e[5]=R?Ks(R,E,t[6]):E,e[6]=R?mn(e[5],$):t[6]),E=t[7],E&&(e[7]=E),s&N&&(e[8]=e[8]==null?t[8]:ut(e[8],t[8])),e[9]==null&&(e[9]=t[9]),e[0]=t[0],e[1]=c,e}function U1(e){var t=[];if(e!=null)for(var o in Be(e))t.push(o);return t}function q1(e){return Wr.call(e)}function hl(e,t,o){return t=Je(t===i?e.length-1:t,0),function(){for(var s=arguments,c=-1,p=Je(s.length-t,0),_=O(p);++c<p;)_[c]=s[t+c];c=-1;for(var E=O(t+1);++c<t;)E[c]=s[c];return E[t]=o(_),$t(e,this,E)}}function pl(e,t){return t.length<2?e:Ln(e,zt(t,0,-1))}function G1(e,t){for(var o=e.length,s=ut(t.length,o),c=yt(e);s--;){var p=t[s];e[s]=sn(p,o)?c[p]:i}return e}function Po(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var gl=vl(js),wr=u0||function(e,t){return ot.setTimeout(e,t)},zo=vl(v1);function ml(e,t,o){var s=t+"";return zo(e,B1(s,K1(P1(s),o)))}function vl(e){var t=0,o=0;return function(){var s=h0(),c=M-(s-o);if(o=s,c>0){if(++t>=W)return arguments[0]}else t=0;return e.apply(i,arguments)}}function ci(e,t){var o=-1,s=e.length,c=s-1;for(t=t===i?s:t;++o<t;){var p=yo(o,c),_=e[p];e[p]=e[o],e[o]=_}return e.length=t,e}var bl=H1(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(zd,function(o,s,c,p){t.push(c?p.replace(Vd,"$1"):s||o)}),t});function Jt(e){if(typeof e=="string"||Tt(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function On(e){if(e!=null){try{return Br.call(e)}catch{}try{return e+""}catch{}}return""}function K1(e,t){return Ot(ke,function(o){var s="_."+o[0];t&o[1]&&!Mr(e,s)&&e.push(s)}),e.sort()}function yl(e){if(e instanceof Se)return e.clone();var t=new Ft(e.__wrapped__,e.__chain__);return t.__actions__=yt(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function X1(e,t,o){(o?ht(e,t,o):t===i)?t=1:t=Je(ye(t),0);var s=e==null?0:e.length;if(!s||t<1)return[];for(var c=0,p=0,_=O(Ur(s/t));c<s;)_[p++]=zt(e,c,c+=t);return _}function Y1(e){for(var t=-1,o=e==null?0:e.length,s=0,c=[];++t<o;){var p=e[t];p&&(c[s++]=p)}return c}function Q1(){var e=arguments.length;if(!e)return[];for(var t=O(e-1),o=arguments[0],s=e;s--;)t[s-1]=arguments[s];return gn(me(o)?yt(o):[o],at(t,1))}var J1=_e(function(e,t){return Ge(e)?pr(e,at(t,1,Ge,!0)):[]}),eh=_e(function(e,t){var o=jt(t);return Ge(o)&&(o=i),Ge(e)?pr(e,at(t,1,Ge,!0),ue(o,2)):[]}),th=_e(function(e,t){var o=jt(t);return Ge(o)&&(o=i),Ge(e)?pr(e,at(t,1,Ge,!0),i,o):[]});function nh(e,t,o){var s=e==null?0:e.length;return s?(t=o||t===i?1:ye(t),zt(e,t<0?0:t,s)):[]}function rh(e,t,o){var s=e==null?0:e.length;return s?(t=o||t===i?1:ye(t),t=s-t,zt(e,0,t<0?0:t)):[]}function ih(e,t){return e&&e.length?ni(e,ue(t,3),!0,!0):[]}function oh(e,t){return e&&e.length?ni(e,ue(t,3),!0):[]}function ah(e,t,o,s){var c=e==null?0:e.length;return c?(o&&typeof o!="number"&&ht(e,t,o)&&(o=0,s=c),Q0(e,t,o,s)):[]}function wl(e,t,o){var s=e==null?0:e.length;if(!s)return-1;var c=o==null?0:ye(o);return c<0&&(c=Je(s+c,0)),Fr(e,ue(t,3),c)}function xl(e,t,o){var s=e==null?0:e.length;if(!s)return-1;var c=s-1;return o!==i&&(c=ye(o),c=o<0?Je(s+c,0):ut(c,s-1)),Fr(e,ue(t,3),c,!0)}function _l(e){var t=e==null?0:e.length;return t?at(e,1):[]}function sh(e){var t=e==null?0:e.length;return t?at(e,G):[]}function lh(e,t){var o=e==null?0:e.length;return o?(t=t===i?1:ye(t),at(e,t)):[]}function uh(e){for(var t=-1,o=e==null?0:e.length,s={};++t<o;){var c=e[t];s[c[0]]=c[1]}return s}function Cl(e){return e&&e.length?e[0]:i}function ch(e,t,o){var s=e==null?0:e.length;if(!s)return-1;var c=o==null?0:ye(o);return c<0&&(c=Je(s+c,0)),Zn(e,t,c)}function dh(e){var t=e==null?0:e.length;return t?zt(e,0,-1):[]}var fh=_e(function(e){var t=He(e,So);return t.length&&t[0]===e[0]?po(t):[]}),hh=_e(function(e){var t=jt(e),o=He(e,So);return t===jt(o)?t=i:o.pop(),o.length&&o[0]===e[0]?po(o,ue(t,2)):[]}),ph=_e(function(e){var t=jt(e),o=He(e,So);return t=typeof t=="function"?t:i,t&&o.pop(),o.length&&o[0]===e[0]?po(o,i,t):[]});function gh(e,t){return e==null?"":d0.call(e,t)}function jt(e){var t=e==null?0:e.length;return t?e[t-1]:i}function mh(e,t,o){var s=e==null?0:e.length;if(!s)return-1;var c=s;return o!==i&&(c=ye(o),c=c<0?Je(s+c,0):ut(c,s-1)),t===t?Kf(e,t,c):Fr(e,rs,c,!0)}function vh(e,t){return e&&e.length?Ms(e,ye(t)):i}var bh=_e(Sl);function Sl(e,t){return e&&e.length&&t&&t.length?bo(e,t):e}function yh(e,t,o){return e&&e.length&&t&&t.length?bo(e,t,ue(o,2)):e}function wh(e,t,o){return e&&e.length&&t&&t.length?bo(e,t,i,o):e}var xh=an(function(e,t){var o=e==null?0:e.length,s=uo(e,t);return zs(e,He(t,function(c){return sn(c,o)?+c:c}).sort(qs)),s});function _h(e,t){var o=[];if(!(e&&e.length))return o;var s=-1,c=[],p=e.length;for(t=ue(t,3);++s<p;){var _=e[s];t(_,s,e)&&(o.push(_),c.push(s))}return zs(e,c),o}function jo(e){return e==null?e:g0.call(e)}function Ch(e,t,o){var s=e==null?0:e.length;return s?(o&&typeof o!="number"&&ht(e,t,o)?(t=0,o=s):(t=t==null?0:ye(t),o=o===i?s:ye(o)),zt(e,t,o)):[]}function Sh(e,t){return ti(e,t)}function $h(e,t,o){return xo(e,t,ue(o,2))}function Eh(e,t){var o=e==null?0:e.length;if(o){var s=ti(e,t);if(s<o&&Ut(e[s],t))return s}return-1}function Ah(e,t){return ti(e,t,!0)}function Th(e,t,o){return xo(e,t,ue(o,2),!0)}function kh(e,t){var o=e==null?0:e.length;if(o){var s=ti(e,t,!0)-1;if(Ut(e[s],t))return s}return-1}function Rh(e){return e&&e.length?Bs(e):[]}function Lh(e,t){return e&&e.length?Bs(e,ue(t,2)):[]}function Ih(e){var t=e==null?0:e.length;return t?zt(e,1,t):[]}function Oh(e,t,o){return e&&e.length?(t=o||t===i?1:ye(t),zt(e,0,t<0?0:t)):[]}function Mh(e,t,o){var s=e==null?0:e.length;return s?(t=o||t===i?1:ye(t),t=s-t,zt(e,t<0?0:t,s)):[]}function Fh(e,t){return e&&e.length?ni(e,ue(t,3),!1,!0):[]}function Ph(e,t){return e&&e.length?ni(e,ue(t,3)):[]}var zh=_e(function(e){return yn(at(e,1,Ge,!0))}),jh=_e(function(e){var t=jt(e);return Ge(t)&&(t=i),yn(at(e,1,Ge,!0),ue(t,2))}),Bh=_e(function(e){var t=jt(e);return t=typeof t=="function"?t:i,yn(at(e,1,Ge,!0),i,t)});function Wh(e){return e&&e.length?yn(e):[]}function Dh(e,t){return e&&e.length?yn(e,ue(t,2)):[]}function Zh(e,t){return t=typeof t=="function"?t:i,e&&e.length?yn(e,i,t):[]}function Bo(e){if(!(e&&e.length))return[];var t=0;return e=pn(e,function(o){if(Ge(o))return t=Je(o.length,t),!0}),to(t,function(o){return He(e,Qi(o))})}function $l(e,t){if(!(e&&e.length))return[];var o=Bo(e);return t==null?o:He(o,function(s){return $t(t,i,s)})}var Nh=_e(function(e,t){return Ge(e)?pr(e,t):[]}),Hh=_e(function(e){return Co(pn(e,Ge))}),Vh=_e(function(e){var t=jt(e);return Ge(t)&&(t=i),Co(pn(e,Ge),ue(t,2))}),Uh=_e(function(e){var t=jt(e);return t=typeof t=="function"?t:i,Co(pn(e,Ge),i,t)}),qh=_e(Bo);function Gh(e,t){return Ns(e||[],t||[],hr)}function Kh(e,t){return Ns(e||[],t||[],vr)}var Xh=_e(function(e){var t=e.length,o=t>1?e[t-1]:i;return o=typeof o=="function"?(e.pop(),o):i,$l(e,o)});function El(e){var t=f(e);return t.__chain__=!0,t}function Yh(e,t){return t(e),e}function di(e,t){return t(e)}var Qh=an(function(e){var t=e.length,o=t?e[0]:0,s=this.__wrapped__,c=function(p){return uo(p,e)};return t>1||this.__actions__.length||!(s instanceof Se)||!sn(o)?this.thru(c):(s=s.slice(o,+o+(t?1:0)),s.__actions__.push({func:di,args:[c],thisArg:i}),new Ft(s,this.__chain__).thru(function(p){return t&&!p.length&&p.push(i),p}))});function Jh(){return El(this)}function ep(){return new Ft(this.value(),this.__chain__)}function tp(){this.__values__===i&&(this.__values__=Wl(this.value()));var e=this.__index__>=this.__values__.length,t=e?i:this.__values__[this.__index__++];return{done:e,value:t}}function np(){return this}function rp(e){for(var t,o=this;o instanceof Xr;){var s=yl(o);s.__index__=0,s.__values__=i,t?c.__wrapped__=s:t=s;var c=s;o=o.__wrapped__}return c.__wrapped__=e,t}function ip(){var e=this.__wrapped__;if(e instanceof Se){var t=e;return this.__actions__.length&&(t=new Se(this)),t=t.reverse(),t.__actions__.push({func:di,args:[jo],thisArg:i}),new Ft(t,this.__chain__)}return this.thru(jo)}function op(){return Zs(this.__wrapped__,this.__actions__)}var ap=ri(function(e,t,o){Pe.call(e,o)?++e[o]:rn(e,o,1)});function sp(e,t,o){var s=me(e)?ts:Y0;return o&&ht(e,t,o)&&(t=i),s(e,ue(t,3))}function lp(e,t){var o=me(e)?pn:$s;return o(e,ue(t,3))}var up=Js(wl),cp=Js(xl);function dp(e,t){return at(fi(e,t),1)}function fp(e,t){return at(fi(e,t),G)}function hp(e,t,o){return o=o===i?1:ye(o),at(fi(e,t),o)}function Al(e,t){var o=me(e)?Ot:bn;return o(e,ue(t,3))}function Tl(e,t){var o=me(e)?If:Ss;return o(e,ue(t,3))}var pp=ri(function(e,t,o){Pe.call(e,o)?e[o].push(t):rn(e,o,[t])});function gp(e,t,o,s){e=wt(e)?e:er(e),o=o&&!s?ye(o):0;var c=e.length;return o<0&&(o=Je(c+o,0)),vi(e)?o<=c&&e.indexOf(t,o)>-1:!!c&&Zn(e,t,o)>-1}var mp=_e(function(e,t,o){var s=-1,c=typeof t=="function",p=wt(e)?O(e.length):[];return bn(e,function(_){p[++s]=c?$t(t,_,o):gr(_,t,o)}),p}),vp=ri(function(e,t,o){rn(e,o,t)});function fi(e,t){var o=me(e)?He:Ls;return o(e,ue(t,3))}function bp(e,t,o,s){return e==null?[]:(me(t)||(t=t==null?[]:[t]),o=s?i:o,me(o)||(o=o==null?[]:[o]),Fs(e,t,o))}var yp=ri(function(e,t,o){e[o?0:1].push(t)},function(){return[[],[]]});function wp(e,t,o){var s=me(e)?Xi:os,c=arguments.length<3;return s(e,ue(t,4),o,c,bn)}function xp(e,t,o){var s=me(e)?Of:os,c=arguments.length<3;return s(e,ue(t,4),o,c,Ss)}function _p(e,t){var o=me(e)?pn:$s;return o(e,gi(ue(t,3)))}function Cp(e){var t=me(e)?ws:g1;return t(e)}function Sp(e,t,o){(o?ht(e,t,o):t===i)?t=1:t=ye(t);var s=me(e)?U0:m1;return s(e,t)}function $p(e){var t=me(e)?q0:b1;return t(e)}function Ep(e){if(e==null)return 0;if(wt(e))return vi(e)?Hn(e):e.length;var t=ct(e);return t==$e||t==lt?e.size:mo(e).length}function Ap(e,t,o){var s=me(e)?Yi:y1;return o&&ht(e,t,o)&&(t=i),s(e,ue(t,3))}var Tp=_e(function(e,t){if(e==null)return[];var o=t.length;return o>1&&ht(e,t[0],t[1])?t=[]:o>2&&ht(t[0],t[1],t[2])&&(t=[t[0]]),Fs(e,at(t,1),[])}),hi=l0||function(){return ot.Date.now()};function kp(e,t){if(typeof t!="function")throw new Mt(d);return e=ye(e),function(){if(--e<1)return t.apply(this,arguments)}}function kl(e,t,o){return t=o?i:t,t=e&&t==null?e.length:t,on(e,N,i,i,i,i,t)}function Rl(e,t){var o;if(typeof t!="function")throw new Mt(d);return e=ye(e),function(){return--e>0&&(o=t.apply(this,arguments)),e<=1&&(t=i),o}}var Wo=_e(function(e,t,o){var s=S;if(o.length){var c=mn(o,Qn(Wo));s|=P}return on(e,s,t,o,c)}),Ll=_e(function(e,t,o){var s=S|F;if(o.length){var c=mn(o,Qn(Ll));s|=P}return on(t,s,e,o,c)});function Il(e,t,o){t=o?i:t;var s=on(e,A,i,i,i,i,i,t);return s.placeholder=Il.placeholder,s}function Ol(e,t,o){t=o?i:t;var s=on(e,I,i,i,i,i,i,t);return s.placeholder=Ol.placeholder,s}function Ml(e,t,o){var s,c,p,_,E,R,j=0,B=!1,H=!1,Q=!0;if(typeof e!="function")throw new Mt(d);t=Bt(t)||0,Ve(o)&&(B=!!o.leading,H="maxWait"in o,p=H?Je(Bt(o.maxWait)||0,t):p,Q="trailing"in o?!!o.trailing:Q);function oe(Ke){var qt=s,cn=c;return s=c=i,j=Ke,_=e.apply(cn,qt),_}function ce(Ke){return j=Ke,E=wr(Ce,t),B?oe(Ke):_}function we(Ke){var qt=Ke-R,cn=Ke-j,Jl=t-qt;return H?ut(Jl,p-cn):Jl}function de(Ke){var qt=Ke-R,cn=Ke-j;return R===i||qt>=t||qt<0||H&&cn>=p}function Ce(){var Ke=hi();if(de(Ke))return Ee(Ke);E=wr(Ce,we(Ke))}function Ee(Ke){return E=i,Q&&s?oe(Ke):(s=c=i,_)}function kt(){E!==i&&Hs(E),j=0,s=R=c=E=i}function pt(){return E===i?_:Ee(hi())}function Rt(){var Ke=hi(),qt=de(Ke);if(s=arguments,c=this,R=Ke,qt){if(E===i)return ce(R);if(H)return Hs(E),E=wr(Ce,t),oe(R)}return E===i&&(E=wr(Ce,t)),_}return Rt.cancel=kt,Rt.flush=pt,Rt}var Rp=_e(function(e,t){return Cs(e,1,t)}),Lp=_e(function(e,t,o){return Cs(e,Bt(t)||0,o)});function Ip(e){return on(e,ie)}function pi(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new Mt(d);var o=function(){var s=arguments,c=t?t.apply(this,s):s[0],p=o.cache;if(p.has(c))return p.get(c);var _=e.apply(this,s);return o.cache=p.set(c,_)||p,_};return o.cache=new(pi.Cache||nn),o}pi.Cache=nn;function gi(e){if(typeof e!="function")throw new Mt(d);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 Op(e){return Rl(2,e)}var Mp=w1(function(e,t){t=t.length==1&&me(t[0])?He(t[0],Et(ue())):He(at(t,1),Et(ue()));var o=t.length;return _e(function(s){for(var c=-1,p=ut(s.length,o);++c<p;)s[c]=t[c].call(this,s[c]);return $t(e,this,s)})}),Do=_e(function(e,t){var o=mn(t,Qn(Do));return on(e,P,i,t,o)}),Fl=_e(function(e,t){var o=mn(t,Qn(Fl));return on(e,D,i,t,o)}),Fp=an(function(e,t){return on(e,U,i,i,i,t)});function Pp(e,t){if(typeof e!="function")throw new Mt(d);return t=t===i?t:ye(t),_e(e,t)}function zp(e,t){if(typeof e!="function")throw new Mt(d);return t=t==null?0:Je(ye(t),0),_e(function(o){var s=o[t],c=xn(o,0,t);return s&&gn(c,s),$t(e,this,c)})}function jp(e,t,o){var s=!0,c=!0;if(typeof e!="function")throw new Mt(d);return Ve(o)&&(s="leading"in o?!!o.leading:s,c="trailing"in o?!!o.trailing:c),Ml(e,t,{leading:s,maxWait:t,trailing:c})}function Bp(e){return kl(e,1)}function Wp(e,t){return Do($o(t),e)}function Dp(){if(!arguments.length)return[];var e=arguments[0];return me(e)?e:[e]}function Zp(e){return Pt(e,x)}function Np(e,t){return t=typeof t=="function"?t:i,Pt(e,x,t)}function Hp(e){return Pt(e,T|x)}function Vp(e,t){return t=typeof t=="function"?t:i,Pt(e,T|x,t)}function Up(e,t){return t==null||_s(e,t,rt(t))}function Ut(e,t){return e===t||e!==e&&t!==t}var qp=si(ho),Gp=si(function(e,t){return e>=t}),Mn=Ts(function(){return arguments}())?Ts:function(e){return Ue(e)&&Pe.call(e,"callee")&&!ps.call(e,"callee")},me=O.isArray,Kp=Ka?Et(Ka):r1;function wt(e){return e!=null&&mi(e.length)&&!ln(e)}function Ge(e){return Ue(e)&&wt(e)}function Xp(e){return e===!0||e===!1||Ue(e)&&ft(e)==nt}var _n=c0||Qo,Yp=Xa?Et(Xa):i1;function Qp(e){return Ue(e)&&e.nodeType===1&&!xr(e)}function Jp(e){if(e==null)return!0;if(wt(e)&&(me(e)||typeof e=="string"||typeof e.splice=="function"||_n(e)||Jn(e)||Mn(e)))return!e.length;var t=ct(e);if(t==$e||t==lt)return!e.size;if(yr(e))return!mo(e).length;for(var o in e)if(Pe.call(e,o))return!1;return!0}function eg(e,t){return mr(e,t)}function tg(e,t,o){o=typeof o=="function"?o:i;var s=o?o(e,t):i;return s===i?mr(e,t,i,o):!!s}function Zo(e){if(!Ue(e))return!1;var t=ft(e);return t==Re||t==it||typeof e.message=="string"&&typeof e.name=="string"&&!xr(e)}function ng(e){return typeof e=="number"&&ms(e)}function ln(e){if(!Ve(e))return!1;var t=ft(e);return t==qe||t==Le||t==Xe||t==Kt}function Pl(e){return typeof e=="number"&&e==ye(e)}function mi(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=q}function Ve(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function Ue(e){return e!=null&&typeof e=="object"}var zl=Ya?Et(Ya):a1;function rg(e,t){return e===t||go(e,t,Io(t))}function ig(e,t,o){return o=typeof o=="function"?o:i,go(e,t,Io(t),o)}function og(e){return jl(e)&&e!=+e}function ag(e){if(N1(e))throw new ge(u);return ks(e)}function sg(e){return e===null}function lg(e){return e==null}function jl(e){return typeof e=="number"||Ue(e)&&ft(e)==je}function xr(e){if(!Ue(e)||ft(e)!=st)return!1;var t=Nr(e);if(t===null)return!0;var o=Pe.call(t,"constructor")&&t.constructor;return typeof o=="function"&&o instanceof o&&Br.call(o)==i0}var No=Qa?Et(Qa):s1;function ug(e){return Pl(e)&&e>=-9007199254740991&&e<=q}var Bl=Ja?Et(Ja):l1;function vi(e){return typeof e=="string"||!me(e)&&Ue(e)&&ft(e)==Xt}function Tt(e){return typeof e=="symbol"||Ue(e)&&ft(e)==J}var Jn=es?Et(es):u1;function cg(e){return e===i}function dg(e){return Ue(e)&&ct(e)==De}function fg(e){return Ue(e)&&ft(e)==pe}var hg=si(vo),pg=si(function(e,t){return e<=t});function Wl(e){if(!e)return[];if(wt(e))return vi(e)?Ht(e):yt(e);if(lr&&e[lr])return Uf(e[lr]());var t=ct(e),o=t==$e?ro:t==lt?Pr:er;return o(e)}function un(e){if(!e)return e===0?e:0;if(e=Bt(e),e===G||e===-1/0){var t=e<0?-1:1;return t*se}return e===e?e:0}function ye(e){var t=un(e),o=t%1;return t===t?o?t-o:t:0}function Dl(e){return e?Rn(ye(e),0,X):0}function Bt(e){if(typeof e=="number")return e;if(Tt(e))return Y;if(Ve(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Ve(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=as(e);var o=Gd.test(e);return o||Xd.test(e)?kf(e.slice(2),o?2:8):qd.test(e)?Y:+e}function Zl(e){return Qt(e,xt(e))}function gg(e){return e?Rn(ye(e),-9007199254740991,q):e===0?e:0}function Fe(e){return e==null?"":At(e)}var mg=Xn(function(e,t){if(yr(t)||wt(t)){Qt(t,rt(t),e);return}for(var o in t)Pe.call(t,o)&&hr(e,o,t[o])}),Nl=Xn(function(e,t){Qt(t,xt(t),e)}),bi=Xn(function(e,t,o,s){Qt(t,xt(t),e,s)}),vg=Xn(function(e,t,o,s){Qt(t,rt(t),e,s)}),bg=an(uo);function yg(e,t){var o=Kn(e);return t==null?o:xs(o,t)}var wg=_e(function(e,t){e=Be(e);var o=-1,s=t.length,c=s>2?t[2]:i;for(c&&ht(t[0],t[1],c)&&(s=1);++o<s;)for(var p=t[o],_=xt(p),E=-1,R=_.length;++E<R;){var j=_[E],B=e[j];(B===i||Ut(B,Un[j])&&!Pe.call(e,j))&&(e[j]=p[j])}return e}),xg=_e(function(e){return e.push(i,al),$t(Hl,i,e)});function _g(e,t){return ns(e,ue(t,3),Yt)}function Cg(e,t){return ns(e,ue(t,3),fo)}function Sg(e,t){return e==null?e:co(e,ue(t,3),xt)}function $g(e,t){return e==null?e:Es(e,ue(t,3),xt)}function Eg(e,t){return e&&Yt(e,ue(t,3))}function Ag(e,t){return e&&fo(e,ue(t,3))}function Tg(e){return e==null?[]:Jr(e,rt(e))}function kg(e){return e==null?[]:Jr(e,xt(e))}function Ho(e,t,o){var s=e==null?i:Ln(e,t);return s===i?o:s}function Rg(e,t){return e!=null&&ul(e,t,J0)}function Vo(e,t){return e!=null&&ul(e,t,e1)}var Lg=tl(function(e,t,o){t!=null&&typeof t.toString!="function"&&(t=Wr.call(t)),e[t]=o},qo(_t)),Ig=tl(function(e,t,o){t!=null&&typeof t.toString!="function"&&(t=Wr.call(t)),Pe.call(e,t)?e[t].push(o):e[t]=[o]},ue),Og=_e(gr);function rt(e){return wt(e)?ys(e):mo(e)}function xt(e){return wt(e)?ys(e,!0):c1(e)}function Mg(e,t){var o={};return t=ue(t,3),Yt(e,function(s,c,p){rn(o,t(s,c,p),s)}),o}function Fg(e,t){var o={};return t=ue(t,3),Yt(e,function(s,c,p){rn(o,c,t(s,c,p))}),o}var Pg=Xn(function(e,t,o){ei(e,t,o)}),Hl=Xn(function(e,t,o,s){ei(e,t,o,s)}),zg=an(function(e,t){var o={};if(e==null)return o;var s=!1;t=He(t,function(p){return p=wn(p,e),s||(s=p.length>1),p}),Qt(e,Ro(e),o),s&&(o=Pt(o,T|b|x,L1));for(var c=t.length;c--;)_o(o,t[c]);return o});function jg(e,t){return Vl(e,gi(ue(t)))}var Bg=an(function(e,t){return e==null?{}:f1(e,t)});function Vl(e,t){if(e==null)return{};var o=He(Ro(e),function(s){return[s]});return t=ue(t),Ps(e,o,function(s,c){return t(s,c[0])})}function Wg(e,t,o){t=wn(t,e);var s=-1,c=t.length;for(c||(c=1,e=i);++s<c;){var p=e==null?i:e[Jt(t[s])];p===i&&(s=c,p=o),e=ln(p)?p.call(e):p}return e}function Dg(e,t,o){return e==null?e:vr(e,t,o)}function Zg(e,t,o,s){return s=typeof s=="function"?s:i,e==null?e:vr(e,t,o,s)}var Ul=il(rt),ql=il(xt);function Ng(e,t,o){var s=me(e),c=s||_n(e)||Jn(e);if(t=ue(t,4),o==null){var p=e&&e.constructor;c?o=s?new p:[]:Ve(e)?o=ln(p)?Kn(Nr(e)):{}:o={}}return(c?Ot:Yt)(e,function(_,E,R){return t(o,_,E,R)}),o}function Hg(e,t){return e==null?!0:_o(e,t)}function Vg(e,t,o){return e==null?e:Ds(e,t,$o(o))}function Ug(e,t,o,s){return s=typeof s=="function"?s:i,e==null?e:Ds(e,t,$o(o),s)}function er(e){return e==null?[]:no(e,rt(e))}function qg(e){return e==null?[]:no(e,xt(e))}function Gg(e,t,o){return o===i&&(o=t,t=i),o!==i&&(o=Bt(o),o=o===o?o:0),t!==i&&(t=Bt(t),t=t===t?t:0),Rn(Bt(e),t,o)}function Kg(e,t,o){return t=un(t),o===i?(o=t,t=0):o=un(o),e=Bt(e),t1(e,t,o)}function Xg(e,t,o){if(o&&typeof o!="boolean"&&ht(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=un(e),t===i?(t=e,e=0):t=un(t)),e>t){var s=e;e=t,t=s}if(o||e%1||t%1){var c=vs();return ut(e+c*(t-e+Tf("1e-"+((c+"").length-1))),t)}return yo(e,t)}var Yg=Yn(function(e,t,o){return t=t.toLowerCase(),e+(o?Gl(t):t)});function Gl(e){return Uo(Fe(e).toLowerCase())}function Kl(e){return e=Fe(e),e&&e.replace(Qd,Df).replace(bf,"")}function Qg(e,t,o){e=Fe(e),t=At(t);var s=e.length;o=o===i?s:Rn(ye(o),0,s);var c=o;return o-=t.length,o>=0&&e.slice(o,c)==t}function Jg(e){return e=Fe(e),e&&Id.test(e)?e.replace(Ea,Zf):e}function e2(e){return e=Fe(e),e&&jd.test(e)?e.replace(Wi,"\\$&"):e}var t2=Yn(function(e,t,o){return e+(o?"-":"")+t.toLowerCase()}),n2=Yn(function(e,t,o){return e+(o?" ":"")+t.toLowerCase()}),r2=Qs("toLowerCase");function i2(e,t,o){e=Fe(e),t=ye(t);var s=t?Hn(e):0;if(!t||s>=t)return e;var c=(t-s)/2;return ai(qr(c),o)+e+ai(Ur(c),o)}function o2(e,t,o){e=Fe(e),t=ye(t);var s=t?Hn(e):0;return t&&s<t?e+ai(t-s,o):e}function a2(e,t,o){e=Fe(e),t=ye(t);var s=t?Hn(e):0;return t&&s<t?ai(t-s,o)+e:e}function s2(e,t,o){return o||t==null?t=0:t&&(t=+t),p0(Fe(e).replace(Di,""),t||0)}function l2(e,t,o){return(o?ht(e,t,o):t===i)?t=1:t=ye(t),wo(Fe(e),t)}function u2(){var e=arguments,t=Fe(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var c2=Yn(function(e,t,o){return e+(o?"_":"")+t.toLowerCase()});function d2(e,t,o){return o&&typeof o!="number"&&ht(e,t,o)&&(t=o=i),o=o===i?X:o>>>0,o?(e=Fe(e),e&&(typeof t=="string"||t!=null&&!No(t))&&(t=At(t),!t&&Nn(e))?xn(Ht(e),0,o):e.split(t,o)):[]}var f2=Yn(function(e,t,o){return e+(o?" ":"")+Uo(t)});function h2(e,t,o){return e=Fe(e),o=o==null?0:Rn(ye(o),0,e.length),t=At(t),e.slice(o,o+t.length)==t}function p2(e,t,o){var s=f.templateSettings;o&&ht(e,t,o)&&(t=i),e=Fe(e),t=bi({},t,s,ol);var c=bi({},t.imports,s.imports,ol),p=rt(c),_=no(c,p),E,R,j=0,B=t.interpolate||Lr,H="__p += '",Q=io((t.escape||Lr).source+"|"+B.source+"|"+(B===Aa?Ud:Lr).source+"|"+(t.evaluate||Lr).source+"|$","g"),oe="//# sourceURL="+(Pe.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Cf+"]")+`
|
|
11
|
-
`;e.replace(
|
|
12
|
-
__e(`+
|
|
13
|
-
'`),
|
|
14
|
-
`+
|
|
15
|
-
__p += '`),
|
|
16
|
-
((__t = (`+
|
|
17
|
-
'`),
|
|
18
|
-
`;var
|
|
19
|
-
`+
|
|
10
|
+
`)}function bp(e){return ye(e)||Qn(e)||!!(Ll&&e&&e[Ll])}function vn(e,t){var o=typeof e;return t=t??ne,!!t&&(o=="number"||o!="symbol"&&L0.test(e))&&e>-1&&e%1==0&&e<t}function vt(e,t,o){if(!Ge(o))return!1;var a=typeof t;return(a=="number"?Ct(o)&&vn(t,o.length):a=="string"&&t in o)?en(o[t],e):!1}function Os(e,t){if(ye(e))return!1;var o=typeof e;return o=="number"||o=="symbol"||o=="boolean"||e==null||Ot(e)?!0:m0.test(e)||!g0.test(e)||t!=null&&e in Ze(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=Ui(e),o=p[t];if(typeof o!="function"||!(t in Le.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=_i?yn:Ys;function qr(e){var t=e&&e.constructor,o=typeof t=="function"&&t.prototype||fr;return e===o}function $u(e){return e===e&&!Ge(e)}function ku(e,t){return function(o){return o==null?!1:o[e]===t&&(t!==i||e in Ze(o))}}function Cp(e){var t=Qi(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|G),b=a==G&&o==T||a==G&&o==J&&e[7].length<=t[8]||a==(G|J)&&t[7].length<=t[8]&&o==T;if(!(m||b))return e;a&R&&(e[2]=t[2],c|=o&R?0:k);var x=t[3];if(x){var $=e[3];e[3]=$?cu($,x,t[4]):x,e[4]=$?Rn(e[3],_):t[4]}return x=t[5],x&&($=e[5],e[5]=$?fu($,x,t[6]):x,e[6]=$?Rn(e[5],_):t[6]),x=t[7],x&&(e[7]=x),a&G&&(e[8]=e[8]==null?t[8]:dt(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 Ze(e))t.push(o);return t}function Ap(e){return Si.call(e)}function Tu(e,t,o){return t=it(t===i?e.length-1:t,0),function(){for(var a=arguments,c=-1,m=it(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),Rt(e,this,x)}}function Ru(e,t){return t.length<2?e:Kn(e,Ht(t,0,-1))}function $p(e,t){for(var o=e.length,a=dt(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),Gr=H1||function(e,t){return ct.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=j-(a-o);if(o=a,c>0){if(++t>=H)return arguments[0]}else t=0;return e.apply(i,arguments)}}function Gi(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 an(e){if(typeof e=="string"||Ot(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function Yn(e){if(e!=null){try{return Ci.call(e)}catch{}try{return e+""}catch{}}return""}function kp(e,t){return Bt(Be,function(o){var a="_."+o[0];t&o[1]&&!yi(e,a)&&e.push(a)}),e.sort()}function Fu(e){if(e instanceof Le)return e.clone();var t=new Wt(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?vt(e,t,o):t===i)?t=1:t=it(_e(t),0);var a=e==null?0:e.length;if(!a||t<1)return[];for(var c=0,m=0,b=L(Ri(a/t));c<a;)b[m++]=Ht(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(ye(o)?_t(o):[o],ft(t,1))}var Ip=ke(function(e,t){return Qe(e)?Hr(e,ft(t,1,Qe,!0)):[]}),Op=ke(function(e,t){var o=Zt(t);return Qe(o)&&(o=i),Qe(e)?Hr(e,ft(t,1,Qe,!0),de(o,2)):[]}),Mp=ke(function(e,t){var o=Zt(t);return Qe(o)&&(o=i),Qe(e)?Hr(e,ft(t,1,Qe,!0),i,o):[]});function Fp(e,t,o){var a=e==null?0:e.length;return a?(t=o||t===i?1:_e(t),Ht(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:_e(t),t=a-t,Ht(e,0,t<0?0:t)):[]}function jp(e,t){return e&&e.length?Wi(e,de(t,3),!0,!0):[]}function Bp(e,t){return e&&e.length?Wi(e,de(t,3),!0):[]}function Pp(e,t,o,a){var c=e==null?0:e.length;return c?(o&&typeof o!="number"&&vt(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:_e(o);return c<0&&(c=it(a+c,0)),bi(e,de(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=_e(o),c=o<0?it(a+c,0):dt(c,a-1)),bi(e,de(t,3),c,!0)}function Bu(e){var t=e==null?0:e.length;return t?ft(e,1):[]}function Wp(e){var t=e==null?0:e.length;return t?ft(e,te):[]}function Dp(e,t){var o=e==null?0:e.length;return o?(t=t===i?1:_e(t),ft(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:_e(o);return c<0&&(c=it(a+c,0)),ar(e,t,c)}function Np(e){var t=e==null?0:e.length;return t?Ht(e,0,-1):[]}var Vp=ke(function(e){var t=Ue(e,Cs);return t.length&&t[0]===e[0]?hs(t):[]}),Up=ke(function(e){var t=Zt(e),o=Ue(e,Cs);return t===Zt(o)?t=i:o.pop(),o.length&&o[0]===e[0]?hs(o,de(t,2)):[]}),qp=ke(function(e){var t=Zt(e),o=Ue(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 Zt(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=_e(o),c=c<0?it(a+c,0):dt(c,a-1)),t===t?k1(e,t,c):bi(e,bl,c,!0)}function Xp(e,t){return e&&e.length?Xl(e,_e(t)):i}var Yp=ke(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,de(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,Ue(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=de(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"&&vt(e,t,o)?(t=0,o=a):(t=t==null?0:_e(t),o=o===i?a:_e(o)),Ht(e,t,o)):[]}function rg(e,t){return Pi(e,t)}function ig(e,t,o){return ws(e,t,de(o,2))}function og(e,t){var o=e==null?0:e.length;if(o){var a=Pi(e,t);if(a<o&&en(e[a],t))return a}return-1}function sg(e,t){return Pi(e,t,!0)}function ag(e,t,o){return ws(e,t,de(o,2),!0)}function lg(e,t){var o=e==null?0:e.length;if(o){var a=Pi(e,t,!0)-1;if(en(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,de(t,2)):[]}function fg(e){var t=e==null?0:e.length;return t?Ht(e,1,t):[]}function dg(e,t,o){return e&&e.length?(t=o||t===i?1:_e(t),Ht(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:_e(t),t=a-t,Ht(e,t<0?0:t,a)):[]}function pg(e,t){return e&&e.length?Wi(e,de(t,3),!1,!0):[]}function gg(e,t){return e&&e.length?Wi(e,de(t,3)):[]}var mg=ke(function(e){return On(ft(e,1,Qe,!0))}),vg=ke(function(e){var t=Zt(e);return Qe(t)&&(t=i),On(ft(e,1,Qe,!0),de(t,2))}),yg=ke(function(e){var t=Zt(e);return t=typeof t=="function"?t:i,On(ft(e,1,Qe,!0),i,t)});function bg(e){return e&&e.length?On(e):[]}function wg(e,t){return e&&e.length?On(e,de(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(Qe(o))return t=it(o.length,t),!0}),ts(t,function(o){return Ue(e,Qo(o))})}function Du(e,t){if(!(e&&e.length))return[];var o=Bs(e);return t==null?o:Ue(o,function(a){return Rt(t,i,a)})}var _g=ke(function(e,t){return Qe(e)?Hr(e,t):[]}),Cg=ke(function(e){return _s(kn(e,Qe))}),Sg=ke(function(e){var t=Zt(e);return Qe(t)&&(t=i),_s(kn(e,Qe),de(t,2))}),Eg=ke(function(e){var t=Zt(e);return t=typeof t=="function"?t:i,_s(kn(e,Qe),i,t)}),Ag=ke(Bs);function $g(e,t){return ou(e||[],t||[],Dr)}function kg(e,t){return ou(e||[],t||[],Vr)}var Tg=ke(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 Ki(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 Le)||!vn(o)?this.thru(c):(a=a.slice(o,+o+(t?1:0)),a.__actions__.push({func:Ki,args:[c],thisArg:i}),new Wt(a,this.__chain__).thru(function(m){return t&&!m.length&&m.push(i),m}))});function Ig(){return Hu(this)}function Og(){return new Wt(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 Mi;){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 Le){var t=e;return this.__actions__.length&&(t=new Le(this)),t=t.reverse(),t.__actions__.push({func:Ki,args:[js],thisArg:i}),new Wt(t,this.__chain__)}return this.thru(js)}function Bg(){return iu(this.__wrapped__,this.__actions__)}var Pg=Di(function(e,t,o){Pe.call(e,o)?++e[o]:pn(e,o,1)});function Wg(e,t,o){var a=ye(e)?vl:Rh;return o&&vt(e,t,o)&&(t=i),a(e,de(t,3))}function Dg(e,t){var o=ye(e)?kn:Dl;return o(e,de(t,3))}var Hg=gu(zu),Zg=gu(ju);function Ng(e,t){return ft(Xi(e,t),1)}function Vg(e,t){return ft(Xi(e,t),te)}function Ug(e,t,o){return o=o===i?1:_e(o),ft(Xi(e,t),o)}function Zu(e,t){var o=ye(e)?Bt:In;return o(e,de(t,3))}function Nu(e,t){var o=ye(e)?f1:Wl;return o(e,de(t,3))}var qg=Di(function(e,t,o){Pe.call(e,o)?e[o].push(t):pn(e,o,[t])});function Gg(e,t,o,a){e=Ct(e)?e:br(e),o=o&&!a?_e(o):0;var c=e.length;return o<0&&(o=it(c+o,0)),to(e)?o<=c&&e.indexOf(t,o)>-1:!!c&&ar(e,t,o)>-1}var Kg=ke(function(e,t,o){var a=-1,c=typeof t=="function",m=Ct(e)?L(e.length):[];return In(e,function(b){m[++a]=c?Rt(t,b,o):Zr(b,t,o)}),m}),Xg=Di(function(e,t,o){pn(e,o,t)});function Xi(e,t){var o=ye(e)?Ue:ql;return o(e,de(t,3))}function Yg(e,t,o,a){return e==null?[]:(ye(t)||(t=t==null?[]:[t]),o=a?i:o,ye(o)||(o=o==null?[]:[o]),Yl(e,t,o))}var Qg=Di(function(e,t,o){e[o?0:1].push(t)},function(){return[[],[]]});function Jg(e,t,o){var a=ye(e)?Xo:xl,c=arguments.length<3;return a(e,de(t,4),o,c,In)}function em(e,t,o){var a=ye(e)?d1:xl,c=arguments.length<3;return a(e,de(t,4),o,c,Wl)}function tm(e,t){var o=ye(e)?kn:Dl;return o(e,Ji(de(t,3)))}function nm(e){var t=ye(e)?zl:Gh;return t(e)}function rm(e,t,o){(o?vt(e,t,o):t===i)?t=1:t=_e(t);var a=ye(e)?Eh:Kh;return a(e,t)}function im(e){var t=ye(e)?Ah:Yh;return t(e)}function om(e){if(e==null)return 0;if(Ct(e))return to(e)?ur(e):e.length;var t=ht(e);return t==Ee||t==gt?e.size:gs(e).length}function sm(e,t,o){var a=ye(e)?Yo:Qh;return o&&vt(e,t,o)&&(t=i),a(e,de(t,3))}var am=ke(function(e,t){if(e==null)return[];var o=t.length;return o>1&&vt(e,t[0],t[1])?t=[]:o>2&&vt(t[0],t[1],t[2])&&(t=[t[0]]),Yl(e,ft(t,1),[])}),Yi=D1||function(){return ct.Date.now()};function lm(e,t){if(typeof t!="function")throw new Pt(f);return e=_e(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,G,i,i,i,i,t)}function Uu(e,t){var o;if(typeof t!="function")throw new Pt(f);return e=_e(e),function(){return--e>0&&(o=t.apply(this,arguments)),e<=1&&(t=i),o}}var Ps=ke(function(e,t,o){var a=R;if(o.length){var c=Rn(o,vr(Ps));a|=D}return gn(e,a,t,o,c)}),qu=ke(function(e,t,o){var a=R|M;if(o.length){var c=Rn(o,vr(qu));a|=D}return gn(t,a,e,o,c)});function Gu(e,t,o){t=o?i:t;var a=gn(e,T,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,z,i,i,i,i,i,t);return a.placeholder=Ku.placeholder,a}function Xu(e,t,o){var a,c,m,b,x,$,P=0,W=!1,N=!1,re=!0;if(typeof e!="function")throw new Pt(f);t=Nt(t)||0,Ge(o)&&(W=!!o.leading,N="maxWait"in o,m=N?it(Nt(o.maxWait)||0,t):m,re="trailing"in o?!!o.trailing:re);function ce(Je){var tn=a,wn=c;return a=c=i,P=Je,b=e.apply(wn,tn),b}function he(Je){return P=Je,x=Gr(Re,t),W?ce(Je):b}function Ae(Je){var tn=Je-$,wn=Je-P,gc=t-tn;return N?dt(gc,m-wn):gc}function pe(Je){var tn=Je-$,wn=Je-P;return $===i||tn>=t||tn<0||N&&wn>=m}function Re(){var Je=Yi();if(pe(Je))return Ie(Je);x=Gr(Re,Ae(Je))}function Ie(Je){return x=i,re&&a?ce(Je):(a=c=i,b)}function Mt(){x!==i&&su(x),P=0,a=$=c=x=i}function yt(){return x===i?b:Ie(Yi())}function Ft(){var Je=Yi(),tn=pe(Je);if(a=arguments,c=this,$=Je,tn){if(x===i)return he($);if(N)return su(x),x=Gr(Re,t),ce($)}return x===i&&(x=Gr(Re,t)),b}return Ft.cancel=Mt,Ft.flush=yt,Ft}var um=ke(function(e,t){return Pl(e,1,t)}),cm=ke(function(e,t,o){return Pl(e,Nt(t)||0,o)});function fm(e){return gn(e,me)}function Qi(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new Pt(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(Qi.Cache||hn),o}Qi.Cache=hn;function Ji(e){if(typeof e!="function")throw new Pt(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&&ye(t[0])?Ue(t[0],Lt(de())):Ue(ft(t,1),Lt(de()));var o=t.length;return ke(function(a){for(var c=-1,m=dt(a.length,o);++c<m;)a[c]=t[c].call(this,a[c]);return Rt(e,this,a)})}),Ws=ke(function(e,t){var o=Rn(t,vr(Ws));return gn(e,D,i,t,o)}),Yu=ke(function(e,t){var o=Rn(t,vr(Yu));return gn(e,q,i,t,o)}),pm=mn(function(e,t){return gn(e,J,i,i,i,t)});function gm(e,t){if(typeof e!="function")throw new Pt(f);return t=t===i?t:_e(t),ke(e,t)}function mm(e,t){if(typeof e!="function")throw new Pt(f);return t=t==null?0:it(_e(t),0),ke(function(o){var a=o[t],c=Fn(o,0,t);return a&&Tn(c,a),Rt(e,this,c)})}function vm(e,t,o){var a=!0,c=!0;if(typeof e!="function")throw new Pt(f);return Ge(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 ye(e)?e:[e]}function xm(e){return Dt(e,w)}function _m(e,t){return t=typeof t=="function"?t:i,Dt(e,w,t)}function Cm(e){return Dt(e,S|w)}function Sm(e,t){return t=typeof t=="function"?t:i,Dt(e,S|w,t)}function Em(e,t){return t==null||Bl(e,t,ut(t))}function en(e,t){return e===t||e!==e&&t!==t}var Am=Vi(ds),$m=Vi(function(e,t){return e>=t}),Qn=Nl(function(){return arguments}())?Nl:function(e){return Ke(e)&&Pe.call(e,"callee")&&!Rl.call(e,"callee")},ye=L.isArray,km=fl?Lt(fl):zh;function Ct(e){return e!=null&&eo(e.length)&&!yn(e)}function Qe(e){return Ke(e)&&Ct(e)}function Tm(e){return e===!0||e===!1||Ke(e)&&mt(e)==Q}var zn=Z1||Ys,Rm=dl?Lt(dl):jh;function Lm(e){return Ke(e)&&e.nodeType===1&&!Kr(e)}function Im(e){if(e==null)return!0;if(Ct(e)&&(ye(e)||typeof e=="string"||typeof e.splice=="function"||zn(e)||yr(e)||Qn(e)))return!e.length;var t=ht(e);if(t==Ee||t==gt)return!e.size;if(qr(e))return!gs(e).length;for(var o in e)if(Pe.call(e,o))return!1;return!0}function Om(e,t){return Nr(e,t)}function Mm(e,t,o){o=typeof o=="function"?o:i;var a=o?o(e,t):i;return a===i?Nr(e,t,i,o):!!a}function Ds(e){if(!Ke(e))return!1;var t=mt(e);return t==se||t==ee||typeof e.message=="string"&&typeof e.name=="string"&&!Kr(e)}function Fm(e){return typeof e=="number"&&Il(e)}function yn(e){if(!Ge(e))return!1;var t=mt(e);return t==ge||t==Se||t==st||t==cn}function Qu(e){return typeof e=="number"&&e==_e(e)}function eo(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=ne}function Ge(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function Ke(e){return e!=null&&typeof e=="object"}var Ju=hl?Lt(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 ve(u);return Vl(e)}function Wm(e){return e===null}function Dm(e){return e==null}function ec(e){return typeof e=="number"||Ke(e)&&mt(e)==tt}function Kr(e){if(!Ke(e)||mt(e)!=at)return!1;var t=$i(e);if(t===null)return!0;var o=Pe.call(t,"constructor")&&t.constructor;return typeof o=="function"&&o instanceof o&&Ci.call(o)==j1}var Hs=pl?Lt(pl):Wh;function Hm(e){return Qu(e)&&e>=-9007199254740991&&e<=ne}var tc=gl?Lt(gl):Dh;function to(e){return typeof e=="string"||!ye(e)&&Ke(e)&&mt(e)==lt}function Ot(e){return typeof e=="symbol"||Ke(e)&&mt(e)==oe}var yr=ml?Lt(ml):Hh;function Zm(e){return e===i}function Nm(e){return Ke(e)&&ht(e)==Ye}function Vm(e){return Ke(e)&&mt(e)==Xt}var Um=Vi(ms),qm=Vi(function(e,t){return e<=t});function nc(e){if(!e)return[];if(Ct(e))return to(e)?Qt(e):_t(e);if(zr&&e[zr])return E1(e[zr]());var t=ht(e),o=t==Ee?rs:t==gt?wi:br;return o(e)}function bn(e){if(!e)return e===0?e:0;if(e=Nt(e),e===te||e===-1/0){var t=e<0?-1:1;return t*fe}return e===e?e:0}function _e(e){var t=bn(e),o=t%1;return t===t?o?t-o:t:0}function rc(e){return e?Gn(_e(e),0,Ce):0}function Nt(e){if(typeof e=="number")return e;if(Ot(e))return Me;if(Ge(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Ge(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)?Me:+e}function ic(e){return sn(e,St(e))}function Gm(e){return e?Gn(_e(e),-9007199254740991,ne):e===0?e:0}function je(e){return e==null?"":It(e)}var Km=gr(function(e,t){if(qr(t)||Ct(t)){sn(t,ut(t),e);return}for(var o in t)Pe.call(t,o)&&Dr(e,o,t[o])}),oc=gr(function(e,t){sn(t,St(t),e)}),no=gr(function(e,t,o,a){sn(t,St(t),e,a)}),Xm=gr(function(e,t,o,a){sn(t,ut(t),e,a)}),Ym=mn(us);function Qm(e,t){var o=pr(e);return t==null?o:jl(o,t)}var Jm=ke(function(e,t){e=Ze(e);var o=-1,a=t.length,c=a>2?t[2]:i;for(c&&vt(t[0],t[1],c)&&(a=1);++o<a;)for(var m=t[o],b=St(m),x=-1,$=b.length;++x<$;){var P=b[x],W=e[P];(W===i||en(W,fr[P])&&!Pe.call(e,P))&&(e[P]=m[P])}return e}),e2=ke(function(e){return e.push(i,_u),Rt(sc,i,e)});function t2(e,t){return yl(e,de(t,3),on)}function n2(e,t){return yl(e,de(t,3),fs)}function r2(e,t){return e==null?e:cs(e,de(t,3),St)}function i2(e,t){return e==null?e:Hl(e,de(t,3),St)}function o2(e,t){return e&&on(e,de(t,3))}function s2(e,t){return e&&fs(e,de(t,3))}function a2(e){return e==null?[]:ji(e,ut(e))}function l2(e){return e==null?[]:ji(e,St(e))}function Zs(e,t,o){var a=e==null?i:Kn(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=Si.call(t)),e[t]=o},Us(Et)),f2=vu(function(e,t,o){t!=null&&typeof t.toString!="function"&&(t=Si.call(t)),Pe.call(e,t)?e[t].push(o):e[t]=[o]},de),d2=ke(Zr);function ut(e){return Ct(e)?Fl(e):gs(e)}function St(e){return Ct(e)?Fl(e,!0):Zh(e)}function h2(e,t){var o={};return t=de(t,3),on(e,function(a,c,m){pn(o,t(a,c,m),a)}),o}function p2(e,t){var o={};return t=de(t,3),on(e,function(a,c,m){pn(o,c,t(a,c,m))}),o}var g2=gr(function(e,t,o){Bi(e,t,o)}),sc=gr(function(e,t,o,a){Bi(e,t,o,a)}),m2=mn(function(e,t){var o={};if(e==null)return o;var a=!1;t=Ue(t,function(m){return m=Mn(m,e),a||(a=m.length>1),m}),sn(e,Ts(e),o),a&&(o=Dt(o,S|E|w,cp));for(var c=t.length;c--;)xs(o,t[c]);return o});function v2(e,t){return ac(e,Ji(de(t)))}var y2=mn(function(e,t){return e==null?{}:Vh(e,t)});function ac(e,t){if(e==null)return{};var o=Ue(Ts(e),function(a){return[a]});return t=de(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[an(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:Vr(e,t,o)}function x2(e,t,o,a){return a=typeof a=="function"?a:i,e==null?e:Vr(e,t,o,a)}var lc=wu(ut),uc=wu(St);function _2(e,t,o){var a=ye(e),c=a||zn(e)||yr(e);if(t=de(t,4),o==null){var m=e&&e.constructor;c?o=a?new m:[]:Ge(e)?o=yn(m)?pr($i(e)):{}:o={}}return(c?Bt:on)(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 br(e){return e==null?[]:ns(e,ut(e))}function A2(e){return e==null?[]:ns(e,St(e))}function $2(e,t,o){return o===i&&(o=t,t=i),o!==i&&(o=Nt(o),o=o===o?o:0),t!==i&&(t=Nt(t),t=t===t?t:0),Gn(Nt(e),t,o)}function k2(e,t,o){return t=bn(t),o===i?(o=t,t=0):o=bn(o),e=Nt(e),Mh(e,t,o)}function T2(e,t,o){if(o&&typeof o!="boolean"&&vt(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 dt(e+c*(t-e+a1("1e-"+((c+"").length-1))),t)}return ys(e,t)}var R2=mr(function(e,t,o){return t=t.toLowerCase(),e+(o?cc(t):t)});function cc(e){return Vs(je(e).toLowerCase())}function fc(e){return e=je(e),e&&e.replace(I0,w1).replace(Y0,"")}function L2(e,t,o){e=je(e),t=It(t);var a=e.length;o=o===i?a:Gn(_e(o),0,a);var c=o;return o-=t.length,o>=0&&e.slice(o,c)==t}function I2(e){return e=je(e),e&&d0.test(e)?e.replace(Ha,x1):e}function O2(e){return e=je(e),e&&y0.test(e)?e.replace(Wo,"\\$&"):e}var M2=mr(function(e,t,o){return e+(o?"-":"")+t.toLowerCase()}),F2=mr(function(e,t,o){return e+(o?" ":"")+t.toLowerCase()}),z2=pu("toLowerCase");function j2(e,t,o){e=je(e),t=_e(t);var a=t?ur(e):0;if(!t||a>=t)return e;var c=(t-a)/2;return Ni(Li(c),o)+e+Ni(Ri(c),o)}function B2(e,t,o){e=je(e),t=_e(t);var a=t?ur(e):0;return t&&a<t?e+Ni(t-a,o):e}function P2(e,t,o){e=je(e),t=_e(t);var a=t?ur(e):0;return t&&a<t?Ni(t-a,o)+e:e}function W2(e,t,o){return o||t==null?t=0:t&&(t=+t),q1(je(e).replace(Do,""),t||0)}function D2(e,t,o){return(o?vt(e,t,o):t===i)?t=1:t=_e(t),bs(je(e),t)}function H2(){var e=arguments,t=je(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var Z2=mr(function(e,t,o){return e+(o?"_":"")+t.toLowerCase()});function N2(e,t,o){return o&&typeof o!="number"&&vt(e,t,o)&&(t=o=i),o=o===i?Ce:o>>>0,o?(e=je(e),e&&(typeof t=="string"||t!=null&&!Hs(t))&&(t=It(t),!t&&lr(e))?Fn(Qt(e),0,o):e.split(t,o)):[]}var V2=mr(function(e,t,o){return e+(o?" ":"")+Vs(t)});function U2(e,t,o){return e=je(e),o=o==null?0:Gn(_e(o),0,e.length),t=It(t),e.slice(o,o+t.length)==t}function q2(e,t,o){var a=p.templateSettings;o&&vt(e,t,o)&&(t=i),e=je(e),t=no({},t,a,xu);var c=no({},t.imports,a.imports,xu),m=ut(c),b=ns(c,m),x,$,P=0,W=t.interpolate||gi,N="__p += '",re=is((t.escape||gi).source+"|"+W.source+"|"+(W===Za?A0:gi).source+"|"+(t.evaluate||gi).source+"|$","g"),ce="//# sourceURL="+(Pe.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++n1+"]")+`
|
|
11
|
+
`;e.replace(re,function(pe,Re,Ie,Mt,yt,Ft){return Ie||(Ie=Mt),N+=e.slice(P,Ft).replace(O0,_1),Re&&(x=!0,N+=`' +
|
|
12
|
+
__e(`+Re+`) +
|
|
13
|
+
'`),yt&&($=!0,N+=`';
|
|
14
|
+
`+yt+`;
|
|
15
|
+
__p += '`),Ie&&(N+=`' +
|
|
16
|
+
((__t = (`+Ie+`)) == null ? '' : __t) +
|
|
17
|
+
'`),P=Ft+pe.length,pe}),N+=`';
|
|
18
|
+
`;var he=Pe.call(t,"variable")&&t.variable;if(!he)N=`with (obj) {
|
|
19
|
+
`+N+`
|
|
20
20
|
}
|
|
21
|
-
`;else if(
|
|
22
|
-
`+(
|
|
23
|
-
`)+"var __t, __p = ''"+(
|
|
21
|
+
`;else if(S0.test(he))throw new ve(d);N=($?N.replace(l0,""):N).replace(u0,"$1").replace(c0,"$1;"),N="function("+(he||"obj")+`) {
|
|
22
|
+
`+(he?"":`obj || (obj = {});
|
|
23
|
+
`)+"var __t, __p = ''"+(x?", __e = _.escape":"")+($?`, __j = Array.prototype.join;
|
|
24
24
|
function print() { __p += __j.call(arguments, '') }
|
|
25
25
|
`:`;
|
|
26
|
-
`)+
|
|
27
|
-
}`;var we=Yl(function(){return Oe(p,oe+"return "+H).apply(i,_)});if(we.source=H,Zo(we))throw we;return we}function g2(e){return Fe(e).toLowerCase()}function m2(e){return Fe(e).toUpperCase()}function v2(e,t,o){if(e=Fe(e),e&&(o||t===i))return as(e);if(!e||!(t=At(t)))return e;var s=Ht(e),c=Ht(t),p=ss(s,c),_=ls(s,c)+1;return xn(s,p,_).join("")}function b2(e,t,o){if(e=Fe(e),e&&(o||t===i))return e.slice(0,cs(e)+1);if(!e||!(t=At(t)))return e;var s=Ht(e),c=ls(s,Ht(t))+1;return xn(s,0,c).join("")}function y2(e,t,o){if(e=Fe(e),e&&(o||t===i))return e.replace(Di,"");if(!e||!(t=At(t)))return e;var s=Ht(e),c=ss(s,Ht(t));return xn(s,c).join("")}function w2(e,t){var o=ae,s=xe;if(Ve(t)){var c="separator"in t?t.separator:c;o="length"in t?ye(t.length):o,s="omission"in t?At(t.omission):s}e=Fe(e);var p=e.length;if(Nn(e)){var _=Ht(e);p=_.length}if(o>=p)return e;var E=o-Hn(s);if(E<1)return s;var R=_?xn(_,0,E).join(""):e.slice(0,E);if(c===i)return R+s;if(_&&(E+=R.length-E),No(c)){if(e.slice(E).search(c)){var j,B=R;for(c.global||(c=io(c.source,Fe(Ta.exec(c))+"g")),c.lastIndex=0;j=c.exec(B);)var H=j.index;R=R.slice(0,H===i?E:H)}}else if(e.indexOf(At(c),E)!=E){var Q=R.lastIndexOf(c);Q>-1&&(R=R.slice(0,Q))}return R+s}function x2(e){return e=Fe(e),e&&Ld.test(e)?e.replace($a,Xf):e}var _2=Yn(function(e,t,o){return e+(o?" ":"")+t.toUpperCase()}),Uo=Qs("toUpperCase");function Xl(e,t,o){return e=Fe(e),t=o?i:t,t===i?Vf(e)?Jf(e):Pf(e):e.match(t)||[]}var Yl=_e(function(e,t){try{return $t(e,i,t)}catch(o){return Zo(o)?o:new ge(o)}}),C2=an(function(e,t){return Ot(t,function(o){o=Jt(o),rn(e,o,Wo(e[o],e))}),e});function S2(e){var t=e==null?0:e.length,o=ue();return e=t?He(e,function(s){if(typeof s[1]!="function")throw new Mt(d);return[o(s[0]),s[1]]}):[],_e(function(s){for(var c=-1;++c<t;){var p=e[c];if($t(p[0],this,s))return $t(p[1],this,s)}})}function $2(e){return X0(Pt(e,T))}function qo(e){return function(){return e}}function E2(e,t){return e==null||e!==e?t:e}var A2=el(),T2=el(!0);function _t(e){return e}function Go(e){return Rs(typeof e=="function"?e:Pt(e,T))}function k2(e){return Is(Pt(e,T))}function R2(e,t){return Os(e,Pt(t,T))}var L2=_e(function(e,t){return function(o){return gr(o,e,t)}}),I2=_e(function(e,t){return function(o){return gr(e,o,t)}});function Ko(e,t,o){var s=rt(t),c=Jr(t,s);o==null&&!(Ve(t)&&(c.length||!s.length))&&(o=t,t=e,e=this,c=Jr(t,rt(t)));var p=!(Ve(o)&&"chain"in o)||!!o.chain,_=ln(e);return Ot(c,function(E){var R=t[E];e[E]=R,_&&(e.prototype[E]=function(){var j=this.__chain__;if(p||j){var B=e(this.__wrapped__),H=B.__actions__=yt(this.__actions__);return H.push({func:R,args:arguments,thisArg:e}),B.__chain__=j,B}return R.apply(e,gn([this.value()],arguments))})}),e}function O2(){return ot._===this&&(ot._=o0),this}function Xo(){}function M2(e){return e=ye(e),_e(function(t){return Ms(t,e)})}var F2=Ao(He),P2=Ao(ts),z2=Ao(Yi);function Ql(e){return Mo(e)?Qi(Jt(e)):h1(e)}function j2(e){return function(t){return e==null?i:Ln(e,t)}}var B2=nl(),W2=nl(!0);function Yo(){return[]}function Qo(){return!1}function D2(){return{}}function Z2(){return""}function N2(){return!0}function H2(e,t){if(e=ye(e),e<1||e>q)return[];var o=X,s=ut(e,X);t=ue(t),e-=X;for(var c=to(s,t);++o<e;)t(o);return c}function V2(e){return me(e)?He(e,Jt):Tt(e)?[e]:yt(bl(Fe(e)))}function U2(e){var t=++r0;return Fe(e)+t}var q2=oi(function(e,t){return e+t},0),G2=To("ceil"),K2=oi(function(e,t){return e/t},1),X2=To("floor");function Y2(e){return e&&e.length?Qr(e,_t,ho):i}function Q2(e,t){return e&&e.length?Qr(e,ue(t,2),ho):i}function J2(e){return is(e,_t)}function em(e,t){return is(e,ue(t,2))}function tm(e){return e&&e.length?Qr(e,_t,vo):i}function nm(e,t){return e&&e.length?Qr(e,ue(t,2),vo):i}var rm=oi(function(e,t){return e*t},1),im=To("round"),om=oi(function(e,t){return e-t},0);function am(e){return e&&e.length?eo(e,_t):0}function sm(e,t){return e&&e.length?eo(e,ue(t,2)):0}return f.after=kp,f.ary=kl,f.assign=mg,f.assignIn=Nl,f.assignInWith=bi,f.assignWith=vg,f.at=bg,f.before=Rl,f.bind=Wo,f.bindAll=C2,f.bindKey=Ll,f.castArray=Dp,f.chain=El,f.chunk=X1,f.compact=Y1,f.concat=Q1,f.cond=S2,f.conforms=$2,f.constant=qo,f.countBy=ap,f.create=yg,f.curry=Il,f.curryRight=Ol,f.debounce=Ml,f.defaults=wg,f.defaultsDeep=xg,f.defer=Rp,f.delay=Lp,f.difference=J1,f.differenceBy=eh,f.differenceWith=th,f.drop=nh,f.dropRight=rh,f.dropRightWhile=ih,f.dropWhile=oh,f.fill=ah,f.filter=lp,f.flatMap=dp,f.flatMapDeep=fp,f.flatMapDepth=hp,f.flatten=_l,f.flattenDeep=sh,f.flattenDepth=lh,f.flip=Ip,f.flow=A2,f.flowRight=T2,f.fromPairs=uh,f.functions=Tg,f.functionsIn=kg,f.groupBy=pp,f.initial=dh,f.intersection=fh,f.intersectionBy=hh,f.intersectionWith=ph,f.invert=Lg,f.invertBy=Ig,f.invokeMap=mp,f.iteratee=Go,f.keyBy=vp,f.keys=rt,f.keysIn=xt,f.map=fi,f.mapKeys=Mg,f.mapValues=Fg,f.matches=k2,f.matchesProperty=R2,f.memoize=pi,f.merge=Pg,f.mergeWith=Hl,f.method=L2,f.methodOf=I2,f.mixin=Ko,f.negate=gi,f.nthArg=M2,f.omit=zg,f.omitBy=jg,f.once=Op,f.orderBy=bp,f.over=F2,f.overArgs=Mp,f.overEvery=P2,f.overSome=z2,f.partial=Do,f.partialRight=Fl,f.partition=yp,f.pick=Bg,f.pickBy=Vl,f.property=Ql,f.propertyOf=j2,f.pull=bh,f.pullAll=Sl,f.pullAllBy=yh,f.pullAllWith=wh,f.pullAt=xh,f.range=B2,f.rangeRight=W2,f.rearg=Fp,f.reject=_p,f.remove=_h,f.rest=Pp,f.reverse=jo,f.sampleSize=Sp,f.set=Dg,f.setWith=Zg,f.shuffle=$p,f.slice=Ch,f.sortBy=Tp,f.sortedUniq=Rh,f.sortedUniqBy=Lh,f.split=d2,f.spread=zp,f.tail=Ih,f.take=Oh,f.takeRight=Mh,f.takeRightWhile=Fh,f.takeWhile=Ph,f.tap=Yh,f.throttle=jp,f.thru=di,f.toArray=Wl,f.toPairs=Ul,f.toPairsIn=ql,f.toPath=V2,f.toPlainObject=Zl,f.transform=Ng,f.unary=Bp,f.union=zh,f.unionBy=jh,f.unionWith=Bh,f.uniq=Wh,f.uniqBy=Dh,f.uniqWith=Zh,f.unset=Hg,f.unzip=Bo,f.unzipWith=$l,f.update=Vg,f.updateWith=Ug,f.values=er,f.valuesIn=qg,f.without=Nh,f.words=Xl,f.wrap=Wp,f.xor=Hh,f.xorBy=Vh,f.xorWith=Uh,f.zip=qh,f.zipObject=Gh,f.zipObjectDeep=Kh,f.zipWith=Xh,f.entries=Ul,f.entriesIn=ql,f.extend=Nl,f.extendWith=bi,Ko(f,f),f.add=q2,f.attempt=Yl,f.camelCase=Yg,f.capitalize=Gl,f.ceil=G2,f.clamp=Gg,f.clone=Zp,f.cloneDeep=Hp,f.cloneDeepWith=Vp,f.cloneWith=Np,f.conformsTo=Up,f.deburr=Kl,f.defaultTo=E2,f.divide=K2,f.endsWith=Qg,f.eq=Ut,f.escape=Jg,f.escapeRegExp=e2,f.every=sp,f.find=up,f.findIndex=wl,f.findKey=_g,f.findLast=cp,f.findLastIndex=xl,f.findLastKey=Cg,f.floor=X2,f.forEach=Al,f.forEachRight=Tl,f.forIn=Sg,f.forInRight=$g,f.forOwn=Eg,f.forOwnRight=Ag,f.get=Ho,f.gt=qp,f.gte=Gp,f.has=Rg,f.hasIn=Vo,f.head=Cl,f.identity=_t,f.includes=gp,f.indexOf=ch,f.inRange=Kg,f.invoke=Og,f.isArguments=Mn,f.isArray=me,f.isArrayBuffer=Kp,f.isArrayLike=wt,f.isArrayLikeObject=Ge,f.isBoolean=Xp,f.isBuffer=_n,f.isDate=Yp,f.isElement=Qp,f.isEmpty=Jp,f.isEqual=eg,f.isEqualWith=tg,f.isError=Zo,f.isFinite=ng,f.isFunction=ln,f.isInteger=Pl,f.isLength=mi,f.isMap=zl,f.isMatch=rg,f.isMatchWith=ig,f.isNaN=og,f.isNative=ag,f.isNil=lg,f.isNull=sg,f.isNumber=jl,f.isObject=Ve,f.isObjectLike=Ue,f.isPlainObject=xr,f.isRegExp=No,f.isSafeInteger=ug,f.isSet=Bl,f.isString=vi,f.isSymbol=Tt,f.isTypedArray=Jn,f.isUndefined=cg,f.isWeakMap=dg,f.isWeakSet=fg,f.join=gh,f.kebabCase=t2,f.last=jt,f.lastIndexOf=mh,f.lowerCase=n2,f.lowerFirst=r2,f.lt=hg,f.lte=pg,f.max=Y2,f.maxBy=Q2,f.mean=J2,f.meanBy=em,f.min=tm,f.minBy=nm,f.stubArray=Yo,f.stubFalse=Qo,f.stubObject=D2,f.stubString=Z2,f.stubTrue=N2,f.multiply=rm,f.nth=vh,f.noConflict=O2,f.noop=Xo,f.now=hi,f.pad=i2,f.padEnd=o2,f.padStart=a2,f.parseInt=s2,f.random=Xg,f.reduce=wp,f.reduceRight=xp,f.repeat=l2,f.replace=u2,f.result=Wg,f.round=im,f.runInContext=k,f.sample=Cp,f.size=Ep,f.snakeCase=c2,f.some=Ap,f.sortedIndex=Sh,f.sortedIndexBy=$h,f.sortedIndexOf=Eh,f.sortedLastIndex=Ah,f.sortedLastIndexBy=Th,f.sortedLastIndexOf=kh,f.startCase=f2,f.startsWith=h2,f.subtract=om,f.sum=am,f.sumBy=sm,f.template=p2,f.times=H2,f.toFinite=un,f.toInteger=ye,f.toLength=Dl,f.toLower=g2,f.toNumber=Bt,f.toSafeInteger=gg,f.toString=Fe,f.toUpper=m2,f.trim=v2,f.trimEnd=b2,f.trimStart=y2,f.truncate=w2,f.unescape=x2,f.uniqueId=U2,f.upperCase=_2,f.upperFirst=Uo,f.each=Al,f.eachRight=Tl,f.first=Cl,Ko(f,function(){var e={};return Yt(f,function(t,o){Pe.call(f.prototype,o)||(e[o]=t)}),e}(),{chain:!1}),f.VERSION=a,Ot(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){f[e].placeholder=f}),Ot(["drop","take"],function(e,t){Se.prototype[e]=function(o){o=o===i?1:Je(ye(o),0);var s=this.__filtered__&&!t?new Se(this):this.clone();return s.__filtered__?s.__takeCount__=ut(o,s.__takeCount__):s.__views__.push({size:ut(o,X),type:e+(s.__dir__<0?"Right":"")}),s},Se.prototype[e+"Right"]=function(o){return this.reverse()[e](o).reverse()}}),Ot(["filter","map","takeWhile"],function(e,t){var o=t+1,s=o==Z||o==K;Se.prototype[e]=function(c){var p=this.clone();return p.__iteratees__.push({iteratee:ue(c,3),type:o}),p.__filtered__=p.__filtered__||s,p}}),Ot(["head","last"],function(e,t){var o="take"+(t?"Right":"");Se.prototype[e]=function(){return this[o](1).value()[0]}}),Ot(["initial","tail"],function(e,t){var o="drop"+(t?"":"Right");Se.prototype[e]=function(){return this.__filtered__?new Se(this):this[o](1)}}),Se.prototype.compact=function(){return this.filter(_t)},Se.prototype.find=function(e){return this.filter(e).head()},Se.prototype.findLast=function(e){return this.reverse().find(e)},Se.prototype.invokeMap=_e(function(e,t){return typeof e=="function"?new Se(this):this.map(function(o){return gr(o,e,t)})}),Se.prototype.reject=function(e){return this.filter(gi(ue(e)))},Se.prototype.slice=function(e,t){e=ye(e);var o=this;return o.__filtered__&&(e>0||t<0)?new Se(o):(e<0?o=o.takeRight(-e):e&&(o=o.drop(e)),t!==i&&(t=ye(t),o=t<0?o.dropRight(-t):o.take(t-e)),o)},Se.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Se.prototype.toArray=function(){return this.take(X)},Yt(Se.prototype,function(e,t){var o=/^(?:filter|find|map|reject)|While$/.test(t),s=/^(?:head|last)$/.test(t),c=f[s?"take"+(t=="last"?"Right":""):t],p=s||/^find/.test(t);c&&(f.prototype[t]=function(){var _=this.__wrapped__,E=s?[1]:arguments,R=_ instanceof Se,j=E[0],B=R||me(_),H=function(Ce){var Ee=c.apply(f,gn([Ce],E));return s&&Q?Ee[0]:Ee};B&&o&&typeof j=="function"&&j.length!=1&&(R=B=!1);var Q=this.__chain__,oe=!!this.__actions__.length,ce=p&&!Q,we=R&&!oe;if(!p&&B){_=we?_:new Se(this);var de=e.apply(_,E);return de.__actions__.push({func:di,args:[H],thisArg:i}),new Ft(de,Q)}return ce&&we?e.apply(this,E):(de=this.thru(H),ce?s?de.value()[0]:de.value():de)})}),Ot(["pop","push","shift","sort","splice","unshift"],function(e){var t=zr[e],o=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",s=/^(?:pop|shift)$/.test(e);f.prototype[e]=function(){var c=arguments;if(s&&!this.__chain__){var p=this.value();return t.apply(me(p)?p:[],c)}return this[o](function(_){return t.apply(me(_)?_:[],c)})}}),Yt(Se.prototype,function(e,t){var o=f[t];if(o){var s=o.name+"";Pe.call(Gn,s)||(Gn[s]=[]),Gn[s].push({name:t,func:o})}}),Gn[ii(i,F).name]=[{name:"wrapper",func:i}],Se.prototype.clone=x0,Se.prototype.reverse=_0,Se.prototype.value=C0,f.prototype.at=Qh,f.prototype.chain=Jh,f.prototype.commit=ep,f.prototype.next=tp,f.prototype.plant=rp,f.prototype.reverse=ip,f.prototype.toJSON=f.prototype.valueOf=f.prototype.value=op,f.prototype.first=f.prototype.head,lr&&(f.prototype[lr]=np),f},Vn=e0();En?((En.exports=Vn)._=Vn,qi._=Vn):ot._=Vn}).call(dm)}(Cr,Cr.exports)),Cr.exports}var Ae=fm();const aa=n=>({none:0,hairline:n*.5,thin:n,thick:n*2,heavy:n*4}),sa=n=>({none:0,xs:n*.5,sm:n,md:n*2,lg:n*3,xl:n*4,full:9999}),hm=n=>["none","hairline","thin","thick","heavy"].includes(n),Gu=n=>["none","xs","sm","md","lg","xl","full"].includes(n),Ii={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"},Ku=n=>n in Ii,Xu={primary:["#543ACC","#6949FF"],secondary:["#E0A800","#FFC107"],success:["#0FB57A","#12D18E"],danger:["#E64545","#F75555"],warning:["#E1B70D","#FACC15"],info:["#543ACC","#6949FF"]},pm=n=>["primary","secondary","success","danger","warning","info"].includes(n),gm=1,mm=8,vm=8,bm="Inter",ym="Sora",wm=10,xm=4,fn={borderWidth:gm,space:mm,size:vm,font:{neutral:bm,heading:ym},fontSize:wm,radius:xm},Yu=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`}),_m=n=>["none","sm","md","lg"].includes(n),la=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}),zn=n=>["2xs","xs","sm","sm-md","md","md-lg","lg","xl","2xl","3xl","4xl"].includes(n),ua=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}),Qu=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),ca=({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`}),Oi=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}),da=n=>{const r=Oi(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}},fa=()=>({"extra-light":100,thin:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,black:900}),Cm=n=>["2xs","xs","small","medium","large","xl","2xl","3xl","4xl","5xl","6xl"].includes(n),Sm=n=>["extra-light","thin","light","regular","medium","semibold","bold","extrabold","black"].includes(n);class $m{constructor({baseZIndex:r=10,step:i=10}={}){tr(this,"dependencies",new Map);tr(this,"zIndexes",null);tr(this,"nodes",new Set);tr(this,"baseZIndex");tr(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 a=this.dependencies.get(r);a&&a.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 a=[];for(;i.length>0;){const l=i.shift();a.push(l);const u=this.dependencies.get(l)||new Set;for(const d of u){const g=(r.get(d)||0)-1;r.set(d,g),g===0&&i.push(d)}}if(a.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<a.length;l++){const u=a[l];this.zIndexes.set(u,this.baseZIndex+l*this.step)}}}const Bn=new $m({baseZIndex:100,step:10}),Gt={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"};Bn.register(Gt.AIC_Kits_PageContent,Gt.AIC_Kits_Carousel);Bn.register(Gt.AIC_Kits_Carousel,Gt.AIC_Kits_Dropdown);Bn.register(Gt.AIC_Kits_Dropdown,Gt.AIC_Kits_Tooltip);Bn.register(Gt.AIC_Kits_Tooltip,Gt.AIC_Kits_Modal);Bn.register(Gt.AIC_Kits_Modal,Gt.AIC_Kits_Notification);const Em=(n=fn,r=Ii,i=Xu)=>{const a=ca(n.font),l=Oi(n.fontSize),u=da(n.fontSize),d=fa(),g=aa(n.borderWidth),v=ua(n.space),m=la(n.size),$=sa(n.radius),T=Yu(r);return{colors:r,gradientColors:i,fonts:a,fontSizes:l,lineHeights:u,fontWeights:d,borderWidths:g,spaces:v,sizes:m,radii:$,shadows:T}},Ju=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"}}),ec=n=>({defaultSize:"md",defaultIconSize:"md",defaultEmojiSize:"lg",defaultBrandSize:"md",defaultImageSize:"md",defaultSvgSize:"md"}),tc=n=>({defaultSize:"md",defaultFallbackTextSize:"medium",fallbackBackgroundColor:"grey400",sizes:{sm:{fallbackTextSize:"small"},md:{fallbackTextSize:"medium"},lg:{fallbackTextSize:"xl"}}}),nc=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"}}}),rc=n=>({defaultBackgroundColor:"white",defaultHeaderParams:{backgroundColor:"white"},desktopMediaQuery:"(min-width: 768px)",mobilePaddingX:"md",desktopPaddingX:"xl",desktopContentMaxWidth:"1200px"}),ic=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"}}}),oc=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"}}),ac=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"}}),sc=n=>({defaultColor:"grey300",defaultThickness:1}),lc=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",loadingSize:"small"},medium:{fontSize:"medium",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}}},uc=n=>{const r="grey300",i="danger",a="primary",l="grey100",u="grey300",d="grey500",g="white",v="grey900",m="thin",$=`inset 0 0 0 ${n.borderWidths.thin}px ${n.colors[a]}`,T=`inset 0 0 0 ${n.borderWidths.thin}px ${n.colors[i]}`;return{borderRadius:"md",borderWidth:m,padding:{vertical:"sm",horizontal:"md"},fontSize:"medium",placeholderColor:"grey500",iconSpacing:"sm",iconSize:"sm-md",iconColor:"grey600",textColor:v,disabledTextColor:d,disabledBorderColor:u,focusColor:a,errorColor:i,states:{default:{borderColor:r,backgroundColor:g,boxShadow:"none"},focused:{borderColor:a,backgroundColor:g,boxShadow:$},error:{borderColor:i,backgroundColor:g,boxShadow:T},disabled:{borderColor:u,backgroundColor:l,boxShadow:"none"}}}},cc=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"]}}}),dc=n=>({defaultGap:"sm",defaultPadding:"none"}),fc=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}}),hc=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"}}}}}),pc=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"]}}}),gc=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"}}}),mc=n=>{const r="grey300",i="danger",a="grey300",l="grey100",u="grey400",d="grey100",g="grey200",v="white",m="transparent",$="thin",T="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:m,borderColor:r,borderWidth:$},hover:{backgroundColor:"grey100",borderColor:r,borderWidth:$},focused:{backgroundColor:m,borderColor:"primary",borderWidth:T},disabled:{backgroundColor:m,borderColor:a,borderWidth:$},errored:{backgroundColor:m,borderColor:i,borderWidth:$}},filled:{default:{backgroundColor:d,borderColor:m,borderWidth:$},hover:{backgroundColor:g,borderColor:m,borderWidth:$},focused:{backgroundColor:v,borderColor:"primary",borderWidth:T},disabled:{backgroundColor:l,borderColor:m,borderWidth:$},errored:{backgroundColor:v,borderColor:i,borderWidth:$}}},animation:{duration:200,easing:"ease-out"},dropdown:{backgroundColor:v,borderColor:r,shadow:"md",offset:"sm",zIndex:1e3,maxHeight:200,borderRadiusForCircle:"xl",borderRadiusForRounded:"md",itemTextColor:"grey900",itemSelectedTextColor:"grey900",itemHoverBackgroundColor:"grey100",itemSelectedBackgroundColor:"white",emptyTextColor:"grey500"}}},vc=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}}}),bc=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"}}}),yc=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}}}}},wc=n=>({animation:{minScale:.92,maxScale:1,minOpacity:.7,maxOpacity:1,springConfig:{mass:.5}}}),xc=n=>({defaultAccentColor:"#00adef",aspectRatio:56.25,playerSettings:{autoplay:!1,muted:!1,loop:!1,title:!1,byline:!1,portrait:!1,controls:!0}}),_c=n=>({art:ec(),base:rc(),button:ic(),divider:sc(),header:lc(n),input:uc(n),list:dc(),loading:fc(),pagination:hc(),skeleton:vc(),touchable:wc(),vimeo:xc(),carousel:oc(),accordion:Ju(),tag:bc(),checkbox:ac(),select:mc(),progress:gc(),avatar:tc(),tooltip:yc(),barChart:nc(),pieChart:pc(),lineChart:cc()}),Am=ua(fn.space),Tm=la(fn.size),km=aa(fn.borderWidth),Rm=sa(fn.radius),Lm=Oi(fn.fontSize),Im=da(fn.fontSize),Om=fa(),tu=ca(fn.font),Mm={spaces:Am,sizes:Tm,colors:Ii,radii:Rm,borderWidths:km,fonts:tu,zIndex:Bn,__hd__:{text:{fontSizes:Lm,lineHeights:Im,fontWeights:Om,fonts:tu}}};function Cc(){const n=Mm,r=_c(n);return{...n,__hd__:{...n.__hd__,...r}}}const Si=Cc(),re=Cn.styled,Sn=Cn.keyframes,et=Cn.css,Sc=(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),Fm=n=>typeof n=="function"?n(Si):n?{...Si,...n}:Si,Pm=({theme:n,children:r})=>{const i=Fm(n);return y.jsx(Cn.StyleSheetManager,{shouldForwardProp:Sc,children:y.jsx(Cn.ThemeProvider,{theme:i,children:r})})},ve=Cn.useTheme,mt=()=>typeof document>"u",Tr={xs:0,sm:600,md:900,lg:1200,xl:1536},$r=Object.keys(Tr),Mi=n=>Ae.isObject(n)&&("xs"in n||"sm"in n||"md"in n||"lg"in n||"xl"in n),Lt=(n,r)=>Mi(n)?Object.fromEntries(Object.entries(n).map(([i,a])=>[i,r(a)])):r(n),ta=n=>Ae.reduce(n,(r,i,a)=>(Ae.forEach(i,(l,u)=>{Ae.has(r,u)||Ae.set(r,u,{}),Ae.set(r,[u,a],l)}),r),{}),$c=(n,r)=>{const i=Object.fromEntries(Object.keys(n).map(g=>[g,ha(n[g])])),a=ta(i),l=Object.fromEntries($r.map(g=>[g,r(a[g])])),u=ta(l);return Object.fromEntries(Object.entries(u).map(([g,v])=>[g,Ac(v)]))},Ec=(n,r)=>{if(!Mi(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}},ha=n=>Object.fromEntries(Object.keys(Tr).map(r=>[r,Ec(n,r)])),Ac=n=>{let r=n.xs;const i={xs:r};for(let a=1;a<$r.length;a++){const l=$r[a],u=n[l];Ae.isEqual(u,r)||(i[l]=u,r=u)}return Object.keys(i).length===1?i.xs:i},pa=n=>{const[r,i]=Ae.partition(Object.entries(n),([u,d])=>Mi(d)),a=Object.fromEntries(r.map(([u,d])=>[u,ha(d)])),l=Ae.compact($r.map(u=>{const d=Object.fromEntries(Object.keys(a).map(v=>[v,a[v][u]]));if(u==="xs"){const v={...Object.fromEntries(i),...d};return Ae.isEmpty(v)?null:et(v)}if(Ae.isEmpty(d))return null;const g=`(min-width: ${Tr[u]}px)`;return et`
|
|
28
|
-
@media ${
|
|
29
|
-
${
|
|
26
|
+
`)+N+`return __p
|
|
27
|
+
}`;var Ae=hc(function(){return Fe(m,ce+"return "+N).apply(i,b)});if(Ae.source=N,Ds(Ae))throw Ae;return Ae}function G2(e){return je(e).toLowerCase()}function K2(e){return je(e).toUpperCase()}function X2(e,t,o){if(e=je(e),e&&(o||t===i))return _l(e);if(!e||!(t=It(t)))return e;var a=Qt(e),c=Qt(t),m=Cl(a,c),b=Sl(a,c)+1;return Fn(a,m,b).join("")}function Y2(e,t,o){if(e=je(e),e&&(o||t===i))return e.slice(0,Al(e)+1);if(!e||!(t=It(t)))return e;var a=Qt(e),c=Sl(a,Qt(t))+1;return Fn(a,0,c).join("")}function Q2(e,t,o){if(e=je(e),e&&(o||t===i))return e.replace(Do,"");if(!e||!(t=It(t)))return e;var a=Qt(e),c=Cl(a,Qt(t));return Fn(a,c).join("")}function J2(e,t){var o=we,a=$e;if(Ge(t)){var c="separator"in t?t.separator:c;o="length"in t?_e(t.length):o,a="omission"in t?It(t.omission):a}e=je(e);var m=e.length;if(lr(e)){var b=Qt(e);m=b.length}if(o>=m)return e;var x=o-ur(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 P,W=$;for(c.global||(c=is(c.source,je(Na.exec(c))+"g")),c.lastIndex=0;P=c.exec(W);)var N=P.index;$=$.slice(0,N===i?x:N)}}else if(e.indexOf(It(c),x)!=x){var re=$.lastIndexOf(c);re>-1&&($=$.slice(0,re))}return $+a}function e8(e){return e=je(e),e&&f0.test(e)?e.replace(Da,T1):e}var t8=mr(function(e,t,o){return e+(o?" ":"")+t.toUpperCase()}),Vs=pu("toUpperCase");function dc(e,t,o){return e=je(e),t=o?i:t,t===i?S1(e)?I1(e):g1(e):e.match(t)||[]}var hc=ke(function(e,t){try{return Rt(e,i,t)}catch(o){return Ds(o)?o:new ve(o)}}),n8=mn(function(e,t){return Bt(t,function(o){o=an(o),pn(e,o,Ps(e[o],e))}),e});function r8(e){var t=e==null?0:e.length,o=de();return e=t?Ue(e,function(a){if(typeof a[1]!="function")throw new Pt(f);return[o(a[0]),a[1]]}):[],ke(function(a){for(var c=-1;++c<t;){var m=e[c];if(Rt(m[0],this,a))return Rt(m[1],this,a)}})}function i8(e){return Th(Dt(e,S))}function Us(e){return function(){return e}}function o8(e,t){return e==null||e!==e?t:e}var s8=mu(),a8=mu(!0);function Et(e){return e}function qs(e){return Ul(typeof e=="function"?e:Dt(e,S))}function l8(e){return Gl(Dt(e,S))}function u8(e,t){return Kl(e,Dt(t,S))}var c8=ke(function(e,t){return function(o){return Zr(o,e,t)}}),f8=ke(function(e,t){return function(o){return Zr(e,o,t)}});function Gs(e,t,o){var a=ut(t),c=ji(t,a);o==null&&!(Ge(t)&&(c.length||!a.length))&&(o=t,t=e,e=this,c=ji(t,ut(t)));var m=!(Ge(o)&&"chain"in o)||!!o.chain,b=yn(e);return Bt(c,function(x){var $=t[x];e[x]=$,b&&(e.prototype[x]=function(){var P=this.__chain__;if(m||P){var W=e(this.__wrapped__),N=W.__actions__=_t(this.__actions__);return N.push({func:$,args:arguments,thisArg:e}),W.__chain__=P,W}return $.apply(e,Tn([this.value()],arguments))})}),e}function d8(){return ct._===this&&(ct._=B1),this}function Ks(){}function h8(e){return e=_e(e),ke(function(t){return Xl(t,e)})}var p8=As(Ue),g8=As(vl),m8=As(Yo);function pc(e){return Os(e)?Qo(an(e)):Uh(e)}function v8(e){return function(t){return e==null?i:Kn(e,t)}}var y8=yu(),b8=yu(!0);function Xs(){return[]}function Ys(){return!1}function w8(){return{}}function x8(){return""}function _8(){return!0}function C8(e,t){if(e=_e(e),e<1||e>ne)return[];var o=Ce,a=dt(e,Ce);t=de(t),e-=Ce;for(var c=ts(a,t);++o<e;)t(o);return c}function S8(e){return ye(e)?Ue(e,an):Ot(e)?[e]:_t(Mu(je(e)))}function E8(e){var t=++z1;return je(e)+t}var A8=Zi(function(e,t){return e+t},0),$8=$s("ceil"),k8=Zi(function(e,t){return e/t},1),T8=$s("floor");function R8(e){return e&&e.length?zi(e,Et,ds):i}function L8(e,t){return e&&e.length?zi(e,de(t,2),ds):i}function I8(e){return wl(e,Et)}function O8(e,t){return wl(e,de(t,2))}function M8(e){return e&&e.length?zi(e,Et,ms):i}function F8(e,t){return e&&e.length?zi(e,de(t,2),ms):i}var z8=Zi(function(e,t){return e*t},1),j8=$s("round"),B8=Zi(function(e,t){return e-t},0);function P8(e){return e&&e.length?es(e,Et):0}function W8(e,t){return e&&e.length?es(e,de(t,2)):0}return p.after=lm,p.ary=Vu,p.assign=Km,p.assignIn=oc,p.assignInWith=no,p.assignWith=Xm,p.at=Ym,p.before=Uu,p.bind=Ps,p.bindAll=n8,p.bindKey=qu,p.castArray=wm,p.chain=Hu,p.chunk=Tp,p.compact=Rp,p.concat=Lp,p.cond=r8,p.conforms=i8,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=s8,p.flowRight=a8,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=ut,p.keysIn=St,p.map=Xi,p.mapKeys=h2,p.mapValues=p2,p.matches=l8,p.matchesProperty=u8,p.memoize=Qi,p.merge=g2,p.mergeWith=sc,p.method=c8,p.methodOf=f8,p.mixin=Gs,p.negate=Ji,p.nthArg=h8,p.omit=m2,p.omitBy=v2,p.once=dm,p.orderBy=Yg,p.over=p8,p.overArgs=hm,p.overEvery=g8,p.overSome=m8,p.partial=Ws,p.partialRight=Yu,p.partition=Qg,p.pick=y2,p.pickBy=ac,p.property=pc,p.propertyOf=v8,p.pull=Yp,p.pullAll=Wu,p.pullAllBy=Qp,p.pullAllWith=Jp,p.pullAt=eg,p.range=y8,p.rangeRight=b8,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=Ki,p.toArray=nc,p.toPairs=lc,p.toPairsIn=uc,p.toPath=S8,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=br,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=no,Gs(p,p),p.add=A8,p.attempt=hc,p.camelCase=R2,p.capitalize=cc,p.ceil=$8,p.clamp=$2,p.clone=xm,p.cloneDeep=Cm,p.cloneDeepWith=Sm,p.cloneWith=_m,p.conformsTo=Em,p.deburr=fc,p.defaultTo=o8,p.divide=k8,p.endsWith=L2,p.eq=en,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=T8,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=Et,p.includes=Gg,p.indexOf=Zp,p.inRange=k2,p.invoke=d2,p.isArguments=Qn,p.isArray=ye,p.isArrayBuffer=km,p.isArrayLike=Ct,p.isArrayLikeObject=Qe,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=eo,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=Ge,p.isObjectLike=Ke,p.isPlainObject=Kr,p.isRegExp=Hs,p.isSafeInteger=Hm,p.isSet=tc,p.isString=to,p.isSymbol=Ot,p.isTypedArray=yr,p.isUndefined=Zm,p.isWeakMap=Nm,p.isWeakSet=Vm,p.join=Gp,p.kebabCase=M2,p.last=Zt,p.lastIndexOf=Kp,p.lowerCase=F2,p.lowerFirst=z2,p.lt=Um,p.lte=qm,p.max=R8,p.maxBy=L8,p.mean=I8,p.meanBy=O8,p.min=M8,p.minBy=F8,p.stubArray=Xs,p.stubFalse=Ys,p.stubObject=w8,p.stubString=x8,p.stubTrue=_8,p.multiply=z8,p.nth=Xp,p.noConflict=d8,p.noop=Ks,p.now=Yi,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=j8,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=B8,p.sum=P8,p.sumBy=W8,p.template=q2,p.times=C8,p.toFinite=bn,p.toInteger=_e,p.toLength=rc,p.toLower=G2,p.toNumber=Nt,p.toSafeInteger=Gm,p.toString=je,p.toUpper=K2,p.trim=X2,p.trimEnd=Y2,p.trimStart=Q2,p.truncate=J2,p.unescape=e8,p.uniqueId=E8,p.upperCase=t8,p.upperFirst=Vs,p.each=Zu,p.eachRight=Nu,p.first=Pu,Gs(p,function(){var e={};return on(p,function(t,o){Pe.call(p.prototype,o)||(e[o]=t)}),e}(),{chain:!1}),p.VERSION=s,Bt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){p[e].placeholder=p}),Bt(["drop","take"],function(e,t){Le.prototype[e]=function(o){o=o===i?1:it(_e(o),0);var a=this.__filtered__&&!t?new Le(this):this.clone();return a.__filtered__?a.__takeCount__=dt(o,a.__takeCount__):a.__views__.push({size:dt(o,Ce),type:e+(a.__dir__<0?"Right":"")}),a},Le.prototype[e+"Right"]=function(o){return this.reverse()[e](o).reverse()}}),Bt(["filter","map","takeWhile"],function(e,t){var o=t+1,a=o==V||o==ie;Le.prototype[e]=function(c){var m=this.clone();return m.__iteratees__.push({iteratee:de(c,3),type:o}),m.__filtered__=m.__filtered__||a,m}}),Bt(["head","last"],function(e,t){var o="take"+(t?"Right":"");Le.prototype[e]=function(){return this[o](1).value()[0]}}),Bt(["initial","tail"],function(e,t){var o="drop"+(t?"":"Right");Le.prototype[e]=function(){return this.__filtered__?new Le(this):this[o](1)}}),Le.prototype.compact=function(){return this.filter(Et)},Le.prototype.find=function(e){return this.filter(e).head()},Le.prototype.findLast=function(e){return this.reverse().find(e)},Le.prototype.invokeMap=ke(function(e,t){return typeof e=="function"?new Le(this):this.map(function(o){return Zr(o,e,t)})}),Le.prototype.reject=function(e){return this.filter(Ji(de(e)))},Le.prototype.slice=function(e,t){e=_e(e);var o=this;return o.__filtered__&&(e>0||t<0)?new Le(o):(e<0?o=o.takeRight(-e):e&&(o=o.drop(e)),t!==i&&(t=_e(t),o=t<0?o.dropRight(-t):o.take(t-e)),o)},Le.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Le.prototype.toArray=function(){return this.take(Ce)},on(Le.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 Le,P=x[0],W=$||ye(b),N=function(Re){var Ie=c.apply(p,Tn([Re],x));return a&&re?Ie[0]:Ie};W&&o&&typeof P=="function"&&P.length!=1&&($=W=!1);var re=this.__chain__,ce=!!this.__actions__.length,he=m&&!re,Ae=$&&!ce;if(!m&&W){b=Ae?b:new Le(this);var pe=e.apply(b,x);return pe.__actions__.push({func:Ki,args:[N],thisArg:i}),new Wt(pe,re)}return he&&Ae?e.apply(this,x):(pe=this.thru(N),he?a?pe.value()[0]:pe.value():pe)})}),Bt(["pop","push","shift","sort","splice","unshift"],function(e){var t=xi[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(ye(m)?m:[],c)}return this[o](function(b){return t.apply(ye(b)?b:[],c)})}}),on(Le.prototype,function(e,t){var o=p[t];if(o){var a=o.name+"";Pe.call(hr,a)||(hr[a]=[]),hr[a].push({name:t,func:o})}}),hr[Hi(i,M).name]=[{name:"wrapper",func:i}],Le.prototype.clone=eh,Le.prototype.reverse=th,Le.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,zr&&(p.prototype[zr]=Fg),p},cr=O1();Nn?((Nn.exports=cr)._=cr,qo._=cr):ct._=cr}).call(N8)}(ii,ii.exports)),ii.exports}var Oe=V8();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}),U8=n=>["none","hairline","thin","thick","heavy"].includes(n),Af=n=>["none","xs","sm","md","lg","xl","full"].includes(n),_o={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 _o,kf={primary:["#543ACC","#6949FF"],secondary:["#E0A800","#FFC107"],success:["#0FB57A","#12D18E"],danger:["#E64545","#F75555"],warning:["#E1B70D","#FACC15"],info:["#543ACC","#6949FF"]},q8=n=>["primary","secondary","success","danger","warning","info"].includes(n),G8=1,K8=8,X8=8,Y8="Inter",Q8="Sora",J8=10,ev=4,An={borderWidth:G8,space:K8,size:X8,font:{neutral:Y8,heading:Q8},fontSize:J8,radius:ev},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`}),tv=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}),rr=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`}),Co=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=Co(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}),nv=n=>["2xs","xs","small","medium","large","xl","2xl","3xl","4xl","5xl","6xl"].includes(n),rv=n=>["extra-light","thin","light","regular","medium","semibold","bold","extrabold","black"].includes(n);class iv{constructor({baseZIndex:r=10,step:i=10}={}){wr(this,"dependencies",new Map);wr(this,"zIndexes",null);wr(this,"nodes",new Set);wr(this,"baseZIndex");wr(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 or=new iv({baseZIndex:100,step:10}),rn={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"};or.register(rn.AIC_Kits_PageContent,rn.AIC_Kits_Carousel);or.register(rn.AIC_Kits_Carousel,rn.AIC_Kits_Dropdown);or.register(rn.AIC_Kits_Dropdown,rn.AIC_Kits_Tooltip);or.register(rn.AIC_Kits_Tooltip,rn.AIC_Kits_Modal);or.register(rn.AIC_Kits_Modal,rn.AIC_Kits_Notification);const ov=(n=An,r=_o,i=kf)=>{const s=Sa(n.font),l=Co(n.fontSize),u=Ea(n.fontSize),f=Aa(),d=wa(n.borderWidth),g=Ca(n.space),v=_a(n.size),_=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:_,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",loadingSize:"small"},medium:{fontSize:"medium",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",_=`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:_},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",_="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:d,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"}}},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()}),sv=Ca(An.space),av=_a(An.size),lv=wa(An.borderWidth),uv=xa(An.radius),cv=Co(An.fontSize),fv=Ea(An.fontSize),dv=Aa(),vc=Sa(An.font),hv={spaces:sv,sizes:av,colors:_o,radii:uv,borderWidths:lv,fonts:vc,zIndex:or,__hd__:{text:{fontSizes:cv,lineHeights:fv,fontWeights:dv,fonts:vc}}};function td(){const n=hv,r=ed(n);return{...n,__hd__:{...n.__hd__,...r}}}const fo=td(),ue=Dn.styled,Hn=Dn.keyframes,Xe=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),pv=n=>typeof n=="function"?n(fo):n?{...fo,...n}:fo,gv=({theme:n,children:r})=>{const i=pv(n);return y.jsx(Dn.StyleSheetManager,{shouldForwardProp:nd,children:y.jsx(Dn.ThemeProvider,{theme:i,children:r})})},be=Dn.useTheme,wt=()=>typeof document>"u",di={xs:0,sm:600,md:900,lg:1200,xl:1536},ai=Object.keys(di),So=n=>Oe.isObject(n)&&("xs"in n||"sm"in n||"md"in n||"lg"in n||"xl"in n),zt=(n,r)=>So(n)?Object.fromEntries(Object.entries(n).map(([i,s])=>[i,r(s)])):r(n),fa=n=>Oe.reduce(n,(r,i,s)=>(Oe.forEach(i,(l,u)=>{Oe.has(r,u)||Oe.set(r,u,{}),Oe.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(ai.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(!So(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(di).map(r=>[r,id(n,r)])),od=n=>{let r=n.xs;const i={xs:r};for(let s=1;s<ai.length;s++){const l=ai[s],u=n[l];Oe.isEqual(u,r)||(i[l]=u,r=u)}return Object.keys(i).length===1?i.xs:i},Or=n=>{const[r,i]=Oe.partition(Object.entries(n),([u,f])=>So(f)),s=Object.fromEntries(r.map(([u,f])=>[u,$a(f)])),l=Oe.compact(ai.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 Oe.isEmpty(g)?null:Xe(g)}if(Oe.isEmpty(f))return null;const d=`(min-width: ${di[u]}px)`;return Xe`
|
|
28
|
+
@media ${d} {
|
|
29
|
+
${Xe(f)}
|
|
30
30
|
}
|
|
31
|
-
`}));return et`${l}`},zm={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"}},jm={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"}},Bm={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"}},Wm={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"}},Tc={...zm,...jm,...Bm,...Wm},kc=["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"],ga=["absoluteFill","fullWidth","fullHeight","fw","fh"],Rc={absoluteFill:{position:"absolute",top:0,bottom:0,left:0,right:0},fullWidth:{width:"100%"},fullHeight:{height:"100%"},fw:{width:"100%"},fh:{height:"100%"}},Lc=(n,r,i)=>{const a=Tc[r],l=i[r];if(!l)return;const{scale:u,property:d}=a;switch(u){case"colors":return{[d]:Lt(l,g=>n.colors[g])};case"spaces":return{[d]:Lt(l,g=>n.spaces[g])};case"radii":return{[d]:Lt(l,g=>n.radii[g])};case"borderWidths":return{[d]:Lt(l,g=>n.borderWidths[g])}}},Ic=(n,r)=>Object.keys(r).reduce((a,l)=>({...a,...Lc(n,l,r)}),{}),Dm=n=>ga.reduce((r,i)=>n[i]?{...r,...Rc[i]}:r,{}),Oc=Object.keys(Tc),Mc=(n,r)=>{const i=Ae.pick(r,Oc),a=Ae.pick(r,[...kc]),l=Ae.pick(r,[...ga]);return pa({...Ic(n,i),...Dm(l),...a})},Fc=re.div(({theme:n,...r})=>Mc(n,r));function Zm({children:n,style:r,"data-testid":i,...a},l){return y.jsx(Fc,{...a,style:r,ref:l,"data-testid":i,children:n})}const V=h.forwardRef(Zm),dt=(n,r)=>typeof r=="number"?`${r}px`:Ae.isString(r)?zn(r)?`${n.sizes[r]}px`:r:"auto",Pc=n=>new RegExp("\\p{Emoji}","u").test(n)&&n.length<=2,zc=n=>Ae.isString(n)&&n.includes("icon-"),jc=n=>{const r=[".jpg",".jpeg",".png",".gif",".webp",".svg"],i=n.toLowerCase();return Ae.isString(n)&&(r.some(a=>i.endsWith(a))||n.startsWith("data:image/")||n.startsWith("http"))},Bc=n=>Ae.isString(n)&&n.startsWith("<svg"),Wc=({art:n,width:r,height:i,style:a,"data-testid":l,...u})=>{const d=ve(),g=d.__hd__.art.defaultBrandSize||d.__hd__.art.defaultSize,v=dt(d,r??g),m=dt(d,i??g);return y.jsx(V,{display:"flex",alignItems:"center",justifyContent:"center",width:v,height:m,style:a,"data-testid":l,...u,children:n})},Dc=({art:n,size:r,style:i,"data-testid":a,...l})=>{const u=ve(),d=u.__hd__.art.defaultEmojiSize||u.__hd__.art.defaultSize,g=dt(u,r??d),v=typeof g=="string"&&g.endsWith("px")?parseInt(g,10):u.__hd__.text.fontSizes[d]??24,m=u.__hd__.text.lineHeights[d]?`${u.__hd__.text.lineHeights[d]/v}`:"1";return y.jsx(V,{display:"flex",alignItems:"center",justifyContent:"center",width:g,height:g,style:{...i,fontSize:g,lineHeight:m},"data-testid":a,...l,children:n})},ma=({art:n,size:r,color:i="currentColor",weight:a="regular",style:l,"data-testid":u,...d})=>{const g=ve(),v=g.__hd__.art.defaultIconSize||g.__hd__.art.defaultSize,m=dt(g,r??v),$=n;if(!$)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 T=Ku(i)?g.colors[i]:i;return y.jsx(V,{display:"flex",alignItems:"center",justifyContent:"center",width:m,height:m,style:l,"data-testid":u,...d,children:y.jsx($,{size:m,color:T,weight:a,style:l})})},Nm=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"}))]]),Hm=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"}))]]),Vm=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"}))]]),Um=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"}))]]),qm=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"}))]]),Gm=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"}))]]),Km=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"}))]]),Xm=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"}))]]),Ym=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"}))]]),Qm=h.createContext({color:"currentColor",size:"1em",weight:"regular",mirrored:!1});var Jm=Object.defineProperty,Ti=Object.getOwnPropertySymbols,Zc=Object.prototype.hasOwnProperty,Nc=Object.prototype.propertyIsEnumerable,nu=(n,r,i)=>r in n?Jm(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,ru=(n,r)=>{for(var i in r||(r={}))Zc.call(r,i)&&nu(n,i,r[i]);if(Ti)for(var i of Ti(r))Nc.call(r,i)&&nu(n,i,r[i]);return n},iu=(n,r)=>{var i={};for(var a in n)Zc.call(n,a)&&r.indexOf(a)<0&&(i[a]=n[a]);if(n!=null&&Ti)for(var a of Ti(n))r.indexOf(a)<0&&Nc.call(n,a)&&(i[a]=n[a]);return i};const Hc=h.forwardRef((n,r)=>{const i=n,{alt:a,color:l,size:u,weight:d,mirrored:g,children:v,weights:m}=i,$=iu(i,["alt","color","size","weight","mirrored","children","weights"]),T=h.useContext(Qm),{color:b="currentColor",size:x,weight:w="regular",mirrored:C=!1}=T,S=iu(T,["color","size","weight","mirrored"]);return h.createElement("svg",ru(ru({ref:r,xmlns:"http://www.w3.org/2000/svg",width:u??x,height:u??x,fill:l??b,viewBox:"0 0 256 256",transform:g||C?"scale(-1, 1)":void 0},S),$),!!a&&h.createElement("title",null,a),v,m.get(d??w))});Hc.displayName="IconBase";const hn=Hc;var e8=Object.defineProperty,t8=Object.defineProperties,n8=Object.getOwnPropertyDescriptors,ou=Object.getOwnPropertySymbols,r8=Object.prototype.hasOwnProperty,i8=Object.prototype.propertyIsEnumerable,au=(n,r,i)=>r in n?e8(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,o8=(n,r)=>{for(var i in r||(r={}))r8.call(r,i)&&au(n,i,r[i]);if(ou)for(var i of ou(r))i8.call(r,i)&&au(n,i,r[i]);return n},a8=(n,r)=>t8(n,n8(r));const Vc=h.forwardRef((n,r)=>h.createElement(hn,a8(o8({ref:r},n),{weights:Nm})));Vc.displayName="CaretDoubleLeft";var s8=Object.defineProperty,l8=Object.defineProperties,u8=Object.getOwnPropertyDescriptors,su=Object.getOwnPropertySymbols,c8=Object.prototype.hasOwnProperty,d8=Object.prototype.propertyIsEnumerable,lu=(n,r,i)=>r in n?s8(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,f8=(n,r)=>{for(var i in r||(r={}))c8.call(r,i)&&lu(n,i,r[i]);if(su)for(var i of su(r))d8.call(r,i)&&lu(n,i,r[i]);return n},h8=(n,r)=>l8(n,u8(r));const Uc=h.forwardRef((n,r)=>h.createElement(hn,h8(f8({ref:r},n),{weights:Hm})));Uc.displayName="CaretDoubleRight";var p8=Object.defineProperty,g8=Object.defineProperties,m8=Object.getOwnPropertyDescriptors,uu=Object.getOwnPropertySymbols,v8=Object.prototype.hasOwnProperty,b8=Object.prototype.propertyIsEnumerable,cu=(n,r,i)=>r in n?p8(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,y8=(n,r)=>{for(var i in r||(r={}))v8.call(r,i)&&cu(n,i,r[i]);if(uu)for(var i of uu(r))b8.call(r,i)&&cu(n,i,r[i]);return n},w8=(n,r)=>g8(n,m8(r));const va=h.forwardRef((n,r)=>h.createElement(hn,w8(y8({ref:r},n),{weights:Vm})));va.displayName="CaretDown";var x8=Object.defineProperty,_8=Object.defineProperties,C8=Object.getOwnPropertyDescriptors,du=Object.getOwnPropertySymbols,S8=Object.prototype.hasOwnProperty,$8=Object.prototype.propertyIsEnumerable,fu=(n,r,i)=>r in n?x8(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,E8=(n,r)=>{for(var i in r||(r={}))S8.call(r,i)&&fu(n,i,r[i]);if(du)for(var i of du(r))$8.call(r,i)&&fu(n,i,r[i]);return n},A8=(n,r)=>_8(n,C8(r));const ba=h.forwardRef((n,r)=>h.createElement(hn,A8(E8({ref:r},n),{weights:Um})));ba.displayName="CaretLeft";var T8=Object.defineProperty,k8=Object.defineProperties,R8=Object.getOwnPropertyDescriptors,hu=Object.getOwnPropertySymbols,L8=Object.prototype.hasOwnProperty,I8=Object.prototype.propertyIsEnumerable,pu=(n,r,i)=>r in n?T8(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,O8=(n,r)=>{for(var i in r||(r={}))L8.call(r,i)&&pu(n,i,r[i]);if(hu)for(var i of hu(r))I8.call(r,i)&&pu(n,i,r[i]);return n},M8=(n,r)=>k8(n,R8(r));const kr=h.forwardRef((n,r)=>h.createElement(hn,M8(O8({ref:r},n),{weights:qm})));kr.displayName="CaretRight";var F8=Object.defineProperty,P8=Object.defineProperties,z8=Object.getOwnPropertyDescriptors,gu=Object.getOwnPropertySymbols,j8=Object.prototype.hasOwnProperty,B8=Object.prototype.propertyIsEnumerable,mu=(n,r,i)=>r in n?F8(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,W8=(n,r)=>{for(var i in r||(r={}))j8.call(r,i)&&mu(n,i,r[i]);if(gu)for(var i of gu(r))B8.call(r,i)&&mu(n,i,r[i]);return n},D8=(n,r)=>P8(n,z8(r));const qc=h.forwardRef((n,r)=>h.createElement(hn,D8(W8({ref:r},n),{weights:Gm})));qc.displayName="Check";var Z8=Object.defineProperty,N8=Object.defineProperties,H8=Object.getOwnPropertyDescriptors,vu=Object.getOwnPropertySymbols,V8=Object.prototype.hasOwnProperty,U8=Object.prototype.propertyIsEnumerable,bu=(n,r,i)=>r in n?Z8(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,q8=(n,r)=>{for(var i in r||(r={}))V8.call(r,i)&&bu(n,i,r[i]);if(vu)for(var i of vu(r))U8.call(r,i)&&bu(n,i,r[i]);return n},G8=(n,r)=>N8(n,H8(r));const Gc=h.forwardRef((n,r)=>h.createElement(hn,G8(q8({ref:r},n),{weights:Km})));Gc.displayName="Eye";var K8=Object.defineProperty,X8=Object.defineProperties,Y8=Object.getOwnPropertyDescriptors,yu=Object.getOwnPropertySymbols,Q8=Object.prototype.hasOwnProperty,J8=Object.prototype.propertyIsEnumerable,wu=(n,r,i)=>r in n?K8(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,ev=(n,r)=>{for(var i in r||(r={}))Q8.call(r,i)&&wu(n,i,r[i]);if(yu)for(var i of yu(r))J8.call(r,i)&&wu(n,i,r[i]);return n},tv=(n,r)=>X8(n,Y8(r));const Kc=h.forwardRef((n,r)=>h.createElement(hn,tv(ev({ref:r},n),{weights:Xm})));Kc.displayName="EyeSlash";var nv=Object.defineProperty,rv=Object.defineProperties,iv=Object.getOwnPropertyDescriptors,xu=Object.getOwnPropertySymbols,ov=Object.prototype.hasOwnProperty,av=Object.prototype.propertyIsEnumerable,_u=(n,r,i)=>r in n?nv(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,sv=(n,r)=>{for(var i in r||(r={}))ov.call(r,i)&&_u(n,i,r[i]);if(xu)for(var i of xu(r))av.call(r,i)&&_u(n,i,r[i]);return n},lv=(n,r)=>rv(n,iv(r));const Xc=h.forwardRef((n,r)=>h.createElement(hn,lv(sv({ref:r},n),{weights:Ym})));Xc.displayName="SmileyXEyes";function uv(n){const r=h.useRef(void 0);return h.useEffect(()=>{r.current=n},[n]),r.current}const cv=Cn.keyframes`
|
|
31
|
+
`}));return Xe`${l}`},mv={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"}},vv={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"}},yv={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"}},bv={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={...mv,...vv,...yv,...bv},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]:zt(l,d=>n.colors[d])};case"spaces":return{[f]:zt(l,d=>n.spaces[d])};case"radii":return{[f]:zt(l,d=>n.radii[d])};case"borderWidths":return{[f]:zt(l,d=>n.borderWidths[d])}}},cd=(n,r)=>Object.keys(r).reduce((s,l)=>({...s,...ud(n,l,r)}),{}),wv=n=>ka.reduce((r,i)=>n[i]?{...r,...ld[i]}:r,{}),fd=Object.keys(sd),dd=(n,r)=>{const i=Oe.pick(r,fd),s=Oe.pick(r,[...ad]),l=Oe.pick(r,[...ka]);return Or({...cd(n,i),...wv(l),...s})},hd=ue.div(({theme:n,...r})=>dd(n,r));function xv({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(xv),pt=(n,r)=>typeof r=="number"?`${r}px`:Oe.isString(r)?rr(r)?`${n.sizes[r]}px`:r:"auto",pd=n=>new RegExp("\\p{Emoji}","u").test(n)&&n.length<=2,gd=n=>Oe.isString(n)&&n.includes("icon-"),md=n=>{const r=[".jpg",".jpeg",".png",".gif",".webp",".svg"],i=n.toLowerCase();return Oe.isString(n)&&(r.some(s=>i.endsWith(s))||n.startsWith("data:image/")||n.startsWith("http"))},vd=n=>Oe.isString(n)&&n.startsWith("<svg"),yd=({art:n,width:r,height:i,style:s,"data-testid":l,...u})=>{const f=be(),d=f.__hd__.art.defaultBrandSize||f.__hd__.art.defaultSize,g=pt(f,r??d),v=pt(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=be(),f=u.__hd__.art.defaultEmojiSize||u.__hd__.art.defaultSize,d=pt(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=be(),g=d.__hd__.art.defaultIconSize||d.__hd__.art.defaultSize,v=pt(d,r??g),_=n;if(!_)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(_,{size:v,color:S,weight:s,style:l})})},_v=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"}))]]),Cv=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"}))]]),Sv=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"}))]]),Ev=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"}))]]),Av=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"}))]]),$v=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"}))]]),kv=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"}))]]),Tv=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"}))]]),Rv=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"}))]]),Lv=h.createContext({color:"currentColor",size:"1em",weight:"regular",mirrored:!1});var Iv=Object.defineProperty,mo=Object.getOwnPropertySymbols,wd=Object.prototype.hasOwnProperty,xd=Object.prototype.propertyIsEnumerable,yc=(n,r,i)=>r in n?Iv(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(mo)for(var i of mo(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&&mo)for(var s of mo(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,_=wc(i,["alt","color","size","weight","mirrored","children","weights"]),S=h.useContext(Lv),{color:E="currentColor",size:w,weight:C="regular",mirrored:I=!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||I?"scale(-1, 1)":void 0},R),_),!!s&&h.createElement("title",null,s),g,v.get(f??C))});_d.displayName="IconBase";const $n=_d;var Ov=Object.defineProperty,Mv=Object.defineProperties,Fv=Object.getOwnPropertyDescriptors,xc=Object.getOwnPropertySymbols,zv=Object.prototype.hasOwnProperty,jv=Object.prototype.propertyIsEnumerable,_c=(n,r,i)=>r in n?Ov(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,Bv=(n,r)=>{for(var i in r||(r={}))zv.call(r,i)&&_c(n,i,r[i]);if(xc)for(var i of xc(r))jv.call(r,i)&&_c(n,i,r[i]);return n},Pv=(n,r)=>Mv(n,Fv(r));const Cd=h.forwardRef((n,r)=>h.createElement($n,Pv(Bv({ref:r},n),{weights:_v})));Cd.displayName="CaretDoubleLeft";var Wv=Object.defineProperty,Dv=Object.defineProperties,Hv=Object.getOwnPropertyDescriptors,Cc=Object.getOwnPropertySymbols,Zv=Object.prototype.hasOwnProperty,Nv=Object.prototype.propertyIsEnumerable,Sc=(n,r,i)=>r in n?Wv(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,Vv=(n,r)=>{for(var i in r||(r={}))Zv.call(r,i)&&Sc(n,i,r[i]);if(Cc)for(var i of Cc(r))Nv.call(r,i)&&Sc(n,i,r[i]);return n},Uv=(n,r)=>Dv(n,Hv(r));const Sd=h.forwardRef((n,r)=>h.createElement($n,Uv(Vv({ref:r},n),{weights:Cv})));Sd.displayName="CaretDoubleRight";var qv=Object.defineProperty,Gv=Object.defineProperties,Kv=Object.getOwnPropertyDescriptors,Ec=Object.getOwnPropertySymbols,Xv=Object.prototype.hasOwnProperty,Yv=Object.prototype.propertyIsEnumerable,Ac=(n,r,i)=>r in n?qv(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,Qv=(n,r)=>{for(var i in r||(r={}))Xv.call(r,i)&&Ac(n,i,r[i]);if(Ec)for(var i of Ec(r))Yv.call(r,i)&&Ac(n,i,r[i]);return n},Jv=(n,r)=>Gv(n,Kv(r));const Ra=h.forwardRef((n,r)=>h.createElement($n,Jv(Qv({ref:r},n),{weights:Sv})));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:Ev})));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 hi=h.forwardRef((n,r)=>h.createElement($n,hy(dy({ref:r},n),{weights:Av})));hi.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:$v})));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:kv})));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:Tv})));$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:Rv})));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`
|
|
32
32
|
0% {
|
|
33
33
|
background-position: -468px 0;
|
|
34
34
|
}
|
|
35
35
|
100% {
|
|
36
36
|
background-position: 468px 0;
|
|
37
37
|
}
|
|
38
|
-
`,
|
|
38
|
+
`,Ny=ue.div`
|
|
39
39
|
width: 100%;
|
|
40
40
|
height: 100%;
|
|
41
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,
|
|
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(
|
|
43
43
|
to right,
|
|
44
|
-
${
|
|
44
|
+
${s} 8%,
|
|
45
45
|
${l} 18%,
|
|
46
46
|
${u} 33%
|
|
47
|
-
)`:
|
|
47
|
+
)`:s}};
|
|
48
48
|
opacity: ${({theme:n,$variant:r})=>n.__hd__.skeleton.container[r].opacity};
|
|
49
49
|
transition: background ${({theme:n})=>n.__hd__.skeleton.animation.transition.backgroundDuration}ms ease-in-out;
|
|
50
50
|
background-size: 800px 100px;
|
|
51
|
-
animation: ${
|
|
51
|
+
animation: ${Zy} ${({theme:n,$duration:r})=>r||n.__hd__.skeleton.animation.duration}ms linear infinite;
|
|
52
52
|
will-change: background-position;
|
|
53
53
|
transform: translateZ(0); /* Force hardware acceleration */
|
|
54
|
-
`,
|
|
54
|
+
`,Vy=({visible:n,variant:r,animationDuration:i,children:s,...l})=>{const u=be(),[f,d]=h.useState(n),g=h.useDeferredValue(n),v=h.useDeferredValue(f),_=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)},_),()=>{E&&clearTimeout(E)}},[_,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 ${_}ms ease-in-out`,children:y.jsx(Ny,{$variant:r,$duration:i,$visible:!0})})]})},Eo=({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=ue.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,_=zt(r,w=>v.__hd__.text.fontWeights[w]),S={fontSize:zt(n,w=>`${v.__hd__.text.fontSizes[w]}px`),lineHeight:zt(n,w=>`${v.__hd__.text.lineHeights[w]}px`),letterSpacing:zt(n,w=>`${v.__hd__.text.fontSizes[w]*.03}px`)},E=g?rd({numberOfLines:g,themeFontSize:n},({numberOfLines:w,themeFontSize:C})=>({display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:w,minHeight:`${v.__hd__.text.lineHeights[C]*w}px`,maxHeight:`${v.__hd__.text.lineHeights[C]*w}px`,overflow:"hidden"})):{};return Or({...S,...E,fontFamily:zt(s,w=>v.fonts[w]),fontWeight:_,color:zt(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,_]=g,S=g.index;S>s&&l.push(n.slice(s,S)),l.push(h.createElement(r,{...i,...f,key:S},_)),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:_="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:_,$numberOfLines:g,children:n})}const Xy=h.forwardRef(Ky),ot=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(ot,{fontSize:"xs",color:"grey600",children:"Error"})]}),Qy=ue.img`
|
|
55
55
|
width: 100%;
|
|
56
56
|
height: 100%;
|
|
57
57
|
object-fit: ${({$objectFit:n})=>n};
|
|
@@ -59,7 +59,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
59
59
|
aspect-ratio: ${({$aspectRatio:n})=>n};
|
|
60
60
|
mix-blend-mode: ${({$mixBlendMode:n})=>n};
|
|
61
61
|
image-rendering: ${({$imageRendering:n})=>n};
|
|
62
|
-
`,Qc=({art:n,width:r,height:i,style:a,"data-testid":l,alt:u,fallback:d,useSkeleton:g=!0,objectFit:v,objectPosition:m,aspectRatio:$,mixBlendMode:T,imageRendering:b,...x})=>{const w=ve(),[C,S]=h.useState(!0),[F,L]=h.useState(!1),A=w.__hd__.art.defaultImageSize||w.__hd__.art.defaultSize,I=Lt(r,ae=>dt(w,ae??A)),P=Lt(i,ae=>dt(w,ae??A)),D=x.r||x.radius||x.borderRadius||"md",N=uv(n);h.useEffect(()=>{!Ae.isNil(N)&&N!==n&&(S(!0),L(!1))},[n,N]);const U=()=>{S(!1)},ie=()=>{L(!0),S(!1)};return y.jsx(V,{display:"flex",alignItems:"center",justifyContent:"center",width:I,height:P,overflow:"hidden",style:a,"data-testid":l,...x,children:y.jsxs(Fi,{visible:C,width:I,height:P,r:D,children:[F&&y.jsxs(V,{width:I,height:P,r:D,display:"flex",alignItems:"center",justifyContent:"center",bgColor:"grey200",children:[!C&&d,!C&&!d&&!u&&y.jsx(tt,{fontSize:"xs",color:"grey600",children:d||u}),!C&&!d&&!u&&bv()]}),!F&&(!mt()||!g)&&y.jsx(yv,{src:n,alt:Ae.isString(u)?u:"Image",onLoad:U,onError:ie,"data-testid":l?`${l}-image`:void 0,$objectFit:v,$objectPosition:m,$aspectRatio:$,$mixBlendMode:T,$imageRendering:b}),!F&&mt()&&g&&u]})})},Jc=({art:n,width:r,height:i,style:a,"data-testid":l,...u})=>{const d=ve(),g=d.__hd__.art.defaultSvgSize||d.__hd__.art.defaultSize,v=dt(d,r??g),m=dt(d,i??g);return y.jsx(V,{display:"flex",alignItems:"center",justifyContent:"center",width:v,height:m,overflow:"hidden",style:a,"data-testid":l,dangerouslySetInnerHTML:{__html:n},...u})},Dt=n=>{const{art:r,type:i}=n;return i==="image"||Ae.isString(r)&&jc(r)?y.jsx(Qc,{...n}):i==="svg"||Ae.isString(r)&&Bc(r)?y.jsx(Jc,{...n}):i==="emoji"||Ae.isString(r)&&Pc(r)?y.jsx(Dc,{...n}):i==="icon"||Ae.isString(r)&&zc(r)?y.jsx(ma,{...n}):i==="brand"?y.jsx(Wc,{...n}):y.jsx(y.Fragment,{})},wv=n=>n==="sm"||n==="md"||n==="lg",ed=({src:n,name:r,size:i,...a})=>{var $;const l=ve(),u=l.__hd__.avatar,d=i||u.defaultSize,g=dt(l,d);let v=u.defaultFallbackTextSize;typeof d=="string"&&wv(d)&&u.sizes[d]&&(v=u.sizes[d].fallbackTextSize);const m=u.fallbackBackgroundColor;return y.jsx(V,{width:g,height:g,r:"full",overflow:"hidden",display:"flex",alignItems:"center",justifyContent:"center",...a,children:n?y.jsx(Dt,{type:"image",art:n,width:"100%",height:"100%",objectFit:"cover"}):y.jsx(V,{width:"100%",height:"100%",bgColor:m,display:"flex",justifyContent:"center",alignItems:"center",children:y.jsx(tt,{color:"white",fontSize:v,fontWeight:"semibold",children:(($=r==null?void 0:r.charAt(0))==null?void 0:$.toUpperCase())||"U"})})})};function xv(n){const[r,i]=h.useState(()=>(mt(),!1));return h.useEffect(()=>{if(mt())return;const a=window.matchMedia(n),l=u=>{i(u.matches)};return a.addEventListener?a.addEventListener("change",l):a.addListener(l),i(a.matches),()=>{a.removeEventListener?a.removeEventListener("change",l):a.removeListener(l)}},[n]),r}const Rr=(n="xl")=>{const[r,i]=h.useState(()=>(typeof window>"u"||!window.matchMedia,n));return h.useEffect(()=>{if(mt())return;const l=["xl","lg","md","sm"].map(g=>({key:g,mql:window.matchMedia(`(min-width: ${Tr[g]}px)`)})),u=()=>{for(const{key:g,mql:v}of l)if(v.matches)return g;return"xs"},d=()=>{i(u())};return d(),l.forEach(({mql:g})=>{g.addEventListener?g.addEventListener("change",d):g.addListener(d)}),()=>{l.forEach(({mql:g})=>{g.removeEventListener?g.removeEventListener("change",d):g.removeListener(d)})}},[]),r};function _v(){const{innerWidth:n,innerHeight:r}=window;return{width:n,height:r}}const td=()=>{const[n,r]=h.useState(()=>mt()?{width:void 0,height:void 0}:{width:void 0,height:void 0});return h.useEffect(()=>{if(mt())return;function i(){r(_v())}return i(),window.addEventListener("resize",i),()=>window.removeEventListener("resize",i)},[]),n},nd=typeof window<"u"?h.useLayoutEffect:h.useEffect;function na(n,r,i,a){const l=h.useRef(r);nd(()=>{l.current=r},[r]),h.useEffect(()=>{const u=(i==null?void 0:i.current)??window;if(!(u&&u.addEventListener))return;const d=g=>{l.current(g)};return u.addEventListener(n,d,a),()=>{u.removeEventListener(n,d,a)}},[n,i,a])}function Pi(n){const[r,i]=h.useState(!1),a=Rr(),l=a==="xs"||a==="sm",u=()=>{l||i(!0)},d=()=>{l||i(!1)};return na("mouseenter",u,n),na("mouseleave",d,n),l?!1:r}const Cv=()=>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 ya(){const[n,r]=h.useState(Cv);return h.useEffect(()=>{const i=a=>{a.pointerType==="touch"?n.isTouch||r({isMouse:!1,isTouch:!0}):a.pointerType==="mouse"&&(n.isMouse||r({isMouse:!0,isTouch:!1}))};return window.addEventListener("pointerdown",i,{passive:!0}),()=>{window.removeEventListener("pointerdown",i)}},[n]),n}var Sr={exports:{}},Sv=Sr.exports,Cu;function $v(){return Cu||(Cu=1,function(n,r){(function(i,a){var l="1.0.40",u="",d="?",g="function",v="undefined",m="object",$="string",T="major",b="model",x="name",w="type",C="vendor",S="version",F="architecture",L="console",A="mobile",I="tablet",P="smarttv",D="wearable",N="embedded",U=500,ie="Amazon",ae="Apple",xe="ASUS",W="BlackBerry",M="Browser",Z="Chrome",ee="Edge",K="Firefox",G="Google",q="Huawei",se="LG",Y="Microsoft",X="Motorola",ne="Opera",fe="Samsung",ke="Sharp",We="Sony",ze="Xiaomi",Xe="Zebra",nt="Facebook",Ye="Chromium OS",it="Mac OS",Re=" Browser",qe=function(pe,be){var le={};for(var Me in pe)be[Me]&&be[Me].length%2===0?le[Me]=be[Me].concat(pe[Me]):le[Me]=pe[Me];return le},Le=function(pe){for(var be={},le=0;le<pe.length;le++)be[pe[le].toUpperCase()]=pe[le];return be},$e=function(pe,be){return typeof pe===$?je(be).indexOf(je(pe))!==-1:!1},je=function(pe){return pe.toLowerCase()},ar=function(pe){return typeof pe===$?pe.replace(/[^\d\.]/g,u).split(".")[0]:a},st=function(pe,be){if(typeof pe===$)return pe=pe.replace(/^\s\s*/,u),typeof be===v?pe:pe.substring(0,U)},Nt=function(pe,be){for(var le=0,Me,St,vt,Te,he,bt;le<be.length&&!he;){var $n=be[le],Wn=be[le+1];for(Me=St=0;Me<$n.length&&!he&&$n[Me];)if(he=$n[Me++].exec(pe),he)for(vt=0;vt<Wn.length;vt++)bt=he[++St],Te=Wn[vt],typeof Te===m&&Te.length>0?Te.length===2?typeof Te[1]==g?this[Te[0]]=Te[1].call(this,bt):this[Te[0]]=Te[1]:Te.length===3?typeof Te[1]===g&&!(Te[1].exec&&Te[1].test)?this[Te[0]]=bt?Te[1].call(this,bt,Te[2]):a:this[Te[0]]=bt?bt.replace(Te[1],Te[2]):a:Te.length===4&&(this[Te[0]]=bt?Te[3].call(this,bt.replace(Te[1],Te[2])):a):this[Te]=bt||a;le+=2}},Kt=function(pe,be){for(var le in be)if(typeof be[le]===m&&be[le].length>0){for(var Me=0;Me<be[le].length;Me++)if($e(be[le][Me],pe))return le===d?a:le}else if($e(be[le],pe))return le===d?a:le;return be.hasOwnProperty("*")?be["*"]:pe},en={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},lt={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"},Xt={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[S,[x,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[S,[x,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[x,S],[/opios[\/ ]+([\w\.]+)/i],[S,[x,ne+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[S,[x,ne+" GX"]],[/\bopr\/([\w\.]+)/i],[S,[x,ne]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[S,[x,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[S,[x,"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)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[x,S],[/quark(?:pc)?\/([-\w\.]+)/i],[S,[x,"Quark"]],[/\bddg\/([\w\.]+)/i],[S,[x,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[S,[x,"UC"+M]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[S,[x,"WeChat"]],[/konqueror\/([\w\.]+)/i],[S,[x,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[S,[x,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[S,[x,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[S,[x,"Smart Lenovo "+M]],[/(avast|avg)\/([\w\.]+)/i],[[x,/(.+)/,"$1 Secure "+M],S],[/\bfocus\/([\w\.]+)/i],[S,[x,K+" Focus"]],[/\bopt\/([\w\.]+)/i],[S,[x,ne+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[S,[x,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[S,[x,"Dolphin"]],[/coast\/([\w\.]+)/i],[S,[x,ne+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[S,[x,"MIUI"+Re]],[/fxios\/([\w\.-]+)/i],[S,[x,K]],[/\bqihoobrowser\/?([\w\.]*)/i],[S,[x,"360"]],[/\b(qq)\/([\w\.]+)/i],[[x,/(.+)/,"$1Browser"],S],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[x,/(.+)/,"$1"+Re],S],[/samsungbrowser\/([\w\.]+)/i],[S,[x,fe+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[S,[x,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[x,"Sogou Mobile"],S],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[x,S],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[x],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[S,x],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[x,nt],S],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[x,S],[/\bgsa\/([\w\.]+) .*safari\//i],[S,[x,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[S,[x,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[S,[x,Z+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[x,Z+" WebView"],S],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[S,[x,"Android "+M]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[x,S],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[S,[x,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[S,x],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[x,[S,Kt,en]],[/(webkit|khtml)\/([\w\.]+)/i],[x,S],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[x,"Netscape"],S],[/(wolvic|librewolf)\/([\w\.]+)/i],[x,S],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[S,[x,K+" 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,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[x,[S,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[x,[S,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[F,"amd64"]],[/(ia32(?=;))/i],[[F,je]],[/((?:i[346]|x)86)[;\)]/i],[[F,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[F,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[F,"armhf"]],[/windows (ce|mobile); ppc;/i],[[F,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[F,/ower/,u,je]],[/(sun4\w)[;\)]/i],[[F,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[F,je]]],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],[b,[C,fe],[w,I]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[b,[C,fe],[w,A]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[b,[C,ae],[w,A]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[b,[C,ae],[w,I]],[/(macintosh);/i],[b,[C,ae]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[b,[C,ke],[w,A]],[/(?:honor)([-\w ]+)[;\)]/i],[b,[C,"Honor"],[w,A]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[b,[C,q],[w,I]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[b,[C,q],[w,A]],[/\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],[[b,/_/g," "],[C,ze],[w,A]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[b,/_/g," "],[C,ze],[w,I]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[b,[C,"OPPO"],[w,A]],[/\b(opd2\d{3}a?) bui/i],[b,[C,"OPPO"],[w,I]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[b,[C,"Vivo"],[w,A]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[b,[C,"Realme"],[w,A]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[b,[C,X],[w,A]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[b,[C,X],[w,I]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[b,[C,se],[w,I]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[b,[C,se],[w,A]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[b,[C,"Lenovo"],[w,I]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[b,/_/g," "],[C,"Nokia"],[w,A]],[/(pixel c)\b/i],[b,[C,G],[w,I]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[b,[C,G],[w,A]],[/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],[b,[C,We],[w,A]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[b,"Xperia Tablet"],[C,We],[w,I]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[b,[C,"OnePlus"],[w,A]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[b,[C,ie],[w,I]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[b,/(.+)/g,"Fire Phone $1"],[C,ie],[w,A]],[/(playbook);[-\w\),; ]+(rim)/i],[b,C,[w,I]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[b,[C,W],[w,A]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[b,[C,xe],[w,I]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[b,[C,xe],[w,A]],[/(nexus 9)/i],[b,[C,"HTC"],[w,I]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[C,[b,/_/g," "],[w,A]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[b,[C,"TCL"],[w,I]],[/(itel) ((\w+))/i],[[C,je],b,[w,Kt,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[b,[C,"Acer"],[w,I]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[b,[C,"Meizu"],[w,A]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[b,[C,"Ulefone"],[w,A]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[b,[C,"Energizer"],[w,A]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[b,[C,"Cat"],[w,A]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[b,[C,"Smartfren"],[w,A]],[/droid.+; (a(?:015|06[35]|142p?))/i],[b,[C,"Nothing"],[w,A]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (imo) ((?!tab)[\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[C,b,[w,A]],[/(imo) (tab \w+)/i,/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[C,b,[w,I]],[/(surface duo)/i],[b,[C,Y],[w,I]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[b,[C,"Fairphone"],[w,A]],[/(u304aa)/i],[b,[C,"AT&T"],[w,A]],[/\bsie-(\w*)/i],[b,[C,"Siemens"],[w,A]],[/\b(rct\w+) b/i],[b,[C,"RCA"],[w,I]],[/\b(venue[\d ]{2,7}) b/i],[b,[C,"Dell"],[w,I]],[/\b(q(?:mv|ta)\w+) b/i],[b,[C,"Verizon"],[w,I]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[b,[C,"Barnes & Noble"],[w,I]],[/\b(tm\d{3}\w+) b/i],[b,[C,"NuVision"],[w,I]],[/\b(k88) b/i],[b,[C,"ZTE"],[w,I]],[/\b(nx\d{3}j) b/i],[b,[C,"ZTE"],[w,A]],[/\b(gen\d{3}) b.+49h/i],[b,[C,"Swiss"],[w,A]],[/\b(zur\d{3}) b/i],[b,[C,"Swiss"],[w,I]],[/\b((zeki)?tb.*\b) b/i],[b,[C,"Zeki"],[w,I]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[C,"Dragon Touch"],b,[w,I]],[/\b(ns-?\w{0,9}) b/i],[b,[C,"Insignia"],[w,I]],[/\b((nxa|next)-?\w{0,9}) b/i],[b,[C,"NextBook"],[w,I]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[C,"Voice"],b,[w,A]],[/\b(lvtel\-)?(v1[12]) b/i],[[C,"LvTel"],b,[w,A]],[/\b(ph-1) /i],[b,[C,"Essential"],[w,A]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[b,[C,"Envizen"],[w,I]],[/\b(trio[-\w\. ]+) b/i],[b,[C,"MachSpeed"],[w,I]],[/\btu_(1491) b/i],[b,[C,"Rotor"],[w,I]],[/(shield[\w ]+) b/i],[b,[C,"Nvidia"],[w,I]],[/(sprint) (\w+)/i],[C,b,[w,A]],[/(kin\.[onetw]{3})/i],[[b,/\./g," "],[C,Y],[w,A]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[b,[C,Xe],[w,I]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[b,[C,Xe],[w,A]],[/smart-tv.+(samsung)/i],[C,[w,P]],[/hbbtv.+maple;(\d+)/i],[[b,/^/,"SmartTV"],[C,fe],[w,P]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[C,se],[w,P]],[/(apple) ?tv/i],[C,[b,ae+" TV"],[w,P]],[/crkey/i],[[b,Z+"cast"],[C,G],[w,P]],[/droid.+aft(\w+)( bui|\))/i],[b,[C,ie],[w,P]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[b,[C,ke],[w,P]],[/(bravia[\w ]+)( bui|\))/i],[b,[C,We],[w,P]],[/(mitv-\w{5}) bui/i],[b,[C,ze],[w,P]],[/Hbbtv.*(technisat) (.*);/i],[C,b,[w,P]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[C,st],[b,st],[w,P]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[w,P]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[C,b,[w,L]],[/droid.+; (shield) bui/i],[b,[C,"Nvidia"],[w,L]],[/(playstation [345portablevi]+)/i],[b,[C,We],[w,L]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[b,[C,Y],[w,L]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[b,[C,fe],[w,D]],[/((pebble))app/i],[C,b,[w,D]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[b,[C,ae],[w,D]],[/droid.+; (glass) \d/i],[b,[C,G],[w,D]],[/droid.+; (wt63?0{2,3})\)/i],[b,[C,Xe],[w,D]],[/droid.+; (glass) \d/i],[b,[C,G],[w,D]],[/(pico) (4|neo3(?: link|pro)?)/i],[C,b,[w,D]],[/; (quest( \d| pro)?)/i],[b,[C,nt],[w,D]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[C,[w,N]],[/(aeobc)\b/i],[b,[C,ie],[w,N]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[b,[w,A]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[b,[w,I]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[w,I]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[w,A]],[/(android[-\w\. ]{0,9});.+buil/i],[b,[C,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[S,[x,ee+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[x,S],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[S,[x,"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],[x,S],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[S,x]],os:[[/microsoft (windows) (vista|xp)/i],[x,S],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[x,[S,Kt,lt]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[S,Kt,lt],[x,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[S,/_/g,"."],[x,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[x,it],[S,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[S,x],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish|openharmony)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[x,S],[/\(bb(10);/i],[S,[x,W]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[S,[x,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[S,[x,K+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[S,[x,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[S,[x,"watchOS"]],[/crkey\/([\d\.]+)/i],[S,[x,Z+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[x,Ye],S],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/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) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[x,S],[/(sunos) ?([\w\.\d]*)/i],[[x,"Solaris"],S],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[x,S]]},J=function(pe,be){if(typeof pe===m&&(be=pe,pe=a),!(this instanceof J))return new J(pe,be).getResult();var le=typeof i!==v&&i.navigator?i.navigator:a,Me=pe||(le&&le.userAgent?le.userAgent:u),St=le&&le.userAgentData?le.userAgentData:a,vt=be?qe(Xt,be):Xt,Te=le&&le.userAgent==Me;return this.getBrowser=function(){var he={};return he[x]=a,he[S]=a,Nt.call(he,Me,vt.browser),he[T]=ar(he[S]),Te&&le&&le.brave&&typeof le.brave.isBrave==g&&(he[x]="Brave"),he},this.getCPU=function(){var he={};return he[F]=a,Nt.call(he,Me,vt.cpu),he},this.getDevice=function(){var he={};return he[C]=a,he[b]=a,he[w]=a,Nt.call(he,Me,vt.device),Te&&!he[w]&&St&&St.mobile&&(he[w]=A),Te&&he[b]=="Macintosh"&&le&&typeof le.standalone!==v&&le.maxTouchPoints&&le.maxTouchPoints>2&&(he[b]="iPad",he[w]=I),he},this.getEngine=function(){var he={};return he[x]=a,he[S]=a,Nt.call(he,Me,vt.engine),he},this.getOS=function(){var he={};return he[x]=a,he[S]=a,Nt.call(he,Me,vt.os),Te&&!he[x]&&St&&St.platform&&St.platform!="Unknown"&&(he[x]=St.platform.replace(/chrome os/i,Ye).replace(/macos/i,it)),he},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return Me},this.setUA=function(he){return Me=typeof he===$&&he.length>U?st(he,U):he,this},this.setUA(Me),this};J.VERSION=l,J.BROWSER=Le([x,S,T]),J.CPU=Le([F]),J.DEVICE=Le([b,C,w,L,A,P,I,D,N]),J.ENGINE=J.OS=Le([x,S]),n.exports&&(r=n.exports=J),r.UAParser=J;var Ie=typeof i!==v&&(i.jQuery||i.Zepto);if(Ie&&!Ie.ua){var De=new J;Ie.ua=De.getResult(),Ie.ua.get=function(){return De.getUA()},Ie.ua.set=function(pe){De.setUA(pe);var be=De.getResult();for(var le in be)Ie.ua[le]=be[le]}}})(typeof window=="object"?window:Sv)}(Sr,Sr.exports)),Sr.exports}var Ev=$v(),rd=(n=>(n.Desktop="Desktop",n.Mobile="Mobile",n.Tablet="Tablet",n.SmartTV="Smart TV",n.Bot="Bot/Crawler",n.Unknown="Unknown",n))(rd||{}),id=(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))(id||{}),od=(n=>(n.Windows="Windows",n.macOS="macOS",n.Linux="Linux",n.Android="Android",n.iOS="iOS",n.Other="Other",n))(od||{});const ra=n=>{const i=new Ev.UAParser(n).getResult(),l={deviceType:/bot|crawler|spider|crawling/i.test(n)?"Bot/Crawler":Av(i.device.type),browserName:Tv(i.browser.name),osName:kv(i.os.name)},u=l.deviceType==="Mobile"||l.deviceType==="Tablet";return{...i,normalized:l,isMobile:u,isDesktop:!u}},Av=n=>{if(!n)return"Desktop";const r=n.toLowerCase();return r==="mobile"?"Mobile":r==="tablet"?"Tablet":r==="smarttv"?"Smart TV":"Unknown"},Tv=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"},kv=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"},Rv=n=>{const[r,i]=h.useState(n?ra(n):void 0);return h.useEffect(()=>{r||i(ra(window.navigator.userAgent))},[r]),r},Lv=re(V)`
|
|
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:_,mixBlendMode:S,imageRendering:E,...w})=>{const C=be(),[I,R]=h.useState(!0),[M,k]=h.useState(!1),T=C.__hd__.art.defaultImageSize||C.__hd__.art.defaultSize,z=zt(r,we=>pt(C,we??T)),D=zt(i,we=>pt(C,we??T)),q=w.r||w.radius||w.borderRadius||"md",G=Hy(n);h.useEffect(()=>{!Oe.isNil(G)&&G!==n&&(R(!0),k(!1))},[n,G]);const J=()=>{R(!1)},me=()=>{k(!0),R(!1)};return y.jsx(X,{display:"flex",alignItems:"center",justifyContent:"center",width:z,height:D,overflow:"hidden",style:s,"data-testid":l,...w,children:y.jsxs(Eo,{visible:I,width:z,height:D,r:q,children:[M&&y.jsxs(X,{width:z,height:D,r:q,display:"flex",alignItems:"center",justifyContent:"center",bgColor:"grey200",children:[!I&&f,!I&&!f&&!u&&y.jsx(ot,{fontSize:"xs",color:"grey600",children:f||u}),!I&&!f&&!u&&Yy()]}),!M&&(!wt()||!d)&&y.jsx(Qy,{src:n,alt:Oe.isString(u)?u:"Image",onLoad:J,onError:me,"data-testid":l?`${l}-image`:void 0,$objectFit:g,$objectPosition:v,$aspectRatio:_,$mixBlendMode:S,$imageRendering:E}),!M&&wt()&&d&&u]})})},Ld=({art:n,width:r,height:i,style:s,"data-testid":l,...u})=>{const f=be(),d=f.__hd__.art.defaultSvgSize||f.__hd__.art.defaultSize,g=pt(f,r??d),v=pt(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"||Oe.isString(r)&&md(r)?y.jsx(Rd,{...n}):i==="svg"||Oe.isString(r)&&vd(r)?y.jsx(Ld,{...n}):i==="emoji"||Oe.isString(r)&&pd(r)?y.jsx(bd,{...n}):i==="icon"||Oe.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 _;const l=be(),u=l.__hd__.avatar,f=i||u.defaultSize,d=pt(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(ot,{color:"white",fontSize:g,fontWeight:"semibold",children:((_=r==null?void 0:r.charAt(0))==null?void 0:_.toUpperCase())||"U"})})})};function eb(n){const[r,i]=h.useState(()=>(wt(),!1));return h.useEffect(()=>{if(wt())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 pi=(n="xl")=>{const[r,i]=h.useState(()=>(typeof window>"u"||!window.matchMedia,n));return h.useEffect(()=>{if(wt())return;const l=["xl","lg","md","sm"].map(d=>({key:d,mql:window.matchMedia(`(min-width: ${di[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(()=>wt()?{width:void 0,height:void 0}:{width:void 0,height:void 0});return h.useEffect(()=>{if(wt())return;function i(){r(tb())}return i(),window.addEventListener("resize",i),()=>window.removeEventListener("resize",i)},[]),n},Tr=typeof window<"u"?h.useLayoutEffect:h.useEffect;function da(n,r,i,s){const l=h.useRef(r);Tr(()=>{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 Ao(n){const[r,i]=h.useState(!1),s=pi(),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",Rr="",Wc="?",vo="function",Wn="undefined",Lr="object",pa="string",$t="browser",xn="cpu",un="device",nn="engine",Ut="os",Ar="result",K="name",B="type",U="vendor",Y="version",kt="architecture",li="major",Z="model",oi="console",xe="mobile",We="tablet",et="smarttv",ln="wearable",Qs="xr",si="embedded",Xr="inapp",Oa="brands",nr="formFactors",Ma="fullVersionList",$r="platform",Fa="platformVersion",$o="bitness",Zn="sec-ch-ua",ib=Zn+"-full-version-list",ob=Zn+"-arch",sb=Zn+"-"+$o,ab=Zn+"-form-factors",lb=Zn+"-"+xe,ub=Zn+"-"+Z,Md=Zn+"-"+$r,cb=Md+"-version",Fd=[Oa,Ma,xe,Z,$r,Fa,kt,nr,$o],io="Amazon",xr="Apple",Dc="ASUS",Hc="BlackBerry",Jn="Google",Zc="Huawei",Nc="Lenovo",Vc="Honor",oo="LG",Js="Microsoft",ea="Motorola",ta="Nvidia",Uc="OnePlus",na="OPPO",Yr="Samsung",qc="Sharp",Qr="Sony",ra="Xiaomi",ia="Zebra",Gc="Chrome",Kc="Chromium",jn="Chromecast",fb="Edge",Jr="Firefox",ei="Opera",oa="Facebook",Xc="Sogou",_r="Mobile ",ti=" Browser",ga="Windows",db=typeof window!==Wn,Tt=db&&window.navigator?window.navigator:void 0,Bn=Tt&&Tt.userAgentData?Tt.userAgentData:void 0,hb=function(n,r){var i={},s=r;if(!yo(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},ko=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===Lr&&n.length>0){for(var i in n)if(_n(n[i])==_n(r))return!0;return!1}return Mr(n)?_n(r).indexOf(_n(n))!==-1:!1},yo=function(n,r){for(var i in n)return/^(browser|cpu|device|engine|os)$/.test(i)||(r?yo(n[i]):!1)},Mr=function(n){return typeof n===pa},sa=function(n){if(n){for(var r=[],i=Ir(/\\?\"/g,n).split(","),s=0;s<i.length;s++)if(i[s].indexOf(";")>-1){var l=ui(i[s]).split(";v=");r[s]={brand:l[0],version:l[1]}}else r[s]=ui(i[s]);return r}},_n=function(n){return Mr(n)?n.toLowerCase():n},aa=function(n){return Mr(n)?Ir(/[^\d\.]/g,n).split(".")[0]:void 0},Cn=function(n){for(var r in n){var i=n[r];typeof i==Lr&&i.length==2?this[i[0]]=i[1]:this[i]=void 0}return this},Ir=function(n,r){return Mr(r)?r.replace(n,Rr):r},ni=function(n){return Ir(/\\?\"/g,n)},ui=function(n,r){if(Mr(n))return n=Ir(/^\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],_=r[i+1];for(s=l=0;s<v.length&&!d&&v[s];)if(d=v[s++].exec(n),d)for(u=0;u<_.length;u++)g=d[++l],f=_[u],typeof f===Lr&&f.length>0?f.length===2?typeof f[1]==vo?this[f[0]]=f[1].call(this,g):this[f[0]]=f[1]:f.length===3?typeof f[1]===vo&&!(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]===Lr&&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,_r+"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,ei+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[Y,[K,ei+" GX"]],[/\bopr\/([\w\.]+)/i],[Y,[K,ei]],[/\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+ti]],[/(avast|avg)\/([\w\.]+)/i],[[K,/(.+)/,"$1 Secure"+ti],Y],[/\bfocus\/([\w\.]+)/i],[Y,[K,Jr+" Focus"]],[/\bopt\/([\w\.]+)/i],[Y,[K,ei+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[Y,[K,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[Y,[K,"Dolphin"]],[/coast\/([\w\.]+)/i],[Y,[K,ei+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[Y,[K,"MIUI"+ti]],[/fxios\/([\w\.-]+)/i],[Y,[K,_r+Jr]],[/\bqihoobrowser\/?([\w\.]*)/i],[Y,[K,"360"]],[/\b(qq)\/([\w\.]+)/i],[[K,/(.+)/,"$1Browser"],Y],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[K,/(.+)/,"$1"+ti],Y],[/samsungbrowser\/([\w\.]+)/i],[Y,[K,Yr+" 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,[B,Xr]],[/(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,Xr]],[/\bgsa\/([\w\.]+) .*safari\//i],[Y,[K,"GSA"],[B,Xr]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[Y,[K,"TikTok"],[B,Xr]],[/\[(linkedin)app\]/i],[K,[B,Xr]],[/(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"+ti]],[/chrome\/([\w\.]+) mobile/i],[Y,[K,_r+"Chrome"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[K,Y],[/version\/([\w\.\,]+) .*mobile(?:\/\w+ | ?)safari/i],[Y,[K,_r+"Safari"]],[/iphone .*mobile(?:\/\w+ | ?)safari/i],[[K,_r+"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,_r+Jr],Y],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[K,"Netscape"],Y],[/(wolvic|librewolf)\/([\w\.]+)/i],[K,Y],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[Y,[K,Jr+" 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\.]+./,Rr]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[kt,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[kt,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[kt,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[kt,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[kt,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[kt,/ower/,Rr,_n]],[/ sun4\w[;\)]/i],[[kt,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[kt,_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],[Z,[U,Yr],[B,We]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[Z,[U,Yr],[B,xe]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[Z,[U,xr],[B,xe]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[Z,[U,xr],[B,We]],[/(macintosh);/i],[Z,[U,xr]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[Z,[U,qc],[B,xe]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[Z,[U,Vc],[B,We]],[/honor([-\w ]+)[;\)]/i],[Z,[U,Vc],[B,xe]],[/\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],[Z,[U,Zc],[B,We]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[Z,[U,Zc],[B,xe]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[Z,/_/g," "],[U,ra],[B,We]],[/\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],[[Z,/_/g," "],[U,ra],[B,xe]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[Z,[U,na],[B,xe]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[Z,[U,Pn,{OnePlus:["304","403","203"],"*":na}],[B,We]],[/(vivo (5r?|6|8l?|go|one|s|x[il]?[2-4]?)[\w\+ ]*)(?: bui|\))/i],[Z,[U,"BLU"],[B,xe]],[/; vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[Z,[U,"Vivo"],[B,xe]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[Z,[U,"Realme"],[B,xe]],[/\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],[Z,[U,ea],[B,xe]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[Z,[U,ea],[B,We]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[Z,[U,oo],[B,We]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+(?!.*(?:browser|netcast|android tv|watch))(\w+)/i,/\blg-?([\d\w]+) bui/i],[Z,[U,oo],[B,xe]],[/(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],[Z,[U,Nc],[B,We]],[/(nokia) (t[12][01])/i],[U,Z,[B,We]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[Z,/_/g," "],[B,xe],[U,"Nokia"]],[/(pixel (c|tablet))\b/i],[Z,[U,Jn],[B,We]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[Z,[U,Jn],[B,xe]],[/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],[Z,[U,Qr],[B,xe]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[Z,"Xperia Tablet"],[U,Qr],[B,We]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[Z,[U,Uc],[B,xe]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[Z,[U,io],[B,We]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[Z,/(.+)/g,"Fire Phone $1"],[U,io],[B,xe]],[/(playbook);[-\w\),; ]+(rim)/i],[Z,U,[B,We]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[Z,[U,Hc],[B,xe]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[Z,[U,Dc],[B,We]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[Z,[U,Dc],[B,xe]],[/(nexus 9)/i],[Z,[U,"HTC"],[B,We]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[U,[Z,/_/g," "],[B,xe]],[/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],[Z,[U,"TCL"],[B,We]],[/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],[Z,[U,"TCL"],[B,xe]],[/(itel) ((\w+))/i],[[U,_n],Z,[B,Pn,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[Z,[U,"Acer"],[B,We]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[Z,[U,"Meizu"],[B,xe]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[Z,[U,"Ulefone"],[B,xe]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[Z,[U,"Energizer"],[B,xe]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[Z,[U,"Cat"],[B,xe]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[Z,[U,"Smartfren"],[B,xe]],[/droid.+; (a(?:015|06[35]|142p?))/i],[Z,[U,"Nothing"],[B,xe]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[Z,[U,"Archos"],[B,We]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[Z,[U,"Archos"],[B,xe]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[U,Z,[B,We]],[/(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],[U,Z,[B,xe]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i],[U,Z,[B,We]],[/(surface duo)/i],[Z,[U,Js],[B,We]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[Z,[U,"Fairphone"],[B,xe]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[Z,[U,ta],[B,We]],[/(sprint) (\w+)/i],[U,Z,[B,xe]],[/(kin\.[onetw]{3})/i],[[Z,/\./g," "],[U,Js],[B,xe]],[/droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[Z,[U,ia],[B,We]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[Z,[U,ia],[B,xe]],[/smart-tv.+(samsung)/i],[U,[B,et]],[/hbbtv.+maple;(\d+)/i],[[Z,/^/,"SmartTV"],[U,Yr],[B,et]],[/tcast.+(lg)e?. ([-\w]+)/i],[U,Z,[B,et]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[U,oo],[B,et]],[/(apple) ?tv/i],[U,[Z,xr+" TV"],[B,et]],[/crkey.*devicetype\/chromecast/i],[[Z,jn+" Third Generation"],[U,Jn],[B,et]],[/crkey.*devicetype\/([^/]*)/i],[[Z,/^/,"Chromecast "],[U,Jn],[B,et]],[/fuchsia.*crkey/i],[[Z,jn+" Nest Hub"],[U,Jn],[B,et]],[/crkey/i],[[Z,jn],[U,Jn],[B,et]],[/(portaltv)/i],[Z,[U,oa],[B,et]],[/droid.+aft(\w+)( bui|\))/i],[Z,[U,io],[B,et]],[/(shield \w+ tv)/i],[Z,[U,ta],[B,et]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[Z,[U,qc],[B,et]],[/(bravia[\w ]+)( bui|\))/i],[Z,[U,Qr],[B,et]],[/(mi(tv|box)-?\w+) bui/i],[Z,[U,ra],[B,et]],[/Hbbtv.*(technisat) (.*);/i],[U,Z,[B,et]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[U,ui],[Z,ui],[B,et]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[Z,[B,et]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[B,et]],[/(ouya)/i,/(nintendo) (\w+)/i],[U,Z,[B,oi]],[/droid.+; (shield)( bui|\))/i],[Z,[U,ta],[B,oi]],[/(playstation \w+)/i],[Z,[U,Qr],[B,oi]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[Z,[U,Js],[B,oi]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[Z,[U,Yr],[B,ln]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[U,Z,[B,ln]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[Z,[U,na],[B,ln]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[Z,[U,xr],[B,ln]],[/(opwwe\d{3})/i],[Z,[U,Uc],[B,ln]],[/(moto 360)/i],[Z,[U,ea],[B,ln]],[/(smartwatch 3)/i],[Z,[U,Qr],[B,ln]],[/(g watch r)/i],[Z,[U,oo],[B,ln]],[/droid.+; (wt63?0{2,3})\)/i],[Z,[U,ia],[B,ln]],[/droid.+; (glass) \d/i],[Z,[U,Jn],[B,Qs]],[/(pico) (4|neo3(?: link|pro)?)/i],[U,Z,[B,Qs]],[/(quest( \d| pro)?s?).+vr/i],[Z,[U,oa],[B,Qs]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[U,[B,si]],[/(aeobc)\b/i],[Z,[U,io],[B,si]],[/(homepod).+mac os/i],[Z,[U,xr],[B,si]],[/windows iot/i],[[B,si]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+?(mobile|vr|\d) safari/i],[Z,[B,Pn,{mobile:"Mobile",xr:"VR","*":We}]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[B,We]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[B,xe]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[Z,[U,"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,Jr+" 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]]},so=function(){var n={init:{},isIgnore:{},isIgnoreRgx:{},toString:{}};return Cn.call(n.init,[[$t,[K,Y,li,B]],[xn,[kt]],[un,[B,Z,U]],[nn,[K,Y]],[Ut,[K,Y]]]),Cn.call(n.isIgnore,[[$t,[Y,li]],[nn,[Y]],[Ut,[Y]]]),Cn.call(n.isIgnoreRgx,[[$t,/ ?browser$/i],[Ut,/ ?os$/i]]),Cn.call(n.toString,[[$t,[K,Y]],[xn,[kt]],[un,[U,Z]],[nn,[K,Y]],[Ut,[K,Y]]]),n}(),pb=function(n,r){var i=so.init[r],s=so.isIgnore[r]||0,l=so.isIgnoreRgx[r]||0,u=so.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!=Ar&&(f.prototype.is=function(d){var g=!1;for(var v in this)if(this.hasOwnProperty(v)&&!ma(s,v)&&_n(l?Ir(l,this[v]):this[v])==_n(l?Ir(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=Rr;for(var g in u)typeof this[u[g]]!==Wn&&(d+=(d?" ":Rr)+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 _=new v;return d(_),_}),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])],[xe,/\?1/.test(n[lb])],[Z,ni(n[ub])],[$r,ni(n[Md])],[Fa,ni(n[cb])],[kt,ni(n[ob])],[nr,sa(n[ab])],[$o,ni(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(Tt&&Tt.userAgent==this.ua)switch(this.itemType){case $t:Tt.brave&&typeof Tt.brave.isBrave==vo&&this.set(K,"Brave");break;case un:!this.get(B)&&Bn&&Bn[xe]&&this.set(B,xe),this.get(Z)=="Macintosh"&&Tt&&typeof Tt.standalone!==Wn&&Tt.maxTouchPoints&&Tt.maxTouchPoints>2&&this.set(Z,"iPad").set(B,We);break;case Ut:!this.get(K)&&Bn&&Bn[$r]&&this.set(K,Bn[$r]);break;case Ar:var l=this.data,u=function(f){return l[f].getItem().detectFeature().get()};this.set($t,u($t)).set(xn,u(xn)).set(un,u(un)).set(nn,u(nn)).set(Ut,u(Ut))}return this},this.parseUA=function(){return this.itemType!=Ar&&la.call(this.data,this.ua,this.rgxMap),this.itemType==$t&&this.set(li,aa(this.get(Y))),this},this.parseCH=function(){var l=this.uaCH,u=this.rgxMap;switch(this.itemType){case $t:case nn:var f=l[Ma]||l[Oa],d;if(f)for(var g in f){var v=f[g].brand||f[g],_=f[g].version;this.itemType==$t&&!/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,_).set(li,aa(_)),d=v),this.itemType==nn&&v==Kc&&this.set(Y,_)}break;case xn:var S=l[kt];S&&(S&&l[$o]=="64"&&(S+="64"),la.call(this.data,S+";",u));break;case un:if(l[xe]&&this.set(B,xe),l[Z]&&(this.set(Z,l[Z]),!this.get(B)||!this.get(U))){var E={};la.call(E,"droid 9; "+l[Z]+")",u),!this.get(B)&&E.type&&this.set(B,E.type),!this.get(U)&&E.vendor&&this.set(U,E.vendor)}if(l[nr]){var w;if(typeof l[nr]!="string")for(var C=0;!w&&C<l[nr].length;)w=Pn(l[nr][C++],Qc);else w=Pn(l[nr],Qc);this.set(B,w)}break;case Ut:var I=l[$r];if(I){var R=l[Fa];I==ga&&(R=parseInt(aa(R),10)>=13?"11":"10"),this.set(K,I).set(Y,R)}this.get(K)==ga&&l[Z]=="Xbox"&&this.set(K,"Xbox").set(Y,void 0);break;case Ar:var M=this.data,k=function(T){return M[T].getItem().setCH(l).parseCH().get()};this.set($t,k($t)).set(xn,k(xn)).set(un,k(un)).set(nn,k(nn)).set(Ut,k(Ut))}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===Lr?(yo(n,!0)?(typeof r===Lr&&(i=r),r=n):(i=n,r=void 0),n=void 0):typeof n===pa&&!yo(r,!0)&&(i=r,r=void 0),i&&typeof i.append===vo){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]:Tt&&Tt.userAgent?Tt.userAgent:Rr,u=new zd(i,!0),f=r?hb(Jc,r):Jc,d=function(g){return g==Ar?function(){return new ef(g,l,f,u).set("ua",l).set($t,this.getBrowser()).set(xn,this.getCPU()).set(un,this.getDevice()).set(nn,this.getEngine()).set(Ut,this.getOS()).get()}:function(){return new ef(g,l,f[g],u).parseUA().get()}};return Cn.call(this,[["getBrowser",d($t)],["getCPU",d(xn)],["getDevice",d(un)],["getEngine",d(nn)],["getOS",d(Ut)],["getResult",d(Ar)],["getUA",function(){return l}],["setUA",function(g){return Mr(g)&&(l=g.length>ha?ui(g,ha):g),this}]]).setUA(l),this}En.VERSION=rb;En.BROWSER=ko([K,Y,li,B]);En.CPU=ko([kt]);En.DEVICE=ko([Z,U,B,oi,xe,et,We,ln,si]);En.ENGINE=En.OS=ko([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=ue(X)`
|
|
63
63
|
position: absolute;
|
|
64
64
|
top: 0;
|
|
65
65
|
left: 0;
|
|
@@ -68,7 +68,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
68
68
|
display: flex;
|
|
69
69
|
justify-content: center;
|
|
70
70
|
align-items: center;
|
|
71
|
-
`,
|
|
71
|
+
`,wb=ue.div`
|
|
72
72
|
width: ${({size:n})=>n};
|
|
73
73
|
height: ${({size:n})=>n};
|
|
74
74
|
border-radius: 50%;
|
|
@@ -94,7 +94,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
94
94
|
transform: rotate(360deg);
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
|
-
`,
|
|
97
|
+
`,tf=({size:n,color:r="primary","data-testid":i})=>{const s=be(),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=be(),[d,g]=h.useState(r),[v,_]=h.useState(r?1:0),[S,E]=h.useState(r?0:1);return h.useEffect(()=>{let w;return r?(g(!0),_(1),E(0)):(_(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},_){const S=be(),[E,w]=h.useState(!1),C=h.useCallback(()=>{w(!0)},[]),I=h.useCallback(()=>{w(!1)},[]),R=h.useCallback(()=>{w(!1)},[]),M=h.useMemo(()=>{const T=[];return s&&T.push("transform 0.2s ease"),l&&T.push("opacity 0.2s ease"),T.join(", ")},[s,l]),k={ref:_,onClick:r,onMouseDown:C,onMouseUp:I,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,...k,children:n}):y.jsx(X,{...k,children:n})}const _b=h.forwardRef(xb),Gt=_b,To=(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=ue(X)`
|
|
98
98
|
display: flex;
|
|
99
99
|
flex-direction: row;
|
|
100
100
|
justify-content: center;
|
|
@@ -113,26 +113,26 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
113
113
|
|
|
114
114
|
@media (min-width: 900px) {
|
|
115
115
|
&:hover {
|
|
116
|
-
${({$disabled:n,$variant:r,$color:i,$borderWidth:
|
|
116
|
+
${({$disabled:n,$variant:r,$color:i,$borderWidth:s,theme:l})=>!n&&`
|
|
117
117
|
opacity: 1; // Ensure full opacity on hover
|
|
118
118
|
// Solid: background white, border with main color
|
|
119
|
-
${r==="solid"?`background-color: ${l.colors.white}; border-color: ${l.colors[i]}; border-width: ${l.borderWidths[
|
|
119
|
+
${r==="solid"?`background-color: ${l.colors.white}; border-color: ${l.colors[i]}; border-width: ${l.borderWidths[s]}px;`:""}
|
|
120
120
|
// Outlined: background with main color, border remains same (or becomes transparent/main color based on design)
|
|
121
121
|
${r==="outlined"?`background-color: ${l.colors[i]}; border-color: ${l.colors[i]};`:""}
|
|
122
122
|
// Text variant doesn't change background or border on hover
|
|
123
123
|
`}
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
|
-
`,
|
|
127
|
-
color: ${({theme:n,$themeColor:r,$themeTextColor:i,$variant:
|
|
126
|
+
`,Cb=ue(ot)`
|
|
127
|
+
color: ${({theme:n,$themeColor:r,$themeTextColor:i,$variant:s,$disabled:l})=>To(n,r,i,s,l)};
|
|
128
128
|
font-size: ${({theme:n,$themeFontSize:r})=>n.__hd__.text.fontSizes[r]}px;
|
|
129
129
|
font-weight: ${({theme:n,$themeFontWeight:r})=>n.__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
|
-
${
|
|
135
|
-
${({$variant:n,theme:r,$themeColor:i,$disabled:
|
|
134
|
+
${ja}:hover & {
|
|
135
|
+
${({$variant:n,theme:r,$themeColor:i,$disabled:s})=>!s&&`
|
|
136
136
|
// Solid: text becomes main color
|
|
137
137
|
${n==="solid"?`color: ${r.colors[i]};`:""}
|
|
138
138
|
// Outlined: text becomes white
|
|
@@ -142,20 +142,20 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
142
142
|
`}
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
|
-
|
|
145
|
+
`,nf=ue(X)`
|
|
146
146
|
display: flex;
|
|
147
147
|
align-items: center;
|
|
148
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:
|
|
150
|
-
`,
|
|
149
|
+
margin-right: ${({theme:n,$themePosition:r,$iconSpacing:i,$hasText:s})=>r==="left"&&s?`${n.spaces[i]}px`:0};
|
|
150
|
+
`,rf=ue(qt)`
|
|
151
151
|
transition: color 0.2s ease-in-out;
|
|
152
|
-
color: ${({theme:n,$themeColor:r,$themeTextColor:i,$variant:
|
|
152
|
+
color: ${({theme:n,$themeColor:r,$themeTextColor:i,$variant:s,$disabled:l})=>To(n,r,i,s,l)};
|
|
153
153
|
width: ${({theme:n,$iconSize:r})=>n.sizes[r]}px;
|
|
154
154
|
height: ${({theme:n,$iconSize:r})=>n.sizes[r]}px;
|
|
155
155
|
|
|
156
156
|
@media (min-width: 900px) {
|
|
157
|
-
${
|
|
158
|
-
${({$variant:n,theme:r,$themeColor:i,$disabled:
|
|
157
|
+
${ja}:hover & {
|
|
158
|
+
${({$variant:n,theme:r,$themeColor:i,$disabled:s})=>!s&&`
|
|
159
159
|
// Solid: text becomes main color
|
|
160
160
|
${n==="solid"?`color: ${r.colors[i]};`:""}
|
|
161
161
|
// Outlined: text becomes white
|
|
@@ -165,7 +165,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
165
165
|
`}
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
|
-
`,
|
|
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:_,"data-testid":S,text:E,...w})=>{var V;const C=be(),I=C.__hd__.button,R=I.defaultColor||"primary",M=i||R,k=((V=I.variants)==null?void 0:V[g])||{},T=I.sizes[v],z=n||l,D=h.useMemo(()=>z&&g==="solid"?"disabled":g==="solid"?M:k.bgColor||"transparent",[M,z,g,k.bgColor]),q=h.useMemo(()=>To(C,M,s,g,z),[C,M,s,g,z]),G=le=>{n||l||u==null||u(le)},J=g==="text"?"none":T.paddingHorizontal,me=g==="text"?"none":T.paddingVertical,we=T.fontSize,$e=T.iconSize,H=I.iconSpacing||"xs",j=y.jsxs(X,{display:"flex",alignItems:"center",gap:H,children:[r&&y.jsx(nf,{$themePosition:"left",$iconSpacing:H,$hasText:!!E,children:y.jsx(rf,{$themeColor:M,$themeTextColor:s,$variant:g,$disabled:z,$iconSize:$e,type:"icon",art:r,weight:T.iconWeight,size:$e})}),E&&y.jsx(Cb,{$themeColor:M,$themeTextColor:s,$themeFontSize:we,$themeFontWeight:T.fontWeight,$disabled:z,$variant:g,as:"span",children:E}),f&&y.jsx(nf,{$themePosition:"right",$iconSpacing:H,children:y.jsx(rf,{$themeColor:M,$themeTextColor:s,$variant:g,$disabled:z,$iconSize:$e,weight:T.iconWeight,type:"icon",art:f,size:$e})})]});return y.jsx(Gt,{onClick:G,style:_,"data-testid":S,...w,children:y.jsx(ja,{$backgroundColor:D,$paddingHorizontal:J,$paddingVertical:me,$borderRadius:T.squircleBorderRadii[d],$borderWidth:T.borderWidth,$disabled:z,$variant:g,$color:M,$size:v,children:y.jsx(za,{size:"small",color:q,loading:l,display:"flex",alignItems:"center",justifyContent:"center",children:j})})})},Sb=ue(X)`
|
|
169
169
|
background-color: ${({theme:n,$color:r})=>n.colors[r]};
|
|
170
170
|
${({$orientation:n,$thickness:r})=>n==="horizontal"?`
|
|
171
171
|
height: ${r}px;
|
|
@@ -174,7 +174,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
174
174
|
width: ${r}px;
|
|
175
175
|
height: 100%;
|
|
176
176
|
`}
|
|
177
|
-
`,
|
|
177
|
+
`,Wd=({orientation:n="horizontal",color:r,thickness:i,...s})=>{var v,_;const l=be(),u=(v=l.__hd__.divider)==null?void 0:v.defaultColor,f=(_=l.__hd__.divider)==null?void 0:_.defaultThickness,d=r||u||"grey300",g=i||f||1;return y.jsx(Sb,{$orientation:n,$color:d,$thickness:g,...s})},Dd=ue(Gt)`
|
|
178
178
|
display: flex;
|
|
179
179
|
align-items: center;
|
|
180
180
|
justify-content: center;
|
|
@@ -191,13 +191,13 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
191
191
|
box-shadow: ${({$themeHoverBoxShadow:n})=>n};
|
|
192
192
|
background-color: ${({theme:n,$themeHoverBackgroundColor:r})=>n.colors[r]};
|
|
193
193
|
}
|
|
194
|
-
`,
|
|
194
|
+
`,of=ue.span`
|
|
195
195
|
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;
|
|
196
196
|
color: ${({theme:n,$themeColor:r})=>n.colors[r]};
|
|
197
197
|
font-weight: ${({theme:n,$themeFontWeight:r})=>n.__hd__.text.fontWeights[r]};
|
|
198
198
|
font-size: ${({theme:n,$themeFontSize:r})=>n.__hd__.text.fontSizes[r]}px;
|
|
199
199
|
rotate: ${({$isDropdownItem:n,$isDropdownOpen:r})=>!n&&r?"-180deg":void 0};
|
|
200
|
-
${
|
|
200
|
+
${Dd}:hover & {
|
|
201
201
|
color: ${({theme:n,$themeHoverColor:r})=>n.colors[r]};
|
|
202
202
|
rotate: ${({$isDropdownItem:n,$isDropdownOpen:r})=>!n&&r?"-90deg":void 0};
|
|
203
203
|
}
|
|
@@ -205,22 +205,22 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
205
205
|
opacity: 0;
|
|
206
206
|
`}
|
|
207
207
|
white-space: nowrap;
|
|
208
|
-
`,_a=({label:n,isActive:r,isLoading:i,dropdownItems:a=[],onClick:l,size:u="large",isDropdownOpen:d=!1,isDropdownItem:g=!1,onMouseEnter:v,onToggleDropdown:m,paddingX:$,paddingY:T})=>{const b=ve(),{isTouch:x}=ya(),w=a.length>0,C=()=>{if(x&&w){d?l==null||l():m==null||m();return}l==null||l()},S=b.__hd__.header,F=S.navItem,L=r?F.active:F.inactive,A=h.useMemo(()=>g?"transparent":d?L.hoverBackgroundColor:L.backgroundColor,[g,d,L.backgroundColor,L.hoverBackgroundColor]);return y.jsxs(sd,{onClick:C,onMouseEnter:v,$themeBackgroundColor:A,$themeBoxShadow:!g&&d?L.hoverBoxShadow:"none",$themeHoverBackgroundColor:g?"transparent":L.hoverBackgroundColor,$themeHoverBoxShadow:g?"none":L.hoverBoxShadow,$themeHoverColor:F.active.backgroundColor,$themeRadius:F.radius,$themePaddingX:$??F.paddingX,$themePaddingY:T??F.paddingY,$gap:S.loadingGap,children:[y.jsx(V,{display:"flex",justifyContent:"start",flex:1,children:y.jsx(Au,{$themeFontWeight:L.fontWeight,$themeFontSize:F[u].fontSize,$themeColor:L.color,$themeHoverColor:F.hover.color,$isLoading:i??!1,children:n})}),(a.length>0||d)&&y.jsxs(Au,{$themeFontWeight:L.fontWeight,$themeFontSize:F[u].fontSize,$themeColor:L.color,$themeHoverColor:F.hover.color,$isLoading:i??!1,$isDropdownOpen:d,$isDropdownItem:g,children:[a.length>0&&y.jsx(va,{size:16,weight:"bold"}),g&&y.jsx(kr,{rotate:45,size:16,weight:"bold"})]}),y.jsx(V,{display:"flex",alignItems:"center",justifyContent:"center",absoluteFill:!0,opacity:i?1:0,transition:"opacity 0.2s ease-in-out",children:y.jsx(wa,{size:F[u].loadingSize,color:L.color})})]})};function zv({userProfile:n,dropdownItems:r,maxHeight:i},a){const l=ve(),u=l.__hd__.header.profileDropdown,[d,g]=h.useState(!1),v=h.useRef(null),m=h.useRef(null),$=Ae.isString(u.minWidth)&&zn(u.minWidth)?l.sizes[u.minWidth]:u.minWidth,T=Ae.isString(i)&&zn(i)?l.sizes[i]:i||u.defaultMaxHeight,b=()=>{v.current&&clearTimeout(v.current),m.current&&clearTimeout(m.current)},x=(C=()=>{})=>{b(),g(!0),v.current=setTimeout(C,u.animationDuration)},w=(C=()=>{})=>{b(),g(!1),m.current=setTimeout(C,u.animationDuration)};return h.useImperativeHandle(a,()=>({showDropdown:x,hideDropdown:w})),y.jsx(V,{position:"absolute",top:u.offset.top,right:u.offset.right,minWidth:$,zIndex:d?l.zIndex.getZIndex("AIC_Kits_Dropdown"):-1,opacity:d?1:0,transition:`opacity ${u.animationDuration}ms ease-in-out, z-index ${u.animationDuration}ms ease-in-out`,onMouseEnter:()=>x(),onMouseLeave:()=>w(),children:y.jsxs(V,{overflow:"hidden",mt:u.spacingTop,mr:u.containerPaddingRight,padding:u.padding,backgroundColor:u.backgroundColor,boxShadow:u.boxShadow,maxHeight:d?T: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(V,{py:u.padding,mx:"md",children:y.jsx(tt,{textAlign:"left",children:n.name})}):y.jsx(V,{py:u.padding,mx:"md",children:y.jsx(tt,{textAlign:"left",children:n==null?void 0:n.email})}),y.jsx(V,{p:u.padding,children:y.jsx(ad,{})}),r==null?void 0:r.map(C=>y.jsx(_a,{label:C.label,onClick:C.onClick,isActive:C.isActive,size:"medium",isDropdownItem:!0},C.label))]})})}const jv=h.forwardRef(zv),ld=({isSignedIn:n=!1,isDropdownVisible:r,setIsDropdownVisible:i,userProfile:a,dropdownItems:l,profileDropdownMaxHeight:u,onProfileClick:d,onSignInClick:g,onRegisterClick:v})=>{const m=ve(),[$,T]=h.useState(!1),[b,x]=h.useState(!0),w=h.useDeferredValue($),C=Rr(),S=!mt()&&C==="xs";h.useEffect(()=>{mt()||(T(!S),setTimeout(()=>{x(!1)},300))},[S]);const F=m.__hd__.header.avatarSize||"md",L=h.useRef(null),A=()=>{var P;i(!0),(P=L.current)==null||P.showDropdown()},I=()=>{var P;(P=L.current)==null||P.hideDropdown(()=>{i(!1)})};return h.useEffect(()=>{r?A():I()},[r]),y.jsx(Fi,{display:"flex",visible:b,maxWidth:w?"100%":"0px",maxHeight:w?"100%":"0px",opacity:w?1:0,variant:"transparent",transition:"max-width 0.3s ease-in-out, opacity 0.3s ease-in-out",r:"lg",children:y.jsxs(V,{display:"flex",flexDirection:"row",alignItems:"center",children:[n?y.jsx(Zt,{onClick:d,children:y.jsxs(V,{display:"flex",flexDirection:"row",alignItems:"center",p:"sm",r:"full",bgColor:"grey100",onMouseEnter:A,onMouseLeave:I,children:[y.jsx(ed,{src:a==null?void 0:a.avatar,name:a==null?void 0:a.name,size:F}),(a==null?void 0:a.name)&&y.jsx(V,{ml:"sm",children:y.jsx(tt,{fontWeight:"medium",children:a.name})})]})}):y.jsxs(y.Fragment,{children:[y.jsx(V,{mr:"md",children:y.jsx(ia,{text:"Sign in",variant:"text",color:"black",onClick:g})}),y.jsx(ia,{text:"Register",color:"primary",corner:"rounded",onClick:v})]}),n&&y.jsx(jv,{ref:L,userProfile:a,dropdownItems:l,maxHeight:u})]})})},Bv="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=({onLogoClick:n})=>y.jsx(V,{children:y.jsx(Zt,{onClick:n,children:y.jsx(Dt,{art:Bv,type:"svg",width:"lg",height:"lg"})})}),Wv=({dropdownMaxHeight:n,dropdownMinWidth:r,isDropdownOpen:i=!1,dropdownItems:a=[]})=>{const l=ve(),u=l.__hd__.header.navDropdown,d=Ae.isString(n)&&zn(n)?l.sizes[n]:n||u.defaultMaxHeight,g=Ae.isString(r)&&zn(r)?l.sizes[r]:r||u.minWidth;return y.jsx(V,{position:"absolute",top:"100%",left:0,minWidth:g,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(V,{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?d:0,transition:`max-height ${u.animationDuration}ms ease-in`,style:{borderRadius:u.borderRadius},children:a.length>0&&a.map((v,m)=>y.jsx(_a,{isDropdownOpen:!0,isDropdownItem:!0,size:"medium",paddingX:"none",paddingY:"none",...v},`nav-dropdown-item-${m}`))})})},Dv=re.span`
|
|
208
|
+
`,Ba=({label:n,isActive:r,isLoading:i,dropdownItems:s=[],onClick:l,size:u="large",isDropdownOpen:f=!1,isDropdownItem:d=!1,onMouseEnter:g,onToggleDropdown:v,paddingX:_,paddingY:S})=>{const E=be(),{isTouch:w}=Ia(),C=s.length>0,I=()=>{if(w&&C){f?l==null||l():v==null||v();return}l==null||l()},R=E.__hd__.header,M=R.navItem,k=r?M.active:M.inactive,T=h.useMemo(()=>d?"transparent":f?k.hoverBackgroundColor:k.backgroundColor,[d,f,k.backgroundColor,k.hoverBackgroundColor]);return y.jsxs(Dd,{onClick:I,onMouseEnter:g,$themeBackgroundColor:T,$themeBoxShadow:!d&&f?k.hoverBoxShadow:"none",$themeHoverBackgroundColor:d?"transparent":k.hoverBackgroundColor,$themeHoverBoxShadow:d?"none":k.hoverBoxShadow,$themeHoverColor:M.active.backgroundColor,$themeRadius:M.radius,$themePaddingX:_??M.paddingX,$themePaddingY:S??M.paddingY,$gap:R.loadingGap,children:[y.jsx(X,{display:"flex",justifyContent:"start",flex:1,children:y.jsx(of,{$themeFontWeight:k.fontWeight,$themeFontSize:M[u].fontSize,$themeColor:k.color,$themeHoverColor:M.hover.color,$isLoading:i??!1,children:n})}),(s.length>0||f)&&y.jsxs(of,{$themeFontWeight:k.fontWeight,$themeFontSize:M[u].fontSize,$themeColor:k.color,$themeHoverColor:M.hover.color,$isLoading:i??!1,$isDropdownOpen:f,$isDropdownItem:d,children:[s.length>0&&y.jsx(Ra,{size:16,weight:"bold"}),d&&y.jsx(hi,{rotate:45,size:16,weight:"bold"})]}),y.jsx(X,{display:"flex",alignItems:"center",justifyContent:"center",absoluteFill:!0,opacity:i?1:0,transition:"opacity 0.2s ease-in-out",children:y.jsx(za,{size:M[u].loadingSize,color:k.color})})]})};function Eb({userProfile:n,dropdownItems:r,maxHeight:i},s){const l=be(),u=l.__hd__.header.profileDropdown,[f,d]=h.useState(!1),g=h.useRef(null),v=h.useRef(null),_=Oe.isString(u.minWidth)&&rr(u.minWidth)?l.sizes[u.minWidth]:u.minWidth,S=Oe.isString(i)&&rr(i)?l.sizes[i]:i||u.defaultMaxHeight,E=()=>{g.current&&clearTimeout(g.current),v.current&&clearTimeout(v.current)},w=(I=()=>{})=>{E(),d(!0),g.current=setTimeout(I,u.animationDuration)},C=(I=()=>{})=>{E(),d(!1),v.current=setTimeout(I,u.animationDuration)};return h.useImperativeHandle(s,()=>({showDropdown:w,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:()=>w(),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:[n!=null&&n.name?y.jsx(X,{py:u.padding,mx:"md",children:y.jsx(ot,{textAlign:"left",children:n.name})}):y.jsx(X,{py:u.padding,mx:"md",children:y.jsx(ot,{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(I=>y.jsx(Ba,{label:I.label,onClick:I.onClick,isActive:I.isActive,size:"medium",isDropdownItem:!0},I.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=be(),[_,S]=h.useState(!1),[E,w]=h.useState(!0),C=h.useDeferredValue(_),I=pi(),R=!wt()&&I==="xs";h.useEffect(()=>{wt()||(S(!R),setTimeout(()=>{w(!1)},300))},[R]);const M=v.__hd__.header.avatarSize||"md",k=h.useRef(null),T=()=>{var D;i(!0),(D=k.current)==null||D.showDropdown()},z=()=>{var D;(D=k.current)==null||D.hideDropdown(()=>{i(!1)})};return h.useEffect(()=>{r?T():z()},[r]),y.jsx(Eo,{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:[n?y.jsx(Gt,{onClick:f,children:y.jsxs(X,{display:"flex",flexDirection:"row",alignItems:"center",p:"sm",r:"full",bgColor:"grey100",onMouseEnter:T,onMouseLeave:z,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(ot,{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:k,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=({onLogoClick:n})=>y.jsx(X,{children:y.jsx(Gt,{onClick:n,children:y.jsx(qt,{art:$b,type:"svg",width:"lg",height:"lg"})})}),kb=({dropdownMaxHeight:n,dropdownMinWidth:r,isDropdownOpen:i=!1,dropdownItems:s=[]})=>{const l=be(),u=l.__hd__.header.navDropdown,f=Oe.isString(n)&&rr(n)?l.sizes[n]:n||u.defaultMaxHeight,d=Oe.isString(r)&&rr(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=ue.span`
|
|
209
209
|
position: relative;
|
|
210
|
-
`,
|
|
210
|
+
`,Rb=({item:n,index:r,openItemIndex:i,handleNavItemMouseEnter:s,handleNavItemMouseLeave:l,handleNavItemToggleDropdown:u})=>{var _,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||((_=n.dropdownItems)==null?void 0:_.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=be().__hd__.header,s=h.useRef(null),[l,u]=h.useState(!1),[f,d]=h.useState(!0),g=pi(),v=!wt()&&g==="xs",[_,S]=h.useState(null);h.useEffect(()=>{wt()||(u(!v),setTimeout(()=>{d(!1)},300))},[v]),h.useEffect(()=>{const R=M=>{s.current&&!s.current.contains(M.target)&&S(null)};return _!==null&&document.addEventListener("mousedown",R),()=>{document.removeEventListener("mousedown",R)}},[_]);const E=h.useDeferredValue(l),w=(R,M)=>{R.dropdownItems&&R.dropdownItems.length>0&&S(M)},C=()=>{S(null)},I=R=>{S(M=>M===R?null:R)};return y.jsx(Eo,{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:_,handleNavItemMouseEnter:w,handleNavItemMouseLeave:C,handleNavItemToggleDropdown:I},`nav-item-wrapper-${M}`))})})};function Lb({backgroundColor:n="white",navItems:r=[],isSignedIn:i=!1,userProfile:s,profileDropdownItems:l,profileDropdownMaxHeight:u,onLogoClick:f,onNavItemClick:d,onSignInClick:g,onRegisterClick:v,onProfileClick:_,...S},E){const[w,C]=h.useState(!1);return h.useImperativeHandle(E,()=>({showDropdown:()=>C(!0),hideDropdown:()=>C(!1)})),y.jsxs(X,{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",width:"100%",p:"md",bgColor:n,...S,children:[y.jsx(Zd,{onLogoClick:f}),y.jsx(Nd,{navItems:r,onNavItemClick:d}),y.jsx(Hd,{isSignedIn:i,isDropdownVisible:w,setIsDropdownVisible:C,userProfile:s,dropdownItems:l,profileDropdownMaxHeight:u,onSignInClick:g,onRegisterClick:v,onProfileClick:_})]})}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=be().__hd__.base,g=pi(),v=wt()||g==="md"||g==="lg"||g==="xl",_=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%",..._,style:S,children:n})]})},Fb=ue.div`
|
|
211
211
|
display: flex;
|
|
212
212
|
flex-direction: row;
|
|
213
213
|
align-items: center;
|
|
214
|
-
${({theme:n,$isFocused:r,$isDisabled:i,$error:
|
|
215
|
-
padding: ${
|
|
216
|
-
border-radius: ${
|
|
217
|
-
border: ${
|
|
218
|
-
box-shadow: ${
|
|
219
|
-
background-color: ${
|
|
214
|
+
${({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,_=n.spaces[f.padding.vertical],S=n.spaces[f.padding.horizontal],E=n.radii[f.borderRadius],w=n.borderWidths[f.borderWidth],C=d!=="disabled"&&u?n.colors[u]:g.backgroundColor;return`
|
|
215
|
+
padding: ${_}px ${S}px;
|
|
216
|
+
border-radius: ${E}px;
|
|
217
|
+
border: ${w}px solid ${n.colors[g.borderColor]};
|
|
218
|
+
box-shadow: ${v};
|
|
219
|
+
background-color: ${C};
|
|
220
220
|
opacity: ${i?.7:1};
|
|
221
221
|
transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
222
222
|
`}}
|
|
223
|
-
`,
|
|
223
|
+
`,sf=ue.input`
|
|
224
224
|
flex: 1;
|
|
225
225
|
border: none;
|
|
226
226
|
background: transparent;
|
|
@@ -241,34 +241,34 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
241
241
|
&::-ms-reveal {
|
|
242
242
|
display: none;
|
|
243
243
|
}
|
|
244
|
-
`,Gv=(n,r)=>{const{value:i="",onChange:a,placeholder:l="",disabled:u=!1,error:d,label:g,helperText:v,leftIcon:m,rightIcon:$,borderColor:T,bgColor:b,multiline:x,...w}=n,C=ve(),S=C.__hd__.input,[F,L]=h.useState(!1),A=h.useRef(null),[I,P]=h.useState(i),[D,N]=h.useState(!1),[U,ie]=h.useState(null),ae=!x&&w.type==="password";h.useEffect(()=>{P(i)},[i]),h.useEffect(()=>{if(ae&&A.current&&U!==null){const q=A.current,se=U;requestAnimationFrame(()=>{q&&(q.focus(),q.setSelectionRange(se,se))}),ie(null)}},[D,ae,U]),h.useImperativeHandle(r,()=>({focus:()=>{var q;return(q=A.current)==null?void 0:q.focus()},blur:()=>{var q;return(q=A.current)==null?void 0:q.blur()},get value(){return I}}));const xe=q=>{L(!0),n.onFocus&&n.onFocus(q)},W=q=>{L(!1),n.onBlur&&n.onBlur(q)},M=q=>{const se=q.target.value;P(se),a==null||a(se)},Z=dt(C,S.iconSize),ee=u?S.disabledTextColor:S.iconColor,K=()=>{ae&&A.current&&(ie(A.current.selectionStart),N(!D))},G={ref:A,value:I,onChange:M,onFocus:xe,onBlur:W,placeholder:l,disabled:u};return y.jsxs(V,{fw:!0,children:[g&&y.jsx(V,{mb:"xs",children:y.jsx(tt,{fontWeight:"medium",children:g})}),y.jsxs(qv,{$isFocused:F,$isDisabled:u,$error:!!d,$borderColor:T,$bgColor:b,children:[m&&y.jsx(V,{mr:S.iconSpacing,children:y.jsx(Dt,{type:"icon",art:m,size:Z,color:ee})}),x?y.jsx(Tu,{as:"textarea",...G,...w}):y.jsx(Tu,{...G,...w,type:D?"text":w.type}),ae&&F?y.jsx(V,{ml:S.iconSpacing,onClick:K,onMouseDown:q=>q.preventDefault(),cursor:"pointer","data-testid":"password-toggle-icon",children:y.jsx(Dt,{type:"icon",art:D?Gc:Kc,size:Z,color:ee})}):!ae&&$&&y.jsx(V,{ml:S.iconSpacing,children:y.jsx(Dt,{type:"icon",art:$,size:Z,color:ee})})]}),(d||v)&&y.jsx(V,{mt:"xs",children:y.jsx(tt,{fontSize:"xs",color:d?"danger":"grey600",children:d||v})})]})},Kv=h.forwardRef(Gv),Xv=["p","padding","pt","pb","pl","pr","px","py","gap","display","flexDirection","alignItems","justifyContent","flexWrap","flexGrow","flexShrink","flexBasis","flex"];function Yv(n){const r={},i={},a={};for(const l in n)if(Object.prototype.hasOwnProperty.call(n,l)){const u=n[l];Xv.includes(l)?r[l]=u:l!=="data"&&l!=="renderItem"&&l!=="keyExtractor"&&l!=="ListEmptyComponent"&&l!=="ListHeaderComponent"&&l!=="ListFooterComponent"&&l!=="ItemSeparatorComponent"&&l!=="itemGap"?i[l]=u:a[l]=u}return{listProps:a,contentProps:r,containerProps:i}}function Qv(n,r){var A,I;const{listProps:i,contentProps:a,containerProps:l}=Yv(n),{data:u=[],renderItem:d,keyExtractor:g,ListEmptyComponent:v,ListHeaderComponent:m,ListFooterComponent:$,ItemSeparatorComponent:T,itemGap:b}=i,x=ve(),w=((A=x.__hd__.list)==null?void 0:A.defaultGap)||"xs",C=b||w,S=((I=x.__hd__.list)==null?void 0:I.defaultPadding)||"0px",F=a.p??a.padding??S,L=()=>u.length===0&&v?v:u.map((P,D)=>{const N=g?g(P,D):String(D),U=d?d(P,D):null;return U?y.jsxs(h.Fragment,{children:[U,T&&D<u.length-1?T:null]},N):null});return y.jsx(V,{ref:r,overflow:"auto",width:"100%",...l,children:y.jsxs(V,{display:"flex",flexDirection:"column",gap:C,p:F,...a,children:[m,L(),$]})})}const Jv=h.forwardRef(Qv);/*! @vimeo/player v2.27.1 | (c) 2025 Vimeo | MIT License | https://github.com/vimeo/player.js */function ku(n,r){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);r&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(n,l).enumerable})),i.push.apply(i,a)}return i}function Ru(n){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{};r%2?ku(Object(i),!0).forEach(function(a){$i(n,a,i[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):ku(Object(i)).forEach(function(a){Object.defineProperty(n,a,Object.getOwnPropertyDescriptor(i,a))})}return n}function gt(){gt=function(){return n};var n={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(W,M,Z){W[M]=Z.value},l=typeof Symbol=="function"?Symbol:{},u=l.iterator||"@@iterator",d=l.asyncIterator||"@@asyncIterator",g=l.toStringTag||"@@toStringTag";function v(W,M,Z){return Object.defineProperty(W,M,{value:Z,enumerable:!0,configurable:!0,writable:!0}),W[M]}try{v({},"")}catch{v=function(M,Z,ee){return M[Z]=ee}}function m(W,M,Z,ee){var K=M&&M.prototype instanceof b?M:b,G=Object.create(K.prototype),q=new ie(ee||[]);return a(G,"_invoke",{value:P(W,Z,q)}),G}function $(W,M,Z){try{return{type:"normal",arg:W.call(M,Z)}}catch(ee){return{type:"throw",arg:ee}}}n.wrap=m;var T={};function b(){}function x(){}function w(){}var C={};v(C,u,function(){return this});var S=Object.getPrototypeOf,F=S&&S(S(ae([])));F&&F!==r&&i.call(F,u)&&(C=F);var L=w.prototype=b.prototype=Object.create(C);function A(W){["next","throw","return"].forEach(function(M){v(W,M,function(Z){return this._invoke(M,Z)})})}function I(W,M){function Z(K,G,q,se){var Y=$(W[K],W,G);if(Y.type!=="throw"){var X=Y.arg,ne=X.value;return ne&&typeof ne=="object"&&i.call(ne,"__await")?M.resolve(ne.__await).then(function(fe){Z("next",fe,q,se)},function(fe){Z("throw",fe,q,se)}):M.resolve(ne).then(function(fe){X.value=fe,q(X)},function(fe){return Z("throw",fe,q,se)})}se(Y.arg)}var ee;a(this,"_invoke",{value:function(K,G){function q(){return new M(function(se,Y){Z(K,G,se,Y)})}return ee=ee?ee.then(q,q):q()}})}function P(W,M,Z){var ee="suspendedStart";return function(K,G){if(ee==="executing")throw new Error("Generator is already running");if(ee==="completed"){if(K==="throw")throw G;return xe()}for(Z.method=K,Z.arg=G;;){var q=Z.delegate;if(q){var se=D(q,Z);if(se){if(se===T)continue;return se}}if(Z.method==="next")Z.sent=Z._sent=Z.arg;else if(Z.method==="throw"){if(ee==="suspendedStart")throw ee="completed",Z.arg;Z.dispatchException(Z.arg)}else Z.method==="return"&&Z.abrupt("return",Z.arg);ee="executing";var Y=$(W,M,Z);if(Y.type==="normal"){if(ee=Z.done?"completed":"suspendedYield",Y.arg===T)continue;return{value:Y.arg,done:Z.done}}Y.type==="throw"&&(ee="completed",Z.method="throw",Z.arg=Y.arg)}}}function D(W,M){var Z=M.method,ee=W.iterator[Z];if(ee===void 0)return M.delegate=null,Z==="throw"&&W.iterator.return&&(M.method="return",M.arg=void 0,D(W,M),M.method==="throw")||Z!=="return"&&(M.method="throw",M.arg=new TypeError("The iterator does not provide a '"+Z+"' method")),T;var K=$(ee,W.iterator,M.arg);if(K.type==="throw")return M.method="throw",M.arg=K.arg,M.delegate=null,T;var G=K.arg;return G?G.done?(M[W.resultName]=G.value,M.next=W.nextLoc,M.method!=="return"&&(M.method="next",M.arg=void 0),M.delegate=null,T):G:(M.method="throw",M.arg=new TypeError("iterator result is not an object"),M.delegate=null,T)}function N(W){var M={tryLoc:W[0]};1 in W&&(M.catchLoc=W[1]),2 in W&&(M.finallyLoc=W[2],M.afterLoc=W[3]),this.tryEntries.push(M)}function U(W){var M=W.completion||{};M.type="normal",delete M.arg,W.completion=M}function ie(W){this.tryEntries=[{tryLoc:"root"}],W.forEach(N,this),this.reset(!0)}function ae(W){if(W){var M=W[u];if(M)return M.call(W);if(typeof W.next=="function")return W;if(!isNaN(W.length)){var Z=-1,ee=function K(){for(;++Z<W.length;)if(i.call(W,Z))return K.value=W[Z],K.done=!1,K;return K.value=void 0,K.done=!0,K};return ee.next=ee}}return{next:xe}}function xe(){return{value:void 0,done:!0}}return x.prototype=w,a(L,"constructor",{value:w,configurable:!0}),a(w,"constructor",{value:x,configurable:!0}),x.displayName=v(w,g,"GeneratorFunction"),n.isGeneratorFunction=function(W){var M=typeof W=="function"&&W.constructor;return!!M&&(M===x||(M.displayName||M.name)==="GeneratorFunction")},n.mark=function(W){return Object.setPrototypeOf?Object.setPrototypeOf(W,w):(W.__proto__=w,v(W,g,"GeneratorFunction")),W.prototype=Object.create(L),W},n.awrap=function(W){return{__await:W}},A(I.prototype),v(I.prototype,d,function(){return this}),n.AsyncIterator=I,n.async=function(W,M,Z,ee,K){K===void 0&&(K=Promise);var G=new I(m(W,M,Z,ee),K);return n.isGeneratorFunction(M)?G:G.next().then(function(q){return q.done?q.value:G.next()})},A(L),v(L,g,"Generator"),v(L,u,function(){return this}),v(L,"toString",function(){return"[object Generator]"}),n.keys=function(W){var M=Object(W),Z=[];for(var ee in M)Z.push(ee);return Z.reverse(),function K(){for(;Z.length;){var G=Z.pop();if(G in M)return K.value=G,K.done=!1,K}return K.done=!0,K}},n.values=ae,ie.prototype={constructor:ie,reset:function(W){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(U),!W)for(var M in this)M.charAt(0)==="t"&&i.call(this,M)&&!isNaN(+M.slice(1))&&(this[M]=void 0)},stop:function(){this.done=!0;var W=this.tryEntries[0].completion;if(W.type==="throw")throw W.arg;return this.rval},dispatchException:function(W){if(this.done)throw W;var M=this;function Z(Y,X){return G.type="throw",G.arg=W,M.next=Y,X&&(M.method="next",M.arg=void 0),!!X}for(var ee=this.tryEntries.length-1;ee>=0;--ee){var K=this.tryEntries[ee],G=K.completion;if(K.tryLoc==="root")return Z("end");if(K.tryLoc<=this.prev){var q=i.call(K,"catchLoc"),se=i.call(K,"finallyLoc");if(q&&se){if(this.prev<K.catchLoc)return Z(K.catchLoc,!0);if(this.prev<K.finallyLoc)return Z(K.finallyLoc)}else if(q){if(this.prev<K.catchLoc)return Z(K.catchLoc,!0)}else{if(!se)throw new Error("try statement without catch or finally");if(this.prev<K.finallyLoc)return Z(K.finallyLoc)}}}},abrupt:function(W,M){for(var Z=this.tryEntries.length-1;Z>=0;--Z){var ee=this.tryEntries[Z];if(ee.tryLoc<=this.prev&&i.call(ee,"finallyLoc")&&this.prev<ee.finallyLoc){var K=ee;break}}K&&(W==="break"||W==="continue")&&K.tryLoc<=M&&M<=K.finallyLoc&&(K=null);var G=K?K.completion:{};return G.type=W,G.arg=M,K?(this.method="next",this.next=K.finallyLoc,T):this.complete(G)},complete:function(W,M){if(W.type==="throw")throw W.arg;return W.type==="break"||W.type==="continue"?this.next=W.arg:W.type==="return"?(this.rval=this.arg=W.arg,this.method="return",this.next="end"):W.type==="normal"&&M&&(this.next=M),T},finish:function(W){for(var M=this.tryEntries.length-1;M>=0;--M){var Z=this.tryEntries[M];if(Z.finallyLoc===W)return this.complete(Z.completion,Z.afterLoc),U(Z),T}},catch:function(W){for(var M=this.tryEntries.length-1;M>=0;--M){var Z=this.tryEntries[M];if(Z.tryLoc===W){var ee=Z.completion;if(ee.type==="throw"){var K=ee.arg;U(Z)}return K}}throw new Error("illegal catch attempt")},delegateYield:function(W,M,Z){return this.delegate={iterator:ae(W),resultName:M,nextLoc:Z},this.method==="next"&&(this.arg=void 0),T}},n}function Lu(n,r,i,a,l,u,d){try{var g=n[u](d),v=g.value}catch(m){i(m);return}g.done?r(v):Promise.resolve(v).then(a,l)}function Pn(n){return function(){var r=this,i=arguments;return new Promise(function(a,l){var u=n.apply(r,i);function d(v){Lu(u,a,l,d,g,"next",v)}function g(v){Lu(u,a,l,d,g,"throw",v)}d(void 0)})}}function fd(n,r){if(!(n instanceof r))throw new TypeError("Cannot call a class as a function")}function eb(n,r){for(var i=0;i<r.length;i++){var a=r[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(n,gd(a.key),a)}}function hd(n,r,i){return r&&eb(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n}function $i(n,r,i){return r=gd(r),r in n?Object.defineProperty(n,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[r]=i,n}function tb(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&&Ar(n,r)}function Er(n){return Er=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Er(n)}function Ar(n,r){return Ar=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,l){return a.__proto__=l,a},Ar(n,r)}function pd(){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 Ei(n,r,i){return pd()?Ei=Reflect.construct.bind():Ei=function(l,u,d){var g=[null];g.push.apply(g,u);var v=Function.bind.apply(l,g),m=new v;return d&&Ar(m,d.prototype),m},Ei.apply(null,arguments)}function nb(n){return Function.toString.call(n).indexOf("[native code]")!==-1}function oa(n){var r=typeof Map=="function"?new Map:void 0;return oa=function(a){if(a===null||!nb(a))return a;if(typeof a!="function")throw new TypeError("Super expression must either be null or a function");if(typeof r<"u"){if(r.has(a))return r.get(a);r.set(a,l)}function l(){return Ei(a,arguments,Er(this).constructor)}return l.prototype=Object.create(a.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),Ar(l,a)},oa(n)}function Ai(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function rb(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 Ai(n)}function ib(n){var r=pd();return function(){var a=Er(n),l;if(r){var u=Er(this).constructor;l=Reflect.construct(a,arguments,u)}else l=a.apply(this,arguments);return rb(this,l)}}function ob(n,r){if(typeof n!="object"||n===null)return n;var i=n[Symbol.toPrimitive];if(i!==void 0){var a=i.call(n,r);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}function gd(n){var r=ob(n,"string");return typeof r=="symbol"?r:String(r)}var md=typeof global<"u"&&{}.toString.call(global)==="[object global]";function Iu(n,r){return n.indexOf(r.toLowerCase())===0?n:"".concat(r.toLowerCase()).concat(n.substr(0,1).toUpperCase()).concat(n.substr(1))}function ab(n){return!!(n&&n.nodeType===1&&"nodeName"in n&&n.ownerDocument&&n.ownerDocument.defaultView)}function sb(n){return!isNaN(parseFloat(n))&&isFinite(n)&&Math.floor(n)==n}function jn(n){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(n)}function vd(n){var r=/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/;return r.test(n)}function lb(n){for(var r=(n||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),i=(r&&r[1]||"").replace("player.",""),a=[".videoji.hk",".vimeo.work",".videoji.cn"],l=0,u=a;l<u.length;l++){var d=u[l];if(i.endsWith(d))return i}return"vimeo.com"}function bd(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=n.id,i=n.url,a=r||i;if(!a)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(sb(a))return"https://vimeo.com/".concat(a);if(jn(a))return a.replace("http:","https:");throw r?new TypeError("“".concat(r,"” is not a valid video id.")):new TypeError("“".concat(a,"” is not a vimeo.com url."))}var Ou=function(r,i,a){var l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"addEventListener",u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"removeEventListener",d=typeof i=="string"?[i]:i;return d.forEach(function(g){r[l](g,a)}),{cancel:function(){return d.forEach(function(v){return r[u](v,a)})}}},ub=typeof Array.prototype.indexOf<"u",cb=typeof window<"u"&&typeof window.postMessage<"u";if(!md&&(!ub||!cb))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var or=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function db(n,r){return r={exports:{}},n(r,r.exports),r.exports}/*!
|
|
244
|
+
`,zb=(n,r)=>{const{value:i="",onChange:s,placeholder:l="",disabled:u=!1,error:f,label:d,helperText:g,leftIcon:v,rightIcon:_,borderColor:S,bgColor:E,multiline:w,...C}=n,I=be(),R=I.__hd__.input,[M,k]=h.useState(!1),T=h.useRef(null),[z,D]=h.useState(i),[q,G]=h.useState(!1),[J,me]=h.useState(null),we=!w&&C.type==="password";h.useEffect(()=>{D(i)},[i]),h.useEffect(()=>{if(we&&T.current&&J!==null){const ne=T.current,fe=J;requestAnimationFrame(()=>{ne&&(ne.focus(),ne.setSelectionRange(fe,fe))}),me(null)}},[q,we,J]),h.useImperativeHandle(r,()=>({focus:()=>{var ne;return(ne=T.current)==null?void 0:ne.focus()},blur:()=>{var ne;return(ne=T.current)==null?void 0:ne.blur()},get value(){return z}}));const $e=ne=>{k(!0),n.onFocus&&n.onFocus(ne)},H=ne=>{k(!1),n.onBlur&&n.onBlur(ne)},j=ne=>{const fe=ne.target.value;D(fe),s==null||s(fe)},V=pt(I,R.iconSize),le=u?R.disabledTextColor:R.iconColor,ie=()=>{we&&T.current&&(me(T.current.selectionStart),G(!q))},te={ref:T,value:z,onChange:j,onFocus:$e,onBlur:H,placeholder:l,disabled:u};return y.jsxs(X,{fw:!0,children:[d&&y.jsx(X,{mb:"xs",children:y.jsx(ot,{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:V,color:le})}),w?y.jsx(sf,{as:"textarea",...te,...C}):y.jsx(sf,{...te,...C,type:q?"text":C.type}),we&&M?y.jsx(X,{ml:R.iconSpacing,onClick:ie,onMouseDown:ne=>ne.preventDefault(),cursor:"pointer","data-testid":"password-toggle-icon",children:y.jsx(qt,{type:"icon",art:q?Ad:$d,size:V,color:le})}):!we&&_&&y.jsx(X,{ml:R.iconSpacing,children:y.jsx(qt,{type:"icon",art:_,size:V,color:le})})]}),(f||g)&&y.jsx(X,{mt:"xs",children:y.jsx(ot,{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 T,z;const{listProps:i,contentProps:s,containerProps:l}=Pb(n),{data:u=[],renderItem:f,keyExtractor:d,ListEmptyComponent:g,ListHeaderComponent:v,ListFooterComponent:_,ItemSeparatorComponent:S,itemGap:E}=i,w=be(),C=((T=w.__hd__.list)==null?void 0:T.defaultGap)||"xs",I=E||C,R=((z=w.__hd__.list)==null?void 0:z.defaultPadding)||"0px",M=s.p??s.padding??R,k=()=>u.length===0&&g?g:u.map((D,q)=>{const G=d?d(D,q):String(q),J=f?f(D,q):null;return J?y.jsxs(h.Fragment,{children:[J,S&&q<u.length-1?S:null]},G):null});return y.jsx(X,{ref:r,overflow:"auto",width:"100%",...l,children:y.jsxs(X,{display:"flex",flexDirection:"column",gap:I,p:M,...s,children:[v,k(),_]})})}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){ho(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 bt(){bt=function(){return n};var n={},r=Object.prototype,i=r.hasOwnProperty,s=Object.defineProperty||function(H,j,V){H[j]=V.value},l=typeof Symbol=="function"?Symbol:{},u=l.iterator||"@@iterator",f=l.asyncIterator||"@@asyncIterator",d=l.toStringTag||"@@toStringTag";function g(H,j,V){return Object.defineProperty(H,j,{value:V,enumerable:!0,configurable:!0,writable:!0}),H[j]}try{g({},"")}catch{g=function(j,V,le){return j[V]=le}}function v(H,j,V,le){var ie=j&&j.prototype instanceof E?j:E,te=Object.create(ie.prototype),ne=new me(le||[]);return s(te,"_invoke",{value:D(H,V,ne)}),te}function _(H,j,V){try{return{type:"normal",arg:H.call(j,V)}}catch(le){return{type:"throw",arg:le}}}n.wrap=v;var S={};function E(){}function w(){}function C(){}var I={};g(I,u,function(){return this});var R=Object.getPrototypeOf,M=R&&R(R(we([])));M&&M!==r&&i.call(M,u)&&(I=M);var k=C.prototype=E.prototype=Object.create(I);function T(H){["next","throw","return"].forEach(function(j){g(H,j,function(V){return this._invoke(j,V)})})}function z(H,j){function V(ie,te,ne,fe){var Me=_(H[ie],H,te);if(Me.type!=="throw"){var Ce=Me.arg,De=Ce.value;return De&&typeof De=="object"&&i.call(De,"__await")?j.resolve(De.__await).then(function(ze){V("next",ze,ne,fe)},function(ze){V("throw",ze,ne,fe)}):j.resolve(De).then(function(ze){Ce.value=ze,ne(Ce)},function(ze){return V("throw",ze,ne,fe)})}fe(Me.arg)}var le;s(this,"_invoke",{value:function(ie,te){function ne(){return new j(function(fe,Me){V(ie,te,fe,Me)})}return le=le?le.then(ne,ne):ne()}})}function D(H,j,V){var le="suspendedStart";return function(ie,te){if(le==="executing")throw new Error("Generator is already running");if(le==="completed"){if(ie==="throw")throw te;return $e()}for(V.method=ie,V.arg=te;;){var ne=V.delegate;if(ne){var fe=q(ne,V);if(fe){if(fe===S)continue;return fe}}if(V.method==="next")V.sent=V._sent=V.arg;else if(V.method==="throw"){if(le==="suspendedStart")throw le="completed",V.arg;V.dispatchException(V.arg)}else V.method==="return"&&V.abrupt("return",V.arg);le="executing";var Me=_(H,j,V);if(Me.type==="normal"){if(le=V.done?"completed":"suspendedYield",Me.arg===S)continue;return{value:Me.arg,done:V.done}}Me.type==="throw"&&(le="completed",V.method="throw",V.arg=Me.arg)}}}function q(H,j){var V=j.method,le=H.iterator[V];if(le===void 0)return j.delegate=null,V==="throw"&&H.iterator.return&&(j.method="return",j.arg=void 0,q(H,j),j.method==="throw")||V!=="return"&&(j.method="throw",j.arg=new TypeError("The iterator does not provide a '"+V+"' method")),S;var ie=_(le,H.iterator,j.arg);if(ie.type==="throw")return j.method="throw",j.arg=ie.arg,j.delegate=null,S;var te=ie.arg;return te?te.done?(j[H.resultName]=te.value,j.next=H.nextLoc,j.method!=="return"&&(j.method="next",j.arg=void 0),j.delegate=null,S):te:(j.method="throw",j.arg=new TypeError("iterator result is not an object"),j.delegate=null,S)}function G(H){var j={tryLoc:H[0]};1 in H&&(j.catchLoc=H[1]),2 in H&&(j.finallyLoc=H[2],j.afterLoc=H[3]),this.tryEntries.push(j)}function J(H){var j=H.completion||{};j.type="normal",delete j.arg,H.completion=j}function me(H){this.tryEntries=[{tryLoc:"root"}],H.forEach(G,this),this.reset(!0)}function we(H){if(H){var j=H[u];if(j)return j.call(H);if(typeof H.next=="function")return H;if(!isNaN(H.length)){var V=-1,le=function ie(){for(;++V<H.length;)if(i.call(H,V))return ie.value=H[V],ie.done=!1,ie;return ie.value=void 0,ie.done=!0,ie};return le.next=le}}return{next:$e}}function $e(){return{value:void 0,done:!0}}return w.prototype=C,s(k,"constructor",{value:C,configurable:!0}),s(C,"constructor",{value:w,configurable:!0}),w.displayName=g(C,d,"GeneratorFunction"),n.isGeneratorFunction=function(H){var j=typeof H=="function"&&H.constructor;return!!j&&(j===w||(j.displayName||j.name)==="GeneratorFunction")},n.mark=function(H){return Object.setPrototypeOf?Object.setPrototypeOf(H,C):(H.__proto__=C,g(H,d,"GeneratorFunction")),H.prototype=Object.create(k),H},n.awrap=function(H){return{__await:H}},T(z.prototype),g(z.prototype,f,function(){return this}),n.AsyncIterator=z,n.async=function(H,j,V,le,ie){ie===void 0&&(ie=Promise);var te=new z(v(H,j,V,le),ie);return n.isGeneratorFunction(j)?te:te.next().then(function(ne){return ne.done?ne.value:te.next()})},T(k),g(k,d,"Generator"),g(k,u,function(){return this}),g(k,"toString",function(){return"[object Generator]"}),n.keys=function(H){var j=Object(H),V=[];for(var le in j)V.push(le);return V.reverse(),function ie(){for(;V.length;){var te=V.pop();if(te in j)return ie.value=te,ie.done=!1,ie}return ie.done=!0,ie}},n.values=we,me.prototype={constructor:me,reset:function(H){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(J),!H)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 H=this.tryEntries[0].completion;if(H.type==="throw")throw H.arg;return this.rval},dispatchException:function(H){if(this.done)throw H;var j=this;function V(Me,Ce){return te.type="throw",te.arg=H,j.next=Me,Ce&&(j.method="next",j.arg=void 0),!!Ce}for(var le=this.tryEntries.length-1;le>=0;--le){var ie=this.tryEntries[le],te=ie.completion;if(ie.tryLoc==="root")return V("end");if(ie.tryLoc<=this.prev){var ne=i.call(ie,"catchLoc"),fe=i.call(ie,"finallyLoc");if(ne&&fe){if(this.prev<ie.catchLoc)return V(ie.catchLoc,!0);if(this.prev<ie.finallyLoc)return V(ie.finallyLoc)}else if(ne){if(this.prev<ie.catchLoc)return V(ie.catchLoc,!0)}else{if(!fe)throw new Error("try statement without catch or finally");if(this.prev<ie.finallyLoc)return V(ie.finallyLoc)}}}},abrupt:function(H,j){for(var V=this.tryEntries.length-1;V>=0;--V){var le=this.tryEntries[V];if(le.tryLoc<=this.prev&&i.call(le,"finallyLoc")&&this.prev<le.finallyLoc){var ie=le;break}}ie&&(H==="break"||H==="continue")&&ie.tryLoc<=j&&j<=ie.finallyLoc&&(ie=null);var te=ie?ie.completion:{};return te.type=H,te.arg=j,ie?(this.method="next",this.next=ie.finallyLoc,S):this.complete(te)},complete:function(H,j){if(H.type==="throw")throw H.arg;return H.type==="break"||H.type==="continue"?this.next=H.arg:H.type==="return"?(this.rval=this.arg=H.arg,this.method="return",this.next="end"):H.type==="normal"&&j&&(this.next=j),S},finish:function(H){for(var j=this.tryEntries.length-1;j>=0;--j){var V=this.tryEntries[j];if(V.finallyLoc===H)return this.complete(V.completion,V.afterLoc),J(V),S}},catch:function(H){for(var j=this.tryEntries.length-1;j>=0;--j){var V=this.tryEntries[j];if(V.tryLoc===H){var le=V.completion;if(le.type==="throw"){var ie=le.arg;J(V)}return ie}}throw new Error("illegal catch attempt")},delegateYield:function(H,j,V){return this.delegate={iterator:we(H),resultName:j,nextLoc:V},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 tr(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 ho(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&&fi(n,r)}function ci(n){return ci=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},ci(n)}function fi(n,r){return fi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(s,l){return s.__proto__=l,s},fi(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 po(n,r,i){return Gd()?po=Reflect.construct.bind():po=function(l,u,f){var d=[null];d.push.apply(d,u);var g=Function.bind.apply(l,d),v=new g;return f&&fi(v,f.prototype),v},po.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 po(s,arguments,ci(this).constructor)}return l.prototype=Object.create(s.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),fi(l,s)},ba(n)}function go(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 go(n)}function Ub(n){var r=Gd();return function(){var s=ci(n),l;if(r){var u=ci(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 ir(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(ir(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 kr=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}/*!
|
|
245
245
|
* weakmap-polyfill v2.0.4 - ECMAScript6 WeakMap polyfill
|
|
246
246
|
* https://github.com/polygonplanet/weakmap-polyfill
|
|
247
247
|
* Copyright (c) 2015-2021 polygonplanet <polygon.planet.aqua@gmail.com>
|
|
248
248
|
* @license MIT
|
|
249
|
-
*/(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{}}(),
|
|
249
|
+
*/(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 _=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 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:kr);var Vt=Jb(function(n){/*! Native Promise Only
|
|
250
250
|
v0.8.1 (c) Kyle Simpson
|
|
251
251
|
MIT License: http://getify.mit-license.org
|
|
252
|
-
*/(function(i,a,l){a[i]=a[i]||l(),n.exports&&(n.exports=a[i])})("Promise",or,function(){var i,a,l,u=Object.prototype.toString,d=typeof setImmediate<"u"?function(A){return setImmediate(A)}:setTimeout;try{Object.defineProperty({},"x",{}),i=function(A,I,P,D){return Object.defineProperty(A,I,{value:P,writable:!0,configurable:D!==!1})}}catch{i=function(I,P,D){return I[P]=D,I}}l=function(){var A,I,P;function D(N,U){this.fn=N,this.self=U,this.next=void 0}return{add:function(U,ie){P=new D(U,ie),I?I.next=P:A=P,I=P,P=void 0},drain:function(){var U=A;for(A=I=a=void 0;U;)U.fn.call(U.self),U=U.next}}}();function g(L,A){l.add(L,A),a||(a=d(l.drain))}function v(L){var A,I=typeof L;return L!=null&&(I=="object"||I=="function")&&(A=L.then),typeof A=="function"?A:!1}function m(){for(var L=0;L<this.chain.length;L++)$(this,this.state===1?this.chain[L].success:this.chain[L].failure,this.chain[L]);this.chain.length=0}function $(L,A,I){var P,D;try{A===!1?I.reject(L.msg):(A===!0?P=L.msg:P=A.call(void 0,L.msg),P===I.promise?I.reject(TypeError("Promise-chain cycle")):(D=v(P))?D.call(P,I.resolve,I.reject):I.resolve(P))}catch(N){I.reject(N)}}function T(L){var A,I=this;if(!I.triggered){I.triggered=!0,I.def&&(I=I.def);try{(A=v(L))?g(function(){var P=new w(I);try{A.call(L,function(){T.apply(P,arguments)},function(){b.apply(P,arguments)})}catch(D){b.call(P,D)}}):(I.msg=L,I.state=1,I.chain.length>0&&g(m,I))}catch(P){b.call(new w(I),P)}}}function b(L){var A=this;A.triggered||(A.triggered=!0,A.def&&(A=A.def),A.msg=L,A.state=2,A.chain.length>0&&g(m,A))}function x(L,A,I,P){for(var D=0;D<A.length;D++)(function(U){L.resolve(A[U]).then(function(ae){I(U,ae)},P)})(D)}function w(L){this.def=L,this.triggered=!1}function C(L){this.promise=L,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function S(L){if(typeof L!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var A=new C(this);this.then=function(P,D){var N={success:typeof P=="function"?P:!0,failure:typeof D=="function"?D:!1};return N.promise=new this.constructor(function(ie,ae){if(typeof ie!="function"||typeof ae!="function")throw TypeError("Not a function");N.resolve=ie,N.reject=ae}),A.chain.push(N),A.state!==0&&g(m,A),N.promise},this.catch=function(P){return this.then(void 0,P)};try{L.call(void 0,function(P){T.call(A,P)},function(P){b.call(A,P)})}catch(I){b.call(A,I)}}var F=i({},"constructor",S,!1);return S.prototype=F,i(F,"__NPO__",0,!1),i(S,"resolve",function(A){var I=this;return A&&typeof A=="object"&&A.__NPO__===1?A:new I(function(D,N){if(typeof D!="function"||typeof N!="function")throw TypeError("Not a function");D(A)})}),i(S,"reject",function(A){return new this(function(P,D){if(typeof P!="function"||typeof D!="function")throw TypeError("Not a function");D(A)})}),i(S,"all",function(A){var I=this;return u.call(A)!="[object Array]"?I.reject(TypeError("Not an array")):A.length===0?I.resolve([]):new I(function(D,N){if(typeof D!="function"||typeof N!="function")throw TypeError("Not a function");var U=A.length,ie=Array(U),ae=0;x(I,A,function(W,M){ie[W]=M,++ae===U&&D(ie)},N)})}),i(S,"race",function(A){var I=this;return u.call(A)!="[object Array]"?I.reject(TypeError("Not an array")):new I(function(D,N){if(typeof D!="function"||typeof N!="function")throw TypeError("Not a function");x(I,A,function(ie,ae){D(ae)},N)})}),S})}),dn=new WeakMap;function _r(n,r,i){var a=dn.get(n.element)||{};r in a||(a[r]=[]),a[r].push(i),dn.set(n.element,a)}function ki(n,r){var i=dn.get(n.element)||{};return i[r]||[]}function Ri(n,r,i){var a=dn.get(n.element)||{};if(!a[r])return!0;if(!i)return a[r]=[],dn.set(n.element,a),!0;var l=a[r].indexOf(i);return l!==-1&&a[r].splice(l,1),dn.set(n.element,a),a[r]&&a[r].length===0}function fb(n,r){var i=ki(n,r);if(i.length<1)return!1;var a=i.shift();return Ri(n,r,a),a}function hb(n,r){var i=dn.get(n);dn.set(r,i),dn.delete(n)}function ji(n){if(typeof n=="string")try{n=JSON.parse(n)}catch(r){return console.warn(r),{}}return n}function Fn(n,r,i){if(!(!n.element.contentWindow||!n.element.contentWindow.postMessage)){var a={method:r};i!==void 0&&(a.value=i);var l=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));l>=8&&l<10&&(a=JSON.stringify(a)),n.element.contentWindow.postMessage(a,n.origin)}}function pb(n,r){r=ji(r);var i=[],a;if(r.event){if(r.event==="error"){var l=ki(n,r.data.method);l.forEach(function(d){var g=new Error(r.data.message);g.name=r.data.name,d.reject(g),Ri(n,r.data.method,d)})}i=ki(n,"event:".concat(r.event)),a=r.data}else if(r.method){var u=fb(n,r.method);u&&(i.push(u),a=r.value)}i.forEach(function(d){try{if(typeof d=="function"){d.call(n,a);return}d.resolve(a)}catch{}})}var gb=["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 yd(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return gb.reduce(function(i,a){var l=n.getAttribute("data-vimeo-".concat(a));return(l||l==="")&&(i[a]=l===""?1:l),i},r)}function Ca(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 a=document.createElement("div");return a.innerHTML=i,r.appendChild(a.firstChild),r.setAttribute("data-vimeo-initialized","true"),r.querySelector("iframe")}function wd(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0;return new Promise(function(a,l){if(!jn(n))throw new TypeError("“".concat(n,"” is not a vimeo.com url."));var u=lb(n),d="https://".concat(u,"/api/oembed.json?url=").concat(encodeURIComponent(n));for(var g in r)r.hasOwnProperty(g)&&(d+="&".concat(g,"=").concat(encodeURIComponent(r[g])));var v="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;v.open("GET",d,!0),v.onload=function(){if(v.status===404){l(new Error("“".concat(n,"” was not found.")));return}if(v.status===403){l(new Error("“".concat(n,"” is not embeddable.")));return}try{var m=JSON.parse(v.responseText);if(m.domain_status_code===403){Ca(m,i),l(new Error("“".concat(n,"” is not embeddable.")));return}a(m)}catch($){l($)}},v.onerror=function(){var m=v.status?" (".concat(v.status,")"):"";l(new Error("There was an error fetching the embed code from Vimeo".concat(m,".")))},v.send()})}function mb(){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(a){try{if(a.getAttribute("data-vimeo-defer")!==null)return;var l=yd(a),u=bd(l);wd(u,l,a).then(function(d){return Ca(d,a)}).catch(i)}catch(d){i(d)}})}function vb(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoPlayerResizeEmbeds_){window.VimeoPlayerResizeEmbeds_=!0;var r=function(a){if(jn(a.origin)&&!(!a.data||a.data.event!=="spacechange")){for(var l=n.querySelectorAll("iframe"),u=0;u<l.length;u++)if(l[u].contentWindow===a.source){var d=l[u].parentElement;d.style.paddingBottom="".concat(a.data.data[0].bottom,"px");break}}};window.addEventListener("message",r)}}function bb(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoSeoMetadataAppended){window.VimeoSeoMetadataAppended=!0;var r=function(a){if(jn(a.origin)){var l=ji(a.data);if(!(!l||l.event!=="ready"))for(var u=n.querySelectorAll("iframe"),d=0;d<u.length;d++){var g=u[d],v=g.contentWindow===a.source;if(vd(g.src)&&v){var m=new Sa(g);m.callMethod("appendVideoMetadata",window.location.href)}}}};window.addEventListener("message",r)}}function yb(){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(jn(l.origin)){var u=ji(l.data);if(!(!u||u.event!=="ready"))for(var d=n.querySelectorAll("iframe"),g=function(){var $=d[v],T=$.contentWindow===l.source;if(vd($.src)&&T){var b=new Sa($);b.getVideoId().then(function(x){var w=new RegExp("[?&]vimeo_t_".concat(x,"=([^&#]*)")).exec(window.location.href);if(w&&w[1]){var C=decodeURI(w[1]);b.setCurrentTime(C)}}).catch(r)}},v=0;v<d.length;v++)g()}};window.addEventListener("message",i)}}function wb(){var n=function(){for(var a,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,d=l.length,g={};u<d;u++)if(a=l[u],a&&a[1]in document){for(u=0;u<a.length;u++)g[l[0][u]]=a[u];return g}return!1}(),r={fullscreenchange:n.fullscreenchange,fullscreenerror:n.fullscreenerror},i={request:function(l){return new Promise(function(u,d){var g=function m(){i.off("fullscreenchange",m),u()};i.on("fullscreenchange",g),l=l||document.documentElement;var v=l[n.requestFullscreen]();v instanceof Promise&&v.then(g).catch(d)})},exit:function(){return new Promise(function(l,u){if(!i.isFullscreen){l();return}var d=function v(){i.off("fullscreenchange",v),l()};i.on("fullscreenchange",d);var g=document[n.exitFullscreen]();g instanceof Promise&&g.then(d).catch(u)})},on:function(l,u){var d=r[l];d&&document.addEventListener(d,u)},off:function(l,u){var d=r[l];d&&document.removeEventListener(d,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 xb={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1},_b=function(n){tb(i,n);var r=ib(i);function i(a,l){var u,d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},g=arguments.length>3?arguments[3]:void 0;return fd(this,i),u=r.call(this),$i(Ai(u),"logger",void 0),$i(Ai(u),"speedAdjustment",0),$i(Ai(u),"adjustSpeed",function(){var v=Pn(gt().mark(function m($,T){var b;return gt().wrap(function(w){for(;;)switch(w.prev=w.next){case 0:if(u.speedAdjustment!==T){w.next=2;break}return w.abrupt("return");case 2:return w.next=4,$.getPlaybackRate();case 4:return w.t0=w.sent,w.t1=u.speedAdjustment,w.t2=w.t0-w.t1,w.t3=T,b=w.t2+w.t3,u.log("New playbackRate: ".concat(b)),w.next=12,$.setPlaybackRate(b);case 12:u.speedAdjustment=T;case 13:case"end":return w.stop()}},m)}));return function(m,$){return v.apply(this,arguments)}}()),u.logger=g,u.init(l,a,Ru(Ru({},xb),d)),u}return hd(i,[{key:"disconnect",value:function(){this.dispatchEvent(new Event("disconnect"))}},{key:"init",value:function(){var a=Pn(gt().mark(function u(d,g,v){var m=this,$,T,b;return gt().wrap(function(w){for(;;)switch(w.prev=w.next){case 0:return w.next=2,this.waitForTOReadyState(d,"open");case 2:if(v.role!=="viewer"){w.next=10;break}return w.next=5,this.updatePlayer(d,g,v);case 5:$=Ou(d,"change",function(){return m.updatePlayer(d,g,v)}),T=this.maintainPlaybackPosition(d,g,v),this.addEventListener("disconnect",function(){T.cancel(),$.cancel()}),w.next=14;break;case 10:return w.next=12,this.updateTimingObject(d,g);case 12:b=Ou(g,["seeked","play","pause","ratechange"],function(){return m.updateTimingObject(d,g)},"on","off"),this.addEventListener("disconnect",function(){return b.cancel()});case 14:case"end":return w.stop()}},u,this)}));function l(u,d,g){return a.apply(this,arguments)}return l}()},{key:"updateTimingObject",value:function(){var a=Pn(gt().mark(function u(d,g){return gt().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return m.t0=d,m.next=3,g.getCurrentTime();case 3:return m.t1=m.sent,m.next=6,g.getPaused();case 6:if(!m.sent){m.next=10;break}m.t2=0,m.next=13;break;case 10:return m.next=12,g.getPlaybackRate();case 12:m.t2=m.sent;case 13:m.t3=m.t2,m.t4={position:m.t1,velocity:m.t3},m.t0.update.call(m.t0,m.t4);case 16:case"end":return m.stop()}},u)}));function l(u,d){return a.apply(this,arguments)}return l}()},{key:"updatePlayer",value:function(){var a=Pn(gt().mark(function u(d,g,v){var m,$,T;return gt().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:if(m=d.query(),$=m.position,T=m.velocity,typeof $=="number"&&g.setCurrentTime($),typeof T!="number"){x.next=25;break}if(T!==0){x.next=11;break}return x.next=6,g.getPaused();case 6:if(x.t0=x.sent,x.t0!==!1){x.next=9;break}g.pause();case 9:x.next=25;break;case 11:if(!(T>0)){x.next=25;break}return x.next=14,g.getPaused();case 14:if(x.t1=x.sent,x.t1!==!0){x.next=19;break}return x.next=18,g.play().catch(function(){var w=Pn(gt().mark(function C(S){return gt().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:if(!(S.name==="NotAllowedError"&&v.autoPlayMuted)){L.next=5;break}return L.next=3,g.setMuted(!0);case 3:return L.next=5,g.play().catch(function(A){return console.error("Couldn't play the video from TimingSrcConnector. Error:",A)});case 5:case"end":return L.stop()}},C)}));return function(C){return w.apply(this,arguments)}}());case 18:this.updatePlayer(d,g,v);case 19:return x.next=21,g.getPlaybackRate();case 21:if(x.t2=x.sent,x.t3=T,x.t2===x.t3){x.next=25;break}g.setPlaybackRate(T);case 25:case"end":return x.stop()}},u,this)}));function l(u,d,g){return a.apply(this,arguments)}return l}()},{key:"maintainPlaybackPosition",value:function(l,u,d){var g=this,v=d.allowedDrift,m=d.maxAllowedDrift,$=d.minCheckInterval,T=d.maxRateAdjustment,b=d.maxTimeToCatchUp,x=Math.min(b,Math.max($,m))*1e3,w=function(){var S=Pn(gt().mark(function F(){var L,A,I,P,D;return gt().wrap(function(U){for(;;)switch(U.prev=U.next){case 0:if(U.t0=l.query().velocity===0,U.t0){U.next=6;break}return U.next=4,u.getPaused();case 4:U.t1=U.sent,U.t0=U.t1===!0;case 6:if(!U.t0){U.next=8;break}return U.abrupt("return");case 8:return U.t2=l.query().position,U.next=11,u.getCurrentTime();case 11:if(U.t3=U.sent,L=U.t2-U.t3,A=Math.abs(L),g.log("Drift: ".concat(L)),!(A>m)){U.next=22;break}return U.next=18,g.adjustSpeed(u,0);case 18:u.setCurrentTime(l.query().position),g.log("Resync by currentTime"),U.next=29;break;case 22:if(!(A>v)){U.next=29;break}return I=A/b,P=T,D=I<P?(P-I)/2:P,U.next=28,g.adjustSpeed(u,D*Math.sign(L));case 28:g.log("Resync by playbackRate");case 29:case"end":return U.stop()}},F)}));return function(){return S.apply(this,arguments)}}(),C=setInterval(function(){return w()},x);return{cancel:function(){return clearInterval(C)}}}},{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(d){var g=function v(){l.readyState===u?d():l.addEventListener("readystatechange",v,{once:!0})};g()})}}]),i}(oa(EventTarget)),nr=new WeakMap,Jo=new WeakMap,Ct={},Sa=function(){function n(r){var i=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(fd(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)),!ab(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"&&!jn(r.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(nr.has(r))return nr.get(r);this._window=r.ownerDocument.defaultView,this.element=r,this.origin="*";var u=new Wt(function(g,v){if(i._onMessage=function(T){if(!(!jn(T.origin)||i.element.contentWindow!==T.source)){i.origin==="*"&&(i.origin=T.origin);var b=ji(T.data),x=b&&b.event==="error",w=x&&b.data&&b.data.method==="ready";if(w){var C=new Error(b.data.message);C.name=b.data.name,v(C);return}var S=b&&b.event==="ready",F=b&&b.method==="ping";if(S||F){i.element.setAttribute("data-ready","true"),g();return}pb(i,b)}},i._window.addEventListener("message",i._onMessage),i.element.nodeName!=="IFRAME"){var m=yd(r,a),$=bd(m);wd($,m,r).then(function(T){var b=Ca(T,r);return i.element=b,i._originalElement=r,hb(r,b),nr.set(i.element,i),T}).catch(v)}});if(Jo.set(this,u),nr.set(this.element,this),this.element.nodeName==="IFRAME"&&Fn(this,"ping"),Ct.isEnabled){var d=function(){return Ct.exit()};this.fullscreenchangeHandler=function(){Ct.isFullscreen?_r(i,"event:exitFullscreen",d):Ri(i,"event:exitFullscreen",d),i.ready().then(function(){Fn(i,"fullscreenchange",Ct.isFullscreen)})},Ct.on("fullscreenchange",this.fullscreenchangeHandler)}return this}return hd(n,[{key:"callMethod",value:function(i){for(var a=this,l=arguments.length,u=new Array(l>1?l-1:0),d=1;d<l;d++)u[d-1]=arguments[d];if(i==null)throw new TypeError("You must pass a method name.");return new Wt(function(g,v){return a.ready().then(function(){_r(a,i,{resolve:g,reject:v}),Fn(a,i,u)}).catch(v)})}},{key:"get",value:function(i){var a=this;return new Wt(function(l,u){return i=Iu(i,"get"),a.ready().then(function(){_r(a,i,{resolve:l,reject:u}),Fn(a,i)}).catch(u)})}},{key:"set",value:function(i,a){var l=this;return new Wt(function(u,d){if(i=Iu(i,"set"),a==null)throw new TypeError("There must be a value to set.");return l.ready().then(function(){_r(l,i,{resolve:u,reject:d}),Fn(l,i,a)}).catch(d)})}},{key:"on",value:function(i,a){if(!i)throw new TypeError("You must pass an event name.");if(!a)throw new TypeError("You must pass a callback function.");if(typeof a!="function")throw new TypeError("The callback must be a function.");var l=ki(this,"event:".concat(i));l.length===0&&this.callMethod("addEventListener",i).catch(function(){}),_r(this,"event:".concat(i),a)}},{key:"off",value:function(i,a){if(!i)throw new TypeError("You must pass an event name.");if(a&&typeof a!="function")throw new TypeError("The callback must be a function.");var l=Ri(this,"event:".concat(i),a);l&&this.callMethod("removeEventListener",i).catch(function(u){})}},{key:"loadVideo",value:function(i){return this.callMethod("loadVideo",i)}},{key:"ready",value:function(){var i=Jo.get(this)||new Wt(function(a,l){l(new Error("Unknown player. Probably unloaded."))});return Wt.resolve(i)}},{key:"addCuePoint",value:function(i){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.callMethod("addCuePoint",{time:i,data:a})}},{key:"removeCuePoint",value:function(i){return this.callMethod("removeCuePoint",i)}},{key:"enableTextTrack",value:function(i,a){if(!i)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:i,kind:a})}},{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 Ct.isEnabled?Ct.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return Ct.isEnabled?Ct.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return Ct.isEnabled?Wt.resolve(Ct.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 Wt(function(a){if(Jo.delete(i),nr.delete(i.element),i._originalElement&&(nr.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),Ct.isEnabled&&Ct.off("fullscreenchange",i.fullscreenchangeHandler),a()})}},{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 Wt.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 Wt(function(u,d){return d(new TypeError("Argument must be an array."))});var a=new Wt(function(u){return u(null)}),l=[i[0]?this.set("colorOne",i[0]):a,i[1]?this.set("colorTwo",i[1]):a,i[2]?this.set("colorThree",i[2]):a,i[3]?this.set("colorFour",i[3]):a];return Wt.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=Pn(gt().mark(function a(l,u){var d=this,g;return gt().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:if(l){m.next=2;break}throw new TypeError("A Timing Object must be provided.");case 2:return m.next=4,this.ready();case 4:return g=new _b(this,l,u),Fn(this,"notifyTimingObjectConnect"),g.addEventListener("disconnect",function(){return Fn(d,"notifyTimingObjectDisconnect")}),m.abrupt("return",g);case 8:case"end":return m.stop()}},a,this)}));function i(a,l){return r.apply(this,arguments)}return i}()}]),n}();md||(Ct=wb(),mb(),vb(),bb(),yb());const Cb=(n,r,i,a)=>({id:parseInt(n,10),width:typeof r=="number"?r:void 0,height:typeof i=="number"?i:void 0,...a}),Sb=async(n,r)=>{if(n)try{const i=[];typeof r.loop=="boolean"&&i.push(n.getLoop().then(a=>{if(a!==r.loop)return n.setLoop(r.loop)})),r.color&&i.push(n.getColor().then(a=>{if(a!==r.color)return n.setColor(r.color)})),typeof r.muted=="boolean"&&i.push(n.getMuted().then(a=>{if(a!==r.muted)return n.setMuted(r.muted)})),await Promise.all(i)}catch(i){console.warn("Error enforcing player config:",i)}},$b=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}),Eb=n=>{var i,a;const r=ve();return h.useMemo(()=>{var u,d;return{...(u=r.__hd__.vimeo)==null?void 0:u.playerSettings,...n,color:(n==null?void 0:n.color)||((d=r.__hd__.vimeo)==null?void 0:d.defaultAccentColor)||"#00adef"}},[(i=r.__hd__.vimeo)==null?void 0:i.playerSettings,(a=r.__hd__.vimeo)==null?void 0:a.defaultAccentColor,n])},Ab=(n,r,i,a,l)=>{const u=h.useRef(null);return h.useEffect(()=>n.current?((async()=>{try{const g=Cb(r,i,a,l);n.current&&(u.current=new Sa(n.current,g),setTimeout(()=>{Sb(u.current,l)},100))}catch(g){console.error("Failed to initialize Vimeo player:",g)}})(),()=>{u.current&&(u.current.destroy(),u.current=null)}):void 0,[r,i,a]),u},Tb=(n,r)=>{h.useEffect(()=>{if(!n.current||!r)return;const i=n.current,a=$b(r);return Object.entries(a).forEach(([l,u])=>{u&&i.on(l,u)}),()=>{n.current&&Object.entries(a).forEach(([l,u])=>{if(u)try{n.current.off(l,u)}catch{}})}},[n,r])},kb=re.div`
|
|
252
|
+
*/(function(i,s,l){s[i]=s[i]||l(),n.exports&&(n.exports=s[i])})("Promise",kr,function(){var i,s,l,u=Object.prototype.toString,f=typeof setImmediate<"u"?function(T){return setImmediate(T)}:setTimeout;try{Object.defineProperty({},"x",{}),i=function(T,z,D,q){return Object.defineProperty(T,z,{value:D,writable:!0,configurable:q!==!1})}}catch{i=function(z,D,q){return z[D]=q,z}}l=function(){var T,z,D;function q(G,J){this.fn=G,this.self=J,this.next=void 0}return{add:function(J,me){D=new q(J,me),z?z.next=D:T=D,z=D,D=void 0},drain:function(){var J=T;for(T=z=s=void 0;J;)J.fn.call(J.self),J=J.next}}}();function d(k,T){l.add(k,T),s||(s=f(l.drain))}function g(k){var T,z=typeof k;return k!=null&&(z=="object"||z=="function")&&(T=k.then),typeof T=="function"?T:!1}function v(){for(var k=0;k<this.chain.length;k++)_(this,this.state===1?this.chain[k].success:this.chain[k].failure,this.chain[k]);this.chain.length=0}function _(k,T,z){var D,q;try{T===!1?z.reject(k.msg):(T===!0?D=k.msg:D=T.call(void 0,k.msg),D===z.promise?z.reject(TypeError("Promise-chain cycle")):(q=g(D))?q.call(D,z.resolve,z.reject):z.resolve(D))}catch(G){z.reject(G)}}function S(k){var T,z=this;if(!z.triggered){z.triggered=!0,z.def&&(z=z.def);try{(T=g(k))?d(function(){var D=new C(z);try{T.call(k,function(){S.apply(D,arguments)},function(){E.apply(D,arguments)})}catch(q){E.call(D,q)}}):(z.msg=k,z.state=1,z.chain.length>0&&d(v,z))}catch(D){E.call(new C(z),D)}}}function E(k){var T=this;T.triggered||(T.triggered=!0,T.def&&(T=T.def),T.msg=k,T.state=2,T.chain.length>0&&d(v,T))}function w(k,T,z,D){for(var q=0;q<T.length;q++)(function(J){k.resolve(T[J]).then(function(we){z(J,we)},D)})(q)}function C(k){this.def=k,this.triggered=!1}function I(k){this.promise=k,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function R(k){if(typeof k!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var T=new I(this);this.then=function(D,q){var G={success:typeof D=="function"?D:!0,failure:typeof q=="function"?q:!1};return G.promise=new this.constructor(function(me,we){if(typeof me!="function"||typeof we!="function")throw TypeError("Not a function");G.resolve=me,G.reject=we}),T.chain.push(G),T.state!==0&&d(v,T),G.promise},this.catch=function(D){return this.then(void 0,D)};try{k.call(void 0,function(D){S.call(T,D)},function(D){E.call(T,D)})}catch(z){E.call(T,z)}}var M=i({},"constructor",R,!1);return R.prototype=M,i(M,"__NPO__",0,!1),i(R,"resolve",function(T){var z=this;return T&&typeof T=="object"&&T.__NPO__===1?T:new z(function(q,G){if(typeof q!="function"||typeof G!="function")throw TypeError("Not a function");q(T)})}),i(R,"reject",function(T){return new this(function(D,q){if(typeof D!="function"||typeof q!="function")throw TypeError("Not a function");q(T)})}),i(R,"all",function(T){var z=this;return u.call(T)!="[object Array]"?z.reject(TypeError("Not an array")):T.length===0?z.resolve([]):new z(function(q,G){if(typeof q!="function"||typeof G!="function")throw TypeError("Not a function");var J=T.length,me=Array(J),we=0;w(z,T,function(H,j){me[H]=j,++we===J&&q(me)},G)})}),i(R,"race",function(T){var z=this;return u.call(T)!="[object Array]"?z.reject(TypeError("Not an array")):new z(function(q,G){if(typeof q!="function"||typeof G!="function")throw TypeError("Not a function");w(z,T,function(me,we){q(we)},G)})}),R})}),Sn=new WeakMap;function ri(n,r,i){var s=Sn.get(n.element)||{};r in s||(s[r]=[]),s[r].push(i),Sn.set(n.element,s)}function bo(n,r){var i=Sn.get(n.element)||{};return i[r]||[]}function wo(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=bo(n,r);if(i.length<1)return!1;var s=i.shift();return wo(n,r,s),s}function tw(n,r){var i=Sn.get(n);Sn.set(r,i),Sn.delete(n)}function Ro(n){if(typeof n=="string")try{n=JSON.parse(n)}catch(r){return console.warn(r),{}}return n}function er(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=Ro(r);var i=[],s;if(r.event){if(r.event==="error"){var l=bo(n,r.data.method);l.forEach(function(f){var d=new Error(r.data.message);d.name=r.data.name,f.reject(d),wo(n,r.data.method,f)})}i=bo(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(!ir(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(_){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 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(ir(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(ir(s.origin)){var l=Ro(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(ir(l.origin)){var u=Ro(l.data);if(!(!u||u.event!=="ready"))for(var f=n.querySelectorAll("iframe"),d=function(){var _=f[g],S=_.contentWindow===l.source;if(Yd(_.src)&&S){var E=new Wa(_);E.getVideoId().then(function(w){var C=new RegExp("[?&]vimeo_t_".concat(w,"=([^&#]*)")).exec(window.location.href);if(C&&C[1]){var I=decodeURI(C[1]);E.setCurrentTime(I)}}).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),ho(go(u),"logger",void 0),ho(go(u),"speedAdjustment",0),ho(go(u),"adjustSpeed",function(){var g=tr(bt().mark(function v(_,S){var E;return bt().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=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=tr(bt().mark(function u(f,d,g){var v=this,_,S,E;return bt().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,d,g);case 5:_=ff(f,"change",function(){return v.updatePlayer(f,d,g)}),S=this.maintainPlaybackPosition(f,d,g),this.addEventListener("disconnect",function(){S.cancel(),_.cancel()}),C.next=14;break;case 10:return C.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 C.stop()}},u,this)}));function l(u,f,d){return s.apply(this,arguments)}return l}()},{key:"updateTimingObject",value:function(){var s=tr(bt().mark(function u(f,d){return bt().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=tr(bt().mark(function u(f,d,g){var v,_,S;return bt().wrap(function(w){for(;;)switch(w.prev=w.next){case 0:if(v=f.query(),_=v.position,S=v.velocity,typeof _=="number"&&d.setCurrentTime(_),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 C=tr(bt().mark(function I(R){return bt().wrap(function(k){for(;;)switch(k.prev=k.next){case 0:if(!(R.name==="NotAllowedError"&&g.autoPlayMuted)){k.next=5;break}return k.next=3,d.setMuted(!0);case 3:return k.next=5,d.play().catch(function(T){return console.error("Couldn't play the video from TimingSrcConnector. Error:",T)});case 5:case"end":return k.stop()}},I)}));return function(I){return C.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,_=f.minCheckInterval,S=f.maxRateAdjustment,E=f.maxTimeToCatchUp,w=Math.min(E,Math.max(_,v))*1e3,C=function(){var R=tr(bt().mark(function M(){var k,T,z,D,q;return bt().wrap(function(J){for(;;)switch(J.prev=J.next){case 0:if(J.t0=l.query().velocity===0,J.t0){J.next=6;break}return J.next=4,u.getPaused();case 4:J.t1=J.sent,J.t0=J.t1===!0;case 6:if(!J.t0){J.next=8;break}return J.abrupt("return");case 8:return J.t2=l.query().position,J.next=11,u.getCurrentTime();case 11:if(J.t3=J.sent,k=J.t2-J.t3,T=Math.abs(k),d.log("Drift: ".concat(k)),!(T>v)){J.next=22;break}return J.next=18,d.adjustSpeed(u,0);case 18:u.setCurrentTime(l.query().position),d.log("Resync by currentTime"),J.next=29;break;case 22:if(!(T>g)){J.next=29;break}return z=T/E,D=S,q=z<D?(D-z)/2:D,J.next=28,d.adjustSpeed(u,q*Math.sign(k));case 28:d.log("Resync by playbackRate");case 29:case"end":return J.stop()}},M)}));return function(){return R.apply(this,arguments)}}(),I=setInterval(function(){return C()},w);return{cancel:function(){return clearInterval(I)}}}},{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)),Cr=new WeakMap,ua=new WeakMap,At={},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"&&!ir(r.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(Cr.has(r))return Cr.get(r);this._window=r.ownerDocument.defaultView,this.element=r,this.origin="*";var u=new Vt(function(d,g){if(i._onMessage=function(S){if(!(!ir(S.origin)||i.element.contentWindow!==S.source)){i.origin==="*"&&(i.origin=S.origin);var E=Ro(S.data),w=E&&E.event==="error",C=w&&E.data&&E.data.method==="ready";if(C){var I=new Error(E.data.message);I.name=E.data.name,g(I);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),_=Qd(v);e0(_,v,r).then(function(S){var E=Pa(S,r);return i.element=E,i._originalElement=r,tw(r,E),Cr.set(i.element,i),S}).catch(g)}});if(ua.set(this,u),Cr.set(this.element,this),this.element.nodeName==="IFRAME"&&er(this,"ping"),At.isEnabled){var f=function(){return At.exit()};this.fullscreenchangeHandler=function(){At.isFullscreen?ri(i,"event:exitFullscreen",f):wo(i,"event:exitFullscreen",f),i.ready().then(function(){er(i,"fullscreenchange",At.isFullscreen)})},At.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 Vt(function(d,g){return s.ready().then(function(){ri(s,i,{resolve:d,reject:g}),er(s,i,u)}).catch(g)})}},{key:"get",value:function(i){var s=this;return new Vt(function(l,u){return i=cf(i,"get"),s.ready().then(function(){ri(s,i,{resolve:l,reject:u}),er(s,i)}).catch(u)})}},{key:"set",value:function(i,s){var l=this;return new Vt(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(){ri(l,i,{resolve:u,reject:f}),er(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=bo(this,"event:".concat(i));l.length===0&&this.callMethod("addEventListener",i).catch(function(){}),ri(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=wo(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 Vt(function(s,l){l(new Error("Unknown player. Probably unloaded."))});return Vt.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 At.isEnabled?At.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return At.isEnabled?At.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return At.isEnabled?Vt.resolve(At.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 Vt(function(s){if(ua.delete(i),Cr.delete(i.element),i._originalElement&&(Cr.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),At.isEnabled&&At.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 Vt.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 Vt(function(u,f){return f(new TypeError("Argument must be an array."))});var s=new Vt(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 Vt.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=tr(bt().mark(function s(l,u){var f=this,d;return bt().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),er(this,"notifyTimingObjectConnect"),d.addEventListener("disconnect",function(){return er(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||(At=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=be();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=ue.div`
|
|
253
253
|
position: relative;
|
|
254
254
|
width: 100%;
|
|
255
255
|
height: 100%;
|
|
256
256
|
overflow: hidden;
|
|
257
|
-
`,
|
|
257
|
+
`,yw=ue.div`
|
|
258
258
|
position: relative;
|
|
259
259
|
padding-bottom: ${({$aspectRatio:n})=>`${n}%`};
|
|
260
260
|
height: 0;
|
|
261
261
|
overflow: hidden;
|
|
262
|
-
`,
|
|
262
|
+
`,bw=ue.div`
|
|
263
263
|
position: absolute;
|
|
264
264
|
top: 0;
|
|
265
265
|
left: 0;
|
|
266
266
|
width: 100%;
|
|
267
267
|
height: 100%;
|
|
268
|
-
`,
|
|
268
|
+
`,ww=({videoId:n,width:r="100%",height:i="auto",config:s,callbacks:l})=>{var E;const u=be(),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,_=pw(s),S=gw(f,n,r,i,_);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 ao({item:n,index:r,isFocused:i,renderItem:s,itemsPerView:l,itemWidth:u}){const f=Oe.isNil(l)?void 0:`0 0 ${100/l}%`;return y.jsx(X,{flex:Oe.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(rr(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)`},Sr=(n,r,i,s)=>s?`${s(n,r)}${i||""}`:`carousel-item-${r}${i||""}`,Aw=Hn`
|
|
269
269
|
0% { transform: translateX(0); }
|
|
270
270
|
100% { transform: translateX(-50%); } /* Scroll one full set of items */
|
|
271
|
-
|
|
271
|
+
`,$w=ue(X)`
|
|
272
272
|
display: flex;
|
|
273
273
|
align-items: stretch; // Use stretch to ensure items fill height if needed
|
|
274
274
|
gap: ${({$itemSpacing:n})=>n||0}px;
|
|
@@ -276,19 +276,19 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
276
276
|
transition: ${({$autoScroll:n})=>n?"none":"transform 0.5s ease-in-out"};
|
|
277
277
|
|
|
278
278
|
/* Apply animation conditionally using the css helper */
|
|
279
|
-
animation: ${({$autoScroll:n,$scrollDuration:r})=>n?
|
|
280
|
-
`;function
|
|
279
|
+
animation: ${({$autoScroll:n,$scrollDuration:r})=>n?Xe`${Aw} ${r}s linear infinite`:"none"};
|
|
280
|
+
`;function kw({itemSpacing:n,itemsWrapperRef:r,items:i,renderItem:s,keyExtractor:l,autoScroll:u,activeIndex:f,virtualActiveIndex:d,itemsPerView:g=1,itemWidth:v,infiniteLoop:_=!1}){const S=be(),w=S.__hd__.carousel.autoScroll,C=typeof u=="object"&&u.speed||w.defaultSpeed,I=h.useMemo(()=>{if(i.length<=g)return i;const D=i.length%g;return D===0?i:i.slice(0,i.length-D)},[i,g]),R=u?I.length*(C/5):0,M=S.spaces[n||S.__hd__.carousel.container.defaultItemSpacing]||0,k=_&&!u&&I.length>1,T=h.useMemo(()=>{if(v)return v*g+M*(g-1)},[v,g,M]),z=h.useMemo(()=>{if(u)return y.jsxs(y.Fragment,{children:[I.map((D,q)=>y.jsx(df,{item:D,index:q,renderItem:s},Sr(D,q,"-auto-scroll",l))),I.map((D,q)=>y.jsx(df,{item:D,index:q+I.length,renderItem:s},Sr(D,q,"-duplicate",l)))]});if(k){const D=q=>{const G=d-I.length;return q>=G&&q<G+g};return y.jsxs(y.Fragment,{children:[I.map((q,G)=>{const J=G;return y.jsx(ao,{item:q,index:J,isFocused:D(G),renderItem:s,itemsPerView:g,itemWidth:v},Sr(q,J,"-prefix",l))}),I.map((q,G)=>y.jsx(ao,{item:q,index:G,isFocused:D(G),renderItem:s,itemsPerView:g,itemWidth:v},Sr(q,G,void 0,l))),I.map((q,G)=>{const J=G;return y.jsx(ao,{item:q,index:J,isFocused:D(G),renderItem:s,itemsPerView:g,itemWidth:v},Sr(q,J,"-suffix",l))})]})}return I.map((D,q)=>y.jsx(ao,{item:D,index:q,isFocused:q>=f&&q<f+g,renderItem:s,itemsPerView:g,itemWidth:v},Sr(D,q,void 0,l)))},[u,k,I,l,s,d,g,v,f]);return y.jsx(X,{width:T,display:"flex",children:y.jsx($w,{$autoScroll:!!u,$scrollDuration:R,$itemSpacing:M,ref:r,children:z})})}const Tw=ue(La)`
|
|
281
281
|
transition: color 0.2s ease;
|
|
282
282
|
color: ${({$color:n,theme:r})=>r.colors[n]};
|
|
283
|
-
`,
|
|
283
|
+
`,Rw=ue(hi)`
|
|
284
284
|
transition: color 0.2s ease;
|
|
285
285
|
color: ${({$color:n,theme:r})=>r.colors[n]};
|
|
286
|
-
`;function
|
|
287
|
-
opacity ${l.duration}ms ${l.easing}`,height:r?
|
|
286
|
+
`;function hf({isLeft:n,onPrev:r,onNext:i}){const s=h.useRef(null),l=Ao(s),u=be(),f=u.__hd__.carousel.navigation,d=u.spaces[f.buttonPadding]*2+u.sizes[f.iconSize],g=pt(u,f.iconSize),v=l?f.buttonBackgroundColor:f.buttonColor,_=typeof g=="string"?parseInt(g,10):g;return y.jsx(Gt,{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:_,weight:"bold",$color:v}):y.jsx(Rw,{size:_,weight:"bold",$color:v})})})}function Lw({itemsCount:n,activeIndex:r,onDotClick:i}){const s=be(),l=s.__hd__.carousel.pagination,u=l.container,f=pt(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:_=1,itemWidth:S,infiniteLoop:E=!1,...w},C){const I=be(),{width:R}=Od(),M=I.__hd__.carousel,k=h.useMemo(()=>{if(n.length<=_)return n;const oe=n.length%_;return oe===0?n:n.slice(0,n.length-oe)},[n,_]),[T,z]=h.useState(f),[D,q]=h.useState(f),G=h.useRef(null),J=h.useRef(null),me=h.useRef(null),we=h.useRef(!1),[$e,H]=h.useState(!1),[j,V]=h.useState(null),[le,ie]=h.useState(0),te=!!u,ne=te?1:Math.max(1,_),fe=te?void 0:Ew(I,S),Me=I.spaces[v||M.container.defaultItemSpacing]||0,Ce=te?!1:i,De=te?!1:s,ze=E&&!te&&k.length>1,Be=Math.max(0,k.length-ne),He=Math.ceil(k.length/ne),qe=typeof l=="object"&&l.delay||3e3,st=h.useCallback(oe=>{if(k.length===0)return 0;for(;oe<0;)oe+=k.length;return oe%k.length},[k.length]),Q=h.useCallback(oe=>{if(!ze)return{virtualIndex:oe,realIndex:oe,needsSnap:!1};let Te=oe,Ye=oe,Xt=!1;return oe<0||oe>Be?(Te=k.length+oe,Ye=st(oe),Xt=!0):(Te=k.length+oe,Ye=oe,Xt=!1),{virtualIndex:Te,realIndex:Ye,needsSnap:Xt}},[ze,k.length,Be,st]),O=h.useCallback(oe=>{if(!ze||!G.current)return;const Te=k.length+oe,Ye=ca(Te,ne,Me,fe);G.current.style.transition="none",G.current.style.transform=`translateX(${Ye})`,q(Te),requestAnimationFrame(()=>{G.current&&(G.current.style.transition="")})},[ze,k.length,ne,Me,fe]),ee=h.useCallback(()=>{if(G.current){const oe=window.getComputedStyle(G.current),Te=new DOMMatrixReadOnly(oe.transform);ie(Te.e)}},[]),se=h.useCallback(oe=>{const Te=ze?oe:Math.max(0,Math.min(oe,Be)),Ye=Q(Te),Xt=Math.max(0,Math.min(Te,Be));if((Xt!==T||$e)&&(z(Xt),d==null||d(Xt)),G.current&&!te){const fn=Ye.virtualIndex;q(fn);const Yt=ca(fn,ne,Me,fe);G.current.style.transform=`translateX(${Yt})`,G.current.style.transition="",queueMicrotask(()=>{ee()}),Ye.needsSnap&&(me.current&&clearTimeout(me.current),me.current=setTimeout(()=>{O(Ye.realIndex),z(Ye.realIndex),d==null||d(Ye.realIndex)},500))}},[ze,Be,T,d,te,ne,Me,fe,ee,$e,Q,O]),ge=h.useCallback(()=>{E&&k.length>0?se(T+ne):se(Math.min(T+ne,Be))},[E,T,ne,Be,k.length,se]),Se=h.useCallback(()=>{E&&k.length>0?se(T-ne):se(Math.max(T-ne,0))},[E,T,ne,k.length,se]);h.useImperativeHandle(C,()=>({goToIndex:se,goToNext:ge,goToPrev:Se}));const Ee=h.useCallback(()=>{J.current&&clearTimeout(J.current)},[]),tt=()=>{we.current=!0,l&&!te&&Ee(),te&&G.current&&(G.current.style.animationPlayState="paused")},xt=h.useCallback(()=>{if(we.current=!1,l&&!te&&!$e){Ee();const oe=(T+1)%k.length,Te=Math.min(oe,Be);J.current=setTimeout(()=>se(Te),qe)}te&&G.current&&(G.current.style.animationPlayState="running")},[l,te,$e,Ee,T,k.length,Be,qe,se]),at=h.useCallback(oe=>{te||n.length<=ne||(me.current&&(clearTimeout(me.current),me.current=null),ee(),Ee(),H(!0),V(oe),G.current&&(G.current.style.transition="none"))},[te,Ee,n.length,ne,ee]),Kt=h.useCallback(oe=>{if(!$e||j===null||te||!G.current)return;const Te=oe-j;G.current.style.transform=`translateX(${le+Te}px)`},[$e,j,te,le]),cn=h.useCallback(()=>{if(!$e||j===null||te)return;H(!1);let oe=fe;!oe&&G.current&&G.current.firstChild&&(oe=G.current.firstChild.clientWidth),!oe&&G.current&&(oe=G.current.clientWidth/ne);const Te=(oe||0)/3;if(G.current){const Ye=window.getComputedStyle(G.current),Yt=new DOMMatrixReadOnly(Ye.transform).e-le;G.current.style.transition="",Math.abs(Yt)>Te?Yt<0?ge():Se():se(T)}V(null),l&&!we.current&&(J.current=setTimeout(()=>ge(),qe))},[$e,j,te,fe,ne,ge,Se,T,l,qe,le,se]),nt=Math.floor(T/ne),gt=oe=>se(oe*ne);h.useEffect(()=>{if(!l||te||we.current||$e){Ee();return}const oe=(T+1)%k.length,Te=Math.min(oe,Be);return J.current=setTimeout(()=>se(Te),qe),Ee},[T,l,qe,se,Ee,te,k.length,Be,$e]),h.useEffect(()=>{if(!wt()){if(ze){const oe=k.length+f;if(q(oe),G.current){const Te=ca(oe,ne,Me,fe);G.current.style.transform=`translateX(${Te})`,G.current.style.transition="none",requestAnimationFrame(()=>{G.current&&(G.current.style.transition="")})}}se(f)}},[R,f,ze,k.length,ne,Me,fe]),h.useEffect(()=>()=>{J.current&&clearTimeout(J.current),me.current&&clearTimeout(me.current)},[]);const lt=()=>{$e&&G.current&&cn(),xt()};return y.jsxs(X,{fw:!0,overflow:"hidden",onMouseEnter:tt,onMouseLeave:lt,onTouchStart:oe=>at(oe.touches[0].clientX),onTouchMove:oe=>Kt(oe.touches[0].clientX),onTouchEnd:cn,onMouseDown:oe=>{oe.button===0&&at(oe.clientX)},onMouseMove:oe=>{oe.buttons===1&&$e&&Kt(oe.clientX)},onMouseUp:oe=>{oe.button===0&&$e&&cn()},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:G,itemSpacing:v,activeIndex:T,virtualActiveIndex:D,items:k,renderItem:r,keyExtractor:g,autoScroll:u,itemsPerView:ne,itemWidth:fe,infiniteLoop:E}),De&&n.length>ne&&y.jsx(X,{position:"absolute",left:0,top:"50%",transform:"translateY(-50%)",children:y.jsx(hf,{isLeft:!0,onPrev:Se,onNext:ge})}),De&&n.length>ne&&y.jsx(X,{position:"absolute",right:0,top:"50%",transform:"translateY(-50%)",children:y.jsx(hf,{isLeft:!1,onPrev:Se,onNext:ge})})]}),Ce&&He>1&&y.jsx(Lw,{itemsCount:He,activeIndex:nt,onDotClick:gt})]})}const Ow=h.forwardRef(Iw);function Mw({renderContent:n,isExpanded:r}){const s=be().__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},
|
|
287
|
+
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=ue(hi)`
|
|
288
288
|
transition: transform ${({$duration:n,$easing:r})=>`${n}ms ${r}`};
|
|
289
289
|
transform: rotate(${({$isExpanded:n})=>n?"90deg":"0deg"});
|
|
290
290
|
flex-shrink: 0; /* Prevent icon from shrinking */
|
|
291
|
-
`;function
|
|
291
|
+
`;function zw({renderHeader:n,isExpanded:r,onToggle:i,disabled:s,iconPosition:l="left"}){const u=be(),f=u.__hd__.accordion,d=f.header,g=f.animation,v=pt(u,d.iconSize),_=u.colors[d.iconColor]||d.iconColor,S=y.jsx(Gt,{onClick:s?void 0:i,cursor:s?"not-allowed":"pointer",opacity:s?d.disabledOpacity:1,children:y.jsx(Fw,{size:v,color:_,weight:"bold",$isExpanded:r,$duration:g.duration,$easing:g.easing})});return y.jsx(Gt,{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=be().__hd__.accordion,_=s!==void 0,[S,E]=h.useState(i),w=_?s:S;h.useEffect(()=>{_&&E(s)},[_,s]);const C=h.useCallback(()=>{if(u)return;const I=!w;_||E(I),l==null||l(I)},[u,w,_,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:C,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=ue(X)`
|
|
292
292
|
display: inline-flex; /* Use inline-flex to allow tags to flow like text */
|
|
293
293
|
align-items: center;
|
|
294
294
|
justify-content: center;
|
|
@@ -298,60 +298,60 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
298
298
|
gap: ${({theme:n,$gap:r})=>n.spaces[r]}px;
|
|
299
299
|
padding: ${({theme:n,$paddingVertical:r,$paddingHorizontal:i})=>`${n.spaces[r]}px ${n.spaces[i]}px`};
|
|
300
300
|
|
|
301
|
-
border-radius: ${({theme:n,$radius:r})=>
|
|
301
|
+
border-radius: ${({theme:n,$radius:r})=>Af(r)?`${n.radii[r]}px`:r};
|
|
302
302
|
|
|
303
303
|
background-color: ${({theme:n,$variant:r,$color:i})=>r==="solid"?n.colors[i]:n.colors.transparent};
|
|
304
304
|
|
|
305
305
|
border-color: ${({theme:n,$variant:r,$color:i})=>r==="outlined"?n.colors[i]:n.colors.transparent};
|
|
306
|
-
`,
|
|
307
|
-
color: ${({theme:n,$color:r,$textColor:i,$variant:
|
|
306
|
+
`,Pw=ue(ot)`
|
|
307
|
+
color: ${({theme:n,$color:r,$textColor:i,$variant:s})=>t0(n,r,i,s)};
|
|
308
308
|
font-size: ${({theme:n,$fontSize:r})=>n.__hd__.text.fontSizes[r]}px;
|
|
309
309
|
/* Use medium weight for tags by default, can be customized via theme if needed */
|
|
310
310
|
font-weight: ${({theme:n})=>n.__hd__.text.fontWeights.medium};
|
|
311
311
|
line-height: 1; /* Ensure tight line height for tags */
|
|
312
|
-
`,
|
|
312
|
+
`,Ww=({variant:n,color:r,textColor:i,size:s,radius:l,icon:u,rightIcon:f,children:d,style:g,"data-testid":v,..._})=>{const S=be(),E=S.__hd__.tag,w=n??E.defaultVariant,C=r??E.defaultColor,I=s??E.defaultSize,R=l??E.defaultRadius,M=t0(S,C,i,w),k=h.useMemo(()=>E.sizes[I],[E.sizes,I]);return y.jsxs(Bw,{$variant:w,$color:C,$textColor:i,$size:I,$radius:R,$paddingVertical:k.paddingVertical,$paddingHorizontal:k.paddingHorizontal,$fontSize:k.fontSize,$gap:k.gap,$iconSize:k.iconSize,style:g,"data-testid":v,..._,children:[u&&y.jsx(qt,{type:"icon",art:u,size:k.iconSize,color:M,weight:"regular"}),y.jsx(Pw,{$color:C,$textColor:i,$variant:w,$fontSize:k.fontSize,as:"span",children:d}),f&&y.jsx(qt,{type:"icon",art:f,size:k.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=be(),v=g.__hd__.checkbox,[_,S]=h.useState(r);h.useEffect(()=>{S(r)},[r]);const E=l??v.defaultColor,w=u??v.defaultSize,C=v.sizes[w],I=v.animation,R=pt(g,C.iconSize),M=_?E:"white",k=_?E:v.uncheckedBorderColor,T=s?v.disabledColor:M,z=s?v.disabledColor:k,D=()=>{if(s)return;const q=!_;S(q),i(q)};return y.jsxs(Gt,{onClick:s?void 0:D,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:C.borderRadius,borderWidth:C.borderWidth,borderColor:z,backgroundColor:T,filter:s?"opacity(0.5)":"none",transition:`background-color ${I.duration}ms ${I.easing}, border-color ${I.duration}ms ${I.easing}`,children:y.jsx(qt,{type:"icon",art:Ed,size:R,color:g.colors[v.iconColor],weight:"bold",opacity:_?1:0,transition:`opacity ${I.duration}ms ${I.easing}`,margin:C.iconMargin})}),n&&y.jsx(X,{pl:C.labelPaddingLeft,children:y.jsx(ot,{fontSize:C.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 _=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:_,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=Ao(d),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(Gt,{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:_,transition:`background-color ${f.duration}ms ${f.easing}`,opacity:i?u.disabledOpacity:1,display:"block",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",children:y.jsx(ot,{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=be(),v=g.__hd__.select,_=v.dropdown,S=h.useRef(null),E=v.sizes[f],w=v.animation,C=n.getBoundingClientRect(),I=g.spaces[_.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]),wt()?null:Z8.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+I}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 ${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,k=!!R.disabled;return y.jsx(r0,{option:R,isSelected:M,isDisabled:k,onSelect:s,sizeConfig:E,themeSelect:v,animation:w},R.value)}):y.jsx(X,{p:E.dropdownPaddingVertical,px:E.dropdownPaddingHorizontal,children:y.jsx(ot,{fontSize:E.fontSize,color:_.emptyTextColor,as:"span",children:"No options available"})})}),document.body)}const Zw=({fontSize:n,color:r,...i})=>{const s=be(),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:_,baseBorderWidthKey:S,insetBoxShadow:E,textColor:w,iconColor:C,testId:I,setIsHovering:R,searchable:M,searchTerm:k,onSearchChange:T})=>{const z=i&&M;return y.jsx(Gt,{onClick:l,cursor:s?"not-allowed":"pointer",useScaleAnimation:!1,useOpacityAnimation:!1,"data-testid":I,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:_,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:z?y.jsx(Zw,{value:k,onChange:D=>T(D.target.value),placeholder:n,onClick:D=>D.stopPropagation(),autoFocus:!0,fontSize:d.fontSize,color:w}):y.jsx(ot,{fontSize:d.fontSize,color:w,as:"span",children:r||n})}),y.jsx(qt,{type:"icon",art:Ra,size:u,color:C,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",_=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,C=n.borderWidths[w],I=Math.max(0,C-_);if(I>0){const R=n.colors[d];E=`inset 0 0 0 ${I}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:_,corner:S,style:E,"data-testid":w,searchable:C=!1})=>{var se;const I=be(),R=I.__hd__.select,[M,k]=h.useState(""),{isOpen:T,isHovering:z,selectedValue:D,selectRef:q,handleToggle:G,handleSelect:J,handleClose:me,setIsHovering:we}=n0({value:r,onChange:i,disabled:d});h.useEffect(()=>{T&&k("")},[T]);const $e=h.useMemo(()=>M?n.filter(ge=>ge.label.toLowerCase().includes(M.toLowerCase())):n,[n,M]),H=v??R.defaultColor,j=_??R.defaultSize,V=S??R.defaultCorner,le=R.sizes[j],ie=R.animation,te=R.squircleBorderRadii[V],ne=V==="circle"?R.dropdown.borderRadiusForCircle:R.dropdown.borderRadiusForRounded,fe=I.radii[ne],Me=!!f,Ce=d,{backgroundColor:De,borderColor:ze,borderWidth:Be,insetBoxShadow:He}=o0({theme:I,themeSelect:R,variant:g,isDisabled:Ce,isErrored:Me,isOpen:T,isHovering:z,focusColor:H}),qe=Ce?R.disabledContentColor:R.iconColor,st=Ce?R.disabledContentColor:D!=null?R.valueColor:R.placeholderColor,Q=Ce?R.disabledLabelColor:R.labelColor,O=(se=n.find(ge=>ge.value===D))==null?void 0:se.label,ee=pt(I,le.iconSize);return y.jsxs(X,{fw:!0,style:E,position:"relative",ref:q,children:[l&&y.jsx(X,{mb:"xs",children:y.jsx(ot,{fontWeight:"medium",color:Q,children:l})}),y.jsx(i0,{placeholder:s,selectedOptionLabel:O,isOpen:T,isDisabled:Ce,handleToggle:G,iconSizePx:ee,inputBorderRadius:te,sizeConfig:le,animation:ie,currentBgColor:De,currentBorderColor:ze,baseBorderWidthKey:Be,insetBoxShadow:He,textColor:st,iconColor:qe,testId:w,setIsHovering:we,searchable:C,searchTerm:M,onSearchChange:k}),(f||u)&&y.jsx(X,{children:y.jsx(ot,{fontSize:"xs",color:f?R.errorColor:R.helperTextColor,as:"span",children:f||u})}),q.current&&y.jsx(Hw,{anchorElement:q.current,isOpen:T,options:$e,onSelect:J,selectedValue:D,onClose:me,size:j,borderRadius:`${fe}px`})]})},pf=h.createContext({columns:12}),lo={xs:0,sm:600,md:900,lg:1200,xl:1536},gf=(n,r)=>Oe.isNumber(r)?`${r}px`:Rf(r)?`${n.spaces[r]??0}px`:r,Er=(n,r)=>{if(r!==void 0)if(Oe.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+=`
|
|
313
313
|
flex-basis: auto;
|
|
314
314
|
flex-grow: 0;
|
|
315
315
|
flex-shrink: 0; /* Prevent shrinking below content size */
|
|
316
316
|
max-width: none; /* Allow content to define width */
|
|
317
317
|
width: auto; /* Explicit width auto */
|
|
318
|
-
`;else if(n==="grow")
|
|
318
|
+
`;else if(n==="grow")s+=`
|
|
319
319
|
flex-basis: 0; /* Basis 0 allows grow */
|
|
320
320
|
flex-grow: 1;
|
|
321
321
|
max-width: 100%; /* Can grow up to 100% */
|
|
322
322
|
width: auto; /* Let flexbox handle width */
|
|
323
|
-
`;else if(typeof n=="number"){const l=
|
|
323
|
+
`;else if(typeof n=="number"){const l=Vw(n,i);s+=`
|
|
324
324
|
flex-basis: ${l};
|
|
325
325
|
flex-grow: 0;
|
|
326
326
|
flex-shrink: 0; /* Prevent shrinking when space is tight */
|
|
327
|
-
`}return r==="auto"?
|
|
328
|
-
`:
|
|
329
|
-
`}}}return
|
|
327
|
+
`}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(lo),...Oe.isObject(u)?Object.keys(u):[],...Oe.isObject(f)?Object.keys(f):[],...Oe.isObject(l)?Object.keys(l):[]]));d.sort((v,_)=>lo[v]-lo[_]);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 _=u[v],S=f[v];if(_!==void 0||S!==void 0||v==="xs"||l[v]!==void 0){const E=qw({sizeValue:_??u.xs,offsetValue:S??f.xs,currentTotalColumns:g});if(E){const w=v==="xs"?"":`@media (min-width: ${lo[v]}px)`;w?s+=`${w} { ${E} }
|
|
328
|
+
`:s+=E+`
|
|
329
|
+
`}}}return Dn.css`${s}`},Kw=ue(X)`
|
|
330
330
|
box-sizing: border-box;
|
|
331
331
|
margin: 0; // Reset margin by default
|
|
332
332
|
|
|
333
333
|
// --- Container Styles ---
|
|
334
|
-
${({container:n,theme:r,spacing:i,rowSpacing:
|
|
334
|
+
${({container:n,theme:r,spacing:i,rowSpacing:s,columnSpacing:l,columns:u})=>n&&Xe`
|
|
335
335
|
display: flex;
|
|
336
336
|
flex-wrap: wrap;
|
|
337
337
|
width: 100%; // Default container width
|
|
338
338
|
|
|
339
339
|
// Apply spacing using gap properties (more modern)
|
|
340
340
|
// Use helper to resolve responsive values
|
|
341
|
-
${i&&
|
|
342
|
-
${
|
|
343
|
-
row-gap: ${
|
|
344
|
-
--grid-row-gap: ${
|
|
341
|
+
${i&&Xe`gap: ${Er(r,i)};`}
|
|
342
|
+
${s&&Xe`
|
|
343
|
+
row-gap: ${Er(r,s)};
|
|
344
|
+
--grid-row-gap: ${Er(r,s)};
|
|
345
345
|
`}
|
|
346
|
-
${l&&
|
|
347
|
-
column-gap: ${
|
|
346
|
+
${l&&Xe`
|
|
347
|
+
column-gap: ${Er(r,l)};
|
|
348
348
|
/* Expose for child items so they can calc width incl. gap */
|
|
349
|
-
--grid-column-gap: ${
|
|
349
|
+
--grid-column-gap: ${Er(r,l)};
|
|
350
350
|
`}
|
|
351
351
|
|
|
352
352
|
/* Fallback when only spacing is provided (uniform gap) */
|
|
353
|
-
${i&&!l&&
|
|
354
|
-
--grid-column-gap: ${
|
|
353
|
+
${i&&!l&&Xe`
|
|
354
|
+
--grid-column-gap: ${Er(r,i)};
|
|
355
355
|
`}
|
|
356
356
|
|
|
357
357
|
// Note: Fallback for browsers without gap support (e.g., negative margins)
|
|
@@ -359,16 +359,16 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
359
359
|
// Consider a polyfill or different approach if needed.
|
|
360
360
|
|
|
361
361
|
// Apply custom column count styling if needed (e.g., for debugging)
|
|
362
|
-
// ${u&&typeof u=="number"&&
|
|
362
|
+
// ${u&&typeof u=="number"&&Xe`/* Custom columns: ${u} */`}
|
|
363
363
|
`}
|
|
364
364
|
|
|
365
365
|
// --- Item Styles ---
|
|
366
|
-
${({container:n,size:r,offset:i,theme:
|
|
366
|
+
${({container:n,size:r,offset:i,theme:s,columnsContext:l})=>!n&&(r!==void 0||i!==void 0)&&Xe`
|
|
367
367
|
/* Reset margin potentially added by parent container's negative margin fallback */
|
|
368
368
|
/* margin: 0; */
|
|
369
|
-
${
|
|
369
|
+
${Gw({size:r,offset:i,columnsContext:l})}
|
|
370
370
|
`}
|
|
371
|
-
`,
|
|
371
|
+
`,s0=h.forwardRef(({container:n=!1,spacing:r,rowSpacing:i,columnSpacing:s,columns:l=12,size:u,offset:f,children:d,...g},v)=>{const _=h.useContext(pf),S=l!==void 0?l:_.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 xo=ue(Gt)`
|
|
372
372
|
border-radius: ${({theme:n,$borderRadius:r})=>n.radii[r]}px;
|
|
373
373
|
width: ${({theme:n,$size:r})=>n.sizes[r]}px;
|
|
374
374
|
height: ${({theme:n,$size:r})=>n.sizes[r]}px;
|
|
@@ -380,22 +380,22 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
380
380
|
background-color: ${({theme:n,$color:r,$selected:i})=>i?void 0:n.colors[r]};
|
|
381
381
|
}
|
|
382
382
|
transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
|
|
383
|
-
`,
|
|
383
|
+
`,mf=ue(ot)`
|
|
384
384
|
color: ${({theme:n,$selected:r,$defaultColor:i})=>r?n.colors.white:n.colors[i]};
|
|
385
385
|
font-size: ${({theme:n,$fontSize:r})=>n.__hd__.text.fontSizes[r]}px;
|
|
386
|
-
${
|
|
386
|
+
${xo}:hover & {
|
|
387
387
|
color: ${({theme:n,$selected:r})=>r?void 0:n.colors.white};
|
|
388
388
|
}
|
|
389
389
|
transition: color 0.2s ease-in-out, transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
|
|
390
|
-
`,
|
|
390
|
+
`,Xw=ue(qt)`
|
|
391
391
|
color: ${({theme:n,$color:r,$selected:i})=>i?n.colors.white:n.colors[r]};
|
|
392
|
-
${
|
|
392
|
+
${xo}:hover & {
|
|
393
393
|
color: ${({theme:n,$color:r,$selected:i})=>i?n.colors[r]:n.colors.white};
|
|
394
394
|
}
|
|
395
395
|
transition: color 0.2s ease-in-out, transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
|
|
396
396
|
width: ${({theme:n,$size:r})=>n.sizes[r]}px;
|
|
397
397
|
height: ${({theme:n,$size:r})=>n.sizes[r]}px;
|
|
398
|
-
`,
|
|
398
|
+
`,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=be().__hd__.pagination.item,w=E.sizes[d],C=E.shapes[f],I=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 hi;case"first":return Cd;case"last":return Sd;default:return null}},[n]);return n==="page"?y.jsx(xo,{onClick:s?void 0:I,useScaleAnimation:!s,useOpacityAnimation:!s,$borderRadius:C.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(xo,{onClick:I,$borderRadius:C.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 k=M-R+1;return Array.from({length:k},(T,z)=>R+z)},g=d(1,Math.min(i,n)),v=d(Math.max(n-i+1,i+1),n),_=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;_===w+2?E.push(w+1):_>w+2&&E.push("start-ellipsis"),_<=S&&E.push(...d(_,S));const C=v.length>0?v[0]:n+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,M,k)=>typeof R=="number"?R>=1&&R<=n&&k.indexOf(R)===M:k.indexOf(R)===M).map(R=>{let M,k;return typeof R=="number"?(M="page",k=R):M=R,{type:M,page:k,selected:k===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:_="primary"})=>{const E=be().__hd__.pagination,{items:w}=Yw({count:n,page:r,boundaryCount:s,siblingCount:l,showFirstButton:u,showLastButton:f,showPrevNextButtons:d}),C=h.useCallback((I,R)=>{i&&I!==null&&i(I,R)},[i]);return y.jsx(X,{display:"flex",flexDirection:"row",alignItems:"center",gap:E.container.sizes[v].gap,children:w.map((I,R)=>y.jsx(a0,{count:n,type:I.type,page:I.page,currentPage:r,selected:I.selected,disabled:I.disabled,onClick:C,shape:g,size:v,color:_},`${I.type}-${I.page||R}`))})},Jw=Hn`
|
|
399
399
|
0% {
|
|
400
400
|
left: 0%;
|
|
401
401
|
width: 0%;
|
|
@@ -411,7 +411,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
411
411
|
width: 0%; /* Smallest at the right end */
|
|
412
412
|
transform: translateX(0%); /* Ensure it exits cleanly if it was translateX(100%) it would go off screen too fast */
|
|
413
413
|
}
|
|
414
|
-
`,
|
|
414
|
+
`,e3=ue(X)`
|
|
415
415
|
position: relative;
|
|
416
416
|
overflow: hidden;
|
|
417
417
|
height: ${({theme:n,$heightKey:r})=>n.sizes[r]}px;
|
|
@@ -420,11 +420,11 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
420
420
|
border-width: ${({theme:n,$borderWidthKey:r})=>r?n.borderWidths[r]:0}px;
|
|
421
421
|
border-style: ${({$borderWidthKey:n})=>n?"solid":"none"};
|
|
422
422
|
border-color: ${({theme:n,$borderColorKey:r})=>r?n.colors[r]||r:"transparent"};
|
|
423
|
-
`,
|
|
423
|
+
`,t3=ue(X)`
|
|
424
424
|
width: 100%;
|
|
425
425
|
height: 100%;
|
|
426
426
|
position: relative; /* For absolute positioning of the indicator */
|
|
427
|
-
`,
|
|
427
|
+
`,n3=ue(X)`
|
|
428
428
|
position: absolute;
|
|
429
429
|
top: 0;
|
|
430
430
|
bottom: 0;
|
|
@@ -433,15 +433,15 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
433
433
|
background-color: ${({theme:n,$progressColorKey:r})=>n.colors[r]};
|
|
434
434
|
border-radius: ${({theme:n,$borderRadiusKey:r})=>n.radii[r]}px;
|
|
435
435
|
|
|
436
|
-
${({$progressValue:n})=>n!==void 0?
|
|
436
|
+
${({$progressValue:n})=>n!==void 0?Xe`
|
|
437
437
|
width: ${n}%;
|
|
438
438
|
left: 0; // Explicitly set left for determinate state
|
|
439
439
|
transition: width 0.3s ease-in-out;
|
|
440
|
-
`:
|
|
440
|
+
`:Xe`
|
|
441
441
|
/* Indeterminate: animation controls width and position */
|
|
442
|
-
animation: ${
|
|
442
|
+
animation: ${Jw} 2s infinite linear alternate;
|
|
443
443
|
`}
|
|
444
|
-
`,
|
|
444
|
+
`,r3=({value:n,color:r,size:i,variant:s,testID:l="progress",...u})=>{const d=be().__hd__.progress,g=s||d.defaultVariant,v=i||d.defaultSize,{height:_,borderRadius:S}=d.sizes[v],{containerBackgroundColor:E,containerBorderColor:w,containerBorderWidth:C,defaultProgressColor:I}=d.variants[g],R=r||I;let M=w;g==="outlined"&&(M=R);const k=n!==void 0?Math.max(0,Math.min(n,100)):void 0;return y.jsx(e3,{$heightKey:_,$borderRadiusKey:S,$backgroundColorKey:E,$borderColorKey:M,$borderWidthKey:C,"data-testid":`${l}-container`,...u,children:y.jsx(t3,{"data-testid":`${l}-bar`,children:y.jsx(n3,{$progressColorKey:R,$progressValue:k,$borderRadiusKey:S,"data-testid":`${l}-indicator`})})})},i3=ue(X)`
|
|
445
445
|
position: fixed;
|
|
446
446
|
top: 0;
|
|
447
447
|
left: 0;
|
|
@@ -452,44 +452,45 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
452
452
|
display: flex;
|
|
453
453
|
align-items: center;
|
|
454
454
|
justify-content: center;
|
|
455
|
-
`;let
|
|
455
|
+
`;let uo=0,vf;const o3=({open:n,onClose:r,children:i,"data-testid":s,...l})=>{const u=be();if(h.useEffect(()=>{if(!(typeof document>"u"))return n&&(uo===0&&(vf=document.body.style.overflow,document.body.style.overflow="hidden"),uo++),()=>{n&&(uo--,uo===0&&(document.body.style.overflow=vf))}},[n]),!n)return null;const f=d=>{d.target===d.currentTarget&&(r==null||r())};return y.jsx(i3,{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})})},s3=({children:n,description:r,placement:i,backgroundColor:s,color:l})=>{const u=be(),f=u.__hd__.tooltip,d=i??f.defaultPlacement,g=s??f.defaultBackgroundColor,v=l??f.defaultTextColor,_=h.useRef(null),S=Ao(_),E=f.positioning.placements[d];return y.jsxs(X,{display:"inline-block",position:"relative",ref:_,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(ot,{color:v,fontSize:f.text.fontSize,children:r})})]})},a3=Hn`
|
|
456
456
|
from {
|
|
457
457
|
opacity: 0;
|
|
458
458
|
}
|
|
459
459
|
to {
|
|
460
460
|
opacity: 1;
|
|
461
461
|
}
|
|
462
|
-
`,
|
|
462
|
+
`,l3=ue(X)`
|
|
463
463
|
position: relative;
|
|
464
|
-
display:
|
|
465
|
-
|
|
464
|
+
display: block;
|
|
465
|
+
${({$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),Or(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`)),Xe(d)}}
|
|
466
|
+
`,u3=ue.svg`
|
|
466
467
|
display: block;
|
|
467
468
|
flex-shrink: 0;
|
|
468
|
-
width: ${({$width:n})=>n?`${n}px`:
|
|
469
|
+
width: ${({$width:n})=>n===void 0?"100%":typeof n=="number"?`${n}px`:n};
|
|
469
470
|
height: ${({$height:n})=>n?`${n}px`:"auto"};
|
|
470
|
-
`;
|
|
471
|
+
`;ue.rect`
|
|
471
472
|
fill: ${({theme:n,$colorKey:r})=>n.colors[r]};
|
|
472
|
-
animation: ${
|
|
473
|
+
animation: ${a3} ${({$animationDuration:n})=>n}ms ease-out;
|
|
473
474
|
transition: opacity 0.3s ease;
|
|
474
475
|
cursor: pointer;
|
|
475
476
|
|
|
476
477
|
&:hover {
|
|
477
478
|
opacity: 0.8;
|
|
478
479
|
}
|
|
479
|
-
`;const
|
|
480
|
+
`;const yf=ue.line`
|
|
480
481
|
stroke: ${({theme:n,$colorKey:r})=>n.colors[r]||r};
|
|
481
482
|
stroke-width: 1;
|
|
482
483
|
shape-rendering: crispEdges;
|
|
483
|
-
`,
|
|
484
|
+
`,co=ue.text`
|
|
484
485
|
fill: ${({theme:n,$colorKey:r})=>n.colors[r]||r};
|
|
485
486
|
font-size: 12px;
|
|
486
487
|
font-family: ${({theme:n})=>n.fonts.neutral};
|
|
487
|
-
`,
|
|
488
|
+
`,c3=ue.line`
|
|
488
489
|
stroke: ${({theme:n,$colorKey:r})=>n.colors[r]||r};
|
|
489
490
|
stroke-width: 1;
|
|
490
491
|
stroke-dasharray: 2, 2;
|
|
491
492
|
opacity: 0.3;
|
|
492
|
-
`,
|
|
493
|
+
`,f3=({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:_=!0,showYAxis:S=!0,orientation:E="vertical",testID:w="bar-chart",...C})=>{var He,qe,st;const I=be(),R=(He=I.__hd__)==null?void 0:He.barChart,M=h.useRef(null),[k,T]=h.useState(()=>{if(typeof r=="number")return r;if(typeof r=="string"){const Q=r.match(/^(\d+(?:\.\d+)?)px$/);if(Q)return parseFloat(Q[1])}return 400}),[z,D]=h.useState(40),q=g||(R==null?void 0:R.defaultVariant)||"default",G=d||(R==null?void 0:R.defaultSize)||"md";h.useEffect(()=>{if(!S||E!=="vertical"||(u==null?void 0:u.left)!==void 0)return;const Q=document.createElementNS("http://www.w3.org/2000/svg","svg");Q.style.position="absolute",Q.style.visibility="hidden",Q.style.pointerEvents="none",document.body.appendChild(Q);const O=document.createElementNS("http://www.w3.org/2000/svg","text");O.style.fontSize="12px",O.style.fontFamily=I.fonts.neutral||"sans-serif",Q.appendChild(O);const ee=n.map(Ee=>Ee.value),se=ee.length>0?Math.max(...ee):100,ge=5;let Se=0;for(let Ee=0;Ee<ge;Ee++){const tt=se/(ge-1)*Ee;O.textContent=Math.round(tt).toString();const xt=O.getBBox();Se=Math.max(Se,xt.width)}document.body.removeChild(Q),D(Math.ceil(Se)+15)},[n,I.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 Q=document.createElementNS("http://www.w3.org/2000/svg","svg");Q.style.position="absolute",Q.style.visibility="hidden",Q.style.pointerEvents="none",document.body.appendChild(Q);const O=document.createElementNS("http://www.w3.org/2000/svg","text");O.style.fontSize="12px",O.style.fontFamily=I.fonts.neutral||"sans-serif",Q.appendChild(O);let ee=0;n.forEach(se=>{O.textContent=se.label;const ge=O.getBBox();ee=Math.max(ee,ge.width)}),document.body.removeChild(Q),D(Math.ceil(ee)+15)},[n,I.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)??z};Tr(()=>{const Q=M.current;if(!Q)return;const O=()=>{if(typeof r=="number"){T(r);return}if(typeof r=="string"&&/^\d+(?:\.\d+)?px$/.test(r)){const ge=r.match(/^(\d+(?:\.\d+)?)px$/);if(ge){T(parseFloat(ge[1]));return}}const se=Q.clientWidth;se>0&&T(se)};O();let ee;return typeof ResizeObserver<"u"?(ee=new ResizeObserver(O),ee.observe(Q)):window.addEventListener("resize",O),()=>{ee?ee.disconnect():window.removeEventListener("resize",O)}},[r,i,s]);const me=(()=>{if(typeof l=="number")return l;if(typeof l=="string"){const Q=l.match(/^(\d+(?:\.\d+)?)px$/);if(Q)return parseFloat(Q[1])}return 300})(),{barRadius:we=4,axisColor:$e="grey600",gridColor:H="grey200",labelColor:j="grey600"}=((qe=R==null?void 0:R.sizes)==null?void 0:qe[G])||{},{defaultBarColor:V="primary"}=((st=R==null?void 0:R.variants)==null?void 0:st[q])||{},le=f||V,ie=Math.max(0,k-J.left-J.right),te=Math.max(0,me-J.top-J.bottom),ne=n.map(Q=>Q.value),fe=ne.length>0?Math.max(...ne):100,Me=.6,Ce=E==="vertical"?ie/Math.max(n.length,1):te/Math.max(n.length,1),De=Math.max(Ce*Me,1),ze=Q=>{const O=fe||100,ee=Q||0;return E==="vertical"?ee/O*te:ee/O*ie},Be=h.useMemo(()=>Array.from({length:5},(O,ee)=>{const se=fe/4*ee,ge=fe||100,Se=se||0,Ee=E==="vertical"?te-Se/ge*te:Se/ge*ie;return{value:se,position:Ee}}),[fe,te,ie,E]);return y.jsx(l3,{ref:M,"data-testid":`${w}-container`,$width:r,$minWidth:i,$maxWidth:s,...C,children:y.jsxs(u3,{$width:k,$height:me,viewBox:`0 0 ${k} ${me}`,role:"img","aria-label":"Bar chart","data-testid":`${w}-svg`,children:[y.jsx("title",{children:"Bar chart"}),y.jsxs("g",{transform:`translate(${J.left}, ${J.top})`,children:[v&&Be.map((Q,O)=>y.jsx(c3,{$colorKey:H,x1:E==="vertical"?0:Q.position,y1:E==="vertical"?Q.position:0,x2:E==="vertical"?ie:Q.position,y2:E==="vertical"?Q.position:te,"data-testid":`${w}-grid-line-${O}`},O)),n.map((Q,O)=>{const ee=ze(Q.value);let se,ge,Se,Ee;if(E==="vertical")se=O*Ce+(Ce-De)/2,ge=te-ee,Se=De,Ee=ee;else{const nt=O*Ce;se=0,ge=nt+(Ce-De)/2,Se=ee,Ee=De}const tt=2,xt=Math.max(Se,tt),at=Math.max(Ee,tt),Kt=Q.color||le,cn=I.colors[Kt]||Kt||"#6949FF";return y.jsx("rect",{x:se,y:ge,width:xt,height:at,fill:cn,rx:Math.min(we,at/2,xt/2),ry:Math.min(we,at/2,xt/2),opacity:.9,cursor:"pointer",onMouseEnter:nt=>{nt.currentTarget.style.opacity="1",nt.currentTarget.style.filter="brightness(1.1)"},onMouseLeave:nt=>{nt.currentTarget.style.opacity="0.9",nt.currentTarget.style.filter="brightness(1)"},"data-testid":`${w}-bar-${O}`},O)}),_&&y.jsxs(y.Fragment,{children:[y.jsx(yf,{$colorKey:$e,x1:0,y1:te,x2:ie,y2:te,"data-testid":`${w}-x-axis`}),E==="vertical"&&n.map((Q,O)=>y.jsx(co,{x:O*Ce+Ce/2,y:te+20,$colorKey:j,textAnchor:"middle","data-testid":`${w}-x-label-${O}`,children:Q.label},O)),E==="horizontal"&&Be.map((Q,O)=>y.jsxs("g",{children:[y.jsx("line",{x1:Q.position,y1:te,x2:Q.position,y2:te+5,stroke:I.colors[$e]||$e,strokeWidth:1}),y.jsx(co,{x:Q.position,y:te+20,$colorKey:j,textAnchor:"middle","data-testid":`${w}-x-value-${O}`,children:Math.round(Q.value)})]},`x-tick-${O}`))]}),S&&y.jsxs(y.Fragment,{children:[y.jsx(yf,{$colorKey:$e,x1:0,y1:0,x2:0,y2:te,"data-testid":`${w}-y-axis`}),E==="vertical"&&Be.map((Q,O)=>y.jsxs("g",{children:[y.jsx("line",{x1:-5,y1:Q.position,x2:0,y2:Q.position,stroke:I.colors[$e]||$e,strokeWidth:1}),y.jsx(co,{x:-10,y:Q.position,$colorKey:j,textAnchor:"end",dominantBaseline:"middle","data-testid":`${w}-y-value-${O}`,children:Math.round(Q.value)})]},`y-tick-${O}`)),E==="horizontal"&&n.map((Q,O)=>{const ee=O*Ce+Ce/2;return y.jsx(co,{x:-10,y:ee,$colorKey:j,textAnchor:"end",dominantBaseline:"middle","data-testid":`${w}-y-label-${O}`,children:Q.label},`y-cat-${O}`)})]})]})]})})},d3=Hn`
|
|
493
494
|
from {
|
|
494
495
|
opacity: 0;
|
|
495
496
|
transform: scale(0.8);
|
|
@@ -498,22 +499,24 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
498
499
|
opacity: 1;
|
|
499
500
|
transform: scale(1);
|
|
500
501
|
}
|
|
501
|
-
|
|
502
|
+
`,h3=ue(X)`
|
|
502
503
|
position: relative;
|
|
503
|
-
display: ${({$showLegend:n,$legendPosition:r})=>n?
|
|
504
|
+
display: ${({$showLegend:n,$legendPosition:r})=>n?"flex":"inline-flex"};
|
|
504
505
|
flex-direction: ${({$legendPosition:n})=>n==="left"?"row-reverse":n==="right"?"row":"column"};
|
|
505
|
-
align-items: ${({$legendPosition:n})=>
|
|
506
|
+
align-items: ${({$legendPosition:n})=>"center"};
|
|
507
|
+
justify-content: center;
|
|
506
508
|
gap: 20px;
|
|
507
|
-
|
|
509
|
+
${({$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 C={};return typeof n=="string"?C.width=n:typeof n=="number"?(C.width="100%",s===void 0&&(C.maxWidth=`${n}px`)):f&&(C.width="100%",s===void 0&&(C.maxWidth=n)),typeof r=="string"?C.height=r:typeof r=="number"?(C.height="auto",u===void 0&&(C.maxHeight=`${r}px`)):d&&(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),Or(C)}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`)),Xe(w)}}
|
|
510
|
+
`,p3=ue.svg`
|
|
508
511
|
display: block;
|
|
509
512
|
flex-shrink: 0;
|
|
510
|
-
width: ${({$width:n})=>n?`${n}px`:
|
|
513
|
+
width: ${({$width:n})=>n===void 0?"100%":typeof n=="number"?`${n}px`:n};
|
|
511
514
|
height: ${({$height:n})=>n?`${n}px`:"auto"};
|
|
512
|
-
`,
|
|
515
|
+
`,g3=ue.path`
|
|
513
516
|
fill: ${({theme:n,$colorKey:r})=>n.colors[r]};
|
|
514
517
|
stroke: ${({theme:n,$strokeColorKey:r})=>n.colors[r]||r};
|
|
515
518
|
stroke-width: ${({$strokeWidth:n})=>n}px;
|
|
516
|
-
animation: ${
|
|
519
|
+
animation: ${d3} ${({$animationDuration:n})=>n}ms ease-out;
|
|
517
520
|
transform: translate(0, 0);
|
|
518
521
|
cursor: pointer;
|
|
519
522
|
transition: transform 0.2s ease, filter 0.2s ease;
|
|
@@ -522,7 +525,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
522
525
|
transform: scale(1.1);
|
|
523
526
|
filter: brightness(1.1);
|
|
524
527
|
}
|
|
525
|
-
`,
|
|
528
|
+
`,m3=ue.text`
|
|
526
529
|
fill: white;
|
|
527
530
|
font-size: ${({$fontSize:n})=>n}px;
|
|
528
531
|
font-family: ${({theme:n})=>n.fonts.neutral};
|
|
@@ -530,14 +533,14 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
530
533
|
pointer-events: none;
|
|
531
534
|
user-select: none;
|
|
532
535
|
filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.5));
|
|
533
|
-
`,
|
|
536
|
+
`,v3=ue(X)`
|
|
534
537
|
display: flex;
|
|
535
538
|
flex-direction: ${({$position:n})=>n==="left"||n==="right"?"column":"row"};
|
|
536
539
|
flex-wrap: ${({$position:n})=>n==="top"||n==="bottom"?"wrap":"nowrap"};
|
|
537
540
|
gap: ${({$spacing:n})=>n}px;
|
|
538
541
|
padding: ${({$spacing:n})=>n}px;
|
|
539
|
-
${({$position:n})=>n==="top"?
|
|
540
|
-
`,
|
|
542
|
+
${({$position:n})=>n==="top"?Xe`margin-bottom: 20px;`:n==="bottom"?Xe`margin-top: 20px;`:n==="left"?Xe`margin-right: 20px;`:n==="right"?Xe`margin-left: 20px;`:""}
|
|
543
|
+
`,y3=ue(X)`
|
|
541
544
|
display: flex;
|
|
542
545
|
align-items: center;
|
|
543
546
|
gap: ${({$spacing:n})=>n/2}px;
|
|
@@ -547,43 +550,43 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
547
550
|
&:hover {
|
|
548
551
|
opacity: 0.8;
|
|
549
552
|
}
|
|
550
|
-
`,
|
|
553
|
+
`,b3=ue(X)`
|
|
551
554
|
width: ${({$size:n})=>n}px;
|
|
552
555
|
height: ${({$size:n})=>n}px;
|
|
553
556
|
background-color: ${({theme:n,$colorKey:r})=>n.colors[r]};
|
|
554
557
|
border-radius: 2px;
|
|
555
558
|
flex-shrink: 0;
|
|
556
|
-
`,
|
|
559
|
+
`,w3=ue.span`
|
|
557
560
|
font-size: ${({$fontSize:n})=>n}px;
|
|
558
561
|
color: ${({theme:n,$colorKey:r})=>n.colors[r]||r};
|
|
559
562
|
font-family: ${({theme:n})=>n.fonts.neutral};
|
|
560
563
|
white-space: nowrap;
|
|
561
|
-
`,
|
|
562
|
-
M ${
|
|
563
|
-
A ${
|
|
564
|
-
L ${
|
|
565
|
-
A ${i} ${i} 0 ${
|
|
564
|
+
`,x3=(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,_=r-n>180?1:0;if(i>0){const S=Math.cos(l)*i,E=Math.sin(l)*i,w=Math.cos(u)*i,C=Math.sin(u)*i;return`
|
|
565
|
+
M ${f} ${d}
|
|
566
|
+
A ${s} ${s} 0 ${_} 1 ${g} ${v}
|
|
567
|
+
L ${w} ${C}
|
|
568
|
+
A ${i} ${i} 0 ${_} 0 ${S} ${E}
|
|
566
569
|
Z
|
|
567
570
|
`}else return`
|
|
568
571
|
M 0 0
|
|
569
|
-
L ${
|
|
570
|
-
A ${
|
|
572
|
+
L ${f} ${d}
|
|
573
|
+
A ${s} ${s} 0 ${_} 1 ${g} ${v}
|
|
571
574
|
Z
|
|
572
|
-
`},
|
|
575
|
+
`},_3=({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:_,variant:S,showLabels:E=!1,showLegend:w=!0,legendPosition:C="right",animationDuration:I=300,startAngle:R=-90,testID:M="pie-chart",...k})=>{var qe,st;const z=be().__hd__.pieChart,D=h.useRef(null),[q,G]=h.useState(()=>{if(typeof r=="number")return r;if(typeof r=="string"){const Q=r.match(/^(\d+(?:\.\d+)?)px$/);if(Q)return parseFloat(Q[1])}return 400}),[J,me]=h.useState(()=>{if(typeof i=="number")return i;if(typeof i=="string"){const Q=i.match(/^(\d+(?:\.\d+)?)px$/);if(Q)return parseFloat(Q[1])}return 400}),we=S||(z==null?void 0:z.defaultVariant)||"default",$e=_||(z==null?void 0:z.defaultSize)||"md";Tr(()=>{const Q=D.current;if(!Q)return;const O=()=>{if(typeof r=="number"){G(r);return}if(typeof r=="string"&&/^\d+(?:\.\d+)?px$/.test(r)){const ge=r.match(/^(\d+(?:\.\d+)?)px$/);if(ge){G(parseFloat(ge[1]));return}}const se=Q.clientWidth;se>0&&G(se)};O();let ee;return typeof ResizeObserver<"u"?(ee=new ResizeObserver(O),ee.observe(Q)):window.addEventListener("resize",O),()=>{ee?ee.disconnect():window.removeEventListener("resize",O)}},[r,s,l]),Tr(()=>{const Q=D.current;if(!Q)return;const O=()=>{if(typeof i=="number"){me(i);return}if(typeof i=="string"&&/^\d+(?:\.\d+)?px$/.test(i)){const ge=i.match(/^(\d+(?:\.\d+)?)px$/);if(ge){me(parseFloat(ge[1]));return}}const se=Q.clientHeight;se>0&&me(se)};O();let ee;return typeof ResizeObserver<"u"?(ee=new ResizeObserver(O),ee.observe(Q)):window.addEventListener("resize",O),()=>{ee?ee.disconnect():window.removeEventListener("resize",O)}},[i,u,f]);const{strokeWidth:H=1,strokeColor:j="white",labelColor:V="grey600",labelFontSize:le=12,legendFontSize:ie=14,legendSpacing:te=8}=((qe=z==null?void 0:z.sizes)==null?void 0:qe[$e])||{},{defaultColors:ne=["primary","secondary","success","warning","danger"]}=((st=z==null?void 0:z.variants)==null?void 0:st[we])||{},fe=Math.min(q,J),Me=fe/2,Ce=fe/2,De=g||fe/2-20,ze=d*De,Be=h.useMemo(()=>{const Q=n.reduce((ee,se)=>ee+se.value,0);let O=R;return n.map((ee,se)=>{const ge=ee.value/Q*100,Se=ee.value/Q*360-v,Ee={...ee,percentage:ge,startAngle:O,endAngle:O+Se,midAngle:O+Se/2,color:ee.color||ne[se%ne.length]};return O+=Se+v,Ee})},[n,R,v,ne]),He=(Q,O)=>{const ee=Q*Math.PI/180,se=ze>0?(ze+De)/2:O*.7;return{x:Math.cos(ee)*se,y:Math.sin(ee)*se}};return y.jsxs(h3,{ref:D,$legendPosition:C,$showLegend:w,$width:r,$height:i,$minWidth:s,$maxWidth:l||r,$minHeight:u,$maxHeight:f||i,"data-testid":`${M}-container`,...k,children:[y.jsxs(p3,{$width:fe,$height:fe,viewBox:`0 0 ${fe} ${fe}`,role:"img","aria-label":"Pie chart","data-testid":`${M}-svg`,children:[y.jsx("title",{children:"Pie chart"}),y.jsx("g",{transform:`translate(${Me}, ${Ce})`,children:Be.map((Q,O)=>{const ee=x3(Q.startAngle,Q.endAngle,ze,De),se=He(Q.midAngle,De);return y.jsxs("g",{children:[y.jsx(g3,{d:ee,$colorKey:Q.color,$strokeWidth:H,$strokeColorKey:j,$animationDuration:I,$startAngle:Q.startAngle,$endAngle:Q.endAngle,"data-testid":`${M}-slice-${O}`}),E&&y.jsxs(m3,{x:se.x,y:se.y,$colorKey:V,$fontSize:le,textAnchor:"middle",dominantBaseline:"middle","data-testid":`${M}-label-${O}`,children:[Q.percentage.toFixed(1),"%"]})]},O)})})]}),w&&y.jsx(v3,{$position:C,$spacing:te,"data-testid":`${M}-legend`,children:Be.map((Q,O)=>y.jsxs(y3,{$spacing:te,"data-testid":`${M}-legend-item-${O}`,children:[y.jsx(b3,{$colorKey:Q.color,$size:ie}),y.jsxs(w3,{$fontSize:ie,$colorKey:V,children:[Q.label," (",Q.percentage.toFixed(1),"%)"]})]},O))})]})},C3=Hn`
|
|
573
576
|
from {
|
|
574
577
|
stroke-dashoffset: 1000;
|
|
575
578
|
}
|
|
576
579
|
to {
|
|
577
580
|
stroke-dashoffset: 0;
|
|
578
581
|
}
|
|
579
|
-
`,
|
|
582
|
+
`,S3=Hn`
|
|
580
583
|
from {
|
|
581
584
|
opacity: 0;
|
|
582
585
|
}
|
|
583
586
|
to {
|
|
584
587
|
opacity: 0.3;
|
|
585
588
|
}
|
|
586
|
-
`,
|
|
589
|
+
`,E3=Hn`
|
|
587
590
|
0% {
|
|
588
591
|
transform: scale(0);
|
|
589
592
|
opacity: 0;
|
|
@@ -596,15 +599,16 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
596
599
|
transform: scale(1);
|
|
597
600
|
opacity: 1;
|
|
598
601
|
}
|
|
599
|
-
`,
|
|
602
|
+
`,A3=ue(X)`
|
|
600
603
|
position: relative;
|
|
601
|
-
display:
|
|
602
|
-
|
|
604
|
+
display: block;
|
|
605
|
+
${({$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 C={};return typeof n=="string"?C.width=n:typeof n=="number"?(C.width="100%",i===void 0&&(C.maxWidth=`${n}px`)):f&&(C.width="100%",i===void 0&&(C.maxWidth=n)),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),Or(C)}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`)),Xe(w)}}
|
|
606
|
+
`,$3=ue.svg`
|
|
603
607
|
display: block;
|
|
604
608
|
flex-shrink: 0;
|
|
605
|
-
width: ${({$width:n})=>n?`${n}px`:
|
|
609
|
+
width: ${({$width:n})=>n===void 0?"100%":typeof n=="number"?`${n}px`:n};
|
|
606
610
|
height: ${({$height:n})=>n?`${n}px`:"auto"};
|
|
607
|
-
`,
|
|
611
|
+
`,k3=ue.path`
|
|
608
612
|
fill: none;
|
|
609
613
|
stroke: ${({theme:n,$colorKey:r})=>n.colors[r]};
|
|
610
614
|
stroke-width: ${({$strokeWidth:n})=>n}px;
|
|
@@ -613,7 +617,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
613
617
|
stroke-linejoin: round;
|
|
614
618
|
stroke-dasharray: 1000;
|
|
615
619
|
stroke-dashoffset: 1000;
|
|
616
|
-
animation: ${
|
|
620
|
+
animation: ${C3} ${({$animationDuration:n})=>n}ms ease-out forwards;
|
|
617
621
|
transition: stroke 0.3s ease;
|
|
618
622
|
cursor: pointer;
|
|
619
623
|
transition: opacity 0.2s ease, filter 0.2s ease;
|
|
@@ -622,18 +626,18 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
622
626
|
opacity: 1;
|
|
623
627
|
filter: brightness(1.1);
|
|
624
628
|
}
|
|
625
|
-
`,
|
|
629
|
+
`,T3=ue.path`
|
|
626
630
|
fill: ${({theme:n,$colorKey:r})=>n.colors[r]};
|
|
627
631
|
opacity: 0;
|
|
628
|
-
animation: ${
|
|
632
|
+
animation: ${S3} ${({$animationDuration:n})=>n}ms ease-out forwards;
|
|
629
633
|
animation-delay: ${({$animationDuration:n})=>n/2}ms;
|
|
630
|
-
`,
|
|
634
|
+
`,R3=ue.circle`
|
|
631
635
|
fill: ${({theme:n,$colorKey:r})=>n.colors[r]};
|
|
632
636
|
stroke: white;
|
|
633
637
|
stroke-width: 2px;
|
|
634
638
|
cursor: pointer;
|
|
635
639
|
transform-origin: center;
|
|
636
|
-
animation: ${
|
|
640
|
+
animation: ${E3} ${({$animationDuration:n})=>n/3}ms ease-out forwards;
|
|
637
641
|
animation-delay: ${({$animationDuration:n})=>n}ms;
|
|
638
642
|
opacity: 0;
|
|
639
643
|
|
|
@@ -641,21 +645,21 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
641
645
|
transform: scale(1.5);
|
|
642
646
|
filter: brightness(1.2);
|
|
643
647
|
}
|
|
644
|
-
`,
|
|
648
|
+
`,bf=ue.line`
|
|
645
649
|
stroke: ${({theme:n,$colorKey:r})=>n.colors[r]||r};
|
|
646
650
|
stroke-width: 1;
|
|
647
651
|
shape-rendering: crispEdges;
|
|
648
|
-
`,
|
|
652
|
+
`,wf=ue.text`
|
|
649
653
|
fill: ${({theme:n,$colorKey:r})=>n.colors[r]||r};
|
|
650
654
|
font-size: ${({$fontSize:n})=>n}px;
|
|
651
655
|
font-family: ${({theme:n})=>n.fonts.neutral};
|
|
652
656
|
user-select: none;
|
|
653
|
-
`,
|
|
657
|
+
`,xf=ue.line`
|
|
654
658
|
stroke: ${({theme:n,$colorKey:r})=>n.colors[r]||r};
|
|
655
659
|
stroke-width: 1;
|
|
656
660
|
stroke-dasharray: 2, 2;
|
|
657
661
|
opacity: 0.3;
|
|
658
|
-
`,
|
|
662
|
+
`,_f=ue(X)`
|
|
659
663
|
display: flex;
|
|
660
664
|
flex-direction: row;
|
|
661
665
|
flex-wrap: wrap;
|
|
@@ -664,7 +668,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
664
668
|
justify-content: center;
|
|
665
669
|
margin-bottom: ${({$position:n})=>n==="top"?"10px":"0"};
|
|
666
670
|
margin-top: ${({$position:n})=>n==="bottom"?"10px":"0"};
|
|
667
|
-
`,
|
|
671
|
+
`,Cf=ue(X)`
|
|
668
672
|
display: flex;
|
|
669
673
|
align-items: center;
|
|
670
674
|
gap: ${({$spacing:n})=>n/2}px;
|
|
@@ -674,18 +678,18 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
674
678
|
&:hover {
|
|
675
679
|
opacity: 0.7;
|
|
676
680
|
}
|
|
677
|
-
`,
|
|
681
|
+
`,Sf=ue(X)`
|
|
678
682
|
width: 24px;
|
|
679
683
|
height: ${({$strokeWidth:n})=>n}px;
|
|
680
684
|
background-color: ${({theme:n,$colorKey:r})=>n.colors[r]};
|
|
681
685
|
flex-shrink: 0;
|
|
682
686
|
${({$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);`:""}
|
|
683
|
-
`,
|
|
687
|
+
`,Ef=ue.span`
|
|
684
688
|
font-size: ${({$fontSize:n})=>n}px;
|
|
685
689
|
color: ${({theme:n,$colorKey:r})=>n.colors[r]||r};
|
|
686
690
|
font-family: ${({theme:n})=>n.fonts.neutral};
|
|
687
691
|
white-space: nowrap;
|
|
688
|
-
`;
|
|
692
|
+
`;ue(X)`
|
|
689
693
|
position: absolute;
|
|
690
694
|
background: white;
|
|
691
695
|
border: 1px solid #ddd;
|
|
@@ -694,7 +698,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
694
698
|
pointer-events: none;
|
|
695
699
|
z-index: 1000;
|
|
696
700
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
697
|
-
`;
|
|
701
|
+
`;ue(X)`
|
|
698
702
|
font-size: 12px;
|
|
699
703
|
font-family: ${({theme:n})=>n.fonts.neutral};
|
|
700
|
-
`;const
|
|
704
|
+
`;const L3=(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,_=f.x-(d.x-u.x)/6,S=f.y-(d.y-u.y)/6;i+=` C ${g} ${v}, ${_} ${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""},I3=({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:_=!0,showXAxis:S=!0,showYAxis:E=!0,showLegend:w=!0,legendPosition:C="top",curve:I="linear",animationDuration:R=500,xAxisLabels:M,yDomain:k,testID:T="line-chart",...z})=>{const q=be().__hd__.lineChart,G=h.useRef(null),[J,me]=h.useState(()=>{if(typeof r=="number")return r;if(typeof r=="string"){const O=r.match(/^(\d+(?:\.\d+)?)px$/);if(O)return parseFloat(O[1])}return 600}),[we,$e]=h.useState(()=>{if(typeof l=="number")return l;if(typeof l=="string"){const O=l.match(/^(\d+(?:\.\d+)?)px$/);if(O)return parseFloat(O[1])}return 400}),H=v||q.defaultVariant,j=g||q.defaultSize,V={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:(d==null?void 0:d.left)??50};Tr(()=>{const O=G.current;if(!O)return;const ee=()=>{if(typeof r=="number")me(r);else if(typeof r=="string"&&/^\d+(?:\.\d+)?px$/.test(r)){const Se=r.match(/^(\d+(?:\.\d+)?)px$/);Se&&me(parseFloat(Se[1]))}else{const Se=O.clientWidth;Se>0&&me(Se)}const ge=(()=>{if(typeof l=="number")return l;if(typeof l=="string"){const Se=l.match(/^(\d+(?:\.\d+)?)px$/);if(Se)return parseFloat(Se[1])}return 400})();$e(ge)};ee();let se;return typeof ResizeObserver<"u"?(se=new ResizeObserver(ee),se.observe(O)):window.addEventListener("resize",ee),()=>{se?se.disconnect():window.removeEventListener("resize",ee)}},[r,l]);const{strokeWidth:le,dotRadius:ie,axisColor:te,gridColor:ne,labelColor:fe,labelFontSize:Me,legendFontSize:Ce,legendSpacing:De}=q.sizes[j],{defaultColors:ze}=q.variants[H],Be=Math.max(0,J-V.left-V.right),He=Math.max(0,we-V.top-V.bottom),{processedSeries:qe,xLabels:st,yTicks:Q}=h.useMemo(()=>{const O=new Set,ee=[];let se=1/0,ge=-1/0;n.forEach(lt=>{lt.data.forEach(oe=>{const Te=String(oe.x);O.has(Te)||(O.add(Te),ee.push(Te)),se=Math.min(se,oe.y),ge=Math.max(ge,oe.y)})});const[Se,Ee]=k||[Math.floor(se-(ge-se)*.1),Math.ceil(ge+(ge-se)*.1)],tt=M||ee,xt=Be/(tt.length-1||1),at=new Map(tt.map((lt,oe)=>[String(lt),oe*xt])),Kt=lt=>{const oe=(lt-Se)/(Ee-Se||1);return He-oe*He},cn=n.map((lt,oe)=>({...lt,color:lt.color||ze[oe%ze.length],points:lt.data.map(Te=>({x:at.get(String(Te.x))||0,y:Kt(Te.y),originalX:Te.x,originalY:Te.y}))})),nt=5,gt=Array.from({length:nt},(lt,oe)=>{const Te=Se+(Ee-Se)*(oe/(nt-1));return{value:Te,position:Kt(Te),label:Te.toFixed(1)}});return{processedSeries:cn,xLabels:tt,yTicks:gt.reverse()}},[n,Be,He,M,k,ze]);return y.jsxs(A3,{ref:G,"data-testid":`${T}-container`,$width:r,$minWidth:i,$maxWidth:s,$height:l,$minHeight:u,$maxHeight:f,...z,children:[w&&C==="top"&&y.jsx(_f,{$position:C,$spacing:De,"data-testid":`${T}-legend`,children:qe.map((O,ee)=>y.jsxs(Cf,{$spacing:De,"data-testid":`${T}-legend-item-${ee}`,children:[y.jsx(Sf,{$colorKey:O.color,$strokeWidth:O.strokeWidth||le,$strokeDasharray:O.strokeDasharray}),y.jsx(Ef,{$fontSize:Ce,$colorKey:fe,children:O.label})]},O.id))}),y.jsxs($3,{$width:J,$height:we,viewBox:`0 0 ${J} ${we}`,role:"img","aria-label":"Line chart","data-testid":`${T}-svg`,children:[y.jsx("title",{children:"Line chart"}),y.jsxs("g",{transform:`translate(${V.left}, ${V.top})`,children:[_&&y.jsxs(y.Fragment,{children:[Q.map((O,ee)=>y.jsx(xf,{$colorKey:ne,x1:0,y1:O.position,x2:Be,y2:O.position,"data-testid":`${T}-grid-h-${ee}`},`h-grid-${ee}`)),st.map((O,ee)=>{const se=ee*Be/(st.length-1||1);return y.jsx(xf,{$colorKey:ne,x1:se,y1:0,x2:se,y2:He,"data-testid":`${T}-grid-v-${ee}`},`v-grid-${ee}`)})]}),qe.map((O,ee)=>{var Se,Ee;const se=L3(O.points,I),ge=O.showArea?`${se} L ${((Se=O.points[O.points.length-1])==null?void 0:Se.x)||0} ${He} L ${((Ee=O.points[0])==null?void 0:Ee.x)||0} ${He} Z`:"";return y.jsxs("g",{children:[O.showArea&&y.jsx(T3,{d:ge,$colorKey:O.color,$animationDuration:R,"data-testid":`${T}-area-${ee}`}),y.jsx(k3,{d:se,$colorKey:O.color,$strokeWidth:O.strokeWidth||le,$strokeDasharray:O.strokeDasharray,$animationDuration:R,"data-testid":`${T}-line-${ee}`}),O.showDots!==!1&&O.points.map((tt,xt)=>y.jsx(R3,{cx:tt.x,cy:tt.y,r:ie,$colorKey:O.color,$animationDuration:R,"data-testid":`${T}-dot-${ee}-${xt}`},xt))]},O.id)}),S&&y.jsxs(y.Fragment,{children:[y.jsx(bf,{$colorKey:te,x1:0,y1:He,x2:Be,y2:He,"data-testid":`${T}-x-axis`}),st.map((O,ee)=>{const se=ee*Be/(st.length-1||1);return y.jsx(wf,{x:se,y:He+20,$colorKey:fe,$fontSize:Me,textAnchor:"middle","data-testid":`${T}-x-label-${ee}`,children:O},ee)})]}),E&&y.jsxs(y.Fragment,{children:[y.jsx(bf,{$colorKey:te,x1:0,y1:0,x2:0,y2:He,"data-testid":`${T}-y-axis`}),Q.map((O,ee)=>y.jsx(wf,{x:-10,y:O.position,$colorKey:fe,$fontSize:Me,textAnchor:"end",dominantBaseline:"middle","data-testid":`${T}-y-label-${ee}`,children:O.label},ee))]})]})]}),w&&C==="bottom"&&y.jsx(_f,{$position:C,$spacing:De,"data-testid":`${T}-legend`,children:qe.map((O,ee)=>y.jsxs(Cf,{$spacing:De,"data-testid":`${T}-legend-item-${ee}`,children:[y.jsx(Sf,{$colorKey:O.color,$strokeWidth:O.strokeWidth||le,$strokeDasharray:O.strokeDasharray}),y.jsx(Ef,{$fontSize:Ce,$colorKey:fe,children:O.label})]},O.id))})]})};exports.AIC_Kits_StackingLayers=rn;exports.Accordion=jw;exports.Art=qt;exports.Avatar=Id;exports.BarChart=f3;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=I3;exports.List=Db;exports.Loading=za;exports.Modal=o3;exports.NormalizedBrowserName=Bd;exports.NormalizedDeviceType=jd;exports.NormalizedOSName=Pd;exports.Pagination=Qw;exports.PaginationItem=a0;exports.PieChart=_3;exports.Progress=r3;exports.RESPONSIVE_BREAKPOINTS=di;exports.RESPONSIVE_BREAKPOINT_KEYS=ai;exports.SUPPORTED_RICH_TEXT_TAGS=Td;exports.Select=Nw;exports.SelectDropdownItem=r0;exports.SelectInputDisplay=i0;exports.Skeleton=Eo;exports.StyledBox=hd;exports.Svg=Ld;exports.Tag=Ww;exports.Text=ot;exports.ThemeProvider=gv;exports.Tooltip=s3;exports.Touchable=Gt;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=Xe;exports.cssPropsKey=ad;exports.customBoxPropsConfig=ld;exports.customBoxPropsKey=ka;exports.defaultColorPalette=_o;exports.defaultGradientColorPalette=kf;exports.defaultScale=An;exports.defaultTheme=fo;exports.dividerTheme=Pf;exports.genBoxStyle=dd;exports.generateResponsiveStyles=Or;exports.getBorderWidths=wa;exports.getComponentsTheme=ed;exports.getFontSizes=Co;exports.getFontWeights=Aa;exports.getFonts=Sa;exports.getGlobalTheme=ov;exports.getLineHeights=Ea;exports.getPaginationTheme=Vf;exports.getRadii=xa;exports.getResponsiveValue=id;exports.getSelectStyles=o0;exports.getShadows=Tf;exports.getSizeValue=pt;exports.getSizes=_a;exports.getSpaces=Ca;exports.getTextColor=To;exports.getTheme=td;exports.getThemeValue=ud;exports.headerTheme=Wf;exports.inferResponsiveValues=rd;exports.inputTheme=Df;exports.isBorderWidth=U8;exports.isColor=$f;exports.isEmoji=pd;exports.isFontSize=nv;exports.isFontWeight=rv;exports.isGradientColor=q8;exports.isIcon=gd;exports.isImage=md;exports.isRadius=Af;exports.isResponsiveValue=So;exports.isSSR=wt;exports.isShadow=tv;exports.isSize=rr;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=ue;exports.tagTheme=Xf;exports.tooltipTheme=Yf;exports.touchableTheme=Qf;exports.transformResponsiveValue=zt;exports.transposeObject=fa;exports.useEventListener=da;exports.useHover=Ao;exports.useInteractionDetector=Ia;exports.useIsomorphicLayoutEffect=Tr;exports.useMediaQuery=eb;exports.useResponsiveBreakpoint=pi;exports.useSelectState=n0;exports.useTheme=be;exports.useUserAgent=yb;exports.useWindowDimensions=Od;exports.vimeoTheme=Jf;exports.zIndexRegistry=or;
|