whatmore-react-assets 1.0.1423 → 1.0.1424

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. package/package.json +1 -1
  2. package/static/js/13.b216da25.chunk.js +1 -0
  3. package/static/js/154.77527b19.chunk.js +2 -0
  4. package/static/js/210.d4c6f9a4.chunk.js +1 -0
  5. package/static/js/219.a0c7f0d6.chunk.js +1 -0
  6. package/static/js/240.9c510ae9.chunk.js +2 -0
  7. package/static/js/302.41f7dffe.chunk.js +1 -0
  8. package/static/js/348.1667d3ab.chunk.js +117 -0
  9. package/static/js/423.4d5ac85a.chunk.js +1 -0
  10. package/static/js/561.95fd0242.chunk.js +1 -0
  11. package/static/js/577.646fa55d.chunk.js +1 -0
  12. package/static/js/731.4a524607.chunk.js +1 -0
  13. package/static/js/733.b0e46e99.chunk.js +1 -0
  14. package/static/js/751.4f97aaf7.chunk.js +1 -0
  15. package/static/js/819.c2077f1e.chunk.js +2 -0
  16. package/static/js/824.d0a74da1.chunk.js +2 -0
  17. package/static/js/app-main.d4733527.chunk.js +1 -0
  18. package/static/js/atc-with-form.c6e794f2.chunk.js +1 -0
  19. package/static/js/banner-template-a.87707e64.chunk.js +1 -0
  20. package/static/js/carousel-template-a.9bab2855.chunk.js +1 -0
  21. package/static/js/carousel-template-b.d52ffc0b.chunk.js +1 -0
  22. package/static/js/carousel-template-f.bd001127.chunk.js +1 -0
  23. package/static/js/carousel-template-feed.ad73c3ed.chunk.js +15 -0
  24. package/static/js/carousel-template-g.d874fad3.chunk.js +1 -0
  25. package/static/js/carousel-template-h.eada0967.chunk.js +1 -0
  26. package/static/js/carousel-template-view-more.4b1e8a28.chunk.js +45 -0
  27. package/static/js/collections-template-a.d79da3e9.chunk.js +1 -0
  28. package/static/js/collections-template-b.d191151d.chunk.js +1 -0
  29. package/static/js/collections-template-c.6aadef97.chunk.js +1 -0
  30. package/static/js/collections-template-stories.9696a048.chunk.js +1 -0
  31. package/static/js/event-click-main.e9e26fc2.chunk.js +1 -0
  32. package/static/js/event-click-product.60b5a8fa.chunk.js +1 -0
  33. package/static/js/event-click-spotlight.929fb915.chunk.js +1 -0
  34. package/static/js/homepage-carousel-view.40bb7c8e.chunk.js +1 -0
  35. package/static/js/{location-details.b14d3704.chunk.js → location-details.c0431f85.chunk.js} +1 -1
  36. package/static/js/product-page-view.1baa0964.chunk.js +1 -0
  37. package/static/js/recommended-carousel.9a69fdec.chunk.js +2 -0
  38. package/static/js/spotlight-view.0d1ff2a1.chunk.js +1 -0
  39. package/static/js/stories-template-a.69cd6742.chunk.js +1 -0
  40. package/whatmore.js +2 -2
  41. package/static/js/2.a6e5564f.chunk.js +0 -1
  42. package/static/js/286.4d801177.chunk.js +0 -1
  43. package/static/js/296.25439eea.chunk.js +0 -1
  44. package/static/js/311.96c6c80a.chunk.js +0 -1
  45. package/static/js/378.bce12c1d.chunk.js +0 -1
  46. package/static/js/461.28347fc7.chunk.js +0 -1
  47. package/static/js/497.5bfb4d06.chunk.js +0 -2
  48. package/static/js/620.e23ff8de.chunk.js +0 -1
  49. package/static/js/650.44faf770.chunk.js +0 -117
  50. package/static/js/669.fcb5e7c7.chunk.js +0 -2
  51. package/static/js/682.d59c82bd.chunk.js +0 -1
  52. package/static/js/732.252d2132.chunk.js +0 -2
  53. package/static/js/756.7523a583.chunk.js +0 -2
  54. package/static/js/859.7a919acd.chunk.js +0 -1
  55. package/static/js/920.298a46d6.chunk.js +0 -1
  56. package/static/js/app-main.b8b5ba23.chunk.js +0 -1
  57. package/static/js/atc-with-form.43621d03.chunk.js +0 -1
  58. package/static/js/banner-template-a.9d6666d6.chunk.js +0 -1
  59. package/static/js/carousel-template-a.1173f55c.chunk.js +0 -1
  60. package/static/js/carousel-template-b.97c5133d.chunk.js +0 -1
  61. package/static/js/carousel-template-f.52aade62.chunk.js +0 -1
  62. package/static/js/carousel-template-feed.cc5f97a1.chunk.js +0 -15
  63. package/static/js/carousel-template-g.6375c2a4.chunk.js +0 -1
  64. package/static/js/carousel-template-h.264e373e.chunk.js +0 -1
  65. package/static/js/carousel-template-view-more.f32e33c2.chunk.js +0 -45
  66. package/static/js/collections-template-a.daea1564.chunk.js +0 -1
  67. package/static/js/collections-template-b.22c9d294.chunk.js +0 -1
  68. package/static/js/collections-template-c.ba832b97.chunk.js +0 -1
  69. package/static/js/collections-template-stories.57f85909.chunk.js +0 -1
  70. package/static/js/event-click-main.0c383ac3.chunk.js +0 -1
  71. package/static/js/event-click-product.21e6f6d4.chunk.js +0 -1
  72. package/static/js/event-click-spotlight.fab8b156.chunk.js +0 -1
  73. package/static/js/homepage-carousel-view.57ea90f2.chunk.js +0 -1
  74. package/static/js/product-page-view.3aa9a4ce.chunk.js +0 -1
  75. package/static/js/recommended-carousel.22249e9e.chunk.js +0 -2
  76. package/static/js/spotlight-view.864358a9.chunk.js +0 -1
  77. package/static/js/stories-template-a.a97215e7.chunk.js +0 -1
  78. /package/static/css/{139.a9bfc3e2.chunk.css → 926.a9bfc3e2.chunk.css} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "whatmore-react-assets",
3
- "version": "1.0.1423",
3
+ "version": "1.0.1424",
4
4
  "description": "public repo for all whatmore js and css assets",
5
5
  "main": "whatmore.js",
6
6
  "scripts": {
@@ -0,0 +1 @@
1
+ (self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[13],{4959:function(e,t,n){"use strict";n.d(t,{Gw:function(){return i},NW:function(){return c},O3:function(){return f},qq:function(){return l}});var r=n(7313),o=n(7872),i=(n(2229),o.jU?r.useLayoutEffect:r.useEffect);function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const n=(0,r.useRef)(e);return i((()=>{n.current=e})),(0,r.useCallback)((function(){for(var e,t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return null==(e=n.current)?void 0:e.call(n,...r)}),t)}function u(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(0,r.useEffect)((()=>()=>e()),t)}function c(){const e=(0,r.useRef)(!1),[t,n]=(0,r.useState)(0);return u((()=>{e.current=!0})),(0,r.useCallback)((()=>{e.current||n(t+1)}),[t])}function s(e,t){if(null!=e)if("function"!==typeof e)try{e.current=t}catch(n){throw new Error(`Cannot assign value '${t}' to ref '${e}'`)}else e(t)}function l(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.useMemo)((()=>t.every((e=>null==e))?null:e=>{t.forEach((t=>{t&&s(t,e)}))}),t)}function f(e){const{ref:t,handler:n,enabled:i=!0}=e,u=a(n),c=(0,r.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}).current;(0,r.useEffect)((()=>{if(!i)return;const e=e=>{d(e,t)&&(c.isPointerDown=!0)},r=e=>{c.ignoreEmulatedMouseEvents?c.ignoreEmulatedMouseEvents=!1:c.isPointerDown&&n&&d(e,t)&&(c.isPointerDown=!1,u(e))},a=e=>{c.ignoreEmulatedMouseEvents=!0,n&&c.isPointerDown&&d(e,t)&&(c.isPointerDown=!1,u(e))},s=(0,o.lZ)(t.current);return s.addEventListener("mousedown",e,!0),s.addEventListener("mouseup",r,!0),s.addEventListener("touchstart",e,!0),s.addEventListener("touchend",a,!0),()=>{s.removeEventListener("mousedown",e,!0),s.removeEventListener("mouseup",r,!0),s.removeEventListener("touchstart",e,!0),s.removeEventListener("touchend",a,!0)}}),[n,t,u,c,i])}function d(e,t){var n;const r=e.target;if(e.button>0)return!1;if(r){if(!(0,o.lZ)(r).contains(r))return!1}return!(null==(n=t.current)?void 0:n.contains(r))}},7872:function(e,t,n){"use strict";n.d(t,{Ts:function(){return h},yn:function(){return S},cx:function(){return z},PB:function(){return R},YU:function(){return b},xH:function(){return F},sq:function(){return w},lZ:function(){return P},kJ:function(){return u},jU:function(){return D},FS:function(){return p},Qr:function(){return l},mf:function(){return c},Ft:function(){return f},hj:function(){return a},Kn:function(){return s},HD:function(){return d},XQ:function(){return N},Wf:function(){return m},ZT:function(){return U},lw:function(){return g},Yd:function(){return _},CE:function(){return v},ei:function(){return y},Pu:function(){return M},Y2:function(){return O},ZK:function(){return I}});n(5967);var r=1/60*1e3,o="undefined"!==typeof performance?function(){return performance.now()}:function(){return Date.now()};function i(e){const t=null==e?0:e.length;return t?e[t-1]:void 0}function a(e){return"number"===typeof e}function u(e){return Array.isArray(e)}function c(e){return"function"===typeof e}function s(e){const t=typeof e;return null!=e&&("object"===t||"function"===t)&&!u(e)}function l(e){return s(e)&&0===Object.keys(e).length}function f(e){return null==e}function d(e){return"[object String]"===Object.prototype.toString.call(e)}function p(e){return/^var\(--.+\)$/.test(e)}var h=!1;function v(e,t){const n={};return Object.keys(e).forEach((r=>{t.includes(r)||(n[r]=e[r])})),n}function y(e,t){const n={};return t.forEach((t=>{t in e&&(n[t]=e[t])})),n}var m=(e=>{const t=new WeakMap;return(n,r,o,i)=>{if("undefined"===typeof n)return e(n,r,o);t.has(n)||t.set(n,new Map);const a=t.get(n);if(a.has(r))return a.get(r);const u=e(n,r,o,i);return a.set(r,u),u}})((function(e,t,n,r){const o="string"===typeof t?t.split("."):[t];for(r=0;r<o.length&&e;r+=1)e=e[o[r]];return void 0===e?n:e}));function g(e,t){const n={};return Object.keys(e).forEach((r=>{const o=e[r];t(o,r,e)&&(n[r]=o)})),n}var b=e=>g(e,(e=>null!==e&&void 0!==e)),_=e=>Object.keys(e),w=e=>e.reduce(((e,t)=>{let[n,r]=t;return e[n]=r,e}),{});function j(e){if(null==e)return e;const{unitless:t}=function(e){const t=parseFloat(e.toString()),n=e.toString().replace(String(t),"");return{unitless:!n,value:t,unit:n}}(e);return t||a(e)?`${e}px`:e}var k=(e,t)=>parseInt(e[1],10)>parseInt(t[1],10)?1:-1,x=e=>w(Object.entries(e).sort(k));function E(e){const t=x(e);return Object.assign(Object.values(t),t)}function A(e){if(!e)return e;const t=(e=j(e)??e).endsWith("px")?-1:-.0625;return a(e)?`${e+t}`:e.replace(/(\d+\.?\d*)/u,(e=>`${parseFloat(e)+t}`))}function O(e,t){const n=["@media screen"];return e&&n.push("and",`(min-width: ${j(e)})`),t&&n.push("and",`(max-width: ${j(t)})`),n.join(" ")}function S(e){if(!e)return null;e.base=e.base??"0px";const t=E(e),n=Object.entries(e).sort(k).map(((e,t,n)=>{let[r,o]=e,[,i]=n[t+1]??[];return i=parseFloat(i)>0?A(i):void 0,{_minW:A(o),breakpoint:r,minW:o,maxW:i,maxWQuery:O(null,i),minWQuery:O(o),minMaxQuery:O(o,i)}})),r=function(e){const t=Object.keys(x(e));return new Set(t)}(e),o=Array.from(r.values());return{keys:r,normalized:t,isResponsive(e){const t=Object.keys(e);return t.length>0&&t.every((e=>r.has(e)))},asObject:x(e),asArray:E(e),details:n,media:[null,...t.map((e=>O(e))).slice(1)],toArrayValue(e){if(!s(e))throw new Error("toArrayValue: value must be an object");const t=o.map((t=>e[t]??null));for(;null===i(t);)t.pop();return t},toObjectValue(e){if(!Array.isArray(e))throw new Error("toObjectValue: value must be an array");return e.reduce(((e,t,n)=>{const r=o[n];return null!=r&&null!=t&&(e[r]=t),e}),{})}}}function C(e){return null!=e&&"object"==typeof e&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function P(e){return C(e)?e.ownerDocument??document:document}function T(){return!("undefined"===typeof window||!window.document||!window.document.createElement)}var D=T(),R=e=>e?"":void 0,z=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(Boolean).join(" ")};["input:not([disabled])","select:not([disabled])","textarea:not([disabled])","embed","iframe","object","a[href]","area[href]","button:not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"].join();function M(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return c(e)?e(...n):e}function L(e){let t;return function(){if(e){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];t=e.apply(this,r),e=null}return t}}var U=()=>{},I=L((e=>()=>{const{condition:t,message:n}=e;t&&h&&console.warn(n)}));function F(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1/0;return(s(e)||Array.isArray(e))&&t?Object.entries(e).reduce(((e,n)=>{let[r,o]=n;return s(o)||u(o)?Object.entries(F(o,t-1)).forEach((t=>{let[n,o]=t;e[`${r}.${n}`]=o})):e[r]=o,e}),{}):e}Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER;Object.freeze(["base","sm","md","lg","xl","2xl"]);function N(e,t){return u(e)?e.map((e=>null===e?null:t(e))):s(e)?_(e).reduce(((n,r)=>(n[r]=t(e[r]),n)),{}):null!=e?t(e):null}},6045:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(7313),o=n.t(r,2),i=n(7462);var a=/^((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|download|draggable|encType|enterKeyHint|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|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)-.*))$/,u=function(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){return a.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),c=n(9302),s=n(4911),l=n(3752),f=u,d=function(e){return"theme"!==e},p=function(e){return"string"===typeof e&&e.charCodeAt(0)>96?f:d},h=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!==typeof r&&n&&(r=e.__emotion_forwardProp),r},v=o.useInsertionEffect?o.useInsertionEffect:function(e){e()};var y=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;(0,s.hC)(t,n,r);v((function(){return(0,s.My)(t,n,r)}));return null},m=function e(t,n){var o,a,u=t.__emotion_real===t,f=u&&t.__emotion_base||t;void 0!==n&&(o=n.label,a=n.target);var d=h(t,n,u),v=d||p(f),m=!v("as");return function(){var g=arguments,b=u&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==o&&b.push("label:"+o+";"),null==g[0]||void 0===g[0].raw)b.push.apply(b,g);else{0,b.push(g[0][0]);for(var _=g.length,w=1;w<_;w++)b.push(g[w],g[0][w])}var j=(0,c.w)((function(e,t,n){var o=m&&e.as||f,i="",u=[],h=e;if(null==e.theme){for(var g in h={},e)h[g]=e[g];h.theme=(0,r.useContext)(c.T)}"string"===typeof e.className?i=(0,s.fp)(t.registered,u,e.className):null!=e.className&&(i=e.className+" ");var _=(0,l.O)(b.concat(u),t.registered,h);i+=t.key+"-"+_.name,void 0!==a&&(i+=" "+a);var w=m&&void 0===d?p(o):v,j={};for(var k in e)m&&"as"===k||w(k)&&(j[k]=e[k]);return j.className=i,j.ref=n,(0,r.createElement)(r.Fragment,null,(0,r.createElement)(y,{cache:t,serialized:_,isStringTag:"string"===typeof o}),(0,r.createElement)(o,j))}));return j.displayName=void 0!==o?o:"Styled("+("string"===typeof f?f:f.displayName||f.name||"Component")+")",j.defaultProps=t.defaultProps,j.__emotion_real=j,j.__emotion_base=f,j.__emotion_styles=b,j.__emotion_forwardProp=d,Object.defineProperty(j,"toString",{value:function(){return"."+a}}),j.withComponent=function(t,r){return e(t,(0,i.Z)({},n,r,{shouldForwardProp:h(j,r,!0)})).apply(void 0,b)},j}},g=m.bind();["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){g[e]=g(e)}));var b=g},4911:function(e,t,n){"use strict";n.d(t,{My:function(){return i},fp:function(){return r},hC:function(){return o}});function r(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var o=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},i=function(e,t,n){o(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+r:"",i,e.sheet,!0);i=i.next}while(void 0!==i)}}},2229:function(e,t,n){"use strict";var r=n(3071),o={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,i,a,u,c,s,l=!1;t||(t={}),n=t.debug||!1;try{if(a=r(),u=document.createRange(),c=document.getSelection(),(s=document.createElement("span")).textContent=e,s.style.all="unset",s.style.position="fixed",s.style.top=0,s.style.clip="rect(0, 0, 0, 0)",s.style.whiteSpace="pre",s.style.webkitUserSelect="text",s.style.MozUserSelect="text",s.style.msUserSelect="text",s.style.userSelect="text",s.addEventListener("copy",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),"undefined"===typeof r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var i=o[t.format]||o.default;window.clipboardData.setData(i,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(s),u.selectNodeContents(s),c.addRange(u),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");l=!0}catch(f){n&&console.error("unable to copy using execCommand: ",f),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),l=!0}catch(f){n&&console.error("unable to copy using clipboardData: ",f),n&&console.error("falling back to prompt"),i=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(i,e)}}finally{c&&("function"==typeof c.removeRange?c.removeRange(u):c.removeAllRanges()),s&&document.body.removeChild(s),a()}return l}},5967:function(e,t,n){e=n.nmd(e);var r="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",a="[object Function]",u="[object Object]",c=/^\[object .+?Constructor\]$/,s=/^(?:0|[1-9]\d*)$/,l={};l["[object Float32Array]"]=l["[object Float64Array]"]=l["[object Int8Array]"]=l["[object Int16Array]"]=l["[object Int32Array]"]=l["[object Uint8Array]"]=l["[object Uint8ClampedArray]"]=l["[object Uint16Array]"]=l["[object Uint32Array]"]=!0,l[i]=l["[object Array]"]=l["[object ArrayBuffer]"]=l["[object Boolean]"]=l["[object DataView]"]=l["[object Date]"]=l["[object Error]"]=l[a]=l["[object Map]"]=l["[object Number]"]=l[u]=l["[object RegExp]"]=l["[object Set]"]=l["[object String]"]=l["[object WeakMap]"]=!1;var f="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,d="object"==typeof self&&self&&self.Object===Object&&self,p=f||d||Function("return this")(),h=t&&!t.nodeType&&t,v=h&&e&&!e.nodeType&&e,y=v&&v.exports===h,m=y&&f.process,g=function(){try{var e=v&&v.require&&v.require("util").types;return e||m&&m.binding&&m.binding("util")}catch(t){}}(),b=g&&g.isTypedArray;function _(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var w,j,k=Array.prototype,x=Function.prototype,E=Object.prototype,A=p["__core-js_shared__"],O=x.toString,S=E.hasOwnProperty,C=function(){var e=/[^.]+$/.exec(A&&A.keys&&A.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),P=E.toString,T=O.call(Object),D=RegExp("^"+O.call(S).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),R=y?p.Buffer:void 0,z=p.Symbol,M=p.Uint8Array,L=R?R.allocUnsafe:void 0,U=(w=Object.getPrototypeOf,j=Object,function(e){return w(j(e))}),I=Object.create,F=E.propertyIsEnumerable,N=k.splice,$=z?z.toStringTag:void 0,W=function(){try{var e=he(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),q=R?R.isBuffer:void 0,H=Math.max,B=Date.now,V=he(p,"Map"),X=he(Object,"create"),G=function(){function e(){}return function(t){if(!Ae(t))return{};if(I)return I(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function Y(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Z(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Q(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function K(e){var t=this.__data__=new Z(e);this.size=t.size}function J(e,t){var n=we(e),r=!n&&_e(e),o=!n&&!r&&ke(e),i=!n&&!r&&!o&&Se(e),a=n||r||o||i,u=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],c=u.length;for(var s in e)!t&&!S.call(e,s)||a&&("length"==s||o&&("offset"==s||"parent"==s)||i&&("buffer"==s||"byteLength"==s||"byteOffset"==s)||ve(s,c))||u.push(s);return u}function ee(e,t,n){(void 0!==n&&!be(e[t],n)||void 0===n&&!(t in e))&&re(e,t,n)}function te(e,t,n){var r=e[t];S.call(e,t)&&be(r,n)&&(void 0!==n||t in e)||re(e,t,n)}function ne(e,t){for(var n=e.length;n--;)if(be(e[n][0],t))return n;return-1}function re(e,t,n){"__proto__"==t&&W?W(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}Y.prototype.clear=function(){this.__data__=X?X(null):{},this.size=0},Y.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Y.prototype.get=function(e){var t=this.__data__;if(X){var n=t[e];return n===r?void 0:n}return S.call(t,e)?t[e]:void 0},Y.prototype.has=function(e){var t=this.__data__;return X?void 0!==t[e]:S.call(t,e)},Y.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=X&&void 0===t?r:t,this},Z.prototype.clear=function(){this.__data__=[],this.size=0},Z.prototype.delete=function(e){var t=this.__data__,n=ne(t,e);return!(n<0)&&(n==t.length-1?t.pop():N.call(t,n,1),--this.size,!0)},Z.prototype.get=function(e){var t=this.__data__,n=ne(t,e);return n<0?void 0:t[n][1]},Z.prototype.has=function(e){return ne(this.__data__,e)>-1},Z.prototype.set=function(e,t){var n=this.__data__,r=ne(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Q.prototype.clear=function(){this.size=0,this.__data__={hash:new Y,map:new(V||Z),string:new Y}},Q.prototype.delete=function(e){var t=pe(this,e).delete(e);return this.size-=t?1:0,t},Q.prototype.get=function(e){return pe(this,e).get(e)},Q.prototype.has=function(e){return pe(this,e).has(e)},Q.prototype.set=function(e,t){var n=pe(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},K.prototype.clear=function(){this.__data__=new Z,this.size=0},K.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},K.prototype.get=function(e){return this.__data__.get(e)},K.prototype.has=function(e){return this.__data__.has(e)},K.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Z){var r=n.__data__;if(!V||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Q(r)}return n.set(e,t),this.size=n.size,this};var oe,ie=function(e,t,n){for(var r=-1,o=Object(e),i=n(e),a=i.length;a--;){var u=i[oe?a:++r];if(!1===t(o[u],u,o))break}return e};function ae(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":$&&$ in Object(e)?function(e){var t=S.call(e,$),n=e[$];try{e[$]=void 0;var r=!0}catch(i){}var o=P.call(e);r&&(t?e[$]=n:delete e[$]);return o}(e):function(e){return P.call(e)}(e)}function ue(e){return Oe(e)&&ae(e)==i}function ce(e){return!(!Ae(e)||function(e){return!!C&&C in e}(e))&&(xe(e)?D:c).test(function(e){if(null!=e){try{return O.call(e)}catch(t){}try{return e+""}catch(t){}}return""}(e))}function se(e){if(!Ae(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=ye(e),n=[];for(var r in e)("constructor"!=r||!t&&S.call(e,r))&&n.push(r);return n}function le(e,t,n,r,o){e!==t&&ie(t,(function(i,a){if(o||(o=new K),Ae(i))!function(e,t,n,r,o,i,a){var c=me(e,n),s=me(t,n),l=a.get(s);if(l)return void ee(e,n,l);var f=i?i(c,s,n+"",e,t,a):void 0,d=void 0===f;if(d){var p=we(s),h=!p&&ke(s),v=!p&&!h&&Se(s);f=s,p||h||v?we(c)?f=c:Oe(y=c)&&je(y)?f=function(e,t){var n=-1,r=e.length;t||(t=Array(r));for(;++n<r;)t[n]=e[n];return t}(c):h?(d=!1,f=function(e,t){if(t)return e.slice();var n=e.length,r=L?L(n):new e.constructor(n);return e.copy(r),r}(s,!0)):v?(d=!1,f=function(e,t){var n=t?function(e){var t=new e.constructor(e.byteLength);return new M(t).set(new M(e)),t}(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}(s,!0)):f=[]:function(e){if(!Oe(e)||ae(e)!=u)return!1;var t=U(e);if(null===t)return!0;var n=S.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&O.call(n)==T}(s)||_e(s)?(f=c,_e(c)?f=function(e){return function(e,t,n,r){var o=!n;n||(n={});var i=-1,a=t.length;for(;++i<a;){var u=t[i],c=r?r(n[u],e[u],u,n,e):void 0;void 0===c&&(c=e[u]),o?re(n,u,c):te(n,u,c)}return n}(e,Ce(e))}(c):Ae(c)&&!xe(c)||(f=function(e){return"function"!=typeof e.constructor||ye(e)?{}:G(U(e))}(s))):d=!1}var y;d&&(a.set(s,f),o(f,s,r,i,a),a.delete(s));ee(e,n,f)}(e,t,a,n,le,r,o);else{var c=r?r(me(e,a),i,a+"",e,t,o):void 0;void 0===c&&(c=i),ee(e,a,c)}}),Ce)}function fe(e,t){return ge(function(e,t,n){return t=H(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=H(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var u=Array(t+1);++o<t;)u[o]=r[o];return u[t]=n(a),_(e,this,u)}}(e,t,De),e+"")}var de=W?function(e,t){return W(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:De;function pe(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map}function he(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return ce(n)?n:void 0}function ve(e,t){var n=typeof e;return!!(t=null==t?o:t)&&("number"==n||"symbol"!=n&&s.test(e))&&e>-1&&e%1==0&&e<t}function ye(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||E)}function me(e,t){if(("constructor"!==t||"function"!==typeof e[t])&&"__proto__"!=t)return e[t]}var ge=function(e){var t=0,n=0;return function(){var r=B(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(de);function be(e,t){return e===t||e!==e&&t!==t}var _e=ue(function(){return arguments}())?ue:function(e){return Oe(e)&&S.call(e,"callee")&&!F.call(e,"callee")},we=Array.isArray;function je(e){return null!=e&&Ee(e.length)&&!xe(e)}var ke=q||function(){return!1};function xe(e){if(!Ae(e))return!1;var t=ae(e);return t==a||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ee(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=o}function Ae(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Oe(e){return null!=e&&"object"==typeof e}var Se=b?function(e){return function(t){return e(t)}}(b):function(e){return Oe(e)&&Ee(e.length)&&!!l[ae(e)]};function Ce(e){return je(e)?J(e,!0):se(e)}var Pe,Te=(Pe=function(e,t,n,r){le(e,t,n,r)},fe((function(e,t){var n=-1,r=t.length,o=r>1?t[r-1]:void 0,i=r>2?t[2]:void 0;for(o=Pe.length>3&&"function"==typeof o?(r--,o):void 0,i&&function(e,t,n){if(!Ae(n))return!1;var r=typeof t;return!!("number"==r?je(n)&&ve(t,n.length):"string"==r&&t in n)&&be(n[t],e)}(t[0],t[1],i)&&(o=r<3?void 0:o,r=1),e=Object(e);++n<r;){var a=t[n];a&&Pe(e,a,n,o)}return e})));function De(e){return e}e.exports=Te},3071:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach((function(t){e.addRange(t)})),t&&t.focus()}}}}]);
@@ -0,0 +1,2 @@
1
+ /*! For license information please see 154.77527b19.chunk.js.LICENSE.txt */
2
+ (self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[154],{9748:function(t,e,n){"use strict";n.d(e,{zx:function(){return v}});var o=n(7313),i=n(4959),r=n(7653),a=n(190),s=n(5967),l=n.n(s),c=n(7872),u=n(87),d=n(5630),[f,p]=(0,u.kr)({strict:!1,name:"ButtonGroupContext"});function h(t){const{children:e,className:n,...i}=t,a=(0,o.isValidElement)(e)?(0,o.cloneElement)(e,{"aria-hidden":!0,focusable:!1}):e,s=(0,c.cx)("chakra-button__icon",n);return o.createElement(r.m$.span,{display:"inline-flex",alignSelf:"center",flexShrink:0,...i,className:s},a)}function m(t){const{label:e,placement:n,spacing:i="0.5rem",children:a=o.createElement(d.$,{color:"currentColor",width:"1em",height:"1em"}),className:s,__css:l,...u}=t,f=(0,c.cx)("chakra-button__spinner",s),p="start"===n?"marginEnd":"marginStart",h=(0,o.useMemo)((()=>({display:"flex",alignItems:"center",position:e?"relative":"absolute",[p]:e?i:0,fontSize:"1em",lineHeight:"normal",...l})),[l,e,p,i]);return o.createElement(r.m$.div,{className:f,...u,__css:h},a)}c.Ts&&(h.displayName="ButtonIcon"),c.Ts&&(m.displayName="ButtonSpinner");var v=(0,r.Gp)(((t,e)=>{const n=p(),s=(0,r.mq)("Button",{...n,...t}),{isDisabled:u=(null==n?void 0:n.isDisabled),isLoading:d,isActive:f,children:h,leftIcon:v,rightIcon:y,loadingText:b,iconSpacing:x="0.5rem",type:E,spinner:w,spinnerPlacement:O="start",className:C,as:S,...P}=(0,a.Lr)(t),T=(0,o.useMemo)((()=>{const t=l()({},(null==s?void 0:s._focus)??{},{zIndex:1});return{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",...s,...!!n&&{_focus:t}}}),[s,n]),{ref:A,type:j}=function(t){const[e,n]=(0,o.useState)(!t);return{ref:(0,o.useCallback)((t=>{t&&n("BUTTON"===t.tagName)}),[]),type:e?"button":void 0}}(S),M={rightIcon:y,leftIcon:v,iconSpacing:x,children:h};return o.createElement(r.m$.button,{disabled:u||d,ref:(0,i.qq)(e,A),as:S,type:E??j,"data-active":(0,c.PB)(f),"data-loading":(0,c.PB)(d),__css:T,className:(0,c.cx)("chakra-button",C),...P},d&&"start"===O&&o.createElement(m,{className:"chakra-button__spinner--start",label:b,placement:"start",spacing:x},w),d?b||o.createElement(r.m$.span,{opacity:0},o.createElement(g,{...M})):o.createElement(g,{...M}),d&&"end"===O&&o.createElement(m,{className:"chakra-button__spinner--end",label:b,placement:"end",spacing:x},w))}));function g(t){const{leftIcon:e,rightIcon:n,children:i,iconSpacing:r}=t;return o.createElement(o.Fragment,null,e&&o.createElement(h,{marginEnd:r},e),i,n&&o.createElement(h,{marginStart:r},n))}c.Ts&&(v.displayName="Button");var y=(0,r.Gp)((function(t,e){const{size:n,colorScheme:i,variant:a,className:s,spacing:l="0.5rem",isAttached:u,isDisabled:d,...p}=t,h=(0,c.cx)("chakra-button__group",s),m=(0,o.useMemo)((()=>({size:n,colorScheme:i,variant:a,isDisabled:d})),[n,i,a,d]);let v={display:"inline-flex"};return v=u?{...v,"> *:first-of-type:not(:last-of-type)":{borderEndRadius:0},"> *:not(:first-of-type):not(:last-of-type)":{borderRadius:0},"> *:not(:first-of-type):last-of-type":{borderStartRadius:0}}:{...v,"& > *:not(style) ~ *:not(style)":{marginStart:l}},o.createElement(f,{value:m},o.createElement(r.m$.div,{ref:e,role:"group",__css:v,className:h,"data-attached":u?"":void 0,...p}))}));c.Ts&&(y.displayName="ButtonGroup");var b=(0,r.Gp)(((t,e)=>{const{icon:n,children:i,isRound:r,"aria-label":a,...s}=t,l=n||i,c=(0,o.isValidElement)(l)?(0,o.cloneElement)(l,{"aria-hidden":!0,focusable:!1}):null;return o.createElement(v,{padding:"0",borderRadius:r?"full":void 0,ref:e,"aria-label":a,...s},c)}));c.Ts&&(b.displayName="IconButton")},5630:function(t,e,n){"use strict";n.d(e,{$:function(){return f}});var o=n(7313),i=n(7653),r=n(686),a=n(190),s=n(7872),l={border:"0px",clip:"rect(0px, 0px, 0px, 0px)",height:"1px",width:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},c=(0,i.m$)("span",{baseStyle:l});s.Ts&&(c.displayName="VisuallyHidden");var u=(0,i.m$)("input",{baseStyle:l});s.Ts&&(u.displayName="VisuallyHiddenInput");var d=(0,r.F4)({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),f=(0,i.Gp)(((t,e)=>{const n=(0,i.mq)("Spinner",t),{label:r="Loading...",thickness:l="2px",speed:u="0.45s",emptyColor:f="transparent",className:p,...h}=(0,a.Lr)(t),m=(0,s.cx)("chakra-spinner",p),v={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:l,borderBottomColor:f,borderLeftColor:f,animation:`${d} ${u} linear infinite`,...n};return o.createElement(i.m$.div,{ref:e,__css:v,className:m,...h},r&&o.createElement(c,null,r))}));s.Ts&&(f.displayName="Spinner")},6336:function(t,e,n){"use strict";n.d(e,{MT:function(){return B},Rg:function(){return W}});var o=n(7313),i=n(7872),r=n(5967),a=n.n(r),s=n(1984),l=n(8125),c=n(700);function u(){const t=(0,o.useRef)(!1);return(0,c.L)((()=>(t.current=!0,()=>{t.current=!1})),[]),t}var d=n(9806),f=n(8998);class p extends o.Component{getSnapshotBeforeUpdate(t){const e=this.props.childRef.current;if(e&&t.isPresent&&!this.props.isPresent){const t=this.props.sizeRef.current;t.height=e.offsetHeight||0,t.width=e.offsetWidth||0,t.top=e.offsetTop,t.left=e.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function h(t){let{children:e,isPresent:n}=t;const i=(0,o.useId)(),r=(0,o.useRef)(null),a=(0,o.useRef)({width:0,height:0,top:0,left:0});return(0,o.useInsertionEffect)((()=>{var t;const{width:e,height:o,top:s,left:l}=a.current;if(n||!r.current||!e||!o)return;r.current.dataset.motionPopId=i;const c=document.createElement("style");return document.head.appendChild(c),null===(t=c.sheet)||void 0===t||t.insertRule(`\n [data-motion-pop-id="${i}"] {\n position: absolute !important;\n width: ${e}px !important;\n height: ${o}px !important;\n top: ${s}px !important;\n left: ${l}px !important;\n }\n `),()=>{document.head.removeChild(c)}}),[n]),o.createElement(p,{isPresent:n,childRef:r,sizeRef:a},o.cloneElement(e,{ref:r}))}const m=t=>{let{children:e,initial:n,isPresent:i,onExitComplete:r,custom:a,presenceAffectsLayout:s,mode:l}=t;const c=(0,f.h)(v),u=(0,o.useId)(),p=(0,o.useMemo)((()=>({id:u,initial:n,isPresent:i,custom:a,onExitComplete:t=>{c.set(t,!0);for(const e of c.values())if(!e)return;null===r||void 0===r||r()},register:t=>(c.set(t,!1),()=>c.delete(t))})),s?void 0:[i]);return(0,o.useMemo)((()=>{c.forEach(((t,e)=>c.set(e,!1)))}),[i]),o.useEffect((()=>{!i&&!c.size&&(null===r||void 0===r||r())}),[i]),"popLayout"===l&&(e=o.createElement(h,{isPresent:i},e)),o.createElement(d.O.Provider,{value:p},e)};function v(){return new Map}var g=n(2492),y=n(8829),b=n(109);const x=t=>t.key||"";const E=t=>{let{children:e,custom:n,initial:i=!0,onExitComplete:r,exitBeforeEnter:a,presenceAffectsLayout:d=!0,mode:f="sync"}=t;a&&(f="wait",(0,b.O)(!1,"Replace exitBeforeEnter with mode='wait'"));let[p]=function(){const t=u(),[e,n]=(0,o.useState)(0),i=(0,o.useCallback)((()=>{t.current&&n(e+1)}),[e]);return[(0,o.useCallback)((()=>l.ZP.postRender(i)),[i]),e]}();const h=(0,o.useContext)(g.p).forceRender;h&&(p=h);const v=u(),E=function(t){const e=[];return o.Children.forEach(t,(t=>{(0,o.isValidElement)(t)&&e.push(t)})),e}(e);let w=E;const O=new Set,C=(0,o.useRef)(w),S=(0,o.useRef)(new Map).current,P=(0,o.useRef)(!0);if((0,c.L)((()=>{P.current=!1,function(t,e){t.forEach((t=>{const n=x(t);e.set(n,t)}))}(E,S),C.current=w})),(0,y.z)((()=>{P.current=!0,S.clear(),O.clear()})),P.current)return o.createElement(o.Fragment,null,w.map((t=>o.createElement(m,{key:x(t),isPresent:!0,initial:!!i&&void 0,presenceAffectsLayout:d,mode:f},t))));w=[...w];const T=C.current.map(x),A=E.map(x),j=T.length;for(let o=0;o<j;o++){const t=T[o];-1===A.indexOf(t)&&O.add(t)}return"wait"===f&&O.size&&(w=[]),O.forEach((t=>{if(-1!==A.indexOf(t))return;const e=S.get(t);if(!e)return;const i=T.indexOf(t);w.splice(i,0,o.createElement(m,{key:x(e),isPresent:!1,onExitComplete:()=>{S.delete(t),O.delete(t);const e=C.current.findIndex((e=>e.key===t));if(C.current.splice(e,1),!O.size){if(C.current=E,!1===v.current)return;p(),r&&r()}},custom:n,presenceAffectsLayout:d,mode:f},e))})),w=w.map((t=>{const e=t.key;return O.has(e)?t:o.createElement(m,{key:x(t),isPresent:!0,presenceAffectsLayout:d,mode:f},t)})),"production"!==s.O&&"wait"===f&&w.length>1&&console.warn('You\'re attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.'),o.createElement(o.Fragment,null,O.size?w:w.map((t=>(0,o.cloneElement)(t))))};var w=n(3429),O={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},C={position:{left:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"-100%",y:0}},S={position:{right:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"100%",y:0}},P={position:{top:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"-100%"}},T={position:{bottom:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"100%"}};function A(t){switch((null==t?void 0:t.direction)??"right"){case"right":default:return S;case"left":return C;case"bottom":return T;case"top":return P}}var j={enter:{duration:.2,ease:O.easeOut},exit:{duration:.1,ease:O.easeIn}},M=(t,e)=>({...t,delay:"number"===typeof e?e:null==e?void 0:e.enter}),R=(t,e)=>({...t,delay:"number"===typeof e?e:null==e?void 0:e.exit}),L={exit:{height:{duration:.2,ease:O.ease},opacity:{duration:.3,ease:O.ease}},enter:{height:{duration:.3,ease:O.ease},opacity:{duration:.4,ease:O.ease}}},V={exit:t=>{let{animateOpacity:e,startingHeight:n,transition:o,transitionEnd:i,delay:r}=t;return{...e&&{opacity:(a=n,null!=a&&parseInt(a.toString(),10)>0?1:0)},height:n,transitionEnd:null==i?void 0:i.exit,transition:(null==o?void 0:o.exit)??R(L.exit,r)};var a},enter:t=>{let{animateOpacity:e,endingHeight:n,transition:o,transitionEnd:i,delay:r}=t;return{...e&&{opacity:1},height:n,transitionEnd:null==i?void 0:i.enter,transition:(null==o?void 0:o.enter)??M(L.enter,r)}}},k=(0,o.forwardRef)(((t,e)=>{const{in:n,unmountOnExit:r,animateOpacity:s=!0,startingHeight:l=0,endingHeight:c="auto",style:u,className:d,transition:f,transitionEnd:p,...h}=t,[m,v]=(0,o.useState)(!1);(0,o.useEffect)((()=>{const t=setTimeout((()=>{v(!0)}));return()=>clearTimeout(t)}),[]),(0,i.ZK)({condition:Boolean(l>0&&r),message:"startingHeight and unmountOnExit are mutually exclusive. You can't use them together"});const g=parseFloat(l.toString())>0,y={startingHeight:l,endingHeight:c,animateOpacity:s,transition:m?f:{enter:{duration:0}},transitionEnd:a()(p,{exit:r?void 0:{display:g?"block":"none"}})},b=!r||n,x=n||r?"enter":"exit";return o.createElement(E,{initial:!1,custom:y},b&&o.createElement(w.E.div,{ref:e,...h,className:(0,i.cx)("chakra-collapse",d),style:{overflow:"hidden",display:"block",...u},custom:y,variants:V,initial:!!r&&"exit",animate:x,exit:"exit"}))}));i.Ts&&(k.displayName="Collapse");var D={enter:function(){let{transition:t,transitionEnd:e,delay:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{opacity:1,transition:(null==t?void 0:t.enter)??M(j.enter,n),transitionEnd:null==e?void 0:e.enter}},exit:function(){let{transition:t,transitionEnd:e,delay:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{opacity:0,transition:(null==t?void 0:t.exit)??R(j.exit,n),transitionEnd:null==e?void 0:e.exit}}},N={initial:"exit",animate:"enter",exit:"exit",variants:D},F=(0,o.forwardRef)((function(t,e){const{unmountOnExit:n,in:r,className:a,transition:s,transitionEnd:l,delay:c,...u}=t,d=r||n?"enter":"exit",f=!n||r&&n,p={transition:s,transitionEnd:l,delay:c};return o.createElement(E,{custom:p},f&&o.createElement(w.E.div,{ref:e,className:(0,i.cx)("chakra-fade",a),custom:p,...N,animate:d,...u}))}));i.Ts&&(F.displayName="Fade");var U={initial:"exit",animate:"enter",exit:"exit",variants:{exit:t=>{let{reverse:e,initialScale:n,transition:o,transitionEnd:i,delay:r}=t;return{opacity:0,...e?{scale:n,transitionEnd:null==i?void 0:i.exit}:{transitionEnd:{scale:n,...null==i?void 0:i.exit}},transition:(null==o?void 0:o.exit)??R(j.exit,r)}},enter:t=>{let{transitionEnd:e,transition:n,delay:o}=t;return{opacity:1,scale:1,transition:(null==n?void 0:n.enter)??M(j.enter,o),transitionEnd:null==e?void 0:e.enter}}}},B=(0,o.forwardRef)((function(t,e){const{unmountOnExit:n,in:r,reverse:a=!0,initialScale:s=.95,className:l,transition:c,transitionEnd:u,delay:d,...f}=t,p=!n||r&&n,h=r||n?"enter":"exit",m={initialScale:s,reverse:a,transition:c,transitionEnd:u,delay:d};return o.createElement(E,{custom:m},p&&o.createElement(w.E.div,{ref:e,className:(0,i.cx)("chakra-offset-slide",l),...U,animate:h,custom:m,...f}))}));i.Ts&&(B.displayName="ScaleFade");var I={exit:{duration:.15,ease:O.easeInOut},enter:{type:"spring",damping:25,stiffness:180}},_={exit:t=>{let{direction:e,transition:n,transitionEnd:o,delay:i}=t;const{exit:r}=A({direction:e});return{...r,transition:(null==n?void 0:n.exit)??R(I.exit,i),transitionEnd:null==o?void 0:o.exit}},enter:t=>{let{direction:e,transitionEnd:n,transition:o,delay:i}=t;const{enter:r}=A({direction:e});return{...r,transition:(null==o?void 0:o.enter)??M(I.enter,i),transitionEnd:null==n?void 0:n.enter}}},z=(0,o.forwardRef)((function(t,e){const{direction:n="right",style:r,unmountOnExit:a,in:s,className:l,transition:c,transitionEnd:u,delay:d,...f}=t,p=A({direction:n}),h=Object.assign({position:"fixed"},p.position,r),m=!a||s&&a,v=s||a?"enter":"exit",g={transitionEnd:u,transition:c,direction:n,delay:d};return o.createElement(E,{custom:g},m&&o.createElement(w.E.div,{...f,ref:e,initial:"exit",className:(0,i.cx)("chakra-slide",l),animate:v,exit:"exit",custom:g,variants:_,style:h}))}));i.Ts&&(z.displayName="Slide");var H={initial:"initial",animate:"enter",exit:"exit",variants:{initial:t=>{let{offsetX:e,offsetY:n,transition:o,transitionEnd:i,delay:r}=t;return{opacity:0,x:e,y:n,transition:(null==o?void 0:o.exit)??R(j.exit,r),transitionEnd:null==i?void 0:i.exit}},enter:t=>{let{transition:e,transitionEnd:n,delay:o}=t;return{opacity:1,x:0,y:0,transition:(null==e?void 0:e.enter)??M(j.enter,o),transitionEnd:null==n?void 0:n.enter}},exit:t=>{let{offsetY:e,offsetX:n,transition:o,transitionEnd:i,reverse:r,delay:a}=t;const s={x:n,y:e};return{opacity:0,transition:(null==o?void 0:o.exit)??R(j.exit,a),...r?{...s,transitionEnd:null==i?void 0:i.exit}:{transitionEnd:{...s,...null==i?void 0:i.exit}}}}}},W=(0,o.forwardRef)((function(t,e){const{unmountOnExit:n,in:r,reverse:a=!0,className:s,offsetX:l=0,offsetY:c=8,transition:u,transitionEnd:d,delay:f,...p}=t,h=!n||r&&n,m=r||n?"enter":"exit",v={offsetX:l,offsetY:c,reverse:a,transition:u,transitionEnd:d,delay:f};return o.createElement(E,{custom:v},h&&o.createElement(w.E.div,{ref:e,className:(0,i.cx)("chakra-offset-slide",s),custom:v,...H,animate:m,...p}))}));i.Ts&&(W.displayName="SlideFade")},6984:function(t,e,n){"use strict";var o=n(5318);e.Z=void 0;var i=o(n(5045)),r=n(6417),a=(0,i.default)((0,r.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10h-4v4h-2v-4H7v-2h4V7h2v4h4v2z"}),"AddBox");e.Z=a},4937:function(t,e,n){"use strict";var o=n(5318);e.Z=void 0;var i=o(n(5045)),r=n(6417),a=(0,i.default)((0,r.jsx)("path",{d:"M5 13h11.17l-4.88 4.88c-.39.39-.39 1.03 0 1.42.39.39 1.02.39 1.41 0l6.59-6.59c.39-.39.39-1.02 0-1.41l-6.58-6.6a.9959.9959 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L16.17 11H5c-.55 0-1 .45-1 1s.45 1 1 1z"}),"ArrowForwardRounded");e.Z=a},5427:function(t,e,n){"use strict";var o=n(5318);e.Z=void 0;var i=o(n(5045)),r=n(6417),a=(0,i.default)((0,r.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM9.29 16.29 5.7 12.7a.9959.9959 0 0 1 0-1.41c.39-.39 1.02-.39 1.41 0L10 14.17l6.88-6.88c.39-.39 1.02-.39 1.41 0 .39.39.39 1.02 0 1.41l-7.59 7.59c-.38.39-1.02.39-1.41 0z"}),"CheckCircleRounded");e.Z=a},8302:function(t,e,n){"use strict";var o=n(5318);e.Z=void 0;var i=o(n(5045)),r=n(6417),a=(0,i.default)((0,r.jsx)("path",{d:"M18.3 5.71a.9959.9959 0 0 0-1.41 0L12 10.59 7.11 5.7a.9959.9959 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L10.59 12 5.7 16.89c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0L12 13.41l4.89 4.89c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4z"}),"CloseRounded");e.Z=a},2586:function(t,e,n){"use strict";var o=n(5318);e.Z=void 0;var i=o(n(5045)),r=n(6417),a=(0,i.default)((0,r.jsx)("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"}),"ContentCopy");e.Z=a},8449:function(t,e,n){"use strict";var o=n(5318);e.Z=void 0;var i=o(n(5045)),r=n(6417),a=(0,i.default)((0,r.jsx)("path",{d:"M15.88 9.29 12 13.17 8.12 9.29a.9959.9959 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59c.39-.39.39-1.02 0-1.41-.39-.38-1.03-.39-1.42 0z"}),"ExpandMoreRounded");e.Z=a},7933:function(t,e,n){"use strict";var o=n(5318);e.Z=void 0;var i=o(n(5045)),r=n(6417),a=(0,i.default)((0,r.jsx)("path",{d:"M19.66 3.99c-2.64-1.8-5.9-.96-7.66 1.1-1.76-2.06-5.02-2.91-7.66-1.1-1.4.96-2.28 2.58-2.34 4.29-.14 3.88 3.3 6.99 8.55 11.76l.1.09c.76.69 1.93.69 2.69-.01l.11-.1c5.25-4.76 8.68-7.87 8.55-11.75-.06-1.7-.94-3.32-2.34-4.28zM12.1 18.55l-.1.1-.1-.1C7.14 14.24 4 11.39 4 8.5 4 6.5 5.5 5 7.5 5c1.54 0 3.04.99 3.57 2.36h1.87C13.46 5.99 14.96 5 16.5 5c2 0 3.5 1.5 3.5 3.5 0 2.89-3.14 5.74-7.9 10.05z"}),"FavoriteBorderRounded");e.Z=a},2785:function(t,e,n){"use strict";var o=n(5318);e.Z=void 0;var i=o(n(5045)),r=n(6417),a=(0,i.default)((0,r.jsx)("path",{d:"M13.35 20.13c-.76.69-1.93.69-2.69-.01l-.11-.1C5.3 15.27 1.87 12.16 2 8.28c.06-1.7.93-3.33 2.34-4.29 2.64-1.8 5.9-.96 7.66 1.1 1.76-2.06 5.02-2.91 7.66-1.1 1.41.96 2.28 2.59 2.34 4.29.14 3.88-3.3 6.99-8.55 11.76l-.1.09z"}),"FavoriteRounded");e.Z=a},2882:function(t,e,n){"use strict";var o=n(5318);e.Z=void 0;var i=o(n(5045)),r=n(6417),a=(0,i.default)((0,r.jsx)("path",{d:"M7.41 15.41 12 10.83l4.59 4.58L18 14l-6-6-6 6 1.41 1.41z"}),"KeyboardArrowUpOutlined");e.Z=a},7009:function(t,e,n){"use strict";var o=n(5318);e.Z=void 0;var i=o(n(5045)),r=n(6417),a=(0,i.default)((0,r.jsx)("path",{d:"M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"}),"Launch");e.Z=a},7329:function(t,e,n){"use strict";var o=n(5318);e.Z=void 0;var i=o(n(5045)),r=n(6417),a=(0,i.default)((0,r.jsx)("path",{d:"M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4v3z"}),"Loop");e.Z=a},2154:function(t,e,n){"use strict";var o=n(5318);e.Z=void 0;var i=o(n(5045)),r=n(6417),a=(0,i.default)((0,r.jsx)("path",{d:"M14.91 6.71a.9959.9959 0 0 0-1.41 0L8.91 11.3c-.39.39-.39 1.02 0 1.41l4.59 4.59c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41L11.03 12l3.88-3.88c.38-.39.38-1.03 0-1.41z"}),"NavigateBeforeRounded");e.Z=a},7463:function(t,e,n){"use strict";var o=n(5318);e.Z=void 0;var i=o(n(5045)),r=n(6417),a=(0,i.default)((0,r.jsx)("path",{d:"M9.31 6.71c-.39.39-.39 1.02 0 1.41L13.19 12l-3.88 3.88c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0l4.59-4.59c.39-.39.39-1.02 0-1.41L10.72 6.7c-.38-.38-1.02-.38-1.41.01z"}),"NavigateNextRounded");e.Z=a},6665:function(t,e,n){"use strict";var o=n(5318);e.Z=void 0;var i=o(n(5045)),r=n(6417),a=(0,i.default)((0,r.jsx)("path",{d:"M14.83 4.83 12.7 2.7c-.62-.62-1.7-.18-1.7.71v.66C7.06 4.56 4 7.92 4 12c0 3.64 2.43 6.71 5.77 7.68.62.18 1.23-.32 1.23-.96v-.03c0-.43-.27-.82-.68-.94C7.82 17.03 6 14.73 6 12c0-2.97 2.16-5.43 5-5.91v1.53c0 .89 1.07 1.33 1.7.71l2.13-2.08c.4-.38.4-1.02 0-1.42zm4.84 4.93c-.16-.55-.38-1.08-.66-1.59-.31-.57-1.1-.66-1.56-.2l-.01.01c-.31.31-.38.78-.17 1.16.2.37.36.76.48 1.16.12.42.51.7.94.7h.02c.65 0 1.15-.62.96-1.24zM13 18.68v.02c0 .65.62 1.14 1.24.96.55-.16 1.08-.38 1.59-.66.57-.31.66-1.1.2-1.56l-.02-.02c-.31-.31-.78-.38-1.16-.17-.37.21-.76.37-1.16.49-.41.12-.69.51-.69.94zm4.44-2.65c.46.46 1.25.37 1.56-.2.28-.51.5-1.04.67-1.59.18-.62-.31-1.24-.96-1.24h-.02c-.44 0-.82.28-.94.7-.12.4-.28.79-.48 1.17-.21.38-.13.86.17 1.16z"}),"RotateRightRounded");e.Z=a},3238:function(t,e,n){"use strict";var o=n(5318);e.Z=void 0;var i=o(n(5045)),r=n(6417),a=(0,i.default)((0,r.jsx)("path",{d:"M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92s2.92-1.31 2.92-2.92-1.31-2.92-2.92-2.92z"}),"ShareSharp");e.Z=a},6227:function(t,e,n){"use strict";var o=n(5318);e.Z=void 0;var i=o(n(5045)),r=n(6417),a=(0,i.default)((0,r.jsx)("path",{d:"M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.08-.14.12-.31.12-.48 0-.55-.45-1-1-1H5.21l-.94-2H1zm16 16c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2z"}),"ShoppingCart");e.Z=a},5428:function(t,e,n){"use strict";var o=n(5318);e.Z=void 0;var i=o(n(5045)),r=n(6417),a=(0,i.default)((0,r.jsx)("path",{d:"M0 12c0 3.22 1.13 6.18 3.02 8.5H1.75c-.41 0-.75.34-.75.75s.34.75.75.75H5c.55 0 1-.45 1-1v-3.25c0-.41-.34-.75-.75-.75s-.75.34-.75.75v2.16c-1.86-2.11-3-4.88-3-7.91s1.14-5.79 3-7.91v2.16c0 .41.34.75.75.75S6 6.66 6 6.25V3c0-.55-.45-1-1-1H1.75c-.41 0-.75.34-.75.75s.34.75.75.75h1.27C1.13 5.82 0 8.78 0 12zm8.83 7.1c-.26-.6.09-1.28.73-1.41l3.58-.71-4.35-9.81c-.34-.76 0-1.64.76-1.98.76-.34 1.64 0 1.98.76l2.43 5.49.84-.37c.28-.13.59-.18.9-.17l4.56.21c.86.04 1.6.63 1.83 1.45l1.23 4.33c.27.96-.2 1.97-1.11 2.37l-5.63 2.49c-.48.21-1.26.33-1.76.14l-5.45-2.27c-.24-.09-.44-.28-.54-.52z"}),"SwipeVerticalRounded");e.Z=a},3455:function(t,e,n){"use strict";var o=n(5318);e.Z=void 0;var i=o(n(5045)),r=n(6417),a=(0,i.default)((0,r.jsx)("path",{d:"M3.63 3.63c-.39.39-.39 1.02 0 1.41L7.29 8.7 7 9H4c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1h3l3.29 3.29c.63.63 1.71.18 1.71-.71v-4.17l4.18 4.18c-.49.37-1.02.68-1.6.91-.36.15-.58.53-.58.92 0 .72.73 1.18 1.39.91.8-.33 1.55-.77 2.22-1.31l1.34 1.34c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41L5.05 3.63c-.39-.39-1.02-.39-1.42 0zM19 12c0 .82-.15 1.61-.41 2.34l1.53 1.53c.56-1.17.88-2.48.88-3.87 0-3.83-2.4-7.11-5.78-8.4-.59-.23-1.22.23-1.22.86v.19c0 .38.25.71.61.85C17.18 6.54 19 9.06 19 12zm-8.71-6.29-.17.17L12 7.76V6.41c0-.89-1.08-1.33-1.71-.7zM16.5 12c0-1.77-1.02-3.29-2.5-4.03v1.79l2.48 2.48c.01-.08.02-.16.02-.24z"}),"VolumeOffRounded");e.Z=a},3437:function(t,e,n){"use strict";var o=n(5318);e.Z=void 0;var i=o(n(5045)),r=n(6417),a=(0,i.default)((0,r.jsx)("path",{d:"M3 10v4c0 .55.45 1 1 1h3l3.29 3.29c.63.63 1.71.18 1.71-.71V6.41c0-.89-1.08-1.34-1.71-.71L7 9H4c-.55 0-1 .45-1 1zm13.5 2c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 4.45v.2c0 .38.25.71.6.85C17.18 6.53 19 9.06 19 12s-1.82 5.47-4.4 6.5c-.36.14-.6.47-.6.85v.2c0 .63.63 1.07 1.21.85C18.6 19.11 21 15.84 21 12s-2.4-7.11-5.79-8.4c-.58-.23-1.21.22-1.21.85z"}),"VolumeUpRounded");e.Z=a},8022:function(t,e,n){"use strict";var o=n(1171),i=n(6417);e.Z=(0,o.Z)((0,i.jsx)("path",{d:"M3.5 4.02V2.75c0-.41-.34-.75-.75-.75S2 2.34 2 2.75V6c0 .55.45 1 1 1h3.25c.41 0 .75-.34.75-.75s-.34-.75-.75-.75H4.09c2.11-1.86 4.88-3 7.91-3 4.42 0 7.27 2.19 8.25 4.1.12.25.38.4.66.4.56 0 .93-.59.67-1.08C20.3 3.39 16.81 1 12 1 8.78 1 5.82 2.13 3.5 4.02zm1.7 13.41c0-.65.6-1.13 1.24-.99l3.56.8V6.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5v6h.91c.31 0 .62.07.89.21l4.09 2.04c.77.38 1.21 1.22 1.09 2.07l-.63 4.46c-.14.99-.99 1.72-1.98 1.72h-6.16c-.53 0-1.29-.21-1.66-.59l-4.07-4.29c-.18-.18-.28-.43-.28-.69z"}),"SwipeLeftRounded")},5538:function(t,e,n){var o;!function(){"use strict";var i=!("undefined"===typeof window||!window.document||!window.document.createElement),r={canUseDOM:i,canUseWorkers:"undefined"!==typeof Worker,canUseEventListeners:i&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:i&&!!window.screen};void 0===(o=function(){return r}.call(e,n,e,t))||(t.exports=o)}()},5886:function(t,e,n){"use strict";function o(){var t=this.constructor.getDerivedStateFromProps(this.props,this.state);null!==t&&void 0!==t&&this.setState(t)}function i(t){this.setState(function(e){var n=this.constructor.getDerivedStateFromProps(t,e);return null!==n&&void 0!==n?n:null}.bind(this))}function r(t,e){try{var n=this.props,o=this.state;this.props=t,this.state=e,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,o)}finally{this.props=n,this.state=o}}function a(t){var e=t.prototype;if(!e||!e.isReactComponent)throw new Error("Can only polyfill class components");if("function"!==typeof t.getDerivedStateFromProps&&"function"!==typeof e.getSnapshotBeforeUpdate)return t;var n=null,a=null,s=null;if("function"===typeof e.componentWillMount?n="componentWillMount":"function"===typeof e.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"===typeof e.componentWillReceiveProps?a="componentWillReceiveProps":"function"===typeof e.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"===typeof e.componentWillUpdate?s="componentWillUpdate":"function"===typeof e.UNSAFE_componentWillUpdate&&(s="UNSAFE_componentWillUpdate"),null!==n||null!==a||null!==s){var l=t.displayName||t.name,c="function"===typeof t.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+l+" uses "+c+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==a?"\n "+a:"")+(null!==s?"\n "+s:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"===typeof t.getDerivedStateFromProps&&(e.componentWillMount=o,e.componentWillReceiveProps=i),"function"===typeof e.getSnapshotBeforeUpdate){if("function"!==typeof e.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");e.componentWillUpdate=r;var u=e.componentDidUpdate;e.componentDidUpdate=function(t,e,n){var o=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;u.call(this,t,e,o)}}return t}n.r(e),n.d(e,{polyfill:function(){return a}}),o.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0,r.__suppressDeprecationWarning=!0},3304:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.bodyOpenClassName=e.portalClassName=void 0;var o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),r=n(7313),a=h(r),s=h(n(1168)),l=h(n(5192)),c=h(n(8684)),u=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(3745)),d=n(6166),f=h(d),p=n(5886);function h(t){return t&&t.__esModule?t:{default:t}}function m(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}var g=e.portalClassName="ReactModalPortal",y=e.bodyOpenClassName="ReactModal__Body--open",b=d.canUseDOM&&void 0!==s.default.createPortal,x=function(t){return document.createElement(t)},E=function(){return b?s.default.createPortal:s.default.unstable_renderSubtreeIntoContainer};function w(t){return t()}var O=function(t){function e(){var t,n,i;m(this,e);for(var r=arguments.length,l=Array(r),u=0;u<r;u++)l[u]=arguments[u];return n=i=v(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(l))),i.removePortal=function(){!b&&s.default.unmountComponentAtNode(i.node);var t=w(i.props.parentSelector);t&&t.contains(i.node)?t.removeChild(i.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},i.portalRef=function(t){i.portal=t},i.renderPortal=function(t){var n=E()(i,a.default.createElement(c.default,o({defaultStyles:e.defaultStyles},t)),i.node);i.portalRef(n)},v(i,n)}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),i(e,[{key:"componentDidMount",value:function(){d.canUseDOM&&(b||(this.node=x("div")),this.node.className=this.props.portalClassName,w(this.props.parentSelector).appendChild(this.node),!b&&this.renderPortal(this.props))}},{key:"getSnapshotBeforeUpdate",value:function(t){return{prevParent:w(t.parentSelector),nextParent:w(this.props.parentSelector)}}},{key:"componentDidUpdate",value:function(t,e,n){if(d.canUseDOM){var o=this.props,i=o.isOpen,r=o.portalClassName;t.portalClassName!==r&&(this.node.className=r);var a=n.prevParent,s=n.nextParent;s!==a&&(a.removeChild(this.node),s.appendChild(this.node)),(t.isOpen||i)&&!b&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(d.canUseDOM&&this.node&&this.portal){var t=this.portal.state,e=Date.now(),n=t.isOpen&&this.props.closeTimeoutMS&&(t.closesAt||e+this.props.closeTimeoutMS);n?(t.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,n-e)):this.removePortal()}}},{key:"render",value:function(){return d.canUseDOM&&b?(!this.node&&b&&(this.node=x("div")),E()(a.default.createElement(c.default,o({ref:this.portalRef,defaultStyles:e.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(t){u.setElement(t)}}]),e}(r.Component);O.propTypes={isOpen:l.default.bool.isRequired,style:l.default.shape({content:l.default.object,overlay:l.default.object}),portalClassName:l.default.string,bodyOpenClassName:l.default.string,htmlOpenClassName:l.default.string,className:l.default.oneOfType([l.default.string,l.default.shape({base:l.default.string.isRequired,afterOpen:l.default.string.isRequired,beforeClose:l.default.string.isRequired})]),overlayClassName:l.default.oneOfType([l.default.string,l.default.shape({base:l.default.string.isRequired,afterOpen:l.default.string.isRequired,beforeClose:l.default.string.isRequired})]),appElement:l.default.oneOfType([l.default.instanceOf(f.default),l.default.instanceOf(d.SafeHTMLCollection),l.default.instanceOf(d.SafeNodeList),l.default.arrayOf(l.default.instanceOf(f.default))]),onAfterOpen:l.default.func,onRequestClose:l.default.func,closeTimeoutMS:l.default.number,ariaHideApp:l.default.bool,shouldFocusAfterRender:l.default.bool,shouldCloseOnOverlayClick:l.default.bool,shouldReturnFocusAfterClose:l.default.bool,preventScroll:l.default.bool,parentSelector:l.default.func,aria:l.default.object,data:l.default.object,role:l.default.string,contentLabel:l.default.string,shouldCloseOnEsc:l.default.bool,overlayRef:l.default.func,contentRef:l.default.func,id:l.default.string,overlayElement:l.default.func,contentElement:l.default.func},O.defaultProps={isOpen:!1,portalClassName:g,bodyOpenClassName:y,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(t,e){return a.default.createElement("div",t,e)},contentElement:function(t,e){return a.default.createElement("div",t,e)}},O.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},(0,p.polyfill)(O),e.default=O},8684:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),a=n(7313),s=v(n(5192)),l=m(n(5018)),c=v(n(8208)),u=m(n(3745)),d=m(n(4606)),f=n(6166),p=v(f),h=v(n(1970));function m(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function v(t){return t&&t.__esModule?t:{default:t}}n(9080);var g={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},y=0,b=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.setOverlayRef=function(t){n.overlay=t,n.props.overlayRef&&n.props.overlayRef(t)},n.setContentRef=function(t){n.content=t,n.props.contentRef&&n.props.contentRef(t)},n.afterClose=function(){var t=n.props,e=t.appElement,o=t.ariaHideApp,i=t.htmlOpenClassName,r=t.bodyOpenClassName;r&&d.remove(document.body,r),i&&d.remove(document.getElementsByTagName("html")[0],i),o&&y>0&&0===(y-=1)&&u.show(e),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(l.returnFocus(n.props.preventScroll),l.teardownScopedFocus()):l.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),h.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(l.setupScopedFocus(n.node),l.markForFocusLater()),n.setState({isOpen:!0},(function(){n.openAnimationFrame=requestAnimationFrame((function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})}))})))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus({preventScroll:!0})},n.closeWithTimeout=function(){var t=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:t},(function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())}))},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(t){9===t.keyCode&&(0,c.default)(n.content,t),n.props.shouldCloseOnEsc&&27===t.keyCode&&(t.stopPropagation(),n.requestClose(t))},n.handleOverlayOnClick=function(t){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(t):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(t){n.props.shouldCloseOnOverlayClick||t.target!=n.overlay||t.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(t){return n.ownerHandlesClose()&&n.props.onRequestClose(t)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(t,e){var o="object"===("undefined"===typeof e?"undefined":i(e))?e:{base:g[t],afterOpen:g[t]+"--after-open",beforeClose:g[t]+"--before-close"},r=o.base;return n.state.afterOpen&&(r=r+" "+o.afterOpen),n.state.beforeClose&&(r=r+" "+o.beforeClose),"string"===typeof e&&e?r+" "+e:r},n.attributesFromObject=function(t,e){return Object.keys(e).reduce((function(n,o){return n[t+"-"+o]=e[o],n}),{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(t,e){this.props.isOpen&&!t.isOpen?this.open():!this.props.isOpen&&t.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!e.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var t=this.props,e=t.appElement,n=t.ariaHideApp,o=t.htmlOpenClassName,i=t.bodyOpenClassName;i&&d.add(document.body,i),o&&d.add(document.getElementsByTagName("html")[0],o),n&&(y+=1,u.hide(e)),h.default.register(this)}},{key:"render",value:function(){var t=this.props,e=t.id,n=t.className,i=t.overlayClassName,r=t.defaultStyles,a=t.children,s=n?{}:r.content,l=i?{}:r.overlay;if(this.shouldBeClosed())return null;var c={ref:this.setOverlayRef,className:this.buildClassName("overlay",i),style:o({},l,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},u=o({id:e,ref:this.setContentRef,style:o({},s,this.props.style.content),className:this.buildClassName("content",n),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",o({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),d=this.props.contentElement(u,a);return this.props.overlayElement(c,d)}}]),e}(a.Component);b.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},b.propTypes={isOpen:s.default.bool.isRequired,defaultStyles:s.default.shape({content:s.default.object,overlay:s.default.object}),style:s.default.shape({content:s.default.object,overlay:s.default.object}),className:s.default.oneOfType([s.default.string,s.default.object]),overlayClassName:s.default.oneOfType([s.default.string,s.default.object]),bodyOpenClassName:s.default.string,htmlOpenClassName:s.default.string,ariaHideApp:s.default.bool,appElement:s.default.oneOfType([s.default.instanceOf(p.default),s.default.instanceOf(f.SafeHTMLCollection),s.default.instanceOf(f.SafeNodeList),s.default.arrayOf(s.default.instanceOf(p.default))]),onAfterOpen:s.default.func,onAfterClose:s.default.func,onRequestClose:s.default.func,closeTimeoutMS:s.default.number,shouldFocusAfterRender:s.default.bool,shouldCloseOnOverlayClick:s.default.bool,shouldReturnFocusAfterClose:s.default.bool,preventScroll:s.default.bool,role:s.default.string,contentLabel:s.default.string,aria:s.default.object,data:s.default.object,children:s.default.node,shouldCloseOnEsc:s.default.bool,overlayRef:s.default.func,contentRef:s.default.func,id:s.default.string,overlayElement:s.default.func,contentElement:s.default.func,testId:s.default.string},e.default=b,t.exports=e.default},3745:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.resetState=function(){s&&(s.removeAttribute?s.removeAttribute("aria-hidden"):null!=s.length?s.forEach((function(t){return t.removeAttribute("aria-hidden")})):document.querySelectorAll(s).forEach((function(t){return t.removeAttribute("aria-hidden")})));s=null},e.log=function(){0},e.assertNodeList=l,e.setElement=function(t){var e=t;if("string"===typeof e&&a.canUseDOM){var n=document.querySelectorAll(e);l(n,e),e=n}return s=e||s},e.validateElement=c,e.hide=function(t){var e=!0,n=!1,o=void 0;try{for(var i,r=c(t)[Symbol.iterator]();!(e=(i=r.next()).done);e=!0){i.value.setAttribute("aria-hidden","true")}}catch(a){n=!0,o=a}finally{try{!e&&r.return&&r.return()}finally{if(n)throw o}}},e.show=function(t){var e=!0,n=!1,o=void 0;try{for(var i,r=c(t)[Symbol.iterator]();!(e=(i=r.next()).done);e=!0){i.value.removeAttribute("aria-hidden")}}catch(a){n=!0,o=a}finally{try{!e&&r.return&&r.return()}finally{if(n)throw o}}},e.documentNotReadyOrSSRTesting=function(){s=null};var o,i=n(1024),r=(o=i)&&o.__esModule?o:{default:o},a=n(6166);var s=null;function l(t,e){if(!t||!t.length)throw new Error("react-modal: No elements were found for selector "+e+".")}function c(t){var e=t||s;return e?Array.isArray(e)||e instanceof HTMLCollection||e instanceof NodeList?e:[e]:((0,r.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}},9080:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.resetState=function(){for(var t=[a,s],e=0;e<t.length;e++){var n=t[e];n&&(n.parentNode&&n.parentNode.removeChild(n))}a=s=null,l=[]},e.log=function(){console.log("bodyTrap ----------"),console.log(l.length);for(var t=[a,s],e=0;e<t.length;e++){var n=t[e]||{};console.log(n.nodeName,n.className,n.id)}console.log("edn bodyTrap ----------")};var o,i=n(1970),r=(o=i)&&o.__esModule?o:{default:o};var a=void 0,s=void 0,l=[];function c(){0!==l.length&&l[l.length-1].focusContent()}r.default.subscribe((function(t,e){a||s||((a=document.createElement("div")).setAttribute("data-react-modal-body-trap",""),a.style.position="absolute",a.style.opacity="0",a.setAttribute("tabindex","0"),a.addEventListener("focus",c),(s=a.cloneNode()).addEventListener("focus",c)),(l=e).length>0?(document.body.firstChild!==a&&document.body.insertBefore(a,document.body.firstChild),document.body.lastChild!==s&&document.body.appendChild(s)):(a.parentElement&&a.parentElement.removeChild(a),s.parentElement&&s.parentElement.removeChild(s))}))},4606:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.resetState=function(){var t=document.getElementsByTagName("html")[0];for(var e in n)i(t,n[e]);var r=document.body;for(var a in o)i(r,o[a]);n={},o={}},e.log=function(){0};var n={},o={};function i(t,e){t.classList.remove(e)}e.add=function(t,e){return i=t.classList,r="html"==t.nodeName.toLowerCase()?n:o,void e.split(" ").forEach((function(t){!function(t,e){t[e]||(t[e]=0),t[e]+=1}(r,t),i.add(t)}));var i,r},e.remove=function(t,e){return i=t.classList,r="html"==t.nodeName.toLowerCase()?n:o,void e.split(" ").forEach((function(t){!function(t,e){t[e]&&(t[e]-=1)}(r,t),0===r[t]&&i.remove(t)}));var i,r}},5018:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.resetState=function(){a=[]},e.log=function(){0},e.handleBlur=c,e.handleFocus=u,e.markForFocusLater=function(){a.push(document.activeElement)},e.returnFocus=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=null;try{return void(0!==a.length&&(e=a.pop()).focus({preventScroll:t}))}catch(n){console.warn(["You tried to return focus to",e,"but it is not in the DOM anymore"].join(" "))}},e.popWithoutFocus=function(){a.length>0&&a.pop()},e.setupScopedFocus=function(t){s=t,window.addEventListener?(window.addEventListener("blur",c,!1),document.addEventListener("focus",u,!0)):(window.attachEvent("onBlur",c),document.attachEvent("onFocus",u))},e.teardownScopedFocus=function(){s=null,window.addEventListener?(window.removeEventListener("blur",c),document.removeEventListener("focus",u)):(window.detachEvent("onBlur",c),document.detachEvent("onFocus",u))};var o,i=n(3980),r=(o=i)&&o.__esModule?o:{default:o};var a=[],s=null,l=!1;function c(){l=!0}function u(){if(l){if(l=!1,!s)return;setTimeout((function(){s.contains(document.activeElement)||((0,r.default)(s)[0]||s).focus()}),0)}}},1970:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.log=function(){console.log("portalOpenInstances ----------"),console.log(o.openInstances.length),o.openInstances.forEach((function(t){return console.log(t)})),console.log("end portalOpenInstances ----------")},e.resetState=function(){o=new n};var n=function t(){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.register=function(t){-1===e.openInstances.indexOf(t)&&(e.openInstances.push(t),e.emit("register"))},this.deregister=function(t){var n=e.openInstances.indexOf(t);-1!==n&&(e.openInstances.splice(n,1),e.emit("deregister"))},this.subscribe=function(t){e.subscribers.push(t)},this.emit=function(t){e.subscribers.forEach((function(n){return n(t,e.openInstances.slice())}))},this.openInstances=[],this.subscribers=[]},o=new n;e.default=o},6166:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.canUseDOM=e.SafeNodeList=e.SafeHTMLCollection=void 0;var o,i=n(5538);var r=((o=i)&&o.__esModule?o:{default:o}).default,a=r.canUseDOM?window.HTMLElement:{};e.SafeHTMLCollection=r.canUseDOM?window.HTMLCollection:{},e.SafeNodeList=r.canUseDOM?window.NodeList:{},e.canUseDOM=r.canUseDOM;e.default=a},8208:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var n=(0,r.default)(t);if(!n.length)return void e.preventDefault();var o=void 0,i=e.shiftKey,s=n[0],l=n[n.length-1],c=a();if(t===c){if(!i)return;o=l}l!==c||i||(o=s);s===c&&i&&(o=l);if(o)return e.preventDefault(),void o.focus();var u=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null==u||"Chrome"==u[1]||null!=/\biPod\b|\biPad\b/g.exec(navigator.userAgent))return;var d=n.indexOf(c);d>-1&&(d+=i?-1:1);if("undefined"===typeof(o=n[d]))return e.preventDefault(),void(o=i?l:s).focus();e.preventDefault(),o.focus()};var o,i=n(3980),r=(o=i)&&o.__esModule?o:{default:o};function a(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return t.activeElement.shadowRoot?a(t.activeElement.shadowRoot):t.activeElement}t.exports=e.default},3980:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function t(e){var n=[].slice.call(e.querySelectorAll("*"),0).reduce((function(e,n){return e.concat(n.shadowRoot?t(n.shadowRoot):[n])}),[]);return n.filter(r)};var n=/input|select|textarea|button|object|iframe/;function o(t){var e=t.offsetWidth<=0&&t.offsetHeight<=0;if(e&&!t.innerHTML)return!0;try{var n=window.getComputedStyle(t);return e?"visible"!==n.getPropertyValue("overflow")||t.scrollWidth<=0&&t.scrollHeight<=0:"none"==n.getPropertyValue("display")}catch(o){return console.warn("Failed to inspect element style"),!1}}function i(t,e){var i=t.nodeName.toLowerCase();return(n.test(i)&&!t.disabled||"a"===i&&t.href||e)&&function(t){for(var e=t,n=t.getRootNode&&t.getRootNode();e&&e!==document.body;){if(n&&e===n&&(e=n.host.parentNode),o(e))return!1;e=e.parentNode}return!0}(t)}function r(t){var e=t.getAttribute("tabindex");null===e&&(e=void 0);var n=isNaN(e);return(n||e>=0)&&i(t,!n)}t.exports=e.default},9284:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o,i=n(3304),r=(o=i)&&o.__esModule?o:{default:o};e.default=r.default,t.exports=e.default},5173:function(t,e,n){"use strict";n.d(e,{Z:function(){return I}});var o=n(6797),i=n(7313),r="right-scroll-bar-position",a="width-before-scroll-bar";function s(t,e){return function(t,e){var n=(0,i.useState)((function(){return{value:t,callback:e,facade:{get current(){return n.value},set current(t){var e=n.value;e!==t&&(n.value=t,n.callback(t,e))}}}}))[0];return n.callback=e,n.facade}(e||null,(function(e){return t.forEach((function(t){return function(t,e){return"function"===typeof t?t(e):t&&(t.current=e),t}(t,e)}))}))}function l(t){return t}function c(t,e){void 0===e&&(e=l);var n=[],o=!1;return{read:function(){if(o)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:t},useMedium:function(t){var i=e(t,o);return n.push(i),function(){n=n.filter((function(t){return t!==i}))}},assignSyncMedium:function(t){for(o=!0;n.length;){var e=n;n=[],e.forEach(t)}n={push:function(e){return t(e)},filter:function(){return n}}},assignMedium:function(t){o=!0;var e=[];if(n.length){var i=n;n=[],i.forEach(t),e=n}var r=function(){var n=e;e=[],n.forEach(t)},a=function(){return Promise.resolve().then(r)};a(),n={push:function(t){e.push(t),a()},filter:function(t){return e=e.filter(t),n}}}}}var u=function(t){void 0===t&&(t={});var e=c(null);return e.options=(0,o.pi)({async:!0,ssr:!1},t),e}(),d=function(){},f=i.forwardRef((function(t,e){var n=i.useRef(null),r=i.useState({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:d}),a=r[0],l=r[1],c=t.forwardProps,f=t.children,p=t.className,h=t.removeScrollBar,m=t.enabled,v=t.shards,g=t.sideCar,y=t.noIsolation,b=t.inert,x=t.allowPinchZoom,E=t.as,w=void 0===E?"div":E,O=(0,o._T)(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),C=g,S=s([n,e]),P=(0,o.pi)((0,o.pi)({},O),a);return i.createElement(i.Fragment,null,m&&i.createElement(C,{sideCar:u,removeScrollBar:h,shards:v,noIsolation:y,inert:b,setCallbacks:l,allowPinchZoom:!!x,lockRef:n}),c?i.cloneElement(i.Children.only(f),(0,o.pi)((0,o.pi)({},P),{ref:S})):i.createElement(w,(0,o.pi)({},P,{className:p,ref:S}),f))}));f.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},f.classNames={fullWidth:a,zeroRight:r};var p,h=function(t){var e=t.sideCar,n=(0,o._T)(t,["sideCar"]);if(!e)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=e.read();if(!r)throw new Error("Sidecar medium not found");return i.createElement(r,(0,o.pi)({},n))};h.isSideCarExport=!0;function m(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var e=p||n.nc;return e&&t.setAttribute("nonce",e),t}var v=function(){var t=0,e=null;return{add:function(n){var o,i;0==t&&(e=m())&&(i=n,(o=e).styleSheet?o.styleSheet.cssText=i:o.appendChild(document.createTextNode(i)),function(t){(document.head||document.getElementsByTagName("head")[0]).appendChild(t)}(e)),t++},remove:function(){!--t&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}},g=function(){var t=function(){var t=v();return function(e,n){i.useEffect((function(){return t.add(e),function(){t.remove()}}),[e&&n])}}();return function(e){var n=e.styles,o=e.dynamic;return t(n,o),null}},y={left:0,top:0,right:0,gap:0},b=function(t){return parseInt(t||"",10)||0},x=function(t){if(void 0===t&&(t="margin"),"undefined"===typeof window)return y;var e=function(t){var e=window.getComputedStyle(document.body),n=e["padding"===t?"paddingLeft":"marginLeft"],o=e["padding"===t?"paddingTop":"marginTop"],i=e["padding"===t?"paddingRight":"marginRight"];return[b(n),b(o),b(i)]}(t),n=document.documentElement.clientWidth,o=window.innerWidth;return{left:e[0],top:e[1],right:e[2],gap:Math.max(0,o-n+e[2]-e[0])}},E=g(),w=function(t,e,n,o){var i=t.left,s=t.top,l=t.right,c=t.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(o,";\n padding-right: ").concat(c,"px ").concat(o,";\n }\n body {\n overflow: hidden ").concat(o,";\n overscroll-behavior: contain;\n ").concat([e&&"position: relative ".concat(o,";"),"margin"===n&&"\n padding-left: ".concat(i,"px;\n padding-top: ").concat(s,"px;\n padding-right: ").concat(l,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(c,"px ").concat(o,";\n "),"padding"===n&&"padding-right: ".concat(c,"px ").concat(o,";")].filter(Boolean).join(""),"\n }\n \n .").concat(r," {\n right: ").concat(c,"px ").concat(o,";\n }\n \n .").concat(a," {\n margin-right: ").concat(c,"px ").concat(o,";\n }\n \n .").concat(r," .").concat(r," {\n right: 0 ").concat(o,";\n }\n \n .").concat(a," .").concat(a," {\n margin-right: 0 ").concat(o,";\n }\n \n body {\n ").concat("--removed-body-scroll-bar-size",": ").concat(c,"px;\n }\n")},O=function(t){var e=t.noRelative,n=t.noImportant,o=t.gapMode,r=void 0===o?"margin":o,a=i.useMemo((function(){return x(r)}),[r]);return i.createElement(E,{styles:w(a,!e,r,n?"":"!important")})},C=!1;if("undefined"!==typeof window)try{var S=Object.defineProperty({},"passive",{get:function(){return C=!0,!0}});window.addEventListener("test",S,S),window.removeEventListener("test",S,S)}catch(_){C=!1}var P=!!C&&{passive:!1},T=function(t,e){var n=window.getComputedStyle(t);return"hidden"!==n[e]&&!(n.overflowY===n.overflowX&&!function(t){return"TEXTAREA"===t.tagName}(t)&&"visible"===n[e])},A=function(t,e){var n=e;do{if("undefined"!==typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),j(t,n)){var o=M(t,n);if(o[1]>o[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},j=function(t,e){return"v"===t?function(t){return T(t,"overflowY")}(e):function(t){return T(t,"overflowX")}(e)},M=function(t,e){return"v"===t?[(n=e).scrollTop,n.scrollHeight,n.clientHeight]:function(t){return[t.scrollLeft,t.scrollWidth,t.clientWidth]}(e);var n},R=function(t){return"changedTouches"in t?[t.changedTouches[0].clientX,t.changedTouches[0].clientY]:[0,0]},L=function(t){return[t.deltaX,t.deltaY]},V=function(t){return t&&"current"in t?t.current:t},k=function(t){return"\n .block-interactivity-".concat(t," {pointer-events: none;}\n .allow-interactivity-").concat(t," {pointer-events: all;}\n")},D=0,N=[];var F,U=(F=function(t){var e=i.useRef([]),n=i.useRef([0,0]),r=i.useRef(),a=i.useState(D++)[0],s=i.useState((function(){return g()}))[0],l=i.useRef(t);i.useEffect((function(){l.current=t}),[t]),i.useEffect((function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(a));var e=(0,o.ev)([t.lockRef.current],(t.shards||[]).map(V),!0).filter(Boolean);return e.forEach((function(t){return t.classList.add("allow-interactivity-".concat(a))})),function(){document.body.classList.remove("block-interactivity-".concat(a)),e.forEach((function(t){return t.classList.remove("allow-interactivity-".concat(a))}))}}}),[t.inert,t.lockRef.current,t.shards]);var c=i.useCallback((function(t,e){if("touches"in t&&2===t.touches.length)return!l.current.allowPinchZoom;var o,i=R(t),a=n.current,s="deltaX"in t?t.deltaX:a[0]-i[0],c="deltaY"in t?t.deltaY:a[1]-i[1],u=t.target,d=Math.abs(s)>Math.abs(c)?"h":"v";if("touches"in t&&"h"===d&&"range"===u.type)return!1;var f=A(d,u);if(!f)return!0;if(f?o=d:(o="v"===d?"h":"v",f=A(d,u)),!f)return!1;if(!r.current&&"changedTouches"in t&&(s||c)&&(r.current=o),!o)return!0;var p=r.current||o;return function(t,e,n,o,i){var r=function(t,e){return"h"===t&&"rtl"===e?-1:1}(t,window.getComputedStyle(e).direction),a=r*o,s=n.target,l=e.contains(s),c=!1,u=a>0,d=0,f=0;do{var p=M(t,s),h=p[0],m=p[1]-p[2]-r*h;(h||m)&&j(t,s)&&(d+=m,f+=h),s=s.parentNode}while(!l&&s!==document.body||l&&(e.contains(s)||e===s));return(u&&(i&&0===d||!i&&a>d)||!u&&(i&&0===f||!i&&-a>f))&&(c=!0),c}(p,e,t,"h"===p?s:c,!0)}),[]),u=i.useCallback((function(t){var n=t;if(N.length&&N[N.length-1]===s){var o="deltaY"in n?L(n):R(n),i=e.current.filter((function(t){return t.name===n.type&&t.target===n.target&&(e=t.delta,i=o,e[0]===i[0]&&e[1]===i[1]);var e,i}))[0];if(i&&i.should)n.cancelable&&n.preventDefault();else if(!i){var r=(l.current.shards||[]).map(V).filter(Boolean).filter((function(t){return t.contains(n.target)}));(r.length>0?c(n,r[0]):!l.current.noIsolation)&&n.cancelable&&n.preventDefault()}}}),[]),d=i.useCallback((function(t,n,o,i){var r={name:t,delta:n,target:o,should:i};e.current.push(r),setTimeout((function(){e.current=e.current.filter((function(t){return t!==r}))}),1)}),[]),f=i.useCallback((function(t){n.current=R(t),r.current=void 0}),[]),p=i.useCallback((function(e){d(e.type,L(e),e.target,c(e,t.lockRef.current))}),[]),h=i.useCallback((function(e){d(e.type,R(e),e.target,c(e,t.lockRef.current))}),[]);i.useEffect((function(){return N.push(s),t.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:h}),document.addEventListener("wheel",u,P),document.addEventListener("touchmove",u,P),document.addEventListener("touchstart",f,P),function(){N=N.filter((function(t){return t!==s})),document.removeEventListener("wheel",u,P),document.removeEventListener("touchmove",u,P),document.removeEventListener("touchstart",f,P)}}),[]);var m=t.removeScrollBar,v=t.inert;return i.createElement(i.Fragment,null,v?i.createElement(s,{styles:k(a)}):null,m?i.createElement(O,{gapMode:"margin"}):null)},u.useMedium(F),h),B=i.forwardRef((function(t,e){return i.createElement(f,(0,o.pi)({},t,{ref:e,sideCar:U}))}));B.classNames=f.classNames;var I=B},6797:function(t,e,n){"use strict";n.d(e,{_T:function(){return i},ev:function(){return r},pi:function(){return o}});var o=function(){return o=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},o.apply(this,arguments)};function i(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(t);i<o.length;i++)e.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(t,o[i])&&(n[o[i]]=t[o[i]])}return n}Object.create;function r(t,e,n){if(n||2===arguments.length)for(var o,i=0,r=e.length;i<r;i++)!o&&i in e||(o||(o=Array.prototype.slice.call(e,0,i)),o[i]=e[i]);return t.concat(o||Array.prototype.slice.call(e))}Object.create},1024:function(t){"use strict";var e=function(){};t.exports=e},2492:function(t,e,n){"use strict";n.d(e,{p:function(){return o}});const o=(0,n(7313).createContext)({})},9806:function(t,e,n){"use strict";n.d(e,{O:function(){return o}});const o=(0,n(7313).createContext)(null)},3429:function(t,e,n){"use strict";n.d(e,{E:function(){return ka}});var o=n(7313),i=n(1984);const r=t=>({isEnabled:e=>t.some((t=>!!e[t]))}),a={measureLayout:r(["layout","layoutId","drag"]),animation:r(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:r(["exit"]),drag:r(["drag","dragControls"]),focus:r(["whileFocus"]),hover:r(["whileHover","onHoverStart","onHoverEnd"]),tap:r(["whileTap","onTap","onTapStart","onTapCancel"]),pan:r(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:r(["whileInView","onViewportEnter","onViewportLeave"])};const s=(0,o.createContext)({strict:!1}),l=Object.keys(a),c=l.length;const u=(0,o.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),d=(0,o.createContext)({});var f=n(9806),p=n(700),h=n(8207);const m={current:null};let v=!1;function g(){!v&&function(){if(v=!0,h.j)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>m.current=t.matches;t.addListener(e),e()}else m.current=!1}();const[t]=(0,o.useState)(m.current);return t}function y(t,e,n,i){const r=(0,o.useContext)(s),a=(0,o.useContext)(d).visualElement,l=(0,o.useContext)(f.O),c=function(){const t=g(),{reducedMotion:e}=(0,o.useContext)(u);return"never"!==e&&("always"===e||t)}(),h=(0,o.useRef)(void 0);i||(i=r.renderer),!h.current&&i&&(h.current=i(t,{visualState:e,parent:a,props:n,presenceId:null===l||void 0===l?void 0:l.id,blockInitialAnimation:!1===(null===l||void 0===l?void 0:l.initial),shouldReduceMotion:c}));const m=h.current;return(0,p.L)((()=>{null===m||void 0===m||m.syncRender()})),(0,o.useEffect)((()=>{var t;null===(t=null===m||void 0===m?void 0:m.animationState)||void 0===t||t.animateChanges()})),(0,p.L)((()=>()=>null===m||void 0===m?void 0:m.notifyUnmount()),[]),m}function b(t){return"object"===typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function x(t){return Array.isArray(t)}function E(t){return"string"===typeof t||x(t)}function w(t,e,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};var r;return"function"===typeof e&&(e=e(null!==n&&void 0!==n?n:t.custom,o,i)),"string"===typeof e&&(e=null===(r=t.variants)||void 0===r?void 0:r[e]),"function"===typeof e&&(e=e(null!==n&&void 0!==n?n:t.custom,o,i)),e}function O(t,e,n){const o=t.getProps();return w(o,e,null!==n&&void 0!==n?n:o.custom,function(t){const e={};return t.forEachValue(((t,n)=>e[n]=t.get())),e}(t),function(t){const e={};return t.forEachValue(((t,n)=>e[n]=t.getVelocity())),e}(t))}function C(t){var e;return"function"===typeof(null===(e=t.animate)||void 0===e?void 0:e.start)||E(t.initial)||E(t.animate)||E(t.whileHover)||E(t.whileDrag)||E(t.whileTap)||E(t.whileFocus)||E(t.exit)}function S(t){return Boolean(C(t)||t.variants)}function P(t){const{initial:e,animate:n}=function(t,e){if(C(t)){const{initial:e,animate:n}=t;return{initial:!1===e||E(e)?e:void 0,animate:E(n)?n:void 0}}return!1!==t.inherit?e:{}}(t,(0,o.useContext)(d));return(0,o.useMemo)((()=>({initial:e,animate:n})),[T(e),T(n)])}function T(t){return Array.isArray(t)?t.join(" "):t}var A=n(8998);const j={hasAnimatedSinceResize:!0,hasEverUpdated:!1};let M=1;var R=n(2492);const L=(0,o.createContext)({});class V extends o.Component{getSnapshotBeforeUpdate(){return this.updateProps(),null}componentDidUpdate(){}updateProps(){const{visualElement:t,props:e}=this.props;t&&t.setProps(e)}render(){return this.props.children}}function k(t){let{preloadedFeatures:e,createVisualElement:n,projectionNodeConstructor:r,useRender:f,useVisualState:p,Component:m}=t;return e&&function(t){for(const e in t)null!==t[e]&&("projectionNodeConstructor"===e?a.projectionNodeConstructor=t[e]:a[e].Component=t[e])}(e),(0,o.forwardRef)((function(t,v){const g=function(t){let{layoutId:e}=t;var n;const i=null===(n=(0,o.useContext)(R.p))||void 0===n?void 0:n.id;return i&&void 0!==e?i+"-"+e:e}(t);t=Object.assign(Object.assign({},t),{layoutId:g});const x=(0,o.useContext)(u);let E=null;const w=P(t),O=x.isStatic?void 0:(0,A.h)((()=>{if(j.hasEverUpdated)return M++})),C=p(t,x.isStatic);return!x.isStatic&&h.j&&(w.visualElement=y(m,C,Object.assign(Object.assign({},x),t),n),function(t,e,n,i){let{layoutId:r,layout:a,drag:s,dragConstraints:l,layoutScroll:c}=e;var u;const d=(0,o.useContext)(L);i&&n&&!(null===n||void 0===n?void 0:n.projection)&&(n.projection=new i(t,n.getLatestValues(),null===(u=n.parent)||void 0===u?void 0:u.projection),n.projection.setOptions({layoutId:r,layout:a,alwaysMeasureLayout:Boolean(s)||l&&b(l),visualElement:n,scheduleRender:()=>n.scheduleRender(),animationType:"string"===typeof a?a:"both",initialPromotionConfig:d,layoutScroll:c}))}(O,t,w.visualElement,r||a.projectionNodeConstructor),E=function(t,e,n){const r=[],u=(0,o.useContext)(s);if(!e)return null;"production"!==i.O&&n&&u.strict;for(let i=0;i<c;i++){const n=l[i],{isEnabled:s,Component:c}=a[n];s(t)&&c&&r.push(o.createElement(c,Object.assign({key:n},t,{visualElement:e})))}return r}(t,w.visualElement,e)),o.createElement(V,{visualElement:w.visualElement,props:Object.assign(Object.assign({},x),t)},E,o.createElement(d.Provider,{value:w},f(m,t,O,function(t,e,n){return(0,o.useCallback)((o=>{var i;o&&(null===(i=t.mount)||void 0===i||i.call(t,o)),e&&(o?e.mount(o):e.unmount()),n&&("function"===typeof n?n(o):b(n)&&(n.current=o))}),[e])}(C,w.visualElement,v),C,x.isStatic,w.visualElement)))}))}function D(t){function e(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return k(t(e,n))}if("undefined"===typeof Proxy)return e;const n=new Map;return new Proxy(e,{get:(t,o)=>(n.has(o)||n.set(o,e(o)),n.get(o))})}const N=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function F(t){return"string"===typeof t&&!t.includes("-")&&!!(N.indexOf(t)>-1||/[A-Z]/.test(t))}const U={};const B=["","X","Y","Z"],I=["transformPerspective","x","y","z"];function _(t,e){return I.indexOf(t)-I.indexOf(e)}["translate","scale","rotate","skew"].forEach((t=>B.forEach((e=>I.push(t+e)))));const z=new Set(I);function H(t){return z.has(t)}const W=new Set(["originX","originY","originZ"]);function Z(t){return W.has(t)}function $(t,e){let{layout:n,layoutId:o}=e;return H(t)||Z(t)||(n||void 0!==o)&&(!!U[t]||"opacity"===t)}const Y=t=>Boolean(null!==t&&"object"===typeof t&&t.getVelocity),q={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function X(t){return t.startsWith("--")}const G=(t,e)=>e&&"number"===typeof t?e.transform(t):t,K=(t,e)=>n=>Math.max(Math.min(n,e),t),J=t=>t%1?Number(t.toFixed(5)):t,Q=/(-)?([\d]*\.?[\d])+/g,tt=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,et=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function nt(t){return"string"===typeof t}const ot=t=>({test:e=>nt(e)&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),it=ot("deg"),rt=ot("%"),at=ot("px"),st=ot("vh"),lt=ot("vw"),ct=Object.assign(Object.assign({},rt),{parse:t=>rt.parse(t)/100,transform:t=>rt.transform(100*t)}),ut={test:t=>"number"===typeof t,parse:parseFloat,transform:t=>t},dt=Object.assign(Object.assign({},ut),{transform:K(0,1)}),ft=Object.assign(Object.assign({},ut),{default:1}),pt=Object.assign(Object.assign({},ut),{transform:Math.round}),ht={borderWidth:at,borderTopWidth:at,borderRightWidth:at,borderBottomWidth:at,borderLeftWidth:at,borderRadius:at,radius:at,borderTopLeftRadius:at,borderTopRightRadius:at,borderBottomRightRadius:at,borderBottomLeftRadius:at,width:at,maxWidth:at,height:at,maxHeight:at,size:at,top:at,right:at,bottom:at,left:at,padding:at,paddingTop:at,paddingRight:at,paddingBottom:at,paddingLeft:at,margin:at,marginTop:at,marginRight:at,marginBottom:at,marginLeft:at,rotate:it,rotateX:it,rotateY:it,rotateZ:it,scale:ft,scaleX:ft,scaleY:ft,scaleZ:ft,skew:it,skewX:it,skewY:it,distance:at,translateX:at,translateY:at,translateZ:at,x:at,y:at,z:at,perspective:at,transformPerspective:at,opacity:dt,originX:ct,originY:ct,originZ:at,zIndex:pt,fillOpacity:dt,strokeOpacity:dt,numOctaves:pt};function mt(t,e,n,o){var i;const{style:r,vars:a,transform:s,transformKeys:l,transformOrigin:c}=t;l.length=0;let u=!1,d=!1,f=!0;for(const p in e){const t=e[p];if(X(p)){a[p]=t;continue}const n=ht[p],o=G(t,n);if(H(p)){if(u=!0,s[p]=o,l.push(p),!f)continue;t!==(null!==(i=n.default)&&void 0!==i?i:0)&&(f=!1)}else Z(p)?(c[p]=o,d=!0):r[p]=o}u?r.transform=function(t,e,n,o){let{transform:i,transformKeys:r}=t,{enableHardwareAcceleration:a=!0,allowTransformNone:s=!0}=e,l="";r.sort(_);let c=!1;const u=r.length;for(let d=0;d<u;d++){const t=r[d];l+=`${q[t]||t}(${i[t]}) `,"z"===t&&(c=!0)}return!c&&a&&(l+="translateZ(0)"),l=l.trim(),o?l=o(i,n?"":l):s&&n&&(l="none"),l}(t,n,f,o):o?r.transform=o({},""):!e.transform&&r.transform&&(r.transform="none"),d&&(r.transformOrigin=function(t){let{originX:e="50%",originY:n="50%",originZ:o=0}=t;return`${e} ${n} ${o}`}(c))}const vt=()=>({style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}});function gt(t,e,n){for(const o in e)Y(e[o])||$(o,n)||(t[o]=e[o])}function yt(t,e,n){let i={};return gt(i,t.style||{},t),Object.assign(i,function(t,e,n){let{transformTemplate:i}=t;return(0,o.useMemo)((()=>{const t={style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}};mt(t,e,{enableHardwareAcceleration:!n},i);const{vars:o,style:r}=t;return Object.assign(Object.assign({},o),r)}),[e])}(t,e,n)),t.transformValues&&(i=t.transformValues(i)),i}function bt(t,e,n){const o={},i=yt(t,e,n);return Boolean(t.drag)&&!1!==t.dragListener&&(o.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===t.drag?"none":"pan-"+("x"===t.drag?"y":"x")),o.style=i,o}const xt=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover","whileInView","onViewportEnter","onViewportLeave","viewport","layoutScroll"]);function Et(t){return xt.has(t)}let wt=t=>!Et(t);try{(Ot=require("@emotion/is-prop-valid").default)&&(wt=t=>t.startsWith("on")?!Et(t):Ot(t))}catch(Da){}var Ot;function Ct(t,e,n){const o={};for(const i in t)(wt(i)||!0===n&&Et(i)||!e&&!Et(i)||t.draggable&&i.startsWith("onDrag"))&&(o[i]=t[i]);return o}var St=n(6797);function Pt(t,e,n){return"string"===typeof t?t:at.transform(e+n*t)}const Tt={offset:"stroke-dashoffset",array:"stroke-dasharray"},At={offset:"strokeDashoffset",array:"strokeDasharray"};function jt(t,e,n,o){var{attrX:i,attrY:r,originX:a,originY:s,pathLength:l,pathSpacing:c=1,pathOffset:u=0}=e;mt(t,(0,St._T)(e,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),n,o),t.attrs=t.style,t.style={};const{attrs:d,style:f,dimensions:p}=t;d.transform&&(p&&(f.transform=d.transform),delete d.transform),p&&(void 0!==a||void 0!==s||f.transform)&&(f.transformOrigin=function(t,e,n){return`${Pt(e,t.x,t.width)} ${Pt(n,t.y,t.height)}`}(p,void 0!==a?a:.5,void 0!==s?s:.5)),void 0!==i&&(d.x=i),void 0!==r&&(d.y=r),void 0!==l&&function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];t.pathLength=1;const r=i?Tt:At;t[r.offset]=at.transform(-o);const a=at.transform(e),s=at.transform(n);t[r.array]=`${a} ${s}`}(d,l,c,u,!1)}const Mt=()=>Object.assign(Object.assign({},{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}),{attrs:{}});function Rt(t,e){const n=(0,o.useMemo)((()=>{const n=Mt();return jt(n,e,{enableHardwareAcceleration:!1},t.transformTemplate),Object.assign(Object.assign({},n.attrs),{style:Object.assign({},n.style)})}),[e]);if(t.style){const e={};gt(e,t.style,t),n.style=Object.assign(Object.assign({},e),n.style)}return n}function Lt(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const e=(e,n,i,r,a,s)=>{let{latestValues:l}=a;const c=(F(e)?Rt:bt)(n,l,s),u=Ct(n,"string"===typeof e,t),d=Object.assign(Object.assign(Object.assign({},u),c),{ref:r});return i&&(d["data-projection-id"]=i),(0,o.createElement)(e,d)};return e}const Vt=/([a-z])([A-Z])/g,kt=t=>t.replace(Vt,"$1-$2").toLowerCase();function Dt(t,e,n,o){let{style:i,vars:r}=e;Object.assign(t.style,i,o&&o.getProjectionStyles(n));for(const a in r)t.style.setProperty(a,r[a])}const Nt=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function Ft(t,e,n,o){Dt(t,e,void 0,o);for(const i in e.attrs)t.setAttribute(Nt.has(i)?i:kt(i),e.attrs[i])}function Ut(t){const{style:e}=t,n={};for(const o in e)(Y(e[o])||$(o,t))&&(n[o]=e[o]);return n}function Bt(t){const e=Ut(t);for(const n in t)if(Y(t[n])){e["x"===n||"y"===n?"attr"+n.toUpperCase():n]=t[n]}return e}function It(t){return"object"===typeof t&&"function"===typeof t.start}const _t=t=>Array.isArray(t),zt=t=>_t(t)?t[t.length-1]||0:t;function Ht(t){const e=Y(t)?t.get():t;return n=e,Boolean(n&&"object"===typeof n&&n.mix&&n.toValue)?e.toValue():e;var n}function Wt(t,e,n,o){let{scrapeMotionValuesFromProps:i,createRenderState:r,onMount:a}=t;const s={latestValues:$t(e,n,o,i),renderState:r()};return a&&(s.mount=t=>a(e,t,s)),s}const Zt=t=>(e,n)=>{const i=(0,o.useContext)(d),r=(0,o.useContext)(f.O);return n?Wt(t,e,i,r):(0,A.h)((()=>Wt(t,e,i,r)))};function $t(t,e,n,o){const i={},r=!1===(null===n||void 0===n?void 0:n.initial),a=o(t);for(const p in a)i[p]=Ht(a[p]);let{initial:s,animate:l}=t;const c=C(t),u=S(t);e&&u&&!c&&!1!==t.inherit&&(null!==s&&void 0!==s||(s=e.initial),null!==l&&void 0!==l||(l=e.animate));const d=r||!1===s,f=d?l:s;if(f&&"boolean"!==typeof f&&!It(f)){(Array.isArray(f)?f:[f]).forEach((e=>{const n=w(t,e);if(!n)return;const{transitionEnd:o,transition:r}=n,a=(0,St._T)(n,["transitionEnd","transition"]);for(const t in a){let e=a[t];if(Array.isArray(e)){e=e[d?e.length-1:0]}null!==e&&(i[t]=e)}for(const t in o)i[t]=o[t]}))}return i}const Yt={useVisualState:Zt({scrapeMotionValuesFromProps:Bt,createRenderState:Mt,onMount:(t,e,n)=>{let{renderState:o,latestValues:i}=n;try{o.dimensions="function"===typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(r){o.dimensions={x:0,y:0,width:0,height:0}}jt(o,i,{enableHardwareAcceleration:!1},t.transformTemplate),Ft(e,o)}})},qt={useVisualState:Zt({scrapeMotionValuesFromProps:Ut,createRenderState:vt})};var Xt;function Gt(t,e,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{passive:!0};return t.addEventListener(e,n,o),()=>t.removeEventListener(e,n)}function Kt(t,e,n,i){(0,o.useEffect)((()=>{const o=t.current;if(n&&o)return Gt(o,e,n,i)}),[t,e,n,i])}function Jt(t){return"undefined"!==typeof PointerEvent&&t instanceof PointerEvent?!("mouse"!==t.pointerType):t instanceof MouseEvent}function Qt(t){return!!t.touches}function te(t){return e=>{const n=e instanceof MouseEvent;(!n||n&&0===e.button)&&t(e)}}!function(t){t.Animate="animate",t.Hover="whileHover",t.Tap="whileTap",t.Drag="whileDrag",t.Focus="whileFocus",t.InView="whileInView",t.Exit="exit"}(Xt||(Xt={}));const ee={pageX:0,pageY:0};function ne(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"page";const n=t.touches[0]||t.changedTouches[0],o=n||ee;return{x:o[e+"X"],y:o[e+"Y"]}}function oe(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"page";return{x:t[e+"X"],y:t[e+"Y"]}}function ie(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"page";return{point:Qt(t)?ne(t,e):oe(t,e)}}const re=function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=e=>t(e,ie(e));return e?te(n):n},ae={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},se={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function le(t){return h.j&&null===window.onpointerdown?t:h.j&&null===window.ontouchstart?se[t]:h.j&&null===window.onmousedown?ae[t]:t}function ce(t,e,n,o){return Gt(t,le(e),re(n,"pointerdown"===e),o)}function ue(t,e,n,o){return Kt(t,le(e),n&&re(n,"pointerdown"===e),o)}function de(t){let e=null;return()=>{const n=()=>{e=null};return null===e&&(e=t,n)}}const fe=de("dragHorizontal"),pe=de("dragVertical");function he(t){let e=!1;if("y"===t)e=pe();else if("x"===t)e=fe();else{const t=fe(),n=pe();t&&n?e=()=>{t(),n()}:(t&&t(),n&&n())}return e}function me(){const t=he(!0);return!t||(t(),!1)}function ve(t,e,n){return(o,i)=>{var r;Jt(o)&&!me()&&(null===(r=t.animationState)||void 0===r||r.setActive(Xt.Hover,e),null===n||void 0===n||n(o,i))}}const ge=(t,e)=>!!e&&(t===e||ge(t,e.parentElement));var ye=n(8829);const be=(t,e)=>n=>e(t(n)),xe=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.reduce(be)};var Ee=n(109);const we=new WeakMap,Oe=new WeakMap,Ce=t=>{var e;null===(e=we.get(t.target))||void 0===e||e(t)},Se=t=>{t.forEach(Ce)};function Pe(t,e,n){const o=function(t){var{root:e}=t,n=(0,St._T)(t,["root"]);const o=e||document;Oe.has(o)||Oe.set(o,{});const i=Oe.get(o),r=JSON.stringify(n);return i[r]||(i[r]=new IntersectionObserver(Se,Object.assign({root:e},n))),i[r]}(e);return we.set(t,n),o.observe(t),()=>{we.delete(t),o.unobserve(t)}}const Te={some:0,all:1};function Ae(t,e,n,i){let{root:r,margin:a,amount:s="some",once:l}=i;(0,o.useEffect)((()=>{if(!t)return;const o={root:null===r||void 0===r?void 0:r.current,rootMargin:a,threshold:"number"===typeof s?s:Te[s]};return Pe(n.getInstance(),o,(t=>{var o;const{isIntersecting:i}=t;if(e.isInView===i)return;if(e.isInView=i,l&&!i&&e.hasEnteredView)return;i&&(e.hasEnteredView=!0),null===(o=n.animationState)||void 0===o||o.setActive(Xt.InView,i);const r=n.getProps(),a=i?r.onViewportEnter:r.onViewportLeave;null===a||void 0===a||a(t)}))}),[t,r,a,s])}function je(t,e,n,r){let{fallback:a=!0}=r;(0,o.useEffect)((()=>{t&&a&&("production"!==i.O&&(0,Ee.O)(!1,"IntersectionObserver not available on this device. whileInView animations will trigger on mount."),requestAnimationFrame((()=>{var t;e.hasEnteredView=!0;const{onViewportEnter:o}=n.getProps();null===o||void 0===o||o(null),null===(t=n.animationState)||void 0===t||t.setActive(Xt.InView,!0)})))}),[t])}const Me=t=>e=>(t(e),null),Re={inView:Me((function(t){let{visualElement:e,whileInView:n,onViewportEnter:i,onViewportLeave:r,viewport:a={}}=t;const s=(0,o.useRef)({hasEnteredView:!1,isInView:!1});let l=Boolean(n||i||r);a.once&&s.current.hasEnteredView&&(l=!1),("undefined"===typeof IntersectionObserver?je:Ae)(l,s.current,e,a)})),tap:Me((function(t){let{onTap:e,onTapStart:n,onTapCancel:i,whileTap:r,visualElement:a}=t;const s=e||n||i||r,l=(0,o.useRef)(!1),c=(0,o.useRef)(null),u={passive:!(n||e||i||m)};function d(){var t;null===(t=c.current)||void 0===t||t.call(c),c.current=null}function f(){var t;return d(),l.current=!1,null===(t=a.animationState)||void 0===t||t.setActive(Xt.Tap,!1),!me()}function p(t,n){f()&&(ge(a.getInstance(),t.target)?null===e||void 0===e||e(t,n):null===i||void 0===i||i(t,n))}function h(t,e){f()&&(null===i||void 0===i||i(t,e))}function m(t,e){var o;d(),l.current||(l.current=!0,c.current=xe(ce(window,"pointerup",p,u),ce(window,"pointercancel",h,u)),null===(o=a.animationState)||void 0===o||o.setActive(Xt.Tap,!0),null===n||void 0===n||n(t,e))}ue(a,"pointerdown",s?m:void 0,u),(0,ye.z)(d)})),focus:Me((function(t){let{whileFocus:e,visualElement:n}=t;Kt(n,"focus",e?()=>{var t;null===(t=n.animationState)||void 0===t||t.setActive(Xt.Focus,!0)}:void 0),Kt(n,"blur",e?()=>{var t;null===(t=n.animationState)||void 0===t||t.setActive(Xt.Focus,!1)}:void 0)})),hover:Me((function(t){let{onHoverStart:e,onHoverEnd:n,whileHover:o,visualElement:i}=t;ue(i,"pointerenter",e||o?ve(i,!0,e):void 0,{passive:!e}),ue(i,"pointerleave",n||o?ve(i,!1,n):void 0,{passive:!n})}))};function Le(){const t=(0,o.useContext)(f.O);if(null===t)return[!0,null];const{isPresent:e,onExitComplete:n,register:i}=t,r=(0,o.useId)();(0,o.useEffect)((()=>i(r)),[]);return!e&&n?[!1,()=>null===n||void 0===n?void 0:n(r)]:[!0]}function Ve(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let o=0;o<n;o++)if(e[o]!==t[o])return!1;return!0}const ke=(t,e,n)=>Math.min(Math.max(n,t),e),De=.001;function Ne(t){let e,n,{duration:o=800,bounce:i=.25,velocity:r=0,mass:a=1}=t,s=1-i;s=ke(.05,1,s),o=ke(.01,10,o/1e3),s<1?(e=t=>{const e=t*s,n=e*o,i=e-r,a=Fe(t,s),l=Math.exp(-n);return De-i/a*l},n=t=>{const n=t*s*o,i=n*r+r,a=Math.pow(s,2)*Math.pow(t,2)*o,l=Math.exp(-n),c=Fe(Math.pow(t,2),s);return(-e(t)+De>0?-1:1)*((i-a)*l)/c}):(e=t=>Math.exp(-t*o)*((t-r)*o+1)-.001,n=t=>Math.exp(-t*o)*(o*o*(r-t)));const l=function(t,e,n){let o=n;for(let i=1;i<12;i++)o-=t(o)/e(o);return o}(e,n,5/o);if(o*=1e3,isNaN(l))return{stiffness:100,damping:10,duration:o};{const t=Math.pow(l,2)*a;return{stiffness:t,damping:2*s*Math.sqrt(a*t),duration:o}}}function Fe(t,e){return t*Math.sqrt(1-e*e)}const Ue=["duration","bounce"],Be=["stiffness","damping","mass"];function Ie(t,e){return e.some((e=>void 0!==t[e]))}function _e(t){var{from:e=0,to:n=1,restSpeed:o=2,restDelta:i}=t,r=(0,St._T)(t,["from","to","restSpeed","restDelta"]);const a={done:!1,value:e};let{stiffness:s,damping:l,mass:c,velocity:u,duration:d,isResolvedFromDuration:f}=function(t){let e=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},t);if(!Ie(t,Be)&&Ie(t,Ue)){const n=Ne(t);e=Object.assign(Object.assign(Object.assign({},e),n),{velocity:0,mass:1}),e.isResolvedFromDuration=!0}return e}(r),p=ze,h=ze;function m(){const t=u?-u/1e3:0,o=n-e,r=l/(2*Math.sqrt(s*c)),a=Math.sqrt(s/c)/1e3;if(void 0===i&&(i=Math.min(Math.abs(n-e)/100,.4)),r<1){const e=Fe(a,r);p=i=>{const s=Math.exp(-r*a*i);return n-s*((t+r*a*o)/e*Math.sin(e*i)+o*Math.cos(e*i))},h=n=>{const i=Math.exp(-r*a*n);return r*a*i*(Math.sin(e*n)*(t+r*a*o)/e+o*Math.cos(e*n))-i*(Math.cos(e*n)*(t+r*a*o)-e*o*Math.sin(e*n))}}else if(1===r)p=e=>n-Math.exp(-a*e)*(o+(t+a*o)*e);else{const e=a*Math.sqrt(r*r-1);p=i=>{const s=Math.exp(-r*a*i),l=Math.min(e*i,300);return n-s*((t+r*a*o)*Math.sinh(l)+e*o*Math.cosh(l))/e}}}return m(),{next:t=>{const e=p(t);if(f)a.done=t>=d;else{const r=1e3*h(t),s=Math.abs(r)<=o,l=Math.abs(n-e)<=i;a.done=s&&l}return a.value=a.done?n:e,a},flipTarget:()=>{u=-u,[e,n]=[n,e],m()}}}_e.needsInterpolation=(t,e)=>"string"===typeof t||"string"===typeof e;const ze=t=>0,He=(t,e,n)=>{const o=e-t;return 0===o?1:(n-t)/o},We=(t,e,n)=>-n*t+n*e+t,Ze=(t,e)=>n=>Boolean(nt(n)&&et.test(n)&&n.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(n,e)),$e=(t,e,n)=>o=>{if(!nt(o))return o;const[i,r,a,s]=o.match(Q);return{[t]:parseFloat(i),[e]:parseFloat(r),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},Ye=K(0,255),qe=Object.assign(Object.assign({},ut),{transform:t=>Math.round(Ye(t))}),Xe={test:Ze("rgb","red"),parse:$e("red","green","blue"),transform:t=>{let{red:e,green:n,blue:o,alpha:i=1}=t;return"rgba("+qe.transform(e)+", "+qe.transform(n)+", "+qe.transform(o)+", "+J(dt.transform(i))+")"}};const Ge={test:Ze("#"),parse:function(t){let e="",n="",o="",i="";return t.length>5?(e=t.substr(1,2),n=t.substr(3,2),o=t.substr(5,2),i=t.substr(7,2)):(e=t.substr(1,1),n=t.substr(2,1),o=t.substr(3,1),i=t.substr(4,1),e+=e,n+=n,o+=o,i+=i),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(o,16),alpha:i?parseInt(i,16)/255:1}},transform:Xe.transform},Ke={test:Ze("hsl","hue"),parse:$e("hue","saturation","lightness"),transform:t=>{let{hue:e,saturation:n,lightness:o,alpha:i=1}=t;return"hsla("+Math.round(e)+", "+rt.transform(J(n))+", "+rt.transform(J(o))+", "+J(dt.transform(i))+")"}};function Je(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function Qe(t){let{hue:e,saturation:n,lightness:o,alpha:i}=t;e/=360,n/=100,o/=100;let r=0,a=0,s=0;if(n){const t=o<.5?o*(1+n):o+n-o*n,i=2*o-t;r=Je(i,t,e+1/3),a=Je(i,t,e),s=Je(i,t,e-1/3)}else r=a=s=o;return{red:Math.round(255*r),green:Math.round(255*a),blue:Math.round(255*s),alpha:i}}const tn=(t,e,n)=>{const o=t*t,i=e*e;return Math.sqrt(Math.max(0,n*(i-o)+o))},en=[Ge,Xe,Ke],nn=t=>en.find((e=>e.test(t))),on=t=>`'${t}' is not an animatable color. Use the equivalent color code instead.`,rn=(t,e)=>{let n=nn(t),o=nn(e);on(t),on(e);let i=n.parse(t),r=o.parse(e);n===Ke&&(i=Qe(i),n=Xe),o===Ke&&(r=Qe(r),o=Xe);const a=Object.assign({},i);return t=>{for(const e in a)"alpha"!==e&&(a[e]=tn(i[e],r[e],t));return a.alpha=We(i.alpha,r.alpha,t),n.transform(a)}},an={test:t=>Xe.test(t)||Ge.test(t)||Ke.test(t),parse:t=>Xe.test(t)?Xe.parse(t):Ke.test(t)?Ke.parse(t):Ge.parse(t),transform:t=>nt(t)?t:t.hasOwnProperty("red")?Xe.transform(t):Ke.transform(t)},sn="${c}",ln="${n}";function cn(t){"number"===typeof t&&(t=`${t}`);const e=[];let n=0;const o=t.match(tt);o&&(n=o.length,t=t.replace(tt,sn),e.push(...o.map(an.parse)));const i=t.match(Q);return i&&(t=t.replace(Q,ln),e.push(...i.map(ut.parse))),{values:e,numColors:n,tokenised:t}}function un(t){return cn(t).values}function dn(t){const{values:e,numColors:n,tokenised:o}=cn(t),i=e.length;return t=>{let e=o;for(let o=0;o<i;o++)e=e.replace(o<n?sn:ln,o<n?an.transform(t[o]):J(t[o]));return e}}const fn=t=>"number"===typeof t?0:t;const pn={test:function(t){var e,n,o,i;return isNaN(t)&&nt(t)&&(null!==(n=null===(e=t.match(Q))||void 0===e?void 0:e.length)&&void 0!==n?n:0)+(null!==(i=null===(o=t.match(tt))||void 0===o?void 0:o.length)&&void 0!==i?i:0)>0},parse:un,createTransformer:dn,getAnimatableNone:function(t){const e=un(t);return dn(t)(e.map(fn))}},hn=t=>"number"===typeof t;function mn(t,e){return hn(t)?n=>We(t,e,n):an.test(t)?rn(t,e):bn(t,e)}const vn=(t,e)=>{const n=[...t],o=n.length,i=t.map(((t,n)=>mn(t,e[n])));return t=>{for(let e=0;e<o;e++)n[e]=i[e](t);return n}},gn=(t,e)=>{const n=Object.assign(Object.assign({},t),e),o={};for(const i in n)void 0!==t[i]&&void 0!==e[i]&&(o[i]=mn(t[i],e[i]));return t=>{for(const e in o)n[e]=o[e](t);return n}};function yn(t){const e=pn.parse(t),n=e.length;let o=0,i=0,r=0;for(let a=0;a<n;a++)o||"number"===typeof e[a]?o++:void 0!==e[a].hue?r++:i++;return{parsed:e,numNumbers:o,numRGB:i,numHSL:r}}const bn=(t,e)=>{const n=pn.createTransformer(e),o=yn(t),i=yn(e);return o.numHSL===i.numHSL&&o.numRGB===i.numRGB&&o.numNumbers>=i.numNumbers?xe(vn(o.parsed,i.parsed),n):n=>`${n>0?e:t}`},xn=(t,e)=>n=>We(t,e,n);function En(t,e,n){const o=[],i=n||("number"===typeof(r=t[0])?xn:"string"===typeof r?an.test(r)?rn:bn:Array.isArray(r)?vn:"object"===typeof r?gn:void 0);var r;const a=t.length-1;for(let s=0;s<a;s++){let n=i(t[s],t[s+1]);if(e){const t=Array.isArray(e)?e[s]:e;n=xe(t,n)}o.push(n)}return o}function wn(t,e){let[n,o]=t,[i]=e;return t=>i(He(n,o,t))}function On(t,e){const n=t.length,o=n-1;return i=>{let r=0,a=!1;if(i<=t[0]?a=!0:i>=t[o]&&(r=o-1,a=!0),!a){let e=1;for(;e<n&&!(t[e]>i||e===o);e++);r=e-1}const s=He(t[r],t[r+1],i);return e[r](s)}}function Cn(t,e){let{clamp:n=!0,ease:o,mixer:i}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=t.length;e.length,!o||!Array.isArray(o)||o.length,t[0]>t[r-1]&&(t=[].concat(t),e=[].concat(e),t.reverse(),e.reverse());const a=En(e,o,i),s=2===r?wn(t,a):On(t,a);return n?e=>s(ke(t[0],t[r-1],e)):s}const Sn=t=>e=>1-t(1-e),Pn=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,Tn=t=>e=>e*e*((t+1)*e-t),An=t=>t,jn=(Mn=2,t=>Math.pow(t,Mn));var Mn;const Rn=Sn(jn),Ln=Pn(jn),Vn=t=>1-Math.sin(Math.acos(t)),kn=Sn(Vn),Dn=Pn(kn),Nn=Tn(1.525),Fn=Sn(Nn),Un=Pn(Nn),Bn=(t=>{const e=Tn(t);return t=>(t*=2)<1?.5*e(t):.5*(2-Math.pow(2,-10*(t-1)))})(1.525),In=t=>{if(1===t||0===t)return t;const e=t*t;return t<.36363636363636365?7.5625*e:t<.7272727272727273?9.075*e-9.9*t+3.4:t<.9?12.066481994459833*e-19.63545706371191*t+8.898060941828255:10.8*t*t-20.52*t+10.72},_n=Sn(In);function zn(t,e){return t.map((()=>e||Ln)).splice(0,t.length-1)}function Hn(t){let{from:e=0,to:n=1,ease:o,offset:i,duration:r=300}=t;const a={done:!1,value:e},s=Array.isArray(n)?n:[e,n],l=function(t,e){return t.map((t=>t*e))}(i&&i.length===s.length?i:function(t){const e=t.length;return t.map(((t,n)=>0!==n?n/(e-1):0))}(s),r);function c(){return Cn(l,s,{ease:Array.isArray(o)?o:zn(s,o)})}let u=c();return{next:t=>(a.value=u(t),a.done=t>=r,a),flipTarget:()=>{s.reverse(),u=c()}}}const Wn={keyframes:Hn,spring:_e,decay:function(t){let{velocity:e=0,from:n=0,power:o=.8,timeConstant:i=350,restDelta:r=.5,modifyTarget:a}=t;const s={done:!1,value:n};let l=o*e;const c=n+l,u=void 0===a?c:a(c);return u!==c&&(l=u-n),{next:t=>{const e=-l*Math.exp(-t/i);return s.done=!(e>r||e<-r),s.value=s.done?u:u+e,s},flipTarget:()=>{}}}};const Zn=1/60*1e3,$n="undefined"!==typeof performance?()=>performance.now():()=>Date.now(),Yn="undefined"!==typeof window?t=>window.requestAnimationFrame(t):t=>setTimeout((()=>t($n())),Zn);let qn=!0,Xn=!1,Gn=!1;const Kn={delta:0,timestamp:0},Jn=["read","update","preRender","render","postRender"],Qn=Jn.reduce(((t,e)=>(t[e]=function(t){let e=[],n=[],o=0,i=!1,r=!1;const a=new WeakSet,s={schedule:function(t){const r=arguments.length>2&&void 0!==arguments[2]&&arguments[2]&&i,s=r?e:n;return arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&a.add(t),-1===s.indexOf(t)&&(s.push(t),r&&i&&(o=e.length)),t},cancel:t=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1),a.delete(t)},process:l=>{if(i)r=!0;else{if(i=!0,[e,n]=[n,e],n.length=0,o=e.length,o)for(let n=0;n<o;n++){const o=e[n];o(l),a.has(o)&&(s.schedule(o),t())}i=!1,r&&(r=!1,s.process(l))}}};return s}((()=>Xn=!0)),t)),{}),to=Jn.reduce(((t,e)=>{const n=Qn[e];return t[e]=function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Xn||io(),n.schedule(t,e,o)},t}),{}),eo=Jn.reduce(((t,e)=>(t[e]=Qn[e].cancel,t)),{}),no=(Jn.reduce(((t,e)=>(t[e]=()=>Qn[e].process(Kn),t)),{}),t=>Qn[t].process(Kn)),oo=t=>{Xn=!1,Kn.delta=qn?Zn:Math.max(Math.min(t-Kn.timestamp,40),1),Kn.timestamp=t,Gn=!0,Jn.forEach(no),Gn=!1,Xn&&(qn=!1,Yn(oo))},io=()=>{Xn=!0,qn=!0,Gn||Yn(oo)};var ro=to;function ao(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return t-e-n}const so=t=>{const e=e=>{let{delta:n}=e;return t(n)};return{start:()=>ro.update(e,!0),stop:()=>eo.update(e)}};function lo(t){var e,n,{from:o,autoplay:i=!0,driver:r=so,elapsed:a=0,repeat:s=0,repeatType:l="loop",repeatDelay:c=0,onPlay:u,onStop:d,onComplete:f,onRepeat:p,onUpdate:h}=t,m=(0,St._T)(t,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let v,g,y,{to:b}=m,x=0,E=m.duration,w=!1,O=!0;const C=function(t){if(Array.isArray(t.to))return Hn;if(Wn[t.type])return Wn[t.type];const e=new Set(Object.keys(t));return e.has("ease")||e.has("duration")&&!e.has("dampingRatio")?Hn:e.has("dampingRatio")||e.has("stiffness")||e.has("mass")||e.has("damping")||e.has("restSpeed")||e.has("restDelta")?_e:Hn}(m);(null===(n=(e=C).needsInterpolation)||void 0===n?void 0:n.call(e,o,b))&&(y=Cn([0,100],[o,b],{clamp:!1}),o=0,b=100);const S=C(Object.assign(Object.assign({},m),{from:o,to:b}));function P(){x++,"reverse"===l?(O=x%2===0,a=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return arguments.length>3&&void 0!==arguments[3]&&!arguments[3]?e-(t-e)+n:ao(e+-t,e,n)}(a,E,c,O)):(a=ao(a,E,c),"mirror"===l&&S.flipTarget()),w=!1,p&&p()}function T(t){if(O||(t=-t),a+=t,!w){const t=S.next(Math.max(0,a));g=t.value,y&&(g=y(g)),w=O?t.done:a<=0}null===h||void 0===h||h(g),w&&(0===x&&(null!==E&&void 0!==E||(E=a)),x<s?function(t,e,n,o){return o?t>=e+n:t<=-n}(a,E,c,O)&&P():(v.stop(),f&&f()))}return i&&(null===u||void 0===u||u(),v=r(T),v.start()),{stop:()=>{null===d||void 0===d||d(),v.stop()}}}function co(t,e){return e?t*(1e3/e):0}function uo(t){let e,{from:n=0,velocity:o=0,min:i,max:r,power:a=.8,timeConstant:s=750,bounceStiffness:l=500,bounceDamping:c=10,restDelta:u=1,modifyTarget:d,driver:f,onUpdate:p,onComplete:h,onStop:m}=t;function v(t){return void 0!==i&&t<i||void 0!==r&&t>r}function g(t){return void 0===i?r:void 0===r||Math.abs(i-t)<Math.abs(r-t)?i:r}function y(t){null===e||void 0===e||e.stop(),e=lo(Object.assign(Object.assign({},t),{driver:f,onUpdate:e=>{var n;null===p||void 0===p||p(e),null===(n=t.onUpdate)||void 0===n||n.call(t,e)},onComplete:h,onStop:m}))}function b(t){y(Object.assign({type:"spring",stiffness:l,damping:c,restDelta:u},t))}if(v(n))b({from:n,velocity:o,to:g(n)});else{let t=a*o+n;"undefined"!==typeof d&&(t=d(t));const e=g(t),r=e===i?-1:1;let l,c;const f=t=>{l=c,c=t,o=co(t-l,Kn.delta),(1===r&&t>e||-1===r&&t<e)&&b({from:t,to:e,velocity:o})};y({type:"decay",from:n,velocity:o,timeConstant:s,power:a,restDelta:u,modifyTarget:d,onUpdate:v(t)?f:void 0})}return{stop:()=>null===e||void 0===e?void 0:e.stop()}}const fo=t=>1e3*t,po=(t,e)=>1-3*e+3*t,ho=(t,e)=>3*e-6*t,mo=t=>3*t,vo=(t,e,n)=>((po(e,n)*t+ho(e,n))*t+mo(e))*t,go=(t,e,n)=>3*po(e,n)*t*t+2*ho(e,n)*t+mo(e);const yo=.1;function bo(t,e,n,o){if(t===e&&n===o)return An;const i=new Float32Array(11);for(let a=0;a<11;++a)i[a]=vo(a*yo,t,n);function r(e){let o=0,r=1;for(;10!==r&&i[r]<=e;++r)o+=yo;--r;const a=o+(e-i[r])/(i[r+1]-i[r])*yo,s=go(a,t,n);return s>=.001?function(t,e,n,o){for(let i=0;i<8;++i){const i=go(e,n,o);if(0===i)return e;e-=(vo(e,n,o)-t)/i}return e}(e,a,t,n):0===s?a:function(t,e,n,o,i){let r,a,s=0;do{a=e+(n-e)/2,r=vo(a,o,i)-t,r>0?n=a:e=a}while(Math.abs(r)>1e-7&&++s<10);return a}(e,o,o+yo,t,n)}return t=>0===t||1===t?t:vo(r(t),e,o)}const xo={linear:An,easeIn:jn,easeInOut:Ln,easeOut:Rn,circIn:Vn,circInOut:Dn,circOut:kn,backIn:Nn,backInOut:Un,backOut:Fn,anticipate:Bn,bounceIn:_n,bounceInOut:t=>t<.5?.5*(1-In(1-2*t)):.5*In(2*t-1)+.5,bounceOut:In},Eo=t=>{if(Array.isArray(t)){t.length;const[e,n,o,i]=t;return bo(e,n,o,i)}return"string"===typeof t?xo[t]:t},wo=(t,e)=>"zIndex"!==t&&(!("number"!==typeof e&&!Array.isArray(e))||!("string"!==typeof e||!pn.test(e)||e.startsWith("url("))),Oo=()=>({type:"spring",stiffness:500,damping:25,restSpeed:10}),Co=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),So=()=>({type:"keyframes",ease:"linear",duration:.3}),Po=t=>({type:"keyframes",duration:.8,values:t}),To={x:Oo,y:Oo,z:Oo,rotate:Oo,rotateX:Oo,rotateY:Oo,rotateZ:Oo,scaleX:Co,scaleY:Co,scale:Co,opacity:So,backgroundColor:So,color:So,default:Co},Ao=new Set(["brightness","contrast","saturate","opacity"]);function jo(t){let[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;const[o]=n.match(Q)||[];if(!o)return t;const i=n.replace(o,"");let r=Ao.has(e)?1:0;return o!==n&&(r*=100),e+"("+r+i+")"}const Mo=/([a-z-]*)\(.*?\)/g,Ro=Object.assign(Object.assign({},pn),{getAnimatableNone:t=>{const e=t.match(Mo);return e?e.map(jo).join(" "):t}}),Lo=Object.assign(Object.assign({},ht),{color:an,backgroundColor:an,outlineColor:an,fill:an,stroke:an,borderColor:an,borderTopColor:an,borderRightColor:an,borderBottomColor:an,borderLeftColor:an,filter:Ro,WebkitFilter:Ro}),Vo=t=>Lo[t];function ko(t,e){var n;let o=Vo(t);return o!==Ro&&(o=pn),null===(n=o.getAnimatableNone)||void 0===n?void 0:n.call(o,e)}const Do=!1;let No=!1;function Fo(t){var{ease:e,times:n,yoyo:o,flip:i,loop:r}=t,a=(0,St._T)(t,["ease","times","yoyo","flip","loop"]);const s=Object.assign({},a);return n&&(s.offset=n),a.duration&&(s.duration=fo(a.duration)),a.repeatDelay&&(s.repeatDelay=fo(a.repeatDelay)),e&&(s.ease=(t=>Array.isArray(t)&&"number"!==typeof t[0])(e)?e.map(Eo):Eo(e)),"tween"===a.type&&(s.type="keyframes"),(o||r||i)&&(No=!0,o?s.repeatType="reverse":r?s.repeatType="loop":i&&(s.repeatType="mirror"),s.repeat=r||o||i||a.repeat),"spring"!==a.type&&(s.type="keyframes"),s}function Uo(t,e){var n,o;return null!==(o=null!==(n=(Ho(t,e)||{}).delay)&&void 0!==n?n:t.delay)&&void 0!==o?o:0}function Bo(t,e,n){var o;return Array.isArray(e.to)&&(null!==(o=t.duration)&&void 0!==o||(t.duration=.8)),function(t){Array.isArray(t.to)&&null===t.to[0]&&(t.to=[...t.to],t.to[0]=t.from)}(e),function(t){var e=(0,St._T)(t,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(e).length}(t)||(t=Object.assign(Object.assign({},t),((t,e)=>{let n;return n=_t(e)?Po:To[t]||To.default,Object.assign({to:e},n(e))})(n,e.to))),Object.assign(Object.assign({},e),Fo(t))}function Io(t,e,n,o,i){var r;const a=Ho(o,t);let s=null!==(r=a.from)&&void 0!==r?r:e.get();const l=wo(t,n);"none"===s&&l&&"string"===typeof n?s=ko(t,n):_o(s)&&"string"===typeof n?s=zo(n):!Array.isArray(n)&&_o(n)&&"string"===typeof s&&(n=zo(s));const c=wo(t,s);return c&&l&&!1!==a.type?function(){const o={from:s,to:n,velocity:e.getVelocity(),onComplete:i,onUpdate:t=>e.set(t)};return"inertia"===a.type||"decay"===a.type?uo(Object.assign(Object.assign({},o),a)):lo(Object.assign(Object.assign({},Bo(a,o,t)),{onUpdate:t=>{var e;o.onUpdate(t),null===(e=a.onUpdate)||void 0===e||e.call(a,t)},onComplete:()=>{var t;o.onComplete(),null===(t=a.onComplete)||void 0===t||t.call(a)}}))}:function(){var t,o;const r=zt(n);return e.set(r),i(),null===(t=null===a||void 0===a?void 0:a.onUpdate)||void 0===t||t.call(a,r),null===(o=null===a||void 0===a?void 0:a.onComplete)||void 0===o||o.call(a),{stop:()=>{}}}}function _o(t){return 0===t||"string"===typeof t&&0===parseFloat(t)&&-1===t.indexOf(" ")}function zo(t){return"number"===typeof t?0:ko("",t)}function Ho(t,e){return t[e]||t.default||t}function Wo(t,e,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return Do&&(o={type:!1}),e.start((i=>{let r,a;const s=Io(t,e,n,o,i),l=Uo(o,t),c=()=>a=s();return l?r=window.setTimeout(c,fo(l)):c(),()=>{clearTimeout(r),null===a||void 0===a||a.stop()}}))}const Zo=t=>/^0[^.\s]+$/.test(t);var $o=n(8125);function Yo(t,e){-1===t.indexOf(e)&&t.push(e)}function qo(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class Xo{constructor(){this.subscriptions=[]}add(t){return Yo(this.subscriptions,t),()=>qo(this.subscriptions,t)}notify(t,e,n){const o=this.subscriptions.length;if(o)if(1===o)this.subscriptions[0](t,e,n);else for(let i=0;i<o;i++){const o=this.subscriptions[i];o&&o(t,e,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}class Go{constructor(t){var e,n=this;this.version="7.2.0",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new Xo,this.velocityUpdateSubscribers=new Xo,this.renderSubscribers=new Xo,this.canTrackVelocity=!1,this.updateAndNotify=function(t){let e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];n.prev=n.current,n.current=t;const{delta:o,timestamp:i}=(0,$o.$B)();n.lastUpdated!==i&&(n.timeDelta=o,n.lastUpdated=i,$o.ZP.postRender(n.scheduleVelocityCheck)),n.prev!==n.current&&n.updateSubscribers.notify(n.current),n.velocityUpdateSubscribers.getSize()&&n.velocityUpdateSubscribers.notify(n.getVelocity()),e&&n.renderSubscribers.notify(n.current)},this.scheduleVelocityCheck=()=>$o.ZP.postRender(this.velocityCheck),this.velocityCheck=t=>{let{timestamp:e}=t;e!==this.lastUpdated&&(this.prev=this.current,this.velocityUpdateSubscribers.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=(e=this.current,!isNaN(parseFloat(e)))}onChange(t){return this.updateSubscribers.add(t)}clearListeners(){this.updateSubscribers.clear()}onRenderRequest(t){return t(this.get()),this.renderSubscribers.add(t)}attach(t){this.passiveEffect=t}set(t){let e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?co(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise((e=>{this.hasAnimated=!0,this.stopAnimation=t(e)})).then((()=>this.clearAnimation()))}stop(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()}}function Ko(t){return new Go(t)}const Jo=t=>e=>e.test(t),Qo=[ut,at,rt,it,lt,st,{test:t=>"auto"===t,parse:t=>t}],ti=t=>Qo.find(Jo(t)),ei=[...Qo,an,pn],ni=t=>ei.find(Jo(t));function oi(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,Ko(n))}function ii(t,e){const n=O(t,e);let o=n?t.makeTargetAnimatable(n,!1):{},{transitionEnd:i={},transition:r={}}=o,a=(0,St._T)(o,["transitionEnd","transition"]);a=Object.assign(Object.assign({},a),i);for(const s in a){oi(t,s,zt(a[s]))}}function ri(t,e){if(!e)return;return(e[t]||e.default||e).from}function ai(t){return Boolean(Y(t)&&t.add)}function si(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};var o;const i=O(t,e,n.custom);let{transition:r=t.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(r=n.transitionOverride);const a=i?()=>li(t,i,n):()=>Promise.resolve(),s=(null===(o=t.variantChildren)||void 0===o?void 0:o.size)?function(){let o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;const{delayChildren:i=0,staggerChildren:a,staggerDirection:s}=r;return ci(t,e,i+o,a,s,n)}:()=>Promise.resolve(),{when:l}=r;if(l){const[t,e]="beforeChildren"===l?[a,s]:[s,a];return t().then(e)}return Promise.all([a(),s(n.delay)])}function li(t,e){let{delay:n=0,transitionOverride:o,type:i}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};var r;let a=t.makeTargetAnimatable(e),{transition:s=t.getDefaultTransition(),transitionEnd:l}=a,c=(0,St._T)(a,["transition","transitionEnd"]);const u=t.getValue("willChange");o&&(s=o);const d=[],f=i&&(null===(r=t.animationState)||void 0===r?void 0:r.getState()[i]);for(const p in c){const e=t.getValue(p),o=c[p];if(!e||void 0===o||f&&di(f,p))continue;let i=Object.assign({delay:n},s);t.shouldReduceMotion&&H(p)&&(i=Object.assign(Object.assign({},i),{type:!1,delay:0}));let r=Wo(p,e,o,i);ai(u)&&(u.add(p),r=r.then((()=>u.remove(p)))),d.push(r)}return Promise.all(d).then((()=>{l&&ii(t,l)}))}function ci(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=arguments.length>5?arguments[5]:void 0;const a=[],s=(t.variantChildren.size-1)*o,l=1===i?function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return t*o}:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return s-t*o};return Array.from(t.variantChildren).sort(ui).forEach(((t,o)=>{a.push(si(t,e,Object.assign(Object.assign({},r),{delay:n+l(o)})).then((()=>t.notifyAnimationComplete(e))))})),Promise.all(a)}function ui(t,e){return t.sortNodePosition(e)}function di(t,e){let{protectedKeys:n,needsAnimating:o}=t;const i=n.hasOwnProperty(e)&&!0!==o[e];return o[e]=!1,i}const fi=[Xt.Animate,Xt.InView,Xt.Focus,Xt.Hover,Xt.Tap,Xt.Drag,Xt.Exit],pi=[...fi].reverse(),hi=fi.length;function mi(t){return e=>Promise.all(e.map((e=>{let{animation:n,options:o}=e;return function(t,e){let n,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t.notifyAnimationStart(e),Array.isArray(e)){const i=e.map((e=>si(t,e,o)));n=Promise.all(i)}else if("string"===typeof e)n=si(t,e,o);else{const i="function"===typeof e?O(t,e,o.custom):e;n=li(t,i,o)}return n.then((()=>t.notifyAnimationComplete(e)))}(t,n,o)})))}function vi(t){let e=mi(t);const n={[Xt.Animate]:yi(!0),[Xt.InView]:yi(),[Xt.Hover]:yi(),[Xt.Tap]:yi(),[Xt.Drag]:yi(),[Xt.Focus]:yi(),[Xt.Exit]:yi()};let o=!0;const i=(e,n)=>{const o=O(t,n);if(o){const{transition:t,transitionEnd:n}=o,i=(0,St._T)(o,["transition","transitionEnd"]);e=Object.assign(Object.assign(Object.assign({},e),i),n)}return e};function r(r,a){var s;const l=t.getProps(),c=t.getVariantContext(!0)||{},u=[],d=new Set;let f={},p=1/0;for(let e=0;e<hi;e++){const h=pi[e],m=n[h],v=null!==(s=l[h])&&void 0!==s?s:c[h],g=E(v),y=h===a?m.isActive:null;!1===y&&(p=e);let b=v===c[h]&&v!==l[h]&&g;if(b&&o&&t.manuallyAnimateOnMount&&(b=!1),m.protectedKeys=Object.assign({},f),!m.isActive&&null===y||!v&&!m.prevProp||It(v)||"boolean"===typeof v)continue;const x=gi(m.prevProp,v);let w=x||h===a&&m.isActive&&!b&&g||e>p&&g;const O=Array.isArray(v)?v:[v];let C=O.reduce(i,{});!1===y&&(C={});const{prevResolvedValues:S={}}=m,P=Object.assign(Object.assign({},S),C),T=t=>{w=!0,d.delete(t),m.needsAnimating[t]=!0};for(const t in P){const e=C[t],n=S[t];f.hasOwnProperty(t)||(e!==n?_t(e)&&_t(n)?!Ve(e,n)||x?T(t):m.protectedKeys[t]=!0:void 0!==e?T(t):d.add(t):void 0!==e&&d.has(t)?T(t):m.protectedKeys[t]=!0)}m.prevProp=v,m.prevResolvedValues=C,m.isActive&&(f=Object.assign(Object.assign({},f),C)),o&&t.blockInitialAnimation&&(w=!1),w&&!b&&u.push(...O.map((t=>({animation:t,options:Object.assign({type:h},r)}))))}if(d.size){const e={};d.forEach((n=>{const o=t.getBaseTarget(n);void 0!==o&&(e[n]=o)})),u.push({animation:e})}let h=Boolean(u.length);return o&&!1===l.initial&&!t.manuallyAnimateOnMount&&(h=!1),o=!1,h?e(u):Promise.resolve()}return{animateChanges:r,setActive:function(e,o,i){var a;if(n[e].isActive===o)return Promise.resolve();null===(a=t.variantChildren)||void 0===a||a.forEach((t=>{var n;return null===(n=t.animationState)||void 0===n?void 0:n.setActive(e,o)})),n[e].isActive=o;const s=r(i,e);for(const t in n)n[t].protectedKeys={};return s},setAnimateFunction:function(n){e=n(t)},getState:()=>n}}function gi(t,e){return"string"===typeof e?e!==t:!!x(e)&&!Ve(e,t)}function yi(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}const bi={animation:Me((t=>{let{visualElement:e,animate:n}=t;e.animationState||(e.animationState=vi(e)),It(n)&&(0,o.useEffect)((()=>n.subscribe(e)),[n])})),exit:Me((t=>{const{custom:e,visualElement:n}=t,[i,r]=Le(),a=(0,o.useContext)(f.O);(0,o.useEffect)((()=>{var t,o;n.isPresent=i;const s=null===(t=n.animationState)||void 0===t?void 0:t.setActive(Xt.Exit,!i,{custom:null!==(o=null===a||void 0===a?void 0:a.custom)&&void 0!==o?o:e});!i&&(null===s||void 0===s||s.then(r))}),[i])}))},xi=t=>t.hasOwnProperty("x")&&t.hasOwnProperty("y"),Ei=t=>xi(t)&&t.hasOwnProperty("z"),wi=(t,e)=>Math.abs(t-e);function Oi(t,e){if(hn(t)&&hn(e))return wi(t,e);if(xi(t)&&xi(e)){const n=wi(t.x,e.x),o=wi(t.y,e.y),i=Ei(t)&&Ei(e)?wi(t.z,e.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(o,2)+Math.pow(i,2))}}class Ci{constructor(t,e){let{transformPagePoint:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const t=Ti(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,n=Oi(t.offset,{x:0,y:0})>=3;if(!e&&!n)return;const{point:o}=t,{timestamp:i}=(0,$o.$B)();this.history.push(Object.assign(Object.assign({},o),{timestamp:i}));const{onStart:r,onMove:a}=this.handlers;e||(r&&r(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=Si(e,this.transformPagePoint),Jt(t)&&0===t.buttons?this.handlePointerUp(t,e):$o.ZP.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();const{onEnd:n,onSessionEnd:o}=this.handlers,i=Ti(Si(e,this.transformPagePoint),this.history);this.startEvent&&n&&n(t,i),o&&o(t,i)},Qt(t)&&t.touches.length>1)return;this.handlers=e,this.transformPagePoint=n;const o=Si(ie(t),this.transformPagePoint),{point:i}=o,{timestamp:r}=(0,$o.$B)();this.history=[Object.assign(Object.assign({},i),{timestamp:r})];const{onSessionStart:a}=e;a&&a(t,Ti(o,this.history)),this.removeListeners=xe(ce(window,"pointermove",this.handlePointerMove),ce(window,"pointerup",this.handlePointerUp),ce(window,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),$o.qY.update(this.updatePoint)}}function Si(t,e){return e?{point:e(t.point)}:t}function Pi(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Ti(t,e){let{point:n}=t;return{point:n,delta:Pi(n,ji(e)),offset:Pi(n,Ai(e)),velocity:Mi(e,.1)}}function Ai(t){return t[0]}function ji(t){return t[t.length-1]}function Mi(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,o=null;const i=ji(t);for(;n>=0&&(o=t[n],!(i.timestamp-o.timestamp>fo(e)));)n--;if(!o)return{x:0,y:0};const r=(i.timestamp-o.timestamp)/1e3;if(0===r)return{x:0,y:0};const a={x:(i.x-o.x)/r,y:(i.y-o.y)/r};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function Ri(t){return t.max-t.min}function Li(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.01;return Oi(t,e)<n}function Vi(t,e,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5;t.origin=o,t.originPoint=We(e.min,e.max,t.origin),t.scale=Ri(n)/Ri(e),(Li(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=We(n.min,n.max,t.origin)-t.originPoint,(Li(t.translate)||isNaN(t.translate))&&(t.translate=0)}function ki(t,e,n,o){Vi(t.x,e.x,n.x,null===o||void 0===o?void 0:o.originX),Vi(t.y,e.y,n.y,null===o||void 0===o?void 0:o.originY)}function Di(t,e,n){t.min=n.min+e.min,t.max=t.min+Ri(e)}function Ni(t,e,n){t.min=e.min-n.min,t.max=t.min+Ri(e)}function Fi(t,e,n){Ni(t.x,e.x,n.x),Ni(t.y,e.y,n.y)}function Ui(t,e,n){return{min:void 0!==e?t.min+e:void 0,max:void 0!==n?t.max+n-(t.max-t.min):void 0}}function Bi(t,e){let n=e.min-t.min,o=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,o]=[o,n]),{min:n,max:o}}const Ii=.35;function _i(t,e,n){return{min:zi(t,e),max:zi(t,n)}}function zi(t,e){var n;return"number"===typeof t?t:null!==(n=t[e])&&void 0!==n?n:0}function Hi(t){return[t("x"),t("y")]}function Wi(t){let{top:e,left:n,right:o,bottom:i}=t;return{x:{min:n,max:o},y:{min:e,max:i}}}function Zi(t){return void 0===t||1===t}function $i(t){let{scale:e,scaleX:n,scaleY:o}=t;return!Zi(e)||!Zi(n)||!Zi(o)}function Yi(t){return $i(t)||qi(t.x)||qi(t.y)||t.z||t.rotate||t.rotateX||t.rotateY}function qi(t){return t&&"0%"!==t}function Xi(t,e,n){return n+e*(t-n)}function Gi(t,e,n,o,i){return void 0!==i&&(t=Xi(t,i,o)),Xi(t,n,o)+e}function Ki(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;t.min=Gi(t.min,e,n,o,i),t.max=Gi(t.max,e,n,o,i)}function Ji(t,e){let{x:n,y:o}=e;Ki(t.x,n.translate,n.scale,n.originPoint),Ki(t.y,o.translate,o.scale,o.originPoint)}function Qi(t,e){t.min=t.min+e,t.max=t.max+e}function tr(t,e,n){let[o,i,r]=n;const a=void 0!==e[r]?e[r]:.5,s=We(t.min,t.max,a);Ki(t,e[o],e[i],s,e.scale)}const er=["x","scaleX","originX"],nr=["y","scaleY","originY"];function or(t,e){tr(t.x,e,er),tr(t.y,e,nr)}function ir(t,e){return Wi(function(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),o=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:o.y,right:o.x}}(t.getBoundingClientRect(),e))}const rr=new WeakMap;class ar{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=t}start(t){let{snapToCursor:e=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!1===this.visualElement.isPresent)return;this.panSession=new Ci(t,{onSessionStart:t=>{this.stopAnimation(),e&&this.snapToCursor(ie(t,"page").point)},onStart:(t,e)=>{var n;const{drag:o,dragPropagation:i,onDragStart:r}=this.getProps();(!o||i||(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=he(o),this.openGlobalLock))&&(this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Hi((t=>{var e,n;let o=this.getAxisMotionValue(t).get()||0;if(rt.test(o)){const i=null===(n=null===(e=this.visualElement.projection)||void 0===e?void 0:e.layout)||void 0===n?void 0:n.actual[t];if(i){o=Ri(i)*(parseFloat(o)/100)}}this.originPoint[t]=o})),null===r||void 0===r||r(t,e),null===(n=this.visualElement.animationState)||void 0===n||n.setActive(Xt.Drag,!0))},onMove:(t,e)=>{const{dragPropagation:n,dragDirectionLock:o,onDirectionLock:i,onDrag:r}=this.getProps();if(!n&&!this.openGlobalLock)return;const{offset:a}=e;if(o&&null===this.currentDirection)return this.currentDirection=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,n=null;Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x");return n}(a),void(null!==this.currentDirection&&(null===i||void 0===i||i(this.currentDirection)));this.updateAxis("x",e.point,a),this.updateAxis("y",e.point,a),this.visualElement.syncRender(),null===r||void 0===r||r(t,e)},onSessionEnd:(t,e)=>this.stop(t,e)},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(t,e){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:o}=e;this.startAnimation(o);const{onDragEnd:i}=this.getProps();null===i||void 0===i||i(t,e)}cancel(){var t,e;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(t=this.panSession)||void 0===t||t.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(e=this.visualElement.animationState)||void 0===e||e.setActive(Xt.Drag,!1)}updateAxis(t,e,n){const{drag:o}=this.getProps();if(!n||!sr(t,o,this.currentDirection))return;const i=this.getAxisMotionValue(t);let r=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(r=function(t,e,n){let{min:o,max:i}=e;return void 0!==o&&t<o?t=n?We(o,t,n.min):Math.max(t,o):void 0!==i&&t>i&&(t=n?We(i,t,n.max):Math.min(t,i)),t}(r,this.constraints[t],this.elastic[t])),i.set(r)}resolveConstraints(){const{dragConstraints:t,dragElastic:e}=this.getProps(),{layout:n}=this.visualElement.projection||{},o=this.constraints;t&&b(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!t||!n)&&function(t,e){let{top:n,left:o,bottom:i,right:r}=e;return{x:Ui(t.x,o,r),y:Ui(t.y,n,i)}}(n.actual,t),this.elastic=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ii;return!1===t?t=0:!0===t&&(t=Ii),{x:_i(t,"left","right"),y:_i(t,"top","bottom")}}(e),o!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&Hi((t=>{this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){const n={};return void 0!==e.min&&(n.min=e.min-t.min),void 0!==e.max&&(n.max=e.max-t.min),n}(n.actual[t],this.constraints[t]))}))}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:e}=this.getProps();if(!t||!b(t))return!1;const n=t.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const i=function(t,e,n){const o=ir(t,n),{scroll:i}=e;return i&&(Qi(o.x,i.x),Qi(o.y,i.y)),o}(n,o.root,this.visualElement.getTransformPagePoint());let r=function(t,e){return{x:Bi(t.x,e.x),y:Bi(t.y,e.y)}}(o.layout.actual,i);if(e){const t=e(function(t){let{x:e,y:n}=t;return{top:n.min,right:e.max,bottom:n.max,left:e.min}}(r));this.hasMutatedConstraints=!!t,t&&(r=Wi(t))}return r}startAnimation(t){const{drag:e,dragMomentum:n,dragElastic:o,dragTransition:i,dragSnapToOrigin:r,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=Hi((a=>{var l;if(!sr(a,e,this.currentDirection))return;let c=null!==(l=null===s||void 0===s?void 0:s[a])&&void 0!==l?l:{};r&&(c={min:0,max:0});const u=o?200:1e6,d=o?40:1e7,f=Object.assign(Object.assign({type:"inertia",velocity:n?t[a]:0,bounceStiffness:u,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10},i),c);return this.startAxisValueAnimation(a,f)}));return Promise.all(l).then(a)}startAxisValueAnimation(t,e){return Wo(t,this.getAxisMotionValue(t),0,e)}stopAnimation(){Hi((t=>this.getAxisMotionValue(t).stop()))}getAxisMotionValue(t){var e,n;const o="_drag"+t.toUpperCase(),i=this.visualElement.getProps()[o];return i||this.visualElement.getValue(t,null!==(n=null===(e=this.visualElement.getProps().initial)||void 0===e?void 0:e[t])&&void 0!==n?n:0)}snapToCursor(t){Hi((e=>{const{drag:n}=this.getProps();if(!sr(e,n,this.currentDirection))return;const{projection:o}=this.visualElement,i=this.getAxisMotionValue(e);if(o&&o.layout){const{min:n,max:r}=o.layout.actual[e];i.set(t[e]-We(n,r,.5))}}))}scalePositionWithinConstraints(){var t;const{drag:e,dragConstraints:n}=this.getProps(),{projection:o}=this.visualElement;if(!b(n)||!o||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Hi((t=>{const e=this.getAxisMotionValue(t);if(e){const n=e.get();i[t]=function(t,e){let n=.5;const o=Ri(t),i=Ri(e);return i>o?n=He(e.min,e.max-o,t.min):o>i&&(n=He(t.min,t.max-i,e.min)),ke(0,1,n)}({min:n,max:n},this.constraints[t])}}));const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.getInstance().style.transform=r?r({},""):"none",null===(t=o.root)||void 0===t||t.updateScroll(),o.updateLayout(),this.resolveConstraints(),Hi((t=>{if(!sr(t,e,null))return;const n=this.getAxisMotionValue(t),{min:o,max:r}=this.constraints[t];n.set(We(o,r,i[t]))}))}addListeners(){var t;rr.set(this.visualElement,this);const e=ce(this.visualElement.getInstance(),"pointerdown",(t=>{const{drag:e,dragListener:n=!0}=this.getProps();e&&n&&this.start(t)})),n=()=>{const{dragConstraints:t}=this.getProps();b(t)&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,i=o.addEventListener("measure",n);o&&!o.layout&&(null===(t=o.root)||void 0===t||t.updateScroll(),o.updateLayout()),n();const r=Gt(window,"resize",(()=>this.scalePositionWithinConstraints())),a=o.addEventListener("didUpdate",(t=>{let{delta:e,hasLayoutChanged:n}=t;this.isDragging&&n&&(Hi((t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))})),this.visualElement.syncRender())}));return()=>{r(),e(),i(),null===a||void 0===a||a()}}getProps(){const t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:n=!1,dragPropagation:o=!1,dragConstraints:i=!1,dragElastic:r=Ii,dragMomentum:a=!0}=t;return Object.assign(Object.assign({},t),{drag:e,dragDirectionLock:n,dragPropagation:o,dragConstraints:i,dragElastic:r,dragMomentum:a})}}function sr(t,e,n){return(!0===e||e===t)&&(null===n||n===t)}const lr={pan:Me((function(t){let{onPan:e,onPanStart:n,onPanEnd:i,onPanSessionStart:r,visualElement:a}=t;const s=e||n||i||r,l=(0,o.useRef)(null),{transformPagePoint:c}=(0,o.useContext)(u),d={onSessionStart:r,onStart:n,onMove:e,onEnd:(t,e)=>{l.current=null,i&&i(t,e)}};(0,o.useEffect)((()=>{null!==l.current&&l.current.updateHandlers(d)})),ue(a,"pointerdown",s&&function(t){l.current=new Ci(t,d,{transformPagePoint:c})}),(0,ye.z)((()=>l.current&&l.current.end()))})),drag:Me((function(t){const{dragControls:e,visualElement:n}=t,i=(0,A.h)((()=>new ar(n)));(0,o.useEffect)((()=>e&&e.subscribe(i)),[i,e]),(0,o.useEffect)((()=>i.addListeners()),[i])}))},cr=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"];function ur(){const t=cr.map((()=>new Xo)),e={},n={clearAllListeners:()=>t.forEach((t=>t.clear())),updatePropListeners:t=>{cr.forEach((o=>{var i;const r="on"+o,a=t[r];null===(i=e[o])||void 0===i||i.call(e),a&&(e[o]=n[r](a))}))}};return t.forEach(((t,e)=>{n["on"+cr[e]]=e=>t.add(e),n["notify"+cr[e]]=function(){return t.notify(...arguments)}})),n}function dr(t,e,n){var o;const{willChange:i}=e;for(const r in e){const a=e[r],s=n[r];if(Y(a))t.addValue(r,a),ai(i)&&i.add(r);else if(Y(s))t.addValue(r,Ko(a)),ai(i)&&i.remove(r);else if(s!==a)if(t.hasValue(r)){const e=t.getValue(r);!e.hasAnimated&&e.set(a)}else t.addValue(r,Ko(null!==(o=t.getStaticValue(r))&&void 0!==o?o:a))}for(const r in n)void 0===e[r]&&t.removeValue(r);return e}const fr=t=>{let{treeType:e="",build:n,getBaseTarget:o,makeTargetAnimatable:i,measureViewportBox:r,render:a,readValueFromInstance:s,removeValueFromRenderState:l,sortNodePosition:c,scrapeMotionValuesFromProps:u}=t;return function(t){let{parent:d,props:f,presenceId:p,blockInitialAnimation:h,visualState:m,shouldReduceMotion:v}=t,g=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},y=!1;const{latestValues:b,renderState:x}=m;let w;const O=ur(),P=new Map,T=new Map;let A={};const j=Object.assign({},b);let M;function R(){w&&y&&(L(),a(w,x,f.style,I.projection))}function L(){n(I,x,b,g,f)}function V(){O.notifyUpdate(b)}function k(t,e){const n=e.onChange((e=>{b[t]=e,f.onUpdate&&$o.ZP.update(V,!1,!0)})),o=e.onRenderRequest(I.scheduleRender);T.set(t,(()=>{n(),o()}))}const D=u(f),{willChange:N}=D,F=(0,St._T)(D,["willChange"]);for(const e in F){const t=F[e];void 0!==b[e]&&Y(t)&&(t.set(b[e],!1),ai(N)&&N.add(e))}const U=C(f),B=S(f),I=Object.assign(Object.assign({treeType:e,current:null,depth:d?d.depth+1:0,parent:d,children:new Set,presenceId:p,shouldReduceMotion:v,variantChildren:B?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(null===d||void 0===d?void 0:d.isMounted()),blockInitialAnimation:h,isMounted:()=>Boolean(w),mount(t){y=!0,w=I.current=t,I.projection&&I.projection.mount(t),B&&d&&!U&&(M=null===d||void 0===d?void 0:d.addVariantChild(I)),P.forEach(((t,e)=>k(e,t))),null===d||void 0===d||d.children.add(I),I.setProps(f)},unmount(){var t;null===(t=I.projection)||void 0===t||t.unmount(),$o.qY.update(V),$o.qY.render(R),T.forEach((t=>t())),null===M||void 0===M||M(),null===d||void 0===d||d.children.delete(I),O.clearAllListeners(),w=void 0,y=!1},addVariantChild(t){var e;const n=I.getClosestVariantNode();if(n)return null===(e=n.variantChildren)||void 0===e||e.add(t),()=>n.variantChildren.delete(t)},sortNodePosition:t=>c&&e===t.treeType?c(I.getInstance(),t.getInstance()):0,getClosestVariantNode:()=>B?I:null===d||void 0===d?void 0:d.getClosestVariantNode(),getLayoutId:()=>f.layoutId,getInstance:()=>w,getStaticValue:t=>b[t],setStaticValue:(t,e)=>b[t]=e,getLatestValues:()=>b,setVisibility(t){I.isVisible!==t&&(I.isVisible=t,I.scheduleRender())},makeTargetAnimatable(t){return i(I,t,f,!(arguments.length>1&&void 0!==arguments[1])||arguments[1])},measureViewportBox:()=>r(w,f),addValue(t,e){I.hasValue(t)&&I.removeValue(t),P.set(t,e),b[t]=e.get(),k(t,e)},removeValue(t){var e;P.delete(t),null===(e=T.get(t))||void 0===e||e(),T.delete(t),delete b[t],l(t,x)},hasValue:t=>P.has(t),getValue(t,e){let n=P.get(t);return void 0===n&&void 0!==e&&(n=Ko(e),I.addValue(t,n)),n},forEachValue:t=>P.forEach(t),readValue:t=>{var e;return null!==(e=b[t])&&void 0!==e?e:s(w,t,g)},setBaseTarget(t,e){j[t]=e},getBaseTarget(t){if(o){const e=o(f,t);if(void 0!==e&&!Y(e))return e}return j[t]}},O),{build:()=>(L(),x),scheduleRender(){$o.ZP.render(R,!1,!0)},syncRender:R,setProps(t){(t.transformTemplate||f.transformTemplate)&&I.scheduleRender(),f=t,O.updatePropListeners(t),A=dr(I,u(f),A)},getProps:()=>f,getVariant:t=>{var e;return null===(e=f.variants)||void 0===e?void 0:e[t]},getDefaultTransition:()=>f.transition,getTransformPagePoint:()=>f.transformPagePoint,getVariantContext(){if(arguments.length>0&&void 0!==arguments[0]&&arguments[0])return null===d||void 0===d?void 0:d.getVariantContext();if(!U){const t=(null===d||void 0===d?void 0:d.getVariantContext())||{};return void 0!==f.initial&&(t.initial=f.initial),t}const t={};for(let e=0;e<hr;e++){const n=pr[e],o=f[n];(E(o)||!1===o)&&(t[n]=o)}return t}});return I}},pr=["initial",...fi],hr=pr.length;function mr(t){return"string"===typeof t&&t.startsWith("var(--")}const vr=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function gr(t){const e=vr.exec(t);if(!e)return[,];const[,n,o]=e;return[n,o]}function yr(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;const[o,i]=gr(t);if(!o)return;const r=window.getComputedStyle(e).getPropertyValue(o);return r?r.trim():mr(i)?yr(i,e,n+1):i}const br=new Set(["width","height","top","left","right","bottom","x","y"]),xr=t=>br.has(t),Er=(t,e)=>{t.set(e,!1),t.set(e)},wr=t=>t===ut||t===at;var Or;!function(t){t.width="width",t.height="height",t.left="left",t.right="right",t.top="top",t.bottom="bottom"}(Or||(Or={}));const Cr=(t,e)=>parseFloat(t.split(", ")[e]),Sr=(t,e)=>(n,o)=>{let{transform:i}=o;if("none"===i||!i)return 0;const r=i.match(/^matrix3d\((.+)\)$/);if(r)return Cr(r[1],e);{const e=i.match(/^matrix\((.+)\)$/);return e?Cr(e[1],t):0}},Pr=new Set(["x","y","z"]),Tr=I.filter((t=>!Pr.has(t)));function Ar(t){const e=[];return Tr.forEach((n=>{const o=t.getValue(n);void 0!==o&&(e.push([n,o.get()]),o.set(n.startsWith("scale")?1:0))})),e.length&&t.syncRender(),e}const jr={width:(t,e)=>{let{x:n}=t,{paddingLeft:o="0",paddingRight:i="0"}=e;return n.max-n.min-parseFloat(o)-parseFloat(i)},height:(t,e)=>{let{y:n}=t,{paddingTop:o="0",paddingBottom:i="0"}=e;return n.max-n.min-parseFloat(o)-parseFloat(i)},top:(t,e)=>{let{top:n}=e;return parseFloat(n)},left:(t,e)=>{let{left:n}=e;return parseFloat(n)},bottom:(t,e)=>{let{y:n}=t,{top:o}=e;return parseFloat(o)+(n.max-n.min)},right:(t,e)=>{let{x:n}=t,{left:o}=e;return parseFloat(o)+(n.max-n.min)},x:Sr(4,13),y:Sr(5,14)},Mr=(t,e,n)=>{const o=e.measureViewportBox(),i=e.getInstance(),r=getComputedStyle(i),{display:a}=r,s={};"none"===a&&e.setStaticValue("display",t.display||"block"),n.forEach((t=>{s[t]=jr[t](o,r)})),e.syncRender();const l=e.measureViewportBox();return n.forEach((n=>{const o=e.getValue(n);Er(o,s[n]),t[n]=jr[n](l,r)})),t};function Rr(t,e,n,o){return(t=>Object.keys(t).some(xr))(e)?function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};e=Object.assign({},e),o=Object.assign({},o);const i=Object.keys(e).filter(xr);let r=[],a=!1;const s=[];if(i.forEach((i=>{const l=t.getValue(i);if(!t.hasValue(i))return;let c=n[i],u=ti(c);const d=e[i];let f;if(_t(d)){const t=d.length,e=null===d[0]?1:0;c=d[e],u=ti(c);for(let n=e;n<t;n++)f?ti(d[n]):(f=ti(d[n]),f===u||wr(u)&&wr(f))}else f=ti(d);if(u!==f)if(wr(u)&&wr(f)){const t=l.get();"string"===typeof t&&l.set(parseFloat(t)),"string"===typeof d?e[i]=parseFloat(d):Array.isArray(d)&&f===at&&(e[i]=d.map(parseFloat))}else(null===u||void 0===u?void 0:u.transform)&&(null===f||void 0===f?void 0:f.transform)&&(0===c||0===d)?0===c?l.set(f.transform(c)):e[i]=u.transform(d):(a||(r=Ar(t),a=!0),s.push(i),o[i]=void 0!==o[i]?o[i]:e[i],Er(l,d))})),s.length){const n=s.indexOf("height")>=0?window.pageYOffset:null,i=Mr(e,t,s);return r.length&&r.forEach((e=>{let[n,o]=e;t.getValue(n).set(o)})),t.syncRender(),h.j&&null!==n&&window.scrollTo({top:n}),{target:i,transitionEnd:o}}return{target:e,transitionEnd:o}}(t,e,n,o):{target:e,transitionEnd:o}}const Lr=(t,e,n,o)=>{const i=function(t,e,n){var o,i=(0,St._T)(e,[]);const r=t.getInstance();if(!(r instanceof Element))return{target:i,transitionEnd:n};n&&(n=Object.assign({},n)),t.forEachValue((t=>{const e=t.get();if(!mr(e))return;const n=yr(e,r);n&&t.set(n)}));for(const a in i){const t=i[a];if(!mr(t))continue;const e=yr(t,r);e&&(i[a]=e,n&&(null!==(o=n[a])&&void 0!==o||(n[a]=t)))}return{target:i,transitionEnd:n}}(t,e,o);return Rr(t,e=i.target,n,o=i.transitionEnd)};const Vr={treeType:"dom",readValueFromInstance(t,e){if(H(e)){const t=Vo(e);return t&&t.default||0}{const o=(n=t,window.getComputedStyle(n)),i=(X(e)?o.getPropertyValue(e):o[e])||0;return"string"===typeof i?i.trim():i}var n},sortNodePosition:(t,e)=>2&t.compareDocumentPosition(e)?1:-1,getBaseTarget(t,e){var n;return null===(n=t.style)||void 0===n?void 0:n[e]},measureViewportBox(t,e){let{transformPagePoint:n}=e;return ir(t,n)},resetTransform(t,e,n){const{transformTemplate:o}=n;e.style.transform=o?o({},""):"none",t.scheduleRender()},restoreTransform(t,e){t.style.transform=e.style.transform},removeValueFromRenderState(t,e){let{vars:n,style:o}=e;delete n[t],delete o[t]},makeTargetAnimatable(t,e,n,o){var{transition:i,transitionEnd:r}=e,a=(0,St._T)(e,["transition","transitionEnd"]),s=n.transformValues;void 0===o&&(o=!0);let l=function(t,e,n){var o,i;const r={};for(const a in t)r[a]=null!==(o=ri(a,e))&&void 0!==o?o:null===(i=n.getValue(a))||void 0===i?void 0:i.get();return r}(a,i||{},t);if(s&&(r&&(r=s(r)),a&&(a=s(a)),l&&(l=s(l))),o){!function(t,e,n){var o,i,r,a;const s=Object.keys(e).filter((e=>!t.hasValue(e))),l=s.length;if(l)for(let c=0;c<l;c++){const l=s[c],u=e[l];let d=null;Array.isArray(u)&&(d=u[0]),null===d&&(d=null!==(i=null!==(o=n[l])&&void 0!==o?o:t.readValue(l))&&void 0!==i?i:e[l]),void 0!==d&&null!==d&&("string"===typeof d&&(/^\-?\d*\.?\d+$/.test(d)||Zo(d))?d=parseFloat(d):!ni(d)&&pn.test(u)&&(d=ko(l,u)),t.addValue(l,Ko(d)),null!==(r=(a=n)[l])&&void 0!==r||(a[l]=d),t.setBaseTarget(l,d))}}(t,a,l);const e=Lr(t,a,l,r);r=e.transitionEnd,a=e.target}return Object.assign({transition:i,transitionEnd:r},a)},scrapeMotionValuesFromProps:Ut,build(t,e,n,o,i){void 0!==t.isVisible&&(e.style.visibility=t.isVisible?"visible":"hidden"),mt(e,n,o,i.transformTemplate)},render:Dt},kr=fr(Vr),Dr=fr(Object.assign(Object.assign({},Vr),{getBaseTarget:(t,e)=>t[e],readValueFromInstance(t,e){var n;return H(e)?(null===(n=Vo(e))||void 0===n?void 0:n.default)||0:(e=Nt.has(e)?e:kt(e),t.getAttribute(e))},scrapeMotionValuesFromProps:Bt,build(t,e,n,o,i){jt(e,n,o,i.transformTemplate)},render:Ft})),Nr=(t,e)=>F(t)?Dr(e,{enableHardwareAcceleration:!1}):kr(e,{enableHardwareAcceleration:!0});function Fr(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const Ur={correct:(t,e)=>{if(!e.target)return t;if("string"===typeof t){if(!at.test(t))return t;t=parseFloat(t)}return`${Fr(t,e.target.x)}% ${Fr(t,e.target.y)}%`}},Br="_$css",Ir={correct:(t,e)=>{let{treeScale:n,projectionDelta:o}=e;const i=t,r=t.includes("var("),a=[];r&&(t=t.replace(vr,(t=>(a.push(t),Br))));const s=pn.parse(t);if(s.length>5)return i;const l=pn.createTransformer(t),c="number"!==typeof s[0]?1:0,u=o.x.scale*n.x,d=o.y.scale*n.y;s[0+c]/=u,s[1+c]/=d;const f=We(u,d,.5);"number"===typeof s[2+c]&&(s[2+c]/=f),"number"===typeof s[3+c]&&(s[3+c]/=f);let p=l(s);if(r){let t=0;p=p.replace(Br,(()=>{const e=a[t];return t++,e}))}return p}};class _r extends o.Component{componentDidMount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:n,layoutId:o}=this.props,{projection:i}=t;var r;r=zr,Object.assign(U,r),i&&((null===e||void 0===e?void 0:e.group)&&e.group.add(i),(null===n||void 0===n?void 0:n.register)&&o&&n.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",(()=>{this.safeToRemove()})),i.setOptions(Object.assign(Object.assign({},i.options),{onExitComplete:()=>this.safeToRemove()}))),j.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:e,visualElement:n,drag:o,isPresent:i}=this.props,r=n.projection;return r?(r.isPresent=i,o||t.layoutDependency!==e||void 0===e?r.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?r.promote():r.relegate()||$o.ZP.postRender((()=>{var t;(null===(t=r.getStack())||void 0===t?void 0:t.members.length)||this.safeToRemove()}))),null):null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),!t.currentAnimation&&t.isLead()&&this.safeToRemove())}componentWillUnmount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:n}=this.props,{projection:o}=t;o&&(o.scheduleCheckAfterUnmount(),(null===e||void 0===e?void 0:e.group)&&e.group.remove(o),(null===n||void 0===n?void 0:n.deregister)&&n.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;null===t||void 0===t||t()}render(){return null}}const zr={borderRadius:Object.assign(Object.assign({},Ur),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:Ur,borderTopRightRadius:Ur,borderBottomLeftRadius:Ur,borderBottomRightRadius:Ur,boxShadow:Ir},Hr={measureLayout:function(t){const[e,n]=Le(),i=(0,o.useContext)(R.p);return o.createElement(_r,Object.assign({},t,{layoutGroup:i,switchLayoutGroup:(0,o.useContext)(L),isPresent:e,safeToRemove:n}))}};const Wr=["TopLeft","TopRight","BottomLeft","BottomRight"],Zr=Wr.length,$r=t=>"string"===typeof t?parseFloat(t):t,Yr=t=>"number"===typeof t||at.test(t);function qr(t,e){var n;return null!==(n=t[e])&&void 0!==n?n:t.borderRadius}const Xr=Kr(0,.5,kn),Gr=Kr(.5,.95,An);function Kr(t,e,n){return o=>o<t?0:o>e?1:n(He(t,e,o))}function Jr(t,e){t.min=e.min,t.max=e.max}function Qr(t,e){Jr(t.x,e.x),Jr(t.y,e.y)}function ta(t,e,n,o,i){return t=Xi(t-=e,1/n,o),void 0!==i&&(t=Xi(t,1/i,o)),t}function ea(t,e,n,o,i){let[r,a,s]=n;!function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5,i=arguments.length>4?arguments[4]:void 0,r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:t,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:t;rt.test(e)&&(e=parseFloat(e),e=We(a.min,a.max,e/100)-a.min);if("number"!==typeof e)return;let s=We(r.min,r.max,o);t===r&&(s-=e),t.min=ta(t.min,e,n,s,i),t.max=ta(t.max,e,n,s,i)}(t,e[r],e[a],e[s],e.scale,o,i)}const na=["x","scaleX","originX"],oa=["y","scaleY","originY"];function ia(t,e,n,o){ea(t.x,e,na,null===n||void 0===n?void 0:n.x,null===o||void 0===o?void 0:o.x),ea(t.y,e,oa,null===n||void 0===n?void 0:n.y,null===o||void 0===o?void 0:o.y)}function ra(t){return 0===t.translate&&1===t.scale}function aa(t){return ra(t.x)&&ra(t.y)}function sa(t,e){return t.x.min===e.x.min&&t.x.max===e.x.max&&t.y.min===e.y.min&&t.y.max===e.y.max}class la{constructor(){this.members=[]}add(t){Yo(this.members,t),t.scheduleRender()}remove(t){if(qo(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){const e=this.members.findIndex((e=>t===e));if(0===e)return!1;let n;for(let o=e;o>=0;o--){const t=this.members[o];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(t,e){var n;const o=this.lead;if(t!==o&&(this.prevLead=o,this.lead=t,t.show(),o)){o.instance&&o.scheduleRender(),t.scheduleRender(),t.resumeFrom=o,e&&(t.resumeFrom.preserveOpacity=!0),o.snapshot&&(t.snapshot=o.snapshot,t.snapshot.latestValues=o.animationValues||o.latestValues,t.snapshot.isShared=!0),(null===(n=t.root)||void 0===n?void 0:n.isUpdating)&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;!1===i&&o.hide()}}exitAnimationComplete(){this.members.forEach((t=>{var e,n,o,i,r;null===(n=(e=t.options).onExitComplete)||void 0===n||n.call(e),null===(r=null===(o=t.resumingFrom)||void 0===o?void 0:(i=o.options).onExitComplete)||void 0===r||r.call(i)}))}scheduleRender(){this.members.forEach((t=>{t.instance&&t.scheduleRender(!1)}))}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function ca(t,e,n){let o=`translate3d(${t.x.translate/e.x}px, ${t.y.translate/e.y}px, 0) `;if(o+=`scale(${1/e.x}, ${1/e.y}) `,n){const{rotate:t,rotateX:e,rotateY:i}=n;t&&(o+=`rotate(${t}deg) `),e&&(o+=`rotateX(${e}deg) `),i&&(o+=`rotateY(${i}deg) `)}return o+=`scale(${t.x.scale*e.x}, ${t.y.scale*e.y})`,"translate3d(0px, 0px, 0) scale(1, 1) scale(1, 1)"===o?"none":o}const ua=(t,e)=>t.depth-e.depth;class da{constructor(){this.children=[],this.isDirty=!1}add(t){Yo(this.children,t),this.isDirty=!0}remove(t){qo(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(ua),this.isDirty=!1,this.children.forEach(t)}}function fa(t){let{attachResizeListener:e,defaultParent:n,measureScroll:o,checkIsScrollRoot:i,resetTransform:r}=t;return class{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null===n||void 0===n?void 0:n();this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!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.potentialNodes=new Map,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.nodes.forEach(ba),this.nodes.forEach(xa)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=t,this.latestValues=e,this.root=o?o.root||o:this,this.path=o?[...o.path,o]:[],this.parent=o,this.depth=o?o.depth+1:0,t&&this.root.registerPotentialNode(t,this);for(let n=0;n<this.path.length;n++)this.path[n].shouldResetTransform=!0;this.root===this&&(this.nodes=new da)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new Xo),this.eventHandlers.get(t).add(e)}notifyListeners(t){const e=this.eventHandlers.get(t);for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];null===e||void 0===e||e.notify(...o)}hasListeners(t){return this.eventHandlers.has(t)}registerPotentialNode(t,e){this.potentialNodes.set(t,e)}mount(t){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];var o;if(this.instance)return;this.isSVG=t instanceof SVGElement&&"svg"!==t.tagName,this.instance=t;const{layoutId:i,layout:r,visualElement:a}=this.options;if(a&&!a.getInstance()&&a.mount(t),this.root.nodes.add(this),null===(o=this.parent)||void 0===o||o.children.add(this),this.id&&this.root.potentialNodes.delete(this.id),n&&(r||i)&&(this.isLayoutDirty=!0),e){let n;const o=()=>this.root.updateBlockedByResize=!1;e(t,(()=>{this.root.updateBlockedByResize=!0,clearTimeout(n),n=window.setTimeout(o,250),j.hasAnimatedSinceResize&&(j.hasAnimatedSinceResize=!1,this.nodes.forEach(ya))}))}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&a&&(i||r)&&this.addEventListener("didUpdate",(t=>{let{delta:e,hasLayoutChanged:n,hasRelativeTargetChanged:o,layout:i}=t;var r,s,l,c,u;if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const d=null!==(s=null!==(r=this.options.transition)&&void 0!==r?r:a.getDefaultTransition())&&void 0!==s?s:Pa,{onLayoutAnimationStart:f,onLayoutAnimationComplete:p}=a.getProps(),h=!this.targetLayout||!sa(this.targetLayout,i)||o,m=!n&&o;if((null===(l=this.resumeFrom)||void 0===l?void 0:l.instance)||m||n&&(h||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,m);const t=Object.assign(Object.assign({},Ho(d,"layout")),{onPlay:f,onComplete:p});a.shouldReduceMotion&&(t.delay=0,t.type=!1),this.startAnimation(t)}else n||0!==this.animationProgress||this.finishAnimation(),this.isLead()&&(null===(u=(c=this.options).onExitComplete)||void 0===u||u.call(c));this.targetLayout=i}))}unmount(){var t,e;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),null===(t=this.getStack())||void 0===t||t.remove(this),null===(e=this.parent)||void 0===e||e.children.delete(this),this.instance=void 0,$o.qY.preRender(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){var t;return this.isAnimationBlocked||(null===(t=this.parent)||void 0===t?void 0:t.isTreeAnimationBlocked())||!1}startUpdate(){var t;this.isUpdateBlocked()||(this.isUpdating=!0,null===(t=this.nodes)||void 0===t||t.forEach(Ea))}willUpdate(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];var e,n,o;if(this.root.isUpdateBlocked())return void(null===(n=(e=this.options).onExitComplete)||void 0===n||n.call(e));if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let s=0;s<this.path.length;s++){const t=this.path[s];t.shouldResetTransform=!0,t.updateScroll()}const{layoutId:i,layout:r}=this.options;if(void 0===i&&!r)return;const a=null===(o=this.options.visualElement)||void 0===o?void 0:o.getProps().transformTemplate;this.prevTransformTemplateValue=null===a||void 0===a?void 0:a(this.latestValues,""),this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}didUpdate(){if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(va);this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(Ta),this.potentialNodes.clear()),this.nodes.forEach(ga),this.nodes.forEach(pa),this.nodes.forEach(ha),this.clearAllSnapshots(),$o.iW.update(),$o.iW.preRender(),$o.iW.render())}clearAllSnapshots(){this.nodes.forEach(ma),this.sharedNodes.forEach(wa)}scheduleUpdateProjection(){$o.ZP.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){$o.ZP.postRender((()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()}))}updateSnapshot(){if(this.snapshot||!this.instance)return;const t=this.measure(),e=this.removeTransform(this.removeElementScroll(t));ja(e),this.snapshot={measured:t,layout:e,latestValues:{}}}updateLayout(){var t;if(!this.instance)return;if(this.updateScroll(),(!this.options.alwaysMeasureLayout||!this.isLead())&&!this.isLayoutDirty)return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let o=0;o<this.path.length;o++){this.path[o].updateScroll()}const e=this.measure();ja(e);const n=this.layout;this.layout={measured:e,actual:this.removeElementScroll(e)},this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.actual),null===(t=this.options.visualElement)||void 0===t||t.notifyLayoutMeasure(this.layout.actual,null===n||void 0===n?void 0:n.actual)}updateScroll(){this.options.layoutScroll&&this.instance&&(this.isScrollRoot=i(this.instance),this.scroll=o(this.instance))}resetTransform(){var t;if(!r)return;const e=this.isLayoutDirty||this.shouldResetTransform,n=this.projectionDelta&&!aa(this.projectionDelta),o=null===(t=this.options.visualElement)||void 0===t?void 0:t.getProps().transformTemplate,i=null===o||void 0===o?void 0:o(this.latestValues,""),a=i!==this.prevTransformTemplateValue;e&&(n||Yi(this.latestValues)||a)&&(r(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}measure(){const{visualElement:t}=this.options;if(!t)return{x:{min:0,max:0},y:{min:0,max:0}};const e=t.measureViewportBox(),{scroll:n}=this.root;return n&&(Qi(e.x,n.x),Qi(e.y,n.y)),e}removeElementScroll(t){const e={x:{min:0,max:0},y:{min:0,max:0}};Qr(e,t);for(let n=0;n<this.path.length;n++){const o=this.path[n],{scroll:i,options:r,isScrollRoot:a}=o;if(o!==this.root&&i&&r.layoutScroll){if(a){Qr(e,t);const{scroll:n}=this.root;n&&(Qi(e.x,-n.x),Qi(e.y,-n.y))}Qi(e.x,i.x),Qi(e.y,i.y)}}return e}applyTransform(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n={x:{min:0,max:0},y:{min:0,max:0}};Qr(n,t);for(let o=0;o<this.path.length;o++){const t=this.path[o];!e&&t.options.layoutScroll&&t.scroll&&t!==t.root&&or(n,{x:-t.scroll.x,y:-t.scroll.y}),Yi(t.latestValues)&&or(n,t.latestValues)}return Yi(this.latestValues)&&or(n,this.latestValues),n}removeTransform(t){var e;const n={x:{min:0,max:0},y:{min:0,max:0}};Qr(n,t);for(let o=0;o<this.path.length;o++){const t=this.path[o];if(!t.instance)continue;if(!Yi(t.latestValues))continue;$i(t.latestValues)&&t.updateSnapshot();const i={x:{min:0,max:0},y:{min:0,max:0}};Qr(i,t.measure()),ia(n,t.latestValues,null===(e=t.snapshot)||void 0===e?void 0:e.layout,i)}return Yi(this.latestValues)&&ia(n,this.latestValues),n}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection()}setOptions(t){var e;this.options=Object.assign(Object.assign(Object.assign({},this.options),t),{crossfade:null===(e=t.crossfade)||void 0===e||e})}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}resolveTargetDelta(){var t;const{layout:e,layoutId:n}=this.options;var o,i,r;this.layout&&(e||n)&&(this.targetDelta||this.relativeTarget||(this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&this.relativeParent.layout&&(this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Fi(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),Qr(this.relativeTarget,this.relativeTargetOrigin))),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&(null===(t=this.relativeParent)||void 0===t?void 0:t.target)?(o=this.target,i=this.relativeTarget,r=this.relativeParent.target,Di(o.x,i.x,r.x),Di(o.y,i.y,r.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.actual):Qr(this.target,this.layout.actual),Ji(this.target,this.targetDelta)):Qr(this.target,this.layout.actual),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&Boolean(this.relativeParent.resumingFrom)===Boolean(this.resumingFrom)&&!this.relativeParent.options.layoutScroll&&this.relativeParent.target&&(this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Fi(this.relativeTargetOrigin,this.target,this.relativeParent.target),Qr(this.relativeTarget,this.relativeTargetOrigin)))))}getClosestProjectingParent(){if(this.parent&&!Yi(this.parent.latestValues))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()}calcProjection(){var t;const{layout:e,layoutId:n}=this.options;if(this.isTreeAnimating=Boolean((null===(t=this.parent)||void 0===t?void 0:t.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!e&&!n)return;const o=this.getLead();Qr(this.layoutCorrected,this.layout.actual),function(t,e,n){let o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];var i,r;const a=n.length;if(!a)return;let s,l;e.x=e.y=1;for(let c=0;c<a;c++)s=n[c],l=s.projectionDelta,"contents"!==(null===(r=null===(i=s.instance)||void 0===i?void 0:i.style)||void 0===r?void 0:r.display)&&(o&&s.options.layoutScroll&&s.scroll&&s!==s.root&&or(t,{x:-s.scroll.x,y:-s.scroll.y}),l&&(e.x*=l.x.scale,e.y*=l.y.scale,Ji(t,l)),o&&Yi(s.latestValues)&&or(t,s.latestValues))}(this.layoutCorrected,this.treeScale,this.path,Boolean(this.resumingFrom)||this!==o);const{target:i}=o;if(!i)return;this.projectionDelta||(this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}});const r=this.treeScale.x,a=this.treeScale.y,s=this.projectionTransform;ki(this.projectionDelta,this.layoutCorrected,i,this.latestValues),this.projectionTransform=ca(this.projectionDelta,this.treeScale),this.projectionTransform===s&&this.treeScale.x===r&&this.treeScale.y===a||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",i))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];var e,n,o;null===(n=(e=this.options).scheduleRender)||void 0===n||n.call(e),t&&(null===(o=this.getStack())||void 0===o||o.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];var n;const o=this.snapshot,i=(null===o||void 0===o?void 0:o.latestValues)||{},r=Object.assign({},this.latestValues),a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!e;const s={x:{min:0,max:0},y:{min:0,max:0}},l=null===o||void 0===o?void 0:o.isShared,c=((null===(n=this.getStack())||void 0===n?void 0:n.members.length)||0)<=1,u=Boolean(l&&!c&&!0===this.options.crossfade&&!this.path.some(Sa));this.animationProgress=0,this.mixTargetDelta=e=>{var n;const o=e/1e3;var d,f,p,h;Oa(a.x,t.x,o),Oa(a.y,t.y,o),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&(null===(n=this.relativeParent)||void 0===n?void 0:n.layout)&&(Fi(s,this.layout.actual,this.relativeParent.layout.actual),d=this.relativeTarget,f=this.relativeTargetOrigin,p=s,h=o,Ca(d.x,f.x,p.x,h),Ca(d.y,f.y,p.y,h)),l&&(this.animationValues=r,function(t,e,n,o,i,r){var a,s,l,c;i?(t.opacity=We(0,null!==(a=n.opacity)&&void 0!==a?a:1,Xr(o)),t.opacityExit=We(null!==(s=e.opacity)&&void 0!==s?s:1,0,Gr(o))):r&&(t.opacity=We(null!==(l=e.opacity)&&void 0!==l?l:1,null!==(c=n.opacity)&&void 0!==c?c:1,o));for(let u=0;u<Zr;u++){const i=`border${Wr[u]}Radius`;let r=qr(e,i),a=qr(n,i);void 0===r&&void 0===a||(r||(r=0),a||(a=0),0===r||0===a||Yr(r)===Yr(a)?(t[i]=Math.max(We($r(r),$r(a),o),0),(rt.test(a)||rt.test(r))&&(t[i]+="%")):t[i]=a)}(e.rotate||n.rotate)&&(t.rotate=We(e.rotate||0,n.rotate||0,o))}(r,i,this.latestValues,o,u,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=o},this.mixTargetDelta(0)}startAnimation(t){var e,n;this.notifyListeners("animationStart"),null===(e=this.currentAnimation)||void 0===e||e.stop(),this.resumingFrom&&(null===(n=this.resumingFrom.currentAnimation)||void 0===n||n.stop()),this.pendingAnimation&&($o.qY.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=$o.ZP.update((()=>{j.hasAnimatedSinceResize=!0,this.currentAnimation=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const o=Y(t)?t:Ko(t);return Wo("",o,e,n),{stop:()=>o.stop(),isAnimating:()=>o.isAnimating()}}(0,1e3,Object.assign(Object.assign({},t),{onUpdate:e=>{var n;this.mixTargetDelta(e),null===(n=t.onUpdate)||void 0===n||n.call(t,e)},onComplete:()=>{var e;null===(e=t.onComplete)||void 0===e||e.call(t),this.completeAnimation()}})),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0}))}completeAnimation(){var t;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),null===(t=this.getStack())||void 0===t||t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){var t;this.currentAnimation&&(null===(t=this.mixTargetDelta)||void 0===t||t.call(this,1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const{targetWithTransforms:t,target:e,layout:n,latestValues:o}=this.getLead();t&&e&&n&&(Qr(t,e),or(t,o),ki(this.projectionDeltaWithTransform,this.layoutCorrected,t,o))}registerSharedNode(t,e){var n,o,i;this.sharedNodes.has(t)||this.sharedNodes.set(t,new la);this.sharedNodes.get(t).add(e),e.promote({transition:null===(n=e.options.initialPromotionConfig)||void 0===n?void 0:n.transition,preserveFollowOpacity:null===(i=null===(o=e.options.initialPromotionConfig)||void 0===o?void 0:o.shouldPreserveFollowOpacity)||void 0===i?void 0:i.call(o,e)})}isLead(){const t=this.getStack();return!t||t.lead===this}getLead(){var t;const{layoutId:e}=this.options;return e&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}getPrevLead(){var t;const{layoutId:e}=this.options;return e?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0}getStack(){const{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote(){let{needsReset:t,transition:e,preserveFollowOpacity:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const o=this.getStack();o&&o.promote(this,n),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){const t=this.getStack();return!!t&&t.relegate(this)}resetRotation(){const{visualElement:t}=this.options;if(!t)return;let e=!1;const n={};for(let o=0;o<B.length;o++){const i="rotate"+B[o];t.getStaticValue(i)&&(e=!0,n[i]=t.getStaticValue(i),t.setStaticValue(i,0))}if(e){null===t||void 0===t||t.syncRender();for(const e in n)t.setStaticValue(e,n[e]);t.scheduleRender()}}getProjectionStyles(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var e,n,o,i,r,a;const s={};if(!this.instance||this.isSVG)return s;if(!this.isVisible)return{visibility:"hidden"};s.visibility="";const l=null===(e=this.options.visualElement)||void 0===e?void 0:e.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,s.opacity="",s.pointerEvents=Ht(t.pointerEvents)||"",s.transform=l?l(this.latestValues,""):"none",s;const c=this.getLead();if(!this.projectionDelta||!this.layout||!c.target){const e={};return this.options.layoutId&&(e.opacity=null!==(n=this.latestValues.opacity)&&void 0!==n?n:1,e.pointerEvents=Ht(t.pointerEvents)||""),this.hasProjected&&!Yi(this.latestValues)&&(e.transform=l?l({},""):"none",this.hasProjected=!1),e}const u=c.animationValues||c.latestValues;this.applyTransformsToTarget(),s.transform=ca(this.projectionDeltaWithTransform,this.treeScale,u),l&&(s.transform=l(u,s.transform));const{x:d,y:f}=this.projectionDelta;s.transformOrigin=`${100*d.origin}% ${100*f.origin}% 0`,c.animationValues?s.opacity=c===this?null!==(i=null!==(o=u.opacity)&&void 0!==o?o:this.latestValues.opacity)&&void 0!==i?i:1:this.preserveOpacity?this.latestValues.opacity:u.opacityExit:s.opacity=c===this?null!==(r=u.opacity)&&void 0!==r?r:"":null!==(a=u.opacityExit)&&void 0!==a?a:0;for(const p in U){if(void 0===u[p])continue;const{correct:t,applyTo:e}=U[p],n=t(u[p],c);if(e){const t=e.length;for(let o=0;o<t;o++)s[e[o]]=n}else s[p]=n}return this.options.layoutId&&(s.pointerEvents=c===this?Ht(t.pointerEvents)||"":"none"),s}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach((t=>{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()})),this.root.nodes.forEach(va),this.root.sharedNodes.clear()}}}function pa(t){t.updateLayout()}function ha(t){var e,n,o,i;const r=null!==(n=null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)&&void 0!==n?n:t.snapshot;if(t.isLead()&&t.layout&&r&&t.hasListeners("didUpdate")){const{actual:e,measured:n}=t.layout;"size"===t.options.animationType?Hi((t=>{const n=r.isShared?r.measured[t]:r.layout[t],o=Ri(n);n.min=e[t].min,n.max=n.min+o})):"position"===t.options.animationType&&Hi((t=>{const n=r.isShared?r.measured[t]:r.layout[t],o=Ri(e[t]);n.max=n.min+o}));const o={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};ki(o,e,r.layout);const i={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};r.isShared?ki(i,t.applyTransform(n,!0),r.measured):ki(i,e,r.layout);const a=!aa(o);let s=!1;if(!t.resumeFrom&&(t.relativeParent=t.getClosestProjectingParent(),t.relativeParent&&!t.relativeParent.resumeFrom)){const{snapshot:n,layout:o}=t.relativeParent;if(n&&o){const t={x:{min:0,max:0},y:{min:0,max:0}};Fi(t,r.layout,n.layout);const i={x:{min:0,max:0},y:{min:0,max:0}};Fi(i,e,o.actual),sa(t,i)||(s=!0)}}t.notifyListeners("didUpdate",{layout:e,snapshot:r,delta:i,layoutDelta:o,hasLayoutChanged:a,hasRelativeTargetChanged:s})}else t.isLead()&&(null===(i=(o=t.options).onExitComplete)||void 0===i||i.call(o));t.options.transition=void 0}function ma(t){t.clearSnapshot()}function va(t){t.clearMeasurements()}function ga(t){const{visualElement:e}=t.options;(null===e||void 0===e?void 0:e.getProps().onBeforeLayoutMeasure)&&e.notifyBeforeLayoutMeasure(),t.resetTransform()}function ya(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0}function ba(t){t.resolveTargetDelta()}function xa(t){t.calcProjection()}function Ea(t){t.resetRotation()}function wa(t){t.removeLeadSnapshot()}function Oa(t,e,n){t.translate=We(e.translate,0,n),t.scale=We(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function Ca(t,e,n,o){t.min=We(e.min,n.min,o),t.max=We(e.max,n.max,o)}function Sa(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}const Pa={duration:.45,ease:[.4,0,.1,1]};function Ta(t,e){let n=t.root;for(let i=t.path.length-1;i>=0;i--)if(Boolean(t.path[i].instance)){n=t.path[i];break}const o=(n&&n!==t.root?n.instance:document).querySelector(`[data-projection-id="${e}"]`);o&&t.mount(o,!0)}function Aa(t){t.min=Math.round(t.min),t.max=Math.round(t.max)}function ja(t){Aa(t.x),Aa(t.y)}const Ma=fa({attachResizeListener:(t,e)=>Gt(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Ra={current:void 0},La=fa({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Ra.current){const t=new Ma(0,{});t.mount(window),t.setOptions({layoutScroll:!0}),Ra.current=t}return Ra.current},resetTransform:(t,e)=>{t.style.transform=null!==e&&void 0!==e?e:"none"},checkIsScrollRoot:t=>Boolean("fixed"===window.getComputedStyle(t).position)}),Va=Object.assign(Object.assign(Object.assign(Object.assign({},bi),Re),lr),Hr),ka=D(((t,e)=>function(t,e,n,o,i){let{forwardMotionProps:r=!1}=e;const a=F(t)?Yt:qt;return Object.assign(Object.assign({},a),{preloadedFeatures:n,useRender:Lt(r),createVisualElement:o,projectionNodeConstructor:i,Component:t})}(t,e,Va,Nr,La)))},8207:function(t,e,n){"use strict";n.d(e,{j:function(){return o}});const o="undefined"!==typeof document},1984:function(t,e,n){"use strict";n.d(e,{O:function(){return o}});const o="production"},8998:function(t,e,n){"use strict";n.d(e,{h:function(){return i}});var o=n(7313);function i(t){const e=(0,o.useRef)(null);return null===e.current&&(e.current=t()),e.current}},700:function(t,e,n){"use strict";n.d(e,{L:function(){return i}});var o=n(7313);const i=n(8207).j?o.useLayoutEffect:o.useEffect},8829:function(t,e,n){"use strict";n.d(e,{z:function(){return i}});var o=n(7313);function i(t){return(0,o.useEffect)((()=>()=>t()),[])}},109:function(t,e,n){"use strict";n.d(e,{O:function(){return i}});const o=new Set;function i(t,e,n){t||o.has(e)||(console.warn(e),n&&console.warn(n),o.add(e))}},8125:function(t,e,n){"use strict";n.d(e,{qY:function(){return p},ZP:function(){return b},iW:function(){return h},$B:function(){return y}});const o=1/60*1e3,i="undefined"!==typeof performance?()=>performance.now():()=>Date.now(),r="undefined"!==typeof window?t=>window.requestAnimationFrame(t):t=>setTimeout((()=>t(i())),o);let a=!0,s=!1,l=!1;const c={delta:0,timestamp:0},u=["read","update","preRender","render","postRender"],d=u.reduce(((t,e)=>(t[e]=function(t){let e=[],n=[],o=0,i=!1,r=!1;const a=new WeakSet,s={schedule:function(t){const r=arguments.length>2&&void 0!==arguments[2]&&arguments[2]&&i,s=r?e:n;return arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&a.add(t),-1===s.indexOf(t)&&(s.push(t),r&&i&&(o=e.length)),t},cancel:t=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1),a.delete(t)},process:l=>{if(i)r=!0;else{if(i=!0,[e,n]=[n,e],n.length=0,o=e.length,o)for(let n=0;n<o;n++){const o=e[n];o(l),a.has(o)&&(s.schedule(o),t())}i=!1,r&&(r=!1,s.process(l))}}};return s}((()=>s=!0)),t)),{}),f=u.reduce(((t,e)=>{const n=d[e];return t[e]=function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return s||g(),n.schedule(t,e,o)},t}),{}),p=u.reduce(((t,e)=>(t[e]=d[e].cancel,t)),{}),h=u.reduce(((t,e)=>(t[e]=()=>d[e].process(c),t)),{}),m=t=>d[t].process(c),v=t=>{s=!1,c.delta=a?o:Math.max(Math.min(t-c.timestamp,40),1),c.timestamp=t,l=!0,u.forEach(m),l=!1,s&&(a=!1,r(v))},g=()=>{s=!0,a=!0,l||r(v)},y=()=>c;var b=f}}]);