/*! For license information please see commons-c68edf4196b409e09c27.js.LICENSE.txt */
(self.webpackChunkgatsby_wp_template=self.webpackChunkgatsby_wp_template||[]).push([[351],{75264:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=function(t){var e={};return function(n){return void 0===e[n]&&(e[n]=t(n)),e[n]}}((function(t){return r.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91}))},77270:function(t,e,n){"use strict";n.d(e,{C:function(){return r}});var r=function(t){return Array.isArray(t)}},3647:function(t,e,n){"use strict";n.d(e,{ev:function(){return Ct},b8:function(){return Tt}});var r=n(79900),i=n(12677),o=n(14638),a=.001;function s(t){var e,n,r=t.duration,s=void 0===r?800:r,l=t.bounce,c=void 0===l?.25:l,f=t.velocity,d=void 0===f?0:f,p=t.mass,v=void 0===p?1:p;(0,i.K)(s<=1e4,"Spring duration must be 10 seconds or less");var m=1-c;m=(0,o.u)(.05,1,m),s=(0,o.u)(.01,10,s/1e3),m<1?(e=function(t){var e=t*m,n=e*s,r=e-d,i=u(t,m),o=Math.exp(-n);return a-r/i*o},n=function(t){var n=t*m*s,r=n*d+d,i=Math.pow(m,2)*Math.pow(t,2)*s,o=Math.exp(-n),l=u(Math.pow(t,2),m);return(-e(t)+a>0?-1:1)*((r-i)*o)/l}):(e=function(t){return Math.exp(-t*s)*((t-d)*s+1)-.001},n=function(t){return Math.exp(-t*s)*(s*s*(d-t))});var h=function(t,e,n){for(var r=n,i=1;i<12;i++)r-=t(r)/e(r);return r}(e,n,5/s);if(s*=1e3,isNaN(h))return{stiffness:100,damping:10,duration:s};var g=Math.pow(h,2)*v;return{stiffness:g,damping:2*m*Math.sqrt(v*g),duration:s}}function u(t,e){return t*Math.sqrt(1-e*e)}var l=["duration","bounce"],c=["stiffness","damping","mass"];function f(t,e){return e.some((function(e){return void 0!==t[e]}))}function d(t){var e=t.from,n=void 0===e?0:e,i=t.to,o=void 0===i?1:i,a=t.restSpeed,d=void 0===a?2:a,v=t.restDelta,m=(0,r._T)(t,["from","to","restSpeed","restDelta"]),h={done:!1,value:n},g=function(t){var e=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},t);if(!f(t,c)&&f(t,l)){var n=s(t);(e=Object.assign(Object.assign(Object.assign({},e),n),{velocity:0,mass:1})).isResolvedFromDuration=!0}return e}(m),y=g.stiffness,b=g.damping,x=g.mass,w=g.velocity,E=g.duration,C=g.isResolvedFromDuration,T=p,S=p;function k(){var t=w?-w/1e3:0,e=o-n,r=b/(2*Math.sqrt(y*x)),i=Math.sqrt(y/x)/1e3;if(void 0===v&&(v=Math.min(Math.abs(o-n)/100,.4)),r<1){var a=u(i,r);T=function(n){var s=Math.exp(-r*i*n);return o-s*((t+r*i*e)/a*Math.sin(a*n)+e*Math.cos(a*n))},S=function(n){var o=Math.exp(-r*i*n);return r*i*o*(Math.sin(a*n)*(t+r*i*e)/a+e*Math.cos(a*n))-o*(Math.cos(a*n)*(t+r*i*e)-a*e*Math.sin(a*n))}}else if(1===r)T=function(n){return o-Math.exp(-i*n)*(e+(t+i*e)*n)};else{var s=i*Math.sqrt(r*r-1);T=function(n){var a=Math.exp(-r*i*n),u=Math.min(s*n,300);return o-a*((t+r*i*e)*Math.sinh(u)+s*e*Math.cosh(u))/s}}}return k(),{next:function(t){var e=T(t);if(C)h.done=t>=E;else{var n=1e3*S(t),r=Math.abs(n)<=d,i=Math.abs(o-e)<=v;h.done=r&&i}return h.value=h.done?o:e,h},flipTarget:function(){w=-w;var t=[o,n];n=t[0],o=t[1],k()}}}d.needsInterpolation=function(t,e){return"string"==typeof t||"string"==typeof e};var p=function(t){return 0},v=n(70885),m=n(26194),h=n(83628),g=n(45676),y=n(95900),b=n(77664);function x(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function w(t){var e=t.hue,n=t.saturation,r=t.lightness,i=t.alpha;e/=360,r/=100;var o=0,a=0,s=0;if(n/=100){var u=r<.5?r*(1+n):r+n-r*n,l=2*r-u;o=x(l,u,e+1/3),a=x(l,u,e),s=x(l,u,e-1/3)}else o=a=s=r;return{red:Math.round(255*o),green:Math.round(255*a),blue:Math.round(255*s),alpha:i}}var E=function(t,e,n){var r=t*t,i=e*e;return Math.sqrt(Math.max(0,n*(i-r)+r))},C=[g.$,y.m,b.J],T=function(t){return C.find((function(e){return e.test(t)}))},S=function(t){return"'".concat(t,"' is not an animatable color. Use the equivalent color code instead.")},k=function(t,e){var n=T(t),r=T(e);(0,i.k)(!!n,S(t)),(0,i.k)(!!r,S(e));var o=n.parse(t),a=r.parse(e);n===b.J&&(o=w(o),n=y.m),r===b.J&&(a=w(a),r=y.m);var s=Object.assign({},o);return function(t){for(var e in s)"alpha"!==e&&(s[e]=E(o[e],a[e],t));return s.alpha=(0,h.C)(o.alpha,a.alpha,t),n.transform(s)}},P=n(42982),L=n(85471),A=n(42195),O=n(41934),M=n(23907);function R(t,e){return(0,O.e)(t)?function(n){return(0,h.C)(t,e,n)}:L.$.test(t)?k(t,e):I(t,e)}var j=function(t,e){var n=(0,P.Z)(t),r=n.length,i=t.map((function(t,n){return R(t,e[n])}));return function(t){for(var e=0;e<r;e++)n[e]=i[e](t);return n}},V=function(t,e){var n=Object.assign(Object.assign({},t),e),r={};for(var i in n)void 0!==t[i]&&void 0!==e[i]&&(r[i]=R(t[i],e[i]));return function(t){for(var e in r)n[e]=r[e](t);return n}};function N(t){for(var e=A.P.parse(t),n=e.length,r=0,i=0,o=0,a=0;a<n;a++)r||"number"==typeof e[a]?r++:void 0!==e[a].hue?o++:i++;return{parsed:e,numNumbers:r,numRGB:i,numHSL:o}}var I=function(t,e){var n=A.P.createTransformer(e),r=N(t),o=N(e);return r.numHSL===o.numHSL&&r.numRGB===o.numRGB&&r.numNumbers>=o.numNumbers?(0,M.z)(j(r.parsed,o.parsed),n):((0,i.K)(!0,"Complex values '".concat(t,"' and '").concat(e,"' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.")),function(n){return"".concat(n>0?e:t)})},D=function(t,e){return function(n){return(0,h.C)(t,e,n)}};function F(t,e,n){for(var r,i=[],o=n||("number"==typeof(r=t[0])?D:"string"==typeof r?L.$.test(r)?k:I:Array.isArray(r)?j:"object"==typeof r?V:void 0),a=t.length-1,s=0;s<a;s++){var u=o(t[s],t[s+1]);if(e){var l=Array.isArray(e)?e[s]:e;u=(0,M.z)(l,u)}i.push(u)}return i}function H(t,e){var n=(0,v.Z)(t,2),r=n[0],i=n[1],o=(0,v.Z)(e,1)[0];return function(t){return o((0,m.Y)(r,i,t))}}function B(t,e){var n=t.length,r=n-1;return function(i){var o=0,a=!1;if(i<=t[0]?a=!0:i>=t[r]&&(o=r-1,a=!0),!a){for(var s=1;s<n&&!(t[s]>i||s===r);s++);o=s-1}var u=(0,m.Y)(t[o],t[o+1],i);return e[o](u)}}function z(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.clamp,a=void 0===r||r,s=n.ease,u=n.mixer,l=t.length;(0,i.k)(l===e.length,"Both input and output ranges must be the same length"),(0,i.k)(!s||!Array.isArray(s)||s.length===l-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),t[0]>t[l-1]&&(t=[].concat(t),e=[].concat(e),t.reverse(),e.reverse());var c=F(e,s,u),f=2===l?H(t,c):B(t,c);return a?function(e){return f((0,o.u)(t[0],t[l-1],e))}:f}var Z=n(85985);function U(t,e){return t.map((function(){return e||Z.mZ})).splice(0,t.length-1)}function _(t){var e=t.from,n=void 0===e?0:e,r=t.to,i=void 0===r?1:r,o=t.ease,a=t.offset,s=t.duration,u=void 0===s?300:s,l={done:!1,value:n},c=Array.isArray(i)?i:[n,i],f=function(t,e){return t.map((function(t){return t*e}))}(a&&a.length===c.length?a:function(t){var e=t.length;return t.map((function(t,n){return 0!==n?n/(e-1):0}))}(c),u);function d(){return z(f,c,{ease:Array.isArray(o)?o:U(c,o)})}var p=d();return{next:function(t){return l.value=p(t),l.done=t>=u,l},flipTarget:function(){c.reverse(),p=d()}}}var W={keyframes:_,spring:d,decay:function(t){var e=t.velocity,n=void 0===e?0:e,r=t.from,i=void 0===r?0:r,o=t.power,a=void 0===o?.8:o,s=t.timeConstant,u=void 0===s?350:s,l=t.restDelta,c=void 0===l?.5:l,f=t.modifyTarget,d={done:!1,value:i},p=a*n,v=i+p,m=void 0===f?v:f(v);return m!==v&&(p=m-i),{next:function(t){var e=-p*Math.exp(-t/u);return d.done=!(e>c||e<-c),d.value=d.done?m:m+e,d},flipTarget:function(){}}}};var Y=n(78614);function G(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return t-e-n}var q=function(t){var e=function(e){var n=e.delta;return t(n)};return{start:function(){return Y.ZP.update(e,!0)},stop:function(){return Y.qY.update(e)}}};function $(t){var e,n,i,o,a,s=t.from,u=t.autoplay,l=void 0===u||u,c=t.driver,f=void 0===c?q:c,p=t.elapsed,v=void 0===p?0:p,m=t.repeat,h=void 0===m?0:m,g=t.repeatType,y=void 0===g?"loop":g,b=t.repeatDelay,x=void 0===b?0:b,w=t.onPlay,E=t.onStop,C=t.onComplete,T=t.onRepeat,S=t.onUpdate,k=(0,r._T)(t,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]),P=k.to,L=0,A=k.duration,O=!1,M=!0,R=function(t){if(Array.isArray(t.to))return _;if(W[t.type])return W[t.type];var e=new Set(Object.keys(t));return e.has("ease")||e.has("duration")&&!e.has("dampingRatio")?_:e.has("dampingRatio")||e.has("stiffness")||e.has("mass")||e.has("damping")||e.has("restSpeed")||e.has("restDelta")?d:_}(k);(null===(n=(e=R).needsInterpolation)||void 0===n?void 0:n.call(e,s,P))&&(a=z([0,100],[s,P],{clamp:!1}),s=0,P=100);var j=R(Object.assign(Object.assign({},k),{from:s,to:P}));function V(){L++,"reverse"===y?v=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return arguments.length>3&&void 0!==arguments[3]&&!arguments[3]?e-(t-e)+n:G(e+-t,e,n)}(v,A,x,M=L%2==0):(v=G(v,A,x),"mirror"===y&&j.flipTarget()),O=!1,T&&T()}function N(t){if(M||(t=-t),v+=t,!O){var e=j.next(Math.max(0,v));o=e.value,a&&(o=a(o)),O=M?e.done:v<=0}null==S||S(o),O&&(0===L&&(null!=A||(A=v)),L<h?function(t,e,n,r){return r?t>=e+n:t<=-n}(v,A,x,M)&&V():(i.stop(),C&&C()))}return l&&(null==w||w(),(i=f(N)).start()),{stop:function(){null==E||E(),i.stop()}}}var X=n(62461);var K=n(36012),Q=function(t,e){return 1-3*e+3*t},J=function(t,e){return 3*e-6*t},tt=function(t){return 3*t},et=function(t,e,n){return((Q(e,n)*t+J(e,n))*t+tt(e))*t},nt=function(t,e,n){return 3*Q(e,n)*t*t+2*J(e,n)*t+tt(e)};var rt=.1;function it(t,e,n,r){if(t===e&&n===r)return Z.GE;for(var i=new Float32Array(11),o=0;o<11;++o)i[o]=et(o*rt,t,n);function a(e){for(var r=0,o=1;10!==o&&i[o]<=e;++o)r+=rt;--o;var a=r+(e-i[o])/(i[o+1]-i[o])*rt,s=nt(a,t,n);return s>=.001?function(t,e,n,r){for(var i=0;i<8;++i){var o=nt(e,n,r);if(0===o)return e;e-=(et(e,n,r)-t)/o}return e}(e,a,t,n):0===s?a:function(t,e,n,r,i){var o,a,s=0;do{(o=et(a=e+(n-e)/2,r,i)-t)>0?n=a:e=a}while(Math.abs(o)>1e-7&&++s<10);return a}(e,r,r+rt,t,n)}return function(t){return 0===t||1===t?t:et(a(t),e,r)}}var ot={linear:Z.GE,easeIn:Z.YQ,easeInOut:Z.mZ,easeOut:Z.Vv,circIn:Z.Z7,circInOut:Z.X7,circOut:Z.Bn,backIn:Z.G2,backInOut:Z.XL,backOut:Z.CG,anticipate:Z.LU,bounceIn:Z.h9,bounceInOut:Z.yD,bounceOut:Z.gJ},at=function(t){if(Array.isArray(t)){(0,i.k)(4===t.length,"Cubic bezier arrays must contain four numerical values.");var e=(0,r.CR)(t,4);return it(e[0],e[1],e[2],e[3])}return"string"==typeof t?((0,i.k)(void 0!==ot[t],"Invalid easing type '".concat(t,"'")),ot[t]):t},st=function(t,e){return"zIndex"!==t&&(!("number"!=typeof e&&!Array.isArray(e))||!("string"!=typeof e||!A.P.test(e)||e.startsWith("url(")))},ut=n(77270),lt=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},ct=function(t){return{type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}},ft=function(){return{type:"keyframes",ease:"linear",duration:.3}},dt=function(t){return{type:"keyframes",duration:.8,values:t}},pt={x:lt,y:lt,z:lt,rotate:lt,rotateX:lt,rotateY:lt,rotateZ:lt,scaleX:ct,scaleY:ct,scale:ct,opacity:ft,backgroundColor:ft,color:ft,default:ct},vt=n(45581),mt=!1,ht=n(16325);var gt=!1;function yt(t){var e=t.ease,n=t.times,o=t.yoyo,a=t.flip,s=t.loop,u=(0,r._T)(t,["ease","times","yoyo","flip","loop"]),l=(0,r.pi)({},u);return n&&(l.offset=n),u.duration&&(l.duration=(0,K.w)(u.duration)),u.repeatDelay&&(l.repeatDelay=(0,K.w)(u.repeatDelay)),e&&(l.ease=function(t){return Array.isArray(t)&&"number"!=typeof t[0]}(e)?e.map(at):at(e)),"tween"===u.type&&(l.type="keyframes"),(o||s||a)&&((0,i.K)(!gt,"yoyo, loop and flip have been removed from the API. Replace with repeat and repeatType options."),gt=!0,o?l.repeatType="reverse":s?l.repeatType="loop":a&&(l.repeatType="mirror"),l.repeat=s||o||a||u.repeat),"spring"!==u.type&&(l.type="keyframes"),l}function bt(t,e,n){var i,o,a,s;return Array.isArray(e.to)&&(null!==(i=t.duration)&&void 0!==i||(t.duration=.8)),function(t){Array.isArray(t.to)&&null===t.to[0]&&(t.to=(0,r.ev)([],(0,r.CR)(t.to),!1),t.to[0]=t.from)}(e),function(t){t.when,t.delay,t.delayChildren,t.staggerChildren,t.staggerDirection,t.repeat,t.repeatType,t.repeatDelay,t.from;var e=(0,r._T)(t,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(e).length}(t)||(t=(0,r.pi)((0,r.pi)({},t),(o=n,a=e.to,s=(0,ut.C)(a)?dt:pt[o]||pt.default,(0,r.pi)({to:a},s(a))))),(0,r.pi)((0,r.pi)({},e),yt(t))}function xt(t,e,n,o,a){var s,u=Ct(o,t),l=null!==(s=u.from)&&void 0!==s?s:e.get(),c=st(t,n);"none"===l&&c&&"string"==typeof n?l=(0,vt.T)(t,n):wt(l)&&"string"==typeof n?l=Et(n):!Array.isArray(n)&&wt(n)&&"string"==typeof l&&(n=Et(l));var f=st(t,l);return(0,i.K)(f===c,"You are trying to animate ".concat(t,' from "').concat(l,'" to "').concat(n,'". ').concat(l," is not an animatable value - to enable this animation set ").concat(l," to a value animatable to ").concat(n," via the `style` property.")),f&&c&&!1!==u.type?function(){var i={from:l,to:n,velocity:e.getVelocity(),onComplete:a,onUpdate:function(t){return e.set(t)}};return"inertia"===u.type||"decay"===u.type?function(t){var e,n=t.from,r=void 0===n?0:n,i=t.velocity,o=void 0===i?0:i,a=t.min,s=t.max,u=t.power,l=void 0===u?.8:u,c=t.timeConstant,f=void 0===c?750:c,d=t.bounceStiffness,p=void 0===d?500:d,v=t.bounceDamping,m=void 0===v?10:v,h=t.restDelta,g=void 0===h?1:h,y=t.modifyTarget,b=t.driver,x=t.onUpdate,w=t.onComplete,E=t.onStop;function C(t){return void 0!==a&&t<a||void 0!==s&&t>s}function T(t){return void 0===a?s:void 0===s||Math.abs(a-t)<Math.abs(s-t)?a:s}function S(t){null==e||e.stop(),e=$(Object.assign(Object.assign({},t),{driver:b,onUpdate:function(e){var n;null==x||x(e),null===(n=t.onUpdate)||void 0===n||n.call(t,e)},onComplete:w,onStop:E}))}function k(t){S(Object.assign({type:"spring",stiffness:p,damping:m,restDelta:g},t))}if(C(r))k({from:r,velocity:o,to:T(r)});else{var P=l*o+r;void 0!==y&&(P=y(P));var L,A,O=T(P),M=O===a?-1:1;S({type:"decay",from:r,velocity:o,timeConstant:f,power:l,restDelta:g,modifyTarget:y,onUpdate:C(P)?function(t){L=A,A=t,o=(0,X.R)(t-L,(0,Y.$B)().delta),(1===M&&t>O||-1===M&&t<O)&&k({from:t,to:O,velocity:o})}:void 0})}return{stop:function(){return null==e?void 0:e.stop()}}}((0,r.pi)((0,r.pi)({},i),u)):$((0,r.pi)((0,r.pi)({},bt(u,i,t)),{onUpdate:function(t){var e;i.onUpdate(t),null===(e=u.onUpdate)||void 0===e||e.call(u,t)},onComplete:function(){var t;i.onComplete(),null===(t=u.onComplete)||void 0===t||t.call(u)}}))}:function(){var t,r,i=(0,ht.Y)(n);return e.set(i),a(),null===(t=null==u?void 0:u.onUpdate)||void 0===t||t.call(u,i),null===(r=null==u?void 0:u.onComplete)||void 0===r||r.call(u),{stop:function(){}}}}function wt(t){return 0===t||"string"==typeof t&&0===parseFloat(t)&&-1===t.indexOf(" ")}function Et(t){return"number"==typeof t?0:(0,vt.T)("",t)}function Ct(t,e){return t[e]||t.default||t}function Tt(t,e,n,r){return void 0===r&&(r={}),mt&&(r={type:!1}),e.start((function(i){var o,a,s=xt(t,e,n,r,i),u=function(t,e){var n,r;return null!==(r=null!==(n=(Ct(t,e)||{}).delay)&&void 0!==n?n:t.delay)&&void 0!==r?r:0}(r,t),l=function(){return a=s()};return u?o=window.setTimeout(l,(0,K.w)(u)):l(),function(){clearTimeout(o),null==a||a.stop()}}))}},96620:function(t,e,n){"use strict";n.d(e,{M:function(){return h}});var r=n(79900),i=n(67294),o=n(78614),a=n(31e3);function s(){var t=(0,i.useRef)(!1);return(0,a.L)((function(){return t.current=!0,function(){t.current=!1}}),[]),t}var u=n(25749),l=n(81751),c=n(45198),f=function(t){var e=t.children,n=t.initial,o=t.isPresent,a=t.onExitComplete,s=t.custom,f=t.presenceAffectsLayout,p=(0,l.h)(d),v=(0,c.M)(),m=(0,i.useMemo)((function(){return{id:v,initial:n,isPresent:o,custom:s,onExitComplete:function(t){var e,n;p.set(t,!0);try{for(var i=(0,r.XA)(p.values()),o=i.next();!o.done;o=i.next()){if(!o.value)return}}catch(s){e={error:s}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}null==a||a()},register:function(t){return p.set(t,!1),function(){return p.delete(t)}}}}),f?void 0:[o]);return(0,i.useMemo)((function(){p.forEach((function(t,e){return p.set(e,!1)}))}),[o]),i.useEffect((function(){!o&&!p.size&&(null==a||a())}),[o]),i.createElement(u.O.Provider,{value:m},e)};function d(){return new Map}var p=n(26456),v=n(30296),m=function(t){return t.key||""};var h=function(t){var e=t.children,n=t.custom,u=t.initial,l=void 0===u||u,c=t.onExitComplete,d=t.exitBeforeEnter,h=t.presenceAffectsLayout,g=void 0===h||h,y=(0,r.CR)(function(){var t=s(),e=(0,r.CR)((0,i.useState)(0),2),n=e[0],a=e[1],u=(0,i.useCallback)((function(){t.current&&a(n+1)}),[n]);return[(0,i.useCallback)((function(){return o.ZP.postRender(u)}),[u]),n]}(),1),b=y[0],x=(0,i.useContext)(p.p).forceRender;x&&(b=x);var w=s(),E=function(t){var e=[];return i.Children.forEach(t,(function(t){(0,i.isValidElement)(t)&&e.push(t)})),e}(e),C=E,T=new Set,S=(0,i.useRef)(C),k=(0,i.useRef)(new Map).current,P=(0,i.useRef)(!0);if((0,a.L)((function(){P.current=!1,function(t,e){t.forEach((function(t){var n=m(t);e.set(n,t)}))}(E,k),S.current=C})),(0,v.z)((function(){P.current=!0,k.clear(),T.clear()})),P.current)return i.createElement(i.Fragment,null,C.map((function(t){return i.createElement(f,{key:m(t),isPresent:!0,initial:!!l&&void 0,presenceAffectsLayout:g},t)})));C=(0,r.ev)([],(0,r.CR)(C),!1);for(var L=S.current.map(m),A=E.map(m),O=L.length,M=0;M<O;M++){var R=L[M];-1===A.indexOf(R)&&T.add(R)}return d&&T.size&&(C=[]),T.forEach((function(t){if(-1===A.indexOf(t)){var e=k.get(t);if(e){var r=L.indexOf(t);C.splice(r,0,i.createElement(f,{key:m(e),isPresent:!1,onExitComplete:function(){k.delete(t),T.delete(t);var e=S.current.findIndex((function(e){return e.key===t}));if(S.current.splice(e,1),!T.size){if(S.current=E,!1===w.current)return;b(),c&&c()}},custom:n,presenceAffectsLayout:g},e))}}})),C=C.map((function(t){var e=t.key;return T.has(e)?t:i.createElement(f,{key:m(t),isPresent:!0,presenceAffectsLayout:g},t)})),i.createElement(i.Fragment,null,T.size?C:C.map((function(t){return(0,i.cloneElement)(t)})))}},26456:function(t,e,n){"use strict";n.d(e,{p:function(){return r}});var r=(0,n(67294).createContext)({})},25749:function(t,e,n){"use strict";n.d(e,{O:function(){return r}});var r=(0,n(67294).createContext)(null)},7006:function(t,e,n){"use strict";n.d(e,{E:function(){return Fr}});var r=n(79900),i=n(67294),o=function(t){return{isEnabled:function(e){return t.some((function(t){return!!e[t]}))}}},a={measureLayout:o(["layout","layoutId","drag"]),animation:o(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:o(["exit"]),drag:o(["drag","dragControls"]),focus:o(["whileFocus"]),hover:o(["whileHover","onHoverStart","onHoverEnd"]),tap:o(["whileTap","onTap","onTapStart","onTapCancel"]),pan:o(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:o(["whileInView","onViewportEnter","onViewportLeave"])};var s=(0,i.createContext)({strict:!1}),u=Object.keys(a),l=u.length;var c=(0,i.createContext)({transformPagePoint:function(t){return t},isStatic:!1,reducedMotion:"never"}),f=(0,i.createContext)({});var d=n(25749),p=n(31e3),v=n(27037),m={current:null},h=!1;function g(){return!h&&function(){if(h=!0,v.j)if(window.matchMedia){var t=window.matchMedia("(prefers-reduced-motion)"),e=function(){return m.current=t.matches};t.addListener(e),e()}else m.current=!1}(),(0,r.CR)((0,i.useState)(m.current),1)[0]}function y(t,e,n,r){var o,a,u=(0,i.useContext)(s),l=(0,i.useContext)(f).visualElement,v=(0,i.useContext)(d.O),m=(o=g(),"never"!==(a=(0,i.useContext)(c).reducedMotion)&&("always"===a||o)),h=(0,i.useRef)(void 0);r||(r=u.renderer),!h.current&&r&&(h.current=r(t,{visualState:e,parent:l,props:n,presenceId:null==v?void 0:v.id,blockInitialAnimation:!1===(null==v?void 0:v.initial),shouldReduceMotion:m}));var y=h.current;return(0,p.L)((function(){null==y||y.syncRender()})),(0,i.useEffect)((function(){var t;null===(t=null==y?void 0:y.animationState)||void 0===t||t.animateChanges()})),(0,p.L)((function(){return function(){return null==y?void 0:y.notifyUnmount()}}),[]),y}function b(t){return"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}var x=n(42435);function w(t){var e=function(t,e){if((0,x.O6)(t)){var n=t.initial,r=t.animate;return{initial:!1===n||(0,x.$L)(n)?n:void 0,animate:(0,x.$L)(r)?r:void 0}}return!1!==t.inherit?e:{}}(t,(0,i.useContext)(f)),n=e.initial,r=e.animate;return(0,i.useMemo)((function(){return{initial:n,animate:r}}),[E(n),E(r)])}function E(t){return Array.isArray(t)?t.join(" "):t}var C=n(81751),T=n(78614),S=n(83628),k=n(27442),P=function(t){return Boolean(null!==t&&"object"==typeof t&&t.getVelocity)},L=n(3647);var A=n(883),O=n(85985),M=n(26194),R=n(28004),j=["TopLeft","TopRight","BottomLeft","BottomRight"],V=j.length,N=function(t){return"string"==typeof t?parseFloat(t):t},I=function(t){return"number"==typeof t||R.px.test(t)};function D(t,e){var n;return null!==(n=t[e])&&void 0!==n?n:t.borderRadius}var F=B(0,.5,O.Bn),H=B(.5,.95,O.GE);function B(t,e,n){return function(r){return r<t?0:r>e?1:n((0,M.Y)(t,e,r))}}function z(t,e){t.min=e.min,t.max=e.max}function Z(t,e){z(t.x,e.x),z(t.y,e.y)}function U(t){return void 0===t||1===t}function _(t){var e=t.scale,n=t.scaleX,r=t.scaleY;return!U(e)||!U(n)||!U(r)}function W(t){return _(t)||Y(t.x)||Y(t.y)||t.z||t.rotate||t.rotateX||t.rotateY}function Y(t){return t&&"0%"!==t}function G(t,e,n){return n+e*(t-n)}function q(t,e,n,r,i){return void 0!==i&&(t=G(t,i,r)),G(t,n,r)+e}function $(t,e,n,r,i){void 0===e&&(e=0),void 0===n&&(n=1),t.min=q(t.min,e,n,r,i),t.max=q(t.max,e,n,r,i)}function X(t,e){var n=e.x,r=e.y;$(t.x,n.translate,n.scale,n.originPoint),$(t.y,r.translate,r.scale,r.originPoint)}function K(t,e){t.min=t.min+e,t.max=t.max+e}function Q(t,e,n){var i=(0,r.CR)(n,3),o=i[0],a=i[1],s=i[2],u=void 0!==e[s]?e[s]:.5,l=(0,S.C)(t.min,t.max,u);$(t,e[o],e[a],l,e.scale)}var J=["x","scaleX","originX"],tt=["y","scaleY","originY"];function et(t,e){Q(t.x,e,J),Q(t.y,e,tt)}var nt=function(t){return t.hasOwnProperty("x")&&t.hasOwnProperty("y")},rt=function(t){return nt(t)&&t.hasOwnProperty("z")},it=n(41934),ot=function(t,e){return Math.abs(t-e)};function at(t,e){if((0,it.e)(t)&&(0,it.e)(e))return ot(t,e);if(nt(t)&&nt(e)){var n=ot(t.x,e.x),r=ot(t.y,e.y),i=rt(t)&&rt(e)?ot(t.z,e.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(i,2))}}function st(t){return t.max-t.min}function ut(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=.01),at(t,e)<n}function lt(t,e,n,r){void 0===r&&(r=.5),t.origin=r,t.originPoint=(0,S.C)(e.min,e.max,t.origin),t.scale=st(n)/st(e),(ut(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=(0,S.C)(n.min,n.max,t.origin)-t.originPoint,(ut(t.translate)||isNaN(t.translate))&&(t.translate=0)}function ct(t,e,n,r){lt(t.x,e.x,n.x,null==r?void 0:r.originX),lt(t.y,e.y,n.y,null==r?void 0:r.originY)}function ft(t,e,n){t.min=n.min+e.min,t.max=t.min+st(e)}function dt(t,e,n){t.min=e.min-n.min,t.max=t.min+st(e)}function pt(t,e,n){dt(t.x,e.x,n.x),dt(t.y,e.y,n.y)}function vt(t,e,n,r,i){return t=G(t-=e,1/n,r),void 0!==i&&(t=G(t,1/i,r)),t}function mt(t,e,n,i,o){var a=(0,r.CR)(n,3),s=a[0],u=a[1],l=a[2];!function(t,e,n,r,i,o,a){if(void 0===e&&(e=0),void 0===n&&(n=1),void 0===r&&(r=.5),void 0===o&&(o=t),void 0===a&&(a=t),R.aQ.test(e)&&(e=parseFloat(e),e=(0,S.C)(a.min,a.max,e/100)-a.min),"number"==typeof e){var s=(0,S.C)(o.min,o.max,r);t===o&&(s-=e),t.min=vt(t.min,e,n,s,i),t.max=vt(t.max,e,n,s,i)}}(t,e[s],e[u],e[l],e.scale,i,o)}var ht=["x","scaleX","originX"],gt=["y","scaleY","originY"];function yt(t,e,n,r){mt(t.x,e,ht,null==n?void 0:n.x,null==r?void 0:r.x),mt(t.y,e,gt,null==n?void 0:n.y,null==r?void 0:r.y)}function bt(t){return 0===t.translate&&1===t.scale}function xt(t){return bt(t.x)&&bt(t.y)}function wt(t,e){return t.x.min===e.x.min&&t.x.max===e.x.max&&t.y.min===e.y.min&&t.y.max===e.y.max}var Et=n(35406),Ct=function(){function t(){this.members=[]}return t.prototype.add=function(t){(0,Et.y4)(this.members,t),t.scheduleRender()},t.prototype.remove=function(t){if((0,Et.cl)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){var e=this.members[this.members.length-1];e&&this.promote(e)}},t.prototype.relegate=function(t){var e,n=this.members.findIndex((function(e){return t===e}));if(0===n)return!1;for(var r=n;r>=0;r--){var i=this.members[r];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)},t.prototype.promote=function(t,e){var n,r=this.lead;t!==r&&(this.prevLead=r,this.lead=t,t.show(),r&&(r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,e&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues,t.snapshot.isShared=!0),(null===(n=t.root)||void 0===n?void 0:n.isUpdating)&&(t.isLayoutDirty=!0),!1===t.options.crossfade&&r.hide()))},t.prototype.exitAnimationComplete=function(){this.members.forEach((function(t){var e,n,r,i,o;null===(n=(e=t.options).onExitComplete)||void 0===n||n.call(e),null===(o=null===(r=t.resumingFrom)||void 0===r?void 0:(i=r.options).onExitComplete)||void 0===o||o.call(i)}))},t.prototype.scheduleRender=function(){this.members.forEach((function(t){t.instance&&t.scheduleRender(!1)}))},t.prototype.removeLeadSnapshot=function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)},t}(),Tt={};function St(t,e,n){var r=t.x.translate/e.x,i=t.y.translate/e.y,o="translate3d(".concat(r,"px, ").concat(i,"px, 0) ");if(n){var a=n.rotate,s=n.rotateX,u=n.rotateY;a&&(o+="rotate(".concat(a,"deg) ")),s&&(o+="rotateX(".concat(s,"deg) ")),u&&(o+="rotateY(".concat(u,"deg) "))}return"translate3d(0px, 0px, 0) scale(1, 1)"===(o+="scale(".concat(t.x.scale,", ").concat(t.y.scale,")"))?"none":o}function kt(t){return[t("x"),t("y")]}var Pt=n(51535),Lt=function(t,e){return t.depth-e.depth},At=function(){function t(){this.children=[],this.isDirty=!1}return t.prototype.add=function(t){(0,Et.y4)(this.children,t),this.isDirty=!0},t.prototype.remove=function(t){(0,Et.cl)(this.children,t),this.isDirty=!0},t.prototype.forEach=function(t){this.isDirty&&this.children.sort(Lt),this.isDirty=!1,this.children.forEach(t)},t}(),Ot=n(16325);function Mt(t){var e=P(t)?t.get():t;return(0,Ot.p)(e)?e.toValue():e}var Rt={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function jt(t){var e=t.attachResizeListener,n=t.defaultParent,i=t.measureScroll,o=t.resetTransform;return function(){function t(t,e,i){var o=this;void 0===e&&(e={}),void 0===i&&(i=null==n?void 0:n()),this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=function(){o.isUpdating&&(o.isUpdating=!1,o.clearAllSnapshots())},this.updateProjection=function(){o.nodes.forEach(Bt),o.nodes.forEach(zt)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=t,this.latestValues=e,this.root=i?i.root||i:this,this.path=i?(0,r.ev)((0,r.ev)([],(0,r.CR)(i.path),!1),[i],!1):[],this.parent=i,this.depth=i?i.depth+1:0,t&&this.root.registerPotentialNode(t,this);for(var a=0;a<this.path.length;a++)this.path[a].shouldResetTransform=!0;this.root===this&&(this.nodes=new At)}return t.prototype.addEventListener=function(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new A.L),this.eventHandlers.get(t).add(e)},t.prototype.notifyListeners=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var i=this.eventHandlers.get(t);null==i||i.notify.apply(i,(0,r.ev)([],(0,r.CR)(e),!1))},t.prototype.hasListeners=function(t){return this.eventHandlers.has(t)},t.prototype.registerPotentialNode=function(t,e){this.potentialNodes.set(t,e)},t.prototype.mount=function(t,n){var i,o=this;if(void 0===n&&(n=!1),!this.instance){this.isSVG=t instanceof SVGElement&&"svg"!==t.tagName,this.instance=t;var a=this.options,s=a.layoutId,u=a.layout,l=a.visualElement;if(l&&!l.getInstance()&&l.mount(t),this.root.nodes.add(this),null===(i=this.parent)||void 0===i||i.children.add(this),this.id&&this.root.potentialNodes.delete(this.id),n&&(u||s)&&(this.isLayoutDirty=!0),e){var c,f=function(){return o.root.updateBlockedByResize=!1};e(t,(function(){o.root.updateBlockedByResize=!0,clearTimeout(c),c=window.setTimeout(f,250),Rt.hasAnimatedSinceResize&&(Rt.hasAnimatedSinceResize=!1,o.nodes.forEach(Ht))}))}s&&this.root.registerSharedNode(s,this),!1!==this.options.animate&&l&&(s||u)&&this.addEventListener("didUpdate",(function(t){var e,n,i,a,s,u=t.delta,c=t.hasLayoutChanged,f=t.hasRelativeTargetChanged,d=t.layout;if(o.isTreeAnimationBlocked())return o.target=void 0,void(o.relativeTarget=void 0);var p=null!==(n=null!==(e=o.options.transition)&&void 0!==e?e:l.getDefaultTransition())&&void 0!==n?n:Gt,v=l.getProps(),m=v.onLayoutAnimationStart,h=v.onLayoutAnimationComplete,g=!o.targetLayout||!wt(o.targetLayout,d)||f,y=!c&&f;if((null===(i=o.resumeFrom)||void 0===i?void 0:i.instance)||y||c&&(g||!o.currentAnimation)){o.resumeFrom&&(o.resumingFrom=o.resumeFrom,o.resumingFrom.resumingFrom=void 0),o.setAnimationOrigin(u,y);var b=(0,r.pi)((0,r.pi)({},(0,L.ev)(p,"layout")),{onPlay:m,onComplete:h});l.shouldReduceMotion&&(b.delay=0,b.type=!1),o.startAnimation(b)}else c||0!==o.animationProgress||o.finishAnimation(),o.isLead()&&(null===(s=(a=o.options).onExitComplete)||void 0===s||s.call(a));o.targetLayout=d}))}},t.prototype.unmount=function(){var t,e;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),null===(t=this.getStack())||void 0===t||t.remove(this),null===(e=this.parent)||void 0===e||e.children.delete(this),this.instance=void 0,T.qY.preRender(this.updateProjection)},t.prototype.blockUpdate=function(){this.updateManuallyBlocked=!0},t.prototype.unblockUpdate=function(){this.updateManuallyBlocked=!1},t.prototype.isUpdateBlocked=function(){return this.updateManuallyBlocked||this.updateBlockedByResize},t.prototype.isTreeAnimationBlocked=function(){var t;return this.isAnimationBlocked||(null===(t=this.parent)||void 0===t?void 0:t.isTreeAnimationBlocked())||!1},t.prototype.startUpdate=function(){var t;this.isUpdateBlocked()||(this.isUpdating=!0,null===(t=this.nodes)||void 0===t||t.forEach(Zt))},t.prototype.willUpdate=function(t){var e,n,r;if(void 0===t&&(t=!0),this.root.isUpdateBlocked())null===(n=(e=this.options).onExitComplete)||void 0===n||n.call(e);else if(!this.root.isUpdating&&this.root.startUpdate(),!this.isLayoutDirty){this.isLayoutDirty=!0;for(var i=0;i<this.path.length;i++){var o=this.path[i];o.shouldResetTransform=!0,o.updateScroll()}var a=this.options,s=a.layoutId,u=a.layout;if(void 0!==s||u){var 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(),t&&this.notifyListeners("willUpdate")}}},t.prototype.didUpdate=function(){if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(Dt);this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(qt),this.potentialNodes.clear()),this.nodes.forEach(Ft),this.nodes.forEach(Vt),this.nodes.forEach(Nt),this.clearAllSnapshots(),T.iW.update(),T.iW.preRender(),T.iW.render())},t.prototype.clearAllSnapshots=function(){this.nodes.forEach(It),this.sharedNodes.forEach(Ut)},t.prototype.scheduleUpdateProjection=function(){T.ZP.preRender(this.updateProjection,!1,!0)},t.prototype.scheduleCheckAfterUnmount=function(){var t=this;T.ZP.postRender((function(){t.isLayoutDirty?t.root.didUpdate():t.root.checkUpdateFailed()}))},t.prototype.updateSnapshot=function(){if(!this.snapshot&&this.instance){var t=this.measure(),e=this.removeTransform(this.removeElementScroll(t));Xt(e),this.snapshot={measured:t,layout:e,latestValues:{}}}},t.prototype.updateLayout=function(){var t;if(this.instance&&(this.updateScroll(),this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty)){if(this.resumeFrom&&!this.resumeFrom.instance)for(var e=0;e<this.path.length;e++){this.path[e].updateScroll()}var n=this.measure();Xt(n);var r=this.layout;this.layout={measured:n,actual:this.removeElementScroll(n)},this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.actual),null===(t=this.options.visualElement)||void 0===t||t.notifyLayoutMeasure(this.layout.actual,null==r?void 0:r.actual)}},t.prototype.updateScroll=function(){this.options.layoutScroll&&this.instance&&(this.scroll=i(this.instance))},t.prototype.resetTransform=function(){var t;if(o){var e=this.isLayoutDirty||this.shouldResetTransform,n=this.projectionDelta&&!xt(this.projectionDelta),r=null===(t=this.options.visualElement)||void 0===t?void 0:t.getProps().transformTemplate,i=null==r?void 0:r(this.latestValues,""),a=i!==this.prevTransformTemplateValue;e&&(n||W(this.latestValues)||a)&&(o(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}},t.prototype.measure=function(){var t=this.options.visualElement;if(!t)return{x:{min:0,max:0},y:{min:0,max:0}};var e=t.measureViewportBox(),n=this.root.scroll;return n&&(K(e.x,n.x),K(e.y,n.y)),e},t.prototype.removeElementScroll=function(t){var e={x:{min:0,max:0},y:{min:0,max:0}};Z(e,t);for(var n=0;n<this.path.length;n++){var r=this.path[n],i=r.scroll,o=r.options;r!==this.root&&i&&o.layoutScroll&&(K(e.x,i.x),K(e.y,i.y))}return e},t.prototype.applyTransform=function(t,e){void 0===e&&(e=!1);var n={x:{min:0,max:0},y:{min:0,max:0}};Z(n,t);for(var r=0;r<this.path.length;r++){var i=this.path[r];!e&&i.options.layoutScroll&&i.scroll&&i!==i.root&&et(n,{x:-i.scroll.x,y:-i.scroll.y}),W(i.latestValues)&&et(n,i.latestValues)}return W(this.latestValues)&&et(n,this.latestValues),n},t.prototype.removeTransform=function(t){var e,n={x:{min:0,max:0},y:{min:0,max:0}};Z(n,t);for(var r=0;r<this.path.length;r++){var i=this.path[r];if(i.instance&&W(i.latestValues)){_(i.latestValues)&&i.updateSnapshot();var o={x:{min:0,max:0},y:{min:0,max:0}};Z(o,i.measure()),yt(n,i.latestValues,null===(e=i.snapshot)||void 0===e?void 0:e.layout,o)}}return W(this.latestValues)&&yt(n,this.latestValues),n},t.prototype.setTargetDelta=function(t){this.targetDelta=t,this.root.scheduleUpdateProjection()},t.prototype.setOptions=function(t){var e;this.options=(0,r.pi)((0,r.pi)((0,r.pi)({},this.options),t),{crossfade:null===(e=t.crossfade)||void 0===e||e})},t.prototype.clearMeasurements=function(){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},t.prototype.resolveTargetDelta=function(){var t,e,n,r,i=this.options,o=i.layout,a=i.layoutId;this.layout&&(o||a)&&(this.targetDelta||this.relativeTarget||(this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&this.relativeParent.layout&&(this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},pt(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),Z(this.relativeTarget,this.relativeTargetOrigin))),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&(null===(t=this.relativeParent)||void 0===t?void 0:t.target)?(e=this.target,n=this.relativeTarget,r=this.relativeParent.target,ft(e.x,n.x,r.x),ft(e.y,n.y,r.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.actual):Z(this.target,this.layout.actual),X(this.target,this.targetDelta)):Z(this.target,this.layout.actual),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&Boolean(this.relativeParent.resumingFrom)===Boolean(this.resumingFrom)&&!this.relativeParent.options.layoutScroll&&this.relativeParent.target&&(this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},pt(this.relativeTargetOrigin,this.target,this.relativeParent.target),Z(this.relativeTarget,this.relativeTargetOrigin)))))},t.prototype.getClosestProjectingParent=function(){if(this.parent&&!W(this.parent.latestValues))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()},t.prototype.calcProjection=function(){var t,e=this.options,n=e.layout,r=e.layoutId;if(this.isTreeAnimating=Boolean((null===(t=this.parent)||void 0===t?void 0:t.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),this.layout&&(n||r)){var i=this.getLead();Z(this.layoutCorrected,this.layout.actual),function(t,e,n,r){var i,o;void 0===r&&(r=!1);var a=n.length;if(a){var s,u;e.x=e.y=1;for(var l=0;l<a;l++)u=(s=n[l]).projectionDelta,"contents"!==(null===(o=null===(i=s.instance)||void 0===i?void 0:i.style)||void 0===o?void 0:o.display)&&(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&et(t,{x:-s.scroll.x,y:-s.scroll.y}),u&&(e.x*=u.x.scale,e.y*=u.y.scale,X(t,u)),r&&W(s.latestValues)&&et(t,s.latestValues))}}(this.layoutCorrected,this.treeScale,this.path,Boolean(this.resumingFrom)||this!==i);var o=i.target;if(o){this.projectionDelta||(this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}});var a=this.treeScale.x,s=this.treeScale.y,u=this.projectionTransform;ct(this.projectionDelta,this.layoutCorrected,o,this.latestValues),this.projectionTransform=St(this.projectionDelta,this.treeScale),this.projectionTransform===u&&this.treeScale.x===a&&this.treeScale.y===s||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",o))}}},t.prototype.hide=function(){this.isVisible=!1},t.prototype.show=function(){this.isVisible=!0},t.prototype.scheduleRender=function(t){var e,n,r;void 0===t&&(t=!0),null===(n=(e=this.options).scheduleRender)||void 0===n||n.call(e),t&&(null===(r=this.getStack())||void 0===r||r.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)},t.prototype.setAnimationOrigin=function(t,e){var n,i=this;void 0===e&&(e=!1);var o=this.snapshot,a=(null==o?void 0:o.latestValues)||{},s=(0,r.pi)({},this.latestValues),u={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!e;var l={x:{min:0,max:0},y:{min:0,max:0}},c=null==o?void 0:o.isShared,f=((null===(n=this.getStack())||void 0===n?void 0:n.members.length)||0)<=1,d=Boolean(c&&!f&&!0===this.options.crossfade&&!this.path.some(Yt));this.animationProgress=0,this.mixTargetDelta=function(e){var n,r,o,p,v,m=e/1e3;_t(u.x,t.x,m),_t(u.y,t.y,m),i.setTargetDelta(u),i.relativeTarget&&i.relativeTargetOrigin&&i.layout&&(null===(n=i.relativeParent)||void 0===n?void 0:n.layout)&&(pt(l,i.layout.actual,i.relativeParent.layout.actual),r=i.relativeTarget,o=i.relativeTargetOrigin,p=l,v=m,Wt(r.x,o.x,p.x,v),Wt(r.y,o.y,p.y,v)),c&&(i.animationValues=s,function(t,e,n,r,i,o){var a,s,u,l;i?(t.opacity=(0,S.C)(0,null!==(a=n.opacity)&&void 0!==a?a:1,F(r)),t.opacityExit=(0,S.C)(null!==(s=e.opacity)&&void 0!==s?s:1,0,H(r))):o&&(t.opacity=(0,S.C)(null!==(u=e.opacity)&&void 0!==u?u:1,null!==(l=n.opacity)&&void 0!==l?l:1,r));for(var c=0;c<V;c++){var f="border".concat(j[c],"Radius"),d=D(e,f),p=D(n,f);void 0===d&&void 0===p||(d||(d=0),p||(p=0),0===d||0===p||I(d)===I(p)?(t[f]=Math.max((0,S.C)(N(d),N(p),r),0),(R.aQ.test(p)||R.aQ.test(d))&&(t[f]+="%")):t[f]=p)}(e.rotate||n.rotate)&&(t.rotate=(0,S.C)(e.rotate||0,n.rotate||0,r))}(s,a,i.latestValues,m,d,f)),i.root.scheduleUpdateProjection(),i.scheduleRender(),i.animationProgress=m},this.mixTargetDelta(0)},t.prototype.startAnimation=function(t){var e,n,i=this;this.notifyListeners("animationStart"),null===(e=this.currentAnimation)||void 0===e||e.stop(),this.resumingFrom&&(null===(n=this.resumingFrom.currentAnimation)||void 0===n||n.stop()),this.pendingAnimation&&(T.qY.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=T.ZP.update((function(){Rt.hasAnimatedSinceResize=!0,i.currentAnimation=function(t,e,n){void 0===n&&(n={});var r=P(t)?t:(0,k.B)(t);return(0,L.b8)("",r,e,n),{stop:function(){return r.stop()},isAnimating:function(){return r.isAnimating()}}}(0,1e3,(0,r.pi)((0,r.pi)({},t),{onUpdate:function(e){var n;i.mixTargetDelta(e),null===(n=t.onUpdate)||void 0===n||n.call(t,e)},onComplete:function(){var e;null===(e=t.onComplete)||void 0===e||e.call(t),i.completeAnimation()}})),i.resumingFrom&&(i.resumingFrom.currentAnimation=i.currentAnimation),i.pendingAnimation=void 0}))},t.prototype.completeAnimation=function(){var t;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),null===(t=this.getStack())||void 0===t||t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")},t.prototype.finishAnimation=function(){var t;this.currentAnimation&&(null===(t=this.mixTargetDelta)||void 0===t||t.call(this,1e3),this.currentAnimation.stop()),this.completeAnimation()},t.prototype.applyTransformsToTarget=function(){var t=this.getLead(),e=t.targetWithTransforms,n=t.target,r=t.layout,i=t.latestValues;e&&n&&r&&(Z(e,n),et(e,i),ct(this.projectionDeltaWithTransform,this.layoutCorrected,e,i))},t.prototype.registerSharedNode=function(t,e){var n,r,i;this.sharedNodes.has(t)||this.sharedNodes.set(t,new Ct),this.sharedNodes.get(t).add(e),e.promote({transition:null===(n=e.options.initialPromotionConfig)||void 0===n?void 0:n.transition,preserveFollowOpacity:null===(i=null===(r=e.options.initialPromotionConfig)||void 0===r?void 0:r.shouldPreserveFollowOpacity)||void 0===i?void 0:i.call(r,e)})},t.prototype.isLead=function(){var t=this.getStack();return!t||t.lead===this},t.prototype.getLead=function(){var t;return this.options.layoutId&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this},t.prototype.getPrevLead=function(){var t;return this.options.layoutId?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0},t.prototype.getStack=function(){var t=this.options.layoutId;if(t)return this.root.sharedNodes.get(t)},t.prototype.promote=function(t){var e=void 0===t?{}:t,n=e.needsReset,r=e.transition,i=e.preserveFollowOpacity,o=this.getStack();o&&o.promote(this,i),n&&(this.projectionDelta=void 0,this.needsReset=!0),r&&this.setOptions({transition:r})},t.prototype.relegate=function(){var t=this.getStack();return!!t&&t.relegate(this)},t.prototype.resetRotation=function(){var t=this.options.visualElement;if(t){for(var e=!1,n={},r=0;r<Pt.r$.length;r++){var i="rotate"+Pt.r$[r];t.getStaticValue(i)&&(e=!0,n[i]=t.getStaticValue(i),t.setStaticValue(i,0))}if(e){for(var i in null==t||t.syncRender(),n)t.setStaticValue(i,n[i]);t.scheduleRender()}}},t.prototype.getProjectionStyles=function(t){var e,n,r,i,o,a;void 0===t&&(t={});var s={};if(!this.instance||this.isSVG)return s;if(!this.isVisible)return{visibility:"hidden"};s.visibility="";var u=null===(e=this.options.visualElement)||void 0===e?void 0:e.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,s.opacity="",s.pointerEvents=Mt(t.pointerEvents)||"",s.transform=u?u(this.latestValues,""):"none",s;var l=this.getLead();if(!this.projectionDelta||!this.layout||!l.target){var c={};return this.options.layoutId&&(c.opacity=null!==(n=this.latestValues.opacity)&&void 0!==n?n:1,c.pointerEvents=Mt(t.pointerEvents)||""),this.hasProjected&&!W(this.latestValues)&&(c.transform=u?u({},""):"none",this.hasProjected=!1),c}var f=l.animationValues||l.latestValues;this.applyTransformsToTarget(),s.transform=St(this.projectionDeltaWithTransform,this.treeScale,f),u&&(s.transform=u(f,s.transform));var d=this.projectionDelta,p=d.x,v=d.y;for(var m in s.transformOrigin="".concat(100*p.origin,"% ").concat(100*v.origin,"% 0"),l.animationValues?s.opacity=l===this?null!==(i=null!==(r=f.opacity)&&void 0!==r?r:this.latestValues.opacity)&&void 0!==i?i:1:this.preserveOpacity?this.latestValues.opacity:f.opacityExit:s.opacity=l===this?null!==(o=f.opacity)&&void 0!==o?o:"":null!==(a=f.opacityExit)&&void 0!==a?a:0,Tt)if(void 0!==f[m]){var h=Tt[m],g=h.correct,y=h.applyTo,b=g(f[m],l);if(y)for(var x=y.length,w=0;w<x;w++)s[y[w]]=b;else s[m]=b}return this.options.layoutId&&(s.pointerEvents=l===this?Mt(t.pointerEvents)||"":"none"),s},t.prototype.clearSnapshot=function(){this.resumeFrom=this.snapshot=void 0},t.prototype.resetTree=function(){this.root.nodes.forEach((function(t){var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()})),this.root.nodes.forEach(Dt),this.root.sharedNodes.clear()},t}()}function Vt(t){t.updateLayout()}function Nt(t){var e,n,r,i,o=null!==(n=null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)&&void 0!==n?n:t.snapshot;if(t.isLead()&&t.layout&&o&&t.hasListeners("didUpdate")){var a=t.layout,s=a.actual,u=a.measured;"size"===t.options.animationType?kt((function(t){var e=o.isShared?o.measured[t]:o.layout[t],n=st(e);e.min=s[t].min,e.max=e.min+n})):"position"===t.options.animationType&&kt((function(t){var e=o.isShared?o.measured[t]:o.layout[t],n=st(s[t]);e.max=e.min+n}));var l={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};ct(l,s,o.layout);var c={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};o.isShared?ct(c,t.applyTransform(u,!0),o.measured):ct(c,s,o.layout);var f=!xt(l),d=!1;if(!t.resumeFrom&&(t.relativeParent=t.getClosestProjectingParent(),t.relativeParent&&!t.relativeParent.resumeFrom)){var p=t.relativeParent,v=p.snapshot,m=p.layout;if(v&&m){var h={x:{min:0,max:0},y:{min:0,max:0}};pt(h,o.layout,v.layout);var g={x:{min:0,max:0},y:{min:0,max:0}};pt(g,s,m.actual),wt(h,g)||(d=!0)}}t.notifyListeners("didUpdate",{layout:s,snapshot:o,delta:c,layoutDelta:l,hasLayoutChanged:f,hasRelativeTargetChanged:d})}else t.isLead()&&(null===(i=(r=t.options).onExitComplete)||void 0===i||i.call(r));t.options.transition=void 0}function It(t){t.clearSnapshot()}function Dt(t){t.clearMeasurements()}function Ft(t){var e=t.options.visualElement;(null==e?void 0:e.getProps().onBeforeLayoutMeasure)&&e.notifyBeforeLayoutMeasure(),t.resetTransform()}function Ht(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0}function Bt(t){t.resolveTargetDelta()}function zt(t){t.calcProjection()}function Zt(t){t.resetRotation()}function Ut(t){t.removeLeadSnapshot()}function _t(t,e,n){t.translate=(0,S.C)(e.translate,0,n),t.scale=(0,S.C)(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function Wt(t,e,n,r){t.min=(0,S.C)(e.min,n.min,r),t.max=(0,S.C)(e.max,n.max,r)}function Yt(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}var Gt={duration:.45,ease:[.4,0,.1,1]};function qt(t,e){for(var n=t.root,r=t.path.length-1;r>=0;r--)if(Boolean(t.path[r].instance)){n=t.path[r];break}var i=(n&&n!==t.root?n.instance:document).querySelector('[data-projection-id="'.concat(e,'"]'));i&&t.mount(i,!0)}function $t(t){t.min=Math.round(t.min),t.max=Math.round(t.max)}function Xt(t){$t(t.x),$t(t.y)}var Kt=1;var Qt=n(26456),Jt=(0,i.createContext)({});var te=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.ZT)(e,t),e.prototype.getSnapshotBeforeUpdate=function(){return this.updateProps(),null},e.prototype.componentDidUpdate=function(){},e.prototype.updateProps=function(){var t=this.props,e=t.visualElement,n=t.props;e&&e.setProps(n)},e.prototype.render=function(){return this.props.children},e}(i.Component);function ee(t){var e=t.preloadedFeatures,n=t.createVisualElement,o=t.projectionNodeConstructor,d=t.useRender,p=t.useVisualState,m=t.Component;return e&&function(t){for(var e in t)null!==t[e]&&("projectionNodeConstructor"===e?a.projectionNodeConstructor=t[e]:a[e].Component=t[e])}(e),(0,i.forwardRef)((function(t,e){var h=function(t){var e,n=t.layoutId,r=null===(e=(0,i.useContext)(Qt.p))||void 0===e?void 0:e.id;return r&&void 0!==n?r+"-"+n:n}(t);t=(0,r.pi)((0,r.pi)({},t),{layoutId:h});var g=(0,i.useContext)(c),x=null,E=w(t),T=g.isStatic?void 0:(0,C.h)((function(){if(Rt.hasEverUpdated)return Kt++})),S=p(t,g.isStatic);return!g.isStatic&&v.j&&(E.visualElement=y(m,S,(0,r.pi)((0,r.pi)({},g),t),n),function(t,e,n,r){var o,a=e.layoutId,s=e.layout,u=e.drag,l=e.dragConstraints,c=e.layoutScroll,f=(0,i.useContext)(Jt);r&&n&&!(null==n?void 0:n.projection)&&(n.projection=new r(t,n.getLatestValues(),null===(o=n.parent)||void 0===o?void 0:o.projection),n.projection.setOptions({layoutId:a,layout:s,alwaysMeasureLayout:Boolean(u)||l&&b(l),visualElement:n,scheduleRender:function(){return n.scheduleRender()},animationType:"string"==typeof s?s:"both",initialPromotionConfig:f,layoutScroll:c}))}(T,t,E.visualElement,o||a.projectionNodeConstructor),x=function(t,e,n){var o=[];if((0,i.useContext)(s),!e)return null;for(var c=0;c<l;c++){var f=u[c],d=a[f],p=d.isEnabled,v=d.Component;p(t)&&v&&o.push(i.createElement(v,(0,r.pi)({key:f},t,{visualElement:e})))}return o}(t,E.visualElement)),i.createElement(te,{visualElement:E.visualElement,props:(0,r.pi)((0,r.pi)({},g),t)},x,i.createElement(f.Provider,{value:E},d(m,t,T,function(t,e,n){return(0,i.useCallback)((function(r){var i;r&&(null===(i=t.mount)||void 0===i||i.call(t,r)),e&&(r?e.mount(r):e.unmount()),n&&("function"==typeof n?n(r):b(n)&&(n.current=r))}),[e])}(S,E.visualElement,e),S,g.isStatic,E.visualElement)))}))}function ne(t){function e(e,n){return void 0===n&&(n={}),ee(t(e,n))}if("undefined"==typeof Proxy)return e;var n=new Map;return new Proxy(e,{get:function(t,r){return n.has(r)||n.set(r,e(r)),n.get(r)}})}var re=["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 ie(t){return"string"==typeof t&&!t.includes("-")&&!!(re.indexOf(t)>-1||/[A-Z]/.test(t))}function oe(t,e){var n=e.layout,r=e.layoutId;return(0,Pt._c)(t)||(0,Pt.Ee)(t)||(n||void 0!==r)&&(!!Tt[t]||"opacity"===t)}var ae={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function se(t){return t.startsWith("--")}var ue=function(t,e){return e&&"number"==typeof t?e.transform(t):t},le=n(81805);function ce(t,e,n,r){var i,o=t.style,a=t.vars,s=t.transform,u=t.transformKeys,l=t.transformOrigin;u.length=0;var c=!1,f=!1,d=!0;for(var p in e){var v=e[p];if(se(p))a[p]=v;else{var m=le.j[p],h=ue(v,m);if((0,Pt._c)(p)){if(c=!0,s[p]=h,u.push(p),!d)continue;v!==(null!==(i=m.default)&&void 0!==i?i:0)&&(d=!1)}else(0,Pt.Ee)(p)?(l[p]=h,f=!0):o[p]=h}}c?o.transform=function(t,e,n,r){var i=t.transform,o=t.transformKeys,a=e.enableHardwareAcceleration,s=void 0===a||a,u=e.allowTransformNone,l=void 0===u||u,c="";o.sort(Pt.s3);for(var f=!1,d=o.length,p=0;p<d;p++){var v=o[p];c+="".concat(ae[v]||v,"(").concat(i[v],") "),"z"===v&&(f=!0)}return!f&&s?c+="translateZ(0)":c=c.trim(),r?c=r(i,n?"":c):l&&n&&(c="none"),c}(t,n,d,r):r?o.transform=r({},""):!e.transform&&o.transform&&(o.transform="none"),f&&(o.transformOrigin=function(t){var e=t.originX,n=void 0===e?"50%":e,r=t.originY,i=void 0===r?"50%":r,o=t.originZ,a=void 0===o?0:o;return"".concat(n," ").concat(i," ").concat(a)}(l))}var fe=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function de(t,e,n){for(var r in e)P(e[r])||oe(r,n)||(t[r]=e[r])}function pe(t,e,n){var o={};return de(o,t.style||{},t),Object.assign(o,function(t,e,n){var o=t.transformTemplate;return(0,i.useMemo)((function(){var t={style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}};ce(t,e,{enableHardwareAcceleration:!n},o);var i=t.vars,a=t.style;return(0,r.pi)((0,r.pi)({},i),a)}),[e])}(t,e,n)),t.transformValues&&(o=t.transformValues(o)),o}function ve(t,e,n){var r={},i=pe(t,e,n);return Boolean(t.drag)&&!1!==t.dragListener&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===t.drag?"none":"pan-".concat("x"===t.drag?"y":"x")),r.style=i,r}var me=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover","whileInView","onViewportEnter","onViewportLeave","viewport","layoutScroll"]);function he(t){return me.has(t)}var ge,ye=function(t){return!he(t)};try{(ge=n(75264).Z)&&(ye=function(t){return t.startsWith("on")?!he(t):ge(t)})}catch(Hr){}function be(t,e,n){return"string"==typeof t?t:R.px.transform(e+n*t)}var xe={offset:"stroke-dashoffset",array:"stroke-dasharray"},we={offset:"strokeDashoffset",array:"strokeDasharray"};function Ee(t,e,n,i){var o=e.attrX,a=e.attrY,s=e.originX,u=e.originY,l=e.pathLength,c=e.pathSpacing,f=void 0===c?1:c,d=e.pathOffset,p=void 0===d?0:d;ce(t,(0,r._T)(e,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),n,i),t.attrs=t.style,t.style={};var v=t.attrs,m=t.style,h=t.dimensions;v.transform&&(h&&(m.transform=v.transform),delete v.transform),h&&(void 0!==s||void 0!==u||m.transform)&&(m.transformOrigin=function(t,e,n){var r=be(e,t.x,t.width),i=be(n,t.y,t.height);return"".concat(r," ").concat(i)}(h,void 0!==s?s:.5,void 0!==u?u:.5)),void 0!==o&&(v.x=o),void 0!==a&&(v.y=a),void 0!==l&&function(t,e,n,r,i){void 0===n&&(n=1),void 0===r&&(r=0),void 0===i&&(i=!0),t.pathLength=1;var o=i?xe:we;t[o.offset]=R.px.transform(-r);var a=R.px.transform(e),s=R.px.transform(n);t[o.array]="".concat(a," ").concat(s)}(v,l,f,p,!1)}var Ce=function(){return(0,r.pi)((0,r.pi)({},{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}),{attrs:{}})};function Te(t,e){var n=(0,i.useMemo)((function(){var n=Ce();return Ee(n,e,{enableHardwareAcceleration:!1},t.transformTemplate),(0,r.pi)((0,r.pi)({},n.attrs),{style:(0,r.pi)({},n.style)})}),[e]);if(t.style){var o={};de(o,t.style,t),n.style=(0,r.pi)((0,r.pi)({},o),n.style)}return n}function Se(t){void 0===t&&(t=!1);return function(e,n,o,a,s,u){var l=s.latestValues,c=(ie(e)?Te:ve)(n,l,u),f=function(t,e,n){var r={};for(var i in t)(ye(i)||!0===n&&he(i)||!e&&!he(i)||t.draggable&&i.startsWith("onDrag"))&&(r[i]=t[i]);return r}(n,"string"==typeof e,t),d=(0,r.pi)((0,r.pi)((0,r.pi)({},f),c),{ref:a});return o&&(d["data-projection-id"]=o),(0,i.createElement)(e,d)}}var ke=/([a-z])([A-Z])/g,Pe=function(t){return t.replace(ke,"$1-$2").toLowerCase()};function Le(t,e,n,r){var i=e.style,o=e.vars;for(var a in Object.assign(t.style,i,r&&r.getProjectionStyles(n)),o)t.style.setProperty(a,o[a])}var Ae=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function Oe(t,e){for(var n in Le(t,e),e.attrs)t.setAttribute(Ae.has(n)?n:Pe(n),e.attrs[n])}function Me(t){var e=t.style,n={};for(var r in e)(P(e[r])||oe(r,t))&&(n[r]=e[r]);return n}function Re(t){var e=Me(t);for(var n in t){if(P(t[n]))e["x"===n||"y"===n?"attr"+n.toUpperCase():n]=t[n]}return e}function je(t){return"object"==typeof t&&"function"==typeof t.start}function Ve(t,e,n,r){var i=t.scrapeMotionValuesFromProps,o=t.createRenderState,a=t.onMount,s={latestValues:Ie(e,n,r,i),renderState:o()};return a&&(s.mount=function(t){return a(e,t,s)}),s}var Ne=function(t){return function(e,n){var r=(0,i.useContext)(f),o=(0,i.useContext)(d.O);return n?Ve(t,e,r,o):(0,C.h)((function(){return Ve(t,e,r,o)}))}};function Ie(t,e,n,i){var o={},a=!1===(null==n?void 0:n.initial),s=i(t);for(var u in s)o[u]=Mt(s[u]);var l=t.initial,c=t.animate,f=(0,x.O6)(t),d=(0,x.e8)(t);e&&d&&!f&&!1!==t.inherit&&(null!=l||(l=e.initial),null!=c||(c=e.animate));var p=a||!1===l,v=p?c:l;v&&"boolean"!=typeof v&&!je(v)&&(Array.isArray(v)?v:[v]).forEach((function(e){var n=(0,x.oQ)(t,e);if(n){var i=n.transitionEnd;n.transition;var a=(0,r._T)(n,["transitionEnd","transition"]);for(var s in a){var u=a[s];if(Array.isArray(u))u=u[p?u.length-1:0];null!==u&&(o[s]=u)}for(var s in i)o[s]=i[s]}}));return o}var De,Fe={useVisualState:Ne({scrapeMotionValuesFromProps:Re,createRenderState:Ce,onMount:function(t,e,n){var r=n.renderState,i=n.latestValues;try{r.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(o){r.dimensions={x:0,y:0,width:0,height:0}}Ee(r,i,{enableHardwareAcceleration:!1},t.transformTemplate),Oe(e,r)}})},He={useVisualState:Ne({scrapeMotionValuesFromProps:Me,createRenderState:fe})};function Be(t,e,n,r){return t.addEventListener(e,n,r),function(){return t.removeEventListener(e,n,r)}}function ze(t,e,n,r){(0,i.useEffect)((function(){var i=t.current;if(n&&i)return Be(i,e,n,r)}),[t,e,n,r])}function Ze(t){return"undefined"!=typeof PointerEvent&&t instanceof PointerEvent?!("mouse"!==t.pointerType):t instanceof MouseEvent}function Ue(t){return!!t.touches}!function(t){t.Animate="animate",t.Hover="whileHover",t.Tap="whileTap",t.Drag="whileDrag",t.Focus="whileFocus",t.InView="whileInView",t.Exit="exit"}(De||(De={}));var _e={pageX:0,pageY:0};function We(t,e){void 0===e&&(e="page");var n=t.touches[0]||t.changedTouches[0]||_e;return{x:n[e+"X"],y:n[e+"Y"]}}function Ye(t,e){return void 0===e&&(e="page"),{x:t[e+"X"],y:t[e+"Y"]}}function Ge(t,e){return void 0===e&&(e="page"),{point:Ue(t)?We(t,e):Ye(t,e)}}var qe=function(t,e){void 0===e&&(e=!1);var n,r=function(e){return t(e,Ge(e))};return e?(n=r,function(t){var e=t instanceof MouseEvent;(!e||e&&0===t.button)&&n(t)}):r},$e={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},Xe={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function Ke(t){return v.j&&null===window.onpointerdown?t:v.j&&null===window.ontouchstart?Xe[t]:v.j&&null===window.onmousedown?$e[t]:t}function Qe(t,e,n,r){return Be(t,Ke(e),qe(n,"pointerdown"===e),r)}function Je(t,e,n,r){return ze(t,Ke(e),n&&qe(n,"pointerdown"===e),r)}function tn(t){var e=null;return function(){return null===e&&(e=t,function(){e=null})}}var en=tn("dragHorizontal"),nn=tn("dragVertical");function rn(t){var e=!1;if("y"===t)e=nn();else if("x"===t)e=en();else{var n=en(),r=nn();n&&r?e=function(){n(),r()}:(n&&n(),r&&r())}return e}function on(){var t=rn(!0);return!t||(t(),!1)}function an(t,e,n){return function(r,i){var o;Ze(r)&&!on()&&(null===(o=t.animationState)||void 0===o||o.setActive(De.Hover,e),null==n||n(r,i))}}var sn=function t(e,n){return!!n&&(e===n||t(e,n.parentElement))},un=n(30296),ln=n(23907);var cn=new WeakMap,fn=new WeakMap,dn=function(t){var e;null===(e=cn.get(t.target))||void 0===e||e(t)},pn=function(t){t.forEach(dn)};function vn(t,e,n){var i=function(t){var e=t.root,n=(0,r._T)(t,["root"]),i=e||document;fn.has(i)||fn.set(i,{});var o=fn.get(i),a=JSON.stringify(n);return o[a]||(o[a]=new IntersectionObserver(pn,(0,r.pi)({root:e},n))),o[a]}(e);return cn.set(t,n),i.observe(t),function(){cn.delete(t),i.unobserve(t)}}var mn={some:0,all:1};function hn(t,e,n,r){var o=r.root,a=r.margin,s=r.amount,u=void 0===s?"some":s,l=r.once;(0,i.useEffect)((function(){if(t){var r={root:null==o?void 0:o.current,rootMargin:a,threshold:"number"==typeof u?u:mn[u]};return vn(n.getInstance(),r,(function(t){var r,i=t.isIntersecting;if(e.isInView!==i&&(e.isInView=i,!l||i||!e.hasEnteredView)){i&&(e.hasEnteredView=!0),null===(r=n.animationState)||void 0===r||r.setActive(De.InView,i);var o=n.getProps(),a=i?o.onViewportEnter:o.onViewportLeave;null==a||a(t)}}))}}),[t,o,a,u])}function gn(t,e,n,r){var o=r.fallback,a=void 0===o||o;(0,i.useEffect)((function(){t&&a&&requestAnimationFrame((function(){var t;e.hasEnteredView=!0;var r=n.getProps().onViewportEnter;null==r||r(null),null===(t=n.animationState)||void 0===t||t.setActive(De.InView,!0)}))}),[t])}var yn=function(t){return function(e){return t(e),null}},bn={inView:yn((function(t){var e=t.visualElement,n=t.whileInView,r=t.onViewportEnter,o=t.onViewportLeave,a=t.viewport,s=void 0===a?{}:a,u=(0,i.useRef)({hasEnteredView:!1,isInView:!1}),l=Boolean(n||r||o);s.once&&u.current.hasEnteredView&&(l=!1),("undefined"==typeof IntersectionObserver?gn:hn)(l,u.current,e,s)})),tap:yn((function(t){var e=t.onTap,n=t.onTapStart,r=t.onTapCancel,o=t.whileTap,a=t.visualElement,s=e||n||r||o,u=(0,i.useRef)(!1),l=(0,i.useRef)(null);function c(){var t;null===(t=l.current)||void 0===t||t.call(l),l.current=null}function f(){var t;return c(),u.current=!1,null===(t=a.animationState)||void 0===t||t.setActive(De.Tap,!1),!on()}function d(t,n){f()&&(sn(a.getInstance(),t.target)?null==e||e(t,n):null==r||r(t,n))}function p(t,e){f()&&(null==r||r(t,e))}Je(a,"pointerdown",s?function(t,e){var r;c(),u.current||(u.current=!0,l.current=(0,ln.z)(Qe(window,"pointerup",d),Qe(window,"pointercancel",p)),null===(r=a.animationState)||void 0===r||r.setActive(De.Tap,!0),null==n||n(t,e))}:void 0),(0,un.z)(c)})),focus:yn((function(t){var e=t.whileFocus,n=t.visualElement;ze(n,"focus",e?function(){var t;null===(t=n.animationState)||void 0===t||t.setActive(De.Focus,!0)}:void 0),ze(n,"blur",e?function(){var t;null===(t=n.animationState)||void 0===t||t.setActive(De.Focus,!1)}:void 0)})),hover:yn((function(t){var e=t.onHoverStart,n=t.onHoverEnd,r=t.whileHover,i=t.visualElement;Je(i,"pointerenter",e||r?an(i,!0,e):void 0),Je(i,"pointerleave",n||r?an(i,!1,n):void 0)}))},xn=n(45198);function wn(){var t=(0,i.useContext)(d.O);if(null===t)return[!0,null];var e=t.isPresent,n=t.onExitComplete,r=t.register,o=(0,xn.M)();(0,i.useEffect)((function(){return r(o)}),[]);return!e&&n?[!1,function(){return null==n?void 0:n(o)}]:[!0]}var En=n(77270);function Cn(t,e){if(!Array.isArray(e))return!1;var n=e.length;if(n!==t.length)return!1;for(var r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}var Tn=n(92484),Sn=[De.Animate,De.InView,De.Focus,De.Hover,De.Tap,De.Drag,De.Exit],kn=(0,r.ev)([],(0,r.CR)(Sn),!1).reverse(),Pn=Sn.length;function Ln(t){var e,n=function(t){return function(e){return Promise.all(e.map((function(e){var n=e.animation,r=e.options;return(0,Tn.d5)(t,n,r)})))}}(t),i=((e={})[De.Animate]=An(!0),e[De.InView]=An(),e[De.Hover]=An(),e[De.Tap]=An(),e[De.Drag]=An(),e[De.Focus]=An(),e[De.Exit]=An(),e),o={},a=!0,s=function(e,n){var i=(0,x.x5)(t,n);if(i){i.transition;var o=i.transitionEnd,a=(0,r._T)(i,["transition","transitionEnd"]);e=(0,r.pi)((0,r.pi)((0,r.pi)({},e),a),o)}return e};function u(e,u){for(var l,c=t.getProps(),f=t.getVariantContext(!0)||{},d=[],p=new Set,v={},m=1/0,h=function(n){var o=kn[n],h=i[o],g=null!==(l=c[o])&&void 0!==l?l:f[o],y=(0,x.$L)(g),b=o===u?h.isActive:null;!1===b&&(m=n);var w=g===f[o]&&g!==c[o]&&y;if(w&&a&&t.manuallyAnimateOnMount&&(w=!1),h.protectedKeys=(0,r.pi)({},v),!h.isActive&&null===b||!g&&!h.prevProp||je(g)||"boolean"==typeof g)return"continue";var E=function(t,e){if("string"==typeof e)return e!==t;if((0,x.A0)(e))return!Cn(e,t);return!1}(h.prevProp,g),C=E||o===u&&h.isActive&&!w&&y||n>m&&y,T=Array.isArray(g)?g:[g],S=T.reduce(s,{});!1===b&&(S={});var k=h.prevResolvedValues,P=void 0===k?{}:k,L=(0,r.pi)((0,r.pi)({},P),S),A=function(t){C=!0,p.delete(t),h.needsAnimating[t]=!0};for(var O in L){var M=S[O],R=P[O];v.hasOwnProperty(O)||(M!==R?(0,En.C)(M)&&(0,En.C)(R)?!Cn(M,R)||E?A(O):h.protectedKeys[O]=!0:void 0!==M?A(O):p.add(O):void 0!==M&&p.has(O)?A(O):h.protectedKeys[O]=!0)}h.prevProp=g,h.prevResolvedValues=S,h.isActive&&(v=(0,r.pi)((0,r.pi)({},v),S)),a&&t.blockInitialAnimation&&(C=!1),C&&!w&&d.push.apply(d,(0,r.ev)([],(0,r.CR)(T.map((function(t){return{animation:t,options:(0,r.pi)({type:o},e)}}))),!1))},g=0;g<Pn;g++)h(g);if(o=(0,r.pi)({},v),p.size){var y={};p.forEach((function(e){var n=t.getBaseTarget(e);void 0!==n&&(y[e]=n)})),d.push({animation:y})}var b=Boolean(d.length);return a&&!1===c.initial&&!t.manuallyAnimateOnMount&&(b=!1),a=!1,b?n(d):Promise.resolve()}return{isAnimated:function(t){return void 0!==o[t]},animateChanges:u,setActive:function(e,n,r){var o;if(i[e].isActive===n)return Promise.resolve();null===(o=t.variantChildren)||void 0===o||o.forEach((function(t){var r;return null===(r=t.animationState)||void 0===r?void 0:r.setActive(e,n)})),i[e].isActive=n;var a=u(r,e);for(var s in i)i[s].protectedKeys={};return a},setAnimateFunction:function(e){n=e(t)},getState:function(){return i}}}function An(t){return void 0===t&&(t=!1),{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var On={animation:yn((function(t){var e=t.visualElement,n=t.animate;e.animationState||(e.animationState=Ln(e)),je(n)&&(0,i.useEffect)((function(){return n.subscribe(e)}),[n])})),exit:yn((function(t){var e=t.custom,n=t.visualElement,o=(0,r.CR)(wn(),2),a=o[0],s=o[1],u=(0,i.useContext)(d.O);(0,i.useEffect)((function(){var t,r;n.isPresent=a;var i=null===(t=n.animationState)||void 0===t?void 0:t.setActive(De.Exit,!a,{custom:null!==(r=null==u?void 0:u.custom)&&void 0!==r?r:e});!a&&(null==i||i.then(s))}),[a])}))},Mn=n(12677),Rn=n(36012),jn=function(){function t(t,e,n){var i=this,o=(void 0===n?{}:n).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(i.lastMoveEvent&&i.lastMoveEventInfo){var t=In(i.lastMoveEventInfo,i.history),e=null!==i.startEvent,n=at(t.offset,{x:0,y:0})>=3;if(e||n){var o=t.point,a=(0,T.$B)().timestamp;i.history.push((0,r.pi)((0,r.pi)({},o),{timestamp:a}));var s=i.handlers,u=s.onStart,l=s.onMove;e||(u&&u(i.lastMoveEvent,t),i.startEvent=i.lastMoveEvent),l&&l(i.lastMoveEvent,t)}}},this.handlePointerMove=function(t,e){i.lastMoveEvent=t,i.lastMoveEventInfo=Vn(e,i.transformPagePoint),Ze(t)&&0===t.buttons?i.handlePointerUp(t,e):T.ZP.update(i.updatePoint,!0)},this.handlePointerUp=function(t,e){i.end();var n=i.handlers,r=n.onEnd,o=n.onSessionEnd,a=In(Vn(e,i.transformPagePoint),i.history);i.startEvent&&r&&r(t,a),o&&o(t,a)},!(Ue(t)&&t.touches.length>1)){this.handlers=e,this.transformPagePoint=o;var a=Vn(Ge(t),this.transformPagePoint),s=a.point,u=(0,T.$B)().timestamp;this.history=[(0,r.pi)((0,r.pi)({},s),{timestamp:u})];var l=e.onSessionStart;l&&l(t,In(a,this.history)),this.removeListeners=(0,ln.z)(Qe(window,"pointermove",this.handlePointerMove),Qe(window,"pointerup",this.handlePointerUp),Qe(window,"pointercancel",this.handlePointerUp))}}return t.prototype.updateHandlers=function(t){this.handlers=t},t.prototype.end=function(){this.removeListeners&&this.removeListeners(),T.qY.update(this.updatePoint)},t}();function Vn(t,e){return e?{point:e(t.point)}:t}function Nn(t,e){return{x:t.x-e.x,y:t.y-e.y}}function In(t,e){var n=t.point;return{point:n,delta:Nn(n,Fn(e)),offset:Nn(n,Dn(e)),velocity:Hn(e,.1)}}function Dn(t){return t[0]}function Fn(t){return t[t.length-1]}function Hn(t,e){if(t.length<2)return{x:0,y:0};for(var n=t.length-1,r=null,i=Fn(t);n>=0&&(r=t[n],!(i.timestamp-r.timestamp>(0,Rn.w)(e)));)n--;if(!r)return{x:0,y:0};var o=(i.timestamp-r.timestamp)/1e3;if(0===o)return{x:0,y:0};var 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}var Bn=n(14638);function zn(t,e,n){return{min:void 0!==e?t.min+e:void 0,max:void 0!==n?t.max+n-(t.max-t.min):void 0}}function Zn(t,e){var n,i=e.min-t.min,o=e.max-t.max;return e.max-e.min<t.max-t.min&&(i=(n=(0,r.CR)([o,i],2))[0],o=n[1]),{min:i,max:o}}var Un=.35;function _n(t,e,n){return{min:Wn(t,e),max:Wn(t,n)}}function Wn(t,e){var n;return"number"==typeof t?t:null!==(n=t[e])&&void 0!==n?n:0}function Yn(t){var e=t.top;return{x:{min:t.left,max:t.right},y:{min:e,max:t.bottom}}}function Gn(t,e){return Yn(function(t,e){if(!e)return t;var n=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(t.getBoundingClientRect(),e))}var qn=new WeakMap,$n=function(){function t(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=t}return t.prototype.start=function(t,e){var n=this,r=(void 0===e?{}:e).snapToCursor,i=void 0!==r&&r;if(!1!==this.visualElement.isPresent){this.panSession=new jn(t,{onSessionStart:function(t){n.stopAnimation(),i&&n.snapToCursor(Ge(t,"page").point)},onStart:function(t,e){var r,i=n.getProps(),o=i.drag,a=i.dragPropagation,s=i.onDragStart;(!o||a||(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=rn(o),n.openGlobalLock))&&(n.isDragging=!0,n.currentDirection=null,n.resolveConstraints(),n.visualElement.projection&&(n.visualElement.projection.isAnimationBlocked=!0,n.visualElement.projection.target=void 0),kt((function(t){var e,r,i=n.getAxisMotionValue(t).get()||0;if(R.aQ.test(i)){var o=null===(r=null===(e=n.visualElement.projection)||void 0===e?void 0:e.layout)||void 0===r?void 0:r.actual[t];if(o)i=st(o)*(parseFloat(i)/100)}n.originPoint[t]=i})),null==s||s(t,e),null===(r=n.visualElement.animationState)||void 0===r||r.setActive(De.Drag,!0))},onMove:function(t,e){var r=n.getProps(),i=r.dragPropagation,o=r.dragDirectionLock,a=r.onDirectionLock,s=r.onDrag;if(i||n.openGlobalLock){var u=e.offset;if(o&&null===n.currentDirection)return n.currentDirection=function(t,e){void 0===e&&(e=10);var n=null;Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x");return n}(u),void(null!==n.currentDirection&&(null==a||a(n.currentDirection)));n.updateAxis("x",e.point,u),n.updateAxis("y",e.point,u),n.visualElement.syncRender(),null==s||s(t,e)}},onSessionEnd:function(t,e){return n.stop(t,e)}},{transformPagePoint:this.visualElement.getTransformPagePoint()})}},t.prototype.stop=function(t,e){var n=this.isDragging;if(this.cancel(),n){var r=e.velocity;this.startAnimation(r);var i=this.getProps().onDragEnd;null==i||i(t,e)}},t.prototype.cancel=function(){var t,e;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(t=this.panSession)||void 0===t||t.end(),this.panSession=void 0,!this.getProps().dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(e=this.visualElement.animationState)||void 0===e||e.setActive(De.Drag,!1)},t.prototype.updateAxis=function(t,e,n){var r=this.getProps().drag;if(n&&Xn(t,r,this.currentDirection)){var i,o,a,s,u,l=this.getAxisMotionValue(t),c=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(i=c,o=this.constraints[t],a=this.elastic[t],s=o.min,u=o.max,void 0!==s&&i<s?i=a?(0,S.C)(s,i,a.min):Math.max(i,s):void 0!==u&&i>u&&(i=a?(0,S.C)(u,i,a.max):Math.min(i,u)),c=i),l.set(c)}},t.prototype.resolveConstraints=function(){var t=this,e=this.getProps(),n=e.dragConstraints,r=e.dragElastic,i=(this.visualElement.projection||{}).layout,o=this.constraints;n&&b(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!n||!i)&&function(t,e){var n=e.top,r=e.left,i=e.bottom,o=e.right;return{x:zn(t.x,r,o),y:zn(t.y,n,i)}}(i.actual,n),this.elastic=function(t){return void 0===t&&(t=Un),!1===t?t=0:!0===t&&(t=Un),{x:_n(t,"left","right"),y:_n(t,"top","bottom")}}(r),o!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&kt((function(e){t.getAxisMotionValue(e)&&(t.constraints[e]=function(t,e){var n={};return void 0!==e.min&&(n.min=e.min-t.min),void 0!==e.max&&(n.max=e.max-t.min),n}(i.actual[e],t.constraints[e]))}))},t.prototype.resolveRefConstraints=function(){var t=this.getProps(),e=t.dragConstraints,n=t.onMeasureDragConstraints;if(!e||!b(e))return!1;var r=e.current;(0,Mn.k)(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");var i=this.visualElement.projection;if(!i||!i.layout)return!1;var o=function(t,e,n){var r=Gn(t,n),i=e.scroll;return i&&(K(r.x,i.x),K(r.y,i.y)),r}(r,i.root,this.visualElement.getTransformPagePoint()),a=function(t,e){return{x:Zn(t.x,e.x),y:Zn(t.y,e.y)}}(i.layout.actual,o);if(n){var s=n(function(t){var e=t.x,n=t.y;return{top:n.min,right:e.max,bottom:n.max,left:e.min}}(a));this.hasMutatedConstraints=!!s,s&&(a=Yn(s))}return a},t.prototype.startAnimation=function(t){var e=this,n=this.getProps(),i=n.drag,o=n.dragMomentum,a=n.dragElastic,s=n.dragTransition,u=n.dragSnapToOrigin,l=n.onDragTransitionEnd,c=this.constraints||{},f=kt((function(n){var l;if(Xn(n,i,e.currentDirection)){var f=null!==(l=null==c?void 0:c[n])&&void 0!==l?l:{};u&&(f={min:0,max:0});var d=a?200:1e6,p=a?40:1e7,v=(0,r.pi)((0,r.pi)({type:"inertia",velocity:o?t[n]:0,bounceStiffness:d,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10},s),f);return e.startAxisValueAnimation(n,v)}}));return Promise.all(f).then(l)},t.prototype.startAxisValueAnimation=function(t,e){var n=this.getAxisMotionValue(t);return(0,L.b8)(t,n,0,e)},t.prototype.stopAnimation=function(){var t=this;kt((function(e){return t.getAxisMotionValue(e).stop()}))},t.prototype.getAxisMotionValue=function(t){var e,n,r="_drag"+t.toUpperCase(),i=this.visualElement.getProps()[r];return i||this.visualElement.getValue(t,null!==(n=null===(e=this.visualElement.getProps().initial)||void 0===e?void 0:e[t])&&void 0!==n?n:0)},t.prototype.snapToCursor=function(t){var e=this;kt((function(n){if(Xn(n,e.getProps().drag,e.currentDirection)){var r=e.visualElement.projection,i=e.getAxisMotionValue(n);if(r&&r.layout){var o=r.layout.actual[n],a=o.min,s=o.max;i.set(t[n]-(0,S.C)(a,s,.5))}}}))},t.prototype.scalePositionWithinConstraints=function(){var t,e=this,n=this.getProps(),r=n.drag,i=n.dragConstraints,o=this.visualElement.projection;if(b(i)&&o&&this.constraints){this.stopAnimation();var a={x:0,y:0};kt((function(t){var n,r,i,o,s,u=e.getAxisMotionValue(t);if(u){var l=u.get();a[t]=(n={min:l,max:l},r=e.constraints[t],i=.5,o=st(n),(s=st(r))>o?i=(0,M.Y)(r.min,r.max-o,n.min):o>s&&(i=(0,M.Y)(n.min,n.max-s,r.min)),(0,Bn.u)(0,1,i))}}));var s=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=s?s({},""):"none",null===(t=o.root)||void 0===t||t.updateScroll(),o.updateLayout(),this.resolveConstraints(),kt((function(t){if(Xn(t,r,null)){var n=e.getAxisMotionValue(t),i=e.constraints[t],o=i.min,s=i.max;n.set((0,S.C)(o,s,a[t]))}}))}},t.prototype.addListeners=function(){var t,e=this;qn.set(this.visualElement,this);var n=Qe(this.visualElement.getInstance(),"pointerdown",(function(t){var n=e.getProps(),r=n.drag,i=n.dragListener;r&&(void 0===i||i)&&e.start(t)})),r=function(){b(e.getProps().dragConstraints)&&(e.constraints=e.resolveRefConstraints())},i=this.visualElement.projection,o=i.addEventListener("measure",r);i&&!i.layout&&(null===(t=i.root)||void 0===t||t.updateScroll(),i.updateLayout()),r();var a=Be(window,"resize",(function(){e.scalePositionWithinConstraints()}));return i.addEventListener("didUpdate",(function(t){var n=t.delta,r=t.hasLayoutChanged;e.isDragging&&r&&(kt((function(t){var r=e.getAxisMotionValue(t);r&&(e.originPoint[t]+=n[t].translate,r.set(r.get()+n[t].translate))})),e.visualElement.syncRender())})),function(){a(),n(),o()}},t.prototype.getProps=function(){var t=this.visualElement.getProps(),e=t.drag,n=void 0!==e&&e,i=t.dragDirectionLock,o=void 0!==i&&i,a=t.dragPropagation,s=void 0!==a&&a,u=t.dragConstraints,l=void 0!==u&&u,c=t.dragElastic,f=void 0===c?Un:c,d=t.dragMomentum,p=void 0===d||d;return(0,r.pi)((0,r.pi)({},t),{drag:n,dragDirectionLock:o,dragPropagation:s,dragConstraints:l,dragElastic:f,dragMomentum:p})},t}();function Xn(t,e,n){return!(!0!==e&&e!==t||null!==n&&n!==t)}var Kn={pan:yn((function(t){var e=t.onPan,n=t.onPanStart,r=t.onPanEnd,o=t.onPanSessionStart,a=t.visualElement,s=e||n||r||o,u=(0,i.useRef)(null),l=(0,i.useContext)(c).transformPagePoint,f={onSessionStart:o,onStart:n,onMove:e,onEnd:function(t,e){u.current=null,r&&r(t,e)}};(0,i.useEffect)((function(){null!==u.current&&u.current.updateHandlers(f)})),Je(a,"pointerdown",s&&function(t){u.current=new jn(t,f,{transformPagePoint:l})}),(0,un.z)((function(){return u.current&&u.current.end()}))})),drag:yn((function(t){var e=t.dragControls,n=t.visualElement,r=(0,C.h)((function(){return new $n(n)}));(0,i.useEffect)((function(){return e&&e.subscribe(r)}),[r,e]),(0,i.useEffect)((function(){return r.addListeners()}),[r])}))},Qn=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"];var Jn=function(t){var e=t.treeType,n=void 0===e?"":e,i=t.build,o=t.getBaseTarget,a=t.makeTargetAnimatable,s=t.measureViewportBox,u=t.render,l=t.readValueFromInstance,c=t.removeValueFromRenderState,f=t.sortNodePosition,d=t.scrapeMotionValuesFromProps;return function(t,e){var p=t.parent,v=t.props,m=t.presenceId,h=t.blockInitialAnimation,g=t.visualState,y=t.shouldReduceMotion;void 0===e&&(e={});var b,w,E=!1,C=g.latestValues,S=g.renderState,L=function(){var t=Qn.map((function(){return new A.L})),e={},n={clearAllListeners:function(){return t.forEach((function(t){return t.clear()}))},updatePropListeners:function(t){Qn.forEach((function(r){var i,o="on"+r,a=t[o];null===(i=e[r])||void 0===i||i.call(e),a&&(e[r]=n[o](a))}))}};return t.forEach((function(t,e){n["on"+Qn[e]]=function(e){return t.add(e)},n["notify"+Qn[e]]=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.notify.apply(t,(0,r.ev)([],(0,r.CR)(e),!1))}})),n}(),O=new Map,M=new Map,R={},j=(0,r.pi)({},C);function V(){b&&E&&(N(),u(b,S,v.style,U.projection))}function N(){i(U,S,C,e,v)}function I(){L.notifyUpdate(C)}function D(t,e){var n=e.onChange((function(e){C[t]=e,v.onUpdate&&T.ZP.update(I,!1,!0)})),r=e.onRenderRequest(U.scheduleRender);M.set(t,(function(){n(),r()}))}var F=d(v);for(var H in F){var B=F[H];void 0!==C[H]&&P(B)&&B.set(C[H],!1)}var z=(0,x.O6)(v),Z=(0,x.e8)(v),U=(0,r.pi)((0,r.pi)({treeType:n,current:null,depth:p?p.depth+1:0,parent:p,children:new Set,presenceId:m,shouldReduceMotion:y,variantChildren:Z?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(null==p?void 0:p.isMounted()),blockInitialAnimation:h,isMounted:function(){return Boolean(b)},mount:function(t){E=!0,b=U.current=t,U.projection&&U.projection.mount(t),Z&&p&&!z&&(w=null==p?void 0:p.addVariantChild(U)),O.forEach((function(t,e){return D(e,t)})),null==p||p.children.add(U),U.setProps(v)},unmount:function(){var t;null===(t=U.projection)||void 0===t||t.unmount(),T.qY.update(I),T.qY.render(V),M.forEach((function(t){return t()})),null==w||w(),null==p||p.children.delete(U),L.clearAllListeners(),b=void 0,E=!1},addVariantChild:function(t){var e,n=U.getClosestVariantNode();if(n)return null===(e=n.variantChildren)||void 0===e||e.add(t),function(){return n.variantChildren.delete(t)}},sortNodePosition:function(t){return f&&n===t.treeType?f(U.getInstance(),t.getInstance()):0},getClosestVariantNode:function(){return Z?U:null==p?void 0:p.getClosestVariantNode()},getLayoutId:function(){return v.layoutId},getInstance:function(){return b},getStaticValue:function(t){return C[t]},setStaticValue:function(t,e){return C[t]=e},getLatestValues:function(){return C},setVisibility:function(t){U.isVisible!==t&&(U.isVisible=t,U.scheduleRender())},makeTargetAnimatable:function(t,e){return void 0===e&&(e=!0),a(U,t,v,e)},measureViewportBox:function(){return s(b,v)},addValue:function(t,e){U.hasValue(t)&&U.removeValue(t),O.set(t,e),C[t]=e.get(),D(t,e)},removeValue:function(t){var e;O.delete(t),null===(e=M.get(t))||void 0===e||e(),M.delete(t),delete C[t],c(t,S)},hasValue:function(t){return O.has(t)},getValue:function(t,e){var n=O.get(t);return void 0===n&&void 0!==e&&(n=(0,k.B)(e),U.addValue(t,n)),n},forEachValue:function(t){return O.forEach(t)},readValue:function(t){var n;return null!==(n=C[t])&&void 0!==n?n:l(b,t,e)},setBaseTarget:function(t,e){j[t]=e},getBaseTarget:function(t){if(o){var e=o(v,t);if(void 0!==e&&!P(e))return e}return j[t]}},L),{build:function(){return N(),S},scheduleRender:function(){T.ZP.render(V,!1,!0)},syncRender:V,setProps:function(t){(t.transformTemplate||v.transformTemplate)&&U.scheduleRender(),v=t,L.updatePropListeners(t),R=function(t,e,n){var r;for(var i in e){var o=e[i],a=n[i];if(P(o))t.addValue(i,o);else if(P(a))t.addValue(i,(0,k.B)(o));else if(a!==o)if(t.hasValue(i)){var s=t.getValue(i);!s.hasAnimated&&s.set(o)}else t.addValue(i,(0,k.B)(null!==(r=t.getStaticValue(i))&&void 0!==r?r:o))}for(var i in n)void 0===e[i]&&t.removeValue(i);return e}(U,d(v),R)},getProps:function(){return v},getVariant:function(t){var e;return null===(e=v.variants)||void 0===e?void 0:e[t]},getDefaultTransition:function(){return v.transition},getTransformPagePoint:function(){return v.transformPagePoint},getVariantContext:function(t){if(void 0===t&&(t=!1),t)return null==p?void 0:p.getVariantContext();if(!z){var e=(null==p?void 0:p.getVariantContext())||{};return void 0!==v.initial&&(e.initial=v.initial),e}for(var n={},r=0;r<er;r++){var i=tr[r],o=v[i];((0,x.$L)(o)||!1===o)&&(n[i]=o)}return n}});return U}},tr=(0,r.ev)(["initial"],(0,r.CR)(Sn),!1),er=tr.length,nr=n(67065);function rr(t){return"string"==typeof t&&t.startsWith("var(--")}var ir=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function or(t,e,n){void 0===n&&(n=1),(0,Mn.k)(n<=4,'Max CSS variable fallback depth detected in property "'.concat(t,'". This may indicate a circular fallback dependency.'));var i=(0,r.CR)(function(t){var e=ir.exec(t);if(!e)return[,];var n=(0,r.CR)(e,3);return[n[1],n[2]]}(t),2),o=i[0],a=i[1];if(o){var s=window.getComputedStyle(e).getPropertyValue(o);return s?s.trim():rr(a)?or(a,e,n+1):a}}var ar,sr=n(77842),ur=n(14298),lr=new Set(["width","height","top","left","right","bottom","x","y"]),cr=function(t){return lr.has(t)},fr=function(t,e){t.set(e,!1),t.set(e)},dr=function(t){return t===sr.Rx||t===R.px};!function(t){t.width="width",t.height="height",t.left="left",t.right="right",t.top="top",t.bottom="bottom"}(ar||(ar={}));var pr=function(t,e){return parseFloat(t.split(", ")[e])},vr=function(t,e){return function(n,r){var i=r.transform;if("none"===i||!i)return 0;var o=i.match(/^matrix3d\((.+)\)$/);if(o)return pr(o[1],e);var a=i.match(/^matrix\((.+)\)$/);return a?pr(a[1],t):0}},mr=new Set(["x","y","z"]),hr=Pt.Gl.filter((function(t){return!mr.has(t)}));var gr={width:function(t,e){var n=t.x,r=e.paddingLeft,i=void 0===r?"0":r,o=e.paddingRight,a=void 0===o?"0":o;return n.max-n.min-parseFloat(i)-parseFloat(a)},height:function(t,e){var n=t.y,r=e.paddingTop,i=void 0===r?"0":r,o=e.paddingBottom,a=void 0===o?"0":o;return n.max-n.min-parseFloat(i)-parseFloat(a)},top:function(t,e){var n=e.top;return parseFloat(n)},left:function(t,e){var n=e.left;return parseFloat(n)},bottom:function(t,e){var n=t.y,r=e.top;return parseFloat(r)+(n.max-n.min)},right:function(t,e){var n=t.x,r=e.left;return parseFloat(r)+(n.max-n.min)},x:vr(4,13),y:vr(5,14)},yr=function(t,e,n,i){void 0===n&&(n={}),void 0===i&&(i={}),e=(0,r.pi)({},e),i=(0,r.pi)({},i);var o=Object.keys(e).filter(cr),a=[],s=!1,u=[];if(o.forEach((function(r){var o=t.getValue(r);if(t.hasValue(r)){var l,c=n[r],f=(0,ur.C)(c),d=e[r];if((0,En.C)(d)){var p=d.length,v=null===d[0]?1:0;c=d[v],f=(0,ur.C)(c);for(var m=v;m<p;m++)l?(0,Mn.k)((0,ur.C)(d[m])===l,"All keyframes must be of the same type"):(l=(0,ur.C)(d[m]),(0,Mn.k)(l===f||dr(f)&&dr(l),"Keyframes must be of the same dimension as the current value"))}else l=(0,ur.C)(d);if(f!==l)if(dr(f)&&dr(l)){var h=o.get();"string"==typeof h&&o.set(parseFloat(h)),"string"==typeof d?e[r]=parseFloat(d):Array.isArray(d)&&l===R.px&&(e[r]=d.map(parseFloat))}else(null==f?void 0:f.transform)&&(null==l?void 0:l.transform)&&(0===c||0===d)?0===c?o.set(l.transform(c)):e[r]=f.transform(d):(s||(a=function(t){var e=[];return hr.forEach((function(n){var r=t.getValue(n);void 0!==r&&(e.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))})),e.length&&t.syncRender(),e}(t),s=!0),u.push(r),i[r]=void 0!==i[r]?i[r]:e[r],fr(o,d))}})),u.length){var l=function(t,e,n){var r=e.measureViewportBox(),i=e.getInstance(),o=getComputedStyle(i),a=o.display,s={};"none"===a&&e.setStaticValue("display",t.display||"block"),n.forEach((function(t){s[t]=gr[t](r,o)})),e.syncRender();var u=e.measureViewportBox();return n.forEach((function(n){var r=e.getValue(n);fr(r,s[n]),t[n]=gr[n](u,o)})),t}(e,t,u);return a.length&&a.forEach((function(e){var n=(0,r.CR)(e,2),i=n[0],o=n[1];t.getValue(i).set(o)})),t.syncRender(),{target:l,transitionEnd:i}}return{target:e,transitionEnd:i}};function br(t,e,n,r){return function(t){return Object.keys(t).some(cr)}(e)?yr(t,e,n,r):{target:e,transitionEnd:r}}var xr=function(t,e,n,i){var o=function(t,e,n){var i,o=(0,r._T)(e,[]),a=t.getInstance();if(!(a instanceof Element))return{target:o,transitionEnd:n};for(var s in n&&(n=(0,r.pi)({},n)),t.forEachValue((function(t){var e=t.get();if(rr(e)){var n=or(e,a);n&&t.set(n)}})),o){var u=o[s];if(rr(u)){var l=or(u,a);l&&(o[s]=l,n&&(null!==(i=n[s])&&void 0!==i||(n[s]=u)))}}return{target:o,transitionEnd:n}}(t,e,i);return br(t,e=o.target,n,i=o.transitionEnd)},wr=n(74087);var Er={treeType:"dom",readValueFromInstance:function(t,e){if((0,Pt._c)(e)){var n=(0,wr.A)(e);return n&&n.default||0}var r,i=(r=t,window.getComputedStyle(r));return(se(e)?i.getPropertyValue(e):i[e])||0},sortNodePosition:function(t,e){return 2&t.compareDocumentPosition(e)?1:-1},getBaseTarget:function(t,e){var n;return null===(n=t.style)||void 0===n?void 0:n[e]},measureViewportBox:function(t,e){return Gn(t,e.transformPagePoint)},resetTransform:function(t,e,n){var r=n.transformTemplate;e.style.transform=r?r({},""):"none",t.scheduleRender()},restoreTransform:function(t,e){t.style.transform=e.style.transform},removeValueFromRenderState:function(t,e){var n=e.vars,r=e.style;delete n[t],delete r[t]},makeTargetAnimatable:function(t,e,n,i){var o=n.transformValues;void 0===i&&(i=!0);var a=e.transition,s=e.transitionEnd,u=(0,r._T)(e,["transition","transitionEnd"]),l=(0,nr.P$)(u,a||{},t);if(o&&(s&&(s=o(s)),u&&(u=o(u)),l&&(l=o(l))),i){(0,nr.GJ)(t,u,l);var c=xr(t,u,l,s);s=c.transitionEnd,u=c.target}return(0,r.pi)({transition:a,transitionEnd:s},u)},scrapeMotionValuesFromProps:Me,build:function(t,e,n,r,i){void 0!==t.isVisible&&(e.style.visibility=t.isVisible?"visible":"hidden"),ce(e,n,r,i.transformTemplate)},render:Le},Cr=Jn(Er),Tr=Jn((0,r.pi)((0,r.pi)({},Er),{getBaseTarget:function(t,e){return t[e]},readValueFromInstance:function(t,e){var n;return(0,Pt._c)(e)?(null===(n=(0,wr.A)(e))||void 0===n?void 0:n.default)||0:(e=Ae.has(e)?e:Pe(e),t.getAttribute(e))},scrapeMotionValuesFromProps:Re,build:function(t,e,n,r,i){Ee(e,n,r,i.transformTemplate)},render:Oe})),Sr=function(t,e){return ie(t)?Tr(e,{enableHardwareAcceleration:!1}):Cr(e,{enableHardwareAcceleration:!0})};function kr(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}var Pr={correct:function(t,e){if(!e.target)return t;if("string"==typeof t){if(!R.px.test(t))return t;t=parseFloat(t)}var n=kr(t,e.target.x),r=kr(t,e.target.y);return"".concat(n,"% ").concat(r,"%")}},Lr=n(42195),Ar="_$css",Or={correct:function(t,e){var n=e.treeScale,r=e.projectionDelta,i=t,o=t.includes("var("),a=[];o&&(t=t.replace(ir,(function(t){return a.push(t),Ar})));var s=Lr.P.parse(t);if(s.length>5)return i;var u=Lr.P.createTransformer(t),l="number"!=typeof s[0]?1:0,c=r.x.scale*n.x,f=r.y.scale*n.y;s[0+l]/=c,s[1+l]/=f;var d=(0,S.C)(c,f,.5);"number"==typeof s[2+l]&&(s[2+l]/=d),"number"==typeof s[3+l]&&(s[3+l]/=d);var p=u(s);if(o){var v=0;p=p.replace(Ar,(function(){var t=a[v];return v++,t}))}return p}},Mr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.ZT)(e,t),e.prototype.componentDidMount=function(){var t,e=this,n=this.props,i=n.visualElement,o=n.layoutGroup,a=n.switchLayoutGroup,s=n.layoutId,u=i.projection;t=Rr,Object.assign(Tt,t),u&&((null==o?void 0:o.group)&&o.group.add(u),(null==a?void 0:a.register)&&s&&a.register(u),u.root.didUpdate(),u.addEventListener("animationComplete",(function(){e.safeToRemove()})),u.setOptions((0,r.pi)((0,r.pi)({},u.options),{onExitComplete:function(){return e.safeToRemove()}}))),Rt.hasEverUpdated=!0},e.prototype.getSnapshotBeforeUpdate=function(t){var e=this,n=this.props,r=n.layoutDependency,i=n.visualElement,o=n.drag,a=n.isPresent,s=i.projection;return s?(s.isPresent=a,o||t.layoutDependency!==r||void 0===r?s.willUpdate():this.safeToRemove(),t.isPresent!==a&&(a?s.promote():s.relegate()||T.ZP.postRender((function(){var t;(null===(t=s.getStack())||void 0===t?void 0:t.members.length)||e.safeToRemove()}))),null):null},e.prototype.componentDidUpdate=function(){var t=this.props.visualElement.projection;t&&(t.root.didUpdate(),!t.currentAnimation&&t.isLead()&&this.safeToRemove())},e.prototype.componentWillUnmount=function(){var t=this.props,e=t.visualElement,n=t.layoutGroup,r=t.switchLayoutGroup,i=e.projection;i&&(i.scheduleCheckAfterUnmount(),(null==n?void 0:n.group)&&n.group.remove(i),(null==r?void 0:r.deregister)&&r.deregister(i))},e.prototype.safeToRemove=function(){var t=this.props.safeToRemove;null==t||t()},e.prototype.render=function(){return null},e}(i.Component);var Rr={borderRadius:(0,r.pi)((0,r.pi)({},Pr),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:Pr,borderTopRightRadius:Pr,borderBottomLeftRadius:Pr,borderBottomRightRadius:Pr,boxShadow:Or},jr={measureLayout:function(t){var e=(0,r.CR)(wn(),2),n=e[0],o=e[1],a=(0,i.useContext)(Qt.p);return i.createElement(Mr,(0,r.pi)({},t,{layoutGroup:a,switchLayoutGroup:(0,i.useContext)(Jt),isPresent:n,safeToRemove:o}))}},Vr=jt({attachResizeListener:function(t,e){return t.addEventListener("resize",e,{passive:!0}),function(){return t.removeEventListener("resize",e)}},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}}}),Nr={current:void 0},Ir=jt({measureScroll:function(t){return{x:t.scrollLeft,y:t.scrollTop}},defaultParent:function(){if(!Nr.current){var t=new Vr(0,{});t.mount(window),t.setOptions({layoutScroll:!0}),Nr.current=t}return Nr.current},resetTransform:function(t,e){t.style.transform=null!=e?e:"none"}}),Dr=(0,r.pi)((0,r.pi)((0,r.pi)((0,r.pi)({},On),bn),Kn),jr),Fr=ne((function(t,e){return function(t,e,n,i,o){var a=e.forwardMotionProps,s=void 0!==a&&a,u=ie(t)?Fe:He;return(0,r.pi)((0,r.pi)({},u),{preloadedFeatures:n,useRender:Se(s),createVisualElement:i,projectionNodeConstructor:o,Component:t})}(t,e,Dr,Sr,Ir)}))},45581:function(t,e,n){"use strict";n.d(e,{T:function(){return a}});var r=n(9180),i=n(42195),o=n(74087);function a(t,e){var n,a=(0,o.A)(t);return a!==r.h&&(a=i.P),null===(n=a.getAnimatableNone)||void 0===n?void 0:n.call(a,e)}},74087:function(t,e,n){"use strict";n.d(e,{A:function(){return u}});var r=n(79900),i=n(85471),o=n(9180),a=n(81805),s=(0,r.pi)((0,r.pi)({},a.j),{color:i.$,backgroundColor:i.$,outlineColor:i.$,fill:i.$,stroke:i.$,borderColor:i.$,borderTopColor:i.$,borderRightColor:i.$,borderBottomColor:i.$,borderLeftColor:i.$,filter:o.h,WebkitFilter:o.h}),u=function(t){return s[t]}},14298:function(t,e,n){"use strict";n.d(e,{$:function(){return a},C:function(){return s}});var r=n(77842),i=n(28004),o=n(13599),a=[r.Rx,i.px,i.aQ,i.RW,i.vw,i.vh,{test:function(t){return"auto"===t},parse:function(t){return t}}],s=function(t){return a.find((0,o.l)(t))}},81805:function(t,e,n){"use strict";n.d(e,{j:function(){return s}});var r=n(28004),i=n(77842),o=n(79900),a=(0,o.pi)((0,o.pi)({},i.Rx),{transform:Math.round}),s={borderWidth:r.px,borderTopWidth:r.px,borderRightWidth:r.px,borderBottomWidth:r.px,borderLeftWidth:r.px,borderRadius:r.px,radius:r.px,borderTopLeftRadius:r.px,borderTopRightRadius:r.px,borderBottomRightRadius:r.px,borderBottomLeftRadius:r.px,width:r.px,maxWidth:r.px,height:r.px,maxHeight:r.px,size:r.px,top:r.px,right:r.px,bottom:r.px,left:r.px,padding:r.px,paddingTop:r.px,paddingRight:r.px,paddingBottom:r.px,paddingLeft:r.px,margin:r.px,marginTop:r.px,marginRight:r.px,marginBottom:r.px,marginLeft:r.px,rotate:r.RW,rotateX:r.RW,rotateY:r.RW,rotateZ:r.RW,scale:i.bA,scaleX:i.bA,scaleY:i.bA,scaleZ:i.bA,skew:r.RW,skewX:r.RW,skewY:r.RW,distance:r.px,translateX:r.px,translateY:r.px,translateZ:r.px,x:r.px,y:r.px,z:r.px,perspective:r.px,transformPerspective:r.px,opacity:i.Fq,originX:r.$C,originY:r.$C,originZ:r.px,zIndex:a,fillOpacity:i.Fq,strokeOpacity:i.Fq,numOctaves:a}},13599:function(t,e,n){"use strict";n.d(e,{l:function(){return r}});var r=function(t){return function(e){return e.test(t)}}},51535:function(t,e,n){"use strict";n.d(e,{Ee:function(){return l},Gl:function(){return i},_c:function(){return s},r$:function(){return r},s3:function(){return o}});var r=["","X","Y","Z"],i=["transformPerspective","x","y","z"];function o(t,e){return i.indexOf(t)-i.indexOf(e)}["translate","scale","rotate","skew"].forEach((function(t){return r.forEach((function(e){return i.push(t+e)}))}));var a=new Set(i);function s(t){return a.has(t)}var u=new Set(["originX","originY","originZ"]);function l(t){return u.has(t)}},92484:function(t,e,n){"use strict";n.d(e,{d5:function(){return u},p_:function(){return f}});var r=n(79900),i=n(3647),o=n(67065),a=n(42435),s=n(51535);function u(t,e,n){var r;if(void 0===n&&(n={}),t.notifyAnimationStart(e),Array.isArray(e)){var i=e.map((function(e){return l(t,e,n)}));r=Promise.all(i)}else if("string"==typeof e)r=l(t,e,n);else{var o="function"==typeof e?(0,a.x5)(t,e,n.custom):e;r=c(t,o,n)}return r.then((function(){return t.notifyAnimationComplete(e)}))}function l(t,e,n){var i;void 0===n&&(n={});var o=(0,a.x5)(t,e,n.custom),s=(o||{}).transition,u=void 0===s?t.getDefaultTransition()||{}:s;n.transitionOverride&&(u=n.transitionOverride);var f=o?function(){return c(t,o,n)}:function(){return Promise.resolve()},p=(null===(i=t.variantChildren)||void 0===i?void 0:i.size)?function(i){void 0===i&&(i=0);var o=u.delayChildren,a=void 0===o?0:o,s=u.staggerChildren,c=u.staggerDirection;return function(t,e,n,i,o,a){void 0===n&&(n=0);void 0===i&&(i=0);void 0===o&&(o=1);var s=[],u=(t.variantChildren.size-1)*i,c=1===o?function(t){return void 0===t&&(t=0),t*i}:function(t){return void 0===t&&(t=0),u-t*i};return Array.from(t.variantChildren).sort(d).forEach((function(t,i){s.push(l(t,e,(0,r.pi)((0,r.pi)({},a),{delay:n+c(i)})).then((function(){return t.notifyAnimationComplete(e)})))})),Promise.all(s)}(t,e,a+i,s,c,n)}:function(){return Promise.resolve()},v=u.when;if(v){var m=(0,r.CR)("beforeChildren"===v?[f,p]:[p,f],2),h=m[0],g=m[1];return h().then(g)}return Promise.all([f(),p(n.delay)])}function c(t,e,n){var a,u=void 0===n?{}:n,l=u.delay,c=void 0===l?0:l,f=u.transitionOverride,d=u.type,v=t.makeTargetAnimatable(e),m=v.transition,h=void 0===m?t.getDefaultTransition():m,g=v.transitionEnd,y=(0,r._T)(v,["transition","transitionEnd"]);f&&(h=f);var b=[],x=d&&(null===(a=t.animationState)||void 0===a?void 0:a.getState()[d]);for(var w in y){var E=t.getValue(w),C=y[w];if(!(!E||void 0===C||x&&p(x,w))){var T=(0,r.pi)({delay:c},h);t.shouldReduceMotion&&(0,s._c)(w)&&(T=(0,r.pi)((0,r.pi)({},T),{type:!1,delay:0}));var S=(0,i.b8)(w,E,C,T);b.push(S)}}return Promise.all(b).then((function(){g&&(0,o.CD)(t,g)}))}function f(t){t.forEachValue((function(t){return t.stop()}))}function d(t,e){return t.sortNodePosition(e)}function p(t,e){var n=t.protectedKeys,r=t.needsAnimating,i=n.hasOwnProperty(e)&&!0!==r[e];return r[e]=!1,i}},67065:function(t,e,n){"use strict";n.d(e,{GJ:function(){return b},P$:function(){return w},CD:function(){return h},gg:function(){return y}});var r=n(79900),i=n(42195),o=function(t){return/^0[^.\s]+$/.test(t)},a=n(16325),s=n(27442),u=n(45581),l=n(85471),c=n(14298),f=n(13599),d=(0,r.ev)((0,r.ev)([],(0,r.CR)(c.$),!1),[l.$,i.P],!1),p=function(t){return d.find((0,f.l)(t))},v=n(42435);function m(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,(0,s.B)(n))}function h(t,e){var n=(0,v.x5)(t,e),i=n?t.makeTargetAnimatable(n,!1):{},o=i.transitionEnd,s=void 0===o?{}:o;i.transition;var u=(0,r._T)(i,["transitionEnd","transition"]);for(var l in u=(0,r.pi)((0,r.pi)({},u),s)){m(t,l,(0,a.Y)(u[l]))}}function g(t,e){(0,r.ev)([],(0,r.CR)(e),!1).reverse().forEach((function(n){var r,i=t.getVariant(n);i&&h(t,i),null===(r=t.variantChildren)||void 0===r||r.forEach((function(t){g(t,e)}))}))}function y(t,e){return Array.isArray(e)?g(t,e):"string"==typeof e?g(t,[e]):void h(t,e)}function b(t,e,n){var r,a,l,c,f=Object.keys(e).filter((function(e){return!t.hasValue(e)})),d=f.length;if(d)for(var v=0;v<d;v++){var m=f[v],h=e[m],g=null;Array.isArray(h)&&(g=h[0]),null===g&&(g=null!==(a=null!==(r=n[m])&&void 0!==r?r:t.readValue(m))&&void 0!==a?a:e[m]),null!=g&&("string"==typeof g&&(/^\-?\d*\.?\d+$/.test(g)||o(g))?g=parseFloat(g):!p(g)&&i.P.test(h)&&(g=(0,u.T)(m,h)),t.addValue(m,(0,s.B)(g)),null!==(l=(c=n)[m])&&void 0!==l||(c[m]=g),t.setBaseTarget(m,g))}}function x(t,e){if(e)return(e[t]||e.default||e).from}function w(t,e,n){var r,i,o={};for(var a in t)o[a]=null!==(r=x(a,e))&&void 0!==r?r:null===(i=n.getValue(a))||void 0===i?void 0:i.get();return o}},42435:function(t,e,n){"use strict";function r(t){return Array.isArray(t)}function i(t){return"string"==typeof t||r(t)}function o(t,e,n,r,i){var o;return void 0===r&&(r={}),void 0===i&&(i={}),"function"==typeof e&&(e=e(null!=n?n:t.custom,r,i)),"string"==typeof e&&(e=null===(o=t.variants)||void 0===o?void 0:o[e]),"function"==typeof e&&(e=e(null!=n?n:t.custom,r,i)),e}function a(t,e,n){var r=t.getProps();return o(r,e,null!=n?n:r.custom,function(t){var e={};return t.forEachValue((function(t,n){return e[n]=t.get()})),e}(t),function(t){var e={};return t.forEachValue((function(t,n){return e[n]=t.getVelocity()})),e}(t))}function s(t){var e;return"function"==typeof(null===(e=t.animate)||void 0===e?void 0:e.start)||i(t.initial)||i(t.animate)||i(t.whileHover)||i(t.whileDrag)||i(t.whileTap)||i(t.whileFocus)||i(t.exit)}function u(t){return Boolean(s(t)||t.variants)}n.d(e,{$L:function(){return i},A0:function(){return r},O6:function(){return s},e8:function(){return u},oQ:function(){return o},x5:function(){return a}})},35406:function(t,e,n){"use strict";function r(t,e){-1===t.indexOf(e)&&t.push(e)}function i(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}n.d(e,{cl:function(){return i},y4:function(){return r}})},27037:function(t,e,n){"use strict";n.d(e,{j:function(){return r}});var r="undefined"!=typeof document},16325:function(t,e,n){"use strict";n.d(e,{Y:function(){return o},p:function(){return i}});var r=n(77270),i=function(t){return Boolean(t&&"object"==typeof t&&t.mix&&t.toValue)},o=function(t){return(0,r.C)(t)?t[t.length-1]||0:t}},883:function(t,e,n){"use strict";n.d(e,{L:function(){return i}});var r=n(35406),i=function(){function t(){this.subscriptions=[]}return t.prototype.add=function(t){var e=this;return(0,r.y4)(this.subscriptions,t),function(){return(0,r.cl)(e.subscriptions,t)}},t.prototype.notify=function(t,e,n){var r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](t,e,n);else for(var i=0;i<r;i++){var o=this.subscriptions[i];o&&o(t,e,n)}},t.prototype.getSize=function(){return this.subscriptions.length},t.prototype.clear=function(){this.subscriptions.length=0},t}()},36012:function(t,e,n){"use strict";n.d(e,{w:function(){return r}});var r=function(t){return 1e3*t}},81751:function(t,e,n){"use strict";n.d(e,{h:function(){return i}});var r=n(67294);function i(t){var e=(0,r.useRef)(null);return null===e.current&&(e.current=t()),e.current}},45198:function(t,e,n){"use strict";n.d(e,{M:function(){return a}});var r=n(81751),i=0,o=function(){return i++},a=function(){return(0,r.h)(o)}},31e3:function(t,e,n){"use strict";n.d(e,{L:function(){return i}});var r=n(67294),i=n(27037).j?r.useLayoutEffect:r.useEffect},30296:function(t,e,n){"use strict";n.d(e,{z:function(){return i}});var r=n(67294);function i(t){return(0,r.useEffect)((function(){return function(){return t()}}),[])}},27442:function(t,e,n){"use strict";n.d(e,{B:function(){return s}});var r=n(78614),i=n(62461),o=n(883),a=function(){function t(t){var e,n=this;this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new o.L,this.velocityUpdateSubscribers=new o.L,this.renderSubscribers=new o.L,this.canTrackVelocity=!1,this.updateAndNotify=function(t,e){void 0===e&&(e=!0),n.prev=n.current,n.current=t;var i=(0,r.$B)(),o=i.delta,a=i.timestamp;n.lastUpdated!==a&&(n.timeDelta=o,n.lastUpdated=a,r.ZP.postRender(n.scheduleVelocityCheck)),n.prev!==n.current&&n.updateSubscribers.notify(n.current),n.velocityUpdateSubscribers.getSize()&&n.velocityUpdateSubscribers.notify(n.getVelocity()),e&&n.renderSubscribers.notify(n.current)},this.scheduleVelocityCheck=function(){return r.ZP.postRender(n.velocityCheck)},this.velocityCheck=function(t){t.timestamp!==n.lastUpdated&&(n.prev=n.current,n.velocityUpdateSubscribers.notify(n.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=(e=this.current,!isNaN(parseFloat(e)))}return t.prototype.onChange=function(t){return this.updateSubscribers.add(t)},t.prototype.clearListeners=function(){this.updateSubscribers.clear()},t.prototype.onRenderRequest=function(t){return t(this.get()),this.renderSubscribers.add(t)},t.prototype.attach=function(t){this.passiveEffect=t},t.prototype.set=function(t,e){void 0===e&&(e=!0),e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)},t.prototype.get=function(){return this.current},t.prototype.getPrevious=function(){return this.prev},t.prototype.getVelocity=function(){return this.canTrackVelocity?(0,i.R)(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},t.prototype.start=function(t){var e=this;return this.stop(),new Promise((function(n){e.hasAnimated=!0,e.stopAnimation=t(n)})).then((function(){return e.clearAnimation()}))},t.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},t.prototype.isAnimating=function(){return!!this.stopAnimation},t.prototype.clearAnimation=function(){this.stopAnimation=null},t.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},t}();function s(t){return new a(t)}},78614:function(t,e,n){"use strict";n.d(e,{qY:function(){return p},ZP:function(){return b},iW:function(){return v},$B:function(){return y}});var r=1/60*1e3,i="undefined"!=typeof performance?function(){return performance.now()}:function(){return Date.now()},o="undefined"!=typeof window?function(t){return window.requestAnimationFrame(t)}:function(t){return setTimeout((function(){return t(i())}),r)};var a=!0,s=!1,u=!1,l={delta:0,timestamp:0},c=["read","update","preRender","render","postRender"],f=c.reduce((function(t,e){return t[e]=function(t){var e=[],n=[],r=0,i=!1,o=!1,a=new WeakSet,s={schedule:function(t){var o=arguments.length>2&&void 0!==arguments[2]&&arguments[2]&&i,s=o?e:n;return arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&a.add(t),-1===s.indexOf(t)&&(s.push(t),o&&i&&(r=e.length)),t},cancel:function(t){var e=n.indexOf(t);-1!==e&&n.splice(e,1),a.delete(t)},process:function(u){if(i)o=!0;else{i=!0;var l=[n,e];if(e=l[0],(n=l[1]).length=0,r=e.length)for(var c=0;c<r;c++){var f=e[c];f(u),a.has(f)&&(s.schedule(f),t())}i=!1,o&&(o=!1,s.process(u))}}};return s}((function(){return s=!0})),t}),{}),d=c.reduce((function(t,e){var n=f[e];return t[e]=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return s||g(),n.schedule(t,e,r)},t}),{}),p=c.reduce((function(t,e){return t[e]=f[e].cancel,t}),{}),v=c.reduce((function(t,e){return t[e]=function(){return f[e].process(l)},t}),{}),m=function(t){return f[t].process(l)},h=function t(e){s=!1,l.delta=a?r:Math.max(Math.min(e-l.timestamp,40),1),l.timestamp=e,u=!0,c.forEach(m),u=!1,s&&(a=!1,o(t))},g=function(){s=!0,a=!0,u||o(h)},y=function(){return l},b=d},12677:function(t,e,n){"use strict";n.d(e,{K:function(){return r},k:function(){return i}});var r=function(){},i=function(){}},85985:function(t,e,n){"use strict";n.d(e,{LU:function(){return g},G2:function(){return v},XL:function(){return h},CG:function(){return m},h9:function(){return b},yD:function(){return x},gJ:function(){return y},Z7:function(){return f},X7:function(){return p},Bn:function(){return d},YQ:function(){return u},mZ:function(){return c},Vv:function(){return l},GE:function(){return s}});var r,i=function(t){return function(e){return 1-t(1-e)}},o=function(t){return function(e){return e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2}},a=function(t){return function(e){return e*e*((t+1)*e-t)}},s=function(t){return t},u=(r=2,function(t){return Math.pow(t,r)}),l=i(u),c=o(u),f=function(t){return 1-Math.sin(Math.acos(t))},d=i(f),p=o(d),v=a(1.525),m=i(v),h=o(v),g=function(t){var e=a(t);return function(t){return(t*=2)<1?.5*e(t):.5*(2-Math.pow(2,-10*(t-1)))}}(1.525),y=function(t){if(1===t||0===t)return t;var e=t*t;return t<.36363636363636365?7.5625*e:t<.7272727272727273?9.075*e-9.9*t+3.4:t<.9?12.066481994459833*e-19.63545706371191*t+8.898060941828255:10.8*t*t-20.52*t+10.72},b=i(y),x=function(t){return t<.5?.5*(1-y(1-2*t)):.5*y(2*t-1)+.5}},14638:function(t,e,n){"use strict";n.d(e,{u:function(){return r}});var r=function(t,e,n){return Math.min(Math.max(n,t),e)}},41934:function(t,e,n){"use strict";n.d(e,{e:function(){return r}});var r=function(t){return"number"==typeof t}},83628:function(t,e,n){"use strict";n.d(e,{C:function(){return r}});var r=function(t,e,n){return-n*t+n*e+t}},23907:function(t,e,n){"use strict";n.d(e,{z:function(){return i}});var r=function(t,e){return function(n){return e(t(n))}},i=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.reduce(r)}},26194:function(t,e,n){"use strict";n.d(e,{Y:function(){return r}});var r=function(t,e,n){var r=e-t;return 0===r?1:(n-t)/r}},62461:function(t,e,n){"use strict";function r(t,e){return e?t*(1e3/e):0}n.d(e,{R:function(){return r}})},23302:function(t){var e="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(t,a){if(t===a)return!0;if(t&&a&&"object"==typeof t&&"object"==typeof a){if(t.constructor!==a.constructor)return!1;var s,u,l,c;if(Array.isArray(t)){if((s=t.length)!=a.length)return!1;for(u=s;0!=u--;)if(!o(t[u],a[u]))return!1;return!0}if(n&&t instanceof Map&&a instanceof Map){if(t.size!==a.size)return!1;for(c=t.entries();!(u=c.next()).done;)if(!a.has(u.value[0]))return!1;for(c=t.entries();!(u=c.next()).done;)if(!o(u.value[1],a.get(u.value[0])))return!1;return!0}if(r&&t instanceof Set&&a instanceof Set){if(t.size!==a.size)return!1;for(c=t.entries();!(u=c.next()).done;)if(!a.has(u.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(a)){if((s=t.length)!=a.length)return!1;for(u=s;0!=u--;)if(t[u]!==a[u])return!1;return!0}if(t.constructor===RegExp)return t.source===a.source&&t.flags===a.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===a.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===a.toString();if((s=(l=Object.keys(t)).length)!==Object.keys(a).length)return!1;for(u=s;0!=u--;)if(!Object.prototype.hasOwnProperty.call(a,l[u]))return!1;if(e&&t instanceof Element)return!1;for(u=s;0!=u--;)if(("_owner"!==l[u]&&"__v"!==l[u]&&"__o"!==l[u]||!t.$$typeof)&&!o(t[l[u]],a[l[u]]))return!1;return!0}return t!=t&&a!=a}t.exports=function(t,e){try{return o(t,e)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},78028:function(t,e,n){"use strict";n.d(e,{YD:function(){return S}});var r=n(70885),i=n(4942),o=n(45987),a=n(15671),s=n(43144),u=n(97326),l=n(60136),c=n(6215),f=n(61120),d=n(67294),p=["as","triggerOnce","threshold","root","rootMargin","onChange","skip","trackVisibility","delay","initialInView","fallbackInView"];function v(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function m(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=(0,f.Z)(t);if(e){var i=(0,f.Z)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,c.Z)(this,n)}}var h=Object.defineProperty,g=function(t,e,n){return function(t,e,n){e in t?h(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n}(t,"symbol"!=typeof e?e+"":e,n),n},y=new Map,b=new WeakMap,x=0,w=void 0;function E(t){return Object.keys(t).sort().filter((function(e){return void 0!==t[e]})).map((function(e){return"".concat(e,"_").concat("root"===e?(n=t.root)?(b.has(n)||(x+=1,b.set(n,x.toString())),b.get(n)):"0":t[e]);var n})).toString()}function C(t){var e=E(t),n=y.get(e);if(!n){var r,i=new Map,o=new IntersectionObserver((function(e){e.forEach((function(e){var n,o=e.isIntersecting&&r.some((function(t){return e.intersectionRatio>=t}));t.trackVisibility&&void 0===e.isVisible&&(e.isVisible=o),null==(n=i.get(e.target))||n.forEach((function(t){t(o,e)}))}))}),t);r=o.thresholds||(Array.isArray(t.threshold)?t.threshold:[t.threshold||0]),n={id:e,observer:o,elements:i},y.set(e,n)}return n}function T(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:w;if(void 0===window.IntersectionObserver&&void 0!==r){var i=t.getBoundingClientRect();return e(r,{isIntersecting:r,target:t,intersectionRatio:"number"==typeof n.threshold?n.threshold:0,time:0,boundingClientRect:i,intersectionRect:i,rootBounds:i}),function(){}}var o=C(n),a=o.id,s=o.observer,u=o.elements,l=u.get(t)||[];return u.has(t)||u.set(t,l),l.push(e),s.observe(t),function(){l.splice(l.indexOf(e),1),0===l.length&&(u.delete(t),s.unobserve(t)),0===u.size&&(s.disconnect(),y.delete(a))}}d.Component;function S(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.threshold,i=e.delay,o=e.trackVisibility,a=e.rootMargin,s=e.root,u=e.triggerOnce,l=e.skip,c=e.initialInView,f=e.fallbackInView,p=e.onChange,v=d.useState(null),m=(0,r.Z)(v,2),h=m[0],g=m[1],y=d.useRef(),b=d.useState({inView:!!c,entry:void 0}),x=(0,r.Z)(b,2),w=x[0],E=x[1];y.current=p,d.useEffect((function(){var t;if(!l&&h)return t=T(h,(function(e,n){E({inView:e,entry:n}),y.current&&y.current(e,n),n.isIntersecting&&u&&t&&(t(),t=void 0)}),{root:s,rootMargin:a,threshold:n,trackVisibility:o,delay:i},f),function(){t&&t()}}),[Array.isArray(n)?n.toString():n,h,s,a,u,l,o,f,i]);var C=null==(t=w.entry)?void 0:t.target,S=d.useRef();h||!C||u||l||S.current===C||(S.current=C,E({inView:!!c,entry:void 0}));var k=[g,w.inView,w.entry];return k.ref=k[0],k.inView=k[1],k.entry=k[2],k}},24839:function(t,e,n){"use strict";var r,i=n(67294),o=(r=i)&&"object"==typeof r&&"default"in r?r.default:r;function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var s=!("undefined"==typeof window||!window.document||!window.document.createElement);t.exports=function(t,e,n){if("function"!=typeof t)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof e)throw new Error("Expected handleStateChangeOnClient to be a function.");if(void 0!==n&&"function"!=typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(r){if("function"!=typeof r)throw new Error("Expected WrappedComponent to be a React component.");var u,l=[];function c(){u=t(l.map((function(t){return t.props}))),f.canUseDOM?e(u):n&&(u=n(u))}var f=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,i.peek=function(){return u},i.rewind=function(){if(i.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var t=u;return u=void 0,l=[],t};var a=i.prototype;return a.UNSAFE_componentWillMount=function(){l.push(this),c()},a.componentDidUpdate=function(){c()},a.componentWillUnmount=function(){var t=l.indexOf(this);l.splice(t,1),c()},a.render=function(){return o.createElement(r,this.props)},i}(i.PureComponent);return a(f,"displayName","SideEffect("+function(t){return t.displayName||t.name||"Component"}(r)+")"),a(f,"canUseDOM",s),f}}},45676:function(t,e,n){"use strict";n.d(e,{$:function(){return i}});var r=n(95900);var i={test:(0,n(12747).i)("#"),parse:function(t){var e="",n="",r="",i="";return t.length>5?(e=t.substr(1,2),n=t.substr(3,2),r=t.substr(5,2),i=t.substr(7,2)):(e=t.substr(1,1),n=t.substr(2,1),r=t.substr(3,1),i=t.substr(4,1),e+=e,n+=n,r+=r,i+=i),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}},transform:r.m.transform}},77664:function(t,e,n){"use strict";n.d(e,{J:function(){return s}});var r=n(77842),i=n(28004),o=n(97857),a=n(12747),s={test:(0,a.i)("hsl","hue"),parse:(0,a.d)("hue","saturation","lightness"),transform:function(t){var e=t.hue,n=t.saturation,a=t.lightness,s=t.alpha,u=void 0===s?1:s;return"hsla("+Math.round(e)+", "+i.aQ.transform((0,o.Nw)(n))+", "+i.aQ.transform((0,o.Nw)(a))+", "+(0,o.Nw)(r.Fq.transform(u))+")"}}},85471:function(t,e,n){"use strict";n.d(e,{$:function(){return s}});var r=n(97857),i=n(45676),o=n(77664),a=n(95900),s={test:function(t){return a.m.test(t)||i.$.test(t)||o.J.test(t)},parse:function(t){return a.m.test(t)?a.m.parse(t):o.J.test(t)?o.J.parse(t):i.$.parse(t)},transform:function(t){return(0,r.HD)(t)?t:t.hasOwnProperty("red")?a.m.transform(t):o.J.transform(t)}}},95900:function(t,e,n){"use strict";n.d(e,{m:function(){return u}});var r=n(77842),i=n(97857),o=n(12747),a=(0,i.uZ)(0,255),s=Object.assign(Object.assign({},r.Rx),{transform:function(t){return Math.round(a(t))}}),u={test:(0,o.i)("rgb","red"),parse:(0,o.d)("red","green","blue"),transform:function(t){var e=t.red,n=t.green,o=t.blue,a=t.alpha,u=void 0===a?1:a;return"rgba("+s.transform(e)+", "+s.transform(n)+", "+s.transform(o)+", "+(0,i.Nw)(r.Fq.transform(u))+")"}}},12747:function(t,e,n){"use strict";n.d(e,{d:function(){return s},i:function(){return a}});var r=n(4942),i=n(70885),o=n(97857),a=function(t,e){return function(n){return Boolean((0,o.HD)(n)&&o.mj.test(n)&&n.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(n,e))}},s=function(t,e,n){return function(a){var s;if(!(0,o.HD)(a))return a;var u=a.match(o.KP),l=(0,i.Z)(u,4),c=l[0],f=l[1],d=l[2],p=l[3];return s={},(0,r.Z)(s,t,parseFloat(c)),(0,r.Z)(s,e,parseFloat(f)),(0,r.Z)(s,n,parseFloat(d)),(0,r.Z)(s,"alpha",void 0!==p?parseFloat(p):1),s}}},9180:function(t,e,n){"use strict";n.d(e,{h:function(){return l}});var r=n(70885),i=n(42195),o=n(97857),a=new Set(["brightness","contrast","saturate","opacity"]);function s(t){var e=t.slice(0,-1).split("("),n=(0,r.Z)(e,2),i=n[0],s=n[1];if("drop-shadow"===i)return t;var u=s.match(o.KP)||[],l=(0,r.Z)(u,1)[0];if(!l)return t;var c=s.replace(l,""),f=a.has(i)?1:0;return l!==s&&(f*=100),i+"("+f+c+")"}var u=/([a-z-]*)\(.*?\)/g,l=Object.assign(Object.assign({},i.P),{getAnimatableNone:function(t){var e=t.match(u);return e?e.map(s).join(" "):t}})},42195:function(t,e,n){"use strict";n.d(e,{P:function(){return p}});var r=n(42982),i=n(85471),o=n(77842),a=n(97857),s="${c}",u="${n}";function l(t){"number"==typeof t&&(t="".concat(t));var e=[],n=0,l=t.match(a.dA);l&&(n=l.length,t=t.replace(a.dA,s),e.push.apply(e,(0,r.Z)(l.map(i.$.parse))));var c=t.match(a.KP);return c&&(t=t.replace(a.KP,u),e.push.apply(e,(0,r.Z)(c.map(o.Rx.parse)))),{values:e,numColors:n,tokenised:t}}function c(t){return l(t).values}function f(t){var e=l(t),n=e.values,r=e.numColors,o=e.tokenised,c=n.length;return function(t){for(var e=o,n=0;n<c;n++)e=e.replace(n<r?s:u,n<r?i.$.transform(t[n]):(0,a.Nw)(t[n]));return e}}var d=function(t){return"number"==typeof t?0:t};var p={test:function(t){var e,n,r,i;return isNaN(t)&&(0,a.HD)(t)&&(null!==(n=null===(e=t.match(a.KP))||void 0===e?void 0:e.length)&&void 0!==n?n:0)+(null!==(i=null===(r=t.match(a.dA))||void 0===r?void 0:r.length)&&void 0!==i?i:0)>0},parse:c,createTransformer:f,getAnimatableNone:function(t){var e=c(t);return f(t)(e.map(d))}}},77842:function(t,e,n){"use strict";n.d(e,{Fq:function(){return o},Rx:function(){return i},bA:function(){return a}});var r=n(97857),i={test:function(t){return"number"==typeof t},parse:parseFloat,transform:function(t){return t}},o=Object.assign(Object.assign({},i),{transform:(0,r.uZ)(0,1)}),a=Object.assign(Object.assign({},i),{default:1})},28004:function(t,e,n){"use strict";n.d(e,{$C:function(){return c},RW:function(){return o},aQ:function(){return a},px:function(){return s},vh:function(){return u},vw:function(){return l}});var r=n(97857),i=function(t){return{test:function(e){return(0,r.HD)(e)&&e.endsWith(t)&&1===e.split(" ").length},parse:parseFloat,transform:function(e){return"".concat(e).concat(t)}}},o=i("deg"),a=i("%"),s=i("px"),u=i("vh"),l=i("vw"),c=Object.assign(Object.assign({},a),{parse:function(t){return a.parse(t)/100},transform:function(t){return a.transform(100*t)}})},97857:function(t,e,n){"use strict";n.d(e,{HD:function(){return u},KP:function(){return o},Nw:function(){return i},dA:function(){return a},mj:function(){return s},uZ:function(){return r}});var r=function(t,e){return function(n){return Math.max(Math.min(n,e),t)}},i=function(t){return t%1?Number(t.toFixed(5)):t},o=/(-)?([\d]*\.?[\d])+/g,a=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,s=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function u(t){return"string"==typeof t}},79900:function(t,e,n){"use strict";n.d(e,{CR:function(){return u},XA:function(){return s},ZT:function(){return i},_T:function(){return a},ev:function(){return l},pi:function(){return o}});var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)};function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},o.apply(this,arguments)};function a(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]])}return n}Object.create;function s(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function u(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function l(t,e,n){if(n||2===arguments.length)for(var r,i=0,o=e.length;i<o;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))}Object.create},19662:function(t,e,n){var r=n(17854),i=n(60614),o=n(66330),a=r.TypeError;t.exports=function(t){if(i(t))return t;throw a(o(t)+" is not a function")}},19670:function(t,e,n){var r=n(17854),i=n(70111),o=r.String,a=r.TypeError;t.exports=function(t){if(i(t))return t;throw a(o(t)+" is not an object")}},41318:function(t,e,n){var r=n(45656),i=n(51400),o=n(26244),a=function(t){return function(e,n,a){var s,u=r(e),l=o(u),c=i(a,l);if(t&&n!=n){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((t||c in u)&&u[c]===n)return t||c||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},84326:function(t,e,n){var r=n(1702),i=r({}.toString),o=r("".slice);t.exports=function(t){return o(i(t),8,-1)}},70648:function(t,e,n){var r=n(17854),i=n(51694),o=n(60614),a=n(84326),s=n(5112)("toStringTag"),u=r.Object,l="Arguments"==a(function(){return arguments}());t.exports=i?a:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(n){}}(e=u(t),s))?n:l?a(e):"Object"==(r=a(e))&&o(e.callee)?"Arguments":r}},99920:function(t,e,n){var r=n(92597),i=n(53887),o=n(31236),a=n(3070);t.exports=function(t,e,n){for(var s=i(e),u=a.f,l=o.f,c=0;c<s.length;c++){var f=s[c];r(t,f)||n&&r(n,f)||u(t,f,l(e,f))}}},68880:function(t,e,n){var r=n(19781),i=n(3070),o=n(79114);t.exports=r?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},79114:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},19781:function(t,e,n){var r=n(47293);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},80317:function(t,e,n){var r=n(17854),i=n(70111),o=r.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},88113:function(t,e,n){var r=n(35005);t.exports=r("navigator","userAgent")||""},7392:function(t,e,n){var r,i,o=n(17854),a=n(88113),s=o.process,u=o.Deno,l=s&&s.versions||u&&u.version,c=l&&l.v8;c&&(i=(r=c.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=+r[1]),t.exports=i},80748:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},82109:function(t,e,n){var r=n(17854),i=n(31236).f,o=n(68880),a=n(31320),s=n(83505),u=n(99920),l=n(54705);t.exports=function(t,e){var n,c,f,d,p,v=t.target,m=t.global,h=t.stat;if(n=m?r:h?r[v]||s(v,{}):(r[v]||{}).prototype)for(c in e){if(d=e[c],f=t.noTargetGet?(p=i(n,c))&&p.value:n[c],!l(m?c:v+(h?".":"#")+c,t.forced)&&void 0!==f){if(typeof d==typeof f)continue;u(d,f)}(t.sham||f&&f.sham)&&o(d,"sham",!0),a(n,c,d,t)}}},47293:function(t){t.exports=function(t){try{return!!t()}catch(e){return!0}}},34374:function(t,e,n){var r=n(47293);t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},46916:function(t,e,n){var r=n(34374),i=Function.prototype.call;t.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},76530:function(t,e,n){var r=n(19781),i=n(92597),o=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=i(o,"name"),u=s&&"something"===function(){}.name,l=s&&(!r||r&&a(o,"name").configurable);t.exports={EXISTS:s,PROPER:u,CONFIGURABLE:l}},1702:function(t,e,n){var r=n(34374),i=Function.prototype,o=i.bind,a=i.call,s=r&&o.bind(a,a);t.exports=r?function(t){return t&&s(t)}:function(t){return t&&function(){return a.apply(t,arguments)}}},35005:function(t,e,n){var r=n(17854),i=n(60614),o=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t]):r[t]&&r[t][e]}},58173:function(t,e,n){var r=n(19662);t.exports=function(t,e){var n=t[e];return null==n?void 0:r(n)}},17854:function(t,e,n){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},92597:function(t,e,n){var r=n(1702),i=n(47908),o=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(i(t),e)}},3501:function(t){t.exports={}},64664:function(t,e,n){var r=n(19781),i=n(47293),o=n(80317);t.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},68361:function(t,e,n){var r=n(17854),i=n(1702),o=n(47293),a=n(84326),s=r.Object,u=i("".split);t.exports=o((function(){return!s("z").propertyIsEnumerable(0)}))?function(t){return"String"==a(t)?u(t,""):s(t)}:s},42788:function(t,e,n){var r=n(1702),i=n(60614),o=n(5465),a=r(Function.toString);i(o.inspectSource)||(o.inspectSource=function(t){return a(t)}),t.exports=o.inspectSource},29909:function(t,e,n){var r,i,o,a=n(68536),s=n(17854),u=n(1702),l=n(70111),c=n(68880),f=n(92597),d=n(5465),p=n(6200),v=n(3501),m="Object already initialized",h=s.TypeError,g=s.WeakMap;if(a||d.state){var y=d.state||(d.state=new g),b=u(y.get),x=u(y.has),w=u(y.set);r=function(t,e){if(x(y,t))throw new h(m);return e.facade=t,w(y,t,e),e},i=function(t){return b(y,t)||{}},o=function(t){return x(y,t)}}else{var E=p("state");v[E]=!0,r=function(t,e){if(f(t,E))throw new h(m);return e.facade=t,c(t,E,e),e},i=function(t){return f(t,E)?t[E]:{}},o=function(t){return f(t,E)}}t.exports={set:r,get:i,has:o,enforce:function(t){return o(t)?i(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!l(e)||(n=i(e)).type!==t)throw h("Incompatible receiver, "+t+" required");return n}}}},60614:function(t){t.exports=function(t){return"function"==typeof t}},54705:function(t,e,n){var r=n(47293),i=n(60614),o=/#|\.prototype\./,a=function(t,e){var n=u[s(t)];return n==c||n!=l&&(i(e)?r(e):!!e)},s=a.normalize=function(t){return String(t).replace(o,".").toLowerCase()},u=a.data={},l=a.NATIVE="N",c=a.POLYFILL="P";t.exports=a},70111:function(t,e,n){var r=n(60614);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},31913:function(t){t.exports=!1},52190:function(t,e,n){var r=n(17854),i=n(35005),o=n(60614),a=n(47976),s=n(43307),u=r.Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=i("Symbol");return o(e)&&a(e.prototype,u(t))}},26244:function(t,e,n){var r=n(17466);t.exports=function(t){return r(t.length)}},30133:function(t,e,n){var r=n(7392),i=n(47293);t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},68536:function(t,e,n){var r=n(17854),i=n(60614),o=n(42788),a=r.WeakMap;t.exports=i(a)&&/native code/.test(o(a))},3070:function(t,e,n){var r=n(17854),i=n(19781),o=n(64664),a=n(3353),s=n(19670),u=n(34948),l=r.TypeError,c=Object.defineProperty,f=Object.getOwnPropertyDescriptor,d="enumerable",p="configurable",v="writable";e.f=i?a?function(t,e,n){if(s(t),e=u(e),s(n),"function"==typeof t&&"prototype"===e&&"value"in n&&v in n&&!n.writable){var r=f(t,e);r&&r.writable&&(t[e]=n.value,n={configurable:p in n?n.configurable:r.configurable,enumerable:d in n?n.enumerable:r.enumerable,writable:!1})}return c(t,e,n)}:c:function(t,e,n){if(s(t),e=u(e),s(n),o)try{return c(t,e,n)}catch(r){}if("get"in n||"set"in n)throw l("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},31236:function(t,e,n){var r=n(19781),i=n(46916),o=n(55296),a=n(79114),s=n(45656),u=n(34948),l=n(92597),c=n(64664),f=Object.getOwnPropertyDescriptor;e.f=r?f:function(t,e){if(t=s(t),e=u(e),c)try{return f(t,e)}catch(n){}if(l(t,e))return a(!i(o.f,t,e),t[e])}},8006:function(t,e,n){var r=n(16324),i=n(80748).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},25181:function(t,e){e.f=Object.getOwnPropertySymbols},47976:function(t,e,n){var r=n(1702);t.exports=r({}.isPrototypeOf)},16324:function(t,e,n){var r=n(1702),i=n(92597),o=n(45656),a=n(41318).indexOf,s=n(3501),u=r([].push);t.exports=function(t,e){var n,r=o(t),l=0,c=[];for(n in r)!i(s,n)&&i(r,n)&&u(c,n);for(;e.length>l;)i(r,n=e[l++])&&(~a(c,n)||u(c,n));return c}},55296:function(t,e){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!n.call({1:2},1);e.f=i?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},92140:function(t,e,n){var r=n(17854),i=n(46916),o=n(60614),a=n(70111),s=r.TypeError;t.exports=function(t,e){var n,r;if("string"===e&&o(n=t.toString)&&!a(r=i(n,t)))return r;if(o(n=t.valueOf)&&!a(r=i(n,t)))return r;if("string"!==e&&o(n=t.toString)&&!a(r=i(n,t)))return r;throw s("Can't convert object to primitive value")}},53887:function(t,e,n){var r=n(35005),i=n(1702),o=n(8006),a=n(25181),s=n(19670),u=i([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(s(t)),n=a.f;return n?u(e,n(t)):e}},31320:function(t,e,n){var r=n(17854),i=n(60614),o=n(92597),a=n(68880),s=n(83505),u=n(42788),l=n(29909),c=n(76530).CONFIGURABLE,f=l.get,d=l.enforce,p=String(String).split("String");(t.exports=function(t,e,n,u){var l,f=!!u&&!!u.unsafe,v=!!u&&!!u.enumerable,m=!!u&&!!u.noTargetGet,h=u&&void 0!==u.name?u.name:e;i(n)&&("Symbol("===String(h).slice(0,7)&&(h="["+String(h).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!o(n,"name")||c&&n.name!==h)&&a(n,"name",h),(l=d(n)).source||(l.source=p.join("string"==typeof h?h:""))),t!==r?(f?!m&&t[e]&&(v=!0):delete t[e],v?t[e]=n:a(t,e,n)):v?t[e]=n:s(e,n)})(Function.prototype,"toString",(function(){return i(this)&&f(this).source||u(this)}))},84488:function(t,e,n){var r=n(17854).TypeError;t.exports=function(t){if(null==t)throw r("Can't call method on "+t);return t}},83505:function(t,e,n){var r=n(17854),i=Object.defineProperty;t.exports=function(t,e){try{i(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},6200:function(t,e,n){var r=n(72309),i=n(69711),o=r("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},5465:function(t,e,n){var r=n(17854),i=n(83505),o="__core-js_shared__",a=r[o]||i(o,{});t.exports=a},72309:function(t,e,n){var r=n(31913),i=n(5465);(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.21.1",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE",source:"https://github.com/zloirock/core-js"})},51400:function(t,e,n){var r=n(19303),i=Math.max,o=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):o(n,e)}},45656:function(t,e,n){var r=n(68361),i=n(84488);t.exports=function(t){return r(i(t))}},19303:function(t){var e=Math.ceil,n=Math.floor;t.exports=function(t){var r=+t;return r!=r||0===r?0:(r>0?n:e)(r)}},17466:function(t,e,n){var r=n(19303),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},47908:function(t,e,n){var r=n(17854),i=n(84488),o=r.Object;t.exports=function(t){return o(i(t))}},57593:function(t,e,n){var r=n(17854),i=n(46916),o=n(70111),a=n(52190),s=n(58173),u=n(92140),l=n(5112),c=r.TypeError,f=l("toPrimitive");t.exports=function(t,e){if(!o(t)||a(t))return t;var n,r=s(t,f);if(r){if(void 0===e&&(e="default"),n=i(r,t,e),!o(n)||a(n))return n;throw c("Can't convert object to primitive value")}return void 0===e&&(e="number"),u(t,e)}},34948:function(t,e,n){var r=n(57593),i=n(52190);t.exports=function(t){var e=r(t,"string");return i(e)?e:e+""}},51694:function(t,e,n){var r={};r[n(5112)("toStringTag")]="z",t.exports="[object z]"===String(r)},66330:function(t,e,n){var r=n(17854).String;t.exports=function(t){try{return r(t)}catch(e){return"Object"}}},69711:function(t,e,n){var r=n(1702),i=0,o=Math.random(),a=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++i+o,36)}},43307:function(t,e,n){var r=n(30133);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:function(t,e,n){var r=n(19781),i=n(47293);t.exports=r&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5112:function(t,e,n){var r=n(17854),i=n(72309),o=n(92597),a=n(69711),s=n(30133),u=n(43307),l=i("wks"),c=r.Symbol,f=c&&c.for,d=u?c:c&&c.withoutSetter||a;t.exports=function(t){if(!o(l,t)||!s&&"string"!=typeof l[t]){var e="Symbol."+t;s&&o(c,t)?l[t]=c[t]:l[t]=u&&f?f(e):d(e)}return l[t]}},35837:function(t,e,n){n(82109)({global:!0},{globalThis:n(17854)})},65743:function(t,e,n){n(35837)},20038:function(t,e,n){"use strict";n.d(e,{Qu:function(){return gt},ZP:function(){return yt}});var r,i,o,a,s=n(67294),u=n(45697),l=n.n(u),c=n(24839),f=n.n(c),d=n(23302),p=n.n(d),v=n(46494),m=n.n(v),h="bodyAttributes",g="htmlAttributes",y="titleAttributes",b={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},x=(Object.keys(b).map((function(t){return b[t]})),"charset"),w="cssText",E="href",C="http-equiv",T="innerHTML",S="itemprop",k="name",P="property",L="rel",A="src",O="target",M={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},R="defaultTitle",j="defer",V="encodeSpecialCharacters",N="onChangeClientState",I="titleTemplate",D=Object.keys(M).reduce((function(t,e){return t[M[e]]=e,t}),{}),F=[b.NOSCRIPT,b.SCRIPT,b.STYLE],H="data-react-helmet",B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},z=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},Z=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),U=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},_=function(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n},W=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e},Y=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return!1===e?String(t):String(t).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},G=function(t){var e=Q(t,b.TITLE),n=Q(t,I);if(n&&e)return n.replace(/%s/g,(function(){return Array.isArray(e)?e.join(""):e}));var r=Q(t,R);return e||r||void 0},q=function(t){return Q(t,N)||function(){}},$=function(t,e){return e.filter((function(e){return void 0!==e[t]})).map((function(e){return e[t]})).reduce((function(t,e){return U({},t,e)}),{})},X=function(t,e){return e.filter((function(t){return void 0!==t[b.BASE]})).map((function(t){return t[b.BASE]})).reverse().reduce((function(e,n){if(!e.length)for(var r=Object.keys(n),i=0;i<r.length;i++){var o=r[i].toLowerCase();if(-1!==t.indexOf(o)&&n[o])return e.concat(n)}return e}),[])},K=function(t,e,n){var r={};return n.filter((function(e){return!!Array.isArray(e[t])||(void 0!==e[t]&&rt("Helmet: "+t+' should be of type "Array". Instead found type "'+B(e[t])+'"'),!1)})).map((function(e){return e[t]})).reverse().reduce((function(t,n){var i={};n.filter((function(t){for(var n=void 0,o=Object.keys(t),a=0;a<o.length;a++){var s=o[a],u=s.toLowerCase();-1===e.indexOf(u)||n===L&&"canonical"===t[n].toLowerCase()||u===L&&"stylesheet"===t[u].toLowerCase()||(n=u),-1===e.indexOf(s)||s!==T&&s!==w&&s!==S||(n=s)}if(!n||!t[n])return!1;var l=t[n].toLowerCase();return r[n]||(r[n]={}),i[n]||(i[n]={}),!r[n][l]&&(i[n][l]=!0,!0)})).reverse().forEach((function(e){return t.push(e)}));for(var o=Object.keys(i),a=0;a<o.length;a++){var s=o[a],u=m()({},r[s],i[s]);r[s]=u}return t}),[]).reverse()},Q=function(t,e){for(var n=t.length-1;n>=0;n--){var r=t[n];if(r.hasOwnProperty(e))return r[e]}return null},J=(r=Date.now(),function(t){var e=Date.now();e-r>16?(r=e,t(e)):setTimeout((function(){J(t)}),0)}),tt=function(t){return clearTimeout(t)},et="undefined"!=typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||J:n.g.requestAnimationFrame||J,nt="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||tt:n.g.cancelAnimationFrame||tt,rt=function(t){return console&&"function"==typeof console.warn&&console.warn(t)},it=null,ot=function(t,e){var n=t.baseTag,r=t.bodyAttributes,i=t.htmlAttributes,o=t.linkTags,a=t.metaTags,s=t.noscriptTags,u=t.onChangeClientState,l=t.scriptTags,c=t.styleTags,f=t.title,d=t.titleAttributes;ut(b.BODY,r),ut(b.HTML,i),st(f,d);var p={baseTag:lt(b.BASE,n),linkTags:lt(b.LINK,o),metaTags:lt(b.META,a),noscriptTags:lt(b.NOSCRIPT,s),scriptTags:lt(b.SCRIPT,l),styleTags:lt(b.STYLE,c)},v={},m={};Object.keys(p).forEach((function(t){var e=p[t],n=e.newTags,r=e.oldTags;n.length&&(v[t]=n),r.length&&(m[t]=p[t].oldTags)})),e&&e(),u(t,v,m)},at=function(t){return Array.isArray(t)?t.join(""):t},st=function(t,e){void 0!==t&&document.title!==t&&(document.title=at(t)),ut(b.TITLE,e)},ut=function(t,e){var n=document.getElementsByTagName(t)[0];if(n){for(var r=n.getAttribute(H),i=r?r.split(","):[],o=[].concat(i),a=Object.keys(e),s=0;s<a.length;s++){var u=a[s],l=e[u]||"";n.getAttribute(u)!==l&&n.setAttribute(u,l),-1===i.indexOf(u)&&i.push(u);var c=o.indexOf(u);-1!==c&&o.splice(c,1)}for(var f=o.length-1;f>=0;f--)n.removeAttribute(o[f]);i.length===o.length?n.removeAttribute(H):n.getAttribute(H)!==a.join(",")&&n.setAttribute(H,a.join(","))}},lt=function(t,e){var n=document.head||document.querySelector(b.HEAD),r=n.querySelectorAll(t+"["+"data-react-helmet]"),i=Array.prototype.slice.call(r),o=[],a=void 0;return e&&e.length&&e.forEach((function(e){var n=document.createElement(t);for(var r in e)if(e.hasOwnProperty(r))if(r===T)n.innerHTML=e.innerHTML;else if(r===w)n.styleSheet?n.styleSheet.cssText=e.cssText:n.appendChild(document.createTextNode(e.cssText));else{var s=void 0===e[r]?"":e[r];n.setAttribute(r,s)}n.setAttribute(H,"true"),i.some((function(t,e){return a=e,n.isEqualNode(t)}))?i.splice(a,1):o.push(n)})),i.forEach((function(t){return t.parentNode.removeChild(t)})),o.forEach((function(t){return n.appendChild(t)})),{oldTags:i,newTags:o}},ct=function(t){return Object.keys(t).reduce((function(e,n){var r=void 0!==t[n]?n+'="'+t[n]+'"':""+n;return e?e+" "+r:r}),"")},ft=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).reduce((function(e,n){return e[M[n]||n]=t[n],e}),e)},dt=function(t,e,n){switch(t){case b.TITLE:return{toComponent:function(){return t=e.title,n=e.titleAttributes,(r={key:t})[H]=!0,i=ft(n,r),[s.createElement(b.TITLE,i,t)];var t,n,r,i},toString:function(){return function(t,e,n,r){var i=ct(n),o=at(e);return i?"<"+t+' data-react-helmet="true" '+i+">"+Y(o,r)+"</"+t+">":"<"+t+' data-react-helmet="true">'+Y(o,r)+"</"+t+">"}(t,e.title,e.titleAttributes,n)}};case h:case g:return{toComponent:function(){return ft(e)},toString:function(){return ct(e)}};default:return{toComponent:function(){return function(t,e){return e.map((function(e,n){var r,i=((r={key:n})[H]=!0,r);return Object.keys(e).forEach((function(t){var n=M[t]||t;if(n===T||n===w){var r=e.innerHTML||e.cssText;i.dangerouslySetInnerHTML={__html:r}}else i[n]=e[t]})),s.createElement(t,i)}))}(t,e)},toString:function(){return function(t,e,n){return e.reduce((function(e,r){var i=Object.keys(r).filter((function(t){return!(t===T||t===w)})).reduce((function(t,e){var i=void 0===r[e]?e:e+'="'+Y(r[e],n)+'"';return t?t+" "+i:i}),""),o=r.innerHTML||r.cssText||"",a=-1===F.indexOf(t);return e+"<"+t+' data-react-helmet="true" '+i+(a?"/>":">"+o+"</"+t+">")}),"")}(t,e,n)}}}},pt=function(t){var e=t.baseTag,n=t.bodyAttributes,r=t.encode,i=t.htmlAttributes,o=t.linkTags,a=t.metaTags,s=t.noscriptTags,u=t.scriptTags,l=t.styleTags,c=t.title,f=void 0===c?"":c,d=t.titleAttributes;return{base:dt(b.BASE,e,r),bodyAttributes:dt(h,n,r),htmlAttributes:dt(g,i,r),link:dt(b.LINK,o,r),meta:dt(b.META,a,r),noscript:dt(b.NOSCRIPT,s,r),script:dt(b.SCRIPT,u,r),style:dt(b.STYLE,l,r),title:dt(b.TITLE,{title:f,titleAttributes:d},r)}},vt=f()((function(t){return{baseTag:X([E,O],t),bodyAttributes:$(h,t),defer:Q(t,j),encode:Q(t,V),htmlAttributes:$(g,t),linkTags:K(b.LINK,[L,E],t),metaTags:K(b.META,[k,x,C,P,S],t),noscriptTags:K(b.NOSCRIPT,[T],t),onChangeClientState:q(t),scriptTags:K(b.SCRIPT,[A,T],t),styleTags:K(b.STYLE,[w],t),title:G(t),titleAttributes:$(y,t)}}),(function(t){it&&nt(it),t.defer?it=et((function(){ot(t,(function(){it=null}))})):(ot(t),it=null)}),pt)((function(){return null})),mt=(i=vt,a=o=function(t){function e(){return z(this,e),W(this,t.apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.shouldComponentUpdate=function(t){return!p()(this.props,t)},e.prototype.mapNestedChildrenToProps=function(t,e){if(!e)return null;switch(t.type){case b.SCRIPT:case b.NOSCRIPT:return{innerHTML:e};case b.STYLE:return{cssText:e}}throw new Error("<"+t.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},e.prototype.flattenArrayTypeChildren=function(t){var e,n=t.child,r=t.arrayTypeChildren,i=t.newChildProps,o=t.nestedChildren;return U({},r,((e={})[n.type]=[].concat(r[n.type]||[],[U({},i,this.mapNestedChildrenToProps(n,o))]),e))},e.prototype.mapObjectTypeChildren=function(t){var e,n,r=t.child,i=t.newProps,o=t.newChildProps,a=t.nestedChildren;switch(r.type){case b.TITLE:return U({},i,((e={})[r.type]=a,e.titleAttributes=U({},o),e));case b.BODY:return U({},i,{bodyAttributes:U({},o)});case b.HTML:return U({},i,{htmlAttributes:U({},o)})}return U({},i,((n={})[r.type]=U({},o),n))},e.prototype.mapArrayTypeChildrenToProps=function(t,e){var n=U({},e);return Object.keys(t).forEach((function(e){var r;n=U({},n,((r={})[e]=t[e],r))})),n},e.prototype.warnOnInvalidChildren=function(t,e){return!0},e.prototype.mapChildrenToProps=function(t,e){var n=this,r={};return s.Children.forEach(t,(function(t){if(t&&t.props){var i=t.props,o=i.children,a=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).reduce((function(e,n){return e[D[n]||n]=t[n],e}),e)}(_(i,["children"]));switch(n.warnOnInvalidChildren(t,o),t.type){case b.LINK:case b.META:case b.NOSCRIPT:case b.SCRIPT:case b.STYLE:r=n.flattenArrayTypeChildren({child:t,arrayTypeChildren:r,newChildProps:a,nestedChildren:o});break;default:e=n.mapObjectTypeChildren({child:t,newProps:e,newChildProps:a,nestedChildren:o})}}})),e=this.mapArrayTypeChildrenToProps(r,e)},e.prototype.render=function(){var t=this.props,e=t.children,n=_(t,["children"]),r=U({},n);return e&&(r=this.mapChildrenToProps(e,r)),s.createElement(i,r)},Z(e,null,[{key:"canUseDOM",set:function(t){i.canUseDOM=t}}]),e}(s.Component),o.propTypes={base:l().object,bodyAttributes:l().object,children:l().oneOfType([l().arrayOf(l().node),l().node]),defaultTitle:l().string,defer:l().bool,encodeSpecialCharacters:l().bool,htmlAttributes:l().object,link:l().arrayOf(l().object),meta:l().arrayOf(l().object),noscript:l().arrayOf(l().object),onChangeClientState:l().func,script:l().arrayOf(l().object),style:l().arrayOf(l().object),title:l().string,titleAttributes:l().object,titleTemplate:l().string},o.defaultProps={defer:!0,encodeSpecialCharacters:!0},o.peek=i.peek,o.rewind=function(){var t=i.rewind();return t||(t=pt({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),t},a);mt.renderStatic=mt.rewind;var ht=n(23300),gt=(0,s.createContext)({});var yt=function(t){var e,n,r,i,o,a,u,l,c,f,d,p,v,m,h,g,y=t.post,b=void 0===y?{}:y,x=t.meta,w=void 0===x?[]:x,E=t.title,C=t.postSchema,T=(0,s.useContext)(gt),S=T.global,k=T.options,P=b.seo;C?g=C:P&&(null==P||null==(e=P.schema)?void 0:e.raw)&&(g=JSON.parse(P.schema.raw)),g=(null==k||null==(n=k.schemaReplacement)?void 0:n.from)&&(null==k||null==(r=k.schemaReplacement)?void 0:r.to)?function(t,e,n){if(3!==arguments.length||"string"!=typeof t||"string"!=typeof e||"string"!=typeof n)throw new Error("Expects three string arguments");return e?t.split(e).join(n):t}(JSON.stringify(g),k.schemaReplacement.from,k.schemaReplacement.to):JSON.stringify(g);var L=null==S||null==(i=S.schema)?void 0:i.inLanguage,A=null==S?void 0:S.schema,O=null==S?void 0:S.webmaster,M=null==S?void 0:S.social,R=[];(null==O?void 0:O.baiduVerify)&&R.push({name:"baidu-site-verification",content:O.baiduVerify}),(null==O?void 0:O.googleVerify)&&R.push({name:"google-site-verification",content:O.googleVerify}),(null==O?void 0:O.msVerify)&&R.push({name:"msvalidate.01",content:O.msVerify}),(null==O?void 0:O.yandexVerify)&&R.push({name:"yandex-verification",content:O.yandexVerify}),(null==M?void 0:M.pinterest)&&M.pinterest.metaTag&&R.push({name:"p:domain_verify",content:M.pinterest.metaTag});var j,V=E||(null==P?void 0:P.title),N=(null==P?void 0:P.metaDesc)?P.metaDesc:"",I="noindex"===(null==P?void 0:P.metaRobotsNoindex)?"noindex":"index",D="nofollow"===(null==P?void 0:P.metaRobotsNofollow)?"nofollow":"follow",F=(0,ht.e)(null==P||null==(o=P.opengraphImage)?void 0:o.localFile),H=(0,ht.e)(null==P||null==(a=P.twitterImage)?void 0:a.localFile);return s.createElement(mt,{htmlAttributes:{lang:L},title:V,meta:[{name:"robots",content:"max-snippet:-1, max-image-preview:large, max-video-preview:-1, "+I+", "+D},{name:"description",content:N},{property:"og:site_name",content:null==A?void 0:A.companyName},{property:"og:title",content:(null==P?void 0:P.opengraphTitle)||V},{property:"og:description",content:null==P?void 0:P.opengraphDescription},{property:"og:locale",content:(null==P||null==(u=P.schema)?void 0:u.inLanguage)?P.schema.inLanguage.replace("-","_"):null},{property:"og:type",content:"website"},{property:"og:image",content:F||(null==P||null==(l=P.opengraphImage)?void 0:l.sourceUrl)||(null==M||null==(c=M.facebook)||null==(f=c.defaultImage)?void 0:f.mediaItemUrl)},{property:"og:image:alt",content:(null==P||null==(d=P.opengraphImage)?void 0:d.altText)||(null==M||null==(p=M.facebook)||null==(v=p.defaultImage)?void 0:v.altText)},{name:"twitter:card",content:null==M?void 0:M.twitter.cardType},{name:"twitter:creator",content:null==M?void 0:M.twitter.username},{name:"twitter:title",content:(null==P?void 0:P.twitterTitle)||V},{name:"twitter:description",content:(null==P?void 0:P.twitterDescription)||N},{name:"twitter:image",content:H||(null==P||null==(m=P.twitterImage)?void 0:m.sourceUrl)},{name:"twitter:image:alt",content:null==P||null==(h=P.twitterImage)?void 0:h.altText},{name:"twitter:label1",content:(null==P?void 0:P.readingTime)?"Estimated reading time":null},{name:"twitter:data1",content:(null==P?void 0:P.readingTime)?(j=+P.readingTime,1===j?"1 minute":j+" minutes"):""}].filter((function(t){return!!t.content})).concat(w,R),encodeSpecialCharacters:!1},g&&s.createElement("script",{type:"application/ld+json"},g))}},23300:function(t,e,n){"use strict";n.d(e,{L:function(){return w},M:function(){return L},P:function(){return P},_:function(){return l},a:function(){return s},b:function(){return h},e:function(){return m},g:function(){return g}});var r=n(67294),i=(n(34041),n(74811),n(45697)),o=n.n(i),a=n(73935);function s(){return(s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)e.indexOf(n=o[r])>=0||(i[n]=t[n]);return i}var c=new Set,f=function(){return"undefined"!=typeof HTMLImageElement&&"loading"in HTMLImageElement.prototype};function d(t){t&&c.add(t)}function p(t){return c.has(t)}var v=function(t){var e;return function(t){var e,n;return Boolean(null==t||null==(e=t.images)||null==(n=e.fallback)?void 0:n.src)}(t)?t:function(t){return Boolean(null==t?void 0:t.gatsbyImageData)}(t)?t.gatsbyImageData:null==t||null==(e=t.childImageSharp)?void 0:e.gatsbyImageData},m=function(t){var e,n,r;return null==(e=v(t))||null==(n=e.images)||null==(r=n.fallback)?void 0:r.src};function h(t,e,r,i,o,a,u,l){var c,f;return void 0===l&&(l={}),null!=u&&u.current&&!("objectFit"in document.documentElement.style)&&(u.current.dataset.objectFit=null!=(c=l.objectFit)?c:"cover",u.current.dataset.objectPosition=""+(null!=(f=l.objectPosition)?f:"50% 50%"),function(t){try{var e=function(){window.objectFitPolyfill(t.current)},r=function(){if(!("objectFitPolyfill"in window))return Promise.resolve(n.e(231).then(n.t.bind(n,27231,23))).then((function(){}))}();Promise.resolve(r&&r.then?r.then(e):e())}catch(t){return Promise.reject(t)}}(u)),s({},r,{loading:i,shouldLoad:t,"data-main-image":"",style:s({},l,{opacity:e?1:0}),onLoad:function(t){if(!e){d(a);var n=t.currentTarget,r=new Image;r.src=n.currentSrc,r.decode?r.decode().catch((function(){})).then((function(){o(!0)})):o(!0)}},ref:u})}function g(t,e,n,r,i,o,a,u){var l={};o&&(l.backgroundColor=o,"fixed"===n?(l.width=r,l.height=i,l.backgroundColor=o,l.position="relative"):("constrained"===n||"fullWidth"===n)&&(l.position="absolute",l.top=0,l.left=0,l.bottom=0,l.right=0)),a&&(l.objectFit=a),u&&(l.objectPosition=u);var c=s({},t,{"aria-hidden":!0,"data-placeholder-image":"",style:s({opacity:e?0:1,transition:"opacity 500ms linear"},l)});return c}var y,b=["children"],x=function(t){var e=t.layout,n=t.width,i=t.height;return"fullWidth"===e?r.createElement("div",{"aria-hidden":!0,style:{paddingTop:i/n*100+"%"}}):"constrained"===e?r.createElement("div",{style:{maxWidth:n,display:"block"}},r.createElement("img",{alt:"",role:"presentation","aria-hidden":"true",src:"data:image/svg+xml;charset=utf-8,%3Csvg height='"+i+"' width='"+n+"' xmlns='http://www.w3.org/2000/svg' version='1.1'%3E%3C/svg%3E",style:{maxWidth:"100%",display:"block",position:"static"}})):null},w=function(t){var e=t.children,n=l(t,b);return r.createElement(r.Fragment,null,r.createElement(x,s({},n)),e,!1)},E=["src","srcSet","loading","alt","shouldLoad","innerRef"],C=["fallback","sources","shouldLoad"],T=function(t){var e=t.src,n=t.srcSet,i=t.loading,o=t.alt,a=void 0===o?"":o,u=t.shouldLoad,c=t.innerRef,f=l(t,E);return r.createElement("img",s({},f,{decoding:"async",loading:i,src:u?e:void 0,"data-src":u?void 0:e,srcSet:u?n:void 0,"data-srcset":u?void 0:n,alt:a,ref:c}))},S=(0,r.forwardRef)((function(t,e){var n=t.fallback,i=t.sources,o=void 0===i?[]:i,a=t.shouldLoad,u=void 0===a||a,c=l(t,C),f=c.sizes||(null==n?void 0:n.sizes),d=r.createElement(T,s({},c,n,{sizes:f,shouldLoad:u,innerRef:e}));return o.length?r.createElement("picture",null,o.map((function(t){var e=t.media,n=t.srcSet,i=t.type;return r.createElement("source",{key:e+"-"+i+"-"+n,type:i,media:e,srcSet:u?n:void 0,"data-srcset":u?void 0:n,sizes:f})})),d):d}));T.propTypes={src:i.string.isRequired,alt:i.string.isRequired,sizes:i.string,srcSet:i.string,shouldLoad:i.bool},S.displayName="Picture",S.propTypes={alt:i.string.isRequired,shouldLoad:i.bool,fallback:i.exact({src:i.string.isRequired,srcSet:i.string,sizes:i.string}),sources:i.arrayOf(i.oneOfType([i.exact({media:i.string.isRequired,type:i.string,sizes:i.string,srcSet:i.string.isRequired}),i.exact({media:i.string,type:i.string.isRequired,sizes:i.string,srcSet:i.string.isRequired})]))};var k=["fallback"],P=function(t){var e=t.fallback,n=l(t,k);return e?r.createElement(S,s({},n,{fallback:{src:e},"aria-hidden":!0,alt:""})):r.createElement("div",s({},n))};P.displayName="Placeholder",P.propTypes={fallback:i.string,sources:null==(y=S.propTypes)?void 0:y.sources,alt:function(t,e,n){return t[e]?new Error("Invalid prop `"+e+"` supplied to `"+n+"`. Validation failed."):null}};var L=(0,r.forwardRef)((function(t,e){return r.createElement(r.Fragment,null,r.createElement(S,s({ref:e},t)),r.createElement("noscript",null,r.createElement(S,s({},t,{shouldLoad:!0}))))}));L.displayName="MainImage",L.propTypes=S.propTypes;var A=function(t,e,n){return t.alt||""===t.alt?o().string.apply(o(),[t,e,n].concat([].slice.call(arguments,3))):new Error('The "alt" prop is required in '+n+'. If the image is purely presentational then pass an empty string: e.g. alt="". Learn more: https://a11y-style-guide.com/style-guide/section-media.html')},O={image:o().object.isRequired,alt:A},M=["style","className"],R=function(t){var e,i;function o(e){var n;return(n=t.call(this,e)||this).root=(0,r.createRef)(),n.hydrated={current:!1},n.forceRender={current:!1},n.lazyHydrator=null,n.ref=(0,r.createRef)(),n.unobserveRef=void 0,n.state={isLoading:f(),isLoaded:!1},n}i=t,(e=o).prototype=Object.create(i.prototype),e.prototype.constructor=e,u(e,i);var c=o.prototype;return c._lazyHydrate=function(t,e){var r=this,i=this.root.current.querySelector("[data-gatsby-image-ssr]");return f()&&i&&!this.hydrated.current?(this.hydrated.current=!0,Promise.resolve()):n.e(523).then(n.bind(n,20523)).then((function(n){var i=n.lazyHydrate,o=JSON.stringify(r.props.image.images);r.lazyHydrator=i(s({image:t.image.images,isLoading:e.isLoading||p(o),isLoaded:e.isLoaded||p(o),toggleIsLoaded:function(){null==t.onLoad||t.onLoad(),r.setState({isLoaded:!0})},ref:r.ref},t),r.root,r.hydrated,r.forceRender)}))},c._setupIntersectionObserver=function(t){var e=this;void 0===t&&(t=!0),n.e(962).then(n.bind(n,70962)).then((function(n){var r=(0,n.createIntersectionObserver)((function(){if(e.root.current){var n=JSON.stringify(e.props.image.images);null==e.props.onStartLoad||e.props.onStartLoad({wasCached:t&&p(n)}),e.setState({isLoading:!0,isLoaded:t&&p(n)})}}));e.root.current&&(e.unobserveRef=r(e.root))}))},c.shouldComponentUpdate=function(t,e){var n=this,r=!1;return this.state.isLoading||!e.isLoading||e.isLoaded||(this.forceRender.current=!0),this.props.image.images!==t.image.images&&(this.unobserveRef&&(this.unobserveRef(),this.hydrated.current&&this.lazyHydrator&&(0,a.render)(null,this.root.current)),this.setState({isLoading:!1,isLoaded:!1},(function(){n._setupIntersectionObserver(!1)})),r=!0),this.root.current&&!r&&this._lazyHydrate(t,e),!1},c.componentDidMount=function(){if(this.root.current){var t=this.root.current.querySelector("[data-gatsby-image-ssr]"),e=JSON.stringify(this.props.image.images);if(f()&&t){var n,r;if(null==(n=(r=this.props).onStartLoad)||n.call(r,{wasCached:!1}),t.complete){var i,o;null==(i=(o=this.props).onLoad)||i.call(o),d(e)}else{var a=this;t.addEventListener("load",(function n(){t.removeEventListener("load",n),null==a.props.onLoad||a.props.onLoad(),d(e)}))}return}this._setupIntersectionObserver(!0)}},c.componentWillUnmount=function(){this.unobserveRef&&(this.unobserveRef(),this.hydrated.current&&this.lazyHydrator&&this.lazyHydrator())},c.render=function(){var t=this.props.as||"div",e=this.props.image,n=e.width,i=e.height,o=e.layout,a=function(t,e,n){var r={},i="gatsby-image-wrapper";return"fixed"===n?(r.width=t,r.height=e):"constrained"===n&&(i="gatsby-image-wrapper gatsby-image-wrapper-constrained"),{className:i,"data-gatsby-image-wrapper":"",style:r}}(n,i,o),u=a.style,c=a.className,f=l(a,M),d=this.props.className;this.props.class&&(d=this.props.class);var p=function(t,e,n){var r=null;return"fullWidth"===t&&(r='<div aria-hidden="true" style="padding-top: '+n/e*100+'%;"></div>'),"constrained"===t&&(r='<div style="max-width: '+e+'px; display: block;"><img alt="" role="presentation" aria-hidden="true" src="data:image/svg+xml;charset=utf-8,%3Csvg height=\''+n+"' width='"+e+"' xmlns='http://www.w3.org/2000/svg' version='1.1'%3E%3C/svg%3E\" style=\"max-width: 100%; display: block; position: static;\"></div>"),r}(o,n,i);return r.createElement(t,s({},f,{style:s({},u,this.props.style,{backgroundColor:this.props.backgroundColor}),className:c+(d?" "+d:""),ref:this.root,dangerouslySetInnerHTML:{__html:p},suppressHydrationWarning:!0}))},o}(r.Component),j=function(t){if(!t.image)return null;var e=t.image,n=JSON.stringify([e.width,e.height,e.layout,t.className,t.class,t.backgroundColor]);return r.createElement(R,s({key:n},t))};j.propTypes=O,j.displayName="GatsbyImage";var V=["src","__imageData","__error","width","height","aspectRatio","tracedSVGOptions","placeholder","formats","quality","transformOptions","jpgOptions","pngOptions","webpOptions","avifOptions","blurredOptions"],N=function(t,e){return"fullWidth"!==t.layout||"width"!==e&&"height"!==e||!t[e]?o().number.apply(o(),[t,e].concat([].slice.call(arguments,2))):new Error('"'+e+'" '+t[e]+" may not be passed when layout is fullWidth.")},I=new Set(["fixed","fullWidth","constrained"]),D={src:o().string.isRequired,alt:A,width:N,height:N,sizes:o().string,layout:function(t){if(void 0!==t.layout&&!I.has(t.layout))return new Error("Invalid value "+t.layout+'" provided for prop "layout". Defaulting to "constrained". Valid values are "fixed", "fullWidth" or "constrained".')}},F=function(t){return function(e){var n=e.src,i=e.__imageData,o=e.__error,a=l(e,V);return o&&console.warn(o),i?r.createElement(t,s({image:i},a)):(console.warn("Image not loaded",n),null)}}(j);F.displayName="StaticImage",F.propTypes=D},59217:function(t,e,n){"use strict";n.d(e,{P:function(){return c}});var r=n(67294),i=function(t){var e=t.text;return r.createElement("div",{className:"w-full"},r.createElement("div",{className:"prose prose-lg max-w-full article-prose",dangerouslySetInnerHTML:{__html:e}}))},o=n(45637),a=function(t){var e=t.logo,n=t.text,i=t.cite,a=t.position;return r.createElement("blockquote",{className:""},e&&r.createElement(o.Z,{className:"max-w-[85px] mb-9",image:e}),r.createElement("span",{className:"block not-italic text-white t-24 leading-[1.33] mb-9",dangerouslySetInnerHTML:{__html:n}}),r.createElement("cite",{className:"not-italic font-body text-white"},(i||"")+(i&&a?", ":"")+(a||"")))},s=function(t){var e=t.image;return r.createElement("figure",{className:"rounded-2xl overflow-hidden"},r.createElement(o.Z,{image:e,objectFit:"contain",className:"max-w-full w-full h-auto"}))},u=function(t){var e=t.heading,n=t.list;return r.createElement("div",{className:"bg-darkerGreen text-white rounded-2xl p-4 pt-8 lg:py-14 lg:px-20 relative overflow-hidden before:absolute before:inset-x-0 before:top-0 before:h-3 before:bg-coral"},r.createElement("h3",{className:"t-24 mb-9"},e),r.createElement("ul",{className:"pl-3 list-disc marker:text-coral"},n&&(null==n?void 0:n.map((function(t,e){return r.createElement("li",{className:"mb-4 t-18",key:e},t.listItem)})))))},l=function(t){var e=t.statisticItem;return r.createElement("ul",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 lg:gap-10"},null==e?void 0:e.map((function(t,e){return r.createElement("li",{key:e,className:"bg-darkGreen rounded-2xl min-h-[160px] lg:min-h-[325px] p-4 lg:p-10"},r.createElement("div",{className:"flex flex-col justify-end w-full h-full text-white"},r.createElement("div",null,r.createElement("span",{className:"block font-heading t-66"},t.number),r.createElement("span",{className:"block"},t.description))))})))},c=function(t){var e=t.prefix,n=t.content,o=void 0===n?[]:n;return r.createElement("div",{className:"prose prose-lg !max-w-full space-y-10 md:space-y-14"},null==o?void 0:o.map((function(t,n){var o=t.fieldGroupName.replace(e,"");switch(o){case"Text":return r.createElement(i,Object.assign({key:o+n},t));case"Quote":return r.createElement(a,Object.assign({key:o+n},t));case"Image":return r.createElement(s,Object.assign({key:o+n},t));case"Statistics":return r.createElement(l,Object.assign({key:o+n},t));case"Bullet":return r.createElement(u,Object.assign({key:o+n},t));default:console.log("IMPLEMENT ",o,t)}return null})))}},58479:function(t,e,n){"use strict";n.d(e,{Z:function(){return w}});var r=n(67294),i=n(20038),o=n(1597),a=function(){return(0,o.useStaticQuery)("3783214151").wp.seo},s=n(45637);function u(t){var e=t.data,n=t.pageColour,i=t.hide,a=null==e?void 0:e.optionsFooter,u=[];return"darkGreen"===n?u.push("bg-darkGreen !text-white pt-6 md:pt-12 lg:pt-20 xl:pt-[115px]"):u.push("bg-taupe !text-darkGreen"),i&&u.push(" !hidden "),r.createElement("footer",{className:""+u},r.createElement("div",{className:"container grid grid-cols-12  pt-16 pb-12 md:pt-24 md:pb-20 lg:pt-[135px] lg:pb-[110px]"},r.createElement("div",{className:"col-span-12 md:col-span-4 flex flex-col order-last md:order-first mt-6 md:mt-0"},r.createElement(s.Z,{image:null==a?void 0:a.footerLogo,className:"max-w-[192px]"}),r.createElement("h4",{className:"text-h4 max-w-[340px] !leading-[1.2] !font-medium"},a.footerHeading),r.createElement("div",{className:"flex space-x-2 my-6 md:my-8"},a.socialMenu.map((function(t,e){return r.createElement("div",{className:"bg-orange w-[30px] h-[30px] rounded-md hover:!scale-[1.2] transition-all duration-300",key:e},r.createElement("a",{className:"flex flex-col item-center justify-center w-full h-full",href:t.link.url,target:t.link.target},r.createElement("div",{className:"w-[16px] h-[14px] mx-auto"},r.createElement(s.Z,{image:t.icon,className:"w-full h-full object-contain object-center"}))))}))),r.createElement("div",{className:"mt-auto md:-translate-y-5 md:mt-20"},r.createElement("div",{className:"space-x-2 mb-6 md:mb-10"},a.accreditationLogos.map((function(t,e){return r.createElement("div",{key:e,className:"w-[50px] h-[50px]"},r.createElement(s.Z,{image:t.logo,className:"w-full h-full object-contain object-center"}))}))),r.createElement("p",{className:"!text-sm"},"© ",(new Date).getFullYear()," ",a.copyrightMessage))),r.createElement("div",{className:"col-span-12 md:col-span-8 lg:pl-20 flex flex-wrap order-first md:order-last"},a.footerMenu.map((function(t,e){return r.createElement("div",{key:e,className:"mb-8 md:mb-16 lg:mb-[72px] w-1/2 md:w-1/4"},r.createElement("h4",{className:"font-body text-lg font-bold mb-5"},t.heading),r.createElement("ul",{className:"space-y-2"},t.menuItems.map((function(t,e){var n,i,a;return r.createElement("li",{key:e},r.createElement(o.Link,{to:(null===(n=t.link)||void 0===n?void 0:n.url)||"#",target:null===(i=t.link)||void 0===i?void 0:i.target,className:"text-base hover:opacity-50 transition-all duration-300"},r.createElement("span",null,null===(a=t.link)||void 0===a?void 0:a.title)))}))))})))))}var l=n(7006),c=n(96620),f=n(43380),d=n(23470),p=function(t){var e=t.active,n=t.optionsHeader,i=t.menus,a=(0,r.useState)(null),s=a[0],u=a[1],p=(0,r.useState)(!1),v=p[0],m=p[1];return r.createElement("div",{className:"z-[99] bg-darkGreen text-white fixed w-screen h-screen mt-[-62px] transition-all duration-200 overflow-scroll "+(e?"":"translate-y-[-100vh]")},r.createElement("div",{className:"border-b border-white mt-[62px]"}),r.createElement(d.Z$,{inner:function(t){var e;return r.createElement(r.Fragment,null,r.createElement("div",{className:"px-[10px] py-[18px] space-y-[10px] items-center text-[26px] font-normal flex flex-col "},null==n||null===(e=n.menu)||void 0===e?void 0:e.map((function(e,n){var a,p,g,y;return r.createElement(d.ab,{controls:t,delay:n/8,duration:1,key:n,className:"w-full"},r.createElement(l.E.div,{key:"menuLink"+n,className:"w-full rounded-[5px] bg-fadedGreen overflow-hidden",onClick:function(){(null==e?void 0:e.showSubmenu)&&function(t){m(!0),u(t)}(n===s?null:n)}},r.createElement(o.Link,{className:"relative w-full flex items-center space-x-6 justify-between z-10 px-5 py-[25px] transition-all duration-200 sm:hover:bg-white sm:hover:text-darkGreen overflow-hidden",to:null==e||null===(a=e.link)||void 0===a?void 0:a.url},null==e||null===(p=e.link)||void 0===p?void 0:p.title,(null==e?void 0:e.showSubmenu)&&r.createElement("span",{className:"transition-all duration-200 "+(v&&s===n?"-rotate-90":"rotate-90")},r.createElement(f.Nm,null))),r.createElement(c.M,null,v&&s===n&&r.createElement(l.E.div,{key:"menuWrap",initial:{y:20,opacity:0},animate:{opacity:1,y:0},exit:{opacity:0,y:20,transition:{duration:.2}},transition:{duration:.4,y:{duration:.4}},className:"w-full pb-6 px-2 "},v&&s===n&&r.createElement(l.E.div,{key:"menu"+n,layoutId:"menu"+n,transition:{duration:.4},exit:{transition:{duration:.1}},className:"space-y-4"},i[null==e||null===(g=e.link)||void 0===g?void 0:g.title]?i[null==e||null===(y=e.link)||void 0===y?void 0:y.title].items.map((function(t){return r.createElement("div",{key:"mobile"+t.heading},r.createElement(h,t))})):null)))))}))),r.createElement("div",{className:"px-[10px] mt-[28px] relative z-10 text-center items-center space-y-[10px] flex flex-col"},r.createElement(d.ab,{controls:t,delay:.4,duration:1,className:"block w-full"},r.createElement(o.Link,{to:"/contact",className:"block btn btn-coral-simple w-full max-w-[315px] mx-auto !py-4 border border-coral"},"Speak with us"))),r.createElement("div",{className:"px-[10px] my-8 text-center"},r.createElement("p",{className:"!text-sm"},"© ",(new Date).getFullYear()," Setpoint")))}}))},v={Solutions:{type:"one-col",items:[{heading:"Technology",content:"Explore the operating system for borrowers and lenders.",url:"/platform/"},{heading:"Capital",content:"Bespoke debt facilities for growth.",url:"/capital/"}]},Customers:{type:"one-col",items:[{heading:"Borrowers",content:"Optimize capital use and automate operations.",url:"/borrowers/"},{heading:"Lenders",content:"Standardize borrower data and ensure compliance.",url:"/lenders/"}]},Resources:{type:"one-col",items:[{heading:"Resources Hub",url:"/resources/"},{heading:"Blog",url:"/resources#Blog"},{heading:"Press",url:"/resources#Press-Releases"}]}};function m(t){var e,n,i,o=t.menuLink;return v[null==o||null===(e=o.link)||void 0===e?void 0:e.title]?r.createElement(r.Fragment,null,"one-col"===v[null==o||null===(n=o.link)||void 0===n?void 0:n.title].type?r.createElement(g,{menu:v[null==o||null===(i=o.link)||void 0===i?void 0:i.title].items}):null):null}function h(t){var e=t.heading,n=t.content,i=t.url;return r.createElement(o.Link,{to:i,className:"bg-white hover:bg-taupe transition-colors duration-200 ease-in-out rounded-[12px] overflow-hidden px-4 py-3 flex flex-col"},r.createElement("div",{className:"flex space-x-3 items-center "+(n?"":"justify-between")},r.createElement("div",{className:"t-16 text-darkGreen font-medium"},e),r.createElement("div",null,r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},r.createElement("rect",{width:"20",height:"20",rx:"10",fill:"#F66B4C"}),r.createElement("path",{d:"M14 10H6M14 10L11 7M14 10L11 13",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round"})))),n?r.createElement("div",{className:"t-14 text-dark70 opacity-90 mt-2 leading-[1.27] font-normal",style:{textWrap:"pretty"},dangerouslySetInnerHTML:{__html:n}}):null)}function g(t){var e=t.menu;return r.createElement("div",{className:"grid gap-1 min-w-[280px]"},e.map((function(t,e){return r.createElement(h,Object.assign({key:t.heading},t))})))}function y(t){var e,n=t.data,i=t.pageColour,a=t.hide,s=n.optionsHeader,u=(0,r.useState)(!1),d=u[0],h=u[1],g=(0,r.useState)(null),y=g[0],x=g[1],w=(0,r.useState)(!1),E=w[0],C=w[1],T=function(){C(!1),x(null)},S=(0,r.useState)(!1),k=S[0],P=S[1],L=[],A=[],O=[];return"darkGreen"===i?(L.push(" text-white "),A.push(" bg-darkGreen "),O.push("bg-taupe")):"darkestGreen"===i?(L.push(" text-white "),A.push(" bg-darkestGreen "),O.push("bg-taupe")):O.push("bg-darkGreen"),a&&A.push(" !hidden "),(0,r.useEffect)((function(){var t=function(t){window.scrollY>80?h(!0):h(!1)};return window.addEventListener("scroll",t),function(){return window.removeEventListener("scroll",t)}}),[]),r.createElement("header",{className:(k?"fixed":"absolute")+" md:absolute top-0 left-0 right-0 z-[100] transition-colors duration-300 "+A+" "+(d?null!=A&&A.length?"headerBg":"!bg-taupe":"")+" ",role:"banner"},r.createElement("div",{className:"relative z-[9999] px-[25px] w-full justify-between mx-auto py-5 md-largepy-[17px] flex items-center"},r.createElement("div",{className:"flex items-center space-x-6 lg:space-x-[60px]"},"darkGreen"===i||"darkestGreen"===i?r.createElement(o.Link,{className:"relative z-[9999] max-w-[100px] lg:min-w-[120px]",to:"/"},r.createElement(f.TR,{mobileActive:!0})):r.createElement(o.Link,{className:"relative z-[9999] max-w-[100px] lg:min-w-[120px]",to:"/"},r.createElement(f.TR,{mobileActive:k})),r.createElement("div",{className:" items-center  text-[15px] font-medium hidden md-large:flex "},null==s||null===(e=s.menu)||void 0===e?void 0:e.map((function(t,e){var n,a,s;return r.createElement(l.E.div,{key:"menuLink"+e,className:"xl:relative px-[17px] flex items-center space-x-2 "+("with-image"===(null==t||null===(n=t.submenu)||void 0===n?void 0:n.type)?"":"relative"),onHoverStart:function(){(null==t?void 0:t.showSubmenu)&&function(t){C(!0),x(t)}(e)},onHoverEnd:T},r.createElement(o.Link,{className:"relative z-10 "+L,to:null==t||null===(a=t.link)||void 0===a?void 0:a.url},null==t||null===(s=t.link)||void 0===s?void 0:s.title),(null==t?void 0:t.showSubmenu)&&r.createElement(f.Tt,{color:"darkGreen"===i||"darkestGreen"===i?"#fff":"#164951"}),r.createElement(c.M,null,E&&y===e&&r.createElement(l.E.div,{key:"menuWrap"+e,initial:{y:10,opacity:0},animate:{opacity:1,y:0},exit:{opacity:0,y:10,transition:{duration:.2}},transition:{duration:.2,y:{duration:.2}},className:"absolute left-0 right-auto min-w-fit top-0 xl:pt-12 flex  pt-12"},r.createElement("div",{key:"menu"+e,className:"rounded-[20px] bg-white overflow-hidden p-2",style:{boxShadow:"0px 4px 20px 0px rgba(0, 0, 0, 0.05)"}},r.createElement(m,{menuLink:t})))))})))),r.createElement("div",{className:"relative z-10 items-center space-x-[9px] hidden  md-large:flex"},r.createElement(o.Link,{to:"/speak-with-us/",className:"btn btn-orange !px-[12px] !py-[8px]"},"Speak with us")),r.createElement("div",{className:"md-large:hidden"},r.createElement(b,{toggle:function(){P(!k)},active:k,menuControls:O}))),r.createElement("div",{className:"md-large:hidden"},r.createElement(p,{active:k,optionsHeader:s,menus:v})))}var b=function(t){var e=t.toggle,n=t.active,i=t.menuControls,o=["absolute w-full transition-all duration-200"];return r.createElement("div",{className:"relative z-[9999]"},r.createElement("div",{onClick:e,className:"relative cursor-pointer top-0 w-[16px] h-[12px]"},r.createElement("span",{className:"h-[1.7px] "+o+" "+(n?"top-[48%] rotate-45 bg-white":i+" top-[8%]")}),r.createElement("span",{className:"h-[1.6px] "+o+" "+(n?"top-[48%] -rotate-45 bg-white":i+" top-[92%]")})))},x=r.createContext(null);function w(t){var e=t.wp,n=t.page,o=t.children,s=t.pageColour,l=t.hide,c=t.styleVersion,f=a(),d=[];return"darkGreen"===s?d.push(" text-white bg-darkGreen "):"darkestGreen"===s&&d.push(" bg-white "),r.createElement(x.Provider,{value:{options:e,page:n}},r.createElement(i.Qu.Provider,{value:{global:f}},r.createElement(y,{data:null==e?void 0:e.header,pageColour:s,hide:l}),r.createElement("main",{className:d+" page-slug-"+(null==n?void 0:n.slug)+" page-id-"+(null==n?void 0:n.databaseId)+" styles-"+c},o),2778!==(null==n?void 0:n.databaseId)?r.createElement(u,{data:null==e?void 0:e.footer,pageColour:s,hide:l}):null))}},23470:function(t,e,n){"use strict";n.d(e,{j7:function(){return v},Z$:function(){return d},ab:function(){return p}});var r=n(67294),i=n(79900),o=n(12677),a=n(92484),s=n(67065);function u(){var t=!1,e=[],n=new Set,r={subscribe:function(t){return n.add(t),function(){n.delete(t)}},start:function(r,i){if(t){var o=[];return n.forEach((function(t){o.push((0,a.d5)(t,r,{transitionOverride:i}))})),Promise.all(o)}return new Promise((function(t){e.push({animation:[r,i],resolve:t})}))},set:function(e){return(0,o.k)(t,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),n.forEach((function(t){(0,s.gg)(t,e)}))},stop:function(){n.forEach((function(t){(0,a.p_)(t)}))},mount:function(){return t=!0,e.forEach((function(t){var e=t.animation,n=t.resolve;r.start.apply(r,(0,i.ev)([],(0,i.CR)(e),!1)).then(n)})),function(){t=!1,r.stop()}}};return r}var l=n(81751);var c=n(7006),f=n(78028),d=function(t){var e=t.inner,n=t.className,i=function(){var t=(0,l.h)(u);return(0,r.useEffect)(t.mount,[]),t}(),o=(0,f.YD)(),a=o.ref,s=o.inView;return(0,r.useEffect)((function(){s&&i.start("visible")}),[i,s]),r.createElement("div",{className:n,ref:a},e(i))},p=function(t){var e=t.className,n=t.controls,i=t.delay,o=t.children,a=t.duration,s=void 0===a?1.75:a,u=t.prop,l=void 0===u?"y":u,f=t.start,d=void 0===f?50:f,p=t.end,v=void 0===p?0:p,m={opacity:0};m[l]=d;var h={opacity:1,transition:{duration:s,delay:.2+i,ease:[.04,.5,.2,1]}};return h[l]=v,r.createElement(c.E.div,{className:e,initial:"hidden",variants:{hidden:m,visible:h},animate:n},o)},v=function(t){var e=t.children,n=t.className,i=t.extraHeight,o=void 0===i?30:i,a=t.extraHeightMobile,s=(0,r.useRef)(),u=(0,r.useState)(0),l=u[0],c=u[1],f=(0,r.useState)(0),d=f[0],p=f[1];return(0,r.useEffect)((function(){if("undefined"==typeof window)return null;p(window.outerWidth);var t=function(){s.current&&c(s.current.offsetHeight)};window.setTimeout((function(){}),100),t();var e=window.setTimeout((function(){t()}),1e3);return window.addEventListener("resize",t),function(){window.clearTimeout(e),window.removeEventListener("resize",t)}}),[s]),r.createElement("div",{style:{height:l>0?l+(d<768?a:o)+"px":"auto"},className:"box-content "+n},r.createElement("div",{ref:s},e))}},43380:function(t,e,n){"use strict";n.d(e,{Eh:function(){return w},GJ:function(){return c},Gh:function(){return d},HS:function(){return E},Jr:function(){return s},Nm:function(){return h},Od:function(){return p},TR:function(){return a},Tt:function(){return v},Xo:function(){return l},_Q:function(){return m},cO:function(){return g},hF:function(){return y},il:function(){return f},im:function(){return u},p0:function(){return b},x8:function(){return x}});var r,i=n(36459),o=n(67294),a=function(t){var e=t.mobileActive;return o.createElement("svg",{className:"w-full h-auto",width:"103",height:"22",viewBox:"0 0 103 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M102.26 7.00514V4.84787H99.4315V0.631042L96.9988 3.09921V4.09407L97.7602 4.85546H94.3974V7.01273H96.9988V14.3145C96.9988 16.0162 97.948 16.9514 99.6637 16.9514H102.231V14.7535H100.133C99.5901 14.7345 99.4264 14.5936 99.4264 14.0315V7.00892L102.26 7.00514ZM63.2515 6.05594C62.7926 5.59282 62.2455 5.22644 61.6425 4.97854C61.0388 4.73073 60.3915 4.60689 59.739 4.61436H59.6705C58.3167 4.61317 57.0163 5.14201 56.0475 6.08766V4.85546H53.6149V21.606H56.0589V15.7141C56.3906 16.0863 56.7864 16.3958 57.2277 16.6278C57.9329 16.9956 58.7164 17.188 59.5118 17.1887H59.5753C60.2521 17.1931 60.9232 17.0638 61.5498 16.808C62.1766 16.5531 62.7464 16.1761 63.2262 15.6989C63.8213 15.058 64.2825 14.3047 64.5827 13.4833C64.8823 12.662 65.0152 11.7893 64.9735 10.9161C64.99 8.9162 64.3835 7.19295 63.2515 6.05594ZM59.4065 15.0454H59.1921C58.8256 15.0468 58.4626 14.9743 58.1248 14.8322C57.7867 14.6906 57.4807 14.4821 57.2251 14.2193C56.46 13.2777 56.0424 12.1014 56.0424 10.8882C56.0424 9.67496 56.46 8.49868 57.2251 7.55712C57.4816 7.29476 57.7879 7.08639 58.1261 6.94423C58.4648 6.80225 58.8286 6.72973 59.1959 6.73102H59.4065C61.296 6.73102 62.5181 8.36547 62.5181 10.8882C62.5181 13.4109 61.2948 15.0454 59.4065 15.0454ZM39.4416 15.0454C40.7195 15.0454 41.6243 14.3754 41.8781 13.2472L41.9149 13.0645H44.3881L44.3386 13.3335C43.8869 15.657 41.9276 17.1583 39.3185 17.1583H39.25C38.545 17.1691 37.845 17.0397 37.1905 16.7776C36.5357 16.5167 35.9392 16.1285 35.4355 15.6355C34.2858 14.4934 33.7008 12.8437 33.7008 10.8666C33.6569 10.0141 33.7864 9.16147 34.0814 8.3604C34.3756 7.55883 34.8288 6.82503 35.4139 6.20313C35.9181 5.69899 36.5183 5.30114 37.179 5.03313C37.8395 4.7645 38.5473 4.63157 39.2602 4.64228C39.918 4.61058 40.5753 4.71602 41.1903 4.9519C41.8055 5.18754 42.3651 5.54837 42.8336 6.01151C43.3386 6.54172 43.7321 7.16784 43.9909 7.85281C44.2495 8.53802 44.3682 9.26808 44.3399 9.99991V11.3958H36.1258C36.2755 13.8069 37.7755 15.0454 39.2335 15.0454H39.4416ZM39.3465 6.73102H39.1358C37.6752 6.73102 36.6169 7.70306 36.2654 9.34132H41.8844C41.7499 7.72591 40.7918 6.73102 39.3452 6.73102H39.3465ZM49.5618 0.639903L47.1291 3.10807V4.22478L47.7636 4.85927H44.5302V7.01654H47.1317V14.3183C47.1317 16.02 48.0809 16.9552 49.7965 16.9552H52.3637V14.7586H50.2698C49.7267 14.7396 49.563 14.5987 49.563 14.0366V7.014H52.3916V4.85673H49.563L49.5618 0.639903ZM24.4461 5.94298C25.4203 5.04245 26.7115 4.56431 28.0373 4.61309C30.9166 4.61309 32.7325 6.1549 32.7884 8.64084V8.87307H30.3468V8.67383C30.3331 8.4011 30.2645 8.13394 30.1451 7.88834C29.9658 7.51598 29.6783 7.20639 29.3202 7.00005C28.9635 6.79462 28.553 6.70172 28.1426 6.73356H27.9358C26.7823 6.73356 25.9143 7.35027 25.9562 8.18526C25.9562 8.81975 26.2252 9.2804 27.5576 9.5545L29.3824 9.93519C30.2681 10.0817 31.096 10.4704 31.7744 11.0583C32.0895 11.3659 32.3341 11.7382 32.4914 12.1496C32.6484 12.5607 32.7151 13.0009 32.6868 13.4401C32.6868 15.6672 30.7973 17.1595 27.9815 17.1595C24.9841 17.1595 23.0895 15.6215 23.04 13.1394V12.9059H25.4587V13.1165C25.5679 14.3398 26.4739 15.0416 27.9459 15.0416H28.1502C28.6941 15.0647 29.2316 14.9179 29.6882 14.6216C29.8612 14.5064 30.0025 14.3498 30.0994 14.166C30.1958 13.9817 30.2442 13.7762 30.2402 13.5683C30.2402 13.0252 30.0537 12.4821 28.6845 12.1991L26.9916 11.8565C26.0655 11.7011 25.1957 11.3075 24.4676 10.7144C24.1385 10.4195 23.8785 10.0554 23.7063 9.6484C23.5348 9.24146 23.4555 8.80161 23.474 8.3604C23.4607 7.9109 23.5397 7.46343 23.7063 7.04572C23.8742 6.62991 24.1256 6.2529 24.4448 5.9379L24.4461 5.94298ZM81.2063 0.75413H78.7724V3.47101H81.2051L81.2063 0.75413ZM87.4713 4.97349C88.0937 4.71145 88.7659 4.58845 89.4408 4.61309C92.1056 4.61309 93.8175 6.32368 93.8289 8.95554V16.9324H91.3963V9.43522C91.3963 7.62185 90.6412 6.73356 89.1121 6.73356H88.9433C87.1414 6.73356 85.8318 8.28553 85.8318 10.4263V16.9463H83.3903V4.85419H85.828V6.12317C86.2845 5.62299 86.845 5.22885 87.47 4.96841L87.4713 4.97349ZM81.2063 4.8466H78.7724V16.94H81.2051L81.2063 4.8466ZM71.576 4.61817C72.3036 4.60935 73.0257 4.74521 73.7003 5.01789C74.3755 5.29159 74.9894 5.69712 75.5061 6.21075C76.6712 7.4925 77.3168 9.16241 77.3169 10.8946C77.3168 12.6267 76.6712 14.2966 75.5061 15.5784C75.0037 16.0822 74.4069 16.4819 73.7498 16.7547C73.0929 17.0271 72.3887 17.1673 71.6776 17.1671H71.472C70.764 17.1671 70.0631 17.0265 69.4099 16.7534C68.7564 16.4807 68.1634 16.0814 67.665 15.5784C66.4962 14.2974 65.8481 12.6261 65.8479 10.892C65.8479 9.15792 66.496 7.48645 67.665 6.20567C68.1766 5.69166 68.7864 5.28596 69.4581 5.01281C70.1295 4.73825 70.8495 4.6023 71.5748 4.61309L71.576 4.61817ZM71.4745 15.0492H71.6814C73.5937 15.0492 74.8716 13.3792 74.8716 10.892C74.8716 8.40481 73.5798 6.73483 71.6763 6.73483H71.453C69.5495 6.73483 68.2805 8.40481 68.2805 10.892C68.2805 13.3792 69.5584 15.0454 71.4733 15.0454L71.4745 15.0492Z",fill:e?"#ffffff":"#071B1E"}),o.createElement("path",{d:"M0.5 1.8465V19.8826H18.5377V1.8465H0.5ZM17.1083 18.4548H11.9899V13.3364L7.04945 18.2769H2.10896V13.3364L7.04945 8.39595V13.3364H11.9899V8.39595H1.92945V3.27264H7.0478V8.391L11.9883 3.45051H16.9288V8.391L11.9883 13.3315H17.1066L17.1083 18.4548Z",fill:e?"#ffffff":"#071B1E"}))},s=function(){return o.createElement("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.createElement("circle",{cx:"4.66647",cy:"4.79659",r:"4.58834",fill:"#4FEDC7"}),o.createElement("path",{d:"M2.83105 5.05882L3.87987 6.10763L6.50191 3.4856",stroke:"white",strokeWidth:"0.524408",strokeLinecap:"round",strokeLinejoin:"round"}))},u=function(){return o.createElement("svg",{width:"18",height:"19",viewBox:"0 0 18 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.createElement("circle",{cx:"9",cy:"9.5",r:"9",fill:"#FC9082"}),o.createElement("path",{d:"M4.63836 9.52862L6.87066 12.3382L13.7958 6.62861",stroke:"white",strokeWidth:"2.13723"}))},l=function(){return o.createElement("svg",{width:"42",height:"42",viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.createElement("circle",{cx:"21.0812",cy:"20.7462",r:"20.5064",fill:"#2C9C88"}),o.createElement("circle",{cx:"21.0812",cy:"20.7462",r:"19.6176",stroke:"white",strokeOpacity:"0.3",strokeWidth:"1.77778"}),o.createElement("path",{d:"M12.5293 22.6491L17.3409 27.4606L29.5231 15.2783",stroke:"white",strokeWidth:"1.76133"}))},c=function(){return o.createElement("svg",{className:"w-full h-auto",width:"42",height:"42",viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.createElement("circle",{cx:"21.0812",cy:"20.7462",r:"20.5064",fill:"#2C9C88"}),o.createElement("circle",{cx:"21.0812",cy:"20.7462",r:"19.6176",stroke:"white",strokeOpacity:"0.3",strokeWidth:"1.77778"}),o.createElement("path",{d:"M12.5293 22.6491L17.3409 27.4606L29.5231 15.2783",stroke:"white",strokeWidth:"1.76133"}))},f=function(){return o.createElement("svg",{className:"w-full h-full",width:"42",height:"42",viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.createElement("circle",{cx:"21.0812",cy:"20.7462",r:"20.5064",fill:"#2C9C88"}),o.createElement("circle",{cx:"21.0812",cy:"20.7462",r:"19.6176",stroke:"white",strokeOpacity:"0.3",strokeWidth:"1.77778"}),o.createElement("path",{d:"M12.5293 22.6491L17.3409 27.4606L29.5231 15.2783",stroke:"white",strokeWidth:"1.76133"}))},d=function(){return o.createElement("svg",{width:"58",height:"58",viewBox:"0 0 58 58",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.createElement("circle",{cx:"29",cy:"29",r:"29",fill:"#FC9082"}),o.createElement("g",{clipPath:"url(#clip0_1315_1166)"},o.createElement("path",{d:"M34.741 28.5631L24.741 23.0631C24.6643 23.0204 24.5777 22.9987 24.4899 23.0001C24.4022 23.0015 24.3163 23.026 24.241 23.0711C24.1671 23.1158 24.1061 23.1789 24.0638 23.2543C24.0216 23.3297 23.9996 23.4147 24 23.5011V34.5011C24.0001 34.5879 24.0229 34.6733 24.066 34.7487C24.1091 34.8241 24.1712 34.8869 24.246 34.9311C24.3227 34.9771 24.4105 35.0013 24.5 35.0011C24.5843 35.001 24.6672 34.9797 24.741 34.9391L34.741 29.4391C34.8194 29.3959 34.8848 29.3325 34.9303 29.2554C34.9758 29.1784 34.9999 29.0906 34.9999 29.0011C34.9999 28.9116 34.9758 28.8237 34.9303 28.7467C34.8848 28.6696 34.8194 28.6062 34.741 28.5631Z",fill:"white"})),o.createElement("defs",null,o.createElement("clipPath",{id:"clip0_1315_1166"},o.createElement("rect",{width:"12",height:"12",fill:"white",transform:"translate(23 23)"}))))},p=function(){return o.createElement("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.createElement("g",{"clip-path":"url(#clip0_3095_4465)"},o.createElement("path",{d:"M31.8223 3.85449H3.38477C2.17664 3.85449 1.19727 4.83387 1.19727 6.04199V30.1045C1.19727 31.3126 2.17664 32.292 3.38477 32.292H31.8223C33.0304 32.292 34.0098 31.3126 34.0098 30.1045V6.04199C34.0098 4.83387 33.0304 3.85449 31.8223 3.85449Z",stroke:"#FC9082",strokeWidth:"2.1875",strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M12.1348 10.417L24.166 18.0732L12.1348 25.7295V10.417Z",stroke:"#FC9082",strokeWidth:"2.1875",strokeLinecap:"round",strokeLinejoin:"round"})),o.createElement("rect",{x:"1.19727",y:"1.66699",width:"32.8125",height:"32.8125",stroke:"white",strokeOpacity:"0.3",strokeWidth:"2.1875"}),o.createElement("defs",null,o.createElement("clipPath",{id:"clip0_3095_4465"},o.createElement("rect",{x:"0.103516",y:"0.573242",width:"35",height:"35",fill:"white"}))))},v=function(t){var e=t.color,n=void 0===e?"#164951":e;return o.createElement("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.36324 4.92549L4.87983 9.4089L0.396484 4.92549L1.24502 4.07697L4.87984 7.71184L8.51471 4.07697L9.36324 4.92549Z",fill:n}))},m=function(){return o.createElement("svg",{width:"7",height:"11",viewBox:"0 0 7 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.createElement("path",{d:"M1 10L4.85714 5.5L1 1",stroke:"currentColor",strokeWidth:"1.92857"}))},h=function(){return o.createElement("svg",{className:"w-full h-full max-w-[24px] max-h-[24px]",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.createElement("circle",{cx:"12",cy:"12",r:"12",fill:"#F66B4C"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.2378 8.1591L16.8345 11.6159C17.0552 11.828 17.0552 12.172 16.8345 12.3841L13.2378 15.8409C13.0171 16.053 12.6592 16.053 12.4385 15.8409C12.2178 15.6288 12.2178 15.2849 12.4385 15.0727L15.0704 12.5432H6V11.4568H15.0704L12.4385 8.92728C12.2178 8.71515 12.2178 8.37122 12.4385 8.1591C12.6592 7.94697 13.0171 7.94697 13.2378 8.1591Z",fill:"white"}))},g=function(){return o.createElement("svg",{width:"29",height:"8",viewBox:"0 0 29 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.createElement("path",{d:"M24.875 7.10059L27.875 4.10059L24.875 1.10059",stroke:"#164951",strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M28 4.10059L1 4.10059",stroke:"#164951",strokeLinecap:"round",strokeLinejoin:"round"}))},y=function(t){var e=t.color,n=t.arrowFill;return o.createElement("svg",{className:"w-full h-full",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.createElement("circle",{cx:"12",cy:"12",r:"12",fill:n?"#FC9082":"currentColor"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.2378 8.1591L16.8345 11.6159C17.0552 11.828 17.0552 12.172 16.8345 12.3841L13.2378 15.8409C13.0171 16.053 12.6592 16.053 12.4385 15.8409C12.2178 15.6288 12.2178 15.2849 12.4385 15.0727L15.0704 12.5432H6V11.4568H15.0704L12.4385 8.92728C12.2178 8.71515 12.2178 8.37122 12.4385 8.1591C12.6592 7.94697 13.0171 7.94697 13.2378 8.1591Z",fill:"coral"===e?"black":"white"}))},b=function(t){return(0,i.Z)(t),o.createElement("svg",{className:"!w-full",width:"34",height:"34",viewBox:"0 0 34 34",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.createElement("path",{d:"M10.8047 9.10405L16.9991 2.90967L23.1935 9.10405",fill:"white"}),o.createElement("path",{d:"M10.8047 9.10405L16.9991 2.90967L23.1935 9.10405",stroke:"#FC9082",strokeWidth:"2.03",strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M12.8708 16.3311H6.67646L2.54688 31.3008H31.454L27.3244 16.3311H21.13",fill:"white"}),o.createElement("path",{d:"M12.8708 16.3311H6.67646L2.54688 31.3008H31.454L27.3244 16.3311H21.13",stroke:"#FC9082",strokeWidth:"2.03",strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M17 24.59V2.90967",stroke:"#FC9082",strokeWidth:"2.03",strokeLinecap:"round",strokeLinejoin:"round"}))},x=function(t){return(0,i.Z)(t),o.createElement("svg",{className:"w-full h-full",width:"51",height:"51",viewBox:"0 0 51 51",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.createElement("circle",{cx:"25.3538",cy:"25.3538",r:"25.3538",fill:"#FC9082"}),o.createElement("path",{d:"M17.2188 17.2173L33.4915 33.4901",stroke:"white",strokeWidth:"2"}),o.createElement("path",{d:"M33.4922 17.2173L17.2194 33.4901",stroke:"white",strokeWidth:"2"}))},w=function(t){var e=t.active;return o.createElement("svg",{width:"17",height:"12",viewBox:"0 0 17 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.7535 0.55937L15.8488 5.45652C16.1615 5.75704 16.1615 6.24427 15.8488 6.54478L10.7535 11.4419C10.4409 11.7424 9.93391 11.7424 9.62124 11.4419C9.30857 11.1414 9.30857 10.6542 9.62124 10.3537L13.3497 6.77016H0.5V5.23114H13.3497L9.62124 1.64763C9.30857 1.34711 9.30857 0.859884 9.62124 0.55937C9.93391 0.258856 10.4409 0.258856 10.7535 0.55937Z",fill:e?"white":"black"}))},E=function(t){var e=t.classes;return o.createElement("svg",{className:e,width:"23",height:"23",viewBox:"0 0 23 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.createElement("path",{d:"M5.59185 22.7992H0.964385V7.89748H5.59185V22.7992ZM3.27563 5.86475C1.79591 5.86475 0.595703 4.63913 0.595703 3.15941C0.595703 2.44865 0.878051 1.76701 1.38063 1.26442C1.88322 0.76184 2.56487 0.479492 3.27563 0.479492C3.98638 0.479492 4.66803 0.76184 5.17062 1.26442C5.6732 1.76701 5.95555 2.44865 5.95555 3.15941C5.95555 4.63913 4.75484 5.86475 3.27563 5.86475ZM22.9109 22.7992H18.2935V15.5451C18.2935 13.8163 18.2586 11.5993 15.8876 11.5993C13.4816 11.5993 13.113 13.4775 13.113 15.4206V22.7992H8.49049V7.89748H12.9286V9.93022H12.9934C13.6112 8.7594 15.1203 7.52382 17.3717 7.52382C22.055 7.52382 22.9159 10.6078 22.9159 14.6135V22.7992H22.9109Z",fill:"white"}))};!function(t){t.None="none",t.ArrowRight="arrowRight"}(r||(r={}))},45637:function(t,e,n){"use strict";var r=n(63366),i=n(48945),o=n(67294),a=["image","objectFit","className","loading"];e.Z=function(t){var e,n,s=t.image,u=t.objectFit,l=t.className,c=t.loading,f=(0,r.Z)(t,a);return o.createElement(o.Fragment,null,null!=s&&null!==(e=s.localFile)&&void 0!==e&&e.childImageSharp?o.createElement(i.G,Object.assign({image:(0,i.d)(null==s?void 0:s.localFile),alt:null==s?void 0:s.altText,imgStyle:{objectFit:u||"contain"},draggable:"false",loading:c,className:""+l},f)):o.createElement("img",Object.assign({},f,{src:null==s||null===(n=s.localFile)||void 0===n?void 0:n.publicURL,alt:null==s?void 0:s.altText,draggable:"false",className:"w-full h-full "+l})))}},46733:function(t,e,n){"use strict";n.d(e,{Nm:function(){return s},zx:function(){return a}});var r,i=n(1597),o=n(67294);!function(t){t.Button="button",t.Text="text",t.Outline="button-outline"}(r||(r={}));var a=function(t){var e=t.link,n=t.type,r=t.color,a=t.removeArrow,u=void 0!==a&&a,l=t.arrowFill,c=void 0===l||l;if(!e)return null;var f="";return f="button"===n?"coral"===r?"btn btn-coral":"orange"===r?"btn btn-orange":"btn btn-beige":"text"===n?"text-link":"hover:opacity-50 transition-opacity",o.createElement(o.Fragment,null,"button"===n?o.createElement(i.Link,{to:(null==e?void 0:e.url)||"#",className:f+" flex items-center space-x-[9px] whitespace-nowrap justify-center group "},o.createElement("span",null,null==e?void 0:e.title),!0===u?null:o.createElement("span",{className:"inline-block group-hover:translate-x-[6px] transition-all duration-200"},o.createElement(s,{color:r}))):o.createElement(i.Link,{to:(null==e?void 0:e.url)||"#",className:f+" flex items-center space-x-[9px] whitespace-nowrap justify-center group"},o.createElement("span",null,null==e?void 0:e.title),!0===u?null:o.createElement("span",{className:"inline-block group-hover:translate-x-[6px] transition-all duration-200"},o.createElement(s,{arrowFill:c}))))},s=function(t){var e=t.color,n=t.arrowFill;return o.createElement("svg",{className:"w-full h-full max-w-[24px] max-h-[24px] button-arrow",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.createElement("circle",{cx:"12",cy:"12",r:"12",fill:n?"#F66B4C":"currentColor"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.2378 8.1591L16.8345 11.6159C17.0552 11.828 17.0552 12.172 16.8345 12.3841L13.2378 15.8409C13.0171 16.053 12.6592 16.053 12.4385 15.8409C12.2178 15.6288 12.2178 15.2849 12.4385 15.0727L15.0704 12.5432H6V11.4568H15.0704L12.4385 8.92728C12.2178 8.71515 12.2178 8.37122 12.4385 8.1591C12.6592 7.94697 13.0171 7.94697 13.2378 8.1591Z",fill:"coral"===e?"black":"white"}))}},30856:function(t,e,n){"use strict";n.d(e,{n:function(){return s}});var r=n(67294),i=n(45637),o=n(61017),a=n(7006),s=function(t){var e=t.heading,n=t.subheading,s=(t.description,t.previewImage),u=t.logo,l=t.name,c=t.role,f=t.company;return r.createElement("section",{className:"section-contained section-top section-bot"},r.createElement("div",{className:"container"},r.createElement("div",{className:"flex flex-col md:flex-row gap-8 lg:items-center mt-20"},r.createElement("div",{className:"md:max-w-[563px] md:w-1/2 lg:w-auto"},r.createElement("h5",{className:"text-coral font-body t-18-tag mb-4 md:mb-7"},e),r.createElement("h1",{className:"t-70 mb-7"},n),r.createElement("p",{className:"t-20"},(l?"With "+l+",":"")+" "+(c?""+c:"")+" "+(f?"at "+f:""))),r.createElement("div",{className:"flex-auto flex"},r.createElement("div",{className:"mx-auto relative flex items-end"},r.createElement("div",{className:"mb-4 mr-4 lg:mr-10 lg:mb-5 relative overflow-hidden rounded-3xl"},r.createElement("img",{className:"lg:min-w-[340px]",src:o.Z,alt:""}),r.createElement(a.E.div,{className:"absolute inset-x-4 inset-y-0",initial:{x:-100},whileInView:{x:0,transition:{duration:.5}}},r.createElement(i.Z,{className:"w-full h-full",objectPosition:"bottom",image:s}))),u&&r.createElement(a.E.div,{transition:{delay:.5},initial:{opacity:0,scale:0},whileInView:{opacity:1,scale:1},className:"absolute right-0 bottom-0 bg-white rounded-[20px] shadow-company-card p-4 lg:py-6 lg:px-9"},r.createElement(i.Z,{className:"w-24",image:u})))))))}},61017:function(t,e){"use strict";e.Z="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4gPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNDUiIGhlaWdodD0iMzkzIiB2aWV3Qm94PSIwIDAgMjQ1IDM5MyIgZmlsbD0ibm9uZSI+PHBhdGggZD0iTTAgMTIyLjQ0OUgyNDQuODkzVjM3Ny45NDhDMjQ0Ljg5MyAzODYuMTAzIDIzOC4yODIgMzkyLjcxNCAyMzAuMTI3IDM5Mi43MTRIMTQuNzY2MUM2LjYxMTAyIDM5Mi43MTQgMCAzODYuMTAzIDAgMzc3Ljk0OFYxMjIuNDQ5WiIgZmlsbD0iI0ZGQ0Y3MiI+PC9wYXRoPjxjaXJjbGUgY3g9IjEyMi40NDYiIGN5PSIxMjIuNDQ2IiByPSIxMjIuNDQ2IiBmaWxsPSIjRkZDRjcyIj48L2NpcmNsZT48L3N2Zz4="},97326:function(t,e,n){"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,{Z:function(){return r}})},15671:function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n.d(e,{Z:function(){return r}})},43144:function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function i(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}n.d(e,{Z:function(){return i}})},4942:function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,{Z:function(){return r}})},61120:function(t,e,n){"use strict";function r(t){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},r(t)}n.d(e,{Z:function(){return r}})},60136:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(89611);function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&(0,r.Z)(t,e)}},36459:function(t,e,n){"use strict";function r(t){if(null==t)throw new TypeError("Cannot destructure undefined")}n.d(e,{Z:function(){return r}})},45987:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(63366);function i(t,e){if(null==t)return{};var n,i,o=(0,r.Z)(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)n=a[i],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}},63366:function(t,e,n){"use strict";function r(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}n.d(e,{Z:function(){return r}})},6215:function(t,e,n){"use strict";function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}n.d(e,{Z:function(){return o}});var i=n(97326);function o(t,e){if(e&&("object"===r(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return(0,i.Z)(t)}},70885:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(40181);function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(o.push(r.value),!e||o.length!==e);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(t,e)||(0,r.Z)(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}}}]);
//# sourceMappingURL=commons-c68edf4196b409e09c27.js.map