whatmore-react-assets 1.0.602 → 1.0.604
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/static/css/196.077f3244.chunk.css +1 -0
- package/static/css/530.d956e442.chunk.css +1 -0
- package/static/css/62.600c792f.chunk.css +1 -0
- package/static/css/67.d956e442.chunk.css +1 -0
- package/static/css/790.91c183c3.chunk.css +1 -0
- package/static/css/926.166df4b9.chunk.css +1 -0
- package/static/css/atc-button-with-form-chunk.600c792f.chunk.css +1 -0
- package/static/css/carousel-a-chunk.cd7c3bc4.chunk.css +1 -0
- package/static/css/carousel-b-chunk.c9532191.chunk.css +1 -0
- package/static/css/carousel-d-chunk.cf7de31d.chunk.css +1 -0
- package/static/css/collection-a-chunk.af6f6f13.chunk.css +1 -0
- package/static/css/collection-b-chunk.af6f6f13.chunk.css +1 -0
- package/static/css/collection-c-chunk.af6f6f13.chunk.css +1 -0
- package/static/css/collection-stories-chunk.af6f6f13.chunk.css +1 -0
- package/static/css/pdp-chunk.969b5249.chunk.css +1 -0
- package/static/css/spotlight-chunk.969b5249.chunk.css +1 -0
- package/static/css/stories-chunk.09ea5cb6.chunk.css +1 -0
- package/static/css/video-view-chunk.600c792f.chunk.css +1 -0
- package/static/js/13.f1f86e40.chunk.js +1 -0
- package/static/js/196.bab49caa.chunk.js +1 -0
- package/static/js/210.e86cb1a7.chunk.js +1 -0
- package/static/js/240.0c14b670.chunk.js +2 -0
- package/static/js/249.66f9d5b7.chunk.js +1 -0
- package/static/js/302.41f7dffe.chunk.js +1 -0
- package/static/js/303.d0b4b70e.chunk.js +2 -0
- package/static/js/364.988ddcda.chunk.js +1 -0
- package/static/js/{common-c40af05b.dcc6869f.chunk.js → 367.0e2349d8.chunk.js} +2 -2
- package/static/js/369.5cba5a79.chunk.js +1 -0
- package/static/js/423.4d5ac85a.chunk.js +1 -0
- package/static/js/530.dfd08c9a.chunk.js +1 -0
- package/static/js/548.5d4bf1f9.chunk.js +1 -0
- package/static/js/576.29cac9bc.chunk.js +1 -0
- package/static/js/62.59d61304.chunk.js +1 -0
- package/static/js/67.e86c8bff.chunk.js +1 -0
- package/static/js/790.de883a2d.chunk.js +1 -0
- package/static/js/819.0610382e.chunk.js +2 -0
- package/static/js/876.8567a10d.chunk.js +1 -0
- package/static/js/950.76b80bbc.chunk.js +1 -0
- package/static/js/955.e7fff1c9.chunk.js +2 -0
- package/static/js/atc-button-with-form-chunk.1635dc52.chunk.js +1 -0
- package/static/js/carousel-a-chunk.11bbfd26.chunk.js +1 -0
- package/static/js/carousel-b-chunk.b1d8cd9f.chunk.js +1 -0
- package/static/js/carousel-d-chunk.cccc6e8b.chunk.js +1 -0
- package/static/js/collection-a-chunk.bee3358e.chunk.js +1 -0
- package/static/js/collection-b-chunk.5d4875ca.chunk.js +1 -0
- package/static/js/collection-c-chunk.c9b3bf0a.chunk.js +1 -0
- package/static/js/collection-stories-chunk.250f38db.chunk.js +1 -0
- package/static/js/homepage-chunk.3eb8173c.chunk.js +1 -0
- package/static/js/pdp-chunk.9e9573ed.chunk.js +1 -0
- package/static/js/spotlight-chunk.f5c17be8.chunk.js +1 -0
- package/static/js/stories-chunk.2f8c33ce.chunk.js +1 -0
- package/static/js/video-view-chunk.69b3c860.chunk.js +1 -0
- package/whatmore.js +2 -1
- package/static/css/common-31743c5a.2d20b8d4.chunk.css +0 -1
- package/static/js/4362.c6fb0ac7.chunk.js +0 -1
- package/static/js/4658.5f11e975.chunk.js +0 -1
- package/static/js/5523.e48ac86a.chunk.js +0 -1
- package/static/js/carousel-a-chunk.6d16a151.chunk.js +0 -1
- package/static/js/carousel-b-chunk.578ff79d.chunk.js +0 -1
- package/static/js/carousel-d-chunk.8e269729.chunk.js +0 -1
- package/static/js/collection-a-chunk.d384faae.chunk.js +0 -1
- package/static/js/collection-b-chunk.bed9ec07.chunk.js +0 -1
- package/static/js/collection-c-chunk.c5ec8dce.chunk.js +0 -1
- package/static/js/collection-stories-chunk.84c7a407.chunk.js +0 -1
- package/static/js/common-0bc0478e.9058a9ab.chunk.js +0 -1
- package/static/js/common-0e242c01.f1668061.chunk.js +0 -2
- package/static/js/common-1106b657.62aee7e0.chunk.js +0 -1
- package/static/js/common-13c88e89.253f2714.chunk.js +0 -2
- package/static/js/common-15f93fc0.3e9c12c7.chunk.js +0 -1
- package/static/js/common-160088cf.aa696288.chunk.js +0 -1
- package/static/js/common-229eafb5.c120ff43.chunk.js +0 -1
- package/static/js/common-233d2676.9242691f.chunk.js +0 -1
- package/static/js/common-27545368.bcbef68f.chunk.js +0 -1
- package/static/js/common-2a46b080.4838207a.chunk.js +0 -1
- package/static/js/common-3113a0cb.9e632e8d.chunk.js +0 -2
- package/static/js/common-32266432.63752085.chunk.js +0 -1
- package/static/js/common-32bee901.3555887a.chunk.js +0 -1
- package/static/js/common-3a7be97d.008a510f.chunk.js +0 -1
- package/static/js/common-3d090d83.385fe030.chunk.js +0 -1
- package/static/js/common-48250960.dd4add74.chunk.js +0 -1
- package/static/js/common-48a4958c.93a1ad1d.chunk.js +0 -1
- package/static/js/common-49d0a293.a9bbc288.chunk.js +0 -1
- package/static/js/common-4ed39ea1.4cb19ed1.chunk.js +0 -1
- package/static/js/common-4f9c9c84.5f1e11dc.chunk.js +0 -1
- package/static/js/common-53f2243b.3aa11aa8.chunk.js +0 -1
- package/static/js/common-55d013d5.40b0125d.chunk.js +0 -1
- package/static/js/common-57b3628f.759d9b43.chunk.js +0 -1
- package/static/js/common-5d3107ce.9a8b5004.chunk.js +0 -1
- package/static/js/common-5d3d2886.ab8aa963.chunk.js +0 -1
- package/static/js/common-5d3f9c65.848af7da.chunk.js +0 -1
- package/static/js/common-5d692d07.07c1b91b.chunk.js +0 -1
- package/static/js/common-5d7dbd17.73ac9eba.chunk.js +0 -1
- package/static/js/common-64f07f7c.8d074243.chunk.js +0 -1
- package/static/js/common-66bb3aca.3a892bb0.chunk.js +0 -1
- package/static/js/common-6b9f87d2.84d175c9.chunk.js +0 -1
- package/static/js/common-6d108e1a.290c8df5.chunk.js +0 -1
- package/static/js/common-712bd2d8.11a50b9b.chunk.js +0 -1
- package/static/js/common-77a2a1a6.c652dc57.chunk.js +0 -1
- package/static/js/common-7b07bef1.a9af0946.chunk.js +0 -1
- package/static/js/common-7c36387c.81ab906d.chunk.js +0 -1
- package/static/js/common-7e6b5161.63e30c87.chunk.js +0 -1
- package/static/js/common-7eb22e3e.8624020e.chunk.js +0 -2
- package/static/js/common-800b323c.b427507d.chunk.js +0 -1
- package/static/js/common-88d3322f.87ce429e.chunk.js +0 -1
- package/static/js/common-88f28e38.bd192aa4.chunk.js +0 -1
- package/static/js/common-949b784d.3aa820b8.chunk.js +0 -1
- package/static/js/common-9821169d.75482d60.chunk.js +0 -1
- package/static/js/common-a0a7bb72.20805789.chunk.js +0 -1
- package/static/js/common-a263bd7d.767448a9.chunk.js +0 -1
- package/static/js/common-a4bf674c.0d204f1f.chunk.js +0 -1
- package/static/js/common-ae2b3147.8cc0412d.chunk.js +0 -2
- package/static/js/common-b2c1640e.142f699b.chunk.js +0 -1
- package/static/js/common-b62430ee.45a7fc20.chunk.js +0 -1
- package/static/js/common-b64e8376.d3533042.chunk.js +0 -1
- package/static/js/common-b6cffd1b.2625c62b.chunk.js +0 -1
- package/static/js/common-b9d649db.493b3949.chunk.js +0 -1
- package/static/js/common-bb3d84b5.14ce2ae6.chunk.js +0 -1
- package/static/js/common-bc54c07b.e6b53c5c.chunk.js +0 -1
- package/static/js/common-bcd1dcdb.1420a1d1.chunk.js +0 -1
- package/static/js/common-c0eacd06.6a23117a.chunk.js +0 -1
- package/static/js/common-c906743b.3425ca0e.chunk.js +0 -1
- package/static/js/common-d2980794.704b7514.chunk.js +0 -1
- package/static/js/common-d795c11b.bc496f64.chunk.js +0 -1
- package/static/js/common-db816fc0.72486adc.chunk.js +0 -1
- package/static/js/common-de41904d.3005e3d8.chunk.js +0 -1
- package/static/js/common-de9d892a.4afc7b3a.chunk.js +0 -1
- package/static/js/common-df87532f.d992e121.chunk.js +0 -1
- package/static/js/common-e16f82ec.f0d75c34.chunk.js +0 -1
- package/static/js/common-e6c7703c.4e4d2739.chunk.js +0 -1
- package/static/js/common-e96e9bea.fbd0373e.chunk.js +0 -1
- package/static/js/common-eb47dfcb.82060e1c.chunk.js +0 -1
- package/static/js/common-f20e867b.89d0d03e.chunk.js +0 -1
- package/static/js/common-f79d41fa.72d2f179.chunk.js +0 -1
- package/static/js/common-f991c50a.9ea24f3a.chunk.js +0 -1
- package/static/js/homepage-chunk.8917613d.chunk.js +0 -1
- package/static/js/pdp-chunk.696f85f6.chunk.js +0 -1
- package/static/js/spotlight-chunk.2a912321.chunk.js +0 -1
- package/static/js/stories-chunk.c1d3b602.chunk.js +0 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 955.e7fff1c9.chunk.js.LICENSE.txt */
|
|
2
|
+
(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[955],{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,...T}=(0,a.Lr)(t),P=(0,o.useMemo)((()=>{var t;const e=l()({},null!==(t=null==s?void 0:s._focus)&&void 0!==t?t:{},{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:e}}}),[s,n]),{ref:A,type:M}=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),j={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:null!==E&&void 0!==E?E:M,"data-active":(0,c.PB)(f),"data-loading":(0,c.PB)(d),__css:P,className:(0,c.cx)("chakra-button",C),...T},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,{...j})):o.createElement(g,{...j}),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:"".concat(d," ").concat(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")},756:function(t,e,n){"use strict";n.d(e,{MT:function(){return Os},Rg:function(){return As}});var o=n(7313),i=n(7872),r=n(5967),a=n.n(r);const s=1/60*1e3,l="undefined"!==typeof performance?()=>performance.now():()=>Date.now(),c="undefined"!==typeof window?t=>window.requestAnimationFrame(t):t=>setTimeout((()=>t(l())),s);let u=!0,d=!1,f=!1;const p={delta:0,timestamp:0},h=["read","update","preRender","render","postRender"],m=h.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}((()=>d=!0)),t)),{}),v=h.reduce(((t,e)=>{const n=m[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 d||E(),n.schedule(t,e,o)},t}),{}),g=h.reduce(((t,e)=>(t[e]=m[e].cancel,t)),{}),y=h.reduce(((t,e)=>(t[e]=()=>m[e].process(p),t)),{}),b=t=>m[t].process(p),x=t=>{d=!1,p.delta=u?s:Math.max(Math.min(t-p.timestamp,40),1),p.timestamp=t,f=!0,h.forEach(b),f=!1,d&&(u=!1,c(x))},E=()=>{d=!0,u=!0,f||c(x)},w=()=>p;var O=v;const C="undefined"!==typeof document,S=C?o.useLayoutEffect:o.useEffect;function T(){const t=(0,o.useRef)(!1);return S((()=>(t.current=!0,()=>{t.current=!1})),[]),t}const P=(0,o.createContext)(null);function A(t){const e=(0,o.useRef)(null);return null===e.current&&(e.current=t()),e.current}class M 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 j(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="'.concat(i,'"] {\n position: absolute !important;\n width: ').concat(e,"px !important;\n height: ").concat(o,"px !important;\n top: ").concat(s,"px !important;\n left: ").concat(l,"px !important;\n }\n ")),()=>{document.head.removeChild(c)}}),[n]),o.createElement(M,{isPresent:n,childRef:r,sizeRef:a},o.cloneElement(e,{ref:r}))}const R=t=>{let{children:e,initial:n,isPresent:i,onExitComplete:r,custom:a,presenceAffectsLayout:s,mode:l}=t;const c=A(V),u=(0,o.useId)(),d=(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(j,{isPresent:i},e)),o.createElement(P.Provider,{value:d},e)};function V(){return new Map}const L=(0,o.createContext)({});function k(t){return(0,o.useEffect)((()=>()=>t()),[])}const D=new Set;function N(t,e,n){t||D.has(e)||(console.warn(e),n&&console.warn(n),D.add(e))}const F=t=>t.key||"";const U=t=>{let{children:e,custom:n,initial:i=!0,onExitComplete:r,exitBeforeEnter:a,presenceAffectsLayout:s=!0,mode:l="sync"}=t;a&&(l="wait",N(!1,"Replace exitBeforeEnter with mode='wait'"));let[c]=function(){const t=T(),[e,n]=(0,o.useState)(0),i=(0,o.useCallback)((()=>{t.current&&n(e+1)}),[e]);return[(0,o.useCallback)((()=>O.postRender(i)),[i]),e]}();const u=(0,o.useContext)(L).forceRender;u&&(c=u);const d=T(),f=function(t){const e=[];return o.Children.forEach(t,(t=>{(0,o.isValidElement)(t)&&e.push(t)})),e}(e);let p=f;const h=new Set,m=(0,o.useRef)(p),v=(0,o.useRef)(new Map).current,g=(0,o.useRef)(!0);if(S((()=>{g.current=!1,function(t,e){t.forEach((t=>{const n=F(t);e.set(n,t)}))}(f,v),m.current=p})),k((()=>{g.current=!0,v.clear(),h.clear()})),g.current)return o.createElement(o.Fragment,null,p.map((t=>o.createElement(R,{key:F(t),isPresent:!0,initial:!!i&&void 0,presenceAffectsLayout:s,mode:l},t))));p=[...p];const y=m.current.map(F),b=f.map(F),x=y.length;for(let o=0;o<x;o++){const t=y[o];-1===b.indexOf(t)&&h.add(t)}return"wait"===l&&h.size&&(p=[]),h.forEach((t=>{if(-1!==b.indexOf(t))return;const e=v.get(t);if(!e)return;const i=y.indexOf(t);p.splice(i,0,o.createElement(R,{key:F(e),isPresent:!1,onExitComplete:()=>{v.delete(t),h.delete(t);const e=m.current.findIndex((e=>e.key===t));if(m.current.splice(e,1),!h.size){if(m.current=f,!1===d.current)return;c(),r&&r()}},custom:n,presenceAffectsLayout:s,mode:l},e))})),p=p.map((t=>{const e=t.key;return h.has(e)?t:o.createElement(R,{key:F(t),isPresent:!0,presenceAffectsLayout:s,mode:l},t)})),o.createElement(o.Fragment,null,h.size?p:p.map((t=>(0,o.cloneElement)(t))))},I=t=>({isEnabled:e=>t.some((t=>!!e[t]))}),_={measureLayout:I(["layout","layoutId","drag"]),animation:I(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:I(["exit"]),drag:I(["drag","dragControls"]),focus:I(["whileFocus"]),hover:I(["whileHover","onHoverStart","onHoverEnd"]),tap:I(["whileTap","onTap","onTapStart","onTapCancel"]),pan:I(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:I(["whileInView","onViewportEnter","onViewportLeave"])};const B=(0,o.createContext)({strict:!1}),z=Object.keys(_),H=z.length;const W=(0,o.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),Z=(0,o.createContext)({});const Y={current:null};let q=!1;function X(){!q&&function(){if(q=!0,C)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>Y.current=t.matches;t.addListener(e),e()}else Y.current=!1}();const[t]=(0,o.useState)(Y.current);return t}function G(t,e,n,i){const r=(0,o.useContext)(B),a=(0,o.useContext)(Z).visualElement,s=(0,o.useContext)(P),l=function(){const t=X(),{reducedMotion:e}=(0,o.useContext)(W);return"never"!==e&&("always"===e||t)}(),c=(0,o.useRef)(void 0);i||(i=r.renderer),!c.current&&i&&(c.current=i(t,{visualState:e,parent:a,props:n,presenceId:null===s||void 0===s?void 0:s.id,blockInitialAnimation:!1===(null===s||void 0===s?void 0:s.initial),shouldReduceMotion:l}));const u=c.current;return S((()=>{null===u||void 0===u||u.syncRender()})),(0,o.useEffect)((()=>{var t;null===(t=null===u||void 0===u?void 0:u.animationState)||void 0===t||t.animateChanges()})),S((()=>()=>null===u||void 0===u?void 0:u.notifyUnmount()),[]),u}function $(t){return"object"===typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function K(t){return Array.isArray(t)}function J(t){return"string"===typeof t||K(t)}function Q(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 tt(t,e,n){const o=t.getProps();return Q(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 et(t){var e;return"function"===typeof(null===(e=t.animate)||void 0===e?void 0:e.start)||J(t.initial)||J(t.animate)||J(t.whileHover)||J(t.whileDrag)||J(t.whileTap)||J(t.whileFocus)||J(t.exit)}function nt(t){return Boolean(et(t)||t.variants)}function ot(t){const{initial:e,animate:n}=function(t,e){if(et(t)){const{initial:e,animate:n}=t;return{initial:!1===e||J(e)?e:void 0,animate:J(n)?n:void 0}}return!1!==t.inherit?e:{}}(t,(0,o.useContext)(Z));return(0,o.useMemo)((()=>({initial:e,animate:n})),[it(e),it(n)])}function it(t){return Array.isArray(t)?t.join(" "):t}const rt={hasAnimatedSinceResize:!0,hasEverUpdated:!1};let at=1;const st=(0,o.createContext)({});class lt 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 ct(t){let{preloadedFeatures:e,createVisualElement:n,projectionNodeConstructor:i,useRender:r,useVisualState:a,Component:s}=t;return e&&function(t){for(const e in t)null!==t[e]&&("projectionNodeConstructor"===e?_.projectionNodeConstructor=t[e]:_[e].Component=t[e])}(e),(0,o.forwardRef)((function(t,e){const l=function(t){let{layoutId:e}=t;var n;const i=null===(n=(0,o.useContext)(L))||void 0===n?void 0:n.id;return i&&void 0!==e?i+"-"+e:e}(t);t=Object.assign(Object.assign({},t),{layoutId:l});const c=(0,o.useContext)(W);let u=null;const d=ot(t),f=c.isStatic?void 0:A((()=>{if(rt.hasEverUpdated)return at++})),p=a(t,c.isStatic);return!c.isStatic&&C&&(d.visualElement=G(s,p,Object.assign(Object.assign({},c),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)(st);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&&$(l),visualElement:n,scheduleRender:()=>n.scheduleRender(),animationType:"string"===typeof a?a:"both",initialPromotionConfig:d,layoutScroll:c}))}(f,t,d.visualElement,i||_.projectionNodeConstructor),u=function(t,e,n){const i=[];if((0,o.useContext)(B),!e)return null;for(let r=0;r<H;r++){const n=z[r],{isEnabled:a,Component:s}=_[n];a(t)&&s&&i.push(o.createElement(s,Object.assign({key:n},t,{visualElement:e})))}return i}(t,d.visualElement)),o.createElement(lt,{visualElement:d.visualElement,props:Object.assign(Object.assign({},c),t)},u,o.createElement(Z.Provider,{value:d},r(s,t,f,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):$(n)&&(n.current=o))}),[e])}(p,d.visualElement,e),p,c.isStatic,d.visualElement)))}))}function ut(t){function e(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return ct(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 dt=["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 ft(t){return"string"===typeof t&&!t.includes("-")&&!!(dt.indexOf(t)>-1||/[A-Z]/.test(t))}const pt={};const ht=["","X","Y","Z"],mt=["transformPerspective","x","y","z"];function vt(t,e){return mt.indexOf(t)-mt.indexOf(e)}["translate","scale","rotate","skew"].forEach((t=>ht.forEach((e=>mt.push(t+e)))));const gt=new Set(mt);function yt(t){return gt.has(t)}const bt=new Set(["originX","originY","originZ"]);function xt(t){return bt.has(t)}function Et(t,e){let{layout:n,layoutId:o}=e;return yt(t)||xt(t)||(n||void 0!==o)&&(!!pt[t]||"opacity"===t)}const wt=t=>Boolean(null!==t&&"object"===typeof t&&t.getVelocity),Ot={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function Ct(t){return t.startsWith("--")}const St=(t,e)=>e&&"number"===typeof t?e.transform(t):t,Tt=(t,e)=>n=>Math.max(Math.min(n,e),t),Pt=t=>t%1?Number(t.toFixed(5)):t,At=/(-)?([\d]*\.?[\d])+/g,Mt=/(#[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,jt=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Rt(t){return"string"===typeof t}const Vt=t=>({test:e=>Rt(e)&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>"".concat(e).concat(t)}),Lt=Vt("deg"),kt=Vt("%"),Dt=Vt("px"),Nt=Vt("vh"),Ft=Vt("vw"),Ut=Object.assign(Object.assign({},kt),{parse:t=>kt.parse(t)/100,transform:t=>kt.transform(100*t)}),It={test:t=>"number"===typeof t,parse:parseFloat,transform:t=>t},_t=Object.assign(Object.assign({},It),{transform:Tt(0,1)}),Bt=Object.assign(Object.assign({},It),{default:1}),zt=Object.assign(Object.assign({},It),{transform:Math.round}),Ht={borderWidth:Dt,borderTopWidth:Dt,borderRightWidth:Dt,borderBottomWidth:Dt,borderLeftWidth:Dt,borderRadius:Dt,radius:Dt,borderTopLeftRadius:Dt,borderTopRightRadius:Dt,borderBottomRightRadius:Dt,borderBottomLeftRadius:Dt,width:Dt,maxWidth:Dt,height:Dt,maxHeight:Dt,size:Dt,top:Dt,right:Dt,bottom:Dt,left:Dt,padding:Dt,paddingTop:Dt,paddingRight:Dt,paddingBottom:Dt,paddingLeft:Dt,margin:Dt,marginTop:Dt,marginRight:Dt,marginBottom:Dt,marginLeft:Dt,rotate:Lt,rotateX:Lt,rotateY:Lt,rotateZ:Lt,scale:Bt,scaleX:Bt,scaleY:Bt,scaleZ:Bt,skew:Lt,skewX:Lt,skewY:Lt,distance:Dt,translateX:Dt,translateY:Dt,translateZ:Dt,x:Dt,y:Dt,z:Dt,perspective:Dt,transformPerspective:Dt,opacity:_t,originX:Ut,originY:Ut,originZ:Dt,zIndex:zt,fillOpacity:_t,strokeOpacity:_t,numOctaves:zt};function Wt(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(Ct(p)){a[p]=t;continue}const n=Ht[p],o=St(t,n);if(yt(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 xt(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(vt);let c=!1;const u=r.length;for(let d=0;d<u;d++){const t=r[d];l+="".concat(Ot[t]||t,"(").concat(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"".concat(e," ").concat(n," ").concat(o)}(c))}const Zt=()=>({style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}});function Yt(t,e,n){for(const o in e)wt(e[o])||Et(o,n)||(t[o]=e[o])}function qt(t,e,n){let i={};return Yt(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:{}};Wt(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 Xt(t,e,n){const o={},i=qt(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-".concat("x"===t.drag?"y":"x")),o.style=i,o}const Gt=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 $t(t){return Gt.has(t)}let Kt=t=>!$t(t);try{(Jt=require("@emotion/is-prop-valid").default)&&(Kt=t=>t.startsWith("on")?!$t(t):Jt(t))}catch(Ms){}var Jt;function Qt(t,e,n){const o={};for(const i in t)(Kt(i)||!0===n&&$t(i)||!e&&!$t(i)||t.draggable&&i.startsWith("onDrag"))&&(o[i]=t[i]);return o}var te=n(6797);function ee(t,e,n){return"string"===typeof t?t:Dt.transform(e+n*t)}const ne={offset:"stroke-dashoffset",array:"stroke-dasharray"},oe={offset:"strokeDashoffset",array:"strokeDasharray"};function ie(t,e,n,o){var{attrX:i,attrY:r,originX:a,originY:s,pathLength:l,pathSpacing:c=1,pathOffset:u=0}=e;Wt(t,(0,te._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){const o=ee(e,t.x,t.width),i=ee(n,t.y,t.height);return"".concat(o," ").concat(i)}(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?ne:oe;t[r.offset]=Dt.transform(-o);const a=Dt.transform(e),s=Dt.transform(n);t[r.array]="".concat(a," ").concat(s)}(d,l,c,u,!1)}const re=()=>Object.assign(Object.assign({},{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}),{attrs:{}});function ae(t,e){const n=(0,o.useMemo)((()=>{const n=re();return ie(n,e,{enableHardwareAcceleration:!1},t.transformTemplate),Object.assign(Object.assign({},n.attrs),{style:Object.assign({},n.style)})}),[e]);if(t.style){const e={};Yt(e,t.style,t),n.style=Object.assign(Object.assign({},e),n.style)}return n}function se(){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=(ft(e)?ae:Xt)(n,l,s),u=Qt(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 le=/([a-z])([A-Z])/g,ce=t=>t.replace(le,"$1-$2").toLowerCase();function ue(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 de=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function fe(t,e,n,o){ue(t,e,void 0,o);for(const i in e.attrs)t.setAttribute(de.has(i)?i:ce(i),e.attrs[i])}function pe(t){const{style:e}=t,n={};for(const o in e)(wt(e[o])||Et(o,t))&&(n[o]=e[o]);return n}function he(t){const e=pe(t);for(const n in t)if(wt(t[n])){e["x"===n||"y"===n?"attr"+n.toUpperCase():n]=t[n]}return e}function me(t){return"object"===typeof t&&"function"===typeof t.start}const ve=t=>Array.isArray(t),ge=t=>ve(t)?t[t.length-1]||0:t;function ye(t){const e=wt(t)?t.get():t;return n=e,Boolean(n&&"object"===typeof n&&n.mix&&n.toValue)?e.toValue():e;var n}function be(t,e,n,o){let{scrapeMotionValuesFromProps:i,createRenderState:r,onMount:a}=t;const s={latestValues:Ee(e,n,o,i),renderState:r()};return a&&(s.mount=t=>a(e,t,s)),s}const xe=t=>(e,n)=>{const i=(0,o.useContext)(Z),r=(0,o.useContext)(P);return n?be(t,e,i,r):A((()=>be(t,e,i,r)))};function Ee(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]=ye(a[p]);let{initial:s,animate:l}=t;const c=et(t),u=nt(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&&!me(f)){(Array.isArray(f)?f:[f]).forEach((e=>{const n=Q(t,e);if(!n)return;const{transitionEnd:o,transition:r}=n,a=(0,te._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 we={useVisualState:xe({scrapeMotionValuesFromProps:he,createRenderState:re,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}}ie(o,i,{enableHardwareAcceleration:!1},t.transformTemplate),fe(e,o)}})},Oe={useVisualState:xe({scrapeMotionValuesFromProps:pe,createRenderState:Zt})};var Ce;function Se(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 Te(t,e,n,i){(0,o.useEffect)((()=>{const o=t.current;if(n&&o)return Se(o,e,n,i)}),[t,e,n,i])}function Pe(t){return"undefined"!==typeof PointerEvent&&t instanceof PointerEvent?!("mouse"!==t.pointerType):t instanceof MouseEvent}function Ae(t){return!!t.touches}function Me(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"}(Ce||(Ce={}));const je={pageX:0,pageY:0};function Re(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"page";const n=t.touches[0]||t.changedTouches[0],o=n||je;return{x:o[e+"X"],y:o[e+"Y"]}}function Ve(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"page";return{x:t[e+"X"],y:t[e+"Y"]}}function Le(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"page";return{point:Ae(t)?Re(t,e):Ve(t,e)}}const ke=function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=e=>t(e,Le(e));return e?Me(n):n},De={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},Ne={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function Fe(t){return C&&null===window.onpointerdown?t:C&&null===window.ontouchstart?Ne[t]:C&&null===window.onmousedown?De[t]:t}function Ue(t,e,n,o){return Se(t,Fe(e),ke(n,"pointerdown"===e),o)}function Ie(t,e,n,o){return Te(t,Fe(e),n&&ke(n,"pointerdown"===e),o)}function _e(t){let e=null;return()=>{const n=()=>{e=null};return null===e&&(e=t,n)}}const Be=_e("dragHorizontal"),ze=_e("dragVertical");function He(t){let e=!1;if("y"===t)e=ze();else if("x"===t)e=Be();else{const t=Be(),n=ze();t&&n?e=()=>{t(),n()}:(t&&t(),n&&n())}return e}function We(){const t=He(!0);return!t||(t(),!1)}function Ze(t,e,n){return(o,i)=>{var r;Pe(o)&&!We()&&(null===(r=t.animationState)||void 0===r||r.setActive(Ce.Hover,e),null===n||void 0===n||n(o,i))}}const Ye=(t,e)=>!!e&&(t===e||Ye(t,e.parentElement)),qe=(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(qe)};const Ge=new WeakMap,$e=new WeakMap,Ke=t=>{var e;null===(e=Ge.get(t.target))||void 0===e||e(t)},Je=t=>{t.forEach(Ke)};function Qe(t,e,n){const o=function(t){var{root:e}=t,n=(0,te._T)(t,["root"]);const o=e||document;$e.has(o)||$e.set(o,{});const i=$e.get(o),r=JSON.stringify(n);return i[r]||(i[r]=new IntersectionObserver(Je,Object.assign({root:e},n))),i[r]}(e);return Ge.set(t,n),o.observe(t),()=>{Ge.delete(t),o.unobserve(t)}}const tn={some:0,all:1};function en(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:tn[s]};return Qe(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(Ce.InView,i);const r=n.getProps(),a=i?r.onViewportEnter:r.onViewportLeave;null===a||void 0===a||a(t)}))}),[t,r,a,s])}function nn(t,e,n,i){let{fallback:r=!0}=i;(0,o.useEffect)((()=>{t&&r&&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(Ce.InView,!0)}))}),[t])}const on=t=>e=>(t(e),null),rn={inView:on((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?nn:en)(l,s.current,e,a)})),tap:on((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(Ce.Tap,!1),!We()}function p(t,n){f()&&(Ye(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(Ue(window,"pointerup",p,u),Ue(window,"pointercancel",h,u)),null===(o=a.animationState)||void 0===o||o.setActive(Ce.Tap,!0),null===n||void 0===n||n(t,e))}Ie(a,"pointerdown",s?m:void 0,u),k(d)})),focus:on((function(t){let{whileFocus:e,visualElement:n}=t;Te(n,"focus",e?()=>{var t;null===(t=n.animationState)||void 0===t||t.setActive(Ce.Focus,!0)}:void 0),Te(n,"blur",e?()=>{var t;null===(t=n.animationState)||void 0===t||t.setActive(Ce.Focus,!1)}:void 0)})),hover:on((function(t){let{onHoverStart:e,onHoverEnd:n,whileHover:o,visualElement:i}=t;Ie(i,"pointerenter",e||o?Ze(i,!0,e):void 0,{passive:!e}),Ie(i,"pointerleave",n||o?Ze(i,!1,n):void 0,{passive:!n})}))};function an(){const t=(0,o.useContext)(P);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 sn(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 ln=(t,e,n)=>Math.min(Math.max(n,t),e),cn=.001;function un(t){let e,n,{duration:o=800,bounce:i=.25,velocity:r=0,mass:a=1}=t,s=1-i;s=ln(.05,1,s),o=ln(.01,10,o/1e3),s<1?(e=t=>{const e=t*s,n=e*o,i=e-r,a=dn(t,s),l=Math.exp(-n);return cn-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=dn(Math.pow(t,2),s);return(-e(t)+cn>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 dn(t,e){return t*Math.sqrt(1-e*e)}const fn=["duration","bounce"],pn=["stiffness","damping","mass"];function hn(t,e){return e.some((e=>void 0!==t[e]))}function mn(t){var{from:e=0,to:n=1,restSpeed:o=2,restDelta:i}=t,r=(0,te._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(!hn(t,pn)&&hn(t,fn)){const n=un(t);e=Object.assign(Object.assign(Object.assign({},e),n),{velocity:0,mass:1}),e.isResolvedFromDuration=!0}return e}(r),p=vn,h=vn;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=dn(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()}}}mn.needsInterpolation=(t,e)=>"string"===typeof t||"string"===typeof e;const vn=t=>0,gn=(t,e,n)=>{const o=e-t;return 0===o?1:(n-t)/o},yn=(t,e,n)=>-n*t+n*e+t,bn=(t,e)=>n=>Boolean(Rt(n)&&jt.test(n)&&n.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(n,e)),xn=(t,e,n)=>o=>{if(!Rt(o))return o;const[i,r,a,s]=o.match(At);return{[t]:parseFloat(i),[e]:parseFloat(r),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},En=Tt(0,255),wn=Object.assign(Object.assign({},It),{transform:t=>Math.round(En(t))}),On={test:bn("rgb","red"),parse:xn("red","green","blue"),transform:t=>{let{red:e,green:n,blue:o,alpha:i=1}=t;return"rgba("+wn.transform(e)+", "+wn.transform(n)+", "+wn.transform(o)+", "+Pt(_t.transform(i))+")"}};const Cn={test:bn("#"),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:On.transform},Sn={test:bn("hsl","hue"),parse:xn("hue","saturation","lightness"),transform:t=>{let{hue:e,saturation:n,lightness:o,alpha:i=1}=t;return"hsla("+Math.round(e)+", "+kt.transform(Pt(n))+", "+kt.transform(Pt(o))+", "+Pt(_t.transform(i))+")"}};function Tn(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 Pn(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=Tn(i,t,e+1/3),a=Tn(i,t,e),s=Tn(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 An=(t,e,n)=>{const o=t*t,i=e*e;return Math.sqrt(Math.max(0,n*(i-o)+o))},Mn=[Cn,On,Sn],jn=t=>Mn.find((e=>e.test(t))),Rn=t=>"'".concat(t,"' is not an animatable color. Use the equivalent color code instead."),Vn=(t,e)=>{let n=jn(t),o=jn(e);Rn(t),Rn(e);let i=n.parse(t),r=o.parse(e);n===Sn&&(i=Pn(i),n=On),o===Sn&&(r=Pn(r),o=On);const a=Object.assign({},i);return t=>{for(const e in a)"alpha"!==e&&(a[e]=An(i[e],r[e],t));return a.alpha=yn(i.alpha,r.alpha,t),n.transform(a)}},Ln={test:t=>On.test(t)||Cn.test(t)||Sn.test(t),parse:t=>On.test(t)?On.parse(t):Sn.test(t)?Sn.parse(t):Cn.parse(t),transform:t=>Rt(t)?t:t.hasOwnProperty("red")?On.transform(t):Sn.transform(t)},kn="${c}",Dn="${n}";function Nn(t){"number"===typeof t&&(t="".concat(t));const e=[];let n=0;const o=t.match(Mt);o&&(n=o.length,t=t.replace(Mt,kn),e.push(...o.map(Ln.parse)));const i=t.match(At);return i&&(t=t.replace(At,Dn),e.push(...i.map(It.parse))),{values:e,numColors:n,tokenised:t}}function Fn(t){return Nn(t).values}function Un(t){const{values:e,numColors:n,tokenised:o}=Nn(t),i=e.length;return t=>{let e=o;for(let o=0;o<i;o++)e=e.replace(o<n?kn:Dn,o<n?Ln.transform(t[o]):Pt(t[o]));return e}}const In=t=>"number"===typeof t?0:t;const _n={test:function(t){var e,n,o,i;return isNaN(t)&&Rt(t)&&(null!==(n=null===(e=t.match(At))||void 0===e?void 0:e.length)&&void 0!==n?n:0)+(null!==(i=null===(o=t.match(Mt))||void 0===o?void 0:o.length)&&void 0!==i?i:0)>0},parse:Fn,createTransformer:Un,getAnimatableNone:function(t){const e=Fn(t);return Un(t)(e.map(In))}},Bn=t=>"number"===typeof t;function zn(t,e){return Bn(t)?n=>yn(t,e,n):Ln.test(t)?Vn(t,e):Yn(t,e)}const Hn=(t,e)=>{const n=[...t],o=n.length,i=t.map(((t,n)=>zn(t,e[n])));return t=>{for(let e=0;e<o;e++)n[e]=i[e](t);return n}},Wn=(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]=zn(t[i],e[i]));return t=>{for(const e in o)n[e]=o[e](t);return n}};function Zn(t){const e=_n.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 Yn=(t,e)=>{const n=_n.createTransformer(e),o=Zn(t),i=Zn(e);return o.numHSL===i.numHSL&&o.numRGB===i.numRGB&&o.numNumbers>=i.numNumbers?Xe(Hn(o.parsed,i.parsed),n):("Complex values '".concat(t,"' and '").concat(e,"' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition."),n=>"".concat(n>0?e:t))},qn=(t,e)=>n=>yn(t,e,n);function Xn(t,e,n){const o=[],i=n||("number"===typeof(r=t[0])?qn:"string"===typeof r?Ln.test(r)?Vn:Yn:Array.isArray(r)?Hn:"object"===typeof r?Wn: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 Gn(t,e){let[n,o]=t,[i]=e;return t=>i(gn(n,o,t))}function $n(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=gn(t[r],t[r+1],i);return e[r](s)}}function Kn(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=Xn(e,o,i),s=2===r?Gn(t,a):$n(t,a);return n?e=>s(ln(t[0],t[r-1],e)):s}const Jn=t=>e=>1-t(1-e),Qn=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,to=t=>e=>e*e*((t+1)*e-t),eo=t=>t,no=(oo=2,t=>Math.pow(t,oo));var oo;const io=Jn(no),ro=Qn(no),ao=t=>1-Math.sin(Math.acos(t)),so=Jn(ao),lo=Qn(so),co=to(1.525),uo=Jn(co),fo=Qn(co),po=(t=>{const e=to(t);return t=>(t*=2)<1?.5*e(t):.5*(2-Math.pow(2,-10*(t-1)))})(1.525),ho=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},mo=Jn(ho);function vo(t,e){return t.map((()=>e||ro)).splice(0,t.length-1)}function go(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 Kn(l,s,{ease:Array.isArray(o)?o:vo(s,o)})}let u=c();return{next:t=>(a.value=u(t),a.done=t>=r,a),flipTarget:()=>{s.reverse(),u=c()}}}const yo={keyframes:go,spring:mn,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 bo=1/60*1e3,xo="undefined"!==typeof performance?()=>performance.now():()=>Date.now(),Eo="undefined"!==typeof window?t=>window.requestAnimationFrame(t):t=>setTimeout((()=>t(xo())),bo);let wo=!0,Oo=!1,Co=!1;const So={delta:0,timestamp:0},To=["read","update","preRender","render","postRender"],Po=To.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}((()=>Oo=!0)),t)),{}),Ao=To.reduce(((t,e)=>{const n=Po[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 Oo||Vo(),n.schedule(t,e,o)},t}),{}),Mo=To.reduce(((t,e)=>(t[e]=Po[e].cancel,t)),{}),jo=(To.reduce(((t,e)=>(t[e]=()=>Po[e].process(So),t)),{}),t=>Po[t].process(So)),Ro=t=>{Oo=!1,So.delta=wo?bo:Math.max(Math.min(t-So.timestamp,40),1),So.timestamp=t,Co=!0,To.forEach(jo),Co=!1,Oo&&(wo=!1,Eo(Ro))},Vo=()=>{Oo=!0,wo=!0,Co||Eo(Ro)};var Lo=Ao;function ko(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return t-e-n}const Do=t=>{const e=e=>{let{delta:n}=e;return t(n)};return{start:()=>Lo.update(e,!0),stop:()=>Mo.update(e)}};function No(t){var e,n,{from:o,autoplay:i=!0,driver:r=Do,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,te._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 go;if(yo[t.type])return yo[t.type];const e=new Set(Object.keys(t));return e.has("ease")||e.has("duration")&&!e.has("dampingRatio")?go:e.has("dampingRatio")||e.has("stiffness")||e.has("mass")||e.has("damping")||e.has("restSpeed")||e.has("restDelta")?mn:go}(m);(null===(n=(e=C).needsInterpolation)||void 0===n?void 0:n.call(e,o,b))&&(y=Kn([0,100],[o,b],{clamp:!1}),o=0,b=100);const S=C(Object.assign(Object.assign({},m),{from:o,to:b}));function T(){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:ko(e+-t,e,n)}(a,E,c,O)):(a=ko(a,E,c),"mirror"===l&&S.flipTarget()),w=!1,p&&p()}function P(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)&&T():(v.stop(),f&&f()))}return i&&(null===u||void 0===u||u(),v=r(P),v.start()),{stop:()=>{null===d||void 0===d||d(),v.stop()}}}function Fo(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=No(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=Fo(t-l,So.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 Io=t=>1e3*t,_o=(t,e)=>1-3*e+3*t,Bo=(t,e)=>3*e-6*t,zo=t=>3*t,Ho=(t,e,n)=>((_o(e,n)*t+Bo(e,n))*t+zo(e))*t,Wo=(t,e,n)=>3*_o(e,n)*t*t+2*Bo(e,n)*t+zo(e);const Zo=.1;function Yo(t,e,n,o){if(t===e&&n===o)return eo;const i=new Float32Array(11);for(let a=0;a<11;++a)i[a]=Ho(a*Zo,t,n);function r(e){let o=0,r=1;for(;10!==r&&i[r]<=e;++r)o+=Zo;--r;const a=o+(e-i[r])/(i[r+1]-i[r])*Zo,s=Wo(a,t,n);return s>=.001?function(t,e,n,o){for(let i=0;i<8;++i){const i=Wo(e,n,o);if(0===i)return e;e-=(Ho(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=Ho(a,o,i)-t,r>0?n=a:e=a}while(Math.abs(r)>1e-7&&++s<10);return a}(e,o,o+Zo,t,n)}return t=>0===t||1===t?t:Ho(r(t),e,o)}const qo={linear:eo,easeIn:no,easeInOut:ro,easeOut:io,circIn:ao,circInOut:lo,circOut:so,backIn:co,backInOut:fo,backOut:uo,anticipate:po,bounceIn:mo,bounceInOut:t=>t<.5?.5*(1-ho(1-2*t)):.5*ho(2*t-1)+.5,bounceOut:ho},Xo=t=>{if(Array.isArray(t)){t.length;const[e,n,o,i]=t;return Yo(e,n,o,i)}return"string"===typeof t?("Invalid easing type '".concat(t,"'"),qo[t]):t},Go=(t,e)=>"zIndex"!==t&&(!("number"!==typeof e&&!Array.isArray(e))||!("string"!==typeof e||!_n.test(e)||e.startsWith("url("))),$o=()=>({type:"spring",stiffness:500,damping:25,restSpeed:10}),Ko=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),Jo=()=>({type:"keyframes",ease:"linear",duration:.3}),Qo=t=>({type:"keyframes",duration:.8,values:t}),ti={x:$o,y:$o,z:$o,rotate:$o,rotateX:$o,rotateY:$o,rotateZ:$o,scaleX:Ko,scaleY:Ko,scale:Ko,opacity:Jo,backgroundColor:Jo,color:Jo,default:Ko},ei=new Set(["brightness","contrast","saturate","opacity"]);function ni(t){let[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;const[o]=n.match(At)||[];if(!o)return t;const i=n.replace(o,"");let r=ei.has(e)?1:0;return o!==n&&(r*=100),e+"("+r+i+")"}const oi=/([a-z-]*)\(.*?\)/g,ii=Object.assign(Object.assign({},_n),{getAnimatableNone:t=>{const e=t.match(oi);return e?e.map(ni).join(" "):t}}),ri=Object.assign(Object.assign({},Ht),{color:Ln,backgroundColor:Ln,outlineColor:Ln,fill:Ln,stroke:Ln,borderColor:Ln,borderTopColor:Ln,borderRightColor:Ln,borderBottomColor:Ln,borderLeftColor:Ln,filter:ii,WebkitFilter:ii}),ai=t=>ri[t];function si(t,e){var n;let o=ai(t);return o!==ii&&(o=_n),null===(n=o.getAnimatableNone)||void 0===n?void 0:n.call(o,e)}const li=!1;let ci=!1;function ui(t){var{ease:e,times:n,yoyo:o,flip:i,loop:r}=t,a=(0,te._T)(t,["ease","times","yoyo","flip","loop"]);const s=Object.assign({},a);return n&&(s.offset=n),a.duration&&(s.duration=Io(a.duration)),a.repeatDelay&&(s.repeatDelay=Io(a.repeatDelay)),e&&(s.ease=(t=>Array.isArray(t)&&"number"!==typeof t[0])(e)?e.map(Xo):Xo(e)),"tween"===a.type&&(s.type="keyframes"),(o||r||i)&&(ci=!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 di(t,e){var n,o;return null!==(o=null!==(n=(vi(t,e)||{}).delay)&&void 0!==n?n:t.delay)&&void 0!==o?o:0}function fi(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,te._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=ve(e)?Qo:ti[t]||ti.default,Object.assign({to:e},n(e))})(n,e.to))),Object.assign(Object.assign({},e),ui(t))}function pi(t,e,n,o,i){var r;const a=vi(o,t);let s=null!==(r=a.from)&&void 0!==r?r:e.get();const l=Go(t,n);"none"===s&&l&&"string"===typeof n?s=si(t,n):hi(s)&&"string"===typeof n?s=mi(n):!Array.isArray(n)&&hi(n)&&"string"===typeof s&&(n=mi(s));const c=Go(t,s);return"You are trying to animate ".concat(t,' from "').concat(s,'" to "').concat(n,'". ').concat(s," is not an animatable value - to enable this animation set ").concat(s," to a value animatable to ").concat(n," via the `style` property."),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)):No(Object.assign(Object.assign({},fi(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=ge(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 hi(t){return 0===t||"string"===typeof t&&0===parseFloat(t)&&-1===t.indexOf(" ")}function mi(t){return"number"===typeof t?0:si("",t)}function vi(t,e){return t[e]||t.default||t}function gi(t,e,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return li&&(o={type:!1}),e.start((i=>{let r,a;const s=pi(t,e,n,o,i),l=di(o,t),c=()=>a=s();return l?r=window.setTimeout(c,Io(l)):c(),()=>{clearTimeout(r),null===a||void 0===a||a.stop()}}))}const yi=t=>/^0[^.\s]+$/.test(t);function bi(t,e){-1===t.indexOf(e)&&t.push(e)}function xi(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class Ei{constructor(){this.subscriptions=[]}add(t){return bi(this.subscriptions,t),()=>xi(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 wi{constructor(t){var e,n=this;this.version="7.2.0",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new Ei,this.velocityUpdateSubscribers=new Ei,this.renderSubscribers=new Ei,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}=w();n.lastUpdated!==i&&(n.timeDelta=o,n.lastUpdated=i,O.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.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?Fo(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 Oi(t){return new wi(t)}const Ci=t=>e=>e.test(t),Si=[It,Dt,kt,Lt,Ft,Nt,{test:t=>"auto"===t,parse:t=>t}],Ti=t=>Si.find(Ci(t)),Pi=[...Si,Ln,_n],Ai=t=>Pi.find(Ci(t));function Mi(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,Oi(n))}function ji(t,e){const n=tt(t,e);let o=n?t.makeTargetAnimatable(n,!1):{},{transitionEnd:i={},transition:r={}}=o,a=(0,te._T)(o,["transitionEnd","transition"]);a=Object.assign(Object.assign({},a),i);for(const s in a){Mi(t,s,ge(a[s]))}}function Ri(t,e){if(!e)return;return(e[t]||e.default||e).from}function Vi(t){return Boolean(wt(t)&&t.add)}function Li(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};var o;const i=tt(t,e,n.custom);let{transition:r=t.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(r=n.transitionOverride);const a=i?()=>ki(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 Di(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 ki(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,te._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&&Fi(f,p))continue;let i=Object.assign({delay:n},s);t.shouldReduceMotion&&yt(p)&&(i=Object.assign(Object.assign({},i),{type:!1,delay:0}));let r=gi(p,e,o,i);Vi(u)&&(u.add(p),r=r.then((()=>u.remove(p)))),d.push(r)}return Promise.all(d).then((()=>{l&&ji(t,l)}))}function Di(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(Ni).forEach(((t,o)=>{a.push(Li(t,e,Object.assign(Object.assign({},r),{delay:n+l(o)})).then((()=>t.notifyAnimationComplete(e))))})),Promise.all(a)}function Ni(t,e){return t.sortNodePosition(e)}function Fi(t,e){let{protectedKeys:n,needsAnimating:o}=t;const i=n.hasOwnProperty(e)&&!0!==o[e];return o[e]=!1,i}const Ui=[Ce.Animate,Ce.InView,Ce.Focus,Ce.Hover,Ce.Tap,Ce.Drag,Ce.Exit],Ii=[...Ui].reverse(),_i=Ui.length;function Bi(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=>Li(t,e,o)));n=Promise.all(i)}else if("string"===typeof e)n=Li(t,e,o);else{const i="function"===typeof e?tt(t,e,o.custom):e;n=ki(t,i,o)}return n.then((()=>t.notifyAnimationComplete(e)))}(t,n,o)})))}function zi(t){let e=Bi(t);const n={[Ce.Animate]:Wi(!0),[Ce.InView]:Wi(),[Ce.Hover]:Wi(),[Ce.Tap]:Wi(),[Ce.Drag]:Wi(),[Ce.Focus]:Wi(),[Ce.Exit]:Wi()};let o=!0;const i=(e,n)=>{const o=tt(t,n);if(o){const{transition:t,transitionEnd:n}=o,i=(0,te._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<_i;e++){const h=Ii[e],m=n[h],v=null!==(s=l[h])&&void 0!==s?s:c[h],g=J(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||me(v)||"boolean"===typeof v)continue;const x=Hi(m.prevProp,v);let E=x||h===a&&m.isActive&&!b&&g||e>p&&g;const w=Array.isArray(v)?v:[v];let O=w.reduce(i,{});!1===y&&(O={});const{prevResolvedValues:C={}}=m,S=Object.assign(Object.assign({},C),O),T=t=>{E=!0,d.delete(t),m.needsAnimating[t]=!0};for(const t in S){const e=O[t],n=C[t];f.hasOwnProperty(t)||(e!==n?ve(e)&&ve(n)?!sn(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=O,m.isActive&&(f=Object.assign(Object.assign({},f),O)),o&&t.blockInitialAnimation&&(E=!1),E&&!b&&u.push(...w.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 Hi(t,e){return"string"===typeof e?e!==t:!!K(e)&&!sn(e,t)}function Wi(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}const Zi={animation:on((t=>{let{visualElement:e,animate:n}=t;e.animationState||(e.animationState=zi(e)),me(n)&&(0,o.useEffect)((()=>n.subscribe(e)),[n])})),exit:on((t=>{const{custom:e,visualElement:n}=t,[i,r]=an(),a=(0,o.useContext)(P);(0,o.useEffect)((()=>{var t,o;n.isPresent=i;const s=null===(t=n.animationState)||void 0===t?void 0:t.setActive(Ce.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])}))},Yi=t=>t.hasOwnProperty("x")&&t.hasOwnProperty("y"),qi=t=>Yi(t)&&t.hasOwnProperty("z"),Xi=(t,e)=>Math.abs(t-e);function Gi(t,e){if(Bn(t)&&Bn(e))return Xi(t,e);if(Yi(t)&&Yi(e)){const n=Xi(t.x,e.x),o=Xi(t.y,e.y),i=qi(t)&&qi(e)?Xi(t.z,e.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(o,2)+Math.pow(i,2))}}class $i{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=Qi(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,n=Gi(t.offset,{x:0,y:0})>=3;if(!e&&!n)return;const{point:o}=t,{timestamp:i}=w();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=Ki(e,this.transformPagePoint),Pe(t)&&0===t.buttons?this.handlePointerUp(t,e):O.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();const{onEnd:n,onSessionEnd:o}=this.handlers,i=Qi(Ki(e,this.transformPagePoint),this.history);this.startEvent&&n&&n(t,i),o&&o(t,i)},Ae(t)&&t.touches.length>1)return;this.handlers=e,this.transformPagePoint=n;const o=Ki(Le(t),this.transformPagePoint),{point:i}=o,{timestamp:r}=w();this.history=[Object.assign(Object.assign({},i),{timestamp:r})];const{onSessionStart:a}=e;a&&a(t,Qi(o,this.history)),this.removeListeners=Xe(Ue(window,"pointermove",this.handlePointerMove),Ue(window,"pointerup",this.handlePointerUp),Ue(window,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),g.update(this.updatePoint)}}function Ki(t,e){return e?{point:e(t.point)}:t}function Ji(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Qi(t,e){let{point:n}=t;return{point:n,delta:Ji(n,er(e)),offset:Ji(n,tr(e)),velocity:nr(e,.1)}}function tr(t){return t[0]}function er(t){return t[t.length-1]}function nr(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,o=null;const i=er(t);for(;n>=0&&(o=t[n],!(i.timestamp-o.timestamp>Io(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 or(t){return t.max-t.min}function ir(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 Gi(t,e)<n}function rr(t,e,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5;t.origin=o,t.originPoint=yn(e.min,e.max,t.origin),t.scale=or(n)/or(e),(ir(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=yn(n.min,n.max,t.origin)-t.originPoint,(ir(t.translate)||isNaN(t.translate))&&(t.translate=0)}function ar(t,e,n,o){rr(t.x,e.x,n.x,null===o||void 0===o?void 0:o.originX),rr(t.y,e.y,n.y,null===o||void 0===o?void 0:o.originY)}function sr(t,e,n){t.min=n.min+e.min,t.max=t.min+or(e)}function lr(t,e,n){t.min=e.min-n.min,t.max=t.min+or(e)}function cr(t,e,n){lr(t.x,e.x,n.x),lr(t.y,e.y,n.y)}function ur(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 dr(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 fr=.35;function pr(t,e,n){return{min:hr(t,e),max:hr(t,n)}}function hr(t,e){var n;return"number"===typeof t?t:null!==(n=t[e])&&void 0!==n?n:0}function mr(t){return[t("x"),t("y")]}function vr(t){let{top:e,left:n,right:o,bottom:i}=t;return{x:{min:n,max:o},y:{min:e,max:i}}}function gr(t){return void 0===t||1===t}function yr(t){let{scale:e,scaleX:n,scaleY:o}=t;return!gr(e)||!gr(n)||!gr(o)}function br(t){return yr(t)||xr(t.x)||xr(t.y)||t.z||t.rotate||t.rotateX||t.rotateY}function xr(t){return t&&"0%"!==t}function Er(t,e,n){return n+e*(t-n)}function wr(t,e,n,o,i){return void 0!==i&&(t=Er(t,i,o)),Er(t,n,o)+e}function Or(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=wr(t.min,e,n,o,i),t.max=wr(t.max,e,n,o,i)}function Cr(t,e){let{x:n,y:o}=e;Or(t.x,n.translate,n.scale,n.originPoint),Or(t.y,o.translate,o.scale,o.originPoint)}function Sr(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=yn(t.min,t.max,a);Or(t,e[o],e[i],s,e.scale)}const Pr=["x","scaleX","originX"],Ar=["y","scaleY","originY"];function Mr(t,e){Tr(t.x,e,Pr),Tr(t.y,e,Ar)}function jr(t,e){return vr(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 Vr{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 $i(t,{onSessionStart:t=>{this.stopAnimation(),e&&this.snapToCursor(Le(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),mr((t=>{var e,n;let o=this.getAxisMotionValue(t).get()||0;if(kt.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=or(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(Ce.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(Ce.Drag,!1)}updateAxis(t,e,n){const{drag:o}=this.getProps();if(!n||!Lr(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?yn(o,t,n.min):Math.max(t,o):void 0!==i&&t>i&&(t=n?yn(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&&$(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:ur(t.x,o,r),y:ur(t.y,n,i)}}(n.actual,t),this.elastic=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:fr;return!1===t?t=0:!0===t&&(t=fr),{x:pr(t,"left","right"),y:pr(t,"top","bottom")}}(e),o!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&mr((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||!$(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=jr(t,n),{scroll:i}=e;return i&&(Sr(o.x,i.x),Sr(o.y,i.y)),o}(n,o.root,this.visualElement.getTransformPagePoint());let r=function(t,e){return{x:dr(t.x,e.x),y:dr(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=vr(t))}return r}startAnimation(t){const{drag:e,dragMomentum:n,dragElastic:o,dragTransition:i,dragSnapToOrigin:r,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=mr((a=>{var l;if(!Lr(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 gi(t,this.getAxisMotionValue(t),0,e)}stopAnimation(){mr((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){mr((e=>{const{drag:n}=this.getProps();if(!Lr(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]-yn(n,r,.5))}}))}scalePositionWithinConstraints(){var t;const{drag:e,dragConstraints:n}=this.getProps(),{projection:o}=this.visualElement;if(!$(n)||!o||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};mr((t=>{const e=this.getAxisMotionValue(t);if(e){const n=e.get();i[t]=function(t,e){let n=.5;const o=or(t),i=or(e);return i>o?n=gn(e.min,e.max-o,t.min):o>i&&(n=gn(t.min,t.max-i,e.min)),ln(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(),mr((t=>{if(!Lr(t,e,null))return;const n=this.getAxisMotionValue(t),{min:o,max:r}=this.constraints[t];n.set(yn(o,r,i[t]))}))}addListeners(){var t;Rr.set(this.visualElement,this);const e=Ue(this.visualElement.getInstance(),"pointerdown",(t=>{const{drag:e,dragListener:n=!0}=this.getProps();e&&n&&this.start(t)})),n=()=>{const{dragConstraints:t}=this.getProps();$(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=Se(window,"resize",(()=>this.scalePositionWithinConstraints())),a=o.addEventListener("didUpdate",(t=>{let{delta:e,hasLayoutChanged:n}=t;this.isDragging&&n&&(mr((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=fr,dragMomentum:a=!0}=t;return Object.assign(Object.assign({},t),{drag:e,dragDirectionLock:n,dragPropagation:o,dragConstraints:i,dragElastic:r,dragMomentum:a})}}function Lr(t,e,n){return(!0===e||e===t)&&(null===n||n===t)}const kr={pan:on((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)(W),u={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(u)})),Ie(a,"pointerdown",s&&function(t){l.current=new $i(t,u,{transformPagePoint:c})}),k((()=>l.current&&l.current.end()))})),drag:on((function(t){const{dragControls:e,visualElement:n}=t,i=A((()=>new Vr(n)));(0,o.useEffect)((()=>e&&e.subscribe(i)),[i,e]),(0,o.useEffect)((()=>i.addListeners()),[i])}))},Dr=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"];function Nr(){const t=Dr.map((()=>new Ei)),e={},n={clearAllListeners:()=>t.forEach((t=>t.clear())),updatePropListeners:t=>{Dr.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"+Dr[e]]=e=>t.add(e),n["notify"+Dr[e]]=function(){return t.notify(...arguments)}})),n}function Fr(t,e,n){var o;const{willChange:i}=e;for(const r in e){const a=e[r],s=n[r];if(wt(a))t.addValue(r,a),Vi(i)&&i.add(r);else if(wt(s))t.addValue(r,Oi(a)),Vi(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,Oi(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 Ur=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,y=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},b=!1;const{latestValues:x,renderState:E}=m;let w;const C=Nr(),S=new Map,T=new Map;let P={};const A=Object.assign({},x);let M;function j(){w&&b&&(R(),a(w,E,f.style,I.projection))}function R(){n(I,E,x,y,f)}function V(){C.notifyUpdate(x)}function L(t,e){const n=e.onChange((e=>{x[t]=e,f.onUpdate&&O.update(V,!1,!0)})),o=e.onRenderRequest(I.scheduleRender);T.set(t,(()=>{n(),o()}))}const k=u(f),{willChange:D}=k,N=(0,te._T)(k,["willChange"]);for(const e in N){const t=N[e];void 0!==x[e]&&wt(t)&&(t.set(x[e],!1),Vi(D)&&D.add(e))}const F=et(f),U=nt(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:U?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){b=!0,w=I.current=t,I.projection&&I.projection.mount(t),U&&d&&!F&&(M=null===d||void 0===d?void 0:d.addVariantChild(I)),S.forEach(((t,e)=>L(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(),g.update(V),g.render(j),T.forEach((t=>t())),null===M||void 0===M||M(),null===d||void 0===d||d.children.delete(I),C.clearAllListeners(),w=void 0,b=!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:()=>U?I:null===d||void 0===d?void 0:d.getClosestVariantNode(),getLayoutId:()=>f.layoutId,getInstance:()=>w,getStaticValue:t=>x[t],setStaticValue:(t,e)=>x[t]=e,getLatestValues:()=>x,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),S.set(t,e),x[t]=e.get(),L(t,e)},removeValue(t){var e;S.delete(t),null===(e=T.get(t))||void 0===e||e(),T.delete(t),delete x[t],l(t,E)},hasValue:t=>S.has(t),getValue(t,e){let n=S.get(t);return void 0===n&&void 0!==e&&(n=Oi(e),I.addValue(t,n)),n},forEachValue:t=>S.forEach(t),readValue:t=>{var e;return null!==(e=x[t])&&void 0!==e?e:s(w,t,y)},setBaseTarget(t,e){A[t]=e},getBaseTarget(t){if(o){const e=o(f,t);if(void 0!==e&&!wt(e))return e}return A[t]}},C),{build:()=>(R(),E),scheduleRender(){O.render(j,!1,!0)},syncRender:j,setProps(t){(t.transformTemplate||f.transformTemplate)&&I.scheduleRender(),f=t,C.updatePropListeners(t),P=Fr(I,u(f),P)},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(!F){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<_r;e++){const n=Ir[e],o=f[n];(J(o)||!1===o)&&(t[n]=o)}return t}});return I}},Ir=["initial",...Ui],_r=Ir.length;function Br(t){return"string"===typeof t&&t.startsWith("var(--")}const zr=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Hr(t){const e=zr.exec(t);if(!e)return[,];const[,n,o]=e;return[n,o]}function Wr(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;'Max CSS variable fallback depth detected in property "'.concat(t,'". This may indicate a circular fallback dependency.');const[o,i]=Hr(t);if(!o)return;const r=window.getComputedStyle(e).getPropertyValue(o);return r?r.trim():Br(i)?Wr(i,e,n+1):i}const Zr=new Set(["width","height","top","left","right","bottom","x","y"]),Yr=t=>Zr.has(t),qr=(t,e)=>{t.set(e,!1),t.set(e)},Xr=t=>t===It||t===Dt;var Gr;!function(t){t.width="width",t.height="height",t.left="left",t.right="right",t.top="top",t.bottom="bottom"}(Gr||(Gr={}));const $r=(t,e)=>parseFloat(t.split(", ")[e]),Kr=(t,e)=>(n,o)=>{let{transform:i}=o;if("none"===i||!i)return 0;const r=i.match(/^matrix3d\((.+)\)$/);if(r)return $r(r[1],e);{const e=i.match(/^matrix\((.+)\)$/);return e?$r(e[1],t):0}},Jr=new Set(["x","y","z"]),Qr=mt.filter((t=>!Jr.has(t)));function ta(t){const e=[];return Qr.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 ea={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:Kr(4,13),y:Kr(5,14)},na=(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]=ea[t](o,r)})),e.syncRender();const l=e.measureViewportBox();return n.forEach((n=>{const o=e.getValue(n);qr(o,s[n]),t[n]=ea[n](l,r)})),t};function oa(t,e,n,o){return(t=>Object.keys(t).some(Yr))(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(Yr);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(ve(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||Xr(u)&&Xr(f))}else f=Ti(d);if(u!==f)if(Xr(u)&&Xr(f)){const t=l.get();"string"===typeof t&&l.set(parseFloat(t)),"string"===typeof d?e[i]=parseFloat(d):Array.isArray(d)&&f===Dt&&(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=ta(t),a=!0),s.push(i),o[i]=void 0!==o[i]?o[i]:e[i],qr(l,d))})),s.length){const n=s.indexOf("height")>=0?window.pageYOffset:null,i=na(e,t,s);return r.length&&r.forEach((e=>{let[n,o]=e;t.getValue(n).set(o)})),t.syncRender(),C&&null!==n&&window.scrollTo({top:n}),{target:i,transitionEnd:o}}return{target:e,transitionEnd:o}}(t,e,n,o):{target:e,transitionEnd:o}}const ia=(t,e,n,o)=>{const i=function(t,e,n){var o,i=(0,te._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(!Br(e))return;const n=Wr(e,r);n&&t.set(n)}));for(const a in i){const t=i[a];if(!Br(t))continue;const e=Wr(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 oa(t,e=i.target,n,o=i.transitionEnd)};const ra={treeType:"dom",readValueFromInstance(t,e){if(yt(e)){const t=ai(e);return t&&t.default||0}{const o=(n=t,window.getComputedStyle(n)),i=(Ct(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 jr(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,te._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)||yi(d))?d=parseFloat(d):!Ai(d)&&_n.test(u)&&(d=si(l,u)),t.addValue(l,Oi(d)),null!==(r=(a=n)[l])&&void 0!==r||(a[l]=d),t.setBaseTarget(l,d))}}(t,a,l);const e=ia(t,a,l,r);r=e.transitionEnd,a=e.target}return Object.assign({transition:i,transitionEnd:r},a)},scrapeMotionValuesFromProps:pe,build(t,e,n,o,i){void 0!==t.isVisible&&(e.style.visibility=t.isVisible?"visible":"hidden"),Wt(e,n,o,i.transformTemplate)},render:ue},aa=Ur(ra),sa=Ur(Object.assign(Object.assign({},ra),{getBaseTarget:(t,e)=>t[e],readValueFromInstance(t,e){var n;return yt(e)?(null===(n=ai(e))||void 0===n?void 0:n.default)||0:(e=de.has(e)?e:ce(e),t.getAttribute(e))},scrapeMotionValuesFromProps:he,build(t,e,n,o,i){ie(e,n,o,i.transformTemplate)},render:fe})),la=(t,e)=>ft(t)?sa(e,{enableHardwareAcceleration:!1}):aa(e,{enableHardwareAcceleration:!0});function ca(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const ua={correct:(t,e)=>{if(!e.target)return t;if("string"===typeof t){if(!Dt.test(t))return t;t=parseFloat(t)}const n=ca(t,e.target.x),o=ca(t,e.target.y);return"".concat(n,"% ").concat(o,"%")}},da="_$css",fa={correct:(t,e)=>{let{treeScale:n,projectionDelta:o}=e;const i=t,r=t.includes("var("),a=[];r&&(t=t.replace(zr,(t=>(a.push(t),da))));const s=_n.parse(t);if(s.length>5)return i;const l=_n.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=yn(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(da,(()=>{const e=a[t];return t++,e}))}return p}};class pa extends o.Component{componentDidMount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:n,layoutId:o}=this.props,{projection:i}=t;var r;r=ha,Object.assign(pt,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()}))),rt.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.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 ha={borderRadius:Object.assign(Object.assign({},ua),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:ua,borderTopRightRadius:ua,borderBottomLeftRadius:ua,borderBottomRightRadius:ua,boxShadow:fa},ma={measureLayout:function(t){const[e,n]=an(),i=(0,o.useContext)(L);return o.createElement(pa,Object.assign({},t,{layoutGroup:i,switchLayoutGroup:(0,o.useContext)(st),isPresent:e,safeToRemove:n}))}};const va=["TopLeft","TopRight","BottomLeft","BottomRight"],ga=va.length,ya=t=>"string"===typeof t?parseFloat(t):t,ba=t=>"number"===typeof t||Dt.test(t);function xa(t,e){var n;return null!==(n=t[e])&&void 0!==n?n:t.borderRadius}const Ea=Oa(0,.5,so),wa=Oa(.5,.95,eo);function Oa(t,e,n){return o=>o<t?0:o>e?1:n(gn(t,e,o))}function Ca(t,e){t.min=e.min,t.max=e.max}function Sa(t,e){Ca(t.x,e.x),Ca(t.y,e.y)}function Ta(t,e,n,o,i){return t=Er(t-=e,1/n,o),void 0!==i&&(t=Er(t,1/i,o)),t}function Pa(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;kt.test(e)&&(e=parseFloat(e),e=yn(a.min,a.max,e/100)-a.min);if("number"!==typeof e)return;let s=yn(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 Aa=["x","scaleX","originX"],Ma=["y","scaleY","originY"];function ja(t,e,n,o){Pa(t.x,e,Aa,null===n||void 0===n?void 0:n.x,null===o||void 0===o?void 0:o.x),Pa(t.y,e,Ma,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 Va(t){return Ra(t.x)&&Ra(t.y)}function La(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 ka{constructor(){this.members=[]}add(t){bi(this.members,t),t.scheduleRender()}remove(t){if(xi(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 Da(t,e,n){const o=t.x.translate/e.x,i=t.y.translate/e.y;let r="translate3d(".concat(o,"px, ").concat(i,"px, 0) ");if(r+="scale(".concat(1/e.x,", ").concat(1/e.y,") "),n){const{rotate:t,rotateX:e,rotateY:o}=n;t&&(r+="rotate(".concat(t,"deg) ")),e&&(r+="rotateX(".concat(e,"deg) ")),o&&(r+="rotateY(".concat(o,"deg) "))}const a=t.x.scale*e.x,s=t.y.scale*e.y;return r+="scale(".concat(a,", ").concat(s,")"),"translate3d(0px, 0px, 0) scale(1, 1) scale(1, 1)"===r?"none":r}const Na=(t,e)=>t.depth-e.depth;class Fa{constructor(){this.children=[],this.isDirty=!1}add(t){bi(this.children,t),this.isDirty=!0}remove(t){xi(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Na),this.isDirty=!1,this.children.forEach(t)}}function Ua(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(Za),this.nodes.forEach(Ya)},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 Fa)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new Ei),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),rt.hasAnimatedSinceResize&&(rt.hasAnimatedSinceResize=!1,this.nodes.forEach(Wa))}))}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:Ja,{onLayoutAnimationStart:f,onLayoutAnimationComplete:p}=a.getProps(),h=!this.targetLayout||!La(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({},vi(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,g.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(qa))}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(za);this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(Qa),this.potentialNodes.clear()),this.nodes.forEach(Ha),this.nodes.forEach(Ia),this.nodes.forEach(_a),this.clearAllSnapshots(),y.update(),y.preRender(),y.render())}clearAllSnapshots(){this.nodes.forEach(Ba),this.sharedNodes.forEach(Xa)}scheduleUpdateProjection(){O.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){O.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));es(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();es(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&&!Va(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||br(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&&(Sr(e.x,n.x),Sr(e.y,n.y)),e}removeElementScroll(t){const e={x:{min:0,max:0},y:{min:0,max:0}};Sa(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){Sa(e,t);const{scroll:n}=this.root;n&&(Sr(e.x,-n.x),Sr(e.y,-n.y))}Sr(e.x,i.x),Sr(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}};Sa(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&&Mr(n,{x:-t.scroll.x,y:-t.scroll.y}),br(t.latestValues)&&Mr(n,t.latestValues)}return br(this.latestValues)&&Mr(n,this.latestValues),n}removeTransform(t){var e;const n={x:{min:0,max:0},y:{min:0,max:0}};Sa(n,t);for(let o=0;o<this.path.length;o++){const t=this.path[o];if(!t.instance)continue;if(!br(t.latestValues))continue;yr(t.latestValues)&&t.updateSnapshot();const i={x:{min:0,max:0},y:{min:0,max:0}};Sa(i,t.measure()),ja(n,t.latestValues,null===(e=t.snapshot)||void 0===e?void 0:e.layout,i)}return br(this.latestValues)&&ja(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}},cr(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),Sa(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,sr(o.x,i.x,r.x),sr(o.y,i.y,r.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.actual):Sa(this.target,this.layout.actual),Cr(this.target,this.targetDelta)):Sa(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}},cr(this.relativeTargetOrigin,this.target,this.relativeParent.target),Sa(this.relativeTarget,this.relativeTargetOrigin)))))}getClosestProjectingParent(){if(this.parent&&!br(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();Sa(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&&Mr(t,{x:-s.scroll.x,y:-s.scroll.y}),l&&(e.x*=l.x.scale,e.y*=l.y.scale,Cr(t,l)),o&&br(s.latestValues)&&Mr(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;ar(this.projectionDelta,this.layoutCorrected,i,this.latestValues),this.projectionTransform=Da(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(Ka));this.animationProgress=0,this.mixTargetDelta=e=>{var n;const o=e/1e3;var d,f,p,h;Ga(a.x,t.x,o),Ga(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)&&(cr(s,this.layout.actual,this.relativeParent.layout.actual),d=this.relativeTarget,f=this.relativeTargetOrigin,p=s,h=o,$a(d.x,f.x,p.x,h),$a(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=yn(0,null!==(a=n.opacity)&&void 0!==a?a:1,Ea(o)),t.opacityExit=yn(null!==(s=e.opacity)&&void 0!==s?s:1,0,wa(o))):r&&(t.opacity=yn(null!==(l=e.opacity)&&void 0!==l?l:1,null!==(c=n.opacity)&&void 0!==c?c:1,o));for(let u=0;u<ga;u++){const i="border".concat(va[u],"Radius");let r=xa(e,i),a=xa(n,i);void 0===r&&void 0===a||(r||(r=0),a||(a=0),0===r||0===a||ba(r)===ba(a)?(t[i]=Math.max(yn(ya(r),ya(a),o),0),(kt.test(a)||kt.test(r))&&(t[i]+="%")):t[i]=a)}(e.rotate||n.rotate)&&(t.rotate=yn(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&&(g.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=O.update((()=>{rt.hasAnimatedSinceResize=!0,this.currentAnimation=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const o=wt(t)?t:Oi(t);return gi("",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&&(Sa(t,e),Mr(t,o),ar(this.projectionDeltaWithTransform,this.layoutCorrected,t,o))}registerSharedNode(t,e){var n,o,i;this.sharedNodes.has(t)||this.sharedNodes.set(t,new ka);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<ht.length;o++){const i="rotate"+ht[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=ye(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=ye(t.pointerEvents)||""),this.hasProjected&&!br(this.latestValues)&&(e.transform=l?l({},""):"none",this.hasProjected=!1),e}const u=c.animationValues||c.latestValues;this.applyTransformsToTarget(),s.transform=Da(this.projectionDeltaWithTransform,this.treeScale,u),l&&(s.transform=l(u,s.transform));const{x:d,y:f}=this.projectionDelta;s.transformOrigin="".concat(100*d.origin,"% ").concat(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 pt){if(void 0===u[p])continue;const{correct:t,applyTo:e}=pt[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?ye(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(za),this.root.sharedNodes.clear()}}}function Ia(t){t.updateLayout()}function _a(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?mr((t=>{const n=r.isShared?r.measured[t]:r.layout[t],o=or(n);n.min=e[t].min,n.max=n.min+o})):"position"===t.options.animationType&&mr((t=>{const n=r.isShared?r.measured[t]:r.layout[t],o=or(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}};ar(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?ar(i,t.applyTransform(n,!0),r.measured):ar(i,e,r.layout);const a=!Va(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}};cr(t,r.layout,n.layout);const i={x:{min:0,max:0},y:{min:0,max:0}};cr(i,e,o.actual),La(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 Ba(t){t.clearSnapshot()}function za(t){t.clearMeasurements()}function Ha(t){const{visualElement:e}=t.options;(null===e||void 0===e?void 0:e.getProps().onBeforeLayoutMeasure)&&e.notifyBeforeLayoutMeasure(),t.resetTransform()}function Wa(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0}function Za(t){t.resolveTargetDelta()}function Ya(t){t.calcProjection()}function qa(t){t.resetRotation()}function Xa(t){t.removeLeadSnapshot()}function Ga(t,e,n){t.translate=yn(e.translate,0,n),t.scale=yn(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function $a(t,e,n,o){t.min=yn(e.min,n.min,o),t.max=yn(e.max,n.max,o)}function Ka(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}const Ja={duration:.45,ease:[.4,0,.1,1]};function Qa(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="'.concat(e,'"]'));o&&t.mount(o,!0)}function ts(t){t.min=Math.round(t.min),t.max=Math.round(t.max)}function es(t){ts(t.x),ts(t.y)}const ns=Ua({attachResizeListener:(t,e)=>Se(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),os={current:void 0},is=Ua({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!os.current){const t=new ns(0,{});t.mount(window),t.setOptions({layoutScroll:!0}),os.current=t}return os.current},resetTransform:(t,e)=>{t.style.transform=null!==e&&void 0!==e?e:"none"},checkIsScrollRoot:t=>Boolean("fixed"===window.getComputedStyle(t).position)}),rs=Object.assign(Object.assign(Object.assign(Object.assign({},Zi),rn),kr),ma),as=ut(((t,e)=>function(t,e,n,o,i){let{forwardMotionProps:r=!1}=e;const a=ft(t)?we:Oe;return Object.assign(Object.assign({},a),{preloadedFeatures:n,useRender:se(r),createVisualElement:o,projectionNodeConstructor:i,Component:t})}(t,e,rs,la,is)));var ss={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},ls={position:{left:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"-100%",y:0}},cs={position:{right:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"100%",y:0}},us={position:{top:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"-100%"}},ds={position:{bottom:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"100%"}};function fs(t){var e;switch(null!==(e=null==t?void 0:t.direction)&&void 0!==e?e:"right"){case"right":default:return cs;case"left":return ls;case"bottom":return ds;case"top":return us}}var ps={enter:{duration:.2,ease:ss.easeOut},exit:{duration:.1,ease:ss.easeIn}},hs=(t,e)=>({...t,delay:"number"===typeof e?e:null==e?void 0:e.enter}),ms=(t,e)=>({...t,delay:"number"===typeof e?e:null==e?void 0:e.exit}),vs={exit:{height:{duration:.2,ease:ss.ease},opacity:{duration:.3,ease:ss.ease}},enter:{height:{duration:.3,ease:ss.ease},opacity:{duration:.4,ease:ss.ease}}},gs={exit:t=>{var e;let{animateOpacity:n,startingHeight:o,transition:i,transitionEnd:r,delay:a}=t;return{...n&&{opacity:(s=o,null!=s&&parseInt(s.toString(),10)>0?1:0)},height:o,transitionEnd:null==r?void 0:r.exit,transition:null!==(e=null==i?void 0:i.exit)&&void 0!==e?e:ms(vs.exit,a)};var s},enter:t=>{var e;let{animateOpacity:n,endingHeight:o,transition:i,transitionEnd:r,delay:a}=t;return{...n&&{opacity:1},height:o,transitionEnd:null==r?void 0:r.enter,transition:null!==(e=null==i?void 0:i.enter)&&void 0!==e?e:hs(vs.enter,a)}}},ys=(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(U,{initial:!1,custom:y},b&&o.createElement(as.div,{ref:e,...h,className:(0,i.cx)("chakra-collapse",d),style:{overflow:"hidden",display:"block",...u},custom:y,variants:gs,initial:!!r&&"exit",animate:x,exit:"exit"}))}));i.Ts&&(ys.displayName="Collapse");var bs={enter:function(){var t;let{transition:e,transitionEnd:n,delay:o}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{opacity:1,transition:null!==(t=null==e?void 0:e.enter)&&void 0!==t?t:hs(ps.enter,o),transitionEnd:null==n?void 0:n.enter}},exit:function(){var t;let{transition:e,transitionEnd:n,delay:o}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{opacity:0,transition:null!==(t=null==e?void 0:e.exit)&&void 0!==t?t:ms(ps.exit,o),transitionEnd:null==n?void 0:n.exit}}},xs={initial:"exit",animate:"enter",exit:"exit",variants:bs},Es=(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(U,{custom:p},f&&o.createElement(as.div,{ref:e,className:(0,i.cx)("chakra-fade",a),custom:p,...xs,animate:d,...u}))}));i.Ts&&(Es.displayName="Fade");var ws={initial:"exit",animate:"enter",exit:"exit",variants:{exit:t=>{var e;let{reverse:n,initialScale:o,transition:i,transitionEnd:r,delay:a}=t;return{opacity:0,...n?{scale:o,transitionEnd:null==r?void 0:r.exit}:{transitionEnd:{scale:o,...null==r?void 0:r.exit}},transition:null!==(e=null==i?void 0:i.exit)&&void 0!==e?e:ms(ps.exit,a)}},enter:t=>{var e;let{transitionEnd:n,transition:o,delay:i}=t;return{opacity:1,scale:1,transition:null!==(e=null==o?void 0:o.enter)&&void 0!==e?e:hs(ps.enter,i),transitionEnd:null==n?void 0:n.enter}}}},Os=(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(U,{custom:m},p&&o.createElement(as.div,{ref:e,className:(0,i.cx)("chakra-offset-slide",l),...ws,animate:h,custom:m,...f}))}));i.Ts&&(Os.displayName="ScaleFade");var Cs={exit:{duration:.15,ease:ss.easeInOut},enter:{type:"spring",damping:25,stiffness:180}},Ss={exit:t=>{var e;let{direction:n,transition:o,transitionEnd:i,delay:r}=t;const{exit:a}=fs({direction:n});return{...a,transition:null!==(e=null==o?void 0:o.exit)&&void 0!==e?e:ms(Cs.exit,r),transitionEnd:null==i?void 0:i.exit}},enter:t=>{var e;let{direction:n,transitionEnd:o,transition:i,delay:r}=t;const{enter:a}=fs({direction:n});return{...a,transition:null!==(e=null==i?void 0:i.enter)&&void 0!==e?e:hs(Cs.enter,r),transitionEnd:null==o?void 0:o.enter}}},Ts=(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=fs({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(U,{custom:g},m&&o.createElement(as.div,{...f,ref:e,initial:"exit",className:(0,i.cx)("chakra-slide",l),animate:v,exit:"exit",custom:g,variants:Ss,style:h}))}));i.Ts&&(Ts.displayName="Slide");var Ps={initial:"initial",animate:"enter",exit:"exit",variants:{initial:t=>{var e;let{offsetX:n,offsetY:o,transition:i,transitionEnd:r,delay:a}=t;return{opacity:0,x:n,y:o,transition:null!==(e=null==i?void 0:i.exit)&&void 0!==e?e:ms(ps.exit,a),transitionEnd:null==r?void 0:r.exit}},enter:t=>{var e;let{transition:n,transitionEnd:o,delay:i}=t;return{opacity:1,x:0,y:0,transition:null!==(e=null==n?void 0:n.enter)&&void 0!==e?e:hs(ps.enter,i),transitionEnd:null==o?void 0:o.enter}},exit:t=>{var e;let{offsetY:n,offsetX:o,transition:i,transitionEnd:r,reverse:a,delay:s}=t;const l={x:o,y:n};return{opacity:0,transition:null!==(e=null==i?void 0:i.exit)&&void 0!==e?e:ms(ps.exit,s),...a?{...l,transitionEnd:null==r?void 0:r.exit}:{transitionEnd:{...l,...null==r?void 0:r.exit}}}}}},As=(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(U,{custom:v},h&&o.createElement(as.div,{ref:e,className:(0,i.cx)("chakra-offset-slide",s),custom:v,...Ps,animate:m,...p}))}));i.Ts&&(As.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},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},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},2630: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:"M10 9V5l-7 7 7 7v-4.1c5 0 8.5 1.6 11 5.1-1-5-4-10-11-11z"}),"Reply");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},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(8966),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(2248)),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},2248: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 _}});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]),T=(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)({},T),{ref:S})):i.createElement(w,(0,o.pi)({},T,{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(B){C=!1}var T=!!C&&{passive:!1},P=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),M(t,n)){var o=j(t,n);if(o[1]>o[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},M=function(t,e){return"v"===t?function(t){return P(t,"overflowY")}(e):function(t){return P(t,"overflowX")}(e)},j=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]},V=function(t){return[t.deltaX,t.deltaY]},L=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(L),!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=j(t,s),h=p[0],m=p[1]-p[2]-r*h;(h||m)&&M(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?V(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(L).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,V(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,T),document.addEventListener("touchmove",u,T),document.addEventListener("touchstart",f,T),function(){N=N.filter((function(t){return t!==s})),document.removeEventListener("wheel",u,T),document.removeEventListener("touchmove",u,T),document.removeEventListener("touchstart",f,T)}}),[]);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),I=i.forwardRef((function(t,e){return i.createElement(f,(0,o.pi)({},t,{ref:e,sideCar:U}))}));I.classNames=f.classNames;var _=I},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}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[985],{9723:function(e,a,r){var t=r(5318);a.Z=void 0;var c=t(r(5045)),l=r(6417),u=(0,c.default)((0,l.jsx)("path",{d:"M8 6.82v10.36c0 .79.87 1.27 1.54.84l8.14-5.18c.62-.39.62-1.29 0-1.69L9.54 5.98C8.87 5.55 8 6.03 8 6.82z"}),"PlayArrowRounded");a.Z=u}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[415],{4048:function(e,t,n){n.r(t);var i=n(7313),o=n(6090),r=n(7616),s=n(9039),l=(n(6143),n(7850),n(4444),n(7244),n(123),n(5892),n(1811),n(9302)),a=n(2575),d=n(2210),c=n(8486),h=n(9821),p=n(8866),x=n(2279),u=n.n(x),m=n(7753),f=n(7129),y=n(1855),g=n(9854),w=n(4920),v=n(7376),j=n(778),b=n(7381),C=n(6417);const P=(0,a.Z)({key:"whatmore-css-hv"});function I(e){const[t,n,o]=(0,h.Z)(),r=(0,m.MO)("whatmoreShopId"),l=e.events,a=e.onClick,c=o*(0,g.u6l)(r),[p,x]=(0,i.useState)(c),{whatmoreWidgetSourceDetails:u}=(0,i.useContext)(s.I);return(0,i.useEffect)((()=>{p<=c&&x((e=>e+c))}),[c]),(0,C.jsx)("div",{className:"whatmore-events-carousel-portrait",style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,C.jsx)("div",{style:{width:window.innerWidth,height:"fit-content"},children:(0,C.jsx)(d.tq,{slidesPerView:l.length>1?c:1,initialSlide:l.length>1?1:0,centeredSlides:!0,centeredSlidesBounds:!0,watchSlidesProgress:!0,touchRatio:.5,onSlideChange:e=>{(0,v.y4)({userInteractionType:j.K.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:u}),e.realIndex>e.previousIndex&&x((e=>e+c))},children:l.map(((e,t)=>t<=p&&(0,C.jsx)(d.o5,{children:t=>{let{isActive:n,isPrev:i,isNext:o,isVisible:r}=t;return i||o||n?(0,C.jsx)(w.Z,{isOnFocus:n&&r,playOnUnfocus:!1,animateOnFocus:!0,event:e,onClick:()=>{a(e)}}):(0,C.jsx)(y.Z,{})}},"whatmore-event-tile-portrait-"+e.index)))})})})}function S(e){const[t,n,o,r]=(0,h.Z)(),[l,a]=(0,i.useState)(-1),p=(0,m.MO)("whatmoreShopId"),[x,f]=(0,i.useState)(o),b=e.onClick,P=e.events,I=Math.min(o,P.length),{whatmoreWidgetSourceDetails:S}=(0,i.useContext)(s.I);return(0,i.useEffect)((()=>{x<=o&&f((e=>e+o))}),[o]),(0,C.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",paddingLeft:r+"px",paddingRight:r+"px"},className:"whatmore-events-carousel-landscape",children:(0,C.jsx)("div",{style:{width:n*I*(0,g.Su5)(p)+"px"},children:(0,C.jsx)(d.tq,{slidesPerView:I,watchSlidesProgress:!0,modules:[c.W_],navigation:!0,slidesPerGroup:parseInt(I),onSlideChange:e=>{(0,v.y4)({userInteractionType:j.K.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:S}),e.realIndex>e.previousIndex&&f((e=>e+o))},spaceBetween:(0,g.WGf)(p),children:P.map(((e,t)=>{const n=u()((()=>a(t)),300);return t<=x&&(0,C.jsx)(d.o5,{onMouseEnter:()=>{n()},onMouseLeave:()=>{n.cancel(),a(-1)},children:n=>{let{isActive:i,isPrev:o,isNext:r,isVisible:s}=n;return s?(0,C.jsx)(w.Z,{isOnFocus:t==l,playOnUnfocus:!0,animateOnFocus:!0,event:e,onClick:()=>{b(e)}}):(0,C.jsx)(y.Z,{})}},"whatmore-event-tile-landscape-"+e.index)}))})})})}t.default=function(e){var t;const[n,a,d]=(0,p.Z)(),[c]=(0,m.j1)("whatmoreShopId"),[h]=(0,m.j1)("whatmorePrimaryColor"),[x]=(0,m.j1)("whatmoreTitleFont"),u="portrait"==n?(0,m.MO)("whatmoreTitleFontSizePortrait"):(0,m.MO)("whatmoreTitleFontSize"),{whatmoreRootId:y}=(0,i.useContext)(s.I),w=e.events,v=e.onClick,j=null!==(t=(0,g.aRS)(c))&&void 0!==t?t:x;function F(e){v(e)}return(0,i.useEffect)((()=>{(0,b.Oo)("Video shopping powered by Whatmore!")}),[]),(0,i.useEffect)((()=>{s.$.forEach((e=>{var t;const n=null!==(t=e.querySelector('.whatmore-template-type[data-wh="template-a"]'))&&void 0!==t?t:e.querySelector('.whatmore-template-type[data="template-a"]');if(!n)return;n&&e&&(e.style.minHeight="0px")}))}),[]),delete r.ZP.styles.global,(0,C.jsx)(l.C,{value:P,children:(0,C.jsx)("div",{children:(0,C.jsx)(o.x,{theme:r.ZP,cssVarsRoot:y,resetCSS:!1,children:(0,C.jsxs)(f.V.Provider,{value:{tileTopMargin:25,tileBottomMMargin:25,tileLeftMargin:4,tileRightMargin:4,showPlayButton:!0},children:[e.heading.trim().length>0?(0,C.jsx)("div",{className:"whatmore-events-carousel",style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,C.jsx)("p",{ref:e=>{e&&(e.style.setProperty("font-family",j,"important"),e.style.setProperty("font-size",u+"px","important"))},style:{color:h,backgroundClip:"text",textAlign:"center",fontWeight:(0,g.wOV)(c),lineHeight:(0,g.vY4)(c),letterSpacing:(0,g.X2K)(c)},children:e.heading})}):(0,C.jsx)(C.Fragment,{}),"landscape"===n?(0,C.jsx)(S,{events:w,onClick:F}):(0,C.jsx)(I,{events:w,onClick:F})]})})})})}},1092:function(e,t,n){var i=n(237),o=n(9854),r=n(7753),s=n(9039),l=n(7313),a=n(6417);function d(e){return e<1e3?e:e<1e5?(e/1e3).toFixed(0)+"K":(e/1e5).toFixed(0)+"L"}t.Z=function(e){const{whatmoreUITheme:t}=(0,l.useContext)(s.I),n=(0,r.MO)("whatmoreShopId"),c=(0,r.MO)("whatmorePrimaryFont"),h=e.event,p=e.fontSize;if(h.total_views<=0)return(0,a.jsx)(a.Fragment,{});const x=(0,o.S_M)(n);return"template-icon"==x?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{style:{width:"fit-content",padding:"2px",paddingLeft:"6px",paddingRight:"6px",backgroundColor:(0,o.XCH)(n),color:"white",borderRadius:"round"==t?"5px":"0px",borderWidth:(0,o.alU)(n),borderColor:(0,o.qPe)(n)},children:(0,a.jsxs)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:"center",gap:"3px",alignItems:"center"},children:[(0,a.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,a.jsx)(i.Z,{sx:{color:(0,o.aLw)(n)+" !important",fontSize:p,fontWeight:"normal"}})}),(0,a.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,a.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color",(0,o.aLw)(n),"important"),e.style.setProperty("line-height","120%","important"),e.style.setProperty("font-family",c,"important"),e.style.setProperty("font-size",p,"important"),e.style.setProperty("min-height","0","important"),e.style.setProperty("display","inline","important"),e.style.setProperty("width","auto","important"))},style:{fontWeight:"normal"},children:" "+d(h.total_views)+" "})})]})})}):"template-text"==x?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{style:{width:"fit-content",padding:"2px",paddingLeft:"6px",paddingRight:"6px",backgroundColor:(0,o.XCH)(n),color:"white",borderRadius:"round"==t?"5px":"0px",borderWidth:(0,o.alU)(n),borderColor:(0,o.qPe)(n)},children:(0,a.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:"center",gap:"3px",alignItems:"center"},children:(0,a.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,a.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color",(0,o.aLw)(n),"important"),e.style.setProperty("line-height","120%","important"),e.style.setProperty("font-family",c,"important"))},style:{fontSize:p,fontWeight:"bold"},children:" "+d(h.total_views)+" views"})})})})}):void 0}},7129:function(e,t,n){n.d(t,{V:function(){return i}});const i=(0,n(7313).createContext)({tileTopMargin:10,tileBottomMMargin:10,tileLeftMargin:10,tileRightMargin:10,showPlayButton:!0})},5945:function(e,t,n){function i(e){return"undefined"==typeof e||"undefined"==e||null==e?"":e.replace(/\w\S*/g,(function(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()}))}n.d(t,{s:function(){return i}})},1855:function(e,t,n){var i=n(7313),o=n(9821),r=n(7129),s=n(6417);t.Z=function(e){var[t,n]=(0,o.Z)();return(0,i.useContext)(r.V),e.event,(0,s.jsx)("div",{style:{margin:"0 auto",width:n,height:t,overflow:"hidden"}})}},4920:function(e,t,n){n.d(t,{Z:function(){return b}});var i=n(7313),o=n(9821),r=(n(3439),n(9723)),s=n(7753),l=n(4892),a=n(7129),d=n(6805),c=n(9854),h=n(1092),p=n(5945),x=n(9039),u=n(9363),m=n(6417);var f=function(e){var[t,n]=(0,o.Z)();const{whatmoreUITheme:r}=(0,i.useContext)(x.I),[l]=(0,s.j1)("whatmorePrimaryFont"),[a,d]=(0,i.useState)(0),h=(0,s.MO)("whatmoreShopId"),f=e.event;if(0==f.products.length)return(0,m.jsx)(m.Fragment,{});const y=.3*n,g=y+"px",w=y+"px",v=.07*n+"px";return(0,m.jsx)("div",{style:{width:n+"px",height:"fit-content",backgroundImage:"linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.1), rgba(0,0,0,0.3)"},children:(0,m.jsxs)("div",{ref:e=>{e&&e.style.setProperty("height","fit-content","important")},style:{display:"flex",flexFlow:"row nowrap",width:"100%",justifyContent:"space-between",alignItems:"center",paddingLeft:"5px",paddingRight:"5px",paddingTop:"5px",paddingBottom:"5px",gap:"5px"},className:"whatmore-event-tile-product-scale-in-and-out-animation",children:[(0,m.jsx)("div",{ref:e=>{e&&e.style.setProperty("height",w,"important")},style:{width:g,boxShadow:"round"==r?"0px 0px 5px 2px #B0B0B0":null,borderRadius:"round"==r?"5px":"0px",borderWidth:(0,c.alU)(h),borderColor:(0,c.qPe)(h),overflow:"hidden",backgroundColor:"rgb(220, 220, 220, 1)"},children:(0,m.jsx)("img",{ref:e=>{e&&e.style.setProperty("object-fit",(0,c.yOX)(h),"important")},src:(0,u.s)(f.products[a].thumbnail_image,"&width=".concat(400,"&height=",400)),style:{width:"100%",height:"100%",borderRadius:"round"==r?"5px":"0px"},alt:"product image"})}),(0,m.jsx)("div",{style:{width:n-5-y+"px",height:w,borderRadius:"round"==r?"5px":"0px",overflow:"visible"},children:(0,m.jsx)("div",{style:{display:"flex",flexFlow:"column nowrap",width:"fit-content",height:"100%",justifyContent:"center",alignItems:"center"},children:(0,m.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color","white","important"),e.style.setProperty("font-size",v,"important"),e.style.setProperty("line-height","120%","important"),e.style.setProperty("font-family",l,"important"),e.style.setProperty("-webkit-line-clamp",3,"important"),e.style.setProperty("line-clamp",3,"important"),e.style.setProperty("-webkit-box-orient","vertical","important"),e.style.setProperty("display","-webkit-box","important"),e.style.setProperty("overflow","hidden","important"),e.style.setProperty("text-overflow","ellipsis","important"))},style:{textAlign:"left",fontWeight:"normal"},children:(0,p.s)(f.products[a].title)})})})]},a)})},y=n(3933),g=n(8984);function w(e){var t,[n,l]=(0,o.Z)();const[d]=(0,s.j1)("whatmoreShopId"),[h,p,x]=(0,y.YD)({triggerOnce:!0});var u=(0,i.useContext)(a.V);const w=e.event,v=null!==(t=e.unfocusedDisplay)&&void 0!==t&&t,j=.5*l,b=(0,g.gE)()?e.isOnFocus:p;return(0,m.jsx)("div",{style:{position:"relative",zIndex:1,bottom:"200%",overflow:"hidden",width:"100%",height:"100%",overflow:"hidden",backgroundColor:"transparent"},className:"whatmore-ios-css-relative-fix",children:(0,m.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"space-between",alignItems:"center",height:"100%",width:"100%"},children:[(0,m.jsx)("div",{className:"whatmore-event-tile-component-fade-in-animation",children:(0,m.jsx)("p",{children:" "})}),u.showPlayButton&&!v?(0,m.jsx)("div",{style:{position:"relative",top:"10%",overflow:"hidden",marginLeft:"5px",marginRight:"5px",width:"100%"},children:(0,m.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:"center",alignItems:"center"},children:(0,m.jsx)("div",{className:"whatmore-event-tile-component-fade-in-animation",children:"video"==w.event_type&&(0,m.jsx)(r.Z,{sx:{color:(0,c.Ya_)(d)+" !important",opacity:.8,fontSize:j,filter:"drop-shadow(0 0 15px black);"}})})})}):(0,m.jsx)(m.Fragment,{}),(0,m.jsx)("div",{ref:h,children:b&&(0,c.PWD)(d)?(0,m.jsx)("div",{className:"whatmore-event-tile-component-fade-in-animation",children:(0,m.jsx)(f,{event:w})}):(0,m.jsx)("div",{height:"20px"})})]})})}function v(e){var[t,n]=(0,o.Z)();const[i]=(0,s.j1)("whatmorePrimaryFont"),r=e.event;return r.title.trim().length?(0,m.jsx)("div",{style:{width:"100%",height:"fit-content",backgroundImage:"linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.2), rgba(0,0,0,0.6))"},children:(0,m.jsx)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"flex-end",alignContent:"center",width:"100%",height:"100%"},children:(0,m.jsx)("div",{style:{width:"100%",padding:"2px"},children:(0,m.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"space-between",alignItems:"flex-start",marginLeft:"5px",marginRight:"5px",marginBottom:"2px"},children:[(0,m.jsx)("p",{style:{color:"white",fontSize:.08*n+"px",fontWeight:"normal",textAlign:"left"},children:" "}),(0,m.jsx)("p",{ref:e=>{e&&e.style.setProperty("font-family",i,"important")},style:{color:"white",fontSize:.08*n+"px",fontWeight:"normal",textAlign:"left"},children:r.title.substring(0,60)})]})})})}):(0,m.jsx)(m.Fragment,{})}function j(e){const[t,n,i,r,l]=(0,o.Z)(),[a]=(0,s.j1)("whatmoreShowViews"),p=(0,s.MO)("whatmoreShopId"),x=e.event,u=e.isOnFocus;return(0,m.jsx)("div",{style:{position:"relative",zIndex:1,bottom:"100%",overflow:"hidden",width:"100%",height:"100%",overflow:"hidden",backgroundColor:"transparent"},className:"whatmore-ios-css-relative-fix",children:(0,m.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",width:"100%",height:"100%",justifyContent:"space-between",alignItems:"center"},children:[(0,m.jsx)("div",{style:{width:"100%",backgroundImage:"linear-gradient(to top, rgba(0,0,0,0), rgba(0,0,0,0.1), rgba(0,0,0,0.3))"},children:(0,m.jsx)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"flex-start",alignItems:"center"},children:"show"===a&&"show"===(0,c.qcC)(p)?(0,m.jsx)("div",{style:{width:"100%",marginLeft:"5px",marginRight:"5px",marginTop:"10px"},children:(0,m.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",paddingLeft:"5px",width:"fit-content",height:"fit-content",justifyContent:"space-between",alignItems:"center"},children:(0,m.jsx)(h.Z,{event:x,fontSize:.07*n+"px"})})}):(0,m.jsx)(m.Fragment,{})})}),d.$w===l[d.YP]?(0,m.jsx)(m.Fragment,{}):u?(0,m.jsx)("div",{className:"whatmore-event-tile-component-fade-out-animation",children:(0,m.jsx)(v,{event:x})}):(0,m.jsx)("div",{className:"whatmore-event-tile-component-fade-in-animation",children:(0,m.jsx)(v,{event:x})})]})})}var b=function(e){var t,n,r;const[h,p,u,f,y]=(0,o.Z)();var v=(0,i.useContext)(a.V);const{whatmoreUITheme:b}=(0,i.useContext)(x.I),C=(0,s.MO)("whatmoreShopId"),P=e.event,I=e.onClick,S=null===(t=e.isOnFocus)||void 0===t||t,F=null!==(n=e.playOnUnfocus)&&void 0!==n&&n,M=null!==(r=e.animateOnFocus&&(0,c.iWI)(C))&&void 0!==r&&r,O=(0,c.nzC)(C);return(0,m.jsxs)("div",{ref:e=>{e&&(e.style.setProperty("margin-top",v.tileTopMargin+"px","important"),e.style.setProperty("margin-bottom",v.tileBottomMMargin+"px","important"))},style:{margin:"0 auto",width:p,height:h,borderRadius:"round"==b?"5px":"0px",boxShadow:"round"==b?O:null,borderWidth:(0,c.alU)(C),borderColor:(0,c.qPe)(C),overflow:"hidden",cursor:"pointer"},className:M?S?"whatmore-event-tile-scale-out-animation":"whatmore-event-tile-scale-in-animation":"none",onClick:()=>{I(P)},children:[(0,m.jsx)(l.Z,{height:"100%",width:"100%",url:P.thumbnail_image,isPlaying:S||F||(0,g.gE)(),event:P}),(0,m.jsxs)("div",{style:{width:p,height:h},children:[(0,m.jsx)(j,{event:P,isOnFocus:S}),S||d.$w===y[d.YP]?(0,m.jsx)(w,{event:P,unfocusedDisplay:!S,isOnFocus:S}):null]})]})}},9363:function(e,t,n){n.d(t,{s:function(){return r}});var i=n(9854),o=n(7753);function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=(0,o.MO)("whatmoreShopId");return"shopify"!=(0,i.Ipo)(n)?"STRNV8MHJTF"==n?e+"?format=webp":e:e+t}},9723:function(e,t,n){var i=n(5318);t.Z=void 0;var o=i(n(5045)),r=n(6417),s=(0,o.default)((0,r.jsx)("path",{d:"M8 6.82v10.36c0 .79.87 1.27 1.54.84l8.14-5.18c.62-.39.62-1.29 0-1.69L9.54 5.98C8.87 5.55 8 6.03 8 6.82z"}),"PlayArrowRounded");t.Z=s},237:function(e,t,n){var i=n(5318);t.Z=void 0;var o=i(n(5045)),r=n(6417),s=(0,o.default)((0,r.jsx)("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),"Visibility");t.Z=s},3439:function(){},5892:function(){},4444:function(){},1811:function(){},6143:function(){},7850:function(){}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[855],{3867:function(t,e,i){var o=i(8816),n=i(417),r=i(4885),l=i(7753),s=i(9039),a=i(7313),d=i(6417);e.Z=function(t){var e;const{whatmoreUITheme:i}=(0,a.useContext)(s.I),[p]=(0,l.j1)("whatmoreSecondaryColor"),[c,h]=(0,l.j1)("productRatings"),x=(0,l.MO)("whatmorePrimaryFont"),y=(t.storeId,t.productId),m=(t.productLink,t.fontSize),f=null!==(e=t.fontColor)&&void 0!==e?e:"gray";if(null===c||"undefined"==typeof c||!(y in c)||c[y].avgRating>5)return(0,d.jsx)(d.Fragment,{});const u=c[y].avgRating,g=c[y].totalRatings;return(0,d.jsx)("div",{style:{display:"flex",flexFlow:"column nowrap",width:"100%",height:"fit-content",justifyContent:"flex-start",alignItems:"center"},children:(0,d.jsxs)("div",{style:{display:"flex",flexFlow:"row nowrap",width:"100%",height:"fit-content",justifyContent:"flex-start",alignItems:"center",gap:"0px"},children:[[...Array(Math.floor(u))].map(((t,e)=>(0,d.jsx)(o.Z,{sx:{color:p,fontSize:m+"px"}},"star-icon"+e))),u-Math.floor(u)>.2?(0,d.jsx)(n.Z,{sx:{color:p,fontSize:m+"px"}},"star-half-icon"):u-Math.floor(u)==0?(0,d.jsx)(d.Fragment,{}):(0,d.jsx)(r.Z,{sx:{color:p,fontSize:m+"px"}},"star-outline-icon"),[...Array(Math.floor(5-u))].map(((t,e)=>(0,d.jsx)(r.Z,{sx:{color:p,fontSize:m+"px"}},"star-outline-icon-"+e))),(0,d.jsx)("div",{children:(0,d.jsx)("div",{width:"2px"})}),(0,d.jsx)("div",{children:(0,d.jsx)("div",{style:{backgroundColor:p,borderRadius:"round"==i?"2px":"0px",padding:"1px",overflow:"hidden"},children:(0,d.jsxs)("p",{ref:t=>{t&&(t.style.setProperty("color","white","important"),t.style.setProperty("font-size",.8*m+"px","important"),t.style.setProperty("font-family",x,"important"),t.style.setProperty("-webkit-line-clamp",2,"important"),t.style.setProperty("line-clamp",2,"important"),t.style.setProperty("-webkit-box-orient","vertical","important"),t.style.setProperty("display","-webkit-box","important"),t.style.setProperty("overflow","hidden","important"),t.style.setProperty("text-overflow","ellipsis","important"))},style:{textAlign:"left",fontWeight:"medium"},children:["\xa0",u,"\xa0"]})})}),(0,d.jsx)("div",{children:(0,d.jsxs)("p",{ref:t=>{t&&(t.style.setProperty("color",f,"important"),t.style.setProperty("font-size",.8*m+"px","important"),t.style.setProperty("font-family",x,"important"),t.style.setProperty("-webkit-line-clamp",2,"important"),t.style.setProperty("line-clamp",2,"important"),t.style.setProperty("-webkit-box-orient","vertical","important"),t.style.setProperty("display","-webkit-box","important"),t.style.setProperty("overflow","hidden","important"),t.style.setProperty("text-overflow","ellipsis","important"))},style:{textAlign:"left",fontWeight:"medium"},children:["\xa0","("+g+")"]})})]})})}},4095:function(t,e,i){i.r(e),i.d(e,{default:function(){return E}});var o=i(7313),n=i(6090),r=i(7616),l=i(9039),s=(i(6143),i(7850),i(4444),i(7244),i(123),i(5892),i(1811),i(9302)),a=i(2575),d=i(2210),p=i(8486),c=i(9821),h=i(8866),x=i(2279),y=i.n(x),m=i(7753),f=i(7129),u=i(9854),g=i(1855),w=i(4892),v=i(3933),j=i(1092),P=i(5945),C=i(5456),b=i(3867),I=i(9219),S=i(9363),k=i(6417);const O=o.lazy((()=>Promise.all([i.e(576),i.e(955),i.e(369),i.e(985)]).then(i.bind(i,6163))));var F=function(t){const{whatmoreUITheme:e}=(0,o.useContext)(l.I);var[i,n]=(0,c.Z)();const[r]=(0,m.j1)("whatmorePrimaryFont"),[s]=(0,m.j1)("whatmoreSecondaryColorShade900"),[a]=(0,m.j1)("whatmoreShopId"),[d,p]=(0,o.useState)(0),[h,x]=(0,o.useState)(t.event),y=t.onClick;if(0==h.products.length)return(0,k.jsx)(k.Fragment,{});(0,o.useEffect)((()=>{(0,u.N8M)(a)&&(0,I.p_)(h,(0,u.Ipo)(a),a).then((t=>{x(t)}))}),[]);const f=.3*n,g=f+"px",w=f+"px",v=.05*n+"px",j=.07*n,F=j+"px",M=.05*n;return(0,k.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",width:"100%",height:"100%",justifyContent:"space-around",alignItems:"center",marginTop:"2px",marginBottom:"2px",gap:"0px"},children:[(0,k.jsxs)("div",{style:{display:"flex",flexFlow:"row nowrap",width:.95*n,height:"fit-content",paddingLeft:"4px",paddingRight:"4px",justifyContent:"space-between",alignItems:"center",gap:"4px"},className:"whatmore-event-tile-product-scale-in-and-out-animation",onClick:y,children:[(0,k.jsx)("div",{style:{width:g,height:w,overflow:"hidden",backgroundColor:s,borderRadius:"round"==e?"5px":"0px",borderWidth:"0px"==(0,u.alU)(a)?"2px":(0,u.alU)(a),borderColor:"white"==(0,u.qPe)(a)?s:(0,u.qPe)(a)},children:(0,k.jsx)("img",{ref:t=>{t&&t.style.setProperty("object-fit",(0,u.yOX)(a),"important")},src:(0,S.s)(h.products[d].thumbnail_image,"&width=".concat(400,"&height=",400)),style:{width:g,height:g,borderRadius:"round"==e?"5px":"0px",backgroundColor:s},alt:"product image"})}),(0,k.jsx)("div",{style:{width:.7*n+"px",height:"100%",overflow:"visible",marginBottom:"2px",marginRight:"2px",borderRadius:"round"==e?"5px":"0px"},children:(0,k.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",width:"100%",height:"100%",justifyContent:"center",alignItems:"center",paddingTop:"5px"},children:[(0,k.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",width:"100%",height:"fit-content",justifyContent:"flex-start",alignItems:"center"},children:(0,k.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color","black","important"),t.style.setProperty("font-size",v,"important"),t.style.setProperty("line-height","140%","important"),t.style.setProperty("font-family",r,"important"),t.style.setProperty("-webkit-line-clamp",2,"important"),t.style.setProperty("line-clamp",2,"important"),t.style.setProperty("-webkit-box-orient","vertical","important"),t.style.setProperty("display","-webkit-box","important"),t.style.setProperty("overflow","hidden","important"),t.style.setProperty("text-overflow","ellipsis","important"))},style:{textAlign:"left",fontWeight:"medium"},children:(0,P.s)(h.products[d].title)})}),(0,k.jsxs)("div",{style:{display:"flex",flexFlow:(0,u.$zZ)(a)?"row nowrap":"row-reverse nowrap",width:"100%",height:"fit-content",justifyContent:(0,u.$zZ)(a)?"flex-start":"flex-end",alignItems:"center",gap:"4px"},children:[(0,k.jsxs)("p",{ref:t=>{t&&(t.style.setProperty("color",(0,u.Uyp)(a),"important"),t.style.setProperty("font-size",F,"important"),t.style.setProperty("line-height","140%","important"),t.style.setProperty("font-family",r,"important"))},style:{textAlign:"left",fontWeight:"medium",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:1,overflow:"hidden",textOverflow:"ellipsis"},children:[" ",(0,I.jx)(parseFloat(h.products[d].price),"",a,h.products[d].currency)]}),(0,C.B)(h.products[d].price,h.products[d].compare_price)?(0,k.jsxs)("strike",{ref:t=>{t&&(t.style.setProperty("color",(0,u.kPs)(a),"important"),t.style.setProperty("font-size",.9*j+"px","important"),t.style.setProperty("line-height","140%","important"),t.style.setProperty("font-family",r,"important"),t.style.setProperty("text-decoration","line-through","important"))},style:{textAlign:"left",fontWeight:"medium",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:1,overflow:"hidden",textOverflow:"ellipsis"},children:[" ",(0,I.jx)(parseFloat(h.products[d].compare_price),"",a,h.products[d].currency)]}):(0,k.jsx)(k.Fragment,{})]}),(0,k.jsx)(b.Z,{storeId:a,productId:h.products[d].client_product_id,productLink:h.products[d].product_link,fontSize:M})]})})]},d),(0,u.IXJ)(a)?(0,k.jsx)(o.Suspense,{children:(0,k.jsx)(O,{baseFontSize:.05*n,event:h,product:h.products[0],width:.9*n,height:"fit-content"})}):(0,k.jsx)(k.Fragment,{})]})},M=i(3388),R=i(8984);function _(t){const[e,i,n,r,s]=(0,c.Z)(),{whatmoreUITheme:a}=(0,o.useContext)(l.I),d=(0,m.MO)("whatmoreShowViews"),p=(0,m.MO)("whatmoreShopId"),h=((0,m.MO)("whatmoreSecondaryColorShade600"),t.PRODUCT_BOX_HEIGHT),x=t.PRODUCT_BOX_HEIGHT_IN_PX,y=t.PRODUCT_BOX_MARGIN,[f,g,w]=(0,v.YD)({triggerOnce:!0}),P=t.event;t.isOnFocus;return(0,k.jsx)("div",{style:{position:"relative",zIndex:1,bottom:"100%",overflow:"hidden",width:"100%",height:"100%",overflow:"hidden",backgroundColor:"transparent"},className:"whatmore-ios-css-relative-fix",children:(0,k.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",width:"100%",height:"100%",justifyContent:"space-between",alignItems:"center"},children:[(0,k.jsx)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"flex-start",alignItems:"center",width:"100%"},onClick:()=>{t.onClick(P)},children:"show"===d?(0,k.jsx)("div",{style:{width:"100%",marginLeft:"5px",marginRight:"5px",marginTop:"10px"},children:(0,k.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",paddingLeft:"5px",width:"fit-content",height:"fit-content",justifyContent:"space-between",alignItems:"center"},children:(0,k.jsx)(j.Z,{event:P,fontSize:.07*i+"px"})})}):(0,k.jsx)(k.Fragment,{})}),(0,k.jsx)("div",{style:{display:"flex",width:"100%",height:e-h+"px"},onClick:()=>{t.onClick(P)}}),(0,M.xg)(P,p)?(0,k.jsx)("div",{style:{position:"relative",zIndex:1,bottom:y+"px",display:"flex",flexFlow:"column nowrap",justifyContent:"center",alignItems:"center",width:.95*i,height:x,marginLeft:y+"px",marginRight:y+"px",backgroundColor:"white",borderRadius:"round"==a?"5px":"0px",borderWidth:(0,u.alU)(p),borderColor:(0,u.qPe)(p),paddingLeft:"5px",paddingRight:"5px",overflow:"hidden"},children:(0,k.jsx)("div",{ref:f,children:g&&(0,u.PWD)(p)?(0,k.jsx)(F,{event:P,onClick:()=>{var t,e;window.location.href=(e=null===(t=P.products)||void 0===t?void 0:t[0],(0,u.lj5)(p)?e.product_link+"?"+(0,u.awP)(p)+"&"+(0,u.n9s)(p)+"&"+(0,u.vaK)(p):e.product_link)}}):(0,k.jsx)("div",{height:"20px"})})}):(0,k.jsx)(k.Fragment,{})]})})}var z=function(t){var e,i,n;const[r,s,a,d,p]=(0,c.Z)();var h=(0,o.useContext)(f.V);const{whatmoreUITheme:x}=(0,o.useContext)(l.I),y=(0,m.MO)("whatmoreShopId"),g=(0,m.MO)("whatmoreSecondaryColorShade600"),v=t.event,j=t.onClick,P=null===(e=t.isOnFocus)||void 0===e||e,C=null!==(i=t.playOnUnfocus)&&void 0!==i&&i,b=null!==(n=t.animateOnFocus&&(0,u.iWI)(y))&&void 0!==n&&n,I=(0,u.IXJ)(y)?.7:.8,S=r*I+"px",O=1-I,F=r*O,z=r*O+"px",L=r*O*.1,Z=(0,u.nzC)(y);return(0,k.jsxs)("div",{ref:t=>{t&&(t.style.setProperty("margin-top",h.tileTopMargin+"px","important"),t.style.setProperty("margin-bottom",h.tileBottomMMargin+"px","important"))},style:{margin:"0 auto",width:s+"px",height:1.2*r+"px",borderRadius:"round"==x?"5px":"0px",boxShadow:"round"==x?Z:null,borderWidth:(0,u.alU)(y),borderColor:(0,u.qPe)(y),overflow:"hidden",cursor:"pointer",position:"relative"},className:b?P?"whatmore-event-tile-scale-out-animation":"whatmore-event-tile-scale-in-animation":"none",children:[(0,k.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",width:"100%",height:"100%",justifyContent:"flex-start",alignItems:"center"},className:"whatmore-template-b-event-tile",onClick:()=>{j(v)},children:[(0,k.jsx)(w.Z,{height:S,width:"100%",url:v.thumbnail_image,isPlaying:P||C||(0,R.gE)(),event:v}),(0,M.xg)(v,y)?(0,k.jsx)("div",{style:{width:"100%",height:z,backgroundColor:g}}):(0,k.jsx)(k.Fragment,{})]}),(0,k.jsx)(_,{event:v,isOnFocus:P,PRODUCT_BOX_HEIGHT:F,PRODUCT_BOX_HEIGHT_IN_PX:z,PRODUCT_BOX_MARGIN:L,onClick:j})]})},L=i(778),Z=i(7376),T=i(7381);const W=(0,a.Z)({key:"whatmore-css-hv"});function U(t){const[e,i,n]=(0,c.Z)(),r=(0,m.MO)("whatmoreShopId"),s=t.events,a=t.onClick,p=n*(0,u.u6l)(r),{whatmoreWidgetSourceDetails:h}=(0,o.useContext)(l.I);return(0,k.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,k.jsx)("div",{style:{width:window.innerWidth,height:"fit-content"},children:(0,k.jsx)(d.tq,{slidesPerView:s.length>1?p:1,initialSlide:s.length>1?1:0,centeredSlides:!0,centeredSlidesBounds:!0,watchSlidesProgress:!0,touchRatio:.5,onSlideChange:t=>{(0,Z.y4)({userInteractionType:L.K.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:h})},children:s.map((t=>(0,k.jsx)(d.o5,{children:e=>{let{isActive:i,isPrev:o,isNext:n,isVisible:r}=e;return o||n||i?(0,k.jsx)(z,{isOnFocus:i&&r,playOnUnfocus:!1,animateOnFocus:!0,event:t,onClick:()=>{a(t)}}):(0,k.jsx)(g.Z,{})}},"whatmore-event-tile-portrait-"+t.index)))})})})}function B(t){const[e,i,n,r]=(0,c.Z)(),[s,a]=(0,o.useState)(-1),h=(0,m.MO)("whatmoreShopId"),x=t.onClick,f=t.events,w=Math.min(n,f.length),{whatmoreWidgetSourceDetails:v}=(0,o.useContext)(l.I);return(0,k.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",paddingLeft:r+"px",paddingRight:r+"px"},children:(0,k.jsx)("div",{style:{width:i*w*1.1+"px"},children:(0,k.jsx)(d.tq,{slidesPerView:w,watchSlidesProgress:!0,modules:[p.W_],navigation:!0,slidesPerGroup:parseInt(w),onSlideChange:()=>{(0,Z.y4)({userInteractionType:L.K.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:v})},spaceBetween:(0,u.WGf)(h),children:f.map(((t,e)=>{const i=y()((()=>a(e)),300);return(0,k.jsx)(d.o5,{onMouseEnter:()=>{i()},onMouseLeave:()=>{i.cancel(),a(-1)},children:i=>{let{isActive:o,isPrev:n,isNext:r,isVisible:l}=i;return l?(0,k.jsx)(z,{isOnFocus:e==s,playOnUnfocus:!0,animateOnFocus:!0,event:t,onClick:()=>{x(t)}}):(0,k.jsx)(g.Z,{})}},"whatmore-event-tile-landscape-"+t.index)}))})})})}var E=function(t){var e;const[i,a,d]=(0,h.Z)(),[p]=(0,m.j1)("whatmorePrimaryColor"),[c]=(0,m.j1)("whatmoreShopId"),[x]=(0,m.j1)("whatmoreSecondaryColor"),[y]=(0,m.j1)("whatmoreTitleFont"),g="portrait"==i?(0,m.MO)("whatmoreTitleFontSizePortrait"):(0,m.MO)("whatmoreTitleFontSize"),{whatmoreRootId:w}=(0,o.useContext)(l.I),v=t.events,j=t.onClick,P=null!==(e=(0,u.aRS)(c))&&void 0!==e?e:y;function C(t){j(t)}return(0,o.useEffect)((()=>{(0,T.Oo)("Video shopping powered by Whatmore!")}),[]),(0,o.useEffect)((()=>{l.$.forEach((t=>{var e;const i=null!==(e=t.querySelector('.whatmore-template-type[data-wh="template-b"]'))&&void 0!==e?e:t.querySelector('.whatmore-template-type[data="template-b"]');if(!i)return;i&&t&&(t.style.minHeight="0px")}))}),[]),delete r.ZP.styles.global,(0,k.jsx)(s.C,{value:W,children:(0,k.jsx)("div",{children:(0,k.jsx)(n.x,{theme:r.ZP,cssVarsRoot:w,resetCSS:!1,children:(0,k.jsxs)(f.V.Provider,{value:{tileTopMargin:25,tileBottomMMargin:25,tileLeftMargin:4,tileRightMargin:4,showPlayButton:!1},children:[t.heading.trim().length>0?(0,k.jsx)("div",{className:"whatmore-events-carousel",style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,k.jsx)("p",{ref:t=>{t&&(t.style.setProperty("font-family",P,"important"),t.style.setProperty("font-size",g+"px","important"))},style:{color:p,backgroundClip:"text",textAlign:"center"},children:t.heading})}):(0,k.jsx)(k.Fragment,{}),"landscape"===i?(0,k.jsx)(B,{events:v,onClick:C}):(0,k.jsx)(U,{events:v,onClick:C})]})})})})}},1092:function(t,e,i){var o=i(237),n=i(9854),r=i(7753),l=i(9039),s=i(7313),a=i(6417);function d(t){return t<1e3?t:t<1e5?(t/1e3).toFixed(0)+"K":(t/1e5).toFixed(0)+"L"}e.Z=function(t){const{whatmoreUITheme:e}=(0,s.useContext)(l.I),i=(0,r.MO)("whatmoreShopId"),p=(0,r.MO)("whatmorePrimaryFont"),c=t.event,h=t.fontSize;if(c.total_views<=0)return(0,a.jsx)(a.Fragment,{});const x=(0,n.S_M)(i);return"template-icon"==x?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{style:{width:"fit-content",padding:"2px",paddingLeft:"6px",paddingRight:"6px",backgroundColor:(0,n.XCH)(i),color:"white",borderRadius:"round"==e?"5px":"0px",borderWidth:(0,n.alU)(i),borderColor:(0,n.qPe)(i)},children:(0,a.jsxs)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:"center",gap:"3px",alignItems:"center"},children:[(0,a.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,a.jsx)(o.Z,{sx:{color:(0,n.aLw)(i)+" !important",fontSize:h,fontWeight:"normal"}})}),(0,a.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,a.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color",(0,n.aLw)(i),"important"),t.style.setProperty("line-height","120%","important"),t.style.setProperty("font-family",p,"important"),t.style.setProperty("font-size",h,"important"),t.style.setProperty("min-height","0","important"),t.style.setProperty("display","inline","important"),t.style.setProperty("width","auto","important"))},style:{fontWeight:"normal"},children:" "+d(c.total_views)+" "})})]})})}):"template-text"==x?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{style:{width:"fit-content",padding:"2px",paddingLeft:"6px",paddingRight:"6px",backgroundColor:(0,n.XCH)(i),color:"white",borderRadius:"round"==e?"5px":"0px",borderWidth:(0,n.alU)(i),borderColor:(0,n.qPe)(i)},children:(0,a.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:"center",gap:"3px",alignItems:"center"},children:(0,a.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,a.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color",(0,n.aLw)(i),"important"),t.style.setProperty("line-height","120%","important"),t.style.setProperty("font-family",p,"important"))},style:{fontSize:h,fontWeight:"bold"},children:" "+d(c.total_views)+" views"})})})})}):void 0}},7129:function(t,e,i){i.d(e,{V:function(){return o}});const o=(0,i(7313).createContext)({tileTopMargin:10,tileBottomMMargin:10,tileLeftMargin:10,tileRightMargin:10,showPlayButton:!0})},1855:function(t,e,i){var o=i(7313),n=i(9821),r=i(7129),l=i(6417);e.Z=function(t){var[e,i]=(0,n.Z)();return(0,o.useContext)(r.V),t.event,(0,l.jsx)("div",{style:{margin:"0 auto",width:i,height:e,overflow:"hidden"}})}},9363:function(t,e,i){i.d(e,{s:function(){return r}});var o=i(9854),n=i(7753);function r(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const i=(0,n.MO)("whatmoreShopId");return"shopify"!=(0,o.Ipo)(i)?"STRNV8MHJTF"==i?t+"?format=webp":t:t+e}},5456:function(t,e,i){i.d(e,{B:function(){return o}});const o=function(t,e){return!(isNaN(e)||!e||("string"===typeof e||e instanceof String)&&!e.trim().length)&&!(parseInt(e)<=parseInt(t))}},8816:function(t,e,i){var o=i(5318);e.Z=void 0;var n=o(i(5045)),r=i(6417),l=(0,n.default)((0,r.jsx)("path",{d:"M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}),"Star");e.Z=l},417:function(t,e,i){var o=i(5318);e.Z=void 0;var n=o(i(5045)),r=i(6417),l=(0,n.default)((0,r.jsx)("path",{d:"m22 9.24-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"}),"StarHalf");e.Z=l},4885:function(t,e,i){var o=i(5318);e.Z=void 0;var n=o(i(5045)),r=i(6417),l=(0,n.default)((0,r.jsx)("path",{d:"m22 9.24-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"}),"StarOutline");e.Z=l},237:function(t,e,i){var o=i(5318);e.Z=void 0;var n=o(i(5045)),r=i(6417),l=(0,n.default)((0,r.jsx)("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),"Visibility");e.Z=l},5892:function(){},4444:function(){},1811:function(){},7850:function(){}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[757],{9085:function(t,e,o){o.r(e),o.d(e,{default:function(){return E}});var n=o(7313),r=(o(3439),o(6090)),i=o(9039),l=o(7616),s=(o(6143),o(7850),o(4444),o(7244),o(123),o(5892),o(1811),o(9302)),a=o(2575),c=o(9821),d=o(8866),p=o(2279),h=o.n(p),u=o(7753),x=o(7129),m=o(1855),y=o(9854),f=o(7376),v=o(778),g=o(4892),w=o(5945),j=o(9219),M=o(6805),C=o(8984),P=o(6417);var b=function(t){var e,o,r,l,s,a,d,p,h,m;const[f,v,b,S,k]=(0,c.Z)(),I=(0,u.MO)("whatmoreShopId"),O="portrait"===k[M.YP],E=(O?1.076*v*(0,y.pEd)(I):v*(0,y.H4g)(I))+"px",N=(O?1.076*v*(0,y.pEd)(I):v*(0,y.H4g)(I))+"px",Z=(O?.965*v*(0,y.pEd)(I):.859*v*(0,y.H4g)(I))+"px",[R,z]=(0,n.useState)(t.event),F=(0,u.MO)("whatmoreSecondaryColor");var T=(0,n.useContext)(x.V);const W=null===(e=t.isOnFocus)||void 0===e||e,Y=null!==(o=t.playOnUnfocus)&&void 0!==o&&o,_=t.onClick,{whatmoreUITheme:D}=(0,n.useContext)(i.I),L=null!==(r=t.animateOnFocus&&(0,y.iWI)(I))&&void 0!==r&&r,[U,A]=(0,n.useState)(!(0,y.N8M)(I)),B=(0,u.MO)("whatmorePrimaryFont"),H=Math.round(+(null===(l=R.products[0])||void 0===l?void 0:l.price)),X=Math.round(+(null===(s=R.products[0])||void 0===s?void 0:s.compare_price)),G=X&&0!=X&&X>H?Math.ceil((X-H)/X*100):NaN,[V,q]=(0,n.useState)(G);return(0,n.useEffect)((()=>{(0,y.N8M)(I)&&(0,j.p_)(R,(0,y.Ipo)(I),I).then((t=>{var e,o,n;z(t),(null===t||void 0===t||null===(e=t.products)||void 0===e||null===(o=e[0])||void 0===o?void 0:o.discount)&&q(null===t||void 0===t||null===(n=t.products[0])||void 0===n?void 0:n.discount),A(!0)}))}),[]),(0,P.jsxs)("div",{ref:t=>{t&&(t.style.setProperty("margin-top",T.tileTopMargin+"px","important"),t.style.setProperty("margin-bottom",T.tileBottomMMargin+"px","important"))},className:L&&!O?W?"whatmore-event-tile-scale-out-animation":"whatmore-event-tile-scale-in-animation":"none",style:{margin:"0 auto",cursor:"pointer",width:v},onClick:()=>{_(R)},children:[(0,P.jsx)("div",{style:{borderRadius:"round"==D?"5%":"0px",boxShadow:"round"==D?"0px 0px 5px 0px #B0B0B0":null,height:f,borderWidth:(0,y.alU)(I),borderColor:(0,y.qPe)(I),overflow:"hidden"},children:(0,P.jsx)(g.Z,{height:"100%",width:"100%",url:R.thumbnail_image,isPlaying:W||Y||(0,C.gE)(),event:R})}),(0,P.jsxs)("div",{style:{display:"flex",flexDirection:"column",padding:"12px 4px",gap:"5px"},children:[(0,P.jsx)("p",{ref:t=>{t&&(t.style.setProperty("font-size",E,"important"),t.style.setProperty("line-height","120%","important"),t.style.setProperty("font-family",B,"important"),t.style.setProperty("-webkit-line-clamp",1,"important"),t.style.setProperty("line-clamp",1,"important"),t.style.setProperty("-webkit-box-orient","vertical","important"),t.style.setProperty("display","-webkit-box","important"),t.style.setProperty("overflow","hidden","important"),t.style.setProperty("text-overflow","ellipsis","important"))},children:(0,w.s)(null===(a=R.products[0])||void 0===a?void 0:a.title)}),U&&(0,P.jsxs)("div",{style:{display:"flex",gap:"12px",flexDirection:(0,y.$zZ)(I)?"row":"row-reverse",justifyContent:(0,y.$zZ)(I)?"flex-start":"flex-end"},children:[(0,P.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color",(0,y.Uyp)(I),"important"),t.style.setProperty("font-size",N,"important"),t.style.setProperty("font-family",B,"important"),t.style.setProperty("overflow","hidden","important"))},style:{textAlign:"left",fontWeight:"bold"},children:(0,j.jx)(parseFloat(null===(d=R.products[0])||void 0===d?void 0:d.price)," ",I,null===(p=R.products[0])||void 0===p?void 0:p.currency)}),!isNaN(X)&&X>H&&(0,P.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color",(0,y.kPs)(I),"important"),t.style.setProperty("font-size",N,"important"),t.style.setProperty("font-family",B,"important"),t.style.setProperty("overflow","hidden","important"))},style:{textDecoration:"line-through"},children:(0,j.jx)(parseFloat(null===(h=R.products[0])||void 0===h?void 0:h.compare_price)," ",I,null===(m=R.products[0])||void 0===m?void 0:m.currency)})]}),!isNaN(V)&&0!=V&&U&&(0,P.jsx)("div",{style:{display:"flex",backgroundColor:"green"==(0,y.ZJm)(I)?"#343434"==F?(0,y.ZJm)(I):F:(0,y.ZJm)(I),alignItems:"center",borderRadius:"4px",width:"fit-content",padding:"3px 6px"},children:(0,P.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color",(0,y.mso)(I),"important"),t.style.setProperty("font-size",Z,"important"),t.style.setProperty("font-family",B,"important"))},children:"".concat(V,"% Off")})})]})]})},S=o(7381);const k=(0,a.Z)({key:"whatmore-css-hv"});function I(t){const[e,o,r]=(0,c.Z)(),l=(0,u.MO)("whatmoreShopId"),s=t.events,a=t.onClick,{whatmoreWidgetSourceDetails:d}=(0,n.useContext)(i.I),p=Math.ceil(r),h=2*p,[x,g]=(0,n.useState)(h),[w,j]=(0,n.useState)(2*p),M=0===(0,y.WGf)(l)?24:(0,y.WGf)(l),[C,S]=(0,n.useState)({touchX:0,touchY:0}),k=()=>(0,P.jsx)("div",{style:{width:"50px",borderRadius:"50%",height:"50px",backgroundColor:"rgba(0, 0, 0, 0.3)"},children:(0,P.jsx)("div",{style:{display:"flex"},className:"whatmore-arrow-right-portrait"})}),I=()=>(0,P.jsx)("div",{style:{width:"50px",borderRadius:"50%",height:"50px",backgroundColor:"rgba(0, 0, 0, 0.3)"},children:(0,P.jsx)("div",{style:{display:"flex"},className:"whatmore-arrow-left-portrait"})}),O=t=>{if("next"===t){const t=2;j((t=>Math.min(t+Math.floor(r),s.length+p+1))),g((e=>Math.min(e+t,s.length+p+1)))}else j((t=>Math.max(t-Math.floor(r),h)));(0,f.y4)({userInteractionType:v.K.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:d})};return(0,P.jsxs)("div",{className:"whatmore-events-carousel-portrait",style:{display:"flex",justifyContent:"flex-start",paddingLeft:"12px",overflow:"hidden",position:"relative"},onTouchStart:t=>{S({touchX:t.touches[0].clientX,touchY:t.touches[0].clientY})},onTouchEnd:t=>{var e,o,n,r;const i=(null===(e=t.changedTouches)||void 0===e||null===(o=e[0])||void 0===o?void 0:o.clientX)-C.touchX,l=(null===(n=t.changedTouches)||void 0===n||null===(r=n[0])||void 0===r?void 0:r.clientY)-C.touchY;Math.sqrt(i**2+l**2)>10&&Math.abs(i)>Math.abs(l)&&O(i>0?"prev":"next")},children:[(0,y.Yxs)(l)&&(0,P.jsxs)(P.Fragment,{children:[w<=s.length+p&&(0,P.jsx)("div",{onClick:()=>O("next"),style:{position:"absolute",zIndex:1,top:"50%",right:"0",transform:"translateY(-100%)"},children:(0,P.jsx)(k,{})}),w>2*p&&(0,P.jsx)("div",{onClick:()=>O("prev"),style:{position:"absolute",left:"0",zIndex:1,top:"50%",transform:"translateY(-100%)"},children:(0,P.jsx)(I,{})})]}),(0,P.jsx)("div",{style:{display:"flex",gap:M,transform:"translateX(-".concat((w-h)*(o+M),"px)"),transition:"transform 0.4s ease-in-out"},children:s.map(((t,e)=>e<x?(0,P.jsx)("div",{children:(0,P.jsx)(b,{isOnFocus:e<=w-p-1&&e>=Math.max(0,w-h),playOnUnfocus:!1,animateOnFocus:!0,event:t,onClick:()=>a(t)})},"whatmore-carousel-tile-".concat(e)):(0,P.jsx)(m.Z,{})))})]})}function O(t){const[e,o,r,l]=(0,c.Z)(),[s,a]=(0,n.useState)(-1),d=(0,u.MO)("whatmoreShopId"),[p,x]=(0,n.useState)("next"),m=t.onClick,g=t.events,{whatmoreWidgetSourceDetails:w}=(0,n.useContext)(i.I),j=Math.min(Math.ceil(r),g.length),[M,C]=(0,n.useState)(0),S=0===(0,y.WGf)(d)?24:(0,y.WGf)(d),k=()=>(0,P.jsx)("div",{children:(0,P.jsx)("button",{onClick:N,style:{width:"50px",borderRadius:"6px",height:"100px",backgroundColor:"rgba(0, 0, 0, 0.3)"},children:(0,P.jsx)("div",{style:{display:"flex"},className:"whatmore-arrow-right"})})}),I=()=>(0,P.jsx)("div",{children:(0,P.jsx)("button",{onClick:E,style:{width:"50px",borderRadius:"6px",height:"100px",backgroundColor:"rgba(0, 0, 0, 0.3)"},children:(0,P.jsx)("div",{style:{display:"flex"},className:"whatmore-arrow-left"})})});(0,n.useEffect)((()=>{M<=j&&C((t=>t+j))}),[j]);const O=()=>{a(-1)},E=()=>{M!==j&&(x("prev"),C((t=>Math.max(Math.ceil(t-r),j))),(0,f.y4)({userInteractionType:v.K.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:w}))},N=()=>{M>g.length+r||(x("next"),C((t=>Math.floor(t+r))),(0,f.y4)({userInteractionType:v.K.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:w}))},Z=M>g.length?g.length-j+1:M-j,R=M>=g.length?g.length:Z+j,z=g.slice(Z,R);return(0,P.jsxs)("div",{className:"whatmore-events-carousel-landscape",style:{position:"relative",display:"flex",justifyContent:"center",alignItems:"center",paddingLeft:"".concat(l,"px"),paddingRight:"".concat(l,"px")},children:[g.length>=r-1&&(0,P.jsx)("div",{style:{position:"absolute",left:"0",zIndex:1,top:"50%",transform:"translateX(50%) translateY(-65%)"},children:M!==j&&(0,P.jsx)(I,{})}),(0,P.jsx)("div",{style:{display:"flex",gap:S+"px",width:"".concat(o*r*(0,y.Su5)(d),"px"),paddingLeft:"8px",justifyContent:g.length<=r-1?"center":"flex-start",overflow:"hidden"},children:z.map(((t,e)=>{const o="whatmore-event-tile-landscape-".concat(t.index).concat(e===j-1?"-last":""),n=e===s;return(0,P.jsx)("div",{className:"whatmore-event-tile-horizontal-swipe-animation-".concat("next"===p?"next":"prev"),onMouseEnter:()=>(t=>{const e=h()((()=>a(t)),300);return e(),e.cancel})(e),onMouseLeave:O,children:(0,P.jsx)(b,{isOnFocus:n,playOnUnfocus:!0,animateOnFocus:!0,event:t,onClick:()=>(t=>{m(t)})(t)})},o)}))}),g.length>=r-1&&(0,P.jsx)("div",{style:{position:"absolute",zIndex:1,top:"50%",right:l+"px",transform:"translateY(-65%)"},children:M<=g.length&&(0,P.jsx)(k,{})})]})}var E=function(t){var e;const[o,a,c]=(0,d.Z)(),[p]=(0,u.j1)("whatmoreShopId"),[h]=(0,u.j1)("whatmorePrimaryColor"),[m]=(0,u.j1)("whatmoreSecondaryColor"),[f]=(0,u.j1)("whatmoreTitleFont"),v="portrait"==o?(0,u.MO)("whatmoreTitleFontSizePortrait"):(0,u.MO)("whatmoreTitleFontSize"),{whatmoreRootId:g}=(0,n.useContext)(i.I),w=t.events,j=t.onClick,M=null!==(e=(0,y.aRS)(p))&&void 0!==e?e:f;function C(t){j(t)}return(0,n.useEffect)((()=>{(0,S.Oo)("Video shopping powered by Whatmore!")}),[]),(0,n.useEffect)((()=>{i.$.forEach((t=>{var e;const o=null!==(e=t.querySelector('.whatmore-template-type[data-wh="template-f"]'))&&void 0!==e?e:t.querySelector('.whatmore-template-type[data="template-f"]');if(!o)return;o&&t&&(t.style.minHeight="0px")}))}),[]),delete l.ZP.styles.global,(0,P.jsx)(s.C,{value:k,children:(0,P.jsx)("div",{children:(0,P.jsx)(r.x,{theme:l.ZP,cssVarsRoot:g,resetCSS:!1,children:(0,P.jsxs)(x.V.Provider,{value:{tileTopMargin:25,tileBottomMMargin:25,tileLeftMargin:4,tileRightMargin:4,showPlayButton:!0},children:[t.heading.trim().length>0?(0,P.jsx)("div",{className:"whatmore-events-carousel",style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,P.jsx)("p",{ref:t=>{t&&(t.style.setProperty("font-family",M,"important"),t.style.setProperty("font-size",v+"px","important"))},style:{color:h,backgroundClip:"text",textAlign:"center",fontWeight:(0,y.wOV)(p),lineHeight:(0,y.vY4)(p),letterSpacing:(0,y.X2K)(p)},children:t.heading})}):(0,P.jsx)(P.Fragment,{}),"landscape"===o?(0,P.jsx)(O,{events:w,onClick:C}):(0,P.jsx)(I,{events:w,onClick:C})]})})})})}},7129:function(t,e,o){o.d(e,{V:function(){return n}});const n=(0,o(7313).createContext)({tileTopMargin:10,tileBottomMMargin:10,tileLeftMargin:10,tileRightMargin:10,showPlayButton:!0})},1855:function(t,e,o){var n=o(7313),r=o(9821),i=o(7129),l=o(6417);e.Z=function(t){var[e,o]=(0,r.Z)();return(0,n.useContext)(i.V),t.event,(0,l.jsx)("div",{style:{margin:"0 auto",width:o,height:e,overflow:"hidden"}})}},3439:function(){},5892:function(){},4444:function(){},1811:function(){},7850:function(){}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[617],{3827:function(e,t,l){l.r(t);var o=l(7313),r=l(6090),a=l(7616),n=(l(6143),l(7850),l(4444),l(7244),l(123),l(5892),l(1811),l(9302)),i=l(2575),s=l(8866),c=l(7753),h=l(7129),d=l(9039),p=l(8631),m=l(6066),u=l(8782),g=l(9821),f=l(7381),v=l(5380),x=l(3933),w=l(9854),C=l(6417);const y=(0,i.Z)({key:"whatmore-css-cv"});t.default=function(e){const t=e.events,[l,i,j]=(0,s.Z)(),[k,M,S,Z,P]=(0,g.Z)(),[O,R]=(0,o.useState)(Array(t.length).fill(0).map((()=>Math.random()))),b=(0,c.MO)("whatmoreCollectionsTileSize"),E="portrait"==l?0:(0,c.MO)("whatmoreLandscapePadding"),I=(0,c.MO)("whatmoreCollectionsTilesSpacing"),{whatmoreIsCollectionsTemplate:L}=(0,o.useContext)(d.I),T=(0,c.MO)("whatmoreShopId"),{whatmoreRootId:V}=(0,o.useContext)(d.I),B=e.onClick;function q(e){B(e)}(0,o.useEffect)((()=>{(0,f.Oo)("Video shopping powered by Whatmore!")}),[]),delete a.ZP.styles.global;var A=[];for(let o=0,r=!1;o<t.length;)r&&o!=t.length-1&&O[o]>.2?(A.push((0,C.jsx)(m.Z,{event1:t[o],event2:t[o+1],onClick:()=>{q(t[o-1])}},"collections-tile-"+o)),o+=2,r=!r):(A.push((0,C.jsx)(p.Z,{event:t[o],onClick:()=>{q(t[o-1])},borderRadius:"10%",removeBorders:!1},"collections-tile-"+o)),o+=1,r=!r);(0,o.useEffect)((()=>{d.$.forEach((e=>{var t;if(!(null!==(t=e.querySelector('.whatmore-template-type[data-wh="template-collections-a"]'))&&void 0!==t?t:e.querySelector('.whatmore-template-type[data="template-collections-a"]')))return;e&&(e.style.minHeight="0px")}))}),[]);const[D,H,W]=(0,x.YD)({triggerOnce:!1});return(0,C.jsx)(n.C,{value:y,children:(0,C.jsx)("div",{children:(0,C.jsx)(r.x,{theme:a.ZP,cssVarsRoot:V,resetCSS:!1,children:(0,C.jsxs)(h.V.Provider,{value:{tileTopMargin:0,tileBottomMMargin:0,tileLeftMargin:0,tileRightMargin:0,showPlayButton:!1},children:[(0,C.jsx)("div",{ref:D,style:{marginLeft:E+"px",marginRight:E+"px"},children:(0,C.jsx)(u.P,{renderElement:e=>(0,C.jsx)(C.Fragment,{children:e.eventData}),dataList:A,spacing:I,defaultHeight:k*b*.01+"px",defaultWidth:M*b*.01+"px",retainAlreadyRenderedElements:!0})}),(0,w.dhc)(T)&&L&&!H&&-1==e.index&&(0,C.jsx)(v.Z,{event:t[0],inVideoClick:q,closeClick:t=>{t.stopPropagation(),e.setScreen(-2)}})]})})})})}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[591],{6071:function(e,t,r){r.r(t);var a=r(7313),l=r(6090),o=r(7616),i=(r(6143),r(7850),r(4444),r(7244),r(123),r(5892),r(1811),r(9302)),n=r(2575),s=(r(8984),r(8866)),c=r(7753),h=r(7129),d=r(9039),m=r(8631),p=r(6066),u=r(8782),g=r(9821),v=r(7381),f=r(9854),w=r(5380),x=r(3933),y=r(6417);const C=(0,n.Z)({key:"whatmore-css-cv"});t.default=function(e){const t=e.events,[r,n,S]=(0,s.Z)(),[j,k]=(0,a.useState)(Array(t.length).fill(0).map((()=>Math.random()))),[M,Z,b,P,O]=(0,g.Z)(),R=(0,c.MO)("whatmoreCollectionsTileSize"),E="portrait"==r?0:(0,c.MO)("whatmoreLandscapePadding"),I=(0,c.MO)("whatmoreCollectionsTilesSpacing"),{whatmoreIsCollectionsTemplate:q}=(0,a.useContext)(d.I),B=(0,c.MO)("whatmoreShopId"),{whatmoreRootId:L}=(0,a.useContext)(d.I),T=e.onClick,[V,A,D]=(0,x.YD)({triggerOnce:!1});function H(e){T(e)}delete o.ZP.styles.global;var W=[];for(let a=0,l=!1;a<t.length;)l&&a!=t.length-1&&j[a]>.2?(W.push((0,y.jsx)(p.Z,{event1:t[a],event2:t[a+1],onClick:()=>{H(t[a-1])},removeBorders:!0},"collections-tile-"+a)),a+=2,l=!l):(W.push((0,y.jsx)(m.Z,{event:t[a],onClick:()=>{H(t[a-1])},removeBorders:!0,borderRadius:"0%"},"collections-tile-"+a)),a+=1,l=!l);return(0,a.useEffect)((()=>{(0,v.Oo)("Video shopping powered by Whatmore!")}),[]),(0,a.useEffect)((()=>{d.$.forEach((e=>{var t;if(!(null!==(t=e.querySelector('.whatmore-template-type[data-wh="template-collections-b"]')||e.querySelector('.whatmore-template-type[data-wh="template-d"]'))&&void 0!==t?t:e.querySelector('.whatmore-template-type[data="template-collections-b"]')||e.querySelector('.whatmore-template-type[data="template-d"]')))return;e&&(e.style.minHeight="0px")}))}),[]),(0,y.jsx)(i.C,{value:C,children:(0,y.jsx)("div",{children:(0,y.jsx)(l.x,{theme:o.ZP,cssVarsRoot:L,resetCSS:!1,children:(0,y.jsxs)(h.V.Provider,{value:{tileTopMargin:0,tileBottomMMargin:0,tileLeftMargin:0,tileRightMargin:0,showPlayButton:!1},children:[(0,y.jsx)("div",{ref:V,style:{marginLeft:E+"px",marginRight:E+"px"},children:(0,y.jsx)(u.P,{renderElement:e=>(0,y.jsx)(y.Fragment,{children:e.eventData}),dataList:W,spacing:I,defaultHeight:M*R*.01+"px",defaultWidth:Z*R*.01+"px",retainAlreadyRenderedElements:!0})}),(0,f.dhc)(B)&&q&&!A&&-1==e.index&&(0,y.jsx)(w.Z,{event:t[0],inVideoClick:H,closeClick:t=>{t.stopPropagation(),e.setScreen(-2)}})]})})})})}}}]);
|