1import{M as ai,a as Xi}from"../../on-menu-CzO9tl4i.js";import{c as Yi}from"../../baseGutenberg-DRG7ZmVG.js";import{p as Qt}from"../../pxToRem-DGso9a9q.js";import{g as K}from"../../index-DKtf60Sy.js";import{S as Fi}from"../../ScrollTrigger-BWsqEc1I.js";import{A as Bi}from"../../accordion-BSOnSgRs.js";const qi=s=>typeof s=="number"?s:!s||s===window||s===document||s===document.documentElement?window.innerHeight||1:typeof s.getBoundingClientRect=="function"&&s.getBoundingClientRect().height||1,Hi=(s,t=window)=>{const o=qi(t);return+(s/o*100).toFixed(4)};/*! 2 * matrix 3.13.0 3 * https://gsap.com 4 * 5 * Copyright 2008-2025, GreenSock. All rights reserved. 6 * Subject to the terms at https://gsap.com/standard-license 7 * @author: Jack Doyle, [email protected] 8*/var Mt,zt,Ke,Pe,ce,ve,Me,he,xt="transform",Ve=xt+"Origin",Si,Ti=function(t){var o=t.ownerDocument||t;for(!(xt in t.style)&&("msTransform"in t.style)&&(xt="msTransform",Ve=xt+"Origin");o.parentNode&&(o=o.parentNode););if(zt=window,Me=new $t,o){Mt=o,Ke=o.documentElement,Pe=o.body,he=Mt.createElementNS("http://www.w3.org/2000/svg","g"),he.style.transform="none";var i=o.createElement("div"),r=o.createElement("div"),a=o&&(o.body||o.firstElementChild);a&&a.appendChild&&(a.appendChild(i),i.appendChild(r),i.setAttribute("style","position:static;transform:translate3d(0,0,1px)"),Si=r.offsetParent!==i,a.removeChild(i))}return o},Wi=function(t){for(var o,i;t&&t!==Pe;)i=t._gsap,i&&i.uncache&&i.get(t,"x"),i&&!i.scaleX&&!i.scaleY&&i.renderTransform&&(i.scaleX=i.scaleY=1e-4,i.renderTransform(1,i),o?o.push(i):o=[i]),t=t.parentNode;return o},Ei=[],vi=[],Vi=function(){return zt.pageYOffset||Mt.scrollTop||Ke.scrollTop||Pe.scrollTop||0},zi=function(){return zt.pageXOffset||Mt.scrollLeft||Ke.scrollLeft||Pe.scrollLeft||0},Ue=function(t){return t.ownerSVGElement||((t.tagName+"").toLowerCase()==="svg"?t:null)},Gi=function s(t){if(zt.getComputedStyle(t).position==="fixed")return!0;if(t=t.parentNode,t&&t.nodeType===1)return s(t)},Xe=function s(t,o){if(t.parentNode&&(Mt||Ti(t))){var i=Ue(t),r=i?i.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",a=i?o?"rect":"g":"div",f=o!==2?0:100,c=o===3?100:0,y="position:absolute;display:block;pointer-events:none;margin:0;padding:0;",h=Mt.createElementNS?Mt.createElementNS(r.replace(/^https/,"http"),a):Mt.createElement(a);return o&&(i?(ve||(ve=s(t)),h.setAttribute("width",.01),h.setAttribute("height",.01),h.setAttribute("transform","translate("+f+","+c+")"),ve.appendChild(h)):(ce||(ce=s(t),ce.style.cssText=y),h.style.cssText=y+"width:0.1px;height:0.1px;top:"+c+"px;left:"+f+"px",ce.appendChild(h))),h}throw"Need document and parent."},$i=function(t){for(var o=new $t,i=0;i<t.numberOfItems;i++)o.multiply(t.getItem(i).matrix);return o},ji=function(t){var o=t.getCTM(),i;return o||(i=t.style[xt],t.style[xt]="none",t.appendChild(he),o=he.getCTM(),t.removeChild(he),i?t.style[xt]=i:t.style.removeProperty(xt.replace(/([A-Z])/g,"-$1").toLowerCase())),o||Me.clone()},Qi=function(t,o){var i=Ue(t),r=t===i,a=i?Ei:vi,f=t.parentNode,c=f&&!i&&f.shadowRoot&&f.shadowRoot.appendChild?f.shadowRoot:f,y,h,p,w,S,e;if(t===zt)return t;if(a.length||a.push(Xe(t,1),Xe(t,2),Xe(t,3)),y=i?ve:ce,i)r?(p=ji(t),w=-p.e/p.a,S=-p.f/p.d,h=Me):t.getBBox?(p=t.getBBox(),h=t.transform?t.transform.baseVal:{},h=h.numberOfItems?h.numberOfItems>1?$i(h):h.getItem(0).matrix:Me,w=h.a*p.x+h.c*p.y,S=h.b*p.x+h.d*p.y):(h=new $t,w=S=0),(r?i:f).appendChild(y),y.setAttribute("transform","matrix("+h.a+","+h.b+","+h.c+","+h.d+","+(h.e+w)+","+(h.f+S)+")");else{if(w=S=0,Si)for(h=t.offsetParent,p=t;p&&(p=p.parentNode)&&p!==h&&p.parentNode;)(zt.getComputedStyle(p)[xt]+"").length>4&&(w=p.offsetLeft,S=p.offsetTop,p=0);if(e=zt.getComputedStyle(t),e.position!=="absolute"&&e.position!=="fixed")for(h=t.offsetParent;f&&f!==h;)w+=f.scrollLeft||0,S+=f.scrollTop||0,f=f.parentNode;p=y.style,p.top=t.offsetTop-S+"px",p.left=t.offsetLeft-w+"px",p[xt]=e[xt],p[Ve]=e[Ve],p.position=e.position==="fixed"?"fixed":"absolute",c.appendChild(y)}return y},Ye=function(t,o,i,r,a,f,c){return t.a=o,t.b=i,t.c=r,t.d=a,t.e=f,t.f=c,t},$t=(function(){function s(o,i,r,a,f,c){o===void 0&&(o=1),i===void 0&&(i=0),r===void 0&&(r=0),a===void 0&&(a=1),f===void 0&&(f=0),c===void 0&&(c=0),Ye(this,o,i,r,a,f,c)}var t=s.prototype;return t.inverse=function(){var i=this.a,r=this.b,a=this.c,f=this.d,c=this.e,y=this.f,h=i*f-r*a||1e-10;return Ye(this,f/h,-r/h,-a/h,i/h,(a*y-f*c)/h,-(i*y-r*c)/h)},t.multiply=function(i){var r=this.a,a=this.b,f=this.c,c=this.d,y=this.e,h=this.f,p=i.a,w=i.c,S=i.b,e=i.d,T=i.e,P=i.f;return Ye(this,p*r+S*f,p*a+S*c,w*r+e*f,w*a+e*c,y+T*r+P*f,h+T*a+P*c)},t.clone=function(){return new s(this.a,this.b,this.c,this.d,this.e,this.f)},t.equals=function(i){var r=this.a,a=this.b,f=this.c,c=this.d,y=this.e,h=this.f;return r===i.a&&a===i.b&&f===i.c&&c===i.d&&y===i.e&&h===i.f},t.apply=function(i,r){r===void 0&&(r={});var a=i.x,f=i.y,c=this.a,y=this.b,h=this.c,p=this.d,w=this.e,S=this.f;
8return r.x=a*c+f*h+w||0,r.y=a*y+f*p+S||0,r},s})();function Vt(s,t,o,i){if(!s||!s.parentNode||(Mt||Ti(s)).documentElement===s)return new $t;var r=Wi(s),a=Ue(s),f=a?Ei:vi,c=Qi(s),y=f[0].getBoundingClientRect(),h=f[1].getBoundingClientRect(),p=f[2].getBoundingClientRect(),w=c.parentNode,S=Gi(s),e=new $t((h.left-y.left)/100,(h.top-y.top)/100,(p.left-y.left)/100,(p.top-y.top)/100,y.left+(S?0:zi()),y.top+(S?0:Vi()));if(w.removeChild(c),r)for(y=r.length;y--;)h=r[y],h.scaleX=h.scaleY=0,h.renderTransform(1,h);return t?e.inverse():e}function ci(s){if(s===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s}function Ki(s,t){s.prototype=Object.create(t.prototype),s.prototype.constructor=s,s.__proto__=t}var D,O,nt,yt,Ct,Fe,Dt,ze,fe,It,bi,Ge,xe,Ze,de,pt,ue,be,Di,$e,Ce=0,Mi=function(){return typeof window<"u"},Ci=function(){return D||Mi()&&(D=window.gsap)&&D.registerPlugin&&D},Rt=function(t){return typeof t=="function"},pe=function(t){return typeof t=="object"},gt=function(t){return typeof t>"u"},De=function(){return!1},ge="transform",je="transformOrigin",At=function(t){return Math.round(t*1e4)/1e4},ae=Array.isArray,Te=function(t,o){var i=nt.createElementNS?nt.createElementNS("http://www.w3.org/1999/xhtml".replace(/^https/,"http"),t):nt.createElement(t);return i.style?i:nt.createElement(t)},fi=180/Math.PI,Ht=1e20,Ui=new $t,Nt=Date.now||function(){return new Date().getTime()},Gt=[],Zt={},Zi=0,Ji=/^(?:a|input|textarea|button|select)$/i,di=0,Kt={},bt={},Pi=function(t,o){var i={},r;for(r in t)i[r]=o?t[r]*o:t[r];return i},to=function(t,o){for(var i in o)i in t||(t[i]=o[i]);return t},ui=function s(t,o){for(var i=t.length,r;i--;)o?t[i].style.touchAction=o:t[i].style.removeProperty("touch-action"),r=t[i].children,r&&r.length&&s(r,o)},Li=function(){return Gt.forEach(function(t){return t()})},eo=function(t){Gt.push(t),Gt.length===1&&D.ticker.add(Li)},hi=function(){return!Gt.length&&D.ticker.remove(Li)},pi=function(t){for(var o=Gt.length;o--;)Gt[o]===t&&Gt.splice(o,1);D.to(hi,{overwrite:!0,delay:15,duration:0,onComplete:hi,data:"_draggable"})},io=function(t,o){for(var i in o)i in t||(t[i]=o[i]);return t},j=function(t,o,i,r){if(t.addEventListener){var a=xe[o];r=r||(bi?{passive:!1}:null),t.addEventListener(a||o,i,r),a&&o!==a&&t.addEventListener(o,i,r)}},z=function(t,o,i,r){if(t.removeEventListener){var a=xe[o];t.removeEventListener(a||o,i,r),a&&o!==a&&t.removeEventListener(o,i,r)}},ct=function(t){t.preventDefault&&t.preventDefault(),t.preventManipulation&&t.preventManipulation()},oo=function(t,o){for(var i=t.length;i--;)if(t[i].identifier===o)return!0},no=function s(t){Ze=t.touches&&Ce<t.touches.length,z(t.target,"touchend",s)},gi=function(t){Ze=t.touches&&Ce<t.touches.length,j(t.target,"touchend",no)},Jt=function(t){return O.pageYOffset||t.scrollTop||t.documentElement.scrollTop||t.body.scrollTop||0},te=function(t){return O.pageXOffset||t.scrollLeft||t.documentElement.scrollLeft||t.body.scrollLeft||0},xi=function s(t,o){j(t,"scroll",o),ee(t.parentNode)||s(t.parentNode,o)},yi=function s(t,o){z(t,"scroll",o),ee(t.parentNode)||s(t.parentNode,o)},ee=function(t){return!t||t===yt||t.nodeType===9||t===nt.body||t===O||!t.nodeType||!t.parentNode},mi=function(t,o){var i=o==="x"?"Width":"Height",r="scroll"+i,a="client"+i;return Math.max(0,ee(t)?Math.max(yt[r],Ct[r])-(O["inner"+i]||yt[a]||Ct[a]):t[r]-t[a])},Be=function s(t,o){var i=mi(t,"x"),r=mi(t,"y");ee(t)?t=bt:s(t.parentNode,o),t._gsMaxScrollX=i,t._gsMaxScrollY=r,o||(t._gsScrollX=t.scrollLeft||0,t._gsScrollY=t.scrollTop||0)},qe=function(t,o,i){var r=t.style;r&&(gt(r[o])&&(o=fe(o,t)||o),i==null?r.removeProperty&&r.removeProperty(o.replace(/([A-Z])/g,"-$1").toLowerCase()):r[o]=i)},ye=function(t){return O.getComputedStyle(t instanceof Element?t:t.host||(t.parentNode||{}).host||t)},Wt={},Ut=function(t){if(t===O)return Wt.left=Wt.top=0,Wt.width=Wt.right=yt.clientWidth||t.innerWidth||Ct.clientWidth||0,Wt.height=Wt.bottom=(t.innerHeight||0)-20<yt.clientHeight?yt.clientHeight:t.innerHeight||Ct.clientHeight||0,Wt;var o=t.ownerDocument||nt,i=gt(t.pageX)?!t.nodeType&&!gt(t.left)&&!gt(t.top)?t:It(t)[0].getBoundingClientRect():{left:t.pageX-te(o),top:t.pageY-Jt(o),right:t.pageX-te(o)+1,bottom:t.pageY-Jt(o)+1};return gt(i.right)&&!gt(i.width)?(i.right=i.left+i.width,i.bottom=i.top+i.height):gt(i.width)&&(i={width:i.right-i.left,height:i.bottom-i.top,right:i.right,left:i.left,bottom:i.bottom,top:i.top}),i},q=function(t,o,i){var r=t.vars,a=r[i],f=t._listeners[o],c;
8return Rt(a)&&(c=a.apply(r.callbackScope||t,r[i+"Params"]||[t.pointerEvent])),f&&t.dispatchEvent(o)===!1&&(c=!1),c},wi=function(t,o){var i=It(t)[0],r,a,f;return!i.nodeType&&i!==O?gt(t.left)?(a=t.min||t.minX||t.minRotation||0,r=t.min||t.minY||0,{left:a,top:r,width:(t.max||t.maxX||t.maxRotation||0)-a,height:(t.max||t.maxY||0)-r}):(f={x:0,y:0},{left:t.left-f.x,top:t.top-f.y,width:t.width,height:t.height}):ro(i,o)},ft={},ro=function(t,o){o=It(o)[0];var i=t.getBBox&&t.ownerSVGElement,r=t.ownerDocument||nt,a,f,c,y,h,p,w,S,e,T,P,E,M;if(t===O)c=Jt(r),a=te(r),f=a+(r.documentElement.clientWidth||t.innerWidth||r.body.clientWidth||0),y=c+((t.innerHeight||0)-20<r.documentElement.clientHeight?r.documentElement.clientHeight:t.innerHeight||r.body.clientHeight||0);else{if(o===O||gt(o))return t.getBoundingClientRect();a=c=0,i?(T=t.getBBox(),P=T.width,E=T.height):(t.viewBox&&(T=t.viewBox.baseVal)&&(a=T.x||0,c=T.y||0,P=T.width,E=T.height),P||(M=ye(t),T=M.boxSizing==="border-box",P=(parseFloat(M.width)||t.clientWidth||0)+(T?0:parseFloat(M.borderLeftWidth)+parseFloat(M.borderRightWidth)),E=(parseFloat(M.height)||t.clientHeight||0)+(T?0:parseFloat(M.borderTopWidth)+parseFloat(M.borderBottomWidth)))),f=P,y=E}return t===o?{left:a,top:c,width:f-a,height:y-c}:(h=Vt(o,!0).multiply(Vt(t)),p=h.apply({x:a,y:c}),w=h.apply({x:f,y:c}),S=h.apply({x:f,y}),e=h.apply({x:a,y}),a=Math.min(p.x,w.x,S.x,e.x),c=Math.min(p.y,w.y,S.y,e.y),{left:a,top:c,width:Math.max(p.x,w.x,S.x,e.x)-a,height:Math.max(p.y,w.y,S.y,e.y)-c})},He=function(t,o,i,r,a,f){var c={},y,h,p;if(o)if(a!==1&&o instanceof Array){if(c.end=y=[],p=o.length,pe(o[0]))for(h=0;h<p;h++)y[h]=Pi(o[h],a);else for(h=0;h<p;h++)y[h]=o[h]*a;i+=1.1,r-=1.1}else Rt(o)?c.end=function(w){var S=o.call(t,w),e,T;if(a!==1)if(pe(S)){e={};for(T in S)e[T]=S[T]*a;S=e}else S*=a;return S}:c.end=o;return(i||i===0)&&(c.max=i),(r||r===0)&&(c.min=r),f&&(c.velocity=0),c},lo=function s(t){var o;return!t||!t.getAttribute||t===Ct?!1:(o=t.getAttribute("data-clickable"))==="true"||o!=="false"&&(Ji.test(t.nodeName+"")||t.getAttribute("contentEditable")==="true")?!0:s(t.parentNode)},Ee=function(t,o){for(var i=t.length,r;i--;)r=t[i],r.ondragstart=r.onselectstart=o?null:De,D.set(r,{lazy:!0,userSelect:o?"text":"none"})},so=function s(t){if(ye(t).position==="fixed")return!0;if(t=t.parentNode,t&&t.nodeType===1)return s(t)},ki,Qe,ao=function(t,o){t=D.utils.toArray(t)[0],o=o||{};var i=document.createElement("div"),r=i.style,a=t.firstChild,f=0,c=0,y=t.scrollTop,h=t.scrollLeft,p=t.scrollWidth,w=t.scrollHeight,S=0,e=0,T=0,P,E,M,rt,Ot,Xt;ki&&o.force3D!==!1?(Ot="translate3d(",Xt="px,0px)"):ge&&(Ot="translate(",Xt="px)"),this.scrollTop=function(k,it){if(!arguments.length)return-this.top();this.top(-k,it)},this.scrollLeft=function(k,it){if(!arguments.length)return-this.left();this.left(-k,it)},this.left=function(k,it){if(!arguments.length)return-(t.scrollLeft+c);var F=t.scrollLeft-h,L=c;if((F>2||F<-2)&&!it){h=t.scrollLeft,D.killTweensOf(this,{left:1,scrollLeft:1}),this.left(-h),o.onKill&&o.onKill();return}k=-k,k<0?(c=k-.5|0,k=0):k>e?(c=k-e|0,k=e):c=0,(c||L)&&(this._skip||(r[ge]=Ot+-c+"px,"+-f+Xt),c+S>=0&&(r.paddingRight=c+S+"px")),t.scrollLeft=k|0,h=t.scrollLeft},this.top=function(k,it){if(!arguments.length)return-(t.scrollTop+f);var F=t.scrollTop-y,L=f;if((F>2||F<-2)&&!it){y=t.scrollTop,D.killTweensOf(this,{top:1,scrollTop:1}),this.top(-y),o.onKill&&o.onKill();return}k=-k,k<0?(f=k-.5|0,k=0):k>T?(f=k-T|0,k=T):f=0,(f||L)&&(this._skip||(r[ge]=Ot+-c+"px,"+-f+Xt)),t.scrollTop=k|0,y=t.scrollTop},this.maxScrollTop=function(){return T},this.maxScrollLeft=function(){return e},this.disable=function(){for(a=i.firstChild;a;)rt=a.nextSibling,t.appendChild(a),a=rt;t===i.parentNode&&t.removeChild(i)},this.enable=function(){if(a=t.firstChild,a!==i){for(;a;)rt=a.nextSibling,i.appendChild(a),a=rt;t.appendChild(i),this.calibrate()}},this.calibrate=function(k){var it=t.clientWidth===P,F,L,St;y=t.scrollTop,h=t.scrollLeft,!(it&&t.clientHeight===E&&i.offsetHeight===M&&p===t.scrollWidth&&w===t.scrollHeight&&!k)&&((f||c)&&(L=this.left(),St=this.top(),this.left(-t.scrollLeft),this.top(-t.scrollTop)),F=ye(t),(!it||k)&&(r.display="block",r.width="auto",r.paddingRight="0px",S=Math.max(0,t.scrollWidth-t.clientWidth),S&&(S+=parseFloat(F.paddingLeft)+(Qe?parseFloat(F.paddingRight):0))),r.display="inline-block",r.position="relative",r.overflow="visible",r.verticalAlign="top",r.boxSizing="content-box",r.width="100%",r.paddingRight=S+"px",Qe&&(r.paddingBottom=F.paddingBottom),P=t.clientWidth,E=t.clientHeight,p=t.scrollWidth,w=t.scrollHeight,e=t.scrollWidth-P,T=t.
8scrollHeight-E,M=i.offsetHeight,r.display="block",(L||St)&&(this.left(L),this.top(St)))},this.content=i,this.element=t,this._skip=!1,this.enable()},We=function(t){if(Mi()&&document.body){var o=window&&window.navigator;O=window,nt=document,yt=nt.documentElement,Ct=nt.body,Fe=Te("div"),be=!!window.PointerEvent,Dt=Te("div"),Dt.style.cssText="visibility:hidden;height:1px;top:-1px;pointer-events:none;position:relative;clear:both;cursor:grab",ue=Dt.style.cursor==="grab"?"grab":"move",de=o&&o.userAgent.toLowerCase().indexOf("android")!==-1,Ge="ontouchstart"in yt&&"orientation"in O||o&&(o.MaxTouchPoints>0||o.msMaxTouchPoints>0),Qe=(function(){var i=Te("div"),r=Te("div"),a=r.style,f=Ct,c;return a.display="inline-block",a.position="relative",i.style.cssText="width:90px;height:40px;padding:10px;overflow:auto;visibility:hidden",i.appendChild(r),f.appendChild(i),c=r.offsetHeight+18>i.scrollHeight,f.removeChild(i),c})(),xe=(function(i){for(var r=i.split(","),a=("onpointerdown"in Fe?"pointerdown,pointermove,pointerup,pointercancel":"onmspointerdown"in Fe?"MSPointerDown,MSPointerMove,MSPointerUp,MSPointerCancel":i).split(","),f={},c=4;--c>-1;)f[r[c]]=a[c],f[a[c]]=r[c];try{yt.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){bi=1}}))}catch{}return f})("touchstart,touchmove,touchend,touchcancel"),j(nt,"touchcancel",De),j(O,"touchmove",De),Ct&&Ct.addEventListener("touchstart",De),j(nt,"contextmenu",function(){for(var i in Zt)Zt[i].isPressed&&Zt[i].endDrag()}),D=ze=Ci()}D?(pt=D.plugins.inertia,Di=D.core.context||function(){},fe=D.utils.checkPrefix,ge=fe(ge),je=fe(je),It=D.utils.toArray,$e=D.core.getStyleSaver,ki=!!fe("perspective")):t&&console.warn("Please gsap.registerPlugin(Draggable)")},co=(function(){function s(o){this._listeners={},this.target=o||this}var t=s.prototype;return t.addEventListener=function(i,r){var a=this._listeners[i]||(this._listeners[i]=[]);~a.indexOf(r)||a.push(r)},t.removeEventListener=function(i,r){var a=this._listeners[i],f=a&&a.indexOf(r);f>=0&&a.splice(f,1)},t.dispatchEvent=function(i){var r=this,a;return(this._listeners[i]||[]).forEach(function(f){return f.call(r,{type:i,target:r.target})===!1&&(a=!1)}),a},s})(),ie=(function(s){Ki(t,s);function t(o,i){var r;r=s.call(this)||this,ze||We(1),o=It(o)[0],r.styles=$e&&$e(o,"transform,left,top"),pt||(pt=D.plugins.inertia),r.vars=i=Pi(i||{}),r.target=o,r.x=r.y=r.rotation=0,r.dragResistance=parseFloat(i.dragResistance)||0,r.edgeResistance=isNaN(i.edgeResistance)?1:parseFloat(i.edgeResistance)||0,r.lockAxis=i.lockAxis,r.autoScroll=i.autoScroll||0,r.lockedAxis=null,r.allowEventDefault=!!i.allowEventDefault,D.getProperty(o,"x");var a=(i.type||"x,y").toLowerCase(),f=~a.indexOf("x")||~a.indexOf("y"),c=a.indexOf("rotation")!==-1,y=c?"rotation":f?"x":"left",h=f?"y":"top",p=!!(~a.indexOf("x")||~a.indexOf("left")||a==="scroll"),w=!!(~a.indexOf("y")||~a.indexOf("top")||a==="scroll"),S=i.minimumMovement||2,e=ci(r),T=It(i.trigger||i.handle||o),P={},E=0,M=!1,rt=i.autoScrollMarginTop||40,Ot=i.autoScrollMarginRight||40,Xt=i.autoScrollMarginBottom||40,k=i.autoScrollMarginLeft||40,it=i.clickableTest||lo,F=0,L=o._gsap||D.core.getCache(o),St=so(o),jt=function(n,d){return parseFloat(L.get(o,n,d))},A=o.ownerDocument||nt,Tt,v,mt,wt,Z,G,Yt,Je,ti,Y,X,$,W,me,lt,oe,Q,Le,Pt,Lt,Ft,ne,J,N,ei,st,dt,ke,Ae,ii,ot,oi,we,ni=function(n){return ct(n),n.stopImmediatePropagation&&n.stopImmediatePropagation(),!1},_t=function _(n){if(e.autoScroll&&e.isDragging&&(M||Q)){var d=o,l=e.autoScroll*15,u,g,x,b,m,R,C,I;for(M=!1,bt.scrollTop=O.pageYOffset!=null?O.pageYOffset:A.documentElement.scrollTop!=null?A.documentElement.scrollTop:A.body.scrollTop,bt.scrollLeft=O.pageXOffset!=null?O.pageXOffset:A.documentElement.scrollLeft!=null?A.documentElement.scrollLeft:A.body.scrollLeft,b=e.pointerX-bt.scrollLeft,m=e.pointerY-bt.scrollTop;d&&!g;)g=ee(d.parentNode),u=g?bt:d.parentNode,x=g?{bottom:Math.max(yt.clientHeight,O.innerHeight||0),right:Math.max(yt.clientWidth,O.innerWidth||0),left:0,top:0}:u.getBoundingClientRect(),R=C=0,w&&(I=u._gsMaxScrollY-u.scrollTop,I<0?C=I:m>x.bottom-Xt&&I?(M=!0,C=Math.min(I,l*(1-Math.max(0,x.bottom-m)/Xt)|0)):m<x.top+rt&&u.scrollTop&&(M=!0,C=-Math.min(u.scrollTop,l*(1-Math.max(0,m-x.top)/rt)|0)),C&&(u.scrollTop+=C)),p&&(I=u._gsMaxScrollX-u.scrollLeft,I<0?R=I:b>x.right-Ot&&I?(M=!0,R=Math.min(I,l*(1-Math.max(0,x.right-b)/Ot)|0)):b<x.left+k&&u.scrollLeft&&(M=!0,R=-Math.min(u.scrollLeft,l*(1-Math.max(0,b-x.left)/k)|0)),R&&(u.scrollLeft+=R)),g&&(R||C)&&(O.scrollTo(u.scrollLeft,u.scrollTop),se(e.pointerX+R,e.pointerY+C)),d=u}if(Q){var B=e.x,et=e.y;c?(e.deltaX=B-parseFloat(L.rotation),e.rotation=B,L.rotation=B+"deg",L.renderTransform(1,L)):v?(w&&(e.deltaY=et-v.top(),v.top(et)),p&&(e.deltaX=B-v.left(),v.left(B))):f?(w&&(e.deltaY=et-parseFloat(L.y),L.y=et+"px"),p&&(e.deltaX=B-parseFloat(L.x),L.x=B+"px"),L.renderTransform(1,L)):(w&&(e.deltaY=et-parseFloat(o.style.top||0),o.style.top=et+"px"),p&&(e.deltaX=B-parseFloat(o.style.left||0),o.style.left=B+"px")),Je&&!n&&!ke&&(ke=!0,q(e,"drag","onDrag")===!1&&(p&&(e.x-=e.deltaX),w&&(e.y-=e.deltaY),_(!0)),ke=!1)}Q=!1},Bt=function(n,d){var l=e.x,u=e.y,g,x;o._gsap||(L=D.core.getCache(o)),L.uncache&&D.getProperty(o,"x"),f?(e.x=parseFloat(L.x),e.y=parseFloat(L.y)):c?e.x=e.rotation=parseFloat(L.rotation):v?(e.y=v.top(),e.x=v.left()):(e.y=parseFloat(o.style.top||(x=ye(o))&&x.top)||0,e.x=parseFloat(o.style.left||(x||{}).left)||0),(Pt||Lt||Ft)&&!d&&(e.isDragging||e.isThrowing)&&(Ft&&(Kt.x=e.x,Kt.y=e.y,g=Ft(Kt),g.x!==e.x&&(e.x=g.x,Q=!0),g.y!==e.y&&(e.y=g.y,Q=!0)),Pt&&(g=Pt(e.x),g!==e.x&&(e.x=g,c&&(e.rotation=g),Q=!0)),Lt&&(g=Lt(e.y),g!==e.y&&(e.y=g),Q=!0)),Q&&_t(!0),n||(e.deltaX=e.x-l,e.deltaY=e.y-u,q(e,"throwupdate","onThrowUpdate"))},Ne=function(n,d,l,u){return d==null&&(d=-Ht),l==null&&(l=Ht),Rt(n)?function(g){var x=e.isPressed?1-e.edgeResistance:1;return n.call(e,(g>l?l+(g-l)*x:g<d?d+(g-d)*x:g)*u)*u}:ae(n)?function(g){for(var x=n.length,b=0,m=Ht,R,C;
8--x>-1;)R=n[x],C=R-g,C<0&&(C=-C),C<m&&R>=d&&R<=l&&(b=x,m=C);return n[b]}:isNaN(n)?function(g){return g}:function(){return n*u}},Ni=function(n,d,l,u,g,x,b){return x=x&&x<Ht?x*x:Ht,Rt(n)?function(m){var R=e.isPressed?1-e.edgeResistance:1,C=m.x,I=m.y,B,et,Et;return m.x=C=C>l?l+(C-l)*R:C<d?d+(C-d)*R:C,m.y=I=I>g?g+(I-g)*R:I<u?u+(I-u)*R:I,B=n.call(e,m),B!==m&&(m.x=B.x,m.y=B.y),b!==1&&(m.x*=b,m.y*=b),x<Ht&&(et=m.x-C,Et=m.y-I,et*et+Et*Et>x&&(m.x=C,m.y=I)),m}:ae(n)?function(m){for(var R=n.length,C=0,I=Ht,B,et,Et,at;--R>-1;)Et=n[R],B=Et.x-m.x,et=Et.y-m.y,at=B*B+et*et,at<I&&(C=R,I=at);return I<=x?n[C]:m}:function(m){return m}},Re=function(){var n,d,l,u;Yt=!1,v?(v.calibrate(),e.minX=X=-v.maxScrollLeft(),e.minY=W=-v.maxScrollTop(),e.maxX=Y=e.maxY=$=0,Yt=!0):i.bounds&&(n=wi(i.bounds,o.parentNode),c?(e.minX=X=n.left,e.maxX=Y=n.left+n.width,e.minY=W=e.maxY=$=0):!gt(i.bounds.maxX)||!gt(i.bounds.maxY)?(n=i.bounds,e.minX=X=n.minX,e.minY=W=n.minY,e.maxX=Y=n.maxX,e.maxY=$=n.maxY):(d=wi(o,o.parentNode),e.minX=X=Math.round(jt(y,"px")+n.left-d.left),e.minY=W=Math.round(jt(h,"px")+n.top-d.top),e.maxX=Y=Math.round(X+(n.width-d.width)),e.maxY=$=Math.round(W+(n.height-d.height))),X>Y&&(e.minX=Y,e.maxX=Y=X,X=e.minX),W>$&&(e.minY=$,e.maxY=$=W,W=e.minY),c&&(e.minRotation=X,e.maxRotation=Y),Yt=!0),i.liveSnap&&(l=i.liveSnap===!0?i.snap||{}:i.liveSnap,u=ae(l)||Rt(l),c?(Pt=Ne(u?l:l.rotation,X,Y,1),Lt=null):l.points?Ft=Ni(u?l:l.points,X,Y,W,$,l.radius,v?-1:1):(p&&(Pt=Ne(u?l:l.x||l.left||l.scrollLeft,X,Y,v?-1:1)),w&&(Lt=Ne(u?l:l.y||l.top||l.scrollTop,W,$,v?-1:1))))},Ri=function(){e.isThrowing=!1,q(e,"throwcomplete","onThrowComplete")},Ii=function(){e.isThrowing=!1},Ie=function(n,d){var l,u,g,x;n&&pt?(n===!0&&(l=i.snap||i.liveSnap||{},u=ae(l)||Rt(l),n={resistance:(i.throwResistance||i.resistance||1e3)/(c?10:1)},c?n.rotation=He(e,u?l:l.rotation,Y,X,1,d):(p&&(n[y]=He(e,u?l:l.points||l.x||l.left,Y,X,v?-1:1,d||e.lockedAxis==="x")),w&&(n[h]=He(e,u?l:l.points||l.y||l.top,$,W,v?-1:1,d||e.lockedAxis==="y")),(l.points||ae(l)&&pe(l[0]))&&(n.linkedProps=y+","+h,n.radius=l.radius))),e.isThrowing=!0,x=isNaN(i.overshootTolerance)?i.edgeResistance===1?0:1-e.edgeResistance+.2:i.overshootTolerance,n.duration||(n.duration={max:Math.max(i.minDuration||0,"maxDuration"in i?i.maxDuration:2),min:isNaN(i.minDuration)?x===0||pe(n)&&n.resistance>1e3?0:.5:i.minDuration,overshoot:x}),e.tween=g=D.to(v||o,{inertia:n,data:"_draggable",inherit:!1,onComplete:Ri,onInterrupt:Ii,onUpdate:i.fastMode?q:Bt,onUpdateParams:i.fastMode?[e,"onthrowupdate","onThrowUpdate"]:l&&l.radius?[!1,!0]:[]}),i.fastMode||(v&&(v._skip=!0),g.render(1e9,!0,!0),Bt(!0,!0),e.endX=e.x,e.endY=e.y,c&&(e.endRotation=e.x),g.play(0),Bt(!0,!0),v&&(v._skip=!1))):Yt&&e.applyBounds()},ri=function(n){var d=N,l;N=Vt(o.parentNode,!0),n&&e.isPressed&&!N.equals(d||new $t)&&(l=d.inverse().apply({x:mt,y:wt}),N.apply(l,l),mt=l.x,wt=l.y),N.equals(Ui)&&(N=null)},_e=function(){var n=1-e.edgeResistance,d=St?te(A):0,l=St?Jt(A):0,u,g,x;f&&(L.x=jt(y,"px")+"px",L.y=jt(h,"px")+"px",L.renderTransform()),ri(!1),ft.x=e.pointerX-d,ft.y=e.pointerY-l,N&&N.apply(ft,ft),mt=ft.x,wt=ft.y,Q&&(se(e.pointerX,e.pointerY),_t(!0)),oi=Vt(o),v?(Re(),G=v.top(),Z=v.left()):(re()?(Bt(!0,!0),Re()):e.applyBounds(),c?(u=o.ownerSVGElement?[L.xOrigin-o.getBBox().x,L.yOrigin-o.getBBox().y]:(ye(o)[je]||"0 0").split(" "),oe=e.rotationOrigin=Vt(o).apply({x:parseFloat(u[0])||0,y:parseFloat(u[1])||0}),Bt(!0,!0),g=e.pointerX-oe.x-d,x=oe.y-e.pointerY+l,Z=e.x,G=e.y=Math.atan2(x,g)*fi):(G=jt(h,"px"),Z=jt(y,"px"))),Yt&&n&&(Z>Y?Z=Y+(Z-Y)/n:Z<X&&(Z=X-(X-Z)/n),c||(G>$?G=$+(G-$)/n:G<W&&(G=W-(W-G)/n))),e.startX=Z=At(Z),e.startY=G=At(G)},re=function(){return e.tween&&e.tween.isActive()},Oi=function(){Dt.parentNode&&!re()&&!e.isDragging&&Dt.parentNode.removeChild(Dt)},le=function(n,d){var l;if(!Tt||e.isPressed||!n||(n.type==="mousedown"||n.type==="pointerdown")&&!d&&Nt()-F<30&&xe[e.pointerEvent.type]){ot&&n&&Tt&&ct(n);return}if(ei=re(),we=!1,e.pointerEvent=n,xe[n.type]?(J=~n.type.indexOf("touch")?n.currentTarget||n.target:A,j(J,"touchend",ut),j(J,"touchmove",qt),j(J,"touchcancel",ut),j(A,"touchstart",gi)):(J=null,j(A,"mousemove",qt)),dt=null,(!be||!J)&&(j(A,"mouseup",ut),n&&n.target&&j(n.target,"mouseup",ut)),ne=it.call(e,n.target)&&i.dragClickables===!1&&!d,ne){j(n.target,"change",ut),q(e,"pressInit","onPressInit"),q(e,"press","onPress"),Ee(T,!0),ot=!1;return}if(st=!J||p===w||e.vars.allowNativeTouchScrolling===!1||e.vars.allowContextMenu&&n&&(n.ctrlKey||n.which>2)?!1:p?"y":"x",ot=!st&&!e.allowEventDefault,ot&&(ct(n),j(O,"touchforcechange",ct)),n.changedTouches?(n=me=n.changedTouches[0],lt=n.identifier):n.pointerId?lt=n.pointerId:me=lt=null,Ce++,eo(_t),wt=e.pointerY=n.pageY,mt=e.pointerX=n.pageX,q(e,"pressInit","onPressInit"),(st||e.autoScroll)&&Be(o.parentNode),o.parentNode&&e.autoScroll&&!v&&!c&&o.parentNode._gsMaxScrollX&&!Dt.parentNode&&!o.getBBox&&(Dt.style.width=o.parentNode.scrollWidth+"px",o.parentNode.appendChild(Dt)),_e(),e.tween&&e.tween.kill(),e.isThrowing=!1,D.killTweensOf(v||o,P,!0),v&&D.killTweensOf(o,{scrollTo:1},!0),e.tween=e.lockedAxis=null,(i.zIndexBoost||!c&&!v&&i.zIndexBoost!==!1)&&(o.style.zIndex=t.zIndex++),e.isPressed=!0,Je=!!(i.onDrag||e._listeners.drag),ti=!!(i.onMove||e._listeners.move),i.cursor!==!1||i.activeCursor)for(l=T.length;--l>-1;)D.set(T[l],{cursor:i.activeCursor||i.cursor||(ue==="grab"?"grabbing":ue)});q(e,"press","onPress")},qt=function(n){var d=n,l,u,g,x,b,m;if(!Tt||Ze||!e.isPressed||!n){ot&&n&&Tt&&ct(n);return}if(e.pointerEvent=n,l=n.changedTouches,l){if(n=l[0],n!==me&&n.identifier!==lt){for(x=l.length;--x>-1&&(n=l[x]).identifier!==lt&&n.target!==o;);if(x<0)return}}else if(n.pointerId&<&&n.pointerId!==lt)return;if(J&&st&&!dt&&(ft.x=n.pageX-(St?te(A):0),ft.y=n.pageY-(St?Jt(A):0),N&&N.apply(ft,ft),u=ft.x,g=ft.y,b=Math.abs(u-mt),m=Math.abs(g-wt),(b!==m&&(b>S||m>S)||de&&st===dt)&&(dt=b>m&&p?"x":"y",st&&dt!==st&&j(O,"touchforcechange",ct),e.vars.lockAxisOnTouchScroll!==!1&&p&&w&&(e.lockedAxis=dt==="x"?"y":"x",Rt(e.vars.onLockAxis)&&e.vars.onLockAxis.call(e,d)),de&&st===dt))){ut(d);return}!e.allowEventDefault&&(!st||dt&&st!==dt)&&d.cancelable!==!1?(ct(d),ot=!0):ot&&(ot=!1),e.autoScroll&&(M=!0),se(n.pageX,n.pageY,ti)},se=function(n,d,l){var u=1-e.dragResistance,g=1-e.edgeResistance,x=e.pointerX,b=e.pointerY,m=G,R=e.x,C=e.y,I=e.endX,B=e.endY,et=e.endRotation,Et=Q,at,kt,tt,V,Oe,ht;e.pointerX=n,e.pointerY=d,St&&(n-=te(A),d-=Jt(A)),c?(V=Math.atan2(oe.y-d,n-oe.x)*fi,Oe=e.y-V,Oe>180?(G-=360,e.y=V):Oe<-180&&(G+=360,e.y=V),e.x!==Z||Math.max(Math.abs(mt-n),Math.abs(wt-d))>S?(e.y=V,tt=Z+(G-V)*u):tt=Z):(N&&(ht=n*N.a+d*N.c+N.e,d=n*N.b+d*N.d+N.f,n=ht),kt=d-wt,at=n-mt,kt<S&&kt>-S&&(kt=0),at<S&&at>-S&&(at=0),(e.lockAxis||e.lockedAxis)&&(at||kt)&&(ht=e.lockedAxis,ht||(e.lockedAxis=ht=p&&Math.abs(at)>Math.abs(kt)?"y":w?"x":null,ht&&Rt(e.vars.onLockAxis)&&e.vars.onLockAxis.call(e,e.pointerEvent)),ht==="y"?kt=0:ht==="x"&&(at=0)),tt=At(Z+at*u),V=At(G+kt*u)),(Pt||Lt||Ft)&&(e.x!==tt||e.y!==V&&!c)&&(Ft&&(Kt.x=tt,Kt.y=V,ht=Ft(Kt),tt=At(ht.x),V=At(ht.y)),Pt&&(tt=At(Pt(tt))),Lt&&(V=At(Lt(V)))),Yt&&(tt>Y?tt=Y+Math.round((tt-Y)*g):tt<X&&(tt=X+Math.round((tt-X)*g)),c||(V>$?V=Math.round($+(V-$)*g):V<W&&(V=Math.round(W+(V-W)*g)))),(e.x!==tt||e.y!==V&&!c)&&(c?(e.endRotation=e.x=e.endX=tt,Q=!0):(w&&(e.y=e.endY=V,Q=!0),p&&(e.x=e.endX=tt,Q=!0)),!l||q(e,"move","onMove")!==!1?!e.isDragging&&e.isPressed&&(e.isDragging=we=!0,q(e,"dragstart","onDragStart")):(e.pointerX=x,e.pointerY=b,G=m,e.x=R,e.y=C,e.endX=I,e.endY=B,e.endRotation=et,Q=Et))},ut=function _(n,d){if(!Tt||!e.isPressed||n&<!=null&&!d&&(n.pointerId&&n.pointerId!==lt&&n.target!==o||n.changedTouches&&!oo(n.changedTouches,lt))){ot&&n&&Tt&&ct(n);return}e.isPressed=!1;var l=n,u=e.isDragging,g=e.vars.allowContextMenu&&n&&(n.ctrlKey||n.which>2),x=D.delayedCall(.001,Oi),b,m,R,C,I;if(J?(z(J,"touchend",_),z(J,"touchmove",qt),z(J,"touchcancel",_),z(A,"touchstart",gi)):z(A,"mousemove",qt),z(O,"touchforcechange",ct),(!be||!J)&&(z
8(A,"mouseup",_),n&&n.target&&z(n.target,"mouseup",_)),Q=!1,u&&(E=di=Nt(),e.isDragging=!1),pi(_t),ne&&!g){n&&(z(n.target,"change",_),e.pointerEvent=l),Ee(T,!1),q(e,"release","onRelease"),q(e,"click","onClick"),ne=!1;return}for(m=T.length;--m>-1;)qe(T[m],"cursor",i.cursor||(i.cursor!==!1?ue:null));if(Ce--,n){if(b=n.changedTouches,b&&(n=b[0],n!==me&&n.identifier!==lt)){for(m=b.length;--m>-1&&(n=b[m]).identifier!==lt&&n.target!==o;);if(m<0&&!d)return}e.pointerEvent=l,e.pointerX=n.pageX,e.pointerY=n.pageY}return g&&l?(ct(l),ot=!0,q(e,"release","onRelease")):l&&!u?(ot=!1,ei&&(i.snap||i.bounds)&&Ie(i.inertia||i.throwProps),q(e,"release","onRelease"),(!de||l.type!=="touchmove")&&l.type.indexOf("cancel")===-1&&(q(e,"click","onClick"),Nt()-F<300&&q(e,"doubleclick","onDoubleClick"),C=l.target||o,F=Nt(),I=function(){F!==Ae&&e.enabled()&&!e.isPressed&&!l.defaultPrevented&&(C.click?C.click():A.createEvent&&(R=A.createEvent("MouseEvents"),R.initMouseEvent("click",!0,!0,O,1,e.pointerEvent.screenX,e.pointerEvent.screenY,e.pointerX,e.pointerY,!1,!1,!1,!1,0,null),C.dispatchEvent(R)))},!de&&!l.defaultPrevented&&D.delayedCall(.05,I))):(Ie(i.inertia||i.throwProps),!e.allowEventDefault&&l&&(i.dragClickables!==!1||!it.call(e,l.target))&&u&&(!st||dt&&st===dt)&&l.cancelable!==!1?(ot=!0,ct(l)):ot=!1,q(e,"release","onRelease")),re()&&x.duration(e.tween.duration()),u&&q(e,"dragend","onDragEnd"),!0},Se=function(n){if(n&&e.isDragging&&!v){var d=n.target||o.parentNode,l=d.scrollLeft-d._gsScrollX,u=d.scrollTop-d._gsScrollY;(l||u)&&(N?(mt-=l*N.a+u*N.c,wt-=u*N.d+l*N.b):(mt-=l,wt-=u),d._gsScrollX+=l,d._gsScrollY+=u,se(e.pointerX,e.pointerY))}},li=function(n){var d=Nt(),l=d-F<100,u=d-E<50,g=l&&Ae===F,x=e.pointerEvent&&e.pointerEvent.defaultPrevented,b=l&&ii===F,m=n.isTrusted||n.isTrusted==null&&l&&g;if((g||u&&e.vars.suppressClickOnDrag!==!1)&&n.stopImmediatePropagation&&n.stopImmediatePropagation(),l&&!(e.pointerEvent&&e.pointerEvent.defaultPrevented)&&(!g||m&&!b)){m&&g&&(ii=F),Ae=F;return}(e.isPressed||u||l)&&(!m||!n.detail||!l||x)&&ct(n),!l&&!u&&!we&&(n&&n.target&&(e.pointerEvent=n),q(e,"click","onClick"))},si=function(n){return N?{x:n.x*N.a+n.y*N.c+N.e,y:n.x*N.b+n.y*N.d+N.f}:{x:n.x,y:n.y}};return Le=t.get(o),Le&&Le.kill(),r.startDrag=function(_,n){var d,l,u,g;le(_||e.pointerEvent,!0),n&&!e.hitTest(_||e.pointerEvent)&&(d=Ut(_||e.pointerEvent),l=Ut(o),u=si({x:d.left+d.width/2,y:d.top+d.height/2}),g=si({x:l.left+l.width/2,y:l.top+l.height/2}),mt-=u.x-g.x,wt-=u.y-g.y),e.isDragging||(e.isDragging=we=!0,q(e,"dragstart","onDragStart"))},r.drag=qt,r.endDrag=function(_){return ut(_||e.pointerEvent,!0)},r.timeSinceDrag=function(){return e.isDragging?0:(Nt()-E)/1e3},r.timeSinceClick=function(){return(Nt()-F)/1e3},r.hitTest=function(_,n){return t.hitTest(e.target,_,n)},r.getDirection=function(_,n){var d=_==="velocity"&&pt?_:pe(_)&&!c?"element":"start",l,u,g,x,b,m;return d==="element"&&(b=Ut(e.target),m=Ut(_)),l=d==="start"?e.x-Z:d==="velocity"?pt.getVelocity(o,y):b.left+b.width/2-(m.left+m.width/2),c?l<0?"counter-clockwise":"clockwise":(n=n||2,u=d==="start"?e.y-G:d==="velocity"?pt.getVelocity(o,h):b.top+b.height/2-(m.top+m.height/2),g=Math.abs(l/u),x=g<1/n?"":l<0?"left":"right",g<n&&(x!==""&&(x+="-"),x+=u<0?"up":"down"),x)},r.applyBounds=function(_,n){var d,l,u,g,x,b;if(_&&i.bounds!==_)return i.bounds=_,e.update(!0,n);if(Bt(!0),Re(),Yt&&!re()){if(d=e.x,l=e.y,d>Y?d=Y:d<X&&(d=X),l>$?l=$:l<W&&(l=W),(e.x!==d||e.y!==l)&&(u=!0,e.x=e.endX=d,c?e.endRotation=d:e.y=e.endY=l,Q=!0,_t(!0),e.autoScroll&&!e.isDragging))for(Be(o.parentNode),g=o,bt.scrollTop=O.pageYOffset!=null?O.pageYOffset:A.documentElement.scrollTop!=null?A.documentElement.scrollTop:A.body.scrollTop,bt.scrollLeft=O.pageXOffset!=null?O.pageXOffset:A.documentElement.scrollLeft!=null?A.documentElement.scrollLeft:A.body.scrollLeft;g&&!b;)b=ee(g.parentNode),x=b?bt:g.parentNode,w&&x.scrollTop>x._gsMaxScrollY&&(x.scrollTop=x._gsMaxScrollY),p&&x.scrollLeft>x._gsMaxScrollX&&(x.scrollLeft=x._gsMaxScrollX),g=x;e.isThrowing&&(u||e.endX>Y||e.endX<X||e.endY>$||e.endY<W)&&Ie(i.inertia||i.throwProps,u)}return e},r.update=function(_,n,d){if(n&&e.isPressed){var l=Vt(o),u=oi.apply({x:e.x-Z,y:e.y-G}),g=Vt(o.parentNode,!0);g.apply({x:l.e-u.x,y:l.f-u.y},u),e.x-=u.x-g.e,e.y-=u.y-g.f,_t(!0),_e()}var x=e.x,b=e.y;
8return ri(!n),_?e.applyBounds():(Q&&d&&_t(!0),Bt(!0)),n&&(se(e.pointerX,e.pointerY),Q&&_t(!0)),e.isPressed&&!n&&(p&&Math.abs(x-e.x)>.01||w&&Math.abs(b-e.y)>.01&&!c)&&_e(),e.autoScroll&&(Be(o.parentNode,e.isDragging),M=e.isDragging,_t(!0),yi(o,Se),xi(o,Se)),e},r.enable=function(_){var n={lazy:!0},d,l,u;if(i.cursor!==!1&&(n.cursor=i.cursor||ue),D.utils.checkPrefix("touchCallout")&&(n.touchCallout="none"),_!=="soft"){for(ui(T,p===w?"none":i.allowNativeTouchScrolling&&o.scrollHeight===o.clientHeight==(o.scrollWidth===o.clientHeight)||i.allowEventDefault?"manipulation":p?"pan-y":"pan-x"),l=T.length;--l>-1;)u=T[l],be||j(u,"mousedown",le),j(u,"touchstart",le),j(u,"click",li,!0),D.set(u,n),u.getBBox&&u.ownerSVGElement&&p!==w&&D.set(u.ownerSVGElement,{touchAction:i.allowNativeTouchScrolling||i.allowEventDefault?"manipulation":p?"pan-y":"pan-x"}),i.allowContextMenu||j(u,"contextmenu",ni);Ee(T,!1)}return xi(o,Se),Tt=!0,pt&&_!=="soft"&&pt.track(v||o,f?"x,y":c?"rotation":"top,left"),o._gsDragID=d=o._gsDragID||"d"+Zi++,Zt[d]=e,v&&(v.enable(),v.element._gsDragID=d),(i.bounds||c)&&_e(),i.bounds&&e.applyBounds(),e},r.disable=function(_){for(var n=e.isDragging,d=T.length,l;--d>-1;)qe(T[d],"cursor",null);if(_!=="soft"){for(ui(T,null),d=T.length;--d>-1;)l=T[d],qe(l,"touchCallout",null),z(l,"mousedown",le),z(l,"touchstart",le),z(l,"click",li,!0),z(l,"contextmenu",ni);Ee(T,!0),J&&(z(J,"touchcancel",ut),z(J,"touchend",ut),z(J,"touchmove",qt)),z(A,"mouseup",ut),z(A,"mousemove",qt)}return yi(o,Se),Tt=!1,pt&&_!=="soft"&&(pt.untrack(v||o,f?"x,y":c?"rotation":"top,left"),e.tween&&e.tween.kill()),v&&v.disable(),pi(_t),e.isDragging=e.isPressed=ne=!1,n&&q(e,"dragend","onDragEnd"),e},r.enabled=function(_,n){return arguments.length?_?e.enable(n):e.disable(n):Tt},r.kill=function(){return e.isThrowing=!1,e.tween&&e.tween.kill(),e.disable(),D.set(T,{clearProps:"userSelect"}),delete Zt[o._gsDragID],e},r.revert=function(){this.kill(),this.styles&&this.styles.revert()},~a.indexOf("scroll")&&(v=r.scrollProxy=new ao(o,to({onKill:function(){e.isPressed&&ut(null)}},i)),o.style.overflowY=w&&!Ge?"auto":"hidden",o.style.overflowX=p&&!Ge?"auto":"hidden",o=v.content),c?P.rotation=1:(p&&(P[y]=1),w&&(P[h]=1)),L.force3D="force3D"in i?i.force3D:!0,Di(ci(r)),r.enable(),r}return t.register=function(i){D=i,We()},t.create=function(i,r){return ze||We(!0),It(i).map(function(a){return new t(a,r)})},t.get=function(i){return Zt[(It(i)[0]||{})._gsDragID]},t.timeSinceDrag=function(){return(Nt()-di)/1e3},t.hitTest=function(i,r,a){if(i===r)return!1;var f=Ut(i),c=Ut(r),y=f.top,h=f.left,p=f.right,w=f.bottom,S=f.width,e=f.height,T=c.left>p||c.right<h||c.top>w||c.bottom<y,P,E,M;return T||!a?!T:(M=(a+"").indexOf("%")!==-1,a=parseFloat(a)||0,P={left:Math.max(h,c.left),top:Math.max(y,c.top)},P.width=Math.min(p,c.right)-P.left,P.height=Math.min(w,c.bottom)-P.top,P.width<0||P.height<0?!1:M?(a*=.01,E=P.width*P.height,E>=S*e*a||E>=c.width*c.height*a):P.width>a&&P.height>a)},t})(co);io(ie.prototype,{pointerX:0,pointerY:0,startX:0,startY:0,deltaX:0,deltaY:0,isDragging:!1,isPressed:!1});ie.zIndex=1e3;ie.version="3.13.0";Ci()&&D.registerPlugin(ie);K.registerPlugin(Fi,ie);const U=document.querySelector(".js-who-we-serve"),vt=U==null?void 0:U.querySelector(".js-accordion"),H=U==null?void 0:U.querySelectorAll(".js-accordion-item"),_i=U==null?void 0:U.querySelectorAll(".js-accordion-title"),Ai=Yi({data:{gsap:{timeline:null,matchMedia:K.matchMedia(),marquees:[]},accordionInstance:null,config:{ACTIVE_CLASS:"is-active",EASE:"none",START_OFFSET_PERCENT:88,STACK_STEP_PX:5,TITLE_LIFT_REM:Qt(15),SCROLL_DISTANCE:350,PARALLAX_PX:15,FONT_SIZE_COLLAPSED:Qt(20),FONT_SIZE_EXPANDED:Qt(36),MARQUEE_SPEED_PIXELS_PER_SEC:35,DRAG_INTENSITY:2}},methods:{initMarquee(s){if(!s)return;const t=s.querySelector(".js-accordion-content-slider");if(!t)return;if(t.dataset.marqueeInit==="true"){const E=this.data.gsap.marquees.find(M=>M.el===t);E&&(E.timer&&E.timer.kill(),E.tween&&E.tween.play());return}const o=t.querySelector(".swiper-wrapper");if(!o)return;const i=Array.from(o.children).filter(E=>E.classList.contains("swiper-slide")&&!E.classList.contains("is-clone"));if(!i.length)return;o.innerHTML="";const r=window.innerWidth;
8i.forEach(E=>{E.style.width="auto",E.style.flexShrink="0",o.appendChild(E)});const a=o.scrollWidth;let f=Math.ceil(r*1.5/a);f<1&&(f=1),o.innerHTML="";const c=[];for(let E=0;E<f;E++)i.forEach(M=>{const rt=M.cloneNode(!0);rt.style.width="auto",rt.style.flexShrink="0",rt.classList.remove("swiper-slide-duplicate"),c.push(rt)});c.forEach(E=>o.appendChild(E)),c.forEach(E=>{const M=E.cloneNode(!0);M.classList.add("is-clone"),o.appendChild(M)}),o.style.display="flex",o.style.flexWrap="nowrap",o.style.width="max-content",o.style.boxSizing="border-box";const p=o.scrollWidth/2/this.data.config.MARQUEE_SPEED_PIXELS_PER_SEC,w=K.fromTo(o,{xPercent:0},{xPercent:-50,duration:p,ease:"none",repeat:-1});w.totalTime(p/10);const S=document.createElement("div");let e=null;const T=this.data.config.DRAG_INTENSITY,P=ie.create(S,{trigger:t,type:"x",cursor:"grab",activeCursor:"grabbing",onPress:()=>{e&&e.kill()},onDragStart:()=>{w.pause()},onDrag:function(){const E=o.scrollWidth/2,M=this.deltaX*T/E*p;w.totalTime(w.totalTime()-M)},onDragEnd:()=>{e=K.delayedCall(1,()=>{w.play()});const E=Ai.data.gsap.marquees.find(M=>M.el===t);E&&(E.timer=e)}})[0];t.dataset.marqueeInit="true",this.data.gsap.marquees.push({el:t,tween:w,draggable:P,timer:e})},stopMarquee(s){const t=s==null?void 0:s.querySelector(".js-accordion-content-slider"),o=this.data.gsap.marquees.find(i=>i.el===t);o&&(o.timer&&(o.timer.kill(),o.timer=null),o.tween&&o.tween.pause())},getStartYPercent(s,t){if(s===0)return 0;const o=this.data.config.STACK_STEP_PX*Math.max(0,s-1),i=Hi(o);return t+i},getTitleOffset(s,t=!1){const o=s.querySelector(".js-accordion-title"),i=s.querySelector(".u-h2");return!o||!i?0:t?-67:-131},getAccordionYOffset(){const s=window.innerHeight;return s<670?-155:s<710?-115:s<743?-70:-15},initialStateDesktop(s){if(!H)return;const{isTablet:t}=s.conditions,o=t?this.data.config.START_OFFSET_PERCENT-10:this.data.config.START_OFFSET_PERCENT;H.forEach((i,r)=>{_i&&K.set(_i,{y:0}),K.set(i,{yPercent:this.methods.getStartYPercent.call(this,r,o)}),i.classList.toggle(this.data.config.ACTIVE_CLASS,r===0);const a=i.querySelector(".u-h2");if(a)if(r===0)K.set(a,{fontSize:this.data.config.FONT_SIZE_EXPANDED,y:0}),this.methods.initMarquee.call(this,i);else{K.set(a,{fontSize:this.data.config.FONT_SIZE_COLLAPSED});const f=this.methods.getTitleOffset.call(this,i,t);K.set(a,{y:Qt(f)})}})},initTimelines(){!H||!H.length||(this.data.gsap.timeline=K.timeline({scrollTrigger:{trigger:U,start:"top top",end:()=>`+=${(H.length-1)*this.data.config.SCROLL_DISTANCE}`,scrub:.5,pinSpacer:!1,pin:!0,invalidateOnRefresh:!0}}))},initMainAnimation(s){if(!this.data.gsap.timeline||!H)return;const{isTablet:t}=s.conditions;H.forEach((o,i)=>{if(i>=1){const r=o.querySelector(".u-h2"),a=H[i-1],f=a?a.querySelector(".u-h2"):null;if(this.data.gsap.timeline.to(o,{force3D:!0,yPercent:0,ease:this.data.config.EASE,onStart:()=>{var c;(c=H[i-1])==null||c.classList.remove(this.data.config.ACTIVE_CLASS),o.classList.add(this.data.config.ACTIVE_CLASS),this.methods.initMarquee.call(this,o)},onReverseComplete:()=>{var c;o.classList.remove(this.data.config.ACTIVE_CLASS),(c=H[i-1])==null||c.classList.add(this.data.config.ACTIVE_CLASS)}}),r&&this.data.gsap.timeline.to(r,{y:0,fontSize:this.data.config.FONT_SIZE_EXPANDED,ease:this.data.config.EASE,force3D:!0},"<"),f&&a){const c=this.methods.getTitleOffset.call(this,a,t);this.data.gsap.timeline.to(f,{y:()=>Qt(c),fontSize:this.data.config.FONT_SIZE_COLLAPSED,ease:this.data.config.EASE,force3D:!0},"<")}i===2&&vt&&this.data.gsap.timeline.to(vt,{y:()=>Qt(this.methods.getAccordionYOffset.call(this)),ease:this.data.config.EASE,force3D:!0},"<"),i<H.length-1&&this.data.gsap.timeline.to({},{duration:.15})}})},cleanupDesktop(){this.data.gsap.timeline&&(this.data.gsap.timeline.scrollTrigger&&this.data.gsap.timeline.scrollTrigger.kill(),this.data.gsap.timeline.kill(),this.data.gsap.timeline=null),this.data.gsap.marquees.forEach(s=>{s.timer&&s.timer.kill(),s.draggable&&s.draggable.kill(),s.tween&&s.tween.kill(),s.el&&(s.el.dataset.marqueeInit="")}),this.data.gsap.marquees=[],H&&K.set(H,{clearProps:"all"}),vt&&K.set(vt,{clearProps:"all"}),H&&H.forEach(s=>{const t=s.querySelector(".u-h2");t&&K.set(t,{clearProps:"all"})})},cleanupMobile({keepAccordion:s=!1}={}){this.data.accordionInstance&&!s&&this.data.accordionInstance.close(),this.data.gsap.marquees.forEac
8h(t=>{t.timer&&t.timer.kill(),t.draggable&&t.draggable.kill(),t.tween&&t.tween.kill(),t.el&&(t.el.dataset.marqueeInit="")}),this.data.gsap.marquees=[],H!=null&&H.length&&H.forEach(t=>{t.classList.remove(this.data.config.ACTIVE_CLASS);const o=t.querySelector(".js-accordion-content");o&&K.set(o,{clearProps:"all"})})},registerMedia(){const s=this.data.gsap.matchMedia,t={isMobile:"(max-width: 767px)",isTablet:"(min-width: 768px) and (max-width: 962px)",isDesktop:"(min-width: 963px)"};s.add(t,o=>{const{isMobile:i,isTablet:r,isDesktop:a}=o.conditions;if(r||a)return this.methods.initTimelines.call(this),this.methods.initialStateDesktop.call(this,o),this.methods.initMainAnimation.call(this,o),()=>{this.methods.cleanupDesktop.call(this)};if(i)return H&&H.forEach(f=>{f.classList.contains(this.data.config.ACTIVE_CLASS)?this.methods.initMarquee.call(this,f):this.methods.stopMarquee.call(this,f)}),this.data.accordionInstance||(this.data.accordionInstance=new Bi({container:".js-accordion",block:".js-accordion-item",headingClass:".js-accordion-title",listClass:".js-accordion-content",activeClass:this.data.config.ACTIVE_CLASS,speed:700,onOpen:({list:f})=>{this.methods.initMarquee.call(this,f.parentElement)},onClose:({list:f})=>{this.methods.stopMarquee.call(this,f.parentElement)}})),this.data.accordionInstance.init(),()=>{this.methods.cleanupMobile.call(this)}})},openMenu(){if(!window.matchMedia("(min-width: 963px)").matches)return;const t=U==null?void 0:U.querySelector(".c-section-title");if(t&&K.to(t,{opacity:0,duration:.4,ease:"power2.out"}),vt){const o=vt.getBoundingClientRect(),i=U.getBoundingClientRect(),r=U.querySelector(".u-container"),a=r?r.getBoundingClientRect():i,f=o.left-a.left-10;K.to(vt,{x:-f,duration:.6,ease:"power3.out"})}},closeMenu(){if(!window.matchMedia("(min-width: 963px)").matches)return;const t=U==null?void 0:U.querySelector(".c-section-title");t&&K.to(t,{opacity:1,duration:.4,ease:"power2.out"}),vt&&K.to(vt,{x:0,duration:.6,ease:"power3.out"})}},init(){this.methods.registerMedia.call(this)},onMenu(){return[{name:ai.firstLevelOpen,callback:()=>this.methods.openMenu.call(this)},{name:ai.firstLevelClose,callback:()=>this.methods.closeMenu.call(this)}]}});Xi(()=>{Ai.init()});
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.