1(self.webpackChunkgatsby_starter_default=self.webpackChunkgatsby_starter_default||[]).push([[988],{29:function(t,e,n){"use strict";n.d(e,{g:function(){return o}});var r=n(9896);function o(t,e){const n=t.getValue("willChange");if(o=n,Boolean((0,r.S)(o)&&o.add))return n.add(e);var o}},76:function(t){"use strict";t.exports=Function.prototype.call},104:function(t,e,n){"use strict";n.d(e,{Gt:function(){return i},PP:function(){return l},WG:function(){return s},uv:function(){return a}});var r=n(1533),o=n(8530);const{schedule:i,cancel:s,state:a,steps:l}=(0,o.I)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:r.l,!0)},124:function(t,e,n){var r=n(9325);t.exports=function(){return r.Date.now()}},309:function(t,e,n){"use strict";n.d(e,{b:function(){return o}});var r=n(4768);const o=t=>(t*=2)<1?.5*(0,r.dg)(t):.5*(2-Math.pow(2,-10*(t-1)))},346:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},414:function(t){"use strict";t.exports=Math.round},453:function(t,e,n){"use strict";var r,o=n(9612),i=n(9383),s=n(1237),a=n(9290),l=n(9538),u=n(8068),c=n(9675),h=n(5345),p=n(1514),d=n(8968),f=n(6188),m=n(8002),y=n(5880),g=n(414),v=n(3093),x=Function,b=function(t){try{return x('"use strict"; return ('+t+").constructor;")()}catch(e){}},w=n(5795),S=n(655),P=function(){throw new c},E=w?function(){try{return P}catch(t){try{return w(arguments,"callee").get}catch(e){return P}}}():P,A=n(4039)(),T=n(3628),k=n(1064),C=n(8648),M=n(1002),D=n(76),j={},V="undefined"!=typeof Uint8Array&&T?T(Uint8Array):r,I={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":A&&T?T([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":j,"%AsyncGenerator%":j,"%AsyncGeneratorFunction%":j,"%AsyncIteratorPrototype%":j,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":s,"%Float16Array%":"undefined"==typeof Float16Array?r:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":x,"%GeneratorFunction%":j,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%
1IteratorPrototype%":A&&T?T(T([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&A&&T?T((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":o,"%Object.getOwnPropertyDescriptor%":w,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":a,"%ReferenceError%":l,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&A&&T?T((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":A&&T?T(""[Symbol.iterator]()):r,"%Symbol%":A?Symbol:r,"%SyntaxError%":u,"%ThrowTypeError%":E,"%TypedArray%":V,"%TypeError%":c,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":h,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet,"%Function.prototype.call%":D,"%Function.prototype.apply%":M,"%Object.defineProperty%":S,"%Object.getPrototypeOf%":k,"%Math.abs%":p,"%Math.floor%":d,"%Math.max%":f,"%Math.min%":m,"%Math.pow%":y,"%Math.round%":g,"%Math.sign%":v,"%Reflect.getPrototypeOf%":C};if(T)try{null.error}catch(H){var R=T(T(H));I["%Error.prototype%"]=R}var O=function t(e){var n;if("%AsyncFunction%"===e)n=b("async function () {}");else if("%GeneratorFunction%"===e)n=b("function* () {}");else if("%AsyncGeneratorFunction%"===e)n=b("async function* () {}");else if("%AsyncGenerator%"===e){var r=t("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&T&&(n=T(o.prototype))}return I[e]=n,n},F={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},L=n(6743),B=n(9957),U=L.call(D,Array.prototype.concat),N=L.call(M,Array.prototype.splice),$=L.call(D,String.prototype.replace),z=L.call(D,String.prototype.slice),W=L.call(D,RegExp.prototype.exec),G=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,_=/\\(\\)?/g,q=function(t,e){var n,r=t;if(B(F,r)&&(r="%"+(n=F[r])[0]+"%"),B(I,r)){var o=I[r];if(o===j&&(o=O(r)),void 0===o&&!e)throw new c("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new u("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new c('"allowMissing" argument must be a boolean');if(null===W(/^%?[^%]*%?$/,t))throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(t){var e=z(t,0,1),n=z(t,-1);if("%"===e&&"%"!==n)throw new u("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==e)throw new u("invalid intrinsic syntax, expected opening `%`");var r=[];return $(t,G,function(t,e,n,o){r[r.length]=n?$(o,_,"$1"):e||t}),r}(t),r=n.length>0?n[0]:"",o=q("%"+r+"%",e),i=o.name,s=o.value,a=!1,l=o.alias;l&&(r=l[0],N(n,U([0,1],l)));for(var h=1,p=!0;h<n.length;h+=1){var d=n[h],f=z(d,0,1),m=z(d,-1);if(('"'===f||"'"===f||"`"===f||'"'===m||"'"===m||"`"===m)&&f!==m)throw new u("property names with quotes must have matching quotes");if("constructor"!==d&&p||(a=!0),B(I,i="%"+(r+="."+d)+"%"))s=I[i];else if(null!=s){if(!(d in s)){if(!e)throw new c("base intrinsic for "+t+" exists, but the property is not available.");return}if(w&&h+1>=n.length){var y=w(s,d);s=(p=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:s[d]}else p=B(s,d),s=s[d];p&&!a&&(I[i]=s)}}return s}},487:function(t,e,n){"use strict";var r=n(6897),o=n(655),i=n(3126),s=n(2205);t.exports=function(t){var e=i(arguments),n=t.length-(arguments.length-1);return r(e,1+(n>0?n:0),!0)},o?o(t.exports,"apply",{value:s}):t.exports.apply=s},568:function(t,e,n){"use strict";n.d(e,{j:function(){return o},p:function(){return s}});const r=t=>e=>
1"string"==typeof e&&e.startsWith(t),o=r("--"),i=r("var(--"),s=t=>!!i(t)&&a.test(t.split("/*")[0].trim()),a=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu},592:function(t,e,n){"use strict";var r=n(655),o=function(){return!!r};o.hasArrayLengthDefineBug=function(){if(!r)return null;try{return 1!==r([],"length",{value:1}).length}catch(t){return!0}},t.exports=o},655:function(t){"use strict";var e=Object.defineProperty||!1;if(e)try{e({},"a",{value:1})}catch(n){e=!1}t.exports=e},659:function(t,e,n){var r=n(1873),o=Object.prototype,i=o.hasOwnProperty,s=o.toString,a=r?r.toStringTag:void 0;t.exports=function(t){var e=i.call(t,a),n=t[a];try{t[a]=void 0;var r=!0}catch(l){}var o=s.call(t);return r&&(e?t[a]=n:delete t[a]),o}},837:function(t,e,n){"use strict";n.d(e,{O:function(){return a},e:function(){return s}});var r=n(5490),o=n(6551),i=n(5092);function s(t){return(0,r.N)(t.animate)||i._.some(e=>(0,o.w)(t[e]))}function a(t){return Boolean(s(t)||t.variants)}},849:function(t,e,n){"use strict";n.d(e,{S:function(){return r}});const r=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},971:function(t,e,n){"use strict";n.d(e,{f:function(){return i}});var r=n(6896),o=n(9713);function i(t,e){const n=t[t.length-1];for(let i=1;i<=e;i++){const s=(0,r.q)(0,e,i);t.push((0,o.k)(n,1,s))}}},983:function(t,e,n){"use strict";n.d(e,{K:function(){return p}});var r=n(4942),o=n(1533),i=n(8104),s=n(309),a=n(4768),l=n(4868),u=n(4043),c=n(3771);const h={linear:o.l,easeIn:c.a6,easeInOut:c.am,easeOut:c.vT,circIn:l.po,circInOut:l.tn,circOut:l.yT,backIn:a.dg,backInOut:a.ZZ,backOut:a.Sz,anticipate:s.b},p=t=>{if((0,r.DW)(t)){(0,i.V)(4===t.length,"Cubic bezier arrays must contain four numerical values.");const[e,n,r,o]=t;return(0,u.A)(e,n,r,o)}return"string"==typeof t?((0,i.V)(void 0!==h[t],`Invalid easing type '${t}'`),h[t]):t}},1002:function(t){"use strict";t.exports=Function.prototype.apply},1064:function(t,e,n){"use strict";var r=n(9612);t.exports=r.getPrototypeOf||null},1093:function(t){"use strict";var e=Object.prototype.toString;t.exports=function(t){var n=e.call(t),r="[object Arguments]"===n;return r||(r="[object Array]"!==n&&null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Function]"===e.call(t.callee)),r}},1189:function(t,e,n){"use strict";var r=Array.prototype.slice,o=n(1093),i=Object.keys,s=i?function(t){return i(t)}:n(8875),a=Object.keys;s.shim=function(){if(Object.keys){var t=function(){var t=Object.keys(arguments);return t&&t.length===arguments.length}(1,2);t||(Object.keys=function(t){return o(t)?a(r.call(t)):a(t)})}else Object.keys=s;return Object.keys||s},t.exports=s},1237:function(t){"use strict";t.exports=EvalError},1247:function(t,e,n){"use strict";function r(t){return t instanceof SVGElement&&"svg"!==t.tagName}n.d(e,{x:function(){return r}})},1333:function(t){"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),n=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(var r in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var o=Object.getOwnPropertySymbols(t);if(1!==o.length||o[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(t,e);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},1339:function(t,e,n){"use strict";n.d(e,{F:function(){return o}});const r=(t,e)=>n=>e(t(n)),o=(...t)=>t.reduce(r)},1479:function(t,e,n){"use strict";n.d(e,{b:function(){return s}});var r=n(4373),o=n(3473),i=n(9896);class s extends r.B{constructor(){super(...arguments),this.KeyframeResolver=o.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:n}){delete e[t],delete n[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;(0,i.S)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}},1514:function(t){"use strict";
1t.exports=Math.abs},1533:function(t,e,n){"use strict";n.d(e,{l:function(){return r}});const r=t=>t},1619:function(t,e,n){"use strict";n.d(e,{D:function(){return s}});var r=n(7739),o=n(6044);const i={...n(5309).W,color:r.y,backgroundColor:r.y,outlineColor:r.y,fill:r.y,stroke:r.y,borderColor:r.y,borderTopColor:r.y,borderRightColor:r.y,borderBottomColor:r.y,borderLeftColor:r.y,filter:o.p,WebkitFilter:o.p},s=t=>i[t]},1630:function(t,e,n){"use strict";function r(t){return void 0===t||1===t}function o({scale:t,scaleX:e,scaleY:n}){return!r(t)||!r(e)||!r(n)}function i(t){return o(t)||s(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function s(t){return a(t.x)||a(t.y)}function a(t){return t&&"0%"!==t}n.d(e,{HD:function(){return i},vF:function(){return s},vk:function(){return o}})},1712:function(t,e,n){"use strict";n.d(e,{p:function(){return r}});const r=t=>Array.isArray(t)},1800:function(t){var e=/\s/;t.exports=function(t){for(var n=t.length;n--&&e.test(t.charAt(n)););return n}},1873:function(t,e,n){var r=n(9325).Symbol;t.exports=r},1899:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(971);function o(t){const e=[0];return(0,r.f)(e,t.length-1),e}},1912:function(t,e,n){"use strict";n.d(e,{T:function(){return s},n:function(){return a}});var r=n(2944),o=n(5269),i=n(1969);const s=[r.ai,o.px,o.KN,o.uj,o.vw,o.vh,{test:t=>"auto"===t,parse:t=>t}],a=t=>s.find((0,i.w)(t))},1969:function(t,e,n){"use strict";n.d(e,{w:function(){return r}});const r=t=>e=>e.test(t)},2027:function(t,e,n){"use strict";n.d(e,{V:function(){return a}});var r=n(2944),o=n(5269),i=n(6046),s=n(3259);const a={test:(0,s.$)("hsl","hue"),parse:(0,s.q)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:s=1})=>"hsla("+Math.round(t)+", "+o.KN.transform((0,i.a)(e))+", "+o.KN.transform((0,i.a)(n))+", "+(0,i.a)(r.X4.transform(s))+")"}},2159:function(t,e,n){"use strict";n.d(e,{l:function(){return d}});var r=n(4106),o=n(1479),i=n(8062),s=n(1619),a=n(2443),l=n(3163),u=n(4692),c=n(6793),h=n(7415),p=n(2777);class d extends o.b{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=r.ge}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(a.f.has(e)){const t=(0,s.D)(e);return t&&t.default||0}return e=u.e.has(e)?e:(0,i.I)(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,n){return(0,p.x)(t,e,n)}
1build(t,e,n){(0,l.B)(t,e,this.isSVGTag,n.transformTemplate)}renderInstance(t,e,n,r){(0,h.d)(t,e,n,r)}mount(t){this.isSVGTag=(0,c.n)(t.tagName),super.mount(t)}}},2205:function(t,e,n){"use strict";var r=n(6743),o=n(1002),i=n(3144);t.exports=function(){return i(r,o,arguments)}},2358:function(t,e,n){"use strict";function r(t,e){-1===t.indexOf(e)&&t.push(e)}function o(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}n.d(e,{Ai:function(){return o},Kq:function(){return r}})},2360:function(t,e,n){"use strict";n.d(e,{b:function(){return o}});const r={activeLocale:null,paths:[]},o=n(6540).createContext(r)},2392:function(t,e,n){"use strict";n.d(e,{n:function(){return r}});const r="data-"+(0,n(8062).I)("framerAppearId")},2422:function(t,e,n){"use strict";var r=n(655),o=n(8068),i=n(9675),s=n(5795);t.exports=function(t,e,n){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new i("`obj` must be an object or a function`");if("string"!=typeof e&&"symbol"!=typeof e)throw new i("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new i("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new i("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new i("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new i("`loose`, if provided, must be a boolean");var a=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,c=arguments.length>6&&arguments[6],h=!!s&&s(t,e);if(r)r(t,e,{configurable:null===u&&h?h.configurable:!u,enumerable:null===a&&h?h.enumerable:!a,value:n,writable:null===l&&h?h.writable:!l});else{if(!c&&(a||l||u))throw new o("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");t[e]=n}}},2443:function(t,e,n){"use strict";n.d(e,{U:function(){return r},f:function(){return o}});const r=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],o=new Set(r)},2464:function(t,e,n){"use strict";n.d(e,{q:function(){return r}});const r=(t,e,n)=>n>e?e:n<t?t:n},2537:function(t,e,n){"use strict";n.d(e,{l:function(){return s}});var r=n(6540),o=n(4789),i=n(8053);const s=(t={})=>{const e=(0,o.FL)(),{defaultIndex:n=0}=t,s=e.theme&&e.theme.breakpoints||i.KL;if("number"!=typeof n)throw new TypeError(`Default breakpoint index should be a number. Got: ${n}, ${typeof n}`);if(n<0||n>s.length-1)throw new RangeError(`Default breakpoint index out of range. Theme has ${s.length} breakpoints, got index ${n}`);const[a,l]=(0,r.useState)(n);return(0,r.useEffect)(()=>{const t=()=>{const t=s.filter(t=>{const e=t.includes("@media")?t.replace("@media ",""):`screen and (min-width: ${t})`;return window.matchMedia(e).matches}).length;a!==t&&l(t)};return t(),window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)},[s,a]),a}},2552:function(t,e,n){var r=n(1873),o=n(659),i=n(9350),s=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":s&&s in Object(t)?o(t):i(t)}},2606:function(t,e,n){"use strict";n.d(e,{v:function(){return o}});var r=n(2358);class o{constructor(){this.subscriptions=[]}add(t){return(0,r.Kq)(this.subscriptions,t),()=>(0,r.Ai)(this.subscriptions,t)}notify(t,e,n){const r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](t,e,n);else for(let o=0;o<r;o++){const r=this.subscriptions[o];r&&r(t,e,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},2777:function(t,e,n){"use strict";n.d(e,{x:function(){return s}});var r=n(9896),o=n(2443),i=n(4494);function s(t,e,n){const s=(0,i.x)(t,e,n);for(const i in t)if((0,r.S)(t[i])||(0,r.S)(e[i])){s[-1!==o.U.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]}return s}},2879:function(t,e,n){"use strict";n.d(e,{AH:function(){return c},Ez:function(){return h},Hy:function(){return i},_4:function(){return s},p0:function(){return a},pt:function(){return l},yW:function(){return u}});const r="it",o={it:{category:"categoria",search:"cerca",products:"progetti"},en:{category:"category",search:"search",products:"projects"},"en-US":{category:"category",search:"search",products:"projects"}};function i(t,e){if(!t)return"/";const n=e||t.locale;let o=n===r?"/":`/${n.toLowerCase()}/`,i=`${t._allSlugLocales.find(t=>t.locale===n).value}`;return t.root?o+`${i}/`:(i=`${t.treeParent._allSlugLocales.find(t=>t.locale===n).value}/${i}`,t.treeParent.root||(i=`${t.treeParent.treeParent._allSlugLocales.find(t=>t.locale===n).value}${i}`),o+`${i}/`)}function s(t,e){console.log(t);let n=e===r?"/":`/${e.toLowerCase()}/`,i=`${t._allSlugLocales.find(t=>t.locale===e).value}`;return n+`${o[e].products.toLowerCase()}/${i}/`}function a(t,e){let n=e===r?"/":`/${e.toLowerCase()}/`,i=`${t.slug}`;return n+`${o[e].products.toLowerCase()}/${i}/`}function l(t){return console.log(t),t===r?"/":`/${t.toLowerCase()}/`}function u(t){return t===r?"/blog/":`/${t.toLowerCase()}/blog/`}function c(t,e){return t&&t.slug?e===r?`/blog/${t.slug}`:`/${e.toLowerCase()}/blog/${t.slug}/`:"/blog/"}function h(t,e){return e===r?`/blog/${o[e].category}/${t._allSlugLocales.find(t=>t.locale===e).value}/`:`/${e.toLowerCase()}/blog/${o[e].category}/${t._allSlugLocales.find(t=>t.locale===e).value}/`}},2927:function(t,e,n){"use strict";function r(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var r,o,i=[],s=!0,a=!1;try{for(n=n.call(t);!(s=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);s=!0);}catch(l){a=!0,o=l}finally{try{s||null==n.return||n.return()}finally{if(a)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(t,e)}
1(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function i(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}var s=n(6540),a=n(8154).Helmet,l=n(3932),u=n(8828);t.exports={HelmetDatoCms:function(t){var e=t.seo,n=t.favicon,o=t.children,c=i(t,["seo","favicon","children"]);return s.createElement(a,c,(e?e.tags:[]).concat(n?n.tags:[]).map(function(t,e){return s.createElement(t.tagName,u({key:"helmet-datocms-".concat(e)},l(t.attributes||{}).reduce(function(t,e){var n=r(e,2),o=n[0],i=n[1];return i&&(t[o]=i),t},{})),t.content)}).concat(o))}}},2944:function(t,e,n){"use strict";n.d(e,{X4:function(){return i},ai:function(){return o},hs:function(){return s}});var r=n(2464);const o={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},i={...o,transform:t=>(0,r.q)(0,1,t)},s={...o,default:1}},2946:function(t,e,n){"use strict";n.d(e,{G:function(){return r}});const r=t=>e=>1-t(1-e)},2956:function(t,e,n){"use strict";n.d(e,{z:function(){return s}});var r=n(4785),o=n(9896),i=n(8987);function s(t,e,n){const s=(0,o.S)(t)?t:(0,r.OQ)(t);return s.start((0,i.f)("",s,e,n)),s.animation}},3041:function(t,e,n){"use strict";n.d(e,{V:function(){return r}});const r=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},3093:function(t,e,n){"use strict";var r=n(4459);t.exports=function(t){return r(t)||0===t?t:t<0?-1:1}},3126:function(t,e,n){"use strict";var r=n(6743),o=n(9675),i=n(76),s=n(3144);t.exports=function(t){if(t.length<1||"function"!=typeof t[0])throw new o("a function is required");return s(r,i,t)}},3141:function(t,e,n){"use strict";function r(t){const e=[{},{}];return null==t||t.values.forEach((t,n)=>{e[0][n]=t.get(),e[1][n]=t.getVelocity()}),e}function o(t,e,n,o){if("function"==typeof e){const[i,s]=r(o);e=e(void 0!==n?n:t.custom,i,s)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){const[i,s]=r(o);e=e(void 0!==n?n:t.custom,i,s)}return e}n.d(e,{a:function(){return o}})},3144:function(t,e,n){"use strict";var r=n(6743),o=n(1002),i=n(76),s=n(7119);t.exports=s||r.call(i,o)},3163:function(t,e,n){"use strict";n.d(e,{B:function(){return l}});var r=n(9298),o=n(5269);const i={offset:"stroke-dashoffset",array:"stroke-dasharray"},s={offset:"strokeDashoffset",array:"strokeDasharray"};function a(t,e,n){return"string"==typeof t?t:o.px.transform(e+n*t)}function l(t,{attrX:e,attrY:n,attrScale:l,originX:u,originY:c,pathLength:h,pathSpacing:p=1,pathOffset:d=0,...f},m,y){if((0,r.O)(t,f,y),m)return void(t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox));t.attrs=t.style,t.style={};const{attrs:g,style:v,dimensions:x}=t;g.transform&&(x&&(v.transform=g.transform),delete g.transform),x&&(void 0!==u||void 0!==c||v.transform)&&(v.transformOrigin=function(t,e,n){return`${a(e,t.x,t.width)} ${a(n,t.y,t.height)}`}(x,void 0!==u?u:.5,void 0!==c?c:.5)),void 0!==e&&(g.x=e),void 0!==n&&(g.y=n),void 0!==l&&(g.scale=l),void 0!==h&&function(t,e,n=1,r=0,a=!0){t.pathLength=1;const l=a?i:s;t[l.offset]=o.px.transform(-r);const u=o.px.transform(e),c=o.px.transform(n);t[l.array]=`${u} ${c}`}(g,h,p,d,!1)}},3259:function(t,e,n){"use strict";n.d(e,{$:function(){return i},q:function(){return s}});var r=n(849);const o=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,i=(t,e)=>n=>Boolean("string"==typeof n&&o.test(n)&&n.startsWith(t)||e&&!function(t){return null==t}(n)&&Object.prototype.hasOwnProperty.call(n,e)),s=(t,e,n)=>o=>{if("string"!=typeof o)return o;const[i,s,a,l]=o.match(r.S);return{[t]:parseFloat(i),[e]:parseFloat(s),[n]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}},3344:function(t,e,n){"use strict";n.d(e,{M:function(){return h}});var r=n(4805),o=n(1479),i=n(568),s=n(1619),a=n(9298),l=n(2443),u=n(9836),c=n(4494);class h extends o.b{constructor(){super(...arguments),this.type="html",this.renderInstance=u.e}readValueFromInstance(t,e){if(l.f.has(e)){const t=(0,s.D)(e);return t&&t.default||0}{const r=(n=t,window.getComputedStyle(n)),o=((0,i.j)(e)?r.getPropertyValue(e):r[e])||0;return"string"==typeof o?o.trim():o}var n}measureInstanceViewportBox(t,{transformPagePoint:e}){return(0,r.m)(t,e)}build(t,e,n){(0,a.O)(t,e,n.transformTemplate)}scrapeMotionValuesFromProps(t,e,n){return(0,c.x)(t,e,n)}}},3379:function(t,e,n){"use strict";n.d(e,{C:function(){return r}});const r=new WeakMap},3420:function(t,e,n){"use strict";n.d(e,{E4:function(){return s},Hr:function(){return p},W9:function(){return h}});var r=n(2944),o=n(5269),i=n(2443);const s=t=>t===r.ai||t===o.px,a=(t,e)=>parseFloat(t.split(", ")[e]),l=(t,e)=>(n,{transform:r})=>{if("none"===r||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/u);if(o)return a(o[1],e);{const e=r.match(/^matrix\((.+)\)$/u);return e?a(e[1],t):0}},u=new Set(["x","y","z"]),c=i.U.filter(t=>!u.has(t));function h(t){const e=[];
1return c.forEach(n=>{const r=t.getValue(n);void 0!==r&&(e.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),e}const p={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),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:l(4,13),y:l(5,14)};p.translateX=p.x,p.translateY=p.y},3445:function(t,e,n){"use strict";var r=n(3488);t.exports=function(){return"function"==typeof Object.entries?Object.entries:r}},3473:function(t,e,n){"use strict";n.d(e,{K:function(){return g}});var r=n(7312);function o(t){return"number"==typeof t?0===t:null===t||("none"===t||"0"===t||(0,r.$)(t))}var i=n(5972),s=n(4552),a=n(5320);const l=new Set(["auto","none","0"]);var u=n(4835),c=n(8104),h=n(9652),p=n(568);const d=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function f(t,e,n=1){(0,c.V)(n<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);const[r,o]=function(t){const e=d.exec(t);if(!e)return[,];const[,n,r,o]=e;return[`--${null!=n?n:r}`,o]}(t);if(!r)return;const i=window.getComputedStyle(e).getPropertyValue(r);if(i){const t=i.trim();return(0,h.i)(t)?parseFloat(t):t}return(0,p.p)(o)?f(o,e,n+1):o}var m=n(3420),y=n(1912);class g extends u.h{constructor(t,e,n,r,o){super(t,e,n,r,o,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:e,name:n}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let n=t[i];if("string"==typeof n&&(n=n.trim(),(0,p.p)(n))){const r=f(n,e.current);void 0!==r&&(t[i]=r),i===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!i.$.has(n)||2!==t.length)return;const[r,o]=t,s=(0,y.n)(r),a=(0,y.n)(o);if(s!==a)if((0,m.E4)(s)&&(0,m.E4)(a))for(let i=0;i<t.length;i++){const e=t[i];"string"==typeof e&&(t[i]=parseFloat(e))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:e}=this,n=[];for(let r=0;r<t.length;r++)o(t[r])&&n.push(r);n.length&&function(t,e,n){let r,o=0;for(;o<t.length&&!r;){const e=t[o];"string"==typeof e&&!l.has(e)&&(0,s.V)(e).values.length&&(r=t[o]),o++}if(r&&n)for(const i of e)t[i]=(0,a.J)(n,r)}(t,n,e)}measureInitialState(){const{element:t,unresolvedKeyframes:e,name:n}=this;if(!t||!t.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=m.Hr[n](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;const r=e[e.length-1];void 0!==r&&t.getValue(n,r).jump(r,!1)}measureEndState(){var t;const{element:e,name:n,unresolvedKeyframes:r}=this;if(!e||!e.current)return;const o=e.getValue(n);o&&o.jump(this.measuredOrigin,!1);const i=r.length-1,s=r[i];r[i]=m.Hr[n](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),(null===(t=this.removedTransforms)||void 0===t?void 0:t.length)&&this.removedTransforms.forEac
1h(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}}},3488:function(t,e,n){"use strict";var r=n(5388),o=n(6556),i=o("Object.prototype.propertyIsEnumerable"),s=o("Array.prototype.push");t.exports=function(t){var e=r(t),n=[];for(var o in e)i(e,o)&&s(n,[o,e[o]]);return n}},3628:function(t,e,n){"use strict";var r=n(8648),o=n(1064),i=n(7176);t.exports=r?function(t){return r(t)}:o?function(t){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("getProto: not an object");return o(t)}:i?function(t){return i(t)}:null},3735:function(t,e,n){"use strict";n.d(e,{B:function(){return l}});var r=n(2464),o=n(2944),i=n(6046),s=n(3259);const a={...o.ai,transform:t=>Math.round((t=>(0,r.q)(0,255,t))(t))},l={test:(0,s.$)("rgb","red"),parse:(0,s.q)("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:r=1})=>"rgba("+a.transform(t)+", "+a.transform(e)+", "+a.transform(n)+", "+(0,i.a)(o.X4.transform(r))+")"}},3771:function(t,e,n){"use strict";n.d(e,{a6:function(){return o},am:function(){return s},vT:function(){return i}});var r=n(4043);const o=(0,r.A)(.42,0,1,1),i=(0,r.A)(0,0,.58,1),s=(0,r.A)(.42,0,.58,1)},3805:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},3932:function(t,e,n){"use strict";var r=n(8452),o=n(487),i=n(3488),s=n(3445),a=n(7891),l=o(s(),Object);r(l,{getPolyfill:s,implementation:i,shim:a}),t.exports=l},3996:function(t,e,n){"use strict";n.d(e,{B:function(){return o}});const r={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"]},o={};for(const i in r)o[i]={isEnabled:t=>r[i].some(e=>!!t[e])}},4029:function(t,e,n){"use strict";n.d(e,{M:function(){return s}});var r=n(6540),o=n(2879),i=n(6673);const s=t=>{const e=t.item;if(e){if(e.link){const n=t.locale?t.locale:e.locale;switch(console.log(n),e.link.model.apiKey){case"product_category":return r.createElement(i.C,Object.assign({to:(0,o._4)(e.link,n)},t),e.anchor);case"product":return r.createElement(i.C,Object.assign({to:(0,o.p0)(e.link,n)},t),e.anchor);case"page":const s=(0,o.Hy)(e.link,n);return s?r.createElement(i.C,Object.assign({to:s},t),e.anchor):null;case"blog_page":return console.log(n),r.createElement(i.C,{to:(0,o.yW)(n),variant:t.variant,sx:t.sx},e.anchor);case"article":return r.createElement(i.C,{to:(0,o.AH)(e.link,n),as:t.as,variant:t.variant,sx:t.sx},e.anchor);case"article_category":return r.createElement(i.C,{to:(0,o.Ez)(e.link,n),as:t.as,variant:t.variant,sx:t.sx},e.anchor);default:return null}}return r.createElement(i.r,Object.assign({href:e.url},t),e.anchor)}return r.createElement(i.r,Object.assign({href:""},t))}},4039:function(t,e,n){"use strict";var r="undefined"!=typeof Symbol&&Symbol,o=n(1333);t.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&o())))}},4043:function(t,e,n){"use strict";n.d(e,{A:function(){return a}});var r=n(1533);const o=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,i=1e-7,s=12;function a(t,e,n,a){if(t===e&&n===a)return r.l;const l=e=>function(t,e,n,r,a){let l,u,c=0;do{u=e+(n-e)/2,l=o(u,r,a)-t,l>0?n=u:e=u}while(Math.abs(l)>i&&++c<s);return u}(e,0,1,t,n);return t=>0===t||1===t?t:o(l(t),e,a)}},4106:function(t,e,n){"use strict";n.d(e,{ge:function(){return o},xU:function(){return r}});const r=()=>({x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}),o=()=>({x:{min:0,max:0},y:{min:0,max:0}})},4128:function(t,e,n){var r=n(1800),o=/^\s+/;t.exports=function(t){return t?t.slice(0,r(t)+1).replace(o,""):t}},4373:function(t,e,n){"use strict";n.d(e,{B:function(){return k}});var r=n(4582),o=n(3996),i=n(4106),s=n(9652),a=n(7312),l=n(8288);const u={current:null},c={current:!1};var h=n(2606),p=n(4785),d=n(4552),f=n(9896),m=n(5320),y=n(7739),g=n(1912),v=n(1969);const x=[...g.T,y.y,d.f];var b=n(2443),w=n(3379),S=n(837),P=n(4835);var E=n(3141),A=n(104);const T=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class k{scrapeMotionValuesFromProps(t,e,n){return{}}constructor({parent:t,props:e,presenceContext:n,reducedMotionConfig:o,blockInitialAnimation:i,visualState:s},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=P.h,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.renderScheduledAt=0,this.scheduleRender=()=>{const t=r.k.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,A.Gt.render(this.render,!1,!0))};const{latestValues:l,renderState:u,onUpdate:c}=s;this.onUpdate=c,this.latestValues=l,this.baseTarget={...l},this.initialValues=e.initial?{...l}:{},this.renderState=u,this.parent=t,this.props=e,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=a,this.blockInitialAnimation=Boolean(i),this.isControllingVariants=(0,S.e)(e),this.isVariantNode=(0,S.O)(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(t&&t.current);const{willChange:h,...p}=this.scrapeMotionValuesFromProps(e,{},this);for(const r in p){const t=p[r];void 0!==l[r]&&(0,f.S)(t)&&t.set(l[r],!1)}}mount(t){this.current=t,w.C.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.forEac
1h((t,e)=>this.bindToMotionValue(e,t)),c.current||function(){if(c.current=!0,l.B)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>u.current=t.matches;t.addListener(e),e()}else u.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||u.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){w.C.delete(this.current),this.projection&&this.projection.unmount(),(0,A.WG)(this.notifyUpdate),(0,A.WG)(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}bindToMotionValue(t,e){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const n=b.f.has(t),r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&A.Gt.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),o=e.on("renderRequest",this.scheduleRender);let i;window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{r(),o(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in o.B){const e=o.B[t];if(!e)continue;const{isEnabled:n,Feature:r}=e;if(!this.features[t]&&r&&n(this.props)&&(this.features[t]=new r(this)),this.features[t]){const e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,i.ge)()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[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 n=0;n<T.length;n++){const e=T[n];this.propEventSubscriptions[e]&&(this.propEventSubscriptions[e](),delete this.propEventSubscriptions[e]);const r=t["on"+e];r&&(this.propEventSubscriptions[e]=this.on(e,r))}this.prevMotionValues=function(t,e,n){for(const r in e){const o=e[r],i=n[r];if((0,f.S)(o))t.addValue(r,o);else if((0,f.S)(i))t.addValue(r,(0,p.OQ)(o,{owner:t}));else if(i!==o)if(t.hasValue(r)){const e=t.getValue(r);!0===e.liveStyle?e.jump(o):e.hasAnimated||e.set(o)}else{const e=t.getStaticValue(r);t.addValue(r,(0,p.OQ)(void 0!==e?e:o,{owner:t}))}}for(const r in n)void 0===e[r]&&t.removeValue(r);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}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}addVariantChild(t){const e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){const n=this.values.get(t);e!==n&&(n&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);const 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 n=this.values.get(t);return void 0===n&&void 0!==e&&(n=(0,p.OQ)(null===e?void 0:e,{owner:this}),this.addValue(t,n)),n}readValue(t,e){var n;let r=void 0===this.latestValues[t]&&this.current?null!==(n=this.getBaseTargetFromProps(this.props,t))&&void 0!==n?n:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];var o;return null!=r&&("string"==typeof r&&((0,s.i)(r)||(0,a.$)(r))?r=parseFloat(r):(o=r,!x.find((0,v.w)(o))&&d.f.test(e)&&(r=(0,m.J)(t,e))),this.setBaseTarget(t,(0,f.S)(r)?r.get():r)),(0,f.S)(r)?r.get():r}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;const{initial:n}=this.props;let r;if("string"==typeof n||"object"==typeof n){const o=(0,E.a)(this.props,n,null===(e=this.presenceContext)||void 0===e?void 0:e.custom);o&&(r=o[t])}if(n&&void 0!==r)return r;const o=this.getBaseTargetFromProps(this.props,t);return void 0===o||(0,f.S)(o)?void 0!==this.initialValues[t]&&void 0===r?void 0:this.baseTarget[t]:o}on(t,e){return this.events[t]||(this.events[t]=new h.v),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}},4394:function(t,e,n){var r=n(2552),o=n(346);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==r(t)}},4435:function(t,e,n){"use strict";function r(t){let e;return()=>(void 0===e&&(e=t()),e)}n.d(e,{p:function(){return r}})},4458:function(t,e,n){"use strict";n.d(e,{P:function(){return o}});var r=n(2392);function o(t){return t.props[r.n]}},4459:function(t){"use strict";
1t.exports=Number.isNaN||function(t){return t!=t}},4494:function(t,e,n){"use strict";n.d(e,{x:function(){return i}});var r=n(7549),o=n(9896);function i(t,e,n){var i;const{style:s}=t,a={};for(const l in s)((0,o.S)(s[l])||e.style&&(0,o.S)(e.style[l])||(0,r.z)(l,t)||void 0!==(null===(i=null==n?void 0:n.getValue(l))||void 0===i?void 0:i.liveStyle))&&(a[l]=s[l]);return a}},4552:function(t,e,n){"use strict";n.d(e,{V:function(){return d},f:function(){return g}});var r=n(7739);const o=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var i=n(849),s=n(6046);const a="number",l="color",u="var",c="var(",h="${}",p=/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 d(t){const e=t.toString(),n=[],o={color:[],number:[],var:[]},i=[];let s=0;const d=e.replace(p,t=>(r.y.test(t)?(o.color.push(s),i.push(l),n.push(r.y.parse(t))):t.startsWith(c)?(o.var.push(s),i.push(u),n.push(t)):(o.number.push(s),i.push(a),n.push(parseFloat(t))),++s,h)).split(h);return{values:n,split:d,indexes:o,types:i}}function f(t){return d(t).values}function m(t){const{split:e,types:n}=d(t),o=e.length;return t=>{let i="";for(let u=0;u<o;u++)if(i+=e[u],void 0!==t[u]){const e=n[u];i+=e===a?(0,s.a)(t[u]):e===l?r.y.transform(t[u]):t[u]}return i}}const y=t=>"number"==typeof t?0:t;const g={test:function(t){var e,n;return isNaN(t)&&"string"==typeof t&&((null===(e=t.match(i.S))||void 0===e?void 0:e.length)||0)+((null===(n=t.match(o))||void 0===n?void 0:n.length)||0)>0},parse:f,createTransformer:m,getAnimatableNone:function(t){const e=f(t);return m(t)(e.map(y))}}},4582:function(t,e,n){"use strict";n.d(e,{k:function(){return a}});var r=n(4668),o=n(104);let i;function s(){i=void 0}const a={now:()=>(void 0===i&&a.set(o.uv.isProcessing||r.W.useManualTiming?o.uv.timestamp:performance.now()),i),set:t=>{i=t,queueMicrotask(s)}}},4668:function(t,e,n){"use strict";n.d(e,{W:function(){return r}});const r={skipAnimations:!1,useManualTiming:!1}},4692:function(t,e,n){"use strict";n.d(e,{e:function(){return r}});const r=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"])},4737:function(t,e,n){"use strict";n.d(e,{K:function(){return o}});var r=n(3141);function o(t,e,n){const o=t.getProps();return(0,r.a)(o,e,void 0!==n?n:o.custom,t)}},4768:function(t,e,n){"use strict";n.d(e,{Sz:function(){return s},ZZ:function(){return l},dg:function(){return a}});var r=n(4043),o=n(3041),i=n(2946);const s=(0,r.A)(.33,1.53,.69,.99),a=(0,i.G)(s),l=(0,o.V)(a)},4785:function(t,e,n){"use strict";n.d(e,{OQ:function(){return u}});var r=n(4582),o=n(2606),i=n(7177),s=n(104);const a={current:void 0};class l{constructor(t,e={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(t,e=!0)=>{const n=r.k.now();this.updatedAt!==n&&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.owner=e.owner}setCurrent(t){var e;this.current=t,this.updatedAt=r.k.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=(e=this.current,!isNaN(parseFloat(e))))}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 o.v);const n=this.events[t].add(e);return"change"===t?()=>{n(),s.Gt.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const 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,n){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-n}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return a.current&&a.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=r.k.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;const e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,i.f)(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 u(t,e){return new l(t,e)}},4805:function(t,e,n){"use strict";n.d(e,{L:function(){return s},m:function(){return i}});var r=n(8448),o=n(5673);function i(t,e){return(0,r.FY)((0,r.bS)(t.getBoundingClientRect(),e))}function s(t,e,n){const r=i(t,n),{scroll:s}=e;return s&&((0,o.Ql)(r.x,s.offset.x),(0,o.Ql)(r.y,s.offset.y)),r}},4835:function(t,e,n){"use strict";n.d(e,{h:function(){return h},q:function(){return c}});var r=n(3420),o=n(104);const i=new Set;let s=!1,a=!1;function l(){if(a){const t=Array.from(i).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),n=new Map;e.forEach(t=>{const e=(0,r.W9)(t);e.length&&(n.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();const e=n.get(t);e&&e.forEach(([e,n])=>{var r;null===(r=t.getValue(e))||void 0===r||r.set(n)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}
1a=!1,s=!1,i.forEach(t=>t.complete()),i.clear()}function u(){i.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(a=!0)})}function c(){u(),l()}class h{constructor(t,e,n,r,o,i=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=n,this.motionValue=r,this.element=o,this.isAsync=i}scheduleResolve(){this.isScheduled=!0,this.isAsync?(i.add(this),s||(s=!0,o.Gt.read(u),o.Gt.resolveKeyframes(l))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:e,element:n,motionValue:r}=this;for(let o=0;o<t.length;o++)if(null===t[o])if(0===o){const o=null==r?void 0:r.get(),i=t[t.length-1];if(void 0!==o)t[0]=o;else if(n&&e){const r=n.readValue(e,i);null!=r&&(t[0]=r)}void 0===t[0]&&(t[0]=i),r&&void 0===o&&r.set(t[0])}else t[o]=t[o-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),i.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,i.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}},4840:function(t,e,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;t.exports=r},4868:function(t,e,n){"use strict";n.d(e,{po:function(){return i},tn:function(){return a},yT:function(){return s}});var r=n(3041),o=n(2946);const i=t=>1-Math.sin(Math.acos(t)),s=(0,o.G)(i),a=(0,r.V)(i)},4942:function(t,e,n){"use strict";n.d(e,{P6:function(){return s},vG:function(){return d},tu:function(){return u},XG:function(){return h},KZ:function(){return x},rU:function(){return a},PT:function(){return M},DW:function(){return f},WH:function(){return p},Mc:function(){return j},yL:function(){return b},TU:function(){return P},YE:function(){return l},c$:function(){return B},KJ:function(){return T},Wp:function(){return U},nL:function(){return g}});var r=n(4435);const o=(0,r.p)(()=>void 0!==window.ScrollTimeline);class i{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,e){for(let n=0;n<this.animations.length;n++)this.animations[n][t]=e}attachTimeline(t,e){const n=this.animations.map(n=>o()&&n.attachTimeline?n.attachTimeline(t):"function"==typeof e?e(n):void 0);return()=>{n.forEach((t,e)=>{t&&t(),this.animations[e].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let e=0;e<this.animations.length;e++)t=Math.max(t,this.animations[e].duration);return t}runAll(t){this.animations.forEach(e=>e[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class s extends i{then(t,e){return Promise.all(this.animations).then(t).catch(e)}}function a(t,e){return t?t[e]||t.default||t:void 0}const l=2e4;function u(t){let e=0;let n=t.next(e);for(;!n.done&&e<l;)e+=50,n=t.next(e);return e>=l?1/0:e}var c=n(7331);function h(t,e=100,n){const r=n({...t,keyframes:[0,e]}),o=Math.min(u(r),l);return{type:"keyframes",ease:t=>r.next(o*t).value/e,duration:(0,c.X)(o)}}function p(t){return"function"==typeof t}function d(t,e){t.timeline=e,t.onfinish=null}const f=t=>Array.isArray(t)&&"number"==typeof t[0],m={linearEasing:void 0};function y(t,e){const n=(0,r.p)(t);return()=>{var t;return null!==(t=m[e])&&void 0!==t?t:n()}}const g=y(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing");var v=n(6896);const x=(t,e,n=10)=>{let r="";const o=Math.max(Math.round(e/n),2);for(let i=0;i<o;i++)r+=t((0,v.q)(0,o-1,i))+", ";return`linear(${r.substring(0,r.length-2)})`};function b(t){return Boolean("function"==typeof t&&g()||!t||"string"==typeof t&&(t in S||g())||f(t)||Array.isArray(t)&&t.every(b))}const w=([t,e,n,r])=>`cubic-bezier(${t}, ${e}, ${n}, ${r})`,S={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:w([0,.65,.55,1]),circOut:w([.55,0,1,.45]),backIn:w([.31,.01,.66,-.59]),backOut:w([.33,1.53,.69,.99])};function P(t,e){return t?"function"==typeof t&&g()?x(t,e):f(t)?w(t):Array.isArray(t)?t.map(t=>P(t,e)||S.easeOut):S[t]:void 0}const E={x:!1,y:!1};function A(){return E.x||E.y}function T(t,e,n){var r;if(t instanceof Element)return[t];if("string"==typeof t){let o=document;e&&(o=e.current);const i=null!==(r=null==n?void 0:n[t])&&void 0!==r?r:o.querySelectorAll(t);return i?Array.from(i):[]}return Array.from(t)}function k(t,e){const n=T(t),r=new AbortController;return[n,{passive:!0,...e,signal:r.signal},()=>r.abort()]}function C(t){return e=>{"touch"===e.pointerType||A()||t(e)}}function M(t,e,n={}){const[r,o,i]=k(t,n),s=C(t=>{const{target:n}=t,r=e(t);if("function"!=typeof r||!n)return;const i=C(t=>{r(t),n.removeEventListener("pointerleave",i)});n.addEventListener("pointerleave",i,o)});return r.forEach(t=>{t.addEventListener("pointerenter",s,o)}),i}const D=(t,e)=>!!e&&(t===e||D(t,e.parentElement)),j=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary,V=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);const I=new WeakSet;function R(t){return e=>{"Enter"===e.key&&t(e)}}function O(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}const F=(t,e)=>{const n=t.currentTarget;if(!n)return;const r=R(()=>{if(I.has(n))return;O(n,"down");const t=R(()=>{O(n,"up")});n.addEventListener("keyup",t,e),n.addEventListener("blur",()=>O(n,"cancel"),e)});n.addEventListener("keydown",r,e),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),e)};function L(t){return j(t)&&!A()}function B(t,e,n={}){const[r,o,i]=k(t,n),s=t=>{const r=t.currentTarget;if(!L(t)||I.has(r))return;I.add(r);const i=e(t),s=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),L(t)&&I.has(r)&&(I.delete(r),"function"==typeof i&&i(t,{success:e}))},a=t=>{s(t,n.useGlobalTarget||D(r,t.target))},l=t=>{s(t,!1)};window.addEventListener("pointerup",a,o),window.addEventListener("pointercancel",l,o)};return r.forEach(t=>{(function(t){return V.has(t.tagName)||-1!==t.tabIndex})(t)||null!==t.getAttribute("tabindex")||(t.tabIndex=0);(n.useGlobalTarget?window:t).addEventListener("pointerdown",s,o),t.addEventListener("focus",t=>F(t,o),o)}),i}n(1533);function U(t){return"x"===t||"y"===t?E[t]?null:(E[t]=!0,()=>{E[t]=!1}):E.x||E.y?null:(E.x=E.y=!0,()=>{E.x=E.y=!1})}},5092:function(t,e,n){"use strict";n.d(e,{U:function(){return r},_:function(){return o}});const r=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],o=["initial",...r]},5252:function(t,e,n){"use strict";n.d(e,{u:function(){return o}});var r=n(3735);const o={test:(0,n(3259).$)("#"),parse:function(t){let e="",n="",r="",o="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),r=t.substring(5,7),o=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),r=t.substring(3,4),o=t.substring(4,5),e+=e,n+=n,r+=r,o+=o),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:r.B.transform}},5269:function(t,e,n){"use strict";n.d(e,{KN:function(){return i},gQ:function(){return u},px:function(){return s},uj:function(){return o},vh:function(){return a},vw:function(){return l}});const r=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),o=r("deg"),i=r("%"),s=r("px"),a=r("vh"),l=r("vw"),u={...i,parse:t=>i.parse(t)/100,transform:t=>i.transform(100*t)}},5309:function(t,e,n){"use strict";n.d(e,{W:function(){return l}});var r=n(2944),o=n(5269);const i={borderWidth:o.px,borderTopWidth:o.px,borderRightWidth:o.px,borderBottomWidth:o.px,borderLeftWidth:o.px,borderRadius:o.px,radius:o.px,borderTopLeftRadius:o.px,borderTopRightRadius:o.px,borderBottomRightRadius:o.px,borderBottomLeftRadius:o.px,width:o.px,maxWidth:o.px,height:o.px,maxHeight:o.px,top:o.px,right:o.px,bottom:o.px,left:o.px,padding:o.px,paddingTop:o.px,paddingRight:o.px,paddingBottom:o.px,paddingLeft:o.px,margin:o.px,marginTop:o.px,marginRight:o.px,marginBottom:o.px,marginLeft:o.px,backgroundPositionX:o.px,backgroundPositionY:o.px},s={rotate:o.uj,rotateX:o.uj,rotateY:o.uj,rotateZ:o.uj,scale:r.hs,scaleX:r.hs,scaleY:r.hs,scaleZ:r.hs,skew:o.uj,skewX:o.uj,skewY:o.uj,distance:o.px,translateX:o.px,translateY:o.px,translateZ:o.px,x:o.px,y:o.px,z:o.px,perspective:o.px,transformPerspective:o.px,opacity:r.X4,originX:o.gQ,originY:o.gQ,originZ:o.px},a={...r.ai,transform:Math.round},l={...i,...s,zIndex:a,size:o.px,fillOpacity:r.X4,strokeOpacity:r.X4,numOctaves:a}},5320:function(t,e,n){"use strict";n.d(e,{J:function(){return s}});var r=n(4552),o=n(6044),i=n(1619);function s(t,e){let n=(0,i.D)(t);return n!==o.p&&(n=r.f),n.getAnimatableNone?n.getAnimatableNone(e):void 0}},5345:function(t){"use strict";
1t.exports=URIError},5388:function(t,e,n){"use strict";var r=n(9675);t.exports=function(t){if(null==t)throw new r(arguments.length>0&&arguments[1]||"Cannot call method on "+t);return t}},5490:function(t,e,n){"use strict";function r(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}n.d(e,{N:function(){return r}})},5673:function(t,e,n){"use strict";n.d(e,{OU:function(){return h},Ql:function(){return p},Ww:function(){return f},hq:function(){return i},o4:function(){return l}});var r=n(9713),o=n(1630);function i(t,e,n){return n+e*(t-n)}function s(t,e,n,r,o){return void 0!==o&&(t=i(t,o,r)),i(t,n,r)+e}function a(t,e=0,n=1,r,o){t.min=s(t.min,e,n,r,o),t.max=s(t.max,e,n,r,o)}function l(t,{x:e,y:n}){a(t.x,e.translate,e.scale,e.originPoint),a(t.y,n.translate,n.scale,n.originPoint)}const u=.999999999999,c=1.0000000000001;function h(t,e,n,r=!1){const i=n.length;if(!i)return;let s,a;e.x=e.y=1;for(let u=0;u<i;u++){s=n[u],a=s.projectionDelta;const{visualElement:i}=s.options;i&&i.props.style&&"contents"===i.props.style.display||(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&f(t,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),a&&(e.x*=a.x.scale,e.y*=a.y.scale,l(t,a)),r&&(0,o.HD)(s.latestValues)&&f(t,s.latestValues))}e.x<c&&e.x>u&&(e.x=1),e.y<c&&e.y>u&&(e.y=1)}function p(t,e){t.min=t.min+e,t.max=t.max+e}function d(t,e,n,o,i=.5){a(t,e,n,(0,r.k)(t.min,t.max,i),o)}function f(t,e){d(t.x,e.x,e.scaleX,e.scale,e.originX),d(t.y,e.y,e.scaleY,e.scale,e.originY)}},5795:function(t,e,n){"use strict";var r=n(6549);if(r)try{r([],"length")}catch(o){r=null}t.exports=r},5880:function(t){"use strict";t.exports=Math.pow},5939:function(t,e,n){"use strict";n.d(e,{$:function(){return f}});var r=n(4942),o=n(5972),i=n(7365),s=n(4785),a=n(4737);function l(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,(0,s.OQ)(n))}var u=n(29),c=n(4458),h=n(8987),p=n(104);function d({protectedKeys:t,needsAnimating:e},n){const r=t.hasOwnProperty(n)&&!0!==e[n];return e[n]=!1,r}function f(t,e,{delay:n=0,transitionOverride:s,type:f}={}){var m;let{transition:y=t.getDefaultTransition(),transitionEnd:g,...v}=e;s&&(y=s);const x=[],b=f&&t.animationState&&t.animationState.getState()[f];for(const i in v){const e=t.getValue(i,null!==(m=t.latestValues[i])&&void 0!==m?m:null),s=v[i];if(void 0===s||b&&d(b,i))continue;const a={delay:n,...(0,r.rU)(y||{},i)};let l=!1;if(window.MotionHandoffAnimation){const e=(0,c.P)(t);if(e){const t=window.MotionHandoffAnimation(e,i,p.Gt);null!==t&&(a.startTime=t,l=!0)}}(0,u.g)(t,i),e.start((0,h.f)(i,e,s,t.shouldReduceMotion&&o.$.has(i)?{type:!1}:a,t,l));const f=e.animation;f&&x.push(f)}return g&&Promise.all(x).then(()=>{p.Gt.update(()=>{g&&function(t,e){const n=(0,a.K)(t,e);let{transitionEnd:r={},transition:o={},...s}=n||{};s={...s,...r};for(const a in s)l(t,a,(0,i.K)(s[a]))}(t,g)})}),x}},5972:function(t,e,n){"use strict";n.d(e,{$:function(){return o}});var r=n(2443);const o=new Set(["width","height","top","left","right","bottom",...r.U])},6044:function(t,e,n){"use strict";n.d(e,{p:function(){return l}});var r=n(4552),o=n(849);const i=new Set(["brightness","contrast","saturate","opacity"]);function s(t){const[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;const[r]=n.match(o.S)||[];if(!r)return t;const s=n.replace(r,"");let a=i.has(e)?1:0;return r!==n&&(a*=100),e+"("+a+s+")"}const a=/\b([a-z-]*)\(.*?\)/gu,l={...r.f,getAnimatableNone:t=>{const e=t.match(a);return e?e.map(s).join(" "):t}}},6046:function(t,e,n){"use strict";n.d(e,{a:function(){return r}});const r=t=>Math.round(1e5*t)/1e5},6188:function(t){"use strict";t.exports=Math.max},6549:function(t){"use strict";t.exports=Object.getOwnPropertyDescriptor},6551:function(t,e,n){"use strict";function r(t){return"string"==typeof t||Array.isArray(t)}n.d(e,{w:function(){return r}})},6556:function(t,e,n){"use strict";var r=n(453),o=n(3126),i=o([r("%String.prototype.indexOf%")]);t.exports=function(t,e){var n=r(t,!!e);return"function"==typeof n&&i(t,".prototype.")>-1?o([n]):n}},6631:function(t,e,n){"use strict";n.d(e,{o:function(){return y}});var r=n(4942),o=n(7331),i=n(2464),s=n(8426);const a={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};var l=n(8104);const u=.001;function c({duration:t=a.duration,bounce:e=a.bounce,velocity:n=a.velocity,mass:r=a.mass}){let s,c;(0,l.$)(t<=(0,o.f)(a.maxDuration),"Spring duration must be 10 seconds or less");let d=1-e;d=(0,i.q)(a.minDamping,a.maxDamping,d),t=(0,i.q)(a.minDuration,a.maxDuration,(0,o.X)(t)),d<1?(s=e=>{const r=e*d,o=r*t,i=r-n,s=p(e,d),a=Math.exp(-o);return u-i/s*a},c=e=>{const r=e*d*t,o=r*n+n,i=Math.pow(d,2)*Math.pow(e,2)*t,a=Math.exp(-r),l=p(Math.pow(e,2),d);return(-s(e)+u>0?-1:1)*((o-i)*a)/l}):(s=e=>Math.exp(-e*t)*((e-n)*t+1)-u,c=e=>Math.exp(-e*t)*(t*t*(n-e)));const f=function(t,e,n){let r=n;for(let o=1;o<h;o++)r-=t(r)/e(r);return r}(s,c,5/t);if(t=(0,o.f)(t),isNaN(f))return{stiffness:a.stiffness,damping:a.damping,duration:t};{const e=Math.pow(f,2)*r;return{stiffness:e,damping:2*d*Math.sqrt(r*e),duration:t}}}const h=12;function p(t,e){return t*Math.sqrt(1-e*e)}const d=["duration","bounce"],f=["stiffness","damping","mass"];function m(t,e){return e.some(e=>void 0!==t[e])}function y(t=a.visualDuration,e=a.bounce){const n="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:l,restDelta:u}=n;const h=n.keyframes[0],y=n.keyframes[n.keyframes.length-1],g={done:!1,value:h},{stiffness:v,damping:x,mass:b,duration:w,velocity:S,isResolvedFromDuration:P}=function(t){let e={velocity:a.velocity,stiffness:a.stiffness,damping:a.damping,mass:a.mass,isResolvedFromDuration:!1,...t};if(!m(t,f)&&m(t,d))if(t.visualDuration){const n=t.visualDuration,r=2*Math.PI/(1.2*n),o=r*r,s=2*(0,i.q)(.05,1,1-(t.bounce||0))*Math.sqrt(o);e={...e,mass:a.mass,stiffness:o,damping:s}}else{const n=c(t);e={...e,...n,mass:a.mass},e.isResolvedFromDuration=!0}return e}({...n,velocity:-(0,o.X)(n.velocity||0)}),E=S||0,A=x/(2*Math.sqrt(v*b)),T=y-h,k=(0,o.X)(Math.sqrt(v/b)),C=Math.abs(T)<5;let M;if(l||(l=C?a.restSpeed.granular:a.restSpeed.default),u||(u=C?a.restDelta.granular:a.restDelta.default),A<1){const t=p(k,A);M=e=>{const n=Math.exp(-A*k*e);return y-n*((E+A*k*T)/t*Math.sin(t*e)+T*Math.cos(t*e))}}else if(1===A)M=t=>y-Math.exp(-k*t)*(T+(E+k*T)*t);else{const t=k*Math.sqrt(A*A-1);M=e=>{const n=Math.exp(-A*k*e),r=Math.min(t*e,300);return y-n*((E+A*k*T)*Math.sinh(r)+t*T*Math.cosh(r))/t}}const D={calculatedDuration:P&&w||null,next:t=>{const e=M(t);if(P)g.done=t>=w;else{let n=0;A<1&&(n=0===t?(0,o.f)(E):(0,s.Y)(M,t,e));const r=Math.abs(n)<=l,i=Math.abs(y-e)<=u;g.done=r&&i}return g.value=g.done?y:e,g},toString:()=>{const t=Math.min((0,r.tu)(D),r.YE),e=(0,r.KZ)(e=>D.next(t*e).value,t,30);return t+"ms "+e}};return D}},6673:function(t,e,n){"use strict";n.d(e,{C:function(){return s},r:function(){return l}});var r=n(6540),o=n(4794),i=n(7667);const s=t=>r.createElement(i.N_,Object.assign({as:a},t)),a=t=>r.createElement(o.Link,Object.assign({},t,{activeClassName:"active"})),l=t=>r.createElement(i.N_,Object.assign({as:u},t)),u=t=>r.createElement(o.Link,Object.assign({target:"_blank"},t))},6743:function(t,e,n){"use strict";var r=n(9353);t.exports=Function.prototype.bind||r},6793:function(t,e,n){"use strict";n.d(e,{n:function(){return r}});const r=t=>"string"==typeof t&&"svg"===t.toLowerCase()},6884:function(t,e,n){"use strict";function r(t){if("undefined"==typeof Proxy)return t;const e=new Map;return new Proxy((...e)=>t(...e),{get:(n,r)=>"create"===r?t:(e.has(r)||e.set(r,t(r)),e.get(r))})}n.d(e,{P:function(){return tr}});var o=n(5490),i=n(1712);function s(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}var a=n(6551),l=n(4737),u=n(5092),c=n(5939);function h(t,e,n={}){var r;const o=(0,l.K)(t,e,"exit"===n.type?null===(r=t.presenceContext)||void 0===r?void 0:r.custom:void 0);let{transition:i=t.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(i=n.transitionOverride);const s=o?()=>Promise.all((0,c.$)(t,o,n)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(r=0)=>{const{delayChildren:o=0,staggerChildren:s,staggerDirection:a}=i;return function(t,e,n=0,r=0,o=1,i){const s=[],a=(t.variantChildren.size-1)*r,l=1===o?(t=0)=>t*r:(t=0)=>a-t*r;
1return Array.from(t.variantChildren).sort(p).forEach((t,r)=>{t.notify("AnimationStart",e),s.push(h(t,e,{...i,delay:n+l(r)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(s)}(t,e,o+r,s,a,n)}:()=>Promise.resolve(),{when:u}=i;if(u){const[t,e]="beforeChildren"===u?[s,a]:[a,s];return t().then(()=>e())}return Promise.all([s(),a(n.delay)])}function p(t,e){return t.sortNodePosition(e)}const d=u._.length;function f(t){if(!t)return;if(!t.isControllingVariants){const e=t.parent&&f(t.parent)||{};return void 0!==t.props.initial&&(e.initial=t.props.initial),e}const e={};for(let n=0;n<d;n++){const r=u._[n],o=t.props[r];((0,a.w)(o)||!1===o)&&(e[r]=o)}return e}const m=[...u.U].reverse(),y=u.U.length;function g(t){return e=>Promise.all(e.map(({animation:e,options:n})=>function(t,e,n={}){let r;if(t.notify("AnimationStart",e),Array.isArray(e)){const o=e.map(e=>h(t,e,n));r=Promise.all(o)}else if("string"==typeof e)r=h(t,e,n);else{const o="function"==typeof e?(0,l.K)(t,e,n.custom):e;r=Promise.all((0,c.$)(t,o,n))}return r.then(()=>{t.notify("AnimationComplete",e)})}(t,e,n)))}function v(t){let e=g(t),n=w(),r=!0;const u=e=>(n,r)=>{var o;const i=(0,l.K)(t,r,"exit"===e?null===(o=t.presenceContext)||void 0===o?void 0:o.custom:void 0);if(i){const{transition:t,transitionEnd:e,...r}=i;
1n={...n,...r,...e}}return n};function c(l){const{props:c}=t,h=f(t.parent)||{},p=[],d=new Set;let g={},v=1/0;for(let e=0;e<y;e++){const f=m[e],y=n[f],b=void 0!==c[f]?c[f]:h[f],w=(0,a.w)(b),S=f===l?y.isActive:null;!1===S&&(v=e);let P=b===h[f]&&b!==c[f]&&w;if(P&&r&&t.manuallyAnimateOnMount&&(P=!1),y.protectedKeys={...g},!y.isActive&&null===S||!b&&!y.prevProp||(0,o.N)(b)||"boolean"==typeof b)continue;const E=x(y.prevProp,b);let A=E||f===l&&y.isActive&&!P&&w||e>v&&w,T=!1;const k=Array.isArray(b)?b:[b];let C=k.reduce(u(f),{});!1===S&&(C={});const{prevResolvedValues:M={}}=y,D={...M,...C},j=e=>{A=!0,d.has(e)&&(T=!0,d.delete(e)),y.needsAnimating[e]=!0;const n=t.getValue(e);n&&(n.liveStyle=!1)};for(const t in D){const e=C[t],n=M[t];if(g.hasOwnProperty(t))continue;let r=!1;r=(0,i.p)(e)&&(0,i.p)(n)?!s(e,n):e!==n,r?null!=e?j(t):d.add(t):void 0!==e&&d.has(t)?j(t):y.protectedKeys[t]=!0}y.prevProp=b,y.prevResolvedValues=C,y.isActive&&(g={...g,...C}),r&&t.blockInitialAnimation&&(A=!1);A&&(!(P&&E)||T)&&p.push(...k.map(t=>({animation:t,options:{type:f}})))}if(d.size){const e={};d.forEach(n=>{const r=t.getBaseTarget(n),o=t.getValue(n);o&&(o.liveStyle=!0),e[n]=null!=r?r:null}),p.push({animation:e})}let b=Boolean(p.length);return!r||!1!==c.initial&&c.initial!==c.animate||t.manuallyAnimateOnMount||(b=!1),r=!1,b?e(p):Promise.resolve()}return{animateChanges:c,setActive:function(e,r){var o;if(n[e].isActive===r)return Promise.resolve();null===(o=t.variantChildren)||void 0===o||o.forEach(t=>{var n;return null===(n=t.animationState)||void 0===n?void 0:n.setActive(e,r)}),n[e].isActive=r;const i=c(e);for(const t in n)n[t].protectedKeys={};return i},setAnimateFunction:function(n){e=n(t)},getState:()=>n,reset:()=>{n=w(),r=!0}}}function x(t,e){return"string"==typeof e?e!==t:!!Array.isArray(e)&&!s(e,t)}function b(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function w(){return{animate:b(!0),whileInView:b(),whileHover:b(),whileTap:b(),whileDrag:b(),whileFocus:b(),exit:b()}}class S{constructor(t){this.isMounted=!1,this.node=t}update(){}}let P=0;const E={animation:{Feature:class extends S{constructor(t){super(t),t.animationState||(t.animationState=v(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();(0,o.N)(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),null===(t=this.unmountControls)||void 0===t||t.call(this)}}},exit:{Feature:class extends S{constructor(){super(...arguments),this.id=P++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;const r=this.node.animationState.setActive("exit",!t);e&&!t&&r.then(()=>e(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}}};var A=n(1533),T=n(8104),k=n(4942),C=n(7331);function M(t,e,n,r={passive:!0}){return t.addEventListener(e,n,r),()=>t.removeEventListener(e,n)}function D(t){return{point:{x:t.pageX,y:t.pageY}}}function j(t,e,n,r){return M(t,e,(t=>e=>(0,k.Mc)(e)&&t(e,D(e)))(n),r)}const V=(t,e)=>Math.abs(t-e);var I=n(1339),R=n(104);class O{constructor(t,e,{transformPagePoint:n,contextWindow:r,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const t=B(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,n=function(t,e){const n=V(t.x,e.x),r=V(t.y,e.y);return Math.sqrt(n**2+r**2)}(t.offset,{x:0,y:0})>=3;if(!e&&!n)return;const{point:r}=t,{timestamp:o}=R.uv;this.history.push({...r,timestamp:o});const{onStart:i,onMove:s}=this.handlers;e||(i&&i(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),s&&s(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=F(e,this.transformPagePoint),R.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();const{onEnd:n,onSessionEnd:r,resumeAnimation:o}=this.handlers;if(this.dragSnapToOrigin&&o&&o(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const i=B("pointercancel"===t.type?this.lastMoveEventInfo:F(e,this.transformPagePoint),this.history);this.startEvent&&n&&n(t,i),r&&r(t,i)},!(0,k.Mc)(t))return;this.dragSnapToOrigin=o,this.handlers=e,this.transformPagePoint=n,this.contextWindow=r||window;const i=F(D(t),this.transformPagePoint),{point:s}=i,{timestamp:a}=R.uv;this.history=[{...s,timestamp:a}];const{onSessionStart:l}=e;l&&l(t,B(i,this.history)),this.removeListeners=(0,I.F)(j(this.contextWindow,"pointermove",this.handlePointerMove),j(this.contextWindow,"pointerup",this.handlePointerUp),j(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,R.WG)(this.updatePoint)}}function F(t,e){return e?{point:e(t.point)}:t}function L(t,e){return{x:t.x-e.x,y:t.y-e.y}}function B({point:t},e){return{point:t,delta:L(t,N(e)),offset:L(t,U(e)),velocity:$(e,.1)}}function U(t){return t[0]}function N(t){return t[t.length-1]}function $(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,r=null;const o=N(t);for(;n>=0&&(r=t[n],!(o.timestamp-r.timestamp>(0,C.f)(e)));)n--;if(!r)return{x:0,y:0};const i=(0,C.X)(o.timestamp-r.timestamp);if(0===i)return{x:0,y:0};const s={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function z(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}
1var W=n(6896),G=n(9713);function _(t){return t.max-t.min}function q(t,e,n,r=.5){t.origin=r,t.originPoint=(0,G.k)(e.min,e.max,t.origin),t.scale=_(n)/_(e),t.translate=(0,G.k)(n.min,n.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function H(t,e,n,r){q(t.x,e.x,n.x,r?r.originX:void 0),q(t.y,e.y,n.y,r?r.originY:void 0)}function Y(t,e,n){t.min=n.min+e.min,t.max=t.min+_(e)}function K(t,e,n){t.min=e.min-n.min,t.max=t.min+_(e)}function X(t,e,n){K(t.x,e.x,n.x),K(t.y,e.y,n.y)}var Z=n(2464);function Q(t,e,n){return{min:void 0!==e?t.min+e:void 0,max:void 0!==n?t.max+n-(t.max-t.min):void 0}}function J(t,e){let n=e.min-t.min,r=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,r]=[r,n]),{min:n,max:r}}const tt=.35;function et(t,e,n){return{min:nt(t,e),max:nt(t,n)}}function nt(t,e){return"number"==typeof t?t:t[e]||0}var rt=n(4106);function ot(t){return[t("x"),t("y")]}var it=n(4805),st=n(8448),at=n(5269),lt=n(8987);const ut=({current:t})=>t?t.ownerDocument.defaultView:null;var ct=n(29);const ht=new WeakMap;class pt{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,rt.ge)(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){const{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;const{dragSnapToOrigin:r}=this.getProps();this.panSession=new O(t,{onSessionStart:t=>{const{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(D(t).point)},onStart:(t,e)=>{const{drag:n,dragPropagation:r,onDragStart:o}=this.getProps();if(n&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=(0,k.Wp)(n),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),ot(t=>{let e=this.getAxisMotionValue(t).get()||0;if(at.KN.test(e)){const{projection:n}=this.visualElement;if(n&&n.layout){const r=n.layout.layoutBox[t];if(r){e=_(r)*(parseFloat(e)/100)}}}this.originPoint[t]=e}),o&&R.Gt.postRender(()=>o(t,e)),(0,ct.g)(this.visualElement,"transform");const{animationState:i}=this.visualElement;i&&i.setActive("whileDrag",!0)},onMove:(t,e)=>{const{dragPropagation:n,dragDirectionLock:r,onDirectionLock:o,onDrag:i}=this.getProps();if(!n&&!this.openDragLock)return;const{offset:s}=e;if(r&&null===this.currentDirection)return this.currentDirection=function(t,e=10){let n=null;Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x");return n}(s),void(null!==this.currentDirection&&o&&o(this.currentDirection));this.updateAxis("x",e.point,s),this.updateAxis("y",e.point,s),this.visualElement.render(),i&&i(t,e)},onSessionEnd:(t,e)=>this.stop(t,e),resumeAnimation:()=>ot(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:r,contextWindow:ut(this.visualElement)})}stop(t,e){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:r}=e;this.startAnimation(r);const{onDragEnd:o}=this.getProps();o&&R.Gt.postRender(()=>o(t,e))}cancel(){this.isDragging=!1;const{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,n){const{drag:r}=this.getProps();if(!n||!dt(t,r,this.currentDirection))return;const o=this.getAxisMotionValue(t);let i=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(i=function(t,{min:e,max:n},r){return void 0!==e&&t<e?t=r?(0,G.k)(e,t,r.min):Math.max(t,e):void 0!==n&&t>n&&(t=r?(0,G.k)(n,t,r.max):Math.min(t,n)),t}(i,this.constraints[t],this.elastic[t])),o.set(i)}resolveConstraints(){var t;const{dragConstraints:e,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(t=this.visualElement.projection)||void 0===t?void 0:t.layout,o=this.constraints;e&&z(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!r)&&function(t,{top:e,left:n,bottom:r,right:o}){return{x:Q(t.x,n,o),y:Q(t.y,e,r)}}(r.layoutBox,e),this.elastic=function(t=tt){return!1===t?t=0:!0===t&&(t=tt),{x:et(t,"left","right"),y:et(t,"top","bottom")}}(n),o!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&ot(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){const n={};return void 0!==e.min&&(n.min=e.min-t.min),void 0!==e.max&&(n.max=e.max-t.min),n}(r.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:e}=this.getProps();if(!t||!z(t))return!1;const n=t.current;(0,T.V)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const o=(0,it.L)(n,r.root,this.visualElement.getTransformPagePoint());let i=function(t,e){return{x:J(t.x,e.x),y:J(t.y,e.y)}}(r.layout.layoutBox,o);if(e){const t=e((0,st.pA)(i));this.hasMutatedConstraints=!!t,t&&(i=(0,st.FY)(t))}return i}startAnimation(t){const{drag:e,dragMomentum:n,dragElastic:r,dragTransition:o,dragSnapToOrigin:i,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{},l=ot(s=>{if(!dt(s,e,this.currentDirection))return;let l=a&&a[s]||{};i&&(l={min:0,max:0});const u=r?200:1e6,c=r?40:1e7,h={type:"inertia",velocity:n?t[s]:0,bounceStiffness:u,bounceDamping:c,timeConstant:750,restDelta:1,restSpeed:10,...o,...l};return this.startAxisValueAnimation(s,h)});return Promise.all(l).then(s)}startAxisValueAnimation(t,e){const n=this.getAxisMotionValue(t);return(0,ct.g)(this.visualElement,t),n.start((0,lt.f)(t,n,0,e,this.visualElement,!1))}stopAnimation(){ot(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){ot(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){const e=`_drag${t.toUpperCase()}`,n=this.visualElement.getProps(),r=n[e];return r||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){ot(e=>{const{drag:n}=this.getProps();
1if(!dt(e,n,this.currentDirection))return;const{projection:r}=this.visualElement,o=this.getAxisMotionValue(e);if(r&&r.layout){const{min:n,max:i}=r.layout.layoutBox[e];o.set(t[e]-(0,G.k)(n,i,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:e}=this.getProps(),{projection:n}=this.visualElement;if(!z(e)||!n||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};ot(t=>{const e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){const n=e.get();r[t]=function(t,e){let n=.5;const r=_(t),o=_(e);return o>r?n=(0,W.q)(e.min,e.max-r,t.min):r>o&&(n=(0,W.q)(t.min,t.max-o,e.min)),(0,Z.q)(0,1,n)}({min:n,max:n},this.constraints[t])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),ot(e=>{if(!dt(e,t,null))return;const n=this.getAxisMotionValue(e),{min:o,max:i}=this.constraints[e];n.set((0,G.k)(o,i,r[e]))})}addListeners(){if(!this.visualElement.current)return;ht.set(this.visualElement,this);const t=j(this.visualElement.current,"pointerdown",t=>{const{drag:e,dragListener:n=!0}=this.getProps();e&&n&&this.start(t)}),e=()=>{const{dragConstraints:t}=this.getProps();z(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,r=n.addEventListener("measure",e);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),R.Gt.read(e);const o=M(window,"resize",()=>this.scalePositionWithinConstraints()),i=n.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(ot(e=>{const n=this.getAxisMotionValue(e);n&&(this.originPoint[e]+=t[e].translate,n.set(n.get()+t[e].translate))}),this.visualElement.render())});return()=>{o(),t(),r(),i&&i()}}getProps(){const t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:o=!1,dragElastic:i=tt,dragMomentum:s=!0}=t;return{...t,drag:e,dragDirectionLock:n,dragPropagation:r,dragConstraints:o,dragElastic:i,dragMomentum:s}}}function dt(t,e,n){return!(!0!==e&&e!==t||null!==n&&n!==t)}const ft=t=>(e,n)=>{t&&R.Gt.postRender(()=>t(e,n))};var mt=n(4848),yt=n(6540);const gt=(0,yt.createContext)(null);const vt=(0,yt.createContext)({}),xt=(0,yt.createContext)({}),bt={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function wt(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const St={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!at.px.test(t))return t;t=parseFloat(t)}return`${wt(t,e.target.x)}% ${wt(t,e.target.y)}%`}};var Pt=n(4552);const Et={correct:(t,{treeScale:e,projectionDelta:n})=>{const r=t,o=Pt.f.parse(t);if(o.length>5)return r;const i=Pt.f.createTransformer(t),s="number"!=typeof o[0]?1:0,a=n.x.scale*e.x,l=n.y.scale*e.y;o[0+s]/=a,o[1+s]/=l;const u=(0,G.k)(a,l,.5);return"number"==typeof o[2+s]&&(o[2+s]/=u),"number"==typeof o[3+s]&&(o[3+s]/=u),i(o)}};var At=n(8645),Tt=n(8530);const{schedule:kt,cancel:Ct}=(0,Tt.I)(queueMicrotask,!1);class Mt extends yt.Component{componentDidMount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:n,layoutId:r}=this.props,{projection:o}=t;(0,At.$)(jt),o&&(e.group&&e.group.add(o),n&&n.register&&r&&n.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),bt.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:e,visualElement:n,drag:r,isPresent:o}=this.props,i=n.projection;return i?(i.isPresent=o,r||t.layoutDependency!==e||void 0===e?i.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?i.promote():i.relegate()||R.Gt.postRender(()=>{const t=i.getStack();t&&t.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),kt.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:n}=this.props,{projection:r}=t;r&&(r.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Dt(t){const[e,n]=function(t=!0){const e=(0,yt.useContext)(gt);if(null===e)return[!0,null];const{isPresent:n,onExitComplete:r,register:o}=e,i=(0,yt.useId)();(0,yt.useEffect)(()=>{t&&o(i)},[t]);const s=(0,yt.useCallback)(()=>t&&r&&r(i),[i,r,t]);return!n&&r?[!1,s]:[!0]}(),r=(0,yt.useContext)(vt);return(0,mt.jsx)(Mt,{...t,layoutGroup:r,switchLayoutGroup:(0,yt.useContext)(xt),isPresent:e,safeToRemove:n})}const jt={borderRadius:{...St,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:St,borderTopRightRadius:St,borderBottomLeftRadius:St,borderBottomRightRadius:St,boxShadow:Et};var Vt=n(2956),It=n(4458),Rt=n(4582),Ot=n(1247),Ft=n(2358);const Lt=(t,e)=>t.depth-e.depth;class Bt{constructor(){this.children=[],this.isDirty=!1}add(t){(0,Ft.Kq)(this.children,t),this.isDirty=!0}remove(t){(0,Ft.Ai)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Lt),this.isDirty=!1,this.children.forEac
1h(t)}}function Ut(t,e){const n=Rt.k.now(),r=({timestamp:o})=>{const i=o-n;i>=e&&((0,R.WG)(r),t(i-e))};return R.Gt.read(r,!0),()=>(0,R.WG)(r)}var Nt=n(2606),$t=n(7365),zt=n(9896);function Wt(t){const e=(0,zt.S)(t)?t.get():t;return(0,$t.B)(e)?e.toValue():e}var Gt=n(4868);const _t=["TopLeft","TopRight","BottomLeft","BottomRight"],qt=_t.length,Ht=t=>"string"==typeof t?parseFloat(t):t,Yt=t=>"number"==typeof t||at.px.test(t);function Kt(t,e){return void 0!==t[e]?t[e]:t.borderRadius}const Xt=Qt(0,.5,Gt.yT),Zt=Qt(.5,.95,A.l);function Qt(t,e,n){return r=>r<t?0:r>e?1:n((0,W.q)(t,e,r))}function Jt(t,e){t.min=e.min,t.max=e.max}function te(t,e){Jt(t.x,e.x),Jt(t.y,e.y)}function ee(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var ne=n(5673);function re(t,e,n,r,o){return t-=e,t=(0,ne.hq)(t,1/n,r),void 0!==o&&(t=(0,ne.hq)(t,1/o,r)),t}function oe(t,e,[n,r,o],i,s){!function(t,e=0,n=1,r=.5,o,i=t,s=t){at.KN.test(e)&&(e=parseFloat(e),e=(0,G.k)(s.min,s.max,e/100)-s.min);if("number"!=typeof e)return;let a=(0,G.k)(i.min,i.max,r);t===i&&(a-=e),t.min=re(t.min,e,n,a,o),t.max=re(t.max,e,n,a,o)}(t,e[n],e[r],e[o],e.scale,i,s)}const ie=["x","scaleX","originX"],se=["y","scaleY","originY"];function ae(t,e,n,r){oe(t.x,e,ie,n?n.x:void 0,r?r.x:void 0),oe(t.y,e,se,n?n.y:void 0,r?r.y:void 0)}function le(t){return 0===t.translate&&1===t.scale}function ue(t){return le(t.x)&&le(t.y)}function ce(t,e){return t.min===e.min&&t.max===e.max}function he(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function pe(t,e){return he(t.x,e.x)&&he(t.y,e.y)}function de(t){return _(t.x)/_(t.y)}function fe(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class me{constructor(){this.members=[]}add(t){(0,Ft.Kq)(this.members,t),t.scheduleRender()}remove(t){if((0,Ft.Ai)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){const e=this.members.findIndex(e=>t===e);if(0===e)return!1;let n;for(let r=e;r>=0;r--){const t=this.members[r];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(t,e){const n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,e&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:r}=t.options;!1===r&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:e,resumingFrom:n}=t;e.onExitComplete&&e.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}var ye=n(1630);const ge={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},ve="undefined"!=typeof window&&void 0!==window.MotionDebug,xe=["","X","Y","Z"],be={visibility:"hidden"};let we=0;function Se(t,e,n,r){const{latestValues:o}=e;o[t]&&(n[t]=o[t],e.setStaticValue(t,0),r&&(r[t]=0))}function Pe(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const n=(0,It.P)(e);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:e,layoutId:r}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",R.Gt,!(e||r))}const{parent:r}=t;r&&!r.hasCheckedOptimisedAppear&&Pe(r)}function Ee({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(t={},n=(null==e?void 0:e())){this.id=we++,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.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,ve&&(ge.totalNodes=ge.resolvedTargetDeltas=ge.recalculatedProjection=0),this.nodes.forEac
1h(ke),this.nodes.forEach(Re),this.nodes.forEach(Oe),this.nodes.forEach(Ce),ve&&window.MotionDebug.record(ge)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new Bt)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new Nt.v),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){const n=this.eventHandlers.get(t);n&&n.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e,n=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=(0,Ot.x)(e),this.instance=e;const{layoutId:r,layout:o,visualElement:i}=this.options;if(i&&!i.current&&i.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(o||r)&&(this.isLayoutDirty=!0),t){let n;const r=()=>this.root.updateBlockedByResize=!1;t(e,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=Ut(r,250),bt.hasAnimatedSinceResize&&(bt.hasAnimatedSinceResize=!1,this.nodes.forEach(Ie))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&i&&(r||o)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const o=this.options.transition||i.getDefaultTransition()||$e,{onLayoutAnimationStart:s,onLayoutAnimationComplete:a}=i.getProps(),l=!this.targetLayout||!pe(this.targetLayout,r)||n,u=!e&&n;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);const e={...(0,k.rU)(o,"layout"),onPlay:s,onComplete:a};(i.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||Ie(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,R.WG)(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(Fe),this.animationId++)}getTransformTemplate(){const{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Pe(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let o=0;o<this.path.length;o++){const t=this.path[o];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:e,layout:n}=this.options;if(void 0===e&&!n)return;const r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(De);this.isUpdating||this.nodes.forEach(je),this.isUpdating=!1,this.nodes.forEach(Ve),this.nodes.forEach(Ae),this.nodes.forEach(Te),this.clearAllSnapshots();const t=Rt.k.now();R.uv.delta=(0,Z.q)(0,1e3/60,t-R.uv.timestamp),R.uv.timestamp=t,R.uv.isProcessing=!0,R.PP.update.process(R.uv),R.PP.preRender.process(R.uv),R.PP.render.process(R.uv),R.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,kt.read(this.scheduleUpdate))}
1clearAllSnapshots(){this.nodes.forEach(Me),this.sharedNodes.forEach(Le)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,R.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){R.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let n=0;n<this.path.length;n++){this.path[n].updateScroll()}const t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=(0,rt.ge)(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=Boolean(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e){const e=r(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!o)return;const t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!ue(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,i=r!==this.prevTransformTemplateValue;t&&(e||(0,ye.HD)(this.latestValues)||i)&&(o(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){const e=this.measurePageBox();let n=this.removeElementScroll(e);var r;return t&&(n=this.removeTransform(n)),Ge((r=n).x),Ge(r.y),{animationId:this.root.animationId,measuredBox:e,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){var t;const{visualElement:e}=this.options;if(!e)return(0,rt.ge)();const n=e.measureViewportBox();if(!((null===(t=this.scroll)||void 0===t?void 0:t.wasRoot)||this.path.some(qe))){const{scroll:t}=this.root;t&&((0,ne.Ql)(n.x,t.offset.x),(0,ne.Ql)(n.y,t.offset.y))}return n}removeElementScroll(t){var e;const n=(0,rt.ge)();if(te(n,t),null===(e=this.scroll)||void 0===e?void 0:e.wasRoot)return n;for(let r=0;r<this.path.length;r++){const e=this.path[r],{scroll:o,options:i}=e;e!==this.root&&o&&i.layoutScroll&&(o.wasRoot&&te(n,t),(0,ne.Ql)(n.x,o.offset.x),(0,ne.Ql)(n.y,o.offset.y))}return n}applyTransform(t,e=!1){const n=(0,rt.ge)();te(n,t);for(let r=0;r<this.path.length;r++){const t=this.path[r];!e&&t.options.layoutScroll&&t.scroll&&t!==t.root&&(0,ne.Ww)(n,{x:-t.scroll.offset.x,y:-t.scroll.offset.y}),(0,ye.HD)(t.latestValues)&&(0,ne.Ww)(n,t.latestValues)}return(0,ye.HD)(this.latestValues)&&(0,ne.Ww)(n,this.latestValues),n}removeTransform(t){const e=(0,rt.ge)();te(e,t);for(let n=0;n<this.path.length;n++){const t=this.path[n];if(!t.instance)continue;if(!(0,ye.HD)(t.latestValues))continue;(0,ye.vk)(t.latestValues)&&t.updateSnapshot();const r=(0,rt.ge)();te(r,t.measurePageBox()),ae(e,t.latestValues,t.snapshot?t.snapshot.layoutBox:void 0,r)}return(0,ye.HD)(this.latestValues)&&ae(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!==R.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){var e;const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isSharedProjectionDirty);const r=Boolean(this.resumingFrom)||this!==n;if(!(t||r&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:o,layoutId:i}=this.options;if(this.layout&&(o||i)){if(this.resolvedRelativeTargetAt=R.uv.timestamp,!this.targetDelta&&!this.relativeTarget){const t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,rt.ge)(),this.relativeTargetOrigin=(0,rt.ge)(),X(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),te(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var s,a,l;if(this.target||(this.target=(0,rt.ge)(),this.targetWithTransforms=(0,rt.ge)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),s=this.target,a=this.relativeTarget,l=this.relativeParent.target,Y(s.x,a.x,l.x),Y(s.y,a.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):te(this.target,this.layout.layoutBox),(0,ne.o4)(this.target,this.targetDelta)):te(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const t=this.getClosestProjectingParent();t&&Boolean(t.resumingFrom)===Boolean(this.resumingFrom)&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,rt.ge)(),this.relativeTargetOrigin=(0,rt.ge)(),X(this.relativeTargetOrigin,this.target,t.target),te(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}ve&&ge.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!(0,ye.vk)(this.parent.latestValues)&&!(0,ye.vF)(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var t;const e=this.getLead(),n=Boolean(this.resumingFrom)||this!==e;let r=!0;if((this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty))&&(r=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===R.uv.timestamp&&(r=!1),r)return;const{layout:o,layoutId:i}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!o&&!i)return;te(this.layoutCorrected,this.layout.layoutBox);const s=this.treeScale.x,a=this.treeScale.y;(0,ne.OU)(this.layoutCorrected,this.treeScale,this.path,n),!e.layout||e.target||1===this.treeScale.x&&1===this.treeScale.y||(e.target=e.layout.layoutBox,e.targetWithTransforms=(0,rt.ge)());const{target:l}=e;l?(this.projectionDelta&&this.prevProjectionDelta?(ee(this.prevProjectionDelta.x,this.projectionDelta.x),ee(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),H(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===s&&this.treeScale.y===a&&fe(this.projectionDelta.x,this.prevProjectionDelta.x)&&fe(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),ve&&ge.re
1calculatedProjection++):this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender())}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){var e;if(null===(e=this.options.visualElement)||void 0===e||e.scheduleRender(),t){const t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,rt.xU)(),this.projectionDelta=(0,rt.xU)(),this.projectionDeltaWithTransform=(0,rt.xU)()}setAnimationOrigin(t,e=!1){const n=this.snapshot,r=n?n.latestValues:{},o={...this.latestValues},i=(0,rt.xU)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;const s=(0,rt.ge)(),a=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),u=!l||l.members.length<=1,c=Boolean(a&&!u&&!0===this.options.crossfade&&!this.path.some(Ne));let h;this.animationProgress=0,this.mixTargetDelta=e=>{const n=e/1e3;var l,p,d,f,m,y;Be(i.x,t.x,n),Be(i.y,t.y,n),this.setTargetDelta(i),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(X(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),d=this.relativeTarget,f=this.relativeTargetOrigin,m=s,y=n,Ue(d.x,f.x,m.x,y),Ue(d.y,f.y,m.y,y),h&&(l=this.relativeTarget,p=h,ce(l.x,p.x)&&ce(l.y,p.y))&&(this.isProjectionDirty=!1),h||(h=(0,rt.ge)()),te(h,this.relativeTarget)),a&&(this.animationValues=o,function(t,e,n,r,o,i){o?(t.opacity=(0,G.k)(0,void 0!==n.opacity?n.opacity:1,Xt(r)),t.opacityExit=(0,G.k)(void 0!==e.opacity?e.opacity:1,0,Zt(r))):i&&(t.opacity=(0,G.k)(void 0!==e.opacity?e.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let s=0;s<qt;s++){const o=`border${_t[s]}Radius`;let i=Kt(e,o),a=Kt(n,o);void 0===i&&void 0===a||(i||(i=0),a||(a=0),0===i||0===a||Yt(i)===Yt(a)?(t[o]=Math.max((0,G.k)(Ht(i),Ht(a),r),0),(at.KN.test(a)||at.KN.test(i))&&(t[o]+="%")):t[o]=a)}(e.rotate||n.rotate)&&(t.rotate=(0,G.k)(e.rotate||0,n.rotate||0,r))}(o,r,this.latestValues,n,c,u)),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,R.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=R.Gt.update(()=>{bt.hasAnimatedSinceResize=!0,this.currentAnimation=(0,Vt.z)(0,1e3,{...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);const 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(){const t=this.getLead();let{targetWithTransforms:e,target:n,layout:r,latestValues:o}=t;if(e&&n&&r){if(this!==t&&this.layout&&r&&_e(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||(0,rt.ge)();const e=_(this.layout.layoutBox.x);n.x.min=t.target.x.min,n.x.max=n.x.min+e;const r=_(this.layout.layoutBox.y);n.y.min=t.target.y.min,n.y.max=n.y.min+r}te(e,n),(0,ne.Ww)(e,o),H(this.projectionDeltaWithTransform,this.layoutCorrected,e,o)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new me);this.sharedNodes.get(t).add(e);const n=e.options.initialPromotionConfig;e.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(e):void 0})}isLead(){const t=this.getStack();return!t||t.lead===this}getLead(){var t;const{layoutId:e}=this.options;return e&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}getPrevLead(){var t;const{layoutId:e}=this.options;return e?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0}getStack(){const{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:n}={}){const r=this.getStack();r&&r.promote(this,n),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){const t=this.getStack();return!!t&&t.relegate(this)}
1resetSkewAndRotation(){const{visualElement:t}=this.options;if(!t)return;let e=!1;const{latestValues:n}=t;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(e=!0),!e)return;const r={};n.z&&Se("z",t,r,this.animationValues);for(let o=0;o<xe.length;o++)Se(`rotate${xe[o]}`,t,r,this.animationValues),Se(`skew${xe[o]}`,t,r,this.animationValues);t.render();for(const o in r)t.setStaticValue(o,r[o]),this.animationValues&&(this.animationValues[o]=r[o]);t.scheduleRender()}getProjectionStyles(t){var e,n;if(!this.instance||this.isSVG)return;if(!this.isVisible)return be;const r={visibility:""},o=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=Wt(null==t?void 0:t.pointerEvents)||"",r.transform=o?o(this.latestValues,""):"none",r;const i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target){const e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=Wt(null==t?void 0:t.pointerEvents)||""),this.hasProjected&&!(0,ye.HD)(this.latestValues)&&(e.transform=o?o({},""):"none",this.hasProjected=!1),e}const s=i.animationValues||i.latestValues;this.applyTransformsToTarget(),r.transform=function(t,e,n){let r="";const o=t.x.translate/e.x,i=t.y.translate/e.y,s=(null==n?void 0:n.z)||0;if((o||i||s)&&(r=`translate3d(${o}px, ${i}px, ${s}px) `),1===e.x&&1===e.y||(r+=`scale(${1/e.x}, ${1/e.y}) `),n){const{transformPerspective:t,rotate:e,rotateX:o,rotateY:i,skewX:s,skewY:a}=n;t&&(r=`perspective(${t}px) ${r}`),e&&(r+=`rotate(${e}deg) `),o&&(r+=`rotateX(${o}deg) `),i&&(r+=`rotateY(${i}deg) `),s&&(r+=`skewX(${s}deg) `),a&&(r+=`skewY(${a}deg) `)}const a=t.x.scale*e.x,l=t.y.scale*e.y;return 1===a&&1===l||(r+=`scale(${a}, ${l})`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,s),o&&(r.transform=o(s,r.transform));const{x:a,y:l}=this.projectionDelta;r.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,i.animationValues?r.opacity=i===this?null!==(n=null!==(e=s.opacity)&&void 0!==e?e:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:r.opacity=i===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0;for(const u in At.H){if(void 0===s[u])continue;const{correct:t,applyTo:e}=At.H[u],n="none"===r.transform?s[u]:t(s[u],i);if(e){const t=e.length;for(let o=0;o<t;o++)r[e[o]]=n}else r[u]=n}return this.options.layoutId&&(r.pointerEvents=i===this?Wt(null==t?void 0:t.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()}),this.root.nodes.forEach(De),this.root.sharedNodes.clear()}}}function Ae(t){t.updateLayout()}function Te(t){var e;const n=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){const{layoutBox:e,measuredBox:r}=t.layout,{animationType:o}=t.options,i=n.source!==t.layout.source;"size"===o?ot(t=>{const r=i?n.measuredBox[t]:n.layoutBox[t],o=_(r);r.min=e[t].min,r.max=r.min+o}):_e(o,n.layoutBox,e)&&ot(r=>{const o=i?n.measuredBox[r]:n.layoutBox[r],s=_(e[r]);o.max=o.min+s,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[r].max=t.relativeTarget[r].min+s)});const s=(0,rt.xU)();H(s,e,n.layoutBox);const a=(0,rt.xU)();i?H(a,t.applyTransform(r,!0),n.measuredBox):H(a,e,n.layoutBox);const l=!ue(s);let u=!1;if(!t.resumeFrom){const r=t.getClosestProjectingParent();if(r&&!r.resumeFrom){const{snapshot:o,layout:i}=r;if(o&&i){const s=(0,rt.ge)();X(s,n.layoutBox,o.layoutBox);const a=(0,rt.ge)();X(a,e,i.layoutBox),pe(s,a)||(u=!0),r.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=s,t.relativeParent=r)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:n,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(t.isLead()){const{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function ke(t){ve&&ge.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=Boolean(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function Ce(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function Me(t){t.clearSnapshot()}function De(t){t.clearMeasurements()}function je(t){t.isLayoutDirty=!1}function Ve(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function Ie(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function Re(t){t.resolveTargetDelta()}function Oe(t){t.calcProjection()}
1function Fe(t){t.resetSkewAndRotation()}function Le(t){t.removeLeadSnapshot()}function Be(t,e,n){t.translate=(0,G.k)(e.translate,0,n),t.scale=(0,G.k)(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function Ue(t,e,n,r){t.min=(0,G.k)(e.min,n.min,r),t.max=(0,G.k)(e.max,n.max,r)}function Ne(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}const $e={duration:.45,ease:[.4,0,.1,1]},ze=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),We=ze("applewebkit/")&&!ze("chrome/")?Math.round:A.l;function Ge(t){t.min=We(t.min),t.max=We(t.max)}function _e(t,e,n){return"position"===t||"preserve-aspect"===t&&(r=de(e),o=de(n),i=.2,!(Math.abs(r-o)<=i));var r,o,i}function qe(t){var e;return t!==t.root&&(null===(e=t.scroll)||void 0===e?void 0:e.wasRoot)}const He=Ee({attachResizeListener:(t,e)=>M(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Ye={current:void 0},Ke=Ee({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Ye.current){const t=new He({});t.mount(window),t.setOptions({layoutScroll:!0}),Ye.current=t}return Ye.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>Boolean("fixed"===window.getComputedStyle(t).position)}),Xe={pan:{Feature:class extends S{constructor(){super(...arguments),this.removePointerDownListener=A.l}onPointerDown(t){this.session=new O(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:ut(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:e,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:ft(t),onStart:ft(e),onMove:n,onEnd:(t,e)=>{delete this.session,r&&R.Gt.postRender(()=>r(t,e))}}}mount(){this.removePointerDownListener=j(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends S{constructor(t){super(t),this.removeGroupControls=A.l,this.removeListeners=A.l,this.controls=new pt(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||A.l}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:Ke,MeasureLayout:Dt}};function Ze(t,e,n){const{props:r}=t;t.animationState&&r.whileHover&&t.animationState.setActive("whileHover","Start"===n);const o=r["onHover"+n];o&&R.Gt.postRender(()=>o(e,D(e)))}function Qe(t,e,n){const{props:r}=t;t.animationState&&r.whileTap&&t.animationState.setActive("whileTap","Start"===n);const o=r["onTap"+("End"===n?"":n)];o&&R.Gt.postRender(()=>o(e,D(e)))}const Je=new WeakMap,tn=new WeakMap,en=t=>{const e=Je.get(t.target);e&&e(t)},nn=t=>{t.forEach(en)};function rn(t,e,n){const r=function({root:t,...e}){const n=t||document;tn.has(n)||tn.set(n,{});const r=tn.get(n),o=JSON.stringify(e);return r[o]||(r[o]=new IntersectionObserver(nn,{root:t,...e})),r[o]}(e);return Je.set(t,n),r.observe(t),()=>{Je.delete(t),r.unobserve(t)}}const on={some:0,all:1};const sn={inView:{Feature:class extends S{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:e,margin:n,amount:r="some",once:o}=t,i={root:e?e.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:on[r]};return rn(this.node.current,i,t=>{const{isIntersecting:e}=t;if(this.isInView===e)return;if(this.isInView=e,o&&!e&&this.hasEnteredView)return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);const{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),i=e?n:r;i&&i(t)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}(t,e))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends S{mount(){const{current:t}=this.node;t&&(this.unmount=(0,k.c$)(t,t=>(Qe(this.node,t,"Start"),(t,{success:e})=>Qe(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}},focus:{Feature:class extends S{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.F)(M(this.node.current,"focus",()=>this.onFocus()),M(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends S{mount(){const{current:t}=this.node;t&&(this.unmount=(0,k.PT)(t,t=>(Ze(this.node,t,"Start"),t=>Ze(this.node,t,"End"))))}unmount(){}}}},an={layout:{ProjectionNode:Ke,MeasureLayout:Dt}},ln=(0,yt.createContext)({strict:!1}),un=(0,yt.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),cn=(0,yt.createContext)({});var hn=n(837);function pn(t){const{initial:e,animate:n}=function(t,e){if((0,hn.e)(t)){const{initial:e,animate:n}=t;return{initial:!1===e||(0,a.w)(e)?e:void 0,animate:(0,a.w)(n)?n:void 0}}return!1!==t.inherit?e:{}}(t,(0,yt.useContext)(cn));return(0,yt.useMemo)(()=>({initial:e,animate:n}),[dn(e),dn(n)])}function dn(t){return Array.isArray(t)?t.join(" "):t}var fn=n(8288),mn=n(3996);const yn=Symbol.for("motionComponentSymbol");function gn(t,e,n){return(0,yt.useCallback)(r=>{r&&t.onMount&&t.onMount(r),e&&(r?e.mount(r):e.unmount()),n&&("function"==typeof n?n(r):z(n)&&(n.current=r))},[e])}const vn=fn.B?yt.useLayoutEffect:yt.useEffect;var xn=n(2392);function bn(t,e,n,r,o){var i,s;const{visualElement:a}=(0,yt.useContext)(cn),l=(0,yt.useContext)(ln),u=(0,yt.useContext)(gt),c=(0,yt.useContext)(un).reducedMotion,h=(0,yt.useRef)(null);r=r||l.renderer,!h.current&&r&&(h.current=r(t,{visualState:e,parent:a,props:n,presenceContext:u,blockInitialAnimation:!!u&&!1===u.initial,reducedMotionConfig:c}
1));const p=h.current,d=(0,yt.useContext)(xt);!p||p.projection||!o||"html"!==p.type&&"svg"!==p.type||function(t,e,n,r){const{layoutId:o,layout:i,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:u}=e;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:wn(t.parent)),t.projection.setOptions({layoutId:o,layout:i,alwaysMeasureLayout:Boolean(s)||a&&z(a),visualElement:t,animationType:"string"==typeof i?i:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:u})}(h.current,n,o,d);const f=(0,yt.useRef)(!1);(0,yt.useInsertionEffect)(()=>{p&&f.current&&p.update(n,u)});const m=n[xn.n],y=(0,yt.useRef)(Boolean(m)&&!(null===(i=window.MotionHandoffIsComplete)||void 0===i?void 0:i.call(window,m))&&(null===(s=window.MotionHasOptimisedAnimation)||void 0===s?void 0:s.call(window,m)));return vn(()=>{p&&(f.current=!0,window.MotionIsMounted=!0,p.updateFeatures(),kt.render(p.render),y.current&&p.animationState&&p.animationState.animateChanges())}),(0,yt.useEffect)(()=>{p&&(!y.current&&p.animationState&&p.animationState.animateChanges(),y.current&&(queueMicrotask(()=>{var t;null===(t=window.MotionHandoffMarkAsComplete)||void 0===t||t.call(window,m)}),y.current=!1))}),p}function wn(t){if(t)return!1!==t.options.allowProjection?t.projection:wn(t.parent)}function Sn({preloadedFeatures:t,createVisualElement:e,useRender:n,useVisualState:r,Component:o}){var i,s;function a(t,i){let s;const a={...(0,yt.useContext)(un),...t,layoutId:Pn(t)},{isStatic:l}=a,u=pn(t),c=r(t,l);if(!l&&fn.B){!function(){(0,yt.useContext)(ln).strict;0}();const t=function(t){const{drag:e,layout:n}=mn.B;if(!e&&!n)return{};const r={...e,...n};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==n?void 0:n.isEnabled(t))?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}(a);s=t.MeasureLayout,u.visualElement=bn(o,c,a,e,t.ProjectionNode)}return(0,mt.jsxs)(cn.Provider,{value:u,children:[s&&u.visualElement?(0,mt.jsx)(s,{visualElement:u.visualElement,...a}):null,n(o,t,gn(c,u.visualElement,i),c,l,u.visualElement)]})}t&&function(t){for(const e in t)mn.B[e]={...mn.B[e],...t[e]}}(t),a.displayName=`motion.${"string"==typeof o?o:`create(${null!==(s=null!==(i=o.displayName)&&void 0!==i?i:o.name)&&void 0!==s?s:""})`}`;const l=(0,yt.forwardRef)(a);return l[yn]=o,l}function Pn({layoutId:t}){const e=(0,yt.useContext)(vt).id;return e&&void 0!==t?e+"-"+t:t}const En=["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 An(t){return"string"==typeof t&&!t.includes("-")&&!!(En.indexOf(t)>-1||/[A-Z]/u.test(t))}var Tn=n(3141),kn=n(8601);const Cn=t=>(e,n)=>{const r=(0,yt.useContext)(cn),o=(0,yt.useContext)(gt),i=()=>function({scrapeMotionValuesFromProps:t,createRenderState:e,onUpdate:n},r,o,i){const s={latestValues:Mn(r,o,i,t),renderState:e()};return n&&(s.onMount=t=>n({props:r,current:t,...s}),s.onUpdate=t=>n(t)),s}(t,e,r,o);return n?i():(0,kn.M)(i)};function Mn(t,e,n,r){const i={},s=r(t,{});for(const o in s)i[o]=Wt(s[o]);let{initial:a,animate:l}=t;const u=(0,hn.e)(t),c=(0,hn.O)(t);e&&c&&!u&&!1!==t.inherit&&(void 0===a&&(a=e.initial),void 0===l&&(l=e.animate));let h=!!n&&!1===n.initial;h=h||!1===a;const p=h?l:a;if(p&&"boolean"!=typeof p&&!(0,o.N)(p)){const e=Array.isArray(p)?p:[p];for(let n=0;n<e.length;n++){const r=(0,Tn.a)(t,e[n]);if(r){const{transitionEnd:t,transition:e,...n}=r;for(const r in n){let t=n[r];if(Array.isArray(t)){t=t[h?t.length-1:0]}null!==t&&(i[r]=t)}for(const r in t)i[r]=t[r]}}}return i}var Dn=n(2443),jn=n(3163);const Vn=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),In=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}});var Rn=n(6793),On=n(7415),Fn=n(2777);const Ln=["x","y","width","height","cx","cy","r"],Bn={useVisualState:Cn({scrapeMotionValuesFromProps:Fn.x,createRenderState:In,onUpdate:({props:t,prevProps:e,current:n,renderState:r,latestValues:o})=>{if(!n)return;let i=!!t.drag;if(!i)for(const a in o)if(Dn.f.has(a)){i=!0;break}if(!i)return;let s=!e;if(e)for(let a=0;a<Ln.length;a++){const n=Ln[a];t[n]!==e[n]&&(s=!0)}s&&R.Gt.read(()=>{!function(t,e){try{e.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(n){e.dimensions={x:0,y:0,width:0,height:0}}}(n,r),R.Gt.render(()=>{(0,jn.B)(r,o,(0,Rn.n)(n.tagName),t.transformTemplate),(0,On.d)(n,r)})})}})};const Un={useVisualState:Cn({scrapeMotionValuesFromProps:n(4494).x,createRenderState:Vn})};var Nn=n(7549),$n=n(9298);function zn(t,e,n){for(const r in e)(0,zt.S)(e[r])||(0,Nn.z)(r,n)||(t[r]=e[r])}function Wn(t,e){const n={};return zn(n,t.style||{},t),Object.assign(n,function({transformTemplate:t},e){return(0,yt.useMemo)(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{}};return(0,$n.O)(n,e,t),Object.assign({},n.vars,n.style)},[e])}(t,e)),n}function Gn(t,e){const n={},r=Wn(t,e);return t.drag&&!1!==t.dragListener&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.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=r,n}const _n=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 qn(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||_n.has(t)}let Hn=t=>!qn(t);try{(Yn=require("@emotion/is-prop-valid").default)&&(Hn=t=>t.startsWith("on")?!qn(t):Yn(t))}catch(er){}var Yn;function Kn(t,e,n,r){const o=(0,yt.useMemo)(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return(0,jn.B)(n,e,(0,Rn.n)(r),t.transformTemplate),{...n.attrs,style:{...n.style}}},[e]);if(t.style){const e={};zn(e,t.style,t),o.style={...e,...o.style}}return o}function Xn(t=!1){return(e,n,r,{latestValues:o},i)=>{const s=(An(e)?Kn:Gn)(n,o,i,e),a=function(t,e,n){const r={};for(const o in t)"values"===o&&"object"==typeof t.values||(Hn(o)||!0===n&&qn(o)||!e&&!qn(o)||t.draggable&&o.startsWith("onDrag"))&&(r[o]=t[o]);return r}(n,"string"==typeof e,t),l=e!==yt.Fragment?{...a,...s,ref:r}:{},{children:u}=n,c=(0,yt.useMemo)(()=>(0,zt.S)(u)?u.get():u,[u]);return(0,yt.createElement)(e,{...l,children:c})}}function Zn(t,e){return function(n,{forwardMotionProps:r}={forwardMotionProps:!1}){return Sn({...An(n)?Bn:Un,preloadedFeatures:t,useRender:Xn(r),createVisualElement:e,Component:n})}}var Qn=n(3344),Jn=n(2159);const tr=r(Zn({...E,...sn,...Xe,...an},(t,e)=>An(t)?new Jn.l(e):new Qn.M(e,{allowProjection:t!==yt.Fragment})))},6896:function(t,e,n){"use strict";n.d(e,{q:function(){return r}});const r=(t,e,n)=>{const r=e-t;return 0===r?1:(n-t)/r}},6897:function(t,e,n){"use strict";var r=n(453),o=n(2422),i=n(592)(),s=n(5795),a=n(9675),l=r("%Math.floor%");t.exports=function(t,e){if("function"!=typeof t)throw new a("`fn` is not a function");if("number"!=typeof e||e<0||e>4294967295||l(e)!==e)throw new a("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],r=!0,u=!0;if("length"in t&&s){var c=s(t,"length");c&&!c.configurable&&(r=!1),c&&!c.writable&&(u=!1)}return(r||u||!n)&&(i?o(t,"length",e,!0,!0):o(t,"length",e)),t}},7119:function(t){"use strict";
1t.exports="undefined"!=typeof Reflect&&Reflect&&Reflect.apply},7176:function(t,e,n){"use strict";var r,o=n(3126),i=n(5795);try{r=[].__proto__===Array.prototype}catch(u){if(!u||"object"!=typeof u||!("code"in u)||"ERR_PROTO_ACCESS"!==u.code)throw u}var s=!!r&&i&&i(Object.prototype,"__proto__"),a=Object,l=a.getPrototypeOf;t.exports=s&&"function"==typeof s.get?o([s.get]):"function"==typeof l&&function(t){return l(null==t?t:a(t))}},7177:function(t,e,n){"use strict";function r(t,e){return e?t*(1e3/e):0}n.d(e,{f:function(){return r}})},7312:function(t,e,n){"use strict";n.d(e,{$:function(){return r}});const r=t=>/^0[^.\s]+$/u.test(t)},7331:function(t,e,n){"use strict";n.d(e,{X:function(){return o},f:function(){return r}});const r=t=>1e3*t,o=t=>t/1e3},7365:function(t,e,n){"use strict";n.d(e,{B:function(){return o},K:function(){return i}});var r=n(1712);const o=t=>Boolean(t&&"object"==typeof t&&t.mix&&t.toValue),i=t=>(0,r.p)(t)?t[t.length-1]||0:t},7415:function(t,e,n){"use strict";n.d(e,{d:function(){return s}});var r=n(8062),o=n(9836),i=n(4692);function s(t,e,n,s){(0,o.e)(t,e,void 0,s);for(const o in e.attrs)t.setAttribute(i.e.has(o)?o:(0,r.I)(o),e.attrs[o])}},7519:function(t,e,n){"use strict";n.d(e,{e:function(){return o},y:function(){return i}});var r=n(6540);const o={en:{guide:"Download the guide",readMore:"Read more",prefooter:{body:"Diginnova è il network per la digital innovation che nasce dagli oltre 50 anni di esperienza di Telmotor. I suoi partner sono imprese innovative, che credono nel progresso tecnologico, affrontano le sfide del futuro e si aprono a nuove opportunità di partnership.",project:"A project of",partner:"Partner"},seeProjects:"See all",locale:"en",discoverMore:"Discover more",all:"All",search:"Search",results:"Results",noResults:"No results",download:"Download",latestArticles:"Latest news",sendRequestForm:"Send",requestSent:"Request sent",loading:"Sending...",validationError:"Please answer all questions and accept the privacy policy before submitting the form.",formInputTexts:{privacyPolicy:"I consent to the use of my personal data to be updated on new arrivals, exclusive products and direct marketing purposes related to the services offered and receive proposals in line with my interests through the analysis of my previous purchases",name:"Name*",surname:"Surname*",fullName:"Full name*",company:"Company",address:"Street",city:"City",province:"Province",zipCode:"Zip Code",phone:"Phone",message:"Message"},questionnaire:{title:"Tell us what you think",subtitle:"Answer the questions and fill out the form to tell us what you think about Transition Plans 4.0 and 5.0!",questions:[{id:1,type:"yes_no",question:"Before becoming interested in Transition Plans 4.0 or 5.0, did your company already have innovation investments planned?",options:["YES","NO"]},{id:2,type:"yes_no",question:"If the Plans were not renewed, do you think your company would be held back in its innovation path?",options:["YES","NO"]},{id:3,type:"multiple_choice",question:"Which areas of innovation do you consider most urgent for the future of your company?",options:["Digitization and interconnection of machinery","Process automation with robots and AI","Human skills development","Energy efficiency and sustainability","Network and data security"]}]}},"en-US":{guide:"Download the guide",readMore:"Read more",seeProjects:"See all",prefooter:{body:"Diginnova è il network per la digital innovation che nasce dagli oltre 50 anni di esperienza di Telmotor. I suoi partner sono imprese innovative, che credono nel progresso tecnologico, affrontano le sfide del futuro e si aprono a nuove opportunità di partnership.",project:"A project of",partner:"Partner"},locale:"en-US",discoverMore:"Discover more",all:"All",search:"Search",results:"Results",noResults:"No results",download:"Download",latestArticles:"Latest news",contact:"Contact us",sendRequestForm:"Send",requestSent:"Request sent",loading:"Sending...",copyright:"© 2024 Diginnova - P.IVA 04524160167 - All rights reserved",validationError:"Please answer all questions and accept the privacy policy before submitting the form.",formInputTexts:{privacyPolicy:"I consent to the use of my personal data to be updated on new arrivals, exclusive products and direct marketing purposes related to the services offered and receive proposals in line with my interests through the analysis of my previous purchases",name:"Name*",surname:"Surname*",fullName:"Full name*",company:"Company*",address:"Street",city:"City",province:"Province",zipCode:"Zip Code",phone:"Phone",message:"Message"},questionnaire:{title:"Tell us what you think",subtitle:"Answer the questions and fill out the form to tell us what you think about Transition Plans 4.0 and 5.0!",questions:[{id:1,t
1ype:"yes_no",question:"Before becoming interested in Transition Plans 4.0 or 5.0, did your company already have innovation investments planned?",options:["YES","NO"]},{id:2,type:"yes_no",question:"If the Plans were not renewed, do you think your company would be held back in its innovation path?",options:["YES","NO"]},{id:3,type:"multiple_choice",question:"Which areas of innovation do you consider most urgent for the future of your company?",options:["Digitization and interconnection of machinery","Process automation with robots and AI","Human skills development","Energy efficiency and sustainability","Network and data security"]}]}},it:{guide:"Scarica la guida",readMore:"Leggi di più",prefooter:{body:"Diginnova è il network per la digital innovation che nasce dagli oltre 50 anni di esperienza di Telmotor. I suoi partner sono imprese innovative, che credono nel progresso tecnologico, affrontano le sfide del futuro e si aprono a nuove opportunità di partnership.",project:"Un progetto di",partner:"Partner"},seeProjects:"Vedi tutti",contact:"contattaci",copyright:"© 2024 Diginnova - P.IVA 04524160167 - Tutti i diritti riservati",locale:"it",discoverMore:"Scopri di più",all:"Tutti",search:"Cerca",results:"risultati",noResults:"Nessun risultato",download:"Scarica",latestArticles:"Ultime news",sendRequestForm:"Invia",requestSent:"Richiesta inviata",loading:"Invio in corso...",validationError:"Per favore rispondi a tutte le domande e accetta la privacy policy prima di inviare il form.",formInputTexts:{privacyPolicy:"Acconsento allâuso dei miei dati personali per essere aggiornato sui nuovi arrivi, prodotti in esclusiva e per le finalità di marketing diretto correlate ai servizi offerti e ricevere proposte in linea con i miei interessi attraverso lâanalisi dei miei precedenti acquisti",name:"Nome*",surname:"Cognome*",fullName:"Nome completo*",company:"Azienda",address:"Via",city:"Città ",province:"Provincia",zipCode:"CAP",phone:"Telefono",message:"Messaggio"},questionnaire:{title:"DICCI COSA NE PENSI",subtitle:"Rispondi alle domande e compila il form per dirci cosa ne pensi dei Piani Transizione 4.0 e 5.0!",questions:[{id:1,type:"yes_no",question:"Prima di interessarsi ai Piani Transizione 4.0 o 5.0, la tua azienda aveva già in programma investimenti in innovazione?",options:["SI","NO"]},{id:2,type:"yes_no",question:"Se i Piani non venissero rinnovati, pensi che la tua azienda sarebbe frenata nel suo percorso di innovazione?",options:["SI","NO"]},{id:3,type:"multiple_choice",question:"Quali ambiti di innovazione ritieni più urgenti per il futuro della tua azienda?",options:["Digitalizzazione e interconnessione dei macchinari","Automazione dei processi con robot e AI","Sviluppo delle competenze del personale","Efficientamento energetico e sostenibilità ","Sicurezza delle reti e dei dati"]}]}}},i=r.createContext(o.it)},7549:function(t,e,n){"use strict";n.d(e,{z:function(){return i}});var r=n(8645),o=n(2443);function i(t,{layout:e,layoutId:n}){return o.f.has(t)||t.startsWith("origin")||(e||void 0!==n)&&(!!r.H[t]||"opacity"===t)}},7739:function(t,e,n){"use strict";n.d(e,{y:function(){return s}});var r=n(5252),o=n(2027),i=n(3735);const s={test:t=>i.B.test(t)||r.u.test(t)||o.V.test(t),parse:t=>i.B.test(t)?i.B.parse(t):o.V.test(t)?o.V.parse(t):r.u.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?i.B.transform(t):o.V.transform(t)}},7795:function(t,e,n){"use strict";n.d(e,{h:function(){return r}});const r=t=>Array.isArray(t)&&"number"!=typeof t[0]},7891:function(t,e,n){"use strict";var r=n(3445),o=n(8452);t.exports=function(){var t=r();return o(Object,{entries:t},{entries:function(){return Object.entries!==t}}),t}},8002:function(t){"use strict";t.exports=Math.min},8062:function(t,e,n){"use strict";n.d(e,{I:function(){return r}});const r=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase()},8068:function(t){"use strict";t.exports=SyntaxError},8104:function(t,e,n){"use strict";n.d(e,{$:function(){return o},V:function(){return i}});var r=n(1533);let o=r.l,i=r.l},8221:function(t,e,n){var r=n(3805),o=n(124),i=n(9374),s=Math.max,a=Math.min;t.exports=function(t,e,n){var l,u,c,h,p,d,f=0,m=!1,y=!1,g=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function v(e){var n=l,r=u;
1return l=u=void 0,f=e,h=t.apply(r,n)}function x(t){var n=t-d;return void 0===d||n>=e||n<0||y&&t-f>=c}function b(){var t=o();if(x(t))return w(t);p=setTimeout(b,function(t){var n=e-(t-d);return y?a(n,c-(t-f)):n}(t))}function w(t){return p=void 0,g&&l?v(t):(l=u=void 0,h)}function S(){var t=o(),n=x(t);if(l=arguments,u=this,d=t,n){if(void 0===p)return function(t){return f=t,p=setTimeout(b,e),m?v(t):h}(d);if(y)return clearTimeout(p),p=setTimeout(b,e),v(d)}return void 0===p&&(p=setTimeout(b,e)),h}return e=i(e)||0,r(n)&&(m=!!n.leading,c=(y="maxWait"in n)?s(i(n.maxWait)||0,e):c,g="trailing"in n?!!n.trailing:g),S.cancel=function(){void 0!==p&&clearTimeout(p),f=0,l=d=u=p=void 0},S.flush=function(){return void 0===p?h:w(o())},S}},8288:function(t,e,n){"use strict";n.d(e,{B:function(){return r}});const r="undefined"!=typeof window},8298:function(t,e,n){"use strict";n.d(e,{A:function(){return L}});var r=n(6540),o=n(4794),i=n(7667),s=n(7519),a=n(8221),l=n.n(a),u=n(2879),c=n(6673),h=n(7141),p=n(4029),d=n(2360);const f=[],m=r.createContext(f);var y=n.p+"static/logo-rgb-e2cc53046160598e7c8e06177f339e47.svg",g=n.p+"static/logo-white-351f402f7124f811f9bcc979aaa64f1c.svg",v=n.p+"static/diginnova-white-barra-nera-1652ee626474c5419a0b39dc0bd63a7d.svg",x=n(6884);const b=t=>{let{item:e,locale:n,index:o}=t;const{0:s,1:a}=(0,r.useState)(!1),u=l()(()=>{a(!0)},200);return console.log(n),r.createElement(i.az,{as:"li",key:e.id,sx:{position:"relative",a:{fontSize:[0,1,1,"15px"],paddingX:3,paddingY:3,display:"block",fontWeight:400,borderRadius:"40px",":hover":{fontWeight:500,backgroundColor:"primary",color:"dark",transition:"background-color 200ms ease-out"}},"a.active":{fontWeight:500,backgroundColor:"primary",color:"dark"}},onMouseEnter:()=>u(),onMouseLeave:()=>(a(!1),void u.cancel())},e.link?r.createElement(p.M,{item:e.link,locale:n}):r.createElement(i.az,{sx:{cursor:"default"}},e.anchor),e.treeChildren.length>0&&s&&r.createElement(i.az,{as:"ul",sx:{backgroundColor:"dark",listStyle:"none",padding:3,margin:0,backgroundColor:"lightBackgroun
1d",position:"absolute",top:40,width:"max-content",boxShadow:"0 4px 6px rgb(50 50 93 / 11%), 0 1px 3px rgb(0 0 0 / 8%)",borderRadius:"sm"}},e.treeChildren.map(t=>t.anchor?r.createElement(i.az,{as:"li",key:t.id,sx:{}},t.link?r.createElement(p.M,{item:t.link,locale:n}):r.createElement(i.az,{sx:{cursor:"default"}},t.anchor)):null)))};var w=t=>{let{primaryNav:e,background:n}=t;const{0:o,1:s}=(0,r.useState)(!1),[a,l]=(0,h.G6)(),{0:p,1:f}=(0,r.useState)(!1);console.log(a);const w=(0,r.useContext)(m),S=r.useContext(d.b).activeLocale;function P(){l("dark"===a?"default":"dark"),console.log("toogleColorMode",a)}return w.map(t=>{t.treeChildren.sort((t,e)=>t.position-e.position),t.treeChildren.map(t=>{t.treeChildren.length>0&&t.treeChildren.sort((t,e)=>t.position-e.position)})}),(0,r.useEffect)(()=>{f("dark"===a)},[a]),console.log(a),r.createElement(i.az,{as:"nav",sx:{backgroundColor:!0===e?"primary":"#eeeeee"===n?"lightGrey":"light"}},r.createElement(i.mc,{variant:"header",sx:{paddingX:[3,4]}},r.createElement(i.so,{sx:{flexDirection:"row",justifyContent:"space-between",alignContent:"center",alignItems:"center"}},r.createElement(i.az,{sx:{paddingX:2,paddingY:4}},r.createElement(c.C,{to:(0,u.pt)(S),className:"logo-link"},console.log("imageColormode",a),r.createElement(x.P.img,{initial:{opacity:0}
1,animate:{opacity:1},transition:{duration:.5},src:e?v:p?g:y,alt:"Logo"}))),r.createElement(i.so,{sx:{alignContent:"center",alignItems:"center"}},r.createElement(i.so,{sx:{backgroundColor:"dark",borderRadius:"40px",paddingX:0,paddingY:0,flexDirection:"row",listStyle:"none",a:{textDecoration:"none",letterSpacing:"1px",fontWeight:400,fontSize:[0,1,1,"12px"],textTransform:"uppercase",color:"light"}},as:"ul"},w.map(t=>r.createElement(b,{item:t,locale:S,key:t.id})))),r.createElement(i.az,{sx:{backgroundColor:n?n.hex:!0===e?"primary":"light",borderRadius:"40px",width:"100px",height:"50px",display:"flex",justifyContent:"space-between",alignItems:"center",padding:"0 10px",position:"relative"}},r.createElement(x.P.div,{style:{position:"absolute",right:"25%"}},r.createElement(i.$n,{onClick:()=>P(),sx:{borderColor:"dark",backgroundColor:"dark",borderRadius:"50%",width:"40px",height:"40px","&:hover":{backgroundColor:"dark"}}})),r.createElement(x.P.div,{style:{position:"absolute",left:"0px"}},r.createElement(i.$n,{onClick:()=>P(),sx:{border:"1px solid black",borderColor:"dark",backgroundColor:"light",borderRadius:"50%",width:"40px",height:"40px","&:hover":{backgroundColor:"light"}}}))))))},S=n(2537);const P=[],E=r.createContext(P);var A=t=>{let{primaryNav:e,background:n}=t;const{0:o,1:s}=(0,r.useState)(!1),a=(0,r.useContext)(d.b).activeLocale,l=(0,r.useContext)(m),h=(0,S.l)(),f=(0,r.useContext)(E);console.log(e),f&&f.map(t=>{t.treeChildren.sort((t,e)=>t.position-e.position),t.treeChildren.map(t=>{t.treeChildren.length>0&&t.treeChildren.sort((t,e)=>t.position-e.position)})}),l&&l.map(t=>{t.treeChildren.sort((t,e)=>t.position-e.position),t.treeChildren.map(t=>{t.treeChildren.length>0&&t.treeChildren.sort((t,e)=>t.position-e.position)})});return(0,r.useEffect)(()=>{document.body.style.overflow=o?"hidden":"initial"},[o]),console.log("mediaIndex",h,(0,S.l)()),h<=2?r.createElement(i.az,{sx:{position:"relative",zIndex:1e8,backgroundColor:!0===e?"primary":"#eeeeee"===n?"lightGrey":"light"}},r.createElement(x.P.nav,{initial:"closed",animate:o?"opened":"closed",style:{a:{textTransform:"uppercase"},zIndex:1e5,display:"flex",alignContent:"center",alignItems:"center",justifyContent:"space-between",paddingBottom:"10px",paddingTop:"15px",paddingLeft:"20px",paddingRight:"20px",position:"relative"}},r.createElement(i.az,{sx:{a:{display:"block"}}},r.createElement(c.C,{to:(0,u.pt)(a),className:"logo-link"},r.createElement(i._V,{sx:{height:"40px"},src:e?v:y,alt:"Logo"}))),r.createElement(i.az,{sx:{},onClick:()=>s(!o)},r.createElement(i._V,{sx:{height:"30px",width:"30px"},src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzEiIGhlaWdodD0iMzAiIHZpZXdCb3g9IjAgMCAzMSAzMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3QgeD0iMC4wMTU2MjUiIHk9IjAuMjY5MjI2IiB3aWR0aD0iMzAiIGhlaWdodD0iMjkiIHJ4PSIxNC41IiBmaWxsPSJibGFjayIvPgo8bGluZSB4MT0iNS4wMTU2MiIgeTE9IjExLjc2OTIiIHgyPSIyNS4wMTU2IiB5Mj0iMTEuNzY5MiIgc3Ryb2tlPSJ3aGl0ZSIvPgo8bGluZSB4MT0iNS4wMTU2MiIgeTE9IjE2Ljc2OTIiIHgyPSIyNS4wMTU2IiB5Mj0iMTYuNzY5MiIgc3Ryb2tlPSJ3aGl0ZSIvPgo8L3N2Zz4K"})),r.createElement(x.P.div,{variants:{opened:{y:"0%",zIndex:100,transition:{duration:.5,ease:[.74,0,.19,1.02]}},closed:{y:"-200%",transition:{duration:.6,ease:[.74,0,.19,1.02]}}},style:{zIndex:1e3,position:"fixed",top:"0",left:"0",height:"100vh",width:"100%",display:"flex",flexDirection:"column",padding:"10px",alignItems:"center",backgroundColor:"#9C73FF",overflowY:"auto"}},r.createElement(i.az,{sx:{paddingX:2,paddingY:3,width:"100%",display:"flex",alignItems:"center",alignContent:"center",backgroundColor:"primary",justifyContent:"space-between",a:{textTransform:"uppercase"}}},r.createElement(c.C,{to:(0,u.pt)(a),className:"logo-link"},r.createElement(i._V,{sx:{height:"40px"},src:v,alt:"Logo"})),r.createElement(i.az,{sx:{},onClick:()=>s(!1)},r.createElement(i._V,{sx:{height:"30px",width:"30px"},src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzEiIGhlaWdodD0iMzAiIHZpZXdCb3g9IjAgMCAzMSAzMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMTUuMDE1NiIgY3k9IjE1IiByPSIxNSIgZmlsbD0iYmxhY2siLz4KPGxpbmUgeDE9IjcuNjYyMDciIHkxPSIyMS43ODg2IiB4Mj0iMjEuODA0MiIgeTI9IjcuNjQ2NDYiIHN0cm9rZT0id2hpdGUiLz4KPGxpbmUgeDE9IjguMzY5MTgiIHkxPSI3Ljc4ODU3IiB4Mj0iMjIuNTExMyIgeTI9IjIxLjkzMDciIHN0cm9rZT0id2hpdGUiLz4KPC9zdmc+Cg=="}))),l&&l.length>0&&r.createElement(x.P.ul,{style:{marginTop:[7],listStyle:"none",paddingLeft:"16px",width:"100%",a:{backgroundColor:"dark",textTransform:"uppercase"}}},l.map(t=>r.createElement(x.P.li,{whileTap:{scale:.95},key:"mobile"+t.id,style:{overflowY:"hidden",userSelect:"none"}},r.createElement(x.P.div,{style:{display:"flex",justifyContent:"space-between",textTransform:"capitalize",padding:"15px 0"}},t.link?r.createElement(p.M,{variant:"links.nav",item:t.link,locale:a,sx:{color:"light",backgroundColor:"dark",borderRadius:"80px",textTransform:"uppercase",textDecoration:"none",py:"10px",px:"15px",fontSize:["18px"],"&.active":{color:"light"}}}):r.createElement(i.az,{sx:{cursor:"default"}},t.anchor)))))))):null};var T=t=>{let{locale:e,background:n,primaryNav:o}=t;(0,h.G6)();return console.log(n),console.log(o),r.createElement(i.az,{as:"header",sx:{position:"fixed",width:"100%",zIndex:"9999",fontFamily:"mono"}},r.createElement(i.az,{sx:{display:["none","none","none","block"],zIndex:4}},r.createElement(w,{primaryNav:o,background:n,locale:e})),r.createElement(i.az,{sx:{display:["block","block","block","none"],zIndex:4}},r.createElement(A,{primaryNav:o,background:n,locale:e})))},k=n(8154);var C=t=>{let{siteUrl:e,paths:n}=t;return r.createElement(k.Helmet,null,n.map((t,n)=>r.createElement("link",{rel:"alternate",hreflang:t.locale,href:e+t.value,key:n})),n.map((t,n)=>"en"===t.locale&&r.createElement("link",{rel:"alternate",hreflang:"x-default",href:e+t.value})))};const M=t=>r.createElement(i.so,Object.assign({},t,{sx:{textTransform:"uppercase",flexDirection:"column",margin:0,padding:0,gap:[5,5,3,3],color:"light",color:"light",listStyle:"none",a:{m:0,textDecoration:"none",color:"light",color:"light","&:hover":{textDecoration:"underline"},li:{mb:0,a:{color:"white!important"}}}},as:"ul"})),D=t=>r.createElement(i.az,Object.assign({},t,{as:"li",sx:{fontFamily:"mono",a:{width:"100%"},"&:last-child":{mb:0}}}));var j=()=>{const t=(0,h.G6)();console.log(t[0]);const{0:e,1:n}=(0,r.useState)(!1);(0,r.useEffect)(()=>{"dark"===t[0]?n(!0):n(!1)},[t[0]]);const a=(0,S.l)(),l=(0,r.useContext)(E),u=(0,o.useStaticQuery)("3924682414").allDatoCmsCompany.nodes[0],c=((0,o.useStaticQuery)("2916847889").allDatoCmsSocial.nodes[0],(0,o.useStaticQuery)("116305925").allDatoCmsLocation.nodes,(0,r.useContext)(d.b).activeLocale);return console.log(l),l.map(t=>{t.treeChildren.sort((t,e)=>t.position-e.position),t.treeChildren.map(t=>{t.treeChildren.length>0&&t.treeChildren.sort((t,e)=>t.position-e.position)})}),r.createElement(i.az,{as:"footer",sx:{backgroundColor:"dark",py:[1,1,2,3],color:"light"}},r.createElement(s.y.Consumer,null,t=>r.createElement(r.Fragment,null,r.createElement(i.mc,null,r.createElement(i.xA,{c
1olumns:[1,1,1,"2fr 1fr 1fr 2fr "],gap:[6,5,5,9]},a<=2?r.createElement(r.Fragment,null,l.map(t=>r.createElement(i.so,{sx:{flexDirection:"column"},key:t.id},r.createElement(i.DZ,{sx:{fontSize:"16px",textTransform:"uppercase"}}," ",t.anchor),r.createElement(i.so,{sx:{mt:3,flexDirection:"row",gap:[2,2,2,"21px"],flexWrap:"nowrap",a:{color:"light",color:"light",textDecoration:"none",textTransform:"uppercase",fontFamily:"mono"}}},t.treeChildren.map(t=>r.createElement(r.Fragment,null,t.link?r.createElement(i.az,null,r.createElement(p.M,{item:t.link,locale:c})):t.anchor,t.treeChildren.map(t=>r.createElement(i.az,null,t.link?r.createElement(p.M,{item:t.link,locale:c}):t.anchor))))))),r.createElement(i.so,{sx:{mt:[5,5,5,0],alignItems:"stretch ",flexDirection:"column",gap:4,p:{fontSize:1},"*:first-child":{mt:0}}},r.createElement(i._V,{src:g,sx:{maxWidth:"181px",height:"50px"}}),u.description&&r.createElement(i.EY,{sx:{fontSize:[2],p:{m:"0px!important"}},dangerouslySetInnerHTML:{__html:u.description}}))):r.createElement(r.Fragment,null,r.createElement(i.so,{sx:{alignItems:"stretch ",flexDirection:"column",gap:4,p:{fontSize:1},"*:first-child":{mt:0}}},e?r.createElement(i._V,{src:y,sx:{maxWidth:["50%","50%","300px"]}}):r.createElement(i._V,{src:g,sx:{maxWidth:["50%","50%","300px"]}}),u.description&&r.createElement(i.EY,{sx:{p:{fontSize:"12px",m:"0px!important"}},dangerouslySetInnerHTML:{__html:u.description}})),l.map(t=>r.createElement(M,{key:t.id},r.createElement(i.DZ,{sx:{fontSize:"16px",fontFamily:"mono",fontWeight:"normal"}}," ",t.anchor),t.treeChildren.map(t=>r.createElement(D,null,r.createElement(i.EY,{sx:{display:"block",a:{width:"100%",whiteSpace:"nowrap"}}},t.link?r.createElement(p.M,{item:t.link,locale:c}):t.anchor),r.createElement(M,{key:t.id},t.treeChildren.map(t=>r.createElement(D,null,t.link?r.createElement(p.M,{item:t.link,locale:c}):t.anchor)))))))))),r.createElement(i.mc,{sx:{pb:"0px!important"}},u&&r.createElement(i.az,{sx:{mt:[4,6],color:"light"}},r.createElement(i.EY,{sx:{fontSize:[1,1,2,1],p:{color:"white!important"}}},t.copyright))))))};var V=t=>{let{siteUrl:e,paths:n}=t;const o=r.useContext(d.b).activeLocale;let i=n.find(t=>t.locale===o)?n.find(t=>t.locale===o).value:null;return r.createElement(k.Helmet,null,r.createElement("link",{rel:"canonical",href:e+i}),r.createElement("meta",{property:"og:url",content:e+i}))},I=n.p+"static/telmotor-white-4ab437572fea16d47811133245257819.svg",R=n.p+"static/logo-telmotor-black-2b14e96d97967e293100a5ac0f6349ed.svg",O=n.p+"static/xcelerator-99075cb025e7bd3986636743bfa02832.png";var F=t=>{let{partner:e}=t;const n=(0,h.G6)(),{0:o,1:a}=(0,r.useState)(!1);return(0,r.useEffect)(()=>{"dark"===n[0]?a(!0):a(!1)},[n[0]]),console.log(n[0]),console.log("isDark:",o,"colorMode:",n),r.createElement(i.az,{sx:{backgroundColor:"dark"}},r.createElement(i.mc,{sx:{p:[3,3,3,4],pb:"0px!important"}},r.createElement(s.y.Consumer,null,t=>
1r.createElement(i.xA,{columns:[1,1,"1fr 2fr"],gap:[6,6,6,10],sx:{my:5}},r.createElement(i.so,{sx:{flexDirection:"column",gap:[5,5,3]}},r.createElement(i.EY,{sx:{color:"light",width:"100%"}},t.prefooter.body),r.createElement(i.so,{sx:{flexDirection:["column","column","row"],gap:[4,4,3],justifyContent:"space-between",alignContent:"center",alignItems:"center"}},r.createElement(i.az,{sx:{aspectRatio:1,height:"60px",width:"60px",overflow:"hidden"}},r.createElement(i._V,{sx:{width:"100%",height:"100%"},src:O})),r.createElement(i.EY,{as:"p",sx:{fontSize:3,fontWeight:"bold",color:"light"}},"Partner Siemens Xcelerator"))),r.createElement(i.az,null,r.createElement(i.so,{sx:{gap:[3,3,3],flexDirection:["column","column","row","row"],borderBottom:"2px solid",borderColor:"light",pb:[4,4,5]}},r.createElement(i.EY,{sx:{flex:"1 0 40%",maxWidth:"40%",color:"light",textTransform:"uppercase",fontFamily:"mono",fontWeight:400},as:"h4"},t.prefooter.project),r.createElement(i.az,{sx:{flexBasis:"1 0 60%"}},o?r.createElement(i._V,{sx:{width:["200px"],height:"60px",fill:"light"},src:R}):r.createElement(i._V,{sx:{width:["200px"],height:"60px",fill:"light"},src:I}))),r.createElement(i.so,{sx:{gap:[5,5,5,3],py:[4,4,4,5],flexDirection:["column","column","row","row"]}},r.createElement(i.EY,{sx:{flex:"1 0 40%",maxWidth:"40%",color:"light",textTransform:"uppercase",fontWeight:400,fontFamily:"mono"},as:"h4"},t.prefooter.partner),r.createElement(i.so,{sx:{gap:5,alignContent:"flex-end",alignItems:"flex-end"}},e.nodes.map((t,e)=>r.createElement(i._V,{sx:{},key:e,src:o?t.imageBlack.url:t.image.url,alt:t.title})))))))))};var L=t=>{let{children:e,locale:n,i18nPaths:a,footerData:l,menuData:u,partner:c,background:p="light",primaryNav:f}=t;console.log(p,s.e);(0,h.G6)();const y=(0,o.useStaticQuery)("1523949364");return r.createElement(s.y.Provider,{value:s.e[n]},r.createElement(d.b.Provider,{value:{activeLocale:n,paths:a||[]}},r.createElement(E.Provider,{value:l},r.createElement(m.Provider,{value:u},r.createElement(C,{paths:a,siteUrl:y.gatsbySite.siteMetadata.siteUrl}),r.createElement(V,{siteUrl:y.gatsbySite.siteMetadata.siteUrl,paths:a}),r.createElement(i.so,{sx:{flexDirection:"column",justifyContent:"space-between",minHeight:"100vh",backgroundColor:"dark"}},r.createElement(T,{background:p,locale:n,primaryNav:f}),r.createElement(i.az,{as:"main",sx:{pt:5,backgroundColor:"#eeeeee"===p?"lightGrey":"light",borderBottomLeftRadius:"80px",borderBottomRightRadius:"80px"}},e),r.createElement(F,{partner:c}),r.createElement(j,null))))))}},8426:function(t,e,n){"use strict";n.d(e,{Y:function(){return i}});var r=n(7177);const o=5;function i(t,e,n){const i=Math.max(e-o,0);return(0,r.f)(n-t(i),e-i)}},8448:function(t,e,n){"use strict";function r({top:t,left:e,right:n,bottom:r}){return{x:{min:e,max:n},y:{min:t,max:r}}}function o({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function i(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}n.d(e,{FY:function(){return r},bS:function(){return i},pA:function(){return o}})},8452:function(t,e,n){"use strict";var r=n(1189),o="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),i=Object.prototype.toString,s=Array.prototype.concat,a=n(2422),l=n(592)(),u=function(t,e,n,r){if(e in t)if(!0===r){if(t[e]===n)return}else if("function"!=typeof(o=r)||"[object Function]"!==i.call(o)||!r())return;var o;l?a(t,e,n,!0):a(t,e,n)},c=function(t,e){var n=arguments.length>2?arguments[2]:{},i=r(e);o&&(i=s.call(i,Object.getOwnPropertySymbols(e)));for(var a=0;a<i.length;a+=1)u(t,i[a],e[i[a]],n[i[a]])};c.supportsDescriptors=!!l,t.exports=c},8530:function(t,e,n){"use strict";n.d(e,{I:function(){return s}});var r=n(4668);const o=["read","resolveKeyframes","update","preRender","render","postRender"],i=40;function s(t,e){let n=!1,s=!0;const a={delta:0,timestamp:0,isProcessing:!1},l=()=>n=!0,u=o.reduce((t,e)=>(t[e]=function(t){let e=new Set,n=new Set,r=!1,o=!1;const i=new WeakSet;let s={delta:0,timestamp:0,isProcessing:!1};function a(e){i.has(e)&&(l.schedule(e),t()),e(s)}const l={schedule:(t,o=!1,s=!1)=>{const a=s&&r?e:n;return o&&i.add(t),a.has(t)||a.add(t),t},cancel:t=>{n.delete(t),i.delete(t)},process:t=>{s=t,r?o=!0:(r=!0,[e,n]=[n,e],e.forEach(a),e.clear(),r=!1,o&&(o=!1,l.process(t)))}};return l}(l),t),{}),{read:c,resolveKeyframes:h,update:p,preRender:d,render:f,postRender:m}=u,y=()=>{const o=r.W.useManualTiming?a.timestamp:performance.now();n=!1,a.delta=s?1e3/60:Math.max(Math.min(o-a.timestamp,i),1),a.timestamp=o,a.isProcessing=!0,c.process(a),h.process(a),p.process(a),d.process(a),f.process(a),m.process(a),a.isProcessing=!1,n&&e&&(s=!1,t(y))};return{schedule:o.reduce((e,r)=>{const o=u[r];return e[r]=(e,r=!1,i=!1)=>(n||(n=!0,s=!0,a.isProcessing||t(y)),o.schedule(e,r,i)),e},{}),cancel:t=>{for(let e=0;e<o.length;e++)u[o[e]].cancel(t)},state:a,steps:u}}},8601:function(t,e,n){"use strict";n.d(e,{M:function(){return o}});var r=n(6540);function o(t){const e=(0,r.useRef)(null);return null===e.current&&(e.current=t()),e.current}},8645:function(t,e,n){"use strict";n.d(e,{$:function(){return o},H:function(){return r}});const r={};function o(t){Object.assign(r,t)}},8648:function(t){"use strict";
1t.exports="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null},8875:function(t,e,n){"use strict";var r;if(!Object.keys){var o=Object.prototype.hasOwnProperty,i=Object.prototype.toString,s=n(1093),a=Object.prototype.propertyIsEnumerable,l=!a.call({toString:null},"toString"),u=a.call(function(){},"prototype"),c=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],h=function(t){var e=t.constructor;return e&&e.prototype===t},p={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},d=function(){if("undefined"==typeof window)return!1;for(var t in window)try{if(!p["$"+t]&&o.call(window,t)&&null!==window[t]&&"object"==typeof window[t])try{h(window[t])}catch(e){return!0}}catch(e){return!0}return!1}();r=function(t){var e=null!==t&&"object"==typeof t,n="[object Function]"===i.call(t),r=s(t),a=e&&"[object String]"===i.call(t),p=[];if(!e&&!n&&!r)throw new TypeError("Object.keys called on a non-object");var f=u&&n;if(a&&t.length>0&&!o.call(t,0))for(var m=0;m<t.length;++m)p.push(String(m));if(r&&t.length>0)for(var y=0;y<t.length;++y)p.push(String(y));else for(var g in t)f&&"prototype"===g||!o.call(t,g)||p.push(String(g));if(l)for(var v=function(t){if("undefined"==typeof window||!d)return h(t);try{return h(t)}catch(e){return!1}}(t),x=0;x<c.length;++x)v&&"constructor"===c[x]||!o.call(t,c[x])||p.push(c[x]);return p}}t.exports=r},8968:function(t){"use strict";t.exports=Math.floor},8987:function(t,e,n){"use strict";n.d(e,{f:function(){return pt}});var r=n(4942),o=n(7331),i=n(104),s=n(4668);const a=!1;var l=n(1533),u=n(309),c=n(4768),h=n(4868),p=n(3473),d=n(4582),f=n(4835),m=n(8104),y=n(4552);const g=(t,e)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!y.f.test(t)&&"0"!==t||t.startsWith("url(")));const v=t=>null!==t;function x(t,{repeat:e,repeatType:n="loop"},r){const o=t.filter(v),i=e&&"loop"!==n&&e%2==1?0:o.length-1;return i&&void 0!==r?r:o[i]}class b{constructor({autoplay:t=!0,delay:e=0,type:n="keyframes",repeat:r=0,repeatDelay:o=0,repeatType:i="loop",...s}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=d.k.now(),this.options={autoplay:t,delay:e,type:n,repeat:r,repeatDelay:o,repeatType:i,...s},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(0,f.q)(),this._resolved}onKeyframesResolved(t,e){this.resolvedAt=d.k.now(),this.hasAttemptedResolve=!0;const{name:n,type:o,velocity:i,delay:s,onComplete:l,onUpdate:u,isGenerator:c}=this.options;if(!c&&!function(t,e,n,o){const i=t[0];if(null===i)return!1;if("display"===e||"visibility"===e)return!0;const s=t[t.length-1],a=g(i,e),l=g(s,e);return(0,m.$)(a===l,`You are trying to animate ${e} from "${i}" to "${s}". ${i} is not an animatable value - to enable this animation set ${i} to a value animatable to ${s} via the \`style\` property.`),!(!a||!l)&&(function(t){const e=t[0];if(1===t.length)return!0;for(let n=0;n<t.length;n++)if(t[n]!==e)return!0}(t)||("spring"===n||(0,r.WH)(n))&&o)}(t,n,o,i)){if(a||!s)return u&&u(x(t,this.options,e)),l&&l(),void this.resolveFinishedPromise();this.options.duration=0}const h=this.initPlayback(t,e);!1!==h&&(this._resolved={keyframes:t,finalKeyframe:e,...h},this.onPostResolved())}onPostResolved(){}then(t,e){return this.currentFinishedPromise.then(t,e)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}var w=n(2464),S=n(9713);function P(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}var E=n(5252),A=n(3735),T=n(2027);function k(t,e){return n=>n>0?e:t}const C=(t,e,n)=>{const r=t*t,o=n*(e*e-r)+r;return o<0?0:Math.sqrt(o)},M=[E.u,A.B,T.V];function D(t){const e=(n=t,M.find(t=>t.test(n)));var n;if((0,m.$)(Boolean(e),`'${t}' is not an animatable color. Use the equivalent color code instead.`),!Boolean(e))return!1;let r=e.parse(t);return e===T.V&&(r=function({hue:t,saturation:e,lightness:n,alpha:r}){t/=360,n/=100;let o=0,i=0,s=0;if(e/=100){const r=n<.5?n*(1+e):n+e-n*e,a=2*n-r;o=P(a,r,t+1/3),i=P(a,r,t),s=P(a,r,t-1/3)}else o=i=s=n;return{red:Math.round(255*o),green:Math.round(255*i),blue:Math.round(255*s),alpha:r}}(r)),r}const j=(t,e)=>{const n=D(t),r=D(e);if(!n||!r)return k(t,e);const o={...n};return t=>(o.red=C(n.red,r.red,t),o.green=C(n.green,r.green,t),o.blue=C(n.blue,r.blue,t),o.alpha=(0,S.k)(n.alpha,r.alpha,t),A.B.transform(o))};var V=n(1339),I=n(7739),R=n(568);const O=new Set(["none","hidden"]);function F(t,e){return n=>(0,S.k)(t,e,n)}function L(t){return"number"==typeof t?F:"string"==typeof t?(0,R.p)(t)?k:I.y.test(t)?j:N:Array.isArray(t)?B:"object"==typeof t?I.y.test(t)?j:U:k}function B(t,e){const n=[...t],r=n.length,o=t.map((t,n)=>L(t)(t,e[n]));return t=>{for(let e=0;e<r;e++)n[e]=o[e](t);return n}}function U(t,e){const n={...t,...e},r={};for(const o in n)void 0!==t[o]&&void 0!==e[o]&&(r[o]=L(t[o])(t[o],e[o]));return t=>{for(const e in r)n[e]=r[e](t);return n}}const N=(t,e)=>
1{const n=y.f.createTransformer(e),r=(0,y.V)(t),o=(0,y.V)(e);return r.indexes.var.length===o.indexes.var.length&&r.indexes.color.length===o.indexes.color.length&&r.indexes.number.length>=o.indexes.number.length?O.has(t)&&!o.values.length||O.has(e)&&!r.values.length?function(t,e){return O.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}(t,e):(0,V.F)(B(function(t,e){var n;const r=[],o={color:0,var:0,number:0};for(let i=0;i<e.values.length;i++){const s=e.types[i],a=t.indexes[s][o[s]],l=null!==(n=t.values[a])&&void 0!==n?n:0;r[i]=l,o[s]++}return r}(r,o),o.values),n):((0,m.$)(!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.`),k(t,e))};function $(t,e,n){if("number"==typeof t&&"number"==typeof e&&"number"==typeof n)return(0,S.k)(t,e,n);return L(t)(t,e)}var z=n(6631),W=n(8426);function G({keyframes:t,velocity:e=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:s,min:a,max:l,restDelta:u=.5,restSpeed:c}){const h=t[0],p={done:!1,value:h},d=t=>void 0===a?l:void 0===l||Math.abs(a-t)<Math.abs(l-t)?a:l;let f=n*e;const m=h+f,y=void 0===s?m:s(m);y!==m&&(f=y-h);const g=t=>-f*Math.exp(-t/r),v=t=>y+g(t),x=t=>{const e=g(t),n=v(t);p.done=Math.abs(e)<=u,p.value=p.done?y:n};let b,w;const S=t=>{var e;(e=p.value,void 0!==a&&e<a||void 0!==l&&e>l)&&(b=t,w=(0,z.o)({keyframes:[p.value,d(p.value)],velocity:(0,W.Y)(v,t,p.value),damping:o,stiffness:i,restDelta:u,restSpeed:c}))};return S(0),{calculatedDuration:null,next:t=>{let e=!1;return w||void 0!==b||(e=!0,x(t),S(t)),void 0!==b&&t>=b?w.next(t-b):(!e&&x(t),p)}}}var _=n(3771),q=n(7795),H=n(983),Y=n(6896);function K(t,e,{clamp:n=!0,ease:r,mixer:o}={}){const i=t.length;if((0,m.V)(i===e.length,"Both input and output ranges must be the same length"),1===i)return()=>e[0];if(2===i&&e[0]===e[1])return()=>e[1];const s=t[0]===t[1];t[0]>t[i-1]&&(t=[...t].reverse(),e=[...e].reverse());const a=function(t,e,n){const r=[],o=n||$,i=t.length-1;for(let s=0;s<i;s++){let n=o(t[s],t[s+1]);if(e){const t=Array.isArray(e)?e[s]||l.l:e;n=(0,V.F)(t,n)}r.push(n)}return r}(e,r,o),u=a.length,c=n=>{if(s&&n<t[0])return e[0];let r=0;if(u>1)for(;r<t.length-2&&!(n<t[r+1]);r++);const o=(0,Y.q)(t[r],t[r+1],n);return a[r](o)};return n?e=>c((0,w.q)(t[0],t[i-1],e)):c}var X=n(1899);function Z(t,e){return t.map(()=>e||_.am).splice(0,t.length-1)}function Q({duration:t=300,keyframes:e,times:n,ease:r="easeInOut"}){const o=(0,q.h)(r)?r.map(H.K):(0,H.K)(r),i={done:!1,value:e[0]},s=function(t,e){return t.map(t=>t*e)}(n&&n.length===e.length?n:(0,X.Z)(e),t),a=K(s,e,{ease:Array.isArray(o)?o:Z(e,o)});return{calculatedDuration:t,next:e=>(i.value=a(e),i.done=e>=t,i)}}const J=t=>{const e=({timestamp:e})=>t(e);return{start:()=>i.Gt.update(e,!0),stop:()=>(0,i.WG)(e),now:()=>i.uv.isProcessing?i.uv.timestamp:d.k.now()}},tt={decay:G,inertia:G,tween:Q,keyframes:Q,spring:z.o},et=t=>t/100;class nt extends b{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();const{onStop:t}=this.options;t&&t()};const{name:e,motionValue:n,element:r,keyframes:o}=this.options,i=(null==r?void 0:r.KeyframeResolver)||f.h;this.resolver=new i(o,(t,e)=>this.onKeyframesResolved(t,e),e,n,r),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){const{type:e="keyframes",repeat:n=0,repeatDelay:o=0,repeatType:i,velocity:s=0}=this.options,a=(0,r.WH)(e)?e:tt[e]||Q;let l,u;a!==Q&&"number"!=typeof t[0]&&(l=(0,V.F)(et,$(t[0],t[1])),t=[0,100]);const c=a({...this.options,keyframes:t});"mirror"===i&&(u=a({...this.options,keyframes:[...t].reverse(),velocity:-s})),null===c.calculatedDuration&&(c.calculatedDuration=(0,r.tu)(c));const{calculatedDuration:h}=c,p=h+o;return{generator:c,mirroredGenerator:u,mapPercentToKeyframes:l,calculatedDuration:h,resolvedDuration:p,totalDuration:p*(n+1)-o}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&t?this.state=this.pendingPlayState:this.pause()}tick(t,e=!1){const{resolved:n}=this;if(!n){const{keyframes:t}=this.options;return{done:!0,value:t[t.length-1]}}const{finalKeyframe:r,generator:o,mirroredGenerator:i,mapPercentToKeyframes:s,keyframes:a,calculatedDuration:l,totalDuration:u,resolvedDuration:c}=n;if(null===this.startTime)return o.next(0);const{delay:h,repeat:p,repeatType:d,repeatDelay:f,onUpdate:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-u/this.speed,this.startTime)),e?this.currentTime=t:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const y=this.currentTime-h*(this.speed>=0?1:-1),g=this.speed>=0?y<0:y>u;this.currentTime=Math.max(y,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let v=this.currentTime,b=o;if(p){const t=Math.min(this.currentTime,u)/c;let e=Math.floor(t),n=t%1;!n&&t>=1&&(n=1),1===n&&e--,e=Math.min(e,p+1);Boolean(e%2)&&("reverse"===d?(n=1-n,f&&(n-=f/c)):"mirror"===d&&(b=i)),v=(0,w.q)(0,1,n)*c}const S=g?{done:!1,value:a[0]}:b.next(v);s&&(S.value=s(S.value));let{done:P}=S;g||null===l||(P=this.speed>=0?this.currentTime>=u:this.currentTime<=0);const E=null===this.holdTime&&("finished"===this.state||"running"===this.state&&P);return E&&void 0!==r&&(S.value=x(a,this.options,r)),m&&m(S.value),E&&this.finish(),S}get duration(){const{resolved:t}=this;return t?(0,o.X)(t.calculatedDuration):0}
1get time(){return(0,o.X)(this.currentTime)}set time(t){t=(0,o.f)(t),this.currentTime=t,null!==this.holdTime||0===this.speed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=(0,o.X)(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved)return void(this.pendingPlayState="running");if(this.isStopped)return;const{driver:t=J,onPlay:e,startTime:n}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),e&&e();const r=this.driver.now();null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=r):this.startTime=null!=n?n:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;this._resolved?(this.state="paused",this.holdTime=null!==(t=this.currentTime)&&void 0!==t?t:0):this.pendingPlayState="paused"}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}const rt=new Set(["opacity","clipPath","filter","transform"]);const ot=(0,n(4435).p)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));const it={anticipate:u.b,backInOut:c.ZZ,circInOut:h.tn};class st extends b{constructor(t){super(t);const{name:e,motionValue:n,element:r,keyframes:o}=this.options;this.resolver=new p.K(o,(t,e)=>this.onKeyframesResolved(t,e),e,n,r),this.resolver.scheduleResolve()}initPlayback(t,e){let{duration:n=300,times:o,ease:i,type:s,motionValue:a,name:l,startTime:u}=this.options;if(!a.owner||!a.owner.current)return!1;var c;if("string"==typeof i&&(0,r.nL)()&&i in it&&(i=it[i]),c=this.options,(0,r.WH)(c.type)||"spring"===c.type||!(0,r.yL)(c.ease)){const{onComplete:e,onUpdate:r,motionValue:a,element:l,...u}=this.options,c=function(t,e){const n=new nt({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:t[0]};const o=[];let i=0;for(;!r.done&&i<2e4;)r=n.sample(i),o.push(r.value),i+=10;return{times:void 0,keyframes:o,duration:i-10,ease:"linear"}}(t,u);1===(t=c.keyframes).length&&(t[1]=t[0]),n=c.duration,o=c.times,i=c.ease,s="keyframes"}const h=function(t,e,n,{delay:o=0,duration:i=300,repeat:s=0,repeatType:a="loop",ease:l="easeInOut",times:u}={}){const c={[e]:n};u&&(c.offset=u);const h=(0,r.TU)(l,i);return Array.isArray(h)&&(c.easing=h),t.animate(c,{delay:o,duration:i,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:s+1,direction:"reverse"===a?"alternate":"normal"})}(a.owner.current,l,t,{...this.options,duration:n,times:o,ease:i});return h.startTime=null!=u?u:this.calcStartTime(),this.pendingTimeline?((0,r.vG)(h,this.pendingTimeline),this.pendingTimeline=void 0):h.onfinish=()=>{const{onComplete:n}=this.options;a.set(x(t,this.options,e)),n&&n(),this.cancel(),this.resolveFinishedPromise()},{animation:h,duration:n,times:o,type:s,ease:i,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:e}=t;return(0,o.X)(e)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:e}=t;return(0,o.X)(e.currentTime||0)}set time(t){const{resolved:e}=this;if(!e)return;const{animation:n}=e;n.currentTime=(0,o.f)(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:e}=t;return e.playbackRate}set speed(t){const{resolved:e}=this;if(!e)return;const{animation:n}=e;n.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:e}=t;return e.playState}get startTime(){const{resolved:t}=this;if(!t)return null;const{animation:e}=t;return e.startTime}attachTimeline(t){if(this._resolved){const{resolved:e}=this;if(!e)return l.l;const{animation:n}=e;(0,r.vG)(n,t)}else this.pendingTimeline=t;return l.l}
1play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:e}=t;"finished"===e.playState&&this.updateFinishedPromise(),e.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:e}=t;e.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:t}=this;if(!t)return;const{animation:e,keyframes:n,duration:r,type:i,ease:s,times:a}=t;if("idle"===e.playState||"finished"===e.playState)return;if(this.time){const{motionValue:t,onUpdate:e,onComplete:l,element:u,...c}=this.options,h=new nt({...c,keyframes:n,duration:r,type:i,ease:s,times:a,isGenerator:!0}),p=(0,o.f)(this.time);t.setWithVelocity(h.sample(p-10).value,h.sample(p).value,10)}const{onStop:l}=this.options;l&&l(),this.cancel()}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:e,name:n,repeatDelay:r,repeatType:o,damping:i,type:s}=t;if(!(e&&e.owner&&e.owner.current instanceof HTMLElement))return!1;const{onUpdate:a,transformTemplate:l}=e.owner.getProps();return ot()&&n&&rt.has(n)&&!a&&!l&&!r&&"mirror"!==o&&0!==i&&"inertia"!==s}}var at=n(2443);const lt={type:"spring",stiffness:500,damping:25,restSpeed:10},ut={type:"keyframes",duration:.8},ct={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ht=(t,{keyframes:e})=>e.length>2?ut:at.f.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:lt:ct;const pt=(t,e,n,l={},u,c)=>h=>{const p=(0,r.rU)(l,t)||{},d=p.delay||l.delay||0;let{elapsed:f=0}=l;f-=(0,o.f)(d);let m={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...p,delay:-f,onUpdate:t=>{e.set(t),p.onUpdate&&p.onUpdate(t)},onComplete:()=>{h(),p.onComplete&&p.onComplete()},name:t,motionValue:e,element:c?void 0:u};(function({when:t,delay:e,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:i,repeatType:s,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length})(p)||(m={...m,...ht(t,m)}),m.duration&&(m.duration=(0,o.f)(m.duration)),m.repeatDelay&&(m.repeatDelay=(0,o.f)(m.repeatDelay)),void 0!==m.from&&(m.keyframes[0]=m.from);let y=!1;if((!1===m.type||0===m.duration&&!m.repeatDelay)&&(m.duration=0,0===m.delay&&(y=!0)),(a||s.W.skipAnimations)&&(y=!0,m.duration=0,m.delay=0),y&&!c&&void 0!==e.get()){const t=x(m.keyframes,p);if(void 0!==t)return i.Gt.update(()=>{m.onUpdate(t),m.onComplete()}),new r.P6([])}return!c&&st.supports(m)?new st(m):new nt(m)}},9290:function(t){"use strict";t.exports=RangeError},9298:function(t,e,n){"use strict";n.d(e,{O:function(){return u}});var r=n(568);const o=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var i=n(5309),s=n(2443);const a={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},l=s.U.length;function u(t,e,n){const{style:u,vars:c,transformOrigin:h}=t;let p=!1,d=!1;for(const a in e){const t=e[a];if(s.f.has(a))p=!0;else if((0,r.j)(a))c[a]=t;else{const e=o(t,i.W[a]);a.startsWith("origin")?(d=!0,h[a]=e):u[a]=e}}if(e.transform||(p||n?u.transform=function(t,e,n){let r="",u=!0;for(let c=0;c<l;c++){const l=s.U[c],h=t[l];if(void 0===h)continue;let p=!0;if(p="number"==typeof h?h===(l.startsWith("scale")?1:0):0===parseFloat(h),!p||n){const t=o(h,i.W[l]);p||(u=!1,r+=`${a[l]||l}(${t}) `),n&&(e[l]=t)}}return r=r.trim(),n?r=n(e,u?"":r):u&&(r="none"),r}(e,t.transform,n):u.transform&&(u.transform="none")),d){const{originX:t="50%",originY:e="50%",originZ:n=0}=h;u.transformOrigin=`${t} ${e} ${n}`}}},9325:function(t,e,n){var r=n(4840),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},9350:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},9353:function(t){"use strict";var e=Object.prototype.toString,n=Math.max,r=function(t,e){for(var n=[],r=0;r<t.length;r+=1)n[r]=t[r];for(var o=0;o<e.length;o+=1)n[o+t.length]=e[o];return n};t.exports=function(t){var o=this;if("function"!=typeof o||"[object Function]"!==e.apply(o))throw new TypeError("Function.prototype.bind called on incompatible "+o);for(var i,s=function(t,e){for(var n=[],r=e||0,o=0;r<t.length;r+=1,o+=1)n[o]=t[r];return n}
1(arguments,1),a=n(0,o.length-s.length),l=[],u=0;u<a;u++)l[u]="$"+u;if(i=Function("binder","return function ("+function(t,e){for(var n="",r=0;r<t.length;r+=1)n+=t[r],r+1<t.length&&(n+=e);return n}(l,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof i){var e=o.apply(this,r(s,arguments));return Object(e)===e?e:this}return o.apply(t,r(s,arguments))}),o.prototype){var c=function(){};c.prototype=o.prototype,i.prototype=new c,c.prototype=null}return i}},9374:function(t,e,n){var r=n(4128),o=n(3805),i=n(4394),s=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,l=/^0o[0-7]+$/i,u=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(i(t))return NaN;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=r(t);var n=a.test(t);return n||l.test(t)?u(t.slice(2),n?2:8):s.test(t)?NaN:+t}},9383:function(t){"use strict";t.exports=Error},9538:function(t){"use strict";t.exports=ReferenceError},9612:function(t){"use strict";t.exports=Object},9652:function(t,e,n){"use strict";n.d(e,{i:function(){return r}});const r=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)},9675:function(t){"use strict";t.exports=TypeError},9713:function(t,e,n){"use strict";n.d(e,{k:function(){return r}});const r=(t,e,n)=>t+(e-t)*n},9836:function(t,e,n){"use strict";function r(t,{style:e,vars:n},r,o){Object.assign(t.style,e,o&&o.getProjectionStyles(r));for(const i in n)t.style.setProperty(i,n[i])}n.d(e,{e:function(){return r}})},9896:function(t,e,n){"use strict";n.d(e,{S:function(){return r}});const r=t=>Boolean(t&&t.getVelocity)},9957:function(t,e,n){"use strict";var r=Function.prototype.call,o=Object.prototype.hasOwnProperty,i=n(6743);t.exports=i.call(r,o)}}]); 2//# sourceMappingURL=5fa6f59c827e9606bb64a306351dc5f8f2f3fdc6-4448d253be7512ce98e4.js.map
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.