PageSourceSearch

https://www.reserveafricainesigean.fr/content/themes/sigean-theme/build/gsap-plugin-Flip-40e1bce2.js

js reserveafricainesigean.fr collected 2026-09-24 09:59:00 UTC 23,999 bytes, 3 lines download raw bytes

1/*! For license information please see gsap-plugin-Flip-40e1bce2.js.LICENSE.txt */
2(self.webpackChunksigean_theme=self.webpackChunksigean_theme||[]).push([[8510],{6116:function(t,e){!function(t){"use strict";var e,n,i,r,s,a,o,l,u,h="transform",c=h+"Origin",p=function(t){var s=t.ownerDocument||t;!(h in t.style)&&"msTransform"in t.style&&(c=(h="msTransform")+"Origin");for(;s.parentNode&&(s=s.parentNode););if(n=window,o=new V,s){e=s,i=s.documentElement,r=s.body,(l=e.createElementNS("http://www.w3.org/2000/svg","g")).style.transform="none";var a=s.createElement("div"),p=s.createElement("div"),f=s&&(s.body||s.firstElementChild);f&&f.appendChild&&(f.appendChild(a),a.appendChild(p),a.setAttribute("style","position:static;transform:translate3d(0,0,1px)"),u=p.offsetParent!==a,f.removeChild(a))}return s},f=function(t){for(var e,n;t&&t!==r;)(n=t._gsap)&&n.uncache&&n.get(t,"x"),n&&!n.scaleX&&!n.scaleY&&n.renderTransform&&(n.scaleX=n.scaleY=1e-4,n.renderTransform(1,n),e?e.push(n):e=[n]),t=t.parentNode;return e},d=[],m=[],g=function(){return n.pageYOffset||e.scrollTop||i.scrollTop||r.scrollTop||0},v=function(){return n.pageXOffset||e.scrollLeft||i.scrollLeft||r.scrollLeft||0},y=function(t){return t.ownerSVGElement||("svg"===(t.tagName+"").toLowerCase()?t:null)},b=function t(e){return"fixed"===n.getComputedStyle(e).position||((e=e.parentNode)&&1===e.nodeType?t(e):void 0)},x=function t(n,i){if(n.parentNode&&(e||p(n))){var r=y(n),o=r?r.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",l=r?i?"rect":"g":"div",u=2!==i?0:100,h=3===i?100:0,c="position:absolute;display:block;pointer-events:none;margin:0;padding:0;",f=e.createElementNS?e.createElementNS(o.replace(/^https/,"http"),l):e.createElement(l);return i&&(r?(a||(a=t(n)),f.setAttribute("width",.01),f.setAttribute("height",.01),f.setAttribute("transform","translate("+u+","+h+")"),a.appendChild(f)):(s||((s=t(n)).style.cssText=c),f.style.cssText=c+"width:0.1px;height:0.1px;top:"+h+"px;left:"+u+"px",s.appendChild(f))),f}throw"Need document and parent."},w=function(t){for(var e=new V,n=0;n<t.numberOfItems;n++)e.multiply(t.getItem(n).matrix);return e},S=function(t){var e,n=t.getCTM();return n||(e=t.style[h],t.style[h]="none",t.appendChild(l),n=l.getCTM(),t.removeChild(l),e?t.style[h]=e:t.style.removeProperty(h.replace(/([A-Z])/g,"-$1").toLowerCase())),n||o.clone()},C=function(t,e){var i,r,l,p,f,g,v=y(t),b=t===v,C=v?d:m,k=t.parentNode;if(t===n)return t;if(C.length||C.push(x(t,1),x(t,2),x(t,3)),i=v?a:s,v)b?(p=-(l=S(t)).e/l.a,f=-l.f/l.d,r=o):t.getBBox?(l=t.getBBox(),p=(r=(r=t.transform?t.transform.baseVal:{}).numberOfItems?r.numberOfItems>1?w(r):r.getItem(0).matrix:o).a*l.x+r.c*l.y,f=r.b*l.x+r.d*l.y):(r=new V,p=f=0),e&&"g"===t.tagName.toLowerCase()&&(p=f=0),(b?v:k).appendChild(i),i.setAttribute("transform","matrix("+r.a+","+r.b+","+r.c+","+r.d+","+(r.e+p)+","+(r.f+f)+")");else{if(p=f=0,u)for(r=t.offsetParent,l=t;l&&(l=l.parentNode)&&l!==r&&l.parentNode;)(n.getComputedStyle(l)[h]+"").length>4&&(p=l.offsetLeft,f=l.offsetTop,l=0);if("absolute"!==(g=n.getComputedStyle(t)).position&&"fixed"!==g.position)for(r=t.offsetParent;k&&k!==r;)p+=k.scrollLeft||0,f+=k.scrollTop||0,k=k.parentNode;(l=i.style).top=t.offsetTop-f+"px",l.left=t.offsetLeft-p+"px",l[h]=g[h],l[c]=g[c],l.position="fixed"===g.position?"fixed":"absolute",t.parentNode.appendChild(i)}return i},k=function(t,e,n,i,r,s,a){return t.a=e,t.b=n,t.c=i,t.d=r,t.e=s,t.f=a,t},V=function(){function t(t,e,n,i,r,s){void 0===t&&(t=1),void 0===e&&(e=0),void 0===n&&(n=0),void 0===i&&(i=1),void 0===r&&(r=0),void 0===s&&(s=0),k(this,t,e,n,i,r,s)}var e=t.prototype;return e.inverse=function(){var t=this.a,e=this.b,n=this.c,i=this.d,r=this.e,s=this.f,a=t*i-e*n||1e-10;return k(this,i/a,-e/a,-n/a,t/a,(n*s-i*r)/a,-(t*s-e*r)/a)},e.multiply=function(t){var e=this.a,n=this.b,i=this.c,r=this.d,s=this.e,a=this.f,o=t.a,l=t.c,u=t.b,h=t.d,c=t.e,p=t.f;return k(this,o*e+u*i,o*n+u*r,l*e+h*i,l*n+h*r,s+c*e+p*i,a+c*n+p*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,n=this.b,i=this.c,r=this.d,s=this.e,a=this.f;return e===t.a&&n===t.b&&i===t.c&&r===t.d&&s===t.e&&a===t.f},e.apply=function(t,e){void 0===e&&(e={});var n=t.x,i=t.y,r=this.a,s=this.b,a=this.c,o=this.d,l=this.e,u=this.f;return e.x=n*r+i*a+l||0,e.y=n*s+i*o+u||0,e},t}();function E(t,n,i,r){if(!t||!t.parentNode||(e||p(t)).documentElement===t)return new V;var s=f(t),a=y(t)?d:m,o=C(t,i),l=a[0].getBoundingClientRect(),u=a[1].getBoundingClientRect(),h=a[2].getBoundingClientRect(),c=o.parentNode,x=!r&&b(t),w=new V((u.left-l.left)/100,(u.top-l.top)/100,(h.left-l.left)/100,(h.top-l.top)/100,l.left+(x?0:v()),l.top+(x?0:g()));if(c.removeChild(o),s)for(l=s.length;l--;)(u=s[l]).scaleX=u.scaleY=0,u.renderTransform(1,u);return n?w.inverse():w}var _,L,B,P,I,N,T,M,O=1,X=function(t,e){return t.actions.forEach((function(t){return t.vars[e]&&t.vars[e](t)}))},Y={},A=180/Math.PI,R=Math.PI/180,z={},D={},F={},H=function(t){return"string"==typeof t?t.split(" ").join("").split(","):t},W=H("onStart,onUpdate,onComplete,onReverseComplete,onInterrupt"),j=H("transform,transformOrigin,width,height,position,top,left,opacity,zIndex,maxWidth,maxHeight,minWidth,minHeight"),q=function(t){return _(t)[0]||console.warn("Element not found:",t)},J=function(t){return Math.round(1e4*t)/1e4||0},U=function(t,e,n){return t.forEach((function(t){return t.classList[n](e)}))},Z={zIndex:1,kill:1,simple:1,spin:1,clearProps:1,targets:1,toggleClass:1,onComplete:1,onUpdate:1,onInterrupt:1,onStart:1,delay:1,repeat:1,repeatDelay:1,yoyo:1,scale:1,fade:1,absolute:1,props:1,onEnter:1,onLeave:1,custom:1,paused:1,nested:1,prune:1,absoluteOnLeave:1},$={zIndex:1,simple:1,clearProps:1,scale:1,absolute:1,fitChild:1,getVars:1,props:1},G=function(t){return t.replace(/([A-Z])/g,"-$1").toLowerCase()},K=function(t,e){var n,i={};for(n in t)e[n]||(i[n]=t[n]);return i},Q={},tt=function(t){var e=Q[t]=H(t);return F[t]=e.concat(j),e},et=function(t){var e=t._gsap||L.core.getCache(t);
2return e.gmCache===L.ticker.frame?e.gMatrix:(e.gmCache=L.ticker.frame,e.gMatrix=E(t,!0,!1,!0))},nt=function t(e,n,i){void 0===i&&(i=0);for(var r=e.parentNode,s=1e3*Math.pow(10,i)*(n?-1:1),a=n?900*-s:0;e;)a+=s,e=e.previousSibling;return r?a+t(r,n,i+1):a},it=function(t,e,n){return t.forEach((function(t){return t.d=nt(n?t.element:t.t,e)})),t.sort((function(t,e){return t.d-e.d})),t},rt=function(t,e){for(var n,i,r=t.element.style,s=t.css=t.css||[],a=e.length;a--;)i=r[n=e[a]]||r.getPropertyValue(n),s.push(i?n:D[n]||(D[n]=G(n)),i);return r},st=function(t){var e=t.css,n=t.element.style,i=0;for(t.cache.uncache=1;i<e.length;i+=2)e[i+1]?n[e[i]]=e[i+1]:n.removeProperty(e[i]);!e[e.indexOf("transform")+1]&&n.translate&&(n.removeProperty("translate"),n.removeProperty("scale"),n.removeProperty("rotate"))},at=function(t,e){t.forEach((function(t){return t.a.cache.uncache=1})),e||t.finalStates.forEach(st)},ot="paddingTop,paddingRight,paddingBottom,paddingLeft,gridArea,transition".split(","),lt=function(t,e,n){var i,r,s,a=t.element,o=t.width,l=t.height,u=t.uncache,h=t.getProp,c=a.style,p=4;if("object"!=typeof e&&(e=t),B&&1!==n)return B._abs.push({t:a,b:t,a:t,sd:0}),B._final.push((function(){return(t.cache.uncache=1)&&st(t)})),a;for(r="none"===h("display"),t.isVisible&&!r||(r&&(rt(t,["display"]).display=e.display),t.matrix=e.matrix,t.width=o=t.
vendor: 10,030 bytes, line 2
2width||e.width,t.height=l=t.height||e.height),rt(t,ot),s=window.getComputedStyle(a);p--;)c[ot[p]]=s[ot[p]];if(c.gridArea="1 / 1 / 1 / 1",c.transition="none",c.position="absolute",c.width=o+"px",c.height=l+"px",c.top||(c.top="0px"),c.left||(c.left="0px"),u)i=new Bt(a);else if((i=K(t,z)).position="absolute",t.simple){var f=a.getBoundingClientRect();i.matrix=new V(1,0,0,1,f.left+v(),f.top+g())}else i.matrix=E(a,!1,!1,!0);return i=yt(i,t,!0),t.x=N(i.x,.01),t.y=N(i.y,.01),a},ut=function(t,e){return!0!==e&&(e=_(e),t=t.filter((function(t){if(-1!==e.indexOf((t.sd<0?t.b:t.a).element))return!0;t.t._gsap.renderTransform(1),t.b.isVisible&&(t.t.style.width=t.b.width+"px",t.t.style.height=t.b.height+"px")}))),t},ht=function(t){return it(t,!0).forEach((function(t){return(t.a.isVisible||t.b.isVisible)&&lt(t.sd<0?t.b:t.a,t.b,1)}))},ct=function(t,e){return e&&t.idLookup[pt(e).id]||t.elementStates[0]},pt=function(t,e,n,i){return t instanceof Bt?t:t instanceof Lt?ct(t,i):new Bt("string"==typeof t?q(t)||console.warn(t+" not found"):t,e,n)},ft=function(t,e){for(var n=L.getProperty(t.element,null,"native"),i=t.props={},r=e.length;r--;)i[e[r]]=(n(e[r])+"").trim();return i.zIndex&&(i.zIndex=parseFloat(i.zIndex)||0),t},dt=function(t,e){var n,i=t.style||t;for(n in e)i[n]=e[n]},mt=function(t){var e=t.getAttribute("data-flip-id");return e||t.setAttribute("data-flip-id",e="auto-"+O++),e},gt=function(t){return t.map((function(t){return t.element}))},vt=function(t,e,n){return t&&e.length&&n.add(t(gt(e),n,new Lt(e,0,!0)),0)},yt=function(t,e,n,i,r,s){var a,o,l,u,h,c,p,f=t.element,d=t.cache,m=t.parent,g=t.x,v=t.y,y=e.width,b=e.height,x=e.scaleX,w=e.scaleY,S=e.rotation,C=e.bounds,k=s&&T&&T(f,"transform"),V=t,B=e.matrix,P=B.e,I=B.f,M=t.bounds.width!==C.width||t.bounds.height!==C.height||t.scaleX!==x||t.scaleY!==w||t.rotation!==S,O=!M&&t.simple&&e.simple&&!r;return O||!m?(x=w=1,S=a=0):(c=(h=et(m)).clone().multiply(e.ctm?e.matrix.clone().multiply(e.ctm):e.matrix),S=J(Math.atan2(c.b,c.a)*A),a=J(Math.atan2(c.c,c.d)*A+S)%360,x=Math.sqrt(Math.pow(c.a,2)+Math.pow(c.b,2)),w=Math.sqrt(Math.pow(c.c,2)+Math.pow(c.d,2))*Math.cos(a*R),r&&(r=_(r)[0],u=L.getProperty(r),p=r.getBBox&&"function"==typeof r.getBBox&&r.getBBox(),V={scaleX:u("scaleX"),scaleY:u("scaleY"),width:p?p.width:Math.ceil(parseFloat(u("width","px"))),height:p?p.height:parseFloat(u("height","px"))}),d.rotation=S+"deg",d.skewX=a+"deg"),n?(x*=y!==V.width&&V.width?y/V.width:1,w*=b!==V.height&&V.height?b/V.height:1,d.scaleX=x,d.scaleY=w):(y=N(y*x/V.scaleX,0),b=N(b*w/V.scaleY,0),f.style.width=y+"px",f.style.height=b+"px"),i&&dt(f,e.props),O||!m?(g+=P-t.matrix.e,v+=I-t.matrix.f):M||m!==e.parent?(d.renderTransform(1,d),c=E(r||f,!1,!1,!0),o=h.apply({x:c.e,y:c.f}),g+=(l=h.apply({x:P,y:I})).x-o.x,v+=l.y-o.y):(h.e=h.f=0,g+=(l=h.apply({x:P-t.matrix.e,y:I-t.matrix.f})).x,v+=l.y),g=N(g,.02),v=N(v,.02),!s||s instanceof Bt?(d.x=g+"px",d.y=v+"px",d.renderTransform(1,d)):k&&k.revert(),s&&(s.x=g,s.y=v,s.rotation=S,s.skewX=a,n?(s.scaleX=x,s.scaleY=w):(s.width=y,s.height=b)),s||d},bt=function(t,e){return t instanceof Lt?t:new Lt(t,e)},xt=function(t,e,n){var i=t.idLookup[n],r=t.alt[n];return!r.isVisible||(e.getElementState(r.element)||r).isVisible&&i.isVisible?i:r},wt=[],St="width,height,overflowX,overflowY".split(","),Ct=function(t){if(t!==M){var e=I.style,n=I.clientWidth===window.outerWidth,i=I.clientHeight===window.outerHeight,r=4;if(t&&(n||i)){for(;r--;)wt[r]=e[St[r]];n&&(e.width=I.clientWidth+"px",e.overflowY="hidden"),i&&(e.height=I.clientHeight+"px",e.overflowX="hidden"),M=t}else if(M){for(;r--;)wt[r]?e[St[r]]=wt[r]:e.removeProperty(G(St[r]));M=t}}},kt=function(t,e,n,i){t instanceof Lt&&e instanceof Lt||console.warn("Not a valid state object.");var r,s,a,o,l,u,h,c,p,f,d,m,g,v,y,b=n=n||{},x=b.clearProps,w=b.onEnter,S=b.onLeave,C=b.absolute,k=b.absoluteOnLeave,V=b.custom,_=b.delay,P=b.paused,I=b.repeat,N=b.repeatDelay,T=b.yoyo,M=b.toggleClass,O=b.nested,X=b.zIndex,Y=b.scale,A=b.fade,R=b.stagger,z=b.spin,D=b.prune,H=("props"in n?n:t).props,q=K(n,Z),J=L.timeline({delay:_,paused:P,repeat:I,repeatDelay:N,yoyo:T,data:"isFlip"}),G=q,et=[],nt=[],st=[],ot=[],lt=!0===z?1:z||0,ct="function"==typeof z?z:function(){return lt},pt=t.interrupted||e.interrupted,ft=J[1!==i?"to":"from"];for(s in e.idLookup)d=e.alt[s]?xt(e,t,s):e.idLookup[s],l=d.element,f=t.idLookup[s],t.alt[s]&&l===f.element&&(t.alt[s].isVisible||!d.isVisible)&&(f=t.alt[s]),f?(u={t:l,b:f,a:d,sd:f.element===l?0:d.isVisible?1:-1},st.push(u),u.sd&&(u.sd<0&&(u.b=d,u.a=f),pt&&rt(u.b,H?F[H]:j),A&&st.push(u.swap={t:f.element,b:u.b,a:u.a,sd:-u.sd,swap:u})),l._flip=f.element._flip=B?B.timeline:J):d.isVisible&&(st.push({t:l,b:K(d,{isVisible:1}),a:d,sd:0,entering:1}),l._flip=B?B.timeline:J);H&&(Q[H]||tt(H)).forEach((function(t){return q[t]=function(e){return st[e].a.props[t]}})),st.finalStates=p=[],m=function(){for(it(st),Ct(!0),o=0;o<st.length;o++)u=st[o],g=u.a,v=u.b,!D||g.isDifferent(v)||u.entering?(l=u.t,O&&!(u.sd<0)&&o&&(g.matrix=E(l,!1,!1,!0)),v.isVisible&&g.isVisible?(u.sd<0?(h=new Bt(l,H,t.simple),yt(h,g,Y,0,0,h),h.matrix=E(l,!1,!1,!0),h.css=u.b.css,u.a=g=h,A&&(l.style.opacity=pt?v.opacity:g.opacity),R&&ot.push(l)):u.sd>0&&A&&(l.style.opacity=pt?g.opacity-v.opacity:"0"),yt(g,v,Y,H)):v.isVisible!==g.isVisible&&(v.isVisible?g.isVisible||(v.css=g.css,nt.push(v),st.splice(o--,1),C&&O&&yt(g,v,Y,H)):(g.isVisible&&et.push(g),st.splice(o--,1))),Y||(l.style.maxWidth=Math.max(g.width,v.width)+"px",l.style.maxHeight=Math.max(g.height,v.height)+"px",l.style.minWidth=Math.min(g.width,v.width)+"px",l.style.minHeight=Math.min(g.height,v.height)+"px"),O&&M&&l.classList.add(M)):st.splice(o--,1),p.push(g);var e;if(M&&(e=p.map((function(t){return t.element})),O&&e.forEach((function(t){return t.classList.remove(M)}))),Ct(!1),Y?(q.scaleX=function(t){return st[t].a.scaleX},q.scaleY=function(t){return st[t].a.scaleY}):(q.width=function(t){return st[t].a.width+"px"},q.height=function(t){return st[t].a.height+"px"},q.autoRound=n.autoRound||!1),q.x=function(t){return st[t].a.x+"px"},q.y=function(t){return st[t].a.y+"px"},q.rotation=function(t){return st[t].a.rotation+(z?360*ct(t,c[t],c):0)},q.skewX=function(t){return st[t].a.skewX},c=st.map((function(t){return t.t})),(X||0===X)&&(q.modifiers={zIndex:function(){return X}},q.zIndex=X,q.immediateRender=!1!==n.immediateRender),A&&(q.opacity=function(t){return st[t].sd<0?0:st[t].sd>0?st[t].a.opacity:"+=0"}),ot.length){R=L.utils.distribute(R);var i=c.slice(ot.length);q.stagger=function(t,e){return R(~ot.indexOf(e)?c.indexOf(st[t].swap.t):t,e,i)}}if(W.forEach((function(t){return n[t]&&J.eventCallback(t,n[t],n[t+"Params"])})),V&&c.length)for(s in G=K(q,Z),"scale"in V&&(V.scaleX=V.scaleY=V.scale,delete V.scale),V)(r=K(V[s],$))[s]=q[s],!("duration"in r)&&"duration"in q&&(r.duration=q.duration),r.stagger=q.stagger,ft.call(J,c,r,0),delete G[s];(c.length||nt.length||et.length)&&(M&&J.add((function(){return U(e,M,J._zTime<0?"remove":"add")}),0)&&!P&&U(e,M,"add"),c.length&&ft.call(J,c,G,0)),vt(w,et,J),vt(S,nt,J);var f=B&&B.timeline;f&&(f.add(J,0),B._final.push((function(){return at(st,!x)}))),a=J.duration(),J.call((function(){var t=J.time()>=a;t&&!f&&at(st,!x),M&&U(e,M,t?"remove":"add")}))},k&&(C=st.filter((function(t){return!t.sd&&!t.a.isVisible&&t.b.isVisible})).map((function(t){return t.a.element}))),B?(C&&(y=B._abs).push.apply(y,ut(st,C)),B._run.push(m)):(C&&ht(ut(st,C)),m());var dt=B?B.timeline:J;return dt.revert=function(){return Et(dt,1,1)},dt},Vt=function t(e){e.vars.onInterrupt&&e.vars.onInterrupt.apply(e,e.vars.onInterruptParams||[]),e.getChildren(!0,!1,!0).forEach(t)},Et=function(t,e,n){if(t&&t.progress()<1&&(!t.paused()||n))return e&&(Vt(t),e<2&&t.progress(1),t.kill()),!0},_t=function(t){for(var e,n=t.idLookup={},i=t.alt={},r=t.elementStates,s=r.length;s--;)n[(e=r[s]).id]?i[e.id]=e:n[e.id]=e},Lt=function(){function t(t,e,n){if(this.props=e&&e.props,this.simple=!(!e||!e.simple),n)this.targets=gt(t),this.elementStates=t,_t(this);else{this.targets=_(t);var i=e&&(!1===e.kill||e.batch&&!e.kill);B&&!i&&B._kill.push(this),this.update(i||!!B)}}var e=t.prototype;return e.update=function(t){var e=this;return this.elementStates=this.targets.map((function(t){return new Bt(t,e.props,e.simple)})),_t(this),this.interrupt(t),this.recordInlineStyles(),this},e.clear=function(){return this.targets.length=this.elementStates.length=0,_t(this),this},e.fit=function(t,e,n){for(var i,r,s=it(this.elementStates.slice(0),!1,!0),a=(t||this).idLookup,o=0;o<s.length;o++)i=s[o],n&&(i.matrix=E(i.element,!1,!1,!0)),(r=a[i.id])&&yt(i,r,e,!0,0,i),i.matrix=E(i.element,!1,!1,!0);return this},e.getProperty=function(t,e){var n=this.getElementState(t)||z;return(e in n?n:n.props||z)[e]},e.add=function(t){for(var e,n,i,r=t.targets.length,s=this.idLookup,a=this.alt;r--;)(i=s[(n=t.elementStates[r]).id])&&(n.element===i.element||a[n.id]&&a[n.id].element===n.element)?(e=this.elementStates.indexOf(n.element===i.element?i:a[n.id]),this.targets.splice(e,1,t.targets[r]),this.elementStates.splice(e,1,n)):(this.targets.push(t.targets[r]),this.elementStates.push(n));return t.interrupted&&(this.interrupted=!0),t.simple||(this.simple=!1),_t(this),this},e.compare=function(t){var e,n,i,r,s,a,o,l,u=t.idLookup,h=this.idLookup,c=[],p=[],f=[],d=[],m=[],g=t.alt,v=this.alt,y=function(t,e,n){return(t.isVisible!==e.isVisible?t.isVisible?f:d:t.isVisible?p:c).push(n)&&m.push(n)},b=function(t,e,n){return m.indexOf(n)<0&&y(t,e,n)};for(i in u)s=g[i],a=v[i],r=(e=s?xt(t,this,i):u[i]).element,n=h[i],a?(l=n.isVisible||!a.isVisible&&r===n.element?n:a,(o=!s||e.isVisible||s.isVisible||l.element!==s.element?e:s).isVisible&&l.isVisible&&o.element!==l.element?((o.isDifferent(l)?p:c).push(o.element,l.element),m.push(o.element,l.element)):y(o,l,o.element),s&&o.element===s.element&&(s=u[i]),b(o.element!==n.element&&s?s:o,n,n.element),b(s&&s.element===a.element?s:o,a,a.element),s&&b(s,a.element===s.element?a:n,s.element)):(n?n.isDifferent(e)?y(e,n,r):c.push(r):f.push(r),s&&b(s,n,s.element));for(i in h)u[i]||(d.push(h[i].element),v[i]&&d.push(v[i].element));
2return{changed:p,unchanged:c,enter:f,leave:d}},e.recordInlineStyles=function(){for(var t=F[this.props]||j,e=this.elementStates.length;e--;)rt(this.elementStates[e],t)},e.interrupt=function(t){var e=this,n=[];this.targets.forEach((function(i){var r=i._flip,s=Et(r,t?0:1);t&&s&&n.indexOf(r)<0&&r.add((function(){return e.updateVisibility()})),s&&n.push(r)})),!t&&n.length&&this.updateVisibility(),this.interrupted||(this.interrupted=!!n.length)},e.updateVisibility=function(){this.elementStates.forEach((function(t){var e=t.element.getBoundingClientRect();t.isVisible=!!(e.width||e.height||e.top||e.left),t.uncache=1}))},e.getElementState=function(t){return this.elementStates[this.targets.indexOf(q(t))]},e.makeAbsolute=function(){return it(this.elementStates.slice(0),!0,!0).map(lt)},t}(),Bt=function(){function t(t,e,n){this.element=t,this.update(e,n)}var e=t.prototype;return e.isDifferent=function(t){var e=this.bounds,n=t.bounds;return e.top!==n.top||e.left!==n.left||e.width!==n.width||e.height!==n.height||!this.matrix.equals(t.matrix)||this.opacity!==t.opacity||this.props&&t.props&&JSON.stringify(this.props)!==JSON.stringify(t.props)},e.update=function(t,e){var n=this,i=n.element,r=L.getProperty(i),s=L.core.getCache(i),a=i.getBoundingClientRect(),o=i.getBBox&&"function"==typeof i.getBBox&&"svg"!==i.nodeName.toLowerCase()&&i.getBBox(),l=e?new V(1,0,0,1,a.left+v(),a.top+g()):E(i,!1,!1,!0);n.getProp=r,n.element=i,n.id=mt(i),n.matrix=l,n.cache=s,n.bounds=a,n.isVisible=!!(a.width||a.height||a.left||a.top),n.display=r("display"),n.position=r("position"),n.parent=i.parentNode,n.x=r("x"),n.y=r("y"),n.scaleX=s.scaleX,n.scaleY=s.scaleY,n.rotation=r("rotation"),n.skewX=r("skewX"),n.opacity=r("opacity"),n.width=o?o.width:N(r("width","px"),.04),n.height=o?o.height:N(r("height","px"),.04),t&&ft(n,Q[t]||tt(t)),n.ctm=i.getCTM&&"svg"===i.nodeName.toLowerCase()&&S(i).inverse(),n.simple=e||1===J(l.a)&&!J(l.b)&&!J(l.c)&&1===J(l.d),n.uncache=0},t}(),Pt=function(){function t(t,e){this.vars=t,this.batch=e,this.states=[],this.timeline=e.timeline}var e=t.prototype;return e.getStateById=function(t){for(var e=this.states.length;e--;)if(this.states[e].idLookup[t])return this.states[e]},e.kill=function(){this.batch.remove(this)},t}(),It=function(){function t(t){this.id=t,this.actions=[],this._kill=[],this._final=[],this._abs=[],this._run=[],this.data={},this.state=new Lt,this.timeline=L.timeline()}var e=t.prototype;return e.add=function(t){var e=this.actions.filter((function(e){return e.vars===t}));return e.length?e[0]:(e=new Pt("function"==typeof t?{animate:t}:t,this),this.actions.push(e),e)},e.remove=function(t){var e=this.actions.indexOf(t);return e>=0&&this.actions.splice(e,1),this},e.getState=function(t){var e=this,n=B,i=P;return B=this,this.state.clear(),this._kill.length=0,this.actions.forEach((function(n){n.vars.getState&&(n.states.length=0,P=n,n.state=n.vars.getState(n)),t&&n.states.forEach((function(t){return e.state.add(t)}))})),P=i,B=n,this.killConflicts(),this},e.animate=function(){var t,e,n=this,i=B,r=this.timeline,s=this.actions.length;for(B=this,r.clear(),this._abs.length=this._final.length=this._run.length=0,this.actions.forEach((function(t){t.vars.animate&&t.vars.animate(t);var e,n,i=t.vars.onEnter,r=t.vars.onLeave,s=t.targets;s&&s.length&&(i||r)&&(e=new Lt,t.states.forEach((function(t){return e.add(t)})),(n=e.compare(Nt.getState(s))).enter.length&&i&&i(n.enter),n.leave.length&&r&&r(n.leave))})),ht(this._abs),this._run.forEach((function(t){return t()})),e=r.duration(),t=this._final.slice(0),r.add((function(){e<=r.time()&&(t.forEach((function(t){return t()})),X(n,"onComplete"))})),B=i;s--;)this.actions[s].vars.once&&this.actions[s].kill();return X(this,"onStart"),r.restart(),this},e.loadState=function(t){t||(t=function(){return 0});var e=[];return this.actions.forEach((function(n){if(n.vars.loadState){var i,r=function r(s){s&&(n.targets=s),~(i=e.indexOf(r))&&(e.splice(i,1),e.length||t())};e.push(r),n.vars.loadState(r)}})),e.length||t(),this},e.setState=function(){return this.actions.forEach((function(t){return t.targets=t.vars.setState&&t.vars.setState(t)})),this},e.killConflicts=function(t){return this.state.interrupt(t),this._kill.forEach((function(e){return e.interrupt(t)})),this},e.run=function(t,e){var n=this;
vendor: 2,339 bytes, lines 2-3
2return this!==B&&(t||this.getState(e),this.loadState((function(){n._killed||(n.setState(),n.animate())}))),this},e.clear=function(t){this.state.clear(),t||(this.actions.length=0)},e.getStateById=function(t){for(var e,n=this.actions.length;n--;)if(e=this.actions[n].getStateById(t))return e;return this.state.idLookup[t]&&this.state},e.kill=function(){this._killed=1,this.clear(),delete Y[this.id]},t}(),Nt=function(){function t(){}return t.getState=function(e,n){var i=bt(e,n);return P&&P.states.push(i),n&&n.batch&&t.batch(n.batch).state.add(i),i},t.from=function(t,e){return"clearProps"in(e=e||{})||(e.clearProps=!0),kt(t,bt(e.targets||t.targets,{props:e.props||t.props,simple:e.simple,kill:!!e.kill}),e,-1)},t.to=function(t,e){return kt(t,bt(e.targets||t.targets,{props:e.props||t.props,simple:e.simple,kill:!!e.kill}),e,1)},t.fromTo=function(t,e,n){return kt(t,e,n)},t.fit=function(t,e,n){var i=n?K(n,$):{},r=n||i,s=r.absolute,a=r.scale,o=r.getVars,l=r.props,u=r.runBackwards,h=r.onComplete,c=r.simple,p=n&&n.fitChild&&q(n.fitChild),f=pt(e,l,c,t),d=pt(t,0,c,f),m=l?F[l]:j,g=L.context();return l&&dt(i,f.props),rt(d,m),u&&("immediateRender"in i||(i.immediateRender=!0),i.onComplete=function(){st(d),h&&h.apply(this,arguments)}),s&&lt(d,f),i=yt(d,f,a||p,l,p,i.duration||o?i:0),g&&!o&&g.add((function(){return function(){return st(d)}})),o?i:i.duration?L.to(d.element,i):null},t.makeAbsolute=function(t,e){return(t instanceof Lt?t:new Lt(t,e)).makeAbsolute()},t.batch=function(t){return t||(t="default"),Y[t]||(Y[t]=new It(t))},t.killFlipsOf=function(t,e){(t instanceof Lt?t.targets:_(t)).forEach((function(t){return t&&Et(t._flip,!1!==e?1:2)}))},t.isFlipping=function(e){var n=t.getByTarget(e);return!!n&&n.isActive()},t.getByTarget=function(t){return(q(t)||z)._flip},t.getElementState=function(t,e){return new Bt(q(t),e)},t.convertCoordinates=function(t,e,n){var i=E(e,!0,!0).multiply(E(t));return n?i.apply(n):i},t.register=function(t){if(I="undefined"!=typeof document&&document.body){L=t,p(I),_=L.utils.toArray,T=L.core.getStyleSaver;var e=L.utils.snap(.1);N=function(t,n){return e(parseFloat(t)+n)}}},t}();Nt.version="3.12.5","undefined"!=typeof window&&window.gsap&&window.gsap.registerPlugin(Nt),t.Flip=Nt,t.default=Nt,Object.defineProperty(t,"__esModule",{value:!0})}(e)}}]);
3//# sourceMappingURL=gsap-plugin-Flip-40e1bce2.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.