@aic-kits/react 0.34.6 → 0.34.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/DatePicker/DatePickerCalendar.d.ts +2 -0
- package/dist/components/DatePicker/DatePickerGrid.d.ts +2 -0
- package/dist/components/DatePicker/DatePickerHeader.d.ts +8 -0
- package/dist/components/DatePicker/DatePickerInput.d.ts +3 -0
- package/dist/components/DatePicker/DatePickerMonthPicker.d.ts +13 -0
- package/dist/components/DatePicker/DatePickerPopup.d.ts +6 -0
- package/dist/components/DatePicker/DatePickerRangeInput.d.ts +26 -0
- package/dist/components/DatePicker/DatePickerTimezone.d.ts +2 -0
- package/dist/components/DatePicker/DatePickerYearPicker.d.ts +11 -0
- package/dist/components/DatePicker/StyledDatePicker.d.ts +26 -0
- package/dist/components/DatePicker/constants.d.ts +23 -0
- package/dist/components/DatePicker/hooks.d.ts +37 -0
- package/dist/components/DatePicker/index.d.ts +4 -0
- package/dist/components/DatePicker/types.d.ts +317 -0
- package/dist/components/DatePicker/utils.d.ts +203 -0
- package/dist/components/Input/types.d.ts +8 -0
- package/dist/components/Select/SelectDropdown.d.ts +2 -2
- package/dist/components/TimePicker/StyledTimePicker.d.ts +15 -0
- package/dist/components/TimePicker/TimePickerInput.d.ts +3 -0
- package/dist/components/TimePicker/TimePickerPopup.d.ts +2 -0
- package/dist/components/TimePicker/TimePickerRangeInput.d.ts +24 -0
- package/dist/components/TimePicker/TimePickerWheel.d.ts +2 -0
- package/dist/components/TimePicker/TimePickerWheels.d.ts +2 -0
- package/dist/components/TimePicker/constants.d.ts +12 -0
- package/dist/components/TimePicker/hooks.d.ts +25 -0
- package/dist/components/TimePicker/index.d.ts +3 -0
- package/dist/components/TimePicker/types.d.ts +177 -0
- package/dist/components/TimePicker/utils.d.ts +73 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/usePopupPosition.d.ts +13 -0
- package/dist/index.cjs +480 -313
- package/dist/index.js +10885 -7698
- package/dist/theme/components/datepicker.d.ts +85 -0
- package/dist/theme/components/index.d.ts +14 -0
- package/dist/theme/components/timepicker.d.ts +50 -0
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var eb=Object.defineProperty;var tb=(e,n,i)=>n in e?eb(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i;var Dr=(e,n,i)=>tb(e,typeof n!="symbol"?n+"":n,i);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("react/jsx-runtime"),er=require("styled-components"),c=require("react"),Lf=require("react-dom");var Lo=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 G8=si.exports,mc;function K8(){return mc||(mc=1,function(t,r){(function(){var i,s="4.17.21",l=200,u="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",f="Expected a function",h="Invalid `variable` option passed into `_.template`",g="__lodash_hash_undefined__",v=500,_="__lodash_placeholder__",S=1,E=2,x=4,C=1,F=2,R=1,I=2,T=4,k=8,O=16,M=32,N=64,V=128,Q=256,pe=512,Ce=30,Me="...",D=800,j=16,G=1,le=2,te=3,oe=1/0,ee=9007199254740991,ve=17976931348623157e292,je=NaN,ke=4294967295,Oe=ke-1,De=ke>>>1,Ke=[["ary",V],["bind",R],["bindKey",I],["curry",k],["curryRight",O],["flip",pe],["partial",M],["partialRight",N],["rearg",Q]],gt="[object Arguments]",Be="[object Array]",it="[object AsyncFunction]",de="[object Boolean]",Se="[object Date]",Re="[object DOMException]",ye="[object Error]",J="[object Function]",ce="[object GeneratorFunction]",Z="[object Map]",ie="[object Number]",fe="[object Null]",we="[object Object]",We="[object Promise]",Xe="[object Proxy]",tt="[object RegExp]",nt="[object Set]",ot="[object String]",re="[object Symbol]",Ve="[object Undefined]",Pe="[object WeakMap]",He="[object WeakSet]",Qe="[object ArrayBuffer]",_t="[object DataView]",Vn="[object Float32Array]",Io="[object Float64Array]",Mo="[object Int8Array]",Fo="[object Int16Array]",zo="[object Int32Array]",jo="[object Uint8Array]",Bo="[object Uint8ClampedArray]",Po="[object Uint16Array]",Wo="[object Uint32Array]",d0=/\b__p \+= '';/g,h0=/\b(__p \+=) '' \+/g,p0=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Da=/&(?:amp|lt|gt|quot|#39);/g,Ha=/[&<>"']/g,g0=RegExp(Da.source),m0=RegExp(Ha.source),v0=/<%-([\s\S]+?)%>/g,y0=/<%([\s\S]+?)%>/g,Za=/<%=([\s\S]+?)%>/g,b0=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,x0=/^\w*$/,w0=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Do=/[\\^$.*+?()[\]{}|]/g,_0=RegExp(Do.source),Ho=/^\s+/,C0=/\s/,S0=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,E0=/\{\n\/\* \[wrapped with (.+)\] \*/,A0=/,? & /,$0=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,k0=/[()=,{}\[\]\/\s]/,T0=/\\(\\)?/g,R0=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Va=/\w*$/,L0=/^[-+]0x[0-9a-f]+$/i,O0=/^0b[01]+$/i,I0=/^\[object .+?Constructor\]$/,M0=/^0o[0-7]+$/i,F0=/^(?:0|[1-9]\d*)$/,z0=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,vi=/($^)/,j0=/['\n\r\u2028\u2029\\]/g,yi="\\ud800-\\udfff",B0="\\u0300-\\u036f",P0="\\ufe20-\\ufe2f",W0="\\u20d0-\\u20ff",Na=B0+P0+W0,Ua="\\u2700-\\u27bf",qa="a-z\\xdf-\\xf6\\xf8-\\xff",D0="\\xac\\xb1\\xd7\\xf7",H0="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Z0="\\u2000-\\u206f",V0=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ga="A-Z\\xc0-\\xd6\\xd8-\\xde",Ka="\\ufe0e\\ufe0f",Xa=D0+H0+Z0+V0,Zo="['’]",N0="["+yi+"]",Ya="["+Xa+"]",bi="["+Na+"]",Qa="\\d+",U0="["+Ua+"]",Ja="["+qa+"]",el="[^"+yi+Xa+Qa+Ua+qa+Ga+"]",Vo="\\ud83c[\\udffb-\\udfff]",q0="(?:"+bi+"|"+Vo+")",tl="[^"+yi+"]",No="(?:\\ud83c[\\udde6-\\uddff]){2}",Uo="[\\ud800-\\udbff][\\udc00-\\udfff]",lr="["+Ga+"]",nl="\\u200d",rl="(?:"+Ja+"|"+el+")",G0="(?:"+lr+"|"+el+")",il="(?:"+Zo+"(?:d|ll|m|re|s|t|ve))?",ol="(?:"+Zo+"(?:D|LL|M|RE|S|T|VE))?",sl=q0+"?",al="["+Ka+"]?",K0="(?:"+nl+"(?:"+[tl,No,Uo].join("|")+")"+al+sl+")*",X0="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Y0="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ll=al+sl+K0,Q0="(?:"+[U0,No,Uo].join("|")+")"+ll,J0="(?:"+[tl+bi+"?",bi,No,Uo,N0].join("|")+")",e1=RegExp(Zo,"g"),t1=RegExp(bi,"g"),qo=RegExp(Vo+"(?="+Vo+")|"+J0+ll,"g"),n1=RegExp([lr+"?"+Ja+"+"+il+"(?="+[Ya,lr,"$"].join("|")+")",G0+"+"+ol+"(?="+[Ya,lr+rl,"$"].join("|")+")",lr+"?"+rl+"+"+il,lr+"+"+ol,Y0,X0,Qa,Q0].join("|"),"g"),r1=RegExp("["+nl+yi+Na+Ka+"]"),i1=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,o1=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],s1=-1,Je={};Je[Vn]=Je[Io]=Je[Mo]=Je[Fo]=Je[zo]=Je[jo]=Je[Bo]=Je[Po]=Je[Wo]=!0,Je[gt]=Je[Be]=Je[Qe]=Je[de]=Je[_t]=Je[Se]=Je[ye]=Je[J]=Je[Z]=Je[ie]=Je[we]=Je[tt]=Je[nt]=Je[ot]=Je[Pe]=!1;var Ye={};Ye[gt]=Ye[Be]=Ye[Qe]=Ye[_t]=Ye[de]=Ye[Se]=Ye[Vn]=Ye[Io]=Ye[Mo]=Ye[Fo]=Ye[zo]=Ye[Z]=Ye[ie]=Ye[we]=Ye[tt]=Ye[nt]=Ye[ot]=Ye[re]=Ye[jo]=Ye[Bo]=Ye[Po]=Ye[Wo]=!0,Ye[ye]=Ye[J]=Ye[Pe]=!1;var a1={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},l1={"&":"&","<":"<",">":">",'"':""","'":"'"},u1={"&":"&","<":"<",">":">",""":'"',"'":"'"},c1={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},f1=parseFloat,d1=parseInt,ul=typeof oo=="object"&&oo&&oo.Object===Object&&oo,h1=typeof self=="object"&&self&&self.Object===Object&&self,mt=ul||h1||Function("return this")(),Go=r&&!r.nodeType&&r,Nn=Go&&!0&&t&&!t.nodeType&&t,cl=Nn&&Nn.exports===Go,Ko=cl&&ul.process,Zt=function(){try{var A=Nn&&Nn.require&&Nn.require("util").types;return A||Ko&&Ko.binding&&Ko.binding("util")}catch{}}(),fl=Zt&&Zt.isArrayBuffer,dl=Zt&&Zt.isDate,hl=Zt&&Zt.isMap,pl=Zt&&Zt.isRegExp,gl=Zt&&Zt.isSet,ml=Zt&&Zt.isTypedArray;function Ft(A,z,L){switch(L.length){case 0:return A.call(z);case 1:return A.call(z,L[0]);case 2:return A.call(z,L[0],L[1]);case 3:return A.call(z,L[0],L[1],L[2])}return A.apply(z,L)}function p1(A,z,L,se){for(var be=-1,Ze=A==null?0:A.length;++be<Ze;){var ft=A[be];z(se,ft,L(ft),A)}return se}function Vt(A,z){for(var L=-1,se=A==null?0:A.length;++L<se&&z(A[L],L,A)!==!1;);return A}function g1(A,z){for(var L=A==null?0:A.length;L--&&z(A[L],L,A)!==!1;);return A}function vl(A,z){for(var L=-1,se=A==null?0:A.length;++L<se;)if(!z(A[L],L,A))return!1;return!0}function kn(A,z){for(var L=-1,se=A==null?0:A.length,be=0,Ze=[];++L<se;){var ft=A[L];z(ft,L,A)&&(Ze[be++]=ft)}return Ze}function xi(A,z){var L=A==null?0:A.length;return!!L&&ur(A,z,0)>-1}function Xo(A,z,L){for(var se=-1,be=A==null?0:A.length;++se<be;)if(L(z,A[se]))return!0;return!1}function et(A,z){for(var L=-1,se=A==null?0:A.length,be=Array(se);++L<se;)be[L]=z(A[L],L,A);return be}function Tn(A,z){for(var L=-1,se=z.length,be=A.length;++L<se;)A[be+L]=z[L];return A}function Yo(A,z,L,se){var be=-1,Ze=A==null?0:A.length;for(se&&Ze&&(L=A[++be]);++be<Ze;)L=z(L,A[be],be,A);return L}function m1(A,z,L,se){var be=A==null?0:A.length;for(se&&be&&(L=A[--be]);be--;)L=z(L,A[be],be,A);return L}function Qo(A,z){for(var L=-1,se=A==null?0:A.length;++L<se;)if(z(A[L],L,A))return!0;return!1}var v1=Jo("length");function y1(A){return A.split("")}function b1(A){return A.match($0)||[]}function yl(A,z,L){var se;return L(A,function(be,Ze,ft){if(z(be,Ze,ft))return se=Ze,!1}),se}function wi(A,z,L,se){for(var be=A.length,Ze=L+(se?1:-1);se?Ze--:++Ze<be;)if(z(A[Ze],Ze,A))return Ze;return-1}function ur(A,z,L){return z===z?L1(A,z,L):wi(A,bl,L)}function x1(A,z,L,se){for(var be=L-1,Ze=A.length;++be<Ze;)if(se(A[be],z))return be;return-1}function bl(A){return A!==A}function xl(A,z){var L=A==null?0:A.length;return L?ts(A,z)/L:je}function Jo(A){return function(z){return z==null?i:z[A]}}function es(A){return function(z){return A==null?i:A[z]}}function wl(A,z,L,se,be){return be(A,function(Ze,ft,Ge){L=se?(se=!1,Ze):z(L,Ze,ft,Ge)}),L}function w1(A,z){var L=A.length;for(A.sort(z);L--;)A[L]=A[L].value;return A}function ts(A,z){for(var L,se=-1,be=A.length;++se<be;){var Ze=z(A[se]);Ze!==i&&(L=L===i?Ze:L+Ze)}return L}function ns(A,z){for(var L=-1,se=Array(A);++L<A;)se[L]=z(L);return se}function _1(A,z){return et(z,function(L){return[L,A[L]]})}function _l(A){return A&&A.slice(0,Al(A)+1).replace(Ho,"")}function zt(A){return function(z){return A(z)}}function rs(A,z){return et(z,function(L){return A[L]})}function jr(A,z){return A.has(z)}function Cl(A,z){for(var L=-1,se=A.length;++L<se&&ur(z,A[L],0)>-1;);return L}function Sl(A,z){for(var L=A.length;L--&&ur(z,A[L],0)>-1;);return L}function C1(A,z){for(var L=A.length,se=0;L--;)A[L]===z&&++se;return se}var S1=es(a1),E1=es(l1);function A1(A){return"\\"+c1[A]}function $1(A,z){return A==null?i:A[z]}function cr(A){return r1.test(A)}function k1(A){return i1.test(A)}function T1(A){for(var z,L=[];!(z=A.next()).done;)L.push(z.value);return L}function is(A){var z=-1,L=Array(A.size);return A.forEach(function(se,be){L[++z]=[be,se]}),L}function El(A,z){return function(L){return A(z(L))}}function Rn(A,z){for(var L=-1,se=A.length,be=0,Ze=[];++L<se;){var ft=A[L];(ft===z||ft===_)&&(A[L]=_,Ze[be++]=L)}return Ze}function _i(A){var z=-1,L=Array(A.size);return A.forEach(function(se){L[++z]=se}),L}function R1(A){var z=-1,L=Array(A.size);return A.forEach(function(se){L[++z]=[se,se]}),L}function L1(A,z,L){for(var se=L-1,be=A.length;++se<be;)if(A[se]===z)return se;return-1}function O1(A,z,L){for(var se=L+1;se--;)if(A[se]===z)return se;return se}function fr(A){return cr(A)?M1(A):v1(A)}function en(A){return cr(A)?F1(A):y1(A)}function Al(A){for(var z=A.length;z--&&C0.test(A.charAt(z)););return z}var I1=es(u1);function M1(A){for(var z=qo.lastIndex=0;qo.test(A);)++z;return z}function F1(A){return A.match(qo)||[]}function z1(A){return A.match(n1)||[]}var j1=function A(z){z=z==null?mt:dr.defaults(mt.Object(),z,dr.pick(mt,o1));var L=z.Array,se=z.Date,be=z.Error,Ze=z.Function,ft=z.Math,Ge=z.Object,os=z.RegExp,B1=z.String,Nt=z.TypeError,Ci=L.prototype,P1=Ze.prototype,hr=Ge.prototype,Si=z["__core-js_shared__"],Ei=P1.toString,Ue=hr.hasOwnProperty,W1=0,$l=function(){var e=/[^.]+$/.exec(Si&&Si.keys&&Si.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Ai=hr.toString,D1=Ei.call(Ge),H1=mt._,Z1=os("^"+Ei.call(Ue).replace(Do,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),$i=cl?z.Buffer:i,Ln=z.Symbol,ki=z.Uint8Array,kl=$i?$i.allocUnsafe:i,Ti=El(Ge.getPrototypeOf,Ge),Tl=Ge.create,Rl=hr.propertyIsEnumerable,Ri=Ci.splice,Ll=Ln?Ln.isConcatSpreadable:i,Br=Ln?Ln.iterator:i,Un=Ln?Ln.toStringTag:i,Li=function(){try{var e=Yn(Ge,"defineProperty");return e({},"",{}),e}catch{}}(),V1=z.clearTimeout!==mt.clearTimeout&&z.clearTimeout,N1=se&&se.now!==mt.Date.now&&se.now,U1=z.setTimeout!==mt.setTimeout&&z.setTimeout,Oi=ft.ceil,Ii=ft.floor,ss=Ge.getOwnPropertySymbols,q1=$i?$i.isBuffer:i,Ol=z.isFinite,G1=Ci.join,K1=El(Ge.keys,Ge),dt=ft.max,bt=ft.min,X1=se.now,Y1=z.parseInt,Il=ft.random,Q1=Ci.reverse,as=Yn(z,"DataView"),Pr=Yn(z,"Map"),ls=Yn(z,"Promise"),pr=Yn(z,"Set"),Wr=Yn(z,"WeakMap"),Dr=Yn(Ge,"create"),Mi=Wr&&new Wr,gr={},J1=Qn(as),eh=Qn(Pr),th=Qn(ls),nh=Qn(pr),rh=Qn(Wr),Fi=Ln?Ln.prototype:i,Hr=Fi?Fi.valueOf:i,Ml=Fi?Fi.toString:i;function p(e){if(st(e)&&!_e(e)&&!(e instanceof Ie)){if(e instanceof Ut)return e;if(Ue.call(e,"__wrapped__"))return Fu(e)}return new Ut(e)}var mr=function(){function e(){}return function(n){if(!rt(n))return{};if(Tl)return Tl(n);e.prototype=n;var o=new e;return e.prototype=i,o}}();function zi(){}function Ut(e,n){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=i}p.templateSettings={escape:v0,evaluate:y0,interpolate:Za,variable:"",imports:{_:p}},p.prototype=zi.prototype,p.prototype.constructor=p,Ut.prototype=mr(zi.prototype),Ut.prototype.constructor=Ut;function Ie(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ke,this.__views__=[]}function ih(){var e=new Ie(this.__wrapped__);return e.__actions__=$t(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=$t(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=$t(this.__views__),e}function oh(){if(this.__filtered__){var e=new Ie(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function sh(){var e=this.__wrapped__.value(),n=this.__dir__,o=_e(e),a=n<0,c=o?e.length:0,m=yp(0,c,this.__views__),b=m.start,w=m.end,$=w-b,P=a?w:b-1,W=this.__iteratees__,U=W.length,ne=0,ue=bt($,this.__takeCount__);if(!o||!a&&c==$&&ue==$)return iu(e,this.__actions__);var ge=[];e:for(;$--&&ne<ue;){P+=n;for(var $e=-1,me=e[P];++$e<U;){var Le=W[$e],Fe=Le.iteratee,Pt=Le.type,Et=Fe(me);if(Pt==le)me=Et;else if(!Et){if(Pt==G)continue e;break e}}ge[ne++]=me}return ge}Ie.prototype=mr(zi.prototype),Ie.prototype.constructor=Ie;function qn(e){var n=-1,o=e==null?0:e.length;for(this.clear();++n<o;){var a=e[n];this.set(a[0],a[1])}}function ah(){this.__data__=Dr?Dr(null):{},this.size=0}function lh(e){var n=this.has(e)&&delete this.__data__[e];return this.size-=n?1:0,n}function uh(e){var n=this.__data__;if(Dr){var o=n[e];return o===g?i:o}return Ue.call(n,e)?n[e]:i}function ch(e){var n=this.__data__;return Dr?n[e]!==i:Ue.call(n,e)}function fh(e,n){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=Dr&&n===i?g:n,this}qn.prototype.clear=ah,qn.prototype.delete=lh,qn.prototype.get=uh,qn.prototype.has=ch,qn.prototype.set=fh;function hn(e){var n=-1,o=e==null?0:e.length;for(this.clear();++n<o;){var a=e[n];this.set(a[0],a[1])}}function dh(){this.__data__=[],this.size=0}function hh(e){var n=this.__data__,o=ji(n,e);if(o<0)return!1;var a=n.length-1;return o==a?n.pop():Ri.call(n,o,1),--this.size,!0}function ph(e){var n=this.__data__,o=ji(n,e);return o<0?i:n[o][1]}function gh(e){return ji(this.__data__,e)>-1}function mh(e,n){var o=this.__data__,a=ji(o,e);return a<0?(++this.size,o.push([e,n])):o[a][1]=n,this}hn.prototype.clear=dh,hn.prototype.delete=hh,hn.prototype.get=ph,hn.prototype.has=gh,hn.prototype.set=mh;function pn(e){var n=-1,o=e==null?0:e.length;for(this.clear();++n<o;){var a=e[n];this.set(a[0],a[1])}}function vh(){this.size=0,this.__data__={hash:new qn,map:new(Pr||hn),string:new qn}}function yh(e){var n=Ki(this,e).delete(e);return this.size-=n?1:0,n}function bh(e){return Ki(this,e).get(e)}function xh(e){return Ki(this,e).has(e)}function wh(e,n){var o=Ki(this,e),a=o.size;return o.set(e,n),this.size+=o.size==a?0:1,this}pn.prototype.clear=vh,pn.prototype.delete=yh,pn.prototype.get=bh,pn.prototype.has=xh,pn.prototype.set=wh;function Gn(e){var n=-1,o=e==null?0:e.length;for(this.__data__=new pn;++n<o;)this.add(e[n])}function _h(e){return this.__data__.set(e,g),this}function Ch(e){return this.__data__.has(e)}Gn.prototype.add=Gn.prototype.push=_h,Gn.prototype.has=Ch;function tn(e){var n=this.__data__=new hn(e);this.size=n.size}function Sh(){this.__data__=new hn,this.size=0}function Eh(e){var n=this.__data__,o=n.delete(e);return this.size=n.size,o}function Ah(e){return this.__data__.get(e)}function $h(e){return this.__data__.has(e)}function kh(e,n){var o=this.__data__;if(o instanceof hn){var a=o.__data__;if(!Pr||a.length<l-1)return a.push([e,n]),this.size=++o.size,this;o=this.__data__=new pn(a)}return o.set(e,n),this.size=o.size,this}tn.prototype.clear=Sh,tn.prototype.delete=Eh,tn.prototype.get=Ah,tn.prototype.has=$h,tn.prototype.set=kh;function Fl(e,n){var o=_e(e),a=!o&&Jn(e),c=!o&&!a&&zn(e),m=!o&&!a&&!c&&xr(e),b=o||a||c||m,w=b?ns(e.length,B1):[],$=w.length;for(var P in e)(n||Ue.call(e,P))&&!(b&&(P=="length"||c&&(P=="offset"||P=="parent")||m&&(P=="buffer"||P=="byteLength"||P=="byteOffset")||yn(P,$)))&&w.push(P);return w}function zl(e){var n=e.length;return n?e[bs(0,n-1)]:i}function Th(e,n){return Xi($t(e),Kn(n,0,e.length))}function Rh(e){return Xi($t(e))}function us(e,n,o){(o!==i&&!nn(e[n],o)||o===i&&!(n in e))&&gn(e,n,o)}function Zr(e,n,o){var a=e[n];(!(Ue.call(e,n)&&nn(a,o))||o===i&&!(n in e))&&gn(e,n,o)}function ji(e,n){for(var o=e.length;o--;)if(nn(e[o][0],n))return o;return-1}function Lh(e,n,o,a){return On(e,function(c,m,b){n(a,c,o(c),b)}),a}function jl(e,n){return e&&ln(n,pt(n),e)}function Oh(e,n){return e&&ln(n,Tt(n),e)}function gn(e,n,o){n=="__proto__"&&Li?Li(e,n,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[n]=o}function cs(e,n){for(var o=-1,a=n.length,c=L(a),m=e==null;++o<a;)c[o]=m?i:Vs(e,n[o]);return c}function Kn(e,n,o){return e===e&&(o!==i&&(e=e<=o?e:o),n!==i&&(e=e>=n?e:n)),e}function qt(e,n,o,a,c,m){var b,w=n&S,$=n&E,P=n&x;if(o&&(b=c?o(e,a,c,m):o(e)),b!==i)return b;if(!rt(e))return e;var W=_e(e);if(W){if(b=xp(e),!w)return $t(e,b)}else{var U=xt(e),ne=U==J||U==ce;if(zn(e))return au(e,w);if(U==we||U==gt||ne&&!c){if(b=$||ne?{}:Au(e),!w)return $?up(e,Oh(b,e)):lp(e,jl(b,e))}else{if(!Ye[U])return c?e:{};b=wp(e,U,w)}}m||(m=new tn);var ue=m.get(e);if(ue)return ue;m.set(e,b),tc(e)?e.forEach(function(me){b.add(qt(me,n,o,me,e,m))}):Ju(e)&&e.forEach(function(me,Le){b.set(Le,qt(me,n,o,Le,e,m))});var ge=P?$?Rs:Ts:$?Tt:pt,$e=W?i:ge(e);return Vt($e||e,function(me,Le){$e&&(Le=me,me=e[Le]),Zr(b,Le,qt(me,n,o,Le,e,m))}),b}function Ih(e){var n=pt(e);return function(o){return Bl(o,e,n)}}function Bl(e,n,o){var a=o.length;if(e==null)return!a;for(e=Ge(e);a--;){var c=o[a],m=n[c],b=e[c];if(b===i&&!(c in e)||!m(b))return!1}return!0}function Pl(e,n,o){if(typeof e!="function")throw new Nt(f);return Xr(function(){e.apply(i,o)},n)}function Vr(e,n,o,a){var c=-1,m=xi,b=!0,w=e.length,$=[],P=n.length;if(!w)return $;o&&(n=et(n,zt(o))),a?(m=Xo,b=!1):n.length>=l&&(m=jr,b=!1,n=new Gn(n));e:for(;++c<w;){var W=e[c],U=o==null?W:o(W);if(W=a||W!==0?W:0,b&&U===U){for(var ne=P;ne--;)if(n[ne]===U)continue e;$.push(W)}else m(n,U,a)||$.push(W)}return $}var On=du(an),Wl=du(ds,!0);function Mh(e,n){var o=!0;return On(e,function(a,c,m){return o=!!n(a,c,m),o}),o}function Bi(e,n,o){for(var a=-1,c=e.length;++a<c;){var m=e[a],b=n(m);if(b!=null&&(w===i?b===b&&!Bt(b):o(b,w)))var w=b,$=m}return $}function Fh(e,n,o,a){var c=e.length;for(o=Ae(o),o<0&&(o=-o>c?0:c+o),a=a===i||a>c?c:Ae(a),a<0&&(a+=c),a=o>a?0:rc(a);o<a;)e[o++]=n;return e}function Dl(e,n){var o=[];return On(e,function(a,c,m){n(a,c,m)&&o.push(a)}),o}function vt(e,n,o,a,c){var m=-1,b=e.length;for(o||(o=Cp),c||(c=[]);++m<b;){var w=e[m];n>0&&o(w)?n>1?vt(w,n-1,o,a,c):Tn(c,w):a||(c[c.length]=w)}return c}var fs=hu(),Hl=hu(!0);function an(e,n){return e&&fs(e,n,pt)}function ds(e,n){return e&&Hl(e,n,pt)}function Pi(e,n){return kn(n,function(o){return bn(e[o])})}function Xn(e,n){n=Mn(n,e);for(var o=0,a=n.length;e!=null&&o<a;)e=e[un(n[o++])];return o&&o==a?e:i}function Zl(e,n,o){var a=n(e);return _e(e)?a:Tn(a,o(e))}function Ct(e){return e==null?e===i?Ve:fe:Un&&Un in Ge(e)?vp(e):Rp(e)}function hs(e,n){return e>n}function zh(e,n){return e!=null&&Ue.call(e,n)}function jh(e,n){return e!=null&&n in Ge(e)}function Bh(e,n,o){return e>=bt(n,o)&&e<dt(n,o)}function ps(e,n,o){for(var a=o?Xo:xi,c=e[0].length,m=e.length,b=m,w=L(m),$=1/0,P=[];b--;){var W=e[b];b&&n&&(W=et(W,zt(n))),$=bt(W.length,$),w[b]=!o&&(n||c>=120&&W.length>=120)?new Gn(b&&W):i}W=e[0];var U=-1,ne=w[0];e:for(;++U<c&&P.length<$;){var ue=W[U],ge=n?n(ue):ue;if(ue=o||ue!==0?ue:0,!(ne?jr(ne,ge):a(P,ge,o))){for(b=m;--b;){var $e=w[b];if(!($e?jr($e,ge):a(e[b],ge,o)))continue e}ne&&ne.push(ge),P.push(ue)}}return P}function Ph(e,n,o,a){return an(e,function(c,m,b){n(a,o(c),m,b)}),a}function Nr(e,n,o){n=Mn(n,e),e=Ru(e,n);var a=e==null?e:e[un(Kt(n))];return a==null?i:Ft(a,e,o)}function Vl(e){return st(e)&&Ct(e)==gt}function Wh(e){return st(e)&&Ct(e)==Qe}function Dh(e){return st(e)&&Ct(e)==Se}function Ur(e,n,o,a,c){return e===n?!0:e==null||n==null||!st(e)&&!st(n)?e!==e&&n!==n:Hh(e,n,o,a,Ur,c)}function Hh(e,n,o,a,c,m){var b=_e(e),w=_e(n),$=b?Be:xt(e),P=w?Be:xt(n);$=$==gt?we:$,P=P==gt?we:P;var W=$==we,U=P==we,ne=$==P;if(ne&&zn(e)){if(!zn(n))return!1;b=!0,W=!1}if(ne&&!W)return m||(m=new tn),b||xr(e)?Cu(e,n,o,a,c,m):gp(e,n,$,o,a,c,m);if(!(o&C)){var ue=W&&Ue.call(e,"__wrapped__"),ge=U&&Ue.call(n,"__wrapped__");if(ue||ge){var $e=ue?e.value():e,me=ge?n.value():n;return m||(m=new tn),c($e,me,o,a,m)}}return ne?(m||(m=new tn),mp(e,n,o,a,c,m)):!1}function Zh(e){return st(e)&&xt(e)==Z}function gs(e,n,o,a){var c=o.length,m=c,b=!a;if(e==null)return!m;for(e=Ge(e);c--;){var w=o[c];if(b&&w[2]?w[1]!==e[w[0]]:!(w[0]in e))return!1}for(;++c<m;){w=o[c];var $=w[0],P=e[$],W=w[1];if(b&&w[2]){if(P===i&&!($ in e))return!1}else{var U=new tn;if(a)var ne=a(P,W,$,e,n,U);if(!(ne===i?Ur(W,P,C|F,a,U):ne))return!1}}return!0}function Nl(e){if(!rt(e)||Ep(e))return!1;var n=bn(e)?Z1:I0;return n.test(Qn(e))}function Vh(e){return st(e)&&Ct(e)==tt}function Nh(e){return st(e)&&xt(e)==nt}function Uh(e){return st(e)&&no(e.length)&&!!Je[Ct(e)]}function Ul(e){return typeof e=="function"?e:e==null?Rt:typeof e=="object"?_e(e)?Kl(e[0],e[1]):Gl(e):pc(e)}function ms(e){if(!Kr(e))return K1(e);var n=[];for(var o in Ge(e))Ue.call(e,o)&&o!="constructor"&&n.push(o);return n}function qh(e){if(!rt(e))return Tp(e);var n=Kr(e),o=[];for(var a in e)a=="constructor"&&(n||!Ue.call(e,a))||o.push(a);return o}function vs(e,n){return e<n}function ql(e,n){var o=-1,a=kt(e)?L(e.length):[];return On(e,function(c,m,b){a[++o]=n(c,m,b)}),a}function Gl(e){var n=Os(e);return n.length==1&&n[0][2]?ku(n[0][0],n[0][1]):function(o){return o===e||gs(o,e,n)}}function Kl(e,n){return Ms(e)&&$u(n)?ku(un(e),n):function(o){var a=Vs(o,e);return a===i&&a===n?Ns(o,e):Ur(n,a,C|F)}}function Wi(e,n,o,a,c){e!==n&&fs(n,function(m,b){if(c||(c=new tn),rt(m))Gh(e,n,b,o,Wi,a,c);else{var w=a?a(zs(e,b),m,b+"",e,n,c):i;w===i&&(w=m),us(e,b,w)}},Tt)}function Gh(e,n,o,a,c,m,b){var w=zs(e,o),$=zs(n,o),P=b.get($);if(P){us(e,o,P);return}var W=m?m(w,$,o+"",e,n,b):i,U=W===i;if(U){var ne=_e($),ue=!ne&&zn($),ge=!ne&&!ue&&xr($);W=$,ne||ue||ge?_e(w)?W=w:lt(w)?W=$t(w):ue?(U=!1,W=au($,!0)):ge?(U=!1,W=lu($,!0)):W=[]:Yr($)||Jn($)?(W=w,Jn(w)?W=ic(w):(!rt(w)||bn(w))&&(W=Au($))):U=!1}U&&(b.set($,W),c(W,$,a,m,b),b.delete($)),us(e,o,W)}function Xl(e,n){var o=e.length;if(o)return n+=n<0?o:0,yn(n,o)?e[n]:i}function Yl(e,n,o){n.length?n=et(n,function(m){return _e(m)?function(b){return Xn(b,m.length===1?m[0]:m)}:m}):n=[Rt];var a=-1;n=et(n,zt(he()));var c=ql(e,function(m,b,w){var $=et(n,function(P){return P(m)});return{criteria:$,index:++a,value:m}});return w1(c,function(m,b){return ap(m,b,o)})}function Kh(e,n){return Ql(e,n,function(o,a){return Ns(e,a)})}function Ql(e,n,o){for(var a=-1,c=n.length,m={};++a<c;){var b=n[a],w=Xn(e,b);o(w,b)&&qr(m,Mn(b,e),w)}return m}function Xh(e){return function(n){return Xn(n,e)}}function ys(e,n,o,a){var c=a?x1:ur,m=-1,b=n.length,w=e;for(e===n&&(n=$t(n)),o&&(w=et(e,zt(o)));++m<b;)for(var $=0,P=n[m],W=o?o(P):P;($=c(w,W,$,a))>-1;)w!==e&&Ri.call(w,$,1),Ri.call(e,$,1);return e}function Jl(e,n){for(var o=e?n.length:0,a=o-1;o--;){var c=n[o];if(o==a||c!==m){var m=c;yn(c)?Ri.call(e,c,1):_s(e,c)}}return e}function bs(e,n){return e+Ii(Il()*(n-e+1))}function Yh(e,n,o,a){for(var c=-1,m=dt(Oi((n-e)/(o||1)),0),b=L(m);m--;)b[a?m:++c]=e,e+=o;return b}function xs(e,n){var o="";if(!e||n<1||n>ee)return o;do n%2&&(o+=e),n=Ii(n/2),n&&(e+=e);while(n);return o}function Te(e,n){return js(Tu(e,n,Rt),e+"")}function Qh(e){return zl(wr(e))}function Jh(e,n){var o=wr(e);return Xi(o,Kn(n,0,o.length))}function qr(e,n,o,a){if(!rt(e))return e;n=Mn(n,e);for(var c=-1,m=n.length,b=m-1,w=e;w!=null&&++c<m;){var $=un(n[c]),P=o;if($==="__proto__"||$==="constructor"||$==="prototype")return e;if(c!=b){var W=w[$];P=a?a(W,$,w):i,P===i&&(P=rt(W)?W:yn(n[c+1])?[]:{})}Zr(w,$,P),w=w[$]}return e}var eu=Mi?function(e,n){return Mi.set(e,n),e}:Rt,ep=Li?function(e,n){return Li(e,"toString",{configurable:!0,enumerable:!1,value:qs(n),writable:!0})}:Rt;function tp(e){return Xi(wr(e))}function Gt(e,n,o){var a=-1,c=e.length;n<0&&(n=-n>c?0:c+n),o=o>c?c:o,o<0&&(o+=c),c=n>o?0:o-n>>>0,n>>>=0;for(var m=L(c);++a<c;)m[a]=e[a+n];return m}function np(e,n){var o;return On(e,function(a,c,m){return o=n(a,c,m),!o}),!!o}function Di(e,n,o){var a=0,c=e==null?a:e.length;if(typeof n=="number"&&n===n&&c<=De){for(;a<c;){var m=a+c>>>1,b=e[m];b!==null&&!Bt(b)&&(o?b<=n:b<n)?a=m+1:c=m}return c}return ws(e,n,Rt,o)}function ws(e,n,o,a){var c=0,m=e==null?0:e.length;if(m===0)return 0;n=o(n);for(var b=n!==n,w=n===null,$=Bt(n),P=n===i;c<m;){var W=Ii((c+m)/2),U=o(e[W]),ne=U!==i,ue=U===null,ge=U===U,$e=Bt(U);if(b)var me=a||ge;else P?me=ge&&(a||ne):w?me=ge&&ne&&(a||!ue):$?me=ge&&ne&&!ue&&(a||!$e):ue||$e?me=!1:me=a?U<=n:U<n;me?c=W+1:m=W}return bt(m,Oe)}function tu(e,n){for(var o=-1,a=e.length,c=0,m=[];++o<a;){var b=e[o],w=n?n(b):b;if(!o||!nn(w,$)){var $=w;m[c++]=b===0?0:b}}return m}function nu(e){return typeof e=="number"?e:Bt(e)?je:+e}function jt(e){if(typeof e=="string")return e;if(_e(e))return et(e,jt)+"";if(Bt(e))return Ml?Ml.call(e):"";var n=e+"";return n=="0"&&1/e==-1/0?"-0":n}function In(e,n,o){var a=-1,c=xi,m=e.length,b=!0,w=[],$=w;if(o)b=!1,c=Xo;else if(m>=l){var P=n?null:hp(e);if(P)return _i(P);b=!1,c=jr,$=new Gn}else $=n?[]:w;e:for(;++a<m;){var W=e[a],U=n?n(W):W;if(W=o||W!==0?W:0,b&&U===U){for(var ne=$.length;ne--;)if($[ne]===U)continue e;n&&$.push(U),w.push(W)}else c($,U,o)||($!==w&&$.push(U),w.push(W))}return w}function _s(e,n){return n=Mn(n,e),e=Ru(e,n),e==null||delete e[un(Kt(n))]}function ru(e,n,o,a){return qr(e,n,o(Xn(e,n)),a)}function Hi(e,n,o,a){for(var c=e.length,m=a?c:-1;(a?m--:++m<c)&&n(e[m],m,e););return o?Gt(e,a?0:m,a?m+1:c):Gt(e,a?m+1:0,a?c:m)}function iu(e,n){var o=e;return o instanceof Ie&&(o=o.value()),Yo(n,function(a,c){return c.func.apply(c.thisArg,Tn([a],c.args))},o)}function Cs(e,n,o){var a=e.length;if(a<2)return a?In(e[0]):[];for(var c=-1,m=L(a);++c<a;)for(var b=e[c],w=-1;++w<a;)w!=c&&(m[c]=Vr(m[c]||b,e[w],n,o));return In(vt(m,1),n,o)}function ou(e,n,o){for(var a=-1,c=e.length,m=n.length,b={};++a<c;){var w=a<m?n[a]:i;o(b,e[a],w)}return b}function Ss(e){return lt(e)?e:[]}function Es(e){return typeof e=="function"?e:Rt}function Mn(e,n){return _e(e)?e:Ms(e,n)?[e]:Mu(Ne(e))}var rp=Te;function Fn(e,n,o){var a=e.length;return o=o===i?a:o,!n&&o>=a?e:Gt(e,n,o)}var su=V1||function(e){return mt.clearTimeout(e)};function au(e,n){if(n)return e.slice();var o=e.length,a=kl?kl(o):new e.constructor(o);return e.copy(a),a}function As(e){var n=new e.constructor(e.byteLength);return new ki(n).set(new ki(e)),n}function ip(e,n){var o=n?As(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.byteLength)}function op(e){var n=new e.constructor(e.source,Va.exec(e));return n.lastIndex=e.lastIndex,n}function sp(e){return Hr?Ge(Hr.call(e)):{}}function lu(e,n){var o=n?As(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}function uu(e,n){if(e!==n){var o=e!==i,a=e===null,c=e===e,m=Bt(e),b=n!==i,w=n===null,$=n===n,P=Bt(n);if(!w&&!P&&!m&&e>n||m&&b&&$&&!w&&!P||a&&b&&$||!o&&$||!c)return 1;if(!a&&!m&&!P&&e<n||P&&o&&c&&!a&&!m||w&&o&&c||!b&&c||!$)return-1}return 0}function ap(e,n,o){for(var a=-1,c=e.criteria,m=n.criteria,b=c.length,w=o.length;++a<b;){var $=uu(c[a],m[a]);if($){if(a>=w)return $;var P=o[a];return $*(P=="desc"?-1:1)}}return e.index-n.index}function cu(e,n,o,a){for(var c=-1,m=e.length,b=o.length,w=-1,$=n.length,P=dt(m-b,0),W=L($+P),U=!a;++w<$;)W[w]=n[w];for(;++c<b;)(U||c<m)&&(W[o[c]]=e[c]);for(;P--;)W[w++]=e[c++];return W}function fu(e,n,o,a){for(var c=-1,m=e.length,b=-1,w=o.length,$=-1,P=n.length,W=dt(m-w,0),U=L(W+P),ne=!a;++c<W;)U[c]=e[c];for(var ue=c;++$<P;)U[ue+$]=n[$];for(;++b<w;)(ne||c<m)&&(U[ue+o[b]]=e[c++]);return U}function $t(e,n){var o=-1,a=e.length;for(n||(n=L(a));++o<a;)n[o]=e[o];return n}function ln(e,n,o,a){var c=!o;o||(o={});for(var m=-1,b=n.length;++m<b;){var w=n[m],$=a?a(o[w],e[w],w,o,e):i;$===i&&($=e[w]),c?gn(o,w,$):Zr(o,w,$)}return o}function lp(e,n){return ln(e,Is(e),n)}function up(e,n){return ln(e,Su(e),n)}function Zi(e,n){return function(o,a){var c=_e(o)?p1:Lh,m=n?n():{};return c(o,e,he(a,2),m)}}function vr(e){return Te(function(n,o){var a=-1,c=o.length,m=c>1?o[c-1]:i,b=c>2?o[2]:i;for(m=e.length>3&&typeof m=="function"?(c--,m):i,b&&St(o[0],o[1],b)&&(m=c<3?i:m,c=1),n=Ge(n);++a<c;){var w=o[a];w&&e(n,w,a,m)}return n})}function du(e,n){return function(o,a){if(o==null)return o;if(!kt(o))return e(o,a);for(var c=o.length,m=n?c:-1,b=Ge(o);(n?m--:++m<c)&&a(b[m],m,b)!==!1;);return o}}function hu(e){return function(n,o,a){for(var c=-1,m=Ge(n),b=a(n),w=b.length;w--;){var $=b[e?w:++c];if(o(m[$],$,m)===!1)break}return n}}function cp(e,n,o){var a=n&R,c=Gr(e);function m(){var b=this&&this!==mt&&this instanceof m?c:e;return b.apply(a?o:this,arguments)}return m}function pu(e){return function(n){n=Ne(n);var o=cr(n)?en(n):i,a=o?o[0]:n.charAt(0),c=o?Fn(o,1).join(""):n.slice(1);return a[e]()+c}}function yr(e){return function(n){return Yo(dc(fc(n).replace(e1,"")),e,"")}}function Gr(e){return function(){var n=arguments;switch(n.length){case 0:return new e;case 1:return new e(n[0]);case 2:return new e(n[0],n[1]);case 3:return new e(n[0],n[1],n[2]);case 4:return new e(n[0],n[1],n[2],n[3]);case 5:return new e(n[0],n[1],n[2],n[3],n[4]);case 6:return new e(n[0],n[1],n[2],n[3],n[4],n[5]);case 7:return new e(n[0],n[1],n[2],n[3],n[4],n[5],n[6])}var o=mr(e.prototype),a=e.apply(o,n);return rt(a)?a:o}}function fp(e,n,o){var a=Gr(e);function c(){for(var m=arguments.length,b=L(m),w=m,$=br(c);w--;)b[w]=arguments[w];var P=m<3&&b[0]!==$&&b[m-1]!==$?[]:Rn(b,$);if(m-=P.length,m<o)return bu(e,n,Vi,c.placeholder,i,b,P,i,i,o-m);var W=this&&this!==mt&&this instanceof c?a:e;return Ft(W,this,b)}return c}function gu(e){return function(n,o,a){var c=Ge(n);if(!kt(n)){var m=he(o,3);n=pt(n),o=function(w){return m(c[w],w,c)}}var b=e(n,o,a);return b>-1?c[m?n[b]:b]:i}}function mu(e){return vn(function(n){var o=n.length,a=o,c=Ut.prototype.thru;for(e&&n.reverse();a--;){var m=n[a];if(typeof m!="function")throw new Nt(f);if(c&&!b&&Gi(m)=="wrapper")var b=new Ut([],!0)}for(a=b?a:o;++a<o;){m=n[a];var w=Gi(m),$=w=="wrapper"?Ls(m):i;$&&Fs($[0])&&$[1]==(V|k|M|Q)&&!$[4].length&&$[9]==1?b=b[Gi($[0])].apply(b,$[3]):b=m.length==1&&Fs(m)?b[w]():b.thru(m)}return function(){var P=arguments,W=P[0];if(b&&P.length==1&&_e(W))return b.plant(W).value();for(var U=0,ne=o?n[U].apply(this,P):W;++U<o;)ne=n[U].call(this,ne);return ne}})}function Vi(e,n,o,a,c,m,b,w,$,P){var W=n&V,U=n&R,ne=n&I,ue=n&(k|O),ge=n&pe,$e=ne?i:Gr(e);function me(){for(var Le=arguments.length,Fe=L(Le),Pt=Le;Pt--;)Fe[Pt]=arguments[Pt];if(ue)var Et=br(me),Wt=C1(Fe,Et);if(a&&(Fe=cu(Fe,a,c,ue)),m&&(Fe=fu(Fe,m,b,ue)),Le-=Wt,ue&&Le<P){var ut=Rn(Fe,Et);return bu(e,n,Vi,me.placeholder,o,Fe,ut,w,$,P-Le)}var rn=U?o:this,wn=ne?rn[e]:e;return Le=Fe.length,w?Fe=Lp(Fe,w):ge&&Le>1&&Fe.reverse(),W&&$<Le&&(Fe.length=$),this&&this!==mt&&this instanceof me&&(wn=$e||Gr(wn)),wn.apply(rn,Fe)}return me}function vu(e,n){return function(o,a){return Ph(o,e,n(a),{})}}function Ni(e,n){return function(o,a){var c;if(o===i&&a===i)return n;if(o!==i&&(c=o),a!==i){if(c===i)return a;typeof o=="string"||typeof a=="string"?(o=jt(o),a=jt(a)):(o=nu(o),a=nu(a)),c=e(o,a)}return c}}function $s(e){return vn(function(n){return n=et(n,zt(he())),Te(function(o){var a=this;return e(n,function(c){return Ft(c,a,o)})})})}function Ui(e,n){n=n===i?" ":jt(n);var o=n.length;if(o<2)return o?xs(n,e):n;var a=xs(n,Oi(e/fr(n)));return cr(n)?Fn(en(a),0,e).join(""):a.slice(0,e)}function dp(e,n,o,a){var c=n&R,m=Gr(e);function b(){for(var w=-1,$=arguments.length,P=-1,W=a.length,U=L(W+$),ne=this&&this!==mt&&this instanceof b?m:e;++P<W;)U[P]=a[P];for(;$--;)U[P++]=arguments[++w];return Ft(ne,c?o:this,U)}return b}function yu(e){return function(n,o,a){return a&&typeof a!="number"&&St(n,o,a)&&(o=a=i),n=xn(n),o===i?(o=n,n=0):o=xn(o),a=a===i?n<o?1:-1:xn(a),Yh(n,o,a,e)}}function qi(e){return function(n,o){return typeof n=="string"&&typeof o=="string"||(n=Xt(n),o=Xt(o)),e(n,o)}}function bu(e,n,o,a,c,m,b,w,$,P){var W=n&k,U=W?b:i,ne=W?i:b,ue=W?m:i,ge=W?i:m;n|=W?M:N,n&=~(W?N:M),n&T||(n&=-4);var $e=[e,n,c,ue,U,ge,ne,w,$,P],me=o.apply(i,$e);return Fs(e)&&Lu(me,$e),me.placeholder=a,Ou(me,e,n)}function ks(e){var n=ft[e];return function(o,a){if(o=Xt(o),a=a==null?0:bt(Ae(a),292),a&&Ol(o)){var c=(Ne(o)+"e").split("e"),m=n(c[0]+"e"+(+c[1]+a));return c=(Ne(m)+"e").split("e"),+(c[0]+"e"+(+c[1]-a))}return n(o)}}var hp=pr&&1/_i(new pr([,-0]))[1]==oe?function(e){return new pr(e)}:Xs;function xu(e){return function(n){var o=xt(n);return o==Z?is(n):o==nt?R1(n):_1(n,e(n))}}function mn(e,n,o,a,c,m,b,w){var $=n&I;if(!$&&typeof e!="function")throw new Nt(f);var P=a?a.length:0;if(P||(n&=-97,a=c=i),b=b===i?b:dt(Ae(b),0),w=w===i?w:Ae(w),P-=c?c.length:0,n&N){var W=a,U=c;a=c=i}var ne=$?i:Ls(e),ue=[e,n,o,a,c,W,U,m,b,w];if(ne&&kp(ue,ne),e=ue[0],n=ue[1],o=ue[2],a=ue[3],c=ue[4],w=ue[9]=ue[9]===i?$?0:e.length:dt(ue[9]-P,0),!w&&n&(k|O)&&(n&=-25),!n||n==R)var ge=cp(e,n,o);else n==k||n==O?ge=fp(e,n,w):(n==M||n==(R|M))&&!c.length?ge=dp(e,n,o,a):ge=Vi.apply(i,ue);var $e=ne?eu:Lu;return Ou($e(ge,ue),e,n)}function wu(e,n,o,a){return e===i||nn(e,hr[o])&&!Ue.call(a,o)?n:e}function _u(e,n,o,a,c,m){return rt(e)&&rt(n)&&(m.set(n,e),Wi(e,n,i,_u,m),m.delete(n)),e}function pp(e){return Yr(e)?i:e}function Cu(e,n,o,a,c,m){var b=o&C,w=e.length,$=n.length;if(w!=$&&!(b&&$>w))return!1;var P=m.get(e),W=m.get(n);if(P&&W)return P==n&&W==e;var U=-1,ne=!0,ue=o&F?new Gn:i;for(m.set(e,n),m.set(n,e);++U<w;){var ge=e[U],$e=n[U];if(a)var me=b?a($e,ge,U,n,e,m):a(ge,$e,U,e,n,m);if(me!==i){if(me)continue;ne=!1;break}if(ue){if(!Qo(n,function(Le,Fe){if(!jr(ue,Fe)&&(ge===Le||c(ge,Le,o,a,m)))return ue.push(Fe)})){ne=!1;break}}else if(!(ge===$e||c(ge,$e,o,a,m))){ne=!1;break}}return m.delete(e),m.delete(n),ne}function gp(e,n,o,a,c,m,b){switch(o){case _t:if(e.byteLength!=n.byteLength||e.byteOffset!=n.byteOffset)return!1;e=e.buffer,n=n.buffer;case Qe:return!(e.byteLength!=n.byteLength||!m(new ki(e),new ki(n)));case de:case Se:case ie:return nn(+e,+n);case ye:return e.name==n.name&&e.message==n.message;case tt:case ot:return e==n+"";case Z:var w=is;case nt:var $=a&C;if(w||(w=_i),e.size!=n.size&&!$)return!1;var P=b.get(e);if(P)return P==n;a|=F,b.set(e,n);var W=Cu(w(e),w(n),a,c,m,b);return b.delete(e),W;case re:if(Hr)return Hr.call(e)==Hr.call(n)}return!1}function mp(e,n,o,a,c,m){var b=o&C,w=Ts(e),$=w.length,P=Ts(n),W=P.length;if($!=W&&!b)return!1;for(var U=$;U--;){var ne=w[U];if(!(b?ne in n:Ue.call(n,ne)))return!1}var ue=m.get(e),ge=m.get(n);if(ue&&ge)return ue==n&&ge==e;var $e=!0;m.set(e,n),m.set(n,e);for(var me=b;++U<$;){ne=w[U];var Le=e[ne],Fe=n[ne];if(a)var Pt=b?a(Fe,Le,ne,n,e,m):a(Le,Fe,ne,e,n,m);if(!(Pt===i?Le===Fe||c(Le,Fe,o,a,m):Pt)){$e=!1;break}me||(me=ne=="constructor")}if($e&&!me){var Et=e.constructor,Wt=n.constructor;Et!=Wt&&"constructor"in e&&"constructor"in n&&!(typeof Et=="function"&&Et instanceof Et&&typeof Wt=="function"&&Wt instanceof Wt)&&($e=!1)}return m.delete(e),m.delete(n),$e}function vn(e){return js(Tu(e,i,Bu),e+"")}function Ts(e){return Zl(e,pt,Is)}function Rs(e){return Zl(e,Tt,Su)}var Ls=Mi?function(e){return Mi.get(e)}:Xs;function Gi(e){for(var n=e.name+"",o=gr[n],a=Ue.call(gr,n)?o.length:0;a--;){var c=o[a],m=c.func;if(m==null||m==e)return c.name}return n}function br(e){var n=Ue.call(p,"placeholder")?p:e;return n.placeholder}function he(){var e=p.iteratee||Gs;return e=e===Gs?Ul:e,arguments.length?e(arguments[0],arguments[1]):e}function Ki(e,n){var o=e.__data__;return Sp(n)?o[typeof n=="string"?"string":"hash"]:o.map}function Os(e){for(var n=pt(e),o=n.length;o--;){var a=n[o],c=e[a];n[o]=[a,c,$u(c)]}return n}function Yn(e,n){var o=$1(e,n);return Nl(o)?o:i}function vp(e){var n=Ue.call(e,Un),o=e[Un];try{e[Un]=i;var a=!0}catch{}var c=Ai.call(e);return a&&(n?e[Un]=o:delete e[Un]),c}var Is=ss?function(e){return e==null?[]:(e=Ge(e),kn(ss(e),function(n){return Rl.call(e,n)}))}:Ys,Su=ss?function(e){for(var n=[];e;)Tn(n,Is(e)),e=Ti(e);return n}:Ys,xt=Ct;(as&&xt(new as(new ArrayBuffer(1)))!=_t||Pr&&xt(new Pr)!=Z||ls&&xt(ls.resolve())!=We||pr&&xt(new pr)!=nt||Wr&&xt(new Wr)!=Pe)&&(xt=function(e){var n=Ct(e),o=n==we?e.constructor:i,a=o?Qn(o):"";if(a)switch(a){case J1:return _t;case eh:return Z;case th:return We;case nh:return nt;case rh:return Pe}return n});function yp(e,n,o){for(var a=-1,c=o.length;++a<c;){var m=o[a],b=m.size;switch(m.type){case"drop":e+=b;break;case"dropRight":n-=b;break;case"take":n=bt(n,e+b);break;case"takeRight":e=dt(e,n-b);break}}return{start:e,end:n}}function bp(e){var n=e.match(E0);return n?n[1].split(A0):[]}function Eu(e,n,o){n=Mn(n,e);for(var a=-1,c=n.length,m=!1;++a<c;){var b=un(n[a]);if(!(m=e!=null&&o(e,b)))break;e=e[b]}return m||++a!=c?m:(c=e==null?0:e.length,!!c&&no(c)&&yn(b,c)&&(_e(e)||Jn(e)))}function xp(e){var n=e.length,o=new e.constructor(n);return n&&typeof e[0]=="string"&&Ue.call(e,"index")&&(o.index=e.index,o.input=e.input),o}function Au(e){return typeof e.constructor=="function"&&!Kr(e)?mr(Ti(e)):{}}function wp(e,n,o){var a=e.constructor;switch(n){case Qe:return As(e);case de:case Se:return new a(+e);case _t:return ip(e,o);case Vn:case Io:case Mo:case Fo:case zo:case jo:case Bo:case Po:case Wo:return lu(e,o);case Z:return new a;case ie:case ot:return new a(e);case tt:return op(e);case nt:return new a;case re:return sp(e)}}function _p(e,n){var o=n.length;if(!o)return e;var a=o-1;return n[a]=(o>1?"& ":"")+n[a],n=n.join(o>2?", ":" "),e.replace(S0,`{
|
|
9
|
-
/* [wrapped with `+
|
|
10
|
-
`)}function Cp(e){return _e(e)||Jn(e)||!!(Ll&&e&&e[Ll])}function yn(e,n){var o=typeof e;return n=n??ee,!!n&&(o=="number"||o!="symbol"&&F0.test(e))&&e>-1&&e%1==0&&e<n}function St(e,n,o){if(!rt(o))return!1;var a=typeof n;return(a=="number"?kt(o)&&yn(n,o.length):a=="string"&&n in o)?nn(o[n],e):!1}function Ms(e,n){if(_e(e))return!1;var o=typeof e;return o=="number"||o=="symbol"||o=="boolean"||e==null||Bt(e)?!0:x0.test(e)||!b0.test(e)||n!=null&&e in Ge(n)}function Sp(e){var n=typeof e;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?e!=="__proto__":e===null}function Fs(e){var n=Gi(e),o=p[n];if(typeof o!="function"||!(n in Ie.prototype))return!1;if(e===o)return!0;var a=Ls(o);return!!a&&e===a[0]}function Ep(e){return!!$l&&$l in e}var Ap=Si?bn:Qs;function Kr(e){var n=e&&e.constructor,o=typeof n=="function"&&n.prototype||hr;return e===o}function $u(e){return e===e&&!rt(e)}function ku(e,n){return function(o){return o==null?!1:o[e]===n&&(n!==i||e in Ge(o))}}function $p(e){var n=eo(e,function(a){return o.size===v&&o.clear(),a}),o=n.cache;return n}function kp(e,n){var o=e[1],a=n[1],c=o|a,m=c<(R|I|V),b=a==V&&o==k||a==V&&o==Q&&e[7].length<=n[8]||a==(V|Q)&&n[7].length<=n[8]&&o==k;if(!(m||b))return e;a&R&&(e[2]=n[2],c|=o&R?0:T);var w=n[3];if(w){var $=e[3];e[3]=$?cu($,w,n[4]):w,e[4]=$?Rn(e[3],_):n[4]}return w=n[5],w&&($=e[5],e[5]=$?fu($,w,n[6]):w,e[6]=$?Rn(e[5],_):n[6]),w=n[7],w&&(e[7]=w),a&V&&(e[8]=e[8]==null?n[8]:bt(e[8],n[8])),e[9]==null&&(e[9]=n[9]),e[0]=n[0],e[1]=c,e}function Tp(e){var n=[];if(e!=null)for(var o in Ge(e))n.push(o);return n}function Rp(e){return Ai.call(e)}function Tu(e,n,o){return n=dt(n===i?e.length-1:n,0),function(){for(var a=arguments,c=-1,m=dt(a.length-n,0),b=L(m);++c<m;)b[c]=a[n+c];c=-1;for(var w=L(n+1);++c<n;)w[c]=a[c];return w[n]=o(b),Ft(e,this,w)}}function Ru(e,n){return n.length<2?e:Xn(e,Gt(n,0,-1))}function Lp(e,n){for(var o=e.length,a=bt(n.length,o),c=$t(e);a--;){var m=n[a];e[a]=yn(m,o)?c[m]:i}return e}function zs(e,n){if(!(n==="constructor"&&typeof e[n]=="function")&&n!="__proto__")return e[n]}var Lu=Iu(eu),Xr=U1||function(e,n){return mt.setTimeout(e,n)},js=Iu(ep);function Ou(e,n,o){var a=n+"";return js(e,_p(a,Op(bp(a),o)))}function Iu(e){var n=0,o=0;return function(){var a=X1(),c=j-(a-o);if(o=a,c>0){if(++n>=D)return arguments[0]}else n=0;return e.apply(i,arguments)}}function Xi(e,n){var o=-1,a=e.length,c=a-1;for(n=n===i?a:n;++o<n;){var m=bs(o,c),b=e[m];e[m]=e[o],e[o]=b}return e.length=n,e}var Mu=$p(function(e){var n=[];return e.charCodeAt(0)===46&&n.push(""),e.replace(w0,function(o,a,c,m){n.push(c?m.replace(T0,"$1"):a||o)}),n});function un(e){if(typeof e=="string"||Bt(e))return e;var n=e+"";return n=="0"&&1/e==-1/0?"-0":n}function Qn(e){if(e!=null){try{return Ei.call(e)}catch{}try{return e+""}catch{}}return""}function Op(e,n){return Vt(Ke,function(o){var a="_."+o[0];n&o[1]&&!xi(e,a)&&e.push(a)}),e.sort()}function Fu(e){if(e instanceof Ie)return e.clone();var n=new Ut(e.__wrapped__,e.__chain__);return n.__actions__=$t(e.__actions__),n.__index__=e.__index__,n.__values__=e.__values__,n}function Ip(e,n,o){(o?St(e,n,o):n===i)?n=1:n=dt(Ae(n),0);var a=e==null?0:e.length;if(!a||n<1)return[];for(var c=0,m=0,b=L(Oi(a/n));c<a;)b[m++]=Gt(e,c,c+=n);return b}function Mp(e){for(var n=-1,o=e==null?0:e.length,a=0,c=[];++n<o;){var m=e[n];m&&(c[a++]=m)}return c}function Fp(){var e=arguments.length;if(!e)return[];for(var n=L(e-1),o=arguments[0],a=e;a--;)n[a-1]=arguments[a];return Tn(_e(o)?$t(o):[o],vt(n,1))}var zp=Te(function(e,n){return lt(e)?Vr(e,vt(n,1,lt,!0)):[]}),jp=Te(function(e,n){var o=Kt(n);return lt(o)&&(o=i),lt(e)?Vr(e,vt(n,1,lt,!0),he(o,2)):[]}),Bp=Te(function(e,n){var o=Kt(n);return lt(o)&&(o=i),lt(e)?Vr(e,vt(n,1,lt,!0),i,o):[]});function Pp(e,n,o){var a=e==null?0:e.length;return a?(n=o||n===i?1:Ae(n),Gt(e,n<0?0:n,a)):[]}function Wp(e,n,o){var a=e==null?0:e.length;return a?(n=o||n===i?1:Ae(n),n=a-n,Gt(e,0,n<0?0:n)):[]}function Dp(e,n){return e&&e.length?Hi(e,he(n,3),!0,!0):[]}function Hp(e,n){return e&&e.length?Hi(e,he(n,3),!0):[]}function Zp(e,n,o,a){var c=e==null?0:e.length;return c?(o&&typeof o!="number"&&St(e,n,o)&&(o=0,a=c),Fh(e,n,o,a)):[]}function zu(e,n,o){var a=e==null?0:e.length;if(!a)return-1;var c=o==null?0:Ae(o);return c<0&&(c=dt(a+c,0)),wi(e,he(n,3),c)}function ju(e,n,o){var a=e==null?0:e.length;if(!a)return-1;var c=a-1;return o!==i&&(c=Ae(o),c=o<0?dt(a+c,0):bt(c,a-1)),wi(e,he(n,3),c,!0)}function Bu(e){var n=e==null?0:e.length;return n?vt(e,1):[]}function Vp(e){var n=e==null?0:e.length;return n?vt(e,oe):[]}function Np(e,n){var o=e==null?0:e.length;return o?(n=n===i?1:Ae(n),vt(e,n)):[]}function Up(e){for(var n=-1,o=e==null?0:e.length,a={};++n<o;){var c=e[n];a[c[0]]=c[1]}return a}function Pu(e){return e&&e.length?e[0]:i}function qp(e,n,o){var a=e==null?0:e.length;if(!a)return-1;var c=o==null?0:Ae(o);return c<0&&(c=dt(a+c,0)),ur(e,n,c)}function Gp(e){var n=e==null?0:e.length;return n?Gt(e,0,-1):[]}var Kp=Te(function(e){var n=et(e,Ss);return n.length&&n[0]===e[0]?ps(n):[]}),Xp=Te(function(e){var n=Kt(e),o=et(e,Ss);return n===Kt(o)?n=i:o.pop(),o.length&&o[0]===e[0]?ps(o,he(n,2)):[]}),Yp=Te(function(e){var n=Kt(e),o=et(e,Ss);return n=typeof n=="function"?n:i,n&&o.pop(),o.length&&o[0]===e[0]?ps(o,i,n):[]});function Qp(e,n){return e==null?"":G1.call(e,n)}function Kt(e){var n=e==null?0:e.length;return n?e[n-1]:i}function Jp(e,n,o){var a=e==null?0:e.length;if(!a)return-1;var c=a;return o!==i&&(c=Ae(o),c=c<0?dt(a+c,0):bt(c,a-1)),n===n?O1(e,n,c):wi(e,bl,c,!0)}function eg(e,n){return e&&e.length?Xl(e,Ae(n)):i}var tg=Te(Wu);function Wu(e,n){return e&&e.length&&n&&n.length?ys(e,n):e}function ng(e,n,o){return e&&e.length&&n&&n.length?ys(e,n,he(o,2)):e}function rg(e,n,o){return e&&e.length&&n&&n.length?ys(e,n,i,o):e}var ig=vn(function(e,n){var o=e==null?0:e.length,a=cs(e,n);return Jl(e,et(n,function(c){return yn(c,o)?+c:c}).sort(uu)),a});function og(e,n){var o=[];if(!(e&&e.length))return o;var a=-1,c=[],m=e.length;for(n=he(n,3);++a<m;){var b=e[a];n(b,a,e)&&(o.push(b),c.push(a))}return Jl(e,c),o}function Bs(e){return e==null?e:Q1.call(e)}function sg(e,n,o){var a=e==null?0:e.length;return a?(o&&typeof o!="number"&&St(e,n,o)?(n=0,o=a):(n=n==null?0:Ae(n),o=o===i?a:Ae(o)),Gt(e,n,o)):[]}function ag(e,n){return Di(e,n)}function lg(e,n,o){return ws(e,n,he(o,2))}function ug(e,n){var o=e==null?0:e.length;if(o){var a=Di(e,n);if(a<o&&nn(e[a],n))return a}return-1}function cg(e,n){return Di(e,n,!0)}function fg(e,n,o){return ws(e,n,he(o,2),!0)}function dg(e,n){var o=e==null?0:e.length;if(o){var a=Di(e,n,!0)-1;if(nn(e[a],n))return a}return-1}function hg(e){return e&&e.length?tu(e):[]}function pg(e,n){return e&&e.length?tu(e,he(n,2)):[]}function gg(e){var n=e==null?0:e.length;return n?Gt(e,1,n):[]}function mg(e,n,o){return e&&e.length?(n=o||n===i?1:Ae(n),Gt(e,0,n<0?0:n)):[]}function vg(e,n,o){var a=e==null?0:e.length;return a?(n=o||n===i?1:Ae(n),n=a-n,Gt(e,n<0?0:n,a)):[]}function yg(e,n){return e&&e.length?Hi(e,he(n,3),!1,!0):[]}function bg(e,n){return e&&e.length?Hi(e,he(n,3)):[]}var xg=Te(function(e){return In(vt(e,1,lt,!0))}),wg=Te(function(e){var n=Kt(e);return lt(n)&&(n=i),In(vt(e,1,lt,!0),he(n,2))}),_g=Te(function(e){var n=Kt(e);return n=typeof n=="function"?n:i,In(vt(e,1,lt,!0),i,n)});function Cg(e){return e&&e.length?In(e):[]}function Sg(e,n){return e&&e.length?In(e,he(n,2)):[]}function Eg(e,n){return n=typeof n=="function"?n:i,e&&e.length?In(e,i,n):[]}function Ps(e){if(!(e&&e.length))return[];var n=0;return e=kn(e,function(o){if(lt(o))return n=dt(o.length,n),!0}),ns(n,function(o){return et(e,Jo(o))})}function Du(e,n){if(!(e&&e.length))return[];var o=Ps(e);return n==null?o:et(o,function(a){return Ft(n,i,a)})}var Ag=Te(function(e,n){return lt(e)?Vr(e,n):[]}),$g=Te(function(e){return Cs(kn(e,lt))}),kg=Te(function(e){var n=Kt(e);return lt(n)&&(n=i),Cs(kn(e,lt),he(n,2))}),Tg=Te(function(e){var n=Kt(e);return n=typeof n=="function"?n:i,Cs(kn(e,lt),i,n)}),Rg=Te(Ps);function Lg(e,n){return ou(e||[],n||[],Zr)}function Og(e,n){return ou(e||[],n||[],qr)}var Ig=Te(function(e){var n=e.length,o=n>1?e[n-1]:i;return o=typeof o=="function"?(e.pop(),o):i,Du(e,o)});function Hu(e){var n=p(e);return n.__chain__=!0,n}function Mg(e,n){return n(e),e}function Yi(e,n){return n(e)}var Fg=vn(function(e){var n=e.length,o=n?e[0]:0,a=this.__wrapped__,c=function(m){return cs(m,e)};return n>1||this.__actions__.length||!(a instanceof Ie)||!yn(o)?this.thru(c):(a=a.slice(o,+o+(n?1:0)),a.__actions__.push({func:Yi,args:[c],thisArg:i}),new Ut(a,this.__chain__).thru(function(m){return n&&!m.length&&m.push(i),m}))});function zg(){return Hu(this)}function jg(){return new Ut(this.value(),this.__chain__)}function Bg(){this.__values__===i&&(this.__values__=nc(this.value()));var e=this.__index__>=this.__values__.length,n=e?i:this.__values__[this.__index__++];return{done:e,value:n}}function Pg(){return this}function Wg(e){for(var n,o=this;o instanceof zi;){var a=Fu(o);a.__index__=0,a.__values__=i,n?c.__wrapped__=a:n=a;var c=a;o=o.__wrapped__}return c.__wrapped__=e,n}function Dg(){var e=this.__wrapped__;if(e instanceof Ie){var n=e;return this.__actions__.length&&(n=new Ie(this)),n=n.reverse(),n.__actions__.push({func:Yi,args:[Bs],thisArg:i}),new Ut(n,this.__chain__)}return this.thru(Bs)}function Hg(){return iu(this.__wrapped__,this.__actions__)}var Zg=Zi(function(e,n,o){Ue.call(e,o)?++e[o]:gn(e,o,1)});function Vg(e,n,o){var a=_e(e)?vl:Mh;return o&&St(e,n,o)&&(n=i),a(e,he(n,3))}function Ng(e,n){var o=_e(e)?kn:Dl;return o(e,he(n,3))}var Ug=gu(zu),qg=gu(ju);function Gg(e,n){return vt(Qi(e,n),1)}function Kg(e,n){return vt(Qi(e,n),oe)}function Xg(e,n,o){return o=o===i?1:Ae(o),vt(Qi(e,n),o)}function Zu(e,n){var o=_e(e)?Vt:On;return o(e,he(n,3))}function Vu(e,n){var o=_e(e)?g1:Wl;return o(e,he(n,3))}var Yg=Zi(function(e,n,o){Ue.call(e,o)?e[o].push(n):gn(e,o,[n])});function Qg(e,n,o,a){e=kt(e)?e:wr(e),o=o&&!a?Ae(o):0;var c=e.length;return o<0&&(o=dt(c+o,0)),ro(e)?o<=c&&e.indexOf(n,o)>-1:!!c&&ur(e,n,o)>-1}var Jg=Te(function(e,n,o){var a=-1,c=typeof n=="function",m=kt(e)?L(e.length):[];return On(e,function(b){m[++a]=c?Ft(n,b,o):Nr(b,n,o)}),m}),em=Zi(function(e,n,o){gn(e,o,n)});function Qi(e,n){var o=_e(e)?et:ql;return o(e,he(n,3))}function tm(e,n,o,a){return e==null?[]:(_e(n)||(n=n==null?[]:[n]),o=a?i:o,_e(o)||(o=o==null?[]:[o]),Yl(e,n,o))}var nm=Zi(function(e,n,o){e[o?0:1].push(n)},function(){return[[],[]]});function rm(e,n,o){var a=_e(e)?Yo:wl,c=arguments.length<3;return a(e,he(n,4),o,c,On)}function im(e,n,o){var a=_e(e)?m1:wl,c=arguments.length<3;return a(e,he(n,4),o,c,Wl)}function om(e,n){var o=_e(e)?kn:Dl;return o(e,to(he(n,3)))}function sm(e){var n=_e(e)?zl:Qh;return n(e)}function am(e,n,o){(o?St(e,n,o):n===i)?n=1:n=Ae(n);var a=_e(e)?Th:Jh;return a(e,n)}function lm(e){var n=_e(e)?Rh:tp;return n(e)}function um(e){if(e==null)return 0;if(kt(e))return ro(e)?fr(e):e.length;var n=xt(e);return n==Z||n==nt?e.size:ms(e).length}function cm(e,n,o){var a=_e(e)?Qo:np;return o&&St(e,n,o)&&(n=i),a(e,he(n,3))}var fm=Te(function(e,n){if(e==null)return[];var o=n.length;return o>1&&St(e,n[0],n[1])?n=[]:o>2&&St(n[0],n[1],n[2])&&(n=[n[0]]),Yl(e,vt(n,1),[])}),Ji=N1||function(){return mt.Date.now()};function dm(e,n){if(typeof n!="function")throw new Nt(f);return e=Ae(e),function(){if(--e<1)return n.apply(this,arguments)}}function Nu(e,n,o){return n=o?i:n,n=e&&n==null?e.length:n,mn(e,V,i,i,i,i,n)}function Uu(e,n){var o;if(typeof n!="function")throw new Nt(f);return e=Ae(e),function(){return--e>0&&(o=n.apply(this,arguments)),e<=1&&(n=i),o}}var Ws=Te(function(e,n,o){var a=R;if(o.length){var c=Rn(o,br(Ws));a|=M}return mn(e,a,n,o,c)}),qu=Te(function(e,n,o){var a=R|I;if(o.length){var c=Rn(o,br(qu));a|=M}return mn(n,a,e,o,c)});function Gu(e,n,o){n=o?i:n;var a=mn(e,k,i,i,i,i,i,n);return a.placeholder=Gu.placeholder,a}function Ku(e,n,o){n=o?i:n;var a=mn(e,O,i,i,i,i,i,n);return a.placeholder=Ku.placeholder,a}function Xu(e,n,o){var a,c,m,b,w,$,P=0,W=!1,U=!1,ne=!0;if(typeof e!="function")throw new Nt(f);n=Xt(n)||0,rt(o)&&(W=!!o.leading,U="maxWait"in o,m=U?dt(Xt(o.maxWait)||0,n):m,ne="trailing"in o?!!o.trailing:ne);function ue(ut){var rn=a,wn=c;return a=c=i,P=ut,b=e.apply(wn,rn),b}function ge(ut){return P=ut,w=Xr(Le,n),W?ue(ut):b}function $e(ut){var rn=ut-$,wn=ut-P,gc=n-rn;return U?bt(gc,m-wn):gc}function me(ut){var rn=ut-$,wn=ut-P;return $===i||rn>=n||rn<0||U&&wn>=m}function Le(){var ut=Ji();if(me(ut))return Fe(ut);w=Xr(Le,$e(ut))}function Fe(ut){return w=i,ne&&a?ue(ut):(a=c=i,b)}function Pt(){w!==i&&su(w),P=0,a=$=c=w=i}function Et(){return w===i?b:Fe(Ji())}function Wt(){var ut=Ji(),rn=me(ut);if(a=arguments,c=this,$=ut,rn){if(w===i)return ge($);if(U)return su(w),w=Xr(Le,n),ue($)}return w===i&&(w=Xr(Le,n)),b}return Wt.cancel=Pt,Wt.flush=Et,Wt}var hm=Te(function(e,n){return Pl(e,1,n)}),pm=Te(function(e,n,o){return Pl(e,Xt(n)||0,o)});function gm(e){return mn(e,pe)}function eo(e,n){if(typeof e!="function"||n!=null&&typeof n!="function")throw new Nt(f);var o=function(){var a=arguments,c=n?n.apply(this,a):a[0],m=o.cache;if(m.has(c))return m.get(c);var b=e.apply(this,a);return o.cache=m.set(c,b)||m,b};return o.cache=new(eo.Cache||pn),o}eo.Cache=pn;function to(e){if(typeof e!="function")throw new Nt(f);return function(){var n=arguments;switch(n.length){case 0:return!e.call(this);case 1:return!e.call(this,n[0]);case 2:return!e.call(this,n[0],n[1]);case 3:return!e.call(this,n[0],n[1],n[2])}return!e.apply(this,n)}}function mm(e){return Uu(2,e)}var vm=rp(function(e,n){n=n.length==1&&_e(n[0])?et(n[0],zt(he())):et(vt(n,1),zt(he()));var o=n.length;return Te(function(a){for(var c=-1,m=bt(a.length,o);++c<m;)a[c]=n[c].call(this,a[c]);return Ft(e,this,a)})}),Ds=Te(function(e,n){var o=Rn(n,br(Ds));return mn(e,M,i,n,o)}),Yu=Te(function(e,n){var o=Rn(n,br(Yu));return mn(e,N,i,n,o)}),ym=vn(function(e,n){return mn(e,Q,i,i,i,n)});function bm(e,n){if(typeof e!="function")throw new Nt(f);return n=n===i?n:Ae(n),Te(e,n)}function xm(e,n){if(typeof e!="function")throw new Nt(f);return n=n==null?0:dt(Ae(n),0),Te(function(o){var a=o[n],c=Fn(o,0,n);return a&&Tn(c,a),Ft(e,this,c)})}function wm(e,n,o){var a=!0,c=!0;if(typeof e!="function")throw new Nt(f);return rt(o)&&(a="leading"in o?!!o.leading:a,c="trailing"in o?!!o.trailing:c),Xu(e,n,{leading:a,maxWait:n,trailing:c})}function _m(e){return Nu(e,1)}function Cm(e,n){return Ds(Es(n),e)}function Sm(){if(!arguments.length)return[];var e=arguments[0];return _e(e)?e:[e]}function Em(e){return qt(e,x)}function Am(e,n){return n=typeof n=="function"?n:i,qt(e,x,n)}function $m(e){return qt(e,S|x)}function km(e,n){return n=typeof n=="function"?n:i,qt(e,S|x,n)}function Tm(e,n){return n==null||Bl(e,n,pt(n))}function nn(e,n){return e===n||e!==e&&n!==n}var Rm=qi(hs),Lm=qi(function(e,n){return e>=n}),Jn=Vl(function(){return arguments}())?Vl:function(e){return st(e)&&Ue.call(e,"callee")&&!Rl.call(e,"callee")},_e=L.isArray,Om=fl?zt(fl):Wh;function kt(e){return e!=null&&no(e.length)&&!bn(e)}function lt(e){return st(e)&&kt(e)}function Im(e){return e===!0||e===!1||st(e)&&Ct(e)==de}var zn=q1||Qs,Mm=dl?zt(dl):Dh;function Fm(e){return st(e)&&e.nodeType===1&&!Yr(e)}function zm(e){if(e==null)return!0;if(kt(e)&&(_e(e)||typeof e=="string"||typeof e.splice=="function"||zn(e)||xr(e)||Jn(e)))return!e.length;var n=xt(e);if(n==Z||n==nt)return!e.size;if(Kr(e))return!ms(e).length;for(var o in e)if(Ue.call(e,o))return!1;return!0}function jm(e,n){return Ur(e,n)}function Bm(e,n,o){o=typeof o=="function"?o:i;var a=o?o(e,n):i;return a===i?Ur(e,n,i,o):!!a}function Hs(e){if(!st(e))return!1;var n=Ct(e);return n==ye||n==Re||typeof e.message=="string"&&typeof e.name=="string"&&!Yr(e)}function Pm(e){return typeof e=="number"&&Ol(e)}function bn(e){if(!rt(e))return!1;var n=Ct(e);return n==J||n==ce||n==it||n==Xe}function Qu(e){return typeof e=="number"&&e==Ae(e)}function no(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=ee}function rt(e){var n=typeof e;return e!=null&&(n=="object"||n=="function")}function st(e){return e!=null&&typeof e=="object"}var Ju=hl?zt(hl):Zh;function Wm(e,n){return e===n||gs(e,n,Os(n))}function Dm(e,n,o){return o=typeof o=="function"?o:i,gs(e,n,Os(n),o)}function Hm(e){return ec(e)&&e!=+e}function Zm(e){if(Ap(e))throw new be(u);return Nl(e)}function Vm(e){return e===null}function Nm(e){return e==null}function ec(e){return typeof e=="number"||st(e)&&Ct(e)==ie}function Yr(e){if(!st(e)||Ct(e)!=we)return!1;var n=Ti(e);if(n===null)return!0;var o=Ue.call(n,"constructor")&&n.constructor;return typeof o=="function"&&o instanceof o&&Ei.call(o)==D1}var Zs=pl?zt(pl):Vh;function Um(e){return Qu(e)&&e>=-9007199254740991&&e<=ee}var tc=gl?zt(gl):Nh;function ro(e){return typeof e=="string"||!_e(e)&&st(e)&&Ct(e)==ot}function Bt(e){return typeof e=="symbol"||st(e)&&Ct(e)==re}var xr=ml?zt(ml):Uh;function qm(e){return e===i}function Gm(e){return st(e)&&xt(e)==Pe}function Km(e){return st(e)&&Ct(e)==He}var Xm=qi(vs),Ym=qi(function(e,n){return e<=n});function nc(e){if(!e)return[];if(kt(e))return ro(e)?en(e):$t(e);if(Br&&e[Br])return T1(e[Br]());var n=xt(e),o=n==Z?is:n==nt?_i:wr;return o(e)}function xn(e){if(!e)return e===0?e:0;if(e=Xt(e),e===oe||e===-1/0){var n=e<0?-1:1;return n*ve}return e===e?e:0}function Ae(e){var n=xn(e),o=n%1;return n===n?o?n-o:n:0}function rc(e){return e?Kn(Ae(e),0,ke):0}function Xt(e){if(typeof e=="number")return e;if(Bt(e))return je;if(rt(e)){var n=typeof e.valueOf=="function"?e.valueOf():e;e=rt(n)?n+"":n}if(typeof e!="string")return e===0?e:+e;e=_l(e);var o=O0.test(e);return o||M0.test(e)?d1(e.slice(2),o?2:8):L0.test(e)?je:+e}function ic(e){return ln(e,Tt(e))}function Qm(e){return e?Kn(Ae(e),-9007199254740991,ee):e===0?e:0}function Ne(e){return e==null?"":jt(e)}var Jm=vr(function(e,n){if(Kr(n)||kt(n)){ln(n,pt(n),e);return}for(var o in n)Ue.call(n,o)&&Zr(e,o,n[o])}),oc=vr(function(e,n){ln(n,Tt(n),e)}),io=vr(function(e,n,o,a){ln(n,Tt(n),e,a)}),e2=vr(function(e,n,o,a){ln(n,pt(n),e,a)}),t2=vn(cs);function n2(e,n){var o=mr(e);return n==null?o:jl(o,n)}var r2=Te(function(e,n){e=Ge(e);var o=-1,a=n.length,c=a>2?n[2]:i;for(c&&St(n[0],n[1],c)&&(a=1);++o<a;)for(var m=n[o],b=Tt(m),w=-1,$=b.length;++w<$;){var P=b[w],W=e[P];(W===i||nn(W,hr[P])&&!Ue.call(e,P))&&(e[P]=m[P])}return e}),i2=Te(function(e){return e.push(i,_u),Ft(sc,i,e)});function o2(e,n){return yl(e,he(n,3),an)}function s2(e,n){return yl(e,he(n,3),ds)}function a2(e,n){return e==null?e:fs(e,he(n,3),Tt)}function l2(e,n){return e==null?e:Hl(e,he(n,3),Tt)}function u2(e,n){return e&&an(e,he(n,3))}function c2(e,n){return e&&ds(e,he(n,3))}function f2(e){return e==null?[]:Pi(e,pt(e))}function d2(e){return e==null?[]:Pi(e,Tt(e))}function Vs(e,n,o){var a=e==null?i:Xn(e,n);return a===i?o:a}function h2(e,n){return e!=null&&Eu(e,n,zh)}function Ns(e,n){return e!=null&&Eu(e,n,jh)}var p2=vu(function(e,n,o){n!=null&&typeof n.toString!="function"&&(n=Ai.call(n)),e[n]=o},qs(Rt)),g2=vu(function(e,n,o){n!=null&&typeof n.toString!="function"&&(n=Ai.call(n)),Ue.call(e,n)?e[n].push(o):e[n]=[o]},he),m2=Te(Nr);function pt(e){return kt(e)?Fl(e):ms(e)}function Tt(e){return kt(e)?Fl(e,!0):qh(e)}function v2(e,n){var o={};return n=he(n,3),an(e,function(a,c,m){gn(o,n(a,c,m),a)}),o}function y2(e,n){var o={};return n=he(n,3),an(e,function(a,c,m){gn(o,c,n(a,c,m))}),o}var b2=vr(function(e,n,o){Wi(e,n,o)}),sc=vr(function(e,n,o,a){Wi(e,n,o,a)}),x2=vn(function(e,n){var o={};if(e==null)return o;var a=!1;n=et(n,function(m){return m=Mn(m,e),a||(a=m.length>1),m}),ln(e,Rs(e),o),a&&(o=qt(o,S|E|x,pp));for(var c=n.length;c--;)_s(o,n[c]);return o});function w2(e,n){return ac(e,to(he(n)))}var _2=vn(function(e,n){return e==null?{}:Kh(e,n)});function ac(e,n){if(e==null)return{};var o=et(Rs(e),function(a){return[a]});return n=he(n),Ql(e,o,function(a,c){return n(a,c[0])})}function C2(e,n,o){n=Mn(n,e);var a=-1,c=n.length;for(c||(c=1,e=i);++a<c;){var m=e==null?i:e[un(n[a])];m===i&&(a=c,m=o),e=bn(m)?m.call(e):m}return e}function S2(e,n,o){return e==null?e:qr(e,n,o)}function E2(e,n,o,a){return a=typeof a=="function"?a:i,e==null?e:qr(e,n,o,a)}var lc=xu(pt),uc=xu(Tt);function A2(e,n,o){var a=_e(e),c=a||zn(e)||xr(e);if(n=he(n,4),o==null){var m=e&&e.constructor;c?o=a?new m:[]:rt(e)?o=bn(m)?mr(Ti(e)):{}:o={}}return(c?Vt:an)(e,function(b,w,$){return n(o,b,w,$)}),o}function $2(e,n){return e==null?!0:_s(e,n)}function k2(e,n,o){return e==null?e:ru(e,n,Es(o))}function T2(e,n,o,a){return a=typeof a=="function"?a:i,e==null?e:ru(e,n,Es(o),a)}function wr(e){return e==null?[]:rs(e,pt(e))}function R2(e){return e==null?[]:rs(e,Tt(e))}function L2(e,n,o){return o===i&&(o=n,n=i),o!==i&&(o=Xt(o),o=o===o?o:0),n!==i&&(n=Xt(n),n=n===n?n:0),Kn(Xt(e),n,o)}function O2(e,n,o){return n=xn(n),o===i?(o=n,n=0):o=xn(o),e=Xt(e),Bh(e,n,o)}function I2(e,n,o){if(o&&typeof o!="boolean"&&St(e,n,o)&&(n=o=i),o===i&&(typeof n=="boolean"?(o=n,n=i):typeof e=="boolean"&&(o=e,e=i)),e===i&&n===i?(e=0,n=1):(e=xn(e),n===i?(n=e,e=0):n=xn(n)),e>n){var a=e;e=n,n=a}if(o||e%1||n%1){var c=Il();return bt(e+c*(n-e+f1("1e-"+((c+"").length-1))),n)}return bs(e,n)}var M2=yr(function(e,n,o){return n=n.toLowerCase(),e+(o?cc(n):n)});function cc(e){return Us(Ne(e).toLowerCase())}function fc(e){return e=Ne(e),e&&e.replace(z0,S1).replace(t1,"")}function F2(e,n,o){e=Ne(e),n=jt(n);var a=e.length;o=o===i?a:Kn(Ae(o),0,a);var c=o;return o-=n.length,o>=0&&e.slice(o,c)==n}function z2(e){return e=Ne(e),e&&m0.test(e)?e.replace(Ha,E1):e}function j2(e){return e=Ne(e),e&&_0.test(e)?e.replace(Do,"\\$&"):e}var B2=yr(function(e,n,o){return e+(o?"-":"")+n.toLowerCase()}),P2=yr(function(e,n,o){return e+(o?" ":"")+n.toLowerCase()}),W2=pu("toLowerCase");function D2(e,n,o){e=Ne(e),n=Ae(n);var a=n?fr(e):0;if(!n||a>=n)return e;var c=(n-a)/2;return Ui(Ii(c),o)+e+Ui(Oi(c),o)}function H2(e,n,o){e=Ne(e),n=Ae(n);var a=n?fr(e):0;return n&&a<n?e+Ui(n-a,o):e}function Z2(e,n,o){e=Ne(e),n=Ae(n);var a=n?fr(e):0;return n&&a<n?Ui(n-a,o)+e:e}function V2(e,n,o){return o||n==null?n=0:n&&(n=+n),Y1(Ne(e).replace(Ho,""),n||0)}function N2(e,n,o){return(o?St(e,n,o):n===i)?n=1:n=Ae(n),xs(Ne(e),n)}function U2(){var e=arguments,n=Ne(e[0]);return e.length<3?n:n.replace(e[1],e[2])}var q2=yr(function(e,n,o){return e+(o?"_":"")+n.toLowerCase()});function G2(e,n,o){return o&&typeof o!="number"&&St(e,n,o)&&(n=o=i),o=o===i?ke:o>>>0,o?(e=Ne(e),e&&(typeof n=="string"||n!=null&&!Zs(n))&&(n=jt(n),!n&&cr(e))?Fn(en(e),0,o):e.split(n,o)):[]}var K2=yr(function(e,n,o){return e+(o?" ":"")+Us(n)});function X2(e,n,o){return e=Ne(e),o=o==null?0:Kn(Ae(o),0,e.length),n=jt(n),e.slice(o,o+n.length)==n}function Y2(e,n,o){var a=p.templateSettings;o&&St(e,n,o)&&(n=i),e=Ne(e),n=io({},n,a,wu);var c=io({},n.imports,a.imports,wu),m=pt(c),b=rs(c,m),w,$,P=0,W=n.interpolate||vi,U="__p += '",ne=os((n.escape||vi).source+"|"+W.source+"|"+(W===Za?R0:vi).source+"|"+(n.evaluate||vi).source+"|$","g"),ue="//# sourceURL="+(Ue.call(n,"sourceURL")?(n.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++s1+"]")+`
|
|
11
|
-
`;
|
|
12
|
-
__e(`+
|
|
13
|
-
'`),
|
|
14
|
-
`+
|
|
15
|
-
__p += '`),
|
|
16
|
-
((__t = (`+
|
|
17
|
-
'`),
|
|
18
|
-
`;var
|
|
19
|
-
`+
|
|
8
|
+
*/var nb=Ii.exports,sd;function rb(){return sd||(sd=1,function(e,n){(function(){var i,s="4.17.21",a=200,l="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",d="Expected a function",f="Invalid `variable` option passed into `_.template`",h="__lodash_hash_undefined__",p=500,b="__lodash_placeholder__",v=1,w=2,_=4,C=1,I=2,k=1,R=2,E=4,$=8,A=16,M=32,z=64,j=128,H=256,re=512,J=30,ce="...",B=800,W=16,P=1,se=2,G=3,ne=1/0,ue=9007199254740991,be=17976931348623157e292,xe=NaN,ve=4294967295,Ae=ve-1,de=ve>>>1,Se=[["ary",j],["bind",k],["bindKey",R],["curry",$],["curryRight",A],["flip",re],["partial",M],["partialRight",z],["rearg",H]],Ge="[object Arguments]",De="[object Array]",ot="[object AsyncFunction]",me="[object Boolean]",Te="[object Date]",ze="[object DOMException]",_e="[object Error]",te="[object Function]",fe="[object GeneratorFunction]",q="[object Map]",ae="[object Number]",pe="[object Null]",Re="[object Object]",$e="[object Promise]",Ye="[object Proxy]",tt="[object RegExp]",nt="[object Set]",rt="[object String]",ie="[object Symbol]",Ne="[object Undefined]",Pe="[object WeakMap]",Ve="[object WeakSet]",Ue="[object ArrayBuffer]",gt="[object DataView]",$t="[object Float32Array]",Xt="[object Float64Array]",wr="[object Int8Array]",Pn="[object Int16Array]",ti="[object Int32Array]",_r="[object Uint8Array]",ni="[object Uint8ClampedArray]",Cr="[object Uint16Array]",ri="[object Uint32Array]",bs=/\b__p \+= '';/g,Zi=/\b(__p \+=) '' \+/g,Mt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,dn=/&(?:amp|lt|gt|quot|#39);/g,Vi=/[&<>"']/g,ii=RegExp(dn.source),oi=RegExp(Vi.source),nr=/<%-([\s\S]+?)%>/g,si=/<%([\s\S]+?)%>/g,Wn=/<%=([\s\S]+?)%>/g,Ni=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ai=/^\w*$/,we=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,mt=/[\\^$.*+?()[\]{}|]/g,Ht=RegExp(mt.source),Qt=/^\s+/,Ui=/\s/,F1=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,O1=/\{\n\/\* \[wrapped with (.+)\] \*/,z1=/,? & /,L1=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,j1=/[()=,{}\[\]\/\s]/,D1=/\\(\\)?/g,P1=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ol=/\w*$/,W1=/^[-+]0x[0-9a-f]+$/i,B1=/^0b[01]+$/i,H1=/^\[object .+?Constructor\]$/,Z1=/^0o[0-7]+$/i,V1=/^(?:0|[1-9]\d*)$/,N1=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Gi=/($^)/,U1=/['\n\r\u2028\u2029\\]/g,qi="\\ud800-\\udfff",G1="\\u0300-\\u036f",q1="\\ufe20-\\ufe2f",K1="\\u20d0-\\u20ff",zl=G1+q1+K1,Ll="\\u2700-\\u27bf",jl="a-z\\xdf-\\xf6\\xf8-\\xff",Y1="\\xac\\xb1\\xd7\\xf7",X1="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Q1="\\u2000-\\u206f",J1=" \\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",Dl="A-Z\\xc0-\\xd6\\xd8-\\xde",Pl="\\ufe0e\\ufe0f",Wl=Y1+X1+Q1+J1,xs="['’]",eh="["+qi+"]",Bl="["+Wl+"]",Ki="["+zl+"]",Hl="\\d+",th="["+Ll+"]",Zl="["+jl+"]",Vl="[^"+qi+Wl+Hl+Ll+jl+Dl+"]",vs="\\ud83c[\\udffb-\\udfff]",nh="(?:"+Ki+"|"+vs+")",Nl="[^"+qi+"]",ws="(?:\\ud83c[\\udde6-\\uddff]){2}",_s="[\\ud800-\\udbff][\\udc00-\\udfff]",Sr="["+Dl+"]",Ul="\\u200d",Gl="(?:"+Zl+"|"+Vl+")",rh="(?:"+Sr+"|"+Vl+")",ql="(?:"+xs+"(?:d|ll|m|re|s|t|ve))?",Kl="(?:"+xs+"(?:D|LL|M|RE|S|T|VE))?",Yl=nh+"?",Xl="["+Pl+"]?",ih="(?:"+Ul+"(?:"+[Nl,ws,_s].join("|")+")"+Xl+Yl+")*",oh="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",sh="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ql=Xl+Yl+ih,ah="(?:"+[th,ws,_s].join("|")+")"+Ql,lh="(?:"+[Nl+Ki+"?",Ki,ws,_s,eh].join("|")+")",ch=RegExp(xs,"g"),uh=RegExp(Ki,"g"),Cs=RegExp(vs+"(?="+vs+")|"+lh+Ql,"g"),dh=RegExp([Sr+"?"+Zl+"+"+ql+"(?="+[Bl,Sr,"$"].join("|")+")",rh+"+"+Kl+"(?="+[Bl,Sr+Gl,"$"].join("|")+")",Sr+"?"+Gl+"+"+ql,Sr+"+"+Kl,sh,oh,Hl,ah].join("|"),"g"),fh=RegExp("["+Ul+qi+zl+Pl+"]"),hh=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ph=["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"],gh=-1,st={};st[$t]=st[Xt]=st[wr]=st[Pn]=st[ti]=st[_r]=st[ni]=st[Cr]=st[ri]=!0,st[Ge]=st[De]=st[Ue]=st[me]=st[gt]=st[Te]=st[_e]=st[te]=st[q]=st[ae]=st[Re]=st[tt]=st[nt]=st[rt]=st[Pe]=!1;var it={};it[Ge]=it[De]=it[Ue]=it[gt]=it[me]=it[Te]=it[$t]=it[Xt]=it[wr]=it[Pn]=it[ti]=it[q]=it[ae]=it[Re]=it[tt]=it[nt]=it[rt]=it[ie]=it[_r]=it[ni]=it[Cr]=it[ri]=!0,it[_e]=it[te]=it[Pe]=!1;var mh={À:"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"},yh={"&":"&","<":"<",">":">",'"':""","'":"'"},bh={"&":"&","<":"<",">":">",""":'"',"'":"'"},xh={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},vh=parseFloat,wh=parseInt,Jl=typeof Lo=="object"&&Lo&&Lo.Object===Object&&Lo,_h=typeof self=="object"&&self&&self.Object===Object&&self,wt=Jl||_h||Function("return this")(),Ss=n&&!n.nodeType&&n,rr=Ss&&!0&&e&&!e.nodeType&&e,ec=rr&&rr.exports===Ss,Es=ec&&Jl.process,Jt=function(){try{var F=rr&&rr.require&&rr.require("util").types;return F||Es&&Es.binding&&Es.binding("util")}catch{}}(),tc=Jt&&Jt.isArrayBuffer,nc=Jt&&Jt.isDate,rc=Jt&&Jt.isMap,ic=Jt&&Jt.isRegExp,oc=Jt&&Jt.isSet,sc=Jt&&Jt.isTypedArray;function Zt(F,Z,D){switch(D.length){case 0:return F.call(Z);case 1:return F.call(Z,D[0]);case 2:return F.call(Z,D[0],D[1]);case 3:return F.call(Z,D[0],D[1],D[2])}return F.apply(Z,D)}function Ch(F,Z,D,he){for(var Ie=-1,qe=F==null?0:F.length;++Ie<qe;){var yt=F[Ie];Z(he,yt,D(yt),F)}return he}function en(F,Z){for(var D=-1,he=F==null?0:F.length;++D<he&&Z(F[D],D,F)!==!1;);return F}function Sh(F,Z){for(var D=F==null?0:F.length;D--&&Z(F[D],D,F)!==!1;);return F}function ac(F,Z){for(var D=-1,he=F==null?0:F.length;++D<he;)if(!Z(F[D],D,F))return!1;return!0}function Bn(F,Z){for(var D=-1,he=F==null?0:F.length,Ie=0,qe=[];++D<he;){var yt=F[D];Z(yt,D,F)&&(qe[Ie++]=yt)}return qe}function Yi(F,Z){var D=F==null?0:F.length;return!!D&&Er(F,Z,0)>-1}function ks(F,Z,D){for(var he=-1,Ie=F==null?0:F.length;++he<Ie;)if(D(Z,F[he]))return!0;return!1}function at(F,Z){for(var D=-1,he=F==null?0:F.length,Ie=Array(he);++D<he;)Ie[D]=Z(F[D],D,F);return Ie}function Hn(F,Z){for(var D=-1,he=Z.length,Ie=F.length;++D<he;)F[Ie+D]=Z[D];return F}function $s(F,Z,D,he){var Ie=-1,qe=F==null?0:F.length;for(he&&qe&&(D=F[++Ie]);++Ie<qe;)D=Z(D,F[Ie],Ie,F);return D}function Eh(F,Z,D,he){var Ie=F==null?0:F.length;for(he&&Ie&&(D=F[--Ie]);Ie--;)D=Z(D,F[Ie],Ie,F);return D}function As(F,Z){for(var D=-1,he=F==null?0:F.length;++D<he;)if(Z(F[D],D,F))return!0;return!1}var kh=Ts("length");function $h(F){return F.split("")}function Ah(F){return F.match(L1)||[]}function lc(F,Z,D){var he;return D(F,function(Ie,qe,yt){if(Z(Ie,qe,yt))return he=qe,!1}),he}function Xi(F,Z,D,he){for(var Ie=F.length,qe=D+(he?1:-1);he?qe--:++qe<Ie;)if(Z(F[qe],qe,F))return qe;return-1}function Er(F,Z,D){return Z===Z?Wh(F,Z,D):Xi(F,cc,D)}function Th(F,Z,D,he){for(var Ie=D-1,qe=F.length;++Ie<qe;)if(he(F[Ie],Z))return Ie;return-1}function cc(F){return F!==F}function uc(F,Z){var D=F==null?0:F.length;return D?Is(F,Z)/D:xe}function Ts(F){return function(Z){return Z==null?i:Z[F]}}function Rs(F){return function(Z){return F==null?i:F[Z]}}function dc(F,Z,D,he,Ie){return Ie(F,function(qe,yt,et){D=he?(he=!1,qe):Z(D,qe,yt,et)}),D}function Rh(F,Z){var D=F.length;for(F.sort(Z);D--;)F[D]=F[D].value;return F}function Is(F,Z){for(var D,he=-1,Ie=F.length;++he<Ie;){var qe=Z(F[he]);qe!==i&&(D=D===i?qe:D+qe)}return D}function Ms(F,Z){for(var D=-1,he=Array(F);++D<F;)he[D]=Z(D);return he}function Ih(F,Z){return at(Z,function(D){return[D,F[D]]})}function fc(F){return F&&F.slice(0,mc(F)+1).replace(Qt,"")}function Vt(F){return function(Z){return F(Z)}}function Fs(F,Z){return at(Z,function(D){return F[D]})}function li(F,Z){return F.has(Z)}function hc(F,Z){for(var D=-1,he=F.length;++D<he&&Er(Z,F[D],0)>-1;);return D}function pc(F,Z){for(var D=F.length;D--&&Er(Z,F[D],0)>-1;);return D}function Mh(F,Z){for(var D=F.length,he=0;D--;)F[D]===Z&&++he;return he}var Fh=Rs(mh),Oh=Rs(yh);function zh(F){return"\\"+xh[F]}function Lh(F,Z){return F==null?i:F[Z]}function kr(F){return fh.test(F)}function jh(F){return hh.test(F)}function Dh(F){for(var Z,D=[];!(Z=F.next()).done;)D.push(Z.value);return D}function Os(F){var Z=-1,D=Array(F.size);return F.forEach(function(he,Ie){D[++Z]=[Ie,he]}),D}function gc(F,Z){return function(D){return F(Z(D))}}function Zn(F,Z){for(var D=-1,he=F.length,Ie=0,qe=[];++D<he;){var yt=F[D];(yt===Z||yt===b)&&(F[D]=b,qe[Ie++]=D)}return qe}function Qi(F){var Z=-1,D=Array(F.size);return F.forEach(function(he){D[++Z]=he}),D}function Ph(F){var Z=-1,D=Array(F.size);return F.forEach(function(he){D[++Z]=[he,he]}),D}function Wh(F,Z,D){for(var he=D-1,Ie=F.length;++he<Ie;)if(F[he]===Z)return he;return-1}function Bh(F,Z,D){for(var he=D+1;he--;)if(F[he]===Z)return he;return he}function $r(F){return kr(F)?Zh(F):kh(F)}function fn(F){return kr(F)?Vh(F):$h(F)}function mc(F){for(var Z=F.length;Z--&&Ui.test(F.charAt(Z)););return Z}var Hh=Rs(bh);function Zh(F){for(var Z=Cs.lastIndex=0;Cs.test(F);)++Z;return Z}function Vh(F){return F.match(Cs)||[]}function Nh(F){return F.match(dh)||[]}var Uh=function F(Z){Z=Z==null?wt:Ar.defaults(wt.Object(),Z,Ar.pick(wt,ph));var D=Z.Array,he=Z.Date,Ie=Z.Error,qe=Z.Function,yt=Z.Math,et=Z.Object,zs=Z.RegExp,Gh=Z.String,tn=Z.TypeError,Ji=D.prototype,qh=qe.prototype,Tr=et.prototype,eo=Z["__core-js_shared__"],to=qh.toString,Xe=Tr.hasOwnProperty,Kh=0,yc=function(){var t=/[^.]+$/.exec(eo&&eo.keys&&eo.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),no=Tr.toString,Yh=to.call(et),Xh=wt._,Qh=zs("^"+to.call(Xe).replace(mt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ro=ec?Z.Buffer:i,Vn=Z.Symbol,io=Z.Uint8Array,bc=ro?ro.allocUnsafe:i,oo=gc(et.getPrototypeOf,et),xc=et.create,vc=Tr.propertyIsEnumerable,so=Ji.splice,wc=Vn?Vn.isConcatSpreadable:i,ci=Vn?Vn.iterator:i,ir=Vn?Vn.toStringTag:i,ao=function(){try{var t=cr(et,"defineProperty");return t({},"",{}),t}catch{}}(),Jh=Z.clearTimeout!==wt.clearTimeout&&Z.clearTimeout,ep=he&&he.now!==wt.Date.now&&he.now,tp=Z.setTimeout!==wt.setTimeout&&Z.setTimeout,lo=yt.ceil,co=yt.floor,Ls=et.getOwnPropertySymbols,np=ro?ro.isBuffer:i,_c=Z.isFinite,rp=Ji.join,ip=gc(et.keys,et),bt=yt.max,St=yt.min,op=he.now,sp=Z.parseInt,Cc=yt.random,ap=Ji.reverse,js=cr(Z,"DataView"),ui=cr(Z,"Map"),Ds=cr(Z,"Promise"),Rr=cr(Z,"Set"),di=cr(Z,"WeakMap"),fi=cr(et,"create"),uo=di&&new di,Ir={},lp=ur(js),cp=ur(ui),up=ur(Ds),dp=ur(Rr),fp=ur(di),fo=Vn?Vn.prototype:i,hi=fo?fo.valueOf:i,Sc=fo?fo.toString:i;function y(t){if(ut(t)&&!Me(t)&&!(t instanceof Be)){if(t instanceof nn)return t;if(Xe.call(t,"__wrapped__"))return Eu(t)}return new nn(t)}var Mr=function(){function t(){}return function(r){if(!ct(r))return{};if(xc)return xc(r);t.prototype=r;var o=new t;return t.prototype=i,o}}();function ho(){}function nn(t,r){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!r,this.__index__=0,this.__values__=i}y.templateSettings={escape:nr,evaluate:si,interpolate:Wn,variable:"",imports:{_:y}},y.prototype=ho.prototype,y.prototype.constructor=y,nn.prototype=Mr(ho.prototype),nn.prototype.constructor=nn;function Be(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ve,this.__views__=[]}function hp(){var t=new Be(this.__wrapped__);return t.__actions__=Ft(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Ft(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Ft(this.__views__),t}function pp(){if(this.__filtered__){var t=new Be(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function gp(){var t=this.__wrapped__.value(),r=this.__dir__,o=Me(t),u=r<0,g=o?t.length:0,x=$g(0,g,this.__views__),S=x.start,T=x.end,O=T-S,N=u?T:S-1,U=this.__iteratees__,Y=U.length,oe=0,ge=St(O,this.__takeCount__);if(!o||!u&&g==O&&ge==O)return qc(t,this.__actions__);var Ee=[];e:for(;O--&&oe<ge;){N+=r;for(var Le=-1,ke=t[N];++Le<Y;){var We=U[Le],He=We.iteratee,Gt=We.type,Rt=He(ke);if(Gt==se)ke=Rt;else if(!Rt){if(Gt==P)continue e;break e}}Ee[oe++]=ke}return Ee}Be.prototype=Mr(ho.prototype),Be.prototype.constructor=Be;function or(t){var r=-1,o=t==null?0:t.length;for(this.clear();++r<o;){var u=t[r];this.set(u[0],u[1])}}function mp(){this.__data__=fi?fi(null):{},this.size=0}function yp(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r}function bp(t){var r=this.__data__;if(fi){var o=r[t];return o===h?i:o}return Xe.call(r,t)?r[t]:i}function xp(t){var r=this.__data__;return fi?r[t]!==i:Xe.call(r,t)}function vp(t,r){var o=this.__data__;return this.size+=this.has(t)?0:1,o[t]=fi&&r===i?h:r,this}or.prototype.clear=mp,or.prototype.delete=yp,or.prototype.get=bp,or.prototype.has=xp,or.prototype.set=vp;function Sn(t){var r=-1,o=t==null?0:t.length;for(this.clear();++r<o;){var u=t[r];this.set(u[0],u[1])}}function wp(){this.__data__=[],this.size=0}function _p(t){var r=this.__data__,o=po(r,t);if(o<0)return!1;var u=r.length-1;return o==u?r.pop():so.call(r,o,1),--this.size,!0}function Cp(t){var r=this.__data__,o=po(r,t);return o<0?i:r[o][1]}function Sp(t){return po(this.__data__,t)>-1}function Ep(t,r){var o=this.__data__,u=po(o,t);return u<0?(++this.size,o.push([t,r])):o[u][1]=r,this}Sn.prototype.clear=wp,Sn.prototype.delete=_p,Sn.prototype.get=Cp,Sn.prototype.has=Sp,Sn.prototype.set=Ep;function En(t){var r=-1,o=t==null?0:t.length;for(this.clear();++r<o;){var u=t[r];this.set(u[0],u[1])}}function kp(){this.size=0,this.__data__={hash:new or,map:new(ui||Sn),string:new or}}function $p(t){var r=ko(this,t).delete(t);return this.size-=r?1:0,r}function Ap(t){return ko(this,t).get(t)}function Tp(t){return ko(this,t).has(t)}function Rp(t,r){var o=ko(this,t),u=o.size;return o.set(t,r),this.size+=o.size==u?0:1,this}En.prototype.clear=kp,En.prototype.delete=$p,En.prototype.get=Ap,En.prototype.has=Tp,En.prototype.set=Rp;function sr(t){var r=-1,o=t==null?0:t.length;for(this.__data__=new En;++r<o;)this.add(t[r])}function Ip(t){return this.__data__.set(t,h),this}function Mp(t){return this.__data__.has(t)}sr.prototype.add=sr.prototype.push=Ip,sr.prototype.has=Mp;function hn(t){var r=this.__data__=new Sn(t);this.size=r.size}function Fp(){this.__data__=new Sn,this.size=0}function Op(t){var r=this.__data__,o=r.delete(t);return this.size=r.size,o}function zp(t){return this.__data__.get(t)}function Lp(t){return this.__data__.has(t)}function jp(t,r){var o=this.__data__;if(o instanceof Sn){var u=o.__data__;if(!ui||u.length<a-1)return u.push([t,r]),this.size=++o.size,this;o=this.__data__=new En(u)}return o.set(t,r),this.size=o.size,this}hn.prototype.clear=Fp,hn.prototype.delete=Op,hn.prototype.get=zp,hn.prototype.has=Lp,hn.prototype.set=jp;function Ec(t,r){var o=Me(t),u=!o&&dr(t),g=!o&&!u&&Kn(t),x=!o&&!u&&!g&&Lr(t),S=o||u||g||x,T=S?Ms(t.length,Gh):[],O=T.length;for(var N in t)(r||Xe.call(t,N))&&!(S&&(N=="length"||g&&(N=="offset"||N=="parent")||x&&(N=="buffer"||N=="byteLength"||N=="byteOffset")||Tn(N,O)))&&T.push(N);return T}function kc(t){var r=t.length;return r?t[Ks(0,r-1)]:i}function Dp(t,r){return $o(Ft(t),ar(r,0,t.length))}function Pp(t){return $o(Ft(t))}function Ps(t,r,o){(o!==i&&!pn(t[r],o)||o===i&&!(r in t))&&kn(t,r,o)}function pi(t,r,o){var u=t[r];(!(Xe.call(t,r)&&pn(u,o))||o===i&&!(r in t))&&kn(t,r,o)}function po(t,r){for(var o=t.length;o--;)if(pn(t[o][0],r))return o;return-1}function Wp(t,r,o,u){return Nn(t,function(g,x,S){r(u,g,o(g),S)}),u}function $c(t,r){return t&&xn(r,xt(r),t)}function Bp(t,r){return t&&xn(r,zt(r),t)}function kn(t,r,o){r=="__proto__"&&ao?ao(t,r,{configurable:!0,enumerable:!0,value:o,writable:!0}):t[r]=o}function Ws(t,r){for(var o=-1,u=r.length,g=D(u),x=t==null;++o<u;)g[o]=x?i:va(t,r[o]);return g}function ar(t,r,o){return t===t&&(o!==i&&(t=t<=o?t:o),r!==i&&(t=t>=r?t:r)),t}function rn(t,r,o,u,g,x){var S,T=r&v,O=r&w,N=r&_;if(o&&(S=g?o(t,u,g,x):o(t)),S!==i)return S;if(!ct(t))return t;var U=Me(t);if(U){if(S=Tg(t),!T)return Ft(t,S)}else{var Y=Et(t),oe=Y==te||Y==fe;if(Kn(t))return Xc(t,T);if(Y==Re||Y==Ge||oe&&!g){if(S=O||oe?{}:mu(t),!T)return O?bg(t,Bp(S,t)):yg(t,$c(S,t))}else{if(!it[Y])return g?t:{};S=Rg(t,Y,T)}}x||(x=new hn);var ge=x.get(t);if(ge)return ge;x.set(t,S),Nu(t)?t.forEach(function(ke){S.add(rn(ke,r,o,ke,t,x))}):Zu(t)&&t.forEach(function(ke,We){S.set(We,rn(ke,r,o,We,t,x))});var Ee=N?O?sa:oa:O?zt:xt,Le=U?i:Ee(t);return en(Le||t,function(ke,We){Le&&(We=ke,ke=t[We]),pi(S,We,rn(ke,r,o,We,t,x))}),S}function Hp(t){var r=xt(t);return function(o){return Ac(o,t,r)}}function Ac(t,r,o){var u=o.length;if(t==null)return!u;for(t=et(t);u--;){var g=o[u],x=r[g],S=t[g];if(S===i&&!(g in t)||!x(S))return!1}return!0}function Tc(t,r,o){if(typeof t!="function")throw new tn(d);return wi(function(){t.apply(i,o)},r)}function gi(t,r,o,u){var g=-1,x=Yi,S=!0,T=t.length,O=[],N=r.length;if(!T)return O;o&&(r=at(r,Vt(o))),u?(x=ks,S=!1):r.length>=a&&(x=li,S=!1,r=new sr(r));e:for(;++g<T;){var U=t[g],Y=o==null?U:o(U);if(U=u||U!==0?U:0,S&&Y===Y){for(var oe=N;oe--;)if(r[oe]===Y)continue e;O.push(U)}else x(r,Y,u)||O.push(U)}return O}var Nn=nu(bn),Rc=nu(Hs,!0);function Zp(t,r){var o=!0;return Nn(t,function(u,g,x){return o=!!r(u,g,x),o}),o}function go(t,r,o){for(var u=-1,g=t.length;++u<g;){var x=t[u],S=r(x);if(S!=null&&(T===i?S===S&&!Ut(S):o(S,T)))var T=S,O=x}return O}function Vp(t,r,o,u){var g=t.length;for(o=Oe(o),o<0&&(o=-o>g?0:g+o),u=u===i||u>g?g:Oe(u),u<0&&(u+=g),u=o>u?0:Gu(u);o<u;)t[o++]=r;return t}function Ic(t,r){var o=[];return Nn(t,function(u,g,x){r(u,g,x)&&o.push(u)}),o}function _t(t,r,o,u,g){var x=-1,S=t.length;for(o||(o=Mg),g||(g=[]);++x<S;){var T=t[x];r>0&&o(T)?r>1?_t(T,r-1,o,u,g):Hn(g,T):u||(g[g.length]=T)}return g}var Bs=ru(),Mc=ru(!0);function bn(t,r){return t&&Bs(t,r,xt)}function Hs(t,r){return t&&Mc(t,r,xt)}function mo(t,r){return Bn(r,function(o){return Rn(t[o])})}function lr(t,r){r=Gn(r,t);for(var o=0,u=r.length;t!=null&&o<u;)t=t[vn(r[o++])];return o&&o==u?t:i}function Fc(t,r,o){var u=r(t);return Me(t)?u:Hn(u,o(t))}function At(t){return t==null?t===i?Ne:pe:ir&&ir in et(t)?kg(t):Pg(t)}function Zs(t,r){return t>r}function Np(t,r){return t!=null&&Xe.call(t,r)}function Up(t,r){return t!=null&&r in et(t)}function Gp(t,r,o){return t>=St(r,o)&&t<bt(r,o)}function Vs(t,r,o){for(var u=o?ks:Yi,g=t[0].length,x=t.length,S=x,T=D(x),O=1/0,N=[];S--;){var U=t[S];S&&r&&(U=at(U,Vt(r))),O=St(U.length,O),T[S]=!o&&(r||g>=120&&U.length>=120)?new sr(S&&U):i}U=t[0];var Y=-1,oe=T[0];e:for(;++Y<g&&N.length<O;){var ge=U[Y],Ee=r?r(ge):ge;if(ge=o||ge!==0?ge:0,!(oe?li(oe,Ee):u(N,Ee,o))){for(S=x;--S;){var Le=T[S];if(!(Le?li(Le,Ee):u(t[S],Ee,o)))continue e}oe&&oe.push(Ee),N.push(ge)}}return N}function qp(t,r,o,u){return bn(t,function(g,x,S){r(u,o(g),x,S)}),u}function mi(t,r,o){r=Gn(r,t),t=vu(t,r);var u=t==null?t:t[vn(sn(r))];return u==null?i:Zt(u,t,o)}function Oc(t){return ut(t)&&At(t)==Ge}function Kp(t){return ut(t)&&At(t)==Ue}function Yp(t){return ut(t)&&At(t)==Te}function yi(t,r,o,u,g){return t===r?!0:t==null||r==null||!ut(t)&&!ut(r)?t!==t&&r!==r:Xp(t,r,o,u,yi,g)}function Xp(t,r,o,u,g,x){var S=Me(t),T=Me(r),O=S?De:Et(t),N=T?De:Et(r);O=O==Ge?Re:O,N=N==Ge?Re:N;var U=O==Re,Y=N==Re,oe=O==N;if(oe&&Kn(t)){if(!Kn(r))return!1;S=!0,U=!1}if(oe&&!U)return x||(x=new hn),S||Lr(t)?hu(t,r,o,u,g,x):Sg(t,r,O,o,u,g,x);if(!(o&C)){var ge=U&&Xe.call(t,"__wrapped__"),Ee=Y&&Xe.call(r,"__wrapped__");if(ge||Ee){var Le=ge?t.value():t,ke=Ee?r.value():r;return x||(x=new hn),g(Le,ke,o,u,x)}}return oe?(x||(x=new hn),Eg(t,r,o,u,g,x)):!1}function Qp(t){return ut(t)&&Et(t)==q}function Ns(t,r,o,u){var g=o.length,x=g,S=!u;if(t==null)return!x;for(t=et(t);g--;){var T=o[g];if(S&&T[2]?T[1]!==t[T[0]]:!(T[0]in t))return!1}for(;++g<x;){T=o[g];var O=T[0],N=t[O],U=T[1];if(S&&T[2]){if(N===i&&!(O in t))return!1}else{var Y=new hn;if(u)var oe=u(N,U,O,t,r,Y);if(!(oe===i?yi(U,N,C|I,u,Y):oe))return!1}}return!0}function zc(t){if(!ct(t)||Og(t))return!1;var r=Rn(t)?Qh:H1;return r.test(ur(t))}function Jp(t){return ut(t)&&At(t)==tt}function eg(t){return ut(t)&&Et(t)==nt}function tg(t){return ut(t)&&Fo(t.length)&&!!st[At(t)]}function Lc(t){return typeof t=="function"?t:t==null?Lt:typeof t=="object"?Me(t)?Pc(t[0],t[1]):Dc(t):id(t)}function Us(t){if(!vi(t))return ip(t);var r=[];for(var o in et(t))Xe.call(t,o)&&o!="constructor"&&r.push(o);return r}function ng(t){if(!ct(t))return Dg(t);var r=vi(t),o=[];for(var u in t)u=="constructor"&&(r||!Xe.call(t,u))||o.push(u);return o}function Gs(t,r){return t<r}function jc(t,r){var o=-1,u=Ot(t)?D(t.length):[];return Nn(t,function(g,x,S){u[++o]=r(g,x,S)}),u}function Dc(t){var r=la(t);return r.length==1&&r[0][2]?bu(r[0][0],r[0][1]):function(o){return o===t||Ns(o,t,r)}}function Pc(t,r){return ua(t)&&yu(r)?bu(vn(t),r):function(o){var u=va(o,t);return u===i&&u===r?wa(o,t):yi(r,u,C|I)}}function yo(t,r,o,u,g){t!==r&&Bs(r,function(x,S){if(g||(g=new hn),ct(x))rg(t,r,S,o,yo,u,g);else{var T=u?u(fa(t,S),x,S+"",t,r,g):i;T===i&&(T=x),Ps(t,S,T)}},zt)}function rg(t,r,o,u,g,x,S){var T=fa(t,o),O=fa(r,o),N=S.get(O);if(N){Ps(t,o,N);return}var U=x?x(T,O,o+"",t,r,S):i,Y=U===i;if(Y){var oe=Me(O),ge=!oe&&Kn(O),Ee=!oe&&!ge&&Lr(O);U=O,oe||ge||Ee?Me(T)?U=T:dt(T)?U=Ft(T):ge?(Y=!1,U=Xc(O,!0)):Ee?(Y=!1,U=Qc(O,!0)):U=[]:_i(O)||dr(O)?(U=T,dr(T)?U=qu(T):(!ct(T)||Rn(T))&&(U=mu(O))):Y=!1}Y&&(S.set(O,U),g(U,O,u,x,S),S.delete(O)),Ps(t,o,U)}function Wc(t,r){var o=t.length;if(o)return r+=r<0?o:0,Tn(r,o)?t[r]:i}function Bc(t,r,o){r.length?r=at(r,function(x){return Me(x)?function(S){return lr(S,x.length===1?x[0]:x)}:x}):r=[Lt];var u=-1;r=at(r,Vt(Ce()));var g=jc(t,function(x,S,T){var O=at(r,function(N){return N(x)});return{criteria:O,index:++u,value:x}});return Rh(g,function(x,S){return mg(x,S,o)})}function ig(t,r){return Hc(t,r,function(o,u){return wa(t,u)})}function Hc(t,r,o){for(var u=-1,g=r.length,x={};++u<g;){var S=r[u],T=lr(t,S);o(T,S)&&bi(x,Gn(S,t),T)}return x}function og(t){return function(r){return lr(r,t)}}function qs(t,r,o,u){var g=u?Th:Er,x=-1,S=r.length,T=t;for(t===r&&(r=Ft(r)),o&&(T=at(t,Vt(o)));++x<S;)for(var O=0,N=r[x],U=o?o(N):N;(O=g(T,U,O,u))>-1;)T!==t&&so.call(T,O,1),so.call(t,O,1);return t}function Zc(t,r){for(var o=t?r.length:0,u=o-1;o--;){var g=r[o];if(o==u||g!==x){var x=g;Tn(g)?so.call(t,g,1):Qs(t,g)}}return t}function Ks(t,r){return t+co(Cc()*(r-t+1))}function sg(t,r,o,u){for(var g=-1,x=bt(lo((r-t)/(o||1)),0),S=D(x);x--;)S[u?x:++g]=t,t+=o;return S}function Ys(t,r){var o="";if(!t||r<1||r>ue)return o;do r%2&&(o+=t),r=co(r/2),r&&(t+=t);while(r);return o}function je(t,r){return ha(xu(t,r,Lt),t+"")}function ag(t){return kc(jr(t))}function lg(t,r){var o=jr(t);return $o(o,ar(r,0,o.length))}function bi(t,r,o,u){if(!ct(t))return t;r=Gn(r,t);for(var g=-1,x=r.length,S=x-1,T=t;T!=null&&++g<x;){var O=vn(r[g]),N=o;if(O==="__proto__"||O==="constructor"||O==="prototype")return t;if(g!=S){var U=T[O];N=u?u(U,O,T):i,N===i&&(N=ct(U)?U:Tn(r[g+1])?[]:{})}pi(T,O,N),T=T[O]}return t}var Vc=uo?function(t,r){return uo.set(t,r),t}:Lt,cg=ao?function(t,r){return ao(t,"toString",{configurable:!0,enumerable:!1,value:Ca(r),writable:!0})}:Lt;function ug(t){return $o(jr(t))}function on(t,r,o){var u=-1,g=t.length;r<0&&(r=-r>g?0:g+r),o=o>g?g:o,o<0&&(o+=g),g=r>o?0:o-r>>>0,r>>>=0;for(var x=D(g);++u<g;)x[u]=t[u+r];return x}function dg(t,r){var o;return Nn(t,function(u,g,x){return o=r(u,g,x),!o}),!!o}function bo(t,r,o){var u=0,g=t==null?u:t.length;if(typeof r=="number"&&r===r&&g<=de){for(;u<g;){var x=u+g>>>1,S=t[x];S!==null&&!Ut(S)&&(o?S<=r:S<r)?u=x+1:g=x}return g}return Xs(t,r,Lt,o)}function Xs(t,r,o,u){var g=0,x=t==null?0:t.length;if(x===0)return 0;r=o(r);for(var S=r!==r,T=r===null,O=Ut(r),N=r===i;g<x;){var U=co((g+x)/2),Y=o(t[U]),oe=Y!==i,ge=Y===null,Ee=Y===Y,Le=Ut(Y);if(S)var ke=u||Ee;else N?ke=Ee&&(u||oe):T?ke=Ee&&oe&&(u||!ge):O?ke=Ee&&oe&&!ge&&(u||!Le):ge||Le?ke=!1:ke=u?Y<=r:Y<r;ke?g=U+1:x=U}return St(x,Ae)}function Nc(t,r){for(var o=-1,u=t.length,g=0,x=[];++o<u;){var S=t[o],T=r?r(S):S;if(!o||!pn(T,O)){var O=T;x[g++]=S===0?0:S}}return x}function Uc(t){return typeof t=="number"?t:Ut(t)?xe:+t}function Nt(t){if(typeof t=="string")return t;if(Me(t))return at(t,Nt)+"";if(Ut(t))return Sc?Sc.call(t):"";var r=t+"";return r=="0"&&1/t==-1/0?"-0":r}function Un(t,r,o){var u=-1,g=Yi,x=t.length,S=!0,T=[],O=T;if(o)S=!1,g=ks;else if(x>=a){var N=r?null:_g(t);if(N)return Qi(N);S=!1,g=li,O=new sr}else O=r?[]:T;e:for(;++u<x;){var U=t[u],Y=r?r(U):U;if(U=o||U!==0?U:0,S&&Y===Y){for(var oe=O.length;oe--;)if(O[oe]===Y)continue e;r&&O.push(Y),T.push(U)}else g(O,Y,o)||(O!==T&&O.push(Y),T.push(U))}return T}function Qs(t,r){return r=Gn(r,t),t=vu(t,r),t==null||delete t[vn(sn(r))]}function Gc(t,r,o,u){return bi(t,r,o(lr(t,r)),u)}function xo(t,r,o,u){for(var g=t.length,x=u?g:-1;(u?x--:++x<g)&&r(t[x],x,t););return o?on(t,u?0:x,u?x+1:g):on(t,u?x+1:0,u?g:x)}function qc(t,r){var o=t;return o instanceof Be&&(o=o.value()),$s(r,function(u,g){return g.func.apply(g.thisArg,Hn([u],g.args))},o)}function Js(t,r,o){var u=t.length;if(u<2)return u?Un(t[0]):[];for(var g=-1,x=D(u);++g<u;)for(var S=t[g],T=-1;++T<u;)T!=g&&(x[g]=gi(x[g]||S,t[T],r,o));return Un(_t(x,1),r,o)}function Kc(t,r,o){for(var u=-1,g=t.length,x=r.length,S={};++u<g;){var T=u<x?r[u]:i;o(S,t[u],T)}return S}function ea(t){return dt(t)?t:[]}function ta(t){return typeof t=="function"?t:Lt}function Gn(t,r){return Me(t)?t:ua(t,r)?[t]:Su(Ke(t))}var fg=je;function qn(t,r,o){var u=t.length;return o=o===i?u:o,!r&&o>=u?t:on(t,r,o)}var Yc=Jh||function(t){return wt.clearTimeout(t)};function Xc(t,r){if(r)return t.slice();var o=t.length,u=bc?bc(o):new t.constructor(o);return t.copy(u),u}function na(t){var r=new t.constructor(t.byteLength);return new io(r).set(new io(t)),r}function hg(t,r){var o=r?na(t.buffer):t.buffer;return new t.constructor(o,t.byteOffset,t.byteLength)}function pg(t){var r=new t.constructor(t.source,Ol.exec(t));return r.lastIndex=t.lastIndex,r}function gg(t){return hi?et(hi.call(t)):{}}function Qc(t,r){var o=r?na(t.buffer):t.buffer;return new t.constructor(o,t.byteOffset,t.length)}function Jc(t,r){if(t!==r){var o=t!==i,u=t===null,g=t===t,x=Ut(t),S=r!==i,T=r===null,O=r===r,N=Ut(r);if(!T&&!N&&!x&&t>r||x&&S&&O&&!T&&!N||u&&S&&O||!o&&O||!g)return 1;if(!u&&!x&&!N&&t<r||N&&o&&g&&!u&&!x||T&&o&&g||!S&&g||!O)return-1}return 0}function mg(t,r,o){for(var u=-1,g=t.criteria,x=r.criteria,S=g.length,T=o.length;++u<S;){var O=Jc(g[u],x[u]);if(O){if(u>=T)return O;var N=o[u];return O*(N=="desc"?-1:1)}}return t.index-r.index}function eu(t,r,o,u){for(var g=-1,x=t.length,S=o.length,T=-1,O=r.length,N=bt(x-S,0),U=D(O+N),Y=!u;++T<O;)U[T]=r[T];for(;++g<S;)(Y||g<x)&&(U[o[g]]=t[g]);for(;N--;)U[T++]=t[g++];return U}function tu(t,r,o,u){for(var g=-1,x=t.length,S=-1,T=o.length,O=-1,N=r.length,U=bt(x-T,0),Y=D(U+N),oe=!u;++g<U;)Y[g]=t[g];for(var ge=g;++O<N;)Y[ge+O]=r[O];for(;++S<T;)(oe||g<x)&&(Y[ge+o[S]]=t[g++]);return Y}function Ft(t,r){var o=-1,u=t.length;for(r||(r=D(u));++o<u;)r[o]=t[o];return r}function xn(t,r,o,u){var g=!o;o||(o={});for(var x=-1,S=r.length;++x<S;){var T=r[x],O=u?u(o[T],t[T],T,o,t):i;O===i&&(O=t[T]),g?kn(o,T,O):pi(o,T,O)}return o}function yg(t,r){return xn(t,ca(t),r)}function bg(t,r){return xn(t,pu(t),r)}function vo(t,r){return function(o,u){var g=Me(o)?Ch:Wp,x=r?r():{};return g(o,t,Ce(u,2),x)}}function Fr(t){return je(function(r,o){var u=-1,g=o.length,x=g>1?o[g-1]:i,S=g>2?o[2]:i;for(x=t.length>3&&typeof x=="function"?(g--,x):i,S&&Tt(o[0],o[1],S)&&(x=g<3?i:x,g=1),r=et(r);++u<g;){var T=o[u];T&&t(r,T,u,x)}return r})}function nu(t,r){return function(o,u){if(o==null)return o;if(!Ot(o))return t(o,u);for(var g=o.length,x=r?g:-1,S=et(o);(r?x--:++x<g)&&u(S[x],x,S)!==!1;);return o}}function ru(t){return function(r,o,u){for(var g=-1,x=et(r),S=u(r),T=S.length;T--;){var O=S[t?T:++g];if(o(x[O],O,x)===!1)break}return r}}function xg(t,r,o){var u=r&k,g=xi(t);function x(){var S=this&&this!==wt&&this instanceof x?g:t;return S.apply(u?o:this,arguments)}return x}function iu(t){return function(r){r=Ke(r);var o=kr(r)?fn(r):i,u=o?o[0]:r.charAt(0),g=o?qn(o,1).join(""):r.slice(1);return u[t]()+g}}function Or(t){return function(r){return $s(nd(td(r).replace(ch,"")),t,"")}}function xi(t){return function(){var r=arguments;switch(r.length){case 0:return new t;case 1:return new t(r[0]);case 2:return new t(r[0],r[1]);case 3:return new t(r[0],r[1],r[2]);case 4:return new t(r[0],r[1],r[2],r[3]);case 5:return new t(r[0],r[1],r[2],r[3],r[4]);case 6:return new t(r[0],r[1],r[2],r[3],r[4],r[5]);case 7:return new t(r[0],r[1],r[2],r[3],r[4],r[5],r[6])}var o=Mr(t.prototype),u=t.apply(o,r);return ct(u)?u:o}}function vg(t,r,o){var u=xi(t);function g(){for(var x=arguments.length,S=D(x),T=x,O=zr(g);T--;)S[T]=arguments[T];var N=x<3&&S[0]!==O&&S[x-1]!==O?[]:Zn(S,O);if(x-=N.length,x<o)return cu(t,r,wo,g.placeholder,i,S,N,i,i,o-x);var U=this&&this!==wt&&this instanceof g?u:t;return Zt(U,this,S)}return g}function ou(t){return function(r,o,u){var g=et(r);if(!Ot(r)){var x=Ce(o,3);r=xt(r),o=function(T){return x(g[T],T,g)}}var S=t(r,o,u);return S>-1?g[x?r[S]:S]:i}}function su(t){return An(function(r){var o=r.length,u=o,g=nn.prototype.thru;for(t&&r.reverse();u--;){var x=r[u];if(typeof x!="function")throw new tn(d);if(g&&!S&&Eo(x)=="wrapper")var S=new nn([],!0)}for(u=S?u:o;++u<o;){x=r[u];var T=Eo(x),O=T=="wrapper"?aa(x):i;O&&da(O[0])&&O[1]==(j|$|M|H)&&!O[4].length&&O[9]==1?S=S[Eo(O[0])].apply(S,O[3]):S=x.length==1&&da(x)?S[T]():S.thru(x)}return function(){var N=arguments,U=N[0];if(S&&N.length==1&&Me(U))return S.plant(U).value();for(var Y=0,oe=o?r[Y].apply(this,N):U;++Y<o;)oe=r[Y].call(this,oe);return oe}})}function wo(t,r,o,u,g,x,S,T,O,N){var U=r&j,Y=r&k,oe=r&R,ge=r&($|A),Ee=r&re,Le=oe?i:xi(t);function ke(){for(var We=arguments.length,He=D(We),Gt=We;Gt--;)He[Gt]=arguments[Gt];if(ge)var Rt=zr(ke),qt=Mh(He,Rt);if(u&&(He=eu(He,u,g,ge)),x&&(He=tu(He,x,S,ge)),We-=qt,ge&&We<N){var ft=Zn(He,Rt);return cu(t,r,wo,ke.placeholder,o,He,ft,T,O,N-We)}var gn=Y?o:this,Mn=oe?gn[t]:t;return We=He.length,T?He=Wg(He,T):Ee&&We>1&&He.reverse(),U&&O<We&&(He.length=O),this&&this!==wt&&this instanceof ke&&(Mn=Le||xi(Mn)),Mn.apply(gn,He)}return ke}function au(t,r){return function(o,u){return qp(o,t,r(u),{})}}function _o(t,r){return function(o,u){var g;if(o===i&&u===i)return r;if(o!==i&&(g=o),u!==i){if(g===i)return u;typeof o=="string"||typeof u=="string"?(o=Nt(o),u=Nt(u)):(o=Uc(o),u=Uc(u)),g=t(o,u)}return g}}function ra(t){return An(function(r){return r=at(r,Vt(Ce())),je(function(o){var u=this;return t(r,function(g){return Zt(g,u,o)})})})}function Co(t,r){r=r===i?" ":Nt(r);var o=r.length;if(o<2)return o?Ys(r,t):r;var u=Ys(r,lo(t/$r(r)));return kr(r)?qn(fn(u),0,t).join(""):u.slice(0,t)}function wg(t,r,o,u){var g=r&k,x=xi(t);function S(){for(var T=-1,O=arguments.length,N=-1,U=u.length,Y=D(U+O),oe=this&&this!==wt&&this instanceof S?x:t;++N<U;)Y[N]=u[N];for(;O--;)Y[N++]=arguments[++T];return Zt(oe,g?o:this,Y)}return S}function lu(t){return function(r,o,u){return u&&typeof u!="number"&&Tt(r,o,u)&&(o=u=i),r=In(r),o===i?(o=r,r=0):o=In(o),u=u===i?r<o?1:-1:In(u),sg(r,o,u,t)}}function So(t){return function(r,o){return typeof r=="string"&&typeof o=="string"||(r=an(r),o=an(o)),t(r,o)}}function cu(t,r,o,u,g,x,S,T,O,N){var U=r&$,Y=U?S:i,oe=U?i:S,ge=U?x:i,Ee=U?i:x;r|=U?M:z,r&=~(U?z:M),r&E||(r&=-4);var Le=[t,r,g,ge,Y,Ee,oe,T,O,N],ke=o.apply(i,Le);return da(t)&&wu(ke,Le),ke.placeholder=u,_u(ke,t,r)}function ia(t){var r=yt[t];return function(o,u){if(o=an(o),u=u==null?0:St(Oe(u),292),u&&_c(o)){var g=(Ke(o)+"e").split("e"),x=r(g[0]+"e"+(+g[1]+u));return g=(Ke(x)+"e").split("e"),+(g[0]+"e"+(+g[1]-u))}return r(o)}}var _g=Rr&&1/Qi(new Rr([,-0]))[1]==ne?function(t){return new Rr(t)}:ka;function uu(t){return function(r){var o=Et(r);return o==q?Os(r):o==nt?Ph(r):Ih(r,t(r))}}function $n(t,r,o,u,g,x,S,T){var O=r&R;if(!O&&typeof t!="function")throw new tn(d);var N=u?u.length:0;if(N||(r&=-97,u=g=i),S=S===i?S:bt(Oe(S),0),T=T===i?T:Oe(T),N-=g?g.length:0,r&z){var U=u,Y=g;u=g=i}var oe=O?i:aa(t),ge=[t,r,o,u,g,U,Y,x,S,T];if(oe&&jg(ge,oe),t=ge[0],r=ge[1],o=ge[2],u=ge[3],g=ge[4],T=ge[9]=ge[9]===i?O?0:t.length:bt(ge[9]-N,0),!T&&r&($|A)&&(r&=-25),!r||r==k)var Ee=xg(t,r,o);else r==$||r==A?Ee=vg(t,r,T):(r==M||r==(k|M))&&!g.length?Ee=wg(t,r,o,u):Ee=wo.apply(i,ge);var Le=oe?Vc:wu;return _u(Le(Ee,ge),t,r)}function du(t,r,o,u){return t===i||pn(t,Tr[o])&&!Xe.call(u,o)?r:t}function fu(t,r,o,u,g,x){return ct(t)&&ct(r)&&(x.set(r,t),yo(t,r,i,fu,x),x.delete(r)),t}function Cg(t){return _i(t)?i:t}function hu(t,r,o,u,g,x){var S=o&C,T=t.length,O=r.length;if(T!=O&&!(S&&O>T))return!1;var N=x.get(t),U=x.get(r);if(N&&U)return N==r&&U==t;var Y=-1,oe=!0,ge=o&I?new sr:i;for(x.set(t,r),x.set(r,t);++Y<T;){var Ee=t[Y],Le=r[Y];if(u)var ke=S?u(Le,Ee,Y,r,t,x):u(Ee,Le,Y,t,r,x);if(ke!==i){if(ke)continue;oe=!1;break}if(ge){if(!As(r,function(We,He){if(!li(ge,He)&&(Ee===We||g(Ee,We,o,u,x)))return ge.push(He)})){oe=!1;break}}else if(!(Ee===Le||g(Ee,Le,o,u,x))){oe=!1;break}}return x.delete(t),x.delete(r),oe}function Sg(t,r,o,u,g,x,S){switch(o){case gt:if(t.byteLength!=r.byteLength||t.byteOffset!=r.byteOffset)return!1;t=t.buffer,r=r.buffer;case Ue:return!(t.byteLength!=r.byteLength||!x(new io(t),new io(r)));case me:case Te:case ae:return pn(+t,+r);case _e:return t.name==r.name&&t.message==r.message;case tt:case rt:return t==r+"";case q:var T=Os;case nt:var O=u&C;if(T||(T=Qi),t.size!=r.size&&!O)return!1;var N=S.get(t);if(N)return N==r;u|=I,S.set(t,r);var U=hu(T(t),T(r),u,g,x,S);return S.delete(t),U;case ie:if(hi)return hi.call(t)==hi.call(r)}return!1}function Eg(t,r,o,u,g,x){var S=o&C,T=oa(t),O=T.length,N=oa(r),U=N.length;if(O!=U&&!S)return!1;for(var Y=O;Y--;){var oe=T[Y];if(!(S?oe in r:Xe.call(r,oe)))return!1}var ge=x.get(t),Ee=x.get(r);if(ge&&Ee)return ge==r&&Ee==t;var Le=!0;x.set(t,r),x.set(r,t);for(var ke=S;++Y<O;){oe=T[Y];var We=t[oe],He=r[oe];if(u)var Gt=S?u(He,We,oe,r,t,x):u(We,He,oe,t,r,x);if(!(Gt===i?We===He||g(We,He,o,u,x):Gt)){Le=!1;break}ke||(ke=oe=="constructor")}if(Le&&!ke){var Rt=t.constructor,qt=r.constructor;Rt!=qt&&"constructor"in t&&"constructor"in r&&!(typeof Rt=="function"&&Rt instanceof Rt&&typeof qt=="function"&&qt instanceof qt)&&(Le=!1)}return x.delete(t),x.delete(r),Le}function An(t){return ha(xu(t,i,Au),t+"")}function oa(t){return Fc(t,xt,ca)}function sa(t){return Fc(t,zt,pu)}var aa=uo?function(t){return uo.get(t)}:ka;function Eo(t){for(var r=t.name+"",o=Ir[r],u=Xe.call(Ir,r)?o.length:0;u--;){var g=o[u],x=g.func;if(x==null||x==t)return g.name}return r}function zr(t){var r=Xe.call(y,"placeholder")?y:t;return r.placeholder}function Ce(){var t=y.iteratee||Sa;return t=t===Sa?Lc:t,arguments.length?t(arguments[0],arguments[1]):t}function ko(t,r){var o=t.__data__;return Fg(r)?o[typeof r=="string"?"string":"hash"]:o.map}function la(t){for(var r=xt(t),o=r.length;o--;){var u=r[o],g=t[u];r[o]=[u,g,yu(g)]}return r}function cr(t,r){var o=Lh(t,r);return zc(o)?o:i}function kg(t){var r=Xe.call(t,ir),o=t[ir];try{t[ir]=i;var u=!0}catch{}var g=no.call(t);return u&&(r?t[ir]=o:delete t[ir]),g}var ca=Ls?function(t){return t==null?[]:(t=et(t),Bn(Ls(t),function(r){return vc.call(t,r)}))}:$a,pu=Ls?function(t){for(var r=[];t;)Hn(r,ca(t)),t=oo(t);return r}:$a,Et=At;(js&&Et(new js(new ArrayBuffer(1)))!=gt||ui&&Et(new ui)!=q||Ds&&Et(Ds.resolve())!=$e||Rr&&Et(new Rr)!=nt||di&&Et(new di)!=Pe)&&(Et=function(t){var r=At(t),o=r==Re?t.constructor:i,u=o?ur(o):"";if(u)switch(u){case lp:return gt;case cp:return q;case up:return $e;case dp:return nt;case fp:return Pe}return r});function $g(t,r,o){for(var u=-1,g=o.length;++u<g;){var x=o[u],S=x.size;switch(x.type){case"drop":t+=S;break;case"dropRight":r-=S;break;case"take":r=St(r,t+S);break;case"takeRight":t=bt(t,r-S);break}}return{start:t,end:r}}function Ag(t){var r=t.match(O1);return r?r[1].split(z1):[]}function gu(t,r,o){r=Gn(r,t);for(var u=-1,g=r.length,x=!1;++u<g;){var S=vn(r[u]);if(!(x=t!=null&&o(t,S)))break;t=t[S]}return x||++u!=g?x:(g=t==null?0:t.length,!!g&&Fo(g)&&Tn(S,g)&&(Me(t)||dr(t)))}function Tg(t){var r=t.length,o=new t.constructor(r);return r&&typeof t[0]=="string"&&Xe.call(t,"index")&&(o.index=t.index,o.input=t.input),o}function mu(t){return typeof t.constructor=="function"&&!vi(t)?Mr(oo(t)):{}}function Rg(t,r,o){var u=t.constructor;switch(r){case Ue:return na(t);case me:case Te:return new u(+t);case gt:return hg(t,o);case $t:case Xt:case wr:case Pn:case ti:case _r:case ni:case Cr:case ri:return Qc(t,o);case q:return new u;case ae:case rt:return new u(t);case tt:return pg(t);case nt:return new u;case ie:return gg(t)}}function Ig(t,r){var o=r.length;if(!o)return t;var u=o-1;return r[u]=(o>1?"& ":"")+r[u],r=r.join(o>2?", ":" "),t.replace(F1,`{
|
|
9
|
+
/* [wrapped with `+r+`] */
|
|
10
|
+
`)}function Mg(t){return Me(t)||dr(t)||!!(wc&&t&&t[wc])}function Tn(t,r){var o=typeof t;return r=r??ue,!!r&&(o=="number"||o!="symbol"&&V1.test(t))&&t>-1&&t%1==0&&t<r}function Tt(t,r,o){if(!ct(o))return!1;var u=typeof r;return(u=="number"?Ot(o)&&Tn(r,o.length):u=="string"&&r in o)?pn(o[r],t):!1}function ua(t,r){if(Me(t))return!1;var o=typeof t;return o=="number"||o=="symbol"||o=="boolean"||t==null||Ut(t)?!0:ai.test(t)||!Ni.test(t)||r!=null&&t in et(r)}function Fg(t){var r=typeof t;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?t!=="__proto__":t===null}function da(t){var r=Eo(t),o=y[r];if(typeof o!="function"||!(r in Be.prototype))return!1;if(t===o)return!0;var u=aa(o);return!!u&&t===u[0]}function Og(t){return!!yc&&yc in t}var zg=eo?Rn:Aa;function vi(t){var r=t&&t.constructor,o=typeof r=="function"&&r.prototype||Tr;return t===o}function yu(t){return t===t&&!ct(t)}function bu(t,r){return function(o){return o==null?!1:o[t]===r&&(r!==i||t in et(o))}}function Lg(t){var r=Io(t,function(u){return o.size===p&&o.clear(),u}),o=r.cache;return r}function jg(t,r){var o=t[1],u=r[1],g=o|u,x=g<(k|R|j),S=u==j&&o==$||u==j&&o==H&&t[7].length<=r[8]||u==(j|H)&&r[7].length<=r[8]&&o==$;if(!(x||S))return t;u&k&&(t[2]=r[2],g|=o&k?0:E);var T=r[3];if(T){var O=t[3];t[3]=O?eu(O,T,r[4]):T,t[4]=O?Zn(t[3],b):r[4]}return T=r[5],T&&(O=t[5],t[5]=O?tu(O,T,r[6]):T,t[6]=O?Zn(t[5],b):r[6]),T=r[7],T&&(t[7]=T),u&j&&(t[8]=t[8]==null?r[8]:St(t[8],r[8])),t[9]==null&&(t[9]=r[9]),t[0]=r[0],t[1]=g,t}function Dg(t){var r=[];if(t!=null)for(var o in et(t))r.push(o);return r}function Pg(t){return no.call(t)}function xu(t,r,o){return r=bt(r===i?t.length-1:r,0),function(){for(var u=arguments,g=-1,x=bt(u.length-r,0),S=D(x);++g<x;)S[g]=u[r+g];g=-1;for(var T=D(r+1);++g<r;)T[g]=u[g];return T[r]=o(S),Zt(t,this,T)}}function vu(t,r){return r.length<2?t:lr(t,on(r,0,-1))}function Wg(t,r){for(var o=t.length,u=St(r.length,o),g=Ft(t);u--;){var x=r[u];t[u]=Tn(x,o)?g[x]:i}return t}function fa(t,r){if(!(r==="constructor"&&typeof t[r]=="function")&&r!="__proto__")return t[r]}var wu=Cu(Vc),wi=tp||function(t,r){return wt.setTimeout(t,r)},ha=Cu(cg);function _u(t,r,o){var u=r+"";return ha(t,Ig(u,Bg(Ag(u),o)))}function Cu(t){var r=0,o=0;return function(){var u=op(),g=W-(u-o);if(o=u,g>0){if(++r>=B)return arguments[0]}else r=0;return t.apply(i,arguments)}}function $o(t,r){var o=-1,u=t.length,g=u-1;for(r=r===i?u:r;++o<r;){var x=Ks(o,g),S=t[x];t[x]=t[o],t[o]=S}return t.length=r,t}var Su=Lg(function(t){var r=[];return t.charCodeAt(0)===46&&r.push(""),t.replace(we,function(o,u,g,x){r.push(g?x.replace(D1,"$1"):u||o)}),r});function vn(t){if(typeof t=="string"||Ut(t))return t;var r=t+"";return r=="0"&&1/t==-1/0?"-0":r}function ur(t){if(t!=null){try{return to.call(t)}catch{}try{return t+""}catch{}}return""}function Bg(t,r){return en(Se,function(o){var u="_."+o[0];r&o[1]&&!Yi(t,u)&&t.push(u)}),t.sort()}function Eu(t){if(t instanceof Be)return t.clone();var r=new nn(t.__wrapped__,t.__chain__);return r.__actions__=Ft(t.__actions__),r.__index__=t.__index__,r.__values__=t.__values__,r}function Hg(t,r,o){(o?Tt(t,r,o):r===i)?r=1:r=bt(Oe(r),0);var u=t==null?0:t.length;if(!u||r<1)return[];for(var g=0,x=0,S=D(lo(u/r));g<u;)S[x++]=on(t,g,g+=r);return S}function Zg(t){for(var r=-1,o=t==null?0:t.length,u=0,g=[];++r<o;){var x=t[r];x&&(g[u++]=x)}return g}function Vg(){var t=arguments.length;if(!t)return[];for(var r=D(t-1),o=arguments[0],u=t;u--;)r[u-1]=arguments[u];return Hn(Me(o)?Ft(o):[o],_t(r,1))}var Ng=je(function(t,r){return dt(t)?gi(t,_t(r,1,dt,!0)):[]}),Ug=je(function(t,r){var o=sn(r);return dt(o)&&(o=i),dt(t)?gi(t,_t(r,1,dt,!0),Ce(o,2)):[]}),Gg=je(function(t,r){var o=sn(r);return dt(o)&&(o=i),dt(t)?gi(t,_t(r,1,dt,!0),i,o):[]});function qg(t,r,o){var u=t==null?0:t.length;return u?(r=o||r===i?1:Oe(r),on(t,r<0?0:r,u)):[]}function Kg(t,r,o){var u=t==null?0:t.length;return u?(r=o||r===i?1:Oe(r),r=u-r,on(t,0,r<0?0:r)):[]}function Yg(t,r){return t&&t.length?xo(t,Ce(r,3),!0,!0):[]}function Xg(t,r){return t&&t.length?xo(t,Ce(r,3),!0):[]}function Qg(t,r,o,u){var g=t==null?0:t.length;return g?(o&&typeof o!="number"&&Tt(t,r,o)&&(o=0,u=g),Vp(t,r,o,u)):[]}function ku(t,r,o){var u=t==null?0:t.length;if(!u)return-1;var g=o==null?0:Oe(o);return g<0&&(g=bt(u+g,0)),Xi(t,Ce(r,3),g)}function $u(t,r,o){var u=t==null?0:t.length;if(!u)return-1;var g=u-1;return o!==i&&(g=Oe(o),g=o<0?bt(u+g,0):St(g,u-1)),Xi(t,Ce(r,3),g,!0)}function Au(t){var r=t==null?0:t.length;return r?_t(t,1):[]}function Jg(t){var r=t==null?0:t.length;return r?_t(t,ne):[]}function em(t,r){var o=t==null?0:t.length;return o?(r=r===i?1:Oe(r),_t(t,r)):[]}function tm(t){for(var r=-1,o=t==null?0:t.length,u={};++r<o;){var g=t[r];u[g[0]]=g[1]}return u}function Tu(t){return t&&t.length?t[0]:i}function nm(t,r,o){var u=t==null?0:t.length;if(!u)return-1;var g=o==null?0:Oe(o);return g<0&&(g=bt(u+g,0)),Er(t,r,g)}function rm(t){var r=t==null?0:t.length;return r?on(t,0,-1):[]}var im=je(function(t){var r=at(t,ea);return r.length&&r[0]===t[0]?Vs(r):[]}),om=je(function(t){var r=sn(t),o=at(t,ea);return r===sn(o)?r=i:o.pop(),o.length&&o[0]===t[0]?Vs(o,Ce(r,2)):[]}),sm=je(function(t){var r=sn(t),o=at(t,ea);return r=typeof r=="function"?r:i,r&&o.pop(),o.length&&o[0]===t[0]?Vs(o,i,r):[]});function am(t,r){return t==null?"":rp.call(t,r)}function sn(t){var r=t==null?0:t.length;return r?t[r-1]:i}function lm(t,r,o){var u=t==null?0:t.length;if(!u)return-1;var g=u;return o!==i&&(g=Oe(o),g=g<0?bt(u+g,0):St(g,u-1)),r===r?Bh(t,r,g):Xi(t,cc,g,!0)}function cm(t,r){return t&&t.length?Wc(t,Oe(r)):i}var um=je(Ru);function Ru(t,r){return t&&t.length&&r&&r.length?qs(t,r):t}function dm(t,r,o){return t&&t.length&&r&&r.length?qs(t,r,Ce(o,2)):t}function fm(t,r,o){return t&&t.length&&r&&r.length?qs(t,r,i,o):t}var hm=An(function(t,r){var o=t==null?0:t.length,u=Ws(t,r);return Zc(t,at(r,function(g){return Tn(g,o)?+g:g}).sort(Jc)),u});function pm(t,r){var o=[];if(!(t&&t.length))return o;var u=-1,g=[],x=t.length;for(r=Ce(r,3);++u<x;){var S=t[u];r(S,u,t)&&(o.push(S),g.push(u))}return Zc(t,g),o}function pa(t){return t==null?t:ap.call(t)}function gm(t,r,o){var u=t==null?0:t.length;return u?(o&&typeof o!="number"&&Tt(t,r,o)?(r=0,o=u):(r=r==null?0:Oe(r),o=o===i?u:Oe(o)),on(t,r,o)):[]}function mm(t,r){return bo(t,r)}function ym(t,r,o){return Xs(t,r,Ce(o,2))}function bm(t,r){var o=t==null?0:t.length;if(o){var u=bo(t,r);if(u<o&&pn(t[u],r))return u}return-1}function xm(t,r){return bo(t,r,!0)}function vm(t,r,o){return Xs(t,r,Ce(o,2),!0)}function wm(t,r){var o=t==null?0:t.length;if(o){var u=bo(t,r,!0)-1;if(pn(t[u],r))return u}return-1}function _m(t){return t&&t.length?Nc(t):[]}function Cm(t,r){return t&&t.length?Nc(t,Ce(r,2)):[]}function Sm(t){var r=t==null?0:t.length;return r?on(t,1,r):[]}function Em(t,r,o){return t&&t.length?(r=o||r===i?1:Oe(r),on(t,0,r<0?0:r)):[]}function km(t,r,o){var u=t==null?0:t.length;return u?(r=o||r===i?1:Oe(r),r=u-r,on(t,r<0?0:r,u)):[]}function $m(t,r){return t&&t.length?xo(t,Ce(r,3),!1,!0):[]}function Am(t,r){return t&&t.length?xo(t,Ce(r,3)):[]}var Tm=je(function(t){return Un(_t(t,1,dt,!0))}),Rm=je(function(t){var r=sn(t);return dt(r)&&(r=i),Un(_t(t,1,dt,!0),Ce(r,2))}),Im=je(function(t){var r=sn(t);return r=typeof r=="function"?r:i,Un(_t(t,1,dt,!0),i,r)});function Mm(t){return t&&t.length?Un(t):[]}function Fm(t,r){return t&&t.length?Un(t,Ce(r,2)):[]}function Om(t,r){return r=typeof r=="function"?r:i,t&&t.length?Un(t,i,r):[]}function ga(t){if(!(t&&t.length))return[];var r=0;return t=Bn(t,function(o){if(dt(o))return r=bt(o.length,r),!0}),Ms(r,function(o){return at(t,Ts(o))})}function Iu(t,r){if(!(t&&t.length))return[];var o=ga(t);return r==null?o:at(o,function(u){return Zt(r,i,u)})}var zm=je(function(t,r){return dt(t)?gi(t,r):[]}),Lm=je(function(t){return Js(Bn(t,dt))}),jm=je(function(t){var r=sn(t);return dt(r)&&(r=i),Js(Bn(t,dt),Ce(r,2))}),Dm=je(function(t){var r=sn(t);return r=typeof r=="function"?r:i,Js(Bn(t,dt),i,r)}),Pm=je(ga);function Wm(t,r){return Kc(t||[],r||[],pi)}function Bm(t,r){return Kc(t||[],r||[],bi)}var Hm=je(function(t){var r=t.length,o=r>1?t[r-1]:i;return o=typeof o=="function"?(t.pop(),o):i,Iu(t,o)});function Mu(t){var r=y(t);return r.__chain__=!0,r}function Zm(t,r){return r(t),t}function Ao(t,r){return r(t)}var Vm=An(function(t){var r=t.length,o=r?t[0]:0,u=this.__wrapped__,g=function(x){return Ws(x,t)};return r>1||this.__actions__.length||!(u instanceof Be)||!Tn(o)?this.thru(g):(u=u.slice(o,+o+(r?1:0)),u.__actions__.push({func:Ao,args:[g],thisArg:i}),new nn(u,this.__chain__).thru(function(x){return r&&!x.length&&x.push(i),x}))});function Nm(){return Mu(this)}function Um(){return new nn(this.value(),this.__chain__)}function Gm(){this.__values__===i&&(this.__values__=Uu(this.value()));var t=this.__index__>=this.__values__.length,r=t?i:this.__values__[this.__index__++];return{done:t,value:r}}function qm(){return this}function Km(t){for(var r,o=this;o instanceof ho;){var u=Eu(o);u.__index__=0,u.__values__=i,r?g.__wrapped__=u:r=u;var g=u;o=o.__wrapped__}return g.__wrapped__=t,r}function Ym(){var t=this.__wrapped__;if(t instanceof Be){var r=t;return this.__actions__.length&&(r=new Be(this)),r=r.reverse(),r.__actions__.push({func:Ao,args:[pa],thisArg:i}),new nn(r,this.__chain__)}return this.thru(pa)}function Xm(){return qc(this.__wrapped__,this.__actions__)}var Qm=vo(function(t,r,o){Xe.call(t,o)?++t[o]:kn(t,o,1)});function Jm(t,r,o){var u=Me(t)?ac:Zp;return o&&Tt(t,r,o)&&(r=i),u(t,Ce(r,3))}function e2(t,r){var o=Me(t)?Bn:Ic;return o(t,Ce(r,3))}var t2=ou(ku),n2=ou($u);function r2(t,r){return _t(To(t,r),1)}function i2(t,r){return _t(To(t,r),ne)}function o2(t,r,o){return o=o===i?1:Oe(o),_t(To(t,r),o)}function Fu(t,r){var o=Me(t)?en:Nn;return o(t,Ce(r,3))}function Ou(t,r){var o=Me(t)?Sh:Rc;return o(t,Ce(r,3))}var s2=vo(function(t,r,o){Xe.call(t,o)?t[o].push(r):kn(t,o,[r])});function a2(t,r,o,u){t=Ot(t)?t:jr(t),o=o&&!u?Oe(o):0;var g=t.length;return o<0&&(o=bt(g+o,0)),Oo(t)?o<=g&&t.indexOf(r,o)>-1:!!g&&Er(t,r,o)>-1}var l2=je(function(t,r,o){var u=-1,g=typeof r=="function",x=Ot(t)?D(t.length):[];return Nn(t,function(S){x[++u]=g?Zt(r,S,o):mi(S,r,o)}),x}),c2=vo(function(t,r,o){kn(t,o,r)});function To(t,r){var o=Me(t)?at:jc;return o(t,Ce(r,3))}function u2(t,r,o,u){return t==null?[]:(Me(r)||(r=r==null?[]:[r]),o=u?i:o,Me(o)||(o=o==null?[]:[o]),Bc(t,r,o))}var d2=vo(function(t,r,o){t[o?0:1].push(r)},function(){return[[],[]]});function f2(t,r,o){var u=Me(t)?$s:dc,g=arguments.length<3;return u(t,Ce(r,4),o,g,Nn)}function h2(t,r,o){var u=Me(t)?Eh:dc,g=arguments.length<3;return u(t,Ce(r,4),o,g,Rc)}function p2(t,r){var o=Me(t)?Bn:Ic;return o(t,Mo(Ce(r,3)))}function g2(t){var r=Me(t)?kc:ag;return r(t)}function m2(t,r,o){(o?Tt(t,r,o):r===i)?r=1:r=Oe(r);var u=Me(t)?Dp:lg;return u(t,r)}function y2(t){var r=Me(t)?Pp:ug;return r(t)}function b2(t){if(t==null)return 0;if(Ot(t))return Oo(t)?$r(t):t.length;var r=Et(t);return r==q||r==nt?t.size:Us(t).length}function x2(t,r,o){var u=Me(t)?As:dg;return o&&Tt(t,r,o)&&(r=i),u(t,Ce(r,3))}var v2=je(function(t,r){if(t==null)return[];var o=r.length;return o>1&&Tt(t,r[0],r[1])?r=[]:o>2&&Tt(r[0],r[1],r[2])&&(r=[r[0]]),Bc(t,_t(r,1),[])}),Ro=ep||function(){return wt.Date.now()};function w2(t,r){if(typeof r!="function")throw new tn(d);return t=Oe(t),function(){if(--t<1)return r.apply(this,arguments)}}function zu(t,r,o){return r=o?i:r,r=t&&r==null?t.length:r,$n(t,j,i,i,i,i,r)}function Lu(t,r){var o;if(typeof r!="function")throw new tn(d);return t=Oe(t),function(){return--t>0&&(o=r.apply(this,arguments)),t<=1&&(r=i),o}}var ma=je(function(t,r,o){var u=k;if(o.length){var g=Zn(o,zr(ma));u|=M}return $n(t,u,r,o,g)}),ju=je(function(t,r,o){var u=k|R;if(o.length){var g=Zn(o,zr(ju));u|=M}return $n(r,u,t,o,g)});function Du(t,r,o){r=o?i:r;var u=$n(t,$,i,i,i,i,i,r);return u.placeholder=Du.placeholder,u}function Pu(t,r,o){r=o?i:r;var u=$n(t,A,i,i,i,i,i,r);return u.placeholder=Pu.placeholder,u}function Wu(t,r,o){var u,g,x,S,T,O,N=0,U=!1,Y=!1,oe=!0;if(typeof t!="function")throw new tn(d);r=an(r)||0,ct(o)&&(U=!!o.leading,Y="maxWait"in o,x=Y?bt(an(o.maxWait)||0,r):x,oe="trailing"in o?!!o.trailing:oe);function ge(ft){var gn=u,Mn=g;return u=g=i,N=ft,S=t.apply(Mn,gn),S}function Ee(ft){return N=ft,T=wi(We,r),U?ge(ft):S}function Le(ft){var gn=ft-O,Mn=ft-N,od=r-gn;return Y?St(od,x-Mn):od}function ke(ft){var gn=ft-O,Mn=ft-N;return O===i||gn>=r||gn<0||Y&&Mn>=x}function We(){var ft=Ro();if(ke(ft))return He(ft);T=wi(We,Le(ft))}function He(ft){return T=i,oe&&u?ge(ft):(u=g=i,S)}function Gt(){T!==i&&Yc(T),N=0,u=O=g=T=i}function Rt(){return T===i?S:He(Ro())}function qt(){var ft=Ro(),gn=ke(ft);if(u=arguments,g=this,O=ft,gn){if(T===i)return Ee(O);if(Y)return Yc(T),T=wi(We,r),ge(O)}return T===i&&(T=wi(We,r)),S}return qt.cancel=Gt,qt.flush=Rt,qt}var _2=je(function(t,r){return Tc(t,1,r)}),C2=je(function(t,r,o){return Tc(t,an(r)||0,o)});function S2(t){return $n(t,re)}function Io(t,r){if(typeof t!="function"||r!=null&&typeof r!="function")throw new tn(d);var o=function(){var u=arguments,g=r?r.apply(this,u):u[0],x=o.cache;if(x.has(g))return x.get(g);var S=t.apply(this,u);return o.cache=x.set(g,S)||x,S};return o.cache=new(Io.Cache||En),o}Io.Cache=En;function Mo(t){if(typeof t!="function")throw new tn(d);return function(){var r=arguments;switch(r.length){case 0:return!t.call(this);case 1:return!t.call(this,r[0]);case 2:return!t.call(this,r[0],r[1]);case 3:return!t.call(this,r[0],r[1],r[2])}return!t.apply(this,r)}}function E2(t){return Lu(2,t)}var k2=fg(function(t,r){r=r.length==1&&Me(r[0])?at(r[0],Vt(Ce())):at(_t(r,1),Vt(Ce()));var o=r.length;return je(function(u){for(var g=-1,x=St(u.length,o);++g<x;)u[g]=r[g].call(this,u[g]);return Zt(t,this,u)})}),ya=je(function(t,r){var o=Zn(r,zr(ya));return $n(t,M,i,r,o)}),Bu=je(function(t,r){var o=Zn(r,zr(Bu));return $n(t,z,i,r,o)}),$2=An(function(t,r){return $n(t,H,i,i,i,r)});function A2(t,r){if(typeof t!="function")throw new tn(d);return r=r===i?r:Oe(r),je(t,r)}function T2(t,r){if(typeof t!="function")throw new tn(d);return r=r==null?0:bt(Oe(r),0),je(function(o){var u=o[r],g=qn(o,0,r);return u&&Hn(g,u),Zt(t,this,g)})}function R2(t,r,o){var u=!0,g=!0;if(typeof t!="function")throw new tn(d);return ct(o)&&(u="leading"in o?!!o.leading:u,g="trailing"in o?!!o.trailing:g),Wu(t,r,{leading:u,maxWait:r,trailing:g})}function I2(t){return zu(t,1)}function M2(t,r){return ya(ta(r),t)}function F2(){if(!arguments.length)return[];var t=arguments[0];return Me(t)?t:[t]}function O2(t){return rn(t,_)}function z2(t,r){return r=typeof r=="function"?r:i,rn(t,_,r)}function L2(t){return rn(t,v|_)}function j2(t,r){return r=typeof r=="function"?r:i,rn(t,v|_,r)}function D2(t,r){return r==null||Ac(t,r,xt(r))}function pn(t,r){return t===r||t!==t&&r!==r}var P2=So(Zs),W2=So(function(t,r){return t>=r}),dr=Oc(function(){return arguments}())?Oc:function(t){return ut(t)&&Xe.call(t,"callee")&&!vc.call(t,"callee")},Me=D.isArray,B2=tc?Vt(tc):Kp;function Ot(t){return t!=null&&Fo(t.length)&&!Rn(t)}function dt(t){return ut(t)&&Ot(t)}function H2(t){return t===!0||t===!1||ut(t)&&At(t)==me}var Kn=np||Aa,Z2=nc?Vt(nc):Yp;function V2(t){return ut(t)&&t.nodeType===1&&!_i(t)}function N2(t){if(t==null)return!0;if(Ot(t)&&(Me(t)||typeof t=="string"||typeof t.splice=="function"||Kn(t)||Lr(t)||dr(t)))return!t.length;var r=Et(t);if(r==q||r==nt)return!t.size;if(vi(t))return!Us(t).length;for(var o in t)if(Xe.call(t,o))return!1;return!0}function U2(t,r){return yi(t,r)}function G2(t,r,o){o=typeof o=="function"?o:i;var u=o?o(t,r):i;return u===i?yi(t,r,i,o):!!u}function ba(t){if(!ut(t))return!1;var r=At(t);return r==_e||r==ze||typeof t.message=="string"&&typeof t.name=="string"&&!_i(t)}function q2(t){return typeof t=="number"&&_c(t)}function Rn(t){if(!ct(t))return!1;var r=At(t);return r==te||r==fe||r==ot||r==Ye}function Hu(t){return typeof t=="number"&&t==Oe(t)}function Fo(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=ue}function ct(t){var r=typeof t;return t!=null&&(r=="object"||r=="function")}function ut(t){return t!=null&&typeof t=="object"}var Zu=rc?Vt(rc):Qp;function K2(t,r){return t===r||Ns(t,r,la(r))}function Y2(t,r,o){return o=typeof o=="function"?o:i,Ns(t,r,la(r),o)}function X2(t){return Vu(t)&&t!=+t}function Q2(t){if(zg(t))throw new Ie(l);return zc(t)}function J2(t){return t===null}function e8(t){return t==null}function Vu(t){return typeof t=="number"||ut(t)&&At(t)==ae}function _i(t){if(!ut(t)||At(t)!=Re)return!1;var r=oo(t);if(r===null)return!0;var o=Xe.call(r,"constructor")&&r.constructor;return typeof o=="function"&&o instanceof o&&to.call(o)==Yh}var xa=ic?Vt(ic):Jp;function t8(t){return Hu(t)&&t>=-9007199254740991&&t<=ue}var Nu=oc?Vt(oc):eg;function Oo(t){return typeof t=="string"||!Me(t)&&ut(t)&&At(t)==rt}function Ut(t){return typeof t=="symbol"||ut(t)&&At(t)==ie}var Lr=sc?Vt(sc):tg;function n8(t){return t===i}function r8(t){return ut(t)&&Et(t)==Pe}function i8(t){return ut(t)&&At(t)==Ve}var o8=So(Gs),s8=So(function(t,r){return t<=r});function Uu(t){if(!t)return[];if(Ot(t))return Oo(t)?fn(t):Ft(t);if(ci&&t[ci])return Dh(t[ci]());var r=Et(t),o=r==q?Os:r==nt?Qi:jr;return o(t)}function In(t){if(!t)return t===0?t:0;if(t=an(t),t===ne||t===-1/0){var r=t<0?-1:1;return r*be}return t===t?t:0}function Oe(t){var r=In(t),o=r%1;return r===r?o?r-o:r:0}function Gu(t){return t?ar(Oe(t),0,ve):0}function an(t){if(typeof t=="number")return t;if(Ut(t))return xe;if(ct(t)){var r=typeof t.valueOf=="function"?t.valueOf():t;t=ct(r)?r+"":r}if(typeof t!="string")return t===0?t:+t;t=fc(t);var o=B1.test(t);return o||Z1.test(t)?wh(t.slice(2),o?2:8):W1.test(t)?xe:+t}function qu(t){return xn(t,zt(t))}function a8(t){return t?ar(Oe(t),-9007199254740991,ue):t===0?t:0}function Ke(t){return t==null?"":Nt(t)}var l8=Fr(function(t,r){if(vi(r)||Ot(r)){xn(r,xt(r),t);return}for(var o in r)Xe.call(r,o)&&pi(t,o,r[o])}),Ku=Fr(function(t,r){xn(r,zt(r),t)}),zo=Fr(function(t,r,o,u){xn(r,zt(r),t,u)}),c8=Fr(function(t,r,o,u){xn(r,xt(r),t,u)}),u8=An(Ws);function d8(t,r){var o=Mr(t);return r==null?o:$c(o,r)}var f8=je(function(t,r){t=et(t);var o=-1,u=r.length,g=u>2?r[2]:i;for(g&&Tt(r[0],r[1],g)&&(u=1);++o<u;)for(var x=r[o],S=zt(x),T=-1,O=S.length;++T<O;){var N=S[T],U=t[N];(U===i||pn(U,Tr[N])&&!Xe.call(t,N))&&(t[N]=x[N])}return t}),h8=je(function(t){return t.push(i,fu),Zt(Yu,i,t)});function p8(t,r){return lc(t,Ce(r,3),bn)}function g8(t,r){return lc(t,Ce(r,3),Hs)}function m8(t,r){return t==null?t:Bs(t,Ce(r,3),zt)}function y8(t,r){return t==null?t:Mc(t,Ce(r,3),zt)}function b8(t,r){return t&&bn(t,Ce(r,3))}function x8(t,r){return t&&Hs(t,Ce(r,3))}function v8(t){return t==null?[]:mo(t,xt(t))}function w8(t){return t==null?[]:mo(t,zt(t))}function va(t,r,o){var u=t==null?i:lr(t,r);return u===i?o:u}function _8(t,r){return t!=null&&gu(t,r,Np)}function wa(t,r){return t!=null&&gu(t,r,Up)}var C8=au(function(t,r,o){r!=null&&typeof r.toString!="function"&&(r=no.call(r)),t[r]=o},Ca(Lt)),S8=au(function(t,r,o){r!=null&&typeof r.toString!="function"&&(r=no.call(r)),Xe.call(t,r)?t[r].push(o):t[r]=[o]},Ce),E8=je(mi);function xt(t){return Ot(t)?Ec(t):Us(t)}function zt(t){return Ot(t)?Ec(t,!0):ng(t)}function k8(t,r){var o={};return r=Ce(r,3),bn(t,function(u,g,x){kn(o,r(u,g,x),u)}),o}function $8(t,r){var o={};return r=Ce(r,3),bn(t,function(u,g,x){kn(o,g,r(u,g,x))}),o}var A8=Fr(function(t,r,o){yo(t,r,o)}),Yu=Fr(function(t,r,o,u){yo(t,r,o,u)}),T8=An(function(t,r){var o={};if(t==null)return o;var u=!1;r=at(r,function(x){return x=Gn(x,t),u||(u=x.length>1),x}),xn(t,sa(t),o),u&&(o=rn(o,v|w|_,Cg));for(var g=r.length;g--;)Qs(o,r[g]);return o});function R8(t,r){return Xu(t,Mo(Ce(r)))}var I8=An(function(t,r){return t==null?{}:ig(t,r)});function Xu(t,r){if(t==null)return{};var o=at(sa(t),function(u){return[u]});return r=Ce(r),Hc(t,o,function(u,g){return r(u,g[0])})}function M8(t,r,o){r=Gn(r,t);var u=-1,g=r.length;for(g||(g=1,t=i);++u<g;){var x=t==null?i:t[vn(r[u])];x===i&&(u=g,x=o),t=Rn(x)?x.call(t):x}return t}function F8(t,r,o){return t==null?t:bi(t,r,o)}function O8(t,r,o,u){return u=typeof u=="function"?u:i,t==null?t:bi(t,r,o,u)}var Qu=uu(xt),Ju=uu(zt);function z8(t,r,o){var u=Me(t),g=u||Kn(t)||Lr(t);if(r=Ce(r,4),o==null){var x=t&&t.constructor;g?o=u?new x:[]:ct(t)?o=Rn(x)?Mr(oo(t)):{}:o={}}return(g?en:bn)(t,function(S,T,O){return r(o,S,T,O)}),o}function L8(t,r){return t==null?!0:Qs(t,r)}function j8(t,r,o){return t==null?t:Gc(t,r,ta(o))}function D8(t,r,o,u){return u=typeof u=="function"?u:i,t==null?t:Gc(t,r,ta(o),u)}function jr(t){return t==null?[]:Fs(t,xt(t))}function P8(t){return t==null?[]:Fs(t,zt(t))}function W8(t,r,o){return o===i&&(o=r,r=i),o!==i&&(o=an(o),o=o===o?o:0),r!==i&&(r=an(r),r=r===r?r:0),ar(an(t),r,o)}function B8(t,r,o){return r=In(r),o===i?(o=r,r=0):o=In(o),t=an(t),Gp(t,r,o)}function H8(t,r,o){if(o&&typeof o!="boolean"&&Tt(t,r,o)&&(r=o=i),o===i&&(typeof r=="boolean"?(o=r,r=i):typeof t=="boolean"&&(o=t,t=i)),t===i&&r===i?(t=0,r=1):(t=In(t),r===i?(r=t,t=0):r=In(r)),t>r){var u=t;t=r,r=u}if(o||t%1||r%1){var g=Cc();return St(t+g*(r-t+vh("1e-"+((g+"").length-1))),r)}return Ks(t,r)}var Z8=Or(function(t,r,o){return r=r.toLowerCase(),t+(o?ed(r):r)});function ed(t){return _a(Ke(t).toLowerCase())}function td(t){return t=Ke(t),t&&t.replace(N1,Fh).replace(uh,"")}function V8(t,r,o){t=Ke(t),r=Nt(r);var u=t.length;o=o===i?u:ar(Oe(o),0,u);var g=o;return o-=r.length,o>=0&&t.slice(o,g)==r}function N8(t){return t=Ke(t),t&&oi.test(t)?t.replace(Vi,Oh):t}function U8(t){return t=Ke(t),t&&Ht.test(t)?t.replace(mt,"\\$&"):t}var G8=Or(function(t,r,o){return t+(o?"-":"")+r.toLowerCase()}),q8=Or(function(t,r,o){return t+(o?" ":"")+r.toLowerCase()}),K8=iu("toLowerCase");function Y8(t,r,o){t=Ke(t),r=Oe(r);var u=r?$r(t):0;if(!r||u>=r)return t;var g=(r-u)/2;return Co(co(g),o)+t+Co(lo(g),o)}function X8(t,r,o){t=Ke(t),r=Oe(r);var u=r?$r(t):0;return r&&u<r?t+Co(r-u,o):t}function Q8(t,r,o){t=Ke(t),r=Oe(r);var u=r?$r(t):0;return r&&u<r?Co(r-u,o)+t:t}function J8(t,r,o){return o||r==null?r=0:r&&(r=+r),sp(Ke(t).replace(Qt,""),r||0)}function ey(t,r,o){return(o?Tt(t,r,o):r===i)?r=1:r=Oe(r),Ys(Ke(t),r)}function ty(){var t=arguments,r=Ke(t[0]);return t.length<3?r:r.replace(t[1],t[2])}var ny=Or(function(t,r,o){return t+(o?"_":"")+r.toLowerCase()});function ry(t,r,o){return o&&typeof o!="number"&&Tt(t,r,o)&&(r=o=i),o=o===i?ve:o>>>0,o?(t=Ke(t),t&&(typeof r=="string"||r!=null&&!xa(r))&&(r=Nt(r),!r&&kr(t))?qn(fn(t),0,o):t.split(r,o)):[]}var iy=Or(function(t,r,o){return t+(o?" ":"")+_a(r)});function oy(t,r,o){return t=Ke(t),o=o==null?0:ar(Oe(o),0,t.length),r=Nt(r),t.slice(o,o+r.length)==r}function sy(t,r,o){var u=y.templateSettings;o&&Tt(t,r,o)&&(r=i),t=Ke(t),r=zo({},r,u,du);var g=zo({},r.imports,u.imports,du),x=xt(g),S=Fs(g,x),T,O,N=0,U=r.interpolate||Gi,Y="__p += '",oe=zs((r.escape||Gi).source+"|"+U.source+"|"+(U===Wn?P1:Gi).source+"|"+(r.evaluate||Gi).source+"|$","g"),ge="//# sourceURL="+(Xe.call(r,"sourceURL")?(r.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++gh+"]")+`
|
|
11
|
+
`;t.replace(oe,function(ke,We,He,Gt,Rt,qt){return He||(He=Gt),Y+=t.slice(N,qt).replace(U1,zh),We&&(T=!0,Y+=`' +
|
|
12
|
+
__e(`+We+`) +
|
|
13
|
+
'`),Rt&&(O=!0,Y+=`';
|
|
14
|
+
`+Rt+`;
|
|
15
|
+
__p += '`),He&&(Y+=`' +
|
|
16
|
+
((__t = (`+He+`)) == null ? '' : __t) +
|
|
17
|
+
'`),N=qt+ke.length,ke}),Y+=`';
|
|
18
|
+
`;var Ee=Xe.call(r,"variable")&&r.variable;if(!Ee)Y=`with (obj) {
|
|
19
|
+
`+Y+`
|
|
20
20
|
}
|
|
21
|
-
`;else if(
|
|
22
|
-
`+(
|
|
23
|
-
`)+"var __t, __p = ''"+(
|
|
21
|
+
`;else if(j1.test(Ee))throw new Ie(f);Y=(O?Y.replace(bs,""):Y).replace(Zi,"$1").replace(Mt,"$1;"),Y="function("+(Ee||"obj")+`) {
|
|
22
|
+
`+(Ee?"":`obj || (obj = {});
|
|
23
|
+
`)+"var __t, __p = ''"+(T?", __e = _.escape":"")+(O?`, __j = Array.prototype.join;
|
|
24
24
|
function print() { __p += __j.call(arguments, '') }
|
|
25
25
|
`:`;
|
|
26
|
-
`)+
|
|
27
|
-
}`;var $e=hc(function(){return Ze(m,ue+"return "+U).apply(i,b)});if($e.source=U,Hs($e))throw $e;return $e}function Q2(e){return Ne(e).toLowerCase()}function J2(e){return Ne(e).toUpperCase()}function e8(e,n,o){if(e=Ne(e),e&&(o||n===i))return _l(e);if(!e||!(n=jt(n)))return e;var a=en(e),c=en(n),m=Cl(a,c),b=Sl(a,c)+1;return Fn(a,m,b).join("")}function t8(e,n,o){if(e=Ne(e),e&&(o||n===i))return e.slice(0,Al(e)+1);if(!e||!(n=jt(n)))return e;var a=en(e),c=Sl(a,en(n))+1;return Fn(a,0,c).join("")}function n8(e,n,o){if(e=Ne(e),e&&(o||n===i))return e.replace(Ho,"");if(!e||!(n=jt(n)))return e;var a=en(e),c=Cl(a,en(n));return Fn(a,c).join("")}function r8(e,n){var o=Ce,a=Me;if(rt(n)){var c="separator"in n?n.separator:c;o="length"in n?Ae(n.length):o,a="omission"in n?jt(n.omission):a}e=Ne(e);var m=e.length;if(cr(e)){var b=en(e);m=b.length}if(o>=m)return e;var w=o-fr(a);if(w<1)return a;var $=b?Fn(b,0,w).join(""):e.slice(0,w);if(c===i)return $+a;if(b&&(w+=$.length-w),Zs(c)){if(e.slice(w).search(c)){var P,W=$;for(c.global||(c=os(c.source,Ne(Va.exec(c))+"g")),c.lastIndex=0;P=c.exec(W);)var U=P.index;$=$.slice(0,U===i?w:U)}}else if(e.indexOf(jt(c),w)!=w){var ne=$.lastIndexOf(c);ne>-1&&($=$.slice(0,ne))}return $+a}function i8(e){return e=Ne(e),e&&g0.test(e)?e.replace(Da,I1):e}var o8=yr(function(e,n,o){return e+(o?" ":"")+n.toUpperCase()}),Us=pu("toUpperCase");function dc(e,n,o){return e=Ne(e),n=o?i:n,n===i?k1(e)?z1(e):b1(e):e.match(n)||[]}var hc=Te(function(e,n){try{return Ft(e,i,n)}catch(o){return Hs(o)?o:new be(o)}}),s8=vn(function(e,n){return Vt(n,function(o){o=un(o),gn(e,o,Ws(e[o],e))}),e});function a8(e){var n=e==null?0:e.length,o=he();return e=n?et(e,function(a){if(typeof a[1]!="function")throw new Nt(f);return[o(a[0]),a[1]]}):[],Te(function(a){for(var c=-1;++c<n;){var m=e[c];if(Ft(m[0],this,a))return Ft(m[1],this,a)}})}function l8(e){return Ih(qt(e,S))}function qs(e){return function(){return e}}function u8(e,n){return e==null||e!==e?n:e}var c8=mu(),f8=mu(!0);function Rt(e){return e}function Gs(e){return Ul(typeof e=="function"?e:qt(e,S))}function d8(e){return Gl(qt(e,S))}function h8(e,n){return Kl(e,qt(n,S))}var p8=Te(function(e,n){return function(o){return Nr(o,e,n)}}),g8=Te(function(e,n){return function(o){return Nr(e,o,n)}});function Ks(e,n,o){var a=pt(n),c=Pi(n,a);o==null&&!(rt(n)&&(c.length||!a.length))&&(o=n,n=e,e=this,c=Pi(n,pt(n)));var m=!(rt(o)&&"chain"in o)||!!o.chain,b=bn(e);return Vt(c,function(w){var $=n[w];e[w]=$,b&&(e.prototype[w]=function(){var P=this.__chain__;if(m||P){var W=e(this.__wrapped__),U=W.__actions__=$t(this.__actions__);return U.push({func:$,args:arguments,thisArg:e}),W.__chain__=P,W}return $.apply(e,Tn([this.value()],arguments))})}),e}function m8(){return mt._===this&&(mt._=H1),this}function Xs(){}function v8(e){return e=Ae(e),Te(function(n){return Xl(n,e)})}var y8=$s(et),b8=$s(vl),x8=$s(Qo);function pc(e){return Ms(e)?Jo(un(e)):Xh(e)}function w8(e){return function(n){return e==null?i:Xn(e,n)}}var _8=yu(),C8=yu(!0);function Ys(){return[]}function Qs(){return!1}function S8(){return{}}function E8(){return""}function A8(){return!0}function $8(e,n){if(e=Ae(e),e<1||e>ee)return[];var o=ke,a=bt(e,ke);n=he(n),e-=ke;for(var c=ns(a,n);++o<e;)n(o);return c}function k8(e){return _e(e)?et(e,un):Bt(e)?[e]:$t(Mu(Ne(e)))}function T8(e){var n=++W1;return Ne(e)+n}var R8=Ni(function(e,n){return e+n},0),L8=ks("ceil"),O8=Ni(function(e,n){return e/n},1),I8=ks("floor");function M8(e){return e&&e.length?Bi(e,Rt,hs):i}function F8(e,n){return e&&e.length?Bi(e,he(n,2),hs):i}function z8(e){return xl(e,Rt)}function j8(e,n){return xl(e,he(n,2))}function B8(e){return e&&e.length?Bi(e,Rt,vs):i}function P8(e,n){return e&&e.length?Bi(e,he(n,2),vs):i}var W8=Ni(function(e,n){return e*n},1),D8=ks("round"),H8=Ni(function(e,n){return e-n},0);function Z8(e){return e&&e.length?ts(e,Rt):0}function V8(e,n){return e&&e.length?ts(e,he(n,2)):0}return p.after=dm,p.ary=Nu,p.assign=Jm,p.assignIn=oc,p.assignInWith=io,p.assignWith=e2,p.at=t2,p.before=Uu,p.bind=Ws,p.bindAll=s8,p.bindKey=qu,p.castArray=Sm,p.chain=Hu,p.chunk=Ip,p.compact=Mp,p.concat=Fp,p.cond=a8,p.conforms=l8,p.constant=qs,p.countBy=Zg,p.create=n2,p.curry=Gu,p.curryRight=Ku,p.debounce=Xu,p.defaults=r2,p.defaultsDeep=i2,p.defer=hm,p.delay=pm,p.difference=zp,p.differenceBy=jp,p.differenceWith=Bp,p.drop=Pp,p.dropRight=Wp,p.dropRightWhile=Dp,p.dropWhile=Hp,p.fill=Zp,p.filter=Ng,p.flatMap=Gg,p.flatMapDeep=Kg,p.flatMapDepth=Xg,p.flatten=Bu,p.flattenDeep=Vp,p.flattenDepth=Np,p.flip=gm,p.flow=c8,p.flowRight=f8,p.fromPairs=Up,p.functions=f2,p.functionsIn=d2,p.groupBy=Yg,p.initial=Gp,p.intersection=Kp,p.intersectionBy=Xp,p.intersectionWith=Yp,p.invert=p2,p.invertBy=g2,p.invokeMap=Jg,p.iteratee=Gs,p.keyBy=em,p.keys=pt,p.keysIn=Tt,p.map=Qi,p.mapKeys=v2,p.mapValues=y2,p.matches=d8,p.matchesProperty=h8,p.memoize=eo,p.merge=b2,p.mergeWith=sc,p.method=p8,p.methodOf=g8,p.mixin=Ks,p.negate=to,p.nthArg=v8,p.omit=x2,p.omitBy=w2,p.once=mm,p.orderBy=tm,p.over=y8,p.overArgs=vm,p.overEvery=b8,p.overSome=x8,p.partial=Ds,p.partialRight=Yu,p.partition=nm,p.pick=_2,p.pickBy=ac,p.property=pc,p.propertyOf=w8,p.pull=tg,p.pullAll=Wu,p.pullAllBy=ng,p.pullAllWith=rg,p.pullAt=ig,p.range=_8,p.rangeRight=C8,p.rearg=ym,p.reject=om,p.remove=og,p.rest=bm,p.reverse=Bs,p.sampleSize=am,p.set=S2,p.setWith=E2,p.shuffle=lm,p.slice=sg,p.sortBy=fm,p.sortedUniq=hg,p.sortedUniqBy=pg,p.split=G2,p.spread=xm,p.tail=gg,p.take=mg,p.takeRight=vg,p.takeRightWhile=yg,p.takeWhile=bg,p.tap=Mg,p.throttle=wm,p.thru=Yi,p.toArray=nc,p.toPairs=lc,p.toPairsIn=uc,p.toPath=k8,p.toPlainObject=ic,p.transform=A2,p.unary=_m,p.union=xg,p.unionBy=wg,p.unionWith=_g,p.uniq=Cg,p.uniqBy=Sg,p.uniqWith=Eg,p.unset=$2,p.unzip=Ps,p.unzipWith=Du,p.update=k2,p.updateWith=T2,p.values=wr,p.valuesIn=R2,p.without=Ag,p.words=dc,p.wrap=Cm,p.xor=$g,p.xorBy=kg,p.xorWith=Tg,p.zip=Rg,p.zipObject=Lg,p.zipObjectDeep=Og,p.zipWith=Ig,p.entries=lc,p.entriesIn=uc,p.extend=oc,p.extendWith=io,Ks(p,p),p.add=R8,p.attempt=hc,p.camelCase=M2,p.capitalize=cc,p.ceil=L8,p.clamp=L2,p.clone=Em,p.cloneDeep=$m,p.cloneDeepWith=km,p.cloneWith=Am,p.conformsTo=Tm,p.deburr=fc,p.defaultTo=u8,p.divide=O8,p.endsWith=F2,p.eq=nn,p.escape=z2,p.escapeRegExp=j2,p.every=Vg,p.find=Ug,p.findIndex=zu,p.findKey=o2,p.findLast=qg,p.findLastIndex=ju,p.findLastKey=s2,p.floor=I8,p.forEach=Zu,p.forEachRight=Vu,p.forIn=a2,p.forInRight=l2,p.forOwn=u2,p.forOwnRight=c2,p.get=Vs,p.gt=Rm,p.gte=Lm,p.has=h2,p.hasIn=Ns,p.head=Pu,p.identity=Rt,p.includes=Qg,p.indexOf=qp,p.inRange=O2,p.invoke=m2,p.isArguments=Jn,p.isArray=_e,p.isArrayBuffer=Om,p.isArrayLike=kt,p.isArrayLikeObject=lt,p.isBoolean=Im,p.isBuffer=zn,p.isDate=Mm,p.isElement=Fm,p.isEmpty=zm,p.isEqual=jm,p.isEqualWith=Bm,p.isError=Hs,p.isFinite=Pm,p.isFunction=bn,p.isInteger=Qu,p.isLength=no,p.isMap=Ju,p.isMatch=Wm,p.isMatchWith=Dm,p.isNaN=Hm,p.isNative=Zm,p.isNil=Nm,p.isNull=Vm,p.isNumber=ec,p.isObject=rt,p.isObjectLike=st,p.isPlainObject=Yr,p.isRegExp=Zs,p.isSafeInteger=Um,p.isSet=tc,p.isString=ro,p.isSymbol=Bt,p.isTypedArray=xr,p.isUndefined=qm,p.isWeakMap=Gm,p.isWeakSet=Km,p.join=Qp,p.kebabCase=B2,p.last=Kt,p.lastIndexOf=Jp,p.lowerCase=P2,p.lowerFirst=W2,p.lt=Xm,p.lte=Ym,p.max=M8,p.maxBy=F8,p.mean=z8,p.meanBy=j8,p.min=B8,p.minBy=P8,p.stubArray=Ys,p.stubFalse=Qs,p.stubObject=S8,p.stubString=E8,p.stubTrue=A8,p.multiply=W8,p.nth=eg,p.noConflict=m8,p.noop=Xs,p.now=Ji,p.pad=D2,p.padEnd=H2,p.padStart=Z2,p.parseInt=V2,p.random=I2,p.reduce=rm,p.reduceRight=im,p.repeat=N2,p.replace=U2,p.result=C2,p.round=D8,p.runInContext=A,p.sample=sm,p.size=um,p.snakeCase=q2,p.some=cm,p.sortedIndex=ag,p.sortedIndexBy=lg,p.sortedIndexOf=ug,p.sortedLastIndex=cg,p.sortedLastIndexBy=fg,p.sortedLastIndexOf=dg,p.startCase=K2,p.startsWith=X2,p.subtract=H8,p.sum=Z8,p.sumBy=V8,p.template=Y2,p.times=$8,p.toFinite=xn,p.toInteger=Ae,p.toLength=rc,p.toLower=Q2,p.toNumber=Xt,p.toSafeInteger=Qm,p.toString=Ne,p.toUpper=J2,p.trim=e8,p.trimEnd=t8,p.trimStart=n8,p.truncate=r8,p.unescape=i8,p.uniqueId=T8,p.upperCase=o8,p.upperFirst=Us,p.each=Zu,p.eachRight=Vu,p.first=Pu,Ks(p,function(){var e={};return an(p,function(n,o){Ue.call(p.prototype,o)||(e[o]=n)}),e}(),{chain:!1}),p.VERSION=s,Vt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){p[e].placeholder=p}),Vt(["drop","take"],function(e,n){Ie.prototype[e]=function(o){o=o===i?1:dt(Ae(o),0);var a=this.__filtered__&&!n?new Ie(this):this.clone();return a.__filtered__?a.__takeCount__=bt(o,a.__takeCount__):a.__views__.push({size:bt(o,ke),type:e+(a.__dir__<0?"Right":"")}),a},Ie.prototype[e+"Right"]=function(o){return this.reverse()[e](o).reverse()}}),Vt(["filter","map","takeWhile"],function(e,n){var o=n+1,a=o==G||o==te;Ie.prototype[e]=function(c){var m=this.clone();return m.__iteratees__.push({iteratee:he(c,3),type:o}),m.__filtered__=m.__filtered__||a,m}}),Vt(["head","last"],function(e,n){var o="take"+(n?"Right":"");Ie.prototype[e]=function(){return this[o](1).value()[0]}}),Vt(["initial","tail"],function(e,n){var o="drop"+(n?"":"Right");Ie.prototype[e]=function(){return this.__filtered__?new Ie(this):this[o](1)}}),Ie.prototype.compact=function(){return this.filter(Rt)},Ie.prototype.find=function(e){return this.filter(e).head()},Ie.prototype.findLast=function(e){return this.reverse().find(e)},Ie.prototype.invokeMap=Te(function(e,n){return typeof e=="function"?new Ie(this):this.map(function(o){return Nr(o,e,n)})}),Ie.prototype.reject=function(e){return this.filter(to(he(e)))},Ie.prototype.slice=function(e,n){e=Ae(e);var o=this;return o.__filtered__&&(e>0||n<0)?new Ie(o):(e<0?o=o.takeRight(-e):e&&(o=o.drop(e)),n!==i&&(n=Ae(n),o=n<0?o.dropRight(-n):o.take(n-e)),o)},Ie.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Ie.prototype.toArray=function(){return this.take(ke)},an(Ie.prototype,function(e,n){var o=/^(?:filter|find|map|reject)|While$/.test(n),a=/^(?:head|last)$/.test(n),c=p[a?"take"+(n=="last"?"Right":""):n],m=a||/^find/.test(n);c&&(p.prototype[n]=function(){var b=this.__wrapped__,w=a?[1]:arguments,$=b instanceof Ie,P=w[0],W=$||_e(b),U=function(Le){var Fe=c.apply(p,Tn([Le],w));return a&&ne?Fe[0]:Fe};W&&o&&typeof P=="function"&&P.length!=1&&($=W=!1);var ne=this.__chain__,ue=!!this.__actions__.length,ge=m&&!ne,$e=$&&!ue;if(!m&&W){b=$e?b:new Ie(this);var me=e.apply(b,w);return me.__actions__.push({func:Yi,args:[U],thisArg:i}),new Ut(me,ne)}return ge&&$e?e.apply(this,w):(me=this.thru(U),ge?a?me.value()[0]:me.value():me)})}),Vt(["pop","push","shift","sort","splice","unshift"],function(e){var n=Ci[e],o=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",a=/^(?:pop|shift)$/.test(e);p.prototype[e]=function(){var c=arguments;if(a&&!this.__chain__){var m=this.value();return n.apply(_e(m)?m:[],c)}return this[o](function(b){return n.apply(_e(b)?b:[],c)})}}),an(Ie.prototype,function(e,n){var o=p[n];if(o){var a=o.name+"";Ue.call(gr,a)||(gr[a]=[]),gr[a].push({name:n,func:o})}}),gr[Vi(i,I).name]=[{name:"wrapper",func:i}],Ie.prototype.clone=ih,Ie.prototype.reverse=oh,Ie.prototype.value=sh,p.prototype.at=Fg,p.prototype.chain=zg,p.prototype.commit=jg,p.prototype.next=Bg,p.prototype.plant=Wg,p.prototype.reverse=Dg,p.prototype.toJSON=p.prototype.valueOf=p.prototype.value=Hg,p.prototype.first=p.prototype.head,Br&&(p.prototype[Br]=Pg),p},dr=j1();Nn?((Nn.exports=dr)._=dr,Go._=dr):mt._=dr}).call(G8)}(si,si.exports)),si.exports}var ze=K8();const wa=t=>({none:0,hairline:t*.5,thin:t,thick:t*2,heavy:t*4}),_a=t=>({none:0,xs:t*.5,sm:t,md:t*2,lg:t*3,xl:t*4,full:9999}),X8=t=>["none","hairline","thin","thick","heavy"].includes(t),kf=t=>["none","xs","sm","md","lg","xl","full"].includes(t),So={transparent:"#FFFFFF00",white:"#FFFFFF",black:"#000000",primary:"#6949FF",secondary:"#FFC107",success:"#12D18E",danger:"#F75555",warning:"#FACC15",info:"#6949FF",grey100:"#F5F5F5",grey200:"#EEEEEE",grey300:"#E0E0E0",grey400:"#BDBDBD",grey500:"#9E9E9E",grey600:"#757575",grey700:"#616161",grey800:"#424242",grey900:"#212121",primary100:"#F0EDFF",primary200:"#C3B6FF",primary300:"#A592FF",primary400:"#876DFF",primary500:"#6949FF",secondary100:"#FFF9E6",secondary200:"#FFE69C",secondary300:"#FFDA6A",secondary400:"#FFCD39",secondary500:"#FFC107",orange100:"#FFF3E0",orange200:"#FFE0B2",orange300:"#FFCC80",orange400:"#FFB74D",orange500:"#FF9800",orange600:"#FB8C00",orange700:"#F57C00",orange800:"#EF6C00",orange900:"#E65100",cyan100:"#E0F7FA",cyan200:"#B2EBF2",cyan300:"#80DEEA",cyan400:"#4DD0E1",cyan500:"#26C6DA",cyan600:"#00BCD4",cyan700:"#00ACC1",cyan800:"#0097A7",cyan900:"#006064",purple100:"#F3E5F5",purple200:"#E1BEE7",purple300:"#CE93D8",purple400:"#BA68C8",purple500:"#AB47BC",purple600:"#9C27B0",purple700:"#8E24AA",purple800:"#7B1FA2",purple900:"#6A1B9A",teal100:"#E0F2F1",teal200:"#B2DFDB",teal300:"#80CBC4",teal400:"#4DB6AC",teal500:"#26A69A",teal600:"#009688",teal700:"#00897B",teal800:"#00796B",teal900:"#004D40",lime100:"#F9FBE7",lime200:"#F0F4C3",lime300:"#E6EE9C",lime400:"#DCE775",lime500:"#CDDC39",lime600:"#C0CA33",lime700:"#AFB42B",lime800:"#9E9D24",lime900:"#827717",pink100:"#FCE4EC",pink200:"#F8BBD0",pink300:"#F48FB1",pink400:"#F06292",pink500:"#EC4899",pink600:"#E91E63",pink700:"#D81B60",pink800:"#C2185B",pink900:"#880E4F",backgroundPurple:"#F9F8FF",backgroundYellow:"#FFFCED",backgroundGreen:"#F1FDF5",backgroundBlue:"#F6F9FF",backgroundTeal:"#F2FFF8",backgroundRed:"#FFF7F8",backgroundOrange:"#FFF8ED"},Tf=t=>t in So,Rf={primary:["#543ACC","#6949FF"],secondary:["#E0A800","#FFC107"],success:["#0FB57A","#12D18E"],danger:["#E64545","#F75555"],warning:["#E1B70D","#FACC15"],info:["#543ACC","#6949FF"]},Y8=t=>["primary","secondary","success","danger","warning","info"].includes(t),Q8=1,J8=8,ev=8,tv="Inter",nv="Sora",rv=10,iv=4,$n={borderWidth:Q8,space:J8,size:ev,font:{neutral:tv,heading:nv},fontSize:rv,radius:iv},Lf=t=>({none:"none",sm:`0 1px 2px 0 ${t.grey400}40`,md:`0 4px 6px -1px ${t.grey500}40, 0 2px 4px -1px ${t.grey400}40`,lg:`0 10px 15px -3px ${t.grey600}40, 0 4px 6px -2px ${t.grey500}40`}),ov=t=>["none","sm","md","lg"].includes(t),Ca=t=>({"2xs":t*.5,xs:t,sm:t*2,"sm-md":t*2.5,md:t*4,"md-lg":t*6,lg:t*8,xl:t*16,"2xl":t*32,"3xl":t*64,"4xl":t*128}),ir=t=>["2xs","xs","sm","sm-md","md","md-lg","lg","xl","2xl","3xl","4xl"].includes(t),Sa=t=>({none:0,"2xs":t*.25,xs:t*.5,sm:t,"sm-md":t*1.5,md:t*2,"md-lg":t*2.5,lg:t*3,xl:t*4,"2xl":t*5,"3xl":t*6,"4xl":t*8,"5xl":t*10,"6xl":t*12,"7xl":t*14,"8xl":t*16,"9xl":t*18,"10xl":t*20,"-xxs":t*-.25,"-xs":t*-.5,"-sm":t*-1,"-sm-md":t*-1.5,"-md":t*-2,"-md-lg":t*-2.5,"-lg":t*-3,"-xl":t*-4,"-2xl":t*-5,"-3xl":t*-6,"-4xl":t*-8,"-5xl":t*-10,"-6xl":t*-12,"-7xl":t*-14,"-8xl":t*-16,"-9xl":t*-18,"-10xl":t*-20}),Of=t=>["none","2xs","xs","sm","sm-md","md","md-lg","lg","xl","2xl","3xl","4xl","-xxs","-xs","-sm","-sm-md","-md","-md-lg","-lg","-xl","-2xl","-3xl","-4xl"].includes(t),Ea=({neutral:t,heading:r})=>({neutral:`"${t}", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif`,heading:`"${r}", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif`}),Eo=t=>({"2xs":t*.75,xs:t,small:t*1.25,medium:t*1.5,large:t*2,xl:t*2.5,"2xl":t*3,"3xl":t*3.5,"4xl":t*4,"5xl":t*5,"6xl":t*6}),Aa=t=>{const r=Eo(t),i=1.4;return{"2xs":r["2xs"]*i,xs:r.xs*i,small:r.small*i,medium:r.medium*i,large:r.large*i,xl:r.xl*i,"2xl":r["2xl"]*i,"3xl":r["3xl"]*i,"4xl":r["4xl"]*i,"5xl":r["5xl"]*i,"6xl":r["6xl"]*i}},$a=()=>({"extra-light":100,thin:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,black:900}),sv=t=>["2xs","xs","small","medium","large","xl","2xl","3xl","4xl","5xl","6xl"].includes(t),av=t=>["extra-light","thin","light","regular","medium","semibold","bold","extrabold","black"].includes(t);class lv{constructor({baseZIndex:r=10,step:i=10}={}){_r(this,"dependencies",new Map);_r(this,"zIndexes",null);_r(this,"nodes",new Set);_r(this,"baseZIndex");_r(this,"step");this.baseZIndex=r,this.step=i}register(r,i){this.nodes.add(r),this.nodes.add(i),this.dependencies.has(r)||this.dependencies.set(r,new Set),this.dependencies.get(r).add(i),this.zIndexes=null}deregister(r,i){const s=this.dependencies.get(r);s&&s.delete(i),this.zIndexes=null}getZIndex(r){return this.zIndexes||this._calculateZIndexes(),this.zIndexes.has(r)?this.zIndexes.get(r):(console.warn(`[ZIndexRegistry] ID '${r}' not found in the calculated z-index map. Returning a fallback value. Was it ever registered?`),this.baseZIndex)}_calculateZIndexes(){const r=new Map;for(const l of this.nodes)r.set(l,0);for(const l of this.dependencies.values())for(const u of l)r.set(u,(r.get(u)||0)+1);const i=[];for(const[l,u]of r.entries())u===0&&i.push(l);const s=[];for(;i.length>0;){const l=i.shift();s.push(l);const u=this.dependencies.get(l)||new Set;for(const f of u){const h=(r.get(f)||0)-1;r.set(f,h),h===0&&i.push(f)}}if(s.length!==this.nodes.size){if(process.env.NODE_ENV!=="production")throw new Error("[ZIndexRegistry] Detected a cycle in the z-index relationships. Cannot resolve the stacking order. Please check the register() function calls.");console.warn("[ZIndexRegistry] Detected a cycle in the z-index relationships. Cannot resolve the stacking order. Please check the register() function calls.")}this.zIndexes=new Map;for(let l=0;l<s.length;l++){const u=s[l];this.zIndexes.set(u,this.baseZIndex+l*this.step)}}}const ar=new lv({baseZIndex:100,step:10}),sn={AIC_Kits_PageContent:"AIC_Kits_PageContent",AIC_Kits_Carousel:"AIC_Kits_Carousel",AIC_Kits_Dropdown:"AIC_Kits_Dropdown",AIC_Kits_Tooltip:"AIC_Kits_Tooltip",AIC_Kits_Modal:"AIC_Kits_Modal",AIC_Kits_Notification:"AIC_Kits_Notification"};ar.register(sn.AIC_Kits_PageContent,sn.AIC_Kits_Carousel);ar.register(sn.AIC_Kits_Carousel,sn.AIC_Kits_Dropdown);ar.register(sn.AIC_Kits_Dropdown,sn.AIC_Kits_Tooltip);ar.register(sn.AIC_Kits_Tooltip,sn.AIC_Kits_Modal);ar.register(sn.AIC_Kits_Modal,sn.AIC_Kits_Notification);const uv=(t=$n,r=So,i=Rf)=>{const s=Ea(t.font),l=Eo(t.fontSize),u=Aa(t.fontSize),f=$a(),h=wa(t.borderWidth),g=Sa(t.space),v=Ca(t.size),_=_a(t.radius),S=Lf(r);return{colors:r,gradientColors:i,fonts:s,fontSizes:l,lineHeights:u,fontWeights:f,borderWidths:h,spaces:g,sizes:v,radii:_,shadows:S}},If=t=>({paddingVertical:"md",paddingHorizontal:"md",borderRadius:"lg",borderColor:"grey300",borderWidth:"thin",backgroundColor:"white",gap:"md",header:{gap:"sm-md",iconSize:"sm",iconColor:"grey600",disabledOpacity:.5},animation:{duration:300,easing:"ease"}}),Mf=t=>({defaultSize:"md",defaultIconSize:"md",defaultEmojiSize:"lg",defaultBrandSize:"md",defaultImageSize:"md",defaultSvgSize:"md"}),Ff=t=>({defaultSize:"md",defaultFallbackTextSize:"medium",fallbackBackgroundColor:"grey400",sizes:{sm:{fallbackTextSize:"small"},md:{fallbackTextSize:"medium"},lg:{fallbackTextSize:"xl"}}}),zf=t=>({defaultSize:"md",defaultVariant:"default",sizes:{sm:{barSpacing:8,barRadius:2,axisColor:"grey600",gridColor:"grey200",labelColor:"grey600"},md:{barSpacing:12,barRadius:4,axisColor:"grey600",gridColor:"grey200",labelColor:"grey600"},lg:{barSpacing:16,barRadius:6,axisColor:"grey600",gridColor:"grey200",labelColor:"grey600"}},variants:{default:{defaultBarColor:"primary"},soft:{defaultBarColor:"secondary"},outlined:{defaultBarColor:"info"}}}),jf=t=>({defaultBackgroundColor:"white",defaultHeaderParams:{backgroundColor:"white"},desktopMediaQuery:"(min-width: 768px)",mobilePaddingX:"md",desktopPaddingX:"xl",desktopContentMaxWidth:"1200px"}),Bf=t=>({loadingConfig:{size:"md"},defaultColor:"primary",defaultTextColor:"white",iconSpacing:"xs",sizes:{sm:{paddingHorizontal:"sm",paddingVertical:"xs",fontSize:"xs",iconSize:"sm",borderWidth:"thin",fontWeight:"regular",iconWeight:"regular",squircleBorderRadii:{circle:"full",rounded:"md",square:"none"}},md:{paddingHorizontal:"md",paddingVertical:"sm",fontSize:"medium",iconSize:"sm-md",borderWidth:"thin",fontWeight:"regular",iconWeight:"regular",squircleBorderRadii:{circle:"full",rounded:"lg",square:"none"}},lg:{paddingHorizontal:"lg",paddingVertical:"md",fontSize:"large",iconSize:"md",borderWidth:"thick",fontWeight:"semibold",iconWeight:"bold",squircleBorderRadii:{circle:"full",rounded:"xl",square:"none"}}},variants:{solid:{},outlined:{bgColor:"transparent"},text:{bgColor:"transparent"}}}),Pf=t=>({pagination:{container:{marginTop:"md",padding:"xs",borderRadius:"full",backgroundColor:"grey100",gap:"xs"},dotSize:"2xs",inactiveColor:"grey300",activeColor:"primary",dotBorderRadius:"full"},navigation:{marginHorizontal:"md",buttonColor:"primary",buttonPadding:"sm",buttonBackgroundColor:"white",buttonBorderRadius:"full",iconSize:"sm-md"},autoScroll:{defaultSpeed:20},container:{defaultItemSpacing:"md"}}),Wf=t=>({defaultColor:"primary",defaultSize:"md",checkedBackgroundColor:"primary",uncheckedBorderColor:"grey400",disabledColor:"grey300",disabledTextColor:"grey500",focusBorderColor:"primary",iconColor:"white",textColor:"grey900",sizes:{sm:{labelFontSize:"small",labelPaddingLeft:"xs",iconSize:"xs",iconMargin:"2xs",borderRadius:"sm",borderWidth:"thin"},md:{labelFontSize:"medium",labelPaddingLeft:"sm",iconSize:"sm",iconMargin:"xs",borderRadius:"md",borderWidth:"thin"},lg:{labelFontSize:"large",labelPaddingLeft:"md",iconSize:"sm-md",iconMargin:"xs",borderRadius:"lg",borderWidth:"thin"}},animation:{duration:100,easing:"ease-out"}}),Df=t=>({defaultColor:"grey300",defaultThickness:1}),Hf=t=>{const r=`0 0 16px 4px ${t.colors.grey400}40`;return{backgroundColor:"grey100",padding:"xs",radius:"full",avatarSize:"md",loadingGap:"sm",navItem:{radius:"full",paddingX:"md",paddingY:"sm",gap:"xs",large:{gap:"sm",containerHeight:30,fontSize:"large",iconSize:28,loadingSize:"small"},medium:{gap:"xs",containerHeight:24,fontSize:"medium",iconSize:22,loadingSize:"small"},active:{fontWeight:"medium",color:"black",backgroundColor:"white",hoverBackgroundColor:"white",hoverBoxShadow:r},inactive:{fontWeight:"regular",color:"grey600",backgroundColor:"transparent",hoverBackgroundColor:"white",hoverBoxShadow:r},hover:{color:"primary"}},profileDropdown:{offset:{top:72,right:0},containerPaddingRight:"md",spacingTop:"sm",padding:"sm",gap:"sm",borderRadius:24,boxShadow:r,backgroundColor:"white",defaultMaxHeight:300,minWidth:50,animationDuration:300},navDropdown:{spacingTop:"sm",paddingX:"md-lg",paddingY:"md",gap:"sm-md",borderRadius:24,boxShadow:r,backgroundColor:"white",defaultMaxHeight:300,minWidth:50,animationDuration:300}}},Zf=t=>{const r="grey300",i="danger",s="primary",l="grey100",u="grey300",f="grey500",h="white",g="grey900",v="thin",_=`inset 0 0 0 ${t.borderWidths.thin}px ${t.colors[s]}`,S=`inset 0 0 0 ${t.borderWidths.thin}px ${t.colors[i]}`;return{borderRadius:"md",borderWidth:v,padding:{vertical:"sm",horizontal:"md"},fontSize:"medium",placeholderColor:"grey500",iconSpacing:"sm",iconSize:"sm-md",iconColor:"grey600",textColor:g,disabledTextColor:f,disabledBorderColor:u,focusColor:s,errorColor:i,states:{default:{borderColor:r,backgroundColor:h,boxShadow:"none"},focused:{borderColor:s,backgroundColor:h,boxShadow:_},error:{borderColor:i,backgroundColor:h,boxShadow:S},disabled:{borderColor:u,backgroundColor:l,boxShadow:"none"}}}},Vf=t=>({defaultSize:"md",defaultVariant:"default",sizes:{sm:{strokeWidth:1.5,dotRadius:3,axisColor:"grey600",gridColor:"grey200",labelColor:"grey600",labelFontSize:10,legendFontSize:12,legendSpacing:8},md:{strokeWidth:2,dotRadius:4,axisColor:"grey600",gridColor:"grey200",labelColor:"grey600",labelFontSize:12,legendFontSize:14,legendSpacing:12},lg:{strokeWidth:3,dotRadius:5,axisColor:"grey600",gridColor:"grey200",labelColor:"grey600",labelFontSize:14,legendFontSize:16,legendSpacing:16}},variants:{default:{defaultColors:["primary","secondary","success","warning","danger","info","purple500"]},soft:{defaultColors:["primary300","secondary300","teal300","lime400","pink400","purple400","cyan400"]},bold:{defaultColors:["primary500","secondary500","teal600","orange600","pink600","purple600","cyan600"]}}}),Nf=t=>({defaultGap:"sm",defaultPadding:"none"}),Uf=t=>({sizes:{small:"24px",medium:"36px",large:"48px"},strokeWidths:{small:"2px",medium:"3px",large:"4px"},arc:{minAngle:40,maxAngle:290},animation:{loopInterval:800,showingDuration:250,contentShowingDuration:300}}),qf=t=>({container:{sizes:{small:{gap:"xs"},medium:{gap:"sm"},large:{gap:"md"}}},item:{defaultColor:"grey900",text:{color:"black",disabledColor:"grey500"},shapes:{circular:{container:{borderRadius:"full"}},rounded:{container:{borderRadius:"md"}}},sizes:{small:{container:{size:"sm-md"},text:{fontSize:"small"},buttonSize:"sm",icon:{size:"xs",weight:"bold"}},medium:{container:{size:"md"},text:{fontSize:"medium"},buttonSize:"md",icon:{size:"sm",weight:"bold"}},large:{container:{size:"md-lg"},text:{fontSize:"large"},buttonSize:"lg",icon:{size:"sm-md",weight:"bold"}}}}}),Gf=t=>({defaultSize:"md",defaultVariant:"default",sizes:{sm:{strokeWidth:1,strokeColor:"white",labelColor:"grey700",labelFontSize:10,legendFontSize:12,legendSpacing:8},md:{strokeWidth:2,strokeColor:"white",labelColor:"grey700",labelFontSize:12,legendFontSize:14,legendSpacing:12},lg:{strokeWidth:3,strokeColor:"white",labelColor:"grey700",labelFontSize:14,legendFontSize:16,legendSpacing:16}},variants:{default:{defaultColors:["primary","secondary","success","warning","danger","info","cyan500"]},soft:{defaultColors:["primary200","secondary200","lime300","orange300","pink300","purple300","cyan300"]},outlined:{defaultColors:["primary500","secondary500","teal700","orange700","pink700","purple700","cyan700"]}}}),Kf=t=>({defaultVariant:"soft",defaultSize:"md",sizes:{sm:{height:"2xs",borderRadius:"xs"},md:{height:"xs",borderRadius:"sm"},lg:{height:"sm",borderRadius:"md"}},variants:{soft:{containerBackgroundColor:"grey100",defaultProgressColor:"primary"},outlined:{containerBackgroundColor:"white",containerBorderWidth:"thin",defaultProgressColor:"primary"},plain:{containerBackgroundColor:"white",defaultProgressColor:"primary"}}}),Xf=t=>{const r="grey300",i="danger",s="grey300",l="grey100",u="grey400",f="grey100",h="grey200",g="white",v="transparent",_="thin",S="thick";return{defaultColor:"primary",defaultSize:"md",defaultVariant:"outlined",defaultCorner:"circle",squircleBorderRadii:{circle:"999px",rounded:"8px"},labelColor:"grey700",disabledLabelColor:u,valueColor:"grey900",placeholderColor:"grey500",helperTextColor:"grey600",errorColor:i,iconColor:"grey600",disabledContentColor:u,disabledOpacity:.6,sizes:{sm:{paddingVertical:"xs",paddingHorizontal:"sm",fontSize:"small",borderWidth:"thin",iconSize:"sm",gap:"xs",dropdownPaddingVertical:"xs",dropdownPaddingHorizontal:"sm"},md:{paddingVertical:"sm",paddingHorizontal:"md",fontSize:"medium",borderWidth:"thin",iconSize:"sm-md",gap:"sm",dropdownPaddingVertical:"sm",dropdownPaddingHorizontal:"md"},lg:{paddingVertical:"md",paddingHorizontal:"lg",fontSize:"large",borderWidth:"thin",iconSize:"md",gap:"md",dropdownPaddingVertical:"md",dropdownPaddingHorizontal:"lg"}},variants:{outlined:{default:{backgroundColor:v,borderColor:r,borderWidth:_},hover:{backgroundColor:"grey100",borderColor:r,borderWidth:_},focused:{backgroundColor:v,borderColor:"primary",borderWidth:S},disabled:{backgroundColor:v,borderColor:s,borderWidth:_},errored:{backgroundColor:v,borderColor:i,borderWidth:_}},filled:{default:{backgroundColor:f,borderColor:v,borderWidth:_},hover:{backgroundColor:h,borderColor:v,borderWidth:_},focused:{backgroundColor:g,borderColor:"primary",borderWidth:S},disabled:{backgroundColor:l,borderColor:v,borderWidth:_},errored:{backgroundColor:g,borderColor:i,borderWidth:_}}},animation:{duration:200,easing:"ease-out"},dropdown:{backgroundColor:g,borderColor:r,shadow:"md",offset:"sm",zIndex:1e3,maxHeight:200,borderRadiusForCircle:"xl",borderRadiusForRounded:"md",itemTextColor:"grey900",itemSelectedTextColor:"grey900",itemHoverBackgroundColor:"grey100",itemSelectedBackgroundColor:"white",emptyTextColor:"grey500"}}},Yf=t=>({animation:{duration:1500,gradient:{start:"grey100",middle:"grey200",end:"grey100"},transition:{backgroundDuration:250,contentFadeDuration:200}},container:{rectangle:{borderRadius:"none",opacity:1},rounded:{borderRadius:"md",opacity:1},circle:{borderRadius:"full",opacity:1},transparent:{borderRadius:"none",opacity:0}}}),Qf=t=>({defaultVariant:"solid",defaultColor:"primary",defaultRadius:"full",defaultSize:"md",sizes:{sm:{paddingVertical:"2xs",paddingHorizontal:"xs",fontSize:"xs",gap:"2xs",iconSize:"xs"},md:{paddingVertical:"xs",paddingHorizontal:"sm",fontSize:"small",gap:"xs",iconSize:"sm"},lg:{paddingVertical:"sm",paddingHorizontal:"md",fontSize:"medium",gap:"sm",iconSize:"sm-md"}}}),Jf=t=>{const r="sm";return{defaultBackgroundColor:"grey800",defaultTextColor:"white",defaultPlacement:"bottom",container:{padding:"sm",borderRadius:"md",shadow:"md",zIndex:9999,maxWidth:"300px"},text:{fontSize:"small"},positioning:{spacing:r,placements:{top:{bottom:"100%",left:"50%",transform:"translateX(-50%)",mb:r},bottom:{top:"100%",left:"50%",transform:"translateX(-50%)",mt:r},left:{top:"50%",right:"100%",transform:"translateY(-50%)",mr:r},right:{top:"50%",left:"100%",transform:"translateY(-50%)",ml:r}}}}},ed=t=>({animation:{minScale:.92,maxScale:1,minOpacity:.7,maxOpacity:1,springConfig:{mass:.5}}}),td=t=>({defaultAccentColor:"#00adef",aspectRatio:56.25,playerSettings:{autoplay:!1,muted:!1,loop:!1,title:!1,byline:!1,portrait:!1,controls:!0}}),nd=t=>({art:Mf(),base:jf(),button:Bf(),divider:Df(),header:Hf(t),input:Zf(t),list:Nf(),loading:Uf(),pagination:qf(),skeleton:Yf(),touchable:ed(),vimeo:td(),carousel:Pf(),accordion:If(),tag:Qf(),checkbox:Wf(),select:Xf(),progress:Kf(),avatar:Ff(),tooltip:Jf(),barChart:zf(),pieChart:Gf(),lineChart:Vf()}),cv=Sa($n.space),fv=Ca($n.size),dv=wa($n.borderWidth),hv=_a($n.radius),pv=Eo($n.fontSize),gv=Aa($n.fontSize),mv=$a(),vc=Ea($n.font),vv={spaces:cv,sizes:fv,colors:So,radii:hv,borderWidths:dv,fonts:vc,zIndex:ar,__hd__:{text:{fontSizes:pv,lineHeights:gv,fontWeights:mv,fonts:vc}}};function rd(){const t=vv,r=nd(t);return{...t,__hd__:{...t.__hd__,...r}}}const po=rd(),ae=Dn.styled,Hn=Dn.keyframes,at=Dn.css,id=(t,r)=>!["theme","themeFontSize","themeFontWeight","themeTypeface","themePosition","color","bg","bgColor","backgroundColor","opacity","margin","m","marginTop","mt","marginRight","mr","marginBottom","mb","marginLeft","ml","marginX","mx","marginY","my","padding","p","paddingTop","pt","paddingRight","pr","paddingBottom","pb","paddingLeft","pl","paddingX","px","paddingY","py","gap","borderRadius","r","radius","borderBottomLeftRadius","bbl","borderBottomRightRadius","bbr","borderTopLeftRadius","btl","borderTopRightRadius","btr","borderWidth","b","borderBottomWidth","bb","borderTopWidth","bt","borderLeftWidth","bl","borderRightWidth","br","borderColor","bc","borderBottomColor","bb","borderTopColor","bt","borderLeftColor","bl","borderRightColor","br","fontSize","fontWeight","lineHeight","letterSpacing","textAlign","fontStyle","textTransform","textDecoration","themeColor","useRichText","width","height","minWidth","maxWidth","minHeight","maxHeight","display","alignItems","alignContent","justifyContent","flexWrap","flexDirection","flex","flexGrow","flexShrink","flexBasis","alignSelf","position","top","right","bottom","left","overflow","cursor","transition","transform","animation","willChange","pointerEvents","userSelect","resize","boxShadow","textShadow","filter","backdropFilter","mixBlendMode","isolation","zIndex","marginInline","marginBlock","paddingInline","paddingBlock","whiteSpace","textOverflow","overflowY","overflowX","fullWidth","fullHeight","fw","fh","absoluteFill"].includes(t),yv=t=>typeof t=="function"?t(po):t?{...po,...t}:po,bv=({theme:t,children:r})=>{const i=yv(t);return y.jsx(Dn.StyleSheetManager,{shouldForwardProp:id,children:y.jsx(Dn.ThemeProvider,{theme:i,children:r})})},xe=Dn.useTheme,yt=()=>typeof document>"u",pi={xs:0,sm:600,md:900,lg:1200,xl:1536},ui=Object.keys(pi),Ao=t=>ze.isObject(t)&&("xs"in t||"sm"in t||"md"in t||"lg"in t||"xl"in t),Dt=(t,r)=>Ao(t)?Object.fromEntries(Object.entries(t).map(([i,s])=>[i,r(s)])):r(t),da=t=>ze.reduce(t,(r,i,s)=>(ze.forEach(i,(l,u)=>{ze.has(r,u)||ze.set(r,u,{}),ze.set(r,[u,s],l)}),r),{}),od=(t,r)=>{const i=Object.fromEntries(Object.keys(t).map(h=>[h,ka(t[h])])),s=da(i),l=Object.fromEntries(ui.map(h=>[h,r(s[h])])),u=da(l);return Object.fromEntries(Object.entries(u).map(([h,g])=>[h,ad(g)]))},sd=(t,r)=>{if(!Ao(t))return t;switch(r){case"xs":return t.xs??t.sm??t.md??t.lg??t.xl;case"sm":return t.sm??t.xs??t.md??t.lg??t.xl;case"md":return t.md??t.sm??t.xs??t.lg??t.xl;case"lg":return t.lg??t.md??t.sm??t.xs??t.xl;case"xl":return t.xl??t.lg??t.md??t.sm??t.xs}},ka=t=>Object.fromEntries(Object.keys(pi).map(r=>[r,sd(t,r)])),ad=t=>{let r=t.xs;const i={xs:r};for(let s=1;s<ui.length;s++){const l=ui[s],u=t[l];ze.isEqual(u,r)||(i[l]=u,r=u)}return Object.keys(i).length===1?i.xs:i},Mr=t=>{const[r,i]=ze.partition(Object.entries(t),([u,f])=>Ao(f)),s=Object.fromEntries(r.map(([u,f])=>[u,ka(f)])),l=ze.compact(ui.map(u=>{const f=Object.fromEntries(Object.keys(s).map(g=>[g,s[g][u]]));if(u==="xs"){const g={...Object.fromEntries(i),...f};return ze.isEmpty(g)?null:at(g)}if(ze.isEmpty(f))return null;const h=`(min-width: ${pi[u]}px)`;return at`
|
|
28
|
-
@media ${
|
|
29
|
-
${
|
|
26
|
+
`)+Y+`return __p
|
|
27
|
+
}`;var Le=rd(function(){return qe(x,ge+"return "+Y).apply(i,S)});if(Le.source=Y,ba(Le))throw Le;return Le}function ay(t){return Ke(t).toLowerCase()}function ly(t){return Ke(t).toUpperCase()}function cy(t,r,o){if(t=Ke(t),t&&(o||r===i))return fc(t);if(!t||!(r=Nt(r)))return t;var u=fn(t),g=fn(r),x=hc(u,g),S=pc(u,g)+1;return qn(u,x,S).join("")}function uy(t,r,o){if(t=Ke(t),t&&(o||r===i))return t.slice(0,mc(t)+1);if(!t||!(r=Nt(r)))return t;var u=fn(t),g=pc(u,fn(r))+1;return qn(u,0,g).join("")}function dy(t,r,o){if(t=Ke(t),t&&(o||r===i))return t.replace(Qt,"");if(!t||!(r=Nt(r)))return t;var u=fn(t),g=hc(u,fn(r));return qn(u,g).join("")}function fy(t,r){var o=J,u=ce;if(ct(r)){var g="separator"in r?r.separator:g;o="length"in r?Oe(r.length):o,u="omission"in r?Nt(r.omission):u}t=Ke(t);var x=t.length;if(kr(t)){var S=fn(t);x=S.length}if(o>=x)return t;var T=o-$r(u);if(T<1)return u;var O=S?qn(S,0,T).join(""):t.slice(0,T);if(g===i)return O+u;if(S&&(T+=O.length-T),xa(g)){if(t.slice(T).search(g)){var N,U=O;for(g.global||(g=zs(g.source,Ke(Ol.exec(g))+"g")),g.lastIndex=0;N=g.exec(U);)var Y=N.index;O=O.slice(0,Y===i?T:Y)}}else if(t.indexOf(Nt(g),T)!=T){var oe=O.lastIndexOf(g);oe>-1&&(O=O.slice(0,oe))}return O+u}function hy(t){return t=Ke(t),t&&ii.test(t)?t.replace(dn,Hh):t}var py=Or(function(t,r,o){return t+(o?" ":"")+r.toUpperCase()}),_a=iu("toUpperCase");function nd(t,r,o){return t=Ke(t),r=o?i:r,r===i?jh(t)?Nh(t):Ah(t):t.match(r)||[]}var rd=je(function(t,r){try{return Zt(t,i,r)}catch(o){return ba(o)?o:new Ie(o)}}),gy=An(function(t,r){return en(r,function(o){o=vn(o),kn(t,o,ma(t[o],t))}),t});function my(t){var r=t==null?0:t.length,o=Ce();return t=r?at(t,function(u){if(typeof u[1]!="function")throw new tn(d);return[o(u[0]),u[1]]}):[],je(function(u){for(var g=-1;++g<r;){var x=t[g];if(Zt(x[0],this,u))return Zt(x[1],this,u)}})}function yy(t){return Hp(rn(t,v))}function Ca(t){return function(){return t}}function by(t,r){return t==null||t!==t?r:t}var xy=su(),vy=su(!0);function Lt(t){return t}function Sa(t){return Lc(typeof t=="function"?t:rn(t,v))}function wy(t){return Dc(rn(t,v))}function _y(t,r){return Pc(t,rn(r,v))}var Cy=je(function(t,r){return function(o){return mi(o,t,r)}}),Sy=je(function(t,r){return function(o){return mi(t,o,r)}});function Ea(t,r,o){var u=xt(r),g=mo(r,u);o==null&&!(ct(r)&&(g.length||!u.length))&&(o=r,r=t,t=this,g=mo(r,xt(r)));var x=!(ct(o)&&"chain"in o)||!!o.chain,S=Rn(t);return en(g,function(T){var O=r[T];t[T]=O,S&&(t.prototype[T]=function(){var N=this.__chain__;if(x||N){var U=t(this.__wrapped__),Y=U.__actions__=Ft(this.__actions__);return Y.push({func:O,args:arguments,thisArg:t}),U.__chain__=N,U}return O.apply(t,Hn([this.value()],arguments))})}),t}function Ey(){return wt._===this&&(wt._=Xh),this}function ka(){}function ky(t){return t=Oe(t),je(function(r){return Wc(r,t)})}var $y=ra(at),Ay=ra(ac),Ty=ra(As);function id(t){return ua(t)?Ts(vn(t)):og(t)}function Ry(t){return function(r){return t==null?i:lr(t,r)}}var Iy=lu(),My=lu(!0);function $a(){return[]}function Aa(){return!1}function Fy(){return{}}function Oy(){return""}function zy(){return!0}function Ly(t,r){if(t=Oe(t),t<1||t>ue)return[];var o=ve,u=St(t,ve);r=Ce(r),t-=ve;for(var g=Ms(u,r);++o<t;)r(o);return g}function jy(t){return Me(t)?at(t,vn):Ut(t)?[t]:Ft(Su(Ke(t)))}function Dy(t){var r=++Kh;return Ke(t)+r}var Py=_o(function(t,r){return t+r},0),Wy=ia("ceil"),By=_o(function(t,r){return t/r},1),Hy=ia("floor");function Zy(t){return t&&t.length?go(t,Lt,Zs):i}function Vy(t,r){return t&&t.length?go(t,Ce(r,2),Zs):i}function Ny(t){return uc(t,Lt)}function Uy(t,r){return uc(t,Ce(r,2))}function Gy(t){return t&&t.length?go(t,Lt,Gs):i}function qy(t,r){return t&&t.length?go(t,Ce(r,2),Gs):i}var Ky=_o(function(t,r){return t*r},1),Yy=ia("round"),Xy=_o(function(t,r){return t-r},0);function Qy(t){return t&&t.length?Is(t,Lt):0}function Jy(t,r){return t&&t.length?Is(t,Ce(r,2)):0}return y.after=w2,y.ary=zu,y.assign=l8,y.assignIn=Ku,y.assignInWith=zo,y.assignWith=c8,y.at=u8,y.before=Lu,y.bind=ma,y.bindAll=gy,y.bindKey=ju,y.castArray=F2,y.chain=Mu,y.chunk=Hg,y.compact=Zg,y.concat=Vg,y.cond=my,y.conforms=yy,y.constant=Ca,y.countBy=Qm,y.create=d8,y.curry=Du,y.curryRight=Pu,y.debounce=Wu,y.defaults=f8,y.defaultsDeep=h8,y.defer=_2,y.delay=C2,y.difference=Ng,y.differenceBy=Ug,y.differenceWith=Gg,y.drop=qg,y.dropRight=Kg,y.dropRightWhile=Yg,y.dropWhile=Xg,y.fill=Qg,y.filter=e2,y.flatMap=r2,y.flatMapDeep=i2,y.flatMapDepth=o2,y.flatten=Au,y.flattenDeep=Jg,y.flattenDepth=em,y.flip=S2,y.flow=xy,y.flowRight=vy,y.fromPairs=tm,y.functions=v8,y.functionsIn=w8,y.groupBy=s2,y.initial=rm,y.intersection=im,y.intersectionBy=om,y.intersectionWith=sm,y.invert=C8,y.invertBy=S8,y.invokeMap=l2,y.iteratee=Sa,y.keyBy=c2,y.keys=xt,y.keysIn=zt,y.map=To,y.mapKeys=k8,y.mapValues=$8,y.matches=wy,y.matchesProperty=_y,y.memoize=Io,y.merge=A8,y.mergeWith=Yu,y.method=Cy,y.methodOf=Sy,y.mixin=Ea,y.negate=Mo,y.nthArg=ky,y.omit=T8,y.omitBy=R8,y.once=E2,y.orderBy=u2,y.over=$y,y.overArgs=k2,y.overEvery=Ay,y.overSome=Ty,y.partial=ya,y.partialRight=Bu,y.partition=d2,y.pick=I8,y.pickBy=Xu,y.property=id,y.propertyOf=Ry,y.pull=um,y.pullAll=Ru,y.pullAllBy=dm,y.pullAllWith=fm,y.pullAt=hm,y.range=Iy,y.rangeRight=My,y.rearg=$2,y.reject=p2,y.remove=pm,y.rest=A2,y.reverse=pa,y.sampleSize=m2,y.set=F8,y.setWith=O8,y.shuffle=y2,y.slice=gm,y.sortBy=v2,y.sortedUniq=_m,y.sortedUniqBy=Cm,y.split=ry,y.spread=T2,y.tail=Sm,y.take=Em,y.takeRight=km,y.takeRightWhile=$m,y.takeWhile=Am,y.tap=Zm,y.throttle=R2,y.thru=Ao,y.toArray=Uu,y.toPairs=Qu,y.toPairsIn=Ju,y.toPath=jy,y.toPlainObject=qu,y.transform=z8,y.unary=I2,y.union=Tm,y.unionBy=Rm,y.unionWith=Im,y.uniq=Mm,y.uniqBy=Fm,y.uniqWith=Om,y.unset=L8,y.unzip=ga,y.unzipWith=Iu,y.update=j8,y.updateWith=D8,y.values=jr,y.valuesIn=P8,y.without=zm,y.words=nd,y.wrap=M2,y.xor=Lm,y.xorBy=jm,y.xorWith=Dm,y.zip=Pm,y.zipObject=Wm,y.zipObjectDeep=Bm,y.zipWith=Hm,y.entries=Qu,y.entriesIn=Ju,y.extend=Ku,y.extendWith=zo,Ea(y,y),y.add=Py,y.attempt=rd,y.camelCase=Z8,y.capitalize=ed,y.ceil=Wy,y.clamp=W8,y.clone=O2,y.cloneDeep=L2,y.cloneDeepWith=j2,y.cloneWith=z2,y.conformsTo=D2,y.deburr=td,y.defaultTo=by,y.divide=By,y.endsWith=V8,y.eq=pn,y.escape=N8,y.escapeRegExp=U8,y.every=Jm,y.find=t2,y.findIndex=ku,y.findKey=p8,y.findLast=n2,y.findLastIndex=$u,y.findLastKey=g8,y.floor=Hy,y.forEach=Fu,y.forEachRight=Ou,y.forIn=m8,y.forInRight=y8,y.forOwn=b8,y.forOwnRight=x8,y.get=va,y.gt=P2,y.gte=W2,y.has=_8,y.hasIn=wa,y.head=Tu,y.identity=Lt,y.includes=a2,y.indexOf=nm,y.inRange=B8,y.invoke=E8,y.isArguments=dr,y.isArray=Me,y.isArrayBuffer=B2,y.isArrayLike=Ot,y.isArrayLikeObject=dt,y.isBoolean=H2,y.isBuffer=Kn,y.isDate=Z2,y.isElement=V2,y.isEmpty=N2,y.isEqual=U2,y.isEqualWith=G2,y.isError=ba,y.isFinite=q2,y.isFunction=Rn,y.isInteger=Hu,y.isLength=Fo,y.isMap=Zu,y.isMatch=K2,y.isMatchWith=Y2,y.isNaN=X2,y.isNative=Q2,y.isNil=e8,y.isNull=J2,y.isNumber=Vu,y.isObject=ct,y.isObjectLike=ut,y.isPlainObject=_i,y.isRegExp=xa,y.isSafeInteger=t8,y.isSet=Nu,y.isString=Oo,y.isSymbol=Ut,y.isTypedArray=Lr,y.isUndefined=n8,y.isWeakMap=r8,y.isWeakSet=i8,y.join=am,y.kebabCase=G8,y.last=sn,y.lastIndexOf=lm,y.lowerCase=q8,y.lowerFirst=K8,y.lt=o8,y.lte=s8,y.max=Zy,y.maxBy=Vy,y.mean=Ny,y.meanBy=Uy,y.min=Gy,y.minBy=qy,y.stubArray=$a,y.stubFalse=Aa,y.stubObject=Fy,y.stubString=Oy,y.stubTrue=zy,y.multiply=Ky,y.nth=cm,y.noConflict=Ey,y.noop=ka,y.now=Ro,y.pad=Y8,y.padEnd=X8,y.padStart=Q8,y.parseInt=J8,y.random=H8,y.reduce=f2,y.reduceRight=h2,y.repeat=ey,y.replace=ty,y.result=M8,y.round=Yy,y.runInContext=F,y.sample=g2,y.size=b2,y.snakeCase=ny,y.some=x2,y.sortedIndex=mm,y.sortedIndexBy=ym,y.sortedIndexOf=bm,y.sortedLastIndex=xm,y.sortedLastIndexBy=vm,y.sortedLastIndexOf=wm,y.startCase=iy,y.startsWith=oy,y.subtract=Xy,y.sum=Qy,y.sumBy=Jy,y.template=sy,y.times=Ly,y.toFinite=In,y.toInteger=Oe,y.toLength=Gu,y.toLower=ay,y.toNumber=an,y.toSafeInteger=a8,y.toString=Ke,y.toUpper=ly,y.trim=cy,y.trimEnd=uy,y.trimStart=dy,y.truncate=fy,y.unescape=hy,y.uniqueId=Dy,y.upperCase=py,y.upperFirst=_a,y.each=Fu,y.eachRight=Ou,y.first=Tu,Ea(y,function(){var t={};return bn(y,function(r,o){Xe.call(y.prototype,o)||(t[o]=r)}),t}(),{chain:!1}),y.VERSION=s,en(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){y[t].placeholder=y}),en(["drop","take"],function(t,r){Be.prototype[t]=function(o){o=o===i?1:bt(Oe(o),0);var u=this.__filtered__&&!r?new Be(this):this.clone();return u.__filtered__?u.__takeCount__=St(o,u.__takeCount__):u.__views__.push({size:St(o,ve),type:t+(u.__dir__<0?"Right":"")}),u},Be.prototype[t+"Right"]=function(o){return this.reverse()[t](o).reverse()}}),en(["filter","map","takeWhile"],function(t,r){var o=r+1,u=o==P||o==G;Be.prototype[t]=function(g){var x=this.clone();return x.__iteratees__.push({iteratee:Ce(g,3),type:o}),x.__filtered__=x.__filtered__||u,x}}),en(["head","last"],function(t,r){var o="take"+(r?"Right":"");Be.prototype[t]=function(){return this[o](1).value()[0]}}),en(["initial","tail"],function(t,r){var o="drop"+(r?"":"Right");Be.prototype[t]=function(){return this.__filtered__?new Be(this):this[o](1)}}),Be.prototype.compact=function(){return this.filter(Lt)},Be.prototype.find=function(t){return this.filter(t).head()},Be.prototype.findLast=function(t){return this.reverse().find(t)},Be.prototype.invokeMap=je(function(t,r){return typeof t=="function"?new Be(this):this.map(function(o){return mi(o,t,r)})}),Be.prototype.reject=function(t){return this.filter(Mo(Ce(t)))},Be.prototype.slice=function(t,r){t=Oe(t);var o=this;return o.__filtered__&&(t>0||r<0)?new Be(o):(t<0?o=o.takeRight(-t):t&&(o=o.drop(t)),r!==i&&(r=Oe(r),o=r<0?o.dropRight(-r):o.take(r-t)),o)},Be.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Be.prototype.toArray=function(){return this.take(ve)},bn(Be.prototype,function(t,r){var o=/^(?:filter|find|map|reject)|While$/.test(r),u=/^(?:head|last)$/.test(r),g=y[u?"take"+(r=="last"?"Right":""):r],x=u||/^find/.test(r);g&&(y.prototype[r]=function(){var S=this.__wrapped__,T=u?[1]:arguments,O=S instanceof Be,N=T[0],U=O||Me(S),Y=function(We){var He=g.apply(y,Hn([We],T));return u&&oe?He[0]:He};U&&o&&typeof N=="function"&&N.length!=1&&(O=U=!1);var oe=this.__chain__,ge=!!this.__actions__.length,Ee=x&&!oe,Le=O&&!ge;if(!x&&U){S=Le?S:new Be(this);var ke=t.apply(S,T);return ke.__actions__.push({func:Ao,args:[Y],thisArg:i}),new nn(ke,oe)}return Ee&&Le?t.apply(this,T):(ke=this.thru(Y),Ee?u?ke.value()[0]:ke.value():ke)})}),en(["pop","push","shift","sort","splice","unshift"],function(t){var r=Ji[t],o=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",u=/^(?:pop|shift)$/.test(t);y.prototype[t]=function(){var g=arguments;if(u&&!this.__chain__){var x=this.value();return r.apply(Me(x)?x:[],g)}return this[o](function(S){return r.apply(Me(S)?S:[],g)})}}),bn(Be.prototype,function(t,r){var o=y[r];if(o){var u=o.name+"";Xe.call(Ir,u)||(Ir[u]=[]),Ir[u].push({name:r,func:o})}}),Ir[wo(i,R).name]=[{name:"wrapper",func:i}],Be.prototype.clone=hp,Be.prototype.reverse=pp,Be.prototype.value=gp,y.prototype.at=Vm,y.prototype.chain=Nm,y.prototype.commit=Um,y.prototype.next=Gm,y.prototype.plant=Km,y.prototype.reverse=Ym,y.prototype.toJSON=y.prototype.valueOf=y.prototype.value=Xm,y.prototype.first=y.prototype.head,ci&&(y.prototype[ci]=qm),y},Ar=Uh();rr?((rr.exports=Ar)._=Ar,Ss._=Ar):wt._=Ar}).call(nb)}(Ii,Ii.exports)),Ii.exports}var Ze=rb();const ll=e=>({none:0,hairline:e*.5,thin:e,thick:e*2,heavy:e*4}),cl=e=>({none:0,xs:e*.5,sm:e,md:e*2,lg:e*3,xl:e*4,full:9999}),ib=e=>["none","hairline","thin","thick","heavy"].includes(e),jf=e=>["none","xs","sm","md","lg","xl","full"].includes(e),as={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"},Df=e=>e in as,Pf={primary:["#543ACC","#6949FF"],secondary:["#E0A800","#FFC107"],success:["#0FB57A","#12D18E"],danger:["#E64545","#F75555"],warning:["#E1B70D","#FACC15"],info:["#543ACC","#6949FF"]},ob=e=>["primary","secondary","success","danger","warning","info"].includes(e),sb=1,ab=8,lb=8,cb="Inter",ub="Sora",db=10,fb=4,Dn={borderWidth:sb,space:ab,size:lb,font:{neutral:cb,heading:ub},fontSize:db,radius:fb},Wf=e=>({none:"none",sm:`0 1px 2px 0 ${e.grey400}40`,md:`0 4px 6px -1px ${e.grey500}40, 0 2px 4px -1px ${e.grey400}40`,lg:`0 10px 15px -3px ${e.grey600}40, 0 4px 6px -2px ${e.grey500}40`}),hb=e=>["none","sm","md","lg"].includes(e),ul=e=>({"2xs":e*.5,xs:e,sm:e*2,"sm-md":e*2.5,md:e*4,"md-lg":e*6,lg:e*8,xl:e*16,"2xl":e*32,"3xl":e*64,"4xl":e*128}),mr=e=>["2xs","xs","sm","sm-md","md","md-lg","lg","xl","2xl","3xl","4xl"].includes(e),dl=e=>({none:0,"2xs":e*.25,xs:e*.5,sm:e,"sm-md":e*1.5,md:e*2,"md-lg":e*2.5,lg:e*3,xl:e*4,"2xl":e*5,"3xl":e*6,"4xl":e*8,"5xl":e*10,"6xl":e*12,"7xl":e*14,"8xl":e*16,"9xl":e*18,"10xl":e*20,"-xxs":e*-.25,"-xs":e*-.5,"-sm":e*-1,"-sm-md":e*-1.5,"-md":e*-2,"-md-lg":e*-2.5,"-lg":e*-3,"-xl":e*-4,"-2xl":e*-5,"-3xl":e*-6,"-4xl":e*-8,"-5xl":e*-10,"-6xl":e*-12,"-7xl":e*-14,"-8xl":e*-16,"-9xl":e*-18,"-10xl":e*-20}),Bf=e=>["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(e),fl=({neutral:e,heading:n})=>({neutral:`"${e}", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif`,heading:`"${n}", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif`}),ls=e=>({"2xs":e*.75,xs:e,small:e*1.25,medium:e*1.5,large:e*2,xl:e*2.5,"2xl":e*3,"3xl":e*3.5,"4xl":e*4,"5xl":e*5,"6xl":e*6}),hl=e=>{const n=ls(e),i=1.4;return{"2xs":n["2xs"]*i,xs:n.xs*i,small:n.small*i,medium:n.medium*i,large:n.large*i,xl:n.xl*i,"2xl":n["2xl"]*i,"3xl":n["3xl"]*i,"4xl":n["4xl"]*i,"5xl":n["5xl"]*i,"6xl":n["6xl"]*i}},pl=()=>({"extra-light":100,thin:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,black:900}),pb=e=>["2xs","xs","small","medium","large","xl","2xl","3xl","4xl","5xl","6xl"].includes(e),gb=e=>["extra-light","thin","light","regular","medium","semibold","bold","extrabold","black"].includes(e);class mb{constructor({baseZIndex:n=10,step:i=10}={}){Dr(this,"dependencies",new Map);Dr(this,"zIndexes",null);Dr(this,"nodes",new Set);Dr(this,"baseZIndex");Dr(this,"step");this.baseZIndex=n,this.step=i}register(n,i){this.nodes.add(n),this.nodes.add(i),this.dependencies.has(n)||this.dependencies.set(n,new Set),this.dependencies.get(n).add(i),this.zIndexes=null}deregister(n,i){const s=this.dependencies.get(n);s&&s.delete(i),this.zIndexes=null}getZIndex(n){return this.zIndexes||this._calculateZIndexes(),this.zIndexes.has(n)?this.zIndexes.get(n):(console.warn(`[ZIndexRegistry] ID '${n}' not found in the calculated z-index map. Returning a fallback value. Was it ever registered?`),this.baseZIndex)}_calculateZIndexes(){const n=new Map;for(const a of this.nodes)n.set(a,0);for(const a of this.dependencies.values())for(const l of a)n.set(l,(n.get(l)||0)+1);const i=[];for(const[a,l]of n.entries())l===0&&i.push(a);const s=[];for(;i.length>0;){const a=i.shift();s.push(a);const l=this.dependencies.get(a)||new Set;for(const d of l){const f=(n.get(d)||0)-1;n.set(d,f),f===0&&i.push(d)}}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 a=0;a<s.length;a++){const l=s[a];this.zIndexes.set(l,this.baseZIndex+a*this.step)}}}const vr=new mb({baseZIndex:100,step:10}),yn={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"};vr.register(yn.AIC_Kits_PageContent,yn.AIC_Kits_Carousel);vr.register(yn.AIC_Kits_Carousel,yn.AIC_Kits_Dropdown);vr.register(yn.AIC_Kits_Dropdown,yn.AIC_Kits_Tooltip);vr.register(yn.AIC_Kits_Tooltip,yn.AIC_Kits_Modal);vr.register(yn.AIC_Kits_Modal,yn.AIC_Kits_Notification);const yb=(e=Dn,n=as,i=Pf)=>{const s=fl(e.font),a=ls(e.fontSize),l=hl(e.fontSize),d=pl(),f=ll(e.borderWidth),h=dl(e.space),p=ul(e.size),b=cl(e.radius),v=Wf(n);return{colors:n,gradientColors:i,fonts:s,fontSizes:a,lineHeights:l,fontWeights:d,borderWidths:f,spaces:h,sizes:p,radii:b,shadows:v}},Hf=e=>({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"}}),Zf=e=>({defaultSize:"md",defaultIconSize:"md",defaultEmojiSize:"lg",defaultBrandSize:"md",defaultImageSize:"md",defaultSvgSize:"md"}),Vf=e=>({defaultSize:"md",defaultFallbackTextSize:"medium",fallbackBackgroundColor:"grey400",sizes:{sm:{fallbackTextSize:"small"},md:{fallbackTextSize:"medium"},lg:{fallbackTextSize:"xl"}}}),Nf=e=>({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"}}}),Uf=e=>({defaultBackgroundColor:"white",defaultHeaderParams:{backgroundColor:"white"},desktopMediaQuery:"(min-width: 768px)",mobilePaddingX:"md",desktopPaddingX:"xl",desktopContentMaxWidth:"1200px"}),Gf=e=>({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"}}}),qf=e=>({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"}}),Kf=e=>({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"}}),Yf=e=>{const n="primary",i="primary",s="white",a="grey300",l="grey100",d="grey400",f="primary",h="grey400",p="transparent";return{defaultSize:"md",defaultVariant:"outlined",defaultColor:n,borderRadii:{container:"lg",dateCell:"full",input:"md"},sizes:{sm:{containerPadding:"md",panelGap:"md",headerHeight:"xl",headerFontSize:"medium",headerFontWeight:"semibold",navButtonSize:"sm",navIconSize:"sm",weekdayFontSize:"2xs",dateCellSize:"xl",dateFontSize:"small",cellGap:"xs",timezoneFontSize:"2xs",borderWidth:"thin",viewHeight:258,viewWidth:280},md:{containerPadding:"lg",panelGap:"lg",headerHeight:"2xl",headerFontSize:"large",headerFontWeight:"semibold",navButtonSize:"sm-md",navIconSize:"sm-md",weekdayFontSize:"xs",dateCellSize:"2xl",dateFontSize:"medium",cellGap:"xs",timezoneFontSize:"xs",borderWidth:"thin",viewHeight:334,viewWidth:304},lg:{containerPadding:"xl",panelGap:"xl",headerHeight:"3xl",headerFontSize:"xl",headerFontWeight:"semibold",navButtonSize:"md",navIconSize:"md",weekdayFontSize:"small",dateCellSize:"3xl",dateFontSize:"large",cellGap:"xs",timezoneFontSize:"small",borderWidth:"thin",viewHeight:399,viewWidth:360}},variants:{outlined:{container:{backgroundColor:"white",borderColor:a},dateCells:{default:{backgroundColor:p,textColor:"grey900",borderColor:p},hover:{backgroundColor:l,textColor:"grey900",borderColor:p},today:{backgroundColor:p,textColor:f,borderColor:n},selected:{backgroundColor:i,textColor:s,borderColor:i},disabled:{backgroundColor:p,textColor:d,borderColor:p},outsideMonth:{backgroundColor:p,textColor:h,borderColor:p}}},filled:{container:{backgroundColor:"grey100",borderColor:p},dateCells:{default:{backgroundColor:p,textColor:"grey900",borderColor:p},hover:{backgroundColor:"grey200",textColor:"grey900",borderColor:p},today:{backgroundColor:p,textColor:f,borderColor:n},selected:{backgroundColor:i,textColor:s,borderColor:i},disabled:{backgroundColor:p,textColor:d,borderColor:p},outsideMonth:{backgroundColor:p,textColor:h,borderColor:p}}}},colors:{headerText:"grey900",weekdayText:"grey600",labelText:"grey700",helperText:"grey600",errorText:"danger",placeholderText:"grey500",selectedDateDisplay:"grey900",timezoneText:"grey700",timezoneIconColor:"grey600"},calendar:{weeksToShow:6,daysInWeek:7,panelMinWidth:280},popup:{offset:"sm",shadow:"lg",zIndex:110},animation:{duration:200,easing:"ease-out"},input:{iconColor:"grey600",borderColor:"grey300",focusBorderColor:n,errorBorderColor:"danger"}}},Xf=e=>({defaultColor:"grey300",defaultThickness:1}),Qf=e=>{const n=`0 0 16px 4px ${e.colors.grey400}40`;return{backgroundColor:"grey100",padding:"xs",radius:"full",avatarSize:"md",loadingGap:"sm",navItem:{radius:"full",paddingX:"md",paddingY:"sm",gap:"xs",large:{gap:"sm",containerHeight:30,fontSize:"large",iconSize:28,loadingSize:"small"},medium:{gap:"xs",containerHeight:24,fontSize:"medium",iconSize:22,loadingSize:"small"},active:{fontWeight:"medium",color:"black",backgroundColor:"white",hoverBackgroundColor:"white",hoverBoxShadow:n},inactive:{fontWeight:"regular",color:"grey600",backgroundColor:"transparent",hoverBackgroundColor:"white",hoverBoxShadow:n},hover:{color:"primary"}},profileDropdown:{offset:{top:72,right:0},containerPaddingRight:"md",spacingTop:"sm",padding:"sm",gap:"sm",borderRadius:24,boxShadow:n,backgroundColor:"white",defaultMaxHeight:300,minWidth:50,animationDuration:300},navDropdown:{spacingTop:"sm",paddingX:"md-lg",paddingY:"md",gap:"sm-md",borderRadius:24,boxShadow:n,backgroundColor:"white",defaultMaxHeight:300,minWidth:50,animationDuration:300}}},Jf=e=>{const n="grey300",i="danger",s="primary",a="grey100",l="grey300",d="grey500",f="white",h="grey900",p="thin",b=`inset 0 0 0 ${e.borderWidths.thin}px ${e.colors[s]}`,v=`inset 0 0 0 ${e.borderWidths.thin}px ${e.colors[i]}`;return{borderRadius:"md",borderWidth:p,padding:{vertical:"sm",horizontal:"md"},fontSize:"medium",placeholderColor:"grey500",iconSpacing:"sm",iconSize:"sm-md",iconColor:"grey600",textColor:h,disabledTextColor:d,disabledBorderColor:l,focusColor:s,errorColor:i,states:{default:{borderColor:n,backgroundColor:f,boxShadow:"none"},focused:{borderColor:s,backgroundColor:f,boxShadow:b},error:{borderColor:i,backgroundColor:f,boxShadow:v},disabled:{borderColor:l,backgroundColor:a,boxShadow:"none"}}}},e0=e=>({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"]}}}),t0=e=>({defaultGap:"sm",defaultPadding:"none"}),n0=e=>({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}}),r0=e=>({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"}}}}}),i0=e=>({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"]}}}),o0=e=>({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"}}}),s0=e=>{const n="grey300",i="danger",s="grey300",a="grey100",l="grey400",d="grey100",f="grey200",h="white",p="transparent",b="thin",v="thick";return{defaultColor:"primary",defaultSize:"md",defaultVariant:"outlined",defaultCorner:"circle",squircleBorderRadii:{circle:"999px",rounded:"8px"},labelColor:"grey700",disabledLabelColor:l,valueColor:"grey900",placeholderColor:"grey500",helperTextColor:"grey600",errorColor:i,iconColor:"grey600",disabledContentColor:l,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:p,borderColor:n,borderWidth:b},hover:{backgroundColor:"grey100",borderColor:n,borderWidth:b},focused:{backgroundColor:p,borderColor:"primary",borderWidth:v},disabled:{backgroundColor:p,borderColor:s,borderWidth:b},errored:{backgroundColor:p,borderColor:i,borderWidth:b}},filled:{default:{backgroundColor:d,borderColor:p,borderWidth:b},hover:{backgroundColor:f,borderColor:p,borderWidth:b},focused:{backgroundColor:h,borderColor:"primary",borderWidth:v},disabled:{backgroundColor:a,borderColor:p,borderWidth:b},errored:{backgroundColor:h,borderColor:i,borderWidth:b}}},animation:{duration:200,easing:"ease-out"},dropdown:{backgroundColor:h,borderColor:n,shadow:"md",offset:"sm",zIndex:1e3,maxHeight:200,borderRadiusForCircle:"xl",borderRadiusForRounded:"md",itemTextColor:"grey900",itemSelectedTextColor:"grey900",itemHoverBackgroundColor:"grey100",itemSelectedBackgroundColor:"white",emptyTextColor:"grey500"}}},a0=e=>({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}}}),l0=e=>({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"}}}),c0=e=>({defaultSize:"md",defaultFormat:"24h",borderRadii:{input:"md",popup:"lg"},sizes:{sm:{inputHeight:"xl",inputPaddingHorizontal:"sm",inputFontSize:"small",iconSize:"sm",popupPadding:"sm",wheelItemHeight:28,wheelWidth:48,wheelFontSize:"small"},md:{inputHeight:"2xl",inputPaddingHorizontal:"md",inputFontSize:"medium",iconSize:"sm-md",popupPadding:"md",wheelItemHeight:36,wheelWidth:56,wheelFontSize:"medium"},lg:{inputHeight:"3xl",inputPaddingHorizontal:"lg",inputFontSize:"large",iconSize:"md",popupPadding:"lg",wheelItemHeight:44,wheelWidth:64,wheelFontSize:"large"}},colors:{inputBorder:"grey300",inputFocusBorder:"primary",inputErrorBorder:"danger",inputBg:"white",inputText:"grey900",inputPlaceholder:"grey500",labelText:"grey700",helperText:"grey600",errorText:"danger",wheelBg:"white",wheelText:"grey600",wheelSelectedBg:"primary100",wheelSelectedText:"grey900",clearButtonColor:"grey500",clearButtonHoverColor:"grey700",separatorColor:"grey400"},popup:{offset:"sm",shadow:"lg",zIndex:110},wheel:{visibleItems:3}}),u0=e=>{const n="sm";return{defaultBackgroundColor:"grey800",defaultTextColor:"white",defaultPlacement:"bottom",container:{padding:"sm",borderRadius:"md",shadow:"md",zIndex:9999,maxWidth:"300px"},text:{fontSize:"small"},positioning:{spacing:n,placements:{top:{bottom:"100%",left:"50%",transform:"translateX(-50%)",mb:n},bottom:{top:"100%",left:"50%",transform:"translateX(-50%)",mt:n},left:{top:"50%",right:"100%",transform:"translateY(-50%)",mr:n},right:{top:"50%",left:"100%",transform:"translateY(-50%)",ml:n}}}}},d0=e=>({animation:{minScale:.92,maxScale:1,minOpacity:.7,maxOpacity:1,springConfig:{mass:.5}}}),f0=e=>({defaultAccentColor:"#00adef",aspectRatio:56.25,playerSettings:{autoplay:!1,muted:!1,loop:!1,title:!1,byline:!1,portrait:!1,controls:!0}}),h0=e=>({art:Zf(),base:Uf(),button:Gf(),divider:Xf(),header:Qf(e),input:Jf(e),list:t0(),loading:n0(),pagination:r0(),skeleton:a0(),touchable:d0(),vimeo:f0(),carousel:qf(),accordion:Hf(),tag:l0(),checkbox:Kf(),select:s0(),progress:o0(),avatar:Vf(),tooltip:u0(),barChart:Nf(),pieChart:i0(),lineChart:e0(),datepicker:Yf(),timepicker:c0()}),bb=dl(Dn.space),xb=ul(Dn.size),vb=ll(Dn.borderWidth),wb=cl(Dn.radius),_b=ls(Dn.fontSize),Cb=hl(Dn.fontSize),Sb=pl(),ad=fl(Dn.font),Eb={spaces:bb,sizes:xb,colors:as,radii:wb,borderWidths:vb,fonts:ad,zIndex:vr,__hd__:{text:{fontSizes:_b,lineHeights:Cb,fontWeights:Sb,fonts:ad}}};function p0(){const e=Eb,n=h0(e);return{...e,__hd__:{...e.__hd__,...n}}}const qo=p0(),le=er.styled,Cn=er.keyframes,lt=er.css,g0=(e,n)=>!["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(e),kb=e=>typeof e=="function"?e(qo):e?{...qo,...e}:qo,$b=({theme:e,children:n})=>{const i=kb(e);return m.jsx(er.StyleSheetManager,{shouldForwardProp:g0,children:m.jsx(er.ThemeProvider,{theme:i,children:n})})},ye=er.useTheme,Ct=()=>typeof document>"u",Bi={xs:0,sm:600,md:900,lg:1200,xl:1536},Li=Object.keys(Bi),cs=e=>Ze.isObject(e)&&("xs"in e||"sm"in e||"md"in e||"lg"in e||"xl"in e),Yt=(e,n)=>cs(e)?Object.fromEntries(Object.entries(e).map(([i,s])=>[i,n(s)])):n(e),Xa=e=>Ze.reduce(e,(n,i,s)=>(Ze.forEach(i,(a,l)=>{Ze.has(n,l)||Ze.set(n,l,{}),Ze.set(n,[l,s],a)}),n),{}),m0=(e,n)=>{const i=Object.fromEntries(Object.keys(e).map(f=>[f,gl(e[f])])),s=Xa(i),a=Object.fromEntries(Li.map(f=>[f,n(s[f])])),l=Xa(a);return Object.fromEntries(Object.entries(l).map(([f,h])=>[f,b0(h)]))},y0=(e,n)=>{if(!cs(e))return e;switch(n){case"xs":return e.xs??e.sm??e.md??e.lg??e.xl;case"sm":return e.sm??e.xs??e.md??e.lg??e.xl;case"md":return e.md??e.sm??e.xs??e.lg??e.xl;case"lg":return e.lg??e.md??e.sm??e.xs??e.xl;case"xl":return e.xl??e.lg??e.md??e.sm??e.xs}},gl=e=>Object.fromEntries(Object.keys(Bi).map(n=>[n,y0(e,n)])),b0=e=>{let n=e.xs;const i={xs:n};for(let s=1;s<Li.length;s++){const a=Li[s],l=e[a];Ze.isEqual(l,n)||(i[a]=l,n=l)}return Object.keys(i).length===1?i.xs:i},Xr=e=>{const[n,i]=Ze.partition(Object.entries(e),([l,d])=>cs(d)),s=Object.fromEntries(n.map(([l,d])=>[l,gl(d)])),a=Ze.compact(Li.map(l=>{const d=Object.fromEntries(Object.keys(s).map(h=>[h,s[h][l]]));if(l==="xs"){const h={...Object.fromEntries(i),...d};return Ze.isEmpty(h)?null:lt(h)}if(Ze.isEmpty(d))return null;const f=`(min-width: ${Bi[l]}px)`;return lt`
|
|
28
|
+
@media ${f} {
|
|
29
|
+
${lt(d)}
|
|
30
30
|
}
|
|
31
|
-
`}));return at`${l}`},xv={bgColor:{property:"backgroundColor",scale:"colors"},backgroundColor:{property:"backgroundColor",scale:"colors"},borderColor:{property:"borderColor",scale:"colors"},borderTopColor:{property:"borderTopColor",scale:"colors"},borderBottomColor:{property:"borderBottomColor",scale:"colors"},borderLeftColor:{property:"borderLeftColor",scale:"colors"},borderRightColor:{property:"borderRightColor",scale:"colors"}},wv={m:{property:"margin",scale:"spaces"},mt:{property:"marginTop",scale:"spaces"},mb:{property:"marginBottom",scale:"spaces"},ml:{property:"marginLeft",scale:"spaces"},mr:{property:"marginRight",scale:"spaces"},mx:{property:"marginInline",scale:"spaces"},my:{property:"marginBlock",scale:"spaces"},p:{property:"padding",scale:"spaces"},pt:{property:"paddingTop",scale:"spaces"},pb:{property:"paddingBottom",scale:"spaces"},pl:{property:"paddingLeft",scale:"spaces"},pr:{property:"paddingRight",scale:"spaces"},px:{property:"paddingInline",scale:"spaces"},py:{property:"paddingBlock",scale:"spaces"},margin:{property:"margin",scale:"spaces"},marginBottom:{property:"marginBottom",scale:"spaces"},marginLeft:{property:"marginLeft",scale:"spaces"},marginRight:{property:"marginRight",scale:"spaces"},marginTop:{property:"marginTop",scale:"spaces"},marginX:{property:"marginInline",scale:"spaces"},marginY:{property:"marginBlock",scale:"spaces"},padding:{property:"padding",scale:"spaces"},paddingBottom:{property:"paddingBottom",scale:"spaces"},paddingLeft:{property:"paddingLeft",scale:"spaces"},paddingRight:{property:"paddingRight",scale:"spaces"},paddingTop:{property:"paddingTop",scale:"spaces"},paddingX:{property:"paddingInline",scale:"spaces"},paddingY:{property:"paddingBlock",scale:"spaces"},gap:{property:"gap",scale:"spaces"}},_v={bbl:{property:"borderBottomLeftRadius",scale:"radii"},bbr:{property:"borderBottomRightRadius",scale:"radii"},btl:{property:"borderTopLeftRadius",scale:"radii"},btr:{property:"borderTopRightRadius",scale:"radii"},r:{property:"borderRadius",scale:"radii"},radius:{property:"borderRadius",scale:"radii"},borderBottomLeftRadius:{property:"borderBottomLeftRadius",scale:"radii"},borderBottomRightRadius:{property:"borderBottomRightRadius",scale:"radii"},borderTopLeftRadius:{property:"borderTopLeftRadius",scale:"radii"},borderTopRightRadius:{property:"borderTopRightRadius",scale:"radii"},borderRadius:{property:"borderRadius",scale:"radii"}},Cv={b:{property:"borderWidth",scale:"borderWidths"},bb:{property:"borderBottomWidth",scale:"borderWidths"},bt:{property:"borderTopWidth",scale:"borderWidths"},bl:{property:"borderLeftWidth",scale:"borderWidths"},br:{property:"borderRightWidth",scale:"borderWidths"},borderWidth:{property:"borderWidth",scale:"borderWidths"},borderBottomWidth:{property:"borderBottomWidth",scale:"borderWidths"},borderTopWidth:{property:"borderTopWidth",scale:"borderWidths"},borderLeftWidth:{property:"borderLeftWidth",scale:"borderWidths"},borderRightWidth:{property:"borderRightWidth",scale:"borderWidths"}},ld={...xv,...wv,..._v,...Cv},ud=["alignContent","alignItems","alignSelf","display","flex","flexBasis","flexDirection","flexGrow","flexShrink","flexWrap","justifyContent","position","top","right","bottom","left","overflow","width","minWidth","maxWidth","height","minHeight","maxHeight","opacity","cursor","transition","transform","animation","willChange","pointerEvents","userSelect","resize","boxShadow","textShadow","filter","backdropFilter","mixBlendMode","isolation","zIndex","marginInline","marginBlock","paddingInline","paddingBlock","willChange","whiteSpace","textOverflow","overflowY","overflowX"],Ta=["absoluteFill","fullWidth","fullHeight","fw","fh"],cd={absoluteFill:{position:"absolute",top:0,bottom:0,left:0,right:0},fullWidth:{width:"100%"},fullHeight:{height:"100%"},fw:{width:"100%"},fh:{height:"100%"}},fd=(t,r,i)=>{const s=ld[r],l=i[r];if(!l)return;const{scale:u,property:f}=s;switch(u){case"colors":return{[f]:Dt(l,h=>t.colors[h])};case"spaces":return{[f]:Dt(l,h=>t.spaces[h])};case"radii":return{[f]:Dt(l,h=>t.radii[h])};case"borderWidths":return{[f]:Dt(l,h=>t.borderWidths[h])}}},dd=(t,r)=>Object.keys(r).reduce((s,l)=>({...s,...fd(t,l,r)}),{}),Sv=t=>Ta.reduce((r,i)=>t[i]?{...r,...cd[i]}:r,{}),hd=Object.keys(ld),pd=(t,r)=>{const i=ze.pick(r,hd),s=ze.pick(r,[...ud]),l=ze.pick(r,[...Ta]);return Mr({...dd(t,i),...Sv(l),...s})},gd=ae.div(({theme:t,...r})=>pd(t,r));function Ev({children:t,style:r,"data-testid":i,...s},l){return y.jsx(gd,{...s,style:r,ref:l,"data-testid":i,children:t})}const X=d.forwardRef(Ev),wt=(t,r)=>typeof r=="number"?`${r}px`:ze.isString(r)?ir(r)?`${t.sizes[r]}px`:r:"auto",md=t=>new RegExp("\\p{Emoji}","u").test(t)&&t.length<=2,vd=t=>ze.isString(t)&&t.includes("icon-"),yd=t=>{const r=[".jpg",".jpeg",".png",".gif",".webp",".svg"],i=t.toLowerCase();return ze.isString(t)&&(r.some(s=>i.endsWith(s))||t.startsWith("data:image/")||t.startsWith("http"))},bd=t=>ze.isString(t)&&t.startsWith("<svg"),xd=({art:t,width:r,height:i,style:s,"data-testid":l,...u})=>{const f=xe(),h=f.__hd__.art.defaultBrandSize||f.__hd__.art.defaultSize,g=wt(f,r??h),v=wt(f,i??h);return y.jsx(X,{display:"flex",alignItems:"center",justifyContent:"center",width:g,height:v,style:s,"data-testid":l,...u,children:t})},wd=({art:t,size:r,style:i,"data-testid":s,...l})=>{const u=xe(),f=u.__hd__.art.defaultEmojiSize||u.__hd__.art.defaultSize,h=wt(u,r??f),g=typeof h=="string"&&h.endsWith("px")?parseInt(h,10):u.__hd__.text.fontSizes[f]??24,v=u.__hd__.text.lineHeights[f]?`${u.__hd__.text.lineHeights[f]/g}`:"1";return y.jsx(X,{display:"flex",alignItems:"center",justifyContent:"center",width:h,height:h,style:{...i,fontSize:h,lineHeight:v},"data-testid":s,...l,children:t})},Ra=({art:t,size:r,color:i="currentColor",weight:s="regular",style:l,"data-testid":u,...f})=>{const h=xe(),g=h.__hd__.art.defaultIconSize||h.__hd__.art.defaultSize,v=wt(h,r??g),_=t;if(!_)return process.env.NODE_ENV!=="production"&&console.warn(`[IconArt] Icon component not found for art="${t}". This should not happen with TypeScript checks.`),null;const S=Tf(i)?h.colors[i]:i;return y.jsx(X,{display:"flex",alignItems:"center",justifyContent:"center",width:v,height:v,style:l,"data-testid":u,...f,children:y.jsx(_,{size:v,color:S,weight:s,style:l})})},Av=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M208.49,199.51a12,12,0,0,1-17,17l-80-80a12,12,0,0,1,0-17l80-80a12,12,0,0,1,17,17L137,128ZM57,128l71.52-71.51a12,12,0,0,0-17-17l-80,80a12,12,0,0,0,0,17l80,80a12,12,0,0,0,17-17Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M200,48V208l-80-80Z",opacity:"0.2"}),d.createElement("path",{d:"M203.06,40.61a8,8,0,0,0-8.72,1.73l-80,80a8,8,0,0,0,0,11.32l80,80A8,8,0,0,0,208,208V48A8,8,0,0,0,203.06,40.61ZM192,188.69,131.31,128,192,67.31Zm-66.34,13.65a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L51.31,128Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M208,48V208a8,8,0,0,1-13.66,5.66L128,147.31V208a8,8,0,0,1-13.66,5.66l-80-80a8,8,0,0,1,0-11.32l80-80A8,8,0,0,1,128,48v60.69l66.34-66.35A8,8,0,0,1,208,48Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M204.24,203.76a6,6,0,1,1-8.48,8.48l-80-80a6,6,0,0,1,0-8.48l80-80a6,6,0,0,1,8.48,8.48L128.49,128ZM48.49,128l75.75-75.76a6,6,0,0,0-8.48-8.48l-80,80a6,6,0,0,0,0,8.48l80,80a6,6,0,1,0,8.48-8.48Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M205.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L131.31,128ZM51.31,128l74.35-74.34a8,8,0,0,0-11.32-11.32l-80,80a8,8,0,0,0,0,11.32l80,80a8,8,0,0,0,11.32-11.32Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M202.83,205.17a4,4,0,0,1-5.66,5.66l-80-80a4,4,0,0,1,0-5.66l80-80a4,4,0,1,1,5.66,5.66L125.66,128ZM45.66,128l77.17-77.17a4,4,0,0,0-5.66-5.66l-80,80a4,4,0,0,0,0,5.66l80,80a4,4,0,1,0,5.66-5.66Z"}))]]),$v=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M144.49,136.49l-80,80a12,12,0,0,1-17-17L119,128,47.51,56.49a12,12,0,0,1,17-17l80,80A12,12,0,0,1,144.49,136.49Zm80-17-80-80a12,12,0,1,0-17,17L199,128l-71.52,71.51a12,12,0,0,0,17,17l80-80A12,12,0,0,0,224.49,119.51Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M136,128,56,208V48Z",opacity:"0.2"}),d.createElement("path",{d:"M141.66,122.34l-80-80A8,8,0,0,0,48,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,141.66,122.34ZM64,188.69V67.31L124.69,128Zm157.66-55-80,80a8,8,0,0,1-11.32-11.32L204.69,128,130.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,221.66,133.66Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M221.66,133.66l-80,80A8,8,0,0,1,128,208V147.31L61.66,213.66A8,8,0,0,1,48,208V48a8,8,0,0,1,13.66-5.66L128,108.69V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,221.66,133.66Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M140.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L127.51,128,51.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,140.24,132.24Zm80-8.48-80-80a6,6,0,0,0-8.48,8.48L207.51,128l-75.75,75.76a6,6,0,1,0,8.48,8.48l80-80A6,6,0,0,0,220.24,123.76Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M141.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L124.69,128,50.34,53.66A8,8,0,0,1,61.66,42.34l80,80A8,8,0,0,1,141.66,133.66Zm80-11.32-80-80a8,8,0,0,0-11.32,11.32L204.69,128l-74.35,74.34a8,8,0,0,0,11.32,11.32l80-80A8,8,0,0,0,221.66,122.34Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M138.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L130.34,128,53.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,138.83,130.83Zm80-5.66-80-80a4,4,0,0,0-5.66,5.66L210.34,128l-77.17,77.17a4,4,0,0,0,5.66,5.66l80-80A4,4,0,0,0,218.83,125.17Z"}))]]),kv=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M208,96l-80,80L48,96Z",opacity:"0.2"}),d.createElement("path",{d:"M215.39,92.94A8,8,0,0,0,208,88H48a8,8,0,0,0-5.66,13.66l80,80a8,8,0,0,0,11.32,0l80-80A8,8,0,0,0,215.39,92.94ZM128,164.69,67.31,104H188.69Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,48,88H208a8,8,0,0,1,5.66,13.66Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M210.83,98.83l-80,80a4,4,0,0,1-5.66,0l-80-80a4,4,0,0,1,5.66-5.66L128,170.34l77.17-77.17a4,4,0,1,1,5.66,5.66Z"}))]]),Tv=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M168.49,199.51a12,12,0,0,1-17,17l-80-80a12,12,0,0,1,0-17l80-80a12,12,0,0,1,17,17L97,128Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M160,48V208L80,128Z",opacity:"0.2"}),d.createElement("path",{d:"M163.06,40.61a8,8,0,0,0-8.72,1.73l-80,80a8,8,0,0,0,0,11.32l80,80A8,8,0,0,0,168,208V48A8,8,0,0,0,163.06,40.61ZM152,188.69,91.31,128,152,67.31Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M168,48V208a8,8,0,0,1-13.66,5.66l-80-80a8,8,0,0,1,0-11.32l80-80A8,8,0,0,1,168,48Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M164.24,203.76a6,6,0,1,1-8.48,8.48l-80-80a6,6,0,0,1,0-8.48l80-80a6,6,0,0,1,8.48,8.48L88.49,128Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M165.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L91.31,128Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M162.83,205.17a4,4,0,0,1-5.66,5.66l-80-80a4,4,0,0,1,0-5.66l80-80a4,4,0,1,1,5.66,5.66L85.66,128Z"}))]]),Rv=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M176,128,96,208V48Z",opacity:"0.2"}),d.createElement("path",{d:"M181.66,122.34l-80-80A8,8,0,0,0,88,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,181.66,122.34ZM104,188.69V67.31L164.69,128Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M181.66,133.66l-80,80A8,8,0,0,1,88,208V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,181.66,133.66Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M180.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L167.51,128,91.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,180.24,132.24Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M178.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L170.34,128,93.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,178.83,130.83Z"}))]]),Lv=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M232,56V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Z",opacity:"0.2"}),d.createElement("path",{d:"M205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M228.24,76.24l-128,128a6,6,0,0,1-8.48,0l-56-56a6,6,0,0,1,8.48-8.48L96,191.51,219.76,67.76a6,6,0,0,1,8.48,8.48Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M226.83,74.83l-128,128a4,4,0,0,1-5.66,0l-56-56a4,4,0,0,1,5.66-5.66L96,194.34,221.17,69.17a4,4,0,1,1,5.66,5.66Z"}))]]),Ov=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M251,123.13c-.37-.81-9.13-20.26-28.48-39.61C196.63,57.67,164,44,128,44S59.37,57.67,33.51,83.52C14.16,102.87,5.4,122.32,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212s68.63-13.66,94.48-39.51c19.36-19.35,28.12-38.79,28.49-39.61A12.08,12.08,0,0,0,251,123.13Zm-46.06,33C183.47,177.27,157.59,188,128,188s-55.47-10.73-76.91-31.88A130.36,130.36,0,0,1,29.52,128,130.45,130.45,0,0,1,51.09,99.89C72.54,78.73,98.41,68,128,68s55.46,10.73,76.91,31.89A130.36,130.36,0,0,1,226.48,128,130.45,130.45,0,0,1,204.91,156.12ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,64a20,20,0,1,1,20-20A20,20,0,0,1,128,148Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"}),d.createElement("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M245.48,125.57c-.34-.78-8.66-19.23-27.24-37.81C201,70.54,171.38,50,128,50S55,70.54,37.76,87.76c-18.58,18.58-26.9,37-27.24,37.81a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206s73-20.53,90.24-37.75c18.58-18.58,26.9-37,27.24-37.8A6,6,0,0,0,245.48,125.57ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.77,134.77,0,0,1,22.69,128,134.56,134.56,0,0,1,46.55,95.94C69.22,73.42,96.62,62,128,62s58.78,11.42,81.45,33.94A134.56,134.56,0,0,1,233.31,128C226.94,140.21,195,194,128,194Zm0-112a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M243.66,126.38c-.34-.76-8.52-18.89-26.83-37.2C199.87,72.22,170.7,52,128,52S56.13,72.22,39.17,89.18c-18.31,18.31-26.49,36.44-26.83,37.2a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17s71.87-20.21,88.83-37.17c18.31-18.31,26.49-36.43,26.83-37.2A4.08,4.08,0,0,0,243.66,126.38Zm-32.7,35c-23.07,23-51,34.62-83,34.62s-59.89-11.65-83-34.62A135.71,135.71,0,0,1,20.44,128,135.69,135.69,0,0,1,45,94.62C68.11,71.65,96,60,128,60s59.89,11.65,83,34.62A135.79,135.79,0,0,1,235.56,128,135.71,135.71,0,0,1,211,161.38ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Z"}))]]),Iv=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M56.88,31.93A12,12,0,1,0,39.12,48.07l16,17.65C20.67,88.66,5.72,121.58,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212a131.34,131.34,0,0,0,51-10l20.09,22.1a12,12,0,0,0,17.76-16.14ZM128,188c-29.59,0-55.47-10.73-76.91-31.88A130.69,130.69,0,0,1,29.52,128c5.27-9.31,18.79-29.9,42-44.29l90.09,99.11A109.33,109.33,0,0,1,128,188Zm123-55.12c-.36.81-9,20-28,39.16a12,12,0,1,1-17-16.9A130.48,130.48,0,0,0,226.48,128a130.36,130.36,0,0,0-21.57-28.12C183.46,78.73,157.59,68,128,68c-3.35,0-6.7.14-10,.42a12,12,0,1,1-2-23.91c3.93-.34,8-.51,12-.51,36,0,68.63,13.67,94.49,39.52,19.35,19.35,28.11,38.8,28.48,39.61A12.08,12.08,0,0,1,251,132.88Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"}),d.createElement("path",{d:"M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M96.68,57.87a4,4,0,0,1,2.08-6.6A130.13,130.13,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41a8,8,0,0,1,0,6.5c-.35.79-8.82,19.57-27.65,38.4q-4.28,4.26-8.79,8.07a4,4,0,0,1-5.55-.36ZM213.92,210.62a8,8,0,1,1-11.84,10.76L180,197.13A127.21,127.21,0,0,1,128,208c-34.88,0-66.57-13.26-91.66-38.34C17.51,150.83,9,132.05,8.69,131.26a8,8,0,0,1,0-6.5C9,124,17.51,105.18,36.34,86.35a135,135,0,0,1,25-19.78L42.08,45.38A8,8,0,1,1,53.92,34.62Zm-65.49-48.25-52.69-58a40,40,0,0,0,52.69,58Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M52.44,36A6,6,0,0,0,43.56,44L64.44,67c-37.28,21.9-53.23,57-53.92,58.57a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206a124.91,124.91,0,0,0,52.57-11.25l23,25.29a6,6,0,0,0,8.88-8.08Zm48.62,71.32,45,49.52a34,34,0,0,1-45-49.52ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.57,134.57,0,0,1,22.69,128c4.29-8.2,20.1-35.18,50-51.91L92.89,98.3a46,46,0,0,0,61.35,67.48l17.81,19.6A113.47,113.47,0,0,1,128,194Zm6.4-99.4a6,6,0,0,1,2.25-11.79,46.17,46.17,0,0,1,37.15,40.87,6,6,0,0,1-5.42,6.53l-.56,0a6,6,0,0,1-6-5.45A34.1,34.1,0,0,0,134.4,94.6Zm111.08,35.85c-.41.92-10.37,23-32.86,43.12a6,6,0,1,1-8-8.94A134.07,134.07,0,0,0,233.31,128a134.67,134.67,0,0,0-23.86-32.07C186.78,73.42,159.38,62,128,62a120.19,120.19,0,0,0-19.69,1.6,6,6,0,1,1-2-11.83A131.12,131.12,0,0,1,128,50c43.38,0,73,20.54,90.24,37.76,18.58,18.58,26.9,37,27.24,37.81A6,6,0,0,1,245.48,130.45Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M51,37.31A4,4,0,0,0,45,42.69L67.59,67.5C29.34,89,13,124.81,12.34,126.38a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17a122.59,122.59,0,0,0,53.06-11.69l24,26.38a4,4,0,1,0,5.92-5.38ZM149.1,157.16A36,36,0,0,1,101,104.22ZM128,196c-32,0-59.89-11.65-83-34.62A135.81,135.81,0,0,1,20.44,128c3.65-7.23,20.09-36.81,52.68-54.43l22.45,24.7a44,44,0,0,0,59,64.83l20.89,23A114.94,114.94,0,0,1,128,196Zm6.78-103.36a4,4,0,0,1,1.49-7.86,44.15,44.15,0,0,1,35.54,39.09,4,4,0,0,1-3.61,4.35l-.38,0a4,4,0,0,1-4-3.63A36.1,36.1,0,0,0,134.78,92.64Zm108.88,37c-.41.91-10.2,22.58-32.38,42.45a4,4,0,0,1-2.67,1,4,4,0,0,1-2.67-7A136.71,136.71,0,0,0,235.56,128,136.07,136.07,0,0,0,211,94.62C187.89,71.65,160,60,128,60a122,122,0,0,0-20,1.63,4,4,0,0,1-1.32-7.89A129.3,129.3,0,0,1,128,52c42.7,0,71.87,20.22,88.83,37.18,18.31,18.31,26.49,36.44,26.83,37.2A4.08,4.08,0,0,1,243.66,129.63Z"}))]]),Mv=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M232.49,215.51,185,168a92.12,92.12,0,1,0-17,17l47.53,47.54a12,12,0,0,0,17-17ZM44,112a68,68,0,1,1,68,68A68.07,68.07,0,0,1,44,112Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z",opacity:"0.2"}),d.createElement("path",{d:"M229.66,218.34,179.6,168.28a88.21,88.21,0,1,0-11.32,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M168,112a56,56,0,1,1-56-56A56,56,0,0,1,168,112Zm61.66,117.66a8,8,0,0,1-11.32,0l-50.06-50.07a88,88,0,1,1,11.32-11.31l50.06,50.06A8,8,0,0,1,229.66,229.66ZM112,184a72,72,0,1,0-72-72A72.08,72.08,0,0,0,112,184Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M228.24,219.76l-51.38-51.38a86.15,86.15,0,1,0-8.48,8.48l51.38,51.38a6,6,0,0,0,8.48-8.48ZM38,112a74,74,0,1,1,74,74A74.09,74.09,0,0,1,38,112Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M226.83,221.17l-52.7-52.7a84.1,84.1,0,1,0-5.66,5.66l52.7,52.7a4,4,0,0,0,5.66-5.66ZM36,112a76,76,0,1,1,76,76A76.08,76.08,0,0,1,36,112Z"}))]]),Fv=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm56.49-92.49a12,12,0,0,1-17,17L162,131l-5.51,5.52a12,12,0,0,1-17-17L145,114l-5.52-5.51a12,12,0,0,1,17-17L162,97l5.51-5.52a12,12,0,0,1,17,17L179,114Zm-68,17a12,12,0,0,1-17,0L94,131l-5.51,5.52a12,12,0,0,1-17-17L77,114l-5.52-5.51a12,12,0,0,1,17-17L94,97l5.51-5.52a12,12,0,0,1,17,17L111,114l5.52,5.51A12,12,0,0,1,116.49,136.49ZM144,180a16,16,0,1,1-16-16A16,16,0,0,1,144,180Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),d.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm61.66-93.66a8,8,0,0,1-11.32,11.32L168,123.31l-10.34,10.35a8,8,0,0,1-11.32-11.32L156.69,112l-10.35-10.34a8,8,0,0,1,11.32-11.32L168,100.69l10.34-10.35a8,8,0,0,1,11.32,11.32L179.31,112Zm-80-20.68L99.31,112l10.35,10.34a8,8,0,0,1-11.32,11.32L88,123.31,77.66,133.66a8,8,0,0,1-11.32-11.32L76.69,112,66.34,101.66A8,8,0,0,1,77.66,90.34L88,100.69,98.34,90.34a8,8,0,0,1,11.32,11.32ZM140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.13,104.13,0,0,0,128,24Zm-18.34,98.34a8,8,0,0,1-11.32,11.32L88,123.31,77.66,133.66a8,8,0,0,1-11.32-11.32L76.69,112,66.34,101.66A8,8,0,0,1,77.66,90.34L88,100.69,98.34,90.34a8,8,0,0,1,11.32,11.32L99.31,112ZM128,192a12,12,0,1,1,12-12A12,12,0,0,1,128,192Zm61.66-69.66a8,8,0,0,1-11.32,11.32L168,123.31l-10.34,10.35a8,8,0,0,1-11.32-11.32L156.69,112l-10.35-10.34a8,8,0,0,1,11.32-11.32L168,100.69l10.34-10.35a8,8,0,0,1,11.32,11.32L179.31,112Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm60.24-117.76L176.49,112l11.75,11.76a6,6,0,1,1-8.48,8.48L168,120.49l-11.76,11.75a6,6,0,0,1-8.48-8.48L159.51,112l-11.75-11.76a6,6,0,0,1,8.48-8.48L168,103.51l11.76-11.75a6,6,0,0,1,8.48,8.48Zm-80,0L96.49,112l11.75,11.76a6,6,0,1,1-8.48,8.48L88,120.49,76.24,132.24a6,6,0,0,1-8.48-8.48L79.51,112,67.76,100.24a6,6,0,0,1,8.48-8.48L88,103.51,99.76,91.76a6,6,0,0,1,8.48,8.48ZM138,180a10,10,0,1,1-10-10A10,10,0,0,1,138,180Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm61.66-93.66a8,8,0,0,1-11.32,11.32L168,123.31l-10.34,10.35a8,8,0,0,1-11.32-11.32L156.69,112l-10.35-10.34a8,8,0,0,1,11.32-11.32L168,100.69l10.34-10.35a8,8,0,0,1,11.32,11.32L179.31,112Zm-80-20.68L99.31,112l10.35,10.34a8,8,0,0,1-11.32,11.32L88,123.31,77.66,133.66a8,8,0,0,1-11.32-11.32L76.69,112,66.34,101.66A8,8,0,0,1,77.66,90.34L88,100.69,98.34,90.34a8,8,0,0,1,11.32,11.32ZM140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220ZM186.83,98.83,173.66,112l13.17,13.17a4,4,0,0,1-5.66,5.66L168,117.66l-13.17,13.17a4,4,0,0,1-5.66-5.66L162.34,112,149.17,98.83a4,4,0,0,1,5.66-5.66L168,106.34l13.17-13.17a4,4,0,1,1,5.66,5.66Zm-80,0L93.66,112l13.17,13.17a4,4,0,0,1-5.66,5.66L88,117.66,74.83,130.83a4,4,0,0,1-5.66-5.66L82.34,112,69.17,98.83a4,4,0,0,1,5.66-5.66L88,106.34l13.17-13.17a4,4,0,0,1,5.66,5.66ZM136,180a8,8,0,1,1-8-8A8,8,0,0,1,136,180Z"}))]]),zv=d.createContext({color:"currentColor",size:"1em",weight:"regular",mirrored:!1});var jv=Object.defineProperty,yo=Object.getOwnPropertySymbols,_d=Object.prototype.hasOwnProperty,Cd=Object.prototype.propertyIsEnumerable,yc=(t,r,i)=>r in t?jv(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i,bc=(t,r)=>{for(var i in r||(r={}))_d.call(r,i)&&yc(t,i,r[i]);if(yo)for(var i of yo(r))Cd.call(r,i)&&yc(t,i,r[i]);return t},xc=(t,r)=>{var i={};for(var s in t)_d.call(t,s)&&r.indexOf(s)<0&&(i[s]=t[s]);if(t!=null&&yo)for(var s of yo(t))r.indexOf(s)<0&&Cd.call(t,s)&&(i[s]=t[s]);return i};const Sd=d.forwardRef((t,r)=>{const i=t,{alt:s,color:l,size:u,weight:f,mirrored:h,children:g,weights:v}=i,_=xc(i,["alt","color","size","weight","mirrored","children","weights"]),S=d.useContext(zv),{color:E="currentColor",size:x,weight:C="regular",mirrored:F=!1}=S,R=xc(S,["color","size","weight","mirrored"]);return d.createElement("svg",bc(bc({ref:r,xmlns:"http://www.w3.org/2000/svg",width:u??x,height:u??x,fill:l??E,viewBox:"0 0 256 256",transform:h||F?"scale(-1, 1)":void 0},R),_),!!s&&d.createElement("title",null,s),g,v.get(f??C))});Sd.displayName="IconBase";const dn=Sd;var Bv=Object.defineProperty,Pv=Object.defineProperties,Wv=Object.getOwnPropertyDescriptors,wc=Object.getOwnPropertySymbols,Dv=Object.prototype.hasOwnProperty,Hv=Object.prototype.propertyIsEnumerable,_c=(t,r,i)=>r in t?Bv(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i,Zv=(t,r)=>{for(var i in r||(r={}))Dv.call(r,i)&&_c(t,i,r[i]);if(wc)for(var i of wc(r))Hv.call(r,i)&&_c(t,i,r[i]);return t},Vv=(t,r)=>Pv(t,Wv(r));const Ed=d.forwardRef((t,r)=>d.createElement(dn,Vv(Zv({ref:r},t),{weights:Av})));Ed.displayName="CaretDoubleLeft";var Nv=Object.defineProperty,Uv=Object.defineProperties,qv=Object.getOwnPropertyDescriptors,Cc=Object.getOwnPropertySymbols,Gv=Object.prototype.hasOwnProperty,Kv=Object.prototype.propertyIsEnumerable,Sc=(t,r,i)=>r in t?Nv(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i,Xv=(t,r)=>{for(var i in r||(r={}))Gv.call(r,i)&&Sc(t,i,r[i]);if(Cc)for(var i of Cc(r))Kv.call(r,i)&&Sc(t,i,r[i]);return t},Yv=(t,r)=>Uv(t,qv(r));const Ad=d.forwardRef((t,r)=>d.createElement(dn,Yv(Xv({ref:r},t),{weights:$v})));Ad.displayName="CaretDoubleRight";var Qv=Object.defineProperty,Jv=Object.defineProperties,ey=Object.getOwnPropertyDescriptors,Ec=Object.getOwnPropertySymbols,ty=Object.prototype.hasOwnProperty,ny=Object.prototype.propertyIsEnumerable,Ac=(t,r,i)=>r in t?Qv(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i,ry=(t,r)=>{for(var i in r||(r={}))ty.call(r,i)&&Ac(t,i,r[i]);if(Ec)for(var i of Ec(r))ny.call(r,i)&&Ac(t,i,r[i]);return t},iy=(t,r)=>Jv(t,ey(r));const La=d.forwardRef((t,r)=>d.createElement(dn,iy(ry({ref:r},t),{weights:kv})));La.displayName="CaretDown";var oy=Object.defineProperty,sy=Object.defineProperties,ay=Object.getOwnPropertyDescriptors,$c=Object.getOwnPropertySymbols,ly=Object.prototype.hasOwnProperty,uy=Object.prototype.propertyIsEnumerable,kc=(t,r,i)=>r in t?oy(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i,cy=(t,r)=>{for(var i in r||(r={}))ly.call(r,i)&&kc(t,i,r[i]);if($c)for(var i of $c(r))uy.call(r,i)&&kc(t,i,r[i]);return t},fy=(t,r)=>sy(t,ay(r));const Oa=d.forwardRef((t,r)=>d.createElement(dn,fy(cy({ref:r},t),{weights:Tv})));Oa.displayName="CaretLeft";var dy=Object.defineProperty,hy=Object.defineProperties,py=Object.getOwnPropertyDescriptors,Tc=Object.getOwnPropertySymbols,gy=Object.prototype.hasOwnProperty,my=Object.prototype.propertyIsEnumerable,Rc=(t,r,i)=>r in t?dy(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i,vy=(t,r)=>{for(var i in r||(r={}))gy.call(r,i)&&Rc(t,i,r[i]);if(Tc)for(var i of Tc(r))my.call(r,i)&&Rc(t,i,r[i]);return t},yy=(t,r)=>hy(t,py(r));const gi=d.forwardRef((t,r)=>d.createElement(dn,yy(vy({ref:r},t),{weights:Rv})));gi.displayName="CaretRight";var by=Object.defineProperty,xy=Object.defineProperties,wy=Object.getOwnPropertyDescriptors,Lc=Object.getOwnPropertySymbols,_y=Object.prototype.hasOwnProperty,Cy=Object.prototype.propertyIsEnumerable,Oc=(t,r,i)=>r in t?by(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i,Sy=(t,r)=>{for(var i in r||(r={}))_y.call(r,i)&&Oc(t,i,r[i]);if(Lc)for(var i of Lc(r))Cy.call(r,i)&&Oc(t,i,r[i]);return t},Ey=(t,r)=>xy(t,wy(r));const $d=d.forwardRef((t,r)=>d.createElement(dn,Ey(Sy({ref:r},t),{weights:Lv})));$d.displayName="Check";var Ay=Object.defineProperty,$y=Object.defineProperties,ky=Object.getOwnPropertyDescriptors,Ic=Object.getOwnPropertySymbols,Ty=Object.prototype.hasOwnProperty,Ry=Object.prototype.propertyIsEnumerable,Mc=(t,r,i)=>r in t?Ay(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i,Ly=(t,r)=>{for(var i in r||(r={}))Ty.call(r,i)&&Mc(t,i,r[i]);if(Ic)for(var i of Ic(r))Ry.call(r,i)&&Mc(t,i,r[i]);return t},Oy=(t,r)=>$y(t,ky(r));const kd=d.forwardRef((t,r)=>d.createElement(dn,Oy(Ly({ref:r},t),{weights:Ov})));kd.displayName="Eye";var Iy=Object.defineProperty,My=Object.defineProperties,Fy=Object.getOwnPropertyDescriptors,Fc=Object.getOwnPropertySymbols,zy=Object.prototype.hasOwnProperty,jy=Object.prototype.propertyIsEnumerable,zc=(t,r,i)=>r in t?Iy(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i,By=(t,r)=>{for(var i in r||(r={}))zy.call(r,i)&&zc(t,i,r[i]);if(Fc)for(var i of Fc(r))jy.call(r,i)&&zc(t,i,r[i]);return t},Py=(t,r)=>My(t,Fy(r));const Td=d.forwardRef((t,r)=>d.createElement(dn,Py(By({ref:r},t),{weights:Iv})));Td.displayName="EyeSlash";var Wy=Object.defineProperty,Dy=Object.defineProperties,Hy=Object.getOwnPropertyDescriptors,jc=Object.getOwnPropertySymbols,Zy=Object.prototype.hasOwnProperty,Vy=Object.prototype.propertyIsEnumerable,Bc=(t,r,i)=>r in t?Wy(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i,Ny=(t,r)=>{for(var i in r||(r={}))Zy.call(r,i)&&Bc(t,i,r[i]);if(jc)for(var i of jc(r))Vy.call(r,i)&&Bc(t,i,r[i]);return t},Uy=(t,r)=>Dy(t,Hy(r));const Rd=d.forwardRef((t,r)=>d.createElement(dn,Uy(Ny({ref:r},t),{weights:Mv})));Rd.displayName="MagnifyingGlass";var qy=Object.defineProperty,Gy=Object.defineProperties,Ky=Object.getOwnPropertyDescriptors,Pc=Object.getOwnPropertySymbols,Xy=Object.prototype.hasOwnProperty,Yy=Object.prototype.propertyIsEnumerable,Wc=(t,r,i)=>r in t?qy(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i,Qy=(t,r)=>{for(var i in r||(r={}))Xy.call(r,i)&&Wc(t,i,r[i]);if(Pc)for(var i of Pc(r))Yy.call(r,i)&&Wc(t,i,r[i]);return t},Jy=(t,r)=>Gy(t,Ky(r));const Ld=d.forwardRef((t,r)=>d.createElement(dn,Jy(Qy({ref:r},t),{weights:Fv})));Ld.displayName="SmileyXEyes";function eb(t){const r=d.useRef(void 0);return d.useEffect(()=>{r.current=t},[t]),r.current}const tb=Dn.keyframes`
|
|
31
|
+
`}));return lt`${a}`},Ab={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"}},Tb={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"}},Rb={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"}},Ib={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"}},x0={...Ab,...Tb,...Rb,...Ib},v0=["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"],ml=["absoluteFill","fullWidth","fullHeight","fw","fh"],w0={absoluteFill:{position:"absolute",top:0,bottom:0,left:0,right:0},fullWidth:{width:"100%"},fullHeight:{height:"100%"},fw:{width:"100%"},fh:{height:"100%"}},_0=(e,n,i)=>{const s=x0[n],a=i[n];if(!a)return;const{scale:l,property:d}=s;switch(l){case"colors":return{[d]:Yt(a,f=>e.colors[f])};case"spaces":return{[d]:Yt(a,f=>e.spaces[f])};case"radii":return{[d]:Yt(a,f=>e.radii[f])};case"borderWidths":return{[d]:Yt(a,f=>e.borderWidths[f])}}},C0=(e,n)=>Object.keys(n).reduce((s,a)=>({...s,..._0(e,a,n)}),{}),Mb=e=>ml.reduce((n,i)=>e[i]?{...n,...w0[i]}:n,{}),S0=Object.keys(x0),E0=(e,n)=>{const i=Ze.pick(n,S0),s=Ze.pick(n,[...v0]),a=Ze.pick(n,[...ml]);return Xr({...C0(e,i),...Mb(a),...s})},k0=le.div(({theme:e,...n})=>E0(e,n));function Fb({children:e,style:n,"data-testid":i,...s},a){return m.jsx(k0,{...s,style:n,ref:a,"data-testid":i,children:e})}const L=c.forwardRef(Fb),vt=(e,n)=>typeof n=="number"?`${n}px`:Ze.isString(n)?mr(n)?`${e.sizes[n]}px`:n:"auto",$0=e=>new RegExp("\\p{Emoji}","u").test(e)&&e.length<=2,A0=e=>Ze.isString(e)&&e.includes("icon-"),T0=e=>{const n=[".jpg",".jpeg",".png",".gif",".webp",".svg"],i=e.toLowerCase();return Ze.isString(e)&&(n.some(s=>i.endsWith(s))||e.startsWith("data:image/")||e.startsWith("http"))},R0=e=>Ze.isString(e)&&e.startsWith("<svg"),I0=({art:e,width:n,height:i,style:s,"data-testid":a,...l})=>{const d=ye(),f=d.__hd__.art.defaultBrandSize||d.__hd__.art.defaultSize,h=vt(d,n??f),p=vt(d,i??f);return m.jsx(L,{display:"flex",alignItems:"center",justifyContent:"center",width:h,height:p,style:s,"data-testid":a,...l,children:e})},M0=({art:e,size:n,style:i,"data-testid":s,...a})=>{const l=ye(),d=l.__hd__.art.defaultEmojiSize||l.__hd__.art.defaultSize,f=vt(l,n??d),h=typeof f=="string"&&f.endsWith("px")?parseInt(f,10):l.__hd__.text.fontSizes[d]??24,p=l.__hd__.text.lineHeights[d]?`${l.__hd__.text.lineHeights[d]/h}`:"1";return m.jsx(L,{display:"flex",alignItems:"center",justifyContent:"center",width:f,height:f,style:{...i,fontSize:f,lineHeight:p},"data-testid":s,...a,children:e})},yl=({art:e,size:n,color:i="currentColor",weight:s="regular",style:a,"data-testid":l,...d})=>{const f=ye(),h=f.__hd__.art.defaultIconSize||f.__hd__.art.defaultSize,p=vt(f,n??h),b=e;if(!b)return process.env.NODE_ENV!=="production"&&console.warn(`[IconArt] Icon component not found for art="${e}". This should not happen with TypeScript checks.`),null;const v=Df(i)?f.colors[i]:i;return m.jsx(L,{display:"flex",alignItems:"center",justifyContent:"center",width:p,height:p,style:a,"data-testid":l,...d,children:m.jsx(b,{size:p,color:v,weight:s,style:a})})},Ob=new Map([["bold",c.createElement(c.Fragment,null,c.createElement("path",{d:"M224.49,136.49l-72,72a12,12,0,0,1-17-17L187,140H40a12,12,0,0,1,0-24H187L135.51,64.48a12,12,0,0,1,17-17l72,72A12,12,0,0,1,224.49,136.49Z"}))],["duotone",c.createElement(c.Fragment,null,c.createElement("path",{d:"M216,128l-72,72V56Z",opacity:"0.2"}),c.createElement("path",{d:"M221.66,122.34l-72-72A8,8,0,0,0,136,56v64H40a8,8,0,0,0,0,16h96v64a8,8,0,0,0,13.66,5.66l72-72A8,8,0,0,0,221.66,122.34ZM152,180.69V75.31L204.69,128Z"}))],["fill",c.createElement(c.Fragment,null,c.createElement("path",{d:"M221.66,133.66l-72,72A8,8,0,0,1,136,200V136H40a8,8,0,0,1,0-16h96V56a8,8,0,0,1,13.66-5.66l72,72A8,8,0,0,1,221.66,133.66Z"}))],["light",c.createElement(c.Fragment,null,c.createElement("path",{d:"M220.24,132.24l-72,72a6,6,0,0,1-8.48-8.48L201.51,134H40a6,6,0,0,1,0-12H201.51L139.76,60.24a6,6,0,0,1,8.48-8.48l72,72A6,6,0,0,1,220.24,132.24Z"}))],["regular",c.createElement(c.Fragment,null,c.createElement("path",{d:"M221.66,133.66l-72,72a8,8,0,0,1-11.32-11.32L196.69,136H40a8,8,0,0,1,0-16H196.69L138.34,61.66a8,8,0,0,1,11.32-11.32l72,72A8,8,0,0,1,221.66,133.66Z"}))],["thin",c.createElement(c.Fragment,null,c.createElement("path",{d:"M218.83,130.83l-72,72a4,4,0,0,1-5.66-5.66L206.34,132H40a4,4,0,0,1,0-8H206.34L141.17,58.83a4,4,0,0,1,5.66-5.66l72,72A4,4,0,0,1,218.83,130.83Z"}))]]),zb=new Map([["bold",c.createElement(c.Fragment,null,c.createElement("path",{d:"M208,28H188V24a12,12,0,0,0-24,0v4H92V24a12,12,0,0,0-24,0v4H48A20,20,0,0,0,28,48V208a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V48A20,20,0,0,0,208,28ZM68,52a12,12,0,0,0,24,0h72a12,12,0,0,0,24,0h16V76H52V52ZM52,204V100H204V204Z"}))],["duotone",c.createElement(c.Fragment,null,c.createElement("path",{d:"M216,48V88H40V48a8,8,0,0,1,8-8H208A8,8,0,0,1,216,48Z",opacity:"0.2"}),c.createElement("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM72,48v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80H48V48ZM208,208H48V96H208V208Z"}))],["fill",c.createElement(c.Fragment,null,c.createElement("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32Zm0,48H48V48H72v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24Z"}))],["light",c.createElement(c.Fragment,null,c.createElement("path",{d:"M208,34H182V24a6,6,0,0,0-12,0V34H86V24a6,6,0,0,0-12,0V34H48A14,14,0,0,0,34,48V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V48A14,14,0,0,0,208,34ZM48,46H74V56a6,6,0,0,0,12,0V46h84V56a6,6,0,0,0,12,0V46h26a2,2,0,0,1,2,2V82H46V48A2,2,0,0,1,48,46ZM208,210H48a2,2,0,0,1-2-2V94H210V208A2,2,0,0,1,208,210Z"}))],["regular",c.createElement(c.Fragment,null,c.createElement("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM72,48v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80H48V48ZM208,208H48V96H208V208Z"}))],["thin",c.createElement(c.Fragment,null,c.createElement("path",{d:"M208,36H180V24a4,4,0,0,0-8,0V36H84V24a4,4,0,0,0-8,0V36H48A12,12,0,0,0,36,48V208a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V48A12,12,0,0,0,208,36ZM48,44H76V56a4,4,0,0,0,8,0V44h88V56a4,4,0,0,0,8,0V44h28a4,4,0,0,1,4,4V84H44V48A4,4,0,0,1,48,44ZM208,212H48a4,4,0,0,1-4-4V92H212V208A4,4,0,0,1,208,212Z"}))]]),Lb=new Map([["bold",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.createElement("path",{d:"M200,48V208l-80-80Z",opacity:"0.2"}),c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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"}))]]),jb=new Map([["bold",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.createElement("path",{d:"M136,128,56,208V48Z",opacity:"0.2"}),c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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"}))]]),Db=new Map([["bold",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.createElement("path",{d:"M208,96l-80,80L48,96Z",opacity:"0.2"}),c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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"}))]]),Pb=new Map([["bold",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.createElement("path",{d:"M160,48V208L80,128Z",opacity:"0.2"}),c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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"}))]]),Wb=new Map([["bold",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.createElement("path",{d:"M176,128,96,208V48Z",opacity:"0.2"}),c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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"}))]]),Bb=new Map([["bold",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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"}),c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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"}))]]),Hb=new Map([["bold",c.createElement(c.Fragment,null,c.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,212Zm68-84a12,12,0,0,1-12,12H128a12,12,0,0,1-12-12V72a12,12,0,0,1,24,0v44h44A12,12,0,0,1,196,128Z"}))],["duotone",c.createElement(c.Fragment,null,c.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),c.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,216Zm64-88a8,8,0,0,1-8,8H128a8,8,0,0,1-8-8V72a8,8,0,0,1,16,0v48h48A8,8,0,0,1,192,128Z"}))],["fill",c.createElement(c.Fragment,null,c.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm56,112H128a8,8,0,0,1-8-8V72a8,8,0,0,1,16,0v48h48a8,8,0,0,1,0,16Z"}))],["light",c.createElement(c.Fragment,null,c.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,218Zm62-90a6,6,0,0,1-6,6H128a6,6,0,0,1-6-6V72a6,6,0,0,1,12,0v50h50A6,6,0,0,1,190,128Z"}))],["regular",c.createElement(c.Fragment,null,c.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,216Zm64-88a8,8,0,0,1-8,8H128a8,8,0,0,1-8-8V72a8,8,0,0,1,16,0v48h48A8,8,0,0,1,192,128Z"}))],["thin",c.createElement(c.Fragment,null,c.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,220Zm60-92a4,4,0,0,1-4,4H128a4,4,0,0,1-4-4V72a4,4,0,0,1,8,0v52h52A4,4,0,0,1,188,128Z"}))]]),Zb=new Map([["bold",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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"}),c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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"}))]]),Vb=new Map([["bold",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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"}),c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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"}))]]),Nb=new Map([["bold",c.createElement(c.Fragment,null,c.createElement("path",{d:"M232.49,215.51,185,168a92.12,92.12,0,1,0-17,17l47.53,47.54a12,12,0,0,0,17-17ZM44,112a68,68,0,1,1,68,68A68.07,68.07,0,0,1,44,112Z"}))],["duotone",c.createElement(c.Fragment,null,c.createElement("path",{d:"M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z",opacity:"0.2"}),c.createElement("path",{d:"M229.66,218.34,179.6,168.28a88.21,88.21,0,1,0-11.32,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"}))],["fill",c.createElement(c.Fragment,null,c.createElement("path",{d:"M168,112a56,56,0,1,1-56-56A56,56,0,0,1,168,112Zm61.66,117.66a8,8,0,0,1-11.32,0l-50.06-50.07a88,88,0,1,1,11.32-11.31l50.06,50.06A8,8,0,0,1,229.66,229.66ZM112,184a72,72,0,1,0-72-72A72.08,72.08,0,0,0,112,184Z"}))],["light",c.createElement(c.Fragment,null,c.createElement("path",{d:"M228.24,219.76l-51.38-51.38a86.15,86.15,0,1,0-8.48,8.48l51.38,51.38a6,6,0,0,0,8.48-8.48ZM38,112a74,74,0,1,1,74,74A74.09,74.09,0,0,1,38,112Z"}))],["regular",c.createElement(c.Fragment,null,c.createElement("path",{d:"M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"}))],["thin",c.createElement(c.Fragment,null,c.createElement("path",{d:"M226.83,221.17l-52.7-52.7a84.1,84.1,0,1,0-5.66,5.66l52.7,52.7a4,4,0,0,0,5.66-5.66ZM36,112a76,76,0,1,1,76,76A76.08,76.08,0,0,1,36,112Z"}))]]),Ub=new Map([["bold",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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"}))]]),Gb=new Map([["bold",c.createElement(c.Fragment,null,c.createElement("path",{d:"M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z"}))],["duotone",c.createElement(c.Fragment,null,c.createElement("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"}),c.createElement("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["fill",c.createElement(c.Fragment,null,c.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["light",c.createElement(c.Fragment,null,c.createElement("path",{d:"M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z"}))],["regular",c.createElement(c.Fragment,null,c.createElement("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["thin",c.createElement(c.Fragment,null,c.createElement("path",{d:"M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z"}))]]),qb=c.createContext({color:"currentColor",size:"1em",weight:"regular",mirrored:!1});var Kb=Object.defineProperty,es=Object.getOwnPropertySymbols,F0=Object.prototype.hasOwnProperty,O0=Object.prototype.propertyIsEnumerable,ld=(e,n,i)=>n in e?Kb(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,cd=(e,n)=>{for(var i in n||(n={}))F0.call(n,i)&&ld(e,i,n[i]);if(es)for(var i of es(n))O0.call(n,i)&&ld(e,i,n[i]);return e},ud=(e,n)=>{var i={};for(var s in e)F0.call(e,s)&&n.indexOf(s)<0&&(i[s]=e[s]);if(e!=null&&es)for(var s of es(e))n.indexOf(s)<0&&O0.call(e,s)&&(i[s]=e[s]);return i};const z0=c.forwardRef((e,n)=>{const i=e,{alt:s,color:a,size:l,weight:d,mirrored:f,children:h,weights:p}=i,b=ud(i,["alt","color","size","weight","mirrored","children","weights"]),v=c.useContext(qb),{color:w="currentColor",size:_,weight:C="regular",mirrored:I=!1}=v,k=ud(v,["color","size","weight","mirrored"]);return c.createElement("svg",cd(cd({ref:n,xmlns:"http://www.w3.org/2000/svg",width:l??_,height:l??_,fill:a??w,viewBox:"0 0 256 256",transform:f||I?"scale(-1, 1)":void 0},k),b),!!s&&c.createElement("title",null,s),h,p.get(d??C))});z0.displayName="IconBase";const Bt=z0;var Yb=Object.defineProperty,Xb=Object.defineProperties,Qb=Object.getOwnPropertyDescriptors,dd=Object.getOwnPropertySymbols,Jb=Object.prototype.hasOwnProperty,ex=Object.prototype.propertyIsEnumerable,fd=(e,n,i)=>n in e?Yb(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,tx=(e,n)=>{for(var i in n||(n={}))Jb.call(n,i)&&fd(e,i,n[i]);if(dd)for(var i of dd(n))ex.call(n,i)&&fd(e,i,n[i]);return e},nx=(e,n)=>Xb(e,Qb(n));const bl=c.forwardRef((e,n)=>c.createElement(Bt,nx(tx({ref:n},e),{weights:Ob})));bl.displayName="ArrowRight";var rx=Object.defineProperty,ix=Object.defineProperties,ox=Object.getOwnPropertyDescriptors,hd=Object.getOwnPropertySymbols,sx=Object.prototype.hasOwnProperty,ax=Object.prototype.propertyIsEnumerable,pd=(e,n,i)=>n in e?rx(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,lx=(e,n)=>{for(var i in n||(n={}))sx.call(n,i)&&pd(e,i,n[i]);if(hd)for(var i of hd(n))ax.call(n,i)&&pd(e,i,n[i]);return e},cx=(e,n)=>ix(e,ox(n));const xl=c.forwardRef((e,n)=>c.createElement(Bt,cx(lx({ref:n},e),{weights:zb})));xl.displayName="CalendarBlank";var ux=Object.defineProperty,dx=Object.defineProperties,fx=Object.getOwnPropertyDescriptors,gd=Object.getOwnPropertySymbols,hx=Object.prototype.hasOwnProperty,px=Object.prototype.propertyIsEnumerable,md=(e,n,i)=>n in e?ux(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,gx=(e,n)=>{for(var i in n||(n={}))hx.call(n,i)&&md(e,i,n[i]);if(gd)for(var i of gd(n))px.call(n,i)&&md(e,i,n[i]);return e},mx=(e,n)=>dx(e,fx(n));const L0=c.forwardRef((e,n)=>c.createElement(Bt,mx(gx({ref:n},e),{weights:Lb})));L0.displayName="CaretDoubleLeft";var yx=Object.defineProperty,bx=Object.defineProperties,xx=Object.getOwnPropertyDescriptors,yd=Object.getOwnPropertySymbols,vx=Object.prototype.hasOwnProperty,wx=Object.prototype.propertyIsEnumerable,bd=(e,n,i)=>n in e?yx(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,_x=(e,n)=>{for(var i in n||(n={}))vx.call(n,i)&&bd(e,i,n[i]);if(yd)for(var i of yd(n))wx.call(n,i)&&bd(e,i,n[i]);return e},Cx=(e,n)=>bx(e,xx(n));const j0=c.forwardRef((e,n)=>c.createElement(Bt,Cx(_x({ref:n},e),{weights:jb})));j0.displayName="CaretDoubleRight";var Sx=Object.defineProperty,Ex=Object.defineProperties,kx=Object.getOwnPropertyDescriptors,xd=Object.getOwnPropertySymbols,$x=Object.prototype.hasOwnProperty,Ax=Object.prototype.propertyIsEnumerable,vd=(e,n,i)=>n in e?Sx(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,Tx=(e,n)=>{for(var i in n||(n={}))$x.call(n,i)&&vd(e,i,n[i]);if(xd)for(var i of xd(n))Ax.call(n,i)&&vd(e,i,n[i]);return e},Rx=(e,n)=>Ex(e,kx(n));const vl=c.forwardRef((e,n)=>c.createElement(Bt,Rx(Tx({ref:n},e),{weights:Db})));vl.displayName="CaretDown";var Ix=Object.defineProperty,Mx=Object.defineProperties,Fx=Object.getOwnPropertyDescriptors,wd=Object.getOwnPropertySymbols,Ox=Object.prototype.hasOwnProperty,zx=Object.prototype.propertyIsEnumerable,_d=(e,n,i)=>n in e?Ix(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,Lx=(e,n)=>{for(var i in n||(n={}))Ox.call(n,i)&&_d(e,i,n[i]);if(wd)for(var i of wd(n))zx.call(n,i)&&_d(e,i,n[i]);return e},jx=(e,n)=>Mx(e,Fx(n));const us=c.forwardRef((e,n)=>c.createElement(Bt,jx(Lx({ref:n},e),{weights:Pb})));us.displayName="CaretLeft";var Dx=Object.defineProperty,Px=Object.defineProperties,Wx=Object.getOwnPropertyDescriptors,Cd=Object.getOwnPropertySymbols,Bx=Object.prototype.hasOwnProperty,Hx=Object.prototype.propertyIsEnumerable,Sd=(e,n,i)=>n in e?Dx(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,Zx=(e,n)=>{for(var i in n||(n={}))Bx.call(n,i)&&Sd(e,i,n[i]);if(Cd)for(var i of Cd(n))Hx.call(n,i)&&Sd(e,i,n[i]);return e},Vx=(e,n)=>Px(e,Wx(n));const Qr=c.forwardRef((e,n)=>c.createElement(Bt,Vx(Zx({ref:n},e),{weights:Wb})));Qr.displayName="CaretRight";var Nx=Object.defineProperty,Ux=Object.defineProperties,Gx=Object.getOwnPropertyDescriptors,Ed=Object.getOwnPropertySymbols,qx=Object.prototype.hasOwnProperty,Kx=Object.prototype.propertyIsEnumerable,kd=(e,n,i)=>n in e?Nx(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,Yx=(e,n)=>{for(var i in n||(n={}))qx.call(n,i)&&kd(e,i,n[i]);if(Ed)for(var i of Ed(n))Kx.call(n,i)&&kd(e,i,n[i]);return e},Xx=(e,n)=>Ux(e,Gx(n));const D0=c.forwardRef((e,n)=>c.createElement(Bt,Xx(Yx({ref:n},e),{weights:Bb})));D0.displayName="Check";var Qx=Object.defineProperty,Jx=Object.defineProperties,e6=Object.getOwnPropertyDescriptors,$d=Object.getOwnPropertySymbols,t6=Object.prototype.hasOwnProperty,n6=Object.prototype.propertyIsEnumerable,Ad=(e,n,i)=>n in e?Qx(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,r6=(e,n)=>{for(var i in n||(n={}))t6.call(n,i)&&Ad(e,i,n[i]);if($d)for(var i of $d(n))n6.call(n,i)&&Ad(e,i,n[i]);return e},i6=(e,n)=>Jx(e,e6(n));const wl=c.forwardRef((e,n)=>c.createElement(Bt,i6(r6({ref:n},e),{weights:Hb})));wl.displayName="Clock";var o6=Object.defineProperty,s6=Object.defineProperties,a6=Object.getOwnPropertyDescriptors,Td=Object.getOwnPropertySymbols,l6=Object.prototype.hasOwnProperty,c6=Object.prototype.propertyIsEnumerable,Rd=(e,n,i)=>n in e?o6(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,u6=(e,n)=>{for(var i in n||(n={}))l6.call(n,i)&&Rd(e,i,n[i]);if(Td)for(var i of Td(n))c6.call(n,i)&&Rd(e,i,n[i]);return e},d6=(e,n)=>s6(e,a6(n));const P0=c.forwardRef((e,n)=>c.createElement(Bt,d6(u6({ref:n},e),{weights:Zb})));P0.displayName="Eye";var f6=Object.defineProperty,h6=Object.defineProperties,p6=Object.getOwnPropertyDescriptors,Id=Object.getOwnPropertySymbols,g6=Object.prototype.hasOwnProperty,m6=Object.prototype.propertyIsEnumerable,Md=(e,n,i)=>n in e?f6(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,y6=(e,n)=>{for(var i in n||(n={}))g6.call(n,i)&&Md(e,i,n[i]);if(Id)for(var i of Id(n))m6.call(n,i)&&Md(e,i,n[i]);return e},b6=(e,n)=>h6(e,p6(n));const W0=c.forwardRef((e,n)=>c.createElement(Bt,b6(y6({ref:n},e),{weights:Vb})));W0.displayName="EyeSlash";var x6=Object.defineProperty,v6=Object.defineProperties,w6=Object.getOwnPropertyDescriptors,Fd=Object.getOwnPropertySymbols,_6=Object.prototype.hasOwnProperty,C6=Object.prototype.propertyIsEnumerable,Od=(e,n,i)=>n in e?x6(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,S6=(e,n)=>{for(var i in n||(n={}))_6.call(n,i)&&Od(e,i,n[i]);if(Fd)for(var i of Fd(n))C6.call(n,i)&&Od(e,i,n[i]);return e},E6=(e,n)=>v6(e,w6(n));const B0=c.forwardRef((e,n)=>c.createElement(Bt,E6(S6({ref:n},e),{weights:Nb})));B0.displayName="MagnifyingGlass";var k6=Object.defineProperty,$6=Object.defineProperties,A6=Object.getOwnPropertyDescriptors,zd=Object.getOwnPropertySymbols,T6=Object.prototype.hasOwnProperty,R6=Object.prototype.propertyIsEnumerable,Ld=(e,n,i)=>n in e?k6(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,I6=(e,n)=>{for(var i in n||(n={}))T6.call(n,i)&&Ld(e,i,n[i]);if(zd)for(var i of zd(n))R6.call(n,i)&&Ld(e,i,n[i]);return e},M6=(e,n)=>$6(e,A6(n));const H0=c.forwardRef((e,n)=>c.createElement(Bt,M6(I6({ref:n},e),{weights:Ub})));H0.displayName="SmileyXEyes";var F6=Object.defineProperty,O6=Object.defineProperties,z6=Object.getOwnPropertyDescriptors,jd=Object.getOwnPropertySymbols,L6=Object.prototype.hasOwnProperty,j6=Object.prototype.propertyIsEnumerable,Dd=(e,n,i)=>n in e?F6(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,D6=(e,n)=>{for(var i in n||(n={}))L6.call(n,i)&&Dd(e,i,n[i]);if(jd)for(var i of jd(n))j6.call(n,i)&&Dd(e,i,n[i]);return e},P6=(e,n)=>O6(e,z6(n));const ds=c.forwardRef((e,n)=>c.createElement(Bt,P6(D6({ref:n},e),{weights:Gb})));ds.displayName="X";function W6(e){const n=c.useRef(void 0);return c.useEffect(()=>{n.current=e},[e]),n.current}const B6=er.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
|
+
`,H6=le.div`
|
|
39
39
|
width: 100%;
|
|
40
40
|
height: 100%;
|
|
41
|
-
border-radius: ${({theme:
|
|
42
|
-
background: ${({theme:
|
|
41
|
+
border-radius: ${({theme:e,$variant:n})=>{const i=e.__hd__.skeleton.container[n].borderRadius;switch(n){case"circle":return`${e.radii[i]}px`;case"rounded":return`${e.radii[i]}px`;default:return`${e.radii[i]}px`}}};
|
|
42
|
+
background: ${({theme:e,$visible:n})=>{const i=e.__hd__.skeleton.animation.gradient,s=e.colors[i.start],a=e.colors[i.middle],l=e.colors[i.end];return n?`linear-gradient(
|
|
43
43
|
to right,
|
|
44
44
|
${s} 8%,
|
|
45
|
-
${
|
|
46
|
-
${
|
|
45
|
+
${a} 18%,
|
|
46
|
+
${l} 33%
|
|
47
47
|
)`:s}};
|
|
48
|
-
opacity: ${({theme:
|
|
49
|
-
transition: background ${({theme:
|
|
48
|
+
opacity: ${({theme:e,$variant:n})=>e.__hd__.skeleton.container[n].opacity};
|
|
49
|
+
transition: background ${({theme:e})=>e.__hd__.skeleton.animation.transition.backgroundDuration}ms ease-in-out;
|
|
50
50
|
background-size: 800px 100px;
|
|
51
|
-
animation: ${
|
|
51
|
+
animation: ${B6} ${({theme:e,$duration:n})=>n||e.__hd__.skeleton.animation.duration}ms linear infinite;
|
|
52
52
|
will-change: background-position;
|
|
53
53
|
transform: translateZ(0); /* Force hardware acceleration */
|
|
54
|
-
`,
|
|
54
|
+
`,Z6=({visible:e,variant:n,animationDuration:i,children:s,...a})=>{const l=ye(),[d,f]=c.useState(e),h=c.useDeferredValue(e),p=c.useDeferredValue(d),b=l.__hd__.skeleton.animation.transition.backgroundDuration,v=l.__hd__.skeleton.animation.transition.contentFadeDuration;return c.useEffect(()=>{let w;return h?f(!0):w=setTimeout(()=>{f(!1)},b),()=>{w&&clearTimeout(w)}},[b,h]),m.jsxs(L,{...a,position:"relative",children:[m.jsx(L,{fw:!0,fh:!0,position:"relative",opacity:e?0:1,transition:`opacity ${v}ms ease-in-out`,children:s}),(e||h||d||p)&&m.jsx(L,{absoluteFill:!0,opacity:e&&d?1:0,transition:`opacity ${b}ms ease-in-out`,children:m.jsx(H6,{$variant:n,$duration:i,$visible:!0})})]})},Hi=({visible:e=!0,variant:n="rectangle",children:i,animationDuration:s=1500,...a})=>m.jsx(Z6,{visible:e,variant:n,animationDuration:s,...a,children:i}),V6=le.p.attrs(({as:e})=>({as:e||"p"}))(({$themeFontSize:e,$themeFontWeight:n,$themeColor:i,$themeTypeface:s,theme:a,$textAlign:l,$textTransform:d,$textDecoration:f,$numberOfLines:h})=>{const p=a,b=Yt(n,_=>p.__hd__.text.fontWeights[_]),v={fontSize:Yt(e,_=>`${p.__hd__.text.fontSizes[_]}px`),lineHeight:Yt(e,_=>`${p.__hd__.text.lineHeights[_]}px`),letterSpacing:Yt(e,_=>`${p.__hd__.text.fontSizes[_]*.03}px`)},w=h?m0({numberOfLines:h,themeFontSize:e},({numberOfLines:_,themeFontSize:C})=>({display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:_,minHeight:`${p.__hd__.text.lineHeights[C]*_}px`,maxHeight:`${p.__hd__.text.lineHeights[C]*_}px`,overflow:"hidden"})):{};return Xr({...v,...w,fontFamily:Yt(s,_=>p.fonts[_]),fontWeight:b,color:Yt(i,_=>p.colors[_]),textAlign:l,textTransform:d,textDecoration:f,margin:0})}),Z0=[{pattern:/<strong>(.*?)<\/strong>/g,props:{fontWeight:"bold"}}],N6=(e,n,i)=>{if(typeof e!="string")return e;let s=0;const a=[];return Z0.forEach(({pattern:l,props:d})=>{Array.from(e.matchAll(l)).forEach(h=>{const[p,b]=h,v=h.index;v>s&&a.push(e.slice(s,v)),a.push(c.createElement(n,{...i,...d,key:v},b)),s=v+p.length})}),s<e.length&&a.push(e.slice(s)),a},U6=e=>function(i){const{useRichText:s=!1,children:a}=i;if(!s||typeof a!="string")return m.jsx(e,{...i,children:a});const l=N6(a.toString(),e,i);return m.jsx(e,{...i,children:l})};function G6({children:e,fontSize:n="medium",fontWeight:i="regular",color:s="grey900",typeface:a="neutral",textAlign:l,textTransform:d,textDecoration:f,numberOfLines:h,"data-testid":p,as:b="p",...v},w){return m.jsx(V6,{...v,$themeFontSize:n,$themeFontWeight:i,$themeColor:s,$themeTypeface:a,$textAlign:l,$textTransform:d,$textDecoration:f,ref:w,"data-testid":p,as:b,$numberOfLines:h,children:e})}const q6=c.forwardRef(G6),Qe=U6(q6),K6=()=>m.jsxs(L,{display:"flex",alignItems:"center",justifyContent:"center",gap:"2xs",children:[m.jsx(yl,{art:H0,size:"sm",color:"grey600"}),m.jsx(Qe,{fontSize:"xs",color:"grey600",children:"Error"})]}),Y6=le.img`
|
|
55
55
|
width: 100%;
|
|
56
56
|
height: 100%;
|
|
57
|
-
object-fit: ${({$objectFit:
|
|
58
|
-
object-position: ${({$objectPosition:
|
|
59
|
-
aspect-ratio: ${({$aspectRatio:
|
|
60
|
-
mix-blend-mode: ${({$mixBlendMode:
|
|
61
|
-
image-rendering: ${({$imageRendering:
|
|
62
|
-
`,Id=({art:t,width:r,height:i,style:s,"data-testid":l,alt:u,fallback:f,useSkeleton:h=!0,objectFit:g,objectPosition:v,aspectRatio:_,mixBlendMode:S,imageRendering:E,...x})=>{const C=xe(),[F,R]=d.useState(!0),[I,T]=d.useState(!1),k=C.__hd__.art.defaultImageSize||C.__hd__.art.defaultSize,O=Dt(r,Ce=>wt(C,Ce??k)),M=Dt(i,Ce=>wt(C,Ce??k)),N=x.r||x.radius||x.borderRadius||"md",V=eb(t);d.useEffect(()=>{!ze.isNil(V)&&V!==t&&(R(!0),T(!1))},[t,V]);const Q=()=>{R(!1)},pe=()=>{T(!0),R(!1)};return y.jsx(X,{display:"flex",alignItems:"center",justifyContent:"center",width:O,height:M,overflow:"hidden",style:s,"data-testid":l,...x,children:y.jsxs(mi,{visible:F,width:O,height:M,r:N,children:[I&&y.jsxs(X,{width:O,height:M,r:N,display:"flex",alignItems:"center",justifyContent:"center",bgColor:"grey200",children:[!F&&f,!F&&!f&&!u&&y.jsx(ht,{fontSize:"xs",color:"grey600",children:f||u}),!F&&!f&&!u&&ub()]}),!I&&(!yt()||!h)&&y.jsx(cb,{src:t,alt:ze.isString(u)?u:"Image",onLoad:Q,onError:pe,"data-testid":l?`${l}-image`:void 0,$objectFit:g,$objectPosition:v,$aspectRatio:_,$mixBlendMode:S,$imageRendering:E}),!I&&yt()&&h&&u]})})},Md=({art:t,width:r,height:i,style:s,"data-testid":l,...u})=>{const f=xe(),h=f.__hd__.art.defaultSvgSize||f.__hd__.art.defaultSize,g=wt(f,r??h),v=wt(f,i??h);return y.jsx(X,{display:"flex",alignItems:"center",justifyContent:"center",width:g,height:v,overflow:"hidden",style:s,"data-testid":l,dangerouslySetInnerHTML:{__html:t},...u})},Ht=t=>{const{art:r,type:i}=t;return i==="image"||ze.isString(r)&&yd(r)?y.jsx(Id,{...t}):i==="svg"||ze.isString(r)&&bd(r)?y.jsx(Md,{...t}):i==="emoji"||ze.isString(r)&&md(r)?y.jsx(wd,{...t}):i==="icon"||ze.isString(r)&&vd(r)?y.jsx(Ra,{...t}):i==="brand"?y.jsx(xd,{...t}):y.jsx(y.Fragment,{})},fb=t=>t==="sm"||t==="md"||t==="lg",Fd=({src:t,name:r,size:i,...s})=>{var _;const l=xe(),u=l.__hd__.avatar,f=i||u.defaultSize,h=wt(l,f);let g=u.defaultFallbackTextSize;typeof f=="string"&&fb(f)&&u.sizes[f]&&(g=u.sizes[f].fallbackTextSize);const v=u.fallbackBackgroundColor;return y.jsx(X,{width:h,height:h,r:"full",overflow:"hidden",display:"flex",alignItems:"center",justifyContent:"center",...s,children:t?y.jsx(Ht,{type:"image",art:t,width:"100%",height:"100%",objectFit:"cover"}):y.jsx(X,{width:"100%",height:"100%",bgColor:v,display:"flex",justifyContent:"center",alignItems:"center",children:y.jsx(ht,{color:"white",fontSize:g,fontWeight:"semibold",children:((_=r==null?void 0:r.charAt(0))==null?void 0:_.toUpperCase())||"U"})})})};function db(t){const[r,i]=d.useState(()=>(yt(),!1));return d.useEffect(()=>{if(yt())return;const s=window.matchMedia(t),l=u=>{i(u.matches)};return s.addEventListener?s.addEventListener("change",l):s.addListener(l),i(s.matches),()=>{s.removeEventListener?s.removeEventListener("change",l):s.removeListener(l)}},[t]),r}const Fr=(t="xl")=>{const[r,i]=d.useState(()=>(typeof window>"u"||!window.matchMedia,t));return d.useEffect(()=>{if(yt())return;const l=["xl","lg","md","sm"].map(h=>({key:h,mql:window.matchMedia(`(min-width: ${pi[h]}px)`)})),u=()=>{for(const{key:h,mql:g}of l)if(g.matches)return h;return"xs"},f=()=>{i(u())};return f(),l.forEach(({mql:h})=>{h.addEventListener?h.addEventListener("change",f):h.addListener(f)}),()=>{l.forEach(({mql:h})=>{h.removeEventListener?h.removeEventListener("change",f):h.removeListener(f)})}},[]),r};function hb(){const{innerWidth:t,innerHeight:r}=window;return{width:t,height:r}}const zd=()=>{const[t,r]=d.useState(()=>yt()?{width:void 0,height:void 0}:{width:void 0,height:void 0});return d.useEffect(()=>{if(yt())return;function i(){r(hb())}return i(),window.addEventListener("resize",i),()=>window.removeEventListener("resize",i)},[]),t},or=typeof window<"u"?d.useLayoutEffect:d.useEffect;function ha(t,r,i,s){const l=d.useRef(r);or(()=>{l.current=r},[r]),d.useEffect(()=>{const u=(i==null?void 0:i.current)??window;if(!(u&&u.addEventListener))return;const f=h=>{l.current(h)};return u.addEventListener(t,f,s),()=>{u.removeEventListener(t,f,s)}},[t,i,s])}function $o(t){const[r,i]=d.useState(!1),s=Fr(),l=s==="xs"||s==="sm",u=()=>{l||i(!0)},f=()=>{l||i(!1)};return ha("mouseenter",u,t),ha("mouseleave",f,t),l?!1:r}const pb=()=>typeof window>"u"||!window.navigator?{isMouse:!0,isTouch:!1}:window.matchMedia("(any-pointer: fine)").matches?{isMouse:!0,isTouch:!1}:window.matchMedia("(any-pointer: coarse)").matches?{isMouse:!1,isTouch:!0}:{isMouse:!0,isTouch:!1};function Ia(){const[t,r]=d.useState(pb);return d.useEffect(()=>{const i=s=>{s.pointerType==="touch"?t.isTouch||r({isMouse:!1,isTouch:!0}):s.pointerType==="mouse"&&(t.isMouse||r({isMouse:!0,isTouch:!1}))};return window.addEventListener("pointerdown",i,{passive:!0}),()=>{window.removeEventListener("pointerdown",i)}},[t]),t}var gb="2.0.3",pa=500,Dc="user-agent",Lr="",Hc="?",bo="function",Wn="undefined",Or="object",ga="string",Ot="browser",_n="cpu",fn="device",on="engine",Qt="os",kr="result",K="name",B="type",q="vendor",Y="version",It="architecture",ci="major",H="model",ai="console",Ee="mobile",qe="tablet",ct="smarttv",cn="wearable",Js="xr",li="embedded",Qr="inapp",Ma="brands",rr="formFactors",Fa="fullVersionList",Tr="platform",za="platformVersion",ko="bitness",Zn="sec-ch-ua",mb=Zn+"-full-version-list",vb=Zn+"-arch",yb=Zn+"-"+ko,bb=Zn+"-form-factors",xb=Zn+"-"+Ee,wb=Zn+"-"+H,jd=Zn+"-"+Tr,_b=jd+"-version",Bd=[Ma,Fa,Ee,H,Tr,za,It,rr,ko],so="Amazon",Cr="Apple",Zc="ASUS",Vc="BlackBerry",er="Google",Nc="Huawei",Uc="Lenovo",qc="Honor",ao="LG",ea="Microsoft",ta="Motorola",na="Nvidia",Gc="OnePlus",ra="OPPO",Jr="Samsung",Kc="Sharp",ei="Sony",ia="Xiaomi",oa="Zebra",Xc="Chrome",Yc="Chromium",jn="Chromecast",Cb="Edge",ti="Firefox",ni="Opera",sa="Facebook",Qc="Sogou",Sr="Mobile ",ri=" Browser",ma="Windows",Sb=typeof window!==Wn,Mt=Sb&&window.navigator?window.navigator:void 0,Bn=Mt&&Mt.userAgentData?Mt.userAgentData:void 0,Eb=function(t,r){var i={},s=r;if(!xo(r)){s={};for(var l in r)for(var u in r[l])s[u]=r[l][u].concat(s[u]?s[u]:[])}for(var f in t)i[f]=s[f]&&s[f].length%2===0?s[f].concat(t[f]):t[f];return i},To=function(t){for(var r={},i=0;i<t.length;i++)r[t[i].toUpperCase()]=t[i];return r},va=function(t,r){if(typeof t===Or&&t.length>0){for(var i in t)if(Cn(t[i])==Cn(r))return!0;return!1}return zr(t)?Cn(r).indexOf(Cn(t))!==-1:!1},xo=function(t,r){for(var i in t)return/^(browser|cpu|device|engine|os)$/.test(i)||(r?xo(t[i]):!1)},zr=function(t){return typeof t===ga},aa=function(t){if(t){for(var r=[],i=Ir(/\\?\"/g,t).split(","),s=0;s<i.length;s++)if(i[s].indexOf(";")>-1){var l=fi(i[s]).split(";v=");r[s]={brand:l[0],version:l[1]}}else r[s]=fi(i[s]);return r}},Cn=function(t){return zr(t)?t.toLowerCase():t},la=function(t){return zr(t)?Ir(/[^\d\.]/g,t).split(".")[0]:void 0},Sn=function(t){for(var r in t){var i=t[r];typeof i==Or&&i.length==2?this[i[0]]=i[1]:this[i]=void 0}return this},Ir=function(t,r){return zr(r)?r.replace(t,Lr):r},ii=function(t){return Ir(/\\?\"/g,t)},fi=function(t,r){if(zr(t))return t=Ir(/^\s\s*/,t),typeof r===Wn?t:t.substring(0,pa)},ua=function(t,r){if(!(!t||!r))for(var i=0,s,l,u,f,h,g;i<r.length&&!h;){var v=r[i],_=r[i+1];for(s=l=0;s<v.length&&!h&&v[s];)if(h=v[s++].exec(t),h)for(u=0;u<_.length;u++)g=h[++l],f=_[u],typeof f===Or&&f.length>0?f.length===2?typeof f[1]==bo?this[f[0]]=f[1].call(this,g):this[f[0]]=f[1]:f.length===3?typeof f[1]===bo&&!(f[1].exec&&f[1].test)?this[f[0]]=g?f[1].call(this,g,f[2]):void 0:this[f[0]]=g?g.replace(f[1],f[2]):void 0:f.length===4&&(this[f[0]]=g?f[3].call(this,g.replace(f[1],f[2])):void 0):this[f]=g||void 0;i+=2}},Pn=function(t,r){for(var i in r)if(typeof r[i]===Or&&r[i].length>0){for(var s=0;s<r[i].length;s++)if(va(r[i][s],t))return i===Hc?void 0:i}else if(va(r[i],t))return i===Hc?void 0:i;return r.hasOwnProperty("*")?r["*"]:t},Jc={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},ef={embedded:"Automotive",mobile:"Mobile",tablet:["Tablet","EInk"],smarttv:"TV",wearable:"Watch",xr:["VR","XR"],"?":["Desktop","Unknown"],"*":void 0},tf={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[Y,[K,Sr+"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[Y,[K,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[K,Y],[/opios[\/ ]+([\w\.]+)/i],[Y,[K,ni+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[Y,[K,ni+" GX"]],[/\bopr\/([\w\.]+)/i],[Y,[K,ni]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[Y,[K,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[Y,[K,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon|otter|dooble|(?:lg |qute)browser)\/([-\w\.]+)/i,/(heytap|ovi|115|surf)browser\/([\d\.]+)/i,/(ecosia|weibo)(?:__| \w+@)([\d\.]+)/i],[K,Y],[/quark(?:pc)?\/([-\w\.]+)/i],[Y,[K,"Quark"]],[/\bddg\/([\w\.]+)/i],[Y,[K,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[Y,[K,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[Y,[K,"WeChat"]],[/konqueror\/([\w\.]+)/i],[Y,[K,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[Y,[K,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[Y,[K,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[Y,[K,"Smart "+Uc+ri]],[/(avast|avg)\/([\w\.]+)/i],[[K,/(.+)/,"$1 Secure"+ri],Y],[/\bfocus\/([\w\.]+)/i],[Y,[K,ti+" Focus"]],[/\bopt\/([\w\.]+)/i],[Y,[K,ni+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[Y,[K,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[Y,[K,"Dolphin"]],[/coast\/([\w\.]+)/i],[Y,[K,ni+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[Y,[K,"MIUI"+ri]],[/fxios\/([\w\.-]+)/i],[Y,[K,Sr+ti]],[/\bqihoobrowser\/?([\w\.]*)/i],[Y,[K,"360"]],[/\b(qq)\/([\w\.]+)/i],[[K,/(.+)/,"$1Browser"],Y],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[K,/(.+)/,"$1"+ri],Y],[/samsungbrowser\/([\w\.]+)/i],[Y,[K,Jr+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[Y,[K,Qc+" Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[K,Qc+" Mobile"],Y],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[K,Y],[/(lbbrowser|rekonq)/i],[K],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[Y,K],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[K,sa],Y,[B,Qr]],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(instagram|snapchat)[\/ ]([-\w\.]+)/i],[K,Y,[B,Qr]],[/\bgsa\/([\w\.]+) .*safari\//i],[Y,[K,"GSA"],[B,Qr]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[Y,[K,"TikTok"],[B,Qr]],[/\[(linkedin)app\]/i],[K,[B,Qr]],[/(chromium)[\/ ]([-\w\.]+)/i],[K,Y],[/headlesschrome(?:\/([\w\.]+)| )/i],[Y,[K,Xc+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[K,Xc+" WebView"],Y],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[Y,[K,"Android"+ri]],[/chrome\/([\w\.]+) mobile/i],[Y,[K,Sr+"Chrome"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[K,Y],[/version\/([\w\.\,]+) .*mobile(?:\/\w+ | ?)safari/i],[Y,[K,Sr+"Safari"]],[/iphone .*mobile(?:\/\w+ | ?)safari/i],[[K,Sr+"Safari"]],[/version\/([\w\.\,]+) .*(safari)/i],[Y,K],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[K,[Y,"1"]],[/(webkit|khtml)\/([\w\.]+)/i],[K,Y],[/(?:mobile|tablet);.*(firefox)\/([\w\.-]+)/i],[[K,Sr+ti],Y],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[K,"Netscape"],Y],[/(wolvic|librewolf)\/([\w\.]+)/i],[K,Y],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[Y,[K,ti+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[K,[Y,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[K,[Y,/[^\d\.]+./,Lr]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[It,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[It,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[It,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[It,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[It,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[It,/ower/,Lr,Cn]],[/ sun4\w[;\)]/i],[[It,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[It,Cn]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[H,[q,Jr],[B,qe]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[H,[q,Jr],[B,Ee]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[H,[q,Cr],[B,Ee]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[H,[q,Cr],[B,qe]],[/(macintosh);/i],[H,[q,Cr]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[H,[q,Kc],[B,Ee]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[H,[q,qc],[B,qe]],[/honor([-\w ]+)[;\)]/i],[H,[q,qc],[B,Ee]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[H,[q,Nc],[B,qe]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[H,[q,Nc],[B,Ee]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[H,/_/g," "],[q,ia],[B,qe]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[H,/_/g," "],[q,ia],[B,Ee]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[H,[q,ra],[B,Ee]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[H,[q,Pn,{OnePlus:["304","403","203"],"*":ra}],[B,qe]],[/(vivo (5r?|6|8l?|go|one|s|x[il]?[2-4]?)[\w\+ ]*)(?: bui|\))/i],[H,[q,"BLU"],[B,Ee]],[/; vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[H,[q,"Vivo"],[B,Ee]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[H,[q,"Realme"],[B,Ee]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[H,[q,ta],[B,Ee]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[H,[q,ta],[B,qe]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[H,[q,ao],[B,qe]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+(?!.*(?:browser|netcast|android tv|watch))(\w+)/i,/\blg-?([\d\w]+) bui/i],[H,[q,ao],[B,Ee]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[H,[q,Uc],[B,qe]],[/(nokia) (t[12][01])/i],[q,H,[B,qe]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[H,/_/g," "],[B,Ee],[q,"Nokia"]],[/(pixel (c|tablet))\b/i],[H,[q,er],[B,qe]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[H,[q,er],[B,Ee]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[H,[q,ei],[B,Ee]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[H,"Xperia Tablet"],[q,ei],[B,qe]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[H,[q,Gc],[B,Ee]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[H,[q,so],[B,qe]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[H,/(.+)/g,"Fire Phone $1"],[q,so],[B,Ee]],[/(playbook);[-\w\),; ]+(rim)/i],[H,q,[B,qe]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[H,[q,Vc],[B,Ee]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[H,[q,Zc],[B,qe]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[H,[q,Zc],[B,Ee]],[/(nexus 9)/i],[H,[q,"HTC"],[B,qe]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[q,[H,/_/g," "],[B,Ee]],[/tcl (xess p17aa)/i,/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])(_\w(\w|\w\w))?(\)| bui)/i],[H,[q,"TCL"],[B,qe]],[/droid [\w\.]+; (418(?:7d|8v)|5087z|5102l|61(?:02[dh]|25[adfh]|27[ai]|56[dh]|59k|65[ah])|a509dl|t(?:43(?:0w|1[adepqu])|50(?:6d|7[adju])|6(?:09dl|10k|12b|71[efho]|76[hjk])|7(?:66[ahju]|67[hw]|7[045][bh]|71[hk]|73o|76[ho]|79w|81[hks]?|82h|90[bhsy]|99b)|810[hs]))(_\w(\w|\w\w))?(\)| bui)/i],[H,[q,"TCL"],[B,Ee]],[/(itel) ((\w+))/i],[[q,Cn],H,[B,Pn,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[H,[q,"Acer"],[B,qe]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[H,[q,"Meizu"],[B,Ee]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[H,[q,"Ulefone"],[B,Ee]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[H,[q,"Energizer"],[B,Ee]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[H,[q,"Cat"],[B,Ee]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[H,[q,"Smartfren"],[B,Ee]],[/droid.+; (a(?:015|06[35]|142p?))/i],[H,[q,"Nothing"],[B,Ee]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[H,[q,"Archos"],[B,qe]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[H,[q,"Archos"],[B,Ee]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[q,H,[B,qe]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (blu|hmd|imo|tcl)[_ ]([\w\+ ]+?)(?: bui|\)|; r)/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[q,H,[B,Ee]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i],[q,H,[B,qe]],[/(surface duo)/i],[H,[q,ea],[B,qe]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[H,[q,"Fairphone"],[B,Ee]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[H,[q,na],[B,qe]],[/(sprint) (\w+)/i],[q,H,[B,Ee]],[/(kin\.[onetw]{3})/i],[[H,/\./g," "],[q,ea],[B,Ee]],[/droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[H,[q,oa],[B,qe]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[H,[q,oa],[B,Ee]],[/smart-tv.+(samsung)/i],[q,[B,ct]],[/hbbtv.+maple;(\d+)/i],[[H,/^/,"SmartTV"],[q,Jr],[B,ct]],[/tcast.+(lg)e?. ([-\w]+)/i],[q,H,[B,ct]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[q,ao],[B,ct]],[/(apple) ?tv/i],[q,[H,Cr+" TV"],[B,ct]],[/crkey.*devicetype\/chromecast/i],[[H,jn+" Third Generation"],[q,er],[B,ct]],[/crkey.*devicetype\/([^/]*)/i],[[H,/^/,"Chromecast "],[q,er],[B,ct]],[/fuchsia.*crkey/i],[[H,jn+" Nest Hub"],[q,er],[B,ct]],[/crkey/i],[[H,jn],[q,er],[B,ct]],[/(portaltv)/i],[H,[q,sa],[B,ct]],[/droid.+aft(\w+)( bui|\))/i],[H,[q,so],[B,ct]],[/(shield \w+ tv)/i],[H,[q,na],[B,ct]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[H,[q,Kc],[B,ct]],[/(bravia[\w ]+)( bui|\))/i],[H,[q,ei],[B,ct]],[/(mi(tv|box)-?\w+) bui/i],[H,[q,ia],[B,ct]],[/Hbbtv.*(technisat) (.*);/i],[q,H,[B,ct]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[q,fi],[H,fi],[B,ct]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[H,[B,ct]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[B,ct]],[/(ouya)/i,/(nintendo) (\w+)/i],[q,H,[B,ai]],[/droid.+; (shield)( bui|\))/i],[H,[q,na],[B,ai]],[/(playstation \w+)/i],[H,[q,ei],[B,ai]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[H,[q,ea],[B,ai]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[H,[q,Jr],[B,cn]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[q,H,[B,cn]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[H,[q,ra],[B,cn]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[H,[q,Cr],[B,cn]],[/(opwwe\d{3})/i],[H,[q,Gc],[B,cn]],[/(moto 360)/i],[H,[q,ta],[B,cn]],[/(smartwatch 3)/i],[H,[q,ei],[B,cn]],[/(g watch r)/i],[H,[q,ao],[B,cn]],[/droid.+; (wt63?0{2,3})\)/i],[H,[q,oa],[B,cn]],[/droid.+; (glass) \d/i],[H,[q,er],[B,Js]],[/(pico) (4|neo3(?: link|pro)?)/i],[q,H,[B,Js]],[/(quest( \d| pro)?s?).+vr/i],[H,[q,sa],[B,Js]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[q,[B,li]],[/(aeobc)\b/i],[H,[q,so],[B,li]],[/(homepod).+mac os/i],[H,[q,Cr],[B,li]],[/windows iot/i],[[B,li]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+?(mobile|vr|\d) safari/i],[H,[B,Pn,{mobile:"Mobile",xr:"VR","*":qe}]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[B,qe]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[B,Ee]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[H,[q,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[Y,[K,Cb+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[K,Y],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[Y,[K,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[K,Y],[/ladybird\//i],[[K,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[Y,K]],os:[[/microsoft (windows) (vista|xp)/i],[K,Y],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[K,[Y,Pn,Jc]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[Y,Pn,Jc],[K,ma]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[Y,/_/g,"."],[K,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[K,"macOS"],[Y,/_/g,"."]],[/android ([\d\.]+).*crkey/i],[Y,[K,jn+" Android"]],[/fuchsia.*crkey\/([\d\.]+)/i],[Y,[K,jn+" Fuchsia"]],[/crkey\/([\d\.]+).*devicetype\/smartspeaker/i],[Y,[K,jn+" SmartSpeaker"]],[/linux.*crkey\/([\d\.]+)/i],[Y,[K,jn+" Linux"]],[/crkey\/([\d\.]+)/i],[Y,[K,jn]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[Y,K],[/(ubuntu) ([\w\.]+) like android/i],[[K,/(.+)/,"$1 Touch"],Y],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/\.; ]?([\d\.]*)/i],[K,Y],[/\(bb(10);/i],[Y,[K,Vc]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[Y,[K,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[Y,[K,ti+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[Y,[K,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[Y,[K,"watchOS"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[K,"Chrome OS"],Y],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) (\w+)/i,/(xbox); +xbox ([^\);]+)/i,/(pico) .+os([\w\.]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[K,Y],[/(sunos) ?([\w\.\d]*)/i],[[K,"Solaris"],Y],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[K,Y]]},lo=function(){var t={init:{},isIgnore:{},isIgnoreRgx:{},toString:{}};return Sn.call(t.init,[[Ot,[K,Y,ci,B]],[_n,[It]],[fn,[B,H,q]],[on,[K,Y]],[Qt,[K,Y]]]),Sn.call(t.isIgnore,[[Ot,[Y,ci]],[on,[Y]],[Qt,[Y]]]),Sn.call(t.isIgnoreRgx,[[Ot,/ ?browser$/i],[Qt,/ ?os$/i]]),Sn.call(t.toString,[[Ot,[K,Y]],[_n,[It]],[fn,[q,H]],[on,[K,Y]],[Qt,[K,Y]]]),t}(),Ab=function(t,r){var i=lo.init[r],s=lo.isIgnore[r]||0,l=lo.isIgnoreRgx[r]||0,u=lo.toString[r]||0;function f(){Sn.call(this,i)}return f.prototype.getItem=function(){return t},f.prototype.withClientHints=function(){return Bn?Bn.getHighEntropyValues(Bd).then(function(h){return t.setCH(new Pd(h,!1)).parseCH().get()}):t.parseCH().get()},f.prototype.withFeatureCheck=function(){return t.detectFeature().get()},r!=kr&&(f.prototype.is=function(h){var g=!1;for(var v in this)if(this.hasOwnProperty(v)&&!va(s,v)&&Cn(l?Ir(l,this[v]):this[v])==Cn(l?Ir(l,h):h)){if(g=!0,h!=Wn)break}else if(h==Wn&&g){g=!g;break}return g},f.prototype.toString=function(){var h=Lr;for(var g in u)typeof this[u[g]]!==Wn&&(h+=(h?" ":Lr)+this[u[g]]);return h||Wn}),Bn||(f.prototype.then=function(h){var g=this,v=function(){for(var S in g)g.hasOwnProperty(S)&&(this[S]=g[S])};v.prototype={is:f.prototype.is,toString:f.prototype.toString};var _=new v;return h(_),_}),new f};function Pd(t,r){if(t=t||{},Sn.call(this,Bd),r)Sn.call(this,[[Ma,aa(t[Zn])],[Fa,aa(t[mb])],[Ee,/\?1/.test(t[xb])],[H,ii(t[wb])],[Tr,ii(t[jd])],[za,ii(t[_b])],[It,ii(t[vb])],[rr,aa(t[bb])],[ko,ii(t[yb])]]);else for(var i in t)this.hasOwnProperty(i)&&typeof t[i]!==Wn&&(this[i]=t[i])}function nf(t,r,i,s){return this.get=function(l){return l?this.data.hasOwnProperty(l)?this.data[l]:void 0:this.data},this.set=function(l,u){return this.data[l]=u,this},this.setCH=function(l){return this.uaCH=l,this},this.detectFeature=function(){if(Mt&&Mt.userAgent==this.ua)switch(this.itemType){case Ot:Mt.brave&&typeof Mt.brave.isBrave==bo&&this.set(K,"Brave");break;case fn:!this.get(B)&&Bn&&Bn[Ee]&&this.set(B,Ee),this.get(H)=="Macintosh"&&Mt&&typeof Mt.standalone!==Wn&&Mt.maxTouchPoints&&Mt.maxTouchPoints>2&&this.set(H,"iPad").set(B,qe);break;case Qt:!this.get(K)&&Bn&&Bn[Tr]&&this.set(K,Bn[Tr]);break;case kr:var l=this.data,u=function(f){return l[f].getItem().detectFeature().get()};this.set(Ot,u(Ot)).set(_n,u(_n)).set(fn,u(fn)).set(on,u(on)).set(Qt,u(Qt))}return this},this.parseUA=function(){return this.itemType!=kr&&ua.call(this.data,this.ua,this.rgxMap),this.itemType==Ot&&this.set(ci,la(this.get(Y))),this},this.parseCH=function(){var l=this.uaCH,u=this.rgxMap;switch(this.itemType){case Ot:case on:var f=l[Fa]||l[Ma],h;if(f)for(var g in f){var v=f[g].brand||f[g],_=f[g].version;this.itemType==Ot&&!/not.a.brand/i.test(v)&&(!h||/chrom/i.test(h)&&v!=Yc)&&(v=Pn(v,{Chrome:"Google Chrome",Edge:"Microsoft Edge","Chrome WebView":"Android WebView","Chrome Headless":"HeadlessChrome","Huawei Browser":"HuaweiBrowser","MIUI Browser":"Miui Browser","Opera Mobi":"OperaMobile",Yandex:"YaBrowser"}),this.set(K,v).set(Y,_).set(ci,la(_)),h=v),this.itemType==on&&v==Yc&&this.set(Y,_)}break;case _n:var S=l[It];S&&(S&&l[ko]=="64"&&(S+="64"),ua.call(this.data,S+";",u));break;case fn:if(l[Ee]&&this.set(B,Ee),l[H]&&(this.set(H,l[H]),!this.get(B)||!this.get(q))){var E={};ua.call(E,"droid 9; "+l[H]+")",u),!this.get(B)&&E.type&&this.set(B,E.type),!this.get(q)&&E.vendor&&this.set(q,E.vendor)}if(l[rr]){var x;if(typeof l[rr]!="string")for(var C=0;!x&&C<l[rr].length;)x=Pn(l[rr][C++],ef);else x=Pn(l[rr],ef);this.set(B,x)}break;case Qt:var F=l[Tr];if(F){var R=l[za];F==ma&&(R=parseInt(la(R),10)>=13?"11":"10"),this.set(K,F).set(Y,R)}this.get(K)==ma&&l[H]=="Xbox"&&this.set(K,"Xbox").set(Y,void 0);break;case kr:var I=this.data,T=function(k){return I[k].getItem().setCH(l).parseCH().get()};this.set(Ot,T(Ot)).set(_n,T(_n)).set(fn,T(fn)).set(on,T(on)).set(Qt,T(Qt))}return this},Sn.call(this,[["itemType",t],["ua",r],["uaCH",s],["rgxMap",i],["data",Ab(this,t)]]),this}function An(t,r,i){if(typeof t===Or?(xo(t,!0)?(typeof r===Or&&(i=r),r=t):(i=t,r=void 0),t=void 0):typeof t===ga&&!xo(r,!0)&&(i=r,r=void 0),i&&typeof i.append===bo){var s={};i.forEach(function(g,v){s[v]=g}),i=s}if(!(this instanceof An))return new An(t,r,i).getResult();var l=typeof t===ga?t:i&&i[Dc]?i[Dc]:Mt&&Mt.userAgent?Mt.userAgent:Lr,u=new Pd(i,!0),f=r?Eb(tf,r):tf,h=function(g){return g==kr?function(){return new nf(g,l,f,u).set("ua",l).set(Ot,this.getBrowser()).set(_n,this.getCPU()).set(fn,this.getDevice()).set(on,this.getEngine()).set(Qt,this.getOS()).get()}:function(){return new nf(g,l,f[g],u).parseUA().get()}};return Sn.call(this,[["getBrowser",h(Ot)],["getCPU",h(_n)],["getDevice",h(fn)],["getEngine",h(on)],["getOS",h(Qt)],["getResult",h(kr)],["getUA",function(){return l}],["setUA",function(g){return zr(g)&&(l=g.length>pa?fi(g,pa):g),this}]]).setUA(l),this}An.VERSION=gb;An.BROWSER=To([K,Y,ci,B]);An.CPU=To([It]);An.DEVICE=To([H,q,B,ai,Ee,ct,qe,cn,li]);An.ENGINE=An.OS=To([K,Y]);var Wd=(t=>(t.Desktop="Desktop",t.Mobile="Mobile",t.Tablet="Tablet",t.SmartTV="Smart TV",t.Bot="Bot/Crawler",t.Unknown="Unknown",t))(Wd||{}),Dd=(t=>(t.Chrome="Chrome",t.Firefox="Firefox",t.Safari="Safari",t.Edge="Edge",t.IE="IE/Edge Legacy",t.Opera="Opera",t.Brave="Brave",t.Other="Other",t))(Dd||{}),Hd=(t=>(t.Windows="Windows",t.macOS="macOS",t.Linux="Linux",t.Android="Android",t.iOS="iOS",t.Other="Other",t))(Hd||{});const ya=t=>{const i=new An(t).getResult(),l={deviceType:/bot|crawler|spider|crawling/i.test(t)?"Bot/Crawler":$b(i.device.type),browserName:kb(i.browser.name),osName:Tb(i.os.name)},u=l.deviceType==="Mobile"||l.deviceType==="Tablet";return{...i,normalized:l,isMobile:u,isDesktop:!u}},$b=t=>{if(!t)return"Desktop";const r=t.toLowerCase();return r==="mobile"?"Mobile":r==="tablet"?"Tablet":r==="smarttv"?"Smart TV":"Unknown"},kb=t=>{if(!t)return"Other";const r=t.toLowerCase();return r.includes("brave")?"Brave":r.includes("edge")?"Edge":r.includes("opera")?"Opera":r.includes("ie")||r.includes("trident")?"IE/Edge Legacy":r.includes("chrome")?"Chrome":r.includes("firefox")?"Firefox":r.includes("safari")?"Safari":"Other"},Tb=t=>{if(!t)return"Other";const r=t.toLowerCase();return r.includes("windows")?"Windows":r.includes("mac os")?"macOS":["ubuntu","debian","fedora","linux"].some(i=>r.includes(i))?"Linux":r.includes("android")?"Android":r.includes("ios")?"iOS":"Other"},Rb=t=>{const[r,i]=d.useState(t?ya(t):void 0);return d.useEffect(()=>{r||i(ya(window.navigator.userAgent))},[r]),r},Lb=ae(X)`
|
|
57
|
+
object-fit: ${({$objectFit:e})=>e};
|
|
58
|
+
object-position: ${({$objectPosition:e})=>e};
|
|
59
|
+
aspect-ratio: ${({$aspectRatio:e})=>e};
|
|
60
|
+
mix-blend-mode: ${({$mixBlendMode:e})=>e};
|
|
61
|
+
image-rendering: ${({$imageRendering:e})=>e};
|
|
62
|
+
`,V0=({art:e,width:n,height:i,style:s,"data-testid":a,alt:l,fallback:d,useSkeleton:f=!0,objectFit:h,objectPosition:p,aspectRatio:b,mixBlendMode:v,imageRendering:w,..._})=>{const C=ye(),[I,k]=c.useState(!0),[R,E]=c.useState(!1),$=C.__hd__.art.defaultImageSize||C.__hd__.art.defaultSize,A=Yt(n,J=>vt(C,J??$)),M=Yt(i,J=>vt(C,J??$)),z=_.r||_.radius||_.borderRadius||"md",j=W6(e);c.useEffect(()=>{!Ze.isNil(j)&&j!==e&&(k(!0),E(!1))},[e,j]);const H=()=>{k(!1)},re=()=>{E(!0),k(!1)};return m.jsx(L,{display:"flex",alignItems:"center",justifyContent:"center",width:A,height:M,overflow:"hidden",style:s,"data-testid":a,..._,children:m.jsxs(Hi,{visible:I,width:A,height:M,r:z,children:[R&&m.jsxs(L,{width:A,height:M,r:z,display:"flex",alignItems:"center",justifyContent:"center",bgColor:"grey200",children:[!I&&d,!I&&!d&&!l&&m.jsx(Qe,{fontSize:"xs",color:"grey600",children:d||l}),!I&&!d&&!l&&K6()]}),!R&&(!Ct()||!f)&&m.jsx(Y6,{src:e,alt:Ze.isString(l)?l:"Image",onLoad:H,onError:re,"data-testid":a?`${a}-image`:void 0,$objectFit:h,$objectPosition:p,$aspectRatio:b,$mixBlendMode:v,$imageRendering:w}),!R&&Ct()&&f&&l]})})},N0=({art:e,width:n,height:i,style:s,"data-testid":a,...l})=>{const d=ye(),f=d.__hd__.art.defaultSvgSize||d.__hd__.art.defaultSize,h=vt(d,n??f),p=vt(d,i??f);return m.jsx(L,{display:"flex",alignItems:"center",justifyContent:"center",width:h,height:p,overflow:"hidden",style:s,"data-testid":a,dangerouslySetInnerHTML:{__html:e},...l})},pt=e=>{const{art:n,type:i}=e;return i==="image"||Ze.isString(n)&&T0(n)?m.jsx(V0,{...e}):i==="svg"||Ze.isString(n)&&R0(n)?m.jsx(N0,{...e}):i==="emoji"||Ze.isString(n)&&$0(n)?m.jsx(M0,{...e}):i==="icon"||Ze.isString(n)&&A0(n)?m.jsx(yl,{...e}):i==="brand"?m.jsx(I0,{...e}):m.jsx(m.Fragment,{})},X6=e=>e==="sm"||e==="md"||e==="lg",U0=({src:e,name:n,size:i,...s})=>{var b;const a=ye(),l=a.__hd__.avatar,d=i||l.defaultSize,f=vt(a,d);let h=l.defaultFallbackTextSize;typeof d=="string"&&X6(d)&&l.sizes[d]&&(h=l.sizes[d].fallbackTextSize);const p=l.fallbackBackgroundColor;return m.jsx(L,{width:f,height:f,r:"full",overflow:"hidden",display:"flex",alignItems:"center",justifyContent:"center",...s,children:e?m.jsx(pt,{type:"image",art:e,width:"100%",height:"100%",objectFit:"cover"}):m.jsx(L,{width:"100%",height:"100%",bgColor:p,display:"flex",justifyContent:"center",alignItems:"center",children:m.jsx(Qe,{color:"white",fontSize:h,fontWeight:"semibold",children:((b=n==null?void 0:n.charAt(0))==null?void 0:b.toUpperCase())||"U"})})})};function Q6(e){const[n,i]=c.useState(()=>(Ct(),!1));return c.useEffect(()=>{if(Ct())return;const s=window.matchMedia(e),a=l=>{i(l.matches)};return s.addEventListener?s.addEventListener("change",a):s.addListener(a),i(s.matches),()=>{s.removeEventListener?s.removeEventListener("change",a):s.removeListener(a)}},[e]),n}const Jr=(e="xl")=>{const[n,i]=c.useState(()=>(typeof window>"u"||!window.matchMedia,e));return c.useEffect(()=>{if(Ct())return;const a=["xl","lg","md","sm"].map(f=>({key:f,mql:window.matchMedia(`(min-width: ${Bi[f]}px)`)})),l=()=>{for(const{key:f,mql:h}of a)if(h.matches)return f;return"xs"},d=()=>{i(l())};return d(),a.forEach(({mql:f})=>{f.addEventListener?f.addEventListener("change",d):f.addListener(d)}),()=>{a.forEach(({mql:f})=>{f.removeEventListener?f.removeEventListener("change",d):f.removeListener(d)})}},[]),n};function J6(){const{innerWidth:e,innerHeight:n}=window;return{width:e,height:n}}const G0=()=>{const[e,n]=c.useState(()=>Ct()?{width:void 0,height:void 0}:{width:void 0,height:void 0});return c.useEffect(()=>{if(Ct())return;function i(){n(J6())}return i(),window.addEventListener("resize",i),()=>window.removeEventListener("resize",i)},[]),e},yr=typeof window<"u"?c.useLayoutEffect:c.useEffect;function Qa(e,n,i,s){const a=c.useRef(n);yr(()=>{a.current=n},[n]),c.useEffect(()=>{const l=(i==null?void 0:i.current)??window;if(!(l&&l.addEventListener))return;const d=f=>{a.current(f)};return l.addEventListener(e,d,s),()=>{l.removeEventListener(e,d,s)}},[e,i,s])}function fs(e){const[n,i]=c.useState(!1),s=Jr(),a=s==="xs"||s==="sm",l=()=>{a||i(!0)},d=()=>{a||i(!1)};return Qa("mouseenter",l,e),Qa("mouseleave",d,e),a?!1:n}const ev=()=>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 _l(){const[e,n]=c.useState(ev);return c.useEffect(()=>{const i=s=>{s.pointerType==="touch"?e.isTouch||n({isMouse:!1,isTouch:!0}):s.pointerType==="mouse"&&(e.isMouse||n({isMouse:!0,isTouch:!1}))};return window.addEventListener("pointerdown",i,{passive:!0}),()=>{window.removeEventListener("pointerdown",i)}},[e]),e}var tv="2.0.3",Ja=500,Pd="user-agent",Gr="",Wd="?",ts="function",Jn="undefined",qr="object",el="string",Dt="browser",Fn="cpu",_n="device",mn="engine",un="os",Vr="result",Q="name",V="type",X="vendor",ee="version",Pt="architecture",ji="major",K="model",Mi="console",Fe="mobile",Je="tablet",ht="smarttv",wn="wearable",Ta="xr",Fi="embedded",Ci="inapp",Cl="brands",gr="formFactors",Sl="fullVersionList",Nr="platform",El="platformVersion",hs="bitness",tr="sec-ch-ua",nv=tr+"-full-version-list",rv=tr+"-arch",iv=tr+"-"+hs,ov=tr+"-form-factors",sv=tr+"-"+Fe,av=tr+"-"+K,q0=tr+"-"+Nr,lv=q0+"-version",K0=[Cl,Sl,Fe,K,Nr,El,Pt,gr,hs],jo="Amazon",Pr="Apple",Bd="ASUS",Hd="BlackBerry",fr="Google",Zd="Huawei",Vd="Lenovo",Nd="Honor",Do="LG",Ra="Microsoft",Ia="Motorola",Ma="Nvidia",Ud="OnePlus",Fa="OPPO",Si="Samsung",Gd="Sharp",Ei="Sony",Oa="Xiaomi",za="Zebra",qd="Chrome",Kd="Chromium",Yn="Chromecast",cv="Edge",ki="Firefox",$i="Opera",La="Facebook",Yd="Sogou",Wr="Mobile ",Ai=" Browser",tl="Windows",uv=typeof window!==Jn,Wt=uv&&window.navigator?window.navigator:void 0,Xn=Wt&&Wt.userAgentData?Wt.userAgentData:void 0,dv=function(e,n){var i={},s=n;if(!ns(n)){s={};for(var a in n)for(var l in n[a])s[l]=n[a][l].concat(s[l]?s[l]:[])}for(var d in e)i[d]=s[d]&&s[d].length%2===0?s[d].concat(e[d]):e[d];return i},ps=function(e){for(var n={},i=0;i<e.length;i++)n[e[i].toUpperCase()]=e[i];return n},nl=function(e,n){if(typeof e===qr&&e.length>0){for(var i in e)if(On(e[i])==On(n))return!0;return!1}return ei(e)?On(n).indexOf(On(e))!==-1:!1},ns=function(e,n){for(var i in e)return/^(browser|cpu|device|engine|os)$/.test(i)||(n?ns(e[i]):!1)},ei=function(e){return typeof e===el},ja=function(e){if(e){for(var n=[],i=Kr(/\\?\"/g,e).split(","),s=0;s<i.length;s++)if(i[s].indexOf(";")>-1){var a=Di(i[s]).split(";v=");n[s]={brand:a[0],version:a[1]}}else n[s]=Di(i[s]);return n}},On=function(e){return ei(e)?e.toLowerCase():e},Da=function(e){return ei(e)?Kr(/[^\d\.]/g,e).split(".")[0]:void 0},zn=function(e){for(var n in e){var i=e[n];typeof i==qr&&i.length==2?this[i[0]]=i[1]:this[i]=void 0}return this},Kr=function(e,n){return ei(n)?n.replace(e,Gr):n},Ti=function(e){return Kr(/\\?\"/g,e)},Di=function(e,n){if(ei(e))return e=Kr(/^\s\s*/,e),typeof n===Jn?e:e.substring(0,Ja)},Pa=function(e,n){if(!(!e||!n))for(var i=0,s,a,l,d,f,h;i<n.length&&!f;){var p=n[i],b=n[i+1];for(s=a=0;s<p.length&&!f&&p[s];)if(f=p[s++].exec(e),f)for(l=0;l<b.length;l++)h=f[++a],d=b[l],typeof d===qr&&d.length>0?d.length===2?typeof d[1]==ts?this[d[0]]=d[1].call(this,h):this[d[0]]=d[1]:d.length===3?typeof d[1]===ts&&!(d[1].exec&&d[1].test)?this[d[0]]=h?d[1].call(this,h,d[2]):void 0:this[d[0]]=h?h.replace(d[1],d[2]):void 0:d.length===4&&(this[d[0]]=h?d[3].call(this,h.replace(d[1],d[2])):void 0):this[d]=h||void 0;i+=2}},Qn=function(e,n){for(var i in n)if(typeof n[i]===qr&&n[i].length>0){for(var s=0;s<n[i].length;s++)if(nl(n[i][s],e))return i===Wd?void 0:i}else if(nl(n[i],e))return i===Wd?void 0:i;return n.hasOwnProperty("*")?n["*"]:e},Xd={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"},Qd={embedded:"Automotive",mobile:"Mobile",tablet:["Tablet","EInk"],smarttv:"TV",wearable:"Watch",xr:["VR","XR"],"?":["Desktop","Unknown"],"*":void 0},Jd={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[ee,[Q,Wr+"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[ee,[Q,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[Q,ee],[/opios[\/ ]+([\w\.]+)/i],[ee,[Q,$i+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[ee,[Q,$i+" GX"]],[/\bopr\/([\w\.]+)/i],[ee,[Q,$i]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[ee,[Q,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[ee,[Q,"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],[Q,ee],[/quark(?:pc)?\/([-\w\.]+)/i],[ee,[Q,"Quark"]],[/\bddg\/([\w\.]+)/i],[ee,[Q,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[ee,[Q,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[ee,[Q,"WeChat"]],[/konqueror\/([\w\.]+)/i],[ee,[Q,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[ee,[Q,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[ee,[Q,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[ee,[Q,"Smart "+Vd+Ai]],[/(avast|avg)\/([\w\.]+)/i],[[Q,/(.+)/,"$1 Secure"+Ai],ee],[/\bfocus\/([\w\.]+)/i],[ee,[Q,ki+" Focus"]],[/\bopt\/([\w\.]+)/i],[ee,[Q,$i+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[ee,[Q,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[ee,[Q,"Dolphin"]],[/coast\/([\w\.]+)/i],[ee,[Q,$i+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[ee,[Q,"MIUI"+Ai]],[/fxios\/([\w\.-]+)/i],[ee,[Q,Wr+ki]],[/\bqihoobrowser\/?([\w\.]*)/i],[ee,[Q,"360"]],[/\b(qq)\/([\w\.]+)/i],[[Q,/(.+)/,"$1Browser"],ee],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[Q,/(.+)/,"$1"+Ai],ee],[/samsungbrowser\/([\w\.]+)/i],[ee,[Q,Si+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[ee,[Q,Yd+" Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[Q,Yd+" Mobile"],ee],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[Q,ee],[/(lbbrowser|rekonq)/i],[Q],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[ee,Q],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[Q,La],ee,[V,Ci]],[/(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],[Q,ee,[V,Ci]],[/\bgsa\/([\w\.]+) .*safari\//i],[ee,[Q,"GSA"],[V,Ci]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[ee,[Q,"TikTok"],[V,Ci]],[/\[(linkedin)app\]/i],[Q,[V,Ci]],[/(chromium)[\/ ]([-\w\.]+)/i],[Q,ee],[/headlesschrome(?:\/([\w\.]+)| )/i],[ee,[Q,qd+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[Q,qd+" WebView"],ee],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[ee,[Q,"Android"+Ai]],[/chrome\/([\w\.]+) mobile/i],[ee,[Q,Wr+"Chrome"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[Q,ee],[/version\/([\w\.\,]+) .*mobile(?:\/\w+ | ?)safari/i],[ee,[Q,Wr+"Safari"]],[/iphone .*mobile(?:\/\w+ | ?)safari/i],[[Q,Wr+"Safari"]],[/version\/([\w\.\,]+) .*(safari)/i],[ee,Q],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[Q,[ee,"1"]],[/(webkit|khtml)\/([\w\.]+)/i],[Q,ee],[/(?:mobile|tablet);.*(firefox)\/([\w\.-]+)/i],[[Q,Wr+ki],ee],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[Q,"Netscape"],ee],[/(wolvic|librewolf)\/([\w\.]+)/i],[Q,ee],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[ee,[Q,ki+" 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],[Q,[ee,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[Q,[ee,/[^\d\.]+./,Gr]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[Pt,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[Pt,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[Pt,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[Pt,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[Pt,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[Pt,/ower/,Gr,On]],[/ sun4\w[;\)]/i],[[Pt,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[Pt,On]]],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],[K,[X,Si],[V,Je]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[K,[X,Si],[V,Fe]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[K,[X,Pr],[V,Fe]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[K,[X,Pr],[V,Je]],[/(macintosh);/i],[K,[X,Pr]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[K,[X,Gd],[V,Fe]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[K,[X,Nd],[V,Je]],[/honor([-\w ]+)[;\)]/i],[K,[X,Nd],[V,Fe]],[/\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],[K,[X,Zd],[V,Je]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[K,[X,Zd],[V,Fe]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[K,/_/g," "],[X,Oa],[V,Je]],[/\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],[[K,/_/g," "],[X,Oa],[V,Fe]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[K,[X,Fa],[V,Fe]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[K,[X,Qn,{OnePlus:["304","403","203"],"*":Fa}],[V,Je]],[/(vivo (5r?|6|8l?|go|one|s|x[il]?[2-4]?)[\w\+ ]*)(?: bui|\))/i],[K,[X,"BLU"],[V,Fe]],[/; vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[K,[X,"Vivo"],[V,Fe]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[K,[X,"Realme"],[V,Fe]],[/\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],[K,[X,Ia],[V,Fe]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[K,[X,Ia],[V,Je]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[K,[X,Do],[V,Je]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+(?!.*(?:browser|netcast|android tv|watch))(\w+)/i,/\blg-?([\d\w]+) bui/i],[K,[X,Do],[V,Fe]],[/(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],[K,[X,Vd],[V,Je]],[/(nokia) (t[12][01])/i],[X,K,[V,Je]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[K,/_/g," "],[V,Fe],[X,"Nokia"]],[/(pixel (c|tablet))\b/i],[K,[X,fr],[V,Je]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[K,[X,fr],[V,Fe]],[/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],[K,[X,Ei],[V,Fe]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[K,"Xperia Tablet"],[X,Ei],[V,Je]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[K,[X,Ud],[V,Fe]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[K,[X,jo],[V,Je]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[K,/(.+)/g,"Fire Phone $1"],[X,jo],[V,Fe]],[/(playbook);[-\w\),; ]+(rim)/i],[K,X,[V,Je]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[K,[X,Hd],[V,Fe]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[K,[X,Bd],[V,Je]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[K,[X,Bd],[V,Fe]],[/(nexus 9)/i],[K,[X,"HTC"],[V,Je]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[X,[K,/_/g," "],[V,Fe]],[/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],[K,[X,"TCL"],[V,Je]],[/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],[K,[X,"TCL"],[V,Fe]],[/(itel) ((\w+))/i],[[X,On],K,[V,Qn,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[K,[X,"Acer"],[V,Je]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[K,[X,"Meizu"],[V,Fe]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[K,[X,"Ulefone"],[V,Fe]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[K,[X,"Energizer"],[V,Fe]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[K,[X,"Cat"],[V,Fe]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[K,[X,"Smartfren"],[V,Fe]],[/droid.+; (a(?:015|06[35]|142p?))/i],[K,[X,"Nothing"],[V,Fe]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[K,[X,"Archos"],[V,Je]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[K,[X,"Archos"],[V,Fe]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[X,K,[V,Je]],[/(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],[X,K,[V,Fe]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i],[X,K,[V,Je]],[/(surface duo)/i],[K,[X,Ra],[V,Je]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[K,[X,"Fairphone"],[V,Fe]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[K,[X,Ma],[V,Je]],[/(sprint) (\w+)/i],[X,K,[V,Fe]],[/(kin\.[onetw]{3})/i],[[K,/\./g," "],[X,Ra],[V,Fe]],[/droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[K,[X,za],[V,Je]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[K,[X,za],[V,Fe]],[/smart-tv.+(samsung)/i],[X,[V,ht]],[/hbbtv.+maple;(\d+)/i],[[K,/^/,"SmartTV"],[X,Si],[V,ht]],[/tcast.+(lg)e?. ([-\w]+)/i],[X,K,[V,ht]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[X,Do],[V,ht]],[/(apple) ?tv/i],[X,[K,Pr+" TV"],[V,ht]],[/crkey.*devicetype\/chromecast/i],[[K,Yn+" Third Generation"],[X,fr],[V,ht]],[/crkey.*devicetype\/([^/]*)/i],[[K,/^/,"Chromecast "],[X,fr],[V,ht]],[/fuchsia.*crkey/i],[[K,Yn+" Nest Hub"],[X,fr],[V,ht]],[/crkey/i],[[K,Yn],[X,fr],[V,ht]],[/(portaltv)/i],[K,[X,La],[V,ht]],[/droid.+aft(\w+)( bui|\))/i],[K,[X,jo],[V,ht]],[/(shield \w+ tv)/i],[K,[X,Ma],[V,ht]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[K,[X,Gd],[V,ht]],[/(bravia[\w ]+)( bui|\))/i],[K,[X,Ei],[V,ht]],[/(mi(tv|box)-?\w+) bui/i],[K,[X,Oa],[V,ht]],[/Hbbtv.*(technisat) (.*);/i],[X,K,[V,ht]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[X,Di],[K,Di],[V,ht]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[K,[V,ht]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[V,ht]],[/(ouya)/i,/(nintendo) (\w+)/i],[X,K,[V,Mi]],[/droid.+; (shield)( bui|\))/i],[K,[X,Ma],[V,Mi]],[/(playstation \w+)/i],[K,[X,Ei],[V,Mi]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[K,[X,Ra],[V,Mi]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[K,[X,Si],[V,wn]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[X,K,[V,wn]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[K,[X,Fa],[V,wn]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[K,[X,Pr],[V,wn]],[/(opwwe\d{3})/i],[K,[X,Ud],[V,wn]],[/(moto 360)/i],[K,[X,Ia],[V,wn]],[/(smartwatch 3)/i],[K,[X,Ei],[V,wn]],[/(g watch r)/i],[K,[X,Do],[V,wn]],[/droid.+; (wt63?0{2,3})\)/i],[K,[X,za],[V,wn]],[/droid.+; (glass) \d/i],[K,[X,fr],[V,Ta]],[/(pico) (4|neo3(?: link|pro)?)/i],[X,K,[V,Ta]],[/(quest( \d| pro)?s?).+vr/i],[K,[X,La],[V,Ta]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[X,[V,Fi]],[/(aeobc)\b/i],[K,[X,jo],[V,Fi]],[/(homepod).+mac os/i],[K,[X,Pr],[V,Fi]],[/windows iot/i],[[V,Fi]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+?(mobile|vr|\d) safari/i],[K,[V,Qn,{mobile:"Mobile",xr:"VR","*":Je}]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[V,Je]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[V,Fe]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[K,[X,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[ee,[Q,cv+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[Q,ee],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[ee,[Q,"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],[Q,ee],[/ladybird\//i],[[Q,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[ee,Q]],os:[[/microsoft (windows) (vista|xp)/i],[Q,ee],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[Q,[ee,Qn,Xd]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[ee,Qn,Xd],[Q,tl]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[ee,/_/g,"."],[Q,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[Q,"macOS"],[ee,/_/g,"."]],[/android ([\d\.]+).*crkey/i],[ee,[Q,Yn+" Android"]],[/fuchsia.*crkey\/([\d\.]+)/i],[ee,[Q,Yn+" Fuchsia"]],[/crkey\/([\d\.]+).*devicetype\/smartspeaker/i],[ee,[Q,Yn+" SmartSpeaker"]],[/linux.*crkey\/([\d\.]+)/i],[ee,[Q,Yn+" Linux"]],[/crkey\/([\d\.]+)/i],[ee,[Q,Yn]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[ee,Q],[/(ubuntu) ([\w\.]+) like android/i],[[Q,/(.+)/,"$1 Touch"],ee],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/\.; ]?([\d\.]*)/i],[Q,ee],[/\(bb(10);/i],[ee,[Q,Hd]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[ee,[Q,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[ee,[Q,ki+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[ee,[Q,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[ee,[Q,"watchOS"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[Q,"Chrome OS"],ee],[/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],[Q,ee],[/(sunos) ?([\w\.\d]*)/i],[[Q,"Solaris"],ee],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[Q,ee]]},Po=function(){var e={init:{},isIgnore:{},isIgnoreRgx:{},toString:{}};return zn.call(e.init,[[Dt,[Q,ee,ji,V]],[Fn,[Pt]],[_n,[V,K,X]],[mn,[Q,ee]],[un,[Q,ee]]]),zn.call(e.isIgnore,[[Dt,[ee,ji]],[mn,[ee]],[un,[ee]]]),zn.call(e.isIgnoreRgx,[[Dt,/ ?browser$/i],[un,/ ?os$/i]]),zn.call(e.toString,[[Dt,[Q,ee]],[Fn,[Pt]],[_n,[X,K]],[mn,[Q,ee]],[un,[Q,ee]]]),e}(),fv=function(e,n){var i=Po.init[n],s=Po.isIgnore[n]||0,a=Po.isIgnoreRgx[n]||0,l=Po.toString[n]||0;function d(){zn.call(this,i)}return d.prototype.getItem=function(){return e},d.prototype.withClientHints=function(){return Xn?Xn.getHighEntropyValues(K0).then(function(f){return e.setCH(new Y0(f,!1)).parseCH().get()}):e.parseCH().get()},d.prototype.withFeatureCheck=function(){return e.detectFeature().get()},n!=Vr&&(d.prototype.is=function(f){var h=!1;for(var p in this)if(this.hasOwnProperty(p)&&!nl(s,p)&&On(a?Kr(a,this[p]):this[p])==On(a?Kr(a,f):f)){if(h=!0,f!=Jn)break}else if(f==Jn&&h){h=!h;break}return h},d.prototype.toString=function(){var f=Gr;for(var h in l)typeof this[l[h]]!==Jn&&(f+=(f?" ":Gr)+this[l[h]]);return f||Jn}),Xn||(d.prototype.then=function(f){var h=this,p=function(){for(var v in h)h.hasOwnProperty(v)&&(this[v]=h[v])};p.prototype={is:d.prototype.is,toString:d.prototype.toString};var b=new p;return f(b),b}),new d};function Y0(e,n){if(e=e||{},zn.call(this,K0),n)zn.call(this,[[Cl,ja(e[tr])],[Sl,ja(e[nv])],[Fe,/\?1/.test(e[sv])],[K,Ti(e[av])],[Nr,Ti(e[q0])],[El,Ti(e[lv])],[Pt,Ti(e[rv])],[gr,ja(e[ov])],[hs,Ti(e[iv])]]);else for(var i in e)this.hasOwnProperty(i)&&typeof e[i]!==Jn&&(this[i]=e[i])}function ef(e,n,i,s){return this.get=function(a){return a?this.data.hasOwnProperty(a)?this.data[a]:void 0:this.data},this.set=function(a,l){return this.data[a]=l,this},this.setCH=function(a){return this.uaCH=a,this},this.detectFeature=function(){if(Wt&&Wt.userAgent==this.ua)switch(this.itemType){case Dt:Wt.brave&&typeof Wt.brave.isBrave==ts&&this.set(Q,"Brave");break;case _n:!this.get(V)&&Xn&&Xn[Fe]&&this.set(V,Fe),this.get(K)=="Macintosh"&&Wt&&typeof Wt.standalone!==Jn&&Wt.maxTouchPoints&&Wt.maxTouchPoints>2&&this.set(K,"iPad").set(V,Je);break;case un:!this.get(Q)&&Xn&&Xn[Nr]&&this.set(Q,Xn[Nr]);break;case Vr:var a=this.data,l=function(d){return a[d].getItem().detectFeature().get()};this.set(Dt,l(Dt)).set(Fn,l(Fn)).set(_n,l(_n)).set(mn,l(mn)).set(un,l(un))}return this},this.parseUA=function(){return this.itemType!=Vr&&Pa.call(this.data,this.ua,this.rgxMap),this.itemType==Dt&&this.set(ji,Da(this.get(ee))),this},this.parseCH=function(){var a=this.uaCH,l=this.rgxMap;switch(this.itemType){case Dt:case mn:var d=a[Sl]||a[Cl],f;if(d)for(var h in d){var p=d[h].brand||d[h],b=d[h].version;this.itemType==Dt&&!/not.a.brand/i.test(p)&&(!f||/chrom/i.test(f)&&p!=Kd)&&(p=Qn(p,{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(Q,p).set(ee,b).set(ji,Da(b)),f=p),this.itemType==mn&&p==Kd&&this.set(ee,b)}break;case Fn:var v=a[Pt];v&&(v&&a[hs]=="64"&&(v+="64"),Pa.call(this.data,v+";",l));break;case _n:if(a[Fe]&&this.set(V,Fe),a[K]&&(this.set(K,a[K]),!this.get(V)||!this.get(X))){var w={};Pa.call(w,"droid 9; "+a[K]+")",l),!this.get(V)&&w.type&&this.set(V,w.type),!this.get(X)&&w.vendor&&this.set(X,w.vendor)}if(a[gr]){var _;if(typeof a[gr]!="string")for(var C=0;!_&&C<a[gr].length;)_=Qn(a[gr][C++],Qd);else _=Qn(a[gr],Qd);this.set(V,_)}break;case un:var I=a[Nr];if(I){var k=a[El];I==tl&&(k=parseInt(Da(k),10)>=13?"11":"10"),this.set(Q,I).set(ee,k)}this.get(Q)==tl&&a[K]=="Xbox"&&this.set(Q,"Xbox").set(ee,void 0);break;case Vr:var R=this.data,E=function($){return R[$].getItem().setCH(a).parseCH().get()};this.set(Dt,E(Dt)).set(Fn,E(Fn)).set(_n,E(_n)).set(mn,E(mn)).set(un,E(un))}return this},zn.call(this,[["itemType",e],["ua",n],["uaCH",s],["rgxMap",i],["data",fv(this,e)]]),this}function jn(e,n,i){if(typeof e===qr?(ns(e,!0)?(typeof n===qr&&(i=n),n=e):(i=e,n=void 0),e=void 0):typeof e===el&&!ns(n,!0)&&(i=n,n=void 0),i&&typeof i.append===ts){var s={};i.forEach(function(h,p){s[p]=h}),i=s}if(!(this instanceof jn))return new jn(e,n,i).getResult();var a=typeof e===el?e:i&&i[Pd]?i[Pd]:Wt&&Wt.userAgent?Wt.userAgent:Gr,l=new Y0(i,!0),d=n?dv(Jd,n):Jd,f=function(h){return h==Vr?function(){return new ef(h,a,d,l).set("ua",a).set(Dt,this.getBrowser()).set(Fn,this.getCPU()).set(_n,this.getDevice()).set(mn,this.getEngine()).set(un,this.getOS()).get()}:function(){return new ef(h,a,d[h],l).parseUA().get()}};return zn.call(this,[["getBrowser",f(Dt)],["getCPU",f(Fn)],["getDevice",f(_n)],["getEngine",f(mn)],["getOS",f(un)],["getResult",f(Vr)],["getUA",function(){return a}],["setUA",function(h){return ei(h)&&(a=h.length>Ja?Di(h,Ja):h),this}]]).setUA(a),this}jn.VERSION=tv;jn.BROWSER=ps([Q,ee,ji,V]);jn.CPU=ps([Pt]);jn.DEVICE=ps([K,X,V,Mi,Fe,ht,Je,wn,Fi]);jn.ENGINE=jn.OS=ps([Q,ee]);var X0=(e=>(e.Desktop="Desktop",e.Mobile="Mobile",e.Tablet="Tablet",e.SmartTV="Smart TV",e.Bot="Bot/Crawler",e.Unknown="Unknown",e))(X0||{}),Q0=(e=>(e.Chrome="Chrome",e.Firefox="Firefox",e.Safari="Safari",e.Edge="Edge",e.IE="IE/Edge Legacy",e.Opera="Opera",e.Brave="Brave",e.Other="Other",e))(Q0||{}),J0=(e=>(e.Windows="Windows",e.macOS="macOS",e.Linux="Linux",e.Android="Android",e.iOS="iOS",e.Other="Other",e))(J0||{});const rl=e=>{const i=new jn(e).getResult(),a={deviceType:/bot|crawler|spider|crawling/i.test(e)?"Bot/Crawler":hv(i.device.type),browserName:pv(i.browser.name),osName:gv(i.os.name)},l=a.deviceType==="Mobile"||a.deviceType==="Tablet";return{...i,normalized:a,isMobile:l,isDesktop:!l}},hv=e=>{if(!e)return"Desktop";const n=e.toLowerCase();return n==="mobile"?"Mobile":n==="tablet"?"Tablet":n==="smarttv"?"Smart TV":"Unknown"},pv=e=>{if(!e)return"Other";const n=e.toLowerCase();return n.includes("brave")?"Brave":n.includes("edge")?"Edge":n.includes("opera")?"Opera":n.includes("ie")||n.includes("trident")?"IE/Edge Legacy":n.includes("chrome")?"Chrome":n.includes("firefox")?"Firefox":n.includes("safari")?"Safari":"Other"},gv=e=>{if(!e)return"Other";const n=e.toLowerCase();return n.includes("windows")?"Windows":n.includes("mac os")?"macOS":["ubuntu","debian","fedora","linux"].some(i=>n.includes(i))?"Linux":n.includes("android")?"Android":n.includes("ios")?"iOS":"Other"},mv=e=>{const[n,i]=c.useState(e?rl(e):void 0);return c.useEffect(()=>{n||i(rl(window.navigator.userAgent))},[n]),n};function kl({anchorRef:e,popupRef:n,offsetValue:i,isOpen:s}){const a=c.useCallback(()=>{const l=e.current,d=n.current;if(!l||!d)return;const f=l.getBoundingClientRect(),h=d.getBoundingClientRect(),p=l.offsetParent;if(!p)return;const b=p.getBoundingClientRect();let v=f.bottom-b.top+i,w=f.left-b.left;w+h.width>b.width-16&&(w=b.width-h.width-16),w<16&&(w=16);const _=f.top-b.top;v+h.height>b.height-16&&_>=h.height+i&&(v=f.top-b.top-h.height-i),d.style.inset=`${v}px auto auto ${w}px`},[e,n,i]);c.useLayoutEffect(()=>{s&&requestAnimationFrame(a)},[s,a]),c.useEffect(()=>{if(s)return window.addEventListener("resize",a),()=>{window.removeEventListener("resize",a)}},[s,a])}const yv=le(L)`
|
|
63
63
|
position: absolute;
|
|
64
64
|
top: 0;
|
|
65
65
|
left: 0;
|
|
@@ -68,9 +68,9 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
68
68
|
display: flex;
|
|
69
69
|
justify-content: center;
|
|
70
70
|
align-items: center;
|
|
71
|
-
`,
|
|
72
|
-
width: ${({size:
|
|
73
|
-
height: ${({size:
|
|
71
|
+
`,bv=le.div`
|
|
72
|
+
width: ${({size:e})=>e};
|
|
73
|
+
height: ${({size:e})=>e};
|
|
74
74
|
border-radius: 50%;
|
|
75
75
|
position: relative;
|
|
76
76
|
|
|
@@ -83,9 +83,9 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
83
83
|
width: 100%;
|
|
84
84
|
height: 100%;
|
|
85
85
|
border-radius: 50%;
|
|
86
|
-
border: ${({strokeWidth:
|
|
87
|
-
border-top-color: ${({color:
|
|
88
|
-
border-right-color: ${({color:
|
|
86
|
+
border: ${({strokeWidth:e})=>e} solid transparent;
|
|
87
|
+
border-top-color: ${({color:e})=>e};
|
|
88
|
+
border-right-color: ${({color:e})=>e};
|
|
89
89
|
animation: spin 1s linear infinite;
|
|
90
90
|
}
|
|
91
91
|
|
|
@@ -94,152 +94,154 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
94
94
|
transform: rotate(360deg);
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
|
-
`,
|
|
97
|
+
`,tf=({size:e,color:n="primary","data-testid":i})=>{const s=ye(),l=Object.keys(s.__hd__.loading.sizes).includes(e)?s.__hd__.loading.sizes[e]:e,f=Object.keys(s.__hd__.loading.strokeWidths).includes(e)?s.__hd__.loading.strokeWidths[e]:"2px",h=s.colors[n]||n;return m.jsx(bv,{size:l,color:h,strokeWidth:f,"data-testid":i})},$l=({size:e,loading:n=!0,color:i="primary",children:s,"data-testid":a,...l})=>{const d=ye(),[f,h]=c.useState(n),[p,b]=c.useState(n?1:0),[v,w]=c.useState(n?0:1);return c.useEffect(()=>{let _;return n?(h(!0),b(1),w(0)):(b(0),w(1),_=setTimeout(()=>{h(!1)},d.__hd__.loading.animation.showingDuration)),()=>{_&&clearTimeout(_)}},[n,d.__hd__.loading.animation.showingDuration]),s?m.jsxs(L,{position:"relative",...l,children:[f&&m.jsx(yv,{style:{opacity:p,transition:`opacity ${d.__hd__.loading.animation.showingDuration}ms`},children:m.jsx(tf,{size:e,color:i,"data-testid":a})}),m.jsx(L,{style:{opacity:v,transition:`opacity ${d.__hd__.loading.animation.contentShowingDuration}ms`},children:s})]}):f?m.jsx(tf,{size:e,color:i,"data-testid":a}):null};function xv({children:e,onClick:n,style:i,useScaleAnimation:s=!0,useOpacityAnimation:a=!0,href:l,target:d,rel:f,"data-testid":h,...p},b){const v=ye(),[w,_]=c.useState(!1),C=c.useCallback(()=>{_(!0)},[]),I=c.useCallback(()=>{_(!1)},[]),k=c.useCallback(()=>{_(!1)},[]),R=c.useMemo(()=>{const $=[];return s&&$.push("transform 0.2s ease"),a&&$.push("opacity 0.2s ease"),$.join(", ")},[s,a]),E={ref:b,onClick:n,onMouseDown:C,onMouseUp:I,onMouseLeave:k,style:i,"data-testid":h,transition:R,transform:s?`scale(${w?v.__hd__.touchable.animation.minScale:v.__hd__.touchable.animation.maxScale})`:void 0,opacity:a?w?v.__hd__.touchable.animation.minOpacity:v.__hd__.touchable.animation.maxOpacity:void 0,cursor:"pointer",...p};return l?m.jsx(L,{as:"a",href:l,target:d,rel:f,...E,children:e}):m.jsx(L,{...E,children:e})}const vv=c.forwardRef(xv),kt=vv,gs=(e,n,i,s="solid",a)=>{if(a)return e.colors.grey500;if(i)return e.colors[i];switch(s){case"outlined":case"text":return e.colors[n];case"solid":default:return n==="white"?e.colors.grey900:e.colors.white}},Al=le(L)`
|
|
98
98
|
display: flex;
|
|
99
99
|
flex-direction: row;
|
|
100
100
|
justify-content: center;
|
|
101
101
|
align-items: center;
|
|
102
102
|
position: relative;
|
|
103
|
-
background-color: ${({theme:
|
|
104
|
-
border-radius: ${({theme:
|
|
105
|
-
padding: ${({$paddingVertical:
|
|
106
|
-
border: ${({$borderWidth:
|
|
107
|
-
${({$variant:
|
|
108
|
-
pointer-events: ${({$disabled:
|
|
109
|
-
cursor: ${({$disabled:
|
|
103
|
+
background-color: ${({theme:e,$backgroundColor:n})=>n==="disabled"?e.colors.grey200:e.colors[n]};
|
|
104
|
+
border-radius: ${({theme:e,$borderRadius:n})=>e.radii[n]}px;
|
|
105
|
+
padding: ${({$paddingVertical:e,$paddingHorizontal:n,theme:i})=>`${i.spaces[e]}px ${i.spaces[n]}px`};
|
|
106
|
+
border: ${({$borderWidth:e,theme:n})=>n.borderWidths[e]}px solid transparent;
|
|
107
|
+
${({$variant:e,$color:n,theme:i})=>e==="outlined"&&`border-color: ${i.colors[n]};`}
|
|
108
|
+
pointer-events: ${({$disabled:e})=>e?"none":"auto"};
|
|
109
|
+
cursor: ${({$disabled:e})=>e?"not-allowed":"pointer"};
|
|
110
110
|
// Add border-color to transition
|
|
111
111
|
transition: opacity 0.2s ease-in-out, background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
|
|
112
|
-
opacity: ${({$disabled:
|
|
112
|
+
opacity: ${({$disabled:e})=>e?.7:1}; // Keep base opacity for disabled state
|
|
113
113
|
|
|
114
114
|
@media (min-width: 900px) {
|
|
115
115
|
&:hover {
|
|
116
|
-
${({$disabled:
|
|
116
|
+
${({$disabled:e,$variant:n,$color:i,$borderWidth:s,theme:a})=>!e&&`
|
|
117
117
|
opacity: 1; // Ensure full opacity on hover
|
|
118
118
|
// Solid: background white, border with main color
|
|
119
|
-
${
|
|
119
|
+
${n==="solid"?`background-color: ${a.colors.white}; border-color: ${a.colors[i]}; border-width: ${a.borderWidths[s]}px;`:""}
|
|
120
120
|
// Outlined: background with main color, border remains same (or becomes transparent/main color based on design)
|
|
121
|
-
${
|
|
121
|
+
${n==="outlined"?`background-color: ${a.colors[i]}; border-color: ${a.colors[i]};`:""}
|
|
122
122
|
// Text variant doesn't change background or border on hover
|
|
123
123
|
`}
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
|
-
`,
|
|
127
|
-
color: ${({theme:
|
|
128
|
-
font-size: ${({theme:
|
|
129
|
-
font-weight: ${({theme:
|
|
126
|
+
`,wv=le(Qe)`
|
|
127
|
+
color: ${({theme:e,$themeColor:n,$themeTextColor:i,$variant:s,$disabled:a})=>gs(e,n,i,s,a)};
|
|
128
|
+
font-size: ${({theme:e,$themeFontSize:n})=>e.__hd__.text.fontSizes[n]}px;
|
|
129
|
+
font-weight: ${({theme:e,$themeFontWeight:n})=>e.__hd__.text.fontWeights[n]};
|
|
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:
|
|
134
|
+
${Al}:hover & {
|
|
135
|
+
${({$variant:e,theme:n,$themeColor:i,$disabled:s})=>!s&&`
|
|
136
136
|
// Solid: text becomes main color
|
|
137
|
-
${
|
|
137
|
+
${e==="solid"?`color: ${n.colors[i]};`:""}
|
|
138
138
|
// Outlined: text becomes white
|
|
139
|
-
${
|
|
139
|
+
${e==="outlined"?`color: ${n.colors.white};`:""}
|
|
140
140
|
// Text: opacity changes
|
|
141
|
-
${
|
|
141
|
+
${e==="text"?`color: ${n.colors.primary};`:""}
|
|
142
142
|
`}
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
|
-
`,
|
|
145
|
+
`,nf=le(L)`
|
|
146
146
|
display: flex;
|
|
147
147
|
align-items: center;
|
|
148
|
-
margin-left: ${({theme:
|
|
149
|
-
margin-right: ${({theme:
|
|
150
|
-
`,
|
|
148
|
+
margin-left: ${({theme:e,$themePosition:n,$iconSpacing:i})=>n==="right"?`${e.spaces[i]}px`:0};
|
|
149
|
+
margin-right: ${({theme:e,$themePosition:n,$iconSpacing:i,$hasText:s})=>n==="left"&&s?`${e.spaces[i]}px`:0};
|
|
150
|
+
`,rf=le(pt)`
|
|
151
151
|
transition: color 0.2s ease-in-out;
|
|
152
|
-
color: ${({theme:
|
|
153
|
-
width: ${({theme:
|
|
154
|
-
height: ${({theme:
|
|
152
|
+
color: ${({theme:e,$themeColor:n,$themeTextColor:i,$variant:s,$disabled:a})=>gs(e,n,i,s,a)};
|
|
153
|
+
width: ${({theme:e,$iconSize:n})=>e.sizes[n]}px;
|
|
154
|
+
height: ${({theme:e,$iconSize:n})=>e.sizes[n]}px;
|
|
155
155
|
|
|
156
156
|
@media (min-width: 900px) {
|
|
157
|
-
${
|
|
158
|
-
${({$variant:
|
|
157
|
+
${Al}:hover & {
|
|
158
|
+
${({$variant:e,theme:n,$themeColor:i,$disabled:s})=>!s&&`
|
|
159
159
|
// Solid: text becomes main color
|
|
160
|
-
${
|
|
160
|
+
${e==="solid"?`color: ${n.colors[i]};`:""}
|
|
161
161
|
// Outlined: text becomes white
|
|
162
|
-
${
|
|
162
|
+
${e==="outlined"?`color: ${n.colors.white};`:""}
|
|
163
163
|
// Text: opacity changes
|
|
164
|
-
${
|
|
164
|
+
${e==="text"?`color: ${n.colors.primary};`:""}
|
|
165
165
|
`}
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
|
-
`,
|
|
169
|
-
background-color: ${({theme:
|
|
170
|
-
${({$orientation:
|
|
171
|
-
height: ${
|
|
168
|
+
`,Yr=({disabled:e=!1,icon:n,color:i,textColor:s,loading:a=!1,onClick:l,rightIcon:d,corner:f="circle",variant:h="solid",size:p="md",style:b,"data-testid":v,text:w,..._})=>{var P;const C=ye(),I=C.__hd__.button,k=I.defaultColor||"primary",R=i||k,E=((P=I.variants)==null?void 0:P[h])||{},$=I.sizes[p],A=e||a,M=c.useMemo(()=>A&&h==="solid"?"disabled":h==="solid"?R:E.bgColor||"transparent",[R,A,h,E.bgColor]),z=c.useMemo(()=>gs(C,R,s,h,A),[C,R,s,h,A]),j=se=>{e||a||l==null||l(se)},H=h==="text"?"none":$.paddingHorizontal,re=h==="text"?"none":$.paddingVertical,J=$.fontSize,ce=$.iconSize,B=I.iconSpacing||"xs",W=m.jsxs(L,{display:"flex",alignItems:"center",gap:B,children:[n&&m.jsx(nf,{$themePosition:"left",$iconSpacing:B,$hasText:!!w,children:m.jsx(rf,{$themeColor:R,$themeTextColor:s,$variant:h,$disabled:A,$iconSize:ce,type:"icon",art:n,weight:$.iconWeight,size:ce})}),w&&m.jsx(wv,{$themeColor:R,$themeTextColor:s,$themeFontSize:J,$themeFontWeight:$.fontWeight,$disabled:A,$variant:h,as:"span",children:w}),d&&m.jsx(nf,{$themePosition:"right",$iconSpacing:B,children:m.jsx(rf,{$themeColor:R,$themeTextColor:s,$variant:h,$disabled:A,$iconSize:ce,weight:$.iconWeight,type:"icon",art:d,size:ce})})]});return m.jsx(kt,{onClick:j,style:b,"data-testid":v,..._,children:m.jsx(Al,{$backgroundColor:M,$paddingHorizontal:H,$paddingVertical:re,$borderRadius:$.squircleBorderRadii[f],$borderWidth:$.borderWidth,$disabled:A,$variant:h,$color:R,$size:p,children:m.jsx($l,{size:"small",color:z,loading:a,display:"flex",alignItems:"center",justifyContent:"center",children:W})})})},_v=le(L)`
|
|
169
|
+
background-color: ${({theme:e,$color:n})=>e.colors[n]};
|
|
170
|
+
${({$orientation:e,$thickness:n})=>e==="horizontal"?`
|
|
171
|
+
height: ${n}px;
|
|
172
172
|
width: 100%;
|
|
173
173
|
`:`
|
|
174
|
-
width: ${
|
|
174
|
+
width: ${n}px;
|
|
175
175
|
height: 100%;
|
|
176
176
|
`}
|
|
177
|
-
`,
|
|
177
|
+
`,e1=({orientation:e="horizontal",color:n,thickness:i,...s})=>{var p,b;const a=ye(),l=(p=a.__hd__.divider)==null?void 0:p.defaultColor,d=(b=a.__hd__.divider)==null?void 0:b.defaultThickness,f=n||l||"grey300",h=i||d||1;return m.jsx(_v,{$orientation:e,$color:f,$thickness:h,...s})},t1=le(kt)`
|
|
178
178
|
display: flex;
|
|
179
179
|
align-items: center;
|
|
180
180
|
justify-content: center;
|
|
181
181
|
transition: background-color 0.2s ease-in-out, transform 50ms ease-in-out, box-shadow 0.2s ease-in-out;
|
|
182
|
-
background-color: ${({theme:
|
|
183
|
-
box-shadow: ${({$themeBoxShadow:
|
|
184
|
-
border-radius: ${({theme:
|
|
185
|
-
padding-left: ${({theme:
|
|
186
|
-
padding-right: ${({theme:
|
|
187
|
-
padding-top: ${({theme:
|
|
188
|
-
padding-bottom: ${({theme:
|
|
189
|
-
gap: ${({theme:
|
|
182
|
+
background-color: ${({theme:e,$themeBackgroundColor:n})=>e.colors[n]};
|
|
183
|
+
box-shadow: ${({$themeBoxShadow:e})=>e};
|
|
184
|
+
border-radius: ${({theme:e,$themeRadius:n,$isRound:i})=>i?"50%":`${e.radii[n]}px`};
|
|
185
|
+
padding-left: ${({theme:e,$themePaddingX:n,$themePaddingY:i,$isRound:s})=>e.spaces[s?i:n]}px;
|
|
186
|
+
padding-right: ${({theme:e,$themePaddingX:n,$themePaddingY:i,$isRound:s})=>e.spaces[s?i:n]}px;
|
|
187
|
+
padding-top: ${({theme:e,$themePaddingY:n})=>e.spaces[n]}px;
|
|
188
|
+
padding-bottom: ${({theme:e,$themePaddingY:n})=>e.spaces[n]}px;
|
|
189
|
+
gap: ${({theme:e,$gap:n})=>e.spaces[n]}px;
|
|
190
190
|
&:hover {
|
|
191
|
-
box-shadow: ${({$themeHoverBoxShadow:
|
|
192
|
-
background-color: ${({theme:
|
|
191
|
+
box-shadow: ${({$themeHoverBoxShadow:e})=>e};
|
|
192
|
+
background-color: ${({theme:e,$themeHoverBackgroundColor:n})=>e.colors[n]};
|
|
193
193
|
}
|
|
194
|
-
`,
|
|
194
|
+
`,of=le.span`
|
|
195
195
|
display: inline-flex;
|
|
196
196
|
align-items: center;
|
|
197
197
|
justify-content: center;
|
|
198
|
-
height: ${({$themeHeight:
|
|
199
|
-
min-width: ${({$
|
|
200
|
-
gap: ${({theme:
|
|
198
|
+
height: ${({$themeHeight:e})=>e}px;
|
|
199
|
+
min-width: ${({$themeMinWidth:e})=>e}px;
|
|
200
|
+
gap: ${({theme:e,$themeGap:n})=>e.spaces[n]}px;
|
|
201
201
|
transition: color 0.2s ease-in-out, opacity 0.2s ease-in-out, rotate 0.2s ease-in-out, font-size 0.2s ease-in-out, font-weight 0.2s ease-in-out;
|
|
202
|
-
color: ${({theme:
|
|
203
|
-
font-weight: ${({theme:
|
|
204
|
-
font-size: ${({theme:
|
|
205
|
-
rotate: ${({$isDropdownItem:
|
|
206
|
-
${
|
|
207
|
-
color: ${({theme:
|
|
208
|
-
rotate: ${({$isDropdownItem:
|
|
209
|
-
}
|
|
210
|
-
${({$isLoading:
|
|
202
|
+
color: ${({theme:e,$themeColor:n})=>e.colors[n]};
|
|
203
|
+
font-weight: ${({theme:e,$themeFontWeight:n})=>e.__hd__.text.fontWeights[n]};
|
|
204
|
+
font-size: ${({theme:e,$themeFontSize:n})=>e.__hd__.text.fontSizes[n]}px;
|
|
205
|
+
rotate: ${({$isDropdownItem:e,$isDropdownOpen:n})=>!e&&n?"-180deg":void 0};
|
|
206
|
+
${t1}:hover & {
|
|
207
|
+
color: ${({theme:e,$themeHoverColor:n})=>e.colors[n]};
|
|
208
|
+
rotate: ${({$isDropdownItem:e,$isDropdownOpen:n})=>!e&&n?"-90deg":void 0};
|
|
209
|
+
}
|
|
210
|
+
${({$isLoading:e})=>e&&`
|
|
211
211
|
opacity: 0;
|
|
212
212
|
`}
|
|
213
213
|
white-space: nowrap;
|
|
214
|
-
`,Lo=({label:t,icon:r,iconSize:i,isActive:s,isLoading:l,dropdownItems:u=[],onClick:f,size:h="large",isDropdownOpen:g=!1,isDropdownItem:v=!1,onMouseEnter:_,onToggleDropdown:S,paddingX:E,paddingY:x,isRound:C=!1})=>{const F=xe(),{isTouch:R}=Ia(),I=u.length>0,T=()=>{if(R&&I){g?f==null||f():S==null||S();return}f==null||f()},k=F.__hd__.header,O=k.navItem,M=s?O.active:O.inactive,N=d.useMemo(()=>v?"transparent":g?M.hoverBackgroundColor:M.backgroundColor,[v,g,M.backgroundColor,M.hoverBackgroundColor]);return y.jsxs(Vd,{onClick:T,onMouseEnter:_,$themeBackgroundColor:N,$themeBoxShadow:!v&&g?M.hoverBoxShadow:"none",$themeHoverBackgroundColor:v?"transparent":M.hoverBackgroundColor,$themeHoverBoxShadow:v?"none":M.hoverBoxShadow,$themeHoverColor:O.active.backgroundColor,$themeRadius:O.radius,$themePaddingX:E??O.paddingX,$themePaddingY:x??O.paddingY,$gap:k.loadingGap,$isRound:C,children:[y.jsx(X,{display:"flex",justifyContent:"start",alignItems:"center",flex:1,children:y.jsxs(af,{$themeFontWeight:M.fontWeight,$themeFontSize:O[h].fontSize,$themeColor:M.color,$themeHoverColor:O.hover.color,$themeGap:O[h].gap,$themeHeight:O[h].containerHeight,$isLoading:l??!1,children:[r&&y.jsx(Ht,{type:"icon",art:r,size:i??O[h].iconSize}),t]})}),(u.length>0||g)&&y.jsxs(af,{$themeFontWeight:M.fontWeight,$themeFontSize:O[h].fontSize,$themeColor:M.color,$themeHoverColor:O.hover.color,$themeGap:O[h].gap,$themeHeight:O[h].containerHeight,$isLoading:l??!1,$isDropdownOpen:g,$isDropdownItem:v,children:[u.length>0&&y.jsx(La,{size:16,weight:"bold"}),v&&y.jsx(gi,{rotate:45,size:16,weight:"bold"})]}),y.jsx(X,{display:"flex",alignItems:"center",justifyContent:"center",absoluteFill:!0,opacity:l?1:0,transition:"opacity 0.2s ease-in-out",children:y.jsx(ja,{size:O[h].loadingSize,color:M.color})})]})};function jb({userProfile:t,dropdownItems:r,maxHeight:i},s){const l=xe(),u=l.__hd__.header.profileDropdown,[f,h]=d.useState(!1),g=d.useRef(null),v=d.useRef(null),_=ze.isString(u.minWidth)&&ir(u.minWidth)?l.sizes[u.minWidth]:u.minWidth,S=ze.isString(i)&&ir(i)?l.sizes[i]:i||u.defaultMaxHeight,E=()=>{g.current&&clearTimeout(g.current),v.current&&clearTimeout(v.current)},x=(F=()=>{})=>{E(),h(!0),g.current=setTimeout(F,u.animationDuration)},C=(F=()=>{})=>{E(),h(!1),v.current=setTimeout(F,u.animationDuration)};return d.useImperativeHandle(s,()=>({showDropdown:x,hideDropdown:C})),y.jsx(X,{position:"absolute",top:u.offset.top,right:u.offset.right,minWidth:_,zIndex:f?l.zIndex.getZIndex("AIC_Kits_Dropdown"):-1,opacity:f?1:0,transition:`opacity ${u.animationDuration}ms ease-in-out, z-index ${u.animationDuration}ms ease-in-out`,onMouseEnter:()=>x(),onMouseLeave:()=>C(),children:y.jsxs(X,{overflow:"hidden",mt:u.spacingTop,mr:u.containerPaddingRight,padding:u.padding,backgroundColor:u.backgroundColor,boxShadow:u.boxShadow,maxHeight:f?S:0,transition:`max-height ${u.animationDuration}ms ease-in-out`,style:{borderRadius:u.borderRadius},display:"flex",flexDirection:"column",children:[t!=null&&t.name?y.jsx(X,{py:u.padding,mx:"md",children:y.jsx(ht,{textAlign:"left",children:t.name})}):y.jsx(X,{py:u.padding,mx:"md",children:y.jsx(ht,{textAlign:"left",children:t==null?void 0:t.email})}),y.jsx(X,{p:u.padding,children:y.jsx(Zd,{})}),r==null?void 0:r.map(F=>y.jsx(Lo,{label:F.label,onClick:F.onClick,isActive:F.isActive,size:"medium",isDropdownItem:!0},F.label))]})})}const Bb=d.forwardRef(jb),Nd=({isSignedIn:t=!1,isDropdownVisible:r,setIsDropdownVisible:i,userProfile:s,dropdownItems:l,profileDropdownMaxHeight:u,onProfileClick:f,onSignInClick:h,onRegisterClick:g})=>{const v=xe(),[_,S]=d.useState(!1),[E,x]=d.useState(!0),C=d.useDeferredValue(_),F=Fr(),R=!yt()&&F==="xs";d.useEffect(()=>{yt()||(S(!R),setTimeout(()=>{x(!1)},300))},[R]);const I=v.__hd__.header.avatarSize||"md",T=d.useRef(null),k=()=>{var M;i(!0),(M=T.current)==null||M.showDropdown()},O=()=>{var M;(M=T.current)==null||M.hideDropdown(()=>{i(!1)})};return d.useEffect(()=>{r?k():O()},[r]),y.jsx(mi,{display:"flex",visible:E,maxWidth:C?"100%":"0px",maxHeight:C?"100%":"0px",opacity:C?1:0,variant:"transparent",transition:"max-width 0.3s ease-in-out, opacity 0.3s ease-in-out",r:"lg",children:y.jsxs(X,{display:"flex",flexDirection:"row",alignItems:"center",children:[t?y.jsx(Jt,{onClick:f,children:y.jsxs(X,{display:"flex",flexDirection:"row",alignItems:"center",p:"sm",r:"full",bgColor:"grey100",onMouseEnter:k,onMouseLeave:O,children:[y.jsx(Fd,{src:s==null?void 0:s.avatar,name:s==null?void 0:s.name,size:I}),(s==null?void 0:s.name)&&y.jsx(X,{ml:"sm",children:y.jsx(ht,{fontWeight:"medium",children:s.name})})]})}):y.jsxs(y.Fragment,{children:[y.jsx(X,{mr:"md",children:y.jsx(ba,{text:"Sign in",variant:"text",color:"black",onClick:h})}),y.jsx(ba,{text:"Register",color:"primary",corner:"rounded",onClick:g})]}),t&&y.jsx(Bb,{ref:T,userProfile:s,dropdownItems:l,maxHeight:u})]})})},Pb="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='500'%20zoomAndPan='magnify'%20viewBox='0%200%20375%20374.999991'%20height='500'%20preserveAspectRatio='xMidYMid%20meet'%20version='1.0'%3e%3cdefs%3e%3cg%3e%3c/g%3e%3c/defs%3e%3cg%20fill='%230a1420'%20fill-opacity='1'%3e%3cg%20transform='translate(66.308093,%20231.512278)'%3e%3cg%3e%3cpath%20d='M%2095.3125%20-19.625%20L%2098.71875%20-19.625%20L%2098.71875%200%20C%2097.832031%200.375%2096.851562%200.71875%2095.78125%201.03125%20C%2094.71875%201.351562%2093.554688%201.515625%2092.296875%201.515625%20C%2087.265625%201.515625%2082.734375%200.351562%2078.703125%20-1.96875%20C%2074.679688%20-4.300781%2071.472656%20-7.421875%2069.078125%20-11.328125%20C%2066.054688%20-7.421875%2062.375%20-4.300781%2058.03125%20-1.96875%20C%2053.695312%200.351562%2048.757812%201.515625%2043.21875%201.515625%20C%2036.300781%201.515625%2030.007812%20-0.242188%2024.34375%20-3.765625%20C%2018.6875%20-7.296875%2014.1875%20-12.015625%2010.84375%20-17.921875%20C%207.507812%20-23.835938%205.84375%20-30.445312%205.84375%20-37.75%20C%205.84375%20-45.050781%207.507812%20-51.65625%2010.84375%20-57.5625%20C%2014.1875%20-63.476562%2018.6875%20-68.195312%2024.34375%20-71.71875%20C%2030.007812%20-75.25%2036.300781%20-77.015625%2043.21875%20-77.015625%20C%2047.625%20-77.015625%2051.617188%20-76.289062%2055.203125%20-74.84375%20C%2058.796875%20-73.394531%2061.972656%20-71.410156%2064.734375%20-68.890625%20L%2064.734375%20-75.5%20L%2088.71875%20-75.5%20L%2088.71875%20-26.984375%20C%2088.71875%20-23.835938%2089.40625%20-21.820312%2090.78125%20-20.9375%20C%2092.164062%20-20.0625%2093.675781%20-19.625%2095.3125%20-19.625%20Z%20M%2047.9375%20-19.8125%20C%2052.84375%20-19.8125%2057.054688%20-21.539062%2060.578125%20-25%20C%2064.109375%20-28.46875%2065.875%20-32.71875%2065.875%20-37.75%20C%2065.875%20-42.78125%2064.109375%20-47.023438%2060.578125%20-50.484375%20C%2057.054688%20-53.953125%2052.84375%20-55.6875%2047.9375%20-55.6875%20C%2042.90625%20-55.6875%2038.660156%20-53.953125%2035.203125%20-50.484375%20C%2031.742188%20-47.023438%2030.015625%20-42.78125%2030.015625%20-37.75%20C%2030.015625%20-32.71875%2031.742188%20-28.46875%2035.203125%20-25%20C%2038.660156%20-21.539062%2042.90625%20-19.8125%2047.9375%20-19.8125%20Z%20M%2047.9375%20-19.8125%20'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%20fill='%230a1420'%20fill-opacity='1'%3e%3cg%20transform='translate(167.850545,%20231.512278)'%3e%3cg%3e%3cpath%20d='M%2023.59375%20-88.140625%20C%2020.070312%20-88.140625%2016.988281%20-89.460938%2014.34375%20-92.109375%20C%2011.695312%20-94.753906%2010.375%20-97.835938%2010.375%20-101.359375%20C%2010.375%20-105.003906%2011.695312%20-108.117188%2014.34375%20-110.703125%20C%2016.988281%20-113.285156%2020.070312%20-114.578125%2023.59375%20-114.578125%20C%2027.238281%20-114.578125%2030.351562%20-113.285156%2032.9375%20-110.703125%20C%2035.519531%20-108.117188%2036.8125%20-105.003906%2036.8125%20-101.359375%20C%2036.8125%20-97.835938%2035.519531%20-94.753906%2032.9375%20-92.109375%20C%2030.351562%20-89.460938%2027.238281%20-88.140625%2023.59375%20-88.140625%20Z%20M%2011.515625%200%20L%2011.515625%20-75.5%20L%2035.484375%20-75.5%20L%2035.484375%200%20Z%20M%2011.515625%200%20'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%20fill='%230a1420'%20fill-opacity='1'%3e%3cg%20transform='translate(215.035693,%20231.512278)'%3e%3cg%3e%3cpath%20d='M%2047.9375%201.515625%20C%2039.507812%201.515625%2032.148438%20-0.179688%2025.859375%20-3.578125%20C%2019.566406%20-6.984375%2014.65625%20-11.640625%2011.125%20-17.546875%20C%207.601562%20-23.460938%205.84375%20-30.195312%205.84375%20-37.75%20C%205.84375%20-45.300781%207.601562%20-52.03125%2011.125%20-57.9375%20C%2014.65625%20-63.851562%2019.566406%20-68.507812%2025.859375%20-71.90625%20C%2032.148438%20-75.3125%2039.507812%20-77.015625%2047.9375%20-77.015625%20C%2059.269531%20-77.015625%2068.582031%20-74.023438%2075.875%20-68.046875%20C%2083.175781%20-62.066406%2087.644531%20-54.359375%2089.28125%20-44.921875%20L%2064.359375%20-44.921875%20C%2063.097656%20-48.191406%2061.019531%20-50.769531%2058.125%20-52.65625%20C%2055.238281%20-54.550781%2051.84375%20-55.5625%2047.9375%20-55.6875%20C%2042.78125%20-55.5625%2038.503906%20-53.828125%2035.109375%20-50.484375%20C%2031.710938%20-47.148438%2030.015625%20-42.90625%2030.015625%20-37.75%20C%2030.015625%20-32.71875%2031.710938%20-28.5%2035.109375%20-25.09375%20C%2038.503906%20-21.695312%2042.78125%20-19.9375%2047.9375%20-19.8125%20C%2051.84375%20-19.9375%2055.238281%20-20.972656%2058.125%20-22.921875%20C%2061.019531%20-24.878906%2063.097656%20-27.429688%2064.359375%20-30.578125%20L%2089.28125%20-30.578125%20C%2087.644531%20-21.140625%2083.175781%20-13.429688%2075.875%20-7.453125%20C%2068.582031%20-1.472656%2059.269531%201.515625%2047.9375%201.515625%20Z%20M%2047.9375%201.515625%20'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",Ud=({logo:t=Pb,onLogoClick:r})=>y.jsx(X,{children:y.jsx(Jt,{onClick:r,children:y.jsx(Ht,{art:t,type:"svg",width:"lg",height:"lg"})})}),Wb=({dropdownMaxHeight:t,dropdownMinWidth:r,isDropdownOpen:i=!1,dropdownItems:s=[]})=>{const l=xe(),u=l.__hd__.header.navDropdown,f=ze.isString(t)&&ir(t)?l.sizes[t]:t||u.defaultMaxHeight,h=ze.isString(r)&&ir(r)?l.sizes[r]:r||u.minWidth;return y.jsx(X,{position:"absolute",top:"100%",left:0,minWidth:h,zIndex:i?l.zIndex.getZIndex("AIC_Kits_Dropdown"):-1,opacity:i?1:0,transition:`z-index ${u.animationDuration}ms ease-in, opacity ${u.animationDuration}ms ease-in`,children:y.jsx(X,{overflow:"hidden",display:"flex",flexDirection:"column",mt:u.spacingTop,px:u.paddingX,py:u.paddingY,gap:u.gap,backgroundColor:u.backgroundColor,boxShadow:u.boxShadow,maxHeight:i?f:0,transition:`max-height ${u.animationDuration}ms ease-in`,style:{borderRadius:u.borderRadius},children:s.length>0&&s.map((g,v)=>y.jsx(Lo,{isDropdownOpen:!0,isDropdownItem:!0,size:"medium",paddingX:"none",paddingY:"none",...g},`nav-dropdown-item-${v}`))})})},Db=ae.span`
|
|
214
|
+
`,ms=({label:e,icon:n,iconSize:i,isActive:s,isLoading:a,dropdownItems:l=[],onClick:d,size:f="large",isDropdownOpen:h=!1,isDropdownItem:p=!1,onMouseEnter:b,onToggleDropdown:v,paddingX:w,paddingY:_,isRound:C=!1})=>{const I=ye(),{isTouch:k}=_l(),R=l.length>0,E=()=>{if(k&&R){h?d==null||d():v==null||v();return}d==null||d()},$=I.__hd__.header,A=$.navItem,M=s?A.active:A.inactive,z=c.useMemo(()=>p?"transparent":h?M.hoverBackgroundColor:M.backgroundColor,[p,h,M.backgroundColor,M.hoverBackgroundColor]);return m.jsxs(t1,{onClick:E,onMouseEnter:b,$themeBackgroundColor:z,$themeBoxShadow:!p&&h?M.hoverBoxShadow:"none",$themeHoverBackgroundColor:p?"transparent":M.hoverBackgroundColor,$themeHoverBoxShadow:p?"none":M.hoverBoxShadow,$themeHoverColor:A.active.backgroundColor,$themeRadius:A.radius,$themePaddingX:w??A.paddingX,$themePaddingY:_??A.paddingY,$gap:$.loadingGap,$isRound:C,children:[m.jsx(L,{display:"flex",justifyContent:"start",alignItems:"center",flex:1,children:m.jsxs(of,{$themeFontWeight:M.fontWeight,$themeFontSize:A[f].fontSize,$themeColor:M.color,$themeHoverColor:A.hover.color,$themeGap:A[f].gap,$themeHeight:A[f].containerHeight,$themeMinWidth:A[f].containerHeight,$isLoading:a??!1,children:[n&&m.jsx(pt,{type:"icon",art:n,size:i??A[f].iconSize}),e]})}),(l.length>0||h)&&m.jsxs(of,{$themeFontWeight:M.fontWeight,$themeFontSize:A[f].fontSize,$themeColor:M.color,$themeHoverColor:A.hover.color,$themeGap:A[f].gap,$themeHeight:A[f].containerHeight,$isLoading:a??!1,$isDropdownOpen:h,$isDropdownItem:p,children:[l.length>0&&m.jsx(vl,{size:16,weight:"bold"}),p&&m.jsx(Qr,{rotate:45,size:16,weight:"bold"})]}),m.jsx(L,{display:"flex",alignItems:"center",justifyContent:"center",absoluteFill:!0,opacity:a?1:0,transition:"opacity 0.2s ease-in-out",children:m.jsx($l,{size:A[f].loadingSize,color:M.color})})]})};function Cv({userProfile:e,dropdownItems:n,maxHeight:i},s){const a=ye(),l=a.__hd__.header.profileDropdown,[d,f]=c.useState(!1),h=c.useRef(null),p=c.useRef(null),b=Ze.isString(l.minWidth)&&mr(l.minWidth)?a.sizes[l.minWidth]:l.minWidth,v=Ze.isString(i)&&mr(i)?a.sizes[i]:i||l.defaultMaxHeight,w=()=>{h.current&&clearTimeout(h.current),p.current&&clearTimeout(p.current)},_=(I=()=>{})=>{w(),f(!0),h.current=setTimeout(I,l.animationDuration)},C=(I=()=>{})=>{w(),f(!1),p.current=setTimeout(I,l.animationDuration)};return c.useImperativeHandle(s,()=>({showDropdown:_,hideDropdown:C})),m.jsx(L,{position:"absolute",top:l.offset.top,right:l.offset.right,minWidth:b,zIndex:d?a.zIndex.getZIndex("AIC_Kits_Dropdown"):-1,opacity:d?1:0,transition:`opacity ${l.animationDuration}ms ease-in-out, z-index ${l.animationDuration}ms ease-in-out`,onMouseEnter:()=>_(),onMouseLeave:()=>C(),children:m.jsxs(L,{overflow:"hidden",mt:l.spacingTop,mr:l.containerPaddingRight,padding:l.padding,backgroundColor:l.backgroundColor,boxShadow:l.boxShadow,maxHeight:d?v:0,transition:`max-height ${l.animationDuration}ms ease-in-out`,style:{borderRadius:l.borderRadius},display:"flex",flexDirection:"column",children:[e!=null&&e.name?m.jsx(L,{py:l.padding,mx:"md",children:m.jsx(Qe,{textAlign:"left",children:e.name})}):m.jsx(L,{py:l.padding,mx:"md",children:m.jsx(Qe,{textAlign:"left",children:e==null?void 0:e.email})}),m.jsx(L,{p:l.padding,children:m.jsx(e1,{})}),n==null?void 0:n.map(I=>m.jsx(ms,{label:I.label,onClick:I.onClick,isActive:I.isActive,size:"medium",isDropdownItem:!0},I.label))]})})}const Sv=c.forwardRef(Cv),n1=({isSignedIn:e=!1,isDropdownVisible:n,setIsDropdownVisible:i,userProfile:s,dropdownItems:a,profileDropdownMaxHeight:l,onProfileClick:d,onSignInClick:f,onRegisterClick:h})=>{const p=ye(),[b,v]=c.useState(!1),[w,_]=c.useState(!0),C=c.useDeferredValue(b),I=Jr(),k=!Ct()&&I==="xs";c.useEffect(()=>{Ct()||(v(!k),setTimeout(()=>{_(!1)},300))},[k]);const R=p.__hd__.header.avatarSize||"md",E=c.useRef(null),$=()=>{var M;i(!0),(M=E.current)==null||M.showDropdown()},A=()=>{var M;(M=E.current)==null||M.hideDropdown(()=>{i(!1)})};return c.useEffect(()=>{n?$():A()},[n]),m.jsx(Hi,{display:"flex",visible:w,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:m.jsxs(L,{display:"flex",flexDirection:"row",alignItems:"center",children:[e?m.jsx(kt,{onClick:d,children:m.jsxs(L,{display:"flex",flexDirection:"row",alignItems:"center",p:"sm",r:"full",bgColor:"grey100",onMouseEnter:$,onMouseLeave:A,children:[m.jsx(U0,{src:s==null?void 0:s.avatar,name:s==null?void 0:s.name,size:R}),(s==null?void 0:s.name)&&m.jsx(L,{ml:"sm",children:m.jsx(Qe,{fontWeight:"medium",children:s.name})})]})}):m.jsxs(m.Fragment,{children:[m.jsx(L,{mr:"md",children:m.jsx(Yr,{text:"Sign in",variant:"text",color:"black",onClick:f})}),m.jsx(Yr,{text:"Register",color:"primary",corner:"rounded",onClick:h})]}),e&&m.jsx(Sv,{ref:E,userProfile:s,dropdownItems:a,maxHeight:l})]})})},Ev="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",r1=({logo:e=Ev,onLogoClick:n})=>m.jsx(L,{children:m.jsx(kt,{onClick:n,children:m.jsx(pt,{art:e,type:"svg",width:"lg",height:"lg"})})}),kv=({dropdownMaxHeight:e,dropdownMinWidth:n,isDropdownOpen:i=!1,dropdownItems:s=[]})=>{const a=ye(),l=a.__hd__.header.navDropdown,d=Ze.isString(e)&&mr(e)?a.sizes[e]:e||l.defaultMaxHeight,f=Ze.isString(n)&&mr(n)?a.sizes[n]:n||l.minWidth;return m.jsx(L,{position:"absolute",top:"100%",left:0,minWidth:f,zIndex:i?a.zIndex.getZIndex("AIC_Kits_Dropdown"):-1,opacity:i?1:0,transition:`z-index ${l.animationDuration}ms ease-in, opacity ${l.animationDuration}ms ease-in`,children:m.jsx(L,{overflow:"hidden",display:"flex",flexDirection:"column",mt:l.spacingTop,px:l.paddingX,py:l.paddingY,gap:l.gap,backgroundColor:l.backgroundColor,boxShadow:l.boxShadow,maxHeight:i?d:0,transition:`max-height ${l.animationDuration}ms ease-in`,style:{borderRadius:l.borderRadius},children:s.length>0&&s.map((h,p)=>m.jsx(ms,{isDropdownOpen:!0,isDropdownItem:!0,size:"medium",paddingX:"none",paddingY:"none",...h},`nav-dropdown-item-${p}`))})})},$v=le.span`
|
|
215
215
|
position: relative;
|
|
216
|
-
`,
|
|
216
|
+
`,Av=({item:e,index:n,openItemIndex:i,handleNavItemMouseEnter:s,handleNavItemMouseLeave:a,handleNavItemToggleDropdown:l})=>{var b,v;const[d,f]=c.useState(0),h=c.useRef(null),{isMouse:p}=_l();return c.useLayoutEffect(()=>{h.current&&f(h.current.offsetWidth)},[e]),m.jsxs($v,{onMouseLeave:p?a:void 0,onMouseEnter:p?()=>s(e,n):void 0,children:[m.jsx(L,{ref:h,display:"inline-block",children:m.jsx(ms,{...e,isActive:i!==n&&(e.isActive||((b=e.dropdownItems)==null?void 0:b.some(w=>w.isActive)))||e.isActive,isLoading:i!==n&&(e.isLoading||((v=e.dropdownItems)==null?void 0:v.some(w=>w.isLoading)))||e.isLoading,isDropdownOpen:i===n,onToggleDropdown:()=>l(n)})}),e.dropdownItems&&e.dropdownItems.length>0&&m.jsx(kv,{dropdownItems:e.dropdownItems,isDropdownOpen:i===n,dropdownMinWidth:d})]})},i1=({navItems:e=[]})=>{const i=ye().__hd__.header,s=c.useRef(null),[a,l]=c.useState(!1),[d,f]=c.useState(!0),h=Jr(),p=!Ct()&&h==="xs",[b,v]=c.useState(null);c.useEffect(()=>{Ct()||(l(!p),setTimeout(()=>{f(!1)},300))},[p]),c.useEffect(()=>{const k=R=>{s.current&&!s.current.contains(R.target)&&v(null)};return b!==null&&document.addEventListener("mousedown",k),()=>{document.removeEventListener("mousedown",k)}},[b]);const w=c.useDeferredValue(a),_=(k,R)=>{k.dropdownItems&&k.dropdownItems.length>0&&v(R)},C=()=>{v(null)},I=k=>{v(R=>R===k?null:k)};return m.jsx(Hi,{display:"flex",visible:d,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",py:"sm",children:m.jsx(L,{ref:s,display:"flex",flexDirection:"row",justifyContent:"center",flex:1,gap:i.navItem.gap,p:i.padding,r:i.radius,bgColor:i.backgroundColor,children:e.map((k,R)=>m.jsx(Av,{item:k,index:R,openItemIndex:b,handleNavItemMouseEnter:_,handleNavItemMouseLeave:C,handleNavItemToggleDropdown:I},`nav-item-wrapper-${R}`))})})},o1=({onSearchClick:e,isSearchActive:n=!1,isSearchLoading:i=!1})=>{const a=ye().__hd__.header,[l,d]=c.useState(!1),[f,h]=c.useState(!0),p=Jr(),b=!Ct()&&p==="xs";c.useEffect(()=>{Ct()||(d(!b),setTimeout(()=>{h(!1)},300))},[b]);const v=c.useDeferredValue(l);return m.jsx(Hi,{display:"flex",visible:f,maxWidth:v?"100%":"0px",maxHeight:v?"100%":"0px",opacity:v?1:0,variant:"transparent",transition:"max-width 0.3s ease-in-out, opacity 0.3s ease-in-out",r:"lg",py:"sm",children:m.jsx(L,{display:"flex",flexDirection:"row",justifyContent:"center",alignItems:"center",p:a.padding,r:a.radius,bgColor:a.backgroundColor,children:m.jsx(ms,{icon:B0,isActive:n,isLoading:i,onClick:e,isRound:!0})})})};function Tv({backgroundColor:e="white",logo:n,navItems:i=[],isSignedIn:s=!1,userProfile:a,profileDropdownItems:l,profileDropdownMaxHeight:d,onLogoClick:f,onNavItemClick:h,onSignInClick:p,onRegisterClick:b,onProfileClick:v,onSearchClick:w,isSearchActive:_,isSearchLoading:C,...I},k){const[R,E]=c.useState(!1);return c.useImperativeHandle(k,()=>({showDropdown:()=>E(!0),hideDropdown:()=>E(!1)})),m.jsxs(L,{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",width:"100%",p:"md",bgColor:e,...I,children:[m.jsx(r1,{logo:n,onLogoClick:f}),m.jsxs(L,{display:"flex",flexDirection:"row",alignItems:"center",gap:"sm-md",children:[m.jsx(i1,{navItems:i,onNavItemClick:h}),w&&m.jsx(o1,{onSearchClick:w,isSearchActive:_,isSearchLoading:C})]}),m.jsx(n1,{isSignedIn:s,isDropdownVisible:R,setIsDropdownVisible:E,userProfile:a,dropdownItems:l,profileDropdownMaxHeight:d,onSignInClick:p,onRegisterClick:b,onProfileClick:v})]})}const s1=c.forwardRef(Tv),Rv=(e,n,i)=>{let s={};return e?n==="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},Iv=(e,n)=>{const i={};return e&&n==="maxWidth"&&(i.marginLeft="auto",i.marginRight="auto"),i},Mv=({children:e,backgroundColor:n="white",header:i,contentLayoutMode:s="maxWidth",style:a,...l})=>{const f=ye().__hd__.base,h=Jr(),p=Ct()||h==="md"||h==="lg"||h==="xl",b=Rv(p,s,f),v=Iv(p,s);return m.jsxs(L,{display:"flex",flexDirection:"column",width:"100%",height:"100%",position:"relative",bgColor:n,style:a,...l,children:[i&&m.jsx(s1,{...i}),m.jsx(L,{flex:1,overflow:"visible",position:"relative",width:"100%",...b,style:v,children:e})]})},Fv=le.div`
|
|
217
217
|
display: flex;
|
|
218
218
|
flex-direction: row;
|
|
219
219
|
align-items: center;
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
border: ${
|
|
224
|
-
|
|
220
|
+
overflow: hidden;
|
|
221
|
+
${({theme:e,$isFocused:n,$isDisabled:i,$error:s,$borderColor:a,$bgColor:l})=>{const d=e.__hd__.input;let f="default";s?f="error":i?f="disabled":n&&(f="focused");const h=d.states[f],p=f==="focused"&&a?`0 0 0 2px ${e.colors[a]} inset`:h.boxShadow,b=e.spaces[d.padding.vertical],v=e.spaces[d.padding.horizontal],w=e.radii[d.borderRadius],_=e.borderWidths[d.borderWidth],C=f!=="disabled"&&l?e.colors[l]:h.backgroundColor;return`
|
|
222
|
+
padding: ${b}px ${v}px;
|
|
223
|
+
border-radius: ${w}px;
|
|
224
|
+
border: ${_}px solid ${e.colors[h.borderColor]};
|
|
225
|
+
box-shadow: ${p};
|
|
225
226
|
background-color: ${C};
|
|
226
227
|
opacity: ${i?.7:1};
|
|
227
228
|
transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
228
229
|
`}}
|
|
229
|
-
`,
|
|
230
|
+
`,sf=le.input`
|
|
230
231
|
flex: 1;
|
|
232
|
+
min-width: 0;
|
|
231
233
|
border: none;
|
|
232
234
|
background: transparent;
|
|
233
235
|
outline: none;
|
|
234
|
-
font-size: ${({theme:
|
|
235
|
-
color: ${({theme:
|
|
236
|
+
font-size: ${({theme:e})=>`${e.__hd__.text.fontSizes[e.__hd__.input.fontSize||"medium"]}px`};
|
|
237
|
+
color: ${({theme:e})=>e.colors[e.__hd__.input.textColor||"grey900"]};
|
|
236
238
|
|
|
237
239
|
&::placeholder {
|
|
238
|
-
color: ${({theme:
|
|
240
|
+
color: ${({theme:e})=>e.colors[e.__hd__.input.placeholderColor||"grey500"]};
|
|
239
241
|
}
|
|
240
242
|
|
|
241
243
|
&:disabled {
|
|
242
|
-
color: ${({theme:
|
|
244
|
+
color: ${({theme:e})=>e.colors[e.__hd__.input.disabledTextColor||"grey500"]};
|
|
243
245
|
cursor: not-allowed;
|
|
244
246
|
}
|
|
245
247
|
|
|
@@ -247,117 +249,117 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
247
249
|
&::-ms-reveal {
|
|
248
250
|
display: none;
|
|
249
251
|
}
|
|
250
|
-
`,Gb=(t,r)=>{const{value:i="",onChange:s,placeholder:l="",disabled:u=!1,error:f,label:h,helperText:g,leftIcon:v,rightIcon:_,borderColor:S,bgColor:E,multiline:x,...C}=t,F=xe(),R=F.__hd__.input,[I,T]=d.useState(!1),k=d.useRef(null),[O,M]=d.useState(i),[N,V]=d.useState(!1),[Q,pe]=d.useState(null),Ce=!x&&C.type==="password";d.useEffect(()=>{M(i)},[i]),d.useEffect(()=>{if(Ce&&k.current&&Q!==null){const ee=k.current,ve=Q;requestAnimationFrame(()=>{ee&&(ee.focus(),ee.setSelectionRange(ve,ve))}),pe(null)}},[N,Ce,Q]),d.useImperativeHandle(r,()=>({focus:()=>{var ee;return(ee=k.current)==null?void 0:ee.focus()},blur:()=>{var ee;return(ee=k.current)==null?void 0:ee.blur()},get value(){return O}}));const Me=ee=>{T(!0),t.onFocus&&t.onFocus(ee)},D=ee=>{T(!1),t.onBlur&&t.onBlur(ee)},j=ee=>{const ve=ee.target.value;M(ve),s==null||s(ve)},G=wt(F,R.iconSize),le=u?R.disabledTextColor:R.iconColor,te=()=>{Ce&&k.current&&(pe(k.current.selectionStart),V(!N))},oe={ref:k,value:O,onChange:j,onFocus:Me,onBlur:D,placeholder:l,disabled:u};return y.jsxs(X,{fw:!0,children:[h&&y.jsx(X,{mb:"xs",children:y.jsx(ht,{fontWeight:"medium",children:h})}),y.jsxs(qb,{$isFocused:I,$isDisabled:u,$error:!!f,$borderColor:S,$bgColor:E,children:[v&&y.jsx(X,{mr:R.iconSpacing,children:y.jsx(Ht,{type:"icon",art:v,size:G,color:le})}),x?y.jsx(lf,{as:"textarea",...oe,...C}):y.jsx(lf,{...oe,...C,type:N?"text":C.type}),Ce&&I?y.jsx(X,{ml:R.iconSpacing,onClick:te,onMouseDown:ee=>ee.preventDefault(),cursor:"pointer","data-testid":"password-toggle-icon",children:y.jsx(Ht,{type:"icon",art:N?kd:Td,size:G,color:le})}):!Ce&&_&&y.jsx(X,{ml:R.iconSpacing,children:y.jsx(Ht,{type:"icon",art:_,size:G,color:le})})]}),(f||g)&&y.jsx(X,{mt:"xs",children:y.jsx(ht,{fontSize:"xs",color:f?"danger":"grey600",children:f||g})})]})},Kb=d.forwardRef(Gb),Xb=["p","padding","pt","pb","pl","pr","px","py","gap","display","flexDirection","alignItems","justifyContent","flexWrap","flexGrow","flexShrink","flexBasis","flex"];function Yb(t){const r={},i={},s={};for(const l in t)if(Object.prototype.hasOwnProperty.call(t,l)){const u=t[l];Xb.includes(l)?r[l]=u:l!=="data"&&l!=="renderItem"&&l!=="keyExtractor"&&l!=="ListEmptyComponent"&&l!=="ListHeaderComponent"&&l!=="ListFooterComponent"&&l!=="ItemSeparatorComponent"&&l!=="itemGap"?i[l]=u:s[l]=u}return{listProps:s,contentProps:r,containerProps:i}}function Qb(t,r){var k,O;const{listProps:i,contentProps:s,containerProps:l}=Yb(t),{data:u=[],renderItem:f,keyExtractor:h,ListEmptyComponent:g,ListHeaderComponent:v,ListFooterComponent:_,ItemSeparatorComponent:S,itemGap:E}=i,x=xe(),C=((k=x.__hd__.list)==null?void 0:k.defaultGap)||"xs",F=E||C,R=((O=x.__hd__.list)==null?void 0:O.defaultPadding)||"0px",I=s.p??s.padding??R,T=()=>u.length===0&&g?g:u.map((M,N)=>{const V=h?h(M,N):String(N),Q=f?f(M,N):null;return Q?y.jsxs(d.Fragment,{children:[Q,S&&N<u.length-1?S:null]},V):null});return y.jsx(X,{ref:r,overflow:"auto",width:"100%",...l,children:y.jsxs(X,{display:"flex",flexDirection:"column",gap:F,p:I,...s,children:[v,T(),_]})})}const Jb=d.forwardRef(Qb);/*! @vimeo/player v2.27.1 | (c) 2025 Vimeo | MIT License | https://github.com/vimeo/player.js */function uf(t,r){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);r&&(s=s.filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable})),i.push.apply(i,s)}return i}function cf(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{};r%2?uf(Object(i),!0).forEach(function(s){go(t,s,i[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):uf(Object(i)).forEach(function(s){Object.defineProperty(t,s,Object.getOwnPropertyDescriptor(i,s))})}return t}function At(){At=function(){return t};var t={},r=Object.prototype,i=r.hasOwnProperty,s=Object.defineProperty||function(D,j,G){D[j]=G.value},l=typeof Symbol=="function"?Symbol:{},u=l.iterator||"@@iterator",f=l.asyncIterator||"@@asyncIterator",h=l.toStringTag||"@@toStringTag";function g(D,j,G){return Object.defineProperty(D,j,{value:G,enumerable:!0,configurable:!0,writable:!0}),D[j]}try{g({},"")}catch{g=function(j,G,le){return j[G]=le}}function v(D,j,G,le){var te=j&&j.prototype instanceof E?j:E,oe=Object.create(te.prototype),ee=new pe(le||[]);return s(oe,"_invoke",{value:M(D,G,ee)}),oe}function _(D,j,G){try{return{type:"normal",arg:D.call(j,G)}}catch(le){return{type:"throw",arg:le}}}t.wrap=v;var S={};function E(){}function x(){}function C(){}var F={};g(F,u,function(){return this});var R=Object.getPrototypeOf,I=R&&R(R(Ce([])));I&&I!==r&&i.call(I,u)&&(F=I);var T=C.prototype=E.prototype=Object.create(F);function k(D){["next","throw","return"].forEach(function(j){g(D,j,function(G){return this._invoke(j,G)})})}function O(D,j){function G(te,oe,ee,ve){var je=_(D[te],D,oe);if(je.type!=="throw"){var ke=je.arg,Oe=ke.value;return Oe&&typeof Oe=="object"&&i.call(Oe,"__await")?j.resolve(Oe.__await).then(function(De){G("next",De,ee,ve)},function(De){G("throw",De,ee,ve)}):j.resolve(Oe).then(function(De){ke.value=De,ee(ke)},function(De){return G("throw",De,ee,ve)})}ve(je.arg)}var le;s(this,"_invoke",{value:function(te,oe){function ee(){return new j(function(ve,je){G(te,oe,ve,je)})}return le=le?le.then(ee,ee):ee()}})}function M(D,j,G){var le="suspendedStart";return function(te,oe){if(le==="executing")throw new Error("Generator is already running");if(le==="completed"){if(te==="throw")throw oe;return Me()}for(G.method=te,G.arg=oe;;){var ee=G.delegate;if(ee){var ve=N(ee,G);if(ve){if(ve===S)continue;return ve}}if(G.method==="next")G.sent=G._sent=G.arg;else if(G.method==="throw"){if(le==="suspendedStart")throw le="completed",G.arg;G.dispatchException(G.arg)}else G.method==="return"&&G.abrupt("return",G.arg);le="executing";var je=_(D,j,G);if(je.type==="normal"){if(le=G.done?"completed":"suspendedYield",je.arg===S)continue;return{value:je.arg,done:G.done}}je.type==="throw"&&(le="completed",G.method="throw",G.arg=je.arg)}}}function N(D,j){var G=j.method,le=D.iterator[G];if(le===void 0)return j.delegate=null,G==="throw"&&D.iterator.return&&(j.method="return",j.arg=void 0,N(D,j),j.method==="throw")||G!=="return"&&(j.method="throw",j.arg=new TypeError("The iterator does not provide a '"+G+"' method")),S;var te=_(le,D.iterator,j.arg);if(te.type==="throw")return j.method="throw",j.arg=te.arg,j.delegate=null,S;var oe=te.arg;return oe?oe.done?(j[D.resultName]=oe.value,j.next=D.nextLoc,j.method!=="return"&&(j.method="next",j.arg=void 0),j.delegate=null,S):oe:(j.method="throw",j.arg=new TypeError("iterator result is not an object"),j.delegate=null,S)}function V(D){var j={tryLoc:D[0]};1 in D&&(j.catchLoc=D[1]),2 in D&&(j.finallyLoc=D[2],j.afterLoc=D[3]),this.tryEntries.push(j)}function Q(D){var j=D.completion||{};j.type="normal",delete j.arg,D.completion=j}function pe(D){this.tryEntries=[{tryLoc:"root"}],D.forEach(V,this),this.reset(!0)}function Ce(D){if(D){var j=D[u];if(j)return j.call(D);if(typeof D.next=="function")return D;if(!isNaN(D.length)){var G=-1,le=function te(){for(;++G<D.length;)if(i.call(D,G))return te.value=D[G],te.done=!1,te;return te.value=void 0,te.done=!0,te};return le.next=le}}return{next:Me}}function Me(){return{value:void 0,done:!0}}return x.prototype=C,s(T,"constructor",{value:C,configurable:!0}),s(C,"constructor",{value:x,configurable:!0}),x.displayName=g(C,h,"GeneratorFunction"),t.isGeneratorFunction=function(D){var j=typeof D=="function"&&D.constructor;return!!j&&(j===x||(j.displayName||j.name)==="GeneratorFunction")},t.mark=function(D){return Object.setPrototypeOf?Object.setPrototypeOf(D,C):(D.__proto__=C,g(D,h,"GeneratorFunction")),D.prototype=Object.create(T),D},t.awrap=function(D){return{__await:D}},k(O.prototype),g(O.prototype,f,function(){return this}),t.AsyncIterator=O,t.async=function(D,j,G,le,te){te===void 0&&(te=Promise);var oe=new O(v(D,j,G,le),te);return t.isGeneratorFunction(j)?oe:oe.next().then(function(ee){return ee.done?ee.value:oe.next()})},k(T),g(T,h,"Generator"),g(T,u,function(){return this}),g(T,"toString",function(){return"[object Generator]"}),t.keys=function(D){var j=Object(D),G=[];for(var le in j)G.push(le);return G.reverse(),function te(){for(;G.length;){var oe=G.pop();if(oe in j)return te.value=oe,te.done=!1,te}return te.done=!0,te}},t.values=Ce,pe.prototype={constructor:pe,reset:function(D){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(Q),!D)for(var j in this)j.charAt(0)==="t"&&i.call(this,j)&&!isNaN(+j.slice(1))&&(this[j]=void 0)},stop:function(){this.done=!0;var D=this.tryEntries[0].completion;if(D.type==="throw")throw D.arg;return this.rval},dispatchException:function(D){if(this.done)throw D;var j=this;function G(je,ke){return oe.type="throw",oe.arg=D,j.next=je,ke&&(j.method="next",j.arg=void 0),!!ke}for(var le=this.tryEntries.length-1;le>=0;--le){var te=this.tryEntries[le],oe=te.completion;if(te.tryLoc==="root")return G("end");if(te.tryLoc<=this.prev){var ee=i.call(te,"catchLoc"),ve=i.call(te,"finallyLoc");if(ee&&ve){if(this.prev<te.catchLoc)return G(te.catchLoc,!0);if(this.prev<te.finallyLoc)return G(te.finallyLoc)}else if(ee){if(this.prev<te.catchLoc)return G(te.catchLoc,!0)}else{if(!ve)throw new Error("try statement without catch or finally");if(this.prev<te.finallyLoc)return G(te.finallyLoc)}}}},abrupt:function(D,j){for(var G=this.tryEntries.length-1;G>=0;--G){var le=this.tryEntries[G];if(le.tryLoc<=this.prev&&i.call(le,"finallyLoc")&&this.prev<le.finallyLoc){var te=le;break}}te&&(D==="break"||D==="continue")&&te.tryLoc<=j&&j<=te.finallyLoc&&(te=null);var oe=te?te.completion:{};return oe.type=D,oe.arg=j,te?(this.method="next",this.next=te.finallyLoc,S):this.complete(oe)},complete:function(D,j){if(D.type==="throw")throw D.arg;return D.type==="break"||D.type==="continue"?this.next=D.arg:D.type==="return"?(this.rval=this.arg=D.arg,this.method="return",this.next="end"):D.type==="normal"&&j&&(this.next=j),S},finish:function(D){for(var j=this.tryEntries.length-1;j>=0;--j){var G=this.tryEntries[j];if(G.finallyLoc===D)return this.complete(G.completion,G.afterLoc),Q(G),S}},catch:function(D){for(var j=this.tryEntries.length-1;j>=0;--j){var G=this.tryEntries[j];if(G.tryLoc===D){var le=G.completion;if(le.type==="throw"){var te=le.arg;Q(G)}return te}}throw new Error("illegal catch attempt")},delegateYield:function(D,j,G){return this.delegate={iterator:Ce(D),resultName:j,nextLoc:G},this.method==="next"&&(this.arg=void 0),S}},t}function ff(t,r,i,s,l,u,f){try{var h=t[u](f),g=h.value}catch(v){i(v);return}h.done?r(g):Promise.resolve(g).then(s,l)}function nr(t){return function(){var r=this,i=arguments;return new Promise(function(s,l){var u=t.apply(r,i);function f(g){ff(u,s,l,f,h,"next",g)}function h(g){ff(u,s,l,f,h,"throw",g)}f(void 0)})}}function Xd(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function e3(t,r){for(var i=0;i<r.length;i++){var s=r[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,Jd(s.key),s)}}function Yd(t,r,i){return r&&e3(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function go(t,r,i){return r=Jd(r),r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}function t3(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),r&&hi(t,r)}function di(t){return di=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},di(t)}function hi(t,r){return hi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(s,l){return s.__proto__=l,s},hi(t,r)}function Qd(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function mo(t,r,i){return Qd()?mo=Reflect.construct.bind():mo=function(l,u,f){var h=[null];h.push.apply(h,u);var g=Function.bind.apply(l,h),v=new g;return f&&hi(v,f.prototype),v},mo.apply(null,arguments)}function n3(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function xa(t){var r=typeof Map=="function"?new Map:void 0;return xa=function(s){if(s===null||!n3(s))return s;if(typeof s!="function")throw new TypeError("Super expression must either be null or a function");if(typeof r<"u"){if(r.has(s))return r.get(s);r.set(s,l)}function l(){return mo(s,arguments,di(this).constructor)}return l.prototype=Object.create(s.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),hi(l,s)},xa(t)}function vo(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function r3(t,r){if(r&&(typeof r=="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return vo(t)}function i3(t){var r=Qd();return function(){var s=di(t),l;if(r){var u=di(this).constructor;l=Reflect.construct(s,arguments,u)}else l=s.apply(this,arguments);return r3(this,l)}}function o3(t,r){if(typeof t!="object"||t===null)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var s=i.call(t,r);if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}function Jd(t){var r=o3(t,"string");return typeof r=="symbol"?r:String(r)}var e0=typeof global<"u"&&{}.toString.call(global)==="[object global]";function df(t,r){return t.indexOf(r.toLowerCase())===0?t:"".concat(r.toLowerCase()).concat(t.substr(0,1).toUpperCase()).concat(t.substr(1))}function s3(t){return!!(t&&t.nodeType===1&&"nodeName"in t&&t.ownerDocument&&t.ownerDocument.defaultView)}function a3(t){return!isNaN(parseFloat(t))&&isFinite(t)&&Math.floor(t)==t}function sr(t){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(t)}function t0(t){var r=/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/;return r.test(t)}function l3(t){for(var r=(t||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),i=(r&&r[1]||"").replace("player.",""),s=[".videoji.hk",".vimeo.work",".videoji.cn"],l=0,u=s;l<u.length;l++){var f=u[l];if(i.endsWith(f))return i}return"vimeo.com"}function n0(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.id,i=t.url,s=r||i;if(!s)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(a3(s))return"https://vimeo.com/".concat(s);if(sr(s))return s.replace("http:","https:");throw r?new TypeError("“".concat(r,"” is not a valid video id.")):new TypeError("“".concat(s,"” is not a vimeo.com url."))}var hf=function(r,i,s){var l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"addEventListener",u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"removeEventListener",f=typeof i=="string"?[i]:i;return f.forEach(function(h){r[l](h,s)}),{cancel:function(){return f.forEach(function(g){return r[u](g,s)})}}},u3=typeof Array.prototype.indexOf<"u",c3=typeof window<"u"&&typeof window.postMessage<"u";if(!e0&&(!u3||!c3))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var Rr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function f3(t,r){return r={exports:{}},t(r,r.exports),r.exports}/*!
|
|
252
|
+
`,Ov=(e,n)=>{const{value:i="",onChange:s,placeholder:a="",disabled:l=!1,error:d,label:f,helperText:h,leftIcon:p,rightIcon:b,onClear:v,borderColor:w,bgColor:_,multiline:C,...I}=e,k=ye(),R=k.__hd__.input,[E,$]=c.useState(!1),A=c.useRef(null),[M,z]=c.useState(i),[j,H]=c.useState(!1),[re,J]=c.useState(null),ce=!C&&I.type==="password";c.useEffect(()=>{z(i)},[i]),c.useEffect(()=>{if(ce&&A.current&&re!==null){const xe=A.current,ve=re;requestAnimationFrame(()=>{xe&&(xe.focus(),xe.setSelectionRange(ve,ve))}),J(null)}},[j,ce,re]),c.useImperativeHandle(n,()=>({focus:()=>{var xe;return(xe=A.current)==null?void 0:xe.focus()},blur:()=>{var xe;return(xe=A.current)==null?void 0:xe.blur()},get value(){return M}}));const B=xe=>{$(!0),e.onFocus&&e.onFocus(xe)},W=xe=>{$(!1),e.onBlur&&e.onBlur(xe)},P=xe=>{const ve=xe.target.value;z(ve),s==null||s(ve)},se=vt(k,R.iconSize),G=l?R.disabledTextColor:R.iconColor,ne=()=>{ce&&A.current&&(J(A.current.selectionStart),H(!j))},ue=()=>{A.current&&(z(""),s==null||s(""),v==null||v())},be={ref:A,value:M,onChange:P,onFocus:B,onBlur:W,placeholder:a,disabled:l};return m.jsxs(L,{fw:!0,children:[f&&m.jsx(L,{mb:"xs",children:m.jsx(Qe,{fontWeight:"medium",children:f})}),m.jsxs(Fv,{$isFocused:E,$isDisabled:l,$error:!!d,$borderColor:w,$bgColor:_,children:[p&&m.jsx(L,{mr:R.iconSpacing,children:m.jsx(pt,{type:"icon",art:p,size:se,color:G})}),C?m.jsx(sf,{as:"textarea",...be,...I}):m.jsx(sf,{...be,...I,type:j?"text":I.type}),ce&&E?m.jsx(L,{ml:R.iconSpacing,onClick:ne,onMouseDown:xe=>xe.preventDefault(),cursor:"pointer","data-testid":"password-toggle-icon",children:m.jsx(pt,{type:"icon",art:j?P0:W0,size:se,color:G})}):v&&M&&!l?m.jsx(kt,{onClick:ue,children:m.jsx(L,{ml:R.iconSpacing,children:m.jsx(pt,{type:"icon",art:ds,size:se,color:G})})}):!ce&&b&&m.jsx(L,{ml:R.iconSpacing,children:m.jsx(pt,{type:"icon",art:b,size:se,color:G})})]}),(d||h)&&m.jsx(L,{mt:"xs",children:m.jsx(Qe,{fontSize:"xs",color:d?"danger":"grey600",children:d||h})})]})},Tl=c.forwardRef(Ov),zv=["p","padding","pt","pb","pl","pr","px","py","gap","display","flexDirection","alignItems","justifyContent","flexWrap","flexGrow","flexShrink","flexBasis","flex"];function Lv(e){const n={},i={},s={};for(const a in e)if(Object.prototype.hasOwnProperty.call(e,a)){const l=e[a];zv.includes(a)?n[a]=l:a!=="data"&&a!=="renderItem"&&a!=="keyExtractor"&&a!=="ListEmptyComponent"&&a!=="ListHeaderComponent"&&a!=="ListFooterComponent"&&a!=="ItemSeparatorComponent"&&a!=="itemGap"?i[a]=l:s[a]=l}return{listProps:s,contentProps:n,containerProps:i}}function jv(e,n){var $,A;const{listProps:i,contentProps:s,containerProps:a}=Lv(e),{data:l=[],renderItem:d,keyExtractor:f,ListEmptyComponent:h,ListHeaderComponent:p,ListFooterComponent:b,ItemSeparatorComponent:v,itemGap:w}=i,_=ye(),C=(($=_.__hd__.list)==null?void 0:$.defaultGap)||"xs",I=w||C,k=((A=_.__hd__.list)==null?void 0:A.defaultPadding)||"0px",R=s.p??s.padding??k,E=()=>l.length===0&&h?h:l.map((M,z)=>{const j=f?f(M,z):String(z),H=d?d(M,z):null;return H?m.jsxs(c.Fragment,{children:[H,v&&z<l.length-1?v:null]},j):null});return m.jsx(L,{ref:n,overflow:"auto",width:"100%",...a,children:m.jsxs(L,{display:"flex",flexDirection:"column",gap:I,p:R,...s,children:[p,E(),b]})})}const Dv=c.forwardRef(jv);/*! @vimeo/player v2.27.1 | (c) 2025 Vimeo | MIT License | https://github.com/vimeo/player.js */function af(e,n){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);n&&(s=s.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),i.push.apply(i,s)}return i}function lf(e){for(var n=1;n<arguments.length;n++){var i=arguments[n]!=null?arguments[n]:{};n%2?af(Object(i),!0).forEach(function(s){Ko(e,s,i[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):af(Object(i)).forEach(function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(i,s))})}return e}function It(){It=function(){return e};var e={},n=Object.prototype,i=n.hasOwnProperty,s=Object.defineProperty||function(B,W,P){B[W]=P.value},a=typeof Symbol=="function"?Symbol:{},l=a.iterator||"@@iterator",d=a.asyncIterator||"@@asyncIterator",f=a.toStringTag||"@@toStringTag";function h(B,W,P){return Object.defineProperty(B,W,{value:P,enumerable:!0,configurable:!0,writable:!0}),B[W]}try{h({},"")}catch{h=function(W,P,se){return W[P]=se}}function p(B,W,P,se){var G=W&&W.prototype instanceof w?W:w,ne=Object.create(G.prototype),ue=new re(se||[]);return s(ne,"_invoke",{value:M(B,P,ue)}),ne}function b(B,W,P){try{return{type:"normal",arg:B.call(W,P)}}catch(se){return{type:"throw",arg:se}}}e.wrap=p;var v={};function w(){}function _(){}function C(){}var I={};h(I,l,function(){return this});var k=Object.getPrototypeOf,R=k&&k(k(J([])));R&&R!==n&&i.call(R,l)&&(I=R);var E=C.prototype=w.prototype=Object.create(I);function $(B){["next","throw","return"].forEach(function(W){h(B,W,function(P){return this._invoke(W,P)})})}function A(B,W){function P(G,ne,ue,be){var xe=b(B[G],B,ne);if(xe.type!=="throw"){var ve=xe.arg,Ae=ve.value;return Ae&&typeof Ae=="object"&&i.call(Ae,"__await")?W.resolve(Ae.__await).then(function(de){P("next",de,ue,be)},function(de){P("throw",de,ue,be)}):W.resolve(Ae).then(function(de){ve.value=de,ue(ve)},function(de){return P("throw",de,ue,be)})}be(xe.arg)}var se;s(this,"_invoke",{value:function(G,ne){function ue(){return new W(function(be,xe){P(G,ne,be,xe)})}return se=se?se.then(ue,ue):ue()}})}function M(B,W,P){var se="suspendedStart";return function(G,ne){if(se==="executing")throw new Error("Generator is already running");if(se==="completed"){if(G==="throw")throw ne;return ce()}for(P.method=G,P.arg=ne;;){var ue=P.delegate;if(ue){var be=z(ue,P);if(be){if(be===v)continue;return be}}if(P.method==="next")P.sent=P._sent=P.arg;else if(P.method==="throw"){if(se==="suspendedStart")throw se="completed",P.arg;P.dispatchException(P.arg)}else P.method==="return"&&P.abrupt("return",P.arg);se="executing";var xe=b(B,W,P);if(xe.type==="normal"){if(se=P.done?"completed":"suspendedYield",xe.arg===v)continue;return{value:xe.arg,done:P.done}}xe.type==="throw"&&(se="completed",P.method="throw",P.arg=xe.arg)}}}function z(B,W){var P=W.method,se=B.iterator[P];if(se===void 0)return W.delegate=null,P==="throw"&&B.iterator.return&&(W.method="return",W.arg=void 0,z(B,W),W.method==="throw")||P!=="return"&&(W.method="throw",W.arg=new TypeError("The iterator does not provide a '"+P+"' method")),v;var G=b(se,B.iterator,W.arg);if(G.type==="throw")return W.method="throw",W.arg=G.arg,W.delegate=null,v;var ne=G.arg;return ne?ne.done?(W[B.resultName]=ne.value,W.next=B.nextLoc,W.method!=="return"&&(W.method="next",W.arg=void 0),W.delegate=null,v):ne:(W.method="throw",W.arg=new TypeError("iterator result is not an object"),W.delegate=null,v)}function j(B){var W={tryLoc:B[0]};1 in B&&(W.catchLoc=B[1]),2 in B&&(W.finallyLoc=B[2],W.afterLoc=B[3]),this.tryEntries.push(W)}function H(B){var W=B.completion||{};W.type="normal",delete W.arg,B.completion=W}function re(B){this.tryEntries=[{tryLoc:"root"}],B.forEach(j,this),this.reset(!0)}function J(B){if(B){var W=B[l];if(W)return W.call(B);if(typeof B.next=="function")return B;if(!isNaN(B.length)){var P=-1,se=function G(){for(;++P<B.length;)if(i.call(B,P))return G.value=B[P],G.done=!1,G;return G.value=void 0,G.done=!0,G};return se.next=se}}return{next:ce}}function ce(){return{value:void 0,done:!0}}return _.prototype=C,s(E,"constructor",{value:C,configurable:!0}),s(C,"constructor",{value:_,configurable:!0}),_.displayName=h(C,f,"GeneratorFunction"),e.isGeneratorFunction=function(B){var W=typeof B=="function"&&B.constructor;return!!W&&(W===_||(W.displayName||W.name)==="GeneratorFunction")},e.mark=function(B){return Object.setPrototypeOf?Object.setPrototypeOf(B,C):(B.__proto__=C,h(B,f,"GeneratorFunction")),B.prototype=Object.create(E),B},e.awrap=function(B){return{__await:B}},$(A.prototype),h(A.prototype,d,function(){return this}),e.AsyncIterator=A,e.async=function(B,W,P,se,G){G===void 0&&(G=Promise);var ne=new A(p(B,W,P,se),G);return e.isGeneratorFunction(W)?ne:ne.next().then(function(ue){return ue.done?ue.value:ne.next()})},$(E),h(E,f,"Generator"),h(E,l,function(){return this}),h(E,"toString",function(){return"[object Generator]"}),e.keys=function(B){var W=Object(B),P=[];for(var se in W)P.push(se);return P.reverse(),function G(){for(;P.length;){var ne=P.pop();if(ne in W)return G.value=ne,G.done=!1,G}return G.done=!0,G}},e.values=J,re.prototype={constructor:re,reset:function(B){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(H),!B)for(var W in this)W.charAt(0)==="t"&&i.call(this,W)&&!isNaN(+W.slice(1))&&(this[W]=void 0)},stop:function(){this.done=!0;var B=this.tryEntries[0].completion;if(B.type==="throw")throw B.arg;return this.rval},dispatchException:function(B){if(this.done)throw B;var W=this;function P(xe,ve){return ne.type="throw",ne.arg=B,W.next=xe,ve&&(W.method="next",W.arg=void 0),!!ve}for(var se=this.tryEntries.length-1;se>=0;--se){var G=this.tryEntries[se],ne=G.completion;if(G.tryLoc==="root")return P("end");if(G.tryLoc<=this.prev){var ue=i.call(G,"catchLoc"),be=i.call(G,"finallyLoc");if(ue&&be){if(this.prev<G.catchLoc)return P(G.catchLoc,!0);if(this.prev<G.finallyLoc)return P(G.finallyLoc)}else if(ue){if(this.prev<G.catchLoc)return P(G.catchLoc,!0)}else{if(!be)throw new Error("try statement without catch or finally");if(this.prev<G.finallyLoc)return P(G.finallyLoc)}}}},abrupt:function(B,W){for(var P=this.tryEntries.length-1;P>=0;--P){var se=this.tryEntries[P];if(se.tryLoc<=this.prev&&i.call(se,"finallyLoc")&&this.prev<se.finallyLoc){var G=se;break}}G&&(B==="break"||B==="continue")&&G.tryLoc<=W&&W<=G.finallyLoc&&(G=null);var ne=G?G.completion:{};return ne.type=B,ne.arg=W,G?(this.method="next",this.next=G.finallyLoc,v):this.complete(ne)},complete:function(B,W){if(B.type==="throw")throw B.arg;return B.type==="break"||B.type==="continue"?this.next=B.arg:B.type==="return"?(this.rval=this.arg=B.arg,this.method="return",this.next="end"):B.type==="normal"&&W&&(this.next=W),v},finish:function(B){for(var W=this.tryEntries.length-1;W>=0;--W){var P=this.tryEntries[W];if(P.finallyLoc===B)return this.complete(P.completion,P.afterLoc),H(P),v}},catch:function(B){for(var W=this.tryEntries.length-1;W>=0;--W){var P=this.tryEntries[W];if(P.tryLoc===B){var se=P.completion;if(se.type==="throw"){var G=se.arg;H(P)}return G}}throw new Error("illegal catch attempt")},delegateYield:function(B,W,P){return this.delegate={iterator:J(B),resultName:W,nextLoc:P},this.method==="next"&&(this.arg=void 0),v}},e}function cf(e,n,i,s,a,l,d){try{var f=e[l](d),h=f.value}catch(p){i(p);return}f.done?n(h):Promise.resolve(h).then(s,a)}function pr(e){return function(){var n=this,i=arguments;return new Promise(function(s,a){var l=e.apply(n,i);function d(h){cf(l,s,a,d,f,"next",h)}function f(h){cf(l,s,a,d,f,"throw",h)}d(void 0)})}}function a1(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function Pv(e,n){for(var i=0;i<n.length;i++){var s=n[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,u1(s.key),s)}}function l1(e,n,i){return n&&Pv(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ko(e,n,i){return n=u1(n),n in e?Object.defineProperty(e,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[n]=i,e}function Wv(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&Wi(e,n)}function Pi(e){return Pi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Pi(e)}function Wi(e,n){return Wi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(s,a){return s.__proto__=a,s},Wi(e,n)}function c1(){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 Yo(e,n,i){return c1()?Yo=Reflect.construct.bind():Yo=function(a,l,d){var f=[null];f.push.apply(f,l);var h=Function.bind.apply(a,f),p=new h;return d&&Wi(p,d.prototype),p},Yo.apply(null,arguments)}function Bv(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function il(e){var n=typeof Map=="function"?new Map:void 0;return il=function(s){if(s===null||!Bv(s))return s;if(typeof s!="function")throw new TypeError("Super expression must either be null or a function");if(typeof n<"u"){if(n.has(s))return n.get(s);n.set(s,a)}function a(){return Yo(s,arguments,Pi(this).constructor)}return a.prototype=Object.create(s.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),Wi(a,s)},il(e)}function Xo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hv(e,n){if(n&&(typeof n=="object"||typeof n=="function"))return n;if(n!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Xo(e)}function Zv(e){var n=c1();return function(){var s=Pi(e),a;if(n){var l=Pi(this).constructor;a=Reflect.construct(s,arguments,l)}else a=s.apply(this,arguments);return Hv(this,a)}}function Vv(e,n){if(typeof e!="object"||e===null)return e;var i=e[Symbol.toPrimitive];if(i!==void 0){var s=i.call(e,n);if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function u1(e){var n=Vv(e,"string");return typeof n=="symbol"?n:String(n)}var d1=typeof global<"u"&&{}.toString.call(global)==="[object global]";function uf(e,n){return e.indexOf(n.toLowerCase())===0?e:"".concat(n.toLowerCase()).concat(e.substr(0,1).toUpperCase()).concat(e.substr(1))}function Nv(e){return!!(e&&e.nodeType===1&&"nodeName"in e&&e.ownerDocument&&e.ownerDocument.defaultView)}function Uv(e){return!isNaN(parseFloat(e))&&isFinite(e)&&Math.floor(e)==e}function br(e){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(e)}function f1(e){var n=/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/;return n.test(e)}function Gv(e){for(var n=(e||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),i=(n&&n[1]||"").replace("player.",""),s=[".videoji.hk",".vimeo.work",".videoji.cn"],a=0,l=s;a<l.length;a++){var d=l[a];if(i.endsWith(d))return i}return"vimeo.com"}function h1(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=e.id,i=e.url,s=n||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(Uv(s))return"https://vimeo.com/".concat(s);if(br(s))return s.replace("http:","https:");throw n?new TypeError("“".concat(n,"” is not a valid video id.")):new TypeError("“".concat(s,"” is not a vimeo.com url."))}var df=function(n,i,s){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"addEventListener",l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"removeEventListener",d=typeof i=="string"?[i]:i;return d.forEach(function(f){n[a](f,s)}),{cancel:function(){return d.forEach(function(h){return n[l](h,s)})}}},qv=typeof Array.prototype.indexOf<"u",Kv=typeof window<"u"&&typeof window.postMessage<"u";if(!d1&&(!qv||!Kv))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var Ur=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Yv(e,n){return n={exports:{}},e(n,n.exports),n.exports}/*!
|
|
251
253
|
* weakmap-polyfill v2.0.4 - ECMAScript6 WeakMap polyfill
|
|
252
254
|
* https://github.com/polygonplanet/weakmap-polyfill
|
|
253
255
|
* Copyright (c) 2015-2021 polygonplanet <polygon.planet.aqua@gmail.com>
|
|
254
256
|
* @license MIT
|
|
255
|
-
*/(function(
|
|
257
|
+
*/(function(e){if(e.WeakMap)return;var n=Object.prototype.hasOwnProperty,i=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{value:1}).x===1}catch{}}(),s=function(l,d,f){i?Object.defineProperty(l,d,{configurable:!0,writable:!0,value:f}):l[d]=f};e.WeakMap=function(){function l(){if(this===void 0)throw new TypeError("Constructor WeakMap requires 'new'");if(s(this,"_id",f("_WeakMap")),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}s(l.prototype,"delete",function(p){if(d(this,"delete"),!a(p))return!1;var b=p[this._id];return b&&b[0]===p?(delete p[this._id],!0):!1}),s(l.prototype,"get",function(p){if(d(this,"get"),!!a(p)){var b=p[this._id];if(b&&b[0]===p)return b[1]}}),s(l.prototype,"has",function(p){if(d(this,"has"),!a(p))return!1;var b=p[this._id];return!!(b&&b[0]===p)}),s(l.prototype,"set",function(p,b){if(d(this,"set"),!a(p))throw new TypeError("Invalid value used as weak map key");var v=p[this._id];return v&&v[0]===p?(v[1]=b,this):(s(p,this._id,[p,b]),this)});function d(p,b){if(!a(p)||!n.call(p,"_id"))throw new TypeError(b+" method called on incompatible receiver "+typeof p)}function f(p){return p+"_"+h()+"."+h()}function h(){return Math.random().toString().substring(2)}return s(l,"_polyfill",!0),l}();function a(l){return Object(l)===l}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:Ur);var ln=Yv(function(e){/*! Native Promise Only
|
|
256
258
|
v0.8.1 (c) Kyle Simpson
|
|
257
259
|
MIT License: http://getify.mit-license.org
|
|
258
|
-
*/(function(i,s,l){s[i]=s[i]||l(),t.exports&&(t.exports=s[i])})("Promise",Rr,function(){var i,s,l,u=Object.prototype.toString,f=typeof setImmediate<"u"?function(k){return setImmediate(k)}:setTimeout;try{Object.defineProperty({},"x",{}),i=function(k,O,M,N){return Object.defineProperty(k,O,{value:M,writable:!0,configurable:N!==!1})}}catch{i=function(O,M,N){return O[M]=N,O}}l=function(){var k,O,M;function N(V,Q){this.fn=V,this.self=Q,this.next=void 0}return{add:function(Q,pe){M=new N(Q,pe),O?O.next=M:k=M,O=M,M=void 0},drain:function(){var Q=k;for(k=O=s=void 0;Q;)Q.fn.call(Q.self),Q=Q.next}}}();function h(T,k){l.add(T,k),s||(s=f(l.drain))}function g(T){var k,O=typeof T;return T!=null&&(O=="object"||O=="function")&&(k=T.then),typeof k=="function"?k:!1}function v(){for(var T=0;T<this.chain.length;T++)_(this,this.state===1?this.chain[T].success:this.chain[T].failure,this.chain[T]);this.chain.length=0}function _(T,k,O){var M,N;try{k===!1?O.reject(T.msg):(k===!0?M=T.msg:M=k.call(void 0,T.msg),M===O.promise?O.reject(TypeError("Promise-chain cycle")):(N=g(M))?N.call(M,O.resolve,O.reject):O.resolve(M))}catch(V){O.reject(V)}}function S(T){var k,O=this;if(!O.triggered){O.triggered=!0,O.def&&(O=O.def);try{(k=g(T))?h(function(){var M=new C(O);try{k.call(T,function(){S.apply(M,arguments)},function(){E.apply(M,arguments)})}catch(N){E.call(M,N)}}):(O.msg=T,O.state=1,O.chain.length>0&&h(v,O))}catch(M){E.call(new C(O),M)}}}function E(T){var k=this;k.triggered||(k.triggered=!0,k.def&&(k=k.def),k.msg=T,k.state=2,k.chain.length>0&&h(v,k))}function x(T,k,O,M){for(var N=0;N<k.length;N++)(function(Q){T.resolve(k[Q]).then(function(Ce){O(Q,Ce)},M)})(N)}function C(T){this.def=T,this.triggered=!1}function F(T){this.promise=T,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function R(T){if(typeof T!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var k=new F(this);this.then=function(M,N){var V={success:typeof M=="function"?M:!0,failure:typeof N=="function"?N:!1};return V.promise=new this.constructor(function(pe,Ce){if(typeof pe!="function"||typeof Ce!="function")throw TypeError("Not a function");V.resolve=pe,V.reject=Ce}),k.chain.push(V),k.state!==0&&h(v,k),V.promise},this.catch=function(M){return this.then(void 0,M)};try{T.call(void 0,function(M){S.call(k,M)},function(M){E.call(k,M)})}catch(O){E.call(k,O)}}var I=i({},"constructor",R,!1);return R.prototype=I,i(I,"__NPO__",0,!1),i(R,"resolve",function(k){var O=this;return k&&typeof k=="object"&&k.__NPO__===1?k:new O(function(N,V){if(typeof N!="function"||typeof V!="function")throw TypeError("Not a function");N(k)})}),i(R,"reject",function(k){return new this(function(M,N){if(typeof M!="function"||typeof N!="function")throw TypeError("Not a function");N(k)})}),i(R,"all",function(k){var O=this;return u.call(k)!="[object Array]"?O.reject(TypeError("Not an array")):k.length===0?O.resolve([]):new O(function(N,V){if(typeof N!="function"||typeof V!="function")throw TypeError("Not a function");var Q=k.length,pe=Array(Q),Ce=0;x(O,k,function(D,j){pe[D]=j,++Ce===Q&&N(pe)},V)})}),i(R,"race",function(k){var O=this;return u.call(k)!="[object Array]"?O.reject(TypeError("Not an array")):new O(function(N,V){if(typeof N!="function"||typeof V!="function")throw TypeError("Not a function");x(O,k,function(pe,Ce){N(Ce)},V)})}),R})}),En=new WeakMap;function oi(t,r,i){var s=En.get(t.element)||{};r in s||(s[r]=[]),s[r].push(i),En.set(t.element,s)}function wo(t,r){var i=En.get(t.element)||{};return i[r]||[]}function _o(t,r,i){var s=En.get(t.element)||{};if(!s[r])return!0;if(!i)return s[r]=[],En.set(t.element,s),!0;var l=s[r].indexOf(i);return l!==-1&&s[r].splice(l,1),En.set(t.element,s),s[r]&&s[r].length===0}function d3(t,r){var i=wo(t,r);if(i.length<1)return!1;var s=i.shift();return _o(t,r,s),s}function h3(t,r){var i=En.get(t);En.set(r,i),En.delete(t)}function Oo(t){if(typeof t=="string")try{t=JSON.parse(t)}catch(r){return console.warn(r),{}}return t}function tr(t,r,i){if(!(!t.element.contentWindow||!t.element.contentWindow.postMessage)){var s={method:r};i!==void 0&&(s.value=i);var l=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));l>=8&&l<10&&(s=JSON.stringify(s)),t.element.contentWindow.postMessage(s,t.origin)}}function p3(t,r){r=Oo(r);var i=[],s;if(r.event){if(r.event==="error"){var l=wo(t,r.data.method);l.forEach(function(f){var h=new Error(r.data.message);h.name=r.data.name,f.reject(h),_o(t,r.data.method,f)})}i=wo(t,"event:".concat(r.event)),s=r.data}else if(r.method){var u=d3(t,r.method);u&&(i.push(u),s=r.value)}i.forEach(function(f){try{if(typeof f=="function"){f.call(t,s);return}f.resolve(s)}catch{}})}var g3=["airplay","audio_tracks","audiotrack","autopause","autoplay","background","byline","cc","chapter_id","chapters","chromecast","color","colors","controls","dnt","end_time","fullscreen","height","id","initial_quality","interactive_params","keyboard","loop","maxheight","max_quality","maxwidth","min_quality","muted","play_button_position","playsinline","portrait","progress_bar","quality","quality_selector","responsive","skipping_forward","speed","start_time","texttrack","title","transcript","transparent","unmute_button","url","vimeo_logo","volume","watch_full_video","width"];function r0(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return g3.reduce(function(i,s){var l=t.getAttribute("data-vimeo-".concat(s));return(l||l==="")&&(i[s]=l===""?1:l),i},r)}function Pa(t,r){var i=t.html;if(!r)throw new TypeError("An element must be provided");if(r.getAttribute("data-vimeo-initialized")!==null)return r.querySelector("iframe");var s=document.createElement("div");return s.innerHTML=i,r.appendChild(s.firstChild),r.setAttribute("data-vimeo-initialized","true"),r.querySelector("iframe")}function i0(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0;return new Promise(function(s,l){if(!sr(t))throw new TypeError("“".concat(t,"” is not a vimeo.com url."));var u=l3(t),f="https://".concat(u,"/api/oembed.json?url=").concat(encodeURIComponent(t));for(var h in r)r.hasOwnProperty(h)&&(f+="&".concat(h,"=").concat(encodeURIComponent(r[h])));var g="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;g.open("GET",f,!0),g.onload=function(){if(g.status===404){l(new Error("“".concat(t,"” was not found.")));return}if(g.status===403){l(new Error("“".concat(t,"” is not embeddable.")));return}try{var v=JSON.parse(g.responseText);if(v.domain_status_code===403){Pa(v,i),l(new Error("“".concat(t,"” is not embeddable.")));return}s(v)}catch(_){l(_)}},g.onerror=function(){var v=g.status?" (".concat(g.status,")"):"";l(new Error("There was an error fetching the embed code from Vimeo".concat(v,".")))},g.send()})}function m3(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document,r=[].slice.call(t.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),i=function(l){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(l))};r.forEach(function(s){try{if(s.getAttribute("data-vimeo-defer")!==null)return;var l=r0(s),u=n0(l);i0(u,l,s).then(function(f){return Pa(f,s)}).catch(i)}catch(f){i(f)}})}function v3(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoPlayerResizeEmbeds_){window.VimeoPlayerResizeEmbeds_=!0;var r=function(s){if(sr(s.origin)&&!(!s.data||s.data.event!=="spacechange")){for(var l=t.querySelectorAll("iframe"),u=0;u<l.length;u++)if(l[u].contentWindow===s.source){var f=l[u].parentElement;f.style.paddingBottom="".concat(s.data.data[0].bottom,"px");break}}};window.addEventListener("message",r)}}function y3(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoSeoMetadataAppended){window.VimeoSeoMetadataAppended=!0;var r=function(s){if(sr(s.origin)){var l=Oo(s.data);if(!(!l||l.event!=="ready"))for(var u=t.querySelectorAll("iframe"),f=0;f<u.length;f++){var h=u[f],g=h.contentWindow===s.source;if(t0(h.src)&&g){var v=new Wa(h);v.callMethod("appendVideoMetadata",window.location.href)}}}};window.addEventListener("message",r)}}function b3(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoCheckedUrlTimeParam){window.VimeoCheckedUrlTimeParam=!0;var r=function(l){"console"in window&&console.error&&console.error("There was an error getting video Id: ".concat(l))},i=function(l){if(sr(l.origin)){var u=Oo(l.data);if(!(!u||u.event!=="ready"))for(var f=t.querySelectorAll("iframe"),h=function(){var _=f[g],S=_.contentWindow===l.source;if(t0(_.src)&&S){var E=new Wa(_);E.getVideoId().then(function(x){var C=new RegExp("[?&]vimeo_t_".concat(x,"=([^&#]*)")).exec(window.location.href);if(C&&C[1]){var F=decodeURI(C[1]);E.setCurrentTime(F)}}).catch(r)}},g=0;g<f.length;g++)h()}};window.addEventListener("message",i)}}function x3(){var t=function(){for(var s,l=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],u=0,f=l.length,h={};u<f;u++)if(s=l[u],s&&s[1]in document){for(u=0;u<s.length;u++)h[l[0][u]]=s[u];return h}return!1}(),r={fullscreenchange:t.fullscreenchange,fullscreenerror:t.fullscreenerror},i={request:function(l){return new Promise(function(u,f){var h=function v(){i.off("fullscreenchange",v),u()};i.on("fullscreenchange",h),l=l||document.documentElement;var g=l[t.requestFullscreen]();g instanceof Promise&&g.then(h).catch(f)})},exit:function(){return new Promise(function(l,u){if(!i.isFullscreen){l();return}var f=function g(){i.off("fullscreenchange",g),l()};i.on("fullscreenchange",f);var h=document[t.exitFullscreen]();h instanceof Promise&&h.then(f).catch(u)})},on:function(l,u){var f=r[l];f&&document.addEventListener(f,u)},off:function(l,u){var f=r[l];f&&document.removeEventListener(f,u)}};return Object.defineProperties(i,{isFullscreen:{get:function(){return!!document[t.fullscreenElement]}},element:{enumerable:!0,get:function(){return document[t.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return!!document[t.fullscreenEnabled]}}}),i}var w3={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1},_3=function(t){t3(i,t);var r=i3(i);function i(s,l){var u,f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},h=arguments.length>3?arguments[3]:void 0;return Xd(this,i),u=r.call(this),go(vo(u),"logger",void 0),go(vo(u),"speedAdjustment",0),go(vo(u),"adjustSpeed",function(){var g=nr(At().mark(function v(_,S){var E;return At().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:if(u.speedAdjustment!==S){C.next=2;break}return C.abrupt("return");case 2:return C.next=4,_.getPlaybackRate();case 4:return C.t0=C.sent,C.t1=u.speedAdjustment,C.t2=C.t0-C.t1,C.t3=S,E=C.t2+C.t3,u.log("New playbackRate: ".concat(E)),C.next=12,_.setPlaybackRate(E);case 12:u.speedAdjustment=S;case 13:case"end":return C.stop()}},v)}));return function(v,_){return g.apply(this,arguments)}}()),u.logger=h,u.init(l,s,cf(cf({},w3),f)),u}return Yd(i,[{key:"disconnect",value:function(){this.dispatchEvent(new Event("disconnect"))}},{key:"init",value:function(){var s=nr(At().mark(function u(f,h,g){var v=this,_,S,E;return At().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:return C.next=2,this.waitForTOReadyState(f,"open");case 2:if(g.role!=="viewer"){C.next=10;break}return C.next=5,this.updatePlayer(f,h,g);case 5:_=hf(f,"change",function(){return v.updatePlayer(f,h,g)}),S=this.maintainPlaybackPosition(f,h,g),this.addEventListener("disconnect",function(){S.cancel(),_.cancel()}),C.next=14;break;case 10:return C.next=12,this.updateTimingObject(f,h);case 12:E=hf(h,["seeked","play","pause","ratechange"],function(){return v.updateTimingObject(f,h)},"on","off"),this.addEventListener("disconnect",function(){return E.cancel()});case 14:case"end":return C.stop()}},u,this)}));function l(u,f,h){return s.apply(this,arguments)}return l}()},{key:"updateTimingObject",value:function(){var s=nr(At().mark(function u(f,h){return At().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.t0=f,v.next=3,h.getCurrentTime();case 3:return v.t1=v.sent,v.next=6,h.getPaused();case 6:if(!v.sent){v.next=10;break}v.t2=0,v.next=13;break;case 10:return v.next=12,h.getPlaybackRate();case 12:v.t2=v.sent;case 13:v.t3=v.t2,v.t4={position:v.t1,velocity:v.t3},v.t0.update.call(v.t0,v.t4);case 16:case"end":return v.stop()}},u)}));function l(u,f){return s.apply(this,arguments)}return l}()},{key:"updatePlayer",value:function(){var s=nr(At().mark(function u(f,h,g){var v,_,S;return At().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:if(v=f.query(),_=v.position,S=v.velocity,typeof _=="number"&&h.setCurrentTime(_),typeof S!="number"){x.next=25;break}if(S!==0){x.next=11;break}return x.next=6,h.getPaused();case 6:if(x.t0=x.sent,x.t0!==!1){x.next=9;break}h.pause();case 9:x.next=25;break;case 11:if(!(S>0)){x.next=25;break}return x.next=14,h.getPaused();case 14:if(x.t1=x.sent,x.t1!==!0){x.next=19;break}return x.next=18,h.play().catch(function(){var C=nr(At().mark(function F(R){return At().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:if(!(R.name==="NotAllowedError"&&g.autoPlayMuted)){T.next=5;break}return T.next=3,h.setMuted(!0);case 3:return T.next=5,h.play().catch(function(k){return console.error("Couldn't play the video from TimingSrcConnector. Error:",k)});case 5:case"end":return T.stop()}},F)}));return function(F){return C.apply(this,arguments)}}());case 18:this.updatePlayer(f,h,g);case 19:return x.next=21,h.getPlaybackRate();case 21:if(x.t2=x.sent,x.t3=S,x.t2===x.t3){x.next=25;break}h.setPlaybackRate(S);case 25:case"end":return x.stop()}},u,this)}));function l(u,f,h){return s.apply(this,arguments)}return l}()},{key:"maintainPlaybackPosition",value:function(l,u,f){var h=this,g=f.allowedDrift,v=f.maxAllowedDrift,_=f.minCheckInterval,S=f.maxRateAdjustment,E=f.maxTimeToCatchUp,x=Math.min(E,Math.max(_,v))*1e3,C=function(){var R=nr(At().mark(function I(){var T,k,O,M,N;return At().wrap(function(Q){for(;;)switch(Q.prev=Q.next){case 0:if(Q.t0=l.query().velocity===0,Q.t0){Q.next=6;break}return Q.next=4,u.getPaused();case 4:Q.t1=Q.sent,Q.t0=Q.t1===!0;case 6:if(!Q.t0){Q.next=8;break}return Q.abrupt("return");case 8:return Q.t2=l.query().position,Q.next=11,u.getCurrentTime();case 11:if(Q.t3=Q.sent,T=Q.t2-Q.t3,k=Math.abs(T),h.log("Drift: ".concat(T)),!(k>v)){Q.next=22;break}return Q.next=18,h.adjustSpeed(u,0);case 18:u.setCurrentTime(l.query().position),h.log("Resync by currentTime"),Q.next=29;break;case 22:if(!(k>g)){Q.next=29;break}return O=k/E,M=S,N=O<M?(M-O)/2:M,Q.next=28,h.adjustSpeed(u,N*Math.sign(T));case 28:h.log("Resync by playbackRate");case 29:case"end":return Q.stop()}},I)}));return function(){return R.apply(this,arguments)}}(),F=setInterval(function(){return C()},x);return{cancel:function(){return clearInterval(F)}}}},{key:"log",value:function(l){var u;(u=this.logger)===null||u===void 0||u.call(this,"TimingSrcConnector: ".concat(l))}},{key:"waitForTOReadyState",value:function(l,u){return new Promise(function(f){var h=function g(){l.readyState===u?f():l.addEventListener("readystatechange",g,{once:!0})};h()})}}]),i}(xa(EventTarget)),Er=new WeakMap,ca=new WeakMap,Lt={},Wa=function(){function t(r){var i=this,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(Xd(this,t),window.jQuery&&r instanceof jQuery&&(r.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),r=r[0]),typeof document<"u"&&typeof r=="string"&&(r=document.getElementById(r)),!s3(r))throw new TypeError("You must pass either a valid element or a valid id.");if(r.nodeName!=="IFRAME"){var l=r.querySelector("iframe");l&&(r=l)}if(r.nodeName==="IFRAME"&&!sr(r.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(Er.has(r))return Er.get(r);this._window=r.ownerDocument.defaultView,this.element=r,this.origin="*";var u=new Yt(function(h,g){if(i._onMessage=function(S){if(!(!sr(S.origin)||i.element.contentWindow!==S.source)){i.origin==="*"&&(i.origin=S.origin);var E=Oo(S.data),x=E&&E.event==="error",C=x&&E.data&&E.data.method==="ready";if(C){var F=new Error(E.data.message);F.name=E.data.name,g(F);return}var R=E&&E.event==="ready",I=E&&E.method==="ping";if(R||I){i.element.setAttribute("data-ready","true"),h();return}p3(i,E)}},i._window.addEventListener("message",i._onMessage),i.element.nodeName!=="IFRAME"){var v=r0(r,s),_=n0(v);i0(_,v,r).then(function(S){var E=Pa(S,r);return i.element=E,i._originalElement=r,h3(r,E),Er.set(i.element,i),S}).catch(g)}});if(ca.set(this,u),Er.set(this.element,this),this.element.nodeName==="IFRAME"&&tr(this,"ping"),Lt.isEnabled){var f=function(){return Lt.exit()};this.fullscreenchangeHandler=function(){Lt.isFullscreen?oi(i,"event:exitFullscreen",f):_o(i,"event:exitFullscreen",f),i.ready().then(function(){tr(i,"fullscreenchange",Lt.isFullscreen)})},Lt.on("fullscreenchange",this.fullscreenchangeHandler)}return this}return Yd(t,[{key:"callMethod",value:function(i){for(var s=this,l=arguments.length,u=new Array(l>1?l-1:0),f=1;f<l;f++)u[f-1]=arguments[f];if(i==null)throw new TypeError("You must pass a method name.");return new Yt(function(h,g){return s.ready().then(function(){oi(s,i,{resolve:h,reject:g}),tr(s,i,u)}).catch(g)})}},{key:"get",value:function(i){var s=this;return new Yt(function(l,u){return i=df(i,"get"),s.ready().then(function(){oi(s,i,{resolve:l,reject:u}),tr(s,i)}).catch(u)})}},{key:"set",value:function(i,s){var l=this;return new Yt(function(u,f){if(i=df(i,"set"),s==null)throw new TypeError("There must be a value to set.");return l.ready().then(function(){oi(l,i,{resolve:u,reject:f}),tr(l,i,s)}).catch(f)})}},{key:"on",value:function(i,s){if(!i)throw new TypeError("You must pass an event name.");if(!s)throw new TypeError("You must pass a callback function.");if(typeof s!="function")throw new TypeError("The callback must be a function.");var l=wo(this,"event:".concat(i));l.length===0&&this.callMethod("addEventListener",i).catch(function(){}),oi(this,"event:".concat(i),s)}},{key:"off",value:function(i,s){if(!i)throw new TypeError("You must pass an event name.");if(s&&typeof s!="function")throw new TypeError("The callback must be a function.");var l=_o(this,"event:".concat(i),s);l&&this.callMethod("removeEventListener",i).catch(function(u){})}},{key:"loadVideo",value:function(i){return this.callMethod("loadVideo",i)}},{key:"ready",value:function(){var i=ca.get(this)||new Yt(function(s,l){l(new Error("Unknown player. Probably unloaded."))});return Yt.resolve(i)}},{key:"addCuePoint",value:function(i){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.callMethod("addCuePoint",{time:i,data:s})}},{key:"removeCuePoint",value:function(i){return this.callMethod("removeCuePoint",i)}},{key:"enableTextTrack",value:function(i,s){if(!i)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:i,kind:s})}},{key:"disableTextTrack",value:function(){return this.callMethod("disableTextTrack")}},{key:"pause",value:function(){return this.callMethod("pause")}},{key:"play",value:function(){return this.callMethod("play")}},{key:"requestFullscreen",value:function(){return Lt.isEnabled?Lt.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return Lt.isEnabled?Lt.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return Lt.isEnabled?Yt.resolve(Lt.isFullscreen):this.get("fullscreen")}},{key:"requestPictureInPicture",value:function(){return this.callMethod("requestPictureInPicture")}},{key:"exitPictureInPicture",value:function(){return this.callMethod("exitPictureInPicture")}},{key:"getPictureInPicture",value:function(){return this.get("pictureInPicture")}},{key:"remotePlaybackPrompt",value:function(){return this.callMethod("remotePlaybackPrompt")}},{key:"unload",value:function(){return this.callMethod("unload")}},{key:"destroy",value:function(){var i=this;return new Yt(function(s){if(ca.delete(i),Er.delete(i.element),i._originalElement&&(Er.delete(i._originalElement),i._originalElement.removeAttribute("data-vimeo-initialized")),i.element&&i.element.nodeName==="IFRAME"&&i.element.parentNode&&(i.element.parentNode.parentNode&&i._originalElement&&i._originalElement!==i.element.parentNode?i.element.parentNode.parentNode.removeChild(i.element.parentNode):i.element.parentNode.removeChild(i.element)),i.element&&i.element.nodeName==="DIV"&&i.element.parentNode){i.element.removeAttribute("data-vimeo-initialized");var l=i.element.querySelector("iframe");l&&l.parentNode&&(l.parentNode.parentNode&&i._originalElement&&i._originalElement!==l.parentNode?l.parentNode.parentNode.removeChild(l.parentNode):l.parentNode.removeChild(l))}i._window.removeEventListener("message",i._onMessage),Lt.isEnabled&&Lt.off("fullscreenchange",i.fullscreenchangeHandler),s()})}},{key:"getAutopause",value:function(){return this.get("autopause")}},{key:"setAutopause",value:function(i){return this.set("autopause",i)}},{key:"getBuffered",value:function(){return this.get("buffered")}},{key:"getCameraProps",value:function(){return this.get("cameraProps")}},{key:"setCameraProps",value:function(i){return this.set("cameraProps",i)}},{key:"getChapters",value:function(){return this.get("chapters")}},{key:"getCurrentChapter",value:function(){return this.get("currentChapter")}},{key:"getColor",value:function(){return this.get("color")}},{key:"getColors",value:function(){return Yt.all([this.get("colorOne"),this.get("colorTwo"),this.get("colorThree"),this.get("colorFour")])}},{key:"setColor",value:function(i){return this.set("color",i)}},{key:"setColors",value:function(i){if(!Array.isArray(i))return new Yt(function(u,f){return f(new TypeError("Argument must be an array."))});var s=new Yt(function(u){return u(null)}),l=[i[0]?this.set("colorOne",i[0]):s,i[1]?this.set("colorTwo",i[1]):s,i[2]?this.set("colorThree",i[2]):s,i[3]?this.set("colorFour",i[3]):s];return Yt.all(l)}},{key:"getCuePoints",value:function(){return this.get("cuePoints")}},{key:"getCurrentTime",value:function(){return this.get("currentTime")}},{key:"setCurrentTime",value:function(i){return this.set("currentTime",i)}},{key:"getDuration",value:function(){return this.get("duration")}},{key:"getEnded",value:function(){return this.get("ended")}},{key:"getLoop",value:function(){return this.get("loop")}},{key:"setLoop",value:function(i){return this.set("loop",i)}},{key:"setMuted",value:function(i){return this.set("muted",i)}},{key:"getMuted",value:function(){return this.get("muted")}},{key:"getPaused",value:function(){return this.get("paused")}},{key:"getPlaybackRate",value:function(){return this.get("playbackRate")}},{key:"setPlaybackRate",value:function(i){return this.set("playbackRate",i)}},{key:"getPlayed",value:function(){return this.get("played")}},{key:"getQualities",value:function(){return this.get("qualities")}},{key:"getQuality",value:function(){return this.get("quality")}},{key:"setQuality",value:function(i){return this.set("quality",i)}},{key:"getRemotePlaybackAvailability",value:function(){return this.get("remotePlaybackAvailability")}},{key:"getRemotePlaybackState",value:function(){return this.get("remotePlaybackState")}},{key:"getSeekable",value:function(){return this.get("seekable")}},{key:"getSeeking",value:function(){return this.get("seeking")}},{key:"getTextTracks",value:function(){return this.get("textTracks")}},{key:"getVideoEmbedCode",value:function(){return this.get("videoEmbedCode")}},{key:"getVideoId",value:function(){return this.get("videoId")}},{key:"getVideoTitle",value:function(){return this.get("videoTitle")}},{key:"getVideoWidth",value:function(){return this.get("videoWidth")}},{key:"getVideoHeight",value:function(){return this.get("videoHeight")}},{key:"getVideoUrl",value:function(){return this.get("videoUrl")}},{key:"getVolume",value:function(){return this.get("volume")}},{key:"setVolume",value:function(i){return this.set("volume",i)}},{key:"setTimingSrc",value:function(){var r=nr(At().mark(function s(l,u){var f=this,h;return At().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:if(l){v.next=2;break}throw new TypeError("A Timing Object must be provided.");case 2:return v.next=4,this.ready();case 4:return h=new _3(this,l,u),tr(this,"notifyTimingObjectConnect"),h.addEventListener("disconnect",function(){return tr(f,"notifyTimingObjectDisconnect")}),v.abrupt("return",h);case 8:case"end":return v.stop()}},s,this)}));function i(s,l){return r.apply(this,arguments)}return i}()}]),t}();e0||(Lt=x3(),m3(),v3(),y3(),b3());const C3=(t,r,i,s)=>({id:parseInt(t,10),width:typeof r=="number"?r:void 0,height:typeof i=="number"?i:void 0,...s}),S3=async(t,r)=>{if(t)try{const i=[];typeof r.loop=="boolean"&&i.push(t.getLoop().then(s=>{if(s!==r.loop)return t.setLoop(r.loop)})),r.color&&i.push(t.getColor().then(s=>{if(s!==r.color)return t.setColor(r.color)})),typeof r.muted=="boolean"&&i.push(t.getMuted().then(s=>{if(s!==r.muted)return t.setMuted(r.muted)})),await Promise.all(i)}catch(i){console.warn("Error enforcing player config:",i)}},E3=t=>({ready:t.onReady,play:t.onPlay,pause:t.onPlayerPause,ended:t.onEnd,timeupdate:t.onTimeUpdate?r=>{var i;(i=t.onTimeUpdate)==null||i.call(t,r.seconds)}:void 0,progress:t.onProgress?r=>{var i;(i=t.onProgress)==null||i.call(t,r.percent)}:void 0,seeking:t.onSeeking,seeked:t.onSeeked,error:t.onPlayerError}),A3=t=>{var i,s;const r=xe();return d.useMemo(()=>{var u,f;return{...(u=r.__hd__.vimeo)==null?void 0:u.playerSettings,...t,color:(t==null?void 0:t.color)||((f=r.__hd__.vimeo)==null?void 0:f.defaultAccentColor)||"#00adef"}},[(i=r.__hd__.vimeo)==null?void 0:i.playerSettings,(s=r.__hd__.vimeo)==null?void 0:s.defaultAccentColor,t])},$3=(t,r,i,s,l)=>{const u=d.useRef(null);return d.useEffect(()=>t.current?((async()=>{try{const h=C3(r,i,s,l);t.current&&(u.current=new Wa(t.current,h),setTimeout(()=>{S3(u.current,l)},100))}catch(h){console.error("Failed to initialize Vimeo player:",h)}})(),()=>{u.current&&(u.current.destroy(),u.current=null)}):void 0,[r,i,s]),u},k3=(t,r)=>{d.useEffect(()=>{if(!t.current||!r)return;const i=t.current,s=E3(r);return Object.entries(s).forEach(([l,u])=>{u&&i.on(l,u)}),()=>{t.current&&Object.entries(s).forEach(([l,u])=>{if(u)try{t.current.off(l,u)}catch{}})}},[t,r])},T3=ae.div`
|
|
260
|
+
*/(function(i,s,a){s[i]=s[i]||a(),e.exports&&(e.exports=s[i])})("Promise",Ur,function(){var i,s,a,l=Object.prototype.toString,d=typeof setImmediate<"u"?function($){return setImmediate($)}:setTimeout;try{Object.defineProperty({},"x",{}),i=function($,A,M,z){return Object.defineProperty($,A,{value:M,writable:!0,configurable:z!==!1})}}catch{i=function(A,M,z){return A[M]=z,A}}a=function(){var $,A,M;function z(j,H){this.fn=j,this.self=H,this.next=void 0}return{add:function(H,re){M=new z(H,re),A?A.next=M:$=M,A=M,M=void 0},drain:function(){var H=$;for($=A=s=void 0;H;)H.fn.call(H.self),H=H.next}}}();function f(E,$){a.add(E,$),s||(s=d(a.drain))}function h(E){var $,A=typeof E;return E!=null&&(A=="object"||A=="function")&&($=E.then),typeof $=="function"?$:!1}function p(){for(var E=0;E<this.chain.length;E++)b(this,this.state===1?this.chain[E].success:this.chain[E].failure,this.chain[E]);this.chain.length=0}function b(E,$,A){var M,z;try{$===!1?A.reject(E.msg):($===!0?M=E.msg:M=$.call(void 0,E.msg),M===A.promise?A.reject(TypeError("Promise-chain cycle")):(z=h(M))?z.call(M,A.resolve,A.reject):A.resolve(M))}catch(j){A.reject(j)}}function v(E){var $,A=this;if(!A.triggered){A.triggered=!0,A.def&&(A=A.def);try{($=h(E))?f(function(){var M=new C(A);try{$.call(E,function(){v.apply(M,arguments)},function(){w.apply(M,arguments)})}catch(z){w.call(M,z)}}):(A.msg=E,A.state=1,A.chain.length>0&&f(p,A))}catch(M){w.call(new C(A),M)}}}function w(E){var $=this;$.triggered||($.triggered=!0,$.def&&($=$.def),$.msg=E,$.state=2,$.chain.length>0&&f(p,$))}function _(E,$,A,M){for(var z=0;z<$.length;z++)(function(H){E.resolve($[H]).then(function(J){A(H,J)},M)})(z)}function C(E){this.def=E,this.triggered=!1}function I(E){this.promise=E,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function k(E){if(typeof E!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var $=new I(this);this.then=function(M,z){var j={success:typeof M=="function"?M:!0,failure:typeof z=="function"?z:!1};return j.promise=new this.constructor(function(re,J){if(typeof re!="function"||typeof J!="function")throw TypeError("Not a function");j.resolve=re,j.reject=J}),$.chain.push(j),$.state!==0&&f(p,$),j.promise},this.catch=function(M){return this.then(void 0,M)};try{E.call(void 0,function(M){v.call($,M)},function(M){w.call($,M)})}catch(A){w.call($,A)}}var R=i({},"constructor",k,!1);return k.prototype=R,i(R,"__NPO__",0,!1),i(k,"resolve",function($){var A=this;return $&&typeof $=="object"&&$.__NPO__===1?$:new A(function(z,j){if(typeof z!="function"||typeof j!="function")throw TypeError("Not a function");z($)})}),i(k,"reject",function($){return new this(function(M,z){if(typeof M!="function"||typeof z!="function")throw TypeError("Not a function");z($)})}),i(k,"all",function($){var A=this;return l.call($)!="[object Array]"?A.reject(TypeError("Not an array")):$.length===0?A.resolve([]):new A(function(z,j){if(typeof z!="function"||typeof j!="function")throw TypeError("Not a function");var H=$.length,re=Array(H),J=0;_(A,$,function(B,W){re[B]=W,++J===H&&z(re)},j)})}),i(k,"race",function($){var A=this;return l.call($)!="[object Array]"?A.reject(TypeError("Not an array")):new A(function(z,j){if(typeof z!="function"||typeof j!="function")throw TypeError("Not a function");_(A,$,function(re,J){z(J)},j)})}),k})}),Ln=new WeakMap;function Ri(e,n,i){var s=Ln.get(e.element)||{};n in s||(s[n]=[]),s[n].push(i),Ln.set(e.element,s)}function rs(e,n){var i=Ln.get(e.element)||{};return i[n]||[]}function is(e,n,i){var s=Ln.get(e.element)||{};if(!s[n])return!0;if(!i)return s[n]=[],Ln.set(e.element,s),!0;var a=s[n].indexOf(i);return a!==-1&&s[n].splice(a,1),Ln.set(e.element,s),s[n]&&s[n].length===0}function Xv(e,n){var i=rs(e,n);if(i.length<1)return!1;var s=i.shift();return is(e,n,s),s}function Qv(e,n){var i=Ln.get(e);Ln.set(n,i),Ln.delete(e)}function ys(e){if(typeof e=="string")try{e=JSON.parse(e)}catch(n){return console.warn(n),{}}return e}function hr(e,n,i){if(!(!e.element.contentWindow||!e.element.contentWindow.postMessage)){var s={method:n};i!==void 0&&(s.value=i);var a=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));a>=8&&a<10&&(s=JSON.stringify(s)),e.element.contentWindow.postMessage(s,e.origin)}}function Jv(e,n){n=ys(n);var i=[],s;if(n.event){if(n.event==="error"){var a=rs(e,n.data.method);a.forEach(function(d){var f=new Error(n.data.message);f.name=n.data.name,d.reject(f),is(e,n.data.method,d)})}i=rs(e,"event:".concat(n.event)),s=n.data}else if(n.method){var l=Xv(e,n.method);l&&(i.push(l),s=n.value)}i.forEach(function(d){try{if(typeof d=="function"){d.call(e,s);return}d.resolve(s)}catch{}})}var ew=["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 p1(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return ew.reduce(function(i,s){var a=e.getAttribute("data-vimeo-".concat(s));return(a||a==="")&&(i[s]=a===""?1:a),i},n)}function Rl(e,n){var i=e.html;if(!n)throw new TypeError("An element must be provided");if(n.getAttribute("data-vimeo-initialized")!==null)return n.querySelector("iframe");var s=document.createElement("div");return s.innerHTML=i,n.appendChild(s.firstChild),n.setAttribute("data-vimeo-initialized","true"),n.querySelector("iframe")}function g1(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0;return new Promise(function(s,a){if(!br(e))throw new TypeError("“".concat(e,"” is not a vimeo.com url."));var l=Gv(e),d="https://".concat(l,"/api/oembed.json?url=").concat(encodeURIComponent(e));for(var f in n)n.hasOwnProperty(f)&&(d+="&".concat(f,"=").concat(encodeURIComponent(n[f])));var h="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;h.open("GET",d,!0),h.onload=function(){if(h.status===404){a(new Error("“".concat(e,"” was not found.")));return}if(h.status===403){a(new Error("“".concat(e,"” is not embeddable.")));return}try{var p=JSON.parse(h.responseText);if(p.domain_status_code===403){Rl(p,i),a(new Error("“".concat(e,"” is not embeddable.")));return}s(p)}catch(b){a(b)}},h.onerror=function(){var p=h.status?" (".concat(h.status,")"):"";a(new Error("There was an error fetching the embed code from Vimeo".concat(p,".")))},h.send()})}function tw(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document,n=[].slice.call(e.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),i=function(a){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(a))};n.forEach(function(s){try{if(s.getAttribute("data-vimeo-defer")!==null)return;var a=p1(s),l=h1(a);g1(l,a,s).then(function(d){return Rl(d,s)}).catch(i)}catch(d){i(d)}})}function nw(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoPlayerResizeEmbeds_){window.VimeoPlayerResizeEmbeds_=!0;var n=function(s){if(br(s.origin)&&!(!s.data||s.data.event!=="spacechange")){for(var a=e.querySelectorAll("iframe"),l=0;l<a.length;l++)if(a[l].contentWindow===s.source){var d=a[l].parentElement;d.style.paddingBottom="".concat(s.data.data[0].bottom,"px");break}}};window.addEventListener("message",n)}}function rw(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoSeoMetadataAppended){window.VimeoSeoMetadataAppended=!0;var n=function(s){if(br(s.origin)){var a=ys(s.data);if(!(!a||a.event!=="ready"))for(var l=e.querySelectorAll("iframe"),d=0;d<l.length;d++){var f=l[d],h=f.contentWindow===s.source;if(f1(f.src)&&h){var p=new Il(f);p.callMethod("appendVideoMetadata",window.location.href)}}}};window.addEventListener("message",n)}}function iw(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoCheckedUrlTimeParam){window.VimeoCheckedUrlTimeParam=!0;var n=function(a){"console"in window&&console.error&&console.error("There was an error getting video Id: ".concat(a))},i=function(a){if(br(a.origin)){var l=ys(a.data);if(!(!l||l.event!=="ready"))for(var d=e.querySelectorAll("iframe"),f=function(){var b=d[h],v=b.contentWindow===a.source;if(f1(b.src)&&v){var w=new Il(b);w.getVideoId().then(function(_){var C=new RegExp("[?&]vimeo_t_".concat(_,"=([^&#]*)")).exec(window.location.href);if(C&&C[1]){var I=decodeURI(C[1]);w.setCurrentTime(I)}}).catch(n)}},h=0;h<d.length;h++)f()}};window.addEventListener("message",i)}}function ow(){var e=function(){for(var s,a=[["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"]],l=0,d=a.length,f={};l<d;l++)if(s=a[l],s&&s[1]in document){for(l=0;l<s.length;l++)f[a[0][l]]=s[l];return f}return!1}(),n={fullscreenchange:e.fullscreenchange,fullscreenerror:e.fullscreenerror},i={request:function(a){return new Promise(function(l,d){var f=function p(){i.off("fullscreenchange",p),l()};i.on("fullscreenchange",f),a=a||document.documentElement;var h=a[e.requestFullscreen]();h instanceof Promise&&h.then(f).catch(d)})},exit:function(){return new Promise(function(a,l){if(!i.isFullscreen){a();return}var d=function h(){i.off("fullscreenchange",h),a()};i.on("fullscreenchange",d);var f=document[e.exitFullscreen]();f instanceof Promise&&f.then(d).catch(l)})},on:function(a,l){var d=n[a];d&&document.addEventListener(d,l)},off:function(a,l){var d=n[a];d&&document.removeEventListener(d,l)}};return Object.defineProperties(i,{isFullscreen:{get:function(){return!!document[e.fullscreenElement]}},element:{enumerable:!0,get:function(){return document[e.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return!!document[e.fullscreenEnabled]}}}),i}var sw={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1},aw=function(e){Wv(i,e);var n=Zv(i);function i(s,a){var l,d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},f=arguments.length>3?arguments[3]:void 0;return a1(this,i),l=n.call(this),Ko(Xo(l),"logger",void 0),Ko(Xo(l),"speedAdjustment",0),Ko(Xo(l),"adjustSpeed",function(){var h=pr(It().mark(function p(b,v){var w;return It().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:if(l.speedAdjustment!==v){C.next=2;break}return C.abrupt("return");case 2:return C.next=4,b.getPlaybackRate();case 4:return C.t0=C.sent,C.t1=l.speedAdjustment,C.t2=C.t0-C.t1,C.t3=v,w=C.t2+C.t3,l.log("New playbackRate: ".concat(w)),C.next=12,b.setPlaybackRate(w);case 12:l.speedAdjustment=v;case 13:case"end":return C.stop()}},p)}));return function(p,b){return h.apply(this,arguments)}}()),l.logger=f,l.init(a,s,lf(lf({},sw),d)),l}return l1(i,[{key:"disconnect",value:function(){this.dispatchEvent(new Event("disconnect"))}},{key:"init",value:function(){var s=pr(It().mark(function l(d,f,h){var p=this,b,v,w;return It().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:return C.next=2,this.waitForTOReadyState(d,"open");case 2:if(h.role!=="viewer"){C.next=10;break}return C.next=5,this.updatePlayer(d,f,h);case 5:b=df(d,"change",function(){return p.updatePlayer(d,f,h)}),v=this.maintainPlaybackPosition(d,f,h),this.addEventListener("disconnect",function(){v.cancel(),b.cancel()}),C.next=14;break;case 10:return C.next=12,this.updateTimingObject(d,f);case 12:w=df(f,["seeked","play","pause","ratechange"],function(){return p.updateTimingObject(d,f)},"on","off"),this.addEventListener("disconnect",function(){return w.cancel()});case 14:case"end":return C.stop()}},l,this)}));function a(l,d,f){return s.apply(this,arguments)}return a}()},{key:"updateTimingObject",value:function(){var s=pr(It().mark(function l(d,f){return It().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return p.t0=d,p.next=3,f.getCurrentTime();case 3:return p.t1=p.sent,p.next=6,f.getPaused();case 6:if(!p.sent){p.next=10;break}p.t2=0,p.next=13;break;case 10:return p.next=12,f.getPlaybackRate();case 12:p.t2=p.sent;case 13:p.t3=p.t2,p.t4={position:p.t1,velocity:p.t3},p.t0.update.call(p.t0,p.t4);case 16:case"end":return p.stop()}},l)}));function a(l,d){return s.apply(this,arguments)}return a}()},{key:"updatePlayer",value:function(){var s=pr(It().mark(function l(d,f,h){var p,b,v;return It().wrap(function(_){for(;;)switch(_.prev=_.next){case 0:if(p=d.query(),b=p.position,v=p.velocity,typeof b=="number"&&f.setCurrentTime(b),typeof v!="number"){_.next=25;break}if(v!==0){_.next=11;break}return _.next=6,f.getPaused();case 6:if(_.t0=_.sent,_.t0!==!1){_.next=9;break}f.pause();case 9:_.next=25;break;case 11:if(!(v>0)){_.next=25;break}return _.next=14,f.getPaused();case 14:if(_.t1=_.sent,_.t1!==!0){_.next=19;break}return _.next=18,f.play().catch(function(){var C=pr(It().mark(function I(k){return It().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:if(!(k.name==="NotAllowedError"&&h.autoPlayMuted)){E.next=5;break}return E.next=3,f.setMuted(!0);case 3:return E.next=5,f.play().catch(function($){return console.error("Couldn't play the video from TimingSrcConnector. Error:",$)});case 5:case"end":return E.stop()}},I)}));return function(I){return C.apply(this,arguments)}}());case 18:this.updatePlayer(d,f,h);case 19:return _.next=21,f.getPlaybackRate();case 21:if(_.t2=_.sent,_.t3=v,_.t2===_.t3){_.next=25;break}f.setPlaybackRate(v);case 25:case"end":return _.stop()}},l,this)}));function a(l,d,f){return s.apply(this,arguments)}return a}()},{key:"maintainPlaybackPosition",value:function(a,l,d){var f=this,h=d.allowedDrift,p=d.maxAllowedDrift,b=d.minCheckInterval,v=d.maxRateAdjustment,w=d.maxTimeToCatchUp,_=Math.min(w,Math.max(b,p))*1e3,C=function(){var k=pr(It().mark(function R(){var E,$,A,M,z;return It().wrap(function(H){for(;;)switch(H.prev=H.next){case 0:if(H.t0=a.query().velocity===0,H.t0){H.next=6;break}return H.next=4,l.getPaused();case 4:H.t1=H.sent,H.t0=H.t1===!0;case 6:if(!H.t0){H.next=8;break}return H.abrupt("return");case 8:return H.t2=a.query().position,H.next=11,l.getCurrentTime();case 11:if(H.t3=H.sent,E=H.t2-H.t3,$=Math.abs(E),f.log("Drift: ".concat(E)),!($>p)){H.next=22;break}return H.next=18,f.adjustSpeed(l,0);case 18:l.setCurrentTime(a.query().position),f.log("Resync by currentTime"),H.next=29;break;case 22:if(!($>h)){H.next=29;break}return A=$/w,M=v,z=A<M?(M-A)/2:M,H.next=28,f.adjustSpeed(l,z*Math.sign(E));case 28:f.log("Resync by playbackRate");case 29:case"end":return H.stop()}},R)}));return function(){return k.apply(this,arguments)}}(),I=setInterval(function(){return C()},_);return{cancel:function(){return clearInterval(I)}}}},{key:"log",value:function(a){var l;(l=this.logger)===null||l===void 0||l.call(this,"TimingSrcConnector: ".concat(a))}},{key:"waitForTOReadyState",value:function(a,l){return new Promise(function(d){var f=function h(){a.readyState===l?d():a.addEventListener("readystatechange",h,{once:!0})};f()})}}]),i}(il(EventTarget)),Br=new WeakMap,Wa=new WeakMap,jt={},Il=function(){function e(n){var i=this,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(a1(this,e),window.jQuery&&n instanceof jQuery&&(n.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),n=n[0]),typeof document<"u"&&typeof n=="string"&&(n=document.getElementById(n)),!Nv(n))throw new TypeError("You must pass either a valid element or a valid id.");if(n.nodeName!=="IFRAME"){var a=n.querySelector("iframe");a&&(n=a)}if(n.nodeName==="IFRAME"&&!br(n.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(Br.has(n))return Br.get(n);this._window=n.ownerDocument.defaultView,this.element=n,this.origin="*";var l=new ln(function(f,h){if(i._onMessage=function(v){if(!(!br(v.origin)||i.element.contentWindow!==v.source)){i.origin==="*"&&(i.origin=v.origin);var w=ys(v.data),_=w&&w.event==="error",C=_&&w.data&&w.data.method==="ready";if(C){var I=new Error(w.data.message);I.name=w.data.name,h(I);return}var k=w&&w.event==="ready",R=w&&w.method==="ping";if(k||R){i.element.setAttribute("data-ready","true"),f();return}Jv(i,w)}},i._window.addEventListener("message",i._onMessage),i.element.nodeName!=="IFRAME"){var p=p1(n,s),b=h1(p);g1(b,p,n).then(function(v){var w=Rl(v,n);return i.element=w,i._originalElement=n,Qv(n,w),Br.set(i.element,i),v}).catch(h)}});if(Wa.set(this,l),Br.set(this.element,this),this.element.nodeName==="IFRAME"&&hr(this,"ping"),jt.isEnabled){var d=function(){return jt.exit()};this.fullscreenchangeHandler=function(){jt.isFullscreen?Ri(i,"event:exitFullscreen",d):is(i,"event:exitFullscreen",d),i.ready().then(function(){hr(i,"fullscreenchange",jt.isFullscreen)})},jt.on("fullscreenchange",this.fullscreenchangeHandler)}return this}return l1(e,[{key:"callMethod",value:function(i){for(var s=this,a=arguments.length,l=new Array(a>1?a-1:0),d=1;d<a;d++)l[d-1]=arguments[d];if(i==null)throw new TypeError("You must pass a method name.");return new ln(function(f,h){return s.ready().then(function(){Ri(s,i,{resolve:f,reject:h}),hr(s,i,l)}).catch(h)})}},{key:"get",value:function(i){var s=this;return new ln(function(a,l){return i=uf(i,"get"),s.ready().then(function(){Ri(s,i,{resolve:a,reject:l}),hr(s,i)}).catch(l)})}},{key:"set",value:function(i,s){var a=this;return new ln(function(l,d){if(i=uf(i,"set"),s==null)throw new TypeError("There must be a value to set.");return a.ready().then(function(){Ri(a,i,{resolve:l,reject:d}),hr(a,i,s)}).catch(d)})}},{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 a=rs(this,"event:".concat(i));a.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 a=is(this,"event:".concat(i),s);a&&this.callMethod("removeEventListener",i).catch(function(l){})}},{key:"loadVideo",value:function(i){return this.callMethod("loadVideo",i)}},{key:"ready",value:function(){var i=Wa.get(this)||new ln(function(s,a){a(new Error("Unknown player. Probably unloaded."))});return ln.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 jt.isEnabled?jt.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return jt.isEnabled?jt.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return jt.isEnabled?ln.resolve(jt.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 ln(function(s){if(Wa.delete(i),Br.delete(i.element),i._originalElement&&(Br.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 a=i.element.querySelector("iframe");a&&a.parentNode&&(a.parentNode.parentNode&&i._originalElement&&i._originalElement!==a.parentNode?a.parentNode.parentNode.removeChild(a.parentNode):a.parentNode.removeChild(a))}i._window.removeEventListener("message",i._onMessage),jt.isEnabled&&jt.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 ln.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 ln(function(l,d){return d(new TypeError("Argument must be an array."))});var s=new ln(function(l){return l(null)}),a=[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 ln.all(a)}},{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 n=pr(It().mark(function s(a,l){var d=this,f;return It().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:if(a){p.next=2;break}throw new TypeError("A Timing Object must be provided.");case 2:return p.next=4,this.ready();case 4:return f=new aw(this,a,l),hr(this,"notifyTimingObjectConnect"),f.addEventListener("disconnect",function(){return hr(d,"notifyTimingObjectDisconnect")}),p.abrupt("return",f);case 8:case"end":return p.stop()}},s,this)}));function i(s,a){return n.apply(this,arguments)}return i}()}]),e}();d1||(jt=ow(),tw(),nw(),rw(),iw());const lw=(e,n,i,s)=>({id:parseInt(e,10),width:typeof n=="number"?n:void 0,height:typeof i=="number"?i:void 0,...s}),cw=async(e,n)=>{if(e)try{const i=[];typeof n.loop=="boolean"&&i.push(e.getLoop().then(s=>{if(s!==n.loop)return e.setLoop(n.loop)})),n.color&&i.push(e.getColor().then(s=>{if(s!==n.color)return e.setColor(n.color)})),typeof n.muted=="boolean"&&i.push(e.getMuted().then(s=>{if(s!==n.muted)return e.setMuted(n.muted)})),await Promise.all(i)}catch(i){console.warn("Error enforcing player config:",i)}},uw=e=>({ready:e.onReady,play:e.onPlay,pause:e.onPlayerPause,ended:e.onEnd,timeupdate:e.onTimeUpdate?n=>{var i;(i=e.onTimeUpdate)==null||i.call(e,n.seconds)}:void 0,progress:e.onProgress?n=>{var i;(i=e.onProgress)==null||i.call(e,n.percent)}:void 0,seeking:e.onSeeking,seeked:e.onSeeked,error:e.onPlayerError}),dw=e=>{var i,s;const n=ye();return c.useMemo(()=>{var l,d;return{...(l=n.__hd__.vimeo)==null?void 0:l.playerSettings,...e,color:(e==null?void 0:e.color)||((d=n.__hd__.vimeo)==null?void 0:d.defaultAccentColor)||"#00adef"}},[(i=n.__hd__.vimeo)==null?void 0:i.playerSettings,(s=n.__hd__.vimeo)==null?void 0:s.defaultAccentColor,e])},fw=(e,n,i,s,a)=>{const l=c.useRef(null);return c.useEffect(()=>e.current?((async()=>{try{const f=lw(n,i,s,a);e.current&&(l.current=new Il(e.current,f),setTimeout(()=>{cw(l.current,a)},100))}catch(f){console.error("Failed to initialize Vimeo player:",f)}})(),()=>{l.current&&(l.current.destroy(),l.current=null)}):void 0,[n,i,s]),l},hw=(e,n)=>{c.useEffect(()=>{if(!e.current||!n)return;const i=e.current,s=uw(n);return Object.entries(s).forEach(([a,l])=>{l&&i.on(a,l)}),()=>{e.current&&Object.entries(s).forEach(([a,l])=>{if(l)try{e.current.off(a,l)}catch{}})}},[e,n])},pw=le.div`
|
|
259
261
|
position: relative;
|
|
260
262
|
width: 100%;
|
|
261
263
|
height: 100%;
|
|
262
264
|
overflow: hidden;
|
|
263
|
-
`,
|
|
265
|
+
`,gw=le.div`
|
|
264
266
|
position: relative;
|
|
265
|
-
padding-bottom: ${({$aspectRatio:
|
|
267
|
+
padding-bottom: ${({$aspectRatio:e})=>`${e}%`};
|
|
266
268
|
height: 0;
|
|
267
269
|
overflow: hidden;
|
|
268
|
-
`,
|
|
270
|
+
`,mw=le.div`
|
|
269
271
|
position: absolute;
|
|
270
272
|
top: 0;
|
|
271
273
|
left: 0;
|
|
272
274
|
width: 100%;
|
|
273
275
|
height: 100%;
|
|
274
|
-
`,
|
|
276
|
+
`,yw=({videoId:e,width:n="100%",height:i="auto",config:s,callbacks:a})=>{var w;const l=ye(),d=c.useRef(null),[f]=c.useState(`vimeo-player-${Math.random().toString(36).substr(2,9)}`),h=i==="auto",p=((w=l.__hd__.vimeo)==null?void 0:w.aspectRatio)||56.25,b=dw(s),v=fw(d,e,n,i,b);return hw(v,a),h?m.jsx(gw,{$aspectRatio:p,children:m.jsx(mw,{ref:d,id:f})}):m.jsx(pw,{style:{width:n,height:i},children:m.jsx("div",{ref:d,id:f,style:{width:"100%",height:"100%"}})})},bw={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%"},xw="https://player.vimeo.com",vw=({videoId:e,playerWidth:n,playerHeight:i,config:s,callbacks:a,...l})=>m.jsx(L,{overflow:"hidden",...l,children:m.jsx(yw,{videoId:e,width:n,height:i,config:s,callbacks:a})});function ff({item:e,index:n,renderItem:i}){return m.jsx(L,{flexShrink:0,children:i({item:e,index:n,isFocused:!0})})}function Wo({item:e,index:n,isFocused:i,renderItem:s,itemsPerView:a,itemWidth:l}){const d=Ze.isNil(a)?void 0:`0 0 ${100/a}%`;return m.jsx(L,{flex:Ze.isNil(l)?d:void 0,width:l,overflow:"hidden",children:s({item:e,index:n,isFocused:i})})}const ww=/^(\d+|\d*\.\d+)(px)$/,_w=(e,n)=>{if(typeof n=="string"){if(mr(n))return e.sizes[n];if(ww.test(n))return parseInt(n.replace("px",""),10);throw new Error("Invalid itemWidth, must be a Size or a number or a valid pixel value")}return n},Ba=(e,n,i,s)=>{if(s)return`calc(-${e} * (${s}px + ${i}px))`;const a=e*(100/n),l=e*i;return`calc(-${a}% - ${l}px)`},Hr=(e,n,i,s)=>s?`${s(e,n)}${i||""}`:`carousel-item-${n}${i||""}`,Cw=Cn`
|
|
275
277
|
0% { transform: translateX(0); }
|
|
276
278
|
100% { transform: translateX(-50%); } /* Scroll one full set of items */
|
|
277
|
-
`,
|
|
279
|
+
`,Sw=le(L)`
|
|
278
280
|
display: flex;
|
|
279
281
|
align-items: stretch; // Use stretch to ensure items fill height if needed
|
|
280
|
-
gap: ${({$itemSpacing:
|
|
282
|
+
gap: ${({$itemSpacing:e})=>e||0}px;
|
|
281
283
|
will-change: transform;
|
|
282
|
-
transition: ${({$autoScroll:
|
|
284
|
+
transition: ${({$autoScroll:e})=>e?"none":"transform 0.5s ease-in-out"};
|
|
283
285
|
|
|
284
286
|
/* Apply animation conditionally using the css helper */
|
|
285
|
-
animation: ${({$autoScroll:
|
|
286
|
-
`;function
|
|
287
|
+
animation: ${({$autoScroll:e,$scrollDuration:n})=>e?lt`${Cw} ${n}s linear infinite`:"none"};
|
|
288
|
+
`;function Ew({itemSpacing:e,itemsWrapperRef:n,items:i,renderItem:s,keyExtractor:a,autoScroll:l,activeIndex:d,virtualActiveIndex:f,itemsPerView:h=1,itemWidth:p,infiniteLoop:b=!1}){const v=ye(),_=v.__hd__.carousel.autoScroll,C=typeof l=="object"&&l.speed||_.defaultSpeed,I=c.useMemo(()=>{if(i.length<=h)return i;const M=i.length%h;return M===0?i:i.slice(0,i.length-M)},[i,h]),k=l?I.length*(C/5):0,R=v.spaces[e||v.__hd__.carousel.container.defaultItemSpacing]||0,E=b&&!l&&I.length>1,$=c.useMemo(()=>{if(p)return p*h+R*(h-1)},[p,h,R]),A=c.useMemo(()=>{if(l)return m.jsxs(m.Fragment,{children:[I.map((M,z)=>m.jsx(ff,{item:M,index:z,renderItem:s},Hr(M,z,"-auto-scroll",a))),I.map((M,z)=>m.jsx(ff,{item:M,index:z+I.length,renderItem:s},Hr(M,z,"-duplicate",a)))]});if(E){const M=z=>{const j=f-I.length;return z>=j&&z<j+h};return m.jsxs(m.Fragment,{children:[I.map((z,j)=>{const H=j;return m.jsx(Wo,{item:z,index:H,isFocused:M(j),renderItem:s,itemsPerView:h,itemWidth:p},Hr(z,H,"-prefix",a))}),I.map((z,j)=>m.jsx(Wo,{item:z,index:j,isFocused:M(j),renderItem:s,itemsPerView:h,itemWidth:p},Hr(z,j,void 0,a))),I.map((z,j)=>{const H=j;return m.jsx(Wo,{item:z,index:H,isFocused:M(j),renderItem:s,itemsPerView:h,itemWidth:p},Hr(z,H,"-suffix",a))})]})}return I.map((M,z)=>m.jsx(Wo,{item:M,index:z,isFocused:z>=d&&z<d+h,renderItem:s,itemsPerView:h,itemWidth:p},Hr(M,z,void 0,a)))},[l,E,I,a,s,f,h,p,d]);return m.jsx(L,{width:$,display:"flex",children:m.jsx(Sw,{$autoScroll:!!l,$scrollDuration:k,$itemSpacing:R,ref:n,children:A})})}const kw=le(us)`
|
|
287
289
|
transition: color 0.2s ease;
|
|
288
|
-
color: ${({$color:
|
|
289
|
-
|
|
290
|
+
color: ${({$color:e,theme:n})=>n.colors[e]};
|
|
291
|
+
`,$w=le(Qr)`
|
|
290
292
|
transition: color 0.2s ease;
|
|
291
|
-
color: ${({$color:
|
|
292
|
-
`;function
|
|
293
|
-
opacity ${
|
|
294
|
-
transition: transform ${({$duration:
|
|
295
|
-
transform: rotate(${({$isExpanded:
|
|
293
|
+
color: ${({$color:e,theme:n})=>n.colors[e]};
|
|
294
|
+
`;function hf({isLeft:e,onPrev:n,onNext:i}){const s=c.useRef(null),a=fs(s),l=ye(),d=l.__hd__.carousel.navigation,f=l.spaces[d.buttonPadding]*2+l.sizes[d.iconSize],h=vt(l,d.iconSize),p=a?d.buttonBackgroundColor:d.buttonColor,b=typeof h=="string"?parseInt(h,10):h;return m.jsx(kt,{onClick:e?n:i,ml:e?{xs:"none",sm:d.marginHorizontal}:void 0,mr:e?void 0:{xs:"none",sm:d.marginHorizontal},ref:s,children:m.jsx(L,{display:"flex",justifyContent:"center",alignItems:"center",width:f,height:f,p:d.buttonPadding,r:d.buttonBorderRadius,bgColor:a?d.buttonColor:d.buttonBackgroundColor,transition:"background-color 0.2s ease",zIndex:l.zIndex.getZIndex("AIC_Kits_Carousel"),boxShadow:"0 0 16px 0 rgba(0, 0, 0, 0.1)",ref:s,children:e?m.jsx(kw,{size:b,weight:"bold",$color:p}):m.jsx($w,{size:b,weight:"bold",$color:p})})})}function Aw({itemsCount:e,activeIndex:n,onDotClick:i}){const s=ye(),a=s.__hd__.carousel.pagination,l=a.container,d=vt(s,a.dotSize);return m.jsx(L,{display:"flex",justifyContent:"center",alignItems:"center",mt:l.marginTop,p:l.padding,r:l.borderRadius,bgColor:l.backgroundColor,gap:l.gap,children:Array.from({length:e}).map((f,h)=>m.jsx(L,{width:d,height:d,r:a.dotBorderRadius,bgColor:h===n?a.activeColor:a.inactiveColor,cursor:"pointer",transition:"background-color 0.3s ease",onClick:()=>i(h)},`dot-${h}`))})}function Tw({items:e,renderItem:n,showPagination:i=!0,showNavigation:s=!0,autoPlay:a=!1,autoScroll:l=!1,initialIndex:d=0,onIndexChange:f,keyExtractor:h,itemSpacing:p,itemsPerView:b=1,itemWidth:v,infiniteLoop:w=!1,..._},C){const I=ye(),{width:k}=G0(),R=I.__hd__.carousel,E=c.useMemo(()=>{if(e.length<=b)return e;const ie=e.length%b;return ie===0?e:e.slice(0,e.length-ie)},[e,b]),[$,A]=c.useState(d),[M,z]=c.useState(d),j=c.useRef(null),H=c.useRef(null),re=c.useRef(null),J=c.useRef(!1),[ce,B]=c.useState(!1),[W,P]=c.useState(null),[se,G]=c.useState(0),ne=!!l,ue=ne?1:Math.max(1,b),be=ne?void 0:_w(I,v),xe=I.spaces[p||R.container.defaultItemSpacing]||0,ve=ne?!1:i,Ae=ne?!1:s,de=w&&!ne&&E.length>1,Se=Math.max(0,E.length-ue),Ge=Math.ceil(E.length/ue),De=typeof a=="object"&&a.delay||3e3,ot=c.useCallback(ie=>{if(E.length===0)return 0;for(;ie<0;)ie+=E.length;return ie%E.length},[E.length]),me=c.useCallback(ie=>{if(!de)return{virtualIndex:ie,realIndex:ie,needsSnap:!1};let Ne=ie,Pe=ie,Ve=!1;return ie<0||ie>Se?(Ne=E.length+ie,Pe=ot(ie),Ve=!0):(Ne=E.length+ie,Pe=ie,Ve=!1),{virtualIndex:Ne,realIndex:Pe,needsSnap:Ve}},[de,E.length,Se,ot]),Te=c.useCallback(ie=>{if(!de||!j.current)return;const Ne=E.length+ie,Pe=Ba(Ne,ue,xe,be);j.current.style.transition="none",j.current.style.transform=`translateX(${Pe})`,z(Ne),requestAnimationFrame(()=>{j.current&&(j.current.style.transition="")})},[de,E.length,ue,xe,be]),ze=c.useCallback(()=>{if(j.current){const ie=window.getComputedStyle(j.current),Ne=new DOMMatrixReadOnly(ie.transform);G(Ne.e)}},[]),_e=c.useCallback(ie=>{const Ne=de?ie:Math.max(0,Math.min(ie,Se)),Pe=me(Ne),Ve=Math.max(0,Math.min(Ne,Se));if((Ve!==$||ce)&&(A(Ve),f==null||f(Ve)),j.current&&!ne){const Ue=Pe.virtualIndex;z(Ue);const gt=Ba(Ue,ue,xe,be);j.current.style.transform=`translateX(${gt})`,j.current.style.transition="",queueMicrotask(()=>{ze()}),Pe.needsSnap&&(re.current&&clearTimeout(re.current),re.current=setTimeout(()=>{Te(Pe.realIndex),A(Pe.realIndex),f==null||f(Pe.realIndex)},500))}},[de,Se,$,f,ne,ue,xe,be,ze,ce,me,Te]),te=c.useCallback(()=>{w&&E.length>0?_e($+ue):_e(Math.min($+ue,Se))},[w,$,ue,Se,E.length,_e]),fe=c.useCallback(()=>{w&&E.length>0?_e($-ue):_e(Math.max($-ue,0))},[w,$,ue,E.length,_e]);c.useImperativeHandle(C,()=>({goToIndex:_e,goToNext:te,goToPrev:fe}));const q=c.useCallback(()=>{H.current&&clearTimeout(H.current)},[]),ae=()=>{J.current=!0,a&&!ne&&q(),ne&&j.current&&(j.current.style.animationPlayState="paused")},pe=c.useCallback(()=>{if(J.current=!1,a&&!ne&&!ce){q();const ie=($+1)%E.length,Ne=Math.min(ie,Se);H.current=setTimeout(()=>_e(Ne),De)}ne&&j.current&&(j.current.style.animationPlayState="running")},[a,ne,ce,q,$,E.length,Se,De,_e]),Re=c.useCallback(ie=>{ne||e.length<=ue||(re.current&&(clearTimeout(re.current),re.current=null),ze(),q(),B(!0),P(ie),j.current&&(j.current.style.transition="none"))},[ne,q,e.length,ue,ze]),$e=c.useCallback(ie=>{if(!ce||W===null||ne||!j.current)return;const Ne=ie-W;j.current.style.transform=`translateX(${se+Ne}px)`},[ce,W,ne,se]),Ye=c.useCallback(()=>{if(!ce||W===null||ne)return;B(!1);let ie=be;!ie&&j.current&&j.current.firstChild&&(ie=j.current.firstChild.clientWidth),!ie&&j.current&&(ie=j.current.clientWidth/ue);const Ne=(ie||0)/3;if(j.current){const Pe=window.getComputedStyle(j.current),gt=new DOMMatrixReadOnly(Pe.transform).e-se;j.current.style.transition="",Math.abs(gt)>Ne?gt<0?te():fe():_e($)}P(null),a&&!J.current&&(H.current=setTimeout(()=>te(),De))},[ce,W,ne,be,ue,te,fe,$,a,De,se,_e]),tt=Math.floor($/ue),nt=ie=>_e(ie*ue);c.useEffect(()=>{if(!a||ne||J.current||ce){q();return}const ie=($+1)%E.length,Ne=Math.min(ie,Se);return H.current=setTimeout(()=>_e(Ne),De),q},[$,a,De,_e,q,ne,E.length,Se,ce]),c.useEffect(()=>{if(!Ct()){if(de){const ie=E.length+d;if(z(ie),j.current){const Ne=Ba(ie,ue,xe,be);j.current.style.transform=`translateX(${Ne})`,j.current.style.transition="none",requestAnimationFrame(()=>{j.current&&(j.current.style.transition="")})}}_e(d)}},[k,d,de,E.length,ue,xe,be]),c.useEffect(()=>()=>{H.current&&clearTimeout(H.current),re.current&&clearTimeout(re.current)},[]);const rt=()=>{ce&&j.current&&Ye(),pe()};return m.jsxs(L,{fw:!0,overflow:"hidden",onMouseEnter:ae,onMouseLeave:rt,onTouchStart:ie=>Re(ie.touches[0].clientX),onTouchMove:ie=>$e(ie.touches[0].clientX),onTouchEnd:Ye,onMouseDown:ie=>{ie.button===0&&Re(ie.clientX)},onMouseMove:ie=>{ie.buttons===1&&ce&&$e(ie.clientX)},onMouseUp:ie=>{ie.button===0&&ce&&Ye()},display:"flex",flexDirection:"column",alignItems:"center",..._,children:[m.jsxs(L,{position:"relative",display:"flex",justifyContent:"center",alignItems:"center",fw:!0,children:[m.jsx(Ew,{itemsWrapperRef:j,itemSpacing:p,activeIndex:$,virtualActiveIndex:M,items:E,renderItem:n,keyExtractor:h,autoScroll:l,itemsPerView:ue,itemWidth:be,infiniteLoop:w}),Ae&&e.length>ue&&m.jsx(L,{position:"absolute",left:0,top:"50%",transform:"translateY(-50%)",children:m.jsx(hf,{isLeft:!0,onPrev:fe,onNext:te})}),Ae&&e.length>ue&&m.jsx(L,{position:"absolute",right:0,top:"50%",transform:"translateY(-50%)",children:m.jsx(hf,{isLeft:!1,onPrev:fe,onNext:te})})]}),ve&&Ge>1&&m.jsx(Aw,{itemsCount:Ge,activeIndex:tt,onDotClick:nt})]})}const Rw=c.forwardRef(Tw);function Iw({renderContent:e,isExpanded:n}){const s=ye().__hd__.accordion,a=s.animation,l=c.useRef(null),[d,f]=c.useState(0);return c.useEffect(()=>{n&&l.current&&f(l.current.scrollHeight)},[n,e]),m.jsx(L,{overflow:"hidden",transition:`height ${a.duration}ms ${a.easing},
|
|
295
|
+
opacity ${a.duration}ms ${a.easing}`,height:n?d:0,opacity:n?1:0,children:m.jsx(L,{ref:l,pt:s.gap,children:e()})})}const Mw=le(Qr)`
|
|
296
|
+
transition: transform ${({$duration:e,$easing:n})=>`${e}ms ${n}`};
|
|
297
|
+
transform: rotate(${({$isExpanded:e})=>e?"90deg":"0deg"});
|
|
296
298
|
flex-shrink: 0; /* Prevent icon from shrinking */
|
|
297
|
-
`;function
|
|
299
|
+
`;function Fw({renderHeader:e,isExpanded:n,onToggle:i,disabled:s,iconPosition:a="left"}){const l=ye(),d=l.__hd__.accordion,f=d.header,h=d.animation,p=vt(l,f.iconSize),b=l.colors[f.iconColor]||f.iconColor,v=m.jsx(kt,{onClick:s?void 0:i,cursor:s?"not-allowed":"pointer",opacity:s?f.disabledOpacity:1,children:m.jsx(Mw,{size:p,color:b,weight:"bold",$isExpanded:n,$duration:h.duration,$easing:h.easing})});return m.jsx(kt,{onClick:s?void 0:i,cursor:s?"not-allowed":"pointer",opacity:s?f.disabledOpacity:1,useScaleAnimation:!1,children:m.jsxs(L,{display:"flex",alignItems:"center",gap:a==="none"?void 0:f.gap,children:[a==="left"&&v,m.jsx(L,{flex:1,children:e(n)}),a==="right"&&v]})})}function Ow({renderHeader:e,renderContent:n,initialExpanded:i=!1,expanded:s,onExpandedChange:a,disabled:l=!1,iconPosition:d="left",...f}){const p=ye().__hd__.accordion,b=s!==void 0,[v,w]=c.useState(i),_=b?s:v;c.useEffect(()=>{b&&w(s)},[b,s]);const C=c.useCallback(()=>{if(l)return;const I=!_;b||w(I),a==null||a(I)},[l,_,b,a]);return m.jsxs(L,{p:p.paddingVertical,px:p.paddingHorizontal,r:p.borderRadius,b:p.borderWidth,borderColor:p.borderColor,bgColor:p.backgroundColor,...f,children:[m.jsx(Fw,{renderHeader:e,isExpanded:_,onToggle:C,disabled:l,iconPosition:d}),m.jsx(Iw,{renderContent:n,isExpanded:_})]})}const m1=(e,n,i,s)=>i?e.colors[i]:s==="solid"?n==="white"?e.colors.grey900:e.colors.white:e.colors[n],zw=le(L)`
|
|
298
300
|
display: inline-flex; /* Use inline-flex to allow tags to flow like text */
|
|
299
301
|
align-items: center;
|
|
300
302
|
justify-content: center;
|
|
301
303
|
white-space: nowrap; /* Prevent text wrapping */
|
|
302
|
-
border-width: ${({theme:
|
|
304
|
+
border-width: ${({theme:e})=>e.borderWidths.thin}px; /* Use thin border for outlined */
|
|
303
305
|
border-style: solid;
|
|
304
|
-
gap: ${({theme:
|
|
305
|
-
padding: ${({theme:
|
|
306
|
+
gap: ${({theme:e,$gap:n})=>e.spaces[n]}px;
|
|
307
|
+
padding: ${({theme:e,$paddingVertical:n,$paddingHorizontal:i})=>`${e.spaces[n]}px ${e.spaces[i]}px`};
|
|
306
308
|
|
|
307
|
-
border-radius: ${({theme:
|
|
309
|
+
border-radius: ${({theme:e,$radius:n})=>jf(n)?`${e.radii[n]}px`:n};
|
|
308
310
|
|
|
309
|
-
background-color: ${({theme:
|
|
311
|
+
background-color: ${({theme:e,$variant:n,$color:i})=>n==="solid"?e.colors[i]:e.colors.transparent};
|
|
310
312
|
|
|
311
|
-
border-color: ${({theme:
|
|
312
|
-
`,
|
|
313
|
-
color: ${({theme:
|
|
314
|
-
font-size: ${({theme:
|
|
313
|
+
border-color: ${({theme:e,$variant:n,$color:i})=>n==="outlined"?e.colors[i]:e.colors.transparent};
|
|
314
|
+
`,Lw=le(Qe)`
|
|
315
|
+
color: ${({theme:e,$color:n,$textColor:i,$variant:s})=>m1(e,n,i,s)};
|
|
316
|
+
font-size: ${({theme:e,$fontSize:n})=>e.__hd__.text.fontSizes[n]}px;
|
|
315
317
|
/* Use medium weight for tags by default, can be customized via theme if needed */
|
|
316
|
-
font-weight: ${({theme:
|
|
318
|
+
font-weight: ${({theme:e})=>e.__hd__.text.fontWeights.medium};
|
|
317
319
|
line-height: 1; /* Ensure tight line height for tags */
|
|
318
|
-
`,
|
|
320
|
+
`,jw=({variant:e,color:n,textColor:i,size:s,radius:a,icon:l,rightIcon:d,children:f,style:h,"data-testid":p,...b})=>{const v=ye(),w=v.__hd__.tag,_=e??w.defaultVariant,C=n??w.defaultColor,I=s??w.defaultSize,k=a??w.defaultRadius,R=m1(v,C,i,_),E=c.useMemo(()=>w.sizes[I],[w.sizes,I]);return m.jsxs(zw,{$variant:_,$color:C,$textColor:i,$size:I,$radius:k,$paddingVertical:E.paddingVertical,$paddingHorizontal:E.paddingHorizontal,$fontSize:E.fontSize,$gap:E.gap,$iconSize:E.iconSize,style:h,"data-testid":p,...b,children:[l&&m.jsx(pt,{type:"icon",art:l,size:E.iconSize,color:R,weight:"regular"}),m.jsx(Lw,{$color:C,$textColor:i,$variant:_,$fontSize:E.fontSize,as:"span",children:f}),d&&m.jsx(pt,{type:"icon",art:d,size:E.iconSize,color:R,weight:"regular"})]})},Dw=({label:e,checked:n,onChange:i,disabled:s=!1,color:a,size:l,style:d,"data-testid":f})=>{const h=ye(),p=h.__hd__.checkbox,[b,v]=c.useState(n);c.useEffect(()=>{v(n)},[n]);const w=a??p.defaultColor,_=l??p.defaultSize,C=p.sizes[_],I=p.animation,k=vt(h,C.iconSize),R=b?w:"white",E=b?w:p.uncheckedBorderColor,$=s?p.disabledColor:R,A=s?p.disabledColor:E,M=()=>{if(s)return;const z=!b;v(z),i(z)};return m.jsxs(kt,{onClick:s?void 0:M,style:d,"data-testid":f,useScaleAnimation:!1,useOpacityAnimation:!1,display:"inline-flex",alignItems:"center",cursor:s?"not-allowed":"pointer",children:[m.jsx(L,{display:"flex",alignItems:"center",justifyContent:"center",borderRadius:C.borderRadius,borderWidth:C.borderWidth,borderColor:A,backgroundColor:$,filter:s?"opacity(0.5)":"none",transition:`background-color ${I.duration}ms ${I.easing}, border-color ${I.duration}ms ${I.easing}`,children:m.jsx(pt,{type:"icon",art:D0,size:k,color:h.colors[p.iconColor],weight:"bold",opacity:b?1:0,transition:`opacity ${I.duration}ms ${I.easing}`,margin:C.iconMargin})}),e&&m.jsx(L,{pl:C.labelPaddingLeft,children:m.jsx(Qe,{fontSize:C.labelFontSize,color:s?p.disabledTextColor:p.textColor,as:"span",children:e})})]})};function y1({value:e,onChange:n,disabled:i=!1}){const[s,a]=c.useState(!1),[l,d]=c.useState(!1),[f,h]=c.useState(e),p=c.useRef(null);c.useEffect(()=>{h(e)},[e]);const b=c.useCallback(()=>{i||a(_=>!_)},[i]),v=c.useCallback(_=>{_.disabled||(h(_.value),n==null||n(_.value),a(!1))},[n]),w=c.useCallback(()=>{a(!1)},[]);return{isOpen:s,setIsOpen:a,isHovering:l,setIsHovering:d,selectedValue:f,selectRef:p,handleToggle:b,handleSelect:v,handleClose:w}}function b1({option:e,isSelected:n,isDisabled:i,onSelect:s,sizeConfig:a,themeSelect:l,animation:d}){const f=c.useRef(null),h=fs(f),p=l.dropdown;let b=p.backgroundColor;n?b=p.itemSelectedBackgroundColor:h&&!i&&(b=p.itemHoverBackgroundColor);const v=i?l.disabledContentColor:n?p.itemSelectedTextColor:p.itemTextColor;return m.jsx(kt,{ref:f,onClick:()=>!i&&s(e),useScaleAnimation:!1,useOpacityAnimation:!1,cursor:i?"not-allowed":"pointer",fw:!0,children:m.jsx(L,{p:a.dropdownPaddingVertical,px:a.dropdownPaddingHorizontal,bgColor:b,transition:`background-color ${d.duration}ms ${d.easing}`,opacity:i?l.disabledOpacity:1,display:"block",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",children:m.jsx(Qe,{fontSize:a.fontSize,color:v,fontWeight:n?"semibold":"regular",as:"span",children:e.label})})},e.value)}function Pw({anchorRef:e,isOpen:n,options:i,onSelect:s,selectedValue:a,onClose:l,size:d,borderRadius:f}){const h=ye(),p=h.__hd__.select,b=p.dropdown,v=c.useRef(null),w=p.sizes[d],_=p.animation,C=h.spaces[b.offset];return c.useEffect(()=>{const I=k=>{v.current&&!v.current.contains(k.target)&&e.current&&!e.current.contains(k.target)&&l()};return n&&document.addEventListener("mousedown",I),()=>{document.removeEventListener("mousedown",I)}},[n,l,e]),c.useEffect(()=>{if(!n)return;const I=k=>{k.key==="Escape"&&l()};return document.addEventListener("keydown",I),()=>document.removeEventListener("keydown",I)},[n,l]),Ct()||!n?null:m.jsx(L,{ref:v,bgColor:b.backgroundColor,b:b.borderColor!=="transparent"?w.borderWidth:"none",borderColor:b.borderColor,boxShadow:b.shadow,position:"absolute",top:`calc(100% + ${C}px)`,left:0,right:0,zIndex:h.zIndex.getZIndex("AIC_Kits_Dropdown"),maxHeight:b.maxHeight,overflowY:"auto",transition:`opacity ${_.duration}ms ${_.easing},max-height ${_.duration}ms ${_.easing}`,onClick:I=>I.stopPropagation(),onMouseDown:I=>I.stopPropagation(),style:{borderRadius:f},children:i.length>0?i.map(I=>{const k=I.value===a,R=!!I.disabled;return m.jsx(b1,{option:I,isSelected:k,isDisabled:R,onSelect:s,sizeConfig:w,themeSelect:p,animation:_},I.value)}):m.jsx(L,{p:w.dropdownPaddingVertical,px:w.dropdownPaddingHorizontal,children:m.jsx(Qe,{fontSize:w.fontSize,color:b.emptyTextColor,as:"span",children:"No options available"})})})}const Ww=({fontSize:e,color:n,...i})=>{const s=ye(),a={border:"none",backgroundColor:"transparent",outline:"none",width:"100%",fontFamily:"inherit",padding:0,fontSize:s.__hd__.text.fontSizes[e],color:s.colors[n]};return m.jsx("input",{style:a,...i})},x1=({placeholder:e,selectedOptionLabel:n,isOpen:i,isDisabled:s,handleToggle:a,iconSizePx:l,inputBorderRadius:d,sizeConfig:f,animation:h,currentBgColor:p,currentBorderColor:b,baseBorderWidthKey:v,insetBoxShadow:w,textColor:_,iconColor:C,testId:I,setIsHovering:k,searchable:R,searchTerm:E,onSearchChange:$})=>{const A=i&&R;return m.jsx(kt,{onClick:a,cursor:s?"not-allowed":"pointer",useScaleAnimation:!1,useOpacityAnimation:!1,"data-testid":I,onMouseEnter:()=>k(!0),onMouseLeave:()=>k(!1),children:m.jsxs(L,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",p:f.paddingVertical,px:f.paddingHorizontal,b:v,borderColor:b,bgColor:p,opacity:1,transition:`background-color ${h.duration}ms ${h.easing}, border-color ${h.duration}ms ${h.easing}, box-shadow ${h.duration}ms ${h.easing}`,gap:f.gap,style:{borderRadius:d,boxShadow:w},children:[m.jsx(L,{flex:1,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",children:A?m.jsx(Ww,{value:E,onChange:M=>$(M.target.value),placeholder:e,onClick:M=>M.stopPropagation(),autoFocus:!0,fontSize:f.fontSize,color:_}):m.jsx(Qe,{fontSize:f.fontSize,color:_,as:"span",children:n||e})}),m.jsx(pt,{type:"icon",art:vl,size:l,color:C,weight:"bold",transition:`transform ${h.duration}ms ${h.easing}`,transform:i?"rotate(180deg)":"rotate(0deg)"})]})})};function v1({theme:e,themeSelect:n,variant:i,isDisabled:s,isErrored:a,isOpen:l,isHovering:d,focusColor:f}){const h=n.variants[i],p="thin",b=e.borderWidths[p];let v;s?v=h.disabled:a?v=h.errored:l?v={...h.focused,borderColor:f}:d?v=h.hover:v=h.default;let w="none";if(!s&&!a&&l){const _=h.focused.borderWidth,C=e.borderWidths[_],I=Math.max(0,C-b);if(I>0){const k=e.colors[f];w=`inset 0 0 0 ${I}px ${k}`}}return{backgroundColor:v.backgroundColor,borderColor:v.borderColor,borderWidth:p,insetBoxShadow:w}}const Bw=({options:e,value:n,onChange:i,placeholder:s="Select an option",label:a,helperText:l,error:d,disabled:f=!1,variant:h="outlined",color:p,size:b,corner:v,style:w,"data-testid":_,searchable:C=!1})=>{var _e;const I=ye(),k=I.__hd__.select,[R,E]=c.useState(""),{isOpen:$,isHovering:A,selectedValue:M,selectRef:z,handleToggle:j,handleSelect:H,handleClose:re,setIsHovering:J}=y1({value:n,onChange:i,disabled:f});c.useEffect(()=>{$&&E("")},[$]);const ce=c.useMemo(()=>R?e.filter(te=>te.label.toLowerCase().includes(R.toLowerCase())):e,[e,R]),B=p??k.defaultColor,W=b??k.defaultSize,P=v??k.defaultCorner,se=k.sizes[W],G=k.animation,ne=k.squircleBorderRadii[P],ue=P==="circle"?k.dropdown.borderRadiusForCircle:k.dropdown.borderRadiusForRounded,be=I.radii[ue],xe=!!d,ve=f,{backgroundColor:Ae,borderColor:de,borderWidth:Se,insetBoxShadow:Ge}=v1({theme:I,themeSelect:k,variant:h,isDisabled:ve,isErrored:xe,isOpen:$,isHovering:A,focusColor:B}),De=ve?k.disabledContentColor:k.iconColor,ot=ve?k.disabledContentColor:M!=null?k.valueColor:k.placeholderColor,me=ve?k.disabledLabelColor:k.labelColor,Te=(_e=e.find(te=>te.value===M))==null?void 0:_e.label,ze=vt(I,se.iconSize);return m.jsxs(L,{fw:!0,style:w,position:"relative",ref:z,children:[a&&m.jsx(L,{mb:"xs",children:m.jsx(Qe,{fontWeight:"medium",color:me,children:a})}),m.jsx(x1,{placeholder:s,selectedOptionLabel:Te,isOpen:$,isDisabled:ve,handleToggle:j,iconSizePx:ze,inputBorderRadius:ne,sizeConfig:se,animation:G,currentBgColor:Ae,currentBorderColor:de,baseBorderWidthKey:Se,insetBoxShadow:Ge,textColor:ot,iconColor:De,testId:_,setIsHovering:J,searchable:C,searchTerm:R,onSearchChange:E}),(d||l)&&m.jsx(L,{children:m.jsx(Qe,{fontSize:"xs",color:d?k.errorColor:k.helperTextColor,as:"span",children:d||l})}),m.jsx(Pw,{anchorRef:z,isOpen:$,options:ce,onSelect:H,selectedValue:M,onClose:re,size:W,borderRadius:`${be}px`})]})},pf=c.createContext({columns:12}),Bo={xs:0,sm:600,md:900,lg:1200,xl:1536},gf=(e,n)=>Ze.isNumber(n)?`${n}px`:Bf(n)?`${e.spaces[n]??0}px`:n,Zr=(e,n)=>{if(n!==void 0)if(Ze.isObject(n)){const i={};for(const s in n){const a=s,l=n[a];l!==void 0&&(i[a]=gf(e,l))}return i}else return gf(e,n)},Hw=(e,n)=>{if(e<1||e>n)return console.warn(`AIC-Kits Grid: Size prop should be between 1 and ${n}. Received ${e}.`),"auto";const i=e/n,s=1-i,a=(i*100).toFixed(6).replace(/\.0+$/,""),l=s.toFixed(6).replace(/\.0+$/,"");return`calc(${a}% - ${l} * var(--grid-column-gap, 0px))`},Zw=(e,n)=>{if(e<1||e>n-1)return console.warn(`AIC-Kits Grid: Offset prop should be between 1 and ${n-1}. Received ${e}.`),"0";const i=e/n,s=-i,a=(i*100).toFixed(6).replace(/\.0+$/,""),l=s.toFixed(6).replace(/\.0+$/,"");return`calc(${a}% - ${l} * var(--grid-column-gap, 0px))`},Vw=({sizeValue:e,offsetValue:n,currentTotalColumns:i})=>{let s="";if(e==="auto")s+=`
|
|
319
321
|
flex-basis: auto;
|
|
320
322
|
flex-grow: 0;
|
|
321
323
|
flex-shrink: 0; /* Prevent shrinking below content size */
|
|
322
324
|
max-width: none; /* Allow content to define width */
|
|
323
325
|
width: auto; /* Explicit width auto */
|
|
324
|
-
`;else if(
|
|
326
|
+
`;else if(e==="grow")s+=`
|
|
325
327
|
flex-basis: 0; /* Basis 0 allows grow */
|
|
326
328
|
flex-grow: 1;
|
|
327
329
|
max-width: 100%; /* Can grow up to 100% */
|
|
328
330
|
width: auto; /* Let flexbox handle width */
|
|
329
|
-
`;else if(typeof
|
|
330
|
-
flex-basis: ${
|
|
331
|
+
`;else if(typeof e=="number"){const a=Hw(e,i);s+=`
|
|
332
|
+
flex-basis: ${a};
|
|
331
333
|
flex-grow: 0;
|
|
332
334
|
flex-shrink: 0; /* Prevent shrinking when space is tight */
|
|
333
|
-
`}return
|
|
334
|
-
`:s+=
|
|
335
|
-
`}}}return
|
|
335
|
+
`}return n==="auto"?s+="margin-left: auto;":typeof n=="number"?s+=`margin-left: ${Zw(n,i)};`:s+="margin-left: 0;",s},Nw=({size:e,offset:n,columnsContext:i})=>{let s="";const a=typeof i=="object"?i:{xs:i},l=typeof e=="object"?e:{xs:e},d=typeof n=="object"?n:{xs:n},f=Array.from(new Set([...Object.keys(Bo),...Ze.isObject(l)?Object.keys(l):[],...Ze.isObject(d)?Object.keys(d):[],...Ze.isObject(a)?Object.keys(a):[]]));f.sort((p,b)=>Bo[p]-Bo[b]);let h=typeof(a==null?void 0:a.xs)=="number"?a.xs:12;for(const p of f){a[p]!==void 0&&(h=a[p]);const b=l[p],v=d[p];if(b!==void 0||v!==void 0||p==="xs"||a[p]!==void 0){const w=Vw({sizeValue:b??l.xs,offsetValue:v??d.xs,currentTotalColumns:h});if(w){const _=p==="xs"?"":`@media (min-width: ${Bo[p]}px)`;_?s+=`${_} { ${w} }
|
|
336
|
+
`:s+=w+`
|
|
337
|
+
`}}}return er.css`${s}`},Uw=le(L)`
|
|
336
338
|
box-sizing: border-box;
|
|
337
339
|
margin: 0; // Reset margin by default
|
|
338
340
|
|
|
339
341
|
// --- Container Styles ---
|
|
340
|
-
${({container:
|
|
342
|
+
${({container:e,theme:n,spacing:i,rowSpacing:s,columnSpacing:a,columns:l})=>e&<`
|
|
341
343
|
display: flex;
|
|
342
344
|
flex-wrap: wrap;
|
|
343
345
|
width: 100%; // Default container width
|
|
344
346
|
|
|
345
347
|
// Apply spacing using gap properties (more modern)
|
|
346
348
|
// Use helper to resolve responsive values
|
|
347
|
-
${i&&
|
|
348
|
-
${s&&
|
|
349
|
-
row-gap: ${
|
|
350
|
-
--grid-row-gap: ${
|
|
349
|
+
${i&<`gap: ${Zr(n,i)};`}
|
|
350
|
+
${s&<`
|
|
351
|
+
row-gap: ${Zr(n,s)};
|
|
352
|
+
--grid-row-gap: ${Zr(n,s)};
|
|
351
353
|
`}
|
|
352
|
-
${
|
|
353
|
-
column-gap: ${
|
|
354
|
+
${a&<`
|
|
355
|
+
column-gap: ${Zr(n,a)};
|
|
354
356
|
/* Expose for child items so they can calc width incl. gap */
|
|
355
|
-
--grid-column-gap: ${
|
|
357
|
+
--grid-column-gap: ${Zr(n,a)};
|
|
356
358
|
`}
|
|
357
359
|
|
|
358
360
|
/* Fallback when only spacing is provided (uniform gap) */
|
|
359
|
-
${i&&!
|
|
360
|
-
--grid-column-gap: ${
|
|
361
|
+
${i&&!a&<`
|
|
362
|
+
--grid-column-gap: ${Zr(n,i)};
|
|
361
363
|
`}
|
|
362
364
|
|
|
363
365
|
// Note: Fallback for browsers without gap support (e.g., negative margins)
|
|
@@ -365,43 +367,43 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
365
367
|
// Consider a polyfill or different approach if needed.
|
|
366
368
|
|
|
367
369
|
// Apply custom column count styling if needed (e.g., for debugging)
|
|
368
|
-
// ${
|
|
370
|
+
// ${l&&typeof l=="number"&<`/* Custom columns: ${l} */`}
|
|
369
371
|
`}
|
|
370
372
|
|
|
371
373
|
// --- Item Styles ---
|
|
372
|
-
${({container:
|
|
374
|
+
${({container:e,size:n,offset:i,theme:s,columnsContext:a})=>!e&&(n!==void 0||i!==void 0)&<`
|
|
373
375
|
/* Reset margin potentially added by parent container's negative margin fallback */
|
|
374
376
|
/* margin: 0; */
|
|
375
|
-
${
|
|
377
|
+
${Nw({size:n,offset:i,columnsContext:a})}
|
|
376
378
|
`}
|
|
377
|
-
`,
|
|
378
|
-
border-radius: ${({theme:
|
|
379
|
-
width: ${({theme:
|
|
380
|
-
height: ${({theme:
|
|
379
|
+
`,w1=c.forwardRef(({container:e=!1,spacing:n,rowSpacing:i,columnSpacing:s,columns:a=12,size:l,offset:d,children:f,...h},p)=>{const b=c.useContext(pf),v=a!==void 0?a:b.columns;return m.jsx(pf.Provider,{value:{columns:v},children:m.jsx(Uw,{ref:p,container:e,spacing:e?n:void 0,rowSpacing:e?i:void 0,columnSpacing:e?s:void 0,size:l,offset:d,columns:a,columnsContext:v,...h,children:f})})});w1.displayName="Grid";const os=le(kt)`
|
|
380
|
+
border-radius: ${({theme:e,$borderRadius:n})=>e.radii[n]}px;
|
|
381
|
+
width: ${({theme:e,$size:n})=>e.sizes[n]}px;
|
|
382
|
+
height: ${({theme:e,$size:n})=>e.sizes[n]}px;
|
|
381
383
|
display: flex;
|
|
382
384
|
align-items: center;
|
|
383
385
|
justify-content: center;
|
|
384
|
-
background-color: ${({theme:
|
|
386
|
+
background-color: ${({theme:e,$color:n,$selected:i})=>i?e.colors[n]:e.colors.white};
|
|
385
387
|
&:hover {
|
|
386
|
-
background-color: ${({theme:
|
|
388
|
+
background-color: ${({theme:e,$color:n,$selected:i})=>i?void 0:e.colors[n]};
|
|
387
389
|
}
|
|
388
390
|
transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
|
|
389
|
-
`,
|
|
390
|
-
color: ${({theme:
|
|
391
|
-
font-size: ${({theme:
|
|
392
|
-
${
|
|
393
|
-
color: ${({theme:
|
|
391
|
+
`,mf=le(Qe)`
|
|
392
|
+
color: ${({theme:e,$selected:n,$defaultColor:i})=>n?e.colors.white:e.colors[i]};
|
|
393
|
+
font-size: ${({theme:e,$fontSize:n})=>e.__hd__.text.fontSizes[n]}px;
|
|
394
|
+
${os}:hover & {
|
|
395
|
+
color: ${({theme:e,$selected:n})=>n?void 0:e.colors.white};
|
|
394
396
|
}
|
|
395
397
|
transition: color 0.2s ease-in-out, transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
|
|
396
|
-
`,
|
|
397
|
-
color: ${({theme:
|
|
398
|
-
${
|
|
399
|
-
color: ${({theme:
|
|
398
|
+
`,Gw=le(pt)`
|
|
399
|
+
color: ${({theme:e,$color:n,$selected:i})=>i?e.colors.white:e.colors[n]};
|
|
400
|
+
${os}:hover & {
|
|
401
|
+
color: ${({theme:e,$color:n,$selected:i})=>i?e.colors[n]:e.colors.white};
|
|
400
402
|
}
|
|
401
403
|
transition: color 0.2s ease-in-out, transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
|
|
402
|
-
width: ${({theme:
|
|
403
|
-
height: ${({theme:
|
|
404
|
-
`,
|
|
404
|
+
width: ${({theme:e,$size:n})=>e.sizes[n]}px;
|
|
405
|
+
height: ${({theme:e,$size:n})=>e.sizes[n]}px;
|
|
406
|
+
`,_1=({type:e="page",page:n,currentPage:i,selected:s=!1,disabled:a=!1,onClick:l,shape:d="circular",size:f="medium",color:h="primary",count:p})=>{const w=ye().__hd__.pagination.item,_=w.sizes[f],C=w.shapes[d],I=R=>{if(console.log("type",e,"page",n,"currentPage",i,"count",p),a){R.stopPropagation();return}e==="first"&&(l==null||l(p&&p>=1?1:null,R)),e==="last"&&(l==null||l(p&&p>=1?p:null,R)),e==="previous"&&(l==null||l(i>=2?i-1:null,R)),e==="next"&&(l==null||l(i<=p-1?i+1:null,R)),e==="page"&&(l==null||l(n??null,R))},k=c.useMemo(()=>{switch(e){case"previous":return us;case"next":return Qr;case"first":return L0;case"last":return j0;default:return null}},[e]);return e==="page"?m.jsx(os,{onClick:s?void 0:I,useScaleAnimation:!s,useOpacityAnimation:!s,$borderRadius:C.container.borderRadius,$size:_.container.size,$selected:s,$color:h,children:m.jsx(mf,{color:a?w.text.disabledColor:w.text.color,$defaultColor:w.defaultColor,$fontSize:_.text.fontSize,$selected:s,$color:h,children:String(n)})}):e==="end-ellipsis"||e==="start-ellipsis"?m.jsx(mf,{color:a?w.text.disabledColor:w.text.color,$defaultColor:w.defaultColor,$fontSize:_.text.fontSize,$selected:s,$color:h,children:"..."}):m.jsx(os,{onClick:I,$borderRadius:C.container.borderRadius,$size:_.container.size,$selected:s,$color:h,children:k&&m.jsx(Gw,{type:"icon",art:k,$color:h,$selected:s,$size:_.icon.size,weight:_.icon.weight})})},qw=({count:e,page:n,boundaryCount:i=1,siblingCount:s=1,showFirstButton:a=!1,showLastButton:l=!1,showPrevNextButtons:d=!0})=>{const f=(k,R)=>{const E=R-k+1;return Array.from({length:E},($,A)=>k+A)},h=f(1,Math.min(i,e)),p=f(Math.max(e-i+1,i+1),e),b=Math.max(Math.min(n-s,e-i-s*2-1),i+2),v=Math.min(Math.max(n+s,i+s*2+2),p.length>0?p[0]-2:e-1),w=[];a&&w.push("first"),d&&w.push("previous"),w.push(...h);const _=h.length>0?h[h.length-1]:0;b===_+2?w.push(_+1):b>_+2&&w.push("start-ellipsis"),b<=v&&w.push(...f(b,v));const C=p.length>0?p[0]:e+1;return v===C-2?w.push(C-1):v<C-2&&w.push("end-ellipsis"),w.push(...p),d&&w.push("next"),l&&w.push("last"),{items:w.filter((k,R,E)=>typeof k=="number"?k>=1&&k<=e&&E.indexOf(k)===R:E.indexOf(k)===R).map(k=>{let R,E;return typeof k=="number"?(R="page",E=k):R=k,{type:R,page:E,selected:E===n,disabled:(R==="previous"||R==="first")&&n<=1||(R==="next"||R==="last")&&n>=e}})}},Kw=({count:e=1,page:n=1,onChange:i,boundaryCount:s=1,siblingCount:a=1,showFirstButton:l=!1,showLastButton:d=!1,showPrevNextButtons:f=!0,shape:h="circular",size:p="medium",color:b="primary"})=>{const w=ye().__hd__.pagination,{items:_}=qw({count:e,page:n,boundaryCount:s,siblingCount:a,showFirstButton:l,showLastButton:d,showPrevNextButtons:f}),C=c.useCallback((I,k)=>{i&&I!==null&&i(I,k)},[i]);return m.jsx(L,{display:"flex",flexDirection:"row",alignItems:"center",gap:w.container.sizes[p].gap,children:_.map((I,k)=>m.jsx(_1,{count:e,type:I.type,page:I.page,currentPage:n,selected:I.selected,disabled:I.disabled,onClick:C,shape:h,size:p,color:b},`${I.type}-${I.page||k}`))})},Yw=Cn`
|
|
405
407
|
0% {
|
|
406
408
|
left: 0%;
|
|
407
409
|
width: 0%;
|
|
@@ -417,106 +419,106 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
417
419
|
width: 0%; /* Smallest at the right end */
|
|
418
420
|
transform: translateX(0%); /* Ensure it exits cleanly if it was translateX(100%) it would go off screen too fast */
|
|
419
421
|
}
|
|
420
|
-
`,
|
|
422
|
+
`,Xw=le(L)`
|
|
421
423
|
position: relative;
|
|
422
424
|
overflow: hidden;
|
|
423
|
-
height: ${({theme:
|
|
424
|
-
background-color: ${({theme:
|
|
425
|
-
border-radius: ${({theme:
|
|
426
|
-
border-width: ${({theme:
|
|
427
|
-
border-style: ${({$borderWidthKey:
|
|
428
|
-
border-color: ${({theme:
|
|
429
|
-
`,
|
|
425
|
+
height: ${({theme:e,$heightKey:n})=>e.sizes[n]}px;
|
|
426
|
+
background-color: ${({theme:e,$backgroundColorKey:n})=>e.colors[n]||n};
|
|
427
|
+
border-radius: ${({theme:e,$borderRadiusKey:n})=>e.radii[n]}px;
|
|
428
|
+
border-width: ${({theme:e,$borderWidthKey:n})=>n?e.borderWidths[n]:0}px;
|
|
429
|
+
border-style: ${({$borderWidthKey:e})=>e?"solid":"none"};
|
|
430
|
+
border-color: ${({theme:e,$borderColorKey:n})=>n?e.colors[n]||n:"transparent"};
|
|
431
|
+
`,Qw=le(L)`
|
|
430
432
|
width: 100%;
|
|
431
433
|
height: 100%;
|
|
432
434
|
position: relative; /* For absolute positioning of the indicator */
|
|
433
|
-
`,
|
|
435
|
+
`,Jw=le(L)`
|
|
434
436
|
position: absolute;
|
|
435
437
|
top: 0;
|
|
436
438
|
bottom: 0;
|
|
437
439
|
/* Removed left: 0; as animation will control it for indeterminate */
|
|
438
440
|
height: 100%;
|
|
439
|
-
background-color: ${({theme:
|
|
440
|
-
border-radius: ${({theme:
|
|
441
|
+
background-color: ${({theme:e,$progressColorKey:n})=>e.colors[n]};
|
|
442
|
+
border-radius: ${({theme:e,$borderRadiusKey:n})=>e.radii[n]}px;
|
|
441
443
|
|
|
442
|
-
${({$progressValue:
|
|
443
|
-
width: ${
|
|
444
|
+
${({$progressValue:e})=>e!==void 0?lt`
|
|
445
|
+
width: ${e}%;
|
|
444
446
|
left: 0; // Explicitly set left for determinate state
|
|
445
447
|
transition: width 0.3s ease-in-out;
|
|
446
|
-
`:
|
|
448
|
+
`:lt`
|
|
447
449
|
/* Indeterminate: animation controls width and position */
|
|
448
|
-
animation: ${
|
|
450
|
+
animation: ${Yw} 2s infinite linear alternate;
|
|
449
451
|
`}
|
|
450
|
-
`,
|
|
452
|
+
`,e3=({value:e,color:n,size:i,variant:s,testID:a="progress",...l})=>{const f=ye().__hd__.progress,h=s||f.defaultVariant,p=i||f.defaultSize,{height:b,borderRadius:v}=f.sizes[p],{containerBackgroundColor:w,containerBorderColor:_,containerBorderWidth:C,defaultProgressColor:I}=f.variants[h],k=n||I;let R=_;h==="outlined"&&(R=k);const E=e!==void 0?Math.max(0,Math.min(e,100)):void 0;return m.jsx(Xw,{$heightKey:b,$borderRadiusKey:v,$backgroundColorKey:w,$borderColorKey:R,$borderWidthKey:C,"data-testid":`${a}-container`,...l,children:m.jsx(Qw,{"data-testid":`${a}-bar`,children:m.jsx(Jw,{$progressColorKey:k,$progressValue:E,$borderRadiusKey:v,"data-testid":`${a}-indicator`})})})},t3=le(L)`
|
|
451
453
|
position: fixed;
|
|
452
454
|
top: 0;
|
|
453
455
|
left: 0;
|
|
454
456
|
right: 0;
|
|
455
457
|
bottom: 0;
|
|
456
458
|
background-color: rgba(0, 0, 0, 0.5); // Semi-transparent black
|
|
457
|
-
z-index: ${
|
|
459
|
+
z-index: ${e=>e.zIndex};
|
|
458
460
|
display: flex;
|
|
459
461
|
align-items: center;
|
|
460
462
|
justify-content: center;
|
|
461
|
-
`;let
|
|
463
|
+
`;let Ho=0,yf;const n3=({open:e,onClose:n,children:i,"data-testid":s,...a})=>{const l=ye();if(c.useEffect(()=>{if(!(typeof document>"u"))return e&&(Ho===0&&(yf=document.body.style.overflow,document.body.style.overflow="hidden"),Ho++),()=>{e&&(Ho--,Ho===0&&(document.body.style.overflow=yf))}},[e]),!e)return null;const d=f=>{f.target===f.currentTarget&&(n==null||n())};return m.jsx(t3,{zIndex:l.zIndex.getZIndex("AIC_Kits_Modal"),onClick:d,"data-testid":s?`${s}-backdrop`:void 0,children:m.jsx(L,{maxHeight:"100vh",overflowY:"auto",...a,"data-testid":s?`${s}-container`:void 0,children:i})})},r3=({children:e,description:n,placement:i,backgroundColor:s,color:a})=>{const l=ye(),d=l.__hd__.tooltip,f=i??d.defaultPlacement,h=s??d.defaultBackgroundColor,p=a??d.defaultTextColor,b=c.useRef(null),v=fs(b),w=d.positioning.placements[f];return m.jsxs(L,{display:"inline-block",position:"relative",ref:b,children:[e,v&&m.jsx(L,{position:"absolute",bgColor:h,p:d.container.padding,r:d.container.borderRadius,boxShadow:d.container.shadow,zIndex:l.zIndex.getZIndex("AIC_Kits_Tooltip"),width:"max-content",maxWidth:d.container.maxWidth,...w,children:m.jsx(Qe,{color:p,fontSize:d.text.fontSize,children:n})})]})},i3=Cn`
|
|
462
464
|
from {
|
|
463
465
|
opacity: 0;
|
|
464
466
|
}
|
|
465
467
|
to {
|
|
466
468
|
opacity: 1;
|
|
467
469
|
}
|
|
468
|
-
`,
|
|
470
|
+
`,o3=le(L)`
|
|
469
471
|
position: relative;
|
|
470
472
|
display: block;
|
|
471
|
-
${({$width:
|
|
472
|
-
`,
|
|
473
|
+
${({$width:e,$minWidth:n,$maxWidth:i})=>{const s=e&&typeof e=="object";if(s||n&&typeof n=="object"||i&&typeof i=="object"){const h={};return typeof e=="string"?h.width=e:typeof e=="number"?(h.width="100%",i===void 0&&(h.maxWidth=`${e}px`)):s&&(h.width="100%",i===void 0&&(h.maxWidth=e)),typeof n=="number"?h.minWidth=`${n}px`:(typeof n=="string"||n)&&(h.minWidth=n),i!==void 0&&(typeof i=="string"?i==="auto"?h.maxWidth="none":h.maxWidth=i:typeof i=="number"?h.maxWidth=`${i}px`:h.maxWidth=i),Xr(h)}const f={};return typeof e=="string"?e==="auto"||e==="100%"||/^\d+(\.\d+)?(px|%|em|rem|vw|vh)$/.test(e)?f.width=e:f.width="100%":typeof e=="number"&&(f.width="100%",i===void 0&&(f.maxWidth=`${e}px`)),n!==void 0&&(typeof n=="number"?f.minWidth=`${n}px`:typeof n=="string"&&(f.minWidth=n)),i!==void 0&&(typeof i=="string"?i==="auto"?f.maxWidth="none":f.maxWidth=i:typeof i=="number"&&(f.maxWidth=`${i}px`)),lt(f)}}
|
|
474
|
+
`,s3=le.svg`
|
|
473
475
|
display: block;
|
|
474
476
|
flex-shrink: 0;
|
|
475
|
-
width: ${({$width:
|
|
476
|
-
height: ${({$height:
|
|
477
|
-
`;
|
|
478
|
-
fill: ${({theme:
|
|
479
|
-
animation: ${
|
|
477
|
+
width: ${({$width:e})=>e===void 0?"100%":typeof e=="number"?`${e}px`:e};
|
|
478
|
+
height: ${({$height:e})=>e?`${e}px`:"auto"};
|
|
479
|
+
`;le.rect`
|
|
480
|
+
fill: ${({theme:e,$colorKey:n})=>e.colors[n]};
|
|
481
|
+
animation: ${i3} ${({$animationDuration:e})=>e}ms ease-out;
|
|
480
482
|
transition: opacity 0.3s ease;
|
|
481
483
|
cursor: pointer;
|
|
482
484
|
|
|
483
485
|
&:hover {
|
|
484
486
|
opacity: 0.8;
|
|
485
487
|
}
|
|
486
|
-
`;const
|
|
487
|
-
stroke: ${({theme:
|
|
488
|
+
`;const bf=le.line`
|
|
489
|
+
stroke: ${({theme:e,$colorKey:n})=>e.colors[n]||n};
|
|
488
490
|
stroke-width: 1;
|
|
489
491
|
shape-rendering: crispEdges;
|
|
490
|
-
`,
|
|
491
|
-
fill: ${({theme:
|
|
492
|
+
`,Zo=le.text`
|
|
493
|
+
fill: ${({theme:e,$colorKey:n})=>e.colors[n]||n};
|
|
492
494
|
font-size: 12px;
|
|
493
|
-
font-family: ${({theme:
|
|
494
|
-
`,
|
|
495
|
-
stroke: ${({theme:
|
|
495
|
+
font-family: ${({theme:e})=>e.fonts.neutral};
|
|
496
|
+
`,a3=le.line`
|
|
497
|
+
stroke: ${({theme:e,$colorKey:n})=>e.colors[n]||n};
|
|
496
498
|
stroke-width: 1;
|
|
497
499
|
stroke-dasharray: 2, 2;
|
|
498
500
|
opacity: 0.3;
|
|
499
|
-
`,
|
|
501
|
+
`,l3=le.div`
|
|
500
502
|
position: absolute;
|
|
501
|
-
left: ${({$left:
|
|
502
|
-
top: ${({$top:
|
|
503
|
+
left: ${({$left:e})=>e}px;
|
|
504
|
+
top: ${({$top:e})=>e}px;
|
|
503
505
|
transform: translate(-50%, -100%);
|
|
504
|
-
background-color: ${({theme:
|
|
505
|
-
color: ${({theme:
|
|
506
|
+
background-color: ${({theme:e})=>e.colors.grey800||"#333"};
|
|
507
|
+
color: ${({theme:e})=>e.colors.white||"#fff"};
|
|
506
508
|
padding: 8px 12px;
|
|
507
509
|
border-radius: 6px;
|
|
508
510
|
font-size: 12px;
|
|
509
|
-
font-family: ${({theme:
|
|
511
|
+
font-family: ${({theme:e})=>e.fonts.neutral||"sans-serif"};
|
|
510
512
|
white-space: nowrap;
|
|
511
513
|
pointer-events: none;
|
|
512
514
|
z-index: 1000;
|
|
513
515
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
514
|
-
`,
|
|
516
|
+
`,c3=le.div`
|
|
515
517
|
font-weight: 600;
|
|
516
518
|
margin-bottom: 4px;
|
|
517
|
-
`,
|
|
519
|
+
`,u3=le.div`
|
|
518
520
|
font-weight: 400;
|
|
519
|
-
`,
|
|
521
|
+
`,d3=({data:e,width:n=400,minWidth:i=200,maxWidth:s,height:a=300,chartMargin:l,color:d,size:f,variant:h,showGrid:p=!0,showXAxis:b=!0,showYAxis:v=!0,orientation:w="vertical",showTooltip:_=!0,testID:C="bar-chart",...I})=>{var _e,te,fe;const k=ye(),R=(_e=k.__hd__)==null?void 0:_e.barChart,E=c.useRef(null),[$,A]=c.useState(()=>{if(typeof n=="number")return n;if(typeof n=="string"){const q=n.match(/^(\d+(?:\.\d+)?)px$/);if(q)return parseFloat(q[1])}return 400}),[M,z]=c.useState(40),[j,H]=c.useState(null),[re,J]=c.useState(null),ce=h||(R==null?void 0:R.defaultVariant)||"default",B=f||(R==null?void 0:R.defaultSize)||"md";c.useEffect(()=>{if(!v||w!=="vertical"||(l==null?void 0:l.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 ae=document.createElementNS("http://www.w3.org/2000/svg","text");ae.style.fontSize="12px",ae.style.fontFamily=k.fonts.neutral||"sans-serif",q.appendChild(ae);const pe=e.map(tt=>tt.value),Re=pe.length>0?Math.max(...pe):100,$e=5;let Ye=0;for(let tt=0;tt<$e;tt++){const nt=Re/($e-1)*tt;ae.textContent=Math.round(nt).toString();const rt=ae.getBBox();Ye=Math.max(Ye,rt.width)}document.body.removeChild(q),z(Math.ceil(Ye)+15)},[e,k.fonts.neutral,v,w,l==null?void 0:l.left]),c.useEffect(()=>{if(!v||w!=="horizontal"||(l==null?void 0:l.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 ae=document.createElementNS("http://www.w3.org/2000/svg","text");ae.style.fontSize="12px",ae.style.fontFamily=k.fonts.neutral||"sans-serif",q.appendChild(ae);let pe=0;e.forEach(Re=>{ae.textContent=Re.label;const $e=ae.getBBox();pe=Math.max(pe,$e.width)}),document.body.removeChild(q),z(Math.ceil(pe)+15)},[e,k.fonts.neutral,v,w,l==null?void 0:l.left]);const W={top:(l==null?void 0:l.top)??20,right:(l==null?void 0:l.right)??20,bottom:(l==null?void 0:l.bottom)??40,left:(l==null?void 0:l.left)??M};yr(()=>{const q=E.current;if(!q)return;const ae=()=>{if(typeof n=="number"){A(n);return}if(typeof n=="string"&&/^\d+(?:\.\d+)?px$/.test(n)){const $e=n.match(/^(\d+(?:\.\d+)?)px$/);if($e){A(parseFloat($e[1]));return}}const Re=q.clientWidth;Re>0&&A(Re)};ae();let pe;return typeof ResizeObserver<"u"?(pe=new ResizeObserver(ae),pe.observe(q)):window.addEventListener("resize",ae),()=>{pe?pe.disconnect():window.removeEventListener("resize",ae)}},[n,i,s]);const P=(()=>{if(typeof a=="number")return a;if(typeof a=="string"){const q=a.match(/^(\d+(?:\.\d+)?)px$/);if(q)return parseFloat(q[1])}return 300})(),{barRadius:se=4,axisColor:G="grey600",gridColor:ne="grey200",labelColor:ue="grey600"}=((te=R==null?void 0:R.sizes)==null?void 0:te[B])||{},{defaultBarColor:be="primary"}=((fe=R==null?void 0:R.variants)==null?void 0:fe[ce])||{},xe=d||be,ve=Math.max(0,$-W.left-W.right),Ae=Math.max(0,P-W.top-W.bottom),de=e.map(q=>q.value),Se=de.length>0?Math.max(...de):100,Ge=.6,De=w==="vertical"?ve/Math.max(e.length,1):Ae/Math.max(e.length,1),ot=Math.max(De*Ge,1),me=q=>{const ae=Se||100,pe=q||0;return w==="vertical"?pe/ae*Ae:pe/ae*ve},Te=c.useMemo(()=>Array.from({length:5},(ae,pe)=>{const Re=Se/4*pe,$e=Se||100,Ye=Re||0,tt=w==="vertical"?Ae-Ye/$e*Ae:Ye/$e*ve;return{value:Re,position:tt}}),[Se,Ae,ve,w]),ze=(q,ae)=>{const Re=Math.floor(ae/7);if(q.length<=Re)return q;const $e=Math.max(1,Re-3);return q.substring(0,$e)+"..."};return m.jsxs(o3,{ref:E,"data-testid":`${C}-container`,$width:n,$minWidth:i,$maxWidth:s,...I,children:[m.jsxs(s3,{$width:$,$height:P,viewBox:`0 0 ${$} ${P}`,role:"img","aria-label":"Bar chart","data-testid":`${C}-svg`,children:[m.jsx("title",{children:"Bar chart"}),m.jsxs("g",{transform:`translate(${W.left}, ${W.top})`,children:[p&&Te.map((q,ae)=>m.jsx(a3,{$colorKey:ne,x1:w==="vertical"?0:q.position,y1:w==="vertical"?q.position:0,x2:w==="vertical"?ve:q.position,y2:w==="vertical"?q.position:Ae,"data-testid":`${C}-grid-line-${ae}`},ae)),e.map((q,ae)=>{const pe=me(q.value);let Re,$e,Ye,tt;if(w==="vertical")Re=ae*De+(De-ot)/2,$e=Ae-pe,Ye=ot,tt=pe;else{const Ve=ae*De;Re=0,$e=Ve+(De-ot)/2,Ye=pe,tt=ot}const nt=2,rt=Math.max(Ye,nt),ie=Math.max(tt,nt),Ne=q.color||xe,Pe=k.colors[Ne]||Ne||"#6949FF";return m.jsx("rect",{x:Re,y:$e,width:rt,height:ie,fill:Pe,rx:Math.min(se,ie/2,rt/2),ry:Math.min(se,ie/2,rt/2),opacity:j===ae?1:.9,cursor:"pointer",onMouseEnter:Ve=>{var Ue;if(H(ae),_){const gt=Ve.currentTarget.getBoundingClientRect(),$t=(Ue=E.current)==null?void 0:Ue.getBoundingClientRect();$t&&J({x:gt.left-$t.left+gt.width/2,y:gt.top-$t.top})}Ve.currentTarget.style.filter="brightness(1.1)"},onMouseLeave:Ve=>{H(null),J(null),Ve.currentTarget.style.filter="brightness(1)"},"data-testid":`${C}-bar-${ae}`},ae)}),b&&m.jsxs(m.Fragment,{children:[m.jsx(bf,{$colorKey:G,x1:0,y1:Ae,x2:ve,y2:Ae,"data-testid":`${C}-x-axis`}),w==="vertical"&&e.map((q,ae)=>{const pe=ae*De+De/2,Re=Ae+20,$e=De*.9,Ye=ze(q.label,$e);return m.jsxs(Zo,{x:pe,y:Re,$colorKey:ue,textAnchor:"middle","data-testid":`${C}-x-label-${ae}`,children:[q.label!==Ye&&m.jsx("title",{children:q.label}),Ye]},ae)}),w==="horizontal"&&Te.map((q,ae)=>m.jsxs("g",{children:[m.jsx("line",{x1:q.position,y1:Ae,x2:q.position,y2:Ae+5,stroke:k.colors[G]||G,strokeWidth:1}),m.jsx(Zo,{x:q.position,y:Ae+20,$colorKey:ue,textAnchor:"middle","data-testid":`${C}-x-value-${ae}`,children:Math.round(q.value)})]},`x-tick-${ae}`))]}),v&&m.jsxs(m.Fragment,{children:[m.jsx(bf,{$colorKey:G,x1:0,y1:0,x2:0,y2:Ae,"data-testid":`${C}-y-axis`}),w==="vertical"&&Te.map((q,ae)=>m.jsxs("g",{children:[m.jsx("line",{x1:-5,y1:q.position,x2:0,y2:q.position,stroke:k.colors[G]||G,strokeWidth:1}),m.jsx(Zo,{x:-10,y:q.position,$colorKey:ue,textAnchor:"end",dominantBaseline:"middle","data-testid":`${C}-y-value-${ae}`,children:Math.round(q.value)})]},`y-tick-${ae}`)),w==="horizontal"&&e.map((q,ae)=>{const pe=ae*De+De/2;return m.jsx(Zo,{x:-10,y:pe,$colorKey:ue,textAnchor:"end",dominantBaseline:"middle","data-testid":`${C}-y-label-${ae}`,children:q.label},`y-cat-${ae}`)})]})]})]}),_&&j!==null&&re&&m.jsxs(l3,{$left:re.x,$top:re.y-10,"data-testid":`${C}-tooltip`,children:[m.jsx(c3,{children:e[j].label}),m.jsxs(u3,{children:["Value: ",e[j].value]})]})]})},f3=Cn`
|
|
520
522
|
from {
|
|
521
523
|
opacity: 0;
|
|
522
524
|
transform: scale(0.8);
|
|
@@ -525,24 +527,24 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
525
527
|
opacity: 1;
|
|
526
528
|
transform: scale(1);
|
|
527
529
|
}
|
|
528
|
-
`,
|
|
530
|
+
`,h3=le(L)`
|
|
529
531
|
position: relative;
|
|
530
|
-
display: ${({$showLegend:
|
|
531
|
-
flex-direction: ${({$legendPosition:
|
|
532
|
-
align-items: ${({$legendPosition:
|
|
532
|
+
display: ${({$showLegend:e,$legendPosition:n})=>e?"flex":"inline-flex"};
|
|
533
|
+
flex-direction: ${({$legendPosition:e})=>e==="left"?"row-reverse":e==="right"?"row":"column"};
|
|
534
|
+
align-items: ${({$legendPosition:e})=>"center"};
|
|
533
535
|
justify-content: center;
|
|
534
536
|
gap: 20px;
|
|
535
|
-
${({$width:
|
|
536
|
-
`,
|
|
537
|
+
${({$width:e,$height:n,$minWidth:i,$maxWidth:s,$minHeight:a,$maxHeight:l})=>{const d=e&&typeof e=="object",f=n&&typeof n=="object";if(d||f||i&&typeof i=="object"||s&&typeof s=="object"||a&&typeof a=="object"||l&&typeof l=="object"){const C={};return typeof e=="string"?C.width=e:typeof e=="number"?(C.width="100%",s===void 0&&(C.maxWidth=`${e}px`)):d&&(C.width="100%",s===void 0&&(C.maxWidth=e)),typeof n=="string"?C.height=n:typeof n=="number"?(C.height="auto",l===void 0&&(C.maxHeight=`${n}px`)):f&&(C.height="auto",l===void 0&&(C.maxHeight=n)),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 a=="number"?C.minHeight=`${a}px`:(typeof a=="string"||a)&&(C.minHeight=a),l!==void 0&&(typeof l=="string"?l==="auto"?C.maxHeight="none":C.maxHeight=l:typeof l=="number"?C.maxHeight=`${l}px`:C.maxHeight=l),Xr(C)}const _={};return typeof e=="string"?e==="auto"||e==="100%"||/^\d+(\.\d+)?(px|%|em|rem|vw|vh)$/.test(e)?_.width=e:_.width="100%":typeof e=="number"&&(_.width="100%",s===void 0&&(_.maxWidth=`${e}px`)),typeof n=="string"?n==="auto"||n==="100%"||/^\d+(\.\d+)?(px|%|em|rem|vw|vh)$/.test(n)?_.height=n:_.height="auto":typeof n=="number"&&(_.height="auto",l===void 0&&(_.maxHeight=`${n}px`)),i!==void 0&&(typeof i=="number"?_.minWidth=`${i}px`:typeof i=="string"&&(_.minWidth=i)),s!==void 0&&(typeof s=="string"?s==="auto"?_.maxWidth="none":_.maxWidth=s:typeof s=="number"&&(_.maxWidth=`${s}px`)),a!==void 0&&(typeof a=="number"?_.minHeight=`${a}px`:typeof a=="string"&&(_.minHeight=a)),l!==void 0&&(typeof l=="string"?l==="auto"?_.maxHeight="none":_.maxHeight=l:typeof l=="number"&&(_.maxHeight=`${l}px`)),lt(_)}}
|
|
538
|
+
`,p3=le.svg`
|
|
537
539
|
display: block;
|
|
538
540
|
flex-shrink: 0;
|
|
539
|
-
width: ${({$width:
|
|
540
|
-
height: ${({$height:
|
|
541
|
-
`,
|
|
542
|
-
fill: ${({theme:
|
|
543
|
-
stroke: ${({theme:
|
|
544
|
-
stroke-width: ${({$strokeWidth:
|
|
545
|
-
animation: ${
|
|
541
|
+
width: ${({$width:e})=>e===void 0?"100%":typeof e=="number"?`${e}px`:e};
|
|
542
|
+
height: ${({$height:e})=>e?`${e}px`:"auto"};
|
|
543
|
+
`,g3=le.path`
|
|
544
|
+
fill: ${({theme:e,$colorKey:n})=>e.colors[n]};
|
|
545
|
+
stroke: ${({theme:e,$strokeColorKey:n})=>e.colors[n]||n};
|
|
546
|
+
stroke-width: ${({$strokeWidth:e})=>e}px;
|
|
547
|
+
animation: ${f3} ${({$animationDuration:e})=>e}ms ease-out;
|
|
546
548
|
transform: translate(0, 0);
|
|
547
549
|
cursor: pointer;
|
|
548
550
|
transition: transform 0.2s ease, filter 0.2s ease;
|
|
@@ -551,68 +553,68 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
551
553
|
transform: scale(1.1);
|
|
552
554
|
filter: brightness(1.1);
|
|
553
555
|
}
|
|
554
|
-
`,
|
|
556
|
+
`,m3=le.text`
|
|
555
557
|
fill: white;
|
|
556
|
-
font-size: ${({$fontSize:
|
|
557
|
-
font-family: ${({theme:
|
|
558
|
+
font-size: ${({$fontSize:e})=>e}px;
|
|
559
|
+
font-family: ${({theme:e})=>e.fonts.neutral};
|
|
558
560
|
font-weight: 600;
|
|
559
561
|
pointer-events: none;
|
|
560
562
|
user-select: none;
|
|
561
563
|
filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.5));
|
|
562
|
-
`,
|
|
564
|
+
`,y3=le(L)`
|
|
563
565
|
display: flex;
|
|
564
|
-
flex-direction: ${({$position:
|
|
565
|
-
flex-wrap: ${({$position:
|
|
566
|
-
gap: ${({$spacing:
|
|
567
|
-
padding: ${({$spacing:
|
|
568
|
-
${({$position:
|
|
569
|
-
`,
|
|
566
|
+
flex-direction: ${({$position:e})=>e==="left"||e==="right"?"column":"row"};
|
|
567
|
+
flex-wrap: ${({$position:e})=>e==="top"||e==="bottom"?"wrap":"nowrap"};
|
|
568
|
+
gap: ${({$spacing:e})=>e}px;
|
|
569
|
+
padding: ${({$spacing:e})=>e}px;
|
|
570
|
+
${({$position:e})=>e==="top"?lt`margin-bottom: 20px;`:e==="bottom"?lt`margin-top: 20px;`:e==="left"?lt`margin-right: 20px;`:e==="right"?lt`margin-left: 20px;`:""}
|
|
571
|
+
`,b3=le(L)`
|
|
570
572
|
display: flex;
|
|
571
573
|
align-items: center;
|
|
572
|
-
gap: ${({$spacing:
|
|
574
|
+
gap: ${({$spacing:e})=>e/2}px;
|
|
573
575
|
cursor: pointer;
|
|
574
576
|
transition: opacity 0.2s ease;
|
|
575
577
|
|
|
576
578
|
&:hover {
|
|
577
579
|
opacity: 0.8;
|
|
578
580
|
}
|
|
579
|
-
`,
|
|
580
|
-
width: ${({$size:
|
|
581
|
-
height: ${({$size:
|
|
582
|
-
background-color: ${({theme:
|
|
581
|
+
`,x3=le(L)`
|
|
582
|
+
width: ${({$size:e})=>e}px;
|
|
583
|
+
height: ${({$size:e})=>e}px;
|
|
584
|
+
background-color: ${({theme:e,$colorKey:n})=>e.colors[n]};
|
|
583
585
|
border-radius: 2px;
|
|
584
586
|
flex-shrink: 0;
|
|
585
|
-
`,
|
|
586
|
-
font-size: ${({$fontSize:
|
|
587
|
-
color: ${({theme:
|
|
588
|
-
font-family: ${({theme:
|
|
587
|
+
`,v3=le.span`
|
|
588
|
+
font-size: ${({$fontSize:e})=>e}px;
|
|
589
|
+
color: ${({theme:e,$colorKey:n})=>e.colors[n]||n};
|
|
590
|
+
font-family: ${({theme:e})=>e.fonts.neutral};
|
|
589
591
|
white-space: nowrap;
|
|
590
|
-
`,
|
|
591
|
-
M ${
|
|
592
|
-
A ${s} ${s} 0 ${
|
|
593
|
-
L ${
|
|
594
|
-
A ${i} ${i} 0 ${
|
|
592
|
+
`,w3=(e,n,i,s)=>{const a=e*Math.PI/180,l=n*Math.PI/180,d=Math.cos(a)*s,f=Math.sin(a)*s,h=Math.cos(l)*s,p=Math.sin(l)*s,b=n-e>180?1:0;if(i>0){const v=Math.cos(a)*i,w=Math.sin(a)*i,_=Math.cos(l)*i,C=Math.sin(l)*i;return`
|
|
593
|
+
M ${d} ${f}
|
|
594
|
+
A ${s} ${s} 0 ${b} 1 ${h} ${p}
|
|
595
|
+
L ${_} ${C}
|
|
596
|
+
A ${i} ${i} 0 ${b} 0 ${v} ${w}
|
|
595
597
|
Z
|
|
596
598
|
`}else return`
|
|
597
599
|
M 0 0
|
|
598
|
-
L ${
|
|
599
|
-
A ${s} ${s} 0 ${
|
|
600
|
+
L ${d} ${f}
|
|
601
|
+
A ${s} ${s} 0 ${b} 1 ${h} ${p}
|
|
600
602
|
Z
|
|
601
|
-
`},
|
|
603
|
+
`},_3=({data:e,width:n=400,height:i=400,minWidth:s=200,maxWidth:a,minHeight:l=200,maxHeight:d,innerRadius:f=0,outerRadius:h,padAngle:p=0,size:b,variant:v,showLabels:w=!1,showLegend:_=!0,legendPosition:C="right",animationDuration:I=300,startAngle:k=-90,testID:R="pie-chart",...E})=>{var De,ot;const A=ye().__hd__.pieChart,M=c.useRef(null),[z,j]=c.useState(()=>{if(typeof n=="number")return n;if(typeof n=="string"){const me=n.match(/^(\d+(?:\.\d+)?)px$/);if(me)return parseFloat(me[1])}return 400}),[H,re]=c.useState(()=>{if(typeof i=="number")return i;if(typeof i=="string"){const me=i.match(/^(\d+(?:\.\d+)?)px$/);if(me)return parseFloat(me[1])}return 400}),J=v||(A==null?void 0:A.defaultVariant)||"default",ce=b||(A==null?void 0:A.defaultSize)||"md";yr(()=>{const me=M.current;if(!me)return;const Te=()=>{if(typeof n=="number"){j(n);return}if(typeof n=="string"&&/^\d+(?:\.\d+)?px$/.test(n)){const te=n.match(/^(\d+(?:\.\d+)?)px$/);if(te){j(parseFloat(te[1]));return}}const _e=me.clientWidth;_e>0&&j(_e)};Te();let ze;return typeof ResizeObserver<"u"?(ze=new ResizeObserver(Te),ze.observe(me)):window.addEventListener("resize",Te),()=>{ze?ze.disconnect():window.removeEventListener("resize",Te)}},[n,s,a]),yr(()=>{const me=M.current;if(!me)return;const Te=()=>{if(typeof i=="number"){re(i);return}if(typeof i=="string"&&/^\d+(?:\.\d+)?px$/.test(i)){const te=i.match(/^(\d+(?:\.\d+)?)px$/);if(te){re(parseFloat(te[1]));return}}const _e=me.clientHeight;_e>0&&re(_e)};Te();let ze;return typeof ResizeObserver<"u"?(ze=new ResizeObserver(Te),ze.observe(me)):window.addEventListener("resize",Te),()=>{ze?ze.disconnect():window.removeEventListener("resize",Te)}},[i,l,d]);const{strokeWidth:B=1,strokeColor:W="white",labelColor:P="grey600",labelFontSize:se=12,legendFontSize:G=14,legendSpacing:ne=8}=((De=A==null?void 0:A.sizes)==null?void 0:De[ce])||{},{defaultColors:ue=["primary","secondary","success","warning","danger"]}=((ot=A==null?void 0:A.variants)==null?void 0:ot[J])||{},be=Math.min(z,H),xe=be/2,ve=be/2,Ae=h||be/2-20,de=f*Ae,Se=c.useMemo(()=>{const me=e.reduce((ze,_e)=>ze+_e.value,0);let Te=k;return e.map((ze,_e)=>{const te=ze.value/me*100,fe=ze.value/me*360-p,q={...ze,percentage:te,startAngle:Te,endAngle:Te+fe,midAngle:Te+fe/2,color:ze.color||ue[_e%ue.length]};return Te+=fe+p,q})},[e,k,p,ue]),Ge=(me,Te)=>{const ze=me*Math.PI/180,_e=de>0?(de+Ae)/2:Te*.7;return{x:Math.cos(ze)*_e,y:Math.sin(ze)*_e}};return m.jsxs(h3,{ref:M,$legendPosition:C,$showLegend:_,$width:n,$height:i,$minWidth:s,$maxWidth:a||n,$minHeight:l,$maxHeight:d||i,"data-testid":`${R}-container`,...E,children:[m.jsxs(p3,{$width:be,$height:be,viewBox:`0 0 ${be} ${be}`,role:"img","aria-label":"Pie chart","data-testid":`${R}-svg`,children:[m.jsx("title",{children:"Pie chart"}),m.jsx("g",{transform:`translate(${xe}, ${ve})`,children:Se.map((me,Te)=>{const ze=w3(me.startAngle,me.endAngle,de,Ae),_e=Ge(me.midAngle,Ae);return m.jsxs("g",{children:[m.jsx(g3,{d:ze,$colorKey:me.color,$strokeWidth:B,$strokeColorKey:W,$animationDuration:I,$startAngle:me.startAngle,$endAngle:me.endAngle,"data-testid":`${R}-slice-${Te}`}),w&&m.jsxs(m3,{x:_e.x,y:_e.y,$colorKey:P,$fontSize:se,textAnchor:"middle",dominantBaseline:"middle","data-testid":`${R}-label-${Te}`,children:[me.percentage.toFixed(1),"%"]})]},Te)})})]}),_&&m.jsx(y3,{$position:C,$spacing:ne,"data-testid":`${R}-legend`,children:Se.map((me,Te)=>m.jsxs(b3,{$spacing:ne,"data-testid":`${R}-legend-item-${Te}`,children:[m.jsx(x3,{$colorKey:me.color,$size:G}),m.jsxs(v3,{$fontSize:G,$colorKey:P,children:[me.label," (",me.percentage.toFixed(1),"%)"]})]},Te))})]})},C3=Cn`
|
|
602
604
|
from {
|
|
603
605
|
stroke-dashoffset: 1000;
|
|
604
606
|
}
|
|
605
607
|
to {
|
|
606
608
|
stroke-dashoffset: 0;
|
|
607
609
|
}
|
|
608
|
-
`,
|
|
610
|
+
`,S3=Cn`
|
|
609
611
|
from {
|
|
610
612
|
opacity: 0;
|
|
611
613
|
}
|
|
612
614
|
to {
|
|
613
615
|
opacity: 0.3;
|
|
614
616
|
}
|
|
615
|
-
`,
|
|
617
|
+
`,E3=Cn`
|
|
616
618
|
0% {
|
|
617
619
|
transform: scale(0);
|
|
618
620
|
opacity: 0;
|
|
@@ -625,25 +627,25 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
625
627
|
transform: scale(1);
|
|
626
628
|
opacity: 1;
|
|
627
629
|
}
|
|
628
|
-
`,
|
|
630
|
+
`,k3=le(L)`
|
|
629
631
|
position: relative;
|
|
630
632
|
display: block;
|
|
631
|
-
${({$width:
|
|
632
|
-
|
|
633
|
+
${({$width:e,$minWidth:n,$maxWidth:i,$height:s,$minHeight:a,$maxHeight:l})=>{const d=e&&typeof e=="object",f=n&&typeof n=="object",h=i&&typeof i=="object",p=s&&typeof s=="object";if(d||f||h||p||a&&typeof a=="object"||l&&typeof l=="object"){const C={};return typeof e=="string"?C.width=e:typeof e=="number"?(C.width="100%",i===void 0&&(C.maxWidth=`${e}px`)):d&&(C.width="100%",i===void 0&&(C.maxWidth=e)),typeof n=="number"?C.minWidth=`${n}px`:(typeof n=="string"||n)&&(C.minWidth=n),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",l===void 0&&(C.maxHeight=`${s}px`)):p&&(C.height="auto",l===void 0&&(C.maxHeight=s)),typeof a=="number"?C.minHeight=`${a}px`:(typeof a=="string"||a)&&(C.minHeight=a),l!==void 0&&(typeof l=="string"?l==="auto"?C.maxHeight="none":C.maxHeight=l:typeof l=="number"?C.maxHeight=`${l}px`:C.maxHeight=l),Xr(C)}const _={};return typeof e=="string"?e==="auto"||e==="100%"||/^\d+(\.\d+)?(px|%|em|rem|vw|vh)$/.test(e)?_.width=e:_.width="100%":typeof e=="number"&&(_.width="100%",i===void 0&&(_.maxWidth=`${e}px`)),n!==void 0&&(typeof n=="number"?_.minWidth=`${n}px`:typeof n=="string"&&(_.minWidth=n)),i!==void 0&&(typeof i=="string"?i==="auto"?_.maxWidth="none":_.maxWidth=i:typeof i=="number"&&(_.maxWidth=`${i}px`)),typeof s=="string"?s==="auto"||s==="100%"||/^\d+(\.\d+)?(px|%|em|rem|vw|vh)$/.test(s)?_.height=s:_.height="auto":typeof s=="number"&&(_.height="auto",l===void 0&&(_.maxHeight=`${s}px`)),a!==void 0&&(typeof a=="number"?_.minHeight=`${a}px`:typeof a=="string"&&(_.minHeight=a)),l!==void 0&&(typeof l=="string"?l==="auto"?_.maxHeight="none":_.maxHeight=l:typeof l=="number"&&(_.maxHeight=`${l}px`)),lt(_)}}
|
|
634
|
+
`,$3=le.svg`
|
|
633
635
|
display: block;
|
|
634
636
|
flex-shrink: 0;
|
|
635
|
-
width: ${({$width:
|
|
636
|
-
height: ${({$height:
|
|
637
|
-
`,
|
|
637
|
+
width: ${({$width:e})=>e===void 0?"100%":typeof e=="number"?`${e}px`:e};
|
|
638
|
+
height: ${({$height:e})=>e?`${e}px`:"auto"};
|
|
639
|
+
`,A3=le.path`
|
|
638
640
|
fill: none;
|
|
639
|
-
stroke: ${({theme:
|
|
640
|
-
stroke-width: ${({$strokeWidth:
|
|
641
|
-
stroke-dasharray: ${({$strokeDasharray:
|
|
641
|
+
stroke: ${({theme:e,$colorKey:n})=>e.colors[n]};
|
|
642
|
+
stroke-width: ${({$strokeWidth:e})=>e}px;
|
|
643
|
+
stroke-dasharray: ${({$strokeDasharray:e})=>e||"none"};
|
|
642
644
|
stroke-linecap: round;
|
|
643
645
|
stroke-linejoin: round;
|
|
644
646
|
stroke-dasharray: 1000;
|
|
645
647
|
stroke-dashoffset: 1000;
|
|
646
|
-
animation: ${
|
|
648
|
+
animation: ${C3} ${({$animationDuration:e})=>e}ms ease-out forwards;
|
|
647
649
|
transition: stroke 0.3s ease;
|
|
648
650
|
cursor: pointer;
|
|
649
651
|
transition: opacity 0.2s ease, filter 0.2s ease;
|
|
@@ -652,70 +654,70 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
652
654
|
opacity: 1;
|
|
653
655
|
filter: brightness(1.1);
|
|
654
656
|
}
|
|
655
|
-
`,
|
|
656
|
-
fill: ${({theme:
|
|
657
|
+
`,T3=le.path`
|
|
658
|
+
fill: ${({theme:e,$colorKey:n})=>e.colors[n]};
|
|
657
659
|
opacity: 0;
|
|
658
|
-
animation: ${
|
|
659
|
-
animation-delay: ${({$animationDuration:
|
|
660
|
-
`,
|
|
661
|
-
fill: ${({theme:
|
|
660
|
+
animation: ${S3} ${({$animationDuration:e})=>e}ms ease-out forwards;
|
|
661
|
+
animation-delay: ${({$animationDuration:e})=>e/2}ms;
|
|
662
|
+
`,R3=le.circle`
|
|
663
|
+
fill: ${({theme:e,$colorKey:n})=>e.colors[n]};
|
|
662
664
|
stroke: white;
|
|
663
665
|
stroke-width: 2px;
|
|
664
666
|
cursor: pointer;
|
|
665
667
|
transform-origin: center;
|
|
666
|
-
animation: ${
|
|
667
|
-
animation-delay: ${({$animationDuration:
|
|
668
|
+
animation: ${E3} ${({$animationDuration:e})=>e/3}ms ease-out forwards;
|
|
669
|
+
animation-delay: ${({$animationDuration:e})=>e}ms;
|
|
668
670
|
opacity: 0;
|
|
669
671
|
|
|
670
672
|
&:hover {
|
|
671
673
|
transform: scale(1.5);
|
|
672
674
|
filter: brightness(1.2);
|
|
673
675
|
}
|
|
674
|
-
`,
|
|
675
|
-
stroke: ${({theme:
|
|
676
|
+
`,xf=le.line`
|
|
677
|
+
stroke: ${({theme:e,$colorKey:n})=>e.colors[n]||n};
|
|
676
678
|
stroke-width: 1;
|
|
677
679
|
shape-rendering: crispEdges;
|
|
678
|
-
`,
|
|
679
|
-
fill: ${({theme:
|
|
680
|
-
font-size: ${({$fontSize:
|
|
681
|
-
font-family: ${({theme:
|
|
680
|
+
`,vf=le.text`
|
|
681
|
+
fill: ${({theme:e,$colorKey:n})=>e.colors[n]||n};
|
|
682
|
+
font-size: ${({$fontSize:e})=>e}px;
|
|
683
|
+
font-family: ${({theme:e})=>e.fonts.neutral};
|
|
682
684
|
user-select: none;
|
|
683
|
-
`,
|
|
684
|
-
stroke: ${({theme:
|
|
685
|
+
`,wf=le.line`
|
|
686
|
+
stroke: ${({theme:e,$colorKey:n})=>e.colors[n]||n};
|
|
685
687
|
stroke-width: 1;
|
|
686
688
|
stroke-dasharray: 2, 2;
|
|
687
689
|
opacity: 0.3;
|
|
688
|
-
`,
|
|
690
|
+
`,_f=le(L)`
|
|
689
691
|
display: flex;
|
|
690
692
|
flex-direction: row;
|
|
691
693
|
flex-wrap: wrap;
|
|
692
|
-
gap: ${({$spacing:
|
|
693
|
-
padding: ${({$spacing:
|
|
694
|
+
gap: ${({$spacing:e})=>e*1.5}px;
|
|
695
|
+
padding: ${({$spacing:e})=>e}px;
|
|
694
696
|
justify-content: center;
|
|
695
|
-
margin-bottom: ${({$position:
|
|
696
|
-
margin-top: ${({$position:
|
|
697
|
-
`,
|
|
697
|
+
margin-bottom: ${({$position:e})=>e==="top"?"10px":"0"};
|
|
698
|
+
margin-top: ${({$position:e})=>e==="bottom"?"10px":"0"};
|
|
699
|
+
`,Cf=le(L)`
|
|
698
700
|
display: flex;
|
|
699
701
|
align-items: center;
|
|
700
|
-
gap: ${({$spacing:
|
|
702
|
+
gap: ${({$spacing:e})=>e/2}px;
|
|
701
703
|
cursor: pointer;
|
|
702
704
|
transition: opacity 0.2s ease;
|
|
703
705
|
|
|
704
706
|
&:hover {
|
|
705
707
|
opacity: 0.7;
|
|
706
708
|
}
|
|
707
|
-
`,
|
|
709
|
+
`,Sf=le(L)`
|
|
708
710
|
width: 24px;
|
|
709
|
-
height: ${({$strokeWidth:
|
|
710
|
-
background-color: ${({theme:
|
|
711
|
+
height: ${({$strokeWidth:e})=>e}px;
|
|
712
|
+
background-color: ${({theme:e,$colorKey:n})=>e.colors[n]};
|
|
711
713
|
flex-shrink: 0;
|
|
712
|
-
${({$strokeDasharray:
|
|
713
|
-
|
|
714
|
-
font-size: ${({$fontSize:
|
|
715
|
-
color: ${({theme:
|
|
716
|
-
font-family: ${({theme:
|
|
714
|
+
${({$strokeDasharray:e})=>e?`background-image: repeating-linear-gradient(90deg, currentColor 0, currentColor ${e.split(",")[0]}px, transparent ${e.split(",")[0]}px, transparent ${e.split(",")[1]||e.split(",")[0]}px);`:""}
|
|
715
|
+
`,Ef=le.span`
|
|
716
|
+
font-size: ${({$fontSize:e})=>e}px;
|
|
717
|
+
color: ${({theme:e,$colorKey:n})=>e.colors[n]||n};
|
|
718
|
+
font-family: ${({theme:e})=>e.fonts.neutral};
|
|
717
719
|
white-space: nowrap;
|
|
718
|
-
`;
|
|
720
|
+
`;le(L)`
|
|
719
721
|
position: absolute;
|
|
720
722
|
background: white;
|
|
721
723
|
border: 1px solid #ddd;
|
|
@@ -724,7 +726,172 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
724
726
|
pointer-events: none;
|
|
725
727
|
z-index: 1000;
|
|
726
728
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
727
|
-
`;
|
|
729
|
+
`;le(L)`
|
|
728
730
|
font-size: 12px;
|
|
729
|
-
font-family: ${({theme:
|
|
730
|
-
`;const Ux=(t,r)=>{if(t.length===0)return"";if(r==="linear")return t.map((i,s)=>`${s===0?"M":"L"} ${i.x} ${i.y}`).join(" ");if(r==="smooth"){let i=`M ${t[0].x} ${t[0].y}`;for(let s=1;s<t.length;s++){const l=t[Math.max(0,s-2)],u=t[s-1],f=t[s],h=t[Math.min(t.length-1,s+1)],g=u.x+(f.x-l.x)/6,v=u.y+(f.y-l.y)/6,_=f.x-(h.x-u.x)/6,S=f.y-(h.y-u.y)/6;i+=` C ${g} ${v}, ${_} ${S}, ${f.x} ${f.y}`}return i}if(r==="step"){let i=`M ${t[0].x} ${t[0].y}`;for(let s=1;s<t.length;s++){const l=(t[s-1].x+t[s].x)/2;i+=` L ${l} ${t[s-1].y} L ${l} ${t[s].y} L ${t[s].x} ${t[s].y}`}return i}return""},qx=({series:t,width:r=600,minWidth:i=300,maxWidth:s,height:l=400,minHeight:u=300,maxHeight:f,chartMargin:h,size:g,variant:v,showGrid:_=!0,showXAxis:S=!0,showYAxis:E=!0,showLegend:x=!0,legendPosition:C="top",curve:F="linear",animationDuration:R=500,xAxisLabels:I,yDomain:T,testID:k="line-chart",...O})=>{const M=xe(),N=M.__hd__.lineChart,V=d.useRef(null),[Q,pe]=d.useState(()=>{if(typeof r=="number")return r;if(typeof r=="string"){const J=r.match(/^(\d+(?:\.\d+)?)px$/);if(J)return parseFloat(J[1])}return 600}),[Ce,Me]=d.useState(()=>{if(typeof l=="number")return l;if(typeof l=="string"){const J=l.match(/^(\d+(?:\.\d+)?)px$/);if(J)return parseFloat(J[1])}return 400}),D=v||N.defaultVariant,j=g||N.defaultSize;or(()=>{const J=V.current;if(!J)return;const ce=()=>{if(typeof r=="number")pe(r);else if(typeof r=="string"&&/^\d+(?:\.\d+)?px$/.test(r)){const fe=r.match(/^(\d+(?:\.\d+)?)px$/);fe&&pe(parseFloat(fe[1]))}else{const fe=J.clientWidth;fe>0&&pe(fe)}const ie=(()=>{if(typeof l=="number")return l;if(typeof l=="string"){const fe=l.match(/^(\d+(?:\.\d+)?)px$/);if(fe)return parseFloat(fe[1])}return 400})();Me(ie)};ce();let Z;return typeof ResizeObserver<"u"?(Z=new ResizeObserver(ce),Z.observe(J)):window.addEventListener("resize",ce),()=>{Z?Z.disconnect():window.removeEventListener("resize",ce)}},[r,l]),or(()=>{const J=V.current;if(!J)return;const ce=()=>{if(typeof r=="number")pe(r);else if(typeof r=="string"&&/^\d+(?:\.\d+)?px$/.test(r)){const fe=r.match(/^(\d+(?:\.\d+)?)px$/);fe&&pe(parseFloat(fe[1]))}else{const fe=J.clientWidth;fe>0&&pe(fe)}const ie=(()=>{if(typeof l=="number")return l;if(typeof l=="string"){const fe=l.match(/^(\d+(?:\.\d+)?)px$/);if(fe)return parseFloat(fe[1])}return 400})();Me(ie)};ce();let Z;return typeof ResizeObserver<"u"?(Z=new ResizeObserver(ce),Z.observe(J)):window.addEventListener("resize",ce),()=>{Z?Z.disconnect():window.removeEventListener("resize",ce)}},[r,l]);const{strokeWidth:G,dotRadius:le,axisColor:te,gridColor:oe,labelColor:ee,labelFontSize:ve,legendFontSize:je,legendSpacing:ke}=N.sizes[j],{defaultColors:Oe}=N.variants[D],[De,Ke]=d.useMemo(()=>{if(T)return T;let J=1/0,ce=-1/0;return t.forEach(Z=>{Z.data.forEach(ie=>{J=Math.min(J,ie.y),ce=Math.max(ce,ie.y)})}),J===1/0||ce===-1/0?[0,1]:[Math.floor(J-(ce-J)*.1),Math.ceil(ce+(ce-J)*.1)]},[t,T]),gt=d.useMemo(()=>{const ce=Array.from({length:5},(ot,re)=>(De+(Ke-De)*(re/4)).toFixed(1)),Z=M.fonts.neutral,ie=`${ve}px ${Z}`,fe=ve*.6;let we=null;typeof document<"u"&&(we=document.createElement("canvas").getContext("2d"),we&&(we.font=ie));const We=ot=>we?we.measureText(ot).width:ot.length*fe,Xe=ce.reduce((ot,re)=>Math.max(ot,We(re)),0),tt=Math.ceil(Xe+12),nt=(h==null?void 0:h.left)??50;return Math.max(nt,tt)},[De,Ke,h==null?void 0:h.left,ve,M.fonts.neutral]),Be={top:(h==null?void 0:h.top)??20,right:(h==null?void 0:h.right)??20,bottom:(h==null?void 0:h.bottom)??40,left:gt},it=Math.max(0,Q-Be.left-Be.right),de=Math.max(0,Ce-Be.top-Be.bottom),{processedSeries:Se,xLabels:Re,yTicks:ye}=d.useMemo(()=>{const J=new Set,ce=[];let Z=1/0,ie=-1/0;t.forEach(Pe=>{Pe.data.forEach(He=>{const Qe=String(He.x);J.has(Qe)||(J.add(Qe),ce.push(Qe)),Z=Math.min(Z,He.y),ie=Math.max(ie,He.y)})});const[fe,we]=T||[Math.floor(Z-(ie-Z)*.1),Math.ceil(ie+(ie-Z)*.1)],We=I||ce,Xe=it/(We.length-1||1),tt=new Map(We.map((Pe,He)=>[String(Pe),He*Xe])),nt=Pe=>{const He=(Pe-fe)/(we-fe||1);return de-He*de},ot=t.map((Pe,He)=>({...Pe,color:Pe.color||Oe[He%Oe.length],points:Pe.data.map(Qe=>({x:tt.get(String(Qe.x))||0,y:nt(Qe.y),originalX:Qe.x,originalY:Qe.y}))})),re=5,Ve=Array.from({length:re},(Pe,He)=>{const Qe=fe+(we-fe)*(He/(re-1));return{value:Qe,position:nt(Qe),label:Qe.toFixed(1)}});return{processedSeries:ot,xLabels:We,yTicks:Ve.reverse()}},[t,it,de,I,T,Oe]);return y.jsxs(Dx,{ref:V,"data-testid":`${k}-container`,$width:r,$minWidth:i,$maxWidth:s,$height:l,$minHeight:u,$maxHeight:f,...O,children:[x&&C==="top"&&y.jsx(Sf,{$position:C,$spacing:ke,"data-testid":`${k}-legend`,children:Se.map((J,ce)=>y.jsxs(Ef,{$spacing:ke,"data-testid":`${k}-legend-item-${ce}`,children:[y.jsx(Af,{$colorKey:J.color,$strokeWidth:J.strokeWidth||G,$strokeDasharray:J.strokeDasharray}),y.jsx($f,{$fontSize:je,$colorKey:ee,children:J.label})]},J.id))}),y.jsxs(Hx,{$width:Q,$height:Ce,viewBox:`0 0 ${Q} ${Ce}`,role:"img","aria-label":"Line chart","data-testid":`${k}-svg`,children:[y.jsx("title",{children:"Line chart"}),y.jsxs("g",{transform:`translate(${Be.left}, ${Be.top})`,children:[_&&y.jsxs(y.Fragment,{children:[ye.map((J,ce)=>y.jsx(Cf,{$colorKey:oe,x1:0,y1:J.position,x2:it,y2:J.position,"data-testid":`${k}-grid-h-${ce}`},`h-grid-${ce}`)),Re.map((J,ce)=>{const Z=ce*it/(Re.length-1||1);return y.jsx(Cf,{$colorKey:oe,x1:Z,y1:0,x2:Z,y2:de,"data-testid":`${k}-grid-v-${ce}`},`v-grid-${ce}`)})]}),Se.map((J,ce)=>{var fe,we;const Z=Ux(J.points,F),ie=J.showArea?`${Z} L ${((fe=J.points[J.points.length-1])==null?void 0:fe.x)||0} ${de} L ${((we=J.points[0])==null?void 0:we.x)||0} ${de} Z`:"";return y.jsxs("g",{children:[J.showArea&&y.jsx(Vx,{d:ie,$colorKey:J.color,$animationDuration:R,"data-testid":`${k}-area-${ce}`}),y.jsx(Zx,{d:Z,$colorKey:J.color,$strokeWidth:J.strokeWidth||G,$strokeDasharray:J.strokeDasharray,$animationDuration:R,"data-testid":`${k}-line-${ce}`}),J.showDots!==!1&&J.points.map((We,Xe)=>y.jsx(Nx,{cx:We.x,cy:We.y,r:le,$colorKey:J.color,$animationDuration:R,"data-testid":`${k}-dot-${ce}-${Xe}`},Xe))]},J.id)}),S&&y.jsxs(y.Fragment,{children:[y.jsx(wf,{$colorKey:te,x1:0,y1:de,x2:it,y2:de,"data-testid":`${k}-x-axis`}),Re.map((J,ce)=>{const Z=ce*it/(Re.length-1||1);return y.jsx(_f,{x:Z,y:de+20,$colorKey:ee,$fontSize:ve,textAnchor:"middle","data-testid":`${k}-x-label-${ce}`,children:J},ce)})]}),E&&y.jsxs(y.Fragment,{children:[y.jsx(wf,{$colorKey:te,x1:0,y1:0,x2:0,y2:de,"data-testid":`${k}-y-axis`}),ye.map((J,ce)=>y.jsx(_f,{x:-10,y:J.position,$colorKey:ee,$fontSize:ve,textAnchor:"end",dominantBaseline:"middle","data-testid":`${k}-y-label-${ce}`,children:J.label},ce))]})]})]}),x&&C==="bottom"&&y.jsx(Sf,{$position:C,$spacing:ke,"data-testid":`${k}-legend`,children:Se.map((J,ce)=>y.jsxs(Ef,{$spacing:ke,"data-testid":`${k}-legend-item-${ce}`,children:[y.jsx(Af,{$colorKey:J.color,$strokeWidth:J.strokeWidth||G,$strokeDasharray:J.strokeDasharray}),y.jsx($f,{$fontSize:je,$colorKey:ee,children:J.label})]},J.id))})]})};exports.AIC_Kits_StackingLayers=sn;exports.Accordion=K3;exports.Art=Ht;exports.Avatar=Fd;exports.BarChart=Ax;exports.Base=Ub;exports.Box=X;exports.Brand=xd;exports.Button=ba;exports.Carousel=N3;exports.Checkbox=J3;exports.DEFAULT_VIMEO_CONFIG=I3;exports.Divider=Zd;exports.Emoji=wd;exports.Grid=c0;exports.Header=Kd;exports.HeaderAuth=Nd;exports.HeaderLogo=Ud;exports.HeaderNav=qd;exports.HeaderSearch=Gd;exports.Icon=Ra;exports.Image=Id;exports.Input=Kb;exports.LineChart=qx;exports.List=Jb;exports.Loading=ja;exports.Modal=vx;exports.NormalizedBrowserName=Dd;exports.NormalizedDeviceType=Wd;exports.NormalizedOSName=Hd;exports.Pagination=cx;exports.PaginationItem=f0;exports.PieChart=jx;exports.Progress=gx;exports.RESPONSIVE_BREAKPOINTS=pi;exports.RESPONSIVE_BREAKPOINT_KEYS=ui;exports.SUPPORTED_RICH_TEXT_TAGS=Od;exports.Select=nx;exports.SelectDropdownItem=a0;exports.SelectInputDisplay=l0;exports.Skeleton=mi;exports.StyledBox=gd;exports.Svg=Md;exports.Tag=Q3;exports.Text=ht;exports.ThemeProvider=bv;exports.Tooltip=yx;exports.Touchable=Jt;exports.VIMEO_HOST=M3;exports.Vimeo=F3;exports.accordionTheme=If;exports.artTheme=Mf;exports.avatarTheme=Ff;exports.barChartTheme=zf;exports.baseTheme=jf;exports.buttonTheme=Bf;exports.carouselTheme=Pf;exports.checkboxTheme=Wf;exports.configKeys=hd;exports.css=at;exports.cssPropsKey=ud;exports.customBoxPropsConfig=cd;exports.customBoxPropsKey=Ta;exports.defaultColorPalette=So;exports.defaultGradientColorPalette=Rf;exports.defaultScale=$n;exports.defaultTheme=po;exports.dividerTheme=Df;exports.genBoxStyle=pd;exports.generateResponsiveStyles=Mr;exports.getBorderWidths=wa;exports.getComponentsTheme=nd;exports.getFontSizes=Eo;exports.getFontWeights=$a;exports.getFonts=Ea;exports.getGlobalTheme=uv;exports.getLineHeights=Aa;exports.getPaginationTheme=qf;exports.getRadii=_a;exports.getResponsiveValue=sd;exports.getSelectStyles=u0;exports.getShadows=Lf;exports.getSizeValue=wt;exports.getSizes=Ca;exports.getSpaces=Sa;exports.getTextColor=Ro;exports.getTheme=rd;exports.getThemeValue=fd;exports.headerTheme=Hf;exports.inferResponsiveValues=od;exports.inputTheme=Zf;exports.isBorderWidth=X8;exports.isColor=Tf;exports.isEmoji=md;exports.isFontSize=sv;exports.isFontWeight=av;exports.isGradientColor=Y8;exports.isIcon=vd;exports.isImage=yd;exports.isRadius=kf;exports.isResponsiveValue=Ao;exports.isSSR=yt;exports.isShadow=ov;exports.isSize=ir;exports.isSpace=Of;exports.isSvg=bd;exports.keyframes=Hn;exports.lineChartTheme=Vf;exports.listTheme=Nf;exports.loadingTheme=Uf;exports.mapStylePropToThemeValue=dd;exports.parseUserAgent=ya;exports.pieChartTheme=Gf;exports.populateResponsiveValue=ka;exports.progressTheme=Kf;exports.reduceResponsiveValue=ad;exports.selectTheme=Xf;exports.shouldForwardProp=id;exports.skeletonTheme=Yf;exports.styled=ae;exports.tagTheme=Qf;exports.tooltipTheme=Jf;exports.touchableTheme=ed;exports.transformResponsiveValue=Dt;exports.transposeObject=da;exports.useEventListener=ha;exports.useHover=$o;exports.useInteractionDetector=Ia;exports.useIsomorphicLayoutEffect=or;exports.useMediaQuery=db;exports.useResponsiveBreakpoint=Fr;exports.useSelectState=s0;exports.useTheme=xe;exports.useUserAgent=Rb;exports.useWindowDimensions=zd;exports.vimeoTheme=td;exports.zIndexRegistry=ar;
|
|
731
|
+
font-family: ${({theme:e})=>e.fonts.neutral};
|
|
732
|
+
`;const I3=(e,n)=>{if(e.length===0)return"";if(n==="linear")return e.map((i,s)=>`${s===0?"M":"L"} ${i.x} ${i.y}`).join(" ");if(n==="smooth"){let i=`M ${e[0].x} ${e[0].y}`;for(let s=1;s<e.length;s++){const a=e[Math.max(0,s-2)],l=e[s-1],d=e[s],f=e[Math.min(e.length-1,s+1)],h=l.x+(d.x-a.x)/6,p=l.y+(d.y-a.y)/6,b=d.x-(f.x-l.x)/6,v=d.y-(f.y-l.y)/6;i+=` C ${h} ${p}, ${b} ${v}, ${d.x} ${d.y}`}return i}if(n==="step"){let i=`M ${e[0].x} ${e[0].y}`;for(let s=1;s<e.length;s++){const a=(e[s-1].x+e[s].x)/2;i+=` L ${a} ${e[s-1].y} L ${a} ${e[s].y} L ${e[s].x} ${e[s].y}`}return i}return""},M3=({series:e,width:n=600,minWidth:i=300,maxWidth:s,height:a=400,minHeight:l=300,maxHeight:d,chartMargin:f,size:h,variant:p,showGrid:b=!0,showXAxis:v=!0,showYAxis:w=!0,showLegend:_=!0,legendPosition:C="top",curve:I="linear",animationDuration:k=500,xAxisLabels:R,yDomain:E,testID:$="line-chart",...A})=>{const M=ye(),z=M.__hd__.lineChart,j=c.useRef(null),[H,re]=c.useState(()=>{if(typeof n=="number")return n;if(typeof n=="string"){const te=n.match(/^(\d+(?:\.\d+)?)px$/);if(te)return parseFloat(te[1])}return 600}),[J,ce]=c.useState(()=>{if(typeof a=="number")return a;if(typeof a=="string"){const te=a.match(/^(\d+(?:\.\d+)?)px$/);if(te)return parseFloat(te[1])}return 400}),B=p||z.defaultVariant,W=h||z.defaultSize;yr(()=>{const te=j.current;if(!te)return;const fe=()=>{if(typeof n=="number")re(n);else if(typeof n=="string"&&/^\d+(?:\.\d+)?px$/.test(n)){const pe=n.match(/^(\d+(?:\.\d+)?)px$/);pe&&re(parseFloat(pe[1]))}else{const pe=te.clientWidth;pe>0&&re(pe)}const ae=(()=>{if(typeof a=="number")return a;if(typeof a=="string"){const pe=a.match(/^(\d+(?:\.\d+)?)px$/);if(pe)return parseFloat(pe[1])}return 400})();ce(ae)};fe();let q;return typeof ResizeObserver<"u"?(q=new ResizeObserver(fe),q.observe(te)):window.addEventListener("resize",fe),()=>{q?q.disconnect():window.removeEventListener("resize",fe)}},[n,a]),yr(()=>{const te=j.current;if(!te)return;const fe=()=>{if(typeof n=="number")re(n);else if(typeof n=="string"&&/^\d+(?:\.\d+)?px$/.test(n)){const pe=n.match(/^(\d+(?:\.\d+)?)px$/);pe&&re(parseFloat(pe[1]))}else{const pe=te.clientWidth;pe>0&&re(pe)}const ae=(()=>{if(typeof a=="number")return a;if(typeof a=="string"){const pe=a.match(/^(\d+(?:\.\d+)?)px$/);if(pe)return parseFloat(pe[1])}return 400})();ce(ae)};fe();let q;return typeof ResizeObserver<"u"?(q=new ResizeObserver(fe),q.observe(te)):window.addEventListener("resize",fe),()=>{q?q.disconnect():window.removeEventListener("resize",fe)}},[n,a]);const{strokeWidth:P,dotRadius:se,axisColor:G,gridColor:ne,labelColor:ue,labelFontSize:be,legendFontSize:xe,legendSpacing:ve}=z.sizes[W],{defaultColors:Ae}=z.variants[B],[de,Se]=c.useMemo(()=>{if(E)return E;let te=1/0,fe=-1/0;return e.forEach(q=>{q.data.forEach(ae=>{te=Math.min(te,ae.y),fe=Math.max(fe,ae.y)})}),te===1/0||fe===-1/0?[0,1]:[Math.floor(te-(fe-te)*.1),Math.ceil(fe+(fe-te)*.1)]},[e,E]),Ge=c.useMemo(()=>{const fe=Array.from({length:5},(rt,ie)=>(de+(Se-de)*(ie/4)).toFixed(1)),q=M.fonts.neutral,ae=`${be}px ${q}`,pe=be*.6;let Re=null;typeof document<"u"&&(Re=document.createElement("canvas").getContext("2d"),Re&&(Re.font=ae));const $e=rt=>Re?Re.measureText(rt).width:rt.length*pe,Ye=fe.reduce((rt,ie)=>Math.max(rt,$e(ie)),0),tt=Math.ceil(Ye+12),nt=(f==null?void 0:f.left)??50;return Math.max(nt,tt)},[de,Se,f==null?void 0:f.left,be,M.fonts.neutral]),De={top:(f==null?void 0:f.top)??20,right:(f==null?void 0:f.right)??20,bottom:(f==null?void 0:f.bottom)??40,left:Ge},ot=Math.max(0,H-De.left-De.right),me=Math.max(0,J-De.top-De.bottom),{processedSeries:Te,xLabels:ze,yTicks:_e}=c.useMemo(()=>{const te=new Set,fe=[];let q=1/0,ae=-1/0;e.forEach(Pe=>{Pe.data.forEach(Ve=>{const Ue=String(Ve.x);te.has(Ue)||(te.add(Ue),fe.push(Ue)),q=Math.min(q,Ve.y),ae=Math.max(ae,Ve.y)})});const[pe,Re]=E||[Math.floor(q-(ae-q)*.1),Math.ceil(ae+(ae-q)*.1)],$e=R||fe,Ye=ot/($e.length-1||1),tt=new Map($e.map((Pe,Ve)=>[String(Pe),Ve*Ye])),nt=Pe=>{const Ve=(Pe-pe)/(Re-pe||1);return me-Ve*me},rt=e.map((Pe,Ve)=>({...Pe,color:Pe.color||Ae[Ve%Ae.length],points:Pe.data.map(Ue=>({x:tt.get(String(Ue.x))||0,y:nt(Ue.y),originalX:Ue.x,originalY:Ue.y}))})),ie=5,Ne=Array.from({length:ie},(Pe,Ve)=>{const Ue=pe+(Re-pe)*(Ve/(ie-1));return{value:Ue,position:nt(Ue),label:Ue.toFixed(1)}});return{processedSeries:rt,xLabels:$e,yTicks:Ne.reverse()}},[e,ot,me,R,E,Ae]);return m.jsxs(k3,{ref:j,"data-testid":`${$}-container`,$width:n,$minWidth:i,$maxWidth:s,$height:a,$minHeight:l,$maxHeight:d,...A,children:[_&&C==="top"&&m.jsx(_f,{$position:C,$spacing:ve,"data-testid":`${$}-legend`,children:Te.map((te,fe)=>m.jsxs(Cf,{$spacing:ve,"data-testid":`${$}-legend-item-${fe}`,children:[m.jsx(Sf,{$colorKey:te.color,$strokeWidth:te.strokeWidth||P,$strokeDasharray:te.strokeDasharray}),m.jsx(Ef,{$fontSize:xe,$colorKey:ue,children:te.label})]},te.id))}),m.jsxs($3,{$width:H,$height:J,viewBox:`0 0 ${H} ${J}`,role:"img","aria-label":"Line chart","data-testid":`${$}-svg`,children:[m.jsx("title",{children:"Line chart"}),m.jsxs("g",{transform:`translate(${De.left}, ${De.top})`,children:[b&&m.jsxs(m.Fragment,{children:[_e.map((te,fe)=>m.jsx(wf,{$colorKey:ne,x1:0,y1:te.position,x2:ot,y2:te.position,"data-testid":`${$}-grid-h-${fe}`},`h-grid-${fe}`)),ze.map((te,fe)=>{const q=fe*ot/(ze.length-1||1);return m.jsx(wf,{$colorKey:ne,x1:q,y1:0,x2:q,y2:me,"data-testid":`${$}-grid-v-${fe}`},`v-grid-${fe}`)})]}),Te.map((te,fe)=>{var pe,Re;const q=I3(te.points,I),ae=te.showArea?`${q} L ${((pe=te.points[te.points.length-1])==null?void 0:pe.x)||0} ${me} L ${((Re=te.points[0])==null?void 0:Re.x)||0} ${me} Z`:"";return m.jsxs("g",{children:[te.showArea&&m.jsx(T3,{d:ae,$colorKey:te.color,$animationDuration:k,"data-testid":`${$}-area-${fe}`}),m.jsx(A3,{d:q,$colorKey:te.color,$strokeWidth:te.strokeWidth||P,$strokeDasharray:te.strokeDasharray,$animationDuration:k,"data-testid":`${$}-line-${fe}`}),te.showDots!==!1&&te.points.map(($e,Ye)=>m.jsx(R3,{cx:$e.x,cy:$e.y,r:se,$colorKey:te.color,$animationDuration:k,"data-testid":`${$}-dot-${fe}-${Ye}`},Ye))]},te.id)}),v&&m.jsxs(m.Fragment,{children:[m.jsx(xf,{$colorKey:G,x1:0,y1:me,x2:ot,y2:me,"data-testid":`${$}-x-axis`}),ze.map((te,fe)=>{const q=fe*ot/(ze.length-1||1);return m.jsx(vf,{x:q,y:me+20,$colorKey:ue,$fontSize:be,textAnchor:"middle","data-testid":`${$}-x-label-${fe}`,children:te},fe)})]}),w&&m.jsxs(m.Fragment,{children:[m.jsx(xf,{$colorKey:G,x1:0,y1:0,x2:0,y2:me,"data-testid":`${$}-y-axis`}),_e.map((te,fe)=>m.jsx(vf,{x:-10,y:te.position,$colorKey:ue,$fontSize:be,textAnchor:"end",dominantBaseline:"middle","data-testid":`${$}-y-label-${fe}`,children:te.label},fe))]})]})]}),_&&C==="bottom"&&m.jsx(_f,{$position:C,$spacing:ve,"data-testid":`${$}-legend`,children:Te.map((te,fe)=>m.jsxs(Cf,{$spacing:ve,"data-testid":`${$}-legend-item-${fe}`,children:[m.jsx(Sf,{$colorKey:te.color,$strokeWidth:te.strokeWidth||P,$strokeDasharray:te.strokeDasharray}),m.jsx(Ef,{$fontSize:xe,$colorKey:ue,children:te.label})]},te.id))})]})},F3="md",O3="24h",z3=1,L3=Array.from({length:24},(e,n)=>n.toString().padStart(2,"0")),j3=Array.from({length:12},(e,n)=>(n+1).toString().padStart(2,"0")),D3=["AM","PM"],P3=le.div`
|
|
733
|
+
display: flex;
|
|
734
|
+
align-items: center;
|
|
735
|
+
justify-content: center;
|
|
736
|
+
cursor: pointer;
|
|
737
|
+
transition: background-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
|
|
738
|
+
user-select: none;
|
|
739
|
+
|
|
740
|
+
${({theme:e,$size:n,$isSelected:i,$offset:s})=>{const a=e.__hd__.timepicker,l=a.sizes[n],d=e.__hd__.text,f=i?e.colors.primary:"transparent",h=i?e.colors.white:e.colors[a.colors.wheelText],p=i?1:Math.max(.3,1-Math.abs(s)*.25),b=i?d.fontWeights.semibold:d.fontWeights.regular;return`
|
|
741
|
+
height: ${l.wheelItemHeight}px;
|
|
742
|
+
font-size: ${d.fontSizes[l.wheelFontSize]}px;
|
|
743
|
+
font-weight: ${b};
|
|
744
|
+
color: ${h};
|
|
745
|
+
background-color: ${f};
|
|
746
|
+
opacity: ${p};
|
|
747
|
+
border-radius: ${e.radii.sm}px;
|
|
748
|
+
|
|
749
|
+
&:hover {
|
|
750
|
+
${i?"":`
|
|
751
|
+
background-color: ${e.colors.primary100};
|
|
752
|
+
opacity: 1;
|
|
753
|
+
`}
|
|
754
|
+
}
|
|
755
|
+
`}}
|
|
756
|
+
`,W3=le.div`
|
|
757
|
+
display: flex;
|
|
758
|
+
flex-direction: row;
|
|
759
|
+
align-items: center;
|
|
760
|
+
overflow: hidden;
|
|
761
|
+
|
|
762
|
+
${({theme:e,$isFocused:n,$isDisabled:i,$error:s})=>{const a=e.__hd__.input;let l=e.colors[a.states.default.borderColor],d=a.states.default.boxShadow;s?(l=e.colors[a.states.error.borderColor],d=a.states.error.boxShadow):i?l=e.colors[a.states.disabled.borderColor]:n&&(l=e.colors[a.states.focused.borderColor],d=a.states.focused.boxShadow);const f=e.spaces[a.padding.vertical],h=e.spaces[a.padding.horizontal],p=e.radii[a.borderRadius],b=e.borderWidths[a.borderWidth];return`
|
|
763
|
+
padding: ${f}px ${h}px;
|
|
764
|
+
border-radius: ${p}px;
|
|
765
|
+
border: ${b}px solid ${l};
|
|
766
|
+
box-shadow: ${d};
|
|
767
|
+
background-color: ${i?e.colors[a.states.disabled.backgroundColor]:e.colors[a.states.default.backgroundColor]};
|
|
768
|
+
opacity: ${i?.7:1};
|
|
769
|
+
transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
770
|
+
`}}
|
|
771
|
+
`,kf=le.input`
|
|
772
|
+
flex: 1;
|
|
773
|
+
min-width: 0;
|
|
774
|
+
border: none;
|
|
775
|
+
background: transparent;
|
|
776
|
+
outline: none;
|
|
777
|
+
text-align: center;
|
|
778
|
+
font-size: ${({theme:e})=>`${e.__hd__.text.fontSizes[e.__hd__.input.fontSize||"medium"]}px`};
|
|
779
|
+
color: ${({theme:e})=>e.colors[e.__hd__.input.textColor||"grey900"]};
|
|
780
|
+
|
|
781
|
+
&::placeholder {
|
|
782
|
+
color: ${({theme:e})=>e.colors[e.__hd__.input.placeholderColor||"grey500"]};
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
&:disabled {
|
|
786
|
+
color: ${({theme:e})=>e.colors[e.__hd__.input.disabledTextColor||"grey500"]};
|
|
787
|
+
cursor: not-allowed;
|
|
788
|
+
}
|
|
789
|
+
`,Vo=({items:e,selectedValue:n,onSelect:i,size:s})=>{const l=ye().__hd__.timepicker,d=l.sizes[s],f=l.wheel.visibleItems,h=d.wheelItemHeight,p=c.useRef(null),b=c.useRef(null),[v,w]=c.useState(!1),[_,C]=c.useState(0),[I,k]=c.useState(0),[R,E]=c.useState(0);c.useEffect(()=>{const J=e.indexOf(n);J!==-1&&(E(J),k(0))},[n,e]);const $=c.useCallback(()=>{const J=f*h,ce=R*h;return J-ce+I},[R,I,f,h]),A=c.useCallback(J=>{J.preventDefault(),w(!0),C(J.clientY),J.target.setPointerCapture(J.pointerId)},[]),M=c.useCallback(J=>{if(!v)return;const ce=J.clientY-_;k(ce)},[v,_]),z=c.useCallback(J=>{if(!v)return;w(!1),J.target.releasePointerCapture(J.pointerId);const ce=Math.round(-I/h);let B=R+ce;B=Math.max(0,Math.min(e.length-1,B)),E(B),k(0),i(e[B])},[v,I,h,R,e,i]);c.useEffect(()=>{const J=p.current;if(!J)return;const ce=B=>{B.preventDefault(),B.stopPropagation();const W=B.deltaY>0?1:-1;let P=R+W;P=Math.max(0,Math.min(e.length-1,P)),P!==R&&(E(P),i(e[P]))};return J.addEventListener("wheel",ce,{passive:!1}),()=>J.removeEventListener("wheel",ce)},[R,e,i]);const j=c.useCallback(J=>{J!==R&&(E(J),i(e[J]))},[R,e,i]),H=()=>e.map((J,ce)=>{const B=ce-R;return m.jsx(P3,{$size:s,$isSelected:ce===R,$offset:B,onClick:()=>j(ce),children:J},J)}),re=h*(2*f+1);return m.jsxs(L,{ref:p,position:"relative",overflow:"hidden",width:d.wheelWidth,height:re,onPointerDown:A,onPointerMove:M,onPointerUp:z,onPointerCancel:z,children:[m.jsx(L,{position:"absolute",left:0,right:0,top:f*h,height:h,bgColor:l.colors.wheelSelectedBg,r:"sm",zIndex:0,pointerEvents:"none"}),m.jsx(L,{ref:b,position:"absolute",top:0,left:0,right:0,zIndex:1,transform:`translateY(${$()}px)`,transition:`${v?"none":"transform 0.2s ease-out"}`,children:H()})]})};function B3(e){const n=[];for(let i=0;i<60;i+=e)n.push(i.toString().padStart(2,"0"));return n}function Oi(e){const n=e>=12?"PM":"AM";let i=e%12;return i===0&&(i=12),{hours:i,period:n}}function Qo(e,n){return n==="AM"?e===12?0:e:e===12?12:e+12}function Kt(e,n){if(!e)return"";const{hours:i,minutes:s}=e;if(n==="24h")return`${i.toString().padStart(2,"0")}:${s.toString().padStart(2,"0")}`;const{hours:a,period:l}=Oi(i);return`${a.toString().padStart(2,"0")}:${s.toString().padStart(2,"0")} ${l}`}function Ha(e,n){if(!e||e.trim()==="")return null;if(n==="24h"){const d=e.match(/^(\d{1,2}):(\d{2})$/);if(!d)return null;const f=parseInt(d[1],10),h=parseInt(d[2],10);return f<0||f>23||h<0||h>59?null:{hours:f,minutes:h}}const i=e.match(/^(\d{1,2}):(\d{2})\s*(AM|PM)$/i);if(!i)return null;const s=parseInt(i[1],10),a=parseInt(i[2],10),l=i[3].toUpperCase();return s<1||s>12||a<0||a>59?null:{hours:Qo(s,l),minutes:a}}function H3(e,n){return Math.round(e/n)*n}function $f(e,n){return Kt(e,n)}function Ml(e,n){return!e||!n?e===n:e.hours===n.hours&&e.minutes===n.minutes}function Af(e){return e.hours*60+e.minutes}function Z3(e,n){if(!e||!n)return null;const i=Af(e),s=Af(n);return i<s?-1:i>s?1:0}function V3(e,n){if(!n)return 0;const i=e.findIndex(s=>Ml(s,n));return i>=0?i:0}const zi=({value:e,onChange:n,format:i,minuteStep:s,size:a,slots:l,markerValue:d,markerLabel:f})=>{const p=ye().__hd__.timepicker,b=p.sizes[a],v=c.useMemo(()=>!l||l.length===0?null:l.map(j=>$f(j,i)),[l,i]),w=c.useCallback(()=>{if(!l||l.length===0)return"";const j=V3(l,e);return $f(l[j],i)},[l,e,i]),_=c.useCallback(j=>{if(!l||!v)return;const H=v.indexOf(j);H>=0&&H<l.length&&n(l[H])},[l,v,n]),C=i==="24h"?L3:j3,I=c.useMemo(()=>B3(s),[s]),k=c.useCallback(()=>{if(!e)return C[0];if(i==="24h")return e.hours.toString().padStart(2,"0");const{hours:j}=Oi(e.hours);return j.toString().padStart(2,"0")},[e,i,C]),R=c.useCallback(()=>e?e.minutes.toString().padStart(2,"0"):I[0],[e,I]),E=c.useCallback(()=>{if(!e)return"AM";const{period:j}=Oi(e.hours);return j},[e]),$=c.useCallback(j=>{const H=parseInt(j,10),re=(e==null?void 0:e.minutes)??0;if(i==="24h")n({hours:H,minutes:re});else{const J=e?Oi(e.hours).period:"AM",ce=Qo(H,J);n({hours:ce,minutes:re})}},[e,i,n]),A=c.useCallback(j=>{const H=parseInt(j,10),re=(e==null?void 0:e.hours)??0;n({hours:re,minutes:H})},[e,n]),M=c.useCallback(j=>{if(!e){const J=Qo(12,j);n({hours:J,minutes:0});return}const{hours:H}=Oi(e.hours),re=Qo(H,j);n({hours:re,minutes:e.minutes})},[e,n]),z=()=>!d||!f?null:m.jsxs(L,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"center",gap:"2xs",mb:"xs",py:"2xs",px:"xs",bgColor:"primary100",r:"sm",children:[m.jsx(Qe,{fontSize:"xs",color:"grey600",children:f}),m.jsx(Qe,{fontSize:"xs",fontWeight:"semibold",color:"primary",children:Kt(d,i)})]});return v&&v.length>0?m.jsxs(L,{display:"flex",flexDirection:"column",alignItems:"center",children:[z(),m.jsx(L,{display:"flex",flexDirection:"row",alignItems:"center",children:m.jsx(Vo,{items:v,selectedValue:w(),onSelect:_,size:a})})]}):m.jsxs(L,{display:"flex",flexDirection:"column",alignItems:"center",children:[z(),m.jsxs(L,{display:"flex",flexDirection:"row",alignItems:"center",children:[m.jsx(Vo,{items:C,selectedValue:k(),onSelect:$,size:a}),m.jsx(L,{display:"flex",alignItems:"center",justifyContent:"center",px:"2xs",children:m.jsx(Qe,{fontSize:b.wheelFontSize,fontWeight:"semibold",color:p.colors.separatorColor,children:":"})}),m.jsx(Vo,{items:I,selectedValue:R(),onSelect:A,size:a}),i==="12h"&&m.jsxs(m.Fragment,{children:[m.jsx(L,{display:"flex",alignItems:"center",justifyContent:"center",px:"2xs"}),m.jsx(Vo,{items:D3,selectedValue:E(),onSelect:M,size:a})]})]})]})};function ol(e){return new Date(e.getFullYear(),e.getMonth(),1)}function N3(e){return new Date(e.getFullYear(),e.getMonth()+1,0)}function ss(e,n){const i=new Date(e);return i.setMonth(i.getMonth()+n),i}function Fl(e,n){const i=new Date(e);return i.setDate(i.getDate()+n),i}function xr(e,n){return!e||!n?!1:e.getFullYear()===n.getFullYear()&&e.getMonth()===n.getMonth()&&e.getDate()===n.getDate()}function U3(e,n){return e.getFullYear()===n.getFullYear()&&e.getMonth()===n.getMonth()}function G3(e){return xr(e,new Date)}function C1(e,n){const i=new Date(e.getFullYear(),e.getMonth(),e.getDate()),s=new Date(n.getFullYear(),n.getMonth(),n.getDate());return i<s}function S1(e,n){const i=new Date(e.getFullYear(),e.getMonth(),e.getDate()),s=new Date(n.getFullYear(),n.getMonth(),n.getDate());return i>s}function q3(e,n){const i=ol(e),a=(i.getDay()-n+7)%7;return Fl(i,-a)}function K3(e,n){const i=q3(e,n),s=[];for(let a=0;a<42;a++)s.push(Fl(i,a));return s}function Y3(e,n,i="short"){const s=new Intl.DateTimeFormat(e,{weekday:i}),a=[],l=new Date(1970,0,4);for(let d=0;d<7;d++){const f=(n+d)%7,h=Fl(l,f);a.push(s.format(h).toUpperCase())}return a}function E1(e,n){var i,s,a;return n?!!(n.minDate&&C1(e,n.minDate)||n.maxDate&&S1(e,n.maxDate)||(i=n.disabledDaysOfWeek)!=null&&i.includes(e.getDay())||(s=n.disabledDates)!=null&&s.some(l=>xr(l,e))||(a=n.isDateDisabled)!=null&&a.call(n,e)):!1}function Tf(e,n,i){if(!i)return!1;if(n==="prev"&&i.minDate){const s=ol(e),a=ss(s,-1),l=N3(a);return C1(l,i.minDate)}if(n==="next"&&i.maxDate){const s=ol(e),a=ss(s,1);return S1(a,i.maxDate)}return!1}function Rf(e,n){return new Intl.DateTimeFormat(n,{month:"long"}).format(e)}function No(e){return e.getFullYear().toString()}function X3(e){const n=new Intl.DateTimeFormat(e,{month:"short"}),i=[];for(let s=0;s<12;s++){const a=new Date(2024,s,1);i.push(n.format(a))}return i}function Jo(e){const n=Math.floor(e/12)*12,i=[];for(let s=0;s<12;s++)i.push(n+s);return i}function Uo(e,n){const i=new Date(e);return i.setFullYear(i.getFullYear()+n),i}function Q3(e,n){return e?new Intl.DateTimeFormat(n,{month:"short",day:"numeric",year:"numeric"}).format(e):""}function J3(e,n="24h"){if(!e)return"";const{hours:i,minutes:s}=e;if(n==="24h")return`${i.toString().padStart(2,"0")}:${s.toString().padStart(2,"0")}`;const a=i>=12?"PM":"AM";return`${i%12||12}:${s.toString().padStart(2,"0")} ${a}`}function cn(e,n,i,s,a="24h"){if(!e)return"";const l=e.getDate().toString().padStart(2,"0"),d=(e.getMonth()+1).toString().padStart(2,"0"),f=e.getFullYear(),h=`${l}/${d}/${f}`;if(s&&i){const p=J3(i,a);return`${h} ${p}`}return h}function If(e,n){if(!e||e.trim()==="")return null;const i=e.trim(),s=i.match(/^(.+?)\s+(\d{1,2}):(\d{2})$/);if(s){const[,d,f,h]=s,p=parseInt(f,10),b=parseInt(h,10);if(p>=0&&p<24&&b>=0&&b<60){const v=Za(d);if(v)return{date:v,time:{hours:p,minutes:b}}}}const a=i.match(/^(.+?)\s+(\d{1,2}):(\d{2})\s*(AM|PM|am|pm)$/i);if(a){const[,d,f,h,p]=a;let b=parseInt(f,10);const v=parseInt(h,10),w=p.toUpperCase()==="PM";if(w&&b!==12?b+=12:!w&&b===12&&(b=0),b>=0&&b<24&&v>=0&&v<60){const _=Za(d);if(_)return{date:_,time:{hours:b,minutes:v}}}}const l=Za(i);return l?{date:l,time:null}:null}function Za(e,n){const i=e.trim();if(/^\d{4}-\d{1,2}-\d{1,2}$/.test(i)){const[a,l,d]=i.split("-").map(Number),f=new Date(a,l-1,d);if(Mf(f,a,l-1,d))return f}const s=i.match(/^(\d{1,2})[/\-.](\d{1,2})[/\-.](\d{2,4})$/);if(s){const[,a,l,d]=s,f=parseInt(a,10),h=parseInt(l,10)-1;let p=parseInt(d,10);p<100&&(p+=p<50?2e3:1900);const b=new Date(p,h,f);if(Mf(b,p,h,f))return b}return null}function Mf(e,n,i,s){return e instanceof Date&&!isNaN(e.getTime())&&e.getFullYear()===n&&e.getMonth()===i&&e.getDate()===s}function e4(e){try{const n=new Date,a=new Intl.DateTimeFormat("en-US",{timeZone:e,timeZoneName:"shortOffset"}).formatToParts(n).find(l=>l.type==="timeZoneName");return(a==null?void 0:a.value)??""}catch{return""}}function t4(e){const n=e.split("/");if(n.length===1)return n[0].replace(/_/g," ");const i=n[0],s=n.slice(1).join(" - ").replace(/_/g," ");return`${i} - ${s}`}function n4(e){try{const n=new Date,i=new Date(n.toLocaleString("en-US",{timeZone:"UTC"}));return(new Date(n.toLocaleString("en-US",{timeZone:e})).getTime()-i.getTime())/6e4}catch{return 0}}function r4(){var e;try{const n=(e=Intl.supportedValuesOf)==null?void 0:e.call(Intl,"timeZone");return n?n.map(i=>{const s=e4(i),a=n4(i);return{value:i,label:`${t4(i)} (${s})`,offset:s,abbreviation:s,_offsetMinutes:a}}).sort((i,s)=>i._offsetMinutes-s._offsetMinutes).map(({_offsetMinutes:i,...s})=>s):[]}catch{return[]}}function i4(e,n,i,s){if(!i||!s||i===s)return{date:e,time:n};try{const a=e.getFullYear(),l=e.getMonth(),d=e.getDate(),f=new Date(Date.UTC(a,l,d,n.hours,n.minutes,0)),h=new Intl.DateTimeFormat("en-CA",{timeZone:i,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",hour12:!1}),p=(H,re)=>{var J;return parseInt(((J=H.find(ce=>ce.type===re))==null?void 0:J.value)??"0",10)},b=h.formatToParts(f),v=p(b,"hour"),w=p(b,"minute"),_=n.hours*60+n.minutes,C=v*60+w,I=_-C,k=new Date(f.getTime()+I*60*1e3),E=new Intl.DateTimeFormat("en-CA",{timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",hour12:!1}).formatToParts(k),$=p(E,"year"),A=p(E,"month")-1,M=p(E,"day"),z=p(E,"hour"),j=p(E,"minute");return{date:new Date($,A,M),time:{hours:z,minutes:j}}}catch{return{date:e,time:n}}}function o4(e,n){if(!e.date||!e.time||!n)return e;const i=i4(e.date,e.time,e.timezone,n);return{date:i.date,time:i.time,timezone:n}}function s4(e,n){return n?e.map(i=>o4(i,n)):e}function a4(e){const n=new Map;for(const i of e)if(i.date){const s=`${i.date.getFullYear()}-${i.date.getMonth()}-${i.date.getDate()}`;n.has(s)||n.set(s,i.date)}return Array.from(n.values())}function sl(e,n){if(!n)return[];const i=[];for(const s of e)s.date&&s.time&&xr(s.date,n)&&i.push(s.time);return i.sort((s,a)=>{const l=s.hours*60+s.minutes,d=a.hours*60+a.minutes;return l-d})}function k1(e,n){return e.some(i=>i.date&&xr(i.date,n))}function l4(e){const n=new Map;for(const i of e)if(i.time){const s=`${i.time.hours}:${i.time.minutes}`;n.has(s)||n.set(s,i.time)}return Array.from(n.values()).sort((i,s)=>{const a=i.hours*60+i.minutes,l=s.hours*60+s.minutes;return a-l})}function $1(e,n){return{...n,isDateDisabled:i=>{var s;return(s=n==null?void 0:n.isDateDisabled)!=null&&s.call(n,i)?!0:!k1(e,i)}}}function Ff(e){if(!e.date)return 0;const n=e.date,i=e.time??{hours:0,minutes:0};return new Date(n.getFullYear(),n.getMonth(),n.getDate(),i.hours,i.minutes).getTime()}function c4(e,n){if(!(e!=null&&e.date)||!(n!=null&&n.date))return null;const i=Ff(e),s=Ff(n);return i<s?-1:i>s?1:0}let Va=null;const u4=()=>(Va||(Va=r4()),Va);u4();const d4="en-US",f4=1,h4=le.div`
|
|
790
|
+
display: flex;
|
|
791
|
+
align-items: center;
|
|
792
|
+
justify-content: center;
|
|
793
|
+
user-select: none;
|
|
794
|
+
transition: background-color 0.15s ease, color 0.15s ease;
|
|
795
|
+
|
|
796
|
+
${({theme:e,$isSelected:n,$isToday:i,$isDisabled:s,$isOutsideMonth:a,$isRangeMarker:l,$size:d,$fontSize:f})=>{const h=e.__hd__.text;let p="transparent",b=e.colors.grey900,v=h.fontWeights.medium,w="none";s||a?b=e.colors.grey400:n?(p=e.colors.primary,b=e.colors.white,v=h.fontWeights.semibold):l?(p=e.colors.primary100,b=e.colors.primary,v=h.fontWeights.semibold):i&&(w=`1px solid ${e.colors.primary}`);const _=s||a?"default":"pointer",C=s?.5:1;return`
|
|
797
|
+
width: ${d}px;
|
|
798
|
+
height: ${d}px;
|
|
799
|
+
border-radius: ${e.radii.sm}px;
|
|
800
|
+
background-color: ${p};
|
|
801
|
+
color: ${b};
|
|
802
|
+
cursor: ${_};
|
|
803
|
+
opacity: ${C};
|
|
804
|
+
font-weight: ${v};
|
|
805
|
+
font-size: ${f}px;
|
|
806
|
+
border: ${w};
|
|
807
|
+
|
|
808
|
+
&:hover {
|
|
809
|
+
${!n&&!s&&!a?`
|
|
810
|
+
background-color: ${e.colors.primary100};
|
|
811
|
+
`:""}
|
|
812
|
+
}
|
|
813
|
+
`}}
|
|
814
|
+
`,A1=le.div`
|
|
815
|
+
display: flex;
|
|
816
|
+
align-items: center;
|
|
817
|
+
justify-content: center;
|
|
818
|
+
width: 100%;
|
|
819
|
+
user-select: none;
|
|
820
|
+
transition: background-color 0.15s ease, color 0.15s ease;
|
|
821
|
+
|
|
822
|
+
${({theme:e,$isSelected:n,$isDisabled:i,$isCurrent:s,$height:a,$fontSize:l})=>{const d=e.__hd__.text;let f="transparent",h=e.colors.grey900,p=d.fontWeights.medium,b="none";i?h=e.colors.grey400:n?(f=e.colors.primary,h=e.colors.white,p=d.fontWeights.semibold):s&&(b=`1px solid ${e.colors.primary}`);const v=i?"default":"pointer",w=i?.4:1;return`
|
|
823
|
+
height: ${a}px;
|
|
824
|
+
border-radius: ${e.radii.sm}px;
|
|
825
|
+
background-color: ${f};
|
|
826
|
+
color: ${h};
|
|
827
|
+
cursor: ${v};
|
|
828
|
+
opacity: ${w};
|
|
829
|
+
font-weight: ${p};
|
|
830
|
+
font-size: ${l}px;
|
|
831
|
+
border: ${b};
|
|
832
|
+
|
|
833
|
+
&:hover {
|
|
834
|
+
${!n&&!i?`
|
|
835
|
+
background-color: ${e.colors.primary100};
|
|
836
|
+
`:""}
|
|
837
|
+
}
|
|
838
|
+
`}}
|
|
839
|
+
`,p4=le.div`
|
|
840
|
+
display: flex;
|
|
841
|
+
flex-direction: row;
|
|
842
|
+
align-items: center;
|
|
843
|
+
overflow: hidden;
|
|
844
|
+
|
|
845
|
+
${({theme:e,$isFocused:n,$isDisabled:i,$error:s})=>{const a=e.__hd__.input;let l=e.colors[a.states.default.borderColor],d=a.states.default.boxShadow;s?(l=e.colors[a.states.error.borderColor],d=a.states.error.boxShadow):i?l=e.colors[a.states.disabled.borderColor]:n&&(l=e.colors[a.states.focused.borderColor],d=a.states.focused.boxShadow);const f=e.spaces[a.padding.vertical],h=e.spaces[a.padding.horizontal],p=e.radii[a.borderRadius],b=e.borderWidths[a.borderWidth];return`
|
|
846
|
+
padding: ${f}px ${h}px;
|
|
847
|
+
border-radius: ${p}px;
|
|
848
|
+
border: ${b}px solid ${l};
|
|
849
|
+
box-shadow: ${d};
|
|
850
|
+
background-color: ${i?e.colors[a.states.disabled.backgroundColor]:e.colors[a.states.default.backgroundColor]};
|
|
851
|
+
opacity: ${i?.7:1};
|
|
852
|
+
transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
853
|
+
`}}
|
|
854
|
+
`,Of=le.input`
|
|
855
|
+
flex: 1;
|
|
856
|
+
min-width: 0;
|
|
857
|
+
border: none;
|
|
858
|
+
background: transparent;
|
|
859
|
+
outline: none;
|
|
860
|
+
text-align: center;
|
|
861
|
+
font-size: ${({theme:e})=>`${e.__hd__.text.fontSizes[e.__hd__.input.fontSize||"medium"]}px`};
|
|
862
|
+
color: ${({theme:e})=>e.colors[e.__hd__.input.textColor||"grey900"]};
|
|
863
|
+
|
|
864
|
+
&::placeholder {
|
|
865
|
+
color: ${({theme:e})=>e.colors[e.__hd__.input.placeholderColor||"grey500"]};
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
&:disabled {
|
|
869
|
+
color: ${({theme:e})=>e.colors[e.__hd__.input.disabledTextColor||"grey500"]};
|
|
870
|
+
cursor: not-allowed;
|
|
871
|
+
}
|
|
872
|
+
`,g4=({date:e,currentMonth:n,selectedDate:i,rangeMarkerDate:s,disabled:a,dateConfig:l,sizeConfig:d,locale:f,onDateClick:h})=>{const p=ye(),b=!U3(e,n),v=xr(e,i),w=!v&&xr(e,s??null),_=G3(e),C=E1(e,l)||a,I=!C&&!b,k=()=>{I&&h(e)};return m.jsx(h4,{$isSelected:v,$isToday:_&&!v&&!w,$isDisabled:C||!!a,$isOutsideMonth:b,$isRangeMarker:w,$size:p.spaces[d.dateCellSize],$fontSize:p.__hd__.text.fontSizes[d.dateFontSize],onClick:k,role:"gridcell","aria-label":new Intl.DateTimeFormat(f,{weekday:"long",year:"numeric",month:"long",day:"numeric"}).format(e),"aria-selected":v,"aria-disabled":!I,children:e.getDate()})},m4=({currentMonth:e,selectedDate:n,onDateClick:i,dateConfig:s,weekStartDay:a,locale:l,size:d,disabled:f,rangeMarkerDate:h})=>{const p=Y3(l,a,"short"),b=K3(e,a),v=ye(),w=v.__hd__.datepicker,_=w.sizes[d];return m.jsxs(m.Fragment,{children:[m.jsx(L,{display:"grid",gap:_.cellGap,mb:"xs",style:{gridTemplateColumns:"repeat(7, 1fr)"},children:p.map((C,I)=>m.jsx(L,{display:"flex",alignItems:"center",justifyContent:"center",height:v.spaces[_.dateCellSize],children:m.jsx(Qe,{fontSize:_.weekdayFontSize,fontWeight:"medium",color:w.colors.weekdayText,children:C})},`weekday-${I}`))}),m.jsx(L,{display:"grid",gap:_.cellGap,style:{gridTemplateColumns:"repeat(7, 1fr)"},children:b.map((C,I)=>m.jsx(g4,{date:C,currentMonth:e,selectedDate:n,rangeMarkerDate:h,disabled:f,dateConfig:s,sizeConfig:_,locale:l,onDateClick:i},`date-${I}`))})]})},y4=le.div`
|
|
873
|
+
&:hover > * > * {
|
|
874
|
+
color: ${({theme:e})=>e.colors.primary} !important;
|
|
875
|
+
}
|
|
876
|
+
`,Na=({onClick:e,text:n,ariaLabel:i,fontSize:s,fontWeight:a,color:l})=>m.jsx(y4,{children:m.jsx(kt,{onClick:e,cursor:"pointer","aria-label":i,children:m.jsx(Qe,{fontSize:s,fontWeight:a,color:l,children:n})})}),b4=Cn`
|
|
877
|
+
from {
|
|
878
|
+
transform: translateX(-100%);
|
|
879
|
+
opacity: 0;
|
|
880
|
+
}
|
|
881
|
+
to {
|
|
882
|
+
transform: translateX(0);
|
|
883
|
+
opacity: 1;
|
|
884
|
+
}
|
|
885
|
+
`,x4=Cn`
|
|
886
|
+
from {
|
|
887
|
+
transform: translateX(100%);
|
|
888
|
+
opacity: 0;
|
|
889
|
+
}
|
|
890
|
+
to {
|
|
891
|
+
transform: translateX(0);
|
|
892
|
+
opacity: 1;
|
|
893
|
+
}
|
|
894
|
+
`,v4=le(L)`
|
|
895
|
+
${({$direction:e,$duration:n,$easing:i})=>e==="prev"?lt`animation: ${b4} ${n}ms ${i};`:e==="next"?lt`animation: ${x4} ${n}ms ${i};`:""}
|
|
896
|
+
will-change: transform, opacity;
|
|
897
|
+
`,w4=({currentMonth:e,onPrevMonth:n,onNextMonth:i,locale:s,size:a,disabled:l,dateConfig:d,viewMode:f,onMonthClick:h,onYearClick:p})=>{const b=ye(),v=b.__hd__.datepicker,w=v.sizes[a],[_,C]=c.useState(null),[I,k]=c.useState(0),R=()=>{C("prev"),k(z=>z+1),n()},E=()=>{C("next"),k(z=>z+1),i()},$=l||(f==="days"?Tf(e,"prev",d):f==="months"?d!=null&&d.minDate?e.getFullYear()-1<d.minDate.getFullYear():!1:f==="years"&&d!=null&&d.minDate?Jo(e.getFullYear())[0]-12<d.minDate.getFullYear():!1),A=l||(f==="days"?Tf(e,"next",d):f==="months"?d!=null&&d.maxDate?e.getFullYear()+1>d.maxDate.getFullYear():!1:f==="years"&&d!=null&&d.maxDate?Jo(e.getFullYear())[11]+1>d.maxDate.getFullYear():!1),M=()=>{if(f==="days")return m.jsxs(L,{display:"flex",flexDirection:"row",alignItems:"center",gap:"xs",children:[m.jsx(Na,{onClick:h,text:Rf(e,s),ariaLabel:`Select month, currently ${Rf(e,s)}`,fontSize:w.headerFontSize,fontWeight:w.headerFontWeight,color:"grey900"}),m.jsx(Na,{onClick:p,text:No(e),ariaLabel:`Select year, currently ${No(e)}`,fontSize:w.headerFontSize,fontWeight:w.headerFontWeight,color:"grey900"})]});if(f==="months")return m.jsx(Na,{onClick:p,text:No(e),ariaLabel:`Select year, currently ${No(e)}`,fontSize:w.headerFontSize,fontWeight:w.headerFontWeight,color:"grey900"});if(f==="years"){const z=Jo(e.getFullYear());return m.jsxs(Qe,{as:"span",fontSize:w.headerFontSize,fontWeight:w.headerFontWeight,color:v.colors.headerText,children:[z[0]," - ",z[11]]})}return null};return m.jsxs(L,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",height:b.spaces[w.headerHeight],children:[m.jsx(Yr,{onClick:$?void 0:R,variant:"text",size:a,color:"grey900",icon:us,disabled:$,"aria-label":f==="days"?"Previous month":f==="months"?"Previous year":"Previous decade"}),m.jsx(v4,{$direction:_,$duration:v.animation.duration,$easing:v.animation.easing,display:"flex",flexDirection:"row",alignItems:"center",gap:"xs",onAnimationEnd:()=>C(null),children:M()},I),m.jsx(Yr,{onClick:A?void 0:E,variant:"text",size:a,color:"grey900",icon:Qr,disabled:A,"aria-label":f==="days"?"Next month":f==="months"?"Next year":"Next decade"})]})},_4=({currentYear:e,selectedMonth:n,selectedYear:i,onSelect:s,locale:a,size:l,dateConfig:d,disabled:f})=>{const h=X3(a),p=k=>{if(f)return!0;if(!d)return!1;const R=new Date(e,k,1),E=new Date(e,k+1,0);return!!(d.minDate&&E<d.minDate||d.maxDate&&R>d.maxDate)},b=k=>n===k&&i===e,v=k=>{const R=new Date;return e===R.getFullYear()&&k===R.getMonth()},w=ye(),_=w.__hd__.datepicker,C=w.__hd__.text,I=_.sizes[l];return m.jsx(L,{display:"grid",gap:I.cellGap,width:I.viewWidth,minHeight:I.viewHeight,alignItems:"center",justifyContent:"center",style:{gridTemplateColumns:"repeat(4, 1fr)"},children:h.map((k,R)=>{const E=b(R),$=p(R),A=v(R)&&!E;return m.jsx(A1,{$isSelected:E,$isDisabled:$,$isCurrent:A,$height:w.spaces[I.dateCellSize],$fontSize:C.fontSizes[I.dateFontSize],onClick:$?void 0:()=>s(R),role:"option","aria-label":`Select ${k}`,"aria-selected":E,"aria-disabled":$,children:k},R)})})},C4=({currentYear:e,selectedYear:n,onSelect:i,size:s,dateConfig:a,disabled:l})=>{const d=ye(),f=d.__hd__.datepicker,h=d.__hd__.text,p=f.sizes[s],b=Jo(e),v=new Date().getFullYear(),w=_=>{if(l)return!0;if(!a)return!1;const C=new Date(_,0,1),I=new Date(_,11,31);return!!(a.minDate&&I<a.minDate||a.maxDate&&C>a.maxDate)};return m.jsx(L,{display:"grid",gap:p.cellGap,width:p.viewWidth,minHeight:p.viewHeight,alignItems:"center",justifyContent:"center",style:{gridTemplateColumns:"repeat(4, 1fr)"},children:b.map(_=>{const C=n===_,I=w(_),k=_===v&&!C;return m.jsx(A1,{$isSelected:C,$isDisabled:I,$isCurrent:k,$height:d.spaces[p.dateCellSize],$fontSize:h.fontSizes[p.dateFontSize],onClick:I?void 0:()=>i(_),role:"option","aria-label":`Select ${_}`,"aria-selected":C,"aria-disabled":I,children:_},_)})})},zf=({currentMonth:e,selectedDate:n,onDateSelect:i,onMonthChange:s,dateConfig:a,weekStartDay:l,locale:d,size:f,disabled:h,rangeMarkerDate:p})=>{const[b,v]=c.useState("days"),w=c.useCallback(()=>{b==="days"?s(ss(e,-1)):b==="months"?s(Uo(e,-1)):b==="years"&&s(Uo(e,-12))},[e,s,b]),_=c.useCallback(()=>{b==="days"?s(ss(e,1)):b==="months"?s(Uo(e,1)):b==="years"&&s(Uo(e,12))},[e,s,b]),C=c.useCallback(()=>{v("months")},[]),I=c.useCallback(()=>{v("years")},[]),k=c.useCallback(H=>{const re=new Date(e.getFullYear(),H,1);s(re),v("days")},[e,s]),R=c.useCallback(H=>{const re=new Date(H,e.getMonth(),1);s(re),v("months")},[e,s]),E=c.useCallback(()=>{const H=new Date;s(H),i(H)},[s,i]),$=c.useMemo(()=>h||E1(new Date,a),[a,h]),A=()=>b==="months"?m.jsx(_4,{currentYear:e.getFullYear(),selectedMonth:(n==null?void 0:n.getMonth())??null,selectedYear:(n==null?void 0:n.getFullYear())??null,onSelect:k,locale:d,size:f,dateConfig:a,disabled:h}):b==="years"?m.jsx(C4,{currentYear:e.getFullYear(),selectedYear:(n==null?void 0:n.getFullYear())??null,onSelect:R,size:f,dateConfig:a,disabled:h}):m.jsxs(L,{width:j.viewWidth,minHeight:j.viewHeight,children:[m.jsx(m4,{currentMonth:e,selectedDate:n,onDateClick:i,dateConfig:a,weekStartDay:l,locale:d,size:f,disabled:h,rangeMarkerDate:p}),m.jsx(L,{display:"flex",justifyContent:"center",pt:"md",bt:"thin",borderTopColor:"grey200",children:m.jsx(Yr,{variant:"text",color:"primary",size:f,text:"Today",disabled:$,onClick:E})})]}),z=ye().__hd__.datepicker,j=z.sizes[f];return m.jsxs(L,{display:"flex",flexDirection:"column",gap:"md",minWidth:z.calendar.panelMinWidth,children:[m.jsx(w4,{currentMonth:e,onPrevMonth:w,onNextMonth:_,locale:d,size:f,disabled:h,dateConfig:a,viewMode:b,onMonthClick:C,onYearClick:I}),A()]})},al=c.forwardRef(({value:e,onChange:n,onFocus:i,onBlur:s,onEnterPress:a,onClear:l,placeholder:d="Select a date",label:f,helperText:h,error:p,disabled:b,hasValue:v},w)=>{const _=c.useRef(null);c.useEffect(()=>{typeof w=="function"?w(_.current):w&&(w.current=_.current)},[w]);const C=c.useCallback(E=>{var $;E.key==="Enter"&&(a==null||a(),($=_.current)==null||$.blur())},[a]),I=c.useCallback(E=>{n(E)},[n]),k=c.useCallback(()=>{i()},[i]),R=c.useCallback(()=>{l==null||l()},[l]);return m.jsx(Tl,{ref:_,value:e,onChange:I,onBlur:s,onKeyDown:C,onFocus:k,placeholder:d,disabled:b,label:f,helperText:h,error:p,rightIcon:v?void 0:xl,clearable:v,onClear:R})});al.displayName="DatePickerInput";const Ua=({isOpen:e,anchorRef:n,onClose:i,children:s,size:a})=>{const l=ye(),d=l.__hd__.datepicker,f=c.useRef(null),h=l.spaces[d.popup.offset];kl({anchorRef:n,popupRef:f,offsetValue:h,isOpen:e});const p=c.useCallback(v=>{v.target===v.currentTarget&&i()},[i]),b=c.useCallback(v=>{v.preventDefault()},[]);return c.useEffect(()=>{if(!e)return;const v=w=>{w.key==="Escape"&&i()};return document.addEventListener("keydown",v),()=>document.removeEventListener("keydown",v)},[e,i]),!e||typeof document>"u"?null:m.jsxs(m.Fragment,{children:[Lf.createPortal(m.jsx(L,{position:"fixed",top:0,left:0,right:0,bottom:0,zIndex:d.popup.zIndex-1,onClick:p}),document.body),m.jsx(L,{ref:f,position:"absolute",zIndex:d.popup.zIndex,role:"dialog","aria-modal":"true",onMouseDown:b,children:s})]})},T1=c.forwardRef(({startValue:e,endValue:n,onStartChange:i,onEndChange:s,onStartFocus:a,onEndFocus:l,onStartBlur:d,onEndBlur:f,onStartEnterPress:h,onEndEnterPress:p,onClear:b,hasValue:v,disabled:w,error:_,startPlaceholder:C="Start date",endPlaceholder:I="End date"},k)=>{const R=c.useRef(null),E=c.useRef(null),[$,A]=c.useState(!1),M=ye(),z=M.__hd__.input,j=vt(M,z.iconSize),H=w?z.disabledTextColor:z.iconColor;c.useImperativeHandle(k,()=>({focusStart:()=>{var G;return(G=R.current)==null?void 0:G.focus()},focusEnd:()=>{var G;return(G=E.current)==null?void 0:G.focus()},blurStart:()=>{var G;return(G=R.current)==null?void 0:G.blur()},blurEnd:()=>{var G;return(G=E.current)==null?void 0:G.blur()}}));const re=c.useCallback(()=>{A(!0),a()},[a]),J=c.useCallback(()=>{A(!0),l()},[l]),ce=c.useCallback(()=>{A(!1),d==null||d()},[d]),B=c.useCallback(()=>{A(!1),f==null||f()},[f]),W=c.useCallback(G=>{var ne;G.key==="Enter"&&(h==null||h(),(ne=R.current)==null||ne.blur())},[h]),P=c.useCallback(G=>{var ne;G.key==="Enter"&&(p==null||p(),(ne=E.current)==null||ne.blur())},[p]),se=c.useCallback(G=>{G.stopPropagation(),b==null||b()},[b]);return m.jsxs(p4,{$isFocused:$,$isDisabled:!!w,$error:!!_,children:[m.jsx(Of,{ref:R,value:e,onChange:G=>i(G.target.value),onFocus:re,onBlur:ce,onKeyDown:W,disabled:w,placeholder:C}),m.jsx(L,{display:"flex",alignItems:"center",justifyContent:"center",px:"xs",children:m.jsx(pt,{type:"icon",art:bl,size:16,color:"grey400"})}),m.jsx(Of,{ref:E,value:n,onChange:G=>s(G.target.value),onFocus:J,onBlur:B,onKeyDown:P,disabled:w,placeholder:I}),m.jsx(L,{ml:"xs",pl:"xs",children:v?m.jsx(kt,{onClick:se,children:m.jsx(L,{ml:z.iconSpacing,children:m.jsx(pt,{type:"icon",art:ds,size:j,color:H})})}):m.jsx(L,{ml:z.iconSpacing,children:m.jsx(pt,{type:"icon",art:xl,size:j,color:H})})})]})});T1.displayName="DatePickerRangeInput";function Ga({value:e,onChange:n,onClose:i,open:s,onOpenChange:a,defaultMonth:l,defaultTimezone:d,disabled:f,showTime:h}){const[p,b]=c.useState(!1),v=s??p,[w,_]=c.useState((e==null?void 0:e.date)??null),[C,I]=c.useState((e==null?void 0:e.time)??null),[k,R]=c.useState((e==null?void 0:e.timezone)??d??null),[E,$]=c.useState((e==null?void 0:e.date)??l??new Date),A=c.useRef(null),M=c.useRef(null),z=c.useRef(!1),j=c.useRef(w),H=c.useRef(C),re=c.useRef(k);j.current=w,H.current=C,re.current=k,c.useEffect(()=>{if(z.current){z.current=!1;return}e&&(e.date!==void 0&&(_(e.date),e.date&&$(e.date)),e.time!==void 0&&I(e.time),e.timezone&&R(e.timezone))},[e]);const J=c.useCallback(()=>{if(!f){if(!w){const de=new Date;de.setHours(0,0,0,0),_(de),$(de)}if(h&&!C){const de=new Date;I({hours:de.getHours(),minutes:de.getMinutes()})}b(!0),a==null||a(!0)}},[f,a,w,C,h]),ce=c.useCallback(()=>{b(!1),a==null||a(!1);const de=j.current,Se=H.current,Ge=re.current;if(de){const De={date:de,time:h?Se:void 0,timezone:Ge};n==null||n(De)}i==null||i()},[a,i,n,h]),B=c.useCallback(()=>{f||(v?ce():J())},[f,v,ce,J]),W=c.useCallback(de=>{z.current=!0,_(de),de&&$(de)},[]),P=c.useCallback(de=>{z.current=!0,I(de)},[]),se=c.useCallback(de=>{z.current=!0,_(de);const Se={date:de,time:h?C:void 0,timezone:k};n==null||n(Se)},[k,C,h,n]),G=c.useCallback(de=>{z.current=!0,I(de);const Se={date:w,time:de,timezone:k};n==null||n(Se)},[w,k,n]),ne=c.useCallback(de=>{R(de);const Se={date:w,time:h?C:void 0,timezone:de};n==null||n(Se)},[w,C,h,n]),ue=c.useCallback(de=>{$(de)},[]),be=c.useCallback(()=>{_((e==null?void 0:e.date)??null),I((e==null?void 0:e.time)??null),R((e==null?void 0:e.timezone)??d??null),$((e==null?void 0:e.date)??l??new Date)},[e,d,l]),xe=c.useCallback(()=>({date:w,time:h?C:void 0,timezone:k}),[w,C,k,h]),ve=c.useCallback(()=>{var de;(de=M.current)==null||de.focus()},[]),Ae=c.useCallback(de=>{b(de),de||(a==null||a(!1),i==null||i())},[a,i]);return{isOpen:v,selectedDate:w,selectedTime:C,selectedTimezone:k,currentMonth:E,containerRef:A,inputRef:M,handleOpen:J,handleClose:ce,setIsOpen:Ae,handleToggle:B,handleDateSelect:se,setSelectedDatePreview:W,handleTimeSelect:G,setSelectedTimePreview:P,handleTimezoneChange:ne,handleMonthChange:ue,reset:be,getValue:xe,focus:ve}}const R1=c.forwardRef(({value:e,onChange:n,onClose:i,range:s=!1,startValue:a,endValue:l,onStartChange:d,onEndChange:f,mode:h="inline",showInlineInput:p=!1,open:b,onOpenChange:v,dateConfig:w,disablePastDates:_=!1,defaultMonth:C,weekStartDay:I=f4,locale:k=d4,showTime:R=!1,timeFormat:E="24h",minuteStep:$=1,timeSlots:A,slots:M,size:z,variant:j,label:H,helperText:re,error:J,disabled:ce=!1,loading:B=!1,...W},P)=>{const G=ye().__hd__.datepicker,ne=z??G.defaultSize,ue=j??G.defaultVariant,be=Intl.DateTimeFormat().resolvedOptions().timeZone,xe=Ga({value:e,onChange:n,onClose:i,open:b,onOpenChange:v,defaultMonth:C,defaultTimezone:be,disabled:ce,showTime:R}),ve=Ga({value:a,onChange:d,onClose:i,defaultMonth:C,defaultTimezone:be,disabled:ce,showTime:R}),Ae=Ga({value:l,onChange:f,onClose:i,defaultMonth:C,defaultTimezone:be,disabled:ce,showTime:R}),{isOpen:de,selectedDate:Se,selectedTime:Ge,currentMonth:De,containerRef:ot,handleOpen:me,handleClose:Te,handleToggle:ze,handleDateSelect:_e,setSelectedDatePreview:te,setSelectedTimePreview:fe,handleMonthChange:q,reset:ae,getValue:pe,focus:Re}=xe,$e=c.useMemo(()=>!M||M.length===0?M:s4(M,be),[M,be]),Ye=c.useMemo(()=>{let we=w;if(_){const mt=new Date;mt.setHours(0,0,0,0),we={...we,minDate:we!=null&&we.minDate&&we.minDate>mt?we.minDate:mt}}return $e&&$e.length>0&&(we=$1($e,we)),we},[_,w,$e]),tt=c.useRef(null),nt=c.useRef(null),rt=c.useRef(null),ie=c.useRef(null),Ne=c.useRef(_e),Pe=c.useRef(q),Ve=c.useRef(fe),Ue=c.useRef(null);rt.current=Se,ie.current=Ge,Ne.current=_e,Pe.current=q,Ve.current=fe;const gt=c.useRef(!1),[$t,Xt]=c.useState(()=>cn(Se,k,Ge,R,E));c.useEffect(()=>{if(gt.current)return;if(Ue.current==="input"){Ue.current=null;return}const we=(e==null?void 0:e.date)??null,mt=(e==null?void 0:e.time)??null,Ht=cn(we,k,mt,R,E);Xt(Ht),Ue.current="calendar"},[e==null?void 0:e.date,e==null?void 0:e.time,k,R,E]),c.useEffect(()=>{if(Ue.current==="calendar"){Ue.current=null;return}const we=If($t);if(we&&((!rt.current||!xr(we.date,rt.current))&&(Ne.current(we.date),Pe.current(we.date)),R&&we.time)){const Ht=ie.current;(!Ht||Ht.hours!==we.time.hours||Ht.minutes!==we.time.minutes)&&Ve.current(we.time)}},[$t,k,R]);const wr=c.useCallback(we=>{gt.current=!0,Ue.current="input",Xt(we)},[]),Pn=c.useCallback(()=>{if(gt.current=!1,Ue.current=null,de)return;if(!$t.trim()){_e(null),Xt("");return}const we=If($t);we?(_e(we.date),q(we.date),we.time&&R&&fe(we.time),Xt(cn(we.date,k,we.time??Ge,R,E))):Xt(Se?cn(Se,k,Ge,R,E):"")},[$t,k,Se,Ge,de,R,E,_e,q,fe]),ti=c.useCallback(()=>{ze()},[ze]),_r=c.useCallback(()=>{te(null),Xt(""),n==null||n({date:null,timezone:be})},[te,n,be]),ni=c.useCallback(we=>{te(we);let mt=Ge;if(we&&$e&&$e.length>0){const Ht=sl($e,we);Ht.length>0&&(Ge&&Ht.some(Ui=>Ui.hours===Ge.hours&&Ui.minutes===Ge.minutes)||(mt=Ht[0],fe(mt)))}Xt(we?cn(we,k,mt,R,E):"")},[te,fe,k,Ge,R,E,$e]);c.useImperativeHandle(P,()=>({open:me,close:Te,reset:ae,getValue:pe,focus:Re}),[me,Te,ae,pe,Re]);const Cr=c.useMemo(()=>$e&&$e.length>0?Se?sl($e,Se):void 0:A,[$e,Se,A]),ri=R&&(!$e||$e.length===0||Se!==null),bs=c.useCallback(we=>{fe(we),Se&&Xt(cn(Se,k,we,R,E))},[fe,Se,k,R,E]),Zi=()=>m.jsxs(L,{display:"flex",flexDirection:"row",alignItems:"center",gap:G.sizes[ne].panelGap,children:[m.jsx(zf,{currentMonth:De,selectedDate:Se,onDateSelect:ni,onMonthChange:q,dateConfig:Ye,weekStartDay:I,locale:k,size:ne,disabled:ce||B}),ri&&m.jsx(zi,{value:Ge,onChange:bs,format:E,minuteStep:$,size:ne,slots:Cr})]}),Mt=G.sizes[ne],dn=G.variants[ue],Vi=c.useRef(null),ii=c.useRef(null),[oi,nr]=c.useState(()=>cn((a==null?void 0:a.date)??null,k,(a==null?void 0:a.time)??null,R,E)),[si,Wn]=c.useState(()=>cn((l==null?void 0:l.date)??null,k,(l==null?void 0:l.time)??null,R,E));c.useEffect(()=>{s&&nr(cn((a==null?void 0:a.date)??null,k,(a==null?void 0:a.time)??null,R,E))},[s,a==null?void 0:a.date,a==null?void 0:a.time,k,R,E]),c.useEffect(()=>{s&&Wn(cn((l==null?void 0:l.date)??null,k,(l==null?void 0:l.time)??null,R,E))},[s,l==null?void 0:l.date,l==null?void 0:l.time,k,R,E]);const Ni=(we,mt,Ht)=>m.jsxs(L,{display:"flex",flexDirection:"row",alignItems:"center",gap:G.sizes[ne].panelGap,children:[m.jsx(zf,{currentMonth:we.currentMonth,selectedDate:we.selectedDate,onDateSelect:Qt=>{we.setSelectedDatePreview(Qt),mt(Qt?cn(Qt,k,we.selectedTime,R,E):"")},onMonthChange:we.handleMonthChange,dateConfig:Ye,weekStartDay:I,locale:k,size:ne,disabled:ce||B,rangeMarkerDate:Ht}),R&&we.selectedDate&&m.jsx(zi,{value:we.selectedTime,onChange:Qt=>{we.setSelectedTimePreview(Qt),we.selectedDate&&mt(cn(we.selectedDate,k,Qt,R,E))},format:E,minuteStep:$,size:ne,slots:Cr})]}),ai=c.useRef(!1);return c.useEffect(()=>{if(!s||ve.isOpen||Ae.isOpen)return;if(ai.current){ai.current=!1;return}if(c4(a,l)===1){ai.current=!0,d==null||d(l),f==null||f(a);const mt=oi;nr(si),Wn(mt)}},[s,a,l,ve.isOpen,Ae.isOpen,d,f,oi,si]),s?m.jsxs(L,{position:"relative",...W,children:[H&&m.jsx(L,{mb:"xs",children:m.jsx(Qe,{fontWeight:"medium",children:H})}),m.jsx(L,{ref:ii,children:m.jsx(T1,{ref:Vi,startValue:oi,endValue:si,onStartChange:nr,onEndChange:Wn,onStartFocus:()=>{ve.handleOpen(),Ae.setIsOpen(!1)},onEndFocus:()=>{Ae.handleOpen(),ve.setIsOpen(!1)},onStartBlur:()=>{},onEndBlur:()=>{},onClear:()=>{ve.reset(),Ae.reset(),nr(""),Wn("")},hasValue:!!(a!=null&&a.date)||!!(l!=null&&l.date),disabled:ce||B,error:!!J})}),(J||re)&&m.jsx(L,{mt:"xs",children:m.jsx(Qe,{fontSize:"xs",color:J?"danger":"grey600",children:J||re})}),m.jsx(Ua,{isOpen:ve.isOpen,anchorRef:ii,onClose:ve.handleClose,size:ne,children:m.jsx(L,{display:"flex",flexDirection:"column",p:Mt.containerPadding,gap:Mt.panelGap,bgColor:dn.container.backgroundColor,b:Mt.borderWidth,borderColor:dn.container.borderColor,r:G.borderRadii.container,children:Ni(ve,nr,l==null?void 0:l.date)})}),m.jsx(Ua,{isOpen:Ae.isOpen,anchorRef:ii,onClose:Ae.handleClose,size:ne,children:m.jsx(L,{display:"flex",flexDirection:"column",p:Mt.containerPadding,gap:Mt.panelGap,bgColor:dn.container.backgroundColor,b:Mt.borderWidth,borderColor:dn.container.borderColor,r:G.borderRadii.container,children:Ni(Ae,Wn,a==null?void 0:a.date)})})]}):h==="inline"?m.jsx(L,{ref:ot,position:"relative",...W,children:m.jsxs(L,{display:"flex",flexDirection:"column",p:Mt.containerPadding,gap:Mt.panelGap,bgColor:dn.container.backgroundColor,b:Mt.borderWidth,borderColor:dn.container.borderColor,r:G.borderRadii.container,children:[p&&m.jsx(al,{ref:tt,value:$t,onChange:wr,onFocus:()=>{},onBlur:Pn,onEnterPress:Pn,disabled:ce||B,hasValue:!!Se,onClear:_r}),Zi()]})}):m.jsxs(L,{ref:ot,position:"relative",...W,children:[m.jsx(L,{ref:nt,position:"relative",children:m.jsx(al,{ref:tt,value:$t,onChange:wr,onFocus:ti,onBlur:Pn,onEnterPress:Pn,onClear:_r,label:H,helperText:re,error:J,disabled:ce||B,hasValue:!!Se})}),m.jsx(Ua,{isOpen:de,anchorRef:nt,onClose:Te,size:ne,children:m.jsx(L,{display:"flex",flexDirection:"column",p:Mt.containerPadding,gap:Mt.panelGap,bgColor:dn.container.backgroundColor,b:Mt.borderWidth,borderColor:dn.container.borderColor,r:G.borderRadii.container,children:Zi()})})]})});R1.displayName="DatePicker";function Go(e,n){return{hours:e.hours,minutes:H3(e.minutes,n)}}function qa(e,n){if(n.length===0)return null;const i=n.find(d=>Ml(d,e));if(i)return i;const s=e.hours*60+e.minutes;let a=n[0],l=Math.abs(n[0].hours*60+n[0].minutes-s);for(const d of n){const f=d.hours*60+d.minutes,h=Math.abs(f-s);h<l&&(l=h,a=d)}return a}function Ka({value:e,onChange:n,format:i,minuteStep:s=1,slots:a}){const[l,d]=c.useState(!1),[f,h]=c.useState(null),[p,b]=c.useState(()=>e?Kt(e,i):""),v=c.useRef(!1),w=c.useRef(!1);c.useEffect(()=>{v.current||b(e?Kt(e,i):"")},[e,i]),c.useEffect(()=>{const A=l&&!w.current;if(w.current=l,A){if(e)h(e);else{const M=new Date;let z={hours:M.getHours(),minutes:M.getMinutes()};a&&a.length>0?z=qa(z,a)??a[0]:z=Go(z,s),h(z)}v.current=!0}else l||(v.current=!1)},[l,e,s,a]);const _=c.useCallback(()=>{d(!0)},[]),C=c.useCallback(()=>{d(!1),f?(n==null||n(f),b(Kt(f,i))):b(e?Kt(e,i):"")},[f,n,i,e]),I=c.useCallback(()=>{h(null),b(""),n==null||n(null)},[n]),k=c.useCallback(A=>{b(A);const M=Ha(A,i);if(M){let z=M;a&&a.length>0?z=a.find(H=>Ml(H,M))??null:z=Go(M,s),z&&h(z)}},[i,s,a]),R=c.useCallback(A=>{h(A),b(Kt(A,i))},[i]),E=c.useCallback(()=>{if(!l){const A=Ha(p,i);if(A){let M=A;a&&a.length>0?M=qa(A,a):M=Go(A,s),M?(n==null||n(M),b(Kt(M,i))):b(e?Kt(e,i):"")}else b(e?Kt(e,i):"")}},[l,p,i,n,e,s,a]),$=c.useCallback(()=>{const A=Ha(p,i);if(A){let M=A;a&&a.length>0?M=qa(A,a):M=Go(A,s),M?(h(M),n==null||n(M),b(Kt(M,i))):b(e?Kt(e,i):"")}else b(e?Kt(e,i):"");d(!1)},[p,i,n,e,s,a]);return{isOpen:l,setIsOpen:d,inputValue:p,setInputValue:b,editingValue:f,setEditingValue:h,handleOpen:_,handleClose:C,handleClear:I,handleInputChange:k,handleWheelChange:R,handleInputBlur:E,handleEnterPress:$}}const I1=c.forwardRef(({value:e,onChange:n,onFocus:i,onBlur:s,onEnterPress:a,onClear:l,label:d,helperText:f,error:h,disabled:p,hasValue:b,placeholder:v="Select a time"},w)=>{const _=c.useRef(null);c.useEffect(()=>{typeof w=="function"?w(_.current):w&&(w.current=_.current)},[w]);const C=c.useCallback(E=>{var $;E.key==="Enter"&&(a==null||a(),($=_.current)==null||$.blur())},[a]),I=c.useCallback(E=>{n(E)},[n]),k=c.useCallback(()=>{i()},[i]),R=c.useCallback(()=>{l==null||l()},[l]);return m.jsx(Tl,{ref:_,value:e,onChange:I,onBlur:s,onKeyDown:C,onFocus:k,disabled:p,label:d,helperText:f,error:h,placeholder:v,rightIcon:b?void 0:wl,clearable:b,onClear:R})});I1.displayName="TimePickerInput";const Ya=({isOpen:e,anchorRef:n,onClose:i,children:s,size:a})=>{const l=ye(),d=l.__hd__.timepicker,f=c.useRef(null),h=l.spaces[d.popup.offset];kl({anchorRef:n,popupRef:f,offsetValue:h,isOpen:e});const p=c.useCallback(b=>{b.target===b.currentTarget&&i()},[i]);return c.useEffect(()=>{if(!e)return;const b=v=>{v.key==="Escape"&&i()};return document.addEventListener("keydown",b),()=>document.removeEventListener("keydown",b)},[e,i]),!e||typeof document>"u"?null:m.jsxs(m.Fragment,{children:[Lf.createPortal(m.jsx(L,{position:"fixed",top:0,left:0,right:0,bottom:0,zIndex:d.popup.zIndex-1,onClick:p}),document.body),m.jsx(L,{ref:f,position:"absolute",display:"flex",flexDirection:"row",zIndex:d.popup.zIndex,p:d.sizes[a].popupPadding,bgColor:d.colors.wheelBg,r:d.borderRadii.popup,borderWidth:"thin",borderColor:"grey200",role:"dialog","aria-modal":"true",children:s})]})},M1=c.forwardRef(({startValue:e,endValue:n,onStartChange:i,onEndChange:s,onStartFocus:a,onEndFocus:l,onStartBlur:d,onEndBlur:f,onStartEnterPress:h,onEndEnterPress:p,onClear:b,hasValue:v,disabled:w,error:_},C)=>{const I=c.useRef(null),k=c.useRef(null),[R,E]=c.useState(!1),$=ye(),A=$.__hd__.input,M=vt($,A.iconSize),z=w?A.disabledTextColor:A.iconColor;c.useImperativeHandle(C,()=>({focusStart:()=>{var P;return(P=I.current)==null?void 0:P.focus()},focusEnd:()=>{var P;return(P=k.current)==null?void 0:P.focus()},blurStart:()=>{var P;return(P=I.current)==null?void 0:P.blur()},blurEnd:()=>{var P;return(P=k.current)==null?void 0:P.blur()}}));const j=c.useCallback(()=>{E(!0),a()},[a]),H=c.useCallback(()=>{E(!0),l()},[l]),re=c.useCallback(()=>{E(!1),d==null||d()},[d]),J=c.useCallback(()=>{E(!1),f==null||f()},[f]),ce=c.useCallback(P=>{var se;P.key==="Enter"&&(h==null||h(),(se=I.current)==null||se.blur())},[h]),B=c.useCallback(P=>{var se;P.key==="Enter"&&(p==null||p(),(se=k.current)==null||se.blur())},[p]),W=c.useCallback(P=>{P.stopPropagation(),b==null||b()},[b]);return m.jsxs(W3,{$isFocused:R,$isDisabled:!!w,$error:!!_,children:[m.jsx(kf,{ref:I,value:e,onChange:P=>i(P.target.value),onFocus:j,onBlur:re,onKeyDown:ce,disabled:w,placeholder:"--:--"}),m.jsx(L,{display:"flex",alignItems:"center",justifyContent:"center",px:"xs",children:m.jsx(pt,{type:"icon",art:bl,size:16,color:"grey400"})}),m.jsx(kf,{ref:k,value:n,onChange:P=>s(P.target.value),onFocus:H,onBlur:J,onKeyDown:B,disabled:w,placeholder:"--:--"}),m.jsx(L,{ml:"xs",pl:"xs",children:v?m.jsx(kt,{onClick:W,children:m.jsx(L,{ml:A.iconSpacing,children:m.jsx(pt,{type:"icon",art:ds,size:M,color:z})})}):m.jsx(L,{ml:A.iconSpacing,children:m.jsx(pt,{type:"icon",art:wl,size:M,color:z})})})]})});M1.displayName="TimePickerRangeInput";const S4=({value:e,onChange:n,range:i=!1,startValue:s,endValue:a,onStartChange:l,onEndChange:d,format:f=O3,minuteStep:h=z3,slots:p,size:b=F3,disabled:v=!1,label:w,helperText:_,error:C,...I},k)=>{const R=c.useRef(null),E=c.useRef(null),$=Ka({value:e??null,onChange:n,format:f,minuteStep:h,slots:p}),A=Ka({value:s??null,onChange:l,format:f,minuteStep:h,slots:p}),M=Ka({value:a??null,onChange:d,format:f,minuteStep:h,slots:p});c.useImperativeHandle(k,()=>({open:()=>{i?A.setIsOpen(!0):$.setIsOpen(!0)},close:()=>{i?(A.setIsOpen(!1),M.setIsOpen(!1)):$.setIsOpen(!1)},reset:()=>{i?(A.handleClear(),M.handleClear()):$.handleClear()},getValue:()=>i?s??null:e??null,focus:()=>{var J;(J=R.current)==null||J.focus()}}));const z=c.useCallback(J=>{$.handleWheelChange(J)},[$]),j=c.useCallback(J=>{A.handleWheelChange(J)},[A]),H=c.useCallback(J=>{M.handleWheelChange(J)},[M]),re=c.useRef(!1);return c.useEffect(()=>{if(!i||A.isOpen||M.isOpen)return;if(re.current){re.current=!1;return}Z3(s,a)===1&&(re.current=!0,l==null||l(a),d==null||d(s))},[i,s,a,A.isOpen,M.isOpen,l,d]),i?m.jsxs(L,{...I,position:"relative",children:[w&&m.jsx(L,{mb:"xs",children:m.jsx(Qe,{fontWeight:"medium",children:w})}),m.jsx(L,{ref:E,children:m.jsx(M1,{startValue:A.inputValue,endValue:M.inputValue,onStartChange:A.handleInputChange,onEndChange:M.handleInputChange,onStartFocus:A.handleOpen,onEndFocus:M.handleOpen,onStartBlur:A.handleInputBlur,onEndBlur:M.handleInputBlur,onStartEnterPress:A.handleEnterPress,onEndEnterPress:M.handleEnterPress,onClear:()=>{A.handleClear(),M.handleClear()},hasValue:A.inputValue!==""||M.inputValue!=="",disabled:v,error:!!C})}),(C||_)&&m.jsx(L,{mt:"xs",children:m.jsx(Qe,{fontSize:"xs",color:C?"danger":"grey600",children:C||_})}),m.jsx(Ya,{isOpen:A.isOpen,anchorRef:E,onClose:A.handleClose,size:b,children:m.jsx(zi,{value:A.editingValue,onChange:j,format:f,minuteStep:h,size:b,slots:p,markerValue:a,markerLabel:a?"End:":void 0})}),m.jsx(Ya,{isOpen:M.isOpen,anchorRef:E,onClose:M.handleClose,size:b,children:m.jsx(zi,{value:M.editingValue,onChange:H,format:f,minuteStep:h,size:b,slots:p,markerValue:s,markerLabel:s?"Start:":void 0})})]}):m.jsxs(L,{...I,position:"relative",children:[m.jsx(L,{ref:E,children:m.jsx(I1,{ref:R,value:$.inputValue,onChange:$.handleInputChange,onFocus:$.handleOpen,onBlur:$.handleInputBlur,onEnterPress:$.handleEnterPress,onClear:$.handleClear,label:w,helperText:_,error:C,disabled:v,hasValue:$.inputValue!==""})}),m.jsx(Ya,{isOpen:$.isOpen,anchorRef:E,onClose:$.handleClose,size:b,children:m.jsx(zi,{value:$.editingValue,onChange:z,format:f,minuteStep:h,size:b,slots:p})})]})},E4=c.forwardRef(S4);exports.AIC_Kits_StackingLayers=yn;exports.Accordion=Ow;exports.Art=pt;exports.Avatar=U0;exports.BarChart=d3;exports.Base=Mv;exports.Box=L;exports.Brand=I0;exports.Button=Yr;exports.Carousel=Rw;exports.Checkbox=Dw;exports.DEFAULT_VIMEO_CONFIG=bw;exports.DatePicker=R1;exports.Divider=e1;exports.Emoji=M0;exports.Grid=w1;exports.Header=s1;exports.HeaderAuth=n1;exports.HeaderLogo=r1;exports.HeaderNav=i1;exports.HeaderSearch=o1;exports.Icon=yl;exports.Image=V0;exports.Input=Tl;exports.LineChart=M3;exports.List=Dv;exports.Loading=$l;exports.Modal=n3;exports.NormalizedBrowserName=Q0;exports.NormalizedDeviceType=X0;exports.NormalizedOSName=J0;exports.Pagination=Kw;exports.PaginationItem=_1;exports.PieChart=_3;exports.Progress=e3;exports.RESPONSIVE_BREAKPOINTS=Bi;exports.RESPONSIVE_BREAKPOINT_KEYS=Li;exports.SUPPORTED_RICH_TEXT_TAGS=Z0;exports.Select=Bw;exports.SelectDropdownItem=b1;exports.SelectInputDisplay=x1;exports.Skeleton=Hi;exports.StyledBox=k0;exports.Svg=N0;exports.Tag=jw;exports.Text=Qe;exports.ThemeProvider=$b;exports.TimePicker=E4;exports.Tooltip=r3;exports.Touchable=kt;exports.VIMEO_HOST=xw;exports.Vimeo=vw;exports.accordionTheme=Hf;exports.artTheme=Zf;exports.avatarTheme=Vf;exports.barChartTheme=Nf;exports.baseTheme=Uf;exports.buttonTheme=Gf;exports.carouselTheme=qf;exports.checkboxTheme=Kf;exports.configKeys=S0;exports.createSlotsDateConfig=$1;exports.css=lt;exports.cssPropsKey=v0;exports.customBoxPropsConfig=w0;exports.customBoxPropsKey=ml;exports.dateHasSlots=k1;exports.datepickerTheme=Yf;exports.defaultColorPalette=as;exports.defaultGradientColorPalette=Pf;exports.defaultScale=Dn;exports.defaultTheme=qo;exports.dividerTheme=Xf;exports.formatDateTimeForInput=Q3;exports.genBoxStyle=E0;exports.generateResponsiveStyles=Xr;exports.getAllUniqueTimeSlots=l4;exports.getBorderWidths=ll;exports.getComponentsTheme=h0;exports.getDatesFromSlots=a4;exports.getFontSizes=ls;exports.getFontWeights=pl;exports.getFonts=fl;exports.getGlobalTheme=yb;exports.getLineHeights=hl;exports.getPaginationTheme=r0;exports.getRadii=cl;exports.getResponsiveValue=y0;exports.getSelectStyles=v1;exports.getShadows=Wf;exports.getSizeValue=vt;exports.getSizes=ul;exports.getSpaces=dl;exports.getTextColor=gs;exports.getTheme=p0;exports.getThemeValue=_0;exports.getTimeSlotsForDate=sl;exports.headerTheme=Qf;exports.inferResponsiveValues=m0;exports.inputTheme=Jf;exports.isBorderWidth=ib;exports.isColor=Df;exports.isEmoji=$0;exports.isFontSize=pb;exports.isFontWeight=gb;exports.isGradientColor=ob;exports.isIcon=A0;exports.isImage=T0;exports.isRadius=jf;exports.isResponsiveValue=cs;exports.isSSR=Ct;exports.isShadow=hb;exports.isSize=mr;exports.isSpace=Bf;exports.isSvg=R0;exports.keyframes=Cn;exports.lineChartTheme=e0;exports.listTheme=t0;exports.loadingTheme=n0;exports.mapStylePropToThemeValue=C0;exports.parseUserAgent=rl;exports.pieChartTheme=i0;exports.populateResponsiveValue=gl;exports.progressTheme=o0;exports.reduceResponsiveValue=b0;exports.selectTheme=s0;exports.shouldForwardProp=g0;exports.skeletonTheme=a0;exports.styled=le;exports.tagTheme=l0;exports.timepickerTheme=c0;exports.tooltipTheme=u0;exports.touchableTheme=d0;exports.transformResponsiveValue=Yt;exports.transposeObject=Xa;exports.useEventListener=Qa;exports.useHover=fs;exports.useInteractionDetector=_l;exports.useIsomorphicLayoutEffect=yr;exports.useMediaQuery=Q6;exports.usePopupPosition=kl;exports.useResponsiveBreakpoint=Jr;exports.useSelectState=y1;exports.useTheme=ye;exports.useUserAgent=mv;exports.useWindowDimensions=G0;exports.vimeoTheme=f0;exports.zIndexRegistry=vr;
|