@aic-kits/react 0.29.9 → 0.29.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +5 -5
- package/dist/components/Input/types.d.ts +9 -1
- package/dist/components/Select/Select.d.ts +1 -1
- package/dist/components/Select/SelectInputDisplay.d.ts +3 -0
- package/dist/components/Select/types.d.ts +5 -0
- package/dist/index.cjs +163 -163
- package/dist/index.js +6812 -6980
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var X2=Object.defineProperty;var Y2=(n,i,r)=>i in n?X2(n,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[i]=r;var er=(n,i,r)=>Y2(n,typeof i!="symbol"?i+"":i,r);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("react/jsx-runtime"),Cn=require("styled-components"),f=require("react"),Q2=require("react-dom");var bi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},_r={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 O8=ei.exports,pc;function P8(){return pc||(pc=1,function(n,r){(function(){var i,s="4.17.21",l=200,u="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",d="Expected a function",p="Invalid `variable` option passed into `_.template`",m="__lodash_hash_undefined__",v=500,x="__lodash_placeholder__",_=1,E=2,T=4,k=1,I=2,P=1,z=2,A=4,R=8,H=16,U=32,G=64,q=128,Y=256,we=512,Ce=30,Ee="...",j=800,B=16,K=1,ie=2,Q=3,ee=1/0,oe=9007199254740991,$e=17976931348623157e292,ke=NaN,ze=4294967295,St=ze-1,De=ze>>>1,et=[["ary",q],["bind",P],["bindKey",z],["curry",R],["curryRight",H],["flip",we],["partial",U],["partialRight",G],["rearg",Y]],Bt="[object Arguments]",gt="[object Array]",wn="[object AsyncFunction]",Gt="[object Boolean]",bn="[object Date]",tr="[object DOMException]",He="[object Error]",Wt="[object Function]",yn="[object GeneratorFunction]",Ze="[object Map]",Fn="[object Number]",Ao="[object Null]",Et="[object Object]",kr="[object Promise]",Rr="[object Proxy]",zn="[object RegExp]",mt="[object Set]",Bn="[object String]",ne="[object Symbol]",Pe="[object Undefined]",Be="[object WeakMap]",jt="[object WeakSet]",en="[object ArrayBuffer]",Dt="[object DataView]",To="[object Float32Array]",$o="[object Float64Array]",ko="[object Int8Array]",Ro="[object Int16Array]",Io="[object Int32Array]",Oo="[object Uint8Array]",Po="[object Uint8ClampedArray]",Mo="[object Uint16Array]",Lo="[object Uint32Array]",Xf=/\b__p \+= '';/g,Yf=/\b(__p \+=) '' \+/g,Qf=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ws=/&(?:amp|lt|gt|quot|#39);/g,js=/[&<>"']/g,Jf=RegExp(Ws.source),e0=RegExp(js.source),t0=/<%-([\s\S]+?)%>/g,n0=/<%([\s\S]+?)%>/g,Ds=/<%=([\s\S]+?)%>/g,r0=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i0=/^\w*$/,o0=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Fo=/[\\^$.*+?()[\]{}|]/g,a0=RegExp(Fo.source),zo=/^\s+/,s0=/\s/,l0=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,u0=/\{\n\/\* \[wrapped with (.+)\] \*/,c0=/,? & /,d0=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,f0=/[()=,{}\[\]\/\s]/,h0=/\\(\\)?/g,p0=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Hs=/\w*$/,g0=/^[-+]0x[0-9a-f]+$/i,m0=/^0b[01]+$/i,v0=/^\[object .+?Constructor\]$/,w0=/^0o[0-7]+$/i,b0=/^(?:0|[1-9]\d*)$/,y0=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,di=/($^)/,x0=/['\n\r\u2028\u2029\\]/g,fi="\\ud800-\\udfff",_0="\\u0300-\\u036f",C0="\\ufe20-\\ufe2f",S0="\\u20d0-\\u20ff",Zs=_0+C0+S0,Ns="\\u2700-\\u27bf",Vs="a-z\\xdf-\\xf6\\xf8-\\xff",E0="\\xac\\xb1\\xd7\\xf7",A0="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",T0="\\u2000-\\u206f",$0=" \\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",Us="A-Z\\xc0-\\xd6\\xd8-\\xde",qs="\\ufe0e\\ufe0f",Gs=E0+A0+T0+$0,Bo="['’]",k0="["+fi+"]",Ks="["+Gs+"]",hi="["+Zs+"]",Xs="\\d+",R0="["+Ns+"]",Ys="["+Vs+"]",Qs="[^"+fi+Gs+Xs+Ns+Vs+Us+"]",Wo="\\ud83c[\\udffb-\\udfff]",I0="(?:"+hi+"|"+Wo+")",Js="[^"+fi+"]",jo="(?:\\ud83c[\\udde6-\\uddff]){2}",Do="[\\ud800-\\udbff][\\udc00-\\udfff]",nr="["+Us+"]",el="\\u200d",tl="(?:"+Ys+"|"+Qs+")",O0="(?:"+nr+"|"+Qs+")",nl="(?:"+Bo+"(?:d|ll|m|re|s|t|ve))?",rl="(?:"+Bo+"(?:D|LL|M|RE|S|T|VE))?",il=I0+"?",ol="["+qs+"]?",P0="(?:"+el+"(?:"+[Js,jo,Do].join("|")+")"+ol+il+")*",M0="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",L0="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",al=ol+il+P0,F0="(?:"+[R0,jo,Do].join("|")+")"+al,z0="(?:"+[Js+hi+"?",hi,jo,Do,k0].join("|")+")",B0=RegExp(Bo,"g"),W0=RegExp(hi,"g"),Ho=RegExp(Wo+"(?="+Wo+")|"+z0+al,"g"),j0=RegExp([nr+"?"+Ys+"+"+nl+"(?="+[Ks,nr,"$"].join("|")+")",O0+"+"+rl+"(?="+[Ks,nr+tl,"$"].join("|")+")",nr+"?"+tl+"+"+nl,nr+"+"+rl,L0,M0,Xs,F0].join("|"),"g"),D0=RegExp("["+el+fi+Zs+qs+"]"),H0=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Z0=["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"],N0=-1,Oe={};Oe[To]=Oe[$o]=Oe[ko]=Oe[Ro]=Oe[Io]=Oe[Oo]=Oe[Po]=Oe[Mo]=Oe[Lo]=!0,Oe[Bt]=Oe[gt]=Oe[en]=Oe[Gt]=Oe[Dt]=Oe[bn]=Oe[He]=Oe[Wt]=Oe[Ze]=Oe[Fn]=Oe[Et]=Oe[zn]=Oe[mt]=Oe[Bn]=Oe[Be]=!1;var Ie={};Ie[Bt]=Ie[gt]=Ie[en]=Ie[Dt]=Ie[Gt]=Ie[bn]=Ie[To]=Ie[$o]=Ie[ko]=Ie[Ro]=Ie[Io]=Ie[Ze]=Ie[Fn]=Ie[Et]=Ie[zn]=Ie[mt]=Ie[Bn]=Ie[ne]=Ie[Oo]=Ie[Po]=Ie[Mo]=Ie[Lo]=!0,Ie[He]=Ie[Wt]=Ie[Be]=!1;var V0={À:"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"},U0={"&":"&","<":"<",">":">",'"':""","'":"'"},q0={"&":"&","<":"<",">":">",""":'"',"'":"'"},G0={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},K0=parseFloat,X0=parseInt,sl=typeof Ji=="object"&&Ji&&Ji.Object===Object&&Ji,Y0=typeof self=="object"&&self&&self.Object===Object&&self,Ke=sl||Y0||Function("return this")(),Zo=r&&!r.nodeType&&r,Wn=Zo&&!0&&n&&!n.nodeType&&n,ll=Wn&&Wn.exports===Zo,No=ll&&sl.process,At=function(){try{var C=Wn&&Wn.require&&Wn.require("util").types;return C||No&&No.binding&&No.binding("util")}catch{}}(),ul=At&&At.isArrayBuffer,cl=At&&At.isDate,dl=At&&At.isMap,fl=At&&At.isRegExp,hl=At&&At.isSet,pl=At&&At.isTypedArray;function vt(C,O,$){switch($.length){case 0:return C.call(O);case 1:return C.call(O,$[0]);case 2:return C.call(O,$[0],$[1]);case 3:return C.call(O,$[0],$[1],$[2])}return C.apply(O,$)}function Q0(C,O,$,te){for(var ue=-1,_e=C==null?0:C.length;++ue<_e;){var Ve=C[ue];O(te,Ve,$(Ve),C)}return te}function Tt(C,O){for(var $=-1,te=C==null?0:C.length;++$<te&&O(C[$],$,C)!==!1;);return C}function J0(C,O){for(var $=C==null?0:C.length;$--&&O(C[$],$,C)!==!1;);return C}function gl(C,O){for(var $=-1,te=C==null?0:C.length;++$<te;)if(!O(C[$],$,C))return!1;return!0}function xn(C,O){for(var $=-1,te=C==null?0:C.length,ue=0,_e=[];++$<te;){var Ve=C[$];O(Ve,$,C)&&(_e[ue++]=Ve)}return _e}function pi(C,O){var $=C==null?0:C.length;return!!$&&rr(C,O,0)>-1}function Vo(C,O,$){for(var te=-1,ue=C==null?0:C.length;++te<ue;)if($(O,C[te]))return!0;return!1}function Me(C,O){for(var $=-1,te=C==null?0:C.length,ue=Array(te);++$<te;)ue[$]=O(C[$],$,C);return ue}function _n(C,O){for(var $=-1,te=O.length,ue=C.length;++$<te;)C[ue+$]=O[$];return C}function Uo(C,O,$,te){var ue=-1,_e=C==null?0:C.length;for(te&&_e&&($=C[++ue]);++ue<_e;)$=O($,C[ue],ue,C);return $}function e1(C,O,$,te){var ue=C==null?0:C.length;for(te&&ue&&($=C[--ue]);ue--;)$=O($,C[ue],ue,C);return $}function qo(C,O){for(var $=-1,te=C==null?0:C.length;++$<te;)if(O(C[$],$,C))return!0;return!1}var t1=Go("length");function n1(C){return C.split("")}function r1(C){return C.match(d0)||[]}function ml(C,O,$){var te;return $(C,function(ue,_e,Ve){if(O(ue,_e,Ve))return te=_e,!1}),te}function gi(C,O,$,te){for(var ue=C.length,_e=$+(te?1:-1);te?_e--:++_e<ue;)if(O(C[_e],_e,C))return _e;return-1}function rr(C,O,$){return O===O?g1(C,O,$):gi(C,vl,$)}function i1(C,O,$,te){for(var ue=$-1,_e=C.length;++ue<_e;)if(te(C[ue],O))return ue;return-1}function vl(C){return C!==C}function wl(C,O){var $=C==null?0:C.length;return $?Xo(C,O)/$:ke}function Go(C){return function(O){return O==null?i:O[C]}}function Ko(C){return function(O){return C==null?i:C[O]}}function bl(C,O,$,te,ue){return ue(C,function(_e,Ve,Re){$=te?(te=!1,_e):O($,_e,Ve,Re)}),$}function o1(C,O){var $=C.length;for(C.sort(O);$--;)C[$]=C[$].value;return C}function Xo(C,O){for(var $,te=-1,ue=C.length;++te<ue;){var _e=O(C[te]);_e!==i&&($=$===i?_e:$+_e)}return $}function Yo(C,O){for(var $=-1,te=Array(C);++$<C;)te[$]=O($);return te}function a1(C,O){return Me(O,function($){return[$,C[$]]})}function yl(C){return C&&C.slice(0,Sl(C)+1).replace(zo,"")}function wt(C){return function(O){return C(O)}}function Qo(C,O){return Me(O,function($){return C[$]})}function Ir(C,O){return C.has(O)}function xl(C,O){for(var $=-1,te=C.length;++$<te&&rr(O,C[$],0)>-1;);return $}function _l(C,O){for(var $=C.length;$--&&rr(O,C[$],0)>-1;);return $}function s1(C,O){for(var $=C.length,te=0;$--;)C[$]===O&&++te;return te}var l1=Ko(V0),u1=Ko(U0);function c1(C){return"\\"+G0[C]}function d1(C,O){return C==null?i:C[O]}function ir(C){return D0.test(C)}function f1(C){return H0.test(C)}function h1(C){for(var O,$=[];!(O=C.next()).done;)$.push(O.value);return $}function Jo(C){var O=-1,$=Array(C.size);return C.forEach(function(te,ue){$[++O]=[ue,te]}),$}function Cl(C,O){return function($){return C(O($))}}function Cn(C,O){for(var $=-1,te=C.length,ue=0,_e=[];++$<te;){var Ve=C[$];(Ve===O||Ve===x)&&(C[$]=x,_e[ue++]=$)}return _e}function mi(C){var O=-1,$=Array(C.size);return C.forEach(function(te){$[++O]=te}),$}function p1(C){var O=-1,$=Array(C.size);return C.forEach(function(te){$[++O]=[te,te]}),$}function g1(C,O,$){for(var te=$-1,ue=C.length;++te<ue;)if(C[te]===O)return te;return-1}function m1(C,O,$){for(var te=$+1;te--;)if(C[te]===O)return te;return te}function or(C){return ir(C)?w1(C):t1(C)}function Ht(C){return ir(C)?b1(C):n1(C)}function Sl(C){for(var O=C.length;O--&&s0.test(C.charAt(O)););return O}var v1=Ko(q0);function w1(C){for(var O=Ho.lastIndex=0;Ho.test(C);)++O;return O}function b1(C){return C.match(Ho)||[]}function y1(C){return C.match(j0)||[]}var x1=function C(O){O=O==null?Ke:ar.defaults(Ke.Object(),O,ar.pick(Ke,Z0));var $=O.Array,te=O.Date,ue=O.Error,_e=O.Function,Ve=O.Math,Re=O.Object,ea=O.RegExp,_1=O.String,$t=O.TypeError,vi=$.prototype,C1=_e.prototype,sr=Re.prototype,wi=O["__core-js_shared__"],bi=C1.toString,Ae=sr.hasOwnProperty,S1=0,El=function(){var e=/[^.]+$/.exec(wi&&wi.keys&&wi.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),yi=sr.toString,E1=bi.call(Re),A1=Ke._,T1=ea("^"+bi.call(Ae).replace(Fo,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),xi=ll?O.Buffer:i,Sn=O.Symbol,_i=O.Uint8Array,Al=xi?xi.allocUnsafe:i,Ci=Cl(Re.getPrototypeOf,Re),Tl=Re.create,$l=sr.propertyIsEnumerable,Si=vi.splice,kl=Sn?Sn.isConcatSpreadable:i,Or=Sn?Sn.iterator:i,jn=Sn?Sn.toStringTag:i,Ei=function(){try{var e=Vn(Re,"defineProperty");return e({},"",{}),e}catch{}}(),$1=O.clearTimeout!==Ke.clearTimeout&&O.clearTimeout,k1=te&&te.now!==Ke.Date.now&&te.now,R1=O.setTimeout!==Ke.setTimeout&&O.setTimeout,Ai=Ve.ceil,Ti=Ve.floor,ta=Re.getOwnPropertySymbols,I1=xi?xi.isBuffer:i,Rl=O.isFinite,O1=vi.join,P1=Cl(Re.keys,Re),Ue=Ve.max,Ye=Ve.min,M1=te.now,L1=O.parseInt,Il=Ve.random,F1=vi.reverse,na=Vn(O,"DataView"),Pr=Vn(O,"Map"),ra=Vn(O,"Promise"),lr=Vn(O,"Set"),Mr=Vn(O,"WeakMap"),Lr=Vn(Re,"create"),$i=Mr&&new Mr,ur={},z1=Un(na),B1=Un(Pr),W1=Un(ra),j1=Un(lr),D1=Un(Mr),ki=Sn?Sn.prototype:i,Fr=ki?ki.valueOf:i,Ol=ki?ki.toString:i;function f(e){if(Fe(e)&&!ce(e)&&!(e instanceof ve)){if(e instanceof kt)return e;if(Ae.call(e,"__wrapped__"))return Pu(e)}return new kt(e)}var cr=function(){function e(){}return function(t){if(!Le(t))return{};if(Tl)return Tl(t);e.prototype=t;var o=new e;return e.prototype=i,o}}();function Ri(){}function kt(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=i}f.templateSettings={escape:t0,evaluate:n0,interpolate:Ds,variable:"",imports:{_:f}},f.prototype=Ri.prototype,f.prototype.constructor=f,kt.prototype=cr(Ri.prototype),kt.prototype.constructor=kt;function ve(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ze,this.__views__=[]}function H1(){var e=new ve(this.__wrapped__);return e.__actions__=st(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=st(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=st(this.__views__),e}function Z1(){if(this.__filtered__){var e=new ve(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function N1(){var e=this.__wrapped__.value(),t=this.__dir__,o=ce(e),a=t<0,c=o?e.length:0,g=np(0,c,this.__views__),w=g.start,b=g.end,S=b-w,L=a?b:w-1,F=this.__iteratees__,D=F.length,J=0,re=Ye(S,this.__takeCount__);if(!o||!a&&c==S&&re==S)return nu(e,this.__actions__);var se=[];e:for(;S--&&J<re;){L+=t;for(var he=-1,le=e[L];++he<D;){var me=F[he],be=me.iteratee,xt=me.type,rt=be(le);if(xt==ie)le=rt;else if(!rt){if(xt==K)continue e;break e}}se[J++]=le}return se}ve.prototype=cr(Ri.prototype),ve.prototype.constructor=ve;function Dn(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var a=e[t];this.set(a[0],a[1])}}function V1(){this.__data__=Lr?Lr(null):{},this.size=0}function U1(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function q1(e){var t=this.__data__;if(Lr){var o=t[e];return o===m?i:o}return Ae.call(t,e)?t[e]:i}function G1(e){var t=this.__data__;return Lr?t[e]!==i:Ae.call(t,e)}function K1(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=Lr&&t===i?m:t,this}Dn.prototype.clear=V1,Dn.prototype.delete=U1,Dn.prototype.get=q1,Dn.prototype.has=G1,Dn.prototype.set=K1;function tn(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var a=e[t];this.set(a[0],a[1])}}function X1(){this.__data__=[],this.size=0}function Y1(e){var t=this.__data__,o=Ii(t,e);if(o<0)return!1;var a=t.length-1;return o==a?t.pop():Si.call(t,o,1),--this.size,!0}function Q1(e){var t=this.__data__,o=Ii(t,e);return o<0?i:t[o][1]}function J1(e){return Ii(this.__data__,e)>-1}function eh(e,t){var o=this.__data__,a=Ii(o,e);return a<0?(++this.size,o.push([e,t])):o[a][1]=t,this}tn.prototype.clear=X1,tn.prototype.delete=Y1,tn.prototype.get=Q1,tn.prototype.has=J1,tn.prototype.set=eh;function nn(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var a=e[t];this.set(a[0],a[1])}}function th(){this.size=0,this.__data__={hash:new Dn,map:new(Pr||tn),string:new Dn}}function nh(e){var t=Zi(this,e).delete(e);return this.size-=t?1:0,t}function rh(e){return Zi(this,e).get(e)}function ih(e){return Zi(this,e).has(e)}function oh(e,t){var o=Zi(this,e),a=o.size;return o.set(e,t),this.size+=o.size==a?0:1,this}nn.prototype.clear=th,nn.prototype.delete=nh,nn.prototype.get=rh,nn.prototype.has=ih,nn.prototype.set=oh;function Hn(e){var t=-1,o=e==null?0:e.length;for(this.__data__=new nn;++t<o;)this.add(e[t])}function ah(e){return this.__data__.set(e,m),this}function sh(e){return this.__data__.has(e)}Hn.prototype.add=Hn.prototype.push=ah,Hn.prototype.has=sh;function Zt(e){var t=this.__data__=new tn(e);this.size=t.size}function lh(){this.__data__=new tn,this.size=0}function uh(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o}function ch(e){return this.__data__.get(e)}function dh(e){return this.__data__.has(e)}function fh(e,t){var o=this.__data__;if(o instanceof tn){var a=o.__data__;if(!Pr||a.length<l-1)return a.push([e,t]),this.size=++o.size,this;o=this.__data__=new nn(a)}return o.set(e,t),this.size=o.size,this}Zt.prototype.clear=lh,Zt.prototype.delete=uh,Zt.prototype.get=ch,Zt.prototype.has=dh,Zt.prototype.set=fh;function Pl(e,t){var o=ce(e),a=!o&&qn(e),c=!o&&!a&&kn(e),g=!o&&!a&&!c&&pr(e),w=o||a||c||g,b=w?Yo(e.length,_1):[],S=b.length;for(var L in e)(t||Ae.call(e,L))&&!(w&&(L=="length"||c&&(L=="offset"||L=="parent")||g&&(L=="buffer"||L=="byteLength"||L=="byteOffset")||sn(L,S)))&&b.push(L);return b}function Ml(e){var t=e.length;return t?e[pa(0,t-1)]:i}function hh(e,t){return Ni(st(e),Zn(t,0,e.length))}function ph(e){return Ni(st(e))}function ia(e,t,o){(o!==i&&!Nt(e[t],o)||o===i&&!(t in e))&&rn(e,t,o)}function zr(e,t,o){var a=e[t];(!(Ae.call(e,t)&&Nt(a,o))||o===i&&!(t in e))&&rn(e,t,o)}function Ii(e,t){for(var o=e.length;o--;)if(Nt(e[o][0],t))return o;return-1}function gh(e,t,o,a){return En(e,function(c,g,w){t(a,c,o(c),w)}),a}function Ll(e,t){return e&&Xt(t,Ge(t),e)}function mh(e,t){return e&&Xt(t,ut(t),e)}function rn(e,t,o){t=="__proto__"&&Ei?Ei(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o}function oa(e,t){for(var o=-1,a=t.length,c=$(a),g=e==null;++o<a;)c[o]=g?i:Wa(e,t[o]);return c}function Zn(e,t,o){return e===e&&(o!==i&&(e=e<=o?e:o),t!==i&&(e=e>=t?e:t)),e}function Rt(e,t,o,a,c,g){var w,b=t&_,S=t&E,L=t&T;if(o&&(w=c?o(e,a,c,g):o(e)),w!==i)return w;if(!Le(e))return e;var F=ce(e);if(F){if(w=ip(e),!b)return st(e,w)}else{var D=Qe(e),J=D==Wt||D==yn;if(kn(e))return ou(e,b);if(D==Et||D==Bt||J&&!c){if(w=S||J?{}:Su(e),!b)return S?qh(e,mh(w,e)):Uh(e,Ll(w,e))}else{if(!Ie[D])return c?e:{};w=op(e,D,b)}}g||(g=new Zt);var re=g.get(e);if(re)return re;g.set(e,w),Ju(e)?e.forEach(function(le){w.add(Rt(le,t,o,le,e,g))}):Yu(e)&&e.forEach(function(le,me){w.set(me,Rt(le,t,o,me,e,g))});var se=L?S?Ea:Sa:S?ut:Ge,he=F?i:se(e);return Tt(he||e,function(le,me){he&&(me=le,le=e[me]),zr(w,me,Rt(le,t,o,me,e,g))}),w}function vh(e){var t=Ge(e);return function(o){return Fl(o,e,t)}}function Fl(e,t,o){var a=o.length;if(e==null)return!a;for(e=Re(e);a--;){var c=o[a],g=t[c],w=e[c];if(w===i&&!(c in e)||!g(w))return!1}return!0}function zl(e,t,o){if(typeof e!="function")throw new $t(d);return Nr(function(){e.apply(i,o)},t)}function Br(e,t,o,a){var c=-1,g=pi,w=!0,b=e.length,S=[],L=t.length;if(!b)return S;o&&(t=Me(t,wt(o))),a?(g=Vo,w=!1):t.length>=l&&(g=Ir,w=!1,t=new Hn(t));e:for(;++c<b;){var F=e[c],D=o==null?F:o(F);if(F=a||F!==0?F:0,w&&D===D){for(var J=L;J--;)if(t[J]===D)continue e;S.push(F)}else g(t,D,a)||S.push(F)}return S}var En=cu(Kt),Bl=cu(sa,!0);function wh(e,t){var o=!0;return En(e,function(a,c,g){return o=!!t(a,c,g),o}),o}function Oi(e,t,o){for(var a=-1,c=e.length;++a<c;){var g=e[a],w=t(g);if(w!=null&&(b===i?w===w&&!yt(w):o(w,b)))var b=w,S=g}return S}function bh(e,t,o,a){var c=e.length;for(o=fe(o),o<0&&(o=-o>c?0:c+o),a=a===i||a>c?c:fe(a),a<0&&(a+=c),a=o>a?0:tc(a);o<a;)e[o++]=t;return e}function Wl(e,t){var o=[];return En(e,function(a,c,g){t(a,c,g)&&o.push(a)}),o}function Xe(e,t,o,a,c){var g=-1,w=e.length;for(o||(o=sp),c||(c=[]);++g<w;){var b=e[g];t>0&&o(b)?t>1?Xe(b,t-1,o,a,c):_n(c,b):a||(c[c.length]=b)}return c}var aa=du(),jl=du(!0);function Kt(e,t){return e&&aa(e,t,Ge)}function sa(e,t){return e&&jl(e,t,Ge)}function Pi(e,t){return xn(t,function(o){return ln(e[o])})}function Nn(e,t){t=Tn(t,e);for(var o=0,a=t.length;e!=null&&o<a;)e=e[Yt(t[o++])];return o&&o==a?e:i}function Dl(e,t,o){var a=t(e);return ce(e)?a:_n(a,o(e))}function tt(e){return e==null?e===i?Pe:Ao:jn&&jn in Re(e)?tp(e):pp(e)}function la(e,t){return e>t}function yh(e,t){return e!=null&&Ae.call(e,t)}function xh(e,t){return e!=null&&t in Re(e)}function _h(e,t,o){return e>=Ye(t,o)&&e<Ue(t,o)}function ua(e,t,o){for(var a=o?Vo:pi,c=e[0].length,g=e.length,w=g,b=$(g),S=1/0,L=[];w--;){var F=e[w];w&&t&&(F=Me(F,wt(t))),S=Ye(F.length,S),b[w]=!o&&(t||c>=120&&F.length>=120)?new Hn(w&&F):i}F=e[0];var D=-1,J=b[0];e:for(;++D<c&&L.length<S;){var re=F[D],se=t?t(re):re;if(re=o||re!==0?re:0,!(J?Ir(J,se):a(L,se,o))){for(w=g;--w;){var he=b[w];if(!(he?Ir(he,se):a(e[w],se,o)))continue e}J&&J.push(se),L.push(re)}}return L}function Ch(e,t,o,a){return Kt(e,function(c,g,w){t(a,o(c),g,w)}),a}function Wr(e,t,o){t=Tn(t,e),e=$u(e,t);var a=e==null?e:e[Yt(Ot(t))];return a==null?i:vt(a,e,o)}function Hl(e){return Fe(e)&&tt(e)==Bt}function Sh(e){return Fe(e)&&tt(e)==en}function Eh(e){return Fe(e)&&tt(e)==bn}function jr(e,t,o,a,c){return e===t?!0:e==null||t==null||!Fe(e)&&!Fe(t)?e!==e&&t!==t:Ah(e,t,o,a,jr,c)}function Ah(e,t,o,a,c,g){var w=ce(e),b=ce(t),S=w?gt:Qe(e),L=b?gt:Qe(t);S=S==Bt?Et:S,L=L==Bt?Et:L;var F=S==Et,D=L==Et,J=S==L;if(J&&kn(e)){if(!kn(t))return!1;w=!0,F=!1}if(J&&!F)return g||(g=new Zt),w||pr(e)?xu(e,t,o,a,c,g):Jh(e,t,S,o,a,c,g);if(!(o&k)){var re=F&&Ae.call(e,"__wrapped__"),se=D&&Ae.call(t,"__wrapped__");if(re||se){var he=re?e.value():e,le=se?t.value():t;return g||(g=new Zt),c(he,le,o,a,g)}}return J?(g||(g=new Zt),ep(e,t,o,a,c,g)):!1}function Th(e){return Fe(e)&&Qe(e)==Ze}function ca(e,t,o,a){var c=o.length,g=c,w=!a;if(e==null)return!g;for(e=Re(e);c--;){var b=o[c];if(w&&b[2]?b[1]!==e[b[0]]:!(b[0]in e))return!1}for(;++c<g;){b=o[c];var S=b[0],L=e[S],F=b[1];if(w&&b[2]){if(L===i&&!(S in e))return!1}else{var D=new Zt;if(a)var J=a(L,F,S,e,t,D);if(!(J===i?jr(F,L,k|I,a,D):J))return!1}}return!0}function Zl(e){if(!Le(e)||up(e))return!1;var t=ln(e)?T1:v0;return t.test(Un(e))}function $h(e){return Fe(e)&&tt(e)==zn}function kh(e){return Fe(e)&&Qe(e)==mt}function Rh(e){return Fe(e)&&Xi(e.length)&&!!Oe[tt(e)]}function Nl(e){return typeof e=="function"?e:e==null?ct:typeof e=="object"?ce(e)?ql(e[0],e[1]):Ul(e):fc(e)}function da(e){if(!Zr(e))return P1(e);var t=[];for(var o in Re(e))Ae.call(e,o)&&o!="constructor"&&t.push(o);return t}function Ih(e){if(!Le(e))return hp(e);var t=Zr(e),o=[];for(var a in e)a=="constructor"&&(t||!Ae.call(e,a))||o.push(a);return o}function fa(e,t){return e<t}function Vl(e,t){var o=-1,a=lt(e)?$(e.length):[];return En(e,function(c,g,w){a[++o]=t(c,g,w)}),a}function Ul(e){var t=Ta(e);return t.length==1&&t[0][2]?Au(t[0][0],t[0][1]):function(o){return o===e||ca(o,e,t)}}function ql(e,t){return ka(e)&&Eu(t)?Au(Yt(e),t):function(o){var a=Wa(o,e);return a===i&&a===t?ja(o,e):jr(t,a,k|I)}}function Mi(e,t,o,a,c){e!==t&&aa(t,function(g,w){if(c||(c=new Zt),Le(g))Oh(e,t,w,o,Mi,a,c);else{var b=a?a(Ia(e,w),g,w+"",e,t,c):i;b===i&&(b=g),ia(e,w,b)}},ut)}function Oh(e,t,o,a,c,g,w){var b=Ia(e,o),S=Ia(t,o),L=w.get(S);if(L){ia(e,o,L);return}var F=g?g(b,S,o+"",e,t,w):i,D=F===i;if(D){var J=ce(S),re=!J&&kn(S),se=!J&&!re&&pr(S);F=S,J||re||se?ce(b)?F=b:We(b)?F=st(b):re?(D=!1,F=ou(S,!0)):se?(D=!1,F=au(S,!0)):F=[]:Vr(S)||qn(S)?(F=b,qn(b)?F=nc(b):(!Le(b)||ln(b))&&(F=Su(S))):D=!1}D&&(w.set(S,F),c(F,S,a,g,w),w.delete(S)),ia(e,o,F)}function Gl(e,t){var o=e.length;if(o)return t+=t<0?o:0,sn(t,o)?e[t]:i}function Kl(e,t,o){t.length?t=Me(t,function(g){return ce(g)?function(w){return Nn(w,g.length===1?g[0]:g)}:g}):t=[ct];var a=-1;t=Me(t,wt(ae()));var c=Vl(e,function(g,w,b){var S=Me(t,function(L){return L(g)});return{criteria:S,index:++a,value:g}});return o1(c,function(g,w){return Vh(g,w,o)})}function Ph(e,t){return Xl(e,t,function(o,a){return ja(e,a)})}function Xl(e,t,o){for(var a=-1,c=t.length,g={};++a<c;){var w=t[a],b=Nn(e,w);o(b,w)&&Dr(g,Tn(w,e),b)}return g}function Mh(e){return function(t){return Nn(t,e)}}function ha(e,t,o,a){var c=a?i1:rr,g=-1,w=t.length,b=e;for(e===t&&(t=st(t)),o&&(b=Me(e,wt(o)));++g<w;)for(var S=0,L=t[g],F=o?o(L):L;(S=c(b,F,S,a))>-1;)b!==e&&Si.call(b,S,1),Si.call(e,S,1);return e}function Yl(e,t){for(var o=e?t.length:0,a=o-1;o--;){var c=t[o];if(o==a||c!==g){var g=c;sn(c)?Si.call(e,c,1):va(e,c)}}return e}function pa(e,t){return e+Ti(Il()*(t-e+1))}function Lh(e,t,o,a){for(var c=-1,g=Ue(Ai((t-e)/(o||1)),0),w=$(g);g--;)w[a?g:++c]=e,e+=o;return w}function ga(e,t){var o="";if(!e||t<1||t>oe)return o;do t%2&&(o+=e),t=Ti(t/2),t&&(e+=e);while(t);return o}function pe(e,t){return Oa(Tu(e,t,ct),e+"")}function Fh(e){return Ml(gr(e))}function zh(e,t){var o=gr(e);return Ni(o,Zn(t,0,o.length))}function Dr(e,t,o,a){if(!Le(e))return e;t=Tn(t,e);for(var c=-1,g=t.length,w=g-1,b=e;b!=null&&++c<g;){var S=Yt(t[c]),L=o;if(S==="__proto__"||S==="constructor"||S==="prototype")return e;if(c!=w){var F=b[S];L=a?a(F,S,b):i,L===i&&(L=Le(F)?F:sn(t[c+1])?[]:{})}zr(b,S,L),b=b[S]}return e}var Ql=$i?function(e,t){return $i.set(e,t),e}:ct,Bh=Ei?function(e,t){return Ei(e,"toString",{configurable:!0,enumerable:!1,value:Ha(t),writable:!0})}:ct;function Wh(e){return Ni(gr(e))}function It(e,t,o){var a=-1,c=e.length;t<0&&(t=-t>c?0:c+t),o=o>c?c:o,o<0&&(o+=c),c=t>o?0:o-t>>>0,t>>>=0;for(var g=$(c);++a<c;)g[a]=e[a+t];return g}function jh(e,t){var o;return En(e,function(a,c,g){return o=t(a,c,g),!o}),!!o}function Li(e,t,o){var a=0,c=e==null?a:e.length;if(typeof t=="number"&&t===t&&c<=De){for(;a<c;){var g=a+c>>>1,w=e[g];w!==null&&!yt(w)&&(o?w<=t:w<t)?a=g+1:c=g}return c}return ma(e,t,ct,o)}function ma(e,t,o,a){var c=0,g=e==null?0:e.length;if(g===0)return 0;t=o(t);for(var w=t!==t,b=t===null,S=yt(t),L=t===i;c<g;){var F=Ti((c+g)/2),D=o(e[F]),J=D!==i,re=D===null,se=D===D,he=yt(D);if(w)var le=a||se;else L?le=se&&(a||J):b?le=se&&J&&(a||!re):S?le=se&&J&&!re&&(a||!he):re||he?le=!1:le=a?D<=t:D<t;le?c=F+1:g=F}return Ye(g,St)}function Jl(e,t){for(var o=-1,a=e.length,c=0,g=[];++o<a;){var w=e[o],b=t?t(w):w;if(!o||!Nt(b,S)){var S=b;g[c++]=w===0?0:w}}return g}function eu(e){return typeof e=="number"?e:yt(e)?ke:+e}function bt(e){if(typeof e=="string")return e;if(ce(e))return Me(e,bt)+"";if(yt(e))return Ol?Ol.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function An(e,t,o){var a=-1,c=pi,g=e.length,w=!0,b=[],S=b;if(o)w=!1,c=Vo;else if(g>=l){var L=t?null:Yh(e);if(L)return mi(L);w=!1,c=Ir,S=new Hn}else S=t?[]:b;e:for(;++a<g;){var F=e[a],D=t?t(F):F;if(F=o||F!==0?F:0,w&&D===D){for(var J=S.length;J--;)if(S[J]===D)continue e;t&&S.push(D),b.push(F)}else c(S,D,o)||(S!==b&&S.push(D),b.push(F))}return b}function va(e,t){return t=Tn(t,e),e=$u(e,t),e==null||delete e[Yt(Ot(t))]}function tu(e,t,o,a){return Dr(e,t,o(Nn(e,t)),a)}function Fi(e,t,o,a){for(var c=e.length,g=a?c:-1;(a?g--:++g<c)&&t(e[g],g,e););return o?It(e,a?0:g,a?g+1:c):It(e,a?g+1:0,a?c:g)}function nu(e,t){var o=e;return o instanceof ve&&(o=o.value()),Uo(t,function(a,c){return c.func.apply(c.thisArg,_n([a],c.args))},o)}function wa(e,t,o){var a=e.length;if(a<2)return a?An(e[0]):[];for(var c=-1,g=$(a);++c<a;)for(var w=e[c],b=-1;++b<a;)b!=c&&(g[c]=Br(g[c]||w,e[b],t,o));return An(Xe(g,1),t,o)}function ru(e,t,o){for(var a=-1,c=e.length,g=t.length,w={};++a<c;){var b=a<g?t[a]:i;o(w,e[a],b)}return w}function ba(e){return We(e)?e:[]}function ya(e){return typeof e=="function"?e:ct}function Tn(e,t){return ce(e)?e:ka(e,t)?[e]:Ou(Se(e))}var Dh=pe;function $n(e,t,o){var a=e.length;return o=o===i?a:o,!t&&o>=a?e:It(e,t,o)}var iu=$1||function(e){return Ke.clearTimeout(e)};function ou(e,t){if(t)return e.slice();var o=e.length,a=Al?Al(o):new e.constructor(o);return e.copy(a),a}function xa(e){var t=new e.constructor(e.byteLength);return new _i(t).set(new _i(e)),t}function Hh(e,t){var o=t?xa(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.byteLength)}function Zh(e){var t=new e.constructor(e.source,Hs.exec(e));return t.lastIndex=e.lastIndex,t}function Nh(e){return Fr?Re(Fr.call(e)):{}}function au(e,t){var o=t?xa(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}function su(e,t){if(e!==t){var o=e!==i,a=e===null,c=e===e,g=yt(e),w=t!==i,b=t===null,S=t===t,L=yt(t);if(!b&&!L&&!g&&e>t||g&&w&&S&&!b&&!L||a&&w&&S||!o&&S||!c)return 1;if(!a&&!g&&!L&&e<t||L&&o&&c&&!a&&!g||b&&o&&c||!w&&c||!S)return-1}return 0}function Vh(e,t,o){for(var a=-1,c=e.criteria,g=t.criteria,w=c.length,b=o.length;++a<w;){var S=su(c[a],g[a]);if(S){if(a>=b)return S;var L=o[a];return S*(L=="desc"?-1:1)}}return e.index-t.index}function lu(e,t,o,a){for(var c=-1,g=e.length,w=o.length,b=-1,S=t.length,L=Ue(g-w,0),F=$(S+L),D=!a;++b<S;)F[b]=t[b];for(;++c<w;)(D||c<g)&&(F[o[c]]=e[c]);for(;L--;)F[b++]=e[c++];return F}function uu(e,t,o,a){for(var c=-1,g=e.length,w=-1,b=o.length,S=-1,L=t.length,F=Ue(g-b,0),D=$(F+L),J=!a;++c<F;)D[c]=e[c];for(var re=c;++S<L;)D[re+S]=t[S];for(;++w<b;)(J||c<g)&&(D[re+o[w]]=e[c++]);return D}function st(e,t){var o=-1,a=e.length;for(t||(t=$(a));++o<a;)t[o]=e[o];return t}function Xt(e,t,o,a){var c=!o;o||(o={});for(var g=-1,w=t.length;++g<w;){var b=t[g],S=a?a(o[b],e[b],b,o,e):i;S===i&&(S=e[b]),c?rn(o,b,S):zr(o,b,S)}return o}function Uh(e,t){return Xt(e,$a(e),t)}function qh(e,t){return Xt(e,_u(e),t)}function zi(e,t){return function(o,a){var c=ce(o)?Q0:gh,g=t?t():{};return c(o,e,ae(a,2),g)}}function dr(e){return pe(function(t,o){var a=-1,c=o.length,g=c>1?o[c-1]:i,w=c>2?o[2]:i;for(g=e.length>3&&typeof g=="function"?(c--,g):i,w&&nt(o[0],o[1],w)&&(g=c<3?i:g,c=1),t=Re(t);++a<c;){var b=o[a];b&&e(t,b,a,g)}return t})}function cu(e,t){return function(o,a){if(o==null)return o;if(!lt(o))return e(o,a);for(var c=o.length,g=t?c:-1,w=Re(o);(t?g--:++g<c)&&a(w[g],g,w)!==!1;);return o}}function du(e){return function(t,o,a){for(var c=-1,g=Re(t),w=a(t),b=w.length;b--;){var S=w[e?b:++c];if(o(g[S],S,g)===!1)break}return t}}function Gh(e,t,o){var a=t&P,c=Hr(e);function g(){var w=this&&this!==Ke&&this instanceof g?c:e;return w.apply(a?o:this,arguments)}return g}function fu(e){return function(t){t=Se(t);var o=ir(t)?Ht(t):i,a=o?o[0]:t.charAt(0),c=o?$n(o,1).join(""):t.slice(1);return a[e]()+c}}function fr(e){return function(t){return Uo(cc(uc(t).replace(B0,"")),e,"")}}function Hr(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var o=cr(e.prototype),a=e.apply(o,t);return Le(a)?a:o}}function Kh(e,t,o){var a=Hr(e);function c(){for(var g=arguments.length,w=$(g),b=g,S=hr(c);b--;)w[b]=arguments[b];var L=g<3&&w[0]!==S&&w[g-1]!==S?[]:Cn(w,S);if(g-=L.length,g<o)return vu(e,t,Bi,c.placeholder,i,w,L,i,i,o-g);var F=this&&this!==Ke&&this instanceof c?a:e;return vt(F,this,w)}return c}function hu(e){return function(t,o,a){var c=Re(t);if(!lt(t)){var g=ae(o,3);t=Ge(t),o=function(b){return g(c[b],b,c)}}var w=e(t,o,a);return w>-1?c[g?t[w]:w]:i}}function pu(e){return an(function(t){var o=t.length,a=o,c=kt.prototype.thru;for(e&&t.reverse();a--;){var g=t[a];if(typeof g!="function")throw new $t(d);if(c&&!w&&Hi(g)=="wrapper")var w=new kt([],!0)}for(a=w?a:o;++a<o;){g=t[a];var b=Hi(g),S=b=="wrapper"?Aa(g):i;S&&Ra(S[0])&&S[1]==(q|R|U|Y)&&!S[4].length&&S[9]==1?w=w[Hi(S[0])].apply(w,S[3]):w=g.length==1&&Ra(g)?w[b]():w.thru(g)}return function(){var L=arguments,F=L[0];if(w&&L.length==1&&ce(F))return w.plant(F).value();for(var D=0,J=o?t[D].apply(this,L):F;++D<o;)J=t[D].call(this,J);return J}})}function Bi(e,t,o,a,c,g,w,b,S,L){var F=t&q,D=t&P,J=t&z,re=t&(R|H),se=t&we,he=J?i:Hr(e);function le(){for(var me=arguments.length,be=$(me),xt=me;xt--;)be[xt]=arguments[xt];if(re)var rt=hr(le),_t=s1(be,rt);if(a&&(be=lu(be,a,c,re)),g&&(be=uu(be,g,w,re)),me-=_t,re&&me<L){var je=Cn(be,rt);return vu(e,t,Bi,le.placeholder,o,be,je,b,S,L-me)}var Vt=D?o:this,cn=J?Vt[e]:e;return me=be.length,b?be=gp(be,b):se&&me>1&&be.reverse(),F&&S<me&&(be.length=S),this&&this!==Ke&&this instanceof le&&(cn=he||Hr(cn)),cn.apply(Vt,be)}return le}function gu(e,t){return function(o,a){return Ch(o,e,t(a),{})}}function Wi(e,t){return function(o,a){var c;if(o===i&&a===i)return t;if(o!==i&&(c=o),a!==i){if(c===i)return a;typeof o=="string"||typeof a=="string"?(o=bt(o),a=bt(a)):(o=eu(o),a=eu(a)),c=e(o,a)}return c}}function _a(e){return an(function(t){return t=Me(t,wt(ae())),pe(function(o){var a=this;return e(t,function(c){return vt(c,a,o)})})})}function ji(e,t){t=t===i?" ":bt(t);var o=t.length;if(o<2)return o?ga(t,e):t;var a=ga(t,Ai(e/or(t)));return ir(t)?$n(Ht(a),0,e).join(""):a.slice(0,e)}function Xh(e,t,o,a){var c=t&P,g=Hr(e);function w(){for(var b=-1,S=arguments.length,L=-1,F=a.length,D=$(F+S),J=this&&this!==Ke&&this instanceof w?g:e;++L<F;)D[L]=a[L];for(;S--;)D[L++]=arguments[++b];return vt(J,c?o:this,D)}return w}function mu(e){return function(t,o,a){return a&&typeof a!="number"&&nt(t,o,a)&&(o=a=i),t=un(t),o===i?(o=t,t=0):o=un(o),a=a===i?t<o?1:-1:un(a),Lh(t,o,a,e)}}function Di(e){return function(t,o){return typeof t=="string"&&typeof o=="string"||(t=Pt(t),o=Pt(o)),e(t,o)}}function vu(e,t,o,a,c,g,w,b,S,L){var F=t&R,D=F?w:i,J=F?i:w,re=F?g:i,se=F?i:g;t|=F?U:G,t&=~(F?G:U),t&A||(t&=-4);var he=[e,t,c,re,D,se,J,b,S,L],le=o.apply(i,he);return Ra(e)&&ku(le,he),le.placeholder=a,Ru(le,e,t)}function Ca(e){var t=Ve[e];return function(o,a){if(o=Pt(o),a=a==null?0:Ye(fe(a),292),a&&Rl(o)){var c=(Se(o)+"e").split("e"),g=t(c[0]+"e"+(+c[1]+a));return c=(Se(g)+"e").split("e"),+(c[0]+"e"+(+c[1]-a))}return t(o)}}var Yh=lr&&1/mi(new lr([,-0]))[1]==ee?function(e){return new lr(e)}:Va;function wu(e){return function(t){var o=Qe(t);return o==Ze?Jo(t):o==mt?p1(t):a1(t,e(t))}}function on(e,t,o,a,c,g,w,b){var S=t&z;if(!S&&typeof e!="function")throw new $t(d);var L=a?a.length:0;if(L||(t&=-97,a=c=i),w=w===i?w:Ue(fe(w),0),b=b===i?b:fe(b),L-=c?c.length:0,t&G){var F=a,D=c;a=c=i}var J=S?i:Aa(e),re=[e,t,o,a,c,F,D,g,w,b];if(J&&fp(re,J),e=re[0],t=re[1],o=re[2],a=re[3],c=re[4],b=re[9]=re[9]===i?S?0:e.length:Ue(re[9]-L,0),!b&&t&(R|H)&&(t&=-25),!t||t==P)var se=Gh(e,t,o);else t==R||t==H?se=Kh(e,t,b):(t==U||t==(P|U))&&!c.length?se=Xh(e,t,o,a):se=Bi.apply(i,re);var he=J?Ql:ku;return Ru(he(se,re),e,t)}function bu(e,t,o,a){return e===i||Nt(e,sr[o])&&!Ae.call(a,o)?t:e}function yu(e,t,o,a,c,g){return Le(e)&&Le(t)&&(g.set(t,e),Mi(e,t,i,yu,g),g.delete(t)),e}function Qh(e){return Vr(e)?i:e}function xu(e,t,o,a,c,g){var w=o&k,b=e.length,S=t.length;if(b!=S&&!(w&&S>b))return!1;var L=g.get(e),F=g.get(t);if(L&&F)return L==t&&F==e;var D=-1,J=!0,re=o&I?new Hn:i;for(g.set(e,t),g.set(t,e);++D<b;){var se=e[D],he=t[D];if(a)var le=w?a(he,se,D,t,e,g):a(se,he,D,e,t,g);if(le!==i){if(le)continue;J=!1;break}if(re){if(!qo(t,function(me,be){if(!Ir(re,be)&&(se===me||c(se,me,o,a,g)))return re.push(be)})){J=!1;break}}else if(!(se===he||c(se,he,o,a,g))){J=!1;break}}return g.delete(e),g.delete(t),J}function Jh(e,t,o,a,c,g,w){switch(o){case Dt:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case en:return!(e.byteLength!=t.byteLength||!g(new _i(e),new _i(t)));case Gt:case bn:case Fn:return Nt(+e,+t);case He:return e.name==t.name&&e.message==t.message;case zn:case Bn:return e==t+"";case Ze:var b=Jo;case mt:var S=a&k;if(b||(b=mi),e.size!=t.size&&!S)return!1;var L=w.get(e);if(L)return L==t;a|=I,w.set(e,t);var F=xu(b(e),b(t),a,c,g,w);return w.delete(e),F;case ne:if(Fr)return Fr.call(e)==Fr.call(t)}return!1}function ep(e,t,o,a,c,g){var w=o&k,b=Sa(e),S=b.length,L=Sa(t),F=L.length;if(S!=F&&!w)return!1;for(var D=S;D--;){var J=b[D];if(!(w?J in t:Ae.call(t,J)))return!1}var re=g.get(e),se=g.get(t);if(re&&se)return re==t&&se==e;var he=!0;g.set(e,t),g.set(t,e);for(var le=w;++D<S;){J=b[D];var me=e[J],be=t[J];if(a)var xt=w?a(be,me,J,t,e,g):a(me,be,J,e,t,g);if(!(xt===i?me===be||c(me,be,o,a,g):xt)){he=!1;break}le||(le=J=="constructor")}if(he&&!le){var rt=e.constructor,_t=t.constructor;rt!=_t&&"constructor"in e&&"constructor"in t&&!(typeof rt=="function"&&rt instanceof rt&&typeof _t=="function"&&_t instanceof _t)&&(he=!1)}return g.delete(e),g.delete(t),he}function an(e){return Oa(Tu(e,i,Fu),e+"")}function Sa(e){return Dl(e,Ge,$a)}function Ea(e){return Dl(e,ut,_u)}var Aa=$i?function(e){return $i.get(e)}:Va;function Hi(e){for(var t=e.name+"",o=ur[t],a=Ae.call(ur,t)?o.length:0;a--;){var c=o[a],g=c.func;if(g==null||g==e)return c.name}return t}function hr(e){var t=Ae.call(f,"placeholder")?f:e;return t.placeholder}function ae(){var e=f.iteratee||Za;return e=e===Za?Nl:e,arguments.length?e(arguments[0],arguments[1]):e}function Zi(e,t){var o=e.__data__;return lp(t)?o[typeof t=="string"?"string":"hash"]:o.map}function Ta(e){for(var t=Ge(e),o=t.length;o--;){var a=t[o],c=e[a];t[o]=[a,c,Eu(c)]}return t}function Vn(e,t){var o=d1(e,t);return Zl(o)?o:i}function tp(e){var t=Ae.call(e,jn),o=e[jn];try{e[jn]=i;var a=!0}catch{}var c=yi.call(e);return a&&(t?e[jn]=o:delete e[jn]),c}var $a=ta?function(e){return e==null?[]:(e=Re(e),xn(ta(e),function(t){return $l.call(e,t)}))}:Ua,_u=ta?function(e){for(var t=[];e;)_n(t,$a(e)),e=Ci(e);return t}:Ua,Qe=tt;(na&&Qe(new na(new ArrayBuffer(1)))!=Dt||Pr&&Qe(new Pr)!=Ze||ra&&Qe(ra.resolve())!=kr||lr&&Qe(new lr)!=mt||Mr&&Qe(new Mr)!=Be)&&(Qe=function(e){var t=tt(e),o=t==Et?e.constructor:i,a=o?Un(o):"";if(a)switch(a){case z1:return Dt;case B1:return Ze;case W1:return kr;case j1:return mt;case D1:return Be}return t});function np(e,t,o){for(var a=-1,c=o.length;++a<c;){var g=o[a],w=g.size;switch(g.type){case"drop":e+=w;break;case"dropRight":t-=w;break;case"take":t=Ye(t,e+w);break;case"takeRight":e=Ue(e,t-w);break}}return{start:e,end:t}}function rp(e){var t=e.match(u0);return t?t[1].split(c0):[]}function Cu(e,t,o){t=Tn(t,e);for(var a=-1,c=t.length,g=!1;++a<c;){var w=Yt(t[a]);if(!(g=e!=null&&o(e,w)))break;e=e[w]}return g||++a!=c?g:(c=e==null?0:e.length,!!c&&Xi(c)&&sn(w,c)&&(ce(e)||qn(e)))}function ip(e){var t=e.length,o=new e.constructor(t);return t&&typeof e[0]=="string"&&Ae.call(e,"index")&&(o.index=e.index,o.input=e.input),o}function Su(e){return typeof e.constructor=="function"&&!Zr(e)?cr(Ci(e)):{}}function op(e,t,o){var a=e.constructor;switch(t){case en:return xa(e);case Gt:case bn:return new a(+e);case Dt:return Hh(e,o);case To:case $o:case ko:case Ro:case Io:case Oo:case Po:case Mo:case Lo:return au(e,o);case Ze:return new a;case Fn:case Bn:return new a(e);case zn:return Zh(e);case mt:return new a;case ne:return Nh(e)}}function ap(e,t){var o=t.length;if(!o)return e;var a=o-1;return t[a]=(o>1?"& ":"")+t[a],t=t.join(o>2?", ":" "),e.replace(l0,`{
|
|
8
|
+
*/var J2=_r.exports,Jl;function em(){return Jl||(Jl=1,function(n,i){(function(){var r,s="4.17.21",l=200,u="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",h="Expected a function",g="Invalid `variable` option passed into `_.template`",v="__lodash_hash_undefined__",m=500,k="__lodash_placeholder__",R=1,b=2,x=4,y=1,C=2,_=1,L=2,I=4,T=8,O=16,F=32,N=64,Z=128,U=256,de=512,pe=30,Ce="...",W=800,B=16,H=1,ee=2,X=3,Q=1/0,K=9007199254740991,me=17976931348623157e292,Se=NaN,Re=4294967295,Ue=Re-1,Oe=Re>>>1,qe=[["ary",Z],["bind",_],["bindKey",L],["curry",T],["curryRight",O],["flip",de],["partial",F],["partialRight",N],["rearg",U]],Je="[object Arguments]",Ke="[object Array]",Dt="[object AsyncFunction]",wt="[object Boolean]",yt="[object Date]",Nt="[object DOMException]",Pe="[object Error]",Xe="[object Function]",xt="[object GeneratorFunction]",Be="[object Map]",dt="[object Number]",or="[object Null]",et="[object Object]",Zt="[object Promise]",Kt="[object Proxy]",en="[object RegExp]",tt="[object Set]",Xt="[object String]",G="[object Symbol]",Ee="[object Undefined]",Me="[object WeakMap]",ae="[object WeakSet]",ue="[object ArrayBuffer]",te="[object DataView]",Te="[object Float32Array]",_t="[object Float64Array]",ft="[object Int8Array]",xe="[object Int16Array]",oe="[object Int32Array]",ht="[object Uint8Array]",Sn="[object Uint8ClampedArray]",jn="[object Uint16Array]",zi="[object Uint32Array]",md=/\b__p \+= '';/g,vd=/\b(__p \+=) '' \+/g,bd=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Sa=/&(?:amp|lt|gt|quot|#39);/g,Ea=/[&<>"']/g,wd=RegExp(Sa.source),yd=RegExp(Ea.source),xd=/<%-([\s\S]+?)%>/g,_d=/<%([\s\S]+?)%>/g,Aa=/<%=([\s\S]+?)%>/g,Cd=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Sd=/^\w*$/,Ed=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Bi=/[\\^$.*+?()[\]{}|]/g,Ad=RegExp(Bi.source),ji=/^\s+/,Td=/\s/,kd=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,$d=/\{\n\/\* \[wrapped with (.+)\] \*/,Rd=/,? & /,Id=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Od=/[()=,{}\[\]\/\s]/,Pd=/\\(\\)?/g,Md=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ta=/\w*$/,Ld=/^[-+]0x[0-9a-f]+$/i,Fd=/^0b[01]+$/i,zd=/^\[object .+?Constructor\]$/,Bd=/^0o[0-7]+$/i,jd=/^(?:0|[1-9]\d*)$/,Wd=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Rr=/($^)/,Dd=/['\n\r\u2028\u2029\\]/g,Ir="\\ud800-\\udfff",Nd="\\u0300-\\u036f",Zd="\\ufe20-\\ufe2f",Hd="\\u20d0-\\u20ff",ka=Nd+Zd+Hd,$a="\\u2700-\\u27bf",Ra="a-z\\xdf-\\xf6\\xf8-\\xff",Vd="\\xac\\xb1\\xd7\\xf7",Ud="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",qd="\\u2000-\\u206f",Gd=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ia="A-Z\\xc0-\\xd6\\xd8-\\xde",Oa="\\ufe0e\\ufe0f",Pa=Vd+Ud+qd+Gd,Wi="['’]",Kd="["+Ir+"]",Ma="["+Pa+"]",Or="["+ka+"]",La="\\d+",Xd="["+$a+"]",Fa="["+Ra+"]",za="[^"+Ir+Pa+La+$a+Ra+Ia+"]",Di="\\ud83c[\\udffb-\\udfff]",Yd="(?:"+Or+"|"+Di+")",Ba="[^"+Ir+"]",Ni="(?:\\ud83c[\\udde6-\\uddff]){2}",Zi="[\\ud800-\\udbff][\\udc00-\\udfff]",Wn="["+Ia+"]",ja="\\u200d",Wa="(?:"+Fa+"|"+za+")",Qd="(?:"+Wn+"|"+za+")",Da="(?:"+Wi+"(?:d|ll|m|re|s|t|ve))?",Na="(?:"+Wi+"(?:D|LL|M|RE|S|T|VE))?",Za=Yd+"?",Ha="["+Oa+"]?",Jd="(?:"+ja+"(?:"+[Ba,Ni,Zi].join("|")+")"+Ha+Za+")*",ef="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",tf="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Va=Ha+Za+Jd,nf="(?:"+[Xd,Ni,Zi].join("|")+")"+Va,rf="(?:"+[Ba+Or+"?",Or,Ni,Zi,Kd].join("|")+")",of=RegExp(Wi,"g"),af=RegExp(Or,"g"),Hi=RegExp(Di+"(?="+Di+")|"+rf+Va,"g"),sf=RegExp([Wn+"?"+Fa+"+"+Da+"(?="+[Ma,Wn,"$"].join("|")+")",Qd+"+"+Na+"(?="+[Ma,Wn+Wa,"$"].join("|")+")",Wn+"?"+Wa+"+"+Da,Wn+"+"+Na,tf,ef,La,nf].join("|"),"g"),lf=RegExp("["+ja+Ir+ka+Oa+"]"),uf=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,cf=["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"],df=-1,Fe={};Fe[Te]=Fe[_t]=Fe[ft]=Fe[xe]=Fe[oe]=Fe[ht]=Fe[Sn]=Fe[jn]=Fe[zi]=!0,Fe[Je]=Fe[Ke]=Fe[ue]=Fe[wt]=Fe[te]=Fe[yt]=Fe[Pe]=Fe[Xe]=Fe[Be]=Fe[dt]=Fe[et]=Fe[en]=Fe[tt]=Fe[Xt]=Fe[Me]=!1;var Le={};Le[Je]=Le[Ke]=Le[ue]=Le[te]=Le[wt]=Le[yt]=Le[Te]=Le[_t]=Le[ft]=Le[xe]=Le[oe]=Le[Be]=Le[dt]=Le[et]=Le[en]=Le[tt]=Le[Xt]=Le[G]=Le[ht]=Le[Sn]=Le[jn]=Le[zi]=!0,Le[Pe]=Le[Xe]=Le[Me]=!1;var ff={À:"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"},hf={"&":"&","<":"<",">":">",'"':""","'":"'"},pf={"&":"&","<":"<",">":">",""":'"',"'":"'"},gf={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},mf=parseFloat,vf=parseInt,Ua=typeof bi=="object"&&bi&&bi.Object===Object&&bi,bf=typeof self=="object"&&self&&self.Object===Object&&self,Ye=Ua||bf||Function("return this")(),Vi=i&&!i.nodeType&&i,En=Vi&&!0&&n&&!n.nodeType&&n,qa=En&&En.exports===Vi,Ui=qa&&Ua.process,Rt=function(){try{var A=En&&En.require&&En.require("util").types;return A||Ui&&Ui.binding&&Ui.binding("util")}catch{}}(),Ga=Rt&&Rt.isArrayBuffer,Ka=Rt&&Rt.isDate,Xa=Rt&&Rt.isMap,Ya=Rt&&Rt.isRegExp,Qa=Rt&&Rt.isSet,Ja=Rt&&Rt.isTypedArray;function Ct(A,M,P){switch(P.length){case 0:return A.call(M);case 1:return A.call(M,P[0]);case 2:return A.call(M,P[0],P[1]);case 3:return A.call(M,P[0],P[1],P[2])}return A.apply(M,P)}function wf(A,M,P,Y){for(var se=-1,Ae=A==null?0:A.length;++se<Ae;){var Ze=A[se];M(Y,Ze,P(Ze),A)}return Y}function It(A,M){for(var P=-1,Y=A==null?0:A.length;++P<Y&&M(A[P],P,A)!==!1;);return A}function yf(A,M){for(var P=A==null?0:A.length;P--&&M(A[P],P,A)!==!1;);return A}function es(A,M){for(var P=-1,Y=A==null?0:A.length;++P<Y;)if(!M(A[P],P,A))return!1;return!0}function pn(A,M){for(var P=-1,Y=A==null?0:A.length,se=0,Ae=[];++P<Y;){var Ze=A[P];M(Ze,P,A)&&(Ae[se++]=Ze)}return Ae}function Pr(A,M){var P=A==null?0:A.length;return!!P&&Dn(A,M,0)>-1}function qi(A,M,P){for(var Y=-1,se=A==null?0:A.length;++Y<se;)if(P(M,A[Y]))return!0;return!1}function ze(A,M){for(var P=-1,Y=A==null?0:A.length,se=Array(Y);++P<Y;)se[P]=M(A[P],P,A);return se}function gn(A,M){for(var P=-1,Y=M.length,se=A.length;++P<Y;)A[se+P]=M[P];return A}function Gi(A,M,P,Y){var se=-1,Ae=A==null?0:A.length;for(Y&&Ae&&(P=A[++se]);++se<Ae;)P=M(P,A[se],se,A);return P}function xf(A,M,P,Y){var se=A==null?0:A.length;for(Y&&se&&(P=A[--se]);se--;)P=M(P,A[se],se,A);return P}function Ki(A,M){for(var P=-1,Y=A==null?0:A.length;++P<Y;)if(M(A[P],P,A))return!0;return!1}var _f=Xi("length");function Cf(A){return A.split("")}function Sf(A){return A.match(Id)||[]}function ts(A,M,P){var Y;return P(A,function(se,Ae,Ze){if(M(se,Ae,Ze))return Y=Ae,!1}),Y}function Mr(A,M,P,Y){for(var se=A.length,Ae=P+(Y?1:-1);Y?Ae--:++Ae<se;)if(M(A[Ae],Ae,A))return Ae;return-1}function Dn(A,M,P){return M===M?Ff(A,M,P):Mr(A,ns,P)}function Ef(A,M,P,Y){for(var se=P-1,Ae=A.length;++se<Ae;)if(Y(A[se],M))return se;return-1}function ns(A){return A!==A}function rs(A,M){var P=A==null?0:A.length;return P?Qi(A,M)/P:Se}function Xi(A){return function(M){return M==null?r:M[A]}}function Yi(A){return function(M){return A==null?r:A[M]}}function is(A,M,P,Y,se){return se(A,function(Ae,Ze,Ie){P=Y?(Y=!1,Ae):M(P,Ae,Ze,Ie)}),P}function Af(A,M){var P=A.length;for(A.sort(M);P--;)A[P]=A[P].value;return A}function Qi(A,M){for(var P,Y=-1,se=A.length;++Y<se;){var Ae=M(A[Y]);Ae!==r&&(P=P===r?Ae:P+Ae)}return P}function Ji(A,M){for(var P=-1,Y=Array(A);++P<A;)Y[P]=M(P);return Y}function Tf(A,M){return ze(M,function(P){return[P,A[P]]})}function os(A){return A&&A.slice(0,us(A)+1).replace(ji,"")}function St(A){return function(M){return A(M)}}function eo(A,M){return ze(M,function(P){return A[P]})}function ar(A,M){return A.has(M)}function as(A,M){for(var P=-1,Y=A.length;++P<Y&&Dn(M,A[P],0)>-1;);return P}function ss(A,M){for(var P=A.length;P--&&Dn(M,A[P],0)>-1;);return P}function kf(A,M){for(var P=A.length,Y=0;P--;)A[P]===M&&++Y;return Y}var $f=Yi(ff),Rf=Yi(hf);function If(A){return"\\"+gf[A]}function Of(A,M){return A==null?r:A[M]}function Nn(A){return lf.test(A)}function Pf(A){return uf.test(A)}function Mf(A){for(var M,P=[];!(M=A.next()).done;)P.push(M.value);return P}function to(A){var M=-1,P=Array(A.size);return A.forEach(function(Y,se){P[++M]=[se,Y]}),P}function ls(A,M){return function(P){return A(M(P))}}function mn(A,M){for(var P=-1,Y=A.length,se=0,Ae=[];++P<Y;){var Ze=A[P];(Ze===M||Ze===k)&&(A[P]=k,Ae[se++]=P)}return Ae}function Lr(A){var M=-1,P=Array(A.size);return A.forEach(function(Y){P[++M]=Y}),P}function Lf(A){var M=-1,P=Array(A.size);return A.forEach(function(Y){P[++M]=[Y,Y]}),P}function Ff(A,M,P){for(var Y=P-1,se=A.length;++Y<se;)if(A[Y]===M)return Y;return-1}function zf(A,M,P){for(var Y=P+1;Y--;)if(A[Y]===M)return Y;return Y}function Zn(A){return Nn(A)?jf(A):_f(A)}function Ht(A){return Nn(A)?Wf(A):Cf(A)}function us(A){for(var M=A.length;M--&&Td.test(A.charAt(M)););return M}var Bf=Yi(pf);function jf(A){for(var M=Hi.lastIndex=0;Hi.test(A);)++M;return M}function Wf(A){return A.match(Hi)||[]}function Df(A){return A.match(sf)||[]}var Nf=function A(M){M=M==null?Ye:Hn.defaults(Ye.Object(),M,Hn.pick(Ye,cf));var P=M.Array,Y=M.Date,se=M.Error,Ae=M.Function,Ze=M.Math,Ie=M.Object,no=M.RegExp,Zf=M.String,Ot=M.TypeError,Fr=P.prototype,Hf=Ae.prototype,Vn=Ie.prototype,zr=M["__core-js_shared__"],Br=Hf.toString,$e=Vn.hasOwnProperty,Vf=0,cs=function(){var e=/[^.]+$/.exec(zr&&zr.keys&&zr.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),jr=Vn.toString,Uf=Br.call(Ie),qf=Ye._,Gf=no("^"+Br.call($e).replace(Bi,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Wr=qa?M.Buffer:r,vn=M.Symbol,Dr=M.Uint8Array,ds=Wr?Wr.allocUnsafe:r,Nr=ls(Ie.getPrototypeOf,Ie),fs=Ie.create,hs=Vn.propertyIsEnumerable,Zr=Fr.splice,ps=vn?vn.isConcatSpreadable:r,sr=vn?vn.iterator:r,An=vn?vn.toStringTag:r,Hr=function(){try{var e=In(Ie,"defineProperty");return e({},"",{}),e}catch{}}(),Kf=M.clearTimeout!==Ye.clearTimeout&&M.clearTimeout,Xf=Y&&Y.now!==Ye.Date.now&&Y.now,Yf=M.setTimeout!==Ye.setTimeout&&M.setTimeout,Vr=Ze.ceil,Ur=Ze.floor,ro=Ie.getOwnPropertySymbols,Qf=Wr?Wr.isBuffer:r,gs=M.isFinite,Jf=Fr.join,e0=ls(Ie.keys,Ie),He=Ze.max,nt=Ze.min,t0=Y.now,n0=M.parseInt,ms=Ze.random,r0=Fr.reverse,io=In(M,"DataView"),lr=In(M,"Map"),oo=In(M,"Promise"),Un=In(M,"Set"),ur=In(M,"WeakMap"),cr=In(Ie,"create"),qr=ur&&new ur,qn={},i0=On(io),o0=On(lr),a0=On(oo),s0=On(Un),l0=On(ur),Gr=vn?vn.prototype:r,dr=Gr?Gr.valueOf:r,vs=Gr?Gr.toString:r;function d(e){if(We(e)&&!le(e)&&!(e instanceof be)){if(e instanceof Pt)return e;if($e.call(e,"__wrapped__"))return bl(e)}return new Pt(e)}var Gn=function(){function e(){}return function(t){if(!je(t))return{};if(fs)return fs(t);e.prototype=t;var o=new e;return e.prototype=r,o}}();function Kr(){}function Pt(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=r}d.templateSettings={escape:xd,evaluate:_d,interpolate:Aa,variable:"",imports:{_:d}},d.prototype=Kr.prototype,d.prototype.constructor=d,Pt.prototype=Gn(Kr.prototype),Pt.prototype.constructor=Pt;function be(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Re,this.__views__=[]}function u0(){var e=new be(this.__wrapped__);return e.__actions__=pt(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=pt(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=pt(this.__views__),e}function c0(){if(this.__filtered__){var e=new be(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function d0(){var e=this.__wrapped__.value(),t=this.__dir__,o=le(e),a=t<0,c=o?e.length:0,p=C1(0,c,this.__views__),w=p.start,E=p.end,$=E-w,z=a?E:w-1,j=this.__iteratees__,D=j.length,q=0,J=nt($,this.__takeCount__);if(!o||!a&&c==$&&J==$)return Ds(e,this.__actions__);var re=[];e:for(;$--&&q<J;){z+=t;for(var fe=-1,ie=e[z];++fe<D;){var ve=j[fe],we=ve.iteratee,Tt=ve.type,st=we(ie);if(Tt==ee)ie=st;else if(!st){if(Tt==H)continue e;break e}}re[q++]=ie}return re}be.prototype=Gn(Kr.prototype),be.prototype.constructor=be;function Tn(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var a=e[t];this.set(a[0],a[1])}}function f0(){this.__data__=cr?cr(null):{},this.size=0}function h0(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function p0(e){var t=this.__data__;if(cr){var o=t[e];return o===v?r:o}return $e.call(t,e)?t[e]:r}function g0(e){var t=this.__data__;return cr?t[e]!==r:$e.call(t,e)}function m0(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=cr&&t===r?v:t,this}Tn.prototype.clear=f0,Tn.prototype.delete=h0,Tn.prototype.get=p0,Tn.prototype.has=g0,Tn.prototype.set=m0;function tn(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var a=e[t];this.set(a[0],a[1])}}function v0(){this.__data__=[],this.size=0}function b0(e){var t=this.__data__,o=Xr(t,e);if(o<0)return!1;var a=t.length-1;return o==a?t.pop():Zr.call(t,o,1),--this.size,!0}function w0(e){var t=this.__data__,o=Xr(t,e);return o<0?r:t[o][1]}function y0(e){return Xr(this.__data__,e)>-1}function x0(e,t){var o=this.__data__,a=Xr(o,e);return a<0?(++this.size,o.push([e,t])):o[a][1]=t,this}tn.prototype.clear=v0,tn.prototype.delete=b0,tn.prototype.get=w0,tn.prototype.has=y0,tn.prototype.set=x0;function nn(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var a=e[t];this.set(a[0],a[1])}}function _0(){this.size=0,this.__data__={hash:new Tn,map:new(lr||tn),string:new Tn}}function C0(e){var t=li(this,e).delete(e);return this.size-=t?1:0,t}function S0(e){return li(this,e).get(e)}function E0(e){return li(this,e).has(e)}function A0(e,t){var o=li(this,e),a=o.size;return o.set(e,t),this.size+=o.size==a?0:1,this}nn.prototype.clear=_0,nn.prototype.delete=C0,nn.prototype.get=S0,nn.prototype.has=E0,nn.prototype.set=A0;function kn(e){var t=-1,o=e==null?0:e.length;for(this.__data__=new nn;++t<o;)this.add(e[t])}function T0(e){return this.__data__.set(e,v),this}function k0(e){return this.__data__.has(e)}kn.prototype.add=kn.prototype.push=T0,kn.prototype.has=k0;function Vt(e){var t=this.__data__=new tn(e);this.size=t.size}function $0(){this.__data__=new tn,this.size=0}function R0(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o}function I0(e){return this.__data__.get(e)}function O0(e){return this.__data__.has(e)}function P0(e,t){var o=this.__data__;if(o instanceof tn){var a=o.__data__;if(!lr||a.length<l-1)return a.push([e,t]),this.size=++o.size,this;o=this.__data__=new nn(a)}return o.set(e,t),this.size=o.size,this}Vt.prototype.clear=$0,Vt.prototype.delete=R0,Vt.prototype.get=I0,Vt.prototype.has=O0,Vt.prototype.set=P0;function bs(e,t){var o=le(e),a=!o&&Pn(e),c=!o&&!a&&_n(e),p=!o&&!a&&!c&&Qn(e),w=o||a||c||p,E=w?Ji(e.length,Zf):[],$=E.length;for(var z in e)(t||$e.call(e,z))&&!(w&&(z=="length"||c&&(z=="offset"||z=="parent")||p&&(z=="buffer"||z=="byteLength"||z=="byteOffset")||sn(z,$)))&&E.push(z);return E}function ws(e){var t=e.length;return t?e[vo(0,t-1)]:r}function M0(e,t){return ui(pt(e),$n(t,0,e.length))}function L0(e){return ui(pt(e))}function ao(e,t,o){(o!==r&&!Ut(e[t],o)||o===r&&!(t in e))&&rn(e,t,o)}function fr(e,t,o){var a=e[t];(!($e.call(e,t)&&Ut(a,o))||o===r&&!(t in e))&&rn(e,t,o)}function Xr(e,t){for(var o=e.length;o--;)if(Ut(e[o][0],t))return o;return-1}function F0(e,t,o,a){return bn(e,function(c,p,w){t(a,c,o(c),w)}),a}function ys(e,t){return e&&Qt(t,Ge(t),e)}function z0(e,t){return e&&Qt(t,mt(t),e)}function rn(e,t,o){t=="__proto__"&&Hr?Hr(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o}function so(e,t){for(var o=-1,a=t.length,c=P(a),p=e==null;++o<a;)c[o]=p?r:No(e,t[o]);return c}function $n(e,t,o){return e===e&&(o!==r&&(e=e<=o?e:o),t!==r&&(e=e>=t?e:t)),e}function Mt(e,t,o,a,c,p){var w,E=t&R,$=t&b,z=t&x;if(o&&(w=c?o(e,a,c,p):o(e)),w!==r)return w;if(!je(e))return e;var j=le(e);if(j){if(w=E1(e),!E)return pt(e,w)}else{var D=rt(e),q=D==Xe||D==xt;if(_n(e))return Hs(e,E);if(D==et||D==Je||q&&!c){if(w=$||q?{}:ul(e),!E)return $?p1(e,z0(w,e)):h1(e,ys(w,e))}else{if(!Le[D])return c?e:{};w=A1(e,D,E)}}p||(p=new Vt);var J=p.get(e);if(J)return J;p.set(e,w),Bl(e)?e.forEach(function(ie){w.add(Mt(ie,t,o,ie,e,p))}):Fl(e)&&e.forEach(function(ie,ve){w.set(ve,Mt(ie,t,o,ve,e,p))});var re=z?$?ko:To:$?mt:Ge,fe=j?r:re(e);return It(fe||e,function(ie,ve){fe&&(ve=ie,ie=e[ve]),fr(w,ve,Mt(ie,t,o,ve,e,p))}),w}function B0(e){var t=Ge(e);return function(o){return xs(o,e,t)}}function xs(e,t,o){var a=o.length;if(e==null)return!a;for(e=Ie(e);a--;){var c=o[a],p=t[c],w=e[c];if(w===r&&!(c in e)||!p(w))return!1}return!0}function _s(e,t,o){if(typeof e!="function")throw new Ot(h);return wr(function(){e.apply(r,o)},t)}function hr(e,t,o,a){var c=-1,p=Pr,w=!0,E=e.length,$=[],z=t.length;if(!E)return $;o&&(t=ze(t,St(o))),a?(p=qi,w=!1):t.length>=l&&(p=ar,w=!1,t=new kn(t));e:for(;++c<E;){var j=e[c],D=o==null?j:o(j);if(j=a||j!==0?j:0,w&&D===D){for(var q=z;q--;)if(t[q]===D)continue e;$.push(j)}else p(t,D,a)||$.push(j)}return $}var bn=Ks(Yt),Cs=Ks(uo,!0);function j0(e,t){var o=!0;return bn(e,function(a,c,p){return o=!!t(a,c,p),o}),o}function Yr(e,t,o){for(var a=-1,c=e.length;++a<c;){var p=e[a],w=t(p);if(w!=null&&(E===r?w===w&&!At(w):o(w,E)))var E=w,$=p}return $}function W0(e,t,o,a){var c=e.length;for(o=ce(o),o<0&&(o=-o>c?0:c+o),a=a===r||a>c?c:ce(a),a<0&&(a+=c),a=o>a?0:Wl(a);o<a;)e[o++]=t;return e}function Ss(e,t){var o=[];return bn(e,function(a,c,p){t(a,c,p)&&o.push(a)}),o}function Qe(e,t,o,a,c){var p=-1,w=e.length;for(o||(o=k1),c||(c=[]);++p<w;){var E=e[p];t>0&&o(E)?t>1?Qe(E,t-1,o,a,c):gn(c,E):a||(c[c.length]=E)}return c}var lo=Xs(),Es=Xs(!0);function Yt(e,t){return e&&lo(e,t,Ge)}function uo(e,t){return e&&Es(e,t,Ge)}function Qr(e,t){return pn(t,function(o){return ln(e[o])})}function Rn(e,t){t=yn(t,e);for(var o=0,a=t.length;e!=null&&o<a;)e=e[Jt(t[o++])];return o&&o==a?e:r}function As(e,t,o){var a=t(e);return le(e)?a:gn(a,o(e))}function ot(e){return e==null?e===r?Ee:or:An&&An in Ie(e)?_1(e):L1(e)}function co(e,t){return e>t}function D0(e,t){return e!=null&&$e.call(e,t)}function N0(e,t){return e!=null&&t in Ie(e)}function Z0(e,t,o){return e>=nt(t,o)&&e<He(t,o)}function fo(e,t,o){for(var a=o?qi:Pr,c=e[0].length,p=e.length,w=p,E=P(p),$=1/0,z=[];w--;){var j=e[w];w&&t&&(j=ze(j,St(t))),$=nt(j.length,$),E[w]=!o&&(t||c>=120&&j.length>=120)?new kn(w&&j):r}j=e[0];var D=-1,q=E[0];e:for(;++D<c&&z.length<$;){var J=j[D],re=t?t(J):J;if(J=o||J!==0?J:0,!(q?ar(q,re):a(z,re,o))){for(w=p;--w;){var fe=E[w];if(!(fe?ar(fe,re):a(e[w],re,o)))continue e}q&&q.push(re),z.push(J)}}return z}function H0(e,t,o,a){return Yt(e,function(c,p,w){t(a,o(c),p,w)}),a}function pr(e,t,o){t=yn(t,e),e=hl(e,t);var a=e==null?e:e[Jt(Ft(t))];return a==null?r:Ct(a,e,o)}function Ts(e){return We(e)&&ot(e)==Je}function V0(e){return We(e)&&ot(e)==ue}function U0(e){return We(e)&&ot(e)==yt}function gr(e,t,o,a,c){return e===t?!0:e==null||t==null||!We(e)&&!We(t)?e!==e&&t!==t:q0(e,t,o,a,gr,c)}function q0(e,t,o,a,c,p){var w=le(e),E=le(t),$=w?Ke:rt(e),z=E?Ke:rt(t);$=$==Je?et:$,z=z==Je?et:z;var j=$==et,D=z==et,q=$==z;if(q&&_n(e)){if(!_n(t))return!1;w=!0,j=!1}if(q&&!j)return p||(p=new Vt),w||Qn(e)?al(e,t,o,a,c,p):y1(e,t,$,o,a,c,p);if(!(o&y)){var J=j&&$e.call(e,"__wrapped__"),re=D&&$e.call(t,"__wrapped__");if(J||re){var fe=J?e.value():e,ie=re?t.value():t;return p||(p=new Vt),c(fe,ie,o,a,p)}}return q?(p||(p=new Vt),x1(e,t,o,a,c,p)):!1}function G0(e){return We(e)&&rt(e)==Be}function ho(e,t,o,a){var c=o.length,p=c,w=!a;if(e==null)return!p;for(e=Ie(e);c--;){var E=o[c];if(w&&E[2]?E[1]!==e[E[0]]:!(E[0]in e))return!1}for(;++c<p;){E=o[c];var $=E[0],z=e[$],j=E[1];if(w&&E[2]){if(z===r&&!($ in e))return!1}else{var D=new Vt;if(a)var q=a(z,j,$,e,t,D);if(!(q===r?gr(j,z,y|C,a,D):q))return!1}}return!0}function ks(e){if(!je(e)||R1(e))return!1;var t=ln(e)?Gf:zd;return t.test(On(e))}function K0(e){return We(e)&&ot(e)==en}function X0(e){return We(e)&&rt(e)==tt}function Y0(e){return We(e)&&gi(e.length)&&!!Fe[ot(e)]}function $s(e){return typeof e=="function"?e:e==null?vt:typeof e=="object"?le(e)?Os(e[0],e[1]):Is(e):Yl(e)}function po(e){if(!br(e))return e0(e);var t=[];for(var o in Ie(e))$e.call(e,o)&&o!="constructor"&&t.push(o);return t}function Q0(e){if(!je(e))return M1(e);var t=br(e),o=[];for(var a in e)a=="constructor"&&(t||!$e.call(e,a))||o.push(a);return o}function go(e,t){return e<t}function Rs(e,t){var o=-1,a=gt(e)?P(e.length):[];return bn(e,function(c,p,w){a[++o]=t(c,p,w)}),a}function Is(e){var t=Ro(e);return t.length==1&&t[0][2]?dl(t[0][0],t[0][1]):function(o){return o===e||ho(o,e,t)}}function Os(e,t){return Oo(e)&&cl(t)?dl(Jt(e),t):function(o){var a=No(o,e);return a===r&&a===t?Zo(o,e):gr(t,a,y|C)}}function Jr(e,t,o,a,c){e!==t&&lo(t,function(p,w){if(c||(c=new Vt),je(p))J0(e,t,w,o,Jr,a,c);else{var E=a?a(Mo(e,w),p,w+"",e,t,c):r;E===r&&(E=p),ao(e,w,E)}},mt)}function J0(e,t,o,a,c,p,w){var E=Mo(e,o),$=Mo(t,o),z=w.get($);if(z){ao(e,o,z);return}var j=p?p(E,$,o+"",e,t,w):r,D=j===r;if(D){var q=le($),J=!q&&_n($),re=!q&&!J&&Qn($);j=$,q||J||re?le(E)?j=E:De(E)?j=pt(E):J?(D=!1,j=Hs($,!0)):re?(D=!1,j=Vs($,!0)):j=[]:yr($)||Pn($)?(j=E,Pn(E)?j=Dl(E):(!je(E)||ln(E))&&(j=ul($))):D=!1}D&&(w.set($,j),c(j,$,a,p,w),w.delete($)),ao(e,o,j)}function Ps(e,t){var o=e.length;if(o)return t+=t<0?o:0,sn(t,o)?e[t]:r}function Ms(e,t,o){t.length?t=ze(t,function(p){return le(p)?function(w){return Rn(w,p.length===1?p[0]:p)}:p}):t=[vt];var a=-1;t=ze(t,St(ne()));var c=Rs(e,function(p,w,E){var $=ze(t,function(z){return z(p)});return{criteria:$,index:++a,value:p}});return Af(c,function(p,w){return f1(p,w,o)})}function e1(e,t){return Ls(e,t,function(o,a){return Zo(e,a)})}function Ls(e,t,o){for(var a=-1,c=t.length,p={};++a<c;){var w=t[a],E=Rn(e,w);o(E,w)&&mr(p,yn(w,e),E)}return p}function t1(e){return function(t){return Rn(t,e)}}function mo(e,t,o,a){var c=a?Ef:Dn,p=-1,w=t.length,E=e;for(e===t&&(t=pt(t)),o&&(E=ze(e,St(o)));++p<w;)for(var $=0,z=t[p],j=o?o(z):z;($=c(E,j,$,a))>-1;)E!==e&&Zr.call(E,$,1),Zr.call(e,$,1);return e}function Fs(e,t){for(var o=e?t.length:0,a=o-1;o--;){var c=t[o];if(o==a||c!==p){var p=c;sn(c)?Zr.call(e,c,1):yo(e,c)}}return e}function vo(e,t){return e+Ur(ms()*(t-e+1))}function n1(e,t,o,a){for(var c=-1,p=He(Vr((t-e)/(o||1)),0),w=P(p);p--;)w[a?p:++c]=e,e+=o;return w}function bo(e,t){var o="";if(!e||t<1||t>K)return o;do t%2&&(o+=e),t=Ur(t/2),t&&(e+=e);while(t);return o}function ge(e,t){return Lo(fl(e,t,vt),e+"")}function r1(e){return ws(Jn(e))}function i1(e,t){var o=Jn(e);return ui(o,$n(t,0,o.length))}function mr(e,t,o,a){if(!je(e))return e;t=yn(t,e);for(var c=-1,p=t.length,w=p-1,E=e;E!=null&&++c<p;){var $=Jt(t[c]),z=o;if($==="__proto__"||$==="constructor"||$==="prototype")return e;if(c!=w){var j=E[$];z=a?a(j,$,E):r,z===r&&(z=je(j)?j:sn(t[c+1])?[]:{})}fr(E,$,z),E=E[$]}return e}var zs=qr?function(e,t){return qr.set(e,t),e}:vt,o1=Hr?function(e,t){return Hr(e,"toString",{configurable:!0,enumerable:!1,value:Vo(t),writable:!0})}:vt;function a1(e){return ui(Jn(e))}function Lt(e,t,o){var a=-1,c=e.length;t<0&&(t=-t>c?0:c+t),o=o>c?c:o,o<0&&(o+=c),c=t>o?0:o-t>>>0,t>>>=0;for(var p=P(c);++a<c;)p[a]=e[a+t];return p}function s1(e,t){var o;return bn(e,function(a,c,p){return o=t(a,c,p),!o}),!!o}function ei(e,t,o){var a=0,c=e==null?a:e.length;if(typeof t=="number"&&t===t&&c<=Oe){for(;a<c;){var p=a+c>>>1,w=e[p];w!==null&&!At(w)&&(o?w<=t:w<t)?a=p+1:c=p}return c}return wo(e,t,vt,o)}function wo(e,t,o,a){var c=0,p=e==null?0:e.length;if(p===0)return 0;t=o(t);for(var w=t!==t,E=t===null,$=At(t),z=t===r;c<p;){var j=Ur((c+p)/2),D=o(e[j]),q=D!==r,J=D===null,re=D===D,fe=At(D);if(w)var ie=a||re;else z?ie=re&&(a||q):E?ie=re&&q&&(a||!J):$?ie=re&&q&&!J&&(a||!fe):J||fe?ie=!1:ie=a?D<=t:D<t;ie?c=j+1:p=j}return nt(p,Ue)}function Bs(e,t){for(var o=-1,a=e.length,c=0,p=[];++o<a;){var w=e[o],E=t?t(w):w;if(!o||!Ut(E,$)){var $=E;p[c++]=w===0?0:w}}return p}function js(e){return typeof e=="number"?e:At(e)?Se:+e}function Et(e){if(typeof e=="string")return e;if(le(e))return ze(e,Et)+"";if(At(e))return vs?vs.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function wn(e,t,o){var a=-1,c=Pr,p=e.length,w=!0,E=[],$=E;if(o)w=!1,c=qi;else if(p>=l){var z=t?null:b1(e);if(z)return Lr(z);w=!1,c=ar,$=new kn}else $=t?[]:E;e:for(;++a<p;){var j=e[a],D=t?t(j):j;if(j=o||j!==0?j:0,w&&D===D){for(var q=$.length;q--;)if($[q]===D)continue e;t&&$.push(D),E.push(j)}else c($,D,o)||($!==E&&$.push(D),E.push(j))}return E}function yo(e,t){return t=yn(t,e),e=hl(e,t),e==null||delete e[Jt(Ft(t))]}function Ws(e,t,o,a){return mr(e,t,o(Rn(e,t)),a)}function ti(e,t,o,a){for(var c=e.length,p=a?c:-1;(a?p--:++p<c)&&t(e[p],p,e););return o?Lt(e,a?0:p,a?p+1:c):Lt(e,a?p+1:0,a?c:p)}function Ds(e,t){var o=e;return o instanceof be&&(o=o.value()),Gi(t,function(a,c){return c.func.apply(c.thisArg,gn([a],c.args))},o)}function xo(e,t,o){var a=e.length;if(a<2)return a?wn(e[0]):[];for(var c=-1,p=P(a);++c<a;)for(var w=e[c],E=-1;++E<a;)E!=c&&(p[c]=hr(p[c]||w,e[E],t,o));return wn(Qe(p,1),t,o)}function Ns(e,t,o){for(var a=-1,c=e.length,p=t.length,w={};++a<c;){var E=a<p?t[a]:r;o(w,e[a],E)}return w}function _o(e){return De(e)?e:[]}function Co(e){return typeof e=="function"?e:vt}function yn(e,t){return le(e)?e:Oo(e,t)?[e]:vl(ke(e))}var l1=ge;function xn(e,t,o){var a=e.length;return o=o===r?a:o,!t&&o>=a?e:Lt(e,t,o)}var Zs=Kf||function(e){return Ye.clearTimeout(e)};function Hs(e,t){if(t)return e.slice();var o=e.length,a=ds?ds(o):new e.constructor(o);return e.copy(a),a}function So(e){var t=new e.constructor(e.byteLength);return new Dr(t).set(new Dr(e)),t}function u1(e,t){var o=t?So(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.byteLength)}function c1(e){var t=new e.constructor(e.source,Ta.exec(e));return t.lastIndex=e.lastIndex,t}function d1(e){return dr?Ie(dr.call(e)):{}}function Vs(e,t){var o=t?So(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}function Us(e,t){if(e!==t){var o=e!==r,a=e===null,c=e===e,p=At(e),w=t!==r,E=t===null,$=t===t,z=At(t);if(!E&&!z&&!p&&e>t||p&&w&&$&&!E&&!z||a&&w&&$||!o&&$||!c)return 1;if(!a&&!p&&!z&&e<t||z&&o&&c&&!a&&!p||E&&o&&c||!w&&c||!$)return-1}return 0}function f1(e,t,o){for(var a=-1,c=e.criteria,p=t.criteria,w=c.length,E=o.length;++a<w;){var $=Us(c[a],p[a]);if($){if(a>=E)return $;var z=o[a];return $*(z=="desc"?-1:1)}}return e.index-t.index}function qs(e,t,o,a){for(var c=-1,p=e.length,w=o.length,E=-1,$=t.length,z=He(p-w,0),j=P($+z),D=!a;++E<$;)j[E]=t[E];for(;++c<w;)(D||c<p)&&(j[o[c]]=e[c]);for(;z--;)j[E++]=e[c++];return j}function Gs(e,t,o,a){for(var c=-1,p=e.length,w=-1,E=o.length,$=-1,z=t.length,j=He(p-E,0),D=P(j+z),q=!a;++c<j;)D[c]=e[c];for(var J=c;++$<z;)D[J+$]=t[$];for(;++w<E;)(q||c<p)&&(D[J+o[w]]=e[c++]);return D}function pt(e,t){var o=-1,a=e.length;for(t||(t=P(a));++o<a;)t[o]=e[o];return t}function Qt(e,t,o,a){var c=!o;o||(o={});for(var p=-1,w=t.length;++p<w;){var E=t[p],$=a?a(o[E],e[E],E,o,e):r;$===r&&($=e[E]),c?rn(o,E,$):fr(o,E,$)}return o}function h1(e,t){return Qt(e,Io(e),t)}function p1(e,t){return Qt(e,sl(e),t)}function ni(e,t){return function(o,a){var c=le(o)?wf:F0,p=t?t():{};return c(o,e,ne(a,2),p)}}function Kn(e){return ge(function(t,o){var a=-1,c=o.length,p=c>1?o[c-1]:r,w=c>2?o[2]:r;for(p=e.length>3&&typeof p=="function"?(c--,p):r,w&&at(o[0],o[1],w)&&(p=c<3?r:p,c=1),t=Ie(t);++a<c;){var E=o[a];E&&e(t,E,a,p)}return t})}function Ks(e,t){return function(o,a){if(o==null)return o;if(!gt(o))return e(o,a);for(var c=o.length,p=t?c:-1,w=Ie(o);(t?p--:++p<c)&&a(w[p],p,w)!==!1;);return o}}function Xs(e){return function(t,o,a){for(var c=-1,p=Ie(t),w=a(t),E=w.length;E--;){var $=w[e?E:++c];if(o(p[$],$,p)===!1)break}return t}}function g1(e,t,o){var a=t&_,c=vr(e);function p(){var w=this&&this!==Ye&&this instanceof p?c:e;return w.apply(a?o:this,arguments)}return p}function Ys(e){return function(t){t=ke(t);var o=Nn(t)?Ht(t):r,a=o?o[0]:t.charAt(0),c=o?xn(o,1).join(""):t.slice(1);return a[e]()+c}}function Xn(e){return function(t){return Gi(Kl(Gl(t).replace(of,"")),e,"")}}function vr(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var o=Gn(e.prototype),a=e.apply(o,t);return je(a)?a:o}}function m1(e,t,o){var a=vr(e);function c(){for(var p=arguments.length,w=P(p),E=p,$=Yn(c);E--;)w[E]=arguments[E];var z=p<3&&w[0]!==$&&w[p-1]!==$?[]:mn(w,$);if(p-=z.length,p<o)return nl(e,t,ri,c.placeholder,r,w,z,r,r,o-p);var j=this&&this!==Ye&&this instanceof c?a:e;return Ct(j,this,w)}return c}function Qs(e){return function(t,o,a){var c=Ie(t);if(!gt(t)){var p=ne(o,3);t=Ge(t),o=function(E){return p(c[E],E,c)}}var w=e(t,o,a);return w>-1?c[p?t[w]:w]:r}}function Js(e){return an(function(t){var o=t.length,a=o,c=Pt.prototype.thru;for(e&&t.reverse();a--;){var p=t[a];if(typeof p!="function")throw new Ot(h);if(c&&!w&&si(p)=="wrapper")var w=new Pt([],!0)}for(a=w?a:o;++a<o;){p=t[a];var E=si(p),$=E=="wrapper"?$o(p):r;$&&Po($[0])&&$[1]==(Z|T|F|U)&&!$[4].length&&$[9]==1?w=w[si($[0])].apply(w,$[3]):w=p.length==1&&Po(p)?w[E]():w.thru(p)}return function(){var z=arguments,j=z[0];if(w&&z.length==1&&le(j))return w.plant(j).value();for(var D=0,q=o?t[D].apply(this,z):j;++D<o;)q=t[D].call(this,q);return q}})}function ri(e,t,o,a,c,p,w,E,$,z){var j=t&Z,D=t&_,q=t&L,J=t&(T|O),re=t&de,fe=q?r:vr(e);function ie(){for(var ve=arguments.length,we=P(ve),Tt=ve;Tt--;)we[Tt]=arguments[Tt];if(J)var st=Yn(ie),kt=kf(we,st);if(a&&(we=qs(we,a,c,J)),p&&(we=Gs(we,p,w,J)),ve-=kt,J&&ve<z){var Ne=mn(we,st);return nl(e,t,ri,ie.placeholder,o,we,Ne,E,$,z-ve)}var qt=D?o:this,cn=q?qt[e]:e;return ve=we.length,E?we=F1(we,E):re&&ve>1&&we.reverse(),j&&$<ve&&(we.length=$),this&&this!==Ye&&this instanceof ie&&(cn=fe||vr(cn)),cn.apply(qt,we)}return ie}function el(e,t){return function(o,a){return H0(o,e,t(a),{})}}function ii(e,t){return function(o,a){var c;if(o===r&&a===r)return t;if(o!==r&&(c=o),a!==r){if(c===r)return a;typeof o=="string"||typeof a=="string"?(o=Et(o),a=Et(a)):(o=js(o),a=js(a)),c=e(o,a)}return c}}function Eo(e){return an(function(t){return t=ze(t,St(ne())),ge(function(o){var a=this;return e(t,function(c){return Ct(c,a,o)})})})}function oi(e,t){t=t===r?" ":Et(t);var o=t.length;if(o<2)return o?bo(t,e):t;var a=bo(t,Vr(e/Zn(t)));return Nn(t)?xn(Ht(a),0,e).join(""):a.slice(0,e)}function v1(e,t,o,a){var c=t&_,p=vr(e);function w(){for(var E=-1,$=arguments.length,z=-1,j=a.length,D=P(j+$),q=this&&this!==Ye&&this instanceof w?p:e;++z<j;)D[z]=a[z];for(;$--;)D[z++]=arguments[++E];return Ct(q,c?o:this,D)}return w}function tl(e){return function(t,o,a){return a&&typeof a!="number"&&at(t,o,a)&&(o=a=r),t=un(t),o===r?(o=t,t=0):o=un(o),a=a===r?t<o?1:-1:un(a),n1(t,o,a,e)}}function ai(e){return function(t,o){return typeof t=="string"&&typeof o=="string"||(t=zt(t),o=zt(o)),e(t,o)}}function nl(e,t,o,a,c,p,w,E,$,z){var j=t&T,D=j?w:r,q=j?r:w,J=j?p:r,re=j?r:p;t|=j?F:N,t&=~(j?N:F),t&I||(t&=-4);var fe=[e,t,c,J,D,re,q,E,$,z],ie=o.apply(r,fe);return Po(e)&&pl(ie,fe),ie.placeholder=a,gl(ie,e,t)}function Ao(e){var t=Ze[e];return function(o,a){if(o=zt(o),a=a==null?0:nt(ce(a),292),a&&gs(o)){var c=(ke(o)+"e").split("e"),p=t(c[0]+"e"+(+c[1]+a));return c=(ke(p)+"e").split("e"),+(c[0]+"e"+(+c[1]-a))}return t(o)}}var b1=Un&&1/Lr(new Un([,-0]))[1]==Q?function(e){return new Un(e)}:Go;function rl(e){return function(t){var o=rt(t);return o==Be?to(t):o==tt?Lf(t):Tf(t,e(t))}}function on(e,t,o,a,c,p,w,E){var $=t&L;if(!$&&typeof e!="function")throw new Ot(h);var z=a?a.length:0;if(z||(t&=-97,a=c=r),w=w===r?w:He(ce(w),0),E=E===r?E:ce(E),z-=c?c.length:0,t&N){var j=a,D=c;a=c=r}var q=$?r:$o(e),J=[e,t,o,a,c,j,D,p,w,E];if(q&&P1(J,q),e=J[0],t=J[1],o=J[2],a=J[3],c=J[4],E=J[9]=J[9]===r?$?0:e.length:He(J[9]-z,0),!E&&t&(T|O)&&(t&=-25),!t||t==_)var re=g1(e,t,o);else t==T||t==O?re=m1(e,t,E):(t==F||t==(_|F))&&!c.length?re=v1(e,t,o,a):re=ri.apply(r,J);var fe=q?zs:pl;return gl(fe(re,J),e,t)}function il(e,t,o,a){return e===r||Ut(e,Vn[o])&&!$e.call(a,o)?t:e}function ol(e,t,o,a,c,p){return je(e)&&je(t)&&(p.set(t,e),Jr(e,t,r,ol,p),p.delete(t)),e}function w1(e){return yr(e)?r:e}function al(e,t,o,a,c,p){var w=o&y,E=e.length,$=t.length;if(E!=$&&!(w&&$>E))return!1;var z=p.get(e),j=p.get(t);if(z&&j)return z==t&&j==e;var D=-1,q=!0,J=o&C?new kn:r;for(p.set(e,t),p.set(t,e);++D<E;){var re=e[D],fe=t[D];if(a)var ie=w?a(fe,re,D,t,e,p):a(re,fe,D,e,t,p);if(ie!==r){if(ie)continue;q=!1;break}if(J){if(!Ki(t,function(ve,we){if(!ar(J,we)&&(re===ve||c(re,ve,o,a,p)))return J.push(we)})){q=!1;break}}else if(!(re===fe||c(re,fe,o,a,p))){q=!1;break}}return p.delete(e),p.delete(t),q}function y1(e,t,o,a,c,p,w){switch(o){case te:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case ue:return!(e.byteLength!=t.byteLength||!p(new Dr(e),new Dr(t)));case wt:case yt:case dt:return Ut(+e,+t);case Pe:return e.name==t.name&&e.message==t.message;case en:case Xt:return e==t+"";case Be:var E=to;case tt:var $=a&y;if(E||(E=Lr),e.size!=t.size&&!$)return!1;var z=w.get(e);if(z)return z==t;a|=C,w.set(e,t);var j=al(E(e),E(t),a,c,p,w);return w.delete(e),j;case G:if(dr)return dr.call(e)==dr.call(t)}return!1}function x1(e,t,o,a,c,p){var w=o&y,E=To(e),$=E.length,z=To(t),j=z.length;if($!=j&&!w)return!1;for(var D=$;D--;){var q=E[D];if(!(w?q in t:$e.call(t,q)))return!1}var J=p.get(e),re=p.get(t);if(J&&re)return J==t&&re==e;var fe=!0;p.set(e,t),p.set(t,e);for(var ie=w;++D<$;){q=E[D];var ve=e[q],we=t[q];if(a)var Tt=w?a(we,ve,q,t,e,p):a(ve,we,q,e,t,p);if(!(Tt===r?ve===we||c(ve,we,o,a,p):Tt)){fe=!1;break}ie||(ie=q=="constructor")}if(fe&&!ie){var st=e.constructor,kt=t.constructor;st!=kt&&"constructor"in e&&"constructor"in t&&!(typeof st=="function"&&st instanceof st&&typeof kt=="function"&&kt instanceof kt)&&(fe=!1)}return p.delete(e),p.delete(t),fe}function an(e){return Lo(fl(e,r,xl),e+"")}function To(e){return As(e,Ge,Io)}function ko(e){return As(e,mt,sl)}var $o=qr?function(e){return qr.get(e)}:Go;function si(e){for(var t=e.name+"",o=qn[t],a=$e.call(qn,t)?o.length:0;a--;){var c=o[a],p=c.func;if(p==null||p==e)return c.name}return t}function Yn(e){var t=$e.call(d,"placeholder")?d:e;return t.placeholder}function ne(){var e=d.iteratee||Uo;return e=e===Uo?$s:e,arguments.length?e(arguments[0],arguments[1]):e}function li(e,t){var o=e.__data__;return $1(t)?o[typeof t=="string"?"string":"hash"]:o.map}function Ro(e){for(var t=Ge(e),o=t.length;o--;){var a=t[o],c=e[a];t[o]=[a,c,cl(c)]}return t}function In(e,t){var o=Of(e,t);return ks(o)?o:r}function _1(e){var t=$e.call(e,An),o=e[An];try{e[An]=r;var a=!0}catch{}var c=jr.call(e);return a&&(t?e[An]=o:delete e[An]),c}var Io=ro?function(e){return e==null?[]:(e=Ie(e),pn(ro(e),function(t){return hs.call(e,t)}))}:Ko,sl=ro?function(e){for(var t=[];e;)gn(t,Io(e)),e=Nr(e);return t}:Ko,rt=ot;(io&&rt(new io(new ArrayBuffer(1)))!=te||lr&&rt(new lr)!=Be||oo&&rt(oo.resolve())!=Zt||Un&&rt(new Un)!=tt||ur&&rt(new ur)!=Me)&&(rt=function(e){var t=ot(e),o=t==et?e.constructor:r,a=o?On(o):"";if(a)switch(a){case i0:return te;case o0:return Be;case a0:return Zt;case s0:return tt;case l0:return Me}return t});function C1(e,t,o){for(var a=-1,c=o.length;++a<c;){var p=o[a],w=p.size;switch(p.type){case"drop":e+=w;break;case"dropRight":t-=w;break;case"take":t=nt(t,e+w);break;case"takeRight":e=He(e,t-w);break}}return{start:e,end:t}}function S1(e){var t=e.match($d);return t?t[1].split(Rd):[]}function ll(e,t,o){t=yn(t,e);for(var a=-1,c=t.length,p=!1;++a<c;){var w=Jt(t[a]);if(!(p=e!=null&&o(e,w)))break;e=e[w]}return p||++a!=c?p:(c=e==null?0:e.length,!!c&&gi(c)&&sn(w,c)&&(le(e)||Pn(e)))}function E1(e){var t=e.length,o=new e.constructor(t);return t&&typeof e[0]=="string"&&$e.call(e,"index")&&(o.index=e.index,o.input=e.input),o}function ul(e){return typeof e.constructor=="function"&&!br(e)?Gn(Nr(e)):{}}function A1(e,t,o){var a=e.constructor;switch(t){case ue:return So(e);case wt:case yt:return new a(+e);case te:return u1(e,o);case Te:case _t:case ft:case xe:case oe:case ht:case Sn:case jn:case zi:return Vs(e,o);case Be:return new a;case dt:case Xt:return new a(e);case en:return c1(e);case tt:return new a;case G:return d1(e)}}function T1(e,t){var o=t.length;if(!o)return e;var a=o-1;return t[a]=(o>1?"& ":"")+t[a],t=t.join(o>2?", ":" "),e.replace(kd,`{
|
|
9
9
|
/* [wrapped with `+t+`] */
|
|
10
|
-
`)}function sp(e){return ce(e)||qn(e)||!!(kl&&e&&e[kl])}function sn(e,t){var o=typeof e;return t=t??oe,!!t&&(o=="number"||o!="symbol"&&b0.test(e))&&e>-1&&e%1==0&&e<t}function nt(e,t,o){if(!Le(o))return!1;var a=typeof t;return(a=="number"?lt(o)&&sn(t,o.length):a=="string"&&t in o)?Nt(o[t],e):!1}function ka(e,t){if(ce(e))return!1;var o=typeof e;return o=="number"||o=="symbol"||o=="boolean"||e==null||yt(e)?!0:i0.test(e)||!r0.test(e)||t!=null&&e in Re(t)}function lp(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Ra(e){var t=Hi(e),o=f[t];if(typeof o!="function"||!(t in ve.prototype))return!1;if(e===o)return!0;var a=Aa(o);return!!a&&e===a[0]}function up(e){return!!El&&El in e}var cp=wi?ln:qa;function Zr(e){var t=e&&e.constructor,o=typeof t=="function"&&t.prototype||sr;return e===o}function Eu(e){return e===e&&!Le(e)}function Au(e,t){return function(o){return o==null?!1:o[e]===t&&(t!==i||e in Re(o))}}function dp(e){var t=Gi(e,function(a){return o.size===v&&o.clear(),a}),o=t.cache;return t}function fp(e,t){var o=e[1],a=t[1],c=o|a,g=c<(P|z|q),w=a==q&&o==R||a==q&&o==Y&&e[7].length<=t[8]||a==(q|Y)&&t[7].length<=t[8]&&o==R;if(!(g||w))return e;a&P&&(e[2]=t[2],c|=o&P?0:A);var b=t[3];if(b){var S=e[3];e[3]=S?lu(S,b,t[4]):b,e[4]=S?Cn(e[3],x):t[4]}return b=t[5],b&&(S=e[5],e[5]=S?uu(S,b,t[6]):b,e[6]=S?Cn(e[5],x):t[6]),b=t[7],b&&(e[7]=b),a&q&&(e[8]=e[8]==null?t[8]:Ye(e[8],t[8])),e[9]==null&&(e[9]=t[9]),e[0]=t[0],e[1]=c,e}function hp(e){var t=[];if(e!=null)for(var o in Re(e))t.push(o);return t}function pp(e){return yi.call(e)}function Tu(e,t,o){return t=Ue(t===i?e.length-1:t,0),function(){for(var a=arguments,c=-1,g=Ue(a.length-t,0),w=$(g);++c<g;)w[c]=a[t+c];c=-1;for(var b=$(t+1);++c<t;)b[c]=a[c];return b[t]=o(w),vt(e,this,b)}}function $u(e,t){return t.length<2?e:Nn(e,It(t,0,-1))}function gp(e,t){for(var o=e.length,a=Ye(t.length,o),c=st(e);a--;){var g=t[a];e[a]=sn(g,o)?c[g]:i}return e}function Ia(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var ku=Iu(Ql),Nr=R1||function(e,t){return Ke.setTimeout(e,t)},Oa=Iu(Bh);function Ru(e,t,o){var a=t+"";return Oa(e,ap(a,mp(rp(a),o)))}function Iu(e){var t=0,o=0;return function(){var a=M1(),c=B-(a-o);if(o=a,c>0){if(++t>=j)return arguments[0]}else t=0;return e.apply(i,arguments)}}function Ni(e,t){var o=-1,a=e.length,c=a-1;for(t=t===i?a:t;++o<t;){var g=pa(o,c),w=e[g];e[g]=e[o],e[o]=w}return e.length=t,e}var Ou=dp(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(o0,function(o,a,c,g){t.push(c?g.replace(h0,"$1"):a||o)}),t});function Yt(e){if(typeof e=="string"||yt(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function Un(e){if(e!=null){try{return bi.call(e)}catch{}try{return e+""}catch{}}return""}function mp(e,t){return Tt(et,function(o){var a="_."+o[0];t&o[1]&&!pi(e,a)&&e.push(a)}),e.sort()}function Pu(e){if(e instanceof ve)return e.clone();var t=new kt(e.__wrapped__,e.__chain__);return t.__actions__=st(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function vp(e,t,o){(o?nt(e,t,o):t===i)?t=1:t=Ue(fe(t),0);var a=e==null?0:e.length;if(!a||t<1)return[];for(var c=0,g=0,w=$(Ai(a/t));c<a;)w[g++]=It(e,c,c+=t);return w}function wp(e){for(var t=-1,o=e==null?0:e.length,a=0,c=[];++t<o;){var g=e[t];g&&(c[a++]=g)}return c}function bp(){var e=arguments.length;if(!e)return[];for(var t=$(e-1),o=arguments[0],a=e;a--;)t[a-1]=arguments[a];return _n(ce(o)?st(o):[o],Xe(t,1))}var yp=pe(function(e,t){return We(e)?Br(e,Xe(t,1,We,!0)):[]}),xp=pe(function(e,t){var o=Ot(t);return We(o)&&(o=i),We(e)?Br(e,Xe(t,1,We,!0),ae(o,2)):[]}),_p=pe(function(e,t){var o=Ot(t);return We(o)&&(o=i),We(e)?Br(e,Xe(t,1,We,!0),i,o):[]});function Cp(e,t,o){var a=e==null?0:e.length;return a?(t=o||t===i?1:fe(t),It(e,t<0?0:t,a)):[]}function Sp(e,t,o){var a=e==null?0:e.length;return a?(t=o||t===i?1:fe(t),t=a-t,It(e,0,t<0?0:t)):[]}function Ep(e,t){return e&&e.length?Fi(e,ae(t,3),!0,!0):[]}function Ap(e,t){return e&&e.length?Fi(e,ae(t,3),!0):[]}function Tp(e,t,o,a){var c=e==null?0:e.length;return c?(o&&typeof o!="number"&&nt(e,t,o)&&(o=0,a=c),bh(e,t,o,a)):[]}function Mu(e,t,o){var a=e==null?0:e.length;if(!a)return-1;var c=o==null?0:fe(o);return c<0&&(c=Ue(a+c,0)),gi(e,ae(t,3),c)}function Lu(e,t,o){var a=e==null?0:e.length;if(!a)return-1;var c=a-1;return o!==i&&(c=fe(o),c=o<0?Ue(a+c,0):Ye(c,a-1)),gi(e,ae(t,3),c,!0)}function Fu(e){var t=e==null?0:e.length;return t?Xe(e,1):[]}function $p(e){var t=e==null?0:e.length;return t?Xe(e,ee):[]}function kp(e,t){var o=e==null?0:e.length;return o?(t=t===i?1:fe(t),Xe(e,t)):[]}function Rp(e){for(var t=-1,o=e==null?0:e.length,a={};++t<o;){var c=e[t];a[c[0]]=c[1]}return a}function zu(e){return e&&e.length?e[0]:i}function Ip(e,t,o){var a=e==null?0:e.length;if(!a)return-1;var c=o==null?0:fe(o);return c<0&&(c=Ue(a+c,0)),rr(e,t,c)}function Op(e){var t=e==null?0:e.length;return t?It(e,0,-1):[]}var Pp=pe(function(e){var t=Me(e,ba);return t.length&&t[0]===e[0]?ua(t):[]}),Mp=pe(function(e){var t=Ot(e),o=Me(e,ba);return t===Ot(o)?t=i:o.pop(),o.length&&o[0]===e[0]?ua(o,ae(t,2)):[]}),Lp=pe(function(e){var t=Ot(e),o=Me(e,ba);return t=typeof t=="function"?t:i,t&&o.pop(),o.length&&o[0]===e[0]?ua(o,i,t):[]});function Fp(e,t){return e==null?"":O1.call(e,t)}function Ot(e){var t=e==null?0:e.length;return t?e[t-1]:i}function zp(e,t,o){var a=e==null?0:e.length;if(!a)return-1;var c=a;return o!==i&&(c=fe(o),c=c<0?Ue(a+c,0):Ye(c,a-1)),t===t?m1(e,t,c):gi(e,vl,c,!0)}function Bp(e,t){return e&&e.length?Gl(e,fe(t)):i}var Wp=pe(Bu);function Bu(e,t){return e&&e.length&&t&&t.length?ha(e,t):e}function jp(e,t,o){return e&&e.length&&t&&t.length?ha(e,t,ae(o,2)):e}function Dp(e,t,o){return e&&e.length&&t&&t.length?ha(e,t,i,o):e}var Hp=an(function(e,t){var o=e==null?0:e.length,a=oa(e,t);return Yl(e,Me(t,function(c){return sn(c,o)?+c:c}).sort(su)),a});function Zp(e,t){var o=[];if(!(e&&e.length))return o;var a=-1,c=[],g=e.length;for(t=ae(t,3);++a<g;){var w=e[a];t(w,a,e)&&(o.push(w),c.push(a))}return Yl(e,c),o}function Pa(e){return e==null?e:F1.call(e)}function Np(e,t,o){var a=e==null?0:e.length;return a?(o&&typeof o!="number"&&nt(e,t,o)?(t=0,o=a):(t=t==null?0:fe(t),o=o===i?a:fe(o)),It(e,t,o)):[]}function Vp(e,t){return Li(e,t)}function Up(e,t,o){return ma(e,t,ae(o,2))}function qp(e,t){var o=e==null?0:e.length;if(o){var a=Li(e,t);if(a<o&&Nt(e[a],t))return a}return-1}function Gp(e,t){return Li(e,t,!0)}function Kp(e,t,o){return ma(e,t,ae(o,2),!0)}function Xp(e,t){var o=e==null?0:e.length;if(o){var a=Li(e,t,!0)-1;if(Nt(e[a],t))return a}return-1}function Yp(e){return e&&e.length?Jl(e):[]}function Qp(e,t){return e&&e.length?Jl(e,ae(t,2)):[]}function Jp(e){var t=e==null?0:e.length;return t?It(e,1,t):[]}function eg(e,t,o){return e&&e.length?(t=o||t===i?1:fe(t),It(e,0,t<0?0:t)):[]}function tg(e,t,o){var a=e==null?0:e.length;return a?(t=o||t===i?1:fe(t),t=a-t,It(e,t<0?0:t,a)):[]}function ng(e,t){return e&&e.length?Fi(e,ae(t,3),!1,!0):[]}function rg(e,t){return e&&e.length?Fi(e,ae(t,3)):[]}var ig=pe(function(e){return An(Xe(e,1,We,!0))}),og=pe(function(e){var t=Ot(e);return We(t)&&(t=i),An(Xe(e,1,We,!0),ae(t,2))}),ag=pe(function(e){var t=Ot(e);return t=typeof t=="function"?t:i,An(Xe(e,1,We,!0),i,t)});function sg(e){return e&&e.length?An(e):[]}function lg(e,t){return e&&e.length?An(e,ae(t,2)):[]}function ug(e,t){return t=typeof t=="function"?t:i,e&&e.length?An(e,i,t):[]}function Ma(e){if(!(e&&e.length))return[];var t=0;return e=xn(e,function(o){if(We(o))return t=Ue(o.length,t),!0}),Yo(t,function(o){return Me(e,Go(o))})}function Wu(e,t){if(!(e&&e.length))return[];var o=Ma(e);return t==null?o:Me(o,function(a){return vt(t,i,a)})}var cg=pe(function(e,t){return We(e)?Br(e,t):[]}),dg=pe(function(e){return wa(xn(e,We))}),fg=pe(function(e){var t=Ot(e);return We(t)&&(t=i),wa(xn(e,We),ae(t,2))}),hg=pe(function(e){var t=Ot(e);return t=typeof t=="function"?t:i,wa(xn(e,We),i,t)}),pg=pe(Ma);function gg(e,t){return ru(e||[],t||[],zr)}function mg(e,t){return ru(e||[],t||[],Dr)}var vg=pe(function(e){var t=e.length,o=t>1?e[t-1]:i;return o=typeof o=="function"?(e.pop(),o):i,Wu(e,o)});function ju(e){var t=f(e);return t.__chain__=!0,t}function wg(e,t){return t(e),e}function Vi(e,t){return t(e)}var bg=an(function(e){var t=e.length,o=t?e[0]:0,a=this.__wrapped__,c=function(g){return oa(g,e)};return t>1||this.__actions__.length||!(a instanceof ve)||!sn(o)?this.thru(c):(a=a.slice(o,+o+(t?1:0)),a.__actions__.push({func:Vi,args:[c],thisArg:i}),new kt(a,this.__chain__).thru(function(g){return t&&!g.length&&g.push(i),g}))});function yg(){return ju(this)}function xg(){return new kt(this.value(),this.__chain__)}function _g(){this.__values__===i&&(this.__values__=ec(this.value()));var e=this.__index__>=this.__values__.length,t=e?i:this.__values__[this.__index__++];return{done:e,value:t}}function Cg(){return this}function Sg(e){for(var t,o=this;o instanceof Ri;){var a=Pu(o);a.__index__=0,a.__values__=i,t?c.__wrapped__=a:t=a;var c=a;o=o.__wrapped__}return c.__wrapped__=e,t}function Eg(){var e=this.__wrapped__;if(e instanceof ve){var t=e;return this.__actions__.length&&(t=new ve(this)),t=t.reverse(),t.__actions__.push({func:Vi,args:[Pa],thisArg:i}),new kt(t,this.__chain__)}return this.thru(Pa)}function Ag(){return nu(this.__wrapped__,this.__actions__)}var Tg=zi(function(e,t,o){Ae.call(e,o)?++e[o]:rn(e,o,1)});function $g(e,t,o){var a=ce(e)?gl:wh;return o&&nt(e,t,o)&&(t=i),a(e,ae(t,3))}function kg(e,t){var o=ce(e)?xn:Wl;return o(e,ae(t,3))}var Rg=hu(Mu),Ig=hu(Lu);function Og(e,t){return Xe(Ui(e,t),1)}function Pg(e,t){return Xe(Ui(e,t),ee)}function Mg(e,t,o){return o=o===i?1:fe(o),Xe(Ui(e,t),o)}function Du(e,t){var o=ce(e)?Tt:En;return o(e,ae(t,3))}function Hu(e,t){var o=ce(e)?J0:Bl;return o(e,ae(t,3))}var Lg=zi(function(e,t,o){Ae.call(e,o)?e[o].push(t):rn(e,o,[t])});function Fg(e,t,o,a){e=lt(e)?e:gr(e),o=o&&!a?fe(o):0;var c=e.length;return o<0&&(o=Ue(c+o,0)),Yi(e)?o<=c&&e.indexOf(t,o)>-1:!!c&&rr(e,t,o)>-1}var zg=pe(function(e,t,o){var a=-1,c=typeof t=="function",g=lt(e)?$(e.length):[];return En(e,function(w){g[++a]=c?vt(t,w,o):Wr(w,t,o)}),g}),Bg=zi(function(e,t,o){rn(e,o,t)});function Ui(e,t){var o=ce(e)?Me:Vl;return o(e,ae(t,3))}function Wg(e,t,o,a){return e==null?[]:(ce(t)||(t=t==null?[]:[t]),o=a?i:o,ce(o)||(o=o==null?[]:[o]),Kl(e,t,o))}var jg=zi(function(e,t,o){e[o?0:1].push(t)},function(){return[[],[]]});function Dg(e,t,o){var a=ce(e)?Uo:bl,c=arguments.length<3;return a(e,ae(t,4),o,c,En)}function Hg(e,t,o){var a=ce(e)?e1:bl,c=arguments.length<3;return a(e,ae(t,4),o,c,Bl)}function Zg(e,t){var o=ce(e)?xn:Wl;return o(e,Ki(ae(t,3)))}function Ng(e){var t=ce(e)?Ml:Fh;return t(e)}function Vg(e,t,o){(o?nt(e,t,o):t===i)?t=1:t=fe(t);var a=ce(e)?hh:zh;return a(e,t)}function Ug(e){var t=ce(e)?ph:Wh;return t(e)}function qg(e){if(e==null)return 0;if(lt(e))return Yi(e)?or(e):e.length;var t=Qe(e);return t==Ze||t==mt?e.size:da(e).length}function Gg(e,t,o){var a=ce(e)?qo:jh;return o&&nt(e,t,o)&&(t=i),a(e,ae(t,3))}var Kg=pe(function(e,t){if(e==null)return[];var o=t.length;return o>1&&nt(e,t[0],t[1])?t=[]:o>2&&nt(t[0],t[1],t[2])&&(t=[t[0]]),Kl(e,Xe(t,1),[])}),qi=k1||function(){return Ke.Date.now()};function Xg(e,t){if(typeof t!="function")throw new $t(d);return e=fe(e),function(){if(--e<1)return t.apply(this,arguments)}}function Zu(e,t,o){return t=o?i:t,t=e&&t==null?e.length:t,on(e,q,i,i,i,i,t)}function Nu(e,t){var o;if(typeof t!="function")throw new $t(d);return e=fe(e),function(){return--e>0&&(o=t.apply(this,arguments)),e<=1&&(t=i),o}}var La=pe(function(e,t,o){var a=P;if(o.length){var c=Cn(o,hr(La));a|=U}return on(e,a,t,o,c)}),Vu=pe(function(e,t,o){var a=P|z;if(o.length){var c=Cn(o,hr(Vu));a|=U}return on(t,a,e,o,c)});function Uu(e,t,o){t=o?i:t;var a=on(e,R,i,i,i,i,i,t);return a.placeholder=Uu.placeholder,a}function qu(e,t,o){t=o?i:t;var a=on(e,H,i,i,i,i,i,t);return a.placeholder=qu.placeholder,a}function Gu(e,t,o){var a,c,g,w,b,S,L=0,F=!1,D=!1,J=!0;if(typeof e!="function")throw new $t(d);t=Pt(t)||0,Le(o)&&(F=!!o.leading,D="maxWait"in o,g=D?Ue(Pt(o.maxWait)||0,t):g,J="trailing"in o?!!o.trailing:J);function re(je){var Vt=a,cn=c;return a=c=i,L=je,w=e.apply(cn,Vt),w}function se(je){return L=je,b=Nr(me,t),F?re(je):w}function he(je){var Vt=je-S,cn=je-L,hc=t-Vt;return D?Ye(hc,g-cn):hc}function le(je){var Vt=je-S,cn=je-L;return S===i||Vt>=t||Vt<0||D&&cn>=g}function me(){var je=qi();if(le(je))return be(je);b=Nr(me,he(je))}function be(je){return b=i,J&&a?re(je):(a=c=i,w)}function xt(){b!==i&&iu(b),L=0,a=S=c=b=i}function rt(){return b===i?w:be(qi())}function _t(){var je=qi(),Vt=le(je);if(a=arguments,c=this,S=je,Vt){if(b===i)return se(S);if(D)return iu(b),b=Nr(me,t),re(S)}return b===i&&(b=Nr(me,t)),w}return _t.cancel=xt,_t.flush=rt,_t}var Yg=pe(function(e,t){return zl(e,1,t)}),Qg=pe(function(e,t,o){return zl(e,Pt(t)||0,o)});function Jg(e){return on(e,we)}function Gi(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new $t(d);var o=function(){var a=arguments,c=t?t.apply(this,a):a[0],g=o.cache;if(g.has(c))return g.get(c);var w=e.apply(this,a);return o.cache=g.set(c,w)||g,w};return o.cache=new(Gi.Cache||nn),o}Gi.Cache=nn;function Ki(e){if(typeof e!="function")throw new $t(d);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function e2(e){return Nu(2,e)}var t2=Dh(function(e,t){t=t.length==1&&ce(t[0])?Me(t[0],wt(ae())):Me(Xe(t,1),wt(ae()));var o=t.length;return pe(function(a){for(var c=-1,g=Ye(a.length,o);++c<g;)a[c]=t[c].call(this,a[c]);return vt(e,this,a)})}),Fa=pe(function(e,t){var o=Cn(t,hr(Fa));return on(e,U,i,t,o)}),Ku=pe(function(e,t){var o=Cn(t,hr(Ku));return on(e,G,i,t,o)}),n2=an(function(e,t){return on(e,Y,i,i,i,t)});function r2(e,t){if(typeof e!="function")throw new $t(d);return t=t===i?t:fe(t),pe(e,t)}function i2(e,t){if(typeof e!="function")throw new $t(d);return t=t==null?0:Ue(fe(t),0),pe(function(o){var a=o[t],c=$n(o,0,t);return a&&_n(c,a),vt(e,this,c)})}function o2(e,t,o){var a=!0,c=!0;if(typeof e!="function")throw new $t(d);return Le(o)&&(a="leading"in o?!!o.leading:a,c="trailing"in o?!!o.trailing:c),Gu(e,t,{leading:a,maxWait:t,trailing:c})}function a2(e){return Zu(e,1)}function s2(e,t){return Fa(ya(t),e)}function l2(){if(!arguments.length)return[];var e=arguments[0];return ce(e)?e:[e]}function u2(e){return Rt(e,T)}function c2(e,t){return t=typeof t=="function"?t:i,Rt(e,T,t)}function d2(e){return Rt(e,_|T)}function f2(e,t){return t=typeof t=="function"?t:i,Rt(e,_|T,t)}function h2(e,t){return t==null||Fl(e,t,Ge(t))}function Nt(e,t){return e===t||e!==e&&t!==t}var p2=Di(la),g2=Di(function(e,t){return e>=t}),qn=Hl(function(){return arguments}())?Hl:function(e){return Fe(e)&&Ae.call(e,"callee")&&!$l.call(e,"callee")},ce=$.isArray,m2=ul?wt(ul):Sh;function lt(e){return e!=null&&Xi(e.length)&&!ln(e)}function We(e){return Fe(e)&<(e)}function v2(e){return e===!0||e===!1||Fe(e)&&tt(e)==Gt}var kn=I1||qa,w2=cl?wt(cl):Eh;function b2(e){return Fe(e)&&e.nodeType===1&&!Vr(e)}function y2(e){if(e==null)return!0;if(lt(e)&&(ce(e)||typeof e=="string"||typeof e.splice=="function"||kn(e)||pr(e)||qn(e)))return!e.length;var t=Qe(e);if(t==Ze||t==mt)return!e.size;if(Zr(e))return!da(e).length;for(var o in e)if(Ae.call(e,o))return!1;return!0}function x2(e,t){return jr(e,t)}function _2(e,t,o){o=typeof o=="function"?o:i;var a=o?o(e,t):i;return a===i?jr(e,t,i,o):!!a}function za(e){if(!Fe(e))return!1;var t=tt(e);return t==He||t==tr||typeof e.message=="string"&&typeof e.name=="string"&&!Vr(e)}function C2(e){return typeof e=="number"&&Rl(e)}function ln(e){if(!Le(e))return!1;var t=tt(e);return t==Wt||t==yn||t==wn||t==Rr}function Xu(e){return typeof e=="number"&&e==fe(e)}function Xi(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=oe}function Le(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function Fe(e){return e!=null&&typeof e=="object"}var Yu=dl?wt(dl):Th;function S2(e,t){return e===t||ca(e,t,Ta(t))}function E2(e,t,o){return o=typeof o=="function"?o:i,ca(e,t,Ta(t),o)}function A2(e){return Qu(e)&&e!=+e}function T2(e){if(cp(e))throw new ue(u);return Zl(e)}function $2(e){return e===null}function k2(e){return e==null}function Qu(e){return typeof e=="number"||Fe(e)&&tt(e)==Fn}function Vr(e){if(!Fe(e)||tt(e)!=Et)return!1;var t=Ci(e);if(t===null)return!0;var o=Ae.call(t,"constructor")&&t.constructor;return typeof o=="function"&&o instanceof o&&bi.call(o)==E1}var Ba=fl?wt(fl):$h;function R2(e){return Xu(e)&&e>=-9007199254740991&&e<=oe}var Ju=hl?wt(hl):kh;function Yi(e){return typeof e=="string"||!ce(e)&&Fe(e)&&tt(e)==Bn}function yt(e){return typeof e=="symbol"||Fe(e)&&tt(e)==ne}var pr=pl?wt(pl):Rh;function I2(e){return e===i}function O2(e){return Fe(e)&&Qe(e)==Be}function P2(e){return Fe(e)&&tt(e)==jt}var M2=Di(fa),L2=Di(function(e,t){return e<=t});function ec(e){if(!e)return[];if(lt(e))return Yi(e)?Ht(e):st(e);if(Or&&e[Or])return h1(e[Or]());var t=Qe(e),o=t==Ze?Jo:t==mt?mi:gr;return o(e)}function un(e){if(!e)return e===0?e:0;if(e=Pt(e),e===ee||e===-1/0){var t=e<0?-1:1;return t*$e}return e===e?e:0}function fe(e){var t=un(e),o=t%1;return t===t?o?t-o:t:0}function tc(e){return e?Zn(fe(e),0,ze):0}function Pt(e){if(typeof e=="number")return e;if(yt(e))return ke;if(Le(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Le(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=yl(e);var o=m0.test(e);return o||w0.test(e)?X0(e.slice(2),o?2:8):g0.test(e)?ke:+e}function nc(e){return Xt(e,ut(e))}function F2(e){return e?Zn(fe(e),-9007199254740991,oe):e===0?e:0}function Se(e){return e==null?"":bt(e)}var z2=dr(function(e,t){if(Zr(t)||lt(t)){Xt(t,Ge(t),e);return}for(var o in t)Ae.call(t,o)&&zr(e,o,t[o])}),rc=dr(function(e,t){Xt(t,ut(t),e)}),Qi=dr(function(e,t,o,a){Xt(t,ut(t),e,a)}),B2=dr(function(e,t,o,a){Xt(t,Ge(t),e,a)}),W2=an(oa);function j2(e,t){var o=cr(e);return t==null?o:Ll(o,t)}var D2=pe(function(e,t){e=Re(e);var o=-1,a=t.length,c=a>2?t[2]:i;for(c&&nt(t[0],t[1],c)&&(a=1);++o<a;)for(var g=t[o],w=ut(g),b=-1,S=w.length;++b<S;){var L=w[b],F=e[L];(F===i||Nt(F,sr[L])&&!Ae.call(e,L))&&(e[L]=g[L])}return e}),H2=pe(function(e){return e.push(i,yu),vt(ic,i,e)});function Z2(e,t){return ml(e,ae(t,3),Kt)}function N2(e,t){return ml(e,ae(t,3),sa)}function V2(e,t){return e==null?e:aa(e,ae(t,3),ut)}function U2(e,t){return e==null?e:jl(e,ae(t,3),ut)}function q2(e,t){return e&&Kt(e,ae(t,3))}function G2(e,t){return e&&sa(e,ae(t,3))}function K2(e){return e==null?[]:Pi(e,Ge(e))}function X2(e){return e==null?[]:Pi(e,ut(e))}function Wa(e,t,o){var a=e==null?i:Nn(e,t);return a===i?o:a}function Y2(e,t){return e!=null&&Cu(e,t,yh)}function ja(e,t){return e!=null&&Cu(e,t,xh)}var Q2=gu(function(e,t,o){t!=null&&typeof t.toString!="function"&&(t=yi.call(t)),e[t]=o},Ha(ct)),J2=gu(function(e,t,o){t!=null&&typeof t.toString!="function"&&(t=yi.call(t)),Ae.call(e,t)?e[t].push(o):e[t]=[o]},ae),em=pe(Wr);function Ge(e){return lt(e)?Pl(e):da(e)}function ut(e){return lt(e)?Pl(e,!0):Ih(e)}function tm(e,t){var o={};return t=ae(t,3),Kt(e,function(a,c,g){rn(o,t(a,c,g),a)}),o}function nm(e,t){var o={};return t=ae(t,3),Kt(e,function(a,c,g){rn(o,c,t(a,c,g))}),o}var rm=dr(function(e,t,o){Mi(e,t,o)}),ic=dr(function(e,t,o,a){Mi(e,t,o,a)}),im=an(function(e,t){var o={};if(e==null)return o;var a=!1;t=Me(t,function(g){return g=Tn(g,e),a||(a=g.length>1),g}),Xt(e,Ea(e),o),a&&(o=Rt(o,_|E|T,Qh));for(var c=t.length;c--;)va(o,t[c]);return o});function om(e,t){return oc(e,Ki(ae(t)))}var am=an(function(e,t){return e==null?{}:Ph(e,t)});function oc(e,t){if(e==null)return{};var o=Me(Ea(e),function(a){return[a]});return t=ae(t),Xl(e,o,function(a,c){return t(a,c[0])})}function sm(e,t,o){t=Tn(t,e);var a=-1,c=t.length;for(c||(c=1,e=i);++a<c;){var g=e==null?i:e[Yt(t[a])];g===i&&(a=c,g=o),e=ln(g)?g.call(e):g}return e}function lm(e,t,o){return e==null?e:Dr(e,t,o)}function um(e,t,o,a){return a=typeof a=="function"?a:i,e==null?e:Dr(e,t,o,a)}var ac=wu(Ge),sc=wu(ut);function cm(e,t,o){var a=ce(e),c=a||kn(e)||pr(e);if(t=ae(t,4),o==null){var g=e&&e.constructor;c?o=a?new g:[]:Le(e)?o=ln(g)?cr(Ci(e)):{}:o={}}return(c?Tt:Kt)(e,function(w,b,S){return t(o,w,b,S)}),o}function dm(e,t){return e==null?!0:va(e,t)}function fm(e,t,o){return e==null?e:tu(e,t,ya(o))}function hm(e,t,o,a){return a=typeof a=="function"?a:i,e==null?e:tu(e,t,ya(o),a)}function gr(e){return e==null?[]:Qo(e,Ge(e))}function pm(e){return e==null?[]:Qo(e,ut(e))}function gm(e,t,o){return o===i&&(o=t,t=i),o!==i&&(o=Pt(o),o=o===o?o:0),t!==i&&(t=Pt(t),t=t===t?t:0),Zn(Pt(e),t,o)}function mm(e,t,o){return t=un(t),o===i?(o=t,t=0):o=un(o),e=Pt(e),_h(e,t,o)}function vm(e,t,o){if(o&&typeof o!="boolean"&&nt(e,t,o)&&(t=o=i),o===i&&(typeof t=="boolean"?(o=t,t=i):typeof e=="boolean"&&(o=e,e=i)),e===i&&t===i?(e=0,t=1):(e=un(e),t===i?(t=e,e=0):t=un(t)),e>t){var a=e;e=t,t=a}if(o||e%1||t%1){var c=Il();return Ye(e+c*(t-e+K0("1e-"+((c+"").length-1))),t)}return pa(e,t)}var wm=fr(function(e,t,o){return t=t.toLowerCase(),e+(o?lc(t):t)});function lc(e){return Da(Se(e).toLowerCase())}function uc(e){return e=Se(e),e&&e.replace(y0,l1).replace(W0,"")}function bm(e,t,o){e=Se(e),t=bt(t);var a=e.length;o=o===i?a:Zn(fe(o),0,a);var c=o;return o-=t.length,o>=0&&e.slice(o,c)==t}function ym(e){return e=Se(e),e&&e0.test(e)?e.replace(js,u1):e}function xm(e){return e=Se(e),e&&a0.test(e)?e.replace(Fo,"\\$&"):e}var _m=fr(function(e,t,o){return e+(o?"-":"")+t.toLowerCase()}),Cm=fr(function(e,t,o){return e+(o?" ":"")+t.toLowerCase()}),Sm=fu("toLowerCase");function Em(e,t,o){e=Se(e),t=fe(t);var a=t?or(e):0;if(!t||a>=t)return e;var c=(t-a)/2;return ji(Ti(c),o)+e+ji(Ai(c),o)}function Am(e,t,o){e=Se(e),t=fe(t);var a=t?or(e):0;return t&&a<t?e+ji(t-a,o):e}function Tm(e,t,o){e=Se(e),t=fe(t);var a=t?or(e):0;return t&&a<t?ji(t-a,o)+e:e}function $m(e,t,o){return o||t==null?t=0:t&&(t=+t),L1(Se(e).replace(zo,""),t||0)}function km(e,t,o){return(o?nt(e,t,o):t===i)?t=1:t=fe(t),ga(Se(e),t)}function Rm(){var e=arguments,t=Se(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var Im=fr(function(e,t,o){return e+(o?"_":"")+t.toLowerCase()});function Om(e,t,o){return o&&typeof o!="number"&&nt(e,t,o)&&(t=o=i),o=o===i?ze:o>>>0,o?(e=Se(e),e&&(typeof t=="string"||t!=null&&!Ba(t))&&(t=bt(t),!t&&ir(e))?$n(Ht(e),0,o):e.split(t,o)):[]}var Pm=fr(function(e,t,o){return e+(o?" ":"")+Da(t)});function Mm(e,t,o){return e=Se(e),o=o==null?0:Zn(fe(o),0,e.length),t=bt(t),e.slice(o,o+t.length)==t}function Lm(e,t,o){var a=f.templateSettings;o&&nt(e,t,o)&&(t=i),e=Se(e),t=Qi({},t,a,bu);var c=Qi({},t.imports,a.imports,bu),g=Ge(c),w=Qo(c,g),b,S,L=0,F=t.interpolate||di,D="__p += '",J=ea((t.escape||di).source+"|"+F.source+"|"+(F===Ds?p0:di).source+"|"+(t.evaluate||di).source+"|$","g"),re="//# sourceURL="+(Ae.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++N0+"]")+`
|
|
11
|
-
`;e.replace(
|
|
12
|
-
__e(`+
|
|
13
|
-
'`),
|
|
14
|
-
`+
|
|
15
|
-
__p += '`),
|
|
16
|
-
((__t = (`+
|
|
17
|
-
'`),
|
|
18
|
-
`;var
|
|
10
|
+
`)}function k1(e){return le(e)||Pn(e)||!!(ps&&e&&e[ps])}function sn(e,t){var o=typeof e;return t=t??K,!!t&&(o=="number"||o!="symbol"&&jd.test(e))&&e>-1&&e%1==0&&e<t}function at(e,t,o){if(!je(o))return!1;var a=typeof t;return(a=="number"?gt(o)&&sn(t,o.length):a=="string"&&t in o)?Ut(o[t],e):!1}function Oo(e,t){if(le(e))return!1;var o=typeof e;return o=="number"||o=="symbol"||o=="boolean"||e==null||At(e)?!0:Sd.test(e)||!Cd.test(e)||t!=null&&e in Ie(t)}function $1(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Po(e){var t=si(e),o=d[t];if(typeof o!="function"||!(t in be.prototype))return!1;if(e===o)return!0;var a=$o(o);return!!a&&e===a[0]}function R1(e){return!!cs&&cs in e}var I1=zr?ln:Xo;function br(e){var t=e&&e.constructor,o=typeof t=="function"&&t.prototype||Vn;return e===o}function cl(e){return e===e&&!je(e)}function dl(e,t){return function(o){return o==null?!1:o[e]===t&&(t!==r||e in Ie(o))}}function O1(e){var t=hi(e,function(a){return o.size===m&&o.clear(),a}),o=t.cache;return t}function P1(e,t){var o=e[1],a=t[1],c=o|a,p=c<(_|L|Z),w=a==Z&&o==T||a==Z&&o==U&&e[7].length<=t[8]||a==(Z|U)&&t[7].length<=t[8]&&o==T;if(!(p||w))return e;a&_&&(e[2]=t[2],c|=o&_?0:I);var E=t[3];if(E){var $=e[3];e[3]=$?qs($,E,t[4]):E,e[4]=$?mn(e[3],k):t[4]}return E=t[5],E&&($=e[5],e[5]=$?Gs($,E,t[6]):E,e[6]=$?mn(e[5],k):t[6]),E=t[7],E&&(e[7]=E),a&Z&&(e[8]=e[8]==null?t[8]:nt(e[8],t[8])),e[9]==null&&(e[9]=t[9]),e[0]=t[0],e[1]=c,e}function M1(e){var t=[];if(e!=null)for(var o in Ie(e))t.push(o);return t}function L1(e){return jr.call(e)}function fl(e,t,o){return t=He(t===r?e.length-1:t,0),function(){for(var a=arguments,c=-1,p=He(a.length-t,0),w=P(p);++c<p;)w[c]=a[t+c];c=-1;for(var E=P(t+1);++c<t;)E[c]=a[c];return E[t]=o(w),Ct(e,this,E)}}function hl(e,t){return t.length<2?e:Rn(e,Lt(t,0,-1))}function F1(e,t){for(var o=e.length,a=nt(t.length,o),c=pt(e);a--;){var p=t[a];e[a]=sn(p,o)?c[p]:r}return e}function Mo(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var pl=ml(zs),wr=Yf||function(e,t){return Ye.setTimeout(e,t)},Lo=ml(o1);function gl(e,t,o){var a=t+"";return Lo(e,T1(a,z1(S1(a),o)))}function ml(e){var t=0,o=0;return function(){var a=t0(),c=B-(a-o);if(o=a,c>0){if(++t>=W)return arguments[0]}else t=0;return e.apply(r,arguments)}}function ui(e,t){var o=-1,a=e.length,c=a-1;for(t=t===r?a:t;++o<t;){var p=vo(o,c),w=e[p];e[p]=e[o],e[o]=w}return e.length=t,e}var vl=O1(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Ed,function(o,a,c,p){t.push(c?p.replace(Pd,"$1"):a||o)}),t});function Jt(e){if(typeof e=="string"||At(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function On(e){if(e!=null){try{return Br.call(e)}catch{}try{return e+""}catch{}}return""}function z1(e,t){return It(qe,function(o){var a="_."+o[0];t&o[1]&&!Pr(e,a)&&e.push(a)}),e.sort()}function bl(e){if(e instanceof be)return e.clone();var t=new Pt(e.__wrapped__,e.__chain__);return t.__actions__=pt(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function B1(e,t,o){(o?at(e,t,o):t===r)?t=1:t=He(ce(t),0);var a=e==null?0:e.length;if(!a||t<1)return[];for(var c=0,p=0,w=P(Vr(a/t));c<a;)w[p++]=Lt(e,c,c+=t);return w}function j1(e){for(var t=-1,o=e==null?0:e.length,a=0,c=[];++t<o;){var p=e[t];p&&(c[a++]=p)}return c}function W1(){var e=arguments.length;if(!e)return[];for(var t=P(e-1),o=arguments[0],a=e;a--;)t[a-1]=arguments[a];return gn(le(o)?pt(o):[o],Qe(t,1))}var D1=ge(function(e,t){return De(e)?hr(e,Qe(t,1,De,!0)):[]}),N1=ge(function(e,t){var o=Ft(t);return De(o)&&(o=r),De(e)?hr(e,Qe(t,1,De,!0),ne(o,2)):[]}),Z1=ge(function(e,t){var o=Ft(t);return De(o)&&(o=r),De(e)?hr(e,Qe(t,1,De,!0),r,o):[]});function H1(e,t,o){var a=e==null?0:e.length;return a?(t=o||t===r?1:ce(t),Lt(e,t<0?0:t,a)):[]}function V1(e,t,o){var a=e==null?0:e.length;return a?(t=o||t===r?1:ce(t),t=a-t,Lt(e,0,t<0?0:t)):[]}function U1(e,t){return e&&e.length?ti(e,ne(t,3),!0,!0):[]}function q1(e,t){return e&&e.length?ti(e,ne(t,3),!0):[]}function G1(e,t,o,a){var c=e==null?0:e.length;return c?(o&&typeof o!="number"&&at(e,t,o)&&(o=0,a=c),W0(e,t,o,a)):[]}function wl(e,t,o){var a=e==null?0:e.length;if(!a)return-1;var c=o==null?0:ce(o);return c<0&&(c=He(a+c,0)),Mr(e,ne(t,3),c)}function yl(e,t,o){var a=e==null?0:e.length;if(!a)return-1;var c=a-1;return o!==r&&(c=ce(o),c=o<0?He(a+c,0):nt(c,a-1)),Mr(e,ne(t,3),c,!0)}function xl(e){var t=e==null?0:e.length;return t?Qe(e,1):[]}function K1(e){var t=e==null?0:e.length;return t?Qe(e,Q):[]}function X1(e,t){var o=e==null?0:e.length;return o?(t=t===r?1:ce(t),Qe(e,t)):[]}function Y1(e){for(var t=-1,o=e==null?0:e.length,a={};++t<o;){var c=e[t];a[c[0]]=c[1]}return a}function _l(e){return e&&e.length?e[0]:r}function Q1(e,t,o){var a=e==null?0:e.length;if(!a)return-1;var c=o==null?0:ce(o);return c<0&&(c=He(a+c,0)),Dn(e,t,c)}function J1(e){var t=e==null?0:e.length;return t?Lt(e,0,-1):[]}var eh=ge(function(e){var t=ze(e,_o);return t.length&&t[0]===e[0]?fo(t):[]}),th=ge(function(e){var t=Ft(e),o=ze(e,_o);return t===Ft(o)?t=r:o.pop(),o.length&&o[0]===e[0]?fo(o,ne(t,2)):[]}),nh=ge(function(e){var t=Ft(e),o=ze(e,_o);return t=typeof t=="function"?t:r,t&&o.pop(),o.length&&o[0]===e[0]?fo(o,r,t):[]});function rh(e,t){return e==null?"":Jf.call(e,t)}function Ft(e){var t=e==null?0:e.length;return t?e[t-1]:r}function ih(e,t,o){var a=e==null?0:e.length;if(!a)return-1;var c=a;return o!==r&&(c=ce(o),c=c<0?He(a+c,0):nt(c,a-1)),t===t?zf(e,t,c):Mr(e,ns,c,!0)}function oh(e,t){return e&&e.length?Ps(e,ce(t)):r}var ah=ge(Cl);function Cl(e,t){return e&&e.length&&t&&t.length?mo(e,t):e}function sh(e,t,o){return e&&e.length&&t&&t.length?mo(e,t,ne(o,2)):e}function lh(e,t,o){return e&&e.length&&t&&t.length?mo(e,t,r,o):e}var uh=an(function(e,t){var o=e==null?0:e.length,a=so(e,t);return Fs(e,ze(t,function(c){return sn(c,o)?+c:c}).sort(Us)),a});function ch(e,t){var o=[];if(!(e&&e.length))return o;var a=-1,c=[],p=e.length;for(t=ne(t,3);++a<p;){var w=e[a];t(w,a,e)&&(o.push(w),c.push(a))}return Fs(e,c),o}function Fo(e){return e==null?e:r0.call(e)}function dh(e,t,o){var a=e==null?0:e.length;return a?(o&&typeof o!="number"&&at(e,t,o)?(t=0,o=a):(t=t==null?0:ce(t),o=o===r?a:ce(o)),Lt(e,t,o)):[]}function fh(e,t){return ei(e,t)}function hh(e,t,o){return wo(e,t,ne(o,2))}function ph(e,t){var o=e==null?0:e.length;if(o){var a=ei(e,t);if(a<o&&Ut(e[a],t))return a}return-1}function gh(e,t){return ei(e,t,!0)}function mh(e,t,o){return wo(e,t,ne(o,2),!0)}function vh(e,t){var o=e==null?0:e.length;if(o){var a=ei(e,t,!0)-1;if(Ut(e[a],t))return a}return-1}function bh(e){return e&&e.length?Bs(e):[]}function wh(e,t){return e&&e.length?Bs(e,ne(t,2)):[]}function yh(e){var t=e==null?0:e.length;return t?Lt(e,1,t):[]}function xh(e,t,o){return e&&e.length?(t=o||t===r?1:ce(t),Lt(e,0,t<0?0:t)):[]}function _h(e,t,o){var a=e==null?0:e.length;return a?(t=o||t===r?1:ce(t),t=a-t,Lt(e,t<0?0:t,a)):[]}function Ch(e,t){return e&&e.length?ti(e,ne(t,3),!1,!0):[]}function Sh(e,t){return e&&e.length?ti(e,ne(t,3)):[]}var Eh=ge(function(e){return wn(Qe(e,1,De,!0))}),Ah=ge(function(e){var t=Ft(e);return De(t)&&(t=r),wn(Qe(e,1,De,!0),ne(t,2))}),Th=ge(function(e){var t=Ft(e);return t=typeof t=="function"?t:r,wn(Qe(e,1,De,!0),r,t)});function kh(e){return e&&e.length?wn(e):[]}function $h(e,t){return e&&e.length?wn(e,ne(t,2)):[]}function Rh(e,t){return t=typeof t=="function"?t:r,e&&e.length?wn(e,r,t):[]}function zo(e){if(!(e&&e.length))return[];var t=0;return e=pn(e,function(o){if(De(o))return t=He(o.length,t),!0}),Ji(t,function(o){return ze(e,Xi(o))})}function Sl(e,t){if(!(e&&e.length))return[];var o=zo(e);return t==null?o:ze(o,function(a){return Ct(t,r,a)})}var Ih=ge(function(e,t){return De(e)?hr(e,t):[]}),Oh=ge(function(e){return xo(pn(e,De))}),Ph=ge(function(e){var t=Ft(e);return De(t)&&(t=r),xo(pn(e,De),ne(t,2))}),Mh=ge(function(e){var t=Ft(e);return t=typeof t=="function"?t:r,xo(pn(e,De),r,t)}),Lh=ge(zo);function Fh(e,t){return Ns(e||[],t||[],fr)}function zh(e,t){return Ns(e||[],t||[],mr)}var Bh=ge(function(e){var t=e.length,o=t>1?e[t-1]:r;return o=typeof o=="function"?(e.pop(),o):r,Sl(e,o)});function El(e){var t=d(e);return t.__chain__=!0,t}function jh(e,t){return t(e),e}function ci(e,t){return t(e)}var Wh=an(function(e){var t=e.length,o=t?e[0]:0,a=this.__wrapped__,c=function(p){return so(p,e)};return t>1||this.__actions__.length||!(a instanceof be)||!sn(o)?this.thru(c):(a=a.slice(o,+o+(t?1:0)),a.__actions__.push({func:ci,args:[c],thisArg:r}),new Pt(a,this.__chain__).thru(function(p){return t&&!p.length&&p.push(r),p}))});function Dh(){return El(this)}function Nh(){return new Pt(this.value(),this.__chain__)}function Zh(){this.__values__===r&&(this.__values__=jl(this.value()));var e=this.__index__>=this.__values__.length,t=e?r:this.__values__[this.__index__++];return{done:e,value:t}}function Hh(){return this}function Vh(e){for(var t,o=this;o instanceof Kr;){var a=bl(o);a.__index__=0,a.__values__=r,t?c.__wrapped__=a:t=a;var c=a;o=o.__wrapped__}return c.__wrapped__=e,t}function Uh(){var e=this.__wrapped__;if(e instanceof be){var t=e;return this.__actions__.length&&(t=new be(this)),t=t.reverse(),t.__actions__.push({func:ci,args:[Fo],thisArg:r}),new Pt(t,this.__chain__)}return this.thru(Fo)}function qh(){return Ds(this.__wrapped__,this.__actions__)}var Gh=ni(function(e,t,o){$e.call(e,o)?++e[o]:rn(e,o,1)});function Kh(e,t,o){var a=le(e)?es:j0;return o&&at(e,t,o)&&(t=r),a(e,ne(t,3))}function Xh(e,t){var o=le(e)?pn:Ss;return o(e,ne(t,3))}var Yh=Qs(wl),Qh=Qs(yl);function Jh(e,t){return Qe(di(e,t),1)}function ep(e,t){return Qe(di(e,t),Q)}function tp(e,t,o){return o=o===r?1:ce(o),Qe(di(e,t),o)}function Al(e,t){var o=le(e)?It:bn;return o(e,ne(t,3))}function Tl(e,t){var o=le(e)?yf:Cs;return o(e,ne(t,3))}var np=ni(function(e,t,o){$e.call(e,o)?e[o].push(t):rn(e,o,[t])});function rp(e,t,o,a){e=gt(e)?e:Jn(e),o=o&&!a?ce(o):0;var c=e.length;return o<0&&(o=He(c+o,0)),mi(e)?o<=c&&e.indexOf(t,o)>-1:!!c&&Dn(e,t,o)>-1}var ip=ge(function(e,t,o){var a=-1,c=typeof t=="function",p=gt(e)?P(e.length):[];return bn(e,function(w){p[++a]=c?Ct(t,w,o):pr(w,t,o)}),p}),op=ni(function(e,t,o){rn(e,o,t)});function di(e,t){var o=le(e)?ze:Rs;return o(e,ne(t,3))}function ap(e,t,o,a){return e==null?[]:(le(t)||(t=t==null?[]:[t]),o=a?r:o,le(o)||(o=o==null?[]:[o]),Ms(e,t,o))}var sp=ni(function(e,t,o){e[o?0:1].push(t)},function(){return[[],[]]});function lp(e,t,o){var a=le(e)?Gi:is,c=arguments.length<3;return a(e,ne(t,4),o,c,bn)}function up(e,t,o){var a=le(e)?xf:is,c=arguments.length<3;return a(e,ne(t,4),o,c,Cs)}function cp(e,t){var o=le(e)?pn:Ss;return o(e,pi(ne(t,3)))}function dp(e){var t=le(e)?ws:r1;return t(e)}function fp(e,t,o){(o?at(e,t,o):t===r)?t=1:t=ce(t);var a=le(e)?M0:i1;return a(e,t)}function hp(e){var t=le(e)?L0:a1;return t(e)}function pp(e){if(e==null)return 0;if(gt(e))return mi(e)?Zn(e):e.length;var t=rt(e);return t==Be||t==tt?e.size:po(e).length}function gp(e,t,o){var a=le(e)?Ki:s1;return o&&at(e,t,o)&&(t=r),a(e,ne(t,3))}var mp=ge(function(e,t){if(e==null)return[];var o=t.length;return o>1&&at(e,t[0],t[1])?t=[]:o>2&&at(t[0],t[1],t[2])&&(t=[t[0]]),Ms(e,Qe(t,1),[])}),fi=Xf||function(){return Ye.Date.now()};function vp(e,t){if(typeof t!="function")throw new Ot(h);return e=ce(e),function(){if(--e<1)return t.apply(this,arguments)}}function kl(e,t,o){return t=o?r:t,t=e&&t==null?e.length:t,on(e,Z,r,r,r,r,t)}function $l(e,t){var o;if(typeof t!="function")throw new Ot(h);return e=ce(e),function(){return--e>0&&(o=t.apply(this,arguments)),e<=1&&(t=r),o}}var Bo=ge(function(e,t,o){var a=_;if(o.length){var c=mn(o,Yn(Bo));a|=F}return on(e,a,t,o,c)}),Rl=ge(function(e,t,o){var a=_|L;if(o.length){var c=mn(o,Yn(Rl));a|=F}return on(t,a,e,o,c)});function Il(e,t,o){t=o?r:t;var a=on(e,T,r,r,r,r,r,t);return a.placeholder=Il.placeholder,a}function Ol(e,t,o){t=o?r:t;var a=on(e,O,r,r,r,r,r,t);return a.placeholder=Ol.placeholder,a}function Pl(e,t,o){var a,c,p,w,E,$,z=0,j=!1,D=!1,q=!0;if(typeof e!="function")throw new Ot(h);t=zt(t)||0,je(o)&&(j=!!o.leading,D="maxWait"in o,p=D?He(zt(o.maxWait)||0,t):p,q="trailing"in o?!!o.trailing:q);function J(Ne){var qt=a,cn=c;return a=c=r,z=Ne,w=e.apply(cn,qt),w}function re(Ne){return z=Ne,E=wr(ve,t),j?J(Ne):w}function fe(Ne){var qt=Ne-$,cn=Ne-z,Ql=t-qt;return D?nt(Ql,p-cn):Ql}function ie(Ne){var qt=Ne-$,cn=Ne-z;return $===r||qt>=t||qt<0||D&&cn>=p}function ve(){var Ne=fi();if(ie(Ne))return we(Ne);E=wr(ve,fe(Ne))}function we(Ne){return E=r,q&&a?J(Ne):(a=c=r,w)}function Tt(){E!==r&&Zs(E),z=0,a=$=c=E=r}function st(){return E===r?w:we(fi())}function kt(){var Ne=fi(),qt=ie(Ne);if(a=arguments,c=this,$=Ne,qt){if(E===r)return re($);if(D)return Zs(E),E=wr(ve,t),J($)}return E===r&&(E=wr(ve,t)),w}return kt.cancel=Tt,kt.flush=st,kt}var bp=ge(function(e,t){return _s(e,1,t)}),wp=ge(function(e,t,o){return _s(e,zt(t)||0,o)});function yp(e){return on(e,de)}function hi(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new Ot(h);var o=function(){var a=arguments,c=t?t.apply(this,a):a[0],p=o.cache;if(p.has(c))return p.get(c);var w=e.apply(this,a);return o.cache=p.set(c,w)||p,w};return o.cache=new(hi.Cache||nn),o}hi.Cache=nn;function pi(e){if(typeof e!="function")throw new Ot(h);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function xp(e){return $l(2,e)}var _p=l1(function(e,t){t=t.length==1&&le(t[0])?ze(t[0],St(ne())):ze(Qe(t,1),St(ne()));var o=t.length;return ge(function(a){for(var c=-1,p=nt(a.length,o);++c<p;)a[c]=t[c].call(this,a[c]);return Ct(e,this,a)})}),jo=ge(function(e,t){var o=mn(t,Yn(jo));return on(e,F,r,t,o)}),Ml=ge(function(e,t){var o=mn(t,Yn(Ml));return on(e,N,r,t,o)}),Cp=an(function(e,t){return on(e,U,r,r,r,t)});function Sp(e,t){if(typeof e!="function")throw new Ot(h);return t=t===r?t:ce(t),ge(e,t)}function Ep(e,t){if(typeof e!="function")throw new Ot(h);return t=t==null?0:He(ce(t),0),ge(function(o){var a=o[t],c=xn(o,0,t);return a&&gn(c,a),Ct(e,this,c)})}function Ap(e,t,o){var a=!0,c=!0;if(typeof e!="function")throw new Ot(h);return je(o)&&(a="leading"in o?!!o.leading:a,c="trailing"in o?!!o.trailing:c),Pl(e,t,{leading:a,maxWait:t,trailing:c})}function Tp(e){return kl(e,1)}function kp(e,t){return jo(Co(t),e)}function $p(){if(!arguments.length)return[];var e=arguments[0];return le(e)?e:[e]}function Rp(e){return Mt(e,x)}function Ip(e,t){return t=typeof t=="function"?t:r,Mt(e,x,t)}function Op(e){return Mt(e,R|x)}function Pp(e,t){return t=typeof t=="function"?t:r,Mt(e,R|x,t)}function Mp(e,t){return t==null||xs(e,t,Ge(t))}function Ut(e,t){return e===t||e!==e&&t!==t}var Lp=ai(co),Fp=ai(function(e,t){return e>=t}),Pn=Ts(function(){return arguments}())?Ts:function(e){return We(e)&&$e.call(e,"callee")&&!hs.call(e,"callee")},le=P.isArray,zp=Ga?St(Ga):V0;function gt(e){return e!=null&&gi(e.length)&&!ln(e)}function De(e){return We(e)&>(e)}function Bp(e){return e===!0||e===!1||We(e)&&ot(e)==wt}var _n=Qf||Xo,jp=Ka?St(Ka):U0;function Wp(e){return We(e)&&e.nodeType===1&&!yr(e)}function Dp(e){if(e==null)return!0;if(gt(e)&&(le(e)||typeof e=="string"||typeof e.splice=="function"||_n(e)||Qn(e)||Pn(e)))return!e.length;var t=rt(e);if(t==Be||t==tt)return!e.size;if(br(e))return!po(e).length;for(var o in e)if($e.call(e,o))return!1;return!0}function Np(e,t){return gr(e,t)}function Zp(e,t,o){o=typeof o=="function"?o:r;var a=o?o(e,t):r;return a===r?gr(e,t,r,o):!!a}function Wo(e){if(!We(e))return!1;var t=ot(e);return t==Pe||t==Nt||typeof e.message=="string"&&typeof e.name=="string"&&!yr(e)}function Hp(e){return typeof e=="number"&&gs(e)}function ln(e){if(!je(e))return!1;var t=ot(e);return t==Xe||t==xt||t==Dt||t==Kt}function Ll(e){return typeof e=="number"&&e==ce(e)}function gi(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=K}function je(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function We(e){return e!=null&&typeof e=="object"}var Fl=Xa?St(Xa):G0;function Vp(e,t){return e===t||ho(e,t,Ro(t))}function Up(e,t,o){return o=typeof o=="function"?o:r,ho(e,t,Ro(t),o)}function qp(e){return zl(e)&&e!=+e}function Gp(e){if(I1(e))throw new se(u);return ks(e)}function Kp(e){return e===null}function Xp(e){return e==null}function zl(e){return typeof e=="number"||We(e)&&ot(e)==dt}function yr(e){if(!We(e)||ot(e)!=et)return!1;var t=Nr(e);if(t===null)return!0;var o=$e.call(t,"constructor")&&t.constructor;return typeof o=="function"&&o instanceof o&&Br.call(o)==Uf}var Do=Ya?St(Ya):K0;function Yp(e){return Ll(e)&&e>=-9007199254740991&&e<=K}var Bl=Qa?St(Qa):X0;function mi(e){return typeof e=="string"||!le(e)&&We(e)&&ot(e)==Xt}function At(e){return typeof e=="symbol"||We(e)&&ot(e)==G}var Qn=Ja?St(Ja):Y0;function Qp(e){return e===r}function Jp(e){return We(e)&&rt(e)==Me}function eg(e){return We(e)&&ot(e)==ae}var tg=ai(go),ng=ai(function(e,t){return e<=t});function jl(e){if(!e)return[];if(gt(e))return mi(e)?Ht(e):pt(e);if(sr&&e[sr])return Mf(e[sr]());var t=rt(e),o=t==Be?to:t==tt?Lr:Jn;return o(e)}function un(e){if(!e)return e===0?e:0;if(e=zt(e),e===Q||e===-1/0){var t=e<0?-1:1;return t*me}return e===e?e:0}function ce(e){var t=un(e),o=t%1;return t===t?o?t-o:t:0}function Wl(e){return e?$n(ce(e),0,Re):0}function zt(e){if(typeof e=="number")return e;if(At(e))return Se;if(je(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=je(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=os(e);var o=Fd.test(e);return o||Bd.test(e)?vf(e.slice(2),o?2:8):Ld.test(e)?Se:+e}function Dl(e){return Qt(e,mt(e))}function rg(e){return e?$n(ce(e),-9007199254740991,K):e===0?e:0}function ke(e){return e==null?"":Et(e)}var ig=Kn(function(e,t){if(br(t)||gt(t)){Qt(t,Ge(t),e);return}for(var o in t)$e.call(t,o)&&fr(e,o,t[o])}),Nl=Kn(function(e,t){Qt(t,mt(t),e)}),vi=Kn(function(e,t,o,a){Qt(t,mt(t),e,a)}),og=Kn(function(e,t,o,a){Qt(t,Ge(t),e,a)}),ag=an(so);function sg(e,t){var o=Gn(e);return t==null?o:ys(o,t)}var lg=ge(function(e,t){e=Ie(e);var o=-1,a=t.length,c=a>2?t[2]:r;for(c&&at(t[0],t[1],c)&&(a=1);++o<a;)for(var p=t[o],w=mt(p),E=-1,$=w.length;++E<$;){var z=w[E],j=e[z];(j===r||Ut(j,Vn[z])&&!$e.call(e,z))&&(e[z]=p[z])}return e}),ug=ge(function(e){return e.push(r,ol),Ct(Zl,r,e)});function cg(e,t){return ts(e,ne(t,3),Yt)}function dg(e,t){return ts(e,ne(t,3),uo)}function fg(e,t){return e==null?e:lo(e,ne(t,3),mt)}function hg(e,t){return e==null?e:Es(e,ne(t,3),mt)}function pg(e,t){return e&&Yt(e,ne(t,3))}function gg(e,t){return e&&uo(e,ne(t,3))}function mg(e){return e==null?[]:Qr(e,Ge(e))}function vg(e){return e==null?[]:Qr(e,mt(e))}function No(e,t,o){var a=e==null?r:Rn(e,t);return a===r?o:a}function bg(e,t){return e!=null&&ll(e,t,D0)}function Zo(e,t){return e!=null&&ll(e,t,N0)}var wg=el(function(e,t,o){t!=null&&typeof t.toString!="function"&&(t=jr.call(t)),e[t]=o},Vo(vt)),yg=el(function(e,t,o){t!=null&&typeof t.toString!="function"&&(t=jr.call(t)),$e.call(e,t)?e[t].push(o):e[t]=[o]},ne),xg=ge(pr);function Ge(e){return gt(e)?bs(e):po(e)}function mt(e){return gt(e)?bs(e,!0):Q0(e)}function _g(e,t){var o={};return t=ne(t,3),Yt(e,function(a,c,p){rn(o,t(a,c,p),a)}),o}function Cg(e,t){var o={};return t=ne(t,3),Yt(e,function(a,c,p){rn(o,c,t(a,c,p))}),o}var Sg=Kn(function(e,t,o){Jr(e,t,o)}),Zl=Kn(function(e,t,o,a){Jr(e,t,o,a)}),Eg=an(function(e,t){var o={};if(e==null)return o;var a=!1;t=ze(t,function(p){return p=yn(p,e),a||(a=p.length>1),p}),Qt(e,ko(e),o),a&&(o=Mt(o,R|b|x,w1));for(var c=t.length;c--;)yo(o,t[c]);return o});function Ag(e,t){return Hl(e,pi(ne(t)))}var Tg=an(function(e,t){return e==null?{}:e1(e,t)});function Hl(e,t){if(e==null)return{};var o=ze(ko(e),function(a){return[a]});return t=ne(t),Ls(e,o,function(a,c){return t(a,c[0])})}function kg(e,t,o){t=yn(t,e);var a=-1,c=t.length;for(c||(c=1,e=r);++a<c;){var p=e==null?r:e[Jt(t[a])];p===r&&(a=c,p=o),e=ln(p)?p.call(e):p}return e}function $g(e,t,o){return e==null?e:mr(e,t,o)}function Rg(e,t,o,a){return a=typeof a=="function"?a:r,e==null?e:mr(e,t,o,a)}var Vl=rl(Ge),Ul=rl(mt);function Ig(e,t,o){var a=le(e),c=a||_n(e)||Qn(e);if(t=ne(t,4),o==null){var p=e&&e.constructor;c?o=a?new p:[]:je(e)?o=ln(p)?Gn(Nr(e)):{}:o={}}return(c?It:Yt)(e,function(w,E,$){return t(o,w,E,$)}),o}function Og(e,t){return e==null?!0:yo(e,t)}function Pg(e,t,o){return e==null?e:Ws(e,t,Co(o))}function Mg(e,t,o,a){return a=typeof a=="function"?a:r,e==null?e:Ws(e,t,Co(o),a)}function Jn(e){return e==null?[]:eo(e,Ge(e))}function Lg(e){return e==null?[]:eo(e,mt(e))}function Fg(e,t,o){return o===r&&(o=t,t=r),o!==r&&(o=zt(o),o=o===o?o:0),t!==r&&(t=zt(t),t=t===t?t:0),$n(zt(e),t,o)}function zg(e,t,o){return t=un(t),o===r?(o=t,t=0):o=un(o),e=zt(e),Z0(e,t,o)}function Bg(e,t,o){if(o&&typeof o!="boolean"&&at(e,t,o)&&(t=o=r),o===r&&(typeof t=="boolean"?(o=t,t=r):typeof e=="boolean"&&(o=e,e=r)),e===r&&t===r?(e=0,t=1):(e=un(e),t===r?(t=e,e=0):t=un(t)),e>t){var a=e;e=t,t=a}if(o||e%1||t%1){var c=ms();return nt(e+c*(t-e+mf("1e-"+((c+"").length-1))),t)}return vo(e,t)}var jg=Xn(function(e,t,o){return t=t.toLowerCase(),e+(o?ql(t):t)});function ql(e){return Ho(ke(e).toLowerCase())}function Gl(e){return e=ke(e),e&&e.replace(Wd,$f).replace(af,"")}function Wg(e,t,o){e=ke(e),t=Et(t);var a=e.length;o=o===r?a:$n(ce(o),0,a);var c=o;return o-=t.length,o>=0&&e.slice(o,c)==t}function Dg(e){return e=ke(e),e&&yd.test(e)?e.replace(Ea,Rf):e}function Ng(e){return e=ke(e),e&&Ad.test(e)?e.replace(Bi,"\\$&"):e}var Zg=Xn(function(e,t,o){return e+(o?"-":"")+t.toLowerCase()}),Hg=Xn(function(e,t,o){return e+(o?" ":"")+t.toLowerCase()}),Vg=Ys("toLowerCase");function Ug(e,t,o){e=ke(e),t=ce(t);var a=t?Zn(e):0;if(!t||a>=t)return e;var c=(t-a)/2;return oi(Ur(c),o)+e+oi(Vr(c),o)}function qg(e,t,o){e=ke(e),t=ce(t);var a=t?Zn(e):0;return t&&a<t?e+oi(t-a,o):e}function Gg(e,t,o){e=ke(e),t=ce(t);var a=t?Zn(e):0;return t&&a<t?oi(t-a,o)+e:e}function Kg(e,t,o){return o||t==null?t=0:t&&(t=+t),n0(ke(e).replace(ji,""),t||0)}function Xg(e,t,o){return(o?at(e,t,o):t===r)?t=1:t=ce(t),bo(ke(e),t)}function Yg(){var e=arguments,t=ke(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var Qg=Xn(function(e,t,o){return e+(o?"_":"")+t.toLowerCase()});function Jg(e,t,o){return o&&typeof o!="number"&&at(e,t,o)&&(t=o=r),o=o===r?Re:o>>>0,o?(e=ke(e),e&&(typeof t=="string"||t!=null&&!Do(t))&&(t=Et(t),!t&&Nn(e))?xn(Ht(e),0,o):e.split(t,o)):[]}var e2=Xn(function(e,t,o){return e+(o?" ":"")+Ho(t)});function t2(e,t,o){return e=ke(e),o=o==null?0:$n(ce(o),0,e.length),t=Et(t),e.slice(o,o+t.length)==t}function n2(e,t,o){var a=d.templateSettings;o&&at(e,t,o)&&(t=r),e=ke(e),t=vi({},t,a,il);var c=vi({},t.imports,a.imports,il),p=Ge(c),w=eo(c,p),E,$,z=0,j=t.interpolate||Rr,D="__p += '",q=no((t.escape||Rr).source+"|"+j.source+"|"+(j===Aa?Md:Rr).source+"|"+(t.evaluate||Rr).source+"|$","g"),J="//# sourceURL="+($e.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++df+"]")+`
|
|
11
|
+
`;e.replace(q,function(ie,ve,we,Tt,st,kt){return we||(we=Tt),D+=e.slice(z,kt).replace(Dd,If),ve&&(E=!0,D+=`' +
|
|
12
|
+
__e(`+ve+`) +
|
|
13
|
+
'`),st&&($=!0,D+=`';
|
|
14
|
+
`+st+`;
|
|
15
|
+
__p += '`),we&&(D+=`' +
|
|
16
|
+
((__t = (`+we+`)) == null ? '' : __t) +
|
|
17
|
+
'`),z=kt+ie.length,ie}),D+=`';
|
|
18
|
+
`;var re=$e.call(t,"variable")&&t.variable;if(!re)D=`with (obj) {
|
|
19
19
|
`+D+`
|
|
20
20
|
}
|
|
21
|
-
`;else if(
|
|
22
|
-
`+(
|
|
23
|
-
`)+"var __t, __p = ''"+(
|
|
21
|
+
`;else if(Od.test(re))throw new se(g);D=($?D.replace(md,""):D).replace(vd,"$1").replace(bd,"$1;"),D="function("+(re||"obj")+`) {
|
|
22
|
+
`+(re?"":`obj || (obj = {});
|
|
23
|
+
`)+"var __t, __p = ''"+(E?", __e = _.escape":"")+($?`, __j = Array.prototype.join;
|
|
24
24
|
function print() { __p += __j.call(arguments, '') }
|
|
25
25
|
`:`;
|
|
26
26
|
`)+D+`return __p
|
|
27
|
-
}`;var he=dc(function(){return _e(g,re+"return "+D).apply(i,w)});if(he.source=D,za(he))throw he;return he}function Fm(e){return Se(e).toLowerCase()}function zm(e){return Se(e).toUpperCase()}function Bm(e,t,o){if(e=Se(e),e&&(o||t===i))return yl(e);if(!e||!(t=bt(t)))return e;var a=Ht(e),c=Ht(t),g=xl(a,c),w=_l(a,c)+1;return $n(a,g,w).join("")}function Wm(e,t,o){if(e=Se(e),e&&(o||t===i))return e.slice(0,Sl(e)+1);if(!e||!(t=bt(t)))return e;var a=Ht(e),c=_l(a,Ht(t))+1;return $n(a,0,c).join("")}function jm(e,t,o){if(e=Se(e),e&&(o||t===i))return e.replace(zo,"");if(!e||!(t=bt(t)))return e;var a=Ht(e),c=xl(a,Ht(t));return $n(a,c).join("")}function Dm(e,t){var o=Ce,a=Ee;if(Le(t)){var c="separator"in t?t.separator:c;o="length"in t?fe(t.length):o,a="omission"in t?bt(t.omission):a}e=Se(e);var g=e.length;if(ir(e)){var w=Ht(e);g=w.length}if(o>=g)return e;var b=o-or(a);if(b<1)return a;var S=w?$n(w,0,b).join(""):e.slice(0,b);if(c===i)return S+a;if(w&&(b+=S.length-b),Ba(c)){if(e.slice(b).search(c)){var L,F=S;for(c.global||(c=ea(c.source,Se(Hs.exec(c))+"g")),c.lastIndex=0;L=c.exec(F);)var D=L.index;S=S.slice(0,D===i?b:D)}}else if(e.indexOf(bt(c),b)!=b){var J=S.lastIndexOf(c);J>-1&&(S=S.slice(0,J))}return S+a}function Hm(e){return e=Se(e),e&&Jf.test(e)?e.replace(Ws,v1):e}var Zm=fr(function(e,t,o){return e+(o?" ":"")+t.toUpperCase()}),Da=fu("toUpperCase");function cc(e,t,o){return e=Se(e),t=o?i:t,t===i?f1(e)?y1(e):r1(e):e.match(t)||[]}var dc=pe(function(e,t){try{return vt(e,i,t)}catch(o){return za(o)?o:new ue(o)}}),Nm=an(function(e,t){return Tt(t,function(o){o=Yt(o),rn(e,o,La(e[o],e))}),e});function Vm(e){var t=e==null?0:e.length,o=ae();return e=t?Me(e,function(a){if(typeof a[1]!="function")throw new $t(d);return[o(a[0]),a[1]]}):[],pe(function(a){for(var c=-1;++c<t;){var g=e[c];if(vt(g[0],this,a))return vt(g[1],this,a)}})}function Um(e){return vh(Rt(e,_))}function Ha(e){return function(){return e}}function qm(e,t){return e==null||e!==e?t:e}var Gm=pu(),Km=pu(!0);function ct(e){return e}function Za(e){return Nl(typeof e=="function"?e:Rt(e,_))}function Xm(e){return Ul(Rt(e,_))}function Ym(e,t){return ql(e,Rt(t,_))}var Qm=pe(function(e,t){return function(o){return Wr(o,e,t)}}),Jm=pe(function(e,t){return function(o){return Wr(e,o,t)}});function Na(e,t,o){var a=Ge(t),c=Pi(t,a);o==null&&!(Le(t)&&(c.length||!a.length))&&(o=t,t=e,e=this,c=Pi(t,Ge(t)));var g=!(Le(o)&&"chain"in o)||!!o.chain,w=ln(e);return Tt(c,function(b){var S=t[b];e[b]=S,w&&(e.prototype[b]=function(){var L=this.__chain__;if(g||L){var F=e(this.__wrapped__),D=F.__actions__=st(this.__actions__);return D.push({func:S,args:arguments,thisArg:e}),F.__chain__=L,F}return S.apply(e,_n([this.value()],arguments))})}),e}function e8(){return Ke._===this&&(Ke._=A1),this}function Va(){}function t8(e){return e=fe(e),pe(function(t){return Gl(t,e)})}var n8=_a(Me),r8=_a(gl),i8=_a(qo);function fc(e){return ka(e)?Go(Yt(e)):Mh(e)}function o8(e){return function(t){return e==null?i:Nn(e,t)}}var a8=mu(),s8=mu(!0);function Ua(){return[]}function qa(){return!1}function l8(){return{}}function u8(){return""}function c8(){return!0}function d8(e,t){if(e=fe(e),e<1||e>oe)return[];var o=ze,a=Ye(e,ze);t=ae(t),e-=ze;for(var c=Yo(a,t);++o<e;)t(o);return c}function f8(e){return ce(e)?Me(e,Yt):yt(e)?[e]:st(Ou(Se(e)))}function h8(e){var t=++S1;return Se(e)+t}var p8=Wi(function(e,t){return e+t},0),g8=Ca("ceil"),m8=Wi(function(e,t){return e/t},1),v8=Ca("floor");function w8(e){return e&&e.length?Oi(e,ct,la):i}function b8(e,t){return e&&e.length?Oi(e,ae(t,2),la):i}function y8(e){return wl(e,ct)}function x8(e,t){return wl(e,ae(t,2))}function _8(e){return e&&e.length?Oi(e,ct,fa):i}function C8(e,t){return e&&e.length?Oi(e,ae(t,2),fa):i}var S8=Wi(function(e,t){return e*t},1),E8=Ca("round"),A8=Wi(function(e,t){return e-t},0);function T8(e){return e&&e.length?Xo(e,ct):0}function $8(e,t){return e&&e.length?Xo(e,ae(t,2)):0}return f.after=Xg,f.ary=Zu,f.assign=z2,f.assignIn=rc,f.assignInWith=Qi,f.assignWith=B2,f.at=W2,f.before=Nu,f.bind=La,f.bindAll=Nm,f.bindKey=Vu,f.castArray=l2,f.chain=ju,f.chunk=vp,f.compact=wp,f.concat=bp,f.cond=Vm,f.conforms=Um,f.constant=Ha,f.countBy=Tg,f.create=j2,f.curry=Uu,f.curryRight=qu,f.debounce=Gu,f.defaults=D2,f.defaultsDeep=H2,f.defer=Yg,f.delay=Qg,f.difference=yp,f.differenceBy=xp,f.differenceWith=_p,f.drop=Cp,f.dropRight=Sp,f.dropRightWhile=Ep,f.dropWhile=Ap,f.fill=Tp,f.filter=kg,f.flatMap=Og,f.flatMapDeep=Pg,f.flatMapDepth=Mg,f.flatten=Fu,f.flattenDeep=$p,f.flattenDepth=kp,f.flip=Jg,f.flow=Gm,f.flowRight=Km,f.fromPairs=Rp,f.functions=K2,f.functionsIn=X2,f.groupBy=Lg,f.initial=Op,f.intersection=Pp,f.intersectionBy=Mp,f.intersectionWith=Lp,f.invert=Q2,f.invertBy=J2,f.invokeMap=zg,f.iteratee=Za,f.keyBy=Bg,f.keys=Ge,f.keysIn=ut,f.map=Ui,f.mapKeys=tm,f.mapValues=nm,f.matches=Xm,f.matchesProperty=Ym,f.memoize=Gi,f.merge=rm,f.mergeWith=ic,f.method=Qm,f.methodOf=Jm,f.mixin=Na,f.negate=Ki,f.nthArg=t8,f.omit=im,f.omitBy=om,f.once=e2,f.orderBy=Wg,f.over=n8,f.overArgs=t2,f.overEvery=r8,f.overSome=i8,f.partial=Fa,f.partialRight=Ku,f.partition=jg,f.pick=am,f.pickBy=oc,f.property=fc,f.propertyOf=o8,f.pull=Wp,f.pullAll=Bu,f.pullAllBy=jp,f.pullAllWith=Dp,f.pullAt=Hp,f.range=a8,f.rangeRight=s8,f.rearg=n2,f.reject=Zg,f.remove=Zp,f.rest=r2,f.reverse=Pa,f.sampleSize=Vg,f.set=lm,f.setWith=um,f.shuffle=Ug,f.slice=Np,f.sortBy=Kg,f.sortedUniq=Yp,f.sortedUniqBy=Qp,f.split=Om,f.spread=i2,f.tail=Jp,f.take=eg,f.takeRight=tg,f.takeRightWhile=ng,f.takeWhile=rg,f.tap=wg,f.throttle=o2,f.thru=Vi,f.toArray=ec,f.toPairs=ac,f.toPairsIn=sc,f.toPath=f8,f.toPlainObject=nc,f.transform=cm,f.unary=a2,f.union=ig,f.unionBy=og,f.unionWith=ag,f.uniq=sg,f.uniqBy=lg,f.uniqWith=ug,f.unset=dm,f.unzip=Ma,f.unzipWith=Wu,f.update=fm,f.updateWith=hm,f.values=gr,f.valuesIn=pm,f.without=cg,f.words=cc,f.wrap=s2,f.xor=dg,f.xorBy=fg,f.xorWith=hg,f.zip=pg,f.zipObject=gg,f.zipObjectDeep=mg,f.zipWith=vg,f.entries=ac,f.entriesIn=sc,f.extend=rc,f.extendWith=Qi,Na(f,f),f.add=p8,f.attempt=dc,f.camelCase=wm,f.capitalize=lc,f.ceil=g8,f.clamp=gm,f.clone=u2,f.cloneDeep=d2,f.cloneDeepWith=f2,f.cloneWith=c2,f.conformsTo=h2,f.deburr=uc,f.defaultTo=qm,f.divide=m8,f.endsWith=bm,f.eq=Nt,f.escape=ym,f.escapeRegExp=xm,f.every=$g,f.find=Rg,f.findIndex=Mu,f.findKey=Z2,f.findLast=Ig,f.findLastIndex=Lu,f.findLastKey=N2,f.floor=v8,f.forEach=Du,f.forEachRight=Hu,f.forIn=V2,f.forInRight=U2,f.forOwn=q2,f.forOwnRight=G2,f.get=Wa,f.gt=p2,f.gte=g2,f.has=Y2,f.hasIn=ja,f.head=zu,f.identity=ct,f.includes=Fg,f.indexOf=Ip,f.inRange=mm,f.invoke=em,f.isArguments=qn,f.isArray=ce,f.isArrayBuffer=m2,f.isArrayLike=lt,f.isArrayLikeObject=We,f.isBoolean=v2,f.isBuffer=kn,f.isDate=w2,f.isElement=b2,f.isEmpty=y2,f.isEqual=x2,f.isEqualWith=_2,f.isError=za,f.isFinite=C2,f.isFunction=ln,f.isInteger=Xu,f.isLength=Xi,f.isMap=Yu,f.isMatch=S2,f.isMatchWith=E2,f.isNaN=A2,f.isNative=T2,f.isNil=k2,f.isNull=$2,f.isNumber=Qu,f.isObject=Le,f.isObjectLike=Fe,f.isPlainObject=Vr,f.isRegExp=Ba,f.isSafeInteger=R2,f.isSet=Ju,f.isString=Yi,f.isSymbol=yt,f.isTypedArray=pr,f.isUndefined=I2,f.isWeakMap=O2,f.isWeakSet=P2,f.join=Fp,f.kebabCase=_m,f.last=Ot,f.lastIndexOf=zp,f.lowerCase=Cm,f.lowerFirst=Sm,f.lt=M2,f.lte=L2,f.max=w8,f.maxBy=b8,f.mean=y8,f.meanBy=x8,f.min=_8,f.minBy=C8,f.stubArray=Ua,f.stubFalse=qa,f.stubObject=l8,f.stubString=u8,f.stubTrue=c8,f.multiply=S8,f.nth=Bp,f.noConflict=e8,f.noop=Va,f.now=qi,f.pad=Em,f.padEnd=Am,f.padStart=Tm,f.parseInt=$m,f.random=vm,f.reduce=Dg,f.reduceRight=Hg,f.repeat=km,f.replace=Rm,f.result=sm,f.round=E8,f.runInContext=C,f.sample=Ng,f.size=qg,f.snakeCase=Im,f.some=Gg,f.sortedIndex=Vp,f.sortedIndexBy=Up,f.sortedIndexOf=qp,f.sortedLastIndex=Gp,f.sortedLastIndexBy=Kp,f.sortedLastIndexOf=Xp,f.startCase=Pm,f.startsWith=Mm,f.subtract=A8,f.sum=T8,f.sumBy=$8,f.template=Lm,f.times=d8,f.toFinite=un,f.toInteger=fe,f.toLength=tc,f.toLower=Fm,f.toNumber=Pt,f.toSafeInteger=F2,f.toString=Se,f.toUpper=zm,f.trim=Bm,f.trimEnd=Wm,f.trimStart=jm,f.truncate=Dm,f.unescape=Hm,f.uniqueId=h8,f.upperCase=Zm,f.upperFirst=Da,f.each=Du,f.eachRight=Hu,f.first=zu,Na(f,function(){var e={};return Kt(f,function(t,o){Ae.call(f.prototype,o)||(e[o]=t)}),e}(),{chain:!1}),f.VERSION=s,Tt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){f[e].placeholder=f}),Tt(["drop","take"],function(e,t){ve.prototype[e]=function(o){o=o===i?1:Ue(fe(o),0);var a=this.__filtered__&&!t?new ve(this):this.clone();return a.__filtered__?a.__takeCount__=Ye(o,a.__takeCount__):a.__views__.push({size:Ye(o,ze),type:e+(a.__dir__<0?"Right":"")}),a},ve.prototype[e+"Right"]=function(o){return this.reverse()[e](o).reverse()}}),Tt(["filter","map","takeWhile"],function(e,t){var o=t+1,a=o==K||o==Q;ve.prototype[e]=function(c){var g=this.clone();return g.__iteratees__.push({iteratee:ae(c,3),type:o}),g.__filtered__=g.__filtered__||a,g}}),Tt(["head","last"],function(e,t){var o="take"+(t?"Right":"");ve.prototype[e]=function(){return this[o](1).value()[0]}}),Tt(["initial","tail"],function(e,t){var o="drop"+(t?"":"Right");ve.prototype[e]=function(){return this.__filtered__?new ve(this):this[o](1)}}),ve.prototype.compact=function(){return this.filter(ct)},ve.prototype.find=function(e){return this.filter(e).head()},ve.prototype.findLast=function(e){return this.reverse().find(e)},ve.prototype.invokeMap=pe(function(e,t){return typeof e=="function"?new ve(this):this.map(function(o){return Wr(o,e,t)})}),ve.prototype.reject=function(e){return this.filter(Ki(ae(e)))},ve.prototype.slice=function(e,t){e=fe(e);var o=this;return o.__filtered__&&(e>0||t<0)?new ve(o):(e<0?o=o.takeRight(-e):e&&(o=o.drop(e)),t!==i&&(t=fe(t),o=t<0?o.dropRight(-t):o.take(t-e)),o)},ve.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},ve.prototype.toArray=function(){return this.take(ze)},Kt(ve.prototype,function(e,t){var o=/^(?:filter|find|map|reject)|While$/.test(t),a=/^(?:head|last)$/.test(t),c=f[a?"take"+(t=="last"?"Right":""):t],g=a||/^find/.test(t);c&&(f.prototype[t]=function(){var w=this.__wrapped__,b=a?[1]:arguments,S=w instanceof ve,L=b[0],F=S||ce(w),D=function(me){var be=c.apply(f,_n([me],b));return a&&J?be[0]:be};F&&o&&typeof L=="function"&&L.length!=1&&(S=F=!1);var J=this.__chain__,re=!!this.__actions__.length,se=g&&!J,he=S&&!re;if(!g&&F){w=he?w:new ve(this);var le=e.apply(w,b);return le.__actions__.push({func:Vi,args:[D],thisArg:i}),new kt(le,J)}return se&&he?e.apply(this,b):(le=this.thru(D),se?a?le.value()[0]:le.value():le)})}),Tt(["pop","push","shift","sort","splice","unshift"],function(e){var t=vi[e],o=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",a=/^(?:pop|shift)$/.test(e);f.prototype[e]=function(){var c=arguments;if(a&&!this.__chain__){var g=this.value();return t.apply(ce(g)?g:[],c)}return this[o](function(w){return t.apply(ce(w)?w:[],c)})}}),Kt(ve.prototype,function(e,t){var o=f[t];if(o){var a=o.name+"";Ae.call(ur,a)||(ur[a]=[]),ur[a].push({name:t,func:o})}}),ur[Bi(i,z).name]=[{name:"wrapper",func:i}],ve.prototype.clone=H1,ve.prototype.reverse=Z1,ve.prototype.value=N1,f.prototype.at=bg,f.prototype.chain=yg,f.prototype.commit=xg,f.prototype.next=_g,f.prototype.plant=Sg,f.prototype.reverse=Eg,f.prototype.toJSON=f.prototype.valueOf=f.prototype.value=Ag,f.prototype.first=f.prototype.head,Or&&(f.prototype[Or]=Cg),f},ar=x1();Wn?((Wn.exports=ar)._=ar,Zo._=ar):Ke._=ar}).call(O8)}(ei,ei.exports)),ei.exports}var ye=P8();const ms=n=>({none:0,hairline:n*.5,thin:n,thick:n*2,heavy:n*4}),vs=n=>({none:0,xs:n*.5,sm:n,md:n*2,lg:n*3,xl:n*4,full:9999}),M8=n=>["none","hairline","thin","thick","heavy"].includes(n),pd=n=>["none","xs","sm","md","lg","xl","full"].includes(n),vo={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"},gd=n=>n in vo,md={primary:["#543ACC","#6949FF"],secondary:["#E0A800","#FFC107"],success:["#0FB57A","#12D18E"],danger:["#E64545","#F75555"],warning:["#E1B70D","#FACC15"],info:["#543ACC","#6949FF"]},L8=n=>["primary","secondary","success","danger","warning","info"].includes(n),F8=1,z8=8,B8=8,W8="Inter",j8="Sora",D8=10,H8=4,mn={borderWidth:F8,space:z8,size:B8,font:{neutral:W8,heading:j8},fontSize:D8,radius:H8},vd=n=>({none:"none",sm:`0 1px 2px 0 ${n.grey400}40`,md:`0 4px 6px -1px ${n.grey500}40, 0 2px 4px -1px ${n.grey400}40`,lg:`0 10px 15px -3px ${n.grey600}40, 0 4px 6px -2px ${n.grey500}40`}),Z8=n=>["none","sm","md","lg"].includes(n),ws=n=>({"2xs":n*.5,xs:n,sm:n*2,"sm-md":n*2.5,md:n*4,"md-lg":n*6,lg:n*8,xl:n*16,"2xl":n*32,"3xl":n*64,"4xl":n*128}),Qn=n=>["2xs","xs","sm","sm-md","md","md-lg","lg","xl","2xl","3xl","4xl"].includes(n),bs=n=>({none:0,"2xs":n*.25,xs:n*.5,sm:n,"sm-md":n*1.5,md:n*2,"md-lg":n*2.5,lg:n*3,xl:n*4,"2xl":n*5,"3xl":n*6,"4xl":n*8,"5xl":n*10,"6xl":n*12,"7xl":n*14,"8xl":n*16,"9xl":n*18,"10xl":n*20,"-xxs":n*-.25,"-xs":n*-.5,"-sm":n*-1,"-sm-md":n*-1.5,"-md":n*-2,"-md-lg":n*-2.5,"-lg":n*-3,"-xl":n*-4,"-2xl":n*-5,"-3xl":n*-6,"-4xl":n*-8,"-5xl":n*-10,"-6xl":n*-12,"-7xl":n*-14,"-8xl":n*-16,"-9xl":n*-18,"-10xl":n*-20}),wd=n=>["none","2xs","xs","sm","sm-md","md","md-lg","lg","xl","2xl","3xl","4xl","-xxs","-xs","-sm","-sm-md","-md","-md-lg","-lg","-xl","-2xl","-3xl","-4xl"].includes(n),ys=({neutral:n,heading:r})=>({neutral:`"${n}", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif`,heading:`"${r}", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif`}),wo=n=>({"2xs":n*.75,xs:n,small:n*1.25,medium:n*1.5,large:n*2,xl:n*2.5,"2xl":n*3,"3xl":n*3.5,"4xl":n*4,"5xl":n*5,"6xl":n*6}),xs=n=>{const r=wo(n),i=1.4;return{"2xs":r["2xs"]*i,xs:r.xs*i,small:r.small*i,medium:r.medium*i,large:r.large*i,xl:r.xl*i,"2xl":r["2xl"]*i,"3xl":r["3xl"]*i,"4xl":r["4xl"]*i,"5xl":r["5xl"]*i,"6xl":r["6xl"]*i}},_s=()=>({"extra-light":100,thin:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,black:900}),N8=n=>["2xs","xs","small","medium","large","xl","2xl","3xl","4xl","5xl","6xl"].includes(n),V8=n=>["extra-light","thin","light","regular","medium","semibold","bold","extrabold","black"].includes(n);class U8{constructor({baseZIndex:r=10,step:i=10}={}){mr(this,"dependencies",new Map);mr(this,"zIndexes",null);mr(this,"nodes",new Set);mr(this,"baseZIndex");mr(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 d of u){const p=(r.get(d)||0)-1;r.set(d,p),p===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 l=0;l<s.length;l++){const u=s[l];this.zIndexes.set(u,this.baseZIndex+l*this.step)}}}const er=new U8({baseZIndex:100,step:10}),qt={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"};er.register(qt.AIC_Kits_PageContent,qt.AIC_Kits_Carousel);er.register(qt.AIC_Kits_Carousel,qt.AIC_Kits_Dropdown);er.register(qt.AIC_Kits_Dropdown,qt.AIC_Kits_Tooltip);er.register(qt.AIC_Kits_Tooltip,qt.AIC_Kits_Modal);er.register(qt.AIC_Kits_Modal,qt.AIC_Kits_Notification);const q8=(n=mn,r=vo,i=md)=>{const s=ys(n.font),l=wo(n.fontSize),u=xs(n.fontSize),d=_s(),p=ms(n.borderWidth),m=bs(n.space),v=ws(n.size),x=vs(n.radius),_=vd(r);return{colors:r,gradientColors:i,fonts:s,fontSizes:l,lineHeights:u,fontWeights:d,borderWidths:p,spaces:m,sizes:v,radii:x,shadows:_}},bd=n=>({paddingVertical:"md",paddingHorizontal:"md",borderRadius:"lg",borderColor:"grey300",borderWidth:"thin",backgroundColor:"white",gap:"md",header:{gap:"sm-md",iconSize:"sm",iconColor:"grey600",disabledOpacity:.5},animation:{duration:300,easing:"ease"}}),yd=n=>({defaultSize:"md",defaultIconSize:"md",defaultEmojiSize:"lg",defaultBrandSize:"md",defaultImageSize:"md",defaultSvgSize:"md"}),xd=n=>({defaultSize:"md",defaultFallbackTextSize:"medium",fallbackBackgroundColor:"grey400",sizes:{sm:{fallbackTextSize:"small"},md:{fallbackTextSize:"medium"},lg:{fallbackTextSize:"xl"}}}),_d=n=>({defaultBackgroundColor:"white",defaultHeaderParams:{backgroundColor:"white"},desktopMediaQuery:"(min-width: 768px)",mobilePaddingX:"md",desktopPaddingX:"xl",desktopContentMaxWidth:"1200px"}),Cd=n=>({loadingConfig:{size:"md"},defaultColor:"primary",defaultTextColor:"white",iconSpacing:"xs",sizes:{sm:{paddingHorizontal:"sm",paddingVertical:"xs",fontSize:"xs",iconSize:"sm",borderWidth:"thin",fontWeight:"regular",iconWeight:"regular",squircleBorderRadii:{circle:"full",rounded:"md",square:"none"}},md:{paddingHorizontal:"md",paddingVertical:"sm",fontSize:"medium",iconSize:"sm-md",borderWidth:"thin",fontWeight:"regular",iconWeight:"regular",squircleBorderRadii:{circle:"full",rounded:"lg",square:"none"}},lg:{paddingHorizontal:"lg",paddingVertical:"md",fontSize:"large",iconSize:"md",borderWidth:"thick",fontWeight:"semibold",iconWeight:"bold",squircleBorderRadii:{circle:"full",rounded:"xl",square:"none"}}},variants:{solid:{},outlined:{bgColor:"transparent"},text:{bgColor:"transparent"}}}),Sd=n=>({pagination:{container:{marginTop:"md",padding:"xs",borderRadius:"full",backgroundColor:"grey100",gap:"xs"},dotSize:"2xs",inactiveColor:"grey300",activeColor:"primary",dotBorderRadius:"full"},navigation:{marginHorizontal:"md",buttonColor:"primary",buttonPadding:"sm",buttonBackgroundColor:"white",buttonBorderRadius:"full",iconSize:"sm-md"},autoScroll:{defaultSpeed:20},container:{defaultItemSpacing:"md"}}),Ed=n=>({defaultColor:"primary",defaultSize:"md",checkedBackgroundColor:"primary",uncheckedBorderColor:"grey400",disabledColor:"grey300",disabledTextColor:"grey500",focusBorderColor:"primary",iconColor:"white",textColor:"grey900",sizes:{sm:{labelFontSize:"small",labelPaddingLeft:"xs",iconSize:"xs",iconMargin:"2xs",borderRadius:"sm",borderWidth:"thin"},md:{labelFontSize:"medium",labelPaddingLeft:"sm",iconSize:"sm",iconMargin:"xs",borderRadius:"md",borderWidth:"thin"},lg:{labelFontSize:"large",labelPaddingLeft:"md",iconSize:"sm-md",iconMargin:"xs",borderRadius:"lg",borderWidth:"thin"}},animation:{duration:100,easing:"ease-out"}}),Ad=n=>({defaultColor:"grey300",defaultThickness:1}),Td=n=>{const r=`0 0 16px 4px ${n.colors.grey400}40`;return{backgroundColor:"grey100",padding:"xs",radius:"full",avatarSize:"md",loadingGap:"sm",navItem:{radius:"full",paddingX:"md",paddingY:"sm",gap:"xs",large:{fontSize:"large",loadingSize:"small"},medium:{fontSize:"medium",loadingSize:"small"},active:{fontWeight:"medium",color:"black",backgroundColor:"white",hoverBackgroundColor:"white",hoverBoxShadow:r},inactive:{fontWeight:"regular",color:"grey600",backgroundColor:"transparent",hoverBackgroundColor:"white",hoverBoxShadow:r},hover:{color:"primary"}},profileDropdown:{offset:{top:72,right:0},containerPaddingRight:"md",spacingTop:"sm",padding:"sm",gap:"sm",borderRadius:24,boxShadow:r,backgroundColor:"white",defaultMaxHeight:300,minWidth:50,animationDuration:300},navDropdown:{spacingTop:"sm",paddingX:"md-lg",paddingY:"md",gap:"sm-md",borderRadius:24,boxShadow:r,backgroundColor:"white",defaultMaxHeight:300,minWidth:50,animationDuration:300}}},$d=n=>{const r="grey300",i="danger",s="primary",l="grey100",u="grey300",d="grey500",p="white",m="grey900",v="thin",x=`inset 0 0 0 ${n.borderWidths.thin}px ${n.colors[s]}`,_=`inset 0 0 0 ${n.borderWidths.thin}px ${n.colors[i]}`;return{borderRadius:"md",borderWidth:v,padding:{vertical:"sm",horizontal:"md"},fontSize:"medium",placeholderColor:"grey500",iconSpacing:"sm",iconSize:"sm-md",iconColor:"grey600",textColor:m,disabledTextColor:d,disabledBorderColor:u,focusColor:s,errorColor:i,states:{default:{borderColor:r,backgroundColor:p,boxShadow:"none"},focused:{borderColor:s,backgroundColor:p,boxShadow:x},error:{borderColor:i,backgroundColor:p,boxShadow:_},disabled:{borderColor:u,backgroundColor:l,boxShadow:"none"}}}},kd=n=>({defaultGap:"sm",defaultPadding:"none"}),Rd=n=>({sizes:{small:"24px",medium:"36px",large:"48px"},strokeWidths:{small:"2px",medium:"3px",large:"4px"},arc:{minAngle:40,maxAngle:290},animation:{loopInterval:800,showingDuration:250,contentShowingDuration:300}}),Id=n=>({container:{sizes:{small:{gap:"xs"},medium:{gap:"sm"},large:{gap:"md"}}},item:{defaultColor:"grey900",text:{color:"black",disabledColor:"grey500"},shapes:{circular:{container:{borderRadius:"full"}},rounded:{container:{borderRadius:"md"}}},sizes:{small:{container:{size:"sm-md"},text:{fontSize:"small"},buttonSize:"sm",icon:{size:"xs",weight:"bold"}},medium:{container:{size:"md"},text:{fontSize:"medium"},buttonSize:"md",icon:{size:"sm",weight:"bold"}},large:{container:{size:"md-lg"},text:{fontSize:"large"},buttonSize:"lg",icon:{size:"sm-md",weight:"bold"}}}}}),Od=n=>({defaultVariant:"soft",defaultSize:"md",sizes:{sm:{height:"2xs",borderRadius:"xs"},md:{height:"xs",borderRadius:"sm"},lg:{height:"sm",borderRadius:"md"}},variants:{soft:{containerBackgroundColor:"grey100",defaultProgressColor:"primary"},outlined:{containerBackgroundColor:"white",containerBorderWidth:"thin",defaultProgressColor:"primary"},plain:{containerBackgroundColor:"white",defaultProgressColor:"primary"}}}),Pd=n=>{const r="grey300",i="danger",s="grey300",l="grey100",u="grey400",d="grey100",p="grey200",m="white",v="transparent",x="thin",_="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:x},hover:{backgroundColor:"grey100",borderColor:r,borderWidth:x},focused:{backgroundColor:v,borderColor:"primary",borderWidth:_},disabled:{backgroundColor:v,borderColor:s,borderWidth:x},errored:{backgroundColor:v,borderColor:i,borderWidth:x}},filled:{default:{backgroundColor:d,borderColor:v,borderWidth:x},hover:{backgroundColor:p,borderColor:v,borderWidth:x},focused:{backgroundColor:m,borderColor:"primary",borderWidth:_},disabled:{backgroundColor:l,borderColor:v,borderWidth:x},errored:{backgroundColor:m,borderColor:i,borderWidth:x}}},animation:{duration:200,easing:"ease-out"},dropdown:{backgroundColor:m,borderColor:r,shadow:"md",offset:"sm",zIndex:1e3,maxHeight:200,borderRadiusForCircle:"xl",borderRadiusForRounded:"md",itemTextColor:"grey900",itemSelectedTextColor:"grey900",itemHoverBackgroundColor:"grey100",itemSelectedBackgroundColor:"white",emptyTextColor:"grey500"}}},Md=n=>({animation:{duration:1500,gradient:{start:"grey100",middle:"grey200",end:"grey100"},transition:{backgroundDuration:250,contentFadeDuration:200}},container:{rectangle:{borderRadius:"none",opacity:1},rounded:{borderRadius:"md",opacity:1},circle:{borderRadius:"full",opacity:1},transparent:{borderRadius:"none",opacity:0}}}),Ld=n=>({defaultVariant:"solid",defaultColor:"primary",defaultRadius:"full",defaultSize:"md",sizes:{sm:{paddingVertical:"2xs",paddingHorizontal:"xs",fontSize:"xs",gap:"2xs",iconSize:"xs"},md:{paddingVertical:"xs",paddingHorizontal:"sm",fontSize:"small",gap:"xs",iconSize:"sm"},lg:{paddingVertical:"sm",paddingHorizontal:"md",fontSize:"medium",gap:"sm",iconSize:"sm-md"}}}),Fd=n=>{const r="sm";return{defaultBackgroundColor:"grey800",defaultTextColor:"white",defaultPlacement:"bottom",container:{padding:"sm",borderRadius:"md",shadow:"md",zIndex:9999,maxWidth:"300px"},text:{fontSize:"small"},positioning:{spacing:r,placements:{top:{bottom:"100%",left:"50%",transform:"translateX(-50%)",mb:r},bottom:{top:"100%",left:"50%",transform:"translateX(-50%)",mt:r},left:{top:"50%",right:"100%",transform:"translateY(-50%)",mr:r},right:{top:"50%",left:"100%",transform:"translateY(-50%)",ml:r}}}}},zd=n=>({animation:{minScale:.92,maxScale:1,minOpacity:.7,maxOpacity:1,springConfig:{mass:.5}}}),Bd=n=>({defaultAccentColor:"#00adef",aspectRatio:56.25,playerSettings:{autoplay:!1,muted:!1,loop:!1,title:!1,byline:!1,portrait:!1,controls:!0}}),Wd=n=>({art:yd(),base:_d(),button:Cd(),divider:Ad(),header:Td(n),input:$d(n),list:kd(),loading:Rd(),pagination:Id(),skeleton:Md(),touchable:zd(),vimeo:Bd(),carousel:Sd(),accordion:bd(),tag:Ld(),checkbox:Ed(),select:Pd(),progress:Od(),avatar:xd(),tooltip:Fd()}),G8=bs(mn.space),K8=ws(mn.size),X8=ms(mn.borderWidth),Y8=vs(mn.radius),Q8=wo(mn.fontSize),J8=xs(mn.fontSize),ev=_s(),gc=ys(mn.font),tv={spaces:G8,sizes:K8,colors:vo,radii:Y8,borderWidths:X8,fonts:gc,zIndex:er,__hd__:{text:{fontSizes:Q8,lineHeights:J8,fontWeights:ev,fonts:gc}}};function jd(){const n=tv,r=Wd(n);return{...n,__hd__:{...n.__hd__,...r}}}const ao=jd(),xe=Mn.styled,Cs=Mn.keyframes,ot=Mn.css,Dd=(n,r)=>!["theme","themeFontSize","themeFontWeight","themeTypeface","themePosition","color","bg","bgColor","backgroundColor","opacity","margin","m","marginTop","mt","marginRight","mr","marginBottom","mb","marginLeft","ml","marginX","mx","marginY","my","padding","p","paddingTop","pt","paddingRight","pr","paddingBottom","pb","paddingLeft","pl","paddingX","px","paddingY","py","gap","borderRadius","r","radius","borderBottomLeftRadius","bbl","borderBottomRightRadius","bbr","borderTopLeftRadius","btl","borderTopRightRadius","btr","borderWidth","b","borderBottomWidth","bb","borderTopWidth","bt","borderLeftWidth","bl","borderRightWidth","br","borderColor","bc","borderBottomColor","bb","borderTopColor","bt","borderLeftColor","bl","borderRightColor","br","fontSize","fontWeight","lineHeight","letterSpacing","textAlign","fontStyle","textTransform","textDecoration","themeColor","useRichText","width","height","minWidth","maxWidth","minHeight","maxHeight","display","alignItems","alignContent","justifyContent","flexWrap","flexDirection","flex","flexGrow","flexShrink","flexBasis","alignSelf","position","top","right","bottom","left","overflow","cursor","transition","transform","animation","willChange","pointerEvents","userSelect","resize","boxShadow","textShadow","filter","backdropFilter","mixBlendMode","isolation","zIndex","marginInline","marginBlock","paddingInline","paddingBlock","whiteSpace","textOverflow","overflowY","overflowX","fullWidth","fullHeight","fw","fh","absoluteFill"].includes(n),nv=n=>typeof n=="function"?n(ao):n?{...ao,...n}:ao,rv=({theme:n,children:r})=>{const i=nv(n);return y.jsx(Mn.StyleSheetManager,{shouldForwardProp:Dd,children:y.jsx(Mn.ThemeProvider,{theme:i,children:r})})},ge=Mn.useTheme,at=()=>typeof document>"u",li={xs:0,sm:600,md:900,lg:1200,xl:1536},ri=Object.keys(li),bo=n=>ye.isObject(n)&&("xs"in n||"sm"in n||"md"in n||"lg"in n||"xl"in n),Ct=(n,r)=>bo(n)?Object.fromEntries(Object.entries(n).map(([i,s])=>[i,r(s)])):r(n),ss=n=>ye.reduce(n,(r,i,s)=>(ye.forEach(i,(l,u)=>{ye.has(r,u)||ye.set(r,u,{}),ye.set(r,[u,s],l)}),r),{}),Hd=(n,r)=>{const i=Object.fromEntries(Object.keys(n).map(p=>[p,Ss(n[p])])),s=ss(i),l=Object.fromEntries(ri.map(p=>[p,r(s[p])])),u=ss(l);return Object.fromEntries(Object.entries(u).map(([p,m])=>[p,Nd(m)]))},Zd=(n,r)=>{if(!bo(n))return n;switch(r){case"xs":return n.xs??n.sm??n.md??n.lg??n.xl;case"sm":return n.sm??n.xs??n.md??n.lg??n.xl;case"md":return n.md??n.sm??n.xs??n.lg??n.xl;case"lg":return n.lg??n.md??n.sm??n.xs??n.xl;case"xl":return n.xl??n.lg??n.md??n.sm??n.xs}},Ss=n=>Object.fromEntries(Object.keys(li).map(r=>[r,Zd(n,r)])),Nd=n=>{let r=n.xs;const i={xs:r};for(let s=1;s<ri.length;s++){const l=ri[s],u=n[l];ye.isEqual(u,r)||(i[l]=u,r=u)}return Object.keys(i).length===1?i.xs:i},Es=n=>{const[r,i]=ye.partition(Object.entries(n),([u,d])=>bo(d)),s=Object.fromEntries(r.map(([u,d])=>[u,Ss(d)])),l=ye.compact(ri.map(u=>{const d=Object.fromEntries(Object.keys(s).map(m=>[m,s[m][u]]));if(u==="xs"){const m={...Object.fromEntries(i),...d};return ye.isEmpty(m)?null:ot(m)}if(ye.isEmpty(d))return null;const p=`(min-width: ${li[u]}px)`;return ot`
|
|
28
|
-
@media ${
|
|
29
|
-
${
|
|
27
|
+
}`;var fe=Xl(function(){return Ae(p,J+"return "+D).apply(r,w)});if(fe.source=D,Wo(fe))throw fe;return fe}function r2(e){return ke(e).toLowerCase()}function i2(e){return ke(e).toUpperCase()}function o2(e,t,o){if(e=ke(e),e&&(o||t===r))return os(e);if(!e||!(t=Et(t)))return e;var a=Ht(e),c=Ht(t),p=as(a,c),w=ss(a,c)+1;return xn(a,p,w).join("")}function a2(e,t,o){if(e=ke(e),e&&(o||t===r))return e.slice(0,us(e)+1);if(!e||!(t=Et(t)))return e;var a=Ht(e),c=ss(a,Ht(t))+1;return xn(a,0,c).join("")}function s2(e,t,o){if(e=ke(e),e&&(o||t===r))return e.replace(ji,"");if(!e||!(t=Et(t)))return e;var a=Ht(e),c=as(a,Ht(t));return xn(a,c).join("")}function l2(e,t){var o=pe,a=Ce;if(je(t)){var c="separator"in t?t.separator:c;o="length"in t?ce(t.length):o,a="omission"in t?Et(t.omission):a}e=ke(e);var p=e.length;if(Nn(e)){var w=Ht(e);p=w.length}if(o>=p)return e;var E=o-Zn(a);if(E<1)return a;var $=w?xn(w,0,E).join(""):e.slice(0,E);if(c===r)return $+a;if(w&&(E+=$.length-E),Do(c)){if(e.slice(E).search(c)){var z,j=$;for(c.global||(c=no(c.source,ke(Ta.exec(c))+"g")),c.lastIndex=0;z=c.exec(j);)var D=z.index;$=$.slice(0,D===r?E:D)}}else if(e.indexOf(Et(c),E)!=E){var q=$.lastIndexOf(c);q>-1&&($=$.slice(0,q))}return $+a}function u2(e){return e=ke(e),e&&wd.test(e)?e.replace(Sa,Bf):e}var c2=Xn(function(e,t,o){return e+(o?" ":"")+t.toUpperCase()}),Ho=Ys("toUpperCase");function Kl(e,t,o){return e=ke(e),t=o?r:t,t===r?Pf(e)?Df(e):Sf(e):e.match(t)||[]}var Xl=ge(function(e,t){try{return Ct(e,r,t)}catch(o){return Wo(o)?o:new se(o)}}),d2=an(function(e,t){return It(t,function(o){o=Jt(o),rn(e,o,Bo(e[o],e))}),e});function f2(e){var t=e==null?0:e.length,o=ne();return e=t?ze(e,function(a){if(typeof a[1]!="function")throw new Ot(h);return[o(a[0]),a[1]]}):[],ge(function(a){for(var c=-1;++c<t;){var p=e[c];if(Ct(p[0],this,a))return Ct(p[1],this,a)}})}function h2(e){return B0(Mt(e,R))}function Vo(e){return function(){return e}}function p2(e,t){return e==null||e!==e?t:e}var g2=Js(),m2=Js(!0);function vt(e){return e}function Uo(e){return $s(typeof e=="function"?e:Mt(e,R))}function v2(e){return Is(Mt(e,R))}function b2(e,t){return Os(e,Mt(t,R))}var w2=ge(function(e,t){return function(o){return pr(o,e,t)}}),y2=ge(function(e,t){return function(o){return pr(e,o,t)}});function qo(e,t,o){var a=Ge(t),c=Qr(t,a);o==null&&!(je(t)&&(c.length||!a.length))&&(o=t,t=e,e=this,c=Qr(t,Ge(t)));var p=!(je(o)&&"chain"in o)||!!o.chain,w=ln(e);return It(c,function(E){var $=t[E];e[E]=$,w&&(e.prototype[E]=function(){var z=this.__chain__;if(p||z){var j=e(this.__wrapped__),D=j.__actions__=pt(this.__actions__);return D.push({func:$,args:arguments,thisArg:e}),j.__chain__=z,j}return $.apply(e,gn([this.value()],arguments))})}),e}function x2(){return Ye._===this&&(Ye._=qf),this}function Go(){}function _2(e){return e=ce(e),ge(function(t){return Ps(t,e)})}var C2=Eo(ze),S2=Eo(es),E2=Eo(Ki);function Yl(e){return Oo(e)?Xi(Jt(e)):t1(e)}function A2(e){return function(t){return e==null?r:Rn(e,t)}}var T2=tl(),k2=tl(!0);function Ko(){return[]}function Xo(){return!1}function $2(){return{}}function R2(){return""}function I2(){return!0}function O2(e,t){if(e=ce(e),e<1||e>K)return[];var o=Re,a=nt(e,Re);t=ne(t),e-=Re;for(var c=Ji(a,t);++o<e;)t(o);return c}function P2(e){return le(e)?ze(e,Jt):At(e)?[e]:pt(vl(ke(e)))}function M2(e){var t=++Vf;return ke(e)+t}var L2=ii(function(e,t){return e+t},0),F2=Ao("ceil"),z2=ii(function(e,t){return e/t},1),B2=Ao("floor");function j2(e){return e&&e.length?Yr(e,vt,co):r}function W2(e,t){return e&&e.length?Yr(e,ne(t,2),co):r}function D2(e){return rs(e,vt)}function N2(e,t){return rs(e,ne(t,2))}function Z2(e){return e&&e.length?Yr(e,vt,go):r}function H2(e,t){return e&&e.length?Yr(e,ne(t,2),go):r}var V2=ii(function(e,t){return e*t},1),U2=Ao("round"),q2=ii(function(e,t){return e-t},0);function G2(e){return e&&e.length?Qi(e,vt):0}function K2(e,t){return e&&e.length?Qi(e,ne(t,2)):0}return d.after=vp,d.ary=kl,d.assign=ig,d.assignIn=Nl,d.assignInWith=vi,d.assignWith=og,d.at=ag,d.before=$l,d.bind=Bo,d.bindAll=d2,d.bindKey=Rl,d.castArray=$p,d.chain=El,d.chunk=B1,d.compact=j1,d.concat=W1,d.cond=f2,d.conforms=h2,d.constant=Vo,d.countBy=Gh,d.create=sg,d.curry=Il,d.curryRight=Ol,d.debounce=Pl,d.defaults=lg,d.defaultsDeep=ug,d.defer=bp,d.delay=wp,d.difference=D1,d.differenceBy=N1,d.differenceWith=Z1,d.drop=H1,d.dropRight=V1,d.dropRightWhile=U1,d.dropWhile=q1,d.fill=G1,d.filter=Xh,d.flatMap=Jh,d.flatMapDeep=ep,d.flatMapDepth=tp,d.flatten=xl,d.flattenDeep=K1,d.flattenDepth=X1,d.flip=yp,d.flow=g2,d.flowRight=m2,d.fromPairs=Y1,d.functions=mg,d.functionsIn=vg,d.groupBy=np,d.initial=J1,d.intersection=eh,d.intersectionBy=th,d.intersectionWith=nh,d.invert=wg,d.invertBy=yg,d.invokeMap=ip,d.iteratee=Uo,d.keyBy=op,d.keys=Ge,d.keysIn=mt,d.map=di,d.mapKeys=_g,d.mapValues=Cg,d.matches=v2,d.matchesProperty=b2,d.memoize=hi,d.merge=Sg,d.mergeWith=Zl,d.method=w2,d.methodOf=y2,d.mixin=qo,d.negate=pi,d.nthArg=_2,d.omit=Eg,d.omitBy=Ag,d.once=xp,d.orderBy=ap,d.over=C2,d.overArgs=_p,d.overEvery=S2,d.overSome=E2,d.partial=jo,d.partialRight=Ml,d.partition=sp,d.pick=Tg,d.pickBy=Hl,d.property=Yl,d.propertyOf=A2,d.pull=ah,d.pullAll=Cl,d.pullAllBy=sh,d.pullAllWith=lh,d.pullAt=uh,d.range=T2,d.rangeRight=k2,d.rearg=Cp,d.reject=cp,d.remove=ch,d.rest=Sp,d.reverse=Fo,d.sampleSize=fp,d.set=$g,d.setWith=Rg,d.shuffle=hp,d.slice=dh,d.sortBy=mp,d.sortedUniq=bh,d.sortedUniqBy=wh,d.split=Jg,d.spread=Ep,d.tail=yh,d.take=xh,d.takeRight=_h,d.takeRightWhile=Ch,d.takeWhile=Sh,d.tap=jh,d.throttle=Ap,d.thru=ci,d.toArray=jl,d.toPairs=Vl,d.toPairsIn=Ul,d.toPath=P2,d.toPlainObject=Dl,d.transform=Ig,d.unary=Tp,d.union=Eh,d.unionBy=Ah,d.unionWith=Th,d.uniq=kh,d.uniqBy=$h,d.uniqWith=Rh,d.unset=Og,d.unzip=zo,d.unzipWith=Sl,d.update=Pg,d.updateWith=Mg,d.values=Jn,d.valuesIn=Lg,d.without=Ih,d.words=Kl,d.wrap=kp,d.xor=Oh,d.xorBy=Ph,d.xorWith=Mh,d.zip=Lh,d.zipObject=Fh,d.zipObjectDeep=zh,d.zipWith=Bh,d.entries=Vl,d.entriesIn=Ul,d.extend=Nl,d.extendWith=vi,qo(d,d),d.add=L2,d.attempt=Xl,d.camelCase=jg,d.capitalize=ql,d.ceil=F2,d.clamp=Fg,d.clone=Rp,d.cloneDeep=Op,d.cloneDeepWith=Pp,d.cloneWith=Ip,d.conformsTo=Mp,d.deburr=Gl,d.defaultTo=p2,d.divide=z2,d.endsWith=Wg,d.eq=Ut,d.escape=Dg,d.escapeRegExp=Ng,d.every=Kh,d.find=Yh,d.findIndex=wl,d.findKey=cg,d.findLast=Qh,d.findLastIndex=yl,d.findLastKey=dg,d.floor=B2,d.forEach=Al,d.forEachRight=Tl,d.forIn=fg,d.forInRight=hg,d.forOwn=pg,d.forOwnRight=gg,d.get=No,d.gt=Lp,d.gte=Fp,d.has=bg,d.hasIn=Zo,d.head=_l,d.identity=vt,d.includes=rp,d.indexOf=Q1,d.inRange=zg,d.invoke=xg,d.isArguments=Pn,d.isArray=le,d.isArrayBuffer=zp,d.isArrayLike=gt,d.isArrayLikeObject=De,d.isBoolean=Bp,d.isBuffer=_n,d.isDate=jp,d.isElement=Wp,d.isEmpty=Dp,d.isEqual=Np,d.isEqualWith=Zp,d.isError=Wo,d.isFinite=Hp,d.isFunction=ln,d.isInteger=Ll,d.isLength=gi,d.isMap=Fl,d.isMatch=Vp,d.isMatchWith=Up,d.isNaN=qp,d.isNative=Gp,d.isNil=Xp,d.isNull=Kp,d.isNumber=zl,d.isObject=je,d.isObjectLike=We,d.isPlainObject=yr,d.isRegExp=Do,d.isSafeInteger=Yp,d.isSet=Bl,d.isString=mi,d.isSymbol=At,d.isTypedArray=Qn,d.isUndefined=Qp,d.isWeakMap=Jp,d.isWeakSet=eg,d.join=rh,d.kebabCase=Zg,d.last=Ft,d.lastIndexOf=ih,d.lowerCase=Hg,d.lowerFirst=Vg,d.lt=tg,d.lte=ng,d.max=j2,d.maxBy=W2,d.mean=D2,d.meanBy=N2,d.min=Z2,d.minBy=H2,d.stubArray=Ko,d.stubFalse=Xo,d.stubObject=$2,d.stubString=R2,d.stubTrue=I2,d.multiply=V2,d.nth=oh,d.noConflict=x2,d.noop=Go,d.now=fi,d.pad=Ug,d.padEnd=qg,d.padStart=Gg,d.parseInt=Kg,d.random=Bg,d.reduce=lp,d.reduceRight=up,d.repeat=Xg,d.replace=Yg,d.result=kg,d.round=U2,d.runInContext=A,d.sample=dp,d.size=pp,d.snakeCase=Qg,d.some=gp,d.sortedIndex=fh,d.sortedIndexBy=hh,d.sortedIndexOf=ph,d.sortedLastIndex=gh,d.sortedLastIndexBy=mh,d.sortedLastIndexOf=vh,d.startCase=e2,d.startsWith=t2,d.subtract=q2,d.sum=G2,d.sumBy=K2,d.template=n2,d.times=O2,d.toFinite=un,d.toInteger=ce,d.toLength=Wl,d.toLower=r2,d.toNumber=zt,d.toSafeInteger=rg,d.toString=ke,d.toUpper=i2,d.trim=o2,d.trimEnd=a2,d.trimStart=s2,d.truncate=l2,d.unescape=u2,d.uniqueId=M2,d.upperCase=c2,d.upperFirst=Ho,d.each=Al,d.eachRight=Tl,d.first=_l,qo(d,function(){var e={};return Yt(d,function(t,o){$e.call(d.prototype,o)||(e[o]=t)}),e}(),{chain:!1}),d.VERSION=s,It(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){d[e].placeholder=d}),It(["drop","take"],function(e,t){be.prototype[e]=function(o){o=o===r?1:He(ce(o),0);var a=this.__filtered__&&!t?new be(this):this.clone();return a.__filtered__?a.__takeCount__=nt(o,a.__takeCount__):a.__views__.push({size:nt(o,Re),type:e+(a.__dir__<0?"Right":"")}),a},be.prototype[e+"Right"]=function(o){return this.reverse()[e](o).reverse()}}),It(["filter","map","takeWhile"],function(e,t){var o=t+1,a=o==H||o==X;be.prototype[e]=function(c){var p=this.clone();return p.__iteratees__.push({iteratee:ne(c,3),type:o}),p.__filtered__=p.__filtered__||a,p}}),It(["head","last"],function(e,t){var o="take"+(t?"Right":"");be.prototype[e]=function(){return this[o](1).value()[0]}}),It(["initial","tail"],function(e,t){var o="drop"+(t?"":"Right");be.prototype[e]=function(){return this.__filtered__?new be(this):this[o](1)}}),be.prototype.compact=function(){return this.filter(vt)},be.prototype.find=function(e){return this.filter(e).head()},be.prototype.findLast=function(e){return this.reverse().find(e)},be.prototype.invokeMap=ge(function(e,t){return typeof e=="function"?new be(this):this.map(function(o){return pr(o,e,t)})}),be.prototype.reject=function(e){return this.filter(pi(ne(e)))},be.prototype.slice=function(e,t){e=ce(e);var o=this;return o.__filtered__&&(e>0||t<0)?new be(o):(e<0?o=o.takeRight(-e):e&&(o=o.drop(e)),t!==r&&(t=ce(t),o=t<0?o.dropRight(-t):o.take(t-e)),o)},be.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},be.prototype.toArray=function(){return this.take(Re)},Yt(be.prototype,function(e,t){var o=/^(?:filter|find|map|reject)|While$/.test(t),a=/^(?:head|last)$/.test(t),c=d[a?"take"+(t=="last"?"Right":""):t],p=a||/^find/.test(t);c&&(d.prototype[t]=function(){var w=this.__wrapped__,E=a?[1]:arguments,$=w instanceof be,z=E[0],j=$||le(w),D=function(ve){var we=c.apply(d,gn([ve],E));return a&&q?we[0]:we};j&&o&&typeof z=="function"&&z.length!=1&&($=j=!1);var q=this.__chain__,J=!!this.__actions__.length,re=p&&!q,fe=$&&!J;if(!p&&j){w=fe?w:new be(this);var ie=e.apply(w,E);return ie.__actions__.push({func:ci,args:[D],thisArg:r}),new Pt(ie,q)}return re&&fe?e.apply(this,E):(ie=this.thru(D),re?a?ie.value()[0]:ie.value():ie)})}),It(["pop","push","shift","sort","splice","unshift"],function(e){var t=Fr[e],o=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",a=/^(?:pop|shift)$/.test(e);d.prototype[e]=function(){var c=arguments;if(a&&!this.__chain__){var p=this.value();return t.apply(le(p)?p:[],c)}return this[o](function(w){return t.apply(le(w)?w:[],c)})}}),Yt(be.prototype,function(e,t){var o=d[t];if(o){var a=o.name+"";$e.call(qn,a)||(qn[a]=[]),qn[a].push({name:t,func:o})}}),qn[ri(r,L).name]=[{name:"wrapper",func:r}],be.prototype.clone=u0,be.prototype.reverse=c0,be.prototype.value=d0,d.prototype.at=Wh,d.prototype.chain=Dh,d.prototype.commit=Nh,d.prototype.next=Zh,d.prototype.plant=Vh,d.prototype.reverse=Uh,d.prototype.toJSON=d.prototype.valueOf=d.prototype.value=qh,d.prototype.first=d.prototype.head,sr&&(d.prototype[sr]=Hh),d},Hn=Nf();En?((En.exports=Hn)._=Hn,Vi._=Hn):Ye._=Hn}).call(J2)}(_r,_r.exports)),_r.exports}var ye=em();const ia=n=>({none:0,hairline:n*.5,thin:n,thick:n*2,heavy:n*4}),oa=n=>({none:0,xs:n*.5,sm:n,md:n*2,lg:n*3,xl:n*4,full:9999}),tm=n=>["none","hairline","thin","thick","heavy"].includes(n),ju=n=>["none","xs","sm","md","lg","xl","full"].includes(n),Ri={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"},Wu=n=>n in Ri,Du={primary:["#543ACC","#6949FF"],secondary:["#E0A800","#FFC107"],success:["#0FB57A","#12D18E"],danger:["#E64545","#F75555"],warning:["#E1B70D","#FACC15"],info:["#543ACC","#6949FF"]},nm=n=>["primary","secondary","success","danger","warning","info"].includes(n),rm=1,im=8,om=8,am="Inter",sm="Sora",lm=10,um=4,fn={borderWidth:rm,space:im,size:om,font:{neutral:am,heading:sm},fontSize:lm,radius:um},Nu=n=>({none:"none",sm:`0 1px 2px 0 ${n.grey400}40`,md:`0 4px 6px -1px ${n.grey500}40, 0 2px 4px -1px ${n.grey400}40`,lg:`0 10px 15px -3px ${n.grey600}40, 0 4px 6px -2px ${n.grey500}40`}),cm=n=>["none","sm","md","lg"].includes(n),aa=n=>({"2xs":n*.5,xs:n,sm:n*2,"sm-md":n*2.5,md:n*4,"md-lg":n*6,lg:n*8,xl:n*16,"2xl":n*32,"3xl":n*64,"4xl":n*128}),Fn=n=>["2xs","xs","sm","sm-md","md","md-lg","lg","xl","2xl","3xl","4xl"].includes(n),sa=n=>({none:0,"2xs":n*.25,xs:n*.5,sm:n,"sm-md":n*1.5,md:n*2,"md-lg":n*2.5,lg:n*3,xl:n*4,"2xl":n*5,"3xl":n*6,"4xl":n*8,"5xl":n*10,"6xl":n*12,"7xl":n*14,"8xl":n*16,"9xl":n*18,"10xl":n*20,"-xxs":n*-.25,"-xs":n*-.5,"-sm":n*-1,"-sm-md":n*-1.5,"-md":n*-2,"-md-lg":n*-2.5,"-lg":n*-3,"-xl":n*-4,"-2xl":n*-5,"-3xl":n*-6,"-4xl":n*-8,"-5xl":n*-10,"-6xl":n*-12,"-7xl":n*-14,"-8xl":n*-16,"-9xl":n*-18,"-10xl":n*-20}),Zu=n=>["none","2xs","xs","sm","sm-md","md","md-lg","lg","xl","2xl","3xl","4xl","-xxs","-xs","-sm","-sm-md","-md","-md-lg","-lg","-xl","-2xl","-3xl","-4xl"].includes(n),la=({neutral:n,heading:i})=>({neutral:`"${n}", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif`,heading:`"${i}", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif`}),Ii=n=>({"2xs":n*.75,xs:n,small:n*1.25,medium:n*1.5,large:n*2,xl:n*2.5,"2xl":n*3,"3xl":n*3.5,"4xl":n*4,"5xl":n*5,"6xl":n*6}),ua=n=>{const i=Ii(n),r=1.4;return{"2xs":i["2xs"]*r,xs:i.xs*r,small:i.small*r,medium:i.medium*r,large:i.large*r,xl:i.xl*r,"2xl":i["2xl"]*r,"3xl":i["3xl"]*r,"4xl":i["4xl"]*r,"5xl":i["5xl"]*r,"6xl":i["6xl"]*r}},ca=()=>({"extra-light":100,thin:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,black:900}),dm=n=>["2xs","xs","small","medium","large","xl","2xl","3xl","4xl","5xl","6xl"].includes(n),fm=n=>["extra-light","thin","light","regular","medium","semibold","bold","extrabold","black"].includes(n);class hm{constructor({baseZIndex:i=10,step:r=10}={}){er(this,"dependencies",new Map);er(this,"zIndexes",null);er(this,"nodes",new Set);er(this,"baseZIndex");er(this,"step");this.baseZIndex=i,this.step=r}register(i,r){this.nodes.add(i),this.nodes.add(r),this.dependencies.has(i)||this.dependencies.set(i,new Set),this.dependencies.get(i).add(r),this.zIndexes=null}deregister(i,r){const s=this.dependencies.get(i);s&&s.delete(r),this.zIndexes=null}getZIndex(i){return this.zIndexes||this._calculateZIndexes(),this.zIndexes.has(i)?this.zIndexes.get(i):(console.warn(`[ZIndexRegistry] ID '${i}' not found in the calculated z-index map. Returning a fallback value. Was it ever registered?`),this.baseZIndex)}_calculateZIndexes(){const i=new Map;for(const l of this.nodes)i.set(l,0);for(const l of this.dependencies.values())for(const u of l)i.set(u,(i.get(u)||0)+1);const r=[];for(const[l,u]of i.entries())u===0&&r.push(l);const s=[];for(;r.length>0;){const l=r.shift();s.push(l);const u=this.dependencies.get(l)||new Set;for(const h of u){const g=(i.get(h)||0)-1;i.set(h,g),g===0&&r.push(h)}}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 Bn=new hm({baseZIndex:100,step:10}),Gt={AIC_Kits_PageContent:"AIC_Kits_PageContent",AIC_Kits_Carousel:"AIC_Kits_Carousel",AIC_Kits_Dropdown:"AIC_Kits_Dropdown",AIC_Kits_Tooltip:"AIC_Kits_Tooltip",AIC_Kits_Modal:"AIC_Kits_Modal",AIC_Kits_Notification:"AIC_Kits_Notification"};Bn.register(Gt.AIC_Kits_PageContent,Gt.AIC_Kits_Carousel);Bn.register(Gt.AIC_Kits_Carousel,Gt.AIC_Kits_Dropdown);Bn.register(Gt.AIC_Kits_Dropdown,Gt.AIC_Kits_Tooltip);Bn.register(Gt.AIC_Kits_Tooltip,Gt.AIC_Kits_Modal);Bn.register(Gt.AIC_Kits_Modal,Gt.AIC_Kits_Notification);const pm=(n=fn,i=Ri,r=Du)=>{const s=la(n.font),l=Ii(n.fontSize),u=ua(n.fontSize),h=ca(),g=ia(n.borderWidth),v=sa(n.space),m=aa(n.size),k=oa(n.radius),R=Nu(i);return{colors:i,gradientColors:r,fonts:s,fontSizes:l,lineHeights:u,fontWeights:h,borderWidths:g,spaces:v,sizes:m,radii:k,shadows:R}},Hu=n=>({paddingVertical:"md",paddingHorizontal:"md",borderRadius:"lg",borderColor:"grey300",borderWidth:"thin",backgroundColor:"white",gap:"md",header:{gap:"sm-md",iconSize:"sm",iconColor:"grey600",disabledOpacity:.5},animation:{duration:300,easing:"ease"}}),Vu=n=>({defaultSize:"md",defaultIconSize:"md",defaultEmojiSize:"lg",defaultBrandSize:"md",defaultImageSize:"md",defaultSvgSize:"md"}),Uu=n=>({defaultSize:"md",defaultFallbackTextSize:"medium",fallbackBackgroundColor:"grey400",sizes:{sm:{fallbackTextSize:"small"},md:{fallbackTextSize:"medium"},lg:{fallbackTextSize:"xl"}}}),qu=n=>({defaultBackgroundColor:"white",defaultHeaderParams:{backgroundColor:"white"},desktopMediaQuery:"(min-width: 768px)",mobilePaddingX:"md",desktopPaddingX:"xl",desktopContentMaxWidth:"1200px"}),Gu=n=>({loadingConfig:{size:"md"},defaultColor:"primary",defaultTextColor:"white",iconSpacing:"xs",sizes:{sm:{paddingHorizontal:"sm",paddingVertical:"xs",fontSize:"xs",iconSize:"sm",borderWidth:"thin",fontWeight:"regular",iconWeight:"regular",squircleBorderRadii:{circle:"full",rounded:"md",square:"none"}},md:{paddingHorizontal:"md",paddingVertical:"sm",fontSize:"medium",iconSize:"sm-md",borderWidth:"thin",fontWeight:"regular",iconWeight:"regular",squircleBorderRadii:{circle:"full",rounded:"lg",square:"none"}},lg:{paddingHorizontal:"lg",paddingVertical:"md",fontSize:"large",iconSize:"md",borderWidth:"thick",fontWeight:"semibold",iconWeight:"bold",squircleBorderRadii:{circle:"full",rounded:"xl",square:"none"}}},variants:{solid:{},outlined:{bgColor:"transparent"},text:{bgColor:"transparent"}}}),Ku=n=>({pagination:{container:{marginTop:"md",padding:"xs",borderRadius:"full",backgroundColor:"grey100",gap:"xs"},dotSize:"2xs",inactiveColor:"grey300",activeColor:"primary",dotBorderRadius:"full"},navigation:{marginHorizontal:"md",buttonColor:"primary",buttonPadding:"sm",buttonBackgroundColor:"white",buttonBorderRadius:"full",iconSize:"sm-md"},autoScroll:{defaultSpeed:20},container:{defaultItemSpacing:"md"}}),Xu=n=>({defaultColor:"primary",defaultSize:"md",checkedBackgroundColor:"primary",uncheckedBorderColor:"grey400",disabledColor:"grey300",disabledTextColor:"grey500",focusBorderColor:"primary",iconColor:"white",textColor:"grey900",sizes:{sm:{labelFontSize:"small",labelPaddingLeft:"xs",iconSize:"xs",iconMargin:"2xs",borderRadius:"sm",borderWidth:"thin"},md:{labelFontSize:"medium",labelPaddingLeft:"sm",iconSize:"sm",iconMargin:"xs",borderRadius:"md",borderWidth:"thin"},lg:{labelFontSize:"large",labelPaddingLeft:"md",iconSize:"sm-md",iconMargin:"xs",borderRadius:"lg",borderWidth:"thin"}},animation:{duration:100,easing:"ease-out"}}),Yu=n=>({defaultColor:"grey300",defaultThickness:1}),Qu=n=>{const i=`0 0 16px 4px ${n.colors.grey400}40`;return{backgroundColor:"grey100",padding:"xs",radius:"full",avatarSize:"md",loadingGap:"sm",navItem:{radius:"full",paddingX:"md",paddingY:"sm",gap:"xs",large:{fontSize:"large",loadingSize:"small"},medium:{fontSize:"medium",loadingSize:"small"},active:{fontWeight:"medium",color:"black",backgroundColor:"white",hoverBackgroundColor:"white",hoverBoxShadow:i},inactive:{fontWeight:"regular",color:"grey600",backgroundColor:"transparent",hoverBackgroundColor:"white",hoverBoxShadow:i},hover:{color:"primary"}},profileDropdown:{offset:{top:72,right:0},containerPaddingRight:"md",spacingTop:"sm",padding:"sm",gap:"sm",borderRadius:24,boxShadow:i,backgroundColor:"white",defaultMaxHeight:300,minWidth:50,animationDuration:300},navDropdown:{spacingTop:"sm",paddingX:"md-lg",paddingY:"md",gap:"sm-md",borderRadius:24,boxShadow:i,backgroundColor:"white",defaultMaxHeight:300,minWidth:50,animationDuration:300}}},Ju=n=>{const i="grey300",r="danger",s="primary",l="grey100",u="grey300",h="grey500",g="white",v="grey900",m="thin",k=`inset 0 0 0 ${n.borderWidths.thin}px ${n.colors[s]}`,R=`inset 0 0 0 ${n.borderWidths.thin}px ${n.colors[r]}`;return{borderRadius:"md",borderWidth:m,padding:{vertical:"sm",horizontal:"md"},fontSize:"medium",placeholderColor:"grey500",iconSpacing:"sm",iconSize:"sm-md",iconColor:"grey600",textColor:v,disabledTextColor:h,disabledBorderColor:u,focusColor:s,errorColor:r,states:{default:{borderColor:i,backgroundColor:g,boxShadow:"none"},focused:{borderColor:s,backgroundColor:g,boxShadow:k},error:{borderColor:r,backgroundColor:g,boxShadow:R},disabled:{borderColor:u,backgroundColor:l,boxShadow:"none"}}}},ec=n=>({defaultGap:"sm",defaultPadding:"none"}),tc=n=>({sizes:{small:"24px",medium:"36px",large:"48px"},strokeWidths:{small:"2px",medium:"3px",large:"4px"},arc:{minAngle:40,maxAngle:290},animation:{loopInterval:800,showingDuration:250,contentShowingDuration:300}}),nc=n=>({container:{sizes:{small:{gap:"xs"},medium:{gap:"sm"},large:{gap:"md"}}},item:{defaultColor:"grey900",text:{color:"black",disabledColor:"grey500"},shapes:{circular:{container:{borderRadius:"full"}},rounded:{container:{borderRadius:"md"}}},sizes:{small:{container:{size:"sm-md"},text:{fontSize:"small"},buttonSize:"sm",icon:{size:"xs",weight:"bold"}},medium:{container:{size:"md"},text:{fontSize:"medium"},buttonSize:"md",icon:{size:"sm",weight:"bold"}},large:{container:{size:"md-lg"},text:{fontSize:"large"},buttonSize:"lg",icon:{size:"sm-md",weight:"bold"}}}}}),rc=n=>({defaultVariant:"soft",defaultSize:"md",sizes:{sm:{height:"2xs",borderRadius:"xs"},md:{height:"xs",borderRadius:"sm"},lg:{height:"sm",borderRadius:"md"}},variants:{soft:{containerBackgroundColor:"grey100",defaultProgressColor:"primary"},outlined:{containerBackgroundColor:"white",containerBorderWidth:"thin",defaultProgressColor:"primary"},plain:{containerBackgroundColor:"white",defaultProgressColor:"primary"}}}),ic=n=>{const i="grey300",r="danger",s="grey300",l="grey100",u="grey400",h="grey100",g="grey200",v="white",m="transparent",k="thin",R="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:r,iconColor:"grey600",disabledContentColor:u,disabledOpacity:.6,sizes:{sm:{paddingVertical:"xs",paddingHorizontal:"sm",fontSize:"small",borderWidth:"thin",iconSize:"sm",gap:"xs",dropdownPaddingVertical:"xs",dropdownPaddingHorizontal:"sm"},md:{paddingVertical:"sm",paddingHorizontal:"md",fontSize:"medium",borderWidth:"thin",iconSize:"sm-md",gap:"sm",dropdownPaddingVertical:"sm",dropdownPaddingHorizontal:"md"},lg:{paddingVertical:"md",paddingHorizontal:"lg",fontSize:"large",borderWidth:"thin",iconSize:"md",gap:"md",dropdownPaddingVertical:"md",dropdownPaddingHorizontal:"lg"}},variants:{outlined:{default:{backgroundColor:m,borderColor:i,borderWidth:k},hover:{backgroundColor:"grey100",borderColor:i,borderWidth:k},focused:{backgroundColor:m,borderColor:"primary",borderWidth:R},disabled:{backgroundColor:m,borderColor:s,borderWidth:k},errored:{backgroundColor:m,borderColor:r,borderWidth:k}},filled:{default:{backgroundColor:h,borderColor:m,borderWidth:k},hover:{backgroundColor:g,borderColor:m,borderWidth:k},focused:{backgroundColor:v,borderColor:"primary",borderWidth:R},disabled:{backgroundColor:l,borderColor:m,borderWidth:k},errored:{backgroundColor:v,borderColor:r,borderWidth:k}}},animation:{duration:200,easing:"ease-out"},dropdown:{backgroundColor:v,borderColor:i,shadow:"md",offset:"sm",zIndex:1e3,maxHeight:200,borderRadiusForCircle:"xl",borderRadiusForRounded:"md",itemTextColor:"grey900",itemSelectedTextColor:"grey900",itemHoverBackgroundColor:"grey100",itemSelectedBackgroundColor:"white",emptyTextColor:"grey500"}}},oc=n=>({animation:{duration:1500,gradient:{start:"grey100",middle:"grey200",end:"grey100"},transition:{backgroundDuration:250,contentFadeDuration:200}},container:{rectangle:{borderRadius:"none",opacity:1},rounded:{borderRadius:"md",opacity:1},circle:{borderRadius:"full",opacity:1},transparent:{borderRadius:"none",opacity:0}}}),ac=n=>({defaultVariant:"solid",defaultColor:"primary",defaultRadius:"full",defaultSize:"md",sizes:{sm:{paddingVertical:"2xs",paddingHorizontal:"xs",fontSize:"xs",gap:"2xs",iconSize:"xs"},md:{paddingVertical:"xs",paddingHorizontal:"sm",fontSize:"small",gap:"xs",iconSize:"sm"},lg:{paddingVertical:"sm",paddingHorizontal:"md",fontSize:"medium",gap:"sm",iconSize:"sm-md"}}}),sc=n=>{const i="sm";return{defaultBackgroundColor:"grey800",defaultTextColor:"white",defaultPlacement:"bottom",container:{padding:"sm",borderRadius:"md",shadow:"md",zIndex:9999,maxWidth:"300px"},text:{fontSize:"small"},positioning:{spacing:i,placements:{top:{bottom:"100%",left:"50%",transform:"translateX(-50%)",mb:i},bottom:{top:"100%",left:"50%",transform:"translateX(-50%)",mt:i},left:{top:"50%",right:"100%",transform:"translateY(-50%)",mr:i},right:{top:"50%",left:"100%",transform:"translateY(-50%)",ml:i}}}}},lc=n=>({animation:{minScale:.92,maxScale:1,minOpacity:.7,maxOpacity:1,springConfig:{mass:.5}}}),uc=n=>({defaultAccentColor:"#00adef",aspectRatio:56.25,playerSettings:{autoplay:!1,muted:!1,loop:!1,title:!1,byline:!1,portrait:!1,controls:!0}}),cc=n=>({art:Vu(),base:qu(),button:Gu(),divider:Yu(),header:Qu(n),input:Ju(n),list:ec(),loading:tc(),pagination:nc(),skeleton:oc(),touchable:lc(),vimeo:uc(),carousel:Ku(),accordion:Hu(),tag:ac(),checkbox:Xu(),select:ic(),progress:rc(),avatar:Uu(),tooltip:sc()}),gm=sa(fn.space),mm=aa(fn.size),vm=ia(fn.borderWidth),bm=oa(fn.radius),wm=Ii(fn.fontSize),ym=ua(fn.fontSize),xm=ca(),eu=la(fn.font),_m={spaces:gm,sizes:mm,colors:Ri,radii:bm,borderWidths:vm,fonts:eu,zIndex:Bn,__hd__:{text:{fontSizes:wm,lineHeights:ym,fontWeights:xm,fonts:eu}}};function dc(){const n=_m,i=cc(n);return{...n,__hd__:{...n.__hd__,...i}}}const _i=dc(),_e=Cn.styled,da=Cn.keyframes,ut=Cn.css,fc=(n,i)=>!["theme","themeFontSize","themeFontWeight","themeTypeface","themePosition","color","bg","bgColor","backgroundColor","opacity","margin","m","marginTop","mt","marginRight","mr","marginBottom","mb","marginLeft","ml","marginX","mx","marginY","my","padding","p","paddingTop","pt","paddingRight","pr","paddingBottom","pb","paddingLeft","pl","paddingX","px","paddingY","py","gap","borderRadius","r","radius","borderBottomLeftRadius","bbl","borderBottomRightRadius","bbr","borderTopLeftRadius","btl","borderTopRightRadius","btr","borderWidth","b","borderBottomWidth","bb","borderTopWidth","bt","borderLeftWidth","bl","borderRightWidth","br","borderColor","bc","borderBottomColor","bb","borderTopColor","bt","borderLeftColor","bl","borderRightColor","br","fontSize","fontWeight","lineHeight","letterSpacing","textAlign","fontStyle","textTransform","textDecoration","themeColor","useRichText","width","height","minWidth","maxWidth","minHeight","maxHeight","display","alignItems","alignContent","justifyContent","flexWrap","flexDirection","flex","flexGrow","flexShrink","flexBasis","alignSelf","position","top","right","bottom","left","overflow","cursor","transition","transform","animation","willChange","pointerEvents","userSelect","resize","boxShadow","textShadow","filter","backdropFilter","mixBlendMode","isolation","zIndex","marginInline","marginBlock","paddingInline","paddingBlock","whiteSpace","textOverflow","overflowY","overflowX","fullWidth","fullHeight","fw","fh","absoluteFill"].includes(n),Cm=n=>typeof n=="function"?n(_i):n?{..._i,...n}:_i,Sm=({theme:n,children:i})=>{const r=Cm(n);return S.jsx(Cn.StyleSheetManager,{shouldForwardProp:fc,children:S.jsx(Cn.ThemeProvider,{theme:r,children:i})})},he=Cn.useTheme,ct=()=>typeof document>"u",Tr={xs:0,sm:600,md:900,lg:1200,xl:1536},Sr=Object.keys(Tr),Oi=n=>ye.isObject(n)&&("xs"in n||"sm"in n||"md"in n||"lg"in n||"xl"in n),$t=(n,i)=>Oi(n)?Object.fromEntries(Object.entries(n).map(([r,s])=>[r,i(s)])):i(n),Jo=n=>ye.reduce(n,(i,r,s)=>(ye.forEach(r,(l,u)=>{ye.has(i,u)||ye.set(i,u,{}),ye.set(i,[u,s],l)}),i),{}),hc=(n,i)=>{const r=Object.fromEntries(Object.keys(n).map(g=>[g,fa(n[g])])),s=Jo(r),l=Object.fromEntries(Sr.map(g=>[g,i(s[g])])),u=Jo(l);return Object.fromEntries(Object.entries(u).map(([g,v])=>[g,gc(v)]))},pc=(n,i)=>{if(!Oi(n))return n;switch(i){case"xs":return n.xs??n.sm??n.md??n.lg??n.xl;case"sm":return n.sm??n.xs??n.md??n.lg??n.xl;case"md":return n.md??n.sm??n.xs??n.lg??n.xl;case"lg":return n.lg??n.md??n.sm??n.xs??n.xl;case"xl":return n.xl??n.lg??n.md??n.sm??n.xs}},fa=n=>Object.fromEntries(Object.keys(Tr).map(i=>[i,pc(n,i)])),gc=n=>{let i=n.xs;const r={xs:i};for(let s=1;s<Sr.length;s++){const l=Sr[s],u=n[l];ye.isEqual(u,i)||(r[l]=u,i=u)}return Object.keys(r).length===1?r.xs:r},ha=n=>{const[i,r]=ye.partition(Object.entries(n),([u,h])=>Oi(h)),s=Object.fromEntries(i.map(([u,h])=>[u,fa(h)])),l=ye.compact(Sr.map(u=>{const h=Object.fromEntries(Object.keys(s).map(v=>[v,s[v][u]]));if(u==="xs"){const v={...Object.fromEntries(r),...h};return ye.isEmpty(v)?null:ut(v)}if(ye.isEmpty(h))return null;const g=`(min-width: ${Tr[u]}px)`;return ut`
|
|
28
|
+
@media ${g} {
|
|
29
|
+
${ut(h)}
|
|
30
30
|
}
|
|
31
|
-
`}));return ot`${l}`},iv={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"}},ov={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"}},av={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"}},sv={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"}},Vd={...iv,...ov,...av,...sv},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"],As=["absoluteFill","fullWidth","fullHeight","fw","fh"],qd={absoluteFill:{position:"absolute",top:0,bottom:0,left:0,right:0},fullWidth:{width:"100%"},fullHeight:{height:"100%"},fw:{width:"100%"},fh:{height:"100%"}},Gd=(n,r,i)=>{const s=Vd[r],l=i[r];if(!l)return;const{scale:u,property:d}=s;switch(u){case"colors":return{[d]:Ct(l,p=>n.colors[p])};case"spaces":return{[d]:Ct(l,p=>n.spaces[p])};case"radii":return{[d]:Ct(l,p=>n.radii[p])};case"borderWidths":return{[d]:Ct(l,p=>n.borderWidths[p])}}},Kd=(n,r)=>Object.keys(r).reduce((s,l)=>({...s,...Gd(n,l,r)}),{}),lv=n=>As.reduce((r,i)=>n[i]?{...r,...qd[i]}:r,{}),Xd=Object.keys(Vd),Yd=(n,r)=>{const i=ye.pick(r,Xd),s=ye.pick(r,[...Ud]),l=ye.pick(r,[...As]);return Es({...Kd(n,i),...lv(l),...s})},Qd=xe.div(({theme:n,...r})=>Yd(n,r));function uv({children:n,style:r,"data-testid":i,...s},l){return y.jsx(Qd,{...s,style:r,ref:l,"data-testid":i,children:n})}const X=h.forwardRef(uv),Je=(n,r)=>typeof r=="number"?`${r}px`:ye.isString(r)?Qn(r)?`${n.sizes[r]}px`:r:"auto",Jd=n=>new RegExp("\\p{Emoji}","u").test(n)&&n.length<=2,ef=n=>ye.isString(n)&&n.includes("icon-"),tf=n=>{const r=[".jpg",".jpeg",".png",".gif",".webp",".svg"],i=n.toLowerCase();return ye.isString(n)&&(r.some(s=>i.endsWith(s))||n.startsWith("data:image/")||n.startsWith("http"))},nf=n=>ye.isString(n)&&n.startsWith("<svg"),rf=({art:n,width:r,height:i,style:s,"data-testid":l,...u})=>{const d=ge(),p=d.__hd__.art.defaultBrandSize||d.__hd__.art.defaultSize,m=Je(d,r??p),v=Je(d,i??p);return y.jsx(X,{display:"flex",alignItems:"center",justifyContent:"center",width:m,height:v,style:s,"data-testid":l,...u,children:n})},of=({art:n,size:r,style:i,"data-testid":s,...l})=>{const u=ge(),d=u.__hd__.art.defaultEmojiSize||u.__hd__.art.defaultSize,p=Je(u,r??d),m=typeof p=="string"&&p.endsWith("px")?parseInt(p,10):u.__hd__.text.fontSizes[d]??24,v=u.__hd__.text.lineHeights[d]?`${u.__hd__.text.lineHeights[d]/m}`:"1";return y.jsx(X,{display:"flex",alignItems:"center",justifyContent:"center",width:p,height:p,style:{...i,fontSize:p,lineHeight:v},"data-testid":s,...l,children:n})},Ts=({art:n,size:r,color:i="currentColor",weight:s="regular",style:l,"data-testid":u,...d})=>{const p=ge(),m=p.__hd__.art.defaultIconSize||p.__hd__.art.defaultSize,v=Je(p,r??m),x=n;if(!x)return process.env.NODE_ENV!=="production"&&console.warn(`[IconArt] Icon component not found for art="${n}". This should not happen with TypeScript checks.`),null;const _=gd(i)?p.colors[i]:i;return y.jsx(X,{display:"flex",alignItems:"center",justifyContent:"center",width:v,height:v,style:l,"data-testid":u,...d,children:y.jsx(x,{size:v,color:_,weight:s,style:l})})},cv=new Map([["bold",h.createElement(h.Fragment,null,h.createElement("path",{d:"M208.49,199.51a12,12,0,0,1-17,17l-80-80a12,12,0,0,1,0-17l80-80a12,12,0,0,1,17,17L137,128ZM57,128l71.52-71.51a12,12,0,0,0-17-17l-80,80a12,12,0,0,0,0,17l80,80a12,12,0,0,0,17-17Z"}))],["duotone",h.createElement(h.Fragment,null,h.createElement("path",{d:"M200,48V208l-80-80Z",opacity:"0.2"}),h.createElement("path",{d:"M203.06,40.61a8,8,0,0,0-8.72,1.73l-80,80a8,8,0,0,0,0,11.32l80,80A8,8,0,0,0,208,208V48A8,8,0,0,0,203.06,40.61ZM192,188.69,131.31,128,192,67.31Zm-66.34,13.65a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L51.31,128Z"}))],["fill",h.createElement(h.Fragment,null,h.createElement("path",{d:"M208,48V208a8,8,0,0,1-13.66,5.66L128,147.31V208a8,8,0,0,1-13.66,5.66l-80-80a8,8,0,0,1,0-11.32l80-80A8,8,0,0,1,128,48v60.69l66.34-66.35A8,8,0,0,1,208,48Z"}))],["light",h.createElement(h.Fragment,null,h.createElement("path",{d:"M204.24,203.76a6,6,0,1,1-8.48,8.48l-80-80a6,6,0,0,1,0-8.48l80-80a6,6,0,0,1,8.48,8.48L128.49,128ZM48.49,128l75.75-75.76a6,6,0,0,0-8.48-8.48l-80,80a6,6,0,0,0,0,8.48l80,80a6,6,0,1,0,8.48-8.48Z"}))],["regular",h.createElement(h.Fragment,null,h.createElement("path",{d:"M205.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L131.31,128ZM51.31,128l74.35-74.34a8,8,0,0,0-11.32-11.32l-80,80a8,8,0,0,0,0,11.32l80,80a8,8,0,0,0,11.32-11.32Z"}))],["thin",h.createElement(h.Fragment,null,h.createElement("path",{d:"M202.83,205.17a4,4,0,0,1-5.66,5.66l-80-80a4,4,0,0,1,0-5.66l80-80a4,4,0,1,1,5.66,5.66L125.66,128ZM45.66,128l77.17-77.17a4,4,0,0,0-5.66-5.66l-80,80a4,4,0,0,0,0,5.66l80,80a4,4,0,1,0,5.66-5.66Z"}))]]),dv=new Map([["bold",h.createElement(h.Fragment,null,h.createElement("path",{d:"M144.49,136.49l-80,80a12,12,0,0,1-17-17L119,128,47.51,56.49a12,12,0,0,1,17-17l80,80A12,12,0,0,1,144.49,136.49Zm80-17-80-80a12,12,0,1,0-17,17L199,128l-71.52,71.51a12,12,0,0,0,17,17l80-80A12,12,0,0,0,224.49,119.51Z"}))],["duotone",h.createElement(h.Fragment,null,h.createElement("path",{d:"M136,128,56,208V48Z",opacity:"0.2"}),h.createElement("path",{d:"M141.66,122.34l-80-80A8,8,0,0,0,48,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,141.66,122.34ZM64,188.69V67.31L124.69,128Zm157.66-55-80,80a8,8,0,0,1-11.32-11.32L204.69,128,130.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,221.66,133.66Z"}))],["fill",h.createElement(h.Fragment,null,h.createElement("path",{d:"M221.66,133.66l-80,80A8,8,0,0,1,128,208V147.31L61.66,213.66A8,8,0,0,1,48,208V48a8,8,0,0,1,13.66-5.66L128,108.69V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,221.66,133.66Z"}))],["light",h.createElement(h.Fragment,null,h.createElement("path",{d:"M140.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L127.51,128,51.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,140.24,132.24Zm80-8.48-80-80a6,6,0,0,0-8.48,8.48L207.51,128l-75.75,75.76a6,6,0,1,0,8.48,8.48l80-80A6,6,0,0,0,220.24,123.76Z"}))],["regular",h.createElement(h.Fragment,null,h.createElement("path",{d:"M141.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L124.69,128,50.34,53.66A8,8,0,0,1,61.66,42.34l80,80A8,8,0,0,1,141.66,133.66Zm80-11.32-80-80a8,8,0,0,0-11.32,11.32L204.69,128l-74.35,74.34a8,8,0,0,0,11.32,11.32l80-80A8,8,0,0,0,221.66,122.34Z"}))],["thin",h.createElement(h.Fragment,null,h.createElement("path",{d:"M138.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L130.34,128,53.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,138.83,130.83Zm80-5.66-80-80a4,4,0,0,0-5.66,5.66L210.34,128l-77.17,77.17a4,4,0,0,0,5.66,5.66l80-80A4,4,0,0,0,218.83,125.17Z"}))]]),fv=new Map([["bold",h.createElement(h.Fragment,null,h.createElement("path",{d:"M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z"}))],["duotone",h.createElement(h.Fragment,null,h.createElement("path",{d:"M208,96l-80,80L48,96Z",opacity:"0.2"}),h.createElement("path",{d:"M215.39,92.94A8,8,0,0,0,208,88H48a8,8,0,0,0-5.66,13.66l80,80a8,8,0,0,0,11.32,0l80-80A8,8,0,0,0,215.39,92.94ZM128,164.69,67.31,104H188.69Z"}))],["fill",h.createElement(h.Fragment,null,h.createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,48,88H208a8,8,0,0,1,5.66,13.66Z"}))],["light",h.createElement(h.Fragment,null,h.createElement("path",{d:"M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z"}))],["regular",h.createElement(h.Fragment,null,h.createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z"}))],["thin",h.createElement(h.Fragment,null,h.createElement("path",{d:"M210.83,98.83l-80,80a4,4,0,0,1-5.66,0l-80-80a4,4,0,0,1,5.66-5.66L128,170.34l77.17-77.17a4,4,0,1,1,5.66,5.66Z"}))]]),hv=new Map([["bold",h.createElement(h.Fragment,null,h.createElement("path",{d:"M168.49,199.51a12,12,0,0,1-17,17l-80-80a12,12,0,0,1,0-17l80-80a12,12,0,0,1,17,17L97,128Z"}))],["duotone",h.createElement(h.Fragment,null,h.createElement("path",{d:"M160,48V208L80,128Z",opacity:"0.2"}),h.createElement("path",{d:"M163.06,40.61a8,8,0,0,0-8.72,1.73l-80,80a8,8,0,0,0,0,11.32l80,80A8,8,0,0,0,168,208V48A8,8,0,0,0,163.06,40.61ZM152,188.69,91.31,128,152,67.31Z"}))],["fill",h.createElement(h.Fragment,null,h.createElement("path",{d:"M168,48V208a8,8,0,0,1-13.66,5.66l-80-80a8,8,0,0,1,0-11.32l80-80A8,8,0,0,1,168,48Z"}))],["light",h.createElement(h.Fragment,null,h.createElement("path",{d:"M164.24,203.76a6,6,0,1,1-8.48,8.48l-80-80a6,6,0,0,1,0-8.48l80-80a6,6,0,0,1,8.48,8.48L88.49,128Z"}))],["regular",h.createElement(h.Fragment,null,h.createElement("path",{d:"M165.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L91.31,128Z"}))],["thin",h.createElement(h.Fragment,null,h.createElement("path",{d:"M162.83,205.17a4,4,0,0,1-5.66,5.66l-80-80a4,4,0,0,1,0-5.66l80-80a4,4,0,1,1,5.66,5.66L85.66,128Z"}))]]),pv=new Map([["bold",h.createElement(h.Fragment,null,h.createElement("path",{d:"M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z"}))],["duotone",h.createElement(h.Fragment,null,h.createElement("path",{d:"M176,128,96,208V48Z",opacity:"0.2"}),h.createElement("path",{d:"M181.66,122.34l-80-80A8,8,0,0,0,88,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,181.66,122.34ZM104,188.69V67.31L164.69,128Z"}))],["fill",h.createElement(h.Fragment,null,h.createElement("path",{d:"M181.66,133.66l-80,80A8,8,0,0,1,88,208V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,181.66,133.66Z"}))],["light",h.createElement(h.Fragment,null,h.createElement("path",{d:"M180.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L167.51,128,91.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,180.24,132.24Z"}))],["regular",h.createElement(h.Fragment,null,h.createElement("path",{d:"M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"}))],["thin",h.createElement(h.Fragment,null,h.createElement("path",{d:"M178.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L170.34,128,93.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,178.83,130.83Z"}))]]),gv=new Map([["bold",h.createElement(h.Fragment,null,h.createElement("path",{d:"M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z"}))],["duotone",h.createElement(h.Fragment,null,h.createElement("path",{d:"M232,56V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Z",opacity:"0.2"}),h.createElement("path",{d:"M205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"}))],["fill",h.createElement(h.Fragment,null,h.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"}))],["light",h.createElement(h.Fragment,null,h.createElement("path",{d:"M228.24,76.24l-128,128a6,6,0,0,1-8.48,0l-56-56a6,6,0,0,1,8.48-8.48L96,191.51,219.76,67.76a6,6,0,0,1,8.48,8.48Z"}))],["regular",h.createElement(h.Fragment,null,h.createElement("path",{d:"M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"}))],["thin",h.createElement(h.Fragment,null,h.createElement("path",{d:"M226.83,74.83l-128,128a4,4,0,0,1-5.66,0l-56-56a4,4,0,0,1,5.66-5.66L96,194.34,221.17,69.17a4,4,0,1,1,5.66,5.66Z"}))]]),mv=new Map([["bold",h.createElement(h.Fragment,null,h.createElement("path",{d:"M251,123.13c-.37-.81-9.13-20.26-28.48-39.61C196.63,57.67,164,44,128,44S59.37,57.67,33.51,83.52C14.16,102.87,5.4,122.32,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212s68.63-13.66,94.48-39.51c19.36-19.35,28.12-38.79,28.49-39.61A12.08,12.08,0,0,0,251,123.13Zm-46.06,33C183.47,177.27,157.59,188,128,188s-55.47-10.73-76.91-31.88A130.36,130.36,0,0,1,29.52,128,130.45,130.45,0,0,1,51.09,99.89C72.54,78.73,98.41,68,128,68s55.46,10.73,76.91,31.89A130.36,130.36,0,0,1,226.48,128,130.45,130.45,0,0,1,204.91,156.12ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,64a20,20,0,1,1,20-20A20,20,0,0,1,128,148Z"}))],["duotone",h.createElement(h.Fragment,null,h.createElement("path",{d:"M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"}),h.createElement("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"}))],["fill",h.createElement(h.Fragment,null,h.createElement("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z"}))],["light",h.createElement(h.Fragment,null,h.createElement("path",{d:"M245.48,125.57c-.34-.78-8.66-19.23-27.24-37.81C201,70.54,171.38,50,128,50S55,70.54,37.76,87.76c-18.58,18.58-26.9,37-27.24,37.81a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206s73-20.53,90.24-37.75c18.58-18.58,26.9-37,27.24-37.8A6,6,0,0,0,245.48,125.57ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.77,134.77,0,0,1,22.69,128,134.56,134.56,0,0,1,46.55,95.94C69.22,73.42,96.62,62,128,62s58.78,11.42,81.45,33.94A134.56,134.56,0,0,1,233.31,128C226.94,140.21,195,194,128,194Zm0-112a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162Z"}))],["regular",h.createElement(h.Fragment,null,h.createElement("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"}))],["thin",h.createElement(h.Fragment,null,h.createElement("path",{d:"M243.66,126.38c-.34-.76-8.52-18.89-26.83-37.2C199.87,72.22,170.7,52,128,52S56.13,72.22,39.17,89.18c-18.31,18.31-26.49,36.44-26.83,37.2a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17s71.87-20.21,88.83-37.17c18.31-18.31,26.49-36.43,26.83-37.2A4.08,4.08,0,0,0,243.66,126.38Zm-32.7,35c-23.07,23-51,34.62-83,34.62s-59.89-11.65-83-34.62A135.71,135.71,0,0,1,20.44,128,135.69,135.69,0,0,1,45,94.62C68.11,71.65,96,60,128,60s59.89,11.65,83,34.62A135.79,135.79,0,0,1,235.56,128,135.71,135.71,0,0,1,211,161.38ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Z"}))]]),vv=new Map([["bold",h.createElement(h.Fragment,null,h.createElement("path",{d:"M56.88,31.93A12,12,0,1,0,39.12,48.07l16,17.65C20.67,88.66,5.72,121.58,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212a131.34,131.34,0,0,0,51-10l20.09,22.1a12,12,0,0,0,17.76-16.14ZM128,188c-29.59,0-55.47-10.73-76.91-31.88A130.69,130.69,0,0,1,29.52,128c5.27-9.31,18.79-29.9,42-44.29l90.09,99.11A109.33,109.33,0,0,1,128,188Zm123-55.12c-.36.81-9,20-28,39.16a12,12,0,1,1-17-16.9A130.48,130.48,0,0,0,226.48,128a130.36,130.36,0,0,0-21.57-28.12C183.46,78.73,157.59,68,128,68c-3.35,0-6.7.14-10,.42a12,12,0,1,1-2-23.91c3.93-.34,8-.51,12-.51,36,0,68.63,13.67,94.49,39.52,19.35,19.35,28.11,38.8,28.48,39.61A12.08,12.08,0,0,1,251,132.88Z"}))],["duotone",h.createElement(h.Fragment,null,h.createElement("path",{d:"M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"}),h.createElement("path",{d:"M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z"}))],["fill",h.createElement(h.Fragment,null,h.createElement("path",{d:"M96.68,57.87a4,4,0,0,1,2.08-6.6A130.13,130.13,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41a8,8,0,0,1,0,6.5c-.35.79-8.82,19.57-27.65,38.4q-4.28,4.26-8.79,8.07a4,4,0,0,1-5.55-.36ZM213.92,210.62a8,8,0,1,1-11.84,10.76L180,197.13A127.21,127.21,0,0,1,128,208c-34.88,0-66.57-13.26-91.66-38.34C17.51,150.83,9,132.05,8.69,131.26a8,8,0,0,1,0-6.5C9,124,17.51,105.18,36.34,86.35a135,135,0,0,1,25-19.78L42.08,45.38A8,8,0,1,1,53.92,34.62Zm-65.49-48.25-52.69-58a40,40,0,0,0,52.69,58Z"}))],["light",h.createElement(h.Fragment,null,h.createElement("path",{d:"M52.44,36A6,6,0,0,0,43.56,44L64.44,67c-37.28,21.9-53.23,57-53.92,58.57a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206a124.91,124.91,0,0,0,52.57-11.25l23,25.29a6,6,0,0,0,8.88-8.08Zm48.62,71.32,45,49.52a34,34,0,0,1-45-49.52ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.57,134.57,0,0,1,22.69,128c4.29-8.2,20.1-35.18,50-51.91L92.89,98.3a46,46,0,0,0,61.35,67.48l17.81,19.6A113.47,113.47,0,0,1,128,194Zm6.4-99.4a6,6,0,0,1,2.25-11.79,46.17,46.17,0,0,1,37.15,40.87,6,6,0,0,1-5.42,6.53l-.56,0a6,6,0,0,1-6-5.45A34.1,34.1,0,0,0,134.4,94.6Zm111.08,35.85c-.41.92-10.37,23-32.86,43.12a6,6,0,1,1-8-8.94A134.07,134.07,0,0,0,233.31,128a134.67,134.67,0,0,0-23.86-32.07C186.78,73.42,159.38,62,128,62a120.19,120.19,0,0,0-19.69,1.6,6,6,0,1,1-2-11.83A131.12,131.12,0,0,1,128,50c43.38,0,73,20.54,90.24,37.76,18.58,18.58,26.9,37,27.24,37.81A6,6,0,0,1,245.48,130.45Z"}))],["regular",h.createElement(h.Fragment,null,h.createElement("path",{d:"M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z"}))],["thin",h.createElement(h.Fragment,null,h.createElement("path",{d:"M51,37.31A4,4,0,0,0,45,42.69L67.59,67.5C29.34,89,13,124.81,12.34,126.38a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17a122.59,122.59,0,0,0,53.06-11.69l24,26.38a4,4,0,1,0,5.92-5.38ZM149.1,157.16A36,36,0,0,1,101,104.22ZM128,196c-32,0-59.89-11.65-83-34.62A135.81,135.81,0,0,1,20.44,128c3.65-7.23,20.09-36.81,52.68-54.43l22.45,24.7a44,44,0,0,0,59,64.83l20.89,23A114.94,114.94,0,0,1,128,196Zm6.78-103.36a4,4,0,0,1,1.49-7.86,44.15,44.15,0,0,1,35.54,39.09,4,4,0,0,1-3.61,4.35l-.38,0a4,4,0,0,1-4-3.63A36.1,36.1,0,0,0,134.78,92.64Zm108.88,37c-.41.91-10.2,22.58-32.38,42.45a4,4,0,0,1-2.67,1,4,4,0,0,1-2.67-7A136.71,136.71,0,0,0,235.56,128,136.07,136.07,0,0,0,211,94.62C187.89,71.65,160,60,128,60a122,122,0,0,0-20,1.63,4,4,0,0,1-1.32-7.89A129.3,129.3,0,0,1,128,52c42.7,0,71.87,20.22,88.83,37.18,18.31,18.31,26.49,36.44,26.83,37.2A4.08,4.08,0,0,1,243.66,129.63Z"}))]]),wv=new Map([["bold",h.createElement(h.Fragment,null,h.createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm56.49-92.49a12,12,0,0,1-17,17L162,131l-5.51,5.52a12,12,0,0,1-17-17L145,114l-5.52-5.51a12,12,0,0,1,17-17L162,97l5.51-5.52a12,12,0,0,1,17,17L179,114Zm-68,17a12,12,0,0,1-17,0L94,131l-5.51,5.52a12,12,0,0,1-17-17L77,114l-5.52-5.51a12,12,0,0,1,17-17L94,97l5.51-5.52a12,12,0,0,1,17,17L111,114l5.52,5.51A12,12,0,0,1,116.49,136.49ZM144,180a16,16,0,1,1-16-16A16,16,0,0,1,144,180Z"}))],["duotone",h.createElement(h.Fragment,null,h.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),h.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm61.66-93.66a8,8,0,0,1-11.32,11.32L168,123.31l-10.34,10.35a8,8,0,0,1-11.32-11.32L156.69,112l-10.35-10.34a8,8,0,0,1,11.32-11.32L168,100.69l10.34-10.35a8,8,0,0,1,11.32,11.32L179.31,112Zm-80-20.68L99.31,112l10.35,10.34a8,8,0,0,1-11.32,11.32L88,123.31,77.66,133.66a8,8,0,0,1-11.32-11.32L76.69,112,66.34,101.66A8,8,0,0,1,77.66,90.34L88,100.69,98.34,90.34a8,8,0,0,1,11.32,11.32ZM140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["fill",h.createElement(h.Fragment,null,h.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.13,104.13,0,0,0,128,24Zm-18.34,98.34a8,8,0,0,1-11.32,11.32L88,123.31,77.66,133.66a8,8,0,0,1-11.32-11.32L76.69,112,66.34,101.66A8,8,0,0,1,77.66,90.34L88,100.69,98.34,90.34a8,8,0,0,1,11.32,11.32L99.31,112ZM128,192a12,12,0,1,1,12-12A12,12,0,0,1,128,192Zm61.66-69.66a8,8,0,0,1-11.32,11.32L168,123.31l-10.34,10.35a8,8,0,0,1-11.32-11.32L156.69,112l-10.35-10.34a8,8,0,0,1,11.32-11.32L168,100.69l10.34-10.35a8,8,0,0,1,11.32,11.32L179.31,112Z"}))],["light",h.createElement(h.Fragment,null,h.createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm60.24-117.76L176.49,112l11.75,11.76a6,6,0,1,1-8.48,8.48L168,120.49l-11.76,11.75a6,6,0,0,1-8.48-8.48L159.51,112l-11.75-11.76a6,6,0,0,1,8.48-8.48L168,103.51l11.76-11.75a6,6,0,0,1,8.48,8.48Zm-80,0L96.49,112l11.75,11.76a6,6,0,1,1-8.48,8.48L88,120.49,76.24,132.24a6,6,0,0,1-8.48-8.48L79.51,112,67.76,100.24a6,6,0,0,1,8.48-8.48L88,103.51,99.76,91.76a6,6,0,0,1,8.48,8.48ZM138,180a10,10,0,1,1-10-10A10,10,0,0,1,138,180Z"}))],["regular",h.createElement(h.Fragment,null,h.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm61.66-93.66a8,8,0,0,1-11.32,11.32L168,123.31l-10.34,10.35a8,8,0,0,1-11.32-11.32L156.69,112l-10.35-10.34a8,8,0,0,1,11.32-11.32L168,100.69l10.34-10.35a8,8,0,0,1,11.32,11.32L179.31,112Zm-80-20.68L99.31,112l10.35,10.34a8,8,0,0,1-11.32,11.32L88,123.31,77.66,133.66a8,8,0,0,1-11.32-11.32L76.69,112,66.34,101.66A8,8,0,0,1,77.66,90.34L88,100.69,98.34,90.34a8,8,0,0,1,11.32,11.32ZM140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["thin",h.createElement(h.Fragment,null,h.createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220ZM186.83,98.83,173.66,112l13.17,13.17a4,4,0,0,1-5.66,5.66L168,117.66l-13.17,13.17a4,4,0,0,1-5.66-5.66L162.34,112,149.17,98.83a4,4,0,0,1,5.66-5.66L168,106.34l13.17-13.17a4,4,0,1,1,5.66,5.66Zm-80,0L93.66,112l13.17,13.17a4,4,0,0,1-5.66,5.66L88,117.66,74.83,130.83a4,4,0,0,1-5.66-5.66L82.34,112,69.17,98.83a4,4,0,0,1,5.66-5.66L88,106.34l13.17-13.17a4,4,0,0,1,5.66,5.66ZM136,180a8,8,0,1,1-8-8A8,8,0,0,1,136,180Z"}))]]),bv=h.createContext({color:"currentColor",size:"1em",weight:"regular",mirrored:!1});var yv=Object.defineProperty,co=Object.getOwnPropertySymbols,af=Object.prototype.hasOwnProperty,sf=Object.prototype.propertyIsEnumerable,mc=(n,r,i)=>r in n?yv(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,vc=(n,r)=>{for(var i in r||(r={}))af.call(r,i)&&mc(n,i,r[i]);if(co)for(var i of co(r))sf.call(r,i)&&mc(n,i,r[i]);return n},wc=(n,r)=>{var i={};for(var s in n)af.call(n,s)&&r.indexOf(s)<0&&(i[s]=n[s]);if(n!=null&&co)for(var s of co(n))r.indexOf(s)<0&&sf.call(n,s)&&(i[s]=n[s]);return i};const lf=h.forwardRef((n,r)=>{const i=n,{alt:s,color:l,size:u,weight:d,mirrored:p,children:m,weights:v}=i,x=wc(i,["alt","color","size","weight","mirrored","children","weights"]),_=h.useContext(bv),{color:E="currentColor",size:T,weight:k="regular",mirrored:I=!1}=_,P=wc(_,["color","size","weight","mirrored"]);return h.createElement("svg",vc(vc({ref:r,xmlns:"http://www.w3.org/2000/svg",width:u??T,height:u??T,fill:l??E,viewBox:"0 0 256 256",transform:p||I?"scale(-1, 1)":void 0},P),x),!!s&&h.createElement("title",null,s),m,v.get(d??k))});lf.displayName="IconBase";const vn=lf;var xv=Object.defineProperty,_v=Object.defineProperties,Cv=Object.getOwnPropertyDescriptors,bc=Object.getOwnPropertySymbols,Sv=Object.prototype.hasOwnProperty,Ev=Object.prototype.propertyIsEnumerable,yc=(n,r,i)=>r in n?xv(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,Av=(n,r)=>{for(var i in r||(r={}))Sv.call(r,i)&&yc(n,i,r[i]);if(bc)for(var i of bc(r))Ev.call(r,i)&&yc(n,i,r[i]);return n},Tv=(n,r)=>_v(n,Cv(r));const uf=h.forwardRef((n,r)=>h.createElement(vn,Tv(Av({ref:r},n),{weights:cv})));uf.displayName="CaretDoubleLeft";var $v=Object.defineProperty,kv=Object.defineProperties,Rv=Object.getOwnPropertyDescriptors,xc=Object.getOwnPropertySymbols,Iv=Object.prototype.hasOwnProperty,Ov=Object.prototype.propertyIsEnumerable,_c=(n,r,i)=>r in n?$v(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,Pv=(n,r)=>{for(var i in r||(r={}))Iv.call(r,i)&&_c(n,i,r[i]);if(xc)for(var i of xc(r))Ov.call(r,i)&&_c(n,i,r[i]);return n},Mv=(n,r)=>kv(n,Rv(r));const cf=h.forwardRef((n,r)=>h.createElement(vn,Mv(Pv({ref:r},n),{weights:dv})));cf.displayName="CaretDoubleRight";var Lv=Object.defineProperty,Fv=Object.defineProperties,zv=Object.getOwnPropertyDescriptors,Cc=Object.getOwnPropertySymbols,Bv=Object.prototype.hasOwnProperty,Wv=Object.prototype.propertyIsEnumerable,Sc=(n,r,i)=>r in n?Lv(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,jv=(n,r)=>{for(var i in r||(r={}))Bv.call(r,i)&&Sc(n,i,r[i]);if(Cc)for(var i of Cc(r))Wv.call(r,i)&&Sc(n,i,r[i]);return n},Dv=(n,r)=>Fv(n,zv(r));const $s=h.forwardRef((n,r)=>h.createElement(vn,Dv(jv({ref:r},n),{weights:fv})));$s.displayName="CaretDown";var Hv=Object.defineProperty,Zv=Object.defineProperties,Nv=Object.getOwnPropertyDescriptors,Ec=Object.getOwnPropertySymbols,Vv=Object.prototype.hasOwnProperty,Uv=Object.prototype.propertyIsEnumerable,Ac=(n,r,i)=>r in n?Hv(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,qv=(n,r)=>{for(var i in r||(r={}))Vv.call(r,i)&&Ac(n,i,r[i]);if(Ec)for(var i of Ec(r))Uv.call(r,i)&&Ac(n,i,r[i]);return n},Gv=(n,r)=>Zv(n,Nv(r));const ks=h.forwardRef((n,r)=>h.createElement(vn,Gv(qv({ref:r},n),{weights:hv})));ks.displayName="CaretLeft";var Kv=Object.defineProperty,Xv=Object.defineProperties,Yv=Object.getOwnPropertyDescriptors,Tc=Object.getOwnPropertySymbols,Qv=Object.prototype.hasOwnProperty,Jv=Object.prototype.propertyIsEnumerable,$c=(n,r,i)=>r in n?Kv(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,e3=(n,r)=>{for(var i in r||(r={}))Qv.call(r,i)&&$c(n,i,r[i]);if(Tc)for(var i of Tc(r))Jv.call(r,i)&&$c(n,i,r[i]);return n},t3=(n,r)=>Xv(n,Yv(r));const ui=h.forwardRef((n,r)=>h.createElement(vn,t3(e3({ref:r},n),{weights:pv})));ui.displayName="CaretRight";var n3=Object.defineProperty,r3=Object.defineProperties,i3=Object.getOwnPropertyDescriptors,kc=Object.getOwnPropertySymbols,o3=Object.prototype.hasOwnProperty,a3=Object.prototype.propertyIsEnumerable,Rc=(n,r,i)=>r in n?n3(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,s3=(n,r)=>{for(var i in r||(r={}))o3.call(r,i)&&Rc(n,i,r[i]);if(kc)for(var i of kc(r))a3.call(r,i)&&Rc(n,i,r[i]);return n},l3=(n,r)=>r3(n,i3(r));const df=h.forwardRef((n,r)=>h.createElement(vn,l3(s3({ref:r},n),{weights:gv})));df.displayName="Check";var u3=Object.defineProperty,c3=Object.defineProperties,d3=Object.getOwnPropertyDescriptors,Ic=Object.getOwnPropertySymbols,f3=Object.prototype.hasOwnProperty,h3=Object.prototype.propertyIsEnumerable,Oc=(n,r,i)=>r in n?u3(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,p3=(n,r)=>{for(var i in r||(r={}))f3.call(r,i)&&Oc(n,i,r[i]);if(Ic)for(var i of Ic(r))h3.call(r,i)&&Oc(n,i,r[i]);return n},g3=(n,r)=>c3(n,d3(r));const ff=h.forwardRef((n,r)=>h.createElement(vn,g3(p3({ref:r},n),{weights:mv})));ff.displayName="Eye";var m3=Object.defineProperty,v3=Object.defineProperties,w3=Object.getOwnPropertyDescriptors,Pc=Object.getOwnPropertySymbols,b3=Object.prototype.hasOwnProperty,y3=Object.prototype.propertyIsEnumerable,Mc=(n,r,i)=>r in n?m3(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,x3=(n,r)=>{for(var i in r||(r={}))b3.call(r,i)&&Mc(n,i,r[i]);if(Pc)for(var i of Pc(r))y3.call(r,i)&&Mc(n,i,r[i]);return n},_3=(n,r)=>v3(n,w3(r));const hf=h.forwardRef((n,r)=>h.createElement(vn,_3(x3({ref:r},n),{weights:vv})));hf.displayName="EyeSlash";var C3=Object.defineProperty,S3=Object.defineProperties,E3=Object.getOwnPropertyDescriptors,Lc=Object.getOwnPropertySymbols,A3=Object.prototype.hasOwnProperty,T3=Object.prototype.propertyIsEnumerable,Fc=(n,r,i)=>r in n?C3(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,$3=(n,r)=>{for(var i in r||(r={}))A3.call(r,i)&&Fc(n,i,r[i]);if(Lc)for(var i of Lc(r))T3.call(r,i)&&Fc(n,i,r[i]);return n},k3=(n,r)=>S3(n,E3(r));const pf=h.forwardRef((n,r)=>h.createElement(vn,k3($3({ref:r},n),{weights:wv})));pf.displayName="SmileyXEyes";function R3(n){const r=h.useRef(void 0);return h.useEffect(()=>{r.current=n},[n]),r.current}const I3=Mn.keyframes`
|
|
31
|
+
`}));return ut`${l}`},Em={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"}},Am={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"}},Tm={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"}},km={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"}},mc={...Em,...Am,...Tm,...km},vc=["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"],pa=["absoluteFill","fullWidth","fullHeight","fw","fh"],bc={absoluteFill:{position:"absolute",top:0,bottom:0,left:0,right:0},fullWidth:{width:"100%"},fullHeight:{height:"100%"},fw:{width:"100%"},fh:{height:"100%"}},wc=(n,i,r)=>{const s=mc[i],l=r[i];if(!l)return;const{scale:u,property:h}=s;switch(u){case"colors":return{[h]:$t(l,g=>n.colors[g])};case"spaces":return{[h]:$t(l,g=>n.spaces[g])};case"radii":return{[h]:$t(l,g=>n.radii[g])};case"borderWidths":return{[h]:$t(l,g=>n.borderWidths[g])}}},yc=(n,i)=>Object.keys(i).reduce((s,l)=>({...s,...wc(n,l,i)}),{}),$m=n=>pa.reduce((i,r)=>n[r]?{...i,...bc[r]}:i,{}),xc=Object.keys(mc),_c=(n,i)=>{const r=ye.pick(i,xc),s=ye.pick(i,[...vc]),l=ye.pick(i,[...pa]);return ha({...yc(n,r),...$m(l),...s})},Cc=_e.div(({theme:n,...i})=>_c(n,i));function Rm({children:n,style:i,"data-testid":r,...s},l){return S.jsx(Cc,{...s,style:i,ref:l,"data-testid":r,children:n})}const V=f.forwardRef(Rm),it=(n,i)=>typeof i=="number"?`${i}px`:ye.isString(i)?Fn(i)?`${n.sizes[i]}px`:i:"auto",Sc=n=>new RegExp("\\p{Emoji}","u").test(n)&&n.length<=2,Ec=n=>ye.isString(n)&&n.includes("icon-"),Ac=n=>{const i=[".jpg",".jpeg",".png",".gif",".webp",".svg"],r=n.toLowerCase();return ye.isString(n)&&(i.some(s=>r.endsWith(s))||n.startsWith("data:image/")||n.startsWith("http"))},Tc=n=>ye.isString(n)&&n.startsWith("<svg"),kc=({art:n,width:i,height:r,style:s,"data-testid":l,...u})=>{const h=he(),g=h.__hd__.art.defaultBrandSize||h.__hd__.art.defaultSize,v=it(h,i??g),m=it(h,r??g);return S.jsx(V,{display:"flex",alignItems:"center",justifyContent:"center",width:v,height:m,style:s,"data-testid":l,...u,children:n})},$c=({art:n,size:i,style:r,"data-testid":s,...l})=>{const u=he(),h=u.__hd__.art.defaultEmojiSize||u.__hd__.art.defaultSize,g=it(u,i??h),v=typeof g=="string"&&g.endsWith("px")?parseInt(g,10):u.__hd__.text.fontSizes[h]??24,m=u.__hd__.text.lineHeights[h]?`${u.__hd__.text.lineHeights[h]/v}`:"1";return S.jsx(V,{display:"flex",alignItems:"center",justifyContent:"center",width:g,height:g,style:{...r,fontSize:g,lineHeight:m},"data-testid":s,...l,children:n})},ga=({art:n,size:i,color:r="currentColor",weight:s="regular",style:l,"data-testid":u,...h})=>{const g=he(),v=g.__hd__.art.defaultIconSize||g.__hd__.art.defaultSize,m=it(g,i??v),k=n;if(!k)return process.env.NODE_ENV!=="production"&&console.warn(`[IconArt] Icon component not found for art="${n}". This should not happen with TypeScript checks.`),null;const R=Wu(r)?g.colors[r]:r;return S.jsx(V,{display:"flex",alignItems:"center",justifyContent:"center",width:m,height:m,style:l,"data-testid":u,...h,children:S.jsx(k,{size:m,color:R,weight:s,style:l})})},Im=new Map([["bold",f.createElement(f.Fragment,null,f.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",f.createElement(f.Fragment,null,f.createElement("path",{d:"M200,48V208l-80-80Z",opacity:"0.2"}),f.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",f.createElement(f.Fragment,null,f.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",f.createElement(f.Fragment,null,f.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",f.createElement(f.Fragment,null,f.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",f.createElement(f.Fragment,null,f.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"}))]]),Om=new Map([["bold",f.createElement(f.Fragment,null,f.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",f.createElement(f.Fragment,null,f.createElement("path",{d:"M136,128,56,208V48Z",opacity:"0.2"}),f.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",f.createElement(f.Fragment,null,f.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",f.createElement(f.Fragment,null,f.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",f.createElement(f.Fragment,null,f.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",f.createElement(f.Fragment,null,f.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"}))]]),Pm=new Map([["bold",f.createElement(f.Fragment,null,f.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",f.createElement(f.Fragment,null,f.createElement("path",{d:"M208,96l-80,80L48,96Z",opacity:"0.2"}),f.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",f.createElement(f.Fragment,null,f.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",f.createElement(f.Fragment,null,f.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",f.createElement(f.Fragment,null,f.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",f.createElement(f.Fragment,null,f.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"}))]]),Mm=new Map([["bold",f.createElement(f.Fragment,null,f.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",f.createElement(f.Fragment,null,f.createElement("path",{d:"M160,48V208L80,128Z",opacity:"0.2"}),f.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",f.createElement(f.Fragment,null,f.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",f.createElement(f.Fragment,null,f.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",f.createElement(f.Fragment,null,f.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",f.createElement(f.Fragment,null,f.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"}))]]),Lm=new Map([["bold",f.createElement(f.Fragment,null,f.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",f.createElement(f.Fragment,null,f.createElement("path",{d:"M176,128,96,208V48Z",opacity:"0.2"}),f.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",f.createElement(f.Fragment,null,f.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",f.createElement(f.Fragment,null,f.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",f.createElement(f.Fragment,null,f.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",f.createElement(f.Fragment,null,f.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"}))]]),Fm=new Map([["bold",f.createElement(f.Fragment,null,f.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",f.createElement(f.Fragment,null,f.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"}),f.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",f.createElement(f.Fragment,null,f.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",f.createElement(f.Fragment,null,f.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",f.createElement(f.Fragment,null,f.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",f.createElement(f.Fragment,null,f.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"}))]]),zm=new Map([["bold",f.createElement(f.Fragment,null,f.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",f.createElement(f.Fragment,null,f.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"}),f.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",f.createElement(f.Fragment,null,f.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",f.createElement(f.Fragment,null,f.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",f.createElement(f.Fragment,null,f.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",f.createElement(f.Fragment,null,f.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"}))]]),Bm=new Map([["bold",f.createElement(f.Fragment,null,f.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",f.createElement(f.Fragment,null,f.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"}),f.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",f.createElement(f.Fragment,null,f.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",f.createElement(f.Fragment,null,f.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",f.createElement(f.Fragment,null,f.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",f.createElement(f.Fragment,null,f.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"}))]]),jm=new Map([["bold",f.createElement(f.Fragment,null,f.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",f.createElement(f.Fragment,null,f.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),f.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",f.createElement(f.Fragment,null,f.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",f.createElement(f.Fragment,null,f.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",f.createElement(f.Fragment,null,f.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",f.createElement(f.Fragment,null,f.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"}))]]),Wm=f.createContext({color:"currentColor",size:"1em",weight:"regular",mirrored:!1});var Dm=Object.defineProperty,Ai=Object.getOwnPropertySymbols,Rc=Object.prototype.hasOwnProperty,Ic=Object.prototype.propertyIsEnumerable,tu=(n,i,r)=>i in n?Dm(n,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[i]=r,nu=(n,i)=>{for(var r in i||(i={}))Rc.call(i,r)&&tu(n,r,i[r]);if(Ai)for(var r of Ai(i))Ic.call(i,r)&&tu(n,r,i[r]);return n},ru=(n,i)=>{var r={};for(var s in n)Rc.call(n,s)&&i.indexOf(s)<0&&(r[s]=n[s]);if(n!=null&&Ai)for(var s of Ai(n))i.indexOf(s)<0&&Ic.call(n,s)&&(r[s]=n[s]);return r};const Oc=f.forwardRef((n,i)=>{const r=n,{alt:s,color:l,size:u,weight:h,mirrored:g,children:v,weights:m}=r,k=ru(r,["alt","color","size","weight","mirrored","children","weights"]),R=f.useContext(Wm),{color:b="currentColor",size:x,weight:y="regular",mirrored:C=!1}=R,_=ru(R,["color","size","weight","mirrored"]);return f.createElement("svg",nu(nu({ref:i,xmlns:"http://www.w3.org/2000/svg",width:u??x,height:u??x,fill:l??b,viewBox:"0 0 256 256",transform:g||C?"scale(-1, 1)":void 0},_),k),!!s&&f.createElement("title",null,s),v,m.get(h??y))});Oc.displayName="IconBase";const hn=Oc;var Nm=Object.defineProperty,Zm=Object.defineProperties,Hm=Object.getOwnPropertyDescriptors,iu=Object.getOwnPropertySymbols,Vm=Object.prototype.hasOwnProperty,Um=Object.prototype.propertyIsEnumerable,ou=(n,i,r)=>i in n?Nm(n,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[i]=r,qm=(n,i)=>{for(var r in i||(i={}))Vm.call(i,r)&&ou(n,r,i[r]);if(iu)for(var r of iu(i))Um.call(i,r)&&ou(n,r,i[r]);return n},Gm=(n,i)=>Zm(n,Hm(i));const Pc=f.forwardRef((n,i)=>f.createElement(hn,Gm(qm({ref:i},n),{weights:Im})));Pc.displayName="CaretDoubleLeft";var Km=Object.defineProperty,Xm=Object.defineProperties,Ym=Object.getOwnPropertyDescriptors,au=Object.getOwnPropertySymbols,Qm=Object.prototype.hasOwnProperty,Jm=Object.prototype.propertyIsEnumerable,su=(n,i,r)=>i in n?Km(n,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[i]=r,e8=(n,i)=>{for(var r in i||(i={}))Qm.call(i,r)&&su(n,r,i[r]);if(au)for(var r of au(i))Jm.call(i,r)&&su(n,r,i[r]);return n},t8=(n,i)=>Xm(n,Ym(i));const Mc=f.forwardRef((n,i)=>f.createElement(hn,t8(e8({ref:i},n),{weights:Om})));Mc.displayName="CaretDoubleRight";var n8=Object.defineProperty,r8=Object.defineProperties,i8=Object.getOwnPropertyDescriptors,lu=Object.getOwnPropertySymbols,o8=Object.prototype.hasOwnProperty,a8=Object.prototype.propertyIsEnumerable,uu=(n,i,r)=>i in n?n8(n,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[i]=r,s8=(n,i)=>{for(var r in i||(i={}))o8.call(i,r)&&uu(n,r,i[r]);if(lu)for(var r of lu(i))a8.call(i,r)&&uu(n,r,i[r]);return n},l8=(n,i)=>r8(n,i8(i));const ma=f.forwardRef((n,i)=>f.createElement(hn,l8(s8({ref:i},n),{weights:Pm})));ma.displayName="CaretDown";var u8=Object.defineProperty,c8=Object.defineProperties,d8=Object.getOwnPropertyDescriptors,cu=Object.getOwnPropertySymbols,f8=Object.prototype.hasOwnProperty,h8=Object.prototype.propertyIsEnumerable,du=(n,i,r)=>i in n?u8(n,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[i]=r,p8=(n,i)=>{for(var r in i||(i={}))f8.call(i,r)&&du(n,r,i[r]);if(cu)for(var r of cu(i))h8.call(i,r)&&du(n,r,i[r]);return n},g8=(n,i)=>c8(n,d8(i));const va=f.forwardRef((n,i)=>f.createElement(hn,g8(p8({ref:i},n),{weights:Mm})));va.displayName="CaretLeft";var m8=Object.defineProperty,v8=Object.defineProperties,b8=Object.getOwnPropertyDescriptors,fu=Object.getOwnPropertySymbols,w8=Object.prototype.hasOwnProperty,y8=Object.prototype.propertyIsEnumerable,hu=(n,i,r)=>i in n?m8(n,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[i]=r,x8=(n,i)=>{for(var r in i||(i={}))w8.call(i,r)&&hu(n,r,i[r]);if(fu)for(var r of fu(i))y8.call(i,r)&&hu(n,r,i[r]);return n},_8=(n,i)=>v8(n,b8(i));const kr=f.forwardRef((n,i)=>f.createElement(hn,_8(x8({ref:i},n),{weights:Lm})));kr.displayName="CaretRight";var C8=Object.defineProperty,S8=Object.defineProperties,E8=Object.getOwnPropertyDescriptors,pu=Object.getOwnPropertySymbols,A8=Object.prototype.hasOwnProperty,T8=Object.prototype.propertyIsEnumerable,gu=(n,i,r)=>i in n?C8(n,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[i]=r,k8=(n,i)=>{for(var r in i||(i={}))A8.call(i,r)&&gu(n,r,i[r]);if(pu)for(var r of pu(i))T8.call(i,r)&&gu(n,r,i[r]);return n},$8=(n,i)=>S8(n,E8(i));const Lc=f.forwardRef((n,i)=>f.createElement(hn,$8(k8({ref:i},n),{weights:Fm})));Lc.displayName="Check";var R8=Object.defineProperty,I8=Object.defineProperties,O8=Object.getOwnPropertyDescriptors,mu=Object.getOwnPropertySymbols,P8=Object.prototype.hasOwnProperty,M8=Object.prototype.propertyIsEnumerable,vu=(n,i,r)=>i in n?R8(n,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[i]=r,L8=(n,i)=>{for(var r in i||(i={}))P8.call(i,r)&&vu(n,r,i[r]);if(mu)for(var r of mu(i))M8.call(i,r)&&vu(n,r,i[r]);return n},F8=(n,i)=>I8(n,O8(i));const Fc=f.forwardRef((n,i)=>f.createElement(hn,F8(L8({ref:i},n),{weights:zm})));Fc.displayName="Eye";var z8=Object.defineProperty,B8=Object.defineProperties,j8=Object.getOwnPropertyDescriptors,bu=Object.getOwnPropertySymbols,W8=Object.prototype.hasOwnProperty,D8=Object.prototype.propertyIsEnumerable,wu=(n,i,r)=>i in n?z8(n,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[i]=r,N8=(n,i)=>{for(var r in i||(i={}))W8.call(i,r)&&wu(n,r,i[r]);if(bu)for(var r of bu(i))D8.call(i,r)&&wu(n,r,i[r]);return n},Z8=(n,i)=>B8(n,j8(i));const zc=f.forwardRef((n,i)=>f.createElement(hn,Z8(N8({ref:i},n),{weights:Bm})));zc.displayName="EyeSlash";var H8=Object.defineProperty,V8=Object.defineProperties,U8=Object.getOwnPropertyDescriptors,yu=Object.getOwnPropertySymbols,q8=Object.prototype.hasOwnProperty,G8=Object.prototype.propertyIsEnumerable,xu=(n,i,r)=>i in n?H8(n,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[i]=r,K8=(n,i)=>{for(var r in i||(i={}))q8.call(i,r)&&xu(n,r,i[r]);if(yu)for(var r of yu(i))G8.call(i,r)&&xu(n,r,i[r]);return n},X8=(n,i)=>V8(n,U8(i));const Bc=f.forwardRef((n,i)=>f.createElement(hn,X8(K8({ref:i},n),{weights:jm})));Bc.displayName="SmileyXEyes";function Y8(n){const i=f.useRef(void 0);return f.useEffect(()=>{i.current=n},[n]),i.current}const Q8=Cn.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
|
+
`,J8=_e.div`
|
|
39
39
|
width: 100%;
|
|
40
40
|
height: 100%;
|
|
41
|
-
border-radius: ${({theme:n,$variant:
|
|
42
|
-
background: ${({theme:n,$visible:
|
|
41
|
+
border-radius: ${({theme:n,$variant:i})=>{const r=n.__hd__.skeleton.container[i].borderRadius;switch(i){case"circle":return`${n.radii[r]}px`;case"rounded":return`${n.radii[r]}px`;default:return`${n.radii[r]}px`}}};
|
|
42
|
+
background: ${({theme:n,$visible:i})=>{const r=n.__hd__.skeleton.animation.gradient,s=n.colors[r.start],l=n.colors[r.middle],u=n.colors[r.end];return i?`linear-gradient(
|
|
43
43
|
to right,
|
|
44
44
|
${s} 8%,
|
|
45
45
|
${l} 18%,
|
|
46
46
|
${u} 33%
|
|
47
47
|
)`:s}};
|
|
48
|
-
opacity: ${({theme:n,$variant:
|
|
48
|
+
opacity: ${({theme:n,$variant:i})=>n.__hd__.skeleton.container[i].opacity};
|
|
49
49
|
transition: background ${({theme:n})=>n.__hd__.skeleton.animation.transition.backgroundDuration}ms ease-in-out;
|
|
50
50
|
background-size: 800px 100px;
|
|
51
|
-
animation: ${
|
|
51
|
+
animation: ${Q8} ${({theme:n,$duration:i})=>i||n.__hd__.skeleton.animation.duration}ms linear infinite;
|
|
52
52
|
will-change: background-position;
|
|
53
53
|
transform: translateZ(0); /* Force hardware acceleration */
|
|
54
|
-
`,
|
|
54
|
+
`,ev=({visible:n,variant:i,animationDuration:r,children:s,...l})=>{const u=he(),[h,g]=f.useState(n),v=f.useDeferredValue(n),m=f.useDeferredValue(h),k=u.__hd__.skeleton.animation.transition.backgroundDuration,R=u.__hd__.skeleton.animation.transition.contentFadeDuration;return f.useEffect(()=>{let b;return v?g(!0):b=setTimeout(()=>{g(!1)},k),()=>{b&&clearTimeout(b)}},[k,v]),S.jsxs(V,{...l,position:"relative",children:[S.jsx(V,{fw:!0,fh:!0,position:"relative",opacity:n?0:1,transition:`opacity ${R}ms ease-in-out`,children:s}),(n||v||h||m)&&S.jsx(V,{absoluteFill:!0,opacity:n&&h?1:0,transition:`opacity ${k}ms ease-in-out`,children:S.jsx(J8,{$variant:i,$duration:r,$visible:!0})})]})},Pi=({visible:n=!0,variant:i="rectangle",children:r,animationDuration:s=1500,...l})=>S.jsx(ev,{visible:n,variant:i,animationDuration:s,...l,children:r}),tv=_e.p.attrs(({as:n})=>({as:n||"p"}))(({$themeFontSize:n,$themeFontWeight:i,$themeColor:r,$themeTypeface:s,theme:l,$textAlign:u,$textTransform:h,$textDecoration:g,$numberOfLines:v})=>{const m=l,k=$t(i,x=>m.__hd__.text.fontWeights[x]),R={fontSize:$t(n,x=>`${m.__hd__.text.fontSizes[x]}px`),lineHeight:$t(n,x=>`${m.__hd__.text.lineHeights[x]}px`),letterSpacing:$t(n,x=>`${m.__hd__.text.fontSizes[x]*.03}px`)},b=v?hc({numberOfLines:v,themeFontSize:n},({numberOfLines:x,themeFontSize:y})=>({display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:x,minHeight:`${m.__hd__.text.lineHeights[y]*x}px`,maxHeight:`${m.__hd__.text.lineHeights[y]*x}px`,overflow:"hidden"})):{};return ha({...R,...b,fontFamily:$t(s,x=>m.fonts[x]),fontWeight:k,color:$t(r,x=>m.colors[x]),textAlign:u,textTransform:h,textDecoration:g,margin:0})}),jc=[{pattern:/<strong>(.*?)<\/strong>/g,props:{fontWeight:"bold"}}],nv=(n,i,r)=>{if(typeof n!="string")return n;let s=0;const l=[];return jc.forEach(({pattern:u,props:h})=>{Array.from(n.matchAll(u)).forEach(v=>{const[m,k]=v,R=v.index;R>s&&l.push(n.slice(s,R)),l.push(f.createElement(i,{...r,...h,key:R},k)),s=R+m.length})}),s<n.length&&l.push(n.slice(s)),l},rv=n=>function(r){const{useRichText:s=!1,children:l}=r;if(!s||typeof l!="string")return S.jsx(n,{...r,children:l});const u=nv(l.toString(),n,r);return S.jsx(n,{...r,children:u})};function iv({children:n,fontSize:i="medium",fontWeight:r="regular",color:s="grey900",typeface:l="neutral",textAlign:u,textTransform:h,textDecoration:g,numberOfLines:v,"data-testid":m,as:k="p",...R},b){return S.jsx(tv,{...R,$themeFontSize:i,$themeFontWeight:r,$themeColor:s,$themeTypeface:l,$textAlign:u,$textTransform:h,$textDecoration:g,ref:b,"data-testid":m,as:k,$numberOfLines:v,children:n})}const ov=f.forwardRef(iv),Ve=rv(ov),av=()=>S.jsxs(V,{display:"flex",alignItems:"center",justifyContent:"center",gap:"2xs",children:[S.jsx(ga,{art:Bc,size:"sm",color:"grey600"}),S.jsx(Ve,{fontSize:"xs",color:"grey600",children:"Error"})]}),sv=_e.img`
|
|
55
55
|
width: 100%;
|
|
56
56
|
height: 100%;
|
|
57
57
|
object-fit: ${({$objectFit:n})=>n};
|
|
@@ -59,7 +59,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
59
59
|
aspect-ratio: ${({$aspectRatio:n})=>n};
|
|
60
60
|
mix-blend-mode: ${({$mixBlendMode:n})=>n};
|
|
61
61
|
image-rendering: ${({$imageRendering:n})=>n};
|
|
62
|
-
`,mf=({art:n,width:r,height:i,style:s,"data-testid":l,alt:u,fallback:d,useSkeleton:p=!0,objectFit:m,objectPosition:v,aspectRatio:x,mixBlendMode:_,imageRendering:E,...T})=>{const k=ge(),[I,P]=h.useState(!0),[z,A]=h.useState(!1),R=k.__hd__.art.defaultImageSize||k.__hd__.art.defaultSize,H=Ct(r,Ce=>Je(k,Ce??R)),U=Ct(i,Ce=>Je(k,Ce??R)),G=T.r||T.radius||T.borderRadius||"md",q=R3(n);h.useEffect(()=>{!ye.isNil(q)&&q!==n&&(P(!0),A(!1))},[n,q]);const Y=()=>{P(!1)},we=()=>{A(!0),P(!1)};return y.jsx(X,{display:"flex",alignItems:"center",justifyContent:"center",width:H,height:U,overflow:"hidden",style:s,"data-testid":l,...T,children:y.jsxs(yo,{visible:I,width:H,height:U,r:G,children:[z&&y.jsxs(X,{width:H,height:U,r:G,display:"flex",alignItems:"center",justifyContent:"center",bgColor:"grey200",children:[!I&&d,!I&&!d&&!u&&y.jsx(qe,{fontSize:"xs",color:"grey600",children:d||u}),!I&&!d&&!u&&W3()]}),!z&&(!at()||!p)&&y.jsx(j3,{src:n,alt:ye.isString(u)?u:"Image",onLoad:Y,onError:we,"data-testid":l?`${l}-image`:void 0,$objectFit:m,$objectPosition:v,$aspectRatio:x,$mixBlendMode:_,$imageRendering:E}),!z&&at()&&p&&u]})})},vf=({art:n,width:r,height:i,style:s,"data-testid":l,...u})=>{const d=ge(),p=d.__hd__.art.defaultSvgSize||d.__hd__.art.defaultSize,m=Je(d,r??p),v=Je(d,i??p);return y.jsx(X,{display:"flex",alignItems:"center",justifyContent:"center",width:m,height:v,overflow:"hidden",style:s,"data-testid":l,dangerouslySetInnerHTML:{__html:n},...u})},Ft=n=>{const{art:r,type:i}=n;return i==="image"||ye.isString(r)&&tf(r)?y.jsx(mf,{...n}):i==="svg"||ye.isString(r)&&nf(r)?y.jsx(vf,{...n}):i==="emoji"||ye.isString(r)&&Jd(r)?y.jsx(of,{...n}):i==="icon"||ye.isString(r)&&ef(r)?y.jsx(Ts,{...n}):i==="brand"?y.jsx(rf,{...n}):y.jsx(y.Fragment,{})},D3=n=>n==="sm"||n==="md"||n==="lg",wf=({src:n,name:r,size:i,...s})=>{var x;const l=ge(),u=l.__hd__.avatar,d=i||u.defaultSize,p=Je(l,d);let m=u.defaultFallbackTextSize;typeof d=="string"&&D3(d)&&u.sizes[d]&&(m=u.sizes[d].fallbackTextSize);const v=u.fallbackBackgroundColor;return y.jsx(X,{width:p,height:p,r:"full",overflow:"hidden",display:"flex",alignItems:"center",justifyContent:"center",...s,children:n?y.jsx(Ft,{type:"image",art:n,width:"100%",height:"100%",objectFit:"cover"}):y.jsx(X,{width:"100%",height:"100%",bgColor:v,display:"flex",justifyContent:"center",alignItems:"center",children:y.jsx(qe,{color:"white",fontSize:m,fontWeight:"semibold",children:((x=r==null?void 0:r.charAt(0))==null?void 0:x.toUpperCase())||"U"})})})};function H3(n){const[r,i]=h.useState(()=>(at(),!1));return h.useEffect(()=>{if(at())return;const s=window.matchMedia(n),l=u=>{i(u.matches)};return s.addEventListener?s.addEventListener("change",l):s.addListener(l),i(s.matches),()=>{s.removeEventListener?s.removeEventListener("change",l):s.removeListener(l)}},[n]),r}const ci=(n="xl")=>{const[r,i]=h.useState(()=>(typeof window>"u"||!window.matchMedia,n));return h.useEffect(()=>{if(at())return;const l=["xl","lg","md","sm"].map(p=>({key:p,mql:window.matchMedia(`(min-width: ${li[p]}px)`)})),u=()=>{for(const{key:p,mql:m}of l)if(m.matches)return p;return"xs"},d=()=>{i(u())};return d(),l.forEach(({mql:p})=>{p.addEventListener?p.addEventListener("change",d):p.addListener(d)}),()=>{l.forEach(({mql:p})=>{p.removeEventListener?p.removeEventListener("change",d):p.removeListener(d)})}},[]),r};function Z3(){const{innerWidth:n,innerHeight:r}=window;return{width:n,height:r}}const bf=()=>{const[n,r]=h.useState(()=>at()?{width:void 0,height:void 0}:{width:void 0,height:void 0});return h.useEffect(()=>{if(at())return;function i(){r(Z3())}return i(),window.addEventListener("resize",i),()=>window.removeEventListener("resize",i)},[]),n},yf=typeof window<"u"?h.useLayoutEffect:h.useEffect;function ls(n,r,i,s){const l=h.useRef(r);yf(()=>{l.current=r},[r]),h.useEffect(()=>{const u=(i==null?void 0:i.current)??window;if(!(u&&u.addEventListener))return;const d=p=>{l.current(p)};return u.addEventListener(n,d,s),()=>{u.removeEventListener(n,d,s)}},[n,i,s])}function xo(n){const[r,i]=h.useState(!1),s=ci(),l=s==="xs"||s==="sm",u=()=>{l||i(!0)},d=()=>{l||i(!1)};return ls("mouseenter",u,n),ls("mouseleave",d,n),l?!1:r}const N3=()=>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 Rs(){const[n,r]=h.useState(N3);return h.useEffect(()=>{const i=s=>{s.pointerType==="touch"?n.isTouch||r({isMouse:!1,isTouch:!0}):s.pointerType==="mouse"&&(n.isMouse||r({isMouse:!0,isTouch:!1}))};return window.addEventListener("pointerdown",i,{passive:!0}),()=>{window.removeEventListener("pointerdown",i)}},[n]),n}var V3="2.0.3",us=500,zc="user-agent",Er="",Bc="?",fo="function",Pn="undefined",Ar="object",cs="string",ft="browser",dn="cpu",Jt="device",Ut="engine",Lt="os",_r="result",N="name",M="type",Z="vendor",V="version",ht="architecture",ii="major",W="model",ti="console",de="mobile",Te="tablet",Ne="smarttv",Qt="wearable",Ga="xr",ni="embedded",Ur="inapp",Is="brands",Yn="formFactors",Os="fullVersionList",Cr="platform",Ps="platformVersion",_o="bitness",Ln="sec-ch-ua",U3=Ln+"-full-version-list",q3=Ln+"-arch",G3=Ln+"-"+_o,K3=Ln+"-form-factors",X3=Ln+"-"+de,Y3=Ln+"-"+W,xf=Ln+"-"+Cr,Q3=xf+"-version",_f=[Is,Os,de,W,Cr,Ps,ht,Yn,_o],eo="Amazon",vr="Apple",Wc="ASUS",jc="BlackBerry",Gn="Google",Dc="Huawei",Hc="Lenovo",Zc="Honor",to="LG",Ka="Microsoft",Xa="Motorola",Ya="Nvidia",Nc="OnePlus",Qa="OPPO",qr="Samsung",Vc="Sharp",Gr="Sony",Ja="Xiaomi",es="Zebra",Uc="Chrome",qc="Chromium",Rn="Chromecast",J3="Edge",Kr="Firefox",Xr="Opera",ts="Facebook",Gc="Sogou",wr="Mobile ",Yr=" Browser",ds="Windows",ew=typeof window!==Pn,pt=ew&&window.navigator?window.navigator:void 0,In=pt&&pt.userAgentData?pt.userAgentData:void 0,tw=function(n,r){var i={},s=r;if(!ho(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 d in n)i[d]=s[d]&&s[d].length%2===0?s[d].concat(n[d]):n[d];return i},Co=function(n){for(var r={},i=0;i<n.length;i++)r[n[i].toUpperCase()]=n[i];return r},fs=function(n,r){if(typeof n===Ar&&n.length>0){for(var i in n)if(fn(n[i])==fn(r))return!0;return!1}return $r(n)?fn(r).indexOf(fn(n))!==-1:!1},ho=function(n,r){for(var i in n)return/^(browser|cpu|device|engine|os)$/.test(i)||(r?ho(n[i]):!1)},$r=function(n){return typeof n===cs},ns=function(n){if(n){for(var r=[],i=Tr(/\\?\"/g,n).split(","),s=0;s<i.length;s++)if(i[s].indexOf(";")>-1){var l=oi(i[s]).split(";v=");r[s]={brand:l[0],version:l[1]}}else r[s]=oi(i[s]);return r}},fn=function(n){return $r(n)?n.toLowerCase():n},rs=function(n){return $r(n)?Tr(/[^\d\.]/g,n).split(".")[0]:void 0},hn=function(n){for(var r in n){var i=n[r];typeof i==Ar&&i.length==2?this[i[0]]=i[1]:this[i]=void 0}return this},Tr=function(n,r){return $r(r)?r.replace(n,Er):r},Qr=function(n){return Tr(/\\?\"/g,n)},oi=function(n,r){if($r(n))return n=Tr(/^\s\s*/,n),typeof r===Pn?n:n.substring(0,us)},is=function(n,r){if(!(!n||!r))for(var i=0,s,l,u,d,p,m;i<r.length&&!p;){var v=r[i],x=r[i+1];for(s=l=0;s<v.length&&!p&&v[s];)if(p=v[s++].exec(n),p)for(u=0;u<x.length;u++)m=p[++l],d=x[u],typeof d===Ar&&d.length>0?d.length===2?typeof d[1]==fo?this[d[0]]=d[1].call(this,m):this[d[0]]=d[1]:d.length===3?typeof d[1]===fo&&!(d[1].exec&&d[1].test)?this[d[0]]=m?d[1].call(this,m,d[2]):void 0:this[d[0]]=m?m.replace(d[1],d[2]):void 0:d.length===4&&(this[d[0]]=m?d[3].call(this,m.replace(d[1],d[2])):void 0):this[d]=m||void 0;i+=2}},On=function(n,r){for(var i in r)if(typeof r[i]===Ar&&r[i].length>0){for(var s=0;s<r[i].length;s++)if(fs(r[i][s],n))return i===Bc?void 0:i}else if(fs(r[i],n))return i===Bc?void 0:i;return r.hasOwnProperty("*")?r["*"]:n},Kc={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"},Xc={embedded:"Automotive",mobile:"Mobile",tablet:["Tablet","EInk"],smarttv:"TV",wearable:"Watch",xr:["VR","XR"],"?":["Desktop","Unknown"],"*":void 0},Yc={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[V,[N,wr+"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[V,[N,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[N,V],[/opios[\/ ]+([\w\.]+)/i],[V,[N,Xr+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[V,[N,Xr+" GX"]],[/\bopr\/([\w\.]+)/i],[V,[N,Xr]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[V,[N,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[V,[N,"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],[N,V],[/quark(?:pc)?\/([-\w\.]+)/i],[V,[N,"Quark"]],[/\bddg\/([\w\.]+)/i],[V,[N,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[V,[N,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[V,[N,"WeChat"]],[/konqueror\/([\w\.]+)/i],[V,[N,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[V,[N,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[V,[N,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[V,[N,"Smart "+Hc+Yr]],[/(avast|avg)\/([\w\.]+)/i],[[N,/(.+)/,"$1 Secure"+Yr],V],[/\bfocus\/([\w\.]+)/i],[V,[N,Kr+" Focus"]],[/\bopt\/([\w\.]+)/i],[V,[N,Xr+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[V,[N,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[V,[N,"Dolphin"]],[/coast\/([\w\.]+)/i],[V,[N,Xr+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[V,[N,"MIUI"+Yr]],[/fxios\/([\w\.-]+)/i],[V,[N,wr+Kr]],[/\bqihoobrowser\/?([\w\.]*)/i],[V,[N,"360"]],[/\b(qq)\/([\w\.]+)/i],[[N,/(.+)/,"$1Browser"],V],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[N,/(.+)/,"$1"+Yr],V],[/samsungbrowser\/([\w\.]+)/i],[V,[N,qr+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[V,[N,Gc+" Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[N,Gc+" Mobile"],V],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[N,V],[/(lbbrowser|rekonq)/i],[N],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[V,N],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[N,ts],V,[M,Ur]],[/(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],[N,V,[M,Ur]],[/\bgsa\/([\w\.]+) .*safari\//i],[V,[N,"GSA"],[M,Ur]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[V,[N,"TikTok"],[M,Ur]],[/\[(linkedin)app\]/i],[N,[M,Ur]],[/(chromium)[\/ ]([-\w\.]+)/i],[N,V],[/headlesschrome(?:\/([\w\.]+)| )/i],[V,[N,Uc+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[N,Uc+" WebView"],V],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[V,[N,"Android"+Yr]],[/chrome\/([\w\.]+) mobile/i],[V,[N,wr+"Chrome"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[N,V],[/version\/([\w\.\,]+) .*mobile(?:\/\w+ | ?)safari/i],[V,[N,wr+"Safari"]],[/iphone .*mobile(?:\/\w+ | ?)safari/i],[[N,wr+"Safari"]],[/version\/([\w\.\,]+) .*(safari)/i],[V,N],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[N,[V,"1"]],[/(webkit|khtml)\/([\w\.]+)/i],[N,V],[/(?:mobile|tablet);.*(firefox)\/([\w\.-]+)/i],[[N,wr+Kr],V],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[N,"Netscape"],V],[/(wolvic|librewolf)\/([\w\.]+)/i],[N,V],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[V,[N,Kr+" 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],[N,[V,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[N,[V,/[^\d\.]+./,Er]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[ht,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[ht,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[ht,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[ht,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[ht,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[ht,/ower/,Er,fn]],[/ sun4\w[;\)]/i],[[ht,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[ht,fn]]],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],[W,[Z,qr],[M,Te]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[W,[Z,qr],[M,de]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[W,[Z,vr],[M,de]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[W,[Z,vr],[M,Te]],[/(macintosh);/i],[W,[Z,vr]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[W,[Z,Vc],[M,de]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[W,[Z,Zc],[M,Te]],[/honor([-\w ]+)[;\)]/i],[W,[Z,Zc],[M,de]],[/\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],[W,[Z,Dc],[M,Te]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[W,[Z,Dc],[M,de]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[W,/_/g," "],[Z,Ja],[M,Te]],[/\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],[[W,/_/g," "],[Z,Ja],[M,de]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[W,[Z,Qa],[M,de]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[W,[Z,On,{OnePlus:["304","403","203"],"*":Qa}],[M,Te]],[/(vivo (5r?|6|8l?|go|one|s|x[il]?[2-4]?)[\w\+ ]*)(?: bui|\))/i],[W,[Z,"BLU"],[M,de]],[/; vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[W,[Z,"Vivo"],[M,de]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[W,[Z,"Realme"],[M,de]],[/\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],[W,[Z,Xa],[M,de]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[W,[Z,Xa],[M,Te]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[W,[Z,to],[M,Te]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+(?!.*(?:browser|netcast|android tv|watch))(\w+)/i,/\blg-?([\d\w]+) bui/i],[W,[Z,to],[M,de]],[/(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],[W,[Z,Hc],[M,Te]],[/(nokia) (t[12][01])/i],[Z,W,[M,Te]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[W,/_/g," "],[M,de],[Z,"Nokia"]],[/(pixel (c|tablet))\b/i],[W,[Z,Gn],[M,Te]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[W,[Z,Gn],[M,de]],[/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],[W,[Z,Gr],[M,de]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[W,"Xperia Tablet"],[Z,Gr],[M,Te]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[W,[Z,Nc],[M,de]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[W,[Z,eo],[M,Te]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[W,/(.+)/g,"Fire Phone $1"],[Z,eo],[M,de]],[/(playbook);[-\w\),; ]+(rim)/i],[W,Z,[M,Te]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[W,[Z,jc],[M,de]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[W,[Z,Wc],[M,Te]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[W,[Z,Wc],[M,de]],[/(nexus 9)/i],[W,[Z,"HTC"],[M,Te]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[Z,[W,/_/g," "],[M,de]],[/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],[W,[Z,"TCL"],[M,Te]],[/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],[W,[Z,"TCL"],[M,de]],[/(itel) ((\w+))/i],[[Z,fn],W,[M,On,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[W,[Z,"Acer"],[M,Te]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[W,[Z,"Meizu"],[M,de]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[W,[Z,"Ulefone"],[M,de]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[W,[Z,"Energizer"],[M,de]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[W,[Z,"Cat"],[M,de]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[W,[Z,"Smartfren"],[M,de]],[/droid.+; (a(?:015|06[35]|142p?))/i],[W,[Z,"Nothing"],[M,de]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[W,[Z,"Archos"],[M,Te]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[W,[Z,"Archos"],[M,de]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[Z,W,[M,Te]],[/(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],[Z,W,[M,de]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i],[Z,W,[M,Te]],[/(surface duo)/i],[W,[Z,Ka],[M,Te]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[W,[Z,"Fairphone"],[M,de]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[W,[Z,Ya],[M,Te]],[/(sprint) (\w+)/i],[Z,W,[M,de]],[/(kin\.[onetw]{3})/i],[[W,/\./g," "],[Z,Ka],[M,de]],[/droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[W,[Z,es],[M,Te]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[W,[Z,es],[M,de]],[/smart-tv.+(samsung)/i],[Z,[M,Ne]],[/hbbtv.+maple;(\d+)/i],[[W,/^/,"SmartTV"],[Z,qr],[M,Ne]],[/tcast.+(lg)e?. ([-\w]+)/i],[Z,W,[M,Ne]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[Z,to],[M,Ne]],[/(apple) ?tv/i],[Z,[W,vr+" TV"],[M,Ne]],[/crkey.*devicetype\/chromecast/i],[[W,Rn+" Third Generation"],[Z,Gn],[M,Ne]],[/crkey.*devicetype\/([^/]*)/i],[[W,/^/,"Chromecast "],[Z,Gn],[M,Ne]],[/fuchsia.*crkey/i],[[W,Rn+" Nest Hub"],[Z,Gn],[M,Ne]],[/crkey/i],[[W,Rn],[Z,Gn],[M,Ne]],[/(portaltv)/i],[W,[Z,ts],[M,Ne]],[/droid.+aft(\w+)( bui|\))/i],[W,[Z,eo],[M,Ne]],[/(shield \w+ tv)/i],[W,[Z,Ya],[M,Ne]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[W,[Z,Vc],[M,Ne]],[/(bravia[\w ]+)( bui|\))/i],[W,[Z,Gr],[M,Ne]],[/(mi(tv|box)-?\w+) bui/i],[W,[Z,Ja],[M,Ne]],[/Hbbtv.*(technisat) (.*);/i],[Z,W,[M,Ne]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[Z,oi],[W,oi],[M,Ne]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[W,[M,Ne]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[M,Ne]],[/(ouya)/i,/(nintendo) (\w+)/i],[Z,W,[M,ti]],[/droid.+; (shield)( bui|\))/i],[W,[Z,Ya],[M,ti]],[/(playstation \w+)/i],[W,[Z,Gr],[M,ti]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[W,[Z,Ka],[M,ti]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[W,[Z,qr],[M,Qt]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[Z,W,[M,Qt]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[W,[Z,Qa],[M,Qt]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[W,[Z,vr],[M,Qt]],[/(opwwe\d{3})/i],[W,[Z,Nc],[M,Qt]],[/(moto 360)/i],[W,[Z,Xa],[M,Qt]],[/(smartwatch 3)/i],[W,[Z,Gr],[M,Qt]],[/(g watch r)/i],[W,[Z,to],[M,Qt]],[/droid.+; (wt63?0{2,3})\)/i],[W,[Z,es],[M,Qt]],[/droid.+; (glass) \d/i],[W,[Z,Gn],[M,Ga]],[/(pico) (4|neo3(?: link|pro)?)/i],[Z,W,[M,Ga]],[/(quest( \d| pro)?s?).+vr/i],[W,[Z,ts],[M,Ga]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[Z,[M,ni]],[/(aeobc)\b/i],[W,[Z,eo],[M,ni]],[/(homepod).+mac os/i],[W,[Z,vr],[M,ni]],[/windows iot/i],[[M,ni]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+?(mobile|vr|\d) safari/i],[W,[M,On,{mobile:"Mobile",xr:"VR","*":Te}]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[M,Te]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[M,de]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[W,[Z,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[V,[N,J3+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[N,V],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[V,[N,"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],[N,V],[/ladybird\//i],[[N,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[V,N]],os:[[/microsoft (windows) (vista|xp)/i],[N,V],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[N,[V,On,Kc]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[V,On,Kc],[N,ds]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[V,/_/g,"."],[N,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[N,"macOS"],[V,/_/g,"."]],[/android ([\d\.]+).*crkey/i],[V,[N,Rn+" Android"]],[/fuchsia.*crkey\/([\d\.]+)/i],[V,[N,Rn+" Fuchsia"]],[/crkey\/([\d\.]+).*devicetype\/smartspeaker/i],[V,[N,Rn+" SmartSpeaker"]],[/linux.*crkey\/([\d\.]+)/i],[V,[N,Rn+" Linux"]],[/crkey\/([\d\.]+)/i],[V,[N,Rn]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[V,N],[/(ubuntu) ([\w\.]+) like android/i],[[N,/(.+)/,"$1 Touch"],V],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/\.; ]?([\d\.]*)/i],[N,V],[/\(bb(10);/i],[V,[N,jc]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[V,[N,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[V,[N,Kr+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[V,[N,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[V,[N,"watchOS"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[N,"Chrome OS"],V],[/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],[N,V],[/(sunos) ?([\w\.\d]*)/i],[[N,"Solaris"],V],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[N,V]]},no=function(){var n={init:{},isIgnore:{},isIgnoreRgx:{},toString:{}};return hn.call(n.init,[[ft,[N,V,ii,M]],[dn,[ht]],[Jt,[M,W,Z]],[Ut,[N,V]],[Lt,[N,V]]]),hn.call(n.isIgnore,[[ft,[V,ii]],[Ut,[V]],[Lt,[V]]]),hn.call(n.isIgnoreRgx,[[ft,/ ?browser$/i],[Lt,/ ?os$/i]]),hn.call(n.toString,[[ft,[N,V]],[dn,[ht]],[Jt,[Z,W]],[Ut,[N,V]],[Lt,[N,V]]]),n}(),nw=function(n,r){var i=no.init[r],s=no.isIgnore[r]||0,l=no.isIgnoreRgx[r]||0,u=no.toString[r]||0;function d(){hn.call(this,i)}return d.prototype.getItem=function(){return n},d.prototype.withClientHints=function(){return In?In.getHighEntropyValues(_f).then(function(p){return n.setCH(new Cf(p,!1)).parseCH().get()}):n.parseCH().get()},d.prototype.withFeatureCheck=function(){return n.detectFeature().get()},r!=_r&&(d.prototype.is=function(p){var m=!1;for(var v in this)if(this.hasOwnProperty(v)&&!fs(s,v)&&fn(l?Tr(l,this[v]):this[v])==fn(l?Tr(l,p):p)){if(m=!0,p!=Pn)break}else if(p==Pn&&m){m=!m;break}return m},d.prototype.toString=function(){var p=Er;for(var m in u)typeof this[u[m]]!==Pn&&(p+=(p?" ":Er)+this[u[m]]);return p||Pn}),In||(d.prototype.then=function(p){var m=this,v=function(){for(var _ in m)m.hasOwnProperty(_)&&(this[_]=m[_])};v.prototype={is:d.prototype.is,toString:d.prototype.toString};var x=new v;return p(x),x}),new d};function Cf(n,r){if(n=n||{},hn.call(this,_f),r)hn.call(this,[[Is,ns(n[Ln])],[Os,ns(n[U3])],[de,/\?1/.test(n[X3])],[W,Qr(n[Y3])],[Cr,Qr(n[xf])],[Ps,Qr(n[Q3])],[ht,Qr(n[q3])],[Yn,ns(n[K3])],[_o,Qr(n[G3])]]);else for(var i in n)this.hasOwnProperty(i)&&typeof n[i]!==Pn&&(this[i]=n[i])}function Qc(n,r,i,s){return this.get=function(l){return l?this.data.hasOwnProperty(l)?this.data[l]:void 0:this.data},this.set=function(l,u){return this.data[l]=u,this},this.setCH=function(l){return this.uaCH=l,this},this.detectFeature=function(){if(pt&&pt.userAgent==this.ua)switch(this.itemType){case ft:pt.brave&&typeof pt.brave.isBrave==fo&&this.set(N,"Brave");break;case Jt:!this.get(M)&&In&&In[de]&&this.set(M,de),this.get(W)=="Macintosh"&&pt&&typeof pt.standalone!==Pn&&pt.maxTouchPoints&&pt.maxTouchPoints>2&&this.set(W,"iPad").set(M,Te);break;case Lt:!this.get(N)&&In&&In[Cr]&&this.set(N,In[Cr]);break;case _r:var l=this.data,u=function(d){return l[d].getItem().detectFeature().get()};this.set(ft,u(ft)).set(dn,u(dn)).set(Jt,u(Jt)).set(Ut,u(Ut)).set(Lt,u(Lt))}return this},this.parseUA=function(){return this.itemType!=_r&&is.call(this.data,this.ua,this.rgxMap),this.itemType==ft&&this.set(ii,rs(this.get(V))),this},this.parseCH=function(){var l=this.uaCH,u=this.rgxMap;switch(this.itemType){case ft:case Ut:var d=l[Os]||l[Is],p;if(d)for(var m in d){var v=d[m].brand||d[m],x=d[m].version;this.itemType==ft&&!/not.a.brand/i.test(v)&&(!p||/chrom/i.test(p)&&v!=qc)&&(v=On(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(N,v).set(V,x).set(ii,rs(x)),p=v),this.itemType==Ut&&v==qc&&this.set(V,x)}break;case dn:var _=l[ht];_&&(_&&l[_o]=="64"&&(_+="64"),is.call(this.data,_+";",u));break;case Jt:if(l[de]&&this.set(M,de),l[W]&&(this.set(W,l[W]),!this.get(M)||!this.get(Z))){var E={};is.call(E,"droid 9; "+l[W]+")",u),!this.get(M)&&E.type&&this.set(M,E.type),!this.get(Z)&&E.vendor&&this.set(Z,E.vendor)}if(l[Yn]){var T;if(typeof l[Yn]!="string")for(var k=0;!T&&k<l[Yn].length;)T=On(l[Yn][k++],Xc);else T=On(l[Yn],Xc);this.set(M,T)}break;case Lt:var I=l[Cr];if(I){var P=l[Ps];I==ds&&(P=parseInt(rs(P),10)>=13?"11":"10"),this.set(N,I).set(V,P)}this.get(N)==ds&&l[W]=="Xbox"&&this.set(N,"Xbox").set(V,void 0);break;case _r:var z=this.data,A=function(R){return z[R].getItem().setCH(l).parseCH().get()};this.set(ft,A(ft)).set(dn,A(dn)).set(Jt,A(Jt)).set(Ut,A(Ut)).set(Lt,A(Lt))}return this},hn.call(this,[["itemType",n],["ua",r],["uaCH",s],["rgxMap",i],["data",nw(this,n)]]),this}function gn(n,r,i){if(typeof n===Ar?(ho(n,!0)?(typeof r===Ar&&(i=r),r=n):(i=n,r=void 0),n=void 0):typeof n===cs&&!ho(r,!0)&&(i=r,r=void 0),i&&typeof i.append===fo){var s={};i.forEach(function(m,v){s[v]=m}),i=s}if(!(this instanceof gn))return new gn(n,r,i).getResult();var l=typeof n===cs?n:i&&i[zc]?i[zc]:pt&&pt.userAgent?pt.userAgent:Er,u=new Cf(i,!0),d=r?tw(Yc,r):Yc,p=function(m){return m==_r?function(){return new Qc(m,l,d,u).set("ua",l).set(ft,this.getBrowser()).set(dn,this.getCPU()).set(Jt,this.getDevice()).set(Ut,this.getEngine()).set(Lt,this.getOS()).get()}:function(){return new Qc(m,l,d[m],u).parseUA().get()}};return hn.call(this,[["getBrowser",p(ft)],["getCPU",p(dn)],["getDevice",p(Jt)],["getEngine",p(Ut)],["getOS",p(Lt)],["getResult",p(_r)],["getUA",function(){return l}],["setUA",function(m){return $r(m)&&(l=m.length>us?oi(m,us):m),this}]]).setUA(l),this}gn.VERSION=V3;gn.BROWSER=Co([N,V,ii,M]);gn.CPU=Co([ht]);gn.DEVICE=Co([W,Z,M,ti,de,Ne,Te,Qt,ni]);gn.ENGINE=gn.OS=Co([N,V]);var Sf=(n=>(n.Desktop="Desktop",n.Mobile="Mobile",n.Tablet="Tablet",n.SmartTV="Smart TV",n.Bot="Bot/Crawler",n.Unknown="Unknown",n))(Sf||{}),Ef=(n=>(n.Chrome="Chrome",n.Firefox="Firefox",n.Safari="Safari",n.Edge="Edge",n.IE="IE/Edge Legacy",n.Opera="Opera",n.Brave="Brave",n.Other="Other",n))(Ef||{}),Af=(n=>(n.Windows="Windows",n.macOS="macOS",n.Linux="Linux",n.Android="Android",n.iOS="iOS",n.Other="Other",n))(Af||{});const hs=n=>{const i=new gn(n).getResult(),l={deviceType:/bot|crawler|spider|crawling/i.test(n)?"Bot/Crawler":rw(i.device.type),browserName:iw(i.browser.name),osName:ow(i.os.name)},u=l.deviceType==="Mobile"||l.deviceType==="Tablet";return{...i,normalized:l,isMobile:u,isDesktop:!u}},rw=n=>{if(!n)return"Desktop";const r=n.toLowerCase();return r==="mobile"?"Mobile":r==="tablet"?"Tablet":r==="smarttv"?"Smart TV":"Unknown"},iw=n=>{if(!n)return"Other";const r=n.toLowerCase();return r.includes("brave")?"Brave":r.includes("edge")?"Edge":r.includes("opera")?"Opera":r.includes("ie")||r.includes("trident")?"IE/Edge Legacy":r.includes("chrome")?"Chrome":r.includes("firefox")?"Firefox":r.includes("safari")?"Safari":"Other"},ow=n=>{if(!n)return"Other";const r=n.toLowerCase();return r.includes("windows")?"Windows":r.includes("mac os")?"macOS":["ubuntu","debian","fedora","linux"].some(i=>r.includes(i))?"Linux":r.includes("android")?"Android":r.includes("ios")?"iOS":"Other"},aw=n=>{const[r,i]=h.useState(n?hs(n):void 0);return h.useEffect(()=>{r||i(hs(window.navigator.userAgent))},[r]),r},sw=xe(X)`
|
|
62
|
+
`,Wc=({art:n,width:i,height:r,style:s,"data-testid":l,alt:u,fallback:h,useSkeleton:g=!0,objectFit:v,objectPosition:m,aspectRatio:k,mixBlendMode:R,imageRendering:b,...x})=>{const y=he(),[C,_]=f.useState(!0),[L,I]=f.useState(!1),T=y.__hd__.art.defaultImageSize||y.__hd__.art.defaultSize,O=$t(i,pe=>it(y,pe??T)),F=$t(r,pe=>it(y,pe??T)),N=x.r||x.radius||x.borderRadius||"md",Z=Y8(n);f.useEffect(()=>{!ye.isNil(Z)&&Z!==n&&(_(!0),I(!1))},[n,Z]);const U=()=>{_(!1)},de=()=>{I(!0),_(!1)};return S.jsx(V,{display:"flex",alignItems:"center",justifyContent:"center",width:O,height:F,overflow:"hidden",style:s,"data-testid":l,...x,children:S.jsxs(Pi,{visible:C,width:O,height:F,r:N,children:[L&&S.jsxs(V,{width:O,height:F,r:N,display:"flex",alignItems:"center",justifyContent:"center",bgColor:"grey200",children:[!C&&h,!C&&!h&&!u&&S.jsx(Ve,{fontSize:"xs",color:"grey600",children:h||u}),!C&&!h&&!u&&av()]}),!L&&(!ct()||!g)&&S.jsx(sv,{src:n,alt:ye.isString(u)?u:"Image",onLoad:U,onError:de,"data-testid":l?`${l}-image`:void 0,$objectFit:v,$objectPosition:m,$aspectRatio:k,$mixBlendMode:R,$imageRendering:b}),!L&&ct()&&g&&u]})})},Dc=({art:n,width:i,height:r,style:s,"data-testid":l,...u})=>{const h=he(),g=h.__hd__.art.defaultSvgSize||h.__hd__.art.defaultSize,v=it(h,i??g),m=it(h,r??g);return S.jsx(V,{display:"flex",alignItems:"center",justifyContent:"center",width:v,height:m,overflow:"hidden",style:s,"data-testid":l,dangerouslySetInnerHTML:{__html:n},...u})},jt=n=>{const{art:i,type:r}=n;return r==="image"||ye.isString(i)&&Ac(i)?S.jsx(Wc,{...n}):r==="svg"||ye.isString(i)&&Tc(i)?S.jsx(Dc,{...n}):r==="emoji"||ye.isString(i)&&Sc(i)?S.jsx($c,{...n}):r==="icon"||ye.isString(i)&&Ec(i)?S.jsx(ga,{...n}):r==="brand"?S.jsx(kc,{...n}):S.jsx(S.Fragment,{})},lv=n=>n==="sm"||n==="md"||n==="lg",Nc=({src:n,name:i,size:r,...s})=>{var k;const l=he(),u=l.__hd__.avatar,h=r||u.defaultSize,g=it(l,h);let v=u.defaultFallbackTextSize;typeof h=="string"&&lv(h)&&u.sizes[h]&&(v=u.sizes[h].fallbackTextSize);const m=u.fallbackBackgroundColor;return S.jsx(V,{width:g,height:g,r:"full",overflow:"hidden",display:"flex",alignItems:"center",justifyContent:"center",...s,children:n?S.jsx(jt,{type:"image",art:n,width:"100%",height:"100%",objectFit:"cover"}):S.jsx(V,{width:"100%",height:"100%",bgColor:m,display:"flex",justifyContent:"center",alignItems:"center",children:S.jsx(Ve,{color:"white",fontSize:v,fontWeight:"semibold",children:((k=i==null?void 0:i.charAt(0))==null?void 0:k.toUpperCase())||"U"})})})};function uv(n){const[i,r]=f.useState(()=>(ct(),!1));return f.useEffect(()=>{if(ct())return;const s=window.matchMedia(n),l=u=>{r(u.matches)};return s.addEventListener?s.addEventListener("change",l):s.addListener(l),r(s.matches),()=>{s.removeEventListener?s.removeEventListener("change",l):s.removeListener(l)}},[n]),i}const $r=(n="xl")=>{const[i,r]=f.useState(()=>(typeof window>"u"||!window.matchMedia,n));return f.useEffect(()=>{if(ct())return;const l=["xl","lg","md","sm"].map(g=>({key:g,mql:window.matchMedia(`(min-width: ${Tr[g]}px)`)})),u=()=>{for(const{key:g,mql:v}of l)if(v.matches)return g;return"xs"},h=()=>{r(u())};return h(),l.forEach(({mql:g})=>{g.addEventListener?g.addEventListener("change",h):g.addListener(h)}),()=>{l.forEach(({mql:g})=>{g.removeEventListener?g.removeEventListener("change",h):g.removeListener(h)})}},[]),i};function cv(){const{innerWidth:n,innerHeight:i}=window;return{width:n,height:i}}const Zc=()=>{const[n,i]=f.useState(()=>ct()?{width:void 0,height:void 0}:{width:void 0,height:void 0});return f.useEffect(()=>{if(ct())return;function r(){i(cv())}return r(),window.addEventListener("resize",r),()=>window.removeEventListener("resize",r)},[]),n},Hc=typeof window<"u"?f.useLayoutEffect:f.useEffect;function ea(n,i,r,s){const l=f.useRef(i);Hc(()=>{l.current=i},[i]),f.useEffect(()=>{const u=(r==null?void 0:r.current)??window;if(!(u&&u.addEventListener))return;const h=g=>{l.current(g)};return u.addEventListener(n,h,s),()=>{u.removeEventListener(n,h,s)}},[n,r,s])}function Mi(n){const[i,r]=f.useState(!1),s=$r(),l=s==="xs"||s==="sm",u=()=>{l||r(!0)},h=()=>{l||r(!1)};return ea("mouseenter",u,n),ea("mouseleave",h,n),l?!1:i}const dv=()=>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 ba(){const[n,i]=f.useState(dv);return f.useEffect(()=>{const r=s=>{s.pointerType==="touch"?n.isTouch||i({isMouse:!1,isTouch:!0}):s.pointerType==="mouse"&&(n.isMouse||i({isMouse:!0,isTouch:!1}))};return window.addEventListener("pointerdown",r,{passive:!0}),()=>{window.removeEventListener("pointerdown",r)}},[n]),n}var Cr={exports:{}},fv=Cr.exports,_u;function hv(){return _u||(_u=1,function(n,i){(function(r,s){var l="1.0.40",u="",h="?",g="function",v="undefined",m="object",k="string",R="major",b="model",x="name",y="type",C="vendor",_="version",L="architecture",I="console",T="mobile",O="tablet",F="smarttv",N="wearable",Z="embedded",U=500,de="Amazon",pe="Apple",Ce="ASUS",W="BlackBerry",B="Browser",H="Chrome",ee="Edge",X="Firefox",Q="Google",K="Huawei",me="LG",Se="Microsoft",Re="Motorola",Ue="Opera",Oe="Samsung",qe="Sharp",Je="Sony",Ke="Xiaomi",Dt="Zebra",wt="Facebook",yt="Chromium OS",Nt="Mac OS",Pe=" Browser",Xe=function(ae,ue){var te={};for(var Te in ae)ue[Te]&&ue[Te].length%2===0?te[Te]=ue[Te].concat(ae[Te]):te[Te]=ae[Te];return te},xt=function(ae){for(var ue={},te=0;te<ae.length;te++)ue[ae[te].toUpperCase()]=ae[te];return ue},Be=function(ae,ue){return typeof ae===k?dt(ue).indexOf(dt(ae))!==-1:!1},dt=function(ae){return ae.toLowerCase()},or=function(ae){return typeof ae===k?ae.replace(/[^\d\.]/g,u).split(".")[0]:s},et=function(ae,ue){if(typeof ae===k)return ae=ae.replace(/^\s\s*/,u),typeof ue===v?ae:ae.substring(0,U)},Zt=function(ae,ue){for(var te=0,Te,_t,ft,xe,oe,ht;te<ue.length&&!oe;){var Sn=ue[te],jn=ue[te+1];for(Te=_t=0;Te<Sn.length&&!oe&&Sn[Te];)if(oe=Sn[Te++].exec(ae),oe)for(ft=0;ft<jn.length;ft++)ht=oe[++_t],xe=jn[ft],typeof xe===m&&xe.length>0?xe.length===2?typeof xe[1]==g?this[xe[0]]=xe[1].call(this,ht):this[xe[0]]=xe[1]:xe.length===3?typeof xe[1]===g&&!(xe[1].exec&&xe[1].test)?this[xe[0]]=ht?xe[1].call(this,ht,xe[2]):s:this[xe[0]]=ht?ht.replace(xe[1],xe[2]):s:xe.length===4&&(this[xe[0]]=ht?xe[3].call(this,ht.replace(xe[1],xe[2])):s):this[xe]=ht||s;te+=2}},Kt=function(ae,ue){for(var te in ue)if(typeof ue[te]===m&&ue[te].length>0){for(var Te=0;Te<ue[te].length;Te++)if(Be(ue[te][Te],ae))return te===h?s:te}else if(Be(ue[te],ae))return te===h?s:te;return ue.hasOwnProperty("*")?ue["*"]:ae},en={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},tt={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Xt={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[_,[x,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[_,[x,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[x,_],[/opios[\/ ]+([\w\.]+)/i],[_,[x,Ue+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[_,[x,Ue+" GX"]],[/\bopr\/([\w\.]+)/i],[_,[x,Ue]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[_,[x,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[_,[x,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[x,_],[/quark(?:pc)?\/([-\w\.]+)/i],[_,[x,"Quark"]],[/\bddg\/([\w\.]+)/i],[_,[x,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[_,[x,"UC"+B]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[_,[x,"WeChat"]],[/konqueror\/([\w\.]+)/i],[_,[x,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[_,[x,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[_,[x,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[_,[x,"Smart Lenovo "+B]],[/(avast|avg)\/([\w\.]+)/i],[[x,/(.+)/,"$1 Secure "+B],_],[/\bfocus\/([\w\.]+)/i],[_,[x,X+" Focus"]],[/\bopt\/([\w\.]+)/i],[_,[x,Ue+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[_,[x,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[_,[x,"Dolphin"]],[/coast\/([\w\.]+)/i],[_,[x,Ue+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[_,[x,"MIUI"+Pe]],[/fxios\/([\w\.-]+)/i],[_,[x,X]],[/\bqihoobrowser\/?([\w\.]*)/i],[_,[x,"360"]],[/\b(qq)\/([\w\.]+)/i],[[x,/(.+)/,"$1Browser"],_],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[x,/(.+)/,"$1"+Pe],_],[/samsungbrowser\/([\w\.]+)/i],[_,[x,Oe+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[_,[x,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[x,"Sogou Mobile"],_],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[x,_],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[x],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[_,x],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[x,wt],_],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[x,_],[/\bgsa\/([\w\.]+) .*safari\//i],[_,[x,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[_,[x,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[_,[x,H+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[x,H+" WebView"],_],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[_,[x,"Android "+B]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[x,_],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[_,[x,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[_,x],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[x,[_,Kt,en]],[/(webkit|khtml)\/([\w\.]+)/i],[x,_],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[x,"Netscape"],_],[/(wolvic|librewolf)\/([\w\.]+)/i],[x,_],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[_,[x,X+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[x,[_,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[x,[_,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[L,"amd64"]],[/(ia32(?=;))/i],[[L,dt]],[/((?:i[346]|x)86)[;\)]/i],[[L,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[L,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[L,"armhf"]],[/windows (ce|mobile); ppc;/i],[[L,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[L,/ower/,u,dt]],[/(sun4\w)[;\)]/i],[[L,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[L,dt]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[b,[C,Oe],[y,O]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[b,[C,Oe],[y,T]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[b,[C,pe],[y,T]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[b,[C,pe],[y,O]],[/(macintosh);/i],[b,[C,pe]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[b,[C,qe],[y,T]],[/(?:honor)([-\w ]+)[;\)]/i],[b,[C,"Honor"],[y,T]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[b,[C,K],[y,O]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[b,[C,K],[y,T]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i],[[b,/_/g," "],[C,Ke],[y,T]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[b,/_/g," "],[C,Ke],[y,O]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[b,[C,"OPPO"],[y,T]],[/\b(opd2\d{3}a?) bui/i],[b,[C,"OPPO"],[y,O]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[b,[C,"Vivo"],[y,T]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[b,[C,"Realme"],[y,T]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[b,[C,Re],[y,T]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[b,[C,Re],[y,O]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[b,[C,me],[y,O]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[b,[C,me],[y,T]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[b,[C,"Lenovo"],[y,O]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[b,/_/g," "],[C,"Nokia"],[y,T]],[/(pixel c)\b/i],[b,[C,Q],[y,O]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[b,[C,Q],[y,T]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[b,[C,Je],[y,T]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[b,"Xperia Tablet"],[C,Je],[y,O]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[b,[C,"OnePlus"],[y,T]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[b,[C,de],[y,O]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[b,/(.+)/g,"Fire Phone $1"],[C,de],[y,T]],[/(playbook);[-\w\),; ]+(rim)/i],[b,C,[y,O]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[b,[C,W],[y,T]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[b,[C,Ce],[y,O]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[b,[C,Ce],[y,T]],[/(nexus 9)/i],[b,[C,"HTC"],[y,O]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[C,[b,/_/g," "],[y,T]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[b,[C,"TCL"],[y,O]],[/(itel) ((\w+))/i],[[C,dt],b,[y,Kt,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[b,[C,"Acer"],[y,O]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[b,[C,"Meizu"],[y,T]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[b,[C,"Ulefone"],[y,T]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[b,[C,"Energizer"],[y,T]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[b,[C,"Cat"],[y,T]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[b,[C,"Smartfren"],[y,T]],[/droid.+; (a(?:015|06[35]|142p?))/i],[b,[C,"Nothing"],[y,T]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (imo) ((?!tab)[\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[C,b,[y,T]],[/(imo) (tab \w+)/i,/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[C,b,[y,O]],[/(surface duo)/i],[b,[C,Se],[y,O]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[b,[C,"Fairphone"],[y,T]],[/(u304aa)/i],[b,[C,"AT&T"],[y,T]],[/\bsie-(\w*)/i],[b,[C,"Siemens"],[y,T]],[/\b(rct\w+) b/i],[b,[C,"RCA"],[y,O]],[/\b(venue[\d ]{2,7}) b/i],[b,[C,"Dell"],[y,O]],[/\b(q(?:mv|ta)\w+) b/i],[b,[C,"Verizon"],[y,O]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[b,[C,"Barnes & Noble"],[y,O]],[/\b(tm\d{3}\w+) b/i],[b,[C,"NuVision"],[y,O]],[/\b(k88) b/i],[b,[C,"ZTE"],[y,O]],[/\b(nx\d{3}j) b/i],[b,[C,"ZTE"],[y,T]],[/\b(gen\d{3}) b.+49h/i],[b,[C,"Swiss"],[y,T]],[/\b(zur\d{3}) b/i],[b,[C,"Swiss"],[y,O]],[/\b((zeki)?tb.*\b) b/i],[b,[C,"Zeki"],[y,O]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[C,"Dragon Touch"],b,[y,O]],[/\b(ns-?\w{0,9}) b/i],[b,[C,"Insignia"],[y,O]],[/\b((nxa|next)-?\w{0,9}) b/i],[b,[C,"NextBook"],[y,O]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[C,"Voice"],b,[y,T]],[/\b(lvtel\-)?(v1[12]) b/i],[[C,"LvTel"],b,[y,T]],[/\b(ph-1) /i],[b,[C,"Essential"],[y,T]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[b,[C,"Envizen"],[y,O]],[/\b(trio[-\w\. ]+) b/i],[b,[C,"MachSpeed"],[y,O]],[/\btu_(1491) b/i],[b,[C,"Rotor"],[y,O]],[/(shield[\w ]+) b/i],[b,[C,"Nvidia"],[y,O]],[/(sprint) (\w+)/i],[C,b,[y,T]],[/(kin\.[onetw]{3})/i],[[b,/\./g," "],[C,Se],[y,T]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[b,[C,Dt],[y,O]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[b,[C,Dt],[y,T]],[/smart-tv.+(samsung)/i],[C,[y,F]],[/hbbtv.+maple;(\d+)/i],[[b,/^/,"SmartTV"],[C,Oe],[y,F]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[C,me],[y,F]],[/(apple) ?tv/i],[C,[b,pe+" TV"],[y,F]],[/crkey/i],[[b,H+"cast"],[C,Q],[y,F]],[/droid.+aft(\w+)( bui|\))/i],[b,[C,de],[y,F]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[b,[C,qe],[y,F]],[/(bravia[\w ]+)( bui|\))/i],[b,[C,Je],[y,F]],[/(mitv-\w{5}) bui/i],[b,[C,Ke],[y,F]],[/Hbbtv.*(technisat) (.*);/i],[C,b,[y,F]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[C,et],[b,et],[y,F]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[y,F]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[C,b,[y,I]],[/droid.+; (shield) bui/i],[b,[C,"Nvidia"],[y,I]],[/(playstation [345portablevi]+)/i],[b,[C,Je],[y,I]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[b,[C,Se],[y,I]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[b,[C,Oe],[y,N]],[/((pebble))app/i],[C,b,[y,N]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[b,[C,pe],[y,N]],[/droid.+; (glass) \d/i],[b,[C,Q],[y,N]],[/droid.+; (wt63?0{2,3})\)/i],[b,[C,Dt],[y,N]],[/droid.+; (glass) \d/i],[b,[C,Q],[y,N]],[/(pico) (4|neo3(?: link|pro)?)/i],[C,b,[y,N]],[/; (quest( \d| pro)?)/i],[b,[C,wt],[y,N]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[C,[y,Z]],[/(aeobc)\b/i],[b,[C,de],[y,Z]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[b,[y,T]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[b,[y,O]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[y,O]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[y,T]],[/(android[-\w\. ]{0,9});.+buil/i],[b,[C,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[_,[x,ee+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[x,_],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[_,[x,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[x,_],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[_,x]],os:[[/microsoft (windows) (vista|xp)/i],[x,_],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[x,[_,Kt,tt]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[_,Kt,tt],[x,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[_,/_/g,"."],[x,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[x,Nt],[_,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[_,x],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish|openharmony)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[x,_],[/\(bb(10);/i],[_,[x,W]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[_,[x,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[_,[x,X+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[_,[x,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[_,[x,"watchOS"]],[/crkey\/([\d\.]+)/i],[_,[x,H+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[x,yt],_],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[x,_],[/(sunos) ?([\w\.\d]*)/i],[[x,"Solaris"],_],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[x,_]]},G=function(ae,ue){if(typeof ae===m&&(ue=ae,ae=s),!(this instanceof G))return new G(ae,ue).getResult();var te=typeof r!==v&&r.navigator?r.navigator:s,Te=ae||(te&&te.userAgent?te.userAgent:u),_t=te&&te.userAgentData?te.userAgentData:s,ft=ue?Xe(Xt,ue):Xt,xe=te&&te.userAgent==Te;return this.getBrowser=function(){var oe={};return oe[x]=s,oe[_]=s,Zt.call(oe,Te,ft.browser),oe[R]=or(oe[_]),xe&&te&&te.brave&&typeof te.brave.isBrave==g&&(oe[x]="Brave"),oe},this.getCPU=function(){var oe={};return oe[L]=s,Zt.call(oe,Te,ft.cpu),oe},this.getDevice=function(){var oe={};return oe[C]=s,oe[b]=s,oe[y]=s,Zt.call(oe,Te,ft.device),xe&&!oe[y]&&_t&&_t.mobile&&(oe[y]=T),xe&&oe[b]=="Macintosh"&&te&&typeof te.standalone!==v&&te.maxTouchPoints&&te.maxTouchPoints>2&&(oe[b]="iPad",oe[y]=O),oe},this.getEngine=function(){var oe={};return oe[x]=s,oe[_]=s,Zt.call(oe,Te,ft.engine),oe},this.getOS=function(){var oe={};return oe[x]=s,oe[_]=s,Zt.call(oe,Te,ft.os),xe&&!oe[x]&&_t&&_t.platform&&_t.platform!="Unknown"&&(oe[x]=_t.platform.replace(/chrome os/i,yt).replace(/macos/i,Nt)),oe},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return Te},this.setUA=function(oe){return Te=typeof oe===k&&oe.length>U?et(oe,U):oe,this},this.setUA(Te),this};G.VERSION=l,G.BROWSER=xt([x,_,R]),G.CPU=xt([L]),G.DEVICE=xt([b,C,y,I,T,F,O,N,Z]),G.ENGINE=G.OS=xt([x,_]),n.exports&&(i=n.exports=G),i.UAParser=G;var Ee=typeof r!==v&&(r.jQuery||r.Zepto);if(Ee&&!Ee.ua){var Me=new G;Ee.ua=Me.getResult(),Ee.ua.get=function(){return Me.getUA()},Ee.ua.set=function(ae){Me.setUA(ae);var ue=Me.getResult();for(var te in ue)Ee.ua[te]=ue[te]}}})(typeof window=="object"?window:fv)}(Cr,Cr.exports)),Cr.exports}var pv=hv(),Vc=(n=>(n.Desktop="Desktop",n.Mobile="Mobile",n.Tablet="Tablet",n.SmartTV="Smart TV",n.Bot="Bot/Crawler",n.Unknown="Unknown",n))(Vc||{}),Uc=(n=>(n.Chrome="Chrome",n.Firefox="Firefox",n.Safari="Safari",n.Edge="Edge",n.IE="IE/Edge Legacy",n.Opera="Opera",n.Brave="Brave",n.Other="Other",n))(Uc||{}),qc=(n=>(n.Windows="Windows",n.macOS="macOS",n.Linux="Linux",n.Android="Android",n.iOS="iOS",n.Other="Other",n))(qc||{});const ta=n=>{const r=new pv.UAParser(n).getResult(),l={deviceType:/bot|crawler|spider|crawling/i.test(n)?"Bot/Crawler":gv(r.device.type),browserName:mv(r.browser.name),osName:vv(r.os.name)},u=l.deviceType==="Mobile"||l.deviceType==="Tablet";return{...r,normalized:l,isMobile:u,isDesktop:!u}},gv=n=>{if(!n)return"Desktop";const i=n.toLowerCase();return i==="mobile"?"Mobile":i==="tablet"?"Tablet":i==="smarttv"?"Smart TV":"Unknown"},mv=n=>{if(!n)return"Other";const i=n.toLowerCase();return i.includes("brave")?"Brave":i.includes("edge")?"Edge":i.includes("opera")?"Opera":i.includes("ie")||i.includes("trident")?"IE/Edge Legacy":i.includes("chrome")?"Chrome":i.includes("firefox")?"Firefox":i.includes("safari")?"Safari":"Other"},vv=n=>{if(!n)return"Other";const i=n.toLowerCase();return i.includes("windows")?"Windows":i.includes("mac os")?"macOS":["ubuntu","debian","fedora","linux"].some(r=>i.includes(r))?"Linux":i.includes("android")?"Android":i.includes("ios")?"iOS":"Other"},bv=n=>{const[i,r]=f.useState(n?ta(n):void 0);return f.useEffect(()=>{i||r(ta(window.navigator.userAgent))},[i]),i},wv=_e(V)`
|
|
63
63
|
position: absolute;
|
|
64
64
|
top: 0;
|
|
65
65
|
left: 0;
|
|
@@ -68,7 +68,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
68
68
|
display: flex;
|
|
69
69
|
justify-content: center;
|
|
70
70
|
align-items: center;
|
|
71
|
-
`,
|
|
71
|
+
`,yv=_e.div`
|
|
72
72
|
width: ${({size:n})=>n};
|
|
73
73
|
height: ${({size:n})=>n};
|
|
74
74
|
border-radius: 50%;
|
|
@@ -94,17 +94,17 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
94
94
|
transform: rotate(360deg);
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
|
-
`,
|
|
97
|
+
`,Cu=({size:n,color:i="primary","data-testid":r})=>{const s=he(),u=Object.keys(s.__hd__.loading.sizes).includes(n)?s.__hd__.loading.sizes[n]:n,g=Object.keys(s.__hd__.loading.strokeWidths).includes(n)?s.__hd__.loading.strokeWidths[n]:"2px",v=s.colors[i]||i;return S.jsx(yv,{size:u,color:v,strokeWidth:g,"data-testid":r})},wa=({size:n,loading:i=!0,color:r="primary",children:s,"data-testid":l,...u})=>{const h=he(),[g,v]=f.useState(i),[m,k]=f.useState(i?1:0),[R,b]=f.useState(i?0:1);return f.useEffect(()=>{let x;return i?(v(!0),k(1),b(0)):(k(0),b(1),x=setTimeout(()=>{v(!1)},h.__hd__.loading.animation.showingDuration)),()=>{x&&clearTimeout(x)}},[i,h.__hd__.loading.animation.showingDuration]),s?S.jsxs(V,{position:"relative",...u,children:[g&&S.jsx(wv,{style:{opacity:m,transition:`opacity ${h.__hd__.loading.animation.showingDuration}ms`},children:S.jsx(Cu,{size:n,color:r,"data-testid":l})}),S.jsx(V,{style:{opacity:R,transition:`opacity ${h.__hd__.loading.animation.contentShowingDuration}ms`},children:s})]}):g?S.jsx(Cu,{size:n,color:r,"data-testid":l}):null};function xv({children:n,onClick:i,style:r,useScaleAnimation:s=!0,useOpacityAnimation:l=!0,href:u,target:h,rel:g,"data-testid":v,...m},k){const R=he(),[b,x]=f.useState(!1),y=f.useCallback(()=>{x(!0)},[]),C=f.useCallback(()=>{x(!1)},[]),_=f.useCallback(()=>{x(!1)},[]),L=f.useMemo(()=>{const T=[];return s&&T.push("transform 0.2s ease"),l&&T.push("opacity 0.2s ease"),T.join(", ")},[s,l]),I={ref:k,onClick:i,onMouseDown:y,onMouseUp:C,onMouseLeave:_,style:r,"data-testid":v,transition:L,transform:s?`scale(${b?R.__hd__.touchable.animation.minScale:R.__hd__.touchable.animation.maxScale})`:void 0,opacity:l?b?R.__hd__.touchable.animation.minOpacity:R.__hd__.touchable.animation.maxOpacity:void 0,cursor:"pointer",...m};return u?S.jsx(V,{as:"a",href:u,target:h,rel:g,...I,children:n}):S.jsx(V,{...I,children:n})}const _v=f.forwardRef(xv),Wt=_v,Li=(n,i,r,s="solid",l)=>{if(l)return n.colors.grey500;if(r)return n.colors[r];switch(s){case"outlined":case"text":return n.colors[i];case"solid":default:return i==="white"?n.colors.grey900:n.colors.white}},ya=_e(V)`
|
|
98
98
|
display: flex;
|
|
99
99
|
flex-direction: row;
|
|
100
100
|
justify-content: center;
|
|
101
101
|
align-items: center;
|
|
102
102
|
position: relative;
|
|
103
|
-
background-color: ${({theme:n,$backgroundColor:
|
|
104
|
-
border-radius: ${({theme:n,$borderRadius:
|
|
105
|
-
padding: ${({$paddingVertical:n,$paddingHorizontal:
|
|
106
|
-
border: ${({$borderWidth:n,theme:
|
|
107
|
-
${({$variant:n,$color:
|
|
103
|
+
background-color: ${({theme:n,$backgroundColor:i})=>i==="disabled"?n.colors.grey200:n.colors[i]};
|
|
104
|
+
border-radius: ${({theme:n,$borderRadius:i})=>n.radii[i]}px;
|
|
105
|
+
padding: ${({$paddingVertical:n,$paddingHorizontal:i,theme:r})=>`${r.spaces[n]}px ${r.spaces[i]}px`};
|
|
106
|
+
border: ${({$borderWidth:n,theme:i})=>i.borderWidths[n]}px solid transparent;
|
|
107
|
+
${({$variant:n,$color:i,theme:r})=>n==="outlined"&&`border-color: ${r.colors[i]};`}
|
|
108
108
|
pointer-events: ${({$disabled:n})=>n?"none":"auto"};
|
|
109
109
|
cursor: ${({$disabled:n})=>n?"not-allowed":"pointer"};
|
|
110
110
|
// Add border-color to transition
|
|
@@ -113,114 +113,114 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
113
113
|
|
|
114
114
|
@media (min-width: 900px) {
|
|
115
115
|
&:hover {
|
|
116
|
-
${({$disabled:n,$variant:
|
|
116
|
+
${({$disabled:n,$variant:i,$color:r,$borderWidth:s,theme:l})=>!n&&`
|
|
117
117
|
opacity: 1; // Ensure full opacity on hover
|
|
118
118
|
// Solid: background white, border with main color
|
|
119
|
-
${
|
|
119
|
+
${i==="solid"?`background-color: ${l.colors.white}; border-color: ${l.colors[r]}; border-width: ${l.borderWidths[s]}px;`:""}
|
|
120
120
|
// Outlined: background with main color, border remains same (or becomes transparent/main color based on design)
|
|
121
|
-
${
|
|
121
|
+
${i==="outlined"?`background-color: ${l.colors[r]}; border-color: ${l.colors[r]};`:""}
|
|
122
122
|
// Text variant doesn't change background or border on hover
|
|
123
123
|
`}
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
|
-
`,
|
|
127
|
-
color: ${({theme:n,$themeColor:
|
|
128
|
-
font-size: ${({theme:n,$themeFontSize:
|
|
129
|
-
font-weight: ${({theme:n,$themeFontWeight:
|
|
126
|
+
`,Cv=_e(Ve)`
|
|
127
|
+
color: ${({theme:n,$themeColor:i,$themeTextColor:r,$variant:s,$disabled:l})=>Li(n,i,r,s,l)};
|
|
128
|
+
font-size: ${({theme:n,$themeFontSize:i})=>n.__hd__.text.fontSizes[i]}px;
|
|
129
|
+
font-weight: ${({theme:n,$themeFontWeight:i})=>n.__hd__.text.fontWeights[i]};
|
|
130
130
|
// Apply other text properties from theme sizes if needed (e.g., line height)
|
|
131
131
|
transition: color 0.2s ease-in-out, opacity 0.2s ease-in-out;
|
|
132
132
|
|
|
133
133
|
@media (min-width: 900px) {
|
|
134
|
-
${
|
|
135
|
-
${({$variant:n,theme:
|
|
134
|
+
${ya}:hover & {
|
|
135
|
+
${({$variant:n,theme:i,$themeColor:r,$disabled:s})=>!s&&`
|
|
136
136
|
// Solid: text becomes main color
|
|
137
|
-
${n==="solid"?`color: ${
|
|
137
|
+
${n==="solid"?`color: ${i.colors[r]};`:""}
|
|
138
138
|
// Outlined: text becomes white
|
|
139
|
-
${n==="outlined"?`color: ${
|
|
139
|
+
${n==="outlined"?`color: ${i.colors.white};`:""}
|
|
140
140
|
// Text: opacity changes
|
|
141
|
-
${n==="text"?`color: ${
|
|
141
|
+
${n==="text"?`color: ${i.colors.primary};`:""}
|
|
142
142
|
`}
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
|
-
`,
|
|
145
|
+
`,Su=_e(V)`
|
|
146
146
|
display: flex;
|
|
147
147
|
align-items: center;
|
|
148
|
-
margin-left: ${({theme:n,$themePosition:
|
|
149
|
-
margin-right: ${({theme:n,$themePosition:
|
|
150
|
-
`,
|
|
148
|
+
margin-left: ${({theme:n,$themePosition:i,$iconSpacing:r})=>i==="right"?`${n.spaces[r]}px`:0};
|
|
149
|
+
margin-right: ${({theme:n,$themePosition:i,$iconSpacing:r,$hasText:s})=>i==="left"&&s?`${n.spaces[r]}px`:0};
|
|
150
|
+
`,Eu=_e(jt)`
|
|
151
151
|
transition: color 0.2s ease-in-out;
|
|
152
|
-
color: ${({theme:n,$themeColor:
|
|
153
|
-
width: ${({theme:n,$iconSize:
|
|
154
|
-
height: ${({theme:n,$iconSize:
|
|
152
|
+
color: ${({theme:n,$themeColor:i,$themeTextColor:r,$variant:s,$disabled:l})=>Li(n,i,r,s,l)};
|
|
153
|
+
width: ${({theme:n,$iconSize:i})=>n.sizes[i]}px;
|
|
154
|
+
height: ${({theme:n,$iconSize:i})=>n.sizes[i]}px;
|
|
155
155
|
|
|
156
156
|
@media (min-width: 900px) {
|
|
157
|
-
${
|
|
158
|
-
${({$variant:n,theme:
|
|
157
|
+
${ya}:hover & {
|
|
158
|
+
${({$variant:n,theme:i,$themeColor:r,$disabled:s})=>!s&&`
|
|
159
159
|
// Solid: text becomes main color
|
|
160
|
-
${n==="solid"?`color: ${
|
|
160
|
+
${n==="solid"?`color: ${i.colors[r]};`:""}
|
|
161
161
|
// Outlined: text becomes white
|
|
162
|
-
${n==="outlined"?`color: ${
|
|
162
|
+
${n==="outlined"?`color: ${i.colors.white};`:""}
|
|
163
163
|
// Text: opacity changes
|
|
164
|
-
${n==="text"?`color: ${
|
|
164
|
+
${n==="text"?`color: ${i.colors.primary};`:""}
|
|
165
165
|
`}
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
|
-
`,
|
|
169
|
-
background-color: ${({theme:n,$color:
|
|
170
|
-
${({$orientation:n,$thickness:
|
|
171
|
-
height: ${
|
|
168
|
+
`,na=({disabled:n=!1,icon:i,color:r,textColor:s,loading:l=!1,onClick:u,rightIcon:h,corner:g="circle",variant:v="solid",size:m="md",style:k,"data-testid":R,text:b,...x})=>{var H;const y=he(),C=y.__hd__.button,_=C.defaultColor||"primary",L=r||_,I=((H=C.variants)==null?void 0:H[v])||{},T=C.sizes[m],O=n||l,F=f.useMemo(()=>O&&v==="solid"?"disabled":v==="solid"?L:I.bgColor||"transparent",[L,O,v,I.bgColor]),N=f.useMemo(()=>Li(y,L,s,v,O),[y,L,s,v,O]),Z=ee=>{n||l||u==null||u(ee)},U=v==="text"?"none":T.paddingHorizontal,de=v==="text"?"none":T.paddingVertical,pe=T.fontSize,Ce=T.iconSize,W=C.iconSpacing||"xs",B=S.jsxs(V,{display:"flex",alignItems:"center",gap:W,children:[i&&S.jsx(Su,{$themePosition:"left",$iconSpacing:W,$hasText:!!b,children:S.jsx(Eu,{$themeColor:L,$themeTextColor:s,$variant:v,$disabled:O,$iconSize:Ce,type:"icon",art:i,weight:T.iconWeight,size:Ce})}),b&&S.jsx(Cv,{$themeColor:L,$themeTextColor:s,$themeFontSize:pe,$themeFontWeight:T.fontWeight,$disabled:O,$variant:v,as:"span",children:b}),h&&S.jsx(Su,{$themePosition:"right",$iconSpacing:W,children:S.jsx(Eu,{$themeColor:L,$themeTextColor:s,$variant:v,$disabled:O,$iconSize:Ce,weight:T.iconWeight,type:"icon",art:h,size:Ce})})]});return S.jsx(Wt,{onClick:Z,style:k,"data-testid":R,...x,children:S.jsx(ya,{$backgroundColor:F,$paddingHorizontal:U,$paddingVertical:de,$borderRadius:T.squircleBorderRadii[g],$borderWidth:T.borderWidth,$disabled:O,$variant:v,$color:L,$size:m,children:S.jsx(wa,{size:"small",color:N,loading:l,display:"flex",alignItems:"center",justifyContent:"center",children:B})})})},Sv=_e(V)`
|
|
169
|
+
background-color: ${({theme:n,$color:i})=>n.colors[i]};
|
|
170
|
+
${({$orientation:n,$thickness:i})=>n==="horizontal"?`
|
|
171
|
+
height: ${i}px;
|
|
172
172
|
width: 100%;
|
|
173
173
|
`:`
|
|
174
|
-
width: ${
|
|
174
|
+
width: ${i}px;
|
|
175
175
|
height: 100%;
|
|
176
176
|
`}
|
|
177
|
-
`,
|
|
177
|
+
`,Gc=({orientation:n="horizontal",color:i,thickness:r,...s})=>{var m,k;const l=he(),u=(m=l.__hd__.divider)==null?void 0:m.defaultColor,h=(k=l.__hd__.divider)==null?void 0:k.defaultThickness,g=i||u||"grey300",v=r||h||1;return S.jsx(Sv,{$orientation:n,$color:g,$thickness:v,...s})},Kc=_e(Wt)`
|
|
178
178
|
display: flex;
|
|
179
179
|
align-items: center;
|
|
180
180
|
justify-content: center;
|
|
181
181
|
transition: background-color 0.2s ease-in-out, transform 50ms ease-in-out, box-shadow 0.2s ease-in-out;
|
|
182
|
-
background-color: ${({theme:n,$themeBackgroundColor:
|
|
182
|
+
background-color: ${({theme:n,$themeBackgroundColor:i})=>n.colors[i]};
|
|
183
183
|
box-shadow: ${({$themeBoxShadow:n})=>n};
|
|
184
|
-
border-radius: ${({theme:n,$themeRadius:
|
|
185
|
-
padding-left: ${({theme:n,$themePaddingX:
|
|
186
|
-
padding-right: ${({theme:n,$themePaddingX:
|
|
187
|
-
padding-top: ${({theme:n,$themePaddingY:
|
|
188
|
-
padding-bottom: ${({theme:n,$themePaddingY:
|
|
189
|
-
gap: ${({theme:n,$gap:
|
|
184
|
+
border-radius: ${({theme:n,$themeRadius:i})=>n.radii[i]}px;
|
|
185
|
+
padding-left: ${({theme:n,$themePaddingX:i})=>n.spaces[i]}px;
|
|
186
|
+
padding-right: ${({theme:n,$themePaddingX:i})=>n.spaces[i]}px;
|
|
187
|
+
padding-top: ${({theme:n,$themePaddingY:i})=>n.spaces[i]}px;
|
|
188
|
+
padding-bottom: ${({theme:n,$themePaddingY:i})=>n.spaces[i]}px;
|
|
189
|
+
gap: ${({theme:n,$gap:i})=>n.spaces[i]}px;
|
|
190
190
|
&:hover {
|
|
191
191
|
box-shadow: ${({$themeHoverBoxShadow:n})=>n};
|
|
192
|
-
background-color: ${({theme:n,$themeHoverBackgroundColor:
|
|
192
|
+
background-color: ${({theme:n,$themeHoverBackgroundColor:i})=>n.colors[i]};
|
|
193
193
|
}
|
|
194
|
-
`,
|
|
194
|
+
`,Au=_e.span`
|
|
195
195
|
transition: color 0.2s ease-in-out, opacity 0.2s ease-in-out, rotate 0.2s ease-in-out, font-size 0.2s ease-in-out, font-weight 0.2s ease-in-out;
|
|
196
|
-
color: ${({theme:n,$themeColor:
|
|
197
|
-
font-weight: ${({theme:n,$themeFontWeight:
|
|
198
|
-
font-size: ${({theme:n,$themeFontSize:
|
|
199
|
-
rotate: ${({$isDropdownItem:n,$isDropdownOpen:
|
|
200
|
-
${
|
|
201
|
-
color: ${({theme:n,$themeHoverColor:
|
|
202
|
-
rotate: ${({$isDropdownItem:n,$isDropdownOpen:
|
|
196
|
+
color: ${({theme:n,$themeColor:i})=>n.colors[i]};
|
|
197
|
+
font-weight: ${({theme:n,$themeFontWeight:i})=>n.__hd__.text.fontWeights[i]};
|
|
198
|
+
font-size: ${({theme:n,$themeFontSize:i})=>n.__hd__.text.fontSizes[i]}px;
|
|
199
|
+
rotate: ${({$isDropdownItem:n,$isDropdownOpen:i})=>!n&&i?"-180deg":void 0};
|
|
200
|
+
${Kc}:hover & {
|
|
201
|
+
color: ${({theme:n,$themeHoverColor:i})=>n.colors[i]};
|
|
202
|
+
rotate: ${({$isDropdownItem:n,$isDropdownOpen:i})=>!n&&i?"-90deg":void 0};
|
|
203
203
|
}
|
|
204
204
|
${({$isLoading:n})=>n&&`
|
|
205
205
|
opacity: 0;
|
|
206
206
|
`}
|
|
207
207
|
white-space: nowrap;
|
|
208
|
-
`,Fs=({label:n,isActive:r,isLoading:i,dropdownItems:s=[],onClick:l,size:u="large",isDropdownOpen:d=!1,isDropdownItem:p=!1,onMouseEnter:m,onToggleDropdown:v,paddingX:x,paddingY:_})=>{const E=ge(),{isTouch:T}=Rs(),k=s.length>0,I=()=>{if(T&&k){d?l==null||l():v==null||v();return}l==null||l()},P=E.__hd__.header,z=P.navItem,A=r?z.active:z.inactive,R=h.useMemo(()=>p?"transparent":d?A.hoverBackgroundColor:A.backgroundColor,[p,d,A.backgroundColor,A.hoverBackgroundColor]);return y.jsxs($f,{onClick:I,onMouseEnter:m,$themeBackgroundColor:R,$themeBoxShadow:!p&&d?A.hoverBoxShadow:"none",$themeHoverBackgroundColor:p?"transparent":A.hoverBackgroundColor,$themeHoverBoxShadow:p?"none":A.hoverBoxShadow,$themeHoverColor:z.active.backgroundColor,$themeRadius:z.radius,$themePaddingX:x??z.paddingX,$themePaddingY:_??z.paddingY,$gap:P.loadingGap,children:[y.jsx(X,{display:"flex",justifyContent:"start",flex:1,children:y.jsx(nd,{$themeFontWeight:A.fontWeight,$themeFontSize:z[u].fontSize,$themeColor:A.color,$themeHoverColor:z.hover.color,$isLoading:i??!1,children:n})}),(s.length>0||d)&&y.jsxs(nd,{$themeFontWeight:A.fontWeight,$themeFontSize:z[u].fontSize,$themeColor:A.color,$themeHoverColor:z.hover.color,$isLoading:i??!1,$isDropdownOpen:d,$isDropdownItem:p,children:[s.length>0&&y.jsx($s,{size:16,weight:"bold"}),p&&y.jsx(ui,{rotate:45,size:16,weight:"bold"})]}),y.jsx(X,{display:"flex",alignItems:"center",justifyContent:"center",absoluteFill:!0,opacity:i?1:0,transition:"opacity 0.2s ease-in-out",children:y.jsx(Ms,{size:z[u].loadingSize,color:A.color})})]})};function hw({userProfile:n,dropdownItems:r,maxHeight:i},s){const l=ge(),u=l.__hd__.header.profileDropdown,[d,p]=h.useState(!1),m=h.useRef(null),v=h.useRef(null),x=ye.isString(u.minWidth)&&Qn(u.minWidth)?l.sizes[u.minWidth]:u.minWidth,_=ye.isString(i)&&Qn(i)?l.sizes[i]:i||u.defaultMaxHeight,E=()=>{m.current&&clearTimeout(m.current),v.current&&clearTimeout(v.current)},T=(I=()=>{})=>{E(),p(!0),m.current=setTimeout(I,u.animationDuration)},k=(I=()=>{})=>{E(),p(!1),v.current=setTimeout(I,u.animationDuration)};return h.useImperativeHandle(s,()=>({showDropdown:T,hideDropdown:k})),y.jsx(X,{position:"absolute",top:u.offset.top,right:u.offset.right,minWidth:x,zIndex:d?l.zIndex.getZIndex("AIC_Kits_Dropdown"):-1,opacity:d?1:0,transition:`opacity ${u.animationDuration}ms ease-in-out, z-index ${u.animationDuration}ms ease-in-out`,onMouseEnter:()=>T(),onMouseLeave:()=>k(),children:y.jsxs(X,{overflow:"hidden",mt:u.spacingTop,mr:u.containerPaddingRight,padding:u.padding,backgroundColor:u.backgroundColor,boxShadow:u.boxShadow,maxHeight:d?_:0,transition:`max-height ${u.animationDuration}ms ease-in-out`,style:{borderRadius:u.borderRadius},display:"flex",flexDirection:"column",children:[n!=null&&n.name?y.jsx(X,{py:u.padding,mx:"md",children:y.jsx(qe,{textAlign:"left",children:n.name})}):y.jsx(X,{py:u.padding,mx:"md",children:y.jsx(qe,{textAlign:"left",children:n==null?void 0:n.email})}),y.jsx(X,{p:u.padding,children:y.jsx(Tf,{})}),r==null?void 0:r.map(I=>y.jsx(Fs,{label:I.label,onClick:I.onClick,isActive:I.isActive,size:"medium",isDropdownItem:!0},I.label))]})})}const pw=h.forwardRef(hw),kf=({isSignedIn:n=!1,isDropdownVisible:r,setIsDropdownVisible:i,userProfile:s,dropdownItems:l,profileDropdownMaxHeight:u,onProfileClick:d,onSignInClick:p,onRegisterClick:m})=>{const v=ge(),[x,_]=h.useState(!1),[E,T]=h.useState(!0),k=h.useDeferredValue(x),I=ci(),P=!at()&&I==="xs";h.useEffect(()=>{at()||(_(!P),setTimeout(()=>{T(!1)},300))},[P]);const z=v.__hd__.header.avatarSize||"md",A=h.useRef(null),R=()=>{var U;i(!0),(U=A.current)==null||U.showDropdown()},H=()=>{var U;(U=A.current)==null||U.hideDropdown(()=>{i(!1)})};return h.useEffect(()=>{r?R():H()},[r]),y.jsx(yo,{display:"flex",visible:E,maxWidth:k?"100%":"0px",maxHeight:k?"100%":"0px",opacity:k?1:0,variant:"transparent",transition:"max-width 0.3s ease-in-out, opacity 0.3s ease-in-out",r:"lg",children:y.jsxs(X,{display:"flex",flexDirection:"row",alignItems:"center",children:[n?y.jsx(zt,{onClick:d,children:y.jsxs(X,{display:"flex",flexDirection:"row",alignItems:"center",p:"sm",r:"full",bgColor:"grey100",onMouseEnter:R,onMouseLeave:H,children:[y.jsx(wf,{src:s==null?void 0:s.avatar,name:s==null?void 0:s.name,size:z}),(s==null?void 0:s.name)&&y.jsx(X,{ml:"sm",children:y.jsx(qe,{fontWeight:"medium",children:s.name})})]})}):y.jsxs(y.Fragment,{children:[y.jsx(X,{mr:"md",children:y.jsx(ps,{text:"Sign in",variant:"text",color:"black",onClick:p})}),y.jsx(ps,{text:"Register",color:"primary",corner:"rounded",onClick:m})]}),n&&y.jsx(pw,{ref:A,userProfile:s,dropdownItems:l,maxHeight:u})]})})},gw="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",Rf=({onLogoClick:n})=>y.jsx(X,{children:y.jsx(zt,{onClick:n,children:y.jsx(Ft,{art:gw,type:"svg",width:"lg",height:"lg"})})}),mw=({dropdownMaxHeight:n,dropdownMinWidth:r,isDropdownOpen:i=!1,dropdownItems:s=[]})=>{const l=ge(),u=l.__hd__.header.navDropdown,d=ye.isString(n)&&Qn(n)?l.sizes[n]:n||u.defaultMaxHeight,p=ye.isString(r)&&Qn(r)?l.sizes[r]:r||u.minWidth;return y.jsx(X,{position:"absolute",top:"100%",left:0,minWidth:p,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?d:0,transition:`max-height ${u.animationDuration}ms ease-in`,style:{borderRadius:u.borderRadius},children:s.length>0&&s.map((m,v)=>y.jsx(Fs,{isDropdownOpen:!0,isDropdownItem:!0,size:"medium",paddingX:"none",paddingY:"none",...m},`nav-dropdown-item-${v}`))})})},vw=xe.span`
|
|
208
|
+
`,xa=({label:n,isActive:i,isLoading:r,dropdownItems:s=[],onClick:l,size:u="large",isDropdownOpen:h=!1,isDropdownItem:g=!1,onMouseEnter:v,onToggleDropdown:m,paddingX:k,paddingY:R})=>{const b=he(),{isTouch:x}=ba(),y=s.length>0,C=()=>{if(x&&y){h?l==null||l():m==null||m();return}l==null||l()},_=b.__hd__.header,L=_.navItem,I=i?L.active:L.inactive,T=f.useMemo(()=>g?"transparent":h?I.hoverBackgroundColor:I.backgroundColor,[g,h,I.backgroundColor,I.hoverBackgroundColor]);return S.jsxs(Kc,{onClick:C,onMouseEnter:v,$themeBackgroundColor:T,$themeBoxShadow:!g&&h?I.hoverBoxShadow:"none",$themeHoverBackgroundColor:g?"transparent":I.hoverBackgroundColor,$themeHoverBoxShadow:g?"none":I.hoverBoxShadow,$themeHoverColor:L.active.backgroundColor,$themeRadius:L.radius,$themePaddingX:k??L.paddingX,$themePaddingY:R??L.paddingY,$gap:_.loadingGap,children:[S.jsx(V,{display:"flex",justifyContent:"start",flex:1,children:S.jsx(Au,{$themeFontWeight:I.fontWeight,$themeFontSize:L[u].fontSize,$themeColor:I.color,$themeHoverColor:L.hover.color,$isLoading:r??!1,children:n})}),(s.length>0||h)&&S.jsxs(Au,{$themeFontWeight:I.fontWeight,$themeFontSize:L[u].fontSize,$themeColor:I.color,$themeHoverColor:L.hover.color,$isLoading:r??!1,$isDropdownOpen:h,$isDropdownItem:g,children:[s.length>0&&S.jsx(ma,{size:16,weight:"bold"}),g&&S.jsx(kr,{rotate:45,size:16,weight:"bold"})]}),S.jsx(V,{display:"flex",alignItems:"center",justifyContent:"center",absoluteFill:!0,opacity:r?1:0,transition:"opacity 0.2s ease-in-out",children:S.jsx(wa,{size:L[u].loadingSize,color:I.color})})]})};function Ev({userProfile:n,dropdownItems:i,maxHeight:r},s){const l=he(),u=l.__hd__.header.profileDropdown,[h,g]=f.useState(!1),v=f.useRef(null),m=f.useRef(null),k=ye.isString(u.minWidth)&&Fn(u.minWidth)?l.sizes[u.minWidth]:u.minWidth,R=ye.isString(r)&&Fn(r)?l.sizes[r]:r||u.defaultMaxHeight,b=()=>{v.current&&clearTimeout(v.current),m.current&&clearTimeout(m.current)},x=(C=()=>{})=>{b(),g(!0),v.current=setTimeout(C,u.animationDuration)},y=(C=()=>{})=>{b(),g(!1),m.current=setTimeout(C,u.animationDuration)};return f.useImperativeHandle(s,()=>({showDropdown:x,hideDropdown:y})),S.jsx(V,{position:"absolute",top:u.offset.top,right:u.offset.right,minWidth:k,zIndex:h?l.zIndex.getZIndex("AIC_Kits_Dropdown"):-1,opacity:h?1:0,transition:`opacity ${u.animationDuration}ms ease-in-out, z-index ${u.animationDuration}ms ease-in-out`,onMouseEnter:()=>x(),onMouseLeave:()=>y(),children:S.jsxs(V,{overflow:"hidden",mt:u.spacingTop,mr:u.containerPaddingRight,padding:u.padding,backgroundColor:u.backgroundColor,boxShadow:u.boxShadow,maxHeight:h?R:0,transition:`max-height ${u.animationDuration}ms ease-in-out`,style:{borderRadius:u.borderRadius},display:"flex",flexDirection:"column",children:[n!=null&&n.name?S.jsx(V,{py:u.padding,mx:"md",children:S.jsx(Ve,{textAlign:"left",children:n.name})}):S.jsx(V,{py:u.padding,mx:"md",children:S.jsx(Ve,{textAlign:"left",children:n==null?void 0:n.email})}),S.jsx(V,{p:u.padding,children:S.jsx(Gc,{})}),i==null?void 0:i.map(C=>S.jsx(xa,{label:C.label,onClick:C.onClick,isActive:C.isActive,size:"medium",isDropdownItem:!0},C.label))]})})}const Av=f.forwardRef(Ev),Xc=({isSignedIn:n=!1,isDropdownVisible:i,setIsDropdownVisible:r,userProfile:s,dropdownItems:l,profileDropdownMaxHeight:u,onProfileClick:h,onSignInClick:g,onRegisterClick:v})=>{const m=he(),[k,R]=f.useState(!1),[b,x]=f.useState(!0),y=f.useDeferredValue(k),C=$r(),_=!ct()&&C==="xs";f.useEffect(()=>{ct()||(R(!_),setTimeout(()=>{x(!1)},300))},[_]);const L=m.__hd__.header.avatarSize||"md",I=f.useRef(null),T=()=>{var F;r(!0),(F=I.current)==null||F.showDropdown()},O=()=>{var F;(F=I.current)==null||F.hideDropdown(()=>{r(!1)})};return f.useEffect(()=>{i?T():O()},[i]),S.jsx(Pi,{display:"flex",visible:b,maxWidth:y?"100%":"0px",maxHeight:y?"100%":"0px",opacity:y?1:0,variant:"transparent",transition:"max-width 0.3s ease-in-out, opacity 0.3s ease-in-out",r:"lg",children:S.jsxs(V,{display:"flex",flexDirection:"row",alignItems:"center",children:[n?S.jsx(Wt,{onClick:h,children:S.jsxs(V,{display:"flex",flexDirection:"row",alignItems:"center",p:"sm",r:"full",bgColor:"grey100",onMouseEnter:T,onMouseLeave:O,children:[S.jsx(Nc,{src:s==null?void 0:s.avatar,name:s==null?void 0:s.name,size:L}),(s==null?void 0:s.name)&&S.jsx(V,{ml:"sm",children:S.jsx(Ve,{fontWeight:"medium",children:s.name})})]})}):S.jsxs(S.Fragment,{children:[S.jsx(V,{mr:"md",children:S.jsx(na,{text:"Sign in",variant:"text",color:"black",onClick:g})}),S.jsx(na,{text:"Register",color:"primary",corner:"rounded",onClick:v})]}),n&&S.jsx(Av,{ref:I,userProfile:s,dropdownItems:l,maxHeight:u})]})})},Tv="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",Yc=({onLogoClick:n})=>S.jsx(V,{children:S.jsx(Wt,{onClick:n,children:S.jsx(jt,{art:Tv,type:"svg",width:"lg",height:"lg"})})}),kv=({dropdownMaxHeight:n,dropdownMinWidth:i,isDropdownOpen:r=!1,dropdownItems:s=[]})=>{const l=he(),u=l.__hd__.header.navDropdown,h=ye.isString(n)&&Fn(n)?l.sizes[n]:n||u.defaultMaxHeight,g=ye.isString(i)&&Fn(i)?l.sizes[i]:i||u.minWidth;return S.jsx(V,{position:"absolute",top:"100%",left:0,minWidth:g,zIndex:r?l.zIndex.getZIndex("AIC_Kits_Dropdown"):-1,opacity:r?1:0,transition:`z-index ${u.animationDuration}ms ease-in, opacity ${u.animationDuration}ms ease-in`,children:S.jsx(V,{overflow:"hidden",display:"flex",flexDirection:"column",mt:u.spacingTop,px:u.paddingX,py:u.paddingY,gap:u.gap,backgroundColor:u.backgroundColor,boxShadow:u.boxShadow,maxHeight:r?h:0,transition:`max-height ${u.animationDuration}ms ease-in`,style:{borderRadius:u.borderRadius},children:s.length>0&&s.map((v,m)=>S.jsx(xa,{isDropdownOpen:!0,isDropdownItem:!0,size:"medium",paddingX:"none",paddingY:"none",...v},`nav-dropdown-item-${m}`))})})},$v=_e.span`
|
|
209
209
|
position: relative;
|
|
210
|
-
`,
|
|
210
|
+
`,Rv=({item:n,index:i,openItemIndex:r,handleNavItemMouseEnter:s,handleNavItemMouseLeave:l,handleNavItemToggleDropdown:u})=>{var k,R;const[h,g]=f.useState(0),v=f.useRef(null),{isMouse:m}=ba();return f.useLayoutEffect(()=>{v.current&&g(v.current.offsetWidth)},[n]),S.jsxs($v,{onMouseLeave:m?l:void 0,onMouseEnter:m?()=>s(n,i):void 0,children:[S.jsx(V,{ref:v,display:"inline-block",children:S.jsx(xa,{...n,isActive:r!==i&&(n.isActive||((k=n.dropdownItems)==null?void 0:k.some(b=>b.isActive)))||n.isActive,isLoading:r!==i&&(n.isLoading||((R=n.dropdownItems)==null?void 0:R.some(b=>b.isLoading)))||n.isLoading,isDropdownOpen:r===i,onToggleDropdown:()=>u(i)})}),n.dropdownItems&&n.dropdownItems.length>0&&S.jsx(kv,{dropdownItems:n.dropdownItems,isDropdownOpen:r===i,dropdownMinWidth:h})]})},Qc=({navItems:n=[]})=>{const r=he().__hd__.header,s=f.useRef(null),[l,u]=f.useState(!1),[h,g]=f.useState(!0),v=$r(),m=!ct()&&v==="xs",[k,R]=f.useState(null);f.useEffect(()=>{ct()||(u(!m),setTimeout(()=>{g(!1)},300))},[m]),f.useEffect(()=>{const _=L=>{s.current&&!s.current.contains(L.target)&&R(null)};return k!==null&&document.addEventListener("mousedown",_),()=>{document.removeEventListener("mousedown",_)}},[k]);const b=f.useDeferredValue(l),x=(_,L)=>{_.dropdownItems&&_.dropdownItems.length>0&&R(L)},y=()=>{R(null)},C=_=>{R(L=>L===_?null:_)};return S.jsx(Pi,{display:"flex",visible:h,maxWidth:b?"100%":"0px",maxHeight:b?"100%":"0px",opacity:b?1:0,variant:"transparent",transition:"max-width 0.3s ease-in-out, opacity 0.3s ease-in-out",r:"lg",py:"sm",children:S.jsx(V,{ref:s,display:"flex",flexDirection:"row",justifyContent:"center",flex:1,mx:"xl",gap:r.navItem.gap,p:r.padding,r:r.radius,bgColor:r.backgroundColor,children:n.map((_,L)=>S.jsx(Rv,{item:_,index:L,openItemIndex:k,handleNavItemMouseEnter:x,handleNavItemMouseLeave:y,handleNavItemToggleDropdown:C},`nav-item-wrapper-${L}`))})})};function Iv({backgroundColor:n="white",navItems:i=[],isSignedIn:r=!1,userProfile:s,profileDropdownItems:l,profileDropdownMaxHeight:u,onLogoClick:h,onNavItemClick:g,onSignInClick:v,onRegisterClick:m,onProfileClick:k,...R},b){const[x,y]=f.useState(!1);return f.useImperativeHandle(b,()=>({showDropdown:()=>y(!0),hideDropdown:()=>y(!1)})),S.jsxs(V,{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",width:"100%",p:"md",bgColor:n,...R,children:[S.jsx(Yc,{onLogoClick:h}),S.jsx(Qc,{navItems:i,onNavItemClick:g}),S.jsx(Xc,{isSignedIn:r,isDropdownVisible:x,setIsDropdownVisible:y,userProfile:s,dropdownItems:l,profileDropdownMaxHeight:u,onSignInClick:v,onRegisterClick:m,onProfileClick:k})]})}const Jc=f.forwardRef(Iv),Ov=(n,i,r)=>{let s={};return n?i==="padded"?(s.maxWidth=void 0,s.px=r.desktopPaddingX):(s.maxWidth=r.desktopContentMaxWidth,s.px=r.mobilePaddingX):(s.maxWidth=void 0,s.px=r.mobilePaddingX),s},Pv=(n,i)=>{const r={};return n&&i==="maxWidth"&&(r.marginLeft="auto",r.marginRight="auto"),r},Mv=({children:n,backgroundColor:i="white",header:r,contentLayoutMode:s="maxWidth",style:l,...u})=>{const g=he().__hd__.base,v=$r(),m=ct()||v==="md"||v==="lg"||v==="xl",k=Ov(m,s,g),R=Pv(m,s);return S.jsxs(V,{display:"flex",flexDirection:"column",width:"100%",height:"100%",position:"relative",bgColor:i,style:l,...u,children:[r&&S.jsx(Jc,{...r}),S.jsx(V,{flex:1,overflow:"visible",position:"relative",width:"100%",...k,style:R,children:n})]})},Lv=_e.div`
|
|
211
211
|
display: flex;
|
|
212
212
|
flex-direction: row;
|
|
213
213
|
align-items: center;
|
|
214
|
-
${({theme:n,$isFocused:
|
|
215
|
-
padding: ${
|
|
216
|
-
border-radius: ${
|
|
217
|
-
border: ${
|
|
218
|
-
box-shadow: ${
|
|
219
|
-
background-color: ${
|
|
220
|
-
opacity: ${
|
|
214
|
+
${({theme:n,$isFocused:i,$isDisabled:r,$error:s,$borderColor:l,$bgColor:u})=>{const h=n.__hd__.input;let g="default";s?g="error":r?g="disabled":i&&(g="focused");const v=h.states[g],m=g==="focused"&&l?`0 0 0 2px ${n.colors[l]} inset`:v.boxShadow,k=n.spaces[h.padding.vertical],R=n.spaces[h.padding.horizontal],b=n.radii[h.borderRadius],x=n.borderWidths[h.borderWidth],y=g!=="disabled"&&u?n.colors[u]:v.backgroundColor;return`
|
|
215
|
+
padding: ${k}px ${R}px;
|
|
216
|
+
border-radius: ${b}px;
|
|
217
|
+
border: ${x}px solid ${n.colors[v.borderColor]};
|
|
218
|
+
box-shadow: ${m};
|
|
219
|
+
background-color: ${y};
|
|
220
|
+
opacity: ${r?.7:1};
|
|
221
221
|
transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
222
222
|
`}}
|
|
223
|
-
`,
|
|
223
|
+
`,Tu=_e.input`
|
|
224
224
|
flex: 1;
|
|
225
225
|
border: none;
|
|
226
226
|
background: transparent;
|
|
@@ -241,34 +241,34 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
241
241
|
&::-ms-reveal {
|
|
242
242
|
display: none;
|
|
243
243
|
}
|
|
244
|
-
`,Pf=h.forwardRef(({value:n="",onChange:r,placeholder:i="",disabled:s=!1,error:l,label:u,helperText:d,leftIcon:p,rightIcon:m,borderColor:v,bgColor:x,..._},E)=>{const T=ge(),k=T.__hd__.input,[I,P]=h.useState(!1),z=h.useRef(null),[A,R]=h.useState(n),[H,U]=h.useState(!1),[G,q]=h.useState(null),Y=_.type==="password";h.useEffect(()=>{R(n)},[n]),h.useEffect(()=>{if(Y&&z.current&&G!==null){const Q=z.current,ee=G;requestAnimationFrame(()=>{Q&&(Q.focus(),Q.setSelectionRange(ee,ee))}),q(null)}},[H,Y,G]),h.useImperativeHandle(E,()=>({focus:()=>{var Q;return(Q=z.current)==null?void 0:Q.focus()},blur:()=>{var Q;return(Q=z.current)==null?void 0:Q.blur()},get value(){return A}}));const we=Q=>{var ee;P(!0),(ee=_.onFocus)==null||ee.call(_,Q)},Ce=Q=>{var ee;P(!1),(ee=_.onBlur)==null||ee.call(_,Q)},Ee=Q=>{const ee=Q.target.value;R(ee),r==null||r(ee)},j=Je(T,k.iconSize),B=s?k.disabledTextColor:k.iconColor,K=Y&&H?"text":_.type,ie=()=>{Y&&z.current&&(q(z.current.selectionStart),U(!H))};return y.jsxs(X,{fw:!0,children:[u&&y.jsx(X,{mb:"xs",children:y.jsx(qe,{fontWeight:"medium",children:u})}),y.jsxs(Cw,{$isFocused:I,$isDisabled:s,$error:!!l,$borderColor:v,$bgColor:x,children:[p&&y.jsx(X,{mr:k.iconSpacing,children:y.jsx(Ft,{type:"icon",art:p,size:j,color:B})}),y.jsx(Sw,{ref:z,value:A,onChange:Ee,onFocus:we,onBlur:Ce,placeholder:i,disabled:s,..._,type:K}),Y&&I?y.jsx(X,{ml:k.iconSpacing,onClick:ie,onMouseDown:Q=>Q.preventDefault(),cursor:"pointer","data-testid":"password-toggle-icon",children:y.jsx(Ft,{type:"icon",art:H?ff:hf,size:j,color:B})}):!Y&&m&&y.jsx(X,{ml:k.iconSpacing,children:y.jsx(Ft,{type:"icon",art:m,size:j,color:B})})]}),(l||d)&&y.jsx(X,{mt:"xs",children:y.jsx(qe,{fontSize:"xs",color:l?"danger":"grey600",children:l||d})})]})});Pf.displayName="Input";const Ew=["p","padding","pt","pb","pl","pr","px","py","gap","display","flexDirection","alignItems","justifyContent","flexWrap","flexGrow","flexShrink","flexBasis","flex"];function Aw(n){const r={},i={},s={};for(const l in n)if(Object.prototype.hasOwnProperty.call(n,l)){const u=n[l];Ew.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 Tw(n,r){var R,H;const{listProps:i,contentProps:s,containerProps:l}=Aw(n),{data:u=[],renderItem:d,keyExtractor:p,ListEmptyComponent:m,ListHeaderComponent:v,ListFooterComponent:x,ItemSeparatorComponent:_,itemGap:E}=i,T=ge(),k=((R=T.__hd__.list)==null?void 0:R.defaultGap)||"xs",I=E||k,P=((H=T.__hd__.list)==null?void 0:H.defaultPadding)||"0px",z=s.p??s.padding??P,A=()=>u.length===0&&m?m:u.map((U,G)=>{const q=p?p(U,G):String(G),Y=d?d(U,G):null;return Y?y.jsxs(h.Fragment,{children:[Y,_&&G<u.length-1?_:null]},q):null});return y.jsx(X,{ref:r,overflow:"auto",width:"100%",...l,children:y.jsxs(X,{display:"flex",flexDirection:"column",gap:I,p:z,...s,children:[v,A(),x]})})}const $w=h.forwardRef(Tw);/*! @vimeo/player v2.27.1 | (c) 2025 Vimeo | MIT License | https://github.com/vimeo/player.js */function rd(n,r){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(n);r&&(s=s.filter(function(l){return Object.getOwnPropertyDescriptor(n,l).enumerable})),i.push.apply(i,s)}return i}function id(n){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{};r%2?rd(Object(i),!0).forEach(function(s){so(n,s,i[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):rd(Object(i)).forEach(function(s){Object.defineProperty(n,s,Object.getOwnPropertyDescriptor(i,s))})}return n}function it(){it=function(){return n};var n={},r=Object.prototype,i=r.hasOwnProperty,s=Object.defineProperty||function(j,B,K){j[B]=K.value},l=typeof Symbol=="function"?Symbol:{},u=l.iterator||"@@iterator",d=l.asyncIterator||"@@asyncIterator",p=l.toStringTag||"@@toStringTag";function m(j,B,K){return Object.defineProperty(j,B,{value:K,enumerable:!0,configurable:!0,writable:!0}),j[B]}try{m({},"")}catch{m=function(B,K,ie){return B[K]=ie}}function v(j,B,K,ie){var Q=B&&B.prototype instanceof E?B:E,ee=Object.create(Q.prototype),oe=new we(ie||[]);return s(ee,"_invoke",{value:U(j,K,oe)}),ee}function x(j,B,K){try{return{type:"normal",arg:j.call(B,K)}}catch(ie){return{type:"throw",arg:ie}}}n.wrap=v;var _={};function E(){}function T(){}function k(){}var I={};m(I,u,function(){return this});var P=Object.getPrototypeOf,z=P&&P(P(Ce([])));z&&z!==r&&i.call(z,u)&&(I=z);var A=k.prototype=E.prototype=Object.create(I);function R(j){["next","throw","return"].forEach(function(B){m(j,B,function(K){return this._invoke(B,K)})})}function H(j,B){function K(Q,ee,oe,$e){var ke=x(j[Q],j,ee);if(ke.type!=="throw"){var ze=ke.arg,St=ze.value;return St&&typeof St=="object"&&i.call(St,"__await")?B.resolve(St.__await).then(function(De){K("next",De,oe,$e)},function(De){K("throw",De,oe,$e)}):B.resolve(St).then(function(De){ze.value=De,oe(ze)},function(De){return K("throw",De,oe,$e)})}$e(ke.arg)}var ie;s(this,"_invoke",{value:function(Q,ee){function oe(){return new B(function($e,ke){K(Q,ee,$e,ke)})}return ie=ie?ie.then(oe,oe):oe()}})}function U(j,B,K){var ie="suspendedStart";return function(Q,ee){if(ie==="executing")throw new Error("Generator is already running");if(ie==="completed"){if(Q==="throw")throw ee;return Ee()}for(K.method=Q,K.arg=ee;;){var oe=K.delegate;if(oe){var $e=G(oe,K);if($e){if($e===_)continue;return $e}}if(K.method==="next")K.sent=K._sent=K.arg;else if(K.method==="throw"){if(ie==="suspendedStart")throw ie="completed",K.arg;K.dispatchException(K.arg)}else K.method==="return"&&K.abrupt("return",K.arg);ie="executing";var ke=x(j,B,K);if(ke.type==="normal"){if(ie=K.done?"completed":"suspendedYield",ke.arg===_)continue;return{value:ke.arg,done:K.done}}ke.type==="throw"&&(ie="completed",K.method="throw",K.arg=ke.arg)}}}function G(j,B){var K=B.method,ie=j.iterator[K];if(ie===void 0)return B.delegate=null,K==="throw"&&j.iterator.return&&(B.method="return",B.arg=void 0,G(j,B),B.method==="throw")||K!=="return"&&(B.method="throw",B.arg=new TypeError("The iterator does not provide a '"+K+"' method")),_;var Q=x(ie,j.iterator,B.arg);if(Q.type==="throw")return B.method="throw",B.arg=Q.arg,B.delegate=null,_;var ee=Q.arg;return ee?ee.done?(B[j.resultName]=ee.value,B.next=j.nextLoc,B.method!=="return"&&(B.method="next",B.arg=void 0),B.delegate=null,_):ee:(B.method="throw",B.arg=new TypeError("iterator result is not an object"),B.delegate=null,_)}function q(j){var B={tryLoc:j[0]};1 in j&&(B.catchLoc=j[1]),2 in j&&(B.finallyLoc=j[2],B.afterLoc=j[3]),this.tryEntries.push(B)}function Y(j){var B=j.completion||{};B.type="normal",delete B.arg,j.completion=B}function we(j){this.tryEntries=[{tryLoc:"root"}],j.forEach(q,this),this.reset(!0)}function Ce(j){if(j){var B=j[u];if(B)return B.call(j);if(typeof j.next=="function")return j;if(!isNaN(j.length)){var K=-1,ie=function Q(){for(;++K<j.length;)if(i.call(j,K))return Q.value=j[K],Q.done=!1,Q;return Q.value=void 0,Q.done=!0,Q};return ie.next=ie}}return{next:Ee}}function Ee(){return{value:void 0,done:!0}}return T.prototype=k,s(A,"constructor",{value:k,configurable:!0}),s(k,"constructor",{value:T,configurable:!0}),T.displayName=m(k,p,"GeneratorFunction"),n.isGeneratorFunction=function(j){var B=typeof j=="function"&&j.constructor;return!!B&&(B===T||(B.displayName||B.name)==="GeneratorFunction")},n.mark=function(j){return Object.setPrototypeOf?Object.setPrototypeOf(j,k):(j.__proto__=k,m(j,p,"GeneratorFunction")),j.prototype=Object.create(A),j},n.awrap=function(j){return{__await:j}},R(H.prototype),m(H.prototype,d,function(){return this}),n.AsyncIterator=H,n.async=function(j,B,K,ie,Q){Q===void 0&&(Q=Promise);var ee=new H(v(j,B,K,ie),Q);return n.isGeneratorFunction(B)?ee:ee.next().then(function(oe){return oe.done?oe.value:ee.next()})},R(A),m(A,p,"Generator"),m(A,u,function(){return this}),m(A,"toString",function(){return"[object Generator]"}),n.keys=function(j){var B=Object(j),K=[];for(var ie in B)K.push(ie);return K.reverse(),function Q(){for(;K.length;){var ee=K.pop();if(ee in B)return Q.value=ee,Q.done=!1,Q}return Q.done=!0,Q}},n.values=Ce,we.prototype={constructor:we,reset:function(j){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(Y),!j)for(var B in this)B.charAt(0)==="t"&&i.call(this,B)&&!isNaN(+B.slice(1))&&(this[B]=void 0)},stop:function(){this.done=!0;var j=this.tryEntries[0].completion;if(j.type==="throw")throw j.arg;return this.rval},dispatchException:function(j){if(this.done)throw j;var B=this;function K(ke,ze){return ee.type="throw",ee.arg=j,B.next=ke,ze&&(B.method="next",B.arg=void 0),!!ze}for(var ie=this.tryEntries.length-1;ie>=0;--ie){var Q=this.tryEntries[ie],ee=Q.completion;if(Q.tryLoc==="root")return K("end");if(Q.tryLoc<=this.prev){var oe=i.call(Q,"catchLoc"),$e=i.call(Q,"finallyLoc");if(oe&&$e){if(this.prev<Q.catchLoc)return K(Q.catchLoc,!0);if(this.prev<Q.finallyLoc)return K(Q.finallyLoc)}else if(oe){if(this.prev<Q.catchLoc)return K(Q.catchLoc,!0)}else{if(!$e)throw new Error("try statement without catch or finally");if(this.prev<Q.finallyLoc)return K(Q.finallyLoc)}}}},abrupt:function(j,B){for(var K=this.tryEntries.length-1;K>=0;--K){var ie=this.tryEntries[K];if(ie.tryLoc<=this.prev&&i.call(ie,"finallyLoc")&&this.prev<ie.finallyLoc){var Q=ie;break}}Q&&(j==="break"||j==="continue")&&Q.tryLoc<=B&&B<=Q.finallyLoc&&(Q=null);var ee=Q?Q.completion:{};return ee.type=j,ee.arg=B,Q?(this.method="next",this.next=Q.finallyLoc,_):this.complete(ee)},complete:function(j,B){if(j.type==="throw")throw j.arg;return j.type==="break"||j.type==="continue"?this.next=j.arg:j.type==="return"?(this.rval=this.arg=j.arg,this.method="return",this.next="end"):j.type==="normal"&&B&&(this.next=B),_},finish:function(j){for(var B=this.tryEntries.length-1;B>=0;--B){var K=this.tryEntries[B];if(K.finallyLoc===j)return this.complete(K.completion,K.afterLoc),Y(K),_}},catch:function(j){for(var B=this.tryEntries.length-1;B>=0;--B){var K=this.tryEntries[B];if(K.tryLoc===j){var ie=K.completion;if(ie.type==="throw"){var Q=ie.arg;Y(K)}return Q}}throw new Error("illegal catch attempt")},delegateYield:function(j,B,K){return this.delegate={iterator:Ce(j),resultName:B,nextLoc:K},this.method==="next"&&(this.arg=void 0),_}},n}function od(n,r,i,s,l,u,d){try{var p=n[u](d),m=p.value}catch(v){i(v);return}p.done?r(m):Promise.resolve(m).then(s,l)}function Xn(n){return function(){var r=this,i=arguments;return new Promise(function(s,l){var u=n.apply(r,i);function d(m){od(u,s,l,d,p,"next",m)}function p(m){od(u,s,l,d,p,"throw",m)}d(void 0)})}}function Mf(n,r){if(!(n instanceof r))throw new TypeError("Cannot call a class as a function")}function kw(n,r){for(var i=0;i<r.length;i++){var s=r[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(n,zf(s.key),s)}}function Lf(n,r,i){return r&&kw(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n}function so(n,r,i){return r=zf(r),r in n?Object.defineProperty(n,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[r]=i,n}function Rw(n,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(r&&r.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),r&&si(n,r)}function ai(n){return ai=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},ai(n)}function si(n,r){return si=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(s,l){return s.__proto__=l,s},si(n,r)}function Ff(){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 lo(n,r,i){return Ff()?lo=Reflect.construct.bind():lo=function(l,u,d){var p=[null];p.push.apply(p,u);var m=Function.bind.apply(l,p),v=new m;return d&&si(v,d.prototype),v},lo.apply(null,arguments)}function Iw(n){return Function.toString.call(n).indexOf("[native code]")!==-1}function gs(n){var r=typeof Map=="function"?new Map:void 0;return gs=function(s){if(s===null||!Iw(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 lo(s,arguments,ai(this).constructor)}return l.prototype=Object.create(s.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),si(l,s)},gs(n)}function uo(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function Ow(n,r){if(r&&(typeof r=="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return uo(n)}function Pw(n){var r=Ff();return function(){var s=ai(n),l;if(r){var u=ai(this).constructor;l=Reflect.construct(s,arguments,u)}else l=s.apply(this,arguments);return Ow(this,l)}}function Mw(n,r){if(typeof n!="object"||n===null)return n;var i=n[Symbol.toPrimitive];if(i!==void 0){var s=i.call(n,r);if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}function zf(n){var r=Mw(n,"string");return typeof r=="symbol"?r:String(r)}var Bf=typeof global<"u"&&{}.toString.call(global)==="[object global]";function ad(n,r){return n.indexOf(r.toLowerCase())===0?n:"".concat(r.toLowerCase()).concat(n.substr(0,1).toUpperCase()).concat(n.substr(1))}function Lw(n){return!!(n&&n.nodeType===1&&"nodeName"in n&&n.ownerDocument&&n.ownerDocument.defaultView)}function Fw(n){return!isNaN(parseFloat(n))&&isFinite(n)&&Math.floor(n)==n}function Jn(n){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(n)}function Wf(n){var r=/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/;return r.test(n)}function zw(n){for(var r=(n||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),i=(r&&r[1]||"").replace("player.",""),s=[".videoji.hk",".vimeo.work",".videoji.cn"],l=0,u=s;l<u.length;l++){var d=u[l];if(i.endsWith(d))return i}return"vimeo.com"}function jf(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=n.id,i=n.url,s=r||i;if(!s)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(Fw(s))return"https://vimeo.com/".concat(s);if(Jn(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 sd=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",d=typeof i=="string"?[i]:i;return d.forEach(function(p){r[l](p,s)}),{cancel:function(){return d.forEach(function(m){return r[u](m,s)})}}},Bw=typeof Array.prototype.indexOf<"u",Ww=typeof window<"u"&&typeof window.postMessage<"u";if(!Bf&&(!Bw||!Ww))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var Sr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function jw(n,r){return r={exports:{}},n(r,r.exports),r.exports}/*!
|
|
244
|
+
`,Fv=(n,i)=>{const{value:r="",onChange:s,placeholder:l="",disabled:u=!1,error:h,label:g,helperText:v,leftIcon:m,rightIcon:k,borderColor:R,bgColor:b,multiline:x,...y}=n,C=he(),_=C.__hd__.input,[L,I]=f.useState(!1),T=f.useRef(null),[O,F]=f.useState(r),[N,Z]=f.useState(!1),[U,de]=f.useState(null),pe=!x&&y.type==="password";f.useEffect(()=>{F(r)},[r]),f.useEffect(()=>{if(pe&&T.current&&U!==null){const K=T.current,me=U;requestAnimationFrame(()=>{K&&(K.focus(),K.setSelectionRange(me,me))}),de(null)}},[N,pe,U]),f.useImperativeHandle(i,()=>({focus:()=>{var K;return(K=T.current)==null?void 0:K.focus()},blur:()=>{var K;return(K=T.current)==null?void 0:K.blur()},get value(){return O}}));const Ce=K=>{I(!0),n.onFocus&&n.onFocus(K)},W=K=>{I(!1),n.onBlur&&n.onBlur(K)},B=K=>{const me=K.target.value;F(me),s==null||s(me)},H=it(C,_.iconSize),ee=u?_.disabledTextColor:_.iconColor,X=()=>{pe&&T.current&&(de(T.current.selectionStart),Z(!N))},Q={ref:T,value:O,onChange:B,onFocus:Ce,onBlur:W,placeholder:l,disabled:u};return S.jsxs(V,{fw:!0,children:[g&&S.jsx(V,{mb:"xs",children:S.jsx(Ve,{fontWeight:"medium",children:g})}),S.jsxs(Lv,{$isFocused:L,$isDisabled:u,$error:!!h,$borderColor:R,$bgColor:b,children:[m&&S.jsx(V,{mr:_.iconSpacing,children:S.jsx(jt,{type:"icon",art:m,size:H,color:ee})}),x?S.jsx(Tu,{as:"textarea",...Q,...y}):S.jsx(Tu,{...Q,...y,type:N?"text":y.type}),pe&&L?S.jsx(V,{ml:_.iconSpacing,onClick:X,onMouseDown:K=>K.preventDefault(),cursor:"pointer","data-testid":"password-toggle-icon",children:S.jsx(jt,{type:"icon",art:N?Fc:zc,size:H,color:ee})}):!pe&&k&&S.jsx(V,{ml:_.iconSpacing,children:S.jsx(jt,{type:"icon",art:k,size:H,color:ee})})]}),(h||v)&&S.jsx(V,{mt:"xs",children:S.jsx(Ve,{fontSize:"xs",color:h?"danger":"grey600",children:h||v})})]})},zv=f.forwardRef(Fv),Bv=["p","padding","pt","pb","pl","pr","px","py","gap","display","flexDirection","alignItems","justifyContent","flexWrap","flexGrow","flexShrink","flexBasis","flex"];function jv(n){const i={},r={},s={};for(const l in n)if(Object.prototype.hasOwnProperty.call(n,l)){const u=n[l];Bv.includes(l)?i[l]=u:l!=="data"&&l!=="renderItem"&&l!=="keyExtractor"&&l!=="ListEmptyComponent"&&l!=="ListHeaderComponent"&&l!=="ListFooterComponent"&&l!=="ItemSeparatorComponent"&&l!=="itemGap"?r[l]=u:s[l]=u}return{listProps:s,contentProps:i,containerProps:r}}function Wv(n,i){var T,O;const{listProps:r,contentProps:s,containerProps:l}=jv(n),{data:u=[],renderItem:h,keyExtractor:g,ListEmptyComponent:v,ListHeaderComponent:m,ListFooterComponent:k,ItemSeparatorComponent:R,itemGap:b}=r,x=he(),y=((T=x.__hd__.list)==null?void 0:T.defaultGap)||"xs",C=b||y,_=((O=x.__hd__.list)==null?void 0:O.defaultPadding)||"0px",L=s.p??s.padding??_,I=()=>u.length===0&&v?v:u.map((F,N)=>{const Z=g?g(F,N):String(N),U=h?h(F,N):null;return U?S.jsxs(f.Fragment,{children:[U,R&&N<u.length-1?R:null]},Z):null});return S.jsx(V,{ref:i,overflow:"auto",width:"100%",...l,children:S.jsxs(V,{display:"flex",flexDirection:"column",gap:C,p:L,...s,children:[m,I(),k]})})}const Dv=f.forwardRef(Wv);/*! @vimeo/player v2.27.1 | (c) 2025 Vimeo | MIT License | https://github.com/vimeo/player.js */function ku(n,i){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(n);i&&(s=s.filter(function(l){return Object.getOwnPropertyDescriptor(n,l).enumerable})),r.push.apply(r,s)}return r}function $u(n){for(var i=1;i<arguments.length;i++){var r=arguments[i]!=null?arguments[i]:{};i%2?ku(Object(r),!0).forEach(function(s){Ci(n,s,r[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):ku(Object(r)).forEach(function(s){Object.defineProperty(n,s,Object.getOwnPropertyDescriptor(r,s))})}return n}function lt(){lt=function(){return n};var n={},i=Object.prototype,r=i.hasOwnProperty,s=Object.defineProperty||function(W,B,H){W[B]=H.value},l=typeof Symbol=="function"?Symbol:{},u=l.iterator||"@@iterator",h=l.asyncIterator||"@@asyncIterator",g=l.toStringTag||"@@toStringTag";function v(W,B,H){return Object.defineProperty(W,B,{value:H,enumerable:!0,configurable:!0,writable:!0}),W[B]}try{v({},"")}catch{v=function(B,H,ee){return B[H]=ee}}function m(W,B,H,ee){var X=B&&B.prototype instanceof b?B:b,Q=Object.create(X.prototype),K=new de(ee||[]);return s(Q,"_invoke",{value:F(W,H,K)}),Q}function k(W,B,H){try{return{type:"normal",arg:W.call(B,H)}}catch(ee){return{type:"throw",arg:ee}}}n.wrap=m;var R={};function b(){}function x(){}function y(){}var C={};v(C,u,function(){return this});var _=Object.getPrototypeOf,L=_&&_(_(pe([])));L&&L!==i&&r.call(L,u)&&(C=L);var I=y.prototype=b.prototype=Object.create(C);function T(W){["next","throw","return"].forEach(function(B){v(W,B,function(H){return this._invoke(B,H)})})}function O(W,B){function H(X,Q,K,me){var Se=k(W[X],W,Q);if(Se.type!=="throw"){var Re=Se.arg,Ue=Re.value;return Ue&&typeof Ue=="object"&&r.call(Ue,"__await")?B.resolve(Ue.__await).then(function(Oe){H("next",Oe,K,me)},function(Oe){H("throw",Oe,K,me)}):B.resolve(Ue).then(function(Oe){Re.value=Oe,K(Re)},function(Oe){return H("throw",Oe,K,me)})}me(Se.arg)}var ee;s(this,"_invoke",{value:function(X,Q){function K(){return new B(function(me,Se){H(X,Q,me,Se)})}return ee=ee?ee.then(K,K):K()}})}function F(W,B,H){var ee="suspendedStart";return function(X,Q){if(ee==="executing")throw new Error("Generator is already running");if(ee==="completed"){if(X==="throw")throw Q;return Ce()}for(H.method=X,H.arg=Q;;){var K=H.delegate;if(K){var me=N(K,H);if(me){if(me===R)continue;return me}}if(H.method==="next")H.sent=H._sent=H.arg;else if(H.method==="throw"){if(ee==="suspendedStart")throw ee="completed",H.arg;H.dispatchException(H.arg)}else H.method==="return"&&H.abrupt("return",H.arg);ee="executing";var Se=k(W,B,H);if(Se.type==="normal"){if(ee=H.done?"completed":"suspendedYield",Se.arg===R)continue;return{value:Se.arg,done:H.done}}Se.type==="throw"&&(ee="completed",H.method="throw",H.arg=Se.arg)}}}function N(W,B){var H=B.method,ee=W.iterator[H];if(ee===void 0)return B.delegate=null,H==="throw"&&W.iterator.return&&(B.method="return",B.arg=void 0,N(W,B),B.method==="throw")||H!=="return"&&(B.method="throw",B.arg=new TypeError("The iterator does not provide a '"+H+"' method")),R;var X=k(ee,W.iterator,B.arg);if(X.type==="throw")return B.method="throw",B.arg=X.arg,B.delegate=null,R;var Q=X.arg;return Q?Q.done?(B[W.resultName]=Q.value,B.next=W.nextLoc,B.method!=="return"&&(B.method="next",B.arg=void 0),B.delegate=null,R):Q:(B.method="throw",B.arg=new TypeError("iterator result is not an object"),B.delegate=null,R)}function Z(W){var B={tryLoc:W[0]};1 in W&&(B.catchLoc=W[1]),2 in W&&(B.finallyLoc=W[2],B.afterLoc=W[3]),this.tryEntries.push(B)}function U(W){var B=W.completion||{};B.type="normal",delete B.arg,W.completion=B}function de(W){this.tryEntries=[{tryLoc:"root"}],W.forEach(Z,this),this.reset(!0)}function pe(W){if(W){var B=W[u];if(B)return B.call(W);if(typeof W.next=="function")return W;if(!isNaN(W.length)){var H=-1,ee=function X(){for(;++H<W.length;)if(r.call(W,H))return X.value=W[H],X.done=!1,X;return X.value=void 0,X.done=!0,X};return ee.next=ee}}return{next:Ce}}function Ce(){return{value:void 0,done:!0}}return x.prototype=y,s(I,"constructor",{value:y,configurable:!0}),s(y,"constructor",{value:x,configurable:!0}),x.displayName=v(y,g,"GeneratorFunction"),n.isGeneratorFunction=function(W){var B=typeof W=="function"&&W.constructor;return!!B&&(B===x||(B.displayName||B.name)==="GeneratorFunction")},n.mark=function(W){return Object.setPrototypeOf?Object.setPrototypeOf(W,y):(W.__proto__=y,v(W,g,"GeneratorFunction")),W.prototype=Object.create(I),W},n.awrap=function(W){return{__await:W}},T(O.prototype),v(O.prototype,h,function(){return this}),n.AsyncIterator=O,n.async=function(W,B,H,ee,X){X===void 0&&(X=Promise);var Q=new O(m(W,B,H,ee),X);return n.isGeneratorFunction(B)?Q:Q.next().then(function(K){return K.done?K.value:Q.next()})},T(I),v(I,g,"Generator"),v(I,u,function(){return this}),v(I,"toString",function(){return"[object Generator]"}),n.keys=function(W){var B=Object(W),H=[];for(var ee in B)H.push(ee);return H.reverse(),function X(){for(;H.length;){var Q=H.pop();if(Q in B)return X.value=Q,X.done=!1,X}return X.done=!0,X}},n.values=pe,de.prototype={constructor:de,reset:function(W){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(U),!W)for(var B in this)B.charAt(0)==="t"&&r.call(this,B)&&!isNaN(+B.slice(1))&&(this[B]=void 0)},stop:function(){this.done=!0;var W=this.tryEntries[0].completion;if(W.type==="throw")throw W.arg;return this.rval},dispatchException:function(W){if(this.done)throw W;var B=this;function H(Se,Re){return Q.type="throw",Q.arg=W,B.next=Se,Re&&(B.method="next",B.arg=void 0),!!Re}for(var ee=this.tryEntries.length-1;ee>=0;--ee){var X=this.tryEntries[ee],Q=X.completion;if(X.tryLoc==="root")return H("end");if(X.tryLoc<=this.prev){var K=r.call(X,"catchLoc"),me=r.call(X,"finallyLoc");if(K&&me){if(this.prev<X.catchLoc)return H(X.catchLoc,!0);if(this.prev<X.finallyLoc)return H(X.finallyLoc)}else if(K){if(this.prev<X.catchLoc)return H(X.catchLoc,!0)}else{if(!me)throw new Error("try statement without catch or finally");if(this.prev<X.finallyLoc)return H(X.finallyLoc)}}}},abrupt:function(W,B){for(var H=this.tryEntries.length-1;H>=0;--H){var ee=this.tryEntries[H];if(ee.tryLoc<=this.prev&&r.call(ee,"finallyLoc")&&this.prev<ee.finallyLoc){var X=ee;break}}X&&(W==="break"||W==="continue")&&X.tryLoc<=B&&B<=X.finallyLoc&&(X=null);var Q=X?X.completion:{};return Q.type=W,Q.arg=B,X?(this.method="next",this.next=X.finallyLoc,R):this.complete(Q)},complete:function(W,B){if(W.type==="throw")throw W.arg;return W.type==="break"||W.type==="continue"?this.next=W.arg:W.type==="return"?(this.rval=this.arg=W.arg,this.method="return",this.next="end"):W.type==="normal"&&B&&(this.next=B),R},finish:function(W){for(var B=this.tryEntries.length-1;B>=0;--B){var H=this.tryEntries[B];if(H.finallyLoc===W)return this.complete(H.completion,H.afterLoc),U(H),R}},catch:function(W){for(var B=this.tryEntries.length-1;B>=0;--B){var H=this.tryEntries[B];if(H.tryLoc===W){var ee=H.completion;if(ee.type==="throw"){var X=ee.arg;U(H)}return X}}throw new Error("illegal catch attempt")},delegateYield:function(W,B,H){return this.delegate={iterator:pe(W),resultName:B,nextLoc:H},this.method==="next"&&(this.arg=void 0),R}},n}function Ru(n,i,r,s,l,u,h){try{var g=n[u](h),v=g.value}catch(m){r(m);return}g.done?i(v):Promise.resolve(v).then(s,l)}function Ln(n){return function(){var i=this,r=arguments;return new Promise(function(s,l){var u=n.apply(i,r);function h(v){Ru(u,s,l,h,g,"next",v)}function g(v){Ru(u,s,l,h,g,"throw",v)}h(void 0)})}}function ed(n,i){if(!(n instanceof i))throw new TypeError("Cannot call a class as a function")}function Nv(n,i){for(var r=0;r<i.length;r++){var s=i[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(n,rd(s.key),s)}}function td(n,i,r){return i&&Nv(n.prototype,i),Object.defineProperty(n,"prototype",{writable:!1}),n}function Ci(n,i,r){return i=rd(i),i in n?Object.defineProperty(n,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[i]=r,n}function Zv(n,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(i&&i.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),i&&Ar(n,i)}function Er(n){return Er=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Er(n)}function Ar(n,i){return Ar=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(s,l){return s.__proto__=l,s},Ar(n,i)}function nd(){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 Si(n,i,r){return nd()?Si=Reflect.construct.bind():Si=function(l,u,h){var g=[null];g.push.apply(g,u);var v=Function.bind.apply(l,g),m=new v;return h&&Ar(m,h.prototype),m},Si.apply(null,arguments)}function Hv(n){return Function.toString.call(n).indexOf("[native code]")!==-1}function ra(n){var i=typeof Map=="function"?new Map:void 0;return ra=function(s){if(s===null||!Hv(s))return s;if(typeof s!="function")throw new TypeError("Super expression must either be null or a function");if(typeof i<"u"){if(i.has(s))return i.get(s);i.set(s,l)}function l(){return Si(s,arguments,Er(this).constructor)}return l.prototype=Object.create(s.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),Ar(l,s)},ra(n)}function Ei(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function Vv(n,i){if(i&&(typeof i=="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ei(n)}function Uv(n){var i=nd();return function(){var s=Er(n),l;if(i){var u=Er(this).constructor;l=Reflect.construct(s,arguments,u)}else l=s.apply(this,arguments);return Vv(this,l)}}function qv(n,i){if(typeof n!="object"||n===null)return n;var r=n[Symbol.toPrimitive];if(r!==void 0){var s=r.call(n,i);if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}function rd(n){var i=qv(n,"string");return typeof i=="symbol"?i:String(i)}var id=typeof global<"u"&&{}.toString.call(global)==="[object global]";function Iu(n,i){return n.indexOf(i.toLowerCase())===0?n:"".concat(i.toLowerCase()).concat(n.substr(0,1).toUpperCase()).concat(n.substr(1))}function Gv(n){return!!(n&&n.nodeType===1&&"nodeName"in n&&n.ownerDocument&&n.ownerDocument.defaultView)}function Kv(n){return!isNaN(parseFloat(n))&&isFinite(n)&&Math.floor(n)==n}function zn(n){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(n)}function od(n){var i=/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/;return i.test(n)}function Xv(n){for(var i=(n||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),r=(i&&i[1]||"").replace("player.",""),s=[".videoji.hk",".vimeo.work",".videoji.cn"],l=0,u=s;l<u.length;l++){var h=u[l];if(r.endsWith(h))return r}return"vimeo.com"}function ad(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=n.id,r=n.url,s=i||r;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(Kv(s))return"https://vimeo.com/".concat(s);if(zn(s))return s.replace("http:","https:");throw i?new TypeError("“".concat(i,"” is not a valid video id.")):new TypeError("“".concat(s,"” is not a vimeo.com url."))}var Ou=function(i,r,s){var l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"addEventListener",u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"removeEventListener",h=typeof r=="string"?[r]:r;return h.forEach(function(g){i[l](g,s)}),{cancel:function(){return h.forEach(function(v){return i[u](v,s)})}}},Yv=typeof Array.prototype.indexOf<"u",Qv=typeof window<"u"&&typeof window.postMessage<"u";if(!id&&(!Yv||!Qv))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var ir=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Jv(n,i){return i={exports:{}},n(i,i.exports),i.exports}/*!
|
|
245
245
|
* weakmap-polyfill v2.0.4 - ECMAScript6 WeakMap polyfill
|
|
246
246
|
* https://github.com/polygonplanet/weakmap-polyfill
|
|
247
247
|
* Copyright (c) 2015-2021 polygonplanet <polygon.planet.aqua@gmail.com>
|
|
248
248
|
* @license MIT
|
|
249
|
-
*/(function(n){if(n.WeakMap)return;var
|
|
249
|
+
*/(function(n){if(n.WeakMap)return;var i=Object.prototype.hasOwnProperty,r=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{value:1}).x===1}catch{}}(),s=function(u,h,g){r?Object.defineProperty(u,h,{configurable:!0,writable:!0,value:g}):u[h]=g};n.WeakMap=function(){function u(){if(this===void 0)throw new TypeError("Constructor WeakMap requires 'new'");if(s(this,"_id",g("_WeakMap")),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}s(u.prototype,"delete",function(m){if(h(this,"delete"),!l(m))return!1;var k=m[this._id];return k&&k[0]===m?(delete m[this._id],!0):!1}),s(u.prototype,"get",function(m){if(h(this,"get"),!!l(m)){var k=m[this._id];if(k&&k[0]===m)return k[1]}}),s(u.prototype,"has",function(m){if(h(this,"has"),!l(m))return!1;var k=m[this._id];return!!(k&&k[0]===m)}),s(u.prototype,"set",function(m,k){if(h(this,"set"),!l(m))throw new TypeError("Invalid value used as weak map key");var R=m[this._id];return R&&R[0]===m?(R[1]=k,this):(s(m,this._id,[m,k]),this)});function h(m,k){if(!l(m)||!i.call(m,"_id"))throw new TypeError(k+" method called on incompatible receiver "+typeof m)}function g(m){return m+"_"+v()+"."+v()}function v(){return Math.random().toString().substring(2)}return s(u,"_polyfill",!0),u}();function l(u){return Object(u)===u}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:ir);var Bt=Jv(function(n){/*! Native Promise Only
|
|
250
250
|
v0.8.1 (c) Kyle Simpson
|
|
251
251
|
MIT License: http://getify.mit-license.org
|
|
252
|
-
*/(function(i,s,l){s[i]=s[i]||l(),n.exports&&(n.exports=s[i])})("Promise",Sr,function(){var i,s,l,u=Object.prototype.toString,d=typeof setImmediate<"u"?function(R){return setImmediate(R)}:setTimeout;try{Object.defineProperty({},"x",{}),i=function(R,H,U,G){return Object.defineProperty(R,H,{value:U,writable:!0,configurable:G!==!1})}}catch{i=function(H,U,G){return H[U]=G,H}}l=function(){var R,H,U;function G(q,Y){this.fn=q,this.self=Y,this.next=void 0}return{add:function(Y,we){U=new G(Y,we),H?H.next=U:R=U,H=U,U=void 0},drain:function(){var Y=R;for(R=H=s=void 0;Y;)Y.fn.call(Y.self),Y=Y.next}}}();function p(A,R){l.add(A,R),s||(s=d(l.drain))}function m(A){var R,H=typeof A;return A!=null&&(H=="object"||H=="function")&&(R=A.then),typeof R=="function"?R:!1}function v(){for(var A=0;A<this.chain.length;A++)x(this,this.state===1?this.chain[A].success:this.chain[A].failure,this.chain[A]);this.chain.length=0}function x(A,R,H){var U,G;try{R===!1?H.reject(A.msg):(R===!0?U=A.msg:U=R.call(void 0,A.msg),U===H.promise?H.reject(TypeError("Promise-chain cycle")):(G=m(U))?G.call(U,H.resolve,H.reject):H.resolve(U))}catch(q){H.reject(q)}}function _(A){var R,H=this;if(!H.triggered){H.triggered=!0,H.def&&(H=H.def);try{(R=m(A))?p(function(){var U=new k(H);try{R.call(A,function(){_.apply(U,arguments)},function(){E.apply(U,arguments)})}catch(G){E.call(U,G)}}):(H.msg=A,H.state=1,H.chain.length>0&&p(v,H))}catch(U){E.call(new k(H),U)}}}function E(A){var R=this;R.triggered||(R.triggered=!0,R.def&&(R=R.def),R.msg=A,R.state=2,R.chain.length>0&&p(v,R))}function T(A,R,H,U){for(var G=0;G<R.length;G++)(function(Y){A.resolve(R[Y]).then(function(Ce){H(Y,Ce)},U)})(G)}function k(A){this.def=A,this.triggered=!1}function I(A){this.promise=A,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function P(A){if(typeof A!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var R=new I(this);this.then=function(U,G){var q={success:typeof U=="function"?U:!0,failure:typeof G=="function"?G:!1};return q.promise=new this.constructor(function(we,Ce){if(typeof we!="function"||typeof Ce!="function")throw TypeError("Not a function");q.resolve=we,q.reject=Ce}),R.chain.push(q),R.state!==0&&p(v,R),q.promise},this.catch=function(U){return this.then(void 0,U)};try{A.call(void 0,function(U){_.call(R,U)},function(U){E.call(R,U)})}catch(H){E.call(R,H)}}var z=i({},"constructor",P,!1);return P.prototype=z,i(z,"__NPO__",0,!1),i(P,"resolve",function(R){var H=this;return R&&typeof R=="object"&&R.__NPO__===1?R:new H(function(G,q){if(typeof G!="function"||typeof q!="function")throw TypeError("Not a function");G(R)})}),i(P,"reject",function(R){return new this(function(U,G){if(typeof U!="function"||typeof G!="function")throw TypeError("Not a function");G(R)})}),i(P,"all",function(R){var H=this;return u.call(R)!="[object Array]"?H.reject(TypeError("Not an array")):R.length===0?H.resolve([]):new H(function(G,q){if(typeof G!="function"||typeof q!="function")throw TypeError("Not a function");var Y=R.length,we=Array(Y),Ce=0;T(H,R,function(j,B){we[j]=B,++Ce===Y&&G(we)},q)})}),i(P,"race",function(R){var H=this;return u.call(R)!="[object Array]"?H.reject(TypeError("Not an array")):new H(function(G,q){if(typeof G!="function"||typeof q!="function")throw TypeError("Not a function");T(H,R,function(we,Ce){G(Ce)},q)})}),P})}),pn=new WeakMap;function Jr(n,r,i){var s=pn.get(n.element)||{};r in s||(s[r]=[]),s[r].push(i),pn.set(n.element,s)}function po(n,r){var i=pn.get(n.element)||{};return i[r]||[]}function go(n,r,i){var s=pn.get(n.element)||{};if(!s[r])return!0;if(!i)return s[r]=[],pn.set(n.element,s),!0;var l=s[r].indexOf(i);return l!==-1&&s[r].splice(l,1),pn.set(n.element,s),s[r]&&s[r].length===0}function Dw(n,r){var i=po(n,r);if(i.length<1)return!1;var s=i.shift();return go(n,r,s),s}function Hw(n,r){var i=pn.get(n);pn.set(r,i),pn.delete(n)}function Eo(n){if(typeof n=="string")try{n=JSON.parse(n)}catch(r){return console.warn(r),{}}return n}function Kn(n,r,i){if(!(!n.element.contentWindow||!n.element.contentWindow.postMessage)){var s={method:r};i!==void 0&&(s.value=i);var l=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));l>=8&&l<10&&(s=JSON.stringify(s)),n.element.contentWindow.postMessage(s,n.origin)}}function Zw(n,r){r=Eo(r);var i=[],s;if(r.event){if(r.event==="error"){var l=po(n,r.data.method);l.forEach(function(d){var p=new Error(r.data.message);p.name=r.data.name,d.reject(p),go(n,r.data.method,d)})}i=po(n,"event:".concat(r.event)),s=r.data}else if(r.method){var u=Dw(n,r.method);u&&(i.push(u),s=r.value)}i.forEach(function(d){try{if(typeof d=="function"){d.call(n,s);return}d.resolve(s)}catch{}})}var Nw=["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 Df(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Nw.reduce(function(i,s){var l=n.getAttribute("data-vimeo-".concat(s));return(l||l==="")&&(i[s]=l===""?1:l),i},r)}function zs(n,r){var i=n.html;if(!r)throw new TypeError("An element must be provided");if(r.getAttribute("data-vimeo-initialized")!==null)return r.querySelector("iframe");var s=document.createElement("div");return s.innerHTML=i,r.appendChild(s.firstChild),r.setAttribute("data-vimeo-initialized","true"),r.querySelector("iframe")}function Hf(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0;return new Promise(function(s,l){if(!Jn(n))throw new TypeError("“".concat(n,"” is not a vimeo.com url."));var u=zw(n),d="https://".concat(u,"/api/oembed.json?url=").concat(encodeURIComponent(n));for(var p in r)r.hasOwnProperty(p)&&(d+="&".concat(p,"=").concat(encodeURIComponent(r[p])));var m="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;m.open("GET",d,!0),m.onload=function(){if(m.status===404){l(new Error("“".concat(n,"” was not found.")));return}if(m.status===403){l(new Error("“".concat(n,"” is not embeddable.")));return}try{var v=JSON.parse(m.responseText);if(v.domain_status_code===403){zs(v,i),l(new Error("“".concat(n,"” is not embeddable.")));return}s(v)}catch(x){l(x)}},m.onerror=function(){var v=m.status?" (".concat(m.status,")"):"";l(new Error("There was an error fetching the embed code from Vimeo".concat(v,".")))},m.send()})}function Vw(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document,r=[].slice.call(n.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),i=function(l){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(l))};r.forEach(function(s){try{if(s.getAttribute("data-vimeo-defer")!==null)return;var l=Df(s),u=jf(l);Hf(u,l,s).then(function(d){return zs(d,s)}).catch(i)}catch(d){i(d)}})}function Uw(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoPlayerResizeEmbeds_){window.VimeoPlayerResizeEmbeds_=!0;var r=function(s){if(Jn(s.origin)&&!(!s.data||s.data.event!=="spacechange")){for(var l=n.querySelectorAll("iframe"),u=0;u<l.length;u++)if(l[u].contentWindow===s.source){var d=l[u].parentElement;d.style.paddingBottom="".concat(s.data.data[0].bottom,"px");break}}};window.addEventListener("message",r)}}function qw(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoSeoMetadataAppended){window.VimeoSeoMetadataAppended=!0;var r=function(s){if(Jn(s.origin)){var l=Eo(s.data);if(!(!l||l.event!=="ready"))for(var u=n.querySelectorAll("iframe"),d=0;d<u.length;d++){var p=u[d],m=p.contentWindow===s.source;if(Wf(p.src)&&m){var v=new Bs(p);v.callMethod("appendVideoMetadata",window.location.href)}}}};window.addEventListener("message",r)}}function Gw(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoCheckedUrlTimeParam){window.VimeoCheckedUrlTimeParam=!0;var r=function(l){"console"in window&&console.error&&console.error("There was an error getting video Id: ".concat(l))},i=function(l){if(Jn(l.origin)){var u=Eo(l.data);if(!(!u||u.event!=="ready"))for(var d=n.querySelectorAll("iframe"),p=function(){var x=d[m],_=x.contentWindow===l.source;if(Wf(x.src)&&_){var E=new Bs(x);E.getVideoId().then(function(T){var k=new RegExp("[?&]vimeo_t_".concat(T,"=([^&#]*)")).exec(window.location.href);if(k&&k[1]){var I=decodeURI(k[1]);E.setCurrentTime(I)}}).catch(r)}},m=0;m<d.length;m++)p()}};window.addEventListener("message",i)}}function Kw(){var n=function(){for(var s,l=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],u=0,d=l.length,p={};u<d;u++)if(s=l[u],s&&s[1]in document){for(u=0;u<s.length;u++)p[l[0][u]]=s[u];return p}return!1}(),r={fullscreenchange:n.fullscreenchange,fullscreenerror:n.fullscreenerror},i={request:function(l){return new Promise(function(u,d){var p=function v(){i.off("fullscreenchange",v),u()};i.on("fullscreenchange",p),l=l||document.documentElement;var m=l[n.requestFullscreen]();m instanceof Promise&&m.then(p).catch(d)})},exit:function(){return new Promise(function(l,u){if(!i.isFullscreen){l();return}var d=function m(){i.off("fullscreenchange",m),l()};i.on("fullscreenchange",d);var p=document[n.exitFullscreen]();p instanceof Promise&&p.then(d).catch(u)})},on:function(l,u){var d=r[l];d&&document.addEventListener(d,u)},off:function(l,u){var d=r[l];d&&document.removeEventListener(d,u)}};return Object.defineProperties(i,{isFullscreen:{get:function(){return!!document[n.fullscreenElement]}},element:{enumerable:!0,get:function(){return document[n.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return!!document[n.fullscreenEnabled]}}}),i}var Xw={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1},Yw=function(n){Rw(i,n);var r=Pw(i);function i(s,l){var u,d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},p=arguments.length>3?arguments[3]:void 0;return Mf(this,i),u=r.call(this),so(uo(u),"logger",void 0),so(uo(u),"speedAdjustment",0),so(uo(u),"adjustSpeed",function(){var m=Xn(it().mark(function v(x,_){var E;return it().wrap(function(k){for(;;)switch(k.prev=k.next){case 0:if(u.speedAdjustment!==_){k.next=2;break}return k.abrupt("return");case 2:return k.next=4,x.getPlaybackRate();case 4:return k.t0=k.sent,k.t1=u.speedAdjustment,k.t2=k.t0-k.t1,k.t3=_,E=k.t2+k.t3,u.log("New playbackRate: ".concat(E)),k.next=12,x.setPlaybackRate(E);case 12:u.speedAdjustment=_;case 13:case"end":return k.stop()}},v)}));return function(v,x){return m.apply(this,arguments)}}()),u.logger=p,u.init(l,s,id(id({},Xw),d)),u}return Lf(i,[{key:"disconnect",value:function(){this.dispatchEvent(new Event("disconnect"))}},{key:"init",value:function(){var s=Xn(it().mark(function u(d,p,m){var v=this,x,_,E;return it().wrap(function(k){for(;;)switch(k.prev=k.next){case 0:return k.next=2,this.waitForTOReadyState(d,"open");case 2:if(m.role!=="viewer"){k.next=10;break}return k.next=5,this.updatePlayer(d,p,m);case 5:x=sd(d,"change",function(){return v.updatePlayer(d,p,m)}),_=this.maintainPlaybackPosition(d,p,m),this.addEventListener("disconnect",function(){_.cancel(),x.cancel()}),k.next=14;break;case 10:return k.next=12,this.updateTimingObject(d,p);case 12:E=sd(p,["seeked","play","pause","ratechange"],function(){return v.updateTimingObject(d,p)},"on","off"),this.addEventListener("disconnect",function(){return E.cancel()});case 14:case"end":return k.stop()}},u,this)}));function l(u,d,p){return s.apply(this,arguments)}return l}()},{key:"updateTimingObject",value:function(){var s=Xn(it().mark(function u(d,p){return it().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.t0=d,v.next=3,p.getCurrentTime();case 3:return v.t1=v.sent,v.next=6,p.getPaused();case 6:if(!v.sent){v.next=10;break}v.t2=0,v.next=13;break;case 10:return v.next=12,p.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,d){return s.apply(this,arguments)}return l}()},{key:"updatePlayer",value:function(){var s=Xn(it().mark(function u(d,p,m){var v,x,_;return it().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:if(v=d.query(),x=v.position,_=v.velocity,typeof x=="number"&&p.setCurrentTime(x),typeof _!="number"){T.next=25;break}if(_!==0){T.next=11;break}return T.next=6,p.getPaused();case 6:if(T.t0=T.sent,T.t0!==!1){T.next=9;break}p.pause();case 9:T.next=25;break;case 11:if(!(_>0)){T.next=25;break}return T.next=14,p.getPaused();case 14:if(T.t1=T.sent,T.t1!==!0){T.next=19;break}return T.next=18,p.play().catch(function(){var k=Xn(it().mark(function I(P){return it().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:if(!(P.name==="NotAllowedError"&&m.autoPlayMuted)){A.next=5;break}return A.next=3,p.setMuted(!0);case 3:return A.next=5,p.play().catch(function(R){return console.error("Couldn't play the video from TimingSrcConnector. Error:",R)});case 5:case"end":return A.stop()}},I)}));return function(I){return k.apply(this,arguments)}}());case 18:this.updatePlayer(d,p,m);case 19:return T.next=21,p.getPlaybackRate();case 21:if(T.t2=T.sent,T.t3=_,T.t2===T.t3){T.next=25;break}p.setPlaybackRate(_);case 25:case"end":return T.stop()}},u,this)}));function l(u,d,p){return s.apply(this,arguments)}return l}()},{key:"maintainPlaybackPosition",value:function(l,u,d){var p=this,m=d.allowedDrift,v=d.maxAllowedDrift,x=d.minCheckInterval,_=d.maxRateAdjustment,E=d.maxTimeToCatchUp,T=Math.min(E,Math.max(x,v))*1e3,k=function(){var P=Xn(it().mark(function z(){var A,R,H,U,G;return it().wrap(function(Y){for(;;)switch(Y.prev=Y.next){case 0:if(Y.t0=l.query().velocity===0,Y.t0){Y.next=6;break}return Y.next=4,u.getPaused();case 4:Y.t1=Y.sent,Y.t0=Y.t1===!0;case 6:if(!Y.t0){Y.next=8;break}return Y.abrupt("return");case 8:return Y.t2=l.query().position,Y.next=11,u.getCurrentTime();case 11:if(Y.t3=Y.sent,A=Y.t2-Y.t3,R=Math.abs(A),p.log("Drift: ".concat(A)),!(R>v)){Y.next=22;break}return Y.next=18,p.adjustSpeed(u,0);case 18:u.setCurrentTime(l.query().position),p.log("Resync by currentTime"),Y.next=29;break;case 22:if(!(R>m)){Y.next=29;break}return H=R/E,U=_,G=H<U?(U-H)/2:U,Y.next=28,p.adjustSpeed(u,G*Math.sign(A));case 28:p.log("Resync by playbackRate");case 29:case"end":return Y.stop()}},z)}));return function(){return P.apply(this,arguments)}}(),I=setInterval(function(){return k()},T);return{cancel:function(){return clearInterval(I)}}}},{key:"log",value:function(l){var u;(u=this.logger)===null||u===void 0||u.call(this,"TimingSrcConnector: ".concat(l))}},{key:"waitForTOReadyState",value:function(l,u){return new Promise(function(d){var p=function m(){l.readyState===u?d():l.addEventListener("readystatechange",m,{once:!0})};p()})}}]),i}(gs(EventTarget)),br=new WeakMap,os=new WeakMap,dt={},Bs=function(){function n(r){var i=this,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(Mf(this,n),window.jQuery&&r instanceof jQuery&&(r.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),r=r[0]),typeof document<"u"&&typeof r=="string"&&(r=document.getElementById(r)),!Lw(r))throw new TypeError("You must pass either a valid element or a valid id.");if(r.nodeName!=="IFRAME"){var l=r.querySelector("iframe");l&&(r=l)}if(r.nodeName==="IFRAME"&&!Jn(r.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(br.has(r))return br.get(r);this._window=r.ownerDocument.defaultView,this.element=r,this.origin="*";var u=new Mt(function(p,m){if(i._onMessage=function(_){if(!(!Jn(_.origin)||i.element.contentWindow!==_.source)){i.origin==="*"&&(i.origin=_.origin);var E=Eo(_.data),T=E&&E.event==="error",k=T&&E.data&&E.data.method==="ready";if(k){var I=new Error(E.data.message);I.name=E.data.name,m(I);return}var P=E&&E.event==="ready",z=E&&E.method==="ping";if(P||z){i.element.setAttribute("data-ready","true"),p();return}Zw(i,E)}},i._window.addEventListener("message",i._onMessage),i.element.nodeName!=="IFRAME"){var v=Df(r,s),x=jf(v);Hf(x,v,r).then(function(_){var E=zs(_,r);return i.element=E,i._originalElement=r,Hw(r,E),br.set(i.element,i),_}).catch(m)}});if(os.set(this,u),br.set(this.element,this),this.element.nodeName==="IFRAME"&&Kn(this,"ping"),dt.isEnabled){var d=function(){return dt.exit()};this.fullscreenchangeHandler=function(){dt.isFullscreen?Jr(i,"event:exitFullscreen",d):go(i,"event:exitFullscreen",d),i.ready().then(function(){Kn(i,"fullscreenchange",dt.isFullscreen)})},dt.on("fullscreenchange",this.fullscreenchangeHandler)}return this}return Lf(n,[{key:"callMethod",value:function(i){for(var s=this,l=arguments.length,u=new Array(l>1?l-1:0),d=1;d<l;d++)u[d-1]=arguments[d];if(i==null)throw new TypeError("You must pass a method name.");return new Mt(function(p,m){return s.ready().then(function(){Jr(s,i,{resolve:p,reject:m}),Kn(s,i,u)}).catch(m)})}},{key:"get",value:function(i){var s=this;return new Mt(function(l,u){return i=ad(i,"get"),s.ready().then(function(){Jr(s,i,{resolve:l,reject:u}),Kn(s,i)}).catch(u)})}},{key:"set",value:function(i,s){var l=this;return new Mt(function(u,d){if(i=ad(i,"set"),s==null)throw new TypeError("There must be a value to set.");return l.ready().then(function(){Jr(l,i,{resolve:u,reject:d}),Kn(l,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 l=po(this,"event:".concat(i));l.length===0&&this.callMethod("addEventListener",i).catch(function(){}),Jr(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=go(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=os.get(this)||new Mt(function(s,l){l(new Error("Unknown player. Probably unloaded."))});return Mt.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 dt.isEnabled?dt.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return dt.isEnabled?dt.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return dt.isEnabled?Mt.resolve(dt.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 Mt(function(s){if(os.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 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),dt.isEnabled&&dt.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 Mt.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 Mt(function(u,d){return d(new TypeError("Argument must be an array."))});var s=new Mt(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 Mt.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=Xn(it().mark(function s(l,u){var d=this,p;return it().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 p=new Yw(this,l,u),Kn(this,"notifyTimingObjectConnect"),p.addEventListener("disconnect",function(){return Kn(d,"notifyTimingObjectDisconnect")}),v.abrupt("return",p);case 8:case"end":return v.stop()}},s,this)}));function i(s,l){return r.apply(this,arguments)}return i}()}]),n}();Bf||(dt=Kw(),Vw(),Uw(),qw(),Gw());const Qw=(n,r,i,s)=>({id:parseInt(n,10),width:typeof r=="number"?r:void 0,height:typeof i=="number"?i:void 0,...s}),Jw=async(n,r)=>{if(n)try{const i=[];typeof r.loop=="boolean"&&i.push(n.getLoop().then(s=>{if(s!==r.loop)return n.setLoop(r.loop)})),r.color&&i.push(n.getColor().then(s=>{if(s!==r.color)return n.setColor(r.color)})),typeof r.muted=="boolean"&&i.push(n.getMuted().then(s=>{if(s!==r.muted)return n.setMuted(r.muted)})),await Promise.all(i)}catch(i){console.warn("Error enforcing player config:",i)}},eb=n=>({ready:n.onReady,play:n.onPlay,pause:n.onPlayerPause,ended:n.onEnd,timeupdate:n.onTimeUpdate?r=>{var i;(i=n.onTimeUpdate)==null||i.call(n,r.seconds)}:void 0,progress:n.onProgress?r=>{var i;(i=n.onProgress)==null||i.call(n,r.percent)}:void 0,seeking:n.onSeeking,seeked:n.onSeeked,error:n.onPlayerError}),tb=n=>{var i,s;const r=ge();return h.useMemo(()=>{var u,d;return{...(u=r.__hd__.vimeo)==null?void 0:u.playerSettings,...n,color:(n==null?void 0:n.color)||((d=r.__hd__.vimeo)==null?void 0:d.defaultAccentColor)||"#00adef"}},[(i=r.__hd__.vimeo)==null?void 0:i.playerSettings,(s=r.__hd__.vimeo)==null?void 0:s.defaultAccentColor,n])},nb=(n,r,i,s,l)=>{const u=h.useRef(null);return h.useEffect(()=>n.current?((async()=>{try{const p=Qw(r,i,s,l);n.current&&(u.current=new Bs(n.current,p),setTimeout(()=>{Jw(u.current,l)},100))}catch(p){console.error("Failed to initialize Vimeo player:",p)}})(),()=>{u.current&&(u.current.destroy(),u.current=null)}):void 0,[r,i,s]),u},rb=(n,r)=>{h.useEffect(()=>{if(!n.current||!r)return;const i=n.current,s=eb(r);return Object.entries(s).forEach(([l,u])=>{u&&i.on(l,u)}),()=>{n.current&&Object.entries(s).forEach(([l,u])=>{if(u)try{n.current.off(l,u)}catch{}})}},[n,r])},ib=xe.div`
|
|
252
|
+
*/(function(r,s,l){s[r]=s[r]||l(),n.exports&&(n.exports=s[r])})("Promise",ir,function(){var r,s,l,u=Object.prototype.toString,h=typeof setImmediate<"u"?function(T){return setImmediate(T)}:setTimeout;try{Object.defineProperty({},"x",{}),r=function(T,O,F,N){return Object.defineProperty(T,O,{value:F,writable:!0,configurable:N!==!1})}}catch{r=function(O,F,N){return O[F]=N,O}}l=function(){var T,O,F;function N(Z,U){this.fn=Z,this.self=U,this.next=void 0}return{add:function(U,de){F=new N(U,de),O?O.next=F:T=F,O=F,F=void 0},drain:function(){var U=T;for(T=O=s=void 0;U;)U.fn.call(U.self),U=U.next}}}();function g(I,T){l.add(I,T),s||(s=h(l.drain))}function v(I){var T,O=typeof I;return I!=null&&(O=="object"||O=="function")&&(T=I.then),typeof T=="function"?T:!1}function m(){for(var I=0;I<this.chain.length;I++)k(this,this.state===1?this.chain[I].success:this.chain[I].failure,this.chain[I]);this.chain.length=0}function k(I,T,O){var F,N;try{T===!1?O.reject(I.msg):(T===!0?F=I.msg:F=T.call(void 0,I.msg),F===O.promise?O.reject(TypeError("Promise-chain cycle")):(N=v(F))?N.call(F,O.resolve,O.reject):O.resolve(F))}catch(Z){O.reject(Z)}}function R(I){var T,O=this;if(!O.triggered){O.triggered=!0,O.def&&(O=O.def);try{(T=v(I))?g(function(){var F=new y(O);try{T.call(I,function(){R.apply(F,arguments)},function(){b.apply(F,arguments)})}catch(N){b.call(F,N)}}):(O.msg=I,O.state=1,O.chain.length>0&&g(m,O))}catch(F){b.call(new y(O),F)}}}function b(I){var T=this;T.triggered||(T.triggered=!0,T.def&&(T=T.def),T.msg=I,T.state=2,T.chain.length>0&&g(m,T))}function x(I,T,O,F){for(var N=0;N<T.length;N++)(function(U){I.resolve(T[U]).then(function(pe){O(U,pe)},F)})(N)}function y(I){this.def=I,this.triggered=!1}function C(I){this.promise=I,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function _(I){if(typeof I!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var T=new C(this);this.then=function(F,N){var Z={success:typeof F=="function"?F:!0,failure:typeof N=="function"?N:!1};return Z.promise=new this.constructor(function(de,pe){if(typeof de!="function"||typeof pe!="function")throw TypeError("Not a function");Z.resolve=de,Z.reject=pe}),T.chain.push(Z),T.state!==0&&g(m,T),Z.promise},this.catch=function(F){return this.then(void 0,F)};try{I.call(void 0,function(F){R.call(T,F)},function(F){b.call(T,F)})}catch(O){b.call(T,O)}}var L=r({},"constructor",_,!1);return _.prototype=L,r(L,"__NPO__",0,!1),r(_,"resolve",function(T){var O=this;return T&&typeof T=="object"&&T.__NPO__===1?T:new O(function(N,Z){if(typeof N!="function"||typeof Z!="function")throw TypeError("Not a function");N(T)})}),r(_,"reject",function(T){return new this(function(F,N){if(typeof F!="function"||typeof N!="function")throw TypeError("Not a function");N(T)})}),r(_,"all",function(T){var O=this;return u.call(T)!="[object Array]"?O.reject(TypeError("Not an array")):T.length===0?O.resolve([]):new O(function(N,Z){if(typeof N!="function"||typeof Z!="function")throw TypeError("Not a function");var U=T.length,de=Array(U),pe=0;x(O,T,function(W,B){de[W]=B,++pe===U&&N(de)},Z)})}),r(_,"race",function(T){var O=this;return u.call(T)!="[object Array]"?O.reject(TypeError("Not an array")):new O(function(N,Z){if(typeof N!="function"||typeof Z!="function")throw TypeError("Not a function");x(O,T,function(de,pe){N(pe)},Z)})}),_})}),dn=new WeakMap;function xr(n,i,r){var s=dn.get(n.element)||{};i in s||(s[i]=[]),s[i].push(r),dn.set(n.element,s)}function Ti(n,i){var r=dn.get(n.element)||{};return r[i]||[]}function ki(n,i,r){var s=dn.get(n.element)||{};if(!s[i])return!0;if(!r)return s[i]=[],dn.set(n.element,s),!0;var l=s[i].indexOf(r);return l!==-1&&s[i].splice(l,1),dn.set(n.element,s),s[i]&&s[i].length===0}function e3(n,i){var r=Ti(n,i);if(r.length<1)return!1;var s=r.shift();return ki(n,i,s),s}function t3(n,i){var r=dn.get(n);dn.set(i,r),dn.delete(n)}function Fi(n){if(typeof n=="string")try{n=JSON.parse(n)}catch(i){return console.warn(i),{}}return n}function Mn(n,i,r){if(!(!n.element.contentWindow||!n.element.contentWindow.postMessage)){var s={method:i};r!==void 0&&(s.value=r);var l=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));l>=8&&l<10&&(s=JSON.stringify(s)),n.element.contentWindow.postMessage(s,n.origin)}}function n3(n,i){i=Fi(i);var r=[],s;if(i.event){if(i.event==="error"){var l=Ti(n,i.data.method);l.forEach(function(h){var g=new Error(i.data.message);g.name=i.data.name,h.reject(g),ki(n,i.data.method,h)})}r=Ti(n,"event:".concat(i.event)),s=i.data}else if(i.method){var u=e3(n,i.method);u&&(r.push(u),s=i.value)}r.forEach(function(h){try{if(typeof h=="function"){h.call(n,s);return}h.resolve(s)}catch{}})}var r3=["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 sd(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return r3.reduce(function(r,s){var l=n.getAttribute("data-vimeo-".concat(s));return(l||l==="")&&(r[s]=l===""?1:l),r},i)}function _a(n,i){var r=n.html;if(!i)throw new TypeError("An element must be provided");if(i.getAttribute("data-vimeo-initialized")!==null)return i.querySelector("iframe");var s=document.createElement("div");return s.innerHTML=r,i.appendChild(s.firstChild),i.setAttribute("data-vimeo-initialized","true"),i.querySelector("iframe")}function ld(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;return new Promise(function(s,l){if(!zn(n))throw new TypeError("“".concat(n,"” is not a vimeo.com url."));var u=Xv(n),h="https://".concat(u,"/api/oembed.json?url=").concat(encodeURIComponent(n));for(var g in i)i.hasOwnProperty(g)&&(h+="&".concat(g,"=").concat(encodeURIComponent(i[g])));var v="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;v.open("GET",h,!0),v.onload=function(){if(v.status===404){l(new Error("“".concat(n,"” was not found.")));return}if(v.status===403){l(new Error("“".concat(n,"” is not embeddable.")));return}try{var m=JSON.parse(v.responseText);if(m.domain_status_code===403){_a(m,r),l(new Error("“".concat(n,"” is not embeddable.")));return}s(m)}catch(k){l(k)}},v.onerror=function(){var m=v.status?" (".concat(v.status,")"):"";l(new Error("There was an error fetching the embed code from Vimeo".concat(m,".")))},v.send()})}function i3(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document,i=[].slice.call(n.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),r=function(l){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(l))};i.forEach(function(s){try{if(s.getAttribute("data-vimeo-defer")!==null)return;var l=sd(s),u=ad(l);ld(u,l,s).then(function(h){return _a(h,s)}).catch(r)}catch(h){r(h)}})}function o3(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoPlayerResizeEmbeds_){window.VimeoPlayerResizeEmbeds_=!0;var i=function(s){if(zn(s.origin)&&!(!s.data||s.data.event!=="spacechange")){for(var l=n.querySelectorAll("iframe"),u=0;u<l.length;u++)if(l[u].contentWindow===s.source){var h=l[u].parentElement;h.style.paddingBottom="".concat(s.data.data[0].bottom,"px");break}}};window.addEventListener("message",i)}}function a3(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoSeoMetadataAppended){window.VimeoSeoMetadataAppended=!0;var i=function(s){if(zn(s.origin)){var l=Fi(s.data);if(!(!l||l.event!=="ready"))for(var u=n.querySelectorAll("iframe"),h=0;h<u.length;h++){var g=u[h],v=g.contentWindow===s.source;if(od(g.src)&&v){var m=new Ca(g);m.callMethod("appendVideoMetadata",window.location.href)}}}};window.addEventListener("message",i)}}function s3(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoCheckedUrlTimeParam){window.VimeoCheckedUrlTimeParam=!0;var i=function(l){"console"in window&&console.error&&console.error("There was an error getting video Id: ".concat(l))},r=function(l){if(zn(l.origin)){var u=Fi(l.data);if(!(!u||u.event!=="ready"))for(var h=n.querySelectorAll("iframe"),g=function(){var k=h[v],R=k.contentWindow===l.source;if(od(k.src)&&R){var b=new Ca(k);b.getVideoId().then(function(x){var y=new RegExp("[?&]vimeo_t_".concat(x,"=([^&#]*)")).exec(window.location.href);if(y&&y[1]){var C=decodeURI(y[1]);b.setCurrentTime(C)}}).catch(i)}},v=0;v<h.length;v++)g()}};window.addEventListener("message",r)}}function l3(){var n=function(){for(var s,l=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],u=0,h=l.length,g={};u<h;u++)if(s=l[u],s&&s[1]in document){for(u=0;u<s.length;u++)g[l[0][u]]=s[u];return g}return!1}(),i={fullscreenchange:n.fullscreenchange,fullscreenerror:n.fullscreenerror},r={request:function(l){return new Promise(function(u,h){var g=function m(){r.off("fullscreenchange",m),u()};r.on("fullscreenchange",g),l=l||document.documentElement;var v=l[n.requestFullscreen]();v instanceof Promise&&v.then(g).catch(h)})},exit:function(){return new Promise(function(l,u){if(!r.isFullscreen){l();return}var h=function v(){r.off("fullscreenchange",v),l()};r.on("fullscreenchange",h);var g=document[n.exitFullscreen]();g instanceof Promise&&g.then(h).catch(u)})},on:function(l,u){var h=i[l];h&&document.addEventListener(h,u)},off:function(l,u){var h=i[l];h&&document.removeEventListener(h,u)}};return Object.defineProperties(r,{isFullscreen:{get:function(){return!!document[n.fullscreenElement]}},element:{enumerable:!0,get:function(){return document[n.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return!!document[n.fullscreenEnabled]}}}),r}var u3={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1},c3=function(n){Zv(r,n);var i=Uv(r);function r(s,l){var u,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},g=arguments.length>3?arguments[3]:void 0;return ed(this,r),u=i.call(this),Ci(Ei(u),"logger",void 0),Ci(Ei(u),"speedAdjustment",0),Ci(Ei(u),"adjustSpeed",function(){var v=Ln(lt().mark(function m(k,R){var b;return lt().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:if(u.speedAdjustment!==R){y.next=2;break}return y.abrupt("return");case 2:return y.next=4,k.getPlaybackRate();case 4:return y.t0=y.sent,y.t1=u.speedAdjustment,y.t2=y.t0-y.t1,y.t3=R,b=y.t2+y.t3,u.log("New playbackRate: ".concat(b)),y.next=12,k.setPlaybackRate(b);case 12:u.speedAdjustment=R;case 13:case"end":return y.stop()}},m)}));return function(m,k){return v.apply(this,arguments)}}()),u.logger=g,u.init(l,s,$u($u({},u3),h)),u}return td(r,[{key:"disconnect",value:function(){this.dispatchEvent(new Event("disconnect"))}},{key:"init",value:function(){var s=Ln(lt().mark(function u(h,g,v){var m=this,k,R,b;return lt().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return y.next=2,this.waitForTOReadyState(h,"open");case 2:if(v.role!=="viewer"){y.next=10;break}return y.next=5,this.updatePlayer(h,g,v);case 5:k=Ou(h,"change",function(){return m.updatePlayer(h,g,v)}),R=this.maintainPlaybackPosition(h,g,v),this.addEventListener("disconnect",function(){R.cancel(),k.cancel()}),y.next=14;break;case 10:return y.next=12,this.updateTimingObject(h,g);case 12:b=Ou(g,["seeked","play","pause","ratechange"],function(){return m.updateTimingObject(h,g)},"on","off"),this.addEventListener("disconnect",function(){return b.cancel()});case 14:case"end":return y.stop()}},u,this)}));function l(u,h,g){return s.apply(this,arguments)}return l}()},{key:"updateTimingObject",value:function(){var s=Ln(lt().mark(function u(h,g){return lt().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return m.t0=h,m.next=3,g.getCurrentTime();case 3:return m.t1=m.sent,m.next=6,g.getPaused();case 6:if(!m.sent){m.next=10;break}m.t2=0,m.next=13;break;case 10:return m.next=12,g.getPlaybackRate();case 12:m.t2=m.sent;case 13:m.t3=m.t2,m.t4={position:m.t1,velocity:m.t3},m.t0.update.call(m.t0,m.t4);case 16:case"end":return m.stop()}},u)}));function l(u,h){return s.apply(this,arguments)}return l}()},{key:"updatePlayer",value:function(){var s=Ln(lt().mark(function u(h,g,v){var m,k,R;return lt().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:if(m=h.query(),k=m.position,R=m.velocity,typeof k=="number"&&g.setCurrentTime(k),typeof R!="number"){x.next=25;break}if(R!==0){x.next=11;break}return x.next=6,g.getPaused();case 6:if(x.t0=x.sent,x.t0!==!1){x.next=9;break}g.pause();case 9:x.next=25;break;case 11:if(!(R>0)){x.next=25;break}return x.next=14,g.getPaused();case 14:if(x.t1=x.sent,x.t1!==!0){x.next=19;break}return x.next=18,g.play().catch(function(){var y=Ln(lt().mark(function C(_){return lt().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:if(!(_.name==="NotAllowedError"&&v.autoPlayMuted)){I.next=5;break}return I.next=3,g.setMuted(!0);case 3:return I.next=5,g.play().catch(function(T){return console.error("Couldn't play the video from TimingSrcConnector. Error:",T)});case 5:case"end":return I.stop()}},C)}));return function(C){return y.apply(this,arguments)}}());case 18:this.updatePlayer(h,g,v);case 19:return x.next=21,g.getPlaybackRate();case 21:if(x.t2=x.sent,x.t3=R,x.t2===x.t3){x.next=25;break}g.setPlaybackRate(R);case 25:case"end":return x.stop()}},u,this)}));function l(u,h,g){return s.apply(this,arguments)}return l}()},{key:"maintainPlaybackPosition",value:function(l,u,h){var g=this,v=h.allowedDrift,m=h.maxAllowedDrift,k=h.minCheckInterval,R=h.maxRateAdjustment,b=h.maxTimeToCatchUp,x=Math.min(b,Math.max(k,m))*1e3,y=function(){var _=Ln(lt().mark(function L(){var I,T,O,F,N;return lt().wrap(function(U){for(;;)switch(U.prev=U.next){case 0:if(U.t0=l.query().velocity===0,U.t0){U.next=6;break}return U.next=4,u.getPaused();case 4:U.t1=U.sent,U.t0=U.t1===!0;case 6:if(!U.t0){U.next=8;break}return U.abrupt("return");case 8:return U.t2=l.query().position,U.next=11,u.getCurrentTime();case 11:if(U.t3=U.sent,I=U.t2-U.t3,T=Math.abs(I),g.log("Drift: ".concat(I)),!(T>m)){U.next=22;break}return U.next=18,g.adjustSpeed(u,0);case 18:u.setCurrentTime(l.query().position),g.log("Resync by currentTime"),U.next=29;break;case 22:if(!(T>v)){U.next=29;break}return O=T/b,F=R,N=O<F?(F-O)/2:F,U.next=28,g.adjustSpeed(u,N*Math.sign(I));case 28:g.log("Resync by playbackRate");case 29:case"end":return U.stop()}},L)}));return function(){return _.apply(this,arguments)}}(),C=setInterval(function(){return y()},x);return{cancel:function(){return clearInterval(C)}}}},{key:"log",value:function(l){var u;(u=this.logger)===null||u===void 0||u.call(this,"TimingSrcConnector: ".concat(l))}},{key:"waitForTOReadyState",value:function(l,u){return new Promise(function(h){var g=function v(){l.readyState===u?h():l.addEventListener("readystatechange",v,{once:!0})};g()})}}]),r}(ra(EventTarget)),tr=new WeakMap,Yo=new WeakMap,bt={},Ca=function(){function n(i){var r=this,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(ed(this,n),window.jQuery&&i instanceof jQuery&&(i.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),i=i[0]),typeof document<"u"&&typeof i=="string"&&(i=document.getElementById(i)),!Gv(i))throw new TypeError("You must pass either a valid element or a valid id.");if(i.nodeName!=="IFRAME"){var l=i.querySelector("iframe");l&&(i=l)}if(i.nodeName==="IFRAME"&&!zn(i.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(tr.has(i))return tr.get(i);this._window=i.ownerDocument.defaultView,this.element=i,this.origin="*";var u=new Bt(function(g,v){if(r._onMessage=function(R){if(!(!zn(R.origin)||r.element.contentWindow!==R.source)){r.origin==="*"&&(r.origin=R.origin);var b=Fi(R.data),x=b&&b.event==="error",y=x&&b.data&&b.data.method==="ready";if(y){var C=new Error(b.data.message);C.name=b.data.name,v(C);return}var _=b&&b.event==="ready",L=b&&b.method==="ping";if(_||L){r.element.setAttribute("data-ready","true"),g();return}n3(r,b)}},r._window.addEventListener("message",r._onMessage),r.element.nodeName!=="IFRAME"){var m=sd(i,s),k=ad(m);ld(k,m,i).then(function(R){var b=_a(R,i);return r.element=b,r._originalElement=i,t3(i,b),tr.set(r.element,r),R}).catch(v)}});if(Yo.set(this,u),tr.set(this.element,this),this.element.nodeName==="IFRAME"&&Mn(this,"ping"),bt.isEnabled){var h=function(){return bt.exit()};this.fullscreenchangeHandler=function(){bt.isFullscreen?xr(r,"event:exitFullscreen",h):ki(r,"event:exitFullscreen",h),r.ready().then(function(){Mn(r,"fullscreenchange",bt.isFullscreen)})},bt.on("fullscreenchange",this.fullscreenchangeHandler)}return this}return td(n,[{key:"callMethod",value:function(r){for(var s=this,l=arguments.length,u=new Array(l>1?l-1:0),h=1;h<l;h++)u[h-1]=arguments[h];if(r==null)throw new TypeError("You must pass a method name.");return new Bt(function(g,v){return s.ready().then(function(){xr(s,r,{resolve:g,reject:v}),Mn(s,r,u)}).catch(v)})}},{key:"get",value:function(r){var s=this;return new Bt(function(l,u){return r=Iu(r,"get"),s.ready().then(function(){xr(s,r,{resolve:l,reject:u}),Mn(s,r)}).catch(u)})}},{key:"set",value:function(r,s){var l=this;return new Bt(function(u,h){if(r=Iu(r,"set"),s==null)throw new TypeError("There must be a value to set.");return l.ready().then(function(){xr(l,r,{resolve:u,reject:h}),Mn(l,r,s)}).catch(h)})}},{key:"on",value:function(r,s){if(!r)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=Ti(this,"event:".concat(r));l.length===0&&this.callMethod("addEventListener",r).catch(function(){}),xr(this,"event:".concat(r),s)}},{key:"off",value:function(r,s){if(!r)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=ki(this,"event:".concat(r),s);l&&this.callMethod("removeEventListener",r).catch(function(u){})}},{key:"loadVideo",value:function(r){return this.callMethod("loadVideo",r)}},{key:"ready",value:function(){var r=Yo.get(this)||new Bt(function(s,l){l(new Error("Unknown player. Probably unloaded."))});return Bt.resolve(r)}},{key:"addCuePoint",value:function(r){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.callMethod("addCuePoint",{time:r,data:s})}},{key:"removeCuePoint",value:function(r){return this.callMethod("removeCuePoint",r)}},{key:"enableTextTrack",value:function(r,s){if(!r)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:r,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 bt.isEnabled?bt.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return bt.isEnabled?bt.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return bt.isEnabled?Bt.resolve(bt.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 r=this;return new Bt(function(s){if(Yo.delete(r),tr.delete(r.element),r._originalElement&&(tr.delete(r._originalElement),r._originalElement.removeAttribute("data-vimeo-initialized")),r.element&&r.element.nodeName==="IFRAME"&&r.element.parentNode&&(r.element.parentNode.parentNode&&r._originalElement&&r._originalElement!==r.element.parentNode?r.element.parentNode.parentNode.removeChild(r.element.parentNode):r.element.parentNode.removeChild(r.element)),r.element&&r.element.nodeName==="DIV"&&r.element.parentNode){r.element.removeAttribute("data-vimeo-initialized");var l=r.element.querySelector("iframe");l&&l.parentNode&&(l.parentNode.parentNode&&r._originalElement&&r._originalElement!==l.parentNode?l.parentNode.parentNode.removeChild(l.parentNode):l.parentNode.removeChild(l))}r._window.removeEventListener("message",r._onMessage),bt.isEnabled&&bt.off("fullscreenchange",r.fullscreenchangeHandler),s()})}},{key:"getAutopause",value:function(){return this.get("autopause")}},{key:"setAutopause",value:function(r){return this.set("autopause",r)}},{key:"getBuffered",value:function(){return this.get("buffered")}},{key:"getCameraProps",value:function(){return this.get("cameraProps")}},{key:"setCameraProps",value:function(r){return this.set("cameraProps",r)}},{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 Bt.all([this.get("colorOne"),this.get("colorTwo"),this.get("colorThree"),this.get("colorFour")])}},{key:"setColor",value:function(r){return this.set("color",r)}},{key:"setColors",value:function(r){if(!Array.isArray(r))return new Bt(function(u,h){return h(new TypeError("Argument must be an array."))});var s=new Bt(function(u){return u(null)}),l=[r[0]?this.set("colorOne",r[0]):s,r[1]?this.set("colorTwo",r[1]):s,r[2]?this.set("colorThree",r[2]):s,r[3]?this.set("colorFour",r[3]):s];return Bt.all(l)}},{key:"getCuePoints",value:function(){return this.get("cuePoints")}},{key:"getCurrentTime",value:function(){return this.get("currentTime")}},{key:"setCurrentTime",value:function(r){return this.set("currentTime",r)}},{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(r){return this.set("loop",r)}},{key:"setMuted",value:function(r){return this.set("muted",r)}},{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(r){return this.set("playbackRate",r)}},{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(r){return this.set("quality",r)}},{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(r){return this.set("volume",r)}},{key:"setTimingSrc",value:function(){var i=Ln(lt().mark(function s(l,u){var h=this,g;return lt().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:if(l){m.next=2;break}throw new TypeError("A Timing Object must be provided.");case 2:return m.next=4,this.ready();case 4:return g=new c3(this,l,u),Mn(this,"notifyTimingObjectConnect"),g.addEventListener("disconnect",function(){return Mn(h,"notifyTimingObjectDisconnect")}),m.abrupt("return",g);case 8:case"end":return m.stop()}},s,this)}));function r(s,l){return i.apply(this,arguments)}return r}()}]),n}();id||(bt=l3(),i3(),o3(),a3(),s3());const d3=(n,i,r,s)=>({id:parseInt(n,10),width:typeof i=="number"?i:void 0,height:typeof r=="number"?r:void 0,...s}),f3=async(n,i)=>{if(n)try{const r=[];typeof i.loop=="boolean"&&r.push(n.getLoop().then(s=>{if(s!==i.loop)return n.setLoop(i.loop)})),i.color&&r.push(n.getColor().then(s=>{if(s!==i.color)return n.setColor(i.color)})),typeof i.muted=="boolean"&&r.push(n.getMuted().then(s=>{if(s!==i.muted)return n.setMuted(i.muted)})),await Promise.all(r)}catch(r){console.warn("Error enforcing player config:",r)}},h3=n=>({ready:n.onReady,play:n.onPlay,pause:n.onPlayerPause,ended:n.onEnd,timeupdate:n.onTimeUpdate?i=>{var r;(r=n.onTimeUpdate)==null||r.call(n,i.seconds)}:void 0,progress:n.onProgress?i=>{var r;(r=n.onProgress)==null||r.call(n,i.percent)}:void 0,seeking:n.onSeeking,seeked:n.onSeeked,error:n.onPlayerError}),p3=n=>{var r,s;const i=he();return f.useMemo(()=>{var u,h;return{...(u=i.__hd__.vimeo)==null?void 0:u.playerSettings,...n,color:(n==null?void 0:n.color)||((h=i.__hd__.vimeo)==null?void 0:h.defaultAccentColor)||"#00adef"}},[(r=i.__hd__.vimeo)==null?void 0:r.playerSettings,(s=i.__hd__.vimeo)==null?void 0:s.defaultAccentColor,n])},g3=(n,i,r,s,l)=>{const u=f.useRef(null);return f.useEffect(()=>n.current?((async()=>{try{const g=d3(i,r,s,l);n.current&&(u.current=new Ca(n.current,g),setTimeout(()=>{f3(u.current,l)},100))}catch(g){console.error("Failed to initialize Vimeo player:",g)}})(),()=>{u.current&&(u.current.destroy(),u.current=null)}):void 0,[i,r,s]),u},m3=(n,i)=>{f.useEffect(()=>{if(!n.current||!i)return;const r=n.current,s=h3(i);return Object.entries(s).forEach(([l,u])=>{u&&r.on(l,u)}),()=>{n.current&&Object.entries(s).forEach(([l,u])=>{if(u)try{n.current.off(l,u)}catch{}})}},[n,i])},v3=_e.div`
|
|
253
253
|
position: relative;
|
|
254
254
|
width: 100%;
|
|
255
255
|
height: 100%;
|
|
256
256
|
overflow: hidden;
|
|
257
|
-
`,
|
|
257
|
+
`,b3=_e.div`
|
|
258
258
|
position: relative;
|
|
259
259
|
padding-bottom: ${({$aspectRatio:n})=>`${n}%`};
|
|
260
260
|
height: 0;
|
|
261
261
|
overflow: hidden;
|
|
262
|
-
`,
|
|
262
|
+
`,w3=_e.div`
|
|
263
263
|
position: absolute;
|
|
264
264
|
top: 0;
|
|
265
265
|
left: 0;
|
|
266
266
|
width: 100%;
|
|
267
267
|
height: 100%;
|
|
268
|
-
`,
|
|
268
|
+
`,y3=({videoId:n,width:i="100%",height:r="auto",config:s,callbacks:l})=>{var b;const u=he(),h=f.useRef(null),[g]=f.useState(`vimeo-player-${Math.random().toString(36).substr(2,9)}`),v=r==="auto",m=((b=u.__hd__.vimeo)==null?void 0:b.aspectRatio)||56.25,k=p3(s),R=g3(h,n,i,r,k);return m3(R,l),v?S.jsx(b3,{$aspectRatio:m,children:S.jsx(w3,{ref:h,id:g})}):S.jsx(v3,{style:{width:i,height:r},children:S.jsx("div",{ref:h,id:g,style:{width:"100%",height:"100%"}})})},x3={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%"},_3="https://player.vimeo.com",C3=({videoId:n,playerWidth:i,playerHeight:r,config:s,callbacks:l,...u})=>S.jsx(V,{overflow:"hidden",...u,children:S.jsx(y3,{videoId:n,width:i,height:r,config:s,callbacks:l})});function Pu({item:n,index:i,renderItem:r}){return S.jsx(V,{flexShrink:0,children:r({item:n,index:i,isFocused:!0})})}function wi({item:n,index:i,isFocused:r,renderItem:s,itemsPerView:l,itemWidth:u}){const h=ye.isNil(l)?void 0:`0 0 ${100/l}%`;return S.jsx(V,{flex:ye.isNil(u)?h:void 0,width:u,overflow:"hidden",children:s({item:n,index:i,isFocused:r})})}const S3=/^(\d+|\d*\.\d+)(px)$/,E3=(n,i)=>{if(typeof i=="string"){if(Fn(i))return n.sizes[i];if(S3.test(i))return parseInt(i.replace("px",""),10);throw new Error("Invalid itemWidth, must be a Size or a number or a valid pixel value")}return i},Qo=(n,i,r,s)=>{if(s)return`calc(-${n} * (${s}px + ${r}px))`;const l=n*(100/i),u=n*r;return`calc(-${l}% - ${u}px)`},nr=(n,i,r,s)=>s?`${s(n,i)}${r||""}`:`carousel-item-${i}${r||""}`,A3=da`
|
|
269
269
|
0% { transform: translateX(0); }
|
|
270
270
|
100% { transform: translateX(-50%); } /* Scroll one full set of items */
|
|
271
|
-
`,
|
|
271
|
+
`,T3=_e(V)`
|
|
272
272
|
display: flex;
|
|
273
273
|
align-items: stretch; // Use stretch to ensure items fill height if needed
|
|
274
274
|
gap: ${({$itemSpacing:n})=>n||0}px;
|
|
@@ -276,40 +276,40 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
276
276
|
transition: ${({$autoScroll:n})=>n?"none":"transform 0.5s ease-in-out"};
|
|
277
277
|
|
|
278
278
|
/* Apply animation conditionally using the css helper */
|
|
279
|
-
animation: ${({$autoScroll:n,$scrollDuration:
|
|
280
|
-
`;function
|
|
279
|
+
animation: ${({$autoScroll:n,$scrollDuration:i})=>n?ut`${A3} ${i}s linear infinite`:"none"};
|
|
280
|
+
`;function k3({itemSpacing:n,itemsWrapperRef:i,items:r,renderItem:s,keyExtractor:l,autoScroll:u,activeIndex:h,virtualActiveIndex:g,itemsPerView:v=1,itemWidth:m,infiniteLoop:k=!1}){const R=he(),x=R.__hd__.carousel.autoScroll,y=typeof u=="object"&&u.speed||x.defaultSpeed,C=f.useMemo(()=>{if(r.length<=v)return r;const F=r.length%v;return F===0?r:r.slice(0,r.length-F)},[r,v]),_=u?C.length*(y/5):0,L=R.spaces[n||R.__hd__.carousel.container.defaultItemSpacing]||0,I=k&&!u&&C.length>1,T=f.useMemo(()=>{if(m)return m*v+L*(v-1)},[m,v,L]),O=f.useMemo(()=>{if(u)return S.jsxs(S.Fragment,{children:[C.map((F,N)=>S.jsx(Pu,{item:F,index:N,renderItem:s},nr(F,N,"-auto-scroll",l))),C.map((F,N)=>S.jsx(Pu,{item:F,index:N+C.length,renderItem:s},nr(F,N,"-duplicate",l)))]});if(I){const F=N=>{const Z=g-C.length;return N>=Z&&N<Z+v};return S.jsxs(S.Fragment,{children:[C.map((N,Z)=>{const U=Z;return S.jsx(wi,{item:N,index:U,isFocused:F(Z),renderItem:s,itemsPerView:v,itemWidth:m},nr(N,U,"-prefix",l))}),C.map((N,Z)=>S.jsx(wi,{item:N,index:Z,isFocused:F(Z),renderItem:s,itemsPerView:v,itemWidth:m},nr(N,Z,void 0,l))),C.map((N,Z)=>{const U=Z;return S.jsx(wi,{item:N,index:U,isFocused:F(Z),renderItem:s,itemsPerView:v,itemWidth:m},nr(N,U,"-suffix",l))})]})}return C.map((F,N)=>S.jsx(wi,{item:F,index:N,isFocused:N>=h&&N<h+v,renderItem:s,itemsPerView:v,itemWidth:m},nr(F,N,void 0,l)))},[u,I,C,l,s,g,v,m,h]);return S.jsx(V,{width:T,display:"flex",children:S.jsx(T3,{$autoScroll:!!u,$scrollDuration:_,$itemSpacing:L,ref:i,children:O})})}const $3=_e(va)`
|
|
281
281
|
transition: color 0.2s ease;
|
|
282
|
-
color: ${({$color:n,theme:
|
|
283
|
-
`,
|
|
282
|
+
color: ${({$color:n,theme:i})=>i.colors[n]};
|
|
283
|
+
`,R3=_e(kr)`
|
|
284
284
|
transition: color 0.2s ease;
|
|
285
|
-
color: ${({$color:n,theme:
|
|
286
|
-
`;function
|
|
287
|
-
opacity ${l.duration}ms ${l.easing}`,height:
|
|
288
|
-
transition: transform ${({$duration:n,$easing:
|
|
285
|
+
color: ${({$color:n,theme:i})=>i.colors[n]};
|
|
286
|
+
`;function Mu({isLeft:n,onPrev:i,onNext:r}){const s=f.useRef(null),l=Mi(s),u=he(),h=u.__hd__.carousel.navigation,g=u.spaces[h.buttonPadding]*2+u.sizes[h.iconSize],v=it(u,h.iconSize),m=l?h.buttonBackgroundColor:h.buttonColor,k=typeof v=="string"?parseInt(v,10):v;return S.jsx(Wt,{onClick:n?i:r,ml:n?{xs:"none",sm:h.marginHorizontal}:void 0,mr:n?void 0:{xs:"none",sm:h.marginHorizontal},ref:s,children:S.jsx(V,{display:"flex",justifyContent:"center",alignItems:"center",width:g,height:g,p:h.buttonPadding,r:h.buttonBorderRadius,bgColor:l?h.buttonColor:h.buttonBackgroundColor,transition:"background-color 0.2s ease",zIndex:u.zIndex.getZIndex("AIC_Kits_Carousel"),boxShadow:"0 0 16px 0 rgba(0, 0, 0, 0.1)",ref:s,children:n?S.jsx($3,{size:k,weight:"bold",$color:m}):S.jsx(R3,{size:k,weight:"bold",$color:m})})})}function I3({itemsCount:n,activeIndex:i,onDotClick:r}){const s=he(),l=s.__hd__.carousel.pagination,u=l.container,h=it(s,l.dotSize);return S.jsx(V,{display:"flex",justifyContent:"center",alignItems:"center",mt:u.marginTop,p:u.padding,r:u.borderRadius,bgColor:u.backgroundColor,gap:u.gap,children:Array.from({length:n}).map((g,v)=>S.jsx(V,{width:h,height:h,r:l.dotBorderRadius,bgColor:v===i?l.activeColor:l.inactiveColor,cursor:"pointer",transition:"background-color 0.3s ease",onClick:()=>r(v)},`dot-${v}`))})}function O3({items:n,renderItem:i,showPagination:r=!0,showNavigation:s=!0,autoPlay:l=!1,autoScroll:u=!1,initialIndex:h=0,onIndexChange:g,keyExtractor:v,itemSpacing:m,itemsPerView:k=1,itemWidth:R,infiniteLoop:b=!1,...x},y){const C=he(),{width:_}=Zc(),L=C.__hd__.carousel,I=f.useMemo(()=>{if(n.length<=k)return n;const G=n.length%k;return G===0?n:n.slice(0,n.length-G)},[n,k]),[T,O]=f.useState(h),[F,N]=f.useState(h),Z=f.useRef(null),U=f.useRef(null),de=f.useRef(null),pe=f.useRef(!1),[Ce,W]=f.useState(!1),[B,H]=f.useState(null),[ee,X]=f.useState(0),Q=!!u,K=Q?1:Math.max(1,k),me=Q?void 0:E3(C,R),Se=C.spaces[m||L.container.defaultItemSpacing]||0,Re=Q?!1:r,Ue=Q?!1:s,Oe=b&&!Q&&I.length>1,qe=Math.max(0,I.length-K),Je=Math.ceil(I.length/K),Ke=typeof l=="object"&&l.delay||3e3,Dt=f.useCallback(G=>{if(I.length===0)return 0;for(;G<0;)G+=I.length;return G%I.length},[I.length]),wt=f.useCallback(G=>{if(!Oe)return{virtualIndex:G,realIndex:G,needsSnap:!1};let Ee=G,Me=G,ae=!1;return G<0||G>qe?(Ee=I.length+G,Me=Dt(G),ae=!0):(Ee=I.length+G,Me=G,ae=!1),{virtualIndex:Ee,realIndex:Me,needsSnap:ae}},[Oe,I.length,qe,Dt]),yt=f.useCallback(G=>{if(!Oe||!Z.current)return;const Ee=I.length+G,Me=Qo(Ee,K,Se,me);Z.current.style.transition="none",Z.current.style.transform=`translateX(${Me})`,N(Ee),requestAnimationFrame(()=>{Z.current&&(Z.current.style.transition="")})},[Oe,I.length,K,Se,me]),Nt=f.useCallback(()=>{if(Z.current){const G=window.getComputedStyle(Z.current),Ee=new DOMMatrixReadOnly(G.transform);X(Ee.e)}},[]),Pe=f.useCallback(G=>{const Ee=Oe?G:Math.max(0,Math.min(G,qe)),Me=wt(Ee),ae=Math.max(0,Math.min(Ee,qe));if((ae!==T||Ce)&&(O(ae),g==null||g(ae)),Z.current&&!Q){const ue=Me.virtualIndex;N(ue);const te=Qo(ue,K,Se,me);Z.current.style.transform=`translateX(${te})`,Z.current.style.transition="",queueMicrotask(()=>{Nt()}),Me.needsSnap&&(de.current&&clearTimeout(de.current),de.current=setTimeout(()=>{yt(Me.realIndex),O(Me.realIndex),g==null||g(Me.realIndex)},500))}},[Oe,qe,T,g,Q,K,Se,me,Nt,Ce,wt,yt]),Xe=f.useCallback(()=>{b&&I.length>0?Pe(T+K):Pe(Math.min(T+K,qe))},[b,T,K,qe,I.length,Pe]),xt=f.useCallback(()=>{b&&I.length>0?Pe(T-K):Pe(Math.max(T-K,0))},[b,T,K,I.length,Pe]);f.useImperativeHandle(y,()=>({goToIndex:Pe,goToNext:Xe,goToPrev:xt}));const Be=f.useCallback(()=>{U.current&&clearTimeout(U.current)},[]),dt=()=>{pe.current=!0,l&&!Q&&Be(),Q&&Z.current&&(Z.current.style.animationPlayState="paused")},or=f.useCallback(()=>{if(pe.current=!1,l&&!Q&&!Ce){Be();const G=(T+1)%I.length,Ee=Math.min(G,qe);U.current=setTimeout(()=>Pe(Ee),Ke)}Q&&Z.current&&(Z.current.style.animationPlayState="running")},[l,Q,Ce,Be,T,I.length,qe,Ke,Pe]),et=f.useCallback(G=>{Q||n.length<=K||(de.current&&(clearTimeout(de.current),de.current=null),Nt(),Be(),W(!0),H(G),Z.current&&(Z.current.style.transition="none"))},[Q,Be,n.length,K,Nt]),Zt=f.useCallback(G=>{if(!Ce||B===null||Q||!Z.current)return;const Ee=G-B;Z.current.style.transform=`translateX(${ee+Ee}px)`},[Ce,B,Q,ee]),Kt=f.useCallback(()=>{if(!Ce||B===null||Q)return;W(!1);let G=me;!G&&Z.current&&Z.current.firstChild&&(G=Z.current.firstChild.clientWidth),!G&&Z.current&&(G=Z.current.clientWidth/K);const Ee=(G||0)/3;if(Z.current){const Me=window.getComputedStyle(Z.current),te=new DOMMatrixReadOnly(Me.transform).e-ee;Z.current.style.transition="",Math.abs(te)>Ee?te<0?Xe():xt():Pe(T)}H(null),l&&!pe.current&&(U.current=setTimeout(()=>Xe(),Ke))},[Ce,B,Q,me,K,Xe,xt,T,l,Ke,ee,Pe]),en=Math.floor(T/K),tt=G=>Pe(G*K);f.useEffect(()=>{if(!l||Q||pe.current||Ce){Be();return}const G=(T+1)%I.length,Ee=Math.min(G,qe);return U.current=setTimeout(()=>Pe(Ee),Ke),Be},[T,l,Ke,Pe,Be,Q,I.length,qe,Ce]),f.useEffect(()=>{if(!ct()){if(Oe){const G=I.length+h;if(N(G),Z.current){const Ee=Qo(G,K,Se,me);Z.current.style.transform=`translateX(${Ee})`,Z.current.style.transition="none",requestAnimationFrame(()=>{Z.current&&(Z.current.style.transition="")})}}Pe(h)}},[_,h,Oe,I.length,K,Se,me]),f.useEffect(()=>()=>{U.current&&clearTimeout(U.current),de.current&&clearTimeout(de.current)},[]);const Xt=()=>{Ce&&Z.current&&Kt(),or()};return S.jsxs(V,{fw:!0,overflow:"hidden",onMouseEnter:dt,onMouseLeave:Xt,onTouchStart:G=>et(G.touches[0].clientX),onTouchMove:G=>Zt(G.touches[0].clientX),onTouchEnd:Kt,onMouseDown:G=>{G.button===0&&et(G.clientX)},onMouseMove:G=>{G.buttons===1&&Ce&&Zt(G.clientX)},onMouseUp:G=>{G.button===0&&Ce&&Kt()},display:"flex",flexDirection:"column",alignItems:"center",...x,children:[S.jsxs(V,{position:"relative",display:"flex",justifyContent:"center",alignItems:"center",fw:!0,children:[S.jsx(k3,{itemsWrapperRef:Z,itemSpacing:m,activeIndex:T,virtualActiveIndex:F,items:I,renderItem:i,keyExtractor:v,autoScroll:u,itemsPerView:K,itemWidth:me,infiniteLoop:b}),Ue&&n.length>K&&S.jsx(V,{position:"absolute",left:0,top:"50%",transform:"translateY(-50%)",children:S.jsx(Mu,{isLeft:!0,onPrev:xt,onNext:Xe})}),Ue&&n.length>K&&S.jsx(V,{position:"absolute",right:0,top:"50%",transform:"translateY(-50%)",children:S.jsx(Mu,{isLeft:!1,onPrev:xt,onNext:Xe})})]}),Re&&Je>1&&S.jsx(I3,{itemsCount:Je,activeIndex:en,onDotClick:tt})]})}const P3=f.forwardRef(O3);function M3({renderContent:n,isExpanded:i}){const s=he().__hd__.accordion,l=s.animation,u=f.useRef(null),[h,g]=f.useState(0);return f.useEffect(()=>{i&&u.current&&g(u.current.scrollHeight)},[i,n]),S.jsx(V,{overflow:"hidden",transition:`height ${l.duration}ms ${l.easing},
|
|
287
|
+
opacity ${l.duration}ms ${l.easing}`,height:i?h:0,opacity:i?1:0,children:S.jsx(V,{ref:u,pt:s.gap,children:n()})})}const L3=_e(kr)`
|
|
288
|
+
transition: transform ${({$duration:n,$easing:i})=>`${n}ms ${i}`};
|
|
289
289
|
transform: rotate(${({$isExpanded:n})=>n?"90deg":"0deg"});
|
|
290
290
|
flex-shrink: 0; /* Prevent icon from shrinking */
|
|
291
|
-
`;function
|
|
291
|
+
`;function F3({renderHeader:n,isExpanded:i,onToggle:r,disabled:s,iconPosition:l="left"}){const u=he(),h=u.__hd__.accordion,g=h.header,v=h.animation,m=it(u,g.iconSize),k=u.colors[g.iconColor]||g.iconColor,R=S.jsx(Wt,{onClick:s?void 0:r,cursor:s?"not-allowed":"pointer",opacity:s?g.disabledOpacity:1,children:S.jsx(L3,{size:m,color:k,weight:"bold",$isExpanded:i,$duration:v.duration,$easing:v.easing})});return S.jsx(Wt,{onClick:s?void 0:r,cursor:s?"not-allowed":"pointer",opacity:s?g.disabledOpacity:1,useScaleAnimation:!1,children:S.jsxs(V,{display:"flex",alignItems:"center",gap:g.gap,children:[l==="left"&&R,S.jsx(V,{flex:1,children:n(i)}),l==="right"&&R]})})}function z3({renderHeader:n,renderContent:i,initialExpanded:r=!1,onExpandedChange:s,disabled:l=!1,iconPosition:u="left",...h}){const v=he().__hd__.accordion,[m,k]=f.useState(r),R=f.useCallback(()=>{if(l)return;const b=!m;k(b),s==null||s(b)},[l,m,s]);return S.jsxs(V,{p:v.paddingVertical,px:v.paddingHorizontal,r:v.borderRadius,b:v.borderWidth,borderColor:v.borderColor,bgColor:v.backgroundColor,...h,children:[S.jsx(F3,{renderHeader:n,isExpanded:m,onToggle:R,disabled:l,iconPosition:u}),S.jsx(M3,{renderContent:i,isExpanded:m})]})}const ud=(n,i,r,s)=>r?n.colors[r]:s==="solid"?i==="white"?n.colors.grey900:n.colors.white:n.colors[i],B3=_e(V)`
|
|
292
292
|
display: inline-flex; /* Use inline-flex to allow tags to flow like text */
|
|
293
293
|
align-items: center;
|
|
294
294
|
justify-content: center;
|
|
295
295
|
white-space: nowrap; /* Prevent text wrapping */
|
|
296
296
|
border-width: ${({theme:n})=>n.borderWidths.thin}px; /* Use thin border for outlined */
|
|
297
297
|
border-style: solid;
|
|
298
|
-
gap: ${({theme:n,$gap:
|
|
299
|
-
padding: ${({theme:n,$paddingVertical:
|
|
298
|
+
gap: ${({theme:n,$gap:i})=>n.spaces[i]}px;
|
|
299
|
+
padding: ${({theme:n,$paddingVertical:i,$paddingHorizontal:r})=>`${n.spaces[i]}px ${n.spaces[r]}px`};
|
|
300
300
|
|
|
301
|
-
border-radius: ${({theme:n,$radius:
|
|
301
|
+
border-radius: ${({theme:n,$radius:i})=>ju(i)?`${n.radii[i]}px`:i};
|
|
302
302
|
|
|
303
|
-
background-color: ${({theme:n,$variant:
|
|
303
|
+
background-color: ${({theme:n,$variant:i,$color:r})=>i==="solid"?n.colors[r]:n.colors.transparent};
|
|
304
304
|
|
|
305
|
-
border-color: ${({theme:n,$variant:
|
|
306
|
-
`,
|
|
307
|
-
color: ${({theme:n,$color:
|
|
308
|
-
font-size: ${({theme:n,$fontSize:
|
|
305
|
+
border-color: ${({theme:n,$variant:i,$color:r})=>i==="outlined"?n.colors[r]:n.colors.transparent};
|
|
306
|
+
`,j3=_e(Ve)`
|
|
307
|
+
color: ${({theme:n,$color:i,$textColor:r,$variant:s})=>ud(n,i,r,s)};
|
|
308
|
+
font-size: ${({theme:n,$fontSize:i})=>n.__hd__.text.fontSizes[i]}px;
|
|
309
309
|
/* Use medium weight for tags by default, can be customized via theme if needed */
|
|
310
310
|
font-weight: ${({theme:n})=>n.__hd__.text.fontWeights.medium};
|
|
311
311
|
line-height: 1; /* Ensure tight line height for tags */
|
|
312
|
-
`,
|
|
312
|
+
`,W3=({variant:n,color:i,textColor:r,size:s,radius:l,icon:u,rightIcon:h,children:g,style:v,"data-testid":m,...k})=>{const R=he(),b=R.__hd__.tag,x=n??b.defaultVariant,y=i??b.defaultColor,C=s??b.defaultSize,_=l??b.defaultRadius,L=ud(R,y,r,x),I=f.useMemo(()=>b.sizes[C],[b.sizes,C]);return S.jsxs(B3,{$variant:x,$color:y,$textColor:r,$size:C,$radius:_,$paddingVertical:I.paddingVertical,$paddingHorizontal:I.paddingHorizontal,$fontSize:I.fontSize,$gap:I.gap,$iconSize:I.iconSize,style:v,"data-testid":m,...k,children:[u&&S.jsx(jt,{type:"icon",art:u,size:I.iconSize,color:L,weight:"regular"}),S.jsx(j3,{$color:y,$textColor:r,$variant:x,$fontSize:I.fontSize,as:"span",children:g}),h&&S.jsx(jt,{type:"icon",art:h,size:I.iconSize,color:L,weight:"regular"})]})},D3=({label:n,checked:i,onChange:r,disabled:s=!1,color:l,size:u,style:h,"data-testid":g})=>{const v=he(),m=v.__hd__.checkbox,[k,R]=f.useState(i);f.useEffect(()=>{R(i)},[i]);const b=l??m.defaultColor,x=u??m.defaultSize,y=m.sizes[x],C=m.animation,_=it(v,y.iconSize),L=k?b:"white",I=k?b:m.uncheckedBorderColor,T=s?m.disabledColor:L,O=s?m.disabledColor:I,F=()=>{if(s)return;const N=!k;R(N),r(N)};return S.jsxs(Wt,{onClick:s?void 0:F,style:h,"data-testid":g,useScaleAnimation:!1,useOpacityAnimation:!1,display:"inline-flex",alignItems:"center",cursor:s?"not-allowed":"pointer",children:[S.jsx(V,{display:"flex",alignItems:"center",justifyContent:"center",borderRadius:y.borderRadius,borderWidth:y.borderWidth,borderColor:O,backgroundColor:T,filter:s?"opacity(0.5)":"none",transition:`background-color ${C.duration}ms ${C.easing}, border-color ${C.duration}ms ${C.easing}`,children:S.jsx(jt,{type:"icon",art:Lc,size:_,color:v.colors[m.iconColor],weight:"bold",opacity:k?1:0,transition:`opacity ${C.duration}ms ${C.easing}`,margin:y.iconMargin})}),n&&S.jsx(V,{pl:y.labelPaddingLeft,children:S.jsx(Ve,{fontSize:y.labelFontSize,color:s?m.disabledTextColor:m.textColor,as:"span",children:n})})]})};function cd({value:n,onChange:i,disabled:r=!1}){const[s,l]=f.useState(!1),[u,h]=f.useState(!1),[g,v]=f.useState(n),m=f.useRef(null);f.useEffect(()=>{v(n)},[n]);const k=f.useCallback(()=>{r||l(x=>!x)},[r]),R=f.useCallback(x=>{x.disabled||(v(x.value),i==null||i(x.value),l(!1))},[i]),b=f.useCallback(()=>{l(!1)},[]);return{isOpen:s,setIsOpen:l,isHovering:u,setIsHovering:h,selectedValue:g,selectRef:m,handleToggle:k,handleSelect:R,handleClose:b}}function dd({option:n,isSelected:i,isDisabled:r,onSelect:s,sizeConfig:l,themeSelect:u,animation:h}){const g=f.useRef(null),v=Mi(g),m=u.dropdown;let k=m.backgroundColor;i?k=m.itemSelectedBackgroundColor:v&&!r&&(k=m.itemHoverBackgroundColor);const R=r?u.disabledContentColor:i?m.itemSelectedTextColor:m.itemTextColor;return S.jsx(Wt,{ref:g,onClick:()=>!r&&s(n),useScaleAnimation:!1,useOpacityAnimation:!1,cursor:r?"not-allowed":"pointer",fw:!0,children:S.jsx(V,{p:l.dropdownPaddingVertical,px:l.dropdownPaddingHorizontal,bgColor:k,transition:`background-color ${h.duration}ms ${h.easing}`,opacity:r?u.disabledOpacity:1,display:"block",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",children:S.jsx(Ve,{fontSize:l.fontSize,color:R,fontWeight:i?"semibold":"regular",as:"span",children:n.label})})},n.value)}function N3({anchorElement:n,isOpen:i,options:r,onSelect:s,selectedValue:l,onClose:u,size:h,borderRadius:g}){const v=he(),m=v.__hd__.select,k=m.dropdown,R=f.useRef(null),b=m.sizes[h],x=m.animation,y=n.getBoundingClientRect(),C=v.spaces[k.offset];return f.useEffect(()=>{const _=L=>{R.current&&!R.current.contains(L.target)&&n&&!n.contains(L.target)&&u()};return i?document.addEventListener("mousedown",_):document.removeEventListener("mousedown",_),()=>{document.removeEventListener("mousedown",_)}},[i,u,n]),ct()?null:Q2.createPortal(S.jsx(V,{ref:R,bgColor:k.backgroundColor,b:k.borderColor!=="transparent"?b.borderWidth:"none",borderColor:k.borderColor,boxShadow:k.shadow,position:"absolute",top:`${y.bottom+window.scrollY+C}px`,left:`${y.left+window.scrollX}px`,width:`${y.width}px`,zIndex:v.zIndex.getZIndex("AIC_Kits_Dropdown"),opacity:i?1:0,maxHeight:i?k.maxHeight:0,overflowY:"auto",transition:`opacity ${x.duration}ms ${x.easing},max-height ${x.duration}ms ${x.easing}`,onClick:_=>_.stopPropagation(),onMouseDown:_=>_.stopPropagation(),style:{borderRadius:g},children:r.length>0?r.map(_=>{const L=_.value===l,I=!!_.disabled;return S.jsx(dd,{option:_,isSelected:L,isDisabled:I,onSelect:s,sizeConfig:b,themeSelect:m,animation:x},_.value)}):S.jsx(V,{p:b.dropdownPaddingVertical,px:b.dropdownPaddingHorizontal,children:S.jsx(Ve,{fontSize:b.fontSize,color:k.emptyTextColor,as:"span",children:"No options available"})})}),document.body)}const Z3=({fontSize:n,color:i,...r})=>{const s=he(),l={border:"none",backgroundColor:"transparent",outline:"none",width:"100%",fontFamily:"inherit",padding:0,fontSize:s.__hd__.text.fontSizes[n],color:s.colors[i]};return S.jsx("input",{style:l,...r})},fd=({placeholder:n,selectedOptionLabel:i,isOpen:r,isDisabled:s,handleToggle:l,iconSizePx:u,inputBorderRadius:h,sizeConfig:g,animation:v,currentBgColor:m,currentBorderColor:k,baseBorderWidthKey:R,insetBoxShadow:b,textColor:x,iconColor:y,testId:C,setIsHovering:_,searchable:L,searchTerm:I,onSearchChange:T})=>{const O=r&&L;return S.jsx(Wt,{onClick:l,cursor:s?"not-allowed":"pointer",useScaleAnimation:!1,useOpacityAnimation:!1,"data-testid":C,onMouseEnter:()=>_(!0),onMouseLeave:()=>_(!1),children:S.jsxs(V,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",p:g.paddingVertical,px:g.paddingHorizontal,b:R,borderColor:k,bgColor:m,opacity:1,transition:`background-color ${v.duration}ms ${v.easing}, border-color ${v.duration}ms ${v.easing}, box-shadow ${v.duration}ms ${v.easing}`,gap:g.gap,style:{borderRadius:h,boxShadow:b},children:[S.jsx(V,{flex:1,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",children:O?S.jsx(Z3,{value:I,onChange:F=>T(F.target.value),placeholder:n,onClick:F=>F.stopPropagation(),autoFocus:!0,fontSize:g.fontSize,color:x}):S.jsx(Ve,{fontSize:g.fontSize,color:x,as:"span",children:i||n})}),S.jsx(jt,{type:"icon",art:ma,size:u,color:y,weight:"bold",transition:`transform ${v.duration}ms ${v.easing}`,transform:r?"rotate(180deg)":"rotate(0deg)"})]})})};function hd({theme:n,themeSelect:i,variant:r,isDisabled:s,isErrored:l,isOpen:u,isHovering:h,focusColor:g}){const v=i.variants[r],m="thin",k=n.borderWidths[m];let R;s?R=v.disabled:l?R=v.errored:u?R={...v.focused,borderColor:g}:h?R=v.hover:R=v.default;let b="none";if(!s&&!l&&u){const x=v.focused.borderWidth,y=n.borderWidths[x],C=Math.max(0,y-k);if(C>0){const _=n.colors[g];b=`inset 0 0 0 ${C}px ${_}`}}return{backgroundColor:R.backgroundColor,borderColor:R.borderColor,borderWidth:m,insetBoxShadow:b}}const H3=({options:n,value:i,onChange:r,placeholder:s="Select an option",label:l,helperText:u,error:h,disabled:g=!1,variant:v="outlined",color:m,size:k,corner:R,style:b,"data-testid":x,searchable:y=!1})=>{var Pe;const C=he(),_=C.__hd__.select,[L,I]=f.useState(""),{isOpen:T,isHovering:O,selectedValue:F,selectRef:N,handleToggle:Z,handleSelect:U,handleClose:de,setIsHovering:pe}=cd({value:i,onChange:r,disabled:g});f.useEffect(()=>{T&&I("")},[T]);const Ce=f.useMemo(()=>L?n.filter(Xe=>Xe.label.toLowerCase().includes(L.toLowerCase())):n,[n,L]),W=m??_.defaultColor,B=k??_.defaultSize,H=R??_.defaultCorner,ee=_.sizes[B],X=_.animation,Q=_.squircleBorderRadii[H],K=H==="circle"?_.dropdown.borderRadiusForCircle:_.dropdown.borderRadiusForRounded,me=C.radii[K],Se=!!h,Re=g,{backgroundColor:Ue,borderColor:Oe,borderWidth:qe,insetBoxShadow:Je}=hd({theme:C,themeSelect:_,variant:v,isDisabled:Re,isErrored:Se,isOpen:T,isHovering:O,focusColor:W}),Ke=Re?_.disabledContentColor:_.iconColor,Dt=Re?_.disabledContentColor:F!=null?_.valueColor:_.placeholderColor,wt=Re?_.disabledLabelColor:_.labelColor,yt=(Pe=n.find(Xe=>Xe.value===F))==null?void 0:Pe.label,Nt=it(C,ee.iconSize);return S.jsxs(V,{fw:!0,style:b,position:"relative",ref:N,children:[l&&S.jsx(V,{mb:"xs",children:S.jsx(Ve,{fontWeight:"medium",color:wt,children:l})}),S.jsx(fd,{placeholder:s,selectedOptionLabel:yt,isOpen:T,isDisabled:Re,handleToggle:Z,iconSizePx:Nt,inputBorderRadius:Q,sizeConfig:ee,animation:X,currentBgColor:Ue,currentBorderColor:Oe,baseBorderWidthKey:qe,insetBoxShadow:Je,textColor:Dt,iconColor:Ke,testId:x,setIsHovering:pe,searchable:y,searchTerm:L,onSearchChange:I}),(h||u)&&S.jsx(V,{children:S.jsx(Ve,{fontSize:"xs",color:h?_.errorColor:_.helperTextColor,as:"span",children:h||u})}),N.current&&S.jsx(N3,{anchorElement:N.current,isOpen:T,options:Ce,onSelect:U,selectedValue:F,onClose:de,size:B,borderRadius:`${me}px`})]})},Lu=f.createContext({columns:12}),yi={xs:0,sm:600,md:900,lg:1200,xl:1536},Fu=(n,i)=>ye.isNumber(i)?`${i}px`:Zu(i)?`${n.spaces[i]??0}px`:i,rr=(n,i)=>{if(i!==void 0)if(ye.isObject(i)){const r={};for(const s in i){const l=s,u=i[l];u!==void 0&&(r[l]=Fu(n,u))}return r}else return Fu(n,i)},V3=(n,i)=>{if(n<1||n>i)return console.warn(`AIC-Kits Grid: Size prop should be between 1 and ${i}. Received ${n}.`),"auto";const r=n/i,s=1-r,l=(r*100).toFixed(6).replace(/\.0+$/,""),u=s.toFixed(6).replace(/\.0+$/,"");return`calc(${l}% - ${u} * var(--grid-column-gap, 0px))`},U3=(n,i)=>{if(n<1||n>i-1)return console.warn(`AIC-Kits Grid: Offset prop should be between 1 and ${i-1}. Received ${n}.`),"0";const r=n/i,s=-r,l=(r*100).toFixed(6).replace(/\.0+$/,""),u=s.toFixed(6).replace(/\.0+$/,"");return`calc(${l}% - ${u} * var(--grid-column-gap, 0px))`},q3=({sizeValue:n,offsetValue:i,currentTotalColumns:r})=>{let s="";if(n==="auto")s+=`
|
|
313
313
|
flex-basis: auto;
|
|
314
314
|
flex-grow: 0;
|
|
315
315
|
flex-shrink: 0; /* Prevent shrinking below content size */
|
|
@@ -320,38 +320,38 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
320
320
|
flex-grow: 1;
|
|
321
321
|
max-width: 100%; /* Can grow up to 100% */
|
|
322
322
|
width: auto; /* Let flexbox handle width */
|
|
323
|
-
`;else if(typeof n=="number"){const l=
|
|
323
|
+
`;else if(typeof n=="number"){const l=V3(n,r);s+=`
|
|
324
324
|
flex-basis: ${l};
|
|
325
325
|
flex-grow: 0;
|
|
326
326
|
flex-shrink: 0; /* Prevent shrinking when space is tight */
|
|
327
|
-
`}return
|
|
328
|
-
`:s+=
|
|
329
|
-
`}}}return
|
|
327
|
+
`}return i==="auto"?s+="margin-left: auto;":typeof i=="number"?s+=`margin-left: ${U3(i,r)};`:s+="margin-left: 0;",s},G3=({size:n,offset:i,columnsContext:r})=>{let s="";const l=typeof r=="object"?r:{xs:r},u=typeof n=="object"?n:{xs:n},h=typeof i=="object"?i:{xs:i},g=Array.from(new Set([...Object.keys(yi),...ye.isObject(u)?Object.keys(u):[],...ye.isObject(h)?Object.keys(h):[],...ye.isObject(l)?Object.keys(l):[]]));g.sort((m,k)=>yi[m]-yi[k]);let v=typeof(l==null?void 0:l.xs)=="number"?l.xs:12;for(const m of g){l[m]!==void 0&&(v=l[m]);const k=u[m],R=h[m];if(k!==void 0||R!==void 0||m==="xs"||l[m]!==void 0){const b=q3({sizeValue:k??u.xs,offsetValue:R??h.xs,currentTotalColumns:v});if(b){const x=m==="xs"?"":`@media (min-width: ${yi[m]}px)`;x?s+=`${x} { ${b} }
|
|
328
|
+
`:s+=b+`
|
|
329
|
+
`}}}return Cn.css`${s}`},K3=_e(V)`
|
|
330
330
|
box-sizing: border-box;
|
|
331
331
|
margin: 0; // Reset margin by default
|
|
332
332
|
|
|
333
333
|
// --- Container Styles ---
|
|
334
|
-
${({container:n,theme:
|
|
334
|
+
${({container:n,theme:i,spacing:r,rowSpacing:s,columnSpacing:l,columns:u})=>n&&ut`
|
|
335
335
|
display: flex;
|
|
336
336
|
flex-wrap: wrap;
|
|
337
337
|
width: 100%; // Default container width
|
|
338
338
|
|
|
339
339
|
// Apply spacing using gap properties (more modern)
|
|
340
340
|
// Use helper to resolve responsive values
|
|
341
|
-
${
|
|
342
|
-
${s&&
|
|
343
|
-
row-gap: ${
|
|
344
|
-
--grid-row-gap: ${
|
|
341
|
+
${r&&ut`gap: ${rr(i,r)};`}
|
|
342
|
+
${s&&ut`
|
|
343
|
+
row-gap: ${rr(i,s)};
|
|
344
|
+
--grid-row-gap: ${rr(i,s)};
|
|
345
345
|
`}
|
|
346
|
-
${l&&
|
|
347
|
-
column-gap: ${
|
|
346
|
+
${l&&ut`
|
|
347
|
+
column-gap: ${rr(i,l)};
|
|
348
348
|
/* Expose for child items so they can calc width incl. gap */
|
|
349
|
-
--grid-column-gap: ${
|
|
349
|
+
--grid-column-gap: ${rr(i,l)};
|
|
350
350
|
`}
|
|
351
351
|
|
|
352
352
|
/* Fallback when only spacing is provided (uniform gap) */
|
|
353
|
-
${
|
|
354
|
-
--grid-column-gap: ${
|
|
353
|
+
${r&&!l&&ut`
|
|
354
|
+
--grid-column-gap: ${rr(i,r)};
|
|
355
355
|
`}
|
|
356
356
|
|
|
357
357
|
// Note: Fallback for browsers without gap support (e.g., negative margins)
|
|
@@ -359,43 +359,43 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
359
359
|
// Consider a polyfill or different approach if needed.
|
|
360
360
|
|
|
361
361
|
// Apply custom column count styling if needed (e.g., for debugging)
|
|
362
|
-
// ${u&&typeof u=="number"&&
|
|
362
|
+
// ${u&&typeof u=="number"&&ut`/* Custom columns: ${u} */`}
|
|
363
363
|
`}
|
|
364
364
|
|
|
365
365
|
// --- Item Styles ---
|
|
366
|
-
${({container:n,size:
|
|
366
|
+
${({container:n,size:i,offset:r,theme:s,columnsContext:l})=>!n&&(i!==void 0||r!==void 0)&&ut`
|
|
367
367
|
/* Reset margin potentially added by parent container's negative margin fallback */
|
|
368
368
|
/* margin: 0; */
|
|
369
|
-
${
|
|
369
|
+
${G3({size:i,offset:r,columnsContext:l})}
|
|
370
370
|
`}
|
|
371
|
-
`,
|
|
372
|
-
border-radius: ${({theme:n,$borderRadius:
|
|
373
|
-
width: ${({theme:n,$size:
|
|
374
|
-
height: ${({theme:n,$size:
|
|
371
|
+
`,pd=f.forwardRef(({container:n=!1,spacing:i,rowSpacing:r,columnSpacing:s,columns:l=12,size:u,offset:h,children:g,...v},m)=>{const k=f.useContext(Lu),R=l!==void 0?l:k.columns;return S.jsx(Lu.Provider,{value:{columns:R},children:S.jsx(K3,{ref:m,container:n,spacing:n?i:void 0,rowSpacing:n?r:void 0,columnSpacing:n?s:void 0,size:u,offset:h,columns:l,columnsContext:R,...v,children:g})})});pd.displayName="Grid";const $i=_e(Wt)`
|
|
372
|
+
border-radius: ${({theme:n,$borderRadius:i})=>n.radii[i]}px;
|
|
373
|
+
width: ${({theme:n,$size:i})=>n.sizes[i]}px;
|
|
374
|
+
height: ${({theme:n,$size:i})=>n.sizes[i]}px;
|
|
375
375
|
display: flex;
|
|
376
376
|
align-items: center;
|
|
377
377
|
justify-content: center;
|
|
378
|
-
background-color: ${({theme:n,$color:
|
|
378
|
+
background-color: ${({theme:n,$color:i,$selected:r})=>r?n.colors[i]:n.colors.white};
|
|
379
379
|
&:hover {
|
|
380
|
-
background-color: ${({theme:n,$color:
|
|
380
|
+
background-color: ${({theme:n,$color:i,$selected:r})=>r?void 0:n.colors[i]};
|
|
381
381
|
}
|
|
382
382
|
transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
|
|
383
|
-
`,
|
|
384
|
-
color: ${({theme:n,$selected:
|
|
385
|
-
font-size: ${({theme:n,$fontSize:
|
|
386
|
-
${
|
|
387
|
-
color: ${({theme:n,$selected:
|
|
383
|
+
`,zu=_e(Ve)`
|
|
384
|
+
color: ${({theme:n,$selected:i,$defaultColor:r})=>i?n.colors.white:n.colors[r]};
|
|
385
|
+
font-size: ${({theme:n,$fontSize:i})=>n.__hd__.text.fontSizes[i]}px;
|
|
386
|
+
${$i}:hover & {
|
|
387
|
+
color: ${({theme:n,$selected:i})=>i?void 0:n.colors.white};
|
|
388
388
|
}
|
|
389
389
|
transition: color 0.2s ease-in-out, transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
|
|
390
|
-
`,
|
|
391
|
-
color: ${({theme:n,$color:
|
|
392
|
-
${
|
|
393
|
-
color: ${({theme:n,$color:
|
|
390
|
+
`,X3=_e(jt)`
|
|
391
|
+
color: ${({theme:n,$color:i,$selected:r})=>r?n.colors.white:n.colors[i]};
|
|
392
|
+
${$i}:hover & {
|
|
393
|
+
color: ${({theme:n,$color:i,$selected:r})=>r?n.colors[i]:n.colors.white};
|
|
394
394
|
}
|
|
395
395
|
transition: color 0.2s ease-in-out, transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
|
|
396
|
-
width: ${({theme:n,$size:
|
|
397
|
-
height: ${({theme:n,$size:
|
|
398
|
-
`,
|
|
396
|
+
width: ${({theme:n,$size:i})=>n.sizes[i]}px;
|
|
397
|
+
height: ${({theme:n,$size:i})=>n.sizes[i]}px;
|
|
398
|
+
`,gd=({type:n="page",page:i,currentPage:r,selected:s=!1,disabled:l=!1,onClick:u,shape:h="circular",size:g="medium",color:v="primary",count:m})=>{const b=he().__hd__.pagination.item,x=b.sizes[g],y=b.shapes[h],C=L=>{if(console.log("type",n,"page",i,"currentPage",r,"count",m),l){L.stopPropagation();return}n==="first"&&(u==null||u(m&&m>=1?1:null,L)),n==="last"&&(u==null||u(m&&m>=1?m:null,L)),n==="previous"&&(u==null||u(r>=2?r-1:null,L)),n==="next"&&(u==null||u(r<=m-1?r+1:null,L)),n==="page"&&(u==null||u(i??null,L))},_=f.useMemo(()=>{switch(n){case"previous":return va;case"next":return kr;case"first":return Pc;case"last":return Mc;default:return null}},[n]);return n==="page"?S.jsx($i,{onClick:s?void 0:C,useScaleAnimation:!s,useOpacityAnimation:!s,$borderRadius:y.container.borderRadius,$size:x.container.size,$selected:s,$color:v,children:S.jsx(zu,{color:l?b.text.disabledColor:b.text.color,$defaultColor:b.defaultColor,$fontSize:x.text.fontSize,$selected:s,$color:v,children:String(i)})}):n==="end-ellipsis"||n==="start-ellipsis"?S.jsx(zu,{color:l?b.text.disabledColor:b.text.color,$defaultColor:b.defaultColor,$fontSize:x.text.fontSize,$selected:s,$color:v,children:"..."}):S.jsx($i,{onClick:C,$borderRadius:y.container.borderRadius,$size:x.container.size,$selected:s,$color:v,children:_&&S.jsx(X3,{type:"icon",art:_,$color:v,$selected:s,$size:x.icon.size,weight:x.icon.weight})})},Y3=({count:n,page:i,boundaryCount:r=1,siblingCount:s=1,showFirstButton:l=!1,showLastButton:u=!1,showPrevNextButtons:h=!0})=>{const g=(_,L)=>{const I=L-_+1;return Array.from({length:I},(T,O)=>_+O)},v=g(1,Math.min(r,n)),m=g(Math.max(n-r+1,r+1),n),k=Math.max(Math.min(i-s,n-r-s*2-1),r+2),R=Math.min(Math.max(i+s,r+s*2+2),m.length>0?m[0]-2:n-1),b=[];l&&b.push("first"),h&&b.push("previous"),b.push(...v);const x=v.length>0?v[v.length-1]:0;k===x+2?b.push(x+1):k>x+2&&b.push("start-ellipsis"),k<=R&&b.push(...g(k,R));const y=m.length>0?m[0]:n+1;return R===y-2?b.push(y-1):R<y-2&&b.push("end-ellipsis"),b.push(...m),h&&b.push("next"),u&&b.push("last"),{items:b.filter((_,L,I)=>typeof _=="number"?_>=1&&_<=n&&I.indexOf(_)===L:I.indexOf(_)===L).map(_=>{let L,I;return typeof _=="number"?(L="page",I=_):L=_,{type:L,page:I,selected:I===i,disabled:(L==="previous"||L==="first")&&i<=1||(L==="next"||L==="last")&&i>=n}})}},Q3=({count:n=1,page:i=1,onChange:r,boundaryCount:s=1,siblingCount:l=1,showFirstButton:u=!1,showLastButton:h=!1,showPrevNextButtons:g=!0,shape:v="circular",size:m="medium",color:k="primary"})=>{const b=he().__hd__.pagination,{items:x}=Y3({count:n,page:i,boundaryCount:s,siblingCount:l,showFirstButton:u,showLastButton:h,showPrevNextButtons:g}),y=f.useCallback((C,_)=>{r&&C!==null&&r(C,_)},[r]);return S.jsx(V,{display:"flex",flexDirection:"row",alignItems:"center",gap:b.container.sizes[m].gap,children:x.map((C,_)=>S.jsx(gd,{count:n,type:C.type,page:C.page,currentPage:i,selected:C.selected,disabled:C.disabled,onClick:y,shape:v,size:m,color:k},`${C.type}-${C.page||_}`))})},J3=da`
|
|
399
399
|
0% {
|
|
400
400
|
left: 0%;
|
|
401
401
|
width: 0%;
|
|
@@ -411,37 +411,37 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
411
411
|
width: 0%; /* Smallest at the right end */
|
|
412
412
|
transform: translateX(0%); /* Ensure it exits cleanly if it was translateX(100%) it would go off screen too fast */
|
|
413
413
|
}
|
|
414
|
-
`,
|
|
414
|
+
`,eb=_e(V)`
|
|
415
415
|
position: relative;
|
|
416
416
|
overflow: hidden;
|
|
417
|
-
height: ${({theme:n,$heightKey:
|
|
418
|
-
background-color: ${({theme:n,$backgroundColorKey:
|
|
419
|
-
border-radius: ${({theme:n,$borderRadiusKey:
|
|
420
|
-
border-width: ${({theme:n,$borderWidthKey:
|
|
417
|
+
height: ${({theme:n,$heightKey:i})=>n.sizes[i]}px;
|
|
418
|
+
background-color: ${({theme:n,$backgroundColorKey:i})=>n.colors[i]||i};
|
|
419
|
+
border-radius: ${({theme:n,$borderRadiusKey:i})=>n.radii[i]}px;
|
|
420
|
+
border-width: ${({theme:n,$borderWidthKey:i})=>i?n.borderWidths[i]:0}px;
|
|
421
421
|
border-style: ${({$borderWidthKey:n})=>n?"solid":"none"};
|
|
422
|
-
border-color: ${({theme:n,$borderColorKey:
|
|
423
|
-
`,
|
|
422
|
+
border-color: ${({theme:n,$borderColorKey:i})=>i?n.colors[i]||i:"transparent"};
|
|
423
|
+
`,tb=_e(V)`
|
|
424
424
|
width: 100%;
|
|
425
425
|
height: 100%;
|
|
426
426
|
position: relative; /* For absolute positioning of the indicator */
|
|
427
|
-
`,
|
|
427
|
+
`,nb=_e(V)`
|
|
428
428
|
position: absolute;
|
|
429
429
|
top: 0;
|
|
430
430
|
bottom: 0;
|
|
431
431
|
/* Removed left: 0; as animation will control it for indeterminate */
|
|
432
432
|
height: 100%;
|
|
433
|
-
background-color: ${({theme:n,$progressColorKey:
|
|
434
|
-
border-radius: ${({theme:n,$borderRadiusKey:
|
|
433
|
+
background-color: ${({theme:n,$progressColorKey:i})=>n.colors[i]};
|
|
434
|
+
border-radius: ${({theme:n,$borderRadiusKey:i})=>n.radii[i]}px;
|
|
435
435
|
|
|
436
|
-
${({$progressValue:n})=>n!==void 0?
|
|
436
|
+
${({$progressValue:n})=>n!==void 0?ut`
|
|
437
437
|
width: ${n}%;
|
|
438
438
|
left: 0; // Explicitly set left for determinate state
|
|
439
439
|
transition: width 0.3s ease-in-out;
|
|
440
|
-
`:
|
|
440
|
+
`:ut`
|
|
441
441
|
/* Indeterminate: animation controls width and position */
|
|
442
|
-
animation: ${
|
|
442
|
+
animation: ${J3} 2s infinite linear alternate;
|
|
443
443
|
`}
|
|
444
|
-
`,
|
|
444
|
+
`,rb=({value:n,color:i,size:r,variant:s,testID:l="progress",...u})=>{const g=he().__hd__.progress,v=s||g.defaultVariant,m=r||g.defaultSize,{height:k,borderRadius:R}=g.sizes[m],{containerBackgroundColor:b,containerBorderColor:x,containerBorderWidth:y,defaultProgressColor:C}=g.variants[v],_=i||C;let L=x;v==="outlined"&&(L=_);const I=n!==void 0?Math.max(0,Math.min(n,100)):void 0;return S.jsx(eb,{$heightKey:k,$borderRadiusKey:R,$backgroundColorKey:b,$borderColorKey:L,$borderWidthKey:y,"data-testid":`${l}-container`,...u,children:S.jsx(tb,{"data-testid":`${l}-bar`,children:S.jsx(nb,{$progressColorKey:_,$progressValue:I,$borderRadiusKey:R,"data-testid":`${l}-indicator`})})})},ib=_e(V)`
|
|
445
445
|
position: fixed;
|
|
446
446
|
top: 0;
|
|
447
447
|
left: 0;
|
|
@@ -452,4 +452,4 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
452
452
|
display: flex;
|
|
453
453
|
align-items: center;
|
|
454
454
|
justify-content: center;
|
|
455
|
-
`;let
|
|
455
|
+
`;let xi=0,Bu;const ob=({open:n,onClose:i,children:r,"data-testid":s,...l})=>{const u=he();if(f.useEffect(()=>{if(!(typeof document>"u"))return n&&(xi===0&&(Bu=document.body.style.overflow,document.body.style.overflow="hidden"),xi++),()=>{n&&(xi--,xi===0&&(document.body.style.overflow=Bu))}},[n]),!n)return null;const h=g=>{g.target===g.currentTarget&&(i==null||i())};return S.jsx(ib,{zIndex:u.zIndex.getZIndex("AIC_Kits_Modal"),onClick:h,"data-testid":s?`${s}-backdrop`:void 0,children:S.jsx(V,{maxHeight:"100vh",overflowY:"auto",...l,"data-testid":s?`${s}-container`:void 0,children:r})})},ab=({children:n,description:i,placement:r,backgroundColor:s,color:l})=>{const u=he(),h=u.__hd__.tooltip,g=r??h.defaultPlacement,v=s??h.defaultBackgroundColor,m=l??h.defaultTextColor,k=f.useRef(null),R=Mi(k),b=h.positioning.placements[g];return S.jsxs(V,{display:"inline-block",position:"relative",ref:k,children:[n,R&&S.jsx(V,{position:"absolute",bgColor:v,p:h.container.padding,r:h.container.borderRadius,boxShadow:h.container.shadow,zIndex:u.zIndex.getZIndex("AIC_Kits_Tooltip"),width:"max-content",maxWidth:h.container.maxWidth,...b,children:S.jsx(Ve,{color:m,fontSize:h.text.fontSize,children:i})})]})};exports.AIC_Kits_StackingLayers=Gt;exports.Accordion=z3;exports.Art=jt;exports.Avatar=Nc;exports.Base=Mv;exports.Box=V;exports.Brand=kc;exports.Button=na;exports.Carousel=P3;exports.Checkbox=D3;exports.DEFAULT_VIMEO_CONFIG=x3;exports.Divider=Gc;exports.Emoji=$c;exports.Grid=pd;exports.Header=Jc;exports.HeaderAuth=Xc;exports.HeaderLogo=Yc;exports.HeaderNav=Qc;exports.Icon=ga;exports.Image=Wc;exports.Input=zv;exports.List=Dv;exports.Loading=wa;exports.Modal=ob;exports.NormalizedBrowserName=Uc;exports.NormalizedDeviceType=Vc;exports.NormalizedOSName=qc;exports.Pagination=Q3;exports.PaginationItem=gd;exports.Progress=rb;exports.RESPONSIVE_BREAKPOINTS=Tr;exports.RESPONSIVE_BREAKPOINT_KEYS=Sr;exports.SUPPORTED_RICH_TEXT_TAGS=jc;exports.Select=H3;exports.SelectDropdownItem=dd;exports.SelectInputDisplay=fd;exports.Skeleton=Pi;exports.StyledBox=Cc;exports.Svg=Dc;exports.Tag=W3;exports.Text=Ve;exports.ThemeProvider=Sm;exports.Tooltip=ab;exports.Touchable=Wt;exports.VIMEO_HOST=_3;exports.Vimeo=C3;exports.accordionTheme=Hu;exports.artTheme=Vu;exports.avatarTheme=Uu;exports.baseTheme=qu;exports.buttonTheme=Gu;exports.carouselTheme=Ku;exports.checkboxTheme=Xu;exports.configKeys=xc;exports.css=ut;exports.cssPropsKey=vc;exports.customBoxPropsConfig=bc;exports.customBoxPropsKey=pa;exports.defaultColorPalette=Ri;exports.defaultGradientColorPalette=Du;exports.defaultScale=fn;exports.defaultTheme=_i;exports.dividerTheme=Yu;exports.genBoxStyle=_c;exports.generateResponsiveStyles=ha;exports.getBorderWidths=ia;exports.getComponentsTheme=cc;exports.getFontSizes=Ii;exports.getFontWeights=ca;exports.getFonts=la;exports.getGlobalTheme=pm;exports.getLineHeights=ua;exports.getPaginationTheme=nc;exports.getRadii=oa;exports.getResponsiveValue=pc;exports.getSelectStyles=hd;exports.getShadows=Nu;exports.getSizeValue=it;exports.getSizes=aa;exports.getSpaces=sa;exports.getTextColor=Li;exports.getTheme=dc;exports.getThemeValue=wc;exports.headerTheme=Qu;exports.inferResponsiveValues=hc;exports.inputTheme=Ju;exports.isBorderWidth=tm;exports.isColor=Wu;exports.isEmoji=Sc;exports.isFontSize=dm;exports.isFontWeight=fm;exports.isGradientColor=nm;exports.isIcon=Ec;exports.isImage=Ac;exports.isRadius=ju;exports.isResponsiveValue=Oi;exports.isSSR=ct;exports.isShadow=cm;exports.isSize=Fn;exports.isSpace=Zu;exports.isSvg=Tc;exports.keyframes=da;exports.listTheme=ec;exports.loadingTheme=tc;exports.mapStylePropToThemeValue=yc;exports.parseUserAgent=ta;exports.populateResponsiveValue=fa;exports.progressTheme=rc;exports.reduceResponsiveValue=gc;exports.selectTheme=ic;exports.shouldForwardProp=fc;exports.skeletonTheme=oc;exports.styled=_e;exports.tagTheme=ac;exports.tooltipTheme=sc;exports.touchableTheme=lc;exports.transformResponsiveValue=$t;exports.transposeObject=Jo;exports.useEventListener=ea;exports.useHover=Mi;exports.useInteractionDetector=ba;exports.useIsomorphicLayoutEffect=Hc;exports.useMediaQuery=uv;exports.useResponsiveBreakpoint=$r;exports.useSelectState=cd;exports.useTheme=he;exports.useUserAgent=bv;exports.useWindowDimensions=Zc;exports.vimeoTheme=uc;exports.zIndexRegistry=Bn;
|