text: (this["webpackJsonpbiorhythm-calculator"]=this["webpackJsonpbiorhythm-calculator"]||[]).push([[55],{463:function(t,e,n){"use strict";n.r(e),n.d(e,"startTapClick",(function(){return o}));var i=n(20),o=function(t){var e,n,o,f,v=10*-l,p=0,h=t.getBoolean("animated",!0)&&t.getBoolean("rippleEffect",!0),m=new WeakMap,L=function(t){v=Object(i.j)(t),w(t)},b=function(){clearTimeout(f),f=void 0,n&&(k(!1),n=void 0)},E=function(t){n||void 0!==e&&null!==e.parentElement||(e=void 0,j(a(t),t))},w=function(t){j(void 0,t)},j=function(t,e){if(!t||t!==n){clearTimeout(f),f=void 0;var o=Object(i.k)(e),a=o.x,c=o.y;if(n){if(m.has(n))throw new Error("internal error");n.classList.contains(s)||g(n,a,c),k(!0)}if(t){var d=m.get(t);d&&(clearTimeout(d),m.delete(t));var l=r(t)?0:u;t.classList.remove(s),f=setTimeout((function(){g(t,a,c),f=void 0}),l)}n=t}},g=function(t,e,n){p=Date.now(),t.classList.add(s);var i=h&&c(t);i&&i.addRipple&&(T(),o=i.addRipple(e,n))},T=function(){void 0!==o&&(o.then((function(t){return t()})),o=void 0)},k=function(t){T();var e=n;if(e){var i=d-Date.now()+p;if(t&&i>0&&!r(e)){var o=setTimeout((function(){e.classList.remove(s),m.delete(e)}),d);m.set(e,o)}else e.classList.remove(s)}},y=document;y.addEventListener("ionScrollStart",(function(t){e=t.target,b()})),y.addEventListener("ionScrollEnd",(function(){e=void 0})),y.addEventListener("ionGestureCaptured",b),y.addEventListener("touchstart",(function(t){v=Object(i.j)(t),E(t)}),!0),y.addEventListener("touchcancel",L,!0),y.addEventListener("touchend",L,!0),y.addEventListener("mousedown",(function(t){var e=Object(i.j)(t)-l;v<e&&E(t)}),!0),y.addEventListener("mouseup",(function(t){var e=Object(i.j)(t)-l;v<e&&w(t)}),!0)},a=function(t){if(!t.composedPath)return t.target.closest(".ion-activatable");for(var e=t.composedPath(),n=0;n<e.length-2;n++){var i=e[n];if(i.classList&&i.classList.contains("ion-activatable"))return i}},r=function(t){return t.classList.contains("ion-activatable-instant")},c=function(t){if(t.shadowRoot){var e=t.shadowRoot.querySelector("ion-ripple-effect");if(e)return e}return t.querySelector("ion-ripple-effect")},s="ion-activated",u=200,d=200,l=2500}}]);
  //# sourceMappingURL=55.4fc7d20f.chunk.js.map