tweb/public/2.3d6b202e8d6ff37ebd0b.chun...

2 lines
32 KiB
JavaScript
Raw Normal View History

2022-03-25 16:07:29 +01:00
(this.webpackJsonp=this.webpackJsonp||[]).push([[2,24],{105:function(t,e,s){"use strict";function i(t,e,s){return t<e?e:t>s?s:t}s.d(e,"a",(function(){return i}))},113:function(t,e,s){"use strict";function i(t,e){const s=e.split(".");let i=t;return s.forEach(t=>{t&&(i=i[t])}),i}s.d(e,"a",(function(){return i}))},114:function(t,e,s){"use strict";s.d(e,"c",(function(){return a})),s.d(e,"b",(function(){return o})),s.d(e,"a",(function(){return h}));var i=s(45),n=s(52);const r=new Map;function a(t){const e=function(t){return r.get(t)}(t);e&&(e.isCancelled=!0,e.deferred.resolve())}function o(t,e,s){return s||(s=function(t){a(t);const e={isCancelled:!1,deferred:Object(n.a)()};return r.set(t,e),e.deferred.then(()=>{r.delete(t)}),e}(e)),Object(i.b)(()=>{s.isCancelled||(t()?o(t,e,s):s.deferred.resolve())}),s.deferred}function h(t){Object(i.b)(()=>{t()&&h(t)})}},129:function(t,e,s){"use strict";s.d(e,"a",(function(){return c}));var i=s(142),n=s(15),r=s(45),a=s(86),o=s(96),h=s(91);function c(t,e,s,c,l=250,d){const u=Object(i.a)(e,t||"tabs"===e.dataset.animation?"tabs":"navigation",l,c);if(t){const i=new Proxy(u,{apply:(e,s,i)=>{const n=+i[0],r=void 0===i[1]||i[1],a=t.querySelector(`[data-tab="${n}"]`)||t.children[n];c(a,n,r)}}),c=(i,o,h=!0)=>{const c=e.children[o];if(s){const t=s(o,c,h);if(void 0!==t&&!t)return}d&&d.scrollIntoViewNew({element:i.parentElement.children[o],position:"center",forceDirection:h?void 0:a.a.Static,forceDuration:l,axis:"x"}),n.default.settings.animationsEnabled||(h=!1);const f=u.prevId();if(i.classList.contains("active")||o===f)return!1;const g=t.querySelector(p.toLowerCase()+".active");Object(r.b)(()=>{g&&g.classList.remove("active")}),m&&-1!==f&&h&&Object(r.b)(()=>{const t=i.querySelector("i"),e=i.parentElement.children[f].querySelector("i");e.classList.remove("animate"),t.classList.remove("animate");const s=e.parentElement.parentElement.offsetLeft-t.parentElement.parentElement.offsetLeft,n=e.clientWidth/t.clientWidth;t.style.transform=`translate3d(${s}px, 0, 0) scale3d(${n}, 1, 1)`,requestAnimationFrame(()=>{t.classList.add("animate"),t.style.transform="none"})}),Object(r.b)(()=>{i.classList.add("active")}),u(o,h)},m=!t.classList.contains("no-stripe"),p=t.firstElementChild.tagName;return t.addEventListener("click",(function(e){let s,i=e.target;if(i=Object(o.a)(i,t),!i)return!1;if(i.dataset.tab){if(s=+i.dataset.tab,-1===s)return!1}else s=Object(h.a)(i);c(i,s)})),i}return u}},139:function(t,e,s){"use strict";s.d(e,"a",(function(){return r}));var i=s(53),n=s(84);function r(t,e,s,a){for(const o in t)typeof e[o]!=typeof t[o]?(e[o]=Object(i.a)(t[o]),s&&s(a||o)):Object(n.a)(t[o])&&r(t[o],e[o],s,a||o)}},142:function(t,e,s){"use strict";s.d(e,"a",(function(){return l}));var i=s(15),n=s(52),r=s(82),a=s(91),o=s(5);function h(t,e,s){const i=e.getBoundingClientRect().width,n=[t,e];return s&&n.reverse(),n[0].style.filter="brightness(80%)",n[0].style.transform=`translate3d(${.25*-i}px, 0, 0)`,n[1].style.transform=`translate3d(${i}px, 0, 0)`,t.classList.add("active"),t.offsetWidth,t.style.transform="",t.style.filter="",()=>{e.style.transform=e.style.filter=""}}function c(t,e,s){const i=e.getBoundingClientRect().width,n=[t,e];return s&&n.reverse(),n[0].style.transform=`translate3d(${-i}px, 0, 0)`,n[1].style.transform=`translate3d(${i}px, 0, 0)`,t.classList.add("active"),t.offsetWidth,t.style.transform="",()=>{e.style.transform=""}}const l=(t,e,s,i,n=!0)=>{let r=null;switch(e){case"tabs":r=c;break;case"navigation":r=h}return t.dataset.animation=e,d(t,r,s,i,n)},d=(t,e,s,h,c=!0,l=!1,d=!0)=>{const u=new Map;let m,p=null;if(d){const s=e?"transitionend":"animationend",i=e=>{if(Object(o.a)(e),e.target.parentElement!==t)return;const n=u.get(e.target);n&&n(),e.target===p&&(!m&&c||(m&&(m.resolve(),m=void 0),h&&h(f.prevId()),t.classList.remove("animating","backwards","disable-hover"),l&&(t.removeEventListener(s,i),p=m=void 0,u.clear())))};t.addEventListener(s,i)}function f(o,l=!0,g){g&&(p=g),o instanceof HTMLElement&&(o=Object(a.a)(o));const v=f.prevId();if(o===v)return!1;const y=t.children[o];if(i.default.settings.animationsEnabled&
//# sourceMappingURL=2.3d6b202e8d6ff37ebd0b.chunk.js.map