{"version":3,"sources":["webpack:///./node_modules/react-flip-toolkit/lib/FlipToolkit/index.js","webpack:///./node_modules/flip-toolkit/lib/index.es.js","webpack:///./node_modules/rematrix/dist/rematrix.es.js"],"names":["t","e","i","n","Object","prototype","toString","call","r","Array","slice","apply","o","reduce","keys","filter","a","arguments","length","forEach","hasOwnProperty","s","l","p","isNumber","isFunction","isObject","toArray","getDuplicateValsAsStrings","assign","tweenProp","c","noWobble","stiffness","damping","gentle","veryGentle","wobbly","stiff","u","indexOf","window","requestAnimationFrame","d","setTimeout","f","Date","now","h","performance","g","splice","m","run","this","springSystem","loop","v","position","velocity","y","_","_id","_springSystem","listeners","_startValue","_currentState","_displacementFromRestThreshold","_endValue","_overshootClampingEnabled","_previousState","_restSpeedThreshold","_tempState","_timeAccumulator","_wasAtRest","_cachedSpringConfig","getId","destroy","deregisterSpring","setSpringConfig","_springConfig","getCurrentValue","getDisplacementDistanceForState","Math","abs","setEndValue","prevEndValue","isAtRest","activateSpring","onSpringEndStateChange","setVelocity","setCurrentValue","onSpringUpdate","setAtRest","setOvershootClampingEnabled","isOvershooting","tension","advance","friction","_interpolate","notifyPositionUpdated","Boolean","onSpringActivate","_onActivateCalled","onSpringAtRest","systemShouldAdvance","wasAtRest","addListener","push","addOneTimeListener","removeListener","S","looper","_activeSprings","_idleSpringIndices","_isIdle","_lastTimeMillis","_springRegistry","createSpring","createSpringWithConfig","registerSpring","getIsIdle","pop","onBeforeIntegrate","onAfterIntegrate","E","A","springConfig","overshootClamping","getOnUpdateFunc","onAnimationEnd","spring","C","b","reverse","speed","min","max","map","bind","I","O","top","innerHeight","bottom","left","innerWidth","right","x","w","document","querySelectorAll","U","getBoundingClientRect","V","cachedOrderedFlipIds","inProgressAnimations","flippedElementPositionsBeforeUpdate","flipCallbacks","containerEl","applyTransformOrigin","debug","portalKey","staggerConfig","decisionData","handleEnterUpdateDelete","onComplete","onStart","F","element","getComputedStyle","dataset","flipId","rect","opacity","parseFloat","transform","P","random","toFixed","flipperId","R","T","D","concat","M","getElement","flippedElementPositionsAfterUpdate","k","unflippedIds","onAppear","onExit","Promise","domDataForExitAnimations","parent","childPosition","width","height","style","createDocumentFragment","appendChild","removeChild","stop","hideEnteringElements","animateEnteringElements","animateExitingElements","j","B","N","L","flippedIds","scopedSelector","q","then","ownerDocument","querySelector","JSON","parse","flipConfig","flippedSpring","flipperSpring","stagger","id","shouldFlip","previous","current","matrix","translate","translateX","translateY","scale","scaleX","scaleY","shouldInvert","multiply","invertedChildren","body","forceMinVals","minHeight","minWidth","join","contains","X","Y","K","initializeFlip","onStartImmediate","transformOrigin","delayUntil","animateFlippedElements","parentNode","closest","findIndex","flippedElementPositions","recordBeforeUpdate","update","addFlipped","addInverted","snapshot","Error","String","stringify","inverseFlipId","exports","utilities","constants","DATA_FLIP_ID","DATA_INVERSE_FLIP_ID","DATA_FLIP_COMPONENT_ID","DATA_FLIP_CONFIG","DATA_PORTAL_KEY","DATA_EXIT_CONTAINER","Flipper","getFlippedElementPositionsBeforeUpdate","onFlipKeyUpdate","values","onUpdate","delay","config","format","source","constructor","TypeError","identity","RangeError","inverse","s0","s1","s2","s3","s4","s5","c5","c4","c3","c2","c1","c0","determinant","isNaN","Infinity","fm","fx","product","row","col","result","match","split","rotate","angle","rotateZ","rotateX","theta","PI","cos","sin","rotateY","scalar","scalarY","scaleZ","skew","angleX","angleY","thetaX","tan","thetaY","skewX","skewY","distanceX","distanceY","distance","translateZ"],"mappings":"8EAAA,IAAIA,EAAE,EAAQ,KAAYC,EAAE,SAASD,GAAG,MAAM,iBAAiBA,GAAGE,EAAE,SAASF,GAAG,MAAM,mBAAmBA,GAAGG,EAAE,SAASH,GAAG,MAAM,oBAAoBI,OAAOC,UAAUC,SAASC,KAAKP,IAAIQ,EAAE,SAASR,GAAG,OAAOS,MAAMJ,UAAUK,MAAMC,MAAMX,IAAIY,EAAE,SAASZ,GAAG,IAAIC,EAAED,EAAEa,QAAO,SAASb,EAAEC,GAAG,OAAOD,EAAEC,IAAID,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":["var t=require(\"rematrix\"),e=function(t){return\"number\"==typeof t},i=function(t){return\"function\"==typeof t},n=function(t){return\"[object Object]\"===Object.prototype.toString.call(t)},r=function(t){return Array.prototype.slice.apply(t)},o=function(t){var e=t.reduce(function(t,e){return t[e]=(t[e]||0)+1,t},{});return Object.keys(e).filter(function(t){return e[t]>1})};function a(t){for(var e=[],i=arguments.length-1;i-- >0;)e[i]=arguments[i+1];return e.forEach(function(e){if(e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}),t}var s,l=function(t,e,i){return t+(e-t)*i},p={isNumber:e,isFunction:i,isObject:n,toArray:r,getDuplicateValsAsStrings:o,assign:a,tweenProp:l},c={noWobble:{stiffness:200,damping:26},gentle:{stiffness:120,damping:14},veryGentle:{stiffness:130,damping:17},wobbly:{stiffness:180,damping:12},stiff:{stiffness:260,damping:26}},u=function(t){return n(t)?t:Object.keys(c).indexOf(t)>-1?c[t]:{}};\"undefined\"!=typeof window&&(s=window.requestAnimationFrame);var d=s=s||function(t){window.setTimeout(t,1e3/60)},f=Date.now(),h=\"object\"==typeof performance&&\"function\"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()-f};function g(t,e){var i=t.indexOf(e);-1!==i&&t.splice(i,1)}var m=function(){};m.prototype.run=function(){var t=this;d(function(){t.springSystem.loop(h())})};var v=function(){this.position=0,this.velocity=0},y=0,_=function(t){this._id=\"s\"+y++,this._springSystem=t,this.listeners=[],this._startValue=0,this._currentState=new v,this._displacementFromRestThreshold=.001,this._endValue=0,this._overshootClampingEnabled=!1,this._previousState=new v,this._restSpeedThreshold=.001,this._tempState=new v,this._timeAccumulator=0,this._wasAtRest=!0,this._cachedSpringConfig={}};_.prototype.getId=function(){return this._id},_.prototype.destroy=function(){this.listeners=[],this._springSystem.deregisterSpring(this)},_.prototype.setSpringConfig=function(t){return this._springConfig=t,this},_.prototype.getCurrentValue=function(){return this._currentState.position},_.prototype.getDisplacementDistanceForState=function(t){return Math.abs(this._endValue-t.position)},_.prototype.setEndValue=function(t){if(t===this._endValue)return this;if(this.prevEndValue=t,this._endValue===t&&this.isAtRest())return this;this._startValue=this.getCurrentValue(),this._endValue=t,this._springSystem.activateSpring(this.getId());for(var e=0,i=this.listeners.length;e0&&(te||t>e&&this.getCurrentValue().064&&(n=.064),this._timeAccumulator+=n;for(var r,o,a,s,l,p,c=this._springConfig.tension,u=this._springConfig.friction,d=this._currentState.position,f=this._currentState.velocity,h=this._tempState.position,g=this._tempState.velocity;this._timeAccumulator>=.001;)this._timeAccumulator-=.001,this._timeAccumulator<.001&&(this._previousState.position=d,this._previousState.velocity=f),o=c*(this._endValue-h)-u*f,s=c*(this._endValue-(h=d+.001*(r=f)*.5))-u*(g=f+.001*o*.5),p=c*(this._endValue-(h=d+.001*(a=g)*.5))-u*(g=f+.001*s*.5),h=d+.001*(l=g),d+=1/6*(r+2*(a+l)+(g=f+.001*p))*.001,f+=1/6*(o+2*(s+p)+(c*(this._endValue-h)-u*g))*.001;this._tempState.position=h,this._tempState.velocity=g,this._currentState.position=d,this._currentState.velocity=f,this._timeAccumulator>0&&this._interpolate(this._timeAccumulator/.001),(this.isAtRest()||this._overshootClampingEnabled&&this.isOvershooting())&&(this._springConfig.tension>0?(this._startValue=this._endValue,this._currentState.position=this._endValue):(this._endValue=this._currentState.position,this._startValue=this._endValue),this.setVelocity(0),i=!0);var m=!1;this._wasAtRest&&(this._wasAtRest=!1,m=!0);var v=!1;i&&(this._wasAtRest=!0,v=!0),this.notifyPositionUpdated(m,v)}},_.prototype.notifyPositionUpdated=function(t,e){var i=this;this.listeners.filter(Boolean).forEach(function(n){t&&n.onSpringActivate&&!i._onActivateCalled&&(n.onSpringActivate(i),i._onActivateCalled=!0),n.onSpringUpdate&&n.onSpringUpdate(i),e&&n.onSpringAtRest&&n.onSpringAtRest(i)})},_.prototype.systemShouldAdvance=function(){return!this.isAtRest()||!this.wasAtRest()},_.prototype.wasAtRest=function(){return this._wasAtRest},_.prototype.isAtRest=function(){return Math.abs(this._currentState.velocity)0;)this._idleSpringIndices.pop();for(this._activeSprings.filter(Boolean).forEach(function(n){n.systemShouldAdvance()?n.advance(t/1e3,e/1e3):i._idleSpringIndices.push(i._activeSprings.indexOf(n))});this._idleSpringIndices.length>0;){var n=this._idleSpringIndices.pop();n>=0&&this._activeSprings.splice(n,1)}},S.prototype.loop=function(t){var e;-1===this._lastTimeMillis&&(this._lastTimeMillis=t-1);var i=t-this._lastTimeMillis;this._lastTimeMillis=t;var n=0,r=this.listeners.length;for(n=0;n.99?1:i)>=r&&o[e+1]&&o[e+1](Math.max(Math.min(i*n,1),0)),a(t)}},t}).map(function(t){var e=A(t);if(e)return e.setEndValue.bind(e)}).filter(Boolean);o[0]&&o[0](1)}},I=function(t){return[0,1,4,5,12,13].map(function(e){return t[e]})},O=function(t){return t.top0&&t.left0},x=function(t,e){var i;return a(t,((i={})[e[0]]=e[1],i))},w=function(t,e){return r(e?document.querySelectorAll('[data-portal-key=\"'+e+'\"]'):t.querySelectorAll(\"[data-flip-id]\"))},U=function(t){return t.map(function(t){return[t,t.getBoundingClientRect()]})},V=function(n){var s=n.cachedOrderedFlipIds;void 0===s&&(s=[]);var p=n.inProgressAnimations;void 0===p&&(p={});var d=n.flippedElementPositionsBeforeUpdate;void 0===d&&(d={});var f=n.flipCallbacks;void 0===f&&(f={});var h=n.containerEl,g=n.applyTransformOrigin,m=n.spring,v=n.debug,y=n.portalKey,_=n.staggerConfig;void 0===_&&(_={});var S=n.decisionData;void 0===S&&(S={});var E=n.handleEnterUpdateDelete,A=n.onComplete,V=n.onStart,F=function(t){return U(w(t.element,t.portalKey)).map(function(t){var e=t[0],i=t[1],n=window.getComputedStyle(e);return[e.dataset.flipId,{element:e,rect:i,opacity:parseFloat(n.opacity),transform:n.transform}]}).reduce(x,{})}({element:h,portalKey:y}),P=function(t){var e=t.containerEl,i=t.portalKey;return i?function(t){return function(e){return r(document.querySelectorAll('[data-portal-key=\"'+t+'\"]'+e))}}(i):e?function(t){var e=Math.random().toFixed(5);return t.dataset.flipperId=e,function(i){return r(t.querySelectorAll('[data-flipper-id=\"'+e+'\"] '+i))}}(e):function(){return[]}}({containerEl:h,portalKey:y}),R=function(t){return function(e){return t('[data-flip-id=\"'+e+'\"]')[0]}}(P),T=function(t){return d[t]&&F[t]},D=Object.keys(d).concat(Object.keys(F)).filter(function(t){return!T(t)}),M={flipCallbacks:f,getElement:R,flippedElementPositionsBeforeUpdate:d,flippedElementPositionsAfterUpdate:F,inProgressAnimations:p,decisionData:S},k=function(t){var e,i=t.unflippedIds,n=t.flipCallbacks,r=t.getElement,o=t.flippedElementPositionsBeforeUpdate,a=t.flippedElementPositionsAfterUpdate,s=t.inProgressAnimations,l=t.decisionData,p=i.filter(function(t){return a[t]}).filter(function(t){return n[t]&&n[t].onAppear}),c=i.filter(function(t){return o[t]&&n[t]&&n[t].onExit}),u=new Promise(function(t){e=t}),d=[],f=0,h=c.map(function(t,i){var r=o[t].domDataForExitAnimations,a=r.element,p=r.parent,c=r.childPosition,u=c.top,h=c.left,g=c.width,m=c.height;\"static\"===getComputedStyle(p).position&&(p.style.position=\"relative\"),a.style.transform=\"matrix(1, 0, 0, 1, 0, 0)\",a.style.position=\"absolute\",a.style.top=u+\"px\",a.style.left=h+\"px\",a.style.height=m+\"px\",a.style.width=g+\"px\";var v=d.filter(function(t){return t[0]===p})[0];v||(v=[p,document.createDocumentFragment()],d.push(v)),v[1].appendChild(a),f+=1;var y=function(){try{p.removeChild(a)}catch(t){}finally{0==(f-=1)&&e()}};return s[t]={stop:y},function(){return n[t].onExit(a,i,y,l)}});return d.forEach(function(t){t[0].appendChild(t[1])}),h.length||e(),{hideEnteringElements:function(){p.forEach(function(t){var e=r(t);e&&(e.style.opacity=\"0\")})},animateEnteringElements:function(){p.forEach(function(t,e){var i=r(t);i&&n[t].onAppear(i,e,l)})},animateExitingElements:function(){return h.forEach(function(t){return t()}),u}}}(a({},M,{unflippedIds:D})),j=k.hideEnteringElements,B=k.animateEnteringElements,N=k.animateExitingElements,L=a({},M,{containerEl:h,flippedIds:s.filter(T),applyTransformOrigin:g,spring:m,debug:v,staggerConfig:_,scopedSelector:P,onComplete:A});V&&V(h,S);var q=function(n){var s=L.flippedIds,p=L.flipCallbacks,d=L.inProgressAnimations,f=L.flippedElementPositionsBeforeUpdate,h=L.flippedElementPositionsAfterUpdate,g=L.applyTransformOrigin,m=L.spring,v=L.getElement,y=L.debug,_=L.staggerConfig;void 0===_&&(_={});var S=L.decisionData;void 0===S&&(S={});var E,A=L.onComplete,x=L.containerEl,w=new Promise(function(t){E=t});if(A&&w.then(function(){return A(x,S)}),!s.length)return function(){return E([]),w};var U=[],V=v(s[0]),F=V?V.ownerDocument.querySelector(\"body\"):document.querySelector(\"body\");o(s);var P=s.map(function(n){var o=f[n].rect,s=h[n].rect,v=f[n].opacity,y=h[n].opacity,_=s.width<1||s.height<1,A=h[n].element;if(!O(o)&&!O(s))return!1;if(!A)return!1;var C=JSON.parse(A.dataset.flipConfig),b=function(t){void 0===t&&(t={});var e=t.flippedSpring;return a({},c.noWobble,u(t.flipperSpring),u(e))}({flipperSpring:m,flippedSpring:C.spring}),x=!0===C.stagger?\"default\":C.stagger,w={element:A,id:n,stagger:x,springConfig:b};if(p[n]&&p[n].shouldFlip&&!p[n].shouldFlip(S.previous,S.current))return!1;var V=Math.abs(o.left-s.left)+Math.abs(o.top-s.top),R=Math.abs(o.width-s.width)+Math.abs(o.height-s.height),T=Math.abs(y-v);if(V<.5&&R<.5&&T<.01)return!1;var D=t.parse(h[n].transform),M={matrix:D},k={matrix:[]},j=[D];C.translate&&(j.push(t.translateX(o.left-s.left)),j.push(t.translateY(o.top-s.top))),C.scale&&(j.push(t.scaleX(Math.max(o.width,1)/Math.max(s.width,1))),j.push(t.scaleY(Math.max(o.height,1)/Math.max(s.height,1)))),C.opacity&&(k.opacity=v,M.opacity=y);var B=[];if(!p[n]||!p[n].shouldInvert||p[n].shouldInvert(S.previous,S.current)){var N=function(t,e){return r(t.querySelectorAll('[data-inverse-flip-id=\"'+e+'\"]'))}(A,n);B=N.map(function(t){return[t,JSON.parse(t.dataset.flipConfig)]})}k.matrix=I(j.reduce(t.multiply)),M.matrix=I(M.matrix);var L,q=function(t){var i=t.element,n=t.invertedChildren,r=t.body;return function(t){var o=t.matrix,a=t.opacity,s=t.forceMinVals;if(e(a)&&(i.style.opacity=a+\"\"),s&&(i.style.minHeight=\"1px\",i.style.minWidth=\"1px\"),o){var l=function(t){return\"matrix(\"+t.join(\", \")+\")\"}(o);i.style.transform=l,n&&function(t){var e=t.matrix,i=t.body;t.invertedChildren.forEach(function(t){var n=t[0],r=t[1];if(i.contains(n)){var o=e[0],a=e[3],s=e[5],l={translateX:0,translateY:0,scaleX:1,scaleY:1},p=\"\";r.translate&&(l.translateX=-e[4]/o,l.translateY=-s/a,p+=\"translate(\"+l.translateX+\"px, \"+l.translateY+\"px)\"),r.scale&&(l.scaleX=1/o,l.scaleY=1/a,p+=\" scale(\"+l.scaleX+\", \"+l.scaleY+\")\"),n.style.transform=p}})}({invertedChildren:n,matrix:o,body:r})}}}({element:A,invertedChildren:B,body:F});if(p[n]&&p[n].onComplete){var X=p[n].onComplete;L=function(){return X(A,S)}}var Y=e(k.opacity)&&e(M.opacity)&&k.opacity!==M.opacity,K=!1;return a({},w,{stagger:x,springConfig:b,getOnUpdateFunc:function(t){var e=t.spring,i=t.onAnimationEnd;return d[n]={destroy:e.destroy.bind(e),onAnimationEnd:i},function(t){p[n]&&p[n].onSpringUpdate&&p[n].onSpringUpdate(t.getCurrentValue()),K||(K=!0,p[n]&&p[n].onStart&&p[n].onStart(A,S));var e=t.getCurrentValue();if(F.contains(A)){var i={matrix:[]};i.matrix=k.matrix.map(function(t,i){return l(t,M.matrix[i],e)}),Y&&(i.opacity=l(k.opacity,M.opacity,e)),q(i)}else t.destroy()}},initializeFlip:function(){q({matrix:k.matrix,opacity:Y?k.opacity:void 0,forceMinVals:_}),p[n]&&p[n].onStartImmediate&&p[n].onStartImmediate(A,S),C.transformOrigin?A.style.transformOrigin=C.transformOrigin:g&&(A.style.transformOrigin=\"0 0\"),B.forEach(function(t){var e=t[0],i=t[1];i.transformOrigin?e.style.transformOrigin=i.transformOrigin:g&&(e.style.transformOrigin=\"0 0\")})},onAnimationEnd:function(t){delete d[n],i(L)&&L(),A.style.transform=\"\",B.forEach(function(t){t[0].style.transform=\"\"}),_&&A&&(A.style.minHeight=\"\",A.style.minWidth=\"\"),t||(U.push(n),U.length>=P.length&&E(U))},delayUntil:C.delayUntil})}).filter(Boolean);if(P.forEach(function(t){return(0,t.initializeFlip)()}),y)return function(){};var R=P.filter(function(t){return t.delayUntil&&(e=t.delayUntil,P.filter(function(t){return t.id===e}).length);var e}),T={},D={},M={};R.forEach(function(t){t.stagger?(M[t.stagger]=!0,D[t.delayUntil]?D[t.delayUntil].push(t.stagger):D[t.delayUntil]=[t.stagger]):T[t.delayUntil]?T[t.delayUntil].push(t):T[t.delayUntil]=[t]});var k=P.filter(function(t){return t.stagger}).reduce(function(t,e){return t[e.stagger]?t[e.stagger].push(e):t[e.stagger]=[e],t},{}),j=P.filter(function(t){return-1===R.indexOf(t)});return j.forEach(function(t){t.onSpringActivate=function(){T[t.id]&&T[t.id].forEach(C),D[t.id]&&Object.keys(D[t.id].reduce(function(t,e){var i;return a(t,((i={})[e]=!0,i))},{})).forEach(function(t){b(k[t],_[t])})}}),function(){return P.length||E([]),j.filter(function(t){return!t.stagger}).forEach(C),Object.keys(k).forEach(function(t){M[t]||b(k[t],_[t])}),w}}();E?E({hideEnteringElements:j,animateEnteringElements:B,animateExitingElements:N,animateFlippedElements:q}):(j(),N().then(B),q())},F=function(t){var e=t.element,i=t.flipCallbacks;void 0===i&&(i={});var n=t.inProgressAnimations;void 0===n&&(n={});var o=w(e,t.portalKey),s=r(e.querySelectorAll(\"[data-inverse-flip-id]\")),l={},p=[],c={};o.filter(function(t){return i&&i[t.dataset.flipId]&&i[t.dataset.flipId].onExit}).forEach(function(t){var e=t.parentNode;if(t.closest){var i=t.closest(\"[data-exit-container]\");i&&(e=i)}var n=p.findIndex(function(t){return t[0]===e});-1===n&&(p.push([e,e.getBoundingClientRect()]),n=p.length-1),l[t.dataset.flipId]=p[n][1],c[t.dataset.flipId]=e});var u=U(o),d=u.map(function(t){var e=t[0],n=t[1],r={};if(i&&i[e.dataset.flipId]&&i[e.dataset.flipId].onExit){var o=l[e.dataset.flipId];a(r,{element:e,parent:c[e.dataset.flipId],childPosition:{top:n.top-o.top,left:n.left-o.left,width:n.width,height:n.height}})}return[e.dataset.flipId,{rect:n,opacity:parseFloat(window.getComputedStyle(e).opacity||\"1\"),domDataForExitAnimations:r}]}).reduce(x,{});return function(t,e){Object.keys(t).forEach(function(e){t[e].destroy&&t[e].destroy(),t[e].onAnimationEnd&&t[e].onAnimationEnd(!0),delete t[e]}),e.forEach(function(t){t.style.transform=\"\",t.style.opacity=\"\"})}(n,o.concat(s)),{flippedElementPositions:d,cachedOrderedFlipIds:u.map(function(t){return t[0].dataset.flipId})}},P=function(t){this.applyTransformOrigin=!0,a(this,t),this.inProgressAnimations={},this.flipCallbacks={},this.recordBeforeUpdate=this.recordBeforeUpdate.bind(this),this.update=this.update.bind(this),this.addFlipped=this.addFlipped.bind(this),this.addInverted=this.addInverted.bind(this)};P.prototype.recordBeforeUpdate=function(){this.snapshot=F({element:this.element,flipCallbacks:this.flipCallbacks,inProgressAnimations:this.inProgressAnimations})},P.prototype.update=function(t,e){this.snapshot&&(V({flippedElementPositionsBeforeUpdate:this.snapshot.flippedElementPositions,cachedOrderedFlipIds:this.snapshot.cachedOrderedFlipIds,containerEl:this.element,inProgressAnimations:this.inProgressAnimations,flipCallbacks:this.flipCallbacks,applyTransformOrigin:this.applyTransformOrigin,spring:this.spring,debug:this.debug,staggerConfig:this.staggerConfig,handleEnterUpdateDelete:this.handleEnterUpdateDelete,decisionData:{previous:t,current:e},onComplete:this.onComplete,onStart:this.onStart}),delete this.snapshot)},P.prototype.addFlipped=function(t){var e=t.element,i=t.flipId,n=t.opacity,r=t.translate,o=t.scale,s=t.transformOrigin,l=t.spring,p=t.stagger,c=t.delayUntil,u=t.onAppear,d=t.onStart,f=t.onSpringUpdate,h=t.onComplete,g=t.onExit,m=t.shouldFlip,v=t.shouldInvert;if(!e)throw new Error(\"no element provided\");if(!i)throw new Error(\"No flipId provided\");var y={scale:o,translate:r,opacity:n,transformOrigin:s,spring:l,stagger:p,delayUntil:c};y.scale||y.translate||y.opacity||a(y,{translate:!0,scale:!0,opacity:!0}),i&&(e.dataset.flipId=String(i)),e.dataset.flipConfig=JSON.stringify(y),this.flipCallbacks[i]={shouldFlip:m,shouldInvert:v,onAppear:u,onStart:d,onSpringUpdate:f,onComplete:h,onExit:g}},P.prototype.addInverted=function(t){var e=t.element,i=t.parent,n=t.opacity,r=t.translate,o=t.scale,s=t.transformOrigin;if(!e)throw new Error(\"no element provided\");if(!i)throw new Error(\"parent must be provided\");var l=i.dataset.flipId,p={scale:o,translate:r,opacity:n,transformOrigin:s};p.scale||p.translate||p.opacity||a(p,{translate:!0,scale:!0,opacity:!0}),e.dataset.inverseFlipId=l,e.dataset.flipConfig=JSON.stringify(p)};var R=new S;exports.utilities=p,exports.constants={DATA_FLIP_ID:\"data-flip-id\",DATA_INVERSE_FLIP_ID:\"data-inverse-flip-id\",DATA_FLIP_COMPONENT_ID:\"data-flip-component-id\",DATA_FLIP_CONFIG:\"data-flip-config\",DATA_PORTAL_KEY:\"data-portal-key\",DATA_EXIT_CONTAINER:\"data-exit-container\"},exports.Flipper=P,exports.getFlippedElementPositionsBeforeUpdate=F,exports.onFlipKeyUpdate=V,exports.spring=function(t){var e=t.values,i=t.onUpdate,n=t.delay;void 0===n&&(n=0);var r=t.onComplete,o=a({},c.noWobble,u(t.config)),s=o.overshootClamping,p=R.createSpring(o.stiffness,o.damping);return p.setOvershootClampingEnabled(!!s),p.addListener({onSpringAtRest:function(t){r&&r(),t.destroy()},onSpringUpdate:function(t){var n=t.getCurrentValue();if(!e)return i(n);var r=Object.keys(e).map(function(t){return[t,l(e[t][0],e[t][1],n)]}).reduce(function(t,e){var i;return Object.assign(t,((i={})[e[0]]=e[1],i))},{});i(r)}}),n?setTimeout(function(){p.setEndValue(1)},n):p.setEndValue(1),p};\n//# sourceMappingURL=index.js.map\n","export{Flipper,spring}from\"react-flip-toolkit/lib/FlipToolkit\";\n//# sourceMappingURL=index.es.js.map\n","/*! @license Rematrix v0.2.2\n\n\tCopyright 2018 Fisssion LLC.\n\n\tPermission is hereby granted, free of charge, to any person obtaining a copy\n\tof this software and associated documentation files (the \"Software\"), to deal\n\tin the Software without restriction, including without limitation the rights\n\tto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\tcopies of the Software, and to permit persons to whom the Software is\n\tfurnished to do so, subject to the following conditions:\n\n\tThe above copyright notice and this permission notice shall be included in\n\tall copies or substantial portions of the Software.\n\n\tTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\tIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\tFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\tAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\tLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\tOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\tTHE SOFTWARE.\n*/\n/**\n * @module Rematrix\n */\n\n/**\n * Transformation matrices in the browser come in two flavors:\n *\n * - `matrix` using 6 values (short)\n * - `matrix3d` using 16 values (long)\n *\n * This utility follows this [conversion guide](https://goo.gl/EJlUQ1)\n * to expand short form matrices to their equivalent long form.\n *\n * @param {array} source - Accepts both short and long form matrices.\n * @return {array}\n */\nfunction format(source) {\n\tif (source.constructor !== Array) {\n\t\tthrow new TypeError('Expected array.')\n\t}\n\tif (source.length === 16) {\n\t\treturn source\n\t}\n\tif (source.length === 6) {\n\t\tvar matrix = identity();\n\t\tmatrix[0] = source[0];\n\t\tmatrix[1] = source[1];\n\t\tmatrix[4] = source[2];\n\t\tmatrix[5] = source[3];\n\t\tmatrix[12] = source[4];\n\t\tmatrix[13] = source[5];\n\t\treturn matrix\n\t}\n\tthrow new RangeError('Expected array with either 6 or 16 values.')\n}\n\n/**\n * Returns a matrix representing no transformation. The product of any matrix\n * multiplied by the identity matrix will be the original matrix.\n *\n * > **Tip:** Similar to how `5 * 1 === 5`, where `1` is the identity.\n *\n * @return {array}\n */\nfunction identity() {\n\tvar matrix = [];\n\tfor (var i = 0; i < 16; i++) {\n\t\ti % 5 == 0 ? matrix.push(1) : matrix.push(0);\n\t}\n\treturn matrix\n}\n\n/**\n * Returns a matrix describing the inverse transformation of the source\n * matrix. The product of any matrix multiplied by its inverse will be the\n * identity matrix.\n *\n * > **Tip:** Similar to how `5 * (1/5) === 1`, where `1/5` is the inverse.\n *\n * @param {array} source - Accepts both short and long form matrices.\n * @return {array}\n */\nfunction inverse(source) {\n\tvar m = format(source);\n\n\tvar s0 = m[0] * m[5] - m[4] * m[1];\n\tvar s1 = m[0] * m[6] - m[4] * m[2];\n\tvar s2 = m[0] * m[7] - m[4] * m[3];\n\tvar s3 = m[1] * m[6] - m[5] * m[2];\n\tvar s4 = m[1] * m[7] - m[5] * m[3];\n\tvar s5 = m[2] * m[7] - m[6] * m[3];\n\n\tvar c5 = m[10] * m[15] - m[14] * m[11];\n\tvar c4 = m[9] * m[15] - m[13] * m[11];\n\tvar c3 = m[9] * m[14] - m[13] * m[10];\n\tvar c2 = m[8] * m[15] - m[12] * m[11];\n\tvar c1 = m[8] * m[14] - m[12] * m[10];\n\tvar c0 = m[8] * m[13] - m[12] * m[9];\n\n\tvar determinant = 1 / (s0 * c5 - s1 * c4 + s2 * c3 + s3 * c2 - s4 * c1 + s5 * c0);\n\n\tif (isNaN(determinant) || determinant === Infinity) {\n\t\tthrow new Error('Inverse determinant attempted to divide by zero.')\n\t}\n\n\treturn [\n\t\t(m[5] * c5 - m[6] * c4 + m[7] * c3) * determinant,\n\t\t(-m[1] * c5 + m[2] * c4 - m[3] * c3) * determinant,\n\t\t(m[13] * s5 - m[14] * s4 + m[15] * s3) * determinant,\n\t\t(-m[9] * s5 + m[10] * s4 - m[11] * s3) * determinant,\n\n\t\t(-m[4] * c5 + m[6] * c2 - m[7] * c1) * determinant,\n\t\t(m[0] * c5 - m[2] * c2 + m[3] * c1) * determinant,\n\t\t(-m[12] * s5 + m[14] * s2 - m[15] * s1) * determinant,\n\t\t(m[8] * s5 - m[10] * s2 + m[11] * s1) * determinant,\n\n\t\t(m[4] * c4 - m[5] * c2 + m[7] * c0) * determinant,\n\t\t(-m[0] * c4 + m[1] * c2 - m[3] * c0) * determinant,\n\t\t(m[12] * s4 - m[13] * s2 + m[15] * s0) * determinant,\n\t\t(-m[8] * s4 + m[9] * s2 - m[11] * s0) * determinant,\n\n\t\t(-m[4] * c3 + m[5] * c1 - m[6] * c0) * determinant,\n\t\t(m[0] * c3 - m[1] * c1 + m[2] * c0) * determinant,\n\t\t(-m[12] * s3 + m[13] * s1 - m[14] * s0) * determinant,\n\t\t(m[8] * s3 - m[9] * s1 + m[10] * s0) * determinant\n\t]\n}\n\n/**\n * Returns a 4x4 matrix describing the combined transformations\n * of both arguments.\n *\n * > **Note:** Order is very important. For example, rotating 45°\n * along the Z-axis, followed by translating 500 pixels along the\n * Y-axis... is not the same as translating 500 pixels along the\n * Y-axis, followed by rotating 45° along on the Z-axis.\n *\n * @param {array} m - Accepts both short and long form matrices.\n * @param {array} x - Accepts both short and long form matrices.\n * @return {array}\n */\nfunction multiply(m, x) {\n\tvar fm = format(m);\n\tvar fx = format(x);\n\tvar product = [];\n\n\tfor (var i = 0; i < 4; i++) {\n\t\tvar row = [fm[i], fm[i + 4], fm[i + 8], fm[i + 12]];\n\t\tfor (var j = 0; j < 4; j++) {\n\t\t\tvar k = j * 4;\n\t\t\tvar col = [fx[k], fx[k + 1], fx[k + 2], fx[k + 3]];\n\t\t\tvar result =\n\t\t\t\trow[0] * col[0] + row[1] * col[1] + row[2] * col[2] + row[3] * col[3];\n\n\t\t\tproduct[i + k] = result;\n\t\t}\n\t}\n\n\treturn product\n}\n\n/**\n * Attempts to return a 4x4 matrix describing the CSS transform\n * matrix passed in, but will return the identity matrix as a\n * fallback.\n *\n * **Tip:** In virtually all cases, this method is used to convert\n * a CSS matrix (retrieved as a `string` from computed styles) to\n * its equivalent array format.\n *\n * @param {string} source - String containing a valid CSS `matrix` or `matrix3d` property.\n * @return {array}\n */\nfunction parse(source) {\n\tif (typeof source === 'string') {\n\t\tvar match = source.match(/matrix(3d)?\\(([^)]+)\\)/);\n\t\tif (match) {\n\t\t\tvar raw = match[2].split(', ').map(parseFloat);\n\t\t\treturn format(raw)\n\t\t}\n\t}\n\treturn identity()\n}\n\n/**\n * Returns a 4x4 matrix describing Z-axis rotation.\n *\n * @param {number} angle - Measured in degrees.\n * @return {array}\n */\nfunction rotate(angle) {\n\treturn rotateZ(angle)\n}\n\n/**\n * Returns a 4x4 matrix describing X-axis rotation.\n *\n * @param {number} angle - Measured in degrees.\n * @return {array}\n */\nfunction rotateX(angle) {\n\tvar theta = Math.PI / 180 * angle;\n\tvar matrix = identity();\n\n\tmatrix[5] = matrix[10] = Math.cos(theta);\n\tmatrix[6] = matrix[9] = Math.sin(theta);\n\tmatrix[9] *= -1;\n\n\treturn matrix\n}\n\n/**\n * Returns a 4x4 matrix describing Y-axis rotation.\n *\n * @param {number} angle - Measured in degrees.\n * @return {array}\n */\nfunction rotateY(angle) {\n\tvar theta = Math.PI / 180 * angle;\n\tvar matrix = identity();\n\n\tmatrix[0] = matrix[10] = Math.cos(theta);\n\tmatrix[2] = matrix[8] = Math.sin(theta);\n\tmatrix[2] *= -1;\n\n\treturn matrix\n}\n\n/**\n * Returns a 4x4 matrix describing Z-axis rotation.\n *\n * @param {number} angle - Measured in degrees.\n * @return {array}\n */\nfunction rotateZ(angle) {\n\tvar theta = Math.PI / 180 * angle;\n\tvar matrix = identity();\n\n\tmatrix[0] = matrix[5] = Math.cos(theta);\n\tmatrix[1] = matrix[4] = Math.sin(theta);\n\tmatrix[4] *= -1;\n\n\treturn matrix\n}\n\n/**\n * Returns a 4x4 matrix describing 2D scaling. The first argument\n * is used for both X and Y-axis scaling, unless an optional\n * second argument is provided to explicitly define Y-axis scaling.\n *\n * @param {number} scalar - Decimal multiplier.\n * @param {number} [scalarY] - Decimal multiplier.\n * @return {array}\n */\nfunction scale(scalar, scalarY) {\n\tvar matrix = identity();\n\n\tmatrix[0] = scalar;\n\tmatrix[5] = typeof scalarY === 'number' ? scalarY : scalar;\n\n\treturn matrix\n}\n\n/**\n * Returns a 4x4 matrix describing X-axis scaling.\n *\n * @param {number} scalar - Decimal multiplier.\n * @return {array}\n */\nfunction scaleX(scalar) {\n\tvar matrix = identity();\n\tmatrix[0] = scalar;\n\treturn matrix\n}\n\n/**\n * Returns a 4x4 matrix describing Y-axis scaling.\n *\n * @param {number} scalar - Decimal multiplier.\n * @return {array}\n */\nfunction scaleY(scalar) {\n\tvar matrix = identity();\n\tmatrix[5] = scalar;\n\treturn matrix\n}\n\n/**\n * Returns a 4x4 matrix describing Z-axis scaling.\n *\n * @param {number} scalar - Decimal multiplier.\n * @return {array}\n */\nfunction scaleZ(scalar) {\n\tvar matrix = identity();\n\tmatrix[10] = scalar;\n\treturn matrix\n}\n\n/**\n * Returns a 4x4 matrix describing shear. The first argument\n * defines X-axis shearing, and an optional second argument\n * defines Y-axis shearing.\n *\n * @param {number} angleX - Measured in degrees.\n * @param {number} [angleY] - Measured in degrees.\n * @return {array}\n */\nfunction skew(angleX, angleY) {\n\tvar thetaX = Math.PI / 180 * angleX;\n\tvar matrix = identity();\n\n\tmatrix[4] = Math.tan(thetaX);\n\n\tif (angleY) {\n\t\tvar thetaY = Math.PI / 180 * angleY;\n\t\tmatrix[1] = Math.tan(thetaY);\n\t}\n\n\treturn matrix\n}\n\n/**\n * Returns a 4x4 matrix describing X-axis shear.\n *\n * @param {number} angle - Measured in degrees.\n * @return {array}\n */\nfunction skewX(angle) {\n\tvar theta = Math.PI / 180 * angle;\n\tvar matrix = identity();\n\n\tmatrix[4] = Math.tan(theta);\n\n\treturn matrix\n}\n\n/**\n * Returns a 4x4 matrix describing Y-axis shear.\n *\n * @param {number} angle - Measured in degrees\n * @return {array}\n */\nfunction skewY(angle) {\n\tvar theta = Math.PI / 180 * angle;\n\tvar matrix = identity();\n\n\tmatrix[1] = Math.tan(theta);\n\n\treturn matrix\n}\n\n/**\n * Returns a 4x4 matrix describing 2D translation. The first\n * argument defines X-axis translation, and an optional second\n * argument defines Y-axis translation.\n *\n * @param {number} distanceX - Measured in pixels.\n * @param {number} [distanceY] - Measured in pixels.\n * @return {array}\n */\nfunction translate(distanceX, distanceY) {\n\tvar matrix = identity();\n\tmatrix[12] = distanceX;\n\n\tif (distanceY) {\n\t\tmatrix[13] = distanceY;\n\t}\n\n\treturn matrix\n}\n\n/**\n * Returns a 4x4 matrix describing X-axis translation.\n *\n * @param {number} distance - Measured in pixels.\n * @return {array}\n */\nfunction translateX(distance) {\n\tvar matrix = identity();\n\tmatrix[12] = distance;\n\treturn matrix\n}\n\n/**\n * Returns a 4x4 matrix describing Y-axis translation.\n *\n * @param {number} distance - Measured in pixels.\n * @return {array}\n */\nfunction translateY(distance) {\n\tvar matrix = identity();\n\tmatrix[13] = distance;\n\treturn matrix\n}\n\n/**\n * Returns a 4x4 matrix describing Z-axis translation.\n *\n * @param {number} distance - Measured in pixels.\n * @return {array}\n */\nfunction translateZ(distance) {\n\tvar matrix = identity();\n\tmatrix[14] = distance;\n\treturn matrix\n}\n\nexport { format, identity, inverse, multiply, parse, rotate, rotateX, rotateY, rotateZ, scale, scaleX, scaleY, scaleZ, skew, skewX, skewY, translate, translateX, translateY, translateZ };\n"],"sourceRoot":""}