diff --git a/asset-manifest.json b/asset-manifest.json index 48ee1d0..ad4d6dc 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,13 +1,13 @@ { "files": { "main.css": "/infinite-todos/static/css/main.729593f7.css", - "main.js": "/infinite-todos/static/js/main.300987b9.js", + "main.js": "/infinite-todos/static/js/main.c4762a5a.js", "index.html": "/infinite-todos/index.html", "main.729593f7.css.map": "/infinite-todos/static/css/main.729593f7.css.map", - "main.300987b9.js.map": "/infinite-todos/static/js/main.300987b9.js.map" + "main.c4762a5a.js.map": "/infinite-todos/static/js/main.c4762a5a.js.map" }, "entrypoints": [ "static/css/main.729593f7.css", - "static/js/main.300987b9.js" + "static/js/main.c4762a5a.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index 95936c8..792308b 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -
e||125 =t+n:e<=-n}(f,L,g,N)&&O():(r.stop(),S&&S()))}return x&&(k&&k(),(r=s(I)).start()),{stop:function(){w&&w(),r.stop()},sample:function(e){return D.next(Math.max(0,e))}}}var oa=function(e){var t=f(e,4),n=t[0],r=t[1],a=t[2],i=t[3];return"cubic-bezier(".concat(n,", ").concat(r,", ").concat(a,", ").concat(i,")")},la={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:oa([0,.65,.55,1]),circOut:oa([.55,0,1,.45]),backIn:oa([.31,.01,.66,-.59]),backOut:oa([.33,1.53,.69,.99])};function ua(e){if(e)return Array.isArray(e)?oa(e):la[e]}var sa=["onUpdate","onComplete"];function ca(e,t,n){n.onUpdate;var r,a=n.onComplete,o=at(n,sa),u=o.keyframes,s=o.duration,c=void 0===s?.3:s,f=o.elapsed,d=void 0===f?0:f,p=o.ease;if("spring"===o.type||!(!(r=o.ease)||Array.isArray(r)||"string"===typeof r&&la[r])){for(var h=ia(o),v={done:!1,value:u[0]},m=[],g=0;!v.done;)v=h.sample(g),m.push(v.value),g+=10;u=m,c=g-10,p="linear"}var y=function(e,t,n){var r,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=a.delay,l=void 0===o?0:o,u=a.duration,s=a.repeat,c=void 0===s?0:s,f=a.repeatType,d=void 0===f?"loop":f,p=a.ease,h=a.times;return e.animate((i(r={},t,n),i(r,"offset",h),r),{delay:l,duration:u,easing:ua(p),fill:"both",iterations:c+1,direction:"reverse"===d?"alternate":"normal"})}(e.owner.current,t,u,l(l({},o),{},{delay:-d,duration:c,ease:p}));return y.onfinish=function(){e.set(u[u.length-1]),a&&a()},function(){var t=y.currentTime;if(t){var n=ia(o);e.setWithVelocity(n.sample(t-10).value,n.sample(t).value,10)}w.update((function(){return y.cancel()}))}}function fa(e,t){var n=performance.now(),r=function r(a){var i=a.timestamp-n;i>=t&&(S.read(r),e(i-t))};return w.read(r,!0),function(){return S.read(r)}}function da(e){var t=e.keyframes,n=e.elapsed,r=e.onUpdate,a=e.onComplete,i=function(){return r&&r(t[t.length-1]),a&&a(),function(){}};return n?fa(i,-n):i()}var pa=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},ha=function(e){return{type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}},va=function(){return{type:"keyframes",ease:"linear",duration:.3}},ma={type:"keyframes",duration:.8},ga={x:pa,y:pa,z:pa,rotate:pa,rotateX:pa,rotateY:pa,rotateZ:pa,scaleX:ha,scaleY:ha,scale:ha,opacity:va,backgroundColor:va,color:va,default:ha},ya=function(e,t){return"zIndex"!==e&&(!("number"!==typeof t&&!Array.isArray(t))||!("string"!==typeof t||!On.test(t)||t.startsWith("url(")))},ba=["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"];function xa(e){return 0===e||"string"===typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function ka(e){return"number"===typeof e?0:Wn("",e)}function wa(e,t){return e[t]||e.default||e}var Sa={waapi:function(){return Object.hasOwnProperty.call(Element.prototype,"animate")}},Ca={},Ea={},Ta=function(e){Ea[e]=function(){return void 0===Ca[e]&&(Ca[e]=Sa[e]()),Ca[e]}};for(var Pa in Sa)Ta(Pa);var Va=new Set(["opacity"]),_a=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return function(a){var i=wa(r,e)||{},o=i.delay||r.delay||0,u=r.elapsed,s=void 0===u?0:u;s-=or(o);var c=function(e,t,n,r){var a=ya(t,n),i=void 0!==r.from?r.from:e.get();return"none"===i&&a&&"string"===typeof n?i=Wn(t,n):xa(i)&&"string"===typeof n?i=ka(n):!Array.isArray(n)&&xa(n)&&"string"===typeof i&&(n=ka(i)),Array.isArray(n)?(null===n[0]&&(n[0]=i),n):[i,n]}(t,e,n,i),f=c[0],d=c[c.length-1],p=ya(e,f),h=ya(e,d);ar(p===h,"You are trying to animate ".concat(e,' from "').concat(f,'" to "').concat(d,'". ').concat(f," is not an animatable value - to enable this animation set ").concat(f," to a value animatable to ").concat(d," via the `style` property."));var v=l(l({keyframes:c,velocity:t.getVelocity()},i),{},{elapsed:s,onUpdate:function(e){t.set(e),i.onUpdate&&i.onUpdate(e)},onComplete:function(){a(),i.onComplete&&i.onComplete()}});if(!p||!h||lr||!1===i.type)return da(v);if("inertia"===i.type){var g=function(e){var t,n=e.keyframes,r=e.velocity,a=void 0===r?0:r,i=e.min,o=e.max,u=e.power,s=void 0===u?.8:u,c=e.timeConstant,f=void 0===c?750:c,d=e.bounceStiffness,p=void 0===d?500:d,h=e.bounceDamping,v=void 0===h?10:h,g=e.restDelta,y=void 0===g?1:g,b=e.modifyTarget,x=e.driver,k=e.onUpdate,w=e.onComplete,S=e.onStop,C=n[0];function E(e){return void 0!==i&&eo}function T(e){return void 0===i?o:void 0===o||Math.abs(i-e) =0?window.pageYOffset:null,c=function(e,t,n){var r=t.measureViewportBox(),a=t.current,i=getComputedStyle(a),o=i.display,l={};"none"===o&&t.setStaticValue("display",e.display||"block"),n.forEach((function(e){l[e]=Zi[e](r,i)})),t.render();var u=t.measureViewportBox();return n.forEach((function(n){var r=t.getValue(n);zi(r,l[n]),e[n]=Zi[n](u,i)})),e}(t,e,u);return i.length&&i.forEach((function(t){var n=f(t,2),r=n[0],a=n[1];e.getValue(r).set(a)})),e.render(),V&&null!==s&&window.scrollTo({top:s}),{target:c,transitionEnd:r}}return{target:t,transitionEnd:r}};function Yi(e,t,n,r){return function(e){return Object.keys(e).some(Fi)}(t)?Qi(e,t,n,r):{target:t,transitionEnd:r}}var qi={current:null},Xi={current:!1};var Ki=["willChange"],Gi=Object.keys(fe),Ji=Gi.length,eo=["AnimationStart","AnimationComplete","Update","Unmount","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],to=function(){function t(e){var n=this,r=e.parent,a=e.props,i=e.reducedMotionConfig,o=e.visualState,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};R(this,t),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.isPresent=!0,this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=function(){return n.notify("Update",n.latestValues)},this.render=function(){n.current&&(n.triggerBuild(),n.renderInstance(n.current,n.renderState,n.props.style,n.projection))},this.scheduleRender=function(){return w.render(n.render,!1,!0)};var s=o.latestValues,c=o.renderState;this.latestValues=s,this.baseTarget=l({},s),this.initialValues=a.initial?l({},s):{},this.renderState=c,this.parent=r,this.props=a,this.depth=r?r.depth+1:0,this.reducedMotionConfig=i,this.options=u,this.isControllingVariants=oe(a),this.isVariantNode=le(a),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(r&&r.current);var f=this.scrapeMotionValuesFromProps(a),d=f.willChange,p=at(f,Ki);for(var h in p){var v=p[h];void 0!==s[h]&&Te(v)&&(v.set(s[h],!1),tr(d)&&d.add(h))}}return D(t,[{key:"scrapeMotionValuesFromProps",value:function(e){return{}}},{key:"mount",value:function(e){var t,n=this;this.current=e,this.projection&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=null===(t=this.parent)||void 0===t?void 0:t.addVariantChild(this)),this.values.forEach((function(e,t){return n.bindToMotionValue(t,e)})),Xi.current||function(){if(Xi.current=!0,V)if(window.matchMedia){var e=window.matchMedia("(prefers-reduced-motion)"),t=function(){return qi.current=e.matches};e.addListener(t),t()}else qi.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||qi.current),this.parent&&this.parent.children.add(this),this.setProps(this.props)}},{key:"unmount",value:function(){var e,t,n;for(var r in null===(e=this.projection)||void 0===e||e.unmount(),S.update(this.notifyUpdate),S.render(this.render),this.valueSubscriptions.forEach((function(e){return e()})),null===(t=this.removeFromVariantTree)||void 0===t||t.call(this),null===(n=this.parent)||void 0===n||n.children.delete(this),this.events)this.events[r].clear();this.current=null}},{key:"bindToMotionValue",value:function(e,t){var n=this,r=Ce.has(e),a=t.on("change",(function(t){n.latestValues[e]=t,n.props.onUpdate&&w.update(n.notifyUpdate,!1,!0),r&&n.projection&&(n.projection.isTransformDirty=!0)})),i=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,(function(){a(),i()}))}},{key:"sortNodePosition",value:function(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}},{key:"loadFeatures",value:function(t,n,r,a,i,o){var u=this,s=[];"production"!==d&&r&&n&&ir(!1,"You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.");for(var c=0;c