PageSourceSearch

https://www.thestudyias.com/_next/static/chunks/4749-6ab535fe9f445336.js

js thestudyias.com collected 2026-09-24 11:36:45 UTC 187,648 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4749],{49158:function(t,e,i){var n=i(61739),r=i(79167).each;function o(t,e){this.query=t,this.isUnconditional=e,this.handlers=[],this.mql=window.matchMedia(t);var i=this;this.listener=function(t){i.mql=t.currentTarget||t,i.assess()},this.mql.addListener(this.listener)}o.prototype={constuctor:o,addHandler:function(t){var e=new n(t);this.handlers.push(e),this.matches()&&e.on()},removeHandler:function(t){var e=this.handlers;r(e,function(i,n){if(i.equals(t))return i.destroy(),!e.splice(n,1)})},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){r(this.handlers,function(t){t.destroy()}),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var t=this.matches()?"on":"off";r(this.handlers,function(e){e[t]()})}},t.exports=o},67357:function(t,e,i){var n=i(49158),r=i(79167),o=r.each,s=r.isFunction,a=r.isArray;function l(){if(!window.matchMedia)throw Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}l.prototype={constructor:l,register:function(t,e,i){var r=this.queries,l=i&&this.browserIsIncapable;return r[t]||(r[t]=new n(t,l)),s(e)&&(e={match:e}),a(e)||(e=[e]),o(e,function(e){s(e)&&(e={match:e}),r[t].addHandler(e)}),this},unregister:function(t,e){var i=this.queries[t];return i&&(e?i.removeHandler(e):(i.clear(),delete this.queries[t])),this}},t.exports=l},61739:function(t){function e(t){this.options=t,t.deferSetup||this.setup()}e.prototype={constructor:e,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){this.initialised||this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(t){return this.options===t||this.options.match===t}},t.exports=e},79167:function(t){t.exports={isFunction:function(t){return"function"==typeof t},isArray:function(t){return"[object Array]"===Object.prototype.toString.apply(t)},each:function(t,e){for(var i=0,n=t.length;i<n&&!1!==e(t[i],i);i++);}}},95393:function(t,e,i){var n=i(67357);t.exports=new n},76356:function(t,e,i){var n=i(92910),r=function(t){var e="",i=Object.keys(t);return i.forEach(function(r,o){var s,a=t[r];s=r=n(r),/[height|width]$/.test(s)&&"number"==typeof a&&(a+="px"),!0===a?e+=r:!1===a?e+="not "+r:e+="("+r+": "+a+")",o<i.length-1&&(e+=" and ")}),e};t.exports=function(t){var e="";return"string"==typeof t?t:t instanceof Array?(t.forEach(function(i,n){e+=r(i),n<t.length-1&&(e+=", ")}),e):r(t)}},14123:function(t,e,i){var n=0/0,r=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,a=/^0o[0-7]+$/i,l=parseInt,u="object"==typeof i.g&&i.g&&i.g.Object===Object&&i.g,c="object"==typeof self&&self&&self.Object===Object&&self,h=u||c||Function("return this")(),d=Object.prototype.toString,p=Math.max,f=Math.min,m=function(){return h.Date.now()};function y(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function v(t){if("number"==typeof t)return t;if("symbol"==typeof(e=t)||e&&"object"==typeof e&&"[object Symbol]"==d.call(e))return n;if(y(t)){var e,i="function"==typeof t.valueOf?t.valueOf():t;t=y(i)?i+"":i}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(r,"");var u=s.test(t);return u||a.test(t)?l(t.slice(2),u?2:8):o.test(t)?n:+t}t.exports=function(t,e,i){var n,r,o,s,a,l,u=0,c=!1,h=!1,d=!0;if("function"!=typeof t)throw TypeError("Expected a function");function g(e){var i=n,o=r;return n=r=void 0,u=e,s=t.apply(o,i)}function b(t){var i=t-l,n=t-u;return void 0===l||i>=e||i<0||h&&n>=o}function w(){var t,i,n,r=m();if(b(r))return S(r);a=setTimeout(w,(t=r-l,i=r-u,n=e-t,h?f(n,o-i):n))}function S(t){return(a=void 0,d&&n)?g(t):(n=r=void 0,s)}function x(){var t,i=m(),o=b(i);if(n=arguments,r=this,l=i,o){if(void 0===a)return u=t=l,a=setTimeout(w,e),c?g(t):s;if(h)return a=setTimeout(w,e),g(l)}return void 0===a&&(a=setTimeout(w,e)),s}return e=v(e)||0,y(i)&&(c=!!i.leading,o=(h="maxWait"in i)?p(v(i.maxWait)||0,e):o,d="trailing"in i?!!i.trailing:d),x.cancel=function(){void 0!==a&&clearTimeout(a),u=0,n=l=r=a=void 0},x.flush=function(){return void 0===a?s:S(m())},x}}
1,40257:function(t,e,i){"use strict";var n,r;t.exports=(null==(n=i.g.process)?void 0:n.env)&&"object"==typeof(null==(r=i.g.process)?void 0:r.env)?i.g.process:i(44227)},44227:function(t){!function(){var e={229:function(t){var e,i,n,r=t.exports={};function o(){throw Error("setTimeout has not been defined")}function s(){throw Error("clearTimeout has not been defined")}function a(t){if(e===setTimeout)return setTimeout(t,0);if((e===o||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(i){try{return e.call(null,t,0)}catch(i){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:o}catch(t){e=o}try{i="function"==typeof clearTimeout?clearTimeout:s}catch(t){i=s}}();var l=[],u=!1,c=-1;function h(){u&&n&&(u=!1,n.length?l=n.concat(l):c=-1,l.length&&d())}function d(){if(!u){var t=a(h);u=!0;for(var e=l.length;e;){for(n=l,l=[];++c<e;)n&&n[c].run();c=-1,e=l.length}n=null,u=!1,function(t){if(i===clearTimeout)return clearTimeout(t);if((i===s||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(t);try{i(t)}catch(e){try{return i.call(null,t)}catch(e){return i.call(this,t)}}}(t)}}function p(t,e){this.fun=t,this.array=e}function f(){}r.nextTick=function(t){var e=Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)e[i-1]=arguments[i];l.push(new p(t,e)),1!==l.length||u||a(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=f,r.addListener=f,r.once=f,r.off=f,r.removeListener=f,r.removeAllListeners=f,r.emit=f,r.prependListener=f,r.prependOnceListener=f,r.listeners=function(t){return[]},r.binding=function(t){throw Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(t){throw Error("process.chdir is not supported")},r.umask=function(){return 0}}},i={};function n(t){var r=i[t];if(void 0!==r)return r.exports;var o=i[t]={exports:{}},s=!0;try{e[t](o,o.exports,n),s=!1}finally{s&&delete i[t]}return o.exports}n.ab="//";var r=n(229);t.exports=r}()},47614:function(t,e,i){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.PrevArrow=e.NextArrow=void 0;var r=a(i(2265)),o=a(i(36760)),s=i(38907);function a(t){return t&&t.__esModule?t:{default:t}}function l(){return(l=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t}).apply(this,arguments)}function u(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return i}function c(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?u(Object(i),!0).forEach(function(e){var n,r;n=e,r=i[e],(n=f(n))in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):u(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}function h(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}function d(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,f(n.key),n)}}function p(t,e,i){return e&&d(t.prototype,e),i&&d(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t}function f(t){var e=function(t,e){if("object"!=n(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,e||"default");if("object"!=n(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==n(e)?e:String(e)}function m(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&y(t,e)}
1function y(t,e){return(y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function v(t){var e=g();return function(){var i,r=b(t);return i=e?Reflect.construct(r,arguments,b(this).constructor):r.apply(this,arguments),function(t,e){if(e&&("object"===n(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,i)}}function g(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(g=function(){return!!t})()}function b(t){return(b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}e.PrevArrow=function(t){m(i,t);var e=v(i);function i(){return h(this,i),e.apply(this,arguments)}return p(i,[{key:"clickHandler",value:function(t,e){e&&e.preventDefault(),this.props.clickHandler(t,e)}},{key:"render",value:function(){var t={"slick-arrow":!0,"slick-prev":!0},e=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(t["slick-disabled"]=!0,e=null);var i={key:"0","data-role":"none",className:(0,o.default)(t),style:{display:"block"},onClick:e},n={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?r.default.cloneElement(this.props.prevArrow,c(c({},i),n)):r.default.createElement("button",l({key:"0",type:"button"},i)," ","Previous")}}]),i}(r.default.PureComponent),e.NextArrow=function(t){m(i,t);var e=v(i);function i(){return h(this,i),e.apply(this,arguments)}return p(i,[{key:"clickHandler",value:function(t,e){e&&e.preventDefault(),this.props.clickHandler(t,e)}},{key:"render",value:function(){var t={"slick-arrow":!0,"slick-next":!0},e=this.clickHandler.bind(this,{message:"next"});(0,s.canGoNext)(this.props)||(t["slick-disabled"]=!0,e=null);var i={key:"1","data-role":"none",className:(0,o.default)(t),style:{display:"block"},onClick:e},n={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?r.default.cloneElement(this.props.nextArrow,c(c({},i),n)):r.default.createElement("button",l({key:"1",type:"button"},i)," ","Next")}}]),i}(r.default.PureComponent)},93154:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,r=(n=i(2265))&&n.__esModule?n:{default:n};e.default={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(t){return r.default.createElement("ul",{style:{display:"block"}},t)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(t){return r.default.createElement("button",null,t+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0,asNavFor:null,unslick:!1}},92288:function(t,e,i){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.Dots=void 0;var r=a(i(2265)),o=a(i(36760)),s=i(38907);function a(t){return t&&t.__esModule?t:{default:t}}function l(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return i}function u(t){var e=function(t,e){if("object"!=n(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,e||"default");if("object"!=n(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==n(e)?e:String(e)}function c(t,e){return(c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function h(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(h=function(){return!!t})()}function d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}e.Dots=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&c(t,e)}(p,t);var e,i,a=(e=h(),function(){var t,i=d(p);return t=e?Reflect.construct(i,arguments,d(this).constructor):i.apply(this,arguments),function(t,e){if(e&&("object"===n(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,t)});function p(){return!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,p),a.apply(this,arguments)}return i=[{key:"clickHandler",value:function(t,e){e.preventDefault(),this.props.clickHandler(t)}},{key:"render",value:function(){for(var t,e=this.props,i=e.onMouseEnter,n=e.onMouseOver,a=e.onMouseLeave,c=e.infinite,h=e.slidesToScroll,d=e.slidesToShow,p=e.slideCount,f=e.currentSlide,m=(t={slideCount:p,slidesToScroll:h,slidesToShow:d,infinite:c}).infinite?Math.ceil(t.slideCount/t.slidesToScroll):Math.ceil((t.slideCount-t.slidesToShow)/t.slidesToScroll)+1,y=[],v=0;v<m;v++){var g=(v+1)*h-1,b=c?g:(0,s.clamp)(g,0,p-1),w=b-(h-1),S=c?w:(0,s.clamp)(w,0,p-1),x=(0,o.default)({"slick-active":c?f>=S&&f<=b:f===S}),T={message:"dots",index:v,slidesToScroll:h,currentSlide:f},P=this.clickHandler.bind(this,T);y=y.concat(r.default.createElement("li",{key:v,className:x},r.default.cloneElement(this.props.customPaging(v),{onClick:P})))}return r.default.cloneElement(this.props.appendDots(y),function(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?l(Object(i),!0).forEach(function(e){var n,r;n=e,r=i[e],(n=u(n))in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):l(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}({className:this.props.dotsClass},{onMouseEnter:i,onMouseOver:n,onMouseLeave:a}))}}],function(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,u(n.key),n)}}(p.prototype,i),Object.defineProperty(p,"prototype",{writable:!1}),p}(r.default.PureComponent)},6406:function(t,e,i){"use strict";e.Z=void 0;var n,r=(n=i(30037))&&n.__esModule?n:{default:n};e.Z=r.default},45379:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0}},5285:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InnerSlider=void 0;var n=d(i(2265)),r=d(i(45379)),o=d(i(14123)),s=d(i(36760)),a=i(38907),l=i(59040),u=i(92288),c=i(47614),h=d(i(89576));function d(t){return t&&t.__esModule?t:{default:t}}function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(){return(f=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t}).apply(this,arguments)}function m(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return i}function y(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};
1e%2?m(Object(i),!0).forEach(function(e){S(t,e,i[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):m(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}function v(t,e){return(v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function g(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function b(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(b=function(){return!!t})()}function w(t){return(w=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function S(t,e,i){return(e=x(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function x(t){var e=function(t,e){if("object"!=p(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!=p(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==p(e)?e:String(e)}e.InnerSlider=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&v(t,e)}(m,t);var e,i,d=(e=b(),function(){var t,i=w(m);return t=e?Reflect.construct(i,arguments,w(this).constructor):i.apply(this,arguments),function(t,e){if(e&&("object"===p(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return g(t)}(this,t)});function m(t){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,m),S(g(e=d.call(this,t)),"listRefHandler",function(t){return e.list=t}),S(g(e),"trackRefHandler",function(t){return e.track=t}),S(g(e),"adaptHeight",function(){if(e.props.adaptiveHeight&&e.list){var t=e.list.querySelector('[data-index="'.concat(e.state.currentSlide,'"]'));e.list.style.height=(0,a.getHeight)(t)+"px"}}),S(g(e),"componentDidMount",function(){if(e.props.onInit&&e.props.onInit(),e.props.lazyLoad){var t=(0,a.getOnDemandLazySlides)(y(y({},e.props),e.state));t.length>0&&(e.setState(function(e){return{lazyLoadedList:e.lazyLoadedList.concat(t)}}),e.props.onLazyLoad&&e.props.onLazyLoad(t))}var i=y({listRef:e.list,trackRef:e.track},e.props);e.updateState(i,!0,function(){e.adaptHeight(),e.props.autoplay&&e.autoPlay("update")}),"progressive"===e.props.lazyLoad&&(e.lazyLoadTimer=setInterval(e.progressiveLazyLoad,1e3)),e.ro=new h.default(function(){e.state.animating?(e.onWindowResized(!1),e.callbackTimers.push(setTimeout(function(){return e.onWindowResized()},e.props.speed))):e.onWindowResized()}),e.ro.observe(e.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(t){t.onfocus=e.props.pauseOnFocus?e.onSlideFocus:null,t.onblur=e.props.pauseOnFocus?e.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",e.onWindowResized):window.attachEvent("onresize",e.onWindowResized)}),S(g(e),"componentWillUnmount",function(){e.animationEndCallback&&clearTimeout(e.animationEndCallback),e.lazyLoadTimer&&clearInterval(e.lazyLoadTimer),e.callbackTimers.length&&(e.callbackTimers.forEach(function(t){return clearTimeout(t)}),e.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",e.onWindowResized):window.detachEvent("onresize",e.onWindowResized),e.autoplayTimer&&clearInterval(e.autoplayTimer),e.ro.disconnect()}),S(g(e),"componentDidUpdate",function(t){if(e.checkImagesLoad(),e.props.onReInit&&e.props.onReInit(),e.props.lazyLoad){var i=(0,a.getOnDemandLazySlides)(y(y({},e.props),e.state));i.length>0&&(e.setState(function(t){return{lazyLoadedList:t.lazyLoadedList.concat(i)}}),e.props.onLazyLoad&&e.props.onLazyLoad(i))}e.adaptHeight();var r=y(y({listRef:e.list,trackRef:e.track},e.props),e.state),o=e.didPropsChange(t);o&&e.updateState(r,o,function(){e.state.currentSlide>=n.default.Children.count(e.props.children)&&e.changeSlide({message:"index",index:n.default.Children.count(e.props.children)-e.props.slidesToShow,currentSlide:e.state.currentSlide}),e.props.autoplay?e.autoPlay("update"):e.pause("paused")})}),S(g(e),"onWindowResized",function(t){e.debouncedResize&&e.debouncedResize.cancel(),e.debouncedResize=(0,o.default)(function(){return e.resizeWindow(t)},50),e.debouncedResize()}),S(g(e),"resizeWindow",function(){var t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(e.track&&e.track.node){var i=y(y({listRef:e.list,trackRef:e.track},e.props),e.state);e.updateState(i,t,function(){e.props.autoplay?e.autoPlay("update"):e.pause("paused")}),e.setState({animating:!1}),clearTimeout(e.animationEndCallback),delete e.animationEndCallback}}),S(g(e),"updateState",function(t,i,r){var o=(0,a.initializedState)(t);t=y(y(y({},t),o),{},{slideIndex:o.currentSlide});var s=(0,a.getTrackLeft)(t);t=y(y({},t),{},{left:s});var l=(0,a.getTrackCSS)(t);(i||n.default.Children.count(e.props.children)!==n.default.Children.count(t.children))&&(o.trackStyle=l),e.setState(o,r)}),S(g(e),"ssrInit",function(){if(e.props.variableWidth){var t=0,i=0,r=[],o=(0,a.getPreClones)(y(y(y({},e.props),e.state),{},{slideCount:e.props.children.length})),s=(0,a.getPostClones)(y(y(y({},e.props),e.state),{},{slideCount:e.props.children.length}));
1e.props.children.forEach(function(e){r.push(e.props.style.width),t+=e.props.style.width});for(var l=0;l<o;l++)i+=r[r.length-1-l],t+=r[r.length-1-l];for(var u=0;u<s;u++)t+=r[u];for(var c=0;c<e.state.currentSlide;c++)i+=r[c];var h={width:t+"px",left:-i+"px"};if(e.props.centerMode){var d="".concat(r[e.state.currentSlide],"px");h.left="calc(".concat(h.left," + (100% - ").concat(d,") / 2 ) ")}return{trackStyle:h}}var p=n.default.Children.count(e.props.children),f=y(y(y({},e.props),e.state),{},{slideCount:p}),m=(0,a.getPreClones)(f)+(0,a.getPostClones)(f)+p,v=100/e.props.slidesToShow*m,g=100/m,b=-g*((0,a.getPreClones)(f)+e.state.currentSlide)*v/100;return e.props.centerMode&&(b+=(100-g*v/100)/2),{slideWidth:g+"%",trackStyle:{width:v+"%",left:b+"%"}}}),S(g(e),"checkImagesLoad",function(){var t=e.list&&e.list.querySelectorAll&&e.list.querySelectorAll(".slick-slide img")||[],i=t.length,n=0;Array.prototype.forEach.call(t,function(t){var r=function(){return++n&&n>=i&&e.onWindowResized()};if(t.onclick){var o=t.onclick;t.onclick=function(e){o(e),t.parentNode.focus()}}else t.onclick=function(){return t.parentNode.focus()};t.onload||(e.props.lazyLoad?t.onload=function(){e.adaptHeight(),e.callbackTimers.push(setTimeout(e.onWindowResized,e.props.speed))}:(t.onload=r,t.onerror=function(){r(),e.props.onLazyLoadError&&e.props.onLazyLoadError()}))})}),S(g(e),"progressiveLazyLoad",function(){for(var t=[],i=y(y({},e.props),e.state),n=e.state.currentSlide;n<e.state.slideCount+(0,a.getPostClones)(i);n++)if(0>e.state.lazyLoadedList.indexOf(n)){t.push(n);break}for(var r=e.state.currentSlide-1;r>=-(0,a.getPreClones)(i);r--)if(0>e.state.lazyLoadedList.indexOf(r)){t.push(r);break}t.length>0?(e.setState(function(e){return{lazyLoadedList:e.lazyLoadedList.concat(t)}}),e.props.onLazyLoad&&e.props.onLazyLoad(t)):e.lazyLoadTimer&&(clearInterval(e.lazyLoadTimer),delete e.lazyLoadTimer)}),S(g(e),"slideHandler",function(t){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.props,r=n.asNavFor,o=n.beforeChange,s=n.onLazyLoad,l=n.speed,u=n.afterChange,c=e.state.currentSlide,h=(0,a.slideHandler)(y(y(y({index:t},e.props),e.state),{},{trackRef:e.track,useCSS:e.props.useCSS&&!i})),d=h.state,p=h.nextState;if(d){o&&o(c,d.currentSlide);var f=d.lazyLoadedList.filter(function(t){return 0>e.state.lazyLoadedList.indexOf(t)});s&&f.length>0&&s(f),!e.props.waitForAnimate&&e.animationEndCallback&&(clearTimeout(e.animationEndCallback),u&&u(c),delete e.animationEndCallback),e.setState(d,function(){r&&e.asNavForIndex!==t&&(e.asNavForIndex=t,r.innerSlider.slideHandler(t)),p&&(e.animationEndCallback=setTimeout(function(){var t=p.animating,i=function(t,e){if(null==t)return{};var i,n,r=function(t,e){if(null==t)return{};var i,n,r={},o=Object.keys(t);for(n=0;n<o.length;n++)i=o[n],e.indexOf(i)>=0||(r[i]=t[i]);return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)i=o[n],!(e.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(t,i)&&(r[i]=t[i])}return r}(p,["animating"]);e.setState(i,function(){e.callbackTimers.push(setTimeout(function(){return e.setState({animating:t})},10)),u&&u(d.currentSlide),delete e.animationEndCallback})},l))})}}),S(g(e),"changeSlide",function(t){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=y(y({},e.props),e.state),r=(0,a.changeSlide)(n,t);if((0===r||r)&&(!0===i?e.slideHandler(r,i):e.slideHandler(r),e.props.autoplay&&e.autoPlay("update"),e.props.focusOnSelect)){var o=e.list.querySelectorAll(".slick-current");o[0]&&o[0].focus()}}),S(g(e),"clickHandler",function(t){!1===e.clickable&&(t.stopPropagation(),t.preventDefault()),e.clickable=!0}),S(g(e),"keyHandler",function(t){var i=(0,a.keyHandler)(t,e.props.accessibility,e.props.rtl);""!==i&&e.changeSlide({message:i})}),S(g(e),"selectHandler",function(t){e.changeSlide(t)}),S(g(e),"disableBodyScroll",function(){window.ontouchmove=function(t){(t=t||window.event).preventDefault&&t.preventDefault(),t.returnValue=!1}}),S(g(e),"enableBodyScroll",function(){window.ontouchmove=null}),S(g(e),"swipeStart",function(t){e.props.verticalSwiping&&e.disableBodyScroll();var i=(0,a.swipeStart)(t,e.props.swipe,e.props.draggable);""!==i&&e.setState(i)}),S(g(e),"swipeMove",function(t){var i=(0,a.swipeMove)(t,y(y(y({},e.props),e.state),{},{trackRef:e.track,listRef:e.list,slideIndex:e.state.currentSlide}));i&&(i.swiping&&(e.clickable=!1),e.setState(i))}),S(g(e),"swipeEnd",function(t){var i=(0,a.swipeEnd)(t,y(y(y({},e.props),e.state),{},{trackRef:e.track,listRef:e.list,slideIndex:e.state.currentSlide}));if(i){var n=i.triggerSlideHandler;delete i.triggerSlideHandler,e.setState(i),void 0!==n&&(e.slideHandler(n),e.props.verticalSwiping&&e.enableBodyScroll())}}),S(g(e),"touchEnd",function(t){e.swipeEnd(t),e.clickable=!0}),S(g(e),"slickPrev",function(){e.callbackTimers.push(setTimeout(function(){return e.changeSlide({message:"previous"})},0))}),S(g(e),"slickNext",function(){e.callbackTimers.push(setTimeout(function(){return e.changeSlide({message:"next"})},0))}),S(g(e),"slickGoTo",function(t){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(isNaN(t=Number(t)))return"";e.callbackTimers.push(setTimeout(function(){return e.changeSlide({message:"index",index:t,currentSlide:e.state.currentSlide},i)}
1,0))}),S(g(e),"play",function(){var t;if(e.props.rtl)t=e.state.currentSlide-e.props.slidesToScroll;else{if(!(0,a.canGoNext)(y(y({},e.props),e.state)))return!1;t=e.state.currentSlide+e.props.slidesToScroll}e.slideHandler(t)}),S(g(e),"autoPlay",function(t){e.autoplayTimer&&clearInterval(e.autoplayTimer);var i=e.state.autoplaying;if("update"===t){if("hovered"===i||"focused"===i||"paused"===i)return}else if("leave"===t){if("paused"===i||"focused"===i)return}else if("blur"===t&&("paused"===i||"hovered"===i))return;e.autoplayTimer=setInterval(e.play,e.props.autoplaySpeed+50),e.setState({autoplaying:"playing"})}),S(g(e),"pause",function(t){e.autoplayTimer&&(clearInterval(e.autoplayTimer),e.autoplayTimer=null);var i=e.state.autoplaying;"paused"===t?e.setState({autoplaying:"paused"}):"focused"===t?("hovered"===i||"playing"===i)&&e.setState({autoplaying:"focused"}):"playing"===i&&e.setState({autoplaying:"hovered"})}),S(g(e),"onDotsOver",function(){return e.props.autoplay&&e.pause("hovered")}),S(g(e),"onDotsLeave",function(){return e.props.autoplay&&"hovered"===e.state.autoplaying&&e.autoPlay("leave")}),S(g(e),"onTrackOver",function(){return e.props.autoplay&&e.pause("hovered")}),S(g(e),"onTrackLeave",function(){return e.props.autoplay&&"hovered"===e.state.autoplaying&&e.autoPlay("leave")}),S(g(e),"onSlideFocus",function(){return e.props.autoplay&&e.pause("focused")}),S(g(e),"onSlideBlur",function(){return e.props.autoplay&&"focused"===e.state.autoplaying&&e.autoPlay("blur")}),S(g(e),"render",function(){var t,i,r,o=(0,s.default)("slick-slider",e.props.className,{"slick-vertical":e.props.vertical,"slick-initialized":!0}),h=y(y({},e.props),e.state),d=(0,a.extractObject)(h,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),p=e.props.pauseOnHover;if(d=y(y({},d),{},{onMouseEnter:p?e.onTrackOver:null,onMouseLeave:p?e.onTrackLeave:null,onMouseOver:p?e.onTrackOver:null,focusOnSelect:e.props.focusOnSelect&&e.clickable?e.selectHandler:null}),!0===e.props.dots&&e.state.slideCount>=e.props.slidesToShow){var m=(0,a.extractObject)(h,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),v=e.props.pauseOnDotsHover;m=y(y({},m),{},{clickHandler:e.changeSlide,onMouseEnter:v?e.onDotsLeave:null,onMouseOver:v?e.onDotsOver:null,onMouseLeave:v?e.onDotsLeave:null}),t=n.default.createElement(u.Dots,m)}var g=(0,a.extractObject)(h,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);g.clickHandler=e.changeSlide,e.props.arrows&&(i=n.default.createElement(c.PrevArrow,g),r=n.default.createElement(c.NextArrow,g));var b=null;e.props.vertical&&(b={height:e.state.listHeight});var w=null;!1===e.props.vertical?!0===e.props.centerMode&&(w={padding:"0px "+e.props.centerPadding}):!0===e.props.centerMode&&(w={padding:e.props.centerPadding+" 0px"});var S=y(y({},b),w),x=e.props.touchMove,T={className:"slick-list",style:S,onClick:e.clickHandler,onMouseDown:x?e.swipeStart:null,onMouseMove:e.state.dragging&&x?e.swipeMove:null,onMouseUp:x?e.swipeEnd:null,onMouseLeave:e.state.dragging&&x?e.swipeEnd:null,onTouchStart:x?e.swipeStart:null,onTouchMove:e.state.dragging&&x?e.swipeMove:null,onTouchEnd:x?e.touchEnd:null,onTouchCancel:e.state.dragging&&x?e.swipeEnd:null,onKeyDown:e.props.accessibility?e.keyHandler:null},P={className:o,dir:"ltr",style:e.props.style};return e.props.unslick&&(T={className:"slick-list"},P={className:o}),n.default.createElement("div",P,e.props.unslick?"":i,n.default.createElement("div",f({ref:e.listRefHandler},T),n.default.createElement(l.Track,f({ref:e.trackRefHandler},d),e.props.children)),e.props.unslick?"":r,e.props.unslick?"":t)}),e.list=null,e.track=null,e.state=y(y({},r.default),{},{currentSlide:e.props.initialSlide,targetSlide:e.props.initialSlide?e.props.initialSlide:0,slideCount:n.default.Children.count(e.props.children)}),e.callbackTimers=[],e.clickable=!0,e.debouncedResize=null;var e,i=e.ssrInit();return e.state=y(y({},e.state),i),e}
1return i=[{key:"didPropsChange",value:function(t){for(var e=!1,i=0,r=Object.keys(this.props);i<r.length;i++){var o=r[i];if(!t.hasOwnProperty(o)||!("object"===p(t[o])||"function"==typeof t[o]||isNaN(t[o]))&&t[o]!==this.props[o]){e=!0;break}}return e||n.default.Children.count(this.props.children)!==n.default.Children.count(t.children)}}],function(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,x(n.key),n)}}(m.prototype,i),Object.defineProperty(m,"prototype",{writable:!1}),m}(n.default.Component)},30037:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l(i(2265)),r=i(5285),o=l(i(76356)),s=l(i(93154)),a=i(38907);function l(t){return t&&t.__esModule?t:{default:t}}function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(){return(c=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t}).apply(this,arguments)}function h(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return i}function d(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?h(Object(i),!0).forEach(function(e){v(t,e,i[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):h(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}function p(t,e){return(p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function f(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function m(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(m=function(){return!!t})()}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function v(t,e,i){return(e=g(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function g(t){var e=function(t,e){if("object"!=u(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!=u(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==u(e)?e:String(e)}var b=(0,a.canUseDOM)()&&i(95393);e.default=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&p(t,e)}(h,t);var e,i,l=(e=m(),function(){var t,i=y(h);return t=e?Reflect.construct(i,arguments,y(this).constructor):i.apply(this,arguments),function(t,e){if(e&&("object"===u(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return f(t)}(this,t)});function h(t){var e;return!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,h),v(f(e=l.call(this,t)),"innerSliderRefHandler",function(t){return e.innerSlider=t}),v(f(e),"slickPrev",function(){return e.innerSlider.slickPrev()}),v(f(e),"slickNext",function(){return e.innerSlider.slickNext()}),v(f(e),"slickGoTo",function(t){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.innerSlider.slickGoTo(t,i)}),v(f(e),"slickPause",function(){return e.innerSlider.pause("paused")}),v(f(e),"slickPlay",function(){return e.innerSlider.autoPlay("play")}),e.state={breakpoint:null},e._responsiveMediaHandlers=[],e}return i=[{key:"media",value:function(t,e){b.register(t,e),this._responsiveMediaHandlers.push({query:t,handler:e})}},{key:"componentDidMount",value:function(){var t=this;if(this.props.responsive){var e=this.props.responsive.map(function(t){return t.breakpoint});e.sort(function(t,e){return t-e}),e.forEach(function(i,n){var r;r=0===n?(0,o.default)({minWidth:0,maxWidth:i}):(0,o.default)({minWidth:e[n-1]+1,maxWidth:i}),(0,a.canUseDOM)()&&t.media(r,function(){t.setState({breakpoint:i})})});var i=(0,o.default)({minWidth:e.slice(-1)[0]});(0,a.canUseDOM)()&&this.media(i,function(){t.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEac
1h(function(t){b.unregister(t.query,t.handler)})}},{key:"render",value:function(){var t,e,i=this;(t=this.state.breakpoint?"unslick"===(e=this.props.responsive.filter(function(t){return t.breakpoint===i.state.breakpoint}))[0].settings?"unslick":d(d(d({},s.default),this.props),e[0].settings):d(d({},s.default),this.props)).centerMode&&(t.slidesToScroll,t.slidesToScroll=1),t.fade&&(t.slidesToShow,t.slidesToScroll,t.slidesToShow=1,t.slidesToScroll=1);var o=n.default.Children.toArray(this.props.children);o=o.filter(function(t){return"string"==typeof t?!!t.trim():!!t}),t.variableWidth&&(t.rows>1||t.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),t.variableWidth=!1);for(var l=[],u=null,h=0;h<o.length;h+=t.rows*t.slidesPerRow){for(var p=[],f=h;f<h+t.rows*t.slidesPerRow;f+=t.slidesPerRow){for(var m=[],y=f;y<f+t.slidesPerRow&&(t.variableWidth&&o[y].props.style&&(u=o[y].props.style.width),!(y>=o.length));y+=1)m.push(n.default.cloneElement(o[y],{key:100*h+10*f+y,tabIndex:-1,style:{width:"".concat(100/t.slidesPerRow,"%"),display:"inline-block"}}));p.push(n.default.createElement("div",{key:10*h+f},m))}t.variableWidth?l.push(n.default.createElement("div",{key:h,style:{width:u}},p)):l.push(n.default.createElement("div",{key:h},p))}if("unslick"===t){var v="regular slider "+(this.props.className||"");return n.default.createElement("div",{className:v},o)}return l.length<=t.slidesToShow&&!t.infinite&&(t.unslick=!0),n.default.createElement(r.InnerSlider,c({style:this.props.style,ref:this.innerSliderRefHandler},(0,a.filterSettings)(t)),l)}}],function(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,g(n.key),n)}}(h.prototype,i),Object.defineProperty(h,"prototype",{writable:!1}),h}(n.default.Component)},59040:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Track=void 0;var n=s(i(2265)),r=s(i(36760)),o=i(38907);function s(t){return t&&t.__esModule?t:{default:t}}function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(){return(l=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t}).apply(this,arguments)}function u(t,e){return(u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function c(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function h(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(h=function(){return!!t})()}function d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function p(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return i}function f(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?p(Object(i),!0).forEach(function(e){m(t,e,i[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):p(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}function m(t,e,i){return(e=y(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function y(t){var e=function(t,e){if("object"!=a(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!=a(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==a(e)?e:String(e)}var v=function(t){var e,i,n,r,o;return n=(o=t.rtl?t.slideCount-1-t.index:t.index)<0||o>=t.slideCount,t.centerMode?(r=Math.floor(t.slidesToShow/2),i=(o-t.currentSlide)%t.slideCount==0,o>t.currentSlide-r-1&&o<=t.currentSlide+r&&(e=!0)):e=t.currentSlide<=o&&o<t.currentSlide+t.slidesToShow,{"slick-slide":!0,"slick-active":e,"slick-center":i,"slick-cloned":n,"slick-current":o===(t.targetSlide<0?t.targetSlide+t.slideCount:t.targetSlide>=t.slideCount?t.targetSlide-t.slideCount:t.targetSlide)}},g=function(t){var e={};return(void 0===t.variableWidth||!1===t.variableWidth)&&(e.width=t.slideWidth),t.fade&&(e.position="relative",t.vertical?e.top=-t.index*parseInt(t.slideHeight):e.left=-t.index*parseInt(t.slideWidth),e.opacity=t.currentSlide===t.index?1:0,e.zIndex=t.currentSlide===t.index?999:998,t.useCSS&&(e.transition="opacity "+t.speed+"ms "+t.cssEase+", visibility "+t.speed+"ms "+t.cssEase)),e},b=function(t,e){return t.key||e},w=function(t){var e,i=[],s=[],a=[],l=n.default.Children.count(t.children),u=(0,o.lazyStartIndex)(t),
1c=(0,o.lazyEndIndex)(t);return(n.default.Children.forEach(t.children,function(h,d){var p,m={message:"children",index:d,slidesToScroll:t.slidesToScroll,currentSlide:t.currentSlide};p=!t.lazyLoad||t.lazyLoad&&t.lazyLoadedList.indexOf(d)>=0?h:n.default.createElement("div",null);var y=g(f(f({},t),{},{index:d})),w=p.props.className||"",S=v(f(f({},t),{},{index:d}));if(i.push(n.default.cloneElement(p,{key:"original"+b(p,d),"data-index":d,className:(0,r.default)(S,w),tabIndex:"-1","aria-hidden":!S["slick-active"],style:f(f({outline:"none"},p.props.style||{}),y),onClick:function(e){p.props&&p.props.onClick&&p.props.onClick(e),t.focusOnSelect&&t.focusOnSelect(m)}})),t.infinite&&!1===t.fade){var x=l-d;x<=(0,o.getPreClones)(t)&&((e=-x)>=u&&(p=h),S=v(f(f({},t),{},{index:e})),s.push(n.default.cloneElement(p,{key:"precloned"+b(p,e),"data-index":e,tabIndex:"-1",className:(0,r.default)(S,w),"aria-hidden":!S["slick-active"],style:f(f({},p.props.style||{}),y),onClick:function(e){p.props&&p.props.onClick&&p.props.onClick(e),t.focusOnSelect&&t.focusOnSelect(m)}}))),(e=l+d)<c&&(p=h),S=v(f(f({},t),{},{index:e})),a.push(n.default.cloneElement(p,{key:"postcloned"+b(p,e),"data-index":e,tabIndex:"-1",className:(0,r.default)(S,w),"aria-hidden":!S["slick-active"],style:f(f({},p.props.style||{}),y),onClick:function(e){p.props&&p.props.onClick&&p.props.onClick(e),t.focusOnSelect&&t.focusOnSelect(m)}}))}}),t.rtl)?s.concat(i,a).reverse():s.concat(i,a)};e.Track=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&u(t,e)}(o,t);var e,i,r=(e=h(),function(){var t,i=d(o);return t=e?Reflect.construct(i,arguments,d(this).constructor):i.apply(this,arguments),function(t,e){if(e&&("object"===a(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return c(t)}(this,t)});function o(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,o);for(var e=arguments.length,i=Array(e),n=0;n<e;n++)i[n]=arguments[n];return m(c(t=r.call.apply(r,[this].concat(i))),"node",null),m(c(t),"handleRef",function(e){t.node=e}),t}return i=[{key:"render",value:function(){var t=w(this.props),e=this.props,i=e.onMouseEnter,r=e.onMouseOver,o=e.onMouseLeave;return n.default.createElement("div",l({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},{onMouseEnter:i,onMouseOver:r,onMouseLeave:o}),t)}}],function(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,y(n.key),n)}}(o.prototype,i),Object.defineProperty(o,"prototype",{writable:!1}),o}(n.default.PureComponent)},38907:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.checkSpecKeys=e.checkNavigable=e.changeSlide=e.canUseDOM=e.canGoNext=void 0,e.clamp=u,e.extractObject=void 0,e.filterSettings=function(t){return D.reduce(function(e,i){return t.hasOwnProperty(i)&&(e[i]=t[i]),e},{})},e.validSettings=e.swipeStart=e.swipeMove=e.swipeEnd=e.slidesOnRight=e.slidesOnLeft=e.slideHandler=e.siblingDirection=e.safePreventDefault=e.lazyStartIndex=e.lazySlidesOnRight=e.lazySlidesOnLeft=e.lazyEndIndex=e.keyHandler=e.initializedState=e.getWidth=e.getTrackLeft=e.getTrackCSS=e.getTrackAnimateCSS=e.getTotalSlides=e.getSwipeDirection=e.getSlideCount=e.getRequiredLazySlides=e.getPreClones=e.getPostClones=e.getOnDemandLazySlides=e.getNavigableIndexes=e.getHeight=void 0;var n=o(i(2265)),r=o(i(93154));function o(t){return t&&t.__esModule?t:{default:t}}function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return i}function l(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};
1e%2?a(Object(i),!0).forEach(function(e){var n,r;n=e,r=i[e],(n=function(t){var e=function(t,e){if("object"!=s(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!=s(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==s(e)?e:String(e)}(n))in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):a(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}function u(t,e,i){return Math.max(e,Math.min(t,i))}var c=e.safePreventDefault=function(t){["onTouchStart","onTouchMove","onWheel"].includes(t._reactName)||t.preventDefault()},h=e.getOnDemandLazySlides=function(t){for(var e=[],i=d(t),n=p(t),r=i;r<n;r++)0>t.lazyLoadedList.indexOf(r)&&e.push(r);return e};e.getRequiredLazySlides=function(t){for(var e=[],i=d(t),n=p(t),r=i;r<n;r++)e.push(r);return e};var d=e.lazyStartIndex=function(t){return t.currentSlide-f(t)},p=e.lazyEndIndex=function(t){return t.currentSlide+m(t)},f=e.lazySlidesOnLeft=function(t){return t.centerMode?Math.floor(t.slidesToShow/2)+(parseInt(t.centerPadding)>0?1:0):0},m=e.lazySlidesOnRight=function(t){return t.centerMode?Math.floor((t.slidesToShow-1)/2)+1+(parseInt(t.centerPadding)>0?1:0):t.slidesToShow},y=e.getWidth=function(t){return t&&t.offsetWidth||0},v=e.getHeight=function(t){return t&&t.offsetHeight||0},g=e.getSwipeDirection=function(t){var e,i,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(e=t.startX-t.curX,(i=Math.round(180*Math.atan2(t.startY-t.curY,e)/Math.PI))<0&&(i=360-Math.abs(i)),i<=45&&i>=0||i<=360&&i>=315)?"left":i>=135&&i<=225?"right":!0===n?i>=35&&i<=135?"up":"down":"vertical"},b=e.canGoNext=function(t){var e=!0;return!t.infinite&&(t.centerMode&&t.currentSlide>=t.slideCount-1?e=!1:(t.slideCount<=t.slidesToShow||t.currentSlide>=t.slideCount-t.slidesToShow)&&(e=!1)),e};e.extractObject=function(t,e){var i={};return e.forEach(function(e){return i[e]=t[e]}),i},e.initializedState=function(t){var e,i=n.default.Children.count(t.children),r=t.listRef,o=Math.ceil(y(r)),s=Math.ceil(y(t.trackRef&&t.trackRef.node));if(t.vertical)e=o;else{var a=t.centerMode&&2*parseInt(t.centerPadding);"string"==typeof t.centerPadding&&"%"===t.centerPadding.slice(-1)&&(a*=o/100),e=Math.ceil((o-a)/t.slidesToShow)}var u=r&&v(r.querySelector('[data-index="0"]')),c=u*t.slidesToShow,d=void 0===t.currentSlide?t.initialSlide:t.currentSlide;t.rtl&&void 0===t.currentSlide&&(d=i-1-t.initialSlide);var p=t.lazyLoadedList||[],f=h(l(l({},t),{},{currentSlide:d,lazyLoadedList:p})),m={slideCount:i,slideWidth:e,listWidth:o,trackWidth:s,currentSlide:d,slideHeight:u,listHeight:c,lazyLoadedList:p=p.concat(f)};return null===t.autoplaying&&t.autoplay&&(m.autoplaying="playing"),m},e.slideHandler=function(t){var e=t.waitForAnimate,i=t.animating,n=t.fade,r=t.infinite,o=t.index,s=t.slideCount,a=t.lazyLoad,c=t.currentSlide,d=t.centerMode,p=t.slidesToScroll,f=t.slidesToShow,m=t.useCSS,y=t.lazyLoadedList;if(e&&i)return{};var v,g,w,S=o,x={},T={},O=r?o:u(o,0,s-1);if(n){if(!r&&(o<0||o>=s))return{};o<0?S=o+s:o>=s&&(S=o-s),a&&0>y.indexOf(S)&&(y=y.concat(S)),x={animating:!0,currentSlide:S,lazyLoadedList:y,targetSlide:S},T={animating:!1,targetSlide:S}}else v=S,S<0?(v=S+s,r?s%p!=0&&(v=s-s%p):v=0):!b(t)&&S>c?S=v=c:d&&S>=s?(S=r?s:s-1,v=r?0:s-1):S>=s&&(v=S-s,r?s%p!=0&&(v=0):v=s-f),!r&&S+f>=s&&(v=s-f),g=E(l(l({},t),{},{slideIndex:S})),w=E(l(l({},t),{},{slideIndex:v})),r||(g===w&&(S=v),g=w),a&&(y=y.concat(h(l(l({},t),{},{currentSlide:S})))),m?(x={animating:!0,currentSlide:v,trackStyle:k(l(l({},t),{},{left:g})),lazyLoadedList:y,targetSlide:O},T={animating:!1,currentSlide:v,trackStyle:P(l(l({},t),{},{left:w})),swipeLeft:null,targetSlide:O}):x={currentSlide:v,trackStyle:P(l(l({},t),{},{left:w})),lazyLoadedList:y,targetSlide:O};return{state:x,nextState:T}},e.changeSlide=function(t,e){var i,n,r,o,s=t.slidesToScroll,a=t.slidesToShow,u=t.slideCount,c=t.currentSlide,h=t.targetSlide,d=t.lazyLoad,p=t.infinite;if(i=u%s!=0?0:(u-c)%s,"previous"===e.message)o=c-(r=0===i?s:a-i),d&&!p&&(o=-1==(n=c-r)?u-1:n),p||(o=h-s);else if("next"===e.message)o=c+(r=0===i?s:i),d&&!p&&(o=(c+s)%u+i),p||(o=h+s);else if("dots"===e.message)o=e.index*e.slidesToScroll;else if("children"===e.message){if(o=e.index,p){var f=j(l(l({},t),{},{targetSlide:o}));o>e.currentSlide&&"left"===f?o-=u:o<e.currentSlide&&"right"===f&&(o+=u)}}else"index"===e.message&&(o=Number(e.index));return o}
1,e.keyHandler=function(t,e,i){return t.target.tagName.match("TEXTAREA|INPUT|SELECT")||!e?"":37===t.keyCode?i?"next":"previous":39===t.keyCode?i?"previous":"next":""},e.swipeStart=function(t,e,i){return("IMG"===t.target.tagName&&c(t),e&&(i||-1===t.type.indexOf("mouse")))?{dragging:!0,touchObject:{startX:t.touches?t.touches[0].pageX:t.clientX,startY:t.touches?t.touches[0].pageY:t.clientY,curX:t.touches?t.touches[0].pageX:t.clientX,curY:t.touches?t.touches[0].pageY:t.clientY}}:""},e.swipeMove=function(t,e){var i=e.scrolling,n=e.animating,r=e.vertical,o=e.swipeToSlide,s=e.verticalSwiping,a=e.rtl,u=e.currentSlide,h=e.edgeFriction,d=e.edgeDragged,p=e.onEdge,f=e.swiped,m=e.swiping,y=e.slideCount,v=e.slidesToScroll,w=e.infinite,S=e.touchObject,x=e.swipeEvent,T=e.listHeight,k=e.listWidth;if(!i){if(n)return c(t);r&&o&&s&&c(t);var O,M={},C=E(e);S.curX=t.touches?t.touches[0].pageX:t.clientX,S.curY=t.touches?t.touches[0].pageY:t.clientY,S.swipeLength=Math.round(Math.sqrt(Math.pow(S.curX-S.startX,2)));var j=Math.round(Math.sqrt(Math.pow(S.curY-S.startY,2)));if(!s&&!m&&j>10)return{scrolling:!0};s&&(S.swipeLength=j);var A=(a?-1:1)*(S.curX>S.startX?1:-1);s&&(A=S.curY>S.startY?1:-1);var L=g(e.touchObject,s),D=S.swipeLength;return!w&&(0===u&&("right"===L||"down"===L)||u+1>=Math.ceil(y/v)&&("left"===L||"up"===L)||!b(e)&&("left"===L||"up"===L))&&(D=S.swipeLength*h,!1===d&&p&&(p(L),M.edgeDragged=!0)),!f&&x&&(x(L),M.swiped=!0),O=r?C+T/k*D*A:a?C-D*A:C+D*A,s&&(O=C+D*A),M=l(l({},M),{},{touchObject:S,swipeLeft:O,trackStyle:P(l(l({},e),{},{left:O}))}),Math.abs(S.curX-S.startX)<.8*Math.abs(S.curY-S.startY)||S.swipeLength>10&&(M.swiping=!0,c(t)),M}},e.swipeEnd=function(t,e){var i=e.dragging,n=e.swipe,r=e.touchObject,o=e.listWidth,s=e.touchThreshold,a=e.verticalSwiping,u=e.listHeight,h=e.swipeToSlide,d=e.scrolling,p=e.onSwipe,f=e.targetSlide,m=e.currentSlide,y=e.infinite;if(!i)return n&&c(t),{};var v=a?u/s:o/s,b=g(r,a),w={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(d||!r.swipeLength)return w;if(r.swipeLength>v){c(t),p&&p(b);var T,P,O=y?m:f;switch(b){case"left":case"up":P=O+x(e),T=h?S(e,P):P,w.currentDirection=0;break;case"right":case"down":P=O-x(e),T=h?S(e,P):P,w.currentDirection=1;break;default:T=O}w.triggerSlideHandler=T}else{var M=E(e);w.trackStyle=k(l(l({},e),{},{left:M}))}return w};var w=e.getNavigableIndexes=function(t){for(var e=t.infinite?2*t.slideCount:t.slideCount,i=t.infinite?-1*t.slidesToShow:0,n=t.infinite?-1*t.slidesToShow:0,r=[];i<e;)r.push(i),i=n+t.slidesToScroll,n+=Math.min(t.slidesToScroll,t.slidesToShow);return r},S=e.checkNavigable=function(t,e){var i=w(t),n=0;if(e>i[i.length-1])e=i[i.length-1];else for(var r in i){if(e<i[r]){e=n;break}n=i[r]}return e},x=e.getSlideCount=function(t){var e=t.centerMode?t.slideWidth*Math.floor(t.slidesToShow/2):0;if(!t.swipeToSlide)return t.slidesToScroll;var i,n=t.listRef;if(Array.from(n.querySelectorAll&&n.querySelectorAll(".slick-slide")||[]).every(function(n){if(t.vertical){if(n.offsetTop+v(n)/2>-1*t.swipeLeft)return i=n,!1}else if(n.offsetLeft-e+y(n)/2>-1*t.swipeLeft)return i=n,!1;return!0}),!i)return 0;var r=!0===t.rtl?t.slideCount-t.currentSlide:t.currentSlide;return Math.abs(i.dataset.index-r)||1},T=e.checkSpecKeys=function(t,e){return e.reduce(function(e,i){return e&&t.hasOwnProperty(i)},!0)?null:console.error("Keys Missing:",t)},P=e.getTrackCSS=function(t){T(t,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var e,i,n=t.slideCount+2*t.slidesToShow;t.vertical?i=n*t.slideHeight:e=C(t)*t.slideWidth;var r={opacity:1,transition:"",WebkitTransition:""};if(t.useTransform){var o=t.vertical?"translate3d(0px, "+t.left+"px, 0px)":"translate3d("+t.left+"px, 0px, 0px)",s=t.vertical?"translate3d(0px, "+t.left+"px, 0px)":"translate3d("+t.left+"px, 0px, 0px)",a=t.vertical?"translateY("+t.left+"px)":"translateX("+t.left+"px)";r=l(l({},r),{},{WebkitTransform:o,transform:s,msTransform:a})}else t.vertical?r.top=t.left:r.left=t.left;return t.fade&&(r={opacity:1}),e&&(r.width=e),i&&(r.height=i),window&&!window.addEventListener&&window.attachEvent&&(t.vertical?r.marginTop=t.left+"px":r.marginLeft=t.left+"px"),r},k=e.getTrackAnimateCSS=function(t){T(t,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var e=P(t);return t.useTransform?(e.WebkitTransition="-webkit-transform "+t.speed+"ms "+t.cssEase,e.transition="transform "+t.speed+"ms "+t.cssEase):t.vertical?e.transition="top "+t.
1speed+"ms "+t.cssEase:e.transition="left "+t.speed+"ms "+t.cssEase,e},E=e.getTrackLeft=function(t){if(t.unslick)return 0;T(t,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var e=t.slideIndex,i=t.trackRef,n=t.infinite,r=t.centerMode,o=t.slideCount,s=t.slidesToShow,a=t.slidesToScroll,l=t.slideWidth,u=t.listWidth,c=t.variableWidth,h=t.slideHeight,d=t.fade,p=t.vertical,f=0,m=0;if(d||1===t.slideCount)return 0;var y=0;if(n?(y=-O(t),o%a!=0&&e+a>o&&(y=-(e>o?s-(e-o):o%a)),r&&(y+=parseInt(s/2))):(o%a!=0&&e+a>o&&(y=s-o%a),r&&(y=parseInt(s/2))),f=y*l,m=y*h,v=p?-(e*h*1)+m:-(e*l*1)+f,!0===c){var v,g,b,w=i&&i.node;if(b=e+O(t),v=(g=w&&w.childNodes[b])?-1*g.offsetLeft:0,!0===r){b=n?e+O(t):e,g=w&&w.children[b],v=0;for(var S=0;S<b;S++)v-=w&&w.children[S]&&w.children[S].offsetWidth;v-=parseInt(t.centerPadding),v+=g&&(u-g.offsetWidth)/2}}return v},O=e.getPreClones=function(t){return t.unslick||!t.infinite?0:t.variableWidth?t.slideCount:t.slidesToShow+(t.centerMode?1:0)},M=e.getPostClones=function(t){return t.unslick||!t.infinite?0:t.slideCount},C=e.getTotalSlides=function(t){return 1===t.slideCount?1:O(t)+t.slideCount+M(t)},j=e.siblingDirection=function(t){return t.targetSlide>t.currentSlide?t.targetSlide>t.currentSlide+A(t)?"left":"right":t.targetSlide<t.currentSlide-L(t)?"right":"left"},A=e.slidesOnRight=function(t){var e=t.slidesToShow,i=t.centerMode,n=t.rtl,r=t.centerPadding;if(i){var o=(e-1)/2+1;return parseInt(r)>0&&(o+=1),n&&e%2==0&&(o+=1),o}return n?0:e-1},L=e.slidesOnLeft=function(t){var e=t.slidesToShow,i=t.centerMode,n=t.rtl,r=t.centerPadding;if(i){var o=(e-1)/2+1;return parseInt(r)>0&&(o+=1),n||e%2!=0||(o+=1),o}return n?e-1:0};e.canUseDOM=function(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)};var D=e.validSettings=Object.keys(r.default)},89576:function(t,e,i){"use strict";i.r(e);var n=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var i=-1;return t.some(function(t,n){return t[0]===e&&(i=n,!0)}),i}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var i=t(this.__entries__,e),n=this.__entries__[i];return n&&n[1]},e.prototype.set=function(e,i){var n=t(this.__entries__,e);~n?this.__entries__[n][1]=i:this.__entries__.push([e,i])},e.prototype.delete=function(e){var i=this.__entries__,n=t(i,e);~n&&i.splice(n,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var i=0,n=this.__entries__;i<n.length;i++){var r=n[i];t.call(e,r[1],r[0])}},e}()}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o=void 0!==i.g&&i.g.Math===Math?i.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),s="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(t){return setTimeout(function(){return t(Date.now())},1e3/60)},a=["top","right","bottom","left","width","height","size","weight"],l="undefined"!=typeof MutationObserver,u=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var i=!1,n=!1,r=0;function o(){i&&(i=!1,t()),n&&l()}function a(){s(o)}function l(){var t=Date.now();if(i){if(t-r<2)return;n=!0}else i=!0,n=!1,setTimeout(a,20);r=t}return l}(this.refresh.bind(this),0)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,i=e.indexOf(t);~i&&e.splice(i,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter(function(t){return t.gatherActive(),t.hasActive()});return t.forEach(function(t){return t.broadcastActive()}),t.length>0},t.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),l?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,i=void 0===e?"":e;a.some(function(t){return!!~i.indexOf(t)})&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=ne
1w t),this.instance_},t.instance_=null,t}(),c=function(t,e){for(var i=0,n=Object.keys(e);i<n.length;i++){var r=n[i];Object.defineProperty(t,r,{value:e[r],enumerable:!1,writable:!1,configurable:!0})}return t},h=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||o},d=y(0,0,0,0);function p(t){return parseFloat(t)||0}function f(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];return e.reduce(function(e,i){return e+p(t["border-"+i+"-width"])},0)}var m="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof h(t).SVGGraphicsElement}:function(t){return t instanceof h(t).SVGElement&&"function"==typeof t.getBBox};function y(t,e,i,n){return{x:t,y:e,width:i,height:n}}var v=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=y(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=function(t){if(!r)return d;if(m(t)){var e;return y(0,0,(e=t.getBBox()).width,e.height)}return function(t){var e=t.clientWidth,i=t.clientHeight;if(!e&&!i)return d;var n=h(t).getComputedStyle(t),r=function(t){for(var e={},i=0,n=["top","right","bottom","left"];i<n.length;i++){var r=n[i],o=t["padding-"+r];e[r]=p(o)}return e}(n),o=r.left+r.right,s=r.top+r.bottom,a=p(n.width),l=p(n.height);if("border-box"===n.boxSizing&&(Math.round(a+o)!==e&&(a-=f(n,"left","right")+o),Math.round(l+s)!==i&&(l-=f(n,"top","bottom")+s)),t!==h(t).document.documentElement){var u=Math.round(a+o)-e,c=Math.round(l+s)-i;1!==Math.abs(u)&&(a-=u),1!==Math.abs(c)&&(l-=c)}return y(r.left,r.top,a,l)}(t)}(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),g=function(t,e){var i,n,r,o,s,a=(i=e.x,n=e.y,r=e.width,o=e.height,c(s=Object.create(("undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object).prototype),{x:i,y:n,width:r,height:o,top:n,right:i+r,bottom:o+n,left:i}),s);c(this,{target:t,contentRect:a})},b=function(){function t(t,e,i){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof t)throw TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=i}return t.prototype.observe=function(t){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof h(t).Element))throw TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new v(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof h(t).Element))throw TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(e){e.isActive()&&t.activeObservations_.push(e)})},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map(function(t){return new g(t.target,t.broadcastRect())});this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),w="undefined"!=typeof WeakMap?new WeakMap:new n,S=function t(e){if(!(this instanceof t))throw TypeError("Cannot call a class as a function.");if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");var i=new b(e,u.getInstance(),this);w.set(this,i)};["observe","unobserve","disconnect"].forEach(function(t){S.prototype[t]=function(){var e;return(e=w.get(this))[t].apply(e,arguments)}});var x=void 0!==o.ResizeObserver?o.ResizeObserver:S;e.default=x},92910:function(t){t.exports=function(t){return t.replace(/[A-Z]/g,function(t){return"-"+t.toLowerCase()}).toLowerCase()}},49608:function(){},97425:function(){},36760:function(t,e){var i;!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var t="",e=0;e<arguments.length;e++){var i=arguments[e];i&&(t=o(t,function(t){if("string"==typeof t||"number"==typeof t)return t;if("object"!=typeof t)return"";if(Array.isArray(t))return r.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]"))return t.toString();var e="";for(var i in t)n.call(t,i)&&t[i]&&(e=o(e,i));return e}(i)))}return t}function o(t,e){return e?t?t+" "+e:t+e:t}t.exports?(r.default=r,t.exports=r):void 0!==(i=(function(){return r}).apply(e,[]))&&(t.exports=i)}()}
1,28273:function(t,e,i){"use strict";let n,r,o;i.d(e,{E:function(){return oJ}});let s=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],a=new Set([...s,"pathRotation"]),l=(t,e,i)=>i>e?e:i<t?t:i,u={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},c={...u,transform:t=>l(0,1,t)},h={...u,default:1},d=t=>Math.round(1e5*t)/1e5,p=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,f=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,m=(t,e)=>i=>!!("string"==typeof i&&f.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),y=(t,e,i)=>n=>{if("string"!=typeof n)return n;let[r,o,s,a]=n.match(p);return{[t]:parseFloat(r),[e]:parseFloat(o),[i]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},v=t=>l(0,255,t),g={...u,transform:t=>Math.round(v(t))},b={test:m("rgb","red"),parse:y("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=>"rgba("+g.transform(t)+", "+g.transform(e)+", "+g.transform(i)+", "+d(c.transform(n))+")"},w={test:m("#"),parse:function(t){let e="",i="",n="",r="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),n=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),n=t.substring(3,4),r=t.substring(4,5),e+=e,i+=i,n+=n,r+=r),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:r?parseInt(r,16)/255:1}},transform:b.transform},S=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),x=S("deg"),T=S("%"),P=S("px"),k=S("vh"),E=S("vw"),O={...T,parse:t=>T.parse(t)/100,transform:t=>T.transform(100*t)},M={test:m("hsl","hue"),parse:y("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:n=1})=>"hsla("+Math.round(t)+", "+T.transform(d(e))+", "+T.transform(d(i))+", "+d(c.transform(n))+")"},C={test:t=>b.test(t)||w.test(t)||M.test(t),parse:t=>b.test(t)?b.parse(t):M.test(t)?M.parse(t):w.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?b.transform(t):M.transform(t),getAnimatableNone:t=>{let e=C.parse(t);return e.alpha=0,C.transform(e)}},j=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,A="number",L="color",D=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function R(t){let e=t.toString(),i=[],n={color:[],number:[],var:[]},r=[],o=0,s=e.replace(D,t=>(C.test(t)?(n.color.push(o),r.push(L),i.push(C.parse(t))):t.startsWith("var(")?(n.var.push(o),r.push("var"),i.push(t)):(n.number.push(o),r.push(A),i.push(parseFloat(t))),++o,"${}")).split("${}");return{values:i,split:s,indexes:n,types:r}}function V({split:t,types:e}){let i=t.length;return n=>{let r="";for(let o=0;o<i;o++)if(r+=t[o],void 0!==n[o]){let t=e[o];t===A?r+=d(n[o]):t===L?r+=C.transform(n[o]):r+=n[o]}return r}}let _=t=>"number"==typeof t?0:C.test(t)?C.getAnimatableNone(t):t,I=(t,e)=>"number"==typeof t?e?.trim().endsWith("/")?t:0:_(t),B={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(p)?.length||0)+(t.match(j)?.length||0)>0},parse:function(t){return R(t).values},createTransformer:function(t){return V(R(t))},getAnimatableNone:function(t){let e=R(t);return V(e)(e.values.map((t,i)=>I(t,e.split[i])))}},F=new Set(["brightness","contrast","saturate","opacity"]);function z(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(p)||[];if(!n)return t;let r=i.replace(n,""),o=F.has(e)?1:0;return n!==i&&(o*=100),e+"("+o+r+")"}let W=/\b([a-z-]*)\(.*?\)/gu,N={...B,getAnimatableNone:t=>{let e=t.match(W);return e?e.map(z).join(" "):t}},H={...B,getAnimatableNone:t=>{let e=B.parse(t);return B.createTransformer(t)(e.map(t=>"number"==typeof t?0:"object"==typeof t?{...t,alpha:1}:t))}},U={...u,transform:Math.round},$={borderWidth:P,borderTopWidth:P,borderRightWidth:P,borderBottomWidth:P,borderLeftWidth:P,borderRadius:P,borderTopLeftRadius:P,borderTopRightRadius:P,borderBottomRightRadius:P,borderBottomLeftRadius:P,width:P,maxWidth:P,height:P,maxHeight:P,top:P,right:P,bottom:P,left:P,inset:P,insetBlock:P,insetBlockStart:P,insetBlockEnd:P,insetInline:P,insetInlineStart:P,insetInlineEnd:P,padding:P,paddingTop:P,paddingRight:P,paddingBottom:P,paddingLeft:P,paddingBlock:P,paddingBlockStart:P,paddingBlockEnd:P,paddingInline:P,paddingInlineStart:P,paddingInlineEnd:P,margin:P,marginTop:P,marginRight:P,marginBottom:P,marginLeft:P,marginBlock:P,marginBlockStart:P,marginBlockEnd:P,marginInline:P,marginInlineStart:P,marginInlineEnd:P,fontSize:P,backgroundPositionX:P,backgroundPositionY:P,rotate:
1x,pathRotation:x,rotateX:x,rotateY:x,rotateZ:x,scale:h,scaleX:h,scaleY:h,scaleZ:h,skew:x,skewX:x,skewY:x,distance:P,translateX:P,translateY:P,translateZ:P,x:P,y:P,z:P,perspective:P,transformPerspective:P,opacity:c,originX:O,originY:O,originZ:P,zIndex:U,fillOpacity:c,strokeOpacity:c,numOctaves:U},Y={...$,color:C,backgroundColor:C,outlineColor:C,fill:C,stroke:C,borderColor:C,borderTopColor:C,borderRightColor:C,borderBottomColor:C,borderLeftColor:C,filter:N,WebkitFilter:N,mask:H,WebkitMask:H},X=t=>Y[t],q=()=>({translate:0,scale:1,origin:0,originPoint:0}),G=()=>({x:q(),y:q()}),K=()=>({min:0,max:0}),Z=()=>({x:K(),y:K()}),J=t=>!!(t&&t.getVelocity),Q=new Set(["width","height","top","left","right","bottom",...s]),tt=t=>e=>e.test(t),te=[u,P,T,x,E,k,{test:t=>"auto"===t,parse:t=>t}],ti=t=>te.find(tt(t));i(40257);let tn=()=>{},tr=()=>{},to=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),ts=t=>e=>"string"==typeof e&&e.startsWith(t),ta=ts("--"),tl=ts("var(--"),tu=t=>!!tl(t)&&tc.test(t.split("/*")[0].trim()),tc=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function th(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")}let td=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,tp=t=>180*t/Math.PI,tf=t=>ty(tp(Math.atan2(t[1],t[0]))),tm={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:tf,rotateZ:tf,skewX:t=>tp(Math.atan(t[1])),skewY:t=>tp(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},ty=t=>((t%=360)<0&&(t+=360),t),tv=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),tg=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),tb={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:tv,scaleY:tg,scale:t=>(tv(t)+tg(t))/2,rotateX:t=>ty(tp(Math.atan2(t[6],t[5]))),rotateY:t=>ty(tp(Math.atan2(-t[2],t[0]))),rotateZ:tf,rotate:tf,skewX:t=>tp(Math.atan(t[4])),skewY:t=>tp(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function tw(t){return t.includes("scale")?1:0}function tS(t,e){let i,n;if(!t||"none"===t)return tw(e);let r=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(r)i=tb,n=r;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=tm,n=e}if(!n)return tw(e);let o=i[e],s=n[1].split(",").map(tT);return"function"==typeof o?o(s):s[o]}let tx=(t,e)=>{let{transform:i="none"}=getComputedStyle(t);return tS(i,e)};function tT(t){return parseFloat(t.trim())}let tP=t=>t===u||t===P,tk=new Set(["x","y","z"]),tE=s.filter(t=>!tk.has(t)),tO={width:({x:t},{paddingLeft:e="0",paddingRight:i="0",boxSizing:n})=>{let r=t.max-t.min;return"border-box"===n?r:r-parseFloat(e)-parseFloat(i)},height:({y:t},{paddingTop:e="0",paddingBottom:i="0",boxSizing:n})=>{let r=t.max-t.min;return"border-box"===n?r:r-parseFloat(e)-parseFloat(i)},top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>tS(e,"x"),y:(t,{transform:e})=>tS(e,"y")};tO.translateX=tO.x,tO.translateY=tO.y;let tM=t=>t,tC={},tj=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function tA(t,e){let i=!1,n=!0,r={delta:0,timestamp:0,isProcessing:!1},o=()=>i=!0,s=tj.reduce((t,e)=>(t[e]=function(t){let e=new Set,i=new Set,n=!1,r=!1,o=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1};function a(e){o.has(e)&&(l.schedule(e),t()),e(s)}let l={schedule:(t,r=!1,s=!1)=>{let a=s&&n?e:i;return r&&o.add(t),a.add(t),t},cancel:t=>{i.delete(t),o.delete(t)},process:t=>{if(s=t,n){r=!0;return}n=!0;let o=e;e=i,i=o,e.forEach(a),e.clear(),n=!1,r&&(r=!1,l.process(t))}};return l}(o),t),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:c,update:h,preRender:d,render:p,postRender:f}=s,m=()=>{let o=tC.useManualTiming,s=o?r.timestamp:performance.now();i=!1,o||(r.delta=n?1e3/60:Math.max(Math.min(s-r.timestamp,40),1)),r.timestamp=s,r.isProcessing=!0,a.process(r),l.process(r),u.process(r),c.process(r),h.process(r),d.process(r),p.process(r),f.process(r),r.isProcessing=!1,i&&e&&(n=!1,t(m))},y=()=>{i=!0,n=!0,r.isProcessing||t(m)};return{schedule:tj.reduce((t,e)=>{let n=s[e];return t[e]=(t,e=!1,r=!1)=>(i||y(),n.schedule(t,e,r)),t},{}),cancel:t=>{for(let e=0;e<tj.length;
1e++)s[tj[e]].cancel(t)},state:r,steps:s}}let{schedule:tL,cancel:tD,state:tR,steps:tV}=tA("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:tM,!0),t_=new Set,tI=!1,tB=!1,tF=!1;function tz(){if(tB){let t=Array.from(t_).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e=function(t){let e=[];return tE.forEach(i=>{let n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.set(i.startsWith("scale")?1:0))}),e}(t);e.length&&(i.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{t.getValue(e)?.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}tB=!1,tI=!1,t_.forEach(t=>t.complete(tF)),t_.clear()}function tW(){t_.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(tB=!0)})}class tN{constructor(t,e,i,n,r,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=n,this.element=r,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(t_.add(this),tI||(tI=!0,tL.read(tW),tL.resolveKeyframes(tz))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:n}=this;if(null===t[0]){let r=n?.get(),o=t[t.length-1];if(void 0!==r)t[0]=r;else if(i&&e){let n=i.readValue(e,o);null!=n&&(t[0]=n)}void 0===t[0]&&(t[0]=o),n&&void 0===r&&n.set(t[0])}!function(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),t_.delete(this)}cancel(){"scheduled"===this.state&&(t_.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let tH=t=>/^0[^.\s]+$/u.test(t),tU=new Set([N,H]);function t$(t,e){let i=X(t);return tU.has(i)||(i=B),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let tY=new Set(["auto","none","0"]);class tX extends tN{constructor(t,e,i,n,r){super(t,e,i,n,r,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let n=t[i];if("string"==typeof n&&tu(n=n.trim())){let r=function t(e,i,n=1){tr(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[r,o]=function(t){let e=td.exec(t);if(!e)return[,];let[,i,n,r]=e;return[`--${i??n}`,r]}(e);if(!r)return;let s=window.getComputedStyle(i).getPropertyValue(r);if(s){let t=s.trim();return to(t)?parseFloat(t):t}return tu(o)?t(o,i,n+1):o}(n,e.current);void 0!==r&&(t[i]=r),i===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!Q.has(i)||2!==t.length)return;let[n,r]=t,o=ti(n),s=ti(r);if(th(n)!==th(r)&&tO[i]){this.needsMeasurement=!0;return}if(o!==s){if(tP(o)&&tP(s))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else tO[i]&&(this.needsMeasurement=!0)}}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++){var n;(null===t[e]||("number"==typeof(n=t[e])?0===n:null===n||"none"===n||"0"===n||tH(n)))&&i.push(e)}i.length&&function(t,e,i){let n,r=0;for(;r<t.length&&!n;){let e=t[r];"string"==typeof e&&!tY.has(e)&&R(e).values.length&&(n=t[r]),r++}if(n&&i)for(let r of e)t[r]=t$(i,n)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=tO[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let n=e[e.length-1];void 0!==n&&t.getValue(i,n).jump(n,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let n=t.getValue(e);n&&n.jump(this.measuredOrigin,!1);let r=i.length-1,o=i[r];i[r]=tO[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}let tq=t=>1e3*t,tG=t=>t/1e3;function tK(t,e){-1===t.indexOf(e)&&t.push(e)}function tZ(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}class tJ{constructor(){this.subscriptions=[]}add(t){return tK(this.subscriptions,t),()=>tZ(this.subscriptions,t)}notify(t,e,i){let n=this.subscriptions.length;if(n){if(1===n)this.subscriptions[0](t,e,i);else for(let r=0;r<n;r++){let n=this.subscriptions[r];n&&n(t,e,i)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let tQ=t=>t.startsWith("--");function t0(t,e,i){tQ(e)?t.style.setProperty(e,i):t.style[e]=i}function t1(t){let e;return()=>(void 0===e&&(e=t()),e)}let t2={};function t5(t,e){let i=t1(t);return()=>t2[e]??i()}let t3=t5(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),t9=t=>null!==t;function t6(t,{repeat:e,repeatType:i="loop"},n,r=1){let o=t.filter(t9),s=r<0||e&&"loop"!==i&&e%2==1?0:o.length-1;return s&&void 0!==n?n:o[s]}class t4{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}let t7=t=>Array.isArray(t)&&"number"==typeof t[0],t8=t5(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),et=(t,e,i=10)=>{let n="",r=Math.max(Math.round(e/i),2);for(let e=0;e<r;e++)n+=Math.round(1e4*t(e/(r-1)))/1e4+", ";return`linear(${n.substring(0,n.length-2)})`},ee=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`,ei={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ee([0,.65,.55,1]),circOut:ee([.55,0,1,.45]),backIn:ee([.31,.01,.66,-.59]),backOut:ee([.33,1.53,.69,.99])};function en(t){return"function"==typeof t&&"applyToOptions"in t}class er extends t4{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;let{element:e,name:i,keyframes:n,pseudoElement:r,allowFlatten:o=!1,finalKeyframe:s,onComplete:a}=t;this.isPseudoElement=!!r,this.allowFlatten=o,this.options=t,tr("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");let l=function({type:t,...e}){return en(t)&&t8()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:n=0,duration:r=300,repeat:o=0,repeatType:s="loop",ease:a="easeOut",times:l}={},u){let c={[e]:i};l&&(c.offset=l);let h=function t(e,i){if(e)return"function"==typeof e?t8()?et(e,i):"ease-out":t7(e)?ee(e):Array.isArray(e)?e.map(e=>t(e,i)||ei.easeOut):ei[e]}(a,r);Array.isArray(h)&&(c.easing=h);let d={delay:n,duration:r,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:o+1,direction:"reverse"===s?"alternate":"normal"};return u&&(d.pseudoElement=u),t.animate(c,d)}(e,i,n,l,r),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){let t=t6(n,this.options,s,this.speed);this.updateMotionValue&&this.updateMotionValue(t),t0(e,i,t),this.animation.cancel()}a?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let t=this.options?.element;!this.isPseudoElement&&t?.isConnected&&this.animation.commitStyles?.()}get duration(){return tG(Number(this.animation.effect?.getComputedTiming?.().duration||0))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+tG(t)}get time(){return tG(Number(this.animation.currentTime)||0)}set time(t){let e=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=tq(t),e&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:e,rangeEnd:i,observe:n}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&t3())?(this.animation.timeline=t,e&&(this.animation.rangeStart=e),i&&(this.animation.rangeEnd=i),tM):n(this)}}let eo=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),{schedule:es,cancel:ea}=tA(queueMicrotask,!1);function el(){n=void 0}let eu={now:()=>(void 0===n&&eu.set(tR.isProcessing||tC.useManualTiming?tR.timestamp:performance.now()),n),set:t=>{n=t,queueMicrotask(el)}},ec=(t,e)=>e?1e3/e*t:0,eh=t=>!isNaN(parseFloat(t)),ed={current:void 0};class ep{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=eu.now();if(this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let t of this.dependents)t.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=eu.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=eh(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new tJ);let i=this.events[t].add(e);return"change"===t?()=>{i(),tL.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return ed.current&&ed.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=eu.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return ec(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ef(t,e){return new ep(t,e)}let em=[...te,C,B],ey=t=>em.find(tt(t)),ev=new WeakMap;function eg(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function eb(t){return"string"==typeof t||Array.isArray(t)}let ew=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],eS=["initial",...ew];function ex(t){return eg(t.animate)||eS.some(e=>eb(t[e]))}function eT(t){return!!(ex(t)||t.variants)}let eP={current:null},ek={current:!1},eE="undefined"!=typeof window;function eO(t){let e=[{},{}];
1return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function eM(t,e,i,n){if("function"==typeof e){let[r,o]=eO(n);e=e(void 0!==i?i:t.custom,r,o)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[r,o]=eO(n);e=e(void 0!==i?i:t.custom,r,o)}return e}let eC=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],ej={};class eA{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:n,skipAnimations:r,blockInitialAnimation:o,visualState:s},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=tN,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=eu.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,tL.render(this.render,!1,!0))};let{latestValues:l,renderState:u}=s;this.latestValues=l,this.baseTarget={...l},this.initialValues=e.initial?{...l}:{},this.renderState=u,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.skipAnimationsConfig=r,this.options=a,this.blockInitialAnimation=!!o,this.isControllingVariants=ex(e),this.isVariantNode=eT(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:c,...h}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in h){let e=h[t];void 0!==l[t]&&J(e)&&e.set(l[t])}}mount(t){if(this.hasBeenMounted)for(let t in this.initialValues)this.values.get(t)?.jump(this.initialValues[t]),this.latestValues[t]=this.initialValues[t];this.current=t,ev.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(ek.current||function(){if(ek.current=!0,eE){if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>eP.current=t.matches;t.addEventListener("change",e),e()}else eP.current=!1}}(),this.shouldReduceMotion=eP.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let t in this.projection&&this.projection.unmount(),tD(this.notifyUpdate),tD(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){let i;if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),e.accelerate&&eo.has(t)&&this.current instanceof HTMLElement){let{factory:i,keyframes:n,times:r,ease:o,duration:s}=e.accelerate,a=new er({element:this.current,name:t,keyframes:n,times:r,ease:o,duration:tq(s)}),l=i(a);this.valueSubscriptions.set(t,()=>{l(),a.cancel()});return}let n=a.has(t);n&&this.onBindTransform&&this.onBindTransform();let r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&tL.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"undefined"!=typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{r(),i&&i()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in ej){let e=ej[t];if(!e)continue;let{isEnabled:i,Feature:n}=e;if(!this.features[t]&&n&&i(this.props)&&(this.features[t]=new n(this)),this.features[t]){let e=this.features[t];
1e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Z()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<eC.length;e++){let i=eC[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let n=t["on"+i];n&&(this.propEventSubscriptions[i]=this.on(i,n))}this.prevMotionValues=function(t,e,i){for(let n in e){let r=e[n],o=i[n];if(J(r))t.addValue(n,r);else if(J(o))t.addValue(n,ef(r,{owner:t}));else if(o!==r){if(t.hasValue(n)){let e=t.getValue(n);!0===e.liveStyle?e.jump(r):e.hasAnimated||e.set(r)}else{let e=t.getStaticValue(n);t.addValue(n,ef(void 0!==e?e:r,{owner:t}))}}}for(let n in i)void 0===e[n]&&t.removeValue(n);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=ef(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){let i=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];return null!=i&&("string"==typeof i&&(to(i)||tH(i))?i=parseFloat(i):!ey(i)&&B.test(e)&&(i=t$(t,e)),this.setBaseTarget(t,J(i)?i.get():i)),J(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e;let{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let n=eM(this.props,i,this.presenceContext?.custom);n&&(e=n[t])}if(i&&void 0!==e)return e;let n=this.getBaseTargetFromProps(this.props,t);return void 0===n||J(n)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:n}on(t,e){return this.events[t]||(this.events[t]=new tJ),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){es.render(this.render)}}class eL extends eA{constructor(){super(...arguments),this.KeyframeResolver=tX}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){let i=t.style;return i?i[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;J(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}function eD(t){return t.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}let eR=(t,e)=>e&&"number"==typeof t?e.transform(t):t,eV={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},e_=s.length;function eI(t,e,i){let{style:n,vars:r,transformOrigin:o}=t,l=!1,u=!1;for(let t in e){let i=e[t];if(a.has(t)){l=!0;continue}if(ta(t)){r[t]=i;continue}{let e=eR(i,$[t]);t.startsWith("origin")?(u=!0,o[t]=e):n[t]=e}}
1if(!e.transform&&(l||i?n.transform=function(t,e,i){let n="",r=!0;for(let o=0;o<e_;o++){let a=s[o],l=t[a];if(void 0===l)continue;let u=!0;if("number"==typeof l)u=l===(a.startsWith("scale")?1:0);else{let t=parseFloat(l);u=a.startsWith("scale")?1===t:0===t}if(!u||i){let t=eR(l,$[a]);if(!u){r=!1;let e=eV[a]||a;n+=`${e}(${t}) `}i&&(e[a]=t)}}let o=t.pathRotation;return o&&(r=!1,n+=`rotate(${eR(o,$.pathRotation)}) `),n=n.trim(),i?n=i(e,r?"":n):r&&(n="none"),n}(e,t.transform,i):n.transform&&(n.transform="none")),u){let{originX:t="50%",originY:e="50%",originZ:i=0}=o;n.transformOrigin=`${t} ${e} ${i}`}}let eB={offset:"stroke-dashoffset",array:"stroke-dasharray"},eF={offset:"strokeDashoffset",array:"strokeDasharray"},ez=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function eW(t,{attrX:e,attrY:i,attrScale:n,pathLength:r,pathSpacing:o=1,pathOffset:s=0,...a},l,u,c){if(eI(t,a,u),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:h,style:d}=t;for(let t of(h.transform&&(d.transform=h.transform,delete h.transform),(d.transform||h.transformOrigin)&&(d.transformOrigin=h.transformOrigin??"50% 50%",delete h.transformOrigin),d.transform&&(d.transformBox=c?.transformBox??"fill-box",delete h.transformBox),ez))void 0!==h[t]&&(d[t]=h[t],delete h[t]);void 0!==e&&(h.x=e),void 0!==i&&(h.y=i),void 0!==n&&(h.scale=n),void 0!==r&&function(t,e,i=1,n=0,r=!0){t.pathLength=1;let o=r?eB:eF;t[o.offset]=`${-n}`,t[o.array]=`${e} ${i}`}(h,r,o,s,!1)}let eN=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"]),eH=t=>"string"==typeof t&&"svg"===t.toLowerCase();function eU(t,{style:e,vars:i},n,r){let o;let s=t.style;for(o in e)s[o]=e[o];for(o in r?.applyProjectionStyles(s,n),i)s.setProperty(o,i[o])}let e$=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];function eY(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let eX={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!P.test(t))return t;t=parseFloat(t)}let i=eY(t,e.target.x),n=eY(t,e.target.y);return`${i}% ${n}%`}},eq=(t,e,i)=>t+(e-t)*i,eG={borderRadius:{...eX,applyTo:[...e$]},borderTopLeftRadius:eX,borderTopRightRadius:eX,borderBottomLeftRadius:eX,borderBottomRightRadius:eX,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let n=B.parse(t);if(n.length>5)return t;let r=B.createTransformer(t),o="number"!=typeof n[0]?1:0,s=i.x.scale*e.x,a=i.y.scale*e.y;n[0+o]/=s,n[1+o]/=a;let l=eq(s,a,.5);return"number"==typeof n[2+o]&&(n[2+o]/=l),"number"==typeof n[3+o]&&(n[3+o]/=l),r(n)}}};function eK(t,{layout:e,layoutId:i}){return a.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!eG[t]||"opacity"===t)}function eZ(t,e,i){let n=t.style,r=e?.style,o={};if(!n)return o;for(let e in n)(J(n[e])||r&&J(r[e])||eK(e,t)||i?.getValue(e)?.liveStyle!==void 0)&&(o[e]=n[e]);return o}function eJ(t,e,i){let n=eZ(t,e,i);for(let i in t)(J(t[i])||J(e[i]))&&(n[-1!==s.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return n}class eQ extends eL{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Z}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(a.has(e)){let t=X(e);return t&&t.default||0}return e=eN.has(e)?e:eD(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return eJ(t,e,i)}build(t,e,i){eW(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,n){!function(t,e,i,n){for(let i in eU(t,e,void 0,n),e.attrs)t.setAttribute(eN.has(i)?i:eD(i),e.attrs[i])}(t,e,0,n)}mount(t){this.isSVGTag=eH(t.tagName),super.mount(t)}}function e0({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}function e1(t){return void 0===t||1===t}function e2({scale:t,scaleX:e,scaleY:i}){return!e1(t)||!e1(e)||!e1(i)}function e5(t){return e2(t)||e3(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function e3(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function e9(t,e,i,n,r){return void 0!==r&&(t=n+r*(t-n)),n+i*(t-n)+e}function e6(t,e=0,i=1,n,r){t.min=e9(t.min,e,i,n,r),t.max=e9(t.max,e,i,n,r)}function e4(t,{x:e,y:i}){e6(t.x,e.translate,e.scale,e.originPoint),e6(t.y,i.translate,i.scale,i.originPoint)}function e7(t,e){t.min+=e,t.max+=e}function e8(t,e,i,n,r=.5){let o=eq(t.min,t.max,r);e6(t,e,i,o,n)}function it(t,e){return"string"==typeof t?parseFloat(t)/100*(e.max-e.min):t}function ie(t,e,i){let n=i??t;e8(t.x,it(e.x,n.x),e.scaleX,e.scale,e.originX),e8(t.y,it(e.y,n.y),e.scaleY,e.scale,e.originY)}function ii(t,e){return e0(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}(t.getBoundingClientRect(),e))}class ir extends eL{constructor(){super(...arguments),this.type="html",this.renderInstance=eU}mount(t){tr(!!t.style,"motion.create() components must forward their ref to a HTML or SVG element","custom-component-ref"),super.mount(t)}readValueFromInstance(t,e){if(a.has(e))return this.projection?.isProjecting?tw(e):tx(t,e);{let i=window.getComputedStyle(t),n=(ta(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return ii(t,e)}build(t,e,i){eI(t,e,i.transformTemplate)}
1scrapeMotionValuesFromProps(t,e,i){return eZ(t,e,i)}}var io,is=i(2265);let ia=["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 il(t){if("string"!=typeof t||t.includes("-"));else if(ia.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}var iu=i(57437);let ic=(0,is.createContext)({}),ih=(0,is.createContext)({strict:!1}),id=(0,is.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),ip=(0,is.createContext)({});function im(t){return Array.isArray(t)?t.join(" "):t}let iy=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function iv(t,e,i){for(let n in e)J(e[n])||eK(n,i)||(t[n]=e[n])}let ig=()=>({...iy(),attrs:{}}),ib=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","propagate","ignoreStrict","viewport"]);function iw(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||ib.has(t)}let iS=t=>!iw(t);try{io=require("@emotion/is-prop-valid").default,"function"==typeof io&&(iS=t=>t.startsWith("on")?!iw(t):io(t))}catch{}function ix(t){return J(t)?t.get():t}let iT=(0,is.createContext)(null),iP=t=>(e,i)=>{let n=(0,is.useContext)(ip),r=(0,is.useContext)(iT),o=()=>(function(t,e,i,n){let{scrapeMotionValuesFromProps:r,createRenderState:o}=t;return{latestValues:function(t,e,i,n){let r={},o=n(t,{});for(let t in o)r[t]=ix(o[t]);let{initial:s,animate:a}=t,l=ex(t),u=eT(t);e&&u&&!l&&!1!==t.inherit&&(void 0===s&&(s=e.initial),void 0===a&&(a=e.animate));let c=!!i&&!1===i.initial,h=(c=c||!1===s)?a:s;if(h&&"boolean"!=typeof h&&!eg(h)){let e=Array.isArray(h)?h:[h];for(let i=0;i<e.length;i++){let n=eM(t,e[i]);if(n){let{transitionEnd:t,transition:e,...i}=n;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=c?e.length-1:0;e=e[t]}null!==e&&(r[t]=e)}for(let e in t)r[e]=t[e]}}}return r}(e,i,n,r),renderState:o()}})(t,e,n,r);return i?o():function(t){let e=(0,is.useRef)(null);return null===e.current&&(e.current=t()),e.current}(o)},ik=iP({scrapeMotionValuesFromProps:eZ,createRenderState:iy}),iE=iP({scrapeMotionValuesFromProps:eJ,createRenderState:ig}),iO={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"]},iM=!1;function iC(){return!function(){if(iM)return;let t={};for(let e in iO)t[e]={isEnabled:t=>iO[e].some(e=>!!t[e])};ej=t,iM=!0}(),ej}let ij=Symbol.for("motionComponentSymbol"),iA="data-"+eD("framerAppearId"),iL=(0,is.createContext)({});function iD(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}let iR="undefined"!=typeof window?is.useLayoutEffect:is.useEffect;function iV(t){let{forwardMotionProps:e=!1,type:i}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;n&&function(t){let e=iC();for(let i in t)e[i]={...e[i],...t[i]};ej=e}(n);let o=i?"svg"===i:il(t),s=o?iE:ik;function a(i,n){let a;let l={...(0,is.useContext)(id),...i,layoutId:function(t){let{layoutId:e}=t,i=(0,is.useContext)(ic).id;return i&&void 0!==e?i+"-"+e:e}(i)},{isStatic:u}=l,c=function(t){let{initial:e,animate:i}=function(t,e){if(ex(t)){let{initial:e,animate:i}=t;return{initial:!1===e||eb(e)?e:void 0,animate:eb(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,is.useContext)(ip));return(0,is.useMemo)(()=>({initial:e,animate:i}),[im(e),im(i)])}(i),h=s(i,u);if(!u&&"undefined"!=typeof window){(0,is.useContext)(ih).strict;let e=function(t){let{drag:e,layout:i}=iC();if(!e&&!i)return{};let n={...e,...i};return{MeasureLayout:e?.isEnabled(t)||i?.isEnabled(t)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}
1(l);a=e.MeasureLayout,c.visualElement=function(t,e,i,n,r,o){let{visualElement:s}=(0,is.useContext)(ip),a=(0,is.useContext)(ih),l=(0,is.useContext)(iT),u=(0,is.useContext)(id),c=u.reducedMotion,h=u.skipAnimations,d=(0,is.useRef)(null),p=(0,is.useRef)(!1);n=n||a.renderer,!d.current&&n&&(d.current=n(t,{visualState:e,parent:s,props:i,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:c,skipAnimations:h,isSVG:o}),p.current&&d.current&&(d.current.manuallyAnimateOnMount=!0));let f=d.current,m=(0,is.useContext)(iL);f&&!f.projection&&r&&("html"===f.type||"svg"===f.type)&&function(t,e,i,n){let{layoutId:r,layout:o,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutAnchor:c,layoutCrossfade:h}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:r,layout:o,alwaysMeasureLayout:!!s||a&&iD(a),visualElement:t,animationType:"string"==typeof o?o:"both",initialPromotionConfig:n,crossfade:h,layoutScroll:l,layoutRoot:u,layoutAnchor:c})}(d.current,i,r,m);let y=(0,is.useRef)(!1);(0,is.useInsertionEffect)(()=>{f&&y.current&&f.update(i,l)});let v=i[iA],g=(0,is.useRef)(!!v&&"undefined"!=typeof window&&!window.MotionHandoffIsComplete?.(v)&&window.MotionHasOptimisedAnimation?.(v));return iR(()=>{p.current=!0,f&&(y.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),f.scheduleRenderMicrotask(),g.current&&f.animationState&&f.animationState.animateChanges())}),(0,is.useEffect)(()=>{f&&(!g.current&&f.animationState&&f.animationState.animateChanges(),g.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(v)}),g.current=!1),f.enteringChildren=void 0)}),f}(t,h,l,r,e.ProjectionNode,o)}return(0,iu.jsxs)(ip.Provider,{value:c,children:[a&&c.visualElement?(0,iu.jsx)(a,{visualElement:c.visualElement,...l}):null,function(t,e,i,n,r){let{latestValues:o}=n,s=arguments.length>5&&void 0!==arguments[5]&&arguments[5],a=arguments.length>6?arguments[6]:void 0,l=(a??il(t)?function(t,e,i,n){let r=(0,is.useMemo)(()=>{let i=ig();return eW(i,e,eH(n),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};iv(e,t.style,t),r.style={...e,...r.style}}return r}:function(t,e){let i={},n=function(t,e){let i=t.style||{},n={};return iv(n,i,t),Object.assign(n,function(t,e){let{transformTemplate:i}=t;return(0,is.useMemo)(()=>{let t=iy();return eI(t,e,i),Object.assign({},t.vars,t.style)},[e])}(t,e)),n}(t,e);return t.drag&&!1!==t.dragListener&&(i.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(i.tabIndex=0),i.style=n,i})(e,o,r,t),u=function(t,e,i){let n={};for(let r in t)("values"!==r||"object"!=typeof t.values)&&!J(t[r])&&(iS(r)||!0===i&&iw(r)||!e&&!iw(r)||t.draggable&&r.startsWith("onDrag"))&&(n[r]=t[r]);return n}(e,"string"==typeof t,s),c=t!==is.Fragment?{...u,...l,ref:i}:{},{children:h}=e,d=(0,is.useMemo)(()=>J(h)?h.get():h,[h]);return(0,is.createElement)(t,{...c,children:d})}(t,i,function(t,e,i){let n=(0,is.useRef)(i);(0,is.useInsertionEffect)(()=>{n.current=i});let r=(0,is.useRef)(null);return(0,is.useCallback)(i=>{i&&t.onMount?.(i),e&&(i?e.mount(i):e.unmount());let o=n.current;if("function"==typeof o){if(i){let t=o(i);"function"==typeof t&&(r.current=t)}else r.current?(r.current(),r.current=null):o(i)}else o&&(o.current=i)},[e])}(h,c.visualElement,n),h,u,e,o)]})}a.displayName=`motion.${"string"==typeof t?t:`create(${t.displayName??t.name??""})`}`;let l=(0,is.forwardRef)(a);return l[ij]=t,l}class i_{constructor(t){this.isMounted=!1,this.node=t}update(){}}function iI(t,e,i){let n=t.getProps();return eM(n,e,void 0!==i?i:n.custom,t)}function iB(t,e){if(t?.inherit&&e){let{inherit:i,...n}=t;return{...e,...n}}return t}function iF(t,e){let i=t?.[e]??t?.default??t;return i!==t?iB(i,t):i}let iz=t=>Array.isArray(t);function iW(t,e){let i=t.getValue("willChange");if(J(i)&&i.add)return i.add(e);if(!i&&tC.WillChange){let i=new tC.WillChange("auto");
1t.addValue("willChange",i),i.add(e)}}let iN=(...t)=>t.reduce((t,e)=>i=>e(t(i)));function iH(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function iU(t,e){return i=>i>0?e:t}let i$=(t,e,i)=>{let n=t*t,r=i*(e*e-n)+n;return r<0?0:Math.sqrt(r)},iY=[w,b,M],iX=t=>iY.find(e=>e.test(t));function iq(t){let e=iX(t);if(tn(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let i=e.parse(t);return e===M&&(i=function({hue:t,saturation:e,lightness:i,alpha:n}){t/=360,i/=100;let r=0,o=0,s=0;if(e/=100){let n=i<.5?i*(1+e):i+e-i*e,a=2*i-n;r=iH(a,n,t+1/3),o=iH(a,n,t),s=iH(a,n,t-1/3)}else r=o=s=i;return{red:Math.round(255*r),green:Math.round(255*o),blue:Math.round(255*s),alpha:n}}(i)),i}let iG=(t,e)=>{let i=iq(t),n=iq(e);if(!i||!n)return iU(t,e);let r={...i};return t=>(r.red=i$(i.red,n.red,t),r.green=i$(i.green,n.green,t),r.blue=i$(i.blue,n.blue,t),r.alpha=eq(i.alpha,n.alpha,t),b.transform(r))},iK=new Set(["none","hidden"]);function iZ(t,e){return i=>eq(t,e,i)}function iJ(t){return"number"==typeof t?iZ:"string"==typeof t?tu(t)?iU:C.test(t)?iG:i1:Array.isArray(t)?iQ:"object"==typeof t?C.test(t)?iG:i0:iU}function iQ(t,e){let i=[...t],n=i.length,r=t.map((t,i)=>iJ(t)(t,e[i]));return t=>{for(let e=0;e<n;e++)i[e]=r[e](t);return i}}function i0(t,e){let i={...t,...e},n={};for(let r in i)void 0!==t[r]&&void 0!==e[r]&&(n[r]=iJ(t[r])(t[r],e[r]));return t=>{for(let e in n)i[e]=n[e](t);return i}}let i1=(t,e)=>{let i=B.createTransformer(e),n=R(t),r=R(e);return n.indexes.var.length===r.indexes.var.length&&n.indexes.color.length===r.indexes.color.length&&n.indexes.number.length>=r.indexes.number.length?iK.has(t)&&!r.values.length||iK.has(e)&&!n.values.length?iK.has(t)?i=>i<=0?t:e:i=>i>=1?e:t:iN(iQ(function(t,e){let i=[],n={color:0,var:0,number:0};for(let r=0;r<e.values.length;r++){let o=e.types[r],s=t.indexes[o][n[o]],a=t.values[s]??0;i[r]=a,n[o]++}return i}(n,r),r.values),i):(tn(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),iU(t,e))};function i2(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?eq(t,e,i):iJ(t)(t,e)}let i5=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>tL.update(e,t),stop:()=>tD(e),now:()=>tR.isProcessing?tR.timestamp:eu.now()}};function i3(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}let i9={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};function i6(t,e){return t*Math.sqrt(1-e*e)}let i4=["duration","bounce"],i7=["stiffness","damping","mass"];function i8(t,e){return e.some(e=>void 0!==t[e])}function nt(t=i9.visualDuration,e=i9.bounce){let i,n,r,o,s,a;let u="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:c,restDelta:h}=u,d=u.keyframes[0],p=u.keyframes[u.keyframes.length-1],f={done:!1,value:d},{stiffness:m,damping:y,mass:v,duration:g,velocity:b,isResolvedFromDuration:w}=function(t){let e={velocity:i9.velocity,stiffness:i9.stiffness,damping:i9.damping,mass:i9.mass,isResolvedFromDuration:!1,...t};if(!i8(t,i7)&&i8(t,i4)){if(e.velocity=0,t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),n=i*i,r=2*l(.05,1,1-(t.bounce||0))*Math.sqrt(n);e={...e,mass:i9.mass,stiffness:n,damping:r}}else{let i=function({duration:t=i9.duration,bounce:e=i9.bounce,velocity:i=i9.velocity,mass:n=i9.mass}){let r,o;tn(t<=tq(i9.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let s=1-e;s=l(i9.minDamping,i9.maxDamping,s),t=l(i9.minDuration,i9.maxDuration,tG(t)),s<1?(r=e=>{let n=e*s,r=n*t;return .001-(n-i)/i6(e,s)*Math.exp(-r)},o=e=>{let n=e*s*t,o=Math.pow(s,2)*Math.pow(e,2)*t,a=i6(Math.pow(e,2),s);return(n*i+i-o)*Math.exp(-n)*(-r(e)+.001>0?-1:1)/a}):(r=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),o=e=>t*t*(i-e)*Math.exp(-e*t));
1let a=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(r,o,5/t);if(t=tq(t),isNaN(a))return{stiffness:i9.stiffness,damping:i9.damping,duration:t};{let e=Math.pow(a,2)*n;return{stiffness:e,damping:2*s*Math.sqrt(n*e),duration:t}}}({...t,velocity:0});(e={...e,...i,mass:i9.mass}).isResolvedFromDuration=!0}}return e}({...u,velocity:-tG(u.velocity||0)}),S=b||0,x=y/(2*Math.sqrt(m*v)),T=p-d,P=tG(Math.sqrt(m/v)),k=5>Math.abs(T);if(c||(c=k?i9.restSpeed.granular:i9.restSpeed.default),h||(h=k?i9.restDelta.granular:i9.restDelta.default),x<1)r=i6(P,x),o=(S+x*P*T)/r,i=t=>p-Math.exp(-x*P*t)*(o*Math.sin(r*t)+T*Math.cos(r*t)),s=x*P*o+T*r,a=x*P*T-o*r,n=t=>Math.exp(-x*P*t)*(s*Math.sin(r*t)+a*Math.cos(r*t));else if(1===x){i=t=>p-Math.exp(-P*t)*(T+(S+P*T)*t);let t=S+P*T;n=e=>Math.exp(-P*e)*(P*t*e-S)}else{let t=P*Math.sqrt(x*x-1);i=e=>{let i=Math.exp(-x*P*e),n=Math.min(t*e,300);return p-i*((S+x*P*T)*Math.sinh(n)+t*T*Math.cosh(n))/t};let e=(S+x*P*T)/t,r=x*P*e-T*t,o=x*P*T-e*t;n=e=>{let i=Math.exp(-x*P*e),n=Math.min(t*e,300);return i*(r*Math.sinh(n)+o*Math.cosh(n))}}let E={calculatedDuration:w&&g||null,velocity:t=>tq(n(t)),next:t=>{if(!w&&x<1){let e=Math.exp(-x*P*t),i=Math.sin(r*t),n=Math.cos(r*t),l=p-e*(o*i+T*n),u=tq(e*(s*i+a*n));return f.done=Math.abs(u)<=c&&Math.abs(p-l)<=h,f.value=f.done?p:l,f}let e=i(t);if(w)f.done=t>=g;else{let i=tq(n(t));f.done=Math.abs(i)<=c&&Math.abs(p-e)<=h}return f.value=f.done?p:e,f},toString:()=>{let t=Math.min(i3(E),2e4),e=et(e=>E.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return E}function ne(t,e,i){let n=Math.max(e-5,0);return ec(i-t(n),e-n)}function ni({keyframes:t,velocity:e=0,power:i=.8,timeConstant:n=325,bounceDamping:r=10,bounceStiffness:o=500,modifyTarget:s,min:a,max:l,restDelta:u=.5,restSpeed:c}){let h,d;let p=t[0],f={done:!1,value:p},m=t=>void 0!==a&&t<a||void 0!==l&&t>l,y=t=>void 0===a?l:void 0===l?a:Math.abs(a-t)<Math.abs(l-t)?a:l,v=i*e,g=p+v,b=void 0===s?g:s(g);b!==g&&(v=b-p);let w=t=>-v*Math.exp(-t/n),S=t=>b+w(t),x=t=>{let e=w(t),i=S(t);f.done=Math.abs(e)<=u,f.value=f.done?b:i},T=t=>{m(f.value)&&(h=t,d=nt({keyframes:[f.value,y(f.value)],velocity:ne(S,t,f.value),damping:r,stiffness:o,restDelta:u,restSpeed:c}))};return T(0),{calculatedDuration:null,next:t=>{let e=!1;return(d||void 0!==h||(e=!0,x(t),T(t)),void 0!==h&&t>=h)?d.next(t-h):(e||x(t),f)}}}nt.applyToOptions=t=>{let e=function(t,e=100,i){let n=i({...t,keyframes:[0,e]}),r=Math.min(i3(n),2e4);return{type:"keyframes",ease:t=>n.next(r*t).value/e,duration:tG(r)}}(t,100,nt);return t.ease=e.ease,t.duration=tq(e.duration),t.type="keyframes",t};let nn=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function nr(t,e,i,n){if(t===e&&i===n)return tM;let r=e=>(function(t,e,i,n,r){let o,s;let a=0;do(o=nn(s=e+(i-e)/2,n,r)-t)>0?i=s:e=s;while(Math.abs(o)>1e-7&&++a<12);return s})(e,0,1,t,i);return t=>0===t||1===t?t:nn(r(t),e,n)}let no=nr(.42,0,1,1),ns=nr(0,0,.58,1),na=nr(.42,0,.58,1),nl=t=>Array.isArray(t)&&"number"!=typeof t[0],nu=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,nc=t=>e=>1-t(1-e),nh=nr(.33,1.53,.69,.99),nd=nc(nh),np=nu(nd),nf=t=>t>=1?1:(t*=2)<1?.5*nd(t):.5*(2-Math.pow(2,-10*(t-1))),nm=t=>1-Math.sin(Math.acos(t)),ny=nc(nm),nv=nu(nm),ng={linear:tM,easeIn:no,easeInOut:na,easeOut:ns,circIn:nm,circInOut:nv,circOut:ny,backIn:nd,backInOut:np,backOut:nh,anticipate:nf},nb=t=>"string"==typeof t,nw=t=>{if(t7(t)){tr(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,n,r]=t;return nr(e,i,n,r)}return nb(t)?(tr(void 0!==ng[t],`Invalid easing type '${t}'`,"invalid-easing-type"),ng[t]):t},nS=(t,e,i)=>{let n=e-t;return n?(i-t)/n:1};function nx({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){let r=nl(n)?n.map(nw):nw(n),o={done:!1,value:e[0]},s=function(t,e,{clamp:i=!0,ease:n,mixer:r}={}){let o=t.length;if(tr(o===e.length,"Both input and output ranges must be the same length","range-length"),1===o)return()=>e[0];if(2===o&&e[0]===e[1])return()=>e[1];let s=t[0]===t[1];t[0]>t[o-1]&&(t=[...t].reverse(),e=[...e].reverse());let a=function(t,e,i){let n=[],r=i||tC.mix||i2,o=t.length-1;for(let i=0;i<o;
1i++){let o=r(t[i],t[i+1]);e&&(o=iN(Array.isArray(e)?e[i]||tM:e,o)),n.push(o)}return n}(e,n,r),u=a.length,c=i=>{if(s&&i<t[0])return e[0];let n=0;if(u>1)for(;n<t.length-2&&!(i<t[n+1]);n++);let r=nS(t[n],t[n+1],i);return a[n](r)};return i?e=>c(l(t[0],t[o-1],e)):c}((i&&i.length===e.length?i:function(t){let e=[0];return function(t,e){let i=t[t.length-1];for(let n=1;n<=e;n++){let r=nS(0,e,n);t.push(eq(i,1,r))}}(e,t.length-1),e}(e)).map(e=>e*t),e,{ease:Array.isArray(r)?r:e.map(()=>r||na).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(o.value=s(e),o.done=e>=t,o)}}let nT={decay:ni,inertia:ni,tween:nx,keyframes:nx,spring:nt};function nP(t){"string"==typeof t.type&&(t.type=nT[t.type])}let nk=t=>t/100;class nE extends t4{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==eu.now()&&this.tick(eu.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;nP(t);let{type:e=nx,repeat:i=0,repeatDelay:n=0,repeatType:r,velocity:o=0}=t,{keyframes:s}=t,a=e||nx;a!==nx&&"number"!=typeof s[0]&&(this.mixKeyframes=iN(nk,i2(s[0],s[1])),s=[0,100]);let l=a({...t,keyframes:s});"mirror"===r&&(this.mirroredGenerator=a({...t,keyframes:[...s].reverse(),velocity:-o})),null===l.calculatedDuration&&(l.calculatedDuration=i3(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+n,this.totalDuration=this.resolvedDuration*(i+1)-n,this.generator=l}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let i;let{generator:n,totalDuration:r,mixKeyframes:o,mirroredGenerator:s,resolvedDuration:a,calculatedDuration:u}=this;if(null===this.startTime)return n.next(0);let{delay:c=0,keyframes:h,repeat:d,repeatType:p,repeatDelay:f,type:m,onUpdate:y,finalKeyframe:v}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-r/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let g=this.currentTime-c*(this.playbackSpeed>=0?1:-1),b=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=r);let w=this.currentTime,S=n;if(d){let t=Math.min(this.currentTime,r)/a,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,d+1))%2&&("reverse"===p?(i=1-i,f&&(i-=f/a)):"mirror"===p&&(S=s)),w=l(0,1,i)*a}b?(this.delayState.value=h[0],i=this.delayState):i=S.next(w),o&&!b&&(i.value=o(i.value));let{done:x}=i;b||null===u||(x=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let T=null===this.holdTime&&("finished"===this.state||"running"===this.state&&x);return T&&m!==ni&&(i.value=t6(h,this.options,v,this.speed)),y&&y(i.value),T&&this.finish(),i}then(t,e){return this.finished.then(t,e)}get duration(){return tG(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+tG(t)}get time(){return tG(this.currentTime)}set time(t){t=tq(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){let t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);let e=this.generator.next(t).value;return ne(t=>this.generator.next(t).value,t,e)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;e&&this.driver&&this.updateTime(eu.now()),this.playbackSpeed=t,e&&this.driver&&(this.time=tG(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=i5,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=e??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(eu.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}let nO={anticipate:nf,backInOut:np,circInOut:nv};class nM extends er{constructor(t){"string"==typeof t.ease&&t.ease in nO&&(t.ease=nO[t.ease]),nP(t),super(t),void 0!==t.startTime&&!1!==t.autoplay&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:n,element:r,...o}=this.options;if(!e)return;if(void 0!==t){e.set(t);return}let s=new nE({...o,autoplay:!1}),a=Math.max(10,eu.now()-this.startTime),u=l(0,10,a-10),c=s.sample(a).value,{name:h}=this.options;r&&h&&t0(r,h,c),e.setWithVelocity(s.sample(Math.max(0,a-u)).value,c,u),s.stop()}}let nC=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(B.test(t)||"0"===t)&&!t.startsWith("url("));function nj(t){t.duration=0,t.type="keyframes"}let nA=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,nL=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),nD=t1(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));
1class nR extends t4{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:o="loop",keyframes:s,name:a,motionValue:l,element:u,...c}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=eu.now();let h={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:r,repeatType:o,name:a,motionValue:l,element:u,...c},d=u?.KeyframeResolver||tN;this.keyframeResolver=new d(s,(t,e,i)=>this.onKeyframesResolved(t,e,h,!i),a,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,n){let r;this.keyframeResolver=void 0;let{name:o,type:s,velocity:a,delay:l,isHandoff:u,onUpdate:c}=i;this.resolvedAt=eu.now();let h=!0;!function(t,e,i,n){let r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;let o=t[t.length-1],s=nC(r,e),a=nC(o,e);return tn(s===a,`You are trying to animate ${e} from "${r}" to "${o}". "${s?o:r}" is not an animatable value.`,"value-not-animatable"),!!s&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||en(i))&&n)}(t,o,s,a)&&(h=!1,(tC.instantAnimations||!l)&&c?.(t6(t,i,e)),t[0]=t[t.length-1],nj(i),i.repeat=0);let d={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},p=h&&!u&&function(t){let{motionValue:e,name:i,repeatDelay:n,repeatType:r,damping:o,type:s,keyframes:a}=t,l=e?.owner?.current;if(!(l instanceof HTMLElement)&&!(l instanceof SVGElement))return!1;let{onUpdate:u,transformTemplate:c}=e.owner.getProps();return nD()&&i&&(eo.has(i)||nL.has(i)&&function(t){for(let e=0;e<t.length;e++)if("string"==typeof t[e]&&nA.test(t[e]))return!0;return!1}(a))&&("transform"!==i||!c)&&!u&&!n&&"mirror"!==r&&0!==o&&"inertia"!==s}(d),f=d.motionValue?.owner?.current;if(p)try{r=new nM({...d,element:f})}catch{r=new nE(d)}else r=new nE(d);r.finished.then(()=>{this.notifyFinished()}).catch(tM),this.pendingTimeline&&(this.stopTimeline=r.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=r}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),tF=!0,tW(),tz(),tF=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let nV={type:"spring",stiffness:500,damping:25,restSpeed:10},n_=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),nI={type:"keyframes",duration:.8},nB={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},nF=(t,{keyframes:e})=>e.length>2?nI:a.has(t)?t.startsWith("scale")?n_(e[1]):nV:nB,nz=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),nW=(t,e,i,n={},r,o)=>s=>{let a=iF(n,t)||{},l=a.delay||n.delay||0,{elapsed:u=0}=n;u-=tq(l);let c={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-u,onUpdate:t=>{e.set(t),a.onUpdate&&a.onUpdate(t)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:o?void 0:r};!function(t){for(let e in t)if(!nz.has(e))return!0;return!1}(a)&&Object.assign(c,nF(t,c)),c.duration&&(c.duration=tq(c.duration)),c.repeatDelay&&(c.repeatDelay=tq(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let h=!1;if(!1!==c.type&&(0!==c.duration||c.repeatDelay)||(nj(c),0!==c.delay||(h=!0)),(tC.instantAnimations||tC.skipAnimations||r?.shouldSkipAnimations||a.skipAnimations)&&(h=!0,nj(c),c.delay=0),c.allowFlatten=!a.type&&!a.ease,h&&!o&&void 0!==e.get()){let t=t6(c.keyframes,a);if(void 0!==t){tL.update(()=>{c.onUpdate(t),c.onComplete()});return}}return a.isSync?new nE(c):new nR(c)};function nN(t,e,{delay:i=0,transitionOverride:n,type:r}={}){let{transition:o,transitionEnd:s,...a}=e,l=t.getDefaultTransition();o=o?iB(o,l):l;let u=o?.reduceMotion,c=o?.skipAnimations;n&&(o=n);let h=[],d=r&&t.animationState&&t.animationState.getState()[r],p=o?.path;for(let e in p&&p.animateVisualElement(t,a,o,i,h),a){let n=t.getValue(e,t.latestValues[e]??null),r=a[e];if(void 0===r||d&&function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}(d,e))continue;let s={delay:i,...iF(o||{},e)};c&&(s.skipAnimations=!0);let l=n.get();if(void 0!==l&&!n.isAnimating()&&!Array.isArray(r)&&r===l&&!s.velocity){tL.update(()=>n.set(r));continue}let p=!1;if(window.MotionHandoffAnimation){let i=t.props[iA];if(i){let t=window.MotionHandoffAnimation(i,e,tL);null!==t&&(s.startTime=t,p=!0)}}iW(t,e);let f=u??t.shouldReduceMotion;n.start(nW(e,n,r,f&&Q.has(e)?{type:!1}:s,t,p));let m=n.animation;m&&h.push(m)}if(s){let e=()=>tL.update(()=>{s&&function(t,e){let{transitionEnd:i={},transition:n={},...r}=iI(t,e)||{};for(let e in r={...r,...i}){var o;let i=iz(o=r[e])?o[o.length-1]||0:o;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,ef(i))}}(t,s)});h.length?Promise.all(h).then(e):e()}return h}function nH(t,e,i,n=0,r=1){let o=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),s=t.size,a=(s-1)*n;return"function"==typeof i?i(o,s):1===r?o*n:a-o*n}function nU(t,e,i={}){let n=iI(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:r=t.getDefaultTransition()||{}}=n||{};i.transitionOverride&&(r=i.transitionOverride);let o=n?()=>Promise.all(nN(t,n,i)):()=>Promise.resolve(),s=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:o=0,staggerChildren:s,staggerDirection:a}=r;
1return function(t,e,i=0,n=0,r=0,o=1,s){let a=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),a.push(nU(l,e,{...s,delay:i+("function"==typeof n?0:n)+nH(t.variantChildren,l,n,r,o)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}(t,e,n,o,s,a,i)}:()=>Promise.resolve(),{when:a}=r;if(!a)return Promise.all([o(),s(i.delay)]);{let[t,e]="beforeChildren"===a?[o,s]:[s,o];return t().then(()=>e())}}let n$=eS.length;function nY(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let n=0;n<i;n++)if(e[n]!==t[n])return!1;return!0}let nX=[...ew].reverse(),nq=ew.length;function nG(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function nK(){return{animate:nG(!0),whileInView:nG(),whileHover:nG(),whileTap:nG(),whileDrag:nG(),whileFocus:nG(),exit:nG()}}class nZ extends i_{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(function(t,e,i={}){let n;if(t.notify("AnimationStart",e),Array.isArray(e))n=Promise.all(e.map(e=>nU(t,e,i)));else if("string"==typeof e)n=nU(t,e,i);else{let r="function"==typeof e?iI(t,e,i.custom):e;n=Promise.all(nN(t,r,i))}return n.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=nK(),n=!0,r=!1,o=e=>(i,n)=>{let r=iI(t,n,"exit"===e?t.presenceContext?.custom:void 0);if(r){let{transition:t,transitionEnd:e,...n}=r;i={...i,...n,...e}}return i};function s(s){let{props:a}=t,l=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<n$;t++){let n=eS[t],r=e.props[n];(eb(r)||!1===r)&&(i[n]=r)}return i}(t.parent)||{},u=[],c=new Set,h={},d=1/0;for(let e=0;e<nq;e++){var p;let f=nX[e],m=i[f],y=void 0!==a[f]?a[f]:l[f],v=eb(y),g=f===s?m.isActive:null;!1===g&&(d=e);let b=y===l[f]&&y!==a[f]&&v;if(b&&(n||r)&&t.manuallyAnimateOnMount&&(b=!1),m.protectedKeys={...h},!m.isActive&&null===g||!y&&!m.prevProp||eg(y)||"boolean"==typeof y)continue;if("exit"===f&&m.isActive&&!0!==g){m.prevResolvedValues&&(h={...h,...m.prevResolvedValues});continue}let w=(p=m.prevProp,"string"==typeof y?y!==p:!!Array.isArray(y)&&!nY(y,p)),S=w||f===s&&m.isActive&&!b&&v||e>d&&v,x=!1,T=Array.isArray(y)?y:[y],P=T.reduce(o(f),{});!1===g&&(P={});let{prevResolvedValues:k={}}=m,E={...k,...P},O=e=>{S=!0,c.has(e)&&(x=!0,c.delete(e)),m.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in E){let e=P[t],i=k[t];if(!h.hasOwnProperty(t))(iz(e)&&iz(i)?!nY(e,i)||w:e!==i)?null!=e?O(t):c.add(t):void 0!==e&&c.has(t)?O(t):m.protectedKeys[t]=!0}m.prevProp=y,m.prevResolvedValues=P,m.isActive&&(h={...h,...P}),(n||r)&&t.blockInitialAnimation&&(S=!1);let M=b&&w,C=!M||x;S&&C&&u.push(...T.map(e=>{let i={type:f};if("string"==typeof e&&(n||r)&&!M&&t.manuallyAnimateOnMount&&t.parent){let{parent:n}=t,r=iI(n,e);if(n.enteringChildren&&r){let{delayChildren:e}=r.transition||{};i.delay=nH(n.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(c.size){let e={};if("boolean"!=typeof a.initial){let i=iI(t,Array.isArray(a.initial)?a.initial[0]:a.initial);i&&i.transition&&(e.transition=i.transition)}c.forEach(i=>{let n=t.getBaseTarget(i),r=t.getValue(i);r&&(r.liveStyle=!0),e[i]=n??null}),u.push({animation:e})}let f=!!u.length;return n&&(!1===a.initial||a.initial===a.animate)&&!t.manuallyAnimateOnMount&&(f=!1),n=!1,r=!1,f?e(u):Promise.resolve()}return{animateChanges:s,setActive:function(e,n){if(i[e].isActive===n)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,n)),i[e].isActive=n;let r=s(e);for(let t in i)i[t].protectedKeys={};return r},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=nK(),r=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();eg(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let nJ=0;class nQ extends i_{constructor(){super(...arguments),this.id=nJ++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;if(t&&!1===i){if(this.isExitComplete){let{initial:t,custom:e}=this.node.getProps();if("string"==typeof t||"object"==typeof t&&null!==t&&!Array.isArray(t)){let i=iI(this.node,t,e);if(i){let{transition:t,transitionEnd:e,...n}=i;for(let t in n)this.node.getValue(t)?.jump(n[t])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let n=this.node.animationState.setActive("exit",!t);e&&!t&&n.then(()=>
1{this.isExitComplete=!0,e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}let n0={x:!1,y:!1};function n1(t){return[t("x"),t("y")]}function n2(t){return t.max-t.min}function n5(t,e,i,n=.5){t.origin=n,t.originPoint=eq(e.min,e.max,t.origin),t.scale=n2(i)/n2(e),t.translate=eq(i.min,i.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 n3(t,e,i,n){n5(t.x,e.x,i.x,n?n.originX:void 0),n5(t.y,e.y,i.y,n?n.originY:void 0)}function n9(t,e,i,n=0){let r=n?eq(i.min,i.max,n):i.min;t.min=r+e.min,t.max=t.min+n2(e)}function n6(t,e,i,n=0){let r=n?eq(i.min,i.max,n):i.min;t.min=e.min-r,t.max=t.min+n2(e)}function n4(t,e,i,n){n6(t.x,e.x,i.x,n?.x),n6(t.y,e.y,i.y,n?.y)}let n7=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),n8=new Set(["INPUT","SELECT","TEXTAREA"]);function rt(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i,n)}let re=t=>"object"==typeof t&&null!==t;function ri(t){return re(t)&&"ownerSVGElement"in t}function rn(t,e,i){if(null==t)return[];if(t instanceof EventTarget)return[t];if("string"==typeof t){let n=document;e&&(n=e.current);let r=i?.[t]??n.querySelectorAll(t);return r?Array.from(r):[]}return Array.from(t).filter(t=>null!=t)}let rr=new WeakMap,ro=(t,e,i)=>(n,r)=>r&&r[0]?r[0][t+"Size"]:ri(n)&&"getBBox"in n?n.getBBox()[e]:n[i],rs=ro("inline","width","offsetWidth"),ra=ro("block","height","offsetHeight");function rl({target:t,borderBoxSize:e}){rr.get(t)?.forEach(i=>{i(t,{get width(){return rs(t,e)},get height(){return ra(t,e)}})})}function ru(t){t.forEach(rl)}let rc=new Set;function rh(t,e){return"function"==typeof t?(rc.add(t),o||(o=()=>{let t={get width(){return window.innerWidth},get height(){return window.innerHeight}};rc.forEach(e=>e(t))},window.addEventListener("resize",o)),()=>{rc.delete(t),rc.size||"function"!=typeof o||(window.removeEventListener("resize",o),o=void 0)}):function(t,e){r||"undefined"==typeof ResizeObserver||(r=new ResizeObserver(ru));let i=rn(t);return i.forEach(t=>{let i=rr.get(t);i||(i=new Set,rr.set(t,i)),i.add(e),r?.observe(t)}),()=>{i.forEach(t=>{let i=rr.get(t);i?.delete(e),i?.size||r?.unobserve(t)})}}(t,e)}let rd=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function rp(t){return{point:{x:t.pageX,y:t.pageY}}}let rf=t=>e=>rd(e)&&t(e,rp(e));function rm(t,e,i,n){return rt(t,e,rf(i),n)}let ry=({current:t})=>t?t.ownerDocument.defaultView:null,rv=(t,e)=>Math.abs(t-e),rg=new Set(["auto","scroll"]);class rb{constructor(t,e,{transformPagePoint:i,contextWindow:n=window,dragSnapToOrigin:r=!1,distanceThreshold:o=3,element:s}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=t=>{this.handleScroll(t.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=rw(this.lastRawMoveEventInfo,this.transformPagePoint));let i=rx(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,r=(t=i.offset,e={x:0,y:0},Math.sqrt(rv(t.x,e.x)**2+rv(t.y,e.y)**2)>=this.distanceThreshold);if(!n&&!r)return;let{point:o}=i,{timestamp:s}=tR;this.history.push({...o,timestamp:s});let{onStart:a,onMove:l}=this.handlers;n||(a&&a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastRawMoveEventInfo=e,this.lastMoveEventInfo=rw(e,this.transformPagePoint),tL.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:r}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let o=rx("pointercancel"===t.type?this.lastMoveEventInfo:rw(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,o),n&&n(t,o)},!rd(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=o,this.contextWindow=n||window;let a=rw(rp(t),this.transformPagePoint),{point:l}=a,{timestamp:u}=tR;this.history=[{...l,timestamp:u}];let{onSessionStart:c}=e;c&&c(t,rx(a,this.history));let h={passive:!0,capture:!0};this.removeListeners=iN(rm(this.contextWindow,"pointermove",this.handlePointerMove,h),rm(this.contextWindow,"pointerup",this.handlePointerUp,h),rm(this.contextWindow,"pointercancel",this.handlePointerUp,h)),s&&this.startScrollTracking(s)}startScrollTracking(t){let e=t.parentElement;for(;e;){let t=getComputedStyle(e);(rg.has(t.overflowX)||rg.has(t.overflowY))&&this.scrollPositions.set(e,{x:e.scrollLeft,y:e.scrollTop}),e=e.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){let e=this.scrollPositions.get(t);if(!e)return;let i=t===window,n=i?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},r={x:n.x-e.x,y:n.y-e.y};(0!==r.x||0!==r.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=r.x,this.lastMoveEventInfo.point.y+=r.y):this.history.length>0&&(this.history[0].x-=r.x,this.history[0].y-=r.y),this.scrollPositions.set(t,n),tL.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),tD(this.updatePoint)}}function rw(t,e){return e?{point:e(t.point)}:t}function rS(t,e){return{x:t.x-e.x,y:t.y-e.y}}function rx({point:t},e){return{point:t,delta:rS(t,rT(e)),offset:rS(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,n=null,r=rT(t);for(;i>=0&&(n=t[i],!(r.timestamp-n.timestamp>tq(.1)));)i--;if(!n)return{x:0,y:0};n===t[0]&&t.length>2&&r.timestamp-n.timestamp>
12*tq(.1)&&(n=t[1]);let o=tG(r.timestamp-n.timestamp);if(0===o)return{x:0,y:0};let s={x:(r.x-n.x)/o,y:(r.y-n.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(e,.1)}}function rT(t){return t[t.length-1]}function rP(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function rk(t,e){let i=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,n]=[n,i]),{min:i,max:n}}function rE(t,e,i){return{min:rO(t,e),max:rO(t,i)}}function rO(t,e){return"number"==typeof t?t:t[e]||0}let rM=new WeakMap;class rC{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Z(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let{dragSnapToOrigin:r}=this.getProps();this.panSession=new rb(t,{onSessionStart:t=>{e&&this.snapToCursor(rp(t).point),this.stopAnimation()},onStart:(t,e)=>{let{drag:i,dragPropagation:n,onDragStart:r}=this.getProps();if(i&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock="x"===i||"y"===i?n0[i]?null:(n0[i]=!0,()=>{n0[i]=!1}):n0.x||n0.y?null:(n0.x=n0.y=!0,()=>{n0.x=n0.y=!1}),!this.openDragLock))return;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),n1(t=>{let e=this.getAxisMotionValue(t).get()||0;if(T.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[t];if(n){let t=n2(n);e=parseFloat(e)/100*t}}}this.originPoint[t]=e}),r&&tL.update(()=>r(t,e),!1,!0),iW(this.visualElement,"transform");let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},onMove:(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:r,onDrag:o}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:s}=e;if(n&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(s),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",e.point,s),this.updateAxis("y",e.point,s),this.visualElement.render(),o&&tL.update(()=>o(t,e),!1,!0)},onSessionEnd:(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},resumeAnimation:()=>{let{dragSnapToOrigin:t}=this.getProps();(t||this.constraints)&&this.startAnimation({x:0,y:0})}},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:r,distanceThreshold:i,contextWindow:ry(this.visualElement),element:this.visualElement.current})}stop(t,e){let i=t||this.latestPointerEvent,n=e||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!n||!i)return;let{velocity:o}=n;this.startAnimation(o);let{onDragEnd:s}=this.getProps();s&&tL.postRender(()=>s(i,n))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,e,i){let{drag:n}=this.getProps();if(!i||!rA(t,n,this.currentDirection))return;let r=this.getAxisMotionValue(t),o=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(o=function(t,{min:e,max:i},n){return void 0!==e&&t<e?t=n?eq(e,t,n.min):Math.max(t,e):void 0!==i&&t>i&&(t=n?eq(i,t,n.max):Math.min(t,i)),t}(o,this.constraints[t],this.elastic[t])),r.set(o)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,n=this.constraints;t&&iD(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:n,right:r}){return{x:rP(t.x,i,r),y:rP(t.y,e,n)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:rE(t,"left","right"),y:rE(t,"top","bottom")}}(e),n!==this.constraints&&!iD(t)&&i&&this.constraints&&!this.hasMutatedConstraints&&n1(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let i={};return void 0!==e.min&&(i.min=e.min-t.min),void 0!==e.max&&(i.max=e.max-t.min),i}(i.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!iD(e))return!1;let n=e.current;tr(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;r.root&&(r.root.scroll=void 0,r.root.updateScroll());
1let o=function(t,e,i){let n=ii(t,i),{scroll:r}=e;return r&&(e7(n.x,r.offset.x),e7(n.y,r.offset.y)),n}(n,r.root,this.visualElement.getTransformPagePoint()),s={x:rk((t=r.layout.layoutBox).x,o.x),y:rk(t.y,o.y)};if(i){let t=i(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(s));this.hasMutatedConstraints=!!t,t&&(s=e0(t))}return s}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:n,dragTransition:r,dragSnapToOrigin:o,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{};return Promise.all(n1(s=>{if(!rA(s,e,this.currentDirection))return;let l=a&&a[s]||{};(!0===o||o===s)&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[s]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(s,u)})).then(s)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return iW(this.visualElement,t),i.start(nW(t,i,0,e,this.visualElement,!1))}stopAnimation(){n1(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`;return this.visualElement.getProps()[e]||this.visualElement.getValue(t,this.visualElement.latestValues[t]??0)}snapToCursor(t){n1(e=>{let{drag:i}=this.getProps();if(!rA(e,i,this.currentDirection))return;let{projection:n}=this.visualElement,r=this.getAxisMotionValue(e);if(n&&n.layout){let{min:i,max:o}=n.layout.layoutBox[e],s=r.get()||0;r.set(t[e]-eq(i,o,.5)+s)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!iD(e)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};n1(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let i=e.get();n[t]=function(t,e){let i=.5,n=n2(t),r=n2(e);return r>n?i=nS(e.min,e.max-n,t.min):n>r&&(i=nS(t.min,t.max-r,e.min)),l(0,1,i)}({min:i,max:i},this.constraints[t])}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.constraints=!1,this.resolveConstraints(),n1(e=>{if(!rA(e,t,null))return;let i=this.getAxisMotionValue(e),{min:r,max:o}=this.constraints[e];i.set(eq(r,o,n[e]))}),this.visualElement.render()}addListeners(){let t;if(!this.visualElement.current)return;rM.set(this.visualElement,this);let e=this.visualElement.current,i=rm(e,"pointerdown",t=>{let{drag:i,dragListener:n=!0}=this.getProps(),r=t.target,o=r!==e&&(n8.has(r.tagName)||!0===r.isContentEditable);i&&n&&!o&&this.start(t)}),n=()=>{let{dragConstraints:i}=this.getProps();iD(i)&&i.current&&(this.constraints=this.resolveRefConstraints(),t||(t=function(t,e,i){let n=rh(t,rj(i)),r=rh(e,rj(i));return()=>{n(),r()}}(e,i.current,()=>this.scalePositionWithinConstraints())))},{projection:r}=this.visualElement,o=r.addEventListener("measure",n);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),tL.read(n);let s=rt(window,"resize",()=>this.scalePositionWithinConstraints()),a=r.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(n1(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{s(),i(),o(),a&&a(),t&&t()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:r=!1,dragElastic:o=.35,dragMomentum:s=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:n,dragConstraints:r,dragElastic:o,dragMomentum:s}}}function rj(t){let e=!0;return()=>{if(e){e=!1;return}t()}}function rA(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class rL extends i_{constructor(t){super(t),this.removeGroupControls=tM,this.removeListeners=tM,this.controls=new rC(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tM}update(){let{dragControls:t}=this.node.getProps(),{dragControls:e}=this.node.prevProps||{};t!==e&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}let rD=t=>(e,i)=>{t&&tL.update(()=>t(e,i),!1,!0)};class rR extends i_{constructor(){super(...arguments),this.removePointerDownListener=tM}onPointerDown(t){this.session=new rb(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:ry(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:rD(t),onStart:rD(e),onMove:rD(i),onEnd:(t,e)=>{delete this.session,n&&tL.postRender(()=>n(t,e))}}}mount(){this.removePointerDownListener=rm(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let rV={hasAnimatedSinceResize:!0,hasEverUpdated:!1},r_=!1;class rI extends is.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:n}=this.props,{projection:r}=t;r&&(e.group&&e.group.add(r),i&&i.register&&n&&i.register(r),r_&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),rV.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:n,isPresent:r}=this.props,{projection:o}=i;return o&&(o.isPresent=r,t.layoutDependency!==e&&o.setOptions({...o.options,layoutDependency:e}),r_=!0,n||t.layoutDependency!==e||void 0===e||t.isPresent!==r?o.willUpdate():this.safeToRemove(),t.isPresent===r||(r?o.promote():o.relegate()||tL.postRender(()=>
1{let t=o.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:t,layoutAnchor:e}=this.props,{projection:i}=t;i&&(i.options.layoutAnchor=e,i.root.didUpdate(),es.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;r_=!0,n&&(n.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(n),i&&i.deregister&&i.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function rB(t){let[e,i]=function(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0],e=(0,is.useContext)(iT);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:n,register:r}=e,o=(0,is.useId)();(0,is.useEffect)(()=>{if(t)return r(o)},[t]);let s=(0,is.useCallback)(()=>t&&n&&n(o),[o,n,t]);return!i&&n?[!1,s]:[!0]}(),n=(0,is.useContext)(ic);return(0,iu.jsx)(rI,{...t,layoutGroup:n,switchLayoutGroup:(0,is.useContext)(iL),isPresent:e,safeToRemove:i})}let rF={value:null,addProjectionMetrics:null},rz=e$.length,rW=t=>"string"==typeof t?parseFloat(t):t,rN=t=>"number"==typeof t||P.test(t);function rH(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let rU=rY(0,.5,ny),r$=rY(.5,.95,tM);function rY(t,e,i){return n=>n<t?0:n>e?1:i(nS(t,e,n))}function rX(t,e){t.min=e.min,t.max=e.max}function rq(t,e){rX(t.x,e.x),rX(t.y,e.y)}function rG(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function rK(t,e,i,n,r){return t-=e,t=n+1/i*(t-n),void 0!==r&&(t=n+1/r*(t-n)),t}function rZ(t,e,[i,n,r],o,s){!function(t,e=0,i=1,n=.5,r,o=t,s=t){if(T.test(e)&&(e=parseFloat(e),e=eq(s.min,s.max,e/100)-s.min),"number"!=typeof e)return;let a=eq(o.min,o.max,n);t===o&&(a-=e),t.min=rK(t.min,e,i,a,r),t.max=rK(t.max,e,i,a,r)}(t,e[i],e[n],e[r],e.scale,o,s)}let rJ=["x","scaleX","originX"],rQ=["y","scaleY","originY"];function r0(t,e,i,n){rZ(t.x,e,rJ,i?i.x:void 0,n?n.x:void 0),rZ(t.y,e,rQ,i?i.y:void 0,n?n.y:void 0)}function r1(t){return 0===t.translate&&1===t.scale}function r2(t){return r1(t.x)&&r1(t.y)}function r5(t,e){return t.min===e.min&&t.max===e.max}function r3(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function r9(t,e){return r3(t.x,e.x)&&r3(t.y,e.y)}function r6(t){return n2(t.x)/n2(t.y)}function r4(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class r7{constructor(){this.members=[]}add(t){tK(this.members,t);for(let e=this.members.length-1;e>=0;e--){let i=this.members[e];if(i===t||i===this.lead||i===this.prevLead)continue;let n=i.instance;n&&!1!==n.isConnected||i.snapshot||(tZ(this.members,i),i.unmount())}t.scheduleRender()}remove(t){if(tZ(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){for(let e=this.members.indexOf(t)-1;e>=0;e--){let t=this.members[e];if(!1!==t.isPresent&&t.instance?.isConnected!==!1)return this.promote(t),!0}return!1}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.updateSnapshot(),t.scheduleRender();let{layoutDependency:n}=i.options,{layoutDependency:r}=t.options;(void 0===n||n!==r)&&(t.resumeFrom=i,e&&(i.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root?.isUpdating&&(t.isLayoutDirty=!0)),!1===t.options.crossfade&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{t.options.onExitComplete?.(),t.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}let r8=(t,e)=>t.depth-e.depth;class ot{constructor(){this.children=[],this.isDirty=!1}add(t){tK(this.children,t),this.isDirty=!0}remove(t){tZ(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(r8),this.isDirty=!1,this.children.forEach(t)}}let oe={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},oi=["","X","Y","Z"],on=0;function or(t,e,i,n){let{latestValues:r}=e;r[t]&&(i[t]=r[t],e.setStaticValue(t,0),n&&(n[t]=0))}function oo({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:n,resetTransform:r}){return class{constructor(t={},i=e?.()){this.id=on++,this.animationId=0,this.animationCommitId=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.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,rF.value&&(oe.nodes=oe.calculatedTargetDeltas=oe.calculatedProjections=0),this.nodes.forEac
1h(ol),this.nodes.forEach(ov),this.nodes.forEach(og),this.nodes.forEach(ou),rF.addProjectionMetrics&&rF.addProjectionMetrics(oe)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new ot)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new tJ),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=ri(e)&&!(ri(e)&&"svg"===e.tagName),this.instance=e;let{layoutId:i,layout:n,visualElement:r}=this.options;if(r&&!r.current&&r.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(n||i)&&(this.isLayoutDirty=!0),t){let i;let n=0,r=()=>this.root.updateBlockedByResize=!1;tL.read(()=>{n=window.innerWidth}),t(e,()=>{let t=window.innerWidth;t!==n&&(n=t,this.root.updateBlockedByResize=!0,i&&i(),i=function(t,e){let i=eu.now(),n=({timestamp:e})=>{let r=e-i;r>=250&&(tD(n),t(r-250))};return tL.setup(n,!0),()=>tD(n)}(r,0),rV.hasAnimatedSinceResize&&(rV.hasAnimatedSinceResize=!1,this.nodes.forEach(oy)))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&r&&(i||n)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let o=this.options.transition||r.getDefaultTransition()||oP,{onLayoutAnimationStart:s,onLayoutAnimationComplete:a}=r.getProps(),l=!this.targetLayout||!r9(this.targetLayout,n),u=!e&&i;if(this.options.layoutRoot||this.resumeFrom||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...iF(o,"layout"),onPlay:s,onComplete:a};(r.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,u,e.path)}else e||oy(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),tD(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(ob),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let n=i.props[iA];if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",tL,!(t||i))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&t(r)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,("string"==typeof e.latestValues.x||"string"==typeof e.latestValues.y)&&(e.isLayoutDirty=!0),e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let t=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),t&&this.nodes.forEac
1h(od),this.nodes.forEach(oh);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(op);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(of),this.nodes.forEach(om),this.nodes.forEach(os),this.nodes.forEach(oa)):this.nodes.forEach(op),this.clearAllSnapshots();let t=eu.now();tR.delta=l(0,1e3/60,t-tR.timestamp),tR.timestamp=t,tR.isProcessing=!0,tV.update.process(tR),tV.preRender.process(tR),tV.render.process(tR),tR.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,es.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(oc),this.sharedNodes.forEach(ow)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,tL.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){tL.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),!this.snapshot||n2(this.snapshot.measuredBox.x)||n2(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=Z()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){let e=n(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!r)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!r2(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,o=n!==this.prevTransformTemplateValue;t&&this.instance&&(e||e5(this.latestValues)||o)&&(r(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),n=this.removeElementScroll(i);return t&&(n=this.removeTransform(n)),oO((e=n).x),oO(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return Z();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(oC))){let{scroll:t}=this.root;t&&(e7(e.x,t.offset.x),e7(e.y,t.offset.y))}return e}removeElementScroll(t){let e=Z();if(rq(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let n=this.path[i],{scroll:r,options:o}=n;n!==this.root&&r&&o.layoutScroll&&(r.wasRoot&&rq(e,t),e7(e.x,r.offset.x),e7(e.y,r.offset.y))}return e}applyTransform(t,e=!1,i){let n=i||Z();rq(n,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];!e&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(e7(n.x,-i.scroll.offset.x),e7(n.y,-i.scroll.offset.y)),e5(i.latestValues)&&ie(n,i.latestValues,i.layout?.layoutBox)}return e5(this.latestValues)&&ie(n,this.latestValues,this.layout?.layoutBox),n}removeTransform(t){let e=Z();rq(e,t);for(let t=0;t<this.path.length;t++){let i;let n=this.path[t];e5(n.latestValues)&&(n.instance&&(e2(n.latestValues)&&n.updateSnapshot(),rq(i=Z(),n.measurePageBox())),r0(e,n.latestValues,n.snapshot?.layoutBox,i))}return e5(this.latestValues)&&r0(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==tR.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){let e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==e;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:n,layoutId:r}=this.options;if(!this.layout||!(n||r))return;this.resolvedRelativeTargetAt=tR.timestamp;let o=this.getClosestProjectingParent();if(o&&this.linkedParentVersion!==o.layoutVersion&&!o.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&o&&o.layout?this.createRelativeTarget(o,this.layout.layoutBox,o.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=Z(),this.targetWithTransforms=Z()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var s,a,l,u;this.forceRelativeParentToResolveTarget(),s=this.target,a=this.relativeTarget,l=this.relativeParent.target,u=this.options.layoutAnchor||void 0,n9(s.x,a.x,l.x,u?.x),n9(s.y,a.y,l.y,u?.y)}else this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):rq(this.target,this.layout.layoutBox),e4(this.target,this.targetDelta)):rq(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&o&&!!o.resumingFrom==!!this.resumingFrom&&!o.options.layoutScroll&&o.target&&1!==this.animationProgress?this.createRelativeTarget(o,this.target,o.target):this.relativeParent=this.relativeTarget=void 0),rF.value&&oe.calculatedTargetDeltas++}}getClosestProjectingParent(){return!this.parent||e2(this.parent.latestValues)||e3(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(t,e,i){this.relativeParent=t,this.linkedParentVersion=t.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Z(),this.relativeTargetOrigin=Z(),n4(this.relativeTargetOrigin,e,i,this.options.layoutAnchor||void 0),rq(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;
1if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===tR.timestamp&&(i=!1),i)return;let{layout:n,layoutId:r}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||r))return;rq(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,s=this.treeScale.y;!function(t,e,i,n=!1){let r,o;let s=i.length;if(s){e.x=e.y=1;for(let a=0;a<s;a++){o=(r=i[a]).projectionDelta;let{visualElement:s}=r.options;(!s||!s.props.style||"contents"!==s.props.style.display)&&(n&&r.options.layoutScroll&&r.scroll&&r!==r.root&&(e7(t.x,-r.scroll.offset.x),e7(t.y,-r.scroll.offset.y)),o&&(e.x*=o.x.scale,e.y*=o.y.scale,e4(t,o)),n&&e5(r.latestValues)&&ie(t,r.latestValues,r.layout?.layoutBox))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}(this.layoutCorrected,this.treeScale,this.path,e),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=Z());let{target:a}=t;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(rG(this.prevProjectionDelta.x,this.projectionDelta.x),rG(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),n3(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===o&&this.treeScale.y===s&&r4(this.projectionDelta.x,this.prevProjectionDelta.x)&&r4(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a)),rF.value&&oe.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=G(),this.projectionDelta=G(),this.projectionDeltaWithTransform=G()}setAnimationOrigin(t,e=!1,i){let n;let r=this.snapshot,o=r?r.latestValues:{},s={...this.latestValues},a=G();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let l=Z(),u=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),c=this.getStack(),h=!c||c.members.length<=1,d=!!(u&&!h&&!0===this.options.crossfade&&!this.path.some(oT));this.animationProgress=0;let p=i?.interpolateProjection(t);this.mixTargetDelta=e=>{let i=e/1e3,r=p?.(i);if(r?(a.x.translate=r.x,a.x.scale=eq(t.x.scale,1,i),a.x.origin=t.x.origin,a.x.originPoint=t.x.originPoint,a.y.translate=r.y,a.y.scale=eq(t.y.scale,1,i),a.y.origin=t.y.origin,a.y.originPoint=t.y.originPoint):(oS(a.x,t.x,i),oS(a.y,t.y,i)),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var c,f,m,y;n4(l,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),m=this.relativeTarget,y=this.relativeTargetOrigin,ox(m.x,y.x,l.x,i),ox(m.y,y.y,l.y,i),n&&(c=this.relativeTarget,f=n,r5(c.x,f.x)&&r5(c.y,f.y))&&(this.isProjectionDirty=!1),n||(n=Z()),rq(n,this.relativeTarget)}u&&(this.animationValues=s,function(t,e,i,n,r,o){r?(t.opacity=eq(0,i.opacity??1,rU(n)),t.opacityExit=eq(e.opacity??1,0,r$(n))):o&&(t.opacity=eq(e.opacity??1,i.opacity??1,n));for(let r=0;r<rz;r++){let o=e$[r],s=rH(e,o),a=rH(i,o);(void 0!==s||void 0!==a)&&(s||(s=0),a||(a=0),0===s||0===a||rN(s)===rN(a)?(t[o]=Math.max(eq(rW(s),rW(a),n),0),(T.test(a)||T.test(s))&&(t[o]+="%")):t[o]=a)}(e.rotate||i.rotate)&&(t.rotate=eq(e.rotate||0,i.rotate||0,n))}(s,o,this.latestValues,i,d,h)),r&&void 0!==r.rotate&&(this.animationValues||(this.animationValues=s),this.animationValues.pathRotation=r.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=i},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(tD(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=tL.update(()=>{rV.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=ef(0)),this.motionValue.jump(0,!1),this.currentAnimation=function(t,e,
1i){let n=J(t)?t:ef(t);return n.start(nW("",n,e,i)),n.animation}(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:n,latestValues:r}=t;if(e&&i&&n){if(this!==t&&this.layout&&n&&oM(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||Z();let e=n2(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let n=n2(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+n}rq(e,i),ie(e,r),n3(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new r7),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){let{layoutId:t}=this.options;
1return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let n=this.getStack();n&&n.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let n={};i.z&&or("z",t,n,this.animationValues);for(let e=0;e<oi.length;e++)or(`rotate${oi[e]}`,t,n,this.animationValues),or(`skew${oi[e]}`,t,n,this.animationValues);for(let e in t.render(),n)t.setStaticValue(e,n[e]),this.animationValues&&(this.animationValues[e]=n[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=ix(e?.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=ix(e?.pointerEvents)||""),this.hasProjected&&!e5(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let r=n.animationValues||n.latestValues;this.applyTransformsToTarget();let o=function(t,e,i){let n="",r=t.x.translate/e.x,o=t.y.translate/e.y,s=i?.z||0;if((r||o||s)&&(n=`translate3d(${r}px, ${o}px, ${s}px) `),(1!==e.x||1!==e.y)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,pathRotation:r,rotateX:o,rotateY:s,skewX:a,skewY:l}=i;t&&(n=`perspective(${t}px) ${n}`),e&&(n+=`rotate(${e}deg) `),r&&(n+=`rotate(${r}deg) `),o&&(n+=`rotateX(${o}deg) `),s&&(n+=`rotateY(${s}deg) `),a&&(n+=`skewX(${a}deg) `),l&&(n+=`skewY(${l}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(n+=`scale(${a}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,r);i&&(o=i(r,o)),t.transform=o;let{x:s,y:a}=this.projectionDelta;for(let e in t.transformOrigin=`${100*s.origin}% ${100*a.origin}% 0`,n.animationValues?t.opacity=n===this?r.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:r.opacityExit:t.opacity=n===this?void 0!==r.opacity?r.opacity:"":void 0!==r.opacityExit?r.opacityExit:0,eG){if(void 0===r[e])continue;let{correct:i,applyTo:s,isCSSVariable:a}=eG[e],l="none"===o?r[e]:i(r[e],n);if(s){let e=s.length;for(let i=0;i<e;i++)t[s[i]]=l}else a?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=n===this?ix(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(oh),this.root.sharedNodes.clear()}}}function os(t){t.updateLayout()}function oa(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:n}=t.layout,{animationType:r}=t.options,o=e.source!==t.layout.source;if("size"===r)n1(t=>{let n=o?e.measuredBox[t]:e.layoutBox[t],r=n2(n);n.min=i[t].min,n.max=n.min+r});else if("x"===r||"y"===r){let t="x"===r?"y":"x";rX(o?e.measuredBox[t]:e.layoutBox[t],i[t])}else oM(r,e.layoutBox,i)&&n1(n=>{let r=o?e.measuredBox[n]:e.layoutBox[n],s=n2(i[n]);r.max=r.min+s,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+s)});let s=G();n3(s,i,e.layoutBox);let a=G();o?n3(a,t.applyTransform(n,!0),e.measuredBox):n3(a,i,e.layoutBox);let l=!r2(s),u=!1;if(!t.resumeFrom){let n=t.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:r,layout:o}=n;if(r&&o){let s=t.options.layoutAnchor||void 0,a=Z();n4(a,e.layoutBox,r.layoutBox,s);let l=Z();n4(l,i,o.layoutBox,s),r9(a,l)||(u=!0),n.options.layoutRoot&&(t.relativeTarget=l,t.relativeTargetOrigin=a,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function ol(t){rF.value&&oe.nodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.
1isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function ou(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function oc(t){t.clearSnapshot()}function oh(t){t.clearMeasurements()}function od(t){t.isLayoutDirty=!0,t.updateLayout()}function op(t){t.isLayoutDirty=!1}function of(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function om(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function oy(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function ov(t){t.resolveTargetDelta()}function og(t){t.calcProjection()}function ob(t){t.resetSkewAndRotation()}function ow(t){t.removeLeadSnapshot()}function oS(t,e,i){t.translate=eq(e.translate,0,i),t.scale=eq(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function ox(t,e,i,n){t.min=eq(e.min,i.min,n),t.max=eq(e.max,i.max,n)}function oT(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let oP={duration:.45,ease:[.4,0,.1,1]},ok=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),oE=ok("applewebkit/")&&!ok("chrome/")?Math.round:tM;function oO(t){t.min=oE(t.min),t.max=oE(t.max)}function oM(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(r6(e)-r6(i)))}function oC(t){return t!==t.root&&t.scroll?.wasRoot}let oj=oo({attachResizeListener:(t,e)=>rt(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),oA={current:void 0},oL=oo({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!oA.current){let t=new oj({});t.mount(window),t.setOptions({layoutScroll:!0}),oA.current=t}return oA.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});function oD(t,e){let i=rn(t),n=new AbortController;return[i,{passive:!0,...e,signal:n.signal},()=>n.abort()]}function oR(t,e,i){let{props:n}=t;t.animationState&&n.whileHover&&t.animationState.setActive("whileHover","Start"===i);let r=n["onHover"+i];r&&tL.postRender(()=>r(e,rp(e)))}class oV extends i_{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,r,o]=oD(t,i);return n.forEach(t=>{let i,n=!1,o=!1,s=()=>{t.removeEventListener("pointerleave",u)},a=t=>{i&&(i(t),i=void 0),s()},l=t=>{n=!1,window.removeEventListener("pointerup",l),window.removeEventListener("pointercancel",l),o&&(o=!1,a(t))},u=t=>{if("touch"!==t.pointerType){if(n){o=!0;return}a(t)}};t.addEventListener("pointerenter",n=>{if("touch"===n.pointerType||n0.x||n0.y)return;o=!1;let s=e(t,n);"function"==typeof s&&(i=s,t.addEventListener("pointerleave",u,r))},r),t.addEventListener("pointerdown",()=>{n=!0,window.addEventListener("pointerup",l,r),window.addEventListener("pointercancel",l,r)},r)}),o}(t,(t,e)=>(oR(this.node,e,"Start"),t=>oR(this.node,t,"End"))))}unmount(){}}class o_ extends i_{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=iN(rt(this.node.current,"focus",()=>this.onFocus()),rt(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let oI=(t,e)=>!!e&&(t===e||oI(t,e.parentElement)),oB=new WeakSet;function oF(t){return e=>{"Enter"===e.key&&t(e)}}function oz(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}let oW=(t,e)=>{let i=t.currentTarget;if(!i)return;let n=oF(()=>{if(oB.has(i))return;oz(i,"down");let t=oF(()=>{oz(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>oz(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)};function oN(t){return rd(t)&&!(n0.x||n0.y)}let oH=new WeakSet;function oU(t,e,i){let{props:n}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&n.whileTap&&t.animationState.setActive("whileTap","Start"===i);let r=n["onTap"+("End"===i?"":i)];r&&tL.postRender(()=>r(e,rp(e)))}
1class o$ extends i_{mount(){let{current:t}=this.node;if(!t)return;let{globalTapTarget:e,propagate:i}=this.node.props;this.unmount=function(t,e,i={}){let[n,r,o]=oD(t,i),s=t=>{let n=t.currentTarget;if(!oN(t)||oH.has(t))return;oB.add(n),i.stopPropagation&&oH.add(t);let o=e(n,t),s={...r,capture:!0},a=(t,e)=>{window.removeEventListener("pointerup",l,s),window.removeEventListener("pointercancel",u,s),oB.has(n)&&oB.delete(n),oN(t)&&"function"==typeof o&&o(t,{success:e})},l=t=>{a(t,n===window||n===document||i.useGlobalTarget||oI(n,t.target))},u=t=>{a(t,!1)};window.addEventListener("pointerup",l,s),window.addEventListener("pointercancel",u,s)};return n.forEach(t=>{(i.useGlobalTarget?window:t).addEventListener("pointerdown",s,r),!re(t)||!("offsetHeight"in t)||"ownerSVGElement"in t||(t.addEventListener("focus",t=>oW(t,r)),n7.has(t.tagName)||!0===t.isContentEditable||t.hasAttribute("tabindex")||(t.tabIndex=0))}),o}(t,(t,e)=>(oU(this.node,e,"Start"),(t,{success:e})=>oU(this.node,t,e?"End":"Cancel")),{useGlobalTarget:e,stopPropagation:i?.tap===!1})}unmount(){}}let oY=new WeakMap,oX=new WeakMap,oq=t=>{let e=oY.get(t.target);e&&e(t)},oG=t=>{t.forEach(oq)},oK={some:0,all:1};class oZ extends i_{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();let{viewport:t={}}=this.node.getProps(),{root:e,margin:i,amount:n="some",once:r}=t,o={root:e?e.current:void 0,rootMargin:i,threshold:"number"==typeof n?n:oK[n]};this.stopObserver=function(t,e,i){let n=function({root:t,...e}){let i=t||document;oX.has(i)||oX.set(i,{});let n=oX.get(i),r=JSON.stringify(e);return n[r]||(n[r]=new IntersectionObserver(oG,{root:t,...e})),n[r]}(e);return oY.set(t,i),n.observe(t),()=>{oY.delete(t),n.unobserve(t)}}(this.node.current,o,t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,r&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),o=e?i:n;o&&o(t)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}let oJ=function(t,e){if("undefined"==typeof Proxy)return iV;let i=new Map,n=(i,n)=>iV(i,n,t,e);return new Proxy((t,e)=>n(t,e),{get:(r,o)=>"create"===o?n:(i.has(o)||i.set(o,iV(o,void 0,t,e)),i.get(o))})}({animation:{Feature:nZ},exit:{Feature:nQ},inView:{Feature:oZ},tap:{Feature:o$},focus:{Feature:o_},hover:{Feature:oV},pan:{Feature:rR},drag:{Feature:rL,ProjectionNode:oL,MeasureLayout:rB},layout:{ProjectionNode:oL,MeasureLayout:rB}},(t,e)=>e.isSVG??il(t)?new eQ(e):new ir(e,{allowProjection:t!==is.Fragment}))}}]);

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.