PageSourceSearch

https://www.amarillo.gov/wp-content/themes/hello-elementor/assets/emma.module.js

js amarillo.gov collected 2026-10-02 06:16:27 UTC 487,582 bytes, 144 lines download raw bytes

1let e,t,r,n,o,i,a,s,l,u,c;function d(e){Object.defineProperty(e,"__esModule",{value:!0,configurable:!0})}function f(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}function p(e,t){return Object.keys(t).forEach(function(r){"default"===r||"__esModule"===r||Object.prototype.hasOwnProperty.call(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[r]}})}),e}function h(e){return e&&e.__esModule?e.default:e}var m,g,v,y,b,x,S,w,_,k,C,M,P,T,E,R,L,A,N,$,I,j,O,B,z,U,D,F,V,W,H,G,X,q,K,Z,Y,J,Q,ee,et,er,en,eo,ei,ea,es,el,eu,ec,ed,ef,ep,eh,em,eg,ev="u">typeof globalThis?globalThis:"u">typeof self?self:"u">typeof window?window:"u">typeof global?global:{},ey={},eb={},ex=ev.parcelRequire3a64;null==ex&&((ex=function(e){if(e in ey)return ey[e].exports;if(e in eb){var t=eb[e];delete eb[e];var r={id:e,exports:{}};return ey[e]=r,t.call(r.exports,r,r.exports),r.exports}var n=Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}).register=function(e,t){eb[e]=t},ev.parcelRequire3a64=ex);var eS=ex.register;eS("ePVkf",function(e,t){d(e.exports),f(e.exports,"default",function(){return o}),f(e.exports,"internal_processStyles",function(){return i}),f(e.exports,"internal_serializeStyles",function(){return s}),f(e.exports,"ThemeContext",function(){return ex("fOOjm").T}),f(e.exports,"keyframes",function(){return ex("5S20d").keyframes}),f(e.exports,"css",function(){return ex("5S20d").css}),f(e.exports,"StyledEngineProvider",function(){return ex("k0Fz6").default}),f(e.exports,"GlobalStyles",function(){return ex("7OKr1").default});var r=ex("5G5r5"),n=ex("7Pfgb");function o(e,t){return(0,r.default)(e,t)}ex("5S20d"),ex("fOOjm"),ex("k0Fz6"),ex("7OKr1");let i=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},a=[];function s(e){return a[0]=e,(0,n.serializeStyles)(a)}}),eS("5G5r5",function(e,t){f(e.exports,"default",function(){return n});var r=ex("2WS9I");ex("aDpNG"),ex("7Pfgb"),ex("5qHS1"),ex("fFBeF"),ex("f7SMx"),ex("2ryKd");var n=r.default.bind(null);["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(e){n[e]=n(e)})}),eS("2WS9I",function(e,t){f(e.exports,"default",function(){return v});var r=ex("kHSTm");ex("5S20d");var n=ex("fOOjm"),o=ex("7Pfgb"),i=ex("5qHS1"),a=ex("fFBeF");ex("f7SMx");var s=ex("10mKg"),l=ex("4RLZr"),u=ex("2ryKd"),c="u">typeof document,d=u.default,p=function(e){return"theme"!==e},h=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?d:p},m=function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},g=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;(0,a.registerStyles)(t,r,n);var o=(0,i.useInsertionEffectAlwaysWithSyncFallback)(function(){return(0,a.insertStyles)(t,r,n)});if(!c&&void 0!==o){for(var l,u=r.name,d=r.next;void 0!==d;)u+=" "+d.name,d=d.next;return s.createElement("style",((l={})["data-emotion"]=t.key+" "+u,l.dangerouslySetInnerHTML={__html:o},l.nonce=t.sheet.nonce,l))}return null},v=function e(t,i){var u,c,d=t.__emotion_real===t,f=d&&t.__emotion_base||t;void 0!==i&&(u=i.label,c=i.target);var p=m(t,i,d),v=p||h(f),y=!v("as");return function(){var b=arguments,x=d&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==u&&x.push("label:"+u+";"),null==b[0]||void 0===b[0].raw)x.push.apply(x,b);else{var S=b[0];x.push(S[0]);for(var w=b.length,_=1;_<w;_++)x.push(b[_],S[_])}var k=(0,n.w)(function(e,t,r){var i=y&&e.as||f,u="",d=[],m=e;if(null==e.theme){for(var b in m={},e)m[b]=e[b];m.theme=l.useContext(n.T)}"string"==typeof e.className?u=(0,a.getRegisteredStyles)(t.registered,d,e.className):null!=e.className&&(u=e.className+" ");
1var S=(0,o.serializeStyles)(x.concat(d),t.registered,m);u+=t.key+"-"+S.name,void 0!==c&&(u+=" "+c);var w=y&&void 0===p?h(i):v,_={};for(var k in e)(!y||"as"!==k)&&w(k)&&(_[k]=e[k]);return _.className=u,r&&(_.ref=r),s.createElement(s.Fragment,null,s.createElement(g,{cache:t,serialized:S,isStringTag:"string"==typeof i}),s.createElement(i,_))});return k.displayName=void 0!==u?u:"Styled("+("string"==typeof f?f:f.displayName||f.name||"Component")+")",k.defaultProps=t.defaultProps,k.__emotion_real=k,k.__emotion_base=f,k.__emotion_styles=x,k.__emotion_forwardProp=p,Object.defineProperty(k,"toString",{value:function(){return"."+c}}),k.withComponent=function(t,n){return e(t,(0,r.default)({},i,n,{shouldForwardProp:m(k,n,!0)})).apply(void 0,x)},k}}}),eS("kHSTm",function(e,t){f(e.exports,"default",function(){return r});function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}}),eS("5S20d",function(e,t){f(e.exports,"Global",function(){return d}),f(e.exports,"css",function(){return p}),f(e.exports,"keyframes",function(){return h}),f(e.exports,"ThemeContext",function(){return ex("fOOjm").T}),f(e.exports,"withEmotionCache",function(){return ex("fOOjm").w});var r,n,o=ex("fOOjm");ex("f7SMx");var i=ex("10mKg"),a=ex("4RLZr"),s=ex("fFBeF"),l=ex("5qHS1"),u=ex("7Pfgb");ex("iUpPY"),ex("aDpNG"),ex("ckPw1"),ex("bFBYc");var c=function(e,t){var r=arguments;if(null==t||!o.h.call(t,"css"))return i.createElement.apply(void 0,r);var n=r.length,a=Array(n);a[0]=o.E,a[1]=(0,o.c)(e,t);for(var s=2;s<n;s++)a[s]=r[s];return i.createElement.apply(null,a)};r=c||(c={}),n||(n=r.JSX||(r.JSX={}));var d=(0,o.w)(function(e,t){var r=e.styles,n=(0,u.serializeStyles)([r],void 0,a.useContext(o.T));if(!o.i){for(var c,d=n.name,f=n.styles,p=n.next;void 0!==p;)d+=" "+p.name,f+=p.styles,p=p.next;var h=!0===t.compat,m=t.insert("",{name:d,styles:f},t.sheet,h);return h?null:i.createElement("style",((c={})["data-emotion"]=t.key+"-global "+d,c.dangerouslySetInnerHTML={__html:m},c.nonce=t.sheet.nonce,c))}var g=a.useRef();return(0,l.useInsertionEffectWithLayoutFallback)(function(){var e=t.key+"-global",r=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),o=!1,i=document.querySelector('style[data-emotion="'+e+" "+n.name+'"]');return t.sheet.tags.length&&(r.before=t.sheet.tags[0]),null!==i&&(o=!0,i.setAttribute("data-emotion",e),r.hydrate([i])),g.current=[r,o],function(){r.flush()}},[t]),(0,l.useInsertionEffectWithLayoutFallback)(function(){var e=g.current,r=e[0];if(e[1]){e[1]=!1;return}if(void 0!==n.next&&(0,s.insertStyles)(t,n.next,!0),r.tags.length){var o=r.tags[r.tags.length-1].nextElementSibling;r.before=o,r.flush()}t.insert("",n,r,!1)},[t,n.name]),null});function p(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,u.serializeStyles)(t)}function h(){var e=p.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}}),eS("fOOjm",function(e,t){f(e.exports,"a",function(){return u}),f(e.exports,"i",function(){return c}),f(e.exports,"C",function(){return p}),f(e.exports,"w",function(){return h}),f(e.exports,"T",function(){return m}),f(e.exports,"h",function(){return g}),f(e.exports,"c",function(){return y}),f(e.exports,"E",function(){return x}),ex("f7SMx");var r=ex("10mKg"),n=ex("8G7zL"),o=ex("4RLZr"),i=ex("iUpPY");ex("kHSTm"),ex("ckPw1"),ex("hgcZY");var a=ex("fFBeF"),s=ex("7Pfgb"),l=ex("5qHS1"),u=!1,c="u">typeof document,d=r.createContext("u">typeof HTMLElement?(0,i.default)({key:"css"}):null),p=d.Provider,h=function(e){return(0,n.forwardRef)(function(t,r){return e(t,(0,o.useContext)(d),r)})};c||(h=function(e){return function(t){var n=(0,o.useContext)(d);return null===n?(n=(0,i.default)({key:"css"}),r.createElement(d.Provider,{value:n},e(t,n))):e(t,n)}});var m=r.createContext({}),g={}.hasOwnProperty,v="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",y=function(e,t){var r={};for(var n in t)g.call(t,n)&&(r[n]=t[n]);return r[v]=e,r},b=function(e){var t=e.cache,n=e.serialized,o=e.isStringTag;(0,a.registerStyles)(t,n,o);var i=(0,l.useInsertionEffectAlwaysWithSyncFallback)(function(){return(0,a.insertStyles)(t,n,o)});if(!c&&void 0!==i){for(var s,u=n.name,d=n.next;void 0!==d;)u+=" "+d.name,d=d.next;return r.createElement("style",((s={})["data-emotion"]=t.key+" "+u,s.dangerouslySetInnerHTML={__html:i},s.nonce=t.sheet.nonce,s))}return null},x=h(function(e,t,n){var i=e.css;"string"==typeof i&&void 0!==t.registered[i]&&(i=t.registered[i]);var l=e[v],c=[i],d="";"string"==typeof e.className?d=(0,a.getRegisteredStyles)(t.registered,c,e.className):null!=e.className&&(d=e.className+" ");var f=(0,s.serializeStyles)(c,void 0,o.useContext(m));d+=t.key+"-"+f.name;var p={};for(var h in e)g.call(e,h)&&"css"!==h&&h!==v&&!u&&(p[h]=e[h]);return p.className=d,n&&(p.ref=n),r.createElement(r.Fragment,null,r.createElement(b,{cache:t,serialized:f,isStringTag:"string"==typeof l}),r.createElement(l,p))})}),eS("f7SMx",function(e,t){d(e.exports),f(e.exports,"use",function(){return n}),f(e.exports,"default",function(){return o}
1);var r=ex("8G7zL");let n=!1;var o=r.default;p(e.exports,r)}),eS("8G7zL",function(e,t){d(e.exports),f(e.exports,"useSyncExternalStore",function(){return a}),f(e.exports,"startTransition",function(){return l}),f(e.exports,"useDeferredValue",function(){return u}),f(e.exports,"useTransition",function(){return c}),f(e.exports,"useInsertionEffect",function(){return h}),f(e.exports,"PureComponent",function(){return m}),f(e.exports,"memo",function(){return g}),f(e.exports,"forwardRef",function(){return b}),f(e.exports,"Children",function(){return S}),f(e.exports,"Suspense",function(){return k}),f(e.exports,"lazy",function(){return M}),f(e.exports,"SuspenseList",function(){return P}),f(e.exports,"createPortal",function(){return L}),f(e.exports,"render",function(){return O}),f(e.exports,"hydrate",function(){return B}),f(e.exports,"__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",function(){return H}),f(e.exports,"version",function(){return G}),f(e.exports,"createFactory",function(){return X}),f(e.exports,"isValidElement",function(){return q}),f(e.exports,"isFragment",function(){return K}),f(e.exports,"isMemo",function(){return Z}),f(e.exports,"cloneElement",function(){return Y}),f(e.exports,"unmountComponentAtNode",function(){return J}),f(e.exports,"findDOMNode",function(){return Q}),f(e.exports,"unstable_batchedUpdates",function(){return ee}),f(e.exports,"flushSync",function(){return et}),f(e.exports,"isElement",function(){return er}),f(e.exports,"default",function(){return en}),f(e.exports,"Component",function(){return ex("10mKg").Component}),f(e.exports,"Fragment",function(){return ex("10mKg").Fragment}),f(e.exports,"StrictMode",function(){return ex("10mKg").Fragment}),f(e.exports,"createContext",function(){return ex("10mKg").createContext}),f(e.exports,"createElement",function(){return ex("10mKg").createElement}),f(e.exports,"createRef",function(){return ex("10mKg").createRef});var r=ex("10mKg"),n=ex("4RLZr");function o(e,t){for(var r in t)e[r]=t[r];return e}function i(e,t){for(var r in e)if("__source"!==r&&!(r in t))return!0;for(var n in t)if("__source"!==n&&e[n]!==t[n])return!0;return!1}function a(e,t){var r=t(),o=(0,n.useState)({t:{__:r,u:t}}),i=o[0].t,a=o[1];return(0,n.useLayoutEffect)(function(){i.__=r,i.u=t,s(i)&&a({t:i})},[e,r,t]),(0,n.useEffect)(function(){return s(i)&&a({t:i}),e(function(){s(i)&&a({t:i})})},[e]),r}function s(e){var t,r;try{return((t=e.__)!==(r=e.u())||0===t&&1/t!=1/r)&&(t==t||r==r)}catch(e){return!0}}function l(e){e()}function u(e){return e}function c(){return[!1,l]}var h=n.useLayoutEffect;function m(e,t){this.props=e,this.context=t}function g(e,t){function n(e){var r=this.props.ref;return r!=e.ref&&r&&("function"==typeof r?r(null):r.current=null),t?!t(this.props,e)||r!=e.ref:i(this.props,e)}function o(t){return this.shouldComponentUpdate=n,(0,r.createElement)(e,t)}return o.displayName="Memo("+(e.displayName||e.name)+")",o.__f=o.prototype.isReactComponent=!0,o.type=e,o}(m.prototype=new(0,r.Component)).isPureReactComponent=!0,m.prototype.shouldComponentUpdate=function(e,t){return i(this.props,e)||i(this.state,t)};var v=r.options.__b;r.options.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),v&&v(e)};var y="u">typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function b(e){function t(t){var r=o({},t);return delete r.ref,e(r,t.ref||null)}return t.$$typeof=y,t.render=e,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var x=function(e,t){return null==e?null:(0,r.toChildArray)((0,r.toChildArray)(e).map(t))},S={map:x,forEach:x,count:function(e){return e?(0,r.toChildArray)(e).length:0},only:function(e){var t=(0,r.toChildArray)(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:r.toChildArray},w=r.options.__e;r.options.__e=function(e,t,r,n){if(e.then){for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return null==t.__e&&(t.__e=r.__e,t.__k=r.__k),o.__c(e,t)}w(e,t,r,n)};var _=r.options.unmount;function k(){this.__u=0,this.o=null,this.__b=null}function C(e){var t=e.__&&e.__.__c;return t&&t.__a&&t.__a(e)}function M(e){var t,n,o,i=null;function a(a){if(t||(t=e()).then(function(e){e&&(i=e.default||e),o=!0},function(e){n=e,o=!0}),n)throw n;if(!o)throw t;return i?(0,r.createElement)(i,a):null}return a.displayName="Lazy",a.__f=!0,a}function P(){this.i=null,this.l=null}r.options.unmount=function(e){var t=e.__c;t&&(t.__z=!0),t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),_&&_(e)},(k.prototype=new(0,r.Component)).__c=function(e,t){var r=t.__c,n=this;null==n.o&&(n.o=[]),n.o.push(r);var o=C(n.__v),i=!1,a=function(){i||n.__z||(i=!0,r.__R=null,o?o(l):l())};r.__R=a;var s=r.__P;r.__P=null;var l=function(){if(!--n.__u){if(n.state.__a){var e,t=n.state.__a;n.__v.__k[0]=function e(t,r,n){return t&&n&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(t){return e(t,r,n)}),t.__c&&t.__c.__P===r&&(t.__e&&n.appendChild(t.__e),t.__c.__e=!0,t.__c.__P=n)),t}(t,t.__c.__P,t.__c.__O)}for(n.setState({__a:n.__b=null});e=n.o.pop();)e.__P=s,e.forceUpdate()}};n.__u++||32&t.__u||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(a,a)},k.prototype.componentWillUnmount=function(){this.o=[]},k.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),i=this.__v.__k[0].__c;this.__v.__k[0]=function e(t,r,n){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(e){"function"==typeof e.__c&&e.__c()}),t.__c.__H=null),null!=(t=o({},t)).__c&&(t.__c.__P===n&&(t.__c.__P=r),t.__c.__e=!0,t.__c=null),t.__k=t.__k&&t.__k.map(function(t){return e(t,r,n)})),t}
1(this.__b,n,i.__O=i.__P)}this.__b=null}var a=t.__a&&(0,r.createElement)(r.Fragment,null,e.fallback);return a&&(a.__u&=-33),[(0,r.createElement)(r.Fragment,null,t.__a?null:e.children),a]};var T=function(e,t,r){if(++r[1]===r[0]&&e.l.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.l.size))for(r=e.i;r;){for(;r.length>3;)r.pop()();if(r[1]<r[0])break;e.i=r=r[2]}};function E(e){return this.getChildContext=function(){return e.context},e.children}function R(e){var t=this,n=e.h;if(t.componentWillUnmount=function(){(0,r.render)(null,t.v),t.v=null,t.h=null},t.h&&t.h!==n&&t.componentWillUnmount(),!t.v){for(var o=t.__v;null!==o&&!o.__m&&null!==o.__;)o=o.__;t.h=n,t.v={nodeType:1,parentNode:n,childNodes:[],__k:{__m:o.__m},contains:function(){return!0},namespaceURI:n.namespaceURI,insertBefore:function(e,r){this.childNodes.push(e),t.h.insertBefore(e,r)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.h.removeChild(e)}}}(0,r.render)((0,r.createElement)(E,{context:t.context},e.__v),t.v)}function L(e,t){var n=(0,r.createElement)(R,{__v:e,h:t});return n.containerInfo=t,n}(P.prototype=new(0,r.Component)).__a=function(e){var t=this,r=C(t.__v),n=t.l.get(e);return n[0]++,function(o){var i=function(){t.props.revealOrder?(n.push(o),T(t,e,n)):o()};r?r(i):i()}},P.prototype.render=function(e){this.i=null,this.l=new Map;var t=(0,r.toChildArray)(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.l.set(t[n],this.i=[1,0,this.i]);return e.children},P.prototype.componentDidUpdate=P.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,r){T(e,r,t)})};var A="u">typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,N=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,$=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,I=/[A-Z0-9]/g,j="u">typeof document;function O(e,t,n){return null==t.__k&&(t.textContent=""),(0,r.render)(e,t),"function"==typeof n&&n(),e?e.__c:null}function B(e,t,n){return(0,r.hydrate)(e,t),"function"==typeof n&&n(),e?e.__c:null}r.Component.prototype.isReactComponent=!0,["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(r.Component.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var z=r.options.event;r.options.event=function(e){return z&&(e=z(e)),e.persist=function(){},e.isPropagationStopped=function(){return this.cancelBubble},e.isDefaultPrevented=function(){return this.defaultPrevented},e.nativeEvent=e};var U,D={configurable:!0,get:function(){return this.class}},F=r.options.vnode;r.options.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,o={},i=-1==n.indexOf("-");for(var a in t){var s=t[a];if(!("value"===a&&"defaultValue"in t&&null==s||j&&"children"===a&&"noscript"===n||"class"===a||"className"===a)){var l,u=a.toLowerCase();"defaultValue"===a&&"value"in t&&null==t.value?a="value":"download"===a&&!0===s?s="":"translate"===u&&"no"===s?s=!1:"o"===u[0]&&"n"===u[1]?"ondoubleclick"===u?a="ondblclick":"onchange"!==u||"input"!==n&&"textarea"!==n||(l=t.type,("u">typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(l))?"onfocus"===u?a="onfocusin":"onblur"===u?a="onfocusout":$.test(a)&&(a=u):u=a="oninput":i&&N.test(a)?a=a.replace(I,"-$&").toLowerCase():null===s&&(s=void 0),"oninput"===u&&o[a=u]&&(a="oninputCapture"),o[a]=s}}"select"==n&&(o.multiple&&Array.isArray(o.value)&&(o.value=(0,r.toChildArray)(t.children).forEach(function(e){e.props.selected=-1!=o.value.indexOf(e.props.value)})),null!=o.defaultValue&&(o.value=(0,r.toChildArray)(t.children).forEach(function(e){e.props.selected=o.multiple?-1!=o.defaultValue.indexOf(e.props.value):o.defaultValue==e.props.value}))),t.class&&!t.className?(o.class=t.class,Object.defineProperty(o,"className",D)):t.className&&(o.class=o.className=t.className),e.props=o}(e),e.$$typeof=A,F&&F(e)};var V=r.options.__r;r.options.__r=function(e){V&&V(e),U=e.__c};var W=r.options.diffed;r.options.diffed=function(e){W&&W(e);var t=e.props,r=e.__e;null!=r&&"textarea"===e.type&&"value"in t&&t.value!==r.value&&(r.value=null==t.value?"":t.value),U=null};var H={ReactCurrentDispatcher:{current:{readContext:function(e){return U.__n[e.__c].props.value},useCallback:n.useCallback,useContext:n.useContext,useDebugValue:n.useDebugValue,useDeferredValue:u,useEffect:n.useEffect,useId:n.useId,useImperativeHandle:n.useImperativeHandle,useInsertionEffect:h,useLayoutEffect:n.useLayoutEffect,useMemo:n.useMemo,useReducer:n.useReducer,useRef:n.useRef,useState:n.useState,useSyncExternalStore:a,useTransition:c}}},G="18.3.1";function X(e){return r.createElement.bind(null,e)}function q(e){return!!e&&e.$$typeof===A}function K(e){return q(e)&&e.type===r.Fragment}function Z(e){return!!e&&"string"==typeof e.displayName&&0==e.displayName.indexOf("Memo(")}function Y(e){return q(e)?r.cloneElement.apply(null,arguments):e}function J(e){return!!e.__k&&((0,r.render)(null,e),!0)}function Q(e){return e&&(e.base||1===e.nodeType&&e)||null}var ee=function(e,t){return e(t)},et=function(e,t){var n=r.options.debounceRendering;r.options.debounceRendering=function(e){return e()};var o=e(t);return r.options.debounceRendering=n,o},er=q,en={useState:n.useState,useId:n.useId,useReducer:n.useReducer,useEffect:n.useEffect,useLayoutEffect:n.useLayoutEffect,useInsertionEffect:h,useTransition:c,useDeferredValue:u,useSyncExternalStore:a,startTransition:l,useRef:n.useRef,useImperativeHandle:n.useImperativeHandle,useMemo:n.useMemo,useCallback:n.useCallback,useContext:n.useContext,useDebugValue:n.useDebugValue,version:"18.3.1",Children:S,render:O,hydrate:B,unmountComponentAtNode:J,createPortal:L,createElement:r.createElement,createContext:r.createContext,createFactory:X,cloneElement:Y,createRef:r.createRef,Fragment:r.Fragment,isValidElement:q,isElement:er,isFragment:K,isMemo:Z,findDOMNode:Q,Component:r.Component,PureComponent:m,memo:g,forwardRef:b,flushSync:et,unstable_batchedUpdates:ee,StrictMode:r.Fragment,Suspense:k,SuspenseList:P,lazy:M,__SECRET_INT
1ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:H};p(e.exports,n)}),eS("10mKg",function(e,t){f(e.exports,"options",function(){return n}),f(e.exports,"createElement",function(){return k}),f(e.exports,"createRef",function(){return M}),f(e.exports,"Fragment",function(){return P}),f(e.exports,"Component",function(){return T}),f(e.exports,"toChildArray",function(){return function e(t,r){return r=r||[],null==t||"boolean"==typeof t||(S(t)?t.some(function(t){e(t,r)}):r.push(t)),r}}),f(e.exports,"render",function(){return D}),f(e.exports,"hydrate",function(){return F}),f(e.exports,"cloneElement",function(){return V}),f(e.exports,"createContext",function(){return W}),f(e.exports,"h",function(){return k});var r,n,o,i,a,s,l,u,c,d,p,h,m,g,v,y={},b=[],x=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,S=Array.isArray;function w(e,t){for(var r in t)e[r]=t[r];return e}function _(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function k(e,t,n){var o,i,a,s={};for(a in t)"key"==a?o=t[a]:"ref"==a?i=t[a]:s[a]=t[a];if(arguments.length>2&&(s.children=arguments.length>3?r.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(a in e.defaultProps)void 0===s[a]&&(s[a]=e.defaultProps[a]
vendor: 9,127 bytes, line 1
1);return C(e,s,o,i,null)}function C(e,t,r,i,a){var s={type:e,props:t,key:r,ref:i,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==a?++o:a,__i:-1,__u:0};return null==a&&null!=n.vnode&&n.vnode(s),s}function M(){return{current:null}}function P(e){return e.children}function T(e,t){this.props=e,this.context=t}function E(e,t){if(null==t)return e.__?E(e.__,e.__i+1):null;for(var r;t<e.__k.length;t++)if(null!=(r=e.__k[t])&&null!=r.__e)return r.__e;return"function"==typeof e.type?E(e):null}function R(e){(!e.__d&&(e.__d=!0)&&i.push(e)&&!L.__r++||a!=n.debounceRendering)&&((a=n.debounceRendering)||s)(L)}function L(){try{for(var e,t=1;i.length;)i.length>t&&i.sort(l),e=i.shift(),t=i.length,function(e){if(e.__P&&e.__d){var t=e.__v,r=t.__e,o=[],i=[],a=w({},t);a.__v=t.__v+1,n.vnode&&n.vnode(a),j(e.__P,a,t,e.__n,e.__P.namespaceURI,32&t.__u?[r]:null,o,null==r?E(t):r,!!(32&t.__u),i),a.__v=t.__v,a.__.__k[a.__i]=a,B(o,a,i),t.__e=t.__=null,a.__e!=r&&function e(t){if(null!=(t=t.__)&&null!=t.__c)return t.__e=t.__c.base=null,t.__k.some(function(e){if(null!=e&&null!=e.__e)return t.__e=t.__c.base=e.__e}),e(t)}(a)}}(e)}finally{i.length=L.__r=0}}function A(e,t,r,o,i,a,s,l,u,c,d){var f,p,h,m,g,v,x,w=o&&o.__k||b,k=t.length;for(u=function(e,t,r,o,i){var a,s,l,u,c,d=r.length,f=d,p=0;for(e.__k=Array(i),a=0;a<i;a++)null!=(s=t[a])&&"boolean"!=typeof s&&"function"!=typeof s?("string"==typeof s||"number"==typeof s||"bigint"==typeof s||s.constructor==String?s=e.__k[a]=C(null,s,null,null,null):S(s)?s=e.__k[a]=C(P,{children:s},null,null,null):void 0===s.constructor&&s.__b>0?s=e.__k[a]=C(s.type,s.props,s.key,s.ref?s.ref:null,s.__v):e.__k[a]=s,u=a+p,s.__=e,s.__b=e.__b+1,l=null,-1!=(c=s.__i=function(e,t,r,n){var o,i,a,s=e.key,l=e.type,u=t[r],c=null!=u&&0==(2&u.__u);if(null===u&&null==s||c&&s==u.key&&l==u.type)return r;if(n>+!!c){for(o=r-1,i=r+1;o>=0||i<t.length;)if(null!=(u=t[a=o>=0?o--:i++])&&0==(2&u.__u)&&s==u.key&&l==u.type)return a}return -1}(s,r,u,f))&&(f--,(l=r[c])&&(l.__u|=2)),null==l||null==l.__v?(-1==c&&(i>d?p--:i<d&&p++),"function"!=typeof s.type&&(s.__u|=4)):c!=u&&(c==u-1?p--:c==u+1?p++:(c>u?p--:p++,s.__u|=4))):e.__k[a]=null;if(f)for(a=0;a<d;a++)null!=(l=r[a])&&0==(2&l.__u)&&(l.__e==o&&(o=E(l)),function e(t,r,o){var i,a;if(n.unmount&&n.unmount(t),(i=t.ref)&&(i.current&&i.current!=t.__e||z(i,null,r)),null!=(i=t.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(e){n.__e(e,r)}i.base=i.__P=null}if(i=t.__k)for(a=0;a<i.length;a++)i[a]&&e(i[a],r,o||"function"!=typeof t.type);o||_(t.__e),t.__c=t.__=t.__e=void 0}(l,l));return o}(r,t,w,u,k),f=0;f<k;f++)null!=(h=r.__k[f])&&(p=-1!=h.__i&&w[h.__i]||y,h.__i=f,v=j(e,h,p,i,a,s,l,u,c,d),m=h.__e,h.ref&&p.ref!=h.ref&&(p.ref&&z(p.ref,null,h),d.push(h.ref,h.__c||m,h)),null==g&&null!=m&&(g=m),(x=!!(4&h.__u))||p.__k===h.__k?(u=function e(t,r,n,o){var i,a;if("function"==typeof t.type){for(i=t.__k,a=0;i&&a<i.length;a++)i[a]&&(i[a].__=t,r=e(i[a],r,n,o));return r}t.__e!=r&&(o&&(r&&t.type&&!r.parentNode&&(r=E(t)),n.insertBefore(t.__e,r||null)),r=t.__e);do r=r&&r.nextSibling;while(null!=r&&8==r.nodeType)return r}(h,u,e,x),x&&p.__e&&(p.__e=null)):"function"==typeof h.type&&void 0!==v?u=v:m&&(u=m.nextSibling),h.__u&=-7);return r.__e=g,u}function N(e,t,r){"-"==t[0]?e.setProperty(t,null==r?"":r):e[t]=null==r?"":"number"!=typeof r||x.test(t)?r:r+"px"}function $(e,t,r,n,o){var i,a;e:if("style"==t)if("string"==typeof r)e.style.cssText=r;else{if("string"==typeof n&&(e.style.cssText=n=""),n)for(t in n)r&&t in r||N(e.style,t,"");if(r)for(t in r)n&&r[t]==n[t]||N(e.style,t,r[t])}else if("o"==t[0]&&"n"==t[1])i=t!=(t=t.replace(p,"$1")),t=(a=t.toLowerCase())in e||"onFocusOut"==t||"onFocusIn"==t?a.slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=r,r?n?r[d]=n[d]:(r[d]=h,e.addEventListener(t,i?g:m,i)):e.removeEventListener(t,i?g:m,i);else{if("http://www.w3.org/2000/svg"==o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=t&&"height"!=t&&"href"!=t&&"list"!=t&&"form"!=t&&"tabIndex"!=t&&"download"!=t&&"rowSpan"!=t&&"colSpan"!=t&&"role"!=t&&"popover"!=t&&t in e)try{e[t]=null==r?"":r;break e}catch(e){}"function"==typeof r||(null==r||!1===r&&"-"!=t[4]?e.removeAttribute(t):e.setAttribute(t,"popover"==t&&1==r?"":r))}}function I(e){return function(t){if(this.l){var r=this.l[t.type+e];if(null==t[c])t[c]=h++;else if(t[c]<r[d])return;return r(n.event?n.event(t):t)}}}function j(e,t,o,i,a,s,l,u,c,d){var f,p,h,m,g,v,x,k,C,M,R,L,N,I,j,B=t.type;if(void 0!==t.constructor)return null;128&o.__u&&(c=!!(32&o.__u),s=[u=t.__e=o.__e]),(f=n.__b)&&f(t);e:if("function"==typeof B)try{if(k=t.props,C=B.prototype&&B.prototype.render,M=(f=B.contextType)&&i[f.__c],R=f?M?M.props.value:f.__:i,o.__c?x=(p=t.__c=o.__c).__=p.__E:(C?t.__c=p=new B(k,R):(t.__c=p=new T(k,R),p.constructor=B,p.render=U),M&&M.sub(p),p.state||(p.state={}),p.__n=i,h=p.__d=!0,p.__h=[],p._sb=[]),C&&null==p.__s&&(p.__s=p.state),C&&null!=B.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=w({},p.__s)),w(p.__s,B.getDerivedStateFromProps(k,p.__s))),m=p.props,g=p.state,p.__v=t,h)C&&null==B.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),C&&null!=p.componentDidMount&&p.__h.push(p.componentDidMount);else{if(C&&null==B.getDerivedStateFromProps&&k!==m&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(k,R),t.__v==o.__v||!p.__e&&null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(k,p.__s,R)){t.__v!=o.__v&&(p.props=k,p.state=p.__s,p.__d=!1),t.__e=o.__e,t.__k=o.__k,t.__k.some(function(e){e&&(e.__=t)}),b.push.apply(p.__h,p._sb),p._sb=[],p.__h.length&&l.push(p);break e}null!=p.componentWillUpdate&&p.componentWillUpdate(k,p.__s,R),C&&null!=p.componentDidUpdate&&p.__h.push(function(){p.componentDidUpdate(m,g,v)})}if(p.context=R,p.props=k,p.__P=e,p.__e=!1,L=n.__r,N=0,C)p.state=p.__s,p.__d=!1,L&&L(t),f=p.render(p.props,p.state,p.context),b.push.apply(p.__h,p._sb),p._sb=[];else do p.__d=!1,L&&L(t),f=p.render(p.props,p.state,p.context),p.state=p.__s;while(p.__d&&++N<25)p.state=p.__s,null!=p.getChildContext&&(i=w(w({},i),p.getChildContext())),C&&!h&&null!=p.getSnapshotBeforeUpdate&&(v=p.getSnapshotBeforeUpdate(m,g)),I=null!=f&&f.type===P&&null==f.key?function e(t){return"object"!=typeof t||null==t||t.__b>0?t:S(t)?t.map(e):void 0!==t.constructor?null:w({},t)}(f.props.children):f,u=A(e,S(I)?I:[I],t,o,i,a,s,l,u,c,d),p.base=t.__e,t.__u&=-161,p.__h.length&&l.push(p),x&&(p.__E=p.__=null)}catch(e){if(t.__v=null,c||null!=s)if(e.then){for(t.__u|=c?160:128;u&&8==u.nodeType&&u.nextSibling;)u=u.nextSibling;s[s.indexOf(u)]=null,t.__e=u}else{for(j=s.length;j--;)_(s[j]);O(t)}else t.__e=o.__e,t.__k=o.__k,e.then||O(t);n.__e(e,t,o)}else null==s&&t.__v==o.__v?(t.__k=o.__k,t.__e=o.__e):u=t.__e=function(e,t,o,i,a,s,l,u,c){var d,f,p,h,m,g,v,b=o.props||y,x=t.props,w=t.type;if("svg"==w?a="http://www.w3.org/2000/svg":"math"==w?a="http://www.w3.org/1998/Math/MathML":a||(a="http://www.w3.org/1999/xhtml"),null!=s){for(d=0;d<s.length;d++)if((m=s[d])&&"setAttribute"in m==!!w&&(w?m.localName==w:3==m.nodeType)){e=m,s[d]=null;break}}if(null==e){if(null==w)return document.createTextNode(x);e=document.createElementNS(a,w,x.is&&x),u&&(n.__m&&n.__m(t,s),u=!1),s=null}if(null==w)b===x||u&&e.data==x||(e.data=x);else{if(s="textarea"==w&&null!=x.defaultValue?null:s&&r.call(e.childNodes),!u&&null!=s)for(b={},d=0;d<e.attributes.length;d++)b[(m=e.attributes[d]).name]=m.value;for(d in b)m=b[d],"dangerouslySetInnerHTML"==d?p=m:"children"==d||d in x||"value"==d&&"defaultValue"in x||"checked"==d&&"defaultChecked"in x||$(e,d,null,m,a);for(d in x)m=x[d],"children"==d?h=m:"dangerouslySetInnerHTML"==d?f=m:"value"==d?g=m:"checked"==d?v=m:u&&"function"!=typeof m||b[d]===m||$(e,d,m,b[d],a);if(f)u||p&&(f.__html==p.__html||f.__html==e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(p&&(e.innerHTML=""),A("template"==t.type?e.content:e,S(h)?h:[h],t,o,i,"foreignObject"==w?"http://www.w3.org/1999/xhtml":a,s,l,s?s[0]:o.__k&&E(o,0),u,c),null!=s)for(d=s.length;d--;)_(s[d]);u&&"textarea"!=w||(d="value","progress"==w&&null==g?e.removeAttribute("value"):null==g||g===e[d]&&("progress"!=w||g)&&("option"!=w||g==b[d])||$(e,d,g,b[d],a),d="checked",null!=v&&v!=e[d]&&$(e,d,v,b[d],a))}return e}(o.__e,t,o,i,a,s,l,c,d);return(f=n.diffed)&&f(t),128&t.__u?void 0:u}function O(e){e&&(e.__c&&(e.__c.__e=!0),e.__k&&e.__k.some(O))}function B(e,t,r){for(var o=0;o<r.length;o++)z(r[o],r[++o],r[++o]);n.__c&&n.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){n.__e(e,t.__v)}})}function z(e,t,r){try{if("function"==typeof e){var o="function"==typeof e.__u;o&&e.__u(),o&&null==t||(e.__u=e(t))}else e.current=t}catch(e){n.__e(e,r)}}function U(e,t,r){return this.constructor(e,r)}function D(e,t,o){var i,a,s,l;t==document&&(t=document.documentElement),n.__&&n.__(e,t),a=(i="function"==typeof o)?null:o&&o.__k||t.__k,s=[],l=[],j(t,e=(!i&&o||t).__k=k(P,null,[e]),a||y,y,t.namespaceURI,!i&&o?[o]:a?null:t.firstChild?r.call(t.childNodes):null,s,!i&&o?o:a?a.__e:t.firstChild,i,l),B(s,e,l)}function F(e,t){D(e,t,F)}function V(e,t,n){var o,i,a,s,l=w({},e.props);for(a in e.type&&e.type.defaultProps&&(s=e.type.defaultProps),t)"key"==a?o=t[a
vendor: 1,405 bytes, line 1
1]:"ref"==a?i=t[a]:l[a]=void 0===t[a]&&null!=s?s[a]:t[a];return arguments.length>2&&(l.children=arguments.length>3?r.call(arguments,2):n),C(e.type,l,o||e.key,i||e.ref,null)}function W(e){function t(e){var r,n;return this.getChildContext||(r=new Set,(n={})[t.__c]=this,this.getChildContext=function(){return n},this.componentWillUnmount=function(){r=null},this.shouldComponentUpdate=function(e){this.props.value!=e.value&&r.forEach(function(e){e.__e=!0,R(e)})},this.sub=function(e){r.add(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){r&&r.delete(e),t&&t.call(e)}}),e.children}return t.__c="__cC"+v++,t.__=e,t.Provider=t.__l=(t.Consumer=function(e,t){return e.children(t)}).contextType=t,t}r=b.slice,n={__e:function(e,t,r,n){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,n||{}),a=o.__d),a)return o.__E=o}catch(t){e=t}throw e}},o=0,T.prototype.setState=function(e,t){var r;r=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=w({},this.state),"function"==typeof e&&(e=e(w({},r),this.props)),e&&w(r,e),null!=e&&this.__v&&(t&&this._sb.push(t),R(this))},T.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),R(this))},T.prototype.render=P,i=[],s="function"==typeof Promise?Promise.prototype.then.bind(Prom
vendor: 4,237 bytes, line 1
1ise.resolve()):setTimeout,l=function(e,t){return e.__v.__b-t.__v.__b},L.__r=0,c="__d"+(u=Math.random().toString(8)),d="__a"+u,p=/(PointerCapture)$|Capture$/i,h=0,m=I(!1),g=I(!0),v=0}),eS("4RLZr",function(e,t){f(e.exports,"useState",function(){return y}),f(e.exports,"useReducer",function(){return b}),f(e.exports,"useEffect",function(){return x}),f(e.exports,"useLayoutEffect",function(){return S}),f(e.exports,"useRef",function(){return w}),f(e.exports,"useMemo",function(){return k}),f(e.exports,"useImperativeHandle",function(){return _}),f(e.exports,"useCallback",function(){return C}),f(e.exports,"useContext",function(){return M}),f(e.exports,"useDebugValue",function(){return P}),f(e.exports,"useErrorBoundary",function(){return T}),f(e.exports,"useId",function(){return E});var r,n,o,i,a=ex("10mKg"),s=0,l=[],u=a.options,c=u.__b,d=u.__r,p=u.diffed,h=u.__c,m=u.unmount,g=u.__;function v(e,t){u.__h&&u.__h(n,e,s||t),s=0;var r=n.__H||(n.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function y(e){return s=1,b(I,e)}function b(e,t,o){var i=v(r++,2);if(i.t=e,!i.__c&&(i.__=[o?o(t):I(void 0,t),function(e){var t=i.__N?i.__N[0]:i.__[0],r=i.t(t,e);t!==r&&(i.__N=[r,i.__[1]],i.__c.setState({}))}],i.__c=n,!n.__f)){var a=function(e,t,r){if(!i.__c.__H)return!0;var n=i.__c.__H.__.filter(function(e){return e.__c});if(n.every(function(e){return!e.__N}))return!s||s.call(this,e,t,r);var o=i.__c.props!==e;return n.some(function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(o=!0)}}),s&&s.call(this,e,t,r)||o};n.__f=!0;var s=n.shouldComponentUpdate,l=n.componentWillUpdate;n.componentWillUpdate=function(e,t,r){if(this.__e){var n=s;s=void 0,a(e,t,r),s=n}l&&l.call(this,e,t,r)},n.shouldComponentUpdate=a}return i.__N||i.__}function x(e,t){var o=v(r++,3);!u.__s&&$(o.__H,t)&&(o.__=e,o.u=t,n.__H.__h.push(o))}function S(e,t){var o=v(r++,4);!u.__s&&$(o.__H,t)&&(o.__=e,o.u=t,n.__h.push(o))}function w(e){return s=5,k(function(){return{current:e}},[])}function _(e,t,r){s=6,S(function(){if("function"==typeof e){var r=e(t());return function(){e(null),r&&"function"==typeof r&&r()}}if(e)return e.current=t(),function(){return e.current=null}},null==r?r:r.concat(e))}function k(e,t){var n=v(r++,7);return $(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function C(e,t){return s=8,k(function(){return e},t)}function M(e){var t=n.context[e.__c],o=v(r++,9);return o.c=e,t?(null==o.__&&(o.__=!0,t.sub(n)),t.props.value):e.__}function P(e,t){u.useDebugValue&&u.useDebugValue(t?t(e):e)}function T(e){var t=v(r++,10),o=y();return t.__=e,n.componentDidCatch||(n.componentDidCatch=function(e,r){t.__&&t.__(e,r),o[1](e)}),[o[0],function(){o[1](void 0)}]}function E(){var e=v(r++,11);if(!e.__){for(var t=n.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var o=t.__m||(t.__m=[0,0]);e.__="P"+o[0]+"-"+o[1]++}return e.__}function R(){for(var e;e=l.shift();){var t=e.__H;if(e.__P&&t)try{t.__h.some(A),t.__h.some(N),t.__h=[]}catch(r){t.__h=[],u.__e(r,e.__v)}}}u.__b=function(e){n=null,c&&c(e)},u.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),g&&g(e,t)},u.__r=function(e){d&&d(e),r=0;var t=(n=e.__c).__H;t&&(o===n?(t.__h=[],n.__h=[],t.__.some(function(e){e.__N&&(e.__=e.__N),e.u=e.__N=void 0})):(t.__h.some(A),t.__h.some(N),t.__h=[],r=0)),o=n},u.diffed=function(e){p&&p(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==l.push(t)&&i===u.requestAnimationFrame||((i=u.requestAnimationFrame)||function(e){var t,r=function(){clearTimeout(n),L&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,35);L&&(t=requestAnimationFrame(r))})(R)),t.__H.__.some(function(e){e.u&&(e.__H=e.u),e.u=void 0})),o=n=null},u.__c=function(e,t){t.some(function(e){try{e.__h.some(A),e.__h=e.__h.filter(function(e){return!e.__||N(e)})}catch(r){t.some(function(e){e.__h&&(e.__h=[])}),t=[],u.__e(r,e.__v)}}),h&&h(e,t)},u.unmount=function(e){m&&m(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.some(function(e){try{A(e)}catch(e){t=e}}),r.__H=void 0,t&&u.__e(t,r.__v))};var L="function"==typeof requestAnimationFrame;function A(e){var t=n,r=e.__c;"function"==typeof r&&(e.__c=void 0,r()),n=t}function N(e){var t=n;e.__c=e.__(),n=t}function $(e,t){return!e||e.length!==t.length||t.some(function(t,r){return t!==e[r]})}function I(e,t){return"function"==typeof t?t(e):t}}
vendor: 3,826 bytes, line 1
1),eS("iUpPY",function(e,t){f(e.exports,"default",function(){return m});var r=ex("gNouM"),n=ex("bpWSm"),o=ex("ckPw1"),i=ex("hHyCK"),a="u">typeof document,s=function(e,t,r){for(var o=0,i=0;o=i,i=(0,n.peek)(),38===o&&12===i&&(t[r]=1),!(0,n.token)(i);)(0,n.next)();return(0,n.slice)(e,n.position)},l=function(e,t){var r=-1,o=44;do switch((0,n.token)(o)){case 0:38===o&&12===(0,n.peek)()&&(t[r]=1),e[r]+=s(n.position-1,t,r);break;case 2:e[r]+=(0,n.delimit)(o);break;case 4:if(44===o){e[++r]=58===(0,n.peek)()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=(0,n.from)(o)}while(o=(0,n.next)())return e},u=new WeakMap,c=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,o=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||u.get(r))&&!o){u.set(e,!0);for(var i=[],a=(0,n.dealloc)(l((0,n.alloc)(t),i)),s=r.props,c=0,d=0;c<a.length;c++)for(var f=0;f<s.length;f++,d++)e.props[d]=i[c]?a[c].replace(/&\f/g,s[f]):s[f]+" "+a[c]}}},d=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},p=a?void 0:(0,o.default)(function(){return(0,i.default)(function(){return{}})}),h=[function(e,t,r,o){if(e.length>-1&&!e.return)switch(e.type){case n.DECLARATION:e.return=function e(t,r){switch((0,n.hash)(t,r)){case 5103:return n.WEBKIT+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return n.WEBKIT+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return n.WEBKIT+t+n.MOZ+t+n.MS+t+t;case 6828:case 4268:return n.WEBKIT+t+n.MS+t+t;case 6165:return n.WEBKIT+t+n.MS+"flex-"+t+t;case 5187:return n.WEBKIT+t+(0,n.replace)(t,/(\w+).+(:[^]+)/,n.WEBKIT+"box-$1$2"+n.MS+"flex-$1$2")+t;case 5443:return n.WEBKIT+t+n.MS+"flex-item-"+(0,n.replace)(t,/flex-|-self/,"")+t;case 4675:return n.WEBKIT+t+n.MS+"flex-line-pack"+(0,n.replace)(t,/align-content|flex-|-self/,"")+t;case 5548:return n.WEBKIT+t+n.MS+(0,n.replace)(t,"shrink","negative")+t;case 5292:return n.WEBKIT+t+n.MS+(0,n.replace)(t,"basis","preferred-size")+t;case 6060:return n.WEBKIT+"box-"+(0,n.replace)(t,"-grow","")+n.WEBKIT+t+n.MS+(0,n.replace)(t,"grow","positive")+t;case 4554:return n.WEBKIT+(0,n.replace)(t,/([^-])(transform)/g,"$1"+n.WEBKIT+"$2")+t;case 6187:return(0,n.replace)((0,n.replace)((0,n.replace)(t,/(zoom-|grab)/,n.WEBKIT+"$1"),/(image-set)/,n.WEBKIT+"$1"),t,"")+t;case 5495:case 3959:return(0,n.replace)(t,/(image-set\([^]*)/,n.WEBKIT+"$1$`$1");case 4968:return(0,n.replace)((0,n.replace)(t,/(.+:)(flex-)?(.*)/,n.WEBKIT+"box-pack:$3"+n.MS+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+n.WEBKIT+t+t;case 4095:case 3583:case 4068:case 2532:return(0,n.replace)(t,/(.+)-inline(.+)/,n.WEBKIT+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if((0,n.strlen)(t)-1-r>6)switch((0,n.charat)(t,r+1)){case 109:if(45!==(0,n.charat)(t,r+4))break;case 102:return(0,n.replace)(t,/(.+:)(.+)-([^]+)/,"$1"+n.WEBKIT+"$2-$3$1"+n.MOZ+(108==(0,n.charat)(t,r+3)?"$3":"$2-$3"))+t;case 115:return~(0,n.indexof)(t,"stretch")?e((0,n.replace)(t,"stretch","fill-available"),r)+t:t}break;case 4949:if(115!==(0,n.charat)(t,r+1))break;case 6444:switch((0,n.charat)(t,(0,n.strlen)(t)-3-(~(0,n.indexof)(t,"!important")&&10))){case 107:return(0,n.replace)(t,":",":"+n.WEBKIT)+t;case 101:return(0,n.replace)(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+n.WEBKIT+(45===(0,n.charat)(t,14)?"inline-":"")+"box$3$1"+n.WEBKIT+"$2$3$1"+n.MS+"$2box$3")+t}break;case 5936:switch((0,n.charat)(t,r+11)){case 114:return n.WEBKIT+t+n.MS+(0,n.replace)(t,/[svh]\w+-[tblr]{2}/,"tb")+t;
1case 108:return n.WEBKIT+t+n.MS+(0,n.replace)(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return n.WEBKIT+t+n.MS+(0,n.replace)(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return n.WEBKIT+t+n.MS+t+t}return t}(e.value,e.length);break;case n.KEYFRAMES:return(0,n.serialize)([(0,n.copy)(e,{value:(0,n.replace)(e.value,"@","@"+n.WEBKIT)})],o);case n.RULESET:if(e.length)return(0,n.combine)(e.props,function(t){switch((0,n.match)(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return(0,n.serialize)([(0,n.copy)(e,{props:[(0,n.replace)(t,/:(read-\w+)/,":"+n.MOZ+"$1")]})],o);case"::placeholder":return(0,n.serialize)([(0,n.copy)(e,{props:[(0,n.replace)(t,/:(plac\w+)/,":"+n.WEBKIT+"input-$1")]}),(0,n.copy)(e,{props:[(0,n.replace)(t,/:(plac\w+)/,":"+n.MOZ+"$1")]}),(0,n.copy)(e,{props:[(0,n.replace)(t,/:(plac\w+)/,n.MS+"input-$1")]})],o)}return""})}}],m=function(e){var t=e.key;if(a&&"css"===t){var o=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(o,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var i=e.stylisPlugins||h,s={},l=[];a&&(y=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)s[t[r]]=!0;l.push(e)}));var u=[c,d];if(p){var f=[n.stringify],m=(0,n.middleware)(u.concat(i,f)),g=p(i)(t),v=function(e,t){var r,o=t.name;return void 0===g[o]&&(g[o]=(r=e?e+"{"+t.styles+"}":t.styles,(0,n.serialize)((0,n.compile)(r),m))),g[o]};b=function(e,t,r,n){var o=t.name,i=v(e,t);return void 0===_.compat?(n&&(_.inserted[o]=!0),i):n?void(_.inserted[o]=i):i}}else{var y,b,x,S=[n.stringify,(0,n.rulesheet)(function(e){x.insert(e)})],w=(0,n.middleware)(u.concat(i,S));b=function(e,t,r,o){var i;x=r,i=e?e+"{"+t.styles+"}":t.styles,(0,n.serialize)((0,n.compile)(i),w),o&&(_.inserted[t.name]=!0)}}var _={key:t,sheet:new(0,r.StyleSheet)({key:t,container:y,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:b};return _.sheet.hydrate(l),_}}),eS("gNouM",function(e,t){f(e.exports,"StyleSheet",function(){return r});var r=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(((t=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&t.setAttribute("nonce",this.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t));var t,r=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(r);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else r.appendChild(document.createTextNode(e));this.ctr++}
1,t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}()}),eS("bpWSm",function(e,t){f(e.exports,"MS",function(){return r}),f(e.exports,"MOZ",function(){return n}),f(e.exports,"WEBKIT",function(){return o}),f(e.exports,"RULESET",function(){return a}),f(e.exports,"DECLARATION",function(){return s}),f(e.exports,"KEYFRAMES",function(){return l}),f(e.exports,"from",function(){return c}),f(e.exports,"hash",function(){return p}),f(e.exports,"charat",function(){return v}),f(e.exports,"match",function(){return h}),f(e.exports,"replace",function(){return m}),f(e.exports,"indexof",function(){return g}),f(e.exports,"strlen",function(){return b}),f(e.exports,"combine",function(){return S}),f(e.exports,"position",function(){return C}),f(e.exports,"copy",function(){return E}),f(e.exports,"next",function(){return R}),f(e.exports,"peek",function(){return L}),f(e.exports,"slice",function(){return A}),f(e.exports,"token",function(){return N}),f(e.exports,"alloc",function(){return $}),f(e.exports,"dealloc",function(){return I}),f(e.exports,"delimit",function(){return j}),f(e.exports,"compile",function(){return O}),f(e.exports,"serialize",function(){return U}),f(e.exports,"stringify",function(){return D}),f(e.exports,"middleware",function(){return F}),f(e.exports,"rulesheet",function(){return V});var r="-ms-",n="-moz-",o="-webkit-",i="comm",a="rule",s="decl",l="@keyframes",u=Math.abs,c=String.fromCharCode,d=Object.assign;function p(e,t){return 45^v(e,0)?(((t<<2^v(e,0))<<2^v(e,1))<<2^v(e,2))<<2^v(e,3):0}function h(e,t){return(e=t.exec(e))?e[0]:e}function m(e,t,r){return e.replace(t,r)}function g(e,t){return e.indexOf(t)}function v(e,t){return 0|e.charCodeAt(t)}function y(e,t,r){return e.slice(t,r)}function b(e){return e.length}function x(e,t){return t.push(e),e}function S(e,t){return e.map(t).join("")}var w=1,_=1,k=0,C=0,M=0,P="";function T(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:w,column:_,length:a,return:""}}function E(e,t){return d(T("",null,null,"",null,null,0),e,{length:-e.length},t)}function R(){return M=C<k?v(P,C++):0,_++,10===M&&(_=1,w++),M}function L(){return v(P,C)}function A(e,t){return y(P,e,t)}function N(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function $(e){return w=_=1,k=b(P=e),C=0,[]}function I(e){return P="",e}function j(e){return A(C-1,function e(t){for(;R();)switch(M){case t:return C;case 34:case 39:34!==t&&39!==t&&e(M);break;case 40:41===t&&e(t);break;case 92:R()}return C}(91===e?e+2:40===e?e+1:e)).trim()}function O(e){return I(function e(t,r,n,o,a,s,l,u,d){for(var f,p=0,h=0,S=l,k=0,E=0,$=0,I=1,O=1,U=1,D=0,F="",V=a,W=s,H=o,G=F;O;)switch($=D,D=R()){case 40:if(108!=$&&58==v(G,S-1)){-1!=g(G+=m(j(D),"&","&\f"),"&\f")&&(U=-1);break}case 34:case 39:case 91:G+=j(D);break;case 9:case 10:case 13:case 32:G+=function(e){for(;M=L();)if(M<33)R();else break;return N(e)>2||N(M)>3?"":" "}($);break;case 92:G+=function(e,t){for(;--t&&R()&&!(M<48)&&!(M>102)&&(!(M>57)||!(M<65))&&(!(M>70)||!(M<97)););return A(e,C+(t<6&&32==L()&&32==R()))}(C-1,7);continue;case 47:switch(L()){case 42:case 47:x((f=function(e,t){for(;R();)if(e+M===57)break;else if(e+M===84&&47===L())break;return"/*"+A(t,C-1)+"*"+c(47===e?e:R())}(R(),C),T(f,r,n,i,c(M),y(f,2,-2),0)),d);break;default:G+="/"}break;case 123*I:u[p++]=b(G)*U;case 125*I:case 59:case 0:switch(D){case 0:case 125:O=0;case 59+h:-1==U&&(G=m(G,/\f/g,"")),E>0&&b(G)-S&&x(E>32?z(G+";",o,n,S-1):z(m(G," ","")+";",o,n,S-2),d);break;case 59:G+=";";default:if(x(H=B(G,r,n,p,h,a,u,F,V=[],W=[],S),s),123===D)if(0===h)e(G,r,H,H,V,s,S,u,W);else switch(99===k&&110===v(G,3)?100:k){case 100:case 108:case 109:case 115:e(t,H,H,o&&x(B(t,H,H,0,0,a,u,F,a,V=[],S),W),a,W,S,u,o?V:W);break;default:e(G,H,H,H,[""],W,0,u,W)}}p=h=E=0,I=U=1,F=G="",S=l;break;case 58:S=1+b(G),E=$;default:if(I<1){if(123==D)--I;else if(125==D&&0==I++&&125==(M=C>0?v(P,--C):0,_--,10===M&&(_=1,w--),M))continue}switch(G+=c(D),D*I){case 38:U=h>0?1:(G+="\f",-1);break;case 44:u[p++]=(b(G)-1)*U,U=1;break;case 64:45===L()&&(G+=j(R())),k=L(),h=S=b(F=G+=function(e){for(;!N(L());)R();return A(e,C)}(C)),D++;break;case 45:45===$&&2==b(G)&&(I=0)}}return s}("",null,null,null,[""],e=$(e),0,[0],e))}function B(e,t,r,n,o,i,s,l,c,d,f){for(var p=o-1,h=0===o?i:[""],g=h.length,v=0,b=0,x=0;v<n;++v)for(var S=0,w=y(e,p+1,p=u(b=s[v])),_=e;S<g;++S)(_=(b>0?h[S]+" "+w:m(w,/&\f/g,h[S])).trim())&&(c[x++]=_);return T(e,t,r,0===o?a:l,c,d,f)}function z(e,t,r,n){return T(e,t,r,s,y(e,0,n),y(e,n+1,-1),n)}function U(e,t){for(var r="",n=e.length,o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function D(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case s:return e.return=e.return||e.value;case i:return"";case l:return e.return=e.value+"{"+U(e.children,n)+"}";case a:e.value=e.props.join(",")}return b(r=U(e.children,n))?e.return=e.value+"{"+r+"}":""}function F(e){var t=e.length;return function(r,n,o,i){for(var a="",s=0;s<t;s++)a+=e[s](r,n,o,i)||"";return a}}function V(e){return function(t){!t.root&&(t=t.return)&&e(t)}}}
1),eS("ckPw1",function(e,t){f(e.exports,"default",function(){return r});var r=function(e){var t=new WeakMap;return function(r){if(t.has(r))return t.get(r);var n=e(r);return t.set(r,n),n}}}),eS("hHyCK",function(e,t){f(e.exports,"default",function(){return r});function r(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}}),eS("hgcZY",function(e,t){f(e.exports,"default",function(){return n});var r=ex("bFBYc"),n=function(e,t){return h(r)(e,t)}}),eS("bFBYc",function(e,t){var r=ex("hNYo4"),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function s(e){return r.isMemo(e)?i:a[e.$$typeof]||n}a[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[r.Memo]=i;var l=Object.defineProperty,u=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(p){var i=f(r);i&&i!==p&&e(t,i,n)}var a=u(r);c&&(a=a.concat(c(r)));for(var h=s(t),m=s(r),g=0;g<a.length;++g){var v=a[g];if(!o[v]&&!(n&&n[v])&&!(m&&m[v])&&!(h&&h[v])){var y=d(r,v);try{l(t,v,y)}catch(e){}}}}return t}}),eS("hNYo4",function(e,t){e.exports=ex("c7B6m")}),eS("c7B6m",function(e,t){f(e.exports,"AsyncMode",function(){return r},function(e){return r=e}),f(e.exports,"ConcurrentMode",function(){return n},function(e){return n=e}),f(e.exports,"ContextConsumer",function(){return o},function(e){return o=e}),f(e.exports,"ContextProvider",function(){return i},function(e){return i=e}),f(e.exports,"Element",function(){return a},function(e){return a=e}),f(e.exports,"ForwardRef",function(){return s},function(e){return s=e}),f(e.exports,"Fragment",function(){return l},function(e){return l=e}),f(e.exports,"Lazy",function(){return u},function(e){return u=e}),f(e.exports,"Memo",function(){return c},function(e){return c=e}),f(e.exports,"Portal",function(){return d},function(e){return d=e}),f(e.exports,"Profiler",function(){return p},function(e){return p=e}),f(e.exports,"StrictMode",function(){return h},function(e){return h=e}),f(e.exports,"Suspense",function(){return m},function(e){return m=e}),f(e.exports,"isAsyncMode",function(){return g},function(e){return g=e}),f(e.exports,"isConcurrentMode",function(){return v},function(e){return v=e}),f(e.exports,"isContextConsumer",function(){return y},function(e){return y=e}),f(e.exports,"isContextProvider",function(){return b},function(e){return b=e}),f(e.exports,"isElement",function(){return x},function(e){return x=e}),f(e.exports,"isForwardRef",function(){return S},function(e){return S=e}),f(e.exports,"isFragment",function(){return w},function(e){return w=e}),f(e.exports,"isLazy",function(){return _},function(e){return _=e}),f(e.exports,"isMemo",function(){return k},function(e){return k=e}),f(e.exports,"isPortal",function(){return C},function(e){return C=e}),f(e.exports,"isProfiler",function(){return M},function(e){return M=e}),f(e.exports,"isStrictMode",function(){return P},function(e){return P=e}),f(e.exports,"isSuspense",function(){return T},function(e){return T=e}),f(e.exports,"isValidElementType",function(){return E},function(e){return E=e}),f(e.exports,"typeOf",function(){return R},function(e){return R=e});var r,n,o,i,a,s,l,u,c,d,p,h,m,g,v,y,b,x,S,w,_,k,C,M,P,T,E,R,L="function"==typeof Symbol&&Symbol.for,A=L?Symbol.for("react.element"):60103,N=L?Symbol.for("react.portal"):60106,$=L?Symbol.for("react.fragment"):60107,I=L?Symbol.for("react.strict_mode"):60108,j=L?Symbol.for("react.profiler"):60114,O=L?Symbol.for("react.provider"):60109,B=L?Symbol.for("react.context"):60110,z=L?Symbol.for("react.async_mode"):60111,U=L?Symbol.for("react.concurrent_mode"):60111,D=L?Symbol.for("react.forward_ref"):60112,F=L?Symbol.for("react.suspense"):60113,V=L?Symbol.for("react.suspense_list"):60120,W=L?Symbol.for("react.memo"):60115,H=L?Symbol.for("react.lazy"):60116,G=L?Symbol.for("react.block"):60121,X=L?Symbol.for("react.fundamental"):60117,q=L?Symbol.for("react.responder"):60118,K=L?Symbol.for("react.scope"):60119;function Z(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case A:switch(e=e.type){case z:case U:case $:case j:case I:case F:return e;default:switch(e=e&&e.$$typeof){case B:case D:case H:case W:case O:return e;default:return t}}case N:return t}}}function Y(e){return Z(e)===U}r=z,n=U,o=B,i=O,a=A,s=D,l=$,u=H,c=W,d=N,p=j,h=I,m=F,g=function(e){return Y(e)||Z(e)===z},v=Y,y=function(e){return Z(e)===B},b=function(e){return Z(e)===O},x=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===A},S=function(e){return Z(e)===D},w=function(e){return Z(e)===$},_=function(e){return Z(e)===H},k=function(e){return Z(e)===W},C=function(e){return Z(e)===N},M=function(e){return Z(e)===j},P=function(e){return Z(e)===I},T=function(e){return Z(e)===F},E=function(e){return"string"==typeof e||"function"==typeof e||e===$||e===U||e===j||e===I||e===F||e===V||"object"==typeof e&&null!==e&&(e.$$typeof===H||e.$$typeof===W||e.$$typeof===O||e.$$typeof===B||e.$$typeof===D||e.$$typeof===X||e.$$typeof===q||e.$$typeof===K||e.$$typeof===G)},R=Z}
1),eS("fFBeF",function(e,t){f(e.exports,"getRegisteredStyles",function(){return n}),f(e.exports,"registerStyles",function(){return o}),f(e.exports,"insertStyles",function(){return i});var r="u">typeof document;function n(e,t,r){var n="";return r.split(" ").forEach(function(r){void 0!==e[r]?t.push(e[r]+";"):r&&(n+=r+" ")}),n}var o=function(e,t,n){var o=e.key+"-"+t.name;(!1===n||!1===r&&void 0!==e.compat)&&void 0===e.registered[o]&&(e.registered[o]=t.styles)},i=function(e,t,n){o(e,t,n);var i=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var a="",s=t;do{var l=e.insert(t===s?"."+i:"",s,e.sheet,!0);r||void 0===l||(a+=l),s=s.next}while(void 0!==s)if(!r&&0!==a.length)return a}}}),eS("7Pfgb",function(e,t){f(e.exports,"serializeStyles",function(){return m});var r,n=ex("4m9Jz"),o=ex("d4PGb"),i=ex("hHyCK"),a=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(e){return 45===e.charCodeAt(1)},u=function(e){return null!=e&&"boolean"!=typeof e},c=(0,i.default)(function(e){return l(e)?e:e.replace(a,"-$&").toLowerCase()}),d=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(s,function(e,t,n){return r={name:t,styles:n,next:r},t})}return 1===o.default[e]||l(e)||"number"!=typeof t||0===t?t:t+"px"};function p(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return r={name:n.name,styles:n.styles,next:r},n.name;if(void 0!==n.styles){var o=n.next;if(void 0!==o)for(;void 0!==o;)r={name:o.name,styles:o.styles,next:r},o=o.next;return n.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=p(e,t,r[o])+";";else for(var i in r){var a=r[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?n+=i+"{"+t[a]+"}":u(a)&&(n+=c(i)+":"+d(i,a)+";");else if(Array.isArray(a)&&"string"==typeof a[0]&&(null==t||void 0===t[a[0]]))for(var s=0;s<a.length;s++)u(a[s])&&(n+=c(i)+":"+d(i,a[s])+";");else{var l=p(e,t,a);switch(i){case"animation":case"animationName":n+=c(i)+":"+l+";";break;default:n+=i+"{"+l+"}"}}}return n}(e,t,n);case"function":if(void 0!==e){var i=r,a=n(e);return r=i,p(e,t,a)}}if(null==t)return n;var s=t[n];return void 0!==s?s:n}var h=/label:\s*([^\s;{]+)\s*(;|$)/g;function m(e,t,o){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var i,a=!0,s="";r=void 0;var l=e[0];null==l||void 0===l.raw?(a=!1,s+=p(o,t,l)):s+=l[0];for(var u=1;u<e.length;u++)s+=p(o,t,e[u]),a&&(s+=l[u]);h.lastIndex=0;for(var c="";null!==(i=h.exec(s));)c+="-"+i[1];return{name:(0,n.default)(s)+c,styles:s,next:r}}}),eS("4m9Jz",function(e,t){f(e.exports,"default",function(){return r});function r(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))*0x5bd1e995+((t>>>16)*59797<<16),t^=t>>>24,r=(65535&t)*0x5bd1e995+((t>>>16)*59797<<16)^(65535&r)*0x5bd1e995+((r>>>16)*59797<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r^=255&e.charCodeAt(n),r=(65535&r)*0x5bd1e995+((r>>>16)*59797<<16)}return r^=r>>>13,(((r=(65535&r)*0x5bd1e995+((r>>>16)*59797<<16))^r>>>15)>>>0).toString(36)}}),eS("d4PGb",function(e,t){f(e.exports,"default",function(){return r});var r={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}}),eS("5qHS1",function(e,t){f(e.exports,"useInsertionEffectAlwaysWithSyncFallback",function(){return a}),f(e.exports,"useInsertionEffectWithLayoutFallback",function(){return s}),ex("f7SMx");var r=ex("8G7zL"),n=ex("4RLZr"),o="u">typeof document,i=!!r.useInsertionEffect&&r.useInsertionEffect,a=o&&i||function(e){return e()},s=i||n.useLayoutEffect}),eS("aDpNG",function(e,t){function r(){return e.exports=r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}
1).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,r.apply(null,arguments)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports}),eS("2ryKd",function(e,t){f(e.exports,"default",function(){return o});var r=ex("hHyCK"),n=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|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|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|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|popover|popoverTarget|popoverTargetAction|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|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|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)-.*))$/,o=(0,r.default)(function(e){return n.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)})}
1),eS("k0Fz6",function(e,t){f(e.exports,"default",function(){return s}),ex("f7SMx");var r=ex("4RLZr"),n=ex("fOOjm"),o=ex("iUpPY"),i=ex("9BXUG");let a=new Map;function s(e){let{injectFirst:t,enableCssLayer:s,children:l}=e,u=r.useMemo(()=>{let e=`${t}-${s}`;if("object"==typeof document&&a.has(e))return a.get(e);let r=function(e,t){let r=(0,o.default)({key:"css",prepend:e});if(t){let e=r.insert;r.insert=(...t)=>(t[1].styles.match(/^@layer\s+[^{]*$/)||(t[1].styles=`@layer mui {${t[1].styles}}`),e(...t))}return r}(t,s);return a.set(e,r),r},[t,s]);return t||s?(0,i.jsx)(n.C,{value:u,children:l}):l}}),eS("9BXUG",function(e,t){f(e.exports,"jsx",function(){return o}),f(e.exports,"jsxs",function(){return o}),f(e.exports,"Fragment",function(){return ex("10mKg").Fragment});var r=ex("10mKg"),n=0;function o(e,t,o,i,a,s){t||(t={});var l,u,c=t;if("ref"in c)for(u in c={},t)"ref"==u?l=t[u]:c[u]=t[u];var d={type:e,props:c,key:o,ref:l,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--n,__i:-1,__u:0,__source:a,__self:s};if("function"==typeof e&&(l=e.defaultProps))for(u in l)void 0===c[u]&&(c[u]=l[u]);return r.options.vnode&&r.options.vnode(d),d}}),eS("7OKr1",function(e,t){f(e.exports,"default",function(){return o}),ex("f7SMx");var r=ex("5S20d"),n=ex("9BXUG");function o(e){let{styles:t,defaultTheme:o={}}=e,i="function"==typeof t?e=>t(null==e||0===Object.keys(e).length?o:e):t;return(0,n.jsx)(r.Global,{styles:i})}}),eS("5oX2f",function(e,t){d(e.exports),f(e.exports,"default",function(){return ex("4INaF").default}),ex("4INaF")}),eS("4INaF",function(e,t){f(e.exports,"default",function(){return r});function r(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}}),eS("7HgRv",function(e,t){d(e.exports),f(e.exports,"default",function(){return ex("958uw").default}),ex("958uw")}),eS("958uw",function(e,t){f(e.exports,"default",function(){return r});var r=function(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}}),eS("1TlHO",function(e,t){d(e.exports),f(e.exports,"default",function(){return ex("ki66D").default}),ex("ki66D")}),eS("ki66D",function(e,t){f(e.exports,"default",function(){return n});var r=ex("4INaF");function n(e){if("string"!=typeof e)throw Error((0,r.default)(7));return e.charAt(0).toUpperCase()+e.slice(1)}}),eS("cXPpI",function(e,t){d(e.exports),f(e.exports,"default",function(){return ex("4jPR2").default});var r=ex("4jPR2");p(e.exports,r)}),eS("4jPR2",function(e,t){d(e.exports),f(e.exports,"getFunctionName",function(){return o}),f(e.exports,"default",function(){return s});var r=ex("5qReC");let n=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function o(e){let t=`${e}`.match(n);return t&&t[1]||""}function i(e,t=""){return e.displayName||e.name||o(e)||t}function a(e,t,r){let n=i(t);return e.displayName||(""!==n?`${r}(${n})`:r)}function s(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return i(e,"Component");if("object"==typeof e)switch(e.$$typeof){case r.ForwardRef:return a(e,e.render,"ForwardRef");case r.Memo:return a(e,e.type,"memo")}}}}),eS("5qReC",function(e,t){e.exports=ex("40AeW")}),eS("40AeW",function(e,t){f(e.exports,"ContextConsumer",function(){return r},function(e){return r=e}),f(e.exports,"ContextProvider",function(){return n},function(e){return n=e}),f(e.exports,"Element",function(){return o},function(e){return o=e}),f(e.exports,"ForwardRef",function(){return i},function(e){return i=e}),f(e.exports,"Fragment",function(){return a},function(e){return a=e}),f(e.exports,"Lazy",function(){return s},function(e){return s=e}),f(e.exports,"Memo",function(){return l},function(e){return l=e}),f(e.exports,"Portal",function(){return u},function(e){return u=e}),f(e.exports,"Profiler",function(){return c},function(e){return c=e}),f(e.exports,"StrictMode",function(){return d},function(e){return d=e}),f(e.exports,"Suspense",function(){return p},function(e){return p=e}),f(e.exports,"SuspenseList",function(){return h},function(e){return h=e}),f(e.exports,"isContextConsumer",function(){return m},function(e){return m=e}),f(e.exports,"isContextProvider",function(){return g},function(e){return g=e}),f(e.exports,"isElement",function(){return v},function(e){return v=e}),f(e.exports,"isForwardRef",function(){return y},function(e){return y=e}),f(e.exports,"isFragment",function(){return b},function(e){return b=e}),f(e.exports,"isLazy",function(){return x},function(e){return x=e}),f(e.exports,"isMemo",function(){return S},function(e){return S=e}),f(e.exports,"isPortal",function(){return w},function(e){return w=e}),f(e.exports,"isProfiler",function(){return _},function(e){return _=e}),f(e.exports,"isStrictMode",function(){return k},function(e){return k=e}),f(e.exports,"isSuspense",function(){return C},function(e){return C=e}),f(e.exports,"isSuspenseList",function(){return M},function(e){return M=e}),f(e.exports,"isValidElementType",function(){return P},function(e){return P=e}),f(e.exports,"typeOf",function(){return T},function(e){return T=e});var r,n,o,i,a,s,l,u,c,d,p,h,m,g,v,y,b,x,S,w,_,k,C,M,P,T,E=Symbol.for("react.transitional.element"),R=Symbol.for("react.portal"),L=Symbol.for("react.fragment"),A=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),$=Symbol.for("react.consumer"),I=Symbol.for("react.context"),j=Symbol.for("react.forward_ref"),O=Symbol.for("react.suspense"),B=Symbol.for("react.suspense_list"),z=Symbol.for("react.memo"),U=Symbol.for("react.lazy"),D=Symbol.for("react.view_transition"),F=Symbol.for("react.client.reference");function V(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case E:switch(e=e.type){case L:case N:case A:case O:case B:case D:return e;default:switch(e=e&&e.$$typeof){case I:case j:case U:case z:case $:return e;default:return t}}case R:return t}}}r=$,n=I,o=E,i=j,a=L,s=U,l=z,u=R,c=N,d=A,p=O,h=B,m=function(e){return V(e)===$},g=function(e){return V(e)===I},v=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===E},y=function(e){return V(e)===j},b=function(e){return V(e)===L},x=function(e){return V(e)===U},S=function(e){return V(e)===z},w=function(e){return V(e)===R},_=function(e){return V(e)===N},k=function(e){return V(e)===A},C=function(e){return V(e)===O},M=function(e){return V(e)===B},P=function(e){return"string"==typeof e||"function"==typeof e||e===L||e===N||e===A||e===O||e===B||"object"==typeof e&&null!==e&&(e.$$typeof===U||e.$$typeof===z||e.$$typeof===I||e.$$typeof===$||e.$$typeof===j||e.$$typeof===F||void 0!==e.getModuleId)||!1},T=V}
1),eS("2GZVP",function(e,t){e.exports=function(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r},e.exports.__esModule=!0,e.exports.default=e.exports}),eS("lTCpl",function(e,t){d(e.exports),f(e.exports,"default",function(){return ex("iHvSU").default}),f(e.exports,"private_createBreakpoints",function(){return ex("aS9vo").default}),f(e.exports,"unstable_applyStyles",function(){return ex("84biw").default}),ex("iHvSU"),ex("aS9vo"),ex("84biw")}),eS("iHvSU",function(e,t){f(e.exports,"default",function(){return p});var r=ex("kHSTm"),n=ex("iTd5p"),o=ex("6YMCv"),i=ex("aS9vo"),a=ex("eEstJ"),s=ex("hpwe4"),l=ex("kNkND"),u=ex("iugKP"),c=ex("84biw");let d=["breakpoints","palette","spacing","shape"];var p=function(e={},...t){let{breakpoints:f={},palette:p={},spacing:h,shape:m={}}=e,g=(0,n.default)(e,d),v=(0,i.default)(f),y=(0,s.default)(h),b=(0,o.default)({breakpoints:v,direction:"ltr",components:{},palette:(0,r.default)({mode:"light"},p),spacing:y,shape:(0,r.default)({},a.default,m)},g);return b.applyStyles=c.default,(b=t.reduce((e,t)=>(0,o.default)(e,t),b)).unstable_sxConfig=(0,r.default)({},u.default,null==g?void 0:g.unstable_sxConfig),b.unstable_sx=function(e){return(0,l.default)({sx:e,theme:this})},b}}),eS("iTd5p",function(e,t){f(e.exports,"default",function(){return r});function r(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}}),eS("6YMCv",function(e,t){f(e.exports,"isPlainObject",function(){return o}),f(e.exports,"default",function(){return function e(t,i,a={clone:!0}){let s=a.clone?(0,r.default)({},t):t;
1return o(t)&&o(i)&&Object.keys(i).forEach(r=>{n.isValidElement(i[r])?s[r]=i[r]:o(i[r])&&Object.prototype.hasOwnProperty.call(t,r)&&o(t[r])?s[r]=e(t[r],i[r],a):a.clone?s[r]=o(i[r])?function e(t){if(n.isValidElement(t)||!o(t))return t;let r={};return Object.keys(t).forEach(n=>{r[n]=e(t[n])}),r}(i[r]):i[r]:s[r]=i[r]}),s}});var r=ex("kHSTm");ex("f7SMx");var n=ex("8G7zL");function o(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}}),eS("aS9vo",function(e,t){f(e.exports,"default",function(){return i});var r=ex("iTd5p"),n=ex("kHSTm");let o=["values","unit","step"];function i(e){let t,{values:i={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:a="px",step:s=5}=e,l=(0,r.default)(e,o),u=((t=Object.keys(i).map(e=>({key:e,val:i[e]}))||[]).sort((e,t)=>e.val-t.val),t.reduce((e,t)=>(0,n.default)({},e,{[t.key]:t.val}),{})),c=Object.keys(u);function d(e){let t="number"==typeof i[e]?i[e]:e;return`@media (min-width:${t}${a})`}function f(e){let t="number"==typeof i[e]?i[e]:e;return`@media (max-width:${t-s/100}${a})`}function p(e,t){let r=c.indexOf(t);return`@media (min-width:${"number"==typeof i[e]?i[e]:e}${a}) and (max-width:${(-1!==r&&"number"==typeof i[c[r]]?i[c[r]]:t)-s/100}${a})`}return(0,n.default)({keys:c,values:u,up:d,down:f,between:p,only:function(e){return c.indexOf(e)+1<c.length?p(e,c[c.indexOf(e)+1]):d(e)},not:function(e){let t=c.indexOf(e);return 0===t?d(c[1]):t===c.length-1?f(c[t]):p(e,c[c.indexOf(e)+1]).replace("@media","@media not all and")},unit:a},l)}}),eS("eEstJ",function(e,t){f(e.exports,"default",function(){return r});var r={borderRadius:4}}),eS("hpwe4",function(e,t){f(e.exports,"default",function(){return n});var r=ex("g9Md7");function n(e=8){if(e.mui)return e;let t=(0,r.createUnarySpacing)({spacing:e}),o=(...e)=>(0===e.length?[1]:e).map(e=>{let r=t(e);return"number"==typeof r?`${r}px`:r}).join(" ");return o.mui=!0,o}}),eS("g9Md7",function(e,t){f(e.exports,"createUnaryUnit",function(){return h}),f(e.exports,"createUnarySpacing",function(){return m}),f(e.exports,"getValue",function(){return g}),f(e.exports,"margin",function(){return y}),f(e.exports,"padding",function(){return b});var r=ex("5UvP9"),n=ex("1rgeP"),o=ex("2IiMO"),i=ex("3SEH0");let a={m:"margin",p:"padding"},s={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},l={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},u=(0,i.default)(e=>{if(e.length>2)if(!l[e])return[e];else e=l[e];let[t,r]=e.split(""),n=a[t],o=s[r]||"";return Array.isArray(o)?o.map(e=>n+e):[n+o]}),c=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],d=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],p=[...c,...d];function h(e,t,r,o){var i;let a=null!=(i=(0,n.getPath)(e,t,!1))?i:r;return"number"==typeof a?e=>"string"==typeof e?e:a*e:Array.isArray(a)?e=>"string"==typeof e?e:a[e]:"function"==typeof a?a:()=>void 0}function m(e){return h(e,"spacing",8,"spacing")}function g(e,t){if("string"==typeof t||null==t)return t;let r=e(Math.abs(t));return t>=0?r:"number"==typeof r?-r:`-${r}`}function v(e,t){let n=m(e.theme);return Object.keys(e).map(o=>(function(e,t,n,o){var i;if(-1===t.indexOf(n))return null;let a=(i=u(n),e=>i.reduce((t,r)=>(t[r]=g(o,e),t),{})),s=e[n];return(0,r.handleBreakpoints)(e,s,a)})(e,t,o,n)).reduce(o.default,{})}function y(e){return v(e,c)}function b(e){return v(e,d)}function x(e){return v(e,p)}y.propTypes={},y.filterProps=c,b.propTypes={},b.filterProps=d,x.propTypes={},x.filterProps=p}),eS("5UvP9",function(e,t){f(e.exports,"values",function(){return n}),f(e.exports,"handleBreakpoints",function(){return i}),f(e.exports,"createEmptyBreakpointObject",function(){return a}),f(e.exports,"removeUnusedBreakpoints",function(){return s}),f(e.exports,"mergeBreakpointsInOrder",function(){return l}),f(e.exports,"resolveBreakpointValues",function(){return u}),ex("kHSTm");var r=ex("6YMCv");ex("2IiMO");let n={xs:0,sm:600,md:900,lg:1200,xl:1536},o={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${n[e]}px)`};function i(e,t,r){let i=e.theme||{};if(Array.isArray(t)){let e=i.breakpoints||o;return t.reduce((n,o,i)=>(n[e.up(e.keys[i])]=r(t[i]),n),{})}if("object"==typeof t){let e=i.breakpoints||o;return Object.keys(t).reduce((o,i)=>(-1!==Object.keys(e.values||n).indexOf(i)?o[e.up(i)]=r(t[i],i):o[i]=t[i],o),{})}return r(t)}function a(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce((t,r)=>(t[e.up(r)]={},t),{}))||{}}function s(e,t){return e.reduce((e,t)=>
1{let r=e[t];return r&&0!==Object.keys(r).length||delete e[t],e},t)}function l(e,...t){let n=a(e),o=[n,...t].reduce((e,t)=>(0,r.default)(e,t),{});return s(Object.keys(n),o)}function u({values:e,breakpoints:t,base:r}){let n,o=Object.keys(r||function(e,t){if("object"!=typeof e)return{};let r={},n=Object.keys(t);return Array.isArray(e)?n.forEach((t,n)=>{n<e.length&&(r[t]=!0)}):n.forEach(t=>{null!=e[t]&&(r[t]=!0)}),r}(e,t));return 0===o.length?e:o.reduce((t,r,o)=>(Array.isArray(e)?(t[r]=null!=e[o]?e[o]:e[n],n=o):"object"==typeof e?(t[r]=null!=e[r]?e[r]:e[n],n=r):t[r]=e,t),{})}}),eS("2IiMO",function(e,t){f(e.exports,"default",function(){return n});var r=ex("6YMCv"),n=function(e,t){return t?(0,r.default)(e,t,{clone:!1}):e}}),eS("1rgeP",function(e,t){f(e.exports,"getPath",function(){return o}),f(e.exports,"getStyleValue",function(){return i}),f(e.exports,"default",function(){return a});var r=ex("ki66D"),n=ex("5UvP9");function o(e,t,r=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){let r=`vars.${t}`.split(".").reduce((e,t)=>e&&e[t]?e[t]:null,e);if(null!=r)return r}return t.split(".").reduce((e,t)=>e&&null!=e[t]?e[t]:null,e)}function i(e,t,r,n=r){let a;return a="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:o(e,r)||n,t&&(a=t(a,n,e)),a}var a=function(e){let{prop:t,cssProperty:a=e.prop,themeKey:s,transform:l}=e,u=e=>{if(null==e[t])return null;let u=e[t],c=o(e.theme,s)||{};return(0,n.handleBreakpoints)(e,u,e=>{let n=i(c,l,e);return(e===n&&"string"==typeof e&&(n=i(c,l,`${t}${"default"===e?"":(0,r.default)(e)}`,e)),!1===a)?n:{[a]:n}})};return u.propTypes={},u.filterProps=[t],u}}),eS("3SEH0",function(e,t){f(e.exports,"default",function(){return r});function r(e){let t={};return r=>(void 0===t[r]&&(t[r]=e(r)),t[r])}}),eS("kNkND",function(e,t){f(e.exports,"unstable_createStyleFunctionSx",function(){return s}),f(e.exports,"default",function(){return u});var r=ex("ki66D"),n=ex("2IiMO"),o=ex("1rgeP"),i=ex("5UvP9"),a=ex("iugKP");function s(){function e(e,t,n,a){let s={[e]:t,theme:n},l=a[e];if(!l)return{[e]:t};let{cssProperty:u=e,themeKey:c,transform:d,style:f}=l;if(null==t)return null;if("typography"===c&&"inherit"===t)return{[e]:t};let p=(0,o.getPath)(n,c)||{};return f?f(s):(0,i.handleBreakpoints)(s,t,t=>{let n=(0,o.getStyleValue)(p,d,t);return(t===n&&"string"==typeof t&&(n=(0,o.getStyleValue)(p,d,`${e}${"default"===t?"":(0,r.default)(t)}`,t)),!1===u)?n:{[u]:n}})}return function t(r){var o;let{sx:s,theme:l={},nested:u}=r||{};if(!s)return null;let c=null!=(o=l.unstable_sxConfig)?o:a.default;function d(r){let o=r;if("function"==typeof r)o=r(l);else if("object"!=typeof r)return r;if(!o)return null;let a=(0,i.createEmptyBreakpointObject)(l.breakpoints),s=Object.keys(a),d=a;return(Object.keys(o).forEach(r=>{var a;let s=(a=o[r],"function"==typeof a?a(l):a);if(null!=s)if("object"==typeof s)if(c[r])d=(0,n.default)(d,e(r,s,l,c));else{let e=(0,i.handleBreakpoints)({theme:l},s,e=>({[r]:e}));!function(...e){let t=new Set(e.reduce((e,t)=>e.concat(Object.keys(t)),[]));return e.every(e=>t.size===Object.keys(e).length)}(e,s)?d=(0,n.default)(d,e):d[r]=t({sx:s,theme:l,nested:!0})}else d=(0,n.default)(d,e(r,s,l,c))}),!u&&l.modularCssLayers)?{"@layer sx":(0,i.removeUnusedBreakpoints)(s,d)}:(0,i.removeUnusedBreakpoints)(s,d)}return Array.isArray(s)?s.map(d):d(s)}}let l=s();l.filterProps=["sx"];var u=l}),eS("iugKP",function(e,t){f(e.exports,"default",function(){return s});var r=ex("g9Md7"),n=ex("jtVe2"),o=ex("jQX2X"),i=ex("1oAum"),a=ex("hiRaD"),s={border:{themeKey:"borders",transform:n.borderTransform},borderTop:{themeKey:"borders",transform:n.borderTransform},borderRight:{themeKey:"borders",transform:n.borderTransform},borderBottom:{themeKey:"borders",transform:n.borderTransform},borderLeft:{themeKey:"borders",transform:n.borderTransform},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:n.borderTransform},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:n.borderRadius},color:{themeKey:"palette",transform:i.paletteTransform},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:i.paletteTransform},backgroundColor:{themeKey:"palette",transform:i.paletteTransform},p:{style:r.padding},pt:{style:r.padding},pr:{style:r.padding},pb:{style:r.padding},pl:{style:r.padding},px:{style:r.padding},py:{style:r.padding},padding:{style:r.padding},paddingTop:{style:r.padding},paddingRight:{style:r.padding}
1,paddingBottom:{style:r.padding},paddingLeft:{style:r.padding},paddingX:{style:r.padding},paddingY:{style:r.padding},paddingInline:{style:r.padding},paddingInlineStart:{style:r.padding},paddingInlineEnd:{style:r.padding},paddingBlock:{style:r.padding},paddingBlockStart:{style:r.padding},paddingBlockEnd:{style:r.padding},m:{style:r.margin},mt:{style:r.margin},mr:{style:r.margin},mb:{style:r.margin},ml:{style:r.margin},mx:{style:r.margin},my:{style:r.margin},margin:{style:r.margin},marginTop:{style:r.margin},marginRight:{style:r.margin},marginBottom:{style:r.margin},marginLeft:{style:r.margin},marginX:{style:r.margin},marginY:{style:r.margin},marginInline:{style:r.margin},marginInlineStart:{style:r.margin},marginInlineEnd:{style:r.margin},marginBlock:{style:r.margin},marginBlockStart:{style:r.margin},marginBlockEnd:{style:r.margin},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:o.gap},rowGap:{style:o.rowGap},columnGap:{style:o.columnGap},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:a.sizingTransform},maxWidth:{style:a.maxWidth},minWidth:{transform:a.sizingTransform},height:{transform:a.sizingTransform},maxHeight:{transform:a.sizingTransform},minHeight:{transform:a.sizingTransform},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}}}),eS("jtVe2",function(e,t){f(e.exports,"borderTransform",function(){return a}),f(e.exports,"borderRadius",function(){return S});var r=ex("1rgeP"),n=ex("dDb21"),o=ex("g9Md7"),i=ex("5UvP9");function a(e){return"number"!=typeof e?e:`${e}px solid`}function s(e,t){return(0,r.default)({prop:e,themeKey:"borders",transform:t})}let l=s("border",a),u=s("borderTop",a),c=s("borderRight",a),d=s("borderBottom",a),p=s("borderLeft",a),h=s("borderColor"),m=s("borderTopColor"),g=s("borderRightColor"),v=s("borderBottomColor"),y=s("borderLeftColor"),b=s("outline",a),x=s("outlineColor"),S=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){let t=(0,o.createUnaryUnit)(e.theme,"shape.borderRadius",4,"borderRadius");return(0,i.handleBreakpoints)(e,e.borderRadius,e=>({borderRadius:(0,o.getValue)(t,e)}))}return null};S.propTypes={},S.filterProps=["borderRadius"],(0,n.default)(l,u,c,d,p,h,m,g,v,y,S,b,x)}),eS("dDb21",function(e,t){f(e.exports,"default",function(){return n});var r=ex("2IiMO"),n=function(...e){let t=e.reduce((e,t)=>(t.filterProps.forEach(r=>{e[r]=t}),e),{}),n=e=>Object.keys(e).reduce((n,o)=>t[o]?(0,r.default)(n,t[o](e)):n,{});return n.propTypes={},n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n}}),eS("jQX2X",function(e,t){f(e.exports,"gap",function(){return a}),f(e.exports,"columnGap",function(){return s}),f(e.exports,"rowGap",function(){return l});var r=ex("1rgeP"),n=ex("dDb21"),o=ex("g9Md7"),i=ex("5UvP9");let a=e=>{if(void 0!==e.gap&&null!==e.gap){let t=(0,o.createUnaryUnit)(e.theme,"spacing",8,"gap");return(0,i.handleBreakpoints)(e,e.gap,e=>({gap:(0,o.getValue)(t,e)}))}return null};a.propTypes={},a.filterProps=["gap"];let s=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){let t=(0,o.createUnaryUnit)(e.theme,"spacing",8,"columnGap");return(0,i.handleBreakpoints)(e,e.columnGap,e=>({columnGap:(0,o.getValue)(t,e)}))}return null};s.propTypes={},s.filterProps=["columnGap"];let l=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){let t=(0,o.createUnaryUnit)(e.theme,"spacing",8,"rowGap");return(0,i.handleBreakpoints)(e,e.rowGap,e=>({rowGap:(0,o.getValue)(t,e)}))}return null};l.propTypes={},l.filterProps=["rowGap"];let u=(0,r.default)({prop:"gridColumn"}),c=(0,r.default)({prop:"gridRow"}),d=(0,r.default)({prop:"gridAutoFlow"}),p=(0,r.default)({prop:"gridAutoColumns"}),h=(0,r.default)({prop:"gridAutoRows"}),m=(0,r.default)({prop:"gridTemplateColumns"}),g=(0,r.default)({prop:"gridTemplateRows"}),v=(0,r.default)({prop:"gridTemplateAreas"}),y=(0,r.default)({prop:"gridArea"});(0,n.default)(a,s,l,u,c,d,p,h,m,g,v,y)}
1),eS("1oAum",function(e,t){f(e.exports,"paletteTransform",function(){return o});var r=ex("1rgeP"),n=ex("dDb21");function o(e,t){return"grey"===t?t:e}let i=(0,r.default)({prop:"color",themeKey:"palette",transform:o}),a=(0,r.default)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:o}),s=(0,r.default)({prop:"backgroundColor",themeKey:"palette",transform:o});(0,n.default)(i,a,s)}),eS("hiRaD",function(e,t){f(e.exports,"sizingTransform",function(){return i}),f(e.exports,"maxWidth",function(){return s});var r=ex("1rgeP"),n=ex("dDb21"),o=ex("5UvP9");function i(e){return e<=1&&0!==e?`${100*e}%`:e}let a=(0,r.default)({prop:"width",transform:i}),s=e=>void 0!==e.maxWidth&&null!==e.maxWidth?(0,o.handleBreakpoints)(e,e.maxWidth,t=>{var r,n;let a=(null==(r=e.theme)||null==(r=r.breakpoints)||null==(r=r.values)?void 0:r[t])||o.values[t];return a?(null==(n=e.theme)||null==(n=n.breakpoints)?void 0:n.unit)!=="px"?{maxWidth:`${a}${e.theme.breakpoints.unit}`}:{maxWidth:a}:{maxWidth:i(t)}}):null;s.filterProps=["maxWidth"];let l=(0,r.default)({prop:"minWidth",transform:i}),u=(0,r.default)({prop:"height",transform:i}),c=(0,r.default)({prop:"maxHeight",transform:i}),d=(0,r.default)({prop:"minHeight",transform:i});(0,r.default)({prop:"size",cssProperty:"width",transform:i}),(0,r.default)({prop:"size",cssProperty:"height",transform:i});let p=(0,r.default)({prop:"boxSizing"});(0,n.default)(a,s,l,u,c,d,p)}),eS("84biw",function(e,t){f(e.exports,"default",function(){return r});function r(e,t){return this.vars&&"function"==typeof this.getColorSchemeSelector?{[this.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:this.palette.mode===e?t:{}}}),eS("ct2tL",function(e,t){d(e.exports),f(e.exports,"default",function(){return ex("kNkND").default}),f(e.exports,"unstable_createStyleFunctionSx",function(){return ex("kNkND").unstable_createStyleFunctionSx}),f(e.exports,"extendSxProp",function(){return ex("dTcCh").default}),f(e.exports,"unstable_defaultSxConfig",function(){return ex("iugKP").default}),ex("kNkND"),ex("dTcCh"),ex("iugKP")}),eS("dTcCh",function(e,t){f(e.exports,"default",function(){return s});var r=ex("kHSTm"),n=ex("iTd5p"),o=ex("6YMCv"),i=ex("iugKP");let a=["sx"];function s(e){var t,s,l;let u,c,d,{sx:f}=e,{systemProps:p,otherProps:h}=(c={systemProps:{},otherProps:{}},d=null!=(s=null==(t=(0,n.default)(e,a))||null==(l=t.theme)?void 0:l.unstable_sxConfig)?s:i.default,Object.keys(t).forEach(e=>{d[e]?c.systemProps[e]=t[e]:c.otherProps[e]=t[e]}),c);return u=Array.isArray(f)?[p,...f]:"function"==typeof f?(...e)=>{let t=f(...e);return(0,o.isPlainObject)(t)?(0,r.default)({},p,t):p}:(0,r.default)({},p,f),(0,r.default)({},h,{sx:u})}}),eS("joZ09",function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0}),Object.defineProperty(e.exports,"default",{enumerable:!0,get:function(){return r.default}});var r=ex("eQvFA")}),eS("eQvFA",function(e,t){f(e.exports,"default",function(){return a});var r=ex("kHSTm");ex("f7SMx");var n=ex("8G7zL"),o=ex("fcwoh"),i=ex("9BXUG");function a(e,t){function a(n,a){return(0,i.jsx)(o.default,(0,r.default)({"data-testid":`${t}Icon`,ref:a},n,{children:e}))}return a.muiName=o.default.muiName,n.memo(n.forwardRef(a))}}),eS("fcwoh",function(e,t){f(e.exports,"default",function(){return g});var r=ex("kHSTm"),n=ex("iTd5p");ex("f7SMx");var o=ex("8G7zL"),i=ex("lvLU0"),a=ex("3HkhM"),s=ex("26kha"),l=ex("bc4QB"),u=ex("1LwP9"),c=ex("ighHL"),d=ex("9BXUG");let p=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],h=(0,u.default)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,"inherit"!==r.color&&t[`color${(0,s.default)(r.color)}`],t[`fontSize${(0,s.default)(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,n,o,i,a,s,l,u,c,d,f,p,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(r=e.transitions)||null==(n=r.create)?void 0:n.call(r,"fill",{duration:null==(o=e.transitions)||null==(o=o.duration)?void 0:o.shorter}),fontSize:({inherit:"inherit",small:(null==(i=e.typography)||null==(a=i.pxToRem)?void 0:a.call(i,20))||"1.25rem",medium:(null==(s=e.typography)||null==(l=s.pxToRem)?void 0:l.call(s,24))||"1.5rem",large:(null==(u=e.typography)||null==(c=u.pxToRem)?void 0:c.call(u,35))||"2.1875rem"})[t.fontSize],color:null!=(d=null==(f=(e.vars||e).palette)||null==(f=f[t.color])?void 0:f.main)?d:({action:null==(p=(e.vars||e).palette)||null==(p=p.action)?void 0:p.active,disabled:null==(h=(e.vars||e).palette)||null==(h=h.action)?void 0:h.disabled,inherit:void 0})[t.color]}}),m=o.forwardRef(function(e,t){let u=(0,l.useDefaultProps)({props:e,name:"MuiSvgIcon"}),{children:f,className:m,color:g="inherit",component:v="svg",fontSize:y="medium",htmlColor:b,inheritViewBox:x=!1,titleAccess:S,viewBox:w="0 0 24 24"}=u,_=(0,n.default)(u,p),k=o.isValidElement(f)&&"svg"===f.type,C=(0,r.default)({},u,{color:g,component:v,fontSize:y,instanceFontSize:e.fontSize,inheritViewBox:x,viewB
1ox:w,hasSvgAsChild:k}),M={};x||(M.viewBox=w);let P=(e=>{let{color:t,fontSize:r,classes:n}=e,o={root:["root","inherit"!==t&&`color${(0,s.default)(t)}`,`fontSize${(0,s.default)(r)}`]};return(0,a.default)(o,c.getSvgIconUtilityClass,n)})(C);return(0,d.jsxs)(h,(0,r.default)({as:v,className:(0,i.default)(P.root,m),focusable:"false",color:b,"aria-hidden":!S||void 0,role:S?"img":void 0,ref:t},M,_,k&&f.props,{ownerState:C,children:[k?f.props.children:f,S?(0,d.jsx)("title",{children:S}):null]}))});m.muiName="SvgIcon";var g=m}),eS("lvLU0",function(e,t){f(e.exports,"default",function(){return r});var r=function(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=function e(t){var r,n,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t)if(Array.isArray(t)){var i=t.length;for(r=0;r<i;r++)t[r]&&(n=e(t[r]))&&(o&&(o+=" "),o+=n)}else for(n in t)t[n]&&(o&&(o+=" "),o+=n);return o}(e))&&(n&&(n+=" "),n+=t);return n}}),eS("3HkhM",function(e,t){f(e.exports,"default",function(){return r});function r(e,t,r){let n={};return Object.keys(e).forEach(o=>{n[o]=e[o].reduce((e,n)=>{if(n){let o=t(n);""!==o&&e.push(o),r&&r[n]&&e.push(r[n])}return e},[]).join(" ")}),n}}),eS("26kha",function(e,t){f(e.exports,"default",function(){return r});var r=ex("ki66D").default}),eS("bc4QB",function(e,t){f(e.exports,"useDefaultProps",function(){return n}),ex("kHSTm"),ex("f7SMx");var r=ex("5PEMo");function n(e){return(0,r.useDefaultProps)(e)}ex("9BXUG")}),eS("5PEMo",function(e,t){f(e.exports,"useDefaultProps",function(){return s}),f(e.exports,"default",function(){return l}),ex("f7SMx");var r=ex("10mKg"),n=ex("4RLZr"),o=ex("kTq4i"),i=ex("9BXUG");let a=r.createContext(void 0);function s({props:e,name:t}){return function(e){let{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;let i=t.components[r];return i.defaultProps?(0,o.default)(i.defaultProps,n):i.styleOverrides||i.variants?n:(0,o.default)(i,n)}({props:e,name:t,theme:{components:n.useContext(a)}})}var l=function({value:e,children:t}){return(0,i.jsx)(a.Provider,{value:e,children:t})}}),eS("kTq4i",function(e,t){f(e.exports,"default",function(){return function e(t,n){let o=(0,r.default)({},n);return Object.keys(t).forEach(i=>{if(i.toString().match(/^(components|slots)$/))o[i]=(0,r.default)({},t[i],o[i]);else if(i.toString().match(/^(componentsProps|slotProps)$/)){let a=t[i]||{},s=n[i];o[i]={},s&&Object.keys(s)?a&&Object.keys(a)?(o[i]=(0,r.default)({},s),Object.keys(a).forEach(t=>{o[i][t]=e(a[t],s[t])})):o[i]=s:o[i]=a}else void 0===o[i]&&(o[i]=t[i])}),o}});var r=ex("kHSTm")}),eS("1LwP9",function(e,t){f(e.exports,"default",function(){return a}),f(e.exports,"rootShouldForwardProp",function(){return ex("h9bB9").default});var r=ex("2Cjdj"),n=ex("ipfKP"),o=ex("3K54k"),i=ex("h9bB9"),a=h(r)({themeId:o.default,defaultTheme:n.default,rootShouldForwardProp:i.default})}),eS("2Cjdj",function(e,t){var r=ex("dThT7");Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=function(e={}){let{themeId:t,defaultTheme:r=m,rootShouldForwardProp:s=p,slotShouldForwardProp:u=p}=e,c=e=>(0,l.default)((0,n.default)({},e,{theme:g((0,n.default)({},e,{defaultTheme:r,themeId:t}))}));return c.__mui_systemSx=!0,(e,l={})=>{var f;let h;(0,i.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));let{name:m,slot:y,skipVariantsResolver:b,skipSx:x,overridesResolver:S=!(f=!y?y:y.charAt(0).toLowerCase()+y.slice(1))?null:(e,t)=>t[f]}=l,w=(0,o.default)(l,d),_=m&&m.startsWith("Mui")||y?"components":"custom",k=void 0!==b?b:y&&"Root"!==y&&"root"!==y||!1,C=x||!1,M=p;"Root"===y||"root"===y?M=s:y?M=u:"string"==typeof e&&e.charCodeAt(0)>96&&(M=void 0);let P=(0,i.default)(e,(0,n.default)({shouldForwardProp:M,label:h},w)),T=e=>"function"==typeof e&&e.__emotion_real!==e||(0,a.isPlainObject)(e)?o=>{let i=g({theme:o.theme,defaultTheme:r,themeId:t});return v(e,(0,n.default)({},o,{theme:i}),i.modularCssLayers?_:void 0)}:e,E=(o,...i)=>{let a=T(o),s=i?i.map(T):[];m&&S&&s.push(e=>{let o=g((0,n.default)({},e,{defaultTheme:r,themeId:t}));if(!o.components||!o.components[m]||!o.components[m].styleOverrides)return null;let i=o.components[m].styleOverrides,a={};
1return Object.entries(i).forEach(([t,r])=>{a[t]=v(r,(0,n.default)({},e,{theme:o}),o.modularCssLayers?"theme":void 0)}),S(e,a)}),m&&!k&&s.push(e=>{var o;let i=g((0,n.default)({},e,{defaultTheme:r,themeId:t}));return v({variants:null==i||null==(o=i.components)||null==(o=o[m])?void 0:o.variants},(0,n.default)({},e,{theme:i}),i.modularCssLayers?"theme":void 0)}),C||s.push(c);let l=s.length-i.length;if(Array.isArray(o)&&l>0){let e=Array(l).fill("");(a=[...o,...e]).raw=[...o.raw,...e]}let u=P(a,...s);return e.muiName&&(u.muiName=e.muiName),u};return P.withConfig&&(E.withConfig=P.withConfig),E}},e.exports.shouldForwardProp=p,e.exports.systemDefaultTheme=void 0;var n=r(ex("aDpNG")),o=r(ex("2GZVP")),i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f(void 0);if(t&&t.has(e))return t.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=n?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}(ex("ePVkf")),a=ex("6YMCv");r(ex("1TlHO")),r(ex("cXPpI"));var s=r(ex("lTCpl")),l=r(ex("ct2tL"));let u=["ownerState"],c=["variants"],d=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(f=function(e){return e?r:t})(e)}function p(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function h(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}
1let m=e.exports.systemDefaultTheme=(0,s.default)();function g({defaultTheme:e,theme:t,themeId:r}){return 0===Object.keys(t).length?e:t[r]||t}function v(e,t,r){let{ownerState:a}=t,s=(0,o.default)(t,u),l="function"==typeof e?e((0,n.default)({ownerState:a},s)):e;if(Array.isArray(l))return l.flatMap(e=>v(e,(0,n.default)({ownerState:a},s),r));if(l&&"object"==typeof l&&Array.isArray(l.variants)){let{variants:e=[]}=l,t=(0,o.default)(l,c);return e.forEach(e=>{let o=!0;if("function"==typeof e.props?o=e.props((0,n.default)({ownerState:a},s,a)):Object.keys(e.props).forEach(t=>{(null==a?void 0:a[t])!==e.props[t]&&s[t]!==e.props[t]&&(o=!1)}),o){Array.isArray(t)||(t=[t]);let o="function"==typeof e.style?e.style((0,n.default)({ownerState:a},s,a)):e.style;t.push(r?h((0,i.internal_serializeStyles)(o),r):o)}}),t}return r?h((0,i.internal_serializeStyles)(l),r):l}}),eS("dThT7",function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports}),eS("ipfKP",function(e,t){f(e.exports,"default",function(){return r});var r=(0,ex("592da").default)()}),eS("592da",function(e,t){f(e.exports,"default",function(){return v});var r=ex("kHSTm"),n=ex("iTd5p"),o=ex("4INaF"),i=ex("6YMCv"),a=ex("kNkND"),s=ex("iugKP"),l=ex("iHvSU"),u=ex("c5jqu"),c=ex("esDhP"),d=ex("eCkKP"),p=ex("1rZzw"),h=ex("6XRvJ"),m=ex("ef4Jo");let g=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];var v=function(e={},...t){let{mixins:f={},palette:v={},transitions:y={},typography:b={}}=e,x=(0,n.default)(e,g);if(e.vars&&void 0===e.generateCssVars)throw Error((0,o.default)(18));let S=(0,c.default)(v),w=(0,l.default)(e),_=(0,i.default)(w,{mixins:(0,u.default)(w.breakpoints,f),palette:S,shadows:p.default.slice(),typography:(0,d.default)(S,b),transitions:(0,h.default)(y),zIndex:(0,r.default)({},m.default)});return _=(0,i.default)(_,x),(_=t.reduce((e,t)=>(0,i.default)(e,t),_)).unstable_sxConfig=(0,r.default)({},s.default,null==x?void 0:x.unstable_sxConfig),_.unstable_sx=function(e){return(0,a.default)({sx:e,theme:this})},_}}),eS("c5jqu",function(e,t){f(e.exports,"default",function(){return n});var r=ex("kHSTm");function n(e,t){return(0,r.default)({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}}),eS("esDhP",function(e,t){f(e.exports,"default",function(){return x});var r=ex("kHSTm"),n=ex("iTd5p"),o=ex("4INaF"),i=ex("6YMCv"),a=ex("1lgv4"),s=ex("3u44u"),l=ex("jZe6e"),u=ex("9fli2"),c=ex("37tk4"),d=ex("7T9Ts"),p=ex("iLSVG"),h=ex("fvqOm"),m=ex("atBIj");let g=["mode","contrastThreshold","tonalOffset"],v={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:s.default.white,default:s.default.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},y={text:{primary:s.default.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:s.default.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function b(e,t,r,n){let o=n.light||n,i=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=(0,a.lighten)(e.main,o):"dark"===t&&(e.dark=(0,a.darken)(e.main,i)))}function x(e){let{mode:t="light",contrastThreshold:f=3,tonalOffset:x=.2}=e,S=(0,n.default)(e,g),w=e.primary||function(e="light"){return"dark"===e?{main:p.default[200],light:p.default[50],dark:p.default[400]}:{main:p.default[700],light:p.default[400],dark:p.default[800]}}(t),_=e.secondary||function(e="light"){return"dark"===e?{main:u.default[200],light:u.default[50],dark:u.default[400]}:{main:u.default[500],light:u.default[300],dark:u.default[700]}}(t),k=e.error||function(e="light"){return"dark"===e?{main:c.default[500],light:c.default[300],dark:c.default[700]}:{main:c.default[700],light:c.default[400],dark:c.default[800]}}(t),C=e.info||function(e="light"){return"dark"===e?{main:h.default[400],light:h.default[300],dark:h.default[700]}
1:{main:h.default[700],light:h.default[500],dark:h.default[900]}}(t),M=e.success||function(e="light"){return"dark"===e?{main:m.default[400],light:m.default[300],dark:m.default[700]}:{main:m.default[800],light:m.default[500],dark:m.default[900]}}(t),P=e.warning||function(e="light"){return"dark"===e?{main:d.default[400],light:d.default[300],dark:d.default[700]}:{main:"#ed6c02",light:d.default[500],dark:d.default[900]}}(t);function T(e){return(0,a.getContrastRatio)(e,y.text.primary)>=f?y.text.primary:v.text.primary}let E=({color:e,name:t,mainShade:n=500,lightShade:i=300,darkShade:a=700})=>{if(!(e=(0,r.default)({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw Error((0,o.default)(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw Error((0,o.default)(12,t?` (${t})`:"",JSON.stringify(e.main)));return b(e,"light",i,x),b(e,"dark",a,x),e.contrastText||(e.contrastText=T(e.main)),e};return(0,i.default)((0,r.default)({common:(0,r.default)({},s.default),mode:t,primary:E({color:w,name:"primary"}),secondary:E({color:_,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:E({color:k,name:"error"}),warning:E({color:P,name:"warning"}),info:E({color:C,name:"info"}),success:E({color:M,name:"success"}),grey:l.default,contrastThreshold:f,getContrastText:T,augmentColor:E,tonalOffset:x},{dark:y,light:v}[t]),S)}}),eS("1lgv4",function(e,t){var r=ex("dThT7");Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.alpha=f,e.exports.blend=function(e,t,r,n=1){let o=(e,t)=>Math.round((e**(1/n)*(1-r)+t**(1/n)*r)**n),i=s(e),a=s(t);return u({type:"rgb",values:[o(i.values[0],a.values[0]),o(i.values[1],a.values[1]),o(i.values[2],a.values[2])]})},e.exports.colorChannel=void 0,e.exports.darken=p,e.exports.decomposeColor=s,e.exports.emphasize=m,e.exports.getContrastRatio=function(e,t){let r=d(e),n=d(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)},e.exports.getLuminance=d,e.exports.hexToRgb=a,e.exports.hslToRgb=c,e.exports.lighten=h,e.exports.private_safeAlpha=function(e,t,r){try{return f(e,t)}catch(t){return e}},e.exports.private_safeColorChannel=void 0,e.exports.private_safeDarken=function(e,t,r){try{return p(e,t)}catch(t){return e}},e.exports.private_safeEmphasize=function(e,t,r){try{return m(e,t)}catch(t){return e}},e.exports.private_safeLighten=function(e,t,r){try{return h(e,t)}catch(t){return e}},e.exports.recomposeColor=u,e.exports.rgbToHex=function(e){if(0===e.indexOf("#"))return e;let{values:t}=s(e);return`#${t.map((e,t)=>{let r;return 1===(r=(3===t?Math.round(255*e):e).toString(16)).length?`0${r}`:r}).join("")}`};var n=r(ex("5oX2f")),o=r(ex("7HgRv"));function i(e,t=0,r=1){return(0,o.default)(e,t,r)}function a(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,"g"),r=e.match(t);return r&&1===r[0].length&&(r=r.map(e=>e+e)),r?`rgb${4===r.length?"a":""}(${r.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}function s(e){let t;if(e.type)return e;if("#"===e.charAt(0))return s(a(e));let r=e.indexOf("("),o=e.substring(0,r);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(o))throw Error((0,n.default)(9,e));let i=e.substring(r+1,e.length-1);if("color"===o){if(t=(i=i.split(" ")).shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(t))throw Error((0,n.default)(10,t))}else i=i.split(",");return{type:o,values:i=i.map(e=>parseFloat(e)),colorSpace:t}}let l=e=>{let t=s(e);return t.values.slice(0,3).map((e,r)=>-1!==t.type.indexOf("hsl")&&0!==r?`${e}%`:e).join(" ")};function u(e){let{type:t,colorSpace:r}=e,{values:n}=e;return -1!==t.indexOf("rgb")?n=n.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==t.indexOf("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function c(e){let{values:t}=e=s(e),r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(e,t=(e+r/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1),l="rgb",c=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(l+="a",c.push(t[3])),u({type:l,values:c})}function d(e){let t="hsl"===(e=s(e)).type||"hsla"===e.type?s(c(e)).values:e.values;return Number((.2126*(t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)))[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}
1function f(e,t){return e=s(e),t=i(t),("rgb"===e.type||"hsl"===e.type)&&(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,u(e)}function p(e,t){if(e=s(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return u(e)}function h(e,t){if(e=s(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return u(e)}function m(e,t=.15){return d(e)>.5?p(e,t):h(e,t)}e.exports.colorChannel=l,e.exports.private_safeColorChannel=(e,t)=>{try{return l(e)}catch(t){return e}}}),eS("3u44u",function(e,t){f(e.exports,"default",function(){return r});var r={black:"#000",white:"#fff"}}),eS("jZe6e",function(e,t){f(e.exports,"default",function(){return r});var r={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"}}),eS("9fli2",function(e,t){f(e.exports,"default",function(){return r});var r={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"}}),eS("37tk4",function(e,t){f(e.exports,"default",function(){return r});var r={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"}}),eS("7T9Ts",function(e,t){f(e.exports,"default",function(){return r});var r={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"}}),eS("iLSVG",function(e,t){f(e.exports,"default",function(){return r});var r={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"}}),eS("fvqOm",function(e,t){f(e.exports,"default",function(){return r});var r={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"}}),eS("atBIj",function(e,t){f(e.exports,"default",function(){return r});var r={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"}}),eS("eCkKP",function(e,t){f(e.exports,"default",function(){return l});var r=ex("kHSTm"),n=ex("iTd5p"),o=ex("6YMCv");let i=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"],a={textTransform:"uppercase"},s='"Roboto", "Helvetica", "Arial", sans-serif';function l(e,t){let l="function"==typeof t?t(e):t,{fontFamily:u=s,fontSize:c=14,fontWeightLight:d=300,fontWeightRegular:f=400,fontWeightMedium:p=500,fontWeightBold:h=700,htmlFontSize:m=16,allVariants:g,pxToRem:v}=l,y=(0,n.default)(l,i),b=c/14,x=v||(e=>`${e/m*b}rem`),S=(e,t,n,o,i)=>(0,r.default)({fontFamily:u,fontWeight:e,fontSize:x(t),lineHeight:n},u===s?{letterSpacing:`${Math.round(o/t*1e5)/1e5}em`}:{},i,g),w={h1:S(d,96,1.167,-1.5),h2:S(d,60,1.2,-.5),h3:S(f,48,1.167,0),h4:S(f,34,1.235,.25),h5:S(f,24,1.334,0),h6:S(p,20,1.6,.15),subtitle1:S(f,16,1.75,.15),subtitle2:S(p,14,1.57,.1),body1:S(f,16,1.5,.15),body2:S(f,14,1.43,.15),button:S(p,14,1.75,.4,a),caption:S(f,12,1.66,.4),overline:S(f,12,2.66,1,a),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,o.default)((0,r.default)({htmlFontSize:m,pxToRem:x,fontFamily:u,fontSize:c,fontWeightLight:d,fontWeightRegular:f,fontWeightMedium:p,fontWeightBold:h},w),y,{clone:!1})}}),eS("1rZzw",function(e,t){function r(...e){return`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2),${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14),${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`}f(e.exports,"default",function(){return n});var n=["none",r(0,2,1,-1,0,1,1,0,0,1,3,0),r(0,3,1,-2,0,2,2,0,0,1,5,0),r(0,3,3,-2,0,3,4,0,0,1,8,0),r(0,2,4,-1,0,4,5,0,0,1,10,0),r(0,3,5,-1,0,5,8,0,0,1,14,0),r(0,3,5,-1,0,6,10,0,0,1,18,0),r(0,4,5,-2,0,7,10,1,0,2,16,1),r(0,5,5,-3,0,8,10,1,0,3,14,2),r(0,5,6,-3,0,9,12,1,0,3,16,2),r(0,6,6,-3,0,10,14,1,0,4,18,3),r(0,6,7,-4,0,11,15,1,0,4,20,3),r(0,7,8,-4,0,12,17,2,0,5,22,4),r(0,7,8,-4,0,13,19,2,0,5,24,4),r(0,7,9,-4,0,14,21,2,0,5,26,4),r(0,8,9,-5,0,15,22,2,0,6,28,5),r(0,8,10,-5,0,16,24,2,0,6,30,5),r(0,8,11,-5,0,17,26,2,0,6,32,5),r(0,9,11,-5,0,18,28,2,0,7,34,6),r(0,9,12,-6,0,19,29,2,0,7,36,6
1),r(0,10,13,-6,0,20,31,3,0,8,38,7),r(0,10,13,-6,0,21,33,3,0,8,40,7),r(0,10,14,-6,0,22,35,3,0,8,42,7),r(0,11,14,-7,0,23,36,3,0,9,44,8),r(0,11,15,-7,0,24,38,3,0,9,46,8)]}),eS("6XRvJ",function(e,t){f(e.exports,"default",function(){return u});var r=ex("iTd5p"),n=ex("kHSTm");let o=["duration","easing","delay"],i={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},a={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function s(e){return`${Math.round(e)}ms`}function l(e){if(!e)return 0;let t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function u(e){let t=(0,n.default)({},i,e.easing),u=(0,n.default)({},a,e.duration);return(0,n.default)({getAutoHeightDuration:l,create:(e=["all"],n={})=>{let{duration:i=u.standard,easing:a=t.easeInOut,delay:l=0}=n;return(0,r.default)(n,o),(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof i?i:s(i)} ${a} ${"string"==typeof l?l:s(l)}`).join(",")}},e,{easing:t,duration:u})}}),eS("ef4Jo",function(e,t){f(e.exports,"default",function(){return r});var r={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500}}),eS("3K54k",function(e,t){f(e.exports,"default",function(){return r});var r="$$material"}),eS("h9bB9",function(e,t){f(e.exports,"default",function(){return n});var r=ex("hcshN"),n=e=>(0,r.default)(e)&&"classes"!==e}),eS("hcshN",function(e,t){f(e.exports,"default",function(){return r});var r=function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}}),eS("ighHL",function(e,t){f(e.exports,"getSvgIconUtilityClass",function(){return o});var r=ex("1brws"),n=ex("cE8yR");function o(e){return(0,n.default)("MuiSvgIcon",e)}(0,r.default)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"])}),eS("1brws",function(e,t){f(e.exports,"default",function(){return n});var r=ex("cE8yR");function n(e,t,o="Mui"){let i={};return t.forEach(t=>{i[t]=(0,r.default)(e,t,o)}),i}}),eS("cE8yR",function(e,t){f(e.exports,"default",function(){return o});var r=ex("lNYZH");let n={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function o(e,t,i="Mui"){let a=n[t];return a?`${i}-${a}
1`:`${r.default.generate(e)}-${t}`}}),eS("lNYZH",function(e,t){let r;f(e.exports,"default",function(){return o});let n=e=>e;var o=(r=n,{configure(e){r=e},generate:e=>r(e),reset(){r=n}})}),eS("ZNDL9",function(e,t){f(e.exports,"default",function(){return o});var r=ex("jkW6S"),n=/^((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)-.*))$/,o=(0,r.default)(function(e){return n.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)})}
1),eS("jkW6S",function(e,t){f(e.exports,"default",function(){return r});var r=function(e){var t={};return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}});var ew=(ex("10mKg"),ex("10mKg")),e_=ex("kHSTm"),ek=ex("iTd5p");ex("f7SMx");var eC=ex("8G7zL"),eM=ex("lvLU0"),eP=ex("ePVkf"),eT=ex("kNkND"),eE=ex("dTcCh"),eR=ex("iHvSU");ex("f7SMx");var eL=ex("4RLZr");ex("5S20d");var eA=ex("fOOjm"),eN=function(e=null){let t=eL.useContext(eA.T);return t&&0!==Object.keys(t).length?t:e};let e$=(0,eR.default)();var eI=function(e=e$){return eN(e)},ej=ex("9BXUG");let eO=["className","component"];var eB=ex("lNYZH"),ez=ex("592da"),eU=ex("3K54k"),eD=ex("1brws");let eF=(0,eD.default)("MuiBox",["root"]),eV=(0,ez.default)(),eW=function(e={}){let{themeId:t,defaultTheme:r,defaultClassName:n="MuiBox-root",generateClassName:o}=e,i=(0,eP.default)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(eT.default);return eC.forwardRef(function(e,a){let s=eI(r),l=(0,eE.default)(e),{className:u,component:c="div"}=l,d=(0,ek.default)(l,eO);return(0,ej.jsx)(i,(0,e_.default)({as:c,ref:a,className:(0,eM.default)(u,o?o(n):n),theme:t&&s[t]||s},d))})}({themeId:eU.default,defaultTheme:eV,defaultClassName:eF.root,generateClassName:eB.default.generate});var e_=ex("kHSTm");ex("f7SMx");var eL=ex("4RLZr"),e_=ex("kHSTm");ex("f7SMx");var eL=ex("4RLZr");ex("f7SMx");var ew=ex("10mKg");let eH=ew.createContext(null);ex("f7SMx");var eL=ex("4RLZr");function eG(){return eL.useContext(eH)}var eX="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",ej=ex("9BXUG"),eq=function(e){let{children:t,theme:r}=e,n=eG(),o=eL.useMemo(()=>{let e=null===n?r:"function"==typeof r?r(n):(0,e_.default)({},n,r);return null!=e&&(e[eX]=null!==n),e},[r,n]);return(0,ej.jsx)(eH.Provider,{value:o,children:t})};ex("5S20d");var eA=ex("fOOjm"),e_=ex("kHSTm"),ek=ex("iTd5p");ex("f7SMx");var ew=ex("10mKg"),eL=ex("4RLZr"),ej=ex("9BXUG");let eK=["value"],eZ=ew.createContext();var eY=function(e){let{value:t}=e,r=(0,ek.default)(e,eK);return(0,ej.jsx)(eZ.Provider,(0,e_.default)({value:null==t||t},r))},eJ=ex("5PEMo");ex("f7SMx"),ex("f7SMx");var eL=ex("4RLZr");let eQ="u">typeof window?eL.useLayoutEffect:eL.useEffect;var e0=ex("f7SMx");let e1=0,e2=e0["useId".toString()];function e5(e){if(void 0!==e2){let t=e2();return null!=e?e:t}return function(e){let[t,r]=e0.useState(e),n=e||t;return e0.useEffect(()=>{null==t&&(e1+=1,r(`mui-${e1}`))},[t]),n}(e)}ex("f7SMx");var e4=ex("7OKr1"),eP=ex("ePVkf"),ej=ex("9BXUG");function e7(e){let t=(0,eP.internal_serializeStyles)(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}var e3=function({styles:e,themeId:t,defaultTheme:r={}}){let n=eI(r),o=t&&n[t]||n,i="function"==typeof e?e(o):e;return o.modularCssLayers&&(i=Array.isArray(i)?i.map(e=>"function"==typeof e?e7(e(o)):e7(e)):e7(i)),(0,ej.jsx)(e4.default,{styles:i})},ej=(ex("9BXUG"),ex("9BXUG"));let e9={};function e6(e,t,r,n=!1){return eL.useMemo(()=>{let o=e&&t[e]||t;if("function"==typeof r){let i=r(o),a=e?(0,e_.default)({},t,{[e]:i}):i;return n?()=>a:a}return e?(0,e_.default)({},t,{[e]:r}):(0,e_.default)({},t,r)},[e,t,r,n])}var e8=function(e){let{children:t,theme:r,themeId:n}=e,o=eN(e9),i=eG()||e9,a=e6(n,o,r),s=e6(n,i,r,!0),l="rtl"===a.direction,u=function(e){let t=eN(),r=e5()||"",{modularCssLayers:n}=e,o="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return(eQ(()=>{var e,t;let n=document.querySelector("head");if(!n)return;let i=n.firstChild;if(o){if(i&&null!=(e=i.hasAttribute)&&e.call(i,"data-mui-layer-order")&&i.getAttribute("data-mui-layer-order")===r)return;let t=document.createElement("style");t.setAttribute("data-mui-layer-order",r),t.textContent=o,n.prepend(t)}else null==(t=n.querySelector(`style[data-mui-layer-order="${r}"]`))||t.remove()},[o=n&&null===t?"string"==typeof n?n.replace(/mui(?!\.)/g,o):`@layer ${o};`:"",r]),o)?(0,ej.jsx)(e3,{styles:o}):null}(a);return(0,ej.jsx)(eq,{theme:s,children:(0,ej.jsx)(eA.T.Provider,{value:a,children:(0,ej.jsx)(eY,{value:l,children:(0,ej.jsxs)(eJ.default,{value:null==a?void 0:a.components,children:[u,t]}
1)})})})},ez=ex("592da");let te=(0,ez.default)(),tt=(0,ez.default)({breakpoints:{values:{xs:0,sm:600,md:900,lg:1200,xl:1536}},typography:{fontFamily:"Merriweather Sans,Merriweather",h1:{margin:0,fontFamily:"Merriweather",fontSize:"45px",lineHeight:"130%",fontWeight:400,[te.breakpoints.down("md")]:{fontSize:"32px",lineHeight:"130%"}},h2:{margin:0,fontFamily:"Merriweather",fontSize:"40px",lineHeight:"130%",fontWeight:400},h3:{margin:0,fontFamily:"Merriweather",fontSize:"26px",lineHeight:"130%",fontWeight:400},h4:{margin:0,fontFamily:"Merriweather",fontSize:"16px",lineHeight:"150%",fontWeight:400},h5:{margin:0,fontFamily:"Merriweather",fontSize:"16px",lineHeight:"150%",fontWeight:400},body1:{fontSize:"18px",fontFamily:"Merriweather Sans",fontWeight:400,margin:0,[te.breakpoints.down("md")]:{lineHeight:"190%",fontSize:"14px"}},subtitle1:{fontFamily:"Merriweather Sans",fontWeight:400,fontSize:"20px",textTransform:"uppercase",lineHeight:"100%",[te.breakpoints.down("md")]:{fontSize:"16px",lineHeight:"190%"}},subtitle2:{fontFamily:"Merriweather Sans",fontWeight:400,fontSize:"16px",textTransform:"uppercase",lineHeight:"100%"}},palette:{primary:{main:"#3883E8",light:"#6D7E87",dark:"#414F55"},secondary:{main:"#FFF"},success:{main:"#1DD75F"}},components:{MuiButton:{styleOverrides:{root:{fontFamily:"Merriweather Sans",textTransform:"none"}}}}});var eL=ex("4RLZr"),ew=ex("10mKg"),eL=ex("4RLZr"),tr={},tn={};f(tn,"atom",function(){return E},function(e){return E=e}),f(tn,"createStore",function(){return R},function(e){return R=e}),f(tn,"getDefaultStore",function(){return L},function(e){return L=e});var to=0,ti=function(e){return"init"in e},ta=function(e){return!!e.write},ts=new WeakMap,tl=function(e,t){ts.set(e,t),e.catch(function(){}).finally(function(){return ts.delete(e)})},tu=function(e,t){var r=ts.get(e);r&&(ts.delete(e),r(t))},tc=function(e,t){e.status="fulfilled",e.value=t},td=function(e,t){e.status="rejected",e.reason=t},tf=function(e,t){return!!e&&"v"in e&&"v"in t&&Object.is(e.v,t.v)},tp=function(e,t){return!!e&&"e"in e&&"e"in t&&Object.is(e.e,t.e)},th=function(e){return!!e&&"v"in e&&e.v instanceof Promise},tm=function(e){if("e"in e)throw e.e;return e.v},tg=function(){var e=new WeakMap,t=new WeakMap,r=new Map,n=function(t){return e.get(t)},o=function(t,n){var o=e.get(t);if(e.set(t,n),r.has(t)||r.set(t,o),th(o)){var i="v"in n?n.v instanceof Promise?n.v:Promise.resolve(n.v):Promise.reject(n.e);o.v!==i&&tu(o.v,i)}},i=function(e,t,r){var n=new Map,o=!1;r.forEach(function(r,i){r||i!==e||(r=t),r&&(n.set(i,r),t.d.get(i)!==r&&(o=!0))}),(o||t.d.size!==n.size)&&(t.d=n)},a=function(e,t,r){var a=n(e),s={d:(null==a?void 0:a.d)||new Map,v:t};if(r&&i(e,s,r),tf(a,s)&&a.d===s.d)return a;if(th(a)&&th(s)&&"v"in a&&"v"in s&&a.v.orig&&a.v.orig===s.v.orig)if(a.d===s.d)return a;else s.v=a.v;return o(e,s),s},s=function(e,r,o,i){if("function"==typeof(null==r?void 0:r.then)){var s,l=function(){var r=n(e);if(th(r)&&r.v===u){var i=a(e,u,o);t.has(e)&&r.d!==i.d&&y(e,i,r.d)}},u=new Promise(function(e,t){var n=!1;r.then(function(t){n||(n=!0,tc(u,t),e(t),l())},function(e){n||(n=!0,td(u,e),t(e),l())}),s=function(t){n||(n=!0,t.then(function(e){return tc(u,e)},function(e){return td(u,e)}),e(t))}});return u.orig=r,u.status="pending",tl(u,function(e){e&&s(e),null==i||i()}),a(e,u,o)}return a(e,r,o)},l=function(e,t,r){var a=n(e),s={d:(null==a?void 0:a.d)||new Map,e:t};return(r&&i(e,s,r),tp(a,s)&&a.d===s.d)?a:(o(e,s),s)},u=function e(r,o){var i,a,u=n(r);if(!o&&u&&(t.has(r)||Array.from(u.d).every(function(t){var n=t[0],o=t[1];if(n===r)return!0;var i=e(n);return i===o||tf(i,o)})))return u;var c=new Map,d=!0;try{var f=r.read(function(t){if(t===r){var o=n(t);if(o)return c.set(t,o),tm(o);if(ti(t))return c.set(t,void 0),t.init;throw Error("no atom init")}var i=e(t);return c.set(t,i),tm(i)},{get signal(){return i||(i=new AbortController),i.signal},get setSelf(){return!a&&ta(r)&&(a=function(){if(!d){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return m.apply(void 0,[r].concat(t))}}),a}});return s(r,f,c,function(){var e;return null==(e=i)?void 0:e.abort()})}catch(e){return l(r,e,c)}finally{d=!1}},c=function(e){var r=t.get(e);return r||(r=g(e)),r},d=function(e,t){return!t.l.size&&(!t.t.size||1===t.t.size&&t.t.has(e))},f=function(e){var r=t.get(e);r&&d(e,r)&&v(e)},p=function(e){var o=new Map,i=new WeakMap,a=function(e){var o,i=new Set(null==(o=t.get(e))?void 0:o.t);return r.forEach(function(t,r){var o;null!=(o=n(r))&&o.d.has(e)&&i.add(r)}),i};!function e(t){a(t).forEach(function(r){r!==t&&(o.set(r,(o.get(r)||new Set).add(t)),i.set(r,(i.get(r)||0)+1),e(r))})}(e),!function e(t){a(t).forEach(function(r){if(r!==t){var a=i.get(r);if(a&&i.set(r,--a),!a){var s,l=!!(null!=(s=o.get(r))&&s.size);l&&(l=!tf(n(r),u(r,!0))),l||o.forEach(function(e){return e.delete(r)})}e(r)}})}(e)},h=function e(t){for(var r=!0,o=arguments.length,i=Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];var l=t.write.apply(t,[function(e){return tm(u(e))},function(o){for(var i,a=arguments.length,l=Array(a>1?a-1:0),u=1;u<a;u++)l[u-1]=arguments[u];if(o===t){if(!ti(o))throw Error("atom not writable");tf(n(o),s(o,l[0]))||p(o)}else i=e.apply(void 0,[o].concat(l));return r||b(),i}].concat(i));return r=!1,l},m=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var o=h.apply(void 0,[e].concat(r));return b(),o},g=function e(r,o,i){var a,s=i||[];null==(a=n(r))||a.d.forEach(function(n,o){var i=t.get(o);i?i.t.add(r):o!==r&&e(o,r,s)}),u(r);var l={t:new Set(o&&[o]),l:new Set};if(t.set(r,l),ta(r)&&r.onMount){var c=r.onMount;s.push(function(){var e=c(function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return m.apply(void 0,[r].concat(t))});e&&(l.u=e)})}
1return i||s.forEach(function(e){return e()}),l},v=function e(r){var o,i=null==(o=t.get(r))?void 0:o.u;i&&i(),t.delete(r);var a=n(r);a&&(th(a)&&tu(a.v),a.d.forEach(function(n,o){if(o!==r){var i=t.get(o);i&&(i.t.delete(r),d(o,i)&&e(o))}}))},y=function(e,r,n){var o=new Set(r.d.keys()),i=new Set;null==n||n.forEach(function(r,n){if(o.has(n))return void o.delete(n);i.add(n);var a=t.get(n);a&&a.t.delete(e)}),o.forEach(function(r){var n=t.get(r);n?n.t.add(e):t.has(e)&&g(r,e)}),i.forEach(function(e){var r=t.get(e);r&&d(e,r)&&v(e)})},b=function(){for(;r.size;){var e=Array.from(r);r.clear(),e.forEach(function(e){var r=e[0],o=e[1],i=n(r);if(i){var a=t.get(r);a&&i.d!==(null==o?void 0:o.d)&&y(r,i,null==o?void 0:o.d),a&&!(!th(o)&&(tf(o,i)||tp(o,i)))&&a.l.forEach(function(e){return e()})}})}};return{get:function(e){return tm(u(e))},set:m,sub:function(e,t){var r=c(e);b();var n=r.l;return n.add(t),function(){n.delete(t),f(e)}}}};E=function(e,t){var r="atom"+ ++to,n={toString:function(){return r}};return"function"==typeof e?n.read=e:(n.init=e,n.read=function(e){return e(this)},n.write=function(e,t,r){return t(this,"function"==typeof r?r(e(this)):r)}),t&&(n.write=t),n},R=tg,L=function(){return A||(A=tg()),A};var tv={};f(tv,"Provider",function(){return N},function(e){return N=e}),f(tv,"useAtom",function(){return $},function(e){return $=e}),f(tv,"useAtomValue",function(){return I},function(e){return I=e}),f(tv,"useSetAtom",function(){return j},function(e){return j=e}),f(tv,"useStore",function(){return O},function(e){return O=e}),ex("f7SMx");var ew=ex("10mKg"),e0=ex("f7SMx"),eL=ex("4RLZr"),ty=ew.createContext(void 0),tb=function(e){var t=eL.useContext(ty);return(null==e?void 0:e.store)||t||L()},tx=e0.use||function(e){if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;if("rejected"===e.status)throw e.reason;throw e.status="pending",e.then(function(t){e.status="fulfilled",e.value=t},function(t){e.status="rejected",e.reason=t}),e};function tS(e,t){var r,n=tb(t),o=eL.useReducer(function(t){var r=n.get(e);return Object.is(t[0],r)&&t[1]===n&&t[2]===e?t:[r,n,e]},void 0,function(){return[n.get(e),n,e]}),i=o[0],a=i[0],s=i[1],l=i[2],u=o[1],c=a;(s!==n||l!==e)&&(u(),c=n.get(e));var d=null==t?void 0:t.delay;return eL.useEffect(function(){var t=n.sub(e,function(){"number"==typeof d?setTimeout(u,d):u()});return u(),t},[n,e,d]),eL.useDebugValue(c),"function"==typeof(null==(r=c)?void 0:r.then)?tx(c):c}function tw(e,t){var r=tb(t);return eL.useCallback(function(){for(var t=arguments.length,n=Array(t),o=0;o<t;o++)n[o]=arguments[o];return r.set.apply(r,[e].concat(n))},[r,e])}N=function(e){var t=e.children,r=e.store,n=eL.useRef();return r||n.current||(n.current=R()),ew.createElement(ty.Provider,{value:r||n.current},t)},$=function(e,t){return[tS(e,t),tw(e,t)]},I=tS,j=tw,O=tb,Object.keys(tn).forEach(function(e){"default"===e||Object.prototype.hasOwnProperty.call(tr,e)||Object.defineProperty(tr,e,{enumerable:!0,get:function(){return tn[e]}})}),Object.keys(tv).forEach(function(e){"default"===e||Object.prototype.hasOwnProperty.call(tr,e)||Object.defineProperty(tr,e,{enumerable:!0,get:function(){return tv[e]}})});var eL=ex("4RLZr");class t_{static{this.instance=null}constructor(){return this.eventHandlers=new Map,this.handleUneeqMessage=e=>{let t=e.detail,r=this.eventHandlers.get(t.uneeqMessageType);r&&r.length>0&&r.forEach(e=>e(t))},this.attachGlobalListeners=()=>{window.addEventListener("UneeqMessage",this.handleUneeqMessage)},this.detachGlobalListeners=()=>{window.removeEventListener("UneeqMessage",this.handleUneeqMessage),this.eventHandlers.clear()},this.onUneeqMessage=(e,t)=>{let r=this.eventHandlers.get(e)||[];return r.push(t),this.eventHandlers.set(e,r),()=>{let e=r.indexOf(t);e>-1&&r.splice(e,1)}},t_.instance||(t_.instance=this),this.attachGlobalListeners(),t_.instance}}var tk={},tC={};f(tC,"RESET",function(){return B},function(e){return B=e}),f(tC,"atomFamily",function(){return z},function(e){return z=e}),f(tC,"atomWithDefault",function(){return U},function(e){return U=e}),f(tC,"atomWithObservable",function(){return D},function(e){return D=e}),f(tC,"atomWithReducer",function(){return F},function(e){return F=e}),f(tC,"atomWithReset",function(){return V},function(e){return V=e}),f(tC,"atomWithStorage",function(){return W},function(e){return W=e}),f(tC,"createJSONStorage",function(){return H},function(e){return H=e}),f(tC,"freezeAtom",function(){return G},function(e){return G=e}),f(tC,"freezeAtomCreator",function(){return X},function(e){return X=e}),f(tC,"loadable",function(){return q},function(e){return q=e}),f(tC,"selectAtom",function(){return K},function(e){return K=e}),f(tC,"splitAtom",function(){return Z},function(e){return Z=e}),f(tC,"unstable_withStorageValidator",function(){return Y},function(e){return Y=e}),f(tC,"unwrap",function(){return J},function(e){return J=e});var tM=Symbol("");function tP(){return(tP=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function tT(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function tE(e,t){var r="u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e){if(e){if("string"==typeof e)return tT(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return tT(e,void 0)}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var tR=function(e,t,r){return(t.has(r)?t:t.set(r,e())).get(r)},tL=new WeakMap,tA=function(e,t,r,n){var o=tR(function(){return new WeakMap},tL,t),i=tR(function(){return new WeakMap},o,r);return tR(e,i,n)},tN=new WeakMap,t$=function e(t){if("object"==typeof t&&null!==t){Object.freeze(t);for(var r,n=Object.getOwnPropertyNames(t),o=tE(n);!(r=o()).done;)e(t[r.value]);return t}},tI=function(e,t,r){return(t.has(r)?t:t.set(r,e())).get(r)},tj=new WeakMap,tO=function(e,t,r){var n=tI(function(){return new WeakMap},tj,t);return tI(e,n,r)},tB={},tz=function(e){return!!e.write},tU=function(e){return"function"==typeof(null==e?void 0:e.then)};function tD(e,t){void 0===e&&(e=function(){return"u">typeof window?window.localStorage:void 0});var r,n,o={getItem:function(o,i){var a,s,l=function(e){if(r!==(e=e||"")){try{n=JSON.parse(e,null==t?void 0:t.reviver)}catch(e){return i}r=e}return n},u=null!=(a=null==(s=e())?void 0:s.getItem(o))?a:null;return tU(u)?u.then(l):l(u)},setItem:function(r,n){var o;return null==(o=e())?void 0:o.setItem(r,JSON.stringify(n,null==t?void 0:t.replacer))},removeItem:function(t){var r;return null==(r=e())?void 0:r.removeItem(t)}};return"u">typeof window&&"function"==typeof window.addEventListener&&window.Storage&&(o.subscribe=function(t,r,n){if(!(e()instanceof window.Storage))return function(){};var o=function(o){if(o.storageArea===e()&&o.key===t){var i;try{i=JSON.parse(o.newValue||"")}catch(e){i=n}r(i)}};return window.addEventListener("storage",o),function(){window.removeEventListener("storage",o)}}),o}var tF=tD(),tV=new WeakMap,tW={state:"loading"},tH=function(e,t,r){return(t.has(r)?t:t.set(r,e())).get(r)},tG=new WeakMap,tX=function(e,t,r){var n=tH(function(){return new WeakMap},tG,t);return tH(e,n,r)},tq=function(){};B=tM,z=function(e,t){var r=null,n=new Map,o=function o(i){if(void 0===t)a=n.get(i);else for(var a,s,l=tE(n);!(s=l()).done;){var u=s.value,c=u[0],d=u[1];if(t(c,i)){a=d;break}}if(void 0!==a)if(!(null!=r&&r(a[1],i)))return a[0];else o.remove(i);var f=e(i);return n.set(i,[f,Date.now()]),f};return o.remove=function(e){if(void 0===t)n.delete(e);else for(var r,o=tE(n);!(r=o()).done;){var i=r.value[0];if(t(i,e)){n.delete(i);break}}},o.setShouldRemove=function(e){if(r=e)for(var t,o=tE(n);!(t=o()).done;){var i=t.value,a=i[0],s=i[1];r(s[1],a)&&n.delete(a)}},o},U=function(e){var t=Symbol(),r=E(t),n=E(function(n,o){var i=n(r);return i!==t?i:e(n,o)},function(e,o,i){o(r,i===tM?t:"function"==typeof i?i(e(n)):i)});return n},D=function(e,t){var r=function(e){if("e"in e)throw e.e;return e.d},n=E(function(r){var n,o,i,a,s,l,u,c=e(r),d=null==(n=(o=c)[Symbol.observable])?void 0:n.call(o);d&&(c=d);var f=function(){return new Promise(function(e){i=e})},p=t&&"initialValue"in t?{d:"function"==typeof t.initialValue?t.initialValue():t.initialValue}:f(),h=function(e){s=e,null==i||i(e),null==a||a(e)},m=function(){return!a},g=function(){l&&(clearTimeout(u),l.unsubscribe()),l=c.subscribe({next:function(e){return h({d:e})},error:function(e){return h({e:e})},complete:function(){}}),m()&&null!=t&&t.unstable_timeout&&(u=setTimeout(function(){l&&(l.unsubscribe(),l=void 0)},t.unstable_timeout))};g();var v=E(s||p);return v.onMount=function(e){return a=e,s&&e(s),l?clearTimeout(u):g(),function(){a=void 0,l&&(l.unsubscribe(),l=void 0)}},[v,c,f,g,m]});return E(function(e){var t=e(n)[0],o=e(t);return o instanceof Promise?o.then(r):r(o)},function(e,t,r){var o=e(n),i=o[0],a=o[1],s=o[2],l=o[3],u=o[4];if("next"in a)u()&&(t(i,s()),l()),a.next(r);else throw Error("observable is not subject")})},F=function(e,t){var r=E(e,function(e,n,o){return n(r,t(e(r),o))});return r},V=function(e){var t=E(e,function(r,n,o){var i="function"==typeof o?o(r(t)):o;n(t,i===tM?e:i)});return t},W=function(e,t,r,n){void 0===r&&(r=tF);var o=null==n?void 0:n.getOnInit,i=E(o?r.getItem(e,t):t);return i.onMount=function(n){var i;return o||n(r.getItem(e,t)),r.subscribe&&(i=r.subscribe(e,n,t)),i},E(function(e){return e(i)},function(n,o,a){var s="function"==typeof a?a(n(i)):a;return s===tM?(o(i,t),r.removeItem(e)):s instanceof Promise?s.then(function(t){return o(i,t),r.setItem(e,t)}):(o(i,s),r.setItem(e,s))})},H=tD,G=function(e){var t;return t=function(){return E(function(t){return t$(t(e))},function(t,r,n){return r(e,n)})},(tN.has(e)?tN:tN.set(e,t())).get(e)},X=function(e){return function(){var t=e.apply(void 0,arguments),r=t.read;return t.read=function(e,t){return t$(r.call(this,e,t))},t}},q=function(e){var t;return t=function(){var t=new WeakMap,r=E(0),n=E(function(n,o){var i,a=o.setSelf;n(r);try{i=n(e)}catch(e){return{state:"hasError",error:e}}if(!(i instanceof Promise))return{state:"hasData",data:i};var s=i,l=t.get(s);return l||(t.set(s,tW),s.then(function(e){t.set(s,{state:"hasData",data:e})},function(e){t.set(s,{state:"hasError",error:e})}).finally(a),tW)},function(e,t){t(r,function(e){return e+1})});return E(function(e){return e(n)})},(tV.has(e)?tV:tV.set(e,t())).get(e)},K=function(e,t,r){return void 0===r&&(r=Object.is),tA(function(){var n=Symbol(),o=function(e){var o=e[0],i=e[1];if(i===n)return t(o);var a=t(o,i);return r(i,a)?i:a},i=E(function(t){var r=t(i),n=t(e);return n instanceof Promise||r instanceof Promise?Promise.all([n,r]).then(o):o([n,r])});return i.init=n,i},e,t,r)},Z=function(e,t){return tO(function(){var r=new WeakMap,n=function n(i,a){var s=r.get(i);if(s)return s;var l=a&&r.get(a),u=[],c=[];
1return i.forEach(function(r,a){var s=t?t(r):a;c[a]=s;var d=l&&l.atomList[l.keyList.indexOf(s)];if(d){u[a]=d;return}var f=function(t){var r=t(o),a=t(e),l=n(a,null==r?void 0:r.arr).keyList.indexOf(s);if(l<0||l>=a.length){var u=i[n(i).keyList.indexOf(s)];if(u)return u;throw Error("splitAtom: index out of bounds for read")}return a[l]};u[a]=tz(e)?E(f,function(t,r,i){var a=t(o),l=t(e),u=n(l,null==a?void 0:a.arr).keyList.indexOf(s);if(u<0||u>=l.length)throw Error("splitAtom: index out of bounds for write");var c="function"==typeof i?i(l[u]):i;Object.is(l[u],c)||r(e,[].concat(l.slice(0,u),[c],l.slice(u+1)))}):E(f)}),s=l&&l.keyList.length===c.length&&l.keyList.every(function(e,t){return e===c[t]})?l:{arr:i,atomList:u,keyList:c},r.set(i,s),s},o=E(function(t){var r=t(o);return n(t(e),null==r?void 0:r.arr)});o.init=void 0;var i=tz(e)?E(function(e){return e(o).atomList},function(t,r,n){switch(n.type){case"remove":var o=t(i).indexOf(n.atom);if(o>=0){var a=t(e);r(e,[].concat(a.slice(0,o),a.slice(o+1)))}break;case"insert":var s=n.before?t(i).indexOf(n.before):t(i).length;if(s>=0){var l=t(e);r(e,[].concat(l.slice(0,s),[n.value],l.slice(s)))}break;case"move":var u=t(i).indexOf(n.atom),c=n.before?t(i).indexOf(n.before):t(i).length;if(u>=0&&c>=0){var d=t(e);r(e,u<c?[].concat(d.slice(0,u),d.slice(u+1,c),[d[u]],d.slice(c)):[].concat(d.slice(0,c),[d[u]],d.slice(c,u),d.slice(u+1)))}}}):E(function(e){return e(o).atomList});return i},e,t||tB)},Y=function(e){return function(t){return tP({},t,{getItem:function(r,n){var o=function(t){return e(t)?t:n},i=t.getItem(r,n);return tU(i)?i.then(o):o(i)}})}},J=function(e,t){return void 0===t&&(t=tq),tX(function(){var r=new WeakMap,n=new WeakMap,o=E(0),i=E(function(a,s){var l=s.setSelf;a(o);var u=a(i),c=a(e);if(!(c instanceof Promise))return{v:c};if(c===(null==u?void 0:u.p)){if(r.has(c))throw r.get(c);if(n.has(c))return{p:c,v:n.get(c)}}return(c!==(null==u?void 0:u.p)&&c.then(function(e){return n.set(c,e)},function(e){return r.set(c,e)}).finally(l),u&&"v"in u)?{p:c,f:t(u.v),v:u.v}:{p:c,f:t()}},function(e,t){t(o,function(e){return e+1})});return i.init=void 0,E(function(e){var t=e(i);return"f"in t?t.f:t.v},function(t,r){for(var n=arguments.length,o=Array(n>2?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i];return r.apply(void 0,[e].concat(o))})},e,t)};var tK={};f(tK,"useAtomCallback",function(){return Q},function(e){return Q=e}),f(tK,"useHydrateAtoms",function(){return ee},function(e){return ee=e}),f(tK,"useReducerAtom",function(){return et},function(e){return et=e}),f(tK,"useResetAtom",function(){return er},function(e){return er=e}),ex("f7SMx");var eL=ex("4RLZr");function tZ(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var tY=new WeakMap,tJ=function(e){var t=tY.get(e);return t||(t=new WeakSet,tY.set(e,t)),t};Q=function(e,t){var r=eL.useMemo(function(){return E(null,function(t,r){for(var n=arguments.length,o=Array(n>2?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i];return e.apply(void 0,[t,r].concat(o))})},[e]);return j(r,t)},ee=function(e,t){for(var r,n=O(t),o=tJ(n),i=function(e){var t="u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=function(e){if(e){if("string"==typeof e)return tZ(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return tZ(e,void 0)}}(e))){t&&(e=t);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e);!(r=i()).done;){var a=r.value,s=a[0],l=a[1];(!o.has(s)||null!=t&&t.dangerouslyForceHydrate)&&(o.add(s),n.set(s,l))}},et=function(e,t,r){var n=$(e,r),o=n[0],i=n[1];return[o,eL.useCallback(function(e){i(function(r){return t(r,e)})},[i,t])]},er=function(e,t){var r=j(e,t);return eL.useCallback(function(){return r(B)},[r])},Object.keys(tC).forEach(function(e){"default"===e||Object.prototype.hasOwnProperty.call(tk,e)||Object.defineProperty(tk,e,{enumerable:!0,get:function(){return tC[e]}})}
1),Object.keys(tK).forEach(function(e){"default"===e||Object.prototype.hasOwnProperty.call(tk,e)||Object.defineProperty(tk,e,{enumerable:!0,get:function(){return tK[e]}})});var tQ=((m={})[m.INITIAL=0]="INITIAL",m[m.SESSION_START=1]="SESSION_START",m[m.IN_SESSION=2]="IN_SESSION",m),t0=((g={}).EN="en",g.ES="es",g);let t1={chain_en:"6f223dce-27cc-418e-9c15-e1a5b0766993",chain_es:"10be0f86-da73-4390-87d3-56aa717d0061",welcomePathname:"/",personaId:"82655fda-20d8-439b-90f7-4a76baeb12f2",about_emma_url:"/about-emma",background_video_url:"https://amarillo.gov/wp-content/themes/hello-elementor/assets/emma_2026_loop_compressed.mp4"},t2={uneeqInteractionsOptions:{enableMicrophone:!1,enableVad:!0,personaShareId:t1.personaShareId,layoutMode:"contained",showUserInputInterface:!1,displayCallToAction:!0,showClosedCaptions:!0,voiceInputMode:"SPEECH_RECOGNITION",speechToTextLocales:"en-US:es-MX:es-ES",backgroundImageUrl:"https://res.cloudinary.com/ddownn0ib/image/upload/v1710281469/hh2mymzjs5j67ub2fx9j.png",enableTransparentBackground:!1,resumeSession:!0,ctaThumbnailUrl:"https://res.cloudinary.com/ddownn0ib/image/upload/v1712018570/City-of-Amarillo/coa_idle_edvrns.png",customStyles:`#content {
2        background: transparent;
3        box-shadow: none;
4      }
5      .close-btn, .settings-btn {
6        display: none;
7      }
8      app-user-input-overlay-v2 {
9        background: transparent !important;
10        box-shadow: none !important;
11      }
12        
13      app-closed-captions{
14        inset: auto auto 118px 20px !important;
15      }
16        
17      app-closed-captions > div {
18        color: #000 !important;
19        background: rgba(255, 255, 255, 0.7) !important;
20        margin: 8px 0 !important;
21      }
22      app-closed-captions > div > a {
23        color: #000 !important;
24      }
25      app-closed-captions > div.user {
26        color: rgba(255,255,255,0.8) !important;
27        background: rgba(0, 0, 0, 0.8) !important;
28      }
29        
30      app-closed-captions > div.user:first-letter {
31        text-transform: uppercase;
32      }
33      @media (max-width: 768px) {
34        .dh-muted-btn{
35          top: -10px !important;
36        }
37      }`,cameraPosition:{camera_position_vertical:0,camera_position_horizontal:-.8,camera_position_distance:.95},customData:{locale:"en-US",personaOverrides:`[{"header":"chainId","value":"${t1.chain_en}"}]`},autoStart:!1,initLoadHandler:!1,playWelcome:!0,containedAutoLayout:!0,mobileViewWidthBreakpoint:900,languageStrings:{default:{callToActionText:"Hey, I am Emma! Can I help you with anything?",textInputPlaceholder:"Type here..."}}}};(0,tk.atomWithStorage)("uneeqPryonFeedback",{exchangeId:null,userId:null,accessToken:null,hasSeen:!1},void 0,{getOnInit:!0});let t5=(0,tr.atom)(tQ.INITIAL),t4=(0,tr.atom)(t0.EN),t7=(0,tr.atom)("overlay"),t3=(0,tr.atom)({isReady:!1,isInSession:!1,state:"Initial"});(0,tr.atom)(!0);let t9=(0,tr.atom)({...t2}),t6=(0,tr.atom)(!1),t8=(0,tr.atom)(!1),re=(v=(0,tk.createJSONStorage)(()=>window.sessionStorage),y={getOnInit:!0},t=(0,tk.atomWithStorage)("uneeqSeenWelcome",!1,v,y),(0,tr.atom)(e=>e(t),(e,r,n)=>{let o=n??!e(t);r(t,o)}));ex("f7SMx");var eL=ex("4RLZr"),eC=ex("8G7zL"),rt=ex("kTq4i");function rr(e){let{theme:t,name:r,props:n}=e;return t&&t.components&&t.components[r]&&t.components[r].defaultProps?(0,rt.default)(t.components[r].defaultProps,n):n}let rn=eC.useSyncExternalStore;ex("f7SMx");var ro=ex("ipfKP"),eU=ex("3K54k");function ri(){let e=eI(ro.default);return e[eU.default]||e}let ra=()=>{let e=ri();return{isTabletOrMobile:function(e,t={}){let r=eN(),n="u">typeof window&&void 0!==window.matchMedia,{defaultMatches:o=!1,matchMedia:i=n?window.matchMedia:null,ssrMatchMedia:a=null,noSsr:s=!1}=rr({name:"MuiUseMediaQuery",props:t,theme:r}),l="function"==typeof e?e(r):e;return(void 0!==rn?function(e,t,r,n,o){let i=eL.useCallback(()=>t,[t]),a=eL.useMemo(()=>{if(o&&r)return()=>r(e).matches;if(null!==n){let{matches:t}=n(e);return()=>t}return i},[i,e,n,o,r]),[s,l]=eL.useMemo(()=>{if(null===r)return[i,()=>()=>{}];let t=r(e);return[()=>t.matches,e=>(t.addListener(e),()=>{t.removeListener(e)})]},[i,r,e]);return rn(l,s,a)}:function(e,t,r,n,o){let[i,a]=eL.useState(()=>o&&r?r(e).matches:n?n(e).matches:t);return eQ(()=>{let t=!0;if(!r)return;let n=r(e),o=()=>{t&&a(n.matches)};return o(),n.addListener(o),()=>{t=!1,n.removeListener(o)}},[e,r]),i})(l=l.replace(/^@media( ?)/m,""),o,i,a,s)}(`(max-width:${e.breakpoints.values.md}px)`)}},rs=new t_,rl=!1,ru=()=>
37{let[{isReady:e,isInSession:t,state:r},n]=(0,tr.useAtom)(t3),[o]=(0,tr.useAtom)(t9),[i,a]=(0,tr.useAtom)(t6),[s,l]=(0,tr.useAtom)(t8),[u,c]=(0,eL.useState)(""),[d,f]=(0,eL.useState)(!1),{isTabletOrMobile:p}=ra();(0,eL.useEffect)(()=>{let e=rs.onUneeqMessage("EnableMicrophoneUpdated",e=>{let t=!!e?.enabled;console.log("🎤 EnableMicrophoneUpdated",t),a(t),l(t)}),t=rs.onUneeqMessage("DeviceEnabled",()=>{console.log("🎤 DeviceEnabled"),a(!0),l(!0)}),r=rs.onUneeqMessage("DeviceDisabled",()=>{console.log("🎤 DeviceDisabled"),a(!1),l(!1)});return()=>{e(),t(),r()}},[a,l]),(0,eL.useEffect)(()=>{window.uneeqInteractionsOptions={...o.uneeqInteractionsOptions}},[o]);let h=(0,eL.useCallback)((e,t,r,n,i)=>{let a=new Uneeq({connectionUrl:"https://api.uneeq.io",personaId:t1.personaId,displayCallToAction:!0,renderContent:!0,customStyles:o.uneeqInteractionsOptions.customStyles,welcomePrompt:n?"Hello":"",mobileViewWidthBreakpoint:900,layoutMode:r,cameraAnchorDistance:"loose_close_up",cameraAnchorHorizontal:p?"center":"left",logLevel:"info",enableMicrophone:!1,enableVad:!0,enableInterruptBySpeech:!1,showUserInputInterface:!1,autoStart:!1,initLoadHandler:!1,containedAutoLayout:!0,showClosedCaptions:!0,languageStrings:{default:{callToActionText:"Hey, I am Emma! Can I help you with anything?",textInputPlaceholder:"Type here..."}},customMetadata:{locale:t,chainId:e},speechRecognitionLocales:t,speechRecognitionHintPhrasesBoost:0});if(window.uneeqInstance=a,a.init(),i){let e=document.querySelector("#uneeqFrame");if(e){let t=e.onload;e.onload=()=>{t&&t(),console.log("UneeQ frame loaded, starting session"),a.startSession()}}}},[p,o]);(0,eL.useEffect)(()=>{let e=rs.onUneeqMessage("SessionStateUpdate",({state:e})=>{n(t=>({...t,state:e})),"Live"===e&&n(e=>({...e,isInSession:!0})),"Ended"===e&&(n(e=>({...e,isInSession:!1})),a(!1),l(!1))});return()=>{e()}},[n,a,l]),(0,eL.useEffect)(()=>{let e=rs.onUneeqMessage("FrameReady",()=>{n(e=>({...e,isReady:!0}))});return()=>{e()}},[n]),(0,eL.useEffect)(()=>{let e=rs.onUneeqMessage("SpeechTranscription",e=>{console.log("SpeechTranscription",e),c(e.speechTranscription.transcript)}),t=rs.onUneeqMessage("UserStartedSpeaking",()=>{c(""),l(!0)}),r=rs.onUneeqMessage("UserStoppedSpeaking",()=>{l(!1)}),n=rs.onUneeqMessage("PromptResult",()=>{c("")});return()=>{e(),t(),r(),n()}},[l]),(0,eL.useEffect)(()=>{let e=rs.onUneeqMessage("PromptRequest",()=>{f(!0)}),t=rs.onUneeqMessage("AvatarStoppedSpeaking",()=>{f(!1)});return()=>{e(),t()}},[]);let m=(0,eL.useMemo)(()=>({uneeqAsk:e=>window.uneeqInstance?.chatPrompt?.(e),uneeqSetLayoutMode:e=>window.uneeqInstance?.setLayoutMode?.(e),uneeqEnableMicrophone:async()=>{console.log("🎤 Enabling microphone");let e=window.uneeqInstance;if(!e)return void console.warn("No Uneeq instance");if(rl)return void console.log("🎤 enableMicrophone ignored — enable already in flight");rl=!0;try{let t=await e.enableMicrophone?.();return setTimeout(()=>{rl=!1},1500),t}catch(e){rl=!1,console.error("Failed enabling microphone",e)}},uneeqPauseSpeechRecognition:()=>(console.log("🎤 Pausing speech recognition"),l(!1),window.uneeqInstance?.pauseSpeechRecognition?.()),uneeqResumeSpeechRecognition:()=>(console.log("🎤 Resuming speech recognition"),window.uneeqInstance?.resumeSpeechRecognition?.()),uneeqStopSpeaking:()=>window.uneeqInstance?.stopSpeaking?.(),uneeqUnmuteDigitalHuman:()=>window.uneeqInstance?.unmuteDigitalHuman?.(),uneeqInit:(e,r,n,o,i)=>{t||h(e,r,n,o,i)}}),[h,t,l]);return{isReady:e,isInSession:t,state:r,userVoiceTranscript:u,avatarThinking:d,avatarAnswer:(()=>{let[e,t]=(0,eL.useState)(""),r=(0,eL.useCallback)(e=>{t((e.promptResult?.response?.text).replace(/(<([^>]+)>)/gi,""))},[]);return(0,eL.useEffect)(()=>{let e=rs.onUneeqMessage("PromptResult",r);return()=>{e()}},[r]),e})(),avatarSpeaking:(()=>{let[e,t]=(0,eL.useState)(!1);return(0,eL.useEffect)(()=>{let e=rs.onUneeqMessage("AvatarStartedSpeaking",()=>{t(!0)}),r=rs.onUneeqMessage("AvatarStoppedSpeaking",()=>{t(!1)});return()=>{e(),r()}},[]),e})(),micReady:i,micOperational:s,onUneeqMessage:rs?.onUneeqMessage,...m}};var ew=ex("10mKg"),eL=ex("4RLZr"),ew=ex("10mKg"),ek=ex("iTd5p"),e_=ex("kHSTm");ex("f7SMx");var eC=ex("8G7zL"),eM=ex("lvLU0"),rc=ex("6YMCv"),rd=ex("cE8yR"),rf=ex("3HkhM"),e_=ex("kHSTm"),ek=ex("iTd5p"),eP=ex("ePVkf"),rc=ex("6YMCv"),eR=ex("iHvSU"),eT=ex("kNkND");let rp=["ownerState"],rh=["variants"],rm=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function rg(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}
37function rv(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}let ry=(0,eR.default)();function rb({defaultTheme:e,theme:t,themeId:r}){return 0===Object.keys(t).length?e:t[r]||t}function rx(e,t,r){let{ownerState:n}=t,o=(0,ek.default)(t,rp),i="function"==typeof e?e((0,e_.default)({ownerState:n},o)):e;if(Array.isArray(i))return i.flatMap(e=>rx(e,(0,e_.default)({ownerState:n},o),r));if(i&&"object"==typeof i&&Array.isArray(i.variants)){let{variants:e=[]}=i,t=(0,ek.default)(i,rh);return e.forEach(e=>{let i=!0;if("function"==typeof e.props?i=e.props((0,e_.default)({ownerState:n},o,n)):Object.keys(e.props).forEach(t=>{(null==n?void 0:n[t])!==e.props[t]&&o[t]!==e.props[t]&&(i=!1)}),i){Array.isArray(t)||(t=[t]);let i="function"==typeof e.style?e.style((0,e_.default)({ownerState:n},o,n)):e.style;t.push(r?rv((0,eP.internal_serializeStyles)(i),r):i)}}),t}return r?rv((0,eP.internal_serializeStyles)(i),r):i}let rS=function(e={}){let{themeId:t,defaultTheme:r=ry,rootShouldForwardProp:n=rg,slotShouldForwardProp:o=rg}=e,i=e=>(0,eT.default)((0,e_.default)({},e,{theme:rb((0,e_.default)({},e,{defaultTheme:r,themeId:t}))}));return i.__mui_systemSx=!0,(e,a={})=>{var s;let l;(0,eP.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));let{name:u,slot:c,skipVariantsResolver:d,skipSx:f,overridesResolver:p=!(s=!c?c:c.charAt(0).toLowerCase()+c.slice(1))?null:(e,t)=>t[s]}=a,h=(0,ek.default)(a,rm),m=u&&u.startsWith("Mui")||c?"components":"custom",g=void 0!==d?d:c&&"Root"!==c&&"root"!==c||!1,v=f||!1,y=rg;"Root"===c||"root"===c?y=n:c?y=o:"string"==typeof e&&e.charCodeAt(0)>96&&(y=void 0);let b=(0,eP.default)(e,(0,e_.default)({shouldForwardProp:y,label:l},h)),x=e=>"function"==typeof e&&e.__emotion_real!==e||(0,rc.isPlainObject)(e)?n=>{let o=rb({theme:n.theme,defaultTheme:r,themeId:t});return rx(e,(0,e_.default)({},n,{theme:o}),o.modularCssLayers?m:void 0)}:e,S=(n,...o)=>{let a=x(n),s=o?o.map(x):[];u&&p&&s.push(e=>{let n=rb((0,e_.default)({},e,{defaultTheme:r,themeId:t}));if(!n.components||!n.components[u]||!n.components[u].styleOverrides)return null;let o=n.components[u].styleOverrides,i={};return Object.entries(o).forEach(([t,r])=>{i[t]=rx(r,(0,e_.default)({},e,{theme:n}),n.modularCssLayers?"theme":void 0)}),p(e,i)}),u&&!g&&s.push(e=>{var n;let o=rb((0,e_.default)({},e,{defaultTheme:r,themeId:t}));return rx({variants:null==o||null==(n=o.components)||null==(n=n[u])?void 0:n.variants},(0,e_.default)({},e,{theme:o}),o.modularCssLayers?"theme":void 0)}),v||s.push(i);let l=s.length-o.length;if(Array.isArray(n)&&l>0){let e=Array(l).fill("");(a=[...n,...e]).raw=[...n.raw,...e]}let c=b(a,...s);return e.muiName&&(c.muiName=e.muiName),c};return b.withConfig&&(S.withConfig=b.withConfig),S}}();var eE=ex("dTcCh"),eR=ex("iHvSU"),rw=ex("5UvP9"),r_=ex("g9Md7"),ej=ex("9BXUG");let rk=["component","direction","spacing","divider","children","className","useFlexGap"],rC=(0,eR.default)(),rM=rS("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function rP(e){return function({props:e,name:t,defaultTheme:r,themeId:n}){let o=eI(r);return n&&(o=o[n]||o),rr({theme:o,name:t,props:e})}({props:e,name:"MuiStack",defaultTheme:rC})}let rT=({ownerState:e,theme:t})=>{let r=(0,e_.default)({display:"flex",flexDirection:"column"},(0,rw.handleBreakpoints)({theme:t},(0,rw.resolveBreakpointValues)({values:e.direction,breakpoints:t.breakpoints.values}),e=>({flexDirection:e})));if(e.spacing){let n=(0,r_.createUnarySpacing)(t),o=Object.keys(t.breakpoints.values).reduce((t,r)=>(("object"==typeof e.spacing&&null!=e.spacing[r]||"object"==typeof e.direction&&null!=e.direction[r])&&(t[r]=!0),t),{}),i=(0,rw.resolveBreakpointValues)({values:e.direction,base:o}),a=(0,rw.resolveBreakpointValues)({values:e.spacing,base:o});
37"object"==typeof i&&Object.keys(i).forEach((e,t,r)=>{if(!i[e]){let n=t>0?i[r[t-1]]:"column";i[e]=n}}),r=(0,rc.default)(r,(0,rw.handleBreakpoints)({theme:t},a,(t,r)=>e.useFlexGap?{gap:(0,r_.getValue)(n,t)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[r?i[r]:e.direction]}`]:(0,r_.getValue)(n,t)}}))}return(0,rw.mergeBreakpointsInOrder)(t.breakpoints,r)};var rE=ex("1LwP9"),rR=ex("bc4QB");let rL=function(e={}){let{createStyledComponent:t=rM,useThemeProps:r=rP,componentName:n="MuiStack"}=e,o=t(rT);return eC.forwardRef(function(e,t){let i,a=r(e),s=(0,eE.default)(a),{component:l="div",direction:u="column",spacing:c=0,divider:d,children:f,className:p,useFlexGap:h=!1}=s,m=(0,ek.default)(s,rk),g=(0,rf.default)({root:["root"]},e=>(0,rd.default)(n,e),{});return(0,ej.jsx)(o,(0,e_.default)({as:l,ownerState:{direction:u,spacing:c,useFlexGap:h},ref:t,className:(0,eM.default)(g.root,p)},m,{children:d?(i=eC.Children.toArray(f).filter(Boolean)).reduce((e,t,r)=>(e.push(t),r<i.length-1&&e.push(eC.cloneElement(d,{key:`separator-${r}`})),e),[]):f}))})}({createStyledComponent:(0,rE.default)("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>(0,rR.useDefaultProps)({props:e,name:"MuiStack"})});var ek=ex("iTd5p"),e_=ex("kHSTm");ex("f7SMx");var eC=ex("8G7zL"),eM=ex("lvLU0"),eE=ex("dTcCh"),rf=ex("3HkhM"),rE=ex("1LwP9"),rR=ex("bc4QB"),rA=ex("26kha"),eD=ex("1brws"),rd=ex("cE8yR");function rN(e){return(0,rd.default)("MuiTypography",e)}(0,eD.default)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);var ej=ex("9BXUG");let r$=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],rI=(0,rE.default)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],"inherit"!==r.align&&t[`align${(0,rA.default)(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>(0,e_.default)({margin:0},"inherit"===t.variant&&{font:"inherit"},"inherit"!==t.variant&&e.typography[t.variant],"inherit"!==t.align&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),rj={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},rO={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},rB=eC.forwardRef(function(e,t){let r,n=(0,rR.useDefaultProps)({props:e,name:"MuiTypography"}),o=rO[r=n.color]||r,i=(0,eE.default)((0,e_.default)({},n,{color:o})),{align:a="inherit",className:s,component:l,gutterBottom:u=!1,noWrap:c=!1,paragraph:d=!1,variant:f="body1",variantMapping:p=rj}=i,h=(0,ek.default)(i,r$),m=(0,e_.default)({},i,{align:a,color:o,className:s,component:l,gutterBottom:u,noWrap:c,paragraph:d,variant:f,variantMapping:p}),g=l||(d?"p":p[f]||rj[f])||"span",v=(e=>{let{align:t,gutterBottom:r,noWrap:n,paragraph:o,variant:i,classes:a}=e,s={root:["root",i,"inherit"!==e.align&&`align${(0,rA.default)(t)}`,r&&"gutterBottom",n&&"noWrap",o&&"paragraph"]};return(0,rf.default)(s,rN,a)})(m);return(0,ej.jsx)(rI,(0,e_.default)({as:g,ref:t,ownerState:m,className:(0,eM.default)(v.root,s)},h))});var eL=ex("4RLZr"),ek=ex("iTd5p"),e_=ex("kHSTm");ex("f7SMx");var eC=ex("8G7zL"),eL=ex("4RLZr"),rA=ex("26kha"),rf=ex("3HkhM"),rE=ex("1LwP9"),rR=ex("bc4QB"),ek=ex("iTd5p"),e_=ex("kHSTm");ex("f7SMx");var eC=ex("8G7zL"),eL=ex("4RLZr"),eM=ex("lvLU0"),rt=ex("kTq4i"),rf=ex("3HkhM"),rz=ex("1lgv4"),rE=ex("1LwP9"),rU=ex("h9bB9"),rR=ex("bc4QB"),e_=ex("kHSTm"),ek=ex("iTd5p");ex("f7SMx");var eC=ex("8G7zL"),eL=ex("4RLZr"),eM=ex("lvLU0"),rf=ex("3HkhM"),rE=ex("1LwP9"),rR=ex("bc4QB");ex("f7SMx");var eL=ex("4RLZr");function rD(...e){return eL.useMemo(()=>e.every(e=>null==e)?null:t=>
37{e.forEach(e=>{"function"==typeof e?e(t):e&&(e.current=t)})},e)}ex("f7SMx");var eL=ex("4RLZr"),rF=function(e){let t=eL.useRef(e);return eQ(()=>{t.current=e}),eL.useRef((...e)=>(0,t.current)(...e)).current};ex("f7SMx");var eL=ex("4RLZr");ex("f7SMx");var eL=ex("4RLZr");let rV={};ex("f7SMx");var eL=ex("4RLZr");let rW=[];class rH{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new rH}start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}}let rG=!0,rX=!1,rq=new rH,rK={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function rZ(e){e.metaKey||e.altKey||e.ctrlKey||(rG=!0)}function rY(){rG=!1}function rJ(){"hidden"===this.visibilityState&&rX&&(rG=!0)}var rQ=function(){let e=eL.useCallback(e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",rZ,!0),t.addEventListener("mousedown",rY,!0),t.addEventListener("pointerdown",rY,!0),t.addEventListener("touchstart",rY,!0),t.addEventListener("visibilitychange",rJ,!0))},[]),t=eL.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!function(e){let{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return rG||function(e){let{type:t,tagName:r}=e;return"INPUT"===r&&!!rK[t]&&!e.readOnly||"TEXTAREA"===r&&!e.readOnly||!!e.isContentEditable}(t)}(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(rX=!0,rq.start(100,()=>{rX=!1}),t.current=!1,!0)},ref:e}},e_=ex("kHSTm"),ek=ex("iTd5p");ex("f7SMx");var eC=ex("8G7zL"),eL=ex("4RLZr"),ek=ex("iTd5p"),e_=ex("kHSTm");function r0(e,t){return(r0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var e0=(ex("f7SMx"),ex("f7SMx")),r1=e0.default.createContext(null);ex("f7SMx");var eC=ex("8G7zL");function r2(e,t){var r=Object.create(null);return e&&eC.Children.map(e,function(e){return e}).forEach(function(e){r[e.key]=t&&(0,eC.isValidElement)(e)?t(e):e}),r}function r5(e,t,r){return null!=r[t]?r[t]:e.props[t]}var r4=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},r7=function(e){function t(t,r){var n=e.call(this,t,r)||this,o=n.handleExited.bind(function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n));return n.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},n}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,r0(t,e);var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var r,n,o=t.children,i=t.handleExited;
37return{children:t.firstRender?r2(e.children,function(t){return(0,eC.cloneElement)(t,{onExited:i.bind(null,t),in:!0,appear:r5(t,"appear",e),enter:r5(t,"enter",e),exit:r5(t,"exit",e)})}):(Object.keys(n=function(e,t){function r(r){return r in t?t[r]:e[r]}e=e||{},t=t||{};var n,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var l in t){if(o[l])for(n=0;n<o[l].length;n++){var u=o[l][n];s[o[l][n]]=r(u)}s[l]=r(l)}for(n=0;n<i.length;n++)s[i[n]]=r(i[n]);return s}(o,r=r2(e.children))).forEach(function(t){var a=n[t];if((0,eC.isValidElement)(a)){var s=t in o,l=t in r,u=o[t],c=(0,eC.isValidElement)(u)&&!u.props.in;l&&(!s||c)?n[t]=(0,eC.cloneElement)(a,{onExited:i.bind(null,a),in:!0,exit:r5(a,"exit",e),enter:r5(a,"enter",e)}):l||!s||c?l&&s&&(0,eC.isValidElement)(u)&&(n[t]=(0,eC.cloneElement)(a,{onExited:i.bind(null,a),in:u.props.in,exit:r5(a,"exit",e),enter:r5(a,"enter",e)})):n[t]=(0,eC.cloneElement)(a,{in:!1})}}),n),firstRender:!1}},r.handleExited=function(e,t){var r=r2(this.props.children);e.key in r||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var r=(0,e_.default)({},t.children);return delete r[e.key],{children:r}}))},r.render=function(){var e=this.props,t=e.component,r=e.childFactory,n=(0,ek.default)(e,["component","childFactory"]),o=this.state.contextValue,i=r4(this.state.children).map(r);return(delete n.appear,delete n.enter,delete n.exit,null===t)?e0.default.createElement(r1.Provider,{value:o},i):e0.default.createElement(r1.Provider,{value:o},e0.default.createElement(t,n,i))},t}(e0.default.Component);r7.propTypes={},r7.defaultProps={component:"div",childFactory:function(e){return e}};var eM=ex("lvLU0"),r3=ex("5S20d"),rE=ex("1LwP9"),rR=ex("bc4QB");ex("f7SMx");var eL=ex("4RLZr"),eM=ex("lvLU0"),ej=ex("9BXUG"),eD=ex("1brws"),rd=ex("cE8yR");let r9=(0,eD.default)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]);var ej=ex("9BXUG");let r6=["center","classes","className"],r8=e=>e,ne,nt,nr,nn,no=(0,r3.keyframes)(ne||(ne=r8`
38  0% {
39    transform: scale(0);
40    opacity: 0.1;
41  }
42
43  100% {
44    transform: scale(1);
45    opacity: 0.3;
46  }
47`)),ni=(0,r3.keyframes)(nt||(nt=r8`
48  0% {
49    opacity: 1;
50  }
51
52  100% {
53    opacity: 0;
54  }
55`)),na=(0,r3.keyframes)(nr||(nr=r8`
56  0% {
57    transform: scale(1);
58  }
59
60  50% {
61    transform: scale(0.92);
62  }
63
64  100% {
65    transform: scale(1);
66  }
67`)),ns=(0,rE.default)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),nl=(0,rE.default)(function(e){let{className:t,classes:r,pulsate:n=!1,rippleX:o,rippleY:i,rippleSize:a,in:s,onExited:l,timeout:u}=e,[c,d]=eL.useState(!1),f=(0,eM.default)(t,r.ripple,r.rippleVisible,n&&r.ripplePulsate),p=(0,eM.default)(r.child,c&&r.childLeaving,n&&r.childPulsate);return s||c||d(!0),eL.useEffect(()=>{if(!s&&null!=l){let e=setTimeout(l,u);return()=>{clearTimeout(e)}}},[l,s,u]),(0,ej.jsx)("span",{className:f,style:{width:a,height:a,top:-(a/2)+i,left:-(a/2)+o},children:(0,ej.jsx)("span",{className:p})})},{name:"MuiTouchRipple",slot:"Ripple"})(nn||(nn=r8`
68  opacity: 0;
69  position: absolute;
70
71  &.${0} {
72    opacity: 0.3;
73    transform: scale(1);
74    animation-name: ${0};
75    animation-duration: ${0}ms;
76    animation-timing-function: ${0};
77  }
78
79  &.${0} {
80    animation-duration: ${0}ms;
81  }
82
83  & .${0} {
84    opacity: 1;
85    display: block;
86    width: 100%;
87    height: 100%;
88    border-radius: 50%;
89    background-color: currentColor;
90  }
91
92  & .${0} {
93    opacity: 0;
94    animation-name: ${0};
95    animation-duration: ${0}ms;
96    animation-timing-function: ${0};
97  }
98
99  & .${0} {
100    position: absolute;
101    /* @noflip */
102    left: 0px;
103    top: 0;
104    animation-name: ${0};
105    animation-duration: 2500ms;
106    animation-timing-function: ${0};
107    animation-iteration-count: infinite;
108    animation-delay: 200ms;
109  }
110`),r9.rippleVisible,no,550,({theme:e})=>e.transitions.easing.easeInOut,r9.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,r9.child,r9.childLeaving,ni,550,({theme:e})=>
110e.transitions.easing.easeInOut,r9.childPulsate,na,({theme:e})=>e.transitions.easing.easeInOut),nu=eC.forwardRef(function(e,t){var r,n;let o,i,a=(0,rR.useDefaultProps)({props:e,name:"MuiTouchRipple"}),{center:s=!1,classes:l={},className:u}=a,c=(0,ek.default)(a,r6),[d,f]=eL.useState([]),p=eL.useRef(0),h=eL.useRef(null);eL.useEffect(()=>{h.current&&(h.current(),h.current=null)},[d]);let m=eL.useRef(!1),g=(n=(i=(r=rH.create,(o=eL.useRef(rV)).current===rV&&(o.current=r(void 0)),o).current).disposeEffect,eL.useEffect(n,rW),i),v=eL.useRef(null),y=eL.useRef(null),b=eL.useCallback(e=>{let{pulsate:t,rippleX:r,rippleY:n,rippleSize:o,cb:i}=e;f(e=>[...e,(0,ej.jsx)(nl,{classes:{ripple:(0,eM.default)(l.ripple,r9.ripple),rippleVisible:(0,eM.default)(l.rippleVisible,r9.rippleVisible),ripplePulsate:(0,eM.default)(l.ripplePulsate,r9.ripplePulsate),child:(0,eM.default)(l.child,r9.child),childLeaving:(0,eM.default)(l.childLeaving,r9.childLeaving),childPulsate:(0,eM.default)(l.childPulsate,r9.childPulsate)},timeout:550,pulsate:t,rippleX:r,rippleY:n,rippleSize:o},p.current)]),p.current+=1,h.current=i},[l]),x=eL.useCallback((e={},t={},r=()=>{})=>{let n,o,i,{pulsate:a=!1,center:l=s||t.pulsate,fakeElement:u=!1}=t;if((null==e?void 0:e.type)==="mousedown"&&m.current){m.current=!1;return}(null==e?void 0:e.type)==="touchstart"&&(m.current=!0);let c=u?null:y.current,d=c?c.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(!l&&void 0!==e&&(0!==e.clientX||0!==e.clientY)&&(e.clientX||e.touches)){let{clientX:t,clientY:r}=e.touches&&e.touches.length>0?e.touches[0]:e;n=Math.round(t-d.left),o=Math.round(r-d.top)}else n=Math.round(d.width/2),o=Math.round(d.height/2);l?(i=Math.sqrt((2*d.width**2+d.height**2)/3))%2==0&&(i+=1):i=Math.sqrt((2*Math.max(Math.abs((c?c.clientWidth:0)-n),n)+2)**2+(2*Math.max(Math.abs((c?c.clientHeight:0)-o),o)+2)**2),null!=e&&e.touches?null===v.current&&(v.current=()=>{b({pulsate:a,rippleX:n,rippleY:o,rippleSize:i,cb:r})},g.start(80,()=>{v.current&&(v.current(),v.current=null)})):b({pulsate:a,rippleX:n,rippleY:o,rippleSize:i,cb:r})},[s,b,g]),S=eL.useCallback(()=>{x({},{pulsate:!0})},[x]),w=eL.useCallback((e,t)=>{if(g.clear(),(null==e?void 0:e.type)==="touchend"&&v.current){v.current(),v.current=null,g.start(0,()=>{w(e,t)});return}v.current=null,f(e=>e.length>0?e.slice(1):e),h.current=t},[g]);return eL.useImperativeHandle(t,()=>({pulsate:S,start:x,stop:w}),[S,x,w]),(0,ej.jsx)(ns,(0,e_.default)({className:(0,eM.default)(r9.root,l.root,u),ref:y},c,{children:(0,ej.jsx)(r7,{component:null,exit:!0,children:d})}))});var eD=ex("1brws"),rd=ex("cE8yR");function nc(e){return(0,rd.default)("MuiButtonBase",e)}let nd=(0,eD.default)("MuiButtonBase",["root","disabled","focusVisible"]);var ej=ex("9BXUG");let nf=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],np=(0,rE.default)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${nd.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),nh=eC.forwardRef(function(e,t){let r=(0,rR.useDefaultProps)({props:e,name:"MuiButtonBase"}),{action:n,centerRipple:o=!1,children:i,className:a,component:s="button",disabled:l=!1,disableRipple:u=!1,disableTouchRipple:c=!1,focusRipple:d=!1,LinkComponent:f="a",onBlur:p,onClick:h,onContextMenu:m,onDragLeave:g,onFocus:v,onFocusVisible:y,onKeyDown:b,onKeyUp:x,onMouseDown:S,onMouseLeave:w,onMouseUp:_,onTouchEnd:k,onTouchMove:C,onTouchStart:M,tabIndex:P=0,TouchRippleProps:T,touchRippleRef:E,type:R}=r,L=(0,ek.default)(r,nf),A=eL.useRef(null),N=eL.useRef(null),$=rD(N,E),{isFocusVisibleRef:I,onFocus:j,onBlur:O,ref:B}=rQ(),[z,U]=eL.useState(!1);l&&z&&U(!1),eL.useImperativeHandle(n,()=>({focusVisible:()=>{U(!0),A.current.focus()}}),[]);let[D,F]=eL.useState(!1);eL.useEffect(()=>{F(!0)},[]);let V=D&&!u&&!l;function W(e,t,r=c){return rF(n=>(t&&t(n),!r&&N.current&&N.current[e](n),!0))}eL.useEffect(()=>{z&&d&&!u&&D&&N.current.pulsate()},[u,d,z,D]);let H=W("start",S),G=W("stop",m),X=W("stop",g),q=W("stop",_),K=W("stop",e=>{z&&e.preventDefault(),w&&w(e)}),Z=W("start",M),Y=W("stop",k),J=W("stop",C),Q=W("stop",e=>{O(e),!1===I.current&&U(!1),p&&p(e)},!1),ee=rF(e=>{A.current||(A.current=e.currentTarget),j(e),!0===I.current&&(U(!0),y&&y(e)),v&&v(e)}
110),et=()=>{let e=A.current;return s&&"button"!==s&&!("A"===e.tagName&&e.href)},er=eL.useRef(!1),en=rF(e=>{d&&!er.current&&z&&N.current&&" "===e.key&&(er.current=!0,N.current.stop(e,()=>{N.current.start(e)})),e.target===e.currentTarget&&et()&&" "===e.key&&e.preventDefault(),b&&b(e),e.target===e.currentTarget&&et()&&"Enter"===e.key&&!l&&(e.preventDefault(),h&&h(e))}),eo=rF(e=>{d&&" "===e.key&&N.current&&z&&!e.defaultPrevented&&(er.current=!1,N.current.stop(e,()=>{N.current.pulsate(e)})),x&&x(e),h&&e.target===e.currentTarget&&et()&&" "===e.key&&!e.defaultPrevented&&h(e)}),ei=s;"button"===ei&&(L.href||L.to)&&(ei=f);let ea={};"button"===ei?(ea.type=void 0===R?"button":R,ea.disabled=l):(L.href||L.to||(ea.role="button"),l&&(ea["aria-disabled"]=l));let es=rD(t,B,A),el=(0,e_.default)({},r,{centerRipple:o,component:s,disabled:l,disableRipple:u,disableTouchRipple:c,focusRipple:d,tabIndex:P,focusVisible:z}),eu=(e=>{let{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,i=(0,rf.default)({root:["root",t&&"disabled",r&&"focusVisible"]},nc,o);return r&&n&&(i.root+=` ${n}`),i})(el);return(0,ej.jsxs)(np,(0,e_.default)({as:ei,className:(0,eM.default)(eu.root,a),ownerState:el,onBlur:Q,onClick:h,onContextMenu:G,onFocus:ee,onKeyDown:en,onKeyUp:eo,onMouseDown:H,onMouseLeave:K,onMouseUp:q,onDragLeave:X,onTouchEnd:Y,onTouchMove:J,onTouchStart:Z,ref:es,tabIndex:l?-1:P,type:R},ea,L,{children:[i,V?(0,ej.jsx)(nu,(0,e_.default)({ref:$,center:o},T)):null]}))});var rA=ex("26kha"),eD=ex("1brws"),rd=ex("cE8yR");function nm(e){return(0,rd.default)("MuiButton",e)}let ng=(0,eD.default)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);ex("f7SMx");var ew=ex("10mKg");let nv=ew.createContext({});ex("f7SMx");var ew=ex("10mKg");let ny=ew.createContext(void 0);var ej=ex("9BXUG");let nb=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],nx=e=>(0,e_.default)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),nS=(0,rE.default)(nh,{shouldForwardProp:e=>(0,rU.default)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${(0,rA.default)(r.color)}`],t[`size${(0,rA.default)(r.size)}`],t[`${r.variant}Size${(0,rA.default)(r.size)}`],"inherit"===r.color&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var r,n;let o="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],i="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return(0,e_.default)({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":(0,e_.default)({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,rz.alpha)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainCh
110annel} / ${e.vars.palette.action.hoverOpacity})`:(0,rz.alpha)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,rz.alpha)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":(0,e_.default)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${ng.focusVisible}`]:(0,e_.default)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${ng.disabled}`]:(0,e_.default)({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${(0,rz.alpha)(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(r=(n=e.palette).getContrastText)?void 0:r.call(n,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${ng.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${ng.disabled}`]:{boxShadow:"none"}}),nw=(0,rE.default)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.startIcon,t[`iconSize${(0,rA.default)(r.size)}`]]}})(({ownerState:e})=>(0,e_.default)({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},nx(e))),n_=(0,rE.default)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.endIcon,t[`iconSize${(0,rA.default)(r.size)}`]]}})(({ownerState:e})=>(0,e_.default)({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},nx(e))),nk=eC.forwardRef(function(e,t){let r=eL.useContext(nv),n=eL.useContext(ny),o=(0,rt.default)(r,e),i=(0,rR.useDefaultProps)({props:o,name:"MuiButton"}),{children:a,color:s="primary",component:l="button",className:u,disabled:c=!1,disableElevation:d=!1,disableFocusRipple:f=!1,endIcon:p,focusVisibleClassName:h,fullWidth:m=!1,size:g="medium",startIcon:v,type:y,variant:b="text"}=i,x=(0,ek.default)(i,nb),S=(0,e_.default)({},i,{color:s,component:l,disabled:c,disableElevation:d,disableFocusRipple:f,fullWidth:m,size:g,type:y,variant:b}),w=(e=>{let{color:t,disableElevation:r,fullWidth:n,size:o,variant:i,classes:a}=e,s={root:["root",i,`${i}${(0,rA.default)(t)}`,`size${(0,rA.default)(o)}`,`${i}Size${(0,rA.default)(o)}`,`color${(0,rA.default)(t)}`,r&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${(0,rA.default)(o)}`],endIcon:["icon","endIcon",`iconSize${(0,rA.default)(o)}`]},l=(0,rf.default)(s,nm,a);return(0,e_.default)({},a,l)})(S),_=v&&(0,ej.jsx)(nw,{className:w.startIcon,ownerState:S,children:v}),k=p&&(0,ej.jsx)(n_,{className:w.endIcon,ownerState:S,children:p});
110return(0,ej.jsxs)(nS,(0,e_.default)({ownerState:S,className:(0,eM.default)(r.className,w.root,u,n||""),component:l,disabled:c,focusRipple:!f,focusVisibleClassName:(0,eM.default)(w.focusVisible,h),ref:t,type:y},x,{classes:w,children:[_,a,k]}))});var ek=ex("iTd5p"),e_=ex("kHSTm");ex("f7SMx");var eC=ex("8G7zL"),eM=ex("lvLU0"),rf=ex("3HkhM"),r3=ex("5S20d"),rA=ex("26kha"),rR=ex("bc4QB"),rE=ex("1LwP9"),eD=ex("1brws"),rd=ex("cE8yR");function nC(e){return(0,rd.default)("MuiCircularProgress",e)}(0,eD.default)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);var ej=ex("9BXUG");let nM=["className","color","disableShrink","size","style","thickness","value","variant"],nP=e=>e,nT,nE,nR,nL,nA=(0,r3.keyframes)(nT||(nT=nP`
111  0% {
112    transform: rotate(0deg);
113  }
114
115  100% {
116    transform: rotate(360deg);
117  }
118`)),nN=(0,r3.keyframes)(nE||(nE=nP`
119  0% {
120    stroke-dasharray: 1px, 200px;
121    stroke-dashoffset: 0;
122  }
123
124  50% {
125    stroke-dasharray: 100px, 200px;
126    stroke-dashoffset: -15px;
127  }
128
129  100% {
130    stroke-dasharray: 100px, 200px;
131    stroke-dashoffset: -125px;
132  }
133`)),n$=(0,rE.default)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.variant],t[`color${(0,rA.default)(r.color)}`]]}})(({ownerState:e,theme:t})=>(0,e_.default)({display:"inline-block"},"determinate"===e.variant&&{transition:t.transitions.create("transform")},"inherit"!==e.color&&{color:(t.vars||t).palette[e.color].main}),({ownerState:e})=>"indeterminate"===e.variant&&(0,r3.css)(nR||(nR=nP`
134      animation: ${0} 1.4s linear infinite;
135    `),nA)),nI=(0,rE.default)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),nj=(0,rE.default)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.circle,t[`circle${(0,rA.default)(r.variant)}`],r.disableShrink&&t.circleDisableShrink]}})(({ownerState:e,theme:t})=>(0,e_.default)({stroke:"currentColor"},"determinate"===e.variant&&{transition:t.transitions.create("stroke-dashoffset")},"indeterminate"===e.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0}),({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink&&(0,r3.css)(nL||(nL=nP`
136      animation: ${0} 1.4s ease-in-out infinite;
137    `),nN)),nO=eC.forwardRef(function(e,t){let r=(0,rR.useDefaultProps)({props:e,name:"MuiCircularProgress"}),{className:n,color:o="primary",disableShrink:i=!1,size:a=40,style:s,thickness:l=3.6,value:u=0,variant:c="indeterminate"}=r,d=(0,ek.default)(r,nM),f=(0,e_.default)({},r,{color:o,disableShrink:i,size:a,thickness:l,value:u,variant:c}),p=(e=>{let{classes:t,variant:r,color:n,disableShrink:o}=e,i={root:["root",r,`color${(0,rA.default)(n)}`],svg:["svg"],circle:["circle",`circle${(0,rA.default)(r)}`,o&&"circleDisableShrink"]};return(0,rf.default)(i,nC,t)})(f),h={},m={},g={};if("determinate"===c){let e=2*Math.PI*((44-l)/2);h.strokeDasharray=e.toFixed(3),g["aria-valuenow"]=Math.round(u),h.strokeDashoffset=`${((100-u)/100*e).toFixed(3)}px`,m.transform="rotate(-90deg)"}return(0,ej.jsx)(n$,(0,e_.default)({className:(0,eM.default)(p.root,n),style:(0,e_.default)({width:a,height:a},m,s),ownerState:f,ref:t,role:"progressbar"},g,d,{children:(0,ej.jsx)(nI,{className:p.svg,ownerState:f,viewBox:"22 22 44 44",children:(0,ej.jsx)(nj,{className:p.circle,style:h,ownerState:f,cx:44,cy:44,r:(44-l)/2,fill:"none",strokeWidth:l})})}))});var rt=ex("kTq4i"),rd=ex("cE8yR"),eD=ex("1brws");function nB(e){return(0,rd.default)("MuiLoadingButton",e)}let nz=(0,eD.default)("MuiLoadingButton",["root","loading","loadingIndicator","loadingIndicatorCenter","loadingIndicatorStart","loadingIndicatorEnd","endIconLoadingEnd","startIconLoadingStart"]);var ej=ex("9BXUG");let nU=["children","disabled","id","loading","loadingIndicator","loadingPosition","variant"],nD=(0,rE.default)(nk,{shouldForwardProp:e=>"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e&&"classes"!==e||"classes"===e,name:"MuiLoadingButton",slot:"Root",overridesResolver:(e,t)=>[t.root,t.startIconLoadingStart&&{[`& .${nz.startIconLoadingStart}`]:t.startIconLoadingStart},t.endIconLoadingEnd&&{[`& .${nz.endIconLoadingEnd}`]:t.endIconLoadingEnd}]})(({ownerState:e,theme:t})=>(0,e_.default)({[`& .${nz.startIconLoadingStart}, & .${nz.endIconLoadingEnd}`]:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0}
137},"center"===e.loadingPosition&&{transition:t.transitions.create(["background-color","box-shadow","border-color"],{duration:t.transitions.duration.short}),[`&.${nz.loading}`]:{color:"transparent"}},"start"===e.loadingPosition&&e.fullWidth&&{[`& .${nz.startIconLoadingStart}, & .${nz.endIconLoadingEnd}`]:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0,marginRight:-8}},"end"===e.loadingPosition&&e.fullWidth&&{[`& .${nz.startIconLoadingStart}, & .${nz.endIconLoadingEnd}`]:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0,marginLeft:-8}})),nF=(0,rE.default)("span",{name:"MuiLoadingButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.loadingIndicator,t[`loadingIndicator${(0,rA.default)(r.loadingPosition)}`]]}})(({theme:e,ownerState:t})=>(0,e_.default)({position:"absolute",visibility:"visible",display:"flex"},"start"===t.loadingPosition&&("outlined"===t.variant||"contained"===t.variant)&&{left:"small"===t.size?10:14},"start"===t.loadingPosition&&"text"===t.variant&&{left:6},"center"===t.loadingPosition&&{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled},"end"===t.loadingPosition&&("outlined"===t.variant||"contained"===t.variant)&&{right:"small"===t.size?10:14},"end"===t.loadingPosition&&"text"===t.variant&&{right:6},"start"===t.loadingPosition&&t.fullWidth&&{position:"relative",left:-10},"end"===t.loadingPosition&&t.fullWidth&&{position:"relative",right:-10})),nV=eC.forwardRef(function(e,t){let r=eL.useContext(nv),n=(0,rt.default)(r,e),o=(0,rR.useDefaultProps)({props:n,name:"MuiLoadingButton"}),{children:i,disabled:a=!1,id:s,loading:l=!1,loadingIndicator:u,loadingPosition:c="center",variant:d="text"}=o,f=(0,ek.default)(o,nU),p=e5(s),h=null!=u?u:(0,ej.jsx)(nO,{"aria-labelledby":p,color:"inherit",size:16}),m=(0,e_.default)({},o,{disabled:a,loading:l,loadingIndicator:h,loadingPosition:c,variant:d}),g=(e=>{let{loading:t,loadingPosition:r,classes:n}=e,o={root:["root",t&&"loading"],startIcon:[t&&`startIconLoading${(0,rA.default)(r)}`],endIcon:[t&&`endIconLoading${(0,rA.default)(r)}`],loadingIndicator:["loadingIndicator",t&&`loadingIndicator${(0,rA.default)(r)}`]},i=(0,rf.default)(o,nB,n);return(0,e_.default)({},n,i)})(m),v=l?(0,ej.jsx)(nF,{className:g.loadingIndicator,ownerState:m,children:h}):null;return(0,ej.jsxs)(nD,(0,e_.default)({disabled:a||l,id:p,ref:t},f,{variant:d,classes:g,ownerState:m,children:["end"===m.loadingPosition?i:v,"end"===m.loadingPosition?v:i]}))});var ew=ex("10mKg");let nW=({children:e,iconColor:t,...r})=>{let n=ri();return(0,ew.h)(nV,{...r,loadingIndicator:(0,ew.h)(nO,{size:16,sx:{color:t??n.palette.primary.main}}),sx:{padding:"16px 32px",background:"#FFF",borderRadius:"0px",boxShadow:"0px 1px 2px 0px rgba(16, 24, 40, 0.05)",textWrap:"wrap",color:n.palette.primary.main,"&:disabled":{background:"#eee",borderColor:"#ccc"},"&:hover":{color:n.palette.primary.main},"&:before":{content:"''",position:"absolute",top:0,left:0,right:0,bottom:0,backgroundColor:"white",zIndex:-1},[n.breakpoints.down("md")]:{padding:"8px 16px"},...r.sx||{}}},e)};var eL=ex("4RLZr");let nH=()=>{let[e,t]=(0,eL.useState)(null),r=(0,eL.useMemo)(()=>null!==e&&!!e.exchangeId&&!!e.userId,[e]),n=(0,eL.useCallback)(()=>{t(null)},[t]),o=(0,eL.useCallback)(async(t,r)=>{if(e)try{if(!e.exchangeId||!e.userId)throw Error("Missing exchangeId or userId");let n={data:{exchange_id:e.exchangeId,output_id:"best_1",creator_id:e.userId,rank:t,message:r}};await fetch("https://api.pryon.net/api/conversation/v1alpha1/ratings",{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${e.accessToken}`},body:JSON.stringify(n)})}catch(e){console.error("Unable to submit feedback",e)}finally{n()}},[e]);return{feedback:e,showFeedback:r,setFeedback:t,submitFeedback:o,resetFeedback:n}};var ek=ex("iTd5p"),e_=ex("kHSTm");ex("f7SMx");var eC=ex("8G7zL"),eL=ex("4RLZr"),eM=ex("lvLU0"),rf=ex("3HkhM"),rA=ex("26kha"),rE=ex("1LwP9"),rR=ex("bc4QB"),eD=ex("1brws"),rd=ex("cE8yR");function nG(e){return(0,rd.default)("MuiLink",e)}let nX=(0,eD.default)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]);var nq=ex("1rgeP"),rz=ex("1lgv4");let nK={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"};var ej=ex("9BXUG");let nZ=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],nY=(0,rE.default)(rB,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[`underline${(0,rA.default)(r.underline)}`],"button"===r.component&&t.button]}})(({theme:e,ownerState:t})=>(0,e_.default)({},"none"===t.underline&&{textDecoration:"none"},"hover"===t.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===t.underline&&(0,e_.default)({textDecoration:"underline"},"inherit"!==t.color&&{textDecorationColor:(({theme:e,ownerState:t})=>{let r,n=nK[r=t.color]||r,o=(0,nq.getPath)(e,`palette.${n}
137`,!1)||t.color,i=(0,nq.getPath)(e,`palette.${n}Channel`);return"vars"in e&&i?`rgba(${i} / 0.4)`:(0,rz.alpha)(o,.4)})({theme:e,ownerState:t})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===t.component&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${nX.focusVisible}`]:{outline:"auto"}})),nJ=eC.forwardRef(function(e,t){let r=(0,rR.useDefaultProps)({props:e,name:"MuiLink"}),{className:n,color:o="primary",component:i="a",onBlur:a,onFocus:s,TypographyClasses:l,underline:u="always",variant:c="inherit",sx:d}=r,f=(0,ek.default)(r,nZ),{isFocusVisibleRef:p,onBlur:h,onFocus:m,ref:g}=rQ(),[v,y]=eL.useState(!1),b=rD(t,g),x=(0,e_.default)({},r,{color:o,component:i,focusVisible:v,underline:u,variant:c}),S=(e=>{let{classes:t,component:r,focusVisible:n,underline:o}=e,i={root:["root",`underline${(0,rA.default)(o)}`,"button"===r&&"button",n&&"focusVisible"]};return(0,rf.default)(i,nG,t)})(x);return(0,ej.jsx)(nY,(0,e_.default)({color:o,className:(0,eM.default)(S.root,n),classes:l,component:i,onBlur:e=>{h(e),!1===p.current&&y(!1),a&&a(e)},onFocus:e=>{m(e),!0===p.current&&y(!0),s&&s(e)},ref:b,ownerState:x,variant:c,sx:[...Object.keys(nK).includes(o)?[]:[{color:o}],...Array.isArray(d)?d:[d]]},f))});var eL=ex("4RLZr");let nQ={"Enable microphone":"Activar micrófono","Click the microphone to talk.":"Haz clic en el micrófono para hablar.","Microphone enabled":"Micrófono activado","You can speak to me, I'm listening.":"Puedes hablarme, te estoy escuchando.","Setting up your microphone":"Activando tu micrófono","Still talking?":"¿Sigues hablando?","Your mic is still on, click mic again when you are done.":"Tu micrófono sigue activado, haz clic en el micrófono nuevamente cuando termines de hablar.","Are you talking?":"¿Sigues hablando?","Your mic is off, click the mic to turn it on.":"Tu micrófono está apagado, haz clic en el micrófono para encenderlo.","Type a message...":"Escribe un mensaje...","Microphone permission was not allowed. Please allow access to your microphone via your browser settings, and try again.":"Para usar el micrófono, permite el acceso desde la configuración de tu navegador e inténtalo de nuevo. ","Looks like you declined permissions":"Parece que rechazaste los permisos.",Close:"Cerrar","Was this response helpful?":"¿Te fue útil esta respuesta?","Give feedback":"Dar opinión","Thank you for your feedback!":"¡Gracias por tu opinión!","Write your message here":"Escribe tu mensaje aquí.",Skip:"Saltar ",Submit:"Enviar",Like:"Me gusta","Try asking me":"Intenta preguntarme","Select from our suggestions or ask me anything":"Selecciona de nuestras sugerencias o hazme una pregunta","Chat with Emma":"Habla con Emma","Setting up...":"Preparando...","Press to talk":"Presiona para hablar","Start talking":"Empieza a hablar","Learn more about Emma":"Aprende más sobre Emma"};function n0(){let[e]=(0,tr.useAtom)(t4);return{translate:(0,eL.useCallback)(t=>e===t0.EN?t:nQ[t]||t,[e])}}let n1=()=>{let[e,t]=(0,eL.useState)(!1),{translate:r}=n0(),{isReady:n,isInSession:o,state:i,uneeqInit:a}=ru(),{resetFeedback:s}=nH(),{isTabletOrMobile:l}=ra(),u=ri(),c={position:"absolute",top:0,left:0,inset:0,width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"flex-end",paddingRight:{lg:"120px",xl:"160px"},boxSizing:"border-box",paddingTop:0,[u.breakpoints.down("md")]:{alignItems:"flex-end",paddingRight:0},paddingRight:{lg:"60px",xl:"120px"},"@media (min-width: 901px) and (max-width: 1600px)":{alignItems:"flex-end",justifyContent:"center",paddingRight:0},"@media (max-width: 900px)":{alignItems:"flex-end",justifyContent:"center"}},d={width:"100%",maxWidth:"480px",height:"auto",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",textAlign:"center",padding:4,zIndex:3,boxSizing:"border-box",transform:{md:"translate(-100px, 30px)",lg:"translate(-40px, 45px)",xl:"translate(-70px, 45px)"},"@media (max-width: 1600px)":{maxWidth:"100%",transform:"none",marginBottom:0,padding:4,paddingBottom:4,width:"100%",height:"auto",justifyContent:"center",alignItems:"center",textAlign:"center",padding:4,color:u.palette.secondary.main,color:"#fff",background:"linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0))"},[u.breakpoints.down("md")]:{transform:"none",paddingBottom:4,width:"100%",height:"auto",justifyContent:"center",alignItems:"center",textAlign:"center",padding:4,color:u.palette.secondary.main,background:"linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0))"}},f={background:"transparent",borderColor:u.palette.secondary.main,color:u.palette.secondary.main,borderWidth:1,textTransform:"uppercase",borderStyle:"solid","&:hover":{background:u.palette.secondary.light,color:u.palette.secondary.c
137ontrastText,borderColor:u.palette.secondary.main},"&:disabled":{background:"transparent"},"&:before":{},[u.breakpoints.down("md")]:{color:u.palette.secondary.main,borderColor:u.palette.secondary.main}};(0,eL.useEffect)(()=>{(o||"Paused"===i)&&t(!1)},[i,o,t]);let[p,h]=(0,tr.useAtom)(t4),m=(0,eL.useCallback)(()=>{"Initial"===i&&s(),h(t0.EN),t(!0),a(t1.chain_en,"en-US","contained",!0,!0)},[s]),g=(0,eL.useCallback)(()=>{t(!0),h(t0.ES),a(t1.chain_es,"es-MX","contained",!0,!0)},[]),v=(0,eL.useMemo)(()=>e,[n,e,o]);return(0,ew.h)(eW,{id:"uneeq-initial-container",sx:c},(0,ew.h)(eW,{id:"uneeq-initial-content",sx:d},(0,ew.h)(rL,{spacing:"32px"},(0,ew.h)(rL,{spacing:"16px"},(0,ew.h)(eW,null,(0,ew.h)(rB,{variant:"subtitle1",lineHeight:"100%",sx:{color:"#fff"}},"Meet Emma"),(0,ew.h)(rB,{variant:"h1",sx:{color:"#fff !important",fontFamily:"Merriweather sans, serif !important",fontSize:"45px !important",lineHeight:"130% !important",textTransform:"capitalize !important",fontWeight:"400 !important"}},"Your digital assistant")),(0,ew.h)(rB,{variant:"body1",fontWeight:400,sx:{color:"#fff"}},"Welcome to the City of Amarillo's official digital assistant. Ask me about the information and services designed to enhance the lives of our residents.")),(0,ew.h)(eW,null,(0,ew.h)(rL,{direction:"row",gap:2,sx:{justifyContent:"center",[u.breakpoints.down("md")]:{justifyContent:"center"}}},(0,ew.h)(nW,{onClick:()=>m(),loading:v,sx:f,iconColor:u.palette.secondary.main},"Chat with Emma"),(0,ew.h)(nW,{onClick:()=>g(),loading:v,sx:f,iconColor:u.palette.secondary.main},"Habla con Emma")),(0,ew.h)(eW,{sx:{padding:"8px 0 0",textAlign:"center",width:"100%"}},(0,ew.h)(rB,{variant:"body2",sx:{fontSize:"18px"}},(0,ew.h)(nJ,{href:t1.about_emma_url,target:"_blank",sx:{color:"#fff !important",fontSize:"18px !important"}},r("Learn more about Emma"))))))))};var ew=ex("10mKg"),eL=ex("4RLZr");let n2=({layoutMode:e})=>{let[t]=(0,tr.useAtom)(t9),[r,n]=(0,tr.useAtom)(t4),o=(0,eL.useCallback)(()=>{n(e=>e===t0.EN?t0.ES:t0.EN)},[n]),i=ri(),{isTabletOrMobile:a}=ra(),s=(0,eL.useMemo)(()=>{let t={width:"50%",position:"absolute",top:"50%",transform:"translateY(-50%)",right:0,zIndex:2,display:"flex",alignItems:"center",justifyContent:"center",textAlign:"left",[i.breakpoints.down("md")]:{height:"auto",width:"100%",top:"unset",bottom:"80px",right:"10px",justifyContent:"flex-end",transform:"none"}};return"overlay"===e&&(t={...t,width:"auto",height:"fit-content",position:"fixed",top:"auto",bottom:210,right:10,transform:"none"}),t},[e]);(0,eL.useMemo)(()=>{let t={textTransform:"none"};return"overlay"===e&&(t={...t,padding:"8px 16px"}),t},[e]);let{translate:l}=n0();return(0,ew.h)(ew.Fragment,null,"contained"===e?(0,ew.h)(nk,{sx:{position:"absolute",top:"10px",right:"10px",padding:0,fontWeight:400,textDecoration:"underline",zIndex:10,"&:hover":{background:"none"},[i.breakpoints.down("md")]:{top:-30}},variant:"none",className:"change-language-btn",onClick:o}):null,(0,ew.h)(eW,{sx:s},(0,ew.h)(eW,null,(0,ew.h)(rL,{spacing:2,sx:{[i.breakpoints.down("md")]:{textAlign:"right"}}},"contained"===e&&!a&&(0,ew.h)(eW,null,(0,ew.h)(rB,{variant:"h3",component:"h1",fontWeight:"bold"},l("")),(0,ew.h)(rB,{variant:"body1",lineHeight:"180%",fontWeight:300},l(""))),"contained"===e?(0,ew.h)(eW,null,(0,ew.h)(rB,{variant:"caption"},(0,ew.h)(nJ,{href:t1.about_emma_url,color:i.palette.primary.dark,target:"_blank"},l("")))):null))))};var ew=ex("10mKg"),ek=ex("iTd5p"),e_=ex("kHSTm");ex("f7SMx");var eC=ex("8G7zL"),eM=ex("lvLU0"),rf=ex("3HkhM"),rz=ex("1lgv4"),rE=ex("1LwP9"),rR=ex("bc4QB"),rA=ex("26kha"),eD=ex("1brws"),rd=ex("cE8yR");function n5(e){return(0,rd.default)("MuiIconButton",e)}let n4=(0,eD.default)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]);var ej=ex("9BXUG");let n7=["edge","children","className","color","disabled","disableFocusRipple","size"],n3=(0,rE.default)(nh,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,"default"!==r.color&&t[`color${(0,rA.default)(r.color)}`],r.edge&&t[`edge${(0,rA.default)(r.edge)}`],t[`size${(0,rA.default)(r.size)}`]]}})(({theme:e,ownerState:t})=>(0,e_.default)({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,rz.alpha)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12}),({theme:e,ownerState:t})=>{var r;let n=null==(r=(e.vars||e).palette)?void 0:r[t.color];return(0,e_.default)({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&(0,e_.default)({color:null==n?void 0:n.main},!t.disableRipple&&{"&:hover":(0,e_.default)({},n&&{backgroundColor:e.vars?`rgba(${n.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,rz.alpha)(n.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===t.size&&{padding:5,fontSize:e.typography.pxToRem(18)},"large"===t.size&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${n4.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),n9=eC.forwardRef(function(e,t){let r=(0,rR.useDefaultProps)({props:e,name:"MuiIconButton"}),{edge:n=!1,children:o,className:i,color:a="default",disabled:s=!1,disableFocusRipple:l=!1,size:u="medium"}=r,c=(0,ek.default)(r,n7),d=(0,e_.default)({},r,{edge:n,color:a,disabled:s,disableFocusRipple:l,size:u}),f=(e=>{let{classes:t,disabled:r,color:n,edge:o,size:i}=e,a={root:["root",r&&"disabled","default"!==n&&`color${(0,rA.default)(n)}`,o&&`edge${(0,rA.default)(o)}`,`size${(0,rA.default)(i)}`]};return(0,rf.default)(a,n5,t)})(d);return(0,ej.jsx)(n3,(0,e_.default)({className:(0,eM.default)(f.root,i),centerRipple:!0,focusRipple:!l,disabled:s,ref:t},c,{ownerState:d,children:o}))});var n6={},n8=ex("dThT7");Object.defineProperty(n6,"__esModule",{value:!0}),n6.default=void 0;var oe=n8(ex("joZ09")),ej=ex("9BXUG");n6.default=(0,oe.default)((0,ej.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),ex("f7SMx");var ew=ex("10mKg"),eC=ex("8G7zL"),eL=ex("4RLZr");ex("f7SMx");var ew=ex("10mKg");let ot=(0,ew.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});ex("f7SMx");var ew=ex("10mKg");let or=(0,ew.createContext)({});ex("f7SMx");var eL=ex("4RLZr"),eC=ex("8G7zL");ex("f7SMx");var ew=ex("10mKg");let on=(0,ew.createContext)(null);ex("f7SMx");var eL=ex("4RLZr");let oo="u">typeof document,oi=oo?eL.useLayoutEffect:eL.useEffect;ex("f7SMx");var ew=ex("10mKg");let oa=(0,ew.createContext)({strict:!1}),os=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),ol="data-"+os("framerAppearId");ex("f7SMx");var eL=ex("4RLZr");function ou(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}ex("f7SMx");var eL=ex("4RLZr");function oc(e){return"string"==typeof e||Array.isArray(e)}function od(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}let of=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],op=["initial",...of];function oh(e){return od(e.animate)||op.some(t=>oc(e[t]))}function om(e){return!!(oh(e)||e.variants)}function og(e){return Array.isArray(e)?e.join(" "):e}let ov={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},oy={};for(let e in ov)oy[e]={isEnabled:t=>ov[e].some(e=>!!t[e])};ex("f7SMx");var ew=ex("10mKg");let ob=(0,ew.createContext)({});ex("f7SMx");var ew=ex("10mKg");let ox=(0,ew.createContext)({}),oS=Symbol.for("motionComponentSymbol"),ow=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function o_(e){if("string"!=typeof e||e.includes("-"));else if(ow.indexOf(e)>-1||/[A-Z]/.test(e))return!0;return!1}ex("f7SMx");var ew=ex("10mKg"),eL=ex("4RLZr");ex("f7SMx");var eL=ex("4RLZr");let ok={},oC=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],oM=new Set(oC);function oP(e,{layout:t,layoutId:r}){return oM.has(e)||e.startsWith("origin")||(t||void 0!==r)&&(!!ok[e]||"opacity"===e)}let oT=e=>!!(e&&e.getVelocity),oE={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},oR=oC.length,oL=e=>t=>"string"==typeof t&&t.startsWith(e),oA=oL("--"),oN=oL("var(--"),o$=(e,t)=>
137t&&"number"==typeof e?t.transform(e):e,oI=(e,t,r)=>Math.min(Math.max(r,e),t),oj={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},oO={...oj,transform:e=>oI(0,1,e)},oB={...oj,default:1},oz=e=>Math.round(1e5*e)/1e5,oU=/(-)?([\d]*\.?[\d])+/g,oD=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,oF=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function oV(e){return"string"==typeof e}let oW=e=>({test:t=>oV(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),oH=oW("deg"),oG=oW("%"),oX=oW("px"),oq=oW("vh"),oK=oW("vw"),oZ={...oG,parse:e=>oG.parse(e)/100,transform:e=>oG.transform(100*e)},oY={...oj,transform:Math.round},oJ={borderWidth:oX,borderTopWidth:oX,borderRightWidth:oX,borderBottomWidth:oX,borderLeftWidth:oX,borderRadius:oX,radius:oX,borderTopLeftRadius:oX,borderTopRightRadius:oX,borderBottomRightRadius:oX,borderBottomLeftRadius:oX,width:oX,maxWidth:oX,height:oX,maxHeight:oX,size:oX,top:oX,right:oX,bottom:oX,left:oX,padding:oX,paddingTop:oX,paddingRight:oX,paddingBottom:oX,paddingLeft:oX,margin:oX,marginTop:oX,marginRight:oX,marginBottom:oX,marginLeft:oX,rotate:oH,rotateX:oH,rotateY:oH,rotateZ:oH,scale:oB,scaleX:oB,scaleY:oB,scaleZ:oB,skew:oH,skewX:oH,skewY:oH,distance:oX,translateX:oX,translateY:oX,translateZ:oX,x:oX,y:oX,z:oX,perspective:oX,transformPerspective:oX,opacity:oO,originX:oZ,originY:oZ,originZ:oX,zIndex:oY,fillOpacity:oO,strokeOpacity:oO,numOctaves:oY};function oQ(e,t,r,n){let{style:o,vars:i,transform:a,transformOrigin:s}=e,l=!1,u=!1,c=!0;for(let e in t){let r=t[e];if(oA(e)){i[e]=r;continue}let n=oJ[e],d=o$(r,n);if(oM.has(e)){if(l=!0,a[e]=d,!c)continue;r!==(n.default||0)&&(c=!1)}else e.startsWith("origin")?(u=!0,s[e]=d):o[e]=d}if(!t.transform&&(l||n?o.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:r=!0},n,o){let i="";for(let t=0;t<oR;t++){let r=oC[t];if(void 0!==e[r]){let t=oE[r]||r;i+=`${t}(${e[r]}) `}}return t&&!e.z&&(i+="translateZ(0)"),i=i.trim(),o?i=o(e,n?"":i):r&&n&&(i="none"),i}(e.transform,r,c,n):o.transform&&(o.transform="none")),u){let{originX:e="50%",originY:t="50%",originZ:r=0}=s;o.transformOrigin=`${e} ${t} ${r}`}}let o0=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function o1(e,t,r){for(let n in t)oT(t[n])||oP(n,r)||(e[n]=t[n])}let o2=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function o5(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||o2.has(e)}let o4=e=>!o5(e);try{(b=ex("ZNDL9").default)&&(o4=e=>e.startsWith("on")?!o5(e):b(e))}catch(e){}ex("f7SMx");var eL=ex("4RLZr");function o7(e,t,r){return"string"==typeof e?e:oX.transform(t+r*e)}let o3={offset:"stroke-dashoffset",array:"stroke-dasharray"},o9={offset:"strokeDashoffset",array:"strokeDasharray"};function o6(e,{attrX:t,attrY:r,attrScale:n,originX:o,originY:i,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...u},c,d,f){let p,h;if(oQ(e,u,c,f),d){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:m,style:g,dimensions:v}=e;m.transform&&(v&&(g.transform=m.transform),delete m.transform),v&&(void 0!==o||void 0!==i||g.transform)&&(p=o7(void 0!==o?o:.5,v.x,v.width),h=o7(void 0!==i?i:.5,v.y,v.height),g.transformOrigin=`${p} ${h}`),void 0!==t&&(m.x=t),void 0!==r&&(m.y=r),void 0!==n&&(m.scale=n),void 0!==a&&function(e,t,r=1,n=0,o=!0){e.pathLength=1;let i=o?o3:o9;e[i.offset]=oX.transform(-n);let a=oX.transform(t),s=oX.transform(r);e[i.array]=`${a} ${s}`}(m,a,s,l,!1)}let o8=()=>({...o0(),attrs:{}}),ie=e=>"string"==typeof e&&"svg"===e.toLowerCase();function it(e,{style:t,vars:r},n,o){for(let i in Object.assign(e.style,t,o&&o.getProjectionStyles(n)),r)e.style.setProperty(i,r[i])}let ir=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function io(e,t,r,n){for(let r in it(e,t,void 0,n),t.attrs)e.setAttribute(ir.has(r)?r:os(r),t.attrs[r])}function ii(e,t){let{style:r}=e,n={};for(let o in r)(oT(r[o])||t.style&&oT(t.style[o])||oP(o,e))&&(n[o]=r[o]);return n}function ia(e,t){let r=ii(e,t);for(let n in e)(oT(e[n])||oT(t[n]))&&(r[-1!==oC.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]);return r}ex("f7SMx");var eL=ex("4RLZr");function is(e,t,r,n={},o={}){return"function"==typeof t&&(t=t(void 0!==r?r:e.custom,n,o)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==r?r:e.custom,n,o)),t}ex("f7SMx");var eL=ex("4RLZr");function il(e){let t=(0,eL.useRef)(null);return null===t.current&&(t.current=e()),t.current}let iu=e=>Array.isArray(e),ic=e=>iu(e)?e[e.length-1]||0:e;function id(e){let t=oT(e)?e.get():e;return t&&"object"==typeof t&&t.mix&&t.toValue?t.toValue():t}let ip=e=>(t,r)=>{let n=(0,eL.useContext)(or),o=(0,eL.useContext)(on),i=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},n,o,i){let a={latestValues:function(e,t,r,n){let o={},i=n(e,{});for(let e in i)o[e]=id(i[e]);let{initial:a,animate:s}=e,l=oh(e),u=om(e);t&&u&&!l&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===s&&(s=t.animate));let c=!!r&&!1===r.initial,d=(c=c||!1===a)?s:a;return d&&"boolean"!=typeof d&&!od(d)&&(Array.isArray(d)?d:[d]).forEac
137h(t=>{let r=is(e,t);if(!r)return;let{transitionEnd:n,transition:i,...a}=r;for(let e in a){let t=a[e];if(Array.isArray(t)){let e=c?t.length-1:0;t=t[e]}null!==t&&(o[e]=t)}for(let e in n)o[e]=n[e]}),o}(n,o,i,e),renderState:t()};return r&&(a.mount=e=>r(n,e,a)),a})(e,t,n,o);return r?i():il(i)},ih=e=>e;class im{constructor(){this.order=[],this.scheduled=new Set}add(e){if(!this.scheduled.has(e))return this.scheduled.add(e),this.order.push(e),!0}remove(e){let t=this.order.indexOf(e);-1!==t&&(this.order.splice(t,1),this.scheduled.delete(e))}clear(){this.order.length=0,this.scheduled.clear()}}let ig=["prepare","read","update","preRender","render","postRender"],{schedule:iv,cancel:iy,state:ib,steps:ix}=(x="u">typeof requestAnimationFrame?requestAnimationFrame:ih,r=!1,n=!0,o={delta:0,timestamp:0,isProcessing:!1},i=ig.reduce((e,t)=>{var n;let o,i,a,s,l,u,c;return e[t]=(n=()=>r=!0,o=new im,i=new im,a=0,s=!1,l=!1,u=new WeakSet,c={schedule:(e,t=!1,r=!1)=>{let n=r&&s,l=n?o:i;return t&&u.add(e),l.add(e)&&n&&s&&(a=o.order.length),e},cancel:e=>{i.remove(e),u.delete(e)},process:e=>{if(s){l=!0;return}if(s=!0,[o,i]=[i,o],i.clear(),a=o.order.length)for(let t=0;t<a;t++){let r=o.order[t];r(e),u.has(r)&&(c.schedule(r),n())}s=!1,l&&(l=!1,c.process(e))}}),e},{}),a=e=>i[e].process(o),s=()=>{let e=performance.now();r=!1,o.delta=n?1e3/60:Math.max(Math.min(e-o.timestamp,40),1),o.timestamp=e,o.isProcessing=!0,ig.forEach(a),o.isProcessing=!1,r&&(n=!1,x(s))},{schedule:ig.reduce((e,t)=>{let a=i[t];return e[t]=(e,t=!1,i=!1)=>(!r&&(r=!0,n=!0,o.isProcessing||x(s)),a.schedule(e,t,i)),e},{}),cancel:e=>ig.forEach(t=>i[t].cancel(e)),state:o,steps:i}),iS={useVisualState:ip({scrapeMotionValuesFromProps:ia,createRenderState:o8,onMount:(e,t,{renderState:r,latestValues:n})=>{iv.read(()=>{try{r.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){r.dimensions={x:0,y:0,width:0,height:0}}}),iv.render(()=>{o6(r,n,{enableHardwareAcceleration:!1},ie(t.tagName),e.transformTemplate),io(t,r)})}})},iw={useVisualState:ip({scrapeMotionValuesFromProps:ii,createRenderState:o0})};function i_(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}let ik=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function iC(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}function iM(e,t,r,n){return i_(e,t,e=>ik(e)&&r(e,iC(e)),n)}let iP=(e,t)=>r=>t(e(r)),iT=(...e)=>e.reduce(iP);function iE(e){let t=null;return()=>null===t&&(t=e,()=>{t=null})}let iR=iE("dragHorizontal"),iL=iE("dragVertical");function iA(e){let t=!1;if("y"===e)t=iL();else if("x"===e)t=iR();else{let e=iR(),r=iL();e&&r?t=()=>{e(),r()}
137:(e&&e(),r&&r())}return t}function iN(){let e=iA(!0);return!e||(e(),!1)}class i${constructor(e){this.isMounted=!1,this.node=e}update(){}}function iI(e,t){let r="onHover"+(t?"Start":"End");return iM(e.current,"pointer"+(t?"enter":"leave"),(n,o)=>{if("touch"===n.pointerType||iN())return;let i=e.getProps();e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",t),i[r]&&iv.update(()=>i[r](n,o))},{passive:!e.getProps()[r]})}let ij=(e,t)=>!!t&&(e===t||ij(e,t.parentElement));function iO(e,t){if(!t)return;let r=new PointerEvent("pointer"+e);t(r,iC(r))}let iB=new WeakMap,iz=new WeakMap,iU=e=>{let t=iB.get(e.target);t&&t(e)},iD=e=>{e.forEach(iU)},iF={some:0,all:1};function iV(e,t){if(!Array.isArray(t))return!1;let r=t.length;if(r!==e.length)return!1;for(let n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}function iW(e,t,r){let n,o,i=e.getProps();return is(i,t,void 0!==r?r:i.custom,(n={},e.values.forEach((e,t)=>n[t]=e.get()),n),(o={},e.values.forEach((e,t)=>o[t]=e.getVelocity()),o))}let iH=e=>1e3*e,iG=e=>Array.isArray(e)&&"number"==typeof e[0],iX=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,iq={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:iX([0,.65,.55,1]),circOut:iX([.55,0,1,.45]),backIn:iX([.31,.01,.66,-.59]),backOut:iX([.33,1.53,.69,.99])},iK=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e;function iZ(e,t,r,n){return e===t&&r===n?ih:o=>0===o||1===o?o:iK(function(e,t,r,n,o){let i,a,s=0;do(i=iK(a=t+(r-t)/2,n,o)-e)>0?r=a:t=a;while(Math.abs(i)>1e-7&&++s<12)return a}(o,0,1,e,r),t,n)}let iY=iZ(.42,0,1,1),iJ=iZ(0,0,.58,1),iQ=iZ(.42,0,.58,1),i0=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,i1=e=>t=>1-e(1-t),i2=e=>1-Math.sin(Math.acos(e)),i5=i1(i2),i4=i0(i2),i7=iZ(.33,1.53,.69,.99),i3=i1(i7),i9=i0(i3),i6={linear:ih,easeIn:iY,easeInOut:iQ,easeOut:iJ,circIn:i2,circInOut:i4,circOut:i5,backIn:i3,backInOut:i9,backOut:i7,anticipate:e=>(e*=2)<1?.5*i3(e):.5*(2-Math.pow(2,-10*(e-1)))},i8=e=>{if(Array.isArray(e)){ih(4===e.length);let[t,r,n,o]=e;return iZ(t,r,n,o)}return"string"==typeof e?(ih(void 0!==i6[e],`Invalid easing type '${e}'`),i6[e]):e},ae=(e,t)=>r=>!!(oV(r)&&oF.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),at=(e,t,r)=>n=>{if(!oV(n))return n;let[o,i,a,s]=n.match(oU);return{[e]:parseFloat(o),[t]:parseFloat(i),[r]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},ar={...oj,transform:e=>Math.round(oI(0,255,e))},an={test:ae("rgb","red"),parse:at("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+ar.transform(e)+", "+ar.transform(t)+", "+ar.transform(r)+", "+oz(oO.transform(n))+")"},ao={test:ae("#"),parse:function(e){let t="",r="",n="",o="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),n=e.substring(3,4),o=e.substring(4,5),t+=t,r+=r,n+=n,o+=o),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:o?parseInt(o,16)/255:1}},transform:an.transform},ai={test:ae("hsl","hue"),parse:at("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+oG.transform(oz(t))+", "+oG.transform(oz(r))+", "+oz(oO.transform(n))+")"},aa={test:e=>an.test(e)||ao.test(e)||ai.test(e),parse:e=>an.test(e)?an.parse(e):ai.test(e)?ai.parse(e):ao.parse(e),transform:e=>oV(e)?e:e.hasOwnProperty("red")?an.transform(e):ai.transform(e)},as=(e,t,r)=>-r*e+r*t+e;function al(e,t,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?e+(t-e)*6*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}let au=(e,t,r)=>{let n=e*e;return Math.sqrt(Math.max(0,r*(t*t-n)+n))},ac=[ao,an,ai];function ad(e){let t=ac.find(t=>t.test(e));ih(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===ai&&(r=function({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,r/=100;let o=0,i=0,a=0;if(t/=100){let n=r<.5?r*(1+t):r+t-r*t,s=2*r-n;o=al(s,n,e+1/3),i=al(s,n,e),a=al(s,n,e-1/3)}else o=i=a=r;return{red:Math.round(255*o),green:Math.round(255*i),blue:Math.round(255*a),alpha:n}}(r)),r}let af=(e,t)=>{let r=ad(e),n=ad(t),o={...r};return e=>(o.red=au(r.red,n.red,e),o.green=au(r.green,n.green,e),o.blue=au(r.blue,n.blue,e),o.alpha=as(r.alpha,n.alpha,e),an.transform(o))}
137,ap={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:ih},ah={regex:oD,countKey:"Colors",token:"${c}",parse:aa.parse},am={regex:oU,countKey:"Numbers",token:"${n}",parse:oj.parse};function ag(e,{regex:t,countKey:r,token:n,parse:o}){let i=e.tokenised.match(t);i&&(e["num"+r]=i.length,e.tokenised=e.tokenised.replace(t,n),e.values.push(...i.map(o)))}function av(e){let t=e.toString(),r={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return r.value.includes("var(--")&&ag(r,ap),ag(r,ah),ag(r,am),r}function ay(e){return av(e).values}function ab(e){let{values:t,numColors:r,numVars:n,tokenised:o}=av(e),i=t.length;return e=>{let t=o;for(let o=0;o<i;o++)t=o<n?t.replace(ap.token,e[o]):o<n+r?t.replace(ah.token,aa.transform(e[o])):t.replace(am.token,oz(e[o]));return t}}let ax=e=>"number"==typeof e?0:e,aS={test:function(e){var t,r;return isNaN(e)&&oV(e)&&((null==(t=e.match(oU))?void 0:t.length)||0)+((null==(r=e.match(oD))?void 0:r.length)||0)>0},parse:ay,createTransformer:ab,getAnimatableNone:function(e){let t=ay(e);return ab(e)(t.map(ax))}},aw=(e,t)=>r=>`${r>0?t:e}`;function a_(e,t){return"number"==typeof e?r=>as(e,t,r):aa.test(e)?af(e,t):e.startsWith("var(")?aw(e,t):aM(e,t)}let ak=(e,t)=>{let r=[...e],n=r.length,o=e.map((e,r)=>a_(e,t[r]));return e=>{for(let t=0;t<n;t++)r[t]=o[t](e);return r}},aC=(e,t)=>{let r={...e,...t},n={};for(let o in r)void 0!==e[o]&&void 0!==t[o]&&(n[o]=a_(e[o],t[o]));return e=>{for(let t in n)r[t]=n[t](e);return r}},aM=(e,t)=>{let r=aS.createTransformer(t),n=av(e),o=av(t);return n.numVars===o.numVars&&n.numColors===o.numColors&&n.numNumbers>=o.numNumbers?iT(ak(n.values,o.values),r):(ih(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),aw(e,t))},aP=(e,t,r)=>{let n=t-e;return 0===n?1:(r-e)/n},aT=(e,t)=>r=>as(e,t,r);function aE(e,t,{clamp:r=!0,ease:n,mixer:o}={}){let i=e.length;if(ih(i===t.length),1===i)return()=>t[0];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());let a=function(e,t,r){let n=[],o=r||function(e){if("number"==typeof e);else if("string"==typeof e)return aa.test(e)?af:aM;else if(Array.isArray(e))return ak;else if("object"==typeof e)return aC;return aT}(e[0]),i=e.length-1;for(let r=0;r<i;r++){let i=o(e[r],e[r+1]);t&&(i=iT(Array.isArray(t)?t[r]||ih:t,i)),n.push(i)}return n}(t,n,o),s=a.length,l=t=>{let r=0;if(s>1)for(;r<e.length-2&&!(t<e[r+1]);r++);let n=aP(e[r],e[r+1],t);return a[r](n)};return r?t=>l(oI(e[0],e[i-1],t)):l}function aR({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){var o;let i,a=Array.isArray(n)&&"number"!=typeof n[0]?n.map(i8):i8(n),s={done:!1,value:t[0]},l=aE((o=r&&r.length===t.length?r:(!function(e,t){let r=e[e.length-1];for(let n=1;n<=t;n++){let o=aP(0,t,n);e.push(as(r,1,o))}}(i=[0],t.length-1),i),o.map(t=>t*e)),t,{ease:Array.isArray(a)?a:t.map(()=>a||iQ).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(s.value=l(t),s.done=t>=e,s)}}function aL(e,t,r){var n,o;let i=Math.max(t-5,0);return n=r-e(i),(o=t-i)?1e3/o*n:0}function aA(e,t){return e*Math.sqrt(1-t*t)}let aN=["duration","bounce"],a$=["stiffness","damping","mass"];function aI(e,t){return t.some(t=>void 0!==e[t])}function aj({keyframes:e,restDelta:t,restSpeed:r,...n}){let o,i=e[0],a=e[e.length-1],s={done:!1,value:i},{stiffness:l,damping:u,mass:c,duration:d,velocity:f,isResolvedFromDuration:p}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!aI(e,a$)&&aI(e,aN)){let r=function({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let o,i;ih(e<=iH(10));let a=1-t;a=oI(.05,1,a),e=oI(.01,10,e/1e3),a<1?(o=t=>{let n=t*a,o=n*e;return .001-(n-r)/aA(t,a)*Math.exp(-o)},i=t=>{let n=t*a*e,i=Math.pow(a,2)*Math.pow(t,2)*e,s=Math.exp(-n),l=aA(Math.pow(t,2),a);return(n*r+r-i)*s*(-o(t)+.001>0?-1:1)/l}):(o=t=>-.001+Math.exp(-t*e)*((t-r)*e+1),i=t=>e*e*(r-t)*Math.exp(-t*e));let s=function(e,t,r){let n=r;for(let r=1;r<12;r++)n-=e(n)/t(n);return n}(o,i,5/e);if(e=iH(e),isNaN(s))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(s,2)*n;
137return{stiffness:t,damping:2*a*Math.sqrt(n*t),duration:e}}}(e);(t={...t,...r,mass:1}).isResolvedFromDuration=!0}return t}({...n,velocity:-((n.velocity||0)/1e3)}),h=f||0,m=u/(2*Math.sqrt(l*c)),g=a-i,v=Math.sqrt(l/c)/1e3,y=5>Math.abs(g);if(r||(r=y?.01:2),t||(t=y?.005:.5),m<1){let e=aA(v,m);o=t=>a-Math.exp(-m*v*t)*((h+m*v*g)/e*Math.sin(e*t)+g*Math.cos(e*t))}else if(1===m)o=e=>a-Math.exp(-v*e)*(g+(h+v*g)*e);else{let e=v*Math.sqrt(m*m-1);o=t=>{let r=Math.exp(-m*v*t),n=Math.min(e*t,300);return a-r*((h+m*v*g)*Math.sinh(n)+e*g*Math.cosh(n))/e}}return{calculatedDuration:p&&d||null,next:e=>{let n=o(e);if(p)s.done=e>=d;else{let i=h;0!==e&&(i=m<1?aL(o,e,n):0);let l=Math.abs(a-n)<=t;s.done=Math.abs(i)<=r&&l}return s.value=s.done?a:n,s}}}function aO({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:a,min:s,max:l,restDelta:u=.5,restSpeed:c}){let d,f,p=e[0],h={done:!1,value:p},m=r*t,g=p+m,v=void 0===a?g:a(g);v!==g&&(m=v-p);let y=e=>-m*Math.exp(-e/n),b=e=>v+y(e),x=e=>{let t=y(e),r=b(e);h.done=Math.abs(t)<=u,h.value=h.done?v:r},S=e=>{let t;if(t=h.value,void 0!==s&&t<s||void 0!==l&&t>l){var r;d=e,f=aj({keyframes:[h.value,(r=h.value,void 0===s?l:void 0===l||Math.abs(s-r)<Math.abs(l-r)?s:l)],velocity:aL(b,e,h.value),damping:o,stiffness:i,restDelta:u,restSpeed:c})}};return S(0),{calculatedDuration:null,next:e=>{let t=!1;return(f||void 0!==d||(t=!0,x(e),S(e)),void 0!==d&&e>d)?f.next(e-d):(t||x(e),h)}}}let aB=e=>{let t=({timestamp:t})=>e(t);return{start:()=>iv.update(t,!0),stop:()=>iy(t),now:()=>ib.isProcessing?ib.timestamp:performance.now()}};function az(e){let t=0,r=e.next(t);for(;!r.done&&t<2e4;)t+=50,r=e.next(t);return t>=2e4?1/0:t}let aU={decay:aO,inertia:aO,tween:aR,keyframes:aR,spring:aj};function aD({autoplay:e=!0,delay:t=0,driver:r=aB,keyframes:n,type:o="keyframes",repeat:i=0,repeatDelay:a=0,repeatType:s="loop",onPlay:l,onStop:u,onComplete:c,onUpdate:d,...f}){let p,h,m,g,v,y=1,b=!1,x=()=>{h=new Promise(e=>{p=e})};x();let S=aU[o]||aR;S!==aR&&"number"!=typeof n[0]&&(g=aE([0,100],n,{clamp:!1}),n=[0,100]);let w=S({...f,keyframes:n});"mirror"===s&&(v=S({...f,keyframes:[...n].reverse(),velocity:-(f.velocity||0)}));let _="idle",k=null,C=null,M=null;null===w.calculatedDuration&&i&&(w.calculatedDuration=az(w));let{calculatedDuration:P}=w,T=1/0,E=1/0;null!==P&&(E=(T=P+a)*(i+1)-a);let R=0,L=e=>{if(null===C)return;y>0&&(C=Math.min(C,e)),y<0&&(C=Math.min(e-E/y,C));let r=(R=null!==k?k:Math.round(e-C)*y)-t*(y>=0?1:-1),o=y>=0?r<0:r>E;R=Math.max(r,0),"finished"===_&&null===k&&(R=E);let l=R,u=w;if(i){let e=Math.min(R,E)/T,t=Math.floor(e),r=e%1;!r&&e>=1&&(r=1),1===r&&t--,(t=Math.min(t,i+1))%2&&("reverse"===s?(r=1-r,a&&(r-=a/T)):"mirror"===s&&(u=v)),l=oI(0,1,r)*T}let c=o?{done:!1,value:n[0]}:u.next(l);g&&(c.value=g(c.value));let{done:f}=c;o||null===P||(f=y>=0?R>=E:R<=0);let p=null===k&&("finished"===_||"running"===_&&f);return d&&d(c.value),p&&$(),c},A=()=>{m&&m.stop(),m=void 0},N=()=>{_="idle",A(),p(),x(),C=M=null},$=()=>{_="finished",c&&c(),A(),p()},I=()=>{if(b)return;m||(m=r(L));let e=m.now();l&&l(),null!==k?C=e-k:C&&"finished"!==_||(C=e),"finished"===_&&x(),M=C,k=null,_="running",m.start()};e&&I();let j={then:(e,t)=>h.then(e,t),get time(){return R/1e3},set time(newTime){R=newTime=iH(newTime),null===k&&m&&0!==y?C=m.now()-newTime/y:k=newTime},get duration(){return(null===w.calculatedDuration?az(w):w.calculatedDuration)/1e3},get speed(){return y},set speed(newSpeed){if(newSpeed===y||!m)return;y=newSpeed,j.time=R/1e3},get state(){return _},play:I,pause:()=>{_="paused",k=R},stop:()=>{b=!0,"idle"!==_&&(_="idle",u&&u(),N())},cancel:()=>{null!==M&&L(M),N()},complete:()=>{_="finished"},sample:e=>(C=0,L(e))};return j}let aF=(S=()=>Object.hasOwnProperty.call(Element.prototype,"animate"),()=>(void 0===l&&(l=S()),l)),aV=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),aW={type:"spring",stiffness:500,damping:25,restSpeed:10},aH={type:"keyframes",duration:.8},aG={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},aX=(e,t)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(aS.test(t)||"0"===t)&&!t.startsWith("url(")),aq=new Set(["brightness","contrast","saturate","opacity"]);function aK(e){let[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[n]=r.match(oU)||[];
137if(!n)return e;let o=r.replace(n,""),i=+!!aq.has(t);return n!==r&&(i*=100),t+"("+i+o+")"}let aZ=/([a-z-]*)\(.*?\)/g,aY={...aS,getAnimatableNone:e=>{let t=e.match(aZ);return t?t.map(aK).join(" "):e}},aJ={...oJ,color:aa,backgroundColor:aa,outlineColor:aa,fill:aa,stroke:aa,borderColor:aa,borderTopColor:aa,borderRightColor:aa,borderBottomColor:aa,borderLeftColor:aa,filter:aY,WebkitFilter:aY},aQ=e=>aJ[e];function a0(e,t){let r=aQ(e);return r!==aY&&(r=aS),r.getAnimatableNone?r.getAnimatableNone(t):void 0}let a1=e=>/^0[^.\s]+$/.test(e);function a2(e,t){return e[t]||e.default||e}let a5=(e,t,r,n={})=>o=>{let i=a2(n,e)||{},a=i.delay||n.delay||0,{elapsed:s=0}=n;s-=iH(a);let l=function(e,t,r,n){let o,i,a=aX(t,r);o=Array.isArray(r)?[...r]:[null,r];let s=void 0!==n.from?n.from:e.get(),l=[];for(let e=0;e<o.length;e++){var u;null===o[e]&&(o[e]=0===e?s:o[e-1]),("number"==typeof(u=o[e])?0===u:null!==u?"none"===u||"0"===u||a1(u):void 0)&&l.push(e),"string"==typeof o[e]&&"none"!==o[e]&&"0"!==o[e]&&(i=o[e])}if(a&&l.length&&i)for(let e=0;e<l.length;e++)o[l[e]]=a0(t,i);return o}(t,e,r,i),u=l[0],c=l[l.length-1],d=aX(e,u),f=aX(e,c);ih(d===f,`You are trying to animate ${e} from "${u}" to "${c}". ${u} is not an animatable value - to enable this animation set ${u} to a value animatable to ${c} via the \`style\` property.`);let p={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...i,delay:-s,onUpdate:e=>{t.set(e),i.onUpdate&&i.onUpdate(e)},onComplete:()=>{o(),i.onComplete&&i.onComplete()}};if(!function({when:e,delay:t,delayChildren:r,staggerChildren:n,staggerDirection:o,repeat:i,repeatType:a,repeatDelay:s,from:l,elapsed:u,...c}){return!!Object.keys(c).length}(i)&&(p={...p,...((e,{keyframes:t})=>t.length>2?aH:oM.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:aW:aG)(e,p)}),p.duration&&(p.duration=iH(p.duration)),p.repeatDelay&&(p.repeatDelay=iH(p.repeatDelay)),!d||!f||!1===i.type)return function({keyframes:e,delay:t,onUpdate:r,onComplete:n}){let o=()=>(r&&r(e[e.length-1]),n&&n(),{time:0,speed:1,duration:0,play:ih,pause:ih,stop:ih,then:e=>(e(),Promise.resolve()),cancel:ih,complete:ih});return t?aD({keyframes:[0,1],duration:0,delay:t,onComplete:o}):o()}(p);if(!n.isHandoff&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){let r=function(e,t,{onUpdate:r,onComplete:n,...o}){let i,a;if(!(aF()&&aV.has(t)&&!o.repeatDelay&&"mirror"!==o.repeatType&&0!==o.damping&&"inertia"!==o.type))return!1;let s=!1,l=!1,u=()=>{a=new Promise(e=>{i=e})};u();let{keyframes:c,duration:d=300,ease:f,times:p}=o;if("spring"===o.type||"backgroundColor"===t||!function e(t){return!!(!t||"string"==typeof t&&iq[t]||iG(t)||Array.isArray(t)&&t.every(e))}(o.ease)){let e=aD({...o,repeat:0,delay:0}),t={done:!1,value:c[0]},r=[],n=0;for(;!t.done&&n<2e4;)t=e.sample(n),r.push(t.value),n+=10;p=void 0,c=r,d=n-10,f="linear"}let h=function(e,t,r,{delay:n=0,duration:o,repeat:i=0,repeatType:a="loop",ease:s,times:l}={}){let u={[t]:r};l&&(u.offset=l);let c=function e(t){if(t)return iG(t)?iX(t):Array.isArray(t)?t.map(e):iq[t]}(s);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:n,duration:o,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:i+1,direction:"reverse"===a?"alternate":"normal"})}(e.owner.current,t,c,{...o,duration:d,ease:f,times:p}),m=()=>{l=!1,h.cancel()},g=()=>{l=!0,iv.update(m),i(),u()};return h.onfinish=()=>{l||(e.set(function(e,{repeat:t,repeatType:r="loop"}){let n=t&&"loop"!==r&&t%2==1?0:e.length-1;return e[n]}(c,o)),n&&n(),g())},{then:(e,t)=>a.then(e,t),attachTimeline:e=>(h.timeline=e,h.onfinish=null,ih),get time(){return(h.currentTime||0)/1e3},set time(newTime){h.currentTime=iH(newTime)},get speed(){return h.playbackRate},set speed(newSpeed){h.playbackRate=newSpeed},get duration(){return d/1e3},play:()=>{s||(h.play(),iy(m))},pause:()=>h.pause(),stop:()=>{if(s=!0,"idle"===h.playState)return;let{currentTime:t}=h;if(t){let r=aD({...o,autoplay:!1});e.setWithVelocity(r.sample(t-10).value,r.sample(t).value,10)}g()},complete:()=>{l||h.finish()},cancel:g}}(t,e,p);if(r)return r}return aD(p)};function a4(e){return!!(oT(e)&&e.add)}let a7=e=>/^\-?\d*\.?\d+$/.test(e);function a3(e,t){-1===e.indexOf(t)&&e.push(t)}function a9(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}class a6{constructor(){this.subscriptions=[]}add(e){return a3(this.subscriptions,e),()=>a9(this.subscriptions,e)}notify(e,t,r){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](e,t,r);else for(let o=0;o<n;o++){let n=this.subscriptions[o];n&&n(e,t,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}class a8{constructor(e,t={}){this.version="10.18.0",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,t=!0)=>{this.prev=this.current,this.current=e;let{delta:r,timestamp:n}=ib;this.lastUpdated!==n&&(this.timeDelta=r,this.lastUpdated=n,iv.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>iv.postRender(this.velocityCheck),this.velocityCheck=({timestamp:e})=>{e!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=!isNaN(parseFloat(this.current)),this.owner=t.owner}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new a6);let r=this.events[e].add(t);return"change"===e?()=>{r(),iv.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,r){this.set(t),this.prev=e,this.timeDelta=r}jump(e){this.updateAndNotify(e),this.prev=e,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return c&&c.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var e,t;return this.canTrackVelocity?(e=parseFloat(this.current)-parseFloat(this.prev),(t=this.timeDelta)?1e3/t*e:0):0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function se(e,t){return new a8(e,t)}let st=e=>t=>t.test(e),sr=[oj,oX,oG,oH,oK,oq,{test:e=>"auto"===e,parse:e=>e}],sn=e=>sr.find(st(e)),so=[...sr,aa,aS],si=e=>so.find(st(e));function sa(e,t){let r=iW(e,t),{transitionEnd:n={},transition:o={},...i}=r?e.makeTargetAnimatable(r,!1):{};for(let t in i={...i,...n}){let r=ic(i[t]);e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,se(r))}}
137function ss(e,t){[...t].reverse().forEach(r=>{let n=e.getVariant(r);n&&sa(e,n),e.variantChildren&&e.variantChildren.forEach(e=>{ss(e,t)})})}function sl(e,t,{delay:r=0,transitionOverride:n,type:o}={}){let{transition:i=e.getDefaultTransition(),transitionEnd:a,...s}=e.makeTargetAnimatable(t),l=e.getValue("willChange");n&&(i=n);let u=[],c=o&&e.animationState&&e.animationState.getState()[o];for(let t in s){let n=e.getValue(t),o=s[t];if(!n||void 0===o||c&&function({protectedKeys:e,needsAnimating:t},r){let n=e.hasOwnProperty(r)&&!0!==t[r];return t[r]=!1,n}(c,t))continue;let a={delay:r,elapsed:0,...a2(i||{},t)};if(window.HandoffAppearAnimations){let r=e.getProps()[ol];if(r){let e=window.HandoffAppearAnimations(r,t,n,iv);null!==e&&(a.elapsed=e,a.isHandoff=!0)}}let d=!a.isHandoff&&!function(e,t){let r=e.get();if(!Array.isArray(t))return r!==t;for(let e=0;e<t.length;e++)if(t[e]!==r)return!0}(n,o);if("spring"===a.type&&(n.getVelocity()||a.velocity)&&(d=!1),n.animation&&(d=!1),d)continue;n.start(a5(t,n,o,e.shouldReduceMotion&&oM.has(t)?{type:!1}:a));let f=n.animation;a4(l)&&(l.add(t),f.then(()=>l.remove(t))),u.push(f)}return a&&Promise.all(u).then(()=>{a&&sa(e,a)}),u}function su(e,t,r={}){let n=iW(e,t,r.custom),{transition:o=e.getDefaultTransition()||{}}=n||{};r.transitionOverride&&(o=r.transitionOverride);let i=n?()=>Promise.all(sl(e,n,r)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(n=0)=>{let{delayChildren:i=0,staggerChildren:a,staggerDirection:s}=o;return function(e,t,r=0,n=0,o=1,i){let a=[],s=(e.variantChildren.size-1)*n,l=1===o?(e=0)=>e*n:(e=0)=>s-e*n;return Array.from(e.variantChildren).sort(sc).forEach((e,n)=>{e.notify("AnimationStart",t),a.push(su(e,t,{...i,delay:r+l(n)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(a)}(e,t,i+n,a,s,r)}:()=>Promise.resolve(),{when:s}=o;if(!s)return Promise.all([i(),a(r.delay)]);{let[e,t]="beforeChildren"===s?[i,a]:[a,i];return e().then(()=>t())}}function sc(e,t){return e.sortNodePosition(t)}function sd(e,t,r={}){let n;if(e.notify("AnimationStart",t),Array.isArray(t))n=Promise.all(t.map(t=>su(e,t,r)));else if("string"==typeof t)n=su(e,t,r);else{let o="function"==typeof t?iW(e,t,r.custom):t;n=Promise.all(sl(e,o,r))}return n.then(()=>e.notify("AnimationComplete",t))}let sf=[...of].reverse(),sp=of.length;function sh(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let sm=0,sg=(e,t)=>Math.abs(e-t);class sv{constructor(e,t,{transformPagePoint:r,contextWindow:n,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let r=sx(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,o=(e=r.offset,t={x:0,y:0},Math.sqrt(sg(e.x,t.x)**2+sg(e.y,t.y)**2)>=3);if(!n&&!o)return;let{point:i}=r,{timestamp:a}=ib;this.history.push({...i,timestamp:a});let{onStart:s,onMove:l}=this.handlers;n||(s&&s(this.lastMoveEvent,r),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,r)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=sy(t,this.transformPagePoint),iv.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:r,onSessionEnd:n,resumeAnimation:o}=this.handlers;if(this.dragSnapToOrigin&&o&&o(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let i=sx("pointercancel"===e.type?this.lastMoveEventInfo:sy(t,this.transformPagePoint),this.history);this.startEvent&&r&&r(e,i),n&&n(e,i)},!ik(e))return;this.dragSnapToOrigin=o,this.handlers=t,this.transformPagePoint=r,this.contextWindow=n||window;let i=sy(iC(e),this.transformPagePoint),{point:a}=i,{timestamp:s}=ib;this.history=[{...a,timestamp:s}];let{onSessionStart:l}=t;l&&l(e,sx(i,this.history)),this.removeListeners=iT(iM(this.contextWindow,"pointermove",this.handlePointerMove),iM(this.contextWindow,"pointerup",this.handlePointerUp),iM(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),iy(this.updatePoint)}}function sy(e,t){return t?{point:t(e.point)}:e}
137function sb(e,t){return{x:e.x-t.x,y:e.y-t.y}}function sx({point:e},t){return{point:e,delta:sb(e,sS(t)),offset:sb(e,t[0]),velocity:function(e){if(e.length<2)return{x:0,y:0};let t=e.length-1,r=null,n=sS(e);for(;t>=0&&(r=e[t],!(n.timestamp-r.timestamp>iH(.1)));)t--;if(!r)return{x:0,y:0};let o=(n.timestamp-r.timestamp)/1e3;if(0===o)return{x:0,y:0};let i={x:(n.x-r.x)/o,y:(n.y-r.y)/o};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}(t)}}function sS(e){return e[e.length-1]}function sw(e){return e.max-e.min}function s_(e,t=0,r=.01){return Math.abs(e-t)<=r}function sk(e,t,r,n=.5){e.origin=n,e.originPoint=as(t.min,t.max,e.origin),e.scale=sw(r)/sw(t),(s_(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=as(r.min,r.max,e.origin)-e.originPoint,(s_(e.translate)||isNaN(e.translate))&&(e.translate=0)}function sC(e,t,r,n){sk(e.x,t.x,r.x,n?n.originX:void 0),sk(e.y,t.y,r.y,n?n.originY:void 0)}function sM(e,t,r){e.min=r.min+t.min,e.max=e.min+sw(t)}function sP(e,t,r){e.min=t.min-r.min,e.max=e.min+sw(t)}function sT(e,t,r){sP(e.x,t.x,r.x),sP(e.y,t.y,r.y)}function sE(e,t,r){return{min:void 0!==t?e.min+t:void 0,max:void 0!==r?e.max+r-(e.max-e.min):void 0}}function sR(e,t){let r=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,n]=[n,r]),{min:r,max:n}}function sL(e,t,r){return{min:sA(e,t),max:sA(e,r)}}function sA(e,t){return"number"==typeof e?e:e[t]||0}let sN=()=>({translate:0,scale:1,origin:0,originPoint:0}),s$=()=>({x:sN(),y:sN()}),sI=()=>({min:0,max:0}),sj=()=>({x:sI(),y:sI()});function sO(e){return[e("x"),e("y")]}function sB({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function sz(e){return void 0===e||1===e}function sU({scale:e,scaleX:t,scaleY:r}){return!sz(e)||!sz(t)||!sz(r)}function sD(e){return sU(e)||sF(e)||e.z||e.rotate||e.rotateX||e.rotateY}function sF(e){var t,r;return(t=e.x)&&"0%"!==t||(r=e.y)&&"0%"!==r}function sV(e,t,r,n,o){return void 0!==o&&(e=n+o*(e-n)),n+r*(e-n)+t}function sW(e,t=0,r=1,n,o){e.min=sV(e.min,t,r,n,o),e.max=sV(e.max,t,r,n,o)}function sH(e,{x:t,y:r}){sW(e.x,t.translate,t.scale,t.originPoint),sW(e.y,r.translate,r.scale,r.originPoint)}function sG(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function sX(e,t){e.min=e.min+t,e.max=e.max+t}function sq(e,t,[r,n,o]){let i=void 0!==t[o]?t[o]:.5,a=as(e.min,e.max,i);sW(e,t[r],t[n],a,t.scale)}let sK=["x","scaleX","originX"],sZ=["y","scaleY","originY"];function sY(e,t){sq(e.x,t,sK),sq(e.y,t,sZ)}function sJ(e,t){return sB(function(e,t){if(!t)return e;let r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}(e.getBoundingClientRect(),t))}let sQ=({current:e})=>e?e.ownerDocument.defaultView:null,s0=new WeakMap;class s1{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=sj(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){let{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;let n=e=>{let{dragSnapToOrigin:r}=this.getProps();r?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(iC(e,"page").point)},o=(e,t)=>{let{drag:r,dragPropagation:n,onDragStart:o}=this.getProps();if(r&&!n&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=iA(r),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),sO(e=>{let t=this.getAxisMotionValue(e).get()||0;if(oG.test(t)){let{projection:r}=this.visualElement;if(r&&r.layout){let n=r.layout.layoutBox[e];n&&(t=sw(n)*(parseFloat(t)/100))}}this.originPoint[e]=t}),o&&iv.update(()=>o(e,t),!1,!0);let{animationState:i}=this.visualElement;i&&i.setActive("whileDrag",!0)},i=(e,t)=>{let{dragPropagation:r,dragDirectionLock:n,onDirectionLock:o,onDrag:i}=this.getProps();if(!r&&!this.openGlobalLock)return;let{offset:a}=t;if(n&&null===this.currentDirection){this.currentDirection=function(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}(a),null!==this.currentDirection&&o&&o(this.currentDirection);return}this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),i&&i(e,t)},a=(e,t)=>this.stop(e,t),s=()=>sO(e=>{var t;return"paused"===this.getAnimationState(e)&&(null==(t=this.getAxisMotionValue(e).animation)?void 0:t.play())}),{dragSnapToOrigin:l}=this.getProps();
137this.panSession=new sv(e,{onSessionStart:n,onStart:o,onMove:i,onSessionEnd:a,resumeAnimation:s},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:sQ(this.visualElement)})}stop(e,t){let r=this.isDragging;if(this.cancel(),!r)return;let{velocity:n}=t;this.startAnimation(n);let{onDragEnd:o}=this.getProps();o&&iv.update(()=>o(e,t))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,r){let{drag:n}=this.getProps();if(!r||!s2(e,n,this.currentDirection))return;let o=this.getAxisMotionValue(e),i=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(i=function(e,{min:t,max:r},n){return void 0!==t&&e<t?e=n?as(t,e,n.min):Math.max(e,t):void 0!==r&&e>r&&(e=n?as(r,e,n.max):Math.min(e,r)),e}(i,this.constraints[e],this.elastic[e])),o.set(i)}resolveConstraints(){var e;let{dragConstraints:t,dragElastic:r}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null==(e=this.visualElement.projection)?void 0:e.layout,o=this.constraints;t&&ou(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&n?this.constraints=function(e,{top:t,left:r,bottom:n,right:o}){return{x:sE(e.x,r,o),y:sE(e.y,t,n)}}(n.layoutBox,t):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:sL(e,"left","right"),y:sL(e,"top","bottom")}}(r),o!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&sO(e=>{var t,r;let o;this.getAxisMotionValue(e)&&(this.constraints[e]=(t=n.layoutBox[e],r=this.constraints[e],o={},void 0!==r.min&&(o.min=r.min-t.min),void 0!==r.max&&(o.max=r.max-t.min),o))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!ou(t))return!1;let n=t.current;ih(null!==n);let{projection:o}=this.visualElement;if(!o||!o.layout)return!1;let i=function(e,t,r){let n=sJ(e,r),{scroll:o}=t;return o&&(sX(n.x,o.offset.x),sX(n.y,o.offset.y)),n}(n,o.root,this.visualElement.getTransformPagePoint()),a=(e=o.layout.layoutBox,{x:sR(e.x,i.x),y:sR(e.y,i.y)});if(r){let e=r(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(a));this.hasMutatedConstraints=!!e,e&&(a=sB(e))}return a}startAnimation(e){let{drag:t,dragMomentum:r,dragElastic:n,dragTransition:o,dragSnapToOrigin:i,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{};return Promise.all(sO(a=>{if(!s2(a,t,this.currentDirection))return;let l=s&&s[a]||{};i&&(l={min:0,max:0});let u={type:"inertia",velocity:r?e[a]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...o,...l};return this.startAxisValueAnimation(a,u)})).then(a)}startAxisValueAnimation(e,t){let r=this.getAxisMotionValue(e);return r.start(a5(e,r,0,t))}stopAnimation(){sO(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){sO(e=>{var t;return null==(t=this.getAxisMotionValue(e).animation)?void 0:t.pause()})}getAnimationState(e){var t;return null==(t=this.getAxisMotionValue(e).animation)?void 0:t.state}getAxisMotionValue(e){let t="_drag"+e.toUpperCase(),r=this.visualElement.getProps();return r[t]||this.visualElement.getValue(e,(r.initial?r.initial[e]:void 0)||0)}snapToCursor(e){sO(t=>{let{drag:r}=this.getProps();if(!s2(t,r,this.currentDirection))return;let{projection:n}=this.visualElement,o=this.getAxisMotionValue(t);if(n&&n.layout){let{min:r,max:i}=n.layout.layoutBox[t];o.set(e[t]-as(r,i,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:r}=this.visualElement;if(!ou(t)||!r||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};sO(e=>{let t=this.getAxisMotionValue(e);if(t){var r,o;let i,a,s,l=t.get();n[e]=(r={min:l,max:l},o=this.constraints[e],i=.5,a=sw(r),(s=sw(o))>a?i=aP(o.min,o.max-a,r.min):a>s&&(i=aP(r.min,r.max-s,o.min)),oI(0,1,i))}});let{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),sO(t=>{if(!s2(t,e,null))return;let r=this.getAxisMotionValue(t),{min:o,max:i}=this.constraints[t];r.set(as(o,i,n[t]))})}addListeners(){if(!this.visualElement.current)return;s0.set(this.visualElement,this);let e=iM(this.visualElement.current,"pointerdown",e=>{let{drag:t,dragListener:r=!0}=this.getProps();t&&r&&this.start(e)}),t=()=>{let{dragConstraints:e}=this.getProps();ou(e)&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,n=r.addEventListener("measure",t);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),t();let o=i_(window,"resize",()=>this.scalePositionWithinConstraints()),i=r.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(sO(t=>{let r=this.getAxisMotionValue(t);r&&(this.originPoint[t]+=e[t].translate,r.set(r.get()+e[t].translate))}),this.visualElement.render())});return()=>{o(),e(),n(),i&&i()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:r=!1,dragPropagation:n=!1,dragConstraints:o=!1,dragElastic:i=.35,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:r,dragPropagation:n,dragConstraints:o,dragElastic:i,dragMomentum:a}}}function s2(e,t,r){return(!0===t||t===e)&&(null===r||r===e)}let s5=e=>(t,r)=>{e&&iv.update(()=>e(t,r))};var e0=ex("f7SMx"),eL=ex("4RLZr");ex("f7SMx");var eL=ex("4RLZr");let s4={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function s7(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let s3={correct:(e,t)=>
137{if(!t.target)return e;if("string"==typeof e)if(!oX.test(e))return e;else e=parseFloat(e);let r=s7(e,t.target.x),n=s7(e,t.target.y);return`${r}% ${n}%`}};class s9 extends e0.default.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r,layoutId:n}=this.props,{projection:o}=e;Object.assign(ok,s8),o&&(t.group&&t.group.add(o),r&&r.register&&n&&r.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),s4.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:r,drag:n,isPresent:o}=this.props,i=r.projection;return i&&(i.isPresent=o,n||e.layoutDependency!==t||void 0===t?i.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?i.promote():i.relegate()||iv.postRender(()=>{let e=i.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),queueMicrotask(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r}=this.props,{projection:n}=e;n&&(n.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(n),r&&r.deregister&&r.deregister(n))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function s6(e){let[t,r]=function(){let e=(0,eL.useContext)(on);if(null===e)return[!0,null];let{isPresent:t,onExitComplete:r,register:n}=e,o=(0,eL.useId)();return(0,eL.useEffect)(()=>n(o),[]),!t&&r?[!1,()=>r&&r(o)]:[!0]}(),n=(0,eL.useContext)(ob);return e0.default.createElement(s9,{...e,layoutGroup:n,switchLayoutGroup:(0,eL.useContext)(ox),isPresent:t,safeToRemove:r})}let s8={borderRadius:{...s3,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:s3,borderTopRightRadius:s3,borderBottomLeftRadius:s3,borderBottomRightRadius:s3,boxShadow:{correct:(e,{treeScale:t,projectionDelta:r})=>{let n=aS.parse(e);if(n.length>5)return e;let o=aS.createTransformer(e),i=+("number"!=typeof n[0]),a=r.x.scale*t.x,s=r.y.scale*t.y;n[0+i]/=a,n[1+i]/=s;let l=as(a,s,.5);return"number"==typeof n[2+i]&&(n[2+i]/=l),"number"==typeof n[3+i]&&(n[3+i]/=l),o(n)}}},le=["TopLeft","TopRight","BottomLeft","BottomRight"],lt=le.length,lr=e=>"string"==typeof e?parseFloat(e):e,ln=e=>"number"==typeof e||oX.test(e);function lo(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let li=ls(0,.5,i5),la=ls(.5,.95,ih);function ls(e,t,r){return n=>n<e?0:n>t?1:r(aP(e,t,n))}function ll(e,t){e.min=t.min,e.max=t.max}function lu(e,t){ll(e.x,t.x),ll(e.y,t.y)}function lc(e,t,r,n,o){return e-=t,e=n+1/r*(e-n),void 0!==o&&(e=n+1/o*(e-n)),e}function ld(e,t,[r,n,o],i,a){!function(e,t=0,r=1,n=.5,o,i=e,a=e){if(oG.test(t)&&(t=parseFloat(t),t=as(a.min,a.max,t/100)-a.min),"number"!=typeof t)return;let s=as(i.min,i.max,n);e===i&&(s-=t),e.min=lc(e.min,t,r,s,o),e.max=lc(e.max,t,r,s,o)}(e,t[r],t[n],t[o],t.scale,i,a)}let lf=["x","scaleX","originX"],lp=["y","scaleY","originY"];function lh(e,t,r,n){ld(e.x,t,lf,r?r.x:void 0,n?n.x:void 0),ld(e.y,t,lp,r?r.y:void 0,n?n.y:void 0)}function lm(e){return 0===e.translate&&1===e.scale}function lg(e){return lm(e.x)&&lm(e.y)}function lv(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function ly(e){return sw(e.x)/sw(e.y)}class lb{constructor(){this.members=[]}add(e){a3(this.members,e),e.scheduleRender()}remove(e){if(a9(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){let t,r=this.members.findIndex(t=>e===t);if(0===r)return!1;for(let e=r;e>=0;e--){let r=this.members[e];if(!1!==r.isPresent){t=r;break}}return!!t&&(this.promote(t),!0)}promote(e,t){let r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,t&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);let{crossfade:n}=e.options;!1===n&&r.hide()}}
137exitAnimationComplete(){this.members.forEach(e=>{let{options:t,resumingFrom:r}=e;t.onExitComplete&&t.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function lx(e,t,r){let n="",o=e.x.translate/t.x,i=e.y.translate/t.y;if((o||i)&&(n=`translate3d(${o}px, ${i}px, 0) `),(1!==t.x||1!==t.y)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),r){let{rotate:e,rotateX:t,rotateY:o}=r;e&&(n+=`rotate(${e}deg) `),t&&(n+=`rotateX(${t}deg) `),o&&(n+=`rotateY(${o}deg) `)}let a=e.x.scale*t.x,s=e.y.scale*t.y;return(1!==a||1!==s)&&(n+=`scale(${a}, ${s})`),n||"none"}let lS=(e,t)=>e.depth-t.depth;class lw{constructor(){this.children=[],this.isDirty=!1}add(e){a3(this.children,e),this.isDirty=!0}remove(e){a9(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(lS),this.isDirty=!1,this.children.forEach(e)}}let l_=["","X","Y","Z"],lk={visibility:"hidden"},lC=0,lM={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function lP({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:o}){return class{constructor(e={},r=null==t?void 0:t()){this.id=lC++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,lM.totalNodes=lM.resolvedTargetDeltas=lM.recalculatedProjection=0,this.nodes.forEach(lR),this.nodes.forEach(lO),this.nodes.forEach(lB),this.nodes.forEach(lL),window.MotionDebug&&window.MotionDebug.record(lM)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new lw)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new a6),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let r=this.eventHandlers.get(e);r&&r.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,r=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=t instanceof SVGElement&&"svg"!==t.tagName,this.instance=t;let{layoutId:n,layout:o,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),r&&(o||n)&&(this.isLayoutDirty=!0),e){let r,n=()=>this.root.updateBlockedByResize=!1;e(t,()=>{let e,t;this.root.updateBlockedByResize=!0,r&&r(),e=performance.now(),t=({timestamp:r})=>{let o=r-e;o>=250&&(iy(t),n())},iv.read(t,!0),r=()=>iy(t),s4.hasAnimatedSinceResize&&(s4.hasAnimatedSinceResize=!1,this.nodes.forEach(lj))})}n&&this.root.registerSharedNode(n,this),!1!==this.options.animate&&i&&(n||o)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:r,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let o=this.options.transition||i.getDefaultTransition()||lW,{onLayoutAnimationStart:a,onLayoutAnimationComplete:s}=i.getProps(),l=!this.targetLayout||!lv(this.targetLayout,n)||r,u=!t&&r;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,u);let t={...a2(o,"layout"),onPlay:a,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||lj(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,iy(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEac
vendor: 4,660 bytes, line 137
137h(lz),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:r}=this.options;if(void 0===t&&!r)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(lN);return}this.isUpdating||this.nodes.forEach(l$),this.isUpdating=!1,this.nodes.forEach(lI),this.nodes.forEach(lT),this.nodes.forEach(lE),this.clearAllSnapshots();let e=performance.now();ib.delta=oI(0,1e3/60,e-ib.timestamp),ib.timestamp=e,ib.isProcessing=!0,ix.update.process(ib),ix.preRender.process(ib),ix.render.process(ib),ib.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(lA),this.sharedNodes.forEach(lU)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,iv.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){iv.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutCorrected=sj(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:n(this.instance),offset:r(this.instance)})}resetTransform(){if(!o)return;let e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!lg(this.projectionDelta),r=this.getTransformTemplate(),n=r?r(this.latestValues,""):void 0,i=n!==this.prevTransformTemplateValue;e&&(t||sD(this.latestValues)||i)&&(o(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let r=this.measurePageBox(),n=this.removeElementScroll(r);return e&&(n=this.removeTransform(n)),lX((t=n).x),lX(t.y),{animationId:this.root.animationId,measuredBox:r,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return sj();let t=e.measureViewportBox(),{scroll:r}=this.root;return r&&(sX(t.x,r.offset.x),sX(t.y,r.offset.y)),t}removeElementScroll(e){let t=sj();lu(t,e);for(let r=0;r<this.path.length;r++){let n=this.path[r],{scroll:o,options:i}=n;if(n!==this.root&&o&&i.layoutScroll){if(o.isRoot){lu(t,e);let{scroll:r}=this.root;r&&(sX(t.x,-r.offset.x),sX(t.y,-r.offset.y))}sX(t.x,o.offset.x),sX(t.y,o.offset.y)}}return t}applyTransform(e,t=!1){let r=sj();lu(r,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&sY(r,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),sD(n.latestValues)&&sY(r,n.latestValues)}return sD(this.latestValues)&&sY(r,this.latestValues),r}removeTransform(e){let t=sj();lu(t,e);for(let e=0;e<this.path.length;e++){let r=this.path[e];if(!r.instance||!sD(r.latestValues))continue;sU(r.latestValues)&&r.updateSnapshot();let n=sj();lu(n,r.measurePageBox()),lh(t,r.latestValues,r.snapshot?r.snapshot.layoutBox:void 0,n)}return sD(this.latestValues)&&lh(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==ib.t
137imestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t,r,n,o;let i=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=i.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=i.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=i.isSharedProjectionDirty);let a=!!this.resumingFrom||this!==i;if(!(e||a&&this.isSharedProjectionDirty||this.isProjectionDirty||(null==(t=this.parent)?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;let{layout:s,layoutId:l}=this.options;if(this.layout&&(s||l)){if(this.resolvedRelativeTargetAt=ib.timestamp,!this.targetDelta&&!this.relativeTarget){let e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=sj(),this.relativeTargetOrigin=sj(),sT(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),lu(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=sj(),this.targetWithTransforms=sj()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),r=this.target,n=this.relativeTarget,o=this.relativeParent.target,sM(r.x,n.x,o.x),sM(r.y,n.y,o.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):lu(this.target,this.layout.layoutBox),sH(this.target,this.targetDelta)):lu(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let e=this.getClosestProjectingParent();e&&!!e.resumingFrom==!!this.resumingFrom&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=sj(),this.relativeTargetOrigin=sj(),sT(this.relativeTargetOrigin,this.target,e.target),lu(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}lM.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||sU(this.parent.latestValues)||sF(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;let t=this.getLead(),r=!!this.resumingFrom||this!==t,n=!0;if((this.isProjectionDirty||(null==(e=this.parent)?void 0:e.isProjectionDirty))&&(n=!1),r&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===ib.timestamp&&(n=!1),n)return;let{layout:o,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(o||i))return;lu(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,s=this.treeScale.y;!function(e,t,r,n=!1){let o,i,a=r.length;if(a){t.x=t.y=1;for(let s=0;s<a;s++){i=(o=r[s]).projectionDelta;let a=o.instance;(!a||!a.style||"contents"!==a.style.display)&&(n&&o.options.layoutScroll&&o.scroll&&o!==o.root&&sY(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),i&&(t.x*=i.x.scale,t.y*=i.y.scale,sH(e,i)),n&&sD(o.latestValues)&&sY(e,o.latestValues))}t.x=sG(t.x),t.y=sG(t.y)}}(this.layoutCorrected,this.treeScale,this.path,r),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox);let{target:l}=t;if(!l){this.projectionTransform&&(this.projectionDelta=s$(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=s$(),this.projectionDeltaWithTransform=s$());let u=this.projectionTransform;sC(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=lx(this.projectionDelta,this.treeScale),(this.projectionTransform!==u||this.treeScale.x!==a||this.treeScale.y!==s)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),lM.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,t=!1){let r,n=this.snapshot,o=n?n.latestValues:{},i={...this.latestValues},a=s$();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let s=sj(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,d=!!(l&&!c&&!0===this.options.crossfade&&!this.path.some(lV));this.animationProgress=0,this.mixTargetDelta=t=>{let n=t/1e3;if(lD(a.x,e.x,n),lD(a.y,e.y,n),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,f,p,h,m,g;sT(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,h=this.relativeTargetOrigin,m=s,g=n,lF(p.x,h.x,m.x,g),lF(p.y,h.y,m.y,g),r&&(u=this.relativeTarget,f=r,u.x.min===f.x.min&&u.x.max===f.x.max&&u.y.min===f.y.min&&u.y.max===f.y.max)&&(this.isProjectionDirty=!1),r||(r=sj()),lu(r,this.relativeTarget)}l&&(this.animationValues=i,function(e,t,r,n,o,i){o?(e.opacity=as(0,void 0!==r.opacity?r.opacity:1,li(n)),e.opacityExit=as(void 0!==t.opacity?t.opacity:1,0,la(n))):i&&(e.opacity=as(void 0!==t.opacity?t.opacity:1,void 0!==r.opacity?r.opacity:1,n));for(let o=0;o<lt;o++){let i=`border${le[o]}Radius`,a=lo(t,i),s=lo(r,i);(void 0!==a||void 0!==s)&&(a||(a=0),s||(s=0),0===a||0===s||ln(a)===ln(s)?(e[i]=Math.max(as(lr(a),lr(s),n),0),(oG.test(s)||oG.test(a))&&(e[i]+="%")):e[i]=s)}(t.rotate||r.rotate)&&(e.rotate=as(t.rotate||0,r.rotate||0,n))}(i,o,this.latestValues,n,d,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(iy(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=iv.update(()=>{var t;let r;s4.hasAnimatedSinceResize=!0,this.currentAnimation=(t={...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}},(r=oT(0)?0:se(0)).start(a5("",r,1e3,t)),r.animation),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:r,layout:n,latestValues:o}=e;if(t&&r&&n){if(this!==e&&this.layout&&n&&lq(this.options.animationType,this.layout.layoutBox,n.layoutBox)){r=this.target||sj();let t=sw(this.layout.layoutBox.x);r.x.min=e.target.x.min,r.x.max=r.x.min+t;let n=sw(this.layout.layoutBox.y);r.y.min=e.target.y.min,r.y.max=r.y.min+n}lu(t,r),sY(t,o),sC(this.projectionDeltaWithTransform,this.layoutCorrected,t,o)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new lb),this.sharedNodes.get(e).add(t);let r=t.options.initialPromotionConfig;t.promote({transition:r?r.transition:void 0,preserveFollowOpacity:r&&r.shouldPreserveFollowOpacity?r.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){var e;let{layoutId:t}=this.options;return t&&(null==(e=this.getStack())?void 0:e.lead)||this}getPrevLead(){var e;let{layoutId:t}=this.options;return t?null==(e=this.getStack())?void 0:e.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:r}={}){let n=this.getStack();n&&n.promote(this,r),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:r}=e;if((r.rotate||r.rotateX||r.rotateY||r.rotateZ)&&(t=!0),!t)return;let n={};for(let t=0;t<l_.length;t++){let o="rotate"+l_[t];
137r[o]&&(n[o]=r[o],e.setStaticValue(o,0))}for(let t in e.render(),n)e.setStaticValue(t,n[t]);e.scheduleRender()}getProjectionStyles(e){var t,r;if(!this.instance||this.isSVG)return;if(!this.isVisible)return lk;let n={visibility:""},o=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,n.opacity="",n.pointerEvents=id(null==e?void 0:e.pointerEvents)||"",n.transform=o?o(this.latestValues,""):"none",n;let i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target){let t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=id(null==e?void 0:e.pointerEvents)||""),this.hasProjected&&!sD(this.latestValues)&&(t.transform=o?o({},""):"none",this.hasProjected=!1),t}let a=i.animationValues||i.latestValues;this.applyTransformsToTarget(),n.transform=lx(this.projectionDeltaWithTransform,this.treeScale,a),o&&(n.transform=o(a,n.transform));let{x:s,y:l}=this.projectionDelta;for(let e in n.transformOrigin=`${100*s.origin}% ${100*l.origin}% 0`,i.animationValues?n.opacity=i===this?null!=(r=null!=(t=a.opacity)?t:this.latestValues.opacity)?r:1:this.preserveOpacity?this.latestValues.opacity:a.opacityExit:n.opacity=i===this?void 0!==a.opacity?a.opacity:"":void 0!==a.opacityExit?a.opacityExit:0,ok){if(void 0===a[e])continue;let{correct:t,applyTo:r}=ok[e],o="none"===n.transform?a[e]:t(a[e],i);if(r){let e=r.length;for(let t=0;t<e;t++)n[r[t]]=o}else n[e]=o}return this.options.layoutId&&(n.pointerEvents=i===this?id(null==e?void 0:e.pointerEvents)||"":"none"),n}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var t;return null==(t=e.currentAnimation)?void 0:t.stop()}),this.root.nodes.forEach(lN),this.root.sharedNodes.clear()}}}function lT(e){e.updateLayout()}function lE(e){var t;let r=(null==(t=e.resumeFrom)?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){let{layoutBox:t,measuredBox:n}=e.layout,{animationType:o}=e.options,i=r.source!==e.layout.source;"size"===o?sO(e=>{let n=i?r.measuredBox[e]:r.layoutBox[e],o=sw(n);n.min=t[e].min,n.max=n.min+o}):lq(o,r.layoutBox,t)&&sO(n=>{let o=i?r.measuredBox[n]:r.layoutBox[n],a=sw(t[n]);o.max=o.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[n].max=e.relativeTarget[n].min+a)});let a=s$();sC(a,t,r.layoutBox);let s=s$();i?sC(s,e.applyTransform(n,!0),r.measuredBox):sC(s,t,r.layoutBox);let l=!lg(a),u=!1;if(!e.resumeFrom){let n=e.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:o,layout:i}=n;if(o&&i){let a=sj();sT(a,r.layoutBox,o.layoutBox);let s=sj();sT(s,t,i.layoutBox),lv(a,s)||(u=!0),n.options.layoutRoot&&(e.relativeTarget=s,e.relativeTargetOrigin=a,e.relativeParent=n)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:r,delta:s,layoutDelta:a,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function lR(e){lM.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function lL(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function lA(e){e.clearSnapshot()}function lN(e){e.clearMeasurements()}function l$(e){e.isLayoutDirty=!1}function lI(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function lj(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function lO(e){e.resolveTargetDelta()}function lB(e){e.calcProjection()}function lz(e){e.resetRotation()}function lU(e){e.removeLeadSnapshot()}function lD(e,t,r){e.translate=as(t.translate,0,r),e.scale=as(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function lF(e,t,r,n){e.min=as(t.min,r.min,n),e.max=as(t.max,r.max,n)}function lV(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let lW={duration:.45,ease:[.4,0,.1,1]},lH=e=>"u">typeof navigator&&navigator.userAgent.toLowerCase().includes(e),lG=lH("applewebkit/")&&!lH("chrome/")?Math.round:ih;function lX(e){e.min=lG(e.min),e.max=lG(e.max)}function lq(e,t,r){return"position"===e||"preserve-aspect"===e&&!s_(ly(t),ly(r),.2)}let lK=lP({attachResizeListener:(e,t)=>i_(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),lZ={current:void 0},lY=lP({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!lZ.current){let e=new lK({});e.mount(window),e.setOptions({layoutScroll:!0}),lZ.current=e}return lZ.current},resetTransform:(e,t)=>
137{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position}),lJ=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function lQ(e,t,r=1){ih(r<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[n,o]=function(e){let t=lJ.exec(e);if(!t)return[,];let[,r,n]=t;return[r,n]}(e);if(!n)return;let i=window.getComputedStyle(t).getPropertyValue(n);if(i){let e=i.trim();return a7(e)?parseFloat(e):e}return oN(o)?lQ(o,t,r+1):o}let l0=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),l1=e=>l0.has(e),l2=e=>e===oj||e===oX,l5=(e,t)=>parseFloat(e.split(", ")[t]),l4=(e,t)=>(r,{transform:n})=>{if("none"===n||!n)return 0;let o=n.match(/^matrix3d\((.+)\)$/);if(o)return l5(o[1],t);{let t=n.match(/^matrix\((.+)\)$/);return t?l5(t[1],e):0}},l7=new Set(["x","y","z"]),l3=oC.filter(e=>!l7.has(e)),l9={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:l4(4,13),y:l4(5,14)};l9.translateX=l9.x,l9.translateY=l9.y;let l6={current:null},l8={current:!1},ue=new WeakMap,ut=Object.keys(oy),ur=ut.length,un=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],uo=op.length;class ui{constructor({parent:e,props:t,presenceContext:r,reducedMotionConfig:n,visualState:o},i={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>iv.render(this.render,!1,!0);let{latestValues:a,renderState:s}=o;this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=s,this.parent=e,this.props=t,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.options=i,this.isControllingVariants=oh(t),this.isVariantNode=om(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:l,...u}=this.scrapeMotionValuesFromProps(t,{});for(let e in u){let t=u[e];void 0!==a[e]&&oT(t)&&(t.set(a[e],!1),a4(l)&&l.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,ue.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),l8.current||function(){if(l8.current=!0,oo)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>l6.current=e.matches;e.addListener(t),t()}else l6.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||l6.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in ue.delete(this.current),this.projection&&this.projection.unmount(),iy(this.notifyUpdate),iy(this.render),this.valueSubscriptions.forEach(e=>e()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[e].clear();for(let e in this.features)this.features[e].unmount();this.current=null}bindToMotionValue(e,t){let r=oM.has(e),n=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&iv.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)}),o=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{n(),o()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},r,n,o){let i,a;for(let e=0;e<ur;e++){let r=ut[e],{isEnabled:n,Feature:o,ProjectionNode:s,MeasureLayout:l}=oy[r];s&&(i=s),n(t)&&(!this.features[r]&&o&&(this.features[r]=new o(this)),l&&(a=l))}if(("html"===this.type||"svg"===this.type)&&!this.projection&&i){this.projection=new i(this.latestValues,this.parent&&this.parent.projection);let{layoutId:e,layout:r,drag:n,dragConstraints:a,layoutScroll:s,layoutRoot:l}=t;this.projection.setOptions({layoutId:e,layout:r,alwaysMeasureLayout:!!n||a&&ou(a),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof r?r:"both",initialPromotionConfig:o,layoutScroll:s,layoutRoot:l})}return a}updateFeatures(){for(let e in this.features){let t=this.features[e];
137t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):sj()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,this.props,t)}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<un.length;t++){let r=un[t];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);let n=e["on"+r];n&&(this.propEventSubscriptions[r]=this.on(r,n))}this.prevMotionValues=function(e,t,r){let{willChange:n}=t;for(let o in t){let i=t[o],a=r[o];if(oT(i))e.addValue(o,i),a4(n)&&n.add(o);else if(oT(a))e.addValue(o,se(i,{owner:e})),a4(n)&&n.remove(o);else if(a!==i)if(e.hasValue(o)){let t=e.getValue(o);t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(o);e.addValue(o,se(void 0!==t?t:i,{owner:e}))}}for(let n in r)void 0===t[n]&&e.removeValue(n);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}let t={};for(let e=0;e<uo;e++){let r=op[e],n=this.props[r];(oc(n)||!1===n)&&(t[r]=n)}return t}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){t!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,t)),this.values.set(e,t),this.latestValues[e]=t.get()}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let r=this.values.get(e);return void 0===r&&void 0!==t&&(r=se(t,{owner:this}),this.addValue(e,r)),r}readValue(e){var t;return void 0===this.latestValues[e]&&this.current?null!=(t=this.getBaseTargetFromProps(this.props,e))?t:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;let{initial:r}=this.props,n="string"==typeof r||"object"==typeof r?null==(t=is(this.props,r))?void 0:t[e]:void 0;if(r&&void 0!==n)return n;let o=this.getBaseTargetFromProps(this.props,e);return void 0===o||oT(o)?void 0!==this.initialValues[e]&&void 0===n?void 0:this.baseTarget[e]:o}on(e,t){return this.events[e]||(this.events[e]=new a6),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class ua extends ui{sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:r}){delete t[e],delete r[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...r},{transformValues:n},o){let i=function(e,t,r){let n={};for(let o in e){let e=function(e,t){if(t)return(t[e]||t.default||t).from}(o,t);if(void 0!==e)n[o]=e;else{let e=r.getValue(o);e&&(n[o]=e.get())}}return n}(r,e||{},this);if(n&&(t&&(t=n(t)),r&&(r=n(r)),i&&(i=n(i))),o){var a,s,l,u,c;let e;!function(e,t,r){var n,o;let i=Object.keys(t).filter(t=>!e.hasValue(t)),a=i.length;if(a)for(let s=0;s<a;s++){let a=i[s],l=t[a],u=null;Array.isArray(l)&&(u=l[0]),null===u&&(u=null!=(o=null!=(n=r[a])?n:e.readValue(a))?o:t[a]),null!=u&&("string"==typeof u&&(a7(u)||a1(u))?u=parseFloat(u):!si(u)&&aS.test(l)&&(u=a0(a,l)),e.addValue(a,se(u,{owner:e})),void 0===r[a]&&(r[a]=u),null!==u&&e.setBaseTarget(a,u))}}(this,r,i);let n=(a=r,s=i,a=(e=function(e,{...t},r){let n=e.current;if(!(n instanceof Element))return{target:t,transitionEnd:r};for(let o in r&&(r={...r}
137),e.values.forEach(e=>{let t=e.get();if(!oN(t))return;let r=lQ(t,n);r&&e.set(r)}),t){let e=t[o];if(!oN(e))continue;let i=lQ(e,n);i&&(t[o]=i,r||(r={}),void 0===r[o]&&(r[o]=e))}return{target:t,transitionEnd:r}}(this,a,l=t)).target,l=e.transitionEnd,u=a,c=l,Object.keys(u).some(l1)?((e,t,r={},n={})=>{t={...t},n={...n};let o=Object.keys(t).filter(l1),i=[],a=!1,s=[];if(o.forEach(o=>{let l,u=e.getValue(o);if(!e.hasValue(o))return;let c=r[o],d=sn(c),f=t[o];if(iu(f)){let e=f.length,t=+(null===f[0]);d=sn(c=f[t]);for(let r=t;r<e&&null!==f[r];r++)l?ih(sn(f[r])===l):ih((l=sn(f[r]))===d||l2(d)&&l2(l))}else l=sn(f);if(d!==l)if(l2(d)&&l2(l)){let e=u.get();"string"==typeof e&&u.set(parseFloat(e)),"string"==typeof f?t[o]=parseFloat(f):Array.isArray(f)&&l===oX&&(t[o]=f.map(parseFloat))}else if((null==d?void 0:d.transform)&&(null==l?void 0:l.transform)&&(0===c||0===f))0===c?u.set(l.transform(c)):t[o]=d.transform(f);else{if(!a){let t;t=[],l3.forEach(r=>{let n=e.getValue(r);void 0!==n&&(t.push([r,n.get()]),n.set(+!!r.startsWith("scale")))}),t.length&&e.render(),i=t,a=!0}s.push(o),n[o]=void 0!==n[o]?n[o]:t[o],u.jump(f)}}),!s.length)return{target:t,transitionEnd:n};{let r=s.indexOf("height")>=0?window.pageYOffset:null,o=((e,t,r)=>{let n=t.measureViewportBox(),o=getComputedStyle(t.current),{display:i}=o,a={};"none"===i&&t.setStaticValue("display",e.display||"block"),r.forEach(e=>{a[e]=l9[e](n,o)}),t.render();let s=t.measureViewportBox();return r.forEach(r=>{let n=t.getValue(r);n&&n.jump(a[r]),e[r]=l9[r](s,o)}),e})(t,e,s);return i.length&&i.forEach(([t,r])=>{e.getValue(t).set(r)}),e.render(),oo&&null!==r&&window.scrollTo({top:r}),{target:o,transitionEnd:n}}})(this,u,s,c):{target:u,transitionEnd:c});t=n.transitionEnd,r=n.target}return{transition:e,transitionEnd:t,...r}}}class us extends ua{constructor(){super(...arguments),this.type="html"}readValueFromInstance(e,t){if(oM.has(t)){let e=aQ(t);return e&&e.default||0}{let r=window.getComputedStyle(e),n=(oA(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(e,{transformPagePoint:t}){return sJ(e,t)}build(e,t,r,n){oQ(e,t,r,n.transformTemplate)}scrapeMotionValuesFromProps(e,t){return ii(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;oT(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,r,n){it(e,t,r,n)}}class ul extends ua{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(oM.has(t)){let e=aQ(t);return e&&e.default||0}return t=ir.has(t)?t:os(t),e.getAttribute(t)}measureInstanceViewportBox(){return sj()}scrapeMotionValuesFromProps(e,t){return ia(e,t)}
137build(e,t,r,n){o6(e,t,r,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,r,n){io(e,t,r,n)}mount(e){this.isSVGTag=ie(e.tagName),super.mount(e)}}let uu=(e,t)=>o_(e)?new ul(t,{enableHardwareAcceleration:!1}):new us(t,{enableHardwareAcceleration:!0}),uc={animation:{Feature:class extends i${constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:r})=>sd(e,t,r))),r={animate:sh(!0),whileInView:sh(),whileHover:sh(),whileTap:sh(),whileDrag:sh(),whileFocus:sh(),exit:sh()},n=!0,o=(t,r)=>{let n=iW(e,r);if(n){let{transition:e,transitionEnd:r,...o}=n;t={...t,...o,...r}}return t};function i(i,a){let s=e.getProps(),l=e.getVariantContext(!0)||{},u=[],c=new Set,d={},f=1/0;for(let t=0;t<sp;t++){var p,h;let m=sf[t],g=r[m],v=void 0!==s[m]?s[m]:l[m],y=oc(v),b=m===a?g.isActive:null;!1===b&&(f=t);let x=v===l[m]&&v!==s[m]&&y;if(x&&n&&e.manuallyAnimateOnMount&&(x=!1),g.protectedKeys={...d},!g.isActive&&null===b||!v&&!g.prevProp||od(v)||"boolean"==typeof v)continue;let S=(p=g.prevProp,("string"==typeof(h=v)?h!==p:!!Array.isArray(h)&&!iV(h,p))||m===a&&g.isActive&&!x&&y||t>f&&y),w=!1,_=Array.isArray(v)?v:[v],k=_.reduce(o,{});!1===b&&(k={});let{prevResolvedValues:C={}}=g,M={...C,...k},P=e=>{S=!0,c.has(e)&&(w=!0,c.delete(e)),g.needsAnimating[e]=!0};for(let e in M){let t=k[e],r=C[e];if(!d.hasOwnProperty(e))(iu(t)&&iu(r)?iV(t,r):t===r)?void 0!==t&&c.has(e)?P(e):g.protectedKeys[e]=!0:void 0!==t?P(e):c.add(e)}g.prevProp=v,g.prevResolvedValues=k,g.isActive&&(d={...d,...k}),n&&e.blockInitialAnimation&&(S=!1),S&&(!x||w)&&u.push(..._.map(e=>({animation:e,options:{type:m,...i}})))}if(c.size){let t={};
137c.forEach(r=>{let n=e.getBaseTarget(r);void 0!==n&&(t[r]=n)}),u.push({animation:t})}let m=!!u.length;return n&&(!1===s.initial||s.initial===s.animate)&&!e.manuallyAnimateOnMount&&(m=!1),n=!1,m?t(u):Promise.resolve()}return{animateChanges:i,setActive:function(t,n,o){var a;if(r[t].isActive===n)return Promise.resolve();null==(a=e.variantChildren)||a.forEach(e=>{var r;return null==(r=e.animationState)?void 0:r.setActive(t,n)}),r[t].isActive=n;let s=i(o,t);for(let e in r)r[e].protectedKeys={};return s},setAnimateFunction:function(r){t=r(e)},getState:()=>r}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();this.unmount(),od(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){}}},exit:{Feature:class extends i${constructor(){super(...arguments),this.id=sm++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t,custom:r}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;let o=this.node.animationState.setActive("exit",!e,{custom:null!=r?r:this.node.getProps().custom});t&&!e&&o.then(()=>t(this.id))}mount(){let{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}},inView:{Feature:class extends i${constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var e;let t;this.unmount();let{viewport:r={}}=this.node.getProps(),{root:n,margin:o,amount:i="some",once:a}=r,s={root:n?n.current:void 0,rootMargin:o,threshold:"number"==typeof i?i:iF[i]},l=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,a&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:r,onViewportLeave:n}=this.node.getProps(),o=t?r:n;o&&o(e)};return e=this.node.current,t=function({root:e,...t}){let r=e||document;iz.has(r)||iz.set(r,{});let n=iz.get(r),o=JSON.stringify(t);return n[o]||(n[o]=new IntersectionObserver(iD,{root:e,...t})),n[o]}(s),iB.set(e,l),t.observe(e),()=>{iB.delete(e),t.unobserve(e)}}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}(e,t))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends i${constructor(){super(...arguments),this.removeStartListeners=ih,this.removeEndListeners=ih,this.removeAccessibleListeners=ih,this.startPointerPress=(e,t)=>{if(this.isPressing)return;this.removeEndListeners();let r=this.node.getProps(),n=iM(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;let{onTap:r,onTapCancel:n,globalTapTarget:o}=this.node.getProps();iv.update(()=>{o||ij(this.node.current,e.target)?r&&r(e,t):n&&n(e,t)})},{passive:!(r.onTap||r.onPointerUp)}),o=iM(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=iT(n,o),this.startPress(e,t)},this.startAccessiblePress=()=>{let e=e=>{if("Enter"!==e.key||this.isPressing)return;let t=e=>{"Enter"===e.key&&this.checkPressEnd()&&iO("up",(e,t)=>{let{onTap:r}=this.node.getProps();r&&iv.update(()=>r(e,t))})};this.removeEndListeners(),this.removeEndListeners=i_(this.node.current,"keyup",t),iO("down",(e,t)=>{this.startPress(e,t)})},t=i_(this.node.current,"keydown",e),r=()=>{this.isPressing&&iO("cancel",(e,t)=>this.cancelPress(e,t))},n=i_(this.node.current,"blur",r);this.removeAccessibleListeners=iT(t,n)}}startPress(e,t){this.isPressing=!0;let{onTapStart:r,whileTap:n}=this.node.getProps();n&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&iv.update(()=>r(e,t))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!iN()}cancelPress(e,t){if(!this.checkPressEnd())return;let{onTapCancel:r}=this.node.getProps();r&&iv.update(()=>r(e,t))}mount(){let e=this.node.getProps(),t=iM(e.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),r=i_(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=iT(t,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends i${constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=iT(i_(this.node.current,"focus",()=>this.onFocus()),i_(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends i${mount(){this.unmount=iT(iI(this.node,!0),iI(this.node,!1))}unmount(){}}},pan:{Feature:class extends i${constructor(){super(...arguments),this.removePointerDownListener=ih}onPointerDown(e){this.session=new sv(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:sQ(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:r,onPanEnd:n}=this.node.getProps();return{onSessionStart:s5(e),onStart:s5(t),onMove:r,onEnd:(e,t)=>{delete this.session,n&&iv.update(()=>n(e,t))}}}mount(){this.removePointerDownListener=iM(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends i${constructor(e){super(e),this.removeGroupControls=ih,this.removeListeners=ih,this.controls=new s1(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||ih}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:lY,MeasureLayout:s6},layout:{ProjectionNode:lY,MeasureLayout:s6}},ud=function(e){function t(r,n={}){return function({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:n,Component:o}){e&&function(e){for(let t in e)oy[t]={...oy[t],...e[t]}}(e);let i=(0,eC.forwardRef)(function(i,a){var s;let l,u={...(0,eL.useContext)(ot),...i,layoutId:function({layoutId:e}){let t=(0,eL.useContext)(ob).id;return t&&void 0!==e?t+"-"+e:e}(i)},{isStatic:c}=u,d=function(e){let{initial:t,animate:r}=function(e,t){if(oh(e)){let{initial:t,animate:r}=e;return{initial:!1===t||oc(t)?t:void 0,animate:oc(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,eL.useContext)(or));return(0,eL.useMemo)(()=>({initial:t,animate:r}),[og(t),og(r)])}(i),f=n(i,c);if(!c&&oo){d.visualElement=function(e,t,r,n){let{visualElement:o}=(0,eL.useContext)(or),i=(0,eL.useContext)(oa),a=(0,eL.useContext)(on),s=(0,eL.useContext)(ot).reducedMotion,l=(0,eL.useRef)();n=n||i.renderer,!l.current&&n&&(l.current=n(e,{visualState:t,parent:o,props:r,presenceContext:a,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:s}));let u=l.current;(0,eC.useInsertionEffect)(()=>{u&&u.update(r,a)});let c=(0,eL.useRef)(!!(r[ol]&&!window.HandoffComplete));return oi(()=>{u&&(u.render(),c.current&&u.animationState&&u.animationState.animateChanges())}),(0,eL.useEffect)(()=>{u&&(u.updateFeatures(),!c.current&&u.animationState&&u.animationState.animateChanges(),c.current&&(c.current=!1,window.HandoffComplete=!0))}),u}(o,f,u,t);
137let r=(0,eL.useContext)(ox),n=(0,eL.useContext)(oa).strict;d.visualElement&&(l=d.visualElement.loadFeatures(u,n,e,r))}return ew.createElement(or.Provider,{value:d},l&&d.visualElement?ew.createElement(l,{visualElement:d.visualElement,...u}):null,r(o,i,(s=d.visualElement,(0,eL.useCallback)(e=>{e&&f.mount&&f.mount(e),s&&(e?s.mount(e):s.unmount()),a&&("function"==typeof a?a(e):ou(a)&&(a.current=e))},[s])),f,c,d.visualElement))});return i[oS]=o,i}(e(r,n))}if("u"<typeof Proxy)return t;let r=new Map;return new Proxy(t,{get:(e,n)=>(r.has(n)||r.set(n,t(n)),r.get(n))})}((e,t)=>(function(e,{forwardMotionProps:t=!1},r,n){return{...o_(e)?iS:iw,preloadedFeatures:r,useRender:function(e=!1){return(t,r,n,{latestValues:o},i)=>{let a=(o_(t)?function(e,t,r,n){let o=(0,eL.useMemo)(()=>{let r=o8();return o6(r,t,{enableHardwareAcceleration:!1},ie(n),e.transformTemplate),{...r.attrs,style:{...r.style}}},[t]);if(e.style){let t={};o1(t,e.style,e),o.style={...t,...o.style}}return o}:function(e,t,r){let n,o,i={},a=(n=e.style||{},o1(o={},n,e),Object.assign(o,function({transformTemplate:e},t,r){return(0,eL.useMemo)(()=>{let n=o0();return oQ(n,t,{enableHardwareAcceleration:!r},e),Object.assign({},n.vars,n.style)},[t])}(e,t,r)),e.transformValues?e.transformValues(o):o);return e.drag&&!1!==e.dragListener&&(i.draggable=!1,a.userSelect=a.WebkitUserSelect=a.WebkitTouchCallout="none",a.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(i.tabIndex=0),i.style=a,i})(r,o,i,t),s={...function(e,t,r){let n={};for(let o in e)("values"!==o||"object"!=typeof e.values)&&(o4(o)||!0===r&&o5(o)||!t&&!o5(o)||e.draggable&&o.startsWith("onDrag"))&&(n[o]=e[o]);return n}(r,"string"==typeof t,e),...a,ref:n},{children:l}=r,u=(0,eL.useMemo)(()=>oT(l)?l.get():l,[l]);return(0,ew.createElement)(t,{...s,children:u})}}(t),createVisualElement:n,Component:e}})(e,t,uc,uu));function uf(){let e=!1,t=new Set,r={subscribe:e=>(t.add(e),()=>void t.delete(e)),start(r,n){ih(e);let o=[];return t.forEach(e=>{o.push(sd(e,r,{transitionOverride:n}))}),Promise.all(o)},set:r=>(ih(e),t.forEach(e=>{var t,n;t=e,Array.isArray(n=r)?ss(t,n):"string"==typeof n?ss(t,[n]):sa(t,n)})),stop(){t.forEach(e=>{e.values.forEach(e=>e.stop())})},mount:()=>(e=!0,()=>{e=!1,r.stop()})};return r}let up=function(){let e=il(uf);return oi(e.mount,[]),e};var eL=ex("4RLZr"),ew=ex("10mKg"),ek=ex("iTd5p"),e_=ex("kHSTm");ex("f7SMx");var eC=ex("8G7zL"),eL=ex("4RLZr"),eM=ex("lvLU0"),rf=ex("3HkhM"),rz=ex("1lgv4");ex("f7SMx");var eC=ex("8G7zL"),rA=ex("26kha"),rE=ex("1LwP9"),rR=ex("bc4QB"),eD=ex("1brws"),rd=ex("cE8yR");function uh(e){return(0,rd.default)("MuiButtonGroup",e)}let um=(0,eD.default)("MuiButtonGroup",["root","contained","outlined","text","disableElevation","disabled","firstButton","fullWidth","vertical","grouped","groupedHorizontal","groupedVertical","groupedText","groupedTextHorizontal","groupedTextVertical","groupedTextPrimary","groupedTextSecondary","groupedOutlined","groupedOutlinedHorizontal","groupedOutlinedVertical","groupedOutlinedPrimary","groupedOutlinedSecondary","groupedContained","groupedContainedHorizontal","groupedContainedVertical","groupedContainedPrimary","groupedContainedSecondary","lastButton","middleButton"]);var ej=ex("9BXUG");let ug=["children","className","color","component","disabled","disableElevation","disableFocusRipple","disableRipple","fullWidth","orientation","size","variant"],uv=(0,rE.default)("div",{name:"MuiButtonGroup",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[{[`& .${um.grouped}`]:t.grouped},{[`& .${um.grouped}`]:t[`grouped${(0,rA.default)(r.orientation)}`]},{[`& .${um.grouped}`]:t[`grouped${(0,rA.default)(r.variant)}`]},{[`& .${um.grouped}`]:t[`grouped${(0,rA.default)(r.variant)}${(0,rA.default)(r.orientation)}`]},{[`& .${um.grouped}`]:t[`grouped${(0,rA.default)(r.variant)}${(0,rA.default)(r.color)}`]},{[`& .${um.firstButton}`]:t.firstButton},{[`& .${um.lastButton}`]:t.lastButton},{[`& .${um.middleButton}`]:t.middleButton},t.root,t[r.variant],!0===r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth,"vertical"===r.orientation&&t.vertical]}})(({theme:e,ownerState:t})=>(0,e_.default)({display:"inline-flex",borderRadius:(e.vars||e).shape.borderRadius},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[2]},t.disableElevation&&{boxShadow:"none"},t.fullWidth&&{width:"100%"},"vertical"===t.orientation&&{flexDirection:"column"},{[`& .${um.grouped}`]:(0,e_.default)({minWidth:40,"&:hover":(0,e_.default)({},"contained"===t.variant&&{boxShadow:"none"})},"contained"===t.variant&&{boxShadow:"none"}),[`& .${um.firstButton},& .${um.middleButton}`]:(0,e_.default)({},"horizontal"===t.orientation&&{borderTopRightRadius:0,borderBottomRightRadius:0},"vertical"===t.orientation&&{borderBottomRightRadius:0,borderBottomLeftRadius:0},"text"===t.variant&&"horizontal"===t.orientation&&{borderRight:e.vars?`1px solid rgba(${e.vars.palette.common.onBackgroun
137dChannel} / 0.23)`:`1px solid ${"light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}`,[`&.${um.disabled}`]:{borderRight:`1px solid ${(e.vars||e).palette.action.disabled}`}},"text"===t.variant&&"vertical"===t.orientation&&{borderBottom:e.vars?`1px solid rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:`1px solid ${"light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}`,[`&.${um.disabled}`]:{borderBottom:`1px solid ${(e.vars||e).palette.action.disabled}`}},"text"===t.variant&&"inherit"!==t.color&&{borderColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:(0,rz.alpha)(e.palette[t.color].main,.5)},"outlined"===t.variant&&"horizontal"===t.orientation&&{borderRightColor:"transparent"},"outlined"===t.variant&&"vertical"===t.orientation&&{borderBottomColor:"transparent"},"contained"===t.variant&&"horizontal"===t.orientation&&{borderRight:`1px solid ${(e.vars||e).palette.grey[400]}`,[`&.${um.disabled}`]:{borderRight:`1px solid ${(e.vars||e).palette.action.disabled}`}},"contained"===t.variant&&"vertical"===t.orientation&&{borderBottom:`1px solid ${(e.vars||e).palette.grey[400]}`,[`&.${um.disabled}`]:{borderBottom:`1px solid ${(e.vars||e).palette.action.disabled}`}},"contained"===t.variant&&"inherit"!==t.color&&{borderColor:(e.vars||e).palette[t.color].dark},{"&:hover":(0,e_.default)({},"outlined"===t.variant&&"horizontal"===t.orientation&&{borderRightColor:"currentColor"},"outlined"===t.variant&&"vertical"===t.orientation&&{borderBottomColor:"currentColor"})}),[`& .${um.lastButton},& .${um.middleButton}`]:(0,e_.default)({},"horizontal"===t.orientation&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},"vertical"===t.orientation&&{borderTopRightRadius:0,borderTopLeftRadius:0},"outlined"===t.variant&&"horizontal"===t.orientation&&{marginLeft:-1},"outlined"===t.variant&&"vertical"===t.orientation&&{marginTop:-1})})),uy=eC.forwardRef(function(e,t){let r=(0,rR.useDefaultProps)({props:e,name:"MuiButtonGroup"}),{children:n,className:o,color:i="primary",component:a="div",disabled:s=!1,disableElevation:l=!1,disableFocusRipple:u=!1,disableRipple:c=!1,fullWidth:d=!1,orientation:f="horizontal",size:p="medium",variant:h="outlined"}=r,m=(0,ek.default)(r,ug),g=(0,e_.default)({},r,{color:i,component:a,disabled:s,disableElevation:l,disableFocusRipple:u,disableRipple:c,fullWidth:d,orientation:f,size:p,variant:h}),v=(e=>{let{classes:t,color:r,disabled:n,disableElevation:o,fullWidth:i,orientation:a,variant:s}=e,l={root:["root",s,"vertical"===a&&"vertical",i&&"fullWidth",o&&"disableElevation"],grouped:["grouped",`grouped${(0,rA.default)(a)}`,`grouped${(0,rA.default)(s)}`,`grouped${(0,rA.default)(s)}${(0,rA.default)(a)}`,`grouped${(0,rA.default)(s)}${(0,rA.default)(r)}`,n&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return(0,rf.default)(l,uh,t)})(g),y=eL.useMemo(()=>({className:v.grouped,color:i,disabled:s,disableElevation:l,disableFocusRipple:u,disableRipple:c,fullWidth:d,size:p,variant:h}),[i,s,l,u,c,d,p,h,v.grouped]),b=eC.Children.toArray(n).filter(e=>eC.isValidElement(e)),x=b.length;return(0,ej.jsx)(uv,(0,e_.default)({as:a,role:"group",className:(0,eM.default)(v.root,o),ref:t,ownerState:g},m,{children:(0,ej.jsx)(nv.Provider,{value:y,children:b.map((e,t)=>{let r,n;return(0,ej.jsx)(ny.Provider,{value:(r=0===t,n=t===x-1,r&&n?"":r?v.firstButton:n?v.lastButton:v.middleButton),children:e},t)})})}))});var ew=ex("10mKg"),eL=ex("4RLZr"),ub={},n8=ex("dThT7");Object.defineProperty(ub,"__esModule",{value:!0}),ub.default=void 0;var ux=n8(ex("joZ09")),ej=ex("9BXUG");ub.default=(0,ux.default)((0,ej.jsx)("path",{d:"M2 20h2c.55 0 1-.45 1-1v-9c0-.55-.45-1-1-1H2zm19.83-7.12c.11-.25.17-.52.17-.8V11c0-1.1-.9-2-2-2h-5.5l.92-4.65c.05-.22.02-.46-.08-.66-.23-.45-.52-.86-.88-1.22L14 2 7.59 8.41C7.21 8.79 7 9.3 7 9.83v7.84C7 18.95 8.05 20 9.34 20h8.11c.7 0 1.36-.37 1.72-.97z"}),"ThumbUpAlt");var uS={},n8=ex("dThT7");Object.defineProperty(uS,"__esModule",{value:!0}),uS.default=void 0;var uw=n8(ex("joZ09")),ej=ex("9BXUG");uS.default=(0,uw.default)((0,ej.jsx)("path",{d:"M21 8h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-2c0-1.1-.9-2-2-2m0 4-3 7H9V9l4.34-4.34L12.23 10H21zM1 9h4v12H1z"}),"ThumbUpAltOutlined");let u_=({disabled:e,rating:t,iconSize:r=14,onClick:n})=>{let[o,i]=(0,eL.useState)(!1),{isTabletOrMobile:a}=ra(),s=ri(),l=up();(0,eL.useEffect)(()=>{},[o]);let u=(0,eL.useCallback)(()=>{let e={hidden:e=>({opacity:0,y:-(2*r),x:r/2,scale:1,transition:{delay:.1*e,duration:.5,ease:"easeInOut"}}),visible:e=>({opacity:[0,1,0],y:-100-Math.random()*e*r,x:Math.random()*e*(r/2),scale:1.1,staggerChildren:.1,transition:{delay:.1*e,duration:.5,ease:"easeInOut"}})};return Array.from({length:10},(t,n)=>(0,ew.h)(eW,{key:n,custom:n,component:ud.div,initial:"hidden",animate:"visible",exit:"exit",variants:e,style:{position:"absolute"}},(0,ew.h)(h(ub),{size:r,style:{color:s.palette.success.main}})))},[]),c=(0,eL.useCallback)(()=>{i(!0),setTimeout(()=>{i(!1),n()},1500)},[n,i]),{translate:d}=n0();return(0,ew.h)("div",{style:{position:"relative"}}
137,(0,ew.h)(nk,{"aria-label":"like",startIcon:(0,ew.h)(ud.div,{animate:l},5===t?(0,ew.h)(h(ub),{size:r,color:o?"success":"inherit"}):(0,ew.h)(h(uS),{size:r,color:o?"success":"inherit"})),sx:{color:o?s.palette.success.main:void 0,position:"relative","&:disabled":{color:"#ccc"}},onClick:c,onMouseDown:()=>{l.start({scale:.9,rotate:15})},onMouseUp:()=>l.start({scale:1,rotate:0}),disabled:o||e},!a&&(0,ew.h)(rB,{variant:"body1",fontSize:"14px",color:o?s.palette.success.main:void 0,sx:{textTransform:"none"}},d("Like"))),o&&u())};var ew=ex("10mKg"),uk={},n8=ex("dThT7");Object.defineProperty(uk,"__esModule",{value:!0}),uk.default=void 0;var uC=n8(ex("joZ09")),ej=ex("9BXUG");uk.default=(0,uC.default)((0,ej.jsx)("path",{d:"M22 4h-2c-.55 0-1 .45-1 1v9c0 .55.45 1 1 1h2zM2.17 11.12c-.11.25-.17.52-.17.8V13c0 1.1.9 2 2 2h5.5l-.92 4.65c-.05.22-.02.46.08.66.23.45.52.86.88 1.22L10 22l6.41-6.41c.38-.38.59-.89.59-1.42V6.34C17 5.05 15.95 4 14.66 4h-8.1c-.71 0-1.36.37-1.72.97z"}),"ThumbDownAlt");var uM={},n8=ex("dThT7");Object.defineProperty(uM,"__esModule",{value:!0}),uM.default=void 0;var uP=n8(ex("joZ09")),ej=ex("9BXUG");uM.default=(0,uP.default)((0,ej.jsx)("path",{d:"M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v2c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.58-6.59c.37-.36.59-.86.59-1.41V5c0-1.1-.9-2-2-2m0 12-4.34 4.34L11.77 14H3v-2l3-7h9zm4-12h4v12h-4z"}),"ThumbDownAltOutlined");let uT=({disabled:e,rating:t,onClick:r})=>{let n=up();return(0,ew.h)(nk,{disabled:e,"aria-label":"dislike",color:"secondary",sx:{"&:disabled":{color:"#ccc"}},onMouseDown:()=>n.start({scale:.9,rotate:-15}),onMouseUp:()=>{n.start({scale:1,rotate:0})},onClick:r},(0,ew.h)(ud.div,{animate:n},1===t?(0,ew.h)(h(uk),null):(0,ew.h)(h(uM),null)))},uE=({rating:e,disabled:t,onLike:r,onDislike:n})=>(0,ew.h)(uy,{variant:"text",color:"secondary"},(0,ew.h)(u_,{rating:e,disabled:t,onClick:r}),(0,ew.h)(uT,{rating:e,onClick:n,disabled:t}));var ew=ex("10mKg"),eL=ex("4RLZr"),e_=ex("kHSTm"),ek=ex("iTd5p");ex("f7SMx");var eC=ex("8G7zL"),ew=ex("10mKg"),eL=ex("4RLZr");function uR(e){return(e&&e.ownerDocument||document).defaultView||window}var ej=ex("9BXUG");let uL=["onChange","maxRows","minRows","style","value"];function uA(e){return parseInt(e,10)||0}let uN={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function u$(e){return function(e){for(let t in e)return!1;return!0}(e)||0===e.outerHeightStyle&&!e.overflowing}let uI=eC.forwardRef(function(e,t){let{onChange:r,maxRows:n,minRows:o=1,style:i,value:a}=e,s=(0,ek.default)(e,uL),{current:l}=eL.useRef(null!=a),u=eL.useRef(null),c=rD(t,u),d=eL.useRef(null),f=eL.useRef(null),p=eL.useCallback(()=>{let t=u.current,r=f.current;if(!t||!r)return;let i=uR(t).getComputedStyle(t);if("0px"===i.width)return{outerHeightStyle:0,overflowing:!1};r.style.width=i.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");let a=i.boxSizing,s=uA(i.paddingBottom)+uA(i.paddingTop),l=uA(i.borderBottomWidth)+uA(i.borderTopWidth),c=r.scrollHeight;r.value="x";let d=r.scrollHeight,p=c;return o&&(p=Math.max(Number(o)*d,p)),n&&(p=Math.min(Number(n)*d,p)),{outerHeightStyle:(p=Math.max(p,d))+("border-box"===a?s+l:0),overflowing:1>=Math.abs(p-c)}},[n,o,e.placeholder]),h=rF(()=>{let e=u.current,t=p();if(!e||!t||u$(t))return!1;let r=t.outerHeightStyle;return null!=d.current&&d.current!==r}),m=eL.useCallback(()=>{let e=u.current,t=p();if(!e||!t||u$(t))return;let r=t.outerHeightStyle;d.current!==r&&(d.current=r,e.style.height=`${r}px`),e.style.overflow=t.overflowing?"hidden":""},[p]),g=eL.useRef(-1);return eQ(()=>{let e,t=function(e,t=166){let r;function n(...o){let i=()=>{e.apply(this,o)};clearTimeout(r),r=setTimeout(i,t)}return n.clear=()=>{clearTimeout(r)},n}(m),r=null==u?void 0:u.current;if(!r)return;let n=uR(r);return n.addEventListener("resize",t),"u">typeof ResizeObserver&&(e=new ResizeObserver(()=>{h()&&(e.unobserve(r),cancelAnimationFrame(g.current),m(),g.current=requestAnimationFrame(()=>{e.observe(r)}))})).observe(r),()=>{t.clear(),cancelAnimationFrame(g.current),n.removeEventListener("resize",t),e&&e.disconnect()}},[p,m,h]),eQ(()=>{m()}),(0,ej.jsxs)(ew.Fragment,{children:[(0,ej.jsx)("textarea",(0,e_.default)({value:a,onChange:e=>{l||m(),r&&r(e)},ref:c,rows:o,style:i}
137,s)),(0,ej.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:f,tabIndex:-1,style:(0,e_.default)({},uN,i,{paddingTop:0,paddingBottom:0})})]})});var uj={},n8=ex("dThT7");Object.defineProperty(uj,"__esModule",{value:!0}),uj.default=void 0;var uO=n8(ex("joZ09")),ej=ex("9BXUG");uj.default=(0,uO.default)((0,ej.jsx)("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check");let uB=({animation:e,duration:t,isSubmitted:r,onSubmit:n,onClose:o})=>{let[i,a]=(0,eL.useState)(""),s=ri(),l=(0,eL.useCallback)(()=>{e.start({x:"100%",opacity:0,transition:{duration:t,ease:"easeInOut"}}),o()},[o]),u=(0,eL.useCallback)(e=>{a(e.target?.value)},[a]),c=(0,eL.useCallback)(()=>{n(1,i.trim())},[n,i]),{translate:d}=n0();return(0,ew.h)(eW,{sx:{backgroundColor:s.palette.primary.dark,display:"flex",alignItems:"center",justifyContent:"center",height:"auto",width:"auto",padding:"18px",marginBottom:"72px",borderRadius:"4px",boxShadow:"0px 1px 3px 0px rgba(0, 0, 0, 0.30), 0px 4px 8px 3px rgba(0, 0, 0, 0.15);"},component:ud.div,initial:{x:"100%",opacity:0}
137,animate:e},(0,ew.h)(rL,{spacing:2,width:"100%"},(0,ew.h)(eW,{sx:{height:"24px"},display:"flex",width:"100%",alignItems:"flex-end",justifyContent:r?"flex-end":"space-between"},!r&&(0,ew.h)(rB,{variant:"body1",color:"secondary"},d("Give feedback")),(0,ew.h)(n9,{"aria-label":"close",color:"secondary",onClick:l},(0,ew.h)(h(n6),null))),r?(0,ew.h)(rL,{spacing:2,width:"100%",alignItems:"center",justifyContent:"center",paddingBottom:4},(0,ew.h)(eW,{sx:{backgroundColor:s.palette.success.main,borderRadius:"2px",padding:"4px",display:"flex",alignItems:"center",justifyContent:"center",height:"24px",width:"24px"}},(0,ew.h)(h(uj),{color:"secondary"})),(0,ew.h)(rB,{variant:"body1",color:"secondary"},d("Thank you for your feedback!"))):(0,ew.h)(rL,{spacing:2,width:"100%"},(0,ew.h)(uI,{variant:"dark",value:i,onChange:u,"aria-label":"reason",minRows:3,placeholder:d("Write your message here"),style:{color:s.palette.secondary.main,width:"100%",padding:"8px",borderRadius:"4px",background:"transparent",borderColor:s.palette.primary.light,borderWidth:"1px",borderStyle:"solid"}}),(0,ew.h)(eW,{sx:{height:"24px"},display:"flex",width:"100%",alignItems:"center",justifyContent:"space-between"},(0,ew.h)(nk,{"aria-label":"skip",color:"secondary",onClick:c},d("Skip")),(0,ew.h)(nk,{"aria-label":"submit",color:"primary",variant:"contained",disableElevation:!0,onClick:c},d("Submit"))))))},uz=({layoutMode:e,showFeedback:t,submitFeedback:r})=>{let[n,o]=(0,eL.useState)(!1),[i,a]=(0,eL.useState)(0),s=ri(),{isInSession:l}=ru(),u=(0,eL.useMemo)(()=>{let r={position:"absolute",bottom:0,right:0,zIndex:100001,padding:4,display:"flex",alignItems:"flex-end",justifyContent:"flex-end",textAlign:"left",pointerEvents:t?"all":"none",transition:"bottom 0.2s",[s.breakpoints.down("md")]:{width:"100%",justifyContent:"center",padding:0,paddingBottom:4,bottom:48*("contained"===e)}};return"overlay"===e&&(r={...r,width:"auto",height:"fit-content",position:"fixed",top:"auto",bottom:l?210:110,right:10,padding:0,[s.breakpoints.down("md")]:{right:8}}),r},[e,t,l]),c=up(),d=up();(0,eL.useEffect)(()=>{t&&l?c.start({x:0,opacity:1,transition:{duration:.2,ease:"easeInOut",delay:2}}):c.start({x:"100%",opacity:0,transition:{duration:.2,ease:"easeInOut",delay:2}})},[c,t,l]);let f=(0,eL.useCallback)(()=>{c.start({x:"100%",opacity:0,transition:{duration:.2,ease:"easeInOut"}}),d.start({x:"100%",opacity:0,transition:{duration:.2,ease:"easeInOut"}})},[c,d]),p=(0,eL.useCallback)(()=>{a(0)},[a]),m=(0,eL.useCallback)(async(e,t)=>{try{a(e),o(!0),await r(e,t)}catch(e){console.error(e)}finally{setTimeout(()=>{o(!1),a(0)},4e3),f()}},[o,f,a,r]),g=(0,eL.useCallback)(()=>{m(5,"Positive feedback")},[m]),v=(0,eL.useCallback)(()=>{a(1),d.start({x:0,opacity:1,transition:{duration:.2,ease:"easeInOut"}})},[a]),{translate:y}=n0();return l?(0,ew.h)(eW,{id:"uneeq-feedback-container",sx:u},(0,ew.h)(rL,{spacing:2},(0,ew.h)(uB,{animation:d,duration:.2,isSubmitted:n,onSubmit:m,onClose:p}),(0,ew.h)(eW,{id:"uneeq-feedback-snackbar",sx:{backgroundColor:s.palette.primary.dark,display:"flex",alignItems:"center",justifyContent:"center",position:"relative",height:"64px",width:"auto",padding:"0 18px",borderRadius:"4px",boxShadow:"0px 1px 3px 0px rgba(0, 0, 0, 0.30), 0px 4px 8px 3px rgba(0, 0, 0, 0.15);"},component:ud.div,initial:{x:"100%",opacity:0}
137,animate:c},(0,ew.h)(eW,{display:"flex",alignItems:"center",gap:2},(0,ew.h)(rB,{variant:"body1",color:"secondary",fontSize:"14px"},y("Was this response helpful?")),(0,ew.h)(uE,{rating:i,disabled:n,onLike:g,onDislike:v}),(0,ew.h)(n9,{"aria-label":"close",color:"secondary",onClick:f},(0,ew.h)(h(n6),null)))))):(0,ew.h)(ew.Fragment,null)},uU=({sessionStarted:e,isInSession:t,layoutMode:r,showFeedback:n,submitFeedback:o})=>{let[i,a]=(0,tr.useAtom)(t5),[s]=(0,tr.useAtom)(t7),{state:l}=ru();switch((0,eL.useEffect)(()=>"contained"===r&&t&&"Paused"===l?a(tQ.INITIAL):e||n&&"overlay"==s?a(tQ.IN_SESSION):t&&!e?a(tQ.SESSION_START):a(tQ.INITIAL),[t,e,l,a,n,s]),i){case tQ.INITIAL:return(0,ew.h)(n1,null);case tQ.SESSION_START:return(0,ew.h)(n2,{layoutMode:s});case tQ.IN_SESSION:return(0,ew.h)(uz,{layoutMode:s,showFeedback:n,submitFeedback:o});default:return null}};var ew=ex("10mKg");ex("9BXUG");var ew=ex("10mKg"),ej=ex("9BXUG");ex("f7SMx");var eC=ex("8G7zL"),eM=ex("lvLU0"),ej=ex("9BXUG");ex("f7SMx"),ex("f7SMx");var ew=ex("10mKg"),eL=ex("4RLZr");let uD=(0,ew.createContext)(null);function uF(){let e=(0,eL.useContext)(uD);if(!e)throw Error("[@mantine/core] MantineProvider was not found in tree");return e}function uV(){return uF().getStyleNonce}function uW(){return uF().env||"default"}function uH(e){return Object.keys(e)}function uG(e){return uH(e).reduce((t,r)=>void 0!==e[r]?`${t}${r.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}:${e[r]};`:t,"").trim()}function uX(e){let t=uV();return(0,ej.jsx)("style",{"data-mantine-styles":"inline",nonce:t?.(),dangerouslySetInnerHTML:{__html:function({selector:e,styles:t,media:r,container:n}){let o=t?uG(t):"",i=Array.isArray(r)?r.map(t=>`@media${t.query}{${e}{${uG(t.styles)}}}`):[],a=Array.isArray(n)?n.map(t=>`@container ${t.query}{${e}{${uG(t.styles)}}}`):[];return`${o?`${e}{${o}}`:""}${i.join("")}${a.join("")}`.trim()}(e)}})}function uq(e){if("number"==typeof e)return!0;if("string"==typeof e){if(e.startsWith("calc(")||e.startsWith("var(")||e.includes(" ")&&""!==e.trim())return!0;let t=/^[+-]?[0-9]+(\.[0-9]+)?(px|em|rem|ex|ch|lh|rlh|vw|vh|vmin|vmax|vb|vi|svw|svh|lvw|lvh|dvw|dvh|cm|mm|in|pt|pc|q|cqw|cqh|cqi|cqb|cqmin|cqmax|%)?$/;return e.trim().split(/\s+/).every(e=>t.test(e))}return!1}ex("f7SMx"),ex("9BXUG");var ej=ex("9BXUG");ex("f7SMx");var ew=ex("10mKg"),eL=ex("4RLZr");function uK(e){return"0rem"===e?"0rem":`calc(${e} * var(--mantine-scale))`}function uZ(e,{shouldScale:t=!1}={}){return function r(n){if(0===n||"0"===n)return`0${e}`;if("number"==typeof n){let r=`${n/16}${e}`;return t?uK(r):r}if("string"==typeof n){if(""===n||n.startsWith("calc(")||n.startsWith("clamp(")||n.includes("rgba("))return n;if(n.includes(","))return n.split(",").map(e=>r(e)).join(",");if(n.includes(" "))return n.split(" ").map(e=>r(e)).join(" ");if(n.includes(e))return t?uK(n):n;let o=n.replace("px","");if(!Number.isNaN(Number(o))){let r=`${Number(o)/16}${e}`;return t?uK(r):r}}return n}}let uY=uZ("rem",{shouldScale:!0}),uJ=uZ("em");function uQ(e){if(/^#?([0-9A-F]{3}){1,2}([0-9A-F]{2})?$/i.test(e)){let t=e.replace("#","");if(3===t.length){let e=t.split("");t=[e[0],e[0],e[1],e[1],e[2],e[2]].join("")}if(8===t.length){let e=parseInt(t.slice(6,8),16)/255;return{r:parseInt(t.slice(0,2),16),g:parseInt(t.slice(2,4),16),b:parseInt(t.slice(4,6),16),a:e}}let r=parseInt(t,16);return{r:r>>16&255,g:r>>8&255,b:255&r,a:1}}return e.startsWith("rgb")?function(e){let[t,r,n,o]=e.replace(/[^0-9,./]/g,"").split(/[/,]/).map(Number);return{r:t,g:r,b:n,a:void 0===o?1:o}}(e):e.startsWith("hsl")?function(e){let t,r,n,o=e.match(/^hsla?\(\s*(\d+)\s*,\s*(\d+%)\s*,\s*(\d+%)\s*(,\s*(0?\.\d+|\d+(\.\d+)?))?\s*\)$/i);if(!o)return{r:0,g:0,b:0,a:1};let i=parseInt(o[1],10),a=parseInt(o[2],10)/100,s=parseInt(o[3],10)/100,l=o[5]?parseFloat(o[5]):void 0,u=(1-Math.abs(2*s-1))*a,c=i/60,d=u*(1-Math.abs(c%2-1)),f=s-u/2;return c>=0&&c<1?(t=u,r=d,n=0):c>=1&&c<2?(t=d,r=u,n=0):c>=2&&c<3?(t=0,r=u,n=d):c>=3&&c<4?(t=0,r=d,n=u):c>=4&&c<5?(t=d,r=0,n=u):(t=u,r=0,n=d),{r:Math.round((t+f)*255),g:Math.round((r+f)*255),b:Math.round((n+f)*255),a:l||1}}(e):{r:0,g:0,b:0,a:1}}function u0(e,t){if(e.startsWith("var("))return`color-mix(in srgb, ${e}, black ${100*t}%)`;let{r:r,g:n,b:o,a:i}=uQ(e),a=1-t,s=e=>Math.round(e*a);return`rgba(${s(r)}, ${s(n)}, ${s(o)}, ${i})`}function u1(e,t){return"number"==typeof e.primaryShade?e.primaryShade:"dark"===t?e.primaryShade.dark:e.primaryShade.light}function u2(e){return e<=.03928?e/12.92:((e+.055)/1.055)**2.4}function u5(e,t=.179){return!e.startsWith("var(")&&function(e){if(e.startsWith("oklch(")){let t;return(((t=e.match(/oklch\((.*?)%\s/))?parseFloat(t[1]):null)||0)/100}let{r:t,g:r,b:n}=uQ(e);return .2126*u2(t/255)+.7152*u2(r/255)+.0722*u2(n/255)}(e)>t}function u4({color:e,theme:t,colorScheme:r}){if("string"!=typeof e)throw Error(`[@mantine/core] Failed to parse color. Expected color to be a string, instead got ${typeof e}`);if("bright"===e)return{color:e,value:"dark"===r?t.white:t.black,shade:void 0,isThemeColor:!1,isLight:u5("dark"===r?t.white:t.black,t.luminanceThreshold),variable:"--mantine-color-bright"};if("dimmed"===e)return{color:e,value:"dark"===r?t.colors.dark[2]:t.colors.gray[7],shade:void 0,isThemeColor:!1,isLight:u5("dark"===r?t.colors.dark[2]:t.colors.gray[6],t.luminanceThreshold),variable:"--mantine-color-dimmed"};if("white"===e||"black"===e)return{color:e,value:"white"===e?t.white:t.black,shade:void 0,isThemeColor:!1,isLight:u5("white"===e?t.white:t.black,t.luminanceThreshold),variable:`--mantine-color-${e}`};let[n,o]=e.split("."),i=o?Number(o):void 0,a=n in t.colors;if(a){let e=void 0!==i?t.colors[n][i]:t.colors[n][u1(t,r||"light")];return{color:n,value:e,shade:i,isThemeColor:a,isLight:u5(e,t.luminanceThreshold),variable:o?`--mantine-color-${n}-${i}`:`--mantine-color-${n}-filled`}}return{color:e,value:e,isThemeColor:a,isLight:u5(e,t.luminanceThreshold),shade:i,variable:void 0}}function u7(e,t){let r=u4({color:e||t.primaryColor,theme:t});return r.variable?`var(${r.variable})`:e}function u3(e,t){let r={from:e?.from||t.defaultGradient.from,to:e?.to||t.defaultGradient.to,deg:e?.deg??t.defaultGradient.deg??0},n=u7(r.from,t),o=u7(r.to,t);return`linear-gradient(${r.deg}deg, ${n} 0%, ${o} 100%)`}function u9(e,t){if("string"!=typeof e||t>1||t<0)return"rgba(0, 0, 0, 1)";if(e.startsWith("var("))return`color-mix(in srgb, ${e}, transparent ${(1-t)*100}%)`;if(e.startsWith("oklch"))return e.includes("/")?e.replace(/\/\s*[\d.]+\s*\)/,`/ ${t})`):e.replace(")",` / ${t})`);let{r:r,g:n,b:o}=uQ(e);return`rgba(${r}, ${n}, ${o}, ${t})`}ex("f7SMx"),ex("9BXUG"),ex("f7SMx"),ex("9BXUG");let u6="-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji",u8={scale:1,fontSmoothing:!0,focusRing:"auto",white:"#fff",black:"#000",colors:{dark:["#C9C9C9","#b8b8b8","#828282","#696969","#424242","#3b3b3b","#2e2e2e","#242424","#1f1f1f","#141414"],gray:["#f8f9fa","#f1f3f5","#e9ecef","#dee2e6","#ced4da","#adb5bd","#868e96","#495057","#343a40","#212529"],red:["#fff5f5","#ffe3e3","#ffc9c9","#ffa8a8","#ff8787","#ff6b6b","#fa5252","#f03e3e","#e03131","#c92a2a"],pink:["#fff0f6","#ffdeeb","#fcc2d7","#faa2c1","#f783ac","#f06595","#e64980","#d6336c","#c2255c","#a61e4d"],grape:["#f8f0fc","#f3d9fa","#eebefa","#e599f7","#da77f2","#cc5de8","#be4bdb","#ae3ec9","#9c36b5","#862e9c"],violet:["#f3f0ff","#e5dbff","#d0bfff","#b197fc","#9775fa","#845ef7","#7950f2","#7048e8","#6741d9","#5f3dc4"],indigo:["#edf2ff","#dbe4ff","#bac8ff","#91a7ff","#748ffc","#5c7cfa","#4c6ef5","#4263eb","#3b5bdb","#364fc7"],blue:["#e7f5ff","#d0ebff","#a5d8ff","#74c0fc","#4dabf7","#339af0","#228be6","#1c7ed6","#1971c2","#1864ab"],cyan:["#e3fafc","#c5f6fa","#99e9f2","#66d9e8","#3bc9db","#22b8cf","#15aabf","#1098ad","#0c8599","#0b7285"],teal:["#e6fcf5","#c3fae8","#96f2d7","#63e6be","#38d9a9","#20c997","#12b886","#0ca678","#099268","#087f5b"],green:["#ebfbee","#d3f9d8","#b2f2bb","#8ce99a","#69db7c","#51cf66","#40c057","#37b24d","#2f9e44","#2b8a3e"],lime:["#f4fce3","#e9fac8","#d8f5a2","#c0eb75","#a9e34b","#94d82d","#82c91e","#74b816","#66a80f","#5c940d"],yellow:["#fff9db","#fff3bf","#ffec99","#ffe066","#ffd43b","#fcc419","#fab005","#f59f00","#f08c00","#e67700"],orange:["#fff4e6","#ffe8cc","#ffd8a8","#ffc078","#ffa94d","#ff922b","#fd7e14","#f76707","#e8590c","#d9480f"]},primaryShade:{light:6,dark:8},primaryColor:"blue",variantColorResolver:({color:e,theme:t,variant:r,gradient:n,autoContrast:o})=>{let i=u4({color:e,theme:t}),a="boolean"==typeof o?o:t.autoContrast;if("filled"===r){let t=a&&i.isLight?"var(--mantine-color-black)":"var(--mantine-color-white)";return i.isThemeColor?void 0===i.shade?{background:`var(--mantine-color-${e}-filled)`,hover:`var(--mantine-color-${e}-filled-hover)`,color:t,border:`${uY(1)} solid transparent`}
137:{background:`var(--mantine-color-${i.color}-${i.shade})`,hover:`var(--mantine-color-${i.color}-${9===i.shade?8:i.shade+1})`,color:t,border:`${uY(1)} solid transparent`}:{background:e,hover:u0(e,.1),color:t,border:`${uY(1)} solid transparent`}}if("light"===r){if(i.isThemeColor){if(void 0===i.shade)return{background:`var(--mantine-color-${e}-light)`,hover:`var(--mantine-color-${e}-light-hover)`,color:`var(--mantine-color-${e}-light-color)`,border:`${uY(1)} solid transparent`};let r=t.colors[i.color][i.shade];return{background:u9(r,.1),hover:u9(r,.12),color:`var(--mantine-color-${i.color}-${Math.min(i.shade,6)})`,border:`${uY(1)} solid transparent`}}return{background:u9(e,.1),hover:u9(e,.12),color:e,border:`${uY(1)} solid transparent`}}if("outline"===r)return i.isThemeColor?void 0===i.shade?{background:"transparent",hover:`var(--mantine-color-${e}-outline-hover)`,color:`var(--mantine-color-${e}-outline)`,border:`${uY(1)} solid var(--mantine-color-${e}-outline)`}:{background:"transparent",hover:u9(t.colors[i.color][i.shade],.05),color:`var(--mantine-color-${i.color}-${i.shade})`,border:`${uY(1)} solid var(--mantine-color-${i.color}-${i.shade})`}:{background:"transparent",hover:u9(e,.05),color:e,border:`${uY(1)} solid ${e}`};if("subtle"===r)return i.isThemeColor?void 0===i.shade?{background:"transparent",hover:`var(--mantine-color-${e}-light-hover)`,color:`var(--mantine-color-${e}-light-color)`,border:`${uY(1)} solid transparent`}:{background:"transparent",hover:u9(t.colors[i.color][i.shade],.12),color:`var(--mantine-color-${i.color}-${Math.min(i.shade,6)})`,border:`${uY(1)} solid transparent`}:{background:"transparent",hover:u9(e,.12),color:e,border:`${uY(1)} solid transparent`};if("transparent"===r)return i.isThemeColor?void 0===i.shade?{background:"transparent",hover:"transparent",color:`var(--mantine-color-${e}-light-color)`,border:`${uY(1)} solid transparent`}:{background:"transparent",hover:"transparent",color:`var(--mantine-color-${i.color}-${Math.min(i.shade,6)})`,border:`${uY(1)} solid transparent`}:{background:"transparent",hover:"transparent",color:e,border:`${uY(1)} solid transparent`};if("white"===r)return i.isThemeColor?void 0===i.shade?{background:"var(--mantine-color-white)",hover:u0(t.white,.01),color:`var(--mantine-color-${e}-filled)`,border:`${uY(1)} solid transparent`}:{background:"var(--mantine-color-white)",hover:u0(t.white,.01),color:`var(--mantine-color-${i.color}-${i.shade})`,border:`${uY(1)} solid transparent`}:{background:"var(--mantine-color-white)",hover:u0(t.white,.01),color:e,border:`${uY(1)} solid transparent`};return"gradient"===r?{background:u3(n,t),hover:u3(n,t),color:"var(--mantine-color-white)",border:"none"}:"default"===r?{background:"var(--mantine-color-default)",hover:"var(--mantine-color-default-hover)",color:"var(--mantine-color-default-color)",border:`${uY(1)} solid var(--mantine-color-default-border)`}:{}},autoContrast:!1,luminanceThreshold:.3,fontFamily:u6,fontFamilyMonospace:"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace",respectReducedMotion:!1,cursorType:"default",defaultGradient:{from:"blue",to:"cyan",deg:45},defaultRadius:"sm",activeClassName:"mantine-active",focusClassName:"",headings:{fontFamily:u6,fontWeight:"700",textWrap:"wrap",sizes:{h1:{fontSize:uY(34),lineHeight:"1.3"},h2:{fontSize:uY(26),lineHeight:"1.35"},h3:{fontSize:uY(22),lineHeight:"1.4"},h4:{fontSize:uY(18),lineHeight:"1.45"},h5:{fontSize:uY(16),lineHeight:"1.5"},h6:{fontSize:uY(14),lineHeight:"1.5"}}},fontSizes:{xs:uY(12),sm:uY(14),md:uY(16),lg:uY(18),xl:uY(20)},lineHeights:{xs:"1.4",sm:"1.45",md:"1.55",lg:"1.6",xl:"1.65"},radius:{xs:uY(2),sm:uY(4),md:uY(8),lg:uY(16),xl:uY(32)},spacing:{xs:uY(10),sm:uY(12),md:uY(16),lg:uY(20),xl:uY(32)},breakpoints:{xs:"36em",sm:"48em",md:"62em",lg:"75em",xl:"88em"},shadows:{xs:`0 ${uY(1)} ${uY(3)} rgba(0, 0, 0, 0.05), 0 ${uY(1)} ${uY(2)} rgba(0, 0, 0, 0.1)`,sm:`0 ${uY(1)} ${uY(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${uY(10)} ${uY(15)} ${uY(-5)}, rgba(0, 0, 0, 0.04) 0 ${uY(7)} ${uY(7)} ${uY(-5)}`,md:`0 ${uY(1)} ${uY(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${uY(20)} ${uY(25)} ${uY(-5)}, rgba(0, 0, 0, 0.04) 0 ${uY(10)} ${uY(10)} ${uY(-5)}`,lg:`0 ${uY(1)} ${uY(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${uY(28)} ${uY(23)} ${uY(-7)}, rgba(0, 0, 0, 0.04) 0 ${uY(12)} ${uY(12)} ${uY(-7)}`,xl:`0 ${uY(1)} ${uY(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${uY(36)} ${uY(28)} ${uY(-7)}, rgba(0, 0, 0, 0.04) 0 ${uY(17)} ${uY(17)} ${uY(-7)}`},other:{},components:{}};function ce(e){return e&&"object"==typeof e&&!Array.isArray(e)}function ct(e,t){let r={...e};return ce(e)&&ce(t)&&Object.keys(t).forEach(n=>{ce(t[n])&&n in e?r[n]=ct(r[n],t[n]):r[n]=t[n]}),r}ex("f7SMx"),ex("9BXUG");function cr(e){return!(e<0)&&!(e>9)&&parseInt(e.toString(),10)===e}function cn(e){if(!(e.primaryColor in e.colors))throw Error("[@mantine/core] MantineProvider: Invalid theme.primaryColor, it accepts only key of theme.colors, learn more – https://mantine.dev/theming/colors/#primary-color");
137if("object"==typeof e.primaryShade&&(!cr(e.primaryShade.dark)||!cr(e.primaryShade.light))||"number"==typeof e.primaryShade&&!cr(e.primaryShade))throw Error("[@mantine/core] MantineProvider: Invalid theme.primaryShade, it accepts only 0-9 integers or an object { light: 0-9, dark: 0-9 }")}let co=(0,ew.createContext)(null);function ci(){let e=(0,eL.useContext)(co);if(!e)throw Error("@mantine/core: MantineProvider was not found in component tree, make sure you have it in your app");return e}function ca({theme:e,children:t,inherit:r=!0}){let n=(0,eL.useContext)(co)||u8,o=(0,eL.useMemo)(()=>(function(e,t){if(!t)return cn(e),e;let r=ct(e,t);return t.fontFamily&&!t.headings?.fontFamily&&(r.headings.fontFamily=t.fontFamily),cn(r),r})(r?n:u8,e),[e,n,r]);return(0,ej.jsx)(co.Provider,{value:o,children:t})}function cs(e){return e.startsWith("data-")?e:`data-${e}`}function cl(e,t){return Array.isArray(e)?[...e].reduce((e,r)=>({...e,...cl(r,t)}),{}):"function"==typeof e?e(t):null==e?{}:e}function cu(e){return Object.keys(e).reduce((t,r)=>(void 0!==e[r]&&(t[r]=e[r]),t),{})}function cc(e){let{m:t,mx:r,my:n,mt:o,mb:i,ml:a,mr:s,me:l,ms:u,p:c,px:d,py:f,pt:p,pb:h,pl:m,pr:g,pe:v,ps:y,bd:b,bg:x,c:S,opacity:w,ff:_,fz:k,fw:C,lts:M,ta:P,lh:T,fs:E,tt:R,td:L,w:A,miw:N,maw:$,h:I,mih:j,mah:O,bgsz:B,bgp:z,bgr:U,bga:D,pos:F,top:V,left:W,bottom:H,right:G,inset:X,display:q,flex:K,hiddenFrom:Z,visibleFrom:Y,lightHidden:J,darkHidden:Q,sx:ee,...et}=e;return{styleProps:cu({m:t,mx:r,my:n,mt:o,mb:i,ml:a,mr:s,me:l,ms:u,p:c,px:d,py:f,pt:p,pb:h,pl:m,pr:g,pe:v,ps:y,bd:b,bg:x,c:S,opacity:w,ff:_,fz:k,fw:C,lts:M,ta:P,lh:T,fs:E,tt:R,td:L,w:A,miw:N,maw:$,h:I,mih:j,mah:O,bgsz:B,bgp:z,bgr:U,bga:D,pos:F,top:V,left:W,bottom:H,right:G,inset:X,display:q,flex:K,hiddenFrom:Z,visibleFrom:Y,lightHidden:J,darkHidden:Q,sx:ee}),rest:et}}ca.displayName="@mantine/core/MantineThemeProvider",ex("f7SMx"),ex("9BXUG");let cd={m:{type:"spacing",property:"margin"},mt:{type:"spacing",property:"marginTop"},mb:{type:"spacing",property:"marginBottom"},ml:{type:"spacing",property:"marginLeft"},mr:{type:"spacing",property:"marginRight"},ms:{type:"spacing",property:"marginInlineStart"},me:{type:"spacing",property:"marginInlineEnd"},mx:{type:"spacing",property:"marginInline"},my:{type:"spacing",property:"marginBlock"},p:{type:"spacing",property:"padding"},pt:{type:"spacing",property:"paddingTop"},pb:{type:"spacing",property:"paddingBottom"},pl:{type:"spacing",property:"paddingLeft"},pr:{type:"spacing",property:"paddingRight"},ps:{type:"spacing",property:"paddingInlineStart"},pe:{type:"spacing",property:"paddingInlineEnd"},px:{type:"spacing",property:"paddingInline"},py:{type:"spacing",property:"paddingBlock"},bd:{type:"border",property:"border"},bg:{type:"color",property:"background"},c:{type:"textColor",property:"color"},opacity:{type:"identity",property:"opacity"},ff:{type:"fontFamily",property:"fontFamily"},fz:{type:"fontSize",property:"fontSize"},fw:{type:"identity",property:"fontWeight"},lts:{type:"size",property:"letterSpacing"},ta:{type:"identity",property:"textAlign"},lh:{type:"lineHeight",property:"lineHeight"},fs:{type:"identity",property:"fontStyle"},tt:{type:"identity",property:"textTransform"},td:{type:"identity",property:"textDecoration"},w:{type:"spacing",property:"width"},miw:{type:"spacing",property:"minWidth"},maw:{type:"spacing",property:"maxWidth"},h:{type:"spacing",property:"height"},mih:{type:"spacing",property:"minHeight"},mah:{type:"spacing",property:"maxHeight"},bgsz:{type:"size",property:"backgroundSize"},bgp:{type:"identity",property:"backgroundPosition"},bgr:{type:"identity",property:"backgroundRepeat"},bga:{type:"identity",property:"backgroundAttachment"},pos:{type:"identity",property:"position"},top:{type:"size",property:"top"},left:{type:"size",property:"left"},bottom:{type:"size",property:"bottom"},right:{type:"size",property:"right"},inset:{type:"size",property:"inset"},display:{type:"identity",property:"display"},flex:{type:"identity",property:"flex"}};function cf(e,t){let r=u4({color:e,theme:t});return"dimmed"===r.color?"var(--mantine-color-dimmed)":"bright"===r.color?"var(--mantine-color-bright)":r.variable?`var(${r.variable})`:r.color}ex("f7SMx"),ex("9BXUG"),ex("f7SMx"),ex("9BXUG"),ex("f7SMx"),ex("9BXUG");let cp={text:"var(--mantine-font-family)",mono:"var(--mantine-font-family-monospace)",monospace:"var(--mantine-font-family-monospace)",heading:"var(--mantine-font-family-headings)",headings:"var(--mantine-font-family-headings)"};ex("f7SMx"),ex("9BXUG");let ch=["h1","h2","h3","h4","h5","h6"],cm=["h1","h2","h3","h4","h5","h6"];ex("f7SMx"),ex("9BXUG"),ex("f7SMx"),ex("9BXUG");let cg={color:cf,textColor:function(e,t){let r=u4({color:e,theme:t});return r.isThemeColor&&void 0===r.shade?`var(--mantine-color-${r.color}-text)`:cf(e,t)},fontSize:function(e,t){return"string"==typeof e&&e in t.fontSizes?`var(--mantine-font-size-${e})`:"string"==typeof e&&ch.includes(e)?`var(--mantine-${e}-font-size)`:"number"==typeof e||"string"==typeof e?uY(e):e},spacing:function(e,t){if("number"==typeof e)return uY(e);
137if("string"==typeof e){let r=e.replace("-","");if(!(r in t.spacing))return uY(e);let n=`--mantine-spacing-${r}`;return e.startsWith("-")?`calc(var(${n}) * -1)`:`var(${n})`}return e},identity:function(e){return e},size:function(e){return"number"==typeof e?uY(e):e},lineHeight:function(e,t){return"string"==typeof e&&e in t.lineHeights?`var(--mantine-line-height-${e})`:"string"==typeof e&&cm.includes(e)?`var(--mantine-${e}-line-height)`:e},fontFamily:function(e){return"string"==typeof e&&e in cp?cp[e]:e},border:function(e,t){if("number"==typeof e)return uY(e);if("string"==typeof e){let[r,n,...o]=e.split(" ").filter(e=>""!==e.trim()),i=`${uY(r)}`;return n&&(i+=` ${n}`),o.length>0&&(i+=` ${cf(o.join(" "),t)}`),i.trim()}return e}};function cv(e){return e.replace("(min-width: ","").replace("em)","")}ex("f7SMx");var eL=ex("4RLZr");let cy=(0,eC.forwardRef)(({component:e,style:t,__vars:r,className:n,variant:o,mod:i,size:a,hiddenFrom:s,visibleFrom:l,lightHidden:u,darkHidden:c,renderRoot:d,__size:f,...p},h)=>{let m,g=ci(),{styleProps:v,rest:y}=cc(p),b=uF().stylesTransform?.sx,x=b?.()?.(v.sx),S=(m=(0,eL.useId)().replace(/:/g,""),`__m__-${m}`),w=function({styleProps:e,data:t,theme:r}){return function({media:e,...t}){let r=Object.keys(e).sort((e,t)=>Number(cv(e))-Number(cv(t))).map(t=>({query:t,styles:e[t]}));return{...t,media:r}}(uH(e).reduce((n,o)=>{var i,a;if("hiddenFrom"===o||"visibleFrom"===o||"sx"===o)return n;let s=t[o],l=Array.isArray(s.property)?s.property:[s.property],u="object"==typeof(a=e[o])&&null!==a?"base"in a?a.base:void 0:a;if(!function(e){if("object"!=typeof e||null===e)return!1;let t=Object.keys(e);return 1!==t.length||"base"!==t[0]}(e[o]))return l.forEach(e=>{n.inlineStyles[e]=cg[s.type](u,r)}),n;n.hasResponsiveStyles=!0;let c="object"==typeof(i=e[o])&&null!==i?uH(i).filter(e=>"base"!==e):[];return l.forEach(t=>{u&&(n.styles[t]=cg[s.type](u,r)),c.forEach(i=>{var a;let l=`(min-width: ${r.breakpoints[i]})`;n.media[l]={...n.media[l],[t]:cg[s.type]((a=e[o],"object"==typeof a&&null!==a&&i in a?a[i]:a),r)}})}),n},{hasResponsiveStyles:!1,styles:{},inlineStyles:{},media:{}}))}({styleProps:v,theme:g,data:cd}),_={ref:h,style:function({theme:e,style:t,vars:r,styleProps:n}){let o=cl(t,e),i=cl(r,e);return{...o,...i,...n}}
137({theme:g,style:t,vars:r,styleProps:w.inlineStyles}),className:(0,eM.default)(n,x,{[S]:w.hasResponsiveStyles,"mantine-light-hidden":u,"mantine-dark-hidden":c,[`mantine-hidden-from-${s}`]:s,[`mantine-visible-from-${l}`]:l}),"data-variant":o,"data-size":uq(a)?void 0:a||void 0,size:f,...function e(t){return t?"string"==typeof t?{[cs(t)]:!0}:Array.isArray(t)?[...t].reduce((t,r)=>({...t,...e(r)}),{}):Object.keys(t).reduce((e,r)=>{let n=t[r];return void 0===n||""===n||!1===n||null===n||(e[cs(r)]=t[r]),e},{}):null}(i),...y};return(0,ej.jsxs)(ew.Fragment,{children:[w.hasResponsiveStyles&&(0,ej.jsx)(uX,{selector:`.${S}`,styles:w.styles,media:w.media}),"function"==typeof d?d(_):(0,ej.jsx)(e||"div",{..._})]})});cy.displayName="@mantine/core/Box";var ej=ex("9BXUG");function cb(e,t="size",r=!0){if(void 0!==e)return uq(e)?r?uY(e):e:`var(--${t}-${e})`}function cx(e){return cb(e,"mantine-spacing")}function cS(e){return void 0===e?"var(--mantine-radius-default)":cb(e,"mantine-radius")}function cw(e){return cb(e,"mantine-font-size")}function c_(e){if(e)return cb(e,"mantine-shadow",!1)}ex("f7SMx");function ck(e,t,r){let n=ci(),o=n.components[e]?.defaultProps,i="function"==typeof o?o(n):o;return{...t,...i,...cu(r)}}ex("lvLU0"),ex("f7SMx"),ex("9BXUG"),ex("f7SMx"),ex("9BXUG");var eM=(ex("lvLU0"),ex("lvLU0"));let cC={always:"mantine-focus-always",auto:"mantine-focus-auto",never:"mantine-focus-never"};var eM=ex("lvLU0");let cM={};function cP({theme:e,classNames:t,props:r,stylesCtx:n}){let o;return o={},(Array.isArray(t)?t:[t]).map(t=>"function"==typeof t?t(e,r,n):t||cM).forEach(e=>{Object.entries(e).forEach(([e,t])=>{o[e]?o[e]=(0,eM.default)(o[e],t):o[e]=t})}),o}function cT({selector:e,stylesCtx:t,theme:r,classNames:n,props:o}){return cP({theme:r,classNames:n,props:o,stylesCtx:t})[e]}function cE({theme:e,styles:t,props:r,stylesCtx:n}){return(Array.isArray(t)?t:[t]).reduce((t,o)=>"function"==typeof o?{...t,...o(e,r,n)}:{...t,...o},{})}function cR({style:e,theme:t}){return Array.isArray(e)?[...e].reduce((e,r)=>({...e,...cR({style:r,theme:t})}),{}):"function"==typeof e?e(t):null==e?{}:e}function cL({name:e,classes:t,props:r,stylesCtx:n,className:o,style:i,rootSelector:a="root",unstyled:s,classNames:l,styles:u,vars:c,varsResolver:d}){let f=ci(),p=uF().classNamesPrefix,h=uF().withStaticClasses,m=uF().headless,g=(Array.isArray(e)?e:[e]).filter(e=>e),{withStylesTransform:v,getTransformedStyles:y}=function({props:e,stylesCtx:t,themeName:r}){let n=ci(),o=uF().stylesTransform?.styles?.();return{getTransformedStyles:i=>o?[...i.map(r=>o(r,{props:e,theme:n,ctx:t})),...r.map(r=>o(n.components[r]?.styles,{props:e,theme:n,ctx:t}))].filter(Boolean):[],withStylesTransform:!!o}}({props:r,stylesCtx:n,themeName:g});return(e,b)=>({className:function({theme:e,options:t,themeName:r,selector:n,classNamesPrefix:o,classNames:i,classes:a,unstyled:s,className:l,rootSelector:u,props:c,stylesCtx:d,withStaticClasses:f,headless:p,transformedStyles:h}){return(0,eM.default)(function({theme:e,options:t,unstyled:r}){return(0,eM.default)(t?.focusable&&!r&&(e.focusClassName||cC[e.focusRing]),t?.active&&!r&&e.activeClassName)}({theme:e,options:t,unstyled:s||p}),function({themeName:e,theme:t,selector:r,props:n,stylesCtx:o}){return e.map(e=>cP({theme:t,classNames:t.components[e]?.classNames,props:n,stylesCtx:o})?.[r])}({theme:e,themeName:r,selector:n,props:c,stylesCtx:d}),function({options:e,classes:t,selector:r,unstyled:n}){return e?.variant&&!n?t[`${r}--${e.variant}`]:void 0}({options:t,classes:a,selector:n,unstyled:s}),cT({selector:n,stylesCtx:d,theme:e,classNames:i,props:c}),cT({selector:n,stylesCtx:d,theme:e,classNames:h,props:c}),function({selector:e,stylesCtx:t,options:r,props:n,theme:o}){return cP({theme:o,classNames:r?.classNames,props:r?.props||n,stylesCtx:t})[e]}({selector:n,stylesCtx:d,options:t,props:c,theme:e}),function({rootSelector:e,selector:t,className:r}){return e===t?r:void 0}({rootSelector:u,selector:n,className:l}),function({selector:e,classes:t,unstyled:r}){return r?void 0:t[e]}({selector:n,classes:a,unstyled:s||p}),f&&!p&&function({themeName:e,classNamesPrefix:t,selector:r,withStaticClass:n}){return!1===n?[]:e.map(e=>`${t}-${e}-${r}`)}({themeName:r,classNamesPrefix:o,selector:n,withStaticClass:t?.withStaticClass}),t?.className)}({theme:f,options:b,themeName:g,selector:e,classNamesPrefix:p,classNames:l,classes:t,unstyled:s,className:o,rootSelector:a,props:r,stylesCtx:n,withStaticClasse
137s:h,headless:m,transformedStyles:y([b?.styles,u])}),style:function({theme:e,themeName:t,selector:r,options:n,props:o,stylesCtx:i,rootSelector:a,styles:s,style:l,vars:u,varsResolver:c,headless:d,withStylesTransform:f}){return{...!f&&function({theme:e,themeName:t,props:r,stylesCtx:n,selector:o}){return t.map(t=>cE({theme:e,styles:e.components[t]?.styles,props:r,stylesCtx:n})[o]).reduce((e,t)=>({...e,...t}),{})}({theme:e,themeName:t,props:o,stylesCtx:i,selector:r}),...!f&&cE({theme:e,styles:s,props:o,stylesCtx:i})[r],...!f&&cE({theme:e,styles:n?.styles,props:n?.props||o,stylesCtx:i})[r],...function({vars:e,varsResolver:t,theme:r,props:n,stylesCtx:o,selector:i,themeName:a,headless:s}){return[s?{}:t?.(r,n,o),...a.map(e=>r.components?.[e]?.vars?.(r,n,o)),e?.(r,n,o)].reduce((e,t)=>(t&&Object.keys(t).forEach(r=>{e[r]={...e[r],...cu(t[r])}}),e),{})?.[i]}({theme:e,props:o,stylesCtx:i,vars:u,varsResolver:c,selector:r,themeName:t,headless:d}),...a===r?cR({style:l,theme:e}):null,...cR({style:n?.style,theme:e})}}({theme:f,themeName:g,selector:e,options:b,props:r,stylesCtx:n,rootSelector:a,styles:u,style:i,vars:c,varsResolver:d,headless:m,withStylesTransform:v})})}ex("f7SMx"),ex("9BXUG"),ex("f7SMx"),ex("9BXUG");var ej=ex("9BXUG");ex("f7SMx");var eC=ex("8G7zL"),ej=ex("9BXUG");ex("f7SMx");var eC=ex("8G7zL");function cA(e){return e}function cN(e){let t=(0,eC.forwardRef)(e);return t.extend=cA,t.withProps=e=>{let r=(0,eC.forwardRef)((r,n)=>(0,ej.jsx)(t,{...e,...r,ref:n}));return r.extend=t.extend,r.displayName=`WithProps(${t.displayName})`,r},t}function c$(e){let t=(0,eC.forwardRef)(e);return t.withProps=e=>{let r=(0,eC.forwardRef)((r,n)=>(0,ej.jsx)(t,{...e,...r,ref:n}));return r.extend=t.extend,r.displayName=`WithProps(${t.displayName})`,r},t.extend=cA,t}var ej=ex("9BXUG");ex("f7SMx"),ex("lvLU0");var ej=ex("9BXUG");ex("f7SMx");var eC=ex("8G7zL"),eM=ex("lvLU0"),cI={root:"m_5ae2e3c",barsLoader:"m_7a2bd4cd",bar:"m_870bb79","bars-loader-animation":"m_5d2b3b9d",dotsLoader:"m_4e3f22d7",dot:"m_870c4af","loader-dots-animation":"m_aac34a1",ovalLoader:"m_b34414df","oval-loader-animation":"m_f8e89c4b"};let cj=(0,eC.forwardRef)(({className:e,...t},r)=>(0,ej.jsxs)(cy,{component:"span",className:(0,eM.default)(cI.barsLoader,e),...t,ref:r,children:[(0,ej.jsx)("span",{className:cI.bar}),(0,ej.jsx)("span",{className:cI.bar}),(0,ej.jsx)("span",{className:cI.bar})]}));cj.displayName="@mantine/core/Bars";var ej=ex("9BXUG");ex("f7SMx");var eC=ex("8G7zL"),eM=ex("lvLU0");let cO=(0,eC.forwardRef)(({className:e,...t},r)=>(0,ej.jsxs)(cy,{component:"span",className:(0,eM.default)(cI.dotsLoader,e),...t,ref:r,children:[(0,ej.jsx)("span",{className:cI.dot}),(0,ej.jsx)("span",{className:cI.dot}),(0,ej.jsx)("span",{className:cI.dot})]}));cO.displayName="@mantine/core/Dots";var ej=ex("9BXUG");ex("f7SMx");var eC=ex("8G7zL"),eM=ex("lvLU0");let cB=(0,eC.forwardRef)(({className:e,...t},r)=>(0,ej.jsx)(cy,{component:"span",className:(0,eM.default)(cI.ovalLoader,e),...t,ref:r}));cB.displayName="@mantine/core/Oval";let cz={bars:cj,oval:cB,dots:cO},cU={loaders:cz,type:"oval"},cD=(e,{size:t,color:r})=>({root:{"--loader-size":cb(t,"loader-size"),"--loader-color":r?u7(r,e):void 0}}),cF=cN((e,t)=>{let r=ck("Loader",cU,e),{size:n,color:o,type:i,vars:a,className:s,style:l,classNames:u,styles:c,unstyled:d,loaders:f,variant:p,children:h,...m}=r,g=cL({name:"Loader",props:r,classes:cI,className:s,style:l,classNames:u,styles:c,unstyled:d,vars:a,varsResolver:cD});return h?(0,ej.jsx)(cy,{...g("root"),ref:t,...m,children:h}):(0,ej.jsx)(cy,{...g("root"),ref:t,component:f[i],variant:p,size:n,...m})});cF.defaultLoaders=cz,cF.classes=cI,cF.displayName="@mantine/core/Loader",ex("9BXUG");var ew=ex("10mKg"),ej=ex("9BXUG");ex("f7SMx"),ex("lvLU0");let cV=e=>({in:{opacity:1,transform:"scale(1)"},out:{opacity:0,transform:`scale(.9) translateY(${"bottom"===e?10:-10}px)`},transitionProperty:"transform, opacity"}),cW={fade:{in:{opacity:1},out:{opacity:0}
137,transitionProperty:"opacity"},"fade-up":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(30px)"},transitionProperty:"opacity, transform"},"fade-down":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(-30px)"},transitionProperty:"opacity, transform"},"fade-left":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(30px)"},transitionProperty:"opacity, transform"},"fade-right":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(-30px)"},transitionProperty:"opacity, transform"},scale:{in:{opacity:1,transform:"scale(1)"},out:{opacity:0,transform:"scale(0)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"scale-y":{in:{opacity:1,transform:"scaleY(1)"},out:{opacity:0,transform:"scaleY(0)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"scale-x":{in:{opacity:1,transform:"scaleX(1)"},out:{opacity:0,transform:"scaleX(0)"},common:{transformOrigin:"left"},transitionProperty:"transform, opacity"},"skew-up":{in:{opacity:1,transform:"translateY(0) skew(0deg, 0deg)"},out:{opacity:0,transform:"translateY(-20px) skew(-10deg, -5deg)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"skew-down":{in:{opacity:1,transform:"translateY(0) skew(0deg, 0deg)"},out:{opacity:0,transform:"translateY(20px) skew(-10deg, -5deg)"},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"rotate-left":{in:{opacity:1,transform:"translateY(0) rotate(0deg)"},out:{opacity:0,transform:"translateY(20px) rotate(-5deg)"},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"rotate-right":{in:{opacity:1,transform:"translateY(0) rotate(0deg)"},out:{opacity:0,transform:"translateY(20px) rotate(5deg)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"slide-down":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(-100%)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"slide-up":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(100%)"},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"slide-left":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(100%)"},common:{transformOrigin:"left"},transitionProperty:"transform, opacity"},"slide-right":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(-100%)"},common:{transformOrigin:"right"},transitionProperty:"transform, opacity"},pop:{...cV("bottom"),common:{transformOrigin:"center center"}},"pop-bottom-left":{...cV("bottom"),common:{transformOrigin:"bottom left"}},"pop-bottom-right":{...cV("bottom"),common:{transformOrigin:"bottom right"}},"pop-top-left":{...cV("top"),common:{transformOrigin:"top left"}},"pop-top-right":{...cV("top"),common:{transformOrigin:"top right"}}},cH={entering:"in",entered:"in",exiting:"out",exited:"out","pre-exiting":"out","pre-entering":"out"};ex("f7SMx");var eL=ex("4RLZr"),eC=ex("8G7zL");ex("f7SMx");var eL=ex("4RLZr");function cG(e,t){let r=(0,eL.useRef)(!1);(0,eL.useEffect)(()=>()=>{r.current=!1},[]),(0,eL.useEffect)(()=>{if(r.current)return e();r.current=!0},t)}ex("f7SMx");var eL=ex("4RLZr");function cX(e,t){return function(e,t,{getInitialValueInEffect:r}={getInitialValueInEffect:!0}){let[n,o]=(0,eL.useState)(r?t:!!("u">typeof window&&"matchMedia"in window)&&window.matchMedia(e).matches),i=(0,eL.useRef)(null);return(0,eL.useEffect)(()=>{if("matchMedia"in window){i.current=window.matchMedia(e),o(i.current.matches);var t=i.current,r=e=>o(e.matches);try{return t.addEventListener("change",r),()=>t.removeEventListener("change",r)}catch(e){return t.addListener(r),()=>t.removeListener(r)}}},[e]),n}("(prefers-reduced-motion: reduce)",e,t)}function cq({keepMounted:e,transition:t="fade",duration:r=250,exitDuration:n=r,mounted:o,children:i,timingFunction:a="ease",onExit:s,onEntered:l,onEnter:u,onExited:c,enterDelay:d,exitDelay:f}){let p=uW(),{transitionDuration:h,transitionStatus:m,transitionTimingFunction:g}=function({duration:e,exitDuration:t,timingFunction:r,mounted:n,onEnter:o,onExit:i,onEntered:a,onExited:s,enterDelay:l,exitDelay:u}){let c=ci(),d=cX(),f=!!c.respectReducedMotion&&d,[p,h]=(0,eL.useState)(f?0:e),[m,g]=(0,eL.useState)(n?"entered":"exited"),v=(0,eL.useRef)(-1),y=(0,eL.useRef)(-1),b=(0,eL.useRef)(-1);function x(){window.clearTimeout(v.current),window.clearTimeout(y.current),cancelAnimationFrame(b.current)}let S=r=>{x();let n=r?o:i,l=r?a:s,u=f?0:r?e:t;h(u),0===u?("function"==typeof n&&n(),"function"==typeof l&&l(),g(r?"entered":"exited")):b.current=requestAnimationFrame(()=>{eC.default.flushSync(()=>{g(r?"pre-entering":"pre-exiting")}),b.current=requestAnimationFrame(()=>{"function"==typeof n&&n(),g(r?"entering":"exiting"),v.current=window.setTimeout(()=>{"function"==typeof l&&l(),g(r?"entered":"exited")},u)})})};return cG(()=>{(x(),"number"!=typeof(n?l:u))?S(n):y.current=window.setTimeout(()=>{S(n)},n?l:u)},[n]),(0,eL.useEffect)(()=>()=>{x()},[]),{transitionDuration:p,transitionStatus:m,transitionTimingFunction:r||"ease"}}({mounted:o,exitDuration:n,duration:r,timingFunction:a,onExit:s,onEntered:l,onEnter:u,onExited:c,enterDelay:d,exitDelay:f});return 0===h||"test"===p?o?(0,ej.jsx)(ew.Fragment,{children:i({})}):e?i({display:"none"}):null:"exited"===m?e?i({display:"none"}):null:(0,ej.jsx)(ew.Fragment,{children:i(function({transition:e,state:t,duration:r,timingFunction:n}
137){let o={WebkitBackfaceVisibility:"hidden",willChange:"transform, opacity",transitionDuration:`${r}ms`,transitionTimingFunction:n};return"string"==typeof e?e in cW?{transitionProperty:cW[e].transitionProperty,...o,...cW[e].common,...cW[e][cH[t]]}:{}:{transitionProperty:e.transitionProperty,...o,...e.common,...e[cH[t]]}}({transition:t,duration:h,state:m,timingFunction:g}))})}ex("9BXUG"),ex("lvLU0"),cq.displayName="@mantine/core/Transition";var ej=ex("9BXUG");ex("f7SMx"),ex("lvLU0");var cK={root:"m_87cf2631"};let cZ={__staticSelector:"UnstyledButton"},cY=c$((e,t)=>{let r=ck("UnstyledButton",cZ,e),{className:n,component:o="button",__staticSelector:i,unstyled:a,classNames:s,styles:l,style:u,...c}=r,d=cL({name:i,props:r,classes:cK,className:n,style:u,classNames:s,styles:l,unstyled:a});return(0,ej.jsx)(cy,{...d("root",{focusable:!0}),component:o,ref:t,type:"button"===o?"button":void 0,...c})});cY.classes=cK,cY.displayName="@mantine/core/UnstyledButton";var ej=ex("9BXUG");ex("f7SMx"),ex("lvLU0");var cJ={root:"m_77c9d27d",inner:"m_80f1301b",label:"m_811560b9",section:"m_a74036a",loader:"m_a25b86ee",group:"m_80d6d844",groupSection:"m_70be2a01"};let cQ={orientation:"horizontal"},c0=(e,{borderWidth:t})=>({group:{"--button-border-width":uY(t)}}),c1=cN((e,t)=>{let r=ck("ButtonGroup",cQ,e),{className:n,style:o,classNames:i,styles:a,unstyled:s,orientation:l,vars:u,borderWidth:c,variant:d,mod:f,...p}=ck("ButtonGroup",cQ,e),h=cL({name:"ButtonGroup",props:r,classes:cJ,className:n,style:o,classNames:i,styles:a,unstyled:s,vars:u,varsResolver:c0,rootSelector:"group"});return(0,ej.jsx)(cy,{...h("group"),ref:t,variant:d,mod:[{"data-orientation":l},f],role:"group",...p})});c1.classes=cJ,c1.displayName="@mantine/core/ButtonGroup";var ej=ex("9BXUG");ex("f7SMx"),ex("lvLU0");let c2={},c5=(e,{radius:t,color:r,gradient:n,variant:o,autoContrast:i,size:a})=>{let s=e.variantColorResolver({color:r||e.primaryColor,theme:e,gradient:n,variant:o||"filled",autoContrast:i});return{groupSection:{"--section-height":cb(a,"section-height"),"--section-padding-x":cb(a,"section-padding-x"),"--section-fz":a?.includes("compact")?cw(a.replace("compact-","")):cw(a),"--section-radius":void 0===t?void 0:cS(t),"--section-bg":r||o?s.background:void 0,"--section-color":s.color,"--section-bd":r||o?s.border:void 0}}},c4=cN((e,t)=>{let r=ck("ButtonGroupSection",c2,e),{className:n,style:o,classNames:i,styles:a,unstyled:s,vars:l,variant:u,gradient:c,radius:d,autoContrast:f,...p}=ck("ButtonGroupSection",c2,e),h=cL({name:"ButtonGroupSection",props:r,classes:cJ,className:n,style:o,classNames:i,styles:a,unstyled:s,vars:l,varsResolver:c5,rootSelector:"groupSection"});return(0,ej.jsx)(cy,{...h("groupSection"),ref:t,variant:u,...p})});c4.classes=cJ,c4.displayName="@mantine/core/ButtonGroupSection";let c7={in:{opacity:1,transform:`translate(-50%, calc(-50% + ${uY(1)}))`},out:{opacity:0,transform:"translate(-50%, -200%)"},common:{transformOrigin:"center"},transitionProperty:"transform, opacity"},c3={},c9=(e,{radius:t,color:r,gradient:n,variant:o,size:i,justify:a,autoContrast:s})=>{let l=e.variantColorResolver({color:r||e.primaryColor,theme:e,gradient:n,variant:o||"filled",autoContrast:s});return{root:{"--button-justify":a,"--button-height":cb(i,"button-height"),"--button-padding-x":cb(i,"button-padding-x"),"--button-fz":i?.includes("compact")?cw(i.replace("compact-","")):cw(i),"--button-radius":void 0===t?void 0:cS(t),"--button-bg":r||o?l.background:void 0,"--button-hover":r||o?l.hover:void 0,"--button-color":l.color,"--button-bd":r||o?l.border:void 0,"--button-hover-color":r||o?l.hoverColor:void 0}}},c6=c$((e,t)=>{let r=ck("Button",c3,e),{style:n,vars:o,className:i,color:a,disabled:s,children:l,leftSection:u,rightSection:c,fullWidth:d,variant:f,radius:p,loading:h,loaderProps:m,gradient:g,classNames:v,styles:y,unstyled:b,"data-disabled":x,autoContrast:S,mod:w,..._}=r,k=cL({name:"Button",props:r,classes:cJ,className:i,style:n,classNames:v,styles:y,unstyled:b,vars:o,varsResolver:c9}),C=!!u,M=!!c;return(0,ej.jsxs)(cY,{ref:t,...k("root",{active:!s&&!h&&!x}),unstyled:b,variant:f,disabled:s||h,mod:[{disabled:s||x,loading:h,block:d,"with-left-section":C,"with-right-section":M},w],..._,children:[(0,ej.jsx)(cq,{mounted:!!h,transition:c7,duration:150,children:e=>(0,ej.jsx)(cy,{component:"span",...k("loader",{style:e}
137),"aria-hidden":!0,children:(0,ej.jsx)(cF,{color:"var(--button-color)",size:"calc(var(--button-height) / 1.8)",...m})})}),(0,ej.jsxs)("span",{...k("inner"),children:[u&&(0,ej.jsx)(cy,{component:"span",...k("section"),mod:{position:"left"},children:u}),(0,ej.jsx)(cy,{component:"span",mod:{loading:h},...k("label"),children:l}),c&&(0,ej.jsx)(cy,{component:"span",...k("section"),mod:{position:"right"},children:c})]})]})});c6.classes=cJ,c6.displayName="@mantine/core/Button",c6.Group=c1,c6.GroupSection=c4;var ej=ex("9BXUG");ex("f7SMx"),ex("lvLU0"),ex("f7SMx");var eC=ex("8G7zL"),c8={root:"m_4081bf90"};let de={preventGrowOverflow:!0,gap:"md",align:"center",justify:"flex-start",wrap:"wrap"},dt=(e,{grow:t,preventGrowOverflow:r,gap:n,align:o,justify:i,wrap:a},{childWidth:s})=>({root:{"--group-child-width":t&&r?s:void 0,"--group-gap":cx(n),"--group-align":o,"--group-justify":i,"--group-wrap":a}}),dr=cN((e,t)=>{let r=ck("Group",de,e),{classNames:n,className:o,style:i,styles:a,unstyled:s,children:l,gap:u,align:c,justify:d,wrap:f,grow:p,preventGrowOverflow:h,vars:m,variant:g,__size:v,mod:y,...b}=r,x=eC.Children.toArray(l).filter(Boolean),S=x.length,w=cx(u??"md"),_=cL({name:"Group",props:r,stylesCtx:{childWidth:`calc(${100/S}% - (${w} - ${w} / ${S}))`},className:o,style:i,classes:c8,classNames:n,styles:a,unstyled:s,vars:m,varsResolver:dt});return(0,ej.jsx)(cy,{..._("root"),ref:t,variant:g,mod:[{grow:p},y],size:v,...b,children:x})});dr.classes=c8,dr.displayName="@mantine/core/Group";var ej=ex("9BXUG");ex("f7SMx");var eL=ex("4RLZr");let dn={app:100,modal:200,popover:300,overlay:400,max:9999};ex("lvLU0");var ej=ex("9BXUG");ex("f7SMx"),ex("lvLU0");var ej=ex("9BXUG");ex("f7SMx");var eC=ex("8G7zL"),eM=ex("lvLU0");ex("f7SMx");var ej=ex("9BXUG");ex("f7SMx");var ew=ex("10mKg"),eL=ex("4RLZr");function di(e){let t=(0,ew.createContext)(null);return[({children:e,value:r})=>(0,ej.jsx)(t.Provider,{value:r,children:e}),()=>{let r=(0,eL.useContext)(t);if(null===r)throw Error(e);return r}]}ex("9BXUG"),ex("lvLU0");let[da,ds]=di("ModalBase component was not found in tree");ex("f7SMx");var eL=ex("4RLZr");let dl=(0,eC.forwardRef)(({className:e,...t},r)=>{let n,o=(n=ds(),(0,eL.useEffect)(()=>(n.setBodyMounted(!0),()=>n.setBodyMounted(!1)),[]),n.getBodyId()),i=ds();return(0,ej.jsx)(cy,{ref:r,...t,id:o,className:(0,eM.default)({m_5df29311:!i.unstyled},e)})});dl.displayName="@mantine/core/ModalBaseBody",ex("f7SMx"),ex("9BXUG"),ex("lvLU0");let[du,dc]=di("Modal component was not found in tree");var dd={root:"m_9df02822",content:"m_54c44539",inner:"m_1f958f16",header:"m_d0e2b9cd"};let df={},dp=cN((e,t)=>{let{classNames:r,className:n,style:o,styles:i,vars:a,...s}=ck("ModalBody",df,e),l=dc();return(0,ej.jsx)(dl,{ref:t,...l.getStyles("body",{classNames:r,style:o,styles:i,className:n}),...s})});dp.classes=dd,dp.displayName="@mantine/core/ModalBody";var ej=ex("9BXUG");ex("f7SMx"),ex("lvLU0");var ej=ex("9BXUG");ex("f7SMx");var eC=ex("8G7zL"),eM=ex("lvLU0"),ej=ex("9BXUG");ex("f7SMx"),ex("lvLU0");var ej=ex("9BXUG");ex("f7SMx");var eC=ex("8G7zL");let dh=(0,eC.forwardRef)(({size:e="var(--cb-icon-size, 70%)",style:t,...r},n)=>(0,ej.jsx)("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{...t,width:e,height:e},ref:n,...r,children:(0,ej.jsx)("path",{d:"M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})}));dh.displayName="@mantine/core/CloseIcon";var dm={root:"m_86a44da5","root--subtle":"m_220c80f2"};let dg={variant:"subtle"},dv=(e,{size:t,radius:r,iconSize:n})=>({root:{"--cb-size":cb(t,"cb-size"),"--cb-radius":void 0===r?void 0:cS(r),"--cb-icon-size":uY(n)}}),dy=c$((e,t)=>{let r=ck("CloseButton",dg,e),{iconSize:n,children:o,vars:i,radius:a,className:s,classNames:l,style:u,styles:c,unstyled:d,"data-disabled":f,disabled:p,variant:h,icon:m,mod:g,__staticSelector:v,...y}=r,b=cL({name:v||"CloseButton",props:r,className:s,style:u,classes:dm,classNames:l,styles:c,unstyled:d,vars:i,varsResolver:dv});return(0,ej.jsxs)(cY,{ref:t,...y,unstyled:d,variant:h,disabled:p,mod:[{disabled:p||f},g],...b("root",{variant:h,active:!p&&!f}),children:[m||(0,ej.jsx)(dh,{}),o]})});dy.classes=dm,dy.displayName="@mantine/core/CloseButton";let db=(0,eC.forwardRef)(({className:e,onClick:t,...r},n)=>{let o=ds();return(0,ej.jsx)(dy,{ref:n,...r,onClick:e=>{o.onClose(),t?.(e)},className:(0,eM.default)({m_606cb269:!o.unstyled},e),unstyled:o.unstyled})});db.displayName="@mantine/core/ModalBaseCloseButton";let dx={},dS=cN((e,t)=>{let{classNames:r,className:n,style:o,styles:i,vars:a,...s}=ck("ModalCloseButton",dx,e),l=dc();return(0,ej.jsx)(db,{ref:t,...l.getStyles("close",{classNames:r,style:o,styles:i,className:n}),...s})});dS.classes=dd,dS.displayName="@mantine/core/ModalCloseButton";var ej=ex("9BXUG");ex("f7SMx"),ex("lvLU0");var ej=ex("9BXUG");ex("f7SMx");var eC=ex("8G7zL"),eM=ex("lvLU0"),ej=ex("9BXUG");ex("f7SMx");var eC=ex("8G7zL");ex("f7SMx");var eL=ex("4RLZr");let dw=/input|select|textarea|button|object/,d_="a, input, select, textarea, button, object, [tabindex]";function dk(e){let t=e.getAttribute("tabindex");return null===t&&(t=void 0),parseInt(t,10)}function dC(e){let t=e.nodeName.toLowerCase(),r=!Number.isNaN(dk(e));return(dw.test(t)&&!e.disabled||e instanceof HTMLAnchorElement&&e.href||r)&&function(e){if(e.getAttribute("aria-hidden")||e.getAttribute("hidden")||"hidden"===e.getAttribute("type"))return!1;let t=e;for(;t&&t!==document.body&&11!==t.nodeType;){if("none"===t.style.display)return!1;t=t.parentNode}return!0}(e)}function dM(e){let t=dk(e);return(Number.isNaN(t)||t>=0)&&dC(e)}ex("f7SMx");var eL=ex("4RLZr");function dP(e,t){if("function"==typeof e)return e(t);"object"==typeof e&&null!==e&&"current"in e&&(e.current=t)}function dT(...e){return(0,eL.useCallback)(function(...e){let t=new Map;return r=>
137{if(e.forEach(e=>{let n=dP(e,r);n&&t.set(e,n)}),t.size>0)return()=>{e.forEach(e=>{let r=t.get(e);r?r():dP(e,null)}),t.clear()}}}(...e),e)}ex("f7SMx");var ew=ex("10mKg");function dE(e){return!Array.isArray(e)&&null!==e&&"object"==typeof e&&e.type!==ew.Fragment}ex("lvLU0");var ej=ex("9BXUG");ex("f7SMx"),ex("lvLU0");var dR={root:"m_515a97f8"};let dL={},dA=cN((e,t)=>{let r=ck("VisuallyHidden",dL,e),{classNames:n,className:o,style:i,styles:a,unstyled:s,vars:l,...u}=r,c=cL({name:"VisuallyHidden",classes:dR,props:r,className:o,style:i,classNames:n,styles:a,unstyled:s});return(0,ej.jsx)(cy,{component:"span",ref:t,...c("root"),...u})});function dN({children:e,active:t=!0,refProp:r="ref",innerRef:n}){let o=dT(function(e=!0){let t=(0,eL.useRef)(null),r=e=>{let t=e.querySelector("[data-autofocus]");if(!t){let r=Array.from(e.querySelectorAll(d_));!(t=r.find(dM)||r.find(dC)||null)&&dC(e)&&(t=e)}t&&t.focus({preventScroll:!0})},n=(0,eL.useCallback)(n=>{e&&null!==n&&t.current!==n&&(n?(setTimeout(()=>{n.getRootNode()&&r(n)}),t.current=n):t.current=null)},[e]);return(0,eL.useEffect)(()=>{if(!e)return;t.current&&setTimeout(()=>r(t.current));let n=e=>{"Tab"===e.key&&t.current&&function(e,t){let r=Array.from(e.querySelectorAll(d_)).filter(dM);if(!r.length)return t.preventDefault();let n=r[t.shiftKey?0:r.length-1],o=e.getRootNode(),i=n===o.activeElement||e===o.activeElement,a=o.activeElement;if("INPUT"===a.tagName&&"radio"===a.getAttribute("type")&&(i=r.filter(e=>"radio"===e.getAttribute("type")&&e.getAttribute("name")===a.getAttribute("name")).includes(n)),!i)return;t.preventDefault();let s=r[t.shiftKey?r.length-1:0];s&&s.focus()}(t.current,e)};return document.addEventListener("keydown",n),()=>document.removeEventListener("keydown",n)},[e]),n}(t),n);return dE(e)?(0,eC.cloneElement)(e,{[r]:o}):e}function d$(e){return(0,ej.jsx)(dA,{tabIndex:-1,"data-autofocus":!0,...e})}dA.classes=dR,dA.displayName="@mantine/core/VisuallyHidden",dN.displayName="@mantine/core/FocusTrap",d$.displayName="@mantine/core/FocusTrapInitialFocus",dN.InitialFocus=d$;var ej=ex("9BXUG");ex("f7SMx"),ex("lvLU0");var dI={root:"m_1b7284a3"};let dj={},dO=(e,{radius:t,shadow:r})=>({root:{"--paper-radius":void 0===t?void 0:cS(t),"--paper-shadow":c_(r)}}),dB=c$((e,t)=>{let r=ck("Paper",dj,e),{classNames:n,className:o,style:i,styles:a,unstyled:s,withBorder:l,vars:u,radius:c,shadow:d,variant:f,mod:p,...h}=r,m=cL({name:"Paper",props:r,classes:dI,className:o,style:i,classNames:n,styles:a,unstyled:s,vars:u,varsResolver:dO});return(0,ej.jsx)(cy,{ref:t,mod:[{"data-with-border":l},p],...m("root"),variant:f,...h})});dB.classes=dI,dB.displayName="@mantine/core/Paper";let dz=(0,eC.forwardRef)(({transitionProps:e,className:t,innerProps:r,onKeyDown:n,style:o,...i},a)=>{let s=ds();return(0,ej.jsx)(cq,{mounted:s.opened,transition:"pop",...s.transitionProps,onExited:()=>{s.onExitTransitionEnd?.(),s.transitionProps?.onExited?.()},onEntered:()=>{s.onEnterTransitionEnd?.(),s.transitionProps?.onEntered?.()},...e,children:e=>(0,ej.jsx)("div",{...r,className:(0,eM.default)({m_60c222c7:!s.unstyled},r.className),children:(0,ej.jsx)(dN,{active:s.opened&&s.trapFocus,innerRef:a,children:(0,ej.jsx)(dB,{...i,component:"section",role:"dialog",tabIndex:-1,"aria-modal":!0,"aria-describedby":s.bodyMounted?s.getBodyId():void 0,"aria-labelledby":s.titleMounted?s.getTitleId():void 0,style:[o,e],className:(0,eM.default)({m_fd1ab0aa:!s.unstyled},t),unstyled:s.unstyled,children:i.children})})})})});dz.displayName="@mantine/core/ModalBaseContent",ex("9BXUG");var ew=ex("10mKg"),ej=ex("9BXUG");function dU({children:e}){return(0,ej.jsx)(ew.Fragment,{children:e})}let dD={},dF=cN((e,t)=>{let{classNames:r,className:n,style:o,styles:i,vars:a,children:s,__hidden:l,...u}=ck("ModalContent",dD,e),c=dc(),d=c.scrollAreaComponent||dU;return(0,ej.jsx)(dz,{...c.getStyles("content",{className:n,style:o,styles:i,classNames:r}),innerProps:c.getStyles("inner",{className:n,style:o,styles:i,classNames:r}),"data-full-screen":c.fullScreen||void 0,"data-modal-content":!0,"data-hidden":l||void 0,ref:t,...u,children:(0,ej.jsx)(d,{style:{maxHeight:c.fullScreen?"100dvh":`calc(100dvh - (${uY(c.yOffset)} * 2))`},children:s})})});dF.classes=dd,dF.displayName="@mantine/core/ModalContent";var ej=ex("9BXUG");ex("f7SMx"),ex("lvLU0");var ej=ex("9BXUG");ex("f7SMx");var eC=ex("8G7zL"),eM=ex("lvLU0");let dV=(0,eC.forwardRef)(({className:e,...t},r)=>{let n=ds();return(0,ej.jsx)(cy,{component:"header",ref:r,className:(0,eM.default)({m_b5489c3c:!n.unstyled},e),...t})});dV.displayName="@mantine/core/ModalBaseHeader";let dW={},dH=cN((e,t)=>{let{classNames:r,className:n,style:o,styles:i,vars:a,...s}=ck("ModalHeader",dW,e),l=dc();return(0,ej.jsx)(dV,{ref:t,...l.getStyles("header",{classNames:r,style:o,styles:i,className:n}),...s})});dH.classes=dd,dH.displayName="@mantine/core/ModalHeader";var ej=ex("9BXUG");ex("f7SMx"),ex("lvLU0");var ej=ex("9BXUG");ex("f7SMx");var eC=ex("8G7zL"),ej=ex("9BXUG");ex("f7SMx"),ex("lvLU0");var dG={root:"m_9814e45f"};let dX={zIndex:dn.modal},dq=(e,{gradient:t,color:r,backgroundOpacity:n,blur:o,radius:i,zIndex:a})=>({root:{"--overlay-bg":t||(void 0!==r||void 0!==n)&&u9(r||"#000",n??.6)||void 0,"--overlay-filter":o?`blur(${uY(o)})`:void 0,"--overlay-radius":void 0===i?void 0:cS(i),"--overlay-z-index":a?.toString()}}),dK=c$((e,t)=>{let r=ck("Overlay",dX,e),{classNames:n,className:o,style:i,styles:a,unstyled:s,vars:l,fixed:u,center:c,children:d,radius:f,zIndex:p,gradient:h,blur:m,color:g,backgroundOpacity:v,mod:y,...b}=r,x=cL({name:"Overlay",props:r,classes:dG,className:o,style:i,classNames:n,styles:a,unstyled:s,vars:l,varsResolver:dq});return(0,ej.jsx)(cy,{ref:t,...x("root"),mod:[{center:c,fixed:u},y],...b,children:d})});dK.classes=dG,dK.displayName="@mantine/core/Overlay";let dZ={duration:200,timingFunction:"ease",transition:"fade"}
137,dY=(0,eC.forwardRef)(({onClick:e,transitionProps:t,style:r,visible:n,...o},i)=>{let a,s=ds(),l=(a=ds(),{...dZ,...a.transitionProps,...t});return(0,ej.jsx)(cq,{mounted:void 0!==n?n:s.opened,...l,transition:"fade",children:t=>(0,ej.jsx)(dK,{ref:i,fixed:!0,style:[r,t],zIndex:s.zIndex,unstyled:s.unstyled,onClick:t=>{e?.(t),s.closeOnClickOutside&&s.onClose()},...o})})});dY.displayName="@mantine/core/ModalBaseOverlay";let dJ={},dQ=cN((e,t)=>{let{classNames:r,className:n,style:o,styles:i,vars:a,...s}=ck("ModalOverlay",dJ,e),l=dc();return(0,ej.jsx)(dY,{ref:t,...l.getStyles("overlay",{classNames:r,style:o,styles:i,className:n}),...s})});dQ.classes=dd,dQ.displayName="@mantine/core/ModalOverlay";var ej=ex("9BXUG");ex("f7SMx"),ex("lvLU0");var ej=ex("9BXUG");ex("f7SMx");var eC=ex("8G7zL"),d0=function(){return(d0=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function d1(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}"function"==typeof SuppressedError&&SuppressedError,ex("f7SMx");var ew=ex("10mKg"),eC=ex("8G7zL");ex("f7SMx");var eC=ex("8G7zL"),ew=ex("10mKg"),eL=ex("4RLZr"),d2="right-scroll-bar-position",d5="width-before-scroll-bar";ex("f7SMx");var eL=ex("4RLZr");function d4(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}ex("f7SMx");var eL=ex("4RLZr"),d7="u">typeof window?eL.useLayoutEffect:eL.useEffect,d3=new WeakMap,d9=(void 0===w&&(w={}),(void 0===_&&(_=function(e){return e}),k=[],C=!1,M={read:function(){if(C)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return k.length?k[k.length-1]:null},useMedium:function(e){var t=_(e,C);return k.push(t),function(){k=k.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(C=!0;k.length;){var t=k;k=[],t.forEach(e)}k={push:function(t){return e(t)},filter:function(){return k}}},assignMedium:function(e){C=!0;var t=[];if(k.length){var r=k;k=[],r.forEach(e),t=k}var n=function(){var r=t;t=[],r.forEach(e)},o=function(){return Promise.resolve().then(n)};o(),k={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),k}}}}).options=d0({async:!0,ssr:!1},w),M),d6=function(){},d8=eC.forwardRef(function(e,t){var r,n,o,i,a=eL.useRef(null),s=eL.useState({onScrollCapture:d6,onWheelCapture:d6,onTouchMoveCapture:d6}),l=s[0],u=s[1],c=e.forwardProps,d=e.children,f=e.className,p=e.removeScrollBar,h=e.enabled,m=e.shards,g=e.sideCar,v=e.noRelative,y=e.noIsolation,b=e.inert,x=e.allowPinchZoom,S=e.as,w=e.gapMode,_=d1(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),k=(r=[a,t],n=function(e){return r.forEach(function(t){return d4(t,e)})},(o=(0,eL.useState)(function(){return{value:null,callback:n,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=n,i=o.facade,d7(function(){var e=d3.get(i);if(e){var t=new Set(e),n=new Set(r),o=i.current;t.forEach(function(e){n.has(e)||d4(e,null)}),n.forEach(function(e){t.has(e)||d4(e,o)})}d3.set(i,r)},[r]),i),C=d0(d0({},_),l);return ew.createElement(ew.Fragment,null,h&&ew.createElement(g,{sideCar:d9,removeScrollBar:p,shards:m,noRelative:v,noIsolation:y,inert:b,setCallbacks:u,allowPinchZoom:!!x,lockRef:a,gapMode:w}),c?eC.cloneElement(eC.Children.only(d),d0(d0({},C),{ref:k})):ew.createElement(void 0===S?"div":S,d0({},C,{className:f,ref:k}),d))});d8.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},d8.classNames={fullWidth:d5,zeroRight:d2},ex("f7SMx");var ew=ex("10mKg"),fe=function(e){var t=e.sideCar,r=d1(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw Error("Sidecar medium not found");return ew.createElement(n,d0({},r))};
137fe.isSideCarExport=!0,ex("f7SMx");var ew=ex("10mKg"),eL=ex("4RLZr");ex("f7SMx");var ew=ex("10mKg"),eL=ex("4RLZr");ex("f7SMx");var eL=ex("4RLZr"),ft=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=en||("u">typeof __webpack_nonce__?__webpack_nonce__:void 0);return t&&e.setAttribute("nonce",t),e}())){var n,o;(n=t).styleSheet?n.styleSheet.cssText=r:n.appendChild(document.createTextNode(r)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},fr=function(){var e=ft();return function(t,r){eL.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},fn=function(){var e=fr();return function(t){return e(t.styles,t.dynamic),null}},fo={left:0,top:0,right:0,gap:0},fi=function(e){return parseInt(e||"",10)||0},fa=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[fi(r),fi(n),fi(o)]},fs=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return fo;var t=fa(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},fl=fn(),fu="data-scroll-locked",fc=function(e,t,r,n){var o=e.left,i=e.top,a=e.right,s=e.gap;return void 0===r&&(r="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(n,";\n   padding-right: ").concat(s,"px ").concat(n,";\n  }\n  body[").concat(fu,"] {\n    overflow: hidden ").concat(n,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n    padding-left: ".concat(o,"px;\n    padding-top: ").concat(i,"px;\n    padding-right: ").concat(a,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(s,"px ").concat(n,";\n    "),"padding"===r&&"padding-right: ".concat(s,"px ").concat(n,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(d2," {\n    right: ").concat(s,"px ").concat(n,";\n  }\n  \n  .").concat(d5," {\n    margin-right: ").concat(s,"px ").concat(n,";\n  }\n  \n  .").concat(d2," .").concat(d2," {\n    right: 0 ").concat(n,";\n  }\n  \n  .").concat(d5," .").concat(d5," {\n    margin-right: 0 ").concat(n,";\n  }\n  \n  body[").concat(fu,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n  }\n")},fd=function(){var e=parseInt(document.body.getAttribute(fu)||"0",10);return isFinite(e)?e:0},ff=function(){eL.useEffect(function(){return document.body.setAttribute(fu,(fd()+1).toString()),function(){var e=fd()-1;e<=0?document.body.removeAttribute(fu):document.body.setAttribute(fu,e.toString())}},[])},fp=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=void 0===n?"margin":n;ff();var i=eL.useMemo(function(){return fs(o)},[o]);return ew.createElement(fl,{styles:fc(i,!t,o,r?"":"!important")})},fh=!1;if("u">typeof window)try{var fm=Object.defineProperty({},"passive",{get:function(){return fh=!0,!0}});window.addEventListener("test",fm,fm),window.removeEventListener("test",fm,fm)}catch(e){fh=!1}var fg=!!fh&&{passive:!1},fv=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return"hidden"!==r[t]&&(r.overflowY!==r.overflowX||"TEXTAREA"===e.tagName||"visible"!==r[t])},fy=function(e,t){var r=t.ownerDocument,n=t;do{if("u">typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),fb(e,n)){var o=fx(e,n);if(o[1]>o[2])return!0}n=n.parentNode}while(n&&n!==r.body)return!1},fb=function(e,t){return"v"===e?fv(t,"overflowY"):fv(t,"overflowX")},fx=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},fS=function(e,t,r,n,o){var i,a=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),s=a*n,l=r.target,u=t.contains(l),c=!1,d=s>0,f=0,p=0;do{if(!l)break;var h=fx(e,l),m=h[0],g=h[1]-h[2]-a*m;(m||g)&&fb(e,l)&&(f+=g,p+=m);var v=l.parentNode;l=v&&v.nodeType===Node.DOCUMENT_FRAGMENT_NODE?v.host:v}while(!u&&l!==document.body||u&&(t.contains(l)||t===l))return d&&(o&&1>Math.abs(f)||!o&&s>f)?c=!0:!d&&(o&&1>Math.abs(p)||!o&&-s>p)&&(c=!0),c},fw=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},f_=function(e){return[e.deltaX,e.deltaY]},fk=function(e){return e&&"current"in e?e.current:e},fC=0,fM=[],fP=(P=function(e){var t=eL.useRef([]),r=eL.useRef([0,0]),n=eL.useRef(),o=eL.useState(fC++)[0],i=eL.useState(fn)[0],a=eL.useRef(e);eL.useEffect(function(){a.current=e},[e]),eL.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(function(e,t,r){if(r||2==arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}
137)([e.lockRef.current],(e.shards||[]).map(fk),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=eL.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!a.current.allowPinchZoom;var o,i=fw(e),s=r.current,l="deltaX"in e?e.deltaX:s[0]-i[0],u="deltaY"in e?e.deltaY:s[1]-i[1],c=e.target,d=Math.abs(l)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var f=window.getSelection(),p=f&&f.anchorNode;if(p&&(p===c||p.contains(c)))return!1;var h=fy(d,c);if(!h)return!0;if(h?o=d:(o="v"===d?"h":"v",h=fy(d,c)),!h)return!1;if(!n.current&&"changedTouches"in e&&(l||u)&&(n.current=o),!o)return!0;var m=n.current||o;return fS(m,t,e,"h"===m?l:u,!0)},[]),l=eL.useCallback(function(e){if(fM.length&&fM[fM.length-1]===i){var r="deltaY"in e?f_(e):fw(e),n=t.current.filter(function(t){var n;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(n=t.delta,n[0]===r[0]&&n[1]===r[1])})[0];if(n&&n.should){e.cancelable&&e.preventDefault();return}if(!n){var o=(a.current.shards||[]).map(fk).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?s(e,o[0]):!a.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),u=eL.useCallback(function(e,r,n,o){var i={name:e,delta:r,target:n,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(n)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),c=eL.useCallback(function(e){r.current=fw(e),n.current=void 0},[]),d=eL.useCallback(function(t){u(t.type,f_(t),t.target,s(t,e.lockRef.current))},[]),f=eL.useCallback(function(t){u(t.type,fw(t),t.target,s(t,e.lockRef.current))},[]);eL.useEffect(function(){return fM.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener("wheel",l,fg),document.addEventListener("touchmove",l,fg),document.addEventListener("touchstart",c,fg),function(){fM=fM.filter(function(e){return e!==i}),document.removeEventListener("wheel",l,fg),document.removeEventListener("touchmove",l,fg),document.removeEventListener("touchstart",c,fg)}},[]);var p=e.removeScrollBar,h=e.inert;return ew.createElement(ew.Fragment,null,h?ew.createElement(i,{styles:"\n  .block-interactivity-".concat(o," {pointer-events: none;}\n  .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,p?ew.createElement(fp,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},d9.useMedium(P),fe),fT=eC.forwardRef(function(e,t){return ew.createElement(d8,d0({},e,{ref:t,sideCar:fP}))});fT.classNames=d8.classNames,ex("lvLU0"),ex("9BXUG");var ew=ex("10mKg"),ej=ex("9BXUG");ex("f7SMx"),ex("lvLU0"),ex("9BXUG");var ew=ex("10mKg"),ej=ex("9BXUG");ex("f7SMx");var eL=ex("4RLZr"),eC=ex("8G7zL");ex("f7SMx");var eL=ex("4RLZr");let fE="u">typeof document?eL.useLayoutEffect:eL.useEffect;function fR(e){let t=document.createElement("div");return t.setAttribute("data-portal","true"),"string"==typeof e.className&&t.classList.add(...e.className.split(" ").filter(Boolean)),"object"==typeof e.style&&Object.assign(t.style,e.style),"string"==typeof e.id&&t.setAttribute("id",e.id),t}ex("lvLU0");let fL={},fA=cN((e,t)=>{let{children:r,target:n,reuseTargetNode:o,...i}=ck("Portal",fL,e),[a,s]=(0,eL.useState)(!1),l=(0,eL.useRef)(null);return(fE(()=>(s(!0),l.current=function({target:e,reuseTargetNode:t,...r}){if(e)return"string"==typeof e?document.querySelector(e)||fR(r):e;if(t){let e=document.querySelector("[data-mantine-shared-portal-node]");if(e)return e;let t=fR(r);return t.setAttribute("data-mantine-shared-portal-node","true"),document.body.appendChild(t),t}return fR(r)}({target:n,reuseTargetNode:o,...i}),dP(t,l.current),n||o||!l.current||document.body.appendChild(l.current),()=>{n||o||!l.current||document.body.removeChild(l.current)}),[n]),a&&l.current)?(0,eC.createPortal)((0,ej.jsx)(ew.Fragment,{children:r}),l.current):null});fA.displayName="@mantine/core/Portal";let fN=cN(({withinPortal:e=!0,children:t,...r},n)=>"test"!==uW()&&e?(0,ej.jsx)(fA,{ref:n,...r,children:t}):(0,ej.jsx)(ew.Fragment,{children:t}));fN.displayName="@mantine/core/OptionalPortal",ex("f7SMx");var eL=ex("4RLZr");ex("f7SMx");var eL=ex("4RLZr");function f$({opened:e,shouldReturnFocus:t=!0}){let r=(0,eL.useRef)(null),n=()=>{r.current&&"focus"in r.current&&"function"==typeof r.current.focus&&r.current?.focus({preventScroll:!0})};return cG(()=>{let o=-1,i=e=>{"Tab"===e.key&&window.clearTimeout(o)};return document.addEventListener("keydown",i),e?r.current=document.activeElement:t&&(o=window.setTimeout(n,10)),()=>{window.clearTimeout(o),document.removeEventListener("keydown",i)}},[e,t]),n}ex("f7SMx");var eL=ex("4RLZr"),e0=ex("f7SMx");let fI=e0.default["useId".toString()]||(()=>void 0);function fj(e){let t,r=(t=fI())?`mantine-${t.replace(/:/g,"")}`:"",[n,o]=(0,eL.useState)(r);return(fE(()=>{o(function(e="mantine-"){return`${e}${Math.random().toString(36).slice(2,11)}`}())},[]),"string"==typeof e)?e:"u"<typeof window?r:n}ex("f7SMx");var eL=ex("4RLZr");ex("f7SMx");var eL=ex("4RLZr");
137let fO=(0,eC.forwardRef)(({keepMounted:e,opened:t,onClose:r,id:n,transitionProps:o,onExitTransitionEnd:i,onEnterTransitionEnd:a,trapFocus:s,closeOnEscape:l,returnFocus:u,closeOnClickOutside:c,withinPortal:d,portalProps:f,lockScroll:p,children:h,zIndex:m,shadow:g,padding:v,__vars:y,unstyled:b,removeScrollProps:x,...S},w)=>{let{_id:_,titleMounted:k,bodyMounted:C,shouldLockScroll:M,setTitleMounted:P,setBodyMounted:T}=function({id:e,transitionProps:t,opened:r,trapFocus:n,closeOnEscape:o,onClose:i,returnFocus:a}){var s,l,u;let c=fj(e),[d,f]=(0,eL.useState)(!1),[p,h]=(0,eL.useState)(!1),m=function({opened:e,transitionDuration:t}){let[r,n]=(0,eL.useState)(e),o=(0,eL.useRef)(-1),i=cX()?0:t;return(0,eL.useEffect)(()=>(e?(n(!0),window.clearTimeout(o.current)):0===i?n(!1):o.current=window.setTimeout(()=>n(!1),i),()=>window.clearTimeout(o.current)),[e,i]),r}({opened:r,transitionDuration:"number"==typeof t?.duration?t?.duration:200});return s="keydown",l=e=>{"Escape"===e.key&&o&&!e.isComposing&&r&&e.target?.getAttribute("data-mantine-stop-propagation")!=="true"&&i()},u={capture:!0},(0,eL.useEffect)(()=>(window.addEventListener(s,l,u),()=>window.removeEventListener(s,l,u)),[s,l]),f$({opened:r,shouldReturnFocus:n&&a}),{_id:c,titleMounted:d,bodyMounted:p,shouldLockScroll:m,setTitleMounted:f,setBodyMounted:h}}({id:n,transitionProps:o,opened:t,trapFocus:s,closeOnEscape:l,onClose:r,returnFocus:u}),{key:E,...R}=x||{};return(0,ej.jsx)(fN,{...f,withinPortal:d,children:(0,ej.jsx)(da,{value:{opened:t,onClose:r,closeOnClickOutside:c,onExitTransitionEnd:i,onEnterTransitionEnd:a,transitionProps:{...o,keepMounted:e},getTitleId:()=>`${_}-title`,getBodyId:()=>`${_}-body`,titleMounted:k,bodyMounted:C,setTitleMounted:P,setBodyMounted:T,trapFocus:s,closeOnEscape:l,zIndex:m,unstyled:b},children:(0,ej.jsx)(fT,{enabled:M&&p,...R,children:(0,ej.jsx)(cy,{ref:w,...S,__vars:{...y,"--mb-z-index":(m||dn.modal).toString(),"--mb-shadow":c_(g),"--mb-padding":cx(v)},children:h})},E)})})});fO.displayName="@mantine/core/ModalBase";var ej=ex("9BXUG");ex("f7SMx");var eL=ex("4RLZr"),e0=ex("f7SMx"),eL=ex("4RLZr");function fB(){return"u">typeof window}function fz(e){return fF(e)?(e.nodeName||"").toLowerCase():"#document"}function fU(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function fD(e){var t;return null==(t=(fF(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function fF(e){return!!fB()&&(e instanceof Node||e instanceof fU(e).Node)}function fV(e){return!!fB()&&(e instanceof Element||e instanceof fU(e).Element)}function fW(e){return!!fB()&&(e instanceof HTMLElement||e instanceof fU(e).HTMLElement)}function fH(e){return!(!fB()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof fU(e).ShadowRoot)}function fG(e){let{overflow:t,overflowX:r,overflowY:n,display:o}=f0(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&"inline"!==o&&"contents"!==o}function fX(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let fq=/transform|translate|scale|rotate|perspective|filter/,fK=/paint|layout|strict|content/,fZ=e=>!!e&&"none"!==e;function fY(e){let t=fV(e)?f0(e):e;return fZ(t.transform)||fZ(t.translate)||fZ(t.scale)||fZ(t.rotate)||fZ(t.perspective)||!fJ()&&(fZ(t.backdropFilter)||fZ(t.filter))||fq.test(t.willChange||"")||fK.test(t.contain||"")}function fJ(){return null==e&&(e="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),e}function fQ(e){return/^(html|body|#document)$/.test(fz(e))}function f0(e){return fU(e).getComputedStyle(e)}function f1(e){return fV(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function f2(e){if("html"===fz(e))return e;let t=e.assignedSlot||e.parentNode||fH(e)&&e.host||fD(e);return fH(t)?t.host:t}function f5(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);let o=function e(t){let r=f2(t);return fQ(r)?t.ownerDocument?t.ownerDocument.body:t.body:fW(r)&&fG(r)?r:e(r)}(e),i=o===(null==(n=e.ownerDocument)?void 0:n.body),a=fU(o);if(!i)return t.concat(o,f5(o,[],r));{let e=f4(a);
137return t.concat(a,a.visualViewport||[],fG(o)?o:[],e&&r?f5(e):[])}}function f4(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}let f7=Math.min,f3=Math.max,f9=Math.round,f6=Math.floor,f8=e=>({x:e,y:e}),pe={left:"right",right:"left",bottom:"top",top:"bottom"};function pt(e,t){return"function"==typeof e?e(t):e}function pr(e){return e.split("-")[0]}function pn(e){return e.split("-")[1]}function po(e){return"x"===e?"y":"x"}function pi(e){return"y"===e?"height":"width"}function pa(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function ps(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let pl=["left","right"],pu=["right","left"],pc=["top","bottom"],pd=["bottom","top"];function pf(e){let t=pr(e);return pe[t]+e.slice(t.length)}function pp(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function ph(e){let{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}var pm="u"<typeof Element;pm||Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,pm||Element.prototype.getRootNode;var eC=ex("8G7zL");function pg(e,t,r){let n,{reference:o,floating:i}=e,a=pa(t),s=po(pa(t)),l=pi(s),u=pr(t),c="y"===a,d=o.x+o.width/2-i.width/2,f=o.y+o.height/2-i.height/2,p=o[l]/2-i[l]/2;switch(u){case"top":n={x:d,y:o.y-i.height};break;case"bottom":n={x:d,y:o.y+o.height};break;case"right":n={x:o.x+o.width,y:f};break;case"left":n={x:o.x-i.width,y:f};break;default:n={x:o.x,y:o.y}}switch(pn(t)){case"start":n[s]-=p*(r&&c?-1:1);break;case"end":n[s]+=p*(r&&c?-1:1)}return n}async function pv(e,t){var r;void 0===t&&(t={});let{x:n,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=pt(t,e),h=pp(p),m=s[f?"floating"===d?"reference":"floating":d],g=ph(await i.getClippingRect({element:null==(r=await (null==i.isElement?void 0:i.isElement(m)))||r?m:m.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:c,strategy:l})),v="floating"===d?{x:n,y:o,width:a.floating.width,height:a.floating.height}:a.reference,y=await (null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),b=await (null==i.isElement?void 0:i.isElement(y))&&await (null==i.getScale?void 0:i.getScale(y))||{x:1,y:1},x=ph(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:v,offsetParent:y,strategy:l}):v);return{top:(g.top-x.top+h.top)/b.y,bottom:(x.bottom-g.bottom+h.bottom)/b.y,left:(g.left-x.left+h.left)/b.x,right:(x.right-g.right+h.right)/b.x}}let py=async(e,t,r)=>{let{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:a}=r,s=a.detectOverflow?a:{...a,detectOverflow:pv},l=await (null==a.isRTL?void 0:a.isRTL(t)),u=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:d}=pg(u,n,l),f=n,p=0,h={};for(let r=0;r<i.length;r++){let m=i[r];if(!m)continue;let{name:g,fn:v}=m,{x:y,y:b,data:x,reset:S}=await v({x:c,y:d,initialPlacement:n,placement:f,strategy:o,middlewareData:h,rects:u,platform:s,elements:{reference:e,floating:t}});c=null!=y?y:c,d=null!=b?b:d,h[g]={...h[g],...x},S&&p<50&&(p++,"object"==typeof S&&(S.placement&&(f=S.placement),S.rects&&(u=!0===S.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):S.rects),{x:c,y:d}=pg(u,f,l)),r=-1)}return{x:c,y:d,placement:f,strategy:o,middlewareData:h}};function pb(e){let t=f7(...e.map(e=>e.left)),r=f7(...e.map(e=>e.top));return{x:t,y:r,width:f3(...e.map(e=>e.right))-t,height:f3(...e.map(e=>e.bottom))-r}}let px=new Set(["left","top"]);async function pS(e,t){let{placement:r,platform:n,elements:o}=e,i=await (null==n.isRTL?void 0:n.isRTL(o.floating)),a=pr(r),s=pn(r),l="y"===pa(r),u=px.has(a)?-1:1,c=i&&l?-1:1,d=pt(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:h}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&"number"==typeof h&&(p="end"===s?-1*h:h),l?{x:p*c,y:f*u}:{x:f*u,y:p*c}}function pw(e){let t=f0(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,o=fW(e),i=o?e.offsetWidth:r,a=o?e.offsetHeight:n,s=f9(r)!==i||f9(n)!==a;return s&&(r=i,n=a),{width:r,height:n,$:s}}function p_(e){return fV(e)?e:e.contextElement}function pk(e){let t=p_(e);if(!fW(t))return f8(1);let r=t.getBoundingClientRect(),{width:n,height:o,$:i}=pw(t),a=(i?f9(r.width):r.width)/n,s=(i?f9(r.height):r.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}let pC=f8(0);function pM(e){let t=fU(e);
137return fJ()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:pC}function pP(e,t,r,n){var o;void 0===t&&(t=!1),void 0===r&&(r=!1);let i=e.getBoundingClientRect(),a=p_(e),s=f8(1);t&&(n?fV(n)&&(s=pk(n)):s=pk(e));let l=(void 0===(o=r)&&(o=!1),n&&(!o||n===fU(a))&&o)?pM(a):f8(0),u=(i.left+l.x)/s.x,c=(i.top+l.y)/s.y,d=i.width/s.x,f=i.height/s.y;if(a){let e=fU(a),t=n&&fV(n)?fU(n):n,r=e,o=f4(r);for(;o&&n&&t!==r;){let e=pk(o),t=o.getBoundingClientRect(),n=f0(o),i=t.left+(o.clientLeft+parseFloat(n.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(n.paddingTop))*e.y;u*=e.x,c*=e.y,d*=e.x,f*=e.y,u+=i,c+=a,o=f4(r=fU(o))}}return ph({width:d,height:f,x:u,y:c})}function pT(e,t){let r=f1(e).scrollLeft;return t?t.left+r:pP(fD(e)).left+r}function pE(e,t){let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-pT(e,r),y:r.top+t.scrollTop}}function pR(e,t,r){var n;let o;if("viewport"===t)o=function(e,t){let r=fU(e),n=fD(e),o=r.visualViewport,i=n.clientWidth,a=n.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;let e=fJ();(!e||e&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}let u=pT(n);if(u<=0){let e=n.ownerDocument,t=e.body,r=getComputedStyle(t),o="CSS1Compat"===e.compatMode&&parseFloat(r.marginLeft)+parseFloat(r.marginRight)||0,a=Math.abs(n.clientWidth-t.clientWidth-o);a<=25&&(i-=a)}else u<=25&&(i+=u);return{width:i,height:a,x:s,y:l}}(e,r);else if("document"===t){let t,r,i,a,s,l,u;n=fD(e),t=fD(n),r=f1(n),i=n.ownerDocument.body,a=f3(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),s=f3(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight),l=-r.scrollLeft+pT(n),u=-r.scrollTop,"rtl"===f0(i).direction&&(l+=f3(t.clientWidth,i.clientWidth)-a),o={width:a,height:s,x:l,y:u}}else if(fV(t)){let e,n,i,a,s,l;n=(e=pP(t,!0,"fixed"===r)).top+t.clientTop,i=e.left+t.clientLeft,a=fW(t)?pk(t):f8(1),s=t.clientWidth*a.x,l=t.clientHeight*a.y,o={width:s,height:l,x:i*a.x,y:n*a.y}}else{let r=pM(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return ph(o)}function pL(e){return"static"===f0(e).position}function pA(e,t){if(!fW(e)||"fixed"===f0(e).position)return null;if(t)return t(e);let r=e.offsetParent;return fD(e)===r&&(r=r.ownerDocument.body),r}function pN(e,t){var r;let n=fU(e);if(fX(e))return n;if(!fW(e)){let t=f2(e);for(;t&&!fQ(t);){if(fV(t)&&!pL(t))return t;t=f2(t)}return n}let o=pA(e,t);for(;o&&(r=o,/^(table|td|th)$/.test(fz(r)))&&pL(o);)o=pA(o,t);return o&&fQ(o)&&pL(o)&&!fY(o)?n:o||function(e){let t=f2(e);for(;fW(t)&&!fQ(t);){if(fY(t))return t;if(fX(t))break;t=f2(t)}return null}(e)||n}let p$=async function(e){let t=this.getOffsetParent||pN,r=this.getDimensions,n=await r(e.floating);return{reference:function(e,t,r){let n=fW(t),o=fD(t),i="fixed"===r,a=pP(e,!0,i,t),s={scrollLeft:0,scrollTop:0},l=f8(0);if(n||!n&&!i)if(("body"!==fz(t)||fG(o))&&(s=f1(t)),n){let e=pP(t,!0,i,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&(l.x=pT(o));i&&!n&&o&&(l.x=pT(o));let u=!o||n||i?f8(0):pE(o,s);return{x:a.left+s.scrollLeft-l.x-u.x,y:a.top+s.scrollTop-l.y-u.y,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},pI={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e,i="fixed"===o,a=fD(n),s=!!t&&fX(t.floating);if(n===a||s&&i)return r;let l={scrollLeft:0,scrollTop:0},u=f8(1),c=f8(0),d=fW(n);if((d||!d&&!i)&&(("body"!==fz(n)||fG(a))&&(l=f1(n)),d)){let e=pP(n);u=pk(n),c.x=e.x+n.clientLeft,c.y=e.y+n.clientTop}let f=!a||d||i?f8(0):pE(a,l);return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-l.scrollLeft*u.x+c.x+f.x,y:r.y*u.y-l.scrollTop*u.y+c.y+f.y}},getDocumentElement:fD,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e,i=[..."clippingAncestors"===r?fX(t)?[]:function(e,t){let r=t.get(e);if(r)return r;let n=f5(e,[],!1).filter(e=>fV(e)&&"body"!==fz(e)),o=null,i="fixed"===f0(e).position,a=i?f2(e):e;for(;fV(a)&&!fQ(a);){let t=f0(a),r=fY(a);r||"fixed"!==t.position||(o=null),(i?r||o:!(!r&&"static"===t.position&&o&&("absolute"===o.position||"fixed"===o.position)||fG(a)&&!r&&function e(t,r){let n=f2(t);return!(n===r||!fV(n)||fQ(n))&&("fixed"===f0(n).position||e(n,r))}
137(e,a)))?o=t:n=n.filter(e=>e!==a),a=f2(a)}return t.set(e,n),n}(t,this._c):[].concat(r),n],a=pR(t,i[0],o),s=a.top,l=a.right,u=a.bottom,c=a.left;for(let e=1;e<i.length;e++){let r=pR(t,i[e],o);s=f3(r.top,s),l=f7(r.right,l),u=f7(r.bottom,u),c=f3(r.left,c)}return{width:l-c,height:u-s,x:c,y:s}},getOffsetParent:pN,getElementRects:p$,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:r}=pw(e);return{width:t,height:r}},getScale:pk,isElement:fV,isRTL:function(e){return"rtl"===f0(e).direction}};function pj(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let pO=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:n,placement:o,rects:i,platform:a,elements:s,middlewareData:l}=t,{element:u,padding:c=0}=pt(e,t)||{};if(null==u)return{};let d=pp(c),f={x:r,y:n},p=po(pa(o)),h=pi(p),m=await a.getDimensions(u),g="y"===p,v=g?"clientHeight":"clientWidth",y=i.reference[h]+i.reference[p]-f[p]-i.floating[h],b=f[p]-i.reference[p],x=await (null==a.getOffsetParent?void 0:a.getOffsetParent(u)),S=x?x[v]:0;S&&await (null==a.isElement?void 0:a.isElement(x))||(S=s.floating[v]||i.floating[h]);let w=S/2-m[h]/2-1,_=f7(d[g?"top":"left"],w),k=f7(d[g?"bottom":"right"],w),C=S-m[h]-k,M=S/2-m[h]/2+(y/2-b/2),P=f3(_,f7(M,C)),T=!l.arrow&&null!=pn(o)&&M!==P&&i.reference[h]/2-(M<_?_:k)-m[h]/2<0,E=T?M<_?M-_:M-C:0;return{[p]:f[p]+E,data:{[p]:P,centerOffset:M-P-E,...T&&{alignmentOffset:E}},reset:T}}});ex("f7SMx");var eL=ex("4RLZr"),eC=ex("8G7zL"),pB="u">typeof document?eL.useLayoutEffect:function(){};function pz(e,t){let r,n,o;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((r=e.length)!==t.length)return!1;for(n=r;0!=n--;)if(!pz(e[n],t[n]))return!1;return!0}if((r=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!({}).hasOwnProperty.call(t,o[n]))return!1;for(n=r;0!=n--;){let r=o[n];if(("_owner"!==r||!e.$$typeof)&&!pz(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function pU(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function pD(e,t){let r=pU(e);return Math.round(t*r)/r}function pF(e){let t=eL.useRef(e);return pB(()=>{t.current=e}),t}let pV=(e,t)=>{var r;return{fn:(void 0===(r=e)&&(r={}),{options:r,fn(e){let{x:t,y:n,placement:o,rects:i,middlewareData:a}=e,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=pt(r,e),c={x:t,y:n},d=pa(o),f=po(d),p=c[f],h=c[d],m=pt(s,e),g="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){let e="y"===f?"height":"width",t=i.reference[f]-i.floating[e]+g.mainAxis,r=i.reference[f]+i.reference[e]-g.mainAxis;p<t?p=t:p>r&&(p=r)}if(u){var v,y;let e="y"===f?"width":"height",t=px.has(pr(o)),r=i.reference[d]-i.floating[e]+(t&&(null==(v=a.offset)?void 0:v[d])||0)+(t?0:g.crossAxis),n=i.reference[d]+i.reference[e]+(t?0:(null==(y=a.offset)?void 0:y[d])||0)-(t?g.crossAxis:0);h<r?h=r:h>n&&(h=n)}return{[f]:p,[d]:h}}}).fn,options:[e,t]}},pW=(e,t)=>{var r;let n=(void 0===(r=e)&&(r={}),{name:"flip",options:r,async fn(e){var t,n,o,i,a,s,l,u;let c,d,f,{placement:p,middlewareData:h,rects:m,initialPlacement:g,platform:v,elements:y}=e,{mainAxis:b=!0,crossAxis:x=!0,fallbackPlacements:S,fallbackStrategy:w="bestFit",fallbackAxisSideDirection:_="none",flipAlignment:k=!0,...C}=pt(r,e);if(null!=(t=h.arrow)&&t.alignmentOffset)return{};let M=pr(p),P=pa(g),T=pr(g)===g,E=await (null==v.isRTL?void 0:v.isRTL(y.floating)),R=S||(T||!k?[pf(g)]:(c=pf(g),[ps(g),c,ps(c)])),L="none"!==_;!S&&L&&R.push(...(d=pn(g),f=function(e,t,r){switch(e){case"top":case"bottom":if(r)return t?pu:pl;return t?pl:pu;case"left":case"right":return t?pc:pd;default:return[]}}(pr(g),"start"===_,E),d&&(f=f.map(e=>e+"-"+d),k&&(f=f.concat(f.map(ps)))),f));let A=[g,...R],N=await v.detectOverflow(e,C),$=[],I=(null==(n=h.flip)?void 0:n.overflows)||[];if(b&&$.push(N[M]),x){let e,t,r,n,o=(s=p,l=m,void 0===(u=E)&&(u=!1),e=pn(s),r=pi(t=po(pa(s))),n="x"===t?e===(u?"end":"start")?"right":"left":"start"===e?"bottom":"top",l.reference[r]>l.floating[r]&&(n=pf(n)),[n,pf(n)]);$.push(N[o[0]],N[o[1]])}if(I=[...I,{placement:p,overflows:$}],!$.every(e=>e<=0)){let e=((null==(o=h.flip)?void 0:o.index)||0)+1,t=A[e];if(t&&("alignment"!==x||P===pa(t)||I.every(e=>pa(e.placement)!==P||e.overflows[0]>0)))return{data:{index:e,overflows:I},reset:{placement:t}};let r=null==(i=I.filter(e=>e.overflows[0]<=0).sort((e,t)=>
137e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!r)switch(w){case"bestFit":{let e=null==(a=I.filter(e=>{if(L){let t=pa(e.placement);return t===P||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:a[0];e&&(r=e);break}case"initialPlacement":r=g}if(p!==r)return{reset:{placement:r}}}return{}}});return{name:n.name,fn:n.fn,options:[e,t]}},pH=(e,t)=>{var r;let n=(void 0===(r=e)&&(r={}),{name:"inline",options:r,async fn(e){let{placement:t,elements:n,rects:o,platform:i,strategy:a}=e,{padding:s=2,x:l,y:u}=pt(r,e),c=Array.from(await (null==i.getClientRects?void 0:i.getClientRects(n.reference))||[]),d=function(e){let t=e.slice().sort((e,t)=>e.y-t.y),r=[],n=null;for(let e=0;e<t.length;e++){let o=t[e];!n||o.y-n.y>n.height/2?r.push([o]):r[r.length-1].push(o),n=o}return r.map(e=>ph(pb(e)))}(c),f=ph(pb(c)),p=pp(s),h=await i.getElementRects({reference:{getBoundingClientRect:function(){if(2===d.length&&d[0].left>d[1].right&&null!=l&&null!=u)return d.find(e=>l>e.left-p.left&&l<e.right+p.right&&u>e.top-p.top&&u<e.bottom+p.bottom)||f;if(d.length>=2){if("y"===pa(t)){let e=d[0],r=d[d.length-1],n="top"===pr(t),o=e.top,i=r.bottom,a=n?e.left:r.left,s=n?e.right:r.right;return{top:o,bottom:i,left:a,right:s,width:s-a,height:i-o,x:a,y:o}}let e="left"===pr(t),r=f3(...d.map(e=>e.right)),n=f7(...d.map(e=>e.left)),o=d.filter(t=>e?t.left===n:t.right===r),i=o[0].top,a=o[o.length-1].bottom;return{top:i,bottom:a,left:n,right:r,width:r-n,height:a-i,x:n,y:i}}return f}},floating:n.floating,strategy:a});return o.reference.x!==h.reference.x||o.reference.y!==h.reference.y||o.reference.width!==h.reference.width||o.reference.height!==h.reference.height?{reset:{rects:h}}:{}}});return{name:n.name,fn:n.fn,options:[e,t]}},pG={...e0},pX=pG.useInsertionEffect||(e=>e());var pq="u">typeof document?eL.useLayoutEffect:eL.useEffect;let pK=!1,pZ=0,pY=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+pZ++,pJ=pG.useId||function(){let[e,t]=e0.useState(()=>pK?pY():void 0);return pq(()=>{null==e&&t(pY())},[]),e0.useEffect(()=>{pK=!0},[]),e},pQ=e0.createContext(null),p0=e0.createContext(null);ex("lvLU0");var ej=ex("9BXUG");ex("f7SMx");var eC=ex("8G7zL"),eL=ex("4RLZr");ex("f7SMx"),ex("9BXUG"),ex("lvLU0");let[p1,p2]=di("ScrollArea.Root component was not found in tree");ex("f7SMx");var eL=ex("4RLZr");function p5(e){let t=(0,eL.useRef)(e);return(0,eL.useEffect)(()=>{t.current=e}),(0,eL.useMemo)(()=>(...e)=>t.current?.(...e),[])}function p4(e,t){let r=p5(t);fE(()=>{let t=0;if(e){let n=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(r)});return n.observe(e),()=>{window.cancelAnimationFrame(t),n.unobserve(e)}}},[e,r])}let p7=(0,eC.forwardRef)((e,t)=>{let{style:r,...n}=e,o=p2(),[i,a]=(0,eL.useState)(0),[s,l]=(0,eL.useState)(0),u=!!(i&&s);return p4(o.scrollbarX,()=>{let e=o.scrollbarX?.offsetHeight||0;o.onCornerHeightChange(e),l(e)}),p4(o.scrollbarY,()=>{let e=o.scrollbarY?.offsetWidth||0;o.onCornerWidthChange(e),a(e)}),u?(0,ej.jsx)("div",{...n,ref:t,style:{...r,width:i,height:s}}):null}),p3=(0,eC.forwardRef)((e,t)=>{let r=p2(),n=!!(r.scrollbarX&&r.scrollbarY);return"scroll"!==r.type&&n?(0,ej.jsx)(p7,{...e,ref:t}):null});var ej=ex("9BXUG");ex("f7SMx");var eC=ex("8G7zL"),eL=ex("4RLZr");ex("lvLU0");let p9={scrollHideDelay:1e3,type:"hover"},p6=(0,eC.forwardRef)((e,t)=>{let{type:r,scrollHideDelay:n,scrollbars:o,...i}=ck("ScrollAreaRoot",p9,e),[a,s]=(0,eL.useState)(null),[l,u]=(0,eL.useState)(null),[c,d]=(0,eL.useState)(null),[f,p]=(0,eL.useState)(null),[h,m]=(0,eL.useState)(null),[g,v]=(0,eL.useState)(0),[y,b]=(0,eL.useState)(0),[x,S]=(0,eL.useState)(!1),[w,_]=(0,eL.useState)(!1),k=dT(t,e=>s(e));return(0,ej.jsx)(p1,{value:{type:r,scrollHideDelay:n,scrollArea:a,viewport:l,onViewportChange:u,content:c,onContentChange:d,scrollbarX:f,onScrollbarXChange:p,scrollbarXEnabled:x,onScrollbarXEnabledChange:S,scrollbarY:h,onScrollbarYChange:m,scrollbarYEnabled:w,onScrollbarYEnabledChange:_,onCornerWidthChange:v,onCornerHeightChange:b},children:(0,ej.jsx)(cy,{...i,ref:k,__vars:{"--sa-corner-width":"xy"!==o?"0px":`${g}px`,"--sa-corner-height":"xy"!==o?"0px":`${y}px`}})})});p6.displayName="@mantine/core/ScrollAreaRoot";var ej=ex("9BXUG");ex("f7SMx");var eC=ex("8G7zL"),eL=ex("4RLZr"),ej=ex("9BXUG");ex("f7SMx");var eC=ex("8G7zL"),eL=ex("4RLZr");ex("f7SMx");var eL=ex("4RLZr");function p8(e,t){let r="number"==typeof t?t:t.delay,n="number"!=typeof t&&t.flushOnUnmount,o=p5(e),i=(0,eL.useRef)(0),a=(0,eL.useRef)(()=>{}),s=Object.assign((0,eL.useCallback)((...e)=>{window.clearTimeout(i.current);let t=()=>{0!==i.current&&(i.current=0,o(...e))};a.current=t,s.flush=t,i.current=window.setTimeout(t,r)},[o,r]),{flush:a.current});return(0,eL.useEffect)(()=>()=>{window.clearTimeout(i.current),n&&s.flush()},[s,n]),s}var ej=ex("9BXUG");ex("f7SMx");var eC=ex("8G7zL"),eL=ex("4RLZr");ex("lvLU0");var ej=ex("9BXUG");ex("f7SMx");var ew=ex("10mKg"),eL=ex("4RLZr");let he=(0,ew.createContext)({dir:"ltr",toggleDirection:()=>{},setDirection:()=>{}});function ht(){return(0,eL.useContext)(he)}function hr(e,t){let r=e/t;return Number.isNaN(r)?0:r}function hn(e){let t=hr(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd;return Math.max((e.scrollbar.size-r)*t,18)}function ho(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}function hi(e,t,r="ltr"){let n=hn(t),o=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,i=t.scrollbar.size-o,a=t.content-t.viewport,s=function(e,[t,r]){return Math.min(r,Math.max(t,e))}(e,"ltr"===r?[0,a]:[-1*a,0]);return ho([0,a],[0,i-n])(s)}var ej=ex("9BXUG");ex("f7SMx");var eC=ex("8G7zL"),eL=ex("4RLZr");function ha(e){return e?parseInt(e,10):0}var ej=ex("9BXUG");ex("f7SMx");var eC=ex("8G7zL"),eL=ex("4RLZr");function hs(e,t,{checkForDefaultPrevented:r=!0}={}){return n=>{e?.(n),!1!==r&&n.defaultPrevented||t?.(n)}}ex("f7SMx"),ex("9BXUG"),ex("lvLU0");let[hl,hu]=di("ScrollAreaScrollbar was not found in tree"),hc=(0,eC.forwardRef)((e,t)=>{let{sizes:r,hasThumb:n,onThumbChange:o,onThumbPointerUp:i,onThumbPointerDown:a,onThumbPositionChange:s,onDragScroll:l,onWheelScroll:u,onResize:c,...d}=e,f=p2(),[p,h]=(0,eL.useState)(null),m=dT(t,e=>h(e)),g=(0,eL.useRef)(null),v=(0,eL.useRef)(""),{viewport:y}=f,b=r.content-r.viewport,x=p5(u),S=p5(s),w=p8(c,10),_=e=>{g.current&&l({x:e.clientX-g.current.left,y:e.clientY-g.current.top})};return(0,eL.useEffect)(()=>{let e=e=>{let t=e.target;p?.contains(t)&&x(e,b)};return document.addEventListener("wheel",e,{passive:!1}),()=>document.removeEventListener("wheel",e,{passive:!1})},[y,p,b,x]),(0,eL.useEffect)(S,[r,S]),p4(p,w),p4(f.content,w),(0,ej.jsx)(hl,{value:{scrollbar:p,hasThumb:n,onThumbChange:p5(o),onThumbPointerUp:p5(i),onThumbPositionChange:S,onThumbPointerDown:p5(a)},children:(0,ej.jsx)("div",{...d,ref:m,"data-mantine-scrollbar":!0,style:{position:"absolute",...d.style},onPointerDown:hs(e.onPointerDown,e=>{e.preventDefault(),0===e.button&&(e.target.setPointerCapture(e.pointerId),g.current=p.getBoundingClientRect(),v.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",_(e))}),onPointerMove:hs(e.onPointerMove,_),onPointerUp:hs(e.onPointerUp,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&(e.preventDefault(),t.releasePointerCapture(e.pointerId))}),onLostPointerCapture:()=>{document.body.style.webkitUserSelect=v.current,g.current=null}})})}),hd=(0,eC.forwardRef)((e,t)=>{let{sizes:r,onSizesChange:n,style:o,...i}=e,a=p2(),[s,l]=(0,eL.useState)(),u=(0,eL.useRef)(null),c=dT(t,u,a.onScrollbarXChange);return(0,eL.useEffect)(()=>{u.current&&l(getComputedStyle(u.current))},[u]),(0,ej.jsx)(hc,{"data-orientation":"horizontal",...i,ref:c,sizes:r,style:{...o,"--sa-thumb-width":`${hn(r)}px`},onThumbPointerDown:t=>e.onThumbPointerDown(t.x),onDragScroll:t=>e.onDragScroll(t.x),onWheelScroll:(t,r)=>{if(a.viewport){let n=a.viewport.scrollLeft+t.deltaX;e.onWheelScroll(n),n>0&&n<r&&t.preventDefault()}},onResize:()=>{u.current&&a.viewport&&s&&n({content:a.viewport.scrollWidth,viewport:
137a.viewport.offsetWidth,scrollbar:{size:u.current.clientWidth,paddingStart:ha(s.paddingLeft),paddingEnd:ha(s.paddingRight)}})}})});hd.displayName="@mantine/core/ScrollAreaScrollbarX";var ej=ex("9BXUG");ex("f7SMx");var eC=ex("8G7zL"),eL=ex("4RLZr");let hf=(0,eC.forwardRef)((e,t)=>{let{sizes:r,onSizesChange:n,style:o,...i}=e,a=p2(),[s,l]=(0,eL.useState)(),u=(0,eL.useRef)(null),c=dT(t,u,a.onScrollbarYChange);return(0,eL.useEffect)(()=>{u.current&&l(window.getComputedStyle(u.current))},[]),(0,ej.jsx)(hc,{...i,"data-orientation":"vertical",ref:c,sizes:r,style:{"--sa-thumb-height":`${hn(r)}px`,...o},onThumbPointerDown:t=>e.onThumbPointerDown(t.y),onDragScroll:t=>e.onDragScroll(t.y),onWheelScroll:(t,r)=>{if(a.viewport){let n=a.viewport.scrollTop+t.deltaY;e.onWheelScroll(n),n>0&&n<r&&t.preventDefault()}},onResize:()=>{u.current&&a.viewport&&s&&n({content:a.viewport.scrollHeight,viewport:a.viewport.offsetHeight,scrollbar:{size:u.current.clientHeight,paddingStart:ha(s.paddingTop),paddingEnd:ha(s.paddingBottom)}})}})});hf.displayName="@mantine/core/ScrollAreaScrollbarY";let hp=(0,eC.forwardRef)((e,t)=>{let{orientation:r="vertical",...n}=e,{dir:o}=ht(),i=p2(),a=(0,eL.useRef)(null),s=(0,eL.useRef)(0),[l,u]=(0,eL.useState)({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),c=hr(l.viewport,l.content),d={...n,sizes:l,onSizesChange:u,hasThumb:!!(c>0&&c<1),onThumbChange:e=>{a.current=e},onThumbPointerUp:()=>{s.current=0},onThumbPointerDown:e=>{s.current=e}},f=(e,t)=>(function(e,t,r,n="ltr"){let o=hn(r),i=t||o/2,a=r.scrollbar.paddingStart+i,s=r.scrollbar.size-r.scrollbar.paddingEnd-(o-i),l=r.content-r.viewport;return ho([a,s],"ltr"===n?[0,l]:[-1*l,0])(e)})(e,s.current,l,t);return"horizontal"===r?(0,ej.jsx)(hd,{...d,ref:t,onThumbPositionChange:()=>{if(i.viewport&&a.current){let e=hi(i.viewport.scrollLeft,l,o);a.current.style.transform=`translate3d(${e}px, 0, 0)`}},onWheelScroll:e=>{i.viewport&&(i.viewport.scrollLeft=e)},onDragScroll:e=>{i.viewport&&(i.viewport.scrollLeft=f(e,o))}}):"vertical"===r?(0,ej.jsx)(hf,{...d,ref:t,onThumbPositionChange:()=>{if(i.viewport&&a.current){let e=hi(i.viewport.scrollTop,l);0===l.scrollbar.size?a.current.style.setProperty("--thumb-opacity","0"):a.current.style.setProperty("--thumb-opacity","1"),a.current.style.transform=`translate3d(0, ${e}px, 0)`}},onWheelScroll:e=>{i.viewport&&(i.viewport.scrollTop=e)},onDragScroll:e=>{i.viewport&&(i.viewport.scrollTop=f(e))}}):null});hp.displayName="@mantine/core/ScrollAreaScrollbarVisible";let hh=(0,eC.forwardRef)((e,t)=>{let r=p2(),{forceMount:n,...o}=e,[i,a]=(0,eL.useState)(!1),s="horizontal"===e.orientation,l=p8(()=>{if(r.viewport){let e=r.viewport.offsetWidth<r.viewport.scrollWidth,t=r.viewport.offsetHeight<r.viewport.scrollHeight;a(s?e:t)}},10);return(p4(r.viewport,l),p4(r.content,l),n||i)?(0,ej.jsx)(hp,{"data-state":i?"visible":"hidden",...o,ref:t}):null});hh.displayName="@mantine/core/ScrollAreaScrollbarAuto";var ej=ex("9BXUG");ex("f7SMx");var eC=ex("8G7zL"),eL=ex("4RLZr");let hm=(0,eC.forwardRef)((e,t)=>{let{forceMount:r,...n}=e,o=p2(),[i,a]=(0,eL.useState)(!1);return((0,eL.useEffect)(()=>{let{scrollArea:e}=o,t=0;if(e){let r=()=>{window.clearTimeout(t),a(!0)},n=()=>{t=window.setTimeout(()=>a(!1),o.scrollHideDelay)};return e.addEventListener("pointerenter",r),e.addEventListener("pointerleave",n),()=>{window.clearTimeout(t),e.removeEventListener("pointerenter",r),e.removeEventListener("pointerleave",n)}}},[o.scrollArea,o.scrollHideDelay]),r||i)?(0,ej.jsx)(hh,{"data-state":i?"visible":"hidden",...n,ref:t}):null});hm.displayName="@mantine/core/ScrollAreaScrollbarHover";var ej=ex("9BXUG");ex("f7SMx");var eC=ex("8G7zL"),eL=ex("4RLZr");let hg=(0,eC.forwardRef)((e,t)=>{let{forceMount:r,...n}=e,o=p2(),i="horizontal"===e.orientation,[a,s]=(0,eL.useState)("hidden"),l=p8(()=>s("idle"),100);return((0,eL.useEffect)(()=>{if("idle"===a){let e=window.setTimeout(()=>s("hidden"),o.scrollHideDelay);return()=>window.clearTimeout(e)}},[a,o.scrollHideDelay]),(0,eL.useEffect)(()=>{let{viewport:e}=o,t=i?"scrollLeft":"scrollTop";if(e){let r=e[t],n=()=>{let n=e[t];r!==n&&(s("scrolling"),l()),r=n};return e.addEventListener("scroll",n),()=>e.removeEventListener("scroll",n)}}
137,[o.viewport,i,l]),r||"hidden"!==a)?(0,ej.jsx)(hp,{"data-state":"hidden"===a?"hidden":"visible",...n,ref:t,onPointerEnter:hs(e.onPointerEnter,()=>s("interacting")),onPointerLeave:hs(e.onPointerLeave,()=>s("idle"))}):null}),hv=(0,eC.forwardRef)((e,t)=>{let{forceMount:r,...n}=e,o=p2(),{onScrollbarXEnabledChange:i,onScrollbarYEnabledChange:a}=o,s="horizontal"===e.orientation;return(0,eL.useEffect)(()=>(s?i(!0):a(!0),()=>{s?i(!1):a(!1)}),[s,i,a]),"hover"===o.type?(0,ej.jsx)(hm,{...n,ref:t,forceMount:r}):"scroll"===o.type?(0,ej.jsx)(hg,{...n,ref:t,forceMount:r}):"auto"===o.type?(0,ej.jsx)(hh,{...n,ref:t,forceMount:r}):"always"===o.type?(0,ej.jsx)(hp,{...n,ref:t}):null});hv.displayName="@mantine/core/ScrollAreaScrollbar";var ej=ex("9BXUG");ex("f7SMx");var eC=ex("8G7zL"),eL=ex("4RLZr");let hy=(0,eC.forwardRef)((e,t)=>{let{style:r,...n}=e,o=p2(),i=hu(),{onThumbPositionChange:a}=i,s=dT(t,e=>i.onThumbChange(e)),l=(0,eL.useRef)(void 0),u=p8(()=>{l.current&&(l.current(),l.current=void 0)},100);return(0,eL.useEffect)(()=>{let{viewport:e}=o;if(e){let t=()=>{u(),l.current||(l.current=function(e,t=()=>{}){let r={left:e.scrollLeft,top:e.scrollTop},n=0;return!function o(){let i={left:e.scrollLeft,top:e.scrollTop},a=r.left!==i.left,s=r.top!==i.top;(a||s)&&t(),r=i,n=window.requestAnimationFrame(o)}(),()=>window.cancelAnimationFrame(n)}(e,a),a())};return a(),e.addEventListener("scroll",t),()=>e.removeEventListener("scroll",t)}},[o.viewport,u,a]),(0,ej.jsx)("div",{"data-state":i.hasThumb?"visible":"hidden",...n,ref:s,style:{width:"var(--sa-thumb-width)",height:"var(--sa-thumb-height)",...r},onPointerDownCapture:hs(e.onPointerDownCapture,e=>{let t=e.target.getBoundingClientRect(),r=e.clientX-t.left,n=e.clientY-t.top;i.onThumbPointerDown({x:r,y:n})}),onPointerUp:hs(e.onPointerUp,i.onThumbPointerUp)})});hy.displayName="@mantine/core/ScrollAreaThumb";let hb=(0,eC.forwardRef)((e,t)=>{let{forceMount:r,...n}=e,o=hu();return r||o.hasThumb?(0,ej.jsx)(hy,{ref:t,...n}):null});hb.displayName="@mantine/core/ScrollAreaThumb";var ej=ex("9BXUG");ex("f7SMx");var eC=ex("8G7zL");ex("lvLU0");let hx=(0,eC.forwardRef)(({children:e,style:t,...r},n)=>{let o=p2(),i=dT(n,o.onViewportChange);return(0,ej.jsx)(cy,{...r,ref:i,style:{overflowX:o.scrollbarXEnabled?"scroll":"hidden",overflowY:o.scrollbarYEnabled?"scroll":"hidden",...t},children:(0,ej.jsx)("div",{style:{minWidth:"100%"},ref:o.onContentChange,children:e})})});hx.displayName="@mantine/core/ScrollAreaViewport";var hS={root:"m_d57069b5",viewport:"m_c0783ff9",viewportInner:"m_f8f631dd",scrollbar:"m_c44ba933",thumb:"m_d8b5e363",corner:"m_21657268"};let hw={scrollHideDelay:1e3,type:"hover",scrollbars:"xy"},h_=(e,{scrollbarSize:t,overscrollBehavior:r})=>({root:{"--scrollarea-scrollbar-size":uY(t),"--scrollarea-over-scroll-behavior":r}}),hk=cN((e,t)=>{var r;let n=ck("ScrollArea",hw,e),{classNames:o,className:i,style:a,styles:s,unstyled:l,scrollbarSize:u,vars:c,type:d,scrollHideDelay:f,viewportProps:p,viewportRef:h,onScrollPositionChange:m,children:g,offsetScrollbars:v,scrollbars:y,onBottomReached:b,onTopReached:x,overscrollBehavior:S,...w}=n,[_,k]=(0,eL.useState)(!1),[C,M]=(0,eL.useState)(!1),[P,T]=(0,eL.useState)(!1),E=cL({name:"ScrollArea",props:n,classes:hS,className:i,style:a,classNames:o,styles:s,unstyled:l,vars:c,varsResolver:h_}),R=(0,eL.useRef)(null),L=(r=[h,R],e0.useMemo(()=>r.every(e=>null==e)?null:e=>{r.forEach(t=>{"function"==typeof t?t(e):null!=t&&(t.current=e)})},r));return(0,eL.useEffect)(()=>{if(!R.current||"present"!==v)return;let e=R.current,t=new ResizeObserver(()=>{let{scrollHeight:t,clientHeight:r,scrollWidth:n,clientWidth:o}=e;M(t>r),T(n>o)});return t.observe(e),()=>t.disconnect()},[R,v]),(0,ej.jsxs)(p6,{type:"never"===d?"always":d,scrollHideDelay:f,ref:t,scrollbars:y,...E("root"),...w,children:[(0,ej.jsx)(hx,{...p,...E("viewport",{style:p?.style}),ref:L,"data-offset-scrollbars":!0===v?"xy":v||void 0,"data-scrollbars":y||void 0,"data-horizontal-hidden":"present"!==v||P?void 0:"true","data-vertical-hidden":"present"!==v||C?void 0:"true",onScroll:e=>{p?.onScroll?.(e),m?.({x:e.currentTarget.scrollLeft,y:e.currentTarget.scrollTop});let{scrollTop:t,scrollHeight:r,clientHeight:n}=e.currentTarget;t-(r-n)>=-.6&&b?.(),0===t&&x?.()},children:g}),("xy"===y||"x"===y)&&(0,ej.jsx)(hv,{...E("scrollbar"),orientation:"horizontal","data-hidden":"never"===d||"present"===v&&!P||void 0,forceMount:!0,onMouseEnter:()=>k(!0),onMouseLeave:()=>k(!1),children:(0,ej.jsx)(hb,{...E("thumb")})}),("xy"===y||"y"===y)&&(0,ej.jsx)(hv,{...E("scrollbar"),orientation:"vertical","data-hidden":"never"===d||"present"===v&&!C||void 0,forceMount:!0,onMouseEnter:()=>k(!0),onMouseLeave:()=>k(!1),children:(0,ej.jsx)(hb,{...E("thumb")})}),(0,ej.jsx)(p3,{...E("corner"),"data-hovered":_||void 0,"data-hidden":"never"===d||void 0})]})});hk.displayName="@mantine/core/ScrollArea";let hC=cN((e,t)=>{let{children:r,classNames:n,styles:o,scrollbarSize:i,scrollHideDelay:a,type:s,dir:l,offsetScrollbars:u,viewportRef:c,onScrollPositionChange:d,unstyled:f,variant:p,viewportProps:h,scrollbars:m,style:g,vars:v,onBottomReached:y,onTopReached:b,...x}=ck("ScrollAreaAutosize",hw,e);return(0,ej.jsx)(cy,{...x,ref:t,style:[{display:"flex",overflow:"auto"}
137,g],children:(0,ej.jsx)(cy,{style:{display:"flex",flexDirection:"column",flex:1},children:(0,ej.jsx)(hk,{classNames:n,styles:o,scrollHideDelay:a,scrollbarSize:i,type:s,dir:l,offsetScrollbars:u,viewportRef:c,onScrollPositionChange:d,unstyled:f,variant:p,viewportProps:h,vars:v,scrollbars:m,onBottomReached:y,onTopReached:b,children:r})})})});hk.classes=hS,hC.displayName="@mantine/core/ScrollAreaAutosize",hC.classes=hS,hk.Autosize=hC;let hM={__staticSelector:"Modal",closeOnClickOutside:!0,withinPortal:!0,lockScroll:!0,trapFocus:!0,returnFocus:!0,closeOnEscape:!0,keepMounted:!1,zIndex:dn.modal,transitionProps:{duration:200,transition:"fade-down"},yOffset:"5dvh"},hP=(e,{radius:t,size:r,yOffset:n,xOffset:o})=>({root:{"--modal-radius":void 0===t?void 0:cS(t),"--modal-size":cb(r,"modal-size"),"--modal-y-offset":uY(n),"--modal-x-offset":uY(o)}}),hT=cN((e,t)=>{let r=ck("ModalRoot",hM,e),{classNames:n,className:o,style:i,styles:a,unstyled:s,vars:l,yOffset:u,scrollAreaComponent:c,radius:d,fullScreen:f,centered:p,xOffset:h,__staticSelector:m,...g}=r,v=cL({name:m,classes:dd,props:r,className:o,style:i,classNames:n,styles:a,unstyled:s,vars:l,varsResolver:hP});return(0,ej.jsx)(du,{value:{yOffset:u,scrollAreaComponent:c,getStyles:v,fullScreen:f},children:(0,ej.jsx)(fO,{ref:t,...v("root"),"data-full-screen":f||void 0,"data-centered":p||void 0,"data-offset-scrollbars":c===hk.Autosize||void 0,unstyled:s,...g})})});hT.classes=dd,hT.displayName="@mantine/core/ModalRoot";var ej=ex("9BXUG");ex("f7SMx");var eL=ex("4RLZr"),ej=ex("9BXUG");ex("f7SMx");var ew=ex("10mKg"),eL=ex("4RLZr");function hE(e=null){let t=(0,ew.createContext)(e);return[({children:e,value:r})=>(0,ej.jsx)(t.Provider,{value:r,children:e}),()=>(0,eL.useContext)(t)]}ex("lvLU0");let[hR,hL]=hE();function hA({children:e}){let[t,r]=(0,eL.useState)([]),[n,o]=(0,eL.useState)(dn.modal);return(0,ej.jsx)(hR,{value:{stack:t,addModal:(e,t)=>{r(t=>[...new Set([...t,e])]),o(e=>"number"==typeof t&&"number"==typeof e?Math.max(e,t):e)},removeModal:e=>r(t=>t.filter(t=>t!==e)),getZIndex:e=>`calc(${n} + ${t.indexOf(e)} + 1)`,currentId:t[t.length-1],maxZIndex:n},children:e})}hA.displayName="@mantine/core/ModalStack";var ej=ex("9BXUG");ex("f7SMx"),ex("lvLU0");var ej=ex("9BXUG");ex("f7SMx");var eC=ex("8G7zL"),eM=ex("lvLU0");ex("f7SMx");var eL=ex("4RLZr");let hN=(0,eC.forwardRef)(({className:e,...t},r)=>{let n,o=(n=ds(),(0,eL.useEffect)(()=>(n.setTitleMounted(!0),()=>n.setTitleMounted(!1)),[]),n.getTitleId()),i=ds();return(0,ej.jsx)(cy,{component:"h2",ref:r,className:(0,eM.default)({m_615af6c9:!i.unstyled},e),...t,id:o})});hN.displayName="@mantine/core/ModalBaseTitle";let h$={},hI=cN((e,t)=>{let{classNames:r,className:n,style:o,styles:i,vars:a,...s}=ck("ModalTitle",h$,e),l=dc();return(0,ej.jsx)(hN,{ref:t,...l.getStyles("title",{classNames:r,style:o,styles:i,className:n}),...s})});hI.classes=dd,hI.displayName="@mantine/core/ModalTitle";let hj={closeOnClickOutside:!0,withinPortal:!0,lockScroll:!0,trapFocus:!0,returnFocus:!0,closeOnEscape:!0,keepMounted:!1,zIndex:dn.modal,transitionProps:{duration:200,transition:"fade-down"},withOverlay:!0,withCloseButton:!0},hO=cN((e,t)=>{let{title:r,withOverlay:n,overlayProps:o,withCloseButton:i,closeButtonProps:a,children:s,radius:l,opened:u,stackId:c,zIndex:d,...f}=ck("Modal",hj,e),p=hL(),h=!!r||i,m=p&&c?{closeOnEscape:p.currentId===c,trapFocus:p.currentId===c,zIndex:p.getZIndex(c)}:{},g=!1!==n&&(c&&p?p.currentId===c:u);return(0,eL.useEffect)(()=>{p&&c&&(u?p.addModal(c,d||dn.modal):p.removeModal(c))},[u,c,d]),(0,ej.jsxs)(hT,{ref:t,radius:l,opened:u,zIndex:p&&c?p.getZIndex(c):d,...f,...m,children:[n&&(0,ej.jsx)(dQ,{visible:g,transitionProps:p&&c?{duration:0}:void 0,...o}),(0,ej.jsxs)(dF,{radius:l,__hidden:!!p&&!!c&&!!u&&c!==p.currentId,children:[h&&(0,ej.jsxs)(dH,{children:[r&&(0,ej.jsx)(hI,{children:r}),i&&(0,ej.jsx)(dS,{...a})]}),(0,ej.jsx)(dp,{children:s})]})]})});hO.classes=dd,hO.displayName="@mantine/core/Modal",hO.Root=hT,hO.Overlay=dQ,hO.Content=dF,hO.Body=dp,hO.Header=dH,hO.Title=hI,hO.CloseButton=dS,hO.Stack=hA;var ej=ex("9BXUG");ex("f7SMx"),ex("lvLU0");var hB={root:"m_6d731127"};let hz={gap:"md",align:"stretch",justify:"flex-start"},hU=(e,{gap:t,align:r,justify:n})=>({root:{"--stack-gap":cx(t),"--stack-align":r,"--stack-justify":n}}),hD=cN((e,t)=>{let r=ck("Stack",hz,e),{classNames:n,className:o,style:i,styles:a,unstyled:s,vars:l,align:u,justify:c,gap:d,variant:f,...p}=r,h=cL({name:"Stack",props:r,classes:hB,className:o,style:i,classNames:n,styles:a,unstyled:s,vars:l,varsResolver:hU});return(0,ej.jsx)(cy,{ref:t,...h("root"),variant:f,...p})});hD.classes=hB,hD.displayName="@mantine/core/Stack";var ej=ex("9BXUG");ex("f7SMx"),ex("lvLU0");var hF={root:"m_b6d8b162"};let hV={inherit:!1},hW=(e,{variant:t,lineClamp:r,gradient:n,size:o,color:i})=>({root:{"--text-fz":cw(o),"--text-lh":cb(o,"mantine-line-height",!1),"--text-gradient":"gradient"===t?u3(n,e):void 0,"--text-line-clamp":"number"==typeof r?r.toString():void 0,"--text-color":i?u7(i,e):void 0}}),hH=c$((e,t)=>{let r=ck("Text",hV,e),{lineClamp:n,truncate:o,inline:i,inherit:a,gradient:s,span:l,__staticSelector:u,vars:c,className:d,style:f,classNames:p,styles:h,unstyled:m,variant:g,mod:v,size:y,...b}=r,x=cL({name:["Text",u],props:r,classes:hF,className:d,style:f,classNames:p,styles:h,unstyled:m,vars:c,varsResolver:hW});return(0,ej.jsx)(cy,{...x("root",{focusable:!0}),ref:t,component:l?"span":"p",variant:g,mod:[{"data-truncate":"start"===o?"start":"end"===o||o?"end":void 0,"data-line-clamp":"number"==typeof n,"data-inline":i,"data-inherit":a},v],size:y,...b})});hH.classes=hF,hH.displayName="@mantine/core/Text";var ej=ex("9BXUG");ex("f7SMx"),ex("lvLU0");var ej=ex("9BXUG");ex("f7SMx"),ex("lvLU0");var ej=ex("9BXUG");ex("f7SMx"),ex("lvLU0"),ex("f7SMx"),ex("9BXUG"),ex("lvLU0");let[hG,hX]=hE({size:"sm"});var ej=ex("9BXUG");function hq({classNames:e,styles:t,props:r,stylesCtx:n}){let o=ci();return{resolvedClassNames:cP({theme:o,classNames:e,props:r,stylesCtx:n||void 0}),resolvedStyles:cE({theme:o,styles:t,props:r,stylesCtx:n||void 0})}}ex("f7SMx"),ex("lvLU0"),ex("f7SMx"),ex("9BXUG");let hK={},hZ=cN((e,t)=>{let r=ck("InputClearButton",hK,e),{size:n,variant:o,vars:i,classNames:a,styles:s,...l}=r,u=hX(),{resolvedClassNames:c,resolvedStyles:d}=hq({classNames:a,styles:s,props:r});return(0,ej.jsx)(dy,{variant:o||"transparent",ref:t,size:n||u?.size||"sm",classNames:c,styles:d,__staticSelector:"InputClearButton",...l})});hZ.displayName="@mantine/core/InputClearButton";var ej=ex("9BXUG");ex("f7SMx"),ex("lvLU0"),ex("f7SMx"),ex("9BXUG"),ex("lvLU0");let[hY,hJ]=hE({offsetBottom:!1,offsetTop:!1,describedBy:void 0,getStyles:null,inputId:void 0,labelId:void 0});var hQ={wrapper:"m_6c018570",input:"m_8fb7ebe7",section:"m_82577fc2",placeholder:"m_88bacfd0",root:"m_46b77525",label:"m_8fdc1311",required:"m_78a94662",error:"m_8f816625",description:"m_fe47ce59"};let h0={},h1=(e,{size:t})=>({description:{"--input-description-size":void 0===t?void 0:`calc(${cw(t)} - ${uY(2)})`}}),h2=cN((e,t)=>{let r=ck("InputDescription",h0,e),{classNames:n,className:o,style:i,styles:a,unstyled:s,vars:l,size:u,__staticSelector:c,__inheritStyles:d=!0,variant:f,...p}=ck("InputDescription",h0,r),h=hJ(),m=cL({name:["InputWrapper",c],props:r,classes:hQ,className:o,style:i,classNames:n,styles:a,unstyled:s,rootSelector:"description",vars:l,varsResolver:h1}),g=d&&h?.getStyles||m;return(0,ej.jsx)(cy,{component:"p",ref:t,variant:f,size:u,...g("description",h?.getStyles?{className:o,style:i}:void 0),...p})});h2.classes=hQ,h2.displayName="@mantine/core/InputDescription";var ej=ex("9BXUG");ex("f7SMx"),ex("lvLU0");let h5={},h4=(e,{size:t})=>({error:{"--input-error-size":void 0===t?void 0:`calc(${cw(t)} - ${uY(2)})`}}),h7=cN((e,t)=>{let r=ck("InputError",h5,e),{classNames:n,className:o,style:i,styles:a,unstyled:s,vars:l,size:u,__staticSelector:c,__inheritStyles:d=!0,variant:f,...p}=r,h=cL({name:["InputWrapper",c],props:r,classes:hQ,className:o,style:i,classNames:n,styles:a,unstyled:s,rootSelector:"error",vars:l,varsResolver:h4}),m=hJ(),g=d&&m?.getStyles||h;return(0,ej.jsx)(cy,{component:"p",ref:t,variant:f,size:u,...g("error",m?.getStyles?{className:o,style:i}:void 0),...p})});h7.classes=hQ,h7.displayName="@mantine/core/InputError";var ej=ex("9BXUG");ex("f7SMx"),ex("lvLU0");let h3={labelElement:"label"},h9=(e,{size:t})=>({label:{"--input-label-size":cw(t),"--input-asterisk-color":void 0}}),h6=cN((e,t)=>{let r=ck("InputLabel",h3,e),{classNames:n,className:o,style:i,styles:a,unstyled:s,vars:l,labelElement:u,size:c,required:d,htmlFor:f,onMouseDown:p,children:h,__staticSelector:m,variant:g,mod:v,...y}=ck("InputLabel",h3,r),b=cL({name:["InputWrapper",m],props:r,classes:hQ,className:o,style:i,classNames:n,styles:a,unstyled:s,rootSelector:"label",vars:l,varsResolver:h9}),x=hJ(),S=x?.getStyles||b;return(0,ej.jsxs)(cy,{...S("label",x?.getStyles?{className:o,style:i}:void 0),component:u,variant:g,size:c,ref:t,htmlFor:"label"===u?f:void 0,mod:[{required:d},v],onMouseDown:e=>{p?.(e),!e.defaultPrevented&&e.detail>1&&e.preventDefault()},...y,children:[h,d&&(0,ej.jsx)("span",{...S("required"),"aria-hidden":!0,
137children:" *"})]})});h6.classes=hQ,h6.displayName="@mantine/core/InputLabel";var ej=ex("9BXUG");ex("f7SMx"),ex("lvLU0");let h8={},me=cN((e,t)=>{let r=ck("InputPlaceholder",h8,e),{classNames:n,className:o,style:i,styles:a,unstyled:s,vars:l,__staticSelector:u,variant:c,error:d,mod:f,...p}=ck("InputPlaceholder",h8,r),h=cL({name:["InputPlaceholder",u],props:r,classes:hQ,className:o,style:i,classNames:n,styles:a,unstyled:s,rootSelector:"placeholder"});return(0,ej.jsx)(cy,{...h("placeholder"),mod:[{error:!!d},f],component:"span",variant:c,ref:t,...p})});me.classes=hQ,me.displayName="@mantine/core/InputPlaceholder";var ej=ex("9BXUG");ex("f7SMx");var ew=ex("10mKg");ex("lvLU0");let mt={labelElement:"label",inputContainer:e=>e,inputWrapperOrder:["label","description","input","error"]},mr=(e,{size:t})=>({label:{"--input-label-size":cw(t),"--input-asterisk-color":void 0},error:{"--input-error-size":void 0===t?void 0:`calc(${cw(t)} - ${uY(2)})`},description:{"--input-description-size":void 0===t?void 0:`calc(${cw(t)} - ${uY(2)})`}}),mn=cN((e,t)=>{let r=ck("InputWrapper",mt,e),{classNames:n,className:o,style:i,styles:a,unstyled:s,vars:l,size:u,variant:c,__staticSelector:d,inputContainer:f,inputWrapperOrder:p,label:h,error:m,description:g,labelProps:v,descriptionProps:y,errorProps:b,labelElement:x,children:S,withAsterisk:w,id:_,required:k,__stylesApiProps:C,mod:M,...P}=r,T=cL({name:["InputWrapper",d],props:C||r,classes:hQ,className:o,style:i,classNames:n,styles:a,unstyled:s,vars:l,varsResolver:mr}),E={size:u,variant:c,__staticSelector:d},R=fj(_),L=b?.id||`${R}-error`,A=y?.id||`${R}-description`,N=!!m&&"boolean"!=typeof m,$=!!g,I=`${N?L:""} ${$?A:""}`,j=I.trim().length>0?I.trim():void 0,O=v?.id||`${R}-label`,B=h&&(0,ej.jsx)(h6,{labelElement:x,id:O,htmlFor:R,required:"boolean"==typeof w?w:k,...E,...v,children:h},"label"),z=$&&(0,ej.jsx)(h2,{...y,...E,size:y?.size||E.size,id:y?.id||A,children:g},"description"),U=(0,ej.jsx)(ew.Fragment,{children:f(S)},"input"),D=N&&(0,ew.createElement)(h7,{...b,...E,size:b?.size||E.size,key:"error",id:b?.id||L},m),F=p.map(e=>{switch(e){case"label":return B;case"input":return U;case"description":return z;case"error":return D;default:return null}});return(0,ej.jsx)(hY,{value:{getStyles:T,describedBy:j,inputId:R,labelId:O,...function(e,{hasDescription:t,hasError:r}){let n=e.findIndex(e=>"input"===e),o=e.slice(0,n),i=e.slice(n+1),a=t&&o.includes("description")||r&&o.includes("error");return{offsetBottom:t&&i.includes("description")||r&&i.includes("error"),offsetTop:a}}(p,{hasDescription:$,hasError:N})},children:(0,ej.jsx)(cy,{ref:t,variant:c,size:u,mod:[{error:!!m},M],...T("root"),...P,children:F})})});mn.classes=hQ,mn.displayName="@mantine/core/InputWrapper";let mo={variant:"default",leftSectionPointerEvents:"none",rightSectionPointerEvents:"none",withAria:!0,withErrorStyles:!0},mi=(e,t,r)=>({wrapper:{"--input-margin-top":r.offsetTop?"calc(var(--mantine-spacing-xs) / 2)":void 0,"--input-margin-bottom":r.offsetBottom?"calc(var(--mantine-spacing-xs) / 2)":void 0,"--input-height":cb(t.size,"input-height"),"--input-fz":cw(t.size),"--input-radius":void 0===t.radius?void 0:cS(t.radius),"--input-left-section-width":void 0!==t.leftSectionWidth?uY(t.leftSectionWidth):void 0,"--input-right-section-width":void 0!==t.rightSectionWidth?uY(t.rightSectionWidth):void 0,"--input-padding-y":t.multiline?cb(t.size,"input-padding-y"):void 0,"--input-left-section-pointer-events":t.leftSectionPointerEvents,"--input-right-section-pointer-events":t.rightSectionPointerEvents}}),ma=c$((e,t)=>{let r=ck("Input",mo,e),{classNames:n,className:o,style:i,styles:a,unstyled:s,required:l,__staticSelector:u,__stylesApiProps:c,size:d,wrapperProps:f,error:p,disabled:h,leftSection:m,leftSectionProps:g,leftSectionWidth:v,rightSection:y,rightSectionProps:b,rightSectionWidth:x,rightSectionPointerEvents:S,leftSectionPointerEvents:w,variant:_,vars:k,pointer:C,multiline:M,radius:P,id:T,withAria:E,withErrorStyles:R,mod:L,inputSize:A,__clearSection:N,__clearable:$,__defaultRightSection:I,...j}=r,{styleProps:O,rest:B}=cc(j),z=hJ(),U=cL({name:["Input",u],props:c||r,classes:hQ,className:o,style:i,classNames:n,styles:a,unstyled:s,stylesCtx:{offsetBottom:z?.offsetBottom,offsetTop:z?.offsetTop},rootSelector:"wrapper",vars:k,varsResolver:mi}),D=E?{required:l,disabled:h,"aria-invalid":!!p,"aria-describedby":z?.describedBy,id:z?.inputId||T}:{},F=y||$&&N||I;return(0,ej.jsx)(hG,{value:{size:d||"sm"},children:(0,ej.jsxs)(cy,{...U("wrapper"),...O,...f,mod:[{error:!!p&&R,pointer:C,disabled:h,multiline:M,"data-with-right-section":!!F,"data-with-left-section":!!m},L],variant:_,size:d,children:[m&&(0,ej.jsx)("div",{...g,"data-position":"left",...U("section",{className:g?.className,style:g?.style}),children:m}),(0,ej.jsx)(cy,{component:"input",...B,...D,ref:t,required:l,mod:{disabled:h,error:!!p&&R},variant:_,__size:A,...U("input")}),F&&(0,ej.jsx)("div",{...b,"data-position":"right",...U("section",{className:b?.className,style:b?.style}),children:F})]})})});ma.classes=hQ,ma.Wrapper=mn,ma.Label=h6,ma.Error=h7,ma.Description=h2,ma.Placeholder=me,ma.ClearButton=hZ,ma.displayName="@mantine/core/Input",ex("f7SMx"),ex("9BXUG"),ex("lvLU0");let ms={__staticSelector:"InputBase",withAria:!0},ml=c$((e,t)=>{let{inputProps:r,wrapperProps:n,...o}=function(e,t,r){let n=ck(e,t,r),{label:o,description:i,error:a,required:s,classNames:l,styles:u,className:c,unstyled:d,__staticSelector:f,__stylesApiProps:p,errorProps:h,labelProps:m,descriptionProps:g,wrapperProps:v,id:y,size:b,style:x,inputContainer:S,inputWrapperOrder:w,withAsterisk:_,variant:k,vars:C,mod:M,...P}=n,{styleProps:T,rest:E}=cc(P),R={label:o,description:i,error:a,required:s,classNames:l,className:c,__staticSelector:f,__stylesApiProps:p||n,errorProps:h,labelProps:m,descriptionProps:g,unstyled:d,styles:u,size:b,style:x,inputContainer:S,inputWrapperOrder:w,withAsterisk:_,variant:k,id:y,mod:M,...v};return{...E,classNames:l,styles:u,unstyled:d,wrapperProps:{...R,...T},inputProps:{required:s,classNames:l,styles:u,unstyled:d,size:b,__staticSelector:f,__stylesApiProps:p||n,error:a,variant:k,id:y}}}("InputBase",ms,e);return(0,ej.jsx)(ma.Wrapper,{...n,children:(0,ej.jsx)(ma,{...r,...o,ref:t})})});ml.classes={...ma.classes,...ma.Wrapper.classes},ml.displayName="@mantine/core/InputBase";let mu={},mc=cN((e,t)=>{let r=ck("TextInput",mu,e);return(0,ej.jsx)(ml,{component:"input",ref:t,...r,__staticSelector:"TextInput"})});mc.classes=ml.classes,mc.displayName="@mantine/core/TextInput",ex("f7SMx");var ew=ex("10mKg"),eC=ex("8G7zL"),md={outline:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},filled:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"
137currentColor",stroke:"none"}};let mf=(e,t,r,n)=>{let o=(0,eC.forwardRef)(({color:r="currentColor",size:o=24,stroke:i=2,title:a,className:s,children:l,...u},c)=>(0,ew.createElement)("svg",{ref:c,...md[e],width:o,height:o,className:["tabler-icon",`tabler-icon-${t}`,s].join(" "),..."filled"===e?{fill:r}:{strokeWidth:i,stroke:r},...u},[a&&(0,ew.createElement)("title",{key:"svg-title"},a),...n.map(([e,t])=>(0,ew.createElement)(e,t)),...Array.isArray(l)?l:[l]]));return o.displayName=`${r}`,o},mp=mf("outline","keyboard","Keyboard",[["path",{d:"M2 8a2 2 0 0 1 2 -2h16a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-16a2 2 0 0 1 -2 -2l0 -8",key:"svg-0"}],["path",{d:"M6 10l0 .01",key:"svg-1"}],["path",{d:"M10 10l0 .01",key:"svg-2"}],["path",{d:"M14 10l0 .01",key:"svg-3"}],["path",{d:"M18 10l0 .01",key:"svg-4"}],["path",{d:"M6 14l0 .01",key:"svg-5"}],["path",{d:"M18 14l0 .01",key:"svg-6"}],["path",{d:"M10 14l4 .01",key:"svg-7"}]]);var eL=ex("4RLZr"),ew=ex("10mKg"),ej=ex("9BXUG");ex("f7SMx"),ex("lvLU0");var ej=ex("9BXUG");ex("f7SMx"),ex("lvLU0");var mh={root:"m_8d3f4000",icon:"m_8d3afb97",loader:"m_302b9fb1",group:"m_1a0f1b21",groupSection:"m_437b6484"};let mm={orientation:"horizontal"},mg=(e,{borderWidth:t})=>({group:{"--ai-border-width":uY(t)}}),mv=cN((e,t)=>{let r=ck("ActionIconGroup",mm,e),{className:n,style:o,classNames:i,styles:a,unstyled:s,orientation:l,vars:u,borderWidth:c,variant:d,mod:f,...p}=ck("ActionIconGroup",mm,e),h=cL({name:"ActionIconGroup",props:r,classes:mh,className:n,style:o,classNames:i,styles:a,unstyled:s,vars:u,varsResolver:mg,rootSelector:"group"});return(0,ej.jsx)(cy,{...h("group"),ref:t,variant:d,mod:[{"data-orientation":l},f],role:"group",...p})});mv.classes=mh,mv.displayName="@mantine/core/ActionIconGroup";var ej=ex("9BXUG");ex("f7SMx"),ex("lvLU0");let my={},mb=(e,{radius:t,color:r,gradient:n,variant:o,autoContrast:i,size:a})=>{let s=e.variantColorResolver({color:r||e.primaryColor,theme:e,gradient:n,variant:o||"filled",autoContrast:i});return{groupSection:{"--section-height":cb(a,"section-height"),"--section-padding-x":cb(a,"section-padding-x"),"--section-fz":cw(a),"--section-radius":void 0===t?void 0:cS(t),"--section-bg":r||o?s.background:void 0,"--section-color":s.color,"--section-bd":r||o?s.border:void 0}}},mx=cN((e,t)=>{let r=ck("ActionIconGroupSection",my,e),{className:n,style:o,classNames:i,styles:a,unstyled:s,vars:l,variant:u,gradient:c,radius:d,autoContrast:f,...p}=ck("ActionIconGroupSection",my,e),h=cL({name:"ActionIconGroupSection",props:r,classes:mh,className:n,style:o,classNames:i,styles:a,unstyled:s,vars:l,varsResolver:mb,rootSelector:"groupSection"});return(0,ej.jsx)(cy,{...h("groupSection"),ref:t,variant:u,...p})});mx.classes=mh,mx.displayName="@mantine/core/ActionIconGroupSection";let mS={},mw=(e,{size:t,radius:r,variant:n,gradient:o,color:i,autoContrast:a})=>{let s=e.variantColorResolver({color:i||e.primaryColor,theme:e,gradient:o,variant:n||"filled",autoContrast:a});return{root:{"--ai-size":cb(t,"ai-size"),"--ai-radius":void 0===r?void 0:cS(r),"--ai-bg":i||n?s.background:void 0,"--ai-hover":i||n?s.hover:void 0,"--ai-hover-color":i||n?s.hoverColor:void 0,"--ai-color":s.color,"--ai-bd":i||n?s.border:void 0}}},m_=c$((e,t)=>{let r=ck("ActionIcon",mS,e),{className:n,unstyled:o,variant:i,classNames:a,styles:s,style:l,loading:u,loaderProps:c,size:d,color:f,radius:p,__staticSelector:h,gradient:m,vars:g,children:v,disabled:y,"data-disabled":b,autoContrast:x,mod:S,...w}=r,_=cL({name:["ActionIcon",h],props:r,className:n,style:l,classes:mh,classNames:a,styles:s,unstyled:o,vars:g,varsResolver:mw});return(0,ej.jsxs)(cY,{..._("root",{active:!y&&!u&&!b}),...w,unstyled:o,variant:i,size:d,disabled:y||u,ref:t,mod:[{loading:u,disabled:y||b},S],children:[(0,ej.jsx)(cq,{mounted:!!u,transition:"slide-down",duration:150,children:e=>(0,ej.jsx)(cy,{component:"span",..._("loader",{style:e}),"aria-hidden":!0,children:(0,ej.jsx)(cF,{color:"var(--ai-color)",size:"calc(var(--ai-size) * 0.55)",...c})})}),(0,ej.jsx)(cy,{component:"span",mod:{loading:u},..._("icon"),children:v})]})});m_.classes=mh,m_.displayName="@mantine/core/ActionIcon",m_.Group=mv,m_.GroupSection=mx;var ej=ex("9BXUG");ex("f7SMx");var eL=ex("4RLZr");ex("f7SMx");var eL=ex("4RLZr");let mk=["mousedown","touchstart"];ex("lvLU0"),ex("f7SMx"),ex("9BXUG"),ex("lvLU0");let[mC,mM]=di("Popover component was not found in the tree");var ej=ex("9BXUG");ex("f7SMx");let mP=()=>{};ex("lvLU0");var ej=ex("9BXUG");ex("f7SMx");var eC=ex("8G7zL");function mT(e,t,r,n){return"center"===e||"center"===n?{top:t}:"end"===e?{bottom:r}:"start"===e?{top:r}:{}}function mE(e,t,r,n,o){return"center"===e||"center"===n?{left:t}:"end"===e?{["ltr"===o?"right":"left"]:r}:"start"===e?{["ltr"===o?"left":"right"]:r}:{}}ex("lvLU0");let mR={bottom:"borderTopLeftRadius",left:"borderTopRightRadius",right:"borderBottomLeftRadius",top:"borderBottomRightRadius"},mL=(0,eC.forwardRef)(({position:e,arrowSize:t,arrowOffset:r,arrowRadius:n,arrowPosition:o,visible:i,arrowX:a,arrowY:s,style:l,...u},c)=>{let{dir:d}=ht();return i?(0,ej.jsx)("div",{...u,ref:c,style:{...l,...function({position:e,arrowSize:t,arrowOffset:r,arrowRadius:n,arrowPosition:o,arrowX:i,arrowY:a,dir:s}){let[l,u="center"]=e.split("-"),c={width:t,height:t,transform:"rotate(45deg)",position:"absolute",[mR[l]]:n},d=-t/2;return"left"===l?{...c,...mT(u,a,r,o),right:d,borderLeftColor:"transparent",borderBottomColor:"transparent",clipPath:"pol
137ygon(100% 0, 0 0, 100% 100%)"}:"right"===l?{...c,...mT(u,a,r,o),left:d,borderRightColor:"transparent",borderTopColor:"transparent",clipPath:"polygon(0 100%, 0 0, 100% 100%)"}:"top"===l?{...c,...mE(u,i,r,o,s),bottom:d,borderTopColor:"transparent",borderLeftColor:"transparent",clipPath:"polygon(0 100%, 100% 100%, 100% 0)"}:"bottom"===l?{...c,...mE(u,i,r,o,s),top:d,borderBottomColor:"transparent",borderRightColor:"transparent",clipPath:"polygon(0 100%, 0 0, 100% 0)"}:{}}({position:e,arrowSize:t,arrowOffset:r,arrowRadius:n,arrowPosition:o,dir:d,arrowX:a,arrowY:s})}}):null});mL.displayName="@mantine/core/FloatingArrow";var mA={dropdown:"m_38a85659",arrow:"m_a31dc6c1",overlay:"m_3d7bc908"};let mN={},m$=cN((e,t)=>{let r=ck("PopoverDropdown",mN,e),{className:n,style:o,vars:i,children:a,onKeyDownCapture:s,variant:l,classNames:u,styles:c,...d}=r,f=mM(),p=f$({opened:f.opened,shouldReturnFocus:f.returnFocus}),h=f.withRoles?{"aria-labelledby":f.getTargetId(),id:f.getDropdownId(),role:"dialog",tabIndex:-1}:{},m=dT(t,f.floating);return f.disabled?null:(0,ej.jsx)(fN,{...f.portalProps,withinPortal:f.withinPortal,children:(0,ej.jsx)(cq,{mounted:f.opened,...f.transitionProps,transition:f.transitionProps?.transition||"fade",duration:f.transitionProps?.duration??150,keepMounted:f.keepMounted,exitDuration:"number"==typeof f.transitionProps?.exitDuration?f.transitionProps.exitDuration:f.transitionProps?.duration,children:e=>(0,ej.jsx)(dN,{active:f.trapFocus&&f.opened,innerRef:m,children:(0,ej.jsxs)(cy,{...h,...d,variant:l,onKeyDownCapture:function(e,t={active:!0}){return"function"==typeof e&&t.active?r=>{"Escape"===r.key&&(e(r),t.onTrigger?.())}:t.onKeyDown||mP}(()=>{f.onClose?.(),f.onDismiss?.()},{active:f.closeOnEscape,onTrigger:p,onKeyDown:s}),"data-position":f.placement,"data-fixed":"fixed"===f.floatingStrategy||void 0,...f.getStyles("dropdown",{className:n,props:r,classNames:u,styles:c,style:[{...e,zIndex:f.zIndex,top:f.y??0,left:f.x??0,width:"target"===f.width?void 0:uY(f.width)},f.resolvedStyles.dropdown,c?.dropdown,o]}),children:[a,(0,ej.jsx)(mL,{ref:f.arrowRef,arrowX:f.arrowX,arrowY:f.arrowY,visible:f.withArrow,position:f.placement,arrowSize:f.arrowSize,arrowRadius:f.arrowRadius,arrowOffset:f.arrowOffset,arrowPosition:f.arrowPosition,...f.getStyles("arrow",{props:r,classNames:u,styles:c})})]})})})})});m$.classes=mA,m$.displayName="@mantine/core/PopoverDropdown",ex("f7SMx");var eC=ex("8G7zL"),eM=ex("lvLU0");ex("9BXUG");var e0=ex("f7SMx");let mI={refProp:"ref",popupType:"dialog"},mj=cN((e,t)=>{let r,{children:n,refProp:o,popupType:i,...a}=ck("PopoverTarget",mI,e);if(!dE(n))throw Error("Popover.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported");let s=mM(),l=dT(s.reference,(r=e0.default.version,"string"!=typeof e0.default.version||r.startsWith("18.")?n?.ref:n?.props?.ref),t),u=s.withRoles?{"aria-haspopup":i,"aria-expanded":s.opened,"aria-controls":s.getDropdownId(),id:s.getTargetId()}:{};return(0,eC.cloneElement)(n,{...a,...u,...s.targetProps,className:(0,eM.default)(s.targetProps.className,a.className,n.props.className),[o]:l,...!s.controlled?{onClick:s.onToggle}:null})});mj.displayName="@mantine/core/PopoverTarget",ex("f7SMx");var eL=ex("4RLZr");ex("f7SMx");var eL=ex("4RLZr");ex("f7SMx");var eL=ex("4RLZr");let mO={position:"bottom",offset:8,positionDependencies:[],transitionProps:{transition:"fade",duration:150},middlewares:{flip:!0,shift:!0,inline:!1},arrowSize:7,arrowOffset:5,arrowRadius:0,arrowPosition:"side",closeOnClickOutside:!0,withinPortal:!0,closeOnEscape:!0,trapFocus:!1,withRoles:!0,returnFocus:!1,withOverlay:!1,clickOutsideEvents:["mousedown","touchstart"],zIndex:dn.popover,__staticSelector:"Popover",width:"max-content"},mB=(e,{radius:t,shadow:r})=>({dropdown:{"--popover-radius":void 0===t?void 0:cS(t),"--popover-shadow":c_(r)}});function mz(e){var t,r;let n,o=ck("Popover",mO,e),{children:i,position:a,offset:s,onPositionChange:l,positionDependencies:u,opened:c,transitionProps:d,onExitTransitionEnd:f,onEnterTransitionEnd:p,width:h,middlewares:m,withArrow:g,arrowSize:v,arrowOffset:y,arrowRadius:b,arrowPosition:x,unstyled:S,classNames:w,styles:_,closeOnClickOutside:k,withinPortal:C,portalProps:M,closeOnEscape:P,clickOutsideEvents:T,trapFocus:E,onClose:R,onDismiss:L,onOpen:A,onChange:N,zIndex:$,radius:I,shadow:j,id:O,defaultOpened:B,__staticSelector:z,withRoles:U,disabled:D,returnFocus:F,variant:V,keepMounted:W,vars:H,floatingStrategy:G,withOverlay:X,overlayProps:q,...K}=o,Z=cL({name:z,props:o,classes:mA,classNames:w,styles:_,unstyled:S,rootSelector:"dropdown",vars:H,varsResolver:mB}),{resolvedStyles:Y}=hq({classNames:w,styles:_,props:o}),J=(0,eL.useRef)(null),[Q,ee]=(0,eL.useState)(null),[et,er]=(0,eL.useState)(null),{dir:en}=ht(),eo=fj(O),ei=function(e){var t,r,n,o,i,a,s,l,u,c,d,f,p;let h,m,g,v,y,b,[x,S]=function({value:e,defaultValue:t,finalValue:r,onChange:n=()=>{}}){let[o,i]=(0,eL.useState)(void 0!==t?t:r);return void 0!==e?[e,n,!0]:[o,(e,...t)=>{i(e),n?.(e,...t)},!1]}({value:e.opened,defaultValue:e.defaultOpened,finalValue:!1,onChange:e.onChange}),w=(0,eL.useRef)(x),_=function(e){void 0===e&&(e={});let{nodeId:t}=e,r=function(e){var t,r;let n,{open:o=!1,onOpenChange:i,elements:a}=e,s=pJ(),l=e0.useRef({}),[u]=e0.useState(()=>{let e;
137return e=new Map,{emit(t,r){var n;null==(n=e.get(t))||n.forEach(e=>e(r))},on(t,r){e.set(t,[...e.get(t)||[],r])},off(t,r){var n;e.set(t,(null==(n=e.get(t))?void 0:n.filter(e=>e!==r))||[])}}}),c=null!=((null==(t=e0.useContext(pQ))?void 0:t.id)||null),[d,f]=e0.useState(a.reference),p=(r=(e,t,r)=>{l.current.openEvent=e?t:void 0,u.emit("openchange",{open:e,event:t,reason:r,nested:c}),null==i||i(e,t,r)},n=e0.useRef(()=>{}),pX(()=>{n.current=r}),e0.useCallback(function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return null==n.current?void 0:n.current(...t)},[])),h=e0.useMemo(()=>({setPositionReference:f}),[]),m=e0.useMemo(()=>({reference:d||a.reference||null,floating:a.floating||null,domReference:a.reference}),[d,a.reference,a.floating]);return e0.useMemo(()=>({dataRef:l,open:o,onOpenChange:p,elements:m,events:u,floatingId:s,refs:h}),[o,p,m,u,s,h])}({...e,elements:{reference:null,floating:null,...e.elements}}),n=e.rootContext||r,o=n.elements,[i,a]=e0.useState(null),[s,l]=e0.useState(null),u=(null==o?void 0:o.domReference)||i,c=e0.useRef(null),d=e0.useContext(p0);pq(()=>{u&&(c.current=u)},[u]);let f=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:o,elements:{reference:i,floating:a}={},transform:s=!0,whileElementsMounted:l,open:u}=e,[c,d]=eL.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=eL.useState(n);pz(f,n)||p(n);let[h,m]=eL.useState(null),[g,v]=eL.useState(null),y=eL.useCallback(e=>{e!==w.current&&(w.current=e,m(e))},[]),b=eL.useCallback(e=>{e!==_.current&&(_.current=e,v(e))},[]),x=i||h,S=a||g,w=eL.useRef(null),_=eL.useRef(null),k=eL.useRef(c),C=null!=l,M=pF(l),P=pF(o),T=pF(u),E=eL.useCallback(()=>{var e,n;let o,i,a;if(!w.current||!_.current)return;let s={placement:t,strategy:r,middleware:f};P.current&&(s.platform=P.current),(e=w.current,n=_.current,o=new Map,a={...(i={platform:pI,...s}).platform,_c:o},py(e,n,{...i,platform:a})).then(e=>{let t={...e,isPositioned:!1!==T.current};R.current&&!pz(k.current,t)&&(k.current=t,eC.flushSync(()=>{d(t)}))})},[f,t,r,P,T]);pB(()=>{!1===u&&k.current.isPositioned&&(k.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[u]);let R=eL.useRef(!1);pB(()=>(R.current=!0,()=>{R.current=!1}),[]),pB(()=>{if(x&&(w.current=x),S&&(_.current=S),x&&S){if(M.current)return M.current(x,S,E);E()}},[x,S,E,M,C]);let L=eL.useMemo(()=>({reference:w,floating:_,setReference:y,setFloating:b}),[y,b]),A=eL.useMemo(()=>({reference:x,floating:S}),[x,S]),N=eL.useMemo(()=>{let e={position:r,left:0,top:0};if(!A.floating)return e;let t=pD(A.floating,c.x),n=pD(A.floating,c.y);return s?{...e,transform:"translate("+t+"px, "+n+"px)",...pU(A.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,s,A.floating,c.x,c.y]);return eL.useMemo(()=>({...c,update:E,refs:L,elements:A,floatingStyles:N}),[c,E,L,A,N])}({...e,elements:{...o,...s&&{reference:s}}}),p=e0.useCallback(e=>{let t=fV(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;l(t),f.refs.setReference(t)},[f.refs]),h=e0.useCallback(e=>{(fV(e)||null===e)&&(c.current=e,a(e)),(fV(f.refs.reference.current)||null===f.refs.reference.current||null!==e&&!fV(e))&&f.refs.setReference(e)},[f.refs]),m=e0.useMemo(()=>({...f.refs,setReference:h,setPositionReference:p,domReference:c}),[f.refs,h,p]),g=e0.useMemo(()=>({...f.elements,domReference:u}),[f.elements,u]),v=e0.useMemo(()=>({...f,...n,refs:m,elements:g,nodeId:t}),[f,m,g,t,n]);return pq(()=>{n.dataRef.current.floatingContext=v;let e=null==d?void 0:d.nodesRef.current.find(e=>e.id===t);e&&(e.context=v)}),e0.useMemo(()=>({...f,context:v,refs:m,elements:g}),[f,m,g,v])}({strategy:e.strategy,placement:e.position,middleware:(t=()=>_,h=function(e){if(void 0===e)return{shift:!0,flip:!0};let t={...e};return void 0===e.shift&&(t.shift=!0),void 0===e.flip&&(t.flip=!0),t}(e.middlewares),g=[(void 0===(o=r=e.offset)&&(o=0),{name:(m={name:"offset",options:o,async fn(e){var t,r;let{x:n,y:i,placement:a,middlewareData:s}=e,l=await pS(e,o);return a===(null==(t=s.offset)?void 0:t.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:n+l.x,y:i+l.y,data:{...l,placement:a}}}}).name,fn:m.fn,options:[r,n]})],h.shift&&g.push({name:(v={name:"shift",options:s=i="boolean"==typeof h.shift?{limiter:pV(),padding:5}:{limiter:pV(),padding:5,...h.shift},async fn(e){let{x:t,y:r,placement:n,platform:o}=e,{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...u}=pt(s,e),c={x:t,y:r},d=await o.detectOverflow(e,u),f=pa(pr(n)),p=po(f),h=c[p],m=c[f];
137if(i){let e="y"===p?"top":"left",t="y"===p?"bottom":"right",r=h+d[e],n=h-d[t];h=f3(r,f7(h,n))}if(a){let e="y"===f?"top":"left",t="y"===f?"bottom":"right",r=m+d[e],n=m-d[t];m=f3(r,f7(m,n))}let g=l.fn({...e,[p]:h,[f]:m});return{...g,data:{x:g.x-t,y:g.y-r,enabled:{[p]:i,[f]:a}}}}}).name,fn:v.fn,options:[i,a]}),h.flip&&g.push("boolean"==typeof h.flip?pW():pW(h.flip)),h.inline&&g.push("boolean"==typeof h.inline?pH():pH(h.inline)),g.push({name:(y={name:"arrow",options:c=l={element:e.arrowRef,padding:e.arrowOffset},fn(e){let{element:t,padding:r}="function"==typeof c?c(e):c;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?pO({element:t.current,padding:r}).fn(e):{}:t?pO({element:t,padding:r}).fn(e):{}}}).name,fn:y.fn,options:[l,u]}),(h.size||"target"===e.width)&&g.push({name:(b={name:"size",options:p=d={..."boolean"==typeof h.size?{}:h.size,apply({rects:r,availableWidth:n,availableHeight:o,...i}){let a=t(),s=a.refs.floating.current?.style??{};h.size&&("object"==typeof h.size&&h.size.apply?h.size.apply({rects:r,availableWidth:n,availableHeight:o,...i}):Object.assign(s,{maxWidth:`${n}px`,maxHeight:`${o}px`})),"target"===e.width&&Object.assign(s,{width:`${r.reference.width}px`})}},async fn(e){var t,r;let n,o,{placement:i,rects:a,platform:s,elements:l}=e,{apply:u=()=>{},...c}=pt(p,e),d=await s.detectOverflow(e,c),f=pr(i),h=pn(i),m="y"===pa(i),{width:g,height:v}=a.floating;"top"===f||"bottom"===f?(n=f,o=h===(await (null==s.isRTL?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(o=f,n="end"===h?"top":"bottom");let y=v-d.top-d.bottom,b=g-d.left-d.right,x=f7(v-d[n],y),S=f7(g-d[o],b),w=!e.middlewareData.shift,_=x,k=S;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(k=b),null!=(r=e.middlewareData.shift)&&r.enabled.y&&(_=y),w&&!h){let e=f3(d.left,0),t=f3(d.right,0),r=f3(d.top,0),n=f3(d.bottom,0);m?k=g-2*(0!==e||0!==t?e+t:f3(d.left,d.right)):_=v-2*(0!==r||0!==n?r+n:f3(d.top,d.bottom))}await u({...e,availableWidth:k,availableHeight:_});let C=await s.getDimensions(l.floating);return g!==C.width||v!==C.height?{reset:{rects:!0}}:{}}}).name,fn:b.fn,options:[d,f]}),g)});return!function({opened:e,floating:t,position:r,positionDependencies:n}){let[o,i]=(0,eL.useState)(0);(0,eL.useEffect)(()=>{if(t.refs.reference.current&&t.refs.floating.current&&e)return function(e,t,r,n){let o;void 0===n&&(n={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:u=!1}=n,c=p_(e),d=i||a?[...c?f5(c):[],...t?f5(t):[]]:[];d.forEach(e=>{i&&e.addEventListener("scroll",r,{passive:!0}),a&&e.addEventListener("resize",r)});let f=c&&l?function(e,t){let r,n=null,o=fD(e);function i(){var e;clearTimeout(r),null==(e=n)||e.disconnect(),n=null}return!function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),i();let u=e.getBoundingClientRect(),{left:c,top:d,width:f,height:p}=u;if(s||t(),!f||!p)return;let h={rootMargin:-f6(d)+"px "+-f6(o.clientWidth-(c+f))+"px "+-f6(o.clientHeight-(d+p))+"px "+-f6(c)+"px",threshold:f3(0,f7(1,l))||1},m=!0;function g(t){let n=t[0].intersectionRatio;if(n!==l){if(!m)return a();n?a(!1,n):r=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==n||pj(u,e.getBoundingClientRect())||a(),m=!1}try{n=new IntersectionObserver(g,{...h,root:o.ownerDocument})}catch(e){n=new IntersectionObserver(g,h)}n.observe(e)}(!0),i}(c,r):null,p=-1,h=null;s&&(h=new ResizeObserver(e=>{let[n]=e;n&&n.target===c&&h&&t&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),r()}),c&&!u&&h.observe(c),t&&h.observe(t));let m=u?pP(e):null;return u&&function t(){let n=pP(e);m&&!pj(m,n)&&r(),m=n,o=requestAnimationFrame(t)}(),r(),()=>{var e;d.forEach(e=>{i&&e.removeEventListener("scroll",r),a&&e.removeEventListener("resize",r)}),null==f||f(),null==(e=h)||e.disconnect(),h=null,u&&cancelAnimationFrame(o)}}(t.refs.reference.current,t.refs.floating.current,t.update)},[t.refs.reference.current,t.refs.floating.current,e,o,r]),cG(()=>
137{t.update()},n),cG(()=>{i(e=>e+1)},[e])}({opened:x,position:e.position,positionDependencies:e.positionDependencies||[],floating:_}),cG(()=>{e.onPositionChange?.(_.placement)},[_.placement]),cG(()=>{x!==w.current&&(x?e.onOpen?.():e.onClose?.()),w.current=x},[x,e.onClose,e.onOpen]),{floating:_,controlled:"boolean"==typeof e.opened,opened:x,onClose:()=>{x&&!e.disabled&&S(!1)},onToggle:()=>!e.disabled&&S(!x)}}({middlewares:m,width:h,position:function(e,t){if("rtl"===e&&(t.includes("right")||t.includes("left"))){let[e,r]=t.split("-"),n="right"===e?"left":"right";return void 0===r?n:`${n}-${r}`}return t}(en,a),offset:"number"==typeof s?s+(g?v/2:0):s,arrowRef:J,arrowOffset:y,onPositionChange:l,positionDependencies:u,opened:c,defaultOpened:B,onChange:N,onOpen:A,onClose:R,onDismiss:L,strategy:G,disabled:D});t=()=>{k&&(ei.onClose(),L?.())},r=[Q,et],n=(0,eL.useRef)(null),(0,eL.useEffect)(()=>{let e=e=>{let{target:o}=e??{};if(Array.isArray(r)){let n=o?.hasAttribute("data-ignore-outside-clicks")||!document.body.contains(o)&&"HTML"!==o.tagName;r.every(t=>!!t&&!e.composedPath().includes(t))&&!n&&t()}else n.current&&!n.current.contains(o)&&t()};return(T||mk).forEach(t=>document.addEventListener(t,e)),()=>{(T||mk).forEach(t=>document.removeEventListener(t,e))}},[n,t,r]);let ea=(0,eL.useCallback)(e=>{ee(e),ei.floating.refs.setReference(e)},[ei.floating.refs.setReference]),es=(0,eL.useCallback)(e=>{er(e),ei.floating.refs.setFloating(e)},[ei.floating.refs.setFloating]),el=(0,eL.useCallback)(()=>{d?.onExited?.(),f?.()},[d?.onExited,f]),eu=(0,eL.useCallback)(()=>{d?.onEntered?.(),p?.()},[d?.onEntered,p]);return(0,ej.jsxs)(mC,{value:{returnFocus:F,disabled:D,controlled:ei.controlled,reference:ea,floating:es,x:ei.floating.x,y:ei.floating.y,arrowX:ei.floating?.middlewareData?.arrow?.x,arrowY:ei.floating?.middlewareData?.arrow?.y,opened:ei.opened,arrowRef:J,transitionProps:{...d,onExited:el,onEntered:eu},width:h,withArrow:g,arrowSize:v,arrowOffset:y,arrowRadius:b,arrowPosition:x,placement:ei.floating.placement,trapFocus:E,withinPortal:C,portalProps:M,zIndex:$,radius:I,shadow:j,closeOnEscape:P,onDismiss:L,onClose:ei.onClose,onToggle:ei.onToggle,getTargetId:()=>`${eo}-target`,getDropdownId:()=>`${eo}-dropdown`,withRoles:U,targetProps:K,__staticSelector:z,classNames:w,styles:_,unstyled:S,variant:V,keepMounted:W,getStyles:Z,resolvedStyles:Y,floatingStrategy:G},children:[i,X&&(0,ej.jsx)(cq,{transition:"fade",mounted:ei.opened,duration:d?.duration||250,exitDuration:d?.exitDuration||250,children:e=>(0,ej.jsx)(fN,{withinPortal:C,children:(0,ej.jsx)(dK,{...q,...Z("overlay",{className:q?.className,style:[e,q?.style]})})})})]})}mz.Target=mj,mz.Dropdown=m$,mz.displayName="@mantine/core/Popover",mz.extend=e=>e;var ej=ex("9BXUG");ex("f7SMx"),ex("lvLU0"),ex("f7SMx"),ex("9BXUG"),ex("lvLU0");let mU=["h1","h2","h3","h4","h5","h6"],mD=["xs","sm","md","lg","xl"];var mF={root:"m_8a5d1357"};let mV={order:1},mW=(e,{order:t,size:r,lineClamp:n,textWrap:o})=>{let i,a=(i=void 0!==r?r:`h${t}`,mU.includes(i)?{fontSize:`var(--mantine-${i}-font-size)`,fontWeight:`var(--mantine-${i}-font-weight)`,lineHeight:`var(--mantine-${i}-line-height)`}:mD.includes(i)?{fontSize:`var(--mantine-font-size-${i})`,fontWeight:`var(--mantine-h${t}-font-weight)`,lineHeight:`var(--mantine-h${t}-line-height)`}:{fontSize:uY(i),fontWeight:`var(--mantine-h${t}-font-weight)`,lineHeight:`var(--mantine-h${t}-line-height)`});return{root:{"--title-fw":a.fontWeight,"--title-lh":a.lineHeight,"--title-fz":a.fontSize,"--title-line-clamp":"number"==typeof n?n.toString():void 0,"--title-text-wrap":o}}},mH=cN((e,t)=>{let r=ck("Title",mV,e),{classNames:n,className:o,style:i,styles:a,unstyled:s,order:l,vars:u,size:c,variant:d,lineClamp:f,textWrap:p,mod:h,...m}=r,g=cL({name:"Title",props:r,classes:mF,className:o,style:i,classNames:n,styles:a,unstyled:s,vars:u,varsResolver:mW});return[1,2,3,4,5,6].includes(l)?(0,ej.jsx)(cy,{...g("root"),component:`h${l}`,variant:d,ref:t,mod:[{order:l,"data-line-clamp":"number"==typeof f},h],size:c,...m}):null});mH.classes=mF,mH.displayName="@mantine/core/Title";var mG={},n8=ex("dThT7");
137Object.defineProperty(mG,"__esModule",{value:!0}),mG.default=void 0;var mX=n8(ex("joZ09")),ej=ex("9BXUG");mG.default=(0,mX.default)((0,ej.jsx)("path",{d:"M12 14c1.66 0 2.99-1.34 2.99-3L15 5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3m-1.2-9.1c0-.66.54-1.2 1.2-1.2.66 0 1.2.54 1.2 1.2l-.01 6.2c0 .66-.53 1.2-1.19 1.2-.66 0-1.2-.54-1.2-1.2zm6.5 6.1c0 3-2.54 5.1-5.3 5.1S6.7 14 6.7 11H5c0 3.41 2.72 6.23 6 6.72V21h2v-3.28c3.28-.48 6-3.3 6-6.72z"}),"MicNone");var mq={},n8=ex("dThT7");Object.defineProperty(mq,"__esModule",{value:!0}),mq.default=void 0;var mK=n8(ex("joZ09")),ej=ex("9BXUG");mq.default=(0,mK.default)((0,ej.jsx)("path",{d:"M10.8 4.9c0-.66.54-1.2 1.2-1.2s1.2.54 1.2 1.2l-.01 3.91L15 10.6V5c0-1.66-1.34-3-3-3-1.54 0-2.79 1.16-2.96 2.65l1.76 1.76zM19 11h-1.7c0 .58-.1 1.13-.27 1.64l1.27 1.27c.44-.88.7-1.87.7-2.91M4.41 2.86 3 4.27l6 6V11c0 1.66 1.34 3 3 3 .23 0 .44-.03.65-.08l1.66 1.66c-.71.33-1.5.52-2.31.52-2.76 0-5.3-2.1-5.3-5.1H5c0 3.41 2.72 6.23 6 6.72V21h2v-3.28c.91-.13 1.77-.45 2.55-.9l4.2 4.2 1.41-1.41z"}),"MicOffOutlined");var eL=ex("4RLZr");let mZ=mf("outline","x","X",[["path",{d:"M18 6l-12 12",key:"svg-0"}],["path",{d:"M6 6l12 12",key:"svg-1"}]]);var mY=((T={}).Yes="yes",T.No="no",T.Unknown="unknown",T);let mJ={Initial:"Initial",SettingUp:"SettingUp",Listening:"Listening",WaitingForDH:"WaitingForDH",Ready:"Ready"},mQ=({micAccess:e=!1,unMuteUser:t,muteUser:r,resumeUser:n,avatarSpeaking:o=!1,disablePopOver:i=!1,layoutMode:a="contained",avatarThinking:s=!1,userHasMessage:l=!1,micReady:u=!1})=>{let c="yes"===e,[d,f]=(0,eL.useState)(!1),[p,h]=(0,eL.useState)(mJ.Initial),[m,g]=(0,eL.useState)(!1),v=e=>{h(e),e===mJ.Ready?g(!0):g(!1)};(0,eL.useEffect)(()=>{if(p===mJ.Ready){let e=setTimeout(()=>{g(!1)},15e3);return()=>{clearInterval(e)}}},[p,m]);let y=i||m;if("no"===e)return null;(0,eL.useEffect)(()=>{if(p!==mJ.Initial&&p!==mJ.SettingUp){if(o||s){p!==mJ.WaitingForDH&&(r(),v(mJ.WaitingForDH));return}p===mJ.WaitingForDH&&v(mJ.Ready)}},[o,s,p]),(0,eL.useEffect)(()=>{p===mJ.SettingUp&&c&&u&&(f(!0),v(mJ.Listening))},[e,c,u,h,g]);let b=async()=>{if(!c&&!d){v(mJ.SettingUp),await t();return}if(p!==mJ.SettingUp&&p!==mJ.WaitingForDH){if(p===mJ.Ready){n?n():await t(),v(mJ.Listening);return}if(p===mJ.Listening){r(),l?v(mJ.WaitingForDH):v(mJ.Ready);return}}};return console.log("MIC STATE",mJ[p]),(0,ew.h)(m0,{popOverState:p,handleToggleMute:b,onClosePopOver:()=>{g(!0)},layoutMode:a,disablePopOver:y,avatarSpeaking:o})},m0=({popOverState:e,handleToggleMute:t,layoutMode:r,onClosePopOver:n,disablePopOver:o=!1,avatarSpeaking:i=!1})=>{let a="overlay"===r,s=(e=>{let{translate:t}=n0();switch(e){case mJ.Initial:return t("Press to talk");case mJ.Listening:return t("Start talking");case mJ.SettingUp:return t("Setting up...");case mJ.Ready:return t("Press to talk");default:return null}})(e),{isTabletOrMobile:l}=ra(),u=a?"18px":void 0,c=(0,ew.h)(h(mG),{fontSize:u});return e!==mJ.Listening&&(c=(0,ew.h)(h(mq),{fontSize:u})),(0,ew.h)(mz,{position:"top-start",shadow:"md",withArrow:!0,arrowPosition:"side",arrowOffset:l?11:22,opened:!o&&null!==s,zIndex:1001,withinPortal:!1,styles:{dropdown:{borderColor:"rgb(13 18 17)",backgroundColor:"rgb(13 18 17)"},arrow:{borderColor:"rgb(13 18 17)"}}},(0,ew.h)(mz.Target,null,(0,ew.h)(m_,{size:"overlay"===r?"xs":"sm",onClick:t,variant:"mic","data-state":mJ[e],"data-layout":r,disabled:e===mJ.WaitingForDH||e===mJ.SettingUp},c)),(0,ew.h)(mz.Dropdown,{p:"sm",left:16,className:""},(0,ew.h)(hD,null,(0,ew.h)(dr,{w:"100%",justify:"space-between",align:"unset"},(0,ew.h)(mH,{order:6,c:"white"},s),(0,ew.h)(nk,{name:"close-x",kind:"tertiary",size:"sm",sx:{color:"white",minWidth:"unset",padding:0},onClick:n},(0,ew.h)(mZ,{name:"close-x"}))))))};var ew=ex("10mKg"),eC=ex("8G7zL");let m1=/(?:\+?1[\s.-]?)?(?:\(?\d{3}\)?[\s.-]?)\d{3}[\s.-]?\d{4}/g,m2={pointerEvents:"auto",backgroundColor:"rgba(0, 0, 0, 0.9)",color:"#ffffff",borderRadius:10,padding:"8px 12px",fontSize:"1rem",lineHeight:1.4,fontWeight:500,letterSpacing:"0.01em",boxShadow:"0 2px 12px rgba(0, 0, 0, 0.45)",maxHeight:"22vh",overflowY:"auto",overflowX:"hidden",WebkitOverflowScrolling:"touch",whiteSpace:"pre-wrap",width:"100%",maxWidth:"100%",boxSizing:"border-box",overflowWrap:"anywhere",wordBreak:"break-word"},m5={display:"block",fontSize:"0.78rem",fontWeight:700,opacity:.7,textTransform:"uppercase",letterSpacing:"0.06em",marginBottom:4};function m4({show:e,centered:t=!1}){let{userVoiceTranscript:r,avatarAnswer:n,avatarSpeaking:o}=ru(),{translate:i}=n0(),a=(r||"").trim(),s=(n||"").trim(),l=a.length>0&&!o,u=i(l?"You":"Emma"),c=l?a:s;if(!e||!c)return null;let d=(0,ew.h)("div",{role:"status","aria-live":"polite","aria-atomic":"true",style:{...m2,...t?{position:"fixed",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:"min(560px, calc(100vw - 32px))",maxWidth:"calc(100vw - 32px)",maxHeight:"60vh",zIndex:0x7ffffffe}:{}}},(0,ew.h)("span",{style:m5},u),function(e){let t,r=[],n=0;for(m1.lastIndex=0;null!==(t=m1.exec(e));){t.index>
137n&&r.push(e.slice(n,t.index));let o=t[0],i=o.replace(/[^\d+]/g,"");r.push((0,ew.h)("a",{href:`tel:${i}`,style:{color:"#7cc4ff",textDecoration:"underline",fontWeight:700}},o)),n=t.index+o.length}return n<e.length&&r.push(e.slice(n)),r}(c));return t?(0,eC.createPortal)(d,document.body):d}let m7=({hoverAreaHeight:e=80,placeholder:t="Type a message...",captionToggleButton:r=!0,secondaryPage:n=!1})=>{let[o,i]=(0,eL.useState)(!1),[a]=(0,tr.useAtom)(t7),s="contained"===a,l="overlay"===a,{isTabletOrMobile:u}=ra(),c=e=>{i(e)},{uneeqEnableMicrophone:d,uneeqStopSpeaking:f,uneeqPauseSpeechRecognition:p,uneeqResumeSpeechRecognition:h,uneeqAsk:m,avatarSpeaking:g,avatarThinking:v,userVoiceTranscript:y,micReady:b}=ru(),{translate:x}=n0(),[S,w]=(0,eL.useState)(mY.Unknown),[_,k]=(0,eL.useState)(!1),[C,M]=(0,eL.useState)(!1),[P,T]=(0,eL.useState)(!1),[E,R]=(0,eL.useState)(!1),[L,A]=(0,eL.useState)(!1);(0,eL.useEffect)(()=>{let e=()=>{R((window.scrollY||document.documentElement.scrollTop||0)>150)};return e(),window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]);let N=n?L:!E,$=u&&(n||E),I=x(n&&L?"Hide Captions":"Show Captions"),j=y.length>0,O=async()=>{f?.();try{await d?.(),w(mY.Yes)}catch(e){console.error("Error enabling microphone",e),w(mY.No),k(!0)}console.log("USER UN-MUTED")},B={bottom:0,display:"flex",alignItems:"flex-end",justifyContent:"stretch",height:e,zIndex:1e5};s?B={...B,position:u?"fixed":"absolute",left:0,bottom:0,width:u?"100%":"auto"}:l&&(B={...B,position:"fixed",right:u?0:"10px",bottom:"10px",padding:"10px"});let z={color:"white",display:"flex",alignItems:"flex-end",justifyContent:"flex-start",opacity:1};return s?z={...z,height:`${e}px`,padding:"20px 20px"}:l&&(z={...z}),u&&(z={...z,padding:"10px",height:void 0},s&&(z={...z,backgroundColor:"#1f1f1f",width:"100%"}),l&&(z={...z,padding:"10px 0px 10px 10px"})),(0,ew.h)(cy,{style:B},u&&(0,ew.h)(cy,{style:{position:"fixed",left:0,right:0,bottom:132,padding:"0 12px",zIndex:1e5,pointerEvents:"none",display:"flex",justifyContent:"center",boxSizing:"border-box",overflowX:"hidden"}},(0,ew.h)(cy,{style:{maxWidth:560,width:"100%",boxSizing:"border-box"}},(0,ew.h)(m4,{show:N,centered:n}))),(0,ew.h)(cy,{component:ud.div,initial:{opacity:0}
137,animate:{opacity:1},exit:{opacity:0},transition:{duration:.5},style:z},(0,ew.h)(dr,{justify:"flex-start",style:{width:u&&s?"100%":s?"30%":"auto",minWidth:u||!s?void 0:"360px"}},$&&(0,ew.h)(c6,{size:"md",radius:"xl",onClick:()=>{n?A(e=>!e):window.scrollTo({top:0,behavior:"smooth"})},onMouseEnter:()=>T(!0),onMouseLeave:()=>T(!1),styles:{root:{backgroundColor:P?"#3a3a3a":"#000000"},label:{color:"#ffffff",fontWeight:700}}},I),(0,ew.h)(mQ,{micAccess:S,avatarThinking:v,muteUser:()=>{p?.(),console.log("USER MUTED")},unMuteUser:O,resumeUser:h,layoutMode:a,disablePopOver:l,avatarSpeaking:g,userHasMessage:j,micReady:b}),g?(0,ew.h)(c6,{variant:"filled",size:"md",radius:"xl",onClick:()=>{f?.(),console.log("USER INTERRUPTED EMMA")},onMouseEnter:()=>M(!0),onMouseLeave:()=>M(!1),"aria-label":x("Stop Speaking"),leftSection:(0,ew.h)(cy,{style:{width:12,height:12,borderRadius:2,backgroundColor:"white"}}),styles:{root:{backgroundColor:C?"#3a3a3a":"#000000"},label:{color:"#ffffff",fontWeight:700}}},x("Stop Speaking")):(0,ew.h)(mc,{variant:l?"floating-input-static":"floating-input",leftSection:s?(0,ew.h)(mp,null):null,leftSectionWidth:48*!!s,leftSectionProps:{style:{color:o?"gray.7":"gray.4"}},placeholder:x(t),size:"md",w:"auto",onFocus:()=>c(!0),onBlur:()=>c(!1),onKeyDown:e=>{if("Enter"===e.key){var t;t=e.currentTarget.value,f(),m(t),e.currentTarget.value=""}}}))),(0,ew.h)(hO,{opened:_,onClose:()=>{k(!1)},centered:!0,title:x("Looks like you declined permissions")},(0,ew.h)(hD,{gap:"md"},(0,ew.h)(hH,null,x("Microphone permission was not allowed. Please allow access to your microphone via your browser settings, and try again.")),(0,ew.h)(dr,{justify:"end"},(0,ew.h)(c6,{onClick:()=>{k(!1)}},x("Close"))))))};var ew=ex("10mKg"),eC=ex("8G7zL"),eL=ex("4RLZr");function m3(){let{isInSession:e,onUneeqMessage:t,uneeqUnmuteDigitalHuman:r}=ru(),{isTabletOrMobile:n}=ra(),{translate:o}=n0(),[i,a]=(0,eL.useState)(!1);return((0,eL.useEffect)(()=>{e||a(!1)},[e]),(0,eL.useEffect)(()=>{let e=t("DigitalHumanUnmuted",()=>a(!0));return()=>e()},[t]),n&&e&&!i)?(0,eC.createPortal)((0,ew.h)("div",{role:"button",tabIndex:0,"aria-label":o("Tap to hear Emma"),onClick:()=>{r?.(),a(!0)},style:{position:"fixed",top:0,left:0,right:0,bottom:0,width:"100%",height:"100dvh",zIndex:0x7fffffff,backgroundColor:"rgba(0, 0, 0, 0.72)",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:14,color:"#ffffff",textAlign:"center",padding:24,cursor:"pointer",WebkitTapHighlightColor:"transparent"}},(0,ew.h)("div",{style:{fontSize:46,lineHeight:1},"aria-hidden":"true"},"🔊"),(0,ew.h)("div",{style:{fontSize:"1.4rem",fontWeight:700}},o("Tap to hear Emma")),(0,ew.h)("div",{style:{fontSize:"0.95rem",opacity:.85,maxWidth:280}},o("Your phone keeps sound off until you tap the screen."))),document.body):null}let m9=({layoutMode:e})=>{let[t,r]=(0,eL.useState)(0),[n,o]=(0,eL.useState)(!1),[i,a]=(0,eL.useState)(0),[s,l]=(0,tr.useAtom)(re),[u,c]=(0,tr.useAtom)(t7),{isInSession:d,onUneeqMessage:f,uneeqSetLayoutMode:p,uneeqInit:h}=ru(),{showFeedback:m,resetFeedback:g,setFeedback:v,submitFeedback:y}=nH(),[b,x]=(0,eL.useState)(!1),{isTabletOrMobile:S}=ra();(0,eL.useEffect)(()=>{window.location.pathname!==t1.welcomePathname&&h(t1.chain_en,"en-US","overlay",!s,!1)},[s]);let w=(0,eL.useCallback)(e=>{if(i>=1&&o(!0),g(),x(!1),a(i+1),e.promptResult?.response?.metadata?.customData?.data){let t=e.promptResult?.response?.metadata?.customData,r=t.data?.exchange_id??null,n=t.user_id??null,o=t.data?.access_token??null;r&&n?v({exchangeId:r,userId:n,accessToken:o,hasSeen:!1}):g()}},[g,i]),_=(0,eL.useCallback)(()=>{s||l(!0)},[]),k=(0,eL.useCallback)(e=>{c(e.layoutMode)},[c]),C=(0,eL.useCallback)(()=>{console.log("handleStartSpeaking, canShowFeedback:",b),x(!0)},[x]);(0,eL.useEffect)(()=>{let e=f("PromptResult",w),t=f("AvatarStoppedSpeaking",_),r=f("LayoutModeUpdate",k),n=f("AvatarStartedSpeaking",C);return()=>{e(),t(),r(),n()}},[w,k,_,f]);let M=(0,eL.useCallback)(()=>{r(window.scrollY||document.documentElement.scrollTop)},[r]);(0,eL.useEffect)(()=>(M(),window.addEventListener("scroll",M),()=>{window.removeEventListener("scroll",M)}),[M]),(0,eL.useEffect)(()=>{let r=t<250;
137if(d&&"contained"!==u&&"contained"===e&&r){let e=setTimeout(()=>{console.warn("setting layout mode to contained"),p("contained")},250);return()=>{clearTimeout(e)}}},[u,e,t,d]);let P=(0,eL.useMemo)(()=>({width:"100%",height:"100%",position:"absolute",top:0,left:0,right:0,bottom:0}),[]);return"contained"===e?(0,ew.h)(ew.Fragment,null,(0,ew.h)(eW,{id:"uneeq-initial-background",sx:P},(0,ew.h)("video",{autoPlay:!0,loop:!0,muted:!0,playsinline:!0,style:{objectFit:"cover",width:"100%",height:"100%",objectPosition:S?"center":"25% 50%"}},(0,ew.h)("source",{src:t1.background_video_url,type:t1.background_video_url?.endsWith(".webm")?"video/webm":"video/mp4"}))),(0,ew.h)(uU,{sessionStarted:n,isInSession:d,layoutMode:e,showFeedback:m&&b,submitFeedback:y}),d?(0,ew.h)(m7,{captionToggleButton:!1}):null,(0,ew.h)(m3,null),(0,ew.h)(eW,{component:"div",id:"uneeqContainedLayout",sx:{width:"100%",height:"100%",zIndex:1}}),d&&"overlay"===u?(0,ew.h)("style",null,`@media (max-width: 768px) {
138                .uneeq-main-container {
139                  min-height: 0 !important;
140                }
141              }`):null):(0,ew.h)(ew.Fragment,null,(0,ew.h)(uU,{sessionStarted:!0,isInSession:d,layoutMode:e,showFeedback:m&&b,submitFeedback:y}),d?(0,ew.h)(m7,{captionToggleButton:!1,secondaryPage:!0}):null,(0,ew.h)(m3,null))};function m6(e){return"auto"===e||"dark"===e||"light"===e}var ej=(ex("9BXUG"),ex("9BXUG"));function m8(){let e=ci(),t=uV(),r=uH(e.breakpoints).reduce((t,r)=>{let n=e.breakpoints[r].includes("px"),o=function(e){let t="string"==typeof e&&e.includes("var(--mantine-scale)")?e.match(/^calc\((.*?)\)$/)?.[1].split("*")[0].trim():e;return"number"==typeof t?t:"string"==typeof t?t.includes("calc")||t.includes("var")?t:t.includes("px")?Number(t.replace("px","")):t.includes("rem")?16*Number(t.replace("rem","")):t.includes("em")?16*Number(t.replace("em","")):Number(t):NaN}(e.breakpoints[r]),i=n?`${o-.1}px`:uJ(o-.1),a=n?`${o}px`:uJ(o);return`${t}@media (max-width: ${i}) {.mantine-visible-from-${r} {display: none !important;}}@media (min-width: ${a}) {.mantine-hidden-from-${r} {display: none !important;}}`},"");return(0,ej.jsx)("style",{"data-mantine-styles":"classes",nonce:t?.(),dangerouslySetInnerHTML:{__html:r}})}ex("f7SMx");var ej=ex("9BXUG");function ge(e){return Object.entries(e).map(([e,t])=>`${e}: ${t};`).join("")}function gt(e,t){return(Array.isArray(e)?e:[e]).reduce((e,t)=>`${t}{${e}}`,t)}function gr(e,t){return function({color:e,theme:t,autoContrast:r}){return("boolean"==typeof r?r:t.autoContrast)&&u4({color:e||t.primaryColor,theme:t}).isLight?"var(--mantine-color-black)":"var(--mantine-color-white)"}({color:e.colors[e.primaryColor][u1(e,t)],theme:e,autoContrast:null})}function gn({theme:e,color:t,colorScheme:r,name:n=t,withColorValues:o=!0}){if(!e.colors[t])return{};if("light"===r){let r=u1(e,"light"),i={[`--mantine-color-${n}-text`]:`var(--mantine-color-${n}-filled)`,[`--mantine-color-${n}-filled`]:`var(--mantine-color-${n}-${r})`,[`--mantine-color-${n}-filled-hover`]:`var(--mantine-color-${n}-${9===r?8:r+1})`,[`--mantine-color-${n}-light`]:u9(e.colors[t][r],.1),[`--mantine-color-${n}-light-hover`]:u9(e.colors[t][r],.12),[`--mantine-color-${n}-light-color`]:`var(--mantine-color-${n}-${r})`,[`--mantine-color-${n}-outline`]:`var(--mantine-color-${n}-${r})`,[`--mantine-color-${n}-outline-hover`]:u9(e.colors[t][r],.05)};return o?{[`--mantine-color-${n}-0`]:e.colors[t][0],[`--mantine-color-${n}-1`]:e.colors[t][1],[`--mantine-color-${n}-2`]:e.colors[t][2],[`--mantine-color-${n}-3`]:e.colors[t][3],[`--mantine-color-${n}-4`]:e.colors[t][4],[`--mantine-color-${n}-5`]:e.colors[t][5],[`--mantine-color-${n}-6`]:e.colors[t][6],[`--mantine-color-${n}-7`]:e.colors[t][7],[`--mantine-color-${n}-8`]:e.colors[t][8],[`--mantine-color-${n}-9`]:e.colors[t][9],...i}:i}let i=u1(e,"dark"),a={[`--mantine-color-${n}-text`]:`var(--mantine-color-${n}-4)`,[`--mantine-color-${n}-filled`]:`var(--mantine-color-${n}-${i})`,[`--mantine-color-${n}-filled-hover`]:`var(--mantine-color-${n}-${9===i?8:i+1})`,[`--mantine-color-${n}-light`]:u9(e.colors[t][Math.max(0,i-2)],.15),[`--mantine-color-${n}-light-hover`]:u9(e.colors[t][Math.max(0,i-2)],.2),[`--mantine-color-${n}-light-color`]:`var(--mantine-color-${n}-${Math.max(i-5,0)})`,[`--mantine-color-${n}-outline`]:`var(--mantine-color-${n}-${Math.max(i-4,0)})`,[`--mantine-color-${n}-outline-hover`]:u9(e.colors[t][Math.max(i-4,0)],.05)};return o?{[`--mantine-color-${n}-0`]:e.colors[t][0],[`--mantine-color-${n}-1`]:e.colors[t][1],[`--mantine-color-${n}-2`]:e.colors[t][2],[`--mantine-color-${n}-3`]:e.colors[t][3],[`--mantine-color-${n}-4`]:e.colors[t][4],[`--mantine-color-${n}-5`]:e.colors[t][5],[`--mantine-color-${n}-6`]:e.colors[t][6],[`--mantine-color-${n}-7`]:e.colors[t][7],[`--mantine-color-${n}-8`]:e.colors[t][8],[`--mantine-color-${n}-9`]:e.colors[t][9],...a}:a}function go(e,t,r){uH(t).forEach(n=>Object.assign(e,{[`--mantine-${r}-${n}`]:t[n]}))}ex("f7SMx"),ex("9BXUG"),ex("f7SMx"),ex("9BXUG"),ex("f7SMx"),ex("9BXUG"),ex("f7SMx"),ex("9BXUG");let gi=e=>{let t=u1(e,"light"),r=e.defaultRadius in e.radius?e.radius[e.defaultRadius]:uY(e.defaultRadius),n={variables:{"--mantine-scale":e.scale.toString(),"--mantine-cursor-type":e.cursorType,"--mantine-color-scheme":"light dark","--mantine-webkit-font-smoothing":e.fontSmoothing?"antialiased":"unset","--mantine-moz-font-smoothing":e.fontSmoothing?"grayscale":"unset","--mantine-color-white":e.white,"--mantine-color-black":e.black,"--mantine-line-height":e.lineHeights.md,"--mantine-font-family":e.fontFamily,"--mantine-font-family-monospace":e.fontFamilyMonospace,"--mantine-font-family-headings":e.headings.fontFamily,"--mantine-heading-font-we
141ight":e.headings.fontWeight,"--mantine-heading-text-wrap":e.headings.textWrap,"--mantine-radius-default":r,"--mantine-primary-color-filled":`var(--mantine-color-${e.primaryColor}-filled)`,"--mantine-primary-color-filled-hover":`var(--mantine-color-${e.primaryColor}-filled-hover)`,"--mantine-primary-color-light":`var(--mantine-color-${e.primaryColor}-light)`,"--mantine-primary-color-light-hover":`var(--mantine-color-${e.primaryColor}-light-hover)`,"--mantine-primary-color-light-color":`var(--mantine-color-${e.primaryColor}-light-color)`},light:{"--mantine-primary-color-contrast":gr(e,"light"),"--mantine-color-bright":"var(--mantine-color-black)","--mantine-color-text":e.black,"--mantine-color-body":e.white,"--mantine-color-error":"var(--mantine-color-red-6)","--mantine-color-placeholder":"var(--mantine-color-gray-5)","--mantine-color-anchor":`var(--mantine-color-${e.primaryColor}-${t})`,"--mantine-color-default":"var(--mantine-color-white)","--mantine-color-default-hover":"var(--mantine-color-gray-0)","--mantine-color-default-color":"var(--mantine-color-black)","--mantine-color-default-border":"var(--mantine-color-gray-4)","--mantine-color-dimmed":"var(--mantine-color-gray-6)"},dark:{"--mantine-primary-color-contrast":gr(e,"dark"),"--mantine-color-bright":"var(--mantine-color-white)","--mantine-color-text":"var(--mantine-color-dark-0)","--mantine-color-body":"var(--mantine-color-dark-7)","--mantine-color-error":"var(--mantine-color-red-8)","--mantine-color-placeholder":"var(--mantine-color-dark-3)","--mantine-color-anchor":`var(--mantine-color-${e.primaryColor}-4)`,"--mantine-color-default":"var(--mantine-color-dark-6)","--mantine-color-default-hover":"var(--mantine-color-dark-5)","--mantine-color-default-color":"var(--mantine-color-white)","--mantine-color-default-border":"var(--mantine-color-dark-4)","--mantine-color-dimmed":"var(--mantine-color-dark-2)"}};go(n.variables,e.breakpoints,"breakpoint"),go(n.variables,e.spacing,"spacing"),go(n.variables,e.fontSizes,"font-size"),go(n.variables,e.lineHeights,"line-height"),go(n.variables,e.shadows,"shadow"),go(n.variables,e.radius,"radius"),e.colors[e.primaryColor].forEach((t,r)=>{n.variables[`--mantine-primary-color-${r}`]=`var(--mantine-color-${e.primaryColor}-${r})`}),uH(e.colors).forEach(t=>{let r=e.colors[t];if(r&&"object"==typeof r&&"mantine-virtual-color"in r){Object.assign(n.light,gn({theme:e,name:r.name,color:r.light,colorScheme:"light",withColorValues:!0})),Object.assign(n.dark,gn({theme:e,name:r.name,color:r.dark,colorScheme:"dark",withColorValues:!0}));return}r.forEach((e,r)=>{n.variables[`--mantine-color-${t}-${r}`]=e}),Object.assign(n.light,gn({theme:e,color:t,colorScheme:"light",withColorValues:!1})),Object.assign(n.dark,gn({theme:e,color:t,colorScheme:"dark",withColorValues:!1}))});let o=e.headings.sizes;return uH(o).forEach(t=>{n.variables[`--mantine-${t}-font-size`]=o[t].fontSize,n.variables[`--mantine-${t}-line-height`]=o[t].lineHeight,n.variables[`--mantine-${t}-font-weight`]=o[t].fontWeight||e.headings.fontWeight}),n};ex("f7SMx"),ex("9BXUG");let ga=gi(u8);function gs({cssVariablesSelector:e,deduplicateCssVariables:t}){var r;let n,o,i,a,s,l,u,c=ci(),d=uV(),f=function({theme:e,generator:t}){let r=gi(e),n=t?.(e);return n?ct(r,n):r}({theme:c,generator:uF().cssVariablesResolver}),p=":root"===e&&t,h=(r=p?(n={variables:{},light:{},dark:{}},uH(f.variables).forEach(e=>{ga.variables[e]!==f.variables[e]&&(n.variables[e]=f.variables[e])}),uH(f.light).forEach(e=>{ga.light[e]!==f.light[e]&&(n.light[e]=f.light[e])}),uH(f.dark).forEach(e=>{ga.dark[e]!==f.dark[e]&&(n.dark[e]=f.dark[e])}),n):f,i=(o=ge(r.variables))?gt(e,o):"",a=ge(r.dark),s=ge(r.light),l=a?":host"===e?gt(`${e}([data-mantine-color-scheme="dark"])`,a):gt(`${e}[data-mantine-color-scheme="dark"]`,a):"",u=s?":host"===e?gt(`${e}([data-mantine-color-scheme="light"])`,s):gt(`${e}[data-mantine-color-scheme="light"]`,s):"",`${i}${l}${u}`);return h?(0,ej.jsx)("style",{"data-mantine-styles":!0,nonce:d?.(),dangerouslySetInnerHTML:{__html:`${h}${p?"":`
142  ${e}[data-mantine-color-scheme="dark"] { --mantine-color-scheme: dark; }
143  ${e}[data-mantine-color-scheme="light"] { --mantine-color-scheme: light; }
144`}`}}):null}gs.displayName="@mantine/CssVariables",ex("f7SMx"),ex("f7SMx");var eL=ex("4RLZr");function gl(e,t){let r="u">typeof window&&"matchMedia"in window&&window.matchMedia("(prefers-color-scheme: dark)")?.matches;t()?.setAttribute("data-mantine-color-scheme","auto"!==e?e:r?"dark":"light")}function gu({theme:e,children:t,getStyleNonce:r,withStaticClasse
144s:n=!0,withGlobalClasses:o=!0,deduplicateCssVariables:i=!0,withCssVariables:a=!0,cssVariablesSelector:s=":root",classNamesPrefix:l="mantine",colorSchemeManager:u=function({key:e="mantine-color-scheme-value"}={}){let t;return{get:t=>{if("u"<typeof window)return t;try{let r=window.localStorage.getItem(e);return m6(r)?r:t}catch{return t}},set:t=>{try{window.localStorage.setItem(e,t)}catch(e){console.warn("[@mantine/core] Local storage color scheme manager was unable to save color scheme.",e)}},subscribe:r=>{t=t=>{t.storageArea===window.localStorage&&t.key===e&&m6(t.newValue)&&r(t.newValue)},window.addEventListener("storage",t)},unsubscribe:()=>{window.removeEventListener("storage",t)},clear:()=>{window.localStorage.removeItem(e)}}}(),defaultColorScheme:c="light",getRootElement:d=()=>document.documentElement,cssVariablesResolver:f,forceColorScheme:p,stylesTransform:h,env:m}){let{colorScheme:g,setColorScheme:v,clearColorScheme:y}=function({manager:e,defaultColorScheme:t,getRootElement:r,forceColorScheme:n}){let o=(0,eL.useRef)(null),[i,a]=(0,eL.useState)(()=>e.get(t)),s=n||i,l=(0,eL.useCallback)(t=>{n||(gl(t,r),a(t),e.set(t))},[e.set,s,n]),u=(0,eL.useCallback)(()=>{a(t),gl(t,r),e.clear()},[e.clear,t]);return(0,eL.useEffect)(()=>(e.subscribe(l),e.unsubscribe),[e.subscribe,e.unsubscribe]),fE(()=>{gl(e.get(t),r)},[]),(0,eL.useEffect)(()=>{if(n)return gl(n,r),()=>{};void 0===n&&gl(i,r),"u">typeof window&&"matchMedia"in window&&(o.current=window.matchMedia("(prefers-color-scheme: dark)"));let e=e=>{"auto"===i&&gl(e.matches?"dark":"light",r)};return o.current?.addEventListener("change",e),()=>o.current?.removeEventListener("change",e)},[i,n]),{colorScheme:s,setColorScheme:l,clearColorScheme:u}}({defaultColorScheme:c,forceColorScheme:p,manager:u,getRootElement:d});return!function({respectReducedMotion:e,getRootElement:t}){fE(()=>{e&&t()?.setAttribute("data-respect-reduced-motion","true")},[e])}({respectReducedMotion:e?.respectReducedMotion||!1,getRootElement:d}),(0,ej.jsx)(uD.Provider,{value:{colorScheme:g,setColorScheme:v,clearColorScheme:y,getRootElement:d,classNamesPrefix:l,getStyleNonce:r,cssVariablesResolver:f,cssVariablesSelector:s,withStaticClasses:n,stylesTransform:h,env:m},children:(0,ej.jsxs)(ca,{theme:e,children:[a&&(0,ej.jsx)(gs,{cssVariablesSelector:s,deduplicateCssVariables:i}),o&&(0,ej.jsx)(m8,{}),t]})})}u=console.error,console.error=(...e)=>{e.length>1&&"string"==typeof e[0]&&e[0].toLowerCase().includes("extra attributes from the server")&&"string"==typeof e[1]&&e[1].toLowerCase().includes("data-mantine-color-scheme")||u(...e)},gu.displayName="@mantine/core/MantineProvider";var ej=ex("9BXUG");ex("f7SMx"),ex("lvLU0");var gc={root:"m_66836ed3",wrapper:"m_a5d60502",body:"m_667c2793",title:"m_6a03f287",label:"m_698f4f23",icon:"m_667f2a6a",message:"m_7fa78076",closeButton:"m_87f54839"};let gd={},gf=(e,{radius:t,color:r,variant:n,autoContrast:o})=>{let i=e.variantColorResolver({color:r||e.primaryColor,theme:e,variant:n||"light",autoContrast:o});return{root:{"--alert-radius":void 0===t?void 0:cS(t),"--alert-bg":r||n?i.background:void 0,"--alert-color":i.color,"--alert-bd":r||n?i.border:void 0}}},gp=cN((e,t)=>{let r=ck("Alert",gd,e),{classNames:n,className:o,style:i,styles:a,unstyled:s,vars:l,radius:u,color:c,title:d,children:f,id:p,icon:h,withCloseButton:m,onClose:g,closeButtonLabel:v,variant:y,autoContrast:b,...x}=r,S=cL({name:"Alert",classes:gc,props:r,className:o,style:i,classNames:n,styles:a,unstyled:s,vars:l,varsResolver:gf}),w=fj(p),_=d&&`${w}-title`||void 0,k=`${w}-body`;return(0,ej.jsx)(cy,{id:w,...S("root",{variant:y}),variant:y,ref:t,...x,role:"alert","aria-describedby":k,"aria-labelledby":_,children:(0,ej.jsxs)("div",{...S("wrapper"),children:[h&&(0,ej.jsx)("div",{...S("icon"),children:h}),(0,ej.jsxs)("div",{...S("body"),children:[d&&(0,ej.jsx)("div",{...S("title"),"data-with-close-button":m||void 0,children:(0,ej.jsx)("span",{id:_,...S("label"),children:d})}),f&&(0,ej.jsx)("div",{id:k,...S("message"),"data-variant":y,children:f})]}),m&&(0,ej.jsx)(dy,{...S("closeButton"),onClick:g,variant:"transparent",size:16,iconSize:16,"aria-label":v,unstyled:s})]})})});gp.classes=gc,gp.displayName="@mantine/core/Alert";var gh={};f(gh,"input",function(){return eo},function(e){return eo=e}),f(gh,"root",function(){return ei},function(e){return ei=e}),eo="_7BpmJa_input",ei="_7BpmJa_root";var gm={};f(gm,"root",function(){return ea},function(e){return ea=e}),ea="GPs-VW_root";var gg={};f(gg,"content",function(){return es},function(e){return es=e}),f(gg,"root",function(){return el},function(e){return el=e}),f(gg,"title",function(){return eu},function(e){return eu=e}),es="bAJL5q_content",el="bAJL5q_root",eu="bAJL5q_title";var gv={};f(gv,"root",function(){return ec},function(e){return ec=e}),f(gv,"title",function(){return ed},function(e){return ed=e}),ec="kr9J0q_root",ed="kr9J0q_title";var gy={};f(gy,"border-pulse",function(){return ef},function(e){return ef=e}),f(gy,"loader",function(){return ep},function(e){return ep=e}),f(gy,"pulse-animation",function(){return eh},function(e){return eh=e}),f(gy,"root",function(){return em},function(e){return em=e}),f(gy,"spin",function(){return eg},function(e){return eg=e}),ef="_7tThsq_border-pulse",ep="_7tThsq_loader",eh="_7tThsq_pulse-animation",em="_7tThsq_root",eg="_7tThsq_spin";let gb=e=>({variables:{"--mantine-color-dimmed":e.colors.gray[2],"--mantine-color-body":"#ffffff"},dark:{"--mantine-color-dimmed":e.colors.gray[2],"--mantine-color-body":"#ffffff"},light:{"--mantine-color-dimmed":e.colors.gray[2],"--mantine-color-body":"#ffffff"}}),gx={colors:{primary:["#e6f8fd","#d9f5fd","#94dcf7","#5cc1ee","#3
1441a2e3","#1282d6","#0672cb","#0063b8","#00468b","#002a58"],neutral:["#f8f8f8","#f5f6f7","#f0f0f0","#e1e1e1","#d2d2d2","#b6b6b6","#7e7e7e","#6e6e6e","#636363","#0e0e0e"],red:["#fff5f5","#ffecee","#ffc3c9","#ff99a1","#fe6873","#e4424d","#d0353f","#bb2a33","#8c161f","#590a0f"],accent:["#DAF5FD","#97DCF4","#61C1EB","#36A2E0","#1885C3","#0D76B2","#0468A1","#004A77","#002D4B","#000000"],yellow:["#FEEFCB","#F5CD6F","#E6AC28","#CE8D00","#B36F00","#A36100","#925400","#6D3A00","#442200","#442200"]},spacing:{xs:"4px",sm:"8px",md:"12px",lg:"16px",xl:"20px",xxl:"24px",xxxl:"32px",xxxxl:"40px"},breakpoints:{xs:"576px",sm:"768px",md:"992px",lg:"1200px",xl:"1408px",xxl:"1700px"},radius:{xs:"2px",sm:"4px",md:"6px",lg:"800px"},white:"#fff",black:"#111",fontFamily:"Roboto, sans-serif",fontSizes:{},lineHeights:{xs:"1.33",sm:"1.43",md:"1.5",lg:"1.5",xl:"1.21",xxl:"1.19",xxxl:"1.22"},headings:{fontFamily:"Roboto, sans-serif",fontWeight:"600",sizes:{h1:{fontSize:uY(48),lineHeight:"1.17",fontWeight:"300"},h2:{fontSize:uY(40),lineHeight:"1.2",fontWeight:"300"},h3:{fontSize:uY(32),lineHeight:"40px",fontWeight:"300"},h4:{fontSize:uY(24),lineHeight:"1.33",fontWeight:"400"},h5:{fontSize:uY(20),lineHeight:"1.4",fontWeight:"400"},h6:{fontSize:uY(16),lineHeight:"1.5",fontWeight:"500"}}},primaryColor:"primary",components:{TextInput:mc.extend({classNames:h(gh)}),Modal:hO.extend({classNames:h(gg)}),Button:c6.extend({classNames:h(gm)}),Alert:gp.extend({classNames:h(gv)}),ActionIcon:m_.extend({classNames:h(gy)})}},gS=({layoutMode:e})=>((0,eL.useEffect)(()=>{let e=document.createElement("link");e.href="https://fonts.gstatic.com",e.rel="preconnect",e.crossOrigin="true",document.head.appendChild(e);let t=document.createElement("link");t.href="https://fonts.googleapis.com",t.rel="preconnect",document.head.appendChild(t);let r=document.createElement("link");r.href="https://fonts.googleapis.com/css2?family=Merriweather+Sans:ital,wght@0,300..800;1,300..800&family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap",r.rel="stylesheet",document.head.appendChild(r)},[]),(0,ew.h)(e8,{theme:tt},(0,ew.h)(gu,{theme:gx,cssVariablesResolver:gb},(0,ew.h)(eW,{className:"uneeq-main-container",sx:"overlay"===e?{position:"absolute",top:0,paddingTop:0}:{height:"auto",position:"relative",display:"grid",paddingTop:0,minHeight:"90dvh",[tt.breakpoints.down("md")]:{minHeight:"calc( 100dvh - 76px )"}}},(0,ew.h)(m9,{layoutMode:e}))))),gw=document.getElementById("uneeqContainedLayout");if(gw)gw.setAttribute("id","uneeqContainedLayoutContainer"),console.log("[UNEEQ]: Found contained layout element, injecting contained runtime..."),(0,ew.render)((0,ew.h)(gS,{layoutMode:"contained"}),gw);else{console.log("[UNEEQ]: could not find contained layout element, injecting overlay runtime...");let e=document.createElement("div");e.setAttribute("id","uneeqOverlayLayoutContainer"),document.body.appendChild(e),(0,ew.render)((0,ew.h)(gS,{layoutMode:"overlay"}),e)}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.