PageSourceSearch

https://fabriquecitoyenne.fr/_next/static/chunks/5102-53ef677a415ff3ba.js

js fabriquecitoyenne.fr collected 2026-10-02 11:23:57 UTC 130,789 bytes, 17 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5102],{71979:function(t,e){"use strict";e.parse=function(t,e){if("string"!=typeof t)throw TypeError("argument str must be a string");for(var n={},i=t.split(";"),s=(e||{}).decode||r,o=0;o<i.length;o++){var a=i[o],l=a.indexOf("=");if(!(l<0)){var u=a.substring(0,l).trim();if(void 0==n[u]){var c=a.substring(l+1,a.length).trim();'"'===c[0]&&(c=c.slice(1,-1)),n[u]=function(t,e){try{return e(t)}catch(e){return t}}(c,s)}}}return n},e.serialize=function(t,e,r){var s=r||{},o=s.encode||n;if("function"!=typeof o)throw TypeError("option encode is invalid");if(!i.test(t))throw TypeError("argument name is invalid");var a=o(e);if(a&&!i.test(a))throw TypeError("argument val is invalid");var l=t+"="+a;if(null!=s.maxAge){var u=s.maxAge-0;if(isNaN(u)||!isFinite(u))throw TypeError("option maxAge is invalid");l+="; Max-Age="+Math.floor(u)}if(s.domain){if(!i.test(s.domain))throw TypeError("option domain is invalid");l+="; Domain="+s.domain}if(s.path){if(!i.test(s.path))throw TypeError("option path is invalid");l+="; Path="+s.path}if(s.expires){if("function"!=typeof s.expires.toUTCString)throw TypeError("option expires is invali
1d");l+="; Expires="+s.expires.toUTCString()}if(s.httpOnly&&(l+="; HttpOnly"),s.secure&&(l+="; Secure"),s.sameSite)switch("string"==typeof s.sameSite?s.sameSite.toLowerCase():s.sameSite){case!0:case"strict":l+="; SameSite=Strict";break;case"lax":l+="; SameSite=Lax";break;case"none":l+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return l};var r=decodeURIComponent,n=encodeURIComponent,i=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/},16397:function(t,e,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.destroyCookie=e.setCookie=e.parseCookies=void 0;var i=r(71979),s=r(54752),o=r(53203);function a(t,e){var r,n;return(null===(n=null===(r=null==t?void 0:t.req)||void 0===r?void 0:r.headers)||void 0===n?void 0:n.cookie)?i.parse(t.req.headers.cookie,e):o.isBrowser()?i.parse(document.cookie,e):{}}function l(t,e,r,a){var l,u;if(void 0===a&&(a={}),(null===(l=null==t?void 0:t.res)||void 0===l?void 0:l.getHeader)&&t.res.setHeader){if(null===(u=null==t?void 0:t.res)||void 0===u?void 0:u.finished)return console.warn('Not setting "'+e+'" cookie. Response has finished.'),console.warn("You should set cookie before res.send()"),{};var c=t.res.getHeader("Set-Cookie")||[];"string"==typeof c&&(c=[c]),"number"==typeof c&&(c=[]);var h=s.parse(c,{decodeValues:!1}),d=o.createCookie(e,r,a),f=[];h.forEach(function(t){if(!o.areCookiesEqual(t,d)){var e=i.serialize(t.name,t.value,n({encode:function(t){return t}},t));f.push(e)}}),f.push(i.serialize(e,r,a)),t.res.setHeader("Set-Cookie",f)}if(o.isBrowser()){if(a&&a.httpOnly)throw Error("Can not set a httpOnly cookie in the browser.");document.cookie=i.serialize(e,r,a)}return{}}function u(t,e,r){return l(t,e,"",n(n({},r||{}),{maxAge:-1}))}e.parseCookies=a,e.setCookie=l,e.destroyCookie=u,e.default={set:l,get:a,destroy:u}},53203:function(t,e){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function n(t,e){var r=Object.getOwnPropertyNames(t),n=Object.getOwnPropertyNames(e);if(r.length!==n.length)return!1;for(var i=0;i<r.length;i++){var s=r[i];if(t[s]!==e[s])return!1}return!0}Object.defineProperty(e,"__esModule",{value:!0}),e.areCookiesEqual=e.hasSameProperties=e.createCookie=e.isBrowser=void 0,e.isBrowser=function(){return"undefined"!=typeof window},e.createCookie=function(t,e,n){var i=n.sameSite;!0===i&&(i="strict"),(void 0===i||!1===i)&&(i="lax");var s=r(r({},n),{sameSite:i});return delete s.encode,r({name:t,value:e},s)},e.hasSameProperties=n,e.areCookiesEqual=function(t,e){var i=t.sameSite===e.sameSite;return"string"==typeof t.sameSite&&"string"==typeof e.sameSite&&(i=t.sameSite.toLowerCase()===e.sameSite.toLowerCase()),n(r(r({},t),{sameSite:void 0}),r(r({},e),{sameSite:void 0}))&&i}},91133:function(t,e,r){!function(t,e){"use strict";var r=function(t){if(t&&t.__esModule)return t;var e=Object.create(null);return t&&Object.keys(t).forEach(function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,n.get?n:{enumerable:!0,get:function(){return t[r]}})}}),e.default=t,Object.freeze(e)}(e);function n(t,e){return(n=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var i={error:null},s=function(t){function e(){for(var e,r=arguments.length,n=Array(r),s=0;s<r;s++)n[s]=arguments[s];return(e=t.call.apply(t,[this].concat(n))||this).state=i,e.updatedWithError=!1,e.resetErrorBoundary=function(){for(var t,r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];null==e.props.onReset||(t=e.props).onReset.apply(t,n),e.reset()},e}e.prototype=Object.create(t.prototype),e.prototype.constructor=e,n(e,t),e.getDerivedStateFromError=function(t){return{error:t}};var s=e.prototype;return s.reset=function(){this.updatedWithError=!1,this.setState(i)},s.componentDidCatch=function(t,e){var r,n;null==(r=(n=this.props).onError)||r.call(n,t,e)},s.componentDidMount=function(){null!==this.state.error&&(this.updatedWithError=!0)},s.componentDidUpdate=function(t){var e,r,n,i,s=this.state.error,o=this.props.resetKeys;if(null!==s&&!this.updatedWithError){this.updatedWithError=!0;return}null!==s&&(void 0===(e=t.resetKeys)&&(e=[]),void 0===(r=o)&&(r=[]),e.length!==r.length||e.some(function(t,e){return!Object.is(t,r[e])}))&&(null==(n=(i=this.props).onResetKeysChange)||n.call(i,t.resetKeys,o),this.reset())},s.render=function(){var t=this.state.error,e=this.props,n=e.fallbackRender,i=e.FallbackComponent,s=e.fallback;if(null!==t){var o={error:t,resetErrorBoundary:this.resetErrorBoundary};if(r.isValidElement(s))return s;if("function"==typeof n)return n(o);if(i)return r.createElement(i,o);throw Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},e}(r.Component);t.ErrorBoundary=s,t.useErrorHandler=function(t){var e=r.useState(null),n=e[0],i=e[1];if(null!=t)throw t;if(null!=n)throw n;return i},t.withErrorBoundary=function(t,e){var n=function(n){return r.createElement(s,e,r.createElement(t,n))},i=t.displayName||t.name||"Unknown";
1return n.displayName="withErrorBoundary("+i+")",n},Object.defineProperty(t,"__esModule",{value:!0})}(e,r(2265))},17410:function(t,e,r){"use strict";r.d(e,{Z:function(){return k}});var n=r(2265),i=r(38067),s=r(42390);let o=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function a({locale:t,formats:e,onError:r},n,i={}){let{format:a}=i,l=a&&(0,s.TB)(e,"number",a,r)||{};return n(t,(0,s.L6)(i,o,l))}function l(t,e,r,n={}){try{return a(t,e,n).format(r)}catch(e){t.onError((0,s.Tr)("Error formatting number.",e))}return String(r)}function u(t,e,r,n={}){try{return a(t,e,n).formatToParts(r)}catch(e){t.onError((0,s.Tr)("Error formatting number.",e))}return[]}let c=["numeric","style"];function h(t,e,r,n,i={}){n||(n="second"),Intl.RelativeTimeFormat||t.onError((0,s.Tr)(`Intl.RelativeTimeFormat is not available in this environment.
2Try polyfilling it using "@formatjs/intl-relativetimeformat"
3`));try{return(function({locale:t,formats:e,onError:r},n,i={}){let{format:o}=i,a=!!o&&(0,s.TB)(e,"relative",o,r)||{};return n(t,(0,s.L6)(i,c,a))})(t,e,i).format(r,n)}catch(e){t.onError((0,s.Tr)("Error formatting relative time.",e))}return String(r)}let d=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function f({locale:t,formats:e,onError:r,timeZone:n},i,o,a={}){let{format:l}=a,u=Object.assign(Object.assign({},n&&{timeZone:n}),l&&(0,s.TB)(e,i,l,r)),c=(0,s.L6)(a,d,u);return"time"!==i||c.hour||c.minute||c.second||(c=Object.assign(Object.assign({},c),{hour:"numeric",minute:"numeric"})),o(t,c)}function p(t,e,r,n={}){let i="string"==typeof r?new Date(r||0):r;try{return f(t,"date",e,n).format(i)}catch(e){t.onError((0,s.Tr)("Error formatting date.",e))}return String(i)}function m(t,e,r,n={}){let i="string"==typeof r?new Date(r||0):r;try{return f(t,"time",e,n).format(i)}catch(e){t.onError((0,s.Tr)("Error formatting time.",e))}return String(i)}function v(t,e,r,n={}){let i="string"==typeof r?new Date(r||0):r;try{return f(t,"date",e,n).formatToParts(i)}catch(e){t.onError((0,s.Tr)("Error formatting date.",e))}return[]}function g(t,e,r,n={}){let i="string"==typeof r?new Date(r||0):r;try{return f(t,"time",e,n).formatToParts(i)}catch(e){t.onError((0,s.Tr)("Error formatting time.",e))}return[]}let y=["localeMatcher","type"];function x({locale:t,onError:e},r,n,i={}){Intl.PluralRules||e((0,s.Tr)(`Intl.PluralRules is not available in this environment.
4Try polyfilling it using "@formatjs/intl-pluralrules"
5`));let o=(0,s.L6)(i,y);try{return r(t,o).select(n)}catch(t){e((0,s.Tr)("Error formatting plural.",t))}return"other"}var b=r(32891),P=r(66344),w=r.n(P);let T=["localeMatcher","type","style"],E=Date.now();function S({locale:t,onError:e},r,n,i={}){Intl.ListFormat||e((0,s.Tr)(`Intl.ListFormat is not available in this environment.
6Try polyfilling it using "@formatjs/intl-listformat"
7`));let o=(0,s.L6)(i,T);try{let e={},i=n.map((t,r)=>{if("object"==typeof t){let n=`${E}_${r}_${E}`;return e[n]=t,n}return String(t)});if(!Object.keys(e).length)return r(t,o).format(i);return r(t,o).formatToParts(i).reduce((t,r)=>{let n=r.value;return e[n]?t.push(e[n]):"string"==typeof t[t.length-1]?t[t.length-1]+=n:t.push(n),t},[])}catch(t){e((0,s.Tr)("Error formatting list.",t))}return n}let A=["localeMatcher","style","type","fallback"];function C({locale:t,onError:e},r,n,i={}){Intl.DisplayNames||e((0,s.Tr)(`Intl.DisplayNames is not available in this environment.
8Try polyfilling it using "@formatjs/intl-displaynames"
9`));let o=(0,s.L6)(i,A);try{return r(t,o).of(n)}catch(t){e((0,s.Tr)("Error formatting display name.",t))}}let D=w()||P;function V(t){return{locale:t.locale,timeZone:t.timeZone,formats:t.formats,textComponent:t.textComponent,messages:t.messages,defaultLocale:t.defaultLocale,defaultFormats:t.defaultFormats,onError:t.onError}}function M(t,e){let r=(0,s.ax)(e),n=Object.assign(Object.assign({},s.Z0),t),{locale:i,defaultLocale:o,onError:a}=n;return i?!Intl.NumberFormat.supportedLocalesOf(i).length&&a?a((0,s.Tr)(`Missing locale data for locale: "${i}" in Intl.NumberFormat. Using default locale: "${o}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details`)):!Intl.DateTimeFormat.supportedLocalesOf(i).length&&a&&a((0,s.Tr)(`Missing locale data for locale: "${i}" in Intl.DateTimeFormat. Using default locale: "${o}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details`)):(a&&a((0,s.Tr)(`"locale" was not configured, using "${o}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/API.md#intlshape for more details`)),n.locale=n.defaultLocale||"en"),Object.assign(Object.assign({},n),{formatters:r,formatNumber:l.bind(null,n,r.getNumberFormat),formatNumberToParts:u.bind(null,n,r.getNumberFormat),formatRelativeTime:h.bind(null,n,r.getRelativeTimeFormat),formatDate:p.bind(null,n,r.getDateTimeFormat),formatDateToParts:v.bind(null,n,r.getDateTimeFormat),formatTime:m.bind(null,n,r.getDateTimeFormat),formatTimeToParts:g.bind(null,n,r.getDateTimeFormat),formatPlural
9:x.bind(null,n,r.getPluralRules),formatMessage:b.wv.bind(null,n,r),formatHTMLMessage:b.Oj.bind(null,n,r),formatList:S.bind(null,n,r.getListFormat),formatDisplayName:C.bind(null,n,r.getDisplayNames)})}class k extends n.PureComponent{constructor(){super(...arguments),this.cache=(0,s.Sn)(),this.state={cache:this.cache,intl:M(V(this.props),this.cache),prevConfig:V(this.props)}}static getDerivedStateFromProps(t,{prevConfig:e,cache:r}){let n=V(t);return D(e,n)?null:{intl:M(n,r),prevConfig:n}}render(){return(0,s.lq)(this.state.intl),n.createElement(i.zt,{value:this.state.intl},this.props.children)}}k.displayName="IntlProvider",k.defaultProps=s.Z0},54752:function(t){"use strict";var e={decodeValues:!0,map:!1,silent:!1};function r(t){return"string"==typeof t&&!!t.trim()}function n(t,n){var i=t.split(";").filter(r),s=i.shift().split("="),o=s.shift(),a=s.join("=");n=n?Object.assign({},e,n):e;try{a=n.decodeValues?decodeURIComponent(a):a}catch(t){console.error("set-cookie-parser encountered an error while decoding a cookie with value '"+a+"'. Set options.decodeValues to false to disable this feature.",t)}var l={name:o,value:a};return i.forEach(function(t){var e=t.split("="),r=e.shift().trimLeft().toLowerCase(),n=e.join("=");"expires"===r?l.expires=new Date(n):"max-age"===r?l.maxAge=parseInt(n,10):"secure"===r?l.secure=!0:"httponly"===r?l.httpOnly=!0:"samesite"===r?l.sameSite=n:l[r]=n}),l}function i(t,i){if(i=i?Object.assign({},e,i):e,!t)return i.map?{}:[];if(t.headers&&t.headers["set-cookie"])t=t.headers["set-cookie"];else if(t.headers){var s=t.headers[Object.keys(t.headers).find(function(t){return"set-cookie"===t.toLowerCase()})];s||!t.headers.cookie||i.silent||console.warn("Warning: set-cookie-parser appears to have been called on a request object. It is designed to parse Set-Cookie headers from responses, not Cookie headers from requests. Set the option {silent: true} to suppress this warning."),t=s}return(Array.isArray(t)||(t=[t]),(i=i?Object.assign({},e,i):e).map)?t.filter(r).reduce(function(t,e){var r=n(e,i);return t[r.name]=r,t},{}):t.filter(r).map(function(t){return n(t,i)})}t.exports=i,t.exports.parse=i,t.exports.parseString=n,t.exports.splitCookiesString=function(t){if(Array.isArray(t))return t;if("string"!=typeof t)return[];var e,r,n,i,s,o=[],a=0;function l(){for(;a<t.length&&/\s/.test(t.charAt(a));)a+=1;return a<t.length}for(;a<t.length;){for(e=a,s=!1;l();)if(","===(r=t.charAt(a))){for(n=a,a+=1,l(),i=a;a<t.length&&"="!==(r=t.charAt(a))&&";"!==r&&","!==r;)a+=1;a<t.length&&"="===t.charAt(a)?(s=!0,a=i,o.push(t.substring(e,n)),e=a):a=n+1}else a+=1;(!s||a>=t.length)&&o.push(t.substring(e,t.length))}return o}},4962:function(){},33430:function(){},45518:function(t,e,r){"use strict";let n;r.d(e,{v:function(){return tS}});var i,s=r(13223),o=r(56717);let a={current:!1},l=t=>Array.isArray(t)&&"number"==typeof t[0],u=([t,e,r,n])=>`cubic-bezier(${t}, ${e}, ${r}, ${n})`,c={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:u([0,.65,.55,1]),circOut:u([.55,0,1,.45]),backIn:u([.31,.01,.66,-.59]),backOut:u([.33,1.53,.69,.99])};var h=r(44439);let d=(t,e,r)=>(((1-3*r+3*e)*t+(3*r-6*e))*t+3*e)*t;function f(t,e,r,n){if(t===e&&r===n)return h.Z;let i=e=>(function(t,e,r,n,i){let s,o;let a=0;do(s=d(o=e+(r-e)/2,n,i)-t)>0?r=o:e=o;while(Math.abs(s)>1e-7&&++a<12);return o})(e,0,1,t,r);return t=>0===t||1===t?t:d(i(t),e,n)}let p=f(.42,0,1,1),m=f(0,0,.58,1),v=f(.42,0,.58,1),g=t=>Array.isArray(t)&&"number"!=typeof t[0];var y=r(26378),x=r(87457),b=r(63627);let P=f(.33,1.53,.69,.99),w=(0,b.M)(P),T=(0,x.o)(w),E={linear:h.Z,easeIn:p,easeInOut:v,easeOut:m,circIn:y.Z7,circInOut:y.X7,circOut:y.Bn,backIn:w,backInOut:T,backOut:P,anticipate:t=>(t*=2)<1?.5*w(t):.5*(2-Math.pow(2,-10*(t-1)))},S=t=>{if(Array.isArray(t)){(0,s.k)(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,r,n,i]=t;return f(e,r,n,i)}return"string"==typeof t?((0,s.k)(void 0!==E[t],`Invalid easing type '${t}'`),E[t]):t};var A=r(59111),C=r(56920),D=r(76376),V=r(96781);function M(t,e,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?t+(e-t)*6*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t}var k=r(87325),R=r(18859),L=r(92943);let j=(t,e,r)=>{let n=t*t,i=r*(e*e-n)+n;return i<0?0:Math.sqrt(i)},O=[k.$,R.m,L.J],F=t=>O.find(e=>e.test(t));function B(t){let e=F(t);(0,s.k)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`);let r=e.parse(t);return e===L.J&&(r=function({hue:t,saturation:e,lightness:r,alpha:n}){t/=360,r/=100;let i=0,s=0,o=0;if(e/=100){let n=r<.5?r*(1+e):r+e-r*e,a=2*r-n;i=M(a,n,t+1/3),s=M(a,n,t),o=M(a,n,t-1/3)}else i=s=o=r;return{red:Math.round(255*i),green:Math.round(255*s),blue:Math.round(255*o),alpha:n}}(r)),r}let I=(t,e)=>{let r=B(t),n=B(e),i={...r};return t=>(i.red=j(r.red,n.red,t),i.green=j(r.green,n.green,t),i.blue=j(r.blue,n.blue,t),i.alpha=(0,V.t)(r.alpha,n.alpha,t),R.m.transform(i))};var $=r(33964),U=r(15636),W=r(37249);function N(t,e){return r=>r>0?e:t}function H(t,e){return r=>(0,V.t)(t,e,r)}
9function z(t){return"number"==typeof t?H:"string"==typeof t?(0,W.t)(t)?N:$.$.test(t)?I:Z:Array.isArray(t)?q:"object"==typeof t?$.$.test(t)?I:X:N}function q(t,e){let r=[...t],n=r.length,i=t.map((t,r)=>z(t)(t,e[r]));return t=>{for(let e=0;e<n;e++)r[e]=i[e](t);return r}}function X(t,e){let r={...t,...e},n={};for(let i in r)void 0!==t[i]&&void 0!==e[i]&&(n[i]=z(t[i])(t[i],e[i]));return t=>{for(let e in n)r[e]=n[e](t);return r}}let Z=(t,e)=>{let r=U.P.createTransformer(e),n=(0,U.V)(t),i=(0,U.V)(e);return n.indexes.var.length===i.indexes.var.length&&n.indexes.color.length===i.indexes.color.length&&n.indexes.number.length>=i.indexes.number.length?(0,C.z)(q(function(t,e){var r;let n=[],i={color:0,var:0,number:0};for(let s=0;s<e.values.length;s++){let o=e.types[s],a=t.indexes[o][i[o]],l=null!==(r=t.values[a])&&void 0!==r?r:0;n[s]=l,i[o]++}return n}(n,i),i.values),r):((0,s.K)(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),N(t,e))};function G(t,e,r){return"number"==typeof t&&"number"==typeof e&&"number"==typeof r?(0,V.t)(t,e,r):z(t)(t,e)}function Y({duration:t=300,keyframes:e,times:r,ease:n="easeInOut"}){let i=g(n)?n.map(S):S(n),o={done:!1,value:e[0]},a=function(t,e,{clamp:r=!0,ease:n,mixer:i}={}){let o=t.length;if((0,s.k)(o===e.length,"Both input and output ranges must be the same length"),1===o)return()=>e[0];t[0]>t[o-1]&&(t=[...t].reverse(),e=[...e].reverse());let a=function(t,e,r){let n=[],i=r||G,s=t.length-1;for(let r=0;r<s;r++){let s=i(t[r],t[r+1]);if(e){let t=Array.isArray(e)?e[r]||h.Z:e;s=(0,C.z)(t,s)}n.push(s)}return n}(e,n,i),l=a.length,u=e=>{let r=0;if(l>1)for(;r<t.length-2&&!(e<t[r+1]);r++);let n=(0,D.Y)(t[r],t[r+1],e);return a[r](n)};return r?e=>u((0,A.u)(t[0],t[o-1],e)):u}((r&&r.length===e.length?r:function(t){let e=[0];return function(t,e){let r=t[t.length-1];for(let n=1;n<=e;n++){let i=(0,D.Y)(0,e,n);t.push((0,V.t)(r,1,i))}}(e,t.length-1),e}(e)).map(e=>e*t),e,{ease:Array.isArray(i)?i:e.map(()=>i||v).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(o.value=a(e),o.done=e>=t,o)}}var _=r(14438);function K(t,e,r){let n=Math.max(e-5,0);return(0,_.R)(r-t(n),e-n)}function J(t,e){return t*Math.sqrt(1-e*e)}let Q=["duration","bounce"],tt=["stiffness","damping","mass"];function te(t,e){return e.some(e=>void 0!==t[e])}function tr({keyframes:t,restDelta:e,restSpeed:r,...n}){let i;let a=t[0],l=t[t.length-1],u={done:!1,value:a},{stiffness:c,damping:h,mass:d,duration:f,velocity:p,isResolvedFromDuration:m}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!te(t,tt)&&te(t,Q)){let r=function({duration:t=800,bounce:e=.25,velocity:r=0,mass:n=1}){let i,a;(0,s.K)(t<=(0,o.w)(10),"Spring duration must be 10 seconds or less");let l=1-e;l=(0,A.u)(.05,1,l),t=(0,A.u)(.01,10,(0,o.X)(t)),l<1?(i=e=>{let n=e*l,i=n*t;return .001-(n-r)/J(e,l)*Math.exp(-i)},a=e=>{let n=e*l*t,s=Math.pow(l,2)*Math.pow(e,2)*t,o=J(Math.pow(e,2),l);return(n*r+r-s)*Math.exp(-n)*(-i(e)+.001>0?-1:1)/o}):(i=e=>-.001+Math.exp(-e*t)*((e-r)*t+1),a=e=>t*t*(r-e)*Math.exp(-e*t));let u=function(t,e,r){let n=r;for(let r=1;r<12;r++)n-=t(n)/e(n);return n}(i,a,5/t);if(t=(0,o.w)(t),isNaN(u))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(u,2)*n;return{stiffness:e,damping:2*l*Math.sqrt(n*e),duration:t}}}(t);(e={...e,...r,mass:1}).isResolvedFromDuration=!0}return e}({...n,velocity:-(0,o.X)(n.velocity||0)}),v=p||0,g=h/(2*Math.sqrt(c*d)),y=l-a,x=(0,o.X)(Math.sqrt(c/d)),b=5>Math.abs(y);if(r||(r=b?.01:2),e||(e=b?.005:.5),g<1){let t=J(x,g);i=e=>l-Math.exp(-g*x*e)*((v+g*x*y)/t*Math.sin(t*e)+y*Math.cos(t*e))}else if(1===g)i=t=>l-Math.exp(-x*t)*(y+(v+x*y)*t);else{let t=x*Math.sqrt(g*g-1);i=e=>{let r=Math.exp(-g*x*e),n=Math.min(t*e,300);return l-r*((v+g*x*y)*Math.sinh(n)+t*y*Math.cosh(n))/t}}return{calculatedDuration:m&&f||null,next:t=>{let n=i(t);if(m)u.done=t>=f;else{let s=v;0!==t&&(s=g<1?K(i,t,n):0);let o=Math.abs(s)<=r,a=Math.abs(l-n)<=e;u.done=o&&a}return u.value=u.done?l:n,u}}}
9function tn({keyframes:t,velocity:e=0,power:r=.8,timeConstant:n=325,bounceDamping:i=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:c}){let h,d;let f=t[0],p={done:!1,value:f},m=t=>void 0!==a&&t<a||void 0!==l&&t>l,v=t=>void 0===a?l:void 0===l?a:Math.abs(a-t)<Math.abs(l-t)?a:l,g=r*e,y=f+g,x=void 0===o?y:o(y);x!==y&&(g=x-f);let b=t=>-g*Math.exp(-t/n),P=t=>x+b(t),w=t=>{let e=b(t),r=P(t);p.done=Math.abs(e)<=u,p.value=p.done?x:r},T=t=>{m(p.value)&&(h=t,d=tr({keyframes:[p.value,v(p.value)],velocity:K(P,t,p.value),damping:i,stiffness:s,restDelta:u,restSpeed:c}))};return T(0),{calculatedDuration:null,next:t=>{let e=!1;return(d||void 0!==h||(e=!0,w(t),T(t)),void 0!==h&&t>h)?d.next(t-h):(e||w(t),p)}}}var ti=r(40504),ts=r(45414);let to=t=>{let e=({timestamp:e})=>t(e);return{start:()=>ts.Wi.update(e,!0),stop:()=>(0,ts.Pn)(e),now:()=>ts.frameData.isProcessing?ts.frameData.timestamp:ti.X.now()}};function ta(t){let e=0,r=t.next(e);for(;!r.done&&e<2e4;)e+=50,r=t.next(e);return e>=2e4?1/0:e}let tl={decay:tn,inertia:tn,tween:Y,keyframes:Y,spring:tr},tu=t=>t/100;function tc({autoplay:t=!0,delay:e=0,driver:r=to,keyframes:n,type:i="keyframes",repeat:s=0,repeatDelay:a=0,repeatType:l="loop",onPlay:u,onStop:c,onComplete:h,onUpdate:d,...f}){let p,m,v,g,y,x=1,b=!1,P=()=>{m=new Promise(t=>{p=t})};P();let w=tl[i]||Y;w!==Y&&"number"!=typeof n[0]&&(g=(0,C.z)(tu,G(n[0],n[1])),n=[0,100]);let T=w({...f,keyframes:n});"mirror"===l&&(y=w({...f,keyframes:[...n].reverse(),velocity:-(f.velocity||0)}));let E="idle",S=null,D=null,V=null;null===T.calculatedDuration&&s&&(T.calculatedDuration=ta(T));let{calculatedDuration:M}=T,k=1/0,R=1/0;null!==M&&(R=(k=M+a)*(s+1)-a);let L=0,j=t=>{if(null===D)return;x>0&&(D=Math.min(D,t)),x<0&&(D=Math.min(t-R/x,D));let r=(L=null!==S?S:Math.round(t-D)*x)-e*(x>=0?1:-1),i=x>=0?r<0:r>R;L=Math.max(r,0),"finished"===E&&null===S&&(L=R);let o=L,u=T;if(s){let t=Math.min(L,R)/k,e=Math.floor(t),r=t%1;!r&&t>=1&&(r=1),1===r&&e--,(e=Math.min(e,s+1))%2&&("reverse"===l?(r=1-r,a&&(r-=a/k)):"mirror"===l&&(u=y)),o=(0,A.u)(0,1,r)*k}let c=i?{done:!1,value:n[0]}:u.next(o);g&&(c.value=g(c.value));let{done:h}=c;i||null===M||(h=x>=0?L>=R:L<=0);let f=null===S&&("finished"===E||"running"===E&&h);return d&&d(c.value),f&&B(),c},O=()=>{v&&v.stop(),v=void 0},F=()=>{E="idle",O(),p(),P(),D=V=null},B=()=>{E="finished",h&&h(),O(),p()},I=()=>{if(b)return;v||(v=r(j));let t=v.now();u&&u(),null!==S?D=t-S:D&&"finished"!==E||(D=t),"finished"===E&&P(),V=D,S=null,E="running",v.start()};t&&I();let $={then:(t,e)=>m.then(t,e),get time(){return(0,o.X)(L)},set time(newTime){L=newTime=(0,o.w)(newTime),null===S&&v&&0!==x?D=v.now()-newTime/x:S=newTime},get duration(){let t=null===T.calculatedDuration?ta(T):T.calculatedDuration;return(0,o.X)(t)},get speed(){return x},set speed(newSpeed){if(newSpeed===x||!v)return;x=newSpeed,$.time=(0,o.X)(L)},get state(){return E},play:I,pause:()=>{E="paused",S=L},stop:()=>{b=!0,"idle"!==E&&(E="idle",c&&c(),F())},cancel:()=>{null!==V&&j(V),F()},complete:()=>{E="finished"},sample:t=>(D=0,j(t))};return $}let th=(i=()=>Object.hasOwnProperty.call(Element.prototype,"animate"),()=>(void 0===n&&(n=i()),n)),td=new Set(["opacity","clipPath","filter","transform"]),tf=(t,e)=>"spring"===e.type||"backgroundColor"===t||!function t(e){return!!(!e||"string"==typeof e&&c[e]||l(e)||Array.isArray(e)&&e.every(t))}(e.ease);var tp=r(8834);let tm={type:"spring",stiffness:500,damping:25,restSpeed:10},tv=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),tg={type:"keyframes",duration:.8},ty={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},tx=(t,{keyframes:e})=>e.length>2?tg:tp.G.has(t)?t.startsWith("scale")?tv(e[1]):tm:ty,tb=(t,e)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(U.P.test(e)||"0"===e)&&!e.startsWith("url("));var tP=r(25861),tw=r(13697),tT=r(79573),tE=r(24118);let tS=(t,e,r,n={})=>i=>{let d=(0,tT.e)(n,t)||{},f=d.delay||n.delay||0,{elapsed:p=0}=n;p-=(0,o.w)(f);let m=function(t,e,r,n){let i,s;let o=tb(e,r);i=Array.isArray(r)?[...r]:[null,r];let a=void 0!==n.from?n.from:t.get(),l=[];for(let t=0;t<i.length;t++){var u;null===i[t]&&(i[t]=0===t?a:i[t-1]),("number"==typeof(u=i[t])?0===u:null!==u?"none"===u||"0"===u||(0,tw.W)(u):void 0)&&l.push(t),"string"==typeof i[t]&&"none"!==i[t]&&"0"!==i[t]&&(s=i[t])}if(o&&l.length&&s)for(let t=0;t<l.length;t++)i[l[t]]=(0,tP.T)(e,s);return i}(e,t,r,d),v=m[0],g=m[m.length-1],y=tb(t,v),x=tb(t,g);(0,s.K)(y===x,`You are trying to animate ${t} from "${v}" to "${g}". ${v} is not an animatable value - to enable this animation set ${v} to a value animatable to ${g} via the \`style\` property.`);let b={keyframes:m,velocity:e.getVelocity(),ease:"easeOut",...d,delay:-p,onUpdate:t=>{e.set(t),d.onUpdate&&d.onUpdate(t)},onComplete:()=>{i(),d.onComplete&&d.onComplete()}};
9if((0,tT.r)(d)||(b={...b,...tx(t,b)}),b.duration&&(b.duration=(0,o.w)(b.duration)),b.repeatDelay&&(b.repeatDelay=(0,o.w)(b.repeatDelay)),!y||!x||a.current||!1===d.type||tE.c.skipAnimations)return function({keyframes:t,delay:e,onUpdate:r,onComplete:n}){let i=()=>(r&&r(t[t.length-1]),n&&n(),{time:0,speed:1,duration:0,play:h.Z,pause:h.Z,stop:h.Z,then:t=>(t(),Promise.resolve()),cancel:h.Z,complete:h.Z});return e?tc({keyframes:[0,1],duration:0,delay:e,onComplete:i}):i()}(a.current?{...b,delay:0}:b);if(!n.isHandoff&&e.owner&&e.owner.current instanceof HTMLElement&&!e.owner.getProps().onUpdate){let r=function(t,e,{onUpdate:r,onComplete:n,...i}){let s,a;if(!(th()&&td.has(e)&&!i.repeatDelay&&"mirror"!==i.repeatType&&0!==i.damping&&"inertia"!==i.type))return!1;let d=!1,f=!1,p=()=>{a=new Promise(t=>{s=t})};p();let{keyframes:m,duration:v=300,ease:g,times:y}=i;if(tf(e,i)){let t=tc({...i,repeat:0,delay:0}),e={done:!1,value:m[0]},r=[],n=0;for(;!e.done&&n<2e4;)e=t.sample(n),r.push(e.value),n+=10;y=void 0,m=r,v=n-10,g="linear"}let x=function(t,e,r,{delay:n=0,duration:i,repeat:s=0,repeatType:o="loop",ease:a,times:h}={}){let d={[e]:r};h&&(d.offset=h);let f=function t(e){if(e)return l(e)?u(e):Array.isArray(e)?e.map(t):c[e]}(a);return Array.isArray(f)&&(d.easing=f),t.animate(d,{delay:n,duration:i,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"})}(t.owner.current,e,m,{...i,duration:v,ease:g,times:y}),b=()=>{f=!1,x.cancel()},P=()=>{f=!0,ts.Wi.update(b),s(),p()};return x.onfinish=()=>{f||(t.set(function(t,{repeat:e,repeatType:r="loop"}){let n=e&&"loop"!==r&&e%2==1?0:t.length-1;return t[n]}(m,i)),n&&n(),P())},{then:(t,e)=>a.then(t,e),attachTimeline:t=>(x.timeline=t,x.onfinish=null,h.Z),get time(){return(0,o.X)(x.currentTime||0)},set time(newTime){x.currentTime=(0,o.w)(newTime)},get speed(){return x.playbackRate},set speed(newSpeed){x.playbackRate=newSpeed},get duration(){return(0,o.X)(v)},play:()=>{d||(x.play(),(0,ts.Pn)(b))},pause:()=>x.pause(),stop:()=>{if(d=!0,"idle"===x.playState)return;let{currentTime:e}=x;if(e){let r=tc({...i,autoplay:!1});t.setWithVelocity(r.sample(e-10).value,r.sample(e).value,10)}P()},complete:()=>{f||x.finish()},cancel:P}}(e,t,b);if(r)return r}return tc(b)}},61750:function(t,e,r){"use strict";r.d(e,{M:function(){return n}});let n="data-"+(0,r(17444).D)("framerAppearId")},20569:function(t,e,r){"use strict";function n(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}r.d(e,{H:function(){return n}})},44944:function(t,e,r){"use strict";r.d(e,{C:function(){return n}});let n=t=>Array.isArray(t)},79573:function(t,e,r){"use strict";function n({when:t,delay:e,delayChildren:r,staggerChildren:n,staggerDirection:i,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}function i(t,e){return t[e]||t.default||t}r.d(e,{e:function(){return i},r:function(){return n}})},5095:function(t,e,r){"use strict";r.d(e,{M:function(){return g}});var n=r(2265),i=r(11534);function s(){let t=(0,n.useRef)(!1);return(0,i.L)(()=>(t.current=!0,()=>{t.current=!1}),[]),t}var o=r(45414),a=r(64252),l=r(53576),u=r(45750);class c extends n.Component{getSnapshotBeforeUpdate(t){let e=this.props.childRef.current;if(e&&t.isPresent&&!this.props.isPresent){let t=this.props.sizeRef.current;t.height=e.offsetHeight||0,t.width=e.offsetWidth||0,t.top=e.offsetTop,t.left=e.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function h({children:t,isPresent:e}){let r=(0,n.useId)(),i=(0,n.useRef)(null),s=(0,n.useRef)({width:0,height:0,top:0,left:0}),{nonce:o}=(0,n.useContext)(u._);return(0,n.useInsertionEffect)(()=>{let{width:t,height:n,top:a,left:l}=s.current;if(e||!i.current||!t||!n)return;i.current.dataset.motionPopId=r;let u=document.createElement("style");return o&&(u.nonce=o),document.head.appendChild(u),u.sheet&&u.sheet.insertRule(`
10          [data-motion-pop-id="${r}"] {
11            position: absolute !important;
12            width: ${t}px !important;
13            height: ${n}px !important;
14            top: ${a}px !important;
15            left: ${l}px !important;
16          }
17        `),()=>{document.head.removeChild(u)}},[e]),n.createElement(c,{isPresent:e,childRef:i,sizeRef:s},n.cloneElement(t,{ref:i}))}let d=({children:t,initial:e,isPresent:r,onExitComplete:i,custom:s,presenceAffectsLayout:o,mode:u})=>{let c=(0,l.h)(f),d=(0,n.useId)(),p=(0,n.useMemo)(()=>({id:d,initial:e,isPresent:r,custom:s,onExitComplete:t=>
17{for(let e of(c.set(t,!0),c.values()))if(!e)return;i&&i()},register:t=>(c.set(t,!1),()=>c.delete(t))}),o?void 0:[r]);return(0,n.useMemo)(()=>{c.forEach((t,e)=>c.set(e,!1))},[r]),n.useEffect(()=>{r||c.size||!i||i()},[r]),"popLayout"===u&&(t=n.createElement(h,{isPresent:r},t)),n.createElement(a.O.Provider,{value:p},t)};function f(){return new Map}var p=r(58881),m=r(13223);let v=t=>t.key||"",g=({children:t,custom:e,initial:r=!0,onExitComplete:a,exitBeforeEnter:l,presenceAffectsLayout:u=!0,mode:c="sync"})=>{var h;(0,m.k)(!l,"Replace exitBeforeEnter with mode='wait'");let f=(0,n.useContext)(p.p).forceRender||function(){let t=s(),[e,r]=(0,n.useState)(0),i=(0,n.useCallback)(()=>{t.current&&r(e+1)},[e]);return[(0,n.useCallback)(()=>o.Wi.postRender(i),[i]),e]}()[0],g=s(),y=function(t){let e=[];return n.Children.forEach(t,t=>{(0,n.isValidElement)(t)&&e.push(t)}),e}(t),x=y,b=(0,n.useRef)(new Map).current,P=(0,n.useRef)(x),w=(0,n.useRef)(new Map).current,T=(0,n.useRef)(!0);if((0,i.L)(()=>{T.current=!1,function(t,e){t.forEach(t=>{let r=v(t);e.set(r,t)})}(y,w),P.current=x}),h=()=>{T.current=!0,w.clear(),b.clear()},(0,n.useEffect)(()=>()=>h(),[]),T.current)return n.createElement(n.Fragment,null,x.map(t=>n.createElement(d,{key:v(t),isPresent:!0,initial:!!r&&void 0,presenceAffectsLayout:u,mode:c},t)));x=[...x];let E=P.current.map(v),S=y.map(v),A=E.length;for(let t=0;t<A;t++){let e=E[t];-1!==S.indexOf(e)||b.has(e)||b.set(e,void 0)}return"wait"===c&&b.size&&(x=[]),b.forEach((t,r)=>{if(-1!==S.indexOf(r))return;let i=w.get(r);if(!i)return;let s=E.indexOf(r),o=t;o||(o=n.createElement(d,{key:v(i),isPresent:!1,onExitComplete:()=>{b.delete(r);let t=Array.from(w.keys()).filter(t=>!S.includes(t));if(t.forEach(t=>w.delete(t)),P.current=y.filter(e=>{let n=v(e);return n===r||t.includes(n)}),!b.size){if(!1===g.current)return;f(),a&&a()}},custom:e,presenceAffectsLayout:u,mode:c},i),b.set(r,o)),x.splice(s,0,o)}),x=x.map(t=>{let e=t.key;return b.has(e)?t:n.createElement(d,{key:v(t),isPresent:!0,presenceAffectsLayout:u,mode:c},t)}),n.createElement(n.Fragment,null,b.size?x:x.map(t=>(0,n.cloneElement)(t)))}},50278:function(t,e,r){"use strict";r.d(e,{X:function(){return o}});var n=r(2265),i=r(47337),s=r(24470);function o({children:t,features:e,strict:r=!1}){let[,o]=(0,n.useState)(!a(e)),l=(0,n.useRef)(void 0);if(!a(e)){let{renderer:t,...r}=e;l.current=t,(0,s.K)(r)}return(0,n.useEffect)(()=>{a(e)&&e().then(({renderer:t,...e})=>{(0,s.K)(e),l.current=t,o(!0)})},[]),n.createElement(i.u.Provider,{value:{renderer:l.current,strict:r}},t)}function a(t){return"function"==typeof t}},58881:function(t,e,r){"use strict";r.d(e,{p:function(){return n}});let n=(0,r(2265).createContext)({})},47337:function(t,e,r){"use strict";r.d(e,{u:function(){return n}});let n=(0,r(2265).createContext)({strict:!1})},45750:function(t,e,r){"use strict";r.d(e,{_:function(){return n}});let n=(0,r(2265).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},64252:function(t,e,r){"use strict";r.d(e,{O:function(){return n}});let n=(0,r(2265).createContext)(null)},26378:function(t,e,r){"use strict";r.d(e,{Bn:function(){return o},X7:function(){return a},Z7:function(){return s}});var n=r(87457),i=r(63627);let s=t=>1-Math.sin(Math.acos(t)),o=(0,i.M)(s),a=(0,n.o)(s)},87457:function(t,e,r){"use strict";r.d(e,{o:function(){return n}});let n=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},63627:function(t,e,r){"use strict";r.d(e,{M:function(){return n}});let n=t=>e=>1-t(1-e)},34969:function(t,e,r){"use strict";function n(t,e,r,n={passive:!0}){return t.addEventListener(e,r,n),()=>t.removeEventListener(e,r)}r.d(e,{E:function(){return n}})},97883:function(t,e,r){"use strict";r.d(e,{a:function(){return s}});var n=r(34969),i=r(43490);function s(t,e,r,s){return(0,n.E)(t,e,(0,i.s)(r),s)}},43490:function(t,e,r){"use strict";r.d(e,{Q:function(){return i},s:function(){return s}});var n=r(92503);function i(t,e="page"){return{point:{x:t[e+"X"],y:t[e+"Y"]}}}let s=t=>e=>(0,n.D)(e)&&t(e,i(e))},92503:function(t,e,r){"use strict";r.d(e,{D:function(){return n}});let n=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary},85005:function(t,e,r){"use strict";r.d(e,{Z:function(){return o}});var n=r(24118);class i{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){let e=this.order.indexOf(t);-1!==e&&(this.order.splice(e,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}let s=["prepare","read","update","preRender","render","postRender"];function o(t,e){let r=!1,o=!0,a={delta:0,timestamp:0,isProcessing:!1},l=s.reduce((t,e)=>
17(t[e]=function(t){let e=new i,r=new i,n=0,s=!1,o=!1,a=new WeakSet,l={schedule:(t,i=!1,o=!1)=>{let l=o&&s,u=l?e:r;return i&&a.add(t),u.add(t)&&l&&s&&(n=e.order.length),t},cancel:t=>{r.remove(t),a.delete(t)},process:i=>{if(s){o=!0;return}if(s=!0,[e,r]=[r,e],r.clear(),n=e.order.length)for(let r=0;r<n;r++){let n=e.order[r];a.has(n)&&(l.schedule(n),t()),n(i)}s=!1,o&&(o=!1,l.process(i))}};return l}(()=>r=!0),t),{}),u=t=>{l[t].process(a)},c=()=>{let i=n.c.useManualTiming?a.timestamp:performance.now();r=!1,a.delta=o?1e3/60:Math.max(Math.min(i-a.timestamp,40),1),a.timestamp=i,a.isProcessing=!0,s.forEach(u),a.isProcessing=!1,r&&e&&(o=!1,t(c))},h=()=>{r=!0,o=!0,a.isProcessing||t(c)};return{schedule:s.reduce((t,e)=>{let n=l[e];return t[e]=(t,e=!1,i=!1)=>(r||h(),n.schedule(t,e,i)),t},{}),cancel:t=>s.forEach(e=>l[e].cancel(t)),state:a,steps:l}}},45414:function(t,e,r){"use strict";r.d(e,{Pn:function(){return s},S6:function(){return a},Wi:function(){return i},frameData:function(){return o}});var n=r(44439);let{schedule:i,cancel:s,state:o,steps:a}=(0,r(85005).Z)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:n.Z,!0)},40504:function(t,e,r){"use strict";let n;r.d(e,{X:function(){return a}});var i=r(24118),s=r(45414);function o(){n=void 0}let a={now:()=>(void 0===n&&a.set(s.frameData.isProcessing||i.c.useManualTiming?s.frameData.timestamp:performance.now()),n),set:t=>{n=t,queueMicrotask(o)}}},9797:function(t,e,r){"use strict";function n(t){let e=null;return()=>null===e&&(e=t,()=>{e=null})}r.d(e,{fJ:function(){return o},gD:function(){return a}});let i=n("dragHorizontal"),s=n("dragVertical");function o(t){let e=!1;if("y"===t)e=s();else if("x"===t)e=i();else{let t=i(),r=s();t&&r?e=()=>{t(),r()}:(t&&t(),r&&r())}return e}function a(){let t=o(!0);return!t||(t(),!1)}},80063:function(t,e,r){"use strict";r.d(e,{L:function(){return n}});class n{constructor(t){this.isMounted=!1,this.node=t}update(){}}},55149:function(t,e,r){"use strict";r.d(e,{s:function(){return A}});var n=r(20569),i=r(44944);function s(t,e){if(!Array.isArray(e))return!1;let r=e.length;if(r!==t.length)return!1;for(let n=0;n<r;n++)if(e[n]!==t[n])return!1;return!0}var o=r(74115),a=r(67043),l=r(72589),u=r(8834),c=r(61750),h=r(45518),d=r(39593),f=r(96179),p=r(79573),m=r(45414);function v(t,e,{delay:r=0,transitionOverride:n,type:i}={}){let{transition:s=t.getDefaultTransition(),transitionEnd:o,...a}=t.makeTargetAnimatable(e),l=t.getValue("willChange");n&&(s=n);let v=[],g=i&&t.animationState&&t.animationState.getState()[i];for(let e in a){let n=t.getValue(e),i=a[e];if(!n||void 0===i||g&&function({protectedKeys:t,needsAnimating:e},r){let n=t.hasOwnProperty(r)&&!0!==e[r];return e[r]=!1,n}(g,e))continue;let o={delay:r,elapsed:0,...(0,p.e)(s||{},e)};if(window.HandoffAppearAnimations){let r=t.getProps()[c.M];if(r){let t=window.HandoffAppearAnimations(r,e,n,m.Wi);null!==t&&(o.elapsed=t,o.isHandoff=!0)}}let f=!o.isHandoff&&!function(t,e){let r=t.get();if(!Array.isArray(e))return r!==e;for(let t=0;t<e.length;t++)if(e[t]!==r)return!0}(n,i);if("spring"===o.type&&(n.getVelocity()||o.velocity)&&(f=!1),n.animation&&(f=!1),f)continue;n.start((0,h.v)(e,n,i,t.shouldReduceMotion&&u.G.has(e)?{type:!1}:o));let y=n.animation;(0,d.L)(l)&&(l.add(e),y.then(()=>l.remove(e))),v.push(y)}return o&&Promise.all(v).then(()=>{o&&(0,f.CD)(t,o)}),v}function g(t,e,r={}){let n=(0,a.x)(t,e,r.custom),{transition:i=t.getDefaultTransition()||{}}=n||{};r.transitionOverride&&(i=r.transitionOverride);let s=n?()=>Promise.all(v(t,n,r)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=i;return function(t,e,r=0,n=0,i=1,s){let o=[],a=(t.variantChildren.size-1)*n,l=1===i?(t=0)=>t*n:(t=0)=>a-t*n;return Array.from(t.variantChildren).sort(y).forEach((t,n)=>{t.notify("AnimationStart",e),o.push(g(t,e,{...s,delay:r+l(n)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(o)}(t,e,s+n,o,a,r)}:()=>Promise.resolve(),{when:l}=i;if(!l)return Promise.all([s(),o(r.delay)]);{let[t,e]="beforeChildren"===l?[s,o]:[o,s];return t().then(()=>e())}}function y(t,e){return t.sortNodePosition(e)}let x=[...l.e].reverse(),b=l.e.length;function P(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var w=r(80063);class T extends w.L{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:r})=>(function(t,e,r={}){let n;if(t.notify("AnimationStart",e),Array.isArray(e))n=Promise.all(e.map(e=>g(t,e,r)));else if("string"==typeof e)n=g(t,e,r);else{let i="function"==typeof e?(0,a.x)(t,e,r.custom):e;n=Promise.all(v(t,i,r))}return n.then(()=>t.notify("AnimationComplete",e))})(t,e,r))),r={animate:P(!0),whileInView:P(),whileHover:P(),whileTap:P(),whileDrag:P(),whileFocus:P(),exit:P()},l=!0,u=(e,r)=>{let n=(0,a.x)(t,r);if(n){let{transition:t,transitionEnd:r,...i}=n;e={...e,...i,...r}}return e};function c(a,c){let h=t.getProps(),d=t.getVariantContext(!0)||{},f=[],p=new Set,m={},v=1/0;for(let e=0;e<b;e++){var g;let y=x[e],b=r[y],P=void 0!==h[y]?h[y]:d[y],w=(0,o.$)(P),T=y===c?b.isActive:null;!1===T&&(v=e);let E=P===d[y]&&P!==h[y]&&w;if(E&&l&&t.manuallyAnimateOnMount&&(E=!1),b.protectedKeys={...m},!b.isActive&&null===T||!P&&!b.prevProp||(0,n.H)(P)||"boolean"==typeof P)continue;let S=(g=b.prevProp,("string"==typeof P?P!==g:!!Array.isArray(P)&&!s(P,g))||y===c&&b.isActive&&!E&&w||e>v&&w),A=!1,C=Array.isArray(P)?P:[P],D=C.reduce(u,{});!1===T&&(D={});let{prevResolvedValues:V={}}=b,M={...V,...D},k=t=>{S=!0,p.has(t)&&(A=!0,p.delete(t)),b.needsAnimating[t]=!0}
17;for(let t in M){let e=D[t],r=V[t];if(!m.hasOwnProperty(t))((0,i.C)(e)&&(0,i.C)(r)?s(e,r):e===r)?void 0!==e&&p.has(t)?k(t):b.protectedKeys[t]=!0:void 0!==e?k(t):p.add(t)}b.prevProp=P,b.prevResolvedValues=D,b.isActive&&(m={...m,...D}),l&&t.blockInitialAnimation&&(S=!1),S&&(!E||A)&&f.push(...C.map(t=>({animation:t,options:{type:y,...a}})))}if(p.size){let e={};p.forEach(r=>{let n=t.getBaseTarget(r);void 0!==n&&(e[r]=n)}),f.push({animation:e})}let y=!!f.length;return l&&(!1===h.initial||h.initial===h.animate)&&!t.manuallyAnimateOnMount&&(y=!1),l=!1,y?e(f):Promise.resolve()}return{animateChanges:c,setActive:function(e,n,i){var s;if(r[e].isActive===n)return Promise.resolve();null===(s=t.variantChildren)||void 0===s||s.forEach(t=>{var r;return null===(r=t.animationState)||void 0===r?void 0:r.setActive(e,n)}),r[e].isActive=n;let o=c(i,e);for(let t in r)r[t].protectedKeys={};return o},setAnimateFunction:function(r){e=r(t)},getState:()=>r}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();this.unmount(),(0,n.H)(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){}}let E=0;class S extends w.L{constructor(){super(...arguments),this.id=E++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e,custom:r}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;let i=this.node.animationState.setActive("exit",!t,{custom:null!=r?r:this.node.getProps().custom});e&&!t&&i.then(()=>e(this.id))}mount(){let{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}let A={animation:{Feature:T},exit:{Feature:S}}},35938:function(t,e,r){"use strict";r.d(e,{A:function(){return i}});let n={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},i={};for(let t in n)i[t]={isEnabled:e=>n[t].some(t=>!!e[t])}},1306:function(t,e,r){"use strict";r.d(e,{E:function(){return T}});var n=r(97883),i=r(56920),s=r(9797),o=r(80063),a=r(45414);function l(t,e){let r="onHover"+(e?"Start":"End");return(0,n.a)(t.current,"pointer"+(e?"enter":"leave"),(n,i)=>{if("touch"===n.pointerType||(0,s.gD)())return;let o=t.getProps();t.animationState&&o.whileHover&&t.animationState.setActive("whileHover",e),o[r]&&a.Wi.update(()=>o[r](n,i))},{passive:!t.getProps()[r]})}class u extends o.L{mount(){this.unmount=(0,i.z)(l(this.node,!0),l(this.node,!1))}unmount(){}}var c=r(34969);class h extends o.L{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,i.z)((0,c.E)(this.node.current,"focus",()=>this.onFocus()),(0,c.E)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var d=r(43490);let f=(t,e)=>!!e&&(t===e||f(t,e.parentElement));var p=r(44439);function m(t,e){if(!e)return;let r=new PointerEvent("pointer"+t);e(r,(0,d.Q)(r))}class v extends o.L{constructor(){super(...arguments),this.removeStartListeners=p.Z,this.removeEndListeners=p.Z,this.removeAccessibleListeners=p.Z,this.startPointerPress=(t,e)=>{if(this.isPressing)return;this.removeEndListeners();let r=this.node.getProps(),s=(0,n.a)(window,"pointerup",(t,e)=>{if(!this.checkPressEnd())return;let{onTap:r,onTapCancel:n,globalTapTarget:i}=this.node.getProps();a.Wi.update(()=>{i||f(this.node.current,t.target)?r&&r(t,e):n&&n(t,e)})},{passive:!(r.onTap||r.onPointerUp)}),o=(0,n.a)(window,"pointercancel",(t,e)=>this.cancelPress(t,e),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=(0,i.z)(s,o),this.startPress(t,e)},this.startAccessiblePress=()=>{let t=(0,c.E)(this.node.current,"keydown",t=>{"Enter"!==t.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=(0,c.E)(this.node.current,"keyup",t=>{"Enter"===t.key&&this.checkPressEnd()&&m("up",(t,e)=>{let{onTap:r}=this.node.getProps();r&&a.Wi.update(()=>r(t,e))})}),m("down",(t,e)=>{this.startPress(t,e)}))}),e=(0,c.E)(this.node.current,"blur",()=>{this.isPressing&&m("cancel",(t,e)=>this.cancelPress(t,e))});this.removeAccessibleListeners=(0,i.z)(t,e)}}startPress(t,e){this.isPressing=!0;let{onTapStart:r,whileTap:n}=this.node.getProps();n&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&a.Wi.update(()=>r(t,e))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!(0,s.gD)()}cancelPress(t,e){if(!this.checkPressEnd())return;let{onTapCancel:r}=this.node.getProps();r&&a.Wi.update(()=>r(t,e))}mount(){let t=this.node.getProps(),e=(0,n.a)(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=(0,c.E)(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=(0,i.z)(e,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}let g=new WeakMap,y=new WeakMap,x=t=>{let e=g.get(t.target);e&&e(t)}
17,b=t=>{t.forEach(x)},P={some:0,all:1};class w extends o.L{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:r,amount:n="some",once:i}=t,s={root:e?e.current:void 0,rootMargin:r,threshold:"number"==typeof n?n:P[n]};return function(t,e,r){let n=function({root:t,...e}){let r=t||document;y.has(r)||y.set(r,{});let n=y.get(r),i=JSON.stringify(e);return n[i]||(n[i]=new IntersectionObserver(b,{root:t,...e})),n[i]}(e);return g.set(t,r),n.observe(t),()=>{g.delete(t),n.unobserve(t)}}(this.node.current,s,t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,i&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:r,onViewportLeave:n}=this.node.getProps(),s=e?r:n;s&&s(t)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return r=>t[r]!==e[r]}(t,e))&&this.startObserver()}unmount(){}}let T={inView:{Feature:w},tap:{Feature:v},focus:{Feature:h},hover:{Feature:u}}},24470:function(t,e,r){"use strict";r.d(e,{K:function(){return i}});var n=r(35938);function i(t){for(let e in t)n.A[e]={...n.A[e],...t[e]}}},77556:function(t,e,r){"use strict";r.d(e,{j:function(){return s}});var n=r(98639),i=r(8834);function s(t,{layout:e,layoutId:r}){return i.G.has(t)||t.startsWith("origin")||(e||void 0!==r)&&(!!n.P[t]||"opacity"===t)}},82063:function(t,e,r){"use strict";function n({top:t,left:e,right:r,bottom:n}){return{x:{min:e,max:r},y:{min:t,max:n}}}function i({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function s(t,e){if(!e)return t;let r=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}r.d(e,{d7:function(){return s},i8:function(){return n},z2:function(){return i}})},47227:function(t,e,r){"use strict";r.d(e,{D2:function(){return m},YY:function(){return u},am:function(){return h},o2:function(){return l},q2:function(){return s}});var n=r(96781),i=r(12787);function s(t,e,r){return r+e*(t-r)}function o(t,e,r,n,i){return void 0!==i&&(t=n+i*(t-n)),n+r*(t-n)+e}function a(t,e=0,r=1,n,i){t.min=o(t.min,e,r,n,i),t.max=o(t.max,e,r,n,i)}function l(t,{x:e,y:r}){a(t.x,e.translate,e.scale,e.originPoint),a(t.y,r.translate,r.scale,r.originPoint)}function u(t,e,r,n=!1){let s,o;let a=r.length;if(a){e.x=e.y=1;for(let u=0;u<a;u++){o=(s=r[u]).projectionDelta;let a=s.instance;(!a||!a.style||"contents"!==a.style.display)&&(n&&s.options.layoutScroll&&s.scroll&&s!==s.root&&m(t,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),o&&(e.x*=o.x.scale,e.y*=o.y.scale,l(t,o)),n&&(0,i.ud)(s.latestValues)&&m(t,s.latestValues))}e.x=c(e.x),e.y=c(e.y)}}function c(t){return Number.isInteger(t)?t:t>1.0000000000001||t<.999999999999?t:1}function h(t,e){t.min=t.min+e,t.max=t.max+e}function d(t,e,[r,i,s]){let o=void 0!==e[s]?e[s]:.5,l=(0,n.t)(t.min,t.max,o);a(t,e[r],e[i],l,e.scale)}let f=["x","scaleX","originX"],p=["y","scaleY","originY"];function m(t,e){d(t.x,e,f),d(t.y,e,p)}},96674:function(t,e,r){"use strict";r.d(e,{dO:function(){return o},wc:function(){return i}});let n=()=>({translate:0,scale:1,origin:0,originPoint:0}),i=()=>({x:n(),y:n()}),s=()=>({min:0,max:0}),o=()=>({x:s(),y:s()})},98639:function(t,e,r){"use strict";r.d(e,{B:function(){return i},P:function(){return n}});let n={};function i(t){Object.assign(n,t)}},12787:function(t,e,r){"use strict";function n(t){return void 0===t||1===t}function i({scale:t,scaleX:e,scaleY:r}){return!n(t)||!n(e)||!n(r)}function s(t){return i(t)||o(t)||t.z||t.rotate||t.rotateX||t.rotateY}function o(t){var e,r;return(e=t.x)&&"0%"!==e||(r=t.y)&&"0%"!==r}r.d(e,{D_:function(){return o},Lj:function(){return i},ud:function(){return s}})},50813:function(t,e,r){"use strict";r.d(e,{J:function(){return s},z:function(){return o}});var n=r(82063),i=r(47227);function s(t,e){return(0,n.i8)((0,n.d7)(t.getBoundingClientRect(),e))}function o(t,e,r){let n=s(t,r),{scroll:o}=e;return o&&((0,i.am)(n.x,o.offset.x),(0,i.am)(n.y,o.offset.y)),n}},481:function(t,e,r){"use strict";r.d(e,{b:function(){return tl}});var n=r(4469),i=r(37249),s=r(8834),o=r(67971),a=r(1125),l=r(22005),u=r(50813),c=r(96179),h=r(13223),d=r(4946);let f=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function p(t,e,r=1){(0,h.k)(r<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[n,s]=function(t){let e=f.exec(t);if(!e)return[,];let[,r,n,i]=e;return[`--${null!=r?r:n}`,i]}(t);if(!n)return;let o=window.getComputedStyle(e).getPropertyValue(n);
17if(o){let t=o.trim();return(0,d.P)(t)?parseFloat(t):t}return(0,i.t)(s)?p(s,e,r+1):s}var m=r(44944),v=r(38580),g=r(44563),y=r(74305),x=r(27492);let b=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),P=t=>b.has(t),w=t=>Object.keys(t).some(P),T=t=>t===y.Rx||t===x.px,E=(t,e)=>parseFloat(t.split(", ")[e]),S=(t,e)=>(r,{transform:n})=>{if("none"===n||!n)return 0;let i=n.match(/^matrix3d\((.+)\)$/u);if(i)return E(i[1],e);{let e=n.match(/^matrix\((.+)\)$/u);return e?E(e[1],t):0}},A=new Set(["x","y","z"]),C=s._.filter(t=>!A.has(t)),D={width:({x:t},{paddingLeft:e="0",paddingRight:r="0"})=>t.max-t.min-parseFloat(e)-parseFloat(r),height:({y:t},{paddingTop:e="0",paddingBottom:r="0"})=>t.max-t.min-parseFloat(e)-parseFloat(r),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:S(4,13),y:S(5,14)};D.translateX=D.x,D.translateY=D.y;let V=(t,e,r)=>{let n=e.measureViewportBox(),i=getComputedStyle(e.current),{display:s}=i,o={};"none"===s&&e.setStaticValue("display",t.display||"block"),r.forEach(t=>{o[t]=D[t](n,i)}),e.render();let a=e.measureViewportBox();return r.forEach(r=>{let n=e.getValue(r);n&&n.jump(o[r]),t[r]=D[r](a,i)}),t},M=(t,e,r={},n={})=>{e={...e},n={...n};let i=Object.keys(e).filter(P),s=[],o=!1,a=[];if(i.forEach(i=>{let l;let u=t.getValue(i);if(!t.hasValue(i))return;let c=r[i],d=(0,v.C)(c),f=e[i];if((0,m.C)(f)){let t=f.length,e=null===f[0]?1:0;c=f[e],d=(0,v.C)(c);for(let r=e;r<t&&null!==f[r];r++)l?(0,h.k)((0,v.C)(f[r])===l,"All keyframes must be of the same type"):(l=(0,v.C)(f[r]),(0,h.k)(l===d||T(d)&&T(l),"Keyframes must be of the same dimension as the current value"))}else l=(0,v.C)(f);if(d!==l){if(T(d)&&T(l)){let t=u.get();"string"==typeof t&&u.set(parseFloat(t)),"string"==typeof f?e[i]=parseFloat(f):Array.isArray(f)&&l===x.px&&(e[i]=f.map(parseFloat))}else(null==d?void 0:d.transform)&&(null==l?void 0:l.transform)&&(0===c||0===f)?0===c?u.set(l.transform(c)):e[i]=d.transform(f):(o||(s=function(t){let e=[];
17return C.forEach(r=>{let n=t.getValue(r);void 0!==n&&(e.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),e.length&&t.render(),e}(t),o=!0),a.push(i),n[i]=void 0!==n[i]?n[i]:e[i],u.jump(f))}}),!a.length)return{target:e,transitionEnd:n};{let r=a.indexOf("height")>=0?window.pageYOffset:null,i=V(e,t,a);return s.length&&s.forEach(([e,r])=>{t.getValue(e).set(r)}),t.render(),g.j&&null!==r&&window.scrollTo({top:r}),{target:i,transitionEnd:n}}},k=(t,e,r,n)=>{var s,o;let a=function(t,{...e},r){let n=t.current;if(!(n instanceof Element))return{target:e,transitionEnd:r};for(let s in r&&(r={...r}),t.values.forEach(t=>{let e=t.get();if(!(0,i.t)(e))return;let r=p(e,n);r&&t.set(r)}),e){let t=e[s];if(!(0,i.t)(t))continue;let o=p(t,n);o&&(e[s]=o,r||(r={}),void 0===r[s]&&(r[s]=t))}return{target:e,transitionEnd:r}}(t,e,n);return e=a.target,n=a.transitionEnd,s=e,o=n,w(s)?M(t,s,r,o):{target:s,transitionEnd:o}};var R=r(96674),L=r(34006);let j={current:null},O={current:!1};var F=r(34081),B=r(3078),I=r(39593),$=r(23999),U=r(17743),W=r(74115),N=r(93660),H=r(35938),z=r(72589);let q=new WeakMap;var X=r(45414);let Z=Object.keys(H.A),G=Z.length,Y=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],_=z.V.length;class K{constructor({parent:t,props:e,presenceContext:r,reducedMotionConfig:n,visualState:i},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>X.Wi.render(this.render,!1,!0);let{latestValues:o,renderState:a}=i;this.latestValues=o,this.baseTarget={...o},this.initialValues=e.initial?{...o}:{},this.renderState=a,this.parent=t,this.props=e,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.options=s,this.isControllingVariants=(0,U.G)(e),this.isVariantNode=(0,U.M)(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:l,...u}=this.scrapeMotionValuesFromProps(e,{});for(let t in u){let e=u[t];void 0!==o[t]&&(0,$.i)(e)&&(e.set(o[t],!1),(0,I.L)(l)&&l.add(t))}}scrapeMotionValuesFromProps(t,e){return{}}mount(t){this.current=t,q.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),O.current||function(){if(O.current=!0,g.j){if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>j.current=t.matches;t.addListener(e),e()}else j.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||j.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in q.delete(this.current),this.projection&&this.projection.unmount(),(0,X.Pn)(this.notifyUpdate),(0,X.Pn)(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[t].clear();for(let t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,e){let r=s.G.has(t),n=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&X.Wi.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)}),i=e.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{n(),i()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}loadFeatures({children:t,...e},r,n,i){let s,o;for(let t=0;t<G;t++){let r=Z[t],{isEnabled:n,Feature:i,ProjectionNode:a,MeasureLayout:l}=H.A[r];a&&(s=a),n(e)&&(!this.features[r]&&i&&(this.features[r]=new i(this)),l&&(o=l))}if(("html"===this.type||"svg"===this.type)&&!this.projection&&s){this.projection=new s(this.latestValues,this.parent&&this.parent.projection);let{layoutId:t,layout:r,drag:n,dragConstraints:o,layoutScroll:a,layoutRoot:l}=e;this.projection.setOptions({layoutId:t,layout:r,alwaysMeasureLayout:!!n||o&&(0,L.I)(o),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof r?r:"both",initialPromotionConfig:i,layoutScroll:a,layoutRoot:l})}return o}updateFeatures(){for(let t in this.features){let e=this.features[t];
17e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,R.dO)()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}makeTargetAnimatable(t,e=!0){return this.makeTargetAnimatableFromInstance(t,e)}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<Y.length;e++){let r=Y[e];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);let n=t["on"+r];n&&(this.propEventSubscriptions[r]=this.on(r,n))}this.prevMotionValues=function(t,e,r){let{willChange:n}=e;for(let i in e){let s=e[i],o=r[i];if((0,$.i)(s))t.addValue(i,s),(0,I.L)(n)&&n.add(i);else if((0,$.i)(o))t.addValue(i,(0,B.BX)(s,{owner:t})),(0,I.L)(n)&&n.remove(i);else if(o!==s){if(t.hasValue(i)){let e=t.getValue(i);e.hasAnimated||e.set(s)}else{let e=t.getStaticValue(i);t.addValue(i,(0,B.BX)(void 0!==e?e:s,{owner:t}))}}}for(let n in r)void 0===e[n]&&t.removeValue(n);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let t=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(t.initial=this.props.initial),t}let e={};for(let t=0;t<_;t++){let r=z.V[t],n=this.props[r];((0,W.$)(n)||!1===n)&&(e[r]=n)}return e}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){e!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,e)),this.values.set(t,e),this.latestValues[t]=e.get()}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return void 0===r&&void 0!==e&&(r=(0,B.BX)(e,{owner:this}),this.addValue(t,r)),r}readValue(t){var e;return void 0===this.latestValues[t]&&this.current?null!==(e=this.getBaseTargetFromProps(this.props,t))&&void 0!==e?e:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t]}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;let{initial:r}=this.props,n="string"==typeof r||"object"==typeof r?null===(e=(0,N.o)(this.props,r))||void 0===e?void 0:e[t]:void 0;if(r&&void 0!==n)return n;let i=this.getBaseTargetFromProps(this.props,t);return void 0===i||(0,$.i)(i)?void 0!==this.initialValues[t]&&void 0===n?void 0:this.baseTarget[t]:i}on(t,e){return this.events[t]||(this.events[t]=new F.L),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}class J extends K{sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:r}){delete e[t],delete r[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:e,...r},n){let i=(0,c.P$)(r,t||{},this);if(n){(0,c.GJ)(this,r,i);let t=k(this,r,i,e);e=t.transitionEnd,r=t.target}return{transition:t,transitionEnd:e,...r}}}class Q extends J{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,e){if(s.G.has(e)){let t=(0,l.A)(e);return t&&t.default||0}{let r=window.getComputedStyle(t),n=((0,i.f)(e)?r.getPropertyValue(e):r[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return(0,u.J)(t,e)}build(t,e,r,i){(0,n.r)(t,e,r,i.transformTemplate)}scrapeMotionValuesFromProps(t,e){return(0,o.U)(t,e)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,$.i)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}renderInstance(t,e,r,n){(0,a.N)(t,e,r,n)}}var tt=r(67098),te=r(67402),tr=r(17444),tn=r(16582),ti=r(33390),ts=r(37380);class to extends J{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(s.G.has(e)){let t=(0,l.A)(e);return t&&t.default||0}return e=tn.s.has(e)?e:(0,tr.D)(e),t.getAttribute(e)}measureInstanceViewportBox(){return(0,R.dO)()}scrapeMotionValuesFromProps(t,e){return(0,tt.U)(t,e)}
17build(t,e,r,n){(0,te.i)(t,e,r,this.isSVGTag,n.transformTemplate)}renderInstance(t,e,r,n){(0,ti.K)(t,e,r,n)}mount(t){this.isSVGTag=(0,ts.a)(t.tagName),super.mount(t)}}var ta=r(64044);let tl=(t,e)=>(0,ta.q)(t)?new to(e,{enableHardwareAcceleration:!1}):new Q(e,{enableHardwareAcceleration:!0})},30878:function(t,e,r){"use strict";r.d(e,{H:function(){return s}});var n=r(55149),i=r(1306);let s={renderer:r(481).b,...n.s,...i.E}},15084:function(t,e,r){"use strict";r.d(e,{E:function(){return eN}});var n,i=r(2265),s=r(45750);let o=(0,i.createContext)({});var a=r(64252),l=r(11534),u=r(47337),c=r(61750);let{schedule:h,cancel:d}=(0,r(85005).Z)(queueMicrotask,!1);var f=r(34006),p=r(74115),m=r(17743);function v(t){return Array.isArray(t)?t.join(" "):t}var g=r(24470),y=r(44563),x=r(58881);let b=(0,i.createContext)({}),P=Symbol.for("motionComponentSymbol");var w=r(64044),T=r(77556),E=r(23999),S=r(4469);let A=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function C(t,e,r){for(let n in e)(0,E.i)(e[n])||(0,T.j)(n,r)||(t[n]=e[n])}let D=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function V(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||D.has(t)}let M=t=>!V(t);try{(n=require("@emotion/is-prop-valid").default)&&(M=t=>t.startsWith("on")?!V(t):n(t))}catch(t){}var k=r(67402);let R=()=>({...A(),attrs:{}});var L=r(37380),j=r(33390),O=r(67098),F=r(20569),B=r(93660),I=r(53576),$=r(4581);function U(t){let e=(0,E.i)(t)?t.get():t;return(0,$.p)(e)?e.toValue():e}let W=t=>(e,r)=>{let n=(0,i.useContext)(o),s=(0,i.useContext)(a.O),l=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e,onMount:r},n,i,s){let o={latestValues:function(t,e,r,n){let i={},s=n(t,{});for(let t in s)i[t]=U(s[t]);let{initial:o,animate:a}=t,l=(0,m.G)(t),u=(0,m.M)(t);e&&u&&!l&&!1!==t.inherit&&(void 0===o&&(o=e.initial),void 0===a&&(a=e.animate));let c=!!r&&!1===r.initial,h=(c=c||!1===o)?a:o;return h&&"boolean"!=typeof h&&!(0,F.H)(h)&&(Array.isArray(h)?h:[h]).forEach(e=>{let r=(0,B.o)(t,e);if(!r)return;let{transitionEnd:n,transition:s,...o}=r;for(let t in o){let e=o[t];if(Array.isArray(e)){let t=c?e.length-1:0;e=e[t]}null!==e&&(i[t]=e)}for(let t in n)i[t]=n[t]}),i}(n,i,s,t),renderState:e()};return r&&(o.mount=t=>r(n,t,o)),o})(t,e,n,s);return r?l():(0,I.h)(l)};var N=r(45414);let H={useVisualState:W({scrapeMotionValuesFromProps:O.U,createRenderState:R,onMount:(t,e,{renderState:r,latestValues:n})=>{N.Wi.read(()=>{try{r.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(t){r.dimensions={x:0,y:0,width:0,height:0}}}),N.Wi.render(()=>{(0,k.i)(r,n,{enableHardwareAcceleration:!1},(0,L.a)(e.tagName),t.transformTemplate),(0,j.K)(e,r)})}})},z={useVisualState:W({scrapeMotionValuesFromProps:r(67971).U,createRenderState:A})};var q=r(1306),X=r(55149),Z=r(80063),G=r(44439),Y=r(13223),_=r(43490),K=r(56717),J=r(97883),Q=r(56920);let tt=(t,e)=>Math.abs(t-e);var te=r(92503);class tr{constructor(t,e,{transformPagePoint:r,contextWindow:n,dragSnapToOrigin:i=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let r=ts(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,i=(t=r.offset,e={x:0,y:0},Math.sqrt(tt(t.x,e.x)**2+tt(t.y,e.y)**2)>=3);if(!n&&!i)return;let{point:s}=r,{timestamp:o}=N.frameData;this.history.push({...s,timestamp:o});let{onStart:a,onMove:l}=this.handlers;n||(a&&a(this.lastMoveEvent,r),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,r)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=tn(e,this.transformPagePoint),N.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:r,onSessionEnd:n,resumeAnimation:i}=this.handlers;if(this.dragSnapToOrigin&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=ts("pointercancel"===t.type?this.lastMoveEventInfo:tn(e,this.transformPagePoint),this.history);this.startEvent&&r&&r(t,s),n&&n(t,s)},!(0,te.D)(t))return;this.dragSnapToOrigin=i,this.handlers=e,this.transformPagePoint=r,this.contextWindow=n||window;let s=tn((0,_.Q)(t),this.transformPagePoint),{point:o}=s,{timestamp:a}=N.frameData;this.history=[{...o,timestamp:a}];let{onSessionStart:l}=e;l&&l(t,ts(s,this.history)),this.removeListeners=(0,Q.z)((0,J.a)(this.contextWindow,"pointermove",this.handlePointerMove),(0,J.a)(this.contextWindow,"pointerup",this.handlePointerUp),(0,J.a)(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,N.Pn)(this.updatePoint)}}function tn(t,e){return e?{point:e(t.point)}:t}function ti(t,e){return{x:t.x-e.x,y:t.y-e.y}}function ts({point:t},e){return{point:t,delta:ti(t,to(e)),offset:ti(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let r=t.length-1,n=null,i=to(t);for(;r>=0&&(n=t[r],!(i.timestamp-n.timestamp>(0,K.w)(.1)));)r--;if(!n)return{x:0,y:0};let s=(0,K.X)(i.timestamp-n.timestamp);if(0===s)return{x:0,y:0};let o={x:(i.x-n.x)/s,y:(i.y-n.y)/s}
17;return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,0)}}function to(t){return t[t.length-1]}var ta=r(9797),tl=r(76376),tu=r(96781);function tc(t){return t.max-t.min}function th(t,e=0,r=.01){return Math.abs(t-e)<=r}function td(t,e,r,n=.5){t.origin=n,t.originPoint=(0,tu.t)(e.min,e.max,t.origin),t.scale=tc(r)/tc(e),(th(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=(0,tu.t)(r.min,r.max,t.origin)-t.originPoint,(th(t.translate)||isNaN(t.translate))&&(t.translate=0)}function tf(t,e,r,n){td(t.x,e.x,r.x,n?n.originX:void 0),td(t.y,e.y,r.y,n?n.originY:void 0)}function tp(t,e,r){t.min=r.min+e.min,t.max=t.min+tc(e)}function tm(t,e,r){t.min=e.min-r.min,t.max=t.min+tc(e)}function tv(t,e,r){tm(t.x,e.x,r.x),tm(t.y,e.y,r.y)}var tg=r(59111);function ty(t,e,r){return{min:void 0!==e?t.min+e:void 0,max:void 0!==r?t.max+r-(t.max-t.min):void 0}}function tx(t,e){let r=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([r,n]=[n,r]),{min:r,max:n}}function tb(t,e,r){return{min:tP(t,e),max:tP(t,r)}}function tP(t,e){return"number"==typeof t?t:t[e]||0}var tw=r(96674);function tT(t){return[t("x"),t("y")]}var tE=r(50813),tS=r(82063),tA=r(34969),tC=r(27492),tD=r(45518);let tV=({current:t})=>t?t.ownerDocument.defaultView:null,tM=new WeakMap;class tk{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,tw.dO)(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){let{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;let{dragSnapToOrigin:n}=this.getProps();this.panSession=new tr(t,{onSessionStart:t=>{let{dragSnapToOrigin:r}=this.getProps();r?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor((0,_.Q)(t,"page").point)},onStart:(t,e)=>{let{drag:r,dragPropagation:n,onDragStart:i}=this.getProps();if(r&&!n&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=(0,ta.fJ)(r),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),tT(t=>{let e=this.getAxisMotionValue(t).get()||0;if(tC.aQ.test(e)){let{projection:r}=this.visualElement;if(r&&r.layout){let n=r.layout.layoutBox[t];if(n){let t=tc(n);e=parseFloat(e)/100*t}}}this.originPoint[t]=e}),i&&N.Wi.update(()=>i(t,e),!1,!0);let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},onMove:(t,e)=>{let{dragPropagation:r,dragDirectionLock:n,onDirectionLock:i,onDrag:s}=this.getProps();if(!r&&!this.openGlobalLock)return;let{offset:o}=e;if(n&&null===this.currentDirection){this.currentDirection=function(t,e=10){let r=null;return Math.abs(t.y)>e?r="y":Math.abs(t.x)>e&&(r="x"),r}(o),null!==this.currentDirection&&i&&i(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),s&&s(t,e)},onSessionEnd:(t,e)=>this.stop(t,e),resumeAnimation:()=>tT(t=>{var e;return"paused"===this.getAnimationState(t)&&(null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:n,contextWindow:tV(this.visualElement)})}stop(t,e){let r=this.isDragging;if(this.cancel(),!r)return;let{velocity:n}=e;this.startAnimation(n);let{onDragEnd:i}=this.getProps();i&&N.Wi.update(()=>i(t,e))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,r){let{drag:n}=this.getProps();if(!r||!tR(t,n,this.currentDirection))return;let i=this.getAxisMotionValue(t),s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:r},n){return void 0!==e&&t<e?t=n?(0,tu.t)(e,t,n.min):Math.max(t,e):void 0!==r&&t>r&&(t=n?(0,tu.t)(r,t,n.max):Math.min(t,r)),t}(s,this.constraints[t],this.elastic[t])),i.set(s)}resolveConstraints(){var t;let{dragConstraints:e,dragElastic:r}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(t=this.visualElement.projection)||void 0===t?void 0:t.layout,i=this.constraints;e&&(0,f.I)(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&n?this.constraints=function(t,{top:e,left:r,bottom:n,right:i}){return{x:ty(t.x,r,i),y:ty(t.y,e,n)}}(n.layoutBox,e):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:tb(t,"left","right"),y:tb(t,"top","bottom")}}(r),i!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&tT(t=>{this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let r={};return void 0!==e.min&&(r.min=e.min-t.min),void 0!==e.max&&(r.max=e.max-t.min),r}(n.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:r}=this.getProps();if(!e||!(0,f.I)(e))return!1;let n=e.current;(0,Y.k)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:i}=this.visualElement;if(!i||!i.layout)return!1;let s=(0,tE.z)(n,i.root,this.visualElement.getTransformPagePoint()),o={x:tx((t=i.layout.layoutBox).x,s.x),y:tx(t.y,s.y)};if(r){let t=r((0,tS.z2)(o));this.hasMutatedConstraints=!!t,t&&(o=(0,tS.i8)(t))}return o}startAnimation(t){let{drag:e,dragMomentum:r,dragElastic:n,dragTransition:i,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(tT(o=>{if(!tR(o,e,this.currentDirection))return;let l=a&&a[o]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:r?t[o]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let r=this.getAxisMotionValue(t);return r.start((0,tD.v)(t,r,0,e))}stopAnimation(){tT(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){tT(t=>{var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.pause()})}getAnimationState(t){var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.state}getAxisMotionValue(t){let e="_drag"+t.toUpperCase(),r=this.visualElement.getProps();return r[e]||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){tT(e=>{let{drag:r}=this.getProps();if(!tR(e,r,this.currentDirection))return;let{projection:n}=this.visualElement,i=this.getAxisMotionValue(e);if(n&&n.layout){let{min:r,max:s}=n.layout.layoutBox[e];i.set(t[e]-(0,tu.t)(r,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:r}=this.visualElement;if(!(0,f.I)(e)||!r||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};tT(t=>{let e=this.getAxisMotionValue(t);if(e){let r=e.get();n[t]=function(t,e){let r=.5,n=tc(t),i=tc(e);return i>n?r=(0,tl.Y)(e.min,e.max-n,t.min):n>i&&(r=(0,tl.Y)(t.min,t.max-i,e.min)),(0,tg.u)(0,1,r)}({min:r,max:r},this.constraints[t])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),tT(e=>{if(!tR(e,t,null))return;let r=this.getAxisMotionValue(e),{min:i,max:s}=this.constraints[e];r.set((0,tu.t)(i,s,n[e]))})}addListeners(){if(!this.visualElement.current)return;tM.set(this.visualElement,this);let t=this.visualElement.current,e=(0,J.a)(t,"pointerdown",t=>{let{drag:e,dragListener:r=!0}=this.getProps();e&&r&&this.start(t)}),r=()=>{let{dragConstraints:t}=this.getProps();(0,f.I)(t)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,i=n.addEventListener("measure",r);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),r();let s=(0,tA.E)(window,"resize",()=>this.scalePositionWithinConstraints()),o=n.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(tT(e=>{let r=this.getAxisMotionValue(e);r&&(this.originPoint[e]+=t[e].translate,r.set(r.get()+t[e].translate))}),this.visualElement.render())});return()=>{s(),e(),i(),o&&o()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:r=!1,dragPropagation:n=!1,dragConstraints:i=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:r,dragPropagation:n,dragConstraints:i,dragElastic:s,dragMomentum:o}}}function tR(t,e,r){return(!0===e||e===t)&&(null===r||r===t)}class tL extends Z.L{constructor(t){super(t),this.removeGroupControls=G.Z,this.removeListeners=G.Z,this.controls=new tk(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||G.Z}unmount(){this.removeGroupControls(),this.removeListeners()}}let tj=t=>(e,r)=>{t&&N.Wi.update(()=>t(e,r))};class tO extends Z.L{constructor(){super(...arguments),this.removePointerDownListener=G.Z}onPointerDown(t){this.session=new tr(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:tV(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:r,onPanEnd:n}=this.node.getProps();return{onSessionStart:tj(t),onStart:tj(e),onMove:r,onEnd:(t,e)=>{delete this.session,n&&N.Wi.update(()=>n(t,e))}}}mount(){this.removePointerDownListener=(0,J.a)(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let tF={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function tB(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let tI={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!tC.px.test(t))return t;t=parseFloat(t)}let r=tB(t,e.target.x),n=tB(t,e.target.y);return`${r}% ${n}%`}};var t$=r(15636),tU=r(98639);class tW extends i.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:r,layoutId:n}=this.props,{projection:i}=t;(0,tU.B)(tH),i&&(e.group&&e.group.add(i),r&&r.register&&n&&r.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),tF.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:r,drag:n,isPresent:i}=this.props,s=r.projection;return s&&(s.isPresent=i,n||t.layoutDependency!==e||void 0===e?s.willUpdate():this.safeToRemove(),t.isPresent===i||(i?s.promote():s.relegate()||N.Wi.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),h.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:r}=this.props,{projection:n}=t;n&&(n.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(n),r&&r.deregister&&r.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function tN(t){let[e,r]=function(){let t=(0,i.useContext)(a.O);if(null===t)return[!0,null];let{isPresent:e,onExitComplete:r,register:n}=t,s=(0,i.useId)();return(0,i.useEffect)(()=>n(s),[]),!e&&r?[!1,()=>r&&r(s)]:[!0]}(),n=(0,i.useContext)(x.p);return i.createElement(tW,{...t,layoutGroup:n,switchLayoutGroup:(0,i.useContext)(b),isPresent:e,safeToRemove:r})}let tH={borderRadius:{...tI,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:tI,borderTopRightRadius:tI,borderBottomLeftRadius:tI,borderBottomRightRadius:tI,boxShadow:{correct:(t,{treeScale:e,projectionDelta:r})=>{let n=t$.P.parse(t);if(n.length>5)return t;let i=t$.P.createTransformer(t),s="number"!=typeof n[0]?1:0,o=r.x.scale*e.x,a=r.y.scale*e.y;n[0+s]/=o,n[1+s]/=a;let l=(0,tu.t)(o,a,.5);return"number"==typeof n[2+s]&&(n[2+s]/=l),"number"==typeof n[3+s]&&(n[3+s]/=l),i(n)}}};var tz=r(34081),tq=r(26378);let tX=["TopLeft","TopRight","BottomLeft","BottomRight"],tZ=tX.length,tG=t=>"string"==typeof t?parseFloat(t):t,tY=t=>"number"==typeof t||tC.px.test(t);function t_(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let tK=tQ(0,.5,tq.Bn),tJ=tQ(.5,.95,G.Z);function tQ(t,e,r){return n=>n<t?0:n>e?1:r((0,tl.Y)(t,e,n))}function t0(t,e){t.min=e.min,t.max=e.max}function t1(t,e){t0(t.x,e.x),t0(t.y,e.y)}var t4=r(47227);function t5(t,e,r,n,i){return t-=e,t=(0,t4.q2)(t,1/r,n),void 0!==i&&(t=(0,t4.q2)(t,1/i,n)),t}function t3(t,e,[r,n,i],s,o){!function(t,e=0,r=1,n=.5,i,s=t,o=t){if(tC.aQ.test(e)&&(e=parseFloat(e),e=(0,tu.t)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,tu.t)(s.min,s.max,n);t===s&&(a-=e),t.min=t5(t.min,e,r,a,i),t.max=t5(t.max,e,r,a,i)}(t,e[r],e[n],e[i],e.scale,s,o)}let t2=["x","scaleX","originX"],t9=["y","scaleY","originY"];function t7(t,e,r,n){t3(t.x,e,t2,r?r.x:void 0,n?n.x:void 0),t3(t.y,e,t9,r?r.y:void 0,n?n.y:void 0)}var t6=r(79573);function t8(t){return 0===t.translate&&1===t.scale}
17function et(t){return t8(t.x)&&t8(t.y)}function ee(t,e){return Math.round(t.x.min)===Math.round(e.x.min)&&Math.round(t.x.max)===Math.round(e.x.max)&&Math.round(t.y.min)===Math.round(e.y.min)&&Math.round(t.y.max)===Math.round(e.y.max)}function er(t){return tc(t.x)/tc(t.y)}var en=r(69013);class ei{constructor(){this.members=[]}add(t){(0,en.y4)(this.members,t),t.scheduleRender()}remove(t){if((0,en.cl)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let e;let r=this.members.findIndex(e=>t===e);if(0===r)return!1;for(let t=r;t>=0;t--){let r=this.members[t];if(!1!==r.isPresent){e=r;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let r=this.lead;if(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.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:n}=t.options;!1===n&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:r}=t;e.onExitComplete&&e.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function es(t,e,r){let n="",i=t.x.translate/e.x,s=t.y.translate/e.y;if((i||s)&&(n=`translate3d(${i}px, ${s}px, 0) `),(1!==e.x||1!==e.y)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),r){let{rotate:t,rotateX:e,rotateY:i}=r;t&&(n+=`rotate(${t}deg) `),e&&(n+=`rotateX(${e}deg) `),i&&(n+=`rotateY(${i}deg) `)}let o=t.x.scale*e.x,a=t.y.scale*e.y;return(1!==o||1!==a)&&(n+=`scale(${o}, ${a})`),n||"none"}var eo=r(12787);let ea=(t,e)=>t.depth-e.depth;class el{constructor(){this.children=[],this.isDirty=!1}add(t){(0,en.y4)(this.children,t),this.isDirty=!0}remove(t){(0,en.cl)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(ea),this.isDirty=!1,this.children.forEach(t)}}var eu=r(40504),ec=r(3078);let eh=["","X","Y","Z"],ed={visibility:"hidden"},ef=0,ep={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function em({attachResizeListener:t,defaultParent:e,measureScroll:r,checkIsScrollRoot:n,resetTransform:i}){return class{constructor(t={},r=null==e?void 0:e()){this.id=ef++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,ep.totalNodes=ep.resolvedTargetDeltas=ep.recalculatedProjection=0,this.nodes.forEach(ey),this.nodes.forEach(eS),this.nodes.forEach(eA),this.nodes.forEach(ex),window.MotionDebug&&window.MotionDebug.record(ep)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new el)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new tz.L),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let r=this.eventHandlers.get(t);r&&r.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e,r=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;let{layoutId:n,layout:i,visualElement:s}=this.options;if(s&&!s.current&&s.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),r&&(i||n)&&(this.isLayoutDirty=!0),t){let r;let n=()=>this.root.updateBlockedByResize=!1;t(e,()=>{this.root.updateBlockedByResize=!0,r&&r(),r=function(t,e){let r=eu.X.now(),n=({timestamp:e})=>{let i=e-r;i>=250&&((0,N.Pn)(n),t(i-250))};return N.Wi.read(n,!0),()=>(0,N.Pn)(n)}(n,0),tF.hasAnimatedSinceResize&&(tF.hasAnimatedSinceResize=!1,this.nodes.forEac
17h(eE))})}n&&this.root.registerSharedNode(n,this),!1!==this.options.animate&&s&&(n||i)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:r,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let i=this.options.transition||s.getDefaultTransition()||eR,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!ee(this.targetLayout,n)||r,u=!e&&r;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,u);let e={...(0,t6.e)(i,"layout"),onPlay:o,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||eE(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,N.Pn)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(eC),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:r}=this.options;if(void 0===e&&!r)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(eP);return}this.isUpdating||this.nodes.forEach(ew),this.isUpdating=!1,window.HandoffCancelAllAnimations&&window.HandoffCancelAllAnimations(),this.nodes.forEach(eT),this.nodes.forEach(ev),this.nodes.forEach(eg),this.clearAllSnapshots();let t=eu.X.now();N.frameData.delta=(0,tg.u)(0,1e3/60,t-N.frameData.timestamp),N.frameData.timestamp=t,N.frameData.isProcessing=!0,N.S6.update.process(N.frameData),N.S6.preRender.process(N.frameData),N.S6.render.process(N.frameData),N.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,h.read(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(eb),this.sharedNodes.forEach(eD)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,N.Wi.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){N.Wi.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=(0,tw.dO)(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&(this.scroll={animationId:this.root.animationId,phase:t,isRoot:n(this.instance),offset:r(this.instance)})}resetTransform(){if(!i)return;let t=this.isLayoutDirty||this.shouldResetTransform,e=this.projectionDelta&&!et(this.projectionDelta),r=this.getTransformTemplate(),n=r?r(this.latestValues,""):void 0,s=n!==this.prevTransformTemplateValue;t&&(e||(0,eo.ud)(this.latestValues)||s)&&(i(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let r=this.measurePageBox(),n=this.removeElementScroll(r);return t&&(n=this.removeTransform(n)),eO((e=n).x),eO(e.y),{animationId:this.root.animationId,measuredBox:r,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return(0,tw.dO)();let e=t.measureViewportBox(),{scroll:r}=this.root;return r&&((0,t4.am)(e.x,r.offset.x),(0,t4.am)(e.y,r.offset.y)),e}removeElementScroll(t){let e=(0,tw.dO)();t1(e,t);for(let r=0;r<this.path.length;r++){let n=this.path[r],{scroll:i,options:s}=n;if(n!==this.root&&i&&s.layoutScroll){if(i.isRoot){t1(e,t);let{scroll:r}=this.root;r&&((0,t4.am)(e.x,-r.offset.x),(0,t4.am)(e.y,-r.offset.y))}(0,t4.am)(e.x,i.offset.x),(0,t4.am)(e.y,i.offset.y)}}return e}applyTransform(t,e=!1){let r=(0,tw.dO)();t1(r,t);for(let t=0;t<this.path.length;t++){let n=this.path[t];!e&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(0,t4.D2)(r,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),(0,eo.ud)(n.latestValues)&&(0,t4.D2)(r,n.latestValues)}return(0,eo.ud)(this.latestValues)&&(0,t4.D2)(r,this.latestValues),r}removeTransform(t){let e=(0,tw.dO)();t1(e,t);for(let t=0;t<this.path.length;t++){let r=this.path[t];if(!r.instance||!(0,eo.ud)(r.latestValues))continue;(0,eo.Lj)(r.latestValues)&&r.updateSnapshot();let n=(0,tw.dO)();t1(n,r.measurePageBox()),t7(e,r.latestValues,r.snapshot?r.snapshot.layoutBox:void 0,n)}return(0,eo.ud)(this.latestValues)&&t7(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==N.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){var e,r,n,i;let s=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=s.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=s.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=s.isS
17haredProjectionDirty);let o=!!this.resumingFrom||this!==s;if(!(t||o&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;let{layout:a,layoutId:l}=this.options;if(this.layout&&(a||l)){if(this.resolvedRelativeTargetAt=N.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,tw.dO)(),this.relativeTargetOrigin=(0,tw.dO)(),tv(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),t1(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=(0,tw.dO)(),this.targetWithTransforms=(0,tw.dO)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),r=this.target,n=this.relativeTarget,i=this.relativeParent.target,tp(r.x,n.x,i.x),tp(r.y,n.y,i.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):t1(this.target,this.layout.layoutBox),(0,t4.o2)(this.target,this.targetDelta)):t1(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&&!!t.resumingFrom==!!this.resumingFrom&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,tw.dO)(),this.relativeTargetOrigin=(0,tw.dO)(),tv(this.relativeTargetOrigin,this.target,t.target),t1(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}ep.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||(0,eo.Lj)(this.parent.latestValues)||(0,eo.D_)(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var t;let e=this.getLead(),r=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty))&&(n=!1),r&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===N.frameData.timestamp&&(n=!1),n)return;let{layout:i,layoutId:s}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(i||s))return;t1(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,a=this.treeScale.y;(0,t4.YY)(this.layoutCorrected,this.treeScale,this.path,r),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=(0,tw.dO)());let{target:l}=e;if(!l){this.projectionTransform&&(this.projectionDelta=(0,tw.wc)(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=(0,tw.wc)(),this.projectionDeltaWithTransform=(0,tw.wc)());let u=this.projectionTransform;tf(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=es(this.projectionDelta,this.treeScale),(this.projectionTransform!==u||this.treeScale.x!==o||this.treeScale.y!==a)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),ep.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(t,e=!1){let r;let n=this.snapshot,i=n?n.latestValues:{},s={...this.latestValues},o=(0,tw.wc)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=(0,tw.dO)(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,h=!!(l&&!c&&!0===this.options.crossfade&&!this.path.some(ek));this.animationProgress=0,this.mixTargetDelta=e=>{let n=e/1e3;if(eV(o.x,t.x,n),eV(o.y,t.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,f,p;tv(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),f=this.relativeTarget,p=this.relativeTargetOrigin,eM(f.x,p.x,a.x,n),eM(f.y,p.y,a.y,n),r&&(u=this.relativeTarget,d=r,u.x.min===d.x.min&&u.x.max===d.x.max&&u.y.min===d.y.min&&u.y.max===d.y.max)&&(this.isProjectionDirty=!1),r||(r=(0,tw.dO)()),t1(r,this.relativeTarget)}l&&(this.animationValues=s,function(t,e,r,n,i,s){i?(t.opacity=(0,tu.t)(0,void 0!==r.opacity?r.opacity:1,tK(n)),t.opacityExit=(0,tu.t)(void 0!==e.opacity?e.opacity:1,0,tJ(n))):s&&(t.opacity=(0,tu.t)(void 0!==e.opacity?e.opacity:1,void 0!==r.opacity?r.opacity:1,n));for(let i=0;i<tZ;i++){let s=`border${tX[i]}Radius`,o=t_(e,s),a=t_(r,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||tY(o)===tY(a)?(t[s]=Math.max((0,tu.t)(tG(o),tG(a),n),0),(tC.aQ.test(a)||tC.aQ.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||r.rotate)&&(t.rotate=(0,tu.t)(e.rotate||0,r.rotate||0,n))}(s,i,this.latestValues,n,h,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,N.Pn)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=N.Wi.update(()=>{tF.hasAnimatedSinceResize=!0,this.currentAnimation=function(t,e,r){let n=(0,E.i)(0)?0:(0,ec.BX)(0);return n.start((0,tD.v)("",n,1e3,r)),n.animation}(0,0,{...t,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:r,layout:n,latestValues:i}=t;if(e&&r&&n){if(this!==t&&this.layout&&n&&eF(this.options.animationType,this.layout.layoutBox,n.layoutBox)){r=this.target||(0,tw.dO)();let e=tc(this.layout.layoutBox.x);r.x.min=t.target.x.min,r.x.max=r.x.min+e;let n=tc(this.layout.layoutBox.y);r.y.min=t.target.y.min,r.y.max=r.y.min+n}t1(e,r),(0,t4.D2)(e,i),tf(this.projectionDeltaWithTransform,this.layoutCorrected,e,i)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new ei),this.sharedNodes.get(t).add(e);let r=e.options.initialPromotionConfig;e.promote({transition:r?r.transition:void 0,preserveFollowOpacity:r&&r.shouldPreserveFollowOpacity?r.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){var t;let{layoutId:e}=this.options;return e&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}getPrevLead(){var t;let{layoutId:e}=this.options;return e?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:r}={}){let n=this.getStack();n&&n.promote(this,r),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:r}=t;if((r.rotate||r.rotateX||r.rotateY||r.rotateZ)&&(e=!0),!e)return;let n={};for(let e=0;e<eh.length;e++){let i="rotate"+eh[e];r[i]&&(n[i]=r[i],t.setStaticValue(i,0))}for(let e in t.render(),n)t.setStaticValue(e,n[e]);t.scheduleRender()}getProjectionStyles(t){var e,r;if(!this.instance||this.isSVG)return;if(!this.isVisible)return ed;let n={visibility:""},i=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,n.opacity="",n.pointerEvents=U(null==t?void 0:t.pointerEvents)||"",n.transform=i?i(this.latestValues,""):"none",n;let s=this.getLead();if(!this.projectionDelta||!this.layout||!s.target){let e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=U(null==t?void 0:t.pointerEvents)||""),this.hasProjected&&!(0,eo.ud)(this.latestValues)&&(e.transform=i?i({},""):"none",this.hasProjected=!1),e}let o=s.animationValues||s.latestValues;this.applyTransformsToTarget(),n.transform=es(this.projectionDeltaWithTransform,this.treeScale,o),i&&(n.transform=i(o,n.transform));let{x:a,y:l}=this.projectionDelta;for(let t in n.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,s.animationValues?n.opacity=s===this?null!==(r=null!==(e=o.opacity)&&void 0!==e?e:this.latestValues.opacity)&&void 0!==r?r:1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:n.opacity=s===this?void 0!==o.opacity?o.opacity:"":void 0!==o.opacityExit?o.opacityExit:0,tU.P){if(void 0===o[t])continue;let{correct:e,applyTo:r}=tU.P[t],i="none"===n.transform?o[t]:e(o[t],s);if(r){let t=r.length;for(let e=0;e<t;e++)n[r[e]]=i}else n[t]=i}return this.options.layoutId&&(n.pointerEvents=s===this?U(null==t?void 0:t.pointerEvents)||"":"none"),n}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}
17resetTree(){this.root.nodes.forEach(t=>{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()}),this.root.nodes.forEach(eP),this.root.sharedNodes.clear()}}}function ev(t){t.updateLayout()}function eg(t){var e;let r=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&r&&t.hasListeners("didUpdate")){let{layoutBox:e,measuredBox:n}=t.layout,{animationType:i}=t.options,s=r.source!==t.layout.source;"size"===i?tT(t=>{let n=s?r.measuredBox[t]:r.layoutBox[t],i=tc(n);n.min=e[t].min,n.max=n.min+i}):eF(i,r.layoutBox,e)&&tT(n=>{let i=s?r.measuredBox[n]:r.layoutBox[n],o=tc(e[n]);i.max=i.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+o)});let o=(0,tw.wc)();tf(o,e,r.layoutBox);let a=(0,tw.wc)();s?tf(a,t.applyTransform(n,!0),r.measuredBox):tf(a,e,r.layoutBox);let l=!et(o),u=!1;if(!t.resumeFrom){let n=t.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:i,layout:s}=n;if(i&&s){let o=(0,tw.dO)();tv(o,r.layoutBox,i.layoutBox);let a=(0,tw.dO)();tv(a,e,s.layoutBox),ee(o,a)||(u=!0),n.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:r,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function ey(t){ep.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function ex(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function eb(t){t.clearSnapshot()}function eP(t){t.clearMeasurements()}function ew(t){t.isLayoutDirty=!1}function eT(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function eE(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function eS(t){t.resolveTargetDelta()}function eA(t){t.calcProjection()}function eC(t){t.resetRotation()}function eD(t){t.removeLeadSnapshot()}function eV(t,e,r){t.translate=(0,tu.t)(e.translate,0,r),t.scale=(0,tu.t)(e.scale,1,r),t.origin=e.origin,t.originPoint=e.originPoint}function eM(t,e,r,n){t.min=(0,tu.t)(e.min,r.min,n),t.max=(0,tu.t)(e.max,r.max,n)}function ek(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let eR={duration:.45,ease:[.4,0,.1,1]},eL=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),ej=eL("applewebkit/")&&!eL("chrome/")?Math.round:G.Z;function eO(t){t.min=ej(t.min),t.max=ej(t.max)}function eF(t,e,r){return"position"===t||"preserve-aspect"===t&&!th(er(e),er(r),.2)}let eB=em({attachResizeListener:(t,e)=>(0,tA.E)(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),eI={current:void 0},e$=em({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!eI.current){let t=new eB({});t.mount(window),t.setOptions({layoutScroll:!0}),eI.current=t}return eI.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});var eU=r(481);let eW={...X.s,...q.E,pan:{Feature:tO},drag:{Feature:tL,ProjectionNode:e$,MeasureLayout:tN},layout:{ProjectionNode:e$,MeasureLayout:tN}},eN=function(t){function e(e,r={}){return function({preloadedFeatures:t,createVisualElement:e,useRender:r,useVisualState:n,Component:d}){t&&(0,g.K)(t);let w=(0,i.forwardRef)(function(g,P){var w;let T;let E={...(0,i.useContext)(s._),...g,layoutId:function({layoutId:t}){let e=(0,i.useContext)(x.p).id;return e&&void 0!==t?e+"-"+t:t}(g)},{isStatic:S}=E,A=function(t){let{initial:e,animate:r}=function(t,e){if((0,m.G)(t)){let{initial:e,animate:r}=t;return{initial:!1===e||(0,p.$)(e)?e:void 0,animate:(0,p.$)(r)?r:void 0}}return!1!==t.inherit?e:{}}(t,(0,i.useContext)(o));return(0,i.useMemo)(()=>({initial:e,animate:r}),[v(e),v(r)])}(g),C=n(g,S);if(!S&&y.j){A.visualElement=function(t,e,r,n){let{visualElement:d}=(0,i.useContext)(o),f=(0,i.useContext)(u.u),p=(0,i.useContext)(a.O),m=(0,i.useContext)(s._).reducedMotion,v=(0,i.useRef)();n=n||f.renderer,!v.current&&n&&(v.current=n(t,{visualState:e,parent:d,props:r,presenceContext:p,blockInitialAnimation:!!p&&!1===p.initial,reducedMotionConfig:m}));let g=v.current;(0,i.useInsertionEffect)(()=>{g&&g.update(r,p)});let y=(0,i.useRef)(!!(r[c.M]&&!window.HandoffComplete));return(0,l.L)(()=>{g&&(h.postRender(g.render),y.current&&g.animationState&&g.animationState.animateChanges())}),(0,i.useEffect)(()=>{g&&(g.updateFeatures(),!y.current&&g.animationState&&g.animationState.animateChanges(),y.current&&(y.current=!1,window.HandoffComplete=!0))}),g}(d,C,E,e);let r=(0,i.useContext)(b),n=(0,i.useContext)(u.u).strict;A.visualElement&&(T=A.visualElement.loadFeatures(E,n,t,r))}return i.createElement(o.Provider,{value:A},T&&A.visualElement?i.createElement(T,{visualElement:A.visualElement,...E}):null,r(d,g,(w=A.visualElement,(0,i.useCallback)(t=>{t&&C.mount&&C.mount(t),w&&(t?w.mount(t):w.unmount()),P&&("function"==typeof P?P(t):(0,f.I)(P)&&(P.current=t))},[w])),C,S,A.visualElement))});return w[P]=d,w}(t(e,r))}if("undefined"==typeof Proxy)return e;let r=new Map;return new Proxy(e,{get:(t,n)=>(r.has(n)||r.set(n,e(n)),r.get(n))})}((t,e)=>(function(t,{forwardMotionProps:e=!1},r,n){return{...(0,w.q)(t)?H:z,preloadedFeatures:r,useRender:function(t=!1){return(e,r,n,{latestValues:s},o)=>{let a=((0,w.q)(e)?function(t,e,r,n){let s=(0,i.useMemo)(()=>{let r=R();return(0,k.i)(r,e,{enableHardwareAcceleration:!1},(0,L.a)(n),t.transformTemplate),{...r.attrs,style:{...r.style}}},[e]);if(t.style){let e={};C(e,t.style,t),s.style={...e,...s.style}}return s}:function(t,e,r){let n={},s=function(t,e,r){let n=t.style||{},s={};return C(s,n,t),Object.assign(s,function({transformTemplate:t},e,r){return(0,i.useMemo)(()=>{let n=A();return(0,S.r)(n,e,{enableHardwareAcceleration:!r},t),Object.assign({},n.vars,n.style)},[e])}(t,e,r)),s}(t,e,r);return t.drag&&!1!==t.dragListener&&(n.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=s,n})(r,s,o,e),l=function(t,e,r){let n={};for(let i in t)("values"!==i||"object"!=typeof t.values)&&(M(i)||!0===r&&V(i)||!e&&!V(i)||t.draggable&&i.startsWith("onDrag"))&&(n[i]=t[i]);return n}(r,"string"==typeof e,t),u=e!==i.Fragment?{...l,...a,ref:n}:{},{children:c}=r,h=(0,i.useMemo)(()=>(0,E.i)(c)?c.get():c,[c]);return(0,i.createElement)(e,{...u,children:h})}}(e),createVisualElement:n,Component:t}})(t,e,eW,eU.b))},17444:function(t,e,r){"use strict";r.d(e,{D:function(){return n}});let n=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase()},37249:function(t,e,r){"use strict";r.d(e,{f:function(){return i},t:function(){return o}});let n=t=>e=>"string"==typeof e&&e.startsWith(t),i=n("--"),s=n("var(--"),o=t=>!!s(t)&&a.test(t.split("/*")[0].trim()),a=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu},64044:function(t,e,r){"use strict";r.d(e,{q:function(){return i}});let n=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function i(t){if("string"!=typeof t||t.includes("-"));else if(n.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}},25861:function(t,e,r){"use strict";r.d(e,{T:function(){return o}});var n=r(15636),i=r(22779),s=r(22005);function o(t,e){let r=(0,s.A)(t);return r!==i.h&&(r=n.P),r.getAnimatableNone?r.getAnimatableNone(e):void 0}},22005:function(t,e,r){"use strict";r.d(e,{A:function(){return o}});var n=r(33964),i=r(22779);let s={...r(38325).j,color:n.$,backgroundColor:n.$,outlineColor:n.$,fill:n.$,stroke:n.$,borderColor:n.$,borderTopColor:n.$,borderRightColor:n.$,borderBottomColor:n.$,borderLeftColor:n.$,filter:i.h,WebkitFilter:i.h},o=t=>s[t]},38580:function(t,e,r){"use strict";r.d(e,{$:function(){return o},C:function(){return a}});var n=r(74305),i=r(27492),s=r(55113);let o=[n.Rx,i.px,i.aQ,i.RW,i.vw,i.vh,{test:t=>"auto"===t,parse:t=>t}],a=t=>o.find((0,s.l)(t))},38325:function(t,e,r){"use strict";r.d(e,{j:function(){return o}});var n=r(74305),i=r(27492);let s={...n.Rx,transform:Math.round},o={borderWidth:i.px,borderTopWidth:i.px,borderRightWidth:i.px,borderBottomWidth:i.px,borderLeftWidth:i.px,borderRadius:i.px,radius:i.px,borderTopLeftRadius:i.px,borderTopRightRadius:i.px,borderBottomRightRadius:i.px,borderBottomLeftRadius:i.px,width:i.px,maxWidth:i.px,height:i.px,maxHeight:i.px,size:i.px,top:i.px,right:i.px,bottom:i.px,left:i.px,padding:i.px,paddingTop:i.px,paddingRight:i.px,paddingBottom:i.px,paddingLeft:i.px,margin:i.px,marginTop:i.px,marginRight:i.px,marginBottom:i.px,marginLeft:i.px,rotate:i.RW,rotateX:i.RW,rotateY:i.RW,rotateZ:i.RW,
17scale:n.bA,scaleX:n.bA,scaleY:n.bA,scaleZ:n.bA,skew:i.RW,skewX:i.RW,skewY:i.RW,distance:i.px,translateX:i.px,translateY:i.px,translateZ:i.px,x:i.px,y:i.px,z:i.px,perspective:i.px,transformPerspective:i.px,opacity:n.Fq,originX:i.$C,originY:i.$C,originZ:i.px,zIndex:s,fillOpacity:n.Fq,strokeOpacity:n.Fq,numOctaves:s}},55113:function(t,e,r){"use strict";r.d(e,{l:function(){return n}});let n=t=>e=>e.test(t)},4469:function(t,e,r){"use strict";r.d(e,{r:function(){return u}});var n=r(8834);let i={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},s=n._.length;var o=r(37249);let a=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var l=r(38325);function u(t,e,r,u){let{style:c,vars:h,transform:d,transformOrigin:f}=t,p=!1,m=!1,v=!0;for(let t in e){let r=e[t];if((0,o.f)(t)){h[t]=r;continue}let i=l.j[t],s=a(r,i);if(n.G.has(t)){if(p=!0,d[t]=s,!v)continue;r!==(i.default||0)&&(v=!1)}else t.startsWith("origin")?(m=!0,f[t]=s):c[t]=s}if(!e.transform&&(p||u?c.transform=function(t,{enableHardwareAcceleration:e=!0,allowTransformNone:r=!0},o,a){let l="";for(let e=0;e<s;e++){let r=n._[e];if(void 0!==t[r]){let e=i[r]||r;l+=`${e}(${t[r]}) `}}return e&&!t.z&&(l+="translateZ(0)"),l=l.trim(),a?l=a(t,o?"":l):r&&o&&(l="none"),l}(t.transform,r,v,u):c.transform&&(c.transform="none")),m){let{originX:t="50%",originY:e="50%",originZ:r=0}=f;c.transformOrigin=`${t} ${e} ${r}`}}},1125:function(t,e,r){"use strict";function n(t,{style:e,vars:r},n,i){for(let s in Object.assign(t.style,e,i&&i.getProjectionStyles(n)),r)t.style.setProperty(s,r[s])}r.d(e,{N:function(){return n}})},67971:function(t,e,r){"use strict";r.d(e,{U:function(){return s}});var n=r(77556),i=r(23999);function s(t,e){let{style:r}=t,s={};for(let o in r)((0,i.i)(r[o])||e.style&&(0,i.i)(e.style[o])||(0,n.j)(o,t))&&(s[o]=r[o]);return s}},8834:function(t,e,r){"use strict";r.d(e,{G:function(){return i},_:function(){return n}});let n=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],i=new Set(n)},67402:function(t,e,r){"use strict";r.d(e,{i:function(){return l}});var n=r(4469),i=r(27492);function s(t,e,r){return"string"==typeof t?t:i.px.transform(e+r*t)}let o={offset:"stroke-dashoffset",array:"stroke-dasharray"},a={offset:"strokeDashoffset",array:"strokeDasharray"};function l(t,{attrX:e,attrY:r,attrScale:l,originX:u,originY:c,pathLength:h,pathSpacing:d=1,pathOffset:f=0,...p},m,v,g){if((0,n.r)(t,p,m,g),v){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:y,style:x,dimensions:b}=t;y.transform&&(b&&(x.transform=y.transform),delete y.transform),b&&(void 0!==u||void 0!==c||x.transform)&&(x.transformOrigin=function(t,e,r){let n=s(e,t.x,t.width),i=s(r,t.y,t.height);return`${n} ${i}`}(b,void 0!==u?u:.5,void 0!==c?c:.5)),void 0!==e&&(y.x=e),void 0!==r&&(y.y=r),void 0!==l&&(y.scale=l),void 0!==h&&function(t,e,r=1,n=0,s=!0){t.pathLength=1;let l=s?o:a;t[l.offset]=i.px.transform(-n);let u=i.px.transform(e),c=i.px.transform(r);t[l.array]=`${u} ${c}`}(y,h,d,f,!1)}},16582:function(t,e,r){"use strict";r.d(e,{s:function(){return n}});let n=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"])},37380:function(t,e,r){"use strict";r.d(e,{a:function(){return n}});let n=t=>"string"==typeof t&&"svg"===t.toLowerCase()},33390:function(t,e,r){"use strict";r.d(e,{K:function(){return o}});var n=r(17444),i=r(1125),s=r(16582);function o(t,e,r,o){for(let r in(0,i.N)(t,e,void 0,o),e.attrs)t.setAttribute(s.s.has(r)?r:(0,n.D)(r),e.attrs[r])}},67098:function(t,e,r){"use strict";r.d(e,{U:function(){return o}});var n=r(23999),i=r(67971),s=r(8834);function o(t,e){let r=(0,i.U)(t,e);for(let i in t)((0,n.i)(t[i])||(0,n.i)(e[i]))&&(r[-1!==s._.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return r}},17743:function(t,e,r){"use strict";r.d(e,{G:function(){return o},M:function(){return a}});var n=r(20569),i=r(74115),s=r(72589);function o(t){return(0,n.H)(t.animate)||s.V.some(e=>(0,i.$)(t[e]))}function a(t){return!!(o(t)||t.variants)}},74115:function(t,e,r){"use strict";function n(t){return"string"==typeof t||Array.isArray(t)}r.d(e,{$:function(){return n}})},67043:function(t,e,r){"use strict";r.d(e,{x:function(){return i}});var n=r(93660);function i(t,e,r){let i=t.getProps();return(0,n.o)(i,e,void 0!==r?r:i.custom,function(t){let e={};
17return t.values.forEach((t,r)=>e[r]=t.get()),e}(t),function(t){let e={};return t.values.forEach((t,r)=>e[r]=t.getVelocity()),e}(t))}},93660:function(t,e,r){"use strict";function n(t,e,r,n={},i={}){return"function"==typeof e&&(e=e(void 0!==r?r:t.custom,n,i)),"string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e&&(e=e(void 0!==r?r:t.custom,n,i)),e}r.d(e,{o:function(){return n}})},96179:function(t,e,r){"use strict";r.d(e,{GJ:function(){return v},P$:function(){return g},CD:function(){return m}});var n=r(4946),i=r(13697),s=r(4581),o=r(3078),a=r(15636),l=r(25861),u=r(33964),c=r(38580),h=r(55113);let d=[...c.$,u.$,a.P],f=t=>d.find((0,h.l)(t));var p=r(67043);function m(t,e){let r=(0,p.x)(t,e),{transitionEnd:n={},transition:i={},...a}=r?t.makeTargetAnimatable(r,!1):{};for(let e in a={...a,...n}){let r=(0,s.Y)(a[e]);t.hasValue(e)?t.getValue(e).set(r):t.addValue(e,(0,o.BX)(r))}}function v(t,e,r){var s,u;let c=Object.keys(e).filter(e=>!t.hasValue(e)),h=c.length;if(h)for(let d=0;d<h;d++){let h=c[d],p=e[h],m=null;Array.isArray(p)&&(m=p[0]),null===m&&(m=null!==(u=null!==(s=r[h])&&void 0!==s?s:t.readValue(h))&&void 0!==u?u:e[h]),null!=m&&("string"==typeof m&&((0,n.P)(m)||(0,i.W)(m))?m=parseFloat(m):!f(m)&&a.P.test(p)&&(m=(0,l.T)(h,p)),t.addValue(h,(0,o.BX)(m,{owner:t})),void 0===r[h]&&(r[h]=m),null!==m&&t.setBaseTarget(h,m))}}function g(t,e,r){let n={};for(let i in t){let t=function(t,e){if(e)return(e[t]||e.default||e).from}(i,e);if(void 0!==t)n[i]=t;else{let t=r.getValue(i);t&&(n[i]=t.get())}}return n}},72589:function(t,e,r){"use strict";r.d(e,{V:function(){return i},e:function(){return n}});let n=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],i=["initial",...n]},24118:function(t,e,r){"use strict";r.d(e,{c:function(){return n}});let n={skipAnimations:!1,useManualTiming:!1}},69013:function(t,e,r){"use strict";function n(t,e){-1===t.indexOf(e)&&t.push(e)}function i(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}r.d(e,{cl:function(){return i},y4:function(){return n}})},59111:function(t,e,r){"use strict";r.d(e,{u:function(){return n}});let n=(t,e,r)=>r>e?e:r<t?t:r},13223:function(t,e,r){"use strict";r.d(e,{K:function(){return i},k:function(){return s}});var n=r(44439);let i=n.Z,s=n.Z},44563:function(t,e,r){"use strict";r.d(e,{j:function(){return n}});let n="undefined"!=typeof document},4946:function(t,e,r){"use strict";r.d(e,{P:function(){return n}});let n=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)},34006:function(t,e,r){"use strict";function n(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}r.d(e,{I:function(){return n}})},13697:function(t,e,r){"use strict";r.d(e,{W:function(){return n}});let n=t=>/^0[^.\s]+$/u.test(t)},96781:function(t,e,r){"use strict";r.d(e,{t:function(){return n}});let n=(t,e,r)=>t+(e-t)*r},44439:function(t,e,r){"use strict";r.d(e,{Z:function(){return n}});let n=t=>t},56920:function(t,e,r){"use strict";r.d(e,{z:function(){return i}});let n=(t,e)=>r=>e(t(r)),i=(...t)=>t.reduce(n)},76376:function(t,e,r){"use strict";r.d(e,{Y:function(){return n}});let n=(t,e,r)=>{let n=e-t;return 0===n?1:(r-t)/n}},4581:function(t,e,r){"use strict";r.d(e,{Y:function(){return s},p:function(){return i}});var n=r(44944);let i=t=>!!(t&&"object"==typeof t&&t.mix&&t.toValue),s=t=>(0,n.C)(t)?t[t.length-1]||0:t},34081:function(t,e,r){"use strict";r.d(e,{L:function(){return i}});var n=r(69013);class i{constructor(){this.subscriptions=[]}add(t){return(0,n.y4)(this.subscriptions,t),()=>(0,n.cl)(this.subscriptions,t)}notify(t,e,r){let n=this.subscriptions.length;if(n){if(1===n)this.subscriptions[0](t,e,r);else for(let i=0;i<n;i++){let n=this.subscriptions[i];n&&n(t,e,r)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},56717:function(t,e,r){"use strict";r.d(e,{X:function(){return i},w:function(){return n}});let n=t=>1e3*t,i=t=>t/1e3},53576:function(t,e,r){"use strict";r.d(e,{h:function(){return i}});var n=r(2265);function i(t){let e=(0,n.useRef)(null);return null===e.current&&(e.current=t()),e.current}},11534:function(t,e,r){"use strict";r.d(e,{L:function(){return i}});var n=r(2265);let i=r(44563).j?n.useLayoutEffect:n.useEffect},14438:function(t,e,r){"use strict";function n(t,e){return e?1e3/e*t:0}r.d(e,{R:function(){return n}})},3078:function(t,e,r){"use strict";r.d(e,{BX:function(){return c}});var n=r(34081),i=r(14438),s=r(40504),o=r(45414);let a=t=>!isNaN(parseFloat(t)),l={current:void 0};class u{constructor(t,e={}){this.version="11.0.10",this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(t,e=!0)=>{let r=s.X.now();this.updatedAt!==r&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.canTrackVelocity=a(this.current),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=s.X.now()}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new n.L);let r=this.events[t].add(e);return"change"===t?()=>{r(),o.Wi.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,r){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return l.current&&l.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=s.X.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,i.R)(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function c(t,e){return new u(t,e)}},87325:function(t,e,r){"use strict";r.d(e,{$:function(){return i}});var n=r(18859);let i={test:(0,r(42702).i)("#"),parse:function(t){let e="",r="",n="",i="";return t.length>5?(e=t.substring(1,3),r=t.substring(3,5),n=t.substring(5,7),i=t.substring(7,9)):(e=t.substring(1,2),r=t.substring(2,3),n=t.substring(3,4),i=t.substring(4,5),e+=e,r+=r,n+=n,i+=i),{red:parseInt(e,16),green:parseInt(r,16),blue:parseInt(n,16),alph
17a:i?parseInt(i,16)/255:1}},transform:n.m.transform}},92943:function(t,e,r){"use strict";r.d(e,{J:function(){return a}});var n=r(74305),i=r(27492),s=r(50796),o=r(42702);let a={test:(0,o.i)("hsl","hue"),parse:(0,o.d)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:r,alpha:o=1})=>"hsla("+Math.round(t)+", "+i.aQ.transform((0,s.Nw)(e))+", "+i.aQ.transform((0,s.Nw)(r))+", "+(0,s.Nw)(n.Fq.transform(o))+")"}},33964:function(t,e,r){"use strict";r.d(e,{$:function(){return a}});var n=r(50796),i=r(87325),s=r(92943),o=r(18859);let a={test:t=>o.m.test(t)||i.$.test(t)||s.J.test(t),parse:t=>o.m.test(t)?o.m.parse(t):s.J.test(t)?s.J.parse(t):i.$.parse(t),transform:t=>(0,n.HD)(t)?t:t.hasOwnProperty("red")?o.m.transform(t):s.J.transform(t)}},18859:function(t,e,r){"use strict";r.d(e,{m:function(){return u}});var n=r(59111),i=r(74305),s=r(50796),o=r(42702);let a=t=>(0,n.u)(0,255,t),l={...i.Rx,transform:t=>Math.round(a(t))},u={test:(0,o.i)("rgb","red"),parse:(0,o.d)("red","green","blue"),transform:({red:t,green:e,blue:r,alpha:n=1})=>"rgba("+l.transform(t)+", "+l.transform(e)+", "+l.transform(r)+", "+(0,s.Nw)(i.Fq.transform(n))+")"}},42702:function(t,e,r){"use strict";r.d(e,{d:function(){return s},i:function(){return i}});var n=r(50796);let i=(t,e)=>r=>!!((0,n.HD)(r)&&n.mj.test(r)&&r.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(r,e)),s=(t,e,r)=>i=>{if(!(0,n.HD)(i))return i;let[s,o,a,l]=i.match(n.KP);return{[t]:parseFloat(s),[e]:parseFloat(o),[r]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}},22779:function(t,e,r){"use strict";r.d(e,{h:function(){return l}});var n=r(15636),i=r(50796);let s=new Set(["brightness","contrast","saturate","opacity"]);function o(t){let[e,r]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=r.match(i.KP)||[];if(!n)return t;let o=r.replace(n,""),a=s.has(e)?1:0;return n!==r&&(a*=100),e+"("+a+o+")"}let a=/\b([a-z-]*)\(.*?\)/gu,l={...n.P,getAnimatableNone:t=>{let e=t.match(a);return e?e.map(o).join(" "):t}}},15636:function(t,e,r){"use strict";r.d(e,{P:function(){return d},V:function(){return l}});var n=r(33964),i=r(50796);let s="number",o="color",a=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function l(t){let e=t.toString(),r=[],i={color:[],number:[],var:[]},l=[],u=0,c=e.replace(a,t=>(n.$.test(t)?(i.color.push(u),l.push(o),r.push(n.$.parse(t))):t.startsWith("var(")?(i.var.push(u),l.push("var"),r.push(t)):(i.number.push(u),l.push(s),r.push(parseFloat(t))),++u,"${}")).split("${}");return{values:r,split:c,indexes:i,types:l}}function u(t){return l(t).values}function c(t){let{split:e,types:r}=l(t),a=e.length;return t=>{let l="";for(let u=0;u<a;u++)if(l+=e[u],void 0!==t[u]){let e=r[u];e===s?l+=(0,i.Nw)(t[u]):e===o?l+=n.$.transform(t[u]):l+=t[u]}return l}}let h=t=>"number"==typeof t?0:t,d={test:function(t){var e,r;return isNaN(t)&&(0,i.HD)(t)&&((null===(e=t.match(i.KP))||void 0===e?void 0:e.length)||0)+((null===(r=t.match(i.dA))||void 0===r?void 0:r.length)||0)>0},parse:u,createTransformer:c,getAnimatableNone:function(t){let e=u(t);return c(t)(e.map(h))}}},74305:function(t,e,r){"use strict";r.d(e,{Fq:function(){return s},Rx:function(){return i},bA:function(){return o}});var n=r(59111);let i={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},s={...i,transform:t=>(0,n.u)(0,1,t)},o={...i,default:1}},27492:function(t,e,r){"use strict";r.d(e,{$C:function(){return c},RW:function(){return s},aQ:function(){return o},px:function(){return a},vh:function(){return l},vw:function(){return u}});var n=r(50796);let i=t=>({test:e=>(0,n.HD)(e)&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),s=i("deg"),o=i("%"),a=i("px"),l=i("vh"),u=i("vw"),c={...o,parse:t=>o.parse(t)/100,transform:t=>o.transform(100*t)}},50796:function(t,e,r){"use strict";r.d(e,{HD:function(){return a},KP:function(){return i},Nw:function(){return n},dA:function(){return s},mj:function(){return o}});let n=t=>Math.round(1e5*t)/1e5,i=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,s=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,o=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function a(t){return"string"==typeof t}},39593:function(t,e,r){"use strict";r.d(e,{L:function(){return i}});var n=r(23999);function i(t){return!!((0,n.i)(t)&&t.add)}},23999:function(t,e,r){"use strict";r.d(e,{i:function(){return n}});let n=t=>!!(t&&t.getVelocity)},42734:function(t,e,r){"use strict";r.d(e,{NuqsAdapter:function(){return f}});var n=r(72474),i=r(87590);function s(){(0,n.c)("[nuqs] Aborting queues"),i.t.abortAll(),i.n.abort().forEac
17h(t=>i.t.queuedQuerySync.emit(t))}var o=r(2265),a=r(99376);let l=0;function u(){l=0,s()}function c(){--l<=0&&(l=0,queueMicrotask(s))}function h(){return(0,o.useEffect)(()=>((function(){var t,e;if(t="next/app","undefined"==typeof history||(history.nuqs?.version&&"0.0.0-inject-version-here"!==history.nuqs.version?(console.error((0,n.s)(409),history.nuqs.version,"0.0.0-inject-version-here",t),!0):!!history.nuqs?.adapters?.includes(t)))return;let r=history.replaceState,i=history.pushState;history.replaceState=function(t,e,n){return c(),r.call(history,t,e,n)},history.pushState=function(t,e,r){return c(),i.call(history,t,e,r)},e="next/app",history.nuqs=history.nuqs??{version:"0.0.0-inject-version-here",adapters:[]},history.nuqs.adapters.push(e)})(),window.addEventListener("popstate",u),()=>window.removeEventListener("popstate",u)),[]),null}let d=(0,n.n)(function(){let t=(0,a.useRouter)(),[e,r]=(0,o.useOptimistic)((0,a.useSearchParams)());return{searchParams:e,updateUrl:(0,o.useCallback)((e,i)=>{(0,o.startTransition)(()=>{i.shallow||r(e);let s=function(t){let{origin:e,pathname:r,hash:i}=location;return e+r+(0,n.o)(t)+i}(e);(0,n.c)("[nuqs next/app] Updating url: %s",s);let o="push"===i.history?history.pushState:history.replaceState;l=3,o.call(history,null,"",s),i.scroll&&window.scrollTo(0,0),i.shallow||t.replace(s,{scroll:!1})})},[]),rateLimitFactor:3,autoResetQueueOnUpdate:!1}});function f(t){let{children:e,...r}=t;return(0,o.createElement)(d,{...r,children:[(0,o.createElement)(o.Suspense,{key:"nuqs-adapter-suspense-navspy",children:(0,o.createElement)(h)}),e]})}}}]);

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