-
Notifications
You must be signed in to change notification settings - Fork 0
/
21.232aecc3.js
1 lines (1 loc) · 41 KB
/
21.232aecc3.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[21],{133:function(e,t,i){"use strict";function n(e){try{return f.insertRule(e,f.cssRules.length)}catch(e){console.warn("react-reveal - animation failed")}}function o(){c||(t.globalHide=c=!0,window.removeEventListener("scroll",o,!0),n("."+r+" { opacity: 0; }"),window.removeEventListener("orientationchange",o,!0),window.document.removeEventListener("visibilitychange",o))}Object.defineProperty(t,"__esModule",{value:!0}),t.insertRule=n,t.cascade=function(e,t,i,n,o){var r=Math.log(n),a=(Math.log(o)-r)/(i-t);return Math.exp(r+a*(e-t))},t.animation=function(e){if(!f)return"";var t="@keyframes "+(m+h)+"{"+e+"}",i=p[e];return i?""+m+i:(f.insertRule(t,f.cssRules.length),p[e]=h,""+m+h++)},t.hideAll=o,t.default=function(e){var i=e.ssrFadeout;t.fadeOutEnabled=i};var r=t.namespace="react-reveal",a=(t.defaults={duration:1e3,delay:0,count:1},t.ssr=!0),s=t.observerMode=!1,l=t.raf=function(e){return window.setTimeout(e,66)},u=t.disableSsr=function(){return t.ssr=a=!1},c=(t.fadeOutEnabled=!1,t.ssrFadeout=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return t.fadeOutEnabled=e},t.globalHide=!1),d=(t.ie10=!1,t.collapseend=void 0),h=1,p={},f=!1,m=r+"-"+Math.floor(1e15*Math.random())+"-";if("undefined"!=typeof window&&"nodejs"!==window.name&&window.document&&"undefined"!=typeof navigator){t.observerMode=s="IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype&&/\{\s*\[native code\]\s*\}/.test(""+IntersectionObserver),t.raf=l=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||l,t.ssr=a=window.document.querySelectorAll("div[data-reactroot]").length>0,-1!==navigator.appVersion.indexOf("MSIE 10")&&(t.ie10=!0),a&&"performance"in window&&"timing"in window.performance&&"domContentLoadedEventEnd"in window.performance.timing&&window.performance.timing.domLoading&&Date.now()-window.performance.timing.domLoading<300&&(t.ssr=a=!1),a&&window.setTimeout(u,1500),s||(t.collapseend=d=document.createEvent("Event"),d.initEvent("collapseend",!0,!0));var v=document.createElement("style");document.head.appendChild(v),v.sheet&&v.sheet.cssRules&&v.sheet.insertRule&&(f=v.sheet,window.addEventListener("scroll",o,!0),window.addEventListener("orientationchange",o,!0),window.document.addEventListener("visibilitychange",o))}},191:function(e,t,i){"use strict";var n=i(0),o=i.n(n),r=i(92);t.a=function(e){const{metadata:t}=e,{previousPage:i,nextPage:n}=t;return o.a.createElement("nav",{className:"pagination-nav","aria-label":"Blog list page navigation"},o.a.createElement("div",{className:"pagination-nav__item"},i&&o.a.createElement(r.a,{className:"pagination-nav__link",to:i},o.a.createElement("h4",{className:"pagination-nav__label"},"\xab Newer Entries"))),o.a.createElement("div",{className:"pagination-nav__item pagination-nav__item--next"},n&&o.a.createElement(r.a,{className:"pagination-nav__link",to:n},o.a.createElement("h4",{className:"pagination-nav__label"},"Older Entries \xbb"))))}},192:function(e,t,i){"use strict";function n(e,t){var i={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(i[n]=e[n]);return i}function o(e,t){var i=t.distance,n=t.left,o=t.right,r=t.up,a=t.down,s=t.top,u=t.bottom,c=t.big,d=t.mirror,p=t.opposite,f=(i?i.toString():0)+((n?1:0)|(o?2:0)|(s||a?4:0)|(u||r?8:0)|(d?16:0)|(p?32:0)|(e?64:0)|(c?128:0));if(h.hasOwnProperty(f))return h[f];var m=n||o||r||a||s||u,v=void 0,y=void 0;if(m){if(!d!=!(e&&p)){var g=[o,n,u,s,a,r];n=g[0],o=g[1],s=g[2],u=g[3],r=g[4],a=g[5]}var b=i||(c?"2000px":"100%");v=n?"-"+b:o?b:"0",y=a||s?"-"+b:r||u?b:"0"}return h[f]=(0,l.animation)((e?"to":"from")+" {opacity: 0;"+(m?" transform: translate3d("+v+", "+y+", 0);":"")+"}\n "+(e?"from":"to")+" {opacity: 1;transform: none;} "),h[f]}function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.defaults,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=e.children,r=(e.out,e.forever),a=e.timeout,s=e.duration,u=void 0===s?l.defaults.duration:s,d=e.delay,h=void 0===d?l.defaults.delay:d,p=e.count,f=void 0===p?l.defaults.count:p,m=n(e,["children","out","forever","timeout","duration","delay","count"]),v={make:o,duration:void 0===a?u:a,delay:h,forever:r,count:f,style:{animationFillMode:"both"},reverse:m.left};return t?(0,c.default)(m,v,v,i):v}Object.defineProperty(t,"__esModule",{value:!0});var a,s=i(1),l=i(133),u=i(193),c=(a=u)&&a.__esModule?a:{default:a},d={out:s.bool,left:s.bool,right:s.bool,top:s.bool,bottom:s.bool,big:s.bool,mirror:s.bool,opposite:s.bool,duration:s.number,timeout:s.number,distance:s.string,delay:s.number,count:s.number,forever:s.bool},h={};r.propTypes=d,t.default=r,e.exports=t.default},193:function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e};t.default=function(e,t,i,n){return"in"in e&&(e.when=e.in),r.default.Children.count(n)<2?r.default.createElement(a.default,o({},e,{inEffect:t,outEffect:i,children:n})):(n=r.default.Children.map(n,(function(n){return r.default.createElement(a.default,o({},e,{inEffect:t,outEffect:i,children:n}))})),"Fragment"in r.default?r.default.createElement(r.default.Fragment,null,n):r.default.createElement("span",null,n))};var r=n(i(0)),a=n(i(194));e.exports=t.default},194:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var i=[],n=!0,o=!1,r=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(i.push(a.value),!t||i.length!==t);n=!0);}catch(e){o=!0,r=e}finally{try{!n&&s.return&&s.return()}finally{if(o)throw r}}return i}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},s=function(){function e(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,i,n){return i&&e(t.prototype,i),n&&e(t,n),t}}(),l=i(0),u=(n=l)&&n.__esModule?n:{default:n},c=i(1),d=i(133),h=(0,c.shape)({make:c.func,duration:c.number.isRequired,delay:c.number.isRequired,forever:c.bool,count:c.number.isRequired,style:c.object.isRequired,reverse:c.bool}),p={collapse:c.bool,collapseEl:c.element,cascade:c.bool,wait:c.number,force:c.bool,disabled:c.bool,appear:c.bool,enter:c.bool,exit:c.bool,fraction:c.number,refProp:c.string,innerRef:c.func,onReveal:c.func,unmountOnExit:c.bool,mountOnEnter:c.bool,inEffect:h.isRequired,outEffect:(0,c.oneOfType)([h,(0,c.oneOf)([!1])]).isRequired,ssrReveal:c.bool,collapseOnly:c.bool,ssrFadeout:c.bool},f={transitionGroup:c.object},m=function(e){function t(e,i){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,i));return n.isOn=void 0===e.when||!!e.when,n.state={collapse:e.collapse?t.getInitialCollapseStyle(e):void 0,style:{opacity:n.isOn&&!e.ssrReveal||!e.outEffect?void 0:0}},n.savedChild=!1,n.isShown=!1,d.observerMode?n.handleObserve=n.handleObserve.bind(n):(n.revealHandler=n.makeHandler(n.reveal),n.resizeHandler=n.makeHandler(n.resize)),n.saveRef=n.saveRef.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),s(t,[{key:"saveRef",value:function(e){this.childRef&&this.childRef(e),this.props.innerRef&&this.props.innerRef(e),this.el!==e&&(this.el=e&&"offsetHeight"in e?e:void 0,this.observe(this.props,!0))}},{key:"invisible",value:function(){this&&this.el&&(this.savedChild=!1,this.isShown||(this.setState({hasExited:!0,collapse:this.props.collapse?a({},this.state.collapse,{visibility:"hidden"}):null,style:{opacity:0}}),!d.observerMode&&this.props.collapse&&window.document.dispatchEvent(d.collapseend)))}},{key:"animationEnd",value:function(e,t,i){var n=this,o=i.forever,r=i.count,a=i.delay,s=i.duration;if(!o){this.animationEndTimeout=window.setTimeout((function(){n&&n.el&&(n.animationEndTimeout=void 0,e.call(n))}),a+(s+(t?s:0)*r))}}},{key:"getDimensionValue",value:function(){return this.el.offsetHeight+parseInt(window.getComputedStyle(this.el,null).getPropertyValue("margin-top"),10)+parseInt(window.getComputedStyle(this.el,null).getPropertyValue("margin-bottom"),10)}},{key:"collapse",value:function(e,t,i){var n=i.duration+(t.cascade?i.duration:0),o=this.isOn?this.getDimensionValue():0,r=void 0,a=void 0;if(t.collapseOnly)r=i.duration/3,a=i.delay;else{var s=n>>2,l=s>>1;r=s,a=i.delay+(this.isOn?0:n-s-l),e.style.animationDuration=n-s+(this.isOn?l:-l)+"ms",e.style.animationDelay=i.delay+(this.isOn?s-l:0)+"ms"}return e.collapse={height:o,transition:"height "+r+"ms ease "+a+"ms",overflow:t.collapseOnly?"hidden":void 0},e}},{key:"animate",value:function(e){if(this&&this.el&&(this.unlisten(),this.isShown!==this.isOn)){this.isShown=this.isOn;var t=!this.isOn&&e.outEffect,i=e[t?"outEffect":"inEffect"],n="style"in i&&i.style.animationName||void 0,o=void 0;e.collapseOnly?o={hasAppeared:!0,hasExited:!1,style:{opacity:1}}:((e.outEffect||this.isOn)&&i.make&&(n=i.make),o={hasAppeared:!0,hasExited:!1,collapse:void 0,style:a({},i.style,{animationDuration:i.duration+"ms",animationDelay:i.delay+"ms",animationIterationCount:i.forever?"infinite":i.count,opacity:1,animationName:n}),className:i.className}),this.setState(e.collapse?this.collapse(o,e,i):o),t?(this.savedChild=u.default.cloneElement(this.getChild()),this.animationEnd(this.invisible,e.cascade,i)):this.savedChild=!1,this.onReveal(e)}}},{key:"onReveal",value:function(e){e.onReveal&&this.isOn&&(this.onRevealTimeout&&(this.onRevealTimeout=window.clearTimeout(this.onRevealTimeout)),e.wait?this.onRevealTimeout=window.setTimeout(e.onReveal,e.wait):e.onReveal())}},{key:"componentWillUnmount",value:function(){this.unlisten(),d.ssr&&(0,d.disableSsr)()}},{key:"handleObserve",value:function(e,t){r(e,1)[0].intersectionRatio>0&&(t.disconnect(),this.observer=null,this.reveal(this.props,!0))}},{key:"observe",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.el&&d.observerMode){if(this.observer){if(!t)return;this.observer.disconnect()}else if(t)return;this.observer=new IntersectionObserver(this.handleObserve,{threshold:e.fraction}),this.observer.observe(this.el)}}},{key:"reveal",value:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];d.globalHide||(0,d.hideAll)(),this&&this.el&&(e||(e=this.props),d.ssr&&(0,d.disableSsr)(),this.isOn&&this.isShown&&void 0!==e.spy?(this.isShown=!1,this.setState({style:{}}),window.setTimeout((function(){return t.reveal(e)}),200)):i||this.inViewport(e)||e.force?this.animate(e):d.observerMode?this.observe(e):this.listen())}},{key:"componentDidMount",value:function(){var e=this;if(this.el&&!this.props.disabled){this.props.collapseOnly||("make"in this.props.inEffect&&this.props.inEffect.make(!1,this.props),void 0!==this.props.when&&this.props.outEffect&&"make"in this.props.outEffect&&this.props.outEffect.make(!0,this.props));var i=this.context.transitionGroup,n=i&&!i.isMounting?!("enter"in this.props&&!1===this.props.enter):this.props.appear;return this.isOn&&((void 0!==this.props.when||void 0!==this.props.spy)&&!n||d.ssr&&!d.fadeOutEnabled&&!this.props.ssrFadeout&&this.props.outEffect&&!this.props.ssrReveal&&t.getTop(this.el)<window.pageYOffset+window.innerHeight)?(this.isShown=!0,this.setState({hasAppeared:!0,collapse:this.props.collapse?{height:this.getDimensionValue()}:this.state.collapse,style:{opacity:1}}),void this.onReveal(this.props)):d.ssr&&(d.fadeOutEnabled||this.props.ssrFadeout)&&this.props.outEffect&&t.getTop(this.el)<window.pageYOffset+window.innerHeight?(this.setState({style:{opacity:0,transition:"opacity 1000ms 1000ms"}}),void window.setTimeout((function(){return e.reveal(e.props,!0)}),2e3)):void(this.isOn&&(this.props.force?this.animate(this.props):this.reveal(this.props)))}}},{key:"cascade",value:function(e){var t=this,i=void 0;i="string"==typeof e?e.split("").map((function(e,t){return u.default.createElement("span",{key:t,style:{display:"inline-block",whiteSpace:"pre"}},e)})):u.default.Children.toArray(e);var n=this.props[this.isOn||!this.props.outEffect?"inEffect":"outEffect"],r=n.duration,s=n.reverse,l=i.length,c=2*r;this.props.collapse&&(c=parseInt(this.state.style.animationDuration,10),r=c/2);var h=s?l:0;return i.map((function(e){return"object"===(void 0===e?"undefined":o(e))&&e?u.default.cloneElement(e,{style:a({},e.props.style,t.state.style,{animationDuration:Math.round((0,d.cascade)(s?h--:h++,0,l,r,c))+"ms"})}):e}))}},{key:"componentWillReceiveProps",value:function(e){void 0!==e.when&&(this.isOn=!!e.when),e.fraction!==this.props.fraction&&this.observe(e,!0),!this.isOn&&e.onExited&&"exit"in e&&!1===e.exit?e.onExited():e.disabled||(e.collapse&&!this.props.collapse&&(this.setState({style:{},collapse:t.getInitialCollapseStyle(e)}),this.isShown=!1),e.when===this.props.when&&e.spy===this.props.spy||this.reveal(e),this.onRevealTimeout&&!this.isOn&&(this.onRevealTimeout=window.clearTimeout(this.onRevealTimeout)))}},{key:"getChild",value:function(){if(this.savedChild&&!this.props.disabled)return this.savedChild;if("object"===o(this.props.children)){var e=u.default.Children.only(this.props.children);return"type"in e&&"string"==typeof e.type||"ref"!==this.props.refProp?e:u.default.createElement("div",null,e)}return u.default.createElement("div",null,this.props.children)}},{key:"render",value:function(){var e;e=this.state.hasAppeared?!this.props.unmountOnExit||!this.state.hasExited||this.isOn:!this.props.mountOnEnter||this.isOn;var t=this.getChild();"function"==typeof t.ref&&(this.childRef=t.ref);var i=!1,n=t.props,o=n.style,r=n.className,s=n.children,l=this.props.disabled?r:(this.props.outEffect?d.namespace:"")+(this.state.className?" "+this.state.className:"")+(r?" "+r:"")||void 0,c=void 0;"function"==typeof this.state.style.animationName&&(this.state.style.animationName=this.state.style.animationName(!this.isOn,this.props)),this.props.cascade&&!this.props.disabled&&s&&this.state.style.animationName?(i=this.cascade(s),c=a({},o,{opacity:1})):c=this.props.disabled?o:a({},o,this.state.style);var h=a({},this.props.props,function(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}({className:l,style:c},this.props.refProp,this.saveRef)),p=u.default.cloneElement(t,h,e?i||s:void 0);return void 0!==this.props.collapse?this.props.collapseEl?u.default.cloneElement(this.props.collapseEl,{style:a({},this.props.collapseEl.style,this.props.disabled?void 0:this.state.collapse),children:p}):u.default.createElement("div",{style:this.props.disabled?void 0:this.state.collapse,children:p}):p}},{key:"makeHandler",value:function(e){var t=this,i=function(){e.call(t,t.props),t.ticking=!1};return function(){t.ticking||((0,d.raf)(i),t.ticking=!0)}}},{key:"inViewport",value:function(e){if(!this.el||window.document.hidden)return!1;var i=this.el.offsetHeight,n=window.pageYOffset-t.getTop(this.el),o=Math.min(i,window.innerHeight)*(d.globalHide?e.fraction:0);return n>o-window.innerHeight&&n<i-o}},{key:"resize",value:function(e){this&&this.el&&this.isOn&&this.inViewport(e)&&(this.unlisten(),this.isShown=this.isOn,this.setState({hasExited:!this.isOn,hasAppeared:!0,collapse:void 0,style:{opacity:this.isOn||!e.outEffect?1:0}}),this.onReveal(e))}},{key:"listen",value:function(){d.observerMode||this.isListener||(this.isListener=!0,window.addEventListener("scroll",this.revealHandler,{passive:!0}),window.addEventListener("orientationchange",this.revealHandler,{passive:!0}),window.document.addEventListener("visibilitychange",this.revealHandler,{passive:!0}),window.document.addEventListener("collapseend",this.revealHandler,{passive:!0}),window.addEventListener("resize",this.resizeHandler,{passive:!0}))}},{key:"unlisten",value:function(){!d.observerMode&&this.isListener&&(window.removeEventListener("scroll",this.revealHandler,{passive:!0}),window.removeEventListener("orientationchange",this.revealHandler,{passive:!0}),window.document.removeEventListener("visibilitychange",this.revealHandler,{passive:!0}),window.document.removeEventListener("collapseend",this.revealHandler,{passive:!0}),window.removeEventListener("resize",this.resizeHandler,{passive:!0}),this.isListener=!1),this.onRevealTimeout&&(this.onRevealTimeout=window.clearTimeout(this.onRevealTimeout)),this.animationEndTimeout&&(this.animationEndTimeout=window.clearTimeout(this.animationEndTimeout))}}],[{key:"getInitialCollapseStyle",value:function(e){return{height:0,visibility:e.when?void 0:"hidden"}}},{key:"getTop",value:function(e){for(;void 0===e.offsetTop;)e=e.parentNode;for(var t=e.offsetTop;e.offsetParent;t+=e.offsetTop)e=e.offsetParent;return t}}]),t}(u.default.Component);m.propTypes=p,m.defaultProps={fraction:.2,refProp:"ref"},m.contextTypes=f,m.displayName="RevealBase",t.default=m,e.exports=t.default},195:function(e,t,i){"use strict";i.d(t,"a",(function(){return be})),i.d(t,"b",(function(){return D})),i.d(t,"c",(function(){return $}));var n=i(3),o=i(8),r=i(0),a=i.n(r);const s={arr:Array.isArray,obj:e=>"[object Object]"===Object.prototype.toString.call(e),fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,und:e=>void 0===e,nul:e=>null===e,set:e=>e instanceof Set,map:e=>e instanceof Map,equ(e,t){if(typeof e!=typeof t)return!1;if(s.str(e)||s.num(e))return e===t;if(s.obj(e)&&s.obj(t)&&Object.keys(e).length+Object.keys(t).length===0)return!0;let i;for(i in e)if(!(i in t))return!1;for(i in t)if(e[i]!==t[i])return!1;return!s.und(i)||e===t}};function l(){const e=Object(r.useState)(!1)[1];return Object(r.useCallback)(()=>e(e=>!e),[])}function u(e,t){return s.und(e)||s.nul(e)?t:e}function c(e){return s.und(e)?[]:s.arr(e)?e:[e]}function d(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];return s.fun(e)?e(...i):e}function h(e){const t=function(e){return e.to,e.from,e.config,e.onStart,e.onRest,e.onFrame,e.children,e.reset,e.reverse,e.force,e.immediate,e.delay,e.attach,e.destroyed,e.interpolateTo,e.ref,e.lazy,Object(o.a)(e,["to","from","config","onStart","onRest","onFrame","children","reset","reverse","force","immediate","delay","attach","destroyed","interpolateTo","ref","lazy"])}(e);if(s.und(t))return Object(n.a)({to:t},e);const i=Object.keys(e).reduce((i,o)=>s.und(t[o])?Object(n.a)({},i,{[o]:e[o]}):i,{});return Object(n.a)({to:t},i)}class p{constructor(){this.payload=void 0,this.children=[]}getAnimatedValue(){return this.getValue()}getPayload(){return this.payload||this}attach(){}detach(){}getChildren(){return this.children}addChild(e){0===this.children.length&&this.attach(),this.children.push(e)}removeChild(e){const t=this.children.indexOf(e);this.children.splice(t,1),0===this.children.length&&this.detach()}}class f extends p{constructor(){super(...arguments),this.payload=[],this.attach=()=>this.payload.forEach(e=>e instanceof p&&e.addChild(this)),this.detach=()=>this.payload.forEach(e=>e instanceof p&&e.removeChild(this))}}class m extends p{constructor(){super(...arguments),this.payload={},this.attach=()=>Object.values(this.payload).forEach(e=>e instanceof p&&e.addChild(this)),this.detach=()=>Object.values(this.payload).forEach(e=>e instanceof p&&e.removeChild(this))}getValue(e){void 0===e&&(e=!1);const t={};for(const i in this.payload){const n=this.payload[i];(!e||n instanceof p)&&(t[i]=n instanceof p?n[e?"getAnimatedValue":"getValue"]():n)}return t}getAnimatedValue(){return this.getValue(!0)}}let v,y;function g(e,t){v={fn:e,transform:t}}function b(e){y=e}let w,O=e=>"undefined"!=typeof window?window.requestAnimationFrame(e):-1;function E(e){w=e}let k,j=()=>Date.now();function x(e){k=e}let R,V,S=e=>e.current;function T(e){R=e}class C extends m{constructor(e,t){super(),this.update=void 0,this.payload=e.style?Object(n.a)({},e,{style:R(e.style)}):e,this.update=t,this.attach()}}let M=!1;const P=new Set,A=()=>{if(!M)return!1;let e=j();for(let t of P){let i=!1;for(let n=0;n<t.configs.length;n++){let o,r,a=t.configs[n];for(let t=0;t<a.animatedValues.length;t++){let n=a.animatedValues[t];if(n.done)continue;let s=a.fromValues[t],l=a.toValues[t],u=n.lastPosition,c=l instanceof p,d=Array.isArray(a.initialVelocity)?a.initialVelocity[t]:a.initialVelocity;if(c&&(l=l.getValue()),a.immediate)n.setValue(l),n.done=!0;else if("string"!=typeof s&&"string"!=typeof l){if(void 0!==a.duration)u=s+a.easing((e-n.startTime)/a.duration)*(l-s),o=e>=n.startTime+a.duration;else if(a.decay)u=s+d/(1-.998)*(1-Math.exp(-(1-.998)*(e-n.startTime))),o=Math.abs(n.lastPosition-u)<.1,o&&(l=u);else{r=void 0!==n.lastTime?n.lastTime:e,d=void 0!==n.lastVelocity?n.lastVelocity:a.initialVelocity,e>r+64&&(r=e);let t=Math.floor(e-r);for(let e=0;e<t;++e){d+=1*((-a.tension*(u-l)+-a.friction*d)/a.mass)/1e3,u+=1*d/1e3}let i=!(!a.clamp||0===a.tension)&&(s<l?u>l:u<l),c=Math.abs(d)<=a.precision,h=0===a.tension||Math.abs(l-u)<=a.precision;o=i||c&&h,n.lastVelocity=d,n.lastTime=e}c&&!a.toValues[t].done&&(o=!1),o?(n.value!==l&&(u=l),n.done=!0):i=!0,n.setValue(u),n.lastPosition=u}else n.setValue(l),n.done=!0}t.props.onFrame&&(t.values[a.name]=a.interpolation.getValue())}t.props.onFrame&&t.props.onFrame(t.values),i||(P.delete(t),t.stop(!0))}return P.size?V?V():O(A):M=!1,M};function _(e,t,i){if("function"==typeof e)return e;if(Array.isArray(e))return _({range:e,output:t,extrapolate:i});if(w&&"string"==typeof e.output[0])return w(e);const n=e,o=n.output,r=n.range||[0,1],a=n.extrapolateLeft||n.extrapolate||"extend",s=n.extrapolateRight||n.extrapolate||"extend",l=n.easing||(e=>e);return e=>{const t=function(e,t){for(var i=1;i<t.length-1&&!(t[i]>=e);++i);return i-1}(e,r);return function(e,t,i,n,o,r,a,s,l){let u=l?l(e):e;if(u<t){if("identity"===a)return u;"clamp"===a&&(u=t)}if(u>i){if("identity"===s)return u;"clamp"===s&&(u=i)}if(n===o)return n;if(t===i)return e<=t?n:o;t===-1/0?u=-u:i===1/0?u-=t:u=(u-t)/(i-t);u=r(u),n===-1/0?u=-u:o===1/0?u+=n:u=u*(o-n)+n;return u}(e,r[t],r[t+1],o[t],o[t+1],l,a,s,n.map)}}class q extends f{constructor(e,t,i,n){super(),this.calc=void 0,this.payload=e instanceof f&&!(e instanceof q)?e.getPayload():Array.isArray(e)?e:[e],this.calc=_(t,i,n)}getValue(){return this.calc(...this.payload.map(e=>e.getValue()))}updateConfig(e,t,i){this.calc=_(e,t,i)}interpolate(e,t,i){return new q(this,e,t,i)}}function F(e,t){"update"in e?t.add(e):e.getChildren().forEach(e=>F(e,t))}class z extends p{constructor(e){var t;super(),t=this,this.animatedStyles=new Set,this.value=void 0,this.startPosition=void 0,this.lastPosition=void 0,this.lastVelocity=void 0,this.startTime=void 0,this.lastTime=void 0,this.done=!1,this.setValue=function(e,i){void 0===i&&(i=!0),t.value=e,i&&t.flush()},this.value=e,this.startPosition=e,this.lastPosition=e}flush(){0===this.animatedStyles.size&&F(this,this.animatedStyles),this.animatedStyles.forEach(e=>e.update())}clearStyles(){this.animatedStyles.clear()}getValue(){return this.value}interpolate(e,t,i){return new q(this,e,t,i)}}class L extends f{constructor(e){super(),this.payload=e.map(e=>new z(e))}setValue(e,t){void 0===t&&(t=!0),Array.isArray(e)?e.length===this.payload.length&&e.forEach((e,i)=>this.payload[i].setValue(e,t)):this.payload.forEach(i=>i.setValue(e,t))}getValue(){return this.payload.map(e=>e.getValue())}interpolate(e,t){return new q(this,e,t)}}let H=0;class N{constructor(){this.id=void 0,this.idle=!0,this.hasChanged=!1,this.guid=0,this.local=0,this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.listeners=[],this.queue=[],this.localQueue=void 0,this.getValues=()=>this.interpolations,this.id=H++}update(e){if(!e)return this;const t=h(e),i=t.delay,r=void 0===i?0:i,a=t.to,l=Object(o.a)(t,["delay","to"]);if(s.arr(a)||s.fun(a))this.queue.push(Object(n.a)({},l,{delay:r,to:a}));else if(a){let e={};Object.entries(a).forEach(t=>{let i=t[0],o=t[1];const a=Object(n.a)({to:{[i]:o},delay:d(r,i)},l),s=e[a.delay]&&e[a.delay].to;e[a.delay]=Object(n.a)({},e[a.delay],a,{to:Object(n.a)({},s,a.to)})}),this.queue=Object.values(e)}return this.queue=this.queue.sort((e,t)=>e.delay-t.delay),this.diff(l),this}start(e){if(this.queue.length){this.idle=!1,this.localQueue&&this.localQueue.forEach(e=>{let t=e.from,i=void 0===t?{}:t,o=e.to,r=void 0===o?{}:o;s.obj(i)&&(this.merged=Object(n.a)({},i,this.merged)),s.obj(r)&&(this.merged=Object(n.a)({},this.merged,r))});const t=this.local=++this.guid,i=this.localQueue=this.queue;this.queue=[],i.forEach((n,r)=>{let a=n.delay,l=Object(o.a)(n,["delay"]);const u=n=>{r===i.length-1&&t===this.guid&&n&&(this.idle=!0,this.props.onRest&&this.props.onRest(this.merged)),e&&e()};let c=s.arr(l.to)||s.fun(l.to);a?setTimeout(()=>{t===this.guid&&(c?this.runAsync(l,u):this.diff(l).start(u))},a):c?this.runAsync(l,u):this.diff(l).start(u)})}else s.fun(e)&&this.listeners.push(e),this.props.onStart&&this.props.onStart(),t=this,P.has(t)||P.add(t),M||(M=!0,O(V||A));var t;return this}stop(e){return this.listeners.forEach(t=>t(e)),this.listeners=[],this}pause(e){var t;return this.stop(!0),e&&(t=this,P.has(t)&&P.delete(t)),this}runAsync(e,t){var i=this;e.delay;let r=Object(o.a)(e,["delay"]);const a=this.local;let l=Promise.resolve(void 0);if(s.arr(r.to))for(let o=0;o<r.to.length;o++){const e=o,t=Object(n.a)({},r,h(r.to[e]));s.arr(t.config)&&(t.config=t.config[e]),l=l.then(()=>{if(a===this.guid)return new Promise(e=>this.diff(t).start(e))})}else if(s.fun(r.to)){let e,t=0;l=l.then(()=>r.to(i=>{const o=Object(n.a)({},r,h(i));if(s.arr(o.config)&&(o.config=o.config[t]),t++,a===this.guid)return e=new Promise(e=>this.diff(o).start(e))},(function(e){return void 0===e&&(e=!0),i.stop(e)})).then(()=>e))}l.then(t)}diff(e){this.props=Object(n.a)({},this.props,e);let t=this.props,i=t.from,o=void 0===i?{}:i,r=t.to,a=void 0===r?{}:r,l=t.config,h=void 0===l?{}:l,p=t.reverse,f=t.attach,m=t.reset,v=t.immediate;if(p){var g=[a,o];o=g[0],a=g[1]}this.merged=Object(n.a)({},o,this.merged,a),this.hasChanged=!1;let b=f&&f(this);if(this.animations=Object.entries(this.merged).reduce((e,t)=>{let i=t[0],r=t[1],a=e[i]||{};const l=s.num(r),p=s.str(r)&&!r.startsWith("#")&&!/\d/.test(r)&&!y[r],f=s.arr(r),g=!l&&!f&&!p;let O=s.und(o[i])?r:o[i],E=l||f||p?r:1,k=d(h,i);b&&(E=b.animations[i].parent);let x,R=a.parent,V=a.interpolation,S=c(b?E.getPayload():E),T=r;g&&(T=w({range:[0,1],output:[r,r]})(1));let C=V&&V.getValue();const M=!s.und(R)&&a.animatedValues.some(e=>!e.done),P=!s.equ(T,C),A=!s.equ(T,a.previous),_=!s.equ(k,a.config);if(m||A&&P||_){if(l||p)R=V=a.parent||new z(O);else if(f)R=V=a.parent||new L(O);else if(g){let e=a.interpolation&&a.interpolation.calc(a.parent.value);e=void 0===e||m?O:e,a.parent?(R=a.parent,R.setValue(0,!1)):R=new z(0);const t={output:[e,r]};a.interpolation?(V=a.interpolation,a.interpolation.updateConfig(t)):V=R.interpolate(t)}return S=c(b?E.getPayload():E),x=c(R.getPayload()),m&&!g&&R.setValue(O,!1),this.hasChanged=!0,x.forEach(e=>{e.startPosition=e.value,e.lastPosition=e.value,e.lastVelocity=M?e.lastVelocity:void 0,e.lastTime=M?e.lastTime:void 0,e.startTime=j(),e.done=!1,e.animatedStyles.clear()}),d(v,i)&&R.setValue(g?E:r,!1),Object(n.a)({},e,{[i]:Object(n.a)({},a,{name:i,parent:R,interpolation:V,animatedValues:x,toValues:S,previous:T,config:k,fromValues:c(R.getValue()),immediate:d(v,i),initialVelocity:u(k.velocity,0),clamp:u(k.clamp,!1),precision:u(k.precision,.01),tension:u(k.tension,170),friction:u(k.friction,26),mass:u(k.mass,1),duration:k.duration,easing:u(k.easing,e=>e),decay:k.decay})})}return P?e:(g&&(R.setValue(1,!1),V.updateConfig({output:[T,T]})),R.done=!0,this.hasChanged=!0,Object(n.a)({},e,{[i]:Object(n.a)({},e[i],{previous:T})}))},this.animations),this.hasChanged){this.configs=Object.values(this.animations),this.values={},this.interpolations={};for(let e in this.animations)this.interpolations[e]=this.animations[e].interpolation,this.values[e]=this.animations[e].interpolation.getValue()}return this}destroy(){this.stop(),this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.local=0}}const I=(e,t)=>{const i=Object(r.useRef)(!1),n=Object(r.useRef)(),o=s.fun(t),a=Object(r.useMemo)(()=>{let i;return n.current&&(n.current.map(e=>e.destroy()),n.current=void 0),[new Array(e).fill().map((e,n)=>{const r=new N,a=o?d(t,n,r):t[n];return 0===n&&(i=a.ref),r.update(a),i||r.start(),r}),i]},[e]),l=a[0],u=a[1];n.current=l;Object(r.useImperativeHandle)(u,()=>({start:()=>Promise.all(n.current.map(e=>new Promise(t=>e.start(t)))),stop:e=>n.current.forEach(t=>t.stop(e)),get controllers(){return n.current}}));const c=Object(r.useMemo)(()=>e=>n.current.map((t,i)=>{t.update(o?d(e,i,t):e[i]),u||t.start()}),[e]);Object(r.useEffect)(()=>{i.current?o||c(t):u||n.current.forEach(e=>e.start())}),Object(r.useEffect)(()=>(i.current=!0,()=>n.current.forEach(e=>e.destroy())),[]);const h=n.current.map(e=>e.getValues());return o?[h,c,e=>n.current.forEach(t=>t.pause(e))]:h},D=e=>{const t=s.fun(e),i=I(1,t?e:[e]),n=i[0],o=i[1],r=i[2];return t?[n[0],o,r]:n},$=(e,t)=>{const i=Object(r.useRef)(!1),o=s.fun(t),a=d(t),l=Object(r.useRef)(),u=I(e,(e,t)=>(0===e&&(l.current=[]),l.current.push(t),Object(n.a)({},a,{config:d(a.config,e),attach:e>0&&(()=>l.current[e-1])}))),c=u[0],h=u[1],p=u[2],f=Object(r.useMemo)(()=>e=>h((t,i)=>{e.reverse;const o=e.reverse?t+1:t-1,r=l.current[o];return Object(n.a)({},e,{config:d(e.config||a.config,t),attach:r&&(()=>r)})}),[e,a.reverse]);return Object(r.useEffect)(()=>{i.current&&!o&&f(t)}),Object(r.useEffect)(()=>{i.current=!0},[]),o?[c,f,p]:c};class G extends m{constructor(e){void 0===e&&(e={}),super(),!e.transform||e.transform instanceof p||(e=v.transform(e)),this.payload=e}}const W={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},Q="[-+]?\\d*\\.?\\d+",Y=Q+"%";function B(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return"\\(\\s*("+t.join(")\\s*,\\s*(")+")\\s*\\)"}const J=new RegExp("rgb"+B(Q,Q,Q)),U=new RegExp("rgba"+B(Q,Q,Q,Q)),Z=new RegExp("hsl"+B(Q,Y,Y)),K=new RegExp("hsla"+B(Q,Y,Y,Q)),X=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ee=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,te=/^#([0-9a-fA-F]{6})$/,ie=/^#([0-9a-fA-F]{8})$/;function ne(e,t,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?e+6*(t-e)*i:i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e}function oe(e,t,i){const n=i<.5?i*(1+t):i+t-i*t,o=2*i-n,r=ne(o,n,e+1/3),a=ne(o,n,e),s=ne(o,n,e-1/3);return Math.round(255*r)<<24|Math.round(255*a)<<16|Math.round(255*s)<<8}function re(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function ae(e){return(parseFloat(e)%360+360)%360/360}function se(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function le(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function ue(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=te.exec(e))?parseInt(t[1]+"ff",16)>>>0:W.hasOwnProperty(e)?W[e]:(t=J.exec(e))?(re(t[1])<<24|re(t[2])<<16|re(t[3])<<8|255)>>>0:(t=U.exec(e))?(re(t[1])<<24|re(t[2])<<16|re(t[3])<<8|se(t[4]))>>>0:(t=X.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=ie.exec(e))?parseInt(t[1],16)>>>0:(t=ee.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=Z.exec(e))?(255|oe(ae(t[1]),le(t[2]),le(t[3])))>>>0:(t=K.exec(e))?(oe(ae(t[1]),le(t[2]),le(t[3]))|se(t[4]))>>>0:null}(e);return null===t?e:(t=t||0,`rgba(${(4278190080&t)>>>24}, ${(16711680&t)>>>16}, ${(65280&t)>>>8}, ${(255&t)/255})`)}const ce=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,de=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,he=new RegExp(`(${Object.keys(W).join("|")})`,"g");let pe={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};const fe=["Webkit","Ms","Moz","O"];function me(e,t,i){return null==t||"boolean"==typeof t||""===t?"":i||"number"!=typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}pe=Object.keys(pe).reduce((e,t)=>(fe.forEach(i=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(i,t)]=e[t]),e),pe);const ve={};T(e=>new G(e)),x("div"),E(e=>{const t=e.output.map(e=>e.replace(de,ue)).map(e=>e.replace(he,ue)),i=t[0].match(ce).map(()=>[]);t.forEach(e=>{e.match(ce).forEach((e,t)=>i[t].push(+e))});const o=t[0].match(ce).map((t,o)=>_(Object(n.a)({},e,{output:i[o]})));return e=>{let i=0;return t[0].replace(ce,()=>o[i++](e)).replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,(e,t,i,n,o)=>`rgba(${Math.round(t)}, ${Math.round(i)}, ${Math.round(n)}, ${o})`)}}),b(W),g((e,t)=>{if(!e.nodeType||void 0===e.setAttribute)return!1;{const r=t.style,a=t.children,s=t.scrollTop,l=t.scrollLeft,u=Object(o.a)(t,["style","children","scrollTop","scrollLeft"]),c="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName;void 0!==s&&(e.scrollTop=s),void 0!==l&&(e.scrollLeft=l),void 0!==a&&(e.textContent=a);for(let t in r)if(r.hasOwnProperty(t)){var i=0===t.indexOf("--"),n=me(t,r[t],i);"float"===t&&(t="cssFloat"),i?e.style.setProperty(t,n):e.style[t]=n}for(let t in u){const i=c?t:ve[t]||(ve[t]=t.replace(/([A-Z])/g,e=>"-"+e.toLowerCase()));void 0!==e.getAttribute(i)&&e.setAttribute(i,u[t])}}},e=>e);var ye,ge;const be=(ye=e=>Object(r.forwardRef)((t,i)=>{const u=l(),c=Object(r.useRef)(!0),d=Object(r.useRef)(null),h=Object(r.useRef)(null),p=Object(r.useCallback)(e=>{const t=d.current;d.current=new C(e,()=>{let e=!1;h.current&&(e=v.fn(h.current,d.current.getAnimatedValue())),h.current&&!1!==e||u()}),t&&t.detach()},[]);Object(r.useEffect)(()=>()=>{c.current=!1,d.current&&d.current.detach()},[]),Object(r.useImperativeHandle)(i,()=>S(h,c,u)),p(t);const f=d.current.getValue(),m=(f.scrollTop,f.scrollLeft,Object(o.a)(f,["scrollTop","scrollLeft"])),y=(g=e,!s.fun(g)||g.prototype instanceof a.a.Component?e=>h.current=function(e,t){return t&&(s.fun(t)?t(e):s.obj(t)&&(t.current=e)),e}(e,i):void 0);var g;return a.a.createElement(e,Object(n.a)({},m,{ref:y}))}),void 0===(ge=!1)&&(ge=!0),e=>(s.arr(e)?e:Object.keys(e)).reduce((e,t)=>{const i=ge?t[0].toLowerCase()+t.substring(1):t;return e[i]=ye(i),e},ye))(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"])},196:function(e,t,i){"use strict";i.d(t,"a",(function(){return n})),i.d(t,"b",(function(){return o}));var n={prefix:"fab",iconName:"github",icon:[496,512,[],"f09b","M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"]},o={prefix:"fab",iconName:"weixin",icon:[576,512,[],"f1d7","M385.2 167.6c6.4 0 12.6.3 18.8 1.1C387.4 90.3 303.3 32 207.7 32 100.5 32 13 104.8 13 197.4c0 53.4 29.3 97.5 77.9 131.6l-19.3 58.6 68-34.1c24.4 4.8 43.8 9.7 68.2 9.7 6.2 0 12.1-.3 18.3-.8-4-12.9-6.2-26.6-6.2-40.8-.1-84.9 72.9-154 165.3-154zm-104.5-52.9c14.5 0 24.2 9.7 24.2 24.4 0 14.5-9.7 24.2-24.2 24.2-14.8 0-29.3-9.7-29.3-24.2.1-14.7 14.6-24.4 29.3-24.4zm-136.4 48.6c-14.5 0-29.3-9.7-29.3-24.2 0-14.8 14.8-24.4 29.3-24.4 14.8 0 24.4 9.7 24.4 24.4 0 14.6-9.6 24.2-24.4 24.2zM563 319.4c0-77.9-77.9-141.3-165.4-141.3-92.7 0-165.4 63.4-165.4 141.3S305 460.7 397.6 460.7c19.3 0 38.9-5.1 58.6-9.9l53.4 29.3-14.8-48.6C534 402.1 563 363.2 563 319.4zm-219.1-24.5c-9.7 0-19.3-9.7-19.3-19.6 0-9.7 9.7-19.3 19.3-19.3 14.8 0 24.4 9.7 24.4 19.3 0 10-9.7 19.6-24.4 19.6zm107.1 0c-9.7 0-19.3-9.7-19.3-19.6 0-9.7 9.7-19.3 19.3-19.3 14.5 0 24.4 9.7 24.4 19.3.1 10-9.9 19.6-24.4 19.6z"]}}}]);