1"use strict";(self.webpackChunkhjart_lungfonden=self.webpackChunkhjart_lungfonden||[]).push([[917],{215:function(t,e,n){n.d(e,{n:function(){return r}});var r="data-"+(0,n(42129).I)("framerAppearId")},568:function(t,e,n){n.d(e,{K:function(){return i}});var r=n(61636);function i(t,e,n){var i=t.getProps();return(0,r.a)(i,e,void 0!==n?n:i.custom,t)}},980:function(t,e,n){n.d(e,{OQ:function(){return f}});var r=n(65156),i=n(52602),o=n(39971),a=n(34893),s=n(11920),u=n(90469),c={current:void 0},l=function(){function t(e){var n=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,r.A)(this,t),this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=o.k.now();n.updatedAt!==r&&n.setPrevFrameValue(),n.prev=n.current,n.setCurrent(t),n.current!==n.prev&&n.events.change&&n.events.change.notify(n.current),e&&n.events.renderRequest&&n.events.renderRequest.notify(n.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=i.owner}return(0,i.A)(t,[{key:"setCurrent",value:function(t){var e;this.current=t,this.updatedAt=o.k.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=(e=this.current,!isNaN(parseFloat(e))))}},{key:"setPrevFrameValue",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.current;this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}},{key:"onChange",value:function(t){return this.on("change",t)}},{key:"on",value:function(t,e){var n=this;this.events[t]||(this.events[t]=new a.v);var r=this.events[t].add(e);return"change"===t?function(){r(),u.Gt.read((function(){n.events.change.getSize()||n.stop()}))}:r}},{key:"clearListeners",value:function(){for(var t in this.events)this.events[t].clear()}},{key:"attach",value:function(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}},{key:"set",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}},{key:"setWithVelocity",value:function(t,e,n){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-n}},{key:"jump",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}},{key:"get",value:function(){return c.current&&c.current.push(this),this.current}},{key:"getPrevious",value:function(){return this.prev}},{key:"getVelocity",value:function(){var t=o.k.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;var e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,s.f)(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}},{key:"start",value:function(t){var e=this;return this.stop(),new Promise((function(n){e.hasAnimated=!0,e.animation=t(n),e.events.animationStart&&e.events.animationStart.notify()})).then((function(){e.events.animationComplete&&e.events.animationComplete.notify(),e.clearAnimation()}))}},{key:"stop",value:function(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}},{key:"isAnimating",value:function(){return!!this.animation}},{key:"clearAnimation",value:function(){delete this.animation}},{key:"destroy",value:function(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}]),t}();function f(t,e){return new l(t,e)}},4213:function(t,e,n){n.d(e,{S:function(){return r}});var r=function(t){return Boolean(t&&t.getVelocity)}},5022:function(t,e,n){function r(t){var e;return function(){return void 0===e&&(e=t()),e}}n.d(e,{p:function(){return r}})},6727:function(t,e,n){n.d(e,{E4:function(){return a},Hr:function(){return p},W9:function(){return f}});var r=n(46385),i=n(52264),o=n(30344),a=function(t){return t===r.ai||t===i.px},s=function(t,e){return parseFloat(t.split(", ")[e])},u=function(t,e){return function(n,r){var i=r.transform;if("none"===i||!i)return 0;var o=i.match(/^matrix3d\(((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)\)$/);if(o)return s(o[1],e);var a=i.match(/^matrix\(((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)\)$/);return a?s(a[1],t):0}},c=new Set(["x","y","z"]),l=o.U.filter((function(t){return!c.has(t)}));function f(t){var e=[];return l.forEach((function(n){var r=t.getValue(n);void 0!==r&&(e.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))})),e}var p={width:function(t,e){var n=t.x,r=e.paddingLeft,i=void 0===r?"0":r,o=e.paddingRight,a=void 0===o?"0":o;return n.max-n.min-parseFloat(i)-parseFloat(a)},height:function(t,e){var n=t.y,r=e.paddingTop,i=void 0===r?"0":r,o=e.paddingBottom,a=void 0===o?"0":o;return n.max-n.min-parseFloat(i)-parseFloat(a)},top:function(t,e){var n=e.top;return parseFloat(n)},left:function(t,e){var n=e.left;return parseFloat(n)},bottom:function(t,e){var n=t.y,r=e.top;return parseFloat(r)+(n.max-n.min)},right:function(t,e){var n=t.x,r=e.left;return parseFloat(r)+(n.max-n.min)},x:u(4,13),y:u(5,14)};p.translateX=p.x,p.translateY=p.y},7467:function(t,e,n){n.d(e,{p:function(){return p}});var r=n(61630),i=n(77493),o=n(19900),a=n(77756);function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function u(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?s(Object(n),!0).forEach((function(e){(0,r.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var c=new Set(["brightness","contrast","saturate","opacity"]);function l(t){var e=t.slice(0,-1).split("("),n=(0,i.A)(e,2),r=n[0],o=n[1];if("drop-shadow"===r)return t;var s=o.match(a.S)||[],u=(0,i.A)(s,1)[0];if(!u)return t;var l=o.replace(u,""),f=c.has(r)?1:0;return u!==o&&(f*=100),r+"("+f+l+")"}var f=/\b([\x2Da-z]*)\((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?\)/g,p=u(u({},o.f),{},{getAnimatableNone:function(t){var e=t.match(f);return e?e.map(l).join(" "):t}})},8105:function(t,e,n){n.d(e,{q:function(){return r}});var r=function(t,e,n){return n>e?e:n<t?t:n}},10323:function(t,e,n){function r(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}n.d(e,{N:function(){return r}})},10415:function(t,e,n){n.d(e,{J:function(){return a}});var r=n(19900),i=n(7467),o=n(85282);function a(t,e){var n=(0,o.D)(t);return n!==i.p&&(n=r.f),n.getAnimatableNone?n.getAnimatableNone(e):void 0}},11920:function(t,e,n){function r(t,e){return e?t*(1e3/e):0}n.d(e,{f:function(){return r}})},12179:function(t,e,n){n.d(e,{O:function(){return c}});var r=n(79003),i=function(t,e){return e&&"number"==typeof t?e.transform(t):t},o=n(92801),a=n(30344),s={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},u=a.U.length;function c(t,e,n){var c=t.style,l=t.vars,f=t.transformOrigin,p=!1,h=!1;for(var v in e){var d=e[v];if(a.f.has(v))p=!0;else if((0,r.j)(v))l[v]=d;else{var m=i(d,o.W[v]);v.startsWith("origin")?(h=!0,f[v]=m):c[v]=m}}if(e.transform||(p||n?c.transform=function(t,e,n){for(var r="",c=!0,l=0;l<u;l++){var f=a.U[l],p=t[f];if(void 0!==p){var h=!0;if(!(h="number"==typeof p?p===(f.startsWith("scale")?1:0):0===parseFloat(p))||n){var v=i(p,o.W[f]);if(!h){c=!1;var d=s[f]||f;r+="".concat(d,"(").concat(v,") ")}n&&(e[f]=v)}}}return r=r.trim(),n?r=n(e,c?"":r):c&&(r="none"),r}(e,t.transform,n):c.transform&&(c.transform="none")),h){var y=f.originX,g=void 0===y?"50%":y,b=f.originY,x=void 0===b?"50%":b,O=f.originZ,w=void 0===O?0:O;c.transformOrigin="".concat(g," ").concat(x," ").concat(w)}}},13414:function(t,e,n){function r(t){return t instanceof SVGElement&&"svg"!==t.tagName}n.d(e,{x:function(){return r}})},14841:function(t,e,n){n.d(e,{q:function(){return r}});var r=function(t,e,n){var r=e-t;return 0===r?1:(n-t)/r}},15383:function(t,e,n){n.d(e,{$:function(){return r}});var r=function(t){return/^0(?:[\0-\x08\x0E-\x1F!-\x2D\/-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+$/.test(t)}},16360:function(t,e,n){n.d(e,{h:function(){return d},q:function(){return v}});var r=n(43045),i=n(65156),o=n(52602),a=n(77493),s=n(6727),u=n(90469),c=new Set,l=!1,f=!1;function p(){if(f){var t=Array.from(c).filter((function(t){return t.needsMeasurement})),e=new Set(t.map((function(t){return t.element}))),n=new Map;e.forEach((function(t){var e=(0,s.W9)(t);e.length&&(n.set(t,e),t.render())})),t.forEach((function(t){return t.measureInitialState()})),e.forEach((function(t){t.render();var e=n.get(t);e&&e.forEach((function(e){var n,r=(0,a.A)(e,2),i=r[0],o=r[1];null===(n=t.getValue(i))||void 0===n||n.set(o)}))})),t.forEach((function(t){return t.measureEndState()})),t.forEach((function(t){void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)}))}f=!1,l=!1,c.forEach((function(t){return t.complete()})),c.clear()}function h(){c.forEach((function(t){t.readKeyframes(),t.needsMeasurement&&(f=!0)}))}function v(){h(),p()}var d=function(){function t(e,n,o,a,s){var u=arguments.length>5&&void 0!==arguments[5]&&arguments[5];(0,i.A)(this,t),this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=(0,r.A)(e),this.onComplete=n,this.name=o,this.motionValue=a,this.element=s,this.isAsync=u}return(0,o.A)(t,[{key:"scheduleResolve",value:function(){this.isScheduled=!0,this.isAsync?(c.add(this),l||(l=!0,u.Gt.read(h),u.Gt.resolveKeyframes(p))):(this.readKeyframes(),this.complete())}},{key:"readKeyframes",value:function(){for(var t=this.unresolvedKeyframes,e=this.name,n=this.element,r=this.motionValue,i=0;i<t.length;i++)if(null===t[i])if(0===i){var o=null==r?void 0:r.get(),a=t[t.length-1];if(void 0!==o)t[0]=o;else if(n&&e){var s=n.readValue(e,a);null!=s&&(t[0]=s)}void 0===t[0]&&(t[0]=a),r&&void 0===o&&r.set(t[0])}else t[i]=t[i-1]}},{key:"setFinalKeyframe",value:function(){}},{key:"measureInitialState",value:function(){}},{key:"renderEndStyles",value:function(){}},{key:"measureEndState",value:function(){}},{key:"complete",value:function(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),c.delete(this)}},{key:"cancel",value:function(){this.isComplete||(this.isScheduled=!1,c.delete(this))}},{key:"resume",value:function(){this.isComplete||this.scheduleResolve()}}]),t}()},16415:function(t,e,n){n.d(e,{I:function(){return a}});var r=n(21959);var i=["read","resolveKeyframes","update","preRender","render","postRender"],o=40;function a(t,e){var n=!1,a=!0,s={delta:0,timestamp:0,isProcessing:!1},u=function(){return n=!0},c=i.reduce((function(t,e){return t[e]=function(t){var e=new Set,n=new Set,r=!1,i=!1,o=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1};function s(e){o.has(e)&&(u.schedule(e),t()),e(a)}var u={schedule:function(t){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2]&&r?e:n;return arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&o.add(t),i.has(t)||i.add(t),t},cancel:function(t){n.delete(t),o.delete(t)},process:function(t){if(a=t,r)i=!0;else{r=!0;var o=[n,e];
1n=o[1],(e=o[0]).forEach(s),e.clear(),r=!1,i&&(i=!1,u.process(t))}}};return u}(u),t}),{}),l=c.read,f=c.resolveKeyframes,p=c.update,h=c.preRender,v=c.render,d=c.postRender,m=function i(){var u=r.W.useManualTiming?s.timestamp:performance.now();n=!1,s.delta=a?1e3/60:Math.max(Math.min(u-s.timestamp,o),1),s.timestamp=u,s.isProcessing=!0,l.process(s),f.process(s),p.process(s),h.process(s),v.process(s),d.process(s),s.isProcessing=!1,n&&e&&(a=!1,t(i))},y=i.reduce((function(e,r){var i=c[r];return e[r]=function(e){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return n||(n=!0,a=!0,s.isProcessing||t(m)),i.schedule(e,r,o)},e}),{});return{schedule:y,cancel:function(t){for(var e=0;e<i.length;e++)c[i[e]].cancel(t)},state:s,steps:c}}},16497:function(t,e,n){n.d(e,{G:function(){return r}});var r=function(t){return function(e){return 1-t(1-e)}}},19310:function(t,e,n){n.d(e,{d:function(){return a}});var r=n(42129),i=n(86723),o=n(94822);function a(t,e,n,a){for(var s in(0,i.e)(t,e,void 0,a),e.attrs)t.setAttribute(o.e.has(s)?s:(0,r.I)(s),e.attrs[s])}},19900:function(t,e,n){n.d(e,{V:function(){return h},f:function(){return y}});var r=n(59918),i=/(?:#[0-9a-f]{3,8}|(?:rgb|h[s\u017F]l)a?\((?:\x2D?[\.0-9]+%?[\t-\r ,\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+){2}\x2D?[\.0-9]+%?[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(?:[,\/][\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*)?(?:\b[0-9]+(?:\.[0-9]+)?|\.[0-9]+)?%?\))/gi,o=n(77756),a=n(61289);var s="number",u="color",c="var",l="var(",f="${}",p=/var[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*\([\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*\x2D\x2D(?:[\x2D0-9A-Z_a-z\u017F\u212A]+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*|[\x2D0-9A-Z_a-z\u017F\u212A]+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*,(?:[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(?:(?![\t-\r \(\)\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uD800-\uDFFF\uFEFF])[\s\S]|[\uD800-\uDBFF][\uDC00-\uDFFF])|[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*\((?:(?:(?![\(\)\uD800-\uDFFF])[\s\S]|[\uD800-\uDBFF][\uDC00-\uDFFF])|\((?:(?![\(\)\uD800-\uDFFF])[\s\S]|[\uD800-\uDBFF][\uDC00-\uDFFF])*\))*\))+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*)\)|#[0-9a-f]{3,8}|(?:rgb|h[s\u017F]l)a?\((?:\x2D?[\.0-9]+%?[\t-\r ,\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+){2}\x2D?[\.0-9]+%?[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(?:[,\/][\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*)?(?:\b[0-9]+(?:\.[0-9]+)?|\.[0-9]+)?%?\)|\x2D?(?:[0-9]+(?:\.[0-9]+)?|\.[0-9]+)/gi;function h(t){var e=t.toString(),n=[],i={color:[],number:[],var:[]},o=[],a=0,h=e.replace(p,(function(t){return r.y.test(t)?(i.color.push(a),o.push(u),n.push(r.y.parse(t))):t.startsWith(l)?(i.var.push(a),o.push(c),n.push(t)):(i.number.push(a),o.push(s),n.push(parseFloat(t))),++a,f})).split(f);return{values:n,split:h,indexes:i,types:o}}function v(t){return h(t).values}function d(t){var e=h(t),n=e.split,i=e.types,o=n.length;return function(t){for(var e="",c=0;c<o;c++)if(e+=n[c],void 0!==t[c]){var l=i[c];e+=l===s?(0,a.a)(t[c]):l===u?r.y.transform(t[c]):t[c]}return e}}var m=function(t){return"number"==typeof t?0:t};var y={test:function(t){var e,n;return isNaN(t)&&"string"==typeof t&&((null===(e=t.match(o.S))||void 0===e?void 0:e.length)||0)+((null===(n=t.match(i))||void 0===n?void 0:n.length)||0)>0},parse:v,createTransformer:d,getAnimatableNone:function(t){var e=v(t);return d(t)(e.map(m))}}},20370:function(t,e,n){n.d(e,{l:function(){return x}});var r=n(65156),i=n(52602),o=n(55478),a=n(86828),s=n(74369),u=n(18751),c=n(27337),l=n(59130),f=n(42129),p=n(85282),h=n(30344),v=n(55046),d=n(94822),m=n(79952),y=n(19310),g=n(90036);function b(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(b=function(){return!!t})()}var x=function(t){(0,a.A)(x,t);var e,n,l=(e=x,n=b(),function(){var t,r=(0,u.A)(e);if(n){var i=(0,u.A)(this).constructor;t=Reflect.construct(r,arguments,i)}else t=r.apply(this,arguments);return(0,s.A)(this,t)});function x(){var t;return(0,r.A)(this,x),(t=l.apply(this,arguments)).type="svg",t.isSVGTag=!1,t.measureInstanceViewportBox=c.ge,t}return(0,i.A)(x,[{key:"getBaseTargetFromProps",value:function(t,e){return t[e]}},{key:"readValueFromInstance",value:function(t,e){if(h.f.has(e)){var n=(0,p.D)(e);return n&&n.default||0}return e=d.e.has(e)?e:(0,f.I)(e),t.getAttribute(e)}},{key:"scrapeMotionValuesFromProps",value:function(t,e,n){return(0,g.x)(t,e,n)}}
1,{key:"build",value:function(t,e,n){(0,v.B)(t,e,this.isSVGTag,n.transformTemplate)}},{key:"renderInstance",value:function(t,e,n,r){(0,y.d)(t,e,n,r)}},{key:"mount",value:function(t){this.isSVGTag=(0,m.n)(t.tagName),(0,o.A)((0,u.A)(x.prototype),"mount",this).call(this,t)}}]),x}(l.b)},21128:function(t,e,n){n.d(e,{z:function(){return o}});var r=n(37618),i=n(30344);function o(t,e){var n=e.layout,o=e.layoutId;return i.f.has(t)||t.startsWith("origin")||(n||void 0!==o)&&(!!r.H[t]||"opacity"===t)}},21613:function(t,e,n){n.d(e,{po:function(){return o},tn:function(){return s},yT:function(){return a}});var r=n(28352),i=n(16497),o=function(t){return 1-Math.sin(Math.acos(t))},a=(0,i.G)(o),s=(0,r.V)(o)},21959:function(t,e,n){n.d(e,{W:function(){return r}});var r={skipAnimations:!1,useManualTiming:!1}},22261:function(t,e,n){n.d(e,{x:function(){return o}});var r=n(21128),i=n(4213);function o(t,e,n){var o,a=t.style,s={};for(var u in a)((0,i.S)(a[u])||e.style&&(0,i.S)(e.style[u])||(0,r.z)(u,t)||void 0!==(null===(o=null==n?void 0:n.getValue(u))||void 0===o?void 0:o.liveStyle))&&(s[u]=a[u]);return s}},24249:function(t,e,n){n.d(e,{P:function(){return i}});var r=n(215);function i(t){return t.props[r.n]}},24394:function(t,e,n){n.d(e,{M:function(){return y}});var r=n(65156),i=n(52602),o=n(86828),a=n(74369),s=n(18751),u=n(63602),c=n(59130),l=n(79003),f=n(85282),p=n(12179),h=n(30344),v=n(86723),d=n(22261);function m(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(m=function(){return!!t})()}var y=function(t){(0,o.A)(y,t);var e,n,c=(e=y,n=m(),function(){var t,r=(0,s.A)(e);if(n){var i=(0,s.A)(this).constructor;t=Reflect.construct(r,arguments,i)}else t=r.apply(this,arguments);return(0,a.A)(this,t)});function y(){var t;return(0,r.A)(this,y),(t=c.apply(this,arguments)).type="html",t.renderInstance=v.e,t}return(0,i.A)(y,[{key:"readValueFromInstance",value:function(t,e){if(h.f.has(e)){var n=(0,f.D)(e);return n&&n.default||0}var r,i=(r=t,window.getComputedStyle(r)),o=((0,l.j)(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof o?o.trim():o}},{key:"measureInstanceViewportBox",value:function(t,e){var n=e.transformPagePoint;return(0,u.m)(t,n)}},{key:"build",value:function(t,e,n){(0,p.O)(t,e,n.transformTemplate)}},{key:"scrapeMotionValuesFromProps",value:function(t,e,n){return(0,d.x)(t,e,n)}}]),y}(c.b)},26996:function(t,e,n){n.d(e,{l:function(){return r}});var r=function(t){return t}},27337:function(t,e,n){n.d(e,{ge:function(){return i},xU:function(){return r}});var r=function(){return{x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}},i=function(){return{x:{min:0,max:0},y:{min:0,max:0}}}},28352:function(t,e,n){n.d(e,{V:function(){return r}});var r=function(t){return function(e){return e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2}}},28476:function(t,e,n){n.d(e,{C:function(){return r}});var r=new WeakMap},29070:function(t,e,n){n.d(e,{K:function(){return D}});var r=n(77493),i=n(65156),o=n(52602),a=n(55478),s=n(86828),u=n(74369),c=n(18751),l=n(15383);var f=n(39369),p=n(19900),h=n(10415);function v(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return d(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}
1var m=new Set(["auto","none","0"]);var y=n(16360),g=n(81137),b=n(71477),x=n(79003),O=/^var\(\x2D\x2D(?:([\x2D0-9A-Z_a-z]+)|([\x2D0-9A-Z_a-z]+), ?([ #%\(\),-\.0-9A-Za-z]+))\)/;function w(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;(0,g.V)(n<=4,'Max CSS variable fallback depth detected in property "'.concat(t,'". This may indicate a circular fallback dependency.'));var i=function(t){var e=O.exec(t);if(!e)return[,];var n=(0,r.A)(e,4),i=n[1],o=n[2],a=n[3];return["--".concat(null!=i?i:o),a]}(t),o=(0,r.A)(i,2),a=o[0],s=o[1];if(a){var u=window.getComputedStyle(e).getPropertyValue(a);if(u){var c=u.trim();return(0,b.i)(c)?parseFloat(c):c}return(0,x.p)(s)?w(s,e,n+1):s}}var P=n(6727),A=n(85587);function j(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(j=function(){return!!t})()}var D=function(t){(0,s.A)(y,t);var e,n,d=(e=y,n=j(),function(){var t,r=(0,c.A)(e);if(n){var i=(0,c.A)(this).constructor;t=Reflect.construct(r,arguments,i)}else t=r.apply(this,arguments);return(0,u.A)(this,t)});function y(t,e,n,r,o){return(0,i.A)(this,y),d.call(this,t,e,n,r,o,!0)}return(0,o.A)(y,[{key:"readKeyframes",value:function(){var t=this.unresolvedKeyframes,e=this.element,n=this.name;if(e&&e.current){(0,a.A)((0,c.A)(y.prototype),"readKeyframes",this).call(this);for(var i=0;i<t.length;i++){var o=t[i];if("string"==typeof o&&(o=o.trim(),(0,x.p)(o))){var s=w(o,e.current);void 0!==s&&(t[i]=s),i===t.length-1&&(this.finalKeyframe=o)}}if(this.resolveNoneKeyframes(),f.$.has(n)&&2===t.length){var u=(0,r.A)(t,2),l=u[0],p=u[1],h=(0,A.n)(l),v=(0,A.n)(p);if(h!==v)if((0,P.E4)(h)&&(0,P.E4)(v))for(var d=0;d<t.length;d++){var m=t[d];"string"==typeof m&&(t[d]=parseFloat(m))}else this.needsMeasurement=!0}}}},{key:"resolveNoneKeyframes",value:function(){for(var t,e=this.unresolvedKeyframes,n=this.name,r=[],i=0;i<e.length;i++)("number"==typeof(t=e[i])?0===t:null===t||"none"===t||"0"===t||(0,l.$)(t))&&r.push(i);r.length&&function(t,e,n){for(var r=0,i=void 0;r<t.length&&!i;){var o=t[r];"string"==typeof o&&!m.has(o)&&(0,p.V)(o).values.length&&(i=t[r]),r++}if(i&&n){var a,s=v(e);try{for(s.s();!(a=s.n()).done;)t[a.value]=(0,h.J)(n,i)}catch(u){s.e(u)}finally{s.f()}}}(e,r,n)}},{key:"measureInitialState",value:function(){var t=this.element,e=this.unresolvedKeyframes,n=this.name;if(t&&t.current){"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=P.Hr[n](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;var r=e[e.length-1];void 0!==r&&t.getValue(n,r).jump(r,!1)}}},{key:"measureEndState",value:function(){var t,e=this.element,n=this.name,i=this.unresolvedKeyframes;if(e&&e.current){var o=e.getValue(n);o&&o.jump(this.measuredOrigin,!1);var a=i.length-1,s=i[a];i[a]=P.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((function(t){var n=(0,r.A)(t,2),i=n[0],o=n[1];e.getValue(i).set(o)})),this.resolveNoneKeyframes()}}}]),y}(y.h)},30344:function(t,e,n){n.d(e,{U:function(){return r},f:function(){return i}});var r=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],i=new Set(r)},32529:function(t,e,n){n.d(e,{p:function(){return r}});var r=function(t){return Array.isArray(t)}},34893:function(t,e,n){n.d(e,{v:function(){return a}});var r=n(65156),i=n(52602),o=n(76363),a=function(){function t(){(0,r.A)(this,t),this.subscriptions=[]}return(0,i.A)(t,[{key:"add",value:function(t){var e=this;return(0,o.Kq)(this.subscriptions,t),function(){return(0,o.Ai)(e.subscriptions,t)}}},{key:"notify",value:function(t,e,n){var r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](t,e,n);else for(var i=0;i<r;i++){var o=this.subscriptions[i];o&&o(t,e,n)}}},{key:"getSize",value:function(){return this.subscriptions.length}},{key:"clear",value:function(){this.subscriptions.length=0}}]),t}()},37618:function(t,e,n){n.d(e,{$:function(){return i},H:function(){return r}});var r={};function i(t){Object.assign(r,t)}},39369:function(t,e,n){n.d(e,{$:function(){return o}});var r=n(43045),i=n(30344),o=new Set(["width","height","top","left","right","bottom"].concat((0,r.A)(i.U)))},39519:function(t,e,n){n.d(e,{z:function(){return a}});var r=n(980),i=n(4213),o=n(65183);function a(t,e,n){var a=(0,i.S)(t)?t:(0,r.OQ)(t);return a.start((0,o.f)("",a,e,n)),a.animation}},39822:function(t,e,n){n.d(e,{A:function(){return Si}});var r=n(5944),i=n(79071),o=n(75128),a=n.n(o),s=n(96540),u=n(58076);function c(t){var e=(0,s.useRef)(null);return null===e.current&&(e.current=t()),e.current}var l=n(71835);function f(){var t,e=c((function(){return{current:null,animations:[]}})),n=c((function(){return(0,l.W)(e)}));return t=function(){e.animations.forEach((function(t){return t.stop()}))},(0,s.useEffect)((function(){return function(){return t()}}),[]),[e,n]}function p(t){if("undefined"==typeof Proxy)return t;var e=new Map;return new Proxy((function(){return t.apply(void 0,arguments)}),{get:function(n,r){return"create"===r?t:(e.has(r)||e.set(r,t(r)),e.get(r))}})}var h=n(61630),v=n(65156),d=n(52602),m=n(86828),y=n(74369),g=n(18751),b=n(10323),x=n(88491),O=n(43045),w=n(32529);function P(t,e){if(!Array.isArray(e))return!1;var n=e.length;if(n!==t.length)return!1;for(var r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}var A=n(39962),j=n(568),D=n(50787),k=n(78642),E=n(77493);n(35231);function S(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function F(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?S(Object(n),!0).forEach((function(e){(0,h.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function T(t,e){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=(0,j.K)(t,e,"exit"===r.type?null===(n=t.presenceContext)||void 0===n?void 0:n.custom:void 0),o=(i||{}).transition,a=void 0===o?t.getDefaultTransition()||{}:o;r.transitionOverride&&(a=r.transitionOverride);var s=i?function(){return Promise.all((0,k.$)(t,i,r))}:function(){return Promise.resolve()},u=t.variantChildren&&t.variantChildren.size?function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,i=a,o=i.delayChildren,s=void 0===o?0:o,u=i.staggerChildren,c=i.staggerDirection;return function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=arguments.length>5?arguments[5]:void 0,a=[],s=(t.variantChildren.size-1)*r,u=1===i?function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)*r}:function(){return s-(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)*r};
1return Array.from(t.variantChildren).sort(C).forEach((function(t,r){t.notify("AnimationStart",e),a.push(T(t,e,F(F({},o),{},{delay:n+u(r)})).then((function(){return t.notify("AnimationComplete",e)})))})),Promise.all(a)}(t,e,s+n,u,c,r)}:function(){return Promise.resolve()},c=a.when;if(c){var l="beforeChildren"===c?[s,u]:[u,s],f=(0,E.A)(l,2),p=f[0],h=f[1];return p().then((function(){return h()}))}return Promise.all([s(),u(r.delay)])}function C(t,e){return t.sortNodePosition(e)}var M=D._.length;function V(t){if(t){if(!t.isControllingVariants){var e=t.parent&&V(t.parent)||{};return void 0!==t.props.initial&&(e.initial=t.props.initial),e}for(var n={},r=0;r<M;r++){var i=D._[r],o=t.props[i];((0,A.w)(o)||!1===o)&&(n[i]=o)}return n}}var B=["transition","transitionEnd"];function R(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function L(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?R(Object(n),!0).forEach((function(e){(0,h.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):R(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var I=(0,O.A)(D.U).reverse(),U=D.U.length;function N(t){return function(e){return Promise.all(e.map((function(e){var n=e.animation,r=e.options;return function(t,e){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t.notify("AnimationStart",e),Array.isArray(e)){var i=e.map((function(e){return T(t,e,r)}));n=Promise.all(i)}else if("string"==typeof e)n=T(t,e,r);else{var o="function"==typeof e?(0,j.K)(t,e,r.custom):e;n=Promise.all((0,k.$)(t,o,r))}return n.then((function(){t.notify("AnimationComplete",e)}))}(t,n,r)})))}}function W(t){var e=N(t),n=G(),r=!0;function i(i){for(var o=t.props,a=V(t.parent)||{},s=[],u=new Set,c={},l=1/0,f=function(){var e=I[p],f=n[e],h=void 0!==o[e]?o[e]:a[e],v=(0,A.w)(h),d=e===i?f.isActive:null;!1===d&&(l=p);var m=h===a[e]&&h!==o[e]&&v;if(m&&r&&t.manuallyAnimateOnMount&&(m=!1),f.protectedKeys=L({},c),!f.isActive&&null===d||!h&&!f.prevProp||(0,b.N)(h)||"boolean"==typeof h)return 1;var y=function(t,e){if("string"==typeof e)return e!==t;if(Array.isArray(e))return!P(e,t);return!1}(f.prevProp,h),g=y||e===i&&f.isActive&&!m&&v||p>l&&v,D=!1,k=Array.isArray(h)?h:[h],E=k.reduce(function(e){return function(n,r){var i,o=(0,j.K)(t,r,"exit"===e?null===(i=t.presenceContext)||void 0===i?void 0:i.custom:void 0);if(o){o.transition;var a=o.transitionEnd,s=(0,x.A)(o,B);n=L(L(L({},n),s),a)}return n}}(e),{});!1===d&&(E={});var S=f.prevResolvedValues,F=void 0===S?{}:S,T=L(L({},F),E),C=function(e){g=!0,u.has(e)&&(D=!0,u.delete(e)),f.needsAnimating[e]=!0;var n=t.getValue(e);n&&(n.liveStyle=!1)};for(var M in T){var V=E[M],R=F[M];if(!c.hasOwnProperty(M)){((0,w.p)(V)&&(0,w.p)(R)?!P(V,R):V!==R)?null!=V?C(M):u.add(M):void 0!==V&&u.has(M)?C(M):f.protectedKeys[M]=!0}}f.prevProp=h,f.prevResolvedValues=E,f.isActive&&(c=L(L({},c),E)),r&&t.blockInitialAnimation&&(g=!1),g&&(!(m&&y)||D)&&s.push.apply(s,(0,O.A)(k.map((function(t){return{animation:t,options:{type:e}}}))))},p=0;p<U;p++)f();if(u.size){var h={};u.forEach((function(e){var n=t.getBaseTarget(e),r=t.getValue(e);r&&(r.liveStyle=!0),h[e]=null!=n?n:null})),s.push({animation:h})}var v=Boolean(s.length);return!r||!1!==o.initial&&o.initial!==o.animate||t.manuallyAnimateOnMount||(v=!1),r=!1,v?e(s):Promise.resolve()}return{animateChanges:i,setActive:function(e,r){var o;if(n[e].isActive===r)return Promise.resolve();null===(o=t.variantChildren)||void 0===o||o.forEach((function(t){var n;return null===(n=t.animationState)||void 0===n?void 0:n.setActive(e,r)})),n[e].isActive=r;var a=i(e);for(var s in n)n[s].protectedKeys={};return a},setAnimateFunction:function(n){e=n(t)},getState:function(){return n},reset:function(){n=G(),r=!0}}}function H(){return{isActive:arguments.length>0&&void 0!==arguments[0]&&arguments[0],protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function G(){return{animate:H(!0),whileInView:H(),whileHover:H(),whileTap:H(),whileDrag:H(),whileFocus:H(),exit:H()}}var z=function(){function t(e){(0,v.A)(this,t),this.isMounted=!1,this.node=e}return(0,d.A)(t,[{key:"update",value:function(){}}]),t}();function _(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(_=function(){return!!t})()}var K=function(t){(0,m.A)(i,t);var e,n,r=(e=i,n=_(),function(){var t,r=(0,g.A)(e);if(n){var i=(0,g.A)(this).constructor;t=Reflect.construct(r,arguments,i)}else t=r.apply(this,arguments);return(0,y.A)(this,t)});function i(t){var e;return(0,v.A)(this,i),e=r.call(this,t),t.animationState||(t.animationState=W(t)),e}return(0,d.A)(i,[{key:"updateAnimationControlsSubscription",value:function(){var t=this.node.getProps().animate;(0,b.N)(t)&&(this.unmountControls=t.subscribe(this.node))}},{key:"mount",value:function(){this.updateAnimationControlsSubscription()}},{key:"update",value:function(){this.node.getProps().animate!==(this.node.prevProps||{}).animate&&this.updateAnimationControlsSubscription()}},{key:"unmount",value:function(){var t;this.node.animationState.reset(),null===(t=this.unmountControls)||void 0===t||t.call(this)}}]),i}(z);function X(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(X=function(){return!!t})()}var Y=0,q=function(t){(0,m.A)(i,t);var e,n,r=(e=i,n=X(),function(){var t,r=(0,g.A)(e);if(n){var i=(0,g.A)(this).constructor;t=Reflect.construct(r,arguments,i)}else t=r.apply(this,arguments);return(0,y.A)(this,t)});function i(){var t;return(0,v.A)(this,i),(t=r.apply(this,arguments)).id=Y++,t}return(0,d.A)(i,[{key:"update",value:function(){var t=this;if(this.node.presenceContext){var e=this.node.presenceContext,n=e.isPresent,r=e.onExitComplete,i=(this.node.prevPresenceContext||{}).isPresent;if(this.node.animationState&&n!==i){var o=this.node.animationState.setActive("exit",!n);r&&!n&&o.then((function(){return r(t.id)}))}}}},{key:"mount",value:function(){var t=(this.node.presenceContext||{}).register;
1t&&(this.unmount=t(this.id))}},{key:"unmount",value:function(){}}]),i}(z),$={animation:{Feature:K},exit:{Feature:q}},Z=n(26996),Q=n(81137),J=n(50992),tt=n(75032);function et(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{passive:!0};return t.addEventListener(e,n,r),function(){return t.removeEventListener(e,n)}}function nt(t){return{point:{x:t.pageX,y:t.pageY}}}function rt(t,e,n,r){return et(t,e,function(t){return function(e){return(0,J.Mc)(e)&&t(e,nt(e))}}(n),r)}var it=function(t,e){return Math.abs(t-e)};var ot=n(65104),at=n(90469);function st(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ut(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?st(Object(n),!0).forEach((function(e){(0,h.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):st(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var ct=function(){function t(e,n){var r=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=i.transformPagePoint,a=i.contextWindow,s=i.dragSnapToOrigin,u=void 0!==s&&s;if((0,v.A)(this,t),this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=function(){if(r.lastMoveEvent&&r.lastMoveEventInfo){var t,e,n,i,o=pt(r.lastMoveEventInfo,r.history),a=null!==r.startEvent,s=(t=o.offset,e={x:0,y:0},n=it(t.x,e.x),i=it(t.y,e.y),Math.sqrt(Math.pow(n,2)+Math.pow(i,2))>=3);if(a||s){var u=o.point,c=at.uv.timestamp;r.history.push(ut(ut({},u),{},{timestamp:c}));var l=r.handlers,f=l.onStart,p=l.onMove;a||(f&&f(r.lastMoveEvent,o),r.startEvent=r.lastMoveEvent),p&&p(r.lastMoveEvent,o)}}},this.handlePointerMove=function(t,e){r.lastMoveEvent=t,r.lastMoveEventInfo=lt(e,r.transformPagePoint),at.Gt.update(r.updatePoint,!0)},this.handlePointerUp=function(t,e){r.end();var n=r.handlers,i=n.onEnd,o=n.onSessionEnd,a=n.resumeAnimation;if(r.dragSnapToOrigin&&a&&a(),r.lastMoveEvent&&r.lastMoveEventInfo){var s=pt("pointercancel"===t.type?r.lastMoveEventInfo:lt(e,r.transformPagePoint),r.history);r.startEvent&&i&&i(t,s),o&&o(t,s)}},(0,J.Mc)(e)){this.dragSnapToOrigin=u,this.handlers=n,this.transformPagePoint=o,this.contextWindow=a||window;var c=lt(nt(e),this.transformPagePoint),l=c.point,f=at.uv.timestamp;this.history=[ut(ut({},l),{},{timestamp:f})];var p=n.onSessionStart;p&&p(e,pt(c,this.history)),this.removeListeners=(0,ot.F)(rt(this.contextWindow,"pointermove",this.handlePointerMove),rt(this.contextWindow,"pointerup",this.handlePointerUp),rt(this.contextWindow,"pointercancel",this.handlePointerUp))}}return(0,d.A)(t,[{key:"updateHandlers",value:function(t){this.handlers=t}},{key:"end",value:function(){this.removeListeners&&this.removeListeners(),(0,at.WG)(this.updatePoint)}}]),t}();function lt(t,e){return e?{point:e(t.point)}:t}function ft(t,e){return{x:t.x-e.x,y:t.y-e.y}}function pt(t,e){var n=t.point;return{point:n,delta:ft(n,vt(e)),offset:ft(n,ht(e)),velocity:dt(e,.1)}}function ht(t){return t[0]}function vt(t){return t[t.length-1]}function dt(t,e){if(t.length<2)return{x:0,y:0};for(var n=t.length-1,r=null,i=vt(t);n>=0&&(r=t[n],!(i.timestamp-r.timestamp>(0,tt.f)(e)));)n--;if(!r)return{x:0,y:0};var o=(0,tt.X)(i.timestamp-r.timestamp);if(0===o)return{x:0,y:0};var a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function mt(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}var yt=n(14841),gt=n(47350);function bt(t){return t.max-t.min}function xt(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5;t.origin=r,t.originPoint=(0,gt.k)(e.min,e.max,t.origin),t.scale=bt(n)/bt(e),t.translate=(0,gt.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 Ot(t,e,n,r){xt(t.x,e.x,n.x,r?r.originX:void 0),xt(t.y,e.y,n.y,r?r.originY:void 0)}function wt(t,e,n){t.min=n.min+e.min,t.max=t.min+bt(e)}function Pt(t,e,n){t.min=e.min-n.min,t.max=t.min+bt(e)}function At(t,e,n){Pt(t.x,e.x,n.x),Pt(t.y,e.y,n.y)}var jt=n(8105);function Dt(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 kt(t,e){var n=e.min-t.min,r=e.max-t.max;if(e.max-e.min<t.max-t.min){var i=[r,n];n=i[0],r=i[1]}return{min:n,max:r}}var Et=.35;function St(t,e,n){return{min:Ft(t,e),max:Ft(t,n)}}function Ft(t,e){return"number"==typeof t?t:t[e]||0}var Tt=n(27337);function Ct(t){return[t("x"),t("y")]}var Mt=n(63602),Vt=n(93307),Bt=n(52264),Rt=n(65183),Lt=function(t){var e=t.current;return e?e.ownerDocument.defaultView:null},It=n(42938);function Ut(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Nt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?Ut(Object(n),!0).forEach((function(e){(0,h.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ut(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Wt=new WeakMap,Ht=function(){function t(e){(0,v.A)(this,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,Tt.ge)(),this.visualElement=e}return(0,d.A)(t,[{key:"start",value:function(t){var e=this,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).snapToCursor,r=void 0!==n&&n,i=this.visualElement.presenceContext;if(!i||!1!==i.isPresent){var o=this.getProps().dragSnapToOrigin;this.panSession=new ct(t,{onSessionStart:function(t){e.getProps().dragSnapToOrigin?e.pauseAnimation():e.stopAnimation(),r&&e.snapToCursor(nt(t).point)},onStart:function(t,n){var r=e.getProps(),i=r.drag,o=r.dragPropagation,a=r.onDragStart;if(!i||o||(e.openDragLock&&e.openDragLock(),e.openDragLock=(0,J.Wp)(i),e.openDragLock)){e.isDragging=!0,e.currentDirection=null,e.resolveConstraints(),e.visualElement.projection&&(e.visualElement.projection.isAnimationBlocked=!0,e.visualElement.projection.target=void 0),Ct((function(t){var n=e.getAxisMotionValue(t).get()||0;if(Bt.KN.test(n)){var r=e.visualElement.projection;if(r&&r.layout){var i=r.layout.layoutBox[t];if(i)n=bt(i)*(parseFloat(n)/100)}}e.originPoint[t]=n})),a&&at.Gt.postRender((function(){return a(t,n)})),(0,It.g)(e.visualElement,"transform");var s=e.visualElement.animationState;s&&s.setActive("whileDrag",!0)}},onMove:function(t,n){var r=e.getProps(),i=r.dragPropagation,o=r.dragDirectionLock,a=r.onDirectionLock,s=r.onDrag;if(i||e.openDragLock){var u=n.offset;if(o&&null===e.currentDirection)return e.currentDirection=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,n=null;Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x");return n}(u),void(null!==e.currentDirection&&a&&a(e.currentDirection));e.updateAxis("x",n.point,u),e.updateAxis("y",n.point,u),e.visualElement.render(),s&&s(t,n)}},onSessionEnd:function(t,n){return e.stop(t,n)},resumeAnimation:function(){return Ct((function(t){var n;return"paused"===e.getAnimationState(t)&&(null===(n=e.getAxisMotionValue(t).animation)||void 0===n?void 0:n.play())}))}},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:o,contextWindow:Lt(this.visualElement)})}}},{key:"stop",value:function(t,e){var n=this.isDragging;if(this.cancel(),n){var r=e.velocity;this.startAnimation(r);var i=this.getProps().onDragEnd;i&&at.Gt.postRender((function(){return i(t,e)}))}}},{key:"cancel",value:function(){this.isDragging=!1;var t=this.visualElement,e=t.projection,n=t.animationState;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0,!this.getProps().dragPropagation&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}},{key:"updateAxis",value:function(t,e,n){var r=this.getProps().drag;if(n&&Gt(t,r,this.currentDirection)){var i,o,a,s,u,c=this.getAxisMotionValue(t),l=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(i=l,o=this.constraints[t],a=this.elastic[t],s=o.min,u=o.max,void 0!==s&&i<s?i=a?(0,gt.k)(s,i,a.min):Math.max(i,s):void 0!==u&&i>u&&(i=a?(0,gt.k)(u,i,a.max):Math.min(i,u)),l=i),c.set(l)}}},{key:"resolveConstraints",value:function(){var t,e,n,r,i,o,a,s=this,u=this.getProps(),c=u.dragConstraints,l=u.dragElastic,f=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(t=this.visualElement.projection)||void 0===t?void 0:t.layout,p=this.constraints;c&&mt(c)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!c||!f)&&(e=f.layoutBox,r=(n=c).top,i=n.left,o=n.bottom,a=n.right,{x:Dt(e.x,i,a),y:Dt(e.y,r,o)}),this.elastic=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Et;return!1===t?t=0:!0===t&&(t=Et),{x:St(t,"left","right"),y:St(t,"top","bottom")}}(l),p!==this.constraints&&f&&this.constraints&&!this.hasMutatedConstraints&&Ct((function(t){!1!==s.constraints&&s.getAxisMotionValue(t)&&(s.constraints[t]=function(t,e){var n={};return void 0!==e.min&&(n.min=e.min-t.min),void 0!==e.max&&(n.max=e.max-t.min),n}(f.layoutBox[t],s.constraints[t]))}))}},{key:"resolveRefConstraints",value:function(){var t=this.getProps(),e=t.dragConstraints,n=t.onMeasureDragConstraints;if(!e||!mt(e))return!1;var r=e.current;(0,Q.V)(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");var i=this.visualElement.projection;if(!i||!i.layout)return!1;var o=(0,Mt.L)(r,i.root,this.visualElement.getTransformPagePoint()),a=function(t,e){return{x:kt(t.x,e.x),y:kt(t.y,e.y)}}(i.layout.layoutBox,o);if(n){var s=n((0,Vt.pA)(a));this.hasMutatedConstraints=!!s,s&&(a=(0,Vt.FY)(s))}return a}},{key:"startAnimation",value:function(t){var e=this,n=this.getProps(),r=n.drag,i=n.dragMomentum,o=n.dragElastic,a=n.dragTransition,s=n.dragSnapToOrigin,u=n.onDragTransitionEnd,c=this.constraints||{},l=Ct((function(n){if(Gt(n,r,e.currentDirection)){var u=c&&c[n]||{};s&&(u={min:0,max:0});var l=o?200:1e6,f=o?40:1e7,p=Nt(Nt({type:"inertia",velocity:i?t[n]:0,bounceStiffness:l,bounceDamping:f,timeConstant:750,restDelta:1,restSpeed:10},a),u);return e.startAxisValueAnimation(n,p)}}));return Promise.all(l).then(u)}},{key:"startAxisValueAnimation",value:function(t,e){var n=this.getAxisMotionValue(t);return(0,It.g)(this.visualElement,t),n.start((0,Rt.f)(t,n,0,e,this.visualElement,!1))}},{key:"stopAnimation",value:function(){var t=this;Ct((function(e){return t.getAxisMotionValue(e).stop()}))}},{key:"pauseAnimation",value:function(){var t=this;Ct((function(e){var n;return null===(n=t.getAxisMotionValue(e).animation)||void 0===n?void 0:n.pause()}))}},{key:"getAnimationState",value:function(t){var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.state}},{key:"getAxisMotionValue",value:function(t){var e="_drag".concat(t.toUpperCase()),n=this.visualElement.getProps(),r=n[e];return r||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}},{key:"snapToCursor",value:function(t){var e=this;Ct((function(n){if(Gt(n,e.getProps().drag,e.currentDirection)){var r=e.visualElement.projection,i=e.getAxisMotionValue(n);if(r&&r.layout){var o=r.layout.layoutBox[n],a=o.min,s=o.max;i.set(t[n]-(0,gt.k)(a,s,.5))}}}))}},{key:"scalePositionWithinConstraints",value:function(){var t=this;if(this.visualElement.current){var e=this.getProps(),n=e.drag,r=e.dragConstraints,i=this.visualElement.projection;if(mt(r)&&i&&this.constraints){this.stopAnimation();var o={x:0,y:0};Ct((function(e){var n,r,i,a,s,u=t.getAxisMotionValue(e);if(u&&!1!==t.constraints){var c=u.get();o[e]=(n={min:c,max:c},r=t.constraints[e],i=.5,a=bt(n),(s=bt(r))>a?i=(0,yt.q)(r.min,r.max-a,n.min):a>s&&(i=(0,yt.q)(n.min,n.max-s,r.min)),(0,jt.q)(0,1,i))}}));var a=this.visualElement.getProps().transformTemplate;this.visualElement.current.style.transform=a?a({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),Ct((function(e){if(Gt(e,n,null)){var r=t.getAxisMotionValue(e),i=t.constraints[e],a=i.min,s=i.max;r.set((0,gt.k)(a,s,o[e]))}}))}}}},{key:"addListeners",value:function(){var t=this;if(this.visualElement.current){Wt.set(this.visualElement,this);var e=rt(this.visualElement.current,"pointerdown",(function(e){var n=t.getProps(),r=n.drag,i=n.dragListener;r&&(void 0===i||i)&&t.start(e)})),n=function(){var e=t.getProps().dragConstraints;mt(e)&&e.current&&(t.constraints=t.resolveRefConstraints())},r=this.visualElement.projection,i=r.addEventListener("measure",n);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),at.Gt.read(n);var o=et(window,"resize",(function(){return t.scalePositionWithinConstraints()})),a=r.addEventListener("didUpdate",(function(e){var n=e.delta,r=e.hasLayoutChanged;t.isDragging&&r&&(Ct((function(e){var r=t.getAxisMotionValue(e);r&&(t.originPoint[e]+=n[e].translate,r.set(r.get()+n[e].translate))})),t.visualElement.render())}));return function(){o(),e(),i(),a&&a()}}}},{key:"getProps",value:function(){var t=this.visualElement.getProps(),e=t.drag,n=void 0!==e&&e,r=t.dragDirectionLock,i=void 0!==r&&r,o=t.dragPropagation,a=void 0!==o&&o,s=t.dragConstraints,u=void 0!==s&&s,c=t.dragElastic,l=void 0===c?Et:c,f=t.dragMomentum,p=void 0===f||f;return Nt(Nt({},t),{},{drag:n,dragDirectionLock:i,dragPropagation:a,dragConstraints:u,dragElastic:l,dragMomentum:p})}}]),t}();function Gt(t,e,n){return!(!0!==e&&e!==t||null!==n&&n!==t)}function zt(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(zt=function(){return!!t})()}var _t=function(t){(0,m.A)(i,t);var e,n,r=(e=i,n=zt(),function(){var t,r=(0,g.A)(e);if(n){var i=(0,g.A)(this).constructor;t=Reflect.construct(r,arguments,i)}else t=r.apply(this,arguments);return(0,y.A)(this,t)});function i(t){var e;return(0,v.A)(this,i),(e=r.call(this,t)).removeGroupControls=Z.l,e.removeListeners=Z.l,e.controls=new Ht(t),e}return(0,d.A)(i,[{key:"mount",value:function(){var t=this.node.getProps().dragControls;t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Z.l}},{key:"unmount",value:function(){this.removeGroupControls(),this.removeListeners()}}]),i}(z);function Kt(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Kt=function(){return!!t})()}var Xt=function(t){return function(e,n){t&&at.Gt.postRender((function(){return t(e,n)}))}},Yt=function(t){(0,m.A)(i,t);var e,n,r=(e=i,n=Kt(),function(){var t,r=(0,g.A)(e);if(n){var i=(0,g.A)(this).constructor;t=Reflect.construct(r,arguments,i)}else t=r.apply(this,arguments);return(0,y.A)(this,t)});function i(){var t;return(0,v.A)(this,i),(t=r.apply(this,arguments)).removePointerDownListener=Z.l,t}return(0,d.A)(i,[{key:"onPointerDown",value:function(t){this.session=new ct(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Lt(this.node)})}},{key:"createPanHandlers",value:function(){var t=this,e=this.node.getProps(),n=e.onPanSessionStart,r=e.onPanStart,i=e.onPan,o=e.onPanEnd;return{onSessionStart:Xt(n),onStart:Xt(r),onMove:i,onEnd:function(e,n){delete t.session,o&&at.Gt.postRender((function(){return o(e,n)}))}}}},{key:"mount",value:function(){var t=this;this.removePointerDownListener=rt(this.node.current,"pointerdown",(function(e){return t.onPointerDown(e)}))}},{key:"update",value:function(){this.session&&this.session.updateHandlers(this.createPanHandlers())}},{key:"unmount",value:function(){this.removePointerDownListener(),this.session&&this.session.end()}}]),i}
1(z),qt=n(74848),$t=(0,s.createContext)(null);var Zt=(0,s.createContext)({}),Qt=(0,s.createContext)({}),Jt={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function te(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}var ee={correct:function(t,e){if(!e.target)return t;if("string"==typeof t){if(!Bt.px.test(t))return t;t=parseFloat(t)}var n=te(t,e.target.x),r=te(t,e.target.y);return"".concat(n,"% ").concat(r,"%")}},ne=n(19900),re={correct:function(t,e){var n=e.treeScale,r=e.projectionDelta,i=t,o=ne.f.parse(t);if(o.length>5)return i;var a=ne.f.createTransformer(t),s="number"!=typeof o[0]?1:0,u=r.x.scale*n.x,c=r.y.scale*n.y;o[0+s]/=u,o[1+s]/=c;var l=(0,gt.k)(u,c,.5);return"number"==typeof o[2+s]&&(o[2+s]/=l),"number"==typeof o[3+s]&&(o[3+s]/=l),a(o)}},ie=n(37618),oe=(0,n(16415).I)(queueMicrotask,!1),ae=oe.schedule;oe.cancel;function se(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ue(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?se(Object(n),!0).forEach((function(e){(0,h.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):se(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ce(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(ce=function(){return!!t})()}var le=function(t){(0,m.A)(i,t);var e,n,r=(e=i,n=ce(),function(){var t,r=(0,g.A)(e);if(n){var i=(0,g.A)(this).constructor;t=Reflect.construct(r,arguments,i)}else t=r.apply(this,arguments);return(0,y.A)(this,t)});function i(){return(0,v.A)(this,i),r.apply(this,arguments)}return(0,d.A)(i,[{key:"componentDidMount",value:function(){var t=this,e=this.props,n=e.visualElement,r=e.layoutGroup,i=e.switchLayoutGroup,o=e.layoutId,a=n.projection;(0,ie.$)(pe),a&&(r.group&&r.group.add(a),i&&i.register&&o&&i.register(a),a.root.didUpdate(),a.addEventListener("animationComplete",(function(){t.safeToRemove()})),a.setOptions(ue(ue({},a.options),{},{onExitComplete:function(){return t.safeToRemove()}}))),Jt.hasEverUpdated=!0}},{key:"getSnapshotBeforeUpdate",value:function(t){var e=this,n=this.props,r=n.layoutDependency,i=n.visualElement,o=n.drag,a=n.isPresent,s=i.projection;return s?(s.isPresent=a,o||t.layoutDependency!==r||void 0===r?s.willUpdate():this.safeToRemove(),t.isPresent!==a&&(a?s.promote():s.relegate()||at.Gt.postRender((function(){var t=s.getStack();t&&t.members.length||e.safeToRemove()}))),null):null}},{key:"componentDidUpdate",value:function(){var t=this,e=this.props.visualElement.projection;e&&(e.root.didUpdate(),ae.postRender((function(){!e.currentAnimation&&e.isLead()&&t.safeToRemove()})))}},{key:"componentWillUnmount",value:function(){var t=this.props,e=t.visualElement,n=t.layoutGroup,r=t.switchLayoutGroup,i=e.projection;i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}},{key:"safeToRemove",value:function(){var t=this.props.safeToRemove;t&&t()}},{key:"render",value:function(){return null}}]),i}(s.Component);function fe(t){var e=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=(0,s.useContext)($t);if(null===e)return[!0,null];var n=e.isPresent,r=e.onExitComplete,i=e.register,o=(0,s.useId)();(0,s.useEffect)((function(){t&&i(o)}),[t]);var a=(0,s.useCallback)((function(){return t&&r&&r(o)}),[o,r,t]);return!n&&r?[!1,a]:[!0]}(),n=(0,E.A)(e,2),r=n[0],i=n[1],o=(0,s.useContext)(Zt);return(0,qt.jsx)(le,ue(ue({},t),{},{layoutGroup:o,switchLayoutGroup:(0,s.useContext)(Qt),isPresent:r,safeToRemove:i}))}var pe={borderRadius:ue(ue({},ee),{},{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:ee,borderTopRightRadius:ee,borderBottomLeftRadius:ee,borderBottomRightRadius:ee,boxShadow:re},he=n(39519),ve=n(24249),de=n(39971),me=n(13414),ye=n(76363),ge=function(t,e){return t.depth-e.depth},be=function(){function t(){(0,v.A)(this,t),this.children=[],this.isDirty=!1}return(0,d.A)(t,[{key:"add",value:function(t){(0,ye.Kq)(this.children,t),this.isDirty=!0}},{key:"remove",value:function(t){(0,ye.Ai)(this.children,t),this.isDirty=!0}}
1,{key:"forEach",value:function(t){this.isDirty&&this.children.sort(ge),this.isDirty=!1,this.children.forEach(t)}}]),t}();function xe(t,e){var n=de.k.now(),r=function r(i){var o=i.timestamp-n;o>=e&&((0,at.WG)(r),t(o-e))};return at.Gt.read(r,!0),function(){return(0,at.WG)(r)}}var Oe=n(34893),we=n(65700),Pe=n(4213);function Ae(t){var e=(0,Pe.S)(t)?t.get():t;return(0,we.B)(e)?e.toValue():e}var je=n(21613),De=["TopLeft","TopRight","BottomLeft","BottomRight"],ke=De.length,Ee=function(t){return"string"==typeof t?parseFloat(t):t},Se=function(t){return"number"==typeof t||Bt.px.test(t)};function Fe(t,e){return void 0!==t[e]?t[e]:t.borderRadius}var Te=Me(0,.5,je.yT),Ce=Me(.5,.95,Z.l);function Me(t,e,n){return function(r){return r<t?0:r>e?1:n((0,yt.q)(t,e,r))}}function Ve(t,e){t.min=e.min,t.max=e.max}function Be(t,e){Ve(t.x,e.x),Ve(t.y,e.y)}function Re(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var Le=n(52620);function Ie(t,e,n,r,i){return t-=e,t=(0,Le.hq)(t,1/n,r),void 0!==i&&(t=(0,Le.hq)(t,1/i,r)),t}function Ue(t,e,n,r,i){var o=(0,E.A)(n,3),a=o[0],s=o[1],u=o[2];!function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5,i=arguments.length>4?arguments[4]:void 0,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:t,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:t;if(Bt.KN.test(e)&&(e=parseFloat(e),e=(0,gt.k)(a.min,a.max,e/100)-a.min),"number"==typeof e){var s=(0,gt.k)(o.min,o.max,r);t===o&&(s-=e),t.min=Ie(t.min,e,n,s,i),t.max=Ie(t.max,e,n,s,i)}}(t,e[a],e[s],e[u],e.scale,r,i)}var Ne=["x","scaleX","originX"],We=["y","scaleY","originY"];function He(t,e,n,r){Ue(t.x,e,Ne,n?n.x:void 0,r?r.x:void 0),Ue(t.y,e,We,n?n.y:void 0,r?r.y:void 0)}function Ge(t){return 0===t.translate&&1===t.scale}function ze(t){return Ge(t.x)&&Ge(t.y)}function _e(t,e){return t.min===e.min&&t.max===e.max}function Ke(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function Xe(t,e){return Ke(t.x,e.x)&&Ke(t.y,e.y)}function Ye(t){return bt(t.x)/bt(t.y)}function qe(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}var $e=function(){function t(){(0,v.A)(this,t),this.members=[]}return(0,d.A)(t,[{key:"add",value:function(t){(0,ye.Kq)(this.members,t),t.scheduleRender()}},{key:"remove",value:function(t){if((0,ye.Ai)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){var e=this.members[this.members.length-1];e&&this.promote(e)}}},{key:"relegate",value:function(t){var e,n=this.members.findIndex((function(e){return t===e}));if(0===n)return!1;for(var r=n;r>=0;r--){var i=this.members[r];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)}},{key:"promote",value:function(t,e){var n=this.lead;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),!1===t.options.crossfade&&n.hide()))}},{key:"exitAnimationComplete",value:function(){this.members.forEach((function(t){var e=t.options,n=t.resumingFrom;e.onExitComplete&&e.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()}))}},{key:"scheduleRender",value:function(){this.members.forEach((function(t){t.instance&&t.scheduleRender(!1)}))}},{key:"removeLeadSnapshot",value:function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}]),t}();var Ze=n(48537);function Qe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Je(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Qe(Object(n),!0).forEach((function(e){(0,h.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Qe(Object(n)).forEac
1h((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var tn={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},en="undefined"!=typeof window&&void 0!==window.MotionDebug,nn=["","X","Y","Z"],rn={visibility:"hidden"},on=0;function an(t,e,n,r){var i=e.latestValues;i[t]&&(n[t]=i[t],e.setStaticValue(t,0),r&&(r[t]=0))}function sn(t){if(t.hasCheckedOptimisedAppear=!0,t.root!==t){var e=t.options.visualElement;if(e){var n=(0,ve.P)(e);if(window.MotionHasOptimisedAnimation(n,"transform")){var r=t.options,i=r.layout,o=r.layoutId;window.MotionCancelOptimisedAnimation(n,"transform",at.Gt,!(i||o))}var a=t.parent;a&&!a.hasCheckedOptimisedAppear&&sn(a)}}}function un(t){var e=t.attachResizeListener,n=t.defaultParent,r=t.measureScroll,i=t.checkIsScrollRoot,o=t.resetTransform;return function(){function t(){var e=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==n?void 0:n();(0,v.A)(this,t),this.id=on++,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=function(){return e.update()},this.projectionUpdateScheduled=!1,this.checkUpdateFailed=function(){e.isUpdating&&(e.isUpdating=!1,e.clearAllSnapshots())},this.updateProjection=function(){e.projectionUpdateScheduled=!1,en&&(tn.totalNodes=tn.resolvedTargetDeltas=tn.recalculatedProjection=0),e.nodes.forEach(fn),e.nodes.forEach(gn),e.nodes.forEach(bn),e.nodes.forEach(pn),en&&window.MotionDebug.record(tn)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=r,this.root=i?i.root||i:this,this.path=i?[].concat((0,O.A)(i.path),[i]):[],this.parent=i,this.depth=i?i.depth+1:0;for(var o=0;o<this.path.length;o++)this.path[o].shouldResetTransform=!0;this.root===this&&(this.nodes=new be)}return(0,d.A)(t,[{key:"addEventListener",value:function(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new Oe.v),this.eventHandlers.get(t).add(e)}},{key:"notifyListeners",value:function(t){for(var e=this.eventHandlers.get(t),n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e&&e.notify.apply(e,r)}},{key:"hasListeners",value:function(t){return this.eventHandlers.has(t)}},{key:"mount",value:function(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.root.hasTreeAnimated;if(!this.instance){this.isSVG=(0,me.x)(t),this.instance=t;var i=this.options,o=i.layoutId,a=i.layout,s=i.visualElement;if(s&&!s.current&&s.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),r&&(a||o)&&(this.isLayoutDirty=!0),e){var u,c=function(){return n.root.updateBlockedByResize=!1};e(t,(function(){n.root.updateBlockedByResize=!0,u&&u(),u=xe(c,250),Jt.hasAnimatedSinceResize&&(Jt.hasAnimatedSinceResize=!1,n.nodes.forEach(yn))}))}o&&this.root.registerSharedNode(o,this),!1!==this.options.animate&&s&&(o||a)&&this.addEventListener("didUpdate",(function(t){var e=t.delta,r=t.hasLayoutChanged,i=t.hasRelativeTargetChanged,o=t.layout;if(n.isTreeAnimationBlocked())return n.target=void 0,void(n.relativeTarget=void 0);var a=n.options.transition||s.getDefaultTransition()||jn,u=s.getProps(),c=u.onLayoutAnimationStart,l=u.onLayoutAnimationComplete,f=!n.targetLayout||!Xe(n.targetLayout,o)||i,p=!r&&i;if(n.options.layoutRoot||n.resumeFrom&&n.resumeFrom.instance||p||r&&(f||!n.currentAnimation)){n.resumeFrom&&(n.resumingFrom=n.resumeFrom,n.resumingFrom.resumingFrom=void 0),n.setAnimationOrigin(e,p);var h=Je(Je({},(0,J.rU)(a,"layout")),{},{onPlay:c,onComplete:l});(s.shouldReduceMotion||n.options.layoutRoot)&&(h.delay=0,h.type=!1),n.startAnimation(h)}else r||yn(n),n.isLead()&&n.options.onExitComplete&&n.options.onExitComplete();n.targetLayout=o}))}}},{key:"unmount",value:function(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);var t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,at.WG)(this.updateProjection)}},{key:"blockUpdate",value:function(){this.updateManuallyBlocked=!0}},{key:"unblockUpdate",value:function(){this.updateManuallyBlocked=!1}},{key:"isUpdateBlocked",value:function(){return this.updateManuallyBlocked||this.updateBlockedByResize}},{key:"isTreeAnimationBlocked",value:function(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}}
1,{key:"startUpdate",value:function(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(xn),this.animationId++)}},{key:"getTransformTemplate",value:function(){var t=this.options.visualElement;return t&&t.getProps().transformTemplate}},{key:"willUpdate",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())this.options.onExitComplete&&this.options.onExitComplete();else if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&sn(this),!this.root.isUpdating&&this.root.startUpdate(),!this.isLayoutDirty){this.isLayoutDirty=!0;for(var e=0;e<this.path.length;e++){var n=this.path[e];n.shouldResetTransform=!0,n.updateScroll("snapshot"),n.options.layoutRoot&&n.willUpdate(!1)}var r=this.options,i=r.layoutId,o=r.layout;if(void 0!==i||o){var a=this.getTransformTemplate();this.prevTransformTemplateValue=a?a(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}}}},{key:"update",value:function(){if(this.updateScheduled=!1,this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(vn);this.isUpdating||this.nodes.forEach(dn),this.isUpdating=!1,this.nodes.forEach(mn),this.nodes.forEach(cn),this.nodes.forEach(ln),this.clearAllSnapshots();var t=de.k.now();at.uv.delta=(0,jt.q)(0,1e3/60,t-at.uv.timestamp),at.uv.timestamp=t,at.uv.isProcessing=!0,at.PP.update.process(at.uv),at.PP.preRender.process(at.uv),at.PP.render.process(at.uv),at.uv.isProcessing=!1}},{key:"didUpdate",value:function(){this.updateScheduled||(this.updateScheduled=!0,ae.read(this.scheduleUpdate))}},{key:"clearAllSnapshots",value:function(){this.nodes.forEach(hn),this.sharedNodes.forEach(On)}},{key:"scheduleUpdateProjection",value:function(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,at.Gt.preRender(this.updateProjection,!1,!0))}},{key:"scheduleCheckAfterUnmount",value:function(){var t=this;at.Gt.postRender((function(){t.isLayoutDirty?t.root.didUpdate():t.root.checkUpdateFailed()}))}},{key:"updateSnapshot",value:function(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}},{key:"updateLayout",value:function(){if(this.instance&&(this.updateScroll(),this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty)){if(this.resumeFrom&&!this.resumeFrom.instance)for(var t=0;t<this.path.length;t++){this.path[t].updateScroll()}var e=this.layout;this.layout=this.measure(!1),this.layoutCorrected=(0,Tt.ge)(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);var n=this.options.visualElement;n&&n.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}}},{key:"updateScroll",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"measure",e=Boolean(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e){var n=i(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:n,offset:r(this.instance),wasRoot:this.scroll?this.scroll.isRoot:n}}}},{key:"resetTransform",value:function(){if(o){var t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!ze(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,i=r!==this.prevTransformTemplateValue;t&&(e||(0,Ze.HD)(this.latestValues)||i)&&(o(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}}},{key:"measure",value:function(){var t,e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n=this.measurePageBox(),r=this.removeElementScroll(n);return e&&(r=this.removeTransform(r)),En((t=r).x),En(t.y),{animationId:this.root.animationId,measuredBox:n,layoutBox:r,latestValues:{},source:this.id}}},{key:"measurePageBox",value:function(){var t,e=this.options.visualElement;if(!e)return(0,Tt.ge)();var n=e.measureViewportBox();if(!((null===(t=this.scroll)||void 0===t?void 0:t.wasRoot)||this.path.some(Fn))){var r=this.root.scroll;r&&((0,Le.Ql)(n.x,r.offset.x),(0,Le.Ql)(n.y,r.offset.y))}return n}},{key:"removeElementScroll",value:function(t){var e,n=(0,Tt.ge)();if(Be(n,t),null===(e=this.scroll)||void 0===e?void 0:e.wasRoot)return n;for(var r=0;r<this.path.length;r++){var i=this.path[r],o=i.scroll,a=i.options;
1i!==this.root&&o&&a.layoutScroll&&(o.wasRoot&&Be(n,t),(0,Le.Ql)(n.x,o.offset.x),(0,Le.Ql)(n.y,o.offset.y))}return n}},{key:"applyTransform",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(0,Tt.ge)();Be(n,t);for(var r=0;r<this.path.length;r++){var i=this.path[r];!e&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(0,Le.Ww)(n,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),(0,Ze.HD)(i.latestValues)&&(0,Le.Ww)(n,i.latestValues)}return(0,Ze.HD)(this.latestValues)&&(0,Le.Ww)(n,this.latestValues),n}},{key:"removeTransform",value:function(t){var e=(0,Tt.ge)();Be(e,t);for(var n=0;n<this.path.length;n++){var r=this.path[n];if(r.instance&&(0,Ze.HD)(r.latestValues)){(0,Ze.vk)(r.latestValues)&&r.updateSnapshot();var i=(0,Tt.ge)();Be(i,r.measurePageBox()),He(e,r.latestValues,r.snapshot?r.snapshot.layoutBox:void 0,i)}}return(0,Ze.HD)(this.latestValues)&&He(e,this.latestValues),e}},{key:"setTargetDelta",value:function(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}},{key:"setOptions",value:function(t){this.options=Je(Je(Je({},this.options),t),{},{crossfade:void 0===t.crossfade||t.crossfade})}},{key:"clearMeasurements",value:function(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}},{key:"forceRelativeParentToResolveTarget",value:function(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==at.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}},{key:"resolveTargetDelta",value:function(){var t,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isSharedProjectionDirty);var r=Boolean(this.resumingFrom)||this!==n;if(!!(e||r&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize)){var i=this.options,o=i.layout,a=i.layoutId;if(this.layout&&(o||a)){if(this.resolvedRelativeTargetAt=at.uv.timestamp,!this.targetDelta&&!this.relativeTarget){var s=this.getClosestProjectingParent();s&&s.layout&&1!==this.animationProgress?(this.relativeParent=s,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,Tt.ge)(),this.relativeTargetOrigin=(0,Tt.ge)(),At(this.relativeTargetOrigin,this.layout.layoutBox,s.layout.layoutBox),Be(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var u,c,l;if(this.target||(this.target=(0,Tt.ge)(),this.targetWithTransforms=(0,Tt.ge)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),u=this.target,c=this.relativeTarget,l=this.relativeParent.target,wt(u.x,c.x,l.x),wt(u.y,c.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):Be(this.target,this.layout.layoutBox),(0,Le.o4)(this.target,this.targetDelta)):Be(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;var f=this.getClosestProjectingParent();f&&Boolean(f.resumingFrom)===Boolean(this.resumingFrom)&&!f.options.layoutScroll&&f.target&&1!==this.animationProgress?(this.relativeParent=f,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,Tt.ge)(),this.relativeTargetOrigin=(0,Tt.ge)(),At(this.relativeTargetOrigin,this.target,f.target),Be(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}en&&tn.resolvedTargetDeltas++}}}}},{key:"getClosestProjectingParent",value:function(){if(this.parent&&!(0,Ze.vk)(this.parent.latestValues)&&!(0,Ze.vF)(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}},{key:"isProjecting",value:function(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}},{key:"calcProjection",value:function(){var t,e=this.getLead(),n=Boolean(this.resumingFrom)||this!==e,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===at.uv.timestamp&&(r=!1),!r){var i=this.options,o=i.layout,a=i.layoutId;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),this.layout&&(o||a)){Be(this.layoutCorrected,this.layout.layoutBox);var s=this.treeScale.x,u=this.treeScale.y;(0,Le.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,Tt.ge)());var c=e.target;c?(this.projectionDelta&&this.prevProjectionDelta?(Re(this.prevProjectionDelta.x,this.projectionDelta.x),Re(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),Ot(this.projectionDelta,this.layoutCorrected,c,this.latestValues),this.treeScale.x===s&&this.treeScale.y===u&&qe(this.projectionDelta.x,this.prevProjectionDelta.x)&&qe(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",c)),en&&tn.recalculatedProjection++):this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender())}}}},{key:"hide",value:function(){this.isVisible=!1}},{key:"show",value:function(){this.isVisible=!0}},{key:"scheduleRender",value:function(){var t,e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(null===(t=this.options.visualElement)||void 0===t||t.scheduleRender(),e){var n=this.getStack();n&&n.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}},{key:"createProjectionDeltas",value:function(){this.prevProjectionDelta=(0,Tt.xU)(),this.projectionDelta=(0,Tt.xU)(),this.projectionDeltaWithTransform=(0,Tt.xU)()}},{key:"setAnimationOrigin",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.snapshot,i=r?r.latestValues:{},o=Je({},this.latestValues),a=(0,Tt.xU)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!n;var s,u=(0,Tt.ge)(),c=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),f=!l||l.members.length<=1,p=Boolean(c&&!f&&!0===this.options.crossfade&&!this.path.some(An));this.animationProgress=0,this.mixTargetDelta=function(n){var r,l,h,v,d,m,y=n/1e3;wn(a.x,t.x,y),wn(a.y,t.y,y),e.setTargetDelta(a),e.relativeTarget&&e.relativeTargetOrigin&&e.layout&&e.relativeParent&&e.relativeParent.layout&&(At(u,e.layout.layoutBox,e.relativeParent.layout.layoutBox),h=e.relativeTarget,v=e.relativeTargetOrigin,d=u,m=y,Pn(h.x,v.x,d.x,m),Pn(h.y,v.y,d.y,m),s&&(r=e.relativeTarget,l=s,_e(r.x,l.x)&&_e(r.y,l.y))&&(e.isProjectionDirty=!1),s||(s=(0,Tt.ge)()),Be(s,e.relativeTarget)),c&&(e.animationValues=o,function(t,e,n,r,i,o){i?(t.opacity=(0,gt.k)(0,void 0!==n.opacity?n.opacity:1,Te(r)),t.opacityExit=(0,gt.k)(void 0!==e.opacity?e.opacity:1,0,Ce(r))):o&&(t.opacity=(0,gt.k)(void 0!==e.opacity?e.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(var a=0;a<ke;a++){var s="border".concat(De[a],"Radius"),u=Fe(e,s),c=Fe(n,s);void 0===u&&void 0===c||(u||(u=0),c||(c=0),0===u||0===c||Se(u)===Se(c)?(t[s]=Math.max((0,gt.k)(Ee(u),Ee(c),r),0),(Bt.KN.test(c)||Bt.KN.test(u))&&(t[s]+="%")):t[s]=c)}(e.rotate||n.rotate)&&(t.rotate=(0,gt.k)(e.rotate||0,n.rotate||0,r))}(o,i,e.latestValues,y,p,f)),e.root.scheduleUpdateProjection(),e.scheduleRender(),e.animationProgress=y},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}},{key:"startAnimation",value:function(t){var e=this;this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,at.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=at.Gt.update((function(){Jt.hasAnimatedSinceResize=!0,e.currentAnimation=(0,he.z)(0,1e3,Je(Je({},t),{},{onUpdate:function(n){e.mixTargetDelta(n),t.onUpdate&&t.onUpdate(n)},onComplete:function(){t.onComplete&&t.onComplete(),e.completeAnimation()}})),e.resumingFrom&&(e.resumingFrom.currentAnimation=e.currentAnimation),e.pendingAnimation=void 0}))}},{key:"completeAnimation",value:function(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);var t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}},{key:"finishAnimation",value:function(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}},{key:"applyTransformsToTarget",value:function(){var t=this.getLead(),e=t.targetWithTransforms,n=t.target,r=t.layout,i=t.latestValues;if(e&&n&&r){if(this!==t&&this.layout&&r&&Sn(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||(0,Tt.ge)();var o=bt(this.layout.layoutBox.x);n.x.min=t.target.x.min,n.x.max=n.x.min+o;var a=bt(this.layout.layoutBox.y);n.y.min=t.target.y.min,n.y.max=n.y.min+a}Be(e,n),(0,Le.Ww)(e,i),Ot(this.projectionDeltaWithTransform,this.layoutCorrected,e,i)}}},{key:"registerSharedNode",value:function(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new $e),this.sharedNodes.get(t).add(e);var n=e.options.initialPromotionConfig;e.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(e):void 0})}},{key:"isLead",value:function(){var t=this.getStack();return!t||t.lead===this}},{key:"getLead",value:function(){var t;return this.options.layoutId&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}},{key:"getPrevLead",value:function(){var t;return this.options.layoutId?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0}},{key:"getStack",value:function(){var t=this.options.layoutId;if(t)return this.root.sharedNodes.get(t)}},{key:"promote",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.needsReset,n=t.transition,r=t.preserveFollowOpacity,i=this.getStack();i&&i.promote(this,r),e&&(this.projectionDelta=void 0,this.needsReset=!0),n&&this.setOptions({transition:n})}},{key:"relegate",value:function(){var t=this.getStack();return!!t&&t.relegate(this)}}
1,{key:"resetSkewAndRotation",value:function(){var t=this.options.visualElement;if(t){var e=!1,n=t.latestValues;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(e=!0),e){var r={};n.z&&an("z",t,r,this.animationValues);for(var i=0;i<nn.length;i++)an("rotate".concat(nn[i]),t,r,this.animationValues),an("skew".concat(nn[i]),t,r,this.animationValues);for(var o in t.render(),r)t.setStaticValue(o,r[o]),this.animationValues&&(this.animationValues[o]=r[o]);t.scheduleRender()}}}},{key:"getProjectionStyles",value:function(t){var e,n;if(this.instance&&!this.isSVG){if(!this.isVisible)return rn;var r={visibility:""},i=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=Ae(null==t?void 0:t.pointerEvents)||"",r.transform=i?i(this.latestValues,""):"none",r;var o=this.getLead();if(!this.projectionDelta||!this.layout||!o.target){var a={};return this.options.layoutId&&(a.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,a.pointerEvents=Ae(null==t?void 0:t.pointerEvents)||""),this.hasProjected&&!(0,Ze.HD)(this.latestValues)&&(a.transform=i?i({},""):"none",this.hasProjected=!1),a}var s=o.animationValues||o.latestValues;this.applyTransformsToTarget(),r.transform=function(t,e,n){var r="",i=t.x.translate/e.x,o=t.y.translate/e.y,a=(null==n?void 0:n.z)||0;if((i||o||a)&&(r="translate3d(".concat(i,"px, ").concat(o,"px, ").concat(a,"px) ")),1===e.x&&1===e.y||(r+="scale(".concat(1/e.x,", ").concat(1/e.y,") ")),n){var s=n.transformPerspective,u=n.rotate,c=n.rotateX,l=n.rotateY,f=n.skewX,p=n.skewY;s&&(r="perspective(".concat(s,"px) ").concat(r)),u&&(r+="rotate(".concat(u,"deg) ")),c&&(r+="rotateX(".concat(c,"deg) ")),l&&(r+="rotateY(".concat(l,"deg) ")),f&&(r+="skewX(".concat(f,"deg) ")),p&&(r+="skewY(".concat(p,"deg) "))}var h=t.x.scale*e.x,v=t.y.scale*e.y;return 1===h&&1===v||(r+="scale(".concat(h,", ").concat(v,")")),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,s),i&&(r.transform=i(s,r.transform));var u=this.projectionDelta,c=u.x,l=u.y;for(var f in r.transformOrigin="".concat(100*c.origin,"% ").concat(100*l.origin,"% 0"),o.animationValues?r.opacity=o===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=o===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0,ie.H)if(void 0!==s[f]){var p=ie.H[f],h=p.correct,v=p.applyTo,d="none"===r.transform?s[f]:h(s[f],o);if(v)for(var m=v.length,y=0;y<m;y++)r[v[y]]=d;else r[f]=d}return this.options.layoutId&&(r.pointerEvents=o===this?Ae(null==t?void 0:t.pointerEvents)||"":"none"),r}}},{key:"clearSnapshot",value:function(){this.resumeFrom=this.snapshot=void 0}},{key:"resetTree",value:function(){this.root.nodes.forEach((function(t){var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()})),this.root.nodes.forEach(vn),this.root.sharedNodes.clear()}}]),t}()}function cn(t){t.updateLayout()}function ln(t){var e,n=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){var r=t.layout,i=r.layoutBox,o=r.measuredBox,a=t.options.animationType,s=n.source!==t.layout.source;"size"===a?Ct((function(t){var e=s?n.measuredBox[t]:n.layoutBox[t],r=bt(e);e.min=i[t].min,e.max=e.min+r})):Sn(a,n.layoutBox,i)&&Ct((function(e){var r=s?n.measuredBox[e]:n.layoutBox[e],o=bt(i[e]);r.max=r.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[e].max=t.relativeTarget[e].min+o)}));var u=(0,Tt.xU)();Ot(u,i,n.layoutBox);var c=(0,Tt.xU)();s?Ot(c,t.applyTransform(o,!0),n.measuredBox):Ot(c,i,n.layoutBox);var l=!ze(u),f=!1;if(!t.resumeFrom){var p=t.getClosestProjectingParent();if(p&&!p.resumeFrom){var h=p.snapshot,v=p.layout;if(h&&v){var d=(0,Tt.ge)();At(d,n.layoutBox,h.layoutBox);var m=(0,Tt.ge)();At(m,i,v.layoutBox),Xe(d,m)||(f=!0),p.options.layoutRoot&&(t.relativeTarget=m,t.relativeTargetOrigin=d,t.relativeParent=p)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:n,delta:c,layoutDelta:u,hasLayoutChanged:l,hasRelativeTargetChanged:f})}else if(t.isLead()){var y=t.options.onExitComplete;y&&y()}t.options.transition=void 0}function fn(t){en&&tn.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 pn(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function hn(t){t.clearSnapshot()}function vn(t){t.clearMeasurements()}function dn(t){t.isLayoutDirty=!1}function mn(t){var e=t.options.visualElement;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function yn(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function gn(t){t.resolveTargetDelta()}function bn(t){t.calcProjection()}
1function xn(t){t.resetSkewAndRotation()}function On(t){t.removeLeadSnapshot()}function wn(t,e,n){t.translate=(0,gt.k)(e.translate,0,n),t.scale=(0,gt.k)(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function Pn(t,e,n,r){t.min=(0,gt.k)(e.min,n.min,r),t.max=(0,gt.k)(e.max,n.max,r)}function An(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}var jn={duration:.45,ease:[.4,0,.1,1]},Dn=function(t){return"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t)},kn=Dn("applewebkit/")&&!Dn("chrome/")?Math.round:Z.l;function En(t){t.min=kn(t.min),t.max=kn(t.max)}function Sn(t,e,n){return"position"===t||"preserve-aspect"===t&&(r=Ye(e),i=Ye(n),o=.2,!(Math.abs(r-i)<=o));var r,i,o}function Fn(t){var e;return t!==t.root&&(null===(e=t.scroll)||void 0===e?void 0:e.wasRoot)}var Tn=un({attachResizeListener:function(t,e){return et(t,"resize",e)},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}},checkIsScrollRoot:function(){return!0}}),Cn={current:void 0},Mn=un({measureScroll:function(t){return{x:t.scrollLeft,y:t.scrollTop}},defaultParent:function(){if(!Cn.current){var t=new Tn({});t.mount(window),t.setOptions({layoutScroll:!0}),Cn.current=t}return Cn.current},resetTransform:function(t,e){t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:function(t){return Boolean("fixed"===window.getComputedStyle(t).position)}}),Vn={pan:{Feature:Yt},drag:{Feature:_t,ProjectionNode:Mn,MeasureLayout:fe}};function Bn(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Bn=function(){return!!t})()}function Rn(t,e,n){var r=t.props;t.animationState&&r.whileHover&&t.animationState.setActive("whileHover","Start"===n);var i=r["onHover"+n];i&&at.Gt.postRender((function(){return i(e,nt(e))}))}var Ln=function(t){(0,m.A)(i,t);var e,n,r=(e=i,n=Bn(),function(){var t,r=(0,g.A)(e);if(n){var i=(0,g.A)(this).constructor;t=Reflect.construct(r,arguments,i)}else t=r.apply(this,arguments);return(0,y.A)(this,t)});function i(){return(0,v.A)(this,i),r.apply(this,arguments)}return(0,d.A)(i,[{key:"mount",value:function(){var t=this,e=this.node.current;e&&(this.unmount=(0,J.PT)(e,(function(e){return Rn(t.node,e,"Start"),function(e){return Rn(t.node,e,"End")}})))}},{key:"unmount",value:function(){}}]),i}(z);function In(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(In=function(){return!!t})()}var Un=function(t){(0,m.A)(i,t);var e,n,r=(e=i,n=In(),function(){var t,r=(0,g.A)(e);if(n){var i=(0,g.A)(this).constructor;t=Reflect.construct(r,arguments,i)}else t=r.apply(this,arguments);return(0,y.A)(this,t)});function i(){var t;return(0,v.A)(this,i),(t=r.apply(this,arguments)).isActive=!1,t}return(0,d.A)(i,[{key:"onFocus",value:function(){var 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)}},{key:"onBlur",value:function(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}},{key:"mount",value:function(){var t=this;this.unmount=(0,ot.F)(et(this.node.current,"focus",(function(){return t.onFocus()})),et(this.node.current,"blur",(function(){return t.onBlur()})))}},{key:"unmount",value:function(){}}]),i}(z);function Nn(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Nn=function(){return!!t})()}function Wn(t,e,n){var r=t.props;t.animationState&&r.whileTap&&t.animationState.setActive("whileTap","Start"===n);var i=r["onTap"+("End"===n?"":n)];i&&at.Gt.postRender((function(){return i(e,nt(e))}))}var Hn=function(t){(0,m.A)(i,t);var e,n,r=(e=i,n=Nn(),function(){var t,r=(0,g.A)(e);if(n){var i=(0,g.A)(this).constructor;t=Reflect.construct(r,arguments,i)}else t=r.apply(this,arguments);return(0,y.A)(this,t)});function i(){return(0,v.A)(this,i),r.apply(this,arguments)}return(0,d.A)(i,[{key:"mount",value:function(){var t=this,e=this.node.current;e&&(this.unmount=(0,J.c$)(e,(function(e){return Wn(t.node,e,"Start"),function(e,n){var r=n.success;return Wn(t.node,e,r?"End":"Cancel")}}),{useGlobalTarget:this.node.props.globalTapTarget}))}},{key:"unmount",value:function(){}}]),i}(z),Gn=["root"];function zn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var _n=new WeakMap,Kn=new WeakMap,Xn=function(t){var e=_n.get(t.target);e&&e(t)}
1,Yn=function(t){t.forEach(Xn)};function qn(t){var e=t.root,n=(0,x.A)(t,Gn),r=e||document;Kn.has(r)||Kn.set(r,{});var i=Kn.get(r),o=JSON.stringify(n);return i[o]||(i[o]=new IntersectionObserver(Yn,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?zn(Object(n),!0).forEach((function(e){(0,h.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):zn(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({root:e},n))),i[o]}function $n(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return($n=function(){return!!t})()}var Zn={some:0,all:1},Qn=function(t){(0,m.A)(i,t);var e,n,r=(e=i,n=$n(),function(){var t,r=(0,g.A)(e);if(n){var i=(0,g.A)(this).constructor;t=Reflect.construct(r,arguments,i)}else t=r.apply(this,arguments);return(0,y.A)(this,t)});function i(){var t;return(0,v.A)(this,i),(t=r.apply(this,arguments)).hasEnteredView=!1,t.isInView=!1,t}return(0,d.A)(i,[{key:"startObserver",value:function(){var t=this;this.unmount();var e=this.node.getProps().viewport,n=void 0===e?{}:e,r=n.root,i=n.margin,o=n.amount,a=void 0===o?"some":o,s=n.once,u={root:r?r.current:void 0,rootMargin:i,threshold:"number"==typeof a?a:Zn[a]};return function(t,e,n){var r=qn(e);return _n.set(t,n),r.observe(t),function(){_n.delete(t),r.unobserve(t)}}(this.node.current,u,(function(e){var n=e.isIntersecting;if(t.isInView!==n&&(t.isInView=n,!s||n||!t.hasEnteredView)){n&&(t.hasEnteredView=!0),t.node.animationState&&t.node.animationState.setActive("whileInView",n);var r=t.node.getProps(),i=r.onViewportEnter,o=r.onViewportLeave,a=n?i:o;a&&a(e)}}))}},{key:"mount",value:function(){this.startObserver()}},{key:"update",value:function(){if("undefined"!=typeof IntersectionObserver){var t=this.node,e=t.props,n=t.prevProps,r=["amount","margin","root"].some(function(t){var e=t.viewport,n=void 0===e?{}:e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.viewport,o=void 0===i?{}:i;return function(t){return n[t]!==o[t]}}(e,n));r&&this.startObserver()}}},{key:"unmount",value:function(){}}]),i}(z);var Jn={inView:{Feature:Qn},tap:{Feature:Hn},focus:{Feature:Un},hover:{Feature:Ln}},tr={layout:{ProjectionNode:Mn,MeasureLayout:fe}},er=(0,s.createContext)({strict:!1}),nr=(0,s.createContext)({transformPagePoint:function(t){return t},isStatic:!1,reducedMotion:"never"}),rr=(0,s.createContext)({}),ir=n(55694);function or(t){var e=function(t,e){if((0,ir.e)(t)){var n=t.initial,r=t.animate;return{initial:!1===n||(0,A.w)(n)?n:void 0,animate:(0,A.w)(r)?r:void 0}}return!1!==t.inherit?e:{}}(t,(0,s.useContext)(rr)),n=e.initial,r=e.animate;return(0,s.useMemo)((function(){return{initial:n,animate:r}}),[ar(n),ar(r)])}function ar(t){return Array.isArray(t)?t.join(" "):t}var sr=n(89323),ur=n(89485);function cr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function lr(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?cr(Object(n),!0).forEach((function(e){(0,h.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):cr(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var fr=Symbol.for("motionComponentSymbol");function pr(t,e,n){return(0,s.useCallback)((function(r){r&&t.onMount&&t.onMount(r),e&&(r?e.mount(r):e.unmount()),n&&("function"==typeof n?n(r):mt(n)&&(n.current=r))}),[e])}var hr=sr.B?s.useLayoutEffect:s.useEffect,vr=n(215);function dr(t,e,n,r,i){var o,a,u=(0,s.useContext)(rr).visualElement,c=(0,s.useContext)(er),l=(0,s.useContext)($t),f=(0,s.useContext)(nr).reducedMotion,p=(0,s.useRef)(null);r=r||c.renderer,!p.current&&r&&(p.current=r(t,{visualState:e,parent:u,props:n,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:f}));var h=p.current,v=(0,s.useContext)(Qt);!h||h.projection||!i||"html"!==h.type&&"svg"!==h.type||function(t,e,n,r){var i=e.layoutId,o=e.layout,a=e.drag,s=e.dragConstraints,u=e.layoutScroll,c=e.layoutRoot;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:mr(t.parent)),t.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:Boolean(a)||s&&mt(s),visualElement:t,animationType:"string"==typeof o?o:"both",initialPromotionConfig:r,layoutScroll:u,layoutRoot:c})}(p.current,n,i,v);var d=(0,s.useRef)(!1);(0,s.useInsertionEffect)((function(){h&&d.current&&h.update(n,l)}));var m=n[vr.n],y=(0,s.useRef)(Boolean(m)&&!(null===(o=window.MotionHandoffIsComplete)||void 0===o?void 0:o.call(window,m))&&(null===(a=window.MotionHasOptimisedAnimation)||void 0===a?void 0:a.call(window,m)));return hr((function(){h&&(d.current=!0,window.MotionIsMounted=!0,h.updateFeatures(),ae.render(h.render),y.current&&h.animationState&&h.animationState.animateChanges())})),(0,s.useEffect)((function(){h&&(!y.current&&h.animationState&&h.animationState.animateChanges(),y.current&&(queueMicrotask((function(){var t;null===(t=window.MotionHandoffMarkAsComplete)||void 0===t||t.call(window,m)})),y.current=!1))})),h}function mr(t){if(t)return!1!==t.options.allowProjection?t.projection:mr(t.parent)}function yr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function gr(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?yr(Object(n),!0).forEach((function(e){(0,h.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):yr(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function br(t){var e,n,r=t.preloadedFeatures,i=t.createVisualElement,o=t.useRender,a=t.useVisualState,u=t.Component;function c(t,e){var n,r,c,l,f=gr(gr(gr({},(0,s.useContext)(nr)),t),{},{layoutId:(r=t,c=r.layoutId,l=(0,s.useContext)(Zt).id,l&&void 0!==c?l+"-"+c:c)}),p=f.isStatic,h=or(t),v=a(t,p);if(!p&&sr.B){!function(){(0,s.useContext)(er).strict;0}();var d=function(t){var e=ur.B.drag,n=ur.B.layout;if(!e&&!n)return{};var r=gr(gr({},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}}(f);n=d.MeasureLayout,h.visualElement=dr(u,v,f,i,d.ProjectionNode)}return(0,qt.jsxs)(rr.Provider,{value:h,children:[n&&h.visualElement?(0,qt.jsx)(n,gr({visualElement:h.visualElement},f)):null,o(u,t,pr(v,h.visualElement,e),v,p,h.visualElement)]})}r&&function(t){for(var e in t)ur.B[e]=lr(lr({},ur.B[e]),t[e])}(r),c.displayName="motion.".concat("string"==typeof u?u:"create(".concat(null!==(n=null!==(e=u.displayName)&&void 0!==e?e:u.name)&&void 0!==n?n:"",")"));var l=(0,s.forwardRef)(c);return l[fr]=u,l}var xr=["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 Or(t){return"string"==typeof t&&!t.includes("-")&&!!(xr.indexOf(t)>-1||/[A-Z]/.test(t))}var wr=n(61636),Pr=["transitionEnd","transition"];function Ar(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function jr(t,e,n,r){var i=t.scrapeMotionValuesFromProps,o=t.createRenderState,a=t.onUpdate,s={latestValues:kr(e,n,r,i),renderState:o()};return a&&(s.onMount=function(t){return a(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ar(Object(n),!0).forEach((function(e){(0,h.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ar(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({props:e,current:t},s))},s.onUpdate=function(t){return a(t)}),s}var Dr=function(t){return function(e,n){var r=(0,s.useContext)(rr),i=(0,s.useContext)($t),o=function(){return jr(t,e,r,i)};return n?o():c(o)}};function kr(t,e,n,r){var i={},o=r(t,{});for(var a in o)i[a]=Ae(o[a]);var s=t.initial,u=t.animate,c=(0,ir.e)(t),l=(0,ir.O)(t);e&&l&&!c&&!1!==t.inherit&&(void 0===s&&(s=e.initial),void 0===u&&(u=e.animate));var f=!!n&&!1===n.initial,p=(f=f||!1===s)?u:s;if(p&&"boolean"!=typeof p&&!(0,b.N)(p))for(var h=Array.isArray(p)?p:[p],v=0;v<h.length;v++){var d=(0,wr.a)(t,h[v]);if(d){var m=d.transitionEnd,y=(d.transition,(0,x.A)(d,Pr));for(var g in y){var O=y[g];if(Array.isArray(O))O=O[f?O.length-1:0];null!==O&&(i[g]=O)}for(var w in m)i[w]=m[w]}}return i}var Er=n(30344),Sr=n(55046),Fr=function(){return{style:{},transform:{},transformOrigin:{},vars:{}}};function Tr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Cr(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Tr(Object(n),!0).forEach((function(e){(0,h.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Tr(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Mr=function(){return Cr(Cr({},{style:{},transform:{},transformOrigin:{},vars:{}}),{},{attrs:{}})},Vr=n(79952),Br=n(19310),Rr=n(90036);var Lr=["x","y","width","height","cx","cy","r"],Ir={useVisualState:Dr({scrapeMotionValuesFromProps:Rr.x,createRenderState:Mr,onUpdate:function(t){var e=t.props,n=t.prevProps,r=t.current,i=t.render
1State,o=t.latestValues;if(r){var a=!!e.drag;if(!a)for(var s in o)if(Er.f.has(s)){a=!0;break}if(a){var u=!n;if(n)for(var c=0;c<Lr.length;c++){var l=Lr[c];e[l]!==n[l]&&(u=!0)}u&&at.Gt.read((function(){!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}}}(r,i),at.Gt.render((function(){(0,Sr.B)(i,o,(0,Vr.n)(r.tagName),e.transformTemplate),(0,Br.d)(r,i)}))}))}}}})},Ur={useVisualState:Dr({scrapeMotionValuesFromProps:n(22261).x,createRenderState:Fr})},Nr=n(21128),Wr=n(12179);function Hr(t,e,n){for(var r in e)(0,Pe.S)(e[r])||(0,Nr.z)(r,n)||(t[r]=e[r])}function Gr(t,e){var n={};return Hr(n,t.style||{},t),Object.assign(n,function(t,e){var n=t.transformTemplate;return(0,s.useMemo)((function(){var t={style:{},transform:{},transformOrigin:{},vars:{}};return(0,Wr.O)(t,e,n),Object.assign({},t.vars,t.style)}),[e])}(t,e)),n}function zr(t,e){var n={},r=Gr(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-".concat("x"===t.drag?"y":"x")),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=r,n}var _r=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 Kr(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||_r.has(t)}var Xr,Yr=function(t){return!Kr(t)};try{(Xr=n(57721).A)&&(Yr=function(t){return t.startsWith("on")?!Kr(t):Xr(t)})}catch(Gi){}function qr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function $r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?qr(Object(n),!0).forEach((function(e){(0,h.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):qr(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Zr(t,e,n,r){var i=(0,s.useMemo)((function(){var n=Mr();return(0,Sr.B)(n,e,(0,Vr.n)(r),t.transformTemplate),$r($r({},n.attrs),{},{style:$r({},n.style)})}),[e]);if(t.style){var o={};Hr(o,t.style,t),i.style=$r($r({},o),i.style)}return i}function Qr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Jr(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Qr(Object(n),!0).forEach((function(e){(0,h.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Qr(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ti(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(e,n,r,i,o){var a=i.latestValues,u=(Or(e)?Zr:zr)(n,a,o,e),c=function(t,e,n){var r={};for(var i in t)"values"===i&&"object"==typeof t.values||(Yr(i)||!0===n&&Kr(i)||!e&&!Kr(i)||t.draggable&&i.startsWith("onDrag"))&&(r[i]=t[i]);return r}(n,"string"==typeof e,t),l=e!==s.Fragment?Jr(Jr(Jr({},c),u),{},{ref:r}):{},f=n.children,p=(0,s.useMemo)((function(){return(0,Pe.S)(f)?f.get():f}),[f]);return(0,s.createElement)(e,Jr(Jr({},l),{},{children:p}))}}function ei(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ni(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?ei(Object(n),!0).forEach((function(e){(0,h.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ei(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ri(t,e){return function(n){var r=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{forwardMotionProps:!1}).forwardMotionProps;return br(ni(ni({},Or(n)?Ir:Ur),{},{preloadedFeatures:t,useRender:ti(r),createVisualElement:e,Component:n}))}}var ii=n(24394),oi=n(20370),ai=function(t,e){return Or(t)?new oi.l(e):new ii.M(e,{allowProjection:t!==s.Fragment})};function si(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ui(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?si(Object(n),!0).forEach((function(e){(0,h.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):si(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var ci,li=p(ri(ui(ui(ui(ui({},$),Jn),Vn),tr),ai)),fi=n(41334),pi=function(t){var e=500*t-15;return{x:e,y:-200*(1-Math.pow(1-t,12))+50*Math.sin(.02*e)}},hi=function(t){return 30*Math.sin(t*Math.PI*2*1.8)},vi=function(t){return 16*Math.cos(t*Math.PI*2*2)},di=function(){for(var t={x:[],y:[],rotateY:[],rotate:[]},e=0;e<50;e++){var n=e/49,r=pi(n),i=r.x,o=r.y,a=hi(n),s=vi(n);t.x.push(i),t.y.push(o),t.rotateY.push(a),t.rotate.push(s)}return t},mi=n(59126),yi=n(32428),gi=function(){return s.createElement(bi,null,s.createElement(Ai,null),s.createElement(ji,null))},bi=u.default.div.withConfig({displayName:"snow-animation__Container",componentId:"sc-1p6wwp5-0"})(["position:absolute;width:",";height:",";border-radius:50%;overflow:hidden;"],(0,fi.D0)(350),(0,fi.D0)(350)),xi=(0,u.keyframes)(["0%{transform:translate(0,0);opacity:0.6;}20%{transform:translate(",",",");opacity:1;}70%{transform:translate(",",",");opacity:0.7;}100%{transform:translate(",",",");opacity:0.1;}"],(0,fi.D0)(-20),(0,fi.D0)(100),(0,fi.D0)(-70),(0,fi.D0)(250),(0,fi.D0)(-100),(0,fi.D0)(300)),Oi=(0,u.keyframes)(["0%{transform:translate(0,0);opacity:0.6;}20%{transform:translate(",",",");opacity:1;}70%{transform:translate(0,",");opacity:0.7;}100%{transform:translate(",",",");}"],(0,fi.D0)(-20),(0,fi.D0)(100),(0,fi.D0)(250),(0,fi.D0)(10),(0,fi.D0)(300)),wi=(0,u.css)(["content:'';background:white;left:50%;position:absolute;border-radius:100%;width:",";height:",";box-shadow:0 0px 2px 0px #fff,10px 10px 0px 0 #fff,50px 20px 2px 0 #fff,100px 30px 2px 0 #fff,30px 70px 2px 0 #fff,130px 70px 2px 0px #fff,-30px 30px 2px 0 #fff,-55px 45px 2px 0 #fff,-70px 30px 2px 0 #fff,-130px 40px 2px 0 #fff,-150px 90px 2px 0 #fff,-160px 80px 2px 0 #fff,-190px 130px 2px 0 #fff,-150px 150px 2px 0 #fff,-130px 120px 2px 0 #fff,-100px 130px 2px 0 #fff,-90px 80px 2px 0 #fff,-40px 100px 2px 0 #fff,-30px 90px 2px 0 #fff,0px 100px 2px 0 #fff,40px 140px 2px 0 #fff,70px 120px 2px 0 #fff,50px 180px 2px 0 #fff,100px 150px 2px 0 #fff,140px 120px 2px 0 #fff,170px 90px 2px 0 #fff,170px 130px 2px 0 #fff,160px 140px 2px 0 #fff,170px 130px 2px 0 #fff,10px 130px 2px 0 #fff,180px 180px 2px 0 #fff,200px 160px 2px 0 #fff,200px 260px 2px 0 #fff,250px 195px 2px 0 #fff,-200px 160px 2px 0 #fff,-200px 180px 2px 0 #fff,-220px 185px 2px 0 #fff,-150px 200px 2px 0 #fff,-100px 250px 2px 0 #fff,-80px 195px 2px 0 #fff,-190px 280px 2px 0 #fff,-150px 350px 2px 0 #fff,-250px 250px 2px 0 #fff,150px 350px 2px 0 #fff,100px 230px 2px 0 #fff;"],(0,fi.D0)(5),(0,fi.D0)(5)),Pi=(0,u.css)(["content:'';position:absolute;left:50%;border-radius:50%;width:",";height:",";background:white;opacity:0.8;box-shadow:0 0px 6px 0px #fff,-20px 50px 4px 1px #fff,80px 70px 4px 1px #fff,200px 150px 4px 1px #fff,-200px 150px 4px 1px #fff,-100px 100px 4px 1px #fff,90px 180px 4px 1px #fff,190px 280px 4px 1px #fff,-150px 250px 4px 1px #fff,-190px 280px 4px 1px #fff,-190px 80px 4px 1px #fff,-250px 200px 4px 1px #fff,-270px 380px 4px 1px #fff,270px 330px 4px 1px #fff,-200px 390px 4px 1px #fff,-240px 310px 4px 1px #fff,180px 380px 4px 1px #fff;"],(0,fi.D0)(8),(0,fi.D0)(8)),Ai=u.default.div.withConfig({displayName:"snow-animation__Snow",componentId:"sc-1p6wwp5-1"})(["",";top:",";animation:"," 20s linear infinite;&::before{",";left:",";top:",";}&::after{",";left:",";top:",";}"],wi,(0,fi.D0)(150),xi,wi,(0,fi.D0)(-50),(0,fi.D0)(-150),wi,(0,fi.D0)(50),(0,fi.D0)(-225)),ji=u.default.div.withConfig({displayName:"snow-animation__LargeSnow",componentId:"sc-1p6wwp5-2"})(["",";top:",";animation:"," 30s linear infinite;&::before{",";top:",";}"],Pi,(0,fi.D0)(100),Oi,Pi,(0,fi.D0)(-200)),Di=[],ki=function(){var t=(0,s.useRef)(null),e=(0,s.useRef)(),n=(0,s.useRef)(0);return(0,s.useEffect)((function(){var r=t.current,i=null==r?void 0:r.getContext("2d");if(r&&i){var o=function(){var t=window.devicePixelRatio||1;r.width=r.clientWidth*t,r.height=r.clientHeight*t,i.scale(t,t)},a=function t(o){e.current||(e.current=o);var a=o-e.current||0,s=r.clientWidth/2,u=r.clientHeight/2+10;i.clearRect(0,0,r.width,r.height),Di.forEach((function(t){var e=a/t.lifetime;if(!(e>=1)){t.localX+=Math.cos(t.angle)*t.velocity+t.drift,t.localY+=Math.sin(t.angle)*t.velocity+t.gravity;var n=s+t.localX,r=u+t.localY;
1t.velocity*=t.velocityDecay,t.wobble+=t.wobbleSpeed,t.wobbleX=n+t.size*t.scalar*Math.cos(t.wobble),t.wobbleY=r+t.size*t.scalar*Math.sin(t.wobble),t.tiltAngle+=.1,t.tiltSin=Math.sin(t.tiltAngle),t.tiltCos=Math.cos(t.tiltAngle);var o=Math.random()+2,c=n+o*t.tiltCos,l=r+o*t.tiltSin,f=t.wobbleX+o*t.tiltCos,p=t.wobbleY+o*t.tiltSin;i.fillStyle="hsla("+(t.color+(1-e))+")",i.beginPath(),i.moveTo(Math.floor(n),Math.floor(r)),i.lineTo(Math.floor(t.wobbleX),Math.floor(l)),i.lineTo(Math.floor(f),Math.floor(p)),i.lineTo(Math.floor(c),Math.floor(t.wobbleY)),i.closePath(),i.fill()}})),n.current=window.requestAnimationFrame(t)};o(),window.addEventListener("resize",o);for(var s=Math.PI/180*270,u=Math.PI/180*45,c=0;c<70;c++){var l=s+(Math.random()*u-u/2);Di[c]={localX:0,localY:0,wobbleX:0,wobbleY:0,wobble:10*Math.random(),wobbleSpeed:Math.min(.11,.1*Math.random()+.05),velocity:12.5+25*Math.random(),velocityDecay:.9,angle:l,tiltSin:0,tiltCos:0,tiltAngle:(.5*Math.random()+.25)*Math.PI,color:360*Math.random()+", 100%, 50%,",drift:0,scalar:1,gravity:1,size:10,lifetime:5e3}}var f=setTimeout((function(){clearTimeout(f),n.current=window.requestAnimationFrame(a)}),3e3);return function(){clearTimeout(f),window.cancelAnimationFrame(n.current),window.removeEventListener("resize",o)}}}),[]),s.createElement(Ei,{ref:t})},Ei=u.default.canvas.withConfig({displayName:"confetti-animation__Canvas",componentId:"sc-15bu16m-0"})(["position:absolute;width:100%;height:100%;"]),Si=function(t){var e=t.asset,n=t.backgroundColor,r=t.title,o=t.message,u=t.amount,c=t.animation,l=t.type,p=t.onComplete,h=t.start,v=f(),d=v[0],m=v[1];(0,s.useEffect)((function(){if(h){var t=function(){var t=(0,i.A)(a().mark((function t(){var e;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=[[d.current,{opacity:1},{duration:.2}],[".letter",{rotate:[0,-10,10,-8,8,-6,6,0,-10,10,-8,8,-6,6,0]},{delay:.6,duration:1.6,ease:"easeInOut"}],[".letter",{opacity:[1,1,1,1,0]},{duration:.4,at:"+0.4"}],[".opened",{opacity:[0,1]},{duration:.6,at:"-0.4"}],[".opened",{rotate:-10},{delay:.2,duration:.35,ease:"easeOut"}],[".card",{top:"0%"},{duration:.8,ease:"easeInOut"}],[".logo",{opacity:[0,1]},{duration:.6,ease:"easeOut",at:"+0.35"}],[".logo",Object.assign({},di(),{opacity:[1,1,1,1,1,0]}),{duration:5,ease:"easeInOut",at:"-0.5"}],[".card-container",{y:"calc(-60vh - 90px)"},{duration:.6,ease:"easeOut",at:"-1.4"}],[".screen",{y:["-100%","0%"]},{duration:.75,ease:"backOut",at:"+0.3"}],[d.current,{backgroundColor:"rgba(255, 255, 255, 1)"},{duration:.3}]],t.next=3,m(e);case 3:null==p||p();case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();t()}}),[h]);return s.createElement(Fi,null,s.createElement(Ci,{ref:d,"data-test":"digital-greeting-animation"},s.createElement(Mi,{className:"letter",width:190,height:132},s.createElement(Vi,null)),s.createElement(Mi,{className:"opened",width:190,height:132},s.createElement(Ri,null),s.createElement(Li,{className:"card-container"},s.createElement(Ii,{className:"card",color:n},s.createElement(Wi,{image:e}))),s.createElement(Ui,null),s.createElement(Bi,null)),c&&s.createElement(Ti,{"data-test":"card-animation"},function(){switch(c){case"Snow":return s.createElement(gi,null);case"Confetti":return s.createElement(ki,null)}return null}()),s.createElement(Ni,{className:"screen",color:n},s.createElement(Hi,{type:l,asset:e,title:r,message:o,amount:u,backgroundColor:n}))))},Fi=u.default.div.withConfig({displayName:"digital-greeting-animation__Frame",componentId:"sc-mygv3m-0"})(["position:absolute;display:flex;align-items:center;justify-content:center;inset:0;overflow:hidden;"]),Ti=u.default.div.withConfig({displayName:"digital-greeting-animation__AnimationHolder",componentId:"sc-mygv3m-1"})(["position:absolute;inset:0;display:flex;justify-content:center;align-items:center;"]),Ci=(0,u.default)(li.div).withConfig({displayName:"digital-greeting-animation__Animation",componentId:"sc-mygv3m-2"})(["position:relative;display:flex;width:100%;height:100%;justify-content:center;align-items:center;opacity:0;background-color:rgba(255,255,255,0);"]),Mi=u.default.div.withConfig({displayName:"digital-greeting-animation__AnimationGroup",componentId:"sc-mygv3m-3"})(["position:absolute;",""],(function(t){var e=t.width,n=t.height;return(0,u.css)(["width:",";height:",";"],(0,fi.D0)(e),(0,fi.D0)(n))})),Vi=(0,u.default)((function(t){var e=t.className;return s.createElement("svg",{className:e,width:"202",height:"144",viewBox:"0 0 202 144",xmlns:"http://www.w3.org/2000/svg"},s.createElement("defs",null,s.createElement("filter",{x:"-5.5%",y:"-5.7%",width:"111.1%",height:"115.9%",filterUnits:"objectBoundingBox",id:"qbngjdtnya"},s.createElement("feOffset",{dy:"3",in:"SourceAlpha",result:"shadowOffsetOuter1"}),s.createElement("feGaussianBlur",{stdDeviation:"3",in:"shadowOffsetOuter1",result:"shadowBlurOuter1"}),s.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0",in:"shadowBlurOuter1"})),s.createElement("path",{d:"M89.7 79.001a8.024 8.024 0 0 0 10.6 0L190 0v132H0V0z",id:"so3fte7ncb"})),s.createElement("g",{fillRule:"nonzero",fill:"none"},s.createElement("path",{fill:"#EDEDED",d:"M6 3h190v132H6z"}),s.createElement("g",{transform:"translate(6 3)"}
1,s.createElement("use",{fill:"#000",filter:"url(#qbngjdtnya)",xlinkHref:"#so3fte7ncb"}),s.createElement("use",{fill:"#FCFCFC",xlinkHref:"#so3fte7ncb"})),s.createElement("path",{d:"M117.462 72.17 196 135H6l78.538-62.83 11.163 9.831a8.024 8.024 0 0 0 10.385.182l.213-.182 11.163-9.831z",fill:"#F5F5F5"}),s.createElement("g",{fill:"#FFF"},s.createElement("path",{d:"M6 3h190l-90.002 72.241a7.98 7.98 0 0 1-9.996 0L6 3z"}))))})).withConfig({displayName:"digital-greeting-animation__Letter",componentId:"sc-mygv3m-4"})(["position:absolute;width:",";height:",";"],(0,fi.D0)(190),(0,fi.D0)(132)),Bi=(0,u.default)((function(t){var e=t.className;return s.createElement("svg",{className:e,width:"202",height:"144",viewBox:"0 0 202 144",xmlns:"http://www.w3.org/2000/svg",xlinkHref:"http://www.w3.org/1999/xlink"},s.createElement("defs",null,s.createElement("filter",{x:"-5.5%",y:"-5.7%",width:"111.1%",height:"115.9%",filterUnits:"objectBoundingBox",id:"g8vmoi619a"},s.createElement("feOffset",{dy:"3",in:"SourceAlpha",result:"shadowOffsetOuter1"}),s.createElement("feGaussianBlur",{stdDeviation:"3",in:"shadowOffsetOuter1",result:"shadowBlurOuter1"}),s.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0",in:"shadowBlurOuter1"})),s.createElement("path",{d:"M89.7 79.001a8.024 8.024 0 0 0 10.6 0L190 0v132H0V0z",id:"4s4pb5vkvb"})),s.createElement("g",{fillRule:"nonzero",fill:"none"},s.createElement("g",{transform:"translate(6 3)"},s.createElement("use",{fill:"#000",filter:"url(#g8vmoi619a)",xlinkHref:"#4s4pb5vkvb"}),s.createElement("use",{fill:"#FCFCFC",xlinkHref:"#4s4pb5vkvb"})),s.createElement("path",{d:"M117.462 72.17 196 135H6l78.538-62.83 11.163 9.831a8.024 8.024 0 0 0 10.385.182l.213-.182 11.163-9.831z",fill:"#F5F5F5"})))})).withConfig({displayName:"digital-greeting-animation__Front",componentId:"sc-mygv3m-5"})(["position:absolute;bottom:0;width:",";height:",";"],(0,fi.D0)(190),(0,fi.D0)(132)),Ri=(0,u.default)((function(t){var e=t.className;return s.createElement("svg",{className:e,width:"214",height:"230",viewBox:"0 0 214 230",xmlns:"http://www.w3.org/2000/svg"},s.createElement("defs",null,s.createElement("filter",{x:"-8.7%",y:"-5.1%",width:"117.4%",height:"116%",filterUnits:"objectBoundingBox",id:"c3mu87en8a"},s.createElement("feOffset",{dy:"3",in:"SourceAlpha",result:"shadowOffsetOuter1"}),s.createElement("feGaussianBlur",{stdDeviation:"3",in:"shadowOffsetOuter1",result:"shadowBlurOuter1"}),s.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.07 0",in:"shadowBlurOuter1",result:"shadowMatrixOuter1"}),s.createElement("feMerge",null,s.createElement("feMergeNode",{in:"shadowMatrixOuter1"}),s.createElement("feMergeNode",{in:"SourceGraphic"}))),s.createElement("filter",{x:"-5.5%",y:"-10.1%",width:"111.1%",height:"128.4%",filterUnits:"objectBoundingBox",id:"chhjffceob"},s.createElement("feOffset",{dy:"3",in:"SourceAlpha",result:"shadowOffsetOuter1"}),s.createElement("feGaussianBlur",{stdDeviation:"3",in:"shadowOffsetOuter1",result:"shadowBlurOuter1"}),s.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0",in:"shadowBlurOuter1"})),s.createElement("filter",{x:"-5.5%",y:"-5.7%",width:"111.1%",height:"115.9%",filterUnits:"objectBoundingBox",id:"mj3vhepjvd"},s.createElement("feOffset",{dy:"3",in:"SourceAlpha",result:"shadowOffsetOuter1"}),s.createElement("feGaussianBlur",{stdDeviation:"3",in:"shadowOffsetOuter1",result:"shadowBlurOuter1"}),s.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0",in:"shadowBlurOuter1"})),s.createElement("path",{d:"M0 74h190L99.998 1.759a7.98 7.98 0 0 0-9.996 0L0 74z",id:"nynnwdjddc"}),s.createElement("path",{id:"d49akx8y9e",d:"M0 74h190v132H0z"})),s.createElement("g",{fillRule:"nonzero",fill:"none"},s.createElement("g",{filter:"url(#c3mu87en8a)",transform:"translate(12 6)"},s.createElement("use",{fill:"#000",filter:"url(#chhjffceob)",xlinkHref:"#nynnwdjddc"}),s.createElement("use",{fill:"#FFF",xlinkHref:"#nynnwdjddc"}),s.createElement("g",null,s.createElement("use",{fill:"#000",filter:"url(#mj3vhepjvd)",xlinkHref:"#d49akx8y9e"}),s.createElement("use",{fill:"#EDEDED",xlinkHref:"#d49akx8y9e"}))),s.createElement("path",{d:"M107 11c.661 0 1.322.22 1.868.658L187.783 75H26.217l78.915-63.342A2.979 2.979 0 0 1 107 11z",fill:"#EDEDED"})))})).withConfig({displayName:"digital-greeting-animation__Back",componentId:"sc-mygv3m-6"})(["position:absolute;bottom:0;width:",";height:",";"],(0,fi.D0)(190),(0,fi.D0)(206)),Li=u.default.div.withConfig({displayName:"digital-greeting-animation__CardContainer",componentId:"sc-mygv3m-7"})(["position:absolute;display:flex;justify-content:center;width:",";height:",";left:",";bottom:",";overflow:hidden;"],(0,fi.D0)(150),(0,fi.D0)(160),(0,fi.D0)(20),(0,fi.D0)(54)),Ii=u.default.div.withConfig({displayName:"digital-greeting-animation__Card",componentId:"sc-mygv3m-8"})(["position:relative;top:100%;background-color:",";width:",";height:",";padding:",";"],(function(t){var e=t.color,n=t.theme;return null!=e?e:n.white}),(0,fi.D0)(150),(0,fi.D0)(200),(0,fi.D0)(16)),Ui=(0,u.default)((function(t){var e=t.className;return s.createElement("svg",{className:e+" logo",version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 180.9 157.1",xmlSpace:"preserve"},s.createElement("g",null,s.createElement("path",{fill:"#ED1B2F",d:"M137,0.1C120.5-1.1,103,6,91.2,18.5l-0.7,0.8l-0.7-0.8C78.8,6.9,63,0,47.6,0c-1.2,0-2.5,0-3.7,0.1 C24.7,1.6,9.7,13.4,2.9,32.7c-8.7,24.6,2.2,52.4,32.4,82.5c23.6,23.5,49.6,39.2,50.7,39.8l2.7,1.6c1.1,0.6,2.4,0.6,3.5,0l2.7-1.6 c0.3-0.2,26.9-16.1,50.7-39.8c30.2-30.1,41.2-57.9,32.4-82.5C171.2,13.4,156.2,1.6,137,0.1z M81.9,46.2H61.4v16.4h20.5v11H50v16.4 h31.9v41.6l-1.6-1.1c-8.5-6.1-21.2-15.9-32.8-27.5C30.2,85.8,11.2,60.7,19.1,38.4c5.8-16.3,17.4-20.5,26.1-21.2 c0.8-0.1,1.7-0.1,2.5-0.1c13.3,0,27,7.6,34,19l0.1,0.2V46.2z M133.5,103.1c-11.7,11.6-24.3,21.4-32.8,27.5l-1.6,1.1V90.1H131V73.7 H99.1v-11h20.5V46.2H99.1v-9.8l0.1-0.2c7.5-12.2,22.6-19.9,36.5-18.9c8.7,0.6,20.3,4.8,26.1,21.2 C169.7,60.7,150.8,85.8,133.5,103.1z"})))})).withConfig({displayName:"digital-greeting-animation__Logo",componentId:"sc-mygv3m-9"})(["position:absolute;width:",";bottom:",";left:",";"],(0,fi.D0)(100),(0,fi.D0)(8),(0,fi.D0)(30)),Ni=u.default.div.withConfig({displayName:"digital-greeting-animation__Screen",componentId:"sc-mygv3m-10"})(["position:absolute;top:0;left:0;right:0;padding:",";min-height:fit-content;height:fit-content;",""],(0,fi.D0)(16),(function(t){var e=t.color,n=t.theme;return(0,u.css)(["",""],fi.$_.L(ci||(ci=(0,r.A)(["\n background-color: ",";\n padding: 0;\n inset: 0;\n height: 100%;\n "])),null!=e?e:n.white))})),Wi=(0,u.default)(yi._).withConfig({displayName:"digital-greeting-animation__StyledImage",componentId:"sc-mygv3m-11"})(["width:100%;"]),Hi=(0,u.default)(mi.h).withConfig({displayName:"digital-greeting-animation__StyledPreview",componentId:"sc-mygv3m-12"})(["border-radius:",";"],(0,fi.D0)(12))},39962:function(t,e,n){function r(t){return"string"==typeof t||Array.isArray(t)}n.d(e,{w:function(){return r}})},39971:function(t,e,n){n.d(e,{k:function(){return s}});var r,i=n(21959),o=n(90469);function a(){r=void 0}var s={now:function(){return void 0===r&&s.set(o.uv.isProcessing||i.W.useManualTiming?o.uv.timestamp:performance.now()),r},set:function(t){r=t,queueMicrotask(a)}}},41764:function(t,e,n){n.d(e,{h:function(){return r}});var r=function(t){return Array.isArray(t)&&"number"!=typeof t[0]}},42129:function(t,e,n){n.d(e,{I:function(){return r}});var r=function(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}},42938:function(t,e,n){n.d(e,{g:function(){return i}});var r=n(4213);function i(t,e){var n,i=t.getValue("willChange");if(n=i,Boolean((0,r.S)(n)&&n.add))return i.add(e)}},46385:function(t,e,n){n.d(e,{X4:function(){return u},ai:function(){return s},hs:function(){return c}});var r=n(61630),i=n(8105);function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?o(Object(n),!0).forEach((function(e){(0,r.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var s={test:function(t){return"number"==typeof t},parse:parseFloat,transform:function(t){return t}},u=a(a({},s),{},{transform:function(t){return(0,i.q)(0,1,t)}}),c=a(a({},s),{},{default:1})},47350:function(t,e,n){n.d(e,{k:function(){return r}});var r=function(t,e,n){return t+(e-t)*n}},48459:function(t,e,n){n.d(e,{o:function(){return b}});var r=n(61630),i=n(50992),o=n(75032),a=n(8105),s=n(56655),u={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},c=n(81137),l=.001;function f(t){var e,n,r=t.duration,i=void 0===r?u.duration:r,s=t.bounce,f=void 0===s?u.bounce:s,v=t.velocity,d=void 0===v?u.velocity:v,m=t.mass,y=void 0===m?u.mass:m;(0,c.$)(i<=(0,o.f)(u.maxDuration),"Spring duration must be 10 seconds or less");var g=1-f;g=(0,a.q)(u.minDamping,u.maxDamping,g),i=(0,a.q)(u.minDuration,u.maxDuration,(0,o.X)(i)),g<1?(e=function(t){var e=t*g,n=e*i,r=e-d,o=h(t,g),a=Math.exp(-n);return l-r/o*a},n=function(t){var n=t*g*i,r=n*d+d,o=Math.pow(g,2)*Math.pow(t,2)*i,a=Math.exp(-n),s=h(Math.pow(t,2),g);return(-e(t)+l>0?-1:1)*((r-o)*a)/s}):(e=function(t){return Math.exp(-t*i)*((t-d)*i+1)-l},n=function(t){return Math.exp(-t*i)*(i*i*(d-t))});var b=function(t,e,n){for(var r=n,i=1;i<p;i++)r-=t(r)/e(r);return r}(e,n,5/i);if(i=(0,o.f)(i),isNaN(b))return{stiffness:u.stiffness,damping:u.damping,duration:i};var x=Math.pow(b,2)*y;return{stiffness:x,damping:2*g*Math.sqrt(y*x),duration:i}}var p=12;function h(t,e){return t*Math.sqrt(1-e*e)}function v(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function d(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?v(Object(n),!0).forEach((function(e){(0,r.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var m=["duration","bounce"],y=["stiffness","damping","mass"];function g(t,e){return e.some((function(e){return void 0!==t[e]}))}function b(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u.visualDuration,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u.bounce,r="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:n}:e,c=r.restSpeed,l=r.restDelta,p=r.keyframes[0],v=r.keyframes[r.keyframes.length-1],b={done:!1,value:p},x=function(t){var e=d({velocity:u.velocity,stiffness:u.stiffness,damping:u.damping,mass:u.mass,isResolvedFromDuration:!1},t);if(!g(t,y)&&g(t,m))if(t.visualDuration){var n=t.visualDuration,r=2*Math.PI/(1.2*n),i=r*r,o=2*(0,a.q)(.05,1,1-(t.bounce||0))*Math.sqrt(i);e=d(d({},e),{},{mass:u.mass,stiffness:i,damping:o})}else{var s=f(t);(e=d(d(d({},e),s),{},{mass:u.mass})).isResolvedFromDuration=!0}return e}(d(d({},r),{},{velocity:-(0,o.X)(r.velocity||0)})),O=x.stiffness,w=x.damping,P=x.mass,A=x.duration,j=x.velocity,D=x.isResolvedFromDuration,k=j||0,E=w/(2*Math.sqrt(O*P)),S=v-p,F=(0,o.X)(Math.sqrt(O/P)),T=Math.abs(S)<5;if(c||(c=T?u.restSpeed.granular:u.restSpeed.default),l||(l=T?u.restDelta.granular:u.restDelta.default),E<1){var C=h(F,E);t=function(t){var e=Math.exp(-E*F*t);return v-e*((k+E*F*S)/C*Math.sin(C*t)+S*Math.cos(C*t))}}else if(1===E)t=function(t){return v-Math.exp(-F*t)*(S+(k+F*S)*t)};else{var M=F*Math.sqrt(E*E-1);t=function(t){var e=Math.exp(-E*F*t),n=Math.min(M*t,300);return v-e*((k+E*F*S)*Math.sinh(n)+M*S*Math.cosh(n))/M}}var V={calculatedDuration:D&&A||null,next:function(e){var n=t(e);if(D)b.done=e>=A;else{var r=0;E<1&&(r=0===e?(0,o.f)(k):(0,s.Y)(t,e,n));var i=Math.abs(r)<=c,a=Math.abs(v-n)<=l;b.done=i&&a}return b.value=b.done?v:n,b},toString:function(){var t=Math.min((0,i.tu)(V),i.YE),e=(0,i.KZ)((function(e){return V.next(t*e).value}),t,30);return t+"ms "+e}};return V}},48537:function(t,e,n){function r(t){return void 0===t||1===t}function i(t){var e=t.scale,n=t.scaleX,i=t.scaleY;return!r(e)||!r(n)||!r(i)}function o(t){return i(t)||a(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function a(t){return s(t.x)||s(t.y)}function s(t){return t&&"0%"!==t}n.d(e,{HD:function(){return o},vF:function(){return a},vk:function(){return i}})},50787:function(t,e,n){n.d(e,{U:function(){return r},_:function(){return i}});var r=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],i=["initial"].concat(r)},50992:function(t,e,n){n.d(e,{P6:function(){return f},vG:function(){return O},tu:function(){return v},XG:function(){return b},KZ:function(){return E},rU:function(){return p},PT:function(){return N},DW:function(){return P},WH:function(){return x},Mc:function(){return H},yL:function(){return S},TU:function(){return C},YE:function(){return h},c$:function(){return q},KJ:function(){return B},Wp:function(){return $},nL:function(){return D}});var r=n(65156),i=n(52602),o=n(86828),a=n(74369),s=n(18751),u=n(5022),c=(0,u.p)((function(){return void 0!==window.ScrollTimeline}));function l(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(l=function(){return!!t})()}var f=function(t){(0,o.A)(c,t);var e,n,u=(e=c,n=l(),function(){var t,r=(0,s.A)(e);if(n){var i=(0,s.A)(this).constructor;t=Reflect.construct(r,arguments,i)}else t=r.apply(this,arguments);return(0,a.A)(this,t)});function c(){return(0,r.A)(this,c),u.apply(this,arguments)}return(0,i.A)(c,[{key:"then",value:function(t,e){return Promise.all(this.animations).then(t).cat
1ch(e)}}]),c}(function(){function t(e){var n=this;(0,r.A)(this,t),this.stop=function(){return n.runAll("stop")},this.animations=e.filter(Boolean)}return(0,i.A)(t,[{key:"finished",get:function(){return Promise.all(this.animations.map((function(t){return"finished"in t?t.finished:t})))}},{key:"getAll",value:function(t){return this.animations[0][t]}},{key:"setAll",value:function(t,e){for(var n=0;n<this.animations.length;n++)this.animations[n][t]=e}},{key:"attachTimeline",value:function(t,e){var n=this,r=this.animations.map((function(n){return c()&&n.attachTimeline?n.attachTimeline(t):"function"==typeof e?e(n):void 0}));return function(){r.forEach((function(t,e){t&&t(),n.animations[e].stop()}))}}},{key:"time",get:function(){return this.getAll("time")},set:function(t){this.setAll("time",t)}},{key:"speed",get:function(){return this.getAll("speed")},set:function(t){this.setAll("speed",t)}},{key:"startTime",get:function(){return this.getAll("startTime")}},{key:"duration",get:function(){for(var t=0,e=0;e<this.animations.length;e++)t=Math.max(t,this.animations[e].duration);return t}},{key:"runAll",value:function(t){this.animations.forEach((function(e){return e[t]()}))}},{key:"flatten",value:function(){this.runAll("flatten")}},{key:"play",value:function(){this.runAll("play")}},{key:"pause",value:function(){this.runAll("pause")}},{key:"cancel",value:function(){this.runAll("cancel")}},{key:"complete",value:function(){this.runAll("complete")}}]),t}());function p(t,e){return t?t[e]||t.default||t:void 0}var h=2e4;function v(t){for(var e=0,n=t.next(e);!n.done&&e<h;)e+=50,n=t.next(e);return e>=h?1/0:e}var d=n(61630),m=n(75032);function y(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function g(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?y(Object(n),!0).forEach((function(e){(0,d.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function b(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,n=(arguments.length>2?arguments[2]:void 0)(g(g({},t),{},{keyframes:[0,e]})),r=Math.min(v(n),h);return{type:"keyframes",ease:function(t){return n.next(r*t).value/e},duration:(0,m.X)(r)}}function x(t){return"function"==typeof t}function O(t,e){t.timeline=e,t.onfinish=null}var w=n(77493),P=function(t){return Array.isArray(t)&&"number"==typeof t[0]},A={linearEasing:void 0};function j(t,e){var n=(0,u.p)(t);return function(){var t;return null!==(t=A[e])&&void 0!==t?t:n()}}var D=j((function(){try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0}),"linearEasing"),k=n(14841),E=function(t,e){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,r="",i=Math.max(Math.round(e/n),2),o=0;o<i;o++)r+=t((0,k.q)(0,i-1,o))+", ";return"linear(".concat(r.substring(0,r.length-2),")")};function S(t){return Boolean("function"==typeof t&&D()||!t||"string"==typeof t&&(t in T||D())||P(t)||Array.isArray(t)&&t.every(S))}var F=function(t){var e=(0,w.A)(t,4),n=e[0],r=e[1],i=e[2],o=e[3];return"cubic-bezier(".concat(n,", ").concat(r,", ").concat(i,", ").concat(o,")")},T={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:F([0,.65,.55,1]),circOut:F([.55,0,1,.45]),backIn:F([.31,.01,.66,-.59]),backOut:F([.33,1.53,.69,.99])};function C(t,e){return t?"function"==typeof t&&D()?E(t,e):P(t)?F(t):Array.isArray(t)?t.map((function(t){return C(t,e)||T.easeOut})):T[t]:void 0}var M={x:!1,y:!1};function V(){return M.x||M.y}function B(t,e,n){var r;if(t instanceof Element)return[t];if("string"==typeof t){var i=document;e&&(i=e.current);var o=null!==(r=null==n?void 0:n[t])&&void 0!==r?r:i.querySelectorAll(t);return o?Array.from(o):[]}return Array.from(t)}function R(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function L(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?R(Object(n),!0).forEach((function(e){(0,d.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):R(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function I(t,e){var n=B(t),r=new AbortController;return[n,L(L({passive:!0},e),{},{signal:r.signal}),function(){return r.abort()}]}function U(t){return function(e){"touch"===e.pointerType||V()||t(e)}}function N(t,e){var n=I(t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}),r=(0,w.A)(n,3),i=r[0],o=r[1],a=r[2],s=U((function(t){var n=t.target,r=e(t);if("function"==typeof r&&n){var i=U((function(t){r(t),n.removeEventListener("pointerleave",i)}));n.addEventListener("pointerleave",i,o)}}));return i.forEach((function(t){t.addEventListener("pointerenter",s,o)})),a}var W=function t(e,n){return!!n&&(e===n||t(e,n.parentElement))},H=function(t){return"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary},G=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);var z=new WeakSet;function _(t){return function(e){"Enter"===e.key&&t(e)}}function K(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}var X=function(t,e){var n=t.currentTarget;if(n){var r=_((function(){if(!z.has(n)){K(n,"down");var t=_((function(){K(n,"up")}));n.addEventListener("keyup",t,e),n.addEventListener("blur",(function(){return K(n,"cancel")}),e)}}));n.addEventListener("keydown",r,e),n.addEventListener("blur",(function(){return n.removeEventListener("keydown",r)}),e)}};function Y(t){return H(t)&&!V()}function q(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=I(t,n),i=(0,w.A)(r,3),o=i[0],a=i[1],s=i[2],u=function(t){var r=t.currentTarget;if(Y(t)&&!z.has(r)){z.add(r);var i=e(t),o=function(t,e){window.removeEventListener("pointerup",s),window.removeEventListener("pointercancel",u),Y(t)&&z.has(r)&&(z.delete(r),"function"==typeof i&&i(t,{success:e}))},s=function(t){o(t,n.useGlobalTarget||W(r,t.target))},u=function(t){o(t,!1)};window.addEventListener("pointerup",s,a),window.addEventListener("pointercancel",u,a)}};return o.forEach((function(t){(function(t){return G.has(t.tagName)||-1!==t.tabIndex})(t)||null!==t.getAttribute("tabindex")||(t.tabIndex=0),(n.useGlobalTarget?window:t).addEventListener("pointerdown",u,a),t.addEventListener("focus",(function(t){return X(t,a)}),a)})),s}n(83396),n(43135);function $(t){return"x"===t||"y"===t?M[t]?null:(M[t]=!0,function(){M[t]=!1}):M.x||M.y?null:(M.x=M.y=!0,function(){M.x=M.y=!1})}},52264:function(t,e,n){n.d(e,{KN:function(){return u},gQ:function(){return p},px:function(){return c},uj:function(){return s},vh:function(){return l},vw:function(){return f}});var r=n(61630);function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?i(Object(n),!0).forEach((function(e){(0,r.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var a=function(t){return{test:function(e){return"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length},parse:parseFloat,transform:function(e){return"".concat(e).concat(t)}}},s=a("deg"),u=a("%"),c=a("px"),l=a("vh"),f=a("vw"),p=o(o({},u),{},{parse:function(t){return u.parse(t)/100},transform:function(t){return u.transform(100*t)}})},52620:function(t,e,n){n.d(e,{OU:function(){return f},Ql:function(){return p},Ww:function(){return v},hq:function(){return o},o4:function(){return u}});var r=n(47350),i=n(48537);function o(t,e,n){return n+e*(t-n)}function a(t,e,n,r,i){return void 0!==i&&(t=o(t,i,r)),o(t,n,r)+e}function s(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;t.min=a(t.min,e,n,r,i),t.max=a(t.max,e,n,r,i)}function u(t,e){var n=e.x,r=e.y;s(t.x,n.translate,n.scale,n.originPoint),s(t.y,r.translate,r.scale,r.originPoint)}var c=.999999999999,l=1.0000000000001;function f(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=n.length;if(o){var a,s;e.x=e.y=1;for(var f=0;f<o;f++){s=(a=n[f]).projectionDelta;var p=a.options.visualElement;p&&p.props.style&&"contents"===p.props.style.display||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&v(t,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),s&&(e.x*=s.x.scale,e.y*=s.y.scale,u(t,s)),r&&(0,i.HD)(a.latestValues)&&v(t,a.latestValues))}e.x<l&&e.x>c&&(e.x=1),e.y<l&&e.y>c&&(e.y=1)}}function p(t,e){t.min=t.min+e,t.max=t.max+e}function h(t,e,n,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:.5;s(t,e,n,(0,r.k)(t.min,t.max,o),i)}function v(t,e){h(t.x,e.x,e.scaleX,e.scale,e.originX),h(t.y,e.y,e.scaleY,e.scale,e.originY)}},55046:function(t,e,n){n.d(e,{B:function(){return l}});var r=n(88491),i=n(12179),o=n(52264),a={offset:"stroke-dashoffset",array:"stroke-dasharray"},s={offset:"strokeDashoffset",array:"strokeDasharray"};function u(t,e,n){return"string"==typeof t?t:o.px.transform(e+n*t)}var c=["attrX","attrY","attrScale","originX","originY","pathLength","pathSpacing","pathOffset"];function l(t,e,n,l){var f=e.attrX,p=e.attrY,h=e.attrScale,v=e.originX,d=e.originY,m=e.pathLength,y=e.pathSpacing,g=void 0===y?1:y,b=e.pathOffset,x=void 0===b?0:b,O=(0,r.A)(e,c);if((0,i.O)(t,O,l),n)t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);else{t.attrs=t.style,t.style={};var w=t.attrs,P=t.style,A=t.dimensions;w.transform&&(A&&(P.transform=w.transform),delete w.transform),A&&(void 0!==v||void 0!==d||P.transform)&&(P.transformOrigin=function(t,e,n){var r=u(e,t.x,t.width),i=u(n,t.y,t.height);return"".concat(r," ").concat(i)}(A,void 0!==v?v:.5,void 0!==d?d:.5)),void 0!==f&&(w.x=f),void 0!==p&&(w.y=p),void 0!==h&&(w.scale=h),void 0!==m&&function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];t.pathLength=1;var u=i?a:s;t[u.offset]=o.px.transform(-r);var c=o.px.transform(e),l=o.px.transform(n);t[u.array]="".concat(c," ").concat(l)}(w,m,g,x,!1)}}},55694:function(t,e,n){n.d(e,{O:function(){return s},e:function(){return a}});var r=n(10323),i=n(39962),o=n(50787);function a(t){return(0,r.N)(t.animate)||o._.some((function(e){return(0,i.w)(t[e])}))}function s(t){return Boolean(a(t)||t.variants)}},56655:function(t,e,n){n.d(e,{Y:function(){return o}});var r=n(11920),i=5;function o(t,e,n){var o=Math.max(e-i,0);return(0,r.f)(n-t(o),e-o)}},59122:function(t,e,n){n.d(e,{Z:function(){return i}});var r=n(64840);function i(t){var e=[0];return(0,r.f)(e,t.length-1),e}},59130:function(t,e,n){n.d(e,{b:function(){return p}});var r=n(65156),i=n(52602),o=n(86828),a=n(74369),s=n(18751),u=n(76816),c=n(29070),l=n(4213);function f(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(f=function(){return!!t})()}var p=function(t){(0,o.A)(p,t);var e,n,u=(e=p,n=f(),function(){var t,r=(0,s.A)(e);if(n){var i=(0,s.A)(this).constructor;t=Reflect.construct(r,arguments,i)}else t=r.apply(this,arguments);return(0,a.A)(this,t)});function p(){var t;return(0,r.A)(this,p),(t=u.apply(this,arguments)).KeyframeResolver=c.K,t}return(0,i.A)(p,[{key:"sortInstanceNodePosition",value:function(t,e){return 2&t.compareDocumentPosition(e)?1:-1}},{key:"getBaseTargetFromProps",value:function(t,e){return t.style?t.style[e]:void 0}},{key:"removeValueFromRenderState",value:function(t,e){var n=e.vars,r=e.style;delete n[t],delete r[t]}},{key:"handleChildMotionValue",value:function(){var t=this;this.childSubscription&&(this.childSubscription(),delete this.childSubscription);var e=this.props.children;(0,l.S)(e)&&(this.childSubscription=e.on("change",(function(e){t.current&&(t.current.textContent="".concat(e))})))}}]),p}(u.B)},59918:function(t,e,n){n.d(e,{y:function(){return a}});var r=n(97285),i=n(91140),o=n(90336),a={test:function(t){return o.B.test(t)||r.u.test(t)||i.V.test(t)},parse:function(t){return o.B.test(t)?o.B.parse(t):i.V.test(t)?i.V.parse(t):r.u.parse(t)},transform:function(t){return"string"==typeof t?t:t.hasOwnProperty("red")?o.B.transform(t):i.V.transform(t)}}},60828:function(t,e,n){n.d(e,{$:function(){return s},q:function(){return u}});var r=n(61630),i=n(77493),o=n(77756);var a=/^(?:#[0-9a-f]{3,8}|(?:rgb|h[s\u017F]l)a?\((?:\x2D?[\.0-9]+%?[\t-\r ,\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+){2}\x2D?[\.0-9]+%?[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(?:[,\/][\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*)?(?:\b[0-9]+(?:\.[0-9]+)?|\.[0-9]+)?%?\))$/i,s=function(t,e){return function(n){return Boolean("string"==typeof n&&a.test(n)&&n.startsWith(t)||e&&!function(t){return null==t}(n)&&Object.prototype.hasOwnProperty.call(n,e))}},u=function(t,e,n){return function(a){var s;if("string"!=typeof a)return a;var u=a.match(o.S),c=(0,i.A)(u,4),l=c[0],f=c[1],p=c[2],h=c[3];return s={},(0,r.A)(s,t,parseFloat(l)),(0,r.A)(s,e,parseFloat(f)),(0,r.A)(s,n,parseFloat(p)),(0,r.A)(s,"alpha",void 0!==h?parseFloat(h):1),s}}},61289:function(t,e,n){n.d(e,{a:function(){return r}});var r=function(t){return Math.round(1e5*t)/1e5}},61636:function(t,e,n){n.d(e,{a:function(){return o}});var r=n(77493);function i(t){var e=[{},{}];
1return null==t||t.values.forEach((function(t,n){e[0][n]=t.get(),e[1][n]=t.getVelocity()})),e}function o(t,e,n,o){if("function"==typeof e){var a=i(o),s=(0,r.A)(a,2),u=s[0],c=s[1];e=e(void 0!==n?n:t.custom,u,c)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){var l=i(o),f=(0,r.A)(l,2),p=f[0],h=f[1];e=e(void 0!==n?n:t.custom,p,h)}return e}},63602:function(t,e,n){n.d(e,{L:function(){return a},m:function(){return o}});var r=n(93307),i=n(52620);function o(t,e){return(0,r.FY)((0,r.bS)(t.getBoundingClientRect(),e))}function a(t,e,n){var r=o(t,n),a=e.scroll;return a&&((0,i.Ql)(r.x,a.offset.x),(0,i.Ql)(r.y,a.offset.y)),r}},64840:function(t,e,n){n.d(e,{f:function(){return o}});var r=n(14841),i=n(47350);function o(t,e){for(var n=t[t.length-1],o=1;o<=e;o++){var a=(0,r.q)(0,e,o);t.push((0,i.k)(n,1,a))}}},65104:function(t,e,n){n.d(e,{F:function(){return i}});var r=function(t,e){return function(n){return e(t(n))}},i=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.reduce(r)}},65183:function(t,e,n){n.d(e,{f:function(){return Xt}});var r=n(61630),i=n(50992),o=n(75032),a=n(90469),s=n(21959),u=!1,c=n(88491),l=n(65156),f=n(52602),p=n(86828),h=n(74369),v=n(18751),d=n(26996),m=function(t,e,n){return(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t};function y(t,e,n,r){if(t===e&&n===r)return d.l;var i=function(e){return function(t,e,n,r,i){var o,a,s=0;do{(o=m(a=e+(n-e)/2,r,i)-t)>0?n=a:e=a}while(Math.abs(o)>1e-7&&++s<12);return a}(e,0,1,t,n)};return function(t){return 0===t||1===t?t:m(i(t),e,r)}}var g=n(28352),b=n(16497),x=y(.33,1.53,.69,.99),O=(0,b.G)(x),w=(0,g.V)(O),P=function(t){return(t*=2)<1?.5*O(t):.5*(2-Math.pow(2,-10*(t-1)))},A=n(21613),j=n(29070),D=n(39971),k=n(16360),E=n(81137),S=n(19900),F=function(t,e){return"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!S.f.test(t)&&"0"!==t||t.startsWith("url(")))};var T=function(t){return null!==t};function C(t,e,n){var r=e.repeat,i=e.repeatType,o=void 0===i?"loop":i,a=t.filter(T),s=r&&"loop"!==o&&r%2==1?0:a.length-1;return s&&void 0!==n?n:a[s]}var M=["autoplay","delay","type","repeat","repeatDelay","repeatType"];function V(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function B(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?V(Object(n),!0).forEach((function(e){(0,r.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):V(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var R=function(){function t(e){var n=e.autoplay,r=void 0===n||n,i=e.delay,o=void 0===i?0:i,a=e.type,s=void 0===a?"keyframes":a,u=e.repeat,f=void 0===u?0:u,p=e.repeatDelay,h=void 0===p?0:p,v=e.repeatType,d=void 0===v?"loop":v,m=(0,c.A)(e,M);(0,l.A)(this,t),this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=D.k.now(),this.options=B({autoplay:r,delay:o,type:s,repeat:f,repeatDelay:h,repeatType:d},m),this.updateFinishedPromise()}return(0,f.A)(t,[{key:"calcStartTime",value:function(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}},{key:"resolved",get:function(){return this._resolved||this.hasAttemptedResolve||(0,k.q)(),this._resolved}},{key:"onKeyframesResolved",value:function(t,e){this.resolvedAt=D.k.now(),this.hasAttemptedResolve=!0;var n=this.options,r=n.name,o=n.type,a=n.velocity,s=n.delay,c=n.onComplete,l=n.onUpdate;if(!n.isGenerator&&!function(t,e,n,r){var o=t[0];if(null===o)return!1;if("display"===e||"visibility"===e)return!0;var a=t[t.length-1],s=F(o,e),u=F(a,e);return(0,E.$)(s===u,"You are trying to animate ".concat(e,' from "').concat(o,'" to "').concat(a,'". ').concat(o," is not an animatable value - to enable this animation set ").concat(o," to a value animatable to ").concat(a," via the `style` property.")),!(!s||!u)&&(function(t){var e=t[0];if(1===t.length)return!0;for(var n=0;n<t.length;n++)if(t[n]!==e)return!0}(t)||("spring"===n||(0,i.WH)(n))&&r)}
1(t,r,o,a)){if(u||!s)return l&&l(C(t,this.options,e)),c&&c(),void this.resolveFinishedPromise();this.options.duration=0}var f=this.initPlayback(t,e);!1!==f&&(this._resolved=B({keyframes:t,finalKeyframe:e},f),this.onPostResolved())}},{key:"onPostResolved",value:function(){}},{key:"then",value:function(t,e){return this.currentFinishedPromise.then(t,e)}},{key:"flatten",value:function(){this.options.type="keyframes",this.options.ease="linear"}},{key:"updateFinishedPromise",value:function(){var t=this;this.currentFinishedPromise=new Promise((function(e){t.resolveFinishedPromise=e}))}}]),t}(),L=n(43045),I=n(55478),U=n(8105),N=n(47350);function W(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 H=n(97285),G=n(90336),z=n(91140);function _(t,e){return function(n){return n>0?e:t}}function K(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var X=function(t,e,n){var r=t*t,i=n*(e*e-r)+r;return i<0?0:Math.sqrt(i)},Y=[H.u,G.B,z.V];function q(t){var e,n=(e=t,Y.find((function(t){return t.test(e)})));if((0,E.$)(Boolean(n),"'".concat(t,"' is not an animatable color. Use the equivalent color code instead.")),!Boolean(n))return!1;var r=n.parse(t);return n===z.V&&(r=function(t){var e=t.hue,n=t.saturation,r=t.lightness,i=t.alpha;e/=360,r/=100;var o=0,a=0,s=0;if(n/=100){var u=r<.5?r*(1+n):r+n-r*n,c=2*r-u;o=W(c,u,e+1/3),a=W(c,u,e),s=W(c,u,e-1/3)}else o=a=s=r;return{red:Math.round(255*o),green:Math.round(255*a),blue:Math.round(255*s),alpha:i}}(r)),r}var $=function(t,e){var n=q(t),i=q(e);if(!n||!i)return _(t,e);var o=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?K(Object(n),!0).forEach((function(e){(0,r.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):K(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},n);return function(t){return o.red=X(n.red,i.red,t),o.green=X(n.green,i.green,t),o.blue=X(n.blue,i.blue,t),o.alpha=(0,N.k)(n.alpha,i.alpha,t),G.B.transform(o)}},Z=n(65104),Q=n(59918),J=n(79003),tt=new Set(["none","hidden"]);function et(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function nt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?et(Object(n),!0).forEach((function(e){(0,r.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):et(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function rt(t,e){return function(n){return(0,N.k)(t,e,n)}}function it(t){return"number"==typeof t?rt:"string"==typeof t?(0,J.p)(t)?_:Q.y.test(t)?$:st:Array.isArray(t)?ot:"object"==typeof t?Q.y.test(t)?$:at:_}function ot(t,e){var n=(0,L.A)(t),r=n.length,i=t.map((function(t,n){return it(t)(t,e[n])}));return function(t){for(var e=0;e<r;e++)n[e]=i[e](t);return n}}function at(t,e){var n=nt(nt({},t),e),r={};for(var i in n)void 0!==t[i]&&void 0!==e[i]&&(r[i]=it(t[i])(t[i],e[i]));return function(t){for(var e in r)n[e]=r[e](t);return n}}var st=function(t,e){var n=S.f.createTransformer(e),r=(0,S.V)(t),i=(0,S.V)(e);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?tt.has(t)&&!i.values.length||tt.has(e)&&!r.values.length?function(t,e){return tt.has(t)?function(n){return n<=0?t:e}:function(n){return n>=1?e:t}}(t,e):(0,Z.F)(ot(function(t,e){for(var n,r=[],i={color:0,var:0,number:0},o=0;o<e.values.length;o++){var a=e.types[o],s=t.indexes[a][i[a]],u=null!==(n=t.values[s])&&void 0!==n?n:0;r[o]=u,i[a]++}return r}(r,i),i.values),n):((0,E.$)(!0,"Complex values '".concat(t,"' and '").concat(e,"' too different to mix. Ensure all c
1olors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.")),_(t,e))};function ut(t,e,n){return"number"==typeof t&&"number"==typeof e&&"number"==typeof n?(0,N.k)(t,e,n):it(t)(t,e)}var ct=n(48459),lt=n(56655);function ft(t){var e=t.keyframes,n=t.velocity,r=void 0===n?0:n,i=t.power,o=void 0===i?.8:i,a=t.timeConstant,s=void 0===a?325:a,u=t.bounceDamping,c=void 0===u?10:u,l=t.bounceStiffness,f=void 0===l?500:l,p=t.modifyTarget,h=t.min,v=t.max,d=t.restDelta,m=void 0===d?.5:d,y=t.restSpeed,g=e[0],b={done:!1,value:g},x=function(t){return void 0===h?v:void 0===v||Math.abs(h-t)<Math.abs(v-t)?h:v},O=o*r,w=g+O,P=void 0===p?w:p(w);P!==w&&(O=P-g);var A,j,D=function(t){return-O*Math.exp(-t/s)},k=function(t){return P+D(t)},E=function(t){var e=D(t),n=k(t);b.done=Math.abs(e)<=m,b.value=b.done?P:n},S=function(t){var e;(e=b.value,void 0!==h&&e<h||void 0!==v&&e>v)&&(A=t,j=(0,ct.o)({keyframes:[b.value,x(b.value)],velocity:(0,lt.Y)(k,t,b.value),damping:c,stiffness:f,restDelta:m,restSpeed:y}))};return S(0),{calculatedDuration:null,next:function(t){var e=!1;return j||void 0!==A||(e=!0,E(t),S(t)),void 0!==A&&t>=A?j.next(t-A):(!e&&E(t),b)}}}var pt=y(.42,0,1,1),ht=y(0,0,.58,1),vt=y(.42,0,.58,1),dt=n(41764),mt=n(77493),yt={linear:d.l,easeIn:pt,easeInOut:vt,easeOut:ht,circIn:A.po,circInOut:A.tn,circOut:A.yT,backIn:O,backInOut:w,backOut:x,anticipate:P},gt=function(t){if((0,i.DW)(t)){(0,E.V)(4===t.length,"Cubic bezier arrays must contain four numerical values.");var e=(0,mt.A)(t,4);return y(e[0],e[1],e[2],e[3])}return"string"==typeof t?((0,E.V)(void 0!==yt[t],"Invalid easing type '".concat(t,"'")),yt[t]):t},bt=n(14841);function xt(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.clamp,i=void 0===r||r,o=n.ease,a=n.mixer,s=t.length;if((0,E.V)(s===e.length,"Both input and output ranges must be the same length"),1===s)return function(){return e[0]};if(2===s&&e[0]===e[1])return function(){return e[1]};var u=t[0]===t[1];t[0]>t[s-1]&&(t=(0,L.A)(t).reverse(),e=(0,L.A)(e).reverse());var c=function(t,e,n){for(var r=[],i=n||ut,o=t.length-1,a=0;a<o;a++){var s=i(t[a],t[a+1]);if(e){var u=Array.isArray(e)?e[a]||d.l:e;s=(0,Z.F)(u,s)}r.push(s)}return r}(e,o,a),l=c.length,f=function(n){if(u&&n<t[0])return e[0];var r=0;if(l>1)for(;r<t.length-2&&!(n<t[r+1]);r++);var i=(0,bt.q)(t[r],t[r+1],n);return c[r](i)};return i?function(e){return f((0,U.q)(t[0],t[s-1],e))}:f}var Ot=n(59122);function wt(t){var e,n,r=t.duration,i=void 0===r?300:r,o=t.keyframes,a=t.times,s=t.ease,u=void 0===s?"easeInOut":s,c=(0,dt.h)(u)?u.map(gt):gt(u),l={done:!1,value:o[0]},f=function(t,e){return t.map((function(t){return t*e}))}(a&&a.length===o.length?a:(0,Ot.Z)(o),i),p=xt(f,o,{ease:Array.isArray(c)?c:(e=o,n=c,e.map((function(){return n||vt})).splice(0,e.length-1))});return{calculatedDuration:i,next:function(t){return l.value=p(t),l.done=t>=i,l}}}var Pt=function(t){var e=function(e){var n=e.timestamp;return t(n)};return{start:function(){return a.Gt.update(e,!0)},stop:function(){return(0,a.WG)(e)},now:function(){return a.uv.isProcessing?a.uv.timestamp:D.k.now()}}};function At(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function jt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?At(Object(n),!0).forEach((function(e){(0,r.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):At(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Dt(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Dt=function(){return!!t})()}var kt={decay:ft,inertia:ft,tween:wt,keyframes:wt,spring:ct.o},Et=function(t){return t/100},St=function(t){(0,p.A)(a,t);var e,n,r=(e=a,n=Dt(),function(){var t,r=(0,v.A)(e);if(n){var i=(0,v.A)(this).constructor;t=Reflect.construct(r,arguments,i)}else t=r.apply(this,arguments);return(0,h.A)(this,t)});function a(t){var e;(0,l.A)(this,a),(e=r.call(this,t)).holdTime=null,e.cancelTime=null,e.currentTime=0,e.playbackSpeed=1,e.pendingPlayState="running",e.startTime=null,e.state="idle",e.stop=function(){if(e.resolver.cancel(),e.isStopped=!0,"idle"!==e.state){e.teardown();var t=e.options.onStop;t&&t()}};var n=e.options,i=n.name,o=n.motionValue,s=n.element,u=n.keyframes,c=(null==s?void 0:s.KeyframeResolver)||k.h;return e.resolver=new c(u,(function(t,n){return e.onKeyframesResolved(t,n)}),i,o,s),e.resolver.scheduleResolve(),e}return(0,f.A)(a,[{key:"flatten",value:function(){(0,I.A)((0,v.A)(a.prototype),"flatten",this).call(this),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}},{key:"initPlayback",value:function(t){var e,n,r=this.options,o=r.type,a=void 0===o?"keyframes":o,s=r.repeat,u=void 0===s?0:s,c=r.repeatDelay,l=void 0===c?0:c,f=r.repeatType,p=r.velocity,h=void 0===p?0:p,v=(0,i.WH)(a)?a:kt[a]||wt;v!==wt&&"number"!=typeof t[0]&&(e=(0,Z.F)(Et,ut(t[0],t[1])),t=[0,100]);var d=v(jt(jt({},this.options),{},{keyframes:t}));"mirror"===f&&(n=v(jt(jt({},this.options),{},{keyframes:(0,L.A)(t).reverse(),velocity:-h}))),null===d.calculatedDuration&&(d.calculatedDuration=(0,i.tu)(d));var m=d.calculatedDuration,y=m+l;return{generator:d,mirroredGenerator:n,mapPercentToKeyframes:e,calculatedDuration:m,resolvedDuration:y,totalDuration:y*(u+1)-l}}},{key:"onPostResolved",value:function(){var t=this.options.autoplay,e=void 0===t||t;this.play(),"paused"!==this.pendingPlayState&&e?this.state=this.pendingPlayState:this.pause()}},{key:"tick",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.resolved;if(!n){var r=this.options.keyframes;return{done:!0,value:r[r.length-1]}}var i=n.finalKeyframe,o=n.generator,a=n.mirroredGenerator,s=n.mapPercentToKeyframes,u=n.keyframes,c=n.calculatedDuration,l=n.totalDuration,f=n.resolvedDuration;if(null===this.startTime)return o.next(0);var p=this.options,h=p.delay,v=p.repeat,d=p.repeatType,m=p.repeatDelay,y=p.onUpdate;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-l/this.speed,this.startTime)),e?this.currentTime=t:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;var g=this.currentTime-h*(this.speed>=0?1:-1),b=this.speed>=0?g<0:g>l;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=l);var x=this.currentTime,O=o;if(v){var w=Math.min(this.currentTime,l)/f,P=Math.floor(w),A=w%1;!A&&w>=1&&(A=1),1===A&&P--,P=Math.min(P,v+1),Boolean(P%2)&&("reverse"===d?(A=1-A,m&&(A-=m/f)):"mirror"===d&&(O=a)),x=(0,U.q)(0,1,A)*f}var j=b?{done:!1,value:u[0]}:O.next(x);s&&(j.value=s(j.value));var D=j.done;b||null===c||(D=this.speed>=0?this.currentTime>=l:this.currentTime<=0);var k=null===this.holdTime&&("finished"===this.state||"running"===this.state&&D);return k&&void 0!==i&&(j.value=C(u,this.options,i)),y&&y(j.value),k&&this.finish(),j}},{key:"duration",get:function(){var t=this.resolved;return t?(0,o.X)(t.calculatedDuration):0}
1},{key:"time",get:function(){return(0,o.X)(this.currentTime)},set:function(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)}},{key:"speed",get:function(){return this.playbackSpeed},set:function(t){var e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=(0,o.X)(this.currentTime))}},{key:"play",value:function(){var t=this;if(this.resolver.isScheduled||this.resolver.resume(),this._resolved){if(!this.isStopped){var e=this.options,n=e.driver,r=void 0===n?Pt:n,i=e.onPlay,o=e.startTime;this.driver||(this.driver=r((function(e){return t.tick(e)}))),i&&i();var a=this.driver.now();null!==this.holdTime?this.startTime=a-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=a):this.startTime=null!=o?o:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}}else this.pendingPlayState="running"}},{key:"pause",value:function(){var t;this._resolved?(this.state="paused",this.holdTime=null!==(t=this.currentTime)&&void 0!==t?t:0):this.pendingPlayState="paused"}},{key:"complete",value:function(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}},{key:"finish",value:function(){this.teardown(),this.state="finished";var t=this.options.onComplete;t&&t()}},{key:"cancel",value:function(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}},{key:"teardown",value:function(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}},{key:"stopDriver",value:function(){this.driver&&(this.driver.stop(),this.driver=void 0)}},{key:"sample",value:function(t){return this.startTime=0,this.tick(t,!0)}}]),a}(R);var Ft=new Set(["opacity","clipPath","filter","transform"]);var Tt=(0,n(5022).p)((function(){return Object.hasOwnProperty.call(Element.prototype,"animate")})),Ct=["onComplete","onUpdate","motionValue","element"],Mt=["motionValue","onUpdate","onComplete","element"];function Vt(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Vt=function(){return!!t})()}function Bt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Rt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Bt(Object(n),!0).forEach((function(e){(0,r.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Bt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Lt={anticipate:P,backInOut:w,circInOut:A.tn};var It=function(t){(0,p.A)(s,t);var e,n,a=(e=s,n=Vt(),function(){var t,r=(0,v.A)(e);if(n){var i=(0,v.A)(this).constructor;t=Reflect.construct(r,arguments,i)}else t=r.apply(this,arguments);return(0,h.A)(this,t)});function s(t){var e;(0,l.A)(this,s);var n=(e=a.call(this,t)).options,r=n.name,i=n.motionValue,o=n.element,u=n.keyframes;return e.resolver=new j.K(u,(function(t,n){return e.onKeyframesResolved(t,n)}),r,i,o),e.resolver.scheduleResolve(),e}return(0,f.A)(s,[{key:"initPlayback",value:function(t,e){var n=this,o=this.options,a=o.duration,s=void 0===a?300:a,u=o.times,l=o.ease,f=o.type,p=o.motionValue,h=o.name,v=o.startTime;if(!p.owner||!p.owner.current)return!1;if("string"==typeof l&&(0,i.nL)()&&l in Lt&&(l=Lt[l]),function(t){return(0,i.WH)(t.type)||"spring"===t.type||!(0,i.yL)(t.ease)}(this.options)){var d=this.options,m=(d.onComplete,d.onUpdate,d.motionValue,d.element,(0,c.A)(d,Ct)),y=function(t,e){for(var n=new St(Rt(Rt({},e),{},{keyframes:t,repeat:0,delay:0,isGenerator:!0})),r={done:!1,value:t[0]},i=[],o=0;!r.done&&o<2e4;)r=n.sample(o),i.push(r.value),o+=10;return{times:void 0,keyframes:i,duration:o-10,ease:"linear"}}(t,m);1===(t=y.keyframes).length&&(t[1]=t[0]),s=y.duration,u=y.times,l=y.ease,f="keyframes"}var g=function(t,e,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=o.delay,s=void 0===a?0:a,u=o.duration,c=void 0===u?300:u,l=o.repeat,f=void 0===l?0:l,p=o.repeatType,h=void 0===p?"loop":p,v=o.ease,d=void 0===v?"easeInOut":v,m=o.times,y=(0,r.A)({},e,n);m&&(y.offset=m);var g=(0,i.TU)(d,c);return Array.isArray(g)&&(y.easing=g),t.animate(y,{delay:s,duration:c,easing:Array.isArray(g)?"linear":g,fill:"both",iterations:f+1,direction:"reverse"===h?"alternate":"normal"})}(p.owner.current,h,t,Rt(Rt({},this.options),{},{duration:s,times:u,ease:l}));return g.startTime=null!=v?v:this.calcStartTime(),this.pendingTimeline?((0,i.vG)(g,this.pendingTimeline),this.pendingTimeline=void 0):g.onfinish=function(){var r=n.options.onComplete;
1p.set(C(t,n.options,e)),r&&r(),n.cancel(),n.resolveFinishedPromise()},{animation:g,duration:s,times:u,type:f,ease:l,keyframes:t}}},{key:"duration",get:function(){var t=this.resolved;if(!t)return 0;var e=t.duration;return(0,o.X)(e)}},{key:"time",get:function(){var t=this.resolved;if(!t)return 0;var e=t.animation;return(0,o.X)(e.currentTime||0)},set:function(t){var e=this.resolved;e&&(e.animation.currentTime=(0,o.f)(t))}},{key:"speed",get:function(){var t=this.resolved;return t?t.animation.playbackRate:1},set:function(t){var e=this.resolved;e&&(e.animation.playbackRate=t)}},{key:"state",get:function(){var t=this.resolved;return t?t.animation.playState:"idle"}},{key:"startTime",get:function(){var t=this.resolved;return t?t.animation.startTime:null}},{key:"attachTimeline",value:function(t){if(this._resolved){var e=this.resolved;if(!e)return d.l;var n=e.animation;(0,i.vG)(n,t)}else this.pendingTimeline=t;return d.l}},{key:"play",value:function(){if(!this.isStopped){var t=this.resolved;if(t){var e=t.animation;"finished"===e.playState&&this.updateFinishedPromise(),e.play()}}}},{key:"pause",value:function(){var t=this.resolved;t&&t.animation.pause()}},{key:"stop",value:function(){if(this.resolver.cancel(),this.isStopped=!0,"idle"!==this.state){this.resolveFinishedPromise(),this.updateFinishedPromise();var t=this.resolved;if(t){var e=t.animation,n=t.keyframes,r=t.duration,i=t.type,a=t.ease,s=t.times;if("idle"!==e.playState&&"finished"!==e.playState){if(this.time){var u=this.options,l=u.motionValue,f=(u.onUpdate,u.onComplete,u.element,(0,c.A)(u,Mt)),p=new St(Rt(Rt({},f),{},{keyframes:n,duration:r,type:i,ease:a,times:s,isGenerator:!0})),h=(0,o.f)(this.time);l.setWithVelocity(p.sample(h-10).value,p.sample(h).value,10)}var v=this.options.onStop;v&&v(),this.cancel()}}}}},{key:"complete",value:function(){var t=this.resolved;t&&t.animation.finish()}},{key:"cancel",value:function(){var t=this.resolved;t&&t.animation.cancel()}}],[{key:"supports",value:function(t){var e=t.motionValue,n=t.name,r=t.repeatDelay,i=t.repeatType,o=t.damping,a=t.type;if(!(e&&e.owner&&e.owner.current instanceof HTMLElement))return!1;var s=e.owner.getProps(),u=s.onUpdate,c=s.transformTemplate;return Tt()&&n&&Ft.has(n)&&!u&&!c&&!r&&"mirror"!==i&&0!==o&&"inertia"!==a}}]),s}(R),Ut=n(30344),Nt={type:"spring",stiffness:500,damping:25,restSpeed:10},Wt={type:"keyframes",duration:.8},Ht={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Gt=function(t,e){var n=e.keyframes;return n.length>2?Wt:Ut.f.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===n[1]?2*Math.sqrt(550):30,restSpeed:10}:Nt:Ht},zt=["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"];function _t(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Kt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?_t(Object(n),!0).forEach((function(e){(0,r.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):_t(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Xt=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},l=arguments.length>4?arguments[4]:void 0,f=arguments.length>5?arguments[5]:void 0;return function(p){var h=(0,i.rU)(r,t)||{},v=h.delay||r.delay||0,d=r.elapsed,m=void 0===d?0:d;m-=(0,o.f)(v);var y=Kt(Kt({keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity()},h),{},{delay:-m,onUpdate:function(t){e.set(t),h.onUpdate&&h.onUpdate(t)},onComplete:function(){p(),h.onComplete&&h.onComplete()},name:t,motionValue:e,element:f?void 0:l});(function(t){t.when,t.delay,t.delayChildren,t.staggerChildren,t.staggerDirection,t.repeat,t.repeatType,t.repeatDelay,t.from,t.elapsed;var e=(0,c.A)(t,zt);return!!Object.keys(e).length})(h)||(y=Kt(Kt({},y),Gt(t,y))),y.duration&&(y.duration=(0,o.f)(y.duration)),y.repeatDelay&&(y.repeatDelay=(0,o.f)(y.repeatDelay)),void 0!==y.from&&(y.keyframes[0]=y.from);var g=!1;if((!1===y.type||0===y.duration&&!y.repeatDelay)&&(y.duration=0,0===y.delay&&(g=!0)),(u||s.W.skipAnimations)&&(g=!0,y.duration=0,y.delay=0),g&&!f&&void 0!==e.get()){var b=C(y.keyframes,h);if(void 0!==b)return a.Gt.update((function(){y.onUpdate(b),y.onComplete()}
1)),new i.P6([])}return!f&&It.supports(y)?new It(y):new St(y)}}},65700:function(t,e,n){n.d(e,{B:function(){return i},K:function(){return o}});var r=n(32529),i=function(t){return Boolean(t&&"object"==typeof t&&t.mix&&t.toValue)},o=function(t){return(0,r.p)(t)?t[t.length-1]||0:t}},69514:function(t,e,n){n.d(e,{A:function(){return d}});var r,i,o=n(5944),a=n(78659),s=n.n(a),u=n(96540),c=n(58076),l=n(41334),f=n(59126),p=n(38839),h=n(71835),v=n(75171),d=function(t){var e=t.asset,n=t.message,r=t.title,i=t.amount,o=t.backgroundColor,a=t.orderId,c=t.senderName,l=t.senderPhone,f=t.type,d=(0,u.useState)(!1),g=d[0],b=d[1],x=(0,u.useRef)(null),O=(0,u.useRef)(),w=(0,v.L)().isMobile;return(0,u.useEffect)((function(){if(g&&w){var t=function t(){var e,n,r=(null!==(e=null===(n=x.current)||void 0===n?void 0:n.getBoundingClientRect().height)&&void 0!==e?e:0)-window.innerHeight;s()(window.scrollY/r,0,1)>.6&&(clearTimeout(O.current),window.removeEventListener("scroll",t))};return window.addEventListener("scroll",t),O.current=setTimeout((function(){var e,n;window.removeEventListener("scroll",t),clearTimeout(O.current);var r=(null!==(e=null===(n=x.current)||void 0===n?void 0:n.getBoundingClientRect().height)&&void 0!==e?e:0)-window.innerHeight;r<0||(0,h.i)(0,r,{duration:.85,ease:"easeOut",onUpdate:function(t){window.scrollTo(0,t)}})}),5e3),function(){window.removeEventListener("scroll",t),clearTimeout(O.current)}}}),[g]),u.createElement(m,{ref:x,color:o,isAnimationFinished:g},u.createElement(y,{type:f,asset:e,backgroundColor:o,title:r,message:n,amount:i}),u.createElement(p.F,{orderId:a,type:f,heading:c,subHeading:l,pageShareSlug:"",setIsAnimationFinished:b}))},m=c.default.div.withConfig({displayName:"digital-greeting-receiver-view__Container",componentId:"sc-dex5gd-0"})(["width:100%;height:100vh;min-height:100vh;display:flex;flex-direction:column;align-self:flex-start;background-color:white;overflow:hidden;",""],(function(t){var e=t.color,n=t.isAnimationFinished,i=t.theme;return(0,c.css)([""," ",""],n&&(0,c.css)(["overflow:visible;height:auto;"]),l.$_.L(r||(r=(0,o.A)(["\n background-color: ",";\n "])),null!=e?e:i.white))})),y=(0,c.default)(f.h).withConfig({displayName:"digital-greeting-receiver-view__StyledPreview",componentId:"sc-dex5gd-1"})(["margin:",";border-radius:",";",""],(0,l.D0)(16),(0,l.D0)(12),l.$_.L(i||(i=(0,o.A)(["\n margin: 0;\n "]))))},71477:function(t,e,n){n.d(e,{i:function(){return r}});var r=function(t){return/^\x2D?(?:[0-9]+(?:\.[0-9]+)?|\.[0-9]+)$/.test(t)}},71835:function(t,e,n){n.d(e,{i:function(){return rt},W:function(){return nt}});var r=n(50992),i=n(43045),o=n(48459),a=n(77493),s=n(61630),u=n(88491),c=(n(35231),n(75032)),l=n(81137),f=n(14841),p=function(t,e,n){var r=e-t;return((n-t)%r+r)%r+t},h=n(41764);function v(t,e){return(0,h.h)(t)?t[p(0,t.length,e)]:t}var d=n(59122),m=n(64840),y=n(4213);function g(t){return"object"==typeof t&&!Array.isArray(t)}function b(t,e,n,i){return"string"==typeof t&&g(e)?(0,r.KJ)(t,n,i):t instanceof NodeList?Array.from(t):Array.isArray(t)?t:[t]}function x(t,e,n,r){var i;return"number"==typeof e?e:e.startsWith("-")||e.startsWith("+")?Math.max(0,t+parseFloat(e)):"<"===e?n:null!==(i=r.get(e))&&void 0!==i?i:t}var O=n(76363),w=n(47350);function P(t,e,n,r,i,o){!function(t,e,n){for(var r=0;r<t.length;r++){var i=t[r];i.at>e&&i.at<n&&((0,O.Ai)(t,i),r--)}}(t,i,o);for(var a=0;a<e.length;a++)t.push({value:e[a],at:(0,w.k)(i,o,r[a]),easing:v(n,a)})}function A(t,e){return t.at===e.at?null===t.value?1:null===e.value?-1:0:t.at-e.at}var j=["defaultTransition"],D=["delay","times","type","repeat","repeatType","repeatDelay"];function k(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function E(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?k(Object(n),!0).forEach((function(e){(0,s.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEac
1h((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var S="easeInOut",F=20;function T(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.defaultTransition,o=void 0===n?{}:n,s=(0,u.A)(e,j),p=arguments.length>2?arguments[2]:void 0,h=arguments.length>3?arguments[3]:void 0,g=o.duration||.3,O=new Map,w=new Map,k={},T=new Map,B=0,L=0,I=0,U=function(){var e=t[N];if("string"==typeof e)return T.set(e,L),0;if(!Array.isArray(e))return T.set(e.name,x(L,e.at,B,T)),0;var n=(0,a.A)(e,3),s=n[0],f=n[1],O=n[2],A=void 0===O?{}:O;void 0!==A.at&&(L=x(L,A.at,B,T));var j=0,S=function(t,e,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,f=function(t){return Array.isArray(t)?t:[t]}(t),p=e.delay,y=void 0===p?0:p,b=e.times,x=void 0===b?(0,d.Z)(f):b,O=e.type,w=void 0===O?"keyframes":O,A=e.repeat,k=(e.repeatType,e.repeatDelay,(0,u.A)(e,D)),S=e.ease,T=void 0===S?o.ease||"easeOut":S,C=e.duration,M="function"==typeof y?y(a,s):y,V=f.length,B=(0,r.WH)(w)?w:null==h?void 0:h[w];if(V<=2&&B){var U=100;if(2===V&&R(f)){var N=f[1]-f[0];U=Math.abs(N)}var W=E({},k);void 0!==C&&(W.duration=(0,c.f)(C));var H=(0,r.XG)(W,U,B);T=H.ease,C=H.duration}null!=C||(C=g);var G=L+M;1===x.length&&0===x[0]&&(x[1]=1);var z=x.length-f.length;if(z>0&&(0,m.f)(x,z),1===f.length&&f.unshift(null),A){(0,l.V)(A<F,"Repeat count too high, must be less than 20"),C=function(t,e){return t*(e+1)}(C,A);var _=(0,i.A)(f),K=(0,i.A)(x);T=Array.isArray(T)?(0,i.A)(T):[T];for(var X=(0,i.A)(T),Y=0;Y<A;Y++){f.push.apply(f,(0,i.A)(_));for(var q=0;q<_.length;q++)x.push(K[q]+(Y+1)),T.push(0===q?"linear":v(X,q-1))}!function(t,e){for(var n=0;n<t.length;n++)t[n]=t[n]/(e+1)}(x,A)}var $=G+C;P(n,f,T,x,G,$),j=Math.max(M+C,j),I=Math.max($,I)};if((0,y.S)(s))S(f,A,M("default",C(s,w)));else for(var U=b(s,f,p,k),W=U.length,H=0;H<W;H++){var G=C(U[H],w);for(var z in f)S(f[z],V(A,z),M(z,G),H,W)}B=L,L+=j},N=0;N<t.length;N++)U();return w.forEach((function(t,e){for(var n in t){var r=t[n];r.sort(A);for(var i=[],a=[],u=[],c=0;c<r.length;c++){var l=r[c],p=l.at,h=l.value,v=l.easing;i.push(h),a.push((0,f.q)(0,I,p)),u.push(v||"easeOut")}0!==a[0]&&(a.unshift(0),i.unshift(i[0]),u.unshift(S)),1!==a[a.length-1]&&(a.push(1),i.push(null)),O.has(e)||O.set(e,{keyframes:{},transition:{}});var d=O.get(e);d.keyframes[n]=i,d.transition[n]=E(E({},o),{},{duration:I,ease:u,times:a},s)}})),O}function C(t,e){return!e.has(t)&&e.set(t,{}),e.get(t)}function M(t,e){return e[t]||(e[t]=[]),e[t]}function V(t,e){return t&&t[e]?E(E({},t),t[e]):E({},t)}var B=function(t){return"number"==typeof t},R=function(t){return t.every(B)},L=n(28476),I=n(78642),U=n(13414),N=n(20370),W=n(24394),H=n(65156),G=n(52602),z=n(86828),_=n(74369),K=n(18751),X=n(27337);function Y(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Y=function(){return!!t})()}var q=function(t){(0,z.A)(i,t);var e,n,r=(e=i,n=Y(),function(){var t,r=(0,K.A)(e);if(n){var i=(0,K.A)(this).constructor;t=Reflect.construct(r,arguments,i)}else t=r.apply(this,arguments);return(0,_.A)(this,t)});function i(){var t;return(0,H.A)(this,i),(t=r.apply(this,arguments)).type="object",t}return(0,G.A)(i,[{key:"readValueFromInstance",value:function(t,e){if(function(t,e){return t in e}(e,t)){var n=t[e];if("string"==typeof n||"number"==typeof n)return n}}},{key:"getBaseTargetFromProps",value:function(){}},{key:"removeValueFromRenderState",value:function(t,e){delete e.output[t]}},{key:"measureInstanceViewportBox",value:function(){return(0,X.ge)()}},{key:"build",value:function(t,e){Object.assign(t.output,e)}},{key:"renderInstance",value:function(t,e){var n=e.output;Object.assign(t,n)}},{key:"sortInstanceNodePosition",value:function(){return 0}}]),i}(n(76816).B);function $(t){var e={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=(0,U.x)(t)?new N.l(e):new W.M(e);n.mount(t),L.C.set(t,n)}function Z(t){var e=new q({presenceContext:null,props:{}
1,visualState:{renderState:{output:{}},latestValues:{}}});e.mount(t),L.C.set(t,e)}var Q=n(39519);function J(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function tt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?J(Object(n),!0).forEach((function(e){(0,s.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):J(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function et(t,e,n,r){var o=[];if(function(t,e){return(0,y.S)(t)||"number"==typeof t||"string"==typeof t&&!g(e)}(t,e))o.push((0,Q.z)(t,g(e)&&e.default||e,n&&n.default||n));else{var a=b(t,e,r),s=a.length;(0,l.V)(Boolean(s),"No valid elements provided.");for(var u=0;u<s;u++){var c=a[u],f=c instanceof Element?$:Z;L.C.has(c)||f(c);var p=L.C.get(c),h=tt({},n);"delay"in h&&"function"==typeof h.delay&&(h.delay=h.delay(u,s)),o.push.apply(o,(0,i.A)((0,I.$)(p,tt(tt({},e),{},{transition:h}),{})))}}return o}function nt(t){return function(e,n,a){var s,u=[];s=e,u=Array.isArray(s)&&s.some(Array.isArray)?function(t,e,n){var r=[];return T(t,e,n,{spring:o.o}).forEach((function(t,e){var n=t.keyframes,o=t.transition;r.push.apply(r,(0,i.A)(et(e,n,o)))})),r}(e,n,t):et(e,n,a,t);var c=new r.P6(u);return t&&t.animations.push(c),c}}var rt=nt()},75032:function(t,e,n){n.d(e,{X:function(){return i},f:function(){return r}});var r=function(t){return 1e3*t},i=function(t){return t/1e3}},76363:function(t,e,n){function r(t,e){-1===t.indexOf(e)&&t.push(e)}function i(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}n.d(e,{Ai:function(){return i},Kq:function(){return r}})},76816:function(t,e,n){n.d(e,{B:function(){return B}});var r=n(88491),i=n(61630),o=n(65156),a=n(52602),s=n(39971),u=n(89485),c=n(27337),l=n(71477),f=n(15383),p=n(89323),h={current:null},v={current:!1};var d=n(34893),m=n(980),y=n(19900),g=n(4213),b=n(10415),x=n(43045),O=n(59918),w=n(85587),P=n(99880),A=[].concat((0,x.A)(w.T),[O.y,y.f]),j=n(30344),D=n(28476),k=n(55694),E=n(16360);var S=n(61636),F=n(90469),T=["willChange"];function C(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function M(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?C(Object(n),!0).forEach((function(e){(0,i.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var V=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],B=function(){function t(e){var n=this,i=e.parent,a=e.props,u=e.presenceContext,c=e.reducedMotionConfig,l=e.blockInitialAnimation,f=e.visualState,p=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,o.A)(this,t),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=E.h,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=function(){return n.notify("Update",n.latestValues)},this.render=function(){n.current&&(n.triggerBuild(),n.renderInstance(n.current,n.renderState,n.props.style,n.projection))},this.renderScheduledAt=0,this.scheduleRender=function(){var t=s.k.now();n.renderScheduledAt<t&&(n.renderScheduledAt=t,F.Gt.render(n.render,!1,!0))};var h=f.latestValues,v=f.renderState,d=f.onUpdate;this.onUpdate=d,this.latestValues=h,this.baseTarget=M({},h),this.initialValues=a.initial?M({},h):{},this.renderState=v,this.parent=i,this.props=a,this.presenceContext=u,this.depth=i?i.depth+1:0,this.reducedMotionConfig=c,this.options=p,this.blockInitialAnimation=Boolean(l),this.isControllingVariants=(0,k.e)(a),this.isVariantNode=(0,k.O)(a),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(i&&i.current);var m=this.scrapeMotionValuesFromProps(a,{},this),y=(m.willChange,(0,r.A)(m,T));for(var b in y){var x=y[b];void 0!==h[b]&&(0,g.S)(x)&&x.set(h[b],!1)}}return(0,a.A)(t,[{key:"scrapeMotionValuesFromProps",value:function(t,e,n){return{}}},{key:"mount",value:function(t){var e=this;this.current=t,D.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((function(t,n){return e.bindToMotionValue(n,t)})),v.current||function(){if(v.current=!0,p.B)if(window.matchMedia){var t=window.matchMedia("(prefers-reduced-motion)"),e=function(){return h.current=t.matches};t.addListener(e),e()}else h.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||h.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}},{key:"unmount",value:function(){for(var t in D.C.delete(this.current),this.projection&&this.projection.unmount(),(0,F.WG)(this.notifyUpdate),(0,F.WG)(this.render),this.valueSubscriptions.forEach((function(t){return t()})),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[t].clear();for(var e in this.features){var n=this.features[e];n&&(n.unmount(),n.isMounted=!1)}this.current=null}},{key:"bindToMotionValue",value:function(t,e){var n=this;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();var r,i=j.f.has(t),o=e.on("change",(function(e){n.latestValues[t]=e,n.props.onUpdate&&F.Gt.preRender(n.notifyUpdate),i&&n.projection&&(n.projection.isTransformDirty=!0)})),a=e.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,(function(){o(),a(),r&&r(),e.owner&&e.stop()}))}},{key:"sortNodePosition",value:function(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}},{key:"updateFeatures",value:function(){var t="animation";for(t in u.B){var e=u.B[t];if(e){var n=e.isEnabled,r=e.Feature;if(!this.features[t]&&r&&n(this.props)&&(this.features[t]=new r(this)),this.features[t]){var i=this.features[t];i.isMounted?i.update():(i.mount(),i.isMounted=!0)}}}}},{key:"triggerBuild",value:function(){this.build(this.renderState,this.latestValues,this.props)}},{key:"measureViewportBox",value:function(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,c.ge)()}},{key:"getStaticValue",value:function(t){return this.latestValues[t]}},{key:"setStaticValue",value:function(t,e){this.latestValues[t]=e}},{key:"update",value:function(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(var n=0;n<V.length;n++){var r=V[n];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);var i=t["on"+r];i&&(this.propEventSubscriptions[r]=this.on(r,i))}this.prevMotionValues=function(t,e,n){for(var r in e){var i=e[r],o=n[r];if((0,g.S)(i))t.addValue(r,i);else if((0,g.S)(o))t.addValue(r,(0,m.OQ)(i,{owner:t}));else if(o!==i)if(t.hasValue(r)){var a=t.getValue(r);!0===a.liveStyle?a.jump(i):a.hasAnimated||a.set(i)}else{var s=t.getStaticValue(r);t.addValue(r,(0,m.OQ)(void 0!==s?s:i,{owner:t}))}}for(var u in n)void 0===e[u]&&t.removeValue(u);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}},{key:"getProps",value:function(){return this.props}},{key:"getVariant",value:function(t){return this.props.variants?this.props.variants[t]:void 0}},{key:"getDefaultTransition",value:function(){return this.props.transition}},{key:"getTransformPagePoint",value:function(){return this.props.transformPagePoint}},{key:"getClosestVariantNode",value:function(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}},{key:"addVariantChild",value:function(t){var e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),function(){return e.variantChildren.delete(t)}}},{key:"addValue",value:function(t,e){var 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())}},{key:"removeValue",value:function(t){this.values.delete(t);var e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}},{key:"hasValue",value:function(t){return this.values.has(t)}},{key:"getValue",value:function(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];var n=this.values.get(t);return void 0===n&&void 0!==e&&(n=(0,m.OQ)(null===e?void 0:e,{owner:this}),this.addValue(t,n)),n}},{key:"readValue",value:function(t,e){var n,r,i=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];return null!=i&&("string"==typeof i&&((0,l.i)(i)||(0,f.$)(i))?i=parseFloat(i):(r=i,!A.find((0,P.w)(r))&&y.f.test(e)&&(i=(0,b.J)(t,e))),this.setBaseTarget(t,(0,g.S)(i)?i.get():i)),(0,g.S)(i)?i.get():i}},{key:"setBaseTarget",value:function(t,e){this.baseTarget[t]=e}},{key:"getBaseTarget",value:function(t){var e,n,r=this.props.initial;if("string"==typeof r||"object"==typeof r){var i=(0,S.a)(this.props,r,null===(e=this.presenceContext)||void 0===e?void 0:e.custom);i&&(n=i[t])}if(r&&void 0!==n)return n;var o=this.getBaseTargetFromProps(this.props,t);return void 0===o||(0,g.S)(o)?void 0!==this.initialValues[t]&&void 0===n?void 0:this.baseTarget[t]:o}},{key:"on",value:function(t,e){return this.events[t]||(this.events[t]=new d.v),this.events[t].add(e)}},{key:"notify",value:function(t){if(this.events[t]){for(var e,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];(e=this.events[t]).notify.apply(e,r)}}}]),t}()},77756:function(t,e,n){n.d(e,{S:function(){return r}});var r=/\x2D?(?:[0-9]+(?:\.[0-9]+)?|\.[0-9]+)/g},78642:function(t,e,n){n.d(e,{$:function(){return w}});var r=n(61630),i=n(88491),o=n(50992),a=n(39369),s=n(65700),u=n(980),c=n(568),l=["transitionEnd","transition"];function f(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function p(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?f(Object(n),!0).forEach((function(e){(0,r.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function h(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,(0,u.OQ)(n))}var v=n(42938),d=n(24249),m=n(65183),y=n(90469),g=["transition","transitionEnd"];function b(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function x(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?b(Object(n),!0).forEach((function(e){(0,r.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function O(t,e){var n=t.protectedKeys,r=t.needsAnimating,i=n.hasOwnProperty(e)&&!0!==r[e];return r[e]=!1,i}function w(t,e){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u=r.delay,f=void 0===u?0:u,b=r.transitionOverride,w=r.type,P=e.transition,A=void 0===P?t.getDefaultTransition():P,j=e.transitionEnd,D=(0,i.A)(e,g);b&&(A=b);var k=[],E=w&&t.animationState&&t.animationState.getState()[w];for(var S in D){var F=t.getValue(S,null!==(n=t.latestValues[S])&&void 0!==n?n:null),T=D[S];if(!(void 0===T||E&&O(E,S))){var C=x({delay:f},(0,o.rU)(A||{},S)),M=!1;if(window.MotionHandoffAnimation){var V=(0,d.P)(t);if(V){var B=window.MotionHandoffAnimation(V,S,y.Gt);null!==B&&(C.startTime=B,M=!0)}}(0,v.g)(t,S),F.start((0,m.f)(S,F,T,t.shouldReduceMotion&&a.$.has(S)?{type:!1}:C,t,M));var R=F.animation;R&&k.push(R)}}return j&&Promise.all(k).then((function(){y.Gt.update((function(){j&&function(t,e){var n=(0,c.K)(t,e)||{},r=n.transitionEnd,o=void 0===r?{}:r,a=(n.transition,(0,i.A)(n,l));for(var u in a=p(p({},a),o))h(t,u,(0,s.K)(a[u]))}(t,j)}))})),k}},79003:function(t,e,n){n.d(e,{j:function(){return i},p:function(){return a}});var r=function(t){return function(e){return"string"==typeof e&&e.startsWith(t)}},i=r("--"),o=r("var(--"),a=function(t){return!!o(t)&&s.test(t.split("/*")[0].trim())},s=/var\(\x2D\x2D(?:[\x2D0-9A-Z_a-z\u017F\u212A]+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*|[\x2D0-9A-Z_a-z\u017F\u212A]+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*,(?:[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(?:(?![\t-\r \(\)\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uD800-\uDFFF\uFEFF])[\s\S]|[\uD800-\uDBFF][\uDC00-\uDFFF])|[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*\((?:(?:(?![\(\)\uD800-\uDFFF])[\s\S]|[\uD800-\uDBFF][\uDC00-\uDFFF])|\((?:(?![\(\)\uD800-\uDFFF])[\s\S]|[\uD800-\uDBFF][\uDC00-\uDFFF])*\))*\))+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*)\)$/i},79952:function(t,e,n){n.d(e,{n:function(){return r}});var r=function(t){return"string"==typeof t&&"svg"===t.toLowerCase()}},81137:function(t,e,n){n.d(e,{$:function(){return i},V:function(){return o}});var r=n(26996),i=r.l,o=r.l},85282:function(t,e,n){n.d(e,{D:function(){return c}});var r=n(61630),i=n(59918),o=n(7467);function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(Object(n),!0).forEach((function(e){(0,r.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var u=s(s({},n(92801).W),{},{color:i.y,backgroundColor:i.y,outlineColor:i.y,fill:i.y,stroke:i.y,borderColor:i.y,borderTopColor:i.y,borderRightColor:i.y,borderBottomColor:i.y,borderLeftColor:i.y,filter:o.p,WebkitFilter:o.p}),c=function(t){return u[t]}},85587:function(t,e,n){n.d(e,{T:function(){return a},n:function(){return s}});var r=n(46385),i=n(52264),o=n(99880),a=[r.ai,i.px,i.KN,i.uj,i.vw,i.vh,{test:function(t){return"auto"===t},parse:function(t){return t}}],s=function(t){return a.find((0,o.w)(t))}},86723:function(t,e,n){function r(t,e,n,r){var i=e.style,o=e.vars;for(var a in Object.assign(t.style,i,r&&r.getProjectionStyles(n)),o)t.style.setProperty(a,o[a])}n.d(e,{e:function(){return r}})},89323:function(t,e,n){n.d(e,{B:function(){return r}});var r="undefined"!=typeof window},89485:function(t,e,n){n.d(e,{B:function(){return i}});var 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"]},i={},o=function(t){i[t]={isEnabled:function(e){return r[t].some((function(t){return!!e[t]}))}}};for(var a in r)o(a)},90036:function(t,e,n){n.d(e,{x:function(){return a}});var r=n(4213),i=n(30344),o=n(22261);function a(t,e,n){var a=(0,o.x)(t,e,n);for(var s in t){if((0,r.S)(t[s])||(0,r.S)(e[s]))a[-1!==i.U.indexOf(s)?"attr"+s.charAt(0).toUpperCase()+s.substring(1):s
1]=t[s]}return a}},90336:function(t,e,n){n.d(e,{B:function(){return f}});var r=n(61630),i=n(8105),o=n(46385),a=n(61289),s=n(60828);function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function c(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(Object(n),!0).forEach((function(e){(0,r.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var l=c(c({},o.ai),{},{transform:function(t){return Math.round(function(t){return(0,i.q)(0,255,t)}(t))}}),f={test:(0,s.$)("rgb","red"),parse:(0,s.q)("red","green","blue"),transform:function(t){var e=t.red,n=t.green,r=t.blue,i=t.alpha,s=void 0===i?1:i;return"rgba("+l.transform(e)+", "+l.transform(n)+", "+l.transform(r)+", "+(0,a.a)(o.X4.transform(s))+")"}}},90469:function(t,e,n){n.d(e,{Gt:function(){return o},PP:function(){return u},WG:function(){return a},uv:function(){return s}});var r=n(26996),i=(0,n(16415).I)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:r.l,!0),o=i.schedule,a=i.cancel,s=i.state,u=i.steps},91140:function(t,e,n){n.d(e,{V:function(){return s}});var r=n(46385),i=n(52264),o=n(61289),a=n(60828),s={test:(0,a.$)("hsl","hue"),parse:(0,a.q)("hue","saturation","lightness"),transform:function(t){var e=t.hue,n=t.saturation,a=t.lightness,s=t.alpha,u=void 0===s?1:s;return"hsla("+Math.round(e)+", "+i.KN.transform((0,o.a)(n))+", "+i.KN.transform((0,o.a)(a))+", "+(0,o.a)(r.X4.transform(u))+")"}}},92801:function(t,e,n){n.d(e,{W:function(){return h}});var r=n(61630),i=n(46385),o=n(52264),a={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:i.hs,scaleX:i.hs,scaleY:i.hs,scaleZ:i.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:i.X4,originX:o.gQ,originY:o.gQ,originZ:o.px};function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function c(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(Object(n),!0).forEach((function(e){(0,r.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var l=c(c({},i.ai),{},{transform:Math.round});function f(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function p(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?f(Object(n),!0).forEach((function(e){(0,r.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var h=p(p(p({},a),s),{},{zIndex:l,size:o.px,fillOpacity:i.X4,strokeOpacity:i.X4,numOctaves:l})},93307:function(t,e,n){function r(t){var e=t.top;return{x:{min:t.left,max:t.right},y:{min:e,max:t.bottom}}}function i(t){var e=t.x,n=t.y;return{top:n.min,right:e.max,bottom:n.max,left:e.min}}function o(t,e){if(!e)return t;var n=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}n.d(e,{FY:function(){return r},bS:function(){return o},pA:function(){return i}})},94822:function(t,e,n){n.d(e,{e:function(){return r}});var 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"])},97285:function(t,e,n){n.d(e,{u:function(){return i}});var r=n(90336);var i={test:(0,n(60828).$)("#"),parse:function(t){var e="",n="",r="",i="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),r=t.substring(5,7),i=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),r=t.substring(3,4),i=t.substring(4,5),e+=e,n+=n,r+=r,i+=i),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(r,16),alph
1a:i?parseInt(i,16)/255:1}},transform:r.B.transform}},99880:function(t,e,n){n.d(e,{w:function(){return r}});var r=function(t){return function(e){return e.test(t)}}}}]);
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.