1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{8417:function(e,t,n){"use strict";n.d(t,{Z:function(){return Q}});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t,n;this._insertTag((t=this,(n=document.createElement("style")).setAttribute("data-emotion",t.key),void 0!==t.nonce&&n.setAttribute("nonce",t.nonce),n.appendChild(document.createTextNode("")),n.setAttribute("data-s",""),n))}var r=this.tags[this.tags.length-1];if(this.isSpeedy){var i=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(r);try{i.insertRule(e,i.cssRules.length)}catch(o){}}else r.appendChild(document.createTextNode(e));this.ctr++}
1,t.flush=function(){this.tags.forEach(function(e){return e.parentNode&&e.parentNode.removeChild(e)}),this.tags=[],this.ctr=0},e}(),i=Math.abs,o=String.fromCharCode,a=Object.assign;function s(e){return e.trim()}function l(e,t,n){return e.replace(t,n)}function u(e,t){return e.indexOf(t)}function c(e,t){return 0|e.charCodeAt(t)}function d(e,t,n){return e.slice(t,n)}function f(e){return e.length}function h(e){return e.length}function p(e,t){return t.push(e),e}var $=1,m=1,g=0,v=0,_=0,y="";function b(e,t,n,r,i,o,a){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:$,column:m,length:a,return:""}}function x(e,t){return a(b("",null,null,"",null,null,0),e,{length:-e.length},t)}function w(){return _=v>0?c(y,--v):0,m--,10===_&&(m=1,$--),_}function k(){return _=v<g?c(y,v++):0,m++,10===_&&(m=1,$++),_}function S(){return c(y,v)}function C(e,t){return d(y,e,t)}function A(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function P(e){return $=m=1,g=f(y=e),v=0,[]}function E(e){return y="",e}function T(e){return s(C(v-1,function e(t){for(;k();)switch(_){case t:return v;case 34:case 39:34!==t&&39!==t&&e(_);break;case 40:41===t&&e(t);break;case 92:k()}return v}(91===e?e+2:40===e?e+1:e)))}function R(e){for(;_=S();)if(_<33)k();else break;return A(e)>2||A(_)>3?"":" "}function I(e,t){for(;--t&&k()&&!(_<48)&&!(_>102)&&(!(_>57)||!(_<65))&&(!(_>70)||!(_<97)););return C(e,v+(t<6&&32==S()&&32==k()))}function z(e,t){for(;k();)if(e+_===57)break;else if(e+_===84&&47===S())break;return"/*"+C(t,v-1)+"*"+o(47===e?e:k())}function L(e){for(;!A(S());)k();return C(e,v)}var j="-ms-",V="-moz-",O="-webkit-",M="comm",D="rule",F="decl",U="@keyframes";function N(e,t){for(var n="",r=h(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function B(e,t,n,r){switch(e.type){case"@import":case F:return e.return=e.return||e.value;case M:return"";case U:return e.return=e.value+"{"+N(e.children,r)+"}";case D:e.value=e.props.join(",")}return f(n=N(e.children,r))?e.return=e.value+"{"+n+"}":""}function Z(e,t,n,r,o,a,u,c,f,p,$){for(var m=o-1,g=0===o?a:[""],v=h(g),_=0,y=0,x=0;_<r;++_)for(var w=0,k=d(e,m+1,m=i(y=u[_])),S=e;w<v;++w)(S=s(y>0?g[w]+" "+k:l(k,/&\f/g,g[w])))&&(f[x++]=S);return b(e,t,n,0===o?D:c,f,p,$)}function H(e,t,n){return b(e,t,n,M,o(_),d(e,2,-2),0)}function W(e,t,n,r){return b(e,t,n,F,d(e,0,r),d(e,r+1,-1),r)}var G=function(e,t,n){for(var r=0,i=0;r=i,i=S(),38===r&&12===i&&(t[n]=1),!A(i);)k();return C(e,v)},q=function(e,t){var n=-1,r=44;do switch(A(r)){case 0:38===r&&12===S()&&(t[n]=1),e[n]+=G(v-1,t,n);break;case 2:e[n]+=T(r);break;case 4:if(44===r){e[++n]=58===S()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=o(r)}while(r=k());return e},Y=new WeakMap,X=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Y.get(n))&&!r){Y.set(e,!0);for(var i,o,a=[],s=(i=t,o=a,E(q(P(i),o))),l=n.props,u=0,c=0;u<s.length;u++)for(var d=0;d<l.length;d++,c++)e.props[c]=a[u]?s[u].replace(/&\f/g,l[d]):l[d]+" "+s[u]}}},K=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},J=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case F:e.return=function e(t,n){var r,i;switch(r=t,i=n,45^c(r,0)?(((i<<2^c(r,0))<<2^c(r,1))<<2^c(r,2))<<2^c(r,3):0){case 5103:return O+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return O+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return O+t+V+t+j+t+t;case 6828:case 4268:return O+t+j+t+t;case 6165:return O+t+j+"flex-"+t+t;case 5187:return O+t+l(t,/(\w+).+(:[^]+)/,O+"box-$1$2"+j+"flex-$1$2")+t;case 5443:return O+t+j+"flex-item-"+l(t,/flex-|-self/,"")+t;case 4675:return O+t+j+"flex-line-pack"+l(t,/align-content|flex-|-self/,"")+t;case 5548:return O+t+j+l(t,"shrink","negative")+t;case 5292:return O+t+j+l(t,"basis","preferred-size")+t;case 6060:return O+"box-"+l(t,"-grow","")+O+t+j+l(t,"grow","positive")+t;case 4554:return O+l(t,/([^-])(transform)/g,"$1"+O+"$2")+t;
1case 6187:return l(l(l(t,/(zoom-|grab)/,O+"$1"),/(image-set)/,O+"$1"),t,"")+t;case 5495:case 3959:return l(t,/(image-set\([^]*)/,O+"$1$`$1");case 4968:return l(l(t,/(.+:)(flex-)?(.*)/,O+"box-pack:$3"+j+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+O+t+t;case 4095:case 3583:case 4068:case 2532:return l(t,/(.+)-inline(.+)/,O+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(f(t)-1-n>6)switch(c(t,n+1)){case 109:if(45!==c(t,n+4))break;case 102:return l(t,/(.+:)(.+)-([^]+)/,"$1"+O+"$2-$3$1"+V+(108==c(t,n+3)?"$3":"$2-$3"))+t;case 115:return~u(t,"stretch")?e(l(t,"stretch","fill-available"),n)+t:t}break;case 4949:if(115!==c(t,n+1))break;case 6444:switch(c(t,f(t)-3-(~u(t,"!important")&&10))){case 107:return l(t,":",":"+O)+t;case 101:return l(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+O+(45===c(t,14)?"inline-":"")+"box$3$1"+O+"$2$3$1"+j+"$2box$3")+t}break;case 5936:switch(c(t,n+11)){case 114:return O+t+j+l(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return O+t+j+l(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return O+t+j+l(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return O+t+j+t+t}return t}(e.value,e.length);break;case U:return N([x(e,{value:l(e.value,"@","@"+O)})],r);case D:if(e.length){var i,o;return i=e.props,o=function(t){var n;switch(n=t,(n=/(::plac\w+|:read-\w+)/.exec(n))?n[0]:n){case":read-only":case":read-write":return N([x(e,{props:[l(t,/:(read-\w+)/,":"+V+"$1")]})],r);case"::placeholder":return N([x(e,{props:[l(t,/:(plac\w+)/,":"+O+"input-$1")]}),x(e,{props:[l(t,/:(plac\w+)/,":"+V+"$1")]}),x(e,{props:[l(t,/:(plac\w+)/,j+"input-$1")]})],r)}return""},i.map(o).join("")}}}],Q=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var i=e.stylisPlugins||J,a={},s=[];$=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)});var d,$,m,g,_,y,b=[B,(d=function(e){g.insert(e)},function(e){!e.root&&(e=e.return)&&d(e)})],x=(_=[X,K].concat(i,b),y=h(_),function(e,t,n,r){for(var i="",o=0;o<y;o++)i+=_[o](e,t,n,r)||"";return i}),C=function(e){var t;return N(E(function e(t,n,r,i,a,s,d,h,$){for(var m=0,g=0,_=d,y=0,b=0,x=0,C=1,A=1,P=1,E=0,j="",V=a,O=s,M=i,D=j;A;)switch(x=E,E=k()){case 40:if(108!=x&&58==c(D,_-1)){-1!=u(D+=l(T(E),"&","&\f"),"&\f")&&(P=-1);break}case 34:case 39:case 91:D+=T(E);break;case 9:case 10:case 13:case 32:D+=R(x);break;case 92:D+=I(v-1,7);continue;case 47:switch(S()){case 42:case 47:p(H(z(k(),v),n,r),$);break;default:D+="/"}break;case 123*C:h[m++]=f(D)*P;case 125*C:case 59:case 0:switch(E){case 0:case 125:A=0;case 59+g:b>0&&f(D)-_&&p(b>32?W(D+";",i,r,_-1):W(l(D," ","")+";",i,r,_-2),$);break;case 59:D+=";";default:if(p(M=Z(D,n,r,m,g,a,h,j,V=[],O=[],_),s),123===E){if(0===g)e(D,n,M,M,V,s,_,h,O);else switch(99===y&&110===c(D,3)?100:y){case 100:case 109:case 115:e(t,M,M,i&&p(Z(t,M,M,0,0,a,h,j,a,V=[],_),O),a,O,_,h,i?V:O);break;default:e(D,M,M,M,[""],O,0,h,O)}}}m=g=b=0,C=P=1,j=D="",_=d;break;case 58:_=1+f(D),b=x;default:if(C<1){if(123==E)--C;else if(125==E&&0==C++&&125==w())continue}switch(D+=o(E),E*C){case 38:P=g>0?1:(D+="\f",-1);break;case 44:h[m++]=(f(D)-1)*P,P=1;break;case 64:45===S()&&(D+=T(k())),y=S(),g=_=f(j=D+=L(v)),E++;break;case 45:45===x&&2==f(D)&&(C=0)}}return s}("",null,null,null,[""],t=P(t=e),0,[0],t)),x)};m=function(e,t,n,r){g=n,C(e?e+"{"+t.styles+"}":t.styles),r&&(A.inserted[t.name]=!0)};var A={key:t,sheet:new r({key:t,container:$,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:m};return A.sheet.hydrate(s),A}},5042:function(e,t){"use strict";t.Z=function(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}},2324:function(e,t,n){"use strict";n.d(t,{O:function(){return $}});var r,i=function(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=4)t=(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))*1540483477+((t>>
1>16)*59797<<16),t^=t>>>24,n=(65535&t)*1540483477+((t>>>16)*59797<<16)^(65535&n)*1540483477+((n>>>16)*59797<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n^=255&e.charCodeAt(r),n=(65535&n)*1540483477+((n>>>16)*59797<<16)}return n^=n>>>13,(((n=(65535&n)*1540483477+((n>>>16)*59797<<16))^n>>>15)>>>0).toString(36)},o={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},a=n(5042),s=/[A-Z]|^ms/g,l=/_EMO_([^_]+?)_([^]*?)_EMO_/g,u=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!=typeof e},d=(0,a.Z)(function(e){return u(e)?e:e.replace(s,"-$&").toLowerCase()}),f=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(l,function(e,t,n){return r={name:t,styles:n,next:r},t})}return 1===o[e]||u(e)||"number"!=typeof t||0===t?t:t+"px"};function h(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return r={name:n.name,styles:n.styles,next:r},n.name;if(void 0!==n.styles){var i,o=n.next;if(void 0!==o)for(;void 0!==o;)r={name:o.name,styles:o.styles,next:r},o=o.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=h(e,t,n[i])+";";else for(var o in n){var a=n[o];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=o+"{"+t[a]+"}":c(a)&&(r+=d(o)+":"+f(o,a)+";");else if(Array.isArray(a)&&"string"==typeof a[0]&&(null==t||void 0===t[a[0]]))for(var s=0;s<a.length;s++)c(a[s])&&(r+=d(o)+":"+f(o,a[s])+";");else{var l=h(e,t,a);switch(o){case"animation":case"animationName":r+=d(o)+":"+l+";";break;default:r+=o+"{"+l+"}"}}}return r}(e,t,n);case"function":if(void 0!==e){var a=r,s=n(e);return r=a,h(e,t,s)}}if(null==t)return n;var l=t[n];return void 0!==l?l:n}var p=/label:\s*([^\s;\n{]+)\s*(;|$)/g,$=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var o,a,s=!0,l="";r=void 0;var u=e[0];null==u||void 0===u.raw?(s=!1,l+=h(n,t,u)):l+=u[0];for(var c=1;c<e.length;c++)l+=h(n,t,e[c]),s&&(l+=u[c]);p.lastIndex=0;for(var d="";null!==(a=p.exec(l));)d+="-"+a[1];return{name:i(l)+d,styles:l,next:r}}},444:function(e,t,n){"use strict";function r(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "}),r}n.d(t,{My:function(){return o},fp:function(){return r}});var i=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},o=function(e,t,n){i(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next;while(void 0!==o)}}},4442:function(e,t,n){"use strict";n.d(t,{Me:function(){return ek},N4:function(){return ew},T1:function(){return e0},O2:function(){return ex},rZ:function(){return eb}});var r=n(7294),i=n.t(r,2),o=n(8417);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var s=function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}},l=n(2324),u=!!i.useInsertionEffect&&i.useInsertionEffect||r.useLayoutEffect,c=(0,r.createContext)("undefined"!=typeof HTMLElement?(0,o.Z)({key:"css"}):null);c.Provider;var d=(0,r.createContext)({}),f=function(e,t){if("function"==typeof t){var n;return t(e)}return a({},e,t)},h=s(function(e){return s(function(t){return f(e,t)})}),p=function(e){var t=(0,r.useContext)(d);return e.theme!==t&&(t=h(t)(e.theme)),(0,r.createElement)(d.Provider,{value:t},e.children)};n(8679);var $,m=n(444),g=($=function(e,t){var n=e.styles,i=(0,l.O)([n],void 0,(0,r.useContext)(d)),o=(0,r.useRef)();return u(function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),r=!1,a=document.querySelector('style[data-emotion="'+e+" "+i.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==a&&(r=!0,a.setAttribute("data-emotion",e),n.hydrate([a])),o.current=[n,r],function(){n.flush()}},[t]),u(function(){var e=o.current,n=e[0];if(e[1]){e[1]=!1;return}if(void 0!==i.next&&(0,m.My)(t,i.next,!0),n.tags.length){var r=n.tags[n.tags.length-1].nextElementSibling;n.before=r,n.flush()}t.insert("",i,n,!1)},[t,i.name]),null},(0,r.forwardRef)(function(e,t){var n=(0,r.useContext)(c);return $(e,n,t)}));let v={dark:["#C1C2C5","#A6A7AB","#909296","#5c5f66","#373A40","#2C2E33","#25262b","#1A1B1E","#141517","#101113"],gray:["#f8f9fa","#f1f3f5","#e9ecef","#dee2e6","#ced4da","#adb5bd","#868e96","#495057","#343a40","#212529"],red:["#fff5f5","#ffe3e3","#ffc9c9","#ffa8a8","#ff8787","#ff6b6b","#fa5252","#f03e3e","#e03131","#c92a2a"],pink:["#fff0f6","#ffdeeb","#fcc2d7","#faa2c1","#f783ac","#f06595","#e64980","#d6336c","#c2255c","#a61e4d"],grape:["#f8f0fc","#f3d9fa","#eebefa","#e599f7","#da77f2","#cc5de8","#be4bdb","#ae3ec9","#9c36b5","#862e9c"],violet:["#f3f0ff","#e5dbff","#d0bfff","#b197fc","#9775fa","#845ef7","#7950f2","#7048e8","#6741d9","#5f3dc4"],indigo:["#edf2ff","#dbe4ff","#bac8ff","#91a7ff","#748ffc","#5c7cfa","#4c6ef5","#4263eb","#3b5bdb","#364fc7"],blue:["#e7f5ff","#d0ebff","#a5d8ff","#74c0fc","#4dabf7","#339af0","#228be6","#1c7ed6","#1971c2","#1864ab"],cyan:["#e3fafc","#c5f6fa","#99e9f2","#66d9e8","#3bc9db","#22b8cf","#15aabf","#1098ad","#0c8599","#0b7285"],teal:["#e6fcf5","#c3fae8","#96f2d7","#63e6be","#38d9a9","#20c997","#12b886","#0ca678","#099268","#087f5b"],green:["#ebfbee","#d3f9d8","#b2f2bb","#8ce99a","#69db7c","#51cf66","#40c057","#37b24d","#2f9e44","#2b8a3e"],lime:["#f4fce3","#e9fac8","#d8f5a2","#c0eb75","#a9e34b","#94d82d","#82c91e","#74b816","#66a80f","#5c940d"],yellow:["#fff9db","#fff3bf","#ffec99","#ffe066","#ffd43b","#fcc419","#fab005","#f59f00","#f08c00","#e67700"],orange:["#fff4e6","#ffe8cc","#ffd8a8","#ffc078","#ffa94d","#ff922b","#fd7e14","#f76707","#e8590c","#d9480f"]};var _=Object.defineProperty,y=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,w=(e,t,n)=>t in e?_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,k=(e,t)=>{for(var n in t||(t={}
1))b.call(t,n)&&w(e,n,t[n]);if(y)for(var n of y(t))x.call(t,n)&&w(e,n,t[n]);return e};function S(e){return t=>"number"==typeof e.primaryShade?e.primaryShade:e.primaryShade[t||e.colorScheme]}function C(e){let t=S(e);return(n,r,i=!0,o=!0)=>{if("string"==typeof n&&n.includes(".")){let[a,s]=n.split("."),l=parseInt(s,10);if(a in e.colors&&l>=0&&l<10)return e.colors[a]["number"!=typeof r||o?l:r]}let u="number"==typeof r?r:t();return n in e.colors?e.colors[n][u]:i?e.colors[e.primaryColor][u]:n}}function A(e){let t="";for(let n=1;n<e.length-1;n+=1)t+=`${e[n]} ${n/(e.length-1)*100}%, `;return`${e[0]} 0%, ${t}${e[e.length-1]} 100%`}function P(e){let t=C(e),n=S(e);return r=>{let i={from:(null==r?void 0:r.from)||e.defaultGradient.from,to:(null==r?void 0:r.to)||e.defaultGradient.to,deg:(null==r?void 0:r.deg)||e.defaultGradient.deg};return`linear-gradient(${i.deg}deg, ${t(i.from,n(),!1)} 0%, ${t(i.to,n(),!1)} 100%)`}}function E(e){if("number"==typeof e.size)return e.size;let t=e.sizes[e.size];return void 0!==t?t:e.size||e.sizes.md}function T(e){var t;return(t=e,/^#?([0-9A-F]{3}){1,2}$/i.test(t))?function(e){let t=e.replace("#","");if(3===t.length){let n=t.split("");t=[n[0],n[0],n[1],n[1],n[2],n[2]].join("")}let r=parseInt(t,16);return{r:r>>16&255,g:r>>8&255,b:255&r,a:1}}(e):e.startsWith("rgb")?function(e){let[t,n,r,i]=e.replace(/[^0-9,.]/g,"").split(",").map(Number);return{r:t,g:n,b:r,a:i||1}}(e):{r:0,g:0,b:0,a:1}}function R(e,t){if("string"!=typeof e||t>1||t<0)return"rgba(0, 0, 0, 1)";let{r:n,g:r,b:i}=T(e);return`rgba(${n}, ${r}, ${i}, ${t})`}let I={fontStyles:function(e){return()=>({fontFamily:e.fontFamily||"sans-serif"})},themeColor:C,focusStyles:function(e){return t=>({WebkitTapHighlightColor:"transparent",[t||"&:focus"]:k({},"always"===e.focusRing||"auto"===e.focusRing?e.focusRingStyles.styles(e):e.focusRingStyles.resetStyles(e)),[t?t.replace(":focus",":focus:not(:focus-visible)"):"&:focus:not(:focus-visible)"]:k({},"auto"===e.focusRing||"never"===e.focusRing?e.focusRingStyles.resetStyles(e):null)})},linearGradient:function(e,...t){return`linear-gradient(${e}deg, ${A(t)})`},radialGradient:function(...e){return`radial-gradient(circle, ${A(e)})`},smallerThan:function(e){return t=>`@media (max-width: ${E({size:t,sizes:e.breakpoints})-1}px)`},largerThan:function(e){return t=>`@media (min-width: ${E({size:t,sizes:e.breakpoints})}px)`},rgba:R,size:E,cover:function(e=0){return{position:"absolute",top:e,right:e,left:e,bottom:e}},darken:function(e,t){let{r:n,g:r,b:i,a:o}=T(e),a=1-t,s=e=>Math.round(e*a);return`rgba(${s(n)}, ${s(r)}, ${s(i)}, ${o})`},lighten:function(e,t){let{r:n,g:r,b:i,a:o}=T(e),a=e=>Math.round(e+(255-e)*t);return`rgba(${a(n)}, ${a(r)}, ${a(i)}, ${o})`},radius:function(e){return t=>{if("number"==typeof t)return t;let n="number"==typeof e.defaultRadius?e.defaultRadius:e.radius[e.defaultRadius]||e.defaultRadius;return e.radius[t]||t||n}},variant:function(e){let t=C(e),n=S(e),r=P(e);return({variant:i,color:o,gradient:a,primaryFallback:s})=>{let l=function(e,t){if("string"==typeof e&&e.includes(".")){let[n,r]=e.split("."),i=parseInt(r,10);if(n in t.colors&&i>=0&&i<10)return{isSplittedColor:!0,key:n,shade:i}}return{isSplittedColor:!1}}(o,e);switch(i){case"light":return{border:"transparent",background:R(t(o,"dark"===e.colorScheme?8:0,s,!1),"dark"===e.colorScheme?.2:1),color:"dark"===o?"dark"===e.colorScheme?e.colors.dark[0]:e.colors.dark[9]:t(o,"dark"===e.colorScheme?2:n("light")),hover:R(t(o,"dark"===e.colorScheme?7:1,s,!1),"dark"===e.colorScheme?.25:.65)};case"subtle":return{border:"transparent",background:"transparent",color:"dark"===o?"dark"===e.colorScheme?e.colors.dark[0]:e.colors.dark[9]:t(o,"dark"===e.colorScheme?2:n("light")),hover:R(t(o,"dark"===e.colorScheme?8:0,s,!1),"dark"===e.colorScheme?.2:1)};case"outline":return{border:t(o,"dark"===e.colorScheme?5:n("light")),background:"transparent",color:t(o,"dark"===e.colorScheme?5:n("light")),hover:"dark"===e.colorScheme?R(t(o,5,s,!1),.05):R(t(o,0,s,!1),.35)};case"default":return{border:"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[4],background:"dark"===e.colorScheme?e.colors.dark[6]:e.white,color:"dark"===e.colorScheme?e.white:e.black,hover:"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[0]};case"white":return{border:"transparent",background:e.white,color:t(o,n()),hover:null};case"transparent":return{border:"transparent",color:"dark"===o?"dark"===e.colorScheme?e.colors.dark[0]:e.colors.dark[9]:t(o,"dark"===e.colorScheme?2:n("light")),background:"transparent",hover:null};case"gradient":return{background:r(a),color:e.white,border:"transparent",hover:null};default:{let u=n(),c=l.isSplittedColor?l.shade:u,d=l.isSplittedColor?l.key:o;return{border:"transparent",background:t(d,c,s),color:e.white,hover:t(
1d,9===c?8:c+1)}}}}},primaryShade:S,hover:function(e){return{"@media (hover: hover)":{"&:hover":e},"@media (hover: none)":{"&:active":e}}},gradient:P,primaryColor:function(e){return t=>{let n=S(e)(t);return e.colors[e.primaryColor][n]}},placeholderStyles:function(e){return()=>({userSelect:"none",color:"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[5]})}};var z=Object.defineProperty,L=Object.defineProperties,j=Object.getOwnPropertyDescriptors,V=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,D=(e,t,n)=>t in e?z(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,F=(e,t)=>{for(var n in t||(t={}))O.call(t,n)&&D(e,n,t[n]);if(V)for(var n of V(t))M.call(t,n)&&D(e,n,t[n]);return e},U=(e,t)=>L(e,j(t));function N(e){return U(F({},e),{fn:{fontStyles:I.fontStyles(e),themeColor:I.themeColor(e),focusStyles:I.focusStyles(e),largerThan:I.largerThan(e),smallerThan:I.smallerThan(e),radialGradient:I.radialGradient,linearGradient:I.linearGradient,gradient:I.gradient(e),rgba:I.rgba,size:I.size,cover:I.cover,lighten:I.lighten,darken:I.darken,primaryShade:I.primaryShade(e),radius:I.radius(e),variant:I.variant(e),hover:I.hover,primaryColor:I.primaryColor(e),placeholderStyles:I.placeholderStyles(e)}})}Object.keys(v);let B=N({dir:"ltr",primaryShade:{light:6,dark:8},focusRing:"auto",loader:"oval",dateFormat:"MMMM D, YYYY",colorScheme:"light",white:"#fff",black:"#000",defaultRadius:"sm",transitionTimingFunction:"ease",colors:v,lineHeight:1.55,fontFamily:"-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji",fontFamilyMonospace:"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace",primaryColor:"blue",respectReducedMotion:!0,cursorType:"default",defaultGradient:{from:"indigo",to:"cyan",deg:45},shadows:{xs:"0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1)",sm:"0 1px 3px rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0px 10px 15px -5px, rgba(0, 0, 0, 0.04) 0px 7px 7px -5px",md:"0 1px 3px rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px",lg:"0 1px 3px rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0px 28px 23px -7px, rgba(0, 0, 0, 0.04) 0px 12px 12px -7px",xl:"0 1px 3px rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0px 36px 28px -7px, rgba(0, 0, 0, 0.04) 0px 17px 17px -7px"},fontSizes:{xs:12,sm:14,md:16,lg:18,xl:20},radius:{xs:2,sm:4,md:8,lg:16,xl:32},spacing:{xs:10,sm:12,md:16,lg:20,xl:24},breakpoints:{xs:576,sm:768,md:992,lg:1200,xl:1400},headings:{fontFamily:"-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji",fontWeight:700,sizes:{h1:{fontSize:34,lineHeight:1.3,fontWeight:void 0},h2:{fontSize:26,lineHeight:1.35,fontWeight:void 0},h3:{fontSize:22,lineHeight:1.4,fontWeight:void 0},h4:{fontSize:18,lineHeight:1.45,fontWeight:void 0},h5:{fontSize:16,lineHeight:1.5,fontWeight:void 0},h6:{fontSize:14,lineHeight:1.5,fontWeight:void 0}}},other:{},components:{},activeStyles:{transform:"translateY(1px)"},datesLocale:"en",globalStyles:void 0,focusRingStyles:{styles:e=>({outlineOffset:2,outline:`2px solid ${e.colors[e.primaryColor]["dark"===e.colorScheme?7:5]}`}),resetStyles:()=>({outline:"none"}),inputStyles:e=>({outline:"none",borderColor:e.colors[e.primaryColor]["object"==typeof e.primaryShade?e.primaryShade[e.colorScheme]:e.primaryShade]})}});var Z=Object.defineProperty,H=Object.defineProperties,W=Object.getOwnPropertyDescriptors,G=Object.getOwnPropertySymbols,q=Object.prototype.hasOwnProperty,Y=Object.prototype.propertyIsEnumerable,X=(e,t,n)=>t in e?Z(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,K=(e,t)=>{for(var n in t||(t={}))q.call(t,n)&&X(e,n,t[n]);if(G)for(var n of G(t))Y.call(t,n)&&X(e,n,t[n]);return e},J=(e,t)=>H(e,W(t));function Q({theme:e}){return r.createElement(g,{styles:{"*, *::before, *::after":{boxSizing:"border-box"},html:{colorScheme:"dark"===e.colorScheme?"dark":"light"},body:J(K({},e.fn.fontStyles()),{backgroundColor:"dark"===e.colorScheme?e.colors.dark[7]:e.white,color:"dark"===e.colorScheme?e.colors.dark[0]:e.black,lineHeight:e.lineHeight,fontSize:e.fontSizes.md,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"})}})}function ee(e,t,n){Object.keys(t).forEach(r=>{e[`--mantine-${n}-${r}`]="number"==typeof t[r]?`${t[r]}px`:t[r]})}function et({theme:e}){let t={"--mantine-color-white":e.white,"--mantine-color-black":e.black,"--mantine-transition-timing-function":e.transitionTimingFunction,"--mantine-line-height":`${e.lineHeight}`,"--mantine-font-family":e.fontFamily,"--mantine-font-family-monospace":e.fontFamilyMonospace,"--mantine-font-family-headings":e.headings.fontFamily,"--mantine-heading-font-we
1ight":`${e.headings.fontWeight}`};ee(t,e.shadows,"shadow"),ee(t,e.fontSizes,"font-size"),ee(t,e.radius,"radius"),ee(t,e.spacing,"spacing"),Object.keys(e.colors).forEach(n=>{e.colors[n].forEach((e,r)=>{t[`--mantine-color-${n}-${r}`]=e})});let n=e.headings.sizes;return Object.keys(n).forEach(e=>{t[`--mantine-${e}-font-size`]=`${n[e].fontSize}px`,t[`--mantine-${e}-line-height`]=`${n[e].lineHeight}`}),r.createElement(g,{styles:{":root":t}})}var en=Object.defineProperty,er=Object.defineProperties,ei=Object.getOwnPropertyDescriptors,eo=Object.getOwnPropertySymbols,ea=Object.prototype.hasOwnProperty,es=Object.prototype.propertyIsEnumerable,el=(e,t,n)=>t in e?en(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,eu=(e,t)=>{for(var n in t||(t={}))ea.call(t,n)&&el(e,n,t[n]);if(eo)for(var n of eo(t))es.call(t,n)&&el(e,n,t[n]);return e},ec=(e,t)=>er(e,ei(t)),ed=n(6896);let ef={html:{fontFamily:"sans-serif",lineHeight:"1.15",textSizeAdjust:"100%"},body:{margin:0},"article, aside, footer, header, nav, section, figcaption, figure, main":{display:"block"},h1:{fontSize:"2em"},hr:{boxSizing:"content-box",height:0,overflow:"visible"},pre:{fontFamily:"monospace, monospace",fontSize:"1em"},a:{background:"transparent",textDecorationSkip:"objects"},"a:active, a:hover":{outlineWidth:0},"abbr[title]":{borderBottom:"none",textDecoration:"underline"},"b, strong":{fontWeight:"bolder"},"code, kbp, samp":{fontFamily:"monospace, monospace",fontSize:"1em"},dfn:{fontStyle:"italic"},mark:{backgroundColor:"#ff0",color:"#000"},small:{fontSize:"80%"},"sub, sup":{fontSize:"75%",lineHeight:0,position:"relative",verticalAlign:"baseline"},sup:{top:"-0.5em"},sub:{bottom:"-0.25em"},"audio, video":{display:"inline-block"},"audio:not([controls])":{display:"none",height:0},img:{borderStyle:"none",verticalAlign:"middle"},"svg:not(:root)":{overflow:"hidden"},"button, input, optgroup, select, textarea":{fontFamily:"sans-serif",fontSize:"100%",lineHeight:"1.15",margin:0},"button, input":{overflow:"visible"},"button, select":{textTransform:"none"},"button, [type=reset], [type=submit]":{WebkitAppearance:"button"},"button::-moz-focus-inner, [type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner":{borderStyle:"none",padding:0},"button:-moz-focusring, [type=button]:-moz-focusring, [type=reset]:-moz-focusring, [type=submit]:-moz-focusring":{outline:"1px dotted ButtonText"},legend:{boxSizing:"border-box",color:"inherit",display:"table",maxWidth:"100%",padding:0,whiteSpace:"normal"},progress:{display:"inline-block",verticalAlign:"baseline"},textarea:{overflow:"auto"},"[type=checkbox], [type=radio]":{boxSizing:"border-box",padding:0},"[type=number]::-webkit-inner-spin-button, [type=number]::-webkit-outer-spin-button":{height:"auto"},"[type=search]":{appearance:"none"},"[type=search]::-webkit-search-cancel-button, [type=search]::-webkit-search-decoration":{appearance:"none"},"::-webkit-file-upload-button":{appearance:"button",font:"inherit"},"details, menu":{display:"block"},summary:{display:"list-item"},canvas:{display:"inline-block"},template:{display:"none"},"[hidden]":{display:"none"}};function eh(){return r.createElement(g,{styles:ef})}var ep=Object.defineProperty,e$=Object.getOwnPropertySymbols,em=Object.prototype.hasOwnProperty,eg=Object.prototype.propertyIsEnumerable,ev=(e,t,n)=>t in e?ep(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,e_=(e,t)=>
1{for(var n in t||(t={}))em.call(t,n)&&ev(e,n,t[n]);if(e$)for(var n of e$(t))eg.call(t,n)&&ev(e,n,t[n]);return e};let ey=(0,r.createContext)({theme:B});function eb(){var e;return(null==(e=(0,r.useContext)(ey))?void 0:e.theme)||B}function ex(e){let t=eb(),n=e=>{var n,r;return{styles:(null==(n=t.components[e])?void 0:n.styles)||{},classNames:(null==(r=t.components[e])?void 0:r.classNames)||{}}};return Array.isArray(e)?e.map(n):[n(e)]}function e0(){var e;return null==(e=(0,r.useContext)(ey))?void 0:e.emotionCache}function ew(e,t,n){var r;let i=eb(),o=null==(r=i.components[e])?void 0:r.defaultProps,a="function"==typeof o?o(i):o;return e_(e_(e_({},t),a),(0,ed.L)(n))}function ek({theme:e,emotionCache:t,withNormalizeCSS:n=!1,withGlobalStyles:i=!1,withCSSVariables:o=!1,inherit:a=!1,children:s}){var l,u;let c=(0,r.useContext)(ey),d=(l=B,u=a?e_(e_({},c.theme),e):e,N(function(e,t){if(!t)return e;let n=Object.keys(e).reduce((n,r)=>{if("headings"===r&&t.headings){let i=t.headings.sizes?Object.keys(e.headings.sizes).reduce((n,r)=>(n[r]=eu(eu({},e.headings.sizes[r]),t.headings.sizes[r]),n),{}):e.headings.sizes;return ec(eu({},n),{headings:ec(eu(eu({},e.headings),t.headings),{sizes:i})})}return n[r]="object"==typeof t[r]?eu(eu({},e[r]),t[r]):"number"==typeof t[r]||"boolean"==typeof t[r]||"function"==typeof t[r]?t[r]:t[r]||e[r],n},{});if(!(n.primaryColor in n.colors))throw Error("MantineProvider: Invalid theme.primaryColor, it accepts only key of theme.colors, learn more â https://mantine.dev/theming/colors/#primary-color");return n}(l,u)));return r.createElement(p,{theme:d},r.createElement(ey.Provider,{value:{theme:d,emotionCache:t}},n&&r.createElement(eh,null),i&&r.createElement(Q,{theme:d}),o&&r.createElement(et,{theme:d}),"function"==typeof d.globalStyles&&r.createElement(g,{styles:d.globalStyles(d)}),s))}ek.displayName="@mantine/core/MantineProvider"},6896:function(e,t,n){"use strict";function r(e){return Object.keys(e).reduce((t,n)=>(void 0!==e[n]&&(t[n]=e[n]),t),{})}n.d(t,{L:function(){return r}})},9361:function(e,t){"use strict";t.Z=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},8679:function(e,t,n){"use strict";var r=n(9864),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(p){var i=h(n);i&&i!==p&&e(t,i,r)}var a=c(n);d&&(a=a.concat(d(n)));for(var s=l(t),$=l(n),m=0;m<a.length;++m){var g=a[m];if(!o[g]&&!(r&&r[g])&&!($&&$[g])&&!(s&&s[g])){var v=f(n,g);try{u(t,g,v)}catch(_){}}}}return t}},3454:function(e,t,n){"use strict";var r,i;e.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"==typeof(null==(i=n.g.process)?void 0:i.env)?n.g.process:n(7663)},1118:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(7960)}])},1097:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(7297),i=n(5893);n(7294);var o=n(8777),a=n(2979),s=n(1616);function l(){var e=(0,r.Z)(["\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n flex-wrap: wrap;\n z-index: 1;\n gap: 10px;\n"]);return l=function(){return e},e}function u(){var e=(0,r.Z)(["\n width: 120px;\n cursor: ",";\n"]);return u=function(){return e},e}function c(){var e=(0,r.Z)(["\n cursor: ",";\n width: 135px;\n flex: 1;\n"]);return c=function(){return e},e}function d(e){var t=e.shopper,n=void 0===t||t;return(0,i.jsxs)(f,{children:[(0,i.jsx)("a",{href:n?a.Vh:a.oA,children:(0,i.jsx)(h,{src:"/appstore.svg"})}),(0,i.jsx)("a",{href:n?a.Ds:a.CC,children:(0,i.jsx)(p,{src:"/en_badge_web_generic.png"})})]})}var f=(0,o.ZP)(s.kC).withConfig({componentId:"sc-8b5b08d4-0"})(l()),h=o.ZP.img.withConfig({componentId:"sc-8b5b08d4-1"})(u(),function(e){return e.home?"default":"pointer"}),p=o.ZP.img.withConfig({componentId:"sc-8b5b08d4-2"})(c(),function(e){return e.home?"default":"pointer"})},1616:function(e,t,n){"use strict";n.d(t,{kC:function(){return d},vs:function(){return f}});var r=n(7297),i=n(415),o=n(8777);function a(){var e=(0,r.Z)(["\n display: flex;\n\n ","\n ","\n ","\n ","\n ","\n"]);return a=function(){return e},e}function s(){var e=(0,r.Z)(["\n width: 100%;\n"]);return s=function(){return e},e}function l(){var e=(0,r.Z)(["\n max-width: 1200px;\n margin: 0 auto;\n padding: 75px 20px;\n @media (max-width: 550px) {\n padding: 50px 20px;\n }\n"]);return l=function(){return e},e}function u(){var e=(0,r.Z)(["\n max-width: 55ch;\n"]);return u=function(){return e},e}function c(){var e=(0,r.Z)(["\n position: fixed;\n background-color: white;\n bottom: 0;\n left: 0;\n right: 0;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n padding: 20px 40px;\n border-top: 1px solid #eee;\n"]);return c=function(){return e},e}var d=(0,o.ZP)(i.E.div).withConfig({componentId:"sc-64fa8341-0"})(a(),function(e){var t=e.wrap;return t&&"flex-wrap: ".concat(t,";")},function(e){var t=e.direction;return t&&"flex-direction: ".concat(t,";")},function(e){var t=e.align;return t&&"align-items: ".concat(t,";")},function(e){var t=e.justify;return t&&"justify-content: ".concat(t,";")},function(e){var t=e.gap;return t&&"gap: ".concat(t,"px")});o.ZP.div.withConfig({componentId:"sc-64fa8341-1"})(s());var f=o.ZP.div.withConfig({componentId:"sc-64fa8341-2"})(l());o.ZP.div.withConfig({componentId:"sc-64fa8341-3"})(u()),o.ZP.div.withConfig({componentId:"sc-64fa8341-4"})(c())},2979:function(e,t,n){"use strict";n.d(t,{CC:function(){return a},Ds:function(){return i},Vh:function(){return r},j3:function(){return s},oA:function(){return o}});var r="https://apps.apple.com/tt/app/medl-health/id1535814375",i="https://play.google.com/store/apps/details?id=com.dev.medl&hl=en&gl=US",o="https://apps.apple.com/tt/app/id1518488244",a="https://play.google.com/store/apps/details?id=com.unqueue.business",s="https://onelink.to/shtp5s"},1210:function(e,t){"use strict";function n(e,t,n,r){return!1}
1Object.defineProperty(t,"__esModule",{value:!0}),t.getDomainLocale=n,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8045:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9361).Z,i=n(4941).Z,o=n(3929).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n,s=e.src,l=e.sizes,$=e.unoptimized,m=void 0!==$&&$,y=e.priority,S=void 0!==y&&y,A=e.loading,P=e.lazyRoot,E=e.lazyBoundary,T=e.className,R=e.quality,I=e.width,z=e.height,L=e.style,j=e.objectFit,V=e.objectPosition,O=e.onLoadingComplete,M=e.placeholder,D=void 0===M?"empty":M,F=e.blurDataURL,U=u(e,["src","sizes","unoptimized","priority","loading","lazyRoot","lazyBoundary","className","quality","width","height","style","objectFit","objectPosition","onLoadingComplete","placeholder","blurDataURL"]),N=c.useContext(p.ImageConfigContext),B=c.useMemo(function(){var e=g||N||f.imageConfigDefault,t=o(e.deviceSizes).concat(o(e.imageSizes)).sort(function(e,t){return e-t}),n=e.deviceSizes.sort(function(e,t){return e-t});return a({},e,{allSizes:t,deviceSizes:n})},[N]),Z=U,H=l?"responsive":"intrinsic";"layout"in Z&&(Z.layout&&(H=Z.layout),delete Z.layout);var W=k;if("loader"in Z){if(Z.loader){var G=Z.loader;W=function(e){e.config;var t=u(e,["config"]);return G(t)}}delete Z.loader}var q,Y,X="";if(q=s,"object"==typeof q&&(b(q)||void 0!==(Y=q).src)){var K=b(s)?s.default:s;if(!K.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ".concat(JSON.stringify(K)));if(F=F||K.blurDataURL,X=K.src,(!H||"fill"!==H)&&(z=z||K.height,I=I||K.width,!K.height||!K.width))throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ".concat(JSON.stringify(K)))}s="string"==typeof s?s:X;var J=!S&&("lazy"===A||void 0===A);(s.startsWith("data:")||s.startsWith("blob:"))&&(m=!0,J=!1),v.has(s)&&(J=!1),B.unoptimized&&(m=!0);var Q=i(c.useState(!1),2),ee=Q[0],et=Q[1],en=i(h.useIntersection({rootRef:void 0===P?null:P,rootMargin:E||"200px",disabled:!J}),3),er=en[0],ei=en[1],eo=en[2],ea=!J||ei,es={boxSizing:"border-box",display:"block",overflow:"hidden",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},el={boxSizing:"border-box",display:"block",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},eu=!1,ec=w(I),ed=w(z),ef=w(R),eh=Object.assign({},L,{position:"absolute",top:0,left:0,bottom:0,right:0,boxSizing:"border-box",padding:0,border:"none",margin:"auto",display:"block",width:0,height:0,minWidth:"100%",maxWidth:"100%",minHeight:"100%",maxHeight:"100%",objectFit:j,objectPosition:V}),ep="blur"!==D||ee?{}:{backgroundSize:j||"cover",backgroundPosition:V||"0% 0%",filter:"blur(20px)",backgroundImage:'url("'.concat(F,'")')};if("fill"===H)es.display="block",es.position="absolute",es.top=0,es.left=0,es.bottom=0,es.right=0;else if(void 0!==ec&&void 0!==ed){var e$=ed/ec,em=isNaN(e$)?"100%":"".concat(100*e$,"%");"responsive"===H?(es.display="block",es.position="relative",eu=!0,el.paddingTop=em):"intrinsic"===H?(es.display="inline-block",es.position="relative",es.maxWidth="100%",eu=!0,el.maxWidth="100%",t="data:image/svg+xml,%3csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20version=%271.1%27%20width=%27".concat(ec,"%27%20height=%27").concat(ed,"%27/%3e")):"fixed"===H&&(es.display="inline-block",es.position="relative",es.width=ec,es.height=ed)}var eg={src:_,srcSet:void 0,sizes:void 0};ea&&(eg=x({config:B,src:s,unoptimized:m,layout:H,width:ec,quality:ef,sizes:l,loader:W}));var ev=s,e_="imagesizes";e_="imageSizes";var ey=(r(n={},"imageSrcSet",eg.srcSet),r(n,e_,eg.sizes),n),eb=c.default.useLayoutEffect,ex=c.useRef(O),e0=c.useRef(s);c.useEffect(function(){ex.current=O},[O]),eb(function(){e0.current!==s&&(eo(),e0.current=s)},[eo,s]);var ew=a({isLazy:J,imgAttributes:eg,heightInt:ed,widthInt:ec,qualityInt:ef,layout:H,className:T,imgStyle:eh,blurStyle:ep,loading:A,config:B,unoptimized:m,placeholder:D,loader:W,srcString:ev,onLoadingCompleteRef:ex,setBlurComplete:et,setIntersection:er,isVisible:ea,noscriptSizes:l},Z);return c.default.createElement(c.default.Fragment,null,c.default.createElement("span",{style:es},eu?c.default.createElement("span",{style:el},t?c.default.createElement("img",{style:{display:"block",maxWidth:"100%",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},alt:"","aria-hidden":!0,src:t}):null):null,c.default.createElement(C,Object.assign({},ew))),S?c.default.createElement(d.default,null,c.default.createElement("link",Object.assign({key:"__nimg-"+eg.src+eg.srcSet+eg.sizes,rel:"preload",as:"image",href:eg.srcSet?void 0:eg.src},ey))):null)};var a=n(6495).Z,s=n(2648).Z,l=n(1598).Z,u=n(7273).Z,c=l(n(7294)),d=s(n(5443)),f=n(9309),h=n(7190),p=n(9977);n(3794);var $=n(2392);function m(e){return"/"===e[0]?e.slice(1):e}var g={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1},v=new Set,_="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",y=new Map([["default",function(e){var t=e.config,n=e.src,r=e.width,i=e.quality;return n.endsWith(".svg")&&!t.dangerouslyAllowSVG?n:"".concat($.normalizePathTrailingSlash(t.path),"?url=").concat(encodeURIComponent(n),"&w=").concat(r,"&q=").concat(i||75)}],["imgix",function(e){var t=e.config,n=e.src,r=e.width,i=e.quality,o=new URL("".concat(t.path).concat(m(n))),a=o.searchParams;return a.set("auto",a.getAll("auto").join(",")||"format"),a.set("fit",a.get("fit")||"max"),a.set("w",a.get("w")||r.toString()),i&&a.set("q",i.toString()),o.href}],["cloudinary",function(e){var t,n=e.config,r=e.src,i=e.width,o=["f_auto","c_limit","w_"+i,"q_"+(e.quality||"auto")].join(",")+"/";return"".concat(n.path).concat(o).concat(m(r))}],["akamai",function(e){var t=e.config,n=e.src,r=e.width;return"".concat(t.path).concat(m(n),"?imwidth=").concat(r)}],["custom",function(e){var t=e.src;throw Error('Image with src "'.concat(t,'" is missing "loader" prop.')+"\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader")}],]);function b(e){return void 0!==e.default}function x(e){var t=e.config,n=e.src,r=e.unoptimized,i=e.layout,a=e.width,s=e.quality,l=e.sizes,u=e.loader;if(r)return{src:n,srcSet:void 0,sizes:void 0};var c=function(e,t,n,r){var i=e.deviceSizes,a=e.allSizes;if(r&&("fill"===n||"responsive"===n)){for(var s=/(^|\s)(1?\d?\d)vw/g,l=[];u=s.exec(r);u)l.push(parseInt(u[2]));if(l.length){var u,c,d=.01*(c=Math).min.apply(c,o(l));return{widths:a.filter(function(e){return e>=i[0]*d}),kind:"w"}}return{widths:a,kind:"w"}}return"number"!=typeof t||"fill"===n||"responsive"===n?{widths:i,kind:"w"}:{widths:o(new Set([t,2*t].map(function(e){return a.find(function(t){return t>=e})||a[a.length-1]}))),kind:"x"}}(t,a,i,l),d=c.widths,f=c.kind,h=d.length-1;return{sizes:l||"w"!==f?l:"100vw",srcSet:d.map(function(e,r){return"".concat(u({config:t,src:n,quality:s,width:e})," ").concat("w"===f?e:r+1).concat(f)}).join(", "),src:u({config:t,src:n,quality:s,width:d[h]})}}function w(e){return"number"==typeof e?e:"string"==typeof e?parseInt(e,10):void 0}function k(e){var t,n=(null==(t=e.config)?void 0:t.loader)||"default",r=y.get(n);if(r)return r(e);throw Error('Unknown "loader" found in "next.config.js". Expected: '.concat(f.VALID_LOADERS.join(", "),". Received: ").concat(n))}function S(e,t,n,r,i,o){e&&e.src!==_&&e["data-loaded-src"]!==t&&(e["data-loaded-src"]=t,("decode"in e?e.decode():Promise.resolve()).catch(function(){}).then(function(){if(e.parentNode&&(v.add(t),"blur"===r&&o(!0),null==i?void 0:i.current)){var n=e.naturalWi
1dth,a=e.naturalHeight;i.current({naturalWidth:n,naturalHeight:a})}}))}var C=function(e){var t=e.imgAttributes,n=(e.heightInt,e.widthInt),r=e.qualityInt,i=e.layout,o=e.className,s=e.imgStyle,l=e.blurStyle,d=e.isLazy,f=e.placeholder,h=e.loading,p=e.srcString,$=e.config,m=e.unoptimized,g=e.loader,v=e.onLoadingCompleteRef,_=e.setBlurComplete,y=e.setIntersection,b=e.onLoad,w=e.onError,k=(e.isVisible,e.noscriptSizes),C=u(e,["imgAttributes","heightInt","widthInt","qualityInt","layout","className","imgStyle","blurStyle","isLazy","placeholder","loading","srcString","config","unoptimized","loader","onLoadingCompleteRef","setBlurComplete","setIntersection","onLoad","onError","isVisible","noscriptSizes"]);return h=d?"lazy":h,c.default.createElement(c.default.Fragment,null,c.default.createElement("img",Object.assign({},C,t,{decoding:"async","data-nimg":i,className:o,style:a({},s,l),ref:c.useCallback(function(e){y(e),(null==e?void 0:e.complete)&&S(e,p,i,f,v,_)},[y,p,i,f,v,_,]),onLoad:function(e){S(e.currentTarget,p,i,f,v,_),b&&b(e)},onError:function(e){"blur"===f&&_(!0),w&&w(e)}})),(d||"blur"===f)&&c.default.createElement("noscript",null,c.default.createElement("img",Object.assign({},C,x({config:$,src:p,unoptimized:m,layout:i,width:n,quality:r,sizes:k,loader:g}),{decoding:"async","data-nimg":i,style:s,className:o,loading:h}))))};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8418:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4941).Z;n(5753).default,Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(2648).Z,o=n(7273).Z,a=i(n(7294)),s=n(6273),l=n(2725),u=n(3462),c=n(1018),d=n(7190),f=n(1210),h=n(8684),p=void 0!==a.default.useTransition,$={};function m(e,t,n,r){if(e&&s.isLocalURL(t)){Promise.resolve(e.prefetch(t,n,r)).catch(function(e){});var i=r&&void 0!==r.locale?r.locale:e&&e.locale;$[t+"%"+n+(i?"%"+i:"")]=!0}}var g=a.default.forwardRef(function(e,t){var n,i,g=e.href,v=e.as,_=e.children,y=e.prefetch,b=e.passHref,x=e.replace,w=e.shallow,k=e.scroll,S=e.locale,C=e.onClick,A=e.onMouseEnter,P=e.onTouchStart,E=e.legacyBehavior,T=void 0===E?!0!==Boolean(!1):E,R=o(e,["href","as","children","prefetch","passHref","replace","shallow","scroll","locale","onClick","onMouseEnter","onTouchStart","legacyBehavior"]);n=_,T&&("string"==typeof n||"number"==typeof n)&&(n=a.default.createElement("a",null,n));var I=!1!==y,z=r(p?a.default.useTransition():[],2)[1],L=a.default.useContext(u.RouterContext),j=a.default.useContext(c.AppRouterContext);j&&(L=j);var V=a.default.useMemo(function(){var e=r(s.resolveHref(L,g,!0),2),t=e[0],n=e[1];return{href:t,as:v?s.resolveHref(L,v):n||t}},[L,g,v]),O=V.href,M=V.as,D=a.default.useRef(O),F=a.default.useRef(M);T&&(i=a.default.Children.only(n));var U=T?i&&"object"==typeof i&&i.ref:t,N=r(d.useIntersection({rootMargin:"200px"}),3),B=N[0],Z=N[1],H=N[2],W=a.default.useCallback(function(e){(F.current!==M||D.current!==O)&&(H(),F.current=M,D.current=O),B(e),U&&("function"==typeof U?U(e):"object"==typeof U&&(U.current=e))},[M,U,O,H,B]);a.default.useEffect(function(){var e=Z&&I&&s.isLocalURL(O),t=void 0!==S?S:L&&L.locale,n=$[O+"%"+M+(t?"%"+t:"")];e&&!n&&m(L,O,M,{locale:t})},[M,O,Z,S,I,L]);var G={ref:W,onClick:function(e){T||"function"!=typeof C||C(e),T&&i.props&&"function"==typeof i.props.onClick&&i.props.onClick(e),e.defaultPrevented||function(e,t,n,r,i,o,a,l,u,c){if("A"!==e.currentTarget.nodeName.toUpperCase()||(!(f=(d=e).currentTarget.target)||"_self"===f)&&!d.metaKey&&!d.ctrlKey&&!d.shiftKey&&!d.altKey&&(!d.nativeEvent||2!==d.nativeEvent.which)&&s.isLocalURL(n)){e.preventDefault();var d,f,h=function(){"beforePopState"in t?t[i?"replace":"push"](n,r,{shallow:o,locale:l,scroll:a}):t[i?"replace":"push"](n,{forceOptimisticNavigation:!c})};u?u(h):h()}}(e,L,O,M,x,w,k,S,j?z:void 0,I)},onMouseEnter:function(e){T||"function"!=typeof A||A(e),T&&i.props&&"function"==typeof i.props.onMouseEnter&&i.props.onMouseEnter(e),!(!I&&j)&&s.isLocalURL(O)&&m(L,O,M,{priority:!0})},onTouchStart:function(e){T||"function"!=typeof P||P(e),T&&i.props&&"function"==typeof i.props.onTouchStart&&i.props.onTouchStart(e),!(!I&&j)&&s.isLocalURL(O)&&m(L,O,M,{priority:!0})}};
1if(!T||b||"a"===i.type&&!("href"in i.props)){var q=void 0!==S?S:L&&L.locale,Y=L&&L.isLocaleDomain&&f.getDomainLocale(M,q,L.locales,L.domainLocales);G.href=Y||h.addBasePath(l.addLocale(M,q,L&&L.defaultLocale))}return T?a.default.cloneElement(i,G):a.default.createElement("a",Object.assign({},R,G),n)});t.default=g,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7190:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4941).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.useIntersection=function(e){var t,n=e.rootRef,u=e.rootMargin,c=e.disabled||!a,d=r(i.useState(!1),2),f=d[0],h=d[1],p=r(i.useState(null),2),$=p[0],m=p[1];return i.useEffect(function(){if(a){if(!c&&!f&&$&&$.tagName){var e,t,r,i,d,p,m;return e=$,t=function(e){return e&&h(e)},d=(i=function(e){var t,n={root:e.root||null,margin:e.rootMargin||""},r=l.find(function(e){return e.root===n.root&&e.margin===n.margin});if(r&&(t=s.get(r)))return t;var i=new Map;return t={id:n,observer:new IntersectionObserver(function(e){e.forEach(function(e){var t=i.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e),elements:i},l.push(n),s.set(n,t),t}(r={root:null==n?void 0:n.current,rootMargin:u})).id,p=i.observer,(m=i.elements).set(e,t),p.observe(e),function(){if(m.delete(e),p.unobserve(e),0===m.size){p.disconnect(),s.delete(d);var t=l.findIndex(function(e){return e.root===d.root&&e.margin===d.margin});t>-1&&l.splice(t,1)}}}}else if(!f){var g=o.requestIdleCallback(function(){return h(!0)});return function(){return o.cancelIdleCallback(g)}}},[$,c,u,n,f]),[m,f,i.useCallback(function(){h(!1)},[])]};var i=n(7294),o=n(9311),a="function"==typeof IntersectionObserver,s=new Map,l=[];("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1018:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GlobalLayoutRouterContext=t.LayoutRouterContext=t.AppRouterContext=void 0;var r=(0,n(2648).Z)(n(7294)),i=r.default.createContext(null);t.AppRouterContext=i;var o=r.default.createContext(null);t.LayoutRouterContext=o;var a=r.default.createContext(null);t.GlobalLayoutRouterContext=a},7960:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return eo}});var r=n(1799),i=n(5893),o=n(9008),a=n.n(o),s=n(7294),l=n(7297),u=n(415),c=n(5675),d=n.n(c),f=n(1664),h=n.n(f),p=n(8777),$=n(9841),m=n(1097),g={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},v=s.createContext&&s.createContext(g),_=function(){return(_=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};function b(e){return function(t){return s.createElement(x,_({attr:_({},e.attr)},t),function e(t){return t&&t.map(function(t,n){return s.createElement(t.tag,_({key:n},t.attr),e(t.child))})}(e.child))}}function x(e){var t=function(t){var n,r=e.attr,i=e.size,o=e.title,a=y(e,["attr","size","title"]),l=i||t.size||"1em";return t.className&&(n=t.className),e.className&&(n=(n?n+" ":"")+e.className),s.createElement("svg",_({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,r,a,{className:n,style:_(_({color:e.color||t.color},t.style),e.style),height:l,width:l,xmlns:"http://www.w3.org/2000/svg"}),o&&s.createElement("title",null,o),e.children)};return void 0!==v?s.createElement(v.Consumer,null,function(e){return t(e)}):t(g)}function w(e){return b({tag:"svg",attr:{viewBox:"0 0 320 512"}
1,child:[{tag:"path",attr:{d:"M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z"}}]})(e)}function k(e){return b({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"}}]})(e)}function S(e){return b({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"}}]})(e)}function C(){var e=(0,l.Z)(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n width: 100%;\n max-width: 160px;\n align-self: flex-start;\n"]);return C=function(){return e},e}function A(){var e=(0,l.Z)(["\n color: ",";\n transition: 0.2s ease;\n :hover {\n color: ",";\n }\n"]);return A=function(){return e},e}var P=p.ZP.div.withConfig({componentId:"sc-44534bb8-0"})(C()),E=(0,p.ZP)(u.E.a).withConfig({componentId:"sc-44534bb8-1"})(A(),$.Z.primary,$.Z.secondary),T=function(e){var t=e.color,n=e.facebook,r=e.instagram,o=e.twitter;return(0,i.jsxs)(P,{children:[n&&(0,i.jsx)(E,{whileHover:{scale:1.1},href:n,target:"_blank",rel:"noreferrer",children:(0,i.jsx)(w,{size:33,color:t})}),r&&(0,i.jsx)(E,{whileHover:{scale:1.1},href:r,target:"_blank",rel:"noreferrer",children:(0,i.jsx)(k,{size:33,color:t})}),o&&(0,i.jsx)(E,{whileHover:{scale:1.1},href:o,target:"_blank",rel:"noreferrer",children:(0,i.jsx)(S,{size:33,color:t})})]})};function R(){var e=(0,l.Z)(["\n display: flex;\n flex-direction: column;\n padding: 50px;\n background: ",";\n color: ",";\n\n @media only screen and (max-width: 768px) {\n padding: 20px;\n }\n"]);return R=function(){return e},e}function I(){var e=(0,l.Z)(['\n display: grid;\n grid-template-columns: 180px auto 160px auto;\n gap: 3%;\n max-width: 1200px;\n margin: 0 auto;\n width: 100%;\n justify-content: space-between;\n\n h4 {\n font-size: 1.2rem;\n font-variation-settings: "wght" 600;\n max-width: 14ch;\n }\n\n @media only screen and (max-width: 768px) {\n grid-template-columns: 1fr;\n gap: 24px;\n }\n']);return I=function(){return e},e}function z(){var e=(0,l.Z)(["\n font-size: 1rem;\n color: ",";\n margin: 0 0 8px 0;\n"]);return z=function(){return e},e}var L=function(){return(0,i.jsx)(j,{children:(0,i.jsxs)(V,{initial:{opacity:0}
1,whileInView:{opacity:1},viewport:{amount:.4},children:[(0,i.jsx)("h4",{children:"Your pharmacy at your fingertips."}),(0,i.jsxs)("div",{children:[(0,i.jsxs)(O,{children:["Woodbrook",(0,i.jsx)("br",{}),"Port of Spain",(0,i.jsx)("br",{}),"Trinidad & Tobago"]}),(0,i.jsx)(O,{children:(0,i.jsx)("a",{href:"mailto:[email protected]",children:"[email protected]"})}),(0,i.jsx)(O,{children:(0,i.jsx)(h(),{href:"/termsofuse",children:"Terms of Use"})})]}),(0,i.jsx)(T,{color:$.Z.primary,twitter:"https://twitter.com/medlhealth",facebook:"https://www.facebook.com/medlhealthdelivered/",instagram:"https://www.instagram.com/medlhealthdelivered/?hl=en"}),(0,i.jsx)(m.Z,{})]})})},j=p.ZP.footer.withConfig({componentId:"sc-c62367bb-0"})(R(),$.Z.light,$.Z.base),V=(0,p.ZP)(u.E.div).withConfig({componentId:"sc-c62367bb-1"})(I()),O=p.ZP.p.withConfig({componentId:"sc-c62367bb-2"})(z(),$.Z.base),M=n(8900);function D(){var e=(0,l.Z)(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-around;\n background-color: ",";\n position: fixed;\n top: 0;\n right: 0;\n height: 100vh;\n width: ",";\n opacity: 0.9998;\n box-shadow: 0px 0 5px rgba(0, 0, 0, 0.15);\n transition: width 0.3s;\n z-index: 1;\n"]);return D=function(){return e},e}function F(){var e=(0,l.Z)(["\n margin: 50px 0 0 0;\n list-style: none;\n display: ",";\n transition: opacity 0.1s;\n transition-delay: 0.1s;\n color: black;\n text-align: center;\n opacity: 0.9;\n"]);return F=function(){return e},e}function U(){var e=(0,l.Z)(["\n padding-left: 0;\n margin-bottom: ",";\n color: black;\n a {\n font-size: 1.3rem;\n line-height: 1.3;\n text-decoration: none;\n color: ",';\n font-variation-settings: "wght" 430;\n @media only screen and (max-width: 768px) {\n }\n @media only screen and (max-width: 480px) {\n }\n }\n']);return U=function(){return e},e}function N(e){var t=e.menuOpen,n=e.setMenuOpen;return(0,i.jsx)(Z,{onClick:function(){return n(!t)},open:t,children:(0,i.jsxs)(H,{open:t,children:[(0,i.jsx)("div",{style:{position:"relative",width:100,height:50,marginBottom:34},children:(0,i.jsx)(d(),{objectFit:"contain",layout:"fill",src:"/medl-logo-black.svg"})}),B.map(function(e,t){return(0,i.jsx)(W,{children:e.external?(0,i.jsx)("a",{rel:"noopener noreferrer",href:e.link,target:"_blank",children:e.title}):(0,i.jsx)(h(),{href:"".concat(e.link),partiallyActive:"Home"!==e.title,activeStyle:{color:$.Z.red},children:e.title})},t)})]})})}var B=[{title:"Home",link:"/"},{title:"Why Medl?",link:"#why"}
1,{title:"How it Works",link:"#how"},{title:"Benefits",link:"#benefits"},{title:"User Manual",link:"/files/UserManual.pdf",external:!0},{title:"Contact us",link:"#contact"},],Z=p.ZP.div.withConfig({componentId:"sc-f92c9b1-0"})(D(),$.Z.light,function(e){return e.open?"90vw":0}),H=p.ZP.ul.withConfig({componentId:"sc-f92c9b1-1"})(F(),function(e){return e.open?"block":"none"}),W=p.ZP.li.withConfig({componentId:"sc-f92c9b1-2"})(U(),function(e){return e.space?"2rem":"0.725rem"},$.Z.base);function G(){var e=(0,l.Z)(["\n position: relative;\n background: ",";\n position: sticky;\n top: 0;\n z-index: 100;\n"]);return G=function(){return e},e}function q(){var e=(0,l.Z)(["\n padding: 20px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: space-between;\n max-width: 1200px;\n margin: 0 auto;\n"]);return q=function(){return e},e}function Y(){var e=(0,l.Z)(["\n display: grid;\n grid-template-columns: repeat(5, auto);\n gap: 40px;\n @media only screen and (max-width: 768px) {\n display: none;\n }\n"]);return Y=function(){return e},e}function X(){var e=(0,l.Z)(["\n font-size: 1rem;\n color: ",";\n display: block;\n transition: 0.1s ease;\n\n &:hover {\n color: ",";\n }\n"]);return X=function(){return e},e}function K(){var e=(0,l.Z)(["\n display: none;\n cursor: pointer;\n z-index: 2;\n @media only screen and (max-width: 768px) {\n display: block;\n }\n"]);return K=function(){return e},e}var J=function(){var e=(0,s.useState)(!1),t=e[0],n=e[1];return(0,i.jsx)(Q,{children:(0,i.jsxs)(ee,{initial:{opacity:0}
1,animate:{opacity:1},children:[(0,i.jsx)(h(),{style:{textDecoration:"none"},href:"/",children:(0,i.jsx)("div",{style:{position:"relative",width:104,height:40,cursor:"pointer"},children:(0,i.jsx)(d(),{objectFit:"contain",layout:"fill",src:"/medl-logo-black.svg"})})}),(0,i.jsxs)(et,{children:[(0,i.jsx)(h(),{href:"#why",children:(0,i.jsx)(en,{children:"Why Medl?"})}),(0,i.jsx)(h(),{href:"#how",children:(0,i.jsx)(en,{children:"How it works"})}),(0,i.jsx)(h(),{href:"#benefits",children:(0,i.jsx)(en,{children:"Benefits"})}),(0,i.jsx)("a",{target:"_blank",rel:"noreferrer",href:"/files/UserManualMinified.pdf",children:(0,i.jsx)(en,{children:"User Manual"})}),(0,i.jsx)(h(),{href:"#contact",children:(0,i.jsx)(en,{children:"Contact us"})})]}),(0,i.jsx)(er,{children:(0,i.jsx)(M.Z,{isOpen:t,menuClicked:function(){return n(!t)},width:33,height:17,strokeWidth:3,rotate:0,color:$.Z.base,borderRadius:2,animationDuration:.5})}),(0,i.jsx)(N,{menuOpen:t,setMenuOpen:n})]})})},Q=p.ZP.div.withConfig({componentId:"sc-177f61a4-0"})(G(),$.Z.light),ee=(0,p.ZP)(u.E.nav).withConfig({componentId:"sc-177f61a4-1"})(q()),et=p.ZP.div.withConfig({componentId:"sc-177f61a4-2"})(Y()),en=p.ZP.a.withConfig({componentId:"sc-177f61a4-3"})(X(),$.Z.base,$.Z.primary),er=p.ZP.div.withConfig({componentId:"sc-177f61a4-4"})(K());n(906);var ei=n(4442),eo=function(e){var t=e.Component,n=e.pageProps;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(a(),{children:(0,i.jsx)("link",{rel:"shortcut icon",href:"/icon-logo.svg"})}),(0,i.jsx)(J,{}),(0,i.jsx)(ei.Me,{children:(0,i.jsx)(t,(0,r.Z)({},n))}),(0,i.jsx)(L,{})]})}},9841:function(e,t){"use strict";t.Z={base:"#0A233F",light:"#F1F6F4",primary:"#4698C1",secondary:"#EF5477"}},906:function(){},7663:function(e){!function(){var t={229:function(e){var t,n,r,i=e.exports={};function o(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(r){n=a}}();var l=[],u=!1,c=-1;function d(){u&&r&&(u=!1,r.length?l=r.concat(l):c=-1,l.length&&f())}function f(){if(!u){var e=s(d);u=!0;for(var t=l.length;t;){for(r=l,l=[];++c<t;)r&&r[c].run();c=-1,t=l.length}r=null,u=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(r){return n.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function p(){}i.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new h(e,t)),1!==l.length||u||s(f)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=p,i.addListener=p,i.once=p,i.off=p,i.removeListener=p,i.removeAllListeners=p,i.emit=p,i.prependListener=p,i.prependOnceListener=p,i.listeners=function(e){return[]},i.binding=function(e){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw Error("process.chdir is not supported")},i.umask=function(){return 0}}},n={};function r(e){var i=n[e];if(void 0!==i)return i.exports;var o=n[e]={exports:{}},a=!0;try{t[e](o,o.exports,r),a=!1}finally{a&&delete n[e]}return o.exports}r.ab="//";var i=r(229);e.exports=i}()},9008:function(e,t,n){e.exports=n(5443)},5675:function(e,t,n){e.exports=n(8045)},1664:function(e,t,n){e.exports=n(8418)},2703:function(e,t,n){"use strict";var r=n(414);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol
1:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},5697:function(e,t,n){e.exports=n(2703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},8900:function(e,t,n){"use strict";t.Z=a;var r=o(n(7294)),i=o(n(5697));function o(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=(e.width||36)+"px",n=(e.height||30)+"px",i=parseInt(n.replace("px",""))/2+"px",o=e.isOpen||!1,a=e.strokeWidth||2,s="-"+a/2+"px",l=e.animationDuration||"0.4",u=function(e,t,n){return"translate3d(0,"+(e?i:t)+",0) rotate("+(e?n+"deg":"0")+")"},c={container:{width:t,height:n,position:"relative",transform:"rotate("+(e.rotate||0)+"deg)"},lineBase:{display:"block",height:a+"px",width:"100%",background:e.color||"#000",transitionTimingFunction:"ease",transitionDuration:l+"s",borderRadius:(e.borderRadius||0)+"px",transformOrigin:"center",position:"absolute"},firstLine:{transform:u(o,0,45),marginTop:s},secondLine:{transitionTimingFunction:"ease-out",transitionDuration:l/4+"s",opacity:o?"0":"1",top:i,marginTop:s},thirdLine:{transform:u(o,n,-45),marginTop:s}};return r.default.createElement("div",{style:c.container,className:e.className,onClick:e.menuClicked},r.default.createElement("span",{style:Object.assign({},c.lineBase,c.firstLine)}),r.default.createElement("span",{style:Object.assign({},c.lineBase,c.secondLine)}),r.default.createElement("span",{style:Object.assign({},c.lineBase,c.thirdLine)}))}a.propTypes={isOpen:i.default.bool.isRequired,menuClicked:i.default.func.isRequired,width:i.default.number,height:i.default.number,strokeWidth:i.default.number,rotate:i.default.number,color:i.default.string,borderRadius:i.default.number,animationDuration:i.default.number,className:i.default.string}},9921:function(e,t){"use strict";/** @license React v16.13.1 2 * react-is.production.min.js 3 * 4 * Copyright (c) Facebook, Inc. and its affiliates. 5 * 6 * This source code is licensed under the MIT license found in the 7 * LICENSE file in the root directory of this source tree. 8 */ var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.suspense_list"):60120,$=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,_=n?Symbol.for("react.responder"):60118,y=n?Symbol.for("react.scope"):60119;function b(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case o:case s:case a:case h:return e;default:switch(e=e&&e.$$typeof){case u:case f:case m:case $:case l:return e;default:return t}}case i:return t}}}function x(e){return b(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=o,t.Lazy=m,t.Memo=$,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=h,t.isAsyncMode=function(e){return x(e)||b(e)===c},t.isConcurrentMode=x,t.isContextConsumer=function(e){return b(e)===u},t.isContextProvider=function(e){return b(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return b(e)===f},t.isFragment=function(e){return b(e)===o},t.isLazy=function(e){return b(e)===m},t.isMemo=function(e){return b(e)===$},t.isPortal=function(e){return b(e)===i},t.isProfiler=function(e){return b(e)===s},t.isStrictMode=function(e){return b(e)===a},t.isSuspense=function(e){return b(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===s||e===a||e===h||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===$||e.$$typeof===l||e.$$typeof===u||e.$$typeof===f||e.$$typeof===v||e.$$typeof===_||e.$$typeof===y||e.$$typeof===g)},t.typeOf=b},9864:function(e,t,n){"use strict";e.exports=n(9921)},6774:function(e){e.exports=function(e,t,n,r){var i=n?n.call(r,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;
vendor: 19,288 bytes, line 8
8if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<o.length;l++){var u=o[l];if(!s(u))return!1;var c=e[u],d=t[u];if(!1===(i=n?n.call(r,c,d,u):void 0)||void 0===i&&c!==d)return!1}return!0}},8777:function(e,t,n){"use strict";n.d(t,{ZP:function(){return eC}});var r=n(9864),i=n(7294),o=n(6774),a=n.n(o),s=function(e){function t(e,t,r){var i=t.trim().split(p);t=i;var o=i.length,a=e.length;switch(a){case 0:case 1:var s=0;for(e=0===a?"":e[0]+" ";s<o;++s)t[s]=n(e,t[s],r).trim();break;default:var l=s=0;for(t=[];s<o;++s)for(var u=0;u<a;++u)t[l++]=n(e[u]+" ",i[s],r).trim()}return t}function n(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace($,"$1"+e.trim());case 58:return e.trim()+t.replace($,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace($,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function r(e,t,n,o){var a=e+";",s=2*t+3*n+4*o;if(944===s){e=a.indexOf(":",9)+1;var l=a.substring(e,a.length-1).trim();return l=a.substring(0,e).trim()+l+";",1===E||2===E&&i(l,1)?"-webkit-"+l+l:l}if(0===E||2===E&&!i(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(S,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(l=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+l+a;case 1005:return f.test(a)?a.replace(d,":-webkit-")+a.replace(d,":-moz-")+a:a;case 1e3:switch(t=(l=a.substring(13).trim()).indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(t)){case 226:l=a.replace(_,"tb");break;case 232:l=a.replace(_,"tb-rl");break;case 220:l=a.replace(_,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+l+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,s=(l=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(111>l.charCodeAt(8))break;case 115:a=a.replace(l,"-webkit-"+l)+";"+a;break;case 207:case 102:a=a.replace(l,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(l,"-webkit-"+l)+";"+a.replace(l,"-ms-"+l+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return l=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+l+"-ms-flex-"+l+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(x,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(x,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===k.test(e))return 115===(l=e.substring(e.indexOf(":")+1)).charCodeAt(0)?r(e.replace("stretch","fill-available"),t,n,o).replace(":fill-available",":stretch"):a.replace(l,"-webkit-"+l)+a.replace(l,"-moz-"+l.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+o&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(h,"$1-webkit-$2")+a}return a}function i(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),z(2!==t?r:r.replace(w,"$1"),n,t)}function o(e,t){var n=r(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(b," or ($1)").substring(4):"("+t+")"}function a(e,t,n,r,i,o,a,s,u,c){for(var d,f=0,h=t;f<I;++f)switch(d=R[f].call(l,e,h,n,r,i,o,a,s,u,c)){case void 0:case!1:case!0:case null:break;default:h=d}if(h!==t)return h}function s(e){return void 0!==(e=e.prefix)&&(z=null,e?"function"!=typeof e?E=1:(E=2,z=e):E=0),s}function l(e,n){var s=e;if(33>s.charCodeAt(0)&&(s=s.trim()),s=[s],0<I){var l=a(-1,n,s,s,A,C,0,0,0,0);void 0!==l&&"string"==typeof l&&(n=l)}var d=function e(n,s,l,d,f){for(var h,p,$,_,b,x=0,w=0,k=0,S=0,R=0,z=0,j=$=h=0,V=0,O=0,M=0,D=0,F=l.length,U=F-1,N="",B="",Z="",H="";V<F;){if(p=l.charCodeAt(V),V===U&&0!==w+S+k+x&&(0!==w&&(p=47===w?10:47),S=k=x=0,F++,U++),0===w+S+k+x){if(V===U&&(0<O&&(N=N.replace(c,"")),0<N.trim().length)){switch(p){case 32:case 9:case 59:case 13:case 10:break;default:N+=l.charAt(V)}p=59}switch(p){case 123:for(h=(N=N.trim()).charCodeAt(0),$=1,D=++V;V<F;){switch(p=l.charCodeAt(V)){case 123:$++;break;case 125:$--;break;case 47:switch(p=l.charCodeAt(V+1)){case 42:case 47:a:{for(j=V+1;j<U;++j)switch(l.charCodeAt(j)){case 47:if(42===p&&42===l.charCodeAt(j-1)&&V+2!==j){V=j+1;break a}break;case 10:if(47===p){V=j+1;break a}}V=j}}break;case 91:p++;case 40:p++;case 34:case 39:for(;V++<U&&l.charCodeAt(V)!==p;);}if(0===$)break;V++}if($=l.substring(D,V),0===h&&(h=(N=N.replace(u,"").trim()).charCodeAt(0)),64===h){switch(0<O&&(N=N.replace(c,"")),p=N.charCodeAt(1)){case 100:case 109:case 115:case 45:O=s;break;default:O=T}if(D=($=e(s,O,$,p,f+1)).length,0<I&&(O=t(T,N,M),b=a(3,$,O,s,A,C,D,p,f,d),N=O.join(""),void 0!==b&&0===(D=($=b.trim()).length)&&(p=0,$="")),0<D)switch(p){case 115:N=N.replace(y,o);case 100:case 109:case 45:$=N+"{"+$+"}";break;case 107:$=(N=N.replace(m,"$1 $2"))+"{"+$+"}",$=1===E||2===E&&i("@"+$,3)?"@-webkit-"+$+"@"+$:"@"+$;break;default:$=N+$,112===d&&($=(B+=$,""))}else $=""}else $=e(s,t(s,N,M),$,d,f+1);Z+=$,$=M=O=j=h=0,N="",p=l.charCodeAt(++V);break;case 125:case 59:if(1<(D=(N=(0<O?N.replace(c,""):N).trim()).length))switch(0===j&&(45===(h=N.charCodeAt(0))||96<h&&123>h)&&(D=(N=N.replace(" ",":")).length),0<I&&void 0!==(b=a(1,N,s,n,A,C,B.length,d,f,d))&&0===(D=(N=b.trim()).length)&&(N="\0\0"),h=N.charCodeAt(0),p=N.charCodeAt(1),h){case 0:break;case 64:if(105===p||99===p){H+=N+l.charAt(V);break}default:58!==N.charCodeAt(D-1)&&(B+=r(N,h,p,N.charCodeAt(2)))}M=O=j=h=0,N="",p=l.charCodeAt(++V)}}switch(p){case 13:case 10:47===w?w=0:0===1+h&&107!==d&&0<N.length&&(O=1,N+="\0"),0<I*L&&a(0,N,s,n,A,C,B.length,d,f,d),C=1,A++;break;case 59:case 125:if(0===w+S+k+x){C++;break}default:switch(C++,_=l.charAt(V),p){case 9:case 32:if(0===S+x+w)switch(R){case 44:case 58:case 9:case 32:_="";break;default:32!==p&&(_=" ")}break;case 0:_="\\0";break;case 12:_="\\f";break;case 11:_="\\v";break;case 38:0===S+w+x&&(O=M=1,_="\f"+_);break;case 108:if(0===S+w+x+P&&0<j)switch(V-j){case 2:112===R&&58===l.charCodeAt(V-3)&&(P=R);case 8:111===z&&(P=z)}break;case 58:0===S+w+x&&(j=V);break;case 44:0===w+k+S+x&&(O=1,_+="\r");break;case 34:case 39:0===w&&(S=S===p?0:0===S?p:S);break;case 91:0===S+w+k&&x++;break;case 93:0===S+w+k&&x--;break;case 41:0===S+w+x&&k--;break;case 40:0===S+w+x&&(0===h&&(2*R+3*z==533||(h=1)),k++);break;case 64:0===w+k+S+x+j+$&&($=1);break;case 42:case 47:if(!(0<S+x+k))switch(w){case 0:switch(2*p+3*l.charCodeAt(V+1)){case 235:w=47;break;case 220:D=V,w=42}break;case 42:47===p&&42===R&&D+2!==V&&(33===l.charCodeAt(D+2)&&(B+=l.substring(D,V+1)),_="",w=0)}}0===w&&(N+=_)}z=R,R=p,V++}if(0<(D=B.length)){if(O=s,0<I&&void 0!==(b=a(2,B,O,n,A,C,D,d,f,d))&&0===(B=b).length)return H+B+Z;if(B=O.join(",")+"{"+B+"}",0!=E*P){switch(2!==E||i(B,2)||(P=0),P){case 111:B=B.replace(v,":-moz-$1")+B;break;case 112:B=B.replace(g,"::-webkit-input-$1")+B.replace(g,"::-moz-$1")+B.replace(g,":-ms-input-$1")+B}P=0}}return H+B+Z}(T,s,n,0,0);return 0<I&&void 0!==(l=a(-2,d,s,s,A,C,d.length,0,0,0))&&(d=l),P=0,C=A=1,d}var u=/^\0+/g,c=/[\0\r\f]/g,d=/: */g,f=/zoo|gra/,h=/([,: ])(transform)/g,p=/,\r+?/g,$=/([\t\r\n ])*\f?&/g,m=/@(k\w+)\s*(\S*)\s*/,g=/::(place)/g,v=/:(read-only)/g,_=/[svh]\w+-[tblr]{2}/,y=/\(\s*(.*)\s*\)/g,b=/([\s\S]*?);/g,x=/-self|flex-/g,w=/[^]*?(:[rp][el]a[\w-]+)[^]*/,k=/stretch|:\s*\w+\-(?:conte|avail)/,S=/([^-])(image-set\()/,C=1,A=1,P=0,E=1,T=[],R=[],I=0,z=null,L=0;return l.use=function e(t){switch(t){case void 0:case null:I=R.length=0;break;default:if("function"==typeof t)R[I++]=t;else if("object"==typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else L=0|!!t}return e},l.set=s,void 0!==e&&s(e),l},l={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},u=n(5042),c=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,d=(0,u.Z)(function(e){return c.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)}),f=n(8679),h=n.n(f),p=n(3454);function $(){return($=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var m=function(e,t){for(var n=[e[0]],r=0,i=t.length;r<i;r+=1)n.push(t[r],e[r+1]);return n},g=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!(0,r.typeOf)(e)},v=Object.freeze([]),_=Object.freeze({});function y(e){return"function"==typeof e}function b(e){return e.displayName||e.name||"Component"}function x(e){return e&&"string"==typeof e.styledComponentId}var w=void 0!==p&&(p.env.REACT_APP_SC_ATTR||p.env.SC_ATTR)||"data-styled",k="undefined"!=typeof window&&"HTMLElement"in window,S=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==p&&void 0!==p.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==p.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==p.env.REACT_APP_SC_DISABLE_SPEEDY&&p.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==p&&void 0!==p.env.SC_DISABLE_SPEEDY&&""!==p.env.SC_DISABLE_SPEEDY&&"false"!==p.env.SC_DISABLE_SPEEDY&&p.env.SC_DISABLE_SPEEDY);function C(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var A=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,i=r;e>=i;)(i<<=1)<0&&C(16,""+e);this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var o=r;o<i;o++)this.groupSizes[o]=0}for(var a=this.indexOfGroup(e+1),s=0,l=t.length;s<l;s++)this.tag.insertRule(a,t[s])&&(this.groupSizes[e]++,a++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var i=n;i<r;i++)this.tag.deleteRule(n)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),i=r+n,o=r;o<i;o++)t+=this.tag.getRule(o)+"/*!sc*/\n";return t},e}(),P=new Map,E=new Map,T=1,R=function(e){if(P.has(e))return P.get(e);for(;E.has(T);)T++;var t=T++;return P.set(e,t),E.set(t,e),t},I=function(e,t){t>=T&&(T=t+1),P.set(e,t),E.set(t,e)},z="style["+w+'][data-styled-version="5.3.5"]',L=RegExp("^"+w+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),j=function(e,t,n){for(var r,i=n.split(","),o=0,a=i.length;o<a;o++)(r=i[o])&&e.registerName(t,r)},V=function(e,t){for(var n=(t.textContent||"").split("/*!sc*/\n"),r=[],i=0,o=n.length;i<o;i++){var a=n[i].trim();if(a){var s=a.match(L);if(s){var l=0|parseInt(s[1],10),u=s[2];0!==l&&(I(u,l),j(e,u,s[3]),e.getTag().insertRules(l,r)),r.length=0}else r.push(a)}}},O=function(){return"undefined"!=typeof window&&void 0!==window.__webpack_nonce__?window.__webpack_nonce__:null},M=function(e){var t=document.head,n=e||t,r=document.createElement("style"),i=function(e){for(var t=e.childNodes,n=t.length;n>=0;n--){var r=t[n];if(r&&1===r.nodeType&&r.hasAttribute(w))return r}}(n),o=void 0!==i?i.nextSibling:null;r.setAttribute(w,"active"),r.setAttribute("data-styled-version","5.3.5");var a=O();return a&&r.setAttribute("nonce",a),n.insertBefore(r,o),r},D=function(){function e(e){var t=this.element=M(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var i=t[n];if(i.ownerNode===e)return i}C(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(n){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),F=function(){function e(e){var t=this.element=M(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t),r=this.nodes[e];return this.element.insertBefore(n,r||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),U=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),N=k,B={isServer:!k,useCSSOMInjection:!S},Z=function(){function e(e,t,n){void 0===e&&(e=_),void 0===t&&(t={}),this.options=$({},B,{},e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&k&&N&&(N=!1,function(e){for(var t=document.querySelectorAll(z),n=0,r=t.length;n<r;n++){var i=t[n];i&&"active"!==i.getAttribute(w)&&(V(e,i),i.parentNode&&i.parentNode.removeChild(i))}}(this))}e.registerId=function(e){return R(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e($({},this.options,{},t),this.gs,n&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){var e,t,n,r,i;return this.tag||(this.tag=(n=(t=this.options).isServer,r=t.useCSSOMInjection,i=t.target,e=n?new U(i):r?new D(i):new F(i),new A(e)))},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(R(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},t.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(R(e),n)}
8,t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(R(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),n=t.length,r="",i=0;i<n;i++){var o,a=(o=i,E.get(o));if(void 0!==a){var s=e.names.get(a),l=t.getGroup(i);if(s&&l&&s.size){var u=w+".g"+i+'[id="'+a+'"]',c="";void 0!==s&&s.forEach(function(e){e.length>0&&(c+=e+",")}),r+=""+l+u+'{content:"'+c+'"}/*!sc*/\n'}}}return r}(this)},e}(),H=/(a)(d)/gi,W=function(e){return String.fromCharCode(e+(e>25?39:97))};function G(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=W(t%52)+n;return(W(t%52)+n).replace(H,"$1-$2")}var q=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},Y=function(e){return q(5381,e)};function X(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(y(n)&&!x(n))return!1}return!0}var K=Y("5.3.5"),J=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&X(e),this.componentId=t,this.baseHash=q(K,t),this.baseStyle=n,Z.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.componentId,i=[];if(this.baseStyle&&i.push(this.baseStyle.generateAndInjectStyles(e,t,n)),this.isStatic&&!n.hash){if(this.staticRulesId&&t.hasNameForId(r,this.staticRulesId))i.push(this.staticRulesId);else{var o=e$(this.rules,e,t,n).join(""),a=G(q(this.baseHash,o)>>>0);if(!t.hasNameForId(r,a)){var s=n(o,"."+a,void 0,r);t.insertRules(r,a,s)}i.push(a),this.staticRulesId=a}}else{for(var l=this.rules.length,u=q(this.baseHash,n.hash),c="",d=0;d<l;d++){var f=this.rules[d];if("string"==typeof f)c+=f;else if(f){var h=e$(f,e,t,n),p=Array.isArray(h)?h.join(""):h;u=q(u,p+d),c+=p}}if(c){var $=G(u>>>0);if(!t.hasNameForId(r,$)){var m=n(c,"."+$,void 0,r);t.insertRules(r,$,m)}i.push($)}}return i.join(" ")},e}(),Q=/^\s*\/\/.*$/gm,ee=[":","[",".","#"];function et(e){var t,n,r,i,o=void 0===e?_:e,a=o.options,l=o.plugins,u=void 0===l?v:l,c=new s(void 0===a?_:a),d=[],f=function(e){function t(t){if(t)try{e(t+"}")}catch(n){}}return function(n,r,i,o,a,s,l,u,c,d){switch(n){case 1:if(0===c&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===u)return r+"/*|*/";break;case 3:switch(u){case 102:case 112:return e(i[0]+r),"";default:return r+(0===d?"/*|*/":"")}case -2:r.split("/*|*/}").forEach(t)}}}(function(e){d.push(e)}),h=function(e,r,o){return 0===r&&-1!==ee.indexOf(o[n.length])||o.match(i)?e:"."+t};function p(e,o,a,s){void 0===s&&(s="&");var l=e.replace(Q,"");return t=s,r=RegExp("\\"+(n=o)+"\\b","g"),i=RegExp("(\\"+n+"\\b){2,}"),c(a||!o?"":o,o&&a?a+" "+o+" { "+l+" }":l)}return c.use([].concat(u,[function(e,t,i){2===e&&i.length&&i[0].lastIndexOf(n)>0&&(i[0]=i[0].replace(r,h))},f,function(e){if(-2===e){var t=d;return d=[],t}}])),p.hash=u.length?u.reduce(function(e,t){return t.name||C(15),q(e,t.name)},5381).toString():"",p}var en=i.createContext(),er=(en.Consumer,i.createContext()),ei=(er.Consumer,new Z),eo=et();function ea(){return(0,i.useContext)(en)||ei}function es(e){var t=(0,i.useState)(e.stylisPlugins),n=t[0],r=t[1],o=ea(),s=(0,i.useMemo)(function(){var t=o;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.sheet,e.target]),l=(0,i.useMemo)(function(){return et({options:{prefix:!e.disableVendorPrefixes},plugins:n})},[e.disableVendorPrefixes,n]);return(0,i.useEffect)(function(){a()(n,e.stylisPlugins)||r(e.stylisPlugins)},[e.stylisPlugins]),i.createElement(en.Provider,{value:s},i.createElement(er.Provider,{value:l},e.children))}var el=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=eo);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.toString=function(){return C(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=eo),this.name+e.hash},e}(),eu=/([A-Z])/,ec=/([A-Z])/g,ed=/^ms-/,ef=function(e){return"-"+e.toLowerCase()};function eh(e){return eu.test(e)?e.replace(ec,ef).replace(ed,"-ms-"):e}var ep=function(e){return null==e||!1===e||""===e};function e$(e,t,n,r){if(Array.isArray(e)){for(var i,o,a=[],s=0,u=e.length;s<u;s+=1)""!==(o=e$(e[s],t,n,r))&&(Array.isArray(o)?a.push.apply(a,o):a.push(o));return a}if(ep(e))return"";if(x(e))return"."+e.styledComponentId;if(y(e))return"function"!=typeof(i=e)||i.prototype&&i.prototype.isReactComponent||!t?e:e$(e(t),t,n,r);return e instanceof el?n?(e.inject(n,r),e.getName(r)):e:g(e)?function e(t,n){var r,i,o=[];
8for(var a in t)t.hasOwnProperty(a)&&!ep(t[a])&&(Array.isArray(t[a])&&t[a].isCss||y(t[a])?o.push(eh(a)+":",t[a],";"):g(t[a])?o.push.apply(o,e(t[a],a)):o.push(eh(a)+": "+(r=a,null==(i=t[a])||"boolean"==typeof i||""===i?"":"number"!=typeof i||0===i||r in l?String(i).trim():i+"px")+";"));return n?[n+" {"].concat(o,["}"]):o}(e):e.toString()}var em=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function eg(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return y(e)||g(e)?em(e$(m(v,[e].concat(n)))):0===n.length&&1===e.length&&"string"==typeof e[0]?e:em(e$(m(e,n)))}var ev=function(e,t,n){return void 0===n&&(n=_),e.theme!==n.theme&&e.theme||t||n.theme},e_=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,ey=/(^-|-$)/g;function eb(e){return e.replace(e_,"-").replace(ey,"")}function ex(e){return"string"==typeof e}var e0=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)};function ew(e,t,n){var r=e[n];e0(t)&&e0(r)?ek(r,t):e[n]=t}function ek(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var i=0,o=n;i<o.length;i++){var a,s=o[i];if(e0(s))for(var l in s)"__proto__"!==(a=l)&&"constructor"!==a&&"prototype"!==a&&ew(e,s[l],l)}return e}var eS=i.createContext();eS.Consumer;var e3={},e2=function(e){return function e(t,n,i){if(void 0===i&&(i=_),!(0,r.isValidElementType)(n))return C(1,String(n));var o=function(){return t(n,i,eg.apply(void 0,arguments))};return o.withConfig=function(r){return e(t,n,$({},i,{},r))},o.attrs=function(r){return e(t,n,$({},i,{attrs:Array.prototype.concat(i.attrs,r).filter(Boolean)}))},o}(function e(t,n,r){var o,a,s,l,u,c,f=x(t),p=!ex(t),m=n.attrs,g=void 0===m?v:m,w=n.componentId,k=void 0===w?(o=n.displayName,a=n.parentComponentId,e3[s="string"!=typeof o?"sc":eb(o)]=(e3[s]||0)+1,u=s+"-"+G(Y(l="5.3.5"+s+e3[s])>>>0),a?a+"-"+u:u):w,S=n.displayName,C=void 0===S?(c=t,ex(c)?"styled."+c:"Styled("+b(c)+")"):S,A=n.displayName&&n.componentId?eb(n.displayName)+"-"+n.componentId:n.componentId||k,P=f&&t.attrs?Array.prototype.concat(t.attrs,g).filter(Boolean):g,E=n.shouldForwardProp;f&&t.shouldForwardProp&&(E=n.shouldForwardProp?function(e,r,i){return t.shouldForwardProp(e,r,i
8)&&n.shouldForwardProp(e,r,i)}:t.shouldForwardProp);var T,R=new J(r,A,f?t.componentStyle:void 0),I=R.isStatic&&0===g.length,z=function(e,t){return function(e,t,n,r){var o,a,s,l,u,c,f,h,p,m,g=e.attrs,v=e.componentStyle,b=e.defaultProps,x=e.foldedComponentIds,w=e.shouldForwardProp,k=e.styledComponentId,S=e.target,C=(o=ev(t,(0,i.useContext)(eS),b)||_,a=t,s=g,void 0===o&&(o=_),l=$({},a,{theme:o}),u={},s.forEach(function(e){var t,n,r,i=e;for(t in y(i)&&(i=i(l)),i)l[t]=u[t]="className"===t?(n=u[t],r=i[t],n&&r?n+" "+r:n||r):i[t]}),[l,u]),A=C[0],P=C[1],E=(c=v,f=r,h=A,p=ea(),m=(0,i.useContext)(er)||eo,f?c.generateAndInjectStyles(_,p,m):c.generateAndInjectStyles(h,p,m)),T=P.$as||t.$as||P.as||t.as||S,R=ex(T),I=P!==t?$({},t,{},P):t,z={};for(var L in I)"$"!==L[0]&&"as"!==L&&("forwardedAs"===L?z.as=I[L]:(w?w(L,d,T):!R||d(L))&&(z[L]=I[L]));return t.style&&P.style!==t.style&&(z.style=$({},t.style,{},P.style)),z.className=Array.prototype.concat(x,k,E!==k?E:null,t.className,P.className).filter(Boolean).join(" "),z.ref=n,(0,i.createElement)(T,z)}(T,e,t,I)};return z.displayName=C,(T=i.forwardRef(z)).attrs=P,T.componentStyle=R,T.displayName=C,T.shouldForwardProp=E,T.foldedComponentIds=f?Array.prototype.concat(t.foldedComponentIds,t.styledComponentId):v,T.styledComponentId=A,T.target=f?t.target:t,T.withComponent=function(t){var i=n.componentId,o=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}(n,["componentId"]),a=i&&i+"-"+(ex(t)?t:eb(b(t)));return e(t,$({},o,{attrs:P,componentId:a}),r)},Object.defineProperty(T,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=f?ek({},t.defaultProps,e):e}}),T.toString=function(){return"."+T.styledComponentId},p&&h()(T,t,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),T},e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach(function(e){e2[e]=e2(e)}),function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=X(e),Z.registerId(this.componentId+1)}var t=e.prototype;t.createStyles=function(e,t,n,r){var i=r(e$(this.rules,t,n,r).join(""),""),o=this.componentId+e;n.insertRules(o,o,i)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,n,r){e>2&&Z.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=O();return"<style "+[n&&'nonce="'+n+'"',w+'="true"','data-styled-version="5.3.5"'].filter(Boolean).join(" ")+">"+t+"</style>"},this.getStyleTags=function(){return e.sealed?C(2):e._emitSheetCSS()}
8,this.getStyleElement=function(){if(e.sealed)return C(2);var t,n=((t={})[w]="",t["data-styled-version"]="5.3.5",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),r=O();return r&&(n.nonce=r),[i.createElement("style",$({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new Z({isServer:!0}),this.sealed=!1}var t=e.prototype;t.collectStyles=function(e){return this.sealed?C(2):i.createElement(es,{sheet:this.instance},e)},t.interleaveWithNodeStream=function(e){return C(3)}}();var eC=e2},1799:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach(function(t){r(e,t,n[t])})}return e}n.d(t,{Z:function(){return i}})},7297:function(e,t,n){"use strict";function r(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.d(t,{Z:function(){return r}})},415:function(e,t,n){"use strict";n.d(t,{E:function(){return oy}});var r,i,o,a,s,l=n(7294);let u=(0,l.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),c=(0,l.createContext)({}),d=(0,l.createContext)(null),f="undefined"!=typeof document,h=f?l.useLayoutEffect:l.useEffect,p=(0,l.createContext)({strict:!1});function $(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function m(e){return"string"==typeof e||Array.isArray(e)}function g(e){return"object"==typeof e&&"function"==typeof e.start}let v=["initial","animate","exit","whileHover","whileDrag","whileTap","whileFocus","whileInView",];function _(e){return g(e.animate)||v.some(t=>m(e[t]))}function y(e){return Boolean(_(e)||e.variants)}function b(e){return Array.isArray(e)?e.join(" "):e}let x=e=>({isEnabled:t=>e.some(e=>!!t[e])}),w={measureLayout:x(["layout","layoutId","drag"]),animation:x(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView",]),exit:x(["exit"]),drag:x(["drag","dragControls"]),focus:x(["whileFocus"]),hover:x(["whileHover","onHoverStart","onHoverEnd"]),tap:x(["whileTap","onTap","onTapStart","onTapCancel"]),pan:x(["onPan","onPanStart","onPanSessionStart","onPanEnd",]),inView:x(["whileInView","onViewportEnter","onViewportLeave",])};function k(e){let t=(0,l.useRef)(null);return null===t.current&&(t.current=e()),t.current}let S={hasAnimatedSinceResize:!0,hasEverUpdated:!1},C=1,A=(0,l.createContext)({});class P extends l.Component{getSnapshotBeforeUpdate(){let{visualElement:e,props:t}=this.props;return e&&e.setProps(t),null}componentDidUpdate(){}render(){return this.props.children}}let E=(0,l.createContext)({}),T=Symbol.for("motionComponentSymbol"),R=["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 I(e){if("string"!=typeof e||e.includes("-"));else if(R.indexOf(e)>-1||/[A-Z]/.test(e))return!0;return!1}let z={},L=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY",],j=new Set(L);function V(e,{layout:t,layoutId:n}){return j.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!z[e]||"opacity"===e)}let O=e=>void 0!==e&&!!e.getVelocity,M={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},D=(e,t)=>L.indexOf(e)-L.indexOf(t);function F(e){return e.startsWith("--")}let U=(e,t)=>t&&"number"==typeof e?t.transform(e):e,N=(e,t)=>n=>Math.max(Math.min(n,t),e),B=e=>e%1?Number(e.toFixed(5)):e,Z=/(-)?([\d]*\.?[\d])+/g,H=/(#[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,W=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function G(e){return"string"==typeof e}let q=e=>({test:t=>G(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),Y=q("deg"),X=q("%"),K=q("px"),J=q("vh"),Q=q("vw"),ee=Object.assign(Object.assign({}
8,X),{parse:e=>X.parse(e)/100,transform:e=>X.transform(100*e)}),et={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},en=Object.assign(Object.assign({},et),{transform:N(0,1)}),er=Object.assign(Object.assign({},et),{default:1}),ei={...et,transform:Math.round},eo={borderWidth:K,borderTopWidth:K,borderRightWidth:K,borderBottomWidth:K,borderLeftWidth:K,borderRadius:K,radius:K,borderTopLeftRadius:K,borderTopRightRadius:K,borderBottomRightRadius:K,borderBottomLeftRadius:K,width:K,maxWidth:K,height:K,maxHeight:K,size:K,top:K,right:K,bottom:K,left:K,padding:K,paddingTop:K,paddingRight:K,paddingBottom:K,paddingLeft:K,margin:K,marginTop:K,marginRight:K,marginBottom:K,marginLeft:K,rotate:Y,rotateX:Y,rotateY:Y,rotateZ:Y,scale:er,scaleX:er,scaleY:er,scaleZ:er,skew:Y,skewX:Y,skewY:Y,distance:K,translateX:K,translateY:K,translateZ:K,x:K,y:K,z:K,perspective:K,transformPerspective:K,opacity:en,originX:ee,originY:ee,originZ:K,zIndex:ei,fillOpacity:en,strokeOpacity:en,numOctaves:ei};function ea(e,t,n,r){let{style:i,vars:o,transform:a,transformKeys:s,transformOrigin:l}=e;s.length=0;let u=!1,c=!1,d=!0;for(let f in t){let h=t[f];if(F(f)){o[f]=h;continue}let p=eo[f],$=U(h,p);if(j.has(f)){if(u=!0,a[f]=$,s.push(f),!d)continue;h!==(p.default||0)&&(d=!1)}else f.startsWith("origin")?(c=!0,l[f]=$):i[f]=$}if(u||r?i.transform=function({transform:e,transformKeys:t},{enableHardwareAcceleration:n=!0,allowTransformNone:r=!0},i,o){let a="";for(let s of(t.sort(D),t))a+=`${M[s]||s}(${e[s]}) `;return n&&!e.z&&(a+="translateZ(0)"),a=a.trim(),o?a=o(e,i?"":a):r&&i&&(a="none"),a}(e,n,d,r):!t.transform&&i.transform&&(i.transform="none"),c){let{originX:m="50%",originY:g="50%",originZ:v=0}=l;i.transformOrigin=`${m} ${g} ${v}`}}let es=()=>({style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}});function el(e,t,n){for(let r in t)O(t[r])||V(r,n)||(e[r]=t[r])}function eu(e,t,n){let r={},i=function(e,t,n){let r=e.style||{},i={};return el(i,r,e),Object.assign(i,function({transformTemplate:e},t,n){return(0,l.useMemo)(()=>{let r=es();return ea(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}(e,t,n)),e.transformValues?e.transformValues(i):i}(e,t,n);return e.drag&&!1!==e.dragListener&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),r.style=i,r}let ec=new Set(["initial","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","onHoverStart","onHoverEnd","layoutScroll","whileInView","onViewportEnter","onViewportLeave","viewport","whileTap","onTap","onTapStart","onTapCancel","animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView","onPan","onPanStart","onPanSessionStart","onPanEnd",]);function ed(e){return ec.has(e)}let ef=e=>!ed(e);try{(r=require("@emotion/is-prop-valid").default)&&(ef=e=>e.startsWith("on")?!ed(e):r(e))}catch(eh){}function ep(e,t,n){return"string"==typeof e?e:K.transform(t+n*e)}let e$={offset:"stroke-dashoffset",array:"stroke-dasharray"},em={offset:"strokeDashoffset",array:"strokeDasharray"};function eg(e,{attrX:t,attrY:n,originX:r,originY:i,pathLength:o,pathSpacing:a=1,pathOffset:s=0,...l},u,c){ea(e,l,u,c),e.attrs=e.style,e.style={};let{attrs:d,style:f,dimensions:h}=e;d.transform&&(h&&(f.transform=d.transform),delete d.transform),h&&(void 0!==r||void 0!==i||f.transform)&&(f.transformOrigin=function(e,t,n){let r=ep(t,e.x,e.width),i=ep(n,e.y,e.height);return`${r} ${i}`}(h,void 0!==r?r:.5,void 0!==i?i:.5)),void 0!==t&&(d.x=t),void 0!==n&&(d.y=n),void 0!==o&&function(e,t,n=1,r=0,i=!0){e.pathLength=1;let o=i?e$:em;e[o.offset]=K.transform(-r);let a=K.transform(t),s=K.transform(n);e[o.array]=`${a} ${s}`}(d,o,a,s,!1)}let ev=()=>({...es(),attrs:{}});function e_(e,t){let n=(0,l.useMemo)(()=>{let n=ev();return eg(n,t,{enableHardwareAcceleration:!1},e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let r={};el(r,e.style,e),n.style={...r,...n.style}}return n}let ey=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function eb(e,{style:t,vars:n},r,i){for(let o in Object.assign(e.style,t,i&&i.getProjectionStyles(r)),n)e.style.setProperty(o,n[o])}let ex=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength",]);function e0(e,t,n,r){for(let i in eb(e,t,void 0,r),t.attrs)e.setAttribute(ex.has(i)?i:ey(i),t.attrs[i])}function ew(e){let{style:t}=e,n={};for(let r in t)(O(t[r])||V(r,e))&&(n[r]=t[r]);return n}function ek(e){let t=ew(e);for(let n in e)if(O(e[n])){let r="x"===n||"y"===n?"attr"+n.toUpperCase():n;t[r]=e[n]}return t}function eS(e,t,n,r={},i={}
8){return"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,i)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,i)),t}let e3=e=>Array.isArray(e),e2=e=>Boolean(e&&"object"==typeof e&&e.mix&&e.toValue),eC=e=>e3(e)?e[e.length-1]||0:e;function e1(e){let t=O(e)?e.get():e;return e2(t)?t.toValue():t}let e7=e=>(t,n)=>{let r=(0,l.useContext)(c),i=(0,l.useContext)(d),o=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,o){let a={latestValues:function(e,t,n,r){let i={},o=r(e);for(let a in o)i[a]=e1(o[a]);let{initial:s,animate:l}=e,u=_(e),c=y(e);t&&c&&!u&&!1!==e.inherit&&(void 0===s&&(s=t.initial),void 0===l&&(l=t.animate));let d=!!n&&!1===n.initial;d=d||!1===s;let f=d?l:s;if(f&&"boolean"!=typeof f&&!g(f)){let h=Array.isArray(f)?f:[f];h.forEach(t=>{let n=eS(e,t);if(!n)return;let{transitionEnd:r,transition:o,...a}=n;for(let s in a){let l=a[s];if(Array.isArray(l)){let u=d?l.length-1:0;l=l[u]}null!==l&&(i[s]=l)}for(let c in r)i[c]=r[c]})}return i}(r,i,o,e),renderState:t()};return n&&(a.mount=e=>n(r,e,a)),a})(e,t,r,i);return n?o():k(o)},eA={useVisualState:e7({scrapeMotionValuesFromProps:ek,createRenderState:ev,onMount(e,t,{renderState:n,latestValues:r}){try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(i){n.dimensions={x:0,y:0,width:0,height:0}}eg(n,r,{enableHardwareAcceleration:!1},e.transformTemplate),e0(t,n)}})},eP={useVisualState:e7({scrapeMotionValuesFromProps:ew,createRenderState:es})};function e5(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function e4(e,t,n,r){(0,l.useEffect)(()=>{let i=e.current;if(n&&i)return e5(i,t,n,r)},[e,t,n,r])}function eE(e){return"undefined"!=typeof PointerEvent&&e instanceof PointerEvent?!("mouse"!==e.pointerType):e instanceof MouseEvent}function e6(e){let t=!!e.touches;return t}(i=a||(a={})).Animate="animate",i.Hover="whileHover",i.Tap="whileTap",i.Drag="whileDrag",i.Focus="whileFocus",i.InView="whileInView",i.Exit="exit";let eT={pageX:0,pageY:0};function eR(e,t="page"){return{point:e6(e)?function(e,t="page"){let n=e.touches[0]||e.changedTouches[0],r=n||eT;return{x:r[t+"X"],y:r[t+"Y"]}}(e,t):function(e,t="page"){return{x:e[t+"X"],y:e[t+"Y"]}}(e,t)}}let eI=(e,t=!1)=>{var n;let r=t=>e(t,eR(t));return t?(n=r,e=>{let t=e instanceof MouseEvent,r=!t||t&&0===e.button;r&&n(e)}):r},ez=()=>f&&null===window.onpointerdown,eL=()=>f&&null===window.ontouchstart,ej=()=>f&&null===window.onmousedown,eV={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},eO={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function e9(e){if(ez());else if(eL())return eO[e];else if(ej())return eV[e];return e}function eM(e,t,n,r){return e5(e,e9(t),eI(n,"pointerdown"===t),r)}function eD(e,t,n,r){return e4(e,e9(t),n&&eI(n,"pointerdown"===t),r)}function e8(e){let t=null;return()=>{let n=()=>{t=null};return null===t&&(t=e,n)}}let eF=e8("dragHorizontal"),eU=e8("dragVertical");function eN(e){let t=!1;if("y"===e)t=eU();else if("x"===e)t=eF();else{let n=eF(),r=eU();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function eB(){let e=eN(!0);return!e||(e(),!1)}function eZ(e,t,n){return(r,i)=>{!(!eE(r)||eB())&&(e.animationState&&e.animationState.setActive(a.Hover,t),n&&n(r,i))}}let eH=(e,t)=>!!t&&(e===t||eH(e,t.parentElement));function eW(e){return(0,l.useEffect)(()=>()=>e(),[])}let eG=(e,t)=>n=>t(e(n)),eq=(...e)=>e.reduce(eG);var eY=n(3454);let eX=(void 0===eY||eY.env,"production"),eK=new Set,eJ=new WeakMap,eQ=new WeakMap,te=e=>{let t=eJ.get(e.target);t&&t(e)},tt=e=>{e.forEach(te)},tn={some:0,all:1};function tr(e,t,n,{root:r,margin:i,amount:o="some",once:s}){(0,l.useEffect)(()=>{if(!e)return;let l={root:null==r?void 0:r.current,rootMargin:i,threshold:"number"==typeof o?o:tn[o]},u=e=>{let{isIntersecting:r}=e;if(t.isInView===r||(t.isInView=r,s&&!r&&t.hasEnteredView))return;r&&(t.hasEnteredView=!0),n.animationState&&n.animationState.setActive(a.InView,r);let i=n.getProps(),o=r?i.onViewportEnter:i.onViewportLeave;o&&o(e)};return function(e,t,n){let r=function({root:e,...t}){let n=e||document;eQ.has(n)||eQ.set(n,{});let r=eQ.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(tt,{root:e,...t})),r[i]}(t);return eJ.set(e,n),r.observe(e),()=>{eJ.delete(e),r.unobserve(e)}}(n.getInstance(),l,u)},[e,r,i,o])}function ti(e,t,n,{fallback:r=!0}){(0,l.useEffect)(()=>
8{if(e&&r){if("production"!==eX){var i,o,s="IntersectionObserver not available on this device. whileInView animations will trigger on mount.";i=!1,eK.has(s)||(console.warn(s),o&&console.warn(o),eK.add(s))}requestAnimationFrame(()=>{t.hasEnteredView=!0;let{onViewportEnter:e}=n.getProps();e&&e(null),n.animationState&&n.animationState.setActive(a.InView,!0)})}},[e])}let to=e=>t=>(e(t),null),ta={inView:to(function({visualElement:e,whileInView:t,onViewportEnter:n,onViewportLeave:r,viewport:i={}}){let o=(0,l.useRef)({hasEnteredView:!1,isInView:!1}),a=Boolean(t||n||r);i.once&&o.current.hasEnteredView&&(a=!1);let s="undefined"==typeof IntersectionObserver?ti:tr;s(a,o.current,e,i)}),tap:to(function({onTap:e,onTapStart:t,onTapCancel:n,whileTap:r,visualElement:i}){let o=(0,l.useRef)(!1),s=(0,l.useRef)(null),u={passive:!(t||e||n||p)};function c(){s.current&&s.current(),s.current=null}function d(){return c(),o.current=!1,i.animationState&&i.animationState.setActive(a.Tap,!1),!eB()}function f(t,r){d()&&(eH(i.getInstance(),t.target)?e&&e(t,r):n&&n(t,r))}function h(e,t){d()&&n&&n(e,t)}function p(e,n){c(),!o.current&&(o.current=!0,s.current=eq(eM(window,"pointerup",f,u),eM(window,"pointercancel",h,u)),i.animationState&&i.animationState.setActive(a.Tap,!0),t&&t(e,n))}eD(i,"pointerdown",e||t||n||r?p:void 0,u),eW(c)}),focus:to(function({whileFocus:e,visualElement:t}){let{animationState:n}=t,r=()=>{n&&n.setActive(a.Focus,!0)},i=()=>{n&&n.setActive(a.Focus,!1)};e4(t,"focus",e?r:void 0),e4(t,"blur",e?i:void 0)}),hover:to(function({onHoverStart:e,onHoverEnd:t,whileHover:n,visualElement:r}){eD(r,"pointerenter",e||n?eZ(r,!0,e):void 0,{passive:!e}),eD(r,"pointerleave",t||n?eZ(r,!1,t):void 0,{passive:!t})})};function ts(){let e=(0,l.useContext)(d);if(null===e)return[!0,null];let{isPresent:t,onExitComplete:n,register:r}=e,i=(0,l.useId)();(0,l.useEffect)(()=>r(i),[]);let o=()=>n&&n(i);return!t&&n?[!1,o]:[!0]}function tl(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var tu=n(655),tc=function(){},td=function(){};let tf=(e,t,n)=>Math.min(Math.max(n,e),t);function th(e,t){return e*Math.sqrt(1-t*t)}
8let tp=["duration","bounce"],t$=["stiffness","damping","mass"];function tm(e,t){return t.some(t=>void 0!==e[t])}function tg(e){var{from:t=0,to:n=1,restSpeed:r=2,restDelta:i}=e,o=(0,tu.__rest)(e,["from","to","restSpeed","restDelta"]);let a={done:!1,value:t},{stiffness:s,damping:l,mass:u,velocity:c,duration:d,isResolvedFromDuration:f}=function(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!tm(e,t$)&&tm(e,tp)){let n=function({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o;tc(e<=1e4,"Spring duration must be 10 seconds or less");let a=1-t;a=tf(.05,1,a),e=tf(.01,10,e/1e3),a<1?(i=t=>{let r=t*a,i=r*e,o=th(t,a);return .001-(r-n)/o*Math.exp(-i)},o=t=>{let r=t*a,o=r*e,s=Math.pow(a,2)*Math.pow(t,2)*e,l=th(Math.pow(t,2),a),u=-i(t)+.001>0?-1:1;return u*((o*n+n-s)*Math.exp(-o))/l}):(i=t=>{let r=Math.exp(-t*e),i=(t-n)*e+1;return -.001+r*i},o=t=>{let r=Math.exp(-t*e),i=(n-t)*(e*e);return r*i});let s=5/e,l=function(e,t,n){let r=n;for(let i=1;i<12;i++)r-=e(r)/t(r);return r}(i,o,s);if(e*=1e3,isNaN(l))return{stiffness:100,damping:10,duration:e};{let u=Math.pow(l,2)*r;return{stiffness:u,damping:2*a*Math.sqrt(r*u),duration:e}}}(e);(t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1})).isResolvedFromDuration=!0}return t}(o),h=tv,p=tv;function $(){let e=c?-(c/1e3):0,r=n-t,o=l/(2*Math.sqrt(s*u)),a=Math.sqrt(s/u)/1e3;if(void 0===i&&(i=Math.min(Math.abs(n-t)/100,.4)),o<1){let d=th(a,o);h=t=>n-Math.exp(-o*a*t)*((e+o*a*r)/d*Math.sin(d*t)+r*Math.cos(d*t)),p=t=>{let n=Math.exp(-o*a*t);return o*a*n*(Math.sin(d*t)*(e+o*a*r)/d+r*Math.cos(d*t))-n*(Math.cos(d*t)*(e+o*a*r)-d*r*Math.sin(d*t))}}else if(1===o)h=t=>n-Math.exp(-a*t)*(r+(e+a*r)*t);else{let f=a*Math.sqrt(o*o-1);h=t=>{let i=Math.min(f*t,300);return n-Math.exp(-o*a*t)*((e+o*a*r)*Math.sinh(i)+f*r*Math.cosh(i))/f}}}return $(),{next(e){let t=h(e);if(f)a.done=e>=d;else{let o=1e3*p(e),s=Math.abs(n-t)<=i;a.done=Math.abs(o)<=r&&s}return a.value=a.done?n:t,a},flipTarget(){c=-c,[t,n]=[n,t],$()}}}tg.needsInterpolation=(e,t)=>"string"==typeof e||"string"==typeof t;let tv=e=>0,t_=(e,t,n)=>{let r=t-e;return 0===r?1:(n-e)/r},ty=(e,t,n)=>-n*e+n*t+e,tb=(e,t)=>n=>Boolean(G(n)&&W.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),tx=(e,t,n)=>r=>{if(!G(r))return r;let[i,o,a,s]=r.match(Z);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},t0=N(0,255),tw=Object.assign(Object.assign({},et),{transform:e=>Math.round(t0(e))}),tk={test:tb("rgb","red"),parse:tx("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+tw.transform(e)+", "+tw.transform(t)+", "+tw.transform(n)+", "+B(en.transform(r))+")"},tS={test:tb("#"),parse:function(e){let t="",n="",r="",i="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),i=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),i=e.substr(4,1),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}},transform:tk.transform},t3={test:tb("hsl","hue"),parse:tx("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+X.transform(B(t))+", "+X.transform(B(n))+", "+B(en.transform(r))+")"};function t2(e,t,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function tC({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let i=0,o=0,a=0;if(t/=100){let s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;i=t2(l,s,e+1/3),o=t2(l,s,e),a=t2(l,s,e-1/3)}else i=o=a=n;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*a),alpha:r}}let t1=(e,t,n)=>{let r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},t7=[tS,tk,t3],tA=e=>t7.find(t=>t.test(e)),tP=e=>`'${e}' is not an animatable color. Use the equivalent color code instead.`,t5=(e,t)=>{let n=tA(e),r=tA(t);td(!!n,tP(e)),td(!!r,tP(t));let i=n.parse(e),o=r.parse(t);n===t3&&(i=tC(i),n=tk),r===t3&&(o=tC(o),r=tk);let a=Object.assign({},i);return e=>{for(let t in a)"alpha"!==t&&(a[t]=t1(i[t],o[t],e));return a.alpha=ty(i.alpha,o.alpha,e),n.transform(a)}},t4={test:e=>tk.test(e)||tS.test(e)||t3.test(e),parse:e=>tk.test(e)?tk.parse(e):t3.test(e)?t3.parse(e):tS.parse(e),transform:e=>G(e)?e:e.hasOwnProperty("red")?tk.transform(e):t3.transform(e)},tE="${c}",t6="${n}";function tT(e){"number"==typeof e&&(e=`${e}`);let t=[],n=0,r=e.match(H);r&&(n=r.length,e=e.replace(H,tE),t.push(...r.map(t4.parse)));let i=e.match(Z);return i&&(e=e.replace(Z,t6),t.push(...i.map(et.parse))),{values:t,numColors:n,tokenised:e}}function tR(e){return tT(e).values}function tI(e){let{values:t,numColors:n,tokenised:r}=tT(e),i=t.length;return e=>{let t=r;for(let o=0;o<i;o++)t=t.replace(o<n?tE:t6,o<n?t4.transform(e[o]):B(e[o]));return t}}let tz=e=>"number"==typeof e?0:e,tL={test:function(e){var t,n,r,i;return isNaN(e)&&G(e)&&(null!==(n=null===(t=e.match(Z))||void 0===t?void 0:t.length)&&void 0!==n?n:0)+(null!==(i=null===(r=e.match(H))||void 0===r?void 0:r.length)&&void 0!==i?i:0)>0},parse:tR,createTransformer:tI,getAnimatableNone:function(e){let t=tR(e),n=tI(e);return n(t.map(tz))}},tj=e=>"number"==typeof e;function tV(e,t){return tj(e)?n=>
8ty(e,t,n):t4.test(e)?t5(e,t):tD(e,t)}let tO=(e,t)=>{let n=[...e],r=n.length,i=e.map((e,n)=>tV(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}},t9=(e,t)=>{let n=Object.assign(Object.assign({},e),t),r={};for(let i in n)void 0!==e[i]&&void 0!==t[i]&&(r[i]=tV(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}};function tM(e){let t=tL.parse(e),n=t.length,r=0,i=0,o=0;for(let a=0;a<n;a++)r||"number"==typeof t[a]?r++:void 0!==t[a].hue?o++:i++;return{parsed:t,numNumbers:r,numRGB:i,numHSL:o}}let tD=(e,t)=>{let n=tL.createTransformer(t),r=tM(e),i=tM(t),o=r.numHSL===i.numHSL&&r.numRGB===i.numRGB&&r.numNumbers>=i.numNumbers;return o?eq(tO(r.parsed,i.parsed),n):(tc(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),n=>`${n>0?t:e}`)},t8=(e,t)=>n=>ty(e,t,n);function tF(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let o=e.length;td(o===t.length,"Both input and output ranges must be the same length"),td(!r||!Array.isArray(r)||r.length===o-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),e[0]>e[o-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());let a=function(e,t,n){var r;let i=[],o=n||(r=e[0],"number"==typeof r?t8:"string"==typeof r?t4.test(r)?t5:tD:Array.isArray(r)?tO:"object"==typeof r?t9:void 0),a=e.length-1;for(let s=0;s<a;s++){let l=o(e[s],e[s+1]);if(t){let u=Array.isArray(t)?t[s]:t;l=eq(u,l)}i.push(l)}return i}(t,r,i),s=2===o?function([e,t],[n]){return r=>n(t_(e,t,r))}(e,a):function(e,t){let n=e.length,r=n-1;return i=>{let o=0,a=!1;if(i<=e[0]?a=!0:i>=e[r]&&(o=r-1,a=!0),!a){let s=1;for(;s<n&&!(e[s]>i)&&s!==r;s++);o=s-1}let l=t_(e[o],e[o+1],i);return t[o](l)}}(e,a);return n?t=>s(tf(e[0],e[o-1],t)):s}let tU=e=>t=>1-e(1-t),tN=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,tB=e=>t=>t*t*((e+1)*t-e),tZ=4/11,tH=8/11,tW=e=>e,tG=e=>Math.pow(e,2),tq=tU(tG),tY=tN(tG),tX=e=>1-Math.sin(Math.acos(e)),tK=tU(tX),tJ=tN(tK),tQ=tB(1.525),ne=tU(tQ),nt=tN(tQ),nn=(e=>{let t=tB(1.525);return e=>(e*=2)<1?.5*t(e):.5*(2-Math.pow(2,-10*(e-1)))})(1.525),nr=4356/361,ni=35442/1805,no=16061/1805,na=e=>{if(1===e||0===e)return e;let t=e*e;return e<tZ?7.5625*t:e<tH?9.075*t-9.9*e+3.4:e<.9?nr*t-ni*e+no:10.8*e*e-20.52*e+10.72},ns=tU(na),nl=e=>e<.5?.5*(1-na(1-2*e)):.5*na(2*e-1)+.5;function nu({from:e=0,to:t=1,ease:n,offset:r,duration:i=300}){var o,a;let s={done:!1,value:e},l=Array.isArray(t)?t:[e,t],u=(o=r&&r.length===l.length?r:function(e){let t=e.length;return e.map((e,n)=>0!==n?n/(t-1):0)}(l),a=i,o.map(e=>e*a));function c(){var e,t;return tF(u,l,{ease:Array.isArray(n)?n:(e=l,t=n,e.map(()=>t||tY).splice(0,e.length-1))})}let d=c();return{next:e=>(s.value=d(e),s.done=e>=i,s),flipTarget(){l.reverse(),d=c()}}}let nc={keyframes:nu,spring:tg,decay:function({velocity:e=0,from:t=0,power:n=.8,timeConstant:r=350,restDelta:i=.5,modifyTarget:o}){let a={done:!1,value:t},s=n*e,l=t+s,u=void 0===o?l:o(l);return u!==l&&(s=u-t),{next(e){let t=-s*Math.exp(-e/r);return a.done=!(t>i||t<-i),a.value=a.done?u:u+t,a},flipTarget(){}}}},nd=1/60*1e3,nf="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),nh="undefined"!=typeof window?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(nf()),nd),np=!0,n$=!1,nm=!1,ng={delta:0,timestamp:0},nv=["read","update","preRender","render","postRender",],n_=nv.reduce((e,t)=>(e[t]=function(e){let t=[],n=[],r=0,i=!1,o=!1,a=new WeakSet,s={schedule(e,o=!1,s=!1){let l=s&&i,u=l?t:n;return o&&a.add(e),-1===u.indexOf(e)&&(u.push(e),l&&i&&(r=t.length)),e},cancel(e){let t=n.indexOf(e);-1!==t&&n.splice(t,1),a.delete(e)},process(l){if(i){o=!0;return}if(i=!0,[t,n]=[n,t],n.length=0,r=t.length)for(let u=0;u<r;u++){let c=t[u];c(l),a.has(c)&&(s.schedule(c),e())}i=!1,o&&(o=!1,s.process(l))}};return s}(()=>n$=!0),e),{}),ny=nv.reduce((e,t)=>{let n=n_[t];return e[t]=(e,t=!1,r=!1)=>(n$||nk(),n.schedule(e,t,r)),e},{}),nb=nv.reduce((e,t)=>(e[t]=n_[t].cancel,e),{}),nx=nv.reduce((e,t)=>(e[t]=()=>n_[t].process(ng),e),{}),n0=e=>n_[e].process(ng),nw=e=>{n$=!1,ng.delta=np?nd:Math.max(Math.min(e-ng.timestamp,40),1),ng.timestamp=e,nm=!0,nv.forEach(n0),nm=!1,n$&&(np=!1,nh(nw))},nk=()=>{n$=!0,np=!0,nm||nh(nw)},nS=()=>ng;var n3=ny;function n2(e,t,n=0){return e-t-n}
8let nC=e=>{let t=({delta:t})=>e(t);return{start:()=>n3.update(t,!0),stop:()=>nb.update(t)}};function n1(e){var t,n,{from:r,autoplay:i=!0,driver:o=nC,elapsed:a=0,repeat:s=0,repeatType:l="loop",repeatDelay:u=0,onPlay:c,onStop:d,onComplete:f,onRepeat:h,onUpdate:p}=e,$=(0,tu.__rest)(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:m}=$,g,v=0,_=$.duration,y,b=!1,x=!0,w,k=function(e){if(Array.isArray(e.to))return nu;if(nc[e.type])return nc[e.type];let t=new Set(Object.keys(e));if(t.has("ease")||t.has("duration")&&!t.has("dampingRatio"));else if(t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta"))return tg;return nu}($);(null===(n=(t=k).needsInterpolation)||void 0===n?void 0:n.call(t,r,m))&&(w=tF([0,100],[r,m],{clamp:!1}),r=0,m=100);let S=k(Object.assign(Object.assign({},$),{from:r,to:m}));return i&&(null==c||c(),(g=o(function e(t){if(x||(t=-t),a+=t,!b){let n=S.next(Math.max(0,a));y=n.value,w&&(y=w(y)),b=x?n.done:a<=0}if(null==p||p(y),b){if(0===v&&(null!=_||(_=a)),v<s){var r,i,o,c;r=a,i=_,o=u,((c=x)?r>=i+o:r<=-o)&&(v++,"reverse"===l?a=function(e,t,n=0,r=!0){return r?n2(t+-e,t,n):t-(e-t)+n}(a,_,u,x=v%2==0):(a=n2(a,_,u),"mirror"===l&&S.flipTarget()),b=!1,h&&h())}else g.stop(),f&&f()}})).start()),{stop(){null==d||d(),g.stop()}}}function n7(e,t){return t?e*(1e3/t):0}let nA=e=>1e3*e,nP=(e,t)=>1-3*t+3*e,n5=(e,t)=>3*t-6*e,n4=e=>3*e,nE=(e,t,n)=>((nP(t,n)*e+n5(t,n))*e+n4(t))*e,n6=(e,t,n)=>3*nP(t,n)*e*e+2*n5(t,n)*e+n4(t),nT={linear:tW,easeIn:tG,easeInOut:tY,easeOut:tq,circIn:tX,circInOut:tJ,circOut:tK,backIn:tQ,backInOut:nt,backOut:ne,anticipate:nn,bounceIn:ns,bounceInOut:nl,bounceOut:na},nR=e=>{if(Array.isArray(e)){td(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[t,n,r,i]=e;return function(e,t,n,r){if(e===t&&n===r)return tW;let i=new Float32Array(11);for(let o=0;o<11;++o)i[o]=nE(.1*o,e,n);return o=>0===o||1===o?o:nE(function(t){let r=0,o=1;for(;10!==o&&i[o]<=t;++o)r+=.1;--o;let a=(t-i[o])/(i[o+1]-i[o]),s=r+.1*a,l=n6(s,e,n);return l>=.001?function(e,t,n,r){for(let i=0;i<8;++i){let o=n6(t,n,r);if(0===o)break;let a=nE(t,n,r)-e;t-=a/o}return t}(t,s,e,n):0===l?s:function(e,t,n,r,i){let o,a,s=0;do(o=nE(a=t+(n-t)/2,r,i)-e)>0?n=a:t=a;while(Math.abs(o)>1e-7&&++s<10);return a}(t,r,r+.1,e,n)}(o),t,r)}(t,n,r,i)}return"string"==typeof e?(td(void 0!==nT[e],`Invalid easing type '${e}'`),nT[e]):e},nI=e=>Array.isArray(e)&&"number"!=typeof e[0],nz=(e,t)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&tL.test(t)&&!t.startsWith("url(")),nL=()=>({type:"spring",stiffness:500,damping:25,restSpeed:10}),nj=e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}),nV=()=>({type:"keyframes",ease:"linear",duration:.3}),nO=e=>({type:"keyframes",duration:.8,values:e}),n9={x:nL,y:nL,z:nL,rotate:nL,rotateX:nL,rotateY:nL,rotateZ:nL,scaleX:nj,scaleY:nj,scale:nj,opacity:nV,backgroundColor:nV,color:nV,default:nj},nM=(e,t)=>{let n;return{to:t,...(e3(t)?nO:n9[e]||n9.default)(t)}},nD=new Set(["brightness","contrast","saturate","opacity"]);function n8(e){let[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[r]=n.match(Z)||[];if(!r)return e;let i=n.replace(r,""),o=nD.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}let nF=/([a-z-]*)\(.*?\)/g,nU=Object.assign(Object.assign({},tL),{getAnimatableNone(e){let t=e.match(nF);return t?t.map(n8).join(" "):e}}),nN={...eo,color:t4,backgroundColor:t4,outlineColor:t4,fill:t4,stroke:t4,borderColor:t4,borderTopColor:t4,borderRightColor:t4,borderBottomColor:t4,borderLeftColor:t4,filter:nU,WebkitFilter:nU},nB=e=>nN[e];function nZ(e,t){var n;let r=nB(e);return r!==nU&&(r=tL),null===(n=r.getAnimatableNone)||void 0===n?void 0:n.call(r,t)}let nH={current:!1},nW=!1;function nG(e){return 0===e||"string"==typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function nq(e){return"number"==typeof e?0:nZ("",e)}function nY(e,t){return e[t]||e.default||e}function nX(e,t,n,r={}){return nH.current&&(r={type:!1}),t.start(i=>{let o,a,s=function(e,t,n,r,i){let o=nY(r,e)||{},a=void 0!==o.from?o.from:t.get(),s=nz(e,n);"none"===a&&s&&"string"==typeof n?a=nZ(e,n):nG(a)&&"string"==typeof n?a=nq(n):!Array.isArray(n)&&nG(n)&&"string"==typeof a&&(n=nq(a));let l=nz(e,a);return tc(l===s,`You are trying to animate ${e} from "${a}" to "${n}". ${a} is not an animatable value - to enable this animation set ${a} to a value animatable to ${n} via the \`style\` property.`),l&&s&&!1!==o.type?function(){var r,s,l,u;let c={from:a,to:n,velocity:t.getVelocity(),onComplete:i,onUpdate:e=>t.set(e)};return"inertia"===o.type||"decay"===o.type?function({from:e=0,velocity:t=0,min:n,max:r,power:i=.8,timeConstant:o=750,bounceStiffness:a=
8500,bounceDamping:s=10,restDelta:l=1,modifyTarget:u,driver:c,onUpdate:d,onComplete:f,onStop:h}){let p;function $(e){return void 0!==n&&e<n||void 0!==r&&e>r}function m(e){return void 0===n?r:void 0===r?n:Math.abs(n-e)<Math.abs(r-e)?n:r}function g(e){null==p||p.stop(),p=n1(Object.assign(Object.assign({},e),{driver:c,onUpdate(t){var n;null==d||d(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:f,onStop:h}))}function v(e){g(Object.assign({type:"spring",stiffness:a,damping:s,restDelta:l},e))}if($(e))v({from:e,velocity:t,to:m(e)});else{let _=i*t+e;void 0!==u&&(_=u(_));let y=m(_),b=y===n?-1:1,x,w,k=e=>{x=w,w=e,t=n7(e-x,nS().delta),(1===b&&e>y||-1===b&&e<y)&&v({from:e,to:y,velocity:t})};g({type:"decay",from:e,velocity:t,timeConstant:o,power:i,restDelta:l,modifyTarget:u,onUpdate:$(_)?k:void 0})}return{stop:()=>null==p?void 0:p.stop()}}({...c,...o}):n1({...(r=o,s=c,l=e,Array.isArray(s.to)&&void 0===r.duration&&(r.duration=.8),Array.isArray((u=s).to)&&null===u.to[0]&&(u.to=[...u.to],u.to[0]=u.from),!function({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:a,repeatDelay:s,from:l,...u}){return!!Object.keys(u).length}(r)&&(r={...r,...nM(l,s.to)}),{...s,...function({ease:e,times:t,yoyo:n,flip:r,loop:i,...o}){let a={...o};return t&&(a.offset=t),o.duration&&(a.duration=nA(o.duration)),o.repeatDelay&&(a.repeatDelay=nA(o.repeatDelay)),e&&(a.ease=nI(e)?e.map(nR):nR(e)),"tween"===o.type&&(a.type="keyframes"),(n||i||r)&&(tc(!nW,"yoyo, loop and flip have been removed from the API. Replace with repeat and repeatType options."),nW=!0,n?a.repeatType="reverse":i?a.repeatType="loop":r&&(a.repeatType="mirror"),a.repeat=i||n||r||o.repeat),"spring"!==o.type&&(a.type="keyframes"),a}(r)}
8),onUpdate(e){c.onUpdate(e),o.onUpdate&&o.onUpdate(e)},onComplete(){c.onComplete(),o.onComplete&&o.onComplete()}})}:function(){let e=eC(n);return t.set(e),i(),o.onUpdate&&o.onUpdate(e),o.onComplete&&o.onComplete(),{stop(){}}}}(e,t,n,r,i),l=function(e,t){var n,r;let i=nY(e,t)||{};return null!==(r=null!==(n=i.delay)&&void 0!==n?n:e.delay)&&void 0!==r?r:0}(r,e),u=()=>a=s();return l?o=window.setTimeout(u,nA(l)):u(),()=>{clearTimeout(o),a&&a.stop()}})}let nK=e=>/^\-?\d*\.?\d+$/.test(e),nJ=e=>/^0[^.\s]+$/.test(e);function nQ(e,t){-1===e.indexOf(t)&&e.push(t)}function re(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}class rt{constructor(){this.subscriptions=[]}add(e){return nQ(this.subscriptions,e),()=>re(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r){if(1===r)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let o=this.subscriptions[i];o&&o(e,t,n)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}class rn{constructor(e){var t;this.version="7.3.2",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new rt,this.velocityUpdateSubscribers=new rt,this.renderSubscribers=new rt,this.canTrackVelocity=!1,this.updateAndNotify=(e,t=!0)=>{this.prev=this.current,this.current=e;let{delta:n,timestamp:r}=nS();this.lastUpdated!==r&&(this.timeDelta=n,this.lastUpdated=r,n3.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.updateSubscribers.notify(this.current),this.velocityUpdateSubscribers.getSize()&&this.velocityUpdateSubscribers.notify(this.getVelocity()),t&&this.renderSubscribers.notify(this.current)},this.scheduleVelocityCheck=()=>n3.postRender(this.velocityCheck),this.velocityCheck=({timestamp:e})=>{e!==this.lastUpdated&&(this.prev=this.current,this.velocityUpdateSubscribers.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=!isNaN(parseFloat(this.current))}onChange(e){return this.updateSubscribers.add(e)}clearListeners(){this.updateSubscribers.clear()}onRenderRequest(e){return e(this.get()),this.renderSubscribers.add(e)}attach(e){this.passiveEffect=e}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?n7(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.stopAnimation=e(t)}).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 rr(e){return new rn(e)}let ri=e=>t=>t.test(e),ro=[et,K,X,Y,Q,J,{test:e=>"auto"===e,parse:e=>e}],ra=e=>ro.find(ri(e)),rs=[...ro,t4,tL],rl=e=>rs.find(ri(e));function ru(e,t,n){let r=e.getProps();return eS(r,t,void 0!==n?n:r.custom,function(e){let t={};return e.forEachValue((e,n)=>t[n]=e.get()),t}(e),function(e){let t={};return e.forEachValue((e,n)=>t[n]=e.getVelocity()),t}(e))}function rc(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,rr(n))}function rd(e,t){if(!t)return;let n=t[e]||t.default||t;return n.from}function rf(e){return Boolean(O(e)&&e.add)}function rh(e,t,n={}){var r;let i=ru(e,t,n.custom),{transition:o=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(o=n.transitionOverride);let a=i?()=>rp(e,i,n):()=>Promise.resolve(),s=(null===(r=e.variantChildren)||void 0===r?void 0:r.size)?(r=0)=>{let{delayChildren:i=0,staggerChildren:a,staggerDirection:s}=o;return function(e,t,n=0,r=0,i=1,o){let a=[],s=(e.variantChildren.size-1)*r,l=1===i?(e=0)=>e*r:(e=0)=>s-e*r;return Array.from(e.variantChildren).sort(r$).forEach((e,r)=>{a.push(rh(e,t,{...o,delay:n+l(r)}).then(()=>e.notifyAnimationComplete(t)))}),Promise.all(a)}(e,t,i+r,a,s,n)}:()=>Promise.resolve(),{when:l}=o;if(!l)return Promise.all([a(),s(n.delay)]);{let[u,c]="beforeChildren"===l?[a,s]:[s,a];return u().then(c)}}function rp(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var o;let{transition:a=e.getDefaultTransition(),transitionEnd:s,...l}=e.makeTargetAnimatable(t),u=e.getValue("willChange");r&&(a=r);let c=[],d=i&&(null===(o=e.animationState)||void 0===o?void 0:o.getState()[i]);for(let f in l){let h=e.getValue(f),p=l[f];if(!h||void 0===p||d&&rm(d,f))continue;let $={delay:n,...a};e.shouldReduceMotion&&j.has(f)&&($={...$,type:!1,delay:0});let m=nX(f,h,p,$);rf(u)&&(u.add(f),m=m.then(()=>u.remove(f))),c.push(m)}return Promise.all(c).then(()=>{s&&function(e,t){let n=ru(e,t),{transitionEnd:r={},transition:i={},...o}=n?e.makeTargetAnimatable(n,!1):{};for(let a in o={...o,...r}){let s=eC(o[a]);rc(e,a,s)}}(e,s)})}function r$(e,t){return e.sortNodePosition(t)}function rm({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}let rg=[a.Animate,a.InView,a.Focus,a.Hover,a.Tap,a.Drag,a.Exit,],rv=[...rg].reverse(),r_=rg.length;function ry(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!tl(t,e)}function rb(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let rx={animation:to(({visualElement:e,animate:t})=>{e.animationState||(e.animationState=function(e){var t;let n=(t=e,e=>Promise.all(e.map(({animation:e,options:n})=>(function(e,t,n={}){e.notifyAnimationStart(t);let r;if(Array.isArray(t)){let i=t.map(t=>rh(e,t,n));r=Promise.all(i)}else if("string"==typeof t)r=rh(e,t,n);else{let o="function"==typeof t?ru(e,t,n.custom):t;r=rp(e,o,n)}return r.then(()=>e.notifyAnimationComplete(t))})(t,e,n)))),r={[a.Animate]:rb(!0),[a.InView]:rb(),[a.Hover]:rb(),[a.Tap]:rb(),[a.Drag]:rb(),[a.Focus]:rb(),[a.Exit]:rb()},i=!0,o=(t,n)=>{let r=ru(e,n);if(r){let{transition:i,transitionEnd:o,...a}=r;t={...t,...a,...o}}return t};function s(t,a){var s;let l=e.getProps(),u=e.getVariantContext(!0)||{},c=[],d=new Set,f={},h=1/0;for(let p=0;p<r_;p++){let $=rv[p],v=r[$],_=null!==(s=l[$])&&void 0!==s?s:u[$],y=m(_),b=$===a?v.isActive:null;!1===b&&(h=p);let x=_===u[$]&&_!==l[$]&&y;if(x&&i&&e.manuallyAnimateOnMount&&(x=!1),v.protectedKeys={...f},!v.isActive&&null===b||!_&&!v.prevProp||g(_)||"boolean"==typeof _)continue;let w=ry(v.prevProp,_),k=w||$===a&&v.isActive&&!x&&y||p>h&&y,S=Array.isArray(_)?_:[_],C=S.reduce(o,{});!1===b&&(C={});let{prevResolvedValues:A={}}=v,P={...A,...C},E=e=>{k=!0,d.delete(e),v.needsAnimating[e]=!0};for(let T in P){let R=C[T],I=A[T];f.hasOwnProperty(T)||(R!==I?e3(R)&&e3(I)?!tl(R,I)||w?E(T):v.protectedKeys[T]=!0:void 0!==R?E(T):d.add(T):void 0!==R&&d.has(T)?E(T):v.protectedKeys[T]=!0)}v.prevProp=_,v.prevResolvedValues=C,v.isActive&&(f={...f,...C}),i&&e.blockInitialAnimation&&(k=!1),k&&!x&&c.push(...S.map(e=>({animation:e,options:{type:$,...t}})))}if(d.size){let z={};d.forEach(t=>{let n=e.getBaseTarget(t);void 0!==n&&(z[t]=n)}),c.push({animation:z})}let L=Boolean(c.length);return i&&!1===l.initial&&!e.manuallyAnimateOnMount&&(L=!1),i=!1,L?n(c):Promise.resolve()}return{animateChanges:s,setActive:function(t,n,i){var o;if(r[t].isActive===n)return Promise.resolve();
8null===(o=e.variantChildren)||void 0===o||o.forEach(e=>{var r;return null===(r=e.animationState)||void 0===r?void 0:r.setActive(t,n)}),r[t].isActive=n;let a=s(i,t);for(let l in r)r[l].protectedKeys={};return a},setAnimateFunction:function(t){n=t(e)},getState:()=>r}}(e)),g(t)&&(0,l.useEffect)(()=>t.subscribe(e),[t])}),exit:to(e=>{let{custom:t,visualElement:n}=e,[r,i]=ts(),o=(0,l.useContext)(d);(0,l.useEffect)(()=>{n.isPresent=r;let e=n.animationState&&n.animationState.setActive(a.Exit,!r,{custom:o&&o.custom||t});e&&!r&&e.then(i)},[r])})},r0=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),rw=e=>r0(e)&&e.hasOwnProperty("z"),rk=(e,t)=>Math.abs(e-t);function rS(e,t){if(tj(e)&&tj(t))return rk(e,t);if(r0(e)&&r0(t)){let n=rk(e.x,t.x),r=rk(e.y,t.y),i=rw(e)&&rw(t)?rk(e.z,t.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(i,2))}}class r3{constructor(e,t,{transformPagePoint:n}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let e=r1(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=rS(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;let{point:r}=e,{timestamp:i}=nS();this.history.push({...r,timestamp:i});let{onStart:o,onMove:a}=this.handlers;t||(o&&o(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{if(this.lastMoveEvent=e,this.lastMoveEventInfo=r2(t,this.transformPagePoint),eE(e)&&0===e.buttons){this.handlePointerUp(e,t);return}n3.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:n,onSessionEnd:r}=this.handlers,i=r1(r2(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,i),r&&r(e,i)},e6(e)&&e.touches.length>1)return;this.handlers=t,this.transformPagePoint=n;let r=eR(e),i=r2(r,this.transformPagePoint),{point:o}=i,{timestamp:a}=nS();this.history=[{...o,timestamp:a}];let{onSessionStart:s}=t;s&&s(e,r1(i,this.history)),this.removeListeners=eq(eM(window,"pointermove",this.handlePointerMove),eM(window,"pointerup",this.handlePointerUp),eM(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),nb.update(this.updatePoint)}}function r2(e,t){return t?{point:t(e.point)}:e}function rC(e,t){return{x:e.x-t.x,y:e.y-t.y}}function r1({point:e},t){var n;return{point:e,delta:rC(e,r7(t)),offset:rC(e,(n=t,n[0])),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=r7(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>nA(.1)));)n--;if(!r)return{x:0,y:0};let o=(i.timestamp-r.timestamp)/1e3;if(0===o)return{x:0,y:0};let a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}(t,.1)}}function r7(e){return e[e.length-1]}function rA(e){return e.max-e.min}function rP(e,t=0,n=.01){return rS(e,t)<n}function r5(e,t,n,r=.5){e.origin=r,e.originPoint=ty(t.min,t.max,e.origin),e.scale=rA(n)/rA(t),(rP(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=ty(n.min,n.max,e.origin)-e.originPoint,(rP(e.translate)||isNaN(e.translate))&&(e.translate=0)}function r4(e,t,n,r){r5(e.x,t.x,n.x,null==r?void 0:r.originX),r5(e.y,t.y,n.y,null==r?void 0:r.originY)}function rE(e,t,n){e.min=n.min+t.min,e.max=e.min+rA(t)}function r6(e,t,n){e.min=t.min-n.min,e.max=e.min+rA(t)}function rT(e,t,n){r6(e.x,t.x,n.x),r6(e.y,t.y,n.y)}function rR(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function rI(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function rz(e,t,n){return{min:rL(e,t),max:rL(e,n)}}function rL(e,t){var n;return"number"==typeof e?e:null!==(n=e[t])&&void 0!==n?n:0}let rj=()=>({translate:0,scale:1,origin:0,originPoint:0}),rV=()=>({x:rj(),y:rj()}),rO=()=>({min:0,max:0}),r9=()=>({x:rO(),y:rO()});function rM(e){return[e("x"),e("y")]}function rD({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function r8(e){return void 0===e||1===e}function rF({scale:e,scaleX:t,scaleY:n}){return!r8(e)||!r8(t)||!r8(n)}function rU(e){return rF(e)||rN(e.x)||rN(e.y)||e.z||e.rotate||e.rotateX||e.rotateY}function rN(e){return e&&"0%"!==e}function rB(e,t,n,r,i){var o,a,s,l,u,c;return void 0!==i&&(e=(o=e,a=i,(s=r)+a*(o-s))),l=e,u=n,(c=r)+u*(l-c)+t}function rZ(e,t=0,n=1,r,i){e.min=rB(e.min,t,n,r,i),e.max=rB(e.max,t,n,r,i)}function rH(e,{x:t,y:n}){rZ(e.x,t.translate,t.scale,t.originPoint),rZ(e.y,n.translate,n.scale,n.originPoint)}function rW(e,t){e.min=e.min+t,e.max=e.max+t}function rG(e,t,[n,r,i]){let o=void 0!==t[i]?t[i]:.5,a=ty(e.min,e.max,o);rZ(e,t[n],t[r],a,t.scale)}let rq=["x","scaleX","originX"],rY=["y","scaleY","originY"];function rX(e,t){rG(e.x,t,rq),rG(e.y,t,rY)}function rK(e,t){return rD(function(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}let rJ=new WeakMap;class rQ{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=r9(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){if(!1===this.visualElement.isPresent)return;let n=e=>{this.stopAnimation(),t&&this.snapToCursor(eR(e,"page").point)},r=(e,t)=>{var n;let{drag:r,dragPropagation:i,onDragStart:o}=this.getProps();(!r||i||(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=eN(r),this.openGlobalLock))&&(this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),rM(e=>{var t,n;let r=this.getAxisMotionValue(e).get()||0;if(X.test(r)){let i=null===(n=null===(t=this.visualElement.projection)||void 0===t?void 0:t.layout)||void 0===n?void 0:n.actual[e];
8if(i){let o=rA(i);r=o*(parseFloat(r)/100)}}this.originPoint[e]=r}),null==o||o(e,t),null===(n=this.visualElement.animationState)||void 0===n||n.setActive(a.Drag,!0))},i=(e,t)=>{let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:o}=this.getProps();if(!n&&!this.openGlobalLock)return;let{offset:a}=t;if(r&&null===this.currentDirection){this.currentDirection=function(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}(a),null!==this.currentDirection&&(null==i||i(this.currentDirection));return}this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.syncRender(),null==o||o(e,t)},o=(e,t)=>this.stop(e,t);this.panSession=new r3(e,{onSessionStart:n,onStart:r,onMove:i,onSessionEnd:o},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(e,t){let n=this.isDragging;if(this.cancel(),!n)return;let{velocity:r}=t;this.startAnimation(r);let{onDragEnd:i}=this.getProps();null==i||i(e,t)}cancel(){var e,t;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(e=this.panSession)||void 0===e||e.end(),this.panSession=void 0;let{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(t=this.visualElement.animationState)||void 0===t||t.setActive(a.Drag,!1)}updateAxis(e,t,n){let{drag:r}=this.getProps();if(!n||!ie(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),o=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:n},r){return void 0!==t&&e<t?e=r?ty(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?ty(n,e,r.max):Math.min(e,n)),e}(o,this.constraints[e],this.elastic[e])),i.set(o)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),{layout:n}=this.visualElement.projection||{},r=this.constraints;e&&$(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&n?this.constraints=function(e,{top:t,left:n,bottom:r,right:i}){return{x:rR(e.x,n,i),y:rR(e.y,t,r)}}(n.actual,e):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:rz(e,"left","right"),y:rz(e,"top","bottom")}}(t),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&rM(e=>{this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){let n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(n.actual[e],this.constraints[e]))})}resolveRefConstraints(){var e,t;let{dragConstraints:n,onMeasureDragConstraints:r}=this.getProps();if(!n||!$(n))return!1;let i=n.current;td(null!==i,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:o}=this.visualElement;if(!o||!o.layout)return!1;let a=function(e,t,n){let r=rK(e,n),{scroll:i}=t;return i&&(rW(r.x,i.x),rW(r.y,i.y)),r}(i,o.root,this.visualElement.getTransformPagePoint()),s=(e=o.layout.actual,t=a,{x:rI(e.x,t.x),y:rI(e.y,t.y)});if(r){let l=r(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(s));this.hasMutatedConstraints=!!l,l&&(s=rD(l))}return s}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=rM(a=>{var l;if(!ie(a,t,this.currentDirection))return;let u=null!==(l=null==s?void 0:s[a])&&void 0!==l?l:{};o&&(u={min:0,max:0});let c={type:"inertia",velocity:n?e[a]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...i,...u};return this.startAxisValueAnimation(a,c)});return Promise.all(l).then(a)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return nX(e,n,0,t)}stopAnimation(){rM(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){var t,n;let r="_drag"+e.toUpperCase(),i=this.visualElement.getProps()[r];return i||this.visualElement.getValue(e,null!==(n=null===(t=this.visualElement.getProps().initial)||void 0===t?void 0:t[e])&&void 0!==n?n:0)}snapToCursor(e){rM(t=>{let{drag:n}=this.getProps();if(!ie(t,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){let{min:o,max:a}=r.layout.actual[t];i.set(e[t]-ty(o,a,.5))}})}scalePositionWithinConstraints(){var e;let{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!$(n)||!r||!this.constraints)return;this.stopAnimation();let i={x:0,y:0};rM(e=>{let t=this.getAxisMotionValue(e);if(t){let n=t.get();i[e]=function(e,t){let n=.5,r=rA(e),i=rA(t);return i>r?n=t_(t.min,t.max-r,e.min):r>i&&(n=t_(e.min,e.max-i,t.min)),tf(0,1,n)}({min:n,max:n},this.constraints[e])}});let{transformTemplate:o}=this.visualElement.getProps();this.visualElement.getInstance().style.transform=o?o({},""):"none",null===(e=r.root)||void 0===e||e.updateScroll(),r.updateLayout(),this.resolveConstraints(),rM(e=>{if(!ie(e,t,null))return;let n=this.getAxisMotionValue(e),{min:r,max:o}=this.constraints[e];n.set(ty(r,o,i[e]))})}addListeners(){var e;rJ.set(this.visualElement,this);let t=this.visualElement.getInstance(),n=eM(t,"pointerdown",e=>{let{drag:t,dragListener:n=!0}
8=this.getProps();t&&n&&this.start(e)}),r=()=>{let{dragConstraints:e}=this.getProps();$(e)&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,o=i.addEventListener("measure",r);i&&!i.layout&&(null===(e=i.root)||void 0===e||e.updateScroll(),i.updateLayout()),r();let a=e5(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(rM(t=>{let n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.syncRender())});return()=>{a(),n(),o(),null==s||s()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:o=.35,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:o,dragMomentum:a}}}function ie(e,t,n){return(!0===t||t===e)&&(null===n||n===e)}let it={pan:to(function({onPan:e,onPanStart:t,onPanEnd:n,onPanSessionStart:r,visualElement:i}){let o=(0,l.useRef)(null),{transformPagePoint:a}=(0,l.useContext)(u),s={onSessionStart:r,onStart:t,onMove:e,onEnd(e,t){o.current=null,n&&n(e,t)}};(0,l.useEffect)(()=>{null!==o.current&&o.current.updateHandlers(s)}),eD(i,"pointerdown",(e||t||n||r)&&function(e){o.current=new r3(e,s,{transformPagePoint:a})}),eW(()=>o.current&&o.current.end())}),drag:to(function(e){let{dragControls:t,visualElement:n}=e,r=k(()=>new rQ(n));(0,l.useEffect)(()=>t&&t.subscribe(r),[r,t]),(0,l.useEffect)(()=>r.addListeners(),[r])})},ir={current:null},ii={current:!1},io=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount",],ia=Object.keys(w),is=ia.length,il=({treeType:e="",build:t,getBaseTarget:n,makeTargetAnimatable:r,measureViewportBox:i,render:o,readValueFromInstance:a,removeValueFromRenderState:s,sortNodePosition:u,scrapeMotionValuesFromProps:c})=>({parent:d,props:h,presenceId:p,blockInitialAnimation:g,visualState:v,reducedMotionConfig:b},x={})=>{let k=!1,{latestValues:S,renderState:C}=v,A,P=function(){let e=io.map(()=>new rt),t={},n={clearAllListeners:()=>e.forEach(e=>e.clear()),updatePropListeners(e){io.forEach(r=>{var i;let o="on"+r,a=e[o];null===(i=t[r])||void 0===i||i.call(t),a&&(t[r]=n[o](a))})}};return e.forEach((e,t)=>{n["on"+io[t]]=t=>e.add(t),n["notify"+io[t]]=(...t)=>e.notify(...t)}),n}(),E=new Map,T=new Map,R={},I={...S},z;function L(){A&&k&&(j(),o(A,C,h.style,H.projection))}function j(){t(H,C,S,x,h)}function V(){P.notifyUpdate(S)}function M(e,t){let n=t.onChange(t=>{S[e]=t,h.onUpdate&&n3.update(V,!1,!0)}),r=t.onRenderRequest(H.scheduleRender);T.set(e,()=>{n(),r()})}let{willChange:D,...F}=c(h);for(let U in F){let N=F[U];void 0!==S[U]&&O(N)&&(N.set(S[U],!1),rf(D)&&D.add(U))}let B=_(h),Z=y(h),H={treeType:e,current:null,depth:d?d.depth+1:0,parent:d,children:new Set,presenceId:p,shouldReduceMotion:null,variantChildren:Z?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(null==d?void 0:d.isMounted()),blockInitialAnimation:g,isMounted:()=>Boolean(A),mount(e){k=!0,A=H.current=e,H.projection&&H.projection.mount(e),Z&&d&&!B&&(z=null==d?void 0:d.addVariantChild(H)),E.forEac
8h((e,t)=>M(t,e)),ii.current||function(){if(ii.current=!0,f){if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>ir.current=e.matches;e.addListener(t),t()}else ir.current=!1}}(),H.shouldReduceMotion="never"!==b&&("always"===b||ir.current),null==d||d.children.add(H),H.setProps(h)},unmount(){var e;null===(e=H.projection)||void 0===e||e.unmount(),nb.update(V),nb.render(L),T.forEach(e=>e()),null==z||z(),null==d||d.children.delete(H),P.clearAllListeners(),A=void 0,k=!1},loadFeatures(e,t,n,r,i,o){let a=[];"production"!==eX&&n&&t&&td(!1,"You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.");for(let s=0;s<is;s++){let u=ia[s],{isEnabled:c,Component:f}=w[u];c(h)&&f&&a.push((0,l.createElement)(f,{key:u,...e,visualElement:H}))}if(!H.projection&&i){H.projection=new i(r,H.getLatestValues(),d&&d.projection);let{layoutId:p,layout:m,drag:g,dragConstraints:v,layoutScroll:_}=e;H.projection.setOptions({layoutId:p,layout:m,alwaysMeasureLayout:Boolean(g)||v&&$(v),visualElement:H,scheduleRender:()=>H.scheduleRender(),animationType:"string"==typeof m?m:"both",initialPromotionConfig:o,layoutScroll:_})}return a},addVariantChild(e){var t;let n=H.getClosestVariantNode();if(n)return null===(t=n.variantChildren)||void 0===t||t.add(e),()=>n.variantChildren.delete(e)},sortNodePosition:t=>u&&e===t.treeType?u(H.getInstance(),t.getInstance()):0,getClosestVariantNode:()=>Z?H:null==d?void 0:d.getClosestVariantNode(),getLayoutId:()=>h.layoutId,getInstance:()=>A,getStaticValue:e=>S[e],setStaticValue:(e,t)=>S[e]=t,getLatestValues:()=>S,setVisibility(e){H.isVisible!==e&&(H.isVisible=e,H.scheduleRender())},makeTargetAnimatable:(e,t=!0)=>r(H,e,h,t),measureViewportBox:()=>i(A,h),addValue(e,t){H.hasValue(e)&&H.removeValue(e),E.set(e,t),S[e]=t.get(),M(e,t)},removeValue(e){var t;E.delete(e),null===(t=T.get(e))||void 0===t||t(),T.delete(e),delete S[e],s(e,C)},hasValue:e=>E.has(e),getValue(e,t){let n=E.get(e);return void 0===n&&void 0!==t&&(n=rr(t),H.addValue(e,n)),n},forEachValue:e=>E.forEach(e),readValue:e=>void 0!==S[e]?S[e]:a(A,e,x),setBaseTarget(e,t){I[e]=t},getBaseTarget(e){if(n){let t=n(h,e);if(void 0!==t&&!O(t))return t}return I[e]},...P,build:()=>(j(),C),scheduleRender(){n3.render(L,!1,!0)},syncRender:L,setProps(e){(e.transformTemplate||h.transformTemplate)&&H.scheduleRender(),h=e,P.updatePropListeners(e),R=function(e,t,n){let{willChange:r}=t;for(let i in t){let o=t[i],a=n[i];if(O(o))e.addValue(i,o),rf(r)&&r.add(i);else if(O(a))e.addValue(i,rr(o)),rf(r)&&r.remove(i);else if(a!==o){if(e.hasValue(i)){let s=e.getValue(i);s.hasAnimated||s.set(o)}else{let l=e.getStaticValue(i);e.addValue(i,rr(void 0!==l?l:o))}}}for(let u in n)void 0===t[u]&&e.removeValue(u);return t}(H,c(h),R)},getProps:()=>h,getVariant(e){var t;return null===(t=h.variants)||void 0===t?void 0:t[e]},getDefaultTransition:()=>h.transition,getTransformPagePoint:()=>h.transformPagePoint,getVariantContext(e=!1){if(e)return null==d?void 0:d.getVariantContext();if(!B){let t=(null==d?void 0:d.getVariantContext())||{};return void 0!==h.initial&&(t.initial=h.initial),t}let n={};for(let r=0;r<ic;r++){let i=iu[r],o=h[i];(m(o)||!1===o)&&(n[i]=o)}return n}};return H},iu=["initial",...rg],ic=iu.length;function id(e){return"string"==typeof e&&e.startsWith("var(--")}let ih=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function ip(e,t,n=1){td(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[r,i]=function(e){let t=ih.exec(e);if(!t)return[,];let[,n,r]=t;return[n,r]}(e);if(!r)return;let o=window.getComputedStyle(t).getPropertyValue(r);return o?o.trim():id(i)?ip(i,t,n+1):i}let i$=new Set(["width","height","top","left","right","bottom","x","y",]),im=e=>i$.has(e),ig=e=>Object.keys(e).some(im),iv=(e,t)=>{e.set(t,!1),e.set(t)},i_=e=>e===et||e===K;(o=s||(s={})).width="width",o.height="height",o.left="left",o.right="right",o.top="top",o.bottom="bottom";let iy=(e,t)=>parseFloat(e.split(", ")[t]),ib=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;let i=r.match(/^matrix3d\((.+)\)$/);if(i)return iy(i[1],t);{let o=r.match(/^matrix\((.+)\)$/);return o?iy(o[1],e):0}},ix=new Set(["x","y","z"]),i0=L.filter(e=>!ix.has(e)),iw={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:ib(4,13),y:ib(5,14)},ik=(e,t,n)=>{let r=t.measureViewportBox(),i=t.getInstance(),o=getComputedStyle(i),{display:a}=o,s={};"none"===a&&t.setStaticValue("display",e.display||"block"),n.forEac
8h(e=>{s[e]=iw[e](r,o)}),t.syncRender();let l=t.measureViewportBox();return n.forEach(n=>{let r=t.getValue(n);iv(r,s[n]),e[n]=iw[n](l,o)}),e},iS=(e,t,n={},r={})=>{t={...t},r={...r};let i=Object.keys(t).filter(im),o=[],a=!1,s=[];if(i.forEach(i=>{let l=e.getValue(i);if(!e.hasValue(i))return;let u=n[i],c=ra(u),d=t[i],f;if(e3(d)){let h=d.length,p=null===d[0]?1:0;c=ra(u=d[p]);for(let $=p;$<h;$++)f?td(ra(d[$])===f,"All keyframes must be of the same type"):(f=ra(d[$]),td(f===c||i_(c)&&i_(f),"Keyframes must be of the same dimension as the current value"))}else f=ra(d);if(c!==f){if(i_(c)&&i_(f)){let m=l.get();"string"==typeof m&&l.set(parseFloat(m)),"string"==typeof d?t[i]=parseFloat(d):Array.isArray(d)&&f===K&&(t[i]=d.map(parseFloat))}else(null==c?void 0:c.transform)&&(null==f?void 0:f.transform)&&(0===u||0===d)?0===u?l.set(f.transform(u)):t[i]=c.transform(d):(a||(o=function(e){let t=[];return i0.forEach(n=>{let r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.syncRender(),t}(e),a=!0),s.push(i),r[i]=void 0!==r[i]?r[i]:t[i],iv(l,d))}}),!s.length)return{target:t,transitionEnd:r};{let l=s.indexOf("height")>=0?window.pageYOffset:null,u=ik(t,e,s);return o.length&&o.forEach(([t,n])=>{e.getValue(t).set(n)}),e.syncRender(),f&&null!==l&&window.scrollTo({top:l}),{target:u,transitionEnd:r}}},i3=(e,t,n,r)=>{var i,o,a,s;let l=function(e,{...t},n){let r=e.getInstance();if(!(r instanceof Element))return{target:t,transitionEnd:n};for(let i in n&&(n={...n}),e.forEachValue(e=>{let t=e.get();if(!id(t))return;let n=ip(t,r);n&&e.set(n)}),t){let o=t[i];if(!id(o))continue;let a=ip(o,r);a&&(t[i]=a,n&&void 0===n[i]&&(n[i]=o))}return{target:t,transitionEnd:n}}(e,t,r);return t=l.target,r=l.transitionEnd,i=e,o=t,a=n,s=r,ig(o)?iS(i,o,a,s):{target:o,transitionEnd:s}},i2={treeType:"dom",readValueFromInstance(e,t){if(j.has(t)){let n=nB(t);return n&&n.default||0}{var r;
8let i=(r=e,window.getComputedStyle(r)),o=(F(t)?i.getPropertyValue(t):i[t])||0;return"string"==typeof o?o.trim():o}},sortNodePosition:(e,t)=>2&e.compareDocumentPosition(t)?1:-1,getBaseTarget(e,t){var n;return null===(n=e.style)||void 0===n?void 0:n[t]},measureViewportBox:(e,{transformPagePoint:t})=>rK(e,t),resetTransform(e,t,n){let{transformTemplate:r}=n;t.style.transform=r?r({},""):"none",e.scheduleRender()},restoreTransform(e,t){e.style.transform=t.style.transform},removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]},makeTargetAnimatable(e,{transition:t,transitionEnd:n,...r},{transformValues:i},o=!0){let a=function(e,t,n){var r;let i={};for(let o in e){let a=rd(o,t);i[o]=void 0!==a?a:null===(r=n.getValue(o))||void 0===r?void 0:r.get()}return i}(r,t||{},e);if(i&&(n&&(n=i(n)),r&&(r=i(r)),a&&(a=i(a))),o){!function(e,t,n){var r,i;let o=Object.keys(t).filter(t=>!e.hasValue(t)),a=o.length;if(a)for(let s=0;s<a;s++){let l=o[s],u=t[l],c=null;Array.isArray(u)&&(c=u[0]),null===c&&(c=null!==(i=null!==(r=n[l])&&void 0!==r?r:e.readValue(l))&&void 0!==i?i:t[l]),null!=c&&("string"==typeof c&&(nK(c)||nJ(c))?c=parseFloat(c):!rl(c)&&tL.test(u)&&(c=nZ(l,u)),e.addValue(l,rr(c)),void 0===n[l]&&(n[l]=c),e.setBaseTarget(l,c))}}(e,r,a);let s=i3(e,r,a,n);n=s.transitionEnd,r=s.target}return{transition:t,transitionEnd:n,...r}},scrapeMotionValuesFromProps:ew,build(e,t,n,r,i){void 0!==e.isVisible&&(t.style.visibility=e.isVisible?"visible":"hidden"),ea(t,n,r,i.transformTemplate)},render:eb},iC=il(i2),i1=il({...i2,getBaseTarget:(e,t)=>e[t],readValueFromInstance(e,t){var n;return j.has(t)?(null===(n=nB(t))||void 0===n?void 0:n.default)||0:(t=ex.has(t)?t:ey(t),e.getAttribute(t))},scrapeMotionValuesFromProps:ek,build(e,t,n,r,i){eg(t,n,r,i.transformTemplate)},render:e0}),i7=(e,t)=>I(e)?i1(t,{enableHardwareAcceleration:!1}):iC(t,{enableHardwareAcceleration:!0});function iA(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let iP={correct(e,t){if(!t.target)return e;if("string"==typeof e){if(!K.test(e))return e;e=parseFloat(e)}let n=iA(e,t.target.x),r=iA(e,t.target.y);return`${n}% ${r}%`}},i5="_$css";class i4 extends l.Component{componentDidMount(){var e;let{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:o}=t;e=iE,Object.assign(z,e),o&&(n.group&&n.group.add(o),r&&r.register&&i&&r.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),S.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,o=n.projection;return o&&(o.isPresent=i,r||e.layoutDependency!==t||void 0===t?o.willUpdate():this.safeToRemove(),e.isPresent===i||(i?o.promote():o.relegate()||n3.postRender(()=>{var e;(null===(e=o.getStack())||void 0===e?void 0:e.members.length)||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),!e.currentAnimation&&e.isLead()&&this.safeToRemove())}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),(null==t?void 0:t.group)&&t.group.remove(r),(null==n?void 0:n.deregister)&&n.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;null==e||e()}render(){return null}}let iE={borderRadius:{...iP,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius",]},borderTopLeftRadius:iP,borderTopRightRadius:iP,borderBottomLeftRadius:iP,borderBottomRightRadius:iP,boxShadow:{correct(e,{treeScale:t,projectionDelta:n}){let r=e,i=e.includes("var("),o=[];i&&(e=e.replace(ih,e=>(o.push(e),i5)));let a=tL.parse(e);if(a.length>5)return r;let s=tL.createTransformer(e),l="number"!=typeof a[0]?1:0,u=n.x.scale*t.x,c=n.y.scale*t.y;a[0+l]/=u,a[1+l]/=c;let d=ty(u,c,.5);"number"==typeof a[2+l]&&(a[2+l]/=d),"number"==typeof a[3+l]&&(a[3+l]/=d);let f=s(a);if(i){let h=0;f=f.replace(i5,()=>{let e=o[h];return h++,e})}return f}}},i6=["TopLeft","TopRight","BottomLeft","BottomRight"],iT=i6.length,iR=e=>"string"==typeof e?parseFloat(e):e,iI=e=>"number"==typeof e||K.test(e);function iz(e,t){var n;return null!==(n=e[t])&&void 0!==n?n:e.borderRadius}let iL=iV(0,.5,tK),ij=iV(.5,.95,tW);function iV(e,t,n){return r=>r<e?0:r>t?1:n(t_(e,t,r))}function iO(e,t){e.min=t.min,e.max=t.max}function i9(e,t){iO(e.x,t.x),iO(e.y,t.y)}function iM(e,t,n,r,i){var o,a,s,l,u,c;return e-=t,e=(o=e,a=1/n,(s=r)+a*(o-s)),void 0!==i&&(e=(l=e,u=1/i,(c=r)+u*(l-c))),e}function iD(e,t,[n,r,i],o,a){!function(e,t=0,n=1,r=.5,i,o=e,a=e){if(X.test(t)){t=parseFloat(t);let s=ty(a.min,a.max,t/100);t=s-a.min}if("number"!=typeof t)return;let l=ty(o.min,o.max,r);e===o&&(l-=t),e.min=iM(e.min,t,n,l,i),e.max=iM(e.max,t,n,l,i)}(e,t[n],t[r],t[i],t.scale,o,a)}let i8=["x","scaleX","originX"],iF=["y","scaleY","originY"];function iU(e,t,n,r){iD(e.x,t,i8,null==n?void 0:n.x,null==r?void 0:r.x),iD(e.y,t,iF,null==n?void 0:n.y,null==r?void 0:r.y
8)}function iN(e){return 0===e.translate&&1===e.scale}function iB(e){return iN(e.x)&&iN(e.y)}function iZ(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function iH(e){return rA(e.x)/rA(e.y)}class iW{constructor(){this.members=[]}add(e){nQ(this.members,e),e.scheduleRender()}remove(e){if(re(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(e){let t=this.members.findIndex(t=>e===t);if(0===t)return!1;let n;for(let r=t;r>=0;r--){let i=this.members[r];if(!1!==i.isPresent){n=i;break}}return!!n&&(this.promote(n),!0)}promote(e,t){var n;let r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,t&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues,e.snapshot.isShared=!0),(null===(n=e.root)||void 0===n?void 0:n.isUpdating)&&(e.isLayoutDirty=!0);let{crossfade:i}=e.options;!1===i&&r.hide()}}exitAnimationComplete(){this.members.forEach(e=>{var t,n,r,i,o;null===(n=(t=e.options).onExitComplete)||void 0===n||n.call(t),null===(o=null===(r=e.resumingFrom)||void 0===r?void 0:(i=r.options).onExitComplete)||void 0===o||o.call(i)})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function iG(e,t,n){let r=e.x.translate/t.x,i=e.y.translate/t.y,o=`translate3d(${r}px, ${i}px, 0) `;if(o+=`scale(${1/t.x}, ${1/t.y}) `,n){let{rotate:a,rotateX:s,rotateY:l}=n;a&&(o+=`rotate(${a}deg) `),s&&(o+=`rotateX(${s}deg) `),l&&(o+=`rotateY(${l}deg) `)}let u=e.x.scale*t.x,c=e.y.scale*t.y;return"translate3d(0px, 0px, 0) scale(1, 1) scale(1, 1)"==(o+=`scale(${u}, ${c})`)?"none":o}let iq=(e,t)=>e.depth-t.depth;class iY{constructor(){this.children=[],this.isDirty=!1}add(e){nQ(this.children,e),this.isDirty=!0}remove(e){re(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(iq),this.isDirty=!1,this.children.forEach(e)}}let iX=["","X","Y","Z"];function iK({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e,n={},r=null==t?void 0:t()){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(oi),this.nodes.forEach(oo)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=e,this.latestValues=n,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0,e&&this.root.registerPotentialNode(e,this);for(let i=0;i<this.path.length;i++)this.path[i].shouldResetTransform=!0;this.root===this&&(this.nodes=new iY)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new rt),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);null==n||n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}registerPotentialNode(e,t){this.potentialNodes.set(e,t)}mount(t,n=!1){var r;if(this.instance)return;this.isSVG=t instanceof SVGElement&&"svg"!==t.tagName,this.instance=t;let{layoutId:i,layout:o,visualElement:a}=this.options;if(a&&!a.getInstance()&&a.mount(t),this.root.nodes.add(this),null===(r=this.parent)||void 0===r||r.children.add(this),this.id&&this.root.potentialNodes.delete(this.id),n&&(o||i)&&(this.isLayoutDirty=!0),e){let s,l=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,clearTimeout(s),s=window.setTimeout(l,250),S.hasAnimatedSinceResize&&(S.hasAnimatedSinceResize=!1,this.nodes.forEach(or))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&a&&(i||o)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:r})=>{var i,o,s,l,u;if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let c=null!==(o=null!==(i=this.options.transition)&&void 0!==i?i:a.getDefaultTransition())&&void 0!==o?o:od,{onLayoutAnimationStart:d,onLayoutAnimationComplete:f}=a.getProps(),h=!this.targetLayout||!iZ(this.targetLayout,r)||n,p=!t&&n;if((null===(s=this.resumeFrom)||void 0===s?void 0:s.instance)||p||t&&(h||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,p);let $={...nY(c,"layout"),onPlay:d,onComplete:f};a.shouldReduceMotion&&($.delay=0,$.type=!1),this.startAnimation($)}else t||0!==this.animationProgress||this.finishAnimation(),this.isLead()&&(null===(u=(l=this.options).onExitComplete)||void 0===u||u.call(l));this.targetLayout=r})}unmount(){var e,t;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),null===(e=this.getStack())||void 0===e||e.remove(this),null===(t=this.parent)||void 0===t||t.children.delete(this),this.instance=void 0,nb.preRender(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){var e;return this.isAnimationBlocked||(null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimationBlocked())||!1}startUpdate(){var e;this.isUpdateBlocked()||(this.isUpdating=!0,null===(e=this.nodes)||void 0===e||e.forEach(oa))}willUpdate(e=!0){var t,n,r;if(this.root.isUpdateBlocked()){null===(n=(t=this.options).onExitComplete)||void 0===n||n.call(t);return}
8if(this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let i=0;i<this.path.length;i++){let o=this.path[i];o.shouldResetTransform=!0,o.updateScroll()}let{layoutId:a,layout:s}=this.options;if(void 0===a&&!s)return;let l=null===(r=this.options.visualElement)||void 0===r?void 0:r.getProps().transformTemplate;this.prevTransformTemplateValue=null==l?void 0:l(this.latestValues,""),this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}didUpdate(){let e=this.isUpdateBlocked();if(e){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(ot);return}this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(of),this.potentialNodes.clear()),this.nodes.forEach(on),this.nodes.forEach(iJ),this.nodes.forEach(iQ),this.clearAllSnapshots(),nx.update(),nx.preRender(),nx.render())}clearAllSnapshots(){this.nodes.forEach(oe),this.sharedNodes.forEach(os)}scheduleUpdateProjection(){n3.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){n3.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){if(this.snapshot||!this.instance)return;let e=this.measure(),t=this.removeTransform(this.removeElementScroll(e));op(t),this.snapshot={measured:e,layout:t,latestValues:{}}}updateLayout(){var e;if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++){let n=this.path[t];n.updateScroll()}let r=this.measure();op(r);let i=this.layout;this.layout={measured:r,actual:this.removeElementScroll(r)},this.layoutCorrected=r9(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.actual),null===(e=this.options.visualElement)||void 0===e||e.notifyLayoutMeasure(this.layout.actual,null==i?void 0:i.actual)}updateScroll(){this.options.layoutScroll&&this.instance&&(this.isScrollRoot=r(this.instance),this.scroll=n(this.instance))}resetTransform(){var e;if(!i)return;let t=this.isLayoutDirty||this.shouldResetTransform,n=this.projectionDelta&&!iB(this.projectionDelta),r=null===(e=this.options.visualElement)||void 0===e?void 0:e.getProps().transformTemplate,o=null==r?void 0:r(this.latestValues,""),a=o!==this.prevTransformTemplateValue;t&&(n||rU(this.latestValues)||a)&&(i(this.instance,o),this.shouldResetTransform=!1,this.scheduleRender())}measure(){let{visualElement:e}=this.options;if(!e)return r9();let t=e.measureViewportBox(),{scroll:n}=this.root;return n&&(rW(t.x,n.x),rW(t.y,n.y)),t}removeElementScroll(e){let t=r9();i9(t,e);for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:o,isScrollRoot:a}=r;if(r!==this.root&&i&&o.layoutScroll){if(a){i9(t,e);let{scroll:s}=this.root;s&&(rW(t.x,-s.x),rW(t.y,-s.y))}rW(t.x,i.x),rW(t.y,i.y)}}return t}applyTransform(e,t=!1){let n=r9();i9(n,e);for(let r=0;r<this.path.length;r++){let i=this.path[r];!t&&i.options.layoutScroll&&i.scroll&&i!==i.root&&rX(n,{x:-i.scroll.x,y:-i.scroll.y}),rU(i.latestValues)&&rX(n,i.latestValues)}return rU(this.latestValues)&&rX(n,this.latestValues),n}removeTransform(e){var t;let n=r9();i9(n,e);for(let r=0;r<this.path.length;r++){let i=this.path[r];if(!i.instance||!rU(i.latestValues))continue;rF(i.latestValues)&&i.updateSnapshot();let o=r9(),a=i.measure();i9(o,a),iU(n,i.latestValues,null===(t=i.snapshot)||void 0===t?void 0:t.layout,o)}return rU(this.latestValues)&&iU(n,this.latestValues),n}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection()}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}resolveTargetDelta(){var e,t,n,r;let{layout:i,layoutId:o}=this.options;this.layout&&(i||o)&&(!this.targetDelta&&!this.relativeTarget&&(this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&this.relativeParent.layout&&(this.relativeTarget=r9(),this.relativeTargetOrigin=r9(),rT(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),i9(this.relativeTarget,this.relativeTargetOrigin))),(this.relativeTarget||this.targetDelta)&&((this.target||(this.target=r9(),this.targetWithTransforms=r9()),this.relativeTarget&&this.relativeTargetOrigin&&(null===(e=this.relativeParent)||void 0===e?void 0:e.target))?(t=this.target,n=this.relativeTarget,r=this.relativeParent.target,rE(t.x,n.x,r.x),rE(t.y,n.y,r.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.actual):i9(this.target,this.layout.actual),rH(this.target,this.targetDelta)):i9(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=r9(),this.relativeTargetOrigin=r9(),rT(this.relativeTargetOrigin,this.target,this.relativeParent.target),i9(this.relativeTarget,this.relativeTargetOrigin)))))}getClosestProjectingParent(){if(!(!this.parent||rU(this.parent.latestValues)))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()}calcProjection(){var e;let{layout:t,layoutId:n}=this.options;if(this.isTreeAnimating=Boolean((null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(t||n))return;let r=this.getLead();i9(this.layoutCorrected,this.layout.actual),function(e,t,n,r=!1){var i,o;let a=n.length;if(!a)return;t.x=t.y=1;let s,l;for(let u=0;u<a;u++)l=(s=n[u]).projectionDelta,(null===(o=null===(i=s.instance)||void 0===i?void 0:i.style)||void 0===o?void 0:o.display)!=="contents"&&(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&rX(e,{x:-s.scroll.x,y:-s.scroll.y}),l&&(t.x*=l.x.scale,t.y*=l.y.scale,rH(e,l)),r&&rU(s.latestValues)&&rX(e,s.latestValues))}(this.layoutCorrected,this.treeScale,this.path,Boolean(this.resumingFrom)||this!==r);let{target:i}=r;if(!i)return;this.projectionDelta||(this.projectionDelta=rV(),this.projectionDeltaWithTransform=rV());let o=this.treeScale.x,a=this.treeScale.y,s=this.projectionTransform;r4(this.projectionDelta,this.layoutCorrected,i,this.latestValues),this.projectionTransform=iG(this.projectionDelta,this.treeScale),(this.projectionTransform!==s||this.treeScale.x!==o||this.treeScale.y!==a)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",i))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){var t,n,r;null===(n=(t=this.options).scheduleRender)||void 0===n||n.call(t),e&&(null===(r=this.getStack())||void 0===r||r.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,t=!1){var n;let r=this.snapshot,i=(null==r?void 0:r.latestValues)||{},o={...this.latestValues},a=rV();this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!t;let s=r9(),l=null==r?void 0:r.isShared,u=1>=((null===(n=this.getStack())||void 0===n?void 0:n.members.length)||0),c=Boolean(l&&!u&&!0===this.options.crossfade&&!this.path.some(oc));this.animationProgress=0,this.mixTargetDelta=t=>{var n,r,d,f,h;let p=t/1e3;ol(a.x,e.x,p),ol(a.y,e.y,p),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&(null===(n=this.relativeParent)||void 0===n?void 0:n.layout)&&(rT(s,this.layout.actual,this.relativeParent.layout.actual),r=this.relativeTarget,d=this.relativeTargetOrigin,f=s,h=p,ou(r.x,d.x,f.x,h),ou(r.y,d.y,f.y,h)),l&&(this.animationValues=o,function(e,t,n,r,i,o){var a,s,l,u;i?(e.opacity=ty(0,null!==(a=n.opacity)&&void 0!==a?a:1,iL(r)),e.opacityExit=ty(null!==(s=t.opacity)&&void 0!==s?s:1,0,ij(r))):o&&(e.opacity=ty(null!==(l=t.opacity)&&void 0!==l?l:1,null!==(u=n.op
8acity)&&void 0!==u?u:1,r));for(let c=0;c<iT;c++){let d=`border${i6[c]}Radius`,f=iz(t,d),h=iz(n,d);if(void 0===f&&void 0===h)continue;f||(f=0),h||(h=0);let p=0===f||0===h||iI(f)===iI(h);p?(e[d]=Math.max(ty(iR(f),iR(h),r),0),(X.test(h)||X.test(f))&&(e[d]+="%")):e[d]=h}(t.rotate||n.rotate)&&(e.rotate=ty(t.rotate||0,n.rotate||0,r))}(o,i,this.latestValues,p,c,u)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=p},this.mixTargetDelta(0)}startAnimation(e){var t,n;this.notifyListeners("animationStart"),null===(t=this.currentAnimation)||void 0===t||t.stop(),this.resumingFrom&&(null===(n=this.resumingFrom.currentAnimation)||void 0===n||n.stop()),this.pendingAnimation&&(nb.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=n3.update(()=>{S.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n={}){let r=O(e)?e:rr(e);return nX("",r,1e3,n),{stop:()=>r.stop(),isAnimating:()=>r.isAnimating()}}(0,1e3,{...e,onUpdate:t=>{var n;this.mixTargetDelta(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:()=>{var t;null===(t=e.onComplete)||void 0===t||t.call(e),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){var e;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),null===(e=this.getStack())||void 0===e||e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){var e;this.currentAnimation&&(null===(e=this.mixTargetDelta)||void 0===e||e.call(this,1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&o$(this.options.animationType,this.layout.actual,r.actual)){n=this.target||r9();let o=rA(this.layout.actual.x);n.x.min=e.target.x.min,n.x.max=n.x.min+o;let a=rA(this.layout.actual.y);n.y.min=e.target.y.min,n.y.max=n.y.min+a}i9(t,n),rX(t,i),r4(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){var n,r,i;this.sharedNodes.has(e)||this.sharedNodes.set(e,new iW);let o=this.sharedNodes.get(e);o.add(t),t.promote({transition:null===(n=t.options.initialPromotionConfig)||void 0===n?void 0:n.transition,preserveFollowOpacity:null===(i=null===(r=t.options.initialPromotionConfig)||void 0===r?void 0:r.shouldPreserveFollowOpacity)||void 0===i?void 0:i.call(r,t)})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){var e;let{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;let{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,n={};for(let r=0;r<iX.length;r++){let i=iX[r],o="rotate"+i;e.getStaticValue(o)&&(t=!0,n[o]=e.getStaticValue(o),e.setStaticValue(o,0))}if(t){for(let a in null==e||e.syncRender(),n)e.setStaticValue(a,n[a]);e.scheduleRender()}}getProjectionStyles(e={}){var t,n,r;let i={};if(!this.instance||this.isSVG)return i;if(!this.isVisible)return{visibility:"hidden"};i.visibility="";let o=null===(t=this.options.visualElement)||void 0===t?void 0:t.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,i.opacity="",i.pointerEvents=e1(e.pointerEvents)||"",i.transform=o?o(this.latestValues,""):"none",i;let a=this.getLead();if(!this.projectionDelta||!this.layout||!a.target){let s={};return this.options.layoutId&&(s.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,s.pointerEvents=e1(e.pointerEvents)||""),this.hasProjected&&!rU(this.latestValues)&&(s.transform=o?o({},""):"none",this.hasProjected=!1),s}let l=a.animationValues||a.latestValues;this.applyTransformsToTarget(),i.transform=iG(this.projectionDeltaWithTransform,this.treeScale,l),o&&(i.transform=o(l,i.transform));let{x:u,y:c}=this.projectionDelta;for(let d in i.transformOrigin=`${100*u.origin}% ${100*c.origin}% 0`,a.animationValues?i.opacity=a===this?null!==(r=null!==(n=l.opacity)&&void 0!==n?n:this.latestValues.opacity)&&void 0!==r?r:1:this.preserveOpacity?this.latestValues.opacity:l.opacityExit:i.opacity=a===this?void 0!==l.opacity?l.opacity:"":void 0!==l.opacityExit?l.opacityExit:0,z){if(void 0===l[d])continue;
8let{correct:f,applyTo:h}=z[d],p=f(l[d],a);if(h){let $=h.length;for(let m=0;m<$;m++)i[h[m]]=p}else i[d]=p}return this.options.layoutId&&(i.pointerEvents=a===this?e1(e.pointerEvents)||"":"none"),i}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(ot),this.root.sharedNodes.clear()}}}function iJ(e){e.updateLayout()}function iQ(e){var t,n,r;let i=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&i&&e.hasListeners("didUpdate")){let{actual:o,measured:a}=e.layout,{animationType:s}=e.options;"size"===s?rM(e=>{let t=i.isShared?i.measured[e]:i.layout[e],n=rA(t);t.min=o[e].min,t.max=t.min+n}):o$(s,i.layout,o)&&rM(e=>{let t=i.isShared?i.measured[e]:i.layout[e],n=rA(o[e]);t.max=t.min+n});let l=rV();r4(l,o,i.layout);let u=rV();i.isShared?r4(u,e.applyTransform(a,!0),i.measured):r4(u,o,i.layout);let c=!iB(l),d=!1;if(!e.resumeFrom&&(e.relativeParent=e.getClosestProjectingParent(),e.relativeParent&&!e.relativeParent.resumeFrom)){let{snapshot:f,layout:h}=e.relativeParent;if(f&&h){let p=r9();rT(p,i.layout,f.layout);let $=r9();rT($,o,h.actual),iZ(p,$)||(d=!0)}}e.notifyListeners("didUpdate",{layout:o,snapshot:i,delta:u,layoutDelta:l,hasLayoutChanged:c,hasRelativeTargetChanged:d})}else e.isLead()&&(null===(r=(n=e.options).onExitComplete)||void 0===r||r.call(n));e.options.transition=void 0}function oe(e){e.clearSnapshot()}function ot(e){e.clearMeasurements()}function on(e){let{visualElement:t}=e.options;(null==t?void 0:t.getProps().onBeforeLayoutMeasure)&&t.notifyBeforeLayoutMeasure(),e.resetTransform()}function or(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function oi(e){e.resolveTargetDelta()}function oo(e){e.calcProjection()}function oa(e){e.resetRotation()}function os(e){e.removeLeadSnapshot()}function ol(e,t,n){e.translate=ty(t.translate,0,n),e.scale=ty(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function ou(e,t,n,r){e.min=ty(t.min,n.min,r),e.max=ty(t.max,n.max,r)}function oc(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let od={duration:.45,ease:[.4,0,.1,1]};function of(e,t){let n=e.root;for(let r=e.path.length-1;r>=0;r--)if(Boolean(e.path[r].instance)){n=e.path[r];break}let i=n&&n!==e.root?n.instance:document,o=i.querySelector(`[data-
8projection-id="${t}"]`);o&&e.mount(o,!0)}function oh(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function op(e){oh(e.x),oh(e.y)}function o$(e,t,n){return"position"===e||"preserve-aspect"===e&&!function(e,t,n=.01){return rS(e,t)<=n}(iH(t),iH(n))}let om=iK({attachResizeListener:(e,t)=>e5(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),og={current:void 0},ov=iK({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent(){if(!og.current){let e=new om(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),og.current=e}return og.current},resetTransform(e,t){e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),o_={...rx,...ta,...it,measureLayout:function(e){let[t,n]=ts(),r=(0,l.useContext)(A);return l.createElement(i4,{...e,layoutGroup:r,switchLayoutGroup:(0,l.useContext)(E),isPresent:t,safeToRemove:n})}},oy=function(e){function t(t,n={}){return function({preloadedFeatures:e,createVisualElement:t,projectionNodeConstructor:n,useRender:r,useVisualState:i,Component:o}){e&&function(e){for(let t in e)"projectionNodeConstructor"===t?w.projectionNodeConstructor=e[t]:w[t].Component=e[t]}(e);let a=(0,l.forwardRef)(function(a,s){var g,v,y;let x={...(0,l.useContext)(u),...a,layoutId:function({layoutId:e}){let t=(0,l.useContext)(A).id;return t&&void 0!==e?t+"-"+e:e}(a)},{isStatic:T}=x,R=null,I=function(e){let{initial:t,animate:n}=function(e,t){if(_(e)){let{initial:n,animate:r}=e;return{initial:!1===n||m(n)?n:void 0,animate:m(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,l.useContext)(c));return(0,l.useMemo)(()=>({initial:t,animate:n}),[b(t),b(n)])}(a),z=T?void 0:k(()=>{if(S.hasEverUpdated)return C++}),L=i(a,T);if(!T&&f){I.visualElement=function(e,t,n,r){let i=(0,l.useContext)(c).visualElement,o=(0,l.useContext)(p),a=(0,l.useContext)(d),s=(0,l.useContext)(u).reducedMotion,f=(0,l.useRef)(void 0);r=r||o.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:i,props:n,presenceId:a?a.id:void 0,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:s}));let $=f.current;return h(()=>{$&&$.syncRender()}),(0,l.useEffect)(()=>{$&&$.animationState&&$.animationState.animateChanges()}),h(()=>()=>$&&$.notifyUnmount(),[]),$}(o,L,x,t);let j=(0,l.useContext)(p).strict,V=(0,l.useContext)(E);I.visualElement&&(R=I.visualElement.loadFeatures(a,j,e,z,n||w.projectionNodeConstructor,V))}return l.createElement(P,{visualElement:I.visualElement,props:x},R,l.createElement(c.Provider,{value:I},r(o,a,z,(g=L,v=I.visualElement,y=s,(0,l.useCallback)(e=>{e&&g.mount&&g.mount(e),v&&(e?v.mount(e):v.unmount()),y&&("function"==typeof y?y(e):$(y)&&(y.current=e))},[v])),L,T,I.visualElement)))});return a[T]=o,a}(e(t,n))}if("undefined"==typeof Proxy)return t;let n=new Map;return new Proxy(t,{get:(e,r)=>(n.has(r)||n.set(r,t(r)),n.get(r))})}((e,t)=>(function(e,{forwardMotionProps:t=!1},n,r,i){let o=I(e)?eA:eP;return{...o,preloadedFeatures:n,useRender:function(e=!1){let t=(t,n,r,i,{latestValues:o},a)=>{let s=I(t)?e_:eu,u=s(n,o,a),c=function(e,t,n){let r={};for(let i in e)(ef(i)||!0===n&&ed(i)||!t&&!ed(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}(n,"string"==typeof t,e),d={...c,...u,ref:i};return r&&(d["data-projection-id"]=r),(0,l.createElement)(t,d)};return t}(t),createVisualElement:r,projectionNodeConstructor:i,Component:e}})(e,t,o_,i7,ov))}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[774,179],function(){return t(1118),t(387)}),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.