1 line
45 KiB
JavaScript
1 line
45 KiB
JavaScript
|
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2413],{8383:(t,e,i)=>{i.r(e),i.d(e,{Flip:()=>tV,default:()=>tV});var n,r,s,a,o,l,h,p,u,c="transform",f=c+"Origin",d=function(t){var e=t.ownerDocument||t;for(!(c in t.style)&&("msTransform"in t.style)&&(f=(c="msTransform")+"Origin");e.parentNode&&(e=e.parentNode););if(r=window,h=new C,e){n=e,s=e.documentElement,a=e.body,(p=n.createElementNS("http://www.w3.org/2000/svg","g")).style.transform="none";var i=e.createElement("div"),o=e.createElement("div"),l=e&&(e.body||e.firstElementChild);l&&l.appendChild&&(l.appendChild(i),i.appendChild(o),i.setAttribute("style","position:static;transform:translate3d(0,0,1px)"),u=o.offsetParent!==i,l.removeChild(i))}return e},g=function(t){for(var e,i;t&&t!==a;)(i=t._gsap)&&i.uncache&&i.get(t,"x"),i&&!i.scaleX&&!i.scaleY&&i.renderTransform&&(i.scaleX=i.scaleY=1e-4,i.renderTransform(1,i),e?e.push(i):e=[i]),t=t.parentNode;return e},m=[],y=[],v=function(){return r.pageYOffset||n.scrollTop||s.scrollTop||a.scrollTop||0},x=function(){return r.pageXOffset||n.scrollLeft||s.scrollLeft||a.scrollLeft||0},b=function(t){return t.ownerSVGElement||("svg"===(t.tagName+"").toLowerCase()?t:null)},w=function t(e,i){if(e.parentNode&&(n||d(e))){var r=b(e),s=r?r.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",a=r?i?"rect":"g":"div",h=2!==i?0:100,p=3===i?100:0,u="position:absolute;display:block;pointer-events:none;margin:0;padding:0;",c=n.createElementNS?n.createElementNS(s.replace(/^https/,"http"),a):n.createElement(a);return i&&(r?(l||(l=t(e)),c.setAttribute("width",.01),c.setAttribute("height",.01),c.setAttribute("transform","translate("+h+","+p+")"),l.appendChild(c)):(o||((o=t(e)).style.cssText=u),c.style.cssText=u+"width:0.1px;height:0.1px;top:"+p+"px;left:"+h+"px",o.appendChild(c))),c}throw"Need document and parent."},_=function(t){for(var e=new C,i=0;i<t.numberOfItems;i++)e.multiply(t.getItem(i).matrix);return e},k=function(t){var e,i=t.getCTM();return i||(e=t.style[c],t.style[c]="none",t.appendChild(p),i=p.getCTM(),t.removeChild(p),e?t.style[c]=e:t.style.removeProperty(c.replace(/([A-Z])/g,"-$1").toLowerCase())),i||h.clone()},M=function(t,e){var i,n,s,a,p,d,g=b(t),v=t===g,x=g?m:y,M=t.parentNode;if(t===r)return t;if(x.length||x.push(w(t,1),w(t,2),w(t,3)),i=g?l:o,g)v?(a=-(s=k(t)).e/s.a,p=-s.f/s.d,n=h):t.getBBox?(s=t.getBBox(),a=(n=(n=t.transform?t.transform.baseVal:{}).numberOfItems?n.numberOfItems>1?_(n):n.getItem(0).matrix:h).a*s.x+n.c*s.y,p=n.b*s.x+n.d*s.y):(n=new C,a=p=0),e&&"g"===t.tagName.toLowerCase()&&(a=p=0),(v?g:M).appendChild(i),i.setAttribute("transform","matrix("+n.a+","+n.b+","+n.c+","+n.d+","+(n.e+a)+","+(n.f+p)+")");else{if(a=p=0,u)for(n=t.offsetParent,s=t;s&&(s=s.parentNode)&&s!==n&&s.parentNode;)(r.getComputedStyle(s)[c]+"").length>4&&(a=s.offsetLeft,p=s.offsetTop,s=0);if("absolute"!==(d=r.getComputedStyle(t)).position&&"fixed"!==d.position)for(n=t.offsetParent;M&&M!==n;)a+=M.scrollLeft||0,p+=M.scrollTop||0,M=M.parentNode;(s=i.style).top=t.offsetTop-p+"px",s.left=t.offsetLeft-a+"px",s[c]=d[c],s[f]=d[f],s.position="fixed"===d.position?"fixed":"absolute",t.parentNode.appendChild(i)}return i},O=function(t,e,i,n,r,s,a){return t.a=e,t.b=i,t.c=n,t.d=r,t.e=s,t.f=a,t},C=function(){function t(t,e,i,n,r,s){void 0===t&&(t=1),void 0===e&&(e=0),void 0===i&&(i=0),void 0===n&&(n=1),void 0===r&&(r=0),void 0===s&&(s=0),O(this,t,e,i,n,r,s)}var e=t.prototype;return e.inverse=function(){var t=this.a,e=this.b,i=this.c,n=this.d,r=this.e,s=this.f,a=t*n-e*i||1e-10;return O(this,n/a,-e/a,-i/a,t/a,(i*s-n*r)/a,-(t*s-e*r)/a)},e.multiply=function(t){var e=this.a,i=this.b,n=this.c,r=this.d,s=this.e,a=this.f,o=t.a,l=t.c,h=t.b,p=t.d,u=t.e,c=t.f;return O(this,o*e+h*n,o*i+h*r,l*e+p*n,l*i+p*r,s+u*e+c*n,a+u*i+c*r)},e.clone=function(){return new t(this.a,this.b,this.c,this.d,this.e,this.f)},e.equals=function(t){var e=this.a,i=this.b,n=this.c,r=this.d,s=this.e,a=this.f;return e===t.a&&i===t.b&&n===t.c&&r===t.d&&s===t.e&&a===t.f},e.apply=function(t,e){void 0===e&&(e={});var i=t.x,n=t.y,r=this.a,s=this.b,a=this.c,o=this.d,l=t
|