!function(){"use strict";window._tpt??={},_tpt.R??={},_tpt.__bundled??={},_tpt.__bundled.tools=!0,_tpt.R.tptools??={},_tpt.R.tptools.status=2,_tpt.R.tpgsap??={},_tpt.R.tpgsap.status=2}(),function(){"use strict";if(window._tpt??={},_tpt.loadingScripts??={},void 0!==_tpt.checkResources)return;function t(t){if(!t)return t;if(t.endsWith(".js")||t.endsWith(".css")){const e=t.includes("?")?"&":"?";return t+e+"ver="+(SR7.E?.revision??"7.0.5")}return t}function e(t,e){if(0===t.length)return 0;const r=t[t.length-1]-e;return t.length/(r/1e3)}var r,n,i;_tpt.dpr=Math.max(1,Math.min(2,window.devicePixelRatio||1)),_tpt.hop=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),void 0!==window.RVS&&void 0!==window.tpGS&&(_tpt.gsap=window.tpGS.gsap),_tpt.regResource=function(e){_tpt.R[e.id]??={},_tpt.R[e.id].status??=0,void 0!==e.url&&(_tpt.R[e.id].url=t(e.url)),void 0!==e.fonts&&(_tpt.R[e.id].fonts=e.fonts),void 0!==e.css&&(_tpt.R[e.id].css=t(e.css)),void 0!==e.fontfamily&&(_tpt.R[e.id].fontfamily=e.fontfamily),void 0!==e.fonticon&&(_tpt.R[e.id].fonticon=e.fonticon),void 0!==e.event&&(_tpt.R[e.id].event=e.event)},_tpt.ghostUpdate=(t=19,e)=>{if(SR7.E.backend)if(_tpt.gUTimer??={},null==e)clearTimeout(_tpt.gUTimer.all),_tpt.gUTimer.all=setTimeout(()=>{_tpt.gUTimer.all=null,SR7.editor.elements.ghost.update()},t);else{if(void 0!==_tpt.gUTimer.all)return;clearTimeout(_tpt.gUTimer[e.lkey]),_tpt.gUTimer[e.lkey]=setTimeout(()=>{SR7.editor.elements.ghost.build(e)},t)}},_tpt.acc={announcer:{_el:null,_styleId:"tpt-sr-announcer-style",init(){return this._el||(this._el=document.getElementById("sr-announcer"),this._el||(this._el=document.createElement("div"),this._el.id="sr-announcer",this._el.setAttribute("role","status"),this._el.setAttribute("aria-live","polite"),this._el.setAttribute("aria-atomic","true"),document.body.appendChild(this._el))),this._el},update({customText:t,moduleName:e,slideIndex:r,totalSlides:n,slideTitle:i}){this.init();let s="";if(t&&"auto"!==String(t).toLowerCase()&&t.length>0&&"undefined"!==t)s=t;else{s=`${e?`${e}: `:""}Slide ${r} of ${n}${i?` – ${i}`:""}`}this._el.textContent="",setTimeout(()=>{this._el.textContent=s},50)}}},_tpt.createCheckerboardImage=(t=10,e="#ECECEC",r="#F7F7F7")=>{const n=document.createElement("canvas");n.width=n.height=2*t;const i=n.getContext("2d");return i.fillStyle=e,i.fillRect(0,0,t,t),i.fillRect(t,t,t,t),i.fillStyle=r,i.fillRect(t,0,t,t),i.fillRect(0,t,t,t),n},_tpt.checkResources=async function(e,r){const n=[];return e.forEach(e=>{void 0===_tpt.R.DOM&&(_tpt.R.DOM={status:0});const r=_tpt.R[e];void 0!==r&&2!==r.status&&("DOM"===e?(_tpt.R[e].status=1,n.push(_tpt.waitForDOM(e))):void 0!==r.fonticon?(n.push(_tpt.loadCSS(r.url,e)),r.woff2&&n.push(_tpt.loadWoff2(r.woff2,e))):void 0!==r.url?n.push(_tpt.loadScript(t(r.url),e,r.test,r.listen)):r.fonts||(r.css?n.push(_tpt.loadCSS(t(r.css),e)):r.event&&n.push(_tpt.waitForEvent(r.event,e))))}),r?await Promise.allSettled(n):await Promise.all(n)},_tpt.addonAjax=async function(t,e,r,n){const i=String(e||"").trim(),s=t=>"function"==typeof n?t.then(t=>(n(t),t)):t;if(Array.isArray(t))return s(Promise.all(t.map(t=>_tpt.addonAjax(t,i,r))));const o=String(t||"").trim(),a=o.toLowerCase();if("lang.get"===i||"values.get"===i||"all.get"===i){_tpt.addonAjaxLangPromise??=Object.create(null);const t=_tpt.addonAjaxLangPromise[a]??=Object.create(null),e=SR7?.LIB?.A?.find(t=>String(t?.slug||"").toLowerCase()===a);return"lang.get"!==i&&"all.get"!==i||!e?.lang||t["lang.get"]||(t["lang.get"]=Promise.resolve({success:!0,data:e.lang||{}}).then(t=>(SR7.LANG=_tpt.extend(SR7.LANG,t.data),t))),"values.get"!==i&&"all.get"!==i||!e?.values||t["values.get"]||(t["values.get"]=Promise.resolve({success:!0,data:e.values||{}})),"all.get"===i?(t["all.get"]??=Promise.all([_tpt.addonAjax(o,"lang.get",r),_tpt.addonAjax(o,"values.get",r)]).then(([,t])=>t),s(t["all.get"])):(t[i]??=new Promise((t,e)=>{_tpt.ajax({action:"revslider-"+o+"-addon."+i,data:r,callBack:function(r){(r=_tpt.fixResponse(r))&&r.success?("lang.get"===i&&(SR7.LANG=_tpt.extend(SR7.LANG,r.data)),t(r)):e()}})}).catch(e=>{throw delete t[i],e}),s(t[i]))}return new Promise((t,e)=>{_tpt.ajax({action:"revslider-"+o+"-addon."+i,data:r,callBack:function(r){(r=_tpt.fixResponse(r))&&r.success?("function"==typeof n&&n(r),t(r)):e(new Error("Failed to load addon data"))}})})},_tpt.waitForDOM=async function(){return new Promise(t=>{"interactive"===document.readyState||"complete"===document.readyState?(_tpt.R.DOM.status=2,setTimeout(function(){t()},19)):document.addEventListener("DOMContentLoaded",()=>{_tpt.R.DOM.status=2,setTimeout(function(){t()},19)})})},_tpt.waitForEvent=async function(t,e){return new Promise(r=>{_tpt.R[e].status??=1,2!==_tpt.R[e].status?document.addEventListener(t,()=>{_tpt.R[e].status=2,r()},{once:!0}):r()})},_tpt.loadCSS??=async function(t,e,r){return r?_tpt.R.fonts.required[e].status=1:(_tpt.R[e]??={},_tpt.R[e].status=1),new Promise((n,i)=>{if(_tpt.isStylesheetLoaded(t))r?_tpt.R.fonts.required[e].status=2:_tpt.R[e].status=2,n();else{const s=document.createElement("link");s.rel="stylesheet";let o="text",a="css";s["type"]=o+"/"+a,s.href=t,s.onload=()=>{r?_tpt.R.fonts.required[e].status=2:_tpt.R[e].status=2,n()},s.onerror=()=>{r?_tpt.R.fonts.required[e].status=3:_tpt.R[e].status=3,i(new Error(`Failed to load CSS: ${t}`))},document.head.appendChild(s)}})},_tpt.isStylesheetLoaded??=function(t){let e=t.split("?")[0];return Array.from(document.querySelectorAll('link[rel="stylesheet"], link[rel="preload"]')).some(t=>t.href.split("?")[0]===e)},_tpt.loadScript=async function(t,e){_tpt.R[e].status=1,"string"==typeof t&&(t=[t]);for(const r of t)if(_tpt.loadingScripts[r])try{if(await _tpt.loadingScripts[r],2===_tpt.R[e].status)return}catch(t){console.error(t)}else{_tpt.loadingScripts[r]=new Promise((t,n)=>{const i=document.createElement("script");i.src=r,i.onload=()=>{_tpt.R[e].status=2,t()},i.onerror=()=>{_tpt.R[e].status=3;const t=new Error(`Failed to load script: ${r}`);n(t)},document.head.appendChild(i)});try{if(await _tpt.loadingScripts[r],2===_tpt.R[e].status)return}catch(t){return void console.error(t)}}throw new Error("Unable to load scripts.")},_tpt.loadWoff2=async function(t,e){return _tpt.R[e].status=1,new Promise((r,n)=>{const i=document.createElement("style");i.className="sr7-inline-css",i.type="text/css",i.classList.add("sr7-inline-css"),i.textContent=`\n\t\t\t\t@font-face {\n\t\t\t\t\tfont-family: ${_tpt.R[e].fontfamily};\n\t\t\t\t\tsrc: url("${t}") format("woff2");\n\t\t\t\t}\n\t\t\t`,i.onload=()=>{_tpt.R[e].status=2,r()},i.onerror=()=>{_tpt.R[e].status=3,n(new Error(`Failed to load font: ${t}`))},document.head.appendChild(i)})},_tpt.restAPI=async function(t,e){_tpt.restAPILoad(t).then(e=>{"function"==typeof t.callBack&&t.callBack(e)}).catch(r=>{if(!e)throw r;console.log(r),"function"==typeof t.callBack&&t.callBack(r)})},_tpt.restApiIdCut=function(t){if(null==t)return;const e=(t=t.replace("SR7_","")).lastIndexOf("_");if(-1===e)return t;const r=t.substring(e+1);return Number.isFinite(parseInt(r))?t.substring(0,e):t},_tpt.urlProtocol=function(t,e){return"/"==(""+t)[0]&&"/"==(""+t)[1]?(e?"https:":window.location.protocol)+t:(""+t).includes("://")?(e||t.includes("https")?"https:":window.location.protocol)+"//"+t.split("://").slice(1).join("://"):t},_tpt.restAPILoad=async function(t){var e=_tpt.urlProtocol(t.url||window.SR7.E.resturl);const r=new URLSearchParams(window.location.search),n="true"===r.get("preview")&&"true"===r.get("fromeditor");var i=t.method||"GET";return e+="slider.get.full_object"==t.action?"sliderrevolution/sliders/":"slider.get.stream"==t.action?"sliderrevolution/sliders/stream/":"get_modal_settings"==t.action?"sliderrevolution/sliders/modal/":"fonts.get"==t.action?"sliderrevolution/fonts":"","fonts.get"==t.action?e=void 0!==t.font&&""!==t.font?e+"/"+t.font:e:e+=(null==t.id?t.alias??"":_tpt.restApiIdCut(t.id))+(e.includes("?")?"&srengine="+(6==t.version?6:7):"?srengine="+(6==t.version?6:7)),t.nonce&&(e+=(e.includes("?")?"&":"?")+"nonce="+t.nonce),n&&(e+=(e.includes("?")?"&":"?")+"preview=true"),null==t.id&&t.forcealias&&void 0!==t.alias&&(e+=e.includes("?")?"&alias=true":"?alias=true"),"slider.get.stream"==t.action&&SR7.E?.wpml?.lang&&(e+=(e.includes("?")?"&srlang=":"?srlang=")+SR7.E.wpml.lang),"slider.get.full_object"==t.action&&void 0!==t.slideid&&(e+=(e.includes("?")?"&slideid":"?slideid")+"="+t.slideid),t.raw&&(e+=(e.includes("?")?"&raw":"?raw")+"=true"),new Promise((t,r)=>{const n=performance.now(),s=new XMLHttpRequest;s.open(i,e,!0),s.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"),s.setRequestHeader("X-Requested-With","XMLHttpRequest"),s.onload=()=>{let i=0;try{i="string"==typeof s.response?s.response.length:s.responseText?s.responseText.length:0}catch{i=0}_tpt.network?.record?.({url:e,start:n,end:performance.now(),bytes:i,ok:200===s.status}),200===s.status?t(s.response):r(s.statusText)},s.onerror=()=>{_tpt.network?.record?.({url:e,start:n,end:performance.now(),bytes:0,ok:!1}),r(s.statusText)},s.send()})},_tpt.measureAverageFrameRate=(t,r,n=30)=>new Promise(i=>{let s=[],o=[],a=0;const u=performance.now(),l=()=>{if(SR7?.M[r]?.states?.inViewPort){if(s.push(performance.now()),s.length%45==0){let t=e(s.slice(-45),s[s.length-45]);o.push(t),o.length>3&&o.shift(),t<n&&a++}performance.now()-u<t?requestAnimationFrame(l):i({averageFPS:e(s,u),lowFrameRateCount:a})}else i({averageFPS:e(s,u),lowFrameRateCount:a})};requestAnimationFrame(l)}),_tpt.fixResponse=t=>{if("object"==typeof t)return t;let e=0,r=!1,n=!1,i=-1,s=[];for(let o=0;o<t.length;o++){let a=t[o];if(n)n=!1;else if("\\"!==a){if('"'===a&&(r=!r),!r)if("{"===a)0===e&&(i=o),e++;else if("}"===a&&(e--,0===e&&-1!==i)){let e=t.substring(i,o+1);i=-1;try{let t=JSON.parse(e);s.push(t)}catch{}}}else n=!0}for(let t of s)if(t&&!0===t.success)return t;return s.length>0?s[0]:t},_tpt.ajax=async function(t){_tpt.ajaxLoad(t).then(e=>{"function"==typeof t.callBack&&t.callBack(e)}).catch(t=>{throw t})},_tpt.debugSR7Canvases=function(){document.querySelectorAll("canvas").forEach((t,e)=>{try{const r=t.getContext("2d");if(!r)return;const n=t.width,i=t.height,s=t.getAttribute("data-use-for")||"",o=t.tagName.toLowerCase(),a=t.className||"",u=`${o}  #${e}\n${s?"use: "+s:a}`;r.save(),r.strokeStyle="red",r.lineWidth=4,r.strokeRect(0,0,n,i),r.fillStyle="rgba(0,0,0,0.5)",r.fillRect(0,0,n,50),r.fillStyle="yellow",r.font="20px Arial",r.textBaseline="top";u.split("\n").forEach((t,e)=>{r.fillText(t,10,10+22*e)}),r.restore()}catch{}})},_tpt.ajaxLoad=async function(t,e=5){var r,n=t.url||window.SR7.E.ajaxurl,i=t.method||"POST";return t.isFileUpload?((r=new FormData).append("import_file",t.data.file),r.append("action","slider.get.full_object"==t.action&&!0!==t.backend||"plugin.get.transitions"==t.action||"slider.get.stream"==t.action||"slider.get.modal"==t.action?"revslider_ajax_call_front":"rs_ajax_action"),r.append("client_action",t.action),r.append("nonce",window.SR7.E.backend?window.SR7.E.nonce:void 0)):r={action:"slider.get.full_object"==t.action&&!0!==t.backend||"plugin.get.transitions"==t.action||"slider.get.stream"==t.action||"slider.get.modal"==t.action?"revslider_ajax_call_front":"rs_ajax_action",client_action:t.action,data:t.data,version:7,nonce:window.SR7.E.backend?window.SR7.E.nonce:window.SR7.E.block_editor?window.SR7.E.block_nonce??window.SR7.E.nonce:void 0},"slider.get.full"==t.action&&(n+=n.includes("?")?"&srengine=6":"?srengine=6"),new Promise((s,o)=>{const a=performance.now(),u=new XMLHttpRequest;u.open(i,n,!0);const l=t.responseType||t.xhrFields&&t.xhrFields.responseType;if(l)try{u.responseType=l}catch{}t.isFileUpload||u.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"),u.setRequestHeader("X-Requested-With","XMLHttpRequest"),u.onload=()=>{let t=0;try{t="string"==typeof u.response?u.response.length:u.responseText?u.responseText.length:u.response instanceof ArrayBuffer?u.response.byteLength:u.response instanceof Blob?u.response.size:0}catch{t=0}_tpt.network?.record?.({url:n,start:a,end:performance.now(),bytes:t,ok:200===u.status}),200===u.status?s(u.response):401===u.status?(window.SR7?.E?.backend&&SR7?.B?.message?.show?.({type:"error",message:"401 Unauthorized – user not logged in / session expired",wait:5,delay:.5}),window.wp?.authCheck?.check?.(),window.wp?.heartbeat?.connectNow?.(),_tpt.waitForWpReAuth().then(()=>_tpt.ajax({action:"plugin.get.nonce",callBack:async t=>{t=_tpt.fixResponse(t),SR7.E.nonce=t.nonce}})),o("Unauthorized access - 401")):o(u.statusText)},u.onerror=()=>{_tpt.network?.record?.({url:n,start:a,end:performance.now(),bytes:0,ok:!1}),e>0&&0==u.status?setTimeout(()=>{_tpt.ajaxLoad(t,e-1).then(s).catch(o)},750):o(u.statusText)};const p=t.isFileUpload?r:_tpt.objectToParams(r);u.send(p)})},_tpt.waitForWpReAuth=({timeout:t=15e4,interval:e=1500}={})=>{if(_tpt._wpReAuthPromise)return _tpt._wpReAuthPromise;const r=(window.SR7?.E?.adminurl||window.location.origin+"/wp-admin/").replace(/\/?$/,"/")+"profile.php";return _tpt._wpReAuthPromise=new Promise((n,i)=>{let s=!1,o=null,a=null;const u=window.wp?.hooks,l="sr7/reAuthWait",p=(t,e)=>{s||(s=!0,(()=>{clearInterval(o),clearTimeout(a);try{u?.removeAction?.("heartbeat.tick",l)}catch{}_tpt._wpReAuthPromise=null})(),t(e))};a=setTimeout(()=>p(i,new Error("Re-auth timeout")),t),window.wp?.authCheck?.check?.(),window.wp?.heartbeat?.connectNow?.(),u?.addAction&&u?.removeAction&&u.addAction("heartbeat.tick",l,t=>{!0===t?.["wp-auth-check"]&&p(n,!0)});const c=async()=>{try{const t=await fetch(r,{method:"GET",credentials:"same-origin",cache:"no-store",redirect:"follow"}),e=String(t.url||""),i=e.includes("wp-login.php")||e.includes("action=login");t.ok&&!i&&p(n,!0)}catch{}};c(),o=setInterval(c,e)}),_tpt._wpReAuthPromise},_tpt.svgCache??={},_tpt.scalePath=(t,e=.5)=>{let r=_tpt.motionPath.getRawPath(t).map(t=>{let r=[];for(let n=0;n<t.length;n+=2){let i=t[n]*e,s=t[n+1]*e;r.push(i,s)}return r});return _tpt.motionPath.rawPathToString(r)},_tpt.getSVG=async function(t,e,r){t=(t=(t=_tpt.urlProtocol(t)).replace("/public/assets/assets/svg/","/public/assets/svg/")).replace("/public/assets/assets/sources/","/public/assets/sources/");const n=await _tpt.loadSVG(t);"function"==typeof e&&e(n,r)},_tpt.loadSVG=async function(t){return t=(t=(t=_tpt.urlProtocol(t)).replace("/public/assets/assets/svg/","/public/assets/svg/")).replace("/public/assets/assets/sources/","/public/assets/sources/"),_tpt.svgCache[t]?Promise.resolve(_tpt.svgCache[t]):new Promise((e,r)=>{var n=new XMLHttpRequest;n.overrideMimeType("image/svg+xml"),n.open("GET",t,!0),n.onload=()=>{if(4==n.readyState&&"200"==n.status){var i=document.createElementNS("http://www.w3.org/2000/svg","svg");i.innerHTML=n.responseText,_tpt.svgCache[t]=i,e(i)}else r(n.statusText)},n.onerror=()=>r(n.statusText),n.send(null)})},_tpt.createNS=t=>{var e;for(e in t.n=document.createElementNS("http://www.w3.org/2000/svg",t.n),t.v)t.n.setAttributeNS(null,e.replace(/[A-Z]/g,function(t){return"-"+t.toLowerCase()}),t.v[e]);for(e in void 0!==t.c&&t.n.setAttribute("class",t.c),void 0!==t.id&&(t.n.id=t.id),void 0!==t.t&&(t.n.textContent=t.t),t.s)_tpt.hop(t.s,e)&&(t.n.style[e]=t.s[e]);return t.n},_tpt.getJSON=async function(t){_tpt.loadJSON(t).then(e=>{"function"==typeof t.callBack&&t.callBack(e)}).catch(t=>{throw t})},_tpt.createSVGPattern=async function(t,e,r){return c(t,e,r)},_tpt.loadJSON=async function(t){return new Promise((e,r)=>{var n=new XMLHttpRequest;n.overrideMimeType("application/json"),n.open("GET",t.url,!0),n.onload=()=>{4==n.readyState&&"200"==n.status?e(n.responseText):r(n.statusText)},n.send(null)})},_tpt.objectToParams=function(t,e=new URLSearchParams,r=""){for(const n in t)if(_tpt.hop(t,n)){const i=t[n],s=r?`${r}[${n}]`:n;"object"==typeof i?_tpt.objectToParams(i,e,s):e.append(s,i)}return e.toString()},_tpt.sortPoints=function(t,e){return _tpt.hop(t,"x")?t.x<e.x?-1:t.x>e.x?1:0:t.p<e.p?-1:t.p>e.p?1:0},_tpt.isSet=t=>"inherit"!==t&&null!=t,_tpt.lineBreaks=(t,e)=>"#srfshcd#"==t.slice(0,9)?t.replace("#srfshcd#",""):"full"==e||"content"==e?t.split("\n").join("<br>").replace(/\n/g,"<br/>"):t.replace("\n",""),_tpt.trim=t=>null!=t&&"string"==typeof t?t.trim():t,_tpt.iOSVersion=!!(navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPod/i)||navigator.userAgent.match(/iPad/i))&&navigator.userAgent.match(/OS 4_\d like Mac OS X/i),_tpt.isiPhone=/iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,_tpt.isIOS=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream||"MacIntel"===navigator.platform&&void 0!==navigator.standalone,_tpt.setIsChrome8889=navigator.userAgent.indexOf("Chrome/88")>=0||navigator.userAgent.indexOf("Chrome/89")>=0,_tpt.isAppleDevice=(()=>{try{const t=navigator.userAgent||"",e=navigator.platform||"",r="MacIntel"===e&&(navigator.maxTouchPoints||0)>1;return/iPad|iPhone|iPod/i.test(t)||/Mac/i.test(e)||r}catch{return!1}})(),_tpt.is_mobile=function(){var t=["android","webos","iphone","ipad","blackberry","Android","webos","iPod","iPhone","iPad","Blackberry","BlackBerry"],e=!1;if(void 0!==window.orientation)e=!0;else for(var r in t)_tpt.hop(t,r)&&(e=!!(e||navigator.userAgent.split(t[r]).length>1)||e);return e&&document.body&&-1===document.body.className.indexOf("rs-ISM")&&(document.body.className+=" rs-ISM"),e}(),_tpt.browser=(n=navigator.userAgent,i=n.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i)||[],/trident/i.test(i[1])?(r=/\brv[ :]+(\d+)/g.exec(n)||[],"IE"):"Chrome"===i[1]&&null!=(r=n.match(/\b(OPR|Edge)\/(\d+)/))?r[1].replace("OPR","Opera"):(i=i[2]?[i[1],i[2]]:[navigator.appName,navigator.appVersion,"-?"],null!=(r=n.match(/version\/(\d+)/i))&&i.splice(1,1,r[1]),i[0])),_tpt.isWebkit=function(){const t=/(webkit)[ /]([\w.]+)/.exec(navigator.userAgent.toLowerCase());return t&&t[1]&&"webkit"===t[1]}(),_tpt.browserVersion=function(){var t,e=navigator.appName,r=navigator.userAgent,n=r.match(/(edge|opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i);return n&&null!=(t=r.match(/version\/([.\d]+)/i))&&(n[2]=t[1]),(n=n?[n[1],n[2]]:[e,navigator.appVersion,"-?"])[1]}(),_tpt.isSafari11="safari"===_tpt.trim(_tpt.browser.toLowerCase())&&parseFloat(_tpt.browserVersion)>=11,_tpt.is_android=function(){var t=["android","Android"],e=!1;for(var r in t)_tpt.hop(t,r)&&(e=!!(e||navigator.userAgent.split(t[r]).length>1)||e);return e}(),_tpt.is_mozilla=navigator.userAgent.includes("Firefox"),_tpt.normalizeWheel=t=>{let e=0;return"deltaY"in t||"deltaX"in t?e=0==t.deltaY&&(t.deltaX<0||t.deltaX>0)?t.deltaX:t.deltaY:("detail"in t&&(e=t.detail),"wheelDelta"in t&&(e=-t.wheelDelta/120),"wheelDeltaY"in t&&(e=-t.wheelDeltaY/120)),e=_tpt.is_mozilla?10*e:e,(e>300||e<-300)&&(e/=10),e},_tpt.extend=function(t,e){for(var r in null==t&&(t={}),e)if(_tpt.hop(e,r)){const n=e[r];t[r]="object"==typeof n&&null!==n?Array.isArray(n)?n.map(t=>Array.isArray(t)?t.map(t=>Array.isArray(t)?t.map(t=>"object"==typeof t&&null!==t?_tpt.extend({},t):t):"object"==typeof t&&null!==t?_tpt.extend({},t):t):"object"==typeof t&&null!==t?_tpt.extend({},t):t):_tpt.extend(t[r]&&"object"==typeof t[r]&&!Array.isArray(t[r])?t[r]:{},n):n}return t},_tpt.removeEmptyTags=t=>{t.forEach(t=>{""!==t.innerHTML.trim()&&(""!==t.textContent||0!=t.children?.length)||(""+t.className).includes("sr")||(""+t.className).includes("rev")||t.remove()})},_tpt.stripHTML=t=>{const e=document.createElement("div");return e.innerHTML=t,e.textContent||e.innerText||""},_tpt.gA=function(t,e,r){return void 0===t?void 0:t.hasAttribute&&t.hasAttribute("data-"+e)&&void 0!==t.getAttribute("data-"+e)&&null!==t.getAttribute("data-"+e)?t.getAttribute("data-"+e):void 0!==r?r:void 0},_tpt.sA=function(t,e,r){t&&t.setAttribute&&t.setAttribute("data-"+e,r)},_tpt.rA=function(t,e){t&&t.removeAttribute&&t.removeAttribute("data-"+e)},_tpt.posToNum=function(t,e){return String(t).includes("%")?parseFloat(e)*parseFloat(t)/100:(""+t).includes("px")?parseInt(t):(""+t).includes("auto")?0:t},_tpt.DNTMtoArr=function(t,e="auto",r,n){return r??=e,[1==n?r:"object"==typeof t?"object"==typeof t.d?t.d?.v??r:t.d??r:t??r,"object"==typeof t?"object"==typeof t.d?t.d?.v??e:t.d??e:t??e,"object"==typeof t?"object"==typeof t.n?t.n?.v??e:t.n??e:t??e,"object"==typeof t?"object"==typeof t.t?t.t?.v??e:t.t??e:t??e,"object"==typeof t?"object"==typeof t.m?t.m?.v??e:t.m??e:t??e]};class s extends Event{constructor(t,e){super(t),Object.assign(this,e)}}function o(t,e,r){var n=document.createElement("canvas"),i=n.getContext("2d");if(n.width=100,n.height=200,0===t.length)i.fillStyle=r;else{var s=i.createLinearGradient(0,0,100,0);for(let e=0;e<t.length;e++)s.addColorStop(t[e].stop/100,t[e].color);i.fillStyle=s}i.fillRect(0,0,100,200);var o=i.getImageData(0,0,100,2).data,a="";for(let t=0;t<e.length;t++){var u=Math.ceil(e[t]),l=4*(0!==u?u-1:u);a+="rgba("+o[l]+","+o[l+1]+","+o[l+2]+","+o[l+3]/255+")",a+=" "+u+(e.length-1===t?"%":"%,")}return n.remove(),a}function a(t,e,r,n){for(var i="",s=_tpt.gsap.utils.mapRange(0,n.length-1,0,t.length-1),o=0;o<n.length;o++){var a=Math.round(s(o));i+=t[a].color,i+=" "+t[a].stop+(n.length-1===o?"%":"%,")}return i}function u(t){const e=/rgb([\s\S]*?)%/g,r=[],n=[],i=[];let s;for(;s=e.exec(t);)r.push(s[0]);for(const t of r){const e=/rgb([\s\S]*?)\)/.exec(t),r=/\)([\s\S]*?)%/.exec(t);if(!e||!r)continue;const s=parseFloat(r[1]);n.push({color:e[0],stop:s}),i.push(s)}return 0===n.length&&(n.push({color:t,stop:0}),n.push({color:t,stop:100}),i.push(0,100)),{points:n,stops:i}}_tpt.tEvtSimple=t=>_tpt.is_mobile?"mouseenter"==t?"touchstart":"mouseleave"==t?"mouseleave":"mousemove"==t?"touchmove":t:t,_tpt.tEvt=t=>Array.isArray(t)?t.map(t=>_tpt.tEvtSimple(t)):_tpt.tEvtSimple(t),_tpt.event={listeners:{},timestamps:{},getId:()=>Math.random().toString(36).substr(2,10),trigger:(t,e,r={})=>{if("dom"==t)document.dispatchEvent(new s(e,r));else{const n=new CustomEvent(e,{detail:r});t.dispatchEvent(n)}},listen:(t,e,r,n,i)=>{_tpt.is_mobile&&"mouseleave"===e&&(e+=" touchend");const s=e.split(" "),o=[];return s.forEach(e=>{const s=_tpt.event.getId(),a=t=>{void 0!==_tpt.event.timestamps[t.target.id]&&_tpt.event.timestamps[t.target.id]>t.timeStamp||(_tpt.event.timestamps[t.target.id]=t.timeStamp,r(t,n))};_tpt.event.listeners[t.id]||(_tpt.event.listeners[t.id]=[]),_tpt.event.listeners[t.id].push({id:s,eventType:e,eventListener:a}),t.addEventListener(e,a,i?{passive:!1}:{passive:!0}),o.push(s)}),o},hasListener:t=>void 0!==_tpt.event.listeners[t.id]&&_tpt.event.listeners[t.id].length>0,rm:(t,e)=>{if(!_tpt.event.listeners[t.id])return;const r=_tpt.event.listeners[t.id].findIndex(t=>t.id==e);if(-1===r)return;const{eventType:n,eventListener:i}=_tpt.event.listeners[t.id][r];return t.removeEventListener(n,i),_tpt.event.listeners[t.id].splice(r,1),"removed"},rmAll:t=>{_tpt.event.listeners[t.id]&&(_tpt.event.listeners[t.id].forEach(e=>{t.removeEventListener(e.eventType,e.eventListener)}),delete _tpt.event.listeners[t.id])}},_tpt.keyBoard={reg:(t,e,r,n)=>{_tpt.event.keyboardTargets??={},_tpt.event.keyboardTargets[e]||(_tpt.event.keyboardTargets[e]={id:t,callback:r,keys:n},_tpt.keyBoard.isListening||(_tpt.keyBoard.isListening=!0,_tpt.event.listen(document,"keydown",function(t,e){if("INPUT"===document.activeElement.tagName)t.preventDefault();else for(let r in _tpt.event.keyboardTargets)_tpt.hop(_tpt.event.keyboardTargets,r)&&_tpt.event.keyboardTargets[r].keys.includes(t.key)&&_tpt.event.keyboardTargets[r].callback(t,e)},{id:t,cid:e,keys:n})))},rm:t=>{delete _tpt.event.keyboardTargets[t]},rmAll:()=>{_tpt.event.listen.rm(document,"keydown"),delete _tpt.event.keyboardTargets}},_tpt.strSetToObj=function(t){if(null==t)return{};var e={};return t.split(";").forEach(t=>{var r=t.split(":");void 0!==r[0]&&""!==r[0]&&(e[r[0]]=r[1])}),e},_tpt.padMarArr=function(t){let e;t=Array.isArray(t)?t:[t];var r=!1;for(e=0;e<t.length;e++)Array.isArray(t[e])&&(r=!0);for(r||(t=[t]),t.length<5&&t.unshift(["auto","auto","auto","auto"]),e=0;e<5;e++)t[e]=void 0===t[e]?["auto","auto","auto","auto"]:Array.isArray(t[e])?t[e]:[t[e]],2==t[e].length?t[e]=[t[e][0],t[e][1],t[e][0],t[e][1]]:3==t[e].length?t[e]=[t[e][0],t[e][1],t[e][2],t[e][1]]:t[e].length<4&&(t[e]=_tpt.fillArray(t[e],4));return[...t]},_tpt.explodeData=function(t){t=t.split(";");var e,r,n={};for(r in t)void 0!==(e=t[r].split(":"))[0]&&""!==e[0]&&(n[e[0]]=e[1]);return n},_tpt.isNumeric=t=>!isNaN(parseFloat(t))&&isFinite(t),_tpt.getHighestAttribute=function(t,e,r=0){if(null==t||null==e)return r;for(var n in t)_tpt.hop(t,n)&&void 0!==t[n]&&void 0!==t[n][e]&&t[n][e]>r&&(r=t[n][e]++);return r},_tpt.findIndex=function(t,e,r){if(void 0!==r)return t.findIndex(t=>void 0!==t&&t[e]===r);for(let r=0;r<t.length;r++)if(""+t[r]==""+e)return r;return-1},_tpt.unitize=(t,e="px")=>parseFloat(t)==t?-1==e?t:t+e:-1==e?parseInt(t):t,_tpt.divSize=t=>{if("#"==(""+t)[0]){let e=t.split("#")[1].split("/");return 100/parseInt(e[1])*e[0]+"%"}return t},_tpt.mText=(t="",e="")=>t.trim()+(""!==t&&""!==e?" ":"")+e.trim(),_tpt.defNum=(t,e)=>null==t||isNaN(parseFloat(t))?e:parseFloat(t),_tpt.wait=t=>new Promise(e=>setTimeout(e,t)),_tpt.gradient={SSGCache:[],getSSGColors:(t,e,r)=>{if(r=void 0===r?"fading":r,-1===t.indexOf("gradient")&&-1===e.indexOf("gradient"))return{from:t,to:e};var n={from:t,to:e};for(let n=0;n<_tpt.gradient.SSGCache.length;n++){if(_tpt.gradient.SSGCache[n].from===t&&_tpt.gradient.SSGCache[n].to===e&&_tpt.gradient.SSGCache[n].type===r)return{from:_tpt.gradient.SSGCache[n].rFrom,to:_tpt.gradient.SSGCache[n].rTo};if(_tpt.gradient.SSGCache[n].from===e&&_tpt.gradient.SSGCache[n].to===t&&_tpt.gradient.SSGCache[n].type===r)return{from:_tpt.gradient.SSGCache[n].rTo,to:_tpt.gradient.SSGCache[n].rFrom}}var i=u(t),s=u(e);if(i.stops.length===s.stops.length&&-1!==t.indexOf("gradient")&&-1!==e.indexOf("gradient"))return{from:t,to:e};var l,p,c=i.stops;for(let t=0;t<s.stops.length;t++)-1===c.indexOf(s.stops[t])&&c.push(s.stops[t]);if(c.sort(function(t,e){return t-e}),-1!==t.indexOf("gradient(")){let r=-1!==t.indexOf("deg,")?t.indexOf("deg,")+4:-1!==t.indexOf("at center,")?t.indexOf("at center,")+10:t.indexOf("gradient(")+9;l=t.substring(0,r),-1===e.indexOf("gradient(")&&(p=t.substring(0,r))}if(-1!==e.indexOf("gradient(")){let r=-1!==e.indexOf("deg,")?e.indexOf("deg,")+4:-1!==e.indexOf("at center,")?e.indexOf("at center,")+10:e.indexOf("gradient(")+9;p=e.substring(0,r),-1===t.indexOf("gradient(")&&(l=e.substring(0,r))}return"fading"===r?(i.stops.length,s.stops.length,l+=o(i.points,c,t),p+=o(s.points,c,e)):"sliding"===r&&(i.stops.length>s.stops.length?p+=a(s.points,0,0,i.points):l+=a(i.points,0,0,s.points)),l+=")",p+=")","sliding"===r&&(i.stops.length>s.stops.length?l=t:p=e),n.rFrom=l,n.rTo=p,n.tyep=r,_tpt.gradient.SSGCache.push(n),{from:l,to:p}},getSVGReference:t=>{if(void 0===t)return t;let e=_tpt.gradient.process(_tpt.gradient.convert(t));if("solid"===e.type)return e.string;if(void 0===_tpt.gradient.SVG)_tpt.gradient.SVG=_tpt.createNS({n:"svg",id:"tp_svg_gradients",s:{width:"100%",height:"100%",opacity:0,pointerEvents:"none"}}),_tpt.gradient.SVG.style.visibility="hidden",_tpt.gradient.SVG.style.position="absolute",_tpt.gradient.SVG.style.top="0px",_tpt.gradient.SVG.style.left="0px",_tpt.gradient.SVG.style.width="0px",_tpt.gradient.SVG.style.height="0px",_tpt.gradient.SVG.style.pointerEvents="none",_tpt.gradient.SVG.setAttribute("viewBox","0 0 1 1"),_tpt.gradient.SVG.setAttribute("preserveAspectRatio","none"),document.body.appendChild(_tpt.gradient.SVG),_tpt.gradient.svgReferences={},_tpt.gradient.svgNode={},_tpt.gradient.svgRefIndex=0;else if(_tpt.gradient.svgReferences[e.string])return _tpt.gradient.svgReferences[e.string];let r="radial"===e.type?0:e.angle*_tpt.DEG2RAD,n=_tpt.createNS({id:`tp_svg_gradient_${_tpt.gradient.svgRefIndex}`,n:`${e.type}Gradient`,v:"radial"===e.type?void 0:{gradientUnits:"userSpaceOnUse",x1:`${Math.round(50+50*Math.sin(r))}%`,y1:`${Math.round(50+50*Math.cos(r))}%`,x2:`${Math.round(50+50*Math.sin(r+Math.PI))}%`,y2:`${Math.round(50+50*Math.cos(r+Math.PI))}%`}});for(const t of e.colors){const[e,r,i,s]=_tpt.gsap.utils.splitColor(t.rgba);n.appendChild(_tpt.createNS({n:"stop",v:{offset:`${t.p}%`,stopColor:_tpt.getHexColor([e,r,i]),stopOpacity:s??1}}))}return _tpt.gradient.SVG.appendChild(n),_tpt.gradient.svgReferences[e.string]="url(#tp_svg_gradient_"+_tpt.gradient.svgRefIndex+")",_tpt.gradient.svgNode[_tpt.gradient.svgRefIndex]=n,_tpt.gradient.svgRefIndex++,_tpt.gradient.svgReferences[e.string]},getSVGDef:(t="")=>{let e=t.replace("url(#tp_svg_gradient_","").replace(")","");return _tpt.gradient.svgNode[e]??""},getColorStops:(t,e)=>{if(!t.includes("gradient"))return e?[]:t;const r=/(rgba?\((\d+),\s*(\d+),\s*(\d+)(,\s*([\d.]+))?\)|#[0-9a-fA-F]{6})(\s*(\d+%)|)/gi,n=t.match(/(linear|radial)-gradient\(([^,]+),/),i=n&&n[1]?`${n[1]}`:null;let s=null;if("linear"===i){const t=n[2].trim();switch(t){case"right":s=270;break;case"left":s=90;break;case"top":s=0;break;case"bottom":s=180;break;default:s=parseInt(t)||180}}let o,a,u=[],l=null;for(;null!==(a=r.exec(t));){const t=a[1].startsWith("#")?a[1]:null;let e=a[7]?parseInt(a[7]):null;const r=t?_tpt.gradient.hexToRgba(t):`rgba(${a[2]},${a[3]},${a[4]},${a[6]||"1"})`;r===l&&e===o||(u.push({rgba:r,p:e}),o=e,l=r),u.some(t=>null===t.p)&&u.forEach((t,e)=>{null===t.p&&(t.p=100/(u.length-1)*e||0)})}return{colors:u,type:i,angle:s}},hexToRgba:t=>`rgba(${parseInt(t.substring(1,3),16)},${parseInt(t.substring(3,5),16)},${parseInt(t.substring(5,7),16)},1)`,convert:t=>{let e={};if(null==t)return t;if("string"==typeof t){if("transparent"==t)return{orig:"transparent",type:"solid",string:"transparent"};if(t.includes("&")||t.includes("{")&&t.includes('"'))if(e=JSON.parse(t.replaceAll("&",'"')),e.orig??={...e.colors},delete e.colors,"string"==typeof e.orig){if(e.orig.includes("grad")){let{angle:t,colors:r,type:n}=_tpt.gradient.getColorStops(e.orig,!0);e.orig=r,e.angle=t,e.type=n}}else{Array.isArray(e.orig)||"object"!=typeof e.orig||(e.orig=Object.values(e.orig));for(let t in e.orig)e.orig[t]={rgba:e.orig[t]?.rgba??e.orig[t]?.rgbaColor??`rgba(${e.orig[t]?.r??0}, ${e.orig[t]?.g??0}, ${e.orig[t]?.b??0}, ${e.orig[t]?.a??0})`,p:e.orig[t]?.p??e.orig[t]?.position??0};e.orig=l(e.orig)}else{if(!t.includes("gradient"))return t.includes("{")&&t.includes('"')&&t.includes("orig")&&(t=JSON.parse(t).orig),{type:"solid",orig:t,string:_tpt.gradient.getString({type:"solid",orig:t})};{let{angle:r,colors:n,type:i}=_tpt.gradient.getColorStops(t,!0);e={orig:n,type:i,angle:r,strength:100,easing:"none"}}}}else"object"==typeof t&&(e={...t},e.orig??={...e.colors},delete e.colors);return e.angle=180===e.angle||void 0===e.angle?180.1:e.angle,e.strength=e.strength||100,e.easing=e.easing||"none",e.string=_tpt.gradient.getString(e),Array.isArray(e.orig)||"object"!=typeof e.orig||(e.orig=Object.values(e.orig),e.orig=l(e.orig)),e},getString:(t,e=!1)=>{if("string"==typeof t.orig){if("transparent"==t.orig)return"transparent";const e=window[null==window._tpt?.gsap?"tpGS":"_tpt"].gsap.utils.splitColor(t.orig)||[0,0,0,1];return`rgba(${e[0]}, ${e[1]}, ${e[2]}, ${e[3]??1})`}let r=t.colors||t.orig;const n=e&&(180==t.angle||180.1==t.angle);let i,s,o,a="";return"linear"===t.type?a+="linear-gradient("+(n?"":t.angle+"deg"):"radial"===t.type&&(a+="radial-gradient(circle"),r&&0!=r.length?(a+=Object.values(r).map((t,r)=>(t.rgba=_tpt.gradient.toRGBA(t.rgba),e&&void 0!==o&&t.rgba==o.rgba&&o.p==t.p?"":(o={p:t.p,rgba:t.rgba},s=`${0===r&&n?"":","}${t.rgba} ${t.p}%`,s!==i?i=s:s="",s))).join(""),a+=")",a):"transparent"},process:(t,e)=>("object"!=typeof t||(void 0!==t.easing&&"none"!==t.easing&&(t.colors=_tpt.gradient.ease(t),t.string=_tpt.gradient.getString(t),e=!1),t.colors??=t.orig,Array.isArray(t.colors)||"object"!=typeof t.colors||(t.colors=Object.values(t.colors)),t.string=e||null==t.string?_tpt.gradient.getString(t):t.string),t),ease:t=>{let{strength:e,orig:r,easing:n}=t;if(e??=10,e=.01*parseInt(e,10)*15,n=_tpt.normEase(t.easing).split("."),n.length<2)return{...t.orig};if(r.sort(_tpt.sortPoints),n=_tpt.gradient.easing[String(n[0]).toLowerCase()]?.[String(n[1]).toLowerCase()],null==n)return{...t.orig};let i=r.length-1,s=[];for(let t=0;t<i;t++)s[s.length]=r[t],_tpt.gradient.insertPoints(r[t],r[t+1],s,n,e);return s[s.length]=r[i],s},calcPoints:(t,e,r)=>{const n=r*Math.PI/180*-1,i=e/2,s=t/2,o={k:{x:s-Math.tan(n)*i,y:0},j:{x:s+Math.tan(n)*(e-i),y:e},ky:{x:t,y:i+(t-s)/Math.tan(n)},jy:{x:0,y:i-s/Math.tan(n)}};let a={},u={};return[[o.k.x,o.j.x,o.k,o.j],[o.ky.y,o.jy.y,o.ky,o.jy],[o.k.x,o.ky.y,o.k,o.ky],[o.ky.y,o.j.x,o.ky,o.j],[o.j.x,o.jy.y,o.j,o.jy],[o.k.x,o.jy.y,o.k,o.jy]].forEach(([r,n,i,s])=>{_tpt.inBounds(r,0,t)&&_tpt.inBounds(n,0,e)&&(a=i,u=s)}),r>90&&r<315?{tx:a.x,ty:a.y,bx:u.x,by:u.y}:{tx:u.x,ty:u.y,bx:a.x,by:a.y}},getLinear:(t,e,r,n)=>{n=n*_tpt.DEG2RAD+Math.PI/2;for(var i,s,o,a,u=e/2,l=r/2,p=Math.sqrt(u*u+l*l),c={x1:Math.cos(n)*p+u,y1:Math.sin(n)*p+l,x2:u,y2:l},h=[d({x:0,y:0},n),d({x:e,y:0},n),d({x:e,y:r},n),d({x:0,y:r},n)],g=[],_=0;_<h.length;_++)g.push(f(h[_],c));if(SR7.F.dist(u,l,g[0].x,g[0].y)>SR7.F.dist(u,l,g[1].x,g[1].y)?(i=g[0].x,s=g[0].y):(i=g[1].x,s=g[1].y),SR7.F.dist(u,l,g[2].x,g[2].y)>SR7.F.dist(u,l,g[3].x,g[3].y)?(o=g[2].x,a=g[2].y):(o=g[3].x,a=g[3].y),Math.round(100*Math.atan2(l-s,u-i))/100===Math.round(n%(2*Math.PI)*100)/100){var m=i,D=s;i=o,s=a,o=m,a=D}return t.createLinearGradient(Math.round(i),Math.round(s),Math.round(o),Math.round(a))},insertPoints:(t,e,r,n,i)=>{let s=_tpt.gradient.RGBAToObj(t),o=_tpt.gradient.RGBAToObj(e);var a=t.p,u=e.p;if(!(a>u)){for(var l,p,c,d=[],h=0;h<i;h++)(p=parseFloat(n(h,0,1,i).toFixed(2))*(u-a)+a)>a&&p<u&&(d[d.length]=p);var f,g,_=d.length,m=parseFloat(((u-a)/(_+1)).toFixed(2)),D=parseFloat(m+a);for(h=0;h<_;h++)(c=d[h])!==t.p&&(f=_tpt.sanitizeAlpha(s.a),g=_tpt.sanitizeAlpha(o.a),l={p:D,rgba:_tpt.gradient.toRGBA({r:s.r!==o.r?Math.round(_tpt.distColor(c,a,u,s.r,o.r)):s.r,g:s.g!==o.g?Math.round(_tpt.distColor(c,a,u,s.g,o.g)):s.g,b:s.b!==o.b?Math.round(_tpt.distColor(c,a,u,s.b,o.b)):s.b,a:f!==g?_tpt.sanitizeAlpha(_tpt.distAlpha(c,a,u,s.a,o.a)):f})},D+=m,D=parseFloat(D.toFixed(2)),r[r.length]=l)}},transToColor:t=>{if(null==t)return;if(String(t).indexOf("gradient")>=0)return t;let e=_tpt.gradient.toRGBA(t).replace("rgb(","rgba(").split(",");return e[0]+","+e[1]+","+e[2].replace(")","")+",0)"},RGBAToObj:t=>{if("object"==typeof t){if(void 0!==t.r)return{...t};if(void 0!==t.rgba)return h(t.rgba)}else if("string"==typeof t)return h(t)},toRGBA:t=>{if("object"==typeof t)return void 0!==t.rgba&&"string"==typeof t.rgba?t.rgba:"rgba("+t.r+","+t.g+","+t.b+","+(t.a??1)+")";var e=window[null==_tpt.gsap?"tpGS":"_tpt"].gsap.utils.splitColor(t);return"rgba("+e[0]+","+e[1]+","+e[2]+","+(e[3]??1)+")"},easing:{quint:{easeout:function(t,e,r,n){return r*((t=t/n-1)*t*t*t*t+1)+e},easein:function(t,e,r,n){return r*(t/=n)*t*t*t*t+e},easeinout:function(t,e,r,n){return(t/=n/2)<1?r/2*t*t*t*t*t+e:r/2*((t-=2)*t*t*t*t+2)+e}},quad:{easein:function(t,e,r,n){return r*(t/=n)*t+e},easeout:function(t,e,r,n){return-r*(t/=n)*(t-2)+e},easeinout:function(t,e,r,n){return(t/=n/2)<1?r/2*t*t+e:-r/2*(--t*(t-2)-1)+e}},quart:{easein:function(t,e,r,n){return r*(t/=n)*t*t*t+e},easeout:function(t,e,r,n){return-r*((t=t/n-1)*t*t*t-1)+e},easeinout:function(t,e,r,n){return(t/=n/2)<1?r/2*t*t*t*t+e:-r/2*((t-=2)*t*t*t-2)+e}},cubic:{easein:function(t,e,r,n){return r*(t/=n)*t*t+e},easeout:function(t,e,r,n){return r*((t=t/n-1)*t*t+1)+e},easeinout:function(t,e,r,n){return(t/=n/2)<1?r/2*t*t*t+e:r/2*((t-=2)*t*t+2)+e}},circ:{easein:function(t,e,r,n){return-r*(Math.sqrt(1-(t/=n)*t)-1)+e},easeout:function(t,e,r,n){return r*Math.sqrt(1-(t=t/n-1)*t)+e},easeinout:function(t,e,r,n){return(t/=n/2)<1?-r/2*(Math.sqrt(1-t*t)-1)+e:r/2*(Math.sqrt(1-(t-=2)*t)+1)+e}},sine:{easein:function(t,e,r,n){return-r*Math.cos(t/n*(Math.PI/2))+r+e},easeout:function(t,e,r,n){return r*Math.sin(t/n*(Math.PI/2))+e},easeinout:function(t,e,r,n){return-r/2*(Math.cos(Math.PI*t/n)-1)+e}},expo:{easein:function(t,e,r,n){return 0===t?e:r*Math.pow(2,10*(t/n-1))+e},easeout:function(t,e,r,n){return t===n?e+r:r*(1-Math.pow(2,-10*t/n))+e},easeinout:function(t,e,r,n){return 0===t?e:t===n?e+r:(t/=n/2)<1?r/2*Math.pow(2,10*(t-1))+e:r/2*(2-Math.pow(2,-10*--t))+e}},bounce:{easeout:function(t,e,r,n){return(t/=n)<1/2.75?r*(7.5625*t*t)+e:t<2/2.75?r*(7.5625*(t-=1.5/2.75)*t+.75)+e:t<2.5/2.75?r*(7.5625*(t-=2.25/2.75)*t+.9375)+e:r*(7.5625*(t-=2.625/2.75)*t+.984375)+e},easein:function(t,e,r,n){return r-_tpt.gradient.easing.bounce.easeout(n-t,0,r,n)+e},easeinout:function(t,e,r,n){return t<n/2?.5*_tpt.gradient.easing.bounce.easein(2*t,0,r,n)+e:.5*_tpt.gradient.easing.bounce.easeout(2*t-n,0,r,n)+.5*r+e}}}},window.tpGS&&null==window.tpGS?.getSSGColors&&(window.tpGS.getSSGColors=_tpt.gradient.getSSGColors);const l=t=>t.filter((e,r)=>r===t.length-1||(e.rgba!==t[r+1].rgba||e.p!==t[r+1].p)),p="http://www.w3.org/2000/svg",c=(t,e,r)=>{const n=r?.src?_tpt.urlProtocol(String(r.src).replaceAll(" ","%e2%80%af")):"",i=r.size??"cover",s=parseInt(r.pos?.x??"50%"),o=parseInt(r.pos?.y??"50%"),a=s<=33?"xMin":s>=67?"xMax":"xMid",u=o<=33?"YMin":o>=67?"YMax":"YMid",l=(t=>{let e=t.querySelector("defs");return e||(e=document.createElementNS(p,"defs"),t.insertBefore(e,t.firstChild)),e})(t);let c=t.querySelector(`#${e}`);c||(c=document.createElementNS(p,"pattern"),c.setAttribute("id",e),l.appendChild(c),c.appendChild(document.createElementNS(p,"image")));const d=c.querySelector("image");if(c.setAttribute("patternUnits","objectBoundingBox"),c.setAttribute("patternContentUnits","objectBoundingBox"),c.setAttribute("width","1"),c.setAttribute("height","1"),d.getAttribute("href")!==n){d.setAttribute("href",n);try{d.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n)}catch{}}let h;return h="contain"===i?`${a}${u} meet`:"cover"===i||"crop"===i||"slice"===i?`${a}${u} slice`:"none"===i||"fill"===i||"stretch"===i||i.includes("%")?"none":`${a}${u} slice`,d.setAttribute("width","1"),d.setAttribute("height","1"),d.setAttribute("preserveAspectRatio",h),c},d=(t,e)=>{var r=e+Math.PI/2;return{x1:t.x,y1:t.y,x2:t.x+100*Math.cos(r),y2:t.y+100*Math.sin(r)}},h=t=>{let e=_tpt.gsap.utils.splitColor(t);return{r:e[0],g:e[1],b:e[2],a:e[3]??1}};function f(t,e){var r=t.y2-t.y1,n=t.x1-t.x2,i=r*t.x1+n*t.y1,s=e.y2-e.y1,o=e.x1-e.x2,a=s*e.x1+o*e.y1,u=r*o-s*n;return 0!==u&&{x:Math.round((o*i-n*a)/u*100)/100,y:Math.round((r*a-s*i)/u*100)/100}}_tpt.distAlpha=(t,e,r,n,i)=>Math.max(Math.min(Math.abs(parseFloat(((t-e)/(r-e)*(i-n)).toFixed(2))+parseFloat(n)),1),0),_tpt.distColor=(t,e,r,n,i)=>Math.max(Math.min(Math.round(Math.abs((t-e)/(r-e)*(i-n)+n)),255),0),_tpt.sanitizeAlpha=t=>parseFloat(Math.max(Math.min(parseFloat(t),1),0).toFixed(2).replace(/\.?0*$/,"")),_tpt.inBounds=(t,e,r)=>t>=e&&t<=r,_tpt.parseColor=(t,e)=>((t=_tpt.gsap.utils.splitColor(t)).length<=3&&(t[3]=1),e?t:t.map((t,e)=>e<3?t/255:t)),_tpt.getHexColor=t=>`#${t.slice(0,3).map(t=>`00${t.toString(16)}`.slice(-2)).join("")}`,_tpt.checkFontLoaded=function(t,e="normal",r="normal",n){return t=t.replace(/^"(.*)"$/,"$1"),new Promise((i,s)=>{_tpt.ongoingTests??={};let o=`${t}-${e}-${r}`;_tpt.ongoingTests[o]||(_tpt.ongoingTests[o]=new Promise(i=>{if(1==(_tpt.R?.fonts?.[t]??0))return void i();let s,o,a,u=t.includes("Material Icons")||t.includes("FontAwesome"),l="Material Icons"==t?"wb_incandescent":"FontAwesome"==t||"Pe-icon-7-stroke"==t?"":"BESbswy",p=document.createElement(u?"i":"span"),c=!1;_tpt.fontsRenderedAlready??=new Set;const d=()=>{try{p&&p.parentNode&&p.parentNode.removeChild(p)}catch{}};let h=e=>{if(!c)return"all"===e?(clearInterval(s),clearTimeout(o),clearTimeout(a),_tpt.fontsRenderedAlready.add(t),d(),void(c=e)):(clearTimeout(o),clearTimeout(a),a=setTimeout(()=>{clearInterval(s),d()},Math.max(5e3,n||0)),void(c=e));if(clearInterval(s),clearTimeout(o),clearTimeout(a),d(),"all"===c||_tpt.fontsRenderedAlready.has(t))return;if(_tpt.fontsRenderedAlready.add(t),!SR7.M)return;let r=new Set;for(let e in SR7.M)if(SR7.M[e]?.runModuleCalled&&SR7.M[e]?.settings?.fonts)for(let n in SR7.M[e].settings.fonts){let i=(SR7.M[e].settings.fonts[n]?.name??n).replace?.(/^"(.*)"$/,"$1").replaceAll("+","").replaceAll("-","").replaceAll(" ","").toLowerCase(),s=t.replace?.(/^"(.*)"$/,"$1").replaceAll("+","").replaceAll("-","").replaceAll(" ","").toLowerCase();i===s&&r.add(e)}_tpt.fontsLateScheduler??={},r.forEach(t=>{clearTimeout(_tpt.fontsLateScheduler[t]),_tpt.fontsLateScheduler[t]=setTimeout(()=>{SR7.F.updateModuleDims(t,!0,!0,!0)},500)})};p.style.fontFamily="sans-serif",p.style.fontWeight=e,p.style.fontStyle=r,p.textContent=l,_tpt.fontTester||(_tpt.fontTester=document.createElement("sr7-fonttest-wrap"),_tpt.fontTester.setAttribute("aria-hidden","true"),document.body.appendChild(_tpt.fontTester)),_tpt.fontTester.appendChild(p);let f=p.offsetWidth,g=p.offsetHeight;if(p.style.fontFamily=`'${t}', sans-serif`,"FontAwesome"==t?p.classList.add("fa-power-off"):"Pe-icon-7-stroke"==t&&p.classList.add("pe-7s-album"),f!==p.offsetWidth||g!==p.offsetHeight)return _tpt.R.fonts??={},_tpt.R.fonts[t]=1,h("all"),void i();o=setTimeout(()=>{h("fallback"),i()},n),s=setInterval(()=>{p.offsetWidth===f&&p.offsetHeight===g||(_tpt.R.fonts??={},_tpt.R.fonts[t]=1,h("all"),i())},19)})),_tpt.ongoingTests[o].then(i,s)})},_tpt.getNetworkHint=()=>{const t=navigator.connection||navigator.mozConnection||navigator.webkitConnection;return t?{effectiveType:t.effectiveType,downlink:t.downlink,rtt:t.rtt,saveData:!0===t.saveData}:null},_tpt.computeFontFallbackTimeout=({base:t=2500,max:e=15e3}={})=>{const r=_tpt.getNetworkHint();if(!r)return t;if(r.saveData)return Math.min(e,8e3);switch(r.effectiveType){case"slow-2g":return Math.min(e,12e3);case"2g":return Math.min(e,1e4);case"3g":return Math.min(e,6e3);case"4g":return t;default:{const n=Number(r.downlink||0),i=Number(r.rtt||0);return n&&n<1?Math.min(e,9e3):i&&i>300?Math.min(e,8e3):t}}},_tpt.network??={updatedAt:0,last:{mbps:null,rtt:null,ok:null,url:"",bytes:0,duration:0},ema:{mbps:null,rtt:null},samples:[],maxSamples:20,alpha:.25,record({url:t="",start:e=0,end:r=0,bytes:n=0,ok:i=!0}={}){try{const s=Math.max(0,(r||performance.now())-(e||0)),o=s>0&&n>0?8*n/(s/1e3)/1e6:null;this.updatedAt=Date.now(),this.last={mbps:o,rtt:s||null,ok:!!i,url:String(t||""),bytes:n||0,duration:s},null!=o&&(this.ema.mbps=null==this.ema.mbps?o:this.alpha*o+(1-this.alpha)*this.ema.mbps),s&&(this.ema.rtt=null==this.ema.rtt?s:this.alpha*s+(1-this.alpha)*this.ema.rtt),this.samples.push(this.last),this.samples.length>this.maxSamples&&this.samples.shift()}catch{}},get(){const t=_tpt.getNetworkHint?_tpt.getNetworkHint():null;return{updatedAt:this.updatedAt,mbps:this.ema.mbps,rtt:this.ema.rtt,effectiveType:t?.effectiveType??null,downlink:t?.downlink??null,saveData:t?.saveData??!1}},getFallbackTimeout({base:t=2500,max:e=15e3}={}){const r=this.get();return r.saveData?Math.min(e,8e3):"number"==typeof r.mbps&&r.mbps>0?r.mbps<.5?Math.min(e,12e3):r.mbps<1?Math.min(e,9e3):r.mbps<2?Math.min(e,6e3):t:_tpt.computeFontFallbackTimeout({base:t,max:e})}},_tpt.fontFamily=function(t,e){return null==t?"none":e?t.split(",")[0].replaceAll("+","-"):t.split(",")[0].replaceAll(" ","+")},_tpt.registerFont=function(t={}){_tpt.R.fonts??={},_tpt.R.fonts.required??={};var e=_tpt.fontFamily(t.family);_tpt.R.fonts.required[e]??={name:e,orig:t.family,italic:{},normal:{}},t.link&&(_tpt.R.fonts.required[e].link=t.link),t.url&&(_tpt.R.fonts.required[e].url??={url:t.url})&&(_tpt.R.fonts.required[e].url.state??=0),void 0!==t.weight&&(t.weight=Array.isArray(t.weight)?t.weight[1]:t.weight,_tpt.R.fonts.required[e][t.italic?"italic":"normal"][t.weight]??=0)},_tpt.waitFonts=async function(t,e){let r=[];for(let e in t)_tpt.hop(t,e)&&r.push(_tpt.loadFonts(e));await Promise.all(r),await new Promise(t=>t()),document.body.offsetHeight,"function"==typeof e&&e()},_tpt.fixGoogleFontNames=function(t){return(t=t.replaceAll("'","")).split("+").map(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}).join("+")},_tpt.capitalize=t=>t.charAt(0).toUpperCase()+t.slice(1).toLowerCase(),_tpt.updateFontStatus=function(t){for(let e in _tpt.R.fonts.required)if(_tpt.hop(_tpt.R.fonts.required,e))for(let r of["normal","italic"])for(let n in _tpt.R.fonts.required[e][r])_tpt.hop(_tpt.R.fonts.required[e][r],n)&&_tpt.R.fonts.required[e][r][n]===t&&(_tpt.R.fonts.required[e][r][n]=2)},_tpt.getLoadedFontFaces=function(){var t={};for(let e of document.fonts){let r=e.family.replace(/['"]+/g,"");t[r]=t[r]||{italic:[],normal:[]};let n=e.weight,i="italic"===e.style?"italic":"normal";t[r][i].includes(n)||t[r][i].push(n)}return t},_tpt.getExistingGoogleFonts=function(){for(var t={},e=document.getElementsByTagName("link"),r=0;r<e.length;r++){let n=e[r].href.split("?");if(n[0]==(SR7.E.fontBaseUrl??"https://fonts.googleapis.com/css2").replace("?family=","")){let e=n[1].split("&");for(let r in e){let n=e[r].split("family=");if(null==e[r]||null==e[r]||null==n[1]||null==n[1])continue;let i=n[1].split(":"),s=n[1].split("@");if(null==i||null==i||null==i[0]||null==i[0])continue;if(null==s||null==s||null==s[1]||null==s[1])continue;i=i[0],t[i]??={italic:[],normal:[]};let o=s[1].split(";");for(let e=0;e<o.length;e++){let r=o[e].split(","),n=1==r[0]||"1"==r[0]||1==r[1]||"1"==r[1];for(let e=0;e<r.length;e++)r[e]>1&&t[i][n?"italic":"normal"].push(parseInt(r[e]))}}}}return t=_tpt.extend(t,_tpt.getLoadedFontFaces())},_tpt.isWeightInRange=(t,e)=>(t=parseInt(t),e.some(e=>{if("string"==typeof e&&e.includes(" ")){let[r,n]=e.split(" ").map(Number);return t>=r&&t<=n}return t==parseInt(e)})),_tpt.loadFonts=async function(t){if(!window.SR7?.E?.ignoreGoogleFont&&null!=_tpt.R.fonts){var e,r,n,i,s,o="",a=Math.round(1e3*Math.random()+500),u=[];for(i in _tpt.R.fonts??={},_tpt.R.fonts.domFonts??=_tpt.getExistingGoogleFonts(),_tpt.R.fonts.required){if(!_tpt.hop(_tpt.R.fonts.required,i))continue;let t=(e=_tpt.R.fonts.required[i]).name.toLowerCase();if(t.includes("arial")||t.includes("palatino+linotype")||t.includes("times+new+roman")||t.includes("georgia")||t.includes("tahoma")||t.includes("trebuchet+ms")||t.includes("verdana")||t.includes("courier")||t.includes("courier+new")||t.includes("impact")||t.includes("comic+sans+ms"))continue;let l=i.replaceAll("'",""),p=e.custom||(_tpt.R?.fonts?.customFonts?.[i]??_tpt.R?.fonts?.customFonts?.[l]??!1);if(void 0!==e.url||p)e.url??={},0==e.url.state&&(p&&("string"==typeof p?e.url.url=p:e.url=p),u.push({font:i,url:e.url})),e.url.state=1;else{for(s of(r="",["normal","italic"]))for(n in e[s])if(_tpt.hop(e[s],n)&&0==e[s][n]){e[s][n]=a,n=parseInt(n),e.name=_tpt.fixGoogleFontNames(e.name);let t=e.name.toLowerCase();if(t.includes("arial")||t.includes("palatino+linotype")||t.includes("times+new+roman")||t.includes("georgia")||t.includes("tahoma")||t.includes("trebuchet+ms")||t.includes("verdana")||t.includes("courier")||t.includes("courier+new")||t.includes("impact")||t.includes("comic+sans+ms"))continue;if(""==e.name)continue;if(_tpt.isWeightInRange(n,_tpt.R?.fonts?.domFonts?.[e.orig]?.[s]??[]))continue;if(_tpt.isWeightInRange(n,_tpt.R?.fonts?.domFonts?.[e.name]?.[s]??[]))continue;""!==r?r+=";":r=(""!==o?"&":"")+"family="+e.name+":ital,wght@",r+=("normal"===s?0:1)+","+n}""!==r&&" "!==r&&"&family=:ital,wght@0,400"!==r&&(o+=r)}}if(""!==o&&" "!==o){o=(o=(SR7.E.fontBaseUrl??"https://fonts.googleapis.com/css2")+"?"+o+"&display=swap").replace("?family=?family=","?family=");var l=document.createElement("link");l.rel="stylesheet",l.href=o,l.onload=function(t,e){for(i in _tpt.R.fonts.required)if(_tpt.hop(_tpt.R.fonts.required,i))for(s of["normal","italic"])for(n in _tpt.R.fonts.required[i][s])_tpt.hop(_tpt.R.fonts.required[i][s],n)&&_tpt.R.fonts.required[i][s][n]===t&&(_tpt.R.fonts.required[i][s][n]=2);"function"==typeof e&&e()}(a,t),l.onerror=function(){_tpt.skipFontTrys=!0},document.getElementsByTagName("head")[0].appendChild(l)}else 0===u.length&&"function"==typeof t&&t();if(u.length>0)for(let t in u)(u[t].url?.url??"").endsWith(".css")?_tpt.loadCSS(u[t].url.url,u[t].font,!0):(_tpt.R[u[t].font]??={},_tpt.loadFontFace(u[t].url.url,u[t].font))}},_tpt.loadFontFace=async function(t,e){try{await e.load(),document.fonts.add(e),console.log(`${t} font has been loaded.`)}catch(e){console.log(`Failed to load font: ${t}. Error: ${e}`)}},_tpt.compareURL=function(t,e){return!(!t||!e)&&(t==e||(t=_tpt.urlProtocol(t),e=_tpt.urlProtocol(e),t=_tpt.normalizeUrl(t),e=_tpt.normalizeUrl(e),(t=String(t))==(e=String(e))||"undefined"!==t&&"undefined"!==e&&(-1!==e.indexOf(t)||-1!==t.indexOf(e))))},_tpt.registerImage=function(t,e=0,r,n,i,s=!0,o=!1){if(t){t=_tpt.urlProtocol(t),_tpt.R.images??={busy:!1,queue:{},all:Array(5e3),alllen:0,nextId:0,indexMap:{}};var a=_tpt.normalizeNURL(_tpt.normalizeUrl(t)),u=_tpt.findIndex(_tpt.R.images.all,"nurl",a);if(u=-1==u?_tpt.R.images.alllen++:u,!_tpt.R.images.all[u]){const e=_tpt.R.images.nextId++;_tpt.R.images.all[u]={id:e,url:t,nurl:a,nurlshort:a.split("?")[0],crossOrigin:s,callBacks:{},state:"pending",params:i,paramsByCaller:{}},_tpt.R.images.indexMap[e]=u}if(o&&n&&(_tpt.R.images.all[u].paramsByCaller??={},_tpt.R.images.all[u].paramsByCaller[n]=i),"loaded"===_tpt.R.images.all[u].state||"cached"===_tpt.R.images.all[u].state){if("function"==typeof r){let t=_tpt.R.images.all[u];o&&n?t=Object.assign({},t,{params:i}):t.paramsByCaller&&n&&t.paramsByCaller[n]&&(t=Object.assign({},t,{params:t.paramsByCaller[n]})),r(t)}}else _tpt.R.images.all[u].prio=e,_tpt.R.images.all[u].callBacks[n]=r;_tpt.updateImageQueue()}},_tpt.updateImageQueue=function(){if(_tpt.R.images.busy)return void setTimeout(_tpt.updateImageQueue,5);_tpt.R.images.busy=!0,_tpt.R.images.all.sort((t,e)=>t.prio-e.prio),_tpt.R.images.all.forEach((t,e)=>{t&&(_tpt.R.images.indexMap[t.id]=e)});let t=0;for(let e=0;e<5;e++)if(void 0===_tpt.R.images.queue[e])for(let r=t;r<_tpt.R.images.alllen;r++)if("pending"===_tpt.R.images.all[r].state){_tpt.R.images.queue[e]=_tpt.R.images.all[r].id,_tpt.R.images.all[r].state="inqueue",t=r;break}_tpt.processImageQueue(),_tpt.R.images.busy=!1},_tpt.processImageCallbacks=function(t,e){for(var r in _tpt.R.images.all[t].callBacks)if(_tpt.hop(_tpt.R.images.all[t].callBacks,r)&&"function"==typeof _tpt.R.images.all[t].callBacks[r]){let e=_tpt.R.images.all[t];e.paramsByCaller&&void 0!==e.paramsByCaller[r]&&(e=Object.assign({},e,{params:e.paramsByCaller[r]})),_tpt.R.images.all[t].callBacks[r](e)}_tpt.R.images.queue[e]=void 0,_tpt.updateImageQueue()},_tpt.processImageQueue=function(){for(let t=0;t<5;t++)if(void 0!==_tpt.R.images.queue[t]){let e=_tpt.R.images.indexMap[_tpt.R.images.queue[t]];"inqueue"===_tpt.R.images.all[e].state&&(_tpt.R.images.all[e].state="loading",this.tryLoadImage(_tpt.R.images.all[e].id,t))}},_tpt.normalizeUrl=function(t){return"/"==(t=t.toLowerCase())[t.length-1]&&(t=t.slice(0,-1)),"http://"==t.slice(0,7)?t=t.slice(7):"https://"==t.slice(0,8)&&(t=t.slice(8)),t},_tpt.normalizeNURL=t=>_tpt.normalizeUrl(t).replace(/%20/g," ").replace(/%E2%80%AF/gi," ").replace(/\u202F/g,"%20").replace(/\s/g,"%20"),_tpt.findRequestedImage=function(t){let e=_tpt.normalizeNURL(_tpt.normalizeUrl(t)),r=_tpt.findIndex(_tpt.R.images.all,"nurl",e);if(-1!==r)return r;if(r=_tpt.findIndex(_tpt.R.images.all,"nurlshort",e.split("?")[0]),-1!==r)return r;if(r=_tpt.findIndex(_tpt.R.images.all,"nurl",e.replace(window.location.hostname,"")),-1!==r)return r;if(r=_tpt.findIndex(_tpt.R.images.all,"nurl",decodeURIComponent(e)),-1!==r)return r;let n=_tpt.normalizeUrl(function(){let t=window.location.href;return t.substring(0,t.lastIndexOf("/"))+"/"}())+"/";if(e=e.replace(n,""),r=_tpt.findIndex(_tpt.R.images.all,"nurl",e),-1!==r)return r;let i=decodeURIComponent(e);return r=_tpt.findIndex(_tpt.R.images.all,"nurl",i),-1!==r?r:(r=_tpt.findIndex(_tpt.R.images.all,"nurl",_tpt.normalizeNURL(i)),-1!==r?r:(e="./"+e,_tpt.findIndex(_tpt.R.images.all,"nurl",e)))},_tpt.tryLoadImage=function(t,e,r=!1){let n=_tpt.R.images.indexMap[t],i=_tpt.R.images.all[n],s=r?!i.crossOrigin:i.crossOrigin;_tpt.loadSingleImage(i.url,e,s).then(t=>{let r=_tpt.R.images.indexMap[i.id];_tpt.R.images.all[r].state=t.status,_tpt.R.images.all[r].image=t.image,_tpt.R.images.all[r].width=t.image.width,_tpt.R.images.all[r].height=t.image.height,_tpt.processImageCallbacks(r,e)}).catch(n=>{if(r){const r=_tpt.R.images.indexMap[t];_tpt.R.images.all[r].state=n.status,_tpt.processImageCallbacks(r,e),console.log("Image Error: "+_tpt.R.images.all[r].url+" could not be loaded")}else this.tryLoadImage(t,e,!0)})},_tpt.allM=function(){var t="";for(var e in window.SR7.M)_tpt.hop(window.SR7.M,e)&&(t+=e+",");return t.slice(0,-1)},_tpt.getMSize=function(t){return delete window.SR7.M[t].c,console.log("Reference C has been deleted for Messuring. Reload Page after !!"),_tpt.getObjectSize(window.SR7.M[t])+"kb"},_tpt.getObjectSize=function(t){return(new TextEncoder).encode("string"==typeof t?t:JSON.stringify(t)).length/1024},_tpt._transparentImage=null,_tpt.getTransparentImage=function(){if(_tpt._transparentImage)return _tpt._transparentImage;const t=document.createElement("canvas");t.width=1,t.height=1;t.getContext("2d").clearRect(0,0,1,1);const e=new Image;return e.src=t.toDataURL("image/png"),e._tptFallback=!0,e._tptFallbackUrl=null,_tpt._transparentImage=e,e},_tpt.loadSingleImage=async function(t,e,r=!0){let n=e;return new Promise(i=>{let s=new Image;r&&(s.crossOrigin="anonymous"),s.src=t,s.onload=()=>{i({image:s,queueIndex:n,status:"loaded"})},s.onerror=function(){const r=_tpt.getTransparentImage();r._tptFallbackUrl=t,void 0!==e&&(r.queueIndex=e),i({image:r,queueIndex:n,status:"loaded"})},s.complete&&i({image:s,queueIndex:n,status:"cached"})})},_tpt.isImageURL=t=>{if("string"!=typeof t)return!1;const e=t.split(".").pop().toLowerCase();return["jpg","jpeg","png","gif","bmp","svg","webp"].includes(e)},_tpt.getShader=async function(t,e,r){if(_tpt.R.shaders??={},_tpt.R.shaders[t]??={},_tpt.R.shaders[t][e])return _tpt.R.shaders[t][e];const n=await fetch(r);if(!n.ok)throw new Error(`HTTP error! Status: ${n.status}`);return _tpt.R.shaders[t][e]=await n.text()},_tpt.injectCssJs=(t="",e="",r,n)=>{if(""!==t){let e,r=!1;void 0!==n&&(e=document.getElementById(n),r=null!=e),r||(e=document.createElement("style"),e.classList.add("sr7-inline-css"),void 0!==n&&(e.id=n)),e.innerHTML=(e.innerHTML??"")+t,r||document.getElementsByTagName("head")[0].appendChild(e)}if(""!==e){const t=document.createElement("script");t.innerHTML=e,r.appendChild(t)}},_tpt.extndArray=(t,e)=>(t||(t=[]),e||(e=[]),Array.isArray(t)||(t=[t]),Array.isArray(e)||(e=[e]),Array.from(new Set(t.concat(e)))),_tpt.extndArrWithObj=(t=[],e={},r="src",n="")=>{let i;return t.forEach(t=>{let s=Object.keys(t).filter(t=>t!==r&&t!==n),o=Object.keys(e).filter(t=>t!==r&&t!==n);if(s.length===o.length){if(s.every(r=>t[r]===e[r])){let s=_tpt.compareParameters(t[r],e[r]),o=""==n||_tpt.compareParameters(t[n],e[n]);!s&&o?(t[r]=_tpt.extndArray(e[r],t[r]),i=!0):""!==n&&s&&(t[n]=_tpt.extndArray(e[n],t[n]),i=!0)}}}),i||t.push(e),t},_tpt.tf=t=>"false"!=t&&0!=t&&("true"==t||1==t||t),_tpt.findNested=(t,e,r)=>{if(null==t)return null;if(e in t&&(!r||r in t[e]))return t[e];for(let n in t)if(_tpt.hop(t,n)&&"object"==typeof t[n]){let i=_tpt.findNested(t[n],e,r);if(i)return i}return null},_tpt.gapCalc=(t,e,r)=>{const n=(1e3*t+e*(t-1))/t,i=[0];let s,o=0;for(let r=0;r<t-1;r++)i.push(s=n-1e3-o,o=e-s);return i.push(0),null==r?i:{l:i[2*Math.min(r,t)],r:i[2*r+1]}},_tpt.closest=function(t,e){return t&&(e(t)?t:_tpt.closest(t.parentNode,e))},_tpt.closestNode=function(t,e){return _tpt.closest(t,function(t){return t.nodeName===e})},_tpt.closestClass=function(t,e){return _tpt.closest(t,function(t){return(" "+t.className+" ").indexOf(" "+e+" ")>=0})},_tpt.txtShort=function(t,e,r){if(void 0!==t){if(t.length>e){if(r){let r=t.slice(0,e).lastIndexOf(" ");return-1===r&&(r=e),t.slice(0,r)+".."}return t.slice(0,e)+".."}return t}},_tpt.compareParameters=(t,e)=>{if(t===e)return!0;if(Array.isArray(t)||(t=[t]),Array.isArray(e)||(e=[e]),t.length!==e.length)return!1;t.sort(),e.sort();for(let r=0;r<t.length;r++)if(t[r]!==e[r])return!1;return!0},_tpt.countSubStr=(t="",e="",r=!1)=>{if(0===e.length)return t.length+1;let n=0,i=0;const s=r?1:e.length;for(;i=t.indexOf(e,i),i>=0;)n++,i+=s;return n},_tpt.getRatio=t=>{if(void 0===t||1===t||"number"==typeof t)return t;if("string"==typeof t&&t.includes(":")){const[e,r]=t.split(":");return parseFloat(e)/parseFloat(r)}return 1},_tpt.compareComputedStyles=t=>{var e=t[0];for(var r in e)if(_tpt.hop(e,r)){var n=e[r];t.every(function(t){return t[r]===n})||(console.log("Mismatch property:",r),t.forEach(function(t,e){console.log("Element",e,"value:",t[r])}))}},_tpt.cookie={set:(t,e,r)=>{const n=new Date;n.setTime(n.getTime()+60*r*60*1e3);const i=`expires=${n.toUTCString()}`;document.cookie=`${t}=${e};${i};path=/`},get:t=>{const e=`${t}=`,r=document.cookie.split(";").find(t=>t.trim().startsWith(e)),n=r?decodeURIComponent(r.trim().substring(e.length)):"";return"true"===n||"false"!==n&&n}},_tpt.displayDeprecationWarnings=t=>{if(t&&t.warnings){console.group("Deprecation Alert: Functions listed below are deprecated and will be removed in Version 7.0.0. Please update accordingly.");for(const[e,r]of Object.entries(t.warnings))r?console.info(`"${e}" is deprecated. Use "${r}" instead.`):console.info(`"${e}" is deprecated.`);console.groupEnd()}},_tpt.viewPortObserverManager={observers:{},inViewPortObserver:new IntersectionObserver(function(t){t.forEach(t=>{t.target.observParams&&t.target.observParams.obj&&(t.target.observParams.obj.states=t.target.observParams.obj.states||{},t.target.observParams.obj.states.inViewPort=t.isIntersecting)})},{rootMargin:"0px"}),getObserver:function(t="-100px"){if(t=""==t?"-100px":t,t=-1*parseInt(t)+"px",this.observers[t])return this.observers[t];t=`${t} 0px ${t} 0px`;var e=new IntersectionObserver(function(t){for(var e=0;e<t.length;e++){var r=t[e];r.isIntersecting?(r.target.observParams.obj&&(r.target.observParams.obj.states??={},r.target.observParams.obj.states.boundingClientRect=r.boundingClientRect,r.target.observParams.obj.states.inViewPort=r.isIntersecting,_tpt.scrollObserver.run(r.target)),void 0!==r.target.observParams&&(void 0!==r.target.observParams.callBack&&r.target.observParams.callBack(r.target,r.intersectionRatio),void 0!==r.target.observParams.toggleCall&&r.target.observParams.toggleCall(r.target.id,r.intersectionRatio,"scroll"),r.target.observParams.runonce&&delete r.target.observParams.callBack)):r.target.observParams&&(r.target.observParams.obj.states??={},r.target.observParams.obj.states.inViewPort=!!r.target.observParams?.obj?.settings?.fixed||r.isIntersecting,r.target.observParams?.toggleCall?.(r.target.id,r.intersectionRatio,"scroll"))}},{rootMargin:t});return this.observers[t]=e,e}},_tpt.observeModule=function(t,e="-100px"){_tpt.viewPortObserverManager.getObserver(e).observe(t)},_tpt.scrollObserver={observe:t=>{_tpt.scrollObserver.entries||(_tpt.scrollObserver.entries=[],_tpt.is_mobile?(_tpt.gsap.ticker.fps(150),_tpt.gsap.ticker.add(()=>{_tpt.scrollObserver.run()})):document.addEventListener("scroll",function(){void 0===_tpt.scrollObserver.RaF&&(_tpt.scrollObserver.RaF=requestAnimationFrame(function(){_tpt.scrollObserver.run()}))},{passive:!0})),-1==_tpt.scrollObserver.entries.indexOf(t)&&_tpt.scrollObserver.entries.push(t),_tpt.scrollObserver.run(t)},kill:t=>{_tpt.scrollObserver.entries=_tpt.scrollObserver.entries.filter(e=>e!==t)},run:(t,e)=>{if(_tpt.scrollObserver.RaF&&(_tpt.scrollObserver.RaF=cancelAnimationFrame(_tpt.scrollObserver.RaF)),window.scrollY!=_tpt.scrollObserver.y||e)if(_tpt.scrollObserver.y=window.scrollY,null==t){for(let t in _tpt.scrollObserver.entries)if(_tpt.hop(_tpt.scrollObserver.entries,t)){if(!1!==(_tpt.scrollObserver?.entries?.[t]?.observSR7Globals??!1))for(let e in _tpt.scrollObserver.entries[t].observSR7Globals)_tpt.hop(_tpt.scrollObserver.entries[t].observSR7Globals,e)&&_tpt.scrollObserver.entries[t].observSR7Globals[e].callback(_tpt.scrollObserver.entries[t].observSR7Globals[e].params);0!=(_tpt.scrollObserver?.entries?.[t]?.observParams?.obj?.states?.inViewPort??!1)&&_tpt.scrollObserver.process(_tpt.scrollObserver.entries[t])}}else if(!1!==(t?.observParams?.obj?.states?.inViewPort??!1)&&_tpt.scrollObserver.process(t),void 0!==(t?.observSR7Globals??void 0))for(let e in t.observSR7Globals)_tpt.hop(t.observSR7Globals,e)&&t.observSR7Globals[e].callback(t.observSR7Globals[e].params)},process:t=>{const e=t.observParams.obj;let r="false"!==String(e.settings?.mod?.use??!1)||"false"!==String(e.settings?.sbt?.use??!1);if(null!=e.dims.module&&(e.c.moduleListeners?.scroll||r)&&(e.dims.moduleRect=t.getBoundingClientRect(),e.settings)){if(r){if(delete e.scrollProcSA,e.settings.fixed)e.scrollProc=1-Math.min(1,Math.max(0,window.scrollY/_tpt.winH));else{let t=e.dims.moduleRect.height>=_tpt.winH||e.c.module.offsetTop>e.dims.moduleRect.height/2;e.scrollProcSA=t?Math.max(-1,Math.min(1,1-(e.dims.moduleRect.top-_tpt.winH)/(_tpt.winH+e.dims.moduleRect.height)*-2)):Math.max(-1,Math.min(1,e.dims.moduleRect.top/(e.dims.moduleRect.height||e.dims.module.h))),(e.settings?.rOFV??1)&&e.dims.moduleRect.height<_tpt.winH?e.scrollProc=e.dims.moduleRect.top>=0&&e.dims.moduleRect.bottom<=_tpt.winH?0:e.dims.moduleRect.top<0?e.dims.moduleRect.top/e.dims.moduleRect.height:(e.dims.moduleRect.bottom-_tpt.winH)/e.dims.moduleRect.height:(t=!1,e.scrollProc=t?Math.max(-1,Math.min(1,1-(e.dims.moduleRect.top-_tpt.winH)/(_tpt.winH+e.dims.moduleRect.height)*-2)):Math.max(-1,Math.min(1,e.dims.moduleRect.top/(e.dims.moduleRect.height||e.dims.module.h))))}e.scrollProc=e.scrollProc||0,e.scrollProcSA??=e.scrollProc}void 0!==t.observParams.scrollCallback&&t.observParams.scrollCallback(t.id)}}},_tpt.resizeObserver={id:0,targets:{},timer:1e3,inited:!1,observe:function(t,e,r){return"function"==typeof t&&(e??=100,_tpt.resizeObserver.targets[_tpt.resizeObserver.id++]={callBack:t,delay:e,id:r},_tpt.resizeObserver.process(),_tpt.resizeObserver.id-1)},remove:function(t){delete _tpt.resizeObserver.targets[t]},process:function(){1!=_tpt.resizeObserver.observed&&(_tpt.resizeObserver.observed=!0,window.addEventListener("resize",function(){_tpt.resizeObserver.execute()}))},execute:function(){_tpt.getWinDim(!0);var t=new Date;for(var e in t-_tpt.resizeObserver.timer>=1e3&&(_tpt.resizeObserver.timer=t),_tpt.resizeObserver.targets)_tpt.hop(_tpt.resizeObserver.targets,e)&&(clearTimeout(_tpt.resizeObserver.targets[e].timer),t-_tpt.resizeObserver.timer>=_tpt.resizeObserver.targets[e].delay?_tpt.resizeObserver.targets[e].callBack(_tpt.resizeObserver.targets[e].id):function(t){_tpt.resizeObserver.targets[t].timer=setTimeout(()=>{_tpt.resizeObserver.targets[t].callBack(_tpt.resizeObserver.targets[t].id)},_tpt.resizeObserver.targets[t].delay)}(e))}},_tpt.orientationObserver={id:0,targets:{},inited:!1,lastZoomLevel:1,checkZoomLevel:()=>{if("visualViewport"in window){return window.visualViewport.scale}return 1},observe:function(t,e,r){return!(!_tpt.is_mobile||"function"!=typeof t)&&(_tpt.orientationObserver.targets[_tpt.orientationObserver.id++]={callBack:t,delay:e,id:r},_tpt.orientationObserver.process(),_tpt.orientationObserver.id)},remove:function(t){delete _tpt.orientationObserver.targets[t]},process:function(){_tpt.orientationObserver.inited||(_tpt.orientationObserver.inited=!0,window.addEventListener("orientationchange",function(){_tpt.orientationObserver.event="orientation",_tpt.orientationObserver.execute()}))},execute:function(){var t=new Date;for(var e in t-_tpt.resizeObserver.timer>=1e3&&(_tpt.resizeObserver.timer=t),_tpt.orientationObserver.targets)_tpt.hop(_tpt.orientationObserver.targets,e)&&(clearTimeout(_tpt.orientationObserver.targets[e].timer),t-_tpt.orientationObserver.timer>=_tpt.orientationObserver.targets[e].delay?_tpt.orientationObserver.targets[e].callBack(_tpt.orientationObserver.targets[e].id):function(t){_tpt.orientationObserver.targets[t].timer=setTimeout(()=>{_tpt.orientationObserver.targets[t].callBack(_tpt.orientationObserver.targets[t].id)},_tpt.orientationObserver.targets[t].delay)}(e))}},_tpt.focusObserver={id:0,targets:{},timer:1e3,inited:!1,observe:function(t,e,r){return"function"==typeof t&&(e??=100,_tpt.focusObserver.targets[_tpt.focusObserver.id++]={callBack:t,delay:e,id:r},_tpt.focusObserver.process(),_tpt.focusObserver.id)},remove:function(t){delete _tpt.targets[t]},process:function(){1!=_tpt.focusObserver.observed&&(_tpt.focusObserver.observed=!0,window.addEventListener("blur",function(){_tpt.focusObserver.execute("blur")}),window.addEventListener("focus",function(){_tpt.focusObserver.execute("focus")}))},execute:function(t){var e=new Date;for(var r in e-_tpt.focusObserver.timer>=1e3&&(_tpt.focusObserver.timer=e),_tpt.focusObserver.targets)_tpt.hop(_tpt.focusObserver.targets,r)&&(clearTimeout(_tpt.focusObserver.targets[r].timer),e-_tpt.focusObserver.timer>=_tpt.focusObserver.targets[r].delay?_tpt.focusObserver.targets[r].callBack(t,_tpt.focusObserver.targets[r].id):function(e){_tpt.focusObserver.targets[e].timer=setTimeout(()=>{_tpt.focusObserver.targets[e].callBack(t,_tpt.focusObserver.targets[e].id)},_tpt.focusObserver.targets[e].delay)}(r))}},_tpt.wrapObserver={targets:[],init:function(t){var e=0,r=0,n=i.bind(_tpt.wrapObserver);function i(){if(r++,requestAnimationFrame(n),!(r-e<30)){e=r;for(var i=0;i<_tpt.wrapObserver.targets.length;i++)if(_tpt.hop(_tpt.wrapObserver.targets,i)){var s=_tpt.wrapObserver.targets[i],o=s.elem.getBoundingClientRect();s.lw===o.width&&s.lh===o.height||0===o.width||(s.callback&&(s.callback.pause(),s.callback.kill(),s.callback=null),s.callback=_tpt.gsap.to({},{duration:.2,onComplete:t.bind(window,s.elem,s.id)})),s.lw=o.width,s.lh=o.height}}}i()},observe:function(t,e){if(""!==(t=t.getBoundingClientRect?t:t[0].getBoundingClientRect?t[0]:"")){var r=t.getBoundingClientRect();_tpt.wrapObserver.targets.push({elem:t,id:e,lw:r.width,lh:r.height})}}},_tpt.normEase=(t,e="Power1",r="Out")=>{if(null==t)return"none";let n=String(t).trim();if(!n)return"none";n=n.replace(/\s+/g,"");const i=n.toLowerCase();if("none"===i||"linear"===i)return"none";let s="",o="";if(n.includes(".")){const t=n.split(".");s=t[0],o=t.slice(1).join(".")}else o=n;const a=t=>{const e=t.toLowerCase();return/(ease)?inout$/.test(e)||/inout$/.test(e)?"InOut":/(ease)?out$/.test(e)||/out$/.test(e)?"Out":/(ease)?in$/.test(e)||/in$/.test(e)?"In":null};let u=a(o)||a(n)||r;if(!s)if(/^ease/i.test(o)||/^(inout|out|in)$/i.test(o))s=e;else{const t=o.match(/^([a-z0-9]+?)(?:ease)?(?:inout|out|in)?$/i);s=t&&t[1]?t[1]:e}return`${{sine:"Sine",quad:"Quad",cubic:"Cubic",quart:"Quart",quint:"Quint",expo:"Expo",circ:"Circ",bounce:"Bounce",back:"Back",elastic:"Elastic",linear:"Linear",power0:"Power0",power1:"Power1",power2:"Power2",power3:"Power3",power4:"Power4"}[String(s).toLowerCase()]||s.charAt(0).toUpperCase()+s.slice(1)}.ease${u}`},_tpt.userInteracted=!1,_tpt.setUserInteractionFlag=()=>{_tpt.userInteracted=!0,document.removeEventListener("click",_tpt.setUserInteractionFlag),document.removeEventListener("keydown",_tpt.setUserInteractionFlag),document.removeEventListener("touchstart",_tpt.setUserInteractionFlag)},document.addEventListener("click",_tpt.setUserInteractionFlag),document.addEventListener("keydown",_tpt.setUserInteractionFlag),document.addEventListener("touchstart",_tpt.setUserInteractionFlag),_tpt.R??={},_tpt.R.tptools=_tpt.extend?_tpt.extend(_tpt.R.tptools,{status:2,version:"6.7.16"}):{status:2,version:"6.7.16"}}(),(()=>{"use strict";function t(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function e(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
var r,n,i,s,o,a,u,l,p,c,d,h,f,g,_,m={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},D={duration:.5,overwrite:!1,delay:0},v=1e8,y=1e-8,x=2*Math.PI,b=x/4,w=0,C=Math.sqrt,F=Math.cos,E=Math.sin,T=function(t){return"string"==typeof t},S=function(t){return"function"==typeof t},R=function(t){return"number"==typeof t},A=function(t){return void 0===t},M=function(t){return"object"==typeof t},k=function(t){return!1!==t},O=function(){return"undefined"!=typeof window},P=function(t){return S(t)||T(t)},B="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},L=Array.isArray,N=/(?:-?\.?\d|\.)+/gi,I=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,j=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,z=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,X=/[+-]=-?[.\d]+/,q=/[^,'"\[\]\s]+/gi,Y=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,G={},$={},U=function(t){return($=xt(t,G))&&xr},H=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},V=function(t,e){return!e&&console.warn(t)},W=function(t,e){return t&&(G[t]=e)&&$&&($[t]=e)||G},Q=function(){return 0},Z={suppressEvents:!0,isStart:!0,kill:!1},J={suppressEvents:!0,kill:!1},K={suppressEvents:!0},tt={},et=[],rt={},nt={},it={},st=30,ot=[],at="",ut=function(t){var e,r,n=t[0];if(M(n)||S(n)||(t=[t]),!(e=(n._gsap||{}).harness)){for(r=ot.length;r--&&!ot[r].targetTest(n););e=ot[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new Be(t[r],e)))||t.splice(r,1);return t},lt=function(t){return t._gsap||ut(Jt(t))[0]._gsap},pt=function(t,e,r){return(r=t[e])&&S(r)?t[e]():A(r)&&t.getAttribute&&t.getAttribute(e)||r},ct=function(t,e){return(t=t.split(",")).forEach(e)||t},dt=function(t){return Math.round(1e5*t)/1e5||0},ht=function(t){return Math.round(1e7*t)/1e7||0},ft=function(t,e){var r=e.charAt(0),n=parseFloat(e.substr(2));return t=parseFloat(t),"+"===r?t+n:"-"===r?t-n:"*"===r?t*n:t/n},gt=function(t,e){for(var r=e.length,n=0;t.indexOf(e[n])<0&&++n<r;);return n<r},_t=function(){var t,e,r=et.length,n=et.slice(0);for(rt={},et.length=0,t=0;t<r;t++)(e=n[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)},mt=function(t,e,r,i){et.length&&!n&&_t(),t.render(e,r,i||n&&e<0&&(t._initted||t._startAt)),et.length&&!n&&_t()},Dt=function(t){var e=parseFloat(t);return(e||0===e)&&(t+"").match(q).length<2?e:T(t)?t.trim():t},vt=function(t){return t},yt=function(t,e){for(var r in e)r in t||(t[r]=e[r]);return t},xt=function(t,e){for(var r in e)t[r]=e[r];return t},bt=function t(e,r){for(var n in r)"__proto__"!==n&&"constructor"!==n&&"prototype"!==n&&(e[n]=M(r[n])?t(e[n]||(e[n]={}),r[n]):r[n]);return e},wt=function(t,e){var r,n={};for(r in t)r in e||(n[r]=t[r]);return n},Ct=function(t){var e,r=t.parent||s,n=t.keyframes?(e=L(t.keyframes),function(t,r){for(var n in r)n in t||"duration"===n&&e||"ease"===n||(t[n]=r[n])}):yt;if(k(t.inherit))for(;r;)n(t,r.vars.defaults),r=r.parent||r._dp;return t},Ft=function(t,e,r,n,i){void 0===r&&(r="_first"),void 0===n&&(n="_last");var s,o=t[n];if(i)for(s=e[i];o&&o[i]>s;)o=o._prev;return o?(e._next=o._next,o._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[n]=e,e._prev=o,e.parent=e._dp=t,e},Et=function(t,e,r,n){void 0===r&&(r="_first"),void 0===n&&(n="_last");var i=e._prev,s=e._next;i?i._next=s:t[r]===e&&(t[r]=s),s?s._prev=i:t[n]===e&&(t[n]=i),e._next=e._prev=e.parent=null},Tt=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},St=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},Rt=function(t,e,r,i){return t._startAt&&(n?t._startAt.revert(J):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,i))},At=function t(e){return!e||e._ts&&t(e.parent)},Mt=function(t){return t._repeat?kt(t._tTime,t=t.duration()+t._rDelay)*t:0},kt=function(t,e){var r=Math.floor(t=ht(t/e));return t&&r===t?r-1:r},Ot=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},Pt=function(t){return t._end=ht(t._start+(t._tDur/Math.abs(t._ts||t._rts||y)||0))},Bt=function(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=ht(r._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Pt(t),r._dirty||St(r,t)),t},Lt=function(t,e){var r;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(r=Ot(t.rawTime(),e),(!e._dur||Vt(0,e.totalDuration(),r)-e._tTime>y)&&e.render(r,!0)),St(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(r=t;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;t._zTime=-1e-8}},Nt=function(t,e,r,n){return e.parent&&Tt(e),e._start=ht((R(r)?r:r||t!==s?$t(t,r,e):t._time)+e._delay),e._end=ht(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),Ft(t,e,"_first","_last",t._sort?"_start":0),Xt(e)||(t._recent=e),n||Lt(t,e),t._ts<0&&Bt(t,t._tTime),t},It=function(t,e){return(G.ScrollTrigger||H("scrollTrigger",e))&&G.ScrollTrigger.create(e,t)},jt=function(t,e,r,i,s){return Ye(t,e,s),t._initted?!r&&t._pt&&!n&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&p!==be.frame?(et.push(t),t._lazy=[s,i],1):void 0:1},zt=function t(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||t(r))},Xt=function(t){var e=t.data;return"isFromStart"===e||"isStart"===e},qt=function(t,e,r,n){var i=t._repeat,s=ht(e)||0,o=t._tTime/t._tDur;return o&&!n&&(t._time*=s/t._dur),t._dur=s,t._tDur=i?i<0?1e10:ht(s*(i+1)+t._rDelay*i):s,o>0&&!n&&Bt(t,t._tTime=t._tDur*o),t.parent&&Pt(t),r||St(t.parent,t),t},Yt=function(t){return t instanceof Ne?St(t):qt(t,t._dur)},Gt={_start:0,endTime:Q,totalDuration:Q},$t=function t(e,r,n){var i,s,o,a=e.labels,u=e._recent||Gt,l=e.duration()>=v?u.endTime(!1):e._dur;return T(r)&&(isNaN(r)||r in a)?(s=r.charAt(0),o="%"===r.substr(-1),i=r.indexOf("="),"<"===s||">"===s?(i>=0&&(r=r.replace(/=/,"")),("<"===s?u._start:u.endTime(u._repeat>=0))+(parseFloat(r.substr(1))||0)*(o?(i<0?u:n).totalDuration()/100:1)):i<0?(r in a||(a[r]=l),a[r]):(s=parseFloat(r.charAt(i-1)+r.substr(i+1)),o&&n&&(s=s/100*(L(n)?n[0]:n).totalDuration()),i>1?t(e,r.substr(0,i-1),n)+s:l+s)):null==r?l:+r},Ut=function(t,e,r){var n,i,s=R(e[1]),o=(s?2:1)+(t<2?0:1),a=e[o];if(s&&(a.duration=e[1]),a.parent=r,t){for(n=a,i=r;i&&!("immediateRender"in n);)n=i.vars.defaults||{},i=k(i.vars.inherit)&&i.parent;a.immediateRender=k(n.immediateRender),t<2?a.runBackwards=1:a.startAt=e[o-1]}return new Ve(e[0],a,e[o+1])},Ht=function(t,e){return t||0===t?e(t):e},Vt=function(t,e,r){return r<t?t:r>e?e:r},Wt=function(t,e){return T(t)&&(e=Y.exec(t))?e[1]:""},Qt=[].slice,Zt=function(t,e){return t&&M(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&M(t[0]))&&!t.nodeType&&t!==o},Jt=function(t,e,r){return i&&!e&&i.selector?i.selector(t):!T(t)||r||!a&&we()?L(t)?function(t,e,r){return void 0===r&&(r=[]),t.forEach(function(t){var n;return T(t)&&!e||Zt(t,1)?(n=r).push.apply(n,Jt(t)):r.push(t)})||r}(t,r):Zt(t)?Qt.call(t,0):t?[t]:[]:Qt.call((e||u).querySelectorAll(t),0)},Kt=function(t){return t=Jt(t)[0]||V("Invalid scope")||{},function(e){var r=t.current||t.nativeElement||t;return Jt(e,r.querySelectorAll?r:r===t?V("Invalid scope")||u.createElement("div"):t)}},te=function(t){return t.sort(function(){return.5-Math.random()})},ee=function(t){if(S(t))return t;var e=M(t)?t:{each:t},r=Ae(e.ease),n=e.from||0,i=parseFloat(e.base)||0,s={},o=n>0&&n<1,a=isNaN(n)||o,u=e.axis,l=n,p=n;return T(n)?l=p={center:.5,edges:.5,end:1}[n]||0:!o&&a&&(l=n[0],p=n[1]),function(t,o,c){var d,h,f,g,_,m,D,y,x,b=(c||e).length,w=s[b];if(!w){if(!(x="auto"===e.grid?0:(e.grid||[1,v])[1])){for(D=-v;D<(D=c[x++].getBoundingClientRect().left)&&x<b;);x<b&&x--}for(w=s[b]=[],d=a?Math.min(x,b)*l-.5:n%x,h=x===v?0:a?b*p/x-.5:n/x|0,D=0,y=v,m=0;m<b;m++)f=m%x-d,g=h-(m/x|0),w[m]=_=u?Math.abs("y"===u?g:f):C(f*f+g*g),_>D&&(D=_),_<y&&(y=_);"random"===n&&te(w),w.max=D-y,w.min=y,w.v=b=(parseFloat(e.amount)||parseFloat(e.each)*(x>b?b-1:u?"y"===u?b/x:x:Math.max(x,b/x))||0)*("edges"===n?-1:1),w.b=b<0?i-b:i,w.u=Wt(e.amount||e.each)||0,r=r&&b<0?Se(r):r}return b=(w[t]-w.min)/w.max||0,ht(w.b+(r?r(b):b)*w.v)+w.u}},re=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(r){var n=ht(Math.round(parseFloat(r)/t)*t*e);return(n-n%1)/e+(R(r)?0:Wt(r))}},ne=function(t,e){var r,n,i=L(t);return!i&&M(t)&&(r=i=t.radius||v,t.values?(t=Jt(t.values),(n=!R(t[0]))&&(r*=r)):t=re(t.increment)),Ht(e,i?S(t)?function(e){return n=t(e),Math.abs(n-e)<=r?n:e}:function(e){for(var i,s,o=parseFloat(n?e.x:e),a=parseFloat(n?e.y:0),u=v,l=0,p=t.length;p--;)(i=n?(i=t[p].x-o)*i+(s=t[p].y-a)*s:Math.abs(t[p]-o))<u&&(u=i,l=p);return l=!r||u<=r?t[l]:e,n||l===e||R(e)?l:l+Wt(e)}:re(t))},ie=function(t,e,r,n){return Ht(L(t)?!e:!0===r?!!(r=0):!n,function(){return L(t)?t[~~(Math.random()*t.length)]:(r=r||1e-5)&&(n=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((t-r/2+Math.random()*(e-t+.99*r))/r)*r*n)/n})},se=function(t,e,r){return Ht(r,function(r){return t[~~e(r)]})},oe=function(t){for(var e,r,n,i,s=0,o="";~(e=t.indexOf("random(",s));)n=t.indexOf(")",e),i="["===t.charAt(e+7),r=t.substr(e+7,n-e-7).match(i?q:N),o+=t.substr(s,e-s)+ie(i?r:+r[0],i?0:+r[1],+r[2]||1e-5),s=n+1;return o+t.substr(s,t.length-s)},ae=function(t,e,r,n,i){var s=e-t,o=n-r;return Ht(i,function(e){return r+((e-t)/s*o||0)})},ue=function(t,e,r){var n,i,s,o=t.labels,a=v;for(n in o)(i=o[n]-e)<0==!!r&&i&&a>(i=Math.abs(i))&&(s=n,a=i);return s},le=function(t,e,r){var n,s,o,a=t.vars,u=a[e],l=i,p=t._ctx;if(u)return n=a[e+"Params"],s=a.callbackScope||t,r&&et.length&&_t(),p&&(i=p),o=n?u.apply(s,n):u.call(s),i=l,o},pe=function(t){return Tt(t),t.scrollTrigger&&t.scrollTrigger.kill(!!n),t.progress()<1&&le(t,"onInterrupt"),t},ce=[],de=function(t){if(t)if(t=!t.name&&t.default||t,O()||t.headless){var e=t.name,r=S(t),n=e&&!r&&t.init?function(){this._props=[]}:t,i={init:Q,render:nr,add:Xe,kill:sr,modifier:ir,rawVars:0},s={targetTest:0,get:0,getSetter:Ke,aliases:{},register:0};if(we(),t!==n){if(nt[e])return;yt(n,yt(wt(t,i),s)),xt(n.prototype,xt(i,wt(t,s))),nt[n.prop=e]=n,t.targetTest&&(ot.push(n),tt[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}W(e,n),t.register&&t.register(xr,n,ur)}else ce.push(t)},he=255,fe={aqua:[0,he,he],lime:[0,he,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,he],navy:[0,0,128],white:[he,he,he],olive:[128,128,0],yellow:[he,he,0],orange:[he,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[he,0,0],pink:[he,192,203],cyan:[0,he,he],transparent:[he,he,he,0]},ge=function(t,e,r){return(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)*he+.5|0},_e=function(t,e,r){var n,i,s,o,a,u,l,p,c,d,h=t?R(t)?[t>>16,t>>8&he,t&he]:0:fe.black;if(!h){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),fe[t])h=fe[t];else if("#"===t.charAt(0)){if(t.length<6&&(n=t.charAt(1),i=t.charAt(2),s=t.charAt(3),t="#"+n+n+i+i+s+s+(5===t.length?t.charAt(4)+t.charAt(4):"")),9===t.length)return[(h=parseInt(t.substr(1,6),16))>>16,h>>8&he,h&he,parseInt(t.substr(7),16)/255];h=[(t=parseInt(t.substr(1),16))>>16,t>>8&he,t&he]}else if("hsl"===t.substr(0,3))if(h=d=t.match(N),e){if(~t.indexOf("="))return h=t.match(I),r&&h.length<4&&(h[3]=1),h}else o=+h[0]%360/360,a=+h[1]/100,n=2*(u=+h[2]/100)-(i=u<=.5?u*(a+1):u+a-u*a),h.length>3&&(h[3]*=1),h[0]=ge(o+1/3,n,i),h[1]=ge(o,n,i),h[2]=ge(o-1/3,n,i);else h=t.match(N)||fe.transparent;h=h.map(Number)}return e&&!d&&(n=h[0]/he,i=h[1]/he,s=h[2]/he,u=((l=Math.max(n,i,s))+(p=Math.min(n,i,s)))/2,l===p?o=a=0:(c=l-p,a=u>.5?c/(2-l-p):c/(l+p),o=l===n?(i-s)/c+(i<s?6:0):l===i?(s-n)/c+2:(n-i)/c+4,o*=60),h[0]=~~(o+.5),h[1]=~~(100*a+.5),h[2]=~~(100*u+.5)),r&&h.length<4&&(h[3]=1),h},me=function(t){var e=[],r=[],n=-1;return t.split(ve).forEach(function(t){var i=t.match(j)||[];e.push.apply(e,i),r.push(n+=i.length+1)}),e.c=r,e},De=function(t,e,r){var n,i,s,o,a="",u=(t+a).match(ve),l=e?"hsla(":"rgba(",p=0;if(!u)return t;if(u=u.map(function(t){return(t=_e(t,e,1))&&l+(e?t[0]+","+t[1]+"%,"+t[2]+"%,"+t[3]:t.join(","))+")"}),r&&(s=me(t),(n=r.c).join(a)!==s.c.join(a)))for(o=(i=t.replace(ve,"1").split(j)).length-1;p<o;p++)a+=i[p]+(~n.indexOf(p)?u.shift()||l+"0,0,0,0)":(s.length?s:u.length?u:r).shift());if(!i)for(o=(i=t.split(ve)).length-1;p<o;p++)a+=i[p]+u[p];return a+i[o]},ve=function(){var t,e="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(t in fe)e+="|"+t+"\\b";return new RegExp(e+")","gi")}(),ye=/hsl[a]?\(/,xe=function(t){var e,r=t.join(" ");if(ve.lastIndex=0,ve.test(r))return e=ye.test(r),t[1]=De(t[1],e),t[0]=De(t[0],e,me(t[1])),!0},be=function(){var t,e,r,n,i,s,p=Date.now,c=500,h=33,f=p(),g=f,_=1e3/240,m=_,D=[],v=function r(o){var a,u,l,d,v=p()-g,y=!0===o;if((v>c||v<0)&&(f+=v-h),((a=(l=(g+=v)-f)-m)>0||y)&&(d=++n.frame,i=l-1e3*n.time,n.time=l/=1e3,m+=a+(a>=_?4:_-a),u=1),y||(t=e(r)),u)for(s=0;s<D.length;s++)D[s](l,i,d,o)};return n={time:0,frame:0,tick:function(){v(!0)},deltaRatio:function(t){return i/(1e3/(t||60))},wake:function(){l&&(!a&&O()&&(o=a=window,u=o.document||{},G.gsap=xr,(o.gsapVersions||(o.gsapVersions=[])).push(xr.version),U($||o.GreenSockGlobals||!o.gsap&&o||{}),ce.forEach(de)),r="undefined"!=typeof requestAnimationFrame&&requestAnimationFrame,t&&n.sleep(),e=r||function(t){return setTimeout(t,m-1e3*n.time+1|0)},d=1,v(2))},sleep:function(){(r?cancelAnimationFrame:clearTimeout)(t),d=0,e=Q},lagSmoothing:function(t,e){c=t||1/0,h=Math.min(e||33,c)},fps:function(t){_=1e3/(t||240),m=1e3*n.time+_},add:function(t,e,r){var i=e?function(e,r,s,o){t(e,r,s,o),n.remove(i)}:t;return n.remove(t),D[r?"unshift":"push"](i),we(),i},remove:function(t,e){~(e=D.indexOf(t))&&D.splice(e,1)&&s>=e&&s--},_listeners:D}}(),we=function(){return!d&&be.wake()},Ce={},Fe=/^[\d.\-M][\d.\-,\s]/,Ee=/["']/g,Te=function(t){for(var e,r,n,i={},s=t.substr(1,t.length-3).split(":"),o=s[0],a=1,u=s.length;a<u;a++)r=s[a],e=a!==u-1?r.lastIndexOf(","):r.length,n=r.substr(0,e),i[o]=isNaN(n)?n.replace(Ee,"").trim():+n,o=r.substr(e+1).trim();return i},Se=function(t){return function(e){return 1-t(1-e)}},Re=function t(e,r){for(var n,i=e._first;i;)i instanceof Ne?t(i,r):!i.vars.yoyoEase||i._yoyo&&i._repeat||i._yoyo===r||(i.timeline?t(i.timeline,r):(n=i._ease,i._ease=i._yEase,i._yEase=n,i._yoyo=r)),i=i._next},Ae=function(t,e){return t&&(S(t)?t:Ce[t]||function(t){var e,r,n,i,s=(t+"").split("("),o=Ce[s[0]];return o&&s.length>1&&o.config?o.config.apply(null,~t.indexOf("{")?[Te(s[1])]:(e=t,r=e.indexOf("(")+1,n=e.indexOf(")"),i=e.indexOf("(",r),e.substring(r,~i&&i<n?e.indexOf(")",n+1):n)).split(",").map(Dt)):Ce._CE&&Fe.test(t)?Ce._CE("",t):o}(t))||e},Me=function(t,e,r,n){void 0===r&&(r=function(t){return 1-e(1-t)}),void 0===n&&(n=function(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2});var i,s={easeIn:e,easeOut:r,easeInOut:n};return ct(t,function(t){for(var e in Ce[t]=G[t]=s,Ce[i=t.toLowerCase()]=r,s)Ce[i+("easeIn"===e?".in":"easeOut"===e?".out":".inOut")]=Ce[t+"."+e]=s[e]}),s},ke=function(t){return function(e){return e<.5?(1-t(1-2*e))/2:.5+t(2*(e-.5))/2}},Oe=function t(e,r,n){var i=r>=1?r:1,s=(n||(e?.3:.45))/(r<1?r:1),o=s/x*(Math.asin(1/i)||0),a=function(t){return 1===t?1:i*Math.pow(2,-10*t)*E((t-o)*s)+1},u="out"===e?a:"in"===e?function(t){return 1-a(1-t)}:ke(a);return s=x/s,u.config=function(r,n){return t(e,r,n)},u},Pe=function t(e,r){void 0===r&&(r=1.70158);var n=function(t){return t?--t*t*((r+1)*t+r)+1:0},i="out"===e?n:"in"===e?function(t){return 1-n(1-t)}:ke(n);return i.config=function(r){return t(e,r)},i};ct("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var r=e<5?e+1:e;Me(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})}),Ce.Linear.easeNone=Ce.none=Ce.Linear.easeIn,Me("Elastic",Oe("in"),Oe("out"),Oe()),h=7.5625,g=1/(f=2.75),Me("Bounce",function(t){return 1-_(1-t)},_=function(t){return t<g?h*t*t:t<.7272727272727273?h*Math.pow(t-1.5/f,2)+.75:t<.9090909090909092?h*(t-=2.25/f)*t+.9375:h*Math.pow(t-2.625/f,2)+.984375}),Me("Expo",function(t){return Math.pow(2,10*(t-1))*t+t*t*t*t*t*t*(1-t)}),Me("Circ",function(t){return-(C(1-t*t)-1)}),Me("Sine",function(t){return 1===t?1:1-F(t*b)}),Me("Back",Pe("in"),Pe("out"),Pe()),Ce.SteppedEase=Ce.steps=G.SteppedEase={config:function(t,e){void 0===t&&(t=1);var r=1/t,n=t+(e?0:1),i=e?1:0;return function(t){return((n*Vt(0,.99999999,t)|0)+i)*r}}},D.ease=Ce["quad.out"],ct("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return at+=t+","+t+"Params,"});var Be=function(t,e){this.id=w++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:pt,this.set=e?e.getSetter:Ke},Le=function(){function t(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,qt(this,+t.duration,1,1),this.data=t.data,i&&(this._ctx=i,i.data.push(this)),d||be.wake()}var e=t.prototype;return e.delay=function(t){return t||0===t?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},e.duration=function(t){return arguments.length?this.totalDuration(this._repeat>0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,qt(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,e){if(we(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(Bt(this,t),!r._dp||r.parent||Lt(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&&t<this._tDur||this._ts<0&&t>0||!this._tDur&&!t)&&Nt(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===y||!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+Mt(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)+Mt(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?kt(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?Ot(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||-1e-8===t?0:this._rts,this.totalTime(Vt(-Math.abs(this._delay),this._tDur,r),!1!==e),Pt(this),function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t}(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):(we(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==y&&(this._tTime-=y)))),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)&&Nt(e,this,t-this._delay),this}return this._start},e.endTime=function(t){return this._start+(k(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?Ot(e.rawTime(t),this):this._tTime:this._tTime},e.revert=function(t){void 0===t&&(t=K);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,Yt(this)):-2===this._repeat?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var e=this._time;return this._rDelay=t,Yt(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($t(this,t),k(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,k(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&&t<this.endTime(!0)-y))},e.eventCallback=function(t,e,r){var n=this.vars;return arguments.length>1?(e?(n[t]=e,r&&(n[t+"Params"]=r),"onUpdate"===t&&(this._onUpdate=e)):delete n[t],this):n[t]},e.then=function(t){var e=this;return new Promise(function(r){var n=S(t)?t:vt,i=function(){var t=e.then;e.then=null,S(n)&&(n=n(e))&&(n.then||n===e)&&(e.then=t),r(n),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?i():e._prom=i})},e.kill=function(){pe(this)},t}();yt(Le.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 Ne=function(r){function i(e,n){var i;return void 0===e&&(e={}),(i=r.call(this,e)||this).labels={},i.smoothChildTiming=!!e.smoothChildTiming,i.autoRemoveChildren=!!e.autoRemoveChildren,i._sort=k(e.sortChildren),s&&Nt(e.parent||s,t(i),n),e.reversed&&i.reverse(),e.paused&&i.paused(!0),e.scrollTrigger&&It(t(i),e.scrollTrigger),i}e(i,r);var o=i.prototype;return o.to=function(t,e,r){return Ut(0,arguments,this),this},o.from=function(t,e,r){return Ut(1,arguments,this),this},o.fromTo=function(t,e,r,n){return Ut(2,arguments,this),this},o.set=function(t,e,r){return e.duration=0,e.parent=this,Ct(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new Ve(t,e,$t(this,r),1),this},o.call=function(t,e,r){return Nt(this,Ve.delayedCall(0,t,e),r)},o.staggerTo=function(t,e,r,n,i,s,o){return r.duration=e,r.stagger=r.stagger||n,r.onComplete=s,r.onCompleteParams=o,r.parent=this,new Ve(t,r,$t(this,i)),this},o.staggerFrom=function(t,e,r,n,i,s,o){return r.runBackwards=1,Ct(r).immediateRender=k(r.immediateRender),this.staggerTo(t,e,r,n,i,s,o)},o.staggerFromTo=function(t,e,r,n,i,s,o,a){return n.startAt=r,Ct(n).immediateRender=k(n.immediateRender),this.staggerTo(t,e,n,i,s,o,a)},o.render=function(t,e,r){var i,o,a,u,l,p,c,d,h,f,g,_,m=this._time,D=this._dirty?this.totalDuration():this._tDur,v=this._dur,x=t<=0?0:ht(t),b=this._zTime<0!=t<0&&(this._initted||!v);if(this!==s&&x>D&&t>=0&&(x=D),x!==this._tTime||r||b){if(m!==this._time&&v&&(x+=this._time-m,t+=this._time-m),i=x,h=this._start,p=!(d=this._ts),b&&(v||(m=this._zTime),(t||!e)&&(this._zTime=t)),this._repeat){if(g=this._yoyo,l=v+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*l+t,e,r);if(i=ht(x%l),x===D?(u=this._repeat,i=v):((u=~~(f=ht(x/l)))&&u===f&&(i=v,u--),i>v&&(i=v)),f=kt(this._tTime,l),!m&&this._tTime&&f!==u&&this._tTime-f*l-this._dur<=0&&(f=u),g&&1&u&&(i=v-i,_=1),u!==f&&!this._lock){var w=g&&1&f,C=w===(g&&1&u);if(u<f&&(w=!w),m=w?0:x%v?v:x,this._lock=1,this.render(m||(_?0:ht(u*l)),e,!v)._lock=0,this._tTime=x,!e&&this.parent&&le(this,"onRepeat"),this.vars.repeatRefresh&&!_&&(this.invalidate()._lock=1),m&&m!==this._time||p!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(v=this._dur,D=this._tDur,C&&(this._lock=2,m=w?v:-1e-4,this.render(m,!0),this.vars.repeatRefresh&&!_&&this.invalidate()),this._lock=0,!this._ts&&!p)return this;Re(this,_)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(c=function(t,e,r){var n;if(r>e)for(n=t._first;n&&n._start<=r;){if("isPause"===n.data&&n._start>e)return n;n=n._next}else for(n=t._last;n&&n._start>=r;){if("isPause"===n.data&&n._start<e)return n;n=n._prev}}(this,ht(m),ht(i)),c&&(x-=i-(i=c._start))),this._tTime=x,this._time=i,this._act=!d,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t,m=0),!m&&i&&!e&&!u&&(le(this,"onStart"),this._tTime!==x))return this;if(i>=m&&t>=0)for(o=this._first;o;){if(a=o._next,(o._act||i>=o._start)&&o._ts&&c!==o){if(o.parent!==this)return this.render(t,e,r);if(o.render(o._ts>0?(i-o._start)*o._ts:(o._dirty?o.totalDuration():o._tDur)+(i-o._start)*o._ts,e,r),i!==this._time||!this._ts&&!p){c=0,a&&(x+=this._zTime=-1e-8);break}}o=a}else{o=this._last;for(var F=t<0?t:i;o;){if(a=o._prev,(o._act||F<=o._end)&&o._ts&&c!==o){if(o.parent!==this)return this.render(t,e,r);if(o.render(o._ts>0?(F-o._start)*o._ts:(o._dirty?o.totalDuration():o._tDur)+(F-o._start)*o._ts,e,r||n&&(o._initted||o._startAt)),i!==this._time||!this._ts&&!p){c=0,a&&(x+=this._zTime=F?-1e-8:y);break}}o=a}}if(c&&!e&&(this.pause(),c.render(i>=m?0:-1e-8)._zTime=i>=m?1:-1,this._ts))return this._start=h,Pt(this),this.render(t,e,r);this._onUpdate&&!e&&le(this,"onUpdate",!0),(x===D&&this._tTime>=this.totalDuration()||!x&&m)&&(h!==this._start&&Math.abs(d)===Math.abs(this._ts)||this._lock||((t||!v)&&(x===D&&this._ts>0||!x&&this._ts<0)&&Tt(this,1),e||t<0&&!m||!x&&!m&&D||(le(this,x===D&&t>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(x<D&&this.timeScale()>0)&&this._prom())))}return this},o.add=function(t,e){var r=this;if(R(e)||(e=$t(this,e,t)),!(t instanceof Le)){if(L(t))return t.forEach(function(t){return r.add(t,e)}),this;if(T(t))return this.addLabel(t,e);if(!S(t))return this;t=Ve.delayedCall(0,t)}return this!==t?Nt(this,t,e):this},o.getChildren=function(t,e,r,n){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0),void 0===n&&(n=-v);for(var i=[],s=this._first;s;)s._start>=n&&(s instanceof Ve?e&&i.push(s):(r&&i.push(s),t&&i.push.apply(i,s.getChildren(!0,e,r)))),s=s._next;return i},o.getById=function(t){for(var e=this.getChildren(1,1,1),r=e.length;r--;)if(e[r].vars.id===t)return e[r]},o.remove=function(t){return T(t)?this.removeLabel(t):S(t)?this.killTweensOf(t):(t.parent===this&&Et(this,t),t===this._recent&&(this._recent=this._last),St(this))},o.totalTime=function(t,e){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=ht(be.time-(this._ts>0?t/this._ts:(this.totalDuration()-t)/-this._ts))),r.prototype.totalTime.call(this,t,e),this._forcing=0,this):this._tTime},o.addLabel=function(t,e){return this.labels[t]=$t(this,e),this},o.removeLabel=function(t){return delete this.labels[t],this},o.addPause=function(t,e,r){var n=Ve.delayedCall(0,e||Q,r);return n.data="isPause",this._hasPause=1,Nt(this,n,$t(this,t))},o.removePause=function(t){var e=this._first;for(t=$t(this,t);e;)e._start===t&&"isPause"===e.data&&Tt(e),e=e._next},o.killTweensOf=function(t,e,r){for(var n=this.getTweensOf(t,r),i=n.length;i--;)Ie!==n[i]&&n[i].kill(t,e);return this},o.getTweensOf=function(t,e){for(var r,n=[],i=Jt(t),s=this._first,o=R(e);s;)s instanceof Ve?gt(s._targets,i)&&(o?(!Ie||s._initted&&s._ts)&&s.globalTime(0)<=e&&s.globalTime(s.totalDuration())>e:!e||s.isActive())&&n.push(s):(r=s.getTweensOf(i,e)).length&&n.push.apply(n,r),s=s._next;return n},o.tweenTo=function(t,e){e=e||{};var r,n=this,i=$t(n,t),s=e,o=s.startAt,a=s.onStart,u=s.onStartParams,l=s.immediateRender,p=Ve.to(n,yt({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:i,overwrite:"auto",duration:e.duration||Math.abs((i-(o&&"time"in o?o.time:n._time))/n.timeScale())||y,onStart:function(){if(n.pause(),!r){var t=e.duration||Math.abs((i-(o&&"time"in o?o.time:n._time))/n.timeScale());p._dur!==t&&qt(p,t,0,1).render(p._time,!0,!0),r=1}a&&a.apply(p,u||[])}},e));return l?p.render(0):p},o.tweenFromTo=function(t,e,r){return this.tweenTo(e,yt({startAt:{time:$t(this,t)}},r))},o.recent=function(){return this._recent},o.nextLabel=function(t){return void 0===t&&(t=this._time),ue(this,$t(this,t))},o.previousLabel=function(t){return void 0===t&&(t=this._time),ue(this,$t(this,t),1)},o.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+y)},o.shiftChildren=function(t,e,r){void 0===r&&(r=0);for(var n,i=this._first,s=this.labels;i;)i._start>=r&&(i._start+=t,i._end+=t),i=i._next;if(e)for(n in s)s[n]>=r&&(s[n]+=t);return St(this)},o.invalidate=function(t){var e=this._first;for(this._lock=0;e;)e.invalidate(t),e=e._next;return r.prototype.invalidate.call(this,t)},o.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={}),St(this)},o.totalDuration=function(t){var e,r,n,i=0,o=this,a=o._last,u=v;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-t:t));if(o._dirty){for(n=o.parent;a;)e=a._prev,a._dirty&&a.totalDuration(),(r=a._start)>u&&o._sort&&a._ts&&!o._lock?(o._lock=1,Nt(o,a,r-a._delay,1)._lock=0):u=r,r<0&&a._ts&&(i-=r,(!n&&!o._dp||n&&n.smoothChildTiming)&&(o._start+=r/o._ts,o._time-=r,o._tTime-=r),o.shiftChildren(-r,!1,-1/0),u=0),a._end>i&&a._ts&&(i=a._end),a=e;qt(o,o===s&&o._time>i?o._time:i,1,1),o._dirty=0}return o._tDur},i.updateRoot=function(t){if(s._ts&&(mt(s,Ot(t,s)),p=be.frame),be.frame>=st){st+=m.autoSleep||120;var e=s._first;if((!e||!e._ts)&&m.autoSleep&&be._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||be.sleep()}}},i}(Le);yt(Ne.prototype,{_lock:0,_hasPause:0,_forcing:0});var Ie,je,ze=function(t,e,r,n,i,s,o){var a,u,l,p,c,d,h,f,g=new ur(this._pt,t,e,0,1,rr,null,i),_=0,m=0;for(g.b=r,g.e=n,r+="",(h=~(n+="").indexOf("random("))&&(n=oe(n)),s&&(s(f=[r,n],t,e),r=f[0],n=f[1]),u=r.match(z)||[];a=z.exec(n);)p=a[0],c=n.substring(_,a.index),l?l=(l+1)%5:"rgba("===c.substr(-5)&&(l=1),p!==u[m++]&&(d=parseFloat(u[m-1])||0,g._pt={_next:g._pt,p:c||1===m?c:",",s:d,c:"="===p.charAt(1)?ft(d,p)-d:parseFloat(p)-d,m:l&&l<4?Math.round:0},_=z.lastIndex);return g.c=_<n.length?n.substring(_,n.length):"",g.fp=o,(X.test(n)||h)&&(g.e=0),this._pt=g,g},Xe=function(t,e,r,n,i,s,o,a,u,l){S(n)&&(n=n(i||0,t,s));var p,c=t[e],d="get"!==r?r:S(c)?u?t[e.indexOf("set")||!S(t["get"+e.substr(3)])?e:"get"+e.substr(3)](u):t[e]():c,h=S(c)?u?Ze:Qe:We;if(T(n)&&(~n.indexOf("random(")&&(n=oe(n)),"="===n.charAt(1)&&((p=ft(d,n)+(Wt(d)||0))||0===p)&&(n=p)),!l||d!==n||je)return isNaN(d*n)||""===n?(!c&&!(e in t)&&H(e,n),ze.call(this,t,e,d,n,h,a||m.stringFilter,u)):(p=new ur(this._pt,t,e,+d||0,n-(d||0),"boolean"==typeof c?er:tr,0,h),u&&(p.fp=u),o&&p.modifier(o,this,t),this._pt=p)},qe=function(t,e,r,n,i,s){var o,a,u,l;if(nt[t]&&!1!==(o=new nt[t]).init(i,o.rawVars?e[t]:function(t,e,r,n,i){if(S(t)&&(t=$e(t,i,e,r,n)),!M(t)||t.style&&t.nodeType||L(t)||B(t))return T(t)?$e(t,i,e,r,n):t;var s,o={};for(s in t)o[s]=$e(t[s],i,e,r,n);return o}(e[t],n,i,s,r),r,n,s)&&(r._pt=a=new ur(r._pt,i,t,0,1,o.render,o,0,o.priority),r!==c))for(u=r._ptLookup[r._targets.indexOf(i)],l=o._props.length;l--;)u[o._props[l]]=a;return o},Ye=function t(e,i,o){var a,u,l,p,c,d,h,f,g,_,m,x,b,w=e.vars,C=w.ease,F=w.startAt,E=w.immediateRender,T=w.lazy,S=w.onUpdate,R=w.runBackwards,A=w.yoyoEase,M=w.keyframes,O=w.autoRevert,P=e._dur,B=e._startAt,L=e._targets,N=e.parent,I=N&&"nested"===N.data?N.vars.targets:L,j="auto"===e._overwrite&&!r,z=e.timeline;if(z&&(!M||!C)&&(C="none"),e._ease=Ae(C,D.ease),e._yEase=A?Se(Ae(!0===A?C:A,D.ease)):0,A&&e._yoyo&&!e._repeat&&(A=e._yEase,e._yEase=e._ease,e._ease=A),e._from=!z&&!!w.runBackwards,!z||M&&!w.stagger){if(x=(f=L[0]?lt(L[0]).harness:0)&&w[f.prop],a=wt(w,tt),B&&(B._zTime<0&&B.progress(1),i<0&&R&&E&&!O?B.render(-1,!0):B.revert(R&&P?J:Z),B._lazy=0),F){if(Tt(e._startAt=Ve.set(L,yt({data:"isStart",overwrite:!1,parent:N,immediateRender:!0,lazy:!B&&k(T),startAt:null,delay:0,onUpdate:S&&function(){return le(e,"onUpdate")},stagger:0},F))),e._startAt._dp=0,e._startAt._sat=e,i<0&&(n||!E&&!O)&&e._startAt.revert(J),E&&P&&i<=0&&o<=0)return void(i&&(e._zTime=i))}else if(R&&P&&!B)if(i&&(E=!1),l=yt({overwrite:!1,data:"isFromStart",lazy:E&&!B&&k(T),immediateRender:E,stagger:0,parent:N},a),x&&(l[f.prop]=x),Tt(e._startAt=Ve.set(L,l)),e._startAt._dp=0,e._startAt._sat=e,i<0&&(n?e._startAt.revert(J):e._startAt.render(-1,!0)),e._zTime=i,E){if(!i)return}else t(e._startAt,y,y);for(e._pt=e._ptCache=0,T=P&&k(T)||T&&!P,u=0;u<L.length;u++){if(h=(c=L[u])._gsap||ut(L)[u]._gsap,e._ptLookup[u]=_={},rt[h.id]&&et.length&&_t(),m=I===L?u:I.indexOf(c),f&&!1!==(g=new f).init(c,x||a,e,m,I)&&(e._pt=p=new ur(e._pt,c,g.name,0,1,g.render,g,0,g.priority),g._props.forEach(function(t){_[t]=p}),g.priority&&(d=1)),!f||x)for(l in a)nt[l]&&(g=qe(l,a,e,m,c,I))?g.priority&&(d=1):_[l]=p=Xe.call(e,c,l,"get",a[l],m,I,0,w.stringFilter);e._op&&e._op[u]&&e.kill(c,e._op[u]),j&&e._pt&&(Ie=e,s.killTweensOf(c,_,e.globalTime(i)),b=!e.parent,Ie=0),e._pt&&T&&(rt[h.id]=1)}d&&ar(e),e._onInit&&e._onInit(e)}e._onUpdate=S,e._initted=(!e._op||e._pt)&&!b,M&&i<=0&&z.render(v,!0,!0)},Ge=function(t,e,r,n){var i,s,o=e.ease||n||"power1.inOut";if(L(e))s=r[t]||(r[t]=[]),e.forEach(function(t,r){return s.push({t:r/(e.length-1)*100,v:t,e:o})});else for(i in e)s=r[i]||(r[i]=[]),"ease"===i||s.push({t:parseFloat(t),v:e[i],e:o})},$e=function(t,e,r,n,i){return S(t)?t.call(e,r,n,i):T(t)&&~t.indexOf("random(")?oe(t):t},Ue=at+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",He={};ct(Ue+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return He[t]=1});var Ve=function(i){function o(e,n,o,a){var u;"number"==typeof n&&(o.duration=n,n=o,o=null);var l,p,c,d,h,f,g,_,D=(u=i.call(this,a?n:Ct(n))||this).vars,v=D.duration,y=D.delay,x=D.immediateRender,b=D.stagger,w=D.overwrite,C=D.keyframes,F=D.defaults,E=D.scrollTrigger,T=D.yoyoEase,S=n.parent||s,A=(L(e)||B(e)?R(e[0]):"length"in n)?[e]:Jt(e);if(u._targets=A.length?ut(A):V("GSAP target "+e+" not found. https://gsap.com",!m.nullTargetWarn)||[],u._ptLookup=[],u._overwrite=w,C||b||P(v)||P(y)){if(n=u.vars,(l=u.timeline=new Ne({data:"nested",defaults:F||{},targets:S&&"nested"===S.data?S.vars.targets:A})).kill(),l.parent=l._dp=t(u),l._start=0,b||P(v)||P(y)){if(d=A.length,g=b&&ee(b),M(b))for(h in b)~Ue.indexOf(h)&&(_||(_={}),_[h]=b[h]);for(p=0;p<d;p++)(c=wt(n,He)).stagger=0,T&&(c.yoyoEase=T),_&&xt(c,_),f=A[p],c.duration=+$e(v,t(u),p,f,A),c.delay=(+$e(y,t(u),p,f,A)||0)-u._delay,!b&&1===d&&c.delay&&(u._delay=y=c.delay,u._start+=y,c.delay=0),l.to(f,c,g?g(p,f,A):0),l._ease=Ce.none;l.duration()?v=y=0:u.timeline=0}else if(C){Ct(yt(l.vars.defaults,{ease:"none"})),l._ease=Ae(C.ease||n.ease||"none");var O,N,I,j=0;if(L(C))C.forEach(function(t){return l.to(A,t,">")}),l.duration();else{for(h in c={},C)"ease"===h||"easeEach"===h||Ge(h,C[h],c,C.easeEach);for(h in c)for(O=c[h].sort(function(t,e){return t.t-e.t}),j=0,p=0;p<O.length;p++)(I={ease:(N=O[p]).e,duration:(N.t-(p?O[p-1].t:0))/100*v})[h]=N.v,l.to(A,I,j),j+=I.duration;l.duration()<v&&l.to({},{duration:v-l.duration()})}}v||u.duration(v=l.duration())}else u.timeline=0;return!0!==w||r||(Ie=t(u),s.killTweensOf(A),Ie=0),Nt(S,t(u),o),n.reversed&&u.reverse(),n.paused&&u.paused(!0),(x||!v&&!C&&u._start===ht(S._time)&&k(x)&&At(t(u))&&"nested"!==S.data)&&(u._tTime=-1e-8,u.render(Math.max(0,-y)||0)),E&&It(t(u),E),u}e(o,i);var a=o.prototype;return a.render=function(t,e,r){var i,s,o,a,u,l,p,c,d,h=this._time,f=this._tDur,g=this._dur,_=t<0,m=t>f-y&&!_?f:t<y?0:t;if(g){if(m!==this._tTime||!t||r||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==_||this._lazy){if(i=m,c=this.timeline,this._repeat){if(a=g+this._rDelay,this._repeat<-1&&_)return this.totalTime(100*a+t,e,r);if(i=ht(m%a),m===f?(o=this._repeat,i=g):(o=~~(u=ht(m/a)))&&o===u?(i=g,o--):i>g&&(i=g),(l=this._yoyo&&1&o)&&(d=this._yEase,i=g-i),u=kt(this._tTime,a),i===h&&!r&&this._initted&&o===u)return this._tTime=m,this;o!==u&&(c&&this._yEase&&Re(c,l),this.vars.repeatRefresh&&!l&&!this._lock&&i!==a&&this._initted&&(this._lock=r=1,this.render(ht(a*o),!0).invalidate()._lock=0))}if(!this._initted){if(jt(this,_?t:i,r,e,m))return this._tTime=0,this;if(!(h===this._time||r&&this.vars.repeatRefresh&&o!==u))return this;if(g!==this._dur)return this.render(t,e,r)}if(this._tTime=m,this._time=i,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=p=(d||this._ease)(i/g),this._from&&(this.ratio=p=1-p),i&&!h&&!e&&!o&&(le(this,"onStart"),this._tTime!==m))return this;for(s=this._pt;s;)s.r(p,s.d),s=s._next;c&&c.render(t<0?t:c._dur*c._ease(i/this._dur),e,r)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(_&&Rt(this,t,0,r),le(this,"onUpdate")),this._repeat&&o!==u&&this.vars.onRepeat&&!e&&this.parent&&le(this,"onRepeat"),m!==this._tDur&&m||this._tTime!==m||(_&&!this._onUpdate&&Rt(this,t,0,!0),(t||!g)&&(m===this._tDur&&this._ts>0||!m&&this._ts<0)&&Tt(this,1),e||_&&!h||!(m||h||l)||(le(this,m===f?"onComplete":"onReverseComplete",!0),this._prom&&!(m<f&&this.timeScale()>0)&&this._prom()))}}else!function(t,e,r,i){var s,o,a,u=t.ratio,l=e<0||!e&&(!t._start&&zt(t)&&(t._initted||!Xt(t))||(t._ts<0||t._dp._ts<0)&&!Xt(t))?0:1,p=t._rDelay,c=0;if(p&&t._repeat&&(c=Vt(0,t._tDur,e),o=kt(c,p),t._yoyo&&1&o&&(l=1-l),o!==kt(t._tTime,p)&&(u=1-l,t.vars.repeatRefresh&&t._initted&&t.invalidate())),l!==u||n||i||t._zTime===y||!e&&t._zTime){if(!t._initted&&jt(t,e,i,r,c))return;for(a=t._zTime,t._zTime=e||(r?y:0),r||(r=e&&!a),t.ratio=l,t._from&&(l=1-l),t._time=0,t._tTime=c,s=t._pt;s;)s.r(l,s.d),s=s._next;e<0&&Rt(t,e,0,!0),t._onUpdate&&!r&&le(t,"onUpdate"),c&&t._repeat&&!r&&t.parent&&le(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===l&&(l&&Tt(t,1),r||n||(le(t,l?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,r);return this},a.targets=function(){return this._targets},a.invalidate=function(t){return(!t||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(t),i.prototype.invalidate.call(this,t)},a.resetTo=function(t,e,r,n,i){d||be.wake(),this._ts||this.play();var s=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||Ye(this,s),function(t,e,r,n,i,s,o,a){var u,l,p,c,d=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!d)for(d=t._ptCache[e]=[],p=t._ptLookup,c=t._targets.length;c--;){if((u=p[c][e])&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==e&&u.fp!==e;)u=u._next;if(!u)return je=1,t.vars[e]="+=0",Ye(t,o),je=0,a?V(e+" not eligible for reset"):1;d.push(u)}for(c=d.length;c--;)(u=(l=d[c])._pt||l).s=!n&&0!==n||i?u.s+(n||0)+s*u.c:n,u.c=r-u.s,l.e&&(l.e=dt(r)+Wt(l.e)),l.b&&(l.b=u.s+Wt(l.b))}(this,t,e,r,n,this._ease(s/this._dur),s,i)?this.resetTo(t,e,r,n,1):(Bt(this,0),this.parent||Ft(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},a.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e))return this._lazy=this._pt=0,this.parent?pe(this):this.scrollTrigger&&this.scrollTrigger.kill(!!n),this;if(this.timeline){var r=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,Ie&&!0!==Ie.vars.overwrite)._first||pe(this),this.parent&&r!==this.timeline.totalDuration()&&qt(this,this._dur*this.timeline._tDur/r,0,1),this}var i,s,o,a,u,l,p,c=this._targets,d=t?Jt(t):c,h=this._ptLookup,f=this._pt;if((!e||"all"===e)&&function(t,e){for(var r=t.length,n=r===e.length;n&&r--&&t[r]===e[r];);return r<0}(c,d))return"all"===e&&(this._pt=0),pe(this);for(i=this._op=this._op||[],"all"!==e&&(T(e)&&(u={},ct(e,function(t){return u[t]=1}),e=u),e=function(t,e){var r,n,i,s,o=t[0]?lt(t[0]).harness:0,a=o&&o.aliases;if(!a)return e;for(n in r=xt({},e),a)if(n in r)for(i=(s=a[n].split(",")).length;i--;)r[s[i]]=r[n];return r}(c,e)),p=c.length;p--;)if(~d.indexOf(c[p]))for(u in s=h[p],"all"===e?(i[p]=e,a=s,o={}):(o=i[p]=i[p]||{},a=e),a)(l=s&&s[u])&&("kill"in l.d&&!0!==l.d.kill(u)||Et(this,l,"_pt"),delete s[u]),"all"!==o&&(o[u]=1);return this._initted&&!this._pt&&f&&pe(this),this},o.to=function(t,e){return new o(t,e,arguments[2])},o.from=function(t,e){return Ut(1,arguments)},o.delayedCall=function(t,e,r,n){return new o(e,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:e,onReverseComplete:e,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:n})},o.fromTo=function(t,e,r){return Ut(2,arguments)},o.set=function(t,e){return e.duration=0,e.repeatDelay||(e.repeat=0),new o(t,e)},o.killTweensOf=function(t,e,r){return s.killTweensOf(t,e,r)},o}(Le);yt(Ve.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),ct("staggerTo,staggerFrom,staggerFromTo",function(t){Ve[t]=function(){var e=new Ne,r=Qt.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},Qe=function(t,e,r){return t[e](r)},Ze=function(t,e,r,n){return t[e](n.fp,r)},Je=function(t,e,r){return t.setAttribute(e,r)},Ke=function(t,e){return S(t[e])?Qe:A(t[e])&&t.setAttribute?Je:We},tr=function(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},er=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},rr=function(t,e){var r=e._pt,n="";if(!t&&e.b)n=e.b;else if(1===t&&e.e)n=e.e;else{for(;r;)n=r.p+(r.m?r.m(r.s+r.c*t):Math.round(1e4*(r.s+r.c*t))/1e4)+n,r=r._next;n+=e.c}e.set(e.t,e.p,n,e)},nr=function(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next},ir=function(t,e,r,n){for(var i,s=this._pt;s;)i=s._next,s.p===n&&s.modifier(t,e,r),s=i},sr=function(t){for(var e,r,n=this._pt;n;)r=n._next,n.p===t&&!n.op||n.op===t?Et(this,n,"_pt"):n.dep||(e=1),n=r;return!e},or=function(t,e,r,n){n.mSet(t,e,n.m.call(n.tween,r,n.mt),n)},ar=function(t){for(var e,r,n,i,s=t._pt;s;){for(e=s._next,r=n;r&&r.pr>s.pr;)r=r._next;(s._prev=r?r._prev:i)?s._prev._next=s:n=s,(s._next=r)?r._prev=s:i=s,s=e}t._pt=n},ur=function(){function t(t,e,r,n,i,s,o,a,u){this.t=e,this.s=n,this.c=i,this.p=r,this.r=s||tr,this.d=o||this,this.set=a||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=or,this.m=t,this.mt=r,this.tween=e},t}();ct(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 tt[t]=1}),G.TweenMax=G.TweenLite=Ve,G.TimelineLite=G.TimelineMax=Ne,s=new Ne({sortChildren:!1,defaults:D,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),m.stringFilter=xe;var lr=[],pr={},cr=[],dr=0,hr=0,fr=function(t){return(pr[t]||cr).map(function(t){return t()})},gr=function(){var t=Date.now(),e=[];t-dr>2&&(fr("matchMediaInit"),lr.forEach(function(t){var r,n,i,s,a=t.queries,u=t.conditions;for(n in a)(r=o.matchMedia(a[n]).matches)&&(i=1),r!==u[n]&&(u[n]=r,s=1);s&&(t.revert(),i&&e.push(t))}),fr("matchMediaRevert"),e.forEach(function(t){return t.onMatch(t,function(e){return t.add(null,e)})}),dr=t,fr("matchMedia"))},_r=function(){function t(t,e){this.selector=e&&Kt(e),this.data=[],this._r=[],this.isReverted=!1,this.id=hr++,t&&this.add(t)}var e=t.prototype;return e.add=function(t,e,r){S(t)&&(r=e,e=t,t=S);var n=this,s=function(){var t,s=i,o=n.selector;return s&&s!==n&&s.data.push(n),r&&(n.selector=Kt(r)),i=n,t=e.apply(n,arguments),S(t)&&n._r.push(t),i=s,n.selector=o,n.isReverted=!1,t};return n.last=s,t===S?s(n,function(t){return n.add(null,t)}):t?n[t]=s:s},e.ignore=function(t){var e=i;i=null,t(this),i=e},e.getTweens=function(){var e=[];return this.data.forEach(function(r){return r instanceof t?e.push.apply(e,r.getTweens()):r instanceof Ve&&!(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,n=r.getTweens(),i=r.data.length;i--;)"isFlip"===(e=r.data[i]).data&&(e.revert(),e.getChildren(!0,!0,!1).forEach(function(t){return n.splice(n.indexOf(t),1)}));for(n.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)}),i=r.data.length;i--;)(e=r.data[i])instanceof Ne?"nested"!==e.data&&(e.scrollTrigger&&e.scrollTrigger.revert(),e.kill()):!(e instanceof Ve)&&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 n=lr.length;n--;)lr[n].id===this.id&&lr.splice(n,1)},e.revert=function(t){this.kill(t||{})},t}(),mr=function(){function t(t){this.contexts=[],this.scope=t,i&&i.data.push(this)}var e=t.prototype;return e.add=function(t,e,r){M(t)||(t={matches:t});var n,s,a,u=new _r(0,r||this.scope),l=u.conditions={};for(s in i&&!u.selector&&(u.selector=i.selector),this.contexts.push(u),e=u.add("onMatch",e),u.queries=t,t)"all"===s?a=1:(n=o.matchMedia(t[s]))&&(lr.indexOf(u)<0&&lr.push(u),(l[s]=n.matches)&&(a=1),n.addListener?n.addListener(gr):n.addEventListener("change",gr));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}(),Dr={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];e.forEach(function(t){return de(t)})},timeline:function(t){return new Ne(t)},getTweensOf:function(t,e){return s.getTweensOf(t,e)},getProperty:function(t,e,r,n){T(t)&&(t=Jt(t)[0]);var i=lt(t||{}).get,s=r?vt:Dt;return"native"===r&&(r=""),t?e?s((nt[e]&&nt[e].get||i)(t,e,r,n)):function(e,r,n){return s((nt[e]&&nt[e].get||i)(t,e,r,n))}:t},quickSetter:function(t,e,r){if((t=Jt(t)).length>1){var n=t.map(function(t){return xr.quickSetter(t,e,r)}),i=n.length;return function(t){for(var e=i;e--;)n[e](t)}}t=t[0]||{};var s=nt[e],o=lt(t),a=o.harness&&(o.harness.aliases||{})[e]||e,u=s?function(e){var n=new s;c._pt=0,n.init(t,r?e+r:e,c,0,[t]),n.render(1,n),c._pt&&nr(1,c)}:o.set(t,a);return s?u:function(e){return u(t,a,r?e+r:e,o,1)}},quickTo:function(t,e,r){var n,i=xr.to(t,yt(((n={})[e]="+=0.1",n.paused=!0,n.stagger=0,n),r||{})),s=function(t,r,n){return i.resetTo(e,t,r,n)};return s.tween=i,s},isTweening:function(t){return s.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Ae(t.ease,D.ease)),bt(D,t||{})},config:function(t){return bt(m,t||{})},registerEffect:function(t){var e=t.name,r=t.effect,n=t.plugins,i=t.defaults,s=t.extendTimeline;(n||"").split(",").forEach(function(t){return t&&!nt[t]&&!G[t]&&V(e+" effect requires "+t+" plugin.")}),it[e]=function(t,e,n){return r(Jt(t),yt(e||{},i),n)},s&&(Ne.prototype[e]=function(t,r,n){return this.add(it[e](t,M(r)?r:(n=r)&&{},this),n)})},registerEase:function(t,e){Ce[t]=Ae(e)},parseEase:function(t,e){return arguments.length?Ae(t,e):Ce},getById:function(t){return s.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var r,n,i=new Ne(t);for(i.smoothChildTiming=k(t.smoothChildTiming),s.remove(i),i._dp=0,i._time=i._tTime=s._time,r=s._first;r;)n=r._next,!e&&!r._dur&&r instanceof Ve&&r.vars.onComplete===r._targets[0]||Nt(i,r,r._start-r._delay),r=n;return Nt(s,i,0),i},context:function(t,e){return t?new _r(t,e):i},matchMedia:function(t){return new mr(t)},matchMediaRefresh:function(){return lr.forEach(function(t){var e,r,n=t.conditions;for(r in n)n[r]&&(n[r]=!1,e=1);e&&t.revert()})||gr()},addEventListener:function(t,e){var r=pr[t]||(pr[t]=[]);~r.indexOf(e)||r.push(e)},removeEventListener:function(t,e){var r=pr[t],n=r&&r.indexOf(e);n>=0&&r.splice(n,1)},utils:{wrap:function t(e,r,n){var i=r-e;return L(e)?se(e,t(0,e.length),r):Ht(n,function(t){return(i+(t-e)%i)%i+e})},wrapYoyo:function t(e,r,n){var i=r-e,s=2*i;return L(e)?se(e,t(0,e.length-1),r):Ht(n,function(t){return e+((t=(s+(t-e)%s)%s||0)>i?s-t:t)})},distribute:ee,random:ie,snap:ne,normalize:function(t,e,r){return ae(t,e,0,1,r)},getUnit:Wt,clamp:function(t,e,r){return Ht(r,function(r){return Vt(t,e,r)})},splitColor:_e,toArray:Jt,selector:Kt,mapRange:ae,pipe:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(t){return e.reduce(function(t,e){return e(t)},t)}},unitize:function(t,e){return function(r){return t(parseFloat(r))+(e||Wt(r))}},interpolate:function t(e,r,n,i){var s=isNaN(e+r)?0:function(t){return(1-t)*e+t*r};if(!s){var o,a,u,l,p,c=T(e),d={};if(!0===n&&(i=1)&&(n=null),c)e={p:e},r={p:r};else if(L(e)&&!L(r)){for(u=[],l=e.length,p=l-2,a=1;a<l;a++)u.push(t(e[a-1],e[a]));l--,s=function(t){t*=l;var e=Math.min(p,~~t);return u[e](t-e)},n=r}else i||(e=xt(L(e)?[]:{},e));if(!u){for(o in r)Xe.call(d,e,o,"get",r[o]);s=function(t){return nr(t,d)||(c?e.p:e)}}}return Ht(n,s)},shuffle:te},install:U,effects:it,ticker:be,updateRoot:Ne.updateRoot,plugins:nt,globalTimeline:s,core:{PropTween:ur,globals:W,Tween:Ve,Timeline:Ne,Animation:Le,getCache:lt,_removeLinkedListItem:Et,reverting:function(){return n},context:function(t){return t&&i&&(i.data.push(t),t._ctx=i),i},suppressOverwrites:function(t){return r=t}}};ct("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return Dr[t]=Ve[t]}),be.add(Ne.updateRoot),c=Dr.to({},{duration:0});var vr=function(t,e){for(var r=t._pt;r&&r.p!==e&&r.op!==e&&r.fp!==e;)r=r._next;return r},yr=function(t,e){return{name:t,rawVars:1,init:function(t,r,n){n._onInit=function(t){var n,i;if(T(r)&&(n={},ct(r,function(t){return n[t]=1}),r=n),e){for(i in n={},r)n[i]=e(r[i]);r=n}!function(t,e){var r,n,i,s=t._targets;for(r in e)for(n=s.length;n--;)(i=t._ptLookup[n][r])&&(i=i.d)&&(i._pt&&(i=vr(i,r)),i&&i.modifier&&i.modifier(e[r],t,s[n],r))}(t,r)}}}},xr=Dr.registerPlugin({name:"attr",init:function(t,e,r,n,i){var s,o,a;for(s in this.tween=r,e)a=t.getAttribute(s)||"",(o=this.add(t,"setAttribute",(a||0)+"",e[s],n,i,0,0,s)).op=s,o.b=a,this._props.push(s)},render:function(t,e){for(var r=e._pt;r;)n?r.set(r.t,r.p,r.b,r):r.r(t,r.d),r=r._next}},{name:"endArray",init:function(t,e){for(var r=e.length;r--;)this.add(t,r,t[r]||0,e[r],0,0,0,0,0,1)}},yr("roundProps",re),yr("modifiers"),yr("snap",ne))||Dr;Ve.version=Ne.version=xr.version="3.12.7",l=1,O()&&we(),Ce.Power0,Ce.Power1,Ce.Power2,Ce.Power3,Ce.Power4,Ce.Linear,Ce.Quad,Ce.Cubic,Ce.Quart,Ce.Quint,Ce.Strong,Ce.Elastic,Ce.Back,Ce.SteppedEase,Ce.Bounce,Ce.Sine,Ce.Expo,Ce.Circ;var br,wr,Cr,Fr,Er,Tr,Sr,Rr,Ar={},Mr=180/Math.PI,kr=Math.PI/180,Or=Math.atan2,Pr=/([A-Z])/g,Br=/(left|right|width|margin|padding|x)/i,Lr=/[\s,\(]\S/,Nr={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Ir=function(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)},jr=function(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)},zr=function(t,e){return e.set(e.t,e.p,t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)},Xr=function(t,e){var r=e.s+e.c*t;e.set(e.t,e.p,~~(r+(r<0?-.5:.5))+e.u,e)},qr=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},Yr=function(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)},Gr=function(t,e,r){return t.style[e]=r},$r=function(t,e,r){return t.style.setProperty(e,r)},Ur=function(t,e,r){return t._gsap[e]=r},Hr=function(t,e,r){return t._gsap.scaleX=t._gsap.scaleY=r},Vr=function(t,e,r,n,i){var s=t._gsap;s.scaleX=s.scaleY=r,s.renderTransform(i,s)},Wr=function(t,e,r,n,i){var s=t._gsap;s[e]=r,s.renderTransform(i,s)},Qr="transform",Zr=Qr+"Origin",Jr=function t(e,r){var n=this,i=this.target,s=i.style,o=i._gsap;if(e in Ar&&s){if(this.tfm=this.tfm||{},"transform"===e)return Nr.transform.split(",").forEach(function(e){return t.call(n,e,r)});if(~(e=Nr[e]||e).indexOf(",")?e.split(",").forEach(function(t){return n.tfm[t]=mn(i,t)}):this.tfm[e]=o.x?o[e]:mn(i,e),e===Zr&&(this.tfm.zOrigin=o.zOrigin),this.props.indexOf(Qr)>=0)return;o.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(Zr,r,"")),e=Qr}(s||r)&&this.props.push(e,r,s[e])},Kr=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},tn=function(){var t,e,r=this.props,n=this.target,i=n.style,s=n._gsap;for(t=0;t<r.length;t+=3)r[t+1]?2===r[t+1]?n[r[t]](r[t+2]):n[r[t]]=r[t+2]:r[t+2]?i[r[t]]=r[t+2]:i.removeProperty("--"===r[t].substr(0,2)?r[t]:r[t].replace(Pr,"-$1").toLowerCase());if(this.tfm){for(e in this.tfm)s[e]=this.tfm[e];s.svg&&(s.renderTransform(),n.setAttribute("data-svg-origin",this.svgo||"")),(t=Sr())&&t.isStart||i[Qr]||(Kr(i),s.zOrigin&&i[Zr]&&(i[Zr]+=" "+s.zOrigin+"px",s.zOrigin=0,s.renderTransform()),s.uncache=1)}},en=function(t,e){var r={target:t,props:[],revert:tn,save:Jr};return t._gsap||xr.core.getCache(t),e&&t.style&&t.nodeType&&e.split(",").forEach(function(t){return r.save(t)}),r},rn=function(t,e){var r=wr.createElementNS?wr.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):wr.createElement(t);return r&&r.style?r:wr.createElement(t)},nn=function t(e,r,n){var i=getComputedStyle(e);return i[r]||i.getPropertyValue(r.replace(Pr,"-$1").toLowerCase())||i.getPropertyValue(r)||!n&&t(e,on(r)||r,1)||""},sn="O,Moz,ms,Ms,Webkit".split(","),on=function(t,e,r){var n=(e||Er).style,i=5;if(t in n&&!r)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);i--&&!(sn[i]+t in n););return i<0?null:(3===i?"ms":i>=0?sn[i]:"")+t},an=function(){"undefined"!=typeof window&&window.document&&(br=window,wr=br.document,Cr=wr.documentElement,Er=rn("div")||{style:{}},rn("div"),Qr=on(Qr),Zr=Qr+"Origin",Er.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Rr=!!on("perspective"),Sr=xr.core.reverting,Fr=1)},un=function(t){var e,r=t.ownerSVGElement,n=rn("svg",r&&r.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=t.cloneNode(!0);i.style.display="block",n.appendChild(i),Cr.appendChild(n);try{e=i.getBBox()}catch(t){}return n.removeChild(i),Cr.removeChild(n),e},ln=function(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])},pn=function(t){var e,r;try{e=t.getBBox()}catch(n){e=un(t),r=1}return e&&(e.width||e.height)||r||(e=un(t)),!e||e.width||e.x||e.y?e:{x:+ln(t,["x","cx","x1"])||0,y:+ln(t,["y","cy","y1"])||0,width:0,height:0}},cn=function(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!pn(t))},dn=function(t,e){if(e){var r,n=t.style;e in Ar&&e!==Zr&&(e=Qr),n.removeProperty?("ms"!==(r=e.substr(0,2))&&"webkit"!==e.substr(0,6)||(e="-"+e),n.removeProperty("--"===r?e:e.replace(Pr,"-$1").toLowerCase())):n.removeAttribute(e)}},hn=function(t,e,r,n,i,s){var o=new ur(t._pt,e,r,0,1,s?Yr:qr);return t._pt=o,o.b=n,o.e=i,t._props.push(r),o},fn={deg:1,rad:1,turn:1},gn={grid:1,flex:1},_n=function t(e,r,n,i){var s,o,a,u,l=parseFloat(n)||0,p=(n+"").trim().substr((l+"").length)||"px",c=Er.style,d=Br.test(r),h="svg"===e.tagName.toLowerCase(),f=(h?"client":"offset")+(d?"Width":"Height"),g=100,_="px"===i,m="%"===i;if(i===p||!l||fn[i]||fn[p])return l;if("px"!==p&&!_&&(l=t(e,r,n,"px")),u=e.getCTM&&cn(e),(m||"%"===p)&&(Ar[r]||~r.indexOf("adius")))return s=u?e.getBBox()[d?"width":"height"]:e[f],dt(m?l/s*g:l/100*s);if(c[d?"width":"height"]=g+(_?p:i),o="rem"!==i&&~r.indexOf("adius")||"em"===i&&e.appendChild&&!h?e:e.parentNode,u&&(o=(e.ownerSVGElement||{}).parentNode),o&&o!==wr&&o.appendChild||(o=wr.body),(a=o._gsap)&&m&&a.width&&d&&a.time===be.time&&!a.uncache)return dt(l/a.width*g);if(!m||"height"!==r&&"width"!==r)(m||"%"===p)&&!gn[nn(o,"display")]&&(c.position=nn(e,"position")),o===e&&(c.position="static"),o.appendChild(Er),s=Er[f],o.removeChild(Er),c.position="absolute";else{var D=e.style[r];e.style[r]=g+i,s=e[f],D?e.style[r]=D:dn(e,r)}return d&&m&&((a=lt(o)).time=be.time,a.width=o[f]),dt(_?s*l/g:s&&l?g/s*l:0)},mn=function(t,e,r,n){var i;return Fr||an(),e in Nr&&"transform"!==e&&~(e=Nr[e]).indexOf(",")&&(e=e.split(",")[0]),Ar[e]&&"transform"!==e?(i=Sn(t,n),i="transformOrigin"!==e?i[e]:i.svg?i.origin:Rn(nn(t,Zr))+" "+i.zOrigin+"px"):(!(i=t.style[e])||"auto"===i||n||~(i+"").indexOf("calc("))&&(i=xn[e]&&xn[e](t,e,r)||nn(t,e)||pt(t,e)||("opacity"===e?1:0)),r&&!~(i+"").trim().indexOf(" ")?_n(t,e,i,r)+r:i},Dn=function(t,e,r,n){if(!r||"none"===r){var i=on(e,t,1),s=i&&nn(t,i,1);s&&s!==r?(e=i,r=s):"borderColor"===e&&(r=nn(t,"borderTopColor"))}var o,a,u,l,p,c,d,h,f,g,_,D=new ur(this._pt,t.style,e,0,1,rr),v=0,y=0;if(D.b=r,D.e=n,r+="","auto"==(n+="")&&(c=t.style[e],t.style[e]=n,n=nn(t,e)||n,c?t.style[e]=c:dn(t,e)),xe(o=[r,n]),n=o[1],u=(r=o[0]).match(j)||[],(n.match(j)||[]).length){for(;a=j.exec(n);)d=a[0],f=n.substring(v,a.index),p?p=(p+1)%5:"rgba("!==f.substr(-5)&&"hsla("!==f.substr(-5)||(p=1),d!==(c=u[y++]||"")&&(l=parseFloat(c)||0,_=c.substr((l+"").length),"="===d.charAt(1)&&(d=ft(l,d)+_),h=parseFloat(d),g=d.substr((h+"").length),v=j.lastIndex-g.length,g||(g=g||m.units[e]||_,v===n.length&&(n+=g,D.e+=g)),_!==g&&(l=_n(t,e,c,g)||0),D._pt={_next:D._pt,p:f||1===y?f:",",s:l,c:h-l,m:p&&p<4||"zIndex"===e?Math.round:0});D.c=v<n.length?n.substring(v,n.length):""}else D.r="display"===e&&"none"===n?Yr:qr;return X.test(n)&&(D.e=0),this._pt=D,D},vn={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},yn=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var r,n,i,s=e.t,o=s.style,a=e.u,u=s._gsap;if("all"===a||!0===a)o.cssText="",n=1;else for(i=(a=a.split(",")).length;--i>-1;)r=a[i],Ar[r]&&(n=1,r="transformOrigin"===r?Zr:Qr),dn(s,r);n&&(dn(s,Qr),u&&(u.svg&&s.removeAttribute("transform"),o.scale=o.rotate=o.translate="none",Sn(s,1),u.uncache=1,Kr(o)))}},xn={clearProps:function(t,e,r,n,i){if("isFromStart"!==i.data){var s=t._pt=new ur(t._pt,e,r,0,0,yn);return s.u=n,s.pr=-10,s.tween=i,t._props.push(r),1}}},bn=[1,0,0,1,0,0],wn={},Cn=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},Fn=function(t){var e=nn(t,Qr);return Cn(e)?bn:e.substr(7).match(I).map(dt)},En=function(t,e){var r,n,i,s,o=t._gsap||lt(t),a=t.style,u=Fn(t);return o.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(u=[(i=t.transform.baseVal.consolidate().matrix).a,i.b,i.c,i.d,i.e,i.f]).join(",")?bn:u:(u!==bn||t.offsetParent||t===Cr||o.svg||(i=a.display,a.display="block",(r=t.parentNode)&&(t.offsetParent||t.getBoundingClientRect().width)||(s=1,n=t.nextElementSibling,Cr.appendChild(t)),u=Fn(t),i?a.display=i:dn(t,"display"),s&&(n?r.insertBefore(t,n):r?r.appendChild(t):Cr.removeChild(t))),e&&u.length>6?[u[0],u[1],u[4],u[5],u[12],u[13]]:u)},Tn=function(t,e,r,n,i,s){var o,a,u,l=t._gsap,p=i||En(t,!0),c=l.xOrigin||0,d=l.yOrigin||0,h=l.xOffset||0,f=l.yOffset||0,g=p[0],_=p[1],m=p[2],D=p[3],v=p[4],y=p[5],x=e.split(" "),b=parseFloat(x[0])||0,w=parseFloat(x[1])||0;r?p!==bn&&(a=g*D-_*m)&&(u=b*(-_/a)+w*(g/a)-(g*y-_*v)/a,b=b*(D/a)+w*(-m/a)+(m*y-D*v)/a,w=u):(b=(o=pn(t)).x+(~x[0].indexOf("%")?b/100*o.width:b),w=o.y+(~(x[1]||x[0]).indexOf("%")?w/100*o.height:w)),n||!1!==n&&l.smooth?(v=b-c,y=w-d,l.xOffset=h+(v*g+y*m)-v,l.yOffset=f+(v*_+y*D)-y):l.xOffset=l.yOffset=0,l.xOrigin=b,l.yOrigin=w,l.smooth=!!n,l.origin=e,l.originIsAbsolute=!!r,t.style[Zr]="0px 0px",s&&(hn(s,l,"xOrigin",c,b),hn(s,l,"yOrigin",d,w),hn(s,l,"xOffset",h,l.xOffset),hn(s,l,"yOffset",f,l.yOffset)),t.setAttribute("data-svg-origin",b+" "+w)},Sn=function(t,e){var r=t._gsap||new Be(t);if("x"in r&&!e&&!r.uncache)return r;var n,i,s,o,a,u,l,p,c,d,h,f,g,_,D,v,y,x,b,w,C,F,E,T,S,R,A,M,k,O,P,B,L=t.style,N=r.scaleX<0,I="px",j="deg",z=getComputedStyle(t),X=nn(t,Zr)||"0";return n=i=s=u=l=p=c=d=h=0,o=a=1,r.svg=!(!t.getCTM||!cn(t)),z.translate&&("none"===z.translate&&"none"===z.scale&&"none"===z.rotate||(L[Qr]=("none"!==z.translate?"translate3d("+(z.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==z.rotate?"rotate("+z.rotate+") ":"")+("none"!==z.scale?"scale("+z.scale.split(" ").join(",")+") ":"")+("none"!==z[Qr]?z[Qr]:"")),L.scale=L.rotate=L.translate="none"),_=En(t,r.svg),r.svg&&(r.uncache?(S=t.getBBox(),X=r.xOrigin-S.x+"px "+(r.yOrigin-S.y)+"px",T=""):T=!e&&t.getAttribute("data-svg-origin"),Tn(t,T||X,!!T||r.originIsAbsolute,!1!==r.smooth,_)),f=r.xOrigin||0,g=r.yOrigin||0,_!==bn&&(x=_[0],b=_[1],w=_[2],C=_[3],n=F=_[4],i=E=_[5],6===_.length?(o=Math.sqrt(x*x+b*b),a=Math.sqrt(C*C+w*w),u=x||b?Or(b,x)*Mr:0,(c=w||C?Or(w,C)*Mr+u:0)&&(a*=Math.abs(Math.cos(c*kr))),r.svg&&(n-=f-(f*x+g*w),i-=g-(f*b+g*C))):(B=_[6],O=_[7],A=_[8],M=_[9],k=_[10],P=_[11],n=_[12],i=_[13],s=_[14],l=(D=Or(B,k))*Mr,D&&(T=F*(v=Math.cos(-D))+A*(y=Math.sin(-D)),S=E*v+M*y,R=B*v+k*y,A=F*-y+A*v,M=E*-y+M*v,k=B*-y+k*v,P=O*-y+P*v,F=T,E=S,B=R),p=(D=Or(-w,k))*Mr,D&&(v=Math.cos(-D),P=C*(y=Math.sin(-D))+P*v,x=T=x*v-A*y,b=S=b*v-M*y,w=R=w*v-k*y),u=(D=Or(b,x))*Mr,D&&(T=x*(v=Math.cos(D))+b*(y=Math.sin(D)),S=F*v+E*y,b=b*v-x*y,E=E*v-F*y,x=T,F=S),l&&Math.abs(l)+Math.abs(u)>359.9&&(l=u=0,p=180-p),o=dt(Math.sqrt(x*x+b*b+w*w)),a=dt(Math.sqrt(E*E+B*B)),D=Or(F,E),c=Math.abs(D)>2e-4?D*Mr:0,h=P?1/(P<0?-P:P):0),r.svg&&(T=t.getAttribute("transform"),r.forceCSS=t.setAttribute("transform","")||!Cn(nn(t,Qr)),T&&t.setAttribute("transform",T))),Math.abs(c)>90&&Math.abs(c)<270&&(N?(o*=-1,c+=u<=0?180:-180,u+=u<=0?180:-180):(a*=-1,c+=c<=0?180:-180)),e=e||r.uncache,r.x=n-((r.xPercent=n&&(!e&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-n)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+I,r.y=i-((r.yPercent=i&&(!e&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-i)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+I,r.z=s+I,r.scaleX=dt(o),r.scaleY=dt(a),r.rotation=dt(u)+j,r.rotationX=dt(l)+j,r.rotationY=dt(p)+j,r.skewX=c+j,r.skewY=d+j,r.transformPerspective=h+I,(r.zOrigin=parseFloat(X.split(" ")[2])||!e&&r.zOrigin||0)&&(L[Zr]=Rn(X)),r.xOffset=r.yOffset=0,r.force3D=m.force3D,r.renderTransform=r.svg?Ln:Rr?Bn:Mn,r.uncache=0,r},Rn=function(t){return(t=t.split(" "))[0]+" "+t[1]},An=function(t,e,r){var n=Wt(e);return dt(parseFloat(e)+parseFloat(_n(t,"x",r+"px",n)))+n},Mn=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Bn(t,e)},kn="0deg",On="0px",Pn=") ",Bn=function(t,e){var r=e||this,n=r.xPercent,i=r.yPercent,s=r.x,o=r.y,a=r.z,u=r.rotation,l=r.rotationY,p=r.rotationX,c=r.skewX,d=r.skewY,h=r.scaleX,f=r.scaleY,g=r.transformPerspective,_=r.force3D,m=r.target,D=r.zOrigin,v="",y="auto"===_&&t&&1!==t||!0===_;if(D&&(p!==kn||l!==kn)){var x,b=parseFloat(l)*kr,w=Math.sin(b),C=Math.cos(b);b=parseFloat(p)*kr,x=Math.cos(b),s=An(m,s,w*x*-D),o=An(m,o,-Math.sin(b)*-D),a=An(m,a,C*x*-D+D)}g!==On&&(v+="perspective("+g+Pn),(n||i)&&(v+="translate("+n+"%, "+i+"%) "),(y||s!==On||o!==On||a!==On)&&(v+=a!==On||y?"translate3d("+s+", "+o+", "+a+") ":"translate("+s+", "+o+Pn),u!==kn&&(v+="rotate("+u+Pn),l!==kn&&(v+="rotateY("+l+Pn),p!==kn&&(v+="rotateX("+p+Pn),c===kn&&d===kn||(v+="skew("+c+", "+d+Pn),1===h&&1===f||(v+="scale("+h+", "+f+Pn),m.style[Qr]=v||"translate(0, 0)"},Ln=function(t,e){var r,n,i,s,o,a=e||this,u=a.xPercent,l=a.yPercent,p=a.x,c=a.y,d=a.rotation,h=a.skewX,f=a.skewY,g=a.scaleX,_=a.scaleY,m=a.target,D=a.xOrigin,v=a.yOrigin,y=a.xOffset,x=a.yOffset,b=a.forceCSS,w=parseFloat(p),C=parseFloat(c);d=parseFloat(d),h=parseFloat(h),(f=parseFloat(f))&&(h+=f=parseFloat(f),d+=f),d||h?(d*=kr,h*=kr,r=Math.cos(d)*g,n=Math.sin(d)*g,i=Math.sin(d-h)*-_,s=Math.cos(d-h)*_,h&&(f*=kr,o=Math.tan(h-f),i*=o=Math.sqrt(1+o*o),s*=o,f&&(o=Math.tan(f),r*=o=Math.sqrt(1+o*o),n*=o)),r=dt(r),n=dt(n),i=dt(i),s=dt(s)):(r=g,s=_,n=i=0),(w&&!~(p+"").indexOf("px")||C&&!~(c+"").indexOf("px"))&&(w=_n(m,"x",p,"px"),C=_n(m,"y",c,"px")),(D||v||y||x)&&(w=dt(w+D-(D*r+v*i)+y),C=dt(C+v-(D*n+v*s)+x)),(u||l)&&(o=m.getBBox(),w=dt(w+u/100*o.width),C=dt(C+l/100*o.height)),o="matrix("+r+","+n+","+i+","+s+","+w+","+C+")",m.setAttribute("transform",o),b&&(m.style[Qr]=o)},Nn=function(t,e,r,n,i){var s,o,a=360,u=T(i),l=parseFloat(i)*(u&&~i.indexOf("rad")?Mr:1)-n,p=n+l+"deg";return u&&("short"===(s=i.split("_")[1])&&(l%=a)!==l%180&&(l+=l<0?a:-360),"cw"===s&&l<0?l=(l+36e9)%a-~~(l/a)*a:"ccw"===s&&l>0&&(l=(l-36e9)%a-~~(l/a)*a)),t._pt=o=new ur(t._pt,e,r,n,l,jr),o.e=p,o.u="deg",t._props.push(r),o},In=function(t,e){for(var r in e)t[r]=e[r];return t},jn=function(t,e,r){var n,i,s,o,a,u,l,p=In({},r._gsap),c=r.style;for(i in p.svg?(s=r.getAttribute("transform"),r.setAttribute("transform",""),c[Qr]=e,n=Sn(r,1),dn(r,Qr),r.setAttribute("transform",s)):(s=getComputedStyle(r)[Qr],c[Qr]=e,n=Sn(r,1),c[Qr]=s),Ar)(s=p[i])!==(o=n[i])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(i)<0&&(a=Wt(s)!==(l=Wt(o))?_n(r,i,s,l):parseFloat(s),u=parseFloat(o),t._pt=new ur(t._pt,n,i,a,u-a,Ir),t._pt.u=l||0,t._props.push(i));In(n,p)};ct("padding,margin,Width,Radius",function(t,e){var r="Top",n="Right",i="Bottom",s="Left",o=(e<3?[r,n,i,s]:[r+s,r+n,i+n,i+s]).map(function(r){return e<2?t+r:"border"+r+t});xn[e>1?"border"+t:t]=function(t,e,r,n,i){var s,a;if(arguments.length<4)return s=o.map(function(e){return mn(t,e,r)}),5===(a=s.join(" ")).split(s[0]).length?s[0]:a;s=(n+"").split(" "),a={},o.forEach(function(t,e){return a[t]=s[e]=s[e]||s[(e-1)/2|0]}),t.init(e,a,i)}});var zn,Xn,qn={name:"css",register:an,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,r,n,i){var s,o,a,u,l,p,c,d,h,f,g,_,D,v,y,x,b,w,C,F,E=this._props,S=t.style,R=r.vars.startAt;for(c in Fr||an(),this.styles=this.styles||en(t),x=this.styles.props,this.tween=r,e)if("autoRound"!==c&&(o=e[c],!nt[c]||!qe(c,e,r,n,t,i)))if(l=typeof o,p=xn[c],"function"===l&&(l=typeof(o=o.call(r,n,t,i))),"string"===l&&~o.indexOf("random(")&&(o=oe(o)),p)p(this,t,c,o,r)&&(y=1);else if("--"===c.substr(0,2))s=(getComputedStyle(t).getPropertyValue(c)+"").trim(),o+="",ve.lastIndex=0,ve.test(s)||(d=Wt(s),h=Wt(o)),h?d!==h&&(s=_n(t,c,s,h)+h):d&&(o+=d),this.add(S,"setProperty",s,o,n,i,0,0,c),E.push(c),x.push(c,0,S[c]);else if("undefined"!==l){if(R&&c in R?(s="function"==typeof R[c]?R[c].call(r,n,t,i):R[c],T(s)&&~s.indexOf("random(")&&(s=oe(s)),Wt(s+"")||"auto"===s||(s+=m.units[c]||Wt(mn(t,c))||""),"="===(s+"").charAt(1)&&(s=mn(t,c))):s=mn(t,c),u=parseFloat(s),(f="string"===l&&"="===o.charAt(1)&&o.substr(0,2))&&(o=o.substr(2)),a=parseFloat(o),c in Nr&&("autoAlpha"===c&&(1===u&&"hidden"===mn(t,"visibility")&&a&&(u=0),x.push("visibility",0,S.visibility),hn(this,S,"visibility",u?"inherit":"hidden",a?"inherit":"hidden",!a)),"scale"!==c&&"transform"!==c&&~(c=Nr[c]).indexOf(",")&&(c=c.split(",")[0])),g=c in Ar)if(this.styles.save(c),_||((D=t._gsap).renderTransform&&!e.parseTransform||Sn(t,e.parseTransform),v=!1!==e.smoothOrigin&&D.smooth,(_=this._pt=new ur(this._pt,S,Qr,0,1,D.renderTransform,D,0,-1)).dep=1),"scale"===c)this._pt=new ur(this._pt,D,"scaleY",D.scaleY,(f?ft(D.scaleY,f+a):a)-D.scaleY||0,Ir),this._pt.u=0,E.push("scaleY",c),c+="X";else{if("transformOrigin"===c){x.push(Zr,0,S[Zr]),w=void 0,C=void 0,F=void 0,C=(w=(b=o).split(" "))[0],F=w[1]||"50%","top"!==C&&"bottom"!==C&&"left"!==F&&"right"!==F||(b=C,C=F,F=b),w[0]=vn[C]||C,w[1]=vn[F]||F,o=w.join(" "),D.svg?Tn(t,o,0,v,0,this):((h=parseFloat(o.split(" ")[2])||0)!==D.zOrigin&&hn(this,D,"zOrigin",D.zOrigin,h),hn(this,S,c,Rn(s),Rn(o)));continue}if("svgOrigin"===c){Tn(t,o,1,v,0,this);continue}if(c in wn){Nn(this,D,c,u,f?ft(u,f+o):o);continue}if("smoothOrigin"===c){hn(this,D,"smooth",D.smooth,o);continue}if("force3D"===c){D[c]=o;continue}if("transform"===c){jn(this,o,t);continue}}else c in S||(c=on(c)||c);if(g||(a||0===a)&&(u||0===u)&&!Lr.test(o)&&c in S)a||(a=0),(d=(s+"").substr((u+"").length))!==(h=Wt(o)||(c in m.units?m.units[c]:d))&&(u=_n(t,c,s,h)),this._pt=new ur(this._pt,g?D:S,c,u,(f?ft(u,f+a):a)-u,g||"px"!==h&&"zIndex"!==c||!1===e.autoRound?Ir:Xr),this._pt.u=h||0,d!==h&&"%"!==h&&(this._pt.b=s,this._pt.r=zr);else if(c in S)Dn.call(this,t,c,s,f?f+o:o);else if(c in t)this.add(t,c,s||t[c],f?f+o:o,n,i);else if("parseTransform"!==c){H(c,o);continue}g||(c in S?x.push(c,0,S[c]):"function"==typeof t[c]?x.push(c,2,t[c]()):x.push(c,1,s||t[c])),E.push(c)}y&&ar(this)},render:function(t,e){if(e.tween._time||!Sr())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:mn,aliases:Nr,getSetter:function(t,e,r){var n=Nr[e];return n&&n.indexOf(",")<0&&(e=n),e in Ar&&e!==Zr&&(t._gsap.x||mn(t,"x"))?r&&Tr===r?"scale"===e?Hr:Ur:(Tr=r||{})&&("scale"===e?Vr:Wr):t.style&&!A(t.style[e])?Gr:~e.indexOf("-")?$r:Ke(t,e)},core:{_removeProperty:dn,_getMatrix:En}};xr.utils.checkPrefix=on,xr.core.getStyleSaver=en,Xn=ct("x,y,z,scale,scaleX,scaleY,xPercent,yPercent"+","+(zn="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",function(t){Ar[t]=1}),ct(zn,function(t){m.units[t]="deg",wn[t]=1}),Nr[Xn[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+zn,ct("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",function(t){var e=t.split(":");Nr[e[1]]=Xn[e[0]]}),ct("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){m.units[t]="px"}),xr.registerPlugin(qn);var Yn=xr.registerPlugin(qn)||xr,Gn=Yn.core.Tween;const $n=/([\uD800-\uDBFF][\uDC00-\uDFFF](?:[\u200D\uFE0F][\uD800-\uDBFF][\uDC00-\uDFFF]){2,}|\uD83D\uDC69(?:\u200D(?:(?:\uD83D\uDC69\u200D)?\uD83D\uDC67|(?:\uD83D\uDC69\u200D)?\uD83D\uDC66)|\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D(?:\uD83D\uDC69\u200D)?\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D(?:\uD83D\uDC69\u200D)?\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2642\u2640]\uFE0F|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDD27\uDCBC\uDD2C\uDE80\uDE92])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC6F\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3C-\uDD3E\uDDD6-\uDDDF])\u200D[\u2640\u2642]\uFE0F|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|(?:\u26F9|\uD83C[\uDFCC\uDFCB]|\uD83D\uDD75)(?:\uFE0F\u200D[\u2640\u2642]|(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642])\uFE0F|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\uD83D\uDC69\u200D[\u2695\u2696\u2708]|\uD83D\uDC68(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708]))\uFE0F|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83D\uDC69\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|\uD83D\uDC68(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC66\u200D\uD83D\uDC66|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]))|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDD1-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\u200D(?:(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC67|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC66)|\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC69\uDC6E\uDC70-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD26\uDD30-\uDD39\uDD3D\uDD3E\uDDD1-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])?|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDEEB\uDEEC\uDEF4-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u2660\u2663\u2665\u2666\u2668\u267B\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])\uFE0F)/;function Un(t){let e=t.nodeType,r="";if(1===e||9===e||11===e){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)r+=Un(t)}else if(3===e||4===e)return t.nodeValue;return r}
let Hn,Vn,Wn,Qn,Zn,Jn,Kn=/(?:\r|\n|\t\t)/g,ti=/(?:\s\s+)/g,ei=String.fromCharCode(160),ri=t=>{Hn=document,Vn=window,Qn=Qn||t||Vn.gsap||console.warn("Please gsap.registerPlugin(SplitText)"),Qn&&(Jn=Qn.utils.toArray,Zn=Qn.core.context||function(){},Wn=1)},ni=t=>Vn.getComputedStyle(t),ii=t=>"absolute"===t.position||!0===t.absolute,si=(t,e)=>{let r,n=e.length;for(;--n>-1;)if(r=e[n],t.substr(0,r.length)===r)return r.length},oi=(t="",e)=>{let r=~t.indexOf("++"),n=1;return r&&(t=t.split("++").join("")),()=>"<"+e+" style='position:relative;display:inline-block;'"+(t?" class='"+t+(r?n++:"")+"'>":">")},ai=(t,e,r)=>{let n=t.nodeType;if(1===n||9===n||11===n)for(t=t.firstChild;t;t=t.nextSibling)ai(t,e,r);else 3!==n&&4!==n||(t.nodeValue=t.nodeValue.split(e).join(r))},ui=(t,e)=>{let r=e.length;for(;--r>-1;)t.push(e[r])},li=(t,e,r)=>{let n;for(;t&&t!==e;){if(n=t._next||t.nextSibling,n)return n.textContent.charAt(0)===r;t=t.parentNode||t._parent}},pi=t=>{let e,r,n=Jn(t.childNodes),i=n.length;for(e=0;e<i;e++)r=n[e],r._isSplit?pi(r):e&&r.previousSibling&&3===r.previousSibling.nodeType?(r.previousSibling.nodeValue+=3===r.nodeType?r.nodeValue:r.firstChild.nodeValue,t.removeChild(r)):3!==r.nodeType&&(t.insertBefore(r.firstChild,r),t.removeChild(r))},ci=(t,e)=>parseFloat(e[t])||0,di=(t,e,r,n,i,s,o)=>{let a,u,l,p,c,d,h,f,g,_,m,D,v=ni(t),y=ci("paddingLeft",v),x=-999,b=ci("borderBottomWidth",v)+ci("borderTopWidth",v),w=ci("borderLeftWidth",v)+ci("borderRightWidth",v),C=ci("paddingTop",v)+ci("paddingBottom",v),F=ci("paddingLeft",v)+ci("paddingRight",v),E=ci("fontSize",v)*(e.lineThreshold||.2),T=v.textAlign,S=[],R=[],A=[],M=e.wordDelimiter||" ",k=e.tag?e.tag:e.span?"span":"div",O=e.type||e.split||"chars,words,lines",P=i&&~O.indexOf("lines")?[]:null,B=~O.indexOf("words"),L=~O.indexOf("chars"),N=ii(e),I=e.linesClass,j=~(I||"").indexOf("++"),z=[],X="flex"===v.display,q=t.style.display;for(j&&(I=I.split("++").join("")),X&&(t.style.display="block"),u=t.getElementsByTagName("*"),l=u.length,c=[],a=0;a<l;a++)c[a]=u[a];if(P||N)for(a=0;a<l;a++)p=c[a],d=p.parentNode===t,(d||N||L&&!B)&&(D=p.offsetTop,P&&d&&Math.abs(D-x)>E&&("BR"!==p.nodeName||0===a)&&(h=[],P.push(h),x=D),N&&(p._x=p.offsetLeft,p._y=D,p._w=p.offsetWidth,p._h=p.offsetHeight),P&&((p._isSplit&&d||!L&&d||B&&d||!B&&p.parentNode.parentNode===t&&!p.parentNode._isSplit)&&(h.push(p),p._x-=y,li(p,t,M)&&(p._wordEnd=!0)),"BR"===p.nodeName&&(p.nextSibling&&"BR"===p.nextSibling.nodeName||0===a)&&P.push([])));for(a=0;a<l;a++)if(p=c[a],d=p.parentNode===t,"BR"!==p.nodeName)if(N&&(g=p.style,B||d||(p._x+=p.parentNode._x,p._y+=p.parentNode._y),g.left=p._x+"px",g.top=p._y+"px",g.position="absolute",g.display="block",g.width=p._w+1+"px",g.height=p._h+"px"),!B&&L)if(p._isSplit)for(p._next=u=p.nextSibling,p.parentNode.appendChild(p);u&&3===u.nodeType&&" "===u.textContent;)p._next=u.nextSibling,p.parentNode.appendChild(u),u=u.nextSibling;else p.parentNode._isSplit?(p._parent=p.parentNode,!p.previousSibling&&p.firstChild&&(p.firstChild._isFirst=!0),p.nextSibling&&" "===p.nextSibling.textContent&&!p.nextSibling.nextSibling&&z.push(p.nextSibling),p._next=p.nextSibling&&p.nextSibling._isFirst?null:p.nextSibling,p.parentNode.removeChild(p),c.splice(a--,1),l--):d||(D=!p.nextSibling&&li(p.parentNode,t,M),p.parentNode._parent&&p.parentNode._parent.appendChild(p),D&&p.parentNode.appendChild(Hn.createTextNode(" ")),"span"===k&&(p.style.display="inline"),S.push(p));else p.parentNode._isSplit&&!p._isSplit&&""!==p.innerHTML?R.push(p):L&&!p._isSplit&&("span"===k&&(p.style.display="inline"),S.push(p));else P||N?(p.parentNode&&p.parentNode.removeChild(p),c.splice(a--,1),l--):B||t.appendChild(p);for(a=z.length;--a>-1;)z[a].parentNode.removeChild(z[a]);if(P){for(N&&(_=Hn.createElement(k),t.appendChild(_),m=_.offsetWidth+"px",D=_.offsetParent===t?0:t.offsetLeft,t.removeChild(_)),g=t.style.cssText,t.style.cssText="display:none;";t.firstChild;)t.removeChild(t.firstChild);for(f=" "===M&&(!N||!B&&!L),a=0;a<P.length;a++){for(h=P[a],_=Hn.createElement(k),_.style.cssText="display:block;text-align:"+T+";position:"+(N?"absolute;":"relative;"),I&&(_.className=I+(j?a+1:"")),A.push(_),l=h.length,u=0;u<l;u++)"BR"!==h[u].nodeName&&(p=h[u],_.appendChild(p),f&&p._wordEnd&&_.appendChild(Hn.createTextNode(" ")),N&&(0===u&&(_.style.top=p._y+"px",_.style.left=y+D+"px"),p.style.top="0px",D&&(p.style.left=p._x-D+"px")));0===l?_.innerHTML="&nbsp;":B||L||(pi(_),ai(_,String.fromCharCode(160)," ")),N&&(_.style.width=m,_.style.height=p._h+"px"),t.appendChild(_)}t.style.cssText=g}N&&(o>t.clientHeight&&(t.style.height=o-C+"px",t.clientHeight<o&&(t.style.height=o+b+"px")),s>t.clientWidth&&(t.style.width=s-F+"px",t.clientWidth<s&&(t.style.width=s+w+"px"))),X&&(q?t.style.display=q:t.style.removeProperty("display")),ui(r,S),B&&ui(n,R),ui(i,A)},hi=(t,e,r,n)=>{let i,s,o,a,u,l,p,c,d=e.tag?e.tag:e.span?"span":"div",h=~(e.type||e.split||"chars,words,lines").indexOf("chars"),f=ii(e),g=e.wordDelimiter||" ",_=t=>t===g||t===ei&&" "===g,m=" "!==g?"":f?"&#173; ":" ",D="</"+d+">",v=1,y=e.specialChars?"function"==typeof e.specialChars?e.specialChars:si:null,x=Hn.createElement("div"),b=t.parentNode;for(b.insertBefore(x,t),x.textContent=t.nodeValue,b.removeChild(t),i=Un(t=x),p=-1!==i.indexOf("<"),!1!==e.reduceWhiteSpace&&(i=i.replace(ti," ").replace(Kn,"")),p&&(i=i.split("<").join("{{LT}}")),u=i.length,s=(" "===i.charAt(0)?m:"")+r(),o=0;o<u;o++)if(l=i.charAt(o),y&&(c=y(i.substr(o),e.specialChars)))l=i.substr(o,c||1),s+=h&&" "!==l?n()+l+"</"+d+">":l,o+=c-1;else if(_(l)&&!_(i.charAt(o-1))&&o){for(s+=v?D:"",v=0;_(i.charAt(o+1));)s+=m,o++;o===u-1?s+=m:")"!==i.charAt(o+1)&&(s+=m+r(),v=1)}else"{"===l&&"{{LT}}"===i.substr(o,6)?(s+=h?n()+"{{LT}}</"+d+">":"{{LT}}",o+=5):l.charCodeAt(0)>=55296&&l.charCodeAt(0)<=56319||i.charCodeAt(o+1)>=65024&&i.charCodeAt(o+1)<=65039?(a=((i.substr(o,12).split($n)||[])[1]||"").length||2,s+=h&&" "!==l?n()+i.substr(o,a)+"</"+d+">":i.substr(o,a),o+=a-1):s+=h&&" "!==l?n()+l+"</"+d+">":l;t.outerHTML=s+(v?D:""),p&&ai(b,"{{LT}}","<")},fi=(t,e,r,n)=>{let i,s,o=Jn(t.childNodes),a=o.length,u=ii(e);if(3!==t.nodeType||a>1){for(e.absolute=!1,i=0;i<a;i++)s=o[i],s._next=s._isFirst=s._parent=s._wordEnd=null,(3!==s.nodeType||/\S+/.test(s.nodeValue))&&(u&&3!==s.nodeType&&"inline"===ni(s).display&&(s.style.display="inline-block",s.style.position="relative"),s._isSplit=!0,fi(s,e,r,n));return e.absolute=u,void(t._isSplit=!0)}hi(t,e,r,n)};class gi{constructor(t,e){Wn||ri(),this.elements=Jn(t),this.chars=[],this.words=[],this.lines=[],this._originals=[],this.vars=e||{},Zn(this),this.split(e)}split(t){this.isSplit&&this.revert(),this.vars=t=t||this.vars,this._originals.length=this.chars.length=this.words.length=this.lines.length=0;let e,r,n,i=this.elements.length,s=t.tag?t.tag:t.span?"span":"div",o=oi(t.wordsClass,s),a=oi(t.charsClass,s);for(;--i>-1;)n=this.elements[i],this._originals[i]={html:n.innerHTML,style:n.getAttribute("style")},e=n.clientHeight,r=n.clientWidth,fi(n,t,o,a),di(n,t,this.chars,this.words,this.lines,r,e);return this.chars.reverse(),this.words.reverse(),this.lines.reverse(),this.isSplit=!0,this}revert(){let t=this._originals;if(!t)throw"revert() call wasn't scoped properly.";return this.elements.forEach((e,r)=>{e.innerHTML=t[r].html,e.setAttribute("style",t[r].style||"")}),this.chars=[],this.words=[],this.lines=[],this.isSplit=!1,this}static create(t,e){return new gi(t,e)}}gi.version="3.12.7",gi.register=ri;
var _i=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,mi=/(?:(-)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,Di=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/gi,vi=/(^[#\.][a-z]|[a-y][a-z])/i,yi=Math.PI/180,xi=180/Math.PI,bi=Math.sin,wi=Math.cos,Ci=Math.abs,Fi=Math.sqrt,Ei=Math.atan2,Ti=1e8,Si=function(t){return"string"==typeof t},Ri=function(t){return"number"==typeof t},Ai={},Mi={},ki=1e5,Oi=function(t){return Math.round((t+Ti)%1*ki)/ki||(t<0?0:1)},Pi=function(t){return Math.round(t*ki)/ki||0},Bi=function(t){return Math.round(1e10*t)/1e10||0},Li=function(t,e,r,n){var i=t[e],s=1===n?6:Hi(i,r,n);if((s||!n)&&s+r+2<i.length)return t.splice(e,0,i.slice(0,r+s+2)),i.splice(0,r+s),1},Ni=function(t,e,r){var n=t.length,i=~~(r*n);if(t[i]>e){for(;--i&&t[i]>e;);i<0&&(i=0)}else for(;t[++i]<e&&i<n;);return i<n?i:n-1},Ii=function(t,e){return e.totalLength=t.totalLength,t.samples?(e.samples=t.samples.slice(0),e.lookup=t.lookup.slice(0),e.minLength=t.minLength,e.resolution=t.resolution):t.totalPoints&&(e.totalPoints=t.totalPoints),e},ji=function(t,e){var r=t.length,n=t[r-1]||[],i=n.length;r&&e[0]===n[i-2]&&e[1]===n[i-1]&&(e=n.concat(e.slice(2)),r--),t[r]=e};function zi(t){var e,r=(t=Si(t)&&vi.test(t)&&document.querySelector(t)||t).getAttribute?t:0;return r&&(t=t.getAttribute("d"))?(r._gsPath||(r._gsPath={}),(e=r._gsPath[t])&&!e._dirty?e:r._gsPath[t]=Ji(t)):t?Si(t)?Ji(t):Ri(t[0])?[t]:t:console.warn("Expecting a <path> element or an SVG path data string")}function Xi(t){var e,r=0;for(t.reverse();r<t.length;r+=2)e=t[r],t[r]=t[r+1],t[r+1]=e;t.reversed=!t.reversed}var qi={rect:"rx,ry,x,y,width,height",circle:"r,cx,cy",ellipse:"rx,ry,cx,cy",line:"x1,x2,y1,y2"};function Yi(t,e,r){var n,i=t[e],s=t[e+2],o=t[e+4];return i+=(s-i)*r,i+=((s+=(o-s)*r)-i)*r,n=s+(o+(t[e+6]-o)*r-s)*r-i,i=t[e+1],i+=((s=t[e+3])-i)*r,i+=((s+=((o=t[e+5])-s)*r)-i)*r,Pi(Ei(s+(o+(t[e+7]-o)*r-s)*r-i,n)*xi)}function Gi(t,e,r){r=void 0===r?1:Bi(r)||0,e=Bi(e)||0;var n=Math.max(0,~~(Ci(r-e)-1e-8)),i=function(t){for(var e=[],r=0;r<t.length;r++)e[r]=Ii(t[r],t[r].slice(0));return Ii(t,e)}(t);if(e>r&&(e=1-e,r=1-r,function(t){var e=t.length;for(t.reverse();e--;)t[e].reversed||Xi(t[e])}(i),i.totalLength=0),e<0||r<0){var s=Math.abs(~~Math.min(e,r))+1;e+=s,r+=s}i.totalLength||Ui(i);var o,a,u,l,p,c,d,h,f=r>1,g=Vi(i,e,Ai,!0),_=Vi(i,r,Mi),m=_.segment,D=g.segment,v=_.segIndex,y=g.segIndex,x=_.i,b=g.i,w=y===v,C=x===b&&w;if(f||n){for(o=v<y||w&&x<b||C&&_.t<g.t,Li(i,y,b,g.t)&&(y++,o||(v++,C?(_.t=(_.t-g.t)/(1-g.t),x=0):w&&(x-=b))),Math.abs(1-(r-e))<1e-5?v=y-1:!_.t&&v?v--:Li(i,v,x,_.t)&&o&&y++,1===g.t&&(y=(y+1)%i.length),p=[],d=1+(c=i.length)*n,h=y,d+=(c-y+v)%c,l=0;l<d;l++)ji(p,i[h++%c]);i=p}else if(u=1===_.t?6:Hi(m,x,_.t),e!==r)for(a=Hi(D,b,C?g.t/_.t:g.t),w&&(u+=a),m.splice(x+u+2),(a||b)&&D.splice(0,b+a),l=i.length;l--;)(l<y||l>v)&&i.splice(l,1);else m.angle=Yi(m,x+u,0),g=m[x+=u],_=m[x+1],m.length=m.totalLength=0,m.totalPoints=i.totalPoints=8,m.push(g,_,g,_,g,_,g,_);return i.totalLength=0,i}function $i(t,e,r){e=e||0,t.samples||(t.samples=[],t.lookup=[]);var n,i,s,o,a,u,l,p,c,d,h,f,g,_,m,D,v,y=~~t.resolution||12,x=1/y,b=r?e+6*r+1:t.length,w=t[e],C=t[e+1],F=e?e/6*y:0,E=t.samples,T=t.lookup,S=(e?t.minLength:Ti)||Ti,R=E[F+r*y-1],A=e?E[F-1]:0;for(E.length=T.length=0,i=e+2;i<b;i+=6){if(s=t[i+4]-w,o=t[i+2]-w,a=t[i]-w,p=t[i+5]-C,c=t[i+3]-C,d=t[i+1]-C,u=l=h=f=0,Ci(s)<.01&&Ci(p)<.01&&Ci(a)+Ci(d)<.01)t.length>8&&(t.splice(i,6),i-=6,b-=6);else for(n=1;n<=y;n++)u=l-(l=((_=x*n)*_*s+3*(g=1-_)*(_*o+g*a))*_),h=f-(f=(_*_*p+3*g*(_*c+g*d))*_),(D=Fi(h*h+u*u))<S&&(S=D),A+=D,E[F++]=A;w+=s,C+=p}if(R)for(R-=A;F<E.length;F++)E[F]+=R;if(E.length&&S){if(t.totalLength=v=E[E.length-1]||0,t.minLength=S,v/S<9999)for(D=m=0,n=0;n<v;n+=S)T[D++]=E[m]<n?++m:m}else t.totalLength=E[0]=0;return e?A-E[e/2-1]:A}function Ui(t,e){var r,n,i;for(i=r=n=0;i<t.length;i++)t[i].resolution=~~e||12,n+=t[i].length,r+=$i(t[i]);return t.totalPoints=n,t.totalLength=r,t}function Hi(t,e,r){if(r<=0||r>=1)return 0;var n=t[e],i=t[e+1],s=t[e+2],o=t[e+3],a=t[e+4],u=t[e+5],l=n+(s-n)*r,p=s+(a-s)*r,c=i+(o-i)*r,d=o+(u-o)*r,h=l+(p-l)*r,f=c+(d-c)*r,g=a+(t[e+6]-a)*r,_=u+(t[e+7]-u)*r;return p+=(g-p)*r,d+=(_-d)*r,t.splice(e+2,4,Pi(l),Pi(c),Pi(h),Pi(f),Pi(h+(p-h)*r),Pi(f+(d-f)*r),Pi(p),Pi(d),Pi(g),Pi(_)),t.samples&&t.samples.splice(e/6*t.resolution|0,0,0,0,0,0,0,0),6}function Vi(t,e,r,n){r=r||{},t.totalLength||Ui(t),(e<0||e>1)&&(e=Oi(e));var i,s,o,a,u,l,p,c=0,d=t[0];if(e)if(1===e)p=1,l=(d=t[c=t.length-1]).length-8;else{if(t.length>1){for(o=t.totalLength*e,u=l=0;(u+=t[l++].totalLength)<o;)c=l;e=(o-(a=u-(d=t[c]).totalLength))/(u-a)||0}i=d.samples,s=d.resolution,o=d.totalLength*e,a=(l=d.lookup.length?d.lookup[~~(o/d.minLength)]||0:Ni(i,o,e))?i[l-1]:0,(u=i[l])<o&&(a=u,u=i[++l]),p=1/s*((o-a)/(u-a)+l%s),l=6*~~(l/s),n&&1===p&&(l+6<d.length?(l+=6,p=0):c+1<t.length&&(l=p=0,d=t[++c]))}else p=l=c=0,d=t[0];return r.t=p,r.i=l,r.path=t,r.segment=d,r.segIndex=c,r}function Wi(t,e,r,n){var i,s,o,a,u,l,p,c,d,h=t[0],f=n||{};if((e<0||e>1)&&(e=Oi(e)),h.lookup||Ui(t),t.length>1){for(o=t.totalLength*e,u=l=0;(u+=t[l++].totalLength)<o;)h=t[l];e=(o-(a=u-h.totalLength))/(u-a)||0}return i=h.samples,s=h.resolution,o=h.totalLength*e,a=(l=h.lookup.length?h.lookup[e<1?~~(o/h.minLength):h.lookup.length-1]||0:Ni(i,o,e))?i[l-1]:0,(u=i[l])<o&&(a=u,u=i[++l]),d=1-(p=1/s*((o-a)/(u-a)+l%s)||0),c=h[l=6*~~(l/s)],f.x=Pi((p*p*(h[l+6]-c)+3*d*(p*(h[l+4]-c)+d*(h[l+2]-c)))*p+c),f.y=Pi((p*p*(h[l+7]-(c=h[l+1]))+3*d*(p*(h[l+5]-c)+d*(h[l+3]-c)))*p+c),r&&(f.angle=h.totalLength?Yi(h,l,p>=1?1-1e-9:p||1e-9):h.angle||0),f}function Qi(t,e,r,n,i,s,o){for(var a,u,l,p,c,d=t.length;--d>-1;)for(u=(a=t[d]).length,l=0;l<u;l+=2)p=a[l],c=a[l+1],a[l]=p*e+c*n+s,a[l+1]=p*r+c*i+o;return t._dirty=1,t}function Zi(t,e,r,n,i,s,o,a,u){if(t!==a||e!==u){r=Ci(r),n=Ci(n);var l=i%360*yi,p=wi(l),c=bi(l),d=Math.PI,h=2*d,f=(t-a)/2,g=(e-u)/2,_=p*f+c*g,m=-c*f+p*g,D=_*_,v=m*m,y=D/(r*r)+v/(n*n);y>1&&(r=Fi(y)*r,n=Fi(y)*n);var x=r*r,b=n*n,w=(x*b-x*v-b*D)/(x*v+b*D);w<0&&(w=0);var C=(s===o?-1:1)*Fi(w),F=C*(r*m/n),E=C*(-n*_/r),T=(t+a)/2+(p*F-c*E),S=(e+u)/2+(c*F+p*E),R=(_-F)/r,A=(m-E)/n,M=(-_-F)/r,k=(-m-E)/n,O=R*R+A*A,P=(A<0?-1:1)*Math.acos(R/Fi(O)),B=(R*k-A*M<0?-1:1)*Math.acos((R*M+A*k)/Fi(O*(M*M+k*k)));isNaN(B)&&(B=d),!o&&B>0?B-=h:o&&B<0&&(B+=h),P%=h,B%=h;var L,N=Math.ceil(Ci(B)/(h/4)),I=[],j=B/N,z=4/3*bi(j/2)/(1+wi(j/2)),X=p*r,q=c*r,Y=c*-n,G=p*n;for(L=0;L<N;L++)_=wi(i=P+L*j),m=bi(i),R=wi(i+=j),A=bi(i),I.push(_-z*m,m+z*_,R+z*A,A-z*R,R,A);for(L=0;L<I.length;L+=2)_=I[L],m=I[L+1],I[L]=_*X+m*Y+T,I[L+1]=_*q+m*G+S;return I[L-2]=a,I[L-1]=u,I}}function Ji(t){var e,r,n,i,s,o,a,u,l,p,c,d,h,f,g,_=(t+"").replace(Di,function(t){var e=+t;return e<1e-4&&e>-1e-4?0:e}).match(_i)||[],m=[],D=0,v=0,y=2/3,x=_.length,b=0,w="ERROR: malformed path: "+t,C=function(t,e,r,n){p=(r-t)/3,c=(n-e)/3,a.push(t+p,e+c,r-p,n-c,r,n)};if(!t||!isNaN(_[0])||isNaN(_[1]))return console.log(w),m;for(e=0;e<x;e++)if(h=s,isNaN(_[e])?o=(s=_[e].toUpperCase())!==_[e]:e--,n=+_[e+1],i=+_[e+2],o&&(n+=D,i+=v),e||(u=n,l=i),"M"===s)a&&(a.length<8?m.length-=1:b+=a.length),D=u=n,v=l=i,a=[n,i],m.push(a),e+=2,s="L";else if("C"===s)a||(a=[0,0]),o||(D=v=0),a.push(n,i,D+1*_[e+3],v+1*_[e+4],D+=1*_[e+5],v+=1*_[e+6]),e+=6;else if("S"===s)p=D,c=v,"C"!==h&&"S"!==h||(p+=D-a[a.length-4],c+=v-a[a.length-3]),o||(D=v=0),a.push(p,c,n,i,D+=1*_[e+3],v+=1*_[e+4]),e+=4;else if("Q"===s)p=D+(n-D)*y,c=v+(i-v)*y,o||(D=v=0),D+=1*_[e+3],v+=1*_[e+4],a.push(p,c,D+(n-D)*y,v+(i-v)*y,D,v),e+=4;else if("T"===s)p=D-a[a.length-4],c=v-a[a.length-3],a.push(D+p,v+c,n+(D+1.5*p-n)*y,i+(v+1.5*c-i)*y,D=n,v=i),e+=2;else if("H"===s)C(D,v,D=n,v),e+=1;else if("V"===s)C(D,v,D,v=n+(o?v-D:0)),e+=1;else if("L"===s||"Z"===s)"Z"===s&&(n=u,i=l,a.closed=!0),("L"===s||Ci(D-n)>.5||Ci(v-i)>.5)&&(C(D,v,n,i),"L"===s&&(e+=2)),D=n,v=i;else if("A"===s){if(f=_[e+4],g=_[e+5],p=_[e+6],c=_[e+7],r=7,f.length>1&&(f.length<3?(c=p,p=g,r--):(c=g,p=f.substr(2),r-=2),g=f.charAt(1),f=f.charAt(0)),d=Zi(D,v,+_[e+1],+_[e+2],+_[e+3],+f,+g,(o?D:0)+1*p,(o?v:0)+1*c),e+=r,d)for(r=0;r<d.length;r++)a.push(d[r]);D=a[a.length-2],v=a[a.length-1]}else console.log(w);return(e=a.length)<6?(m.pop(),e=0):a[0]===a[e-2]&&a[1]===a[e-1]&&(a.closed=!0),m.totalPoints=b+e,m}function Ki(t,e){void 0===e&&(e=1);for(var r=t[0],n=0,i=[r,n],s=2;s<t.length;s+=2)i.push(r,n,t[s],n=(t[s]-r)*e/2,r=t[s],-n);return i}function ts(t,e){Ci(t[0]-t[2])<1e-4&&Ci(t[1]-t[3])<1e-4&&(t=t.slice(2));var r,n,i,s,o,a,u,l,p,c,d,h,f,g,_=t.length-2,m=+t[0],D=+t[1],v=+t[2],y=+t[3],x=[m,D,m,D],b=v-m,w=y-D,C=Math.abs(t[_]-m)<.001&&Math.abs(t[_+1]-D)<.001;for(C&&(t.push(v,y),v=m,y=D,m=t[_-2],D=t[_-1],t.unshift(m,D),_+=4),e=e||0===e?+e:1,i=2;i<_;i+=2)r=m,n=D,m=v,D=y,v=+t[i+2],y=+t[i+3],m===v&&D===y||(s=b,o=w,b=v-m,w=y-D,l=((a=Fi(s*s+o*o))+(u=Fi(b*b+w*w)))*e*.25/Fi(Math.pow(b/u+s/a,2)+Math.pow(w/u+o/a,2)),d=m-((p=m-(m-r)*(a?l/a:0))+(((c=m+(v-m)*(u?l/u:0))-p)*(3*a/(a+u)+.5)/4||0)),g=D-((h=D-(D-n)*(a?l/a:0))+(((f=D+(y-D)*(u?l/u:0))-h)*(3*a/(a+u)+.5)/4||0)),m===r&&D===n||x.push(Pi(p+d),Pi(h+g),Pi(m),Pi(D),Pi(c+d),Pi(f+g)));return m!==v||D!==y||x.length<4?x.push(Pi(v),Pi(y),Pi(v),Pi(y)):x.length-=2,2===x.length?x.push(m,D,m,D,m,D):C&&(x.splice(0,6),x.length=x.length-6),x}function es(t){Ri(t[0])&&(t=[t]);var e,r,n,i,s="",o=t.length;for(r=0;r<o;r++){for(i=t[r],s+="M"+Pi(i[0])+","+Pi(i[1])+" C",e=i.length,n=2;n<e;n++)s+=Pi(i[n++])+","+Pi(i[n++])+" "+Pi(i[n++])+","+Pi(i[n++])+" "+Pi(i[n++])+","+Pi(i[n])+" ";i.closed&&(s+="z")}return s}
var rs,ns,is=function(){return rs||"undefined"!=typeof window&&(rs=window.gsap)&&rs.registerPlugin&&rs},ss=function(){(rs=is())?(rs.registerEase("_CE",ps.create),ns=1):console.warn("Please gsap.registerPlugin(CustomEase)")},os=function(t){return~~(1e3*t+(t<0?-.5:.5))/1e3},as=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/gi,us=/[cLlsSaAhHvVtTqQ]/g,ls=function t(e,r,n,i,s,o,a,u,l,p,c){var d,h=(e+n)/2,f=(r+i)/2,g=(n+s)/2,_=(i+o)/2,m=(s+a)/2,D=(o+u)/2,v=(h+g)/2,y=(f+_)/2,x=(g+m)/2,b=(_+D)/2,w=(v+x)/2,C=(y+b)/2,F=a-e,E=u-r,T=Math.abs((n-a)*E-(i-u)*F),S=Math.abs((s-a)*E-(o-u)*F);return p||(p=[{x:e,y:r},{x:a,y:u}],c=1),p.splice(c||p.length-1,0,{x:w,y:C}),(T+S)*(T+S)>l*(F*F+E*E)&&(d=p.length,t(e,r,h,f,v,y,w,C,l,p,c),t(w,C,x,b,m,D,a,u,l,p,c+1+(p.length-d))),p},ps=function(){function t(t,e,r){ns||ss(),this.id=t,this.setData(e,r)}var e=t.prototype;return e.setData=function(t,e){e=e||{};var r,n,i,s,o,a,u,l,p,c=(t=t||"0,0,1,1").match(as),d=1,h=[],f=[],g=e.precision||1,_=g<=1;if(this.data=t,(us.test(t)||~t.indexOf("M")&&t.indexOf("C")<0)&&(c=Ji(t)[0]),4===(r=c.length))c.unshift(0,0),c.push(1,1),r=8;else if((r-2)%6)throw"Invalid CustomEase";for(0==+c[0]&&1==+c[r-2]||function(t,e,r){r||0===r||(r=Math.max(+t[t.length-1],+t[1]));var n,i=-1*+t[0],s=-r,o=t.length,a=1/(+t[o-2]+i),u=-e||(Math.abs(+t[o-1]-+t[1])<.01*(+t[o-2]-+t[0])?function(t){var e,r=t.length,n=1e20;for(e=1;e<r;e+=6)+t[e]<n&&(n=+t[e]);return n}(t)+s:+t[o-1]+s);for(u=u?1/u:-a,n=0;n<o;n+=2)t[n]=(+t[n]+i)*a,t[n+1]=(+t[n+1]+s)*u}(c,e.height,e.originY),this.segment=c,s=2;s<r;s+=6)n={x:+c[s-2],y:+c[s-1]},i={x:+c[s+4],y:+c[s+5]},h.push(n,i),ls(n.x,n.y,+c[s],+c[s+1],+c[s+2],+c[s+3],i.x,i.y,1/(2e5*g),h,h.length-1);for(r=h.length,s=0;s<r;s++)u=h[s],l=h[s-1]||u,(u.x>l.x||l.y!==u.y&&l.x===u.x||u===l)&&u.x<=1?(l.cx=u.x-l.x,l.cy=u.y-l.y,l.n=u,l.nx=u.x,_&&s>1&&Math.abs(l.cy/l.cx-h[s-2].cy/h[s-2].cx)>2&&(_=0),l.cx<d&&(l.cx?d=l.cx:(l.cx=.001,s===r-1&&(l.x-=.001,d=Math.min(d,.001),_=0)))):(h.splice(s--,1),r--);if(o=1/(r=1/d+1|0),a=0,u=h[0],_){for(s=0;s<r;s++)p=s*o,u.nx<p&&(u=h[++a]),n=u.y+(p-u.x)/u.cx*u.cy,f[s]={x:p,cx:o,y:n,cy:0,nx:9},s&&(f[s-1].cy=n-f[s-1].y);a=h[h.length-1],f[r-1].cy=a.y-n,f[r-1].cx=a.x-f[f.length-1].x}else{for(s=0;s<r;s++)u.nx<s*o&&(u=h[++a]),f[s]=u;a<h.length-1&&(f[s-1]=h[h.length-2])}return this.ease=function(t){var e=f[t*r|0]||f[r-1];return e.nx<t&&(e=e.n),e.y+(t-e.x)/e.cx*e.cy},this.ease.custom=this,this.id&&rs&&rs.registerEase(this.id,this.ease),this},e.getSVGData=function(e){return t.getSVGData(this,e)},t.create=function(e,r,n){return new t(e,r,n).ease},t.register=function(t){rs=t,ss()},t.get=function(t){return rs.parseEase(t)},t.getSVGData=function(e,r){var n,i,s,o,a,u,l,p,c,d,h=(r=r||{}).width||100,f=r.height||100,g=r.x||0,_=(r.y||0)+f,m=rs.utils.toArray(r.path)[0];if(r.invert&&(f=-f,_=0),"string"==typeof e&&(e=rs.parseEase(e)),e.custom&&(e=e.custom),e instanceof t)n=es(Qi([e.segment],h,0,0,-f,g,_));else{for(n=[g,_],o=1/(l=Math.max(5,200*(r.precision||1))),p=5/(l+=2),c=os(g+o*h),i=((d=os(_+e(o)*-f))-_)/(c-g),s=2;s<l;s++)a=os(g+s*o*h),u=os(_+e(s*o)*-f),(Math.abs((u-d)/(a-c)-i)>p||s===l-1)&&(n.push(c,d),i=(u-d)/(a-c)),c=a,d=u;n="M"+n.join(",")}return m&&m.setAttribute("d",n),n},t}();ps.version="3.12.7",ps.headless=!0,is()&&rs.registerPlugin(ps);
let cs,ds,hs,fs,gs,_s,ms,Ds,vs,ys=()=>"undefined"!=typeof window,xs=()=>cs||ys()&&(cs=window.gsap)&&cs.registerPlugin&&cs,bs=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,ws={rect:["width","height"],circle:["r","r"],ellipse:["rx","ry"],line:["x2","y2"]},Cs=t=>Math.round(1e4*t)/1e4,Fs=t=>parseFloat(t)||0,Es=(t,e)=>{let r=Fs(t);return~t.indexOf("%")?r/100*e:r},Ts=(t,e)=>Fs(t.getAttribute(e)),Ss=Math.sqrt,Rs=(t,e,r,n,i,s)=>Ss(((Fs(r)-Fs(t))*i)**2+((Fs(n)-Fs(e))*s)**2),As=t=>console.warn(t),Ms=t=>"non-scaling-stroke"===t.getAttribute("vector-effect"),ks=t=>{if(!(t=ds(t)[0]))return 0;let e,r,n,i,s,o,a,u=t.tagName.toLowerCase(),l=t.style,p=1,c=1;Ms(t)&&(c=t.getScreenCTM(),p=Ss(c.a*c.a+c.b*c.b),c=Ss(c.d*c.d+c.c*c.c));try{r=t.getBBox()}catch(t){As("Some browsers won't measure invisible elements (like display:none or masks inside defs).")}let{x:d,y:h,width:f,height:g}=r||{x:0,y:0,width:0,height:0};if(r&&(f||g)||!ws[u]||(f=Ts(t,ws[u][0]),g=Ts(t,ws[u][1]),"rect"!==u&&"line"!==u&&(f*=2,g*=2),"line"===u&&(d=Ts(t,"x1"),h=Ts(t,"y1"),f=Math.abs(f-d),g=Math.abs(g-h))),"path"===u)i=l.strokeDasharray,l.strokeDasharray="none",e=t.getTotalLength()||0,Cs(p)!==Cs(c)&&!ms&&(ms=1)&&As("Warning: <path> length cannot be measured when vector-effect is non-scaling-stroke and the element isn't proportionally scaled."),e*=(p+c)/2,l.strokeDasharray=i;else if("rect"===u)e=2*f*p+2*g*c;else if("line"===u)e=Rs(d,h,d+f,h+g,p,c);else if("polyline"===u||"polygon"===u)for(n=t.getAttribute("points").match(bs)||[],"polygon"===u&&n.push(n[0],n[1]),e=0,s=2;s<n.length;s+=2)e+=Rs(n[s-2],n[s-1],n[s],n[s+1],p,c)||0;else"circle"!==u&&"ellipse"!==u||(o=f/2*p,a=g/2*c,e=Math.PI*(3*(o+a)-Ss((3*o+a)*(o+3*a))));return e||0},Os=(t,e)=>{if(!(t=ds(t)[0]))return[0,0];e||(e=ks(t)+1);let r=fs.getComputedStyle(t),n=r.strokeDasharray||"",i=Fs(r.strokeDashoffset),s=n.indexOf(",");return s<0&&(s=n.indexOf(" ")),n=s<0?e:Fs(n.substr(0,s)),n>e&&(n=e),[-i||0,n-i||0]},Ps=()=>{ys()&&(hs=document,fs=window,_s=cs=xs(),ds=cs.utils.toArray,Ds=cs.core.getStyleSaver,vs=cs.core.reverting||function(){},gs=-1!==((fs.navigator||{}).userAgent||"").indexOf("Edge"))};const Bs={version:"3.12.7",name:"drawSVG",register(t){cs=t,Ps()},init(t,e,r,n,i){if(!t.getBBox)return!1;_s||Ps();let s,o,a,u=ks(t);return this.styles=Ds&&Ds(t,"strokeDashoffset,strokeDasharray,strokeMiterlimit"),this.tween=r,this._style=t.style,this._target=t,e+""=="true"?e="0 100%":e?-1===(e+"").indexOf(" ")&&(e="0 "+e):e="0 0",s=Os(t,u),o=((t,e,r)=>{let n,i,s=t.indexOf(" ");return s<0?(n=void 0!==r?r+"":t,i=t):(n=t.substr(0,s),i=t.substr(s+1)),n=Es(n,e),i=Es(i,e),n>i?[i,n]:[n,i]})(e,u,s[0]),this._length=Cs(u),this._dash=Cs(s[1]-s[0]),this._offset=Cs(-s[0]),this._dashPT=this.add(this,"_dash",this._dash,Cs(o[1]-o[0]),0,0,0,0,0,1),this._offsetPT=this.add(this,"_offset",this._offset,Cs(-o[0]),0,0,0,0,0,1),gs&&(a=fs.getComputedStyle(t),a.strokeLinecap!==a.strokeLinejoin&&(o=Fs(a.strokeMiterlimit),this.add(t.style,"strokeMiterlimit",o,o+.01))),this._live=Ms(t)||~(e+"").indexOf("live"),this._nowrap=~(e+"").indexOf("nowrap"),this._props.push("drawSVG"),1},render(t,e){if(e.tween._time||!vs()){let r,n,i,s,o=e._pt,a=e._style;if(o){for(e._live&&(r=ks(e._target),r!==e._length&&(n=r/e._length,e._length=r,e._offsetPT&&(e._offsetPT.s*=n,e._offsetPT.c*=n),e._dashPT?(e._dashPT.s*=n,e._dashPT.c*=n):e._dash*=n));o;)o.r(t,o.d),o=o._next;i=e._dash||(t&&1!==t?1e-4:0),r=e._length-i+.1,s=e._offset,i&&s&&i+Math.abs(s%e._length)>e._length-.2&&(s+=s<0?.1:-.1)&&(r+=.1),a.strokeDashoffset=i?s:s+.001,a.strokeDasharray=r<.2?"none":i?i+"px,"+(e._nowrap?999999:r)+"px":"0px, 999999px"}}else e.styles.revert()},getLength:ks,getPosition:Os};xs()&&cs.registerPlugin(Bs);
let Ls,Ns,Is,js=()=>Ls||"undefined"!=typeof window&&(Ls=window.gsap)&&Ls.registerPlugin&&Ls,zs=t=>{Ls=js(),Is=Ls&&Ls.parseEase("_CE"),Is?(Ns=1,Ls.parseEase("bounce").config=t=>"object"==typeof t?qs("",t):qs("bounce("+t+")",{strength:+t})):t&&console.warn("Please gsap.registerPlugin(CustomEase, CustomBounce)")},Xs=t=>{let e,r=t.length,n=1/t[r-2];for(e=2;e<r;e+=2)t[e]=~~(t[e]*n*1e3)/1e3;t[r-2]=1},qs=(t,e)=>{Ns||zs(1),e=e||{};{let r,n,i,s,o,a,u,l=.999,p=Math.min(l,e.strength||.7),c=p,d=(e.squash||0)/100,h=d,f=1/.03,g=.2,_=1,m=.1,D=[0,0,.07,0,.1,1,.1,1],v=[0,0,0,0,.1,0,.1,0];for(o=0;o<200&&(g*=c*((c+1)/2),_*=p*p,a=m+g,i=m+.49*g,s=1-_,r=m+_/f,n=i+.8*(i-r),d&&(m+=d,r+=d,i+=d,n+=d,a+=d,u=d/h,v.push(m-d,0,m-d,u,m-d/2,u,m,u,m,0,m,0,m,-.6*u,m+(a-m)/6,0,a,0),D.push(m-d,1,m,1,m,1),d*=p*p),D.push(m,1,r,s,i,s,n,s,a,1,a,1),p*=.95,f=_/(a-n),m=a,!(s>l));o++);if(e.endAtStart&&"false"!==e.endAtStart){if(i=-.1,D.unshift(i,1,i,1,-.07,0),h)for(d=2.5*h,i-=d,D.unshift(i,1,i,1,i,1),v.splice(0,6),v.unshift(i,0,i,0,i,1,i+d/2,1,i+d,1,i+d,0,i+d,0,i+d,-.6,i+d+.033,0),o=0;o<v.length;o+=2)v[o]-=i;for(o=0;o<D.length;o+=2)D[o]-=i,D[o+1]=1-D[o+1]}return d&&(Xs(v),v[2]="C"+v[2],Is(e.squashID||t+"-squash","M"+v.join(","))),Xs(D),D[2]="C"+D[2],Is(t,"M"+D.join(","))}};class Ys{constructor(t,e){this.ease=qs(t,e)}static create(t,e){return qs(t,e)}static register(t){Ls=t,zs()}}js()&&Ls.registerPlugin(Ys),Ys.version="3.12.7";
let Gs,$s,Us,Hs=()=>Gs||"undefined"!=typeof window&&(Gs=window.gsap)&&Gs.registerPlugin&&Gs,Vs={easeOut:"M0,1,C0.7,1,0.6,0,1,0",easeInOut:"M0,0,C0.1,0,0.24,1,0.444,1,0.644,1,0.6,0,1,0",anticipate:"M0,0,C0,0.222,0.024,0.386,0,0.4,0.18,0.455,0.65,0.646,0.7,0.67,0.9,0.76,1,0.846,1,1",uniform:"M0,0,C0,0.95,0,1,0,1,0,1,1,1,1,1,1,1,1,0,1,0"},Ws=t=>t,Qs=t=>{if(!$s)if(Gs=Hs(),Us=Gs&&Gs.parseEase("_CE"),Us){for(let t in Vs)Vs[t]=Us("",Vs[t]);$s=1,Js("wiggle").config=t=>"object"==typeof t?Js("",t):Js("wiggle("+t+")",{wiggles:+t})}else t&&console.warn("Please gsap.registerPlugin(CustomEase, CustomWiggle)")},Zs=(t,e)=>("function"!=typeof t&&(t=Gs.parseEase(t)||Us("",t)),t.custom||!e?t:e=>1-t(e)),Js=(t,e)=>{$s||Qs(1);let r,n,i,s,o,a,u,l,p,c=0|((e=e||{}).wiggles||10),d=1/c,h=d/2,f="anticipate"===e.type,g=Vs[e.type]||Vs.easeOut,_=Ws;if(f&&(_=g,g=Vs.easeOut),e.timingEase&&(_=Zs(e.timingEase)),e.amplitudeEase&&(g=Zs(e.amplitudeEase,!0)),a=_(h),u=f?-g(h):g(h),l=[0,0,a/4,0,a/2,u,a,u],"random"===e.type){for(l.length=4,r=_(d),n=2*Math.random()-1,p=2;p<c;p++)h=r,u=n,r=_(d*p),n=2*Math.random()-1,i=Math.atan2(n-l[l.length-3],r-l[l.length-4]),s=Math.cos(i)*d,o=Math.sin(i)*d,l.push(h-s,u-o,h,u,h+s,u+o);l.push(r,0,1,0)}else{for(p=1;p<c;p++)l.push(_(h+d/2),u),h+=d,u=(u>0?-1:1)*g(p*d),a=_(h),l.push(_(h-d/2),u,a,u);l.push(_(h+d/4),u,_(h+d/4),0,1,0)}for(p=l.length;--p>-1;)l[p]=~~(1e3*l[p])/1e3;return l[2]="C"+l[2],Us(t,"M"+l.join(","))};class Ks{constructor(t,e){this.ease=Js(t,e)}static create(t,e){return Js(t,e)}static register(t){Gs=t,Qs()}}Hs()&&Gs.registerPlugin(Ks),Ks.version="3.12.7";
var to,eo,ro,no,io,so,oo,ao,uo,lo="transform",po=lo+"Origin",co=function(t){var e=t.ownerDocument||t;!(lo in t.style)&&"msTransform"in t.style&&(po=(lo="msTransform")+"Origin");for(;e.parentNode&&(e=e.parentNode););if(eo=window,oo=new vo,e){to=e,ro=e.documentElement,no=e.body,(ao=to.createElementNS("http://www.w3.org/2000/svg","g")).style.transform="none";var r=e.createElement("div"),n=e.createElement("div"),i=e&&(e.body||e.firstElementChild);i&&i.appendChild&&(i.appendChild(r),r.appendChild(n),r.setAttribute("style","position:static;transform:translate3d(0,0,1px)"),uo=n.offsetParent!==r,i.removeChild(r))}return e},ho=[],fo=[],go=function(t){return t.ownerSVGElement||("svg"===(t.tagName+"").toLowerCase()?t:null)},_o=function t(e){return"fixed"===eo.getComputedStyle(e).position||((e=e.parentNode)&&1===e.nodeType?t(e):void 0)},mo=function t(e,r){if(e.parentNode&&(to||co(e))){var n=go(e),i=n?n.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",s=n?r?"rect":"g":"div",o=2!==r?0:100,a=3===r?100:0,u="position:absolute;display:block;pointer-events:none;margin:0;padding:0;",l=to.createElementNS?to.createElementNS(i.replace(/^https/,"http"),s):to.createElement(s);return r&&(n?(so||(so=t(e)),l.setAttribute("width",.01),l.setAttribute("height",.01),l.setAttribute("transform","translate("+o+","+a+")"),so.appendChild(l)):(io||((io=t(e)).style.cssText=u),l.style.cssText=u+"width:0.1px;height:0.1px;top:"+a+"px;left:"+o+"px",io.appendChild(l))),l}throw"Need document and parent."},Do=function(t,e,r,n,i,s,o){return t.a=e,t.b=r,t.c=n,t.d=i,t.e=s,t.f=o,t},vo=function(){function t(t,e,r,n,i,s){void 0===t&&(t=1),void 0===e&&(e=0),void 0===r&&(r=0),void 0===n&&(n=1),void 0===i&&(i=0),void 0===s&&(s=0),Do(this,t,e,r,n,i,s)}var e=t.prototype;return e.inverse=function(){var t=this.a,e=this.b,r=this.c,n=this.d,i=this.e,s=this.f,o=t*n-e*r||1e-10;return Do(this,n/o,-e/o,-r/o,t/o,(r*s-n*i)/o,-(t*s-e*i)/o)},e.multiply=function(t){var e=this.a,r=this.b,n=this.c,i=this.d,s=this.e,o=this.f,a=t.a,u=t.c,l=t.b,p=t.d,c=t.e,d=t.f;return Do(this,a*e+l*n,a*r+l*i,u*e+p*n,u*r+p*i,s+c*e+d*n,o+c*r+d*i)},e.clone=function(){return new t(this.a,this.b,this.c,this.d,this.e,this.f)},e.equals=function(t){var e=this.a,r=this.b,n=this.c,i=this.d,s=this.e,o=this.f;return e===t.a&&r===t.b&&n===t.c&&i===t.d&&s===t.e&&o===t.f},e.apply=function(t,e){void 0===e&&(e={});var r=t.x,n=t.y,i=this.a,s=this.b,o=this.c,a=this.d,u=this.e,l=this.f;return e.x=r*i+n*o+u||0,e.y=r*s+n*a+l||0,e},t}();function yo(t,e,r,n){if(!t||!t.parentNode||(to||co(t)).documentElement===t)return new vo;var i=function(t){for(var e,r;t&&t!==no;)(r=t._gsap)&&r.uncache&&r.get(t,"x"),r&&!r.scaleX&&!r.scaleY&&r.renderTransform&&(r.scaleX=r.scaleY=1e-4,r.renderTransform(1,r),e?e.push(r):e=[r]),t=t.parentNode;return e}(t),s=go(t)?ho:fo,o=function(t,e){var r,n,i,s,o,a,u=go(t),l=t===u,p=u?ho:fo,c=t.parentNode;if(t===eo)return t;if(p.length||p.push(mo(t,1),mo(t,2),mo(t,3)),r=u?so:io,u)l?(i=function(t){var e,r=t.getCTM();return r||(e=t.style[lo],t.style[lo]="none",t.appendChild(ao),r=ao.getCTM(),t.removeChild(ao),e?t.style[lo]=e:t.style.removeProperty(lo.replace(/([A-Z])/g,"-$1").toLowerCase())),r||oo.clone()}(t),s=-i.e/i.a,o=-i.f/i.d,n=oo):t.getBBox?(i=t.getBBox(),n=(n=t.transform?t.transform.baseVal:{}).numberOfItems?n.numberOfItems>1?function(t){for(var e=new vo,r=0;r<t.numberOfItems;r++)e.multiply(t.getItem(r).matrix);return e}(n):n.getItem(0).matrix:oo,s=n.a*i.x+n.c*i.y,o=n.b*i.x+n.d*i.y):(n=new vo,s=o=0),e&&"g"===t.tagName.toLowerCase()&&(s=o=0),(l?u:c).appendChild(r),r.setAttribute("transform","matrix("+n.a+","+n.b+","+n.c+","+n.d+","+(n.e+s)+","+(n.f+o)+")");else{if(s=o=0,uo)for(n=t.offsetParent,i=t;i&&(i=i.parentNode)&&i!==n&&i.parentNode;)(eo.getComputedStyle(i)[lo]+"").length>4&&(s=i.offsetLeft,o=i.offsetTop,i=0);if("absolute"!==(a=eo.getComputedStyle(t)).position&&"fixed"!==a.position)for(n=t.offsetParent;c&&c!==n;)s+=c.scrollLeft||0,o+=c.scrollTop||0,c=c.parentNode;(i=r.style).top=t.offsetTop-o+"px",i.left=t.offsetLeft-s+"px",i[lo]=a[lo],i[po]=a[po],i.position="fixed"===a.position?"fixed":"absolute",t.parentNode.appendChild(r)}return r}(t,r),a=s[0].getBoundingClientRect(),u=s[1].getBoundingClientRect(),l=s[2].getBoundingClientRect(),p=o.parentNode,c=!n&&_o(t),d=new vo((u.left-a.left)/100,(u.top-a.top)/100,(l.left-a.left)/100,(l.top-a.top)/100,a.left+(c?0:eo.pageXOffset||to.scrollLeft||ro.scrollLeft||no.scrollLeft||0),a.top+(c?0:eo.pageYOffset||to.scrollTop||ro.scrollTop||no.scrollTop||0));if(p.removeChild(o),i)for(a=i.length;a--;)(u=i[a]).scaleX=u.scaleY=0,u.renderTransform(1,u);return e?d.inverse():d}
var xo,bo,wo,Co,Fo,Eo,To="x,translateX,left,marginLeft,xPercent".split(","),So="y,translateY,top,marginTop,yPercent".split(","),Ro=Math.PI/180,Ao=function(t,e,r,n){for(var i=e.length,s=2===n?0:n,o=0;o<i;o++)t[s]=parseFloat(e[o][r]),2===n&&(t[s+1]=0),s+=2;return t},Mo=function(t,e,r){return parseFloat(t._gsap.get(t,e,r||"px"))||0},ko=function(t){var e,r=t[0],n=t[1];for(e=2;e<t.length;e+=2)r=t[e]+=r,n=t[e+1]+=n},Oo=function(t,e,r,n,i,s,o,a,u){return"cubic"===o.type?e=[e]:(!1!==o.fromCurrent&&e.unshift(Mo(r,n,a),i?Mo(r,i,u):0),o.relative&&ko(e),e=[(i?ts:Ki)(e,o.curviness)]),e=s(Io(e,r,o)),jo(t,r,n,e,"x",a),i&&jo(t,r,i,e,"y",u),Ui(e,o.resolution||(0===o.curviness?20:12))},Po=function(t){return t},Bo=/[-+\.]*\d+\.?(?:e-|e\+)?\d*/g,Lo=function(t,e,r){var n,i=yo(t),s=0,o=0;return"svg"===(t.tagName+"").toLowerCase()?(n=t.viewBox.baseVal).width||(n={width:+t.getAttribute("width"),height:+t.getAttribute("height")}):n=e&&t.getBBox&&t.getBBox(),e&&"auto"!==e&&(s=e.push?e[0]*(n?n.width:t.offsetWidth||0):e.x,o=e.push?e[1]*(n?n.height:t.offsetHeight||0):e.y),r.apply(s||o?i.apply({x:s,y:o}):{x:i.e,y:i.f})},No=function(t,e,r,n){var i,s=yo(t.parentNode,!0,!0),o=s.clone().multiply(yo(e)),a=Lo(t,r,s),u=Lo(e,n,s),l=u.x,p=u.y;return o.e=o.f=0,"auto"===n&&e.getTotalLength&&"path"===e.tagName.toLowerCase()&&(i=e.getAttribute("d").match(Bo)||[],l+=(i=o.apply({x:+i[0],y:+i[1]})).x,p+=i.y),i&&(l-=(i=o.apply(e.getBBox())).x,p-=i.y),o.e=l-a.x,o.f=p-a.y,o},Io=function(t,e,r){var n,i,s,o=r.align,a=r.matrix,u=r.offsetX,l=r.offsetY,p=r.alignOrigin,c=t[0][0],d=t[0][1],h=Mo(e,"x"),f=Mo(e,"y");return t&&t.length?(o&&("self"===o||(n=Co(o)[0]||e)===e?Qi(t,1,0,0,1,h-c,f-d):(p&&!1!==p[2]?xo.set(e,{transformOrigin:100*p[0]+"% "+100*p[1]+"%"}):p=[Mo(e,"xPercent")/-100,Mo(e,"yPercent")/-100],s=(i=No(e,n,p,"auto")).apply({x:c,y:d}),Qi(t,i.a,i.b,i.c,i.d,h+i.e-(s.x-i.e),f+i.f-(s.y-i.f)))),a?Qi(t,a.a,a.b,a.c,a.d,a.e,a.f):(u||l)&&Qi(t,1,0,0,1,u||0,l||0),t):zi("M0,0L0,0")},jo=function(t,e,r,n,i,s){var o=e._gsap,a=o.harness,u=a&&a.aliases&&a.aliases[r],l=u&&u.indexOf(",")<0?u:r,p=t._pt=new bo(t._pt,e,l,0,0,Po,0,o.set(e,l,t));p.u=wo(o.get(e,l,s))||0,p.path=n,p.pp=i,t._props.push(l)},zo={version:"3.12.7",name:"motionPath",register:function(t,e,r){wo=(xo=t).utils.getUnit,Co=xo.utils.toArray,Fo=xo.core.getStyleSaver,Eo=xo.core.reverting||function(){},bo=r},init:function(t,e,r){if(!xo)return console.warn("Please gsap.registerPlugin(MotionPathPlugin)"),!1;"object"==typeof e&&!e.style&&e.path||(e={path:e});var n,i,s,o,a=[],u=e,l=u.path,p=u.autoRotate,c=u.unitX,d=u.unitY,h=u.x,f=u.y,g=l[0],_=(s=e.start,o="end"in e?e.end:1,function(t){return s||1!==o?Gi(t,s,o):t});if(this.rawPaths=a,this.target=t,this.tween=r,this.styles=Fo&&Fo(t,"transform"),(this.rotate=p||0===p)&&(this.rOffset=parseFloat(p)||0,this.radians=!!e.useRadians,this.rProp=e.rotation||"rotation",this.rSet=t._gsap.set(t,this.rProp,this),this.ru=wo(t._gsap.get(t,this.rProp))||0),Array.isArray(l)&&!("closed"in l)&&"number"!=typeof g){for(i in g)!h&&~To.indexOf(i)?h=i:!f&&~So.indexOf(i)&&(f=i);for(i in h&&f?a.push(Oo(this,Ao(Ao([],l,h,0),l,f,1),t,h,f,_,e,c||wo(l[0][h]),d||wo(l[0][f]))):h=f=0,g)i!==h&&i!==f&&a.push(Oo(this,Ao([],l,i,2),t,i,0,_,e,wo(l[0][i])))}else Ui(n=_(Io(zi(e.path),t,e)),e.resolution),a.push(n),jo(this,t,e.x||"x",n,"x",e.unitX||"px"),jo(this,t,e.y||"y",n,"y",e.unitY||"px");r.vars.immediateRender&&this.render(r.progress(),this)},render:function(t,e){var r=e.rawPaths,n=r.length,i=e._pt;if(e.tween._time||!Eo()){for(t>1?t=1:t<0&&(t=0);n--;)Wi(r[n],t,!n&&e.rotate,r[n]);for(;i;)i.set(i.t,i.p,i.path[i.pp]+i.u,i.d,t),i=i._next;e.rotate&&e.rSet(e.target,e.rProp,r[0].angle*(e.radians?Ro:1)+e.rOffset+e.ru,e,t)}else e.styles.revert()},getLength:function(t){return Ui(zi(t)).totalLength},sliceRawPath:Gi,getRawPath:zi,pointsToSegment:ts,stringToRawPath:Ji,rawPathToString:es,transformRawPath:Qi,getGlobalMatrix:yo,getPositionOnPath:Wi,cacheRawPathMeasurements:Ui,convertToPath:function(t,e){return Co(t).map(function(t){return function(t,e){var r,n,i,s,o,a,u,l,p,c,d,h,f,g,_,m,D,v,y,x,b,w,C=t.tagName.toLowerCase(),F=.552284749831;return"path"!==C&&t.getBBox?(a=function(t,e){var r,n=document.createElementNS("http://www.w3.org/2000/svg","path"),i=[].slice.call(t.attributes),s=i.length;for(e=","+e+",";--s>-1;)r=i[s].nodeName.toLowerCase(),e.indexOf(","+r+",")<0&&n.setAttributeNS(null,r,i[s].nodeValue);return n}(t,"x,y,width,height,cx,cy,rx,ry,r,x1,x2,y1,y2,points"),w=function(t,e){for(var r=e?e.split(","):[],n={},i=r.length;--i>-1;)n[r[i]]=+t.getAttribute(r[i])||0;return n}(t,qi[C]),"rect"===C?(s=w.rx,o=w.ry||s,n=w.x,i=w.y,c=w.width-2*s,d=w.height-2*o,r=s||o?"M"+(m=(g=(f=n+s)+c)+s)+","+(v=i+o)+" V"+(y=v+d)+" C"+[m,x=y+o*F,_=g+s*F,b=y+o,g,b,g-(g-f)/3,b,f+(g-f)/3,b,f,b,h=n+s*(1-F),b,n,x,n,y,n,y-(y-v)/3,n,v+(y-v)/3,n,v,n,D=i+o*(1-F),h,i,f,i,f+(g-f)/3,i,g-(g-f)/3,i,g,i,_,i,m,D,m,v].join(",")+"z":"M"+(n+c)+","+i+" v"+d+" h"+-c+" v"+-d+" h"+c+"z"):"circle"===C||"ellipse"===C?("circle"===C?l=(s=o=w.r)*F:(s=w.rx,l=(o=w.ry)*F),r="M"+((n=w.cx)+s)+","+(i=w.cy)+" C"+[n+s,i+l,n+(u=s*F),i+o,n,i+o,n-u,i+o,n-s,i+l,n-s,i,n-s,i-l,n-u,i-o,n,i-o,n+u,i-o,n+s,i-l,n+s,i].join(",")+"z"):"line"===C?r="M"+w.x1+","+w.y1+" L"+w.x2+","+w.y2:"polyline"!==C&&"polygon"!==C||(r="M"+(n=(p=(t.getAttribute("points")+"").match(mi)||[]).shift())+","+(i=p.shift())+" L"+p.join(","),"polygon"===C&&(r+=","+n+","+i+"z")),a.setAttribute("d",es(a._gsRawPath=Ji(r))),e&&t.parentNode&&(t.parentNode.insertBefore(a,t),t.parentNode.removeChild(t)),a):t}(t,!1!==e)})},convertCoordinates:function(t,e,r){var n=yo(e,!0,!0).multiply(yo(t));return r?n.apply(r):n},getAlignMatrix:No,getRelativePosition:function(t,e,r,n){var i=No(t,e,r,n);return{x:i.e,y:i.f}},arrayToRawPath:function(t,e){var r=Ao(Ao([],t,(e=e||{}).x||"x",0),t,e.y||"y",1);return e.relative&&ko(r),["cubic"===e.type?r:ts(r,e.curviness)]}};function Xo(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(xo||"undefined"!=typeof window&&(xo=window.gsap)&&xo.registerPlugin&&xo)&&xo.registerPlugin(zo);
var qo,Yo,Go,$o,Uo,Ho,Vo,Wo,Qo,Zo,Jo,Ko,ta,ea,ra,na,ia,sa,oa,aa,ua,la,pa=0,ca=function(){return"undefined"!=typeof window},da=function(){return qo||ca()&&(qo=window.gsap)&&qo.registerPlugin&&qo},ha=function(t){return"function"==typeof t},fa=function(t){return"object"==typeof t},ga=function(t){return void 0===t},_a=function(){return!1},ma="transform",Da="transformOrigin",va=function(t){return Math.round(1e4*t)/1e4},ya=Array.isArray,xa=function(t,e){var r=Go.createElementNS?Go.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):Go.createElement(t);return r.style?r:Go.createElement(t)},ba=180/Math.PI,wa=1e20,Ca=new vo,Fa=Date.now||function(){return(new Date).getTime()},Ea=[],Ta={},Sa=0,Ra=/^(?:a|input|textarea|button|select)$/i,Aa=0,Ma={},ka={},Oa=function(t,e){var r,n={};for(r in t)n[r]=e?t[r]*e:t[r];return n},Pa=function t(e,r){for(var n,i=e.length;i--;)r?e[i].style.touchAction=r:e[i].style.removeProperty("touch-action"),(n=e[i].children)&&n.length&&t(n,r)},Ba=function(){return Ea.forEach(function(t){return t()})},La=function(){return!Ea.length&&qo.ticker.remove(Ba)},Na=function(t){for(var e=Ea.length;e--;)Ea[e]===t&&Ea.splice(e,1);qo.to(La,{overwrite:!0,delay:15,duration:0,onComplete:La,data:"_draggable"})},Ia=function(t,e,r,n){if(t.addEventListener){var i=ta[e];n=n||(Jo?{passive:!1}:null),t.addEventListener(i||e,r,n),i&&e!==i&&t.addEventListener(e,r,n)}},ja=function(t,e,r,n){if(t.removeEventListener){var i=ta[e];t.removeEventListener(i||e,r,n),i&&e!==i&&t.removeEventListener(e,r,n)}},za=function(t){t.preventDefault&&t.preventDefault(),t.preventManipulation&&t.preventManipulation()},Xa=function t(e){ea=e.touches&&pa<e.touches.length,ja(e.target,"touchend",t)},qa=function(t){ea=t.touches&&pa<t.touches.length,Ia(t.target,"touchend",Xa)},Ya=function(t){return Yo.pageYOffset||t.scrollTop||t.documentElement.scrollTop||t.body.scrollTop||0},Ga=function(t){return Yo.pageXOffset||t.scrollLeft||t.documentElement.scrollLeft||t.body.scrollLeft||0},$a=function t(e,r){Ia(e,"scroll",r),Ha(e.parentNode)||t(e.parentNode,r)},Ua=function t(e,r){ja(e,"scroll",r),Ha(e.parentNode)||t(e.parentNode,r)},Ha=function(t){return!(t&&t!==$o&&9!==t.nodeType&&t!==Go.body&&t!==Yo&&t.nodeType&&t.parentNode)},Va=function(t,e){var r="x"===e?"Width":"Height",n="scroll"+r,i="client"+r;return Math.max(0,Ha(t)?Math.max($o[n],Uo[n])-(Yo["inner"+r]||$o[i]||Uo[i]):t[n]-t[i])},Wa=function t(e,r){var n=Va(e,"x"),i=Va(e,"y");Ha(e)?e=ka:t(e.parentNode,r),e._gsMaxScrollX=n,e._gsMaxScrollY=i,r||(e._gsScrollX=e.scrollLeft||0,e._gsScrollY=e.scrollTop||0)},Qa=function(t,e,r){var n=t.style;n&&(ga(n[e])&&(e=Qo(e,t)||e),null==r?n.removeProperty&&n.removeProperty(e.replace(/([A-Z])/g,"-$1").toLowerCase()):n[e]=r)},Za=function(t){return Yo.getComputedStyle(t instanceof Element?t:t.host||(t.parentNode||{}).host||t)},Ja={},Ka=function(t){if(t===Yo)return Ja.left=Ja.top=0,Ja.width=Ja.right=$o.clientWidth||t.innerWidth||Uo.clientWidth||0,Ja.height=Ja.bottom=(t.innerHeight||0)-20<$o.clientHeight?$o.clientHeight:t.innerHeight||Uo.clientHeight||0,Ja;var e=t.ownerDocument||Go,r=ga(t.pageX)?t.nodeType||ga(t.left)||ga(t.top)?Zo(t)[0].getBoundingClientRect():t:{left:t.pageX-Ga(e),top:t.pageY-Ya(e),right:t.pageX-Ga(e)+1,bottom:t.pageY-Ya(e)+1};return ga(r.right)&&!ga(r.width)?(r.right=r.left+r.width,r.bottom=r.top+r.height):ga(r.width)&&(r={width:r.right-r.left,height:r.bottom-r.top,right:r.right,left:r.left,bottom:r.bottom,top:r.top}),r},tu=function(t,e,r){var n,i=t.vars,s=i[r],o=t._listeners[e];return ha(s)&&(n=s.apply(i.callbackScope||t,i[r+"Params"]||[t.pointerEvent])),o&&!1===t.dispatchEvent(e)&&(n=!1),n},eu=function(t,e){var r,n,i,s=Zo(t)[0];return s.nodeType||s===Yo?nu(s,e):ga(t.left)?{left:n=t.min||t.minX||t.minRotation||0,top:r=t.min||t.minY||0,width:(t.max||t.maxX||t.maxRotation||0)-n,height:(t.max||t.maxY||0)-r}:(i={x:0,y:0},{left:t.left-i.x,top:t.top-i.y,width:t.width,height:t.height})},ru={},nu=function(t,e){e=Zo(e)[0];var r,n,i,s,o,a,u,l,p,c,d,h,f,g=t.getBBox&&t.ownerSVGElement,_=t.ownerDocument||Go;if(t===Yo)i=Ya(_),n=(r=Ga(_))+(_.documentElement.clientWidth||t.innerWidth||_.body.clientWidth||0),s=i+((t.innerHeight||0)-20<_.documentElement.clientHeight?_.documentElement.clientHeight:t.innerHeight||_.body.clientHeight||0);else{if(e===Yo||ga(e))return t.getBoundingClientRect();r=i=0,g?(d=(c=t.getBBox()).width,h=c.height):(t.viewBox&&(c=t.viewBox.baseVal)&&(r=c.x||0,i=c.y||0,d=c.width,h=c.height),d||(c="border-box"===(f=Za(t)).boxSizing,d=(parseFloat(f.width)||t.clientWidth||0)+(c?0:parseFloat(f.borderLeftWidth)+parseFloat(f.borderRightWidth)),h=(parseFloat(f.height)||t.clientHeight||0)+(c?0:parseFloat(f.borderTopWidth)+parseFloat(f.borderBottomWidth)))),n=d,s=h}return t===e?{left:r,top:i,width:n-r,height:s-i}:(a=(o=yo(e,!0).multiply(yo(t))).apply({x:r,y:i}),u=o.apply({x:n,y:i}),l=o.apply({x:n,y:s}),p=o.apply({x:r,y:s}),{left:r=Math.min(a.x,u.x,l.x,p.x),top:i=Math.min(a.y,u.y,l.y,p.y),width:Math.max(a.x,u.x,l.x,p.x)-r,height:Math.max(a.y,u.y,l.y,p.y)-i})},iu=function(t,e,r,n,i,s){var o,a,u,l={};if(e)if(1!==i&&e instanceof Array){if(l.end=o=[],u=e.length,fa(e[0]))for(a=0;a<u;a++)o[a]=Oa(e[a],i);else for(a=0;a<u;a++)o[a]=e[a]*i;r+=1.1,n-=1.1}else ha(e)?l.end=function(r){var n,s,o=e.call(t,r);if(1!==i)if(fa(o)){for(s in n={},o)n[s]=o[s]*i;o=n}else o*=i;return o}:l.end=e;return(r||0===r)&&(l.max=r),(n||0===n)&&(l.min=n),s&&(l.velocity=0),l},su=function t(e){var r;return!(!e||!e.getAttribute||e===Uo)&&(!("true"!==(r=e.getAttribute("data-clickable"))&&("false"===r||!Ra.test(e.nodeName+"")&&"true"!==e.getAttribute("contentEditable")))||t(e.parentNode))},ou=function(t,e){for(var r,n=t.length;n--;)(r=t[n]).ondragstart=r.onselectstart=e?null:_a,qo.set(r,{lazy:!0,userSelect:e?"text":"none"})},au=function t(e){return"fixed"===Za(e).position||((e=e.parentNode)&&1===e.nodeType?t(e):void 0)},uu=function(t,e){t=qo.utils.toArray(t)[0],e=e||{};var r,n,i,s,o,a,u=document.createElement("div"),l=u.style,p=t.firstChild,c=0,d=0,h=t.scrollTop,f=t.scrollLeft,g=t.scrollWidth,_=t.scrollHeight,m=0,D=0,v=0;ua&&!1!==e.force3D?(o="translate3d(",a="px,0px)"):ma&&(o="translate(",a="px)"),this.scrollTop=function(t,e){if(!arguments.length)return-this.top();this.top(-t,e)},this.scrollLeft=function(t,e){if(!arguments.length)return-this.left();this.left(-t,e)},this.left=function(r,n){if(!arguments.length)return-(t.scrollLeft+d);var i=t.scrollLeft-f,s=d;if((i>2||i<-2)&&!n)return f=t.scrollLeft,qo.killTweensOf(this,{left:1,scrollLeft:1}),this.left(-f),void(e.onKill&&e.onKill());(r=-r)<0?(d=r-.5|0,r=0):r>D?(d=r-D|0,r=D):d=0,(d||s)&&(this._skip||(l[ma]=o+-d+"px,"+-c+a),d+m>=0&&(l.paddingRight=d+m+"px")),t.scrollLeft=0|r,f=t.scrollLeft},this.top=function(r,n){if(!arguments.length)return-(t.scrollTop+c);var i=t.scrollTop-h,s=c;if((i>2||i<-2)&&!n)return h=t.scrollTop,qo.killTweensOf(this,{top:1,scrollTop:1}),this.top(-h),void(e.onKill&&e.onKill());(r=-r)<0?(c=r-.5|0,r=0):r>v?(c=r-v|0,r=v):c=0,(c||s)&&(this._skip||(l[ma]=o+-d+"px,"+-c+a)),t.scrollTop=0|r,h=t.scrollTop},this.maxScrollTop=function(){return v},this.maxScrollLeft=function(){return D},this.disable=function(){for(p=u.firstChild;p;)s=p.nextSibling,t.appendChild(p),p=s;t===u.parentNode&&t.removeChild(u)},this.enable=function(){if((p=t.firstChild)!==u){for(;p;)s=p.nextSibling,u.appendChild(p),p=s;t.appendChild(u),this.calibrate()}},this.calibrate=function(e){var s,o,a,p=t.clientWidth===r;h=t.scrollTop,f=t.scrollLeft,p&&t.clientHeight===n&&u.offsetHeight===i&&g===t.scrollWidth&&_===t.scrollHeight&&!e||((c||d)&&(o=this.left(),a=this.top(),this.left(-t.scrollLeft),this.top(-t.scrollTop)),s=Za(t),p&&!e||(l.display="block",l.width="auto",l.paddingRight="0px",(m=Math.max(0,t.scrollWidth-t.clientWidth))&&(m+=parseFloat(s.paddingLeft)+(la?parseFloat(s.paddingRight):0))),l.display="inline-block",l.position="relative",l.overflow="visible",l.verticalAlign="top",l.boxSizing="content-box",l.width="100%",l.paddingRight=m+"px",la&&(l.paddingBottom=s.paddingBottom),r=t.clientWidth,n=t.clientHeight,g=t.scrollWidth,_=t.scrollHeight,D=t.scrollWidth-r,v=t.scrollHeight-n,i=u.offsetHeight,l.display="block",(o||a)&&(this.left(o),this.top(a)))},this.content=u,this.element=t,this._skip=!1,this.enable()},lu=function(t){if(ca()&&document.body){var e=window&&window.navigator;Yo=window,Go=document,$o=Go.documentElement,Uo=Go.body,Ho=xa("div"),sa=!!window.PointerEvent,(Vo=xa("div")).style.cssText="visibility:hidden;height:1px;top:-1px;pointer-events:none;position:relative;clear:both;cursor:grab",ia="grab"===Vo.style.cursor?"grab":"move",ra=e&&-1!==e.userAgent.toLowerCase().indexOf("android"),Ko="ontouchstart"in $o&&"orientation"in Yo||e&&(e.MaxTouchPoints>0||e.msMaxTouchPoints>0),n=xa("div"),s=(i=xa("div")).style,o=Uo,s.display="inline-block",s.position="relative",n.style.cssText="width:90px;height:40px;padding:10px;overflow:auto;visibility:hidden",n.appendChild(i),o.appendChild(n),r=i.offsetHeight+18>n.scrollHeight,o.removeChild(n),la=r,ta=function(t){for(var e=t.split(","),r=(("onpointerdown"in Ho?"pointerdown,pointermove,pointerup,pointercancel":"onmspointerdown"in Ho?"MSPointerDown,MSPointerMove,MSPointerUp,MSPointerCancel":t).split(",")),n={},i=4;--i>-1;)n[e[i]]=r[i],n[r[i]]=e[i];try{$o.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){Jo=1}}))}catch(t){}return n}("touchstart,touchmove,touchend,touchcancel"),Ia(Go,"touchcancel",_a),Ia(Yo,"touchmove",_a),Uo&&Uo.addEventListener("touchstart",_a),Ia(Go,"contextmenu",function(){for(var t in Ta)Ta[t].isPressed&&Ta[t].endDrag()}),qo=Wo=da()}var r,n,i,s,o;qo?(na=qo.plugins.inertia,oa=qo.core.context||function(){},Qo=qo.utils.checkPrefix,ma=Qo(ma),Da=Qo(Da),Zo=qo.utils.toArray,aa=qo.core.getStyleSaver,ua=!!Qo("perspective")):t&&console.warn("Please gsap.registerPlugin(Draggable)")},pu=function(t){var e,r;function n(e,r){var i;i=t.call(this)||this,Wo||lu(1),e=Zo(e)[0],i.styles=aa&&aa(e,"transform,left,top"),na||(na=qo.plugins.inertia),i.vars=r=Oa(r||{}),i.target=e,i.x=i.y=i.rotation=0,i.dragResistance=parseFloat(r.dragResistance)||0,i.edgeResistance=isNaN(r.edgeResistance)?1:parseFloat(r.edgeResistance)||0,i.lockAxis=r.lockAxis,i.autoScroll=r.autoScroll||0,i.lockedAxis=null,i.allowEventDefault=!!r.allowEventDefault,qo.getProperty(e,"x");var s,o,a,u,l,p,c,d,h,f,g,_,m,D,v,y,x,b,w,C,F,E,T,S,R,A,M,k,O,P,B,L,N,I=(r.type||"x,y").toLowerCase(),j=~I.indexOf("x")||~I.indexOf("y"),z=-1!==I.indexOf("rotation"),X=z?"rotation":j?"x":"left",q=j?"y":"top",Y=!(!~I.indexOf("x")&&!~I.indexOf("left")&&"scroll"!==I),G=!(!~I.indexOf("y")&&!~I.indexOf("top")&&"scroll"!==I),$=r.minimumMovement||2,U=Xo(i),H=Zo(r.trigger||r.handle||e),V={},W=0,Q=!1,Z=r.autoScrollMarginTop||40,J=r.autoScrollMarginRight||40,K=r.autoScrollMarginBottom||40,tt=r.autoScrollMarginLeft||40,et=r.clickableTest||su,rt=0,nt=e._gsap||qo.core.getCache(e),it=au(e),st=function(t,r){return parseFloat(nt.get(e,t,r))},ot=e.ownerDocument||Go,at=function(t){return za(t),t.stopImmediatePropagation&&t.stopImmediatePropagation(),!1},ut=function t(r){if(U.autoScroll&&U.isDragging&&(Q||x)){var n,i,s,a,u,l,p,c,h=e,f=15*U.autoScroll;for(Q=!1,ka.scrollTop=null!=Yo.pageYOffset?Yo.pageYOffset:null!=ot.documentElement.scrollTop?ot.documentElement.scrollTop:ot.body.scrollTop,ka.scrollLeft=null!=Yo.pageXOffset?Yo.pageXOffset:null!=ot.documentElement.scrollLeft?ot.documentElement.scrollLeft:ot.body.scrollLeft,a=U.pointerX-ka.scrollLeft,u=U.pointerY-ka.scrollTop;h&&!i;)n=(i=Ha(h.parentNode))?ka:h.parentNode,s=i?{bottom:Math.max($o.clientHeight,Yo.innerHeight||0),right:Math.max($o.clientWidth,Yo.innerWidth||0),left:0,top:0}:n.getBoundingClientRect(),l=p=0,G&&((c=n._gsMaxScrollY-n.scrollTop)<0?p=c:u>s.bottom-K&&c?(Q=!0,p=Math.min(c,f*(1-Math.max(0,s.bottom-u)/K)|0)):u<s.top+Z&&n.scrollTop&&(Q=!0,p=-Math.min(n.scrollTop,f*(1-Math.max(0,u-s.top)/Z)|0)),p&&(n.scrollTop+=p)),Y&&((c=n._gsMaxScrollX-n.scrollLeft)<0?l=c:a>s.right-J&&c?(Q=!0,l=Math.min(c,f*(1-Math.max(0,s.right-a)/J)|0)):a<s.left+tt&&n.scrollLeft&&(Q=!0,l=-Math.min(n.scrollLeft,f*(1-Math.max(0,a-s.left)/tt)|0)),l&&(n.scrollLeft+=l)),i&&(l||p)&&(Yo.scrollTo(n.scrollLeft,n.scrollTop),xt(U.pointerX+l,U.pointerY+p)),h=n}if(x){var g=U.x,_=U.y;z?(U.deltaX=g-parseFloat(nt.rotation),U.rotation=g,nt.rotation=g+"deg",nt.renderTransform(1,nt)):o?(G&&(U.deltaY=_-o.top(),o.top(_)),Y&&(U.deltaX=g-o.left(),o.left(g))):j?(G&&(U.deltaY=_-parseFloat(nt.y),nt.y=_+"px"),Y&&(U.deltaX=g-parseFloat(nt.x),nt.x=g+"px"),nt.renderTransform(1,nt)):(G&&(U.deltaY=_-parseFloat(e.style.top||0),e.style.top=_+"px"),Y&&(U.deltaX=g-parseFloat(e.style.left||0),e.style.left=g+"px")),!d||r||k||(k=!0,!1===tu(U,"drag","onDrag")&&(Y&&(U.x-=U.deltaX),G&&(U.y-=U.deltaY),t(!0)),k=!1)}x=!1},lt=function(t,r){var n,i,s=U.x,a=U.y;e._gsap||(nt=qo.core.getCache(e)),nt.uncache&&qo.getProperty(e,"x"),j?(U.x=parseFloat(nt.x),U.y=parseFloat(nt.y)):z?U.x=U.rotation=parseFloat(nt.rotation):o?(U.y=o.top(),U.x=o.left()):(U.y=parseFloat(e.style.top||(i=Za(e))&&i.top)||0,U.x=parseFloat(e.style.left||(i||{}).left)||0),(w||C||F)&&!r&&(U.isDragging||U.isThrowing)&&(F&&(Ma.x=U.x,Ma.y=U.y,(n=F(Ma)).x!==U.x&&(U.x=n.x,x=!0),n.y!==U.y&&(U.y=n.y,x=!0)),w&&(n=w(U.x))!==U.x&&(U.x=n,z&&(U.rotation=n),x=!0),C&&((n=C(U.y))!==U.y&&(U.y=n),x=!0)),x&&ut(!0),t||(U.deltaX=U.x-s,U.deltaY=U.y-a,tu(U,"throwupdate","onThrowUpdate"))},pt=function(t,e,r,n){return null==e&&(e=-wa),null==r&&(r=wa),ha(t)?function(i){var s=U.isPressed?1-U.edgeResistance:1;return t.call(U,(i>r?r+(i-r)*s:i<e?e+(i-e)*s:i)*n)*n}:ya(t)?function(n){for(var i,s,o=t.length,a=0,u=wa;--o>-1;)(s=(i=t[o])-n)<0&&(s=-s),s<u&&i>=e&&i<=r&&(a=o,u=s);return t[a]}:isNaN(t)?function(t){return t}:function(){return t*n}},ct=function(){var t,n,i,s;c=!1,o?(o.calibrate(),U.minX=g=-o.maxScrollLeft(),U.minY=m=-o.maxScrollTop(),U.maxX=f=U.maxY=_=0,c=!0):r.bounds&&(t=eu(r.bounds,e.parentNode),z?(U.minX=g=t.left,U.maxX=f=t.left+t.width,U.minY=m=U.maxY=_=0):ga(r.bounds.maxX)&&ga(r.bounds.maxY)?(n=eu(e,e.parentNode),U.minX=g=Math.round(st(X,"px")+t.left-n.left),U.minY=m=Math.round(st(q,"px")+t.top-n.top),U.maxX=f=Math.round(g+(t.width-n.width)),U.maxY=_=Math.round(m+(t.height-n.height))):(t=r.bounds,U.minX=g=t.minX,U.minY=m=t.minY,U.maxX=f=t.maxX,U.maxY=_=t.maxY),g>f&&(U.minX=f,U.maxX=f=g,g=U.minX),m>_&&(U.minY=_,U.maxY=_=m,m=U.minY),z&&(U.minRotation=g,U.maxRotation=f),c=!0),r.liveSnap&&(i=!0===r.liveSnap?r.snap||{}:r.liveSnap,s=ya(i)||ha(i),z?(w=pt(s?i:i.rotation,g,f,1),C=null):i.points?F=function(t,e,r,n,i,s,o){return s=s&&s<wa?s*s:wa,ha(t)?function(a){var u,l,p,c=U.isPressed?1-U.edgeResistance:1,d=a.x,h=a.y;return a.x=d=d>r?r+(d-r)*c:d<e?e+(d-e)*c:d,a.y=h=h>i?i+(h-i)*c:h<n?n+(h-n)*c:h,(u=t.call(U,a))!==a&&(a.x=u.x,a.y=u.y),1!==o&&(a.x*=o,a.y*=o),s<wa&&(l=a.x-d)*l+(p=a.y-h)*p>s&&(a.x=d,a.y=h),a}:ya(t)?function(e){for(var r,n,i,o,a=t.length,u=0,l=wa;--a>-1;)(o=(r=(i=t[a]).x-e.x)*r+(n=i.y-e.y)*n)<l&&(u=a,l=o);return l<=s?t[u]:e}:function(t){return t}}(s?i:i.points,g,f,m,_,i.radius,o?-1:1):(Y&&(w=pt(s?i:i.x||i.left||i.scrollLeft,g,f,o?-1:1)),G&&(C=pt(s?i:i.y||i.top||i.scrollTop,m,_,o?-1:1))))},dt=function(){U.isThrowing=!1,tu(U,"throwcomplete","onThrowComplete")},ht=function(){U.isThrowing=!1},ft=function(t,n){var i,s,a,u;t&&na?(!0===t&&(i=r.snap||r.liveSnap||{},s=ya(i)||ha(i),t={resistance:(r.throwResistance||r.resistance||1e3)/(z?10:1)},z?t.rotation=iu(U,s?i:i.rotation,f,g,1,n):(Y&&(t[X]=iu(U,s?i:i.points||i.x||i.left,f,g,o?-1:1,n||"x"===U.lockedAxis)),G&&(t[q]=iu(U,s?i:i.points||i.y||i.top,_,m,o?-1:1,n||"y"===U.lockedAxis)),(i.points||ya(i)&&fa(i[0]))&&(t.linkedProps=X+","+q,t.radius=i.radius))),U.isThrowing=!0,u=isNaN(r.overshootTolerance)?1===r.edgeResistance?0:1-U.edgeResistance+.2:r.overshootTolerance,t.duration||(t.duration={max:Math.max(r.minDuration||0,"maxDuration"in r?r.maxDuration:2),min:isNaN(r.minDuration)?0===u||fa(t)&&t.resistance>1e3?0:.5:r.minDuration,overshoot:u}),U.tween=a=qo.to(o||e,{inertia:t,data:"_draggable",inherit:!1,onComplete:dt,onInterrupt:ht,onUpdate:r.fastMode?tu:lt,onUpdateParams:r.fastMode?[U,"onthrowupdate","onThrowUpdate"]:i&&i.radius?[!1,!0]:[]}),r.fastMode||(o&&(o._skip=!0),a.render(1e9,!0,!0),lt(!0,!0),U.endX=U.x,U.endY=U.y,z&&(U.endRotation=U.x),a.play(0),lt(!0,!0),o&&(o._skip=!1))):c&&U.applyBounds()},gt=function(t){var r,n=S;S=yo(e.parentNode,!0),t&&U.isPressed&&!S.equals(n||new vo)&&(r=n.inverse().apply({x:a,y:u}),S.apply(r,r),a=r.x,u=r.y),S.equals(Ca)&&(S=null)},_t=function(){var t,r,n,i=1-U.edgeResistance,s=it?Ga(ot):0,d=it?Ya(ot):0;j&&(nt.x=st(X,"px")+"px",nt.y=st(q,"px")+"px",nt.renderTransform()),gt(!1),ru.x=U.pointerX-s,ru.y=U.pointerY-d,S&&S.apply(ru,ru),a=ru.x,u=ru.y,x&&(xt(U.pointerX,U.pointerY),ut(!0)),L=yo(e),o?(ct(),p=o.top(),l=o.left()):(mt()?(lt(!0,!0),ct()):U.applyBounds(),z?(t=e.ownerSVGElement?[nt.xOrigin-e.getBBox().x,nt.yOrigin-e.getBBox().y]:(Za(e)[Da]||"0 0").split(" "),y=U.rotationOrigin=yo(e).apply({x:parseFloat(t[0])||0,y:parseFloat(t[1])||0}),lt(!0,!0),r=U.pointerX-y.x-s,n=y.y-U.pointerY+d,l=U.x,p=U.y=Math.atan2(n,r)*ba):(p=st(q,"px"),l=st(X,"px"))),c&&i&&(l>f?l=f+(l-f)/i:l<g&&(l=g-(g-l)/i),z||(p>_?p=_+(p-_)/i:p<m&&(p=m-(m-p)/i))),U.startX=l=va(l),U.startY=p=va(p)},mt=function(){return U.tween&&U.tween.isActive()},Dt=function(){!Vo.parentNode||mt()||U.isDragging||Vo.parentNode.removeChild(Vo)},vt=function(t,i){var l;if(!s||U.isPressed||!t||!("mousedown"!==t.type&&"pointerdown"!==t.type||i)&&Fa()-rt<30&&ta[U.pointerEvent.type])B&&t&&s&&za(t);else{if(R=mt(),N=!1,U.pointerEvent=t,ta[t.type]?(T=~t.type.indexOf("touch")?t.currentTarget||t.target:ot,Ia(T,"touchend",bt),Ia(T,"touchmove",yt),Ia(T,"touchcancel",bt),Ia(ot,"touchstart",qa)):(T=null,Ia(ot,"mousemove",yt)),M=null,sa&&T||(Ia(ot,"mouseup",bt),t&&t.target&&Ia(t.target,"mouseup",bt)),E=et.call(U,t.target)&&!1===r.dragClickables&&!i)return Ia(t.target,"change",bt),tu(U,"pressInit","onPressInit"),tu(U,"press","onPress"),ou(H,!0),void(B=!1);var p;if(A=!(!T||Y===G||!1===U.vars.allowNativeTouchScrolling||U.vars.allowContextMenu&&t&&(t.ctrlKey||t.which>2))&&(Y?"y":"x"),(B=!A&&!U.allowEventDefault)&&(za(t),Ia(Yo,"touchforcechange",za)),t.changedTouches?(t=D=t.changedTouches[0],v=t.identifier):t.pointerId?v=t.pointerId:D=v=null,pa++,p=ut,Ea.push(p),1===Ea.length&&qo.ticker.add(Ba),u=U.pointerY=t.pageY,a=U.pointerX=t.pageX,tu(U,"pressInit","onPressInit"),(A||U.autoScroll)&&Wa(e.parentNode),!e.parentNode||!U.autoScroll||o||z||!e.parentNode._gsMaxScrollX||Vo.parentNode||e.getBBox||(Vo.style.width=e.parentNode.scrollWidth+"px",e.parentNode.appendChild(Vo)),_t(),U.tween&&U.tween.kill(),U.isThrowing=!1,qo.killTweensOf(o||e,V,!0),o&&qo.killTweensOf(e,{scrollTo:1},!0),U.tween=U.lockedAxis=null,(r.zIndexBoost||!z&&!o&&!1!==r.zIndexBoost)&&(e.style.zIndex=n.zIndex++),U.isPressed=!0,d=!(!r.onDrag&&!U._listeners.drag),h=!(!r.onMove&&!U._listeners.move),!1!==r.cursor||r.activeCursor)for(l=H.length;--l>-1;)qo.set(H[l],{cursor:r.activeCursor||r.cursor||("grab"===ia?"grabbing":ia)});tu(U,"press","onPress")}},yt=function(t){var r,n,i,o,l,p,c=t;if(s&&!ea&&U.isPressed&&t){if(U.pointerEvent=t,r=t.changedTouches){if((t=r[0])!==D&&t.identifier!==v){for(o=r.length;--o>-1&&(t=r[o]).identifier!==v&&t.target!==e;);if(o<0)return}}else if(t.pointerId&&v&&t.pointerId!==v)return;T&&A&&!M&&(ru.x=t.pageX-(it?Ga(ot):0),ru.y=t.pageY-(it?Ya(ot):0),S&&S.apply(ru,ru),n=ru.x,i=ru.y,((l=Math.abs(n-a))!==(p=Math.abs(i-u))&&(l>$||p>$)||ra&&A===M)&&(M=l>p&&Y?"x":"y",A&&M!==A&&Ia(Yo,"touchforcechange",za),!1!==U.vars.lockAxisOnTouchScroll&&Y&&G&&(U.lockedAxis="x"===M?"y":"x",ha(U.vars.onLockAxis)&&U.vars.onLockAxis.call(U,c)),ra&&A===M))?bt(c):(U.allowEventDefault||A&&(!M||A===M)||!1===c.cancelable?B&&(B=!1):(za(c),B=!0),U.autoScroll&&(Q=!0),xt(t.pageX,t.pageY,h))}else B&&t&&s&&za(t)},xt=function(t,e,r){var n,i,s,o,d,h,D=1-U.dragResistance,v=1-U.edgeResistance,b=U.pointerX,E=U.pointerY,T=p,R=U.x,A=U.y,M=U.endX,k=U.endY,O=U.endRotation,P=x;U.pointerX=t,U.pointerY=e,it&&(t-=Ga(ot),e-=Ya(ot)),z?(o=Math.atan2(y.y-e,t-y.x)*ba,(d=U.y-o)>180?(p-=360,U.y=o):d<-180&&(p+=360,U.y=o),U.x!==l||Math.max(Math.abs(a-t),Math.abs(u-e))>$?(U.y=o,s=l+(p-o)*D):s=l):(S&&(h=t*S.a+e*S.c+S.e,e=t*S.b+e*S.d+S.f,t=h),(i=e-u)<$&&i>-$&&(i=0),(n=t-a)<$&&n>-$&&(n=0),(U.lockAxis||U.lockedAxis)&&(n||i)&&((h=U.lockedAxis)||(U.lockedAxis=h=Y&&Math.abs(n)>Math.abs(i)?"y":G?"x":null,h&&ha(U.vars.onLockAxis)&&U.vars.onLockAxis.call(U,U.pointerEvent)),"y"===h?i=0:"x"===h&&(n=0)),s=va(l+n*D),o=va(p+i*D)),(w||C||F)&&(U.x!==s||U.y!==o&&!z)&&(F&&(Ma.x=s,Ma.y=o,h=F(Ma),s=va(h.x),o=va(h.y)),w&&(s=va(w(s))),C&&(o=va(C(o)))),c&&(s>f?s=f+Math.round((s-f)*v):s<g&&(s=g+Math.round((s-g)*v)),z||(o>_?o=Math.round(_+(o-_)*v):o<m&&(o=Math.round(m+(o-m)*v)))),(U.x!==s||U.y!==o&&!z)&&(z?(U.endRotation=U.x=U.endX=s,x=!0):(G&&(U.y=U.endY=o,x=!0),Y&&(U.x=U.endX=s,x=!0)),r&&!1===tu(U,"move","onMove")?(U.pointerX=b,U.pointerY=E,p=T,U.x=R,U.y=A,U.endX=M,U.endY=k,U.endRotation=O,x=P):!U.isDragging&&U.isPressed&&(U.isDragging=N=!0,tu(U,"dragstart","onDragStart")))},bt=function t(n,i){if(s&&U.isPressed&&(!n||null==v||i||!(n.pointerId&&n.pointerId!==v&&n.target!==e||n.changedTouches&&!function(t,e){for(var r=t.length;r--;)if(t[r].identifier===e)return!0}(n.changedTouches,v)))){U.isPressed=!1;var o,a,u,l,p,c=n,d=U.isDragging,h=U.vars.allowContextMenu&&n&&(n.ctrlKey||n.which>2),f=qo.delayedCall(.001,Dt);if(T?(ja(T,"touchend",t),ja(T,"touchmove",yt),ja(T,"touchcancel",t),ja(ot,"touchstart",qa)):ja(ot,"mousemove",yt),ja(Yo,"touchforcechange",za),sa&&T||(ja(ot,"mouseup",t),n&&n.target&&ja(n.target,"mouseup",t)),x=!1,d&&(W=Aa=Fa(),U.isDragging=!1),Na(ut),E&&!h)return n&&(ja(n.target,"change",t),U.pointerEvent=c),ou(H,!1),tu(U,"release","onRelease"),tu(U,"click","onClick"),void(E=!1);for(a=H.length;--a>-1;)Qa(H[a],"cursor",r.cursor||(!1!==r.cursor?ia:null));if(pa--,n){if((o=n.changedTouches)&&(n=o[0])!==D&&n.identifier!==v){for(a=o.length;--a>-1&&(n=o[a]).identifier!==v&&n.target!==e;);if(a<0&&!i)return}U.pointerEvent=c,U.pointerX=n.pageX,U.pointerY=n.pageY}return h&&c?(za(c),B=!0,tu(U,"release","onRelease")):c&&!d?(B=!1,R&&(r.snap||r.bounds)&&ft(r.inertia||r.throwProps),tu(U,"release","onRelease"),ra&&"touchmove"===c.type||-1!==c.type.indexOf("cancel")||(tu(U,"click","onClick"),Fa()-rt<300&&tu(U,"doubleclick","onDoubleClick"),l=c.target||e,rt=Fa(),p=function(){rt===O||!U.enabled()||U.isPressed||c.defaultPrevented||(l.click?l.click():ot.createEvent&&((u=ot.createEvent("MouseEvents")).initMouseEvent("click",!0,!0,Yo,1,U.pointerEvent.screenX,U.pointerEvent.screenY,U.pointerX,U.pointerY,!1,!1,!1,!1,0,null),l.dispatchEvent(u)))},ra||c.defaultPrevented||qo.delayedCall(.05,p))):(ft(r.inertia||r.throwProps),U.allowEventDefault||!c||!1===r.dragClickables&&et.call(U,c.target)||!d||A&&(!M||A!==M)||!1===c.cancelable?B=!1:(B=!0,za(c)),tu(U,"release","onRelease")),mt()&&f.duration(U.tween.duration()),d&&tu(U,"dragend","onDragEnd"),!0}B&&n&&s&&za(n)},wt=function(t){if(t&&U.isDragging&&!o){var r=t.target||e.parentNode,n=r.scrollLeft-r._gsScrollX,i=r.scrollTop-r._gsScrollY;(n||i)&&(S?(a-=n*S.a+i*S.c,u-=i*S.d+n*S.b):(a-=n,u-=i),r._gsScrollX+=n,r._gsScrollY+=i,xt(U.pointerX,U.pointerY))}},Ct=function(t){var e=Fa(),r=e-rt<100,n=e-W<50,i=r&&O===rt,s=U.pointerEvent&&U.pointerEvent.defaultPrevented,o=r&&P===rt,a=t.isTrusted||null==t.isTrusted&&r&&i;if((i||n&&!1!==U.vars.suppressClickOnDrag)&&t.stopImmediatePropagation&&t.stopImmediatePropagation(),r&&(!U.pointerEvent||!U.pointerEvent.defaultPrevented)&&(!i||a&&!o))return a&&i&&(P=rt),void(O=rt);(U.isPressed||n||r)&&(a&&t.detail&&r&&!s||za(t)),r||n||N||(t&&t.target&&(U.pointerEvent=t),tu(U,"click","onClick"))},Ft=function(t){return S?{x:t.x*S.a+t.y*S.c+S.e,y:t.x*S.b+t.y*S.d+S.f}:{x:t.x,y:t.y}};return(b=n.get(e))&&b.kill(),i.startDrag=function(t,r){var n,i,s,o;vt(t||U.pointerEvent,!0),r&&!U.hitTest(t||U.pointerEvent)&&(n=Ka(t||U.pointerEvent),i=Ka(e),s=Ft({x:n.left+n.width/2,y:n.top+n.height/2}),o=Ft({x:i.left+i.width/2,y:i.top+i.height/2}),a-=s.x-o.x,u-=s.y-o.y),U.isDragging||(U.isDragging=N=!0,tu(U,"dragstart","onDragStart"))},i.drag=yt,i.endDrag=function(t){return bt(t||U.pointerEvent,!0)},i.timeSinceDrag=function(){return U.isDragging?0:(Fa()-W)/1e3},i.timeSinceClick=function(){return(Fa()-rt)/1e3},i.hitTest=function(t,e){return n.hitTest(U.target,t,e)},i.getDirection=function(t,r){var n,i,s,o,a,u,c="velocity"===t&&na?t:fa(t)&&!z?"element":"start";return"element"===c&&(a=Ka(U.target),u=Ka(t)),n="start"===c?U.x-l:"velocity"===c?na.getVelocity(e,X):a.left+a.width/2-(u.left+u.width/2),z?n<0?"counter-clockwise":"clockwise":(r=r||2,i="start"===c?U.y-p:"velocity"===c?na.getVelocity(e,q):a.top+a.height/2-(u.top+u.height/2),o=(s=Math.abs(n/i))<1/r?"":n<0?"left":"right",s<r&&(""!==o&&(o+="-"),o+=i<0?"up":"down"),o)},i.applyBounds=function(t,n){var i,s,o,a,u,l;if(t&&r.bounds!==t)return r.bounds=t,U.update(!0,n);if(lt(!0),ct(),c&&!mt()){if(i=U.x,s=U.y,i>f?i=f:i<g&&(i=g),s>_?s=_:s<m&&(s=m),(U.x!==i||U.y!==s)&&(o=!0,U.x=U.endX=i,z?U.endRotation=i:U.y=U.endY=s,x=!0,ut(!0),U.autoScroll&&!U.isDragging))for(Wa(e.parentNode),a=e,ka.scrollTop=null!=Yo.pageYOffset?Yo.pageYOffset:null!=ot.documentElement.scrollTop?ot.documentElement.scrollTop:ot.body.scrollTop,ka.scrollLeft=null!=Yo.pageXOffset?Yo.pageXOffset:null!=ot.documentElement.scrollLeft?ot.documentElement.scrollLeft:ot.body.scrollLeft;a&&!l;)u=(l=Ha(a.parentNode))?ka:a.parentNode,G&&u.scrollTop>u._gsMaxScrollY&&(u.scrollTop=u._gsMaxScrollY),Y&&u.scrollLeft>u._gsMaxScrollX&&(u.scrollLeft=u._gsMaxScrollX),a=u;U.isThrowing&&(o||U.endX>f||U.endX<g||U.endY>_||U.endY<m)&&ft(r.inertia||r.throwProps,o)}return U},i.update=function(t,r,n){if(r&&U.isPressed){var i=yo(e),s=L.apply({x:U.x-l,y:U.y-p}),o=yo(e.parentNode,!0);o.apply({x:i.e-s.x,y:i.f-s.y},s),U.x-=s.x-o.e,U.y-=s.y-o.f,ut(!0),_t()}var a=U.x,u=U.y;return gt(!r),t?U.applyBounds():(x&&n&&ut(!0),lt(!0)),r&&(xt(U.pointerX,U.pointerY),x&&ut(!0)),U.isPressed&&!r&&(Y&&Math.abs(a-U.x)>.01||G&&Math.abs(u-U.y)>.01&&!z)&&_t(),U.autoScroll&&(Wa(e.parentNode,U.isDragging),Q=U.isDragging,ut(!0),Ua(e,wt),$a(e,wt)),U},i.enable=function(t){var n,i,a,u={lazy:!0};if(!1!==r.cursor&&(u.cursor=r.cursor||ia),qo.utils.checkPrefix("touchCallout")&&(u.touchCallout="none"),"soft"!==t){for(Pa(H,Y===G?"none":r.allowNativeTouchScrolling&&e.scrollHeight===e.clientHeight==(e.scrollWidth===e.clientHeight)||r.allowEventDefault?"manipulation":Y?"pan-y":"pan-x"),i=H.length;--i>-1;)a=H[i],sa||Ia(a,"mousedown",vt),Ia(a,"touchstart",vt),Ia(a,"click",Ct,!0),qo.set(a,u),a.getBBox&&a.ownerSVGElement&&Y!==G&&qo.set(a.ownerSVGElement,{touchAction:r.allowNativeTouchScrolling||r.allowEventDefault?"manipulation":Y?"pan-y":"pan-x"}),r.allowContextMenu||Ia(a,"contextmenu",at);ou(H,!1)}return $a(e,wt),s=!0,na&&"soft"!==t&&na.track(o||e,j?"x,y":z?"rotation":"top,left"),e._gsDragID=n=e._gsDragID||"d"+Sa++,Ta[n]=U,o&&(o.enable(),o.element._gsDragID=n),(r.bounds||z)&&_t(),r.bounds&&U.applyBounds(),U},i.disable=function(t){for(var r,n=U.isDragging,i=H.length;--i>-1;)Qa(H[i],"cursor",null);if("soft"!==t){for(Pa(H,null),i=H.length;--i>-1;)r=H[i],Qa(r,"touchCallout",null),ja(r,"mousedown",vt),ja(r,"touchstart",vt),ja(r,"click",Ct,!0),ja(r,"contextmenu",at);ou(H,!0),T&&(ja(T,"touchcancel",bt),ja(T,"touchend",bt),ja(T,"touchmove",yt)),ja(ot,"mouseup",bt),ja(ot,"mousemove",yt)}return Ua(e,wt),s=!1,na&&"soft"!==t&&(na.untrack(o||e,j?"x,y":z?"rotation":"top,left"),U.tween&&U.tween.kill()),o&&o.disable(),Na(ut),U.isDragging=U.isPressed=E=!1,n&&tu(U,"dragend","onDragEnd"),U},i.enabled=function(t,e){return arguments.length?t?U.enable(e):U.disable(e):s},i.kill=function(){return U.isThrowing=!1,U.tween&&U.tween.kill(),U.disable(),qo.set(H,{clearProps:"userSelect"}),delete Ta[e._gsDragID],U},i.revert=function(){this.kill(),this.styles&&this.styles.revert()},~I.indexOf("scroll")&&(o=i.scrollProxy=new uu(e,function(t,e){for(var r in e)r in t||(t[r]=e[r]);return t}({onKill:function(){U.isPressed&&bt(null)}},r)),e.style.overflowY=G&&!Ko?"auto":"hidden",e.style.overflowX=Y&&!Ko?"auto":"hidden",e=o.content),z?V.rotation=1:(Y&&(V[X]=1),G&&(V[q]=1)),nt.force3D=!("force3D"in r)||r.force3D,oa(Xo(i)),i.enable(),i}return r=t,(e=n).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r,n.register=function(t){qo=t,lu()},n.create=function(t,e){return Wo||lu(!0),Zo(t).map(function(t){return new n(t,e)})},n.get=function(t){return Ta[(Zo(t)[0]||{})._gsDragID]},n.timeSinceDrag=function(){return(Fa()-Aa)/1e3},n.hitTest=function(t,e,r){if(t===e)return!1;var n,i,s,o=Ka(t),a=Ka(e),u=o.top,l=o.left,p=o.right,c=o.bottom,d=o.width,h=o.height,f=a.left>p||a.right<l||a.top>c||a.bottom<u;return f||!r?!f:(s=-1!==(r+"").indexOf("%"),r=parseFloat(r)||0,(n={left:Math.max(l,a.left),top:Math.max(u,a.top)}).width=Math.min(p,a.right)-n.left,n.height=Math.min(c,a.bottom)-n.top,!(n.width<0||n.height<0)&&(s?(r*=.01,(i=n.width*n.height)>=d*h*r||i>=a.width*a.height*r):n.width>r&&n.height>r))},n}(function(){function t(t){this._listeners={},this.target=t||this}var e=t.prototype;return e.addEventListener=function(t,e){var r=this._listeners[t]||(this._listeners[t]=[]);~r.indexOf(e)||r.push(e)},e.removeEventListener=function(t,e){var r=this._listeners[t],n=r&&r.indexOf(e);n>=0&&r.splice(n,1)},e.dispatchEvent=function(t){var e,r=this;return(this._listeners[t]||[]).forEach(function(n){return!1===n.call(r,{type:t,target:r.target})&&(e=!1)}),e},t}());!function(t,e){for(var r in e)r in t||(t[r]=e[r])}(pu.prototype,{pointerX:0,pointerY:0,startX:0,startY:0,deltaX:0,deltaY:0,isDragging:!1,isPressed:!1}),pu.zIndex=1e3,pu.version="3.12.7",da()&&qo.registerPlugin(pu);
let cu,du,hu,fu,gu,_u,mu,Du,vu,yu=()=>cu||"undefined"!=typeof window&&(cu=window.gsap),xu={},bu=t=>vu(t).id,wu=t=>xu[bu("string"==typeof t?hu(t)[0]:t)],Cu=t=>{let e,r=gu;if(t-mu>=.05)for(Du=mu,mu=t;r;)e=r.g(r.t,r.p),(e!==r.v1||t-r.t1>.2)&&(r.v2=r.v1,r.v1=e,r.t2=r.t1,r.t1=t),r=r._next},Fu={deg:360,rad:2*Math.PI},Eu=()=>{cu=yu(),cu&&(hu=cu.utils.toArray,fu=cu.utils.getUnit,vu=cu.core.getCache,_u=cu.ticker,du=1)};class Tu{constructor(t,e,r,n){this.t=t,this.p=e,this.g=t._gsap.get,this.rCap=Fu[r||fu(this.g(t,e))],this.v1=this.v2=0,this.t1=this.t2=_u.time,n&&(this._next=n,n._prev=this)}}class Su{constructor(t,e){du||Eu(),this.target=hu(t)[0],xu[bu(this.target)]=this,this._props={},e&&this.add(e)}static register(t){cu=t,Eu()}get(t,e){let r,n,i,s=this._props[t]||console.warn("Not tracking "+t+" velocity.");return r=parseFloat(e?s.v1:s.g(s.t,s.p)),n=r-parseFloat(s.v2),i=s.rCap,i&&(n%=i,n!==n%(i/2)&&(n=n<0?n+i:n-i)),o=n/((e?s.t1:_u.time)-s.t2),Math.round(1e4*o)/1e4;var o}getAll(){let t,e={},r=this._props;for(t in r)e[t]=this.get(t);return e}isTracking(t){return t in this._props}add(t,e){t in this._props||(gu||(_u.add(Cu),mu=Du=_u.time),gu=this._props[t]=new Tu(this.target,t,e,gu))}remove(t){let e,r,n=this._props[t];n&&(e=n._prev,r=n._next,e&&(e._next=r),r?r._prev=e:gu===n&&(_u.remove(Cu),gu=0),delete this._props[t])}kill(t){for(let t in this._props)this.remove(t);t||delete xu[bu(this.target)]}static track(t,e,r){du||Eu();let n,i,s=[],o=hu(t),a=e.split(","),u=(r||"").split(","),l=o.length;for(;l--;){for(n=wu(o[l])||new Su(o[l]),i=a.length;i--;)n.add(a[i],u[i]||u[0]);s.push(n)}return s}static untrack(t,e){let r=(e||"").split(",");hu(t).forEach(t=>{let e=wu(t);e&&(r.length?r.forEach(t=>e.remove(t)):e.kill(1))})}static isTracking(t,e){let r=wu(t);return r&&r.isTracking(e)}static getVelocity(t,e){let r=wu(t);return r&&r.isTracking(e)?r.get(e):console.warn("Not tracking velocity of "+e)}}Su.getByTarget=wu,yu()&&cu.registerPlugin(Su);
let Ru,Au,Mu,ku,Ou,Pu,Bu,Lu,Nu,Iu,ju,zu,Xu,qu,Yu=Su.getByTarget,Gu=()=>Ru||"undefined"!=typeof window&&(Ru=window.gsap)&&Ru.registerPlugin&&Ru,$u=t=>"number"==typeof t,Uu=t=>"object"==typeof t,Hu=t=>"function"==typeof t,Vu=Array.isArray,Wu=t=>t,Qu=1e10,Zu=(t,e,r)=>{for(let n in e)n in t||n===r||(t[n]=e[n]);return t},Ju=t=>{let e,r,n={};for(e in t)n[e]=Uu(r=t[e])&&!Vu(r)?Ju(r):r;return n},Ku=(t,e,r,n,i)=>{let s,o,a,u,l=e.length,p=0,c=Qu;if(Uu(t)){for(;l--;){for(a in s=e[l],o=0,t)u=s[a]-t[a],o+=u*u;o<c&&(p=l,c=o)}if((i||Qu)<Qu&&i<Math.sqrt(c))return t}else for(;l--;)s=e[l],o=s-t,o<0&&(o=-o),o<c&&s>=n&&s<=r&&(p=l,c=o);return e[p]},tl=(t,e,r,n,i,s,o)=>{if("auto"===t.end)return t;let a,u,l=t.end;if(r=isNaN(r)?Qu:r,n=isNaN(n)?-1e10:n,Uu(e)){if(a=e.calculated?e:(Hu(l)?l(e,o):Ku(e,l,r,n,s))||e,!e.calculated){for(u in a)e[u]=a[u];e.calculated=!0}a=a[i]}else a=Hu(l)?l(e,o):Vu(l)?Ku(e,l,r,n,s):parseFloat(l);return a>r?a=r:a<n&&(a=n),{max:a,min:a,unitFactor:t.unitFactor}},el=(t,e,r)=>isNaN(t[e])?r:+t[e],rl=(t,e)=>.05*e*t/Iu,nl=(t,e,r)=>Math.abs((e-t)*Iu/r/.05),il={resistance:1,checkpoint:1,preventOvershoot:1,linkedProps:1,radius:1,duration:1},sl=(t,e,r,n)=>{if(e.linkedProps){let i,s,o,a,u,l,p=e.linkedProps.split(","),c={};for(i=0;i<p.length;i++)s=p[i],o=e[s],o&&($u(o.velocity)?a=o.velocity:(u=u||Yu(t),a=u&&u.isTracking(s)?u.get(s):0),l=Math.abs(a/el(o,"resistance",n)),c[s]=parseFloat(r(t,s))+rl(a,l));return c}},ol=()=>{Ru=Gu(),Ru&&(Mu=Ru.parseEase,ku=Ru.utils.toArray,Bu=Ru.utils.getUnit,Nu=Ru.core.getCache,ju=Ru.utils.clamp,Xu=Ru.core.getStyleSaver,qu=Ru.core.reverting||function(){},Ou=Mu("power3"),Iu=Ou(.05),Lu=Ru.core.PropTween,Ru.config({resistance:100,unitFactors:{time:1e3,totalTime:1e3,progress:1e3,totalProgress:1e3}}),Pu=Ru.config(),Ru.registerPlugin(Su),Au=1)};const al={version:"3.12.7",name:"inertia",register(t){Ru=t,ol()},init(t,e,r,n,i){Au||ol();let s=Yu(t);if("auto"===e){if(!s)return void console.warn("No inertia tracking on "+t+". InertiaPlugin.track(target) first.");e=s.getAll()}this.styles=Xu&&"object"==typeof t.style&&Xu(t),this.target=t,this.tween=r,zu=e;let o,a,u,l,p,c,d,h,f,g=t._gsap,_=g.get,m=e.duration,D=Uu(m),v=e.preventOvershoot||D&&0===m.overshoot,y=el(e,"resistance",Pu.resistance),x=$u(m)?m:((t,e,r=10,n=.2,i=1,s=0)=>{if("string"==typeof t&&(t=ku(t)[0]),!t)return 0;let o,a,u,l,p,c,d,h,f,g,_=0,m=Qu,D=e.inertia||e,v=Nu(t).get,y=el(D,"resistance",Pu.resistance);for(o in g=sl(t,D,v,y),D)il[o]||(a=D[o],Uu(a)||(h=h||Yu(t),h&&h.isTracking(o)?a=$u(a)?{velocity:a}:{velocity:h.get(o)}:(l=+a||0,u=Math.abs(l/y))),Uu(a)&&($u(a.velocity)?l=a.velocity:(h=h||Yu(t),l=h&&h.isTracking(o)?h.get(o):0),u=ju(n,r,Math.abs(l/el(a,"resistance",y))),p=parseFloat(v(t,o))||0,c=p+rl(l,u),"end"in a&&(a=tl(a,g&&o in g?g:c,a.max,a.min,o,D.radius,l),s&&(zu===e&&(zu=D=Ju(e)),D[o]=Zu(a,D[o],"end"))),"max"in a&&c>+a.max+1e-10?(f=a.unitFactor||Pu.unitFactors[o]||1,d=p>a.max&&a.min!==a.max||l*f>-15&&l*f<45?n+.1*(r-n):nl(p,a.max,l),d+i<m&&(m=d+i)):"min"in a&&c<+a.min-1e-10&&(f=a.unitFactor||Pu.unitFactors[o]||1,d=p<a.min&&a.min!==a.max||l*f>-45&&l*f<15?n+.1*(r-n):nl(p,a.min,l),d+i<m&&(m=d+i)),d>_&&(_=d)),u>_&&(_=u));return _>m&&(_=m),_>r?r:_<n?n:_})(t,e,D&&m.max||10,D&&m.min||.2,D&&"overshoot"in m?+m.overshoot:v?0:1,!0);for(o in e=zu,zu=0,f=sl(t,e,_,y),e)il[o]||(a=e[o],Hu(a)&&(a=a(n,t,i)),$u(a)?p=a:Uu(a)&&!isNaN(a.velocity)?p=+a.velocity:s&&s.isTracking(o)?p=s.get(o):console.warn("ERROR: No velocity was defined for "+t+" property: "+o),c=rl(p,x),h=0,u=_(t,o),l=Bu(u),u=parseFloat(u),Uu(a)&&(d=u+c,"end"in a&&(a=tl(a,f&&o in f?f:d,a.max,a.min,o,e.radius,p)),"max"in a&&+a.max<d?v||a.preventOvershoot?c=a.max-u:h=a.max-u-c:"min"in a&&+a.min>d&&(v||a.preventOvershoot?c=a.min-u:h=a.min-u-c)),this._props.push(o),this.styles&&this.styles.save(o),this._pt=new Lu(this._pt,t,o,u,0,Wu,0,g.set(t,o,this)),this._pt.u=l||0,this._pt.c1=c,this._pt.c2=h);return r.duration(x),1},render(t,e){let r=e._pt;if((t=Ou(e.tween._time/e.tween._dur))||!qu())for(;r;)r.set(r.t,r.p,(n=r.s+r.c1*t+r.c2*t*t,Math.round(1e4*n)/1e4+r.u),r.d,t),r=r._next;else e.styles.revert();var n}};var ul;"track,untrack,isTracking,getVelocity,getByTarget".split(",").forEach(t=>al[t]=Su[t]),Gu()&&Ru.registerPlugin(al),Yn.registerPlugin(Ve,Gn,Ne,Ne,qn,gi,Bs,ps,Ys,Ks,zo,pu,al),window._tpt??={};var ll=ul=window.punchgs=window.tpGS=_tpt;for(var pl in _tpt.gsap=Yn,_tpt.TweenLite=Ve,_tpt.TweenMax=Gn,_tpt.TimelineLite=Ne,_tpt.TimelineMax=Ne,_tpt.CSSPlugin=qn,_tpt.SplitText=gi,_tpt.motionPath=zo,_tpt.CustomEase=ps,_tpt.CustomBounce=Ys,_tpt.CustomWiggle=Ks,_tpt.DrawSVGPlugin=Bs,_tpt.draggable=pu,_tpt.Inertia=al,_tpt.RAD2DEG=180/Math.PI,_tpt.DEG2RAD=Math.PI/180,_tpt.gsap.config({nullTargetWarn:!1}),
_tpt.eases=_tpt.gsap.parseEase(),_tpt.eases)_tpt.eases.hasOwnProperty(pl)&&void 0===ll[pl]&&(ll[pl]=_tpt.eases[pl]
);void 0!==ul&&void 0!==ul.TweenLite&&void 0===ul.TweenLite.lagSmoothing&&(ul.TweenLite.lagSmoothing=function(){}),_tpt.CustomEase.create("late","M0,0,C0,0,0.474,0.078,0.724,0.26,0.969,0.438,1,1,1,1"),_tpt.CustomEase.create("late2","M0,0 C0,0 0.738,-0.06 0.868,0.22 1,0.506 1,1 1,1 "),_tpt.CustomEase.create("late3","M0,0,C0,0,0.682,0.157,0.812,0.438,0.944,0.724,1,1,1,1"),_tpt.SFXBounceLite=_tpt.CustomBounce.create("SFXBounceLite",{strength:.3,squash:1,squashID:"SFXBounceLite-squash"}),_tpt.SFXBounceSolid=_tpt.CustomBounce.create("SFXBounceSolid",{strength:.5,squash:2,squashID:"SFXBounceSolid-squash"}),_tpt.SFXBounceStrong=_tpt.CustomBounce.create("SFXBounceStrong",{strength:.7,squash:3,squashID:"SFXBounceStrong-squash"}),_tpt.SFXBounceExtrem=_tpt.CustomBounce.create("SFXBounceExtrem",{strength:.9,squash:4,squashID:"SFXBounceExtrem-squash"}),_tpt.BounceLite=_tpt.CustomBounce.create("BounceLite",{strength:.3}),_tpt.BounceSolid=_tpt.CustomBounce.create("BounceSolid",{strength:.5}),_tpt.BounceStrong=_tpt.CustomBounce.create("BounceStrong",{strength:.7}),_tpt.BounceExtrem=_tpt.CustomBounce.create("BounceExtrem",{strength:.9}),_tpt.R=_tpt.R||{},_tpt.R.tpgsap=_tpt.extend?_tpt.extend(_tpt.R.tpgsap,{status:2,version:"1.0"}):{status:2,version:"1.0"},window.dispatchEvent(new CustomEvent("tpGSAPReady"))})();