react-voodoo 2.1.34 → 2.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,28 +1,3 @@
1
- /*!
2
- * MIT License
3
- *
4
- * Copyright (c) 2020 Braun Nathanael
5
- *
6
- * Permission is hereby granted, free of charge, to any person obtaining a copy
7
- * of this software and associated documentation files (the "Software"), to deal
8
- * in the Software without restriction, including without limitation the rights
9
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
- * copies of the Software, and to permit persons to whom the Software is
11
- * furnished to do so, subject to the following conditions:
12
- *
13
- * The above copyright notice and this permission notice shall be included in all
14
- * copies or substantial portions of the Software.
15
- *
16
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
- * SOFTWARE.
23
- */
24
- module.exports=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/",r(r.s=21)}([function(e,t){e.exports=require("react")},function(e,t){e.exports=require("is")},function(e,t,r){"use strict";r.d(t,"e",(function(){return o})),r.d(t,"f",(function(){return i})),r.d(t,"b",(function(){return a})),r.d(t,"a",(function(){return s})),r.d(t,"c",(function(){return l})),r.d(t,"d",(function(){return c}));var n={margin:{properties:["marginTop","marginRight","marginBottom","marginLeft"]},marginBottom:{types:["length"]},marginLeft:{types:["length"]},marginRight:{types:["length"]},marginTop:{types:["length"]},padding:{properties:["paddingTop","paddingRight","paddingBottom","paddingLeft"]},paddingBottom:{types:["length"]},paddingLeft:{types:["length"]},paddingRight:{types:["length"]},paddingTop:{types:["length"]},bottom:{types:["length-percentage-calc"]},left:{types:["length-percentage-calc"]},right:{types:["length-percentage-calc"]},top:{types:["length-percentage-calc"]},zIndex:{types:["integer"]},width:{types:["length-percentage-calc"]},maxWidth:{types:["length-percentage-calc"]},minWidth:{types:["length-percentage-calc"]},height:{types:["length-percentage-calc"]},maxHeight:{types:["length-percentage-calc"]},minHeight:{types:["length-percentage-calc"]},lineHeight:{types:["number","length"]},verticalAlign:{types:["length"]},visibility:{types:["visibility"]},borderSpacing:{types:["length"],multiple:!0},color:{types:["color"]},opacity:{types:["number"]},backgroundColor:{types:["color"]},backgroundPosition:{types:["length-percentage-calc"],multiple:!0,repeatable:!0},backgroundSize:{types:["length-percentage-calc"],multiple:!0,repeatable:!0},border:{properties:["borderStyle","borderWidth","borderColor"]},borderBottom:{properties:["borderBottomStyle","borderBottomWidth","borderBottomColor"]},borderLeft:{properties:["borderLeftStyle","borderLeftWidth","borderLeftColor"]},borderRight:{properties:["borderRightStyle","borderRightWidth","borderRightColor"]},borderTop:{properties:["borderTopStyle","borderTopWidth","borderTopColor"]},borderColor:{properties:["borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]},borderWidth:{properties:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"]},borderBottomColor:{types:["color"]},borderLeftColor:{types:["color"]},borderRightColor:{types:["color"]},borderTopColor:{types:["color"]},borderBottomWidth:{types:["length"]},borderLeftWidth:{types:["length"]},borderRightWidth:{types:["length"]},borderTopWidth:{types:["length"]},borderRadius:{properties:["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"]},borderTopLeftRadius:{types:["length-percentage-calc"],multiple:!0},borderTopRightRadius:{types:["length-percentage-calc"],multiple:!0},borderBottomRightRadius:{types:["length-percentage-calc"],multiple:!0},borderBottomLeftRadius:{types:["length-percentage-calc"],multiple:!0},boxShadow:{types:["shadow-list"]},caretColor:{types:["color"]},outline:{properties:["outlineColor","outlineWidth"]},outlineColor:{types:["color"]},outlineWidth:{types:["length"]},outlineOffset:{types:["length"]},flex:{properties:["flexGrow","flexShrink","flexBasis"]},flexGrow:{types:["number"]},flexShrink:{types:["number"]},flexBasis:{types:["length-percentage-calc"]},order:{types:["integer"]},font:{properties:["fontWeight","fontStretch","fontSize","lineHeight"]},fontWeight:{types:["font-weight"]},fontStretch:{types:["font-stretch"]},fontSize:{types:["length"]},fontSizeAdjust:{types:["number"]},gridTemplateColumns:{types:["length-percentage-calc"],multiple:!0},gridTemplateRows:{types:["length-percentage-calc"],multiple:!0},gridTemplate:{properties:["gridTemplateRows","gridTemplateColumns"]},grid:{properties:["gridTemplateRows","gridTemplateColumns"]},gridRowGap:{types:["length-percentage-calc"]},gridColumnGap:{types:["length-percentage-calc"]},gridGap:{properties:["gridRowGap","gridColumnGap"]},clip:{types:["rectangle"]},clipPath:{types:["basic-shape"]},mask:{properties:["maskPosition","maskSize"]},maskPosition:{types:["length-percentage-calc"],multiple:!0,repeatable:!0},maskSize:{types:["length-percentage-calc"],multiple:!0,repeatable:!0},shapeOutside:{types:["basic-shape"]},shapeMargin:{types:["length-percentage-calc"]},shapeImageThreshold:{types:["number"]},scrollPadding:{properties:["scrollPaddingTop","scrollPaddingRight","scrollPaddingBottom","scrollPaddingLeft"]},scrollPaddingTop:{types:["length-percentage-calc"]},scrollPaddingRight:{types:["length-percentage-calc"]},scrollPaddingBottom:{types:["length-percentage-calc"]},scrollPaddingLeft:{types:["length-percentage-calc"]},scrollPaddingBlock:{properties:["scrollPaddingBlockStart","scrollPaddingBlockEnd"]},scrollPaddingBlockStart:{types:["length-percentage-calc"]},scrollPaddingBlockEnd:{types:["length-percentage-calc"]},scrollPaddingInline:{properties:["scrollPaddingInlineStart","scrollPaddingInlineEnd"]},scrollPaddingInlineStart:{types:["length-percentage-calc"]},scrollPaddingInlineEnd:{types:["length-percentage-calc"]},scrollSnapMargin:{properties:["scrollSnapMarginTop","scrollSnapMarginRight","scrollSnapMarginBottom","scrollSnapMarginLeft"]},scrollSnapMarginTop:{types:["length"]},scrollSnapMarginRight:{types:["length"]},scrollSnapMarginBottom:{types:["length"]},scrollSnapMarginLeft:{types:["length"]},scrollSnapMarginBlock:{properties:["scrollSnapMarginBlockStart","scrollSnapMarginBlockEnd"]},scrollSnapMarginBlockStart:{types:["length"]},scrollSnapMarginBlockEnd:{types:["length"]},scrollSnapMarginInline:{properties:["scrollSnapMarginInlineStart","scrollSnapMarginInlineEnd"]},scrollSnapMarginInlineStart:{types:["length"]},scrollSnapMarginInlineEnd:{types:["length"]},textDecoration:{properties:["textDecorationColor"]},textDecorationColor:{types:["color"]},textEmphasis:{properties:["textEmphasisColor"]},textEmphasisColor:{types:["color"]},textShadow:{types:["shadow-list"]},columns:{properties:["columnWidth","columnCount"]},columnWidth:{types:["length"]},columnCount:{types:["integer"]},columnGap:{types:["length-percentage-calc"]},columnRule:{properties:["columnRuleColor","columnRuleWidth"]},columnRuleColor:{types:["color"]},columnRuleWidth:{types:["length"]},letterSpacing:{types:["length"]},tabSize:{types:["length"]},textIndent:{types:["length-percentage-calc"]},wordSpacing:{types:["length-percentage-calc"]},transform:{types:["transform"]},transformOrigin:{types:["length-percentage-calc"],multiple:!0},perspective:{types:["length"]},perspectiveOrigin:{types:["length-percentage-calc"],multiple:!0}},o=["","deg","box","bz","bh","bw","deg","em","ex","%","px","cm","mm","in","pt","pc","ch","rem","vh","vw","vmin","vmax"],i=new RegExp("([+-]?(?:[0-9]*[.])?[0-9]+)\\s*("+["\\w+","deg","bz","bh","bw","cap","ch","deg","em","ic","ex","%","px","cm","mm","in","pt","pc","ch","rem","vh","vw","vmin","vmax"].join("|")+")"),a=function(e){return void 0===e&&(e=0),Number(e.toFixed(3))};function s(e,t,r){void 0===r&&(r={});var o=n[e],i=o&&o.properties,a=t.split(" ");return o.multiple?i&&i.forEach((function(e,t){r[e]=a[t%a.length]})):i&&i.forEach((function(e,t){a[t]&&(r[e]=a[t])})),r}function l(e){var t=n[e],r=t&&t.properties;return r&&!!r.length}function c(e,t){return!!n[e]}},function(e,t,r){"use strict";r.d(t,"a",(function(){return i})),r.d(t,"b",(function(){return a})),r.d(t,"c",(function(){return s})),r.d(t,"d",(function(){return l})),r.d(t,"e",(function(){return c})),r.d(t,"f",(function(){return u})),r.d(t,"g",(function(){return f}));var n={},o=r(16).walknSetExport;o(n,"any",r(17)),o(n,"int",r(24)),o(n,"bool",r(25)),o(n,"color",r(13)),o(n,"multi",r(26)),o(n,"ratio",r(27)),o(n,"number",r(12)),o(n,"shadow",r(9));var i=n.any,a=n.bool,s=n.color,l=n.int,c=n.multi,u=n.number,f=n.ratio},function(e,t){e.exports=require("@babel/runtime/helpers/defineProperty")},function(e,t){e.exports=require("@babel/runtime/helpers/extends")},function(e,t){e.exports=require("@babel/runtime/helpers/inheritsLoose")},function(e,t){e.exports=require("fast-deep-equal")},function(e,t){e.exports=require("@babel/runtime/helpers/objectWithoutPropertiesLoose")},function(e,t,r){"use strict";r.r(t),r.d(t,"release",(function(){return O})),r.d(t,"demuxOne",(function(){return P})),r.d(t,"demux",(function(){return R})),r.d(t,"muxOne",(function(){return T})),r.d(t,"mux",(function(){return S}));var n=r(4),o=r.n(n),i=r(1),a=r.n(i),s=r(2),l=r(3);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var f,p,d,h,g,m,v,y,b=(f=/,(?![^\(]*\))/,p=/\s(?![^(]*\))/,d=/^[0-9]+[a-zA-Z%]+?$/,h=function(e){var t=e.split(p),r=t.includes("inset"),n=t.slice(-1)[0],o=m(n)?void 0:n,i=t.filter((function(e){return"inset"!==e})).filter((function(e){return e!==o})).map(v);return{inset:r,offsetX:i[0],offsetY:i[1],blurRadius:i[2],spreadRadius:i[3],color:o}},g=function(e){var t=e||{},r=t.inset,n=t.offsetX,o=void 0===n?0:n,i=t.offsetY,a=void 0===i?0:i,s=t.blurRadius;return[r?"inset":null,o,a,void 0===s?0:s,t.spreadRadius,t.color].filter((function(e){return null!=e})).map(y).map((function(e){return(""+e).trim()})).join(" ")},m=function(e){return"0"===e||d.test(e)},v=function(e){if(!/px$/.test(e)&&"0"!==e)return e;var t=parseFloat(e);return isNaN(t)?e:t},y=function(e){return"number"==typeof e&&0!==e?e+"px":e},{parse:function(e){return e.split(f).map((function(e){return e.trim()})).map(h)},stringify:function(e){return e.map(g).join(", ")}}),x={perspective:"px"},w={translateX:"x"},_={inset:l.b,color:l.c};function O(e,t,r,n,o,i){var a,s=e.split("_");if(s.length>2){if(a=s[0]+"_"+s[1]+"_"+s[2],_[s[2]])return _[s[2]].release(e,t,r,n,o,i),n[a]||--n[s[0]][s[1]][s[2]]||i||delete n[s[0]][s[1]][s[2]],void(0!==n[s[0]].length||i||(delete n[s[0]],delete o[s[0]],delete r[s[0]]));if(--n[s[0]][s[1]][s[2]]||i||delete n[s[0]][s[1]][s[2]],!i)for(;n[s[0]].length&&!n[s[0]][n[s[0]].length-1];)n[s[0]].pop();if(--n[a][s[3]]||i||(delete n[a][s[3]],delete t[e]),!i)for(;n[a].length&&!n[a][n[a].length-1];)n[a].pop();if(0!==n[a].length||i||delete n[a],!i)for(;n[s[0]].length&&!Object.keys(n[s[0]][n[s[0]].length-1]).length;)n[s[0]].pop();0!==n[s[0]].length||i||(delete n[s[0]],delete o[s[0]],delete r[s[0]])}else console.log("wtf",s)}function P(e,t,r,n,o,i){var a=r,l=s.e[e]||x[n];return"box"===l&&(a*=i[w[n]]||i.x,l="px"),"bw"===l&&(a*=i.x,l="px"),"wh"===l&&(a*=i.y,l="px"),"bz"===l&&(a*=i.z,l="px"),"deg"===l&&(a%=360),l?Object(s.b)(a)+l:Object(s.b)(a)}function R(e,t,r,n,o){for(var i,a,s,l,c,u,f=[],p={},d=0,h=0;d<n[e].length;d++){for(a in p={},i=n[e][d])if(i.hasOwnProperty(a)){if(l=e+"_"+d+"_"+a,_[a])u=_[a].demux(l,t,void 0,n,o);else{for(u="",h=0,s=0;s<n[l].length;s++)n[l][s]&&(c=P(s,0,t[l+"_"+s],a,0,o),h&&"-"===c[0]?c=" - "+c.substr(1):h&&(c=" + "+c),u+=c,h++);h>1&&(u="calc("+u+")")}p[a]=u||0}f.push(p)}r[e]=b.stringify(f)}function T(e,t,r,n,o,i,l,c){var u=!!a.a.string(r)&&r.match(s.f),f=u&&u[2]||x[t]||"px",p=s.e.indexOf(f),d=-1!==p&&e+"_"+p||e;return i[d]=0,o[e][p]=o[e][p]||0,c&&c[p]?n[d]+=u?parseFloat(u[1]):parseFloat(r):(!l&&o[e][p]++,n[d]=u?parseFloat(u[1]):parseFloat(r),c&&(c[p]=!0)),R}var S=function(e,t,r,n,o,i,s){n[e]=n[e]||[],a.a.array(t)||(t=[t]);for(var l,c,f,p,d,h,g,m=0;m<t.length;m++){for(c in l=t[m],a.a.string(l)&&(l=b.parse(l)[0]),f=s?{}:u({},n[e][m]||{}),l)if(l.hasOwnProperty(c))if(p=l[c],d=e+"_"+m+"_"+c,f[c]=f[c]||n[e][m]&&n[e][m][c]||0,!i&&f[c]++,_[c])_[c].mux(d,p,r,n,o,i,s);else if(g={},n[d]=n[d]||[],a.a.array(p))for(h=0;h<p.length;h++)T(d,c,p[h]||0,r,n,o,i,g);else T(d,c,p||0,r,n,o,i);n[e][m]=s?u(u(u({},f),n[e][m]||{}),f):f}return R}},function(e,t){e.exports=require("react-dom")},function(e,t){e.exports=require("@babel/runtime/helpers/assertThisInitialized")},function(e,t,r){"use strict";r.r(t),r.d(t,"release",(function(){return c})),r.d(t,"demuxOne",(function(){return u})),r.d(t,"demux",(function(){return f})),r.d(t,"muxer",(function(){return p})),r.d(t,"muxOne",(function(){return d})),r.d(t,"mux",(function(){return h}));var n=r(1),o=r.n(n),i=r(2),a={left:"px",right:"px",top:"px",bottom:"px",width:"px",height:"px",perspective:"px"},s={left:"x",right:"x",top:"y",bottom:"y",width:"x",height:"y"},l={opacity:0};function c(e,t,r,n,o,i){var a=e.split("_");if(2===a.length){if(--n[a[0]][a[1]]||i||delete t[e],!i)for(;n[a[0]].length&&!n[a[0]][n[a[0]].length-1];)n[a[0]].pop();0!==n[a[0]].length||i||(delete n[a[0]],delete o[a[0]],r&&delete r[a[0]])}else console.log("wtf",a)}function u(e,t,r,n,o){var l=t,c=i.e[e]||a[r]||"px";return"box"===c&&(l*=o[s[r]]||o.x,c="px"),"bw"===c&&(l*=o.x,c="px"),"bh"===c&&(l*=o.y,c="px"),"bz"===c&&(l*=o.z,c="px"),c?Object(i.b)(l)+c:Object(i.b)(l)}function f(e,t,r,n,o,i){var a,s,l,c=0;for(a="",s=0;s<n[e].length;s++)n[e][s]&&(t[l=e+"_"+s]<0?a+=(c?" - ":"-")+u(s,-t[l],i||e,0,o):a+=(c?" + ":"")+u(s,t[l],i||e,0,o),c++);return c>1&&(a="calc("+a+")"),r?r[e]=a:a}function p(e,t,r,n,i,a){n[e]=n[e]||[];var s=[];if(o.a.array(t))for(var l=0;l<t.length;l++)d(e,t[l]||0,r,n,i,a,s);else d(e,t||0,r,n,i,a);return f}function d(e,t,r,n,s,c,u){var p=!!o.a.string(t)&&t.match(i.f),d=p&&p[2]||a[e]||"px",h=i.e.indexOf(d),g=-1!==h&&e+"_"+h||e;return s[g]=l[e]||0,n[e][h]=n[e][h]||0,u&&u[h]?r[g]+=p?parseFloat(p[1]):parseFloat(t):(!c&&n[e][h]++,r[g]=p?parseFloat(p[1]):parseFloat(t),u&&(u[h]=!0)),f}var h=p},function(e,t,r){"use strict";r.r(t),r.d(t,"release",(function(){return i})),r.d(t,"demux",(function(){return a})),r.d(t,"mux",(function(){return s}));var n=r(19),o=r.n(n);function i(e,t,r,n,o,i){var a=e.split("_"),s=a.slice(0,a.length-1).join("_");--n[e]||i||(delete t[e],delete n[e]),--n[s]||i||(delete t[e],delete n[e])}function a(e,t,r,n){var o="rgba("+t[e+"_r"]+", "+t[e+"_g"]+", "+t[e+"_b"]+", "+t[e+"_a"]+")";return r?r[e]=o:o}function s(e,t,r,n,i,s){var l=o()(t);return n[e]=n[e]||0,n[e+"_r"]=n[e+"_r"]||0,n[e+"_g"]=n[e+"_g"]||0,n[e+"_b"]=n[e+"_b"]||0,n[e+"_a"]=n[e+"_a"]||0,s||(n[e]+=4,n[e+"_r"]++,n[e+"_g"]++,n[e+"_b"]++,n[e+"_a"]++),r[e+"_r"]=l[0],r[e+"_g"]=l[1],r[e+"_b"]=l[2],r[e+"_a"]=l[3],i[e]=0,i[e+"_r"]=0,i[e+"_g"]=0,i[e+"_b"]=0,i[e+"_a"]=1,a}},function(e,t){e.exports=require("d3-ease")},function(e,t){e.exports=require("prop-types")},function(e,t){e.exports={walknSetExport:function(e,t,r){var n,o,i=t.split("/"),a=e;for(n=0;n<i.length-1;)a=a[i[n]]=a[i[n]]||{},n++;o=1===Object.keys(r).length&&r.default||r,a[i[n]]?a[i[n]].__esModule||(Object.assign(o,a[i[n]]),a[i[n]]=o):a[i[n]]=o}}},function(e,t,r){"use strict";r.r(t),r.d(t,"release",(function(){return c})),r.d(t,"demuxOne",(function(){return u})),r.d(t,"demux",(function(){return f})),r.d(t,"muxer",(function(){return p})),r.d(t,"muxOne",(function(){return d})),r.d(t,"mux",(function(){return h}));var n=r(1),o=r.n(n),i=r(2),a=(r(17),{left:"px",right:"px",top:"px",bottom:"px",width:"px",height:"px",perspective:"px"}),s={left:"x",right:"x",top:"y",bottom:"y",width:"x",height:"y"},l={opacity:0};function c(e,t,r,n,o,i){var a=e.split("_");if(2===a.length){if(--n[a[0]][a[1]]||i||delete t[e],!i)for(;n[a[0]].length&&!n[a[0]][n[a[0]].length-1];)n[a[0]].pop();0!==n[a[0]].length||i||(delete n[a[0]],delete o[a[0]],r&&delete r[a[0]])}else console.log("wtf",a)}function u(e,t,r,n,o){var l=t,c=i.e[e]||a[r]||"px";return"box"===c&&(l*=o[s[r]]||o.x,c="px"),"bw"===c&&(l*=o.x,c="px"),"bh"===c&&(l*=o.y,c="px"),"bz"===c&&(l*=o.z,c="px"),c?Object(i.b)(l)+c:Object(i.b)(l)}function f(e,t,r,n,o,i){var a,s,l,c=0;if(a="",n[e].isString)return r[e]=n[e].value,n[e].value;for(s=0;s<n[e].length;s++)n[e][s]&&(t[l=e+"_"+s]<0?a+=(c?" - ":"-")+u(s,-t[l],i||e,0,o):a+=(c?" + ":"")+u(s,t[l],i||e,0,o),c++);return c>1&&(a="calc("+a+")"),r?r[e]=a:a}function p(e,t,r,n,i,a){n[e]=n[e]||[];var s=[];if(o.a.array(t))for(var l=0;l<t.length;l++)d(e,t[l]||0,r,n,i,a,s);else d(e,t||0,r,n,i,a);return f}function d(e,t,r,n,s,c,u){var p=!!o.a.string(t)&&t.match(i.f),d=p&&p[2]||a[e]||"px",h=i.e.indexOf(d),g=-1!==h&&e+"_"+h||e;return s[g]=l[e]||0,n[e][h]=n[e][h]||0,!p&&o.a.string(t)?(n[e].isString=!0,n[e].value=t,f):(u&&u[h]?r[g]+=p?parseFloat(p[1]):parseFloat(t):(!c&&n[e][h]++,r[g]=p?parseFloat(p[1]):parseFloat(t),u&&(u[h]=!0)),f)}var h=p},function(e,t){e.exports=require("shortid")},function(e,t){e.exports=require("color-rgba")},function(e,t){e.exports=require("tween-axis")},function(e,t,r){e.exports=r(31)},function(e,t,r){"use strict";r.r(t),r.d(t,"release",(function(){return p})),r.d(t,"demuxOne",(function(){return d})),r.d(t,"demux",(function(){return h})),r.d(t,"muxOne",(function(){return g})),r.d(t,"mux",(function(){return m}));var n=r(4),o=r.n(n),i=r(1),a=r.n(i),s=r(2);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var u={blur:"px",brightness:"%",contrast:"%",dropShadow:!0,grayscale:"%",hueRotate:"deg",invert:"%",opacity:"%",saturate:"%",sepia:"%"},f={};function p(e,t,r,n,o,i){var a,s=e.split("_");if(4===s.length){if(--n[s[0]][s[1]][s[2]]||i||delete n[s[0]][s[1]][s[2]],!i)for(;n[s[0]].length&&!n[s[0]][n[s[0]].length-1];)n[s[0]].pop();if(--n[a=s[0]+"_"+s[1]+"_"+s[2]][s[3]]||i||(delete n[a][s[3]],delete t[e]),!i)for(;n[a].length&&!n[a][n[a].length-1];)n[a].pop();0!==n[a].length||i||delete n[a],0!==n[s[0]].length||i||(delete n[s[0]],delete o[s[0]],delete r[s[0]])}else console.log("wtf",s)}function d(e,t,r,n,o,i){var a=r,l=s.e[e]||u[n];return"bw"===l&&(a*=i.x,l="px"),"wh"===l&&(a*=i.y,l="px"),"bz"===l&&(a*=i.z,l="px"),"deg"===l&&(a%=360),l?Object(s.b)(a)+l:Object(s.b)(a)}function h(e,t,r,n,o){for(var i,a,s,l,c,u,f="",p=0,h=0;p<n[e].length;p++)for(a in i=n[e][p])if(i.hasOwnProperty(a)){for(l=e+"_"+p+"_"+a,u="",h=0,s=0;s<n[l].length;s++)n[l][s]&&(c=d(s,0,t[l+"_"+s],a,0,o),h&&"-"===c[0]?c=" - "+c.substr(1):h&&(c=" + "+c),u+=c,h++);h>1&&(u="calc("+u+")"),h>0&&(f+=a+"("+(u||"0")+") ")}r.filter=f}function g(e,t,r,n,o,i,l,c){var p=!!a.a.string(r)&&r.match(s.f),d=p&&p[2]||u[t],g=s.e.indexOf(d),m=-1!==g&&e+"_"+g||e;return i[m]=f[t]||0,o[e][g]=o[e][g]||0,c&&c[g]?n[m]+=p?parseFloat(p[1]):parseFloat(r):(!l&&o[e][g]++,n[m]=p?parseFloat(p[1]):parseFloat(r),c&&(c[g]=!0)),h}var m=function(e,t,r,n,o,i,s){n[e]=n[e]||[],a.a.array(t)||(t=[t]);for(var l,u,f,p,d,m,v,y=0;y<t.length;y++){for(u in l=t[y],f=s?{}:c({},n[e][y]||{}),l)if(l.hasOwnProperty(u))if(p=l[u],v={},d=e+"_"+y+"_"+u,f[u]=f[u]||n[e][y]&&n[e][y][u]||0,!i&&f[u]++,n[d]=n[d]||[],a.a.array(p))for(m=0;m<p.length;m++)g(d,u,p[m]||0,r,n,o,i,v);else g(d,u,p||0,r,n,o,i);n[e][y]=s?c(c(c({},f),n[e][y]||{}),f):f}return h}},function(e,t,r){"use strict";r.r(t);var n=r(9);r.d(t,"release",(function(){return n.release})),r.d(t,"demuxOne",(function(){return n.demuxOne})),r.d(t,"demux",(function(){return n.demux})),r.d(t,"muxOne",(function(){return n.muxOne})),r.d(t,"mux",(function(){return n.mux}))},function(e,t,r){"use strict";r.r(t),r.d(t,"release",(function(){return n})),r.d(t,"demux",(function(){return o})),r.d(t,"mux",(function(){return i}));function n(e,t,r,n,o,i){--n[e]||i||(delete t[e],delete n[e],delete o[e],delete r[e])}function o(e,t,r,n,o){r[e]=~~t[e]}var i=function(e,t,r,n,i,a){return i[e]=0,r[e]=~~t,n[e]=n[e]||0,!a&&n[e]++,o}},function(e,t,r){"use strict";r.r(t),r.d(t,"release",(function(){return o})),r.d(t,"demux",(function(){return i})),r.d(t,"mux",(function(){return a}));var n={opacity:1};function o(e,t,r,n,o,i){--n[e]||i||(delete t[e],delete n[e],delete o[e],delete r[e])}function i(e,t,r,n,o){var i=!!t[e];return r?r[e]=i:i}var a=function(e,t,r,o,a,s){return a[e]=n[e]||0,r[e]=!1===t?0:1,o[e]=o[e]||0,!s&&o[e]++,i}},function(e,t,r){"use strict";r.r(t);var n=r(1),o=r.n(n),i=r(12),a={top:"0%",bottom:"100%",center:"50%",left:"0%",right:"100%"};function s(e,t,r,n,o,a){for(var s=n["_"+e],l="",c={},u=0;u<s;u++)i.demux(e+"_"+u,t,c,n,o,a),l+=c[e+"_"+u]+" ";r[e]=l}function l(e,t,r,n,o,i){e.split("_")}t.default=function(e){return{mux:function(t,r,n,l,c,u){var f,p=r.split(" ");l[t]=l[t]||0,u&&l[t]++,l["_"+t]=e;for(var d=0;d<e;d++)f=p[d%p.length],f=o.a.string(f)&&a[f]||f,i.mux(t+"_"+d,f,n,l,c,u);return s},demux:s,release:l}}},function(e,t,r){"use strict";r.r(t),r.d(t,"release",(function(){return i})),r.d(t,"demux",(function(){return a})),r.d(t,"mux",(function(){return s}));var n=r(2),o={opacity:1};function i(e,t,r,n,o,i){--n[e]||i||(delete t[e],delete n[e],delete o[e],delete r[e])}function a(e,t,r,o,i){r[e]=Math.min(1,Math.max(0,Object(n.b)(t[e])))}var s=function(e,t,r,n,i,s){return i[e]=o[e]||0,r[e]=t,n[e]=n[e]||0,!s&&n[e]++,a}},function(e,t,r){"use strict";r.r(t),r.d(t,"release",(function(){return d})),r.d(t,"demuxOne",(function(){return h})),r.d(t,"demux",(function(){return g})),r.d(t,"muxOne",(function(){return m})),r.d(t,"mux",(function(){return v}));var n=r(4),o=r.n(n),i=r(1),a=r.n(i),s=r(2);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var u={translateX:"px",translateY:"px",translateZ:"px",scale:"",scaleZ:"",scaleX:"",scaleY:"",rotate:"deg",skewX:"deg",skewY:"deg",rotateX:"deg",rotateY:"deg",rotateZ:"deg",perspective:"px"},f={translateX:"x",translateY:"y",translateZ:"z",rotateX:"x",rotateY:"y",rotateZ:"z",left:"x",right:"x",top:"y",bottom:"y",width:"x",height:"y"},p={scale:1,scaleX:1,scaleY:1,scaleZ:1};function d(e,t,r,n,o,i){var a,s=e.split("_");if(4===s.length){if(--n[s[0]][s[1]][s[2]]||i||delete n[s[0]][s[1]][s[2]],!i)for(;n[s[0]].length&&!n[s[0]][n[s[0]].length-1];)n[s[0]].pop();if(--n[a=s[0]+"_"+s[1]+"_"+s[2]][s[3]]||i||(delete n[a][s[3]],delete t[e]),!i)for(;n[a].length&&!n[a][n[a].length-1];)n[a].pop();0!==n[a].length||i||delete n[a],0!==n[s[0]].length||i||(delete n[s[0]],delete o[s[0]],delete r[s[0]])}else console.log("wtf",s)}function h(e,t,r,n,o,i){var a=r,l=s.e[e]||u[n];return"box"===l&&(a*=i[f[n]]||i.x,l="px"),"bw"===l&&(a*=i.x,l="px"),"wh"===l&&(a*=i.y,l="px"),"bz"===l&&(a*=i.z,l="px"),"deg"===l&&(a%=360),l?Object(s.b)(a)+l:Object(s.b)(a)}function g(e,t,r,n,o){for(var i,a,s,l,c,u,f="",p=0,d=0;p<n[e].length;p++)for(a in i=n[e][p])if(i.hasOwnProperty(a)){for(l=e+"_"+p+"_"+a,u="",d=0,s=0;s<n[l].length;s++)n[l][s]&&(c=h(s,0,t[l+"_"+s],a,0,o),d&&"-"===c[0]?c=" - "+c.substr(1):d&&(c=" + "+c),u+=c,d++);d>1&&(u="calc("+u+")"),d>0&&(f+=a+"("+(u||"0")+") ")}r.transform=f}function m(e,t,r,n,o,i,l,c){var f=!!a.a.string(r)&&r.match(s.f),d=f&&f[2]||u[t],h=s.e.indexOf(d),m=-1!==h&&e+"_"+h||e;return i[m]=p[t]||0,o[e][h]=o[e][h]||0,c&&c[h]?n[m]+=f?parseFloat(f[1]):parseFloat(r):(!l&&o[e][h]++,n[m]=f?parseFloat(f[1]):parseFloat(r),c&&(c[h]=!0)),g}var v=function(e,t,r,n,o,i,s){n[e]=n[e]||[],a.a.array(t)||(t=[t]);for(var l,u,f,p,d,h,v,y=0;y<t.length;y++){for(u in l=t[y],f=s?{}:c({},n[e][y]||{}),l)if(l.hasOwnProperty(u))if(p=l[u],v={},d=e+"_"+y+"_"+u,f[u]=f[u]||n[e][y]&&n[e][y][u]||0,!i&&f[u]++,n[d]=n[d]||[],a.a.array(p))for(h=0;h<p.length;h++)m(d,u,p[h]||0,r,n,o,i,v);else m(d,u,p||0,r,n,o,i);n[e][y]=s?c(c(c({},f),n[e][y]||{}),f):f}return g}},function(e,t,r){"use strict";r.r(t);var n=r(9);r.d(t,"release",(function(){return n.release})),r.d(t,"demuxOne",(function(){return n.demuxOne})),r.d(t,"demux",(function(){return n.demux})),r.d(t,"muxOne",(function(){return n.muxOne})),r.d(t,"mux",(function(){return n.mux}))},function(e,t,r){"use strict";r.r(t);var n=r(13);r.d(t,"release",(function(){return n.release})),r.d(t,"demux",(function(){return n.demux})),r.d(t,"mux",(function(){return n.mux}))},function(e,t,r){"use strict";r.r(t),r.d(t,"tweener",(function(){return Xe})),r.d(t,"child",(function(){return Ue})),r.d(t,"useTweener",(function(){return ze})),r.d(t,"useVoodoo",(function(){return We})),r.d(t,"hook",(function(){return We})),r.d(t,"tools",(function(){return n})),r.d(t,"Draggable",(function(){return Ne})),r.d(t,"Component",(function(){return Ze})),r.d(t,"Node",(function(){return S})),r.d(t,"Context",(function(){return u})),r.d(t,"Axis",(function(){return f})),r.d(t,"dom",(function(){return me}));var n={};r.r(n),r.d(n,"re_cssValueWithUnit",(function(){return k})),r.d(n,"cssAdd",(function(){return I})),r.d(n,"cssMult",(function(){return L})),r.d(n,"offset",(function(){return W})),r.d(n,"scale",(function(){return F})),r.d(n,"reverse",(function(){return z})),r.d(n,"addCss",(function(){return Y})),r.d(n,"extractCss",(function(){return X})),r.d(n,"target",(function(){return q})),r.d(n,"shiftTransforms",(function(){return G}));var o=r(6),i=r.n(o),a=r(0),s=r.n(a),l=r(7),c=r.n(l),u=(r(15),s.a.createContext(null)),f=function(e){e.children;var t=e.id,r=e.axe,n=void 0===r?t:r,o=e.scrollFirst,i=e.bounds,a=e.scrollableWindow,l=e.inertia,f=e.size,p=e.defaultPosition,d=e.items,h=void 0===d?[]:d,g=s.a.useRef({}).current;return s.a.useEffect((function(){return function(){g.tweenLines&&Object.keys(g.tweenLines).forEach((function(e){return g.previousTweener.rmScrollableAnim(g.tweenLines[e],e)})),delete g.previousTweener,delete g.previousScrollable}})),s.a.createElement(u.Consumer,null,(function(e){return g.previousAxis&&g.previousAxis===n?g.previousInertia&&g.previousInertia===l||(g.previousInertia=l,g.previousAxis=n,e.initAxis(n,{inertia:l,size:f,scrollableWindow:a,defaultPosition:p,scrollFirst:o,scrollableBounds:i})):(g.previousAxis=n,g.previousInertia=l,e.initAxis(n,{inertia:l,size:f,scrollableWindow:a,defaultPosition:p,scrollFirst:o,scrollableBounds:i},!0)),g.previousTweener&&g.previousTweener===e?g.previousTweens===h||g.previousTweens&&c()(h,g.previousTweens)||(g.lastTL&&g.previousTweener&&g.previousTweener.rmScrollableAnim(g.lastTL,g.previousAxis),g.lastTL=null,h.length&&(g.lastTL=e.addScrollableAnim(h,n,f)),g.previousTweens=h):(g.previousTweener&&g.lastTL&&g.previousTweener.rmScrollableAnim(g.lastTL,g.previousAxis),h.length&&(g.lastTL=e.addScrollableAnim(h,n,f)),g.previousTweener=e,g.previousTweens=h),s.a.createElement(s.a.Fragment,null)}))},p=r(5),d=r.n(p),h=r(8),g=r.n(h),m=r(4),v=r.n(m),y=r(1),b=r.n(y),x=r(18),w=r.n(x);function _(e){return"function"==typeof e&&!(e.prototype&&e.prototype.isReactComponent)}function O(e){return function(e){return"function"==typeof e&&!!e.prototype.isReactComponent}(e)||_(e)}function P(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function R(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?P(Object(r),!0).forEach((function(t){v()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):P(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function T(e,t){return e.map((function(e){return R(R({},e),{},{target:t})}))}var S=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return(t=e.call.apply(e,[this].concat(n))||this).state={},t.__tweenableId=w.a.generate(),t}i()(t,e);var r=t.prototype;return r.componentWillUnmount=function(){var e=this;this._tweenAxisObj&&Object.keys(this._tweenAxisObj).forEach((function(t){return e._currentTweener.rmScrollableAnim(e._tweenAxisObj[t],t)})),this._currentTweener&&(this._currentTweener.rmTweenRef(this.__tweenableId),this._currentTweener.setRootRef(void 0)),delete this._currentTweener,delete this._tweenAxisObj,delete this._previousScrollable},r.render=function(){var e=this,t=this.props,r=t.children,n=t.id,o=void 0===n?this.__tweenableId:n,i=t.style,a=t.initial,l=t.pos,f=t.noRef,p=(t.reset,t.tweener),h=(t.isRoot,t.axes),m=t.refProp,v=void 0===m?"nodeRef":m,y=t.tweenLines,x=void 0===y?h:y,w=t.tweenAxis,O=void 0===w?x:w,P=g()(t,["children","id","style","initial","pos","noRef","reset","tweener","isRoot","axes","refProp","tweenLines","tweenAxis"]);return s.a.createElement(u.Consumer,null,(function(t){if(!(t=p||t))return console.error("No voodoo tweener found in the context, is there any parent with asTweener ?"),s.a.createElement(s.a.Fragment,null);var n,u=t.tweenRef(o,r.props&&r.props.style,i||a,l,f);e._currentTweener!==t||e._previousScrollable!==O?(n=e._tweenAxis!==O&&!(e._tweenAxis&&c()(O,e._tweenAxis)),e._currentTweener&&n&&e._tweenAxisObj&&Object.keys(e._tweenAxisObj).forEach((function(t){return e._currentTweener.rmScrollableAnim(e._tweenAxisObj[t],t)})),e._currentTweener&&e._currentTweener!==t&&e._currentTweener.rmTweenRef(o),n&&(e._tweenAxis=O,O&&b.a.array(O)?e._tweenAxisObj={scrollY:t.addScrollableAnim(T(O,o))}:e._tweenAxisObj=O&&Object.keys(O).reduce((function(e,r){return e[r]=t.addScrollableAnim(T(O[r],o),r),e}),{}),u=t.tweenRef(o,r.props&&r.props.style,i||a,l,f)),u.style=R({},t._updateTweenRef(o,!0)),e.props.hasOwnProperty("isRoot")&&(e._currentTweener&&e._currentTweener.setRootRef(void 0),p.setRootRef(o)),e._currentTweener=t,e._previousScrollable=O):u&&(u.style=R({},t._updateTweenRef(o,!0)));var h,g=s.a.Children.only(r);return g&&s.a.isValidElement(g)?(e._lastRef=u,_(g.type)?s.a.createElement(g.type,d()({},P,g.props,u,{ref:void 0},((h={})[v]=u.ref,h))):s.a.createElement(g.type,d()({},P,g.props,u))):(console.error("Invalid voodoo Node child : ",o),s.a.createElement("div",null,"Invalid"))}))},t}(s.a.Component);S.propTypes={},S.div=function(e){var t=e.children,r=e.className,n=g()(e,["children","className"]);return s.a.createElement(S,n,s.a.createElement("div",{className:r},t))};var j=r(10),D=r.n(j),E=r(11),M=r.n(E),A=r(14);function C(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function B(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?C(Object(r),!0).forEach((function(t){v()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):C(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var k=new RegExp("([+-]?(?:[0-9]*[.])?[0-9]+)\\s*("+["box","bz","bh","bw","em","ex","%","px","cm","mm","in","pt","pc","ch","rem","vh","vw","vmin","vmax"].join("|")+")");function I(e,t){b.a.array(e)||(e=[e]),b.a.array(t)||(t=[t]);var r,n=e.map((function(e){return e&&e.match&&e.match(k)||[,e||0,"px"]})),o=t.map((function(e){return e&&e.match&&e.match(k)||[,e||0,"px"]})),i={},a=[];for(r=0;r<n.length;)i[n[r][2]]=i[n[r][2]]||0,i[n[r][2]]+=parseFloat(n[r][1]),r++;for(r=0;r<o.length;)i[o[r][2]]=i[o[r][2]]||0,i[o[r][2]]+=parseFloat(o[r][1]),r++;Object.keys(i).forEach((function(e){return a.push(i[e]+e)}));for(var s=arguments.length,l=new Array(s>2?s-2:0),c=2;c<s;c++)l[c-2]=arguments[c];return l.length?I.apply(void 0,[a].concat(l)):a}function L(e,t){b.a.array(e)||(e=[e]);var r,n=e.map((function(e){return e&&e.match&&e.match(k)||[,e||0,"px"]})),o={},i=[];for(r=0;r<n.length;)o[n[r][2]]=o[n[r][2]]||1,o[n[r][2]]=parseFloat(n[r][1])*t,r++;return Object.keys(o).forEach((function(e){return i.push(o[e]+e)})),i}function W(e,t){return void 0===t&&(t=0),(e=b.a.array(e)?e:e&&[e]||e).map((function(e){return B(B({},e),{},{from:e.from+t})}))}function F(e,t,r){void 0===t&&(t=0),e=b.a.array(e)?e:e&&[e]||e;var n=0;return e.forEach((function(e){n=Math.max(n,e.from+e.duration)})),e=e.map((function(e){return B(B({},e),{},{from:e.from/n*t,duration:e.duration/n*t})})),r?W(e,r):e}function N(e){return b.a.number(e)?-e:b.a.object(e)?Object.keys(e).reduce((function(t,r){return t[r]=N(e[r]),t}),{}):b.a.array(e)?e.map((function(e){return N(e)})):e.split(/(\-?\d+(?:\.\d+)?|\-?\.\d+)/gi).map((function(e,t){return t%2?-parseFloat(e):e})).join("")}function z(e){e=b.a.array(e)?e:e&&[e]||e;var t=0;return e.forEach((function(e){t=Math.max(t,e.from+e.duration)})),e.map((function(e){return e=B(B({},e),{},{from:t-(e.from+e.duration)},e.apply?{apply:N(e.apply)}:void 0)}))}var V={transform:!0,filter:!0,textShadow:!0,boxShadow:!0};function Y(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var o=r.shift();for(var i in o){var a;if(o.hasOwnProperty(i))if(V[i])e[i]||(e[i]=[]),b.a.array(o[i])?Y(e[i],o[i]):Y(e[i],[o[i]]);else if(b.a.array(o[i]))e[i]||(e[i]=[]),b.a.array(e[i])?(a=e[i]).push.apply(a,o[i]):e[i]=[].concat(o[i],[e[i]]);else e[i]?b.a.object(e[i])&&b.a.object(o[i])?Y(e[i],o[i]):e[i]=H(e[i],o[i]):b.a.object(o[i])?e[i]=B({},o[i]):e[i]=o[i]}return r.length&&Y.apply(void 0,[e].concat(r))||e}function H(e,t){if(!e)return t;if(!t)return e;var r=(""+e).split(/(\-?\d+(?:\.\d+)?|\-?\.\d+)/gi),n=(""+t).split(/(\-?\d+(?:\.\d+)?|\-?\.\d+)/gi),o=r.map((function(e,t){return t%2?parseFloat(e)+parseFloat(n[t]||0):e})).filter((function(e){return""!==e}));return 1===o.length?parseInt(o[0]):o.join("")}function X(e,t){var r={};return(e=b.a.array(e)?e:e&&[e]||e).forEach((function(e){Y(r,e.apply)})),t&&(r=N(r)),r}function q(e,t){return(e=b.a.array(e)?e:e&&[e]||e).map((function(e){return B(B({},e),{},{target:t})}))}function G(e,t){return void 0===t&&(t=1),(e=b.a.array(e)?e:e&&[e]||e).map((function(e){var r=e.apply&&e.apply.transform;if(r){r=b.a.array(r)?r:[r];for(var n=0;n<t;n++)r.unshift({});e=B(B({},e),{},{apply:B(B({},e.apply),{},{transform:r})})}return e}))}var U=r(2),Z={},$=r(16).walknSetExport;$(Z,"filter",r(22)),$(Z,"boxShadow",r(23)),$(Z,"transform",r(28)),$(Z,"textShadow",r(29)),$(Z,"backgroundColor",r(30));var J=Z,K=r(3);function Q(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ee(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(r),!0).forEach((function(t){v()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Q(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var te=ee(ee({},J),{},{height:K.f,width:K.f,top:K.f,left:K.f,right:K.f,bottom:K.f,marginTop:K.f,marginLeft:K.f,marginRight:K.f,marginBottom:K.f,paddingTop:K.f,paddingLeft:K.f,paddingRight:K.f,paddingBottom:K.f,borderRadius:K.f,borderTopColor:K.c,borderLeftColor:K.c,borderRightColor:K.c,borderBottomColor:K.c,borderTopWidth:K.f,borderLeftWidth:K.f,borderRightWidth:K.f,borderBottomWidth:K.f,transformOrigin:Object(K.e)(2),zIndex:K.d,opacity:K.g});function re(e,t,r,n,o,i,a){var s,l=t.split("_");null===(s=te[l[0]])||void 0===s||s.release(t,r,n,o,i,a)}function ne(e,t,r,n,o){Object.keys(r).forEach((function(i){r[i].demux(i,e,t,n,o)}))}function oe(e,t,r,n,o,i,a){var s={},l={};return e&&Object.keys(e).forEach((function(t){te[t]?s[t]=e[t]:Object(U.d)(t,e[t])?Object(U.c)(t)?Object(U.a)(t,e[t],s):s[t]=e[t]:l[t]=e[t]})),s&&Object.keys(s).forEach((function(e){te[e]?(o[e]=te[e]).mux(e,s[e],t,n,r,i,a):(o[e]=K.a).mux(e,s[e],t,n,r,i,a)})),l}function ie(e,t,r,n,o){o=o&&{};var i={},a=e.reduce((function(e,a){var s={};return n[a.target]=n[a.target]||{},t[a.target]=t[a.target]||{},r[a.target]=r[a.target]||{},a.type&&"Tween"!==a.type?e.push(ee({},a)):(!o&&Y(i[a.target]=i[a.target]||{},a.apply),oe(a.apply,s,t[a.target],r[a.target],n[a.target],!0),e.push(ee(ee({},a),{},{apply:s}))),e}),[]);return!o&&Object.keys(i).forEach((function(e){return oe(i[e],{},{},r[e],n[e])})),a}var ae,se,le=r(20),ce=[],ue=function(e){function t(t,r){var n;if(ce.length){var o=ce.pop();return o.scope=r,b.a.array(t)?(o.localLength=1,o.mount(t,r)):t.Axis&&o.mount(t.Axis,r),o||M()(n)}return e.apply(this,arguments)||this}return i()(t,e),t.prototype.destroy=function(){this.scope=void 0,this.__marks.length=0,this.__marksLength.length=0,this.__marksKeys.length=0,this.__processors.length=0,this.__config.length=0,this.__activeForks.length=0,this.__activeProcess.length=0,this.__activeProcess.length=0,this.__outgoing.length=0,this.__incoming.length=0,this.__cPos=0,this.duration=0,this.__cIndex=0,this.__cMaxKey=1,ce.push(this)},t}(r.n(le).a),fe=r(1),pe="undefined"!=typeof window,de=(pe&&(se=" -webkit- -moz- -o- -ms- ".split(" "),!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)||(ae=["(",se.join("touch-enabled),("),"heartz",")"].join(""),window.matchMedia&&window.matchMedia(ae).matches)),pe?{prefix:/webkit/i.test(navigator.appVersion)?"webkit":/firefox/i.test(navigator.userAgent)?"Moz":/trident/i.test(navigator.userAgent)?"ms":"opera"in window?"O":"",dashedPrefix:/webkit/i.test(navigator.appVersion)?"-webkit-":/firefox/i.test(navigator.userAgent)?"-moz-":/trident/i.test(navigator.userAgent)?"-ms-":"opera"in window?"-o-":""}:{prefix:"",dashedPrefix:""}),he={onPageHided:[],onPageShown:[],dragging:[],dragEnabled:[],dragEnabledDesc:[],fingers:{},nbFingers:0,dragstartAnywhere:function(e){var t,r,n,o=he,i=o.dragEnabled.indexOf(this),a=[];if(-1!==i){o.nbFingers||(ge.addEvent(document,{touchmove:o.dragAnywhere,mousemove:o.dragAnywhere,touchend:o.dropAnywhere,mouseup:o.dropAnywhere}),ge.addEvent(this,{click:o.dropWithoutClick},null,null,null,!0)),e.changedTouches&&e.changedTouches.length?a=e.changedTouches:a.push(e);for(var s=0,l=a.length;s<l;s++)if(r=a[s],!(n=o.dragEnabledDesc[i]).nbFingers)for(o.nbFingers++,o.fingers[r.identifier]=o.fingers[r.identifier]||[],o.fingers[r.identifier].push(n),n.nbFingers++,n._startPos.x="MS"==de.prefix?r.x:r.pageX,n._startPos.y="MS"==de.prefix?r.y:r.pageY,n._startTs=e.timeStamp,n._lastPos.x="MS"==de.prefix?r.x:r.pageX,n._lastPos.y="MS"==de.prefix?r.y:r.pageY,t=0;t<n.dragstart.length;t++)n.dragstart[t][0].call(n.dragstart[t][1]||this,e,r,n)}},dragAnywhere:function(e){var t,r,n,o=this,i=he,a=[];he.dragging[0];e.changedTouches&&e.changedTouches.length?a=e.changedTouches:a.push(e);for(var s=0,l=a.length;s<l;s++)r=a[s],i.fingers[r.identifier],i.fingers[r.identifier]&&i.fingers[r.identifier].forEach((function(i){if(n)return i._lastPos.x=i._startPos.x="MS"==de.prefix?r.x:r.pageX,void(i._lastPos.y=i._startPos.y="MS"==de.prefix?r.y:r.pageY);for(i._lastPos.x="MS"==de.prefix?r.x:r.pageX,i._lastPos.y="MS"==de.prefix?r.y:r.pageY,t=0;t<i.drag.length;t++)n=!1===i.drag[t][0].call(i.drag[t][1]||o,e,r,i)}))},dropWithoutClick:function(e){he.preventNextClick&&(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation(),he.preventNextClick=!1),ge.removeEvent(this,{click:this.dropWithoutClick})},dropAnywhere:function(e){var t,r,n,o=this,i=he,a=[];e.changedTouches&&e.changedTouches.length?a=e.changedTouches:a.push(e);for(var s=0,l=a.length;s<l;s++)r=a[s],i.nbFingers--,i.fingers[r.identifier]&&i.fingers[r.identifier].forEach((function(i){for(i.nbFingers--,n=n||i.mouseDrag&&e.timeStamp-i._startTs>250,i._lastPos.x="MS"==de.prefix?r.x:r.pageX,i._lastPos.y="MS"==de.prefix?r.y:r.pageY,t=0;t<i.dropped.length;t++)i.dropped[t][0].call(i.dropped[t][1]||o,e,r,i)})),i.fingers[r.identifier]=null;n&&(i.preventNextClick=!0),i.nbFingers||ge.removeEvent(document,{touchmove:i.dragAnywhere,mousemove:i.dragAnywhere,touchend:i.dropAnywhere,mouseup:i.dropAnywhere})},getDraggable:function(e,t,r){var n,o=this.dragEnabled.indexOf(e);return-1===o?(this.dragEnabled.push(e),this.dragEnabledDesc.push(n={mouseDrag:t,touchDrag:r,nbFingers:0,locks:0,_startPos:{x:0,y:0},_lastPos:{x:0,y:0},dragstart:[],drag:[],dragEnd:[],dropped:[]}),ge.addEvent(e,{mousedown:t&&this.dragstartAnywhere,touchstart:r&&this.dragstartAnywhere},null,null,null,!0)):n=this.dragEnabledDesc[o],n},freeDraggable:function(e){var t=this.dragEnabled.indexOf(e);-1!==t&&(this.dragEnabled.splice(t,1),this.dragEnabledDesc.splice(t,1),ge.removeEvent(e,{mousedown:this.dragstartAnywhere,touchstart:this.dragstartAnywhere}))},addEvent:function(e,t,r,n){e.addEventListener?e.addEventListener(t,r,n):e.attachEvent&&e.attachEvent("on"+t,r.related=function(t){return r.call(e,t)})},removeEvent:function(e,t,r,n){e.removeEventListener?e.removeEventListener(t,r,n):e.attachEvent&&e.detachEvent("on"+t,r.related)},rmDragFn:function(e,t,r){for(var n=0,o=e.length;n<o;n++)if(e[n][0]===t)return e.splice(n,1);console.warn("Rm event : Listener not found !!")}},ge={addEvent:function(e,t,r,n,o,i){if(void 0===o&&(o=!0),fe.object(t))for(var a in t)t.hasOwnProperty(a)&&t[a]&&this.addEvent(e,a,t[a],n,o,i);else"dragstart"===t?he.getDraggable(e,n,o).dragstart.push([r]):"drag"===t?he.getDraggable(e,n,o).drag.push([r]):"dropped"===t?he.getDraggable(e,n,o).dropped.push([r]):e.addEventListener?e.addEventListener(t,r,{passive:!1}):e.attachEvent&&e.attachEvent("on"+t,r.related=function(t){return r.call(e,t)})},removeEvent:function(e,t,r,n,o){var i;if(fe.object(t))for(var a in t)t.hasOwnProperty(a)&&this.removeEvent(e,a,t[a],n);else/^(drag|drop)/.test(t)?(i=he.getDraggable(e),he.rmDragFn(i[t],r,n),i.dragstart.length||i.drag.length||i.dragEnd.length||i.dropped.length||he.freeDraggable(e)):e.removeEventListener?e.removeEventListener(t,r,o):e.attachEvent&&e.detachEvent("on"+t,r.related)},offset:function(e){for(var t={top:0,left:0,width:e.offsetWidth,height:e.offsetHeight};e;)t.top=t.top+parseInt(e.offsetTop),t.left=t.left+parseInt(e.offsetLeft),e=e.offsetParent;return t},findReactParents:function(e){var t,r=[e];for(var n in e)if(n.startsWith("__reactInternalInstance$")||n.startsWith("__reactFiber$")){for(t=e[n];t.return;)t.stateNode&&!r.includes(t.stateNode)&&r.push(t.stateNode),t=t.return;return r}return e.parentNode&&this.findReactParents(e.parentNode)}},me=ge;function ve(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ye(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ve(Object(r),!0).forEach((function(t){v()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ve(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var be=r(1),xe=r(14),we=function(e){return"number"==typeof e?e?e<0?-1:1:e==e?e:NaN:NaN},_e=Math.abs,Oe=Math.floor,Pe=(Math.round,Math.min),Re=Math.max,Te=function(e){return void 0===e&&(e=0),e.toFixed(3)},Se=.15;var je=function(){function e(e){var t=this._={};t.conf=ye(ye({},this.constructor.config),e),this.active=!1,t.pos=e.value||0,t.refFPS=16,t.min=e.min||0,t.max=e.max||0,t.currentStop=0,t.lastInertiaPos=0,t.stops=t.conf.stops,t.disabled=t.conf.disabled,t.wayPoints=t.conf.wayPoints,t.inertiaFn=xe.easePolyOut,t.targetWayPointIndex=0,this._detectCurrentSnap()}var t=e.prototype;return t.updateConf=function(e){var t=this._;t.min=e.min||0,t.max=e.max||0,t.stops=e.stops,t.disabled=e.disabled,t.wayPoints=e.wayPoints,t.conf.willStop=e.willStop,t.conf.willSnap=e.willSnap,t.conf.shouldLoop=e.shouldLoop},t.startMove=function(){var e=this._;e.baseTS=e.startTS=Date.now()/1e3,e.lastVelocity=e.lastIVelocity=0,e.lastAccel=0,e.posDiff=0,e.loopsDiff=0,this.active=!0,this.holding=!0,e.inertia=!1},t.hold=function(e){var t,r=this._,n=void 0!==r.lastHoldPos?e-r.lastHoldPos:0,o=Date.now()/1e3,i=o-r.baseTS,a=e,s=n/i;if(r.lastHoldPos=e,r.lastBaseTs||(r.lastBasePos=e,r.lastBaseTs=r.baseTS),i<.003||((s<=0&&r.lastVelocity>0||s>=0&&r.lastVelocity<0||_e(s)<_e(.2*r.lastVelocity))&&o-r.lastBaseTs>Se?(r.lastBasePos=e,r.lastBaseTs=o,r.lastVelocity=0,r.lastIVelocity=0,r.baseTS=o,r.targetDist=0,r.lastInertiaPos=0):s<=0&&r.lastVelocity>0||s>=0&&r.lastVelocity<0||_e(s)<_e(.2*r.lastVelocity)||(r.lastIVelocity=s,r.lastVelocity=(a-r.lastBasePos)/(o-r.lastBaseTs),r.baseTS=o,r.targetDist=0,r.lastInertiaPos=0,r.targetWayPoint=void 0,r.targetWayPointIndex=void 0)),r.conf.bounds&&(a>r.max?a=r.max:a<r.min&&(a=r.min)),r.conf.shouldLoop)for(;t=r.conf.shouldLoop(a,n);)a+=t;r.pos=a},t.release=function(){var e,t,r=this._;we(r.lastVelocity);this.holding=!1,function(e){var t=we(e.lastVelocity);e.disabled?(e.loopsTarget=0,e.loopsVelSum=0,e.targetDist=0,e.targetDuration=0):(e.loopsTarget=Oe(Math.log(.05/_e(e.lastVelocity))/Math.log(.9)),e.loopsVelSum=(Math.pow(.9,e.loopsTarget)-_e(e.lastVelocity))/(.9-1),e.targetDist=e.loopsVelSum*e.refFPS*t/1e3||0,e.targetDuration=_e(e.loopsTarget*e.refFPS*t)||0)}(r),r.lastHoldPos=void 0,r.lastBasePos=void 0,r.lastBaseTs=void 0,r.holding=!1,r.conf.bounds&&r.conf.snapToBounds&&(r.pos+r.targetDist>r.max?(r.targetDist=r.max-r.pos,r.targetDuration=_e(10*r.targetDist)):r.pos+r.targetDist<r.min&&(r.targetDist=r.min-r.pos,r.targetDuration=_e(10*r.targetDist))),r.targetDuration||(r.targetDuration=50),this.active=!0,r.inertia=!0,r.lastInertiaPos=0,r.inertiaStartTm=r.inertiaLastTm=Date.now(),this._doSnap(null,500),null===(e=(t=r.conf).willEnd)||void 0===e||e.call(t,r.targetDist+r.pos,r.targetDist,r.targetDuration)},t.update=function(e){void 0===e&&(e=Date.now());var t,r,n=this._,o=n.inertiaFn((e-n.inertiaStartTm)/n.targetDuration)*n.targetDist;if(!n.inertia)return n.pos;var i=o-n.lastInertiaPos;if(n.lastInertiaPos=o,e-n.inertiaStartTm>=n.targetDuration&&(n.inertia=this.active=!1,n.lastInertiaPos=i=0,n.targetDist=0,n.targetWayPoint&&(i=n.targetWayPoint.at-n.pos,n.currentWayPoint=n.targetWayPoint,n.currentWayPointIndex=n.targetWayPointIndex,n.targetWayPoint=null,n.targetWayPointIndex=null),n.conf.onInertiaEnd&&n.conf.onInertiaEnd(n.pos,n.currentWayPoint)),i=i||0,t=n.pos+i,n.conf.shouldLoop)for(;r=n.conf.shouldLoop(t,i);)t+=r,n.inertia;return n.pos=t,t},t.setPos=function(e){var t=this._;if(t.inertia=!1,this.active=!1,t.lastInertiaPos=0,t.targetDist=0,t.inertiaStartTm=0,t.inertiaLastTm=0,t.targetDuration=0,t.conf.shouldLoop){for(var r,n=e;r=t.conf.shouldLoop(n,t.pos-e);)n+=r;e=n}t.pos=e,t.conf.bounds&&(t.pos=Re(t.pos,t.min),t.pos=Pe(t.pos,t.max))},t.setWayPoints=function(e){this._.wayPoints=e,this._detectCurrentSnap()},t.teleport=function(e){var t=this._;if(!t.inertia)return t.pos+=e;t.pos+=e},t.dispatch=function(e,t){void 0===t&&(t=500);var r=this._,n=Date.now();this.active=!0,r.inertia&&we(e)===we(r.targetDist)?(r.targetDist+=e,r.targetDuration+=t/2):(r.inertia=!0,r.lastInertiaPos=0,r.inertiaStartTm=r.inertiaLastTm=n,r.targetDist=e,r.targetDuration=t),r.conf.bounds&&(r.pos+r.targetDist>r.max?(r.targetDist=r.max-r.pos,r.targetDuration=_e(10*r.targetDist)):r.pos+r.targetDist<r.min&&(r.targetDist=r.min-r.pos,r.targetDuration=_e(10*r.targetDist))),this._doSnap(we(e),750)},t._detectCurrentSnap=function(){var e,t=this._,r=t.pos;if(t.wayPoints&&t.wayPoints.length)for(e=0;e<t.wayPoints.length;e++)if(Te(t.wayPoints[e].at)===Te(r))return t.currentWayPoint=t.wayPoints[e],t.currentWayPointIndex=e,e},t._doSnap=function(e,t){void 0===t&&(t=2e3);var r,n,o,i,a=this._,s=a.targetDist+(a.pos-(a.lastInertiaPos||0)),l=0;if(a.wayPoints&&a.wayPoints.length){if(a.conf.shouldLoop)for(;i=a.conf.shouldLoop(s,0);)s+=i,l+=i;for(o=0;o<a.wayPoints.length&&!(a.wayPoints[o].at>s);o++);if(o===a.wayPoints.length?o--:0===o?o=0:(n=(a.wayPoints[o].at-a.wayPoints[o-1].at)/2,n=a.wayPoints[o-1].at+n*((a.wayPoints[o].gravity||1)/(a.wayPoints[o-1].gravity||1)),e?e<0&&o--:s<n&&o--),a.conf.maxJump&&be.number(a.currentWayPointIndex)){var c=o-a.currentWayPointIndex;_e(c)>a.conf.maxJump&&(o=a.currentWayPointIndex+we(c)*a.conf.maxJump)}r=a.wayPoints[o].at,a.conf.willSnap&&a.conf.willSnap(o,a.wayPoints[o]),a.lastInertiaPos=a.lastInertiaPos||0,r=r-(a.pos-a.lastInertiaPos)-l,a.targetDuration=Re(50,Pe(t,_e(a.targetDuration/a.targetDist*r)))||0,a.targetDist=r,a.targetWayPoint=a.wayPoints[o],a.targetWayPointIndex=o}else r=~~(a.pos-a.lastInertiaPos),a.conf.infinite||(r>a.max?(r=a.max-r,a.targetDuration=Pe(t,_e(a.targetDuration/a.targetDist*r)),a.targetDist=r):r<a.min&&(r=a.min-r,a.targetDuration=Pe(t,_e(a.targetDuration/a.targetDist*r)),a.targetDist=r))},t.setBounds=function(e,t){var r=this._;r.min=e,r.max=t},t.isInbound=function(e){var t=this._,r=void 0!==t.lastHoldPos?e-t.lastHoldPos:0,n=(t.targetDist||0)+(t.pos-(t.lastInertiaPos||0))+r;
25
- //!(pos >= _.min && pos <= _.max) && console.warn("out", _.pos, pos, delta);
26
- return n>=t.min&&n<=t.max},e}();function De(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ee(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?De(Object(r),!0).forEach((function(t){v()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):De(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}je.config={bounds:!0,snapToBounds:!0};var Me,Ae,Ce=new Function("try {return this===window;}catch(e){ return false;}")(),Be=b.a.array,ke=[],Ie=function e(){var t=0,r=Date.now(),n=r-Ae;for(Ae=r;t<ke.length;t++)ke[t].cpos=Math.min(n+ke[t].cpos,ke[t].duration),ke[t].apply(ke[t].cpos,ke[t].duration),ke[t].cpos==ke[t].duration&&(ke[t].cb&&setTimeout(ke[t].cb),ke.splice(t,1),t--);ke.length?setTimeout(e,16):Me=!1},Le=function(e){function t(t){var r;(r=e.apply(this,arguments)||this).axes={},r._scrollWatcherByAxis={},r._updateNodeInertia=function(){var e,t=r._,n=t.activeInertia.length;r._inertiaRaf&&cancelAnimationFrame(r._inertiaRaf);for(var o=0;n>o;o++)((e=t.activeInertia[o]).inertia.x.active||e.inertia.x.holding)&&(e.target.scrollLeft=~~e.inertia.x.update()),(e.inertia.y.active||e.inertia.y.holding)&&(e.target.scrollTop=~~e.inertia.y.update()),e.inertia.x.active||e.inertia.y.active||e.inertia.x.holding||e.inertia.y.holding||(t.activeInertia.slice(o,1),o--,n--);r._inertiaRaf=0!==n?requestAnimationFrame(r._updateNodeInertia):null},r._swap={};var n=r._={refs:{},muxByTarget:{}};return n.box={x:100,y:100,z:800},r.__isTweener=!0,n._rafLoop=r._rafLoop.bind(M()(r)),n.rootRef=r.props.forwardedRef||s.a.createRef(),n.options=Ee({maxClickTm:200,maxClickOffset:5},t.tweenerOptions||{}),n.tweenRefCSS={},n.tweenRefs={},n.tweenRefMaps={},n.iMapOrigin={},n.tweenRefInitialData={},n.tweenEnabled=!0,n.tweenRefOrigin={},n.tweenRefOriginCss={},n.muxDataByTarget=n.muxDataByTarget||{},n.tweenRefDemuxed=n.tweenRefDemuxed||{},n.tweenRefTargets=n.tweenRefTargets||[],n.runningAnims=n.runningAnims||[],n.scrollHook=[],n.activeInertia=[],Ce&&window.addEventListener("resize",r._.onResize=function(e){var t,o,i;r._updateBox(),r._updateTweenRefs(),null===(t=n.rootRef)||void 0===t||null===(o=t.current)||void 0===o||null===(i=o.windowDidResize)||void 0===i||i.call(o,e)}),r}i()(t,e);var r=t.prototype;return r.tweenRef=function(e,t,r,n,o,i){void 0===t&&(t={}),void 0===r&&(r={});var a=this._,s={},l={};return a.tweenRefs[e]||a.tweenRefTargets.push(e),a.tweenRefs[e]&&(i||a.iMapOrigin[e]!==r&&!c()(r,a.iMapOrigin[e])||a.tweenRefOriginCss[e]!==t&&!c()(t,a.tweenRefOriginCss[e]))?(a.iMapOrigin[e]=r,a.tweenRefOriginCss[e]=t,r=r||{},t=Ee(Ee({},t=t||{}),oe(r,s,l,a.muxDataByTarget[e],a.muxByTarget[e],!1,!0)),Object.keys(a.tweenRefOrigin[e]).forEach((function(t){return a.tweenRefMaps[e][t]-=a.tweenRefOrigin[e][t]})),Object.keys(l).forEach((function(t){return a.tweenRefMaps[e][t]=b.a.number(a.tweenRefMaps[e][t])?a.tweenRefMaps[e][t]:l[t]})),Object.keys(s).forEach((function(t){return a.tweenRefMaps[e][t]+=s[t]})),Object.keys(a.tweenRefOrigin[e]).forEach((function(t){re(0,t,a.tweenRefMaps[e],a.tweenRefCSS[e],a.muxDataByTarget[e],a.muxByTarget[e])})),a.tweenRefOrigin[e]=Ee({},s),ne(a.tweenRefMaps[e],a.tweenRefCSS[e],a.muxByTarget[e],a.muxDataByTarget[e],a.box),this._updateTweenRef(e,!0)):a.tweenRefs[e]?ne(a.tweenRefMaps[e],a.tweenRefCSS[e],a.muxByTarget[e],a.muxDataByTarget[e],a.box):(a.iMapOrigin[e]=r,t=t||{},r=r||{},a.tweenRefs[e]=!0,a.muxByTarget[e]=a.muxByTarget[e]||{},a.muxDataByTarget[e]=a.muxDataByTarget[e]||{},a.tweenRefOriginCss[e]=t,a.tweenRefMaps[e]=a.tweenRefMaps[e]||{},a.tweenRefOrigin[e]?(t=Ee(Ee({},t),oe(r,s,l,a.muxDataByTarget[e],a.muxByTarget[e],!1,!0)),Object.keys(l).forEach((function(t){return a.tweenRefMaps[e][t]=b.a.number(a.tweenRefMaps[e][t])?a.tweenRefMaps[e][t]-l[t]:0})),Object.keys(s).forEach((function(t){return a.tweenRefMaps[e][t]+=s[t]}))):(t=Ee(Ee({},t),oe(r,s,l,a.muxDataByTarget[e],a.muxByTarget[e])),s=Object.assign({},l,s||{}),Object.keys(s).forEach((function(t){return a.tweenRefMaps[e][t]=(a.tweenRefMaps[e][t]||0)+s[t]}))),a.tweenRefOrigin[e]=Ee({},s),a.tweenRefCSS[e]=t,ne(s=a.tweenRefMaps[e],t,a.muxByTarget[e],a.muxDataByTarget[e],a.box)),o?{style:Ee({},a.tweenRefCSS[e])}:{style:Ee({},a.tweenRefCSS[e]),ref:function(t){return a.refs[e]=t}}},r.rmTweenRef=function(e){this._.tweenRefs[e]&&(this._.tweenRefTargets.splice(this._.tweenRefTargets.indexOf(e),1),delete this._.tweenRefs[e],delete this._.muxByTarget[e],delete this._.muxDataByTarget[e],delete this._.iMapOrigin[e],delete this._.tweenRefOrigin[e],delete this._.tweenRefCSS[e],delete this._.tweenRefMaps[e],delete this._.refs[e])},r.resetTweenable=function(){for(var e=this,t=this._,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];n.forEach((function(r){e.tweenRef(r,t.tweenRefOriginCss[r],t.iMapOrigin[r],null,null,!0)})),this._updateTweenRefs()},r.updateRefStyle=function(e,t,r){var n,o=this,i=this._;return Be(e)&&Be(t)?e.map((function(e,n){return o.updateRefStyle(e,t[n],r)})):Be(e)?e.map((function(e){return o.updateRefStyle(e,t,r)})):i.tweenRefMaps[e]?(n=oe(t,i.tweenRefMaps[e],{},i.muxDataByTarget[e],i.muxByTarget[e]),Object.assign(i.tweenRefCSS[e],n),Object.assign(i.tweenRefOriginCss[e],n),ne(i.tweenRefMaps[e],i.tweenRefCSS[e],i.muxByTarget[e],i.muxDataByTarget[e],i.box),void this._updateTweenRef(e,!0)):console.warn("React-Voodoo : Can't update styles of an unknown Node id '",e,"'")},r.getTweenableRef=function(e){try{return this._.refs[e]&&D.a.findDOMNode(this._.refs[e])}catch(t){try{return this._.refs[e]._.rootRef.current}catch(t){return void console.warn("react-voodoo: Can't find voodooNode ",e,t)}}},r.getRootNode=function(){try{return this.getTweenableRef(this._.rootRef)||this.isMountedFromHook&&this._.rootRef&&this._.rootRef.current||D.a.findDOMNode(this)}catch(e){return this._.rootRef&&this._.rootRef.current}},r.pushAnim=function(e,r,n){var o=this;void 0===n&&(n=!0);var i,a,s=this._,l={};if(Be(e)?i=e:(i=e.anims,e.initial),i instanceof ue||(i=ie(i,l,this._.muxDataByTarget,this._.muxByTarget),i=new ue(i,this._.tweenRefMaps),Object.keys(l).forEach((function(e){return o._.tweenRefMaps[e]&&Object.assign(o._.tweenRefMaps[e],Ee(Ee({},l[e]),o._.tweenRefMaps[e]))||(a=console.warn("react-voodoo : Can't find tween target ",e," in ",t.displayName)||!0)}))),!a)return new Promise((function(e){i.run(o._.tweenRefMaps,(function(){var t=o._.runningAnims.indexOf(i);-1!=t&&o._.runningAnims.splice(t,1),Object.keys(l).forEach((function(e){Object.keys(l[e]).forEach((function(t){re(0,t,s.tweenRefMaps[e],s.tweenRefCSS[e],s.muxDataByTarget[e],s.muxByTarget[e],n)}))})),i.destroy(),e(i)})),o._.runningAnims.push(i),o._.live||(o._.live=!0,requestAnimationFrame(o._._rafLoop=o._._rafLoop||o._rafLoop.bind(o)))})).then((function(e){return r&&r(e)}))},r.applyTweenState=function(e,t,r){var n=this,o={},i={};oe(t,o,i,this._.muxDataByTarget[e],this._.muxByTarget[e],!0),Object.keys(o).map((function(t){return n._.tweenRefMaps[e][t]=(!r&&n._.tweenRefMaps[e][t]||i[t])+o[t]}))},r.initAxis=function(e,t,r){var n,o,i=this,a=t.inertia,s=t.scrollableArea,l=void 0===s?0:s,c=t.scrollableBounds,u=t.scrollableWindow,f=t.defaultPosition,p=t.scrollFirst,d=(this._,this.axes[e]),h=c,g=!r&&d?d.scrollPos:f||h&&h.min||0,m=Math.max(d&&d.scrollableArea||0,l),v=Math.max(d&&d.scrollableWindow||0,u),y=d?d.targetPos:g,b=d?d.inertia:new je(Ee(Ee({disabled:!a},a||{}),{},{value:g})),x={scrollFirst:p,tweenAxis:d&&d.tweenAxis||[],scrollPos:g,targetPos:y,inertia:b,scrollableWindow:v,scrollableBounds:h,scrollableArea:m,scrollTo:function(t,r,n,o){return i.scrollTo(t,r,e,n,o)}};this.axes[e]=x,!a&&(b._.disabled=!0),a&&b&&!b.active&&(b._.pos=g),a&&b&&b.updateConf(a),b&&h?null===(n=b.setBounds)||void 0===n||n.call(b,h.min,h.max):b&&(null===(o=b.setBounds)||void 0===o||o.call(b,0,m))},r._getAxis=function(e){var t=this;void 0===e&&(e="scrollY");var r=this._;return this.axes[e]=this.axes[e]||{tweenAxis:[],scrollPos:r.options.initialScrollPos&&r.options.initialScrollPos[e]||0,targetPos:0,scrollableWindow:0,scrollableArea:0,inertia:new je(Ee({value:r.options.initialScrollPos&&r.options.initialScrollPos[e]||0},r.options.axes&&r.options.axes[e]&&r.options.axes[e].inertia||{})),scrollTo:function(r,n,o,i){return t.scrollTo(r,n,e,o,i)}},this.axes[e]},r.getAxisState=function(e){var t=this,r=(this._,{});return this.axes&&Object.keys(this.axes).forEach((function(e){return r[e]=t.axes[e].targetPos||t.axes[e].scrollPos})),r},r.getScrollPos=function(e){void 0===e&&(e="scrollY");this._;return this.axes[e]?this.axes[e].targetPos||this.axes[e].scrollPos:0},r.scrollTo=function(e,t,r,n,o){var i=this;void 0===t&&(t=0),void 0===r&&(r="scrollY");var a=this._;return Ce?new Promise((function(s,l){if(i.axes&&i.axes[r]){var c=i.axes[r].targetPos,u=function(e){var t,n,o;(e=~~(1e4*e)/1e4,i.axes[r].targetPos=i.axes[r].scrollPos=e,~~e!==c)&&(i.axisDidScroll(~~e,r),null===(t=a.rootRef)||void 0===t||null===(n=t.current)||void 0===n||null===(o=n.componentDidScroll)||void 0===o||o.call(n,~~e,r));i._updateTweenRefs()};if(e=Math.max(0,e),e=Math.min(e,i.axes[r].scrollableArea||0),i.axes[r].targetPos=e,t)i._runScrollGoTo(r,e,t,A[n],o,u,s);else{var f,p,d,h,g,m,v,y,b;if(null===(f=i.axes)||void 0===f||null===(p=f[r])||void 0===p||null===(d=p.inertia)||void 0===d||d.setPos(e),null!==(h=i.axes)&&void 0!==h&&null!==(g=h[r])&&void 0!==g&&null!==(m=g.inertia)&&void 0!==m&&m._)e=null===(v=i.axes)||void 0===v||null===(y=v[r])||void 0===y||null===(b=y.inertia)||void 0===b?void 0:b._.pos;i.axes[r].tweenAxis.forEach((function(t){return t.goTo(e,a.tweenRefMaps,!1,o)})),u(e),s()}a.live||(a.live=!0,requestAnimationFrame(a._rafLoop))}})).then((function(e){var t,n,o;null===(t=i.axes)||void 0===t||null===(n=t[r])||void 0===n||null===(o=n.inertia)||void 0===o||o._detectCurrentSnap()})):(console.warn("React-voodoo : scrollTo can't be used serverside, use Axis defaultPosition prop to set initial axes position"),Promise.resolve())},r.addScrollableAnim=function(e,t,r){var n,o=this;void 0===t&&(t="scrollY");var i,a=this._,s={},l=this._getAxis(t);return Be(e)?i=e:(i=e.anims,e.length),i instanceof ue||(i=ie(i,s,this._.muxDataByTarget,this._.muxByTarget),(i=new ue(i,a.tweenRefMaps)).initials=s,Object.keys(s).forEach((function(e){a.tweenRefOrigin[e]=a.tweenRefOrigin[e]||{},a.tweenRefMaps[e]=a.tweenRefMaps[e]||{},Object.assign(o._.tweenRefMaps[e],Ee(Ee({},s[e]),o._.tweenRefMaps[e]))}))),l.tweenAxis.push(i),l.scrollPos=l.scrollPos||0,l.scrollableArea=l.scrollableArea||0,l.scrollableArea=Math.max(l.scrollableArea,i.duration),l.scrollableBounds||null===(n=l.inertia)||void 0===n||n.setBounds(0,l.scrollableArea),i.goTo(l.scrollPos,this._.tweenRefMaps,!1,!0),this._updateTweenRefs(),i},r.rmScrollableAnim=function(e,t){void 0===t&&(t="scrollY");var r,n,o=this._,i=this._getAxis(t),a=i.tweenAxis.indexOf(e);-1!==a&&(i.tweenAxis.splice(a,1),i.scrollableArea=Math.max.apply(Math,i.tweenAxis.map((function(e){return e.duration})).concat([0])),i.scrollableBounds||null===(n=i.inertia)||void 0===n||n.setBounds(0,i.scrollableArea||0),e.goTo(0,this._.tweenRefMaps,!1,!0),Object.keys(e.initials).forEach((function(t){Object.keys(e.initials[t]).forEach((function(e){re(0,e,o.tweenRefMaps[t],o.tweenRefCSS[t],o.muxDataByTarget[t],o.muxByTarget[t]);//!_.tweenRefCSS[id] &&
27
- }))})),delete e.initials,e.destroy(),r=!0,this._updateTweenRefs());!r&&console.warn("react-voodoo: Axis not found : ",t)},r._runScrollGoTo=function(e,t,r,n,o,i,a){var s=this;void 0===n&&(n=function(e){return e});var l=this.axes[e].scrollPos,c=t-l;ke.push({apply:function(t,r){var a=l+n(t/r)*c;if(s._.tweenEnabled){var u,f,p,d,h,g,m,v,y;if(null===(u=s.axes)||void 0===u||null===(f=u[e])||void 0===f||null===(p=f.inertia)||void 0===p||p.setPos(a),null!==(d=s.axes)&&void 0!==d&&null!==(h=d[e])&&void 0!==h&&null!==(g=h.inertia)&&void 0!==g&&g._)a=null===(m=s.axes)||void 0===m||null===(v=m[e])||void 0===v||null===(y=v.inertia)||void 0===y?void 0:y._.pos;s.axes[e].tweenAxis.forEach((function(e){return e.goTo(a,s._.tweenRefMaps,!1,o)})),i&&i(a)}},duration:r,cpos:0,cb:a}),Me||(Me=!0,Ae=Date.now(),setTimeout(Ie,16))},r.getScrollableNodes=function(e){var t=this,r=me.findReactParents(e),n=this._;return(r=n.rootRef&&n.rootRef.current&&n.rootRef.current.hookScrollableTargets&&n.rootRef.current.hookScrollableTargets(r)||r).map((function(e){return b.a.string(e)?t._.refs[e]&&D.a.findDOMNode(t._.refs[e])||t.refs[e]||document.getElementById(e):e}))},r.componentShouldScroll=function(){var e,t=this._;return!(t.rootRef&&t.rootRef.current&&t.rootRef.current.componentShouldScroll)||(e=t.rootRef.current).componentShouldScroll.apply(e,arguments)},r.watchAxis=function(e,t){var r=this._scrollWatcherByAxis;return r[e]=r[e]||[],r[e].push(t),function(){var n=r[e].indexOf(t);r[e].splice(n,1)}},r.axisDidScroll=function(e,t){var r=this._scrollWatcherByAxis[t],n=null==r?void 0:r.length;if(r)for(;n;)r[--n](e)},r.applyInertia=function(e,t){var r,n,o,i=this,a=e.inertia.update(),s=this._;this.axes[t].tweenAxis.forEach((function(e){i.axes[t].targetPos=i.axes[t].scrollPos=a,e.goTo(a,i._.tweenRefMaps)})),null===(r=s.rootRef)||void 0===r||null===(n=r.current)||void 0===n||null===(o=n.componentDidScroll)||void 0===o||o.call(n,a,t),this.axisDidScroll(a,t),this._updateTweenRefs(),e.inertia.active||e.inertia.holding?e.inertiaFrame=setTimeout(this.applyInertia.bind(this,e,t),33):e.inertiaFrame=null},r.isInertiaActive=function(){var e=this,t=(this._,!1);return this.axes&&Object.keys(this.axes).forEach((function(r){return t=t||e.axes[r]&&e.axes[r].inertia.active})),t},r.dispatchScroll=function(e,t){void 0===t&&(t="scrollY");var r=this.axes[t],n=r&&r.scrollPos;r&&n!==n+e&&(r.inertia.dispatch(e,100),!r.inertiaFrame&&this.applyInertia(r,t))},r.isAxisOut=function(e,t,r){this._;var n=this.axes&&this.axes[e],o=r?t:n&&n.scrollPos+t;return o=o&&Math.round(o),!n||(n.scrollableBounds?o<=n.scrollableBounds.min||o>=n.scrollableBounds.max:o<=0||o>=n.scrollableArea)},r._doDispatch=function(e,t,r,n){var o,i,a,s=e;for(i=this.getScrollableNodes(s),a=0;a<i.length;a++){if(i[a].__isTweener)i[a].isAxisOut("scrollX",t)||i[a].componentShouldScroll&&!i[a].componentShouldScroll("scrollX",t)||(i[a].dispatchScroll(t,"scrollX",n),t=0),i[a].isAxisOut("scrollY",r)||i[a].componentShouldScroll&&!i[a].componentShouldScroll("scrollY",r)||(i[a].dispatchScroll(r,"scrollY",n),r=0);else if(b.a.element(i[a])&&(o=getComputedStyle(i[a],null),/(auto|scroll)/.test(o.getPropertyValue("overflow")+o.getPropertyValue("overflow-x")+o.getPropertyValue("overflow-y"))&&(r<0&&0!==i[a].scrollTop||r>0&&i[a].scrollTop!==i[a].scrollHeight-i[a].clientHeight)))return;if(!t&&!r)break}if(this._updateNodeInertia(),!t&&!r)return!0},r._activateNodeInertia=function(e){var t=this._,r=t.activeInertia.findIndex((function(t){return t.target===e}));return-1===r&&(t.activeInertia.push({inertia:{x:new je({max:e.scrollWidth-e.offsetLeft,value:e.scrollLeft}),y:new je({max:e.scrollHeight-e.offsetHeight,value:e.scrollTop})},target:e}),r=t.activeInertia.length-1),t.activeInertia[r].inertia},r.setRootRef=function(e){this._.rootRef=e},r._updateBox=function(){var e=this.getRootNode();e&&(this._.box.inited=!0,this._.box.x=e.offsetWidth,this._.box.y=e.offsetHeight)},r._rafLoop=function(){this._updateTweenRefs(),this._.runningAnims.length?requestAnimationFrame(this._._rafLoop):this._.live=!1},r._updateTweenRefs=function(){if(this._.tweenEnabled)for(var e,t=0;t<this._.tweenRefTargets.length;t++)e=this._.tweenRefTargets[t],this._updateTweenRef(e)},r._updateTweenRef=function(e,t){var r,n=this._swap;if(this._.tweenRefCSS[e]&&ne(this._.tweenRefMaps[e],n,this._.muxByTarget[e],this._.muxDataByTarget[e],this._.box),r=this.getTweenableRef(e)){for(var o in this._.tweenRefCSS[e])void 0===n[o]&&(r.style[o]=this._.tweenRefCSS[e][o]);for(var i in n)this._.tweenRefCSS[e].hasOwnProperty(i)&&((t||n[i]!==this._.tweenRefCSS[e][i])&&(r.style[i]=this._.tweenRefCSS[e][i]=n[i],!0),delete n[i])}return this._.tweenRefCSS[e]},r.componentWillUnmount=function(){var t=this;this.getRootNode();this._.tweenEnabled&&(this._.tweenEnabled=!1,window.removeEventListener("resize",this._.onResize),Object.keys(this.axes).forEach((function(e){t.axes[e].inertiaFrame&&clearTimeout(t.axes[e].inertiaFrame)}))),e.prototype.componentWillUnmount&&e.prototype.componentWillUnmount.apply(this,arguments)},r.componentDidMount=function(){var t=this,r=this.constructor;this._.rendered=!0,this._.tweenEnabled&&(this._updateBox(),this._updateTweenRefs()),r.scrollableAnim&&(b.a.array(r.scrollableAnim)?this.addScrollableAnim(r.scrollableAnim):Object.keys(r.scrollableAnim).forEach((function(e){return t.addScrollableAnim(r.scrollableAnim[e],e)}))),e.prototype.componentDidMount&&e.prototype.componentDidMount.apply(this,arguments)},r.componentDidUpdate=function(t,r){this._.tweenEnabled&&(this._updateBox(),this._updateTweenRefs()),e.prototype.componentDidUpdate&&e.prototype.componentDidUpdate.apply(this,arguments)},r.render=function(){var e=this,t=this.props,r=t.BaseComponent,n=t.oProps;return s.a.createElement(u.Consumer,null,(function(t){return e._parentTweener=t,s.a.createElement(u.Provider,{value:e},s.a.createElement(r,d()({},n,{ref:e._.rootRef,tweener:e})))}))},t}(s.a.Component),We=function(e,t){void 0===t&&(t="div");var r=s.a.useContext(u),n=s.a.useRef(),o=s.a.useRef(),i=s.a.useMemo((function(){return!0===e||b.a.string(e)}),[]),a=s.a.useMemo((function(){if(!0===e)return r;if(b.a.string(e)){for(var t=r;null!==(o=t)&&void 0!==o&&o._&&t._.options.name!==e;){var o;if(!t._parentTweener){console.warn('react-voodoo: No parent tweener found with option.key === "'+e+'"');break}t=t._parentTweener}return t}var i=new Le({forwardedRef:n,tweenerOptions:e});return i.isMountedFromHook=!0,i._parentTweener=r,i}),[]),l=s.a.useMemo((function(){return s.a.forwardRef((function(e,r){var o=e.children,i=g()(e,["children"]);return s.a.createElement(u.Provider,{value:a},s.a.createElement(t,d()({ref:r?function(e){return r.current=n.current=e}:n},i),o))}))}),[]);return s.a.useEffect((function(){var e;if(!i&&null!==(e=o.current)&&void 0!==e&&e._)return a.componentDidMount(),o.current=a,function(){var e;null!==(e=o.current)&&void 0!==e&&e._&&(o.current.componentWillUnmount(),o.current=null)}}),[]),s.a.useEffect((function(){var e;!i&&null!==(e=o.current)&&void 0!==e&&e._&&(o.current._updateBox(),o.current._updateTweenRefs())}),[n.current]),s.a.useEffect((function(){var e;!i&&null!==(e=o.current)&&void 0!==e&&e._&&(o.current._parentTweener=r)}),[r]),s.a.useEffect((function(){var t;!i&&null!==(t=o.current)&&void 0!==t&&t._&&(o.current._.options=e,o.current._updateBox(),o.current._updateTweenRefs())}),[e]),s.a.useMemo((function(){return[a,l]}),[l,a])};var Fe=function(e){var t=e.children,r=e.Comp,n=void 0===r?"div":r,o=e.forwardedRef,i=e.items,a=void 0===i?[]:i,l=e.xAxis,c=e.yAxis,u=e.yBoxRef,f=e.xBoxRef,p=e.yRef,h=e.yHook,m=e.xHook,v=e.tweener,y=e.mouseDrag,b=void 0!==y&&y,x=e.touchDrag,w=void 0===x||x,_=e.button,O=void 0===_?0:_,P=g()(e,["children","Comp","forwardedRef","items","xAxis","yAxis","yBoxRef","xBoxRef","yRef","yHook","xHook","tweener","mouseDrag","touchDrag","button"]),R=s.a.useRef({}).current,T=We(!0)[0],S=v||T,j=s.a.useRef();return s.a.useEffect((function(){if(!S)return console.error("No tweener found draggable : ",l,c);var e,t,r,n,o,i,a,s,p=null==j?void 0:j.current,d=S._;return p?(me.addEvent(p,R.dragList={dragstart:function(t,d,h){var g,m,v,y;if(!(t instanceof MouseEvent&&t.button!==O))for(n=function(e,t){for(var r=[],n=t;n;)r.push(n),n=n._parentTweener;return r}(t.target,S),e=Date.now(),r=0,o=0,i=[],a=null===(g=(null==f?void 0:f.current)||p)||void 0===g?void 0:g.offsetWidth,s=null===(m=(null==u?void 0:u.current)||p)||void 0===m?void 0:m.offsetHeight,y=0;y<n.length;y++){var b,x;if((v=n[y])._updateBox(),v.__isTweener)l&&(null===(b=v.axes)||void 0===b?void 0:b[l]),c&&(null===(x=v.axes)||void 0===x?void 0:x[c]),v._updateNodeInertia()}},click:function(t,n,i){t instanceof MouseEvent&&t.button!==O||e&&(e-Date.now()>d.options.maxClickTm||Math.abs(o)>d.options.maxClickOffset||Math.abs(r)>d.options.maxClickOffset)&&(t.preventDefault(),t.stopPropagation())},drag:function(p,g,v){var y,b,x,w,_,P,R,T,S,j;if(!(p instanceof MouseEvent&&p.button!==O)&&(r=-(v._lastPos.x-v._startPos.x),o=-(v._lastPos.y-v._startPos.y),!(e&&e>Date.now()-d.options.maxClickTm&&Math.abs(o)<d.options.maxClickOffset&&Math.abs(r)<d.options.maxClickOffset)))for(w=!r,T=!o,d.options.dragDirectionLock&&("Y"===t||!t&&Math.abs(.5*o)>Math.abs(r)?(t="Y",r=0):("X"===t||!t&&Math.abs(.5*r)>Math.abs(o))&&(t="X",o=0)),j=0;j<n.length;j++)if((y=n[j]).__isTweener){var D,E,M,A,C,B,k,I,L,W,F,N,z,V;if(b=l&&(null===(D=y.axes)||void 0===D?void 0:D[l]),P=c&&(null===(E=y.axes)||void 0===E?void 0:E[c]),!b&&!P)continue;if(!i[j])i[j]={x:null===(k=b)||void 0===k?void 0:k.scrollPos,y:null===(I=P)||void 0===I?void 0:I.scrollPos},null===(L=b)||void 0===L||null===(W=L.inertia)||void 0===W||W.startMove(),null===(F=P)||void 0===F||null===(N=F.inertia)||void 0===N||N.startMove(),l&&b&&(null===(z=b)||void 0===z||!z.inertiaFrame)&&y.applyInertia(b,l),c&&P&&(null===(V=P)||void 0===V||!V.inertiaFrame)&&y.applyInertia(P,c);b&&(_=null!=f&&f.current?a:y._.box.x,x=r&&r/_*(b.scrollableWindow||b.scrollableArea)||0,m&&(x=m(x))),P&&(S=null!=u&&u.current?s:y._.box.y,R=o&&o/S*(P.scrollableWindow||P.scrollableArea)||0,h&&(R=h(R))),b&&!w&&x&&null!==(M=b)&&void 0!==M&&null!==(A=M.inertia)&&void 0!==A&&A.isInbound(i[j].x+x)&&y.componentShouldScroll(l,x)&&(b.inertia.hold(i[j].x+x),w=!0),P&&!T&&R&&null!==(C=P)&&void 0!==C&&null!==(B=C.inertia)&&void 0!==B&&B.isInbound(i[j].y+R)&&y.componentShouldScroll(c,R)&&(P.inertia.hold(i[j].y+R),T=!0)}},dropped:function(a,s,u){var f,p;if(!(a instanceof MouseEvent&&a.button!==O)){for(t=void 0,p=0;p<n.length;p++){var h,g,m,v,y,b;if((f=n[p]).__isTweener&&i[p])null===(h=f.axes)||void 0===h||null===(g=h[l])||void 0===g||null===(m=g.inertia)||void 0===m||m.release(),null===(v=f.axes)||void 0===v||null===(y=v[c])||void 0===y||null===(b=y.inertia)||void 0===b||b.release()}!e||e>Date.now()-d.options.maxClickTm&&Math.abs(o)<d.options.maxClickOffset&&Math.abs(r)<d.options.maxClickOffset||(a.stopPropagation(),a.cancelable&&a.preventDefault()),n=i=null}}},null,d.options.enableMouseDrag||b,w),R.doRegister=!!p):R.doRegister=!0,function(){var e=j.current;R.scrollEnabled&&(R.scrollEnabled=!1,e&&R.dragList&&me.removeEvent(e,R.dragList))}}),[n,o,a,l,c,u,f,p,h,m,S,b,w,O]),s.a.createElement(n,d()({ref:j},P),t)};Fe.div=function(e){return s.a.createElement(Fe,e)};var Ne=Fe,ze=function(){return s.a.useContext(u)};function Ve(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ye(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ve(Object(r),!0).forEach((function(t){v()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ve(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var He={}.constructor;function Xe(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=(!t[0]||O(t[0]))&&t.shift(),o=(!t[0]||t[0]instanceof He)&&t.shift()||{};if(!n)return function(e){return Xe(e,o)};o=Ye({wheelRatio:5,maxClickTm:200,maxClickOffset:20},o);var i=s.a.forwardRef((function(e,t){return s.a.createElement(Le,{oProps:e,forwardedRef:t,BaseComponent:n,tweenerOptions:o})}));return i.displayName=String.fromCharCode(55358,56793)+(n.displayName||n.name),i}var qe,Ge={}.constructor;function Ue(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=(!t[0]||O(t[0]))&&t.shift(),o=(!t[0]||t[0]instanceof Ge)&&t.shift()||{};if(!n||!(n.prototype instanceof s.a.Component||n===s.a.Component))return function(e){return Ue(e,o)};var a=function(e){function t(){return e.apply(this,arguments)||this}return i()(t,e),t.prototype.render=function(){var e=this;return s.a.createElement(u.Consumer,null,(function(t){return s.a.createElement(n,d()({},e.props,{tweener:t,ref:e.props.forwardedRef}))}))},t}(s.a.Component);a.displayName=n.displayName||n.name;var l=s.a.forwardRef((function(e,t){return s.a.createElement(a,d()({},e,{forwardedRef:t}))}));return l.displayName=a.displayName,l}var Ze=Xe(qe=function(e){function t(){return e.apply(this,arguments)||this}return i()(t,e),t.prototype.render=function(){return this.props.children},t}(s.a.Component))||qe;t.default={tweener:Xe,child:Ue,useTweener:ze,useVoodoo:We,hook:We,tools:n,Draggable:Ne,Component:Ze,Node:S,Context:u,Axis:f,dom:me}}]);
1
+ /*! For license information please see react-voodoo.js.LICENSE.txt */
2
+ (()=>{var e={450:e=>{e.exports={walknSetExport:function(e,t,r){var n,o,a=t.split("/"),i=e;for(n=0;n<a.length-1;)i=i[a[n]]=i[a[n]]||{},n++;o=1===Object.keys(r).length&&r.default||r,i[a[n]]?(i[a[n]].__esModule||Object.assign(o,i[a[n]]),i[a[n]]=o):i[a[n]]=o}}},227:(e,t,r)=>{"use strict";r.d(t,{Yj:()=>a,Xg:()=>i,$_:()=>s,e$:()=>l,fi:()=>u,Rx:()=>c,bC:()=>p});var n={},o=r(450).walknSetExport;o(n,"any",r(582)),o(n,"int",r(74)),o(n,"bool",r(584)),o(n,"color",r(192)),o(n,"multi",r(822)),o(n,"ratio",r(425)),o(n,"number",r(277)),o(n,"shadow",r(940));var a=n.any,i=n.bool,s=n.color,l=n.int,u=n.multi,c=n.number,p=n.ratio},259:(e,t,r)=>{"use strict";r.d(t,{Dl:()=>o,_9:()=>a,HM:()=>i,dn:()=>s,_j:()=>l,JO:()=>u});var n={margin:{properties:["marginTop","marginRight","marginBottom","marginLeft"]},marginBottom:{types:["length"]},marginLeft:{types:["length"]},marginRight:{types:["length"]},marginTop:{types:["length"]},padding:{properties:["paddingTop","paddingRight","paddingBottom","paddingLeft"]},paddingBottom:{types:["length"]},paddingLeft:{types:["length"]},paddingRight:{types:["length"]},paddingTop:{types:["length"]},bottom:{types:["length-percentage-calc"]},left:{types:["length-percentage-calc"]},right:{types:["length-percentage-calc"]},top:{types:["length-percentage-calc"]},zIndex:{types:["integer"]},width:{types:["length-percentage-calc"]},maxWidth:{types:["length-percentage-calc"]},minWidth:{types:["length-percentage-calc"]},height:{types:["length-percentage-calc"]},maxHeight:{types:["length-percentage-calc"]},minHeight:{types:["length-percentage-calc"]},lineHeight:{types:["number","length"]},verticalAlign:{types:["length"]},visibility:{types:["visibility"]},borderSpacing:{types:["length"],multiple:!0},color:{types:["color"]},opacity:{types:["number"]},backgroundColor:{types:["color"]},backgroundPosition:{types:["length-percentage-calc"],multiple:!0,repeatable:!0},backgroundSize:{types:["length-percentage-calc"],multiple:!0,repeatable:!0},border:{properties:["borderStyle","borderWidth","borderColor"]},borderBottom:{properties:["borderBottomStyle","borderBottomWidth","borderBottomColor"]},borderLeft:{properties:["borderLeftStyle","borderLeftWidth","borderLeftColor"]},borderRight:{properties:["borderRightStyle","borderRightWidth","borderRightColor"]},borderTop:{properties:["borderTopStyle","borderTopWidth","borderTopColor"]},borderColor:{properties:["borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]},borderWidth:{properties:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"]},borderBottomColor:{types:["color"]},borderLeftColor:{types:["color"]},borderRightColor:{types:["color"]},borderTopColor:{types:["color"]},borderBottomWidth:{types:["length"]},borderLeftWidth:{types:["length"]},borderRightWidth:{types:["length"]},borderTopWidth:{types:["length"]},borderRadius:{properties:["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"]},borderTopLeftRadius:{types:["length-percentage-calc"],multiple:!0},borderTopRightRadius:{types:["length-percentage-calc"],multiple:!0},borderBottomRightRadius:{types:["length-percentage-calc"],multiple:!0},borderBottomLeftRadius:{types:["length-percentage-calc"],multiple:!0},boxShadow:{types:["shadow-list"]},caretColor:{types:["color"]},outline:{properties:["outlineColor","outlineWidth"]},outlineColor:{types:["color"]},outlineWidth:{types:["length"]},outlineOffset:{types:["length"]},flex:{properties:["flexGrow","flexShrink","flexBasis"]},flexGrow:{types:["number"]},flexShrink:{types:["number"]},flexBasis:{types:["length-percentage-calc"]},order:{types:["integer"]},font:{properties:["fontWeight","fontStretch","fontSize","lineHeight"]},fontWeight:{types:["font-weight"]},fontStretch:{types:["font-stretch"]},fontSize:{types:["length"]},fontSizeAdjust:{types:["number"]},gridTemplateColumns:{types:["length-percentage-calc"],multiple:!0},gridTemplateRows:{types:["length-percentage-calc"],multiple:!0},gridTemplate:{properties:["gridTemplateRows","gridTemplateColumns"]},grid:{properties:["gridTemplateRows","gridTemplateColumns"]},gridRowGap:{types:["length-percentage-calc"]},gridColumnGap:{types:["length-percentage-calc"]},gridGap:{properties:["gridRowGap","gridColumnGap"]},clip:{types:["rectangle"]},clipPath:{types:["basic-shape"]},mask:{properties:["maskPosition","maskSize"]},maskPosition:{types:["length-percentage-calc"],multiple:!0,repeatable:!0},maskSize:{types:["length-percentage-calc"],multiple:!0,repeatable:!0},shapeOutside:{types:["basic-shape"]},shapeMargin:{types:["length-percentage-calc"]},shapeImageThreshold:{types:["number"]},scrollPadding:{properties:["scrollPaddingTop","scrollPaddingRight","scrollPaddingBottom","scrollPaddingLeft"]},scrollPaddingTop:{types:["length-percentage-calc"]},scrollPaddingRight:{types:["length-percentage-calc"]},scrollPaddingBottom:{types:["length-percentage-calc"]},scrollPaddingLeft:{types:["length-percentage-calc"]},scrollPaddingBlock:{properties:["scrollPaddingBlockStart","scrollPaddingBlockEnd"]},scrollPaddingBlockStart:{types:["length-percentage-calc"]},scrollPaddingBlockEnd:{types:["length-percentage-calc"]},scrollPaddingInline:{properties:["scrollPaddingInlineStart","scrollPaddingInlineEnd"]},scrollPaddingInlineStart:{types:["length-percentage-calc"]},scrollPaddingInlineEnd:{types:["length-percentage-calc"]},scrollSnapMargin:{properties:["scrollSnapMarginTop","scrollSnapMarginRight","scrollSnapMarginBottom","scrollSnapMarginLeft"]},scrollSnapMarginTop:{types:["length"]},scrollSnapMarginRight:{types:["length"]},scrollSnapMarginBottom:{types:["length"]},scrollSnapMarginLeft:{types:["length"]},scrollSnapMarginBlock:{properties:["scrollSnapMarginBlockStart","scrollSnapMarginBlockEnd"]},scrollSnapMarginBlockStart:{types:["length"]},scrollSnapMarginBlockEnd:{types:["length"]},scrollSnapMarginInline:{properties:["scrollSnapMarginInlineStart","scrollSnapMarginInlineEnd"]},scrollSnapMarginInlineStart:{types:["length"]},scrollSnapMarginInlineEnd:{types:["length"]},textDecoration:{properties:["textDecorationColor"]},textDecorationColor:{types:["color"]},textEmphasis:{properties:["textEmphasisColor"]},textEmphasisColor:{types:["color"]},textShadow:{types:["shadow-list"]},columns:{properties:["columnWidth","columnCount"]},columnWidth:{types:["length"]},columnCount:{types:["integer"]},columnGap:{types:["length-percentage-calc"]},columnRule:{properties:["columnRuleColor","columnRuleWidth"]},columnRuleColor:{types:["color"]},columnRuleWidth:{types:["length"]},letterSpacing:{types:["length"]},tabSize:{types:["length"]},textIndent:{types:["length-percentage-calc"]},wordSpacing:{types:["length-percentage-calc"]},transform:{types:["transform"]},transformOrigin:{types:["length-percentage-calc"],multiple:!0},perspective:{types:["length"]},perspectiveOrigin:{types:["length-percentage-calc"],multiple:!0}},o=["","deg","box","bz","bh","bw","deg","em","ex","%","px","cm","mm","in","pt","pc","ch","rem","vh","vw","vmin","vmax"],a=new RegExp("([+-]?(?:[0-9]*[.])?[0-9]+)\\s*("+["\\w+","deg","bz","bh","bw","cap","ch","deg","em","ic","ex","%","px","cm","mm","in","pt","pc","ch","rem","vh","vw","vmin","vmax"].join("|")+")"),i=function(e){return void 0===e&&(e=0),Number(e.toFixed(3))};function s(e,t,r){void 0===r&&(r={});var o=n[e],a=o&&o.properties,i=t.split(" ");return o.multiple?a&&a.forEach((function(e,t){r[e]=i[t%i.length]})):a&&a.forEach((function(e,t){i[t]&&(r[e]=i[t])})),r}function l(e){var t=n[e],r=t&&t.properties;return r&&!!r.length}function u(e,t){return!!n[e]}},38:(e,t,r)=>{"use strict";r.r(t),r.d(t,{demux:()=>n.demux,mux:()=>n.mux,release:()=>n.release});var n=r(192)},39:(e,t,r)=>{"use strict";r.r(t),r.d(t,{demux:()=>n.demux,demuxOne:()=>n.demuxOne,mux:()=>n.mux,muxOne:()=>n.muxOne,release:()=>n.release});var n=r(940)},111:(e,t,r)=>{"use strict";r.r(t),r.d(t,{release:()=>c,demuxOne:()=>p,demux:()=>f,muxOne:()=>d,mux:()=>h});var n=r(213),o=r.n(n),a=r(73),i=r.n(a),s=r(259),l={blur:"px",brightness:"%",contrast:"%",dropShadow:!0,grayscale:"%",hueRotate:"deg",invert:"%",opacity:"%",saturate:"%",sepia:"%"},u={};function c(e,t,r,n,o,a){var i,s=e.split("_");if(4===s.length){if(--n[s[0]][s[1]][s[2]]||a||delete n[s[0]][s[1]][s[2]],!a)for(;n[s[0]].length&&!n[s[0]][n[s[0]].length-1];)n[s[0]].pop();if(--n[i=s[0]+"_"+s[1]+"_"+s[2]][s[3]]||a||(delete n[i][s[3]],delete t[e]),!a)for(;n[i].length&&!n[i][n[i].length-1];)n[i].pop();0!==n[i].length||a||delete n[i],0!==n[s[0]].length||a||(delete n[s[0]],delete o[s[0]],delete r[s[0]])}else console.log("wtf",s)}function p(e,t,r,n,o,a){var i=r,u=s.Dl[e]||l[n];return"bw"===u&&(i*=a.x,u="px"),"wh"===u&&(i*=a.y,u="px"),"bz"===u&&(i*=a.z,u="px"),"deg"===u&&(i%=360),u?(0,s.HM)(i)+u:(0,s.HM)(i)}function f(e,t,r,n,o){for(var a,i,s,l,u,c,f="",d=0,h=0;d<n[e].length;d++)for(i in a=n[e][d])if(a.hasOwnProperty(i)){for(l=e+"_"+d+"_"+i,c="",h=0,s=0;s<n[l].length;s++)n[l][s]&&(u=p(s,0,t[l+"_"+s],i,0,o),h&&"-"===u[0]?u=" - "+u.substr(1):h&&(u=" + "+u),c+=u,h++);h>1&&(c="calc("+c+")"),h>0&&(f+=i+"("+(c||"0")+") ")}r.filter=f}function d(e,t,r,n,o,a,c,p){var d=!!i().string(r)&&r.match(s._9),h=d&&d[2]||l[t],g=s.Dl.indexOf(h),m=-1!==g&&e+"_"+g||e;return a[m]=u[t]||0,o[e][g]=o[e][g]||0,p&&p[g]?n[m]+=d?parseFloat(d[1]):parseFloat(r):(!c&&o[e][g]++,n[m]=d?parseFloat(d[1]):parseFloat(r),p&&(p[g]=!0)),f}var h=function(e,t,r,n,a,s,l){n[e]=n[e]||[],i().array(t)||(t=[t]);for(var u,c,p,h,g,m,x,v=0;v<t.length;v++){for(c in u=t[v],p=l?{}:o()({},n[e][v]||{}),u)if(u.hasOwnProperty(c))if(h=u[c],x={},g=e+"_"+v+"_"+c,p[c]=p[c]||n[e][v]&&n[e][v][c]||0,!s&&p[c]++,n[g]=n[g]||[],i().array(h))for(m=0;m<h.length;m++)d(g,c,h[m]||0,r,n,a,s,x);else d(g,c,h||0,r,n,a,s);n[e][v]=l?o()({},p,n[e][v]||{},p):p}return f}},178:(e,t,r)=>{"use strict";r.r(t),r.d(t,{demux:()=>n.demux,demuxOne:()=>n.demuxOne,mux:()=>n.mux,muxOne:()=>n.muxOne,release:()=>n.release});var n=r(940)},374:(e,t,r)=>{"use strict";r.r(t),r.d(t,{release:()=>p,demuxOne:()=>f,demux:()=>d,muxOne:()=>h,mux:()=>g});var n=r(213),o=r.n(n),a=r(73),i=r.n(a),s=r(259),l={translateX:"px",translateY:"px",translateZ:"px",scale:"",scaleZ:"",scaleX:"",scaleY:"",rotate:"deg",skewX:"deg",skewY:"deg",rotateX:"deg",rotateY:"deg",rotateZ:"deg",perspective:"px"},u={translateX:"x",translateY:"y",translateZ:"z",rotateX:"x",rotateY:"y",rotateZ:"z",left:"x",right:"x",top:"y",bottom:"y",width:"x",height:"y"},c={scale:1,scaleX:1,scaleY:1,scaleZ:1};function p(e,t,r,n,o,a){var i,s=e.split("_");if(4===s.length){if(--n[s[0]][s[1]][s[2]]||a||delete n[s[0]][s[1]][s[2]],!a)for(;n[s[0]].length&&!n[s[0]][n[s[0]].length-1];)n[s[0]].pop();if(--n[i=s[0]+"_"+s[1]+"_"+s[2]][s[3]]||a||(delete n[i][s[3]],delete t[e]),!a)for(;n[i].length&&!n[i][n[i].length-1];)n[i].pop();0!==n[i].length||a||delete n[i],0!==n[s[0]].length||a||(delete n[s[0]],delete o[s[0]],delete r[s[0]])}else console.log("wtf",s)}function f(e,t,r,n,o,a){var i=r,c=s.Dl[e]||l[n];return"box"===c&&(i*=a[u[n]]||a.x,c="px"),"bw"===c&&(i*=a.x,c="px"),"wh"===c&&(i*=a.y,c="px"),"bz"===c&&(i*=a.z,c="px"),"deg"===c&&(i%=360),c?(0,s.HM)(i)+c:(0,s.HM)(i)}function d(e,t,r,n,o){for(var a,i,s,l,u,c,p="",d=0,h=0;d<n[e].length;d++)for(i in a=n[e][d])if(a.hasOwnProperty(i)){for(l=e+"_"+d+"_"+i,c="",h=0,s=0;s<n[l].length;s++)n[l][s]&&(u=f(s,0,t[l+"_"+s],i,0,o),h&&"-"===u[0]?u=" - "+u.substr(1):h&&(u=" + "+u),c+=u,h++);h>1&&(c="calc("+c+")"),h>0&&(p+=i+"("+(c||"0")+") ")}r.transform=p}function h(e,t,r,n,o,a,u,p){var f=!!i().string(r)&&r.match(s._9),h=f&&f[2]||l[t],g=s.Dl.indexOf(h),m=-1!==g&&e+"_"+g||e;return a[m]=c[t]||0,o[e][g]=o[e][g]||0,p&&p[g]?n[m]+=f?parseFloat(f[1]):parseFloat(r):(!u&&o[e][g]++,n[m]=f?parseFloat(f[1]):parseFloat(r),p&&(p[g]=!0)),d}var g=function(e,t,r,n,a,s,l){n[e]=n[e]||[],i().array(t)||(t=[t]);for(var u,c,p,f,g,m,x,v=0;v<t.length;v++){for(c in u=t[v],p=l?{}:o()({},n[e][v]||{}),u)if(u.hasOwnProperty(c))if(f=u[c],x={},g=e+"_"+v+"_"+c,p[c]=p[c]||n[e][v]&&n[e][v][c]||0,!s&&p[c]++,n[g]=n[g]||[],i().array(f))for(m=0;m<f.length;m++)h(g,c,f[m]||0,r,n,a,s,x);else h(g,c,f||0,r,n,a,s);n[e][v]=l?o()({},p,n[e][v]||{},p):p}return d}},582:(e,t,r)=>{"use strict";r.r(t),r.d(t,{release:()=>u,demuxOne:()=>c,demux:()=>p,muxer:()=>f,muxOne:()=>d,mux:()=>h});var n=r(73),o=r.n(n),a=r(259),i=(r(582),{left:"px",right:"px",top:"px",bottom:"px",width:"px",height:"px",perspective:"px"}),s={left:"x",right:"x",top:"y",bottom:"y",width:"x",height:"y"},l={opacity:0};function u(e,t,r,n,o,a){var i=e.split("_");if(2===i.length){if(--n[i[0]][i[1]]||a||delete t[e],!a)for(;n[i[0]].length&&!n[i[0]][n[i[0]].length-1];)n[i[0]].pop();0!==n[i[0]].length||a||(delete n[i[0]],delete o[i[0]],r&&delete r[i[0]])}else console.log("wtf",i)}function c(e,t,r,n,o){var l=t,u=a.Dl[e]||i[r]||"px";return"box"===u&&(l*=o[s[r]]||o.x,u="px"),"bw"===u&&(l*=o.x,u="px"),"bh"===u&&(l*=o.y,u="px"),"bz"===u&&(l*=o.z,u="px"),u?(0,a.HM)(l)+u:(0,a.HM)(l)}function p(e,t,r,n,o,a){var i,s,l,u=0;if(i="",n[e].isString)return r[e]=n[e].value,n[e].value;for(s=0;s<n[e].length;s++)n[e][s]&&(t[l=e+"_"+s]<0?i+=(u?" - ":"-")+c(s,-t[l],a||e,0,o):i+=(u?" + ":"")+c(s,t[l],a||e,0,o),u++);return u>1&&(i="calc("+i+")"),r?r[e]=i:i}function f(e,t,r,n,a,i){n[e]=n[e]||[];var s=[];if(o().array(t))for(var l=0;l<t.length;l++)d(e,t[l]||0,r,n,a,i,s);else d(e,t||0,r,n,a,i);return p}function d(e,t,r,n,s,u,c){var f=!!o().string(t)&&t.match(a._9),d=f&&f[2]||i[e]||"px",h=a.Dl.indexOf(d),g=-1!==h&&e+"_"+h||e;return s[g]=l[e]||0,n[e][h]=n[e][h]||0,!f&&o().string(t)?(n[e].isString=!0,n[e].value=t,p):(c&&c[h]?r[g]+=f?parseFloat(f[1]):parseFloat(t):(!u&&n[e][h]++,r[g]=f?parseFloat(f[1]):parseFloat(t),c&&(c[h]=!0)),p)}var h=f},584:(e,t,r)=>{"use strict";r.r(t),r.d(t,{release:()=>o,demux:()=>a,mux:()=>i});var n={opacity:1};function o(e,t,r,n,o,a){--n[e]||a||(delete t[e],delete n[e],delete o[e],delete r[e])}function a(e,t,r,n,o){var a=!!t[e];return r?r[e]=a:a}var i=function(e,t,r,o,i,s){return i[e]=n[e]||0,r[e]=!1===t?0:1,o[e]=o[e]||0,!s&&o[e]++,a}},192:(e,t,r)=>{"use strict";r.r(t),r.d(t,{demux:()=>i,mux:()=>s,release:()=>a});const n=require("color-rgba");var o=r.n(n);function a(e,t,r,n,o,a){var i=e.split("_"),s=i.slice(0,i.length-1).join("_");--n[e]||a||(delete t[e],delete n[e]),--n[s]||a||(delete t[e],delete n[e])}function i(e,t,r,n){var o="rgba("+t[e+"_r"]+", "+t[e+"_g"]+", "+t[e+"_b"]+", "+t[e+"_a"]+")";return r?r[e]=o:o}function s(e,t,r,n,a,s){var l=o()(t);return n[e]=n[e]||0,n[e+"_r"]=n[e+"_r"]||0,n[e+"_g"]=n[e+"_g"]||0,n[e+"_b"]=n[e+"_b"]||0,n[e+"_a"]=n[e+"_a"]||0,s||(n[e]+=4,n[e+"_r"]++,n[e+"_g"]++,n[e+"_b"]++,n[e+"_a"]++),r[e+"_r"]=l[0],r[e+"_g"]=l[1],r[e+"_b"]=l[2],r[e+"_a"]=l[3],a[e]=0,a[e+"_r"]=0,a[e+"_g"]=0,a[e+"_b"]=0,a[e+"_a"]=1,i}},74:(e,t,r)=>{"use strict";function n(e,t,r,n,o,a){--n[e]||a||(delete t[e],delete n[e],delete o[e],delete r[e])}function o(e,t,r,n,o){r[e]=~~t[e]}r.r(t),r.d(t,{release:()=>n,demux:()=>o,mux:()=>a});var a=function(e,t,r,n,a,i){return a[e]=0,r[e]=~~t,n[e]=n[e]||0,!i&&n[e]++,o}},822:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>u});var n=r(73),o=r.n(n),a=r(277),i={top:"0%",bottom:"100%",center:"50%",left:"0%",right:"100%"};function s(e,t,r,n,o,i){for(var s=n["_"+e],l="",u={},c=0;c<s;c++)a.demux(e+"_"+c,t,u,n,o,i),l+=u[e+"_"+c]+" ";r[e]=l}function l(e,t,r,n,o,a){e.split("_")}const u=function(e){return{mux:function(t,r,n,l,u,c){var p,f=r.split(" ");l[t]=l[t]||0,c&&l[t]++,l["_"+t]=e;for(var d=0;d<e;d++)p=f[d%f.length],p=o().string(p)&&i[p]||p,a.mux(t+"_"+d,p,n,l,u,c);return s},demux:s,release:l}}},277:(e,t,r)=>{"use strict";r.r(t),r.d(t,{release:()=>u,demuxOne:()=>c,demux:()=>p,muxer:()=>f,muxOne:()=>d,mux:()=>h});var n=r(73),o=r.n(n),a=r(259),i={left:"px",right:"px",top:"px",bottom:"px",width:"px",height:"px",perspective:"px"},s={left:"x",right:"x",top:"y",bottom:"y",width:"x",height:"y"},l={opacity:0};function u(e,t,r,n,o,a){var i=e.split("_");if(2===i.length){if(--n[i[0]][i[1]]||a||delete t[e],!a)for(;n[i[0]].length&&!n[i[0]][n[i[0]].length-1];)n[i[0]].pop();0!==n[i[0]].length||a||(delete n[i[0]],delete o[i[0]],r&&delete r[i[0]])}else console.log("wtf",i)}function c(e,t,r,n,o){var l=t,u=a.Dl[e]||i[r]||"px";return"box"===u&&(l*=o[s[r]]||o.x,u="px"),"bw"===u&&(l*=o.x,u="px"),"bh"===u&&(l*=o.y,u="px"),"bz"===u&&(l*=o.z,u="px"),u?(0,a.HM)(l)+u:(0,a.HM)(l)}function p(e,t,r,n,o,a){var i,s,l,u=0;for(i="",s=0;s<n[e].length;s++)n[e][s]&&(t[l=e+"_"+s]<0?i+=(u?" - ":"-")+c(s,-t[l],a||e,0,o):i+=(u?" + ":"")+c(s,t[l],a||e,0,o),u++);return u>1&&(i="calc("+i+")"),r?r[e]=i:i}function f(e,t,r,n,a,i){n[e]=n[e]||[];var s=[];if(o().array(t))for(var l=0;l<t.length;l++)d(e,t[l]||0,r,n,a,i,s);else d(e,t||0,r,n,a,i);return p}function d(e,t,r,n,s,u,c){var f=!!o().string(t)&&t.match(a._9),d=f&&f[2]||i[e]||"px",h=a.Dl.indexOf(d),g=-1!==h&&e+"_"+h||e;return s[g]=l[e]||0,n[e][h]=n[e][h]||0,c&&c[h]?r[g]+=f?parseFloat(f[1]):parseFloat(t):(!u&&n[e][h]++,r[g]=f?parseFloat(f[1]):parseFloat(t),c&&(c[h]=!0)),p}var h=f},425:(e,t,r)=>{"use strict";r.r(t),r.d(t,{release:()=>a,demux:()=>i,mux:()=>s});var n=r(259),o={opacity:1};function a(e,t,r,n,o,a){--n[e]||a||(delete t[e],delete n[e],delete o[e],delete r[e])}function i(e,t,r,o,a){r[e]=Math.min(1,Math.max(0,(0,n.HM)(t[e])))}var s=function(e,t,r,n,a,s){return a[e]=o[e]||0,r[e]=t,n[e]=n[e]||0,!s&&n[e]++,i}},940:(e,t,r)=>{"use strict";r.r(t),r.d(t,{release:()=>b,demuxOne:()=>_,demux:()=>R,muxOne:()=>T,mux:()=>S});var n,o,a,i,s,l,u,c,p=r(213),f=r.n(p),d=r(73),h=r.n(d),g=r(259),m=r(227),x=(n=/,(?![^\(]*\))/,o=/\s(?![^(]*\))/,a=/^[0-9]+[a-zA-Z%]+?$/,i=function(e){var t=e.split(o),r=t.includes("inset"),n=t.slice(-1)[0],a=l(n)?void 0:n,i=t.filter((function(e){return"inset"!==e})).filter((function(e){return e!==a})).map(u);return{inset:r,offsetX:i[0],offsetY:i[1],blurRadius:i[2],spreadRadius:i[3],color:a}},s=function(e){var t=e||{},r=t.inset,n=t.offsetX,o=void 0===n?0:n,a=t.offsetY,i=void 0===a?0:a,s=t.blurRadius;return[r?"inset":null,o,i,void 0===s?0:s,t.spreadRadius,t.color].filter((function(e){return null!=e})).map(c).map((function(e){return(""+e).trim()})).join(" ")},l=function(e){return"0"===e||a.test(e)},u=function(e){if(!/px$/.test(e)&&"0"!==e)return e;var t=parseFloat(e);return isNaN(t)?e:t},c=function(e){return"number"==typeof e&&0!==e?e+"px":e},{parse:function(e){return e.split(n).map((function(e){return e.trim()})).map(i)},stringify:function(e){return e.map(s).join(", ")}}),v={perspective:"px"},y={translateX:"x"},w={inset:m.Xg,color:m.$_};function b(e,t,r,n,o,a){var i,s=e.split("_");if(s.length>2){if(i=s[0]+"_"+s[1]+"_"+s[2],w[s[2]])return w[s[2]].release(e,t,r,n,o,a),n[i]||--n[s[0]][s[1]][s[2]]||a||delete n[s[0]][s[1]][s[2]],void(0!==n[s[0]].length||a||(delete n[s[0]],delete o[s[0]],delete r[s[0]]));if(--n[s[0]][s[1]][s[2]]||a||delete n[s[0]][s[1]][s[2]],!a)for(;n[s[0]].length&&!n[s[0]][n[s[0]].length-1];)n[s[0]].pop();if(--n[i][s[3]]||a||(delete n[i][s[3]],delete t[e]),!a)for(;n[i].length&&!n[i][n[i].length-1];)n[i].pop();if(0!==n[i].length||a||delete n[i],!a)for(;n[s[0]].length&&!Object.keys(n[s[0]][n[s[0]].length-1]).length;)n[s[0]].pop();0!==n[s[0]].length||a||(delete n[s[0]],delete o[s[0]],delete r[s[0]])}else console.log("wtf",s)}function _(e,t,r,n,o,a){var i=r,s=g.Dl[e]||v[n];return"box"===s&&(i*=a[y[n]]||a.x,s="px"),"bw"===s&&(i*=a.x,s="px"),"wh"===s&&(i*=a.y,s="px"),"bz"===s&&(i*=a.z,s="px"),"deg"===s&&(i%=360),s?(0,g.HM)(i)+s:(0,g.HM)(i)}function R(e,t,r,n,o){for(var a,i,s,l,u,c,p=[],f={},d=0,h=0;d<n[e].length;d++){for(i in f={},a=n[e][d])if(a.hasOwnProperty(i)){if(l=e+"_"+d+"_"+i,w[i])c=w[i].demux(l,t,void 0,n,o);else{for(c="",h=0,s=0;s<n[l].length;s++)n[l][s]&&(u=_(s,0,t[l+"_"+s],i,0,o),h&&"-"===u[0]?u=" - "+u.substr(1):h&&(u=" + "+u),c+=u,h++);h>1&&(c="calc("+c+")")}f[i]=c||0}p.push(f)}r[e]=x.stringify(p)}function T(e,t,r,n,o,a,i,s){var l=!!h().string(r)&&r.match(g._9),u=l&&l[2]||v[t]||"px",c=g.Dl.indexOf(u),p=-1!==c&&e+"_"+c||e;return a[p]=0,o[e][c]=o[e][c]||0,s&&s[c]?n[p]+=l?parseFloat(l[1]):parseFloat(r):(!i&&o[e][c]++,n[p]=l?parseFloat(l[1]):parseFloat(r),s&&(s[c]=!0)),R}var S=function(e,t,r,n,o,a,i){n[e]=n[e]||[],h().array(t)||(t=[t]);for(var s,l,u,c,p,d,g,m=0;m<t.length;m++){for(l in s=t[m],h().string(s)&&(s=x.parse(s)[0]),u=i?{}:f()({},n[e][m]||{}),s)if(s.hasOwnProperty(l))if(c=s[l],p=e+"_"+m+"_"+l,u[l]=u[l]||n[e][m]&&n[e][m][l]||0,!a&&u[l]++,w[l])w[l].mux(p,c,r,n,o,a,i);else if(g={},n[p]=n[p]||[],h().array(c))for(d=0;d<c.length;d++)T(p,l,c[d]||0,r,n,o,a,g);else T(p,l,c||0,r,n,o,a);n[e][m]=i?f()({},u,n[e][m]||{},u):u}return R}},213:e=>{"use strict";e.exports=require("@babel/runtime/helpers/extends")},367:e=>{"use strict";e.exports=require("d3-ease")},73:e=>{"use strict";e.exports=require("is")}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";r.r(n),r.d(n,{Axis:()=>ye,Component:()=>je,Context:()=>g,Draggable:()=>Ae,Node:()=>Me,child:()=>We,default:()=>Fe,dom:()=>ee,hook:()=>ve,tools:()=>e,tweener:()=>ke,useTweener:()=>Be,useVoodoo:()=>ve});var e={};r.r(e),r.d(e,{addCss:()=>E,cssAdd:()=>_,cssMult:()=>R,extractCss:()=>A,offset:()=>T,re_cssValueWithUnit:()=>b,reverse:()=>D,scale:()=>S,shiftTransforms:()=>C,target:()=>B});const t=require("@babel/runtime/helpers/inheritsLoose");var o=r.n(t);const a=require("react");var i=r.n(a);const s=require("fast-deep-equal");var l=r.n(s),u=r(213),c=r.n(u);const p=require("@babel/runtime/helpers/objectWithoutPropertiesLoose");var f=r.n(p),d=r(73),h=r.n(d);const g=i().createContext(null),m=require("@babel/runtime/helpers/assertThisInitialized");var x=r.n(m),v=r(367);const y=require("react-dom");var w=r.n(y),b=new RegExp("([+-]?(?:[0-9]*[.])?[0-9]+)\\s*("+["box","bz","bh","bw","em","ex","%","px","cm","mm","in","pt","pc","ch","rem","vh","vw","vmin","vmax"].join("|")+")");function _(e,t){h().array(e)||(e=[e]),h().array(t)||(t=[t]);var r,n=e.map((function(e){return e&&e.match&&e.match(b)||[,e||0,"px"]})),o=t.map((function(e){return e&&e.match&&e.match(b)||[,e||0,"px"]})),a={},i=[];for(r=0;r<n.length;)a[n[r][2]]=a[n[r][2]]||0,a[n[r][2]]+=parseFloat(n[r][1]),r++;for(r=0;r<o.length;)a[o[r][2]]=a[o[r][2]]||0,a[o[r][2]]+=parseFloat(o[r][1]),r++;Object.keys(a).forEach((function(e){return i.push(a[e]+e)}));for(var s=arguments.length,l=new Array(s>2?s-2:0),u=2;u<s;u++)l[u-2]=arguments[u];return l.length?_.apply(void 0,[i].concat(l)):i}function R(e,t){h().array(e)||(e=[e]);var r,n=e.map((function(e){return e&&e.match&&e.match(b)||[,e||0,"px"]})),o={},a=[];for(r=0;r<n.length;)o[n[r][2]]=o[n[r][2]]||1,o[n[r][2]]=parseFloat(n[r][1])*t,r++;return Object.keys(o).forEach((function(e){return a.push(o[e]+e)})),a}function T(e,t){return void 0===t&&(t=0),(e=h().array(e)?e:e&&[e]||e).map((function(e){return c()({},e,{from:e.from+t})}))}function S(e,t,r){void 0===t&&(t=0),e=h().array(e)?e:e&&[e]||e;var n=0;return e.forEach((function(e){n=Math.max(n,e.from+e.duration)})),e=e.map((function(e){return c()({},e,{from:e.from/n*t,duration:e.duration/n*t})})),r?T(e,r):e}function P(e){return h().number(e)?-e:h().object(e)?Object.keys(e).reduce((function(t,r){return t[r]=P(e[r]),t}),{}):h().array(e)?e.map((function(e){return P(e)})):e.split(/(\-?\d+(?:\.\d+)?|\-?\.\d+)/gi).map((function(e,t){return t%2?-parseFloat(e):e})).join("")}function D(e){e=h().array(e)?e:e&&[e]||e;var t=0;return e.forEach((function(e){t=Math.max(t,e.from+e.duration)})),e.map((function(e){return c()({},e,{from:t-(e.from+e.duration)},e.apply?{apply:P(e.apply)}:void 0)}))}var M={transform:!0,filter:!0,textShadow:!0,boxShadow:!0};function E(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var o=r.shift();for(var a in o){var i;o.hasOwnProperty(a)&&(M[a]?(e[a]||(e[a]=[]),h().array(o[a])?E(e[a],o[a]):E(e[a],[o[a]])):h().array(o[a])?(e[a]||(e[a]=[]),h().array(e[a])?(i=e[a]).push.apply(i,o[a]):e[a]=[].concat(o[a],[e[a]])):e[a]?h().object(e[a])&&h().object(o[a])?E(e[a],o[a]):e[a]=O(e[a],o[a]):h().object(o[a])?e[a]=c()({},o[a]):e[a]=o[a])}return r.length&&E.apply(void 0,[e].concat(r))||e}function O(e,t){if(!e)return t;if(!t)return e;var r=(""+e).split(/(\-?\d+(?:\.\d+)?|\-?\.\d+)/gi),n=(""+t).split(/(\-?\d+(?:\.\d+)?|\-?\.\d+)/gi),o=r.map((function(e,t){return t%2?parseFloat(e)+parseFloat(n[t]||0):e})).filter((function(e){return""!==e}));return 1===o.length?parseInt(o[0]):o.join("")}function A(e,t){var r={};return(e=h().array(e)?e:e&&[e]||e).forEach((function(e){E(r,e.apply)})),t&&(r=P(r)),r}function B(e,t){return(e=h().array(e)?e:e&&[e]||e).map((function(e){return c()({},e,{target:t})}))}function C(e,t){return void 0===t&&(t=1),(e=h().array(e)?e:e&&[e]||e).map((function(e){var r=e.apply&&e.apply.transform;if(r){r=h().array(r)?r:[r];for(var n=0;n<t;n++)r.unshift({});e=c()({},e,{apply:c()({},e.apply,{transform:r})})}return e}))}var k=r(259),I={},L=r(450).walknSetExport;L(I,"filter",r(111)),L(I,"boxShadow",r(39)),L(I,"transform",r(374)),L(I,"textShadow",r(178)),L(I,"backgroundColor",r(38));const W=I;var j=r(227),F=c()({},W,{height:j.Rx,width:j.Rx,top:j.Rx,left:j.Rx,right:j.Rx,bottom:j.Rx,marginTop:j.Rx,marginLeft:j.Rx,marginRight:j.Rx,marginBottom:j.Rx,paddingTop:j.Rx,paddingLeft:j.Rx,paddingRight:j.Rx,paddingBottom:j.Rx,borderRadius:j.Rx,borderTopColor:j.$_,borderLeftColor:j.$_,borderRightColor:j.$_,borderBottomColor:j.$_,borderTopWidth:j.Rx,borderLeftWidth:j.Rx,borderRightWidth:j.Rx,borderBottomWidth:j.Rx,transformOrigin:(0,j.fi)(2),zIndex:j.e$,opacity:j.bC});function N(e,t,r,n,o,a,i){var s,l=t.split("_");null==(s=F[l[0]])||s.release(t,r,n,o,a,i)}function H(e,t,r,n,o){Object.keys(r).forEach((function(a){r[a].demux(a,e,t,n,o)}))}function z(e,t,r,n,o,a,i){var s={},l={};return e&&Object.keys(e).forEach((function(t){F[t]?s[t]=e[t]:(0,k.JO)(t,e[t])?(0,k._j)(t)?(0,k.dn)(t,e[t],s):s[t]=e[t]:l[t]=e[t]})),s&&Object.keys(s).forEach((function(e){F[e]?(o[e]=F[e]).mux(e,s[e],t,n,r,a,i):(o[e]=j.Yj).mux(e,s[e],t,n,r,a,i)})),l}function V(e,t,r,n,o){o=o&&{};var a={},i=e.reduce((function(e,i){var s={};return n[i.target]=n[i.target]||{},t[i.target]=t[i.target]||{},r[i.target]=r[i.target]||{},i.type&&"Tween"!==i.type?e.push(c()({},i)):(!o&&E(a[i.target]=a[i.target]||{},i.apply),z(i.apply,s,t[i.target],r[i.target],n[i.target],!0),e.push(c()({},i,{apply:s}))),e}),[]);return!o&&Object.keys(a).forEach((function(e){return z(a[e],{},{},r[e],n[e])})),i}const Y=require("tween-axis");var X,q,$=[],G=function(e){function t(t,r){var n;if($.length){var o=$.pop();return o.scope=r,h().array(t)?(o.localLength=1,o.mount(t,r)):t.Axis&&o.mount(t.Axis,r),o||x()(n)}return e.apply(this,arguments)||this}return o()(t,e),t.prototype.destroy=function(){this.scope=void 0,this.__marks.length=0,this.__marksLength.length=0,this.__marksKeys.length=0,this.__processors.length=0,this.__config.length=0,this.__activeForks.length=0,this.__activeProcess.length=0,this.__activeProcess.length=0,this.__outgoing.length=0,this.__incoming.length=0,this.__cPos=0,this.duration=0,this.__cIndex=0,this.__cMaxKey=1,$.push(this)},t}(r.n(Y)()),U=r(73),Z="undefined"!=typeof window,J=(Z&&(q=" -webkit- -moz- -o- -ms- ".split(" "),!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)||(X=["(",q.join("touch-enabled),("),"heartz",")"].join(""),window.matchMedia&&window.matchMedia(X).matches)),Z?{prefix:/webkit/i.test(navigator.appVersion)?"webkit":/firefox/i.test(navigator.userAgent)?"Moz":/trident/i.test(navigator.userAgent)?"ms":"opera"in window?"O":"",dashedPrefix:/webkit/i.test(navigator.appVersion)?"-webkit-":/firefox/i.test(navigator.userAgent)?"-moz-":/trident/i.test(navigator.userAgent)?"-ms-":"opera"in window?"-o-":""}:{prefix:"",dashedPrefix:""}),K={onPageHided:[],onPageShown:[],dragging:[],dragEnabled:[],dragEnabledDesc:[],fingers:{},nbFingers:0,dragstartAnywhere:function(e){var t,r,n,o=K,a=o.dragEnabled.indexOf(this),i=[];if(-1!==a){o.nbFingers||(Q.addEvent(document,{touchmove:o.dragAnywhere,mousemove:o.dragAnywhere,touchend:o.dropAnywhere,mouseup:o.dropAnywhere}),Q.addEvent(this,{click:o.dropWithoutClick},null,null,null,!0)),e.changedTouches&&e.changedTouches.length?i=e.changedTouches:i.push(e);for(var s=0,l=i.length;s<l;s++)if(r=i[s],!(n=o.dragEnabledDesc[a]).nbFingers)for(o.nbFingers++,o.fingers[r.identifier]=o.fingers[r.identifier]||[],o.fingers[r.identifier].push(n),n.nbFingers++,n._startPos.x="MS"==J.prefix?r.x:r.pageX,n._startPos.y="MS"==J.prefix?r.y:r.pageY,n._startTs=e.timeStamp,n._lastPos.x="MS"==J.prefix?r.x:r.pageX,n._lastPos.y="MS"==J.prefix?r.y:r.pageY,t=0;t<n.dragstart.length;t++)n.dragstart[t][0].call(n.dragstart[t][1]||this,e,r,n)}},dragAnywhere:function(e){var t,r,n,o=this,a=K,i=[];K.dragging[0],e.changedTouches&&e.changedTouches.length?i=e.changedTouches:i.push(e);for(var s=0,l=i.length;s<l;s++)r=i[s],a.fingers[r.identifier],a.fingers[r.identifier]&&a.fingers[r.identifier].forEach((function(a){if(n)return a._lastPos.x=a._startPos.x="MS"==J.prefix?r.x:r.pageX,void(a._lastPos.y=a._startPos.y="MS"==J.prefix?r.y:r.pageY);for(a._lastPos.x="MS"==J.prefix?r.x:r.pageX,a._lastPos.y="MS"==J.prefix?r.y:r.pageY,t=0;t<a.drag.length;t++)n=!1===a.drag[t][0].call(a.drag[t][1]||o,e,r,a)}))},dropWithoutClick:function(e){K.preventNextClick&&(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation(),K.preventNextClick=!1),Q.removeEvent(this,{click:this.dropWithoutClick})},dropAnywhere:function(e){var t,r,n,o=this,a=K,i=[];e.changedTouches&&e.changedTouches.length?i=e.changedTouches:i.push(e);for(var s=0,l=i.length;s<l;s++)r=i[s],a.nbFingers--,a.fingers[r.identifier]&&a.fingers[r.identifier].forEach((function(a){for(a.nbFingers--,n=n||a.mouseDrag&&e.timeStamp-a._startTs>250,a._lastPos.x="MS"==J.prefix?r.x:r.pageX,a._lastPos.y="MS"==J.prefix?r.y:r.pageY,t=0;t<a.dropped.length;t++)a.dropped[t][0].call(a.dropped[t][1]||o,e,r,a)})),a.fingers[r.identifier]=null;n&&(a.preventNextClick=!0),a.nbFingers||Q.removeEvent(document,{touchmove:a.dragAnywhere,mousemove:a.dragAnywhere,touchend:a.dropAnywhere,mouseup:a.dropAnywhere})},getDraggable:function(e,t,r){var n,o=this.dragEnabled.indexOf(e);return-1===o?(this.dragEnabled.push(e),this.dragEnabledDesc.push(n={mouseDrag:t,touchDrag:r,nbFingers:0,locks:0,_startPos:{x:0,y:0},_lastPos:{x:0,y:0},dragstart:[],drag:[],dragEnd:[],dropped:[]}),Q.addEvent(e,{mousedown:t&&this.dragstartAnywhere,touchstart:r&&this.dragstartAnywhere},null,null,null,!0)):n=this.dragEnabledDesc[o],n},freeDraggable:function(e){var t=this.dragEnabled.indexOf(e);-1!==t&&(this.dragEnabled.splice(t,1),this.dragEnabledDesc.splice(t,1),Q.removeEvent(e,{mousedown:this.dragstartAnywhere,touchstart:this.dragstartAnywhere}))},addEvent:function(e,t,r,n){e.addEventListener?e.addEventListener(t,r,n):e.attachEvent&&e.attachEvent("on"+t,r.related=function(t){return r.call(e,t)})},removeEvent:function(e,t,r,n){e.removeEventListener?e.removeEventListener(t,r,n):e.attachEvent&&e.detachEvent("on"+t,r.related)},rmDragFn:function(e,t,r){for(var n=0,o=e.length;n<o;n++)if(e[n][0]===t)return e.splice(n,1);console.warn("Rm event : Listener not found !!")}},Q={addEvent:function(e,t,r,n,o,a){if(void 0===o&&(o=!0),U.object(t))for(var i in t)t.hasOwnProperty(i)&&t[i]&&this.addEvent(e,i,t[i],n,o,a);else"dragstart"===t?K.getDraggable(e,n,o).dragstart.push([r]):"drag"===t?K.getDraggable(e,n,o).drag.push([r]):"dropped"===t?K.getDraggable(e,n,o).dropped.push([r]):e.addEventListener?e.addEventListener(t,r,{passive:!1}):e.attachEvent&&e.attachEvent("on"+t,r.related=function(t){return r.call(e,t)})},removeEvent:function(e,t,r,n,o){var a;if(U.object(t))for(var i in t)t.hasOwnProperty(i)&&this.removeEvent(e,i,t[i],n);else/^(drag|drop)/.test(t)?(a=K.getDraggable(e),K.rmDragFn(a[t],r,n),a.dragstart.length||a.drag.length||a.dragEnd.length||a.dropped.length||K.freeDraggable(e)):e.removeEventListener?e.removeEventListener(t,r,o):e.attachEvent&&e.detachEvent("on"+t,r.related)},offset:function(e){for(var t={top:0,left:0,width:e.offsetWidth,height:e.offsetHeight};e;)t.top=t.top+parseInt(e.offsetTop),t.left=t.left+parseInt(e.offsetLeft),e=e.offsetParent;return t},findReactParents:function(e){var t,r=[e];for(var n in e)if(n.startsWith("__reactInternalInstance$")||n.startsWith("__reactFiber$")){for(t=e[n];t.return;)t.stateNode&&!r.includes(t.stateNode)&&r.push(t.stateNode),t=t.return;return r}return e.parentNode&&this.findReactParents(e.parentNode)}};const ee=Q;var te=r(73),re=r(367),ne=function(e){return"number"==typeof e?e?e<0?-1:1:e==e?e:NaN:NaN},oe=Math.abs,ae=Math.floor,ie=(Math.round,Math.min),se=Math.max,le=function(e){return void 0===e&&(e=0),e.toFixed(3)},ue=function(){function e(e){var t=this._={};t.conf=c()({},this.constructor.config,e),this.active=!1,t.pos=e.value||0,t.refFPS=16,t.min=e.min||0,t.max=e.max||0,t.currentStop=0,t.lastInertiaPos=0,t.stops=t.conf.stops,t.disabled=t.conf.disabled,t.wayPoints=t.conf.wayPoints,t.inertiaFn=re.easePolyOut,t.targetWayPointIndex=0,this._detectCurrentSnap()}var t=e.prototype;return t.updateConf=function(e){var t=this._;t.min=e.min||0,t.max=e.max||0,t.stops=e.stops,t.disabled=e.disabled,t.wayPoints=e.wayPoints,t.conf.willStop=e.willStop,t.conf.willSnap=e.willSnap,t.conf.shouldLoop=e.shouldLoop},t.startMove=function(){var e=this._;e.baseTS=e.startTS=Date.now()/1e3,e.lastVelocity=e.lastIVelocity=0,e.lastAccel=0,e.posDiff=0,e.loopsDiff=0,this.active=!0,this.holding=!0,e.inertia=!1},t.hold=function(e){var t,r=this._,n=void 0!==r.lastHoldPos?e-r.lastHoldPos:0,o=Date.now()/1e3,a=o-r.baseTS,i=e,s=n/a;if(r.lastHoldPos=e,r.lastBaseTs||(r.lastBasePos=e,r.lastBaseTs=r.baseTS),a<.003||((s<=0&&r.lastVelocity>0||s>=0&&r.lastVelocity<0||oe(s)<oe(.2*r.lastVelocity))&&o-r.lastBaseTs>.15?(r.lastBasePos=e,r.lastBaseTs=o,r.lastVelocity=0,r.lastIVelocity=0,r.baseTS=o,r.targetDist=0,r.lastInertiaPos=0):s<=0&&r.lastVelocity>0||s>=0&&r.lastVelocity<0||oe(s)<oe(.2*r.lastVelocity)||(r.lastIVelocity=s,r.lastVelocity=(i-r.lastBasePos)/(o-r.lastBaseTs),r.baseTS=o,r.targetDist=0,r.lastInertiaPos=0,r.targetWayPoint=void 0,r.targetWayPointIndex=void 0)),r.conf.bounds&&(i>r.max?i=r.max:i<r.min&&(i=r.min)),r.conf.shouldLoop)for(;t=r.conf.shouldLoop(i,n);)i+=t;r.pos=i},t.release=function(){var e=this._;ne(e.lastVelocity),this.holding=!1,function(e){var t=ne(e.lastVelocity);e.disabled?(e.loopsTarget=0,e.loopsVelSum=0,e.targetDist=0,e.targetDuration=0):(e.loopsTarget=ae(Math.log(.05/oe(e.lastVelocity))/Math.log(.9)),e.loopsVelSum=(Math.pow(.9,e.loopsTarget)-oe(e.lastVelocity))/(.9-1),e.targetDist=e.loopsVelSum*e.refFPS*t/1e3||0,e.targetDuration=oe(e.loopsTarget*e.refFPS*t)||0)}(e),e.lastHoldPos=void 0,e.lastBasePos=void 0,e.lastBaseTs=void 0,e.holding=!1,e.conf.bounds&&e.conf.snapToBounds&&(e.pos+e.targetDist>e.max?(e.targetDist=e.max-e.pos,e.targetDuration=oe(10*e.targetDist)):e.pos+e.targetDist<e.min&&(e.targetDist=e.min-e.pos,e.targetDuration=oe(10*e.targetDist))),e.targetDuration||(e.targetDuration=50),this.active=!0,e.inertia=!0,e.lastInertiaPos=0,e.inertiaStartTm=e.inertiaLastTm=Date.now(),this._doSnap(null,500),null==e.conf.willEnd||e.conf.willEnd(e.targetDist+e.pos,e.targetDist,e.targetDuration)},t.update=function(e){void 0===e&&(e=Date.now());var t,r,n=this._,o=n.inertiaFn((e-n.inertiaStartTm)/n.targetDuration)*n.targetDist;if(!n.inertia)return n.pos;var a=o-n.lastInertiaPos;if(n.lastInertiaPos=o,e-n.inertiaStartTm>=n.targetDuration&&(n.inertia=this.active=!1,n.lastInertiaPos=a=0,n.targetDist=0,n.targetWayPoint&&(a=n.targetWayPoint.at-n.pos,n.currentWayPoint=n.targetWayPoint,n.currentWayPointIndex=n.targetWayPointIndex,n.targetWayPoint=null,n.targetWayPointIndex=null),n.conf.onInertiaEnd&&n.conf.onInertiaEnd(n.pos,n.currentWayPoint)),a=a||0,t=n.pos+a,n.conf.shouldLoop)for(;r=n.conf.shouldLoop(t,a);)t+=r,n.inertia;return n.pos=t,t},t.setPos=function(e){var t=this._;if(t.inertia=!1,this.active=!1,t.lastInertiaPos=0,t.targetDist=0,t.inertiaStartTm=0,t.inertiaLastTm=0,t.targetDuration=0,t.conf.shouldLoop){for(var r,n=e;r=t.conf.shouldLoop(n,t.pos-e);)n+=r;e=n}t.pos=e,t.conf.bounds&&(t.pos=se(t.pos,t.min),t.pos=ie(t.pos,t.max))},t.setWayPoints=function(e){this._.wayPoints=e,this._detectCurrentSnap()},t.teleport=function(e){var t=this._;if(!t.inertia)return t.pos+=e;t.pos+=e},t.dispatch=function(e,t){void 0===t&&(t=500);var r=this._,n=Date.now();this.active=!0,r.inertia&&ne(e)===ne(r.targetDist)?(r.targetDist+=e,r.targetDuration+=t/2):(r.inertia=!0,r.lastInertiaPos=0,r.inertiaStartTm=r.inertiaLastTm=n,r.targetDist=e,r.targetDuration=t),r.conf.bounds&&(r.pos+r.targetDist>r.max?(r.targetDist=r.max-r.pos,r.targetDuration=oe(10*r.targetDist)):r.pos+r.targetDist<r.min&&(r.targetDist=r.min-r.pos,r.targetDuration=oe(10*r.targetDist))),this._doSnap(ne(e),750)},t._detectCurrentSnap=function(){var e,t=this._,r=t.pos;if(t.wayPoints&&t.wayPoints.length)for(e=0;e<t.wayPoints.length;e++)if(le(t.wayPoints[e].at)===le(r))return t.currentWayPoint=t.wayPoints[e],t.currentWayPointIndex=e,e},t._doSnap=function(e,t){void 0===t&&(t=2e3);var r,n,o,a,i=this._,s=i.targetDist+(i.pos-(i.lastInertiaPos||0)),l=0;if(i.wayPoints&&i.wayPoints.length){if(i.conf.shouldLoop)for(;a=i.conf.shouldLoop(s,0);)s+=a,l+=a;for(o=0;o<i.wayPoints.length&&!(i.wayPoints[o].at>s);o++);if(o===i.wayPoints.length?o--:0===o?o=0:(n=(i.wayPoints[o].at-i.wayPoints[o-1].at)/2,n=i.wayPoints[o-1].at+n*((i.wayPoints[o].gravity||1)/(i.wayPoints[o-1].gravity||1)),e?e<0&&o--:s<n&&o--),i.conf.maxJump&&te.number(i.currentWayPointIndex)){var u=o-i.currentWayPointIndex;oe(u)>i.conf.maxJump&&(o=i.currentWayPointIndex+ne(u)*i.conf.maxJump)}r=i.wayPoints[o].at,i.conf.willSnap&&i.conf.willSnap(o,i.wayPoints[o]),i.lastInertiaPos=i.lastInertiaPos||0,r=r-(i.pos-i.lastInertiaPos)-l,i.targetDuration=se(50,ie(t,oe(i.targetDuration/i.targetDist*r)))||0,i.targetDist=r,i.targetWayPoint=i.wayPoints[o],i.targetWayPointIndex=o}else r=~~(i.pos-i.lastInertiaPos),i.conf.infinite||(r>i.max?(r=i.max-r,i.targetDuration=ie(t,oe(i.targetDuration/i.targetDist*r)),i.targetDist=r):r<i.min&&(r=i.min-r,i.targetDuration=ie(t,oe(i.targetDuration/i.targetDist*r)),i.targetDist=r))},t.setBounds=function(e,t){var r=this._;r.min=e,r.max=t},t.isInbound=function(e){var t=this._,r=void 0!==t.lastHoldPos?e-t.lastHoldPos:0,n=(t.targetDist||0)+(t.pos-(t.lastInertiaPos||0))+r;return n>=t.min&&n<=t.max},e}();ue.config={bounds:!0,snapToBounds:!0};var ce,pe,fe=new Function("try {return this===window;}catch(e){ return false;}")(),de=h().array,he=[],ge=function e(){var t=0,r=Date.now(),n=r-pe;for(pe=r;t<he.length;t++)he[t].cpos=Math.min(n+he[t].cpos,he[t].duration),he[t].apply(he[t].cpos,he[t].duration),he[t].cpos==he[t].duration&&(he[t].cb&&setTimeout(he[t].cb),he.splice(t,1),t--);he.length?setTimeout(e,16):ce=!1},me=function(e){function t(t){var r;(r=e.apply(this,arguments)||this).axes={},r._scrollWatcherByAxis={},r._updateNodeInertia=function(){var e,t=r._,n=t.activeInertia.length;r._inertiaRaf&&cancelAnimationFrame(r._inertiaRaf);for(var o=0;n>o;o++)((e=t.activeInertia[o]).inertia.x.active||e.inertia.x.holding)&&(e.target.scrollLeft=~~e.inertia.x.update()),(e.inertia.y.active||e.inertia.y.holding)&&(e.target.scrollTop=~~e.inertia.y.update()),e.inertia.x.active||e.inertia.y.active||e.inertia.x.holding||e.inertia.y.holding||(t.activeInertia.slice(o,1),o--,n--);r._inertiaRaf=0!==n?requestAnimationFrame(r._updateNodeInertia):null},r._swap={};var n=r._={refs:{},muxByTarget:{}};return n.box={x:100,y:100,z:800},r.__isTweener=!0,n._rafLoop=r._rafLoop.bind(x()(r)),n.rootRef=r.props.forwardedRef||i().createRef(),n.options=c()({maxClickTm:200,maxClickOffset:5},t.tweenerOptions||{}),n.tweenRefCSS={},n.tweenRefs={},n.tweenRefMaps={},n.iMapOrigin={},n.tweenRefInitialData={},n.tweenEnabled=!0,n.tweenRefOrigin={},n.tweenRefOriginCss={},n.muxDataByTarget=n.muxDataByTarget||{},n.tweenRefDemuxed=n.tweenRefDemuxed||{},n.tweenRefTargets=n.tweenRefTargets||[],n.runningAnims=n.runningAnims||[],n.scrollHook=[],n.activeInertia=[],fe&&window.addEventListener("resize",r._.onResize=function(e){var t,o;r._updateBox(),r._updateTweenRefs(),null==(t=n.rootRef)||null==(o=t.current)||null==o.windowDidResize||o.windowDidResize(e)}),r}o()(t,e);var r=t.prototype;return r.tweenRef=function(e,t,r,n,o,a){void 0===t&&(t={}),void 0===r&&(r={});var i=this._,s={},u={};return i.tweenRefs[e]||i.tweenRefTargets.push(e),i.tweenRefs[e]&&(a||i.iMapOrigin[e]!==r&&!l()(r,i.iMapOrigin[e])||i.tweenRefOriginCss[e]!==t&&!l()(t,i.tweenRefOriginCss[e]))?(i.iMapOrigin[e]=r,i.tweenRefOriginCss[e]=t,t=t||{},r=r||{},t=c()({},t,z(r,s,u,i.muxDataByTarget[e],i.muxByTarget[e],!1,!0)),Object.keys(i.tweenRefOrigin[e]).forEach((function(t){return i.tweenRefMaps[e][t]-=i.tweenRefOrigin[e][t]})),Object.keys(u).forEach((function(t){return i.tweenRefMaps[e][t]=h().number(i.tweenRefMaps[e][t])?i.tweenRefMaps[e][t]:u[t]})),Object.keys(s).forEach((function(t){return i.tweenRefMaps[e][t]+=s[t]})),Object.keys(i.tweenRefOrigin[e]).forEach((function(t){N(0,t,i.tweenRefMaps[e],i.tweenRefCSS[e],i.muxDataByTarget[e],i.muxByTarget[e])})),i.tweenRefOrigin[e]=c()({},s),H(i.tweenRefMaps[e],i.tweenRefCSS[e],i.muxByTarget[e],i.muxDataByTarget[e],i.box),this._updateTweenRef(e,!0)):i.tweenRefs[e]?H(i.tweenRefMaps[e],i.tweenRefCSS[e],i.muxByTarget[e],i.muxDataByTarget[e],i.box):(i.iMapOrigin[e]=r,t=t||{},r=r||{},i.tweenRefs[e]=!0,i.muxByTarget[e]=i.muxByTarget[e]||{},i.muxDataByTarget[e]=i.muxDataByTarget[e]||{},i.tweenRefOriginCss[e]=t,i.tweenRefMaps[e]=i.tweenRefMaps[e]||{},i.tweenRefOrigin[e]?(t=c()({},t,z(r,s,u,i.muxDataByTarget[e],i.muxByTarget[e],!1,!0)),Object.keys(u).forEach((function(t){return i.tweenRefMaps[e][t]=h().number(i.tweenRefMaps[e][t])?i.tweenRefMaps[e][t]-u[t]:0})),Object.keys(s).forEach((function(t){return i.tweenRefMaps[e][t]+=s[t]}))):(t=c()({},t,z(r,s,u,i.muxDataByTarget[e],i.muxByTarget[e])),s=Object.assign({},u,s||{}),Object.keys(s).forEach((function(t){return i.tweenRefMaps[e][t]=(i.tweenRefMaps[e][t]||0)+s[t]}))),i.tweenRefOrigin[e]=c()({},s),i.tweenRefCSS[e]=t,H(s=i.tweenRefMaps[e],t,i.muxByTarget[e],i.muxDataByTarget[e],i.box)),o?{style:c()({},i.tweenRefCSS[e])}:{style:c()({},i.tweenRefCSS[e]),ref:function(t){return i.refs[e]=t}}},r.rmTweenRef=function(e){this._.tweenRefs[e]&&(this._.tweenRefTargets.splice(this._.tweenRefTargets.indexOf(e),1),delete this._.tweenRefs[e],delete this._.muxByTarget[e],delete this._.muxDataByTarget[e],delete this._.iMapOrigin[e],delete this._.tweenRefOrigin[e],delete this._.tweenRefCSS[e],delete this._.tweenRefMaps[e],delete this._.refs[e])},r.resetTweenable=function(){for(var e=this,t=this._,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];n.forEach((function(r){e.tweenRef(r,t.tweenRefOriginCss[r],t.iMapOrigin[r],null,null,!0)})),this._updateTweenRefs()},r.updateRefStyle=function(e,t,r){var n,o=this,a=this._;return de(e)&&de(t)?e.map((function(e,n){return o.updateRefStyle(e,t[n],r)})):de(e)?e.map((function(e){return o.updateRefStyle(e,t,r)})):a.tweenRefMaps[e]?(n=z(t,a.tweenRefMaps[e],{},a.muxDataByTarget[e],a.muxByTarget[e]),Object.assign(a.tweenRefCSS[e],n),Object.assign(a.tweenRefOriginCss[e],n),H(a.tweenRefMaps[e],a.tweenRefCSS[e],a.muxByTarget[e],a.muxDataByTarget[e],a.box),void this._updateTweenRef(e,!0)):console.warn("React-Voodoo : Can't update styles of an unknown Node id '",e,"'")},r.getTweenableRef=function(e){try{return this._.refs[e]&&w().findDOMNode(this._.refs[e])}catch(t){try{return this._.refs[e]._.rootRef.current}catch(t){return void console.warn("react-voodoo: Can't find voodooNode ",e,t)}}},r.getRootNode=function(){try{return this.getTweenableRef(this._.rootRef)||this.isMountedFromHook&&this._.rootRef&&this._.rootRef.current||w().findDOMNode(this)}catch(e){return this._.rootRef&&this._.rootRef.current}},r.pushAnim=function(e,r,n){var o=this;void 0===n&&(n=!0);var a,i,s=this._,l={};if(de(e)?a=e:(a=e.anims,e.initial),a instanceof G||(a=V(a,l,this._.muxDataByTarget,this._.muxByTarget),a=new G(a,this._.tweenRefMaps),Object.keys(l).forEach((function(e){return o._.tweenRefMaps[e]&&Object.assign(o._.tweenRefMaps[e],c()({},l[e],o._.tweenRefMaps[e]))||(i=console.warn("react-voodoo : Can't find tween target ",e," in ",t.displayName)||!0)}))),!i)return new Promise((function(e){a.run(o._.tweenRefMaps,(function(){var t=o._.runningAnims.indexOf(a);-1!=t&&o._.runningAnims.splice(t,1),Object.keys(l).forEach((function(e){Object.keys(l[e]).forEach((function(t){N(0,t,s.tweenRefMaps[e],s.tweenRefCSS[e],s.muxDataByTarget[e],s.muxByTarget[e],n)}))})),a.destroy(),e(a)})),o._.runningAnims.push(a),o._.live||(o._.live=!0,requestAnimationFrame(o._._rafLoop=o._._rafLoop||o._rafLoop.bind(o)))})).then((function(e){return r&&r(e)}))},r.applyTweenState=function(e,t,r){var n=this,o={},a={};z(t,o,a,this._.muxDataByTarget[e],this._.muxByTarget[e],!0),Object.keys(o).map((function(t){return n._.tweenRefMaps[e][t]=(!r&&n._.tweenRefMaps[e][t]||a[t])+o[t]}))},r.initAxis=function(e,t,r){var n=this,o=t.inertia,a=t.scrollableArea,i=void 0===a?0:a,s=t.scrollableBounds,l=t.scrollableWindow,u=t.defaultPosition,p=t.scrollFirst,f=(this._,this.axes[e]),d=s,h=!r&&f?f.scrollPos:u||d&&d.min||0,g=Math.max(f&&f.scrollableArea||0,i),m=Math.max(f&&f.scrollableWindow||0,l),x=f?f.targetPos:h,v=f?f.inertia:new ue(c()({disabled:!o},o||{},{value:h})),y={scrollFirst:p,tweenAxis:f&&f.tweenAxis||[],scrollPos:h,targetPos:x,inertia:v,scrollableWindow:m,scrollableBounds:d,scrollableArea:g,scrollTo:function(t,r,o,a){return n.scrollTo(t,r,e,o,a)}};this.axes[e]=y,!o&&(v._.disabled=!0),o&&v&&!v.active&&(v._.pos=h),o&&v&&v.updateConf(o),v&&d?null==v.setBounds||v.setBounds(d.min,d.max):v&&(null==v.setBounds||v.setBounds(0,g))},r._getAxis=function(e){var t=this;void 0===e&&(e="scrollY");var r=this._;return this.axes[e]=this.axes[e]||{tweenAxis:[],scrollPos:r.options.initialScrollPos&&r.options.initialScrollPos[e]||0,targetPos:0,scrollableWindow:0,scrollableArea:0,inertia:new ue(c()({value:r.options.initialScrollPos&&r.options.initialScrollPos[e]||0},r.options.axes&&r.options.axes[e]&&r.options.axes[e].inertia||{})),scrollTo:function(r,n,o,a){return t.scrollTo(r,n,e,o,a)}},this.axes[e]},r.getAxisState=function(e){var t=this,r=(this._,{});return this.axes&&Object.keys(this.axes).forEach((function(e){return r[e]=t.axes[e].targetPos||t.axes[e].scrollPos})),r},r.getScrollPos=function(e){return void 0===e&&(e="scrollY"),this._,this.axes[e]?this.axes[e].targetPos||this.axes[e].scrollPos:0},r.scrollTo=function(e,t,r,n,o){var a=this;void 0===t&&(t=0),void 0===r&&(r="scrollY");var i=this._;return fe?new Promise((function(s,l){if(a.axes&&a.axes[r]){var u,c,p,f,d,h,g,m,x,y=a.axes[r].targetPos,w=function(e){var t,n;e=~~(1e4*e)/1e4,a.axes[r].targetPos=a.axes[r].scrollPos=e,~~e!==y&&(a.axisDidScroll(~~e,r),null==(t=i.rootRef)||null==(n=t.current)||null==n.componentDidScroll||n.componentDidScroll(~~e,r)),a._updateTweenRefs()};if(e=Math.max(0,e),e=Math.min(e,a.axes[r].scrollableArea||0),a.axes[r].targetPos=e,t)a._runScrollGoTo(r,e,t,v[n],o,w,s);else null==(u=a.axes)||null==(c=u[r])||null==(p=c.inertia)||p.setPos(e),null!=(f=a.axes)&&null!=(d=f[r])&&null!=(h=d.inertia)&&h._&&(e=null==(g=a.axes)||null==(m=g[r])||null==(x=m.inertia)?void 0:x._.pos),a.axes[r].tweenAxis.forEach((function(t){return t.goTo(e,i.tweenRefMaps,!1,o)})),w(e),s();i.live||(i.live=!0,requestAnimationFrame(i._rafLoop))}})).then((function(e){var t,n,o;null==(t=a.axes)||null==(n=t[r])||null==(o=n.inertia)||o._detectCurrentSnap()})):(console.warn("React-voodoo : scrollTo can't be used serverside, use Axis defaultPosition prop to set initial axes position"),Promise.resolve())},r.addScrollableAnim=function(e,t,r){var n,o=this;void 0===t&&(t="scrollY");var a,i=this._,s={},l=this._getAxis(t);return de(e)?a=e:(a=e.anims,e.length),a instanceof G||(a=V(a,s,this._.muxDataByTarget,this._.muxByTarget),(a=new G(a,i.tweenRefMaps)).initials=s,Object.keys(s).forEach((function(e){i.tweenRefOrigin[e]=i.tweenRefOrigin[e]||{},i.tweenRefMaps[e]=i.tweenRefMaps[e]||{},Object.assign(o._.tweenRefMaps[e],c()({},s[e],o._.tweenRefMaps[e]))}))),l.tweenAxis.push(a),l.scrollPos=l.scrollPos||0,l.scrollableArea=l.scrollableArea||0,l.scrollableArea=Math.max(l.scrollableArea,a.duration),l.scrollableBounds||null==(n=l.inertia)||n.setBounds(0,l.scrollableArea),a.goTo(l.scrollPos,this._.tweenRefMaps,!1,!0),this._updateTweenRefs(),a},r.rmScrollableAnim=function(e,t){void 0===t&&(t="scrollY");var r,n,o=this._,a=this._getAxis(t),i=a.tweenAxis.indexOf(e);-1!==i&&(a.tweenAxis.splice(i,1),a.scrollableArea=Math.max.apply(Math,a.tweenAxis.map((function(e){return e.duration})).concat([0])),a.scrollableBounds||null==(n=a.inertia)||n.setBounds(0,a.scrollableArea||0),e.goTo(0,this._.tweenRefMaps,!1,!0),Object.keys(e.initials).forEach((function(t){Object.keys(e.initials[t]).forEach((function(e){N(0,e,o.tweenRefMaps[t],o.tweenRefCSS[t],o.muxDataByTarget[t],o.muxByTarget[t])}))})),delete e.initials,e.destroy(),r=!0,this._updateTweenRefs()),!r&&console.warn("react-voodoo: Axis not found : ",t)},r._runScrollGoTo=function(e,t,r,n,o,a,i){var s=this;void 0===n&&(n=function(e){return e});var l=this.axes[e].scrollPos,u=t-l;he.push({apply:function(t,r){var i,c,p,f,d,h,g,m,x,v=l+n(t/r)*u;s._.tweenEnabled&&(null==(i=s.axes)||null==(c=i[e])||null==(p=c.inertia)||p.setPos(v),null!=(f=s.axes)&&null!=(d=f[e])&&null!=(h=d.inertia)&&h._&&(v=null==(g=s.axes)||null==(m=g[e])||null==(x=m.inertia)?void 0:x._.pos),s.axes[e].tweenAxis.forEach((function(e){return e.goTo(v,s._.tweenRefMaps,!1,o)})),a&&a(v))},duration:r,cpos:0,cb:i}),ce||(ce=!0,pe=Date.now(),setTimeout(ge,16))},r.getScrollableNodes=function(e){var t=this,r=ee.findReactParents(e),n=this._;return(r=n.rootRef&&n.rootRef.current&&n.rootRef.current.hookScrollableTargets&&n.rootRef.current.hookScrollableTargets(r)||r).map((function(e){return h().string(e)?t._.refs[e]&&w().findDOMNode(t._.refs[e])||t.refs[e]||document.getElementById(e):e}))},r.componentShouldScroll=function(){var e,t=this._;return!(t.rootRef&&t.rootRef.current&&t.rootRef.current.componentShouldScroll)||(e=t.rootRef.current).componentShouldScroll.apply(e,arguments)},r.watchAxis=function(e,t){var r=this._scrollWatcherByAxis;return r[e]=r[e]||[],r[e].push(t),function(){var n=r[e].indexOf(t);r[e].splice(n,1)}},r.axisDidScroll=function(e,t){var r=this._scrollWatcherByAxis[t],n=null==r?void 0:r.length;if(r)for(;n;)r[--n](e)},r.applyInertia=function(e,t){var r,n,o=this,a=e.inertia.update(),i=this._;this.axes[t].tweenAxis.forEach((function(e){o.axes[t].targetPos=o.axes[t].scrollPos=a,e.goTo(a,o._.tweenRefMaps)})),null==(r=i.rootRef)||null==(n=r.current)||null==n.componentDidScroll||n.componentDidScroll(a,t),this.axisDidScroll(a,t),this._updateTweenRefs(),e.inertia.active||e.inertia.holding?e.inertiaFrame=setTimeout(this.applyInertia.bind(this,e,t),33):e.inertiaFrame=null},r.isInertiaActive=function(){var e=this,t=(this._,!1);return this.axes&&Object.keys(this.axes).forEach((function(r){return t=t||e.axes[r]&&e.axes[r].inertia.active})),t},r.dispatchScroll=function(e,t){void 0===t&&(t="scrollY");var r=this.axes[t],n=r&&r.scrollPos;r&&n!==n+e&&(r.inertia.dispatch(e,100),!r.inertiaFrame&&this.applyInertia(r,t))},r.isAxisOut=function(e,t,r){this._;var n=this.axes&&this.axes[e],o=r?t:n&&n.scrollPos+t;return o=o&&Math.round(o),!n||(n.scrollableBounds?o<=n.scrollableBounds.min||o>=n.scrollableBounds.max:o<=0||o>=n.scrollableArea)},r._doDispatch=function(e,t,r,n){var o,a,i,s=e;for(a=this.getScrollableNodes(s),i=0;i<a.length;i++){if(a[i].__isTweener)a[i].isAxisOut("scrollX",t)||a[i].componentShouldScroll&&!a[i].componentShouldScroll("scrollX",t)||(a[i].dispatchScroll(t,"scrollX",n),t=0),a[i].isAxisOut("scrollY",r)||a[i].componentShouldScroll&&!a[i].componentShouldScroll("scrollY",r)||(a[i].dispatchScroll(r,"scrollY",n),r=0);else if(h().element(a[i])&&(o=getComputedStyle(a[i],null),/(auto|scroll)/.test(o.getPropertyValue("overflow")+o.getPropertyValue("overflow-x")+o.getPropertyValue("overflow-y"))&&(r<0&&0!==a[i].scrollTop||r>0&&a[i].scrollTop!==a[i].scrollHeight-a[i].clientHeight)))return;if(!t&&!r)break}if(this._updateNodeInertia(),!t&&!r)return!0},r._activateNodeInertia=function(e){var t=this._,r=t.activeInertia.findIndex((function(t){return t.target===e}));return-1===r&&(t.activeInertia.push({inertia:{x:new ue({max:e.scrollWidth-e.offsetLeft,value:e.scrollLeft}),y:new ue({max:e.scrollHeight-e.offsetHeight,value:e.scrollTop})},target:e}),r=t.activeInertia.length-1),t.activeInertia[r].inertia},r.setRootRef=function(e){this._.rootRef=e},r._updateBox=function(){var e=this.getRootNode();e&&(this._.box.inited=!0,this._.box.x=e.offsetWidth,this._.box.y=e.offsetHeight)},r._rafLoop=function(){this._updateTweenRefs(),this._.runningAnims.length?requestAnimationFrame(this._._rafLoop):this._.live=!1},r._updateTweenRefs=function(){if(this._.tweenEnabled)for(var e,t=0;t<this._.tweenRefTargets.length;t++)e=this._.tweenRefTargets[t],this._updateTweenRef(e)},r._updateTweenRef=function(e,t){var r,n=this._swap;if(this._.tweenRefCSS[e]&&H(this._.tweenRefMaps[e],n,this._.muxByTarget[e],this._.muxDataByTarget[e],this._.box),r=this.getTweenableRef(e)){for(var o in this._.tweenRefCSS[e])void 0===n[o]&&(r.style[o]=this._.tweenRefCSS[e][o]);for(var a in n)this._.tweenRefCSS[e].hasOwnProperty(a)&&((t||n[a]!==this._.tweenRefCSS[e][a])&&(r.style[a]=this._.tweenRefCSS[e][a]=n[a]),delete n[a])}return this._.tweenRefCSS[e]},r.componentWillUnmount=function(){var t=this;this.getRootNode(),this._.tweenEnabled&&(this._.tweenEnabled=!1,window.removeEventListener("resize",this._.onResize),Object.keys(this.axes).forEach((function(e){t.axes[e].inertiaFrame&&clearTimeout(t.axes[e].inertiaFrame)}))),e.prototype.componentWillUnmount&&e.prototype.componentWillUnmount.apply(this,arguments)},r.componentDidMount=function(){var t=this,r=this.constructor;this._.rendered=!0,this._.tweenEnabled&&(this._updateBox(),this._updateTweenRefs()),r.scrollableAnim&&(h().array(r.scrollableAnim)?this.addScrollableAnim(r.scrollableAnim):Object.keys(r.scrollableAnim).forEach((function(e){return t.addScrollableAnim(r.scrollableAnim[e],e)}))),e.prototype.componentDidMount&&e.prototype.componentDidMount.apply(this,arguments)},r.componentDidUpdate=function(t,r){this._.tweenEnabled&&(this._updateBox(),this._updateTweenRefs()),e.prototype.componentDidUpdate&&e.prototype.componentDidUpdate.apply(this,arguments)},r.render=function(){var e=this,t=this.props,r=t.BaseComponent,n=t.oProps;return i().createElement(g.Consumer,null,(function(t){return e._parentTweener=t,i().createElement(g.Provider,{value:e},i().createElement(r,c()({},n,{ref:e._.rootRef,tweener:e})))}))},t}(i().Component),xe=["children"];const ve=function(e,t){void 0===t&&(t="div");var r=i().useContext(g),n=i().useRef(),o=i().useRef(),a=i().useMemo((function(){return!0===e||h().string(e)}),[]),s=i().useMemo((function(){if(!0===e)return r;if(h().string(e)){for(var t=r;null!=(o=t)&&o._&&t._.options.name!==e;){var o;if(!t._parentTweener){console.warn('react-voodoo: No parent tweener found with option.key === "'+e+'"');break}t=t._parentTweener}return t}var a=new me({forwardedRef:n,tweenerOptions:e});return a.isMountedFromHook=!0,a._parentTweener=r,a}),[]),l=i().useMemo((function(){return i().forwardRef((function(e,r){var o=e.children,a=f()(e,xe);return i().createElement(g.Provider,{value:s},i().createElement(t,c()({ref:r?function(e){return r.current=n.current=e}:n},a),o))}))}),[]);return i().useEffect((function(){var e;if(!a&&null!=(e=o.current)&&e._)return s.componentDidMount(),o.current=s,function(){var e;null!=(e=o.current)&&e._&&(o.current.componentWillUnmount(),o.current=null)}}),[]),i().useEffect((function(){var e;!a&&null!=(e=o.current)&&e._&&(o.current._updateBox(),o.current._updateTweenRefs())}),[n.current]),i().useEffect((function(){var e;!a&&null!=(e=o.current)&&e._&&(o.current._parentTweener=r)}),[r]),i().useEffect((function(){var t;!a&&null!=(t=o.current)&&t._&&(o.current._.options=e,o.current._updateBox(),o.current._updateTweenRefs())}),[e]),i().useMemo((function(){return[s,l]}),[l,s])},ye=function(e){e.children;var t=e.id,r=e.axe,n=void 0===r?t:r,o=e.scrollFirst,a=e.bounds,s=e.scrollableWindow,u=e.inertia,c=e.size,p=e.defaultPosition,f=e.items,d=void 0===f?[]:f,h=i().useRef({}).current,g=ve(!0)[0];return h.previousAxis&&h.previousAxis===n?h.previousInertia&&h.previousInertia===u&&h.previousBounds===a&&h.previousScrollableWindow===s||(h.previousInertia=u,h.previousAxis=n,h.previousBounds=a,h.previousScrollableWindow=s,g.initAxis(n,{inertia:u,size:c,scrollableWindow:s,defaultPosition:p,scrollFirst:o,scrollableBounds:a})):(h.previousAxis=n,h.previousInertia=u,g.initAxis(n,{inertia:u,size:c,scrollableWindow:s,defaultPosition:p,scrollFirst:o,scrollableBounds:a},!0)),h.previousTweener&&h.previousTweener===g?h.previousTweens===d||h.previousTweens&&l()(d,h.previousTweens)||(h.lastTL&&h.previousTweener&&h.previousTweener.rmScrollableAnim(h.lastTL,h.previousAxis),h.lastTL=null,d.length&&(h.lastTL=g.addScrollableAnim(d,n,c)),h.previousTweens=d):(h.previousTweener&&h.lastTL&&h.previousTweener.rmScrollableAnim(h.lastTL,h.previousAxis),d.length&&(h.lastTL=g.addScrollableAnim(d,n,c)),h.previousTweener=g,h.previousTweens=d),i().useEffect((function(){return function(){h.lastTL&&h.previousTweener&&h.previousTweener.rmScrollableAnim(h.lastTL,h.previousAxis),delete h.previousTweener,delete h.previousScrollable}}),[]),i().createElement(i().Fragment,null)},we=require("shortid");var be=r.n(we);function _e(e){return"function"==typeof e&&!(e.prototype&&e.prototype.isReactComponent)}function Re(e){return function(e){return"function"==typeof e&&!!e.prototype.isReactComponent}(e)||_e(e)}var Te=["children","id","style","initial","pos","noRef","reset","tweener","isRoot","axes","refProp","tweenLines","tweenAxis"],Se=["children","className"];function Pe(e,t){return e.map((function(e){return c()({},e,{target:t})}))}var De=function(e){var t=e.children,r=e.id,n=void 0===r?i().useMemo((function(){return be().generate()}),[]):r,o=e.style,a=e.initial,s=e.pos,u=e.noRef,p=(e.reset,e.tweener),d=(e.isRoot,e.axes),g=e.refProp,m=void 0===g?"nodeRef":g,x=e.tweenLines,v=void 0===x?d:x,y=e.tweenAxis,w=void 0===y?v:y,b=f()(e,Te),_=i().useRef({}).current,R=ve(!0)[0];if(!(R=p||R))return console.error("No Voodoo tweener found in the context, is there any parent with asTweener ?"),i().createElement(i().Fragment,null);var T,S=R.tweenRef(n,t.props&&t.props.style,o||a,s,u);i().useEffect((function(){return function(){_._tweenAxisObj&&Object.keys(_._tweenAxisObj).forEach((function(e){return _._currentTweener.rmScrollableAnim(_._tweenAxisObj[e],e)})),_._currentTweener&&(_._currentTweener.rmTweenRef(_.__tweenableId),_._currentTweener.setRootRef(void 0)),delete _._currentTweener,delete _._tweenAxisObj,delete _._previousScrollable}}),[]),_._currentTweener!==R||_._previousScrollable!==w?(T=_._tweenAxis!==w&&!(_._tweenAxis&&l()(w,_._tweenAxis)),_._currentTweener&&T&&_._tweenAxisObj&&Object.keys(_._tweenAxisObj).forEach((function(e){return _._currentTweener.rmScrollableAnim(_._tweenAxisObj[e],e)})),_._currentTweener&&_._currentTweener!==R&&_._currentTweener.rmTweenRef(n),T&&(_._tweenAxis=w,w&&h().array(w)?_._tweenAxisObj={scrollY:R.addScrollableAnim(Pe(w,n))}:_._tweenAxisObj=w&&Object.keys(w).reduce((function(e,t){return e[t]=R.addScrollableAnim(Pe(w[t],n),t),e}),{}),S=R.tweenRef(n,t.props&&t.props.style,o||a,s,u)),S.style=c()({},R._updateTweenRef(n,!0)),b.hasOwnProperty("isRoot")&&(_._currentTweener&&_._currentTweener.setRootRef(void 0),p.setRootRef(n)),_._currentTweener=R,_._previousScrollable=w):S&&(S.style=c()({},R._updateTweenRef(n,!0)));var P,D=i().Children.only(t);return D&&i().isValidElement(D)?(_._lastRef=S,_e(D.type)?i().createElement(D.type,c()({},b,D.props,S,{ref:void 0},((P={})[m]=S.ref,P))):i().createElement(D.type,c()({},b,D.props,S))):(console.error("Invalid voodoo Node child : ",n),i().createElement("div",null,"Invalid"))};const Me=De;De.div=function(e){var t=e.children,r=e.className,n=f()(e,Se);return i().createElement(De,n,i().createElement("div",{className:r},t))};var Ee=["children","Comp","nodeRef","items","xAxis","yAxis","yBoxRef","xBoxRef","yRef","yHook","xHook","tweener","mouseDrag","touchDrag","button"],Oe=function(e){var t=e.children,r=e.Comp,n=void 0===r?"div":r,o=e.nodeRef,a=(e.items,e.xAxis),s=e.yAxis,l=e.yBoxRef,u=e.xBoxRef,p=(e.yRef,e.yHook),d=e.xHook,g=e.tweener,m=e.mouseDrag,x=void 0!==m&&m,v=e.touchDrag,y=void 0===v||v,w=e.button,b=void 0===w?0:w,_=f()(e,Ee),R=i().useRef(),T=i().useRef({root:R,_:{}}).current,S=ve(!0)[0],P=i().useMemo((function(){return{getScrollableNodes:function(e){for(var t=[],r=T._parentTweener;r;)t.push(r),r=r._parentTweener;return t},_registerScrollListeners:function(){var e,t,r,n,o,a,i,s,l,u=null==(e=T.root)?void 0:e.current,c=T.props,p=c.xAxis,f=c.yAxis,d=c.yHook,h=c.xHook,g=c.mouseDrag,m=c.touchDrag,x=c.tweener,v=c.xBoxRef,y=c.yBoxRef,w=c.button,b=x._;u?(ee.addEvent(u,T._.dragList={dragstart:function(e,r,c){var d,h,g,m;if(!(e instanceof MouseEvent&&e.button!==w))for(o=P.getScrollableNodes(e.target),t=Date.now(),n=0,a=0,i=[],s=null==(d=(null==v?void 0:v.current)||u)?void 0:d.offsetWidth,l=null==(h=(null==y?void 0:y.current)||u)?void 0:h.offsetHeight,m=0;m<o.length;m++){var x,b;(g=o[m])._updateBox(),g.__isTweener&&(p&&(null==(x=g.axes)||x[p]),f&&(null==(b=g.axes)||b[f]),g._updateNodeInertia())}},click:function(e,r,o){e instanceof MouseEvent&&e.button!==w||t&&(t-Date.now()>b.options.maxClickTm||Math.abs(a)>b.options.maxClickOffset||Math.abs(n)>b.options.maxClickOffset)&&(e.preventDefault(),e.stopPropagation())},drag:function(e,u,c){var g,m,x,_,R,T,S,P,D,M;if(!(e instanceof MouseEvent&&e.button!==w||(n=-(c._lastPos.x-c._startPos.x),a=-(c._lastPos.y-c._startPos.y),t&&t>Date.now()-b.options.maxClickTm&&Math.abs(a)<b.options.maxClickOffset&&Math.abs(n)<b.options.maxClickOffset)))for(_=!n,P=!a,b.options.dragDirectionLock&&("Y"===r||!r&&Math.abs(.5*a)>Math.abs(n)?(r="Y",n=0):("X"===r||!r&&Math.abs(.5*n)>Math.abs(a))&&(r="X",a=0)),M=0;M<o.length;M++)if((g=o[M]).__isTweener){var E,O,A,B,C,k,I,L,W,j,F,N,H,z;if(m=p&&(null==(E=g.axes)?void 0:E[p]),T=f&&(null==(O=g.axes)?void 0:O[f]),!m&&!T)continue;i[M]||(i[M]={x:null==(I=m)?void 0:I.scrollPos,y:null==(L=T)?void 0:L.scrollPos},null==(W=m)||null==(j=W.inertia)||j.startMove(),null==(F=T)||null==(N=F.inertia)||N.startMove(),p&&m&&(null==(H=m)||!H.inertiaFrame)&&g.applyInertia(m,p),f&&T&&(null==(z=T)||!z.inertiaFrame)&&g.applyInertia(T,f)),m&&(R=null!=v&&v.current?s:g._.box.x,x=n&&n/R*(m.scrollableWindow||m.scrollableArea)||0,h&&(x=h(x))),T&&(D=null!=y&&y.current?l:g._.box.y,S=a&&a/D*(T.scrollableWindow||T.scrollableArea)||0,d&&(S=d(S))),m&&!_&&x&&null!=(A=m)&&null!=(B=A.inertia)&&B.isInbound(i[M].x+x)&&g.componentShouldScroll(p,x)&&(m.inertia.hold(i[M].x+x),_=!0),T&&!P&&S&&null!=(C=T)&&null!=(k=C.inertia)&&k.isInbound(i[M].y+S)&&g.componentShouldScroll(f,S)&&(T.inertia.hold(i[M].y+S),P=!0)}},dropped:function(e,s,l){var u,c;if(!(e instanceof MouseEvent&&e.button!==w)){for(r=void 0,c=0;c<o.length;c++){var d,h,g,m,x,v;(u=o[c]).__isTweener&&i[c]&&(null==(d=u.axes)||null==(h=d[p])||null==(g=h.inertia)||g.release(),null==(m=u.axes)||null==(x=m[f])||null==(v=x.inertia)||v.release())}!t||t>Date.now()-b.options.maxClickTm&&Math.abs(a)<b.options.maxClickOffset&&Math.abs(n)<b.options.maxClickOffset||(e.stopPropagation(),e.cancelable&&e.preventDefault()),o=i=null}}},null,b.options.enableMouseDrag||g,m),T._.doRegister=!!u):T._.doRegister=!0}}}),[]);return i().useEffect((function(){return P._registerScrollListeners(),function(){var e,t=null==(e=T.root)?void 0:e.current;T._.scrollEnabled&&(T._.scrollEnabled=!1,t&&T._.dragList&&ee.removeEvent(t,T._.dragList))}}),[]),i().useEffect((function(){h().function(o)&&o(R.current)})),T.props={xAxis:a,yAxis:s,yHook:p,xHook:d,mouseDrag:x,touchDrag:y,tweener:g||S,xBoxRef:u,yBoxRef:l,button:b},T._parentTweener=S,i().createElement(n,c()({ref:R},_),t)};const Ae=Oe;Oe.div=function(e){return i().createElement(Oe,e)};const Be=function(){return i().useContext(g)};var Ce={}.constructor;function ke(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=(!t[0]||Re(t[0]))&&t.shift(),o=(!t[0]||t[0]instanceof Ce)&&t.shift()||{};if(!n)return function(e){return ke(e,o)};o=c()({wheelRatio:5,maxClickTm:200,maxClickOffset:20},o);var a=i().forwardRef((function(e,t){return i().createElement(me,{oProps:e,forwardedRef:t,BaseComponent:n,tweenerOptions:o})}));return a.displayName=String.fromCharCode(55358,56793)+(n.displayName||n.name),a}var Ie,Le={}.constructor;function We(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=(!t[0]||Re(t[0]))&&t.shift(),a=(!t[0]||t[0]instanceof Le)&&t.shift()||{};if(!n||!(n.prototype instanceof i().Component||n===i().Component))return function(e){return We(e,a)};var s=function(e){function t(){return e.apply(this,arguments)||this}return o()(t,e),t.prototype.render=function(){var e=this;return i().createElement(g.Consumer,null,(function(t){return i().createElement(n,c()({},e.props,{tweener:t,ref:e.props.forwardedRef}))}))},t}(i().Component);s.displayName=n.displayName||n.name;var l=i().forwardRef((function(e,t){return i().createElement(s,c()({},e,{forwardedRef:t}))}));return l.displayName=s.displayName,l}var je=ke(Ie=function(e){function t(){return e.apply(this,arguments)||this}return o()(t,e),t.prototype.render=function(){return this.props.children},t}(i().Component))||Ie;const Fe={tweener:ke,child:We,useTweener:Be,useVoodoo:ve,hook:ve,tools:e,Draggable:Ae,Component:je,Node:Me,Context:g,Axis:ye,dom:ee}})(),module.exports=n})();
28
3
  //# sourceMappingURL=react-voodoo.js.map
@@ -0,0 +1,27 @@
1
+ /*!
2
+ * MIT License
3
+ *
4
+ * Copyright (c) 2020 Braun Nathanael
5
+ *
6
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ * of this software and associated documentation files (the "Software"), to deal
8
+ * in the Software without restriction, including without limitation the rights
9
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ * copies of the Software, and to permit persons to whom the Software is
11
+ * furnished to do so, subject to the following conditions:
12
+ *
13
+ * The above copyright notice and this permission notice shall be included in all
14
+ * copies or substantial portions of the Software.
15
+ *
16
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ * SOFTWARE.
23
+ */
24
+
25
+ //!(pos >= _.min && pos <= _.max) && console.warn("out", _.pos, pos, delta);
26
+
27
+ //!_.tweenRefCSS[id] &&