@bigbinary/neetoui 3.2.52 → 3.2.55

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/layouts.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see layouts.js.LICENSE.txt */
2
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom"),require("react-router-dom")):"function"==typeof define&&define.amd?define(["react","react-dom","react-router-dom"],t):"object"==typeof exports?exports.neetoui=t(require("react"),require("react-dom"),require("react-router-dom")):e.neetoui=t(e.react,e["react-dom"],e["react-router-dom"])}(self,(function(e,t,n){return(()=>{var r={8594:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/;const o=(i={},function(e){return void 0===i[e]&&(i[e]=(t=e,r.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91)),i[e];var t});var i},4184:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var a=o.apply(null,n);a&&e.push(a)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var s in n)r.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},7484:function(e){e.exports=function(){"use strict";var e=6e4,t=36e5,n="millisecond",r="second",o="minute",i="hour",a="day",s="week",u="month",c="quarter",l="year",f="date",p="Invalid Date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},h=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},y={s:h,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),o=n%60;return(t<=0?"+":"-")+h(r,2,"0")+":"+h(o,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),o=t.clone().add(r,u),i=n-o<0,a=t.clone().add(r+(i?-1:1),u);return+(-(r+(n-o)/(i?o-a:a-o))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:u,y:l,w:s,d:a,D:f,h:i,m:o,s:r,ms:n,Q:c}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},g="en",b={};b[g]=v;var k=function(e){return e instanceof O},C=function(e,t,n){var r;if(!e)return g;if("string"==typeof e)b[e]&&(r=e),t&&(b[e]=t,r=e);else{var o=e.name;b[o]=e,r=o}return!n&&r&&(g=r),r||!n&&g},x=function(e,t){if(k(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new O(n)},w=y;w.l=C,w.i=k,w.w=function(e,t){return x(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var O=function(){function v(e){this.$L=C(e.locale,null,!0),this.parse(e)}var h=v.prototype;return h.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(w.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(d);if(r){var o=r[2]-1||0,i=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)):new Date(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},h.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},h.$utils=function(){return w},h.isValid=function(){return!(this.$d.toString()===p)},h.isSame=function(e,t){var n=x(e);return this.startOf(t)<=n&&n<=this.endOf(t)},h.isAfter=function(e,t){return x(e)<this.startOf(t)},h.isBefore=function(e,t){return this.endOf(t)<x(e)},h.$g=function(e,t,n){return w.u(e)?this[t]:this.set(n,e)},h.unix=function(){return Math.floor(this.valueOf()/1e3)},h.valueOf=function(){return this.$d.getTime()},h.startOf=function(e,t){var n=this,c=!!w.u(t)||t,p=w.p(e),d=function(e,t){var r=w.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return c?r:r.endOf(a)},m=function(e,t){return w.w(n.toDate()[e].apply(n.toDate("s"),(c?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},v=this.$W,h=this.$M,y=this.$D,g="set"+(this.$u?"UTC":"");switch(p){case l:return c?d(1,0):d(31,11);case u:return c?d(1,h):d(0,h+1);case s:var b=this.$locale().weekStart||0,k=(v<b?v+7:v)-b;return d(c?y-k:y+(6-k),h);case a:case f:return m(g+"Hours",0);case i:return m(g+"Minutes",1);case o:return m(g+"Seconds",2);case r:return m(g+"Milliseconds",3);default:return this.clone()}},h.endOf=function(e){return this.startOf(e,!1)},h.$set=function(e,t){var s,c=w.p(e),p="set"+(this.$u?"UTC":""),d=(s={},s[a]=p+"Date",s[f]=p+"Date",s[u]=p+"Month",s[l]=p+"FullYear",s[i]=p+"Hours",s[o]=p+"Minutes",s[r]=p+"Seconds",s[n]=p+"Milliseconds",s)[c],m=c===a?this.$D+(t-this.$W):t;if(c===u||c===l){var v=this.clone().set(f,1);v.$d[d](m),v.init(),this.$d=v.set(f,Math.min(this.$D,v.daysInMonth())).$d}else d&&this.$d[d](m);return this.init(),this},h.set=function(e,t){return this.clone().$set(e,t)},h.get=function(e){return this[w.p(e)]()},h.add=function(n,c){var f,p=this;n=Number(n);var d=w.p(c),m=function(e){var t=x(p);return w.w(t.date(t.date()+Math.round(e*n)),p)};if(d===u)return this.set(u,this.$M+n);if(d===l)return this.set(l,this.$y+n);if(d===a)return m(1);if(d===s)return m(7);var v=(f={},f[o]=e,f[i]=t,f[r]=1e3,f)[d]||1,h=this.$d.getTime()+n*v;return w.w(h,this)},h.subtract=function(e,t){return this.add(-1*e,t)},h.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;var r=e||"YYYY-MM-DDTHH:mm:ssZ",o=w.z(this),i=this.$H,a=this.$m,s=this.$M,u=n.weekdays,c=n.months,l=function(e,n,o,i){return e&&(e[n]||e(t,r))||o[n].substr(0,i)},f=function(e){return w.s(i%12||12,e,"0")},d=n.meridiem||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r},v={YY:String(this.$y).slice(-2),YYYY:this.$y,M:s+1,MM:w.s(s+1,2,"0"),MMM:l(n.monthsShort,s,c,3),MMMM:l(c,s),D:this.$D,DD:w.s(this.$D,2,"0"),d:String(this.$W),dd:l(n.weekdaysMin,this.$W,u,2),ddd:l(n.weekdaysShort,this.$W,u,3),dddd:u[this.$W],H:String(i),HH:w.s(i,2,"0"),h:f(1),hh:f(2),a:d(i,a,!0),A:d(i,a,!1),m:String(a),mm:w.s(a,2,"0"),s:String(this.$s),ss:w.s(this.$s,2,"0"),SSS:w.s(this.$ms,3,"0"),Z:o};return r.replace(m,(function(e,t){return t||v[e]||o.replace(":","")}))},h.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},h.diff=function(n,f,p){var d,m=w.p(f),v=x(n),h=(v.utcOffset()-this.utcOffset())*e,y=this-v,g=w.m(this,v);return g=(d={},d[l]=g/12,d[u]=g,d[c]=g/3,d[s]=(y-h)/6048e5,d[a]=(y-h)/864e5,d[i]=y/t,d[o]=y/e,d[r]=y/1e3,d)[m]||y,p?g:w.a(g)},h.daysInMonth=function(){return this.endOf(u).$D},h.$locale=function(){return b[this.$L]},h.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=C(e,t,!0);return r&&(n.$L=r),n},h.clone=function(){return w.w(this.$d,this)},h.toDate=function(){return new Date(this.valueOf())},h.toJSON=function(){return this.isValid()?this.toISOString():null},h.toISOString=function(){return this.$d.toISOString()},h.toString=function(){return this.$d.toUTCString()},v}(),E=O.prototype;return x.prototype=E,[["$ms",n],["$s",r],["$m",o],["$H",i],["$W",a],["$M",u],["$y",l],["$D",f]].forEach((function(e){E[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),x.extend=function(e,t){return e.$i||(e(t,O,x),e.$i=!0),x},x.locale=C,x.isDayjs=k,x.unix=function(e){return x(1e3*e)},x.en=b[g],x.Ls=b,x.p={},x}()},6036:function(e){e.exports=function(){"use strict";return function(e,t,n){var r=t.prototype,o=function(e){return e&&(e.indexOf?e:e.s)},i=function(e,t,n,r,i){var a=e.name?e:e.$locale(),s=o(a[t]),u=o(a[n]),c=s||u.map((function(e){return e.substr(0,r)}));if(!i)return c;var l=a.weekStart;return c.map((function(e,t){return c[(t+(l||0))%7]}))},a=function(){return n.Ls[n.locale()]},s=function(e,t){return e.formats[t]||function(e){return e.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}(e.formats[t.toUpperCase()])},u=function(){var e=this;return{months:function(t){return t?t.format("MMMM"):i(e,"months")},monthsShort:function(t){return t?t.format("MMM"):i(e,"monthsShort","months",3)},firstDayOfWeek:function(){return e.$locale().weekStart||0},weekdays:function(t){return t?t.format("dddd"):i(e,"weekdays")},weekdaysMin:function(t){return t?t.format("dd"):i(e,"weekdaysMin","weekdays",2)},weekdaysShort:function(t){return t?t.format("ddd"):i(e,"weekdaysShort","weekdays",3)},longDateFormat:function(t){return s(e.$locale(),t)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return u.bind(this)()},n.localeData=function(){var e=a();return{firstDayOfWeek:function(){return e.weekStart||0},weekdays:function(){return n.weekdays()},weekdaysShort:function(){return n.weekdaysShort()},weekdaysMin:function(){return n.weekdaysMin()},months:function(){return n.months()},monthsShort:function(){return n.monthsShort()},longDateFormat:function(t){return s(e,t)},meridiem:e.meridiem,ordinal:e.ordinal}},n.months=function(){return i(a(),"months")},n.monthsShort=function(){return i(a(),"monthsShort","months",3)},n.weekdays=function(e){return i(a(),"weekdays",null,null,e)},n.weekdaysShort=function(e){return i(a(),"weekdaysShort","weekdays",3,e)},n.weekdaysMin=function(e){return i(a(),"weekdaysMin","weekdays",2,e)}}}()},178:function(e){e.exports=function(){"use strict";var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(r,o,i){var a=o.prototype;i.utc=function(e){return new o({date:e,utc:!0,args:arguments})},a.utc=function(t){var n=i(this.toDate(),{locale:this.$L,utc:!0});return t?n.add(this.utcOffset(),e):n},a.local=function(){return i(this.toDate(),{locale:this.$L,utc:!1})};var s=a.parse;a.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),s.call(this,e)};var u=a.init;a.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else u.call(this)};var c=a.utcOffset;a.utcOffset=function(r,o){var i=this.$utils().u;if(i(r))return this.$u?0:i(this.$offset)?c.call(this):this.$offset;if("string"==typeof r&&null===(r=function(e){void 0===e&&(e="");var r=e.match(t);if(!r)return null;var o=(""+r[0]).match(n)||["-",0,0],i=o[0],a=60*+o[1]+ +o[2];return 0===a?0:"+"===i?a:-a}(r)))return this;var a=Math.abs(r)<=16?60*r:r,s=this;if(o)return s.$offset=a,s.$u=0===r,s;if(0!==r){var u=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(s=this.local().add(a+u,e)).$offset=a,s.$x.$localOffset=u}else s=this.utc();return s};var l=a.format;a.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return l.call(this,t)},a.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||(new Date).getTimezoneOffset());return this.$d.valueOf()-6e4*e},a.isUTC=function(){return!!this.$u},a.toISOString=function(){return this.toDate().toISOString()},a.toString=function(){return this.toDate().toUTCString()};var f=a.toDate;a.toDate=function(e){return"s"===e&&this.$offset?i(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():f.call(this)};var p=a.diff;a.diff=function(e,t,n){if(e&&this.$u===e.$u)return p.call(this,e,t,n);var r=this.local(),o=i(e).local();return p.call(r,o,t,n)}}}()},6833:function(e){e.exports=function(){"use strict";return function(e,t){t.prototype.weekday=function(e){var t=this.$locale().weekStart||0,n=this.$W,r=(n<t?n+7:n)-t;return this.$utils().u(e)?r:this.subtract(r,"day").add(e,"day")}}}()},2703:(e,t,n)=>{"use strict";var r=n(414);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},5697:(e,t,n)=>{e.exports=n(2703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},8156:t=>{"use strict";t.exports=e},7111:e=>{"use strict";e.exports=t},6128:e=>{"use strict";e.exports=n}},o={};function i(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={exports:{}};return r[e].call(n.exports,n,n.exports,i),n.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.p="";var a={};return(()=>{"use strict";i.r(a),i.d(a,{AppSwitcher:()=>gd,Container:()=>Hf,Header:()=>Nf,MenuBar:()=>Xd,Scrollable:()=>Ff,Sidebar:()=>Il,SubHeader:()=>zf});var e=i(8156),t=i.n(e),n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},n(e,t)};function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},o.apply(this,arguments)};function s(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function u(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function c(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create,Object.create;var l=function(e){return{isEnabled:function(t){return e.some((function(e){return!!t[e]}))}}},f={measureLayout:l(["layout","layoutId","drag","_layoutResetTransform"]),animation:l(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag"]),exit:l(["exit"]),drag:l(["drag","dragControls"]),focus:l(["whileFocus"]),hover:l(["whileHover","onHoverStart","onHoverEnd"]),tap:l(["whileTap","onTap","onTapStart","onTapCancel"]),pan:l(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),layoutAnimation:l(["layout","layoutId"])},p=(0,e.createContext)({strict:!1}),d=Object.keys(f),m=d.length,v=(0,e.createContext)({transformPagePoint:function(e){return e},isStatic:!1}),h=(0,e.createContext)({}),y=(0,e.createContext)(null);function g(t){var n=(0,e.useRef)(null);return null===n.current&&(n.current=t()),n.current}function b(){var t=(0,e.useContext)(y);if(null===t)return[!0,null];var n=t.isPresent,r=t.onExitComplete,o=t.register,i=x();return(0,e.useEffect)((function(){return o(i)}),[]),!n&&r?[!1,function(){return null==r?void 0:r(i)}]:[!0]}var k=0,C=function(){return k++},x=function(){return g(C)},w=(0,e.createContext)(null),O="undefined"!=typeof window,E=O?e.useLayoutEffect:e.useEffect;function S(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function P(e){return Array.isArray(e)}function T(e){return"string"==typeof e||P(e)}function j(e,t,n,r,o){var i;return void 0===r&&(r={}),void 0===o&&(o={}),"string"==typeof t&&(t=null===(i=e.variants)||void 0===i?void 0:i[t]),"function"==typeof t?t(null!=n?n:e.custom,r,o):t}function L(e,t,n){var r=e.getProps();return j(r,t,null!=n?n:r.custom,function(e){var t={};return e.forEachValue((function(e,n){return t[n]=e.get()})),t}(e),function(e){var t={};return e.forEachValue((function(e,n){return t[n]=e.getVelocity()})),t}(e))}function A(e){var t;return"function"==typeof(null===(t=e.animate)||void 0===t?void 0:t.start)||T(e.initial)||T(e.animate)||T(e.whileHover)||T(e.whileDrag)||T(e.whileTap)||T(e.whileFocus)||T(e.exit)}function M(e){return Boolean(A(e)||e.variants)}function _(e){return Array.isArray(e)?e.join(" "):e}function D(t){var n=t.preloadedFeatures,r=t.createVisualElement,i=t.useRender,a=t.useVisualState,s=t.Component;return n&&function(e){for(var t in e){var n=e[t];null!==n&&(f[t].Component=n)}}(n),(0,e.forwardRef)((function(t,n){var u=(0,e.useContext)(v).isStatic,c=null,l=function(t,n){var r=function(e,t){if(A(e)){var n=e.initial,r=e.animate;return{initial:!1===n||T(n)?n:void 0,animate:T(r)?r:void 0}}return!1!==e.inherit?t:{}}(t,(0,e.useContext)(h)),o=r.initial,i=r.animate;return(0,e.useMemo)((function(){return{initial:o,animate:i}}),n?[_(o),_(i)]:[])}(t,u),g=a(t,u);return!u&&O&&(l.visualElement=function(t,n,r,i){var a=(0,e.useContext)(v),s=(0,e.useContext)(p),u=(0,e.useContext)(h).visualElement,c=(0,e.useContext)(y),l=function(t){var n=t.layoutId,r=(0,e.useContext)(w);return r&&void 0!==n?r+"-"+n:n}(r),f=(0,e.useRef)(void 0);i||(i=s.renderer),!f.current&&i&&(f.current=i(t,{visualState:n,parent:u,props:o(o({},r),{layoutId:l}),presenceId:null==c?void 0:c.id,blockInitialAnimation:!1===(null==c?void 0:c.initial)}));var d=f.current;return E((function(){var e;d&&(d.setProps(o(o(o({},a),r),{layoutId:l})),d.isPresent=null===(e=c)||e.isPresent,d.isPresenceRoot=!u||u.presenceId!==(null==c?void 0:c.id),d.syncRender())})),(0,e.useEffect)((function(){var e;d&&(null===(e=d.animationState)||void 0===e||e.animateChanges())})),E((function(){return function(){return null==d?void 0:d.notifyUnmount()}}),[]),d}(s,g,t,r),c=function(t,n,r){var i=[];if((0,e.useContext)(p),!n)return null;for(var a=0;a<m;a++){var s=d[a],u=f[s],c=u.isEnabled,l=u.Component;c(t)&&l&&i.push(e.createElement(l,o({key:s},t,{visualElement:n})))}return i}(t,l.visualElement)),e.createElement(e.Fragment,null,e.createElement(h.Provider,{value:l},i(s,t,function(t,n,r){return(0,e.useCallback)((function(e){var o;e&&(null===(o=t.mount)||void 0===o||o.call(t,e)),n&&(e?n.mount(e):n.unmount()),r&&("function"==typeof r?r(e):S(r)&&(r.current=e))}),[n])}(g,l.visualElement,n),g,u)),c)}))}function V(e){function t(t,n){return void 0===n&&(n={}),D(e(t,n))}var n=new Map;return new Proxy(t,{get:function(e,r){return n.has(r)||n.set(r,t(r)),n.get(r)}})}var W=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function N(e){return"string"==typeof e&&!e.includes("-")&&!!(W.indexOf(e)>-1||/[A-Z]/.test(e))}var R={},z=["","X","Y","Z"],$=["transformPerspective","x","y","z"];function H(e,t){return $.indexOf(e)-$.indexOf(t)}["translate","scale","rotate","skew"].forEach((function(e){return z.forEach((function(t){return $.push(e+t)}))}));var I=new Set($);function B(e){return I.has(e)}var F=new Set(["originX","originY","originZ"]);function U(e){return F.has(e)}function q(e,t){var n=t.layout,r=t.layoutId;return B(e)||U(e)||(n||void 0!==r)&&(!!R[e]||"opacity"===e)}var Y=function(e){return null!==e&&"object"==typeof e&&e.getVelocity},Z={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function X(e){return e.startsWith("--")}var K=function(e,t){return t&&"number"==typeof e?t.transform(e):e},G=function(e,t){return function(n){return Math.max(Math.min(n,t),e)}},J=function(e){return e%1?Number(e.toFixed(5)):e},Q=/(-)?([\d]*\.?[\d])+/g,ee=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,te=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function ne(e){return"string"==typeof e}var re=function(e){return{test:function(t){return ne(t)&&t.endsWith(e)&&1===t.split(" ").length},parse:parseFloat,transform:function(t){return""+t+e}}},oe=re("deg"),ie=re("%"),ae=re("px"),se=re("vh"),ue=re("vw"),ce=o(o({},ie),{parse:function(e){return ie.parse(e)/100},transform:function(e){return ie.transform(100*e)}}),le={test:function(e){return"number"==typeof e},parse:parseFloat,transform:function(e){return e}},fe=o(o({},le),{transform:G(0,1)}),pe=o(o({},le),{default:1}),de=o(o({},le),{transform:Math.round}),me={borderWidth:ae,borderTopWidth:ae,borderRightWidth:ae,borderBottomWidth:ae,borderLeftWidth:ae,borderRadius:ae,radius:ae,borderTopLeftRadius:ae,borderTopRightRadius:ae,borderBottomRightRadius:ae,borderBottomLeftRadius:ae,width:ae,maxWidth:ae,height:ae,maxHeight:ae,size:ae,top:ae,right:ae,bottom:ae,left:ae,padding:ae,paddingTop:ae,paddingRight:ae,paddingBottom:ae,paddingLeft:ae,margin:ae,marginTop:ae,marginRight:ae,marginBottom:ae,marginLeft:ae,rotate:oe,rotateX:oe,rotateY:oe,rotateZ:oe,scale:pe,scaleX:pe,scaleY:pe,scaleZ:pe,skew:oe,skewX:oe,skewY:oe,distance:ae,translateX:ae,translateY:ae,translateZ:ae,x:ae,y:ae,z:ae,perspective:ae,transformPerspective:ae,opacity:fe,originX:ce,originY:ce,originZ:ae,zIndex:de,fillOpacity:fe,strokeOpacity:fe,numOctaves:de};function ve(e,t,n,r,o,i,a,s){var u,c=e.style,l=e.vars,f=e.transform,p=e.transformKeys,d=e.transformOrigin;p.length=0;var m=!1,v=!1,h=!0;for(var y in t){var g=t[y];if(X(y))l[y]=g;else{var b=me[y],k=K(g,b);if(B(y)){if(m=!0,f[y]=k,p.push(y),!h)continue;g!==(null!==(u=b.default)&&void 0!==u?u:0)&&(h=!1)}else if(U(y))d[y]=k,v=!0;else if((null==n?void 0:n.isHydrated)&&(null==r?void 0:r.isHydrated)&&R[y]){var C=R[y].process(g,r,n),x=R[y].applyTo;if(x)for(var w=x.length,O=0;O<w;O++)c[x[O]]=C;else c[y]=C}else c[y]=k}}r&&n&&a&&s?(c.transform=a(r.deltaFinal,r.treeScale,m?f:void 0),i&&(c.transform=i(f,c.transform)),c.transformOrigin=s(r)):(m&&(c.transform=function(e,t,n,r){var o=e.transform,i=e.transformKeys,a=t.enableHardwareAcceleration,s=void 0===a||a,u=t.allowTransformNone,c=void 0===u||u,l="";i.sort(H);for(var f=!1,p=i.length,d=0;d<p;d++){var m=i[d];l+=(Z[m]||m)+"("+o[m]+") ","z"===m&&(f=!0)}return!f&&s?l+="translateZ(0)":l=l.trim(),r?l=r(o,n?"":l):c&&n&&(l="none"),l}(e,o,h,i)),v&&(c.transformOrigin=function(e){var t=e.originX,n=void 0===t?"50%":t,r=e.originY,o=void 0===r?"50%":r,i=e.originZ;return n+" "+o+" "+(void 0===i?0:i)}(d)))}function he(e,t,n){for(var r in t)Y(t[r])||q(r,n)||(e[r]=t[r])}function ye(t,n,r){var i={},a=function(t,n,r){var i={};return he(i,t.style||{},t),Object.assign(i,function(t,n,r){var i=t.transformTemplate;return(0,e.useMemo)((function(){var e={style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}};ve(e,n,void 0,void 0,{enableHardwareAcceleration:!r},i);var t=e.style;return o(o({},e.vars),t)}),[n])}(t,n,r)),t.transformValues&&(i=t.transformValues(i)),i}(t,n,r);return Boolean(t.drag)&&(i.draggable=!1,a.userSelect=a.WebkitUserSelect=a.WebkitTouchCallout="none",a.touchAction=!0===t.drag?"none":"pan-"+("x"===t.drag?"y":"x")),i.style=a,i}var ge=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","_layoutResetTransform","onLayoutAnimationComplete","onViewportBoxUpdate","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover"]);function be(e){return ge.has(e)}var ke=function(e){return!be(e)};try{var Ce=i(8594).Z;ke=function(e){return e.startsWith("on")?!be(e):Ce(e)}}catch(e){}function xe(e,t,n){return"string"==typeof e?e:ae.transform(t+n*e)}var we=function(e,t){return ae.transform(e*t)},Oe={offset:"stroke-dashoffset",array:"stroke-dasharray"},Ee={offset:"strokeDashoffset",array:"strokeDasharray"};function Se(e,t,n,r,o,i,a,u){var c=t.attrX,l=t.attrY,f=t.originX,p=t.originY,d=t.pathLength,m=t.pathSpacing,v=void 0===m?1:m,h=t.pathOffset,y=void 0===h?0:h;ve(e,s(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),n,r,o,i,a,u),e.attrs=e.style,e.style={};var g=e.attrs,b=e.style,k=e.dimensions,C=e.totalPathLength;g.transform&&(k&&(b.transform=g.transform),delete g.transform),k&&(void 0!==f||void 0!==p||b.transform)&&(b.transformOrigin=function(e,t,n){return xe(t,e.x,e.width)+" "+xe(n,e.y,e.height)}(k,void 0!==f?f:.5,void 0!==p?p:.5)),void 0!==c&&(g.x=c),void 0!==l&&(g.y=l),void 0!==C&&void 0!==d&&function(e,t,n,r,o,i){void 0===r&&(r=1),void 0===o&&(o=0),void 0===i&&(i=!0);var a=i?Oe:Ee;e[a.offset]=we(-o,t);var s=we(n,t),u=we(r,t);e[a.array]=s+" "+u}(g,C,d,v,y,!1)}var Pe=function(){return o(o({},{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}),{attrs:{}})};function Te(t,n){var r=(0,e.useMemo)((function(){var e=Pe();return Se(e,n,void 0,void 0,{enableHardwareAcceleration:!1},t.transformTemplate),o(o({},e.attrs),{style:o({},e.style)})}),[n]);if(t.style){var i={};he(i,t.style,t),r.style=o(o({},i),r.style)}return r}function je(t){return void 0===t&&(t=!1),function(n,r,i,a,s){var u=a.latestValues,c=(N(n)?Te:ye)(r,u,s),l=function(e,t,n){var r={};for(var o in e)(ke(o)||!0===n&&be(o)||!t&&!be(o))&&(r[o]=e[o]);return r}(r,"string"==typeof n,t),f=o(o(o({},l),c),{ref:i});return(0,e.createElement)(n,f)}}var Le=/([a-z])([A-Z])/g,Ae=function(e){return e.replace(Le,"$1-$2").toLowerCase()};function Me(e,t){var n=t.style,r=t.vars;for(var o in Object.assign(e.style,n),r)e.style.setProperty(o,r[o])}var _e=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform"]);function De(e,t){for(var n in Me(e,t),t.attrs)e.setAttribute(_e.has(n)?n:Ae(n),t.attrs[n])}function Ve(e){var t=e.style,n={};for(var r in t)(Y(t[r])||q(r,e))&&(n[r]=t[r]);return n}function We(e){var t=Ve(e);for(var n in e)Y(e[n])&&(t["x"===n||"y"===n?"attr"+n.toUpperCase():n]=e[n]);return t}function Ne(e){return"object"==typeof e&&"function"==typeof e.start}var Re=function(e){return Array.isArray(e)},ze=function(e){return Re(e)?e[e.length-1]||0:e};function $e(e,t,n,r){var o=e.scrapeMotionValuesFromProps,i=e.createRenderState,a=e.onMount,s={latestValues:Ie(t,n,r,o),renderState:i()};return a&&(s.mount=function(e){return a(t,e,s)}),s}var He=function(t){return function(n,r){var o=(0,e.useContext)(h),i=(0,e.useContext)(y);return r?$e(t,n,o,i):g((function(){return $e(t,n,o,i)}))}};function Ie(e,t,n,r){var o,i,a={},u=!1===(null==n?void 0:n.initial),c=r(e);for(var l in c)a[l]=(o=c[l],i=void 0,function(e){return Boolean(e&&"object"==typeof e&&e.mix&&e.toValue)}(i=Y(o)?o.get():o)?i.toValue():i);var f=e.initial,p=e.animate,d=A(e),m=M(e);t&&m&&!d&&!1!==e.inherit&&(null!=f||(f=t.initial),null!=p||(p=t.animate));var v=u||!1===f?p:f;return v&&"boolean"!=typeof v&&!Ne(v)&&(Array.isArray(v)?v:[v]).forEach((function(t){var n=j(e,t);if(n){var r=n.transitionEnd;n.transition;var o=s(n,["transitionEnd","transition"]);for(var i in o)a[i]=o[i];for(var i in r)a[i]=r[i]}})),a}var Be,Fe={useVisualState:He({scrapeMotionValuesFromProps:We,createRenderState:Pe,onMount:function(e,t,n){var r=n.renderState,o=n.latestValues;try{r.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){r.dimensions={x:0,y:0,width:0,height:0}}"path"===t.tagName&&(r.totalPathLength=t.getTotalLength()),Se(r,o,void 0,void 0,{enableHardwareAcceleration:!1},e.transformTemplate),De(t,r)}})},Ue={useVisualState:He({scrapeMotionValuesFromProps:Ve,createRenderState:function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}}})};function qe(e,t,n,r){return e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n,r)}}function Ye(t,n,r,o){(0,e.useEffect)((function(){var e=t.current;if(r&&e)return qe(e,n,r,o)}),[t,n,r,o])}function Ze(e){return"undefined"!=typeof PointerEvent&&e instanceof PointerEvent?!("mouse"!==e.pointerType):e instanceof MouseEvent}function Xe(e){return!!e.touches}!function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.Exit="exit"}(Be||(Be={}));var Ke={pageX:0,pageY:0};function Ge(e,t){void 0===t&&(t="page");var n=e.touches[0]||e.changedTouches[0]||Ke;return{x:n[t+"X"],y:n[t+"Y"]}}function Je(e,t){return void 0===t&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function Qe(e,t){return void 0===t&&(t="page"),{point:Xe(e)?Ge(e,t):Je(e,t)}}var et=function(e,t){void 0===t&&(t=!1);var n=function(t){return e(t,Qe(t))};return t?function(e){return function(t){var n=t instanceof MouseEvent;(!n||n&&0===t.button)&&e(t)}}(n):n},tt={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},nt={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function rt(e){return O&&null===window.onpointerdown?e:O&&null===window.ontouchstart?nt[e]:O&&null===window.onmousedown?tt[e]:e}function ot(e,t,n,r){return qe(e,rt(t),et(n,"pointerdown"===t),r)}function it(e,t,n,r){return Ye(e,rt(t),n&&et(n,"pointerdown"===t),r)}function at(e){var t=null;return function(){return null===t&&(t=e,function(){t=null})}}var st=at("dragHorizontal"),ut=at("dragVertical");function ct(e){var t=!1;if("y"===e)t=ut();else if("x"===e)t=st();else{var n=st(),r=ut();n&&r?t=function(){n(),r()}:(n&&n(),r&&r())}return t}function lt(){var e=ct(!0);return!e||(e(),!1)}function ft(e,t,n){return function(r,o){var i;Ze(r)&&!lt()&&(null==n||n(r,o),null===(i=e.animationState)||void 0===i||i.setActive(Be.Hover,t))}}var pt=function(e,t){return!!t&&(e===t||pt(e,t.parentElement))};function dt(t){return(0,e.useEffect)((function(){return function(){return t()}}),[])}var mt=function(e,t){return function(n){return t(e(n))}},vt=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.reduce(mt)},ht=function(e){return function(t){return e(t),null}},yt={tap:ht((function(t){var n=t.onTap,r=t.onTapStart,o=t.onTapCancel,i=t.whileTap,a=t.visualElement,s=n||r||o||i,u=(0,e.useRef)(!1),c=(0,e.useRef)(null);function l(){var e;null===(e=c.current)||void 0===e||e.call(c),c.current=null}function f(){var e;return l(),u.current=!1,null===(e=a.animationState)||void 0===e||e.setActive(Be.Tap,!1),!lt()}function p(e,t){f()&&(pt(a.getInstance(),e.target)?null==n||n(e,t):null==o||o(e,t))}function d(e,t){f()&&(null==o||o(e,t))}it(a,"pointerdown",s?function(e,t){var n;l(),u.current||(u.current=!0,c.current=vt(ot(window,"pointerup",p),ot(window,"pointercancel",d)),null==r||r(e,t),null===(n=a.animationState)||void 0===n||n.setActive(Be.Tap,!0))}:void 0),dt(l)})),focus:ht((function(e){var t=e.whileFocus,n=e.visualElement;Ye(n,"focus",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(Be.Focus,!0)}:void 0),Ye(n,"blur",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(Be.Focus,!1)}:void 0)})),hover:ht((function(e){var t=e.onHoverStart,n=e.onHoverEnd,r=e.whileHover,o=e.visualElement;it(o,"pointerenter",t||r?ft(o,!0,t):void 0),it(o,"pointerleave",n||r?ft(o,!1,n):void 0)}))};function gt(e,t){if(!Array.isArray(t))return!1;var n=t.length;if(n!==e.length)return!1;for(var r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var bt=function(e,t,n){return Math.min(Math.max(n,e),t)};function kt(e,t){return e*Math.sqrt(1-t*t)}var Ct=["duration","bounce"],xt=["stiffness","damping","mass"];function wt(e,t){return t.some((function(t){return void 0!==e[t]}))}function Ot(e){var t=e.from,n=void 0===t?0:t,r=e.to,i=void 0===r?1:r,a=e.restSpeed,u=void 0===a?2:a,c=e.restDelta,l=s(e,["from","to","restSpeed","restDelta"]),f={done:!1,value:n},p=function(e){var t=o({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!wt(e,xt)&&wt(e,Ct)){var n=function(e){var t,n,r=e.duration,o=void 0===r?800:r,i=e.bounce,a=void 0===i?.25:i,s=e.velocity,u=void 0===s?0:s,c=e.mass,l=void 0===c?1:c,f=1-a;f=bt(.05,1,f),o=bt(.01,10,o/1e3),f<1?(t=function(e){var t=e*f,n=t*o;return.001-(t-u)/kt(e,f)*Math.exp(-n)},n=function(e){var n=e*f*o,r=n*u+u,i=Math.pow(f,2)*Math.pow(e,2)*o,a=Math.exp(-n),s=kt(Math.pow(e,2),f);return(.001-t(e)>0?-1:1)*((r-i)*a)/s}):(t=function(e){return Math.exp(-e*o)*((e-u)*o+1)-.001},n=function(e){return Math.exp(-e*o)*(o*o*(u-e))});var p=function(e,t,n){for(var r=n,o=1;o<12;o++)r-=e(r)/t(r);return r}(t,n,5/o);if(o*=1e3,isNaN(p))return{stiffness:100,damping:10,duration:o};var d=Math.pow(p,2)*l;return{stiffness:d,damping:2*f*Math.sqrt(l*d),duration:o}}(e);(t=o(o(o({},t),n),{velocity:0,mass:1})).isResolvedFromDuration=!0}return t}(l),d=p.stiffness,m=p.damping,v=p.mass,h=p.velocity,y=p.duration,g=p.isResolvedFromDuration,b=Et,k=Et;function C(){var e=h?-h/1e3:0,t=i-n,r=m/(2*Math.sqrt(d*v)),o=Math.sqrt(d/v)/1e3;if(null!=c||(c=Math.abs(i-n)<=1?.01:.4),r<1){var a=kt(o,r);b=function(n){var s=Math.exp(-r*o*n);return i-s*((e+r*o*t)/a*Math.sin(a*n)+t*Math.cos(a*n))},k=function(n){var i=Math.exp(-r*o*n);return r*o*i*(Math.sin(a*n)*(e+r*o*t)/a+t*Math.cos(a*n))-i*(Math.cos(a*n)*(e+r*o*t)-a*t*Math.sin(a*n))}}else if(1===r)b=function(n){return i-Math.exp(-o*n)*(t+(e+o*t)*n)};else{var s=o*Math.sqrt(r*r-1);b=function(n){var a=Math.exp(-r*o*n),u=Math.min(s*n,300);return i-a*((e+r*o*t)*Math.sinh(u)+s*t*Math.cosh(u))/s}}}return C(),{next:function(e){var t=b(e);if(g)f.done=e>=y;else{var n=1e3*k(e),r=Math.abs(n)<=u,o=Math.abs(i-t)<=c;f.done=r&&o}return f.value=f.done?i:t,f},flipTarget:function(){var e;h=-h,n=(e=[i,n])[0],i=e[1],C()}}}Ot.needsInterpolation=function(e,t){return"string"==typeof e||"string"==typeof t};var Et=function(e){return 0},St=function(e,t,n){var r=t-e;return 0===r?1:(n-e)/r},Pt=function(e,t,n){return-n*e+n*t+e},Tt=function(e,t){return function(n){return Boolean(ne(n)&&te.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t))}},jt=function(e,t,n){return function(r){var o;if(!ne(r))return r;var i=r.match(Q),a=i[0],s=i[1],u=i[2],c=i[3];return(o={})[e]=parseFloat(a),o[t]=parseFloat(s),o[n]=parseFloat(u),o.alpha=void 0!==c?parseFloat(c):1,o}},Lt=G(0,255),At=o(o({},le),{transform:function(e){return Math.round(Lt(e))}}),Mt={test:Tt("rgb","red"),parse:jt("red","green","blue"),transform:function(e){var t=e.red,n=e.green,r=e.blue,o=e.alpha,i=void 0===o?1:o;return"rgba("+At.transform(t)+", "+At.transform(n)+", "+At.transform(r)+", "+J(fe.transform(i))+")"}},_t={test:Tt("#"),parse:function(e){var t="",n="",r="",o="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),o=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),o=e.substr(4,1),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:Mt.transform},Dt={test:Tt("hsl","hue"),parse:jt("hue","saturation","lightness"),transform:function(e){var t=e.hue,n=e.saturation,r=e.lightness,o=e.alpha,i=void 0===o?1:o;return"hsla("+Math.round(t)+", "+ie.transform(J(n))+", "+ie.transform(J(r))+", "+J(fe.transform(i))+")"}},Vt=function(e,t,n){var r=e*e,o=t*t;return Math.sqrt(Math.max(0,n*(o-r)+r))},Wt=[_t,Mt,Dt],Nt=function(e){return Wt.find((function(t){return t.test(e)}))},Rt=function(e){return"'"+e+"' is not an animatable color. Use the equivalent color code instead."},zt=function(e,t){var n=Nt(e),r=Nt(t);Rt(e),Rt(t),n.transform,r.transform;var i=n.parse(e),a=r.parse(t),s=o({},i),u=n===Dt?Pt:Vt;return function(e){for(var t in s)"alpha"!==t&&(s[t]=u(i[t],a[t],e));return s.alpha=Pt(i.alpha,a.alpha,e),n.transform(s)}},$t={test:function(e){return Mt.test(e)||_t.test(e)||Dt.test(e)},parse:function(e){return Mt.test(e)?Mt.parse(e):Dt.test(e)?Dt.parse(e):_t.parse(e)},transform:function(e){return ne(e)?e:e.hasOwnProperty("red")?Mt.transform(e):Dt.transform(e)}},Ht="${c}",It="${n}";function Bt(e){var t=[],n=0,r=e.match(ee);r&&(n=r.length,e=e.replace(ee,Ht),t.push.apply(t,r.map($t.parse)));var o=e.match(Q);return o&&(e=e.replace(Q,It),t.push.apply(t,o.map(le.parse))),{values:t,numColors:n,tokenised:e}}function Ft(e){return Bt(e).values}function Ut(e){var t=Bt(e),n=t.values,r=t.numColors,o=t.tokenised,i=n.length;return function(e){for(var t=o,n=0;n<i;n++)t=t.replace(n<r?Ht:It,n<r?$t.transform(e[n]):J(e[n]));return t}}var qt=function(e){return"number"==typeof e?0:e},Yt={test:function(e){var t,n,r,o;return isNaN(e)&&ne(e)&&(null!==(n=null===(t=e.match(Q))||void 0===t?void 0:t.length)&&void 0!==n?n:0)+(null!==(o=null===(r=e.match(ee))||void 0===r?void 0:r.length)&&void 0!==o?o:0)>0},parse:Ft,createTransformer:Ut,getAnimatableNone:function(e){var t=Ft(e);return Ut(e)(t.map(qt))}},Zt=function(e){return"number"==typeof e};function Xt(e,t){return Zt(e)?function(n){return Pt(e,t,n)}:$t.test(e)?zt(e,t):Qt(e,t)}var Kt=function(e,t){var n=c([],e),r=n.length,o=e.map((function(e,n){return Xt(e,t[n])}));return function(e){for(var t=0;t<r;t++)n[t]=o[t](e);return n}},Gt=function(e,t){var n=o(o({},e),t),r={};for(var i in n)void 0!==e[i]&&void 0!==t[i]&&(r[i]=Xt(e[i],t[i]));return function(e){for(var t in r)n[t]=r[t](e);return n}};function Jt(e){for(var t=Yt.parse(e),n=t.length,r=0,o=0,i=0,a=0;a<n;a++)r||"number"==typeof t[a]?r++:void 0!==t[a].hue?i++:o++;return{parsed:t,numNumbers:r,numRGB:o,numHSL:i}}var Qt=function(e,t){var n=Yt.createTransformer(t),r=Jt(e),o=Jt(t);return r.numHSL===o.numHSL&&r.numRGB===o.numRGB&&(r.numNumbers,o.numNumbers),vt(Kt(r.parsed,o.parsed),n)},en=function(e,t){return function(n){return Pt(e,t,n)}};function tn(e,t,n){var r=void 0===n?{}:n,o=r.clamp,i=void 0===o||o,a=r.ease,s=r.mixer,u=e.length;t.length,!a||!Array.isArray(a)||a.length,e[0]>e[u-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());var c=function(e,t,n){for(var r=[],o=n||function(e){return"number"==typeof e?en:"string"==typeof e?$t.test(e)?zt:Qt:Array.isArray(e)?Kt:"object"==typeof e?Gt:void 0}(e[0]),i=e.length-1,a=0;a<i;a++){var s=o(e[a],e[a+1]);if(t){var u=Array.isArray(t)?t[a]:t;s=vt(u,s)}r.push(s)}return r}(t,a,s),l=2===u?function(e,t){var n=e[0],r=e[1],o=t[0];return function(e){return o(St(n,r,e))}}(e,c):function(e,t){var n=e.length,r=n-1;return function(o){var i=0,a=!1;if(o<=e[0]?a=!0:o>=e[r]&&(i=r-1,a=!0),!a){for(var s=1;s<n&&!(e[s]>o||s===r);s++);i=s-1}var u=St(e[i],e[i+1],o);return t[i](u)}}(e,c);return i?function(t){return l(bt(e[0],e[u-1],t))}:l}var nn,rn=function(e){return function(t){return 1-e(1-t)}},on=function(e){return function(t){return t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2}},an=function(e){return function(t){return t*t*((e+1)*t-e)}},sn=function(e){return e},un=(2,function(e){return Math.pow(e,2)}),cn=rn(un),ln=on(un),fn=function(e){return 1-Math.sin(Math.acos(e))},pn=rn(fn),dn=on(pn),mn=an(1.525),vn=rn(mn),hn=on(mn),yn=(nn=an(1.525),function(e){return(e*=2)<1?.5*nn(e):.5*(2-Math.pow(2,-10*(e-1)))}),gn=function(e){if(1===e||0===e)return e;var t=e*e;return e<.36363636363636365?7.5625*t:e<.7272727272727273?9.075*t-9.9*e+3.4:e<.9?12.066481994459833*t-19.63545706371191*e+8.898060941828255:10.8*e*e-20.52*e+10.72},bn=rn(gn);function kn(e,t){return e.map((function(){return t||ln})).splice(0,e.length-1)}function Cn(e){var t=e.from,n=void 0===t?0:t,r=e.to,o=void 0===r?1:r,i=e.ease,a=e.offset,s=e.duration,u=void 0===s?300:s,c={done:!1,value:n},l=Array.isArray(o)?o:[n,o],f=function(e,t){return e.map((function(e){return e*t}))}(a&&a.length===l.length?a:function(e){var t=e.length;return e.map((function(e,n){return 0!==n?n/(t-1):0}))}(l),u);function p(){return tn(f,l,{ease:Array.isArray(i)?i:kn(l,i)})}var d=p();return{next:function(e){return c.value=d(e),c.done=e>=u,c},flipTarget:function(){l.reverse(),d=p()}}}var xn={keyframes:Cn,spring:Ot,decay:function(e){var t=e.velocity,n=void 0===t?0:t,r=e.from,o=void 0===r?0:r,i=e.power,a=void 0===i?.8:i,s=e.timeConstant,u=void 0===s?350:s,c=e.restDelta,l=void 0===c?.5:c,f=e.modifyTarget,p={done:!1,value:o},d=a*n,m=o+d,v=void 0===f?m:f(m);return v!==m&&(d=v-o),{next:function(e){var t=-d*Math.exp(-e/u);return p.done=!(t>l||t<-l),p.value=p.done?v:v+t,p},flipTarget:function(){}}}},wn=1/60*1e3,On="undefined"!=typeof performance?function(){return performance.now()}:function(){return Date.now()},En="undefined"!=typeof window?function(e){return window.requestAnimationFrame(e)}:function(e){return setTimeout((function(){return e(On())}),wn)},Sn=!0,Pn=!1,Tn=!1,jn={delta:0,timestamp:0},Ln=["read","update","preRender","render","postRender"],An=Ln.reduce((function(e,t){return e[t]=function(e){var t=[],n=[],r=0,o=!1,i=new WeakSet,a={schedule:function(e,a,s){void 0===a&&(a=!1),void 0===s&&(s=!1);var u=s&&o,c=u?t:n;return a&&i.add(e),-1===c.indexOf(e)&&(c.push(e),u&&o&&(r=t.length)),e},cancel:function(e){var t=n.indexOf(e);-1!==t&&n.splice(t,1),i.delete(e)},process:function(s){var u;if(o=!0,t=(u=[n,t])[0],(n=u[1]).length=0,r=t.length)for(var c=0;c<r;c++){var l=t[c];l(s),i.has(l)&&(a.schedule(l),e())}o=!1}};return a}((function(){return Pn=!0})),e}),{}),Mn=Ln.reduce((function(e,t){var n=An[t];return e[t]=function(e,t,r){return void 0===t&&(t=!1),void 0===r&&(r=!1),Pn||Nn(),n.schedule(e,t,r)},e}),{}),_n=Ln.reduce((function(e,t){return e[t]=An[t].cancel,e}),{}),Dn=Ln.reduce((function(e,t){return e[t]=function(){return An[t].process(jn)},e}),{}),Vn=function(e){return An[e].process(jn)},Wn=function(e){Pn=!1,jn.delta=Sn?wn:Math.max(Math.min(e-jn.timestamp,40),1),jn.timestamp=e,Tn=!0,Ln.forEach(Vn),Tn=!1,Pn&&(Sn=!1,En(Wn))},Nn=function(){Pn=!0,Sn=!0,Tn||En(Wn)},Rn=function(){return jn};const zn=Mn;function $n(e,t,n){return void 0===n&&(n=0),e-t-n}var Hn=function(e){var t=function(t){var n=t.delta;return e(n)};return{start:function(){return zn.update(t,!0)},stop:function(){return _n.update(t)}}};function In(e){var t,n,r,i,a,u=e.from,c=e.autoplay,l=void 0===c||c,f=e.driver,p=void 0===f?Hn:f,d=e.elapsed,m=void 0===d?0:d,v=e.repeat,h=void 0===v?0:v,y=e.repeatType,g=void 0===y?"loop":y,b=e.repeatDelay,k=void 0===b?0:b,C=e.onPlay,x=e.onStop,w=e.onComplete,O=e.onRepeat,E=e.onUpdate,S=s(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]),P=S.to,T=0,j=S.duration,L=!1,A=!0,M=function(e){if(Array.isArray(e.to))return Cn;if(xn[e.type])return xn[e.type];var t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?Cn:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?Ot:Cn}(S);(null===(n=(t=M).needsInterpolation)||void 0===n?void 0:n.call(t,u,P))&&(a=tn([0,100],[u,P],{clamp:!1}),u=0,P=100);var _=M(o(o({},S),{from:u,to:P}));return l&&(null==C||C(),(r=p((function(e){if(A||(e=-e),m+=e,!L){var t=_.next(Math.max(0,m));i=t.value,a&&(i=a(i)),L=A?t.done:m<=0}null==E||E(i),L&&(0===T&&(null!=j||(j=m)),T<h?function(e,t,n,r){return r?e>=t+n:e<=-n}(m,j,k,A)&&(T++,"reverse"===g?m=function(e,t,n,r){return void 0===n&&(n=0),void 0===r&&(r=!0),r?$n(t+-e,t,n):t-(e-t)+n}(m,j,k,A=T%2==0):(m=$n(m,j,k),"mirror"===g&&_.flipTarget()),L=!1,O&&O()):(r.stop(),w&&w()))}))).start()),{stop:function(){null==x||x(),r.stop()}}}function Bn(e,t){return t?e*(1e3/t):0}var Fn=function(e){return 1e3*e},Un=function(e,t){return 1-3*t+3*e},qn=function(e,t){return 3*t-6*e},Yn=function(e){return 3*e},Zn=function(e,t,n){return((Un(t,n)*e+qn(t,n))*e+Yn(t))*e},Xn=function(e,t,n){return 3*Un(t,n)*e*e+2*qn(t,n)*e+Yn(t)},Kn=.1;function Gn(e,t,n,r){if(e===t&&n===r)return sn;for(var o=new Float32Array(11),i=0;i<11;++i)o[i]=Zn(i*Kn,e,n);return function(i){return 0===i||1===i?i:Zn(function(t){for(var r=0,i=1;10!==i&&o[i]<=t;++i)r+=Kn;--i;var a=r+(t-o[i])/(o[i+1]-o[i])*Kn,s=Xn(a,e,n);return s>=.001?function(e,t,n,r){for(var o=0;o<8;++o){var i=Xn(t,n,r);if(0===i)return t;t-=(Zn(t,n,r)-e)/i}return t}(t,a,e,n):0===s?a:function(e,t,n,r,o){var i,a,s=0;do{(i=Zn(a=t+(n-t)/2,r,o)-e)>0?n=a:t=a}while(Math.abs(i)>1e-7&&++s<10);return a}(t,r,r+Kn,e,n)}(i),t,r)}}var Jn={linear:sn,easeIn:un,easeInOut:ln,easeOut:cn,circIn:fn,circInOut:dn,circOut:pn,backIn:mn,backInOut:hn,backOut:vn,anticipate:yn,bounceIn:bn,bounceInOut:function(e){return e<.5?.5*(1-gn(1-2*e)):.5*gn(2*e-1)+.5},bounceOut:gn},Qn=function(e){if(Array.isArray(e)){e.length;var t=u(e,4);return Gn(t[0],t[1],t[2],t[3])}return"string"==typeof e?Jn[e]:e},er=function(e,t){return!("zIndex"===e||"number"!=typeof t&&!Array.isArray(t)&&("string"!=typeof t||!Yt.test(t)||t.startsWith("url(")))},tr=function(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}},nr=function(e){return{type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}},rr=function(){return{type:"keyframes",ease:"linear",duration:.3}},or=function(e){return{type:"keyframes",duration:.8,values:e}},ir={x:tr,y:tr,z:tr,rotate:tr,rotateX:tr,rotateY:tr,rotateZ:tr,scaleX:nr,scaleY:nr,scale:nr,opacity:rr,backgroundColor:rr,color:rr,default:nr},ar=new Set(["brightness","contrast","saturate","opacity"]);function sr(e){var t=e.slice(0,-1).split("("),n=t[0],r=t[1];if("drop-shadow"===n)return e;var o=(r.match(Q)||[])[0];if(!o)return e;var i=r.replace(o,""),a=ar.has(n)?1:0;return o!==r&&(a*=100),n+"("+a+i+")"}var ur=/([a-z-]*)\(.*?\)/g,cr=o(o({},Yt),{getAnimatableNone:function(e){var t=e.match(ur);return t?t.map(sr).join(" "):e}}),lr=o(o({},me),{color:$t,backgroundColor:$t,outlineColor:$t,fill:$t,stroke:$t,borderColor:$t,borderTopColor:$t,borderRightColor:$t,borderBottomColor:$t,borderLeftColor:$t,filter:cr,WebkitFilter:cr}),fr=function(e){return lr[e]};function pr(e,t){var n,r=fr(e);return r!==cr&&(r=Yt),null===(n=r.getAnimatableNone)||void 0===n?void 0:n.call(r,t)}function dr(e,t,n){var r,i,a,l;return Array.isArray(t.to)&&(null!==(r=e.duration)&&void 0!==r||(e.duration=.8)),function(e){Array.isArray(e.to)&&null===e.to[0]&&(e.to=c([],u(e.to)),e.to[0]=e.from)}(t),function(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=s(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}(e)||(e=o(o({},e),(i=n,a=t.to,l=Re(a)?or:ir[i]||ir.default,o({to:a},l(a))))),o(o({},t),function(e){var t=e.ease,n=e.times,r=e.yoyo,i=e.flip,a=e.loop,u=s(e,["ease","times","yoyo","flip","loop"]),c=o({},u);return n&&(c.offset=n),u.duration&&(c.duration=Fn(u.duration)),u.repeatDelay&&(c.repeatDelay=Fn(u.repeatDelay)),t&&(c.ease=function(e){return Array.isArray(e)&&"number"!=typeof e[0]}(t)?t.map(Qn):Qn(t)),"tween"===u.type&&(c.type="keyframes"),(r||a||i)&&(r?c.repeatType="reverse":a?c.repeatType="loop":i&&(c.repeatType="mirror"),c.repeat=a||r||i||u.repeat),"spring"!==u.type&&(c.type="keyframes"),c}(e))}function mr(e){return 0===e||"string"==typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function vr(e){return"number"==typeof e?0:pr("",e)}function hr(e,t){return e[t]||e.default||e}function yr(e,t,n,r){return void 0===r&&(r={}),t.start((function(i){var a,s,u=function(e,t,n,r,i){var a,s=hr(r,e),u=null!==(a=s.from)&&void 0!==a?a:t.get(),c=er(e,n);return"none"===u&&c&&"string"==typeof n?u=pr(e,n):mr(u)&&"string"==typeof n?u=vr(n):!Array.isArray(n)&&mr(n)&&"string"==typeof u&&(n=vr(u)),er(e,u)&&c&&!1!==s.type?function(){var r={from:u,to:n,velocity:t.getVelocity(),onComplete:i,onUpdate:function(e){return t.set(e)}};return"inertia"===s.type||"decay"===s.type?function(e){var t,n=e.from,r=void 0===n?0:n,i=e.velocity,a=void 0===i?0:i,s=e.min,u=e.max,c=e.power,l=void 0===c?.8:c,f=e.timeConstant,p=void 0===f?750:f,d=e.bounceStiffness,m=void 0===d?500:d,v=e.bounceDamping,h=void 0===v?10:v,y=e.restDelta,g=void 0===y?1:y,b=e.modifyTarget,k=e.driver,C=e.onUpdate,x=e.onComplete;function w(e){return void 0!==s&&e<s||void 0!==u&&e>u}function O(e){return void 0===s?u:void 0===u||Math.abs(s-e)<Math.abs(u-e)?s:u}function E(e){null==t||t.stop(),t=In(o(o({},e),{driver:k,onUpdate:function(t){var n;null==C||C(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:x}))}function S(e){E(o({type:"spring",stiffness:m,damping:h,restDelta:g},e))}if(w(r))S({from:r,velocity:a,to:O(r)});else{var P=l*a+r;void 0!==b&&(P=b(P));var T,j,L=O(P),A=L===s?-1:1;E({type:"decay",from:r,velocity:a,timeConstant:p,power:l,restDelta:g,modifyTarget:b,onUpdate:w(P)?function(e){T=j,j=e,a=Bn(e-T,Rn().delta),(1===A&&e>L||-1===A&&e<L)&&S({from:e,to:L,velocity:a})}:void 0})}return{stop:function(){return null==t?void 0:t.stop()}}}(o(o({},r),s)):In(o(o({},dr(s,r,e)),{onUpdate:function(e){var t;r.onUpdate(e),null===(t=s.onUpdate)||void 0===t||t.call(s,e)},onComplete:function(){var e;r.onComplete(),null===(e=s.onComplete)||void 0===e||e.call(s)}}))}:function(){var e;return t.set(n),i(),null===(e=null==s?void 0:s.onComplete)||void 0===e||e.call(s),{stop:function(){}}}}(e,t,n,r,i),c=function(e,t){var n;return null!==(n=(hr(e,t)||{}).delay)&&void 0!==n?n:0}(r,e),l=function(){return s=u()};return c?a=setTimeout(l,Fn(c)):l(),function(){clearTimeout(a),null==s||s.stop()}}))}var gr=function(e){return/^\-?\d*\.?\d+$/.test(e)};function br(e,t){-1===e.indexOf(t)&&e.push(t)}function kr(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var Cr=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(e){var t=this;return br(this.subscriptions,e),function(){return kr(t.subscriptions,e)}},e.prototype.notify=function(e,t,n){var r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(var o=0;o<r;o++){var i=this.subscriptions[o];i&&i(e,t,n)}},e.prototype.getSize=function(){return this.subscriptions.length},e.prototype.clear=function(){this.subscriptions.length=0},e}(),xr=function(){function e(e){var t,n=this;this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new Cr,this.velocityUpdateSubscribers=new Cr,this.renderSubscribers=new Cr,this.canTrackVelocity=!1,this.updateAndNotify=function(e,t){void 0===t&&(t=!0),n.prev=n.current,n.current=e;var r=Rn(),o=r.delta,i=r.timestamp;n.lastUpdated!==i&&(n.timeDelta=o,n.lastUpdated=i,zn.postRender(n.scheduleVelocityCheck)),n.prev!==n.current&&n.updateSubscribers.notify(n.current),n.velocityUpdateSubscribers.getSize()&&n.velocityUpdateSubscribers.notify(n.getVelocity()),t&&n.renderSubscribers.notify(n.current)},this.scheduleVelocityCheck=function(){return zn.postRender(n.velocityCheck)},this.velocityCheck=function(e){e.timestamp!==n.lastUpdated&&(n.prev=n.current,n.velocityUpdateSubscribers.notify(n.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t)))}return e.prototype.onChange=function(e){return this.updateSubscribers.add(e)},e.prototype.clearListeners=function(){this.updateSubscribers.clear()},e.prototype.onRenderRequest=function(e){return e(this.get()),this.renderSubscribers.add(e)},e.prototype.attach=function(e){this.passiveEffect=e},e.prototype.set=function(e,t){void 0===t&&(t=!0),t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)},e.prototype.get=function(){return this.current},e.prototype.getPrevious=function(){return this.prev},e.prototype.getVelocity=function(){return this.canTrackVelocity?Bn(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},e.prototype.start=function(e){var t=this;return this.stop(),new Promise((function(n){t.hasAnimated=!0,t.stopAnimation=e(n)})).then((function(){return t.clearAnimation()}))},e.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},e.prototype.isAnimating=function(){return!!this.stopAnimation},e.prototype.clearAnimation=function(){this.stopAnimation=null},e.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},e}();function wr(e){return new xr(e)}var Or=function(e){return function(t){return t.test(e)}},Er=[le,ae,ie,oe,ue,se,{test:function(e){return"auto"===e},parse:function(e){return e}}],Sr=function(e){return Er.find(Or(e))},Pr=c(c([],u(Er)),[$t,Yt]),Tr=function(e){return Pr.find(Or(e))};function jr(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,wr(n))}function Lr(e,t){if(t)return(t[e]||t.default||t).from}function Ar(e,t,n){var r;void 0===n&&(n={});var i=L(e,t,n.custom),a=(i||{}).transition,s=void 0===a?e.getDefaultTransition()||{}:a;n.transitionOverride&&(s=n.transitionOverride);var c=i?function(){return Mr(e,i,n)}:function(){return Promise.resolve()},l=(null===(r=e.variantChildren)||void 0===r?void 0:r.size)?function(r){void 0===r&&(r=0);var i=s.delayChildren,a=void 0===i?0:i,u=s.staggerChildren,c=s.staggerDirection;return function(e,t,n,r,i,a){void 0===n&&(n=0),void 0===r&&(r=0),void 0===i&&(i=1);var s=[],u=(e.variantChildren.size-1)*r,c=1===i?function(e){return void 0===e&&(e=0),e*r}:function(e){return void 0===e&&(e=0),u-e*r};return Array.from(e.variantChildren).sort(_r).forEach((function(e,r){s.push(Ar(e,t,o(o({},a),{delay:n+c(r)})).then((function(){return e.notifyAnimationComplete(t)})))})),Promise.all(s)}(e,t,a+r,u,c,n)}:function(){return Promise.resolve()},f=s.when;if(f){var p=u("beforeChildren"===f?[c,l]:[l,c],2),d=p[0],m=p[1];return d().then(m)}return Promise.all([c(),l(n.delay)])}function Mr(e,t,n){var r,i=void 0===n?{}:n,a=i.delay,u=void 0===a?0:a,c=i.transitionOverride,l=i.type,f=e.makeTargetAnimatable(t),p=f.transition,d=void 0===p?e.getDefaultTransition():p,m=f.transitionEnd,v=s(f,["transition","transitionEnd"]);c&&(d=c);var h=[],y=l&&(null===(r=e.animationState)||void 0===r?void 0:r.getState()[l]);for(var g in v){var b=e.getValue(g),k=v[g];if(!(!b||void 0===k||y&&Dr(y,g))){var C=yr(g,b,k,o({delay:u},d));h.push(C)}}return Promise.all(h).then((function(){m&&function(e,t){var n=L(e,t),r=n?e.makeTargetAnimatable(n,!1):{},i=r.transitionEnd,a=void 0===i?{}:i;r.transition;var u=s(r,["transitionEnd","transition"]);for(var c in u=o(o({},u),a))jr(e,c,ze(u[c]))}(e,m)}))}function _r(e,t){return e.sortNodePosition(t)}function Dr(e,t){var n=e.protectedKeys,r=e.needsAnimating,o=n.hasOwnProperty(t)&&!0!==r[t];return r[t]=!1,o}var Vr=[Be.Animate,Be.Hover,Be.Tap,Be.Drag,Be.Focus,Be.Exit],Wr=c([],u(Vr)).reverse(),Nr=Vr.length;function Rr(e){var t,n=function(e){return function(t){return Promise.all(t.map((function(t){var n=t.animation,r=t.options;return function(e,t,n){var r;if(void 0===n&&(n={}),e.notifyAnimationStart(),Array.isArray(t)){var o=t.map((function(t){return Ar(e,t,n)}));r=Promise.all(o)}else if("string"==typeof t)r=Ar(e,t,n);else{var i="function"==typeof t?L(e,t,n.custom):t;r=Mr(e,i,n)}return r.then((function(){return e.notifyAnimationComplete(t)}))}(e,n,r)})))}}(e),r=((t={})[Be.Animate]=zr(!0),t[Be.Hover]=zr(),t[Be.Tap]=zr(),t[Be.Drag]=zr(),t[Be.Focus]=zr(),t[Be.Exit]=zr(),t),i={},a=!0,l=function(t,n){var r=L(e,n);if(r){r.transition;var i=r.transitionEnd,a=s(r,["transition","transitionEnd"]);t=o(o(o({},t),a),i)}return t};function f(t,s){for(var f,p=e.getProps(),d=e.getVariantContext(!0)||{},m=[],v=new Set,h={},y=1/0,g=function(n){var i=Wr[n],g=r[i],b=null!==(f=p[i])&&void 0!==f?f:d[i],k=T(b),C=i===s?g.isActive:null;!1===C&&(y=n);var x=b===d[i]&&b!==p[i]&&k;if(x&&a&&e.manuallyAnimateOnMount&&(x=!1),g.protectedKeys=o({},h),!g.isActive&&null===C||!b&&!g.prevProp||Ne(b)||"boolean"==typeof b)return"continue";var w=function(e,t){return"string"==typeof t?t!==e:!!P(t)&&!gt(t,e)}(g.prevProp,b)||i===s&&g.isActive&&!x&&k||n>y&&k,O=Array.isArray(b)?b:[b],E=O.reduce(l,{});!1===C&&(E={});var S=g.prevResolvedValues,j=void 0===S?{}:S,L=o(o({},j),E),A=function(e){w=!0,v.delete(e),g.needsAnimating[e]=!0};for(var M in L){var _=E[M],D=j[M];h.hasOwnProperty(M)||(_!==D?Re(_)&&Re(D)?gt(_,D)?g.protectedKeys[M]=!0:A(M):void 0!==_?A(M):v.add(M):void 0!==_&&v.has(M)?A(M):g.protectedKeys[M]=!0)}g.prevProp=b,g.prevResolvedValues=E,g.isActive&&(h=o(o({},h),E)),a&&e.blockInitialAnimation&&(w=!1),w&&!x&&m.push.apply(m,c([],u(O.map((function(e){return{animation:e,options:o({type:i},t)}})))))},b=0;b<Nr;b++)g(b);if(i=o({},h),v.size){var k={};v.forEach((function(t){var n=e.getBaseTarget(t);void 0!==n&&(k[t]=n)})),m.push({animation:k})}var C=Boolean(m.length);return a&&!1===p.initial&&!e.manuallyAnimateOnMount&&(C=!1),a=!1,C?n(m):Promise.resolve()}return{isAnimated:function(e){return void 0!==i[e]},animateChanges:f,setActive:function(t,n,o){var i;return r[t].isActive===n?Promise.resolve():(null===(i=e.variantChildren)||void 0===i||i.forEach((function(e){var r;return null===(r=e.animationState)||void 0===r?void 0:r.setActive(t,n)})),r[t].isActive=n,f(o,t))},setAnimateFunction:function(t){n=t(e)},getState:function(){return r}}}function zr(e){return void 0===e&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var $r={animation:ht((function(t){var n=t.visualElement,r=t.animate;n.animationState||(n.animationState=Rr(n)),Ne(r)&&(0,e.useEffect)((function(){return r.subscribe(n)}),[r])})),exit:ht((function(t){var n=t.custom,r=t.visualElement,o=u(b(),2),i=o[0],a=o[1],s=(0,e.useContext)(y);(0,e.useEffect)((function(){var e,t,o=null===(e=r.animationState)||void 0===e?void 0:e.setActive(Be.Exit,!i,{custom:null!==(t=null==s?void 0:s.custom)&&void 0!==t?t:n});!i&&(null==o||o.then(a))}),[i])}))},Hr=function(e){return e.hasOwnProperty("x")&&e.hasOwnProperty("y")},Ir=function(e){return Hr(e)&&e.hasOwnProperty("z")},Br=function(e,t){return Math.abs(e-t)};function Fr(e,t){if(Zt(e)&&Zt(t))return Br(e,t);if(Hr(e)&&Hr(t)){var n=Br(e.x,t.x),r=Br(e.y,t.y),o=Ir(e)&&Ir(t)?Br(e.z,t.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(o,2))}}var Ur=function(){function e(e,t,n){var r=this,i=(void 0===n?{}:n).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(r.lastMoveEvent&&r.lastMoveEventInfo){var e=Zr(r.lastMoveEventInfo,r.history),t=null!==r.startEvent,n=Fr(e.offset,{x:0,y:0})>=3;if(t||n){var i=e.point,a=Rn().timestamp;r.history.push(o(o({},i),{timestamp:a}));var s=r.handlers,u=s.onStart,c=s.onMove;t||(u&&u(r.lastMoveEvent,e),r.startEvent=r.lastMoveEvent),c&&c(r.lastMoveEvent,e)}}},this.handlePointerMove=function(e,t){r.lastMoveEvent=e,r.lastMoveEventInfo=qr(t,r.transformPagePoint),Ze(e)&&0===e.buttons?r.handlePointerUp(e,t):zn.update(r.updatePoint,!0)},this.handlePointerUp=function(e,t){r.end();var n=r.handlers,o=n.onEnd,i=n.onSessionEnd,a=Zr(qr(t,r.transformPagePoint),r.history);r.startEvent&&o&&o(e,a),i&&i(e,a)},!(Xe(e)&&e.touches.length>1)){this.handlers=t,this.transformPagePoint=i;var a=qr(Qe(e),this.transformPagePoint),s=a.point,u=Rn().timestamp;this.history=[o(o({},s),{timestamp:u})];var c=t.onSessionStart;c&&c(e,Zr(a,this.history)),this.removeListeners=vt(ot(window,"pointermove",this.handlePointerMove),ot(window,"pointerup",this.handlePointerUp),ot(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(e){this.handlers=e},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),_n.update(this.updatePoint)},e}();function qr(e,t){return t?{point:t(e.point)}:e}function Yr(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Zr(e,t){var n=e.point;return{point:n,delta:Yr(n,Kr(t)),offset:Yr(n,Xr(t)),velocity:Gr(t,.1)}}function Xr(e){return e[0]}function Kr(e){return e[e.length-1]}function Gr(e,t){if(e.length<2)return{x:0,y:0};for(var n=e.length-1,r=null,o=Kr(e);n>=0&&(r=e[n],!(o.timestamp-r.timestamp>Fn(t)));)n--;if(!r)return{x:0,y:0};var i=(o.timestamp-r.timestamp)/1e3;if(0===i)return{x:0,y:0};var a={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function Jr(e){return e}function Qr(e){var t=e.top;return{x:{min:e.left,max:e.right},y:{min:t,max:e.bottom}}}var eo={translate:0,scale:1,origin:0,originPoint:0};function to(){return{x:o({},eo),y:o({},eo)}}function no(e){return[e("x"),e("y")]}function ro(e,t,n){var r=t.min,o=t.max;return void 0!==r&&e<r?e=n?Pt(r,e,n.min):Math.max(e,r):void 0!==o&&e>o&&(e=n?Pt(o,e,n.max):Math.min(e,o)),e}function oo(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function io(e,t){var n,r=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&(r=(n=u([o,r],2))[0],o=n[1]),{min:e.min+r,max:e.min+o}}function ao(e,t,n){return{min:so(e,t),max:so(e,n)}}function so(e,t){var n;return"number"==typeof e?e:null!==(n=e[t])&&void 0!==n?n:0}function uo(e,t){return Qr(function(e,t){var n=e.top,r=e.left,o=e.bottom,i=e.right;void 0===t&&(t=Jr);var a=t({x:r,y:n}),s=t({x:i,y:o});return{top:a.y,left:a.x,bottom:s.y,right:s.x}}(e.getBoundingClientRect(),t))}function co(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=.01),Fr(e,t)<n}function lo(e){return e.max-e.min}function fo(e,t,n,r){void 0===r&&(r=.5),e.origin=r,e.originPoint=Pt(t.min,t.max,e.origin),e.scale=lo(n)/lo(t),co(e.scale,1,1e-4)&&(e.scale=1),e.translate=Pt(n.min,n.max,e.origin)-e.originPoint,co(e.translate)&&(e.translate=0)}function po(e,t,n,r){fo(e.x,t.x,n.x,mo(r.originX)),fo(e.y,t.y,n.y,mo(r.originY))}function mo(e){return"number"==typeof e?e:.5}function vo(e,t,n){e.min=n.min+t.min,e.max=e.min+lo(t)}var ho=function(e,t){return e.depth-t.depth};function yo(e){return e.projection.isEnabled||e.shouldResetTransform()}function go(e,t){void 0===t&&(t=[]);var n=e.parent;return n&&go(n,t),yo(e)&&t.push(e),t}function bo(e){if(!e.shouldResetTransform()){var t,n=e.getLayoutState();e.notifyBeforeLayoutMeasure(n.layout),n.isHydrated=!0,n.layout=e.measureViewportBox(),n.layoutCorrected=(t=n.layout,{x:o({},t.x),y:o({},t.y)}),e.notifyLayoutMeasure(n.layout,e.prevViewportBox||n.layout),zn.update((function(){return e.rebaseProjectionTarget()}))}}function ko(e,t){return{min:t.min-e.min,max:t.max-e.min}}function Co(e,t){return{x:ko(e.x,t.x),y:ko(e.y,t.y)}}function xo(e,t){var n=e.getLayoutId(),r=t.getLayoutId();return n!==r||void 0===r&&e!==t}function wo(e){var t=e.getProps(),n=t.drag,r=t._dragX;return n&&!r}function Oo(e,t){e.min=t.min,e.max=t.max}function Eo(e,t,n){return n+t*(e-n)}function So(e,t,n,r,o){return void 0!==o&&(e=Eo(e,o,r)),Eo(e,n,r)+t}function Po(e,t,n,r,o){void 0===t&&(t=0),void 0===n&&(n=1),e.min=So(e.min,t,n,r,o),e.max=So(e.max,t,n,r,o)}function To(e,t){var n=t.x,r=t.y;Po(e.x,n.translate,n.scale,n.originPoint),Po(e.y,r.translate,r.scale,r.originPoint)}function jo(e,t,n,r){var o=u(r,3),i=o[0],a=o[1],s=o[2];e.min=t.min,e.max=t.max;var c=void 0!==n[s]?n[s]:.5,l=Pt(t.min,t.max,c);Po(e,n[i],n[a],l,n.scale)}var Lo=["x","scaleX","originX"],Ao=["y","scaleY","originY"];function Mo(e,t,n){jo(e.x,t.x,n,Lo),jo(e.y,t.y,n,Ao)}function _o(e,t,n,r,o){return e=Eo(e-=t,1/n,r),void 0!==o&&(e=Eo(e,1/o,r)),e}function Do(e,t,n){var r=u(n,3),o=r[0],i=r[1],a=r[2];!function(e,t,n,r,o){void 0===t&&(t=0),void 0===n&&(n=1),void 0===r&&(r=.5);var i=Pt(e.min,e.max,r)-t;e.min=_o(e.min,t,n,i,o),e.max=_o(e.max,t,n,i,o)}(e,t[o],t[i],t[a],t.scale)}function Vo(e,t){Do(e.x,t,Lo),Do(e.y,t,Ao)}var Wo=new Set;function No(e,t,n){e[n]||(e[n]=[]),e[n].push(t)}function Ro(e){return Wo.add(e),function(){return Wo.delete(e)}}function zo(){if(Wo.size){var e=0,t=[[]],n=[],r=function(n){return No(t,n,e)},o=function(t){No(n,t,e),e++};Wo.forEach((function(t){t(r,o),e=0})),Wo.clear();for(var i=n.length,a=0;a<=i;a++)t[a]&&t[a].forEach(Ho),n[a]&&n[a].forEach(Ho)}}var $o,Ho=function(e){return e()},Io=new WeakMap,Bo=function(){function e(e){var t=e.visualElement;this.isDragging=!1,this.currentDirection=null,this.constraints=!1,this.elastic={x:{min:0,max:1},y:{min:0,max:1}},this.props={},this.hasMutatedConstraints=!1,this.cursorProgress={x:.5,y:.5},this.originPoint={},this.openGlobalLock=null,this.panSession=null,this.visualElement=t,this.visualElement.enableLayoutProjection(),Io.set(t,this)}return e.prototype.start=function(e,t){var n=this,r=void 0===t?{}:t,o=r.snapToCursor,i=void 0!==o&&o,a=r.cursorProgress,s=this.props.transformPagePoint;this.panSession=new Ur(e,{onSessionStart:function(e){var t;n.stopMotion();var r=function(e){return Qe(e,"client")}(e).point;null===(t=n.cancelLayout)||void 0===t||t.call(n),n.cancelLayout=Ro((function(e,t){var o=go(n.visualElement),s=function(e){var t=[],n=function(e){yo(e)&&t.push(e),e.children.forEach(n)};return e.children.forEach(n),t.sort(ho)}(n.visualElement),l=c(c([],u(o)),u(s)),f=!1;n.isLayoutDrag()&&n.visualElement.lockProjectionTarget(),t((function(){l.forEach((function(e){return e.resetTransform()}))})),e((function(){bo(n.visualElement),s.forEach(bo)})),t((function(){l.forEach((function(e){return e.restoreTransform()})),i&&(f=n.snapToCursor(r))})),e((function(){Boolean(n.getAxisMotionValue("x")&&!n.isExternalDrag())||n.visualElement.rebaseProjectionTarget(!0,n.visualElement.measureViewportBox(!1)),n.visualElement.scheduleUpdateLayoutProjection();var e=n.visualElement.projection;no((function(t){if(!f){var o=e.target[t],i=o.min,s=o.max;n.cursorProgress[t]=a?a[t]:St(i,s,r[t])}var u=n.getAxisMotionValue(t);u&&(n.originPoint[t]=u.get())}))})),t((function(){Dn.update(),Dn.preRender(),Dn.render(),Dn.postRender()})),e((function(){return n.resolveDragConstraints()}))}))},onStart:function(e,t){var r,o,i,a=n.props,s=a.drag,u=a.dragPropagation;(!s||u||(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=ct(s),n.openGlobalLock))&&(zo(),n.isDragging=!0,n.currentDirection=null,null===(o=(r=n.props).onDragStart)||void 0===o||o.call(r,e,t),null===(i=n.visualElement.animationState)||void 0===i||i.setActive(Be.Drag,!0))},onMove:function(e,t){var r,o,i,a,s=n.props,u=s.dragPropagation,c=s.dragDirectionLock;if(u||n.openGlobalLock){var l=t.offset;if(c&&null===n.currentDirection)return n.currentDirection=function(e,t){void 0===t&&(t=10);var n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}(l),void(null!==n.currentDirection&&(null===(o=(r=n.props).onDirectionLock)||void 0===o||o.call(r,n.currentDirection)));n.updateAxis("x",t.point,l),n.updateAxis("y",t.point,l),null===(a=(i=n.props).onDrag)||void 0===a||a.call(i,e,t),$o=e}},onSessionEnd:function(e,t){return n.stop(e,t)}},{transformPagePoint:s})},e.prototype.resolveDragConstraints=function(){var e=this,t=this.props,n=t.dragConstraints,r=t.dragElastic,o=this.visualElement.getLayoutState().layoutCorrected;this.constraints=!!n&&(S(n)?this.resolveRefConstraints(o,n):function(e,t){var n=t.top,r=t.left,o=t.bottom,i=t.right;return{x:oo(e.x,r,i),y:oo(e.y,n,o)}}(o,n)),this.elastic=function(e){return!1===e?e=0:!0===e&&(e=.35),{x:ao(e,"left","right"),y:ao(e,"top","bottom")}}(r),this.constraints&&!this.hasMutatedConstraints&&no((function(t){e.getAxisMotionValue(t)&&(e.constraints[t]=function(e,t){var n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(o[t],e.constraints[t]))}))},e.prototype.resolveRefConstraints=function(e,t){var n=this.props,r=n.onMeasureDragConstraints,o=n.transformPagePoint,i=t.current;this.constraintsBox=uo(i,o);var a=function(e,t){return{x:io(e.x,t.x),y:io(e.y,t.y)}}(e,this.constraintsBox);if(r){var s=r(function(e){var t=e.x,n=e.y;return{top:n.min,bottom:n.max,left:t.min,right:t.max}}(a));this.hasMutatedConstraints=!!s,s&&(a=Qr(s))}return a},e.prototype.cancelDrag=function(){var e,t;this.visualElement.unlockProjectionTarget(),null===(e=this.cancelLayout)||void 0===e||e.call(this),this.isDragging=!1,this.panSession&&this.panSession.end(),this.panSession=null,!this.props.dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(t=this.visualElement.animationState)||void 0===t||t.setActive(Be.Drag,!1)},e.prototype.stop=function(e,t){var n,r,o;null===(n=this.panSession)||void 0===n||n.end(),this.panSession=null;var i=this.isDragging;if(this.cancelDrag(),i){var a=t.velocity;this.animateDragEnd(a),null===(o=(r=this.props).onDragEnd)||void 0===o||o.call(r,e,t)}},e.prototype.snapToCursor=function(e){var t=this;return no((function(n){if(Fo(n,t.props.drag,t.currentDirection)){var r=t.getAxisMotionValue(n);if(!r)return t.cursorProgress[n]=.5,!0;var o=t.visualElement.getLayoutState().layout,i=o[n].max-o[n].min,a=o[n].min+i/2,s=e[n]-a;t.originPoint[n]=e[n],r.set(s)}})).includes(!0)},e.prototype.updateAxis=function(e,t,n){if(Fo(e,this.props.drag,this.currentDirection))return this.getAxisMotionValue(e)?this.updateAxisMotionValue(e,n):this.updateVisualElementAxis(e,t)},e.prototype.updateAxisMotionValue=function(e,t){var n=this.getAxisMotionValue(e);if(t&&n){var r=this.originPoint[e]+t[e],o=this.constraints?ro(r,this.constraints[e],this.elastic[e]):r;n.set(o)}},e.prototype.updateVisualElementAxis=function(e,t){var n,r=this.visualElement.getLayoutState().layout[e],o=r.max-r.min,i=this.cursorProgress[e],a=function(e,t,n,r,o){var i=e-t*n;return r?ro(i,r,o):i}(t[e],o,i,null===(n=this.constraints)||void 0===n?void 0:n[e],this.elastic[e]);this.visualElement.setProjectionTargetAxis(e,a,a+o)},e.prototype.setProps=function(e){var t=e.drag,n=void 0!==t&&t,r=e.dragDirectionLock,i=void 0!==r&&r,a=e.dragPropagation,u=void 0!==a&&a,c=e.dragConstraints,l=void 0!==c&&c,f=e.dragElastic,p=void 0===f?.35:f,d=e.dragMomentum,m=void 0===d||d,v=s(e,["drag","dragDirectionLock","dragPropagation","dragConstraints","dragElastic","dragMomentum"]);this.props=o({drag:n,dragDirectionLock:i,dragPropagation:u,dragConstraints:l,dragElastic:p,dragMomentum:m},v)},e.prototype.getAxisMotionValue=function(e){var t=this.props,n=t.layout,r=t.layoutId,o="_drag"+e.toUpperCase();return this.props[o]?this.props[o]:n||void 0!==r?void 0:this.visualElement.getValue(e,0)},e.prototype.isLayoutDrag=function(){return!this.getAxisMotionValue("x")},e.prototype.isExternalDrag=function(){var e=this.props,t=e._dragX,n=e._dragY;return t||n},e.prototype.animateDragEnd=function(e){var t=this,n=this.props,r=n.drag,i=n.dragMomentum,a=n.dragElastic,s=n.dragTransition,u=function(e,t){void 0===t&&(t=!0);var n,r=e.getProjectionParent();return!!r&&(t?Vo(n=Co(r.projection.target,e.projection.target),r.getLatestValues()):n=Co(r.getLayoutState().layout,e.getLayoutState().layout),no((function(t){return e.setProjectionTargetAxis(t,n[t].min,n[t].max,!0)})),!0)}(this.visualElement,this.isLayoutDrag()&&!this.isExternalDrag()),c=this.constraints||{};if(u&&Object.keys(c).length&&this.isLayoutDrag()){var l=this.visualElement.getProjectionParent();if(l){var f=Co(l.projection.targetFinal,c);no((function(e){var t=f[e],n=t.min,r=t.max;c[e]={min:isNaN(n)?void 0:n,max:isNaN(r)?void 0:r}}))}}var p=no((function(n){var l;if(Fo(n,r,t.currentDirection)){var f=null!==(l=null==c?void 0:c[n])&&void 0!==l?l:{},p=a?200:1e6,d=a?40:1e7,m=o(o({type:"inertia",velocity:i?e[n]:0,bounceStiffness:p,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10},s),f);return t.getAxisMotionValue(n)?t.startAxisValueAnimation(n,m):t.visualElement.startLayoutAnimation(n,m,u)}}));return Promise.all(p).then((function(){var e,n;null===(n=(e=t.props).onDragTransitionEnd)||void 0===n||n.call(e)}))},e.prototype.stopMotion=function(){var e=this;no((function(t){var n=e.getAxisMotionValue(t);n?n.stop():e.visualElement.stopLayoutAnimation()}))},e.prototype.startAxisValueAnimation=function(e,t){var n=this.getAxisMotionValue(e);if(n){var r=n.get();return n.set(r),n.set(r),yr(e,n,0,t)}},e.prototype.scalePoint=function(){var e=this,t=this.props,n=t.drag;if(S(t.dragConstraints)&&this.constraintsBox){this.stopMotion();var r={x:0,y:0};no((function(t){var n,o,i,a,s;r[t]=(n=e.visualElement.projection.target[t],o=e.constraintsBox[t],i=.5,a=lo(n),(s=lo(o))>a?i=St(o.min,o.max-a,n.min):a>s&&(i=St(n.min,n.max-s,o.min)),function(e){return bt(0,1,e)}(i))})),this.updateConstraints((function(){no((function(t){if(Fo(t,n,null)){var o=function(e,t,n){var r=e.max-e.min,o=Pt(t.min,t.max-r,n);return{min:o,max:o+r}}(e.visualElement.projection.target[t],e.constraintsBox[t],r[t]),i=o.min,a=o.max;e.visualElement.setProjectionTargetAxis(t,i,a)}}))})),setTimeout(zo,1)}},e.prototype.updateConstraints=function(e){var t=this;this.cancelLayout=Ro((function(n,r){var o=go(t.visualElement);r((function(){return o.forEach((function(e){return e.resetTransform()}))})),n((function(){return bo(t.visualElement)})),r((function(){return o.forEach((function(e){return e.restoreTransform()}))})),n((function(){t.resolveDragConstraints()})),e&&r(e)}))},e.prototype.mount=function(e){var t=this,n=ot(e.getInstance(),"pointerdown",(function(e){var n=t.props,r=n.drag,o=n.dragListener;r&&(void 0===o||o)&&t.start(e)})),r=qe(window,"resize",(function(){t.scalePoint()})),o=e.onLayoutUpdate((function(){t.isDragging&&t.resolveDragConstraints()})),i=e.prevDragCursor;return i&&this.start($o,{cursorProgress:i}),function(){null==n||n(),null==r||r(),null==o||o(),t.cancelDrag()}},e}();function Fo(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}var Uo,qo,Yo={pan:ht((function(t){var n=t.onPan,r=t.onPanStart,o=t.onPanEnd,i=t.onPanSessionStart,a=t.visualElement,s=n||r||o||i,u=(0,e.useRef)(null),c=(0,e.useContext)(v).transformPagePoint,l={onSessionStart:i,onStart:r,onMove:n,onEnd:function(e,t){u.current=null,o&&o(e,t)}};(0,e.useEffect)((function(){null!==u.current&&u.current.updateHandlers(l)})),it(a,"pointerdown",s&&function(e){u.current=new Ur(e,l,{transformPagePoint:c})}),dt((function(){return u.current&&u.current.end()}))})),drag:ht((function(t){var n=t.dragControls,r=t.visualElement,i=(0,e.useContext)(v).transformPagePoint,a=g((function(){return new Bo({visualElement:r})}));a.setProps(o(o({},t),{transformPagePoint:i})),(0,e.useEffect)((function(){return n&&n.subscribe(a)}),[a]),(0,e.useEffect)((function(){return a.mount(r)}),[])}))};function Zo(e){return"string"==typeof e&&e.startsWith("var(--")}!function(e){e[e.Entering=0]="Entering",e[e.Present=1]="Present",e[e.Exiting=2]="Exiting"}(Uo||(Uo={})),function(e){e[e.Hide=0]="Hide",e[e.Show=1]="Show"}(qo||(qo={}));var Xo=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Ko(e,t,n){void 0===n&&(n=1);var r=u(function(e){var t=Xo.exec(e);if(!t)return[,];var n=u(t,3);return[n[1],n[2]]}(e),2),o=r[0],i=r[1];if(o){var a=window.getComputedStyle(t).getPropertyValue(o);return a?a.trim():Zo(i)?Ko(i,t,n+1):i}}function Go(e,t){return e/(t.max-t.min)*100}var Jo="_$css",Qo={process:function(e,t,n){var r=n.target;if("string"==typeof e){if(!ae.test(e))return e;e=parseFloat(e)}return Go(e,r.x)+"% "+Go(e,r.y)+"%"}},ei={borderRadius:o(o({},Qo),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:Qo,borderTopRightRadius:Qo,borderBottomLeftRadius:Qo,borderBottomRightRadius:Qo,boxShadow:{process:function(e,t){var n=t.delta,r=t.treeScale,o=e,i=e.includes("var("),a=[];i&&(e=e.replace(Xo,(function(e){return a.push(e),Jo})));var s=Yt.parse(e);if(s.length>5)return o;var u=Yt.createTransformer(e),c="number"!=typeof s[0]?1:0,l=n.x.scale*r.x,f=n.y.scale*r.y;s[0+c]/=l,s[1+c]/=f;var p=Pt(l,f,.5);"number"==typeof s[2+c]&&(s[2+c]/=p),"number"==typeof s[3+c]&&(s[3+c]/=p);var d=u(s);if(i){var m=0;d=d.replace(Jo,(function(){var e=a[m];return m++,e}))}return d}}},ti=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.frameTarget={x:{min:0,max:1},y:{min:0,max:1}},t.currentAnimationTarget={x:{min:0,max:1},y:{min:0,max:1}},t.isAnimating={x:!1,y:!1},t.stopAxisAnimation={x:void 0,y:void 0},t.isAnimatingTree=!1,t.animate=function(e,n,r){void 0===r&&(r={});var i=r.originBox,a=r.targetBox,u=r.visibilityAction,c=r.shouldStackAnimate,l=r.onComplete,f=r.prevParent,p=s(r,["originBox","targetBox","visibilityAction","shouldStackAnimate","onComplete","prevParent"]),d=t.props,m=d.visualElement,v=d.layout;if(!1===c)return t.isAnimatingTree=!1,t.safeToRemove();if(!t.isAnimatingTree||!0===c){c&&(t.isAnimatingTree=!0),n=i||n,e=a||e;var h=!1,y=m.getProjectionParent();if(y){var g=y.prevViewportBox,b=y.getLayoutState().layout;f&&(a&&(b=f.getLayoutState().layout),i&&!xo(f,y)&&f.prevViewportBox&&(g=f.prevViewportBox)),g&&si(f,i,a)&&(h=!0,n=Co(g,n),e=Co(b,e))}var k=ni(n,e),C=no((function(r){var i,a;if("position"===v){var s=e[r].max-e[r].min;n[r].max=n[r].min+s}if(!m.projection.isTargetLocked)return void 0===u?k?t.animateAxis(r,e[r],n[r],o(o({},p),{isRelative:h})):(null===(a=(i=t.stopAxisAnimation)[r])||void 0===a||a.call(i),m.setProjectionTargetAxis(r,e[r].min,e[r].max,h)):void m.setVisibility(u===qo.Show)}));return m.syncRender(),Promise.all(C).then((function(){t.isAnimatingTree=!1,l&&l(),m.notifyLayoutAnimationComplete()}))}},t}return r(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props.visualElement;t.animateMotionValue=yr,t.enableLayoutProjection(),this.unsubLayoutReady=t.onLayoutUpdate(this.animate),t.layoutSafeToRemove=function(){return e.safeToRemove()},function(e){for(var t in e)R[t]=e[t]}(ei)},t.prototype.componentWillUnmount=function(){var e=this;this.unsubLayoutReady(),no((function(t){var n,r;return null===(r=(n=e.stopAxisAnimation)[t])||void 0===r?void 0:r.call(n)}))},t.prototype.animateAxis=function(e,t,n,r){var o,i,a=this,s=void 0===r?{}:r,u=s.transition,c=s.isRelative;if(!this.isAnimating[e]||!ii(t,this.currentAnimationTarget[e])){null===(i=(o=this.stopAxisAnimation)[e])||void 0===i||i.call(o),this.isAnimating[e]=!0;var l=this.props.visualElement,f=this.frameTarget[e],p=l.getProjectionAnimationProgress()[e];p.clearListeners(),p.set(0),p.set(0);var d=function(){var r=p.get()/1e3;!function(e,t,n,r){e.min=Pt(t.min,n.min,r),e.max=Pt(t.max,n.max,r)}(f,n,t,r),l.setProjectionTargetAxis(e,f.min,f.max,c)};d();var m=p.onChange(d);this.stopAxisAnimation[e]=function(){a.isAnimating[e]=!1,p.stop(),m()},this.currentAnimationTarget[e]=t;var v=u||l.getDefaultTransition()||ai;return yr("x"===e?"layoutX":"layoutY",p,1e3,v&&hr(v,"layout")).then(this.stopAxisAnimation[e])}},t.prototype.safeToRemove=function(){var e,t;null===(t=(e=this.props).safeToRemove)||void 0===t||t.call(e)},t.prototype.render=function(){return null},t}(e.Component);function ni(e,t){return!(oi(e)||oi(t)||ii(e.x,t.x)&&ii(e.y,t.y))}var ri={min:0,max:0};function oi(e){return ii(e.x,ri)&&ii(e.y,ri)}function ii(e,t){return e.min===t.min&&e.max===t.max}var ai={duration:.45,ease:[.4,0,.1,1]};function si(e,t,n){return e||!e&&!(t||n)}var ui={layoutReady:function(e){return e.notifyLayoutReady()}};function ci(){var e=new Set;return{add:function(t){return e.add(t)},flush:function(t){var n=void 0===t?ui:t,r=n.layoutReady,o=n.parent;Ro((function(t,n){var i=Array.from(e).sort(ho),a=o?go(o):[];n((function(){c(c([],u(a)),u(i)).forEach((function(e){return e.resetTransform()}))})),t((function(){i.forEach(bo)})),n((function(){a.forEach((function(e){return e.restoreTransform()})),i.forEach(r)})),t((function(){i.forEach((function(e){e.isPresent&&(e.presence=Uo.Present)}))})),n((function(){Dn.preRender(),Dn.render()})),t((function(){zn.postRender((function(){return i.forEach(li)})),e.clear()}))})),zo()}}}function li(e){e.prevViewportBox=e.projection.target}var fi=(0,e.createContext)(ci()),pi=(0,e.createContext)(ci());function di(e){return!!e.forceUpdate}var mi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.componentDidMount=function(){var e=this.props,t=e.syncLayout,n=e.framerSyncLayout,r=e.visualElement;di(t)&&t.register(r),di(n)&&n.register(r),r.onUnmount((function(){di(t)&&t.remove(r),di(n)&&n.remove(r)}))},t.prototype.getSnapshotBeforeUpdate=function(){var e=this.props,t=e.syncLayout,n=e.visualElement;return di(t)?t.syncUpdate():(function(e){e.shouldResetTransform()||(e.prevViewportBox=e.measureViewportBox(!1),e.rebaseProjectionTarget(!1,e.prevViewportBox))}(n),t.add(n)),null},t.prototype.componentDidUpdate=function(){var e=this.props.syncLayout;di(e)||e.flush()},t.prototype.render=function(){return null},t}(t().Component),vi={measureLayout:function(n){var r=(0,e.useContext)(fi),i=(0,e.useContext)(pi);return t().createElement(mi,o({},n,{syncLayout:r,framerSyncLayout:i}))},layoutAnimation:function(t){var n=u(b(),2)[1];return e.createElement(ti,o({},t,{safeToRemove:n}))}};function hi(){return{isHydrated:!1,layout:{x:{min:0,max:1},y:{min:0,max:1}},layoutCorrected:{x:{min:0,max:1},y:{min:0,max:1}},treeScale:{x:1,y:1},delta:to(),deltaFinal:to(),deltaTransform:""}}var yi=hi();function gi(e,t,n){var r=e.x,o=e.y,i="translate3d("+r.translate/t.x+"px, "+o.translate/t.y+"px, 0) ";if(n){var a=n.rotate,s=n.rotateX,u=n.rotateY;a&&(i+="rotate("+a+") "),s&&(i+="rotateX("+s+") "),u&&(i+="rotateY("+u+") ")}return i+="scale("+r.scale+", "+o.scale+")",n||i!==ki?i:""}function bi(e){var t=e.deltaFinal;return 100*t.x.origin+"% "+100*t.y.origin+"% 0"}var ki=gi(yi.delta,yi.treeScale,{x:1,y:1}),Ci=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","SetAxisTarget","Unmount"];var xi=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(e){br(this.children,e),this.isDirty=!0},e.prototype.remove=function(e){kr(this.children,e),this.isDirty=!0},e.prototype.forEach=function(e){this.isDirty&&this.children.sort(ho),this.isDirty=!1,this.children.forEach(e)},e}(),wi=function(e){var t=e.treeType,n=void 0===t?"":t,r=e.build,i=e.getBaseTarget,a=e.makeTargetAnimatable,s=e.measureViewportBox,l=e.render,f=e.readValueFromInstance,p=e.resetTransform,d=e.restoreTransform,m=e.removeValueFromRenderState,v=e.sortNodePosition,h=e.scrapeMotionValuesFromProps;return function(e,t){var y=e.parent,g=e.props,b=e.presenceId,k=e.blockInitialAnimation,C=e.visualState;void 0===t&&(t={});var x,w,O,E,S,P,j=C.latestValues,L=C.renderState,_=function(){var e=Ci.map((function(){return new Cr})),t={},n={clearAllListeners:function(){return e.forEach((function(e){return e.clear()}))},updatePropListeners:function(e){return Ci.forEach((function(r){var o;null===(o=t[r])||void 0===o||o.call(t);var i="on"+r,a=e[i];a&&(t[r]=n[i](a))}))}};return e.forEach((function(e,t){n["on"+Ci[t]]=function(t){return e.add(t)},n["notify"+Ci[t]]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.notify.apply(e,c([],u(t)))}})),n}(),D={isEnabled:!1,isHydrated:!1,isTargetLocked:!1,target:{x:{min:0,max:1},y:{min:0,max:1}},targetFinal:{x:{min:0,max:1},y:{min:0,max:1}}},V=D,W=j,N=hi(),R=!1,z=new Map,$=new Map,H={},I=o({},j);function B(){x&&(Q.isProjectionReady()&&(Mo(V.targetFinal,V.target,W),po(N.deltaFinal,N.layoutCorrected,V.targetFinal,j)),F(),l(x,L))}function F(){var e=j;if(E&&E.isActive()){var n=E.getCrossfadeState(Q);n&&(e=n)}r(Q,L,e,V,N,t,g)}function U(){_.notifyUpdate(j)}function q(){Q.layoutTree.forEach(Ei)}var Z=h(g);for(var X in Z){var K=Z[X];void 0!==j[X]&&Y(K)&&K.set(j[X],!1)}var G=A(g),J=M(g),Q=o(o({treeType:n,current:null,depth:y?y.depth+1:0,parent:y,children:new Set,path:y?c(c([],u(y.path)),[y]):[],layoutTree:y?y.layoutTree:new xi,presenceId:b,projection:D,variantChildren:J?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(null==y?void 0:y.isMounted()),blockInitialAnimation:k,isMounted:function(){return Boolean(x)},mount:function(e){x=Q.current=e,Q.pointTo(Q),J&&y&&!G&&(P=null==y?void 0:y.addVariantChild(Q)),null==y||y.children.add(Q)},unmount:function(){_n.update(U),_n.render(B),_n.preRender(Q.updateLayoutProjection),$.forEach((function(e){return e()})),Q.stopLayoutAnimation(),Q.layoutTree.remove(Q),null==P||P(),null==y||y.children.delete(Q),null==O||O(),_.clearAllListeners()},addVariantChild:function(e){var t,n=Q.getClosestVariantNode();if(n)return null===(t=n.variantChildren)||void 0===t||t.add(e),function(){return n.variantChildren.delete(e)}},sortNodePosition:function(e){return v&&n===e.treeType?v(Q.getInstance(),e.getInstance()):0},getClosestVariantNode:function(){return J?Q:null==y?void 0:y.getClosestVariantNode()},scheduleUpdateLayoutProjection:y?y.scheduleUpdateLayoutProjection:function(){return zn.preRender(Q.updateTreeLayoutProjection,!1,!0)},getLayoutId:function(){return g.layoutId},getInstance:function(){return x},getStaticValue:function(e){return j[e]},setStaticValue:function(e,t){return j[e]=t},getLatestValues:function(){return j},setVisibility:function(e){Q.isVisible!==e&&(Q.isVisible=e,Q.scheduleRender())},makeTargetAnimatable:function(e,t){return void 0===t&&(t=!0),a(Q,e,g,t)},addValue:function(e,t){Q.hasValue(e)&&Q.removeValue(e),z.set(e,t),j[e]=t.get(),function(e,t){var n=t.onChange((function(t){j[e]=t,g.onUpdate&&zn.update(U,!1,!0)})),r=t.onRenderRequest(Q.scheduleRender);$.set(e,(function(){n(),r()}))}(e,t)},removeValue:function(e){var t;z.delete(e),null===(t=$.get(e))||void 0===t||t(),$.delete(e),delete j[e],m(e,L)},hasValue:function(e){return z.has(e)},getValue:function(e,t){var n=z.get(e);return void 0===n&&void 0!==t&&(n=wr(t),Q.addValue(e,n)),n},forEachValue:function(e){return z.forEach(e)},readValue:function(e){var n;return null!==(n=j[e])&&void 0!==n?n:f(x,e,t)},setBaseTarget:function(e,t){I[e]=t},getBaseTarget:function(e){if(i){var t=i(g,e);if(void 0!==t&&!Y(t))return t}return I[e]}},_),{build:function(){return F(),L},scheduleRender:function(){zn.render(B,!1,!0)},syncRender:B,setProps:function(e){g=e,_.updatePropListeners(e),H=function(e,t,n){var r;for(var o in t){var i=t[o],a=n[o];if(Y(i))e.addValue(o,i);else if(Y(a))e.addValue(o,wr(i));else if(a!==i)if(e.hasValue(o)){var s=e.getValue(o);!s.hasAnimated&&s.set(i)}else e.addValue(o,wr(null!==(r=e.getStaticValue(o))&&void 0!==r?r:i))}for(var o in n)void 0===t[o]&&e.removeValue(o);return t}(Q,h(g),H)},getProps:function(){return g},getVariant:function(e){var t;return null===(t=g.variants)||void 0===t?void 0:t[e]},getDefaultTransition:function(){return g.transition},getVariantContext:function(e){if(void 0===e&&(e=!1),e)return null==y?void 0:y.getVariantContext();if(!G){var t=(null==y?void 0:y.getVariantContext())||{};return void 0!==g.initial&&(t.initial=g.initial),t}for(var n={},r=0;r<Ti;r++){var o=Pi[r],i=g[o];(T(i)||!1===i)&&(n[o]=i)}return n},enableLayoutProjection:function(){D.isEnabled=!0,Q.layoutTree.add(Q)},lockProjectionTarget:function(){D.isTargetLocked=!0},unlockProjectionTarget:function(){Q.stopLayoutAnimation(),D.isTargetLocked=!1},getLayoutState:function(){return N},setCrossfader:function(e){E=e},isProjectionReady:function(){return D.isEnabled&&D.isHydrated&&N.isHydrated},startLayoutAnimation:function(e,t,n){void 0===n&&(n=!1);var r=Q.getProjectionAnimationProgress()[e],o=n?D.relativeTarget[e]:D.target[e],i=o.min,a=o.max-i;return r.clearListeners(),r.set(i),r.set(i),r.onChange((function(t){Q.setProjectionTargetAxis(e,t,t+a,n)})),Q.animateMotionValue(e,r,0,t)},stopLayoutAnimation:function(){no((function(e){return Q.getProjectionAnimationProgress()[e].stop()}))},measureViewportBox:function(e){void 0===e&&(e=!0);var n=s(x,t);return e||Vo(n,j),n},getProjectionAnimationProgress:function(){return S||(S={x:wr(0),y:wr(0)}),S},setProjectionTargetAxis:function(e,t,n,r){var o;void 0===r&&(r=!1),r?(D.relativeTarget||(D.relativeTarget={x:{min:0,max:1},y:{min:0,max:1}}),o=D.relativeTarget[e]):(D.relativeTarget=void 0,o=D.target[e]),D.isHydrated=!0,o.min=t,o.max=n,R=!0,_.notifySetAxisTarget()},rebaseProjectionTarget:function(e,t){void 0===t&&(t=N.layout);var n=Q.getProjectionAnimationProgress(),r=n.x,o=n.y,i=!(D.relativeTarget||D.isTargetLocked||r.isAnimating()||o.isAnimating());(e||i)&&no((function(e){var n=t[e],r=n.min,o=n.max;Q.setProjectionTargetAxis(e,r,o)}))},notifyLayoutReady:function(e){!function(e){var t=e.getProjectionParent();if(t){var n=Co(t.getLayoutState().layout,e.getLayoutState().layout);no((function(t){e.setProjectionTargetAxis(t,n[t].min,n[t].max,!0)}))}else e.rebaseProjectionTarget()}(Q),Q.notifyLayoutUpdate(N.layout,Q.prevViewportBox||N.layout,e)},resetTransform:function(){return p(Q,x,g)},restoreTransform:function(){return d(x,L)},updateLayoutProjection:function(){if(Q.isProjectionReady()){var e=N.delta,t=N.treeScale,n=t.x,r=t.y,o=N.deltaTransform;(function(e,t,n,r){var o,i,a=e.delta,s=e.layout,u=e.layoutCorrected,c=e.treeScale,l=t.target;i=s,Oo((o=u).x,i.x),Oo(o.y,i.y),function(e,t,n){var r=n.length;if(r){var o,i;t.x=t.y=1;for(var a=0;a<r;a++)i=(o=n[a]).getLayoutState().delta,t.x*=i.x.scale,t.y*=i.y.scale,To(e,i),wo(o)&&Mo(e,e,o.getLatestValues())}}(u,c,n),po(a,u,l,r)})(N,V,Q.path,j),R&&Q.notifyViewportBoxUpdate(V.target,e),R=!1;var i=gi(e,t);i===o&&n===t.x&&r===t.y||Q.scheduleRender(),N.deltaTransform=i}},updateTreeLayoutProjection:function(){Q.layoutTree.forEach(Oi),zn.preRender(q,!1,!0)},getProjectionParent:function(){if(void 0===w){for(var e=!1,t=Q.path.length-1;t>=0;t--){var n=Q.path[t];if(n.projection.isEnabled){e=n;break}}w=e}return w},resolveRelativeTargetBox:function(){var e=Q.getProjectionParent();if(D.relativeTarget&&e&&(function(e,t){vo(e.target.x,e.relativeTarget.x,t.target.x),vo(e.target.y,e.relativeTarget.y,t.target.y)}(D,e.projection),wo(e))){var t=D.target;Mo(t,t,e.getLatestValues())}},shouldResetTransform:function(){return Boolean(g._layoutResetTransform)},pointTo:function(e){V=e.projection,W=e.getLatestValues(),null==O||O(),O=vt(e.onSetAxisTarget(Q.scheduleUpdateLayoutProjection),e.onLayoutAnimationComplete((function(){var e;Q.isPresent?Q.presence=Uo.Present:null===(e=Q.layoutSafeToRemove)||void 0===e||e.call(Q)})))},isPresent:!0,presence:Uo.Entering});return Q}};function Oi(e){e.resolveRelativeTargetBox()}function Ei(e){e.updateLayoutProjection()}var Si,Pi=c(["initial"],u(Vr)),Ti=Pi.length,ji=new Set(["width","height","top","left","right","bottom","x","y"]),Li=function(e){return ji.has(e)},Ai=function(e,t){e.set(t,!1),e.set(t)},Mi=function(e){return e===le||e===ae};!function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"}(Si||(Si={}));var _i=function(e,t){return parseFloat(e.split(", ")[t])},Di=function(e,t){return function(n,r){var o=r.transform;if("none"===o||!o)return 0;var i=o.match(/^matrix3d\((.+)\)$/);if(i)return _i(i[1],t);var a=o.match(/^matrix\((.+)\)$/);return a?_i(a[1],e):0}},Vi=new Set(["x","y","z"]),Wi=$.filter((function(e){return!Vi.has(e)})),Ni={width:function(e){var t=e.x;return t.max-t.min},height:function(e){var t=e.y;return t.max-t.min},top:function(e,t){var n=t.top;return parseFloat(n)},left:function(e,t){var n=t.left;return parseFloat(n)},bottom:function(e,t){var n=e.y,r=t.top;return parseFloat(r)+(n.max-n.min)},right:function(e,t){var n=e.x,r=t.left;return parseFloat(r)+(n.max-n.min)},x:Di(4,13),y:Di(5,14)};function Ri(e,t,n,r){return function(e){return Object.keys(e).some(Li)}(t)?function(e,t,n,r){void 0===n&&(n={}),void 0===r&&(r={}),t=o({},t),r=o({},r);var i=Object.keys(t).filter(Li),a=[],s=!1,c=[];if(i.forEach((function(o){var i=e.getValue(o);if(e.hasValue(o)){var u,l=n[o],f=t[o],p=Sr(l);if(Re(f))for(var d=f.length,m=null===f[0]?1:0;m<d;m++)u?Sr(f[m]):(u=Sr(f[m]))===p||Mi(p)&&Mi(u);else u=Sr(f);if(p!==u)if(Mi(p)&&Mi(u)){var v=i.get();"string"==typeof v&&i.set(parseFloat(v)),"string"==typeof f?t[o]=parseFloat(f):Array.isArray(f)&&u===ae&&(t[o]=f.map(parseFloat))}else(null==p?void 0:p.transform)&&(null==u?void 0:u.transform)&&(0===l||0===f)?0===l?i.set(u.transform(l)):t[o]=p.transform(f):(s||(a=function(e){var t=[];return Wi.forEach((function(n){var r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))})),t.length&&e.syncRender(),t}(e),s=!0),c.push(o),r[o]=void 0!==r[o]?r[o]:t[o],Ai(i,f))}})),c.length){var l=function(e,t,n){var r=t.measureViewportBox(),o=t.getInstance(),i=getComputedStyle(o),a=i.display,s={top:i.top,left:i.left,bottom:i.bottom,right:i.right,transform:i.transform};"none"===a&&t.setStaticValue("display",e.display||"block"),t.syncRender();var u=t.measureViewportBox();return n.forEach((function(n){var o=t.getValue(n);Ai(o,Ni[n](r,s)),e[n]=Ni[n](u,i)})),e}(t,e,c);return a.length&&a.forEach((function(t){var n=u(t,2),r=n[0],o=n[1];e.getValue(r).set(o)})),e.syncRender(),{target:l,transitionEnd:r}}return{target:t,transitionEnd:r}}(e,t,n,r):{target:t,transitionEnd:r}}var zi={treeType:"dom",readValueFromInstance:function(e,t){if(B(t)){var n=fr(t);return n&&n.default||0}var r,o=(r=e,window.getComputedStyle(r));return(X(t)?o.getPropertyValue(t):o[t])||0},sortNodePosition:function(e,t){return 2&e.compareDocumentPosition(t)?1:-1},getBaseTarget:function(e,t){var n;return null===(n=e.style)||void 0===n?void 0:n[t]},measureViewportBox:function(e,t){return uo(e,t.transformPagePoint)},resetTransform:function(e,t,n){var r=n.transformTemplate;t.style.transform=r?r({},""):"none",e.scheduleRender()},restoreTransform:function(e,t){e.style.transform=t.style.transform},removeValueFromRenderState:function(e,t){var n=t.vars,r=t.style;delete n[e],delete r[e]},makeTargetAnimatable:function(e,t,n,r){var i=n.transformValues;void 0===r&&(r=!0);var a=t.transition,u=t.transitionEnd,c=s(t,["transition","transitionEnd"]),l=function(e,t,n){var r,o,i={};for(var a in e)i[a]=null!==(r=Lr(a,t))&&void 0!==r?r:null===(o=n.getValue(a))||void 0===o?void 0:o.get();return i}(c,a||{},e);if(i&&(u&&(u=i(u)),c&&(c=i(c)),l&&(l=i(l))),r){!function(e,t,n){var r,o,i,a,s=Object.keys(t).filter((function(t){return!e.hasValue(t)})),u=s.length;if(u)for(var c=0;c<u;c++){var l=s[c],f=t[l],p=null;Array.isArray(f)&&(p=f[0]),null===p&&(p=null!==(o=null!==(r=n[l])&&void 0!==r?r:e.readValue(l))&&void 0!==o?o:t[l]),null!=p&&("string"==typeof p&&gr(p)?p=parseFloat(p):!Tr(p)&&Yt.test(f)&&(p=pr(l,f)),e.addValue(l,wr(p)),null!==(i=(a=n)[l])&&void 0!==i||(a[l]=p),e.setBaseTarget(l,p))}}(e,c,l);var f=function(e,t,n,r){var i=function(e,t,n){var r,i=s(t,[]),a=e.getInstance();if(!(a instanceof HTMLElement))return{target:i,transitionEnd:n};for(var u in n&&(n=o({},n)),e.forEachValue((function(e){var t=e.get();if(Zo(t)){var n=Ko(t,a);n&&e.set(n)}})),i){var c=i[u];if(Zo(c)){var l=Ko(c,a);l&&(i[u]=l,n&&(null!==(r=n[u])&&void 0!==r||(n[u]=c)))}}return{target:i,transitionEnd:n}}(e,t,r);return Ri(e,t=i.target,n,r=i.transitionEnd)}(e,c,l,u);u=f.transitionEnd,c=f.target}return o({transition:a,transitionEnd:u},c)},scrapeMotionValuesFromProps:Ve,build:function(e,t,n,r,o,i,a){void 0!==e.isVisible&&(t.style.visibility=e.isVisible?"visible":"hidden");var s=r.isEnabled&&o.isHydrated;ve(t,n,r,o,i,a.transformTemplate,s?gi:void 0,s?bi:void 0)},render:Me},$i=wi(zi),Hi=wi(o(o({},zi),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var n;return B(t)?(null===(n=fr(t))||void 0===n?void 0:n.default)||0:(t=_e.has(t)?t:Ae(t),e.getAttribute(t))},scrapeMotionValuesFromProps:We,build:function(e,t,n,r,o,i,a){var s=r.isEnabled&&o.isHydrated;Se(t,n,r,o,i,a.transformTemplate,s?gi:void 0,s?bi:void 0)},render:De})),Ii=function(e,t){return N(e)?Hi(t,{enableHardwareAcceleration:!1}):$i(t,{enableHardwareAcceleration:!0})},Bi=o(o(o(o({},$r),yt),Yo),vi),Fi=V((function(e,t){return function(e,t,n,r){var i=t.forwardMotionProps,a=void 0!==i&&i,s=N(e)?Fe:Ue;return o(o({},s),{preloadedFeatures:n,useRender:je(a),createVisualElement:r,Component:e})}(e,t,Bi,Ii)})),Ui=i(4184),qi=i.n(Ui);const Yi=function(){return t().createElement("svg",{width:"24",height:"30",viewBox:"0 0 24 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t().createElement("path",{d:"M23.2736 11.6825C23.2736 12.7582 23.2736 13.8292 23.2736 14.9097C23.2736 15.9901 23.2736 17.0612 23.3012 18.1369C23.3513 19.0326 23.1835 19.9271 22.813 20.7404C22.4295 21.5232 21.7718 22.13 20.9708 22.4399C20.075 22.8095 19.2621 22.953 18.4538 22.7812C17.6455 22.6094 16.8418 22.1245 15.9553 21.2394C14.3863 19.6623 12.8219 18.0765 11.2621 16.4821C9.70237 14.8877 8.1449 13.2973 6.58974 11.7107C6.34588 11.4268 6.07167 11.1718 5.77224 10.9504C5.60974 10.8442 5.42434 10.7801 5.23213 10.7637C5.03992 10.7473 4.84669 10.7791 4.6692 10.8562C4.46956 10.9198 4.28806 11.0321 4.1404 11.1834C3.99275 11.3348 3.88339 11.5206 3.82177 11.7248C3.72145 12.1283 3.68032 12.5448 3.69972 12.9606C3.69972 14.7182 3.70509 16.4782 3.71584 18.2405C3.71584 20.0012 3.71584 21.7714 3.6859 23.5227C3.66773 23.9637 3.74233 24.4036 3.90467 24.8126C4.06056 25.1923 4.3428 25.5033 4.70144 25.6907C4.88357 25.7895 5.08563 25.844 5.29178 25.8497C5.49793 25.8554 5.70258 25.8123 5.88969 25.7236C6.27623 25.5419 6.62673 25.2889 6.92365 24.9774C7.63752 24.2681 8.34755 23.5541 9.05374 22.8353C9.75994 22.1166 10.4546 21.39 11.1378 20.6556C11.2702 20.4971 11.4319 20.3668 11.6137 20.2723C11.7955 20.1778 11.9937 20.1208 12.1971 20.1048C12.5808 20.1066 12.9543 20.2309 13.2656 20.4602C13.5603 20.658 13.6962 21.084 13.687 21.5336C13.6889 21.9834 13.5291 22.4181 13.2379 22.7553C12.3905 23.631 11.55 24.5184 10.7049 25.3941C9.85972 26.2697 8.99387 27.136 8.10499 27.9669C7.45222 28.6004 6.61409 28.9973 5.71928 29.0968C4.81951 29.1678 3.91699 29.0008 3.09869 28.6119C2.34978 28.3105 1.71255 27.7761 1.27717 27.0842C0.869348 26.3642 0.671209 25.5402 0.70607 24.7091C0.726795 22.5387 0.724493 20.3684 0.72219 18.1958C0.719887 16.0231 0.72219 13.8551 0.72219 11.6825C0.704055 10.8192 0.879729 9.96324 1.23572 9.18024C1.61178 8.40876 2.26285 7.814 3.05493 7.51837C3.87619 7.17299 4.7785 7.08133 5.6502 7.25473C6.54851 7.47018 7.36281 7.95649 7.98754 8.65061C9.56727 10.2984 11.1608 11.9351 12.7682 13.5609C14.3755 15.1867 15.9783 16.8156 17.5764 18.4476C17.7943 18.6911 18.0447 18.9019 18.3202 19.0738C18.4586 19.1553 18.6129 19.2048 18.7721 19.2186C18.9313 19.2325 19.0915 19.2103 19.2414 19.1538C19.5304 19.0654 19.7926 18.9034 20.0036 18.683C20.218 18.4201 20.3252 18.083 20.303 17.7415C20.2799 15.7571 20.2799 13.7822 20.2799 11.8072C20.2799 9.83228 20.2799 7.85498 20.2799 5.88004C20.2945 5.58169 20.2482 5.2835 20.1441 5.00438C20.0783 4.86278 19.9859 4.73584 19.8721 4.63081C19.7583 4.52579 19.6254 4.44476 19.4809 4.39236C19.2001 4.25656 18.8934 4.18583 18.5828 4.18522C18.263 4.20798 17.9584 4.33318 17.7123 4.54302C16.8424 5.24139 16.0235 6.00373 15.2621 6.82397C14.4907 7.62901 13.7377 8.45523 12.9317 9.22732C12.6318 9.55796 12.2335 9.77808 11.7987 9.85346C11.6074 9.86436 11.4162 9.83036 11.2398 9.75406C11.0634 9.67776 10.9064 9.56119 10.7808 9.41328C10.6324 9.26574 10.5162 9.08771 10.44 8.89092C10.3638 8.69413 10.3293 8.48306 10.3387 8.27163C10.369 7.8159 10.5654 7.38835 10.8891 7.07348C11.7043 6.24176 12.5179 5.41004 13.3301 4.57832C14.1422 3.7466 14.9597 2.92116 15.7825 2.102C16.2981 1.61189 16.9191 1.25256 17.5956 1.05302C18.272 0.853477 18.9849 0.819312 19.6766 0.953284C20.3709 1.05328 21.0326 1.31833 21.6085 1.72714C22.1844 2.13595 22.6585 2.67713 22.9926 3.30721C23.0951 3.51003 23.1725 3.72511 23.2229 3.94747C23.272 4.17227 23.2952 4.40216 23.292 4.63246C23.2828 5.80472 23.2828 6.98168 23.292 8.16335C23.3012 9.34502 23.2951 10.5181 23.2736 11.6825Z",fill:"white"}))};var Zi=i(5697),Xi=i.n(Zi),Ki=["style","weight","lineHeight","component","children","textTransform","className"];function Gi(){return Gi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Gi.apply(this,arguments)}var Ji={thin:"thin",extralight:"extralight",light:"light",normal:"normal",medium:"medium",semibold:"semibold",bold:"bold",extrabold:"extrabold",black:"black"},Qi={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",body1:"body1",body2:"body2",body3:"body3"},ea={none:"none",tight:"tight",snug:"snug",normal:"normal",relaxed:"relaxed",loose:"loose"},ta={none:"none",capitalize:"capitalize",uppercase:"uppercase",lowercase:"lowercase",fullwidth:"fullwidth",inherit:"inherit",initial:"initial",revert:"revert",unset:"unset"},na={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",body1:"p",body2:"p",body3:"p"},ra={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",p:"p",span:"span",b:"b",strong:"strong",i:"i",em:"em",mark:"mark",del:"del",s:"s",ins:"ins",sub:"sub",sup:"sup",u:"u",code:"code",blockquote:"blockquote"},oa=t().forwardRef((function(e,n){var r,o,i,a=e.style,s=void 0===a?"body1":a,u=e.weight,c=e.lineHeight,l=e.component,f=e.children,p=e.textTransform,d=e.className,m=void 0===d?"":d,v=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Ki),h=l?ra[l]:s?na[s]:"p";return t().createElement(h,Gi({ref:n,className:qi()((r={"neeto-ui-typography":!0,"neeto-ui-text-h1":s===Qi.h1,"neeto-ui-text-h2":s===Qi.h2,"neeto-ui-text-h3":s===Qi.h3,"neeto-ui-text-h4":s===Qi.h4,"neeto-ui-text-h5":s===Qi.h5,"neeto-ui-text-h6":s===Qi.h6,"neeto-ui-text-body1":s===Qi.body1,"neeto-ui-text-body2":s===Qi.body2,"neeto-ui-text-body3":s===Qi.body3,"neeto-ui-text-transform-none":p===ta.none,"neeto-ui-text-transform-capitalize":p===ta.capitalize,"neeto-ui-text-transform-uppercase":p===ta.uppercase,"neeto-ui-text-transform-lowercase":p===ta.lowercase,"neeto-ui-text-transform-fullwidth":p===ta.fullwidth,"neeto-ui-text-transform-inherit":p===ta.inherit,"neeto-ui-text-transform-initial":p===ta.initial,"neeto-ui-text-transform-revert":p===ta.revert,"neeto-ui-text-transform-unset":p===ta.unset,"neeto-ui-font-thin":u===Ji.thin,"neeto-ui-font-extralight":u===Ji.extralight,"neeto-ui-font-light":u===Ji.light,"neeto-ui-font-normal":u===Ji.normal,"neeto-ui-font-medium":u===Ji.medium,"neeto-ui-font-semibold":u===Ji.semibold,"neeto-ui-font-bold":u===Ji.bold,"neeto-ui-font-extrabold":u===Ji.extrabold,"neeto-ui-font-black":u===Ji.black,"neeto-ui-leading-none":c===ea.none,"neeto-ui-leading-tight":c===ea.tight,"neeto-ui-leading-snug":c===ea.snug,"neeto-ui-leading-normal":c===ea.normal,"neeto-ui-leading-relaxed":c===ea.relaxed,"neeto-ui-leading-loose":c===ea.loose},o=m,i=m,o in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i,r))},v),f)}));oa.propTypes={style:Xi().oneOf(Object.values(Qi)),weight:Xi().oneOf(Object.values(Ji)),component:Xi().oneOf(Object.values(ra)),textTransform:Xi().oneOf(Object.values(ta)),lineHeight:Xi().oneOf(Object.values(ea)),otherProps:Xi().object};const ia=oa,aa=function(e){var n=e.organizationInfo,r=e.collapsed,o=null==n?void 0:n.logo,i=o;return t().createElement("div",{className:"flex items-center neeto-ui-sidebar__header","data-cy":"sidebar-info"},t().createElement("div",{className:"flex items-center justify-center flex-shrink-0 neeto-ui-sidebar__logo"},o?i:t().createElement(Yi,null)),!r&&n&&t().createElement("div",{className:"neeto-ui-sidebar__info"},t().createElement(ia,{component:"h2",style:"h5",weight:"semibold",className:"m-0","data-cy":"sidebar-info-title",title:n.name},n.name),t().createElement(ia,{component:"p",style:"body3",weight:"normal",className:"m-0 neeto-ui-text-gray-500","data-cy":"sidebar-info-subtitle",title:n.subdomain},n.subdomain)))};var sa=i(6128);function ua(){return ua=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ua.apply(this,arguments)}function ca(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var la={exports:{}},fa={},pa=Object.getOwnPropertySymbols,da=Object.prototype.hasOwnProperty,ma=Object.prototype.propertyIsEnumerable;function va(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var ha=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==r.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,r,o=va(e),i=1;i<arguments.length;i++){for(var a in n=Object(arguments[i]))da.call(n,a)&&(o[a]=n[a]);if(pa){r=pa(n);for(var s=0;s<r.length;s++)ma.call(n,r[s])&&(o[r[s]]=n[r[s]])}}return o},ya=ha,ga="function"==typeof Symbol&&Symbol.for,ba=ga?Symbol.for("react.element"):60103,ka=ga?Symbol.for("react.portal"):60106,Ca=ga?Symbol.for("react.fragment"):60107,xa=ga?Symbol.for("react.strict_mode"):60108,wa=ga?Symbol.for("react.profiler"):60114,Oa=ga?Symbol.for("react.provider"):60109,Ea=ga?Symbol.for("react.context"):60110,Sa=ga?Symbol.for("react.forward_ref"):60112,Pa=ga?Symbol.for("react.suspense"):60113,Ta=ga?Symbol.for("react.memo"):60115,ja=ga?Symbol.for("react.lazy"):60116,La="function"==typeof Symbol&&Symbol.iterator;function Aa(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Ma={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_a={};function Da(e,t,n){this.props=e,this.context=t,this.refs=_a,this.updater=n||Ma}function Va(){}function Wa(e,t,n){this.props=e,this.context=t,this.refs=_a,this.updater=n||Ma}Da.prototype.isReactComponent={},Da.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(Aa(85));this.updater.enqueueSetState(this,e,t,"setState")},Da.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},Va.prototype=Da.prototype;var Na=Wa.prototype=new Va;Na.constructor=Wa,ya(Na,Da.prototype),Na.isPureReactComponent=!0;var Ra={current:null},za=Object.prototype.hasOwnProperty,$a={key:!0,ref:!0,__self:!0,__source:!0};function Ha(e,t,n){var r,o={},i=null,a=null;if(null!=t)for(r in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(i=""+t.key),t)za.call(t,r)&&!$a.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(1===s)o.children=n;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];o.children=u}if(e&&e.defaultProps)for(r in s=e.defaultProps)void 0===o[r]&&(o[r]=s[r]);return{$$typeof:ba,type:e,key:i,ref:a,props:o,_owner:Ra.current}}function Ia(e){return"object"==typeof e&&null!==e&&e.$$typeof===ba}var Ba=/\/+/g,Fa=[];function Ua(e,t,n,r){if(Fa.length){var o=Fa.pop();return o.result=e,o.keyPrefix=t,o.func=n,o.context=r,o.count=0,o}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function qa(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>Fa.length&&Fa.push(e)}function Ya(e,t,n,r){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null);var i=!1;if(null===e)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case ba:case ka:i=!0}}if(i)return n(r,e,""===t?"."+Xa(e,0):t),1;if(i=0,t=""===t?".":t+":",Array.isArray(e))for(var a=0;a<e.length;a++){var s=t+Xa(o=e[a],a);i+=Ya(o,s,n,r)}else if("function"==typeof(s=null===e||"object"!=typeof e?null:"function"==typeof(s=La&&e[La]||e["@@iterator"])?s:null))for(e=s.call(e),a=0;!(o=e.next()).done;)i+=Ya(o=o.value,s=t+Xa(o,a++),n,r);else if("object"===o)throw n=""+e,Error(Aa(31,"[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n,""));return i}function Za(e,t,n){return null==e?0:Ya(e,"",t,n)}function Xa(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function Ka(e,t){e.func.call(e.context,t,e.count++)}function Ga(e,t,n){var r=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?Ja(e,r,n,(function(e){return e})):null!=e&&(Ia(e)&&(e=function(e,t){return{$$typeof:ba,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(Ba,"$&/")+"/")+n)),r.push(e))}function Ja(e,t,n,r,o){var i="";null!=n&&(i=(""+n).replace(Ba,"$&/")+"/"),Za(e,Ga,t=Ua(t,i,r,o)),qa(t)}var Qa={current:null};function es(){var e=Qa.current;if(null===e)throw Error(Aa(321));return e}var ts={ReactCurrentDispatcher:Qa,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:Ra,IsSomeRendererActing:{current:!1},assign:ya};fa.Children={map:function(e,t,n){if(null==e)return e;var r=[];return Ja(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;Za(e,Ka,t=Ua(null,null,t,n)),qa(t)},count:function(e){return Za(e,(function(){return null}),null)},toArray:function(e){var t=[];return Ja(e,t,null,(function(e){return e})),t},only:function(e){if(!Ia(e))throw Error(Aa(143));return e}},fa.Component=Da,fa.Fragment=Ca,fa.Profiler=wa,fa.PureComponent=Wa,fa.StrictMode=xa,fa.Suspense=Pa,fa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ts,fa.cloneElement=function(e,t,n){if(null==e)throw Error(Aa(267,e));var r=ya({},e.props),o=e.key,i=e.ref,a=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,a=Ra.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(u in t)za.call(t,u)&&!$a.hasOwnProperty(u)&&(r[u]=void 0===t[u]&&void 0!==s?s[u]:t[u])}var u=arguments.length-2;if(1===u)r.children=n;else if(1<u){s=Array(u);for(var c=0;c<u;c++)s[c]=arguments[c+2];r.children=s}return{$$typeof:ba,type:e.type,key:o,ref:i,props:r,_owner:a}},fa.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:Ea,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:Oa,_context:e},e.Consumer=e},fa.createElement=Ha,fa.createFactory=function(e){var t=Ha.bind(null,e);return t.type=e,t},fa.createRef=function(){return{current:null}},fa.forwardRef=function(e){return{$$typeof:Sa,render:e}},fa.isValidElement=Ia,fa.lazy=function(e){return{$$typeof:ja,_ctor:e,_status:-1,_result:null}},fa.memo=function(e,t){return{$$typeof:Ta,type:e,compare:void 0===t?null:t}},fa.useCallback=function(e,t){return es().useCallback(e,t)},fa.useContext=function(e,t){return es().useContext(e,t)},fa.useDebugValue=function(){},fa.useEffect=function(e,t){return es().useEffect(e,t)},fa.useImperativeHandle=function(e,t,n){return es().useImperativeHandle(e,t,n)},fa.useLayoutEffect=function(e,t){return es().useLayoutEffect(e,t)},fa.useMemo=function(e,t){return es().useMemo(e,t)},fa.useReducer=function(e,t,n){return es().useReducer(e,t,n)},fa.useRef=function(e){return es().useRef(e)},fa.useState=function(e){return es().useState(e)},fa.version="16.14.0",Function.call.bind(Object.prototype.hasOwnProperty),la.exports=fa;var ns=la.exports,rs={exports:{}},os={exports:{}},is={},as="function"==typeof Symbol&&Symbol.for,ss=as?Symbol.for("react.element"):60103,us=as?Symbol.for("react.portal"):60106,cs=as?Symbol.for("react.fragment"):60107,ls=as?Symbol.for("react.strict_mode"):60108,fs=as?Symbol.for("react.profiler"):60114,ps=as?Symbol.for("react.provider"):60109,ds=as?Symbol.for("react.context"):60110,ms=as?Symbol.for("react.async_mode"):60111,vs=as?Symbol.for("react.concurrent_mode"):60111,hs=as?Symbol.for("react.forward_ref"):60112,ys=as?Symbol.for("react.suspense"):60113,gs=as?Symbol.for("react.suspense_list"):60120,bs=as?Symbol.for("react.memo"):60115,ks=as?Symbol.for("react.lazy"):60116,Cs=as?Symbol.for("react.block"):60121,xs=as?Symbol.for("react.fundamental"):60117,ws=as?Symbol.for("react.responder"):60118,Os=as?Symbol.for("react.scope"):60119;function Es(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case ss:switch(e=e.type){case ms:case vs:case cs:case fs:case ls:case ys:return e;default:switch(e=e&&e.$$typeof){case ds:case hs:case ks:case bs:case ps:return e;default:return t}}case us:return t}}}function Ss(e){return Es(e)===vs}function Ps(){}function Ts(){}is.AsyncMode=ms,is.ConcurrentMode=vs,is.ContextConsumer=ds,is.ContextProvider=ps,is.Element=ss,is.ForwardRef=hs,is.Fragment=cs,is.Lazy=ks,is.Memo=bs,is.Portal=us,is.Profiler=fs,is.StrictMode=ls,is.Suspense=ys,is.isAsyncMode=function(e){return Ss(e)||Es(e)===ms},is.isConcurrentMode=Ss,is.isContextConsumer=function(e){return Es(e)===ds},is.isContextProvider=function(e){return Es(e)===ps},is.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===ss},is.isForwardRef=function(e){return Es(e)===hs},is.isFragment=function(e){return Es(e)===cs},is.isLazy=function(e){return Es(e)===ks},is.isMemo=function(e){return Es(e)===bs},is.isPortal=function(e){return Es(e)===us},is.isProfiler=function(e){return Es(e)===fs},is.isStrictMode=function(e){return Es(e)===ls},is.isSuspense=function(e){return Es(e)===ys},is.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===cs||e===vs||e===fs||e===ls||e===ys||e===gs||"object"==typeof e&&null!==e&&(e.$$typeof===ks||e.$$typeof===bs||e.$$typeof===ps||e.$$typeof===ds||e.$$typeof===hs||e.$$typeof===xs||e.$$typeof===ws||e.$$typeof===Os||e.$$typeof===Cs)},is.typeOf=Es,os.exports=is,os.exports,Function.call.bind(Object.prototype.hasOwnProperty),Ts.resetWarningCache=Ps,rs.exports=function(){function e(e,t,n,r,o,i){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==i){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Ts,resetWarningCache:Ps};return n.PropTypes=n,n}();var js=rs.exports,Ls=["size","color","strokeWidth"];function As(e){var t=e.size,n=e.color;e.strokeWidth;var r=ca(e,Ls);return ns.createElement("svg",ua({viewBox:"0 0 32 32",fill:"none",height:t,width:t},r),ns.createElement("g",{clipPath:"url(#clip0_2512_1485)"},ns.createElement("path",{d:"M10.6667 13.3333H6.66667C5.19333 13.3333 4 12.14 4 10.6667V6.66667C4 5.19333 5.19333 4 6.66667 4H10.6667C12.14 4 13.3333 5.19333 13.3333 6.66667V10.6667C13.3333 12.14 12.14 13.3333 10.6667 13.3333ZM25.3333 28.3333H21.3333C19.86 28.3333 18.6667 27.14 18.6667 25.6667V21.6667C18.6667 20.1933 19.86 19 21.3333 19H25.3333C26.8067 19 28 20.1933 28 21.6667V25.6667C28 27.14 26.8067 28.3333 25.3333 28.3333ZM10.6667 28H6.66667C5.19333 28 4 26.8067 4 25.3333V21.3333C4 19.86 5.19333 18.6667 6.66667 18.6667H10.6667C12.14 18.6667 13.3333 19.86 13.3333 21.3333V25.3333C13.3333 26.8067 12.14 28 10.6667 28Z",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M28.9823 7.59329C28.9823 8.0504 28.9823 8.50552 28.9823 8.96464C28.9823 9.42376 28.9823 9.87888 28.9958 10.336C29.0201 10.7166 28.9385 11.0967 28.7583 11.4423C28.5717 11.775 28.2517 12.0328 27.8619 12.1645C27.426 12.3215 27.0305 12.3825 26.6372 12.3095C26.244 12.2365 25.8529 12.0304 25.4215 11.6543C24.6581 10.9842 23.897 10.3103 23.1381 9.63282C22.3791 8.95531 21.6213 8.27946 20.8647 7.60529C20.746 7.48467 20.6126 7.37629 20.4669 7.2822C20.3878 7.23707 20.2976 7.20984 20.2041 7.20287C20.1106 7.1959 20.0166 7.2094 19.9302 7.24219C19.8331 7.26919 19.7448 7.31691 19.6729 7.38122C19.6011 7.44553 19.5479 7.5245 19.5179 7.61129C19.4691 7.78274 19.4491 7.95972 19.4585 8.13643C19.4585 8.88329 19.4611 9.63115 19.4663 10.38C19.4663 11.1282 19.4663 11.8804 19.4518 12.6246C19.4429 12.812 19.4792 12.9989 19.5582 13.1727C19.6341 13.3341 19.7714 13.4662 19.9459 13.5458C20.0345 13.5879 20.1328 13.611 20.2331 13.6134C20.3334 13.6159 20.433 13.5975 20.524 13.5598C20.7121 13.4826 20.8827 13.3751 21.0271 13.2428C21.3745 12.9413 21.7199 12.6379 22.0635 12.3325C22.4072 12.0271 22.7452 11.7184 23.0776 11.4063C23.142 11.3389 23.2207 11.2836 23.3091 11.2434C23.3976 11.2032 23.494 11.179 23.593 11.1722C23.7797 11.173 23.9614 11.2258 24.1129 11.3233C24.2563 11.4073 24.3224 11.5883 24.3179 11.7794C24.3188 11.9705 24.2411 12.1552 24.0994 12.2985C23.6871 12.6706 23.2781 13.0477 22.8669 13.4198C22.4557 13.7919 22.0344 14.16 21.6019 14.5131C21.2843 14.7823 20.8765 14.9509 20.4411 14.9932C20.0033 15.0234 19.5642 14.9524 19.1661 14.7872C18.8017 14.6591 18.4916 14.432 18.2798 14.138C18.0814 13.8321 17.9849 13.4819 18.0019 13.1287C18.012 12.2065 18.0109 11.2842 18.0098 10.361C18.0086 9.43777 18.0098 8.51653 18.0098 7.59329C18.0009 7.22647 18.0864 6.86273 18.2596 6.53001C18.4426 6.20218 18.7594 5.94945 19.1448 5.82382C19.5444 5.67706 19.9834 5.63811 20.4075 5.71179C20.8446 5.80335 21.2408 6.00999 21.5448 6.30495C22.3134 7.00513 23.0888 7.70065 23.8708 8.39149C24.6529 9.08234 25.4328 9.77452 26.2103 10.468C26.3163 10.5715 26.4382 10.6611 26.5723 10.7341C26.6396 10.7688 26.7146 10.7898 26.7921 10.7957C26.8696 10.8015 26.9475 10.7921 27.0204 10.7681C27.161 10.7306 27.2887 10.6617 27.3913 10.5681C27.4956 10.4563 27.5478 10.3131 27.537 10.168C27.5258 9.32474 27.5258 8.48552 27.5258 7.6463C27.5258 6.80708 27.5258 5.96686 27.5258 5.12764C27.5328 5.00086 27.5103 4.87415 27.4596 4.75554C27.4277 4.69537 27.3827 4.64143 27.3273 4.5968C27.272 4.55217 27.2073 4.51774 27.137 4.49548C27.0003 4.43777 26.8511 4.40771 26.7 4.40745C26.5444 4.41713 26.3962 4.47033 26.2765 4.55949C25.8532 4.85626 25.4547 5.1802 25.0843 5.52875C24.7089 5.87084 24.3425 6.22193 23.9504 6.55001C23.8045 6.69051 23.6107 6.78405 23.3991 6.81608C23.3061 6.82071 23.213 6.80627 23.1272 6.77384C23.0414 6.74142 22.965 6.69189 22.9039 6.62903C22.8317 6.56634 22.7751 6.49069 22.7381 6.40706C22.701 6.32344 22.6842 6.23375 22.6888 6.14391C22.7035 5.95025 22.799 5.76857 22.9565 5.63477C23.3532 5.28135 23.7491 4.92792 24.1442 4.5745C24.5394 4.22107 24.9371 3.87031 25.3375 3.52222C25.5884 3.31396 25.8905 3.16127 26.2197 3.07648C26.5488 2.99168 26.8956 2.97717 27.2322 3.0341C27.57 3.07659 27.892 3.18921 28.1722 3.36293C28.4524 3.53665 28.6831 3.76661 28.8456 4.03436C28.8955 4.12054 28.9331 4.21194 28.9577 4.30643C28.9816 4.40195 28.9929 4.49964 28.9913 4.5975C28.9868 5.09563 28.9868 5.59576 28.9913 6.09789C28.9958 6.60003 28.9928 7.09849 28.9823 7.59329Z",fill:n})),ns.createElement("defs",null,ns.createElement("clipPath",{id:"clip0_2512_1485"},ns.createElement("rect",{width:"32",height:"32",fill:n}))))}As.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},As.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};const Ms=function(e){var n=e.icon,r=e.label,o=e.description;return t().createElement("div",{className:"flex flex-col p-3 sidebar-featured-tooltip w-36"},t().createElement("div",{className:"flex items-center justify-center w-10 h-10 mx-auto mb-2 rounded-lg sidebar-featured-tooltip__icon-wrapp bg-gray-50"},n),t().createElement(ia,{lineHeight:"tight",style:"h5",weight:"semibold",className:"mb-1 text-center neeto-ui-text-black"},r),o&&t().createElement(ia,{lineHeight:"normal",style:"body3",className:"text-center neeto-ui-text-gray-600"},o))};function _s(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect();return{width:n.width/1,height:n.height/1,top:n.top/1,right:n.right/1,bottom:n.bottom/1,left:n.left/1,x:n.left/1,y:n.top/1}}function Ds(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Vs(e){var t=Ds(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ws(e){return e instanceof Ds(e).Element||e instanceof Element}function Ns(e){return e instanceof Ds(e).HTMLElement||e instanceof HTMLElement}function Rs(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Ds(e).ShadowRoot||e instanceof ShadowRoot)}function zs(e){return e?(e.nodeName||"").toLowerCase():null}function $s(e){return((Ws(e)?e.ownerDocument:e.document)||window.document).documentElement}function Hs(e){return _s($s(e)).left+Vs(e).scrollLeft}function Is(e){return Ds(e).getComputedStyle(e)}function Bs(e){var t=Is(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Fs(e,t,n){void 0===n&&(n=!1);var r,o,i=Ns(t),a=Ns(t)&&function(e){var t=e.getBoundingClientRect(),n=t.width/e.offsetWidth||1,r=t.height/e.offsetHeight||1;return 1!==n||1!==r}(t),s=$s(t),u=_s(e,a),c={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!n)&&(("body"!==zs(t)||Bs(s))&&(c=(r=t)!==Ds(r)&&Ns(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:Vs(r)),Ns(t)?((l=_s(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):s&&(l.x=Hs(s))),{x:u.left+c.scrollLeft-l.x,y:u.top+c.scrollTop-l.y,width:u.width,height:u.height}}function Us(e){var t=_s(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function qs(e){return"html"===zs(e)?e:e.assignedSlot||e.parentNode||(Rs(e)?e.host:null)||$s(e)}function Ys(e){return["html","body","#document"].indexOf(zs(e))>=0?e.ownerDocument.body:Ns(e)&&Bs(e)?e:Ys(qs(e))}function Zs(e,t){var n;void 0===t&&(t=[]);var r=Ys(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=Ds(r),a=o?[i].concat(i.visualViewport||[],Bs(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(Zs(qs(a)))}function Xs(e){return["table","td","th"].indexOf(zs(e))>=0}function Ks(e){return Ns(e)&&"fixed"!==Is(e).position?e.offsetParent:null}function Gs(e){for(var t=Ds(e),n=Ks(e);n&&Xs(n)&&"static"===Is(n).position;)n=Ks(n);return n&&("html"===zs(n)||"body"===zs(n)&&"static"===Is(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&Ns(e)&&"fixed"===Is(e).position)return null;for(var n=qs(e);Ns(n)&&["html","body"].indexOf(zs(n))<0;){var r=Is(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var Js="top",Qs="bottom",eu="right",tu="left",nu="auto",ru=[Js,Qs,eu,tu],ou="start",iu="end",au="viewport",su="popper",uu=ru.reduce((function(e,t){return e.concat([t+"-"+ou,t+"-"+iu])}),[]),cu=[].concat(ru,[nu]).reduce((function(e,t){return e.concat([t,t+"-"+ou,t+"-"+iu])}),[]),lu=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function fu(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var pu={placement:"bottom",modifiers:[],strategy:"absolute"};function du(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function mu(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?pu:o;return function(e,t,n){void 0===n&&(n=i);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},pu,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},u=[],c=!1,l={state:s,setOptions:function(n){var o="function"==typeof n?n(s.options):n;f(),s.options=Object.assign({},i,s.options,o),s.scrollParents={reference:Ws(e)?Zs(e):e.contextElement?Zs(e.contextElement):[],popper:Zs(t)};var a,c,p=function(e){var t=fu(e);return lu.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((a=[].concat(r,s.options.modifiers),c=a.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return s.orderedModifiers=p.filter((function(e){return e.enabled})),s.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:s,name:t,instance:l,options:r});u.push(i||function(){})}})),l.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,n=e.popper;if(du(t,n)){s.rects={reference:Fs(t,Gs(n),"fixed"===s.options.strategy),popper:Us(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var o=s.orderedModifiers[r],i=o.fn,a=o.options,u=void 0===a?{}:a,f=o.name;"function"==typeof i&&(s=i({state:s,options:u,name:f,instance:l})||s)}else s.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){l.forceUpdate(),e(s)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(o())}))}))),a}),destroy:function(){f(),c=!0}};if(!du(e,t))return l;function f(){u.forEach((function(e){return e()})),u=[]}return l.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),l}}var vu={passive:!0};const hu={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,u=Ds(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,vu)})),s&&u.addEventListener("resize",n.update,vu),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,vu)})),s&&u.removeEventListener("resize",n.update,vu)}},data:{}};function yu(e){return e.split("-")[0]}function gu(e){return e.split("-")[1]}function bu(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ku(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?yu(o):null,a=o?gu(o):null,s=n.x+n.width/2-r.width/2,u=n.y+n.height/2-r.height/2;switch(i){case Js:t={x:s,y:n.y-r.height};break;case Qs:t={x:s,y:n.y+n.height};break;case eu:t={x:n.x+n.width,y:u};break;case tu:t={x:n.x-r.width,y:u};break;default:t={x:n.x,y:n.y}}var c=i?bu(i):null;if(null!=c){var l="y"===c?"height":"width";switch(a){case ou:t[c]=t[c]-(n[l]/2-r[l]/2);break;case iu:t[c]=t[c]+(n[l]/2-r[l]/2)}}return t}const Cu={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=ku({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var xu=Math.max,wu=Math.min,Ou=Math.round,Eu={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Su(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,u=e.gpuAcceleration,c=e.adaptive,l=e.roundOffsets,f=!0===l?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:Ou(Ou(t*r)/r)||0,y:Ou(Ou(n*r)/r)||0}}(a):"function"==typeof l?l(a):a,p=f.x,d=void 0===p?0:p,m=f.y,v=void 0===m?0:m,h=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),g=tu,b=Js,k=window;if(c){var C=Gs(n),x="clientHeight",w="clientWidth";C===Ds(n)&&"static"!==Is(C=$s(n)).position&&"absolute"===s&&(x="scrollHeight",w="scrollWidth"),C=C,o!==Js&&(o!==tu&&o!==eu||i!==iu)||(b=Qs,v-=C[x]-r.height,v*=u?1:-1),o!==tu&&(o!==Js&&o!==Qs||i!==iu)||(g=eu,d-=C[w]-r.width,d*=u?1:-1)}var O,E=Object.assign({position:s},c&&Eu);return u?Object.assign({},E,((O={})[b]=y?"0":"",O[g]=h?"0":"",O.transform=(k.devicePixelRatio||1)<=1?"translate("+d+"px, "+v+"px)":"translate3d("+d+"px, "+v+"px, 0)",O)):Object.assign({},E,((t={})[b]=y?v+"px":"",t[g]=h?d+"px":"",t.transform="",t))}const Pu={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];Ns(o)&&zs(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});Ns(r)&&zs(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},Tu={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=cu.reduce((function(e,n){return e[n]=function(e,t,n){var r=yu(e),o=[tu,Js].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[tu,eu].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],u=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}};var ju={left:"right",right:"left",bottom:"top",top:"bottom"};function Lu(e){return e.replace(/left|right|bottom|top/g,(function(e){return ju[e]}))}var Au={start:"end",end:"start"};function Mu(e){return e.replace(/start|end/g,(function(e){return Au[e]}))}function _u(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Rs(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Du(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Vu(e,t){return t===au?Du(function(e){var t=Ds(e),n=$s(e),r=t.visualViewport,o=n.clientWidth,i=n.clientHeight,a=0,s=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,s=r.offsetTop)),{width:o,height:i,x:a+Hs(e),y:s}}(e)):Ns(t)?function(e){var t=_s(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):Du(function(e){var t,n=$s(e),r=Vs(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=xu(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=xu(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+Hs(e),u=-r.scrollTop;return"rtl"===Is(o||n).direction&&(s+=xu(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:u}}($s(e)))}function Wu(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Nu(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function Ru(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.boundary,a=void 0===i?"clippingParents":i,s=n.rootBoundary,u=void 0===s?au:s,c=n.elementContext,l=void 0===c?su:c,f=n.altBoundary,p=void 0!==f&&f,d=n.padding,m=void 0===d?0:d,v=Wu("number"!=typeof m?m:Nu(m,ru)),h=l===su?"reference":su,y=e.rects.popper,g=e.elements[p?h:l],b=function(e,t,n){var r="clippingParents"===t?function(e){var t=Zs(qs(e)),n=["absolute","fixed"].indexOf(Is(e).position)>=0&&Ns(e)?Gs(e):e;return Ws(n)?t.filter((function(e){return Ws(e)&&_u(e,n)&&"body"!==zs(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),i=o[0],a=o.reduce((function(t,n){var r=Vu(e,n);return t.top=xu(r.top,t.top),t.right=wu(r.right,t.right),t.bottom=wu(r.bottom,t.bottom),t.left=xu(r.left,t.left),t}),Vu(e,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(Ws(g)?g:g.contextElement||$s(e.elements.popper),a,u),k=_s(e.elements.reference),C=ku({reference:k,element:y,strategy:"absolute",placement:o}),x=Du(Object.assign({},y,C)),w=l===su?x:k,O={top:b.top-w.top+v.top,bottom:w.bottom-b.bottom+v.bottom,left:b.left-w.left+v.left,right:w.right-b.right+v.right},E=e.modifiersData.offset;if(l===su&&E){var S=E[o];Object.keys(O).forEach((function(e){var t=[eu,Qs].indexOf(e)>=0?1:-1,n=[Js,Qs].indexOf(e)>=0?"y":"x";O[e]+=S[n]*t}))}return O}const zu={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,u=n.fallbackPlacements,c=n.padding,l=n.boundary,f=n.rootBoundary,p=n.altBoundary,d=n.flipVariations,m=void 0===d||d,v=n.allowedAutoPlacements,h=t.options.placement,y=yu(h),g=u||(y!==h&&m?function(e){if(yu(e)===nu)return[];var t=Lu(e);return[Mu(e),t,Mu(t)]}(h):[Lu(h)]),b=[h].concat(g).reduce((function(e,n){return e.concat(yu(n)===nu?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,u=n.allowedAutoPlacements,c=void 0===u?cu:u,l=gu(r),f=l?s?uu:uu.filter((function(e){return gu(e)===l})):ru,p=f.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=f);var d=p.reduce((function(t,n){return t[n]=Ru(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[yu(n)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}(t,{placement:n,boundary:l,rootBoundary:f,padding:c,flipVariations:m,allowedAutoPlacements:v}):n)}),[]),k=t.rects.reference,C=t.rects.popper,x=new Map,w=!0,O=b[0],E=0;E<b.length;E++){var S=b[E],P=yu(S),T=gu(S)===ou,j=[Js,Qs].indexOf(P)>=0,L=j?"width":"height",A=Ru(t,{placement:S,boundary:l,rootBoundary:f,altBoundary:p,padding:c}),M=j?T?eu:tu:T?Qs:Js;k[L]>C[L]&&(M=Lu(M));var _=Lu(M),D=[];if(i&&D.push(A[P]<=0),s&&D.push(A[M]<=0,A[_]<=0),D.every((function(e){return e}))){O=S,w=!1;break}x.set(S,D)}if(w)for(var V=function(e){var t=b.find((function(t){var n=x.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return O=t,"break"},W=m?3:1;W>0&&"break"!==V(W);W--);t.placement!==O&&(t.modifiersData[r]._skip=!0,t.placement=O,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function $u(e,t,n){return xu(e,wu(t,n))}function Hu(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Iu(e){return[Js,eu,Qs,tu].some((function(t){return e[t]>=0}))}var Bu=mu({defaultModifiers:[hu,Cu,{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,u=void 0===s||s,c={placement:yu(t.placement),variation:gu(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Su(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:u})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Su(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Pu,Tu,zu,{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,u=n.boundary,c=n.rootBoundary,l=n.altBoundary,f=n.padding,p=n.tether,d=void 0===p||p,m=n.tetherOffset,v=void 0===m?0:m,h=Ru(t,{boundary:u,rootBoundary:c,padding:f,altBoundary:l}),y=yu(t.placement),g=gu(t.placement),b=!g,k=bu(y),C="x"===k?"y":"x",x=t.modifiersData.popperOffsets,w=t.rects.reference,O=t.rects.popper,E="function"==typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,S={x:0,y:0};if(x){if(i||s){var P="y"===k?Js:tu,T="y"===k?Qs:eu,j="y"===k?"height":"width",L=x[k],A=x[k]+h[P],M=x[k]-h[T],_=d?-O[j]/2:0,D=g===ou?w[j]:O[j],V=g===ou?-O[j]:-w[j],W=t.elements.arrow,N=d&&W?Us(W):{width:0,height:0},R=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},z=R[P],$=R[T],H=$u(0,w[j],N[j]),I=b?w[j]/2-_-H-z-E:D-H-z-E,B=b?-w[j]/2+_+H+$+E:V+H+$+E,F=t.elements.arrow&&Gs(t.elements.arrow),U=F?"y"===k?F.clientTop||0:F.clientLeft||0:0,q=t.modifiersData.offset?t.modifiersData.offset[t.placement][k]:0,Y=x[k]+I-q-U,Z=x[k]+B-q;if(i){var X=$u(d?wu(A,Y):A,L,d?xu(M,Z):M);x[k]=X,S[k]=X-L}if(s){var K="x"===k?Js:tu,G="x"===k?Qs:eu,J=x[C],Q=J+h[K],ee=J-h[G],te=$u(d?wu(Q,Y):Q,J,d?xu(ee,Z):ee);x[C]=te,S[C]=te-J}}t.modifiersData[r]=S}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=yu(n.placement),u=bu(s),c=[tu,eu].indexOf(s)>=0?"height":"width";if(i&&a){var l=function(e,t){return Wu("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Nu(e,ru))}(o.padding,n),f=Us(i),p="y"===u?Js:tu,d="y"===u?Qs:eu,m=n.rects.reference[c]+n.rects.reference[u]-a[u]-n.rects.popper[c],v=a[u]-n.rects.reference[u],h=Gs(i),y=h?"y"===u?h.clientHeight||0:h.clientWidth||0:0,g=m/2-v/2,b=l[p],k=y-f[c]-l[d],C=y/2-f[c]/2+g,x=$u(b,C,k),w=u;n.modifiersData[r]=((t={})[w]=x,t.centerOffset=x-C,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&_u(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Ru(t,{elementContext:"reference"}),s=Ru(t,{altBoundary:!0}),u=Hu(a,r),c=Hu(s,o,i),l=Iu(u),f=Iu(c);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:l,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":f})}}]}),Fu="tippy-content",Uu="tippy-arrow",qu="tippy-svg-arrow",Yu={passive:!0,capture:!0},Zu=function(){return document.body};function Xu(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function Ku(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function Gu(e,t){return"function"==typeof e?e.apply(void 0,t):e}function Ju(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout((function(){e(r)}),t)};var n}function Qu(e){return[].concat(e)}function ec(e,t){-1===e.indexOf(t)&&e.push(t)}function tc(e){return[].slice.call(e)}function nc(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function rc(){return document.createElement("div")}function oc(e){return["Element","Fragment"].some((function(t){return Ku(e,t)}))}function ic(e){return Ku(e,"MouseEvent")}function ac(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function sc(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function uc(e){var t,n=Qu(e)[0];return null!=n&&null!=(t=n.ownerDocument)&&t.body?n.ownerDocument:document}function cc(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[r](t,n)}))}function lc(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var fc={isTouch:!1},pc=0;function dc(){fc.isTouch||(fc.isTouch=!0,window.performance&&document.addEventListener("mousemove",mc))}function mc(){var e=performance.now();e-pc<20&&(fc.isTouch=!1,document.removeEventListener("mousemove",mc)),pc=e}function vc(){var e,t=document.activeElement;if((e=t)&&e._tippy&&e._tippy.reference===e){var n=t._tippy;t.blur&&!n.state.isVisible&&t.blur()}}var hc=!("undefined"==typeof window||"undefined"==typeof document||!window.msCrypto),yc=Object.assign({appendTo:Zu,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),gc=Object.keys(yc);function bc(e){var t=(e.plugins||[]).reduce((function(t,n){var r,o=n.name,i=n.defaultValue;return o&&(t[o]=void 0!==e[o]?e[o]:null!=(r=yc[o])?r:i),t}),{});return Object.assign({},e,t)}function kc(e,t){var n=Object.assign({},t,{content:Gu(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(bc(Object.assign({},yc,{plugins:t}))):gc).reduce((function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(e){t[n]=r}return t}),{})}(e,t.plugins));return n.aria=Object.assign({},yc.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}function Cc(e,t){e.innerHTML=t}function xc(e){var t=rc();return!0===e?t.className=Uu:(t.className=qu,oc(e)?t.appendChild(e):Cc(t,e)),t}function wc(e,t){oc(t.content)?(Cc(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?Cc(e,t.content):e.textContent=t.content)}function Oc(e){var t=e.firstElementChild,n=tc(t.children);return{box:t,content:n.find((function(e){return e.classList.contains(Fu)})),arrow:n.find((function(e){return e.classList.contains(Uu)||e.classList.contains(qu)})),backdrop:n.find((function(e){return e.classList.contains("tippy-backdrop")}))}}function Ec(e){var t=rc(),n=rc();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=rc();function o(n,r){var o=Oc(t),i=o.box,a=o.content,s=o.arrow;r.theme?i.setAttribute("data-theme",r.theme):i.removeAttribute("data-theme"),"string"==typeof r.animation?i.setAttribute("data-animation",r.animation):i.removeAttribute("data-animation"),r.inertia?i.setAttribute("data-inertia",""):i.removeAttribute("data-inertia"),i.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?i.setAttribute("role",r.role):i.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||wc(a,e.props),r.arrow?s?n.arrow!==r.arrow&&(i.removeChild(s),i.appendChild(xc(r.arrow))):i.appendChild(xc(r.arrow)):s&&i.removeChild(s)}return r.className=Fu,r.setAttribute("data-state","hidden"),wc(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props),{popper:t,onUpdate:o}}Ec.$$tippy=!0;var Sc=1,Pc=[],Tc=[];function jc(e,t){var n,r,o,i,a,s,u,c,l=kc(e,Object.assign({},yc,bc(nc(t)))),f=!1,p=!1,d=!1,m=!1,v=[],h=Ju(Y,l.interactiveDebounce),y=Sc++,g=(c=l.plugins).filter((function(e,t){return c.indexOf(e)===t})),b={id:y,reference:e,popper:rc(),popperInstance:null,props:l,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:g,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(o)},setProps:function(t){if(!b.state.isDestroyed){_("onBeforeUpdate",[b,t]),U();var n=b.props,r=kc(e,Object.assign({},n,nc(t),{ignoreAttributes:!0}));b.props=r,F(),n.interactiveDebounce!==r.interactiveDebounce&&(W(),h=Ju(Y,r.interactiveDebounce)),n.triggerTarget&&!r.triggerTarget?Qu(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):r.triggerTarget&&e.removeAttribute("aria-expanded"),V(),M(),x&&x(n,r),b.popperInstance&&(G(),Q().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)}))),_("onAfterUpdate",[b,t])}},setContent:function(e){b.setProps({content:e})},show:function(){var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=fc.isTouch&&!b.props.touch,o=Xu(b.props.duration,0,yc.duration);if(!(e||t||n||r||T().hasAttribute("disabled")||(_("onShow",[b],!1),!1===b.props.onShow(b)))){if(b.state.isVisible=!0,P()&&(C.style.visibility="visible"),M(),$(),b.state.isMounted||(C.style.transition="none"),P()){var i=L();ac([i.box,i.content],0)}var a,u,c;s=function(){var e;if(b.state.isVisible&&!m){if(m=!0,C.offsetHeight,C.style.transition=b.props.moveTransition,P()&&b.props.animation){var t=L(),n=t.box,r=t.content;ac([n,r],o),sc([n,r],"visible")}D(),V(),ec(Tc,b),null==(e=b.popperInstance)||e.forceUpdate(),_("onMount",[b]),b.props.animation&&P()&&function(e,t){I(e,(function(){b.state.isShown=!0,_("onShown",[b])}))}(o)}},u=b.props.appendTo,c=T(),(a=b.props.interactive&&u===Zu||"parent"===u?c.parentNode:Gu(u,[c])).contains(C)||a.appendChild(C),b.state.isMounted=!0,G()}},hide:function(){var e=!b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=Xu(b.props.duration,1,yc.duration);if(!(e||t||n)&&(_("onHide",[b],!1),!1!==b.props.onHide(b))){if(b.state.isVisible=!1,b.state.isShown=!1,m=!1,f=!1,P()&&(C.style.visibility="hidden"),W(),H(),M(!0),P()){var o=L(),i=o.box,a=o.content;b.props.animation&&(ac([i,a],r),sc([i,a],"hidden"))}D(),V(),b.props.animation?P()&&function(e,t){I(e,(function(){!b.state.isVisible&&C.parentNode&&C.parentNode.contains(C)&&t()}))}(r,b.unmount):b.unmount()}},hideWithInteractivity:function(e){j().addEventListener("mousemove",h),ec(Pc,h),h(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){b.state.isVisible&&b.hide(),b.state.isMounted&&(J(),Q().forEach((function(e){e._tippy.unmount()})),C.parentNode&&C.parentNode.removeChild(C),Tc=Tc.filter((function(e){return e!==b})),b.state.isMounted=!1,_("onHidden",[b]))},destroy:function(){b.state.isDestroyed||(b.clearDelayTimeouts(),b.unmount(),U(),delete e._tippy,b.state.isDestroyed=!0,_("onDestroy",[b]))}};if(!l.render)return b;var k=l.render(b),C=k.popper,x=k.onUpdate;C.setAttribute("data-tippy-root",""),C.id="tippy-"+b.id,b.popper=C,e._tippy=b,C._tippy=b;var w=g.map((function(e){return e.fn(b)})),O=e.hasAttribute("aria-expanded");return F(),V(),M(),_("onCreate",[b]),l.showOnCreate&&ee(),C.addEventListener("mouseenter",(function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()})),C.addEventListener("mouseleave",(function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&j().addEventListener("mousemove",h)})),b;function E(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function S(){return"hold"===E()[0]}function P(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function T(){return u||e}function j(){var e=T().parentNode;return e?uc(e):document}function L(){return Oc(C)}function A(e){return b.state.isMounted&&!b.state.isVisible||fc.isTouch||i&&"focus"===i.type?0:Xu(b.props.delay,e?0:1,yc.delay)}function M(e){void 0===e&&(e=!1),C.style.pointerEvents=b.props.interactive&&!e?"":"none",C.style.zIndex=""+b.props.zIndex}function _(e,t,n){var r;void 0===n&&(n=!0),w.forEach((function(n){n[e]&&n[e].apply(n,t)})),n&&(r=b.props)[e].apply(r,t)}function D(){var t=b.props.aria;if(t.content){var n="aria-"+t.content,r=C.id;Qu(b.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(b.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var o=t&&t.replace(r,"").trim();o?e.setAttribute(n,o):e.removeAttribute(n)}}))}}function V(){!O&&b.props.aria.expanded&&Qu(b.props.triggerTarget||e).forEach((function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===T()?"true":"false"):e.removeAttribute("aria-expanded")}))}function W(){j().removeEventListener("mousemove",h),Pc=Pc.filter((function(e){return e!==h}))}function N(t){if(!fc.isTouch||!d&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!b.props.interactive||!lc(C,n)){if(Qu(b.props.triggerTarget||e).some((function(e){return lc(e,n)}))){if(fc.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else _("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),p=!0,setTimeout((function(){p=!1})),b.state.isMounted||H())}}}function R(){d=!0}function z(){d=!1}function $(){var e=j();e.addEventListener("mousedown",N,!0),e.addEventListener("touchend",N,Yu),e.addEventListener("touchstart",z,Yu),e.addEventListener("touchmove",R,Yu)}function H(){var e=j();e.removeEventListener("mousedown",N,!0),e.removeEventListener("touchend",N,Yu),e.removeEventListener("touchstart",z,Yu),e.removeEventListener("touchmove",R,Yu)}function I(e,t){var n=L().box;function r(e){e.target===n&&(cc(n,"remove",r),t())}if(0===e)return t();cc(n,"remove",a),cc(n,"add",r),a=r}function B(t,n,r){void 0===r&&(r=!1),Qu(b.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,r),v.push({node:e,eventType:t,handler:n,options:r})}))}function F(){var e;S()&&(B("touchstart",q,{passive:!0}),B("touchend",Z,{passive:!0})),(e=b.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(B(e,q),e){case"mouseenter":B("mouseleave",Z);break;case"focus":B(hc?"focusout":"blur",X);break;case"focusin":B("focusout",X)}}))}function U(){v.forEach((function(e){var t=e.node,n=e.eventType,r=e.handler,o=e.options;t.removeEventListener(n,r,o)})),v=[]}function q(e){var t,n=!1;if(b.state.isEnabled&&!K(e)&&!p){var r="focus"===(null==(t=i)?void 0:t.type);i=e,u=e.currentTarget,V(),!b.state.isVisible&&ic(e)&&Pc.forEach((function(t){return t(e)})),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||f)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:ee(e),"click"===e.type&&(f=!n),n&&!r&&te(e)}}function Y(e){var t=e.target,n=T().contains(t)||C.contains(t);if("mousemove"!==e.type||!n){var r=Q().concat(C).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:l}:null})).filter(Boolean);(function(e,t){var n=t.clientX,r=t.clientY;return e.every((function(e){var t=e.popperRect,o=e.popperState,i=e.props.interactiveBorder,a=o.placement.split("-")[0],s=o.modifiersData.offset;if(!s)return!0;var u="bottom"===a?s.top.y:0,c="top"===a?s.bottom.y:0,l="right"===a?s.left.x:0,f="left"===a?s.right.x:0,p=t.top-r+u>i,d=r-t.bottom-c>i,m=t.left-n+l>i,v=n-t.right-f>i;return p||d||m||v}))})(r,e)&&(W(),te(e))}}function Z(e){K(e)||b.props.trigger.indexOf("click")>=0&&f||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function X(e){b.props.trigger.indexOf("focusin")<0&&e.target!==T()||b.props.interactive&&e.relatedTarget&&C.contains(e.relatedTarget)||te(e)}function K(e){return!!fc.isTouch&&S()!==e.type.indexOf("touch")>=0}function G(){J();var t=b.props,n=t.popperOptions,r=t.placement,o=t.offset,i=t.getReferenceClientRect,a=t.moveTransition,u=P()?Oc(C).arrow:null,c=i?{getBoundingClientRect:i,contextElement:i.contextElement||T()}:e,l=[{name:"offset",options:{offset:o}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(P()){var n=L().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}}];P()&&u&&l.push({name:"arrow",options:{element:u,padding:3}}),l.push.apply(l,(null==n?void 0:n.modifiers)||[]),b.popperInstance=Bu(c,C,Object.assign({},n,{placement:r,onFirstUpdate:s,modifiers:l}))}function J(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function Q(){return tc(C.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&_("onTrigger",[b,e]),$();var t=A(!0),r=E(),o=r[0],i=r[1];fc.isTouch&&"hold"===o&&i&&(t=i),t?n=setTimeout((function(){b.show()}),t):b.show()}function te(e){if(b.clearDelayTimeouts(),_("onUntrigger",[b,e]),b.state.isVisible){if(!(b.props.trigger.indexOf("mouseenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&f)){var t=A(!1);t?r=setTimeout((function(){b.state.isVisible&&b.hide()}),t):o=requestAnimationFrame((function(){b.hide()}))}}else H()}}function Lc(e,t){void 0===t&&(t={});var n=yc.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",dc,Yu),window.addEventListener("blur",vc);var r,o=Object.assign({},t,{plugins:n}),i=(r=e,oc(r)?[r]:function(e){return Ku(e,"NodeList")}(r)?tc(r):Array.isArray(r)?r:tc(document.querySelectorAll(r))).reduce((function(e,t){var n=t&&jc(t,o);return n&&e.push(n),e}),[]);return oc(e)?i[0]:i}Lc.defaultProps=yc,Lc.setDefaultProps=function(e){Object.keys(e).forEach((function(t){yc[t]=e[t]}))},Lc.currentInput=fc,Object.assign({},Pu,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}});var Ac={clientX:0,clientY:0},Mc=[];function _c(e){var t=e.clientX,n=e.clientY;Ac={clientX:t,clientY:n}}var Dc={name:"followCursor",defaultValue:!1,fn:function(e){var t=e.reference,n=uc(e.props.triggerTarget||t),r=!1,o=!1,i=!0,a=e.props;function s(){return"initial"===e.props.followCursor&&e.state.isVisible}function u(){n.addEventListener("mousemove",f)}function c(){n.removeEventListener("mousemove",f)}function l(){r=!0,e.setProps({getReferenceClientRect:null}),r=!1}function f(n){var r=!n.target||t.contains(n.target),o=e.props.followCursor,i=n.clientX,a=n.clientY,s=t.getBoundingClientRect(),u=i-s.left,c=a-s.top;!r&&e.props.interactive||e.setProps({getReferenceClientRect:function(){var e=t.getBoundingClientRect(),n=i,r=a;"initial"===o&&(n=e.left+u,r=e.top+c);var s="horizontal"===o?e.top:r,l="vertical"===o?e.right:n,f="horizontal"===o?e.bottom:r,p="vertical"===o?e.left:n;return{width:l-p,height:f-s,top:s,right:l,bottom:f,left:p}}})}function p(){e.props.followCursor&&(Mc.push({instance:e,doc:n}),function(e){e.addEventListener("mousemove",_c)}(n))}function d(){0===(Mc=Mc.filter((function(t){return t.instance!==e}))).filter((function(e){return e.doc===n})).length&&function(e){e.removeEventListener("mousemove",_c)}(n)}return{onCreate:p,onDestroy:d,onBeforeUpdate:function(){a=e.props},onAfterUpdate:function(t,n){var i=n.followCursor;r||void 0!==i&&a.followCursor!==i&&(d(),i?(p(),!e.state.isMounted||o||s()||u()):(c(),l()))},onMount:function(){e.props.followCursor&&!o&&(i&&(f(Ac),i=!1),s()||u())},onTrigger:function(e,t){ic(t)&&(Ac={clientX:t.clientX,clientY:t.clientY}),o="focus"===t.type},onHidden:function(){e.props.followCursor&&(l(),c(),i=!0)}}}};Lc.setDefaultProps({render:Ec});const Vc=Lc;var Wc=i(7111);function Nc(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var Rc="undefined"!=typeof window&&"undefined"!=typeof document;function zc(e,t){e&&("function"==typeof e&&e(t),{}.hasOwnProperty.call(e,"current")&&(e.current=t))}function $c(){return Rc&&document.createElement("div")}function Hc(e,t){if(e===t)return!0;if("object"==typeof e&&null!=e&&"object"==typeof t&&null!=t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e){if(!t.hasOwnProperty(n))return!1;if(!Hc(e[n],t[n]))return!1}return!0}return!1}function Ic(e){var t=[];return e.forEach((function(e){t.find((function(t){return Hc(e,t)}))||t.push(e)})),t}var Bc=Rc?e.useLayoutEffect:e.useEffect;function Fc(e,t,n){n.split(/\s+/).forEach((function(n){n&&e.classList[t](n)}))}var Uc={name:"className",defaultValue:"",fn:function(e){var t=e.popper.firstElementChild,n=function(){var t;return!!(null==(t=e.props.render)?void 0:t.$$tippy)};function r(){e.props.className&&!n()||Fc(t,"add",e.props.className)}return{onCreate:r,onBeforeUpdate:function(){n()&&Fc(t,"remove",e.props.className)},onAfterUpdate:r}}};function qc(n){return function(r){var o,i,a=r.children,s=r.content,u=r.visible,c=r.singleton,l=r.render,f=r.reference,p=r.disabled,d=void 0!==p&&p,m=r.ignoreAttributes,v=void 0===m||m,h=(r.__source,r.__self,Nc(r,["children","content","visible","singleton","render","reference","disabled","ignoreAttributes","__source","__self"])),y=void 0!==u,g=void 0!==c,b=(0,e.useState)(!1),k=b[0],C=b[1],x=(0,e.useState)({}),w=x[0],O=x[1],E=(0,e.useState)(),S=E[0],P=E[1],T=(o=function(){return{container:$c(),renders:1}},(i=(0,e.useRef)()).current||(i.current="function"==typeof o?o():o),i.current),j=Object.assign({ignoreAttributes:v},h,{content:T.container});y&&(j.trigger="manual",j.hideOnClick=!1),g&&(d=!0);var L=j,A=j.plugins||[];l&&(L=Object.assign({},j,{plugins:g&&null!=c.data?[].concat(A,[{fn:function(){return{onTrigger:function(e,t){var n=c.data.children.find((function(e){return e.instance.reference===t.currentTarget}));e.state.$$activeSingletonInstance=n.instance,P(n.content)}}}}]):A,render:function(){return{popper:T.container}}}));var M=[f].concat(a?[a.type]:[]);return Bc((function(){var e=f;f&&f.hasOwnProperty("current")&&(e=f.current);var t=n(e||T.ref||$c(),Object.assign({},L,{plugins:[Uc].concat(j.plugins||[])}));return T.instance=t,d&&t.disable(),u&&t.show(),g&&c.hook({instance:t,content:s,props:L,setSingletonContent:P}),C(!0),function(){t.destroy(),null==c||c.cleanup(t)}}),M),Bc((function(){var e,t,n,r,o;if(1!==T.renders){var i=T.instance;i.setProps((t=i.props,n=L,Object.assign({},n,{popperOptions:Object.assign({},t.popperOptions,n.popperOptions,{modifiers:Ic([].concat((null==(r=t.popperOptions)?void 0:r.modifiers)||[],(null==(o=n.popperOptions)?void 0:o.modifiers)||[]))})}))),null==(e=i.popperInstance)||e.forceUpdate(),d?i.disable():i.enable(),y&&(u?i.show():i.hide()),g&&c.hook({instance:i,content:s,props:L,setSingletonContent:P})}else T.renders++})),Bc((function(){var e;if(l){var t=T.instance;t.setProps({popperOptions:Object.assign({},t.props.popperOptions,{modifiers:[].concat(((null==(e=t.props.popperOptions)?void 0:e.modifiers)||[]).filter((function(e){return"$$tippyReact"!==e.name})),[{name:"$$tippyReact",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t,n=e.state,r=null==(t=n.modifiersData)?void 0:t.hide;w.placement===n.placement&&w.referenceHidden===(null==r?void 0:r.isReferenceHidden)&&w.escaped===(null==r?void 0:r.hasPopperEscaped)||O({placement:n.placement,referenceHidden:null==r?void 0:r.isReferenceHidden,escaped:null==r?void 0:r.hasPopperEscaped}),n.attributes.popper={}}}])})})}}),[w.placement,w.referenceHidden,w.escaped].concat(M)),t().createElement(t().Fragment,null,a?(0,e.cloneElement)(a,{ref:function(e){T.ref=e,zc(a.ref,e)}}):null,k&&(0,Wc.createPortal)(l?l(function(e){var t={"data-placement":e.placement};return e.referenceHidden&&(t["data-reference-hidden"]=""),e.escaped&&(t["data-escaped"]=""),t}(w),S,T.instance):s,T.container))}}var Yc=function(n,r){return(0,e.forwardRef)((function(o,i){var a=o.children,s=Nc(o,["children"]);return t().createElement(n,Object.assign({},r,s),a?(0,e.cloneElement)(a,{ref:function(e){zc(i,e),zc(a.ref,e)}}):null)}))};const Zc=Yc(qc(Vc));var Xc=["content","children","theme","disabled","placement","position","interactive","hideAfter"];function Kc(){return Kc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Kc.apply(this,arguments)}var Gc=function(e){var n=e.content,r=e.children,o=e.theme,i=void 0===o?"dark":o,a=e.disabled,s=void 0!==a&&a,u=e.placement,c=e.position,l=void 0===c?"auto":c,f=e.interactive,p=void 0!==f&&f,d=e.hideAfter,m=void 0===d?-1:d,v=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Xc),h={};return m>0&&(h.onShow=function(e){return setTimeout((function(){return e.hide()}),m)}),t().createElement(Zc,Kc({role:"tooltip",theme:i,content:n,arrow:"<svg width='12' height='6' viewBox='0 0 10 5' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M10 5H0.926697L3.95208 1.63847C4.74227 0.760478 6.11722 0.754951 6.91445 1.62656L10 5Z' /></svg>",disabled:s,animation:"scale-subtle",placement:u||l,plugins:[Dc],interactive:p,duration:[100,200],zIndex:100001},h,v),r)};Gc.propTypes={content:Xi().node,children:Xi().node,theme:Xi().oneOf(["dark","light"]),disabled:Xi().bool,position:Xi().string,interactive:Xi().bool,hideAfter:Xi().number};const Jc=Gc;var Qc={default:"default",featured:"featured"},el={expanded:{maxWidth:320},collapsed:{maxWidth:64}},tl={organizationInfo:Xi().shape({logo:Xi().element,name:Xi().string,subdomain:Xi().string}),tooltipStyle:Xi().oneOf(Object.keys(Qc)),navLinks:Xi().arrayOf(Xi().shape({label:Xi().string,description:Xi().string,to:Xi().string,icon:Xi().oneOfType([Xi().element,Xi().func])})).isRequired,footerLinks:Xi().arrayOf(Xi().shape({label:Xi().string,description:Xi().string,to:Xi().string,href:Xi().string,icon:Xi().oneOfType([Xi().element,Xi().func])})),profileInfo:Xi().shape({name:Xi().string,email:Xi().string,customContent:Xi().element,changelogProps:Xi().shape({onClick:Xi().func,label:Xi().string,icon:Xi().oneOfType([Xi().element,Xi().func])}),helpProps:Xi().shape({onClick:Xi().func,label:Xi().string,icon:Xi().oneOfType([Xi().element,Xi().func])}),topLinks:Xi().arrayOf(Xi().shape({onClick:Xi().func,label:Xi().string,icon:Xi().oneOfType([Xi().element,Xi().func])})),bottomLinks:Xi().arrayOf(Xi().shape({onClick:Xi().func,label:Xi().string,icon:Xi().oneOfType([Xi().element,Xi().func])}))}),isCollapsed:Xi().bool,showAppSwitcher:Xi().bool,onAppSwitcherToggle:Xi().func,appName:Xi().string};const nl=function(e){var n=e.tooltipStyle,r=e.description,o=e.icon,i=e.collapsed,a=e.label,s=e.children,u=n===Qc.featured?t().createElement(Ms,{description:r,icon:o,label:a}):a;return i?t().createElement(Jc,{position:"right",distance:"20rem",content:u,theme:n===Qc.featured?"light":"dark",className:qi()({"sidebar-featured-tooltip__content":n===Qc.featured}),delay:[400,40],duration:[200,200]},s):s},rl=function(e){var n=e.appName,r=e.collapsed,o=e.tooltipStyle,i=e.onAppSwitcherToggle;return t().createElement(nl,{collapsed:r,label:"App Switcher",tooltipStyle:o,icon:t().createElement(As,null)},t().createElement("button",{onClick:i,"data-cy":"app-switcher-button",className:"flex items-center justify-start w-full shadow-none select-none neeto-ui-sidebar__link neeto-ui-sidebar__link--app-switcher neeto-ui-sidebar__link--button"},t().createElement("span",{className:"flex items-center justify-center neeto-ui-sidebar__link-icon"},t().createElement(As,{size:24})),!r&&t().createElement(ia,{component:"span",style:"body2",weight:"medium",className:"text-left neeto-ui-sidebar__link-label"},n)))};var ol=["size","color","strokeWidth"];function il(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,ol);return ns.createElement("svg",ua({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),ns.createElement("path",{d:"M6 9L12 15L18 9",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}function al(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function sl(e){return function t(n){return 0===arguments.length||al(n)?t:e.apply(this,arguments)}}il.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},il.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};var ul=sl((function(e){return null==e}));const cl=ul,ll=i.p+"36bdad5d6f5ec143521a5bed31c71282.png";var fl=["size","user","isSquare","status","onClick","className"];function pl(){return pl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pl.apply(this,arguments)}function dl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ml={small:24,medium:32,large:40,xlarge:64},vl=["#E5E7EB","#FECACA","#FDE68A","#A7F3D0","#BFDBFE","#C7D2FE","#DDD6FE","#FBCFE8"];function hl(n){var r,o,i=n.size,a=n.user,s=n.isSquare,u=n.status,c=n.onClick,l=n.className,f=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(n,fl),p=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return dl(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?dl(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,e.useState)(!1),2),d=p[0],m=p[1],v=a.name,h=void 0===v?"":v,y=a.imageUrl,g="medium"===i,b="large"===i,k="xlarge"===i,C=(r=h.trim().split(" ")).reduce((function(e,t,n){return 0!==n&&n!==r.length-1||(e="".concat(e).concat(t.charAt(0).toUpperCase())),e}),""),x={height:ml[i],width:ml[i],backgroundColor:(o=(C.charCodeAt(0)||0)+(C.charCodeAt(1)||0),vl[o%65%vl.length]||vl[0])},w=qi()("neeto-ui-avatar",{"neeto-ui-avatar--medium":g,"neeto-ui-avatar--large":b,"neeto-ui-avatar--xlarge":k,"neeto-ui-avatar--round":!s,hidden:!d}),O=qi()("neeto-ui-avatar__text",{"neeto-ui-avatar__text-medium":g,"neeto-ui-avatar__text-large":b,"neeto-ui-avatar__text-xlarge":k}),E=qi()("neeto-ui-avatar__status","".concat(u),{"neeto-ui-avatar__status-medium":g,"neeto-ui-avatar__status-large":b,"neeto-ui-avatar__status-xlarge":k,"neeto-ui-avatar__status-square":s}),S=function(){return cl(u)?t().Fragment:t().createElement("span",{className:E})},P=function(){return t().createElement("span",{className:O},C)},T=C&&!y&&!d;return t().createElement("span",pl({onClick:c,style:x,className:qi()("neeto-ui-avatar--container",{"neeto-ui-avatar--container-round":!s},l)},f),t().createElement(S,null),T?t().createElement(P,null):t().createElement("img",{className:w,onLoad:function(){return m(!0)},onError:function(){return m(!1)},src:y||ll,alt:"avatar-".concat(C)}))}hl.defaultProps={size:"medium",user:{imageUrl:"",name:""},isSquare:!1,onClick:function(){},status:null},hl.propTypes={size:Xi().oneOf(Object.keys(ml)),user:Xi().shape({imageUrl:Xi().string,name:Xi().string}),isSquare:Xi().bool,onClick:Xi().func,status:Xi().oneOf(Object.keys({online:"online",idle:"idle",offline:"offline"})),className:Xi().string};const yl=hl,gl=(0,e.forwardRef)((function(e,n){var r,o=e.collapsed,i=e.profileInfo,a=e.onClick,s=i["data-cy"]||"profile-section";return t().createElement("button",{ref:n,className:"w-full text-left neeto-ui-sidebar__profile-wrapper",onClick:a,"data-cy":s},t().createElement("span",{className:"flex items-center flex-shrink-0 w-full neeto-ui-sidebar__profile"},t().createElement(yl,{user:i,size:"large",className:"flex-shrink-0"}),!o&&t().createElement("span",{className:"neeto-ui-sidebar__profile-content"},t().createElement(ia,{component:"h2",style:"h5",weight:"semibold",className:"m-0",title:i.name},(18,(r=i.name)&&r.length>18?r.substring(0,15)+"...":r)),t().createElement(il,{size:16,className:"neeto-ui-sidebar__profile-drop-icon",color:"#68737D"}))))}));var bl=["size","color","strokeWidth"];function kl(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,bl);return ns.createElement("svg",ua({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),ns.createElement("path",{d:"M7.7328 20.829C7.48434 20.9587 7.20452 21.0162 6.92506 20.9949C6.6456 20.9737 6.37768 20.8746 6.15167 20.7089C5.92566 20.5431 5.7506 20.3174 5.64634 20.0573C5.54208 19.7971 5.5128 19.5129 5.5618 19.237L6.3708 14.6L2.9648 11.336C2.76077 11.1414 2.61571 10.8933 2.54624 10.6201C2.47678 10.3468 2.48573 10.0595 2.57206 9.79116C2.65839 9.52277 2.8186 9.28415 3.03434 9.10265C3.25008 8.92115 3.5126 8.80413 3.7918 8.765L8.5208 8.089L10.6558 3.83C10.7799 3.57959 10.9715 3.36884 11.2089 3.2215C11.4464 3.07415 11.7203 2.99608 11.9998 2.99608C12.2793 2.99608 12.5532 3.07415 12.7906 3.2215C13.0281 3.36884 13.2197 3.57959 13.3438 3.83L15.4788 8.089L20.2078 8.765C20.487 8.80413 20.7495 8.92115 20.9653 9.10265C21.181 9.28415 21.3412 9.52277 21.4275 9.79116C21.5139 10.0595 21.5228 10.3468 21.4533 10.6201C21.3839 10.8933 21.2388 11.1414 21.0348 11.336L17.6288 14.6L18.4378 19.238C18.4868 19.5139 18.4575 19.7981 18.3532 20.0583C18.249 20.3184 18.0739 20.5441 17.8479 20.7099C17.6219 20.8756 17.354 20.9747 17.0745 20.9959C16.7951 21.0172 16.5153 20.9597 16.2668 20.83L11.9998 18.625L7.7328 20.829Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}kl.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},kl.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};var Cl=["size","color","strokeWidth"];function xl(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,Cl);return ns.createElement("svg",ua({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),ns.createElement("path",{d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M9.09009 9.00008C9.32519 8.33175 9.78924 7.76819 10.4 7.40921C11.0108 7.05024 11.729 6.91902 12.4273 7.03879C13.1255 7.15857 13.7589 7.52161 14.2152 8.06361C14.6714 8.60561 14.9211 9.2916 14.9201 10.0001C14.9201 12.0001 11.9201 13.0001 11.9201 13.0001",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M12 17H12.01",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}xl.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},xl.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};var wl=["onClick","label","icon"];function Ol(){return Ol=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ol.apply(this,arguments)}const El=function(e){var n=e.links;return t().createElement("ul",{className:"flex flex-col gap-2 py-2 m-0 list-none border-t neeto-ui-no-outline neeto-ui-border-gray-300"},null==n?void 0:n.map((function(e,n){var r=e.onClick,o=e.label,i=e.icon,a=void 0===i?null:i,s=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,wl),u=a;return t().createElement("li",{key:n,className:"w-full"},t().createElement("button",Ol({onClick:r},s,{className:"flex w-full p-2 text-left transition-colors rounded-sm cursor-pointer select-none hover:neeto-ui-bg-gray-200 focus:neeto-ui-bg-gray-200 neeto-ui-no-outline"}),t().createElement(ia,{style:"h5",weight:"semibold",component:"span",className:"flex items-center gap-2 neeto-ui-text-gray-800"},a&&t().createElement(u,null),o)))})))};function Sl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Pl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Sl(Object(n),!0).forEach((function(t){Tl(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Sl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Tl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const jl=function(e){var n,r=e.profileInfo,o=r.name,i=r.email,a=r.topLinks,s=r.bottomLinks,u=r.customContent,c=r.changelogProps,l=r.helpProps,f=[];return c&&f.push(Pl({icon:kl,label:"What's New","data-cy":"profile-section-whats-new-button"},c)),l&&f.push(Pl({icon:xl,label:"Help","data-cy":"profile-section-help-button"},l)),t().createElement("div",{className:"flex flex-col p-6"},t().createElement("div",{className:qi()("relative flex items-center ",{"mb-5":a||s||u})},t().createElement("div",{className:"top-0 left-0"},t().createElement(yl,{user:r,size:"large"})),t().createElement("div",{className:"flex flex-col flex-grow pl-3"},t().createElement(ia,{component:"h2",style:"h5",weight:"semibold",lineHeight:"tight",className:"m-0",title:o},(18,(n=o)&&n.length>18?n.substring(0,15)+"...":n)),i&&t().createElement(ia,{style:"body2",className:"w-full truncate neeto-ui-text-gray-600",lineHeight:"tight"},i))),t().createElement("div",{className:"neeto-ui-sidebar__profile-wrapper-custom-content"},u),a&&t().createElement(El,{links:a}),!!f.length&&t().createElement(El,{links:f}),s&&t().createElement(El,{links:s}))};var Ll=["children","to","href"],Al=["label","href","to","icon"];function Ml(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _l(){return _l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_l.apply(this,arguments)}function Dl(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Vl="flex items-center no-underline select-none neeto-ui-sidebar__link",Wl=(0,e.forwardRef)((function(e,n){var r=e.children,o=e.to,i=e.href,a=Dl(e,Ll),s=location.pathname.includes(o);return i?t().createElement("a",_l({className:qi()(Vl,{active:s}),href:i},a),r):t().createElement(sa.NavLink,_l({className:Vl,innerRef:n,to:o},a),r)}));const Nl=function(n){var r=n.appName,o=n.footerLinks,i=void 0===o?[]:o,a=n.profileInfo,s=n.tooltipStyle,u=n.collapsed,c=n.showAppSwitcher,l=void 0!==c&&c,f=n.onAppSwitcherToggle,p=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ml(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ml(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,e.useState)(!1),2),d=p[0],m=p[1];return t().createElement("div",{className:"neeto-ui-sidebar__footer"},null==i?void 0:i.map((function(e,n){var r=e.label,o=e.href,i=e.to,a=e.icon,c=Dl(e,Al),l=a;return t().createElement(nl,{key:n,collapsed:u,label:r,tooltipStyle:s,icon:t().createElement(l,null)},t().createElement(Wl,_l({key:n,to:i,href:o},c),a&&t().createElement("div",{className:"flex items-center justify-center neeto-ui-sidebar__link-icon"},t().createElement(l,null)),!u&&t().createElement(ia,{component:"span",style:"body2",weight:"medium",className:"neeto-ui-sidebar__link-label"},r)))})),l&&t().createElement(rl,{appName:r,onAppSwitcherToggle:f,tooltipStyle:s,collapsed:u}),a&&t().createElement(Jc,{position:"right",className:"sidebar-featured-tooltip__content",theme:"light",content:t().createElement(jl,{profileInfo:a}),interactive:!0,hideOnClick:!1},t().createElement(gl,{collapsed:u,profileInfo:a,onClick:function(){m(!d)}})))};var Rl=["label","to","icon","description"];function zl(){return zl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zl.apply(this,arguments)}const $l=function(e){var n=e.navLinks,r=e.tooltipStyle,o=e.collapsed,i=(0,sa.useLocation)();return t().createElement("div",{className:"neeto-ui-sidebar__links"},n.map((function(e,n){var a=e.label,s=e.to,u=e.icon,c=e.description,l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Rl),f=u,p=new URL(s,window.location.href),d=i.pathname.includes(p.pathname);return t().createElement(nl,{key:n,tooltipStyle:r,icon:t().createElement(f,{color:"#68737D"}),description:c,collapsed:o,label:a},t().createElement(sa.NavLink,zl({to:s,className:"flex items-center no-underline select-none neeto-ui-sidebar__link",activeClassName:"active",isActive:function(){return d}},l),u&&t().createElement("div",{className:"flex items-center justify-center neeto-ui-sidebar__link-icon"},t().createElement(f,null)),!o&&t().createElement(ia,{component:"span",style:"body2",weight:"medium",className:"neeto-ui-sidebar__link-label"},a)))})))};var Hl=function(e){var n=e.organizationInfo,r=e.navLinks,o=e.tooltipStyle,i=void 0===o?Qc.featured:o,a=e.footerLinks,s=void 0===a?[]:a,u=e.profileInfo,c=e.isCollapsed,l=void 0===c||c,f=e.showAppSwitcher,p=void 0!==f&&f,d=e.onAppSwitcherToggle,m=void 0===d?function(){}:d,v=e.appName;return t().createElement(Fi.div,{animate:l?"collapsed":"expanded",variants:el,transition:{duration:.3},"data-cy":"sidebar-wrapper",className:qi()("neeto-ui-sidebar flex flex-col flex-shrink-0 overflow-y-auto overflow-x-hidden",{"neeto-ui-sidebar--collapsed":l})},t().createElement(aa,{organizationInfo:n,collapsed:l}),t().createElement($l,{navLinks:r,tooltipStyle:i,collapsed:l}),t().createElement(Nl,{footerLinks:s,appName:v,profileInfo:u,collapsed:l,tooltipStyle:i,showAppSwitcher:p,onAppSwitcherToggle:m}))};Hl.propTypes=tl;const Il=Hl;var Bl=["size","color","strokeWidth"];function Fl(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,Bl);return ns.createElement("svg",ua({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),ns.createElement("line",{x1:"3",y1:"7.25",x2:"21",y2:"7.25",stroke:n,strokeWidth:r}),ns.createElement("line",{x1:"3",y1:"11.25",x2:"15",y2:"11.25",stroke:n,strokeWidth:r}),ns.createElement("line",{x1:"3",y1:"15.25",x2:"11",y2:"15.25",stroke:n,strokeWidth:r}))}Fl.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Fl.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};var Ul=["size","color","strokeWidth"];function ql(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,Ul);return ns.createElement("svg",ua({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),ns.createElement("path",{d:"M9 18L15 12L9 6",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}ql.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},ql.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};var Yl=["size","color","strokeWidth"];function Zl(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,Yl);return ns.createElement("svg",ua({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),ns.createElement("path",{d:"M14.1931 5.58187C16.525 7.91369 16.525 11.6943 14.1931 14.0261C11.8613 16.358 8.08069 16.358 5.74887 14.0261C3.41704 11.6943 3.41704 7.91369 5.74887 5.58187C8.08069 3.25005 11.8613 3.25005 14.1931 5.58187",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M14.1499 14.06L18.5899 18.5",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}Zl.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Zl.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};var Xl=0;function Kl(){var e=Xl;return Xl++,e}var Gl=function(t){var n=t.children,r=t.initial,o=t.isPresent,i=t.onExitComplete,a=t.custom,s=t.presenceAffectsLayout,u=g(Jl),c=g(Kl),l=(0,e.useMemo)((function(){return{id:c,initial:r,isPresent:o,custom:a,onExitComplete:function(e){u.set(e,!0);var t=!0;u.forEach((function(e){e||(t=!1)})),t&&(null==i||i())},register:function(e){return u.set(e,!1),function(){return u.delete(e)}}}}),s?void 0:[o]);return(0,e.useMemo)((function(){u.forEach((function(e,t){return u.set(t,!1)}))}),[o]),e.useEffect((function(){!o&&!u.size&&(null==i||i())}),[o]),e.createElement(y.Provider,{value:l},n)};function Jl(){return new Map}function Ql(e){return e.key||""}var ef=function(t){var n=t.children,r=t.custom,o=t.initial,i=void 0===o||o,a=t.onExitComplete,s=t.exitBeforeEnter,l=t.presenceAffectsLayout,f=void 0===l||l,p=function(){var t=(0,e.useRef)(!1),n=u((0,e.useState)(0),2),r=n[0],o=n[1];return dt((function(){return t.current=!0})),(0,e.useCallback)((function(){!t.current&&o(r+1)}),[r])}(),d=(0,e.useContext)(fi);di(d)&&(p=d.forceUpdate);var m=(0,e.useRef)(!0),v=function(t){var n=[];return e.Children.forEach(t,(function(t){(0,e.isValidElement)(t)&&n.push(t)})),n}(n),h=(0,e.useRef)(v),y=(0,e.useRef)(new Map).current,g=(0,e.useRef)(new Set).current;if(function(e,t){e.forEach((function(e){var n=Ql(e);t.set(n,e)}))}(v,y),m.current)return m.current=!1,e.createElement(e.Fragment,null,v.map((function(t){return e.createElement(Gl,{key:Ql(t),isPresent:!0,initial:!!i&&void 0,presenceAffectsLayout:f},t)})));for(var b=c([],u(v)),k=h.current.map(Ql),C=v.map(Ql),x=k.length,w=0;w<x;w++){var O=k[w];-1===C.indexOf(O)?g.add(O):g.delete(O)}return s&&g.size&&(b=[]),g.forEach((function(t){if(-1===C.indexOf(t)){var n=y.get(t);if(n){var o=k.indexOf(t);b.splice(o,0,e.createElement(Gl,{key:Ql(n),isPresent:!1,onExitComplete:function(){y.delete(t),g.delete(t);var e=h.current.findIndex((function(e){return e.key===t}));h.current.splice(e,1),g.size||(h.current=v,p(),a&&a())},custom:r,presenceAffectsLayout:f},n))}}})),b=b.map((function(t){var n=t.key;return g.has(n)?t:e.createElement(Gl,{key:Ql(t),isPresent:!0,presenceAffectsLayout:f},t)})),h.current=b,e.createElement(e.Fragment,null,g.size?b:b.map((function(t){return(0,e.cloneElement)(t)})))},tf=function(e){var n=e.color,r=e.className,o=e.size;return t().createElement(Fi.div,{initial:{opacity:0},className:r,animate:{opacity:1,transition:{bounce:0}},exit:{opacity:0}},t().createElement(Fi.div,{animate:{rotate:[0,360],transition:{repeat:1/0}},exit:{opacity:0}},t().createElement(Fi.svg,{style:{color:n,height:o,width:o},xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},t().createElement("circle",{style:{opacity:.5},cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),t().createElement("path",{style:{opacity:1},fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"}))))};tf.propTypes={color:Xi().string,className:Xi().string,size:Xi().oneOfType([Xi().string,Xi().number])},tf.defaultProps={color:"#ffffff",className:null,size:14};const nf=tf;var rf=["icon","iconPosition","iconSize","label","loading","onClick","to","type","style","fullWidth","className","disabled","size","href","tooltipProps"];function of(){return of=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},of.apply(this,arguments)}function af(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var sf=function(){},uf={primary:"primary",secondary:"secondary",danger:"danger",text:"text",link:"link"},cf={large:"large",default:"default"},lf={left:"left",right:"right"},ff=t().forwardRef((function(e,n){var r,o,i,a,s,u=e.icon,c=void 0===u?null:u,l=e.iconPosition,f=void 0===l?"right":l,p=e.iconSize,d=void 0===p?16:p,m=e.label,v=void 0===m?"":m,h=e.loading,y=void 0!==h&&h,g=e.onClick,b=void 0===g?sf:g,k=e.to,C=void 0===k?null:k,x=e.type,w=void 0===x?"button":x,O=e.style,E=void 0===O?"primary":O,S=e.fullWidth,P=void 0!==S&&S,T=e.className,j=void 0===T?"":T,L=e.disabled,A=void 0!==L&&L,M=e.size,_=void 0===M?null:M,D=e.href,V=void 0===D?null:D,W=e.tooltipProps,N=void 0===W?null:W,R=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,rf);C?(a=sa.Link,s={to:C}):V?(a=Fi.a,s={href:V}):(a=Fi.button,s={type:w});var z="string"==typeof c?function(){return t().createElement("i",{className:qi()("neeto-ui-btn__icon",[c])})}:c||t().Fragment,$="left"==f?"marginRight":"marginLeft";return t().createElement(Jc,of({disabled:!N},N),t().createElement(a,of({ref:n,onClick:function(e){y||A||b(e)},className:qi()("neeto-ui-btn",[j],{"neeto-ui-btn--style-primary":E===uf.primary,"neeto-ui-btn--style-secondary":E===uf.secondary,"neeto-ui-btn--style-danger":E===uf.danger,"neeto-ui-btn--style-text":E===uf.text,"neeto-ui-btn--style-link":E===uf.link,"neeto-ui-btn--size-large":_===cf.large,"neeto-ui-btn--width-full":P,"neeto-ui-btn--icon-left":f==lf.left,"neeto-ui-btn--icon-only":!v,disabled:A}),disabled:A},s,R),v&&t().createElement("span",null,v),t().createElement(ef,{exitBeforeEnter:!0},c?y?t().createElement(nf,{key:"1",size:d,className:"neeto-ui-btn__spinner"}):t().createElement(z,{key:"2",size:d,className:"neeto-ui-btn__icon"}):y&&t().createElement(Fi.div,{className:"neeto-ui-btn__spinner-wrapper",initial:(r={},af(r,$,0),af(r,"width",0),af(r,"scale",0),r),animate:(o={},af(o,$,".7142857143em"),af(o,"width","auto"),af(o,"scale",1),o),exit:(i={},af(i,$,0),af(i,"width",0),af(i,"scale",0),i),transition:{bounce:!1}},t().createElement(nf,{key:"3"})))))}));ff.propTypes={style:Xi().oneOf(Object.values(uf)),size:Xi().oneOf(Object.values(cf)),iconPosition:Xi().oneOf(Object.values(lf)),label:Xi().string,loading:Xi().bool,disabled:Xi().bool,icon:Xi().oneOfType([Xi().string,Xi().elementType]),onClick:Xi().func,to:Xi().string,href:Xi().string,type:Xi().oneOf(Object.values({button:"button",reset:"reset",submit:"submit"})),fullWidth:Xi().bool,className:Xi().string,tooltipProps:Xi().object};const pf=ff;var df=["size","color","strokeWidth"];function mf(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,df);return ns.createElement("svg",ua({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),ns.createElement("path",{d:"M11.009 11.249H12.159V15.499",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M11 15.4986H13.3093",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M12.1 8.24587C12.1 8.29532 12.0853 8.34365 12.0579 8.38477C12.0304 8.42588 11.9914 8.45792 11.9457 8.47684C11.9 8.49576 11.8497 8.50071 11.8012 8.49107C11.7527 8.48142 11.7082 8.45761 11.6732 8.42265C11.6383 8.38769 11.6145 8.34314 11.6048 8.29464C11.5952 8.24615 11.6001 8.19588 11.619 8.1502C11.638 8.10452 11.67 8.06548 11.7111 8.03801C11.7522 8.01053 11.8006 7.99587 11.85 7.99587",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M11.85 7.99587C11.9163 7.99587 11.9799 8.02221 12.0268 8.0691C12.0737 8.11598 12.1 8.17957 12.1 8.24587",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M16 2.99862H8C5.23858 2.99862 3 5.2372 3 7.99862V15.9986C3 18.76 5.23858 20.9986 8 20.9986H16C18.7614 20.9986 21 18.76 21 15.9986V7.99862C21 5.2372 18.7614 2.99862 16 2.99862Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}mf.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},mf.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};var vf=["children","className","required","helpIconProps"],hf=["onClick","icon","tooltipProps","className"];function yf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function gf(){return gf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gf.apply(this,arguments)}function bf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kf(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Cf=function(e){var n=e.children,r=e.className,o=void 0===r?"":r,i=e.required,a=void 0!==i&&i,s=e.helpIconProps,u=void 0===s?null:s,c=kf(e,vf),l=u||{},f=l.onClick,p=l.icon,d=l.tooltipProps,m=l.className,v=kf(l,hf),h=p||mf;return t().createElement("label",gf({className:qi()("neeto-ui-label flex items-center",o)},c),n,a&&t().createElement("span",{"aria-hidden":!0},"*"),u&&t().createElement(Jc,gf({},d,{disabled:!d}),t().createElement("span",{className:qi()("ml-1",bf({},m,m)),onClick:f},t().createElement(h,gf({size:16},v)))))};Cf.propTypes={children:Xi().node,className:Xi().string,required:Xi().bool,helpIconProps:Xi().shape({onClick:Xi().func,icon:Xi().oneOfType([Xi().element,Xi().func]),tooltipProps:Xi().shape(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yf(Object(n),!0).forEach((function(t){bf(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Jc.propTypes))})};const xf=Cf;function wf(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}var Of=wf()?e.useLayoutEffect:e.useEffect,Ef=!1,Sf=0,Pf=function(){return++Sf},Tf=function(e){return e&&e.replace?e.replace(/[\s_]/g,"-").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/-+/g,"-").toLowerCase():"nui"},jf=["size","type","label","error","suffix","prefix","disabled","helpText","className","nakedInput","contentSize","required"];function Lf(){return Lf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Lf.apply(this,arguments)}function Af(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mf(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var _f=t().forwardRef((function(n,r){var o,i,a,s=n.size,u=void 0===s?"small":s,c=n.type,l=void 0===c?"text":c,f=n.label,p=n.error,d=void 0===p?null:p,m=n.suffix,v=void 0===m?null:m,h=n.prefix,y=void 0===h?null:h,g=n.disabled,b=void 0!==g&&g,k=n.helpText,C=void 0===k?"":k,x=n.className,w=void 0===x?"":x,O=n.nakedInput,E=void 0!==O&&O,S=n.contentSize,P=void 0===S?null:S,T=n.required,j=void 0!==T&&T,L=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(n,jf),A=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Mf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Mf(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,e.useState)(n.value),2),M=A[0],_=A[1],D=null!==(o=null!==(i=n.value)&&void 0!==i?i:M)&&void 0!==o?o:"",V=n.onChange||function(e){return _(e.target.value)},W=function(t){var n=t||(Ef?Pf():null),r=(0,e.useState)(n),o=r[0],i=r[1];return Of((function(){null===o&&i(Pf())}),[]),(0,e.useEffect)((function(){!1===Ef&&(Ef=!0)}),[]),null!=o?String(o):void 0}(n.id),N="error_".concat(W),R="helpText_".concat(W),z=(null==D?void 0:D.toString().length)||0,$=L.maxLength;return t().createElement("div",{className:qi()(["neeto-ui-input__wrapper",w])},t().createElement("div",{className:"neeto-ui-input__label-wrapper"},f&&t().createElement(xf,{required:j,"data-cy":"".concat(Tf(f),"-input-label"),htmlFor:W},f),$&&t().createElement(ia,{className:"neeto-ui-input__max-length",style:"body3"},z," / ",$)),t().createElement("div",{className:qi()("neeto-ui-input",{"neeto-ui-input--naked":!!E,"neeto-ui-input--error":!!d,"neeto-ui-input--disabled":!!b,"neeto-ui-input--small":"small"===u})},y&&t().createElement("div",{className:"neeto-ui-input__prefix"},y),t().createElement("input",Lf({ref:r,id:W,type:l,disabled:b,size:P,required:j,"aria-invalid":!!d,"aria-describedby":qi()((a={},Af(a,N,!!d),Af(a,R,C),a)),"data-cy":"input-field"},L,{value:D,onChange:V})),v&&t().createElement("div",{className:"neeto-ui-input__suffix"},v)),!!d&&t().createElement("p",{"data-cy":"".concat(Tf(f),"-input-error"),className:"neeto-ui-input__error",id:N},d),C&&t().createElement("p",{className:"neeto-ui-input__help-text",id:R},C))}));_f.propTypes={id:Xi().string,size:Xi().oneOf(["small","large"]),type:Xi().string,maxLength:Xi().number,label:Xi().string,error:Xi().string,suffix:Xi().node,prefix:Xi().node,disabled:Xi().bool,helpText:Xi().string,className:Xi().string,nakedInput:Xi().bool,contentSize:Xi().number,required:Xi().bool};const Df=_f;function Vf(){return Vf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Vf.apply(this,arguments)}var Wf=function(n){var r=n.title,o=n.menuBarToggle,i=n.searchProps,a=n.className,s=n.actionBlock,u=n.breadcrumbs,c=(0,e.useRef)();return t().createElement("div",{className:qi()(["neeto-ui-header",a])},t().createElement("div",{className:"neeto-ui-header__left"},o&&t().createElement(pf,{onClick:o,style:"text",size:"large",className:"mr-2",icon:Fl,"data-cy":"menubar-toggle-button"}),u&&u.map((function(e,n){var r=e.text,o=e.link;return t().createElement("div",{className:"neeto-ui-header__breadcrumb",key:n},t().createElement(sa.Link,{to:o},t().createElement(ia,{lineHeight:"tight",style:"h2",weight:"semibold","data-test-id":r,"data-cy":r},r)),t().createElement(ql,{className:"neeto-ui-header__breadcrumb-separator"}))})),t().createElement(ia,{lineHeight:"tight",style:"h2",weight:"semibold","data-test-id":"main-header","data-cy":"main-header",className:"neeto-ui-text-gray-800"},r)),t().createElement("div",{className:"gap-3 neeto-ui-header__right"},i&&t().createElement(Df,Vf({ref:c,type:"search",placeholder:"Search",className:qi()(["w-72",i.className]),prefix:t().createElement(Zl,null)},i)),s))};Wf.propTypes={title:Xi().node,className:Xi().string,actionBlock:Xi().node,searchProps:Xi().object,breadcrumbs:Xi().arrayOf(Xi().shape({text:Xi().string,link:Xi().string})),menuBarToggle:Xi().func};const Nf=Wf;var Rf=function(e){var n=e.className,r=e.leftActionBlock,o=e.rightActionBlock;return t().createElement("div",{className:qi()(["neeto-ui-subheader",n])},t().createElement("div",{className:"neeto-ui-subheader__left-wrapper"},r&&t().createElement("div",{className:"neeto-ui-subheader__left"},r)),o&&t().createElement("div",{className:"neeto-ui-subheader__right"},o))};Rf.propTypes={className:Xi().string,leftActionBlock:Xi().node,rightActionBlock:Xi().node};const zf=Rf;var $f=t().forwardRef((function(e,n){var r=e.isHeaderFixed,o=void 0!==r&&r,i=e.children;return t().createElement("div",{ref:n,className:qi()("neeto-ui-container",{"neeto-ui-container--header-fixed":o})},i)}));$f.propTypes={isHeaderFixed:Xi().bool};const Hf=$f;var If={small:"small",large:"large",viewport:"viewport"},Bf=function(e){var n,r,o,i=e.children,a=e.className,s=e.size,u=void 0===s?"small":s;return t().createElement("div",{className:qi()(["neeto-ui-scrollable",(n={"neeto-ui-scrollable--small":u===If.small,"neeto-ui-scrollable--large":u===If.large,"neeto-ui-scrollable--viewport":u===If.viewport},r=a,o=a,r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n)])},i)};Bf.propTypes={children:Xi().node,size:Xi().oneOf(Object.values(If)),className:Xi().string};const Ff=Bf;var Uf="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>0;function qf(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent&&e.attachEvent("on".concat(t),(function(){n(window.event)}))}function Yf(e,t){for(var n=t.slice(0,t.length-1),r=0;r<n.length;r++)n[r]=e[n[r].toLowerCase()];return n}function Zf(e){"string"!=typeof e&&(e="");for(var t=(e=e.replace(/\s/g,"")).split(","),n=t.lastIndexOf("");n>=0;)t[n-1]+=",",t.splice(n,1),n=t.lastIndexOf("");return t}for(var Xf={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"⇪":20,",":188,".":190,"/":191,"`":192,"-":Uf?173:189,"=":Uf?61:187,";":Uf?59:186,"'":222,"[":219,"]":221,"\\":220},Kf={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,cmd:91,command:91},Gf={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},Jf={16:!1,18:!1,17:!1,91:!1},Qf={},ep=1;ep<20;ep++)Xf["f".concat(ep)]=111+ep;var tp=[],np="all",rp=[],op=function(e){return Xf[e.toLowerCase()]||Kf[e.toLowerCase()]||e.toUpperCase().charCodeAt(0)};function ip(e){np=e||"all"}function ap(){return np||"all"}var sp=function(e){var t=e.key,n=e.scope,r=e.method,o=e.splitKey,i=void 0===o?"+":o;Zf(t).forEach((function(e){var t=e.split(i),o=t.length,a=t[o-1],s="*"===a?"*":op(a);if(Qf[s]){n||(n=ap());var u=o>1?Yf(Kf,t):[];Qf[s]=Qf[s].map((function(e){return r&&e.method!==r||e.scope!==n||!function(e,t){for(var n=e.length>=t.length?e:t,r=e.length>=t.length?t:e,o=!0,i=0;i<n.length;i++)-1===r.indexOf(n[i])&&(o=!1);return o}(e.mods,u)?e:{}}))}}))};function up(e,t,n){var r;if(t.scope===n||"all"===t.scope){for(var o in r=t.mods.length>0,Jf)Object.prototype.hasOwnProperty.call(Jf,o)&&(!Jf[o]&&t.mods.indexOf(+o)>-1||Jf[o]&&-1===t.mods.indexOf(+o))&&(r=!1);(0!==t.mods.length||Jf[16]||Jf[18]||Jf[17]||Jf[91])&&!r&&"*"!==t.shortcut||!1===t.method(e,t)&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}function cp(e){var t=Qf["*"],n=e.keyCode||e.which||e.charCode;if(lp.filter.call(this,e)){if(93!==n&&224!==n||(n=91),-1===tp.indexOf(n)&&229!==n&&tp.push(n),["ctrlKey","altKey","shiftKey","metaKey"].forEach((function(t){var n=Gf[t];e[t]&&-1===tp.indexOf(n)?tp.push(n):!e[t]&&tp.indexOf(n)>-1?tp.splice(tp.indexOf(n),1):"metaKey"===t&&e[t]&&3===tp.length&&(e.ctrlKey||e.shiftKey||e.altKey||(tp=tp.slice(tp.indexOf(n))))})),n in Jf){for(var r in Jf[n]=!0,Kf)Kf[r]===n&&(lp[r]=!0);if(!t)return}for(var o in Jf)Object.prototype.hasOwnProperty.call(Jf,o)&&(Jf[o]=e[Gf[o]]);e.getModifierState&&(!e.altKey||e.ctrlKey)&&e.getModifierState("AltGraph")&&(-1===tp.indexOf(17)&&tp.push(17),-1===tp.indexOf(18)&&tp.push(18),Jf[17]=!0,Jf[18]=!0);var i=ap();if(t)for(var a=0;a<t.length;a++)t[a].scope===i&&("keydown"===e.type&&t[a].keydown||"keyup"===e.type&&t[a].keyup)&&up(e,t[a],i);if(n in Qf)for(var s=0;s<Qf[n].length;s++)if(("keydown"===e.type&&Qf[n][s].keydown||"keyup"===e.type&&Qf[n][s].keyup)&&Qf[n][s].key){for(var u=Qf[n][s],c=u.splitKey,l=u.key.split(c),f=[],p=0;p<l.length;p++)f.push(op(l[p]));f.sort().join("")===tp.sort().join("")&&up(e,u,i)}}}function lp(e,t,n){tp=[];var r=Zf(e),o=[],i="all",a=document,s=0,u=!1,c=!0,l="+";for(void 0===n&&"function"==typeof t&&(n=t),"[object Object]"===Object.prototype.toString.call(t)&&(t.scope&&(i=t.scope),t.element&&(a=t.element),t.keyup&&(u=t.keyup),void 0!==t.keydown&&(c=t.keydown),"string"==typeof t.splitKey&&(l=t.splitKey)),"string"==typeof t&&(i=t);s<r.length;s++)o=[],(e=r[s].split(l)).length>1&&(o=Yf(Kf,e)),(e="*"===(e=e[e.length-1])?"*":op(e))in Qf||(Qf[e]=[]),Qf[e].push({keyup:u,keydown:c,scope:i,mods:o,shortcut:r[s],method:n,key:r[s],splitKey:l});void 0!==a&&!function(e){return rp.indexOf(e)>-1}(a)&&window&&(rp.push(a),qf(a,"keydown",(function(e){cp(e)})),qf(window,"focus",(function(){tp=[]})),qf(a,"keyup",(function(e){cp(e),function(e){var t=e.keyCode||e.which||e.charCode,n=tp.indexOf(t);if(n>=0&&tp.splice(n,1),e.key&&"meta"===e.key.toLowerCase()&&tp.splice(0,tp.length),93!==t&&224!==t||(t=91),t in Jf)for(var r in Jf[t]=!1,Kf)Kf[r]===t&&(lp[r]=!1)}(e)})))}var fp={setScope:ip,getScope:ap,deleteScope:function(e,t){var n,r;for(var o in e||(e=ap()),Qf)if(Object.prototype.hasOwnProperty.call(Qf,o))for(n=Qf[o],r=0;r<n.length;)n[r].scope===e?n.splice(r,1):r++;ap()===e&&ip(t||"all")},getPressedKeyCodes:function(){return tp.slice(0)},isPressed:function(e){return"string"==typeof e&&(e=op(e)),-1!==tp.indexOf(e)},filter:function(e){var t=e.target||e.srcElement,n=t.tagName,r=!0;return!t.isContentEditable&&("INPUT"!==n&&"TEXTAREA"!==n&&"SELECT"!==n||t.readOnly)||(r=!1),r},unbind:function(e){if(e){if(Array.isArray(e))e.forEach((function(e){e.key&&sp(e)}));else if("object"==typeof e)e.key&&sp(e);else if("string"==typeof e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=n[0],i=n[1];"function"==typeof o&&(i=o,o=""),sp({key:e,scope:o,method:i,splitKey:"+"})}}else Object.keys(Qf).forEach((function(e){return delete Qf[e]}))}};for(var pp in fp)Object.prototype.hasOwnProperty.call(fp,pp)&&(lp[pp]=fp[pp]);if("undefined"!=typeof window){var dp=window.hotkeys;lp.noConflict=function(e){return e&&window.hotkeys===lp&&(window.hotkeys=dp),lp},window.hotkeys=lp}const mp=lp;mp.filter=function(){return!0};var vp=function(e,t){var n=e.target,r=n&&n.tagName;return Boolean(r&&t&&t.includes(r))};mp.isPressed;var hp=["size","color","strokeWidth"];function yp(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,hp);return ns.createElement("svg",ua({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),ns.createElement("path",{d:"M10.013 5.988L4.00201 12L10.013 18.012M4.01001 11.98H19H4.01001Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}yp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},yp.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};var gp=["size","color","strokeWidth"];function bp(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,gp);return ns.createElement("svg",ua({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),ns.createElement("path",{d:"M17.5 9L9 17.5L5 13.5",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}bp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},bp.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};const kp=function(e){var n,r,o,i=e.name,a=e.url,s=e.icon,u=e.environment,c=e.activeApp,l=s;return t().createElement("a",{href:a[u],target:"_blank",className:qi()("neeto-ui-app-switcher-link",{"neeto-ui-app-switcher-link--active":c===i}),rel:"noreferrer","data-test-id":"neetoapp-link-".concat(i)},t().createElement("div",{className:"neeto-ui-app-switcher-link__row"},t().createElement("div",{className:qi()("neeto-ui-app-switcher-link__icon-holder",(n={},r="gradient--".concat(i.toLowerCase()),o=i,r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n))},l&&t().createElement(l,{color:"white",className:"neeto-ui-app-switcher-link__icon"})),t().createElement(ia,{style:"h4",weight:"semibold",component:"span",className:"neeto-ui-text-gray-600 neeto-ui-app-switcher-link__title"},i),c===i&&t().createElement("span",{className:"neeto-ui-app-switcher-link__check-icon neeto-ui-text-gray-800"},t().createElement(bp,{size:"22"}))))};var Cp=["size","color","strokeWidth"];function xp(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,Cp);return ns.createElement("svg",ua({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),ns.createElement("path",{d:"M21 12C21 14.3869 20.0518 16.6761 18.364 18.364C16.6761 20.0518 14.3869 21 12 21",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M3 12C3 9.61305 3.94821 7.32387 5.63604 5.63604C7.32387 3.94821 9.61305 3 12 3",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M3 11.9996C3.00014 13.0538 3.18764 14.0996 3.55376 15.0882C3.63489 15.3106 3.7916 15.4975 3.9965 15.6162C4.20141 15.7349 4.44151 15.7779 4.67486 15.7376L5.66105 15.5637C6.04448 15.4961 6.3866 15.282 6.6151 14.9668C6.8436 14.6515 6.94056 14.2598 6.8855 13.8744L6.58868 11.7966C6.56024 11.5976 6.49205 11.4062 6.38818 11.234C6.28431 11.0618 6.14688 10.9123 5.98405 10.7943C5.82122 10.6762 5.63633 10.5922 5.44035 10.547C5.24438 10.5019 5.04134 10.4967 4.84329 10.5316L3.0827 10.842",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M21 12C21 9.61305 20.0518 7.32387 18.364 5.63604C16.6761 3.94821 14.3869 3 12 3",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M21 11.9996C20.9999 13.0538 20.8124 14.0996 20.4462 15.0882C20.3651 15.3106 20.2084 15.4975 20.0035 15.6162C19.7986 15.7349 19.5585 15.7779 19.3251 15.7376L18.339 15.5637C17.9555 15.4961 17.6134 15.282 17.3849 14.9668C17.1564 14.6515 17.0594 14.2598 17.1145 13.8744L17.4113 11.7966C17.4398 11.5976 17.508 11.4062 17.6118 11.234C17.7157 11.0618 17.8531 10.9123 18.016 10.7943C18.1788 10.6762 18.3637 10.5922 18.5597 10.547C18.7556 10.5019 18.9587 10.4967 19.1567 10.5316L20.9173 10.842",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M13.4925 12.4912C13.491 12.4912 13.4896 12.4917 13.4884 12.4925C13.4871 12.4933 13.4862 12.4945 13.4856 12.4958C13.4851 12.4972 13.4849 12.4987 13.4852 12.5001C13.4855 12.5016 13.4862 12.5029 13.4872 12.504C13.4883 12.505 13.4896 12.5057 13.4911 12.506C13.4925 12.5063 13.494 12.5062 13.4954 12.5056C13.4967 12.505 13.4979 12.5041 13.4987 12.5028C13.4995 12.5016 13.5 12.5002 13.5 12.4987C13.5 12.4977 13.4999 12.4967 13.4995 12.4958C13.4992 12.4948 13.4986 12.494 13.4979 12.4933C13.4972 12.4926 13.4964 12.492 13.4955 12.4917C13.4945 12.4913 13.4935 12.4912 13.4925 12.4912",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M10.5075 12.4942C10.506 12.4942 10.5045 12.4946 10.5033 12.4954C10.5021 12.4962 10.5011 12.4974 10.5006 12.4988C10.5 12.5001 10.4999 12.5016 10.5001 12.5031C10.5004 12.5045 10.5011 12.5059 10.5022 12.5069C10.5032 12.508 10.5046 12.5087 10.506 12.509C10.5075 12.5092 10.509 12.5091 10.5103 12.5085C10.5117 12.508 10.5129 12.507 10.5137 12.5058C10.5145 12.5045 10.5149 12.5031 10.5149 12.5016C10.515 12.5006 10.5149 12.4996 10.5145 12.4987C10.5142 12.4977 10.5136 12.4969 10.5129 12.4962C10.5122 12.4955 10.5113 12.4949 10.5104 12.4946C10.5095 12.4942 10.5085 12.4941 10.5075 12.4942",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}xp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},xp.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};var wp=["size","color","strokeWidth"];function Op(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,wp);return ns.createElement("svg",ua({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),ns.createElement("path",{d:"M12 4C7.03 4 3 7.35868 3 11.4971C3.03694 12.7249 3.39056 13.9223 4.02657 14.9731C4.66258 16.024 5.55939 16.8926 6.63 17.4948C6.41369 18.0826 6.11292 18.6358 5.73714 19.1369C5.63591 19.2847 5.58282 19.4601 5.58511 19.6392C5.58741 19.8184 5.64498 19.9924 5.74996 20.1376C5.85494 20.2827 6.00219 20.3919 6.17159 20.4501C6.34098 20.5084 6.52424 20.5129 6.6963 20.4631C7.89863 20.113 9.03031 19.555 10.04 18.8143C10.6863 18.9354 11.3425 18.9956 12 18.9942C16.97 18.9942 21 15.6355 21 11.4971C21 7.35869 16.97 4 12 4Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M9 10H15",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M9 13H12",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}Op.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Op.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};var Ep=["size","color","strokeWidth"];function Sp(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,Ep);return ns.createElement("svg",ua({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),ns.createElement("path",{d:"M18.414 6.414L15.586 3.586C15.211 3.211 14.702 3 14.172 3H7C5.895 3 5 3.895 5 5V19C5 20.105 5.895 21 7 21H17C18.105 21 19 20.105 19 19V7.828C19 7.298 18.789 6.789 18.414 6.414V6.414Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M19 8H15C14.448 8 14 7.552 14 7V3",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M10.5 18H13.5",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M12 12V18",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M9 13.5V12.5C9 12.224 9.224 12 9.5 12H14.5C14.776 12 15 12.224 15 12.5V13.5",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}Sp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Sp.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};var Pp=["size","color","strokeWidth"];function Tp(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,Pp);return ns.createElement("svg",ua({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),ns.createElement("path",{d:"M17 2V2C19.7614 2 22 4.23858 22 7C22 9.76142 19.7614 12 17 12C14.2386 12 12 9.76142 12 7V7C12 4.23858 14.2386 2 17 2",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M20 14.0003V14.3753V14.3753C20 15.9399 18.7316 17.2083 17.167 17.2083H12.445L7.723 20.9863V17.2083H5.833H5.833C4.26838 17.2083 3 15.9399 3 14.3753V6.81933V6.81933C3 5.25471 4.26838 3.98633 5.833 3.98633H10",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M18.358 6.94449C18.3283 6.94226 18.3023 6.96456 18.3001 6.9943C18.3 6.99636 18.2999 6.99843 18.3 7.00049C18.3 7.03142 18.3251 7.05648 18.356 7.05648C18.3869 7.05648 18.412 7.03141 18.412 7.00048C18.412 6.96955 18.3869 6.94448 18.356 6.94448M18.356 6.94448V6.94448Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M15.642 6.94434C15.6111 6.94544 15.587 6.97139 15.5881 7.0023C15.5892 7.03321 15.6151 7.05737 15.646 7.05626C15.6762 7.05519 15.7 7.03047 15.7 7.00034C15.7 6.96979 15.6756 6.94488 15.645 6.94434",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}Tp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Tp.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};var jp=["size","color","strokeWidth"];function Lp(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,jp);return ns.createElement("svg",ua({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),ns.createElement("path",{d:"M18 3H6C4.34315 3 3 4.34315 3 6V18C3 19.6569 4.34315 21 6 21H18C19.6569 21 21 19.6569 21 18V6C21 4.34315 19.6569 3 18 3Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M10 7H7.5C7.22386 7 7 7.22386 7 7.5V10C7 10.2761 7.22386 10.5 7.5 10.5H10C10.2761 10.5 10.5 10.2761 10.5 10V7.5C10.5 7.22386 10.2761 7 10 7Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M13.5 7H17",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M13.5 10.3301H17",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M10 13.5H7.5C7.22386 13.5 7 13.7239 7 14V16.5C7 16.7761 7.22386 17 7.5 17H10C10.2761 17 10.5 16.7761 10.5 16.5V14C10.5 13.7239 10.2761 13.5 10 13.5Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M13.5 13.5H17",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M13.5 16.8301H17",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}Lp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Lp.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};var Ap=["size","color","strokeWidth"];function Mp(e){var t=e.size,n=e.color;e.strokeWidth;var r=ca(e,Ap);return ns.createElement("svg",ua({viewBox:"0 0 24 24",fill:"none",height:t,width:t},r),ns.createElement("path",{d:"M19.1863 9.2727C19.1863 9.99647 19.1863 10.7171 19.1863 11.444C19.1863 12.171 19.1863 12.8916 19.2049 13.6153C19.2386 14.218 19.1257 14.8198 18.8765 15.367C18.6184 15.8937 18.1759 16.3019 17.637 16.5104C17.0343 16.7591 16.4873 16.8557 15.9435 16.7401C15.3997 16.6245 14.859 16.2982 14.2625 15.7027C13.2068 14.6416 12.1543 13.5747 11.1049 12.502C10.0555 11.4292 9.00757 10.3592 7.96124 9.29171C7.79717 9.10072 7.61268 8.92913 7.41122 8.78016C7.30188 8.7087 7.17715 8.66559 7.04782 8.65455C6.9185 8.64351 6.7885 8.66488 6.66908 8.71681C6.53476 8.75956 6.41264 8.83511 6.3133 8.93694C6.21396 9.03876 6.14037 9.16379 6.09892 9.30121C6.03142 9.57268 6.00375 9.85289 6.0168 10.1327C6.0168 11.3152 6.02042 12.4993 6.02765 13.685C6.02765 14.8697 6.02765 16.0606 6.0075 17.2389C5.99528 17.5357 6.04547 17.8316 6.15469 18.1068C6.25958 18.3623 6.44947 18.5715 6.69077 18.6976C6.81331 18.7641 6.94926 18.8007 7.08796 18.8046C7.22666 18.8084 7.36435 18.7794 7.49024 18.7198C7.75031 18.5975 7.98613 18.4273 8.1859 18.2177C8.6662 17.7405 9.14392 17.2601 9.61905 16.7765C10.0942 16.2929 10.5616 15.8041 11.0212 15.3099C11.1103 15.2033 11.2191 15.1156 11.3414 15.052C11.4637 14.9884 11.5971 14.9501 11.7339 14.9393C11.9921 14.9406 12.2434 15.0242 12.4528 15.1785C12.6511 15.3115 12.7426 15.5982 12.7364 15.9007C12.7377 16.2033 12.6301 16.4958 12.4342 16.7226C11.8641 17.3118 11.2986 17.9089 10.7299 18.498C10.1613 19.0872 9.57877 19.67 8.98072 20.2291C8.54153 20.6553 7.97762 20.9223 7.37559 20.9893C6.77021 21.0371 6.16299 20.9247 5.61242 20.663C5.10855 20.4603 4.67981 20.1007 4.38688 19.6352C4.11249 19.1508 3.97918 18.5964 4.00264 18.0372C4.01658 16.5769 4.01503 15.1167 4.01348 13.6549C4.01193 12.1931 4.01348 10.7345 4.01348 9.2727C4.00128 8.69191 4.11948 8.11599 4.35899 7.58918C4.61201 7.07012 5.05006 6.66996 5.58298 6.47105C6.13553 6.23868 6.74262 6.17701 7.32911 6.29367C7.9335 6.43863 8.48137 6.76582 8.9017 7.23284C9.96456 8.34146 11.0367 9.44269 12.1182 10.5365C13.1996 11.6304 14.278 12.7263 15.3532 13.8244C15.4998 13.9882 15.6683 14.13 15.8537 14.2457C15.9468 14.3006 16.0506 14.3338 16.1577 14.3431C16.2648 14.3524 16.3726 14.3375 16.4734 14.2995C16.6678 14.2401 16.8443 14.1311 16.9862 13.9828C17.1305 13.8059 17.2026 13.579 17.1877 13.3493C17.1722 12.0142 17.1722 10.6854 17.1722 9.35664C17.1722 8.02788 17.1722 6.69753 17.1722 5.36877C17.1819 5.16803 17.1508 4.9674 17.0808 4.77961C17.0365 4.68434 16.9744 4.59893 16.8978 4.52827C16.8212 4.45761 16.7318 4.40309 16.6345 4.36784C16.4456 4.27647 16.2393 4.22888 16.0303 4.22847C15.8152 4.24378 15.6102 4.32802 15.4446 4.4692C14.8593 4.93907 14.3084 5.45198 13.7961 6.00385C13.2771 6.54549 12.7704 7.10138 12.2282 7.62085C12.0264 7.84331 11.7585 7.99141 11.4659 8.04213C11.3372 8.04946 11.2086 8.02659 11.0899 7.97525C10.9712 7.92392 10.8655 7.84549 10.7811 7.74597C10.6812 7.64671 10.603 7.52692 10.5518 7.39452C10.5005 7.26212 10.4772 7.1201 10.4836 6.97785C10.5039 6.67123 10.6361 6.38357 10.8539 6.17173C11.4024 5.61214 11.9498 5.05254 12.4962 4.49295C13.0426 3.93336 13.5926 3.378 14.1463 2.82685C14.4931 2.4971 14.911 2.25534 15.3661 2.12109C15.8212 1.98683 16.3008 1.96385 16.7662 2.05398C17.2334 2.12126 17.6785 2.29959 18.066 2.57464C18.4535 2.8497 18.7725 3.21381 18.9973 3.63773C19.0662 3.77419 19.1183 3.9189 19.1522 4.06851C19.1853 4.21976 19.2009 4.37443 19.1987 4.52938C19.1925 5.31809 19.1925 6.10996 19.1987 6.905C19.2049 7.70004 19.2008 8.48927 19.1863 9.2727Z",fill:n}))}Mp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Mp.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};var _p=["size","color","strokeWidth"];function Dp(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,_p);return ns.createElement("svg",ua({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),ns.createElement("path",{d:"M21 7V17C21 19.209 19.209 21 17 21H7C4.791 21 3 19.209 3 17V7C3 4.791 4.791 3 7 3H17C19.209 3 21 4.791 21 7Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M21 12.0003H16.309C16.12 12.0003 15.946 12.1073 15.862 12.2763L14.447 15.1053C14.263 15.4743 13.737 15.4743 13.553 15.1053L10.43 8.86127C10.249 8.49927 9.735 8.49127 9.543 8.84727L7.984 11.7373C7.896 11.8993 7.727 12.0003 7.544 12.0003H3",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}Dp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Dp.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};var Vp=["size","color","strokeWidth"];function Wp(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,Vp);return ns.createElement("svg",ua({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),ns.createElement("path",{d:"M9.167 20.5H4.444C3.922 20.5 3.5 20.077 3.5 19.556V15.778C3.5 15.256 3.923 14.834 4.444 14.834H9.166L9.167 20.5ZM14.833 4.444V20.5H19.555C20.077 20.5 20.499 20.077 20.499 19.556V4.444C20.499 3.922 20.076 3.5 19.555 3.5H15.777C15.256 3.5 14.833 3.923 14.833 4.444V4.444Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M14.833 20.5H9.166V10.111C9.166 9.58899 9.589 9.16699 10.11 9.16699H14.832",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}Wp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Wp.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};var Np=["size","color","strokeWidth"];function Rp(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,Np);return ns.createElement("svg",ua({viewBox:"0 0 26 26",fill:"none",height:t,width:t},o),ns.createElement("g",{filter:"url(#filter0_d)"},ns.createElement("path",{d:"M10.6857 9.68568C10.8005 9.19071 11.0846 8.75139 11.4889 8.44362C11.8932 8.13584 12.3923 7.97894 12.9 8.00001C13.4631 7.96882 14.0157 8.16159 14.4372 8.53627C14.8587 8.91095 15.115 9.43713 15.15 10C15.15 11.5039 13 12 13 13",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M5.63148 17.1583C4.33769 15.3116 3.78301 13.047 4.07688 10.8115C4.37075 8.57588 5.49183 6.53162 7.21892 5.08203C8.94602 3.63244 11.1537 2.8828 13.4064 2.981C15.659 3.07921 17.7931 4.01813 19.3875 5.61252C20.9819 7.20692 21.9208 9.34098 22.019 11.5936C22.1172 13.8463 21.3676 16.054 19.918 17.7811C18.4684 19.5082 16.4241 20.6293 14.1885 20.9231C11.953 21.217 9.68844 20.6623 7.84175 19.3685L5.00001 20L5.63148 17.1583Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("circle",{cx:"12.75",cy:"15.75",r:"0.75",fill:n})),ns.createElement("defs",null,ns.createElement("filter",{id:"filter0_d",x:"-2",y:"-2",width:"30",height:"30",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},ns.createElement("feFlood",{result:"BackgroundImageFix",floodOpacity:"0"}),ns.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),ns.createElement("feMorphology",{radius:"1",operator:"erode",in:"SourceAlpha",result:"effect1_dropShadow"}),ns.createElement("feOffset",{dy:"1"}),ns.createElement("feGaussianBlur",{stdDeviation:"2"}),ns.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.109804 0 0 0 0 0.188235 0 0 0 0 0.290196 0 0 0 0.12 0"}),ns.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),ns.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"}))))}Rp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Rp.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};var zp=["size","color","strokeWidth"];function $p(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,zp);return ns.createElement("svg",ua({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),ns.createElement("path",{d:"M9.61801 3H14.382V3C14.9343 3 15.382 3.44772 15.382 4.00001C15.382 4.15525 15.3459 4.30836 15.2764 4.44721L14 7H10L8.72362 4.44721V4.44721C8.47663 3.95323 8.67686 3.35256 9.17084 3.10557C9.30968 3.03615 9.46278 3.00001 9.61801 3V3Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M9.99969 6.99769L8.0144 18.581V18.581C7.95102 18.9508 8.09994 19.325 8.40009 19.5501L11.3999 21.8V21.8C11.7555 22.0667 12.2445 22.0667 12.6001 21.8L15.5999 19.5501V19.5501C15.9001 19.325 16.049 18.9508 15.9856 18.5811L14.0003 6.99765",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}$p.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},$p.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};var Hp=["size","color","strokeWidth"];function Ip(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,Hp);return ns.createElement("svg",ua({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),ns.createElement("path",{d:"M11.206 9.11501L14.9 11.3C15.432 11.615 15.432 12.385 14.9 12.7L11.205 14.885C10.663 15.206 9.978 14.815 9.978 14.185V9.81501C9.978 9.18501 10.664 8.79401 11.206 9.11501V9.11501Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M7.327 17.364L5.636 18.364C9.151 21.879 14.849 21.879 18.364 18.364C20.861 15.867 21.575 12.27 20.523 9.13401M16.673 6.63601L18.364 5.63601C14.849 2.12101 9.151 2.12101 5.636 5.63601C3.139 8.13301 2.425 11.731 3.477 14.866",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}Ip.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Ip.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};var Bp=["size","color","strokeWidth"];function Fp(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,Bp);return ns.createElement("svg",ua({viewBox:"0 0 19 21",fill:"none",height:t,width:t},o),ns.createElement("path",{d:"M1.5 9.13701V4.43701V4.43696C1.49892 3.33047 2.39357 2.43184 3.50005 2.42801V2.42801C4.60462 2.42801 5.50005 3.32344 5.50005 4.42801V4.42801V9.00501M1.5 5.91001H5.5H1.5Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M8.25 9V1H13V9",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M14 16H15.5V16C16.8807 16 18 14.8807 18 13.5V12.055C18 10.9504 17.1046 10.055 16 10.055H13.833",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M2 9H12.833V9C13.3853 9 13.833 9.44771 13.833 10V16.333V16.333C13.833 18.3578 12.1918 19.9995 10.167 20H4.667V20C2.64177 20 1 18.3582 1 16.333V10V10C1 9.44771 1.44771 9 2 9V9Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M12.25 3.84H10.75",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M12.25 6.34H11.75",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}Fp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Fp.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};var Up=["size","color","strokeWidth"];function qp(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,Up);return ns.createElement("svg",ua({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),ns.createElement("path",{d:"M7 13H17M7 17H17M3 8H20.954",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M5 3C3.895 3 3 3.895 3 5V19C3 20.105 3.895 21 5 21H19C20.105 21 21 20.105 21 19V5C21 3.895 20.105 3 19 3H5Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}function Yp(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}qp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},qp.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};const Zp=function(n){var r=n.environment,o=n.activeApp,i=n.subdomain,a=n.neetoApps,s=n.recentApps,u=n.onClose,c=function(e){return[{name:"Desk",icon:xp,description:"Customer support app",url:{development:"http://spinkart.lvh.me:9001",staging:"https://".concat(e,".neetodesk.net"),production:"https://".concat(e,".neetodesk.com")}},{name:"Chat",icon:Op,description:"Customer chat app",url:{development:"http://spinkart.lvh.me:9006",staging:"https://".concat(e,".neetochat.net"),production:"https://".concat(e,".neetochat.com")}},{name:"KB",icon:Sp,description:"Knowledge Base App",url:{development:"http://spinkart.lvh.me:9005/admin",staging:"https://".concat(e,".neetokb.net/admin"),production:"https://".concat(e,".neetokb.com/admin")}},{name:"Form",icon:Tp,description:"Form management app",url:{development:"http://spinkart.lvh.me:9004",staging:"https://".concat(e,".neetoform.net"),production:"https://".concat(e,".neetoform.com")}},{name:"Changelog",icon:Lp,description:"Changelog management app",url:{development:"http://spinkart.lvh.me:9003",staging:"https://".concat(e,".neetochangelog.net"),production:"https://".concat(e,".neetochangelog.com")}},{name:"Invoice",icon:Mp,description:"Invoice management app",url:{development:"http://spinkart.lvh.me:9024",staging:"https://".concat(e,".neetoinvoice.net"),production:"https://".concat(e,".neetoinvoice.com")}},{name:"Analytics",icon:Dp,description:"Business Analytics App",url:{development:"http://spinkart.lvh.me:9007",staging:"https://".concat(e,".neetoanalytics.net"),production:"https://".concat(e,".neetoanalytics.com")}},{name:"Engage",icon:Tp,description:"Customer Engagement App",url:{development:"http://spinkart.lvh.me:9009",staging:"https://".concat(e,".neetoengage.net"),production:"https://".concat(e,".neetoengage.com")}},{name:"Grow",icon:Wp,description:"Business Grow App",url:{development:"http://spinkart.lvh.me:9010",staging:"https://".concat(e,".neetogrow.net"),production:"https://".concat(e,".neetogrow.com")}},{name:"Quiz",icon:Rp,description:"Quiz App",url:{development:"http://spinkart.lvh.me:9011",staging:"https://".concat(e,".neetoquiz.net"),production:"https://".concat(e,".neetoquiz.com")}},{name:"Runner",icon:$p,description:"Interview App",url:{development:"http://spinkart.lvh.me:9012",staging:"https://".concat(e,".neetorunner.net"),production:"https://".concat(e,".neetorunner.com")}},{name:"Planner",icon:Tp,description:"Planner App",url:{development:"http://spinkart.lvh.me:9013",staging:"https://".concat(e,".neetoplanner.net"),production:"https://".concat(e,".neetoplanner.com")}},{name:"Replay",icon:Ip,description:"Replay App",url:{development:"http://spinkart.lvh.me:9020",staging:"https://".concat(e,".neetoreplay.net"),production:"https://".concat(e,".neetoreplay.com")}},{name:"Wireframe",icon:Fp,description:"Wireframe App",url:{development:"http://spinkart.lvh.me:9021",staging:"https://".concat(e,".neetowireframe.net"),production:"https://".concat(e,".neetowireframe.com")}},{name:"Invisible",icon:qp,description:"Invisible",url:{development:"http://spinkart.lvh.me:9014",staging:"https://".concat(e,".neetoinvisible.net"),production:"https://".concat(e,".neetoinvisible.com")}},{name:"Popups",icon:Mp,description:"Popups App",url:{development:"http://spinkart.lvh.me:9021",staging:"https://".concat(e,".neetopopups.net"),production:"https://".concat(e,".neetopopups.com")}},{name:"Store",icon:Mp,description:"Store App",url:{development:"http://spinkart.lvh.me:9025",staging:"https://".concat(e,".neetostore.net"),production:"https://".concat(e,".neetostore.com")}},{name:"CRM",icon:Mp,description:"CRM App",url:{development:"http://spinkart.lvh.me:9017",staging:"https://".concat(e,".neetocrm.net"),production:"https://".concat(e,".neetocrm.com")}},{name:"Course",icon:Mp,description:"Course App",url:{development:"http://spinkart.lvh.me:9016",staging:"https://".concat(e,".neetocourse.net"),production:"https://".concat(e,".neetocourse.com")}},{name:"Hr",icon:Mp,description:"Hr App",url:{development:"http://spinkart.lvh.me:9015",staging:"https://".concat(e,".neetohr.net"),production:"https://".concat(e,".neetohr.com")}}]}(i),l=[];a.length>0&&(l=c.filter((function(e){return s.includes(e.name)})),c=c.filter((function(e){return a.includes(e.name)})));var f=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Yp(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Yp(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,e.useState)(""),2),p=f[0],d=f[1],m=c.filter((function(e){return e.name.toLowerCase().includes(p.replace(/ /g,"").toLowerCase())}));return t().createElement(t().Fragment,null,t().createElement("div",{className:"neeto-ui-app-switcher__header"},t().createElement(pf,{icon:yp,style:"text",iconPosition:"left",label:"Back",onClick:u})),t().createElement("div",{className:"neeto-ui-app-switcher__search-wrapper"},t().createElement(Df,{placeholder:"Search Products",type:"search",suffix:t().createElement(Zl,null),onChange:function(e){return d(e.target.value)},value:p})),0===p.length&&l.length>0&&t().createElement("div",{className:"neeto-ui-app-switcher__body"},t().createElement(ia,{style:"h5",weight:"bold",textTransform:"uppercase",className:"neeto-ui-text-gray-300"},"Recently"),t().createElement("div",{className:"neeto-ui-app-switcher__grid"},l.map((function(e){var n=e.name,i=e.url,a=e.icon;return t().createElement(kp,{key:n,name:n,url:i,icon:a,environment:r,activeApp:o})})))),t().createElement("div",{className:"neeto-ui-app-switcher__body"},t().createElement(ia,{style:"h5",weight:"bold",textTransform:"uppercase",className:"neeto-ui-text-gray-300"},0===p.length?"All":"Apps"),t().createElement("div",{className:"neeto-ui-app-switcher__grid"},m.length?m.map((function(e){var n=e.name,i=e.url,a=e.icon;return t().createElement(kp,{key:n,name:n,url:i,icon:a,environment:r,activeApp:o})})):t().createElement(ia,{style:"h4",className:"text-center neeto-ui-text-gray-300"},"No apps found"))))};var Xp="blur(0px)",Kp="blur(2px)",Gp=["children"];function Jp(){return Jp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Jp.apply(this,arguments)}var Qp={invisible:{backgroundColor:"#1b1f2300",backdropFilter:Xp},visible:{backgroundColor:"#1b1f23dd",backdropFilter:Kp}},ed=function(e,n){var r=e.children,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Gp);return t().createElement(Fi.div,Jp({ref:n,variants:Qp,initial:"invisible",animate:"visible",exit:"invisible",transition:{bounce:!1,duration:.3}},o),r)};const td=(0,e.forwardRef)(ed),nd=function(t){var n=t.children,r=t.rootId,o=void 0===r?"root-portal":r,i=t.el,a=void 0===i?"div":i,s=(0,e.useRef)(null);return(0,e.useEffect)((function(){var e=document.getElementById(o);return e||((e=document.createElement(a)).setAttribute("id",o),document.body.appendChild(e)),e.appendChild(s.current),function(){s.current.remove(),0===e.childNodes.length&&e.remove()}}),[o]),s.current||(s.current=document.createElement(a)),(0,Wc.createPortal)(n,s.current)};var rd=i(7484),od=i(178),id=i.n(od),ad=i(6833),sd=i.n(ad),ud=i(6036),cd=i.n(ud);rd.extend(sd()),rd.extend(cd()),rd.extend(id());var ld={open:{x:0,filter:Xp},closed:{x:-400,filter:Kp}},fd={lg:"lg",sm:"sm"},pd={size:Xi().oneOf(Object.values(fd)),isOpen:Xi().bool,onClose:Xi().func,loading:Xi().bool,className:Xi().string,closeOnEsc:Xi().bool,closeOnOutsideClick:Xi().bool,activeApp:Xi().string,subdomain:Xi().string,neetoApps:Xi().arrayOf(Xi().string),recentApps:Xi().arrayOf(Xi().string),environment:Xi().oneOf(Object.values({development:"development",staging:"staging",production:"production"})).isRequired},dd=["size","isOpen","loading","className","closeOnEsc","closeOnOutsideClick","environment","activeApp","subdomain","neetoApps","recentApps","isSidebarOpen","onClose"];function md(){return md=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},md.apply(this,arguments)}var vd=function(){},hd=function(){var e=window.location.host.split("."),t="";return e.length>=3&&(t=e[0]),t},yd=function(n){var r,o,i,a,s,u,c=n.size,l=void 0===c?"sm":c,f=n.isOpen,p=n.loading,d=void 0!==p&&p,m=n.className,v=void 0===m?"":m,h=n.closeOnEsc,y=void 0===h||h,g=n.closeOnOutsideClick,b=void 0===g||g,k=n.environment,C=n.activeApp,x=void 0===C?"Desk":C,w=n.subdomain,O=void 0===w?"":w,E=n.neetoApps,S=void 0===E?[]:E,P=n.recentApps,T=void 0===P?[]:P,j=n.isSidebarOpen,L=void 0!==j&&j,A=n.onClose,M=void 0===A?vd:A,_=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(n,dd),D=(0,e.useRef)(),V=(0,e.useRef)();return r=D,o=V,i=b?M:vd,(0,e.useEffect)((function(){var e=function(e){r.current&&!r.current.contains(e.target)&&(o.current?o.current.contains(e.target)&&i(e):i(e))};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),function(){document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e)}}),[r,o,i]),function(t,n,r,o){r instanceof Array&&(o=r,r=void 0);var i=r||{},a=i.enableOnTags,s=i.filter,u=i.keyup,c=i.keydown,l=i.filterPreventDefault,f=void 0===l||l,p=i.enabled,d=void 0===p||p,m=i.enableOnContentEditable,v=void 0!==m&&m,h=(0,e.useRef)(null),y=(0,e.useCallback)((function(e,t){var r;return s&&!s(e)?!f:!!(vp(e,["INPUT","TEXTAREA","SELECT"])&&!vp(e,a)||null!=(r=e.target)&&r.isContentEditable&&!v)||(null===h.current||document.activeElement===h.current)&&(n(e,t),!0)}),o?[h,a,s].concat(o):[h,a,s]);(0,e.useEffect)((function(){if(d)return u&&!0!==c&&(r.keydown=!1),mp(t,r||{},y),function(){return mp.unbind(t,y)};mp.unbind(t,y)}),[y,t,d])}("esc",y?M:vd),t().createElement(nd,{rootId:"neeto-ui-portal"},t().createElement(ef,null,f&&t().createElement(td,{ref:V,key:"switcher-backdrop",className:qi()("neeto-ui-app-switcher__backdrop",{"neeto-ui-app-switcher__backdrop--expanded":L})},t().createElement(Fi.div,md({variants:ld,initial:"closed",animate:"open",exit:"closed",transition:{bounce:!1,duration:.3},ref:D,key:"switcher-wrapper","data-cy":"switcher-wrapper",className:qi()("neeto-ui-app-switcher__wrapper",(a={"neeto-ui-app-switcher__wrapper-size--sm":l===fd.sm,"neeto-ui-app-switcher__wrapper-size--lg":l===fd.lg},s=v,u=v,s in a?Object.defineProperty(a,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):a[s]=u,a))},_),d?t().createElement(t().Fragment,null):t().createElement(Zp,{onClose:M,environment:k,activeApp:x,subdomain:O||hd()||"spinkart",neetoApps:S,recentApps:T})))))};yd.propTypes=pd;const gd=yd;var bd=["url","icon","label","count","active","onEdit","onClick","className"];var kd=function(){},Cd=function(e){var n,r,o,i=e.url,a=e.icon,s=e.label,u=e.count,c=e.active,l=e.onEdit,f=e.onClick,p=void 0===f?kd:f,d=e.className,m=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,bd),v=i?sa.Link:function(e){return t().createElement("button",e)};return t().createElement(v,{to:i,className:qi()("neeto-ui-menubar__block",(n={"neeto-ui-menubar__block--editable":l,"neeto-ui-menubar__block--active":c},r=d,o=d,r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n)),onClick:p,"data-cy":m["data-cy"]||Tf(s)},t().createElement("div",{className:"neeto-ui-menubar__block-label"},a&&t().createElement("i",{className:"neeto-ui-menubar__block-icon"},a),t().createElement(ia,{title:s,component:"span",style:"h5",weight:"medium"},s)),Number.isInteger(u)&&t().createElement("div",{onClick:function(e){e.stopPropagation(),l&&l()}},t().createElement(ia,{component:"span",style:"h5",weight:"medium"},u>99?"99+":u)))};Cd.propTypes={url:Xi().string,icon:Xi().node,label:Xi().string,count:Xi().number,active:Xi().bool,onEdit:Xi().func,onClick:Xi().func,className:Xi().string},Cd.defaultProps={active:!1};const xd=Cd;var wd=["label","description","active","className"];function Od(){return Od=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Od.apply(this,arguments)}var Ed=function(e){var n,r,o,i=e.label,a=e.description,s=e.active,u=e.className,c=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,wd);return t().createElement("button",Od({className:qi()("neeto-ui-menubar__item",(n={"neeto-ui-menubar__item--active":s},r=u,o=u,r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n))},c),t().createElement(ia,{component:"h5",style:"h4",className:"neeto-ui-menubar__item-header"},i),t().createElement(ia,{style:"body3",className:"neeto-ui-menubar__item-desc"},a))};Ed.propTypes={label:Xi().string,description:Xi().string,active:Xi().bool,className:Xi().string};const Sd=Ed;var Pd=["children","iconProps"];function Td(){return Td=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Td.apply(this,arguments)}var jd=function(e){var n=e.children,r=e.iconProps,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Pd);return t().createElement("div",{"data-cy":o["data-cy"]||"menubar-subtitle-heading",className:"neeto-ui-menubar__subtitle"},n,t().createElement("div",{className:"neeto-ui-menubar__subtitle-actions"},r&&r.map((function(e,n){return t().createElement(pf,Td({style:"text",size:"large",key:n},e))}))))};jd.propTypes={children:Xi().node,iconProps:Xi().arrayOf(Xi().shape(pf.propTypes))};const Ld=jd;var Ad=["size","color","strokeWidth"];function Md(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,Ad);return ns.createElement("svg",ua({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),ns.createElement("path",{d:"M6 6L18 18",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M18 6L6 18",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}Md.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Md.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};var _d=["collapse","onCollapse"];function Dd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Vd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Dd(Object(n),!0).forEach((function(t){Wd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Wd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nd(){return Nd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Nd.apply(this,arguments)}var Rd=function(e){var n=e.collapse,r=e.onCollapse,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,_d);return!n&&t().createElement("div",{className:"neeto-ui-menubar__search"},t().createElement(Df,Nd({type:"search",placeholder:"Search",prefix:t().createElement(Zl,null)},o)),t().createElement(pf,{size:"large",style:"text",icon:Md,onClick:r}))};Rd.propTypes=Vd(Vd({},Df.propTypes),{},{collapse:Xi().bool,onCollapse:Xi().func});const zd=Rd;var $d=["size","color","strokeWidth"];function Hd(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,$d);return ns.createElement("svg",ua({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),ns.createElement("path",{d:"M12 6L12 18",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M18 12H6",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}Hd.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Hd.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};var Id=["label","onClick"];function Bd(){return Bd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Bd.apply(this,arguments)}var Fd=function(e){var n=e.label,r=e.onClick,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Id);return t().createElement("div",Bd({className:"neeto-ui-menubar__add-new-wrap"},o),t().createElement(pf,{label:n,style:"link",icon:Hd,iconPosition:"left",iconSize:16,onClick:r}))};Fd.propTypes={label:Xi().string};const Ud=Fd;var qd={open:{width:324},collapsed:{width:0}},Yd=["title","children","showMenu","className"];var Zd=function(e){var n,r,o,i=e.title,a=e.children,s=e.showMenu,u=e.className,c=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Yd);return t().createElement(ef,null,s&&t().createElement(Fi.div,{initial:"collapsed",animate:"open",exit:"collapsed",variants:qd,transition:{duration:.3},className:qi()("neeto-ui-menubar__wrapper",(n={},r=u,o=u,r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n))},t().createElement("div",{className:"neeto-ui-menubar__container"},i&&t().createElement(ia,{lineHeight:"tight",style:"h2",weight:"semibold","data-cy":c["data-cy"]||"menubar-heading",className:"neeto-ui-text-gray-800 neeto-ui-menubar__title"},i),a)))};Zd.Block=xd,Zd.Item=Sd,Zd.SubTitle=Ld,Zd.Search=zd,Zd.AddNew=Ud,Zd.propTypes={title:Xi().node,children:Xi().oneOfType([Xi().arrayOf(Xi().node),Xi().node]),showMenu:Xi().bool,className:Xi().string},Zd.defaultProps={showMenu:!1};const Xd=Zd})(),a})()}));
2
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom"),require("react-router-dom")):"function"==typeof define&&define.amd?define(["react","react-dom","react-router-dom"],t):"object"==typeof exports?exports.neetoui=t(require("react"),require("react-dom"),require("react-router-dom")):e.neetoui=t(e.react,e["react-dom"],e["react-router-dom"])}(self,(function(e,t,n){return(()=>{var r={8594:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/;const o=(i={},function(e){return void 0===i[e]&&(i[e]=(t=e,r.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91)),i[e];var t});var i},4184:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var a=o.apply(null,n);a&&e.push(a)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var s in n)r.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},7484:function(e){e.exports=function(){"use strict";var e=6e4,t=36e5,n="millisecond",r="second",o="minute",i="hour",a="day",s="week",u="month",c="quarter",l="year",f="date",p="Invalid Date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},h=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},y={s:h,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),o=n%60;return(t<=0?"+":"-")+h(r,2,"0")+":"+h(o,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),o=t.clone().add(r,u),i=n-o<0,a=t.clone().add(r+(i?-1:1),u);return+(-(r+(n-o)/(i?o-a:a-o))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:u,y:l,w:s,d:a,D:f,h:i,m:o,s:r,ms:n,Q:c}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},g="en",b={};b[g]=v;var k=function(e){return e instanceof O},C=function(e,t,n){var r;if(!e)return g;if("string"==typeof e)b[e]&&(r=e),t&&(b[e]=t,r=e);else{var o=e.name;b[o]=e,r=o}return!n&&r&&(g=r),r||!n&&g},x=function(e,t){if(k(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new O(n)},w=y;w.l=C,w.i=k,w.w=function(e,t){return x(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var O=function(){function v(e){this.$L=C(e.locale,null,!0),this.parse(e)}var h=v.prototype;return h.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(w.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(d);if(r){var o=r[2]-1||0,i=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)):new Date(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},h.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},h.$utils=function(){return w},h.isValid=function(){return!(this.$d.toString()===p)},h.isSame=function(e,t){var n=x(e);return this.startOf(t)<=n&&n<=this.endOf(t)},h.isAfter=function(e,t){return x(e)<this.startOf(t)},h.isBefore=function(e,t){return this.endOf(t)<x(e)},h.$g=function(e,t,n){return w.u(e)?this[t]:this.set(n,e)},h.unix=function(){return Math.floor(this.valueOf()/1e3)},h.valueOf=function(){return this.$d.getTime()},h.startOf=function(e,t){var n=this,c=!!w.u(t)||t,p=w.p(e),d=function(e,t){var r=w.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return c?r:r.endOf(a)},m=function(e,t){return w.w(n.toDate()[e].apply(n.toDate("s"),(c?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},v=this.$W,h=this.$M,y=this.$D,g="set"+(this.$u?"UTC":"");switch(p){case l:return c?d(1,0):d(31,11);case u:return c?d(1,h):d(0,h+1);case s:var b=this.$locale().weekStart||0,k=(v<b?v+7:v)-b;return d(c?y-k:y+(6-k),h);case a:case f:return m(g+"Hours",0);case i:return m(g+"Minutes",1);case o:return m(g+"Seconds",2);case r:return m(g+"Milliseconds",3);default:return this.clone()}},h.endOf=function(e){return this.startOf(e,!1)},h.$set=function(e,t){var s,c=w.p(e),p="set"+(this.$u?"UTC":""),d=(s={},s[a]=p+"Date",s[f]=p+"Date",s[u]=p+"Month",s[l]=p+"FullYear",s[i]=p+"Hours",s[o]=p+"Minutes",s[r]=p+"Seconds",s[n]=p+"Milliseconds",s)[c],m=c===a?this.$D+(t-this.$W):t;if(c===u||c===l){var v=this.clone().set(f,1);v.$d[d](m),v.init(),this.$d=v.set(f,Math.min(this.$D,v.daysInMonth())).$d}else d&&this.$d[d](m);return this.init(),this},h.set=function(e,t){return this.clone().$set(e,t)},h.get=function(e){return this[w.p(e)]()},h.add=function(n,c){var f,p=this;n=Number(n);var d=w.p(c),m=function(e){var t=x(p);return w.w(t.date(t.date()+Math.round(e*n)),p)};if(d===u)return this.set(u,this.$M+n);if(d===l)return this.set(l,this.$y+n);if(d===a)return m(1);if(d===s)return m(7);var v=(f={},f[o]=e,f[i]=t,f[r]=1e3,f)[d]||1,h=this.$d.getTime()+n*v;return w.w(h,this)},h.subtract=function(e,t){return this.add(-1*e,t)},h.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;var r=e||"YYYY-MM-DDTHH:mm:ssZ",o=w.z(this),i=this.$H,a=this.$m,s=this.$M,u=n.weekdays,c=n.months,l=function(e,n,o,i){return e&&(e[n]||e(t,r))||o[n].substr(0,i)},f=function(e){return w.s(i%12||12,e,"0")},d=n.meridiem||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r},v={YY:String(this.$y).slice(-2),YYYY:this.$y,M:s+1,MM:w.s(s+1,2,"0"),MMM:l(n.monthsShort,s,c,3),MMMM:l(c,s),D:this.$D,DD:w.s(this.$D,2,"0"),d:String(this.$W),dd:l(n.weekdaysMin,this.$W,u,2),ddd:l(n.weekdaysShort,this.$W,u,3),dddd:u[this.$W],H:String(i),HH:w.s(i,2,"0"),h:f(1),hh:f(2),a:d(i,a,!0),A:d(i,a,!1),m:String(a),mm:w.s(a,2,"0"),s:String(this.$s),ss:w.s(this.$s,2,"0"),SSS:w.s(this.$ms,3,"0"),Z:o};return r.replace(m,(function(e,t){return t||v[e]||o.replace(":","")}))},h.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},h.diff=function(n,f,p){var d,m=w.p(f),v=x(n),h=(v.utcOffset()-this.utcOffset())*e,y=this-v,g=w.m(this,v);return g=(d={},d[l]=g/12,d[u]=g,d[c]=g/3,d[s]=(y-h)/6048e5,d[a]=(y-h)/864e5,d[i]=y/t,d[o]=y/e,d[r]=y/1e3,d)[m]||y,p?g:w.a(g)},h.daysInMonth=function(){return this.endOf(u).$D},h.$locale=function(){return b[this.$L]},h.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=C(e,t,!0);return r&&(n.$L=r),n},h.clone=function(){return w.w(this.$d,this)},h.toDate=function(){return new Date(this.valueOf())},h.toJSON=function(){return this.isValid()?this.toISOString():null},h.toISOString=function(){return this.$d.toISOString()},h.toString=function(){return this.$d.toUTCString()},v}(),E=O.prototype;return x.prototype=E,[["$ms",n],["$s",r],["$m",o],["$H",i],["$W",a],["$M",u],["$y",l],["$D",f]].forEach((function(e){E[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),x.extend=function(e,t){return e.$i||(e(t,O,x),e.$i=!0),x},x.locale=C,x.isDayjs=k,x.unix=function(e){return x(1e3*e)},x.en=b[g],x.Ls=b,x.p={},x}()},6036:function(e){e.exports=function(){"use strict";return function(e,t,n){var r=t.prototype,o=function(e){return e&&(e.indexOf?e:e.s)},i=function(e,t,n,r,i){var a=e.name?e:e.$locale(),s=o(a[t]),u=o(a[n]),c=s||u.map((function(e){return e.substr(0,r)}));if(!i)return c;var l=a.weekStart;return c.map((function(e,t){return c[(t+(l||0))%7]}))},a=function(){return n.Ls[n.locale()]},s=function(e,t){return e.formats[t]||function(e){return e.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}(e.formats[t.toUpperCase()])},u=function(){var e=this;return{months:function(t){return t?t.format("MMMM"):i(e,"months")},monthsShort:function(t){return t?t.format("MMM"):i(e,"monthsShort","months",3)},firstDayOfWeek:function(){return e.$locale().weekStart||0},weekdays:function(t){return t?t.format("dddd"):i(e,"weekdays")},weekdaysMin:function(t){return t?t.format("dd"):i(e,"weekdaysMin","weekdays",2)},weekdaysShort:function(t){return t?t.format("ddd"):i(e,"weekdaysShort","weekdays",3)},longDateFormat:function(t){return s(e.$locale(),t)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return u.bind(this)()},n.localeData=function(){var e=a();return{firstDayOfWeek:function(){return e.weekStart||0},weekdays:function(){return n.weekdays()},weekdaysShort:function(){return n.weekdaysShort()},weekdaysMin:function(){return n.weekdaysMin()},months:function(){return n.months()},monthsShort:function(){return n.monthsShort()},longDateFormat:function(t){return s(e,t)},meridiem:e.meridiem,ordinal:e.ordinal}},n.months=function(){return i(a(),"months")},n.monthsShort=function(){return i(a(),"monthsShort","months",3)},n.weekdays=function(e){return i(a(),"weekdays",null,null,e)},n.weekdaysShort=function(e){return i(a(),"weekdaysShort","weekdays",3,e)},n.weekdaysMin=function(e){return i(a(),"weekdaysMin","weekdays",2,e)}}}()},178:function(e){e.exports=function(){"use strict";var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(r,o,i){var a=o.prototype;i.utc=function(e){return new o({date:e,utc:!0,args:arguments})},a.utc=function(t){var n=i(this.toDate(),{locale:this.$L,utc:!0});return t?n.add(this.utcOffset(),e):n},a.local=function(){return i(this.toDate(),{locale:this.$L,utc:!1})};var s=a.parse;a.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),s.call(this,e)};var u=a.init;a.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else u.call(this)};var c=a.utcOffset;a.utcOffset=function(r,o){var i=this.$utils().u;if(i(r))return this.$u?0:i(this.$offset)?c.call(this):this.$offset;if("string"==typeof r&&null===(r=function(e){void 0===e&&(e="");var r=e.match(t);if(!r)return null;var o=(""+r[0]).match(n)||["-",0,0],i=o[0],a=60*+o[1]+ +o[2];return 0===a?0:"+"===i?a:-a}(r)))return this;var a=Math.abs(r)<=16?60*r:r,s=this;if(o)return s.$offset=a,s.$u=0===r,s;if(0!==r){var u=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(s=this.local().add(a+u,e)).$offset=a,s.$x.$localOffset=u}else s=this.utc();return s};var l=a.format;a.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return l.call(this,t)},a.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||(new Date).getTimezoneOffset());return this.$d.valueOf()-6e4*e},a.isUTC=function(){return!!this.$u},a.toISOString=function(){return this.toDate().toISOString()},a.toString=function(){return this.toDate().toUTCString()};var f=a.toDate;a.toDate=function(e){return"s"===e&&this.$offset?i(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():f.call(this)};var p=a.diff;a.diff=function(e,t,n){if(e&&this.$u===e.$u)return p.call(this,e,t,n);var r=this.local(),o=i(e).local();return p.call(r,o,t,n)}}}()},6833:function(e){e.exports=function(){"use strict";return function(e,t){t.prototype.weekday=function(e){var t=this.$locale().weekStart||0,n=this.$W,r=(n<t?n+7:n)-t;return this.$utils().u(e)?r:this.subtract(r,"day").add(e,"day")}}}()},2703:(e,t,n)=>{"use strict";var r=n(414);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},5697:(e,t,n)=>{e.exports=n(2703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},8156:t=>{"use strict";t.exports=e},7111:e=>{"use strict";e.exports=t},6128:e=>{"use strict";e.exports=n}},o={};function i(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={exports:{}};return r[e].call(n.exports,n,n.exports,i),n.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.p="";var a={};return(()=>{"use strict";i.r(a),i.d(a,{AppSwitcher:()=>gd,Container:()=>Hf,Header:()=>Nf,MenuBar:()=>Xd,Scrollable:()=>Ff,Sidebar:()=>Il,SubHeader:()=>zf});var e=i(8156),t=i.n(e),n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},n(e,t)};function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},o.apply(this,arguments)};function s(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function u(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function c(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create,Object.create;var l=function(e){return{isEnabled:function(t){return e.some((function(e){return!!t[e]}))}}},f={measureLayout:l(["layout","layoutId","drag","_layoutResetTransform"]),animation:l(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag"]),exit:l(["exit"]),drag:l(["drag","dragControls"]),focus:l(["whileFocus"]),hover:l(["whileHover","onHoverStart","onHoverEnd"]),tap:l(["whileTap","onTap","onTapStart","onTapCancel"]),pan:l(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),layoutAnimation:l(["layout","layoutId"])},p=(0,e.createContext)({strict:!1}),d=Object.keys(f),m=d.length,v=(0,e.createContext)({transformPagePoint:function(e){return e},isStatic:!1}),h=(0,e.createContext)({}),y=(0,e.createContext)(null);function g(t){var n=(0,e.useRef)(null);return null===n.current&&(n.current=t()),n.current}function b(){var t=(0,e.useContext)(y);if(null===t)return[!0,null];var n=t.isPresent,r=t.onExitComplete,o=t.register,i=x();return(0,e.useEffect)((function(){return o(i)}),[]),!n&&r?[!1,function(){return null==r?void 0:r(i)}]:[!0]}var k=0,C=function(){return k++},x=function(){return g(C)},w=(0,e.createContext)(null),O="undefined"!=typeof window,E=O?e.useLayoutEffect:e.useEffect;function S(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function P(e){return Array.isArray(e)}function T(e){return"string"==typeof e||P(e)}function j(e,t,n,r,o){var i;return void 0===r&&(r={}),void 0===o&&(o={}),"string"==typeof t&&(t=null===(i=e.variants)||void 0===i?void 0:i[t]),"function"==typeof t?t(null!=n?n:e.custom,r,o):t}function L(e,t,n){var r=e.getProps();return j(r,t,null!=n?n:r.custom,function(e){var t={};return e.forEachValue((function(e,n){return t[n]=e.get()})),t}(e),function(e){var t={};return e.forEachValue((function(e,n){return t[n]=e.getVelocity()})),t}(e))}function A(e){var t;return"function"==typeof(null===(t=e.animate)||void 0===t?void 0:t.start)||T(e.initial)||T(e.animate)||T(e.whileHover)||T(e.whileDrag)||T(e.whileTap)||T(e.whileFocus)||T(e.exit)}function M(e){return Boolean(A(e)||e.variants)}function _(e){return Array.isArray(e)?e.join(" "):e}function D(t){var n=t.preloadedFeatures,r=t.createVisualElement,i=t.useRender,a=t.useVisualState,s=t.Component;return n&&function(e){for(var t in e){var n=e[t];null!==n&&(f[t].Component=n)}}(n),(0,e.forwardRef)((function(t,n){var u=(0,e.useContext)(v).isStatic,c=null,l=function(t,n){var r=function(e,t){if(A(e)){var n=e.initial,r=e.animate;return{initial:!1===n||T(n)?n:void 0,animate:T(r)?r:void 0}}return!1!==e.inherit?t:{}}(t,(0,e.useContext)(h)),o=r.initial,i=r.animate;return(0,e.useMemo)((function(){return{initial:o,animate:i}}),n?[_(o),_(i)]:[])}(t,u),g=a(t,u);return!u&&O&&(l.visualElement=function(t,n,r,i){var a=(0,e.useContext)(v),s=(0,e.useContext)(p),u=(0,e.useContext)(h).visualElement,c=(0,e.useContext)(y),l=function(t){var n=t.layoutId,r=(0,e.useContext)(w);return r&&void 0!==n?r+"-"+n:n}(r),f=(0,e.useRef)(void 0);i||(i=s.renderer),!f.current&&i&&(f.current=i(t,{visualState:n,parent:u,props:o(o({},r),{layoutId:l}),presenceId:null==c?void 0:c.id,blockInitialAnimation:!1===(null==c?void 0:c.initial)}));var d=f.current;return E((function(){var e;d&&(d.setProps(o(o(o({},a),r),{layoutId:l})),d.isPresent=null===(e=c)||e.isPresent,d.isPresenceRoot=!u||u.presenceId!==(null==c?void 0:c.id),d.syncRender())})),(0,e.useEffect)((function(){var e;d&&(null===(e=d.animationState)||void 0===e||e.animateChanges())})),E((function(){return function(){return null==d?void 0:d.notifyUnmount()}}),[]),d}(s,g,t,r),c=function(t,n,r){var i=[];if((0,e.useContext)(p),!n)return null;for(var a=0;a<m;a++){var s=d[a],u=f[s],c=u.isEnabled,l=u.Component;c(t)&&l&&i.push(e.createElement(l,o({key:s},t,{visualElement:n})))}return i}(t,l.visualElement)),e.createElement(e.Fragment,null,e.createElement(h.Provider,{value:l},i(s,t,function(t,n,r){return(0,e.useCallback)((function(e){var o;e&&(null===(o=t.mount)||void 0===o||o.call(t,e)),n&&(e?n.mount(e):n.unmount()),r&&("function"==typeof r?r(e):S(r)&&(r.current=e))}),[n])}(g,l.visualElement,n),g,u)),c)}))}function V(e){function t(t,n){return void 0===n&&(n={}),D(e(t,n))}var n=new Map;return new Proxy(t,{get:function(e,r){return n.has(r)||n.set(r,t(r)),n.get(r)}})}var W=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function N(e){return"string"==typeof e&&!e.includes("-")&&!!(W.indexOf(e)>-1||/[A-Z]/.test(e))}var R={},z=["","X","Y","Z"],$=["transformPerspective","x","y","z"];function H(e,t){return $.indexOf(e)-$.indexOf(t)}["translate","scale","rotate","skew"].forEach((function(e){return z.forEach((function(t){return $.push(e+t)}))}));var I=new Set($);function B(e){return I.has(e)}var F=new Set(["originX","originY","originZ"]);function U(e){return F.has(e)}function q(e,t){var n=t.layout,r=t.layoutId;return B(e)||U(e)||(n||void 0!==r)&&(!!R[e]||"opacity"===e)}var Y=function(e){return null!==e&&"object"==typeof e&&e.getVelocity},Z={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function X(e){return e.startsWith("--")}var K=function(e,t){return t&&"number"==typeof e?t.transform(e):e},G=function(e,t){return function(n){return Math.max(Math.min(n,t),e)}},J=function(e){return e%1?Number(e.toFixed(5)):e},Q=/(-)?([\d]*\.?[\d])+/g,ee=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,te=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function ne(e){return"string"==typeof e}var re=function(e){return{test:function(t){return ne(t)&&t.endsWith(e)&&1===t.split(" ").length},parse:parseFloat,transform:function(t){return""+t+e}}},oe=re("deg"),ie=re("%"),ae=re("px"),se=re("vh"),ue=re("vw"),ce=o(o({},ie),{parse:function(e){return ie.parse(e)/100},transform:function(e){return ie.transform(100*e)}}),le={test:function(e){return"number"==typeof e},parse:parseFloat,transform:function(e){return e}},fe=o(o({},le),{transform:G(0,1)}),pe=o(o({},le),{default:1}),de=o(o({},le),{transform:Math.round}),me={borderWidth:ae,borderTopWidth:ae,borderRightWidth:ae,borderBottomWidth:ae,borderLeftWidth:ae,borderRadius:ae,radius:ae,borderTopLeftRadius:ae,borderTopRightRadius:ae,borderBottomRightRadius:ae,borderBottomLeftRadius:ae,width:ae,maxWidth:ae,height:ae,maxHeight:ae,size:ae,top:ae,right:ae,bottom:ae,left:ae,padding:ae,paddingTop:ae,paddingRight:ae,paddingBottom:ae,paddingLeft:ae,margin:ae,marginTop:ae,marginRight:ae,marginBottom:ae,marginLeft:ae,rotate:oe,rotateX:oe,rotateY:oe,rotateZ:oe,scale:pe,scaleX:pe,scaleY:pe,scaleZ:pe,skew:oe,skewX:oe,skewY:oe,distance:ae,translateX:ae,translateY:ae,translateZ:ae,x:ae,y:ae,z:ae,perspective:ae,transformPerspective:ae,opacity:fe,originX:ce,originY:ce,originZ:ae,zIndex:de,fillOpacity:fe,strokeOpacity:fe,numOctaves:de};function ve(e,t,n,r,o,i,a,s){var u,c=e.style,l=e.vars,f=e.transform,p=e.transformKeys,d=e.transformOrigin;p.length=0;var m=!1,v=!1,h=!0;for(var y in t){var g=t[y];if(X(y))l[y]=g;else{var b=me[y],k=K(g,b);if(B(y)){if(m=!0,f[y]=k,p.push(y),!h)continue;g!==(null!==(u=b.default)&&void 0!==u?u:0)&&(h=!1)}else if(U(y))d[y]=k,v=!0;else if((null==n?void 0:n.isHydrated)&&(null==r?void 0:r.isHydrated)&&R[y]){var C=R[y].process(g,r,n),x=R[y].applyTo;if(x)for(var w=x.length,O=0;O<w;O++)c[x[O]]=C;else c[y]=C}else c[y]=k}}r&&n&&a&&s?(c.transform=a(r.deltaFinal,r.treeScale,m?f:void 0),i&&(c.transform=i(f,c.transform)),c.transformOrigin=s(r)):(m&&(c.transform=function(e,t,n,r){var o=e.transform,i=e.transformKeys,a=t.enableHardwareAcceleration,s=void 0===a||a,u=t.allowTransformNone,c=void 0===u||u,l="";i.sort(H);for(var f=!1,p=i.length,d=0;d<p;d++){var m=i[d];l+=(Z[m]||m)+"("+o[m]+") ","z"===m&&(f=!0)}return!f&&s?l+="translateZ(0)":l=l.trim(),r?l=r(o,n?"":l):c&&n&&(l="none"),l}(e,o,h,i)),v&&(c.transformOrigin=function(e){var t=e.originX,n=void 0===t?"50%":t,r=e.originY,o=void 0===r?"50%":r,i=e.originZ;return n+" "+o+" "+(void 0===i?0:i)}(d)))}function he(e,t,n){for(var r in t)Y(t[r])||q(r,n)||(e[r]=t[r])}function ye(t,n,r){var i={},a=function(t,n,r){var i={};return he(i,t.style||{},t),Object.assign(i,function(t,n,r){var i=t.transformTemplate;return(0,e.useMemo)((function(){var e={style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}};ve(e,n,void 0,void 0,{enableHardwareAcceleration:!r},i);var t=e.style;return o(o({},e.vars),t)}),[n])}(t,n,r)),t.transformValues&&(i=t.transformValues(i)),i}(t,n,r);return Boolean(t.drag)&&(i.draggable=!1,a.userSelect=a.WebkitUserSelect=a.WebkitTouchCallout="none",a.touchAction=!0===t.drag?"none":"pan-"+("x"===t.drag?"y":"x")),i.style=a,i}var ge=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","_layoutResetTransform","onLayoutAnimationComplete","onViewportBoxUpdate","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover"]);function be(e){return ge.has(e)}var ke=function(e){return!be(e)};try{var Ce=i(8594).Z;ke=function(e){return e.startsWith("on")?!be(e):Ce(e)}}catch(e){}function xe(e,t,n){return"string"==typeof e?e:ae.transform(t+n*e)}var we=function(e,t){return ae.transform(e*t)},Oe={offset:"stroke-dashoffset",array:"stroke-dasharray"},Ee={offset:"strokeDashoffset",array:"strokeDasharray"};function Se(e,t,n,r,o,i,a,u){var c=t.attrX,l=t.attrY,f=t.originX,p=t.originY,d=t.pathLength,m=t.pathSpacing,v=void 0===m?1:m,h=t.pathOffset,y=void 0===h?0:h;ve(e,s(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),n,r,o,i,a,u),e.attrs=e.style,e.style={};var g=e.attrs,b=e.style,k=e.dimensions,C=e.totalPathLength;g.transform&&(k&&(b.transform=g.transform),delete g.transform),k&&(void 0!==f||void 0!==p||b.transform)&&(b.transformOrigin=function(e,t,n){return xe(t,e.x,e.width)+" "+xe(n,e.y,e.height)}(k,void 0!==f?f:.5,void 0!==p?p:.5)),void 0!==c&&(g.x=c),void 0!==l&&(g.y=l),void 0!==C&&void 0!==d&&function(e,t,n,r,o,i){void 0===r&&(r=1),void 0===o&&(o=0),void 0===i&&(i=!0);var a=i?Oe:Ee;e[a.offset]=we(-o,t);var s=we(n,t),u=we(r,t);e[a.array]=s+" "+u}(g,C,d,v,y,!1)}var Pe=function(){return o(o({},{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}),{attrs:{}})};function Te(t,n){var r=(0,e.useMemo)((function(){var e=Pe();return Se(e,n,void 0,void 0,{enableHardwareAcceleration:!1},t.transformTemplate),o(o({},e.attrs),{style:o({},e.style)})}),[n]);if(t.style){var i={};he(i,t.style,t),r.style=o(o({},i),r.style)}return r}function je(t){return void 0===t&&(t=!1),function(n,r,i,a,s){var u=a.latestValues,c=(N(n)?Te:ye)(r,u,s),l=function(e,t,n){var r={};for(var o in e)(ke(o)||!0===n&&be(o)||!t&&!be(o))&&(r[o]=e[o]);return r}(r,"string"==typeof n,t),f=o(o(o({},l),c),{ref:i});return(0,e.createElement)(n,f)}}var Le=/([a-z])([A-Z])/g,Ae=function(e){return e.replace(Le,"$1-$2").toLowerCase()};function Me(e,t){var n=t.style,r=t.vars;for(var o in Object.assign(e.style,n),r)e.style.setProperty(o,r[o])}var _e=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform"]);function De(e,t){for(var n in Me(e,t),t.attrs)e.setAttribute(_e.has(n)?n:Ae(n),t.attrs[n])}function Ve(e){var t=e.style,n={};for(var r in t)(Y(t[r])||q(r,e))&&(n[r]=t[r]);return n}function We(e){var t=Ve(e);for(var n in e)Y(e[n])&&(t["x"===n||"y"===n?"attr"+n.toUpperCase():n]=e[n]);return t}function Ne(e){return"object"==typeof e&&"function"==typeof e.start}var Re=function(e){return Array.isArray(e)},ze=function(e){return Re(e)?e[e.length-1]||0:e};function $e(e,t,n,r){var o=e.scrapeMotionValuesFromProps,i=e.createRenderState,a=e.onMount,s={latestValues:Ie(t,n,r,o),renderState:i()};return a&&(s.mount=function(e){return a(t,e,s)}),s}var He=function(t){return function(n,r){var o=(0,e.useContext)(h),i=(0,e.useContext)(y);return r?$e(t,n,o,i):g((function(){return $e(t,n,o,i)}))}};function Ie(e,t,n,r){var o,i,a={},u=!1===(null==n?void 0:n.initial),c=r(e);for(var l in c)a[l]=(o=c[l],i=void 0,function(e){return Boolean(e&&"object"==typeof e&&e.mix&&e.toValue)}(i=Y(o)?o.get():o)?i.toValue():i);var f=e.initial,p=e.animate,d=A(e),m=M(e);t&&m&&!d&&!1!==e.inherit&&(null!=f||(f=t.initial),null!=p||(p=t.animate));var v=u||!1===f?p:f;return v&&"boolean"!=typeof v&&!Ne(v)&&(Array.isArray(v)?v:[v]).forEach((function(t){var n=j(e,t);if(n){var r=n.transitionEnd;n.transition;var o=s(n,["transitionEnd","transition"]);for(var i in o)a[i]=o[i];for(var i in r)a[i]=r[i]}})),a}var Be,Fe={useVisualState:He({scrapeMotionValuesFromProps:We,createRenderState:Pe,onMount:function(e,t,n){var r=n.renderState,o=n.latestValues;try{r.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){r.dimensions={x:0,y:0,width:0,height:0}}"path"===t.tagName&&(r.totalPathLength=t.getTotalLength()),Se(r,o,void 0,void 0,{enableHardwareAcceleration:!1},e.transformTemplate),De(t,r)}})},Ue={useVisualState:He({scrapeMotionValuesFromProps:Ve,createRenderState:function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}}})};function qe(e,t,n,r){return e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n,r)}}function Ye(t,n,r,o){(0,e.useEffect)((function(){var e=t.current;if(r&&e)return qe(e,n,r,o)}),[t,n,r,o])}function Ze(e){return"undefined"!=typeof PointerEvent&&e instanceof PointerEvent?!("mouse"!==e.pointerType):e instanceof MouseEvent}function Xe(e){return!!e.touches}!function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.Exit="exit"}(Be||(Be={}));var Ke={pageX:0,pageY:0};function Ge(e,t){void 0===t&&(t="page");var n=e.touches[0]||e.changedTouches[0]||Ke;return{x:n[t+"X"],y:n[t+"Y"]}}function Je(e,t){return void 0===t&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function Qe(e,t){return void 0===t&&(t="page"),{point:Xe(e)?Ge(e,t):Je(e,t)}}var et=function(e,t){void 0===t&&(t=!1);var n=function(t){return e(t,Qe(t))};return t?function(e){return function(t){var n=t instanceof MouseEvent;(!n||n&&0===t.button)&&e(t)}}(n):n},tt={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},nt={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function rt(e){return O&&null===window.onpointerdown?e:O&&null===window.ontouchstart?nt[e]:O&&null===window.onmousedown?tt[e]:e}function ot(e,t,n,r){return qe(e,rt(t),et(n,"pointerdown"===t),r)}function it(e,t,n,r){return Ye(e,rt(t),n&&et(n,"pointerdown"===t),r)}function at(e){var t=null;return function(){return null===t&&(t=e,function(){t=null})}}var st=at("dragHorizontal"),ut=at("dragVertical");function ct(e){var t=!1;if("y"===e)t=ut();else if("x"===e)t=st();else{var n=st(),r=ut();n&&r?t=function(){n(),r()}:(n&&n(),r&&r())}return t}function lt(){var e=ct(!0);return!e||(e(),!1)}function ft(e,t,n){return function(r,o){var i;Ze(r)&&!lt()&&(null==n||n(r,o),null===(i=e.animationState)||void 0===i||i.setActive(Be.Hover,t))}}var pt=function(e,t){return!!t&&(e===t||pt(e,t.parentElement))};function dt(t){return(0,e.useEffect)((function(){return function(){return t()}}),[])}var mt=function(e,t){return function(n){return t(e(n))}},vt=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.reduce(mt)},ht=function(e){return function(t){return e(t),null}},yt={tap:ht((function(t){var n=t.onTap,r=t.onTapStart,o=t.onTapCancel,i=t.whileTap,a=t.visualElement,s=n||r||o||i,u=(0,e.useRef)(!1),c=(0,e.useRef)(null);function l(){var e;null===(e=c.current)||void 0===e||e.call(c),c.current=null}function f(){var e;return l(),u.current=!1,null===(e=a.animationState)||void 0===e||e.setActive(Be.Tap,!1),!lt()}function p(e,t){f()&&(pt(a.getInstance(),e.target)?null==n||n(e,t):null==o||o(e,t))}function d(e,t){f()&&(null==o||o(e,t))}it(a,"pointerdown",s?function(e,t){var n;l(),u.current||(u.current=!0,c.current=vt(ot(window,"pointerup",p),ot(window,"pointercancel",d)),null==r||r(e,t),null===(n=a.animationState)||void 0===n||n.setActive(Be.Tap,!0))}:void 0),dt(l)})),focus:ht((function(e){var t=e.whileFocus,n=e.visualElement;Ye(n,"focus",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(Be.Focus,!0)}:void 0),Ye(n,"blur",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(Be.Focus,!1)}:void 0)})),hover:ht((function(e){var t=e.onHoverStart,n=e.onHoverEnd,r=e.whileHover,o=e.visualElement;it(o,"pointerenter",t||r?ft(o,!0,t):void 0),it(o,"pointerleave",n||r?ft(o,!1,n):void 0)}))};function gt(e,t){if(!Array.isArray(t))return!1;var n=t.length;if(n!==e.length)return!1;for(var r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var bt=function(e,t,n){return Math.min(Math.max(n,e),t)};function kt(e,t){return e*Math.sqrt(1-t*t)}var Ct=["duration","bounce"],xt=["stiffness","damping","mass"];function wt(e,t){return t.some((function(t){return void 0!==e[t]}))}function Ot(e){var t=e.from,n=void 0===t?0:t,r=e.to,i=void 0===r?1:r,a=e.restSpeed,u=void 0===a?2:a,c=e.restDelta,l=s(e,["from","to","restSpeed","restDelta"]),f={done:!1,value:n},p=function(e){var t=o({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!wt(e,xt)&&wt(e,Ct)){var n=function(e){var t,n,r=e.duration,o=void 0===r?800:r,i=e.bounce,a=void 0===i?.25:i,s=e.velocity,u=void 0===s?0:s,c=e.mass,l=void 0===c?1:c,f=1-a;f=bt(.05,1,f),o=bt(.01,10,o/1e3),f<1?(t=function(e){var t=e*f,n=t*o;return.001-(t-u)/kt(e,f)*Math.exp(-n)},n=function(e){var n=e*f*o,r=n*u+u,i=Math.pow(f,2)*Math.pow(e,2)*o,a=Math.exp(-n),s=kt(Math.pow(e,2),f);return(.001-t(e)>0?-1:1)*((r-i)*a)/s}):(t=function(e){return Math.exp(-e*o)*((e-u)*o+1)-.001},n=function(e){return Math.exp(-e*o)*(o*o*(u-e))});var p=function(e,t,n){for(var r=n,o=1;o<12;o++)r-=e(r)/t(r);return r}(t,n,5/o);if(o*=1e3,isNaN(p))return{stiffness:100,damping:10,duration:o};var d=Math.pow(p,2)*l;return{stiffness:d,damping:2*f*Math.sqrt(l*d),duration:o}}(e);(t=o(o(o({},t),n),{velocity:0,mass:1})).isResolvedFromDuration=!0}return t}(l),d=p.stiffness,m=p.damping,v=p.mass,h=p.velocity,y=p.duration,g=p.isResolvedFromDuration,b=Et,k=Et;function C(){var e=h?-h/1e3:0,t=i-n,r=m/(2*Math.sqrt(d*v)),o=Math.sqrt(d/v)/1e3;if(null!=c||(c=Math.abs(i-n)<=1?.01:.4),r<1){var a=kt(o,r);b=function(n){var s=Math.exp(-r*o*n);return i-s*((e+r*o*t)/a*Math.sin(a*n)+t*Math.cos(a*n))},k=function(n){var i=Math.exp(-r*o*n);return r*o*i*(Math.sin(a*n)*(e+r*o*t)/a+t*Math.cos(a*n))-i*(Math.cos(a*n)*(e+r*o*t)-a*t*Math.sin(a*n))}}else if(1===r)b=function(n){return i-Math.exp(-o*n)*(t+(e+o*t)*n)};else{var s=o*Math.sqrt(r*r-1);b=function(n){var a=Math.exp(-r*o*n),u=Math.min(s*n,300);return i-a*((e+r*o*t)*Math.sinh(u)+s*t*Math.cosh(u))/s}}}return C(),{next:function(e){var t=b(e);if(g)f.done=e>=y;else{var n=1e3*k(e),r=Math.abs(n)<=u,o=Math.abs(i-t)<=c;f.done=r&&o}return f.value=f.done?i:t,f},flipTarget:function(){var e;h=-h,n=(e=[i,n])[0],i=e[1],C()}}}Ot.needsInterpolation=function(e,t){return"string"==typeof e||"string"==typeof t};var Et=function(e){return 0},St=function(e,t,n){var r=t-e;return 0===r?1:(n-e)/r},Pt=function(e,t,n){return-n*e+n*t+e},Tt=function(e,t){return function(n){return Boolean(ne(n)&&te.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t))}},jt=function(e,t,n){return function(r){var o;if(!ne(r))return r;var i=r.match(Q),a=i[0],s=i[1],u=i[2],c=i[3];return(o={})[e]=parseFloat(a),o[t]=parseFloat(s),o[n]=parseFloat(u),o.alpha=void 0!==c?parseFloat(c):1,o}},Lt=G(0,255),At=o(o({},le),{transform:function(e){return Math.round(Lt(e))}}),Mt={test:Tt("rgb","red"),parse:jt("red","green","blue"),transform:function(e){var t=e.red,n=e.green,r=e.blue,o=e.alpha,i=void 0===o?1:o;return"rgba("+At.transform(t)+", "+At.transform(n)+", "+At.transform(r)+", "+J(fe.transform(i))+")"}},_t={test:Tt("#"),parse:function(e){var t="",n="",r="",o="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),o=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),o=e.substr(4,1),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:Mt.transform},Dt={test:Tt("hsl","hue"),parse:jt("hue","saturation","lightness"),transform:function(e){var t=e.hue,n=e.saturation,r=e.lightness,o=e.alpha,i=void 0===o?1:o;return"hsla("+Math.round(t)+", "+ie.transform(J(n))+", "+ie.transform(J(r))+", "+J(fe.transform(i))+")"}},Vt=function(e,t,n){var r=e*e,o=t*t;return Math.sqrt(Math.max(0,n*(o-r)+r))},Wt=[_t,Mt,Dt],Nt=function(e){return Wt.find((function(t){return t.test(e)}))},Rt=function(e){return"'"+e+"' is not an animatable color. Use the equivalent color code instead."},zt=function(e,t){var n=Nt(e),r=Nt(t);Rt(e),Rt(t),n.transform,r.transform;var i=n.parse(e),a=r.parse(t),s=o({},i),u=n===Dt?Pt:Vt;return function(e){for(var t in s)"alpha"!==t&&(s[t]=u(i[t],a[t],e));return s.alpha=Pt(i.alpha,a.alpha,e),n.transform(s)}},$t={test:function(e){return Mt.test(e)||_t.test(e)||Dt.test(e)},parse:function(e){return Mt.test(e)?Mt.parse(e):Dt.test(e)?Dt.parse(e):_t.parse(e)},transform:function(e){return ne(e)?e:e.hasOwnProperty("red")?Mt.transform(e):Dt.transform(e)}},Ht="${c}",It="${n}";function Bt(e){var t=[],n=0,r=e.match(ee);r&&(n=r.length,e=e.replace(ee,Ht),t.push.apply(t,r.map($t.parse)));var o=e.match(Q);return o&&(e=e.replace(Q,It),t.push.apply(t,o.map(le.parse))),{values:t,numColors:n,tokenised:e}}function Ft(e){return Bt(e).values}function Ut(e){var t=Bt(e),n=t.values,r=t.numColors,o=t.tokenised,i=n.length;return function(e){for(var t=o,n=0;n<i;n++)t=t.replace(n<r?Ht:It,n<r?$t.transform(e[n]):J(e[n]));return t}}var qt=function(e){return"number"==typeof e?0:e},Yt={test:function(e){var t,n,r,o;return isNaN(e)&&ne(e)&&(null!==(n=null===(t=e.match(Q))||void 0===t?void 0:t.length)&&void 0!==n?n:0)+(null!==(o=null===(r=e.match(ee))||void 0===r?void 0:r.length)&&void 0!==o?o:0)>0},parse:Ft,createTransformer:Ut,getAnimatableNone:function(e){var t=Ft(e);return Ut(e)(t.map(qt))}},Zt=function(e){return"number"==typeof e};function Xt(e,t){return Zt(e)?function(n){return Pt(e,t,n)}:$t.test(e)?zt(e,t):Qt(e,t)}var Kt=function(e,t){var n=c([],e),r=n.length,o=e.map((function(e,n){return Xt(e,t[n])}));return function(e){for(var t=0;t<r;t++)n[t]=o[t](e);return n}},Gt=function(e,t){var n=o(o({},e),t),r={};for(var i in n)void 0!==e[i]&&void 0!==t[i]&&(r[i]=Xt(e[i],t[i]));return function(e){for(var t in r)n[t]=r[t](e);return n}};function Jt(e){for(var t=Yt.parse(e),n=t.length,r=0,o=0,i=0,a=0;a<n;a++)r||"number"==typeof t[a]?r++:void 0!==t[a].hue?i++:o++;return{parsed:t,numNumbers:r,numRGB:o,numHSL:i}}var Qt=function(e,t){var n=Yt.createTransformer(t),r=Jt(e),o=Jt(t);return r.numHSL===o.numHSL&&r.numRGB===o.numRGB&&(r.numNumbers,o.numNumbers),vt(Kt(r.parsed,o.parsed),n)},en=function(e,t){return function(n){return Pt(e,t,n)}};function tn(e,t,n){var r=void 0===n?{}:n,o=r.clamp,i=void 0===o||o,a=r.ease,s=r.mixer,u=e.length;t.length,!a||!Array.isArray(a)||a.length,e[0]>e[u-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());var c=function(e,t,n){for(var r=[],o=n||function(e){return"number"==typeof e?en:"string"==typeof e?$t.test(e)?zt:Qt:Array.isArray(e)?Kt:"object"==typeof e?Gt:void 0}(e[0]),i=e.length-1,a=0;a<i;a++){var s=o(e[a],e[a+1]);if(t){var u=Array.isArray(t)?t[a]:t;s=vt(u,s)}r.push(s)}return r}(t,a,s),l=2===u?function(e,t){var n=e[0],r=e[1],o=t[0];return function(e){return o(St(n,r,e))}}(e,c):function(e,t){var n=e.length,r=n-1;return function(o){var i=0,a=!1;if(o<=e[0]?a=!0:o>=e[r]&&(i=r-1,a=!0),!a){for(var s=1;s<n&&!(e[s]>o||s===r);s++);i=s-1}var u=St(e[i],e[i+1],o);return t[i](u)}}(e,c);return i?function(t){return l(bt(e[0],e[u-1],t))}:l}var nn,rn=function(e){return function(t){return 1-e(1-t)}},on=function(e){return function(t){return t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2}},an=function(e){return function(t){return t*t*((e+1)*t-e)}},sn=function(e){return e},un=(2,function(e){return Math.pow(e,2)}),cn=rn(un),ln=on(un),fn=function(e){return 1-Math.sin(Math.acos(e))},pn=rn(fn),dn=on(pn),mn=an(1.525),vn=rn(mn),hn=on(mn),yn=(nn=an(1.525),function(e){return(e*=2)<1?.5*nn(e):.5*(2-Math.pow(2,-10*(e-1)))}),gn=function(e){if(1===e||0===e)return e;var t=e*e;return e<.36363636363636365?7.5625*t:e<.7272727272727273?9.075*t-9.9*e+3.4:e<.9?12.066481994459833*t-19.63545706371191*e+8.898060941828255:10.8*e*e-20.52*e+10.72},bn=rn(gn);function kn(e,t){return e.map((function(){return t||ln})).splice(0,e.length-1)}function Cn(e){var t=e.from,n=void 0===t?0:t,r=e.to,o=void 0===r?1:r,i=e.ease,a=e.offset,s=e.duration,u=void 0===s?300:s,c={done:!1,value:n},l=Array.isArray(o)?o:[n,o],f=function(e,t){return e.map((function(e){return e*t}))}(a&&a.length===l.length?a:function(e){var t=e.length;return e.map((function(e,n){return 0!==n?n/(t-1):0}))}(l),u);function p(){return tn(f,l,{ease:Array.isArray(i)?i:kn(l,i)})}var d=p();return{next:function(e){return c.value=d(e),c.done=e>=u,c},flipTarget:function(){l.reverse(),d=p()}}}var xn={keyframes:Cn,spring:Ot,decay:function(e){var t=e.velocity,n=void 0===t?0:t,r=e.from,o=void 0===r?0:r,i=e.power,a=void 0===i?.8:i,s=e.timeConstant,u=void 0===s?350:s,c=e.restDelta,l=void 0===c?.5:c,f=e.modifyTarget,p={done:!1,value:o},d=a*n,m=o+d,v=void 0===f?m:f(m);return v!==m&&(d=v-o),{next:function(e){var t=-d*Math.exp(-e/u);return p.done=!(t>l||t<-l),p.value=p.done?v:v+t,p},flipTarget:function(){}}}},wn=1/60*1e3,On="undefined"!=typeof performance?function(){return performance.now()}:function(){return Date.now()},En="undefined"!=typeof window?function(e){return window.requestAnimationFrame(e)}:function(e){return setTimeout((function(){return e(On())}),wn)},Sn=!0,Pn=!1,Tn=!1,jn={delta:0,timestamp:0},Ln=["read","update","preRender","render","postRender"],An=Ln.reduce((function(e,t){return e[t]=function(e){var t=[],n=[],r=0,o=!1,i=new WeakSet,a={schedule:function(e,a,s){void 0===a&&(a=!1),void 0===s&&(s=!1);var u=s&&o,c=u?t:n;return a&&i.add(e),-1===c.indexOf(e)&&(c.push(e),u&&o&&(r=t.length)),e},cancel:function(e){var t=n.indexOf(e);-1!==t&&n.splice(t,1),i.delete(e)},process:function(s){var u;if(o=!0,t=(u=[n,t])[0],(n=u[1]).length=0,r=t.length)for(var c=0;c<r;c++){var l=t[c];l(s),i.has(l)&&(a.schedule(l),e())}o=!1}};return a}((function(){return Pn=!0})),e}),{}),Mn=Ln.reduce((function(e,t){var n=An[t];return e[t]=function(e,t,r){return void 0===t&&(t=!1),void 0===r&&(r=!1),Pn||Nn(),n.schedule(e,t,r)},e}),{}),_n=Ln.reduce((function(e,t){return e[t]=An[t].cancel,e}),{}),Dn=Ln.reduce((function(e,t){return e[t]=function(){return An[t].process(jn)},e}),{}),Vn=function(e){return An[e].process(jn)},Wn=function(e){Pn=!1,jn.delta=Sn?wn:Math.max(Math.min(e-jn.timestamp,40),1),jn.timestamp=e,Tn=!0,Ln.forEach(Vn),Tn=!1,Pn&&(Sn=!1,En(Wn))},Nn=function(){Pn=!0,Sn=!0,Tn||En(Wn)},Rn=function(){return jn};const zn=Mn;function $n(e,t,n){return void 0===n&&(n=0),e-t-n}var Hn=function(e){var t=function(t){var n=t.delta;return e(n)};return{start:function(){return zn.update(t,!0)},stop:function(){return _n.update(t)}}};function In(e){var t,n,r,i,a,u=e.from,c=e.autoplay,l=void 0===c||c,f=e.driver,p=void 0===f?Hn:f,d=e.elapsed,m=void 0===d?0:d,v=e.repeat,h=void 0===v?0:v,y=e.repeatType,g=void 0===y?"loop":y,b=e.repeatDelay,k=void 0===b?0:b,C=e.onPlay,x=e.onStop,w=e.onComplete,O=e.onRepeat,E=e.onUpdate,S=s(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]),P=S.to,T=0,j=S.duration,L=!1,A=!0,M=function(e){if(Array.isArray(e.to))return Cn;if(xn[e.type])return xn[e.type];var t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?Cn:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?Ot:Cn}(S);(null===(n=(t=M).needsInterpolation)||void 0===n?void 0:n.call(t,u,P))&&(a=tn([0,100],[u,P],{clamp:!1}),u=0,P=100);var _=M(o(o({},S),{from:u,to:P}));return l&&(null==C||C(),(r=p((function(e){if(A||(e=-e),m+=e,!L){var t=_.next(Math.max(0,m));i=t.value,a&&(i=a(i)),L=A?t.done:m<=0}null==E||E(i),L&&(0===T&&(null!=j||(j=m)),T<h?function(e,t,n,r){return r?e>=t+n:e<=-n}(m,j,k,A)&&(T++,"reverse"===g?m=function(e,t,n,r){return void 0===n&&(n=0),void 0===r&&(r=!0),r?$n(t+-e,t,n):t-(e-t)+n}(m,j,k,A=T%2==0):(m=$n(m,j,k),"mirror"===g&&_.flipTarget()),L=!1,O&&O()):(r.stop(),w&&w()))}))).start()),{stop:function(){null==x||x(),r.stop()}}}function Bn(e,t){return t?e*(1e3/t):0}var Fn=function(e){return 1e3*e},Un=function(e,t){return 1-3*t+3*e},qn=function(e,t){return 3*t-6*e},Yn=function(e){return 3*e},Zn=function(e,t,n){return((Un(t,n)*e+qn(t,n))*e+Yn(t))*e},Xn=function(e,t,n){return 3*Un(t,n)*e*e+2*qn(t,n)*e+Yn(t)},Kn=.1;function Gn(e,t,n,r){if(e===t&&n===r)return sn;for(var o=new Float32Array(11),i=0;i<11;++i)o[i]=Zn(i*Kn,e,n);return function(i){return 0===i||1===i?i:Zn(function(t){for(var r=0,i=1;10!==i&&o[i]<=t;++i)r+=Kn;--i;var a=r+(t-o[i])/(o[i+1]-o[i])*Kn,s=Xn(a,e,n);return s>=.001?function(e,t,n,r){for(var o=0;o<8;++o){var i=Xn(t,n,r);if(0===i)return t;t-=(Zn(t,n,r)-e)/i}return t}(t,a,e,n):0===s?a:function(e,t,n,r,o){var i,a,s=0;do{(i=Zn(a=t+(n-t)/2,r,o)-e)>0?n=a:t=a}while(Math.abs(i)>1e-7&&++s<10);return a}(t,r,r+Kn,e,n)}(i),t,r)}}var Jn={linear:sn,easeIn:un,easeInOut:ln,easeOut:cn,circIn:fn,circInOut:dn,circOut:pn,backIn:mn,backInOut:hn,backOut:vn,anticipate:yn,bounceIn:bn,bounceInOut:function(e){return e<.5?.5*(1-gn(1-2*e)):.5*gn(2*e-1)+.5},bounceOut:gn},Qn=function(e){if(Array.isArray(e)){e.length;var t=u(e,4);return Gn(t[0],t[1],t[2],t[3])}return"string"==typeof e?Jn[e]:e},er=function(e,t){return!("zIndex"===e||"number"!=typeof t&&!Array.isArray(t)&&("string"!=typeof t||!Yt.test(t)||t.startsWith("url(")))},tr=function(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}},nr=function(e){return{type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}},rr=function(){return{type:"keyframes",ease:"linear",duration:.3}},or=function(e){return{type:"keyframes",duration:.8,values:e}},ir={x:tr,y:tr,z:tr,rotate:tr,rotateX:tr,rotateY:tr,rotateZ:tr,scaleX:nr,scaleY:nr,scale:nr,opacity:rr,backgroundColor:rr,color:rr,default:nr},ar=new Set(["brightness","contrast","saturate","opacity"]);function sr(e){var t=e.slice(0,-1).split("("),n=t[0],r=t[1];if("drop-shadow"===n)return e;var o=(r.match(Q)||[])[0];if(!o)return e;var i=r.replace(o,""),a=ar.has(n)?1:0;return o!==r&&(a*=100),n+"("+a+i+")"}var ur=/([a-z-]*)\(.*?\)/g,cr=o(o({},Yt),{getAnimatableNone:function(e){var t=e.match(ur);return t?t.map(sr).join(" "):e}}),lr=o(o({},me),{color:$t,backgroundColor:$t,outlineColor:$t,fill:$t,stroke:$t,borderColor:$t,borderTopColor:$t,borderRightColor:$t,borderBottomColor:$t,borderLeftColor:$t,filter:cr,WebkitFilter:cr}),fr=function(e){return lr[e]};function pr(e,t){var n,r=fr(e);return r!==cr&&(r=Yt),null===(n=r.getAnimatableNone)||void 0===n?void 0:n.call(r,t)}function dr(e,t,n){var r,i,a,l;return Array.isArray(t.to)&&(null!==(r=e.duration)&&void 0!==r||(e.duration=.8)),function(e){Array.isArray(e.to)&&null===e.to[0]&&(e.to=c([],u(e.to)),e.to[0]=e.from)}(t),function(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=s(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}(e)||(e=o(o({},e),(i=n,a=t.to,l=Re(a)?or:ir[i]||ir.default,o({to:a},l(a))))),o(o({},t),function(e){var t=e.ease,n=e.times,r=e.yoyo,i=e.flip,a=e.loop,u=s(e,["ease","times","yoyo","flip","loop"]),c=o({},u);return n&&(c.offset=n),u.duration&&(c.duration=Fn(u.duration)),u.repeatDelay&&(c.repeatDelay=Fn(u.repeatDelay)),t&&(c.ease=function(e){return Array.isArray(e)&&"number"!=typeof e[0]}(t)?t.map(Qn):Qn(t)),"tween"===u.type&&(c.type="keyframes"),(r||a||i)&&(r?c.repeatType="reverse":a?c.repeatType="loop":i&&(c.repeatType="mirror"),c.repeat=a||r||i||u.repeat),"spring"!==u.type&&(c.type="keyframes"),c}(e))}function mr(e){return 0===e||"string"==typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function vr(e){return"number"==typeof e?0:pr("",e)}function hr(e,t){return e[t]||e.default||e}function yr(e,t,n,r){return void 0===r&&(r={}),t.start((function(i){var a,s,u=function(e,t,n,r,i){var a,s=hr(r,e),u=null!==(a=s.from)&&void 0!==a?a:t.get(),c=er(e,n);return"none"===u&&c&&"string"==typeof n?u=pr(e,n):mr(u)&&"string"==typeof n?u=vr(n):!Array.isArray(n)&&mr(n)&&"string"==typeof u&&(n=vr(u)),er(e,u)&&c&&!1!==s.type?function(){var r={from:u,to:n,velocity:t.getVelocity(),onComplete:i,onUpdate:function(e){return t.set(e)}};return"inertia"===s.type||"decay"===s.type?function(e){var t,n=e.from,r=void 0===n?0:n,i=e.velocity,a=void 0===i?0:i,s=e.min,u=e.max,c=e.power,l=void 0===c?.8:c,f=e.timeConstant,p=void 0===f?750:f,d=e.bounceStiffness,m=void 0===d?500:d,v=e.bounceDamping,h=void 0===v?10:v,y=e.restDelta,g=void 0===y?1:y,b=e.modifyTarget,k=e.driver,C=e.onUpdate,x=e.onComplete;function w(e){return void 0!==s&&e<s||void 0!==u&&e>u}function O(e){return void 0===s?u:void 0===u||Math.abs(s-e)<Math.abs(u-e)?s:u}function E(e){null==t||t.stop(),t=In(o(o({},e),{driver:k,onUpdate:function(t){var n;null==C||C(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:x}))}function S(e){E(o({type:"spring",stiffness:m,damping:h,restDelta:g},e))}if(w(r))S({from:r,velocity:a,to:O(r)});else{var P=l*a+r;void 0!==b&&(P=b(P));var T,j,L=O(P),A=L===s?-1:1;E({type:"decay",from:r,velocity:a,timeConstant:p,power:l,restDelta:g,modifyTarget:b,onUpdate:w(P)?function(e){T=j,j=e,a=Bn(e-T,Rn().delta),(1===A&&e>L||-1===A&&e<L)&&S({from:e,to:L,velocity:a})}:void 0})}return{stop:function(){return null==t?void 0:t.stop()}}}(o(o({},r),s)):In(o(o({},dr(s,r,e)),{onUpdate:function(e){var t;r.onUpdate(e),null===(t=s.onUpdate)||void 0===t||t.call(s,e)},onComplete:function(){var e;r.onComplete(),null===(e=s.onComplete)||void 0===e||e.call(s)}}))}:function(){var e;return t.set(n),i(),null===(e=null==s?void 0:s.onComplete)||void 0===e||e.call(s),{stop:function(){}}}}(e,t,n,r,i),c=function(e,t){var n;return null!==(n=(hr(e,t)||{}).delay)&&void 0!==n?n:0}(r,e),l=function(){return s=u()};return c?a=setTimeout(l,Fn(c)):l(),function(){clearTimeout(a),null==s||s.stop()}}))}var gr=function(e){return/^\-?\d*\.?\d+$/.test(e)};function br(e,t){-1===e.indexOf(t)&&e.push(t)}function kr(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var Cr=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(e){var t=this;return br(this.subscriptions,e),function(){return kr(t.subscriptions,e)}},e.prototype.notify=function(e,t,n){var r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(var o=0;o<r;o++){var i=this.subscriptions[o];i&&i(e,t,n)}},e.prototype.getSize=function(){return this.subscriptions.length},e.prototype.clear=function(){this.subscriptions.length=0},e}(),xr=function(){function e(e){var t,n=this;this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new Cr,this.velocityUpdateSubscribers=new Cr,this.renderSubscribers=new Cr,this.canTrackVelocity=!1,this.updateAndNotify=function(e,t){void 0===t&&(t=!0),n.prev=n.current,n.current=e;var r=Rn(),o=r.delta,i=r.timestamp;n.lastUpdated!==i&&(n.timeDelta=o,n.lastUpdated=i,zn.postRender(n.scheduleVelocityCheck)),n.prev!==n.current&&n.updateSubscribers.notify(n.current),n.velocityUpdateSubscribers.getSize()&&n.velocityUpdateSubscribers.notify(n.getVelocity()),t&&n.renderSubscribers.notify(n.current)},this.scheduleVelocityCheck=function(){return zn.postRender(n.velocityCheck)},this.velocityCheck=function(e){e.timestamp!==n.lastUpdated&&(n.prev=n.current,n.velocityUpdateSubscribers.notify(n.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t)))}return e.prototype.onChange=function(e){return this.updateSubscribers.add(e)},e.prototype.clearListeners=function(){this.updateSubscribers.clear()},e.prototype.onRenderRequest=function(e){return e(this.get()),this.renderSubscribers.add(e)},e.prototype.attach=function(e){this.passiveEffect=e},e.prototype.set=function(e,t){void 0===t&&(t=!0),t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)},e.prototype.get=function(){return this.current},e.prototype.getPrevious=function(){return this.prev},e.prototype.getVelocity=function(){return this.canTrackVelocity?Bn(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},e.prototype.start=function(e){var t=this;return this.stop(),new Promise((function(n){t.hasAnimated=!0,t.stopAnimation=e(n)})).then((function(){return t.clearAnimation()}))},e.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},e.prototype.isAnimating=function(){return!!this.stopAnimation},e.prototype.clearAnimation=function(){this.stopAnimation=null},e.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},e}();function wr(e){return new xr(e)}var Or=function(e){return function(t){return t.test(e)}},Er=[le,ae,ie,oe,ue,se,{test:function(e){return"auto"===e},parse:function(e){return e}}],Sr=function(e){return Er.find(Or(e))},Pr=c(c([],u(Er)),[$t,Yt]),Tr=function(e){return Pr.find(Or(e))};function jr(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,wr(n))}function Lr(e,t){if(t)return(t[e]||t.default||t).from}function Ar(e,t,n){var r;void 0===n&&(n={});var i=L(e,t,n.custom),a=(i||{}).transition,s=void 0===a?e.getDefaultTransition()||{}:a;n.transitionOverride&&(s=n.transitionOverride);var c=i?function(){return Mr(e,i,n)}:function(){return Promise.resolve()},l=(null===(r=e.variantChildren)||void 0===r?void 0:r.size)?function(r){void 0===r&&(r=0);var i=s.delayChildren,a=void 0===i?0:i,u=s.staggerChildren,c=s.staggerDirection;return function(e,t,n,r,i,a){void 0===n&&(n=0),void 0===r&&(r=0),void 0===i&&(i=1);var s=[],u=(e.variantChildren.size-1)*r,c=1===i?function(e){return void 0===e&&(e=0),e*r}:function(e){return void 0===e&&(e=0),u-e*r};return Array.from(e.variantChildren).sort(_r).forEach((function(e,r){s.push(Ar(e,t,o(o({},a),{delay:n+c(r)})).then((function(){return e.notifyAnimationComplete(t)})))})),Promise.all(s)}(e,t,a+r,u,c,n)}:function(){return Promise.resolve()},f=s.when;if(f){var p=u("beforeChildren"===f?[c,l]:[l,c],2),d=p[0],m=p[1];return d().then(m)}return Promise.all([c(),l(n.delay)])}function Mr(e,t,n){var r,i=void 0===n?{}:n,a=i.delay,u=void 0===a?0:a,c=i.transitionOverride,l=i.type,f=e.makeTargetAnimatable(t),p=f.transition,d=void 0===p?e.getDefaultTransition():p,m=f.transitionEnd,v=s(f,["transition","transitionEnd"]);c&&(d=c);var h=[],y=l&&(null===(r=e.animationState)||void 0===r?void 0:r.getState()[l]);for(var g in v){var b=e.getValue(g),k=v[g];if(!(!b||void 0===k||y&&Dr(y,g))){var C=yr(g,b,k,o({delay:u},d));h.push(C)}}return Promise.all(h).then((function(){m&&function(e,t){var n=L(e,t),r=n?e.makeTargetAnimatable(n,!1):{},i=r.transitionEnd,a=void 0===i?{}:i;r.transition;var u=s(r,["transitionEnd","transition"]);for(var c in u=o(o({},u),a))jr(e,c,ze(u[c]))}(e,m)}))}function _r(e,t){return e.sortNodePosition(t)}function Dr(e,t){var n=e.protectedKeys,r=e.needsAnimating,o=n.hasOwnProperty(t)&&!0!==r[t];return r[t]=!1,o}var Vr=[Be.Animate,Be.Hover,Be.Tap,Be.Drag,Be.Focus,Be.Exit],Wr=c([],u(Vr)).reverse(),Nr=Vr.length;function Rr(e){var t,n=function(e){return function(t){return Promise.all(t.map((function(t){var n=t.animation,r=t.options;return function(e,t,n){var r;if(void 0===n&&(n={}),e.notifyAnimationStart(),Array.isArray(t)){var o=t.map((function(t){return Ar(e,t,n)}));r=Promise.all(o)}else if("string"==typeof t)r=Ar(e,t,n);else{var i="function"==typeof t?L(e,t,n.custom):t;r=Mr(e,i,n)}return r.then((function(){return e.notifyAnimationComplete(t)}))}(e,n,r)})))}}(e),r=((t={})[Be.Animate]=zr(!0),t[Be.Hover]=zr(),t[Be.Tap]=zr(),t[Be.Drag]=zr(),t[Be.Focus]=zr(),t[Be.Exit]=zr(),t),i={},a=!0,l=function(t,n){var r=L(e,n);if(r){r.transition;var i=r.transitionEnd,a=s(r,["transition","transitionEnd"]);t=o(o(o({},t),a),i)}return t};function f(t,s){for(var f,p=e.getProps(),d=e.getVariantContext(!0)||{},m=[],v=new Set,h={},y=1/0,g=function(n){var i=Wr[n],g=r[i],b=null!==(f=p[i])&&void 0!==f?f:d[i],k=T(b),C=i===s?g.isActive:null;!1===C&&(y=n);var x=b===d[i]&&b!==p[i]&&k;if(x&&a&&e.manuallyAnimateOnMount&&(x=!1),g.protectedKeys=o({},h),!g.isActive&&null===C||!b&&!g.prevProp||Ne(b)||"boolean"==typeof b)return"continue";var w=function(e,t){return"string"==typeof t?t!==e:!!P(t)&&!gt(t,e)}(g.prevProp,b)||i===s&&g.isActive&&!x&&k||n>y&&k,O=Array.isArray(b)?b:[b],E=O.reduce(l,{});!1===C&&(E={});var S=g.prevResolvedValues,j=void 0===S?{}:S,L=o(o({},j),E),A=function(e){w=!0,v.delete(e),g.needsAnimating[e]=!0};for(var M in L){var _=E[M],D=j[M];h.hasOwnProperty(M)||(_!==D?Re(_)&&Re(D)?gt(_,D)?g.protectedKeys[M]=!0:A(M):void 0!==_?A(M):v.add(M):void 0!==_&&v.has(M)?A(M):g.protectedKeys[M]=!0)}g.prevProp=b,g.prevResolvedValues=E,g.isActive&&(h=o(o({},h),E)),a&&e.blockInitialAnimation&&(w=!1),w&&!x&&m.push.apply(m,c([],u(O.map((function(e){return{animation:e,options:o({type:i},t)}})))))},b=0;b<Nr;b++)g(b);if(i=o({},h),v.size){var k={};v.forEach((function(t){var n=e.getBaseTarget(t);void 0!==n&&(k[t]=n)})),m.push({animation:k})}var C=Boolean(m.length);return a&&!1===p.initial&&!e.manuallyAnimateOnMount&&(C=!1),a=!1,C?n(m):Promise.resolve()}return{isAnimated:function(e){return void 0!==i[e]},animateChanges:f,setActive:function(t,n,o){var i;return r[t].isActive===n?Promise.resolve():(null===(i=e.variantChildren)||void 0===i||i.forEach((function(e){var r;return null===(r=e.animationState)||void 0===r?void 0:r.setActive(t,n)})),r[t].isActive=n,f(o,t))},setAnimateFunction:function(t){n=t(e)},getState:function(){return r}}}function zr(e){return void 0===e&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var $r={animation:ht((function(t){var n=t.visualElement,r=t.animate;n.animationState||(n.animationState=Rr(n)),Ne(r)&&(0,e.useEffect)((function(){return r.subscribe(n)}),[r])})),exit:ht((function(t){var n=t.custom,r=t.visualElement,o=u(b(),2),i=o[0],a=o[1],s=(0,e.useContext)(y);(0,e.useEffect)((function(){var e,t,o=null===(e=r.animationState)||void 0===e?void 0:e.setActive(Be.Exit,!i,{custom:null!==(t=null==s?void 0:s.custom)&&void 0!==t?t:n});!i&&(null==o||o.then(a))}),[i])}))},Hr=function(e){return e.hasOwnProperty("x")&&e.hasOwnProperty("y")},Ir=function(e){return Hr(e)&&e.hasOwnProperty("z")},Br=function(e,t){return Math.abs(e-t)};function Fr(e,t){if(Zt(e)&&Zt(t))return Br(e,t);if(Hr(e)&&Hr(t)){var n=Br(e.x,t.x),r=Br(e.y,t.y),o=Ir(e)&&Ir(t)?Br(e.z,t.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(o,2))}}var Ur=function(){function e(e,t,n){var r=this,i=(void 0===n?{}:n).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(r.lastMoveEvent&&r.lastMoveEventInfo){var e=Zr(r.lastMoveEventInfo,r.history),t=null!==r.startEvent,n=Fr(e.offset,{x:0,y:0})>=3;if(t||n){var i=e.point,a=Rn().timestamp;r.history.push(o(o({},i),{timestamp:a}));var s=r.handlers,u=s.onStart,c=s.onMove;t||(u&&u(r.lastMoveEvent,e),r.startEvent=r.lastMoveEvent),c&&c(r.lastMoveEvent,e)}}},this.handlePointerMove=function(e,t){r.lastMoveEvent=e,r.lastMoveEventInfo=qr(t,r.transformPagePoint),Ze(e)&&0===e.buttons?r.handlePointerUp(e,t):zn.update(r.updatePoint,!0)},this.handlePointerUp=function(e,t){r.end();var n=r.handlers,o=n.onEnd,i=n.onSessionEnd,a=Zr(qr(t,r.transformPagePoint),r.history);r.startEvent&&o&&o(e,a),i&&i(e,a)},!(Xe(e)&&e.touches.length>1)){this.handlers=t,this.transformPagePoint=i;var a=qr(Qe(e),this.transformPagePoint),s=a.point,u=Rn().timestamp;this.history=[o(o({},s),{timestamp:u})];var c=t.onSessionStart;c&&c(e,Zr(a,this.history)),this.removeListeners=vt(ot(window,"pointermove",this.handlePointerMove),ot(window,"pointerup",this.handlePointerUp),ot(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(e){this.handlers=e},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),_n.update(this.updatePoint)},e}();function qr(e,t){return t?{point:t(e.point)}:e}function Yr(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Zr(e,t){var n=e.point;return{point:n,delta:Yr(n,Kr(t)),offset:Yr(n,Xr(t)),velocity:Gr(t,.1)}}function Xr(e){return e[0]}function Kr(e){return e[e.length-1]}function Gr(e,t){if(e.length<2)return{x:0,y:0};for(var n=e.length-1,r=null,o=Kr(e);n>=0&&(r=e[n],!(o.timestamp-r.timestamp>Fn(t)));)n--;if(!r)return{x:0,y:0};var i=(o.timestamp-r.timestamp)/1e3;if(0===i)return{x:0,y:0};var a={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function Jr(e){return e}function Qr(e){var t=e.top;return{x:{min:e.left,max:e.right},y:{min:t,max:e.bottom}}}var eo={translate:0,scale:1,origin:0,originPoint:0};function to(){return{x:o({},eo),y:o({},eo)}}function no(e){return[e("x"),e("y")]}function ro(e,t,n){var r=t.min,o=t.max;return void 0!==r&&e<r?e=n?Pt(r,e,n.min):Math.max(e,r):void 0!==o&&e>o&&(e=n?Pt(o,e,n.max):Math.min(e,o)),e}function oo(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function io(e,t){var n,r=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&(r=(n=u([o,r],2))[0],o=n[1]),{min:e.min+r,max:e.min+o}}function ao(e,t,n){return{min:so(e,t),max:so(e,n)}}function so(e,t){var n;return"number"==typeof e?e:null!==(n=e[t])&&void 0!==n?n:0}function uo(e,t){return Qr(function(e,t){var n=e.top,r=e.left,o=e.bottom,i=e.right;void 0===t&&(t=Jr);var a=t({x:r,y:n}),s=t({x:i,y:o});return{top:a.y,left:a.x,bottom:s.y,right:s.x}}(e.getBoundingClientRect(),t))}function co(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=.01),Fr(e,t)<n}function lo(e){return e.max-e.min}function fo(e,t,n,r){void 0===r&&(r=.5),e.origin=r,e.originPoint=Pt(t.min,t.max,e.origin),e.scale=lo(n)/lo(t),co(e.scale,1,1e-4)&&(e.scale=1),e.translate=Pt(n.min,n.max,e.origin)-e.originPoint,co(e.translate)&&(e.translate=0)}function po(e,t,n,r){fo(e.x,t.x,n.x,mo(r.originX)),fo(e.y,t.y,n.y,mo(r.originY))}function mo(e){return"number"==typeof e?e:.5}function vo(e,t,n){e.min=n.min+t.min,e.max=e.min+lo(t)}var ho=function(e,t){return e.depth-t.depth};function yo(e){return e.projection.isEnabled||e.shouldResetTransform()}function go(e,t){void 0===t&&(t=[]);var n=e.parent;return n&&go(n,t),yo(e)&&t.push(e),t}function bo(e){if(!e.shouldResetTransform()){var t,n=e.getLayoutState();e.notifyBeforeLayoutMeasure(n.layout),n.isHydrated=!0,n.layout=e.measureViewportBox(),n.layoutCorrected=(t=n.layout,{x:o({},t.x),y:o({},t.y)}),e.notifyLayoutMeasure(n.layout,e.prevViewportBox||n.layout),zn.update((function(){return e.rebaseProjectionTarget()}))}}function ko(e,t){return{min:t.min-e.min,max:t.max-e.min}}function Co(e,t){return{x:ko(e.x,t.x),y:ko(e.y,t.y)}}function xo(e,t){var n=e.getLayoutId(),r=t.getLayoutId();return n!==r||void 0===r&&e!==t}function wo(e){var t=e.getProps(),n=t.drag,r=t._dragX;return n&&!r}function Oo(e,t){e.min=t.min,e.max=t.max}function Eo(e,t,n){return n+t*(e-n)}function So(e,t,n,r,o){return void 0!==o&&(e=Eo(e,o,r)),Eo(e,n,r)+t}function Po(e,t,n,r,o){void 0===t&&(t=0),void 0===n&&(n=1),e.min=So(e.min,t,n,r,o),e.max=So(e.max,t,n,r,o)}function To(e,t){var n=t.x,r=t.y;Po(e.x,n.translate,n.scale,n.originPoint),Po(e.y,r.translate,r.scale,r.originPoint)}function jo(e,t,n,r){var o=u(r,3),i=o[0],a=o[1],s=o[2];e.min=t.min,e.max=t.max;var c=void 0!==n[s]?n[s]:.5,l=Pt(t.min,t.max,c);Po(e,n[i],n[a],l,n.scale)}var Lo=["x","scaleX","originX"],Ao=["y","scaleY","originY"];function Mo(e,t,n){jo(e.x,t.x,n,Lo),jo(e.y,t.y,n,Ao)}function _o(e,t,n,r,o){return e=Eo(e-=t,1/n,r),void 0!==o&&(e=Eo(e,1/o,r)),e}function Do(e,t,n){var r=u(n,3),o=r[0],i=r[1],a=r[2];!function(e,t,n,r,o){void 0===t&&(t=0),void 0===n&&(n=1),void 0===r&&(r=.5);var i=Pt(e.min,e.max,r)-t;e.min=_o(e.min,t,n,i,o),e.max=_o(e.max,t,n,i,o)}(e,t[o],t[i],t[a],t.scale)}function Vo(e,t){Do(e.x,t,Lo),Do(e.y,t,Ao)}var Wo=new Set;function No(e,t,n){e[n]||(e[n]=[]),e[n].push(t)}function Ro(e){return Wo.add(e),function(){return Wo.delete(e)}}function zo(){if(Wo.size){var e=0,t=[[]],n=[],r=function(n){return No(t,n,e)},o=function(t){No(n,t,e),e++};Wo.forEach((function(t){t(r,o),e=0})),Wo.clear();for(var i=n.length,a=0;a<=i;a++)t[a]&&t[a].forEach(Ho),n[a]&&n[a].forEach(Ho)}}var $o,Ho=function(e){return e()},Io=new WeakMap,Bo=function(){function e(e){var t=e.visualElement;this.isDragging=!1,this.currentDirection=null,this.constraints=!1,this.elastic={x:{min:0,max:1},y:{min:0,max:1}},this.props={},this.hasMutatedConstraints=!1,this.cursorProgress={x:.5,y:.5},this.originPoint={},this.openGlobalLock=null,this.panSession=null,this.visualElement=t,this.visualElement.enableLayoutProjection(),Io.set(t,this)}return e.prototype.start=function(e,t){var n=this,r=void 0===t?{}:t,o=r.snapToCursor,i=void 0!==o&&o,a=r.cursorProgress,s=this.props.transformPagePoint;this.panSession=new Ur(e,{onSessionStart:function(e){var t;n.stopMotion();var r=function(e){return Qe(e,"client")}(e).point;null===(t=n.cancelLayout)||void 0===t||t.call(n),n.cancelLayout=Ro((function(e,t){var o=go(n.visualElement),s=function(e){var t=[],n=function(e){yo(e)&&t.push(e),e.children.forEach(n)};return e.children.forEach(n),t.sort(ho)}(n.visualElement),l=c(c([],u(o)),u(s)),f=!1;n.isLayoutDrag()&&n.visualElement.lockProjectionTarget(),t((function(){l.forEach((function(e){return e.resetTransform()}))})),e((function(){bo(n.visualElement),s.forEach(bo)})),t((function(){l.forEach((function(e){return e.restoreTransform()})),i&&(f=n.snapToCursor(r))})),e((function(){Boolean(n.getAxisMotionValue("x")&&!n.isExternalDrag())||n.visualElement.rebaseProjectionTarget(!0,n.visualElement.measureViewportBox(!1)),n.visualElement.scheduleUpdateLayoutProjection();var e=n.visualElement.projection;no((function(t){if(!f){var o=e.target[t],i=o.min,s=o.max;n.cursorProgress[t]=a?a[t]:St(i,s,r[t])}var u=n.getAxisMotionValue(t);u&&(n.originPoint[t]=u.get())}))})),t((function(){Dn.update(),Dn.preRender(),Dn.render(),Dn.postRender()})),e((function(){return n.resolveDragConstraints()}))}))},onStart:function(e,t){var r,o,i,a=n.props,s=a.drag,u=a.dragPropagation;(!s||u||(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=ct(s),n.openGlobalLock))&&(zo(),n.isDragging=!0,n.currentDirection=null,null===(o=(r=n.props).onDragStart)||void 0===o||o.call(r,e,t),null===(i=n.visualElement.animationState)||void 0===i||i.setActive(Be.Drag,!0))},onMove:function(e,t){var r,o,i,a,s=n.props,u=s.dragPropagation,c=s.dragDirectionLock;if(u||n.openGlobalLock){var l=t.offset;if(c&&null===n.currentDirection)return n.currentDirection=function(e,t){void 0===t&&(t=10);var n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}(l),void(null!==n.currentDirection&&(null===(o=(r=n.props).onDirectionLock)||void 0===o||o.call(r,n.currentDirection)));n.updateAxis("x",t.point,l),n.updateAxis("y",t.point,l),null===(a=(i=n.props).onDrag)||void 0===a||a.call(i,e,t),$o=e}},onSessionEnd:function(e,t){return n.stop(e,t)}},{transformPagePoint:s})},e.prototype.resolveDragConstraints=function(){var e=this,t=this.props,n=t.dragConstraints,r=t.dragElastic,o=this.visualElement.getLayoutState().layoutCorrected;this.constraints=!!n&&(S(n)?this.resolveRefConstraints(o,n):function(e,t){var n=t.top,r=t.left,o=t.bottom,i=t.right;return{x:oo(e.x,r,i),y:oo(e.y,n,o)}}(o,n)),this.elastic=function(e){return!1===e?e=0:!0===e&&(e=.35),{x:ao(e,"left","right"),y:ao(e,"top","bottom")}}(r),this.constraints&&!this.hasMutatedConstraints&&no((function(t){e.getAxisMotionValue(t)&&(e.constraints[t]=function(e,t){var n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(o[t],e.constraints[t]))}))},e.prototype.resolveRefConstraints=function(e,t){var n=this.props,r=n.onMeasureDragConstraints,o=n.transformPagePoint,i=t.current;this.constraintsBox=uo(i,o);var a=function(e,t){return{x:io(e.x,t.x),y:io(e.y,t.y)}}(e,this.constraintsBox);if(r){var s=r(function(e){var t=e.x,n=e.y;return{top:n.min,bottom:n.max,left:t.min,right:t.max}}(a));this.hasMutatedConstraints=!!s,s&&(a=Qr(s))}return a},e.prototype.cancelDrag=function(){var e,t;this.visualElement.unlockProjectionTarget(),null===(e=this.cancelLayout)||void 0===e||e.call(this),this.isDragging=!1,this.panSession&&this.panSession.end(),this.panSession=null,!this.props.dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(t=this.visualElement.animationState)||void 0===t||t.setActive(Be.Drag,!1)},e.prototype.stop=function(e,t){var n,r,o;null===(n=this.panSession)||void 0===n||n.end(),this.panSession=null;var i=this.isDragging;if(this.cancelDrag(),i){var a=t.velocity;this.animateDragEnd(a),null===(o=(r=this.props).onDragEnd)||void 0===o||o.call(r,e,t)}},e.prototype.snapToCursor=function(e){var t=this;return no((function(n){if(Fo(n,t.props.drag,t.currentDirection)){var r=t.getAxisMotionValue(n);if(!r)return t.cursorProgress[n]=.5,!0;var o=t.visualElement.getLayoutState().layout,i=o[n].max-o[n].min,a=o[n].min+i/2,s=e[n]-a;t.originPoint[n]=e[n],r.set(s)}})).includes(!0)},e.prototype.updateAxis=function(e,t,n){if(Fo(e,this.props.drag,this.currentDirection))return this.getAxisMotionValue(e)?this.updateAxisMotionValue(e,n):this.updateVisualElementAxis(e,t)},e.prototype.updateAxisMotionValue=function(e,t){var n=this.getAxisMotionValue(e);if(t&&n){var r=this.originPoint[e]+t[e],o=this.constraints?ro(r,this.constraints[e],this.elastic[e]):r;n.set(o)}},e.prototype.updateVisualElementAxis=function(e,t){var n,r=this.visualElement.getLayoutState().layout[e],o=r.max-r.min,i=this.cursorProgress[e],a=function(e,t,n,r,o){var i=e-t*n;return r?ro(i,r,o):i}(t[e],o,i,null===(n=this.constraints)||void 0===n?void 0:n[e],this.elastic[e]);this.visualElement.setProjectionTargetAxis(e,a,a+o)},e.prototype.setProps=function(e){var t=e.drag,n=void 0!==t&&t,r=e.dragDirectionLock,i=void 0!==r&&r,a=e.dragPropagation,u=void 0!==a&&a,c=e.dragConstraints,l=void 0!==c&&c,f=e.dragElastic,p=void 0===f?.35:f,d=e.dragMomentum,m=void 0===d||d,v=s(e,["drag","dragDirectionLock","dragPropagation","dragConstraints","dragElastic","dragMomentum"]);this.props=o({drag:n,dragDirectionLock:i,dragPropagation:u,dragConstraints:l,dragElastic:p,dragMomentum:m},v)},e.prototype.getAxisMotionValue=function(e){var t=this.props,n=t.layout,r=t.layoutId,o="_drag"+e.toUpperCase();return this.props[o]?this.props[o]:n||void 0!==r?void 0:this.visualElement.getValue(e,0)},e.prototype.isLayoutDrag=function(){return!this.getAxisMotionValue("x")},e.prototype.isExternalDrag=function(){var e=this.props,t=e._dragX,n=e._dragY;return t||n},e.prototype.animateDragEnd=function(e){var t=this,n=this.props,r=n.drag,i=n.dragMomentum,a=n.dragElastic,s=n.dragTransition,u=function(e,t){void 0===t&&(t=!0);var n,r=e.getProjectionParent();return!!r&&(t?Vo(n=Co(r.projection.target,e.projection.target),r.getLatestValues()):n=Co(r.getLayoutState().layout,e.getLayoutState().layout),no((function(t){return e.setProjectionTargetAxis(t,n[t].min,n[t].max,!0)})),!0)}(this.visualElement,this.isLayoutDrag()&&!this.isExternalDrag()),c=this.constraints||{};if(u&&Object.keys(c).length&&this.isLayoutDrag()){var l=this.visualElement.getProjectionParent();if(l){var f=Co(l.projection.targetFinal,c);no((function(e){var t=f[e],n=t.min,r=t.max;c[e]={min:isNaN(n)?void 0:n,max:isNaN(r)?void 0:r}}))}}var p=no((function(n){var l;if(Fo(n,r,t.currentDirection)){var f=null!==(l=null==c?void 0:c[n])&&void 0!==l?l:{},p=a?200:1e6,d=a?40:1e7,m=o(o({type:"inertia",velocity:i?e[n]:0,bounceStiffness:p,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10},s),f);return t.getAxisMotionValue(n)?t.startAxisValueAnimation(n,m):t.visualElement.startLayoutAnimation(n,m,u)}}));return Promise.all(p).then((function(){var e,n;null===(n=(e=t.props).onDragTransitionEnd)||void 0===n||n.call(e)}))},e.prototype.stopMotion=function(){var e=this;no((function(t){var n=e.getAxisMotionValue(t);n?n.stop():e.visualElement.stopLayoutAnimation()}))},e.prototype.startAxisValueAnimation=function(e,t){var n=this.getAxisMotionValue(e);if(n){var r=n.get();return n.set(r),n.set(r),yr(e,n,0,t)}},e.prototype.scalePoint=function(){var e=this,t=this.props,n=t.drag;if(S(t.dragConstraints)&&this.constraintsBox){this.stopMotion();var r={x:0,y:0};no((function(t){var n,o,i,a,s;r[t]=(n=e.visualElement.projection.target[t],o=e.constraintsBox[t],i=.5,a=lo(n),(s=lo(o))>a?i=St(o.min,o.max-a,n.min):a>s&&(i=St(n.min,n.max-s,o.min)),function(e){return bt(0,1,e)}(i))})),this.updateConstraints((function(){no((function(t){if(Fo(t,n,null)){var o=function(e,t,n){var r=e.max-e.min,o=Pt(t.min,t.max-r,n);return{min:o,max:o+r}}(e.visualElement.projection.target[t],e.constraintsBox[t],r[t]),i=o.min,a=o.max;e.visualElement.setProjectionTargetAxis(t,i,a)}}))})),setTimeout(zo,1)}},e.prototype.updateConstraints=function(e){var t=this;this.cancelLayout=Ro((function(n,r){var o=go(t.visualElement);r((function(){return o.forEach((function(e){return e.resetTransform()}))})),n((function(){return bo(t.visualElement)})),r((function(){return o.forEach((function(e){return e.restoreTransform()}))})),n((function(){t.resolveDragConstraints()})),e&&r(e)}))},e.prototype.mount=function(e){var t=this,n=ot(e.getInstance(),"pointerdown",(function(e){var n=t.props,r=n.drag,o=n.dragListener;r&&(void 0===o||o)&&t.start(e)})),r=qe(window,"resize",(function(){t.scalePoint()})),o=e.onLayoutUpdate((function(){t.isDragging&&t.resolveDragConstraints()})),i=e.prevDragCursor;return i&&this.start($o,{cursorProgress:i}),function(){null==n||n(),null==r||r(),null==o||o(),t.cancelDrag()}},e}();function Fo(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}var Uo,qo,Yo={pan:ht((function(t){var n=t.onPan,r=t.onPanStart,o=t.onPanEnd,i=t.onPanSessionStart,a=t.visualElement,s=n||r||o||i,u=(0,e.useRef)(null),c=(0,e.useContext)(v).transformPagePoint,l={onSessionStart:i,onStart:r,onMove:n,onEnd:function(e,t){u.current=null,o&&o(e,t)}};(0,e.useEffect)((function(){null!==u.current&&u.current.updateHandlers(l)})),it(a,"pointerdown",s&&function(e){u.current=new Ur(e,l,{transformPagePoint:c})}),dt((function(){return u.current&&u.current.end()}))})),drag:ht((function(t){var n=t.dragControls,r=t.visualElement,i=(0,e.useContext)(v).transformPagePoint,a=g((function(){return new Bo({visualElement:r})}));a.setProps(o(o({},t),{transformPagePoint:i})),(0,e.useEffect)((function(){return n&&n.subscribe(a)}),[a]),(0,e.useEffect)((function(){return a.mount(r)}),[])}))};function Zo(e){return"string"==typeof e&&e.startsWith("var(--")}!function(e){e[e.Entering=0]="Entering",e[e.Present=1]="Present",e[e.Exiting=2]="Exiting"}(Uo||(Uo={})),function(e){e[e.Hide=0]="Hide",e[e.Show=1]="Show"}(qo||(qo={}));var Xo=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Ko(e,t,n){void 0===n&&(n=1);var r=u(function(e){var t=Xo.exec(e);if(!t)return[,];var n=u(t,3);return[n[1],n[2]]}(e),2),o=r[0],i=r[1];if(o){var a=window.getComputedStyle(t).getPropertyValue(o);return a?a.trim():Zo(i)?Ko(i,t,n+1):i}}function Go(e,t){return e/(t.max-t.min)*100}var Jo="_$css",Qo={process:function(e,t,n){var r=n.target;if("string"==typeof e){if(!ae.test(e))return e;e=parseFloat(e)}return Go(e,r.x)+"% "+Go(e,r.y)+"%"}},ei={borderRadius:o(o({},Qo),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:Qo,borderTopRightRadius:Qo,borderBottomLeftRadius:Qo,borderBottomRightRadius:Qo,boxShadow:{process:function(e,t){var n=t.delta,r=t.treeScale,o=e,i=e.includes("var("),a=[];i&&(e=e.replace(Xo,(function(e){return a.push(e),Jo})));var s=Yt.parse(e);if(s.length>5)return o;var u=Yt.createTransformer(e),c="number"!=typeof s[0]?1:0,l=n.x.scale*r.x,f=n.y.scale*r.y;s[0+c]/=l,s[1+c]/=f;var p=Pt(l,f,.5);"number"==typeof s[2+c]&&(s[2+c]/=p),"number"==typeof s[3+c]&&(s[3+c]/=p);var d=u(s);if(i){var m=0;d=d.replace(Jo,(function(){var e=a[m];return m++,e}))}return d}}},ti=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.frameTarget={x:{min:0,max:1},y:{min:0,max:1}},t.currentAnimationTarget={x:{min:0,max:1},y:{min:0,max:1}},t.isAnimating={x:!1,y:!1},t.stopAxisAnimation={x:void 0,y:void 0},t.isAnimatingTree=!1,t.animate=function(e,n,r){void 0===r&&(r={});var i=r.originBox,a=r.targetBox,u=r.visibilityAction,c=r.shouldStackAnimate,l=r.onComplete,f=r.prevParent,p=s(r,["originBox","targetBox","visibilityAction","shouldStackAnimate","onComplete","prevParent"]),d=t.props,m=d.visualElement,v=d.layout;if(!1===c)return t.isAnimatingTree=!1,t.safeToRemove();if(!t.isAnimatingTree||!0===c){c&&(t.isAnimatingTree=!0),n=i||n,e=a||e;var h=!1,y=m.getProjectionParent();if(y){var g=y.prevViewportBox,b=y.getLayoutState().layout;f&&(a&&(b=f.getLayoutState().layout),i&&!xo(f,y)&&f.prevViewportBox&&(g=f.prevViewportBox)),g&&si(f,i,a)&&(h=!0,n=Co(g,n),e=Co(b,e))}var k=ni(n,e),C=no((function(r){var i,a;if("position"===v){var s=e[r].max-e[r].min;n[r].max=n[r].min+s}if(!m.projection.isTargetLocked)return void 0===u?k?t.animateAxis(r,e[r],n[r],o(o({},p),{isRelative:h})):(null===(a=(i=t.stopAxisAnimation)[r])||void 0===a||a.call(i),m.setProjectionTargetAxis(r,e[r].min,e[r].max,h)):void m.setVisibility(u===qo.Show)}));return m.syncRender(),Promise.all(C).then((function(){t.isAnimatingTree=!1,l&&l(),m.notifyLayoutAnimationComplete()}))}},t}return r(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props.visualElement;t.animateMotionValue=yr,t.enableLayoutProjection(),this.unsubLayoutReady=t.onLayoutUpdate(this.animate),t.layoutSafeToRemove=function(){return e.safeToRemove()},function(e){for(var t in e)R[t]=e[t]}(ei)},t.prototype.componentWillUnmount=function(){var e=this;this.unsubLayoutReady(),no((function(t){var n,r;return null===(r=(n=e.stopAxisAnimation)[t])||void 0===r?void 0:r.call(n)}))},t.prototype.animateAxis=function(e,t,n,r){var o,i,a=this,s=void 0===r?{}:r,u=s.transition,c=s.isRelative;if(!this.isAnimating[e]||!ii(t,this.currentAnimationTarget[e])){null===(i=(o=this.stopAxisAnimation)[e])||void 0===i||i.call(o),this.isAnimating[e]=!0;var l=this.props.visualElement,f=this.frameTarget[e],p=l.getProjectionAnimationProgress()[e];p.clearListeners(),p.set(0),p.set(0);var d=function(){var r=p.get()/1e3;!function(e,t,n,r){e.min=Pt(t.min,n.min,r),e.max=Pt(t.max,n.max,r)}(f,n,t,r),l.setProjectionTargetAxis(e,f.min,f.max,c)};d();var m=p.onChange(d);this.stopAxisAnimation[e]=function(){a.isAnimating[e]=!1,p.stop(),m()},this.currentAnimationTarget[e]=t;var v=u||l.getDefaultTransition()||ai;return yr("x"===e?"layoutX":"layoutY",p,1e3,v&&hr(v,"layout")).then(this.stopAxisAnimation[e])}},t.prototype.safeToRemove=function(){var e,t;null===(t=(e=this.props).safeToRemove)||void 0===t||t.call(e)},t.prototype.render=function(){return null},t}(e.Component);function ni(e,t){return!(oi(e)||oi(t)||ii(e.x,t.x)&&ii(e.y,t.y))}var ri={min:0,max:0};function oi(e){return ii(e.x,ri)&&ii(e.y,ri)}function ii(e,t){return e.min===t.min&&e.max===t.max}var ai={duration:.45,ease:[.4,0,.1,1]};function si(e,t,n){return e||!e&&!(t||n)}var ui={layoutReady:function(e){return e.notifyLayoutReady()}};function ci(){var e=new Set;return{add:function(t){return e.add(t)},flush:function(t){var n=void 0===t?ui:t,r=n.layoutReady,o=n.parent;Ro((function(t,n){var i=Array.from(e).sort(ho),a=o?go(o):[];n((function(){c(c([],u(a)),u(i)).forEach((function(e){return e.resetTransform()}))})),t((function(){i.forEach(bo)})),n((function(){a.forEach((function(e){return e.restoreTransform()})),i.forEach(r)})),t((function(){i.forEach((function(e){e.isPresent&&(e.presence=Uo.Present)}))})),n((function(){Dn.preRender(),Dn.render()})),t((function(){zn.postRender((function(){return i.forEach(li)})),e.clear()}))})),zo()}}}function li(e){e.prevViewportBox=e.projection.target}var fi=(0,e.createContext)(ci()),pi=(0,e.createContext)(ci());function di(e){return!!e.forceUpdate}var mi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.componentDidMount=function(){var e=this.props,t=e.syncLayout,n=e.framerSyncLayout,r=e.visualElement;di(t)&&t.register(r),di(n)&&n.register(r),r.onUnmount((function(){di(t)&&t.remove(r),di(n)&&n.remove(r)}))},t.prototype.getSnapshotBeforeUpdate=function(){var e=this.props,t=e.syncLayout,n=e.visualElement;return di(t)?t.syncUpdate():(function(e){e.shouldResetTransform()||(e.prevViewportBox=e.measureViewportBox(!1),e.rebaseProjectionTarget(!1,e.prevViewportBox))}(n),t.add(n)),null},t.prototype.componentDidUpdate=function(){var e=this.props.syncLayout;di(e)||e.flush()},t.prototype.render=function(){return null},t}(t().Component),vi={measureLayout:function(n){var r=(0,e.useContext)(fi),i=(0,e.useContext)(pi);return t().createElement(mi,o({},n,{syncLayout:r,framerSyncLayout:i}))},layoutAnimation:function(t){var n=u(b(),2)[1];return e.createElement(ti,o({},t,{safeToRemove:n}))}};function hi(){return{isHydrated:!1,layout:{x:{min:0,max:1},y:{min:0,max:1}},layoutCorrected:{x:{min:0,max:1},y:{min:0,max:1}},treeScale:{x:1,y:1},delta:to(),deltaFinal:to(),deltaTransform:""}}var yi=hi();function gi(e,t,n){var r=e.x,o=e.y,i="translate3d("+r.translate/t.x+"px, "+o.translate/t.y+"px, 0) ";if(n){var a=n.rotate,s=n.rotateX,u=n.rotateY;a&&(i+="rotate("+a+") "),s&&(i+="rotateX("+s+") "),u&&(i+="rotateY("+u+") ")}return i+="scale("+r.scale+", "+o.scale+")",n||i!==ki?i:""}function bi(e){var t=e.deltaFinal;return 100*t.x.origin+"% "+100*t.y.origin+"% 0"}var ki=gi(yi.delta,yi.treeScale,{x:1,y:1}),Ci=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","SetAxisTarget","Unmount"];var xi=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(e){br(this.children,e),this.isDirty=!0},e.prototype.remove=function(e){kr(this.children,e),this.isDirty=!0},e.prototype.forEach=function(e){this.isDirty&&this.children.sort(ho),this.isDirty=!1,this.children.forEach(e)},e}(),wi=function(e){var t=e.treeType,n=void 0===t?"":t,r=e.build,i=e.getBaseTarget,a=e.makeTargetAnimatable,s=e.measureViewportBox,l=e.render,f=e.readValueFromInstance,p=e.resetTransform,d=e.restoreTransform,m=e.removeValueFromRenderState,v=e.sortNodePosition,h=e.scrapeMotionValuesFromProps;return function(e,t){var y=e.parent,g=e.props,b=e.presenceId,k=e.blockInitialAnimation,C=e.visualState;void 0===t&&(t={});var x,w,O,E,S,P,j=C.latestValues,L=C.renderState,_=function(){var e=Ci.map((function(){return new Cr})),t={},n={clearAllListeners:function(){return e.forEach((function(e){return e.clear()}))},updatePropListeners:function(e){return Ci.forEach((function(r){var o;null===(o=t[r])||void 0===o||o.call(t);var i="on"+r,a=e[i];a&&(t[r]=n[i](a))}))}};return e.forEach((function(e,t){n["on"+Ci[t]]=function(t){return e.add(t)},n["notify"+Ci[t]]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.notify.apply(e,c([],u(t)))}})),n}(),D={isEnabled:!1,isHydrated:!1,isTargetLocked:!1,target:{x:{min:0,max:1},y:{min:0,max:1}},targetFinal:{x:{min:0,max:1},y:{min:0,max:1}}},V=D,W=j,N=hi(),R=!1,z=new Map,$=new Map,H={},I=o({},j);function B(){x&&(Q.isProjectionReady()&&(Mo(V.targetFinal,V.target,W),po(N.deltaFinal,N.layoutCorrected,V.targetFinal,j)),F(),l(x,L))}function F(){var e=j;if(E&&E.isActive()){var n=E.getCrossfadeState(Q);n&&(e=n)}r(Q,L,e,V,N,t,g)}function U(){_.notifyUpdate(j)}function q(){Q.layoutTree.forEach(Ei)}var Z=h(g);for(var X in Z){var K=Z[X];void 0!==j[X]&&Y(K)&&K.set(j[X],!1)}var G=A(g),J=M(g),Q=o(o({treeType:n,current:null,depth:y?y.depth+1:0,parent:y,children:new Set,path:y?c(c([],u(y.path)),[y]):[],layoutTree:y?y.layoutTree:new xi,presenceId:b,projection:D,variantChildren:J?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(null==y?void 0:y.isMounted()),blockInitialAnimation:k,isMounted:function(){return Boolean(x)},mount:function(e){x=Q.current=e,Q.pointTo(Q),J&&y&&!G&&(P=null==y?void 0:y.addVariantChild(Q)),null==y||y.children.add(Q)},unmount:function(){_n.update(U),_n.render(B),_n.preRender(Q.updateLayoutProjection),$.forEach((function(e){return e()})),Q.stopLayoutAnimation(),Q.layoutTree.remove(Q),null==P||P(),null==y||y.children.delete(Q),null==O||O(),_.clearAllListeners()},addVariantChild:function(e){var t,n=Q.getClosestVariantNode();if(n)return null===(t=n.variantChildren)||void 0===t||t.add(e),function(){return n.variantChildren.delete(e)}},sortNodePosition:function(e){return v&&n===e.treeType?v(Q.getInstance(),e.getInstance()):0},getClosestVariantNode:function(){return J?Q:null==y?void 0:y.getClosestVariantNode()},scheduleUpdateLayoutProjection:y?y.scheduleUpdateLayoutProjection:function(){return zn.preRender(Q.updateTreeLayoutProjection,!1,!0)},getLayoutId:function(){return g.layoutId},getInstance:function(){return x},getStaticValue:function(e){return j[e]},setStaticValue:function(e,t){return j[e]=t},getLatestValues:function(){return j},setVisibility:function(e){Q.isVisible!==e&&(Q.isVisible=e,Q.scheduleRender())},makeTargetAnimatable:function(e,t){return void 0===t&&(t=!0),a(Q,e,g,t)},addValue:function(e,t){Q.hasValue(e)&&Q.removeValue(e),z.set(e,t),j[e]=t.get(),function(e,t){var n=t.onChange((function(t){j[e]=t,g.onUpdate&&zn.update(U,!1,!0)})),r=t.onRenderRequest(Q.scheduleRender);$.set(e,(function(){n(),r()}))}(e,t)},removeValue:function(e){var t;z.delete(e),null===(t=$.get(e))||void 0===t||t(),$.delete(e),delete j[e],m(e,L)},hasValue:function(e){return z.has(e)},getValue:function(e,t){var n=z.get(e);return void 0===n&&void 0!==t&&(n=wr(t),Q.addValue(e,n)),n},forEachValue:function(e){return z.forEach(e)},readValue:function(e){var n;return null!==(n=j[e])&&void 0!==n?n:f(x,e,t)},setBaseTarget:function(e,t){I[e]=t},getBaseTarget:function(e){if(i){var t=i(g,e);if(void 0!==t&&!Y(t))return t}return I[e]}},_),{build:function(){return F(),L},scheduleRender:function(){zn.render(B,!1,!0)},syncRender:B,setProps:function(e){g=e,_.updatePropListeners(e),H=function(e,t,n){var r;for(var o in t){var i=t[o],a=n[o];if(Y(i))e.addValue(o,i);else if(Y(a))e.addValue(o,wr(i));else if(a!==i)if(e.hasValue(o)){var s=e.getValue(o);!s.hasAnimated&&s.set(i)}else e.addValue(o,wr(null!==(r=e.getStaticValue(o))&&void 0!==r?r:i))}for(var o in n)void 0===t[o]&&e.removeValue(o);return t}(Q,h(g),H)},getProps:function(){return g},getVariant:function(e){var t;return null===(t=g.variants)||void 0===t?void 0:t[e]},getDefaultTransition:function(){return g.transition},getVariantContext:function(e){if(void 0===e&&(e=!1),e)return null==y?void 0:y.getVariantContext();if(!G){var t=(null==y?void 0:y.getVariantContext())||{};return void 0!==g.initial&&(t.initial=g.initial),t}for(var n={},r=0;r<Ti;r++){var o=Pi[r],i=g[o];(T(i)||!1===i)&&(n[o]=i)}return n},enableLayoutProjection:function(){D.isEnabled=!0,Q.layoutTree.add(Q)},lockProjectionTarget:function(){D.isTargetLocked=!0},unlockProjectionTarget:function(){Q.stopLayoutAnimation(),D.isTargetLocked=!1},getLayoutState:function(){return N},setCrossfader:function(e){E=e},isProjectionReady:function(){return D.isEnabled&&D.isHydrated&&N.isHydrated},startLayoutAnimation:function(e,t,n){void 0===n&&(n=!1);var r=Q.getProjectionAnimationProgress()[e],o=n?D.relativeTarget[e]:D.target[e],i=o.min,a=o.max-i;return r.clearListeners(),r.set(i),r.set(i),r.onChange((function(t){Q.setProjectionTargetAxis(e,t,t+a,n)})),Q.animateMotionValue(e,r,0,t)},stopLayoutAnimation:function(){no((function(e){return Q.getProjectionAnimationProgress()[e].stop()}))},measureViewportBox:function(e){void 0===e&&(e=!0);var n=s(x,t);return e||Vo(n,j),n},getProjectionAnimationProgress:function(){return S||(S={x:wr(0),y:wr(0)}),S},setProjectionTargetAxis:function(e,t,n,r){var o;void 0===r&&(r=!1),r?(D.relativeTarget||(D.relativeTarget={x:{min:0,max:1},y:{min:0,max:1}}),o=D.relativeTarget[e]):(D.relativeTarget=void 0,o=D.target[e]),D.isHydrated=!0,o.min=t,o.max=n,R=!0,_.notifySetAxisTarget()},rebaseProjectionTarget:function(e,t){void 0===t&&(t=N.layout);var n=Q.getProjectionAnimationProgress(),r=n.x,o=n.y,i=!(D.relativeTarget||D.isTargetLocked||r.isAnimating()||o.isAnimating());(e||i)&&no((function(e){var n=t[e],r=n.min,o=n.max;Q.setProjectionTargetAxis(e,r,o)}))},notifyLayoutReady:function(e){!function(e){var t=e.getProjectionParent();if(t){var n=Co(t.getLayoutState().layout,e.getLayoutState().layout);no((function(t){e.setProjectionTargetAxis(t,n[t].min,n[t].max,!0)}))}else e.rebaseProjectionTarget()}(Q),Q.notifyLayoutUpdate(N.layout,Q.prevViewportBox||N.layout,e)},resetTransform:function(){return p(Q,x,g)},restoreTransform:function(){return d(x,L)},updateLayoutProjection:function(){if(Q.isProjectionReady()){var e=N.delta,t=N.treeScale,n=t.x,r=t.y,o=N.deltaTransform;(function(e,t,n,r){var o,i,a=e.delta,s=e.layout,u=e.layoutCorrected,c=e.treeScale,l=t.target;i=s,Oo((o=u).x,i.x),Oo(o.y,i.y),function(e,t,n){var r=n.length;if(r){var o,i;t.x=t.y=1;for(var a=0;a<r;a++)i=(o=n[a]).getLayoutState().delta,t.x*=i.x.scale,t.y*=i.y.scale,To(e,i),wo(o)&&Mo(e,e,o.getLatestValues())}}(u,c,n),po(a,u,l,r)})(N,V,Q.path,j),R&&Q.notifyViewportBoxUpdate(V.target,e),R=!1;var i=gi(e,t);i===o&&n===t.x&&r===t.y||Q.scheduleRender(),N.deltaTransform=i}},updateTreeLayoutProjection:function(){Q.layoutTree.forEach(Oi),zn.preRender(q,!1,!0)},getProjectionParent:function(){if(void 0===w){for(var e=!1,t=Q.path.length-1;t>=0;t--){var n=Q.path[t];if(n.projection.isEnabled){e=n;break}}w=e}return w},resolveRelativeTargetBox:function(){var e=Q.getProjectionParent();if(D.relativeTarget&&e&&(function(e,t){vo(e.target.x,e.relativeTarget.x,t.target.x),vo(e.target.y,e.relativeTarget.y,t.target.y)}(D,e.projection),wo(e))){var t=D.target;Mo(t,t,e.getLatestValues())}},shouldResetTransform:function(){return Boolean(g._layoutResetTransform)},pointTo:function(e){V=e.projection,W=e.getLatestValues(),null==O||O(),O=vt(e.onSetAxisTarget(Q.scheduleUpdateLayoutProjection),e.onLayoutAnimationComplete((function(){var e;Q.isPresent?Q.presence=Uo.Present:null===(e=Q.layoutSafeToRemove)||void 0===e||e.call(Q)})))},isPresent:!0,presence:Uo.Entering});return Q}};function Oi(e){e.resolveRelativeTargetBox()}function Ei(e){e.updateLayoutProjection()}var Si,Pi=c(["initial"],u(Vr)),Ti=Pi.length,ji=new Set(["width","height","top","left","right","bottom","x","y"]),Li=function(e){return ji.has(e)},Ai=function(e,t){e.set(t,!1),e.set(t)},Mi=function(e){return e===le||e===ae};!function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"}(Si||(Si={}));var _i=function(e,t){return parseFloat(e.split(", ")[t])},Di=function(e,t){return function(n,r){var o=r.transform;if("none"===o||!o)return 0;var i=o.match(/^matrix3d\((.+)\)$/);if(i)return _i(i[1],t);var a=o.match(/^matrix\((.+)\)$/);return a?_i(a[1],e):0}},Vi=new Set(["x","y","z"]),Wi=$.filter((function(e){return!Vi.has(e)})),Ni={width:function(e){var t=e.x;return t.max-t.min},height:function(e){var t=e.y;return t.max-t.min},top:function(e,t){var n=t.top;return parseFloat(n)},left:function(e,t){var n=t.left;return parseFloat(n)},bottom:function(e,t){var n=e.y,r=t.top;return parseFloat(r)+(n.max-n.min)},right:function(e,t){var n=e.x,r=t.left;return parseFloat(r)+(n.max-n.min)},x:Di(4,13),y:Di(5,14)};function Ri(e,t,n,r){return function(e){return Object.keys(e).some(Li)}(t)?function(e,t,n,r){void 0===n&&(n={}),void 0===r&&(r={}),t=o({},t),r=o({},r);var i=Object.keys(t).filter(Li),a=[],s=!1,c=[];if(i.forEach((function(o){var i=e.getValue(o);if(e.hasValue(o)){var u,l=n[o],f=t[o],p=Sr(l);if(Re(f))for(var d=f.length,m=null===f[0]?1:0;m<d;m++)u?Sr(f[m]):(u=Sr(f[m]))===p||Mi(p)&&Mi(u);else u=Sr(f);if(p!==u)if(Mi(p)&&Mi(u)){var v=i.get();"string"==typeof v&&i.set(parseFloat(v)),"string"==typeof f?t[o]=parseFloat(f):Array.isArray(f)&&u===ae&&(t[o]=f.map(parseFloat))}else(null==p?void 0:p.transform)&&(null==u?void 0:u.transform)&&(0===l||0===f)?0===l?i.set(u.transform(l)):t[o]=p.transform(f):(s||(a=function(e){var t=[];return Wi.forEach((function(n){var r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))})),t.length&&e.syncRender(),t}(e),s=!0),c.push(o),r[o]=void 0!==r[o]?r[o]:t[o],Ai(i,f))}})),c.length){var l=function(e,t,n){var r=t.measureViewportBox(),o=t.getInstance(),i=getComputedStyle(o),a=i.display,s={top:i.top,left:i.left,bottom:i.bottom,right:i.right,transform:i.transform};"none"===a&&t.setStaticValue("display",e.display||"block"),t.syncRender();var u=t.measureViewportBox();return n.forEach((function(n){var o=t.getValue(n);Ai(o,Ni[n](r,s)),e[n]=Ni[n](u,i)})),e}(t,e,c);return a.length&&a.forEach((function(t){var n=u(t,2),r=n[0],o=n[1];e.getValue(r).set(o)})),e.syncRender(),{target:l,transitionEnd:r}}return{target:t,transitionEnd:r}}(e,t,n,r):{target:t,transitionEnd:r}}var zi={treeType:"dom",readValueFromInstance:function(e,t){if(B(t)){var n=fr(t);return n&&n.default||0}var r,o=(r=e,window.getComputedStyle(r));return(X(t)?o.getPropertyValue(t):o[t])||0},sortNodePosition:function(e,t){return 2&e.compareDocumentPosition(t)?1:-1},getBaseTarget:function(e,t){var n;return null===(n=e.style)||void 0===n?void 0:n[t]},measureViewportBox:function(e,t){return uo(e,t.transformPagePoint)},resetTransform:function(e,t,n){var r=n.transformTemplate;t.style.transform=r?r({},""):"none",e.scheduleRender()},restoreTransform:function(e,t){e.style.transform=t.style.transform},removeValueFromRenderState:function(e,t){var n=t.vars,r=t.style;delete n[e],delete r[e]},makeTargetAnimatable:function(e,t,n,r){var i=n.transformValues;void 0===r&&(r=!0);var a=t.transition,u=t.transitionEnd,c=s(t,["transition","transitionEnd"]),l=function(e,t,n){var r,o,i={};for(var a in e)i[a]=null!==(r=Lr(a,t))&&void 0!==r?r:null===(o=n.getValue(a))||void 0===o?void 0:o.get();return i}(c,a||{},e);if(i&&(u&&(u=i(u)),c&&(c=i(c)),l&&(l=i(l))),r){!function(e,t,n){var r,o,i,a,s=Object.keys(t).filter((function(t){return!e.hasValue(t)})),u=s.length;if(u)for(var c=0;c<u;c++){var l=s[c],f=t[l],p=null;Array.isArray(f)&&(p=f[0]),null===p&&(p=null!==(o=null!==(r=n[l])&&void 0!==r?r:e.readValue(l))&&void 0!==o?o:t[l]),null!=p&&("string"==typeof p&&gr(p)?p=parseFloat(p):!Tr(p)&&Yt.test(f)&&(p=pr(l,f)),e.addValue(l,wr(p)),null!==(i=(a=n)[l])&&void 0!==i||(a[l]=p),e.setBaseTarget(l,p))}}(e,c,l);var f=function(e,t,n,r){var i=function(e,t,n){var r,i=s(t,[]),a=e.getInstance();if(!(a instanceof HTMLElement))return{target:i,transitionEnd:n};for(var u in n&&(n=o({},n)),e.forEachValue((function(e){var t=e.get();if(Zo(t)){var n=Ko(t,a);n&&e.set(n)}})),i){var c=i[u];if(Zo(c)){var l=Ko(c,a);l&&(i[u]=l,n&&(null!==(r=n[u])&&void 0!==r||(n[u]=c)))}}return{target:i,transitionEnd:n}}(e,t,r);return Ri(e,t=i.target,n,r=i.transitionEnd)}(e,c,l,u);u=f.transitionEnd,c=f.target}return o({transition:a,transitionEnd:u},c)},scrapeMotionValuesFromProps:Ve,build:function(e,t,n,r,o,i,a){void 0!==e.isVisible&&(t.style.visibility=e.isVisible?"visible":"hidden");var s=r.isEnabled&&o.isHydrated;ve(t,n,r,o,i,a.transformTemplate,s?gi:void 0,s?bi:void 0)},render:Me},$i=wi(zi),Hi=wi(o(o({},zi),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var n;return B(t)?(null===(n=fr(t))||void 0===n?void 0:n.default)||0:(t=_e.has(t)?t:Ae(t),e.getAttribute(t))},scrapeMotionValuesFromProps:We,build:function(e,t,n,r,o,i,a){var s=r.isEnabled&&o.isHydrated;Se(t,n,r,o,i,a.transformTemplate,s?gi:void 0,s?bi:void 0)},render:De})),Ii=function(e,t){return N(e)?Hi(t,{enableHardwareAcceleration:!1}):$i(t,{enableHardwareAcceleration:!0})},Bi=o(o(o(o({},$r),yt),Yo),vi),Fi=V((function(e,t){return function(e,t,n,r){var i=t.forwardMotionProps,a=void 0!==i&&i,s=N(e)?Fe:Ue;return o(o({},s),{preloadedFeatures:n,useRender:je(a),createVisualElement:r,Component:e})}(e,t,Bi,Ii)})),Ui=i(4184),qi=i.n(Ui);const Yi=function(){return t().createElement("svg",{width:"24",height:"30",viewBox:"0 0 24 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t().createElement("path",{d:"M23.2736 11.6825C23.2736 12.7582 23.2736 13.8292 23.2736 14.9097C23.2736 15.9901 23.2736 17.0612 23.3012 18.1369C23.3513 19.0326 23.1835 19.9271 22.813 20.7404C22.4295 21.5232 21.7718 22.13 20.9708 22.4399C20.075 22.8095 19.2621 22.953 18.4538 22.7812C17.6455 22.6094 16.8418 22.1245 15.9553 21.2394C14.3863 19.6623 12.8219 18.0765 11.2621 16.4821C9.70237 14.8877 8.1449 13.2973 6.58974 11.7107C6.34588 11.4268 6.07167 11.1718 5.77224 10.9504C5.60974 10.8442 5.42434 10.7801 5.23213 10.7637C5.03992 10.7473 4.84669 10.7791 4.6692 10.8562C4.46956 10.9198 4.28806 11.0321 4.1404 11.1834C3.99275 11.3348 3.88339 11.5206 3.82177 11.7248C3.72145 12.1283 3.68032 12.5448 3.69972 12.9606C3.69972 14.7182 3.70509 16.4782 3.71584 18.2405C3.71584 20.0012 3.71584 21.7714 3.6859 23.5227C3.66773 23.9637 3.74233 24.4036 3.90467 24.8126C4.06056 25.1923 4.3428 25.5033 4.70144 25.6907C4.88357 25.7895 5.08563 25.844 5.29178 25.8497C5.49793 25.8554 5.70258 25.8123 5.88969 25.7236C6.27623 25.5419 6.62673 25.2889 6.92365 24.9774C7.63752 24.2681 8.34755 23.5541 9.05374 22.8353C9.75994 22.1166 10.4546 21.39 11.1378 20.6556C11.2702 20.4971 11.4319 20.3668 11.6137 20.2723C11.7955 20.1778 11.9937 20.1208 12.1971 20.1048C12.5808 20.1066 12.9543 20.2309 13.2656 20.4602C13.5603 20.658 13.6962 21.084 13.687 21.5336C13.6889 21.9834 13.5291 22.4181 13.2379 22.7553C12.3905 23.631 11.55 24.5184 10.7049 25.3941C9.85972 26.2697 8.99387 27.136 8.10499 27.9669C7.45222 28.6004 6.61409 28.9973 5.71928 29.0968C4.81951 29.1678 3.91699 29.0008 3.09869 28.6119C2.34978 28.3105 1.71255 27.7761 1.27717 27.0842C0.869348 26.3642 0.671209 25.5402 0.70607 24.7091C0.726795 22.5387 0.724493 20.3684 0.72219 18.1958C0.719887 16.0231 0.72219 13.8551 0.72219 11.6825C0.704055 10.8192 0.879729 9.96324 1.23572 9.18024C1.61178 8.40876 2.26285 7.814 3.05493 7.51837C3.87619 7.17299 4.7785 7.08133 5.6502 7.25473C6.54851 7.47018 7.36281 7.95649 7.98754 8.65061C9.56727 10.2984 11.1608 11.9351 12.7682 13.5609C14.3755 15.1867 15.9783 16.8156 17.5764 18.4476C17.7943 18.6911 18.0447 18.9019 18.3202 19.0738C18.4586 19.1553 18.6129 19.2048 18.7721 19.2186C18.9313 19.2325 19.0915 19.2103 19.2414 19.1538C19.5304 19.0654 19.7926 18.9034 20.0036 18.683C20.218 18.4201 20.3252 18.083 20.303 17.7415C20.2799 15.7571 20.2799 13.7822 20.2799 11.8072C20.2799 9.83228 20.2799 7.85498 20.2799 5.88004C20.2945 5.58169 20.2482 5.2835 20.1441 5.00438C20.0783 4.86278 19.9859 4.73584 19.8721 4.63081C19.7583 4.52579 19.6254 4.44476 19.4809 4.39236C19.2001 4.25656 18.8934 4.18583 18.5828 4.18522C18.263 4.20798 17.9584 4.33318 17.7123 4.54302C16.8424 5.24139 16.0235 6.00373 15.2621 6.82397C14.4907 7.62901 13.7377 8.45523 12.9317 9.22732C12.6318 9.55796 12.2335 9.77808 11.7987 9.85346C11.6074 9.86436 11.4162 9.83036 11.2398 9.75406C11.0634 9.67776 10.9064 9.56119 10.7808 9.41328C10.6324 9.26574 10.5162 9.08771 10.44 8.89092C10.3638 8.69413 10.3293 8.48306 10.3387 8.27163C10.369 7.8159 10.5654 7.38835 10.8891 7.07348C11.7043 6.24176 12.5179 5.41004 13.3301 4.57832C14.1422 3.7466 14.9597 2.92116 15.7825 2.102C16.2981 1.61189 16.9191 1.25256 17.5956 1.05302C18.272 0.853477 18.9849 0.819312 19.6766 0.953284C20.3709 1.05328 21.0326 1.31833 21.6085 1.72714C22.1844 2.13595 22.6585 2.67713 22.9926 3.30721C23.0951 3.51003 23.1725 3.72511 23.2229 3.94747C23.272 4.17227 23.2952 4.40216 23.292 4.63246C23.2828 5.80472 23.2828 6.98168 23.292 8.16335C23.3012 9.34502 23.2951 10.5181 23.2736 11.6825Z",fill:"white"}))};var Zi=i(5697),Xi=i.n(Zi),Ki=["style","weight","lineHeight","component","children","textTransform","className"];function Gi(){return Gi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Gi.apply(this,arguments)}var Ji={thin:"thin",extralight:"extralight",light:"light",normal:"normal",medium:"medium",semibold:"semibold",bold:"bold",extrabold:"extrabold",black:"black"},Qi={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",body1:"body1",body2:"body2",body3:"body3"},ea={none:"none",tight:"tight",snug:"snug",normal:"normal",relaxed:"relaxed",loose:"loose"},ta={none:"none",capitalize:"capitalize",uppercase:"uppercase",lowercase:"lowercase",fullwidth:"fullwidth",inherit:"inherit",initial:"initial",revert:"revert",unset:"unset"},na={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",body1:"p",body2:"p",body3:"p"},ra={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",p:"p",span:"span",b:"b",strong:"strong",i:"i",em:"em",mark:"mark",del:"del",s:"s",ins:"ins",sub:"sub",sup:"sup",u:"u",code:"code",blockquote:"blockquote"},oa=t().forwardRef((function(e,n){var r,o,i,a=e.style,s=void 0===a?"body1":a,u=e.weight,c=e.lineHeight,l=e.component,f=e.children,p=e.textTransform,d=e.className,m=void 0===d?"":d,v=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Ki),h=l?ra[l]:s?na[s]:"p";return t().createElement(h,Gi({ref:n,className:qi()((r={"neeto-ui-typography":!0,"neeto-ui-text-h1":s===Qi.h1,"neeto-ui-text-h2":s===Qi.h2,"neeto-ui-text-h3":s===Qi.h3,"neeto-ui-text-h4":s===Qi.h4,"neeto-ui-text-h5":s===Qi.h5,"neeto-ui-text-h6":s===Qi.h6,"neeto-ui-text-body1":s===Qi.body1,"neeto-ui-text-body2":s===Qi.body2,"neeto-ui-text-body3":s===Qi.body3,"neeto-ui-text-transform-none":p===ta.none,"neeto-ui-text-transform-capitalize":p===ta.capitalize,"neeto-ui-text-transform-uppercase":p===ta.uppercase,"neeto-ui-text-transform-lowercase":p===ta.lowercase,"neeto-ui-text-transform-fullwidth":p===ta.fullwidth,"neeto-ui-text-transform-inherit":p===ta.inherit,"neeto-ui-text-transform-initial":p===ta.initial,"neeto-ui-text-transform-revert":p===ta.revert,"neeto-ui-text-transform-unset":p===ta.unset,"neeto-ui-font-thin":u===Ji.thin,"neeto-ui-font-extralight":u===Ji.extralight,"neeto-ui-font-light":u===Ji.light,"neeto-ui-font-normal":u===Ji.normal,"neeto-ui-font-medium":u===Ji.medium,"neeto-ui-font-semibold":u===Ji.semibold,"neeto-ui-font-bold":u===Ji.bold,"neeto-ui-font-extrabold":u===Ji.extrabold,"neeto-ui-font-black":u===Ji.black,"neeto-ui-leading-none":c===ea.none,"neeto-ui-leading-tight":c===ea.tight,"neeto-ui-leading-snug":c===ea.snug,"neeto-ui-leading-normal":c===ea.normal,"neeto-ui-leading-relaxed":c===ea.relaxed,"neeto-ui-leading-loose":c===ea.loose},o=m,i=m,o in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i,r))},v),f)}));oa.propTypes={style:Xi().oneOf(Object.values(Qi)),weight:Xi().oneOf(Object.values(Ji)),component:Xi().oneOf(Object.values(ra)),textTransform:Xi().oneOf(Object.values(ta)),lineHeight:Xi().oneOf(Object.values(ea)),otherProps:Xi().object};const ia=oa,aa=function(e){var n=e.organizationInfo,r=e.collapsed,o=null==n?void 0:n.logo,i=o;return t().createElement("div",{className:"flex items-center neeto-ui-sidebar__header","data-cy":"sidebar-info"},t().createElement("div",{className:"flex items-center justify-center flex-shrink-0 neeto-ui-sidebar__logo"},o?i:t().createElement(Yi,null)),!r&&n&&t().createElement("div",{className:"neeto-ui-sidebar__info"},t().createElement(ia,{component:"h2",style:"h5",weight:"semibold",className:"m-0","data-cy":"sidebar-info-title",title:n.name},n.name),t().createElement(ia,{component:"p",style:"body3",weight:"normal",className:"m-0 neeto-ui-text-gray-500","data-cy":"sidebar-info-subtitle",title:n.subdomain},n.subdomain)))};var sa=i(6128);function ua(){return ua=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ua.apply(this,arguments)}function ca(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var la={exports:{}},fa={},pa=Object.getOwnPropertySymbols,da=Object.prototype.hasOwnProperty,ma=Object.prototype.propertyIsEnumerable;function va(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var ha=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==r.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,r,o=va(e),i=1;i<arguments.length;i++){for(var a in n=Object(arguments[i]))da.call(n,a)&&(o[a]=n[a]);if(pa){r=pa(n);for(var s=0;s<r.length;s++)ma.call(n,r[s])&&(o[r[s]]=n[r[s]])}}return o},ya=ha,ga="function"==typeof Symbol&&Symbol.for,ba=ga?Symbol.for("react.element"):60103,ka=ga?Symbol.for("react.portal"):60106,Ca=ga?Symbol.for("react.fragment"):60107,xa=ga?Symbol.for("react.strict_mode"):60108,wa=ga?Symbol.for("react.profiler"):60114,Oa=ga?Symbol.for("react.provider"):60109,Ea=ga?Symbol.for("react.context"):60110,Sa=ga?Symbol.for("react.forward_ref"):60112,Pa=ga?Symbol.for("react.suspense"):60113,Ta=ga?Symbol.for("react.memo"):60115,ja=ga?Symbol.for("react.lazy"):60116,La="function"==typeof Symbol&&Symbol.iterator;function Aa(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Ma={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_a={};function Da(e,t,n){this.props=e,this.context=t,this.refs=_a,this.updater=n||Ma}function Va(){}function Wa(e,t,n){this.props=e,this.context=t,this.refs=_a,this.updater=n||Ma}Da.prototype.isReactComponent={},Da.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(Aa(85));this.updater.enqueueSetState(this,e,t,"setState")},Da.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},Va.prototype=Da.prototype;var Na=Wa.prototype=new Va;Na.constructor=Wa,ya(Na,Da.prototype),Na.isPureReactComponent=!0;var Ra={current:null},za=Object.prototype.hasOwnProperty,$a={key:!0,ref:!0,__self:!0,__source:!0};function Ha(e,t,n){var r,o={},i=null,a=null;if(null!=t)for(r in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(i=""+t.key),t)za.call(t,r)&&!$a.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(1===s)o.children=n;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];o.children=u}if(e&&e.defaultProps)for(r in s=e.defaultProps)void 0===o[r]&&(o[r]=s[r]);return{$$typeof:ba,type:e,key:i,ref:a,props:o,_owner:Ra.current}}function Ia(e){return"object"==typeof e&&null!==e&&e.$$typeof===ba}var Ba=/\/+/g,Fa=[];function Ua(e,t,n,r){if(Fa.length){var o=Fa.pop();return o.result=e,o.keyPrefix=t,o.func=n,o.context=r,o.count=0,o}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function qa(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>Fa.length&&Fa.push(e)}function Ya(e,t,n,r){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null);var i=!1;if(null===e)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case ba:case ka:i=!0}}if(i)return n(r,e,""===t?"."+Xa(e,0):t),1;if(i=0,t=""===t?".":t+":",Array.isArray(e))for(var a=0;a<e.length;a++){var s=t+Xa(o=e[a],a);i+=Ya(o,s,n,r)}else if("function"==typeof(s=null===e||"object"!=typeof e?null:"function"==typeof(s=La&&e[La]||e["@@iterator"])?s:null))for(e=s.call(e),a=0;!(o=e.next()).done;)i+=Ya(o=o.value,s=t+Xa(o,a++),n,r);else if("object"===o)throw n=""+e,Error(Aa(31,"[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n,""));return i}function Za(e,t,n){return null==e?0:Ya(e,"",t,n)}function Xa(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function Ka(e,t){e.func.call(e.context,t,e.count++)}function Ga(e,t,n){var r=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?Ja(e,r,n,(function(e){return e})):null!=e&&(Ia(e)&&(e=function(e,t){return{$$typeof:ba,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(Ba,"$&/")+"/")+n)),r.push(e))}function Ja(e,t,n,r,o){var i="";null!=n&&(i=(""+n).replace(Ba,"$&/")+"/"),Za(e,Ga,t=Ua(t,i,r,o)),qa(t)}var Qa={current:null};function es(){var e=Qa.current;if(null===e)throw Error(Aa(321));return e}var ts={ReactCurrentDispatcher:Qa,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:Ra,IsSomeRendererActing:{current:!1},assign:ya};fa.Children={map:function(e,t,n){if(null==e)return e;var r=[];return Ja(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;Za(e,Ka,t=Ua(null,null,t,n)),qa(t)},count:function(e){return Za(e,(function(){return null}),null)},toArray:function(e){var t=[];return Ja(e,t,null,(function(e){return e})),t},only:function(e){if(!Ia(e))throw Error(Aa(143));return e}},fa.Component=Da,fa.Fragment=Ca,fa.Profiler=wa,fa.PureComponent=Wa,fa.StrictMode=xa,fa.Suspense=Pa,fa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ts,fa.cloneElement=function(e,t,n){if(null==e)throw Error(Aa(267,e));var r=ya({},e.props),o=e.key,i=e.ref,a=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,a=Ra.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(u in t)za.call(t,u)&&!$a.hasOwnProperty(u)&&(r[u]=void 0===t[u]&&void 0!==s?s[u]:t[u])}var u=arguments.length-2;if(1===u)r.children=n;else if(1<u){s=Array(u);for(var c=0;c<u;c++)s[c]=arguments[c+2];r.children=s}return{$$typeof:ba,type:e.type,key:o,ref:i,props:r,_owner:a}},fa.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:Ea,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:Oa,_context:e},e.Consumer=e},fa.createElement=Ha,fa.createFactory=function(e){var t=Ha.bind(null,e);return t.type=e,t},fa.createRef=function(){return{current:null}},fa.forwardRef=function(e){return{$$typeof:Sa,render:e}},fa.isValidElement=Ia,fa.lazy=function(e){return{$$typeof:ja,_ctor:e,_status:-1,_result:null}},fa.memo=function(e,t){return{$$typeof:Ta,type:e,compare:void 0===t?null:t}},fa.useCallback=function(e,t){return es().useCallback(e,t)},fa.useContext=function(e,t){return es().useContext(e,t)},fa.useDebugValue=function(){},fa.useEffect=function(e,t){return es().useEffect(e,t)},fa.useImperativeHandle=function(e,t,n){return es().useImperativeHandle(e,t,n)},fa.useLayoutEffect=function(e,t){return es().useLayoutEffect(e,t)},fa.useMemo=function(e,t){return es().useMemo(e,t)},fa.useReducer=function(e,t,n){return es().useReducer(e,t,n)},fa.useRef=function(e){return es().useRef(e)},fa.useState=function(e){return es().useState(e)},fa.version="16.14.0",Function.call.bind(Object.prototype.hasOwnProperty),la.exports=fa;var ns=la.exports,rs={exports:{}},os={exports:{}},is={},as="function"==typeof Symbol&&Symbol.for,ss=as?Symbol.for("react.element"):60103,us=as?Symbol.for("react.portal"):60106,cs=as?Symbol.for("react.fragment"):60107,ls=as?Symbol.for("react.strict_mode"):60108,fs=as?Symbol.for("react.profiler"):60114,ps=as?Symbol.for("react.provider"):60109,ds=as?Symbol.for("react.context"):60110,ms=as?Symbol.for("react.async_mode"):60111,vs=as?Symbol.for("react.concurrent_mode"):60111,hs=as?Symbol.for("react.forward_ref"):60112,ys=as?Symbol.for("react.suspense"):60113,gs=as?Symbol.for("react.suspense_list"):60120,bs=as?Symbol.for("react.memo"):60115,ks=as?Symbol.for("react.lazy"):60116,Cs=as?Symbol.for("react.block"):60121,xs=as?Symbol.for("react.fundamental"):60117,ws=as?Symbol.for("react.responder"):60118,Os=as?Symbol.for("react.scope"):60119;function Es(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case ss:switch(e=e.type){case ms:case vs:case cs:case fs:case ls:case ys:return e;default:switch(e=e&&e.$$typeof){case ds:case hs:case ks:case bs:case ps:return e;default:return t}}case us:return t}}}function Ss(e){return Es(e)===vs}function Ps(){}function Ts(){}is.AsyncMode=ms,is.ConcurrentMode=vs,is.ContextConsumer=ds,is.ContextProvider=ps,is.Element=ss,is.ForwardRef=hs,is.Fragment=cs,is.Lazy=ks,is.Memo=bs,is.Portal=us,is.Profiler=fs,is.StrictMode=ls,is.Suspense=ys,is.isAsyncMode=function(e){return Ss(e)||Es(e)===ms},is.isConcurrentMode=Ss,is.isContextConsumer=function(e){return Es(e)===ds},is.isContextProvider=function(e){return Es(e)===ps},is.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===ss},is.isForwardRef=function(e){return Es(e)===hs},is.isFragment=function(e){return Es(e)===cs},is.isLazy=function(e){return Es(e)===ks},is.isMemo=function(e){return Es(e)===bs},is.isPortal=function(e){return Es(e)===us},is.isProfiler=function(e){return Es(e)===fs},is.isStrictMode=function(e){return Es(e)===ls},is.isSuspense=function(e){return Es(e)===ys},is.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===cs||e===vs||e===fs||e===ls||e===ys||e===gs||"object"==typeof e&&null!==e&&(e.$$typeof===ks||e.$$typeof===bs||e.$$typeof===ps||e.$$typeof===ds||e.$$typeof===hs||e.$$typeof===xs||e.$$typeof===ws||e.$$typeof===Os||e.$$typeof===Cs)},is.typeOf=Es,os.exports=is,os.exports,Function.call.bind(Object.prototype.hasOwnProperty),Ts.resetWarningCache=Ps,rs.exports=function(){function e(e,t,n,r,o,i){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==i){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Ts,resetWarningCache:Ps};return n.PropTypes=n,n}();var js=rs.exports,Ls=["size","color","strokeWidth"];function As(e){var t=e.size,n=e.color;e.strokeWidth;var r=ca(e,Ls);return ns.createElement("svg",ua({viewBox:"0 0 32 32",fill:"none",height:t,width:t},r),ns.createElement("g",{clipPath:"url(#clip0_2512_1485)"},ns.createElement("path",{d:"M10.6667 13.3333H6.66667C5.19333 13.3333 4 12.14 4 10.6667V6.66667C4 5.19333 5.19333 4 6.66667 4H10.6667C12.14 4 13.3333 5.19333 13.3333 6.66667V10.6667C13.3333 12.14 12.14 13.3333 10.6667 13.3333ZM25.3333 28.3333H21.3333C19.86 28.3333 18.6667 27.14 18.6667 25.6667V21.6667C18.6667 20.1933 19.86 19 21.3333 19H25.3333C26.8067 19 28 20.1933 28 21.6667V25.6667C28 27.14 26.8067 28.3333 25.3333 28.3333ZM10.6667 28H6.66667C5.19333 28 4 26.8067 4 25.3333V21.3333C4 19.86 5.19333 18.6667 6.66667 18.6667H10.6667C12.14 18.6667 13.3333 19.86 13.3333 21.3333V25.3333C13.3333 26.8067 12.14 28 10.6667 28Z",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M28.9823 7.59329C28.9823 8.0504 28.9823 8.50552 28.9823 8.96464C28.9823 9.42376 28.9823 9.87888 28.9958 10.336C29.0201 10.7166 28.9385 11.0967 28.7583 11.4423C28.5717 11.775 28.2517 12.0328 27.8619 12.1645C27.426 12.3215 27.0305 12.3825 26.6372 12.3095C26.244 12.2365 25.8529 12.0304 25.4215 11.6543C24.6581 10.9842 23.897 10.3103 23.1381 9.63282C22.3791 8.95531 21.6213 8.27946 20.8647 7.60529C20.746 7.48467 20.6126 7.37629 20.4669 7.2822C20.3878 7.23707 20.2976 7.20984 20.2041 7.20287C20.1106 7.1959 20.0166 7.2094 19.9302 7.24219C19.8331 7.26919 19.7448 7.31691 19.6729 7.38122C19.6011 7.44553 19.5479 7.5245 19.5179 7.61129C19.4691 7.78274 19.4491 7.95972 19.4585 8.13643C19.4585 8.88329 19.4611 9.63115 19.4663 10.38C19.4663 11.1282 19.4663 11.8804 19.4518 12.6246C19.4429 12.812 19.4792 12.9989 19.5582 13.1727C19.6341 13.3341 19.7714 13.4662 19.9459 13.5458C20.0345 13.5879 20.1328 13.611 20.2331 13.6134C20.3334 13.6159 20.433 13.5975 20.524 13.5598C20.7121 13.4826 20.8827 13.3751 21.0271 13.2428C21.3745 12.9413 21.7199 12.6379 22.0635 12.3325C22.4072 12.0271 22.7452 11.7184 23.0776 11.4063C23.142 11.3389 23.2207 11.2836 23.3091 11.2434C23.3976 11.2032 23.494 11.179 23.593 11.1722C23.7797 11.173 23.9614 11.2258 24.1129 11.3233C24.2563 11.4073 24.3224 11.5883 24.3179 11.7794C24.3188 11.9705 24.2411 12.1552 24.0994 12.2985C23.6871 12.6706 23.2781 13.0477 22.8669 13.4198C22.4557 13.7919 22.0344 14.16 21.6019 14.5131C21.2843 14.7823 20.8765 14.9509 20.4411 14.9932C20.0033 15.0234 19.5642 14.9524 19.1661 14.7872C18.8017 14.6591 18.4916 14.432 18.2798 14.138C18.0814 13.8321 17.9849 13.4819 18.0019 13.1287C18.012 12.2065 18.0109 11.2842 18.0098 10.361C18.0086 9.43777 18.0098 8.51653 18.0098 7.59329C18.0009 7.22647 18.0864 6.86273 18.2596 6.53001C18.4426 6.20218 18.7594 5.94945 19.1448 5.82382C19.5444 5.67706 19.9834 5.63811 20.4075 5.71179C20.8446 5.80335 21.2408 6.00999 21.5448 6.30495C22.3134 7.00513 23.0888 7.70065 23.8708 8.39149C24.6529 9.08234 25.4328 9.77452 26.2103 10.468C26.3163 10.5715 26.4382 10.6611 26.5723 10.7341C26.6396 10.7688 26.7146 10.7898 26.7921 10.7957C26.8696 10.8015 26.9475 10.7921 27.0204 10.7681C27.161 10.7306 27.2887 10.6617 27.3913 10.5681C27.4956 10.4563 27.5478 10.3131 27.537 10.168C27.5258 9.32474 27.5258 8.48552 27.5258 7.6463C27.5258 6.80708 27.5258 5.96686 27.5258 5.12764C27.5328 5.00086 27.5103 4.87415 27.4596 4.75554C27.4277 4.69537 27.3827 4.64143 27.3273 4.5968C27.272 4.55217 27.2073 4.51774 27.137 4.49548C27.0003 4.43777 26.8511 4.40771 26.7 4.40745C26.5444 4.41713 26.3962 4.47033 26.2765 4.55949C25.8532 4.85626 25.4547 5.1802 25.0843 5.52875C24.7089 5.87084 24.3425 6.22193 23.9504 6.55001C23.8045 6.69051 23.6107 6.78405 23.3991 6.81608C23.3061 6.82071 23.213 6.80627 23.1272 6.77384C23.0414 6.74142 22.965 6.69189 22.9039 6.62903C22.8317 6.56634 22.7751 6.49069 22.7381 6.40706C22.701 6.32344 22.6842 6.23375 22.6888 6.14391C22.7035 5.95025 22.799 5.76857 22.9565 5.63477C23.3532 5.28135 23.7491 4.92792 24.1442 4.5745C24.5394 4.22107 24.9371 3.87031 25.3375 3.52222C25.5884 3.31396 25.8905 3.16127 26.2197 3.07648C26.5488 2.99168 26.8956 2.97717 27.2322 3.0341C27.57 3.07659 27.892 3.18921 28.1722 3.36293C28.4524 3.53665 28.6831 3.76661 28.8456 4.03436C28.8955 4.12054 28.9331 4.21194 28.9577 4.30643C28.9816 4.40195 28.9929 4.49964 28.9913 4.5975C28.9868 5.09563 28.9868 5.59576 28.9913 6.09789C28.9958 6.60003 28.9928 7.09849 28.9823 7.59329Z",fill:n})),ns.createElement("defs",null,ns.createElement("clipPath",{id:"clip0_2512_1485"},ns.createElement("rect",{width:"32",height:"32",fill:n}))))}As.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},As.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};const Ms=function(e){var n=e.icon,r=e.label,o=e.description;return t().createElement("div",{className:"flex flex-col p-3 sidebar-featured-tooltip w-36"},t().createElement("div",{className:"flex items-center justify-center w-10 h-10 mx-auto mb-2 rounded-lg sidebar-featured-tooltip__icon-wrapp bg-gray-50"},n),t().createElement(ia,{lineHeight:"tight",style:"h5",weight:"semibold",className:"mb-1 text-center neeto-ui-text-black"},r),o&&t().createElement(ia,{lineHeight:"normal",style:"body3",className:"text-center neeto-ui-text-gray-600"},o))};function _s(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect();return{width:n.width/1,height:n.height/1,top:n.top/1,right:n.right/1,bottom:n.bottom/1,left:n.left/1,x:n.left/1,y:n.top/1}}function Ds(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Vs(e){var t=Ds(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ws(e){return e instanceof Ds(e).Element||e instanceof Element}function Ns(e){return e instanceof Ds(e).HTMLElement||e instanceof HTMLElement}function Rs(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Ds(e).ShadowRoot||e instanceof ShadowRoot)}function zs(e){return e?(e.nodeName||"").toLowerCase():null}function $s(e){return((Ws(e)?e.ownerDocument:e.document)||window.document).documentElement}function Hs(e){return _s($s(e)).left+Vs(e).scrollLeft}function Is(e){return Ds(e).getComputedStyle(e)}function Bs(e){var t=Is(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Fs(e,t,n){void 0===n&&(n=!1);var r,o,i=Ns(t),a=Ns(t)&&function(e){var t=e.getBoundingClientRect(),n=t.width/e.offsetWidth||1,r=t.height/e.offsetHeight||1;return 1!==n||1!==r}(t),s=$s(t),u=_s(e,a),c={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!n)&&(("body"!==zs(t)||Bs(s))&&(c=(r=t)!==Ds(r)&&Ns(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:Vs(r)),Ns(t)?((l=_s(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):s&&(l.x=Hs(s))),{x:u.left+c.scrollLeft-l.x,y:u.top+c.scrollTop-l.y,width:u.width,height:u.height}}function Us(e){var t=_s(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function qs(e){return"html"===zs(e)?e:e.assignedSlot||e.parentNode||(Rs(e)?e.host:null)||$s(e)}function Ys(e){return["html","body","#document"].indexOf(zs(e))>=0?e.ownerDocument.body:Ns(e)&&Bs(e)?e:Ys(qs(e))}function Zs(e,t){var n;void 0===t&&(t=[]);var r=Ys(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=Ds(r),a=o?[i].concat(i.visualViewport||[],Bs(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(Zs(qs(a)))}function Xs(e){return["table","td","th"].indexOf(zs(e))>=0}function Ks(e){return Ns(e)&&"fixed"!==Is(e).position?e.offsetParent:null}function Gs(e){for(var t=Ds(e),n=Ks(e);n&&Xs(n)&&"static"===Is(n).position;)n=Ks(n);return n&&("html"===zs(n)||"body"===zs(n)&&"static"===Is(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&Ns(e)&&"fixed"===Is(e).position)return null;for(var n=qs(e);Ns(n)&&["html","body"].indexOf(zs(n))<0;){var r=Is(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var Js="top",Qs="bottom",eu="right",tu="left",nu="auto",ru=[Js,Qs,eu,tu],ou="start",iu="end",au="viewport",su="popper",uu=ru.reduce((function(e,t){return e.concat([t+"-"+ou,t+"-"+iu])}),[]),cu=[].concat(ru,[nu]).reduce((function(e,t){return e.concat([t,t+"-"+ou,t+"-"+iu])}),[]),lu=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function fu(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var pu={placement:"bottom",modifiers:[],strategy:"absolute"};function du(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function mu(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?pu:o;return function(e,t,n){void 0===n&&(n=i);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},pu,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},u=[],c=!1,l={state:s,setOptions:function(n){var o="function"==typeof n?n(s.options):n;f(),s.options=Object.assign({},i,s.options,o),s.scrollParents={reference:Ws(e)?Zs(e):e.contextElement?Zs(e.contextElement):[],popper:Zs(t)};var a,c,p=function(e){var t=fu(e);return lu.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((a=[].concat(r,s.options.modifiers),c=a.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return s.orderedModifiers=p.filter((function(e){return e.enabled})),s.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:s,name:t,instance:l,options:r});u.push(i||function(){})}})),l.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,n=e.popper;if(du(t,n)){s.rects={reference:Fs(t,Gs(n),"fixed"===s.options.strategy),popper:Us(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var o=s.orderedModifiers[r],i=o.fn,a=o.options,u=void 0===a?{}:a,f=o.name;"function"==typeof i&&(s=i({state:s,options:u,name:f,instance:l})||s)}else s.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){l.forceUpdate(),e(s)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(o())}))}))),a}),destroy:function(){f(),c=!0}};if(!du(e,t))return l;function f(){u.forEach((function(e){return e()})),u=[]}return l.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),l}}var vu={passive:!0};const hu={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,u=Ds(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,vu)})),s&&u.addEventListener("resize",n.update,vu),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,vu)})),s&&u.removeEventListener("resize",n.update,vu)}},data:{}};function yu(e){return e.split("-")[0]}function gu(e){return e.split("-")[1]}function bu(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ku(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?yu(o):null,a=o?gu(o):null,s=n.x+n.width/2-r.width/2,u=n.y+n.height/2-r.height/2;switch(i){case Js:t={x:s,y:n.y-r.height};break;case Qs:t={x:s,y:n.y+n.height};break;case eu:t={x:n.x+n.width,y:u};break;case tu:t={x:n.x-r.width,y:u};break;default:t={x:n.x,y:n.y}}var c=i?bu(i):null;if(null!=c){var l="y"===c?"height":"width";switch(a){case ou:t[c]=t[c]-(n[l]/2-r[l]/2);break;case iu:t[c]=t[c]+(n[l]/2-r[l]/2)}}return t}const Cu={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=ku({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var xu=Math.max,wu=Math.min,Ou=Math.round,Eu={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Su(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,u=e.gpuAcceleration,c=e.adaptive,l=e.roundOffsets,f=!0===l?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:Ou(Ou(t*r)/r)||0,y:Ou(Ou(n*r)/r)||0}}(a):"function"==typeof l?l(a):a,p=f.x,d=void 0===p?0:p,m=f.y,v=void 0===m?0:m,h=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),g=tu,b=Js,k=window;if(c){var C=Gs(n),x="clientHeight",w="clientWidth";C===Ds(n)&&"static"!==Is(C=$s(n)).position&&"absolute"===s&&(x="scrollHeight",w="scrollWidth"),C=C,o!==Js&&(o!==tu&&o!==eu||i!==iu)||(b=Qs,v-=C[x]-r.height,v*=u?1:-1),o!==tu&&(o!==Js&&o!==Qs||i!==iu)||(g=eu,d-=C[w]-r.width,d*=u?1:-1)}var O,E=Object.assign({position:s},c&&Eu);return u?Object.assign({},E,((O={})[b]=y?"0":"",O[g]=h?"0":"",O.transform=(k.devicePixelRatio||1)<=1?"translate("+d+"px, "+v+"px)":"translate3d("+d+"px, "+v+"px, 0)",O)):Object.assign({},E,((t={})[b]=y?v+"px":"",t[g]=h?d+"px":"",t.transform="",t))}const Pu={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];Ns(o)&&zs(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});Ns(r)&&zs(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},Tu={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=cu.reduce((function(e,n){return e[n]=function(e,t,n){var r=yu(e),o=[tu,Js].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[tu,eu].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],u=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}};var ju={left:"right",right:"left",bottom:"top",top:"bottom"};function Lu(e){return e.replace(/left|right|bottom|top/g,(function(e){return ju[e]}))}var Au={start:"end",end:"start"};function Mu(e){return e.replace(/start|end/g,(function(e){return Au[e]}))}function _u(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Rs(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Du(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Vu(e,t){return t===au?Du(function(e){var t=Ds(e),n=$s(e),r=t.visualViewport,o=n.clientWidth,i=n.clientHeight,a=0,s=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,s=r.offsetTop)),{width:o,height:i,x:a+Hs(e),y:s}}(e)):Ns(t)?function(e){var t=_s(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):Du(function(e){var t,n=$s(e),r=Vs(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=xu(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=xu(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+Hs(e),u=-r.scrollTop;return"rtl"===Is(o||n).direction&&(s+=xu(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:u}}($s(e)))}function Wu(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Nu(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function Ru(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.boundary,a=void 0===i?"clippingParents":i,s=n.rootBoundary,u=void 0===s?au:s,c=n.elementContext,l=void 0===c?su:c,f=n.altBoundary,p=void 0!==f&&f,d=n.padding,m=void 0===d?0:d,v=Wu("number"!=typeof m?m:Nu(m,ru)),h=l===su?"reference":su,y=e.rects.popper,g=e.elements[p?h:l],b=function(e,t,n){var r="clippingParents"===t?function(e){var t=Zs(qs(e)),n=["absolute","fixed"].indexOf(Is(e).position)>=0&&Ns(e)?Gs(e):e;return Ws(n)?t.filter((function(e){return Ws(e)&&_u(e,n)&&"body"!==zs(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),i=o[0],a=o.reduce((function(t,n){var r=Vu(e,n);return t.top=xu(r.top,t.top),t.right=wu(r.right,t.right),t.bottom=wu(r.bottom,t.bottom),t.left=xu(r.left,t.left),t}),Vu(e,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(Ws(g)?g:g.contextElement||$s(e.elements.popper),a,u),k=_s(e.elements.reference),C=ku({reference:k,element:y,strategy:"absolute",placement:o}),x=Du(Object.assign({},y,C)),w=l===su?x:k,O={top:b.top-w.top+v.top,bottom:w.bottom-b.bottom+v.bottom,left:b.left-w.left+v.left,right:w.right-b.right+v.right},E=e.modifiersData.offset;if(l===su&&E){var S=E[o];Object.keys(O).forEach((function(e){var t=[eu,Qs].indexOf(e)>=0?1:-1,n=[Js,Qs].indexOf(e)>=0?"y":"x";O[e]+=S[n]*t}))}return O}const zu={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,u=n.fallbackPlacements,c=n.padding,l=n.boundary,f=n.rootBoundary,p=n.altBoundary,d=n.flipVariations,m=void 0===d||d,v=n.allowedAutoPlacements,h=t.options.placement,y=yu(h),g=u||(y!==h&&m?function(e){if(yu(e)===nu)return[];var t=Lu(e);return[Mu(e),t,Mu(t)]}(h):[Lu(h)]),b=[h].concat(g).reduce((function(e,n){return e.concat(yu(n)===nu?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,u=n.allowedAutoPlacements,c=void 0===u?cu:u,l=gu(r),f=l?s?uu:uu.filter((function(e){return gu(e)===l})):ru,p=f.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=f);var d=p.reduce((function(t,n){return t[n]=Ru(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[yu(n)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}(t,{placement:n,boundary:l,rootBoundary:f,padding:c,flipVariations:m,allowedAutoPlacements:v}):n)}),[]),k=t.rects.reference,C=t.rects.popper,x=new Map,w=!0,O=b[0],E=0;E<b.length;E++){var S=b[E],P=yu(S),T=gu(S)===ou,j=[Js,Qs].indexOf(P)>=0,L=j?"width":"height",A=Ru(t,{placement:S,boundary:l,rootBoundary:f,altBoundary:p,padding:c}),M=j?T?eu:tu:T?Qs:Js;k[L]>C[L]&&(M=Lu(M));var _=Lu(M),D=[];if(i&&D.push(A[P]<=0),s&&D.push(A[M]<=0,A[_]<=0),D.every((function(e){return e}))){O=S,w=!1;break}x.set(S,D)}if(w)for(var V=function(e){var t=b.find((function(t){var n=x.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return O=t,"break"},W=m?3:1;W>0&&"break"!==V(W);W--);t.placement!==O&&(t.modifiersData[r]._skip=!0,t.placement=O,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function $u(e,t,n){return xu(e,wu(t,n))}function Hu(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Iu(e){return[Js,eu,Qs,tu].some((function(t){return e[t]>=0}))}var Bu=mu({defaultModifiers:[hu,Cu,{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,u=void 0===s||s,c={placement:yu(t.placement),variation:gu(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Su(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:u})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Su(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Pu,Tu,zu,{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,u=n.boundary,c=n.rootBoundary,l=n.altBoundary,f=n.padding,p=n.tether,d=void 0===p||p,m=n.tetherOffset,v=void 0===m?0:m,h=Ru(t,{boundary:u,rootBoundary:c,padding:f,altBoundary:l}),y=yu(t.placement),g=gu(t.placement),b=!g,k=bu(y),C="x"===k?"y":"x",x=t.modifiersData.popperOffsets,w=t.rects.reference,O=t.rects.popper,E="function"==typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,S={x:0,y:0};if(x){if(i||s){var P="y"===k?Js:tu,T="y"===k?Qs:eu,j="y"===k?"height":"width",L=x[k],A=x[k]+h[P],M=x[k]-h[T],_=d?-O[j]/2:0,D=g===ou?w[j]:O[j],V=g===ou?-O[j]:-w[j],W=t.elements.arrow,N=d&&W?Us(W):{width:0,height:0},R=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},z=R[P],$=R[T],H=$u(0,w[j],N[j]),I=b?w[j]/2-_-H-z-E:D-H-z-E,B=b?-w[j]/2+_+H+$+E:V+H+$+E,F=t.elements.arrow&&Gs(t.elements.arrow),U=F?"y"===k?F.clientTop||0:F.clientLeft||0:0,q=t.modifiersData.offset?t.modifiersData.offset[t.placement][k]:0,Y=x[k]+I-q-U,Z=x[k]+B-q;if(i){var X=$u(d?wu(A,Y):A,L,d?xu(M,Z):M);x[k]=X,S[k]=X-L}if(s){var K="x"===k?Js:tu,G="x"===k?Qs:eu,J=x[C],Q=J+h[K],ee=J-h[G],te=$u(d?wu(Q,Y):Q,J,d?xu(ee,Z):ee);x[C]=te,S[C]=te-J}}t.modifiersData[r]=S}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=yu(n.placement),u=bu(s),c=[tu,eu].indexOf(s)>=0?"height":"width";if(i&&a){var l=function(e,t){return Wu("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Nu(e,ru))}(o.padding,n),f=Us(i),p="y"===u?Js:tu,d="y"===u?Qs:eu,m=n.rects.reference[c]+n.rects.reference[u]-a[u]-n.rects.popper[c],v=a[u]-n.rects.reference[u],h=Gs(i),y=h?"y"===u?h.clientHeight||0:h.clientWidth||0:0,g=m/2-v/2,b=l[p],k=y-f[c]-l[d],C=y/2-f[c]/2+g,x=$u(b,C,k),w=u;n.modifiersData[r]=((t={})[w]=x,t.centerOffset=x-C,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&_u(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Ru(t,{elementContext:"reference"}),s=Ru(t,{altBoundary:!0}),u=Hu(a,r),c=Hu(s,o,i),l=Iu(u),f=Iu(c);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:l,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":f})}}]}),Fu="tippy-content",Uu="tippy-arrow",qu="tippy-svg-arrow",Yu={passive:!0,capture:!0},Zu=function(){return document.body};function Xu(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function Ku(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function Gu(e,t){return"function"==typeof e?e.apply(void 0,t):e}function Ju(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout((function(){e(r)}),t)};var n}function Qu(e){return[].concat(e)}function ec(e,t){-1===e.indexOf(t)&&e.push(t)}function tc(e){return[].slice.call(e)}function nc(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function rc(){return document.createElement("div")}function oc(e){return["Element","Fragment"].some((function(t){return Ku(e,t)}))}function ic(e){return Ku(e,"MouseEvent")}function ac(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function sc(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function uc(e){var t,n=Qu(e)[0];return null!=n&&null!=(t=n.ownerDocument)&&t.body?n.ownerDocument:document}function cc(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[r](t,n)}))}function lc(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var fc={isTouch:!1},pc=0;function dc(){fc.isTouch||(fc.isTouch=!0,window.performance&&document.addEventListener("mousemove",mc))}function mc(){var e=performance.now();e-pc<20&&(fc.isTouch=!1,document.removeEventListener("mousemove",mc)),pc=e}function vc(){var e,t=document.activeElement;if((e=t)&&e._tippy&&e._tippy.reference===e){var n=t._tippy;t.blur&&!n.state.isVisible&&t.blur()}}var hc=!("undefined"==typeof window||"undefined"==typeof document||!window.msCrypto),yc=Object.assign({appendTo:Zu,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),gc=Object.keys(yc);function bc(e){var t=(e.plugins||[]).reduce((function(t,n){var r,o=n.name,i=n.defaultValue;return o&&(t[o]=void 0!==e[o]?e[o]:null!=(r=yc[o])?r:i),t}),{});return Object.assign({},e,t)}function kc(e,t){var n=Object.assign({},t,{content:Gu(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(bc(Object.assign({},yc,{plugins:t}))):gc).reduce((function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(e){t[n]=r}return t}),{})}(e,t.plugins));return n.aria=Object.assign({},yc.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}function Cc(e,t){e.innerHTML=t}function xc(e){var t=rc();return!0===e?t.className=Uu:(t.className=qu,oc(e)?t.appendChild(e):Cc(t,e)),t}function wc(e,t){oc(t.content)?(Cc(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?Cc(e,t.content):e.textContent=t.content)}function Oc(e){var t=e.firstElementChild,n=tc(t.children);return{box:t,content:n.find((function(e){return e.classList.contains(Fu)})),arrow:n.find((function(e){return e.classList.contains(Uu)||e.classList.contains(qu)})),backdrop:n.find((function(e){return e.classList.contains("tippy-backdrop")}))}}function Ec(e){var t=rc(),n=rc();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=rc();function o(n,r){var o=Oc(t),i=o.box,a=o.content,s=o.arrow;r.theme?i.setAttribute("data-theme",r.theme):i.removeAttribute("data-theme"),"string"==typeof r.animation?i.setAttribute("data-animation",r.animation):i.removeAttribute("data-animation"),r.inertia?i.setAttribute("data-inertia",""):i.removeAttribute("data-inertia"),i.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?i.setAttribute("role",r.role):i.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||wc(a,e.props),r.arrow?s?n.arrow!==r.arrow&&(i.removeChild(s),i.appendChild(xc(r.arrow))):i.appendChild(xc(r.arrow)):s&&i.removeChild(s)}return r.className=Fu,r.setAttribute("data-state","hidden"),wc(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props),{popper:t,onUpdate:o}}Ec.$$tippy=!0;var Sc=1,Pc=[],Tc=[];function jc(e,t){var n,r,o,i,a,s,u,c,l=kc(e,Object.assign({},yc,bc(nc(t)))),f=!1,p=!1,d=!1,m=!1,v=[],h=Ju(Y,l.interactiveDebounce),y=Sc++,g=(c=l.plugins).filter((function(e,t){return c.indexOf(e)===t})),b={id:y,reference:e,popper:rc(),popperInstance:null,props:l,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:g,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(o)},setProps:function(t){if(!b.state.isDestroyed){_("onBeforeUpdate",[b,t]),U();var n=b.props,r=kc(e,Object.assign({},n,nc(t),{ignoreAttributes:!0}));b.props=r,F(),n.interactiveDebounce!==r.interactiveDebounce&&(W(),h=Ju(Y,r.interactiveDebounce)),n.triggerTarget&&!r.triggerTarget?Qu(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):r.triggerTarget&&e.removeAttribute("aria-expanded"),V(),M(),x&&x(n,r),b.popperInstance&&(G(),Q().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)}))),_("onAfterUpdate",[b,t])}},setContent:function(e){b.setProps({content:e})},show:function(){var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=fc.isTouch&&!b.props.touch,o=Xu(b.props.duration,0,yc.duration);if(!(e||t||n||r||T().hasAttribute("disabled")||(_("onShow",[b],!1),!1===b.props.onShow(b)))){if(b.state.isVisible=!0,P()&&(C.style.visibility="visible"),M(),$(),b.state.isMounted||(C.style.transition="none"),P()){var i=L();ac([i.box,i.content],0)}var a,u,c;s=function(){var e;if(b.state.isVisible&&!m){if(m=!0,C.offsetHeight,C.style.transition=b.props.moveTransition,P()&&b.props.animation){var t=L(),n=t.box,r=t.content;ac([n,r],o),sc([n,r],"visible")}D(),V(),ec(Tc,b),null==(e=b.popperInstance)||e.forceUpdate(),_("onMount",[b]),b.props.animation&&P()&&function(e,t){I(e,(function(){b.state.isShown=!0,_("onShown",[b])}))}(o)}},u=b.props.appendTo,c=T(),(a=b.props.interactive&&u===Zu||"parent"===u?c.parentNode:Gu(u,[c])).contains(C)||a.appendChild(C),b.state.isMounted=!0,G()}},hide:function(){var e=!b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=Xu(b.props.duration,1,yc.duration);if(!(e||t||n)&&(_("onHide",[b],!1),!1!==b.props.onHide(b))){if(b.state.isVisible=!1,b.state.isShown=!1,m=!1,f=!1,P()&&(C.style.visibility="hidden"),W(),H(),M(!0),P()){var o=L(),i=o.box,a=o.content;b.props.animation&&(ac([i,a],r),sc([i,a],"hidden"))}D(),V(),b.props.animation?P()&&function(e,t){I(e,(function(){!b.state.isVisible&&C.parentNode&&C.parentNode.contains(C)&&t()}))}(r,b.unmount):b.unmount()}},hideWithInteractivity:function(e){j().addEventListener("mousemove",h),ec(Pc,h),h(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){b.state.isVisible&&b.hide(),b.state.isMounted&&(J(),Q().forEach((function(e){e._tippy.unmount()})),C.parentNode&&C.parentNode.removeChild(C),Tc=Tc.filter((function(e){return e!==b})),b.state.isMounted=!1,_("onHidden",[b]))},destroy:function(){b.state.isDestroyed||(b.clearDelayTimeouts(),b.unmount(),U(),delete e._tippy,b.state.isDestroyed=!0,_("onDestroy",[b]))}};if(!l.render)return b;var k=l.render(b),C=k.popper,x=k.onUpdate;C.setAttribute("data-tippy-root",""),C.id="tippy-"+b.id,b.popper=C,e._tippy=b,C._tippy=b;var w=g.map((function(e){return e.fn(b)})),O=e.hasAttribute("aria-expanded");return F(),V(),M(),_("onCreate",[b]),l.showOnCreate&&ee(),C.addEventListener("mouseenter",(function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()})),C.addEventListener("mouseleave",(function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&j().addEventListener("mousemove",h)})),b;function E(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function S(){return"hold"===E()[0]}function P(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function T(){return u||e}function j(){var e=T().parentNode;return e?uc(e):document}function L(){return Oc(C)}function A(e){return b.state.isMounted&&!b.state.isVisible||fc.isTouch||i&&"focus"===i.type?0:Xu(b.props.delay,e?0:1,yc.delay)}function M(e){void 0===e&&(e=!1),C.style.pointerEvents=b.props.interactive&&!e?"":"none",C.style.zIndex=""+b.props.zIndex}function _(e,t,n){var r;void 0===n&&(n=!0),w.forEach((function(n){n[e]&&n[e].apply(n,t)})),n&&(r=b.props)[e].apply(r,t)}function D(){var t=b.props.aria;if(t.content){var n="aria-"+t.content,r=C.id;Qu(b.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(b.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var o=t&&t.replace(r,"").trim();o?e.setAttribute(n,o):e.removeAttribute(n)}}))}}function V(){!O&&b.props.aria.expanded&&Qu(b.props.triggerTarget||e).forEach((function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===T()?"true":"false"):e.removeAttribute("aria-expanded")}))}function W(){j().removeEventListener("mousemove",h),Pc=Pc.filter((function(e){return e!==h}))}function N(t){if(!fc.isTouch||!d&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!b.props.interactive||!lc(C,n)){if(Qu(b.props.triggerTarget||e).some((function(e){return lc(e,n)}))){if(fc.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else _("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),p=!0,setTimeout((function(){p=!1})),b.state.isMounted||H())}}}function R(){d=!0}function z(){d=!1}function $(){var e=j();e.addEventListener("mousedown",N,!0),e.addEventListener("touchend",N,Yu),e.addEventListener("touchstart",z,Yu),e.addEventListener("touchmove",R,Yu)}function H(){var e=j();e.removeEventListener("mousedown",N,!0),e.removeEventListener("touchend",N,Yu),e.removeEventListener("touchstart",z,Yu),e.removeEventListener("touchmove",R,Yu)}function I(e,t){var n=L().box;function r(e){e.target===n&&(cc(n,"remove",r),t())}if(0===e)return t();cc(n,"remove",a),cc(n,"add",r),a=r}function B(t,n,r){void 0===r&&(r=!1),Qu(b.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,r),v.push({node:e,eventType:t,handler:n,options:r})}))}function F(){var e;S()&&(B("touchstart",q,{passive:!0}),B("touchend",Z,{passive:!0})),(e=b.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(B(e,q),e){case"mouseenter":B("mouseleave",Z);break;case"focus":B(hc?"focusout":"blur",X);break;case"focusin":B("focusout",X)}}))}function U(){v.forEach((function(e){var t=e.node,n=e.eventType,r=e.handler,o=e.options;t.removeEventListener(n,r,o)})),v=[]}function q(e){var t,n=!1;if(b.state.isEnabled&&!K(e)&&!p){var r="focus"===(null==(t=i)?void 0:t.type);i=e,u=e.currentTarget,V(),!b.state.isVisible&&ic(e)&&Pc.forEach((function(t){return t(e)})),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||f)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:ee(e),"click"===e.type&&(f=!n),n&&!r&&te(e)}}function Y(e){var t=e.target,n=T().contains(t)||C.contains(t);if("mousemove"!==e.type||!n){var r=Q().concat(C).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:l}:null})).filter(Boolean);(function(e,t){var n=t.clientX,r=t.clientY;return e.every((function(e){var t=e.popperRect,o=e.popperState,i=e.props.interactiveBorder,a=o.placement.split("-")[0],s=o.modifiersData.offset;if(!s)return!0;var u="bottom"===a?s.top.y:0,c="top"===a?s.bottom.y:0,l="right"===a?s.left.x:0,f="left"===a?s.right.x:0,p=t.top-r+u>i,d=r-t.bottom-c>i,m=t.left-n+l>i,v=n-t.right-f>i;return p||d||m||v}))})(r,e)&&(W(),te(e))}}function Z(e){K(e)||b.props.trigger.indexOf("click")>=0&&f||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function X(e){b.props.trigger.indexOf("focusin")<0&&e.target!==T()||b.props.interactive&&e.relatedTarget&&C.contains(e.relatedTarget)||te(e)}function K(e){return!!fc.isTouch&&S()!==e.type.indexOf("touch")>=0}function G(){J();var t=b.props,n=t.popperOptions,r=t.placement,o=t.offset,i=t.getReferenceClientRect,a=t.moveTransition,u=P()?Oc(C).arrow:null,c=i?{getBoundingClientRect:i,contextElement:i.contextElement||T()}:e,l=[{name:"offset",options:{offset:o}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(P()){var n=L().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}}];P()&&u&&l.push({name:"arrow",options:{element:u,padding:3}}),l.push.apply(l,(null==n?void 0:n.modifiers)||[]),b.popperInstance=Bu(c,C,Object.assign({},n,{placement:r,onFirstUpdate:s,modifiers:l}))}function J(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function Q(){return tc(C.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&_("onTrigger",[b,e]),$();var t=A(!0),r=E(),o=r[0],i=r[1];fc.isTouch&&"hold"===o&&i&&(t=i),t?n=setTimeout((function(){b.show()}),t):b.show()}function te(e){if(b.clearDelayTimeouts(),_("onUntrigger",[b,e]),b.state.isVisible){if(!(b.props.trigger.indexOf("mouseenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&f)){var t=A(!1);t?r=setTimeout((function(){b.state.isVisible&&b.hide()}),t):o=requestAnimationFrame((function(){b.hide()}))}}else H()}}function Lc(e,t){void 0===t&&(t={});var n=yc.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",dc,Yu),window.addEventListener("blur",vc);var r,o=Object.assign({},t,{plugins:n}),i=(r=e,oc(r)?[r]:function(e){return Ku(e,"NodeList")}(r)?tc(r):Array.isArray(r)?r:tc(document.querySelectorAll(r))).reduce((function(e,t){var n=t&&jc(t,o);return n&&e.push(n),e}),[]);return oc(e)?i[0]:i}Lc.defaultProps=yc,Lc.setDefaultProps=function(e){Object.keys(e).forEach((function(t){yc[t]=e[t]}))},Lc.currentInput=fc,Object.assign({},Pu,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}});var Ac={clientX:0,clientY:0},Mc=[];function _c(e){var t=e.clientX,n=e.clientY;Ac={clientX:t,clientY:n}}var Dc={name:"followCursor",defaultValue:!1,fn:function(e){var t=e.reference,n=uc(e.props.triggerTarget||t),r=!1,o=!1,i=!0,a=e.props;function s(){return"initial"===e.props.followCursor&&e.state.isVisible}function u(){n.addEventListener("mousemove",f)}function c(){n.removeEventListener("mousemove",f)}function l(){r=!0,e.setProps({getReferenceClientRect:null}),r=!1}function f(n){var r=!n.target||t.contains(n.target),o=e.props.followCursor,i=n.clientX,a=n.clientY,s=t.getBoundingClientRect(),u=i-s.left,c=a-s.top;!r&&e.props.interactive||e.setProps({getReferenceClientRect:function(){var e=t.getBoundingClientRect(),n=i,r=a;"initial"===o&&(n=e.left+u,r=e.top+c);var s="horizontal"===o?e.top:r,l="vertical"===o?e.right:n,f="horizontal"===o?e.bottom:r,p="vertical"===o?e.left:n;return{width:l-p,height:f-s,top:s,right:l,bottom:f,left:p}}})}function p(){e.props.followCursor&&(Mc.push({instance:e,doc:n}),function(e){e.addEventListener("mousemove",_c)}(n))}function d(){0===(Mc=Mc.filter((function(t){return t.instance!==e}))).filter((function(e){return e.doc===n})).length&&function(e){e.removeEventListener("mousemove",_c)}(n)}return{onCreate:p,onDestroy:d,onBeforeUpdate:function(){a=e.props},onAfterUpdate:function(t,n){var i=n.followCursor;r||void 0!==i&&a.followCursor!==i&&(d(),i?(p(),!e.state.isMounted||o||s()||u()):(c(),l()))},onMount:function(){e.props.followCursor&&!o&&(i&&(f(Ac),i=!1),s()||u())},onTrigger:function(e,t){ic(t)&&(Ac={clientX:t.clientX,clientY:t.clientY}),o="focus"===t.type},onHidden:function(){e.props.followCursor&&(l(),c(),i=!0)}}}};Lc.setDefaultProps({render:Ec});const Vc=Lc;var Wc=i(7111);function Nc(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var Rc="undefined"!=typeof window&&"undefined"!=typeof document;function zc(e,t){e&&("function"==typeof e&&e(t),{}.hasOwnProperty.call(e,"current")&&(e.current=t))}function $c(){return Rc&&document.createElement("div")}function Hc(e,t){if(e===t)return!0;if("object"==typeof e&&null!=e&&"object"==typeof t&&null!=t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e){if(!t.hasOwnProperty(n))return!1;if(!Hc(e[n],t[n]))return!1}return!0}return!1}function Ic(e){var t=[];return e.forEach((function(e){t.find((function(t){return Hc(e,t)}))||t.push(e)})),t}var Bc=Rc?e.useLayoutEffect:e.useEffect;function Fc(e,t,n){n.split(/\s+/).forEach((function(n){n&&e.classList[t](n)}))}var Uc={name:"className",defaultValue:"",fn:function(e){var t=e.popper.firstElementChild,n=function(){var t;return!!(null==(t=e.props.render)?void 0:t.$$tippy)};function r(){e.props.className&&!n()||Fc(t,"add",e.props.className)}return{onCreate:r,onBeforeUpdate:function(){n()&&Fc(t,"remove",e.props.className)},onAfterUpdate:r}}};function qc(n){return function(r){var o,i,a=r.children,s=r.content,u=r.visible,c=r.singleton,l=r.render,f=r.reference,p=r.disabled,d=void 0!==p&&p,m=r.ignoreAttributes,v=void 0===m||m,h=(r.__source,r.__self,Nc(r,["children","content","visible","singleton","render","reference","disabled","ignoreAttributes","__source","__self"])),y=void 0!==u,g=void 0!==c,b=(0,e.useState)(!1),k=b[0],C=b[1],x=(0,e.useState)({}),w=x[0],O=x[1],E=(0,e.useState)(),S=E[0],P=E[1],T=(o=function(){return{container:$c(),renders:1}},(i=(0,e.useRef)()).current||(i.current="function"==typeof o?o():o),i.current),j=Object.assign({ignoreAttributes:v},h,{content:T.container});y&&(j.trigger="manual",j.hideOnClick=!1),g&&(d=!0);var L=j,A=j.plugins||[];l&&(L=Object.assign({},j,{plugins:g&&null!=c.data?[].concat(A,[{fn:function(){return{onTrigger:function(e,t){var n=c.data.children.find((function(e){return e.instance.reference===t.currentTarget}));e.state.$$activeSingletonInstance=n.instance,P(n.content)}}}}]):A,render:function(){return{popper:T.container}}}));var M=[f].concat(a?[a.type]:[]);return Bc((function(){var e=f;f&&f.hasOwnProperty("current")&&(e=f.current);var t=n(e||T.ref||$c(),Object.assign({},L,{plugins:[Uc].concat(j.plugins||[])}));return T.instance=t,d&&t.disable(),u&&t.show(),g&&c.hook({instance:t,content:s,props:L,setSingletonContent:P}),C(!0),function(){t.destroy(),null==c||c.cleanup(t)}}),M),Bc((function(){var e,t,n,r,o;if(1!==T.renders){var i=T.instance;i.setProps((t=i.props,n=L,Object.assign({},n,{popperOptions:Object.assign({},t.popperOptions,n.popperOptions,{modifiers:Ic([].concat((null==(r=t.popperOptions)?void 0:r.modifiers)||[],(null==(o=n.popperOptions)?void 0:o.modifiers)||[]))})}))),null==(e=i.popperInstance)||e.forceUpdate(),d?i.disable():i.enable(),y&&(u?i.show():i.hide()),g&&c.hook({instance:i,content:s,props:L,setSingletonContent:P})}else T.renders++})),Bc((function(){var e;if(l){var t=T.instance;t.setProps({popperOptions:Object.assign({},t.props.popperOptions,{modifiers:[].concat(((null==(e=t.props.popperOptions)?void 0:e.modifiers)||[]).filter((function(e){return"$$tippyReact"!==e.name})),[{name:"$$tippyReact",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t,n=e.state,r=null==(t=n.modifiersData)?void 0:t.hide;w.placement===n.placement&&w.referenceHidden===(null==r?void 0:r.isReferenceHidden)&&w.escaped===(null==r?void 0:r.hasPopperEscaped)||O({placement:n.placement,referenceHidden:null==r?void 0:r.isReferenceHidden,escaped:null==r?void 0:r.hasPopperEscaped}),n.attributes.popper={}}}])})})}}),[w.placement,w.referenceHidden,w.escaped].concat(M)),t().createElement(t().Fragment,null,a?(0,e.cloneElement)(a,{ref:function(e){T.ref=e,zc(a.ref,e)}}):null,k&&(0,Wc.createPortal)(l?l(function(e){var t={"data-placement":e.placement};return e.referenceHidden&&(t["data-reference-hidden"]=""),e.escaped&&(t["data-escaped"]=""),t}(w),S,T.instance):s,T.container))}}var Yc=function(n,r){return(0,e.forwardRef)((function(o,i){var a=o.children,s=Nc(o,["children"]);return t().createElement(n,Object.assign({},r,s),a?(0,e.cloneElement)(a,{ref:function(e){zc(i,e),zc(a.ref,e)}}):null)}))};const Zc=Yc(qc(Vc));var Xc=["content","children","theme","disabled","placement","position","interactive","hideAfter"];function Kc(){return Kc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Kc.apply(this,arguments)}var Gc=function(e){var n=e.content,r=e.children,o=e.theme,i=void 0===o?"dark":o,a=e.disabled,s=void 0!==a&&a,u=e.placement,c=e.position,l=void 0===c?"auto":c,f=e.interactive,p=void 0!==f&&f,d=e.hideAfter,m=void 0===d?-1:d,v=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Xc),h={};return m>0&&(h.onShow=function(e){return setTimeout((function(){return e.hide()}),m)}),t().createElement(Zc,Kc({role:"tooltip",theme:i,content:n,arrow:"<svg width='12' height='6' viewBox='0 0 10 5' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M10 5H0.926697L3.95208 1.63847C4.74227 0.760478 6.11722 0.754951 6.91445 1.62656L10 5Z' /></svg>",disabled:s,animation:"scale-subtle",placement:u||l,plugins:[Dc],interactive:p,duration:[100,200],zIndex:100001},h,v),r)};Gc.propTypes={content:Xi().node,children:Xi().node,theme:Xi().oneOf(["dark","light"]),disabled:Xi().bool,position:Xi().string,interactive:Xi().bool,hideAfter:Xi().number};const Jc=Gc;var Qc={default:"default",featured:"featured"},el={expanded:{maxWidth:320},collapsed:{maxWidth:64}},tl={organizationInfo:Xi().shape({logo:Xi().element,name:Xi().string,subdomain:Xi().string}),tooltipStyle:Xi().oneOf(Object.keys(Qc)),navLinks:Xi().arrayOf(Xi().shape({label:Xi().string,description:Xi().string,to:Xi().string,icon:Xi().oneOfType([Xi().element,Xi().func])})).isRequired,footerLinks:Xi().arrayOf(Xi().shape({label:Xi().string,description:Xi().string,to:Xi().string,href:Xi().string,icon:Xi().oneOfType([Xi().element,Xi().func])})),profileInfo:Xi().shape({name:Xi().string,email:Xi().string,customContent:Xi().element,changelogProps:Xi().shape({onClick:Xi().func,label:Xi().string,icon:Xi().oneOfType([Xi().element,Xi().func])}),helpProps:Xi().shape({onClick:Xi().func,label:Xi().string,icon:Xi().oneOfType([Xi().element,Xi().func])}),topLinks:Xi().arrayOf(Xi().shape({onClick:Xi().func,label:Xi().string,icon:Xi().oneOfType([Xi().element,Xi().func])})),bottomLinks:Xi().arrayOf(Xi().shape({onClick:Xi().func,label:Xi().string,icon:Xi().oneOfType([Xi().element,Xi().func])}))}),isCollapsed:Xi().bool,showAppSwitcher:Xi().bool,onAppSwitcherToggle:Xi().func,appName:Xi().string};const nl=function(e){var n=e.tooltipStyle,r=e.description,o=e.icon,i=e.collapsed,a=e.label,s=e.children,u=n===Qc.featured?t().createElement(Ms,{description:r,icon:o,label:a}):a;return i?t().createElement(Jc,{position:"right",distance:"20rem",content:u,theme:n===Qc.featured?"light":"dark",className:qi()({"sidebar-featured-tooltip__content":n===Qc.featured}),delay:[400,40],duration:[200,200]},s):s},rl=function(e){var n=e.appName,r=e.collapsed,o=e.tooltipStyle,i=e.onAppSwitcherToggle;return t().createElement(nl,{collapsed:r,label:"App Switcher",tooltipStyle:o,icon:t().createElement(As,null)},t().createElement("button",{onClick:i,"data-cy":"app-switcher-button",className:"flex items-center justify-start w-full shadow-none select-none neeto-ui-sidebar__link neeto-ui-sidebar__link--app-switcher neeto-ui-sidebar__link--button"},t().createElement("span",{className:"flex items-center justify-center neeto-ui-sidebar__link-icon"},t().createElement(As,{size:24})),!r&&t().createElement(ia,{component:"span",style:"body2",weight:"medium",className:"text-left neeto-ui-sidebar__link-label"},n)))};var ol=["size","color","strokeWidth"];function il(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,ol);return ns.createElement("svg",ua({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),ns.createElement("path",{d:"M6 9L12 15L18 9",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}function al(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function sl(e){return function t(n){return 0===arguments.length||al(n)?t:e.apply(this,arguments)}}il.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},il.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};var ul=sl((function(e){return null==e}));const cl=ul,ll=i.p+"36bdad5d6f5ec143521a5bed31c71282.png";var fl=["size","user","isSquare","status","onClick","className"];function pl(){return pl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pl.apply(this,arguments)}function dl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ml={small:24,medium:32,large:40,xlarge:64},vl=["#E5E7EB","#FECACA","#FDE68A","#A7F3D0","#BFDBFE","#C7D2FE","#DDD6FE","#FBCFE8"];function hl(n){var r,o,i=n.size,a=n.user,s=n.isSquare,u=n.status,c=n.onClick,l=n.className,f=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(n,fl),p=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return dl(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?dl(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,e.useState)(!1),2),d=p[0],m=p[1],v=a.name,h=void 0===v?"":v,y=a.imageUrl,g="medium"===i,b="large"===i,k="xlarge"===i,C=(r=h.trim().split(" ")).reduce((function(e,t,n){return 0!==n&&n!==r.length-1||(e="".concat(e).concat(t.charAt(0).toUpperCase())),e}),""),x={height:ml[i],width:ml[i],backgroundColor:(o=(C.charCodeAt(0)||0)+(C.charCodeAt(1)||0),vl[o%65%vl.length]||vl[0])},w=qi()("neeto-ui-avatar",{"neeto-ui-avatar--medium":g,"neeto-ui-avatar--large":b,"neeto-ui-avatar--xlarge":k,"neeto-ui-avatar--round":!s,hidden:!d}),O=qi()("neeto-ui-avatar__text",{"neeto-ui-avatar__text-medium":g,"neeto-ui-avatar__text-large":b,"neeto-ui-avatar__text-xlarge":k}),E=qi()("neeto-ui-avatar__status","".concat(u),{"neeto-ui-avatar__status-medium":g,"neeto-ui-avatar__status-large":b,"neeto-ui-avatar__status-xlarge":k,"neeto-ui-avatar__status-square":s}),S=function(){return cl(u)?t().Fragment:t().createElement("span",{className:E})},P=function(){return t().createElement("span",{className:O},C)},T=C&&!y&&!d;return t().createElement("span",pl({onClick:c,style:x,className:qi()("neeto-ui-avatar--container",{"neeto-ui-avatar--container-round":!s},l)},f),t().createElement(S,null),T?t().createElement(P,null):t().createElement("img",{className:w,onLoad:function(){return m(!0)},onError:function(){return m(!1)},src:y||ll,alt:"avatar-".concat(C)}))}hl.defaultProps={size:"medium",user:{imageUrl:"",name:""},isSquare:!1,onClick:function(){},status:null},hl.propTypes={size:Xi().oneOf(Object.keys(ml)),user:Xi().shape({imageUrl:Xi().string,name:Xi().string}),isSquare:Xi().bool,onClick:Xi().func,status:Xi().oneOf(Object.keys({online:"online",idle:"idle",offline:"offline"})),className:Xi().string};const yl=hl,gl=(0,e.forwardRef)((function(e,n){var r,o=e.collapsed,i=e.profileInfo,a=e.onClick,s=i["data-cy"]||"profile-section";return t().createElement("button",{ref:n,className:"w-full text-left neeto-ui-sidebar__profile-wrapper",onClick:a,"data-cy":s},t().createElement("span",{className:"flex items-center flex-shrink-0 w-full neeto-ui-sidebar__profile"},t().createElement(yl,{user:i,size:"large",className:"flex-shrink-0"}),!o&&t().createElement("span",{className:"neeto-ui-sidebar__profile-content"},t().createElement(ia,{component:"h2",style:"h5",weight:"semibold",className:"m-0",title:i.name},(18,(r=i.name)&&r.length>18?r.substring(0,15)+"...":r)),t().createElement(il,{size:16,className:"neeto-ui-sidebar__profile-drop-icon",color:"#68737D"}))))}));var bl=["size","color","strokeWidth"];function kl(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,bl);return ns.createElement("svg",ua({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),ns.createElement("path",{d:"M7.7328 20.829C7.48434 20.9587 7.20452 21.0162 6.92506 20.9949C6.6456 20.9737 6.37768 20.8746 6.15167 20.7089C5.92566 20.5431 5.7506 20.3174 5.64634 20.0573C5.54208 19.7971 5.5128 19.5129 5.5618 19.237L6.3708 14.6L2.9648 11.336C2.76077 11.1414 2.61571 10.8933 2.54624 10.6201C2.47678 10.3468 2.48573 10.0595 2.57206 9.79116C2.65839 9.52277 2.8186 9.28415 3.03434 9.10265C3.25008 8.92115 3.5126 8.80413 3.7918 8.765L8.5208 8.089L10.6558 3.83C10.7799 3.57959 10.9715 3.36884 11.2089 3.2215C11.4464 3.07415 11.7203 2.99608 11.9998 2.99608C12.2793 2.99608 12.5532 3.07415 12.7906 3.2215C13.0281 3.36884 13.2197 3.57959 13.3438 3.83L15.4788 8.089L20.2078 8.765C20.487 8.80413 20.7495 8.92115 20.9653 9.10265C21.181 9.28415 21.3412 9.52277 21.4275 9.79116C21.5139 10.0595 21.5228 10.3468 21.4533 10.6201C21.3839 10.8933 21.2388 11.1414 21.0348 11.336L17.6288 14.6L18.4378 19.238C18.4868 19.5139 18.4575 19.7981 18.3532 20.0583C18.249 20.3184 18.0739 20.5441 17.8479 20.7099C17.6219 20.8756 17.354 20.9747 17.0745 20.9959C16.7951 21.0172 16.5153 20.9597 16.2668 20.83L11.9998 18.625L7.7328 20.829Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}kl.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},kl.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};var Cl=["size","color","strokeWidth"];function xl(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,Cl);return ns.createElement("svg",ua({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),ns.createElement("path",{d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M9.09009 9.00008C9.32519 8.33175 9.78924 7.76819 10.4 7.40921C11.0108 7.05024 11.729 6.91902 12.4273 7.03879C13.1255 7.15857 13.7589 7.52161 14.2152 8.06361C14.6714 8.60561 14.9211 9.2916 14.9201 10.0001C14.9201 12.0001 11.9201 13.0001 11.9201 13.0001",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M12 17H12.01",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}xl.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},xl.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};var wl=["onClick","label","icon"];function Ol(){return Ol=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ol.apply(this,arguments)}const El=function(e){var n=e.links;return t().createElement("ul",{className:"flex flex-col gap-2 py-2 m-0 list-none border-t neeto-ui-no-outline neeto-ui-border-gray-300"},null==n?void 0:n.map((function(e,n){var r=e.onClick,o=e.label,i=e.icon,a=void 0===i?null:i,s=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,wl),u=a;return t().createElement("li",{key:n,className:"w-full"},t().createElement("button",Ol({onClick:r},s,{className:"flex w-full p-2 text-left transition-colors rounded-sm cursor-pointer select-none hover:neeto-ui-bg-gray-200 focus:neeto-ui-bg-gray-200 neeto-ui-no-outline"}),t().createElement(ia,{style:"h5",weight:"semibold",component:"span",className:"flex items-center gap-2 neeto-ui-text-gray-800"},a&&t().createElement(u,null),o)))})))};function Sl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Pl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Sl(Object(n),!0).forEach((function(t){Tl(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Sl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Tl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const jl=function(e){var n,r=e.profileInfo,o=r.name,i=r.email,a=r.topLinks,s=r.bottomLinks,u=r.customContent,c=r.changelogProps,l=r.helpProps,f=[];return c&&f.push(Pl({icon:kl,label:"What's New","data-cy":"profile-section-whats-new-button"},c)),l&&f.push(Pl({icon:xl,label:"Help","data-cy":"profile-section-help-button"},l)),t().createElement("div",{className:"flex flex-col p-6"},t().createElement("div",{className:qi()("relative flex items-center ",{"mb-5":a||s||u})},t().createElement("div",{className:"top-0 left-0"},t().createElement(yl,{user:r,size:"large"})),t().createElement("div",{className:"flex flex-col flex-grow pl-3 min-w-0"},t().createElement(ia,{component:"h2",style:"h5",weight:"semibold",lineHeight:"tight",className:"m-0",title:o},(18,(n=o)&&n.length>18?n.substring(0,15)+"...":n)),i&&t().createElement(ia,{style:"body2",className:"w-full truncate neeto-ui-text-gray-600",lineHeight:"tight"},i))),t().createElement("div",{className:"neeto-ui-sidebar__profile-wrapper-custom-content"},u),a&&t().createElement(El,{links:a}),!!f.length&&t().createElement(El,{links:f}),s&&t().createElement(El,{links:s}))};var Ll=["children","to","href"],Al=["label","href","to","icon"];function Ml(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _l(){return _l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_l.apply(this,arguments)}function Dl(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Vl="flex items-center no-underline select-none neeto-ui-sidebar__link",Wl=(0,e.forwardRef)((function(e,n){var r=e.children,o=e.to,i=e.href,a=Dl(e,Ll),s=location.pathname.includes(o);return i?t().createElement("a",_l({className:qi()(Vl,{active:s}),href:i},a),r):t().createElement(sa.NavLink,_l({className:Vl,innerRef:n,to:o},a),r)}));const Nl=function(n){var r=n.appName,o=n.footerLinks,i=void 0===o?[]:o,a=n.profileInfo,s=n.tooltipStyle,u=n.collapsed,c=n.showAppSwitcher,l=void 0!==c&&c,f=n.onAppSwitcherToggle,p=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ml(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ml(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,e.useState)(!1),2),d=p[0],m=p[1];return t().createElement("div",{className:"neeto-ui-sidebar__footer"},null==i?void 0:i.map((function(e,n){var r=e.label,o=e.href,i=e.to,a=e.icon,c=Dl(e,Al),l=a;return t().createElement(nl,{key:n,collapsed:u,label:r,tooltipStyle:s,icon:t().createElement(l,null)},t().createElement(Wl,_l({key:n,to:i,href:o},c),a&&t().createElement("div",{className:"flex items-center justify-center neeto-ui-sidebar__link-icon"},t().createElement(l,null)),!u&&t().createElement(ia,{component:"span",style:"body2",weight:"medium",className:"neeto-ui-sidebar__link-label"},r)))})),l&&t().createElement(rl,{appName:r,onAppSwitcherToggle:f,tooltipStyle:s,collapsed:u}),a&&t().createElement(Jc,{position:"right",className:"sidebar-featured-tooltip__content",theme:"light",content:t().createElement(jl,{profileInfo:a}),interactive:!0,hideOnClick:!1},t().createElement(gl,{collapsed:u,profileInfo:a,onClick:function(){m(!d)}})))};var Rl=["label","to","icon","description"];function zl(){return zl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zl.apply(this,arguments)}const $l=function(e){var n=e.navLinks,r=e.tooltipStyle,o=e.collapsed,i=(0,sa.useLocation)();return t().createElement("div",{className:"neeto-ui-sidebar__links"},n.map((function(e,n){var a=e.label,s=e.to,u=e.icon,c=e.description,l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Rl),f=u,p=new URL(s,window.location.href),d=i.pathname.includes(p.pathname);return t().createElement(nl,{key:n,tooltipStyle:r,icon:t().createElement(f,{color:"#68737D"}),description:c,collapsed:o,label:a},t().createElement(sa.NavLink,zl({to:s,className:"flex items-center no-underline select-none neeto-ui-sidebar__link",activeClassName:"active",isActive:function(){return d}},l),u&&t().createElement("div",{className:"flex items-center justify-center neeto-ui-sidebar__link-icon"},t().createElement(f,null)),!o&&t().createElement(ia,{component:"span",style:"body2",weight:"medium",className:"neeto-ui-sidebar__link-label"},a)))})))};var Hl=function(e){var n=e.organizationInfo,r=e.navLinks,o=e.tooltipStyle,i=void 0===o?Qc.featured:o,a=e.footerLinks,s=void 0===a?[]:a,u=e.profileInfo,c=e.isCollapsed,l=void 0===c||c,f=e.showAppSwitcher,p=void 0!==f&&f,d=e.onAppSwitcherToggle,m=void 0===d?function(){}:d,v=e.appName;return t().createElement(Fi.div,{animate:l?"collapsed":"expanded",variants:el,transition:{duration:.3},"data-cy":"sidebar-wrapper",className:qi()("neeto-ui-sidebar flex flex-col flex-shrink-0 overflow-y-auto overflow-x-hidden",{"neeto-ui-sidebar--collapsed":l})},t().createElement(aa,{organizationInfo:n,collapsed:l}),t().createElement($l,{navLinks:r,tooltipStyle:i,collapsed:l}),t().createElement(Nl,{footerLinks:s,appName:v,profileInfo:u,collapsed:l,tooltipStyle:i,showAppSwitcher:p,onAppSwitcherToggle:m}))};Hl.propTypes=tl;const Il=Hl;var Bl=["size","color","strokeWidth"];function Fl(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,Bl);return ns.createElement("svg",ua({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),ns.createElement("line",{x1:"3",y1:"7.25",x2:"21",y2:"7.25",stroke:n,strokeWidth:r}),ns.createElement("line",{x1:"3",y1:"11.25",x2:"15",y2:"11.25",stroke:n,strokeWidth:r}),ns.createElement("line",{x1:"3",y1:"15.25",x2:"11",y2:"15.25",stroke:n,strokeWidth:r}))}Fl.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Fl.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};var Ul=["size","color","strokeWidth"];function ql(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,Ul);return ns.createElement("svg",ua({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),ns.createElement("path",{d:"M9 18L15 12L9 6",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}ql.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},ql.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};var Yl=["size","color","strokeWidth"];function Zl(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,Yl);return ns.createElement("svg",ua({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),ns.createElement("path",{d:"M14.1931 5.58187C16.525 7.91369 16.525 11.6943 14.1931 14.0261C11.8613 16.358 8.08069 16.358 5.74887 14.0261C3.41704 11.6943 3.41704 7.91369 5.74887 5.58187C8.08069 3.25005 11.8613 3.25005 14.1931 5.58187",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M14.1499 14.06L18.5899 18.5",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}Zl.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Zl.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};var Xl=0;function Kl(){var e=Xl;return Xl++,e}var Gl=function(t){var n=t.children,r=t.initial,o=t.isPresent,i=t.onExitComplete,a=t.custom,s=t.presenceAffectsLayout,u=g(Jl),c=g(Kl),l=(0,e.useMemo)((function(){return{id:c,initial:r,isPresent:o,custom:a,onExitComplete:function(e){u.set(e,!0);var t=!0;u.forEach((function(e){e||(t=!1)})),t&&(null==i||i())},register:function(e){return u.set(e,!1),function(){return u.delete(e)}}}}),s?void 0:[o]);return(0,e.useMemo)((function(){u.forEach((function(e,t){return u.set(t,!1)}))}),[o]),e.useEffect((function(){!o&&!u.size&&(null==i||i())}),[o]),e.createElement(y.Provider,{value:l},n)};function Jl(){return new Map}function Ql(e){return e.key||""}var ef=function(t){var n=t.children,r=t.custom,o=t.initial,i=void 0===o||o,a=t.onExitComplete,s=t.exitBeforeEnter,l=t.presenceAffectsLayout,f=void 0===l||l,p=function(){var t=(0,e.useRef)(!1),n=u((0,e.useState)(0),2),r=n[0],o=n[1];return dt((function(){return t.current=!0})),(0,e.useCallback)((function(){!t.current&&o(r+1)}),[r])}(),d=(0,e.useContext)(fi);di(d)&&(p=d.forceUpdate);var m=(0,e.useRef)(!0),v=function(t){var n=[];return e.Children.forEach(t,(function(t){(0,e.isValidElement)(t)&&n.push(t)})),n}(n),h=(0,e.useRef)(v),y=(0,e.useRef)(new Map).current,g=(0,e.useRef)(new Set).current;if(function(e,t){e.forEach((function(e){var n=Ql(e);t.set(n,e)}))}(v,y),m.current)return m.current=!1,e.createElement(e.Fragment,null,v.map((function(t){return e.createElement(Gl,{key:Ql(t),isPresent:!0,initial:!!i&&void 0,presenceAffectsLayout:f},t)})));for(var b=c([],u(v)),k=h.current.map(Ql),C=v.map(Ql),x=k.length,w=0;w<x;w++){var O=k[w];-1===C.indexOf(O)?g.add(O):g.delete(O)}return s&&g.size&&(b=[]),g.forEach((function(t){if(-1===C.indexOf(t)){var n=y.get(t);if(n){var o=k.indexOf(t);b.splice(o,0,e.createElement(Gl,{key:Ql(n),isPresent:!1,onExitComplete:function(){y.delete(t),g.delete(t);var e=h.current.findIndex((function(e){return e.key===t}));h.current.splice(e,1),g.size||(h.current=v,p(),a&&a())},custom:r,presenceAffectsLayout:f},n))}}})),b=b.map((function(t){var n=t.key;return g.has(n)?t:e.createElement(Gl,{key:Ql(t),isPresent:!0,presenceAffectsLayout:f},t)})),h.current=b,e.createElement(e.Fragment,null,g.size?b:b.map((function(t){return(0,e.cloneElement)(t)})))},tf=function(e){var n=e.color,r=e.className,o=e.size;return t().createElement(Fi.div,{initial:{opacity:0},className:r,animate:{opacity:1,transition:{bounce:0}},exit:{opacity:0}},t().createElement(Fi.div,{animate:{rotate:[0,360],transition:{repeat:1/0}},exit:{opacity:0}},t().createElement(Fi.svg,{style:{color:n,height:o,width:o},xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},t().createElement("circle",{style:{opacity:.5},cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),t().createElement("path",{style:{opacity:1},fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"}))))};tf.propTypes={color:Xi().string,className:Xi().string,size:Xi().oneOfType([Xi().string,Xi().number])},tf.defaultProps={color:"#ffffff",className:null,size:14};const nf=tf;var rf=["icon","iconPosition","iconSize","label","loading","onClick","to","type","style","fullWidth","className","disabled","size","href","tooltipProps"];function of(){return of=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},of.apply(this,arguments)}function af(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var sf=function(){},uf={primary:"primary",secondary:"secondary",danger:"danger",text:"text",link:"link"},cf={large:"large",default:"default"},lf={left:"left",right:"right"},ff=t().forwardRef((function(e,n){var r,o,i,a,s,u=e.icon,c=void 0===u?null:u,l=e.iconPosition,f=void 0===l?"right":l,p=e.iconSize,d=void 0===p?16:p,m=e.label,v=void 0===m?"":m,h=e.loading,y=void 0!==h&&h,g=e.onClick,b=void 0===g?sf:g,k=e.to,C=void 0===k?null:k,x=e.type,w=void 0===x?"button":x,O=e.style,E=void 0===O?"primary":O,S=e.fullWidth,P=void 0!==S&&S,T=e.className,j=void 0===T?"":T,L=e.disabled,A=void 0!==L&&L,M=e.size,_=void 0===M?null:M,D=e.href,V=void 0===D?null:D,W=e.tooltipProps,N=void 0===W?null:W,R=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,rf);C?(a=sa.Link,s={to:C}):V?(a=Fi.a,s={href:V}):(a=Fi.button,s={type:w});var z="string"==typeof c?function(){return t().createElement("i",{className:qi()("neeto-ui-btn__icon",[c])})}:c||t().Fragment,$="left"==f?"marginRight":"marginLeft";return t().createElement(Jc,of({disabled:!N},N),t().createElement(a,of({ref:n,onClick:function(e){y||A||b(e)},className:qi()("neeto-ui-btn",[j],{"neeto-ui-btn--style-primary":E===uf.primary,"neeto-ui-btn--style-secondary":E===uf.secondary,"neeto-ui-btn--style-danger":E===uf.danger,"neeto-ui-btn--style-text":E===uf.text,"neeto-ui-btn--style-link":E===uf.link,"neeto-ui-btn--size-large":_===cf.large,"neeto-ui-btn--width-full":P,"neeto-ui-btn--icon-left":f==lf.left,"neeto-ui-btn--icon-only":!v,disabled:A}),disabled:A},s,R),v&&t().createElement("span",null,v),t().createElement(ef,{exitBeforeEnter:!0},c?y?t().createElement(nf,{key:"1",size:d,className:"neeto-ui-btn__spinner"}):t().createElement(z,{key:"2",size:d,className:"neeto-ui-btn__icon"}):y&&t().createElement(Fi.div,{className:"neeto-ui-btn__spinner-wrapper",initial:(r={},af(r,$,0),af(r,"width",0),af(r,"scale",0),r),animate:(o={},af(o,$,".7142857143em"),af(o,"width","auto"),af(o,"scale",1),o),exit:(i={},af(i,$,0),af(i,"width",0),af(i,"scale",0),i),transition:{bounce:!1}},t().createElement(nf,{key:"3"})))))}));ff.propTypes={style:Xi().oneOf(Object.values(uf)),size:Xi().oneOf(Object.values(cf)),iconPosition:Xi().oneOf(Object.values(lf)),label:Xi().string,loading:Xi().bool,disabled:Xi().bool,icon:Xi().oneOfType([Xi().string,Xi().elementType]),onClick:Xi().func,to:Xi().string,href:Xi().string,type:Xi().oneOf(Object.values({button:"button",reset:"reset",submit:"submit"})),fullWidth:Xi().bool,className:Xi().string,tooltipProps:Xi().object};const pf=ff;var df=["size","color","strokeWidth"];function mf(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,df);return ns.createElement("svg",ua({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),ns.createElement("path",{d:"M11.009 11.249H12.159V15.499",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M11 15.4986H13.3093",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M12.1 8.24587C12.1 8.29532 12.0853 8.34365 12.0579 8.38477C12.0304 8.42588 11.9914 8.45792 11.9457 8.47684C11.9 8.49576 11.8497 8.50071 11.8012 8.49107C11.7527 8.48142 11.7082 8.45761 11.6732 8.42265C11.6383 8.38769 11.6145 8.34314 11.6048 8.29464C11.5952 8.24615 11.6001 8.19588 11.619 8.1502C11.638 8.10452 11.67 8.06548 11.7111 8.03801C11.7522 8.01053 11.8006 7.99587 11.85 7.99587",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M11.85 7.99587C11.9163 7.99587 11.9799 8.02221 12.0268 8.0691C12.0737 8.11598 12.1 8.17957 12.1 8.24587",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M16 2.99862H8C5.23858 2.99862 3 5.2372 3 7.99862V15.9986C3 18.76 5.23858 20.9986 8 20.9986H16C18.7614 20.9986 21 18.76 21 15.9986V7.99862C21 5.2372 18.7614 2.99862 16 2.99862Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}mf.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},mf.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};var vf=["children","className","required","helpIconProps"],hf=["onClick","icon","tooltipProps","className"];function yf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function gf(){return gf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gf.apply(this,arguments)}function bf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kf(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Cf=function(e){var n=e.children,r=e.className,o=void 0===r?"":r,i=e.required,a=void 0!==i&&i,s=e.helpIconProps,u=void 0===s?null:s,c=kf(e,vf),l=u||{},f=l.onClick,p=l.icon,d=l.tooltipProps,m=l.className,v=kf(l,hf),h=p||mf;return t().createElement("label",gf({className:qi()("neeto-ui-label flex items-center",o)},c),n,a&&t().createElement("span",{"aria-hidden":!0},"*"),u&&t().createElement(Jc,gf({},d,{disabled:!d}),t().createElement("span",{className:qi()("ml-1",bf({},m,m)),onClick:f},t().createElement(h,gf({size:16},v)))))};Cf.propTypes={children:Xi().node,className:Xi().string,required:Xi().bool,helpIconProps:Xi().shape({onClick:Xi().func,icon:Xi().oneOfType([Xi().element,Xi().func]),tooltipProps:Xi().shape(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yf(Object(n),!0).forEach((function(t){bf(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Jc.propTypes))})};const xf=Cf;function wf(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}var Of=wf()?e.useLayoutEffect:e.useEffect,Ef=!1,Sf=0,Pf=function(){return++Sf},Tf=function(e){return e&&e.replace?e.replace(/[\s_]/g,"-").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/-+/g,"-").toLowerCase():"nui"},jf=["size","type","label","error","suffix","prefix","disabled","helpText","className","nakedInput","contentSize","required"];function Lf(){return Lf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Lf.apply(this,arguments)}function Af(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mf(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var _f=t().forwardRef((function(n,r){var o,i,a,s=n.size,u=void 0===s?"small":s,c=n.type,l=void 0===c?"text":c,f=n.label,p=n.error,d=void 0===p?null:p,m=n.suffix,v=void 0===m?null:m,h=n.prefix,y=void 0===h?null:h,g=n.disabled,b=void 0!==g&&g,k=n.helpText,C=void 0===k?"":k,x=n.className,w=void 0===x?"":x,O=n.nakedInput,E=void 0!==O&&O,S=n.contentSize,P=void 0===S?null:S,T=n.required,j=void 0!==T&&T,L=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(n,jf),A=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Mf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Mf(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,e.useState)(n.value),2),M=A[0],_=A[1],D=null!==(o=null!==(i=n.value)&&void 0!==i?i:M)&&void 0!==o?o:"",V=n.onChange||function(e){return _(e.target.value)},W=function(t){var n=t||(Ef?Pf():null),r=(0,e.useState)(n),o=r[0],i=r[1];return Of((function(){null===o&&i(Pf())}),[]),(0,e.useEffect)((function(){!1===Ef&&(Ef=!0)}),[]),null!=o?String(o):void 0}(n.id),N="error_".concat(W),R="helpText_".concat(W),z=(null==D?void 0:D.toString().length)||0,$=L.maxLength;return t().createElement("div",{className:qi()(["neeto-ui-input__wrapper",w])},t().createElement("div",{className:"neeto-ui-input__label-wrapper"},f&&t().createElement(xf,{required:j,"data-cy":"".concat(Tf(f),"-input-label"),htmlFor:W},f),$&&t().createElement(ia,{className:"neeto-ui-input__max-length",style:"body3"},z," / ",$)),t().createElement("div",{className:qi()("neeto-ui-input",{"neeto-ui-input--naked":!!E,"neeto-ui-input--error":!!d,"neeto-ui-input--disabled":!!b,"neeto-ui-input--small":"small"===u})},y&&t().createElement("div",{className:"neeto-ui-input__prefix"},y),t().createElement("input",Lf({ref:r,id:W,type:l,disabled:b,size:P,required:j,"aria-invalid":!!d,"aria-describedby":qi()((a={},Af(a,N,!!d),Af(a,R,C),a)),"data-cy":"input-field"},L,{value:D,onChange:V})),v&&t().createElement("div",{className:"neeto-ui-input__suffix"},v)),!!d&&t().createElement("p",{"data-cy":"".concat(Tf(f),"-input-error"),className:"neeto-ui-input__error",id:N},d),C&&t().createElement("p",{className:"neeto-ui-input__help-text",id:R},C))}));_f.propTypes={id:Xi().string,size:Xi().oneOf(["small","large"]),type:Xi().string,maxLength:Xi().number,label:Xi().string,error:Xi().string,suffix:Xi().node,prefix:Xi().node,disabled:Xi().bool,helpText:Xi().string,className:Xi().string,nakedInput:Xi().bool,contentSize:Xi().number,required:Xi().bool};const Df=_f;function Vf(){return Vf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Vf.apply(this,arguments)}var Wf=function(n){var r=n.title,o=n.menuBarToggle,i=n.searchProps,a=n.className,s=n.actionBlock,u=n.breadcrumbs,c=(0,e.useRef)();return t().createElement("div",{className:qi()(["neeto-ui-header",a])},t().createElement("div",{className:"neeto-ui-header__left"},o&&t().createElement(pf,{onClick:o,style:"text",size:"large",className:"mr-2",icon:Fl,"data-cy":"menubar-toggle-button"}),u&&u.map((function(e,n){var r=e.text,o=e.link;return t().createElement("div",{className:"neeto-ui-header__breadcrumb",key:n},t().createElement(sa.Link,{to:o},t().createElement(ia,{lineHeight:"tight",style:"h2",weight:"semibold","data-test-id":r,"data-cy":r},r)),t().createElement(ql,{className:"neeto-ui-header__breadcrumb-separator"}))})),t().createElement(ia,{lineHeight:"tight",style:"h2",weight:"semibold","data-test-id":"main-header","data-cy":"main-header",className:"neeto-ui-text-gray-800"},r)),t().createElement("div",{className:"gap-3 neeto-ui-header__right"},i&&t().createElement(Df,Vf({ref:c,type:"search",placeholder:"Search",className:qi()(["w-72",i.className]),prefix:t().createElement(Zl,null)},i)),s))};Wf.propTypes={title:Xi().node,className:Xi().string,actionBlock:Xi().node,searchProps:Xi().object,breadcrumbs:Xi().arrayOf(Xi().shape({text:Xi().string,link:Xi().string})),menuBarToggle:Xi().func};const Nf=Wf;var Rf=function(e){var n=e.className,r=e.leftActionBlock,o=e.rightActionBlock;return t().createElement("div",{className:qi()(["neeto-ui-subheader",n])},t().createElement("div",{className:"neeto-ui-subheader__left-wrapper"},r&&t().createElement("div",{className:"neeto-ui-subheader__left"},r)),o&&t().createElement("div",{className:"neeto-ui-subheader__right"},o))};Rf.propTypes={className:Xi().string,leftActionBlock:Xi().node,rightActionBlock:Xi().node};const zf=Rf;var $f=t().forwardRef((function(e,n){var r=e.isHeaderFixed,o=void 0!==r&&r,i=e.children;return t().createElement("div",{ref:n,className:qi()("neeto-ui-container",{"neeto-ui-container--header-fixed":o})},i)}));$f.propTypes={isHeaderFixed:Xi().bool};const Hf=$f;var If={small:"small",large:"large",viewport:"viewport"},Bf=function(e){var n,r,o,i=e.children,a=e.className,s=e.size,u=void 0===s?"small":s;return t().createElement("div",{className:qi()(["neeto-ui-scrollable",(n={"neeto-ui-scrollable--small":u===If.small,"neeto-ui-scrollable--large":u===If.large,"neeto-ui-scrollable--viewport":u===If.viewport},r=a,o=a,r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n)])},i)};Bf.propTypes={children:Xi().node,size:Xi().oneOf(Object.values(If)),className:Xi().string};const Ff=Bf;var Uf="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>0;function qf(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent&&e.attachEvent("on".concat(t),(function(){n(window.event)}))}function Yf(e,t){for(var n=t.slice(0,t.length-1),r=0;r<n.length;r++)n[r]=e[n[r].toLowerCase()];return n}function Zf(e){"string"!=typeof e&&(e="");for(var t=(e=e.replace(/\s/g,"")).split(","),n=t.lastIndexOf("");n>=0;)t[n-1]+=",",t.splice(n,1),n=t.lastIndexOf("");return t}for(var Xf={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"⇪":20,",":188,".":190,"/":191,"`":192,"-":Uf?173:189,"=":Uf?61:187,";":Uf?59:186,"'":222,"[":219,"]":221,"\\":220},Kf={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,cmd:91,command:91},Gf={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},Jf={16:!1,18:!1,17:!1,91:!1},Qf={},ep=1;ep<20;ep++)Xf["f".concat(ep)]=111+ep;var tp=[],np="all",rp=[],op=function(e){return Xf[e.toLowerCase()]||Kf[e.toLowerCase()]||e.toUpperCase().charCodeAt(0)};function ip(e){np=e||"all"}function ap(){return np||"all"}var sp=function(e){var t=e.key,n=e.scope,r=e.method,o=e.splitKey,i=void 0===o?"+":o;Zf(t).forEach((function(e){var t=e.split(i),o=t.length,a=t[o-1],s="*"===a?"*":op(a);if(Qf[s]){n||(n=ap());var u=o>1?Yf(Kf,t):[];Qf[s]=Qf[s].map((function(e){return r&&e.method!==r||e.scope!==n||!function(e,t){for(var n=e.length>=t.length?e:t,r=e.length>=t.length?t:e,o=!0,i=0;i<n.length;i++)-1===r.indexOf(n[i])&&(o=!1);return o}(e.mods,u)?e:{}}))}}))};function up(e,t,n){var r;if(t.scope===n||"all"===t.scope){for(var o in r=t.mods.length>0,Jf)Object.prototype.hasOwnProperty.call(Jf,o)&&(!Jf[o]&&t.mods.indexOf(+o)>-1||Jf[o]&&-1===t.mods.indexOf(+o))&&(r=!1);(0!==t.mods.length||Jf[16]||Jf[18]||Jf[17]||Jf[91])&&!r&&"*"!==t.shortcut||!1===t.method(e,t)&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}function cp(e){var t=Qf["*"],n=e.keyCode||e.which||e.charCode;if(lp.filter.call(this,e)){if(93!==n&&224!==n||(n=91),-1===tp.indexOf(n)&&229!==n&&tp.push(n),["ctrlKey","altKey","shiftKey","metaKey"].forEach((function(t){var n=Gf[t];e[t]&&-1===tp.indexOf(n)?tp.push(n):!e[t]&&tp.indexOf(n)>-1?tp.splice(tp.indexOf(n),1):"metaKey"===t&&e[t]&&3===tp.length&&(e.ctrlKey||e.shiftKey||e.altKey||(tp=tp.slice(tp.indexOf(n))))})),n in Jf){for(var r in Jf[n]=!0,Kf)Kf[r]===n&&(lp[r]=!0);if(!t)return}for(var o in Jf)Object.prototype.hasOwnProperty.call(Jf,o)&&(Jf[o]=e[Gf[o]]);e.getModifierState&&(!e.altKey||e.ctrlKey)&&e.getModifierState("AltGraph")&&(-1===tp.indexOf(17)&&tp.push(17),-1===tp.indexOf(18)&&tp.push(18),Jf[17]=!0,Jf[18]=!0);var i=ap();if(t)for(var a=0;a<t.length;a++)t[a].scope===i&&("keydown"===e.type&&t[a].keydown||"keyup"===e.type&&t[a].keyup)&&up(e,t[a],i);if(n in Qf)for(var s=0;s<Qf[n].length;s++)if(("keydown"===e.type&&Qf[n][s].keydown||"keyup"===e.type&&Qf[n][s].keyup)&&Qf[n][s].key){for(var u=Qf[n][s],c=u.splitKey,l=u.key.split(c),f=[],p=0;p<l.length;p++)f.push(op(l[p]));f.sort().join("")===tp.sort().join("")&&up(e,u,i)}}}function lp(e,t,n){tp=[];var r=Zf(e),o=[],i="all",a=document,s=0,u=!1,c=!0,l="+";for(void 0===n&&"function"==typeof t&&(n=t),"[object Object]"===Object.prototype.toString.call(t)&&(t.scope&&(i=t.scope),t.element&&(a=t.element),t.keyup&&(u=t.keyup),void 0!==t.keydown&&(c=t.keydown),"string"==typeof t.splitKey&&(l=t.splitKey)),"string"==typeof t&&(i=t);s<r.length;s++)o=[],(e=r[s].split(l)).length>1&&(o=Yf(Kf,e)),(e="*"===(e=e[e.length-1])?"*":op(e))in Qf||(Qf[e]=[]),Qf[e].push({keyup:u,keydown:c,scope:i,mods:o,shortcut:r[s],method:n,key:r[s],splitKey:l});void 0!==a&&!function(e){return rp.indexOf(e)>-1}(a)&&window&&(rp.push(a),qf(a,"keydown",(function(e){cp(e)})),qf(window,"focus",(function(){tp=[]})),qf(a,"keyup",(function(e){cp(e),function(e){var t=e.keyCode||e.which||e.charCode,n=tp.indexOf(t);if(n>=0&&tp.splice(n,1),e.key&&"meta"===e.key.toLowerCase()&&tp.splice(0,tp.length),93!==t&&224!==t||(t=91),t in Jf)for(var r in Jf[t]=!1,Kf)Kf[r]===t&&(lp[r]=!1)}(e)})))}var fp={setScope:ip,getScope:ap,deleteScope:function(e,t){var n,r;for(var o in e||(e=ap()),Qf)if(Object.prototype.hasOwnProperty.call(Qf,o))for(n=Qf[o],r=0;r<n.length;)n[r].scope===e?n.splice(r,1):r++;ap()===e&&ip(t||"all")},getPressedKeyCodes:function(){return tp.slice(0)},isPressed:function(e){return"string"==typeof e&&(e=op(e)),-1!==tp.indexOf(e)},filter:function(e){var t=e.target||e.srcElement,n=t.tagName,r=!0;return!t.isContentEditable&&("INPUT"!==n&&"TEXTAREA"!==n&&"SELECT"!==n||t.readOnly)||(r=!1),r},unbind:function(e){if(e){if(Array.isArray(e))e.forEach((function(e){e.key&&sp(e)}));else if("object"==typeof e)e.key&&sp(e);else if("string"==typeof e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=n[0],i=n[1];"function"==typeof o&&(i=o,o=""),sp({key:e,scope:o,method:i,splitKey:"+"})}}else Object.keys(Qf).forEach((function(e){return delete Qf[e]}))}};for(var pp in fp)Object.prototype.hasOwnProperty.call(fp,pp)&&(lp[pp]=fp[pp]);if("undefined"!=typeof window){var dp=window.hotkeys;lp.noConflict=function(e){return e&&window.hotkeys===lp&&(window.hotkeys=dp),lp},window.hotkeys=lp}const mp=lp;mp.filter=function(){return!0};var vp=function(e,t){var n=e.target,r=n&&n.tagName;return Boolean(r&&t&&t.includes(r))};mp.isPressed;var hp=["size","color","strokeWidth"];function yp(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,hp);return ns.createElement("svg",ua({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),ns.createElement("path",{d:"M10.013 5.988L4.00201 12L10.013 18.012M4.01001 11.98H19H4.01001Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}yp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},yp.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};var gp=["size","color","strokeWidth"];function bp(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,gp);return ns.createElement("svg",ua({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),ns.createElement("path",{d:"M17.5 9L9 17.5L5 13.5",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}bp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},bp.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};const kp=function(e){var n,r,o,i=e.name,a=e.url,s=e.icon,u=e.environment,c=e.activeApp,l=s;return t().createElement("a",{href:a[u],target:"_blank",className:qi()("neeto-ui-app-switcher-link",{"neeto-ui-app-switcher-link--active":c===i}),rel:"noreferrer","data-test-id":"neetoapp-link-".concat(i)},t().createElement("div",{className:"neeto-ui-app-switcher-link__row"},t().createElement("div",{className:qi()("neeto-ui-app-switcher-link__icon-holder",(n={},r="gradient--".concat(i.toLowerCase()),o=i,r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n))},l&&t().createElement(l,{color:"white",className:"neeto-ui-app-switcher-link__icon"})),t().createElement(ia,{style:"h4",weight:"semibold",component:"span",className:"neeto-ui-text-gray-600 neeto-ui-app-switcher-link__title"},i),c===i&&t().createElement("span",{className:"neeto-ui-app-switcher-link__check-icon neeto-ui-text-gray-800"},t().createElement(bp,{size:"22"}))))};var Cp=["size","color","strokeWidth"];function xp(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,Cp);return ns.createElement("svg",ua({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),ns.createElement("path",{d:"M21 12C21 14.3869 20.0518 16.6761 18.364 18.364C16.6761 20.0518 14.3869 21 12 21",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M3 12C3 9.61305 3.94821 7.32387 5.63604 5.63604C7.32387 3.94821 9.61305 3 12 3",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M3 11.9996C3.00014 13.0538 3.18764 14.0996 3.55376 15.0882C3.63489 15.3106 3.7916 15.4975 3.9965 15.6162C4.20141 15.7349 4.44151 15.7779 4.67486 15.7376L5.66105 15.5637C6.04448 15.4961 6.3866 15.282 6.6151 14.9668C6.8436 14.6515 6.94056 14.2598 6.8855 13.8744L6.58868 11.7966C6.56024 11.5976 6.49205 11.4062 6.38818 11.234C6.28431 11.0618 6.14688 10.9123 5.98405 10.7943C5.82122 10.6762 5.63633 10.5922 5.44035 10.547C5.24438 10.5019 5.04134 10.4967 4.84329 10.5316L3.0827 10.842",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M21 12C21 9.61305 20.0518 7.32387 18.364 5.63604C16.6761 3.94821 14.3869 3 12 3",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M21 11.9996C20.9999 13.0538 20.8124 14.0996 20.4462 15.0882C20.3651 15.3106 20.2084 15.4975 20.0035 15.6162C19.7986 15.7349 19.5585 15.7779 19.3251 15.7376L18.339 15.5637C17.9555 15.4961 17.6134 15.282 17.3849 14.9668C17.1564 14.6515 17.0594 14.2598 17.1145 13.8744L17.4113 11.7966C17.4398 11.5976 17.508 11.4062 17.6118 11.234C17.7157 11.0618 17.8531 10.9123 18.016 10.7943C18.1788 10.6762 18.3637 10.5922 18.5597 10.547C18.7556 10.5019 18.9587 10.4967 19.1567 10.5316L20.9173 10.842",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M13.4925 12.4912C13.491 12.4912 13.4896 12.4917 13.4884 12.4925C13.4871 12.4933 13.4862 12.4945 13.4856 12.4958C13.4851 12.4972 13.4849 12.4987 13.4852 12.5001C13.4855 12.5016 13.4862 12.5029 13.4872 12.504C13.4883 12.505 13.4896 12.5057 13.4911 12.506C13.4925 12.5063 13.494 12.5062 13.4954 12.5056C13.4967 12.505 13.4979 12.5041 13.4987 12.5028C13.4995 12.5016 13.5 12.5002 13.5 12.4987C13.5 12.4977 13.4999 12.4967 13.4995 12.4958C13.4992 12.4948 13.4986 12.494 13.4979 12.4933C13.4972 12.4926 13.4964 12.492 13.4955 12.4917C13.4945 12.4913 13.4935 12.4912 13.4925 12.4912",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M10.5075 12.4942C10.506 12.4942 10.5045 12.4946 10.5033 12.4954C10.5021 12.4962 10.5011 12.4974 10.5006 12.4988C10.5 12.5001 10.4999 12.5016 10.5001 12.5031C10.5004 12.5045 10.5011 12.5059 10.5022 12.5069C10.5032 12.508 10.5046 12.5087 10.506 12.509C10.5075 12.5092 10.509 12.5091 10.5103 12.5085C10.5117 12.508 10.5129 12.507 10.5137 12.5058C10.5145 12.5045 10.5149 12.5031 10.5149 12.5016C10.515 12.5006 10.5149 12.4996 10.5145 12.4987C10.5142 12.4977 10.5136 12.4969 10.5129 12.4962C10.5122 12.4955 10.5113 12.4949 10.5104 12.4946C10.5095 12.4942 10.5085 12.4941 10.5075 12.4942",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}xp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},xp.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};var wp=["size","color","strokeWidth"];function Op(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,wp);return ns.createElement("svg",ua({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),ns.createElement("path",{d:"M12 4C7.03 4 3 7.35868 3 11.4971C3.03694 12.7249 3.39056 13.9223 4.02657 14.9731C4.66258 16.024 5.55939 16.8926 6.63 17.4948C6.41369 18.0826 6.11292 18.6358 5.73714 19.1369C5.63591 19.2847 5.58282 19.4601 5.58511 19.6392C5.58741 19.8184 5.64498 19.9924 5.74996 20.1376C5.85494 20.2827 6.00219 20.3919 6.17159 20.4501C6.34098 20.5084 6.52424 20.5129 6.6963 20.4631C7.89863 20.113 9.03031 19.555 10.04 18.8143C10.6863 18.9354 11.3425 18.9956 12 18.9942C16.97 18.9942 21 15.6355 21 11.4971C21 7.35869 16.97 4 12 4Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M9 10H15",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M9 13H12",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}Op.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Op.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};var Ep=["size","color","strokeWidth"];function Sp(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,Ep);return ns.createElement("svg",ua({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),ns.createElement("path",{d:"M18.414 6.414L15.586 3.586C15.211 3.211 14.702 3 14.172 3H7C5.895 3 5 3.895 5 5V19C5 20.105 5.895 21 7 21H17C18.105 21 19 20.105 19 19V7.828C19 7.298 18.789 6.789 18.414 6.414V6.414Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M19 8H15C14.448 8 14 7.552 14 7V3",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M10.5 18H13.5",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M12 12V18",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M9 13.5V12.5C9 12.224 9.224 12 9.5 12H14.5C14.776 12 15 12.224 15 12.5V13.5",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}Sp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Sp.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};var Pp=["size","color","strokeWidth"];function Tp(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,Pp);return ns.createElement("svg",ua({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),ns.createElement("path",{d:"M17 2V2C19.7614 2 22 4.23858 22 7C22 9.76142 19.7614 12 17 12C14.2386 12 12 9.76142 12 7V7C12 4.23858 14.2386 2 17 2",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M20 14.0003V14.3753V14.3753C20 15.9399 18.7316 17.2083 17.167 17.2083H12.445L7.723 20.9863V17.2083H5.833H5.833C4.26838 17.2083 3 15.9399 3 14.3753V6.81933V6.81933C3 5.25471 4.26838 3.98633 5.833 3.98633H10",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M18.358 6.94449C18.3283 6.94226 18.3023 6.96456 18.3001 6.9943C18.3 6.99636 18.2999 6.99843 18.3 7.00049C18.3 7.03142 18.3251 7.05648 18.356 7.05648C18.3869 7.05648 18.412 7.03141 18.412 7.00048C18.412 6.96955 18.3869 6.94448 18.356 6.94448M18.356 6.94448V6.94448Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M15.642 6.94434C15.6111 6.94544 15.587 6.97139 15.5881 7.0023C15.5892 7.03321 15.6151 7.05737 15.646 7.05626C15.6762 7.05519 15.7 7.03047 15.7 7.00034C15.7 6.96979 15.6756 6.94488 15.645 6.94434",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}Tp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Tp.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};var jp=["size","color","strokeWidth"];function Lp(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,jp);return ns.createElement("svg",ua({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),ns.createElement("path",{d:"M18 3H6C4.34315 3 3 4.34315 3 6V18C3 19.6569 4.34315 21 6 21H18C19.6569 21 21 19.6569 21 18V6C21 4.34315 19.6569 3 18 3Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M10 7H7.5C7.22386 7 7 7.22386 7 7.5V10C7 10.2761 7.22386 10.5 7.5 10.5H10C10.2761 10.5 10.5 10.2761 10.5 10V7.5C10.5 7.22386 10.2761 7 10 7Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M13.5 7H17",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M13.5 10.3301H17",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M10 13.5H7.5C7.22386 13.5 7 13.7239 7 14V16.5C7 16.7761 7.22386 17 7.5 17H10C10.2761 17 10.5 16.7761 10.5 16.5V14C10.5 13.7239 10.2761 13.5 10 13.5Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M13.5 13.5H17",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M13.5 16.8301H17",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}Lp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Lp.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};var Ap=["size","color","strokeWidth"];function Mp(e){var t=e.size,n=e.color;e.strokeWidth;var r=ca(e,Ap);return ns.createElement("svg",ua({viewBox:"0 0 24 24",fill:"none",height:t,width:t},r),ns.createElement("path",{d:"M19.1863 9.2727C19.1863 9.99647 19.1863 10.7171 19.1863 11.444C19.1863 12.171 19.1863 12.8916 19.2049 13.6153C19.2386 14.218 19.1257 14.8198 18.8765 15.367C18.6184 15.8937 18.1759 16.3019 17.637 16.5104C17.0343 16.7591 16.4873 16.8557 15.9435 16.7401C15.3997 16.6245 14.859 16.2982 14.2625 15.7027C13.2068 14.6416 12.1543 13.5747 11.1049 12.502C10.0555 11.4292 9.00757 10.3592 7.96124 9.29171C7.79717 9.10072 7.61268 8.92913 7.41122 8.78016C7.30188 8.7087 7.17715 8.66559 7.04782 8.65455C6.9185 8.64351 6.7885 8.66488 6.66908 8.71681C6.53476 8.75956 6.41264 8.83511 6.3133 8.93694C6.21396 9.03876 6.14037 9.16379 6.09892 9.30121C6.03142 9.57268 6.00375 9.85289 6.0168 10.1327C6.0168 11.3152 6.02042 12.4993 6.02765 13.685C6.02765 14.8697 6.02765 16.0606 6.0075 17.2389C5.99528 17.5357 6.04547 17.8316 6.15469 18.1068C6.25958 18.3623 6.44947 18.5715 6.69077 18.6976C6.81331 18.7641 6.94926 18.8007 7.08796 18.8046C7.22666 18.8084 7.36435 18.7794 7.49024 18.7198C7.75031 18.5975 7.98613 18.4273 8.1859 18.2177C8.6662 17.7405 9.14392 17.2601 9.61905 16.7765C10.0942 16.2929 10.5616 15.8041 11.0212 15.3099C11.1103 15.2033 11.2191 15.1156 11.3414 15.052C11.4637 14.9884 11.5971 14.9501 11.7339 14.9393C11.9921 14.9406 12.2434 15.0242 12.4528 15.1785C12.6511 15.3115 12.7426 15.5982 12.7364 15.9007C12.7377 16.2033 12.6301 16.4958 12.4342 16.7226C11.8641 17.3118 11.2986 17.9089 10.7299 18.498C10.1613 19.0872 9.57877 19.67 8.98072 20.2291C8.54153 20.6553 7.97762 20.9223 7.37559 20.9893C6.77021 21.0371 6.16299 20.9247 5.61242 20.663C5.10855 20.4603 4.67981 20.1007 4.38688 19.6352C4.11249 19.1508 3.97918 18.5964 4.00264 18.0372C4.01658 16.5769 4.01503 15.1167 4.01348 13.6549C4.01193 12.1931 4.01348 10.7345 4.01348 9.2727C4.00128 8.69191 4.11948 8.11599 4.35899 7.58918C4.61201 7.07012 5.05006 6.66996 5.58298 6.47105C6.13553 6.23868 6.74262 6.17701 7.32911 6.29367C7.9335 6.43863 8.48137 6.76582 8.9017 7.23284C9.96456 8.34146 11.0367 9.44269 12.1182 10.5365C13.1996 11.6304 14.278 12.7263 15.3532 13.8244C15.4998 13.9882 15.6683 14.13 15.8537 14.2457C15.9468 14.3006 16.0506 14.3338 16.1577 14.3431C16.2648 14.3524 16.3726 14.3375 16.4734 14.2995C16.6678 14.2401 16.8443 14.1311 16.9862 13.9828C17.1305 13.8059 17.2026 13.579 17.1877 13.3493C17.1722 12.0142 17.1722 10.6854 17.1722 9.35664C17.1722 8.02788 17.1722 6.69753 17.1722 5.36877C17.1819 5.16803 17.1508 4.9674 17.0808 4.77961C17.0365 4.68434 16.9744 4.59893 16.8978 4.52827C16.8212 4.45761 16.7318 4.40309 16.6345 4.36784C16.4456 4.27647 16.2393 4.22888 16.0303 4.22847C15.8152 4.24378 15.6102 4.32802 15.4446 4.4692C14.8593 4.93907 14.3084 5.45198 13.7961 6.00385C13.2771 6.54549 12.7704 7.10138 12.2282 7.62085C12.0264 7.84331 11.7585 7.99141 11.4659 8.04213C11.3372 8.04946 11.2086 8.02659 11.0899 7.97525C10.9712 7.92392 10.8655 7.84549 10.7811 7.74597C10.6812 7.64671 10.603 7.52692 10.5518 7.39452C10.5005 7.26212 10.4772 7.1201 10.4836 6.97785C10.5039 6.67123 10.6361 6.38357 10.8539 6.17173C11.4024 5.61214 11.9498 5.05254 12.4962 4.49295C13.0426 3.93336 13.5926 3.378 14.1463 2.82685C14.4931 2.4971 14.911 2.25534 15.3661 2.12109C15.8212 1.98683 16.3008 1.96385 16.7662 2.05398C17.2334 2.12126 17.6785 2.29959 18.066 2.57464C18.4535 2.8497 18.7725 3.21381 18.9973 3.63773C19.0662 3.77419 19.1183 3.9189 19.1522 4.06851C19.1853 4.21976 19.2009 4.37443 19.1987 4.52938C19.1925 5.31809 19.1925 6.10996 19.1987 6.905C19.2049 7.70004 19.2008 8.48927 19.1863 9.2727Z",fill:n}))}Mp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Mp.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};var _p=["size","color","strokeWidth"];function Dp(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,_p);return ns.createElement("svg",ua({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),ns.createElement("path",{d:"M21 7V17C21 19.209 19.209 21 17 21H7C4.791 21 3 19.209 3 17V7C3 4.791 4.791 3 7 3H17C19.209 3 21 4.791 21 7Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M21 12.0003H16.309C16.12 12.0003 15.946 12.1073 15.862 12.2763L14.447 15.1053C14.263 15.4743 13.737 15.4743 13.553 15.1053L10.43 8.86127C10.249 8.49927 9.735 8.49127 9.543 8.84727L7.984 11.7373C7.896 11.8993 7.727 12.0003 7.544 12.0003H3",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}Dp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Dp.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};var Vp=["size","color","strokeWidth"];function Wp(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,Vp);return ns.createElement("svg",ua({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),ns.createElement("path",{d:"M9.167 20.5H4.444C3.922 20.5 3.5 20.077 3.5 19.556V15.778C3.5 15.256 3.923 14.834 4.444 14.834H9.166L9.167 20.5ZM14.833 4.444V20.5H19.555C20.077 20.5 20.499 20.077 20.499 19.556V4.444C20.499 3.922 20.076 3.5 19.555 3.5H15.777C15.256 3.5 14.833 3.923 14.833 4.444V4.444Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M14.833 20.5H9.166V10.111C9.166 9.58899 9.589 9.16699 10.11 9.16699H14.832",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}Wp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Wp.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};var Np=["size","color","strokeWidth"];function Rp(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,Np);return ns.createElement("svg",ua({viewBox:"0 0 26 26",fill:"none",height:t,width:t},o),ns.createElement("g",{filter:"url(#filter0_d)"},ns.createElement("path",{d:"M10.6857 9.68568C10.8005 9.19071 11.0846 8.75139 11.4889 8.44362C11.8932 8.13584 12.3923 7.97894 12.9 8.00001C13.4631 7.96882 14.0157 8.16159 14.4372 8.53627C14.8587 8.91095 15.115 9.43713 15.15 10C15.15 11.5039 13 12 13 13",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M5.63148 17.1583C4.33769 15.3116 3.78301 13.047 4.07688 10.8115C4.37075 8.57588 5.49183 6.53162 7.21892 5.08203C8.94602 3.63244 11.1537 2.8828 13.4064 2.981C15.659 3.07921 17.7931 4.01813 19.3875 5.61252C20.9819 7.20692 21.9208 9.34098 22.019 11.5936C22.1172 13.8463 21.3676 16.054 19.918 17.7811C18.4684 19.5082 16.4241 20.6293 14.1885 20.9231C11.953 21.217 9.68844 20.6623 7.84175 19.3685L5.00001 20L5.63148 17.1583Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("circle",{cx:"12.75",cy:"15.75",r:"0.75",fill:n})),ns.createElement("defs",null,ns.createElement("filter",{id:"filter0_d",x:"-2",y:"-2",width:"30",height:"30",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},ns.createElement("feFlood",{result:"BackgroundImageFix",floodOpacity:"0"}),ns.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),ns.createElement("feMorphology",{radius:"1",operator:"erode",in:"SourceAlpha",result:"effect1_dropShadow"}),ns.createElement("feOffset",{dy:"1"}),ns.createElement("feGaussianBlur",{stdDeviation:"2"}),ns.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.109804 0 0 0 0 0.188235 0 0 0 0 0.290196 0 0 0 0.12 0"}),ns.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),ns.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"}))))}Rp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Rp.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};var zp=["size","color","strokeWidth"];function $p(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,zp);return ns.createElement("svg",ua({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),ns.createElement("path",{d:"M9.61801 3H14.382V3C14.9343 3 15.382 3.44772 15.382 4.00001C15.382 4.15525 15.3459 4.30836 15.2764 4.44721L14 7H10L8.72362 4.44721V4.44721C8.47663 3.95323 8.67686 3.35256 9.17084 3.10557C9.30968 3.03615 9.46278 3.00001 9.61801 3V3Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M9.99969 6.99769L8.0144 18.581V18.581C7.95102 18.9508 8.09994 19.325 8.40009 19.5501L11.3999 21.8V21.8C11.7555 22.0667 12.2445 22.0667 12.6001 21.8L15.5999 19.5501V19.5501C15.9001 19.325 16.049 18.9508 15.9856 18.5811L14.0003 6.99765",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}$p.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},$p.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};var Hp=["size","color","strokeWidth"];function Ip(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,Hp);return ns.createElement("svg",ua({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),ns.createElement("path",{d:"M11.206 9.11501L14.9 11.3C15.432 11.615 15.432 12.385 14.9 12.7L11.205 14.885C10.663 15.206 9.978 14.815 9.978 14.185V9.81501C9.978 9.18501 10.664 8.79401 11.206 9.11501V9.11501Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M7.327 17.364L5.636 18.364C9.151 21.879 14.849 21.879 18.364 18.364C20.861 15.867 21.575 12.27 20.523 9.13401M16.673 6.63601L18.364 5.63601C14.849 2.12101 9.151 2.12101 5.636 5.63601C3.139 8.13301 2.425 11.731 3.477 14.866",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}Ip.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Ip.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};var Bp=["size","color","strokeWidth"];function Fp(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,Bp);return ns.createElement("svg",ua({viewBox:"0 0 19 21",fill:"none",height:t,width:t},o),ns.createElement("path",{d:"M1.5 9.13701V4.43701V4.43696C1.49892 3.33047 2.39357 2.43184 3.50005 2.42801V2.42801C4.60462 2.42801 5.50005 3.32344 5.50005 4.42801V4.42801V9.00501M1.5 5.91001H5.5H1.5Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M8.25 9V1H13V9",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M14 16H15.5V16C16.8807 16 18 14.8807 18 13.5V12.055C18 10.9504 17.1046 10.055 16 10.055H13.833",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M2 9H12.833V9C13.3853 9 13.833 9.44771 13.833 10V16.333V16.333C13.833 18.3578 12.1918 19.9995 10.167 20H4.667V20C2.64177 20 1 18.3582 1 16.333V10V10C1 9.44771 1.44771 9 2 9V9Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M12.25 3.84H10.75",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M12.25 6.34H11.75",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}Fp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Fp.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};var Up=["size","color","strokeWidth"];function qp(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,Up);return ns.createElement("svg",ua({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),ns.createElement("path",{d:"M7 13H17M7 17H17M3 8H20.954",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M5 3C3.895 3 3 3.895 3 5V19C3 20.105 3.895 21 5 21H19C20.105 21 21 20.105 21 19V5C21 3.895 20.105 3 19 3H5Z",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}function Yp(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}qp.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},qp.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};const Zp=function(n){var r=n.environment,o=n.activeApp,i=n.subdomain,a=n.neetoApps,s=n.recentApps,u=n.onClose,c=function(e){return[{name:"Desk",icon:xp,description:"Customer support app",url:{development:"http://spinkart.lvh.me:9001",staging:"https://".concat(e,".neetodesk.net"),production:"https://".concat(e,".neetodesk.com")}},{name:"Chat",icon:Op,description:"Customer chat app",url:{development:"http://spinkart.lvh.me:9006",staging:"https://".concat(e,".neetochat.net"),production:"https://".concat(e,".neetochat.com")}},{name:"KB",icon:Sp,description:"Knowledge Base App",url:{development:"http://spinkart.lvh.me:9005/admin",staging:"https://".concat(e,".neetokb.net/admin"),production:"https://".concat(e,".neetokb.com/admin")}},{name:"Form",icon:Tp,description:"Form management app",url:{development:"http://spinkart.lvh.me:9004",staging:"https://".concat(e,".neetoform.net"),production:"https://".concat(e,".neetoform.com")}},{name:"Changelog",icon:Lp,description:"Changelog management app",url:{development:"http://spinkart.lvh.me:9003",staging:"https://".concat(e,".neetochangelog.net"),production:"https://".concat(e,".neetochangelog.com")}},{name:"Invoice",icon:Mp,description:"Invoice management app",url:{development:"http://spinkart.lvh.me:9024",staging:"https://".concat(e,".neetoinvoice.net"),production:"https://".concat(e,".neetoinvoice.com")}},{name:"Analytics",icon:Dp,description:"Business Analytics App",url:{development:"http://spinkart.lvh.me:9007",staging:"https://".concat(e,".neetoanalytics.net"),production:"https://".concat(e,".neetoanalytics.com")}},{name:"Engage",icon:Tp,description:"Customer Engagement App",url:{development:"http://spinkart.lvh.me:9009",staging:"https://".concat(e,".neetoengage.net"),production:"https://".concat(e,".neetoengage.com")}},{name:"Grow",icon:Wp,description:"Business Grow App",url:{development:"http://spinkart.lvh.me:9010",staging:"https://".concat(e,".neetogrow.net"),production:"https://".concat(e,".neetogrow.com")}},{name:"Quiz",icon:Rp,description:"Quiz App",url:{development:"http://spinkart.lvh.me:9011",staging:"https://".concat(e,".neetoquiz.net"),production:"https://".concat(e,".neetoquiz.com")}},{name:"Runner",icon:$p,description:"Interview App",url:{development:"http://spinkart.lvh.me:9012",staging:"https://".concat(e,".neetorunner.net"),production:"https://".concat(e,".neetorunner.com")}},{name:"Planner",icon:Tp,description:"Planner App",url:{development:"http://spinkart.lvh.me:9013",staging:"https://".concat(e,".neetoplanner.net"),production:"https://".concat(e,".neetoplanner.com")}},{name:"Replay",icon:Ip,description:"Replay App",url:{development:"http://spinkart.lvh.me:9020",staging:"https://".concat(e,".neetoreplay.net"),production:"https://".concat(e,".neetoreplay.com")}},{name:"Wireframe",icon:Fp,description:"Wireframe App",url:{development:"http://spinkart.lvh.me:9021",staging:"https://".concat(e,".neetowireframe.net"),production:"https://".concat(e,".neetowireframe.com")}},{name:"Invisible",icon:qp,description:"Invisible",url:{development:"http://spinkart.lvh.me:9014",staging:"https://".concat(e,".neetoinvisible.net"),production:"https://".concat(e,".neetoinvisible.com")}},{name:"Popups",icon:Mp,description:"Popups App",url:{development:"http://spinkart.lvh.me:9021",staging:"https://".concat(e,".neetopopups.net"),production:"https://".concat(e,".neetopopups.com")}},{name:"Store",icon:Mp,description:"Store App",url:{development:"http://spinkart.lvh.me:9025",staging:"https://".concat(e,".neetostore.net"),production:"https://".concat(e,".neetostore.com")}},{name:"CRM",icon:Mp,description:"CRM App",url:{development:"http://spinkart.lvh.me:9017",staging:"https://".concat(e,".neetocrm.net"),production:"https://".concat(e,".neetocrm.com")}},{name:"Course",icon:Mp,description:"Course App",url:{development:"http://spinkart.lvh.me:9016",staging:"https://".concat(e,".neetocourse.net"),production:"https://".concat(e,".neetocourse.com")}},{name:"Hr",icon:Mp,description:"Hr App",url:{development:"http://spinkart.lvh.me:9015",staging:"https://".concat(e,".neetohr.net"),production:"https://".concat(e,".neetohr.com")}}]}(i),l=[];a.length>0&&(l=c.filter((function(e){return s.includes(e.name)})),c=c.filter((function(e){return a.includes(e.name)})));var f=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Yp(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Yp(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,e.useState)(""),2),p=f[0],d=f[1],m=c.filter((function(e){return e.name.toLowerCase().includes(p.replace(/ /g,"").toLowerCase())}));return t().createElement(t().Fragment,null,t().createElement("div",{className:"neeto-ui-app-switcher__header"},t().createElement(pf,{icon:yp,style:"text",iconPosition:"left",label:"Back",onClick:u})),t().createElement("div",{className:"neeto-ui-app-switcher__search-wrapper"},t().createElement(Df,{placeholder:"Search Products",type:"search",suffix:t().createElement(Zl,null),onChange:function(e){return d(e.target.value)},value:p})),0===p.length&&l.length>0&&t().createElement("div",{className:"neeto-ui-app-switcher__body"},t().createElement(ia,{style:"h5",weight:"bold",textTransform:"uppercase",className:"neeto-ui-text-gray-300"},"Recently"),t().createElement("div",{className:"neeto-ui-app-switcher__grid"},l.map((function(e){var n=e.name,i=e.url,a=e.icon;return t().createElement(kp,{key:n,name:n,url:i,icon:a,environment:r,activeApp:o})})))),t().createElement("div",{className:"neeto-ui-app-switcher__body"},t().createElement(ia,{style:"h5",weight:"bold",textTransform:"uppercase",className:"neeto-ui-text-gray-300"},0===p.length?"All":"Apps"),t().createElement("div",{className:"neeto-ui-app-switcher__grid"},m.length?m.map((function(e){var n=e.name,i=e.url,a=e.icon;return t().createElement(kp,{key:n,name:n,url:i,icon:a,environment:r,activeApp:o})})):t().createElement(ia,{style:"h4",className:"text-center neeto-ui-text-gray-300"},"No apps found"))))};var Xp="blur(0px)",Kp="blur(2px)",Gp=["children"];function Jp(){return Jp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Jp.apply(this,arguments)}var Qp={invisible:{backgroundColor:"#1b1f2300",backdropFilter:Xp},visible:{backgroundColor:"#1b1f23dd",backdropFilter:Kp}},ed=function(e,n){var r=e.children,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Gp);return t().createElement(Fi.div,Jp({ref:n,variants:Qp,initial:"invisible",animate:"visible",exit:"invisible",transition:{bounce:!1,duration:.3}},o),r)};const td=(0,e.forwardRef)(ed),nd=function(t){var n=t.children,r=t.rootId,o=void 0===r?"root-portal":r,i=t.el,a=void 0===i?"div":i,s=(0,e.useRef)(null);return(0,e.useEffect)((function(){var e=document.getElementById(o);return e||((e=document.createElement(a)).setAttribute("id",o),document.body.appendChild(e)),e.appendChild(s.current),function(){s.current.remove(),0===e.childNodes.length&&e.remove()}}),[o]),s.current||(s.current=document.createElement(a)),(0,Wc.createPortal)(n,s.current)};var rd=i(7484),od=i(178),id=i.n(od),ad=i(6833),sd=i.n(ad),ud=i(6036),cd=i.n(ud);rd.extend(sd()),rd.extend(cd()),rd.extend(id());var ld={open:{x:0,filter:Xp},closed:{x:-400,filter:Kp}},fd={lg:"lg",sm:"sm"},pd={size:Xi().oneOf(Object.values(fd)),isOpen:Xi().bool,onClose:Xi().func,loading:Xi().bool,className:Xi().string,closeOnEsc:Xi().bool,closeOnOutsideClick:Xi().bool,activeApp:Xi().string,subdomain:Xi().string,neetoApps:Xi().arrayOf(Xi().string),recentApps:Xi().arrayOf(Xi().string),environment:Xi().oneOf(Object.values({development:"development",staging:"staging",production:"production"})).isRequired},dd=["size","isOpen","loading","className","closeOnEsc","closeOnOutsideClick","environment","activeApp","subdomain","neetoApps","recentApps","isSidebarOpen","onClose"];function md(){return md=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},md.apply(this,arguments)}var vd=function(){},hd=function(){var e=window.location.host.split("."),t="";return e.length>=3&&(t=e[0]),t},yd=function(n){var r,o,i,a,s,u,c=n.size,l=void 0===c?"sm":c,f=n.isOpen,p=n.loading,d=void 0!==p&&p,m=n.className,v=void 0===m?"":m,h=n.closeOnEsc,y=void 0===h||h,g=n.closeOnOutsideClick,b=void 0===g||g,k=n.environment,C=n.activeApp,x=void 0===C?"Desk":C,w=n.subdomain,O=void 0===w?"":w,E=n.neetoApps,S=void 0===E?[]:E,P=n.recentApps,T=void 0===P?[]:P,j=n.isSidebarOpen,L=void 0!==j&&j,A=n.onClose,M=void 0===A?vd:A,_=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(n,dd),D=(0,e.useRef)(),V=(0,e.useRef)();return r=D,o=V,i=b?M:vd,(0,e.useEffect)((function(){var e=function(e){r.current&&!r.current.contains(e.target)&&(o.current?o.current.contains(e.target)&&i(e):i(e))};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),function(){document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e)}}),[r,o,i]),function(t,n,r,o){r instanceof Array&&(o=r,r=void 0);var i=r||{},a=i.enableOnTags,s=i.filter,u=i.keyup,c=i.keydown,l=i.filterPreventDefault,f=void 0===l||l,p=i.enabled,d=void 0===p||p,m=i.enableOnContentEditable,v=void 0!==m&&m,h=(0,e.useRef)(null),y=(0,e.useCallback)((function(e,t){var r;return s&&!s(e)?!f:!!(vp(e,["INPUT","TEXTAREA","SELECT"])&&!vp(e,a)||null!=(r=e.target)&&r.isContentEditable&&!v)||(null===h.current||document.activeElement===h.current)&&(n(e,t),!0)}),o?[h,a,s].concat(o):[h,a,s]);(0,e.useEffect)((function(){if(d)return u&&!0!==c&&(r.keydown=!1),mp(t,r||{},y),function(){return mp.unbind(t,y)};mp.unbind(t,y)}),[y,t,d])}("esc",y?M:vd),t().createElement(nd,{rootId:"neeto-ui-portal"},t().createElement(ef,null,f&&t().createElement(td,{ref:V,key:"switcher-backdrop",className:qi()("neeto-ui-app-switcher__backdrop",{"neeto-ui-app-switcher__backdrop--expanded":L})},t().createElement(Fi.div,md({variants:ld,initial:"closed",animate:"open",exit:"closed",transition:{bounce:!1,duration:.3},ref:D,key:"switcher-wrapper","data-cy":"switcher-wrapper",className:qi()("neeto-ui-app-switcher__wrapper",(a={"neeto-ui-app-switcher__wrapper-size--sm":l===fd.sm,"neeto-ui-app-switcher__wrapper-size--lg":l===fd.lg},s=v,u=v,s in a?Object.defineProperty(a,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):a[s]=u,a))},_),d?t().createElement(t().Fragment,null):t().createElement(Zp,{onClose:M,environment:k,activeApp:x,subdomain:O||hd()||"spinkart",neetoApps:S,recentApps:T})))))};yd.propTypes=pd;const gd=yd;var bd=["url","icon","label","count","active","onEdit","onClick","className"];var kd=function(){},Cd=function(e){var n,r,o,i=e.url,a=e.icon,s=e.label,u=e.count,c=e.active,l=e.onEdit,f=e.onClick,p=void 0===f?kd:f,d=e.className,m=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,bd),v=i?sa.Link:function(e){return t().createElement("button",e)};return t().createElement(v,{to:i,className:qi()("neeto-ui-menubar__block",(n={"neeto-ui-menubar__block--editable":l,"neeto-ui-menubar__block--active":c},r=d,o=d,r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n)),onClick:p,"data-cy":m["data-cy"]||Tf(s)},t().createElement("div",{className:"neeto-ui-menubar__block-label"},a&&t().createElement("i",{className:"neeto-ui-menubar__block-icon"},a),t().createElement(ia,{title:s,component:"span",style:"h5",weight:"medium"},s)),Number.isInteger(u)&&t().createElement("div",{onClick:function(e){e.stopPropagation(),l&&l()}},t().createElement(ia,{component:"span",style:"h5",weight:"medium"},u>99?"99+":u)))};Cd.propTypes={url:Xi().string,icon:Xi().node,label:Xi().string,count:Xi().number,active:Xi().bool,onEdit:Xi().func,onClick:Xi().func,className:Xi().string},Cd.defaultProps={active:!1};const xd=Cd;var wd=["label","description","active","className"];function Od(){return Od=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Od.apply(this,arguments)}var Ed=function(e){var n,r,o,i=e.label,a=e.description,s=e.active,u=e.className,c=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,wd);return t().createElement("button",Od({className:qi()("neeto-ui-menubar__item",(n={"neeto-ui-menubar__item--active":s},r=u,o=u,r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n))},c),t().createElement(ia,{component:"h5",style:"h4",className:"neeto-ui-menubar__item-header"},i),t().createElement(ia,{style:"body3",className:"neeto-ui-menubar__item-desc"},a))};Ed.propTypes={label:Xi().string,description:Xi().string,active:Xi().bool,className:Xi().string};const Sd=Ed;var Pd=["children","iconProps"];function Td(){return Td=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Td.apply(this,arguments)}var jd=function(e){var n=e.children,r=e.iconProps,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Pd);return t().createElement("div",{"data-cy":o["data-cy"]||"menubar-subtitle-heading",className:"neeto-ui-menubar__subtitle"},n,t().createElement("div",{className:"neeto-ui-menubar__subtitle-actions"},r&&r.map((function(e,n){return t().createElement(pf,Td({style:"text",size:"large",key:n},e))}))))};jd.propTypes={children:Xi().node,iconProps:Xi().arrayOf(Xi().shape(pf.propTypes))};const Ld=jd;var Ad=["size","color","strokeWidth"];function Md(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,Ad);return ns.createElement("svg",ua({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),ns.createElement("path",{d:"M6 6L18 18",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M18 6L6 18",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}Md.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Md.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};var _d=["collapse","onCollapse"];function Dd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Vd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Dd(Object(n),!0).forEach((function(t){Wd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Wd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nd(){return Nd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Nd.apply(this,arguments)}var Rd=function(e){var n=e.collapse,r=e.onCollapse,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,_d);return!n&&t().createElement("div",{className:"neeto-ui-menubar__search"},t().createElement(Df,Nd({type:"search",placeholder:"Search",prefix:t().createElement(Zl,null)},o)),t().createElement(pf,{size:"large",style:"text",icon:Md,onClick:r}))};Rd.propTypes=Vd(Vd({},Df.propTypes),{},{collapse:Xi().bool,onCollapse:Xi().func});const zd=Rd;var $d=["size","color","strokeWidth"];function Hd(e){var t=e.size,n=e.color,r=e.strokeWidth,o=ca(e,$d);return ns.createElement("svg",ua({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),ns.createElement("path",{d:"M12 6L12 18",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}),ns.createElement("path",{d:"M18 12H6",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round"}))}Hd.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Hd.propTypes={color:js.string,size:js.oneOfType([js.string,js.number]),strokeWidth:js.oneOfType([js.string,js.number])};var Id=["label","onClick"];function Bd(){return Bd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Bd.apply(this,arguments)}var Fd=function(e){var n=e.label,r=e.onClick,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Id);return t().createElement("div",Bd({className:"neeto-ui-menubar__add-new-wrap"},o),t().createElement(pf,{label:n,style:"link",icon:Hd,iconPosition:"left",iconSize:16,onClick:r}))};Fd.propTypes={label:Xi().string};const Ud=Fd;var qd={open:{width:324},collapsed:{width:0}},Yd=["title","children","showMenu","className"];var Zd=function(e){var n,r,o,i=e.title,a=e.children,s=e.showMenu,u=e.className,c=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Yd);return t().createElement(ef,null,s&&t().createElement(Fi.div,{initial:"collapsed",animate:"open",exit:"collapsed",variants:qd,transition:{duration:.3},className:qi()("neeto-ui-menubar__wrapper",(n={},r=u,o=u,r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n))},t().createElement("div",{className:"neeto-ui-menubar__container"},i&&t().createElement(ia,{lineHeight:"tight",style:"h2",weight:"semibold","data-cy":c["data-cy"]||"menubar-heading",className:"neeto-ui-text-gray-800 neeto-ui-menubar__title"},i),a)))};Zd.Block=xd,Zd.Item=Sd,Zd.SubTitle=Ld,Zd.Search=zd,Zd.AddNew=Ud,Zd.propTypes={title:Xi().node,children:Xi().oneOfType([Xi().arrayOf(Xi().node),Xi().node]),showMenu:Xi().bool,className:Xi().string},Zd.defaultProps={showMenu:!1};const Xd=Zd})(),a})()}));