var cssua=function(e,o,i){"use strict";var s=/\s*([\-\w ]+)[\s\/\:]([\d_]+\b(?:[\-\._\/]\w+)*)/,r=/([\w\-\.]+[\s\/][v]?[\d_]+\b(?:[\-\._\/]\w+)*)/g,n=/\b(?:(blackberry\w*|bb10)|(rim tablet os))(?:\/(\d+\.\d+(?:\.\w+)*))?/,a=/\bsilk-accelerated=true\b/,b=/\bfluidapp\b/,t=/(\bwindows\b|\bmacintosh\b|\blinux\b|\bunix\b)/,l=/(\bandroid\b|\bipad\b|\bipod\b|\bwindows phone\b|\bwpdesktop\b|\bxblwp7\b|\bzunewp7\b|\bwindows ce\b|\bblackberry\w*|\bbb10\b|\brim tablet os\b|\bmeego|\bwebos\b|\bpalm|\bsymbian|\bj2me\b|\bdocomo\b|\bpda\b|\bchtml\b|\bmidp\b|\bcldc\b|\w*?mobile\w*?|\w*?phone\w*?)/,p=/(\bxbox\b|\bplaystation\b|\bnintendo\s+\w+)/,c={parse:function(e,o){var i={};if(o&&(i.standalone=o),!(e=(""+e).toLowerCase()))return i;for(var c,d,m=e.split(/[()]/),w=0,_=m.length;w<_;w++)if(w%2){var u=m[w].split(";");for(c=0,d=u.length;c0;)i+=" ua-"+e+"-"+o.substring(0,s),s=o.indexOf("-",s+1);i+=" ua-"+e+"-"+o}return i}var i="";for(var s in e)s&&e.hasOwnProperty(s)&&(i+=o(s,e[s]));return i},encode:function(e){var o="";for(var i in e)i&&e.hasOwnProperty(i)&&(o&&(o+="&"),o+=encodeURIComponent(i)+"="+encodeURIComponent(e[i]));return o}};c.userAgent=c.ua=c.parse(o,i);var d=c.format(c.ua)+" js";return e.className?e.className=e.className.replace(/\bno-js\b/g,"")+d:e.className=d.substr(1),c}(document.documentElement,navigator.userAgent,navigator.standalone); /*! * modernizr v3.12.0 * Build https://modernizr.com/download?-applicationcache-audio-backgroundsize-borderimage-borderradius-boxshadow-canvas-canvastext-cssanimations-cssgradients-cssreflections-csstransforms-csstransforms3d-csstransitions-flexbox-fontface-generatedcontent-geolocation-hashchange-history-hsla-inlinesvg-input-inputtypes-localstorage-multiplebgs-opacity-postmessage-rgba-sessionstorage-smil-svgclippaths-textshadow-touchevents-video-webgl-websockets-websqldatabase-webworkers-addtest-atrule-domprefixes-hasevent-load-mq-prefixed-prefixedcss-prefixes-printshiv-setclasses-testallprops-testprop-teststyles-dontmin * * Copyright (c) * Faruk Ates * Paul Irish * Alex Sexton * Ryan Seddon * Patrick Kettner * Stu Cox * Richard Herrera * Veeck * MIT License */ !function(e,t,n,o){var r=[],a={_version:"3.12.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,t){var n=this;setTimeout((function(){t(n[e])}),0)},addTest:function(e,t,n){r.push({name:e,fn:t,options:n})},addAsyncTest:function(e){r.push({name:null,fn:e})}},i=function(){};i.prototype=a,i=new i;var s=[];function c(e,t){return typeof e===t}var l,d,u=n.documentElement,p="svg"===u.nodeName.toLowerCase();function f(e){var t=u.className,n=i._config.classPrefix||"";if(p&&(t=t.baseVal),i._config.enableJSClass){var o=new RegExp("(^|\\s)"+n+"no-js(\\s|$)");t=t.replace(o,"$1"+n+"js$2")}i._config.enableClasses&&(e.length>0&&(t+=" "+n+e.join(" "+n)),p?u.className.baseVal=t:u.className=t)}function m(e,t){if("object"==typeof e)for(var n in e)l(e,n)&&m(n,e[n]);else{var o=(e=e.toLowerCase()).split("."),r=i[o[0]];if(2===o.length&&(r=r[o[1]]),void 0!==r)return i;t="function"==typeof t?t():t,1===o.length?i[o[0]]=t:(!i[o[0]]||i[o[0]]instanceof Boolean||(i[o[0]]=new Boolean(i[o[0]])),i[o[0]][o[1]]=t),f([(t&&!1!==t?"":"no-")+o.join("-")]),i._trigger(e,t)}return i}l=c(d={}.hasOwnProperty,"undefined")||c(d.call,"undefined")?function(e,t){return t in e&&c(e.constructor.prototype[t],"undefined")}:function(e,t){return d.call(e,t)},a._l={},a.on=function(e,t){this._l[e]||(this._l[e]=[]),this._l[e].push(t),i.hasOwnProperty(e)&&setTimeout((function(){i._trigger(e,i[e])}),0)},a._trigger=function(e,t){if(this._l[e]){var n=this._l[e];setTimeout((function(){var e;for(e=0;e",o.insertBefore(n.lastChild,o.firstChild)}function d(){var e=m.elements;return"string"==typeof e?e.split(" "):e}function u(e){var t=c[e._html5shiv];return t||(t={},s++,e._html5shiv=s,c[s]=t),t}function p(e,n,r){return n||(n=t),o?n.createElement(e):(r||(r=u(n)),!(s=r.cache[e]?r.cache[e].cloneNode():i.test(e)?(r.cache[e]=r.createElem(e)).cloneNode():r.createElem(e)).canHaveChildren||a.test(e)||s.tagUrn?s:r.frag.appendChild(s));var s}function f(e){e||(e=t);var r=u(e);return!m.shivCSS||n||r.hasCSS||(r.hasCSS=!!l(e,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),o||function(e,t){t.cache||(t.cache={},t.createElem=e.createElement,t.createFrag=e.createDocumentFragment,t.frag=t.createFrag()),e.createElement=function(n){return m.shivMethods?p(n,e,t):t.createElem(n)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+d().join().replace(/[\w\-:]+/g,(function(e){return t.createElem(e),t.frag.createElement(e),'c("'+e+'")'}))+");return n}")(m,t.frag)}(e,r),e}!function(){try{var e=t.createElement("a");e.innerHTML="",n="hidden"in e,o=1==e.childNodes.length||function(){t.createElement("a");var e=t.createDocumentFragment();return void 0===e.cloneNode||void 0===e.createDocumentFragment||void 0===e.createElement}()}catch(e){n=!0,o=!0}}();var m={elements:r.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:"3.7.3",shivCSS:!1!==r.shivCSS,supportsUnknownElements:o,shivMethods:!1!==r.shivMethods,type:"default",shivDocument:f,createElement:p,createDocumentFragment:function(e,n){if(e||(e=t),o)return e.createDocumentFragment();for(var r=(n=n||u(e)).frag.cloneNode(),a=0,i=d(),s=i.length;a+~])("+d().join("|")+")(?=[[\\s,>+~#.:]|$)","gi");o--;)(t=n[o]=n[o].split("}"))[t.length-1]=t[t.length-1].replace(r,"$1html5shiv\\:$2"),n[o]=t.join("}");return n.join("{")}(c.reverse().join("")),n=function(e){for(var t,n=e.getElementsByTagName("*"),o=n.length,r=RegExp("^(?:"+d().join("|")+")$","i"),a=[];o--;)t=n[o],r.test(t.nodeName)&&a.push(t.applyElement(y(t)));return a}(e),t=l(e,c)})),a.attachEvent("onafterprint",(function(){!function(e){for(var t=e.length;t--;)e[t].removeNode()}(n),clearTimeout(o._removeSheetTimer),o._removeSheetTimer=setTimeout(i,500)})),e.printShived=!0,e}m.type+=" print",m.shivPrint=T,T(t),"object"==typeof module&&module.exports&&(module.exports=m)}(void 0!==t?t:this,n);var x=function(){},w=function(){};function S(e,t,o,r){var a,i,s,c,l="modernizr",d=y("div"),f=function(){var e=n.body;return e||((e=y(p?"svg":"body")).fake=!0),e}();if(parseInt(o,10))for(;o--;)(s=y("div")).id=r?r[o]:l+(o+1),d.appendChild(s);return(a=y("style")).type="text/css",a.id="s"+l,(f.fake?f:d).appendChild(a),f.appendChild(d),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(n.createTextNode(e)),d.id=l,f.fake&&(f.style.background="",f.style.overflow="hidden",c=u.style.overflow,u.style.overflow="hidden",u.appendChild(f)),i=t(d,e),f.fake&&f.parentNode?(f.parentNode.removeChild(f),u.style.overflow=c,u.offsetHeight):d.parentNode.removeChild(d),!!i}function C(e,n,o){var r;if("getComputedStyle"in t){r=getComputedStyle.call(t,e,n);var a=t.console;if(null!==r)o&&(r=r.getPropertyValue(o));else if(a)a[a.error?"error":"log"].call(a,"getComputedStyle returning null, its possible modernizr test results are inaccurate")}else r=!n&&e.currentStyle&&e.currentStyle[o];return r}t.console&&(x=function(){var e=console.error?"error":"log";t.console[e].apply(t.console,Array.prototype.slice.call(arguments))},w=function(){var e=console.warn?"warn":"log";t.console[e].apply(t.console,Array.prototype.slice.call(arguments))}),a.load=function(){"yepnope"in t?(w("yepnope.js (aka Modernizr.load) is no longer included as part of Modernizr. yepnope appears to be available on the page, so we’ll use it to handle this call to Modernizr.load, but please update your code to use yepnope directly.\n See http://github.com/Modernizr/Modernizr/issues/1182 for more information."),t.yepnope.apply(t,[].slice.call(arguments,0))):x("yepnope.js (aka Modernizr.load) is no longer included as part of Modernizr. Get it from http://yepnopejs.com. See http://github.com/Modernizr/Modernizr/issues/1182 for more information.")};var E,P=(E=t.matchMedia||t.msMatchMedia)?function(e){var t=E(e);return t&&t.matches||!1}:function(e){var t=!1;return S("@media "+e+" { #modernizr { position: absolute; } }",(function(e){t="absolute"===C(e,null,"position")})),t};function k(e,t){return!!~(""+e).indexOf(t)}a.mq=P;var _={elem:y("modernizr")};i._q.push((function(){delete _.elem}));var z={style:_.elem.style};function N(e){return e.replace(/([A-Z])/g,(function(e,t){return"-"+t.toLowerCase()})).replace(/^ms-/,"-ms-")}function M(e){return e.replace(/([a-z])-([a-z])/g,(function(e,t,n){return t+n.toUpperCase()})).replace(/^-/,"")}function $(e,n,o,r){if(r=!c(r,"undefined")&&r,!c(o,"undefined")){var a=function(e,n){var o=e.length;if("CSS"in t&&"supports"in t.CSS){for(;o--;)if(t.CSS.supports(N(e[o]),n))return!0;return!1}if("CSSSupportsRule"in t){for(var r=[];o--;)r.push("("+N(e[o])+":"+n+")");return S("@supports ("+(r=r.join(" or "))+") { #modernizr { position: absolute; } }",(function(e){return"absolute"===C(e,null,"position")}))}}(e,o);if(!c(a,"undefined"))return a}for(var i,s,l,d,u,p=["modernizr","tspan","samp"];!z.style&&p.length;)i=!0,z.modElem=y(p.shift()),z.style=z.modElem.style;function f(){i&&(delete z.style,delete z.modElem)}for(l=e.length,s=0;s7)})), /*! { "name": "Geolocation API", "property": "geolocation", "caniuse": "geolocation", "tags": ["media"], "notes": [{ "name": "MDN Docs", "href": "https://developer.mozilla.org/en-US/docs/WebAPI/Using_geolocation" }], "polyfills": [ "joshuabell-polyfill", "webshims", "geo-location-javascript", "geolocation-api-polyfill" ] } !*/ i.addTest("geolocation","geolocation"in navigator), /*! { "name": "History API", "property": "history", "caniuse": "history", "tags": ["history"], "authors": ["Hay Kranen", "Alexander Farkas"], "notes": [{ "name": "W3C Spec", "href": "https://www.w3.org/TR/html51/browsers.html#the-history-interface" }, { "name": "MDN Docs", "href": "https://developer.mozilla.org/en-US/docs/Web/API/window.history" }], "polyfills": ["historyjs", "html5historyapi"] } !*/ i.addTest("history",(function(){var e=navigator.userAgent;return!!e&&((-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone")||"file:"===location.protocol)&&(t.history&&"pushState"in t.history))}));var F=y("input"),W="autocomplete autofocus list placeholder max min multiple pattern required step".split(" "),q={}; /*! { "name": "Input attributes", "property": "input", "tags": ["forms"], "authors": ["Mike Taylor"], "notes": [{ "name": "WHATWG Spec", "href": "https://html.spec.whatwg.org/multipage/input.html#input-type-attr-summary" }], "knownBugs": ["Some blackberry devices report false positive for input.multiple"] } !*/i.input=function(e){for(var n=0,o=e.length;n=9,U||H)?i.addTest("fontface",!1):D('@font-face {font-family:"font";src:url("https://")}',(function(e,t){var o=n.getElementById("smodernizr"),r=o.sheet||o.styleSheet,a=r?r.cssRules&&r.cssRules[0]?r.cssRules[0].cssText:r.cssText||"":"",s=/src/i.test(a)&&0===a.indexOf(t.split(" ")[0]);i.addTest("fontface",s)})), /*! { "name": "CSS Generated Content", "property": "generatedcontent", "tags": ["css"], "warnings": ["Android won't return correct height for anything below 7px #738"], "notes": [{ "name": "W3C Spec", "href": "https://www.w3.org/TR/css3-selectors/#gen-content" }, { "name": "MDN Docs on :before", "href": "https://developer.mozilla.org/en-US/docs/Web/CSS/::before" }, { "name": "MDN Docs on :after", "href": "https://developer.mozilla.org/en-US/docs/Web/CSS/::after" }] } !*/ D('#modernizr{font:0/0 a}#modernizr:after{content:":)";visibility:hidden;font:7px/1 a}',(function(e){i.addTest("generatedcontent",e.offsetHeight>=6)})), /*! { "name": "CSS Gradients", "caniuse": "css-gradients", "property": "cssgradients", "tags": ["css"], "knownBugs": ["False-positives on webOS (https://github.com/Modernizr/Modernizr/issues/202)"], "notes": [{ "name": "Webkit Gradient Syntax", "href": "https://webkit.org/blog/175/introducing-css-gradients/" }, { "name": "Linear Gradient Syntax", "href": "https://developer.mozilla.org/en-US/docs/Web/CSS/linear-gradient" }, { "name": "W3C Spec", "href": "https://drafts.csswg.org/css-images-3/#gradients" }] } !*/ i.addTest("cssgradients",(function(){for(var e,t="background-image:",n="",o=0,r=R.length-1;o-1})), /*! { "name": "CSS HSLA Colors", "caniuse": "css3-colors", "property": "hsla", "tags": ["css"] } !*/ i.addTest("hsla",(function(){var e=y("a").style;return e.cssText="background-color:hsla(120,40%,100%,.5)",k(e.backgroundColor,"rgba")||k(e.backgroundColor,"hsla")})), /*! { "name": "CSS Multiple Backgrounds", "caniuse": "multibackgrounds", "property": "multiplebgs", "tags": ["css"] } !*/ i.addTest("multiplebgs",(function(){var e=y("a").style;return e.cssText="background:url(https://),url(https://),red url(https://)",/(url\s*\(.*?){3}/.test(e.background)})), /*! { "name": "CSS Opacity", "caniuse": "css-opacity", "property": "opacity", "tags": ["css"] } !*/ i.addTest("opacity",(function(){var e=y("a").style;return e.cssText=R.join("opacity:.55;"),/^0.55$/.test(e.opacity)})), /*! { "name": "CSS Reflections", "caniuse": "css-reflections", "property": "cssreflections", "tags": ["css"] } !*/ i.addTest("cssreflections",L("boxReflect","above",!0)), /*! { "name": "CSS rgba", "caniuse": "css3-colors", "property": "rgba", "tags": ["css"], "notes": [{ "name": "CSSTricks Tutorial", "href": "https://css-tricks.com/rgba-browser-support/" }] } !*/ i.addTest("rgba",(function(){var e=y("a").style;return e.cssText="background-color:rgba(150,255,150,.5)",(""+e.backgroundColor).indexOf("rgba")>-1})), /*! { "name": "CSS textshadow", "property": "textshadow", "caniuse": "css-textshadow", "tags": ["css"], "knownBugs": ["FF3.0 will false positive on this test"] } !*/ i.addTest("textshadow",B("textShadow","1px 1px")), /*! { "name": "CSS Transforms", "property": "csstransforms", "caniuse": "transforms2d", "tags": ["css"] } !*/ i.addTest("csstransforms",(function(){return-1===navigator.userAgent.indexOf("Android 2.")&&L("transform","scale(1)",!0)})); /*! { "name": "CSS Supports", "property": "supports", "caniuse": "css-featurequeries", "tags": ["css"], "builderAliases": ["css_supports"], "notes": [{ "name": "W3C Spec (The @supports rule)", "href": "https://dev.w3.org/csswg/css3-conditional/#at-supports" }, { "name": "Related Github Issue", "href": "https://github.com/Modernizr/Modernizr/issues/648" }, { "name": "W3C Spec (The CSSSupportsRule interface)", "href": "https://dev.w3.org/csswg/css3-conditional/#the-csssupportsrule-interface" }] } !*/ var J="CSS"in t&&"supports"in t.CSS,Z="supportsCSS"in t;i.addTest("supports",J||Z), /*! { "name": "CSS Transforms 3D", "property": "csstransforms3d", "caniuse": "transforms3d", "tags": ["css"], "warnings": [ "Chrome may occasionally fail this test on some systems; more info: https://bugs.chromium.org/p/chromium/issues/detail?id=129004" ] } !*/ i.addTest("csstransforms3d",(function(){return!!L("perspective","1px",!0)})), /*! { "name": "CSS Transitions", "property": "csstransitions", "caniuse": "css-transitions", "tags": ["css"] } !*/ i.addTest("csstransitions",L("transition","all",!0)), /*! { "name": "Local Storage", "property": "localstorage", "caniuse": "namevalue-storage", "tags": ["storage"], "polyfills": [ "joshuabell-polyfill", "cupcake", "storagepolyfill", "amplifyjs", "yui-cacheoffline" ] } !*/ i.addTest("localstorage",(function(){var e="modernizr";try{return localStorage.setItem(e,e),localStorage.removeItem(e),!0}catch(e){return!1}})), /*! { "name": "Session Storage", "property": "sessionstorage", "tags": ["storage"], "polyfills": ["joshuabell-polyfill", "cupcake", "sessionstorage"] } !*/ i.addTest("sessionstorage",(function(){var e="modernizr";try{return sessionStorage.setItem(e,e),sessionStorage.removeItem(e),!0}catch(e){return!1}})), /*! { "name": "Web SQL Database", "property": "websqldatabase", "caniuse": "sql-storage", "tags": ["storage"] } !*/ i.addTest("websqldatabase","openDatabase"in t);var K={}.toString; /*! { "name": "SVG clip paths", "property": "svgclippaths", "tags": ["svg"], "notes": [{ "name": "Demo", "href": "http://srufaculty.sru.edu/david.dailey/svg/newstuff/clipPath4.svg" }] } !*/i.addTest("svgclippaths",(function(){return!!n.createElementNS&&/SVGClipPath/.test(K.call(n.createElementNS("http://www.w3.org/2000/svg","clipPath")))})), /*! { "name": "Inline SVG", "property": "inlinesvg", "caniuse": "svg-html5", "tags": ["svg"], "notes": [{ "name": "Test page", "href": "https://paulirish.com/demo/inline-svg" }, { "name": "Test page and results", "href": "https://codepen.io/eltonmesquita/full/GgXbvo/" }], "polyfills": ["inline-svg-polyfill"], "knownBugs": ["False negative on some Chromia browsers."] } !*/ i.addTest("inlinesvg",(function(){var e=y("div");return e.innerHTML="","http://www.w3.org/2000/svg"===("undefined"!=typeof SVGRect&&e.firstChild&&e.firstChild.namespaceURI)})), /*! { "name": "SVG SMIL animation", "property": "smil", "caniuse": "svg-smil", "tags": ["svg"], "notes": [{ "name": "W3C Spec", "href": "https://www.w3.org/AudioVideo/" }] } !*/ i.addTest("smil",(function(){return!!n.createElementNS&&/SVGAnimate/.test(K.call(n.createElementNS("http://www.w3.org/2000/svg","animate")))})), /*! { "name": "Web Workers", "property": "webworkers", "caniuse": "webworkers", "tags": ["performance", "workers"], "notes": [{ "name": "W3C Spec", "href": "https://www.w3.org/TR/workers/" }, { "name": "HTML5 Rocks Tutorial", "href": "https://www.html5rocks.com/en/tutorials/workers/basics/" }, { "name": "MDN Docs", "href": "https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Using_web_workers" }], "polyfills": ["fakeworker", "html5shims"] } !*/ i.addTest("webworkers","Worker"in t),function(){var e,t,n,o,a,l;for(var d in r)if(r.hasOwnProperty(d)){if(e=[],(t=r[d]).name&&(e.push(t.name.toLowerCase()),t.options&&t.options.aliases&&t.options.aliases.length))for(n=0;ns;)a=a._prev;return a?(e._next=a._next,a._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[i]=e,e._prev=a,e.parent=e._dp=t,e},Mt=function(t,e,r,i){void 0===r&&(r="_first"),void 0===i&&(i="_last");var n=e._prev,s=e._next;n?n._next=s:t[r]===e&&(t[r]=s),s?s._prev=n:t[i]===e&&(t[i]=n),e._next=e._prev=e.parent=null},kt=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},Ct=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var r=t;r;)r._dirty=1,r=r.parent;return t},At=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},Dt=function(t,e,r,i){return t._startAt&&(n?t._startAt.revert($):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,i))},Pt=function(t){return t._repeat?Et(t._tTime,t=t.duration()+t._rDelay)*t:0},Et=function(t,e){var r=Math.floor(t=ct(t/e));return t&&r===t?r-1:r},St=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},zt=function(t){return t._end=ct(t._start+(t._tDur/Math.abs(t._ts||t._rts||1e-8)||0))},Rt=function(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=ct(r._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),zt(t),r._dirty||Ct(r,t)),t},Ft=function(t,e){var r;if((e._time||!e._dur&&e._initted||e._start1e-8)&&e.render(r,!0)),Ct(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur=0&&r.totalTime(r._tTime),r=r._dp;t._zTime=-1e-8}},Lt=function(t,e,r,i){return e.parent&&kt(e),e._start=ct((D(r)?r:r||t!==a?qt(t,r,e):t._time)+e._delay),e._end=ct(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),Ot(t,e,"_first","_last",t._sort?"_start":0),Yt(e)||(t._recent=e),i||Ft(t,e),t._ts<0&&Rt(t,t._tTime),t},Bt=function(t,e){return j.ScrollTrigger?j.ScrollTrigger.create(e,t):void 0},It=function(t,e,r,i,s){return Ne(t,e,s),t._initted?!r&&t._pt&&!n&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&l!==Te.frame?(tt.push(t),t._lazy=[s,i],1):void 0:1},Yt=function(t){var e=t.data;return"isFromStart"===e||"isStart"===e},Xt=function(t,e,r,i){var n=t._repeat,s=ct(e)||0,a=t._tTime/t._tDur;return a&&!i&&(t._time*=s/t._dur),t._dur=s,t._tDur=n?n<0?1e10:ct(s*(n+1)+t._rDelay*n):s,a>0&&!i&&Rt(t,t._tTime=t._tDur*a),t.parent&&zt(t),r||Ct(t.parent,t),t},Nt=function(t){return t instanceof Fe?Ct(t):Xt(t,t._dur)},Ut={_start:0,endTime:H,totalDuration:H},qt=function t(e,r,i){var n,s,a,o=e.labels,u=e._recent||Ut,h=e.duration()>=T?u.endTime(!1):e._dur;return C(r)&&(isNaN(r)||r in o)?(s=r.charAt(0),a="%"===r.substr(-1),n=r.indexOf("="),"<"===s||">"===s?(n>=0&&(r=r.replace(/=/,"")),("<"===s?u._start:u.endTime(u._repeat>=0))+(parseFloat(r.substr(1))||0)*(a?(n<0?u:i).totalDuration()/100:1)):n<0?(r in o||(o[r]=h),o[r]):(s=parseFloat(r.charAt(n-1)+r.substr(n+1)),a&&i&&(s=s/100*(L(i)?i[0]:i).totalDuration()),n>1?t(e,r.substr(0,n-1),i)+s:h+s)):null==r?h:+r},jt=function(t,e,r){var i,n,s=D(e[1]),a=(s?2:1)+(t<2?0:1),o=e[a];if(s&&(o.duration=e[1]),o.parent=r,t){for(i=o,n=r;n&&!("immediateRender"in i);)i=n.vars.defaults||{},n=S(n.vars.inherit)&&n.parent;o.immediateRender=S(i.immediateRender),t<2?o.runBackwards=1:o.startAt=e[a-1]}return new Qe(e[0],o,e[a+1])},Vt=function(t,e){return t||0===t?e(t):e},Qt=function(t,e,r){return re?e:r},Wt=function(t,e){return C(t)&&(e=q.exec(t))?e[1]:""},Gt=[].slice,Ht=function(t,e){return t&&E(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&E(t[0]))&&!t.nodeType&&t!==o},Zt=function(t,e,r){return void 0===r&&(r=[]),t.forEach((function(t){var i;return C(t)&&!e||Ht(t,1)?(i=r).push.apply(i,$t(t)):r.push(t)}))||r},$t=function(t,e,r){return s&&!e&&s.selector?s.selector(t):!C(t)||r||!u&&xe()?L(t)?Zt(t,r):Ht(t)?Gt.call(t,0):t?[t]:[]:Gt.call((e||h).querySelectorAll(t),0)},Jt=function(t){return t=$t(t)[0]||W()||{},function(e){var r=t.current||t.nativeElement||t;return $t(e,r.querySelectorAll?r:r===t?W()||h.createElement("div"):t)}},Kt=function(t){return t.sort((function(){return.5-Math.random()}))},te=function(t){if(A(t))return t;var e=E(t)?t:{each:t},r=Ae(e.ease),i=e.from||0,n=parseFloat(e.base)||0,s={},a=i>0&&i<1,o=isNaN(i)||a,u=e.axis,h=i,f=i;return C(i)?h=f={center:.5,edges:.5,end:1}[i]||0:!a&&o&&(h=i[0],f=i[1]),function(t,a,l){var c,p,_,d,m,g,v,y,x,w=(l||e).length,b=s[w];if(!b){if(!(x="auto"===e.grid?0:(e.grid||[1,T])[1])){for(v=-T;v<(v=l[x++].getBoundingClientRect().left)&&xv&&(v=m),mw?w-1:u?"y"===u?w/x:x:Math.max(x,w/x))||0)*("edges"===i?-1:1),b.b=w<0?n-w:n,b.u=Wt(e.amount||e.each)||0,r=r&&w<0?ke(r):r}return w=(b[t]-b.min)/b.max||0,ct(b.b+(r?r(w):w)*b.v)+b.u}},ee=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(r){var i=ct(Math.round(parseFloat(r)/t)*t*e);return(i-i%1)/e+(D(r)?0:Wt(r))}},re=function(t,e){var r,i,n=L(t);return!n&&E(t)&&(r=n=t.radius||T,t.values?(t=$t(t.values),(i=!D(t[0]))&&(r*=r)):t=ee(t.increment)),Vt(e,n?A(t)?function(e){return i=t(e),Math.abs(i-e)<=r?i:e}:function(e){for(var n,s,a=parseFloat(i?e.x:e),o=parseFloat(i?e.y:0),u=T,h=0,f=t.length;f--;)(n=i?(n=t[f].x-a)*n+(s=t[f].y-o)*s:Math.abs(t[f]-a))(n=Math.abs(n))&&(s=i,o=n);return s},ue=function(t,e,r){var i,n,a,o=t.vars,u=o[e],h=s,f=t._ctx;if(u)return i=o[e+"Params"],n=o.callbackScope||t,r&&tt.length&&dt(),f&&(s=f),a=i?u.apply(n,i):u.call(n),s=h,a},he=function(t){return kt(t),t.scrollTrigger&&t.scrollTrigger.kill(!!n),t.progress()<1&&ue(t,"onInterrupt"),t},fe=[],le=function(t){if(t)if(t=!t.name&&t.default||t,z()||t.headless){var e=t.name,r=A(t),i=e&&!r&&t.init?function(){this._props=[]}:t,n={init:H,render:er,add:Ye,kill:ir,modifier:rr,rawVars:0},s={targetTest:0,get:0,getSetter:$e,aliases:{},register:0};if(xe(),t!==i){if(rt[e])return;yt(i,yt(wt(t,n),s)),Tt(i.prototype,Tt(n,wt(t,s))),rt[i.prop=e]=i,t.targetTest&&(st.push(i),K[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}G(e,i),t.register&&t.register(yr,i,ar)}else fe.push(t)},ce={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},pe=function(t,e,r){return 255*(6*(t+=t<0?1:t>1?-1:0)<1?e+(r-e)*t*6:t<.5?r:3*t<2?e+(r-e)*(2/3-t)*6:e)+.5|0},_e=function(t,e,r){var i,n,s,a,o,u,h,f,l,c,p=t?D(t)?[t>>16,t>>8&255,255&t]:0:ce.black;if(!p){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),ce[t])p=ce[t];else if("#"===t.charAt(0)){if(t.length<6&&(i=t.charAt(1),n=t.charAt(2),s=t.charAt(3),t="#"+i+i+n+n+s+s+(5===t.length?t.charAt(4)+t.charAt(4):"")),9===t.length)return[(p=parseInt(t.substr(1,6),16))>>16,p>>8&255,255&p,parseInt(t.substr(7),16)/255];p=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t]}else if("hsl"===t.substr(0,3))if(p=c=t.match(B),e){if(~t.indexOf("="))return p=t.match(I),r&&p.length<4&&(p[3]=1),p}else a=+p[0]%360/360,o=+p[1]/100,i=2*(u=+p[2]/100)-(n=u<=.5?u*(o+1):u+o-u*o),p.length>3&&(p[3]*=1),p[0]=pe(a+1/3,i,n),p[1]=pe(a,i,n),p[2]=pe(a-1/3,i,n);else p=t.match(B)||ce.transparent;p=p.map(Number)}return e&&!c&&(i=p[0]/255,n=p[1]/255,s=p[2]/255,u=((h=Math.max(i,n,s))+(f=Math.min(i,n,s)))/2,h===f?a=o=0:(l=h-f,o=u>.5?l/(2-h-f):l/(h+f),a=h===i?(n-s)/l+(nl||y<0)&&(_+=y-c),((u=(f=(d+=y)-_)-g)>0||T)&&(p=++i.frame,n=f-1e3*i.time,i.time=f/=1e3,g+=u+(u>=m?4:m-u),h=1),T||(t=e(r)),h)for(s=0;s=e&&s--},_listeners:v}}(),xe=function(){return!p&&Te.wake()},we={},be=/^[\d.\-M][\d.\-,\s]/,Oe=/["']/g,Me=function(t){for(var e,r,i,n={},s=t.substr(1,t.length-3).split(":"),a=s[0],o=1,u=s.length;o1&&a.config?a.config.apply(null,~t.indexOf("{")?[Me(s[1])]:(e=t,r=e.indexOf("(")+1,i=e.indexOf(")"),n=e.indexOf("(",r),e.substring(r,~n&&n=1?r:1,s=(i||(e?.3:.45))/(r<1?r:1),a=s/x*(Math.asin(1/n)||0),o=function(t){return 1===t?1:n*Math.pow(2,-10*t)*k((t-a)*s)+1},u="out"===e?o:"in"===e?function(t){return 1-o(1-t)}:Pe(o);return s=x/s,u.config=function(r,i){return t(e,r,i)},u},Se=function t(e,r){void 0===r&&(r=1.70158);var i=function(t){return t?--t*t*((r+1)*t+r)+1:0},n="out"===e?i:"in"===e?function(t){return 1-i(1-t)}:Pe(i);return n.config=function(r){return t(e,r)},n};ft("Linear,Quad,Cubic,Quart,Quint,Strong",(function(t,e){var r=e<5?e+1:e;De(t+",Power"+(r-1),e?function(t){return Math.pow(t,r)}:function(t){return t},(function(t){return 1-Math.pow(1-t,r)}),(function(t){return t<.5?Math.pow(2*t,r)/2:1-Math.pow(2*(1-t),r)/2}))})),we.Linear.easeNone=we.none=we.Linear.easeIn,De("Elastic",Ee("in"),Ee("out"),Ee()),_=7.5625,m=1/(d=2.75),De("Bounce",(function(t){return 1-g(1-t)}),g=function(t){return t0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,Xt(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,e){if(xe(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(Rt(this,t),!r._dp||r.parent||Ft(r,this);r&&r.parent;)r.parent._time!==r._start+(r._ts>=0?r._tTime/r._ts:(r.totalDuration()-r._tTime)/-r._ts)&&r.totalTime(r._tTime,!0),r=r.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&t0||!this._tDur&&!t)&&Lt(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&1e-8===Math.abs(this._zTime)||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),mt(this,t,e)),this},e.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+Pt(this))%(this._dur+this._rDelay)||(t?this._dur:0),e):this._time},e.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+Pt(this),e):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(t,e){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*r,e):this._repeat?Et(this._tTime,r)+1:1},e.timeScale=function(t,e){if(!arguments.length)return-1e-8===this._rts?0:this._rts;if(this._rts===t)return this;var r=this.parent&&this._ts?St(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||-1e-8===t?0:this._rts,this.totalTime(Qt(-Math.abs(this._delay),this._tDur,r),!1!==e),zt(this),At(this)},e.paused=function(t){return arguments.length?(this._ps!==t&&(this._ps=t,t?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(xe(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&1e-8!==Math.abs(this._zTime)&&(this._tTime-=1e-8)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=t;var e=this.parent||this._dp;return e&&(e._sort||!this.parent)&&Lt(e,this,t-this._delay),this}return this._start},e.endTime=function(t){return this._start+(S(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?St(e.rawTime(t),this):this._tTime:this._tTime},e.revert=function(t){void 0===t&&(t=J);var e=n;return n=t,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),"nested"!==this.data&&!1!==t.kill&&this.kill(),n=e,this},e.globalTime=function(t){for(var e=this,r=arguments.length?t:e.rawTime();e;)r=e._start+r/(Math.abs(e._ts)||1),e=e._dp;return!this.parent&&this._sat?this._sat.globalTime(t):r},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,Nt(this)):-2===this._repeat?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var e=this._time;return this._rDelay=t,Nt(this),e?this.time(e):this}return this._rDelay},e.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},e.seek=function(t,e){return this.totalTime(qt(this,t),S(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,S(e)),this._dur||(this._zTime=-1e-8),this},e.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},e.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},e.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-1e-8:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},e.isActive=function(){var t,e=this.parent||this._dp,r=this._start;return!(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=r&&t1?(e?(i[t]=e,r&&(i[t+"Params"]=r),"onUpdate"===t&&(this._onUpdate=e)):delete i[t],this):i[t]},e.then=function(t){var e=this;return new Promise((function(r){var i=A(t)?t:vt,n=function(){var t=e.then;e.then=null,A(i)&&(i=i(e))&&(i.then||i===e)&&(e.then=t),r(i),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?n():e._prom=n}))},e.kill=function(){he(this)},t}();yt(Re.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-1e-8,_prom:0,_ps:!1,_rts:1});var Fe=function(t){function i(e,i){var n;return void 0===e&&(e={}),(n=t.call(this,e)||this).labels={},n.smoothChildTiming=!!e.smoothChildTiming,n.autoRemoveChildren=!!e.autoRemoveChildren,n._sort=S(e.sortChildren),a&&Lt(e.parent||a,r(n),i),e.reversed&&n.reverse(),e.paused&&n.paused(!0),e.scrollTrigger&&Bt(r(n),e.scrollTrigger),n}e(i,t);var s=i.prototype;return s.to=function(t,e,r){return jt(0,arguments,this),this},s.from=function(t,e,r){return jt(1,arguments,this),this},s.fromTo=function(t,e,r,i){return jt(2,arguments,this),this},s.set=function(t,e,r){return e.duration=0,e.parent=this,bt(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new Qe(t,e,qt(this,r),1),this},s.call=function(t,e,r){return Lt(this,Qe.delayedCall(0,t,e),r)},s.staggerTo=function(t,e,r,i,n,s,a){return r.duration=e,r.stagger=r.stagger||i,r.onComplete=s,r.onCompleteParams=a,r.parent=this,new Qe(t,r,qt(this,n)),this},s.staggerFrom=function(t,e,r,i,n,s,a){return r.runBackwards=1,bt(r).immediateRender=S(r.immediateRender),this.staggerTo(t,e,r,i,n,s,a)},s.staggerFromTo=function(t,e,r,i,n,s,a,o){return i.startAt=r,bt(i).immediateRender=S(i.immediateRender),this.staggerTo(t,e,i,n,s,a,o)},s.render=function(t,e,r){var i,s,o,u,h,f,l,c,p,_,d,m,g=this._time,v=this._dirty?this.totalDuration():this._tDur,y=this._dur,T=t<=0?0:ct(t),x=this._zTime<0!=t<0&&(this._initted||!y);if(this!==a&&T>v&&t>=0&&(T=v),T!==this._tTime||r||x){if(g!==this._time&&y&&(T+=this._time-g,t+=this._time-g),i=T,p=this._start,f=!(c=this._ts),x&&(y||(g=this._zTime),(t||!e)&&(this._zTime=t)),this._repeat){if(d=this._yoyo,h=y+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*h+t,e,r);if(i=ct(T%h),T===v?(u=this._repeat,i=y):((u=~~(_=ct(T/h)))&&u===_&&(i=y,u--),i>y&&(i=y)),_=Et(this._tTime,h),!g&&this._tTime&&_!==u&&this._tTime-_*h-this._dur<=0&&(_=u),d&&1&u&&(i=y-i,m=1),u!==_&&!this._lock){var w=d&&1&_,b=w===(d&&1&u);if(u<_&&(w=!w),g=w?0:T%y?y:T,this._lock=1,this.render(g||(m?0:ct(u*h)),e,!y)._lock=0,this._tTime=T,!e&&this.parent&&ue(this,"onRepeat"),this.vars.repeatRefresh&&!m&&(this.invalidate()._lock=1),g&&g!==this._time||f!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(y=this._dur,v=this._tDur,b&&(this._lock=2,g=w?y:-1e-4,this.render(g,!0),this.vars.repeatRefresh&&!m&&this.invalidate()),this._lock=0,!this._ts&&!f)return this;Ce(this,m)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(l=function(t,e,r){var i;if(r>e)for(i=t._first;i&&i._start<=r;){if("isPause"===i.data&&i._start>e)return i;i=i._next}else for(i=t._last;i&&i._start>=r;){if("isPause"===i.data&&i._start=g&&t>=0)for(s=this._first;s;){if(o=s._next,(s._act||i>=s._start)&&s._ts&&l!==s){if(s.parent!==this)return this.render(t,e,r);if(s.render(s._ts>0?(i-s._start)*s._ts:(s._dirty?s.totalDuration():s._tDur)+(i-s._start)*s._ts,e,r),i!==this._time||!this._ts&&!f){l=0,o&&(T+=this._zTime=-1e-8);break}}s=o}else{s=this._last;for(var O=t<0?t:i;s;){if(o=s._prev,(s._act||O<=s._end)&&s._ts&&l!==s){if(s.parent!==this)return this.render(t,e,r);if(s.render(s._ts>0?(O-s._start)*s._ts:(s._dirty?s.totalDuration():s._tDur)+(O-s._start)*s._ts,e,r||n&&(s._initted||s._startAt)),i!==this._time||!this._ts&&!f){l=0,o&&(T+=this._zTime=O?-1e-8:1e-8);break}}s=o}}if(l&&!e&&(this.pause(),l.render(i>=g?0:-1e-8)._zTime=i>=g?1:-1,this._ts))return this._start=p,zt(this),this.render(t,e,r);this._onUpdate&&!e&&ue(this,"onUpdate",!0),(T===v&&this._tTime>=this.totalDuration()||!T&&g)&&(p!==this._start&&Math.abs(c)===Math.abs(this._ts)||this._lock||((t||!y)&&(T===v&&this._ts>0||!T&&this._ts<0)&&kt(this,1),e||t<0&&!g||!T&&!g&&v||(ue(this,T===v&&t>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(T0)&&this._prom())))}return this},s.add=function(t,e){var r=this;if(D(e)||(e=qt(this,e,t)),!(t instanceof Re)){if(L(t))return t.forEach((function(t){return r.add(t,e)})),this;if(C(t))return this.addLabel(t,e);if(!A(t))return this;t=Qe.delayedCall(0,t)}return this!==t?Lt(this,t,e):this},s.getChildren=function(t,e,r,i){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0),void 0===i&&(i=-T);for(var n=[],s=this._first;s;)s._start>=i&&(s instanceof Qe?e&&n.push(s):(r&&n.push(s),t&&n.push.apply(n,s.getChildren(!0,e,r)))),s=s._next;return n},s.getById=function(t){for(var e=this.getChildren(1,1,1),r=e.length;r--;)if(e[r].vars.id===t)return e[r]},s.remove=function(t){return C(t)?this.removeLabel(t):A(t)?this.killTweensOf(t):(t.parent===this&&Mt(this,t),t===this._recent&&(this._recent=this._last),Ct(this))},s.totalTime=function(e,r){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=ct(Te.time-(this._ts>0?e/this._ts:(this.totalDuration()-e)/-this._ts))),t.prototype.totalTime.call(this,e,r),this._forcing=0,this):this._tTime},s.addLabel=function(t,e){return this.labels[t]=qt(this,e),this},s.removeLabel=function(t){return delete this.labels[t],this},s.addPause=function(t,e,r){var i=Qe.delayedCall(0,e||H,r);return i.data="isPause",this._hasPause=1,Lt(this,i,qt(this,t))},s.removePause=function(t){var e=this._first;for(t=qt(this,t);e;)e._start===t&&"isPause"===e.data&&kt(e),e=e._next},s.killTweensOf=function(t,e,r){for(var i=this.getTweensOf(t,r),n=i.length;n--;)Le!==i[n]&&i[n].kill(t,e);return this},s.getTweensOf=function(t,e){for(var r,i=[],n=$t(t),s=this._first,a=D(e);s;)s instanceof Qe?_t(s._targets,n)&&(a?(!Le||s._initted&&s._ts)&&s.globalTime(0)<=e&&s.globalTime(s.totalDuration())>e:!e||s.isActive())&&i.push(s):(r=s.getTweensOf(n,e)).length&&i.push.apply(i,r),s=s._next;return i},s.tweenTo=function(t,e){e=e||{};var r,i=this,n=qt(i,t),s=e,a=s.startAt,o=s.onStart,u=s.onStartParams,h=s.immediateRender,f=Qe.to(i,yt({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:n,overwrite:"auto",duration:e.duration||Math.abs((n-(a&&"time"in a?a.time:i._time))/i.timeScale())||1e-8,onStart:function(){if(i.pause(),!r){var t=e.duration||Math.abs((n-(a&&"time"in a?a.time:i._time))/i.timeScale());f._dur!==t&&Xt(f,t,0,1).render(f._time,!0,!0),r=1}o&&o.apply(f,u||[])}},e));return h?f.render(0):f},s.tweenFromTo=function(t,e,r){return this.tweenTo(e,yt({startAt:{time:qt(this,t)}},r))},s.recent=function(){return this._recent},s.nextLabel=function(t){return void 0===t&&(t=this._time),oe(this,qt(this,t))},s.previousLabel=function(t){return void 0===t&&(t=this._time),oe(this,qt(this,t),1)},s.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+1e-8)},s.shiftChildren=function(t,e,r){void 0===r&&(r=0);for(var i,n=this._first,s=this.labels;n;)n._start>=r&&(n._start+=t,n._end+=t),n=n._next;if(e)for(i in s)s[i]>=r&&(s[i]+=t);return Ct(this)},s.invalidate=function(e){var r=this._first;for(this._lock=0;r;)r.invalidate(e),r=r._next;return t.prototype.invalidate.call(this,e)},s.clear=function(t){void 0===t&&(t=!0);for(var e,r=this._first;r;)e=r._next,this.remove(r),r=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),Ct(this)},s.totalDuration=function(t){var e,r,i,n=0,s=this,o=s._last,u=T;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-t:t));if(s._dirty){for(i=s.parent;o;)e=o._prev,o._dirty&&o.totalDuration(),(r=o._start)>u&&s._sort&&o._ts&&!s._lock?(s._lock=1,Lt(s,o,r-o._delay,1)._lock=0):u=r,r<0&&o._ts&&(n-=r,(!i&&!s._dp||i&&i.smoothChildTiming)&&(s._start+=r/s._ts,s._time-=r,s._tTime-=r),s.shiftChildren(-r,!1,-Infinity),u=0),o._end>n&&o._ts&&(n=o._end),o=e;Xt(s,s===a&&s._time>n?s._time:n,1,1),s._dirty=0}return s._tDur},i.updateRoot=function(t){if(a._ts&&(mt(a,St(t,a)),l=Te.frame),Te.frame>=nt){nt+=v.autoSleep||120;var e=a._first;if((!e||!e._ts)&&v.autoSleep&&Te._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||Te.sleep()}}},i}(Re);yt(Fe.prototype,{_lock:0,_hasPause:0,_forcing:0});var Le,Be,Ie=function(t,e,r,i,n,s,a){var o,u,h,f,l,c,p,_,d=new ar(this._pt,t,e,0,1,tr,null,n),m=0,g=0;for(d.b=r,d.e=i,r+="",(p=~(i+="").indexOf("random("))&&(i=se(i)),s&&(s(_=[r,i],t,e),r=_[0],i=_[1]),u=r.match(X)||[];o=X.exec(i);)f=o[0],l=i.substring(m,o.index),h?h=(h+1)%5:"rgba("===l.substr(-5)&&(h=1),f!==u[g++]&&(c=parseFloat(u[g-1])||0,d._pt={_next:d._pt,p:l||1===g?l:",",s:c,c:"="===f.charAt(1)?pt(c,f)-c:parseFloat(f)-c,m:h&&h<4?Math.round:0},m=X.lastIndex);return d.c=m")})),h.duration();else{for(p in l={},O)"ease"===p||"easeEach"===p||Ue(p,O[p],l,O.easeEach);for(p in l)for(z=l[p].sort((function(t,e){return t.t-e.t})),Y=0,f=0;f_-1e-8&&!m?_:t<1e-8?0:t;if(d){if(g!==this._tTime||!t||r||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==m||this._lazy){if(i=g,l=this.timeline,this._repeat){if(o=d+this._rDelay,this._repeat<-1&&m)return this.totalTime(100*o+t,e,r);if(i=ct(g%o),g===_?(a=this._repeat,i=d):(a=~~(u=ct(g/o)))&&a===u?(i=d,a--):i>d&&(i=d),(h=this._yoyo&&1&a)&&(c=this._yEase,i=d-i),u=Et(this._tTime,o),i===p&&!r&&this._initted&&a===u)return this._tTime=g,this;a!==u&&(l&&this._yEase&&Ce(l,h),this.vars.repeatRefresh&&!h&&!this._lock&&i!==o&&this._initted&&(this._lock=r=1,this.render(ct(o*a),!0).invalidate()._lock=0))}if(!this._initted){if(It(this,m?t:i,r,e,g))return this._tTime=0,this;if(!(p===this._time||r&&this.vars.repeatRefresh&&a!==u))return this;if(d!==this._dur)return this.render(t,e,r)}if(this._tTime=g,this._time=i,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=f=(c||this._ease)(i/d),this._from&&(this.ratio=f=1-f),i&&!p&&!e&&!a&&(ue(this,"onStart"),this._tTime!==g))return this;for(s=this._pt;s;)s.r(f,s.d),s=s._next;l&&l.render(t<0?t:l._dur*l._ease(i/this._dur),e,r)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(m&&Dt(this,t,0,r),ue(this,"onUpdate")),this._repeat&&a!==u&&this.vars.onRepeat&&!e&&this.parent&&ue(this,"onRepeat"),g!==this._tDur&&g||this._tTime!==g||(m&&!this._onUpdate&&Dt(this,t,0,!0),(t||!d)&&(g===this._tDur&&this._ts>0||!g&&this._ts<0)&&kt(this,1),e||m&&!p||!(g||p||h)||(ue(this,g===_?"onComplete":"onReverseComplete",!0),this._prom&&!(g<_&&this.timeScale()>0)&&this._prom()))}}else!function(t,e,r,i){var s,a,o,u=t.ratio,h=e<0||!e&&(!t._start&&function t(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||t(r))}(t)&&(t._initted||!Yt(t))||(t._ts<0||t._dp._ts<0)&&!Yt(t))?0:1,f=t._rDelay,l=0;if(f&&t._repeat&&(l=Qt(0,t._tDur,e),a=Et(l,f),t._yoyo&&1&a&&(h=1-h),a!==Et(t._tTime,f)&&(u=1-h,t.vars.repeatRefresh&&t._initted&&t.invalidate())),h!==u||n||i||1e-8===t._zTime||!e&&t._zTime){if(!t._initted&&It(t,e,i,r,l))return;for(o=t._zTime,t._zTime=e||(r?1e-8:0),r||(r=e&&!o),t.ratio=h,t._from&&(h=1-h),t._time=0,t._tTime=l,s=t._pt;s;)s.r(h,s.d),s=s._next;e<0&&Dt(t,e,0,!0),t._onUpdate&&!r&&ue(t,"onUpdate"),l&&t._repeat&&!r&&t.parent&&ue(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===h&&(h&&kt(t,1),r||n||(ue(t,h?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,r);return this},o.targets=function(){return this._targets},o.invalidate=function(e){return(!e||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(e),t.prototype.invalidate.call(this,e)},o.resetTo=function(t,e,r,i,n){p||Te.wake(),this._ts||this.play();var s=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||Ne(this,s),function(t,e,r,i,n,s,a,o){var u,h,f,l,c=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!c)for(c=t._ptCache[e]=[],f=t._ptLookup,l=t._targets.length;l--;){if((u=f[l][e])&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==e&&u.fp!==e;)u=u._next;if(!u)return Be=1,t.vars[e]="+=0",Ne(t,a),Be=0,o?W():1;c.push(u)}for(l=c.length;l--;)(u=(h=c[l])._pt||h).s=!i&&0!==i||n?u.s+(i||0)+s*u.c:i,u.c=r-u.s,h.e&&(h.e=lt(r)+Wt(h.e)),h.b&&(h.b=u.s+Wt(h.b))}(this,t,e,r,i,this._ease(s/this._dur),s,n)?this.resetTo(t,e,r,i,1):(Rt(this,0),this.parent||Ot(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},o.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e))return this._lazy=this._pt=0,this.parent?he(this):this.scrollTrigger&&this.scrollTrigger.kill(!!n),this;if(this.timeline){var r=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,Le&&!0!==Le.vars.overwrite)._first||he(this),this.parent&&r!==this.timeline.totalDuration()&&Xt(this,this._dur*this.timeline._tDur/r,0,1),this}var i,s,a,o,u,h,f,l=this._targets,c=t?$t(t):l,p=this._ptLookup,_=this._pt;if((!e||"all"===e)&&function(t,e){for(var r=t.length,i=r===e.length;i&&r--&&t[r]===e[r];);return r<0}(l,c))return"all"===e&&(this._pt=0),he(this);for(i=this._op=this._op||[],"all"!==e&&(C(e)&&(u={},ft(e,(function(t){return u[t]=1})),e=u),e=function(t,e){var r,i,n,s,a=t[0]?ut(t[0]).harness:0,o=a&&a.aliases;if(!o)return e;for(i in r=Tt({},e),o)if(i in r)for(n=(s=o[i].split(",")).length;n--;)r[s[n]]=r[i];return r}(l,e)),f=l.length;f--;)if(~c.indexOf(l[f]))for(u in s=p[f],"all"===e?(i[f]=e,o=s,a={}):(a=i[f]=i[f]||{},o=e),o)(h=s&&s[u])&&("kill"in h.d&&!0!==h.d.kill(u)||Mt(this,h,"_pt"),delete s[u]),"all"!==a&&(a[u]=1);return this._initted&&!this._pt&&_&&he(this),this},s.to=function(t,e){return new s(t,e,arguments[2])},s.from=function(t,e){return jt(1,arguments)},s.delayedCall=function(t,e,r,i){return new s(e,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:e,onReverseComplete:e,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},s.fromTo=function(t,e,r){return jt(2,arguments)},s.set=function(t,e){return e.duration=0,e.repeatDelay||(e.repeat=0),new s(t,e)},s.killTweensOf=function(t,e,r){return a.killTweensOf(t,e,r)},s}(Re);yt(Qe.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),ft("staggerTo,staggerFrom,staggerFromTo",(function(t){Qe[t]=function(){var e=new Fe,r=Gt.call(arguments,0);return r.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,r)}}));var We=function(t,e,r){return t[e]=r},Ge=function(t,e,r){return t[e](r)},He=function(t,e,r,i){return t[e](i.fp,r)},Ze=function(t,e,r){return t.setAttribute(e,r)},$e=function(t,e){return A(t[e])?Ge:P(t[e])&&t.setAttribute?Ze:We},Je=function(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},Ke=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},tr=function(t,e){var r=e._pt,i="";if(!t&&e.b)i=e.b;else if(1===t&&e.e)i=e.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*t):Math.round(1e4*(r.s+r.c*t))/1e4)+i,r=r._next;i+=e.c}e.set(e.t,e.p,i,e)},er=function(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next},rr=function(t,e,r,i){for(var n,s=this._pt;s;)n=s._next,s.p===i&&s.modifier(t,e,r),s=n},ir=function(t){for(var e,r,i=this._pt;i;)r=i._next,i.p===t&&!i.op||i.op===t?Mt(this,i,"_pt"):i.dep||(e=1),i=r;return!e},nr=function(t,e,r,i){i.mSet(t,e,i.m.call(i.tween,r,i.mt),i)},sr=function(t){for(var e,r,i,n,s=t._pt;s;){for(e=s._next,r=i;r&&r.pr>s.pr;)r=r._next;(s._prev=r?r._prev:n)?s._prev._next=s:i=s,(s._next=r)?r._prev=s:n=s,s=e}t._pt=i},ar=function(){function t(t,e,r,i,n,s,a,o,u){this.t=e,this.s=i,this.c=n,this.p=r,this.r=s||Je,this.d=a||this,this.set=o||We,this.pr=u||0,this._next=t,t&&(t._prev=this)}return t.prototype.modifier=function(t,e,r){this.mSet=this.mSet||this.set,this.set=nr,this.m=t,this.mt=r,this.tween=e},t}();ft(at+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",(function(t){return K[t]=1})),j.TweenMax=j.TweenLite=Qe,j.TimelineLite=j.TimelineMax=Fe,a=new Fe({sortChildren:!1,defaults:y,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),v.stringFilter=ye;var or=[],ur={},hr=[],fr=0,lr=0,cr=function(t){return(ur[t]||hr).map((function(t){return t()}))},pr=function(){var t=Date.now(),e=[];t-fr>2&&(cr("matchMediaInit"),or.forEach((function(t){var r,i,n,s,a=t.queries,u=t.conditions;for(i in a)(r=o.matchMedia(a[i]).matches)&&(n=1),r!==u[i]&&(u[i]=r,s=1);s&&(t.revert(),n&&e.push(t))})),cr("matchMediaRevert"),e.forEach((function(t){return t.onMatch(t,(function(e){return t.add(null,e)}))})),fr=t,cr("matchMedia"))},_r=function(){function t(t,e){this.selector=e&&Jt(e),this.data=[],this._r=[],this.isReverted=!1,this.id=lr++,t&&this.add(t)}var e=t.prototype;return e.add=function(t,e,r){A(t)&&(r=e,e=t,t=A);var i=this,n=function(){var t,n=s,a=i.selector;return n&&n!==i&&n.data.push(i),r&&(i.selector=Jt(r)),s=i,t=e.apply(i,arguments),A(t)&&i._r.push(t),s=n,i.selector=a,i.isReverted=!1,t};return i.last=n,t===A?n(i,(function(t){return i.add(null,t)})):t?i[t]=n:n},e.ignore=function(t){var e=s;s=null,t(this),s=e},e.getTweens=function(){var e=[];return this.data.forEach((function(r){return r instanceof t?e.push.apply(e,r.getTweens()):r instanceof Qe&&!(r.parent&&"nested"===r.parent.data)&&e.push(r)})),e},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(t,e){var r=this;if(t?function(){for(var e,i=r.getTweens(),n=r.data.length;n--;)"isFlip"===(e=r.data[n]).data&&(e.revert(),e.getChildren(!0,!0,!1).forEach((function(t){return i.splice(i.indexOf(t),1)})));for(i.map((function(t){return{g:t._dur||t._delay||t._sat&&!t._sat.vars.immediateRender?t.globalTime(0):-1/0,t:t}})).sort((function(t,e){return e.g-t.g||-1/0})).forEach((function(e){return e.t.revert(t)})),n=r.data.length;n--;)(e=r.data[n])instanceof Fe?"nested"!==e.data&&(e.scrollTrigger&&e.scrollTrigger.revert(),e.kill()):!(e instanceof Qe)&&e.revert&&e.revert(t);r._r.forEach((function(e){return e(t,r)})),r.isReverted=!0}():this.data.forEach((function(t){return t.kill&&t.kill()})),this.clear(),e)for(var i=or.length;i--;)or[i].id===this.id&&or.splice(i,1)},e.revert=function(t){this.kill(t||{})},t}(),dr=function(){function t(t){this.contexts=[],this.scope=t,s&&s.data.push(this)}var e=t.prototype;return e.add=function(t,e,r){E(t)||(t={matches:t});var i,n,a,u=new _r(0,r||this.scope),h=u.conditions={};for(n in s&&!u.selector&&(u.selector=s.selector),this.contexts.push(u),e=u.add("onMatch",e),u.queries=t,t)"all"===n?a=1:(i=o.matchMedia(t[n]))&&(or.indexOf(u)<0&&or.push(u),(h[n]=i.matches)&&(a=1),i.addListener?i.addListener(pr):i.addEventListener("change",pr));return a&&e(u,(function(t){return u.add(null,t)})),this},e.revert=function(t){this.kill(t||{})},e.kill=function(t){this.contexts.forEach((function(e){return e.kill(t,!0)}))},t}(),mr={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),r=0;r1){var i=t.map((function(t){return yr.quickSetter(t,e,r)})),n=i.length;return function(t){for(var e=n;e--;)i[e](t)}}t=t[0]||{};var s=rt[e],a=ut(t),o=a.harness&&(a.harness.aliases||{})[e]||e,u=s?function(e){var i=new s;c._pt=0,i.init(t,r?e+r:e,c,0,[t]),i.render(1,i),c._pt&&er(1,c)}:a.set(t,o);return s?u:function(e){return u(t,o,r?e+r:e,a,1)}},quickTo:function(t,e,r){var i,n=yr.to(t,yt(((i={})[e]="+=0.1",i.paused=!0,i.stagger=0,i),r||{})),s=function(t,r,i){return n.resetTo(e,t,r,i)};return s.tween=n,s},isTweening:function(t){return a.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Ae(t.ease,y.ease)),xt(y,t||{})},config:function(t){return xt(v,t||{})},registerEffect:function(t){var e=t.name,r=t.effect,i=t.plugins,n=t.defaults,s=t.extendTimeline;(i||"").split(",").forEach((function(t){return t&&!rt[t]&&!j[t]&&W()})),it[e]=function(t,e,i){return r($t(t),yt(e||{},n),i)},s&&(Fe.prototype[e]=function(t,r,i){return this.add(it[e](t,E(r)?r:(i=r)&&{},this),i)})},registerEase:function(t,e){we[t]=Ae(e)},parseEase:function(t,e){return arguments.length?Ae(t,e):we},getById:function(t){return a.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var r,i,n=new Fe(t);for(n.smoothChildTiming=S(t.smoothChildTiming),a.remove(n),n._dp=0,n._time=n._tTime=a._time,r=a._first;r;)i=r._next,!e&&!r._dur&&r instanceof Qe&&r.vars.onComplete===r._targets[0]||Lt(n,r,r._start-r._delay),r=i;return Lt(a,n,0),n},context:function(t,e){return t?new _r(t,e):s},matchMedia:function(t){return new dr(t)},matchMediaRefresh:function(){return or.forEach((function(t){var e,r,i=t.conditions;for(r in i)i[r]&&(i[r]=!1,e=1);e&&t.revert()}))||pr()},addEventListener:function(t,e){var r=ur[t]||(ur[t]=[]);~r.indexOf(e)||r.push(e)},removeEventListener:function(t,e){var r=ur[t],i=r&&r.indexOf(e);i>=0&&r.splice(i,1)},utils:{wrap:function t(e,r,i){var n=r-e;return L(e)?ne(e,t(0,e.length),r):Vt(i,(function(t){return(n+(t-e)%n)%n+e}))},wrapYoyo:function t(e,r,i){var n=r-e,s=2*n;return L(e)?ne(e,t(0,e.length-1),r):Vt(i,(function(t){return e+((t=(s+(t-e)%s)%s||0)>n?s-t:t)}))},distribute:te,random:ie,snap:re,normalize:function(t,e,r){return ae(t,e,0,1,r)},getUnit:Wt,clamp:function(t,e,r){return Vt(r,(function(r){return Qt(t,e,r)}))},splitColor:_e,toArray:$t,selector:Jt,mapRange:ae,pipe:function(){for(var t=arguments.length,e=new Array(t),r=0;r=0)return;a.svg&&(this.svgo=n.getAttribute("data-svg-origin"),this.props.push(pi,r,"")),e=ci}(s||r)&&this.props.push(e,r,s[e])},di=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},mi=function(){var t,e,r=this.props,i=this.target,n=i.style,s=i._gsap;for(t=0;t=0?Ti[n]:"")+t},wi=function(){"undefined"!=typeof window&&window.document&&(Tr=window,xr=Tr.document,wr=xr.documentElement,Or=vi("div")||{style:{}},vi("div"),ci=xi(ci),pi=ci+"Origin",Or.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Cr=!!xi("perspective"),kr=yr.core.reverting,br=1)},bi=function(t){var e,r=t.ownerSVGElement,i=vi("svg",r&&r.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=t.cloneNode(!0);n.style.display="block",i.appendChild(n),wr.appendChild(i);try{e=n.getBBox()}catch(t){}return i.removeChild(n),wr.removeChild(i),e},Oi=function(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])},Mi=function(t){var e,r;try{e=t.getBBox()}catch(i){e=bi(t),r=1}return e&&(e.width||e.height)||r||(e=bi(t)),!e||e.width||e.x||e.y?e:{x:+Oi(t,["x","cx","x1"])||0,y:+Oi(t,["y","cy","y1"])||0,width:0,height:0}},ki=function(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!Mi(t))},Ci=function(t,e){if(e){var r,i=t.style;e in Qr&&e!==pi&&(e=ci),i.removeProperty?("ms"!==(r=e.substr(0,2))&&"webkit"!==e.substr(0,6)||(e="-"+e),i.removeProperty("--"===r?e:e.replace(Zr,"-$1").toLowerCase())):i.removeAttribute(e)}},Ai=function(t,e,r,i,n,s){var a=new ar(t._pt,e,r,0,1,s?si:ni);return t._pt=a,a.b=i,a.e=n,t._props.push(r),a},Di={deg:1,rad:1,turn:1},Pi={grid:1,flex:1},Ei=function t(e,r,i,n){var s,a,o,u,h=parseFloat(i)||0,f=(i+"").trim().substr((h+"").length)||"px",l=Or.style,c=$r.test(r),p="svg"===e.tagName.toLowerCase(),_=(p?"client":"offset")+(c?"Width":"Height"),d="px"===n,m="%"===n;if(n===f||!h||Di[n]||Di[f])return h;if("px"!==f&&!d&&(h=t(e,r,i,"px")),u=e.getCTM&&ki(e),(m||"%"===f)&&(Qr[r]||~r.indexOf("adius")))return s=u?e.getBBox()[c?"width":"height"]:e[_],lt(m?h/s*100:h/100*s);if(l[c?"width":"height"]=100+(d?f:n),a="rem"!==n&&~r.indexOf("adius")||"em"===n&&e.appendChild&&!p?e:e.parentNode,u&&(a=(e.ownerSVGElement||{}).parentNode),a&&a!==xr&&a.appendChild||(a=xr.body),(o=a._gsap)&&m&&o.width&&c&&o.time===Te.time&&!o.uncache)return lt(h/o.width*100);if(!m||"height"!==r&&"width"!==r)(m||"%"===f)&&!Pi[yi(a,"display")]&&(l.position=yi(e,"position")),a===e&&(l.position="static"),a.appendChild(Or),s=Or[_],a.removeChild(Or),l.position="absolute";else{var g=e.style[r];e.style[r]=100+n,s=e[_],g?e.style[r]=g:Ci(e,r)}return c&&m&&((o=ut(a)).time=Te.time,o.width=a[_]),lt(d?s*h/100:s&&h?100/s*h:0)},Si=function(t,e,r,i){var n;return br||wi(),e in Kr&&"transform"!==e&&~(e=Kr[e]).indexOf(",")&&(e=e.split(",")[0]),Qr[e]&&"transform"!==e?(n=qi(t,i),n="transformOrigin"!==e?n[e]:n.svg?n.origin:ji(yi(t,pi))+" "+n.zOrigin+"px"):(!(n=t.style[e])||"auto"===n||i||~(n+"").indexOf("calc("))&&(n=Li[e]&&Li[e](t,e,r)||yi(t,e)||ht(t,e)||("opacity"===e?1:0)),r&&!~(n+"").trim().indexOf(" ")?Ei(t,e,n,r)+r:n},zi=function(t,e,r,i){if(!r||"none"===r){var n=xi(e,t,1),s=n&&yi(t,n,1);s&&s!==r?(e=n,r=s):"borderColor"===e&&(r=yi(t,"borderTopColor"))}var a,o,u,h,f,l,c,p,_,d,m,g=new ar(this._pt,t.style,e,0,1,tr),y=0,T=0;if(g.b=r,g.e=i,r+="","auto"===(i+="")&&(l=t.style[e],t.style[e]=i,i=yi(t,e)||i,l?t.style[e]=l:Ci(t,e)),ye(a=[r,i]),i=a[1],u=(r=a[0]).match(Y)||[],(i.match(Y)||[]).length){for(;o=Y.exec(i);)c=o[0],_=i.substring(y,o.index),f?f=(f+1)%5:"rgba("!==_.substr(-5)&&"hsla("!==_.substr(-5)||(f=1),c!==(l=u[T++]||"")&&(h=parseFloat(l)||0,m=l.substr((h+"").length),"="===c.charAt(1)&&(c=pt(h,c)+m),p=parseFloat(c),d=c.substr((p+"").length),y=Y.lastIndex-d.length,d||(d=d||v.units[e]||m,y===i.length&&(i+=d,g.e+=d)),m!==d&&(h=Ei(t,e,l,d)||0),g._pt={_next:g._pt,p:_||1===T?_:",",s:h,c:p-h,m:f&&f<4||"zIndex"===e?Math.round:0});g.c=y-1;)r=o[n],Qr[r]&&(i=1,r="transformOrigin"===r?pi:ci),Ci(s,r);i&&(Ci(s,ci),u&&(u.svg&&s.removeAttribute("transform"),a.scale=a.rotate=a.translate="none",qi(s,1),u.uncache=1,di(a)))}},Li={clearProps:function(t,e,r,i,n){if("isFromStart"!==n.data){var s=t._pt=new ar(t._pt,e,r,0,0,Fi);return s.u=i,s.pr=-10,s.tween=n,t._props.push(r),1}}},Bi=[1,0,0,1,0,0],Ii={},Yi=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},Xi=function(t){var e=yi(t,ci);return Yi(e)?Bi:e.substr(7).match(I).map(lt)},Ni=function(t,e){var r,i,n,s,a=t._gsap||ut(t),o=t.style,u=Xi(t);return a.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(u=[(n=t.transform.baseVal.consolidate().matrix).a,n.b,n.c,n.d,n.e,n.f]).join(",")?Bi:u:(u!==Bi||t.offsetParent||t===wr||a.svg||(n=o.display,o.display="block",(r=t.parentNode)&&(t.offsetParent||t.getBoundingClientRect().width)||(s=1,i=t.nextElementSibling,wr.appendChild(t)),u=Xi(t),n?o.display=n:Ci(t,"display"),s&&(i?r.insertBefore(t,i):r?r.appendChild(t):wr.removeChild(t))),e&&u.length>6?[u[0],u[1],u[4],u[5],u[12],u[13]]:u)},Ui=function(t,e,r,i,n,s){var a,o,u,h=t._gsap,f=n||Ni(t,!0),l=h.xOrigin||0,c=h.yOrigin||0,p=h.xOffset||0,_=h.yOffset||0,d=f[0],m=f[1],g=f[2],v=f[3],y=f[4],T=f[5],x=e.split(" "),w=parseFloat(x[0])||0,b=parseFloat(x[1])||0;r?f!==Bi&&(o=d*v-m*g)&&(u=w*(-m/o)+b*(d/o)-(d*T-m*y)/o,w=w*(v/o)+b*(-g/o)+(g*T-v*y)/o,b=u):(w=(a=Mi(t)).x+(~x[0].indexOf("%")?w/100*a.width:w),b=a.y+(~(x[1]||x[0]).indexOf("%")?b/100*a.height:b)),i||!1!==i&&h.smooth?(y=w-l,T=b-c,h.xOffset=p+(y*d+T*g)-y,h.yOffset=_+(y*m+T*v)-T):h.xOffset=h.yOffset=0,h.xOrigin=w,h.yOrigin=b,h.smooth=!!i,h.origin=e,h.originIsAbsolute=!!r,t.style[pi]="0px 0px",s&&(Ai(s,h,"xOrigin",l,w),Ai(s,h,"yOrigin",c,b),Ai(s,h,"xOffset",p,h.xOffset),Ai(s,h,"yOffset",_,h.yOffset)),t.setAttribute("data-svg-origin",w+" "+b)},qi=function(t,e){var r=t._gsap||new ze(t);if("x"in r&&!e&&!r.uncache)return r;var i,n,s,a,o,u,h,f,l,c,p,_,d,m,g,y,T,x,w,b,O,M,k,C,A,D,P,E,S,z,R,F,L=t.style,B=r.scaleX<0,I=getComputedStyle(t),Y=yi(t,pi)||"0";return i=n=s=u=h=f=l=c=p=0,a=o=1,r.svg=!(!t.getCTM||!ki(t)),I.translate&&("none"===I.translate&&"none"===I.scale&&"none"===I.rotate||(L[ci]=("none"!==I.translate?"translate3d("+(I.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==I.rotate?"rotate("+I.rotate+") ":"")+("none"!==I.scale?"scale("+I.scale.split(" ").join(",")+") ":"")+("none"!==I[ci]?I[ci]:"")),L.scale=L.rotate=L.translate="none"),m=Ni(t,r.svg),r.svg&&(r.uncache?(A=t.getBBox(),Y=r.xOrigin-A.x+"px "+(r.yOrigin-A.y)+"px",C=""):C=!e&&t.getAttribute("data-svg-origin"),Ui(t,C||Y,!!C||r.originIsAbsolute,!1!==r.smooth,m)),_=r.xOrigin||0,d=r.yOrigin||0,m!==Bi&&(x=m[0],w=m[1],b=m[2],O=m[3],i=M=m[4],n=k=m[5],6===m.length?(a=Math.sqrt(x*x+w*w),o=Math.sqrt(O*O+b*b),u=x||w?Hr(w,x)*Wr:0,(l=b||O?Hr(b,O)*Wr+u:0)&&(o*=Math.abs(Math.cos(l*Gr))),r.svg&&(i-=_-(_*x+d*b),n-=d-(_*w+d*O))):(F=m[6],z=m[7],P=m[8],E=m[9],S=m[10],R=m[11],i=m[12],n=m[13],s=m[14],h=(g=Hr(F,S))*Wr,g&&(C=M*(y=Math.cos(-g))+P*(T=Math.sin(-g)),A=k*y+E*T,D=F*y+S*T,P=M*-T+P*y,E=k*-T+E*y,S=F*-T+S*y,R=z*-T+R*y,M=C,k=A,F=D),f=(g=Hr(-b,S))*Wr,g&&(y=Math.cos(-g),R=O*(T=Math.sin(-g))+R*y,x=C=x*y-P*T,w=A=w*y-E*T,b=D=b*y-S*T),u=(g=Hr(w,x))*Wr,g&&(C=x*(y=Math.cos(g))+w*(T=Math.sin(g)),A=M*y+k*T,w=w*y-x*T,k=k*y-M*T,x=C,M=A),h&&Math.abs(h)+Math.abs(u)>359.9&&(h=u=0,f=180-f),a=lt(Math.sqrt(x*x+w*w+b*b)),o=lt(Math.sqrt(k*k+F*F)),g=Hr(M,k),l=Math.abs(g)>2e-4?g*Wr:0,p=R?1/(R<0?-R:R):0),r.svg&&(C=t.getAttribute("transform"),r.forceCSS=t.setAttribute("transform","")||!Yi(yi(t,ci)),C&&t.setAttribute("transform",C))),Math.abs(l)>90&&Math.abs(l)<270&&(B?(a*=-1,l+=u<=0?180:-180,u+=u<=0?180:-180):(o*=-1,l+=l<=0?180:-180)),e=e||r.uncache,r.x=i-((r.xPercent=i&&(!e&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-i)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+"px",r.y=n-((r.yPercent=n&&(!e&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-n)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+"px",r.z=s+"px",r.scaleX=lt(a),r.scaleY=lt(o),r.rotation=lt(u)+"deg",r.rotationX=lt(h)+"deg",r.rotationY=lt(f)+"deg",r.skewX=l+"deg",r.skewY=c+"deg",r.transformPerspective=p+"px",(r.zOrigin=parseFloat(Y.split(" ")[2])||!e&&r.zOrigin||0)&&(L[pi]=ji(Y)),r.xOffset=r.yOffset=0,r.force3D=v.force3D,r.renderTransform=r.svg?Gi:Cr?Wi:Qi,r.uncache=0,r},ji=function(t){return(t=t.split(" "))[0]+" "+t[1]},Vi=function(t,e,r){var i=Wt(e);return lt(parseFloat(e)+parseFloat(Ei(t,"x",r+"px",i)))+i},Qi=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Wi(t,e)},Wi=function(t,e){var r=e||this,i=r.xPercent,n=r.yPercent,s=r.x,a=r.y,o=r.z,u=r.rotation,h=r.rotationY,f=r.rotationX,l=r.skewX,c=r.skewY,p=r.scaleX,_=r.scaleY,d=r.transformPerspective,m=r.force3D,g=r.target,v=r.zOrigin,y="",T="auto"===m&&t&&1!==t||!0===m;if(v&&("0deg"!==f||"0deg"!==h)){var x,w=parseFloat(h)*Gr,b=Math.sin(w),O=Math.cos(w);w=parseFloat(f)*Gr,x=Math.cos(w),s=Vi(g,s,b*x*-v),a=Vi(g,a,-Math.sin(w)*-v),o=Vi(g,o,O*x*-v+v)}"0px"!==d&&(y+="perspective("+d+") "),(i||n)&&(y+="translate("+i+"%, "+n+"%) "),(T||"0px"!==s||"0px"!==a||"0px"!==o)&&(y+="0px"!==o||T?"translate3d("+s+", "+a+", "+o+") ":"translate("+s+", "+a+") "),"0deg"!==u&&(y+="rotate("+u+") "),"0deg"!==h&&(y+="rotateY("+h+") "),"0deg"!==f&&(y+="rotateX("+f+") "),"0deg"===l&&"0deg"===c||(y+="skew("+l+", "+c+") "),1===p&&1===_||(y+="scale("+p+", "+_+") "),g.style[ci]=y||"translate(0, 0)"},Gi=function(t,e){var r,i,n,s,a,o=e||this,u=o.xPercent,h=o.yPercent,f=o.x,l=o.y,c=o.rotation,p=o.skewX,_=o.skewY,d=o.scaleX,m=o.scaleY,g=o.target,v=o.xOrigin,y=o.yOrigin,T=o.xOffset,x=o.yOffset,w=o.forceCSS,b=parseFloat(f),O=parseFloat(l);c=parseFloat(c),p=parseFloat(p),(_=parseFloat(_))&&(p+=_=parseFloat(_),c+=_),c||p?(c*=Gr,p*=Gr,r=Math.cos(c)*d,i=Math.sin(c)*d,n=Math.sin(c-p)*-m,s=Math.cos(c-p)*m,p&&(_*=Gr,a=Math.tan(p-_),n*=a=Math.sqrt(1+a*a),s*=a,_&&(a=Math.tan(_),r*=a=Math.sqrt(1+a*a),i*=a)),r=lt(r),i=lt(i),n=lt(n),s=lt(s)):(r=d,s=m,i=n=0),(b&&!~(f+"").indexOf("px")||O&&!~(l+"").indexOf("px"))&&(b=Ei(g,"x",f,"px"),O=Ei(g,"y",l,"px")),(v||y||T||x)&&(b=lt(b+v-(v*r+y*n)+T),O=lt(O+y-(v*i+y*s)+x)),(u||h)&&(a=g.getBBox(),b=lt(b+u/100*a.width),O=lt(O+h/100*a.height)),a="matrix("+r+","+i+","+n+","+s+","+b+","+O+")",g.setAttribute("transform",a),w&&(g.style[ci]=a)},Hi=function(t,e,r,i,n){var s,a,o=C(n),u=parseFloat(n)*(o&&~n.indexOf("rad")?Wr:1)-i,h=i+u+"deg";return o&&("short"===(s=n.split("_")[1])&&(u%=360)!==u%180&&(u+=u<0?360:-360),"cw"===s&&u<0?u=(u+36e9)%360-360*~~(u/360):"ccw"===s&&u>0&&(u=(u-36e9)%360-360*~~(u/360))),t._pt=a=new ar(t._pt,e,r,i,u,ei),a.e=h,a.u="deg",t._props.push(r),a},Zi=function(t,e){for(var r in e)t[r]=e[r];return t},$i=function(t,e,r){var i,n,s,a,o,u,h,f=Zi({},r._gsap),l=r.style;for(n in f.svg?(s=r.getAttribute("transform"),r.setAttribute("transform",""),l[ci]=e,i=qi(r,1),Ci(r,ci),r.setAttribute("transform",s)):(s=getComputedStyle(r)[ci],l[ci]=e,i=qi(r,1),l[ci]=s),Qr)(s=f[n])!==(a=i[n])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(n)<0&&(o=Wt(s)!==(h=Wt(a))?Ei(r,n,s,h):parseFloat(s),u=parseFloat(a),t._pt=new ar(t._pt,i,n,o,u-o,ti),t._pt.u=h||0,t._props.push(n));Zi(i,f)};ft("padding,margin,Width,Radius",(function(t,e){var r="Top",i="Right",n="Bottom",s="Left",a=(e<3?[r,i,n,s]:[r+s,r+i,n+i,n+s]).map((function(r){return e<2?t+r:"border"+r+t}));Li[e>1?"border"+t:t]=function(t,e,r,i,n){var s,o;if(arguments.length<4)return s=a.map((function(e){return Si(t,e,r)})),5===(o=s.join(" ")).split(s[0]).length?s[0]:o;s=(i+"").split(" "),o={},a.forEach((function(t,e){return o[t]=s[e]=s[e]||s[(e-1)/2|0]})),t.init(e,o,n)}}));var Ji,Ki,tn={name:"css",register:wi,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,r,i,n){var s,a,o,u,h,f,l,c,p,_,d,m,g,y,T,x,w,b,O,M,k=this._props,A=t.style,D=r.vars.startAt;for(l in br||wi(),this.styles=this.styles||gi(t),x=this.styles.props,this.tween=r,e)if("autoRound"!==l&&(a=e[l],!rt[l]||!Xe(l,e,r,i,t,n)))if(h=typeof a,f=Li[l],"function"===h&&(h=typeof(a=a.call(r,i,t,n))),"string"===h&&~a.indexOf("random(")&&(a=se(a)),f)f(this,t,l,a,r)&&(T=1);else if("--"===l.substr(0,2))s=(getComputedStyle(t).getPropertyValue(l)+"").trim(),a+="",ge.lastIndex=0,ge.test(s)||(c=Wt(s),p=Wt(a)),p?c!==p&&(s=Ei(t,l,s,p)+p):c&&(a+=c),this.add(A,"setProperty",s,a,i,n,0,0,l),k.push(l),x.push(l,0,A[l]);else if("undefined"!==h){if(D&&l in D?(s="function"==typeof D[l]?D[l].call(r,i,t,n):D[l],C(s)&&~s.indexOf("random(")&&(s=se(s)),Wt(s+"")||"auto"===s||(s+=v.units[l]||Wt(Si(t,l))||""),"="===(s+"").charAt(1)&&(s=Si(t,l))):s=Si(t,l),u=parseFloat(s),(_="string"===h&&"="===a.charAt(1)&&a.substr(0,2))&&(a=a.substr(2)),o=parseFloat(a),l in Kr&&("autoAlpha"===l&&(1===u&&"hidden"===Si(t,"visibility")&&o&&(u=0),x.push("visibility",0,A.visibility),Ai(this,A,"visibility",u?"inherit":"hidden",o?"inherit":"hidden",!o)),"scale"!==l&&"transform"!==l&&~(l=Kr[l]).indexOf(",")&&(l=l.split(",")[0])),d=l in Qr)if(this.styles.save(l),m||((g=t._gsap).renderTransform&&!e.parseTransform||qi(t,e.parseTransform),y=!1!==e.smoothOrigin&&g.smooth,(m=this._pt=new ar(this._pt,A,ci,0,1,g.renderTransform,g,0,-1)).dep=1),"scale"===l)this._pt=new ar(this._pt,g,"scaleY",g.scaleY,(_?pt(g.scaleY,_+o):o)-g.scaleY||0,ti),this._pt.u=0,k.push("scaleY",l),l+="X";else{if("transformOrigin"===l){x.push(pi,0,A[pi]),b=void 0,O=void 0,M=void 0,b=(w=a).split(" "),O=b[0],M=b[1]||"50%","top"!==O&&"bottom"!==O&&"left"!==M&&"right"!==M||(w=O,O=M,M=w),b[0]=Ri[O]||O,b[1]=Ri[M]||M,a=b.join(" "),g.svg?Ui(t,a,0,y,0,this):((p=parseFloat(a.split(" ")[2])||0)!==g.zOrigin&&Ai(this,g,"zOrigin",g.zOrigin,p),Ai(this,A,l,ji(s),ji(a)));continue}if("svgOrigin"===l){Ui(t,a,1,y,0,this);continue}if(l in Ii){Hi(this,g,l,u,_?pt(u,_+a):a);continue}if("smoothOrigin"===l){Ai(this,g,"smooth",g.smooth,a);continue}if("force3D"===l){g[l]=a;continue}if("transform"===l){$i(this,a,t);continue}}else l in A||(l=xi(l)||l);if(d||(o||0===o)&&(u||0===u)&&!Jr.test(a)&&l in A)o||(o=0),(c=(s+"").substr((u+"").length))!==(p=Wt(a)||(l in v.units?v.units[l]:c))&&(u=Ei(t,l,s,p)),this._pt=new ar(this._pt,d?g:A,l,u,(_?pt(u,_+o):o)-u,d||"px"!==p&&"zIndex"!==l||!1===e.autoRound?ti:ii),this._pt.u=p||0,c!==p&&"%"!==p&&(this._pt.b=s,this._pt.r=ri);else if(l in A)zi.call(this,t,l,s,_?_+a:a);else if(l in t)this.add(t,l,s||t[l],_?_+a:a,i,n);else if("parseTransform"!==l)continue;d||(l in A?x.push(l,0,A[l]):"function"==typeof t[l]?x.push(l,2,t[l]()):x.push(l,1,s||t[l])),k.push(l)}T&&sr(this)},render:function(t,e){if(e.tween._time||!kr())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:Si,aliases:Kr,getSetter:function(t,e,r){var i=Kr[e];return i&&i.indexOf(",")<0&&(e=i),e in Qr&&e!==pi&&(t._gsap.x||Si(t,"x"))?r&&Mr===r?"scale"===e?hi:ui:(Mr=r||{})&&("scale"===e?fi:li):t.style&&!P(t.style[e])?ai:~e.indexOf("-")?oi:$e(t,e)},core:{_removeProperty:Ci,_getMatrix:Ni}};yr.utils.checkPrefix=xi,yr.core.getStyleSaver=gi,Ki=ft("x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+(Ji="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",(function(t){Qr[t]=1})),ft(Ji,(function(t){v.units[t]="deg",Ii[t]=1})),Kr[Ki[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+Ji,ft("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",(function(t){var e=t.split(":");Kr[e[1]]=Ki[e[0]]})),ft("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(t){v.units[t]="px"})),yr.registerPlugin(tn);var en=yr.registerPlugin(tn)||yr,rn=en.core.Tween;t.Back=Xr,t.Bounce=Ur,t.CSSPlugin=tn,t.Circ=Vr,t.Cubic=Fr,t.Elastic=Yr,t.Expo=jr,t.Linear=zr,t.Power0=Ar,t.Power1=Dr,t.Power2=Pr,t.Power3=Er,t.Power4=Sr,t.Quad=Rr,t.Quart=Lr,t.Quint=Br,t.Sine=qr,t.SteppedEase=Nr,t.Strong=Ir,t.TimelineLite=Fe,t.TimelineMax=Fe,t.TweenLite=Qe,t.TweenMax=rn,t.default=en,t.gsap=en,"undefined"==typeof window||window!==t?Object.defineProperty(t,"__esModule",{value:!0}):delete window.default})); !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,(function(e){"use strict";function t(e,t){for(var r=0;rs?(i=n,n=e,a=o,o=l):r?n+=e:n=i+(e-i)/(l-a)*(o-a)};return{update:c,reset:function(){i=n=r?0:n,a=o=0},getVelocity:function(e){var t=a,s=i,u=b();return(e||0===e)&&e!==n&&c(e),o===a||u-a>l?0:(n+(r?s:-s))/((r?u:o)-t)*1e3}}},D=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},Y=function(e){var t=Math.max.apply(Math,e),r=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(r)?t:r},B=function(){var e,t,n,i;(u=r.core.globals().ScrollTrigger)&&u.core&&(e=u.core,t=e.bridge||{},n=e._scrollers,i=e._proxies,n.push.apply(n,y),i.push.apply(i,x),y=n,x=i,w=function(e,r){return t[e](r)})},I=function(e){return r=e||g(),!n&&r&&"undefined"!=typeof document&&document.body&&(i=window,o=document,a=o.documentElement,s=o.body,f=[i,o,a,s],r.utils.clamp,h=r.core.context||function(){},c="onpointerenter"in s?"pointer":"mouse",l=X.isTouch=i.matchMedia&&i.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in i||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,p=X.eventTypes=("ontouchstart"in a?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in a?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout((function(){return v=0}),500),B(),n=1),n};M.op=P,y.cache=0;var X=function(){function e(e){this.init(e)}var f,g,v;return e.prototype.init=function(e){n||I(r),u||B();var t=e.tolerance,f=e.dragMinimum,g=e.type,v=e.target,y=e.lineHeight,x=e.debounce,w=e.preventDefault,_=e.onStop,S=e.onStopDelay,X=e.ignore,z=e.wheelSpeed,L=e.event,N=e.onDragStart,F=e.onDragEnd,H=e.onDrag,W=e.onPress,q=e.onRelease,U=e.onRight,V=e.onLeft,G=e.onUp,j=e.onDown,K=e.onChangeX,Z=e.onChangeY,$=e.onChange,J=e.onToggleX,Q=e.onToggleY,ee=e.onHover,te=e.onHoverEnd,re=e.onMove,ne=e.ignoreCheck,ie=e.isNormalizer,oe=e.onGestureStart,ae=e.onGestureEnd,se=e.onWheel,le=e.onEnable,ce=e.onDisable,ue=e.onClick,fe=e.scrollSpeed,de=e.capture,pe=e.allowClicks,he=e.lockAxis,ge=e.onLockAxis;this.target=v=O(v)||a,this.vars=e,X&&(X=r.utils.toArray(X)),t=t||1e-9,f=f||0,z=z||1,fe=fe||1,g=g||"wheel,touch,pointer",x=!1!==x,y||(y=parseFloat(i.getComputedStyle(s).lineHeight)||22);var ve,me,ye,xe,be,we,_e,Te=this,ke=0,Ce=0,Ee=e.passive||!w&&!1!==e.passive,Se=A(v,M),Me=A(v,P),Pe=Se(),Oe=Me(),Ae=~g.indexOf("touch")&&!~g.indexOf("pointer")&&"pointerdown"===p[0],Re=T(v),De=v.ownerDocument||o,Ye=[0,0,0],Be=[0,0,0],Ie=0,Xe=function(){return Ie=b()},ze=function(e,t){return(Te.event=e)&&X&&~X.indexOf(e.target)||t&&Ae&&"touch"!==e.pointerType||ne&&ne(e,t)},Le=function(){var e=Te.deltaX=Y(Ye),r=Te.deltaY=Y(Be),n=Math.abs(e)>=t,i=Math.abs(r)>=t;$&&(n||i)&&$(Te,e,r,Ye,Be),n&&(U&&Te.deltaX>0&&U(Te),V&&Te.deltaX<0&&V(Te),K&&K(Te),J&&Te.deltaX<0!=ke<0&&J(Te),ke=Te.deltaX,Ye[0]=Ye[1]=Ye[2]=0),i&&(j&&Te.deltaY>0&&j(Te),G&&Te.deltaY<0&&G(Te),Z&&Z(Te),Q&&Te.deltaY<0!=Ce<0&&Q(Te),Ce=Te.deltaY,Be[0]=Be[1]=Be[2]=0),(xe||ye)&&(re&&re(Te),ye&&(N&&1===ye&&N(Te),H&&H(Te),ye=0),xe=!1),we&&!(we=!1)&&ge&&ge(Te),be&&(se(Te),be=!1),ve=0},Ne=function(e,t,r){Ye[r]+=e,Be[r]+=t,Te._vx.update(e),Te._vy.update(t),x?ve||(ve=requestAnimationFrame(Le)):Le()},Fe=function(e,t){he&&!_e&&(Te.axis=_e=Math.abs(e)>Math.abs(t)?"x":"y",we=!0),"y"!==_e&&(Ye[2]+=e,Te._vx.update(e,!0)),"x"!==_e&&(Be[2]+=t,Te._vy.update(t,!0)),x?ve||(ve=requestAnimationFrame(Le)):Le()},He=function(e){if(!ze(e,1)){var t=(e=D(e,w)).clientX,r=e.clientY,n=t-Te.x,i=r-Te.y,o=Te.isDragging;Te.x=t,Te.y=r,(o||(n||i)&&(Math.abs(Te.startX-t)>=f||Math.abs(Te.startY-r)>=f))&&(ye=o?2:1,o||(Te.isDragging=!0),Fe(n,i))}},We=Te.onPress=function(e){ze(e,1)||e&&e.button||(Te.axis=_e=null,me.pause(),Te.isPressed=!0,e=D(e),ke=Ce=0,Te.startX=Te.x=e.clientX,Te.startY=Te.y=e.clientY,Te._vx.reset(),Te._vy.reset(),k(ie?v:De,p[1],He,Ee,!0),Te.deltaX=Te.deltaY=0,W&&W(Te))},qe=Te.onRelease=function(e){if(!ze(e,1)){C(ie?v:De,p[1],He,!0);var t=!isNaN(Te.y-Te.startY),n=Te.isDragging,o=n&&(Math.abs(Te.x-Te.startX)>3||Math.abs(Te.y-Te.startY)>3),a=D(e);!o&&t&&(Te._vx.reset(),Te._vy.reset(),w&&pe&&r.delayedCall(.08,(function(){if(b()-Ie>300&&!e.defaultPrevented)if(e.target.click)e.target.click();else if(De.createEvent){var t=De.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,i,1,a.screenX,a.screenY,a.clientX,a.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(t)}}))),Te.isDragging=Te.isGesturing=Te.isPressed=!1,_&&n&&!ie&&me.restart(!0),ye&&Le(),F&&n&&F(Te),q&&q(Te,o)}},Ue=function(e){return e.touches&&e.touches.length>1&&(Te.isGesturing=!0)&&oe(e,Te.isDragging)},Ve=function(){return(Te.isGesturing=!1)||ae(Te)},Ge=function(e){if(!ze(e)){var t=Se(),r=Me();Ne((t-Pe)*fe,(r-Oe)*fe,1),Pe=t,Oe=r,_&&me.restart(!0)}},je=function(e){if(!ze(e)){e=D(e,w),se&&(be=!0);var t=(1===e.deltaMode?y:2===e.deltaMode?i.innerHeight:1)*z;Ne(e.deltaX*t,e.deltaY*t,0),_&&!ie&&me.restart(!0)}},Ke=function(e){if(!ze(e)){var t=e.clientX,r=e.clientY,n=t-Te.x,i=r-Te.y;Te.x=t,Te.y=r,xe=!0,_&&me.restart(!0),(n||i)&&Fe(n,i)}},Ze=function(e){Te.event=e,ee(Te)},$e=function(e){Te.event=e,te(Te)},Je=function(e){return ze(e)||D(e,w)&&ue(Te)};me=Te._dc=r.delayedCall(S||.25,(function(){Te._vx.reset(),Te._vy.reset(),me.pause(),_&&_(Te)})).pause(),Te.deltaX=Te.deltaY=0,Te._vx=R(0,50,!0),Te._vy=R(0,50,!0),Te.scrollX=Se,Te.scrollY=Me,Te.isDragging=Te.isGesturing=Te.isPressed=!1,h(this),Te.enable=function(e){return Te.isEnabled||(k(Re?De:v,"scroll",E),g.indexOf("scroll")>=0&&k(Re?De:v,"scroll",Ge,Ee,de),g.indexOf("wheel")>=0&&k(v,"wheel",je,Ee,de),(g.indexOf("touch")>=0&&l||g.indexOf("pointer")>=0)&&(k(v,p[0],We,Ee,de),k(De,p[2],qe),k(De,p[3],qe),pe&&k(v,"click",Xe,!0,!0),ue&&k(v,"click",Je),oe&&k(De,"gesturestart",Ue),ae&&k(De,"gestureend",Ve),ee&&k(v,c+"enter",Ze),te&&k(v,c+"leave",$e),re&&k(v,c+"move",Ke)),Te.isEnabled=!0,Te.isDragging=Te.isGesturing=Te.isPressed=xe=ye=!1,Te._vx.reset(),Te._vy.reset(),Pe=Se(),Oe=Me(),e&&e.type&&We(e),le&&le(Te)),Te},Te.disable=function(){Te.isEnabled&&(m.filter((function(e){return e!==Te&&T(e.target)})).length||C(Re?De:v,"scroll",E),Te.isPressed&&(Te._vx.reset(),Te._vy.reset(),C(ie?v:De,p[1],He,!0)),C(Re?De:v,"scroll",Ge,de),C(v,"wheel",je,de),C(v,p[0],We,de),C(De,p[2],qe),C(De,p[3],qe),C(v,"click",Xe,!0),C(v,"click",Je),C(De,"gesturestart",Ue),C(De,"gestureend",Ve),C(v,c+"enter",Ze),C(v,c+"leave",$e),C(v,c+"move",Ke),Te.isEnabled=Te.isPressed=Te.isDragging=!1,ce&&ce(Te))},Te.kill=Te.revert=function(){Te.disable();var e=m.indexOf(Te);e>=0&&m.splice(e,1),d===Te&&(d=0)},m.push(Te),ie&&T(v)&&(d=Te),Te.enable(L)},f=e,(g=[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}])&&t(f.prototype,g),v&&t(f,v),e}();X.version="3.12.7",X.create=function(e){return new X(e)},X.register=I,X.getAll=function(){return m.slice()},X.getById=function(e){return m.filter((function(t){return t.vars.id===e}))[0]},g()&&r.registerPlugin(X); /*! * ScrollTrigger 3.12.7 * https://gsap.com * * @license Copyright 2008-2025, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license or for * Club GSAP members, the agreement issued with that membership. * @author: Jack Doyle, jack@greensock.com */ var z,L,N,F,H,W,q,U,V,G,j,K,Z,$,J,Q,ee,te,re,ne,ie,oe,ae,se,le,ce,ue,fe,de,pe,he,ge,ve,me,ye,xe,be,we,_e=1,Te=Date.now,ke=Te(),Ce=0,Ee=0,Se=function(e,t,r){var n=Ne(e)&&("clamp("===e.substr(0,6)||e.indexOf("max")>-1);return r["_"+t+"Clamp"]=n,n?e.substr(6,e.length-7):e},Me=function(e,t){return!t||Ne(e)&&"clamp("===e.substr(0,6)?e:"clamp("+e+")"},Pe=function(){return $=1},Oe=function(){return $=0},Ae=function(e){return e},Re=function(e){return Math.round(1e5*e)/1e5||0},De=function(){return"undefined"!=typeof window},Ye=function(){return z||De()&&(z=window.gsap)&&z.registerPlugin&&z},Be=function(e){return!!~q.indexOf(e)},Ie=function(e){return("Height"===e?he:N["inner"+e])||H["client"+e]||W["client"+e]},Xe=function(e){return _(e,"getBoundingClientRect")||(Be(e)?function(){return zt.width=N.innerWidth,zt.height=he,zt}:function(){return $e(e)})},ze=function(e,t){var r=t.s,n=t.d2,i=t.d,o=t.a;return Math.max(0,(r="scroll"+n)&&(o=_(e,r))?o()-Xe(e)()[i]:Be(e)?(H[r]||W[r])-Ie(n):e[r]-e["offset"+n])},Le=function(e,t){for(var r=0;r0){for(e-=i,o=0;o=e)return r[o];return r[o-1]}for(o=r.length,e+=i;o--;)if(r[o]<=e)return r[o];return r[0]}:function(r,n,i){void 0===i&&(i=.001);var o=t(r);return!n||Math.abs(o-r)r&&(n*=t/100),e=e.substr(0,r-1)),e=n+(e in st?st[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},ct=function(e,t,r,n,i,o,a,s){var l=i.startColor,c=i.endColor,u=i.fontSize,f=i.indent,d=i.fontWeight,p=F.createElement("div"),h=Be(r)||"fixed"===_(r,"pinType"),g=-1!==e.indexOf("scroller"),v=h?W:r,m=-1!==e.indexOf("start"),y=m?l:c,x="border-color:"+y+";font-size:"+u+";color:"+y+";font-weight:"+d+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return x+="position:"+((g||s)&&h?"fixed;":"absolute;"),(g||s||!h)&&(x+=(n===P?"right":"bottom")+":"+(o+parseFloat(f))+"px;"),a&&(x+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),p._isStart=m,p.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),p.style.cssText=x,p.innerText=t||0===t?e+"-"+t:e,v.children[0]?v.insertBefore(p,v.children[0]):v.appendChild(p),p._offset=p["offset"+n.op.d2],ut(p,0,n,m),p},ut=function(e,t,r,n){var i={display:"block"},o=r[n?"os2":"p2"],a=r[n?"p2":"os2"];e._isFlipped=n,i[r.a+"Percent"]=n?-100:0,i[r.a]=n?"1px":0,i["border"+o+"Width"]=1,i["border"+a+"Width"]=0,i[r.p]=t+"px",z.set(e,i)},ft=[],dt={},pt=function(){return Te()-Ce>34&&(ye||(ye=requestAnimationFrame(At)))},ht=function(){(!ae||!ae.isPressed||ae.startX>W.clientWidth)&&(y.cache++,ae?ye||(ye=requestAnimationFrame(At)):At(),Ce||bt("scrollStart"),Ce=Te())},gt=function(){ce=N.innerWidth,le=N.innerHeight},vt=function(e){y.cache++,(!0===e||!Z&&!oe&&!F.fullscreenElement&&!F.webkitFullscreenElement&&(!se||ce!==N.innerWidth||Math.abs(N.innerHeight-le)>.25*N.innerHeight))&&U.restart(!0)},mt={},yt=[],xt=function e(){return nt(Ut,"scrollEnd",e)||Mt(!0)},bt=function(e){return mt[e]&&mt[e].map((function(e){return e()}))||yt},wt=[],_t=function(e){for(var t=0;tt,n=e._startClamp&&e.start>=t;(r||n)&&e.setPositions(n?t-1:e.start,r?Math.max(n?t:e.start+1,t):e.end,!0)})),St(!1),ve=0,r.forEach((function(e){return e&&e.render&&e.render(-1)})),y.forEach((function(e){Fe(e)&&(e.smooth&&requestAnimationFrame((function(){return e.target.style.scrollBehavior="smooth"})),e.rec&&e(e.rec))})),kt(de,1),U.pause(),Ct++,xe=2,At(2),ft.forEach((function(e){return Fe(e.vars.onRefresh)&&e.vars.onRefresh(e)})),xe=Ut.isRefreshing=!1,bt("refresh")}else rt(Ut,"scrollEnd",xt)},Pt=0,Ot=1,At=function(e){if(2===e||!xe&&!ge){Ut.isUpdating=!0,we&&we.update(0);var t=ft.length,r=Te(),n=r-ke>=50,i=t&&ft[0].scroll();if(Ot=Pt>i?-1:1,xe||(Pt=i),n&&(Ce&&!$&&r-Ce>200&&(Ce=0,bt("scrollEnd")),j=ke,ke=r),Ot<0){for(Q=t;Q-- >0;)ft[Q]&&ft[Q].update(0,n);Ot=1}else for(Q=0;Q20),r-=r-b}if(p&&(s[p]=e||-.001,e<0&&(e=0)),o){var T=e+r,k=o._isStart;h="scroll"+n.d2,ut(o,T,n,k&&T>20||!k&&(u?Math.max(W[h],H[h]):o.parentNode[h])<=T+1),u&&(l=$e(a),u&&(o.style[n.op.p]=l[n.op.p]-n.op.m-o._offset+je))}return d&&v&&(h=$e(v),d.seek(f),g=$e(v),d._caScrollDist=h[n.p]-g[n.p],e=e/d._caScrollDist*f),d&&d.seek(m),d?e:Math.round(e)},Nt=/(webkit|moz|length|cssText|inset)/i,Ft=function(e,t,r,n){if(e.parentNode!==t){var i,o,a=e.style;if(t===W){for(i in e._stOrig=a.cssText,o=Ke(e))+i||Nt.test(i)||!o[i]||"string"!=typeof a[i]||"0"===i||(a[i]=o[i]);a.top=r,a.left=n}else a.cssText=e._stOrig;z.core.getCache(e).uncache=1,t.appendChild(e)}},Ht=function(e,t,r){var n=t,i=n;return function(t){var o=Math.round(e());return o!==n&&o!==i&&Math.abs(o-n)>3&&Math.abs(o-i)>3&&(t=o,r&&r()),i=n,n=Math.round(t)}},Wt=function(e,t,r){var n={};n[t.p]="+="+r,z.set(e,n)},qt=function(e,t){var r=A(e,t),n="_scroll"+t.p2,i=function t(i,o,a,s,l){var c=t.tween,u=o.onComplete,f={};a=a||r();var d=Ht(r,a,(function(){c.kill(),t.tween=0}));return l=s&&l||0,s=s||i-a,c&&c.kill(),o[n]=i,o.inherit=!1,o.modifiers=f,f[n]=function(){return d(a+s*c.ratio+l*c.ratio*c.ratio)},o.onUpdate=function(){y.cache++,t.tween&&At()},o.onComplete=function(){t.tween=0,u&&u.call(c)},c=t.tween=z.to(e,o)};return e[n]=r,r.wheelHandler=function(){return i.tween&&i.tween.kill()&&(i.tween=0)},rt(e,"wheel",r.wheelHandler),Ut.isTouch&&rt(e,"touchmove",r.wheelHandler),i},Ut=function(){function e(t,r){L||e.register(z),fe(this),this.init(t,r)}return e.prototype.init=function(t,r){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),Ee){var n,i,o,a,s,l,c,u,f,d,p,h,g,v,m,b,w,T,k,C,E,S,R,D,Y,B,I,X,L,q,U,K,J,ee,te,re,oe,ae,se,le,ce,ue,fe=t=Ze(Ne(t)||He(t)||t.nodeType?{trigger:t}:t,at),de=fe.onUpdate,pe=fe.toggleClass,he=fe.id,ge=fe.onToggle,ye=fe.onRefresh,ke=fe.scrub,Pe=fe.trigger,Oe=fe.pin,De=fe.pinSpacing,Ye=fe.invalidateOnRefresh,Le=fe.anticipatePin,tt=fe.onScrubComplete,it=fe.onSnapComplete,st=fe.once,ut=fe.snap,pt=fe.pinReparent,gt=fe.pinSpacer,mt=fe.containerAnimation,yt=fe.fastScrollEnd,bt=fe.preventOverlaps,wt=t.horizontal||t.containerAnimation&&!1!==t.horizontal?M:P,_t=!ke&&0!==ke,Tt=O(t.scroller||N),kt=z.core.getCache(Tt),Et=Be(Tt),St="fixed"===("pinType"in t?t.pinType:_(Tt,"pinType")||Et&&"fixed"),Pt=[t.onEnter,t.onLeave,t.onEnterBack,t.onLeaveBack],At=_t&&t.toggleActions.split(" "),Rt="markers"in t?t.markers:at.markers,Dt=Et?0:parseFloat(Ke(Tt)["border"+wt.p2+"Width"])||0,Bt=this,Nt=t.onRefreshInit&&function(){return t.onRefreshInit(Bt)},Ht=function(e,t,r){var n=r.d,i=r.d2,o=r.a;return(o=_(e,"getBoundingClientRect"))?function(){return o()[n]}:function(){return(t?Ie(i):e["client"+i])||0}}(Tt,Et,wt),Ut=function(e,t){return!t||~x.indexOf(e)?Xe(e):function(){return zt}}(Tt,Et),Vt=0,Gt=0,jt=0,Kt=A(Tt,wt);if(Bt._startClamp=Bt._endClamp=!1,Bt._dir=wt,Le*=45,Bt.scroller=Tt,Bt.scroll=mt?mt.time.bind(mt):Kt,a=Kt(),Bt.vars=t,r=r||t.animation,"refreshPriority"in t&&(ne=1,-9999===t.refreshPriority&&(we=Bt)),kt.tweenScroll=kt.tweenScroll||{top:qt(Tt,P),left:qt(Tt,M)},Bt.tweenTo=n=kt.tweenScroll[wt.p],Bt.scrubDuration=function(e){(J=He(e)&&e)?K?K.duration(e):K=z.to(r,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:J,paused:!0,onComplete:function(){return tt&&tt(Bt)}}):(K&&K.progress(1).kill(),K=0)},r&&(r.vars.lazy=!1,r._initted&&!Bt.isReverted||!1!==r.vars.immediateRender&&!1!==t.immediateRender&&r.duration()&&r.render(0,!0,!0),Bt.animation=r.pause(),r.scrollTrigger=Bt,Bt.scrubDuration(ke),q=0,he||(he=r.vars.id)),ut&&(We(ut)&&!ut.push||(ut={snapTo:ut}),"scrollBehavior"in W.style&&z.set(Et?[W,H]:Tt,{scrollBehavior:"auto"}),y.forEach((function(e){return Fe(e)&&e.target===(Et?F.scrollingElement||H:Tt)&&(e.smooth=!1)})),o=Fe(ut.snapTo)?ut.snapTo:"labels"===ut.snapTo?function(e){return function(t){return z.utils.snap(Qe(e),t)}}(r):"labelsDirectional"===ut.snapTo?(le=r,function(e,t){return et(Qe(le))(e,t.direction)}):!1!==ut.directional?function(e,t){return et(ut.snapTo)(e,Te()-Gt<500?0:t.direction)}:z.utils.snap(ut.snapTo),ee=ut.duration||{min:.1,max:2},ee=We(ee)?G(ee.min,ee.max):G(ee,ee),te=z.delayedCall(ut.delay||J/2||.1,(function(){var e=Kt(),t=Te()-Gt<500,i=n.tween;if(!(t||Math.abs(Bt.getVelocity())<10)||i||$||Vt===e)Bt.isActive&&Vt!==e&&te.restart(!0);else{var a,s,u=(e-l)/v,f=r&&!_t?r.totalProgress():u,d=t?0:(f-U)/(Te()-j)*1e3||0,p=z.utils.clamp(-u,1-u,Ve(d/2)*d/.185),h=u+(!1===ut.inertia?0:p),g=ut,m=g.onStart,y=g.onInterrupt,x=g.onComplete;if(a=o(h,Bt),He(a)||(a=h),s=Math.max(0,Math.round(l+a*v)),e<=c&&e>=l&&s!==e){if(i&&!i._initted&&i.data<=Ve(s-e))return;!1===ut.inertia&&(p=a-u),n(s,{duration:ee(Ve(.185*Math.max(Ve(h-f),Ve(a-f))/d/.05||0)),ease:ut.ease||"power3",data:Ve(s-e),onInterrupt:function(){return te.restart(!0)&&y&&y(Bt)},onComplete:function(){Bt.update(),Vt=Kt(),r&&!_t&&(K?K.resetTo("totalProgress",a,r._tTime/r._tDur):r.progress(a)),q=U=r&&!_t?r.totalProgress():Bt.progress,it&&it(Bt),x&&x(Bt)}},e,p*v,s-e-p*v),m&&m(Bt,n.tween)}}})).pause()),he&&(dt[he]=Bt),(se=(Pe=Bt.trigger=O(Pe||!0!==Oe&&Oe))&&Pe._gsap&&Pe._gsap.stRevert)&&(se=se(Bt)),Oe=!0===Oe?Pe:O(Oe),Ne(pe)&&(pe={targets:Pe,className:pe}),Oe&&(!1===De||"margin"===De||(De=!(!De&&Oe.parentNode&&Oe.parentNode.style&&"flex"===Ke(Oe.parentNode).display)&&Ge),Bt.pin=Oe,(i=z.core.getCache(Oe)).spacer?m=i.pinState:(gt&&((gt=O(gt))&&!gt.nodeType&&(gt=gt.current||gt.nativeElement),i.spacerIsNative=!!gt,gt&&(i.spacerState=Xt(gt))),i.spacer=T=gt||F.createElement("div"),T.classList.add("pin-spacer"),he&&T.classList.add("pin-spacer-"+he),i.pinState=m=Xt(Oe)),!1!==t.force3D&&z.set(Oe,{force3D:!0}),Bt.spacer=T=i.spacer,L=Ke(Oe),D=L[De+wt.os2],C=z.getProperty(Oe),E=z.quickSetter(Oe,wt.a,je),Yt(Oe,T,L),w=Xt(Oe)),Rt){h=We(Rt)?Ze(Rt,ot):ot,d=ct("scroller-start",he,Tt,wt,h,0),p=ct("scroller-end",he,Tt,wt,h,0,d),k=d["offset"+wt.op.d2];var Zt=O(_(Tt,"content")||Tt);u=this.markerStart=ct("start",he,Zt,wt,h,k,0,mt),f=this.markerEnd=ct("end",he,Zt,wt,h,k,0,mt),mt&&(ae=z.quickSetter([u,f],wt.a,je)),St||x.length&&!0===_(Tt,"fixedMarkers")||(ue=Ke(ce=Et?W:Tt).position,ce.style.position="absolute"===ue||"fixed"===ue?ue:"relative",z.set([d,p],{force3D:!0}),B=z.quickSetter(d,wt.a,je),X=z.quickSetter(p,wt.a,je))}if(mt){var $t=mt.vars.onUpdate,Jt=mt.vars.onUpdateParams;mt.eventCallback("onUpdate",(function(){Bt.update(0,0,1),$t&&$t.apply(mt,Jt||[])}))}if(Bt.previous=function(){return ft[ft.indexOf(Bt)-1]},Bt.next=function(){return ft[ft.indexOf(Bt)+1]},Bt.revert=function(e,t){if(!t)return Bt.kill(!0);var n=!1!==e||!Bt.enabled,i=Z;n!==Bt.isReverted&&(n&&(re=Math.max(Kt(),Bt.scroll.rec||0),jt=Bt.progress,oe=r&&r.progress()),u&&[u,f,d,p].forEach((function(e){return e.style.display=n?"none":"block"})),n&&(Z=Bt,Bt.update(n)),!Oe||pt&&Bt.isActive||(n?function(e,t,r){It(r);var n=e._gsap;if(n.spacerIsNative)It(n.spacerState);else if(e._gsap.swappedIn){var i=t.parentNode;i&&(i.insertBefore(e,t),i.removeChild(t))}e._gsap.swappedIn=!1}(Oe,T,m):Yt(Oe,T,Ke(Oe),Y)),n||Bt.update(n),Z=i,Bt.isReverted=n)},Bt.refresh=function(i,o,h,y){if(!Z&&Bt.enabled||o)if(Oe&&i&&Ce)rt(e,"scrollEnd",xt);else{!xe&&Nt&&Nt(Bt),Z=Bt,n.tween&&!h&&(n.tween.kill(),n.tween=0),K&&K.pause(),Ye&&r&&r.revert({kill:!1}).invalidate(),Bt.isReverted||Bt.revert(!0,!0),Bt._subPinOffset=!1;var x,_,k,E,D,B,X,L,N,q,U,V,G,j=Ht(),$=Ut(),J=mt?mt.duration():ze(Tt,wt),Q=v<=.01,ee=0,ne=y||0,ae=We(h)?h.end:t.end,se=t.endTrigger||Pe,le=We(h)?h.start:t.start||(0!==t.start&&Pe?Oe?"0 0":"0 100%":0),ce=Bt.pinnedContainer=t.pinnedContainer&&O(t.pinnedContainer,Bt),ue=Pe&&Math.max(0,ft.indexOf(Bt))||0,fe=ue;for(Rt&&We(h)&&(V=z.getProperty(d,wt.p),G=z.getProperty(p,wt.p));fe-- >0;)(B=ft[fe]).end||B.refresh(0,1)||(Z=Bt),!(X=B.pin)||X!==Pe&&X!==Oe&&X!==ce||B.isReverted||(q||(q=[]),q.unshift(B),B.revert(!0,!0)),B!==ft[fe]&&(ue--,fe--);for(Fe(le)&&(le=le(Bt)),le=Se(le,"start",Bt),l=Lt(le,Pe,j,wt,Kt(),u,d,Bt,$,Dt,St,J,mt,Bt._startClamp&&"_startClamp")||(Oe?-.001:0),Fe(ae)&&(ae=ae(Bt)),Ne(ae)&&!ae.indexOf("+=")&&(~ae.indexOf(" ")?ae=(Ne(le)?le.split(" ")[0]:"")+ae:(ee=lt(ae.substr(2),j),ae=Ne(le)?le:(mt?z.utils.mapRange(0,mt.duration(),mt.scrollTrigger.start,mt.scrollTrigger.end,l):l)+ee,se=Pe)),ae=Se(ae,"end",Bt),c=Math.max(l,Lt(ae||(se?"100% 0":J),se,j,wt,Kt()+ee,f,p,Bt,$,Dt,St,J,mt,Bt._endClamp&&"_endClamp"))||-.001,ee=0,fe=ue;fe--;)(X=(B=ft[fe]).pin)&&B.start-B._pinPush<=l&&!mt&&B.end>0&&(x=B.end-(Bt._startClamp?Math.max(0,B.start):B.start),(X===Pe&&B.start-B._pinPush=ze(Tt,wt)){if(Pe&&Kt()&&!mt)for(_=Pe.parentNode;_&&_!==W;)_._pinOffset&&(l-=_._pinOffset,c-=_._pinOffset),_=_.parentNode}else x=Ke(Oe),E=wt===P,k=Kt(),S=parseFloat(C(wt.a))+ne,!J&&c>1&&(U={style:U=(Et?F.scrollingElement||H:Tt).style,value:U["overflow"+wt.a.toUpperCase()]},Et&&"scroll"!==Ke(W)["overflow"+wt.a.toUpperCase()]&&(U.style["overflow"+wt.a.toUpperCase()]="scroll")),Yt(Oe,T,x),w=Xt(Oe),_=$e(Oe,!0),L=St&&A(Tt,E?M:P)(),De?((Y=[De+wt.os2,v+ne+je]).t=T,(fe=De===Ge?Je(Oe,wt)+v+ne:0)&&(Y.push(wt.d,fe+je),"auto"!==T.style.flexBasis&&(T.style.flexBasis=fe+je)),It(Y),ce&&ft.forEach((function(e){e.pin===ce&&!1!==e.vars.pinSpacing&&(e._subPinOffset=!0)})),St&&Kt(re)):(fe=Je(Oe,wt))&&"auto"!==T.style.flexBasis&&(T.style.flexBasis=fe+je),St&&((D={top:_.top+(E?k-l:L)+je,left:_.left+(E?L:k-l)+je,boxSizing:"border-box",position:"fixed"}).width=D.maxWidth=Math.ceil(_.width)+je,D.height=D.maxHeight=Math.ceil(_.height)+je,D.margin=D.marginTop=D.marginRight=D.marginBottom=D.marginLeft="0",D[Ge]=x[Ge],D[Ge+"Top"]=x[Ge+"Top"],D[Ge+"Right"]=x[Ge+"Right"],D[Ge+"Bottom"]=x[Ge+"Bottom"],D[Ge+"Left"]=x[Ge+"Left"],b=function(e,t,r){for(var n,i=[],o=e.length,a=r?8:0;a1,St&&I&&b.splice(b.length-2,2),r.render(0,!0,!0),N||r.invalidate(!0),r.parent||r.totalTime(r.totalTime()),ie(0)):R=v,U&&(U.value?U.style["overflow"+wt.a.toUpperCase()]=U.value:U.style.removeProperty("overflow-"+wt.a));q&&q.forEach((function(e){return e.revert(!1,!0)})),Bt.start=l,Bt.end=c,a=s=xe?re:Kt(),mt||xe||(a0?ft.slice(0,t).reverse():ft.slice(t+1);return(Ne(e)?r.filter((function(t){return t.vars.preventOverlaps===e})):r).filter((function(e){return Bt.direction>0?e.end<=l:e.start>=c}))},Bt.update=function(e,t,i){if(!mt||i||e){var o,u,f,p,h,g,m,y=!0===xe?re:Bt.scroll(),x=e?0:(y-l)/v,_=x<0?0:x>1?1:x||0,k=Bt.progress;if(t&&(s=a,a=mt?Kt():y,ut&&(U=q,q=r&&!_t?r.totalProgress():_)),Le&&Oe&&!Z&&!_e&&Ce&&(!_&&ly+(y-s)/(Te()-j)*Le&&(_=.9999)),_!==k&&Bt.enabled){if(p=(h=(o=Bt.isActive=!!_&&_<1)!==(!!k&&k<1))||!!_!=!!k,Bt.direction=_>k?1:-1,Bt.progress=_,p&&!Z&&(u=_&&!k?0:1===_?1:1===k?2:3,_t&&(f=!h&&"none"!==At[u+1]&&At[u+1]||At[u],m=r&&("complete"===f||"reset"===f||f in r))),bt&&(h||m)&&(m||ke||!r)&&(Fe(bt)?bt(Bt):Bt.getTrailing(bt).forEach((function(e){return e.endAnimation()}))),_t||(!K||Z||_e?r&&r.totalProgress(_,!(!Z||!Gt&&!e)):(K._dp._time-K._start!==K._time&&K.render(K._dp._time-K._start),K.resetTo?K.resetTo("totalProgress",_,r._tTime/r._tDur):(K.vars.totalProgress=_,K.invalidate().restart()))),Oe)if(e&&De&&(T.style[De+wt.os2]=D),St){if(p){if(g=!e&&_>k&&c+1>y&&y+1>=ze(Tt,wt),pt)if(e||!o&&!g)Ft(Oe,T);else{var C=$e(Oe,!0),M=y-l;Ft(Oe,W,C.top+(wt===P?M:0)+je,C.left+(wt===P?0:M)+je)}It(o||g?b:w),I&&_<1&&o||E(S+(1!==_||g?0:R))}}else E(Re(S+R*_));ut&&!n.tween&&!Z&&!_e&&te.restart(!0),pe&&(h||st&&_&&(_<1||!me))&&V(pe.targets).forEach((function(e){return e.classList[o||st?"add":"remove"](pe.className)})),de&&!_t&&!e&&de(Bt),p&&!Z?(_t&&(m&&("complete"===f?r.pause().totalProgress(1):"reset"===f?r.restart(!0).pause():"restart"===f?r.restart(!0):r[f]()),de&&de(Bt)),!h&&me||(ge&&h&&Ue(Bt,ge),Pt[u]&&Ue(Bt,Pt[u]),st&&(1===_?Bt.kill(!1,1):Pt[u]=0),h||Pt[u=1===_?1:3]&&Ue(Bt,Pt[u])),yt&&!o&&Math.abs(Bt.getVelocity())>(He(yt)?yt:2500)&&(qe(Bt.callbackAnimation),K?K.progress(1):qe(r,"reverse"===f?1:!_,1))):_t&&de&&!Z&&de(Bt)}if(X){var O=mt?y/mt.duration()*(mt._caScrollDist||0):y;B(O+(d._isFlipped?1:0)),X(O)}ae&&ae(-y/mt.duration()*(mt._caScrollDist||0))}},Bt.enable=function(t,r){Bt.enabled||(Bt.enabled=!0,rt(Tt,"resize",vt),Et||rt(Tt,"scroll",ht),Nt&&rt(e,"refreshInit",Nt),!1!==t&&(Bt.progress=jt=0,a=s=Vt=Kt()),!1!==r&&Bt.refresh())},Bt.getTween=function(e){return e&&n?n.tween:K},Bt.setPositions=function(e,t,r,n){if(mt){var i=mt.scrollTrigger,o=mt.duration(),a=i.end-i.start;e=i.start+a*e/o,t=i.start+a*t/o}Bt.refresh(!1,!1,{start:Me(e,r&&!!Bt._startClamp),end:Me(t,r&&!!Bt._endClamp)},n),Bt.update()},Bt.adjustPinSpacing=function(e){if(Y&&e){var t=Y.indexOf(wt.d)+1;Y[t]=parseFloat(Y[t])+e+je,Y[1]=parseFloat(Y[1])+e+je,It(Y)}},Bt.disable=function(t,r){if(Bt.enabled&&(!1!==t&&Bt.revert(!0,!0),Bt.enabled=Bt.isActive=!1,r||K&&K.pause(),re=0,i&&(i.uncache=1),Nt&&nt(e,"refreshInit",Nt),te&&(te.pause(),n.tween&&n.tween.kill()&&(n.tween=0)),!Et)){for(var o=ft.length;o--;)if(ft[o].scroller===Tt&&ft[o]!==Bt)return;nt(Tt,"resize",vt),Et||nt(Tt,"scroll",ht)}},Bt.kill=function(e,n){Bt.disable(e,n),K&&!n&&K.kill(),he&&delete dt[he];var o=ft.indexOf(Bt);o>=0&&ft.splice(o,1),o===Q&&Ot>0&&Q--,o=0,ft.forEach((function(e){return e.scroller===Bt.scroller&&(o=1)})),o||xe||(Bt.scroll.rec=0),r&&(r.scrollTrigger=null,e&&r.revert({kill:!1}),n||r.kill()),u&&[u,f,d,p].forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),we===Bt&&(we=0),Oe&&(i&&(i.uncache=1),o=0,ft.forEach((function(e){return e.pin===Oe&&o++})),o||(i.spacer=0)),t.onKill&&t.onKill(Bt)},ft.push(Bt),Bt.enable(!1,!1),se&&se(Bt),r&&r.add&&!v){var Qt=Bt.update;Bt.update=function(){Bt.update=Qt,y.cache++,l||c||Bt.refresh()},z.delayedCall(.01,Bt.update),v=.01,l=c=0}else Bt.refresh();Oe&&function(){if(be!==Ct){var e=be=Ct;requestAnimationFrame((function(){return e===Ct&&Mt(!0)}))}}()}else this.update=this.refresh=this.kill=Ae},e.register=function(t){return L||(z=t||Ye(),De()&&window.document&&e.enable(),L=Ee),L},e.defaults=function(e){if(e)for(var t in e)at[t]=e[t];return at},e.disable=function(e,t){Ee=0,ft.forEach((function(r){return r[t?"kill":"disable"](e)})),nt(N,"wheel",ht),nt(F,"scroll",ht),clearInterval(K),nt(F,"touchcancel",Ae),nt(W,"touchstart",Ae),tt(nt,F,"pointerdown,touchstart,mousedown",Pe),tt(nt,F,"pointerup,touchend,mouseup",Oe),U.kill(),Le(nt);for(var r=0;r0&&n.left+i0&&n.top+i=0&&wt.splice(t,5),wt.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),z.core.getCache(e),fe())}})):wt},Ut.revert=function(e,t){return Tt(!e,t)},Ut.create=function(e,t){return new Ut(e,t)},Ut.refresh=function(e){return e?vt(!0):(L||Ut.register())&&Mt(!0)},Ut.update=function(e){return++y.cache&&At(!0===e?2:0)},Ut.clearScrollMemory=kt,Ut.maxScroll=function(e,t){return ze(e,t?M:P)},Ut.getScrollFunc=function(e,t){return A(O(e),t?M:P)},Ut.getById=function(e){return dt[e]},Ut.getAll=function(){return ft.filter((function(e){return"ScrollSmoother"!==e.vars.id}))},Ut.isScrolling=function(){return!!Ce},Ut.snapDirectional=et,Ut.addEventListener=function(e,t){var r=mt[e]||(mt[e]=[]);~r.indexOf(t)||r.push(t)},Ut.removeEventListener=function(e,t){var r=mt[e],n=r&&r.indexOf(t);n>=0&&r.splice(n,1)},Ut.batch=function(e,t){var r,n=[],i={},o=t.interval||.016,a=t.batchMax||1e9,s=function(e,t){var r=[],n=[],i=z.delayedCall(o,(function(){t(r,n),r=[],n=[]})).pause();return function(e){r.length||i.restart(!0),r.push(e.trigger),n.push(e),a<=r.length&&i.progress(1)}};for(r in t)i[r]="on"===r.substr(0,2)&&Fe(t[r])&&"onRefreshInit"!==r?s(0,t[r]):t[r];return Fe(a)&&(a=a(),rt(Ut,"refresh",(function(){return a=t.batchMax()}))),V(e).forEach((function(e){var t={};for(r in i)t[r]=i[r];t.trigger=e,n.push(Ut.create(t))})),n};var Vt,Gt=function(e,t,r,n){return t>n?e(n):t<0&&e(0),r>n?(n-t)/(r-t):r<0?t/(t-r):1},jt=function e(t,r){!0===r?t.style.removeProperty("touch-action"):t.style.touchAction=!0===r?"auto":r?"pan-"+r+(X.isTouch?" pinch-zoom":""):"none",t===H&&e(W,r)},Kt={auto:1,scroll:1},Zt=function(e){var t,r=e.event,n=e.target,i=e.axis,o=(r.changedTouches?r.changedTouches[0]:r).target,a=o._gsap||z.core.getCache(o),s=Te();if(!a._isScrollT||s-a._isScrollT>2e3){for(;o&&o!==W&&(o.scrollHeight<=o.clientHeight&&o.scrollWidth<=o.clientWidth||!Kt[(t=Ke(o)).overflowY]&&!Kt[t.overflowX]);)o=o.parentNode;a._isScroll=o&&o!==n&&!Be(o)&&(Kt[(t=Ke(o)).overflowY]||Kt[t.overflowX]),a._isScrollT=s}(a._isScroll||"x"===i)&&(r.stopPropagation(),r._gsapAllow=!0)},$t=function(e,t,r,n){return X.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:n=n&&Zt,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return r&&rt(F,X.eventTypes[0],Qt,!1,!0)},onDisable:function(){return nt(F,X.eventTypes[0],Qt,!0)}})},Jt=/(input|label|select|textarea)/i,Qt=function(e){var t=Jt.test(e.target.tagName);(t||Vt)&&(e._gsapAllow=!0,Vt=t)},er=function(e){We(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var t,r,n,i,o,a,s,l,c=e,u=c.normalizeScrollX,f=c.momentum,d=c.allowNestedScroll,p=c.onRelease,h=O(e.target)||H,g=z.core.globals().ScrollSmoother,v=g&&g.get(),m=ue&&(e.content&&O(e.content)||v&&!1!==e.content&&!v.smooth()&&v.content()),x=A(h,P),b=A(h,M),w=1,_=(X.isTouch&&N.visualViewport?N.visualViewport.scale*N.visualViewport.width:N.outerWidth)/N.innerWidth,T=0,k=Fe(f)?function(){return f(t)}:function(){return f||2.8},C=$t(h,e.type,!0,d),E=function(){return i=!1},S=Ae,R=Ae,D=function(){r=ze(h,P),R=G(ue?1:0,r),u&&(S=G(0,ze(h,M))),n=Ct},Y=function(){m._gsap.y=Re(parseFloat(m._gsap.y)+x.offset)+"px",m.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(m._gsap.y)+", 0, 1)",x.offset=x.cacheID=0},B=function(){D(),o.isActive()&&o.vars.scrollY>r&&(x()>r?o.progress(1)&&x(r):o.resetTo("scrollY",r))};return m&&z.set(m,{y:"+=0"}),e.ignoreCheck=function(e){return ue&&"touchmove"===e.type&&function(){if(i){requestAnimationFrame(E);var e=Re(t.deltaY/2),r=R(x.v-e);if(m&&r!==x.v+x.offset){x.offset=r-x.v;var n=Re((parseFloat(m&&m._gsap.y)||0)-x.offset);m.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+n+", 0, 1)",m._gsap.y=n+"px",x.cacheID=y.cache,At()}return!0}x.offset&&Y(),i=!0}()||w>1.05&&"touchstart"!==e.type||t.isGesturing||e.touches&&e.touches.length>1},e.onPress=function(){i=!1;var e=w;w=Re((N.visualViewport&&N.visualViewport.scale||1)/_),o.pause(),e!==w&&jt(h,w>1.01||!u&&"x"),a=b(),s=x(),D(),n=Ct},e.onRelease=e.onGestureStart=function(e,t){if(x.offset&&Y(),t){y.cache++;var n,i,a=k();u&&(i=(n=b())+.05*a*-e.velocityX/.227,a*=Gt(b,n,i,ze(h,M)),o.vars.scrollX=S(i)),i=(n=x())+.05*a*-e.velocityY/.227,a*=Gt(x,n,i,ze(h,P)),o.vars.scrollY=R(i),o.invalidate().duration(a).play(.01),(ue&&o.vars.scrollY>=r||n>=r-1)&&z.to({},{onUpdate:B,duration:a})}else l.restart(!0);p&&p(e)},e.onWheel=function(){o._ts&&o.pause(),Te()-T>1e3&&(n=0,T=Te())},e.onChange=function(e,t,r,i,o){if(Ct!==n&&D(),t&&u&&b(S(i[2]===t?a+(e.startX-e.x):b()+t-i[1])),r){x.offset&&Y();var l=o[2]===r,c=l?s+e.startY-e.y:x()+r-o[1],f=R(c);l&&c!==f&&(s+=f-c),x(f)}(r||t)&&At()},e.onEnable=function(){jt(h,!u&&"x"),Ut.addEventListener("refresh",B),rt(N,"resize",B),x.smooth&&(x.target.style.scrollBehavior="auto",x.smooth=b.smooth=!1),C.enable()},e.onDisable=function(){jt(h,!0),nt(N,"resize",B),Ut.removeEventListener("refresh",B),C.kill()},e.lockAxis=!1!==e.lockAxis,(t=new X(e)).iOS=ue,ue&&!x()&&x(1),ue&&z.ticker.add(Ae),l=t._dc,o=z.to(t,{ease:"power4",paused:!0,inherit:!1,scrollX:u?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:Ht(x,x(),(function(){return o.pause()}))},onUpdate:At,onComplete:l.vars.onComplete}),t};Ut.sort=function(e){if(Fe(e))return ft.sort(e);var t=N.pageYOffset||0;return Ut.getAll().forEach((function(e){return e._sortY=e.trigger?t+e.trigger.getBoundingClientRect().top:e.start+N.innerHeight})),ft.sort(e||function(e,t){return-1e6*(e.vars.refreshPriority||0)+(e.vars.containerAnimation?1e6:e._sortY)-((t.vars.containerAnimation?1e6:t._sortY)+-1e6*(t.vars.refreshPriority||0))})},Ut.observe=function(e){return new X(e)},Ut.normalizeScroll=function(e){if(void 0===e)return ae;if(!0===e&&ae)return ae.enable();if(!1===e)return ae&&ae.kill(),void(ae=e);var t=e instanceof X?e:er(e);return ae&&ae.target===t.target&&ae.kill(),Be(t.target)&&(ae=t),t},Ut.core={_getVelocityProp:R,_inputObserver:$t,_scrollers:y,_proxies:x,bridge:{ss:function(){Ce||bt("scrollStart"),Ce=Te()},ref:function(){return Z}}},Ye()&&z.registerPlugin(Ut),e.ScrollTrigger=Ut,e.default=Ut,"undefined"==typeof window||window!==e?Object.defineProperty(e,"__esModule",{value:!0}):delete window.default})); !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).SplitType=e()}(this,(function(){"use strict";function t(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&void 0!==arguments[0]?arguments[0]:{},n=l(e);return void 0!==n.types?t=n.types:void 0!==n.split&&(t=n.split),void 0!==t&&(n.types=(u(t)||f(t)?String(t):"").split(",").map((function(t){return String(t).trim()})).filter((function(t){return/((line)|(word)|(char))/i.test(t)}))),(n.absolute||n.position)&&(n.absolute=n.absolute||/absolute/.test(e.position)),n}function d(t){var e=u(t)||f(t)?String(t):"";return{none:!e,lines:/line/i.test(e),words:/word/i.test(e),chars:/char/i.test(e)}}function h(t){return null!==t&&"object"==typeof t}function y(t){return h(t)&&/^(1|3|11)$/.test(t.nodeType)}function g(t){return f(t)?t:null==t?[]:function(t){return h(t)&&function(t){return"number"==typeof t&&t>-1&&t%1==0}(t.length)}(t)?Array.prototype.slice.call(t):[t]}function v(t){var e=t;return u(t)&&(e=/^(#[a-z]\w+)$/.test(t.trim())?document.getElementById(t.trim().slice(1)):document.querySelectorAll(t)),g(e).reduce((function(t,e){return[].concat(a(t),a(g(e).filter(y)))}),[])}!function(){function t(){for(var t=arguments.length,e=0;e1&&void 0!==arguments[1]?arguments[1]:" ";return(t?String(t):"").trim().replace(/\s+/g," ").split(e)}(i).reduce((function(t,n,i,l){var f,p;return r.chars&&(p=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return(t=q(t))&&u(t)&&!e&&z(t)?V(t):t.split(e)}(n).map((function(t){var n=U(o,{class:"".concat(e.splitClass," ").concat(e.charClass),style:"display: inline-block;",children:t});return j(n,"isChar",!0),s=[].concat(a(s),[n]),n}))),r.words||r.lines?(j(f=U(o,{class:"".concat(e.wordClass," ").concat(e.splitClass),style:"display: inline-block; ".concat(r.words&&e.absolute?"position: relative;":""),children:r.chars?p:n}),{isWord:!0,isWordStart:!0,isWordEnd:!0}),c.appendChild(f)):p.forEach((function(t){c.appendChild(t)})),i=O)&&(p=d,u.push(f=[])),f.push(r)),e.absolute&&j(r,{top:d,left:h,width:s,height:l}))})),y&&y.removeChild(t),c.lines&&(h=u.map((function(t){var n=U(s,{class:"".concat(e.splitClass," ").concat(e.lineClass),style:"display: block; text-align: ".concat(w,"; width: 100%;")});j(n,"isLine",!0);var r={height:0,top:1e4};return m.appendChild(n),t.forEach((function(t,e,o){var i=C(t),a=i.isWordEnd,c=i.top,s=i.height,l=o[e+1];r.height=Math.max(r.height,s),r.top=Math.min(r.top,c),n.appendChild(t),a&&C(l).isWordStart&&n.append(" ")})),e.absolute&&j(n,{height:r.height,top:r.top}),n})),c.words||_(m),t.replaceChildren(m)),e.absolute&&(t.style.width="".concat(t.style.width||o,"px"),t.style.height="".concat(r,"px"),g(l).forEach((function(t){var e=C(t),n=e.isLine,r=e.top,o=e.left,i=e.width,c=e.height,s=C(t.parentElement),l=!n&&s.isLine;t.style.top="".concat(l?r-s.top:r,"px"),t.style.left="".concat(n?a.left:o-(l?a.left:0),"px"),t.style.height="".concat(c,"px"),t.style.width="".concat(n?a.width:i,"px"),t.style.position="absolute"}))),y&&(v?y.insertBefore(t,v):y.appendChild(t)),h}(t,e.settings,n);e.lines=[].concat(a(e.lines),a(o))}})),this.isSplit=!0,window.scrollTo(n[0],n[1]),m(w).forEach((function(t){var e=i(t,2),n=e[0],r=e[1],o=r.isRoot,a=r.isSplit;o&&a||(w[n]=null,delete w[n])})))}},{key:"revert",value:function(){this.isSplit&&(this.lines=null,this.words=null,this.chars=null,this.isSplit=!1),t.revert(this.elements)}}]),t}()})); jQuery(document).on("ready fusion-widget-render-Fusion_Widget_Tabs",(function(){jQuery(".fusion-tabs-widget .fusion-tabs-nav li a").on("click",(function(n){var t=jQuery(this).data("link");n.preventDefault(),jQuery(this).parents(".fusion-tabs-nav").find("li").removeClass("active"),jQuery(this).parent().addClass("active"),jQuery(this).parents(".fusion-tabs-widget").find(".fusion-tab-content").hide(),jQuery(this).parents(".fusion-tabs-widget").find('.fusion-tab-content[data-name="'+t+'"]').fadeIn()}))})); jQuery(document).ready((function(){jQuery(".fusion-vertical-menu-widget .current_page_item, .fusion-vertical-menu-widget .current-menu-item").each((function(){var e=jQuery(this),n=e.parent();e.find(".children, .sub-menu").length&&e.find(".children, .sub-menu").show("slow"),e.parentsUntil(".fusion-vertical-menu-widget",".children, .sub-menu").show("slow"),n.hasClass("fusion-vertical-menu-widget")&&e.find("ul").show("slow")}))})),jQuery(window).on("load",(function(){jQuery(".fusion-vertical-menu-widget.click li a .arrow").on("click",(function(e){var n=jQuery(this).parent(),i=n.parent(),t=i.find("> .children, > .sub-menu");if(e.preventDefault(),(i.hasClass("page_item_has_children")||i.hasClass("menu-item-has-children"))&&(t.length&&!t.is(":visible")?t.stop(!0,!0).slideDown("slow"):t.stop(!0,!0).slideUp("slow")),n.parent(".page_item_has_children.current_page_item, .menu-item-has-children.current-menu-item").length)return!1})),jQuery(".fusion-vertical-menu-widget.hover li").each((function(){var e;jQuery(this).hover((function(){var n=jQuery(this).find("> .children, > .sub-menu");clearTimeout(e),e=setTimeout((function(){n.length&&n.stop(!0,!0).slideDown("slow")}),500)}),(function(){var n=jQuery(this),i=n.find(".children, .sub-menu");clearTimeout(e),e=setTimeout((function(){0===n.find(".current_page_item").length&&!1===n.hasClass("current_page_item")&&i.stop(!0,!0).slideUp("slow")}),500)}))}))})); var fusionJSVars={"visibility_small":"640","visibility_medium":"1024"};var fusion={fusionResizeWidth:0,fusionResizeHeight:0,currentPostID:null,toBool:function(t){return 1===t||"1"===t||!0===t||"true"===t||"on"===t},restArguments:function(t,e){return e=null==e?t.length-1:+e,function(){for(var n,i=Math.max(arguments.length-e,0),o=Array(i),r=0;rt.rootBounds.height?(i=t.rootBounds.height/t.boundingClientRect.height,e.thresholds.filter((function(e){return e>=t.intersectionRatio&&e<=i})).length||(n=!0)):t.isIntersecting&&1===t.intersectionRatio&&(n=!0):t.isIntersecting&&(n=!0),n},getCurrentPostID:function(){return null===this.currentPostID&&(this.currentPostID=void 0!==jQuery("body").data("awb-post-id")?jQuery("body").data("awb-post-id"):0),this.currentPostID}};fusion.delay=fusion.restArguments((function(t,e,n){return setTimeout((function(){return t.apply(null,n)}),e)})),fusion.ready=function(t){if("function"==typeof t)return"complete"===document.readyState?t():void document.addEventListener("DOMContentLoaded",t,!1)},fusion.passiveSupported=function(){var t,e;if(void 0===fusion.supportsPassive){try{e={get passive(){t=!0}},window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(e){t=!1}fusion.supportsPassive=!!t&&{passive:!0}}return fusion.supportsPassive},fusion.getElements=function(t){var e=[];return t?("object"==typeof t?Object.keys(t).forEach((function(n){Element.prototype.isPrototypeOf(t[n])&&e.push(t[n])})):"string"==typeof t&&(e=document.querySelectorAll(t),e=Array.prototype.slice.call(e)),e):[]},Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(t){var e=this;do{if(e.matches(t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}),jQuery(document).ready((function(){var t;void 0===jQuery.migrateVersion&&2