(()=>{var $i=Object.create;var he=Object.defineProperty;var qi=Object.getOwnPropertyDescriptor;var Di=Object.getOwnPropertyNames;var _i=Object.getPrototypeOf,Fi=Object.prototype.hasOwnProperty;var Bi=t=>he(t,"__esModule",{value:!0});var Ni=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Ze=(t,e)=>{for(var n in e)he(t,n,{get:e[n],enumerable:!0})},Wi=(t,e,n,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of Di(e))!Fi.call(t,r)&&(n||r!=="default")&&he(t,r,{get:()=>e[r],enumerable:!(o=qi(e,r))||o.enumerable});return t},Vi=(t,e)=>Wi(Bi(he(t!=null?$i(_i(t)):{},"default",!e&&t&&t.__esModule?{get:()=>t.default,enumerable:!0}:{value:t,enumerable:!0})),t);var To=Ni(()=>{Array.prototype.flat||Object.defineProperty(Array.prototype,"flat",{configurable:!0,value:function t(){var e=isNaN(arguments[0])?1:Number(arguments[0]);return e?Array.prototype.reduce.call(this,function(n,o){return Array.isArray(o)?n.push.apply(n,t.call(o,e-1)):n.push(o),n},[]):Array.prototype.slice.call(this)},writable:!0}),Array.prototype.flatMap||Object.defineProperty(Array.prototype,"flatMap",{configurable:!0,value:function(t){return Array.prototype.map.apply(this,arguments).flat()},writable:!0})});var Ln={};Ze(Ln,{attach:()=>S,debug:()=>Kt,defineRivetArchetype:()=>st,drive:()=>te,registerAction:()=>wt,registerBehavior:()=>xt,registerEvent:()=>G,registerInnate:()=>Xt,registerMacro:()=>kn,registerObserver:()=>nt,store:()=>K,util:()=>b});var b={};Ze(b,{NON_PASSIVE_ARGS:()=>Wt,PASSIVE_ARGS:()=>W,SCROLLBAR_ACTIVE_VAR_NAME:()=>Qt,SCROLLBAR_ACTIVE_VAR_STRING:()=>yn,SCROLLBAR_VAR_NAME:()=>gn,SCROLLBAR_VAR_STRING:()=>Ks,absVector:()=>es,addClass:()=>xs,addVectors:()=>Xi,animateToElement:()=>ta,animateTopOffset:()=>Xs,appendHtmlString:()=>As,balanceFromDifference:()=>as,ceil:()=>Yi,clamp:()=>_t,clampVector:()=>Ki,debounce:()=>At,defer:()=>cs,dispatch:()=>qs,distanceInRange:()=>Xe,divideVectors:()=>is,doOnce:()=>Nt,elementAttributes:()=>Ct,elementIndex:()=>Ts,elementIsVisibleInViewport:()=>Po,elementMeta:()=>ln,ensureNumber:()=>tt,ensureString:()=>Dt,evaluateCondition:()=>fa,expandElementValue:()=>yt,farthest:()=>Cs,floor:()=>ji,fontCompress:()=>Gs,forceOpaque:()=>ra,getCachedAttribute:()=>kt,getCachedJsonAttribute:()=>_s,getDurations:()=>an,getEasing:()=>mt,getJsonAttrContent:()=>on,getOuterHeight:()=>Ls,getPrecisionLength:()=>Qi,getPrecisionLengthWithCommas:()=>Ji,getStateValue:()=>Ro,getTransitionDuration:()=>Ps,getTransitionTimingMS:()=>Os,hasClass:()=>Bt,intersect:()=>Zs,isMobile:()=>pn,isScalar:()=>Gi,lerp:()=>ss,listener:()=>et,listenerPassive:()=>D,lockMotion:()=>Ho,makeAlternatingSynchronizer:()=>Is,makeDirectionalEasing:()=>ws,makeElementWeakMap:()=>Gt,makeFindClosest:()=>sn,makeGetComputedFloatValues:()=>Vs,makeGetComputedStyle:()=>Ws,makeGetComputedStyles:()=>dn,makeMotionLockedUpdate:()=>zo,makeRafLoop:()=>we,makeSortByKey:()=>Ui,makeStateSynchronizer:()=>xo,makeTreeWalker:()=>ye,memoize:()=>en,multiplyVectors:()=>rs,normalizeCondition:()=>xn,normalizeTeardown:()=>Vt,offsetFromTop:()=>ve,onLoad:()=>V,onPageVisibilityChange:()=>cn,onPercentScrolled:()=>Bs,onResize:()=>Ut,onResizeOrScan:()=>lt,onScan:()=>xe,onScanLazy:()=>Ns,onScroll:()=>Yt,onScrollOrResize:()=>Co,onScrollRaw:()=>un,onViewportChange:()=>ko,once:()=>Eo,oncePassive:()=>Et,parseHTML:()=>rn,parseTime:()=>gt,removeClass:()=>bs,rivetDispatch:()=>$s,rivetListener:()=>Rs,round:()=>ho,roundVector:()=>ns,runAnimation:()=>ia,scrollOffset:()=>ks,scrollingDisable:()=>ea,scrollingEnable:()=>na,setRootVar:()=>Jt,siblings:()=>wo,subtractVectors:()=>os,teardown:()=>U,throttle:()=>tn,toggleClass:()=>Ss,transitionEnd:()=>Ds,triggerScan:()=>Fs,tween:()=>zs,unwrapHtmlTemplate:()=>Es,updateStateKey:()=>la,vectorsEq:()=>ts,watchElementIsVisible:()=>oa,waypoint:()=>Ys,wrapNumber:()=>Ke,wrapVector:()=>Zi});function tt(t){if(typeof t=="function")return tt(t());if(typeof t=="number")return t;let e=Number.parseFloat(t);return Number.isNaN(e)?0:e}var Dt=t=>typeof t=="function"?Dt(t()):typeof t=="string"?t:"";function Gi(t){var e=typeof t;return e==="string"||e==="number"||e==="boolean"||e==="symbol"||t==null||t instanceof Symbol||t instanceof String||t instanceof Number||t instanceof Boolean}var Ui=t=>(e,n)=>e[t]-n[t];var Yi=(t,e=100)=>Math.ceil(t*e)/e,ji=(t,e=100)=>Math.floor(t*e)/e,ho=(t,e=100)=>Math.round((t+Number.EPSILON)*e)/e,Qi=t=>{var e,n;return(n=(e=t.toString().split(/\./)[1])==null?void 0:e.length)!=null?n:0},Ji=t=>{var e,n;return(n=(e=t.toString().split(/,/)[1])==null?void 0:e.length)!=null?n:0},Ke=(t,e)=>(e+t)%e,Zi=([t,e],[n,o])=>[Ke(t,n),Ke([e,o])],_t=(t,e,n)=>Math.min(Math.max(t,e),n),Ki=([t,e],n,o)=>[_t(t,n,o),_t(e,n,o)],Xi=([t,e],[n,o])=>[t+n,e+o],ts=([t,e],[n,o])=>t===n&&e===o,es=t=>t.map(Math.abs),ns=(t,e)=>t.map(n=>ho(n,e)),os=([t,e],[n,o])=>[t-n,e-o],rs=([t,e],[n,o])=>[t*n,e*o],is=([t,e],[n,o])=>[t/n,e/o],Xe=(t,e,n)=>(t-e+n)%n,ss=(t,e,n)=>t+n*(e-t),as=(t,e,n)=>{let o=Xe(t,e,n),r=Xe(e,t,n);return o===r?0:o>r?-1:1};function cs(t){return setTimeout(t,0)}function tn(t,e,n={}){var o=!0,r=!0;return o="leading"in n?!!n.leading:o,r="trailing"in n?!!n.trailing:r,At(t,e,{leading:o,maxWait:e,trailing:r})}function At(t,e=0,n={}){var o,r,i,s,a,c,u=0,d=!1,f=!1,p=!0;d=!!n.leading,f="maxWait"in n,i=f?Math.max(n.maxWait||0,e):i,p="trailing"in n?!!n.trailing:p;function l(x){var A=o,z=r;return o=r=void 0,u=x,s=t.apply(z,A),s}function h(x){return u=x,a=setTimeout(y,e),d?l(x):s}function m(x){var A=x-c,z=x-u,I=e-A;return f?Math.min(I,i-z):I}function g(x){var A=x-c,z=x-u;return c===void 0||A>=e||A<0||f&&z>=i}function y(){var x=window.Date.now();if(g(x))return v(x);a=setTimeout(y,m(x))}function v(x){return a=void 0,p&&o?l(x):(o=r=void 0,s)}function w(){a!==void 0&&clearTimeout(a),u=0,o=c=r=a=void 0}function T(){return a===void 0?s:v(window.Date.now())}function C(){var x=window.Date.now(),A=g(x);if(o=arguments,r=this,c=x,A){if(a===void 0)return h(c),()=>void w();if(f)return clearTimeout(a),a=setTimeout(y,e),l(c),()=>void w()}return a===void 0&&(a=setTimeout(y,e)),()=>void w()}return C.cancel=w,C.flush=T,C}function en(t,e){let n=new Map;return function(...o){let r=e?e.apply(this,o):o[0];if(n.has(r))return n.get(r);let i=t.apply(this,o);return n.set(r,i),i}}var ls=4,us=.001,fs=1e-7,ds=10,Ft=11,me=1/(Ft-1),ps=typeof Float32Array=="function";function mo(t,e){return 1-3*e+3*t}function go(t,e){return 3*e-6*t}function yo(t){return 3*t}function ge(t,e,n){return((mo(e,n)*t+go(e,n))*t+yo(e))*t}function vo(t,e,n){return 3*mo(e,n)*t*t+2*go(e,n)*t+yo(e)}function hs(t,e,n,o,r){var i,s,a=0;do s=e+(n-e)/2,i=ge(s,o,r)-t,i>0?n=s:e=s;while(Math.abs(i)>fs&&++a<ds);return s}function ms(t,e,n,o){for(var r=0;r<ls;++r){var i=vo(e,n,o);if(i===0)return e;var s=ge(e,n,o)-t;e-=s/i}return e}function gs(t){return t}function nn(t,e,n,o){if(!(0<=t&&t<=1&&0<=n&&n<=1))throw new Error("bezier x values must be in [0, 1] range");if(t===e&&n===o)return gs;for(var r=ps?new Float32Array(Ft):new Array(Ft),i=0;i<Ft;++i)r[i]=ge(i*me,t,n);function s(a){for(var c=0,u=1,d=Ft-1;u!==d&&r[u]<=a;++u)c+=me;--u;var f=(a-r[u])/(r[u+1]-r[u]),p=c+f*me,l=vo(p,t,n);return l>=us?ms(a,p,t,n):l===0?p:hs(a,c,c+me,t,n)}return function(c){return c===0||c===1?c:ge(s(c),e,o)}}var ys=t=>{switch(t){case"linear":return"cubic-bezier(0.0, 0.0, 1.0, 1.0)";case"ease-in":return"cubic-bezier(0.42, 0, 1.0, 1.0)";case"ease-out":return"cubic-bezier(0, 0, 0.58, 1.0)";case"ease-in-out":return"cubic-bezier(0.42, 0, 0.58, 1.0)";case"ease":default:return"cubic-bezier(0.25, 0.1, 0.25, 1.0)"}},L=en(t=>{let e=ys(t);try{let[,n]=e.match(/cubic-bezier\((.*)\)/);return nn(...n.split(",").map(o=>Number(o.trim())))}catch{console.warn("unable to parse easing function",e)}return L("ease")}),vs={easeInQuad:L("cubic-bezier(0.550, 0.085, 0.680, 0.530)"),easeInCubic:L("cubic-bezier(0.550, 0.055, 0.675, 0.190)"),easeInQuart:L("cubic-bezier(0.895, 0.030, 0.685, 0.220)"),easeInQuint:L("cubic-bezier(0.755, 0.050, 0.855, 0.060)"),easeInSine:L("cubic-bezier(0.470, 0.000, 0.745, 0.715)"),easeInExpo:L("cubic-bezier(0.950, 0.050, 0.795, 0.035)"),easeInCirc:L("cubic-bezier(0.600, 0.040, 0.980, 0.335)"),easeInBack:L("cubic-bezier(0.600, -0.280, 0.735, 0.045)"),easeOutQuad:L("cubic-bezier(0.250, 0.460, 0.450, 0.940)"),easeOutCubic:L("cubic-bezier(0.215, 0.610, 0.355, 1.000)"),easeOutQuart:L("cubic-bezier(0.165, 0.840, 0.440, 1.000)"),easeOutQuint:L("cubic-bezier(0.230, 1.000, 0.320, 1.000)"),easeOutSine:L("cubic-bezier(0.390, 0.575, 0.565, 1.000)"),easeOutExpo:L("cubic-bezier(0.190, 1.000, 0.220, 1.000)"),easeOutCirc:L("cubic-bezier(0.075, 0.820, 0.165, 1.000)"),easeOutBack:L("cubic-bezier(0.175, 0.885, 0.320, 1.275)"),easeInOutQuad:L("cubic-bezier(0.455, 0.030, 0.515, 0.955)"),easeInOutCubic:L("cubic-bezier(0.645, 0.045, 0.355, 1.000)"),easeInOutQuart:L("cubic-bezier(0.770, 0.000, 0.175, 1.000)"),easeInOutQuint:L("cubic-bezier(0.860, 0.000, 0.070, 1.000)"),easeInOutSine:L("cubic-bezier(0.445, 0.050, 0.550, 0.950)"),easeInOutExpo:L("cubic-bezier(1.000, 0.000, 0.000, 1.000)"),easeInOutCirc:L("cubic-bezier(0.785, 0.135, 0.150, 0.860)"),easeInOutBack:L("cubic-bezier(0.680, -0.550, 0.265, 1.550)"),materialStand:L("cubic-bezier(0.400, 0.000, 0.200, 1.000)"),materialDecel:L("cubic-bezier(0.000, 0.000, 0.200, 1.000)"),materialAccel:L("cubic-bezier(0.400, 0.000, 1.000, 1.000)"),materialSharp:L("cubic-bezier(0.400, 0.000, 0.600, 1.000)")};function mt(t){return vs[t]||L(t)}var ws=t=>{let e=mt(t);return n=>{let o=(-1*n+1)/2,r=Math.min(1,Math.max(0,o));return(e(r)-.5)*2}};var Bt=(t,e)=>{var n;return(n=t==null?void 0:t.classList)==null?void 0:n.contains(e)},xs=(t,e)=>{var n;return(n=t==null?void 0:t.classList)==null?void 0:n.add(e)},bs=(t,e)=>{var n;return(n=t==null?void 0:t.classList)==null?void 0:n.remove(e)},Ss=(t,e,n)=>{var o;return(o=t==null?void 0:t.classList)==null?void 0:o.toggle(e,n)};function Ts(t){if(!t)return-1;for(var e=0;t=t.previousElementSibling;)e++;return e}function on(t,e){let n=t.getAttribute(e);if(n===null)return{};if(typeof n=="string")try{return JSON.parse(n)}catch{try{return JSON.parse(n.replace(/&quot;/g,'"'))}catch{}}return n}var rn=t=>{let e=document.implementation.createHTMLDocument("");return e.body.innerHTML=t,e.body.children},As=(t,e)=>{Array.from(rn(e)).forEach(n=>{t.append(n)})},Es=t=>{Array.from(rn(t.innerHTML)).forEach(e=>{t.insertAdjacentElement("afterend",e)}),t.remove()};function Cs(t,e){let n=t,o;for(;n&&n.parentElement;)n=n.parentElement.closest(e),n&&(o=n);return o}var wo=t=>t&&t.parentElement?Array.from(t.parentElement.children).filter(e=>e!==t):[],ye=(t,e)=>n=>{let o=new Set,r=document.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,{acceptNode:()=>NodeFilter.FILTER_ACCEPT});for(;r.nextNode();)if(t(r.currentNode)){if(e)return r.currentNode;o.add(r.currentNode)}return e?null:Array.from(o)},ve=t=>t?t.offsetParent?t.offsetTop+ve(t.offsetParent):t.offsetTop:0,ks=t=>{let e=t.getBoundingClientRect(),{top:n,left:o,height:r}=e;return{top:n+window.scrollY,bottom:n+r+window.scrollY,left:o+window.scrollX}},Ls=t=>{var r;if(!t)return 0;let e=Math.max(t.scrollHeight,t.offsetHeight),n=(r=t.getAttribute("style"))!=null?r:"";t.style.display="block",t.style.position="absolute",t.style.visibility="hidden";let o=Math.max(0,e,t.scrollHeight,t.offsetHeight);return t.setAttribute("style",n),o},sn=t=>{let e=ye(t,!0),n=r=>{let i=r;for(;i;){if(t(i))return i;i=i.parentElement}},o=r=>{let i=r;for(;i;){let s;if(wo(i).find(a=>(s=t(a)?a:e(a),s)),s)return s;i=i.parentElement}};return r=>n(r)||o(r)||null};function Os(t){if(!t)return 0;let n=window.getComputedStyle(t)["transition-duration"]||"";return parseFloat(n.replace("s",""))*1e3}var xo=(t,{pending:e=()=>{},delay:n=10,initialState:o=null}={})=>{let r=o,i=o,s=[],a=!1,c=()=>{r!==i&&(a=!0,e(!0),r=i,t(r,(...d)=>{a=!1,e(!1),s=d,c()},...s))},u=At(d=>{i=d,a||c()},n);return u.reset=()=>{r=!1,i=!1,s=[]},u},Is=(t,e,n,o=!1)=>xo((r,i,s)=>{r?t(()=>void i(e)):e(i),s&&s(i)},{delay:n,initialState:o}),Nt=t=>{let e=!1;return(...n)=>{if(!e)return e=!0,t(...n)}},gt=(t,e=0)=>{if(typeof t=="number")return t;let n=typeof t=="string"?t:"",[,o,r=""]=n.match(/(\d*.?\d+)(\w*)/)||[],i=parseFloat(o);return Number.isNaN(i)?e:r.toLowerCase()==="s"?i*1e3:i};function Ps(t,e){return gt(t&&window.getComputedStyle(t).getPropertyValue("transition-duration"),e)}function an(t){let e=window.getComputedStyle(t);e.getPropertyValue("transition-duration");let n=gt(e.getPropertyValue("transition-duration"),0),o=gt(e.getPropertyValue("transition-delay"),0),r=gt(e.getPropertyValue("animation-duration"),0),i=gt(e.getPropertyValue("animation-delay"),0);return{transitionDuration:n,transitionDelay:o,animationDuration:r,animationDelay:i,transitionTime:n+o,animationTime:r+i}}var we=t=>{let e,n,o=r=>{typeof e=="undefined"&&(e=r);let i=r-e;t(i,r)!==!1&&(n=requestAnimationFrame(o))};return n=requestAnimationFrame(o),()=>void cancelAnimationFrame(n)},Ms=({setup:t=()=>{},update:e=()=>{},complete:n=()=>{},cancel:o=()=>{},duration:r,easing:i})=>{let s=gt(r,500),a=mt(i);t();let c=we(u=>{if(u<s)e(a(u/s));else return e(1),n(),!1});return()=>{o(),c()}},Hs=(t,e,n)=>e===n?n:n>e?e+(n-e)*t:e+(e-n)*(t*-1),bo=t=>Object.keys(t).reduce((e,n)=>(e[n]=parseFloat(t[n]),e),{}),So=(t,{update:e,interpolate:n=Hs,...o})=>{let r=bo(t);return(i={})=>{let s=bo(i);return Ms({update:a=>{e(Object.keys(s).reduce((c,u)=>(c[u]=n(a,r[u],s[u]),c),{}))},...o})}},zs=(t,e)=>{let n=typeof t=="object"?So(t,e):So({from:t},{...e,update:({from:o})=>e.update(o)});return o=>n(typeof o=="object"?o:{from:o})};Promise.resolve().then(()=>Vi(To()));var Ao="rvt",W={passive:!0},Wt={passive:!1};function Rs(t,e,n){return et(t,`${Ao}-${e}`,n)}function $s(t,e){t.dispatchEvent(new CustomEvent(`${Ao}-${e}`))}function qs(t,e,n={},o=!0){t.dispatchEvent(new CustomEvent(e),{bubbles:o,detail:n})}function et(t,e,n,o={}){return t?(typeof o.passive=="undefined"&&(o.passive=!1),t.addEventListener(e,n,o),()=>void t.removeEventListener(e,n,o)):()=>{}}function D(t,e,n){return et(t,e,n,W)}function V(t){let e=()=>void t();return document.readyState==="complete"?(e(),()=>{}):D(document,"readystatechange",function(){document.readyState==="complete"&&setTimeout(e,0)})}function Eo(t,e,n,o=Wt){let r=function(i){t.removeEventListener(e,r),n(i)};return t.addEventListener(e,r,o),()=>void t.removeEventListener(e,r)}function Et(t,e,n){return Eo(t,e,n,W)}var Vt=t=>(Array.isArray(t)?t.map(Vt):[t]).flat().filter(e=>typeof e=="function"),U=t=>{let e=Vt(t);return()=>e.forEach(n=>n())};function Ds(t,e){let o=window.getComputedStyle(t)["transition-duration"];if(o=o?parseFloat(o.replace("s","")):0,o===0){e();return}let r=Nt(e),i=setTimeout(function(){r()},o*1e3+500),s=Et(t,"transitionend",r);return function(){clearTimeout(i),s()}}var cn=(t,e)=>(e&&t(document.visibilityState==="visible"),U([et(window,"pagehide",()=>{t(!1)}),et(window.document,"visibilitychange",()=>{t(document.visibilityState==="visible")})]));function B(t,e){let n,o=null;return function(r){if(n){o=r;return}n=setTimeout(function(){t(o),n=null},e)}}var Gt=(t={})=>{let e,n=()=>{e=new WeakMap},o=c=>e.has(c),r=c=>e.delete(c),i=c=>e.has(c)?e.get(c):t,s=(c,u)=>void e.set(c,u),a=(c,u)=>void s(c,u(i(c)));return n(),{get:i,del:r,set:s,has:o,update:a,reset:n,cache:()=>e}},ln=Gt(),Ct=Gt();function kt(t,e){return Ct.has(t)||Ct.set(t,new Map),Ct.get(t).has(e)||Ct.get(t).set(e,on(t,e)),Ct.get(t).get(e)}function _s(t,e){if(!t)return{};let n=kt(t,e);return typeof n=="object"?n:{}}var Fs=()=>window.dispatchEvent(new CustomEvent("rvt-scan")),xe=t=>et(window,"rvt-scan",()=>t()),Ut=(t,e=!1)=>{e&&t();let n=B(t,100);return U([D(window,"resize",n,W),et(screen.orientation,"change",n)])},Yt=(t,e=!1)=>{e&&t();let n=B(t,40);return D(window,"scroll",n)},un=(t,e=!1)=>(e&&t(),D(window,"scroll",t)),Co=(t,e=!1)=>U([Yt(t,e),lt(t,e)]),lt=(t,e)=>U([xe(t),Ut(t,e)]),ko=(t,e)=>U([xe(t),V(t),cn(t,!1),Ut(t,e)]),Bs=(t,e,n=!1)=>{let o,r,i=Co(()=>{let s=document.body.offsetHeight,c=1-(s-(window.scrollY+window.innerHeight))/s>=t;c!==r&&(e(c),c&&n&&(o=!0,i()),r=c)},!0);return()=>{o||i()}},Ns=(t,{throttle:e=50}={})=>{let n,r=tn(()=>{n=requestAnimationFrame(()=>void t())},e,{trailing:!0}),i=At(r,450);return[V(i),Ut(i),xe(r),()=>cancelAnimationFrame(n)]},fn,Lo;ko(()=>{fn=new WeakMap,Lo=new WeakMap},!0);Yt(()=>{Lo=new WeakMap},!0);var Oo=t=>{let e=fn.get(t);return e||(e=new WeakMap,fn.set(t,e)),e};function dn(t,e){let n=function(o){let r=Oo(n).get(o);if(!r){let i=getComputedStyle(o);r=t.reduce((s,a)=>(s[a]=typeof e=="function"?e(i[a],a):i[a],s),{}),Oo(n).set(o,r)}return r};return n}function Ws(t){let e=dn([t]);return n=>e(n)[t]}function Vs(t){return dn(t,e=>parseFloat(e))}function Gs(t,{c:e=1,min:n=Number.NEGATIVE_INFINITY,max:o=Number.POSITIVE_INFINITY}){let r=tt(n),i=tt(o);return Ut(()=>{let s=_t(parseFloat(getComputedStyle(t,null).width)/(e*10),r,i);t.style.setProperty("font-size",`${s}px`)},!0)}var Us="ontouchstart"in document.documentElement;function pn(){return window.innerWidth<=978.98&&Us}var Io=0,Lt={};function E(t){if(!t)throw new Error("No options passed to Waypoint constructor");if(!t.element)throw new Error("No element option passed to Waypoint constructor");if(!t.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+Io,this.options=E.Adapter.extend({},E.defaults,t),this.element=this.options.element,this.adapter=new E.Adapter(this.element),this.callback=t.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=E.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=E.Context.findOrCreateByElement(this.options.context),E.offsetAliases[this.options.offset]&&(this.options.offset=E.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),Lt[this.key]=this,Io+=1}E.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)};E.prototype.trigger=function(t){!this.enabled||this.callback&&this.callback.apply(this,t)};E.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete Lt[this.key]};E.prototype.disable=function(){return this.enabled=!1,this};E.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this};E.prototype.next=function(){return this.group.next(this)};E.prototype.previous=function(){return this.group.previous(this)};E.invokeAll=function(t){var e=[];for(var n in Lt)e.push(Lt[n]);for(var o=0,r=e.length;o<r;o++)e[o][t]()};E.destroyAll=function(){E.invokeAll("destroy")};E.disableAll=function(){E.invokeAll("disable")};E.enableAll=function(){E.Context.refreshAll();for(var t in Lt)Lt[t].enabled=!0;return this};E.refreshAll=function(){E.Context.refreshAll()};E.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight};E.viewportWidth=function(){return document.documentElement.clientWidth};E.adapters=[];E.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0};E.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}};(function(){"use strict";var t=0,e={},n=window.onload;function o(r){this.element=r,this.Adapter=E.Adapter,this.adapter=new this.Adapter(r),this.key="waypoint-context-"+t,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},r.waypointContextKey=this.key,e[r.waypointContextKey]=this,t+=1,E.windowContext||(E.windowContext=!0,E.windowContext=new o(window)),this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}o.prototype.add=function(r){var i=r.options.horizontal?"horizontal":"vertical";this.waypoints[i][r.key]=r,this.refresh()},o.prototype.checkEmpty=function(){var r=this.Adapter.isEmptyObject(this.waypoints.horizontal),i=this.Adapter.isEmptyObject(this.waypoints.vertical),s=this.element==this.element.window;r&&i&&!s&&(this.adapter.off(".waypoints"),delete e[this.key])},o.prototype.createThrottledResizeHandler=function(){var r=this;function i(){r.handleResize(),r.didResize=!1}this.adapter.on("resize.waypoints",function(){r.didResize||(r.didResize=!0,requestAnimationFrame(i))})},o.prototype.createThrottledScrollHandler=function(){var r=this;function i(){r.handleScroll(),r.didScroll=!1}this.adapter.on("scroll.waypoints",function(){(!r.didScroll||E.isTouch)&&(r.didScroll=!0,requestAnimationFrame(i))})},o.prototype.handleResize=function(){E.Context.refreshAll()},o.prototype.handleScroll=function(){var r={},i={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var s in i){var a=i[s],c=a.newScroll>a.oldScroll,u=c?a.forward:a.backward;for(var d in this.waypoints[s]){var f=this.waypoints[s][d];if(f.triggerPoint!==null){var p=a.oldScroll<f.triggerPoint,l=a.newScroll>=f.triggerPoint,h=p&&l,m=!p&&!l;(h||m)&&(f.queueTrigger(u),r[f.group.id]=f.group)}}}for(var g in r)r[g].flushTriggers();this.oldScroll={x:i.horizontal.newScroll,y:i.vertical.newScroll}},o.prototype.innerHeight=function(){return this.element==this.element.window?E.viewportHeight():this.adapter.innerHeight()},o.prototype.remove=function(r){delete this.waypoints[r.axis][r.key],this.checkEmpty()},o.prototype.innerWidth=function(){return this.element==this.element.window?E.viewportWidth():this.adapter.innerWidth()},o.prototype.destroy=function(){var r=[];for(var i in this.waypoints)for(var s in this.waypoints[i])r.push(this.waypoints[i][s]);for(var a=0,c=r.length;a<c;a++)r[a].destroy()},o.prototype.refresh=function(){var r=this.element==this.element.window,i=r?void 0:this.adapter.offset(),s={},a;this.handleScroll(),a={horizontal:{contextOffset:r?0:i.left,contextScroll:r?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:r?0:i.top,contextScroll:r?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}};for(var c in a){var u=a[c];for(var d in this.waypoints[c]){var f=this.waypoints[c][d],p=f.options.offset,l=f.triggerPoint,h=0,m=l==null,g,y,v,w,T;f.element!==f.element.window&&(h=f.adapter.offset()[u.offsetProp]),typeof p=="function"?p=p.apply(f):typeof p=="string"&&(p=parseFloat(p),f.options.offset.indexOf("%")>-1&&(p=Math.ceil(u.contextDimension*p/100))),g=u.contextScroll-u.contextOffset,f.triggerPoint=Math.floor(h+g-p),y=l<u.oldScroll,v=f.triggerPoint>=u.oldScroll,w=y&&v,T=!y&&!v,!m&&w?(f.queueTrigger(u.backward),s[f.group.id]=f.group):(!m&&T||m&&u.oldScroll>=f.triggerPoint)&&(f.queueTrigger(u.forward),s[f.group.id]=f.group)}}return requestAnimationFrame(function(){for(var C in s)s[C].flushTriggers()}),this},o.findOrCreateByElement=function(r){return o.findByElement(r)||new o(r)},o.refreshAll=function(){for(var r in e)e[r].refresh()},o.findByElement=function(r){return e[r.waypointContextKey]},window.onload=function(){n&&n(),o.refreshAll()},E.Context=o})();(function(){"use strict";function t(r,i){return r.triggerPoint-i.triggerPoint}function e(r,i){return i.triggerPoint-r.triggerPoint}var n={vertical:{},horizontal:{}};function o(r){this.name=r.name,this.axis=r.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),n[this.axis][this.name]=this}o.prototype.add=function(r){this.waypoints.push(r)},o.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},o.prototype.flushTriggers=function(){for(var r in this.triggerQueues){var i=this.triggerQueues[r],s=r==="up"||r==="left";i.sort(s?e:t);for(var a=0,c=i.length;a<c;a+=1){var u=i[a];(u.options.continuous||a===i.length-1)&&u.trigger([r])}}this.clearTriggerQueues()},o.prototype.next=function(r){this.waypoints.sort(t);var i=E.Adapter.inArray(r,this.waypoints),s=i===this.waypoints.length-1;return s?null:this.waypoints[i+1]},o.prototype.previous=function(r){this.waypoints.sort(t);var i=E.Adapter.inArray(r,this.waypoints);return i?this.waypoints[i-1]:null},o.prototype.queueTrigger=function(r,i){this.triggerQueues[i].push(r)},o.prototype.remove=function(r){var i=E.Adapter.inArray(r,this.waypoints);i>-1&&this.waypoints.splice(i,1)},o.prototype.first=function(){return this.waypoints[0]},o.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},o.findOrCreate=function(r){return n[r.axis][r.name]||new o(r)},E.Group=o})();(function(){"use strict";function t(o){return o===o.window}function e(o){return t(o)?o:o.defaultView}function n(o){this.element=o,this.handlers={}}n.prototype.innerHeight=function(){var o=t(this.element);return o?this.element.innerHeight:this.element.clientHeight},n.prototype.innerWidth=function(){var o=t(this.element);return o?this.element.innerWidth:this.element.clientWidth},n.prototype.off=function(o,r){function i(p,l,h){for(var m=0,g=l.length-1;m<g;m++){var y=l[m];(!h||h===y)&&p.removeEventListener(y)}}var s=o.split("."),a=s[0],c=s[1],u=this.element;if(c&&this.handlers[c]&&a)i(u,this.handlers[c][a],r),this.handlers[c][a]=[];else if(a)for(var d in this.handlers)i(u,this.handlers[d][a]||[],r),this.handlers[d][a]=[];else if(c&&this.handlers[c]){for(var f in this.handlers[c])i(u,this.handlers[c][f],r);this.handlers[c]={}}},n.prototype.offset=function(){if(!this.element.ownerDocument)return null;var o=this.element.ownerDocument.documentElement,r=e(this.element.ownerDocument),i={top:0,left:0};return this.element.getBoundingClientRect&&(i=this.element.getBoundingClientRect()),{top:i.top+r.pageYOffset-o.clientTop,left:i.left+r.pageXOffset-o.clientLeft}},n.prototype.on=function(o,r){var i=o.split("."),s=i[0],a=i[1]||"__default",c=this.handlers[a]=this.handlers[a]||{},u=c[s]=c[s]||[];u.push(r),this.element.addEventListener(s,r)},n.prototype.outerHeight=function(o){var r=this.innerHeight(),i;return o&&!t(this.element)&&(i=window.getComputedStyle(this.element),r+=parseInt(i.marginTop,10),r+=parseInt(i.marginBottom,10)),r},n.prototype.outerWidth=function(o){var r=this.innerWidth(),i;return o&&!t(this.element)&&(i=window.getComputedStyle(this.element),r+=parseInt(i.marginLeft,10),r+=parseInt(i.marginRight,10)),r},n.prototype.scrollLeft=function(){var o=e(this.element);return o?o.pageXOffset:this.element.scrollLeft},n.prototype.scrollTop=function(){var o=e(this.element);return o?o.pageYOffset:this.element.scrollTop},n.extend=function(){var o=Array.prototype.slice.call(arguments);function r(a,c){if(typeof a=="object"&&typeof c=="object")for(var u in c)c.hasOwnProperty(u)&&(a[u]=c[u]);return a}for(var i=1,s=o.length;i<s;i++)r(o[0],o[i]);return o[0]},n.inArray=function(o,r,i){return r==null?-1:r.indexOf(o,i)},n.isEmptyObject=function(o){for(var r in o)return!1;return!0},E.adapters.push({name:"noframework",Adapter:n}),E.Adapter=n})();var hn=E;D(window,"rvt-scan",hn.Context.refreshAll);function Ys(t,e,n,o=!0){let r=new hn({element:t,handler:(...s)=>{e(...s),o&&i()},offset:n}),i=()=>r&&void r.destroy();return i}var jt=new Map,js=({threshold:t=.5,top:e="0px",bottom:n="0px"}={})=>{let o=Number.parseFloat(t);return{key:`${e}:${n}:${o}`,options:{root:null,rootMargin:`${e} 0px ${n} 0px`,_threshold:o}}},Qs=(t,e)=>new IntersectionObserver((n,o)=>{let{subscribers:r}=jt.get(t);n.forEach(i=>{let s=r.get(i.target);if(s)for(let a of s.values())a(i)})},e),Js=t=>{let{key:e,options:n}=js(t);return jt.has(e)||jt.set(e,{observer:Qs(e,n),subscribers:new Map,key:e}),jt.get(e)},Zs=(t,e,n)=>{if(typeof window.IntersectionObserver=="undefined")return function(){};let{observer:o,subscribers:r,key:i}=Js(n);return r.has(t)||(r.set(t,new Set),o.observe(t)),r.get(t).add(e),()=>{r.get(t).delete(e),r.get(t).size<=0&&(r.delete(t),o.unobserve(t)),r.size<=0&&(o.disconnect(),jt.delete(i))}};var mn=0,gn="--x-body-scroll-bar-size",Ks=`var(${gn}, 0)`,Qt="--x-body-scroll-active-bar-size",yn=`var(${Qt}, 0)`,Xs=(t=0,e=850,n=null,o=()=>{},r=window)=>{let i=typeof t=="function"?t:tt(t),s=mt(n),a=tt(e),c=r.scrollY||document.documentElement.scrollTop;return Mo(r,c,s,a,o,i)},ta=(t,e=0,n=850,o=null,r=()=>{},i=window)=>{let s=mt(o),a=tt(n),c=i.scrollY||document.documentElement.scrollTop;return Mo(i,c,s,a,r,function(){return ve(t)+tt(typeof e=="function"?e(0):e)})},be="auto",Se=!1,Te=t=>{t.target&&t.target.closest&&(t.target.closest("[data-x-scrollbar]")||t.target.closest(".x-off-canvas")||t.target.closest(".x-modal"))||(t.preventDefault(),t.stopPropagation())},ea=()=>{if(Se)return;Se=!0;let{adminBarOffset:t}=window.csGlobal;be=document.body.style.touchAction==="none"?be:document.body.style.touchAction,document.body.style.touchAction="none";let e=window.scrollY-t();document.body.style.top=-e+"px",document.body.classList.add("x-body-scroll-disabled"),window.addEventListener("wheel",Te,Wt),window.addEventListener("scroll",Te,Wt),Jt(Qt,mn+"px")},na=()=>{if(!Se)return;Se=!1;let{adminBarOffset:t}=window.csGlobal;document.body.style.touchAction=be==="none"?"auto":be,document.body.classList.remove("x-body-scroll-disabled");let e=-(parseFloat(document.body.style.top)-t());document.body.style.top="",window.scrollTo({top:e}),setTimeout(function(){window.dispatchEvent(new CustomEvent("resize"))},250),window.removeEventListener("wheel",Te),window.removeEventListener("scroll",Te),Jt(Qt,"0px")},oa=(t,e=0,n=0,o)=>{let r=B(function(){o(Po(t,e,n))},25);return U([lt(r),Yt(r)])},Po=(t,e=0,n=0)=>{e===0&&(e=.01),n===0&&(n=.01);let{top:o,left:r,bottom:i,right:s}=t.getBoundingClientRect(),{innerHeight:a,innerWidth:c}=window,u=e?a*(1-parseFloat(e)/100):0,d=n?a*(parseFloat(n)/100):a;return o<=u&&r>=0&&i>=d&&s<=c};V(function(){mn=window.innerWidth-document.body.offsetWidth,Jt(gn,mn+"px"),Jt(Qt,"0px")});function Jt(t,e){document.querySelector(":root").style.setProperty(t,e)}function Mo(t,e,n,o,r,i=null){let s=t===window;return we(a=>{let c=typeof i=="function"?i():i;if(a<o){let u=e+(c-e)*n(a/o);t.scrollTo(0,u),s&&document.body.scrollTo(0,u)}else return t.scrollTo(0,c),s&&document.body.scrollTo(0,c),r(),!1})}function Ho(t,e=null){return e?t.style.setProperty("transition-property",e,"important"):t.style.setProperty("transition","none","important"),t.style.setProperty("animation","none","important"),()=>{t.offsetHeight,t.style.removeProperty(e?"transition-property":"transition"),t.style.removeProperty("animation")}}var zo=(t,e)=>(n,{after:o}={})=>{t(n);let r=Ho(n);return()=>{e(n),r(),typeof o=="function"&&o()}},ra=zo(t=>t.style.setProperty("opacity",1,"important"),t=>t.style.removeProperty("opacity")),ia=(t,{animation:e,className:n,timeout:o,remove:r},i=()=>{})=>{if(!e)return;n&&!t.classList.contains(n)&&t.classList.add(n),t.style.removeProperty("animation-duration"),t.style.setProperty("animation-name",e);let s=o?an(t).animationTime:0;t.csAnimationEndingTimeout&&clearTimeout(t.csAnimationEndingTimeout);let a=Nt(()=>{r&&(t.csAnimationEndingTimeout=setTimeout(function(){t.style.animationName===e&&t.style.setProperty("animation-name","")},250)),i()});Et(t,"animationend",a),o&&setTimeout(a,s)};function sa(t,e,n){e=typeof e=="number"?Ot(e.toString()):typeof e=="string"?Ot(e):e;let o=(r,i,s,a)=>{let c,u=i[a];if(i.length>a){if(Array.isArray(r))try{u=vn(u,r),c=r.slice()}catch(d){if(r.length===0)c={};else throw new Error(d)}else c=Object.assign({},r);return c[u]=o(r[u]!==void 0?r[u]:{},i,s,a+1),c}return typeof s=="function"?s(r):s};return o(t,e,n,0)}function aa(t,e,n){e=typeof e=="number"?Ot(e.toString()):typeof e=="string"?Ot(e):e;for(var o=0;o<e.length;o++){if(t===null||typeof t!="object")return n;let r=e[o];Array.isArray(t)&&r==="$end"&&(r=t.length-1),t=t[r]}return typeof t=="undefined"?n:t}function ca(t,e){e=typeof e=="number"?Ot(e.toString()):typeof e=="string"?Ot(e):e;let n=(o,r,i)=>{let s,a=r[i];return o===null||typeof o!="object"||!Array.isArray(o)&&o[a]===void 0?o:r.length-1>i?(Array.isArray(o)?(a=vn(a,o),s=o.slice()):s=Object.assign({},o),s[a]=n(o[a],r,i+1),s):(Array.isArray(o)?(a=vn(a,o),s=[].concat(o.slice(0,a),o.slice(a+1))):(s=Object.assign({},o),delete s[a]),s)};return n(t,e,0)}function vn(t,e){if(t==="$end"&&(t=Math.max(e.length-1,0)),!/^\+?\d+$/.test(t))throw new Error(`Array index '${t}' has to be an integer`);return parseInt(t)}function Ot(t){return t.split(".").reduce((e,n,o,r)=>{let i=o>0&&r[o-1];if(i&&/(?:^|[^\\])\\$/.test(i)){let s=e.pop();e.push(s.slice(0,-1)+"."+n)}else e.push(n);return e},[])}var wn={get:aa,set:sa,deleteProperty:ca};var Ro=(t,e)=>e&&typeof t=="object"?wn.get(t,Dt(e)):t,la=(t,e,n)=>e&&typeof t=="object"?{...t,[Dt(e)]:n}:n;function yt(t,e){if(Array.isArray(e))return e.map(i=>yt(t,i));if(typeof e=="function")return yt(t,e(t));if(typeof e=="object")return Object.keys(e).reduce((i,s)=>(i[s]=yt(t,e[s]),i),{});if(typeof e!="string")return e;let n,o=()=>(n||(n=window.getComputedStyle(t)),n),r=ln.get(t);return e.replace(/var\(([\w-]+)(?:\s*,\s*(.+?))?\)/g,(i,s,a="")=>o().getPropertyValue(s)||a).replace(/attr\(([\w-]+)(?:\s*,\s*(.+?))?\)/g,(i,s,a="")=>t.getAttribute(s)||a).replace(/meta\(([.\w-]+)(?:\s*,\s*(.+?))?\)/g,(i,s,a="")=>{let c=wn.get(r,s);return typeof c=="undefined"?a:c})}var ua=(t,e,n)=>{let o=t,r=e;return n==="IN"?o.includes(r):n==="NOT IN"?!o.includes(r):((typeof o=="boolean"||typeof r=="boolean")&&(o=!!o,r=!!r),n===">"||n==="<"?o>r:n===">="||n==="<="?o>=r:n==="="||n==="=="?o==r:n==="!="?o!=r:n=="==="?o===r:n=="!=="?o!==r:!0)},xn=(t,e)=>{if(typeof t=="undefined")return null;if(!Array.isArray(t))return xn([t,"==",e]);let[n,o,r]=t;return t.length<=0?null:[n,o,r||e]},fa=(t,e,n,o)=>{try{let r=xn(e,o);if(!r)return!0;let[i,s,a]=r;return ua(Ro(n,yt(t,a)),yt(t,i),yt(t,s))}catch(r){console.warn("Failed to check condition. Make sure your state contains the key you are checking",r,{el:t,condition:e,state:n})}return!1};var Zt=new Map,bn=new Map,Ae=(...t)=>void console.warn(...t),st=(t,e)=>{if(Zt.has(t))return Ae("Rivet archetypes can not be redefined");bn.set(t,typeof e=="function"?e:(n,...o)=>n(...o))},vt=(t,e,n,o={})=>{if(Zt.has(e))return Ae(`Rivet ${e} already registered`);if(!bn.has(t))return Ae("Rivet archetype unknown",t);Zt.set(e,{archetype:t,handler:n,config:o})};function Ee({el:t,handle:e,handles:n,defaultOption:o,options:r}){var l;let i=n||[e],s=i.find(({type:h})=>h&&Zt.has(h));if(!s)return Ae(`Unknown rivet type: ${(l=i[0])==null?void 0:l.type}`,t);let{handler:a,config:{defaultOption:c,priority:u=0,...d}={},archetype:f}=Zt.get(s.type),p=c&&o?{[c]:o}:{};return[u,()=>bn.get(f)(a,t,{...p,...r||{}},s.name,d)]}function Ce(t){return t.sort(([e],[n])=>e-n)}var Sn="data-rvt";function $o(t=window.document.body){return ye(Tn)(t)}function Tn(t){if(t.hasAttributes()){let e=t.attributes;for(let n=e.length-1;n>=0;n--)if(e[n].name.indexOf(Sn)===0)return!0}return!1}function da(t,e){let n=kt(t,e);return typeof n!="object"&&typeof n!="undefined"&&n!==""?{defaultOption:n,options:{}}:{options:n}}function pa(t){let e=new Set;for(let n=t.attributes.length-1;n>=0;n--){let o=t.attributes[n].name;if(o.indexOf(Sn)!==0)continue;let r=o.substr(Sn.length+1),i=r.split("-");e.add({el:t,handles:[{type:r,name:"default"},{name:i.pop(),type:i.join("-")}],...da(t,o)})}return e}function An(t){return U(Ce(Array.from(pa(t)).map(e=>Ee(e)).filter(e=>!!e)).map(([,e])=>e()))}function qo(t,e){try{return t&&t.matches&&t.matches(e)}catch{}return!1}function ke(t){try{return window.document.querySelectorAll(t)}catch(e){console.warn(e)}return[]}var Do=!1,_o=null,Fo,En=new Set,Cn=new Set,Le=new WeakMap,It=new WeakMap;function S(t,e,n=0){if(typeof t!="string"){console.warn("Rivet selector must be a string",t),console.trace();return}if(typeof e!="function"){console.warn("Rivet handler must be a function",e),console.trace();return}let o={handler:e,selector:t,priority:n};En.add(o),Do&&ha(o)}function ha(t){clearTimeout(Fo),Cn.add(t),Fo=setTimeout(()=>{let e=Array.from(Cn.values());Cn.clear(),Bo(e)},0)}function Bo(t){t.sort(({priority:e},{priority:n})=>e-n),t.forEach(({selector:e,handler:n})=>{Array.from(ke(e)).forEach(o=>{Oe(o,n,No(e,o))})})}function No(t,e){let n=t.match(/(data-[\w-]+)/g)||[];return n&&n.length?n=n.pop():n=null,n?kt(e,n):null}function Oe(t,e,n){try{if(ma(t,e)||!document.body.contains(t))return;ga(t,e);let o=Vt(e.call(window,t,n));Array.isArray(o)&&o.map(r=>{Wo(t,r)}),typeof o=="function"&&Wo(t,o)}catch(o){console.warn("Failed to attach handler to element",t,e,n,o)}}function Wo(t,e){typeof e=="function"&&(Le.get(t)||Le.set(t,new Set),Le.get(t).add(e))}function ma(t,e){return It.get(t)&&It.get(t).get(e)}function ga(t,e){It.get(t)||It.set(t,new WeakMap),It.get(t).set(e,!0)}window.document.addEventListener("DOMContentLoaded",()=>{$o().forEach(t=>{Oe(t,e=>An(e))}),Bo(Array.from(En.values())),_o=new MutationObserver(function(t){t.reduce((e,n)=>{for(let o=0;o<n.addedNodes.length;o++)n.addedNodes[o].nodeType===1&&e.push(n.addedNodes[o]);return e},[]).forEach(function e(n){if(!!n){if(n.children&&n.children.length>0)for(let o=0;o<n.children.length;o++){if(!n)return;e(n.children[o])}Tn(n)&&Oe(n,o=>An(o)),En.forEach(({selector:o,handler:r})=>{n&&qo(n,o)&&Oe(n,r,No(o,n))})}}),t.reduce((e,n)=>{for(let o=0;o<n.removedNodes.length;o++){let r=n.removedNodes[o];r.nodeType===1&&!document.contains(r)&&e.push(r)}return e},[]).forEach(function e(n){if(n.children&&n.children.length>0)for(let r=0;r<n.children.length;r++)e(n.children[r]);let o=Le.get(n);if(o)for(let r of o.values())r.call(window,n),o.delete(r),It.delete(n)})}),_o.observe(window.document.body,{childList:!0,subtree:!0}),Do=!0});var K={};Ze(K,{container:()=>k,initState:()=>Ca,makeDetectStateChange:()=>Go,makeDispatch:()=>ba,makeInspect:()=>xa,subscribe:()=>Sa});var k={providers:new Map,subscribers:new Map,relationships:new Map,providerIndex:new WeakMap,subscriberIndex:new WeakMap},Vo=(()=>{let t=0;return()=>t++})();function Go(t){let e={};return n=>{let o=t.filter(r=>e[r]!==n[r]);return t.forEach(r=>{e[r]=n[r]}),o}}var Uo=(t,e)=>{var n,o;return(o=(n=k.subscriberIndex.get(t))==null?void 0:n.get(e))==null?void 0:o.id},Yo=t=>k.providers.get(k.relationships.get(t)),jo=(t,e)=>Yo(Uo(t,e)),ya=(t,e)=>k.providerIndex.has(t)&&k.providerIndex.get(t).has(e),Qo=(t,e)=>{let n=sn(o=>ya(o,e))(t);return n?k.providerIndex.get(n).get(e):null},Pt=new WeakMap;window.addEventListener("rvt-store-provider",()=>{Pt=new WeakMap});var Jo=(t,e)=>(Pt.get(t)||Pt.set(t,{}),Pt.get(t).name||(Pt.get(t).name=k.providers.get(Qo(t,e))),Pt.get(t).name),Zo=(t,e=!1)=>{let n=Yo(t);if(!n)return;let o=k.subscribers.get(t);if(!!o)for(let r of o.values()){let[i,s]=r;i(n.state,s(n.state),e)}},va=(t,e,n)=>{let o,r=()=>{let s=k.relationships.get(t),a=Qo(e,n);s!==a&&(k.relationships.set(t,a),clearTimeout(o),o=setTimeout(()=>Zo(t,!0),10))},i=et(window,"rvt-store-provider",r);return r(),()=>{clearTimeout(o),i()}},wa=(t,e)=>[typeof t=="function"?t:()=>{},Go(Array.isArray(e)?e:[])],xa=(t,e)=>()=>{var n;return(n=Jo(t,e))==null?void 0:n.state},ba=(t,e)=>n=>{var o;return(o=Jo(t,e))==null?void 0:o.dispatch(n)},Sa=(t,e,n=()=>{},o=[])=>{let r=wa(n,o);if(k.subscriberIndex.has(t)||k.subscriberIndex.set(t,new Map),!k.subscriberIndex.get(t).has(e)){let s=Vo();k.subscribers.set(s,new Set),k.subscriberIndex.get(t).set(e,{id:s,teardown:va(s,t,e)})}return k.subscribers.get(Uo(t,e)).add(r),{unsubscribe:()=>{let{id:s,teardown:a}=k.subscriberIndex.get(t).get(e),c=k.subscribers.get(s);c.delete(r),c.size===0&&(k.subscribers.delete(s),k.relationships.delete(s),k.subscriberIndex.get(t).delete(e),a())},getState:()=>{var s,a;return(a=(s=jo(t,e))==null?void 0:s.state)!=null?a:{}},dispatch:s=>{var a;return(a=jo(t,e))==null?void 0:a.dispatch(s)}}},Ta=t=>typeof t!="function"?e=>e:(...e)=>t(...e),Aa=t=>{let e;return n=>{let{state:o,...r}=k.providers.get(t);k.providers.set(t,{...r,state:r.reducer(n(o))}),cancelAnimationFrame(e),e=requestAnimationFrame(()=>{for(let[i,s]of k.relationships)s===t&&Zo(i)})}},Ea=(t,e,{_reducer:n,...o})=>{if(k.providerIndex.get(t)||k.providerIndex.set(t,new Map),k.providerIndex.get(t).has(e))return;let r=Ta(n),i=Vo();return k.providers.set(i,{reducer:r,state:r(o),dispatch:Aa(i)}),k.providerIndex.get(t).set(e,i),window.dispatchEvent(new CustomEvent("rvt-store-provider")),()=>{k.providers.delete(i),k.providerIndex.get(t).delete(e)}},Ca=(t,e={},n=window.document.documentElement)=>{if(!t){console.warn("States must set an ID",t,e,n);return}return Ea(n,t,e)};var Ko=Gt(!1);function Kt(t){return Ko.has(t)}Kt.enable=function(t){Ko.set(t,!0)};var wt=(...t)=>vt("action",...t),nt=(...t)=>vt("observer",...t),xt=(...t)=>vt("behavior",...t),Xt=(...t)=>vt("innate",...t),kn=(...t)=>vt("macro",...t),G=(...t)=>vt("event",...t);function ka(t,e,n={},o="default"){let r={el:t,handle:{type:e,name:o}};return typeof n=="string"?(r.defaultOption=n,r.options={}):r.options=n,Ee(r)}function te(t){return U(Ce(t.filter(e=>!!e).map(e=>ka(...e)).filter(e=>!!e)).map(([,e])=>e()))}var{rivetListener:La,rivetDispatch:Oa,expandElementValue:Xo,onScanLazy:Ia}=b;st("behavior");st("innate");st("macro",(t,e,n,o)=>t(e,te,n,o));st("action",(t,e,n,o)=>{let r=()=>void t(e,Xo(e,n));return La(e,o,i=>{n.defer?setTimeout(r,0):r()})});st("event",(t,e,n,o)=>t(()=>Oa(e,o),Xo(e,n),e));st("observer",(t,e,n,o="",{scan:r})=>{let[i,s=[]]=(typeof t=="function"?[t]:t)||[],a=i(e,n),[c,u]=Array.isArray(a)?a:[a,()=>{}],{unsubscribe:d,getState:f}=K.subscribe(e,o,c,s),p=r?Ia(()=>c(f(),[],!1,!0)):()=>{};return[d,u,p]});var{expandElementValue:Pa,getStateValue:Ma}=b;nt("outlet",(t,{key:e})=>{let n=t.innerHTML;return o=>{try{let r=Ma(o,Pa(t,e));t.innerHTML=typeof r=="undefined"?n:r}catch(r){console.warn("Unable to update Rivet outlet",r,{key:e,state:o,el:t})}}},{defaultOption:"key"});var{listener:tr}=b,Ha=["click","focus","focusin","focusout","blur"];Ha.forEach(t=>{G(`on${t}`,(e,{preventDefault:n=!0,stopPropagation:o=!1,once:r=!1},i)=>{let s;return tr(i,t,a=>{r&&s||(s=!0,n&&a.preventDefault(),o&&a.stopPropagation(),e())})})});var za=["keydown","keyup"];za.forEach(t=>{G(`on${t}`,(e,{key:n,preventDefault:o=!0,stopPropagation:r=!1,once:i=!1},s)=>{let a;return tr(document,t,c=>{i&&a||(a=!0,c.key===n&&(o&&c.preventDefault(),r&&c.stopPropagation(),e()))})},{defaultOption:"key"})});var{throttle:Ra,debounce:$a,onLoad:qa,onScanLazy:Da,triggerScan:_a,listener:Ie}=b;G("onready",t=>{setTimeout(()=>void t(),0)});G("onload",t=>qa(t));G("onexit",(t,{delay:e=1e3,repeat:n=!1})=>{let o,r=!1;return Ie(document,"mouseout",i=>{clearTimeout(o),!i.toElement&&!i.relatedTarget&&!r&&(o=setTimeout(()=>void t(),e),n||(r=!0))})},{defaultOption:"delay"});G("onresize",(t,{throttle:e=50})=>Ie(window,"resize",Ra(t,e,{trailing:!0}),W),{defaultOption:"throttle"});G("onresized",(t,{debounce:e=500})=>Ie(window,"resize",$a(t,e,{trailing:!0}),W),{defaultOption:"debounce"});G("onscan",(t,e)=>Da(t,e),{defaultOption:"throttle"});S("img",t=>Ie(t,"load",()=>void _a()));var{animateTopOffset:Fa,makeDirectionalEasing:Ba,intersect:Na}=b,er,nr,Pe=!1,Me=new Map;function or(){er=window.innerHeight}window.addEventListener("resize",or);or();function Wa(t,{prop:e,easingFn:n}){let{top:o,height:r}=t.getBoundingClientRect(),i=o+r/2,s=er/2;t.style.setProperty(e,n((i-s)/s))}function rr(){if(!!Pe){for(let[t,e]of Me)Wa(t,e);nr=requestAnimationFrame(rr)}}var Va=(t,e)=>{Me.set(t,e),!Pe&&(Pe=!0,nr=requestAnimationFrame(rr))},ir=t=>{Me.delete(t),Me.size<=0&&(Pe=!1)};xt("intersect",(t,{easing:e="linear",prop:n="--rvt-intersect"})=>[Na(t,({isIntersecting:r})=>{r?Va(t,{easingFn:Ba(e),prop:n}):ir(t)},{threshold:0,top:"0px",bottom:"0px"}),()=>void ir(t)],{defaultOption:"prop"});wt("scroll-to-top",(t,{offset:e,speed:n,easing:o="easeInOutExpo"})=>{Fa(e,n,o)},{defaultOption:"offset"});kn("scroll-top",(t,e)=>e([[t,"onclick"],[t,"scroll-to-top"]]));var{ensureNumber:sr,updateStateKey:ar,getStateValue:Ga,expandElementValue:He}=b;Xt("define",(t,e={},n)=>{if(!n.match(/^\w+$/)){console.warn("Rivet state keys must be alphanumeric");return}let{_reducer:o,...r}=e.__value||e||{};K.initState(n,{_reducer:o,...He(t,r)},t)},{defaultOption:"__value",priority:-1});wt("set",(t,{state:e,key:n,value:o})=>{K.makeDispatch(t,e)(r=>ar(r,He(t,n),o))});var Ua=(t,e,n)=>{let o=t.includes(e);return n&&o?t.filter(r=>r!==e):o?t:[...t,e]};wt("list",(t,{state:e,key:n,value:o,toggle:r=!0})=>{K.makeDispatch(t,e)(s=>{let a=He(t,n),c=Ga(s,a);return Array.isArray(c)?ar(s,a,Ua(c,o,r)):s})});wt("inc",(t,{state:e,key:n,amount:o=1,min:r=null,max:i=null,wrap:s=!1})=>{let a=K.makeDispatch(t,e),c=u=>sr(u)+sr(o);a(u=>{let d=He(t,n);return d?{...u||{},[d]:c(u[d])}:c(u)})},{defaultOption:"state"});Xt("debug",t=>{Kt.enable(t),t.removeAttribute("data-rvt-debug")},{defaultOption:"message"});var{isScalar:cr,getTransitionDuration:Ya,getStateValue:On,expandElementValue:ze,evaluateCondition:Re,listener:ja,fontCompress:Qa,addClass:lr,removeClass:Ja}=b,Za=(t,e)=>{let n=t||"$v";return cr(n)?cr(e)?`${n}`.replace("$v",e):n==="$v"?"":n:""};nt("classname",(t,{key:e,classname:n,condition:o})=>{let r="";return i=>{let s=On(i,ze(t,e)),c=Re(t,o,i,e)?Za(n,s):"";c!==r&&(r&&t.classList.contains(r)&&t.classList.remove(r),c&&!t.classList.contains(c)&&t.classList.add(c)),r=c}},{defaultOption:"classname"});nt("prop",(t,{key:e,prop:n,value:o,condition:r})=>{let i=null;return s=>{let a=On(s,ze(t,e));Re(t,r,s,e)?a!==i&&t.style.setProperty(n,typeof o=="undefined"?a:o):a!==i&&t.style.removeProperty(n),i=a}},{defaultOption:"key"});nt("attr",(t,{key:e,attr:n,value:o,condition:r})=>{let i=null;return s=>{let a=On(s,ze(t,e));Re(t,r,s,e)?a!==i&&t.setAttribute(n,typeof o=="undefined"?a:o):a!==i&&t.removeAttribute(n),i=a}},{defaultOption:"key"});nt("height",(t,{key:e,condition:n,selector:o})=>{let r,i;return(s,a,c,u)=>{if(e&&!u){let f=ze(t,e);if(s[f]===r)return;r=s[f]}let d=Re(t,n,s,e);setTimeout(()=>{if(d){let[f,...p]=Array.from(t.querySelectorAll(o)).map(l=>l.offsetHeight).sort((l,h)=>h-l);f&&f!==i&&(t.style.setProperty("height",`${f}px`,"important"),i=f)}else t.style.removeProperty("height"),i=null})}},{defaultOption:"selector",scan:!0});window.offscreenTemplates||(window.offscreenTemplates=new WeakMap);xt("offscreen-reset",(t,{mode:e="default"})=>{let n=t.closest("[data-x-toggleable]");if(window.offscreenTemplates.get(t))return;try{let c=document.createElement("textarea");c.innerHTML=t.querySelector('script[type="text/rvt-template"]').textContent;let u=document.createElement("div");u.innerHTML=c.innerText,window.offscreenTemplates.set(t,[c.innerText,u])}catch(c){return console.warn("Unable to locate content template",c),()=>{}}let o,r=()=>{try{let[c,u]=window.offscreenTemplates.get(t);Array.from(u.querySelectorAll("[data-x-toggleable]")).map(f=>f.getAttribute("data-x-toggleable")).forEach(f=>{window.xToggleDelete(f)}),t.innerHTML=c}catch(c){console.warn("Unable to reset offscreen content",c)}},i=()=>{t.innerHTML=""},s=()=>{o=setTimeout(()=>{i(),e==="close"&&r()},Ya(n,300)+100)},a=c=>{clearTimeout(o),c?(e==="open"&&i(),r()):e!=="open"&&s()};return e==="close"&&r(),ja(n,"tco-toggle",({detail:{state:c}={}})=>void a(c))},{defaultOption:"mode"});xt("font-compress",(t,e)=>Qa(t,e));var Ka=(t,e)=>{try{if(e)return Array.from(t.querySelectorAll(e))}catch{}return t};xt("inner-wrap",(t,{selector:e="",tag:n="span",class:o=""})=>Ka(t,e).map(r=>{let i=document.createElement(n);lr(i,"has-been-tagged"),o&&lr(i,o),Array.from(r.childNodes).forEach(s=>{i.appendChild(s)}),r.append(i),i.offsetHeight,Ja(i,"has-been-tagged")}),{defaultOption:"selector"});var In={...Ln};var{toggleClass:ur,listener:sd,PASSIVE_ARGS:Xa}=b;S("[data-x-bar]",(t,{scrollButtons:e})=>{if(!e)return;let n=t.querySelector(".x-bar-scroll-inner"),o=t.querySelector(".x-bar-content"),r=t.querySelector('[data-x-bar-scroll-button="bck"]'),i=t.querySelector('[data-x-bar-scroll-button="fwd"]'),s=0,a=0,c=0,u=0,d=()=>{let m=parseInt(window.getComputedStyle(n).width),g=parseInt(window.getComputedStyle(n,":before").width),y=parseInt(window.getComputedStyle(o).width);s=m,a=m-g*2,c=y,u=n.scrollLeft;let v=u<=0,w=c-u-a<=0;ur(r,"is-active",!v),ur(i,"is-active",!w)},f=m=>n.scrollTo({top:0,left:m,behavior:"smooth"}),p=()=>{f(Math.max(u-s,0))},l=()=>{f(Math.min(u+s,c-a))};d();let h=B(d,50);window.addEventListener("resize",h),n.addEventListener("scroll",h,Xa),r.addEventListener("mouseup",function(){p()}),i.addEventListener("mouseup",function(){l()})});var at={},Mt={};function tc(t,e){at[t]||(at[t]=[]),at[t].push(typeof e=="function"?e:()=>e)}function ec(t,e){if(!at[t])return;let n=at[t].indexOf(e);at[t].splice(n,1)}function nc(t,e){Mt[t]||(Mt[t]=[]),Mt[t].push(e)}function oc(){let t=[...arguments],e=t.shift(),n=t.shift(),o=at[e]?at[e]:[];return(Mt[e]?Mt[e]:[]).forEach(i=>i.call(this,n,...t)),o.reduce((i,s)=>s.call(this,i,...t),n)}var F={filter:tc,action:nc,apply:oc,filters:at,actions:Mt,remove_filter:ec};var{animateTopOffset:rc,scrollOffset:ic}=b,Ht,fr=!1,Pn;function dr(){if(!fr){Ht=0;let t=B(dr,50);window.addEventListener("resize",t,W),Pn=document.querySelector("#wpadminbar"),fr=!0}if(Pn){let{position:t,height:e}=window.getComputedStyle(Pn);Ht=t==="fixed"?parseInt(e):0}return Ht}var Y=()=>Ht!=null?Ht:dr(),ee=()=>F.apply("fixed_top_offset",0),sc=(t,e,n)=>{if(t instanceof Element){let{bottom:o,top:r}=ic(t);return e?o+n:r-n}return(typeof t=="number"?t:parseFloat(t))+n},pr=(t,{offsetTop:e=!0,duration:n,easing:o,bottom:r=!1}={},i)=>{rc(()=>sc(t,r,e?ee():0),n,o,i)};window.csGlobal=window.csGlobal||{};window.csJsData=window.csJsData||{};window.csGlobal.rivet=In;window.csGlobal._=window.csGlobal.rivet.util;window.csGlobal.everinit=In.attach;window.csGlobal.adminBarOffset=Y;window.csGlobal.fixedTopOffset=ee;window.csGlobal.scrollTo=pr;window.csGlobal.csHooks=F;window.document.documentElement.classList.remove("no-js");window.document.documentElement.classList.add("js");var{onScrollRaw:ac,onResize:cc,oncePassive:hr,elementIndex:mr,addClass:Mn,removeClass:Hn,toggleClass:Ed,hasClass:bt}=b,gr=t=>getComputedStyle(t).display!=="none",yr=0,vr=!1,zn=!1;function wr(t){var p,l,h;let e=document.querySelector(".x-site");if(!e){t.style.width="100%";return}var n=window.getComputedStyle(t);if(n.position!=="fixed"){t.style.left="",t.style.width="",t.style.maxWidth="";return}var o=[];xr(n["margin-left"])||o.push(n["margin-left"]),xr(n["margin-right"])||o.push(n["margin-right"]);var r="";o.length>0&&(r=o.length===1?o[0]:"("+o.join(" + ")+")");let i=(h=(l=(p=document.querySelector("body.x-stack-icon .x-sidebar .max.width:not(.x-container)"))==null?void 0:p.parentElement)==null?void 0:l.offsetWidth)!=null?h:0,s=Array.from(document.querySelectorAll(".x-bar-space-v")).reduce((m,g)=>m+g.offsetWidth,i),a=Array.from(document.querySelectorAll(".x-bar-left")).reduce((m,g)=>m+g.offsetWidth,i),c="";a&&(c="calc(0px + "+a+"px)");var u="";s>0&&(u+=" - "+s+"px"),r&&(u+=" - "+r),u+=" - "+yn,t.style.width="calc(100%"+u+")",t.style.left=c;var d=window.getComputedStyle(e),f=d["max-width"];f&&f!=="none"&&(t.style.maxWidth=r?"calc("+f+" - "+r+")":f)}function xr(t){return t.trim().split(" ").filter(e=>!e.match(/^0[a-zA-Z%]+|0$|none$/)).length===0}S("[data-x-bar]",function(t,e){if(e.region==="top"||e.region==="bottom")return b.onViewportChange(()=>{wr(t)},!0)});var $e=/__cs_debug/.test(location.href),br=!1,zt=[],ot=[],ne=[],Rn,oe=!1;function qe(t){let e=zt.map(r=>r.id),n=!1,o=zt.filter(({el:r,id:i})=>{let s=e.indexOf(i);return s!==e.lastIndexOf(i)?(n=!0,e.splice(s,1),!1):window.document.body.contains(r)?!0:(n=!0,!1)});return(n||t)&&(o=o.sort((r,i)=>mr(r.el)-mr(i.el))),n?(zt=o,ot=zt,setTimeout($n,0),!0):!1}function $n(){if(qe()||!Y)return;ot=zt.filter(({el:r})=>gr(r));let t=Y(),e=0,n=0,o=0;dc(),ot.forEach(r=>{var{height:i}=r.el.getBoundingClientRect();r.height=i=Math.round(i),r.hasShrink=Ar(r.props.shrink),r.goal&&r.space&&(r.space.style.height=i+"px"),r.hasShrink&&!r.goal&&(r.shrinkHeight=Tr(i,r.props.shrink)),r.hasShrink||(r.shrinkHeight=r.height),r.triggerOffset=parseInt(r.props.triggerOffset),isNaN(r.triggerOffset)&&(r.triggerOffset=0)}),ne=ot.map((r,i)=>{let{el:s,props:a,height:c,shrinkHeight:u,triggerOffset:d,goal:f}=r,p=o++===0,l=a.zStack&&!p,{marginTop:h}=getComputedStyle(s);var m=parseFloat(h),g=a.keepMargin?m:0,{top:y,bottom:v}=s.getBoundingClientRect();let w=0,C=s.parentNode.getBoundingClientRect().top-Y();C+=window.scrollY;let x=s.parentNode.childNodes;for(let Z=0;Z<x.length;++Z){let Q=x[Z];if(!!Q.getBoundingClientRect){if(Q===s)break;bt(Q,"x-bar-space")||bt(Q,"x-bar-is-sticky")||(w+=Q.getBoundingClientRect().height)}}y=C+d+(w-e)+Y();let A=d+w+C+Y(),z=document.body.scrollTop,I=z+y;if(a.triggerSelector)try{let Z=document.querySelector(a.triggerSelector);if(Z){let{top:Q}=Z.getBoundingClientRect();A=Q+z+d-u}}catch(Z){$e&&console.warn(Z)}else a.hideInitially?(A+=c,A+=d):d>0&&(A+=d+c);l?A+=u:A-=g;let M=Y()+e;qn(A,"red");let P=t+n;a.keepMargin||(P+=m,M-=m),A=Math.floor(A),qn(A,"green"),t=A,l?(M-=u+g,M=Math.max(M,Y())):e+=u+g;let H=a.hideInitially||I<A||I+c<M;n+=c-u;let $=u+e;qn($,"orange"),a.keepMargin&&($+=m),$=Math.ceil($);let pe=g?`calc(-100% - ${g}px)`:"-100%";return f&&M!==ne[i].top&&(s.style.top=`${M}px`),{offset:A,bottom:v,top:M,slide:H,elOffset:I,topOffset:$,translateY:pe,startsFixed:r.startsFixed,firstBar:p,only_show_on_scroll_up:a.only_show_on_scroll_up}}),$e&&ot.forEach(function(r,i){console.log(`Bar: ${i}`,r)}),De()}function De(){if(oe||qe()||zn||document.body.classList.contains("x-body-scroll-disabled"))return;zn=!0;let t=window.scrollY+Y(),e=t-yr,n=e===0?vr:e<0&&window.scrollY!==0;yr=t,vr=n;let o=ne.reduce((i,{offset:s,only_show_on_scroll_up:a,startsFixed:c},u)=>(c?t>=s:t>s)&&(!a||n)?u:i,-1),r=!1;ot.forEach((i,s)=>{let a=i.goal;i.goal=o>=s,a!==i.goal&&(r=!0)}),r&&requestAnimationFrame(Sr),zn=!1}function Sr(){if(oe)return;let t=lc();t?(oe=!0,t(()=>{oe=!1,Sr()})):(oe=!1,window.dispatchEvent(new CustomEvent("cs-sticky-bar-post-transition")),setTimeout(De,0))}function lc(){let t=-1,e=ot.map(n=>{let{goal:o,el:r}=n,i=n.fixedOnce;return{goal:o,fixed:bt(r,"x-bar-fixed")&&i}});if(e.forEach(({goal:n,fixed:o},r)=>{let i=n===o;!i&&t===-1&&(t=r),!i&&r>0&&e[r-1].fixed&&ne[r].slide&&(t=r)}),t!==-1){let n=ot[t],o=n.goal;if(!o&&!bt(n.el,"x-bar-fixed"))return!1;let r=o?uc:fc;return i=>r(ot[t],ne[t],{st:window.scrollY,done:i})}return!1}function uc(t,{top:e,slide:n,elOffset:o,translateY:r,firstBar:i,only_show_on_scroll_up:s},{st:a,done:c}){let{el:u,space:d,content:f,shrinkHeight:p,height:l}=t;t.fixedOnce=!0;let h={top:`${e}px`},m=n||!i&&o+p<a+e||s;if(t.slideEnabled||(m=!1),p&&l!==p){h.height=p;let{paddingTop:w,paddingBottom:T}=getComputedStyle(u);f.style.height=`calc(${p}px - (${w} + ${T}))`,u.style.height=`calc(${p}px - (${w} + ${T}))`}m&&(h.transform=`translate3d(0, ${r}, 0)`);let g=()=>c();if(Object.entries(h).forEach(([w,T])=>{u.style.setProperty(w,T)}),d){d.style.display="";let w=l+"px";w!==d.style.height&&(d.style.height=w)}Rn.forEach(w=>void Mn(u,w)),Hn(u,"x-bar-is-initially-hidden"),wr(u);let v=window.getComputedStyle(u)["transition-duration"];v=v?parseFloat(v.replace("s","")):0,m?(Mn(u,"x-bar-is-visible"),u.style.transform="",v!==0?hr(u,"transitionend",g):c()):c()}function fc({el:t,space:e,props:n,content:o,shrinkHeight:r,slideEnabled:i},{top:s,slide:a,elOffset:c,translateY:u,firstBar:d,only_show_on_scroll_up:f},{st:p,done:l}){let h=parseFloat(n.shrink),m=!1,g=a||!d&&c+r<p+s||f&&c+r<p+s;i||(g=!1);function y(){let T=window.getComputedStyle(t)["transition-duration"];if(T=T?parseFloat(T.replace("s","")):0,T===0){v();return}hr(t,"transitionend",v),setTimeout(v,T*1e3+100)}n.hideInitially&&Mn(t,"x-bar-is-initially-hidden");function v(){m||(m=!0,o.style.height="",t.style.top="",t.style.transform="",t.style.height="",t.style.left="",t.style.width="",Rn.forEach(w=>Hn(t,w)),Hn(t,"x-bar-is-visible"),e&&(e.style.display="none"),l())}g?(t.style.transform=`translate3d(0, ${u}, 0)`,y()):!isNaN(h)&&h<1?(o.style.height="",t.style.height="",y()):v()}function dc(){!$e||ke(".cs-sticky-bar-waypoint-debug").forEach(function(t){t.remove()})}function qn(t,e="red",n="white"){if(!$e)return;let o=`<div class="cs-sticky-bar-waypoint-debug" style="position:absolute;height:1px;width:100%;top:${t}px;border-top:1px solid ${e};z-index:999999"><span style="color: ${n};background-color: ${e};left: 0;position: absolute;top: 0; padding: .5em 1em; transform: translate3d(0,-50%,0);";>${t}</span></div>`,r=document.createElement("div");r.innerHTML=o,document.body.appendChild(r.childNodes[0])}function pc(){let t=0;return ot.forEach(function(e){var n;t+=e.goal&&!((n=e.props)==null?void 0:n.zStack)&&e.props.scrollOffset?e.height:0}),t}F.filter("fixed_top_offset",t=>{let e=pc();return e?Math.max(t,e+Y()):t+Y()});var Dn=()=>{qe(!0)||$n()},_n=()=>{qe(!0),$n()};function hc(){if(typeof window.ResizeObserver=="undefined")return;let t=window.document.body.clientHeight;new ResizeObserver(B(function(n){!n||document.body.classList.contains("x-body-scroll-disabled")||t!==window.document.body.clientHeight&&(t=window.document.body.clientHeight,Dn())},100)).observe(document.body)}S("[data-x-bar]",(t,e)=>{br||(Rn=(bt(document.body,"x-boxed-layout-active")?"x-bar-fixed x-container max width":"x-bar-fixed").split(" "),V(Dn),cc(Dn),ac(De),hc(),br=!0);let{id:n,region:o}=e;if(!bt(t,"x-bar-is-sticky")||o!=="top")return;var{top:r,height:i}=t.getBoundingClientRect();i=Math.round(i);let s=document.querySelector(`.${n}.x-bar-space`);s&&(s.style.height=i+"px");let a={id:n,el:t,props:e,height:i,topOffset:i,startsFixed:bt(t,"x-bar-fixed"),slideEnabled:!!e.slideEnabled,fixedOnced:!1,shrinkHeight:Tr(i,e.shrink),space:s,scrollOffset:e.scrollOffset,content:t.querySelector(".x-bar-content"),visible:gr(t),startingRectTop:r};return zt.push(a),_n(),setTimeout(function(){_n()},1e3),function(){_n(),De()}});function Tr(t,e){return Ar(e)?e*t:t}function Ar(t){return!isNaN(t)&&t>0&&parseFloat(t)!==1}var{listener:mc,oncePassive:gc}=b;S('.x-alert [data-dismiss="alert"]',t=>mc(t,"click",e=>{e.preventDefault();let n=t.parentElement;n.classList.remove("in"),n.classList.remove("x-effect-enter"),gc(n,"transitionend",()=>{if(window.csGlobal&&window.csGlobal.isPreview){n.style.display="none";return}n.remove()})}));var{util:yc}=window.csGlobal.rivet,{addClass:re,removeClass:ie,hasClass:_e}=yc;function Rt(t,e){if(e){if(!t||_e(t,"x-anchor-layered-back"))return;re(t,"x-active")}else ie(t,"x-active")}function Fn(t,e){if(e){if(!t||_e(t,"x-active")||_e(t,"x-currently-active"))return;re(t,"x-currently-active")}else ie(t,"x-currently-active")}function Er(t){setTimeout(()=>{let e=t.closest(".x-menu");e.addEventListener("transitionend",function(n){let o=e.getBoundingClientRect().top;if(o<0&&n.propertyName==="height"){let r=0,i=t.closest(".x-bar-v .x-bar-scroll-inner, .x-off-canvas-content, .x-modal")||window;if(i===window){let s=window.pageYOffset,a=parseInt(window.getComputedStyle(document.documentElement).marginTop),c=parseInt(window.getComputedStyle(e).fontSize);r=Math.max(0,o+s-a-c)}i.scrollTo({top:r,left:0,behavior:"smooth"})}})},0)}function vc(t){var e=t.offsetHeight,n=getComputedStyle(t);return e+=parseInt(n.marginTop)+parseInt(n.marginBottom),e}var Cr=t=>Math.max(t.offsetHeight,Array.from(t.children).reduce((e,n)=>e+vc(n)||0,0)),kr=(t,e)=>{let n=t.closest("[data-x-toggle-layered-root]");n&&(n.style.height=`${e}px`)};function wc(t){kr(t,Cr(t));let e=t.closest(`ul:not([data-x-toggleable="${t.getAttribute("data-x-toggleable")}"])`);ie(e,"x-current-layer"),re(e,"x-prev-layer"),re(t,"x-current-layer"),Er(t)}function xc(t){let e=t.closest(`ul:not([data-x-toggleable="${t.getAttribute("data-x-toggleable")}"])`);!_e(e,"x-prev-layer")||(kr(t,Cr(e)),ie(t,"x-current-layer"),re(e,"x-current-layer"),ie(e,"x-prev-layer"),Er(t))}function Lr(t,e){return e?wc(t):xc(t)}function Or(t,e,n){var o,r,i,s,a=!1,c=!1,u={},d=0,f=0,p={sensitivity:7,interval:100,timeout:0,handleFocus:!1};function l(x,A){return f&&(f=clearTimeout(f)),d=0,c?void 0:n.call(x,A)}function h(x){o=x.clientX,r=x.clientY}function m(x,A){if(f&&(f=clearTimeout(f)),Math.abs(i-o)+Math.abs(s-r)<p.sensitivity)return d=1,c?void 0:e.call(x,A);i=o,s=r,f=setTimeout(function(){m(x,A)},p.interval)}u.options=function(x){var A=x.handleFocus!==p.handleFocus;return p=Object.assign({},p,x),A&&(p.handleFocus?T():C()),u};function g(x){return a=!0,f&&(f=clearTimeout(f)),t.removeEventListener("mousemove",h,!1),d!==1&&(i=x.clientX,s=x.clientY,t.addEventListener("mousemove",h,!1),f=setTimeout(function(){m(t,x)},p.interval)),this}function y(x){return a=!1,f&&(f=clearTimeout(f)),t.removeEventListener("mousemove",h,!1),d===1&&(f=setTimeout(function(){l(t,x)},p.timeout)),this}function v(x){a||(c=!0,e.call(t,x))}function w(x){!a&&c&&(c=!1,n.call(t,x))}function T(){t.addEventListener("focus",v,!1),t.addEventListener("blur",w,!1)}function C(){t.removeEventListener("focus",v,!1),t.removeEventListener("blur",w,!1)}return u.remove=function(){!t||(t.removeEventListener("mouseover",g,!1),t.removeEventListener("mouseout",y,!1),C())},t&&(t.addEventListener("mouseover",g,!1),t.addEventListener("mouseout",y,!1)),u}var{util:bc}=window.csGlobal.rivet,{addClass:Bn,transitionEnd:Ir,removeClass:Nn,getOuterHeight:Pr,makeAlternatingSynchronizer:Sc}=bc,Tc=t=>Sc(e=>{if(!t.classList.contains("x-collapsed")){e();return}t.setAttribute("aria-hidden","false");let n=Pr(t);Nn(t,"x-collapsed"),Bn(t,"x-collapsing"),t.offsetHeight,t.style.height=`${n}px`,Ir(t,()=>{Nn(t,"x-collapsing"),t.style.height="",e()})},e=>{t.setAttribute("aria-hidden","true"),t.style.height=`${Pr(t)}px`,Bn(t,"x-collapsing"),t.offsetHeight,t.style.height="",Ir(t,()=>{Nn(t,"x-collapsing"),Bn(t,"x-collapsed"),e()})},void 0,!t.classList.contains("x-collapsed")),Wn=new WeakMap,Ac=t=>(Wn.has(t)||Wn.set(t,Tc(t)),Wn.get(t));function Mr(t,e){Ac(t)(e)}var{util:Hr}=window.csGlobal.rivet,{listener:Ec,debounce:zr,addClass:Cc,removeClass:kc,hasClass:ut,toggleClass:X,oncePassive:Rr,scrollingDisable:Lc,scrollingEnable:$r}=Hr,Fe=null,Be=t=>document.querySelector(`[data-x-toggleable="${t}"][data-x-toggle]`),Oc=t=>document.querySelector(`[data-x-toggleable="${t}"]:not([data-x-toggle])`),qr=t=>t?t.parentElement.matches(".x-nav-tabs-item")?"classic-tab":t.getAttribute("data-x-toggle"):null,Ic=t=>["tab","classic-tab"].includes(qr(t)),Vn=t=>t&&t.getAttribute("data-x-toggle-group"),Pc=t=>!!document.querySelector(`[data-x-toggle-group="${t||""}"].x-active`),ft=(t,e)=>t&&(t.matches(e)?t:t.closest(e)),Mc=(t,e)=>t&&(t.matches(e)?t:t.querySelector(e)),Hc=t=>ft(t,"[data-x-toggle]"),Dr=t=>ft(t,"[data-x-toggleable]"),j=t=>t&&t.getAttribute("data-x-toggleable"),Ne=t=>t&&t.getAttribute("data-x-toggle-hash"),zc=t=>t&&t.matches(".mce-content-body"),Rc=B(function(){window.dispatchEvent(new Event("resize"))},250),$c=B(function(){window.dispatchEvent(new Event("rvt-scan"))},250);function qc(t,e=""){return document.querySelector(`[data-x-toggleable=${t}]${e}`)}var Dc=t=>{let{marginTop:e,marginBottom:n}=getComputedStyle(t);return t.offsetHeight+parseInt(e)+parseInt(n)},se=()=>window.location.hash.replace("#",""),_r=t=>document.querySelectorAll(`[data-x-toggle-group="${Vn(t)}"]:not([data-x-toggleable="${j(t)}"])`),_c=t=>document.querySelectorAll(`[data-x-toggle-group="${Vn(t)}"].x-active`);Hr.toggle={getOthersInGroup:_r,getActiveInGroup:_c};var Fc=t=>{let e=Hc(t);return[e,j(e)]},Fr=t=>Array.from(document.querySelectorAll("[data-x-toggle-hash]")).filter(e=>Ne(e)===t).map(j),ae=t=>ft(t,"[data-x-toggleable]:not([data-x-toggle])"),Bc=30,We=(t,e)=>{let n=[],o,r=t,i=0;for(;o=r&&ae(r);){if(i>=Bc){console.warn("Broke toggleable ancestry depth limit ",t,n);break}let s=j(o);if(r=Be(s),n.includes(s))break;n.push(s),++i}return e&&n.shift(),n};window.TCOToggleStates||(window.TCOToggleStates=new Map,window.TCOToggleScrollBlocking=new Map);var Nc=!1,dt=window.TCOToggleStates,Gn=window.TCOToggleScrollBlocking,pt=!1;function Wc(){let t=[];for(let[e,n]of dt){let o=Oc(e);n&&Gn.has(e)&&t.push(e),o||dt.delete(e)}t.find(e=>!dt.has(e))&&requestAnimationFrame($r)}window.integrityCheckTimeout||(window.integrityCheckTimeout=null);var Vc=function(){clearTimeout(window.integrityCheckTimeout),window.integrityCheckTimeout=setTimeout(Wc,500)};window.xToggleIntegrityCheck||(window.xToggleIntegrityCheck=Vc);function Gc(t){let e=Be(t);switch(qr(e)){case"collapse":case 1:case"layered":return e.matches(".x-active");case"tab":return Pc(Vn(e));case"classic-tab":return e.parentElement.matches(".active");case"collapse-b":return!e.matches(".collapsed")}return e?e.classList&&e.classList.contains("x-active"):null}function $t(t){return dt.has(t)||dt.set(t,Gc(t)),dt.get(t)}function N({id:t,state:e,_triggeringGroup:n,force:o,hashUpdate:r=!window.csGlobal.isPreview}){let i=$t(t);if(typeof e=="undefined"&&(e=!i),e&&window.xLastToggleable!==t)window.xLastToggleable=t,window.xToggleStack.push(t);else if(!e){let a=window.xToggleStack.indexOf(t);a!==-1&&window.xToggleStack.splice(a,1),window.xLastToggleable===t&&(window.xLastToggleable=window.xToggleStack[window.xToggleStack.length-1])}let s=Be(t);!o&&!n&&(zc(s)||!e&&Ic(s))||(dt.set(t,e),(i!==e||o)&&(Uc(t,e),r&&el(s,e)),n||_r(s).forEach(a=>{N({force:o,id:j(a),state:!1,_triggeringGroup:!0,hashUpdate:r})}))}window.xLastToggleable="";window.xToggleStack=[];window.xToggleGetState=t=>$t(t);window.xToggleGetStateFromNode=t=>$t(j(t));window.xToggleUpdate=(t,e)=>N({id:t,state:e});window.xToggleDelete=t=>dt.delete(t);window.xToggleGetId=j;window.xGetLastToggleable=function(){return window.xLastToggleable};var Br=!1;window.xToggleTempUnlock=()=>{Br=!!pt,pt=!1};window.xToggleTempRelock=()=>{pt=Br};window.xToggleSetLocking=t=>{pt=!!t};window.xToggleHashUpdate=Vr;function Uc(t,e){Array.from(document.querySelectorAll(`[data-x-toggleable="${t}"]`)).forEach(n=>{n.dispatchEvent(new CustomEvent("tco-toggle",{bubbles:!1,detail:{state:e,id:t}}))})}function Nr(t){return Ec(t,"tco-toggle",({currentTarget:e,detail:{state:n,id:o}})=>{var r;if(n||Qc(t),t.hasAttribute("data-x-toggle-overlay")&&(n?((r=document.querySelector(`[data-x-toggleable=${o}][role="dialog"]`))==null?void 0:r.hasAttribute("data-x-disable-body-scroll"))&&(requestAnimationFrame(Lc),Gn.set(o,!0)):n||(Gn.delete(o),requestAnimationFrame($r))),t.hasAttribute("aria-hidden")&&t.setAttribute("aria-hidden",!n),t.hasAttribute("aria-expanded")&&t.setAttribute("aria-expanded",n),t.hasAttribute("aria-selected")&&t.setAttribute("aria-selected",n),t.hasAttribute("data-x-toggle-collapse")?Mr(t,n):t.hasAttribute("data-x-toggle-layered")?Lr(t,n):ut(t,"x-anchor")?Rt(t,n):t.getAttribute("data-x-toggle")==="collapse-b"?X(t,"collapsed",!n):ut(t.parentElement,"x-nav-tabs-item")?X(t.parentElement,"active",n):ut(t,"x-tab-pane")?X(t,"active",n):ut(t,"x-dropdown")?Ve(t,n):X(t,"x-active",n),ut(t,"x-modal")&&Rc(),$c(),t.matches("[data-x-toggle]")){if(X(t.querySelector(".x-toggle"),"x-active",n),Nc)return;Array.from(t.querySelectorAll("[data-x-toggle-anim]")).forEach(i=>{ut(i,"x-running")||Rr(i,"animationiteration",()=>{kc(i,"x-running"),ut(t,"x-active")||i.removeAttribute("style")}),Cc(i,"x-running"),ut(t,"x-active")&&(i.style.animationName=i.getAttribute("data-x-toggle-anim"))})}if(n&&!window.csGlobal.isPreview)if(e.querySelector("[data-x-search][data-x-search-autofocus]")){let i=e.querySelector("[data-x-search][data-x-search-autofocus] input");if(nl(i,350),!pn())return;Rr(e,"transitionend",function(){i.scrollIntoView(!0)})}else{let i=t.querySelector('[tabindex="-1"]');i&&i.focus&&(i.focus(),setTimeout(function(){i.focus()},250))}n?jc(t):Yc(t)})}var Wr=["video","audio"];function Yc(t){let e=t.querySelectorAll(Wr);for(let n=0;n<e.length;++n)e[n].pause()}function jc(t){let e=t.querySelectorAll(Wr);for(let n=0;n<e.length;++n){let o=e[n];o.currentTime=0,o.getAttribute("autoplay")&&o.play()}}function Qc(t){let e=t.querySelectorAll("[data-x-toggleable]")||[];for(let n=0;n<e.length;++n){let o=e[n];N({id:o.getAttribute("data-x-toggleable"),state:!1})}}var Jc=t=>{let e=ae(t);return!!(e&&(e.matches(".x-modal")&&!t.closest(".x-modal-content")||e.matches(".x-off-canvas")&&!t.closest(".x-off-canvas-content")))},Zc=(t,{exclude:e=[]}={})=>{if(pt)return;let n=[...We(t,Jc(t)),...e].filter(o=>!!o);Array.from(document.querySelectorAll("[data-x-toggleable].x-dropdown, [data-x-toggleable].x-off-canvas, [data-x-toggleable].x-modal")).map(o=>o.getAttribute("data-x-toggleable")).filter(o=>!n.includes(o)).forEach(o=>N({id:o,state:!1}))};function Un(){Vr(se())}function Vr(t){Fr(t).forEach(n=>{N({id:n,state:!0})})}var Kc=(t,e,n)=>{if(!t||e.isContentEditable)return!1;if(t.matches("[data-x-toggle-hover]")){if(pt)return!0;if(n)return!1}let o=t.querySelector("[data-x-toggle-nested-trigger]");return o?ft(e,"[data-x-toggle-nested-trigger]")===o:ft(e,"[data-x-toggle]")===t};var Yn=({ignoreHoverToggle:t=!0}={})=>e=>{let n=e.target,[o,r]=Fc(n);Kc(o,n,t)&&(ft(n,"a[href]")&&e.preventDefault(),N({id:r}));let i=!r&&ft(e.target,"[data-x-toggle-close]"),s=i&&j(Dr(i));if(s&&N({id:s}),!s&&n.hasAttribute("data-x-toggle-direct-close")){let p=j(Dr(n));N({id:p})}let a=ft(e.target,"a[href]"),c=a?a.getAttribute("href").replace("#","").trim():"",d=c&&c===se()?Fr(se()):[];if(d.length>0&&d.forEach(f=>{N({id:f,state:!0})}),window.xLastToggleable){if(!qc(window.xLastToggleable,".x-dropdown[data-x-dropdown-direct-close]"))return;Zc(e.target,{exclude:[r,s,...d]})}},q={},Xc=t=>e=>{N({id:t,state:!0})},tl=t=>e=>(q[t].canHoverLeave=!1,N({id:t,state:!1}),()=>{});function Gr(t){let e=j(t),n=Be(e);if(!n)return;let o=t.getAttribute("data-x-hoverintent");o=JSON.parse(o||"{}");let{interval:r=100,timeout:i=100}=o;return q[e]={canHoverLeave:!1,cancelEnter:()=>{},cancelLeave:()=>{},hasHoverToggle:()=>!!document.querySelector(`[data-x-toggleable="${e}"][data-x-toggle-hover]`),onEnter:zr(Xc(e),r),onLeave:zr(tl(e),i)},[D(n,"mouseenter",()=>{q[e].hasHoverToggle()&&(q[e].canHoverLeave=!0,q[e].cancelLeave(),$t(e)||(q[e].cancelEnter=q[e].onEnter()))}),D(n,"mouseleave",()=>{q[e].canHoverLeave&&(pt||(q[e].cancelLeave=q[e].onLeave()),q[e].onEnter.cancel())}),D(t,"mouseenter",()=>{let s=[e,...We(ae(t))];setTimeout(()=>{s.forEach(a=>{q[a]&&q[a].cancelLeave()})})}),D(t,"mouseleave",({toElement:s})=>{[e,...We(ae(t))].forEach(u=>{q[u]&&q[u].canHoverLeave&&(pt||(q[u].cancelLeave=q[u].onLeave()))}),We(ae(s)).forEach(u=>{q[u]&&q[u].cancelLeave()})}),D(n,"touchstart",function(){!q[e].hasHoverToggle()||N({id:e})})]}function Ve(t,e){let o=window.getComputedStyle(t)["transition-duration"];if(o=o?parseFloat(o.replace("s","")):0,Fe&&(Fe(),Fe=null),!o){X(t,"x-active",e),X(t,"x-active-animate",e);return}let r=o*1e3,i=e?"x-active":"x-active-animate",s=e?"x-active-animate":"x-active",a=e?15:r;requestAnimationFrame(function(){X(t,i,e),window.dispatchEvent(new CustomEvent("resize"))});let c=setTimeout(function(){requestAnimationFrame(function(){X(t,s,e)})},a);return Fe=function(){!c||(clearTimeout(c),X(t,"x-active",e),X(t,"x-active-animate",e))}}function Ur(t){if(t.tagName==="BUTTON")return;let e=Yn({ignoreHoverToggle:!1});t.addEventListener("keydown",n=>{n.key==="Enter"&&e(n)})}function Yr(t){let e=function(){let n=Mc(t,".x-current-layer"),o=Array.from(n.children).filter(r=>r.matches("li")).reduce((r,i)=>r+Dc(i),0);t.style.height=`${o}px`};return e(),lt(e)}function el(t,e){let n=Ne(t);if(!n)return;let o=e?n:"";!e&&`#${n}`!==window.location.hash||`#${o}`!==window.location.hash&&(history.pushState(null,null,"#"+o),window.dispatchEvent(new CustomEvent("hashchange")))}function nl(t,e){if(e||(e=100),t){var n=document.createElement("input");n.style.position="fixed",n.style.top=t.offsetTop+7+"px",n.style.left=t.offsetLeft+"px",n.style.height=0,n.style.opacity=0,document.body.appendChild(n),n.focus(),setTimeout(function(){t.focus(),t.click(),document.body.removeChild(n)},e)}}var{addClass:jn,siblings:ol,once:rl,removeClass:Ge,hasClass:ce,listener:le,makeGetComputedStyle:jr,makeGetComputedFloatValues:il}=b,sl={interval:25,timeout:25,sensitivity:9};function Qr(t){ul(t),fl()}var Qn=t=>t?t.getBoundingClientRect():null,al=jr("position"),cl=jr("direction"),ll=il(["paddingLeft","paddingTop","paddingRight","paddingBottom","borderTopWidth","borderBottomWidth"]);function ul(t){t=Object.assign({selectors:[],indicatingSelector:"a",rootElementEvents:!1,transitionTimeout:null,requireClick(){return!1},toggleOnFocus:!0,activate(r){t.indicatingSelector?jn(r.querySelector(t.indicatingSelector),t.activeClass):jn(r,t.activeClass);let i=r.querySelector(t.nestedSelector);if(ce(i,"x-dropdown")){t.transitionTimeout&&t.transitionTimeout(),t.transitionTimeout=Ve(i,!0);return}jn(i,t.activeClass)},deactivate(r){t.indicatingSelector?Ge(r.querySelector(t.indicatingSelector),t.activeClass):Ge(r,t.activeClass);let i=r.querySelector(t.nestedSelector);if(ce(i,"x-dropdown")){t.transitionTimeout&&t.transitionTimeout(),t.transitionTimeout=Ve(i,!1);return}Ge(i,t.activeClass)},isActive(r){return t.indicatingSelector?ce(r.querySelector(t.indicatingSelector),t.activeClass):ce(r,t.activeClass)},deactivateChildren(r,i){Array.from(r.querySelectorAll(t.nestedSelector)).forEach(s=>{!ce(s,t.activeClass)||(Ge(s,t.activeClass),typeof i=="function"&&i(s))})},deactivateChild:null,activeClass:"x-active",nestedSelector:".sub-menu",findSiblings:null,closeSiblings:!0},typeof t=="object"?t:{});function e(r){var i=!1;r._stemAllowFocusIn=!0;let s=r.closest("[data-x-hoverintent]"),a=s&&s.getAttribute("data-x-hoverintent"),c=a?JSON.parse(a):sl,u=t.rootElementEvents?r:r.querySelector(t.indicatingSelector)||r,d=le(u,"mousedown",m),f=le(u,"touch",m),p=[d,f];if(p.push(le(u,"touchstart",()=>{r._stemAllowFocusIn=!1})),t.toggleOnFocus&&(p.push(le(u,"focusin",l)),p.push(le(r,"focusout",h))),!t.requireClick(r)){p.push(Et(u,"touchstart",()=>{i=!0}));let g=Or(r,function(){i||(d(),f(),n(r,!0))},function(){i||n(r,!1)});try{g.options(c)}catch{}p.push(()=>g.remove())}function l(){r._stemAllowFocusIn&&o(r,n(r,!0))}function h(){setTimeout(()=>{r.contains(document.activeElement)||o(r,n(r,!1))},0)}function m(g){g.type==="mousedown"&&rl(g.currentTarget,"click",v=>void v.preventDefault()),g.preventDefault(),g.stopPropagation();let y=n(r);o(r,y),y&&t.closeSiblings&&(typeof t.findSiblings=="function"?t.findSiblings(r):ol(r)).forEach(w=>{n(w,!1),o(w,!1)})}return p}t.selectors.forEach(r=>{S(r,e)});function n(r,i){return r._stemAllowFocusIn=!0,typeof i=="undefined"&&(i=!t.isActive(r)),i?(typeof t.beforeActivate=="function"&&t.beforeActivate(r),t.activate(r),typeof t.afterActivate=="function"&&t.afterActivate(r)):(typeof t.beforeDeactivate=="function"&&t.beforeDeactivate(r),t.deactivate(r),typeof t.afterDeactivate=="function"&&t.afterDeactivate(r)),t.isActive(r)}function o(r,i){typeof t.deactivateChildren=="function"&&(clearTimeout(r._stemCloseChildrenTimer),i||(r._stemCloseChildrenTimer=setTimeout(function(){t.deactivateChildren(r,t.deactivateChild)},1e3)))}}function fl(){function t(l){var h=[];function m(y,v){if(!v&&y.hasAttribute("data-x-stem")){h.push(y),t(y);return}if(y.children)for(var w=0;w<y.children.length;w++)m(y.children[w])}m(l,!0);let g=function(){r(l),setTimeout(()=>{h.forEach(n)},0)};l.addEventListener("x-stem:update",g,!1)}let e=[];function n(l){l&&l.dispatchEvent(new CustomEvent("x-stem:update"))}S("[data-x-stem-menu-top], [data-x-stem-root]",l=>{requestAnimationFrame(()=>{t(l),n(l),e.push(l)})});let o=B(function(){e.forEach(n)},50);window.addEventListener("tco-toggle",({detail:{state:l}={}})=>{l&&o()},W),window.addEventListener("resize",o,W),window.addEventListener("scroll",o,W),window.addEventListener("cs-sticky-bar-post-transition",o,W),V(o);function r(l){if(!l)return;let h=p(l);if(!h)return;let m=Qn(h),g=a(l),y=g==="data-x-stem-root"?Qn(document.querySelector(`[data-x-toggleable="${l.getAttribute("data-x-toggleable")}"][data-x-toggle]`)):m;if(!y)return;let v=l.getAttribute("data-x-stem-force");if(v){let H=v.indexOf("d")!==-1,$=v.indexOf("r")!==-1;l.setAttribute("data-x-stem",v),g==="data-x-stem-root"&&i(l,m,y,$,H),g||d(l,$,H);return}let w=Qn(l),{top:T,left:C,bottom:x,right:A}=s(w,y,g),{x:z,y:I}=c(l,g),M=u(z,window.innerWidth-A,C),P=u(I,window.innerHeight-x,T);l.setAttribute("data-x-stem",(P?"d":"u")+(M?"r":"l")),g==="data-x-stem-root"&&i(l,m,y,M,P),g||d(l,M,P)}function i(l,h,{top:m,left:g,bottom:y,right:v,height:w,width:T},C,x){let A=l.getAttribute("data-x-stem-root")||l.getAttribute("data-x-stem-force")||"",z=A.indexOf("h")!==-1,I=A.indexOf("c")!==-1;if(C&&!I){let P=g-h.left;l.style.left=`${z?P+T:P}px`,l.style.right="auto"}else if(I){let P=l.getBoundingClientRect(),H=g-P.width/2+T/2;H=Math.max(0,H);let $=window.innerWidth-P.width;H=Math.min(H,$),l.style.left=`${H}px`,l.style.right="auto"}else{let P=h.right-v;l.style.right=`${z?P+T:P}px`,l.style.left="auto"}let M=window.getComputedStyle(l);if(x){let P=m-h.top,H=z?P:P+w;M.position==="fixed"&&(H+=h.top),l.style.top=`${H}px`,l.style.bottom="auto"}else{let P=h.bottom-y,H=z?P:P+w;M.position==="fixed"&&(H+=h.bottom),l.style.bottom=`${H}px`,l.style.top="auto"}}function s({height:l,width:h},m,g){let y={top:m.top-l,right:m.left+m.width+h,bottom:m.top+l,left:m.left-h};return g&&(y.right+=m.width,y.bottom+=m.height),y}function a(l){return l.hasAttribute("data-x-stem-menu-top")?"data-x-stem-menu-top":l.hasAttribute("data-x-stem-root")?"data-x-stem-root":null}function c(l,h){if(h){var m=cl(l)==="ltr",g=l.getAttribute(h).indexOf("r")!==-1;return{y:!0,x:!!(m^g)}}let y=f(l);return{y:y.indexOf("d")!==-1,x:y.indexOf("r")!==-1}}function u(l,h,m){if(l&&h<0){if(h<m)return!1}else if(m<0&&m<h)return!0;return l}function d(l,h,m){let{paddingLeft:g,paddingTop:y,paddingRight:v,paddingBottom:w,borderTopWidth:T,borderBottomWidth:C}=ll(l);if(h?(l.style.marginLeft=g!==0?`${g}px`:null,l.style.marginRight=null):(l.style.marginRight=v!==0?`${v}px`:null,l.style.marginLeft=null),m){let x=y+T;l.style.marginTop=x!==0?`${x*-1}px`:null,l.style.marginBottom=null}else{let x=w+C;l.style.marginBottom=x!==0?`${(w+C)*-1}px`:null,l.style.marginTop=null}}function f(l){return l.parentElement===null?"tr":l.parentElement.hasAttribute("data-x-stem-force")?l.parentElement.getAttribute("data-x-stem-force"):l.parentElement.hasAttribute("data-x-stem")?l.parentElement.getAttribute("data-x-stem"):f(l.parentElement)}function p(l){if(l.parentElement===null)return document.body;let h=al(l.parentElement);return h==="relative"||h==="absolute"?l.parentElement:p(l.parentElement)}}var{onLoad:Jr,addClass:Qd,hasClass:Zr,removeClass:Jd,debounce:Kr,animateToElement:Zd,listener:Xr,listenerPassive:ti,onScroll:dl,onResize:pl,PASSIVE_ARGS:hl}=b,ei=t=>t.match(/#[a-zA-Z]/);Qr({selectors:[".x-menu-inline .menu-item-has-children",".x-menu-dropdown .menu-item-has-children"],beforeActivate:t=>Rt(t.querySelector("a"),!0),beforeDeactivate:t=>Rt(t.querySelector("a"),!1),deactivateChild:t=>Rt(t.querySelector("a"),!1)});Jr(()=>{let{selector:t,duration:e,easing:n,initialMove:o,before:r,after:i,allowScroll:s}=F.apply("hash_scrolling_config",{selector:window.csJsData.linkSelector,easing:"ease-out",duration:500,initialMove:!0,before:f=>F.apply("hash_scrolling_before",f),after:f=>F.apply("hash_scrolling_before",f),allowScroll:(...f)=>F.apply("hash_scrolling_allow",!0,...f)});function a(f){try{return document.querySelector(f)}catch{}return null}function c(){let f=!1;return ti(document.body,"touchstart",()=>{f=!1}),ti(document.body,"touchmove",()=>{f=!0}),()=>f}let u=(f,p=!0,l)=>{window.csGlobal.scrollTo(f,{duration:p?e:0,easing:n},l)},d=c();o&&window.location.hash&&(u(a(window.location.hash),!1),setTimeout(()=>u(a(window.location.hash),!1),300)),Xr(document.body,"click",f=>{let p=f.target.matches(t)?f.target:f.target.closest(t);if(!p||f.tcoAbortScroll)return;let l=p.getAttribute("href"),h=l.split("#");if(!h[1])return;let m=h[0].replace(location.origin,""),g=`#${h[1]}`;if(d()||m&&m!==location.pathname||!ei(l)||!s(p,f,g))return;let y=a(g);!y||(window.history.pushState&&(window.history.pushState(null,null,g),window.dispatchEvent(new CustomEvent("tcoHistoryPush"))),f.preventDefault(),r({anchor:p,target:y,hash:g}),u(y,!0,()=>void i({anchor:p,target:y,hash:g})))})});Jr(()=>{let t=!1,e,n=new Map,o=new Map,r=[],i=Kr(()=>{var f,p;let d=[];for(let[l,h]of o){let m=((p=(f=h.getBoundingClientRect())==null?void 0:f.top)!=null?p:0)+window.scrollY;d.push({y:m,href:l})}r=d.sort((l,h)=>h.y-l.y)},100),s=d=>{if(e!==d){for(let[f,p]of n)if(f===d)for(let l of p)Zr(l,"x-anchor")&&Fn(l,!0),F.apply("scrollspy_activate",l);else for(let l of p)Zr(l,"x-anchor")&&Fn(l,!1),F.apply("scrollspy_deactivate",l);e=d}};S(window.csJsData.linkSelector,d=>{let f=F.apply("scrollspy_ignore_patterns",["#/","#wp-toolbar"]),p=`#${d.getAttribute("href").trim().split("#").pop()}`;if(!(!ei(p)||f.find(l=>l.match(p))))return n.has(p)||n.set(p,new Set),n.get(p).add(d),[S(p,l=>(o.has(p)||o.set(p,l),i(),()=>{o.has(p)&&o.delete(p)})),()=>{var l;(l=n.get(p))==null||l.delete(d)},Xr(d,"click",()=>{t=!0,s(p)},{capture:!0})]}),pl(i);let a=()=>{var f,p;let d=window.scrollY+ee()+1;return Math.ceil(window.innerHeight+window.scrollY)>=Math.floor(document.body.offsetHeight)?(p=(f=r.map((l,h)=>({...l,i:h})).sort((l,h)=>h.y-d-(l.y-d))[0])==null?void 0:f.i)!=null?p:-1:r.findIndex(({y:l})=>d>=l)},c=()=>{t=!1;let d=a();s(d===-1?"":r[d].href)},u=Kr(c,250);u(),window.addEventListener("hashchange",function(d){s(window.location.hash)},hl),dl(()=>{r.length<=0||(t?u():c())})});var{transitionEnd:ml,addClass:Jn,removeClass:Zn,farthest:ni,getCachedJsonAttribute:oi,oncePassive:Xd,listenerPassive:gl,evaluateCondition:yl,expandElementValue:ri,makeAlternatingSynchronizer:Kn,makeElementWeakMap:Xn,getDurations:vl,lockMotion:ii,forceOpaque:wl,runAnimation:si,elementMeta:xl,waypoint:ai,parseTime:bl}=b,St="x-effect-enter",to="x-effect-entering",rt="x-effect-exit",eo="x-effect-exiting",Ue="x-effect-animated",Ye="x-effect-holding",Sl="x-effect-opacity";S("[data-x-single-anim]",(t,e)=>{if(!t.classList.contains("x-always-active"))return gl(t.closest(".x-anchor, .x-text"),"mouseenter",()=>void si(t,{animation:e,remove:!0}))});var ci=Xn({scrollEffects:!1}),Tl=()=>{let{get:t,set:e,has:n}=Xn();return o=>(n(o)||e(o,{effects:[],particles:[]}),t(o))},je=Tl(),li=Xn(0),ui=t=>{li.set(t,vl(t))},fi=(t,e="transitionTime")=>{var n,o;return(o=(n=li.get(t))==null?void 0:n[e])!=null?o:0},di=(t,{from:e,to:n,trans:o,record:r=!1},i=()=>{})=>(t.classList.remove(e),t.classList.add(o),t.classList.add(n),r&&ui(t),t.csAnimationEndingTimeout&&clearTimeout(t.csAnimationEndingTimeout),()=>{t.csAnimationEndingTimeout=setTimeout(function(){t.classList.remove(o)},250),i()}),pi=(t,e,n=()=>{})=>si(t,{className:Ue,animation:e,remove:!0,timeout:!0},n),Al=(t,e)=>{t.classList.contains(rt)||(t.classList.contains(Ue)||t.classList.add(Ue),t.style.setProperty("animation-duration","0ms","important"),t.style.setProperty("animation-name",e))},hi=(t,e,n)=>ml(t,di(t,e,n)),mi=(t,e,n,o)=>pi(t,e,di(t,n,o)),El=(t,e,n)=>mi(t,e,{from:rt,to:St,trans:to,record:!0},n),gi=(t,e,n)=>mi(t,e,{from:St,to:rt,trans:eo},n),Cl=(t,e)=>hi(t,{from:rt,to:St,trans:to,record:!0},e),yi=(t,e)=>hi(t,{from:St,to:rt,trans:eo},e),kl=(t,e,n)=>{Jn(t,Ye),setTimeout(wl(t,{after:()=>{Zn(t,Ye),n()}}),e)},vi=(t,e,n)=>{let o=ii(t,e==="fade"?"opacity":null);t.style.setProperty("opacity",e==="fade"?0:1,"important");let r=fi(t);Jn(t,Ye),setTimeout(()=>{Zn(t,St),Zn(t,Ye),Jn(t,rt),t.style.removeProperty("opacity"),o(),n()},r)};function Ll(t,e,n){let o,r=0,i,s,{durationBase:a,animationAlt:c}=oi(t,"data-x-effect"),u=bl(a),d=()=>{window.removeEventListener("mousemove",g),c?n(()=>{f()}):(n(),u?setTimeout(()=>{f()},u):f())},f=()=>{t.addEventListener("mouseenter",h)},p=()=>{let{top:v,left:w,width:T,height:C}=t.getBoundingClientRect();o.push({top:v+window.scrollY,left:w+window.scrollX,width:T,height:C})},l=v=>{r=0,o=[],p(),e(),u?(clearTimeout(i),i=setTimeout(()=>{p()},u)):p()},h=v=>{clearTimeout(s),window.addEventListener("mousemove",g),l(v)},m=v=>{r++,r>10&&o.length===o.filter(T=>y(T,v.clientX,v.clientY,window.scrollX,window.scrollY)).length&&d()},g=v=>{m(v),clearTimeout(s),s=setTimeout(()=>{m(v)},300)},y=({top:v,left:w,height:T,width:C},x,A,z,I)=>{let M=v-I,P=w-z,H=x>P&&x<P+C,$=A>M&&A<M+T;return!H||!$};f()}S("[data-x-effect-provider]",(t,e="")=>{e.split(" ").filter(o=>!ni(t,`[data-x-effect-provider*="${o}"]`)).length>0&&no(t)});function no(t){let e=je(t);e.registered||Ll(t,()=>{let{registered:n,...o}=je(t);Object.keys(o).forEach(r=>{o[r].forEach(({setup:i})=>{i&&i()})})},()=>{let{registered:n,...o}=je(t);Object.keys(o).forEach(r=>{o[r].forEach(({teardown:i})=>{i&&i()})})}),e.registered=!0}function wi(t,e,n=()=>{},o=()=>{},r=!0){let i=ni(e,`[data-x-effect-provider*="${t}"]`),s=r?i||e:i;return s?(je(s)[t].push({el:e,setup:n,teardown:o}),e===s):!1}S(".x-anchor",t=>{wi("particles",t)&&no(t)});S("[data-x-effect]",(t,e)=>{try{return wi("effects",t,()=>{e.animationAlt&&pi(t,e.animationAlt)},()=>{},!t.matches("x-anchor"))&&no(t),$l(t,e)}catch(n){console.warn(n)}},1e3);var Ol=(t,e)=>Kn(n=>Cl(t,n),n=>e==="transform"?yi(t,n):vi(t,e,n)),Il=(t,e,{animationEnter:n,animationExit:o})=>Kn(r=>El(t,n,r),r=>e==="animation"?gi(t,o,r):vi(t,e,r)),Pl=(t,e,n)=>Kn(o=>{if(ui(t),["transform","animation"].includes(e)){e==="animation"&&(t.classList.remove(Ue),t.style.setProperty("opacity",0,"important"),t.style.removeProperty("animation-name"),t.offsetHeight,t.style.removeProperty("opacity"));let r=ii(t,"opacity");t.classList.remove(rt),r()}o()},o=>{switch(e){case"none":return kl(t,fi(t),o);case"transform":return yi(t,o);case"animation":return gi(t,n.animationExit,o);default:o()}}),xi=(t,e,n)=>{let o=oi(t,"data-x-effect");if(o.scroll){let r=a=>a==="effect"?o.animationEnter&&o.animationExit?"animation":"transform":a;e!=="effect"&&n!=="effect"&&(t.classList.add("x-no-at"),t.classList.remove("x-effect-exit"),setTimeout(()=>{t.classList.remove("x-no-at")}));let i=r(e),s=r(n);switch(s==="animation"&&Al(t,o.animationExit),e==="effect"&&["fade","none"].includes(n)&&t.classList.add(Sl),i){case"animation":return Il(t,r(n),o);case"transform":return Ol(t,s,o);case"fade":return Pl(t,s,o)}}return!1};nt("effects",(t,{key:e,condition:n,enter:o,exit:r})=>{ci.set(t,{scrollEffects:"managed"});let i=xi(t,ri(t,o),ri(t,r));return i?s=>void i(yl(t,n,s,e)):()=>{}});var Ml=(t,{behaviorScroll:e})=>{let n=xi(t,"effect","effect"),o=!1;return r=>{if(ql())return;let[i,s]=r.split(":");e==="reset"&&i==="exit"&&s==="down"||e==="fire-once"&&o||(i==="enter"&&(o=!0),n(i==="enter"))}},Hl=t=>{let e=parseInt(t);return t.includes("px")?()=>e:()=>window.innerHeight*e/100},zl=t=>{let e=parseInt(t);return t.includes("px")?()=>window.innerHeight-e:()=>window.innerHeight-window.innerHeight*(parseInt(e)/100)};function Rl(t,e){let n,o=()=>{},r=()=>{let{effectRivet:i}=xl.get(e);i?o=te([[t,...i]]):setTimeout(r,10)};return r(),()=>{clearTimeout(n),o()}}function $l(t,e){let n=t.closest("[data-x-slide], [data-x-slide-goto]");if(n&&t!==n)return Rl(t,n);if(!e.scroll||ci.get(t).scrollEffects==="managed")return;if(window.csGlobal.isPreview&&t.classList.add(rt),e.forceScrollEffect){t.classList.remove(St),t.classList.remove(to),t.classList.remove(rt),t.classList.remove(eo),e.forceScrollEffect==="in"&&t.classList.add(St),e.forceScrollEffect==="out"&&t.classList.add(rt);return}let o=Ml(t,e),{offsetTop:r="10%",offsetBottom:i="10%"}=e;ai(t,s=>void o(`${s==="up"?"enter":"exit"}:${s}`),Hl(r),!1),ai(t,s=>void o(`${s!=="up"?"enter":"exit"}:${s}`),zl(i),!1)}function ql(){return document.body.classList.contains("tco-disable-effects")}var{defer:Dl,addClass:bi,toggleClass:_l,removeClass:Fl,listenerPassive:qt}=b;S("[data-x-search]",function(t){let e=t.querySelector("input"),n=()=>Dl(()=>e.focus()),o=()=>_l(t,"x-search-has-content",!!e.value);return[qt(e,"input",o),qt(t,"mousedown",()=>{bi(t,"x-search-focused"),n()}),qt(t,"focusin",()=>void bi(t,"x-search-focused")),qt(t,"focusout",()=>void Fl(t,"x-search-focused")),qt(t.querySelector("[data-x-search-clear]"),"click",()=>{e.value="",e.focus(),o()}),qt(t.querySelector("[data-x-search-submit]"),"click",()=>{window.csGlobal.isPreview||t.submit()})]});S("[data-x-element-bg-layer]",(t,{parallaxDir:e="v",parallaxRev:n=!1,parallaxSize:o=""})=>{let r=t.closest(".x-bg"),i=e==="h";t.style.opacity="1",i?(n||(t.style.left="auto",t.style.right="0"),t.style.width=o):(n||(t.style.top="auto",t.style.bottom="0"),t.style.height=o);let s=!1;function a(){if(s)return;s=!0;let{width:u,height:d,top:f,bottom:p}=r.getBoundingClientRect();if(f<=window.innerHeight&&p>=0){let{width:l,height:h}=t.getBoundingClientRect(),m=n?-1:1,g=i?l-u:h-d,y=1-p/(window.innerHeight+d),v=`${parseInt(y*g*m,10)}px`,w=i?`translate3d(${v}, 0, 0)`:`translate3d(0, ${v}, 0)`;t.style.transform=w}s=!1}function c(){requestAnimationFrame(a)}return[un(c),lt(c),V(c)]});V(function(){S("[data-x-scroll-link]",function(t,e){let n=document.querySelector(e);return D(t,"wheel",function(o){n.scrollTop+=o.deltaY})})});var{addClass:Bl,removeClass:Si,hasClass:Nl,listenerPassive:ue}=b;function oo(t,e){(e!=null?e:!Nl(t,"is-active"))?(Si(t,"has-not-flipped"),Bl(t,"is-active")):Si(t,"is-active")}var Qe=!1;S("[data-x-element-card]",t=>[ue(t,"touchstart",()=>{Qe=!0}),ue(t,"click",({target:e})=>{t.contains(e.closest("a"))||oo(t)}),ue(t,"pointerenter",()=>{setTimeout(function(){Qe||oo(t,!0)},15)}),ue(t,"pointerleave",()=>{Qe||oo(t,!1)}),ue(t,"touchend",()=>{setTimeout(function(){Qe=!1},100)})]);var{makeRafLoop:Wl}=b;function Vl(t,e){let n=`${t}`;for(;n.length<e;)n=`0${n}`;return n}function Gl(){let t=new WeakMap;return function(e,n){t.has(e)||t.set(e,e.innerHTML),n!==t.get(e)&&(e.innerHTML=n,t.set(e,n))}}function Ti({el:t,end:e,serverTimezone:n,leadingZeros:o=!0,hideEmpty:r=!0,loadingClass:i="is-loading",completeClass:s="is-complete",digitClass:a="x-countdown-digit",completeMessageTag:c="div",completeMessageContent:u="",completeMessageClass:d="x-countdown-complete",hideOnComplete:f=!1,selectors:p={days:"[data-x-countdown-d]",hours:"[data-x-countdown-h]",minutes:"[data-x-countdown-m]",seconds:"[data-x-countdown-s]",daysLabel:"[data-x-countdown-label-d]",hoursLabel:"[data-x-countdown-label-h]",minutesLabel:"[data-x-countdown-label-m]",secondsLabel:"[data-x-countdown-label-s]",parent:"[data-x-countdown-unit]",aria:"[data-x-countdown-aria]"},singularLabels:l={d:"Day",h:"Hour",m:"Minute",s:"Second"},pluralLabels:h={d:"Days",h:"Hours",m:"Minutes",s:"Seconds"},ariaLabel:m="Countdown ends in {{d}} days, {{h}} hours, and {{m}} minutes."}={}){if(!t)return;let g={days:t.querySelector(p.days),hours:t.querySelector(p.hours),minutes:t.querySelector(p.minutes),seconds:t.querySelector(p.seconds)},{days:y,hours:v,minutes:w,seconds:T}=g,C={d:t.querySelector(p.daysLabel),h:t.querySelector(p.hoursLabel),m:t.querySelector(p.minutesLabel),s:t.querySelector(p.secondsLabel)},x=new Date(e).getTime(),z=(new Date().getTimezoneOffset()/60-n)*1e3*60*60,I=Gl(),M=O=>{let R=Math.abs(O),_=parseInt(R/86400);R%=86400;let it=parseInt(R/3600);R%=3600;let Tt=parseInt(R/60);R%=60;let po=parseInt(R);return y||(it+=_*24),v||(Tt+=it*60),w||(po+=Tt*60),{diffDays:_,diffHours:it,diffMinutes:Tt,diffSeconds:po}},P=()=>{if(Object.keys(g).forEach(Q),f){t.style.display="none",I(t,"");return}if(!u)return;let O=document.createElement(c);O.innerHTML=u,d&&O.classList.add(d),t.append(O),t.classList.add(s)},H=O=>(o?Vl(O,2):O.toString()).split("").map(_=>`<span class="${a}">${_}</span>`).join(""),$=(O,R)=>{if(!O||!C[O])return;let _=C[O];I(_,(R?l:h)[O])},pe=({diffDays:O,diffHours:R,diffMinutes:_,diffSeconds:it})=>{y&&(I(y,H(O)),$("d",O===1)),v&&(I(v,H(R)),$("h",R===1)),w&&(I(w,H(_)),$("m",_===1)),T&&(I(T,H(it)),$("s",it===1))},Z=({diffDays:O,diffHours:R,diffMinutes:_,diffSeconds:it})=>{let Tt=t.querySelector(p.aria);Tt&&I(Tt,m.replace(/{{d}}/g,O).replace(/{{h}}/g,R).replace(/{{m}}/g,_).replace(/{{s}}/g,it))},Q=O=>{if(!g[O])return;let R=g[O].closest(p.parent);R&&(R.remove(),g[O]=null)},zi=({diffDays:O,diffHours:R,diffMinutes:_})=>{O===0&&Q("days"),O===0&&R===0&&Q("hours"),O===0&&R===0&&_===0&&Q("minutes")},Ri=z+new Date().getTime();return Wl(O=>{let R=Ri+O;if(R>x)return P(),!1;let _=M((R-x)/1e3);r&&zi(_),pe(_),Z(_),O===0&&t.classList.remove(i)})}S("[data-x-element-countdown]",(t,e={})=>Ti({el:t,...e}));var{waypoint:Ul,tween:Yl,getPrecisionLength:jl,getPrecisionLengthWithCommas:Ql,round:Jl}=b,Zl=",",Ai=".",Kl=/(-)?(\d+)(\.\d+)?/;function Xl({el:t,from:e,to:n,commaSeparatedDecimal:o=!1,...r}){let i=typeof e=="undefined"?t.textContent:e,s=typeof n=="undefined"?t.textContent:n,a=o?Ai:Zl,c=s.toString().includes(a)||i.toString().includes(a),u=o?Ql:jl,d=Math.max(u(s),u(i)),f=h=>{if(!h)return console.warn("Input invalid",h),"";let[,m="",g="",y=""]=h.match(Kl),v=g.split("").reverse(),w=[];for(;v.length;)w.push(v.splice(0,3).reverse().join(""));return`${m}${w.reverse().join(a)}${y}`},p=Ei(i,a),l=Ei(s,a);Yl(p,{...r,update:h=>{let m=Jl(h,Math.pow(10,d)).toFixed(d),g=c?f(m):m;t.textContent=o?g.replace(/\.(\d+)$/,",$1"):g}})(l)}function Ei(t,e){let n=0;return e===Ai&&(n=t.split(",")||[],n=n[1]||0,n&&n.length&&(n=n/Math.pow(10,n.length))),parseFloat(t.replace(new RegExp("\\"+e,"g"),""))+n}S("[data-x-element-counter]",(t,{to:e,speed:n,selector:o=".x-counter-number",commaSeparatedDecimal:r})=>Ul(t,()=>void Xl({el:t.querySelector(o),to:e,commaSeparatedDecimal:r,duration:n}),"85%"));function Ci(t,e={}){try{return JSON.parse(t)}catch{}return e}var{intersect:tu,hasClass:ct,addClass:eu,removeClass:ro,unwrapHtmlTemplate:nu,dispatch:ki,listener:Je,onResize:ou,elementIsVisibleInViewport:ru}=b,iu=["playpause","progress"],su=["playpause","current","progress","duration","tracks","volume","fullscreen"];S("[data-x-element-mejs]",(t,{poster:e,options:n={}})=>{let o=ct(t,"bg")||ct(t,"x-video-bg"),r=ct(t,"vimeo")||ct(t,"youtube"),i=t.getAttribute("data-x-video-options")||n;i=typeof i=="string"?Ci(i):i||{};let s=[];if(o&&(e&&(eu(t,"poster"),t.style.backgroundImage=`url(${e})`,setTimeout(()=>void ro(t,"transparent"),500)),nu(t.querySelector('script[type="text/template"]')),s.push(Je(t,"xmejs-start",()=>{ro(t.querySelector(".transparent"),"transparent"),ro(t,"transparent")}))),!window.mejs)return;let a=t.querySelector(".x-mejs");if(!a||ct(a.parentElement,"mejs-mediaelement"))return;let c=l=>{console.warn("MEJS media error.",l),l.stopPropagation()},u=ct(a,"advanced-controls")?su:iu;u=window.csGlobal.csHooks.apply("cs_mejs_video_features",u,t);let d=window.csGlobal.csHooks.apply("cs_mejs_video_player_args",{pluginPath:window._wpmejsSettings.pluginPath,startVolume:1,features:o?[]:u,audioWidth:"100%",audioHeight:32,audioVolume:"vertical",videoWidth:"100%",videoHeight:"100%",videoVolume:"vertical",pauseOtherPlayers:!1,alwaysShowControls:!0,hideVolumeOnTouchDevices:!1,setDimensions:!1,stretching:"responsive",autoRewind:!1,success:f,error(l){c(l)}});try{window.jQuery(a).mediaelementplayer(d)}catch(l){c(l)}function f(l,h,m){let g=!0,y=!0;ct(t,"autoplay")&&(!i.pause_out_of_view||ru(t))&&(h.setAttribute("autoplay",!0),setTimeout(()=>{h.play()},100));let v=()=>{h.attributes.hasOwnProperty("autoplay")&&g&&(l.play(),g=!1),h.attributes.hasOwnProperty("muted")&&y&&(l.setMuted(!0),y=!1),l.removeEventListener("canplay",v)};l.addEventListener("canplay",v);let w=m.controls[0].querySelector(".mejs-volume-button");l.addEventListener("volumechange",()=>l.setVolume(ct(w,"mejs-mute")?1:0)),l.addEventListener("ended",()=>{h.attributes.hasOwnProperty("loop")&&l.play()}),o||l.addEventListener("playing",()=>{Object.keys(window.mejs.players).filter(T=>T!==m.id&&!window.mejs.players[T].xIsVideoBG).map(T=>window.mejs.players[T]).forEach(T=>T.pause())}),m.isVideo===!0&&(m.xIsVideoBG=o,p(l,h,m))}function p(l,h,{container:m,controls:g}){if(l.addEventListener("timeupdate",function v(){ki(t,"xmejs-start"),l.removeEventListener("timeupdate",v)}),Je(m[0],"fullscreenchange",()=>{document.fullscreenElement||l.removeAttribute("style")}),r&&s.push(Je(t,"xmejs-start",()=>{var v;(v=t.querySelector("video.x-mejs"))==null||v.removeAttribute("poster")})),o)l.addEventListener("playing",()=>{l.setMuted(!0),ki(t,"xmejs-bgvideoready")}),s.push(Je(t,"xmejs-bgvideoready",y)),s.push(ou(y));else{let v=()=>g.stop().animate({opacity:1},150),w=()=>g.stop().animate({opacity:0},150);l.addEventListener("playing",()=>m.on("mouseenter",v).on("mouseleave",w)),l.addEventListener("pause",()=>{m.off("mouseenter mouseleave"),v()})}i.pause_out_of_view&&s.push(au(t,l));function y(){let v=t.querySelector(r?".me-plugin":"video"),w=h.videoWidth,T=h.videoHeight,C=r||w===0?1280:w,x=r||T===0?720:T,A=t.offsetWidth||0,z=t.offsetHeight||0,I=A/C,M=z/x,P=I>M?I:M,H=Math.ceil(P*C+20),$=Math.ceil(P*x+20),pe=Math.ceil((H-A)/2),Z=Math.ceil(($-z)/2);v.style.width=`${H}px`,v.style.height=`${$}px`}}return s});function au(t,e){let n=ct(t,"autoplay");return tu(t,function(o){if(o.isIntersecting){n&&e.play();return}e.pause()})}var{waypoint:cu}=b;S("[data-x-element-statbar]",(t,{triggerOffset:e}={})=>{cu(t,()=>{Array.from(t.querySelectorAll(".x-statbar-bar, .x-statbar-label")).forEach(n=>{n.classList.add("x-active")})},e)});var{listener:mp,onLoad:lu,onResize:uu,getOuterHeight:fu}=b;S("[data-x-element-tabs]",(t,{equalPanelHeight:e})=>{if(!e)return;let n=Array.from(t.querySelectorAll(".x-tabs-panels")),o=()=>{let r=n.reduce((i,s)=>Math.max(i,fu(s)),0);n.forEach(i=>{i.style.height=`${r}px`})};return o(),[lu(o),uu(o)]});S("script[data-cs-late-style]",function(t){let e=document.createElement("style");e.setAttribute("id",`cs-late-css-${t.getAttribute("data-cs-late-style")}`),e.appendChild(window.document.createTextNode(t.textContent)),window.document.head.appendChild(e),t.remove()});var{listener:Li,PASSIVE_ARGS:du}=b;S("[data-x-toggleable]",t=>Nr(t));var io=!1,Oi=!1;document.addEventListener("readystatechange",()=>{document.readyState==="complete"&&!Oi&&(Oi=!0,window.document.body.addEventListener("click",Yn()),S("[data-x-toggleable]",t=>{let e=j(t),n=Ne(t);($t(e)||n&&n===se())&&(window.csGlobal.isPreview&&(io=!0,t.setAttribute("data-x-disable-animation",!0)),N({id:e,state:!0,force:!0,hashUpdate:!1}),io&&(io=!1,setTimeout(()=>{t.removeAttribute("data-x-disable-animation")},60)))}))},du);S("[data-x-toggleable]:not([data-x-toggle])",Gr);S("[data-x-toggle]",Ur);V(function(){let t=[];S("[data-x-esc-close]",function(e){let n=j(e);return n||console.warn("No toggle id setup for element, but using data-x-esc-close",e),t.push(n),function(){let o=t.indexOf(n);o!==-1&&t.splice(o,1)}}),D(window,"keyup",function(e){if(e.key!=="Escape")return;let n=window.xGetLastToggleable();!n||!window.xToggleGetState(n)||!t.includes(n)||N({id:n,state:!1})})});S("[data-x-toggle-layered-root]",Yr);F.filter("hash_scrolling_allow",(t,e,n)=>n.target.hasAttribute("data-x-toggle-nested-trigger")||n.target.hasAttribute("data-x-skip-scroll")?!1:t);F.action("hash_scrolling_before",({anchor:t})=>{let e=t.closest(".x-modal.x-active, .x-off-canvas.x-active");e&&!(t.hasAttribute("data-x-toggleable")&&!t.querySelector("[data-x-toggle-nested-trigger]"))&&N({id:e.getAttribute("data-x-toggleable"),state:!1})});G("ontoggleclose",(t,e,n)=>Li(n.closest("[data-x-toggleable]"),"tco-toggle",o=>{o.detail.state&&t()}),{defaultOption:"throttle"});G("ontoggleopen",(t,e,n)=>Li(n.closest("[data-x-toggleable]"),"tco-toggle",o=>{o.detail.state||t()}),{defaultOption:"throttle"});window.addEventListener("tcoHistoryPush",Un,!1);window.addEventListener("hashchange",Un,!1);var{onScroll:pu,onResize:Ii,addClass:so,removeClass:ao,toggleClass:hu,onLoad:co,tween:Pi,getOuterHeight:lo,scrollOffset:uo,listener:ht,oncePassive:Mi,getCachedJsonAttribute:fo,waypoint:fe,fontCompress:mu}=b;function J(t,e){S(`[data-x-element="${t}"]`,n=>void e.call(n,n,fo(n,"data-x-params")))}S("[data-x-element-responsive-text]",(t,{selector:e,compression:n,minFontSize:o,maxFontSize:r})=>{e&&Array.from(document.querySelectorAll(e)).forEach(i=>mu(i,{c:n,min:o,max:r}))});var gu=()=>!!(/Android|webOS|Opera Mini|windows phone/i.test(navigator.userAgent)||/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);function Hi(t){if(!Bt(t,"parallax"))return;if(gu()){t.style.backgroundAttachment="scroll",t.style.backgroundSize="cover",t.style.backgroundPosition="center";return}let e=0;Bt(t,"bg-image")&&(e=.1),Bt(t,"bg-pattern")&&(e=.3);let n=uo(t).top,o=document.readyState==="complete",r=()=>{let{top:i}=uo(t);i+t.offsetHeight<window.scrollY||i>window.scrollY+window.innerHeight||(t.style.backgroundPosition=`50% ${Math.floor((n-window.scrollY)*e)}px`)};return o&&r(),[pu(r),Ii(()=>{n=uo(t).top}),co(()=>{o=!0,r()})]}J("section",Hi);J("content_band",Hi);J("column",(t,e)=>{!e.fade||fe(t.parentElement,()=>{t.style.opacity="1",t.style.transform="translate(0, 0)"},"65%")});J("classic_card",function(t){function e(m){m.target.tagName!=="A"&&hu(t,"flipped")}function n(){so(t,"flipped")}function o(){ao(t,"flipped")}let r=ht(t,"click",e),i=ht(t,"mouseenter",n),s=ht(t,"mouseleave",o),a;ht(t,"touchstart",()=>{a&&a(),a=ht(t,"touchend",e)}),ht(t,"touchmove",()=>{a&&a()}),Mi(t,"touchstart",()=>{r(),i(),s()});let c=t.querySelector(".x-card-inner"),u=t.querySelector(".x-face-outer.front"),d=u.querySelector(".x-face-content"),f=t.querySelector(".x-face-outer.back"),p=u.querySelector(".x-face-content"),l=m=>{let{borderTopWidth:g,borderBottomWidth:y}=getComputedStyle(f);return parseFloat(g)+parseFloat(y)};function h(){let m=Math.max(lo(d)+l(f),lo(p)+l(u));c.style.height=`${m}px`}return[co(h),Ii(h,!0)]});J("skill_bar",(t,e)=>{let n=t.querySelector(".bar");fe(t,()=>{Pi(0,{duration:750,update:o=>{n.style.width=`${o}%`}})(parseFloat(e.percent))},"95%")});J("recent_posts",function(t,{fade:e}){if(!e)return;let n=Array.from(t.querySelectorAll("a"));fe(t,()=>{n.forEach((o,r)=>{setTimeout(()=>{Pi(0,{duration:750,update:i=>{o.style.opacity=`${i}`}})(1)},r*90)}),setTimeout(()=>{so(t,"complete")},n*90+400)},"75%")});J("creative_cta",function(t,e){let n=t.querySelector(".graphic");n.style.transform="translate(-50%, -50%) scale(0)";let o=()=>{n.style.transform="translate(-50%, -50%) scale(0)",t.style.backgroundColor=e.bg_color};return o(),[ht(t,"mouseenter",()=>{t.style.backgroundColor=e.bg_color_hover,n.style.transform="translate(-50%, -50%) scale(1)"}),ht(t,"mouseleave",o)]});J("feature_box",function(t,e){e.child!==!0&&e.graphicAnimation!=="none"&&fe(t,()=>{setTimeout(()=>{de(t.querySelector(".x-feature-box-graphic-outer"),"animated "+e.graphicAnimation)},e.graphicAnimationDelay)},e.graphicAnimationOffset+"%")});J("feature_list",function(t,e){var n=fo(t.querySelector(".x-feature-box"),"data-x-params"),o=0;if(n.graphicAnimation!=="none"||n.connectorAnimation!=="none"){let r=Array.from(t.children);fe(t,function(){setTimeout(function(){r.forEach((i,s)=>{var c;if(n.graphicAnimation!=="none"&&de(i.querySelector(".x-feature-box-graphic-outer"),"animated "+n.graphicAnimation,o++,e.animationDelayBetween),n.connectorAnimation!=="none"){var a="animated "+n.connectorAnimation;let u=i.querySelector(".lower");u&&de(u,a,o,e.animationDelayBetween);let d=(c=r[s+1])==null?void 0:c.querySelector(".upper");d&&de(d,a,o,e.animationDelayBetween);let f=i.querySelector(".full");f&&de(f,a,o++,e.animationDelayBetween)}})},e.animationDelayInitial)},e.animationOffset+"%")}});J("tab_nav",function(t,{orientation:e}){e==="vertical"&&(t.style.minHeight=`${lo(t.nextElementSibling)}px`)});function de(t,e,n=0,o=0){let r=e.split(" ").map(i=>i.trim()).filter(i=>!!i);setTimeout(()=>{ao(t,"animated-hide"),r.forEach(i=>void so(t,i)),Mi(t,"animationend",()=>{r.forEach(i=>void ao(t,i))})},n*o)}window.csGoogleMapsClassic=async function(){let{AdvancedMarkerElement:t,PinElement:e}=await window.google.maps.importLibrary("marker");J("google_map",function(n,o){if(!window.google||!window.google.maps)return;function r(y){var v=[],w=[];Array.from(n.querySelectorAll(".x-google-map-marker")).forEach(function(T,C){var x=fo(T,"data-x-params");let A;if(x.image){let M=document.createElement("img");M.src=x.image,A=M}var z=new t({map:y,position:new window.google.maps.LatLng(x.lat,x.lng),content:A});if(v[C]=z,x.markerInfo!==""){var I=new window.google.maps.InfoWindow({content:x.markerInfo,maxWidth:200});w[C]=I,x.startOpen&&I.open(y,z),window.google.maps.event.addListener(v[C],"click",function(){I.open(y,this)})}})}var i=n.querySelector(".x-google-map-inner"),s=o.lat,a=o.lng,c=new window.google.maps.LatLng(s,a),u=o.drag,d=parseInt(o.zoom),f=o.zoomControl,p=o.hue,l=[{featureType:"all",elementType:"all",stylers:[{hue:p||null}]},{featureType:"water",elementType:"all",stylers:[{hue:p||null},{saturation:0},{lightness:50}]},{featureType:"poi",elementType:"all",stylers:[{visibility:"off"}]}],h={scrollwheel:!1,draggable:u===!0,zoomControl:f===!0,disableDoubleClickZoom:!1,disableDefaultUI:!0,zoom:d,center:c,mapTypeId:window.google.maps.MapTypeId.ROADMAP,mapId:o.mapId||"DEMO_MAP_ID"},m=new window.google.maps.StyledMapType(l,{name:"Styled Map"}),g=new window.google.maps.Map(i,h);g.mapTypes.set("map_style",m),g.setMapTypeId("map_style"),r.call(this,g)})};co(()=>{let t=window.jQuery;if(!t)return;let e={animation:!0,placement:"top",template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",container:!1},n={placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'};class o{constructor(i,{type:s="tooltip",...a}){this.type=s,this.options={...s==="popover"?n:e,...a},this.hoverState=null,this.$element=null,this.enter=()=>{this.hoverState="in",this.show()},this.leave=()=>{this.hoverState="out",this.hide()},this.toggle=()=>{this.tip().hasClass("in")?this.leave():this.enter()},this.el=i,this.$element=t(i),this.$body=t("body");for(var c=this.options.trigger.split(" "),u=c.length;u--;){var d=c[u];if(d=="click")this.$element.on("click."+this.type,!1,this.toggle);else{var f=d=="hover"?"mouseenter":"focusin",p=d=="hover"?"mouseleave":"focusout";this.$element.on(f+"."+this.type,!1,this.enter),this.$element.on(p+"."+this.type,!1,this.leave)}}(this.$element.attr("title")||typeof this.$element.attr("data-original-title")!="string")&&this.$element.attr("data-original-title",this.$element.attr("title")||"").attr("title","")}show(){var i=t.Event("show.bs."+this.type);if(this.getTitle()||this.getContent()){this.$element.trigger(i);var s=t.contains(document.documentElement,this.$element[0]);if(i.isDefaultPrevented()||!s)return;var a=this,c=this.tip(),u=this.getUID(this.type);this.setContent(),c.attr("id",u),this.$element.attr("aria-describedby",u),this.options.animation&&c.addClass("fade");var d=typeof this.options.placement=="function"?this.options.placement.call(this,c[0],this.$element[0]):this.options.placement,f=/\s?auto?\s?/i,p=f.test(d);p&&(d=d.replace(f,"")||"top"),c.detach().css({top:0,left:0,display:"block"}).addClass(d).data("bs."+this.type,this),this.options.container?c.appendTo(this.options.container):c.insertAfter(this.$element);var l=this.getElementPosition(this.el),h=c[0].offsetWidth,m=c[0].offsetHeight;if(p){var g=d,y=this.getElementPosition(this.el.parentElement);d=d=="bottom"&&l.top+l.height+m-y.scroll>y.height?"top":d=="top"&&l.top-y.scroll-m<0?"bottom":d=="right"&&l.right+h>y.width?"left":d=="left"&&l.left-h<y.left?"right":d,c.removeClass(g).addClass(d)}var v=this.getCalculatedOffset(d,l,h,m);this.applyPlacement(v,d);var w=function(){a.$element.trigger("shown.bs."+a.type),a.hoverState=null};this.$tip.hasClass("fade")?c.one("transitionend",w):w()}}applyPlacement(i,s){var a=this.tip(),c=a[0].offsetWidth,u=a[0].offsetHeight,d=parseInt(a.css("margin-top"),10),f=parseInt(a.css("margin-left"),10);isNaN(d)&&(d=0),isNaN(f)&&(f=0),i.top=i.top+d,i.left=i.left+f,t.offset.setOffset(a[0],t.extend({using:function(v){a.css({top:Math.round(v.top),left:Math.round(v.left)})}},i),0),a.addClass("in");var p=a[0].offsetWidth,l=a[0].offsetHeight;s=="top"&&l!=u&&(i.top=i.top+u-l);var h=this.getViewportAdjustedDelta(s,i,p,l);h.left?i.left+=h.left:i.top+=h.top;var m=h.left?h.left*2-c+p:h.top*2-u+l,g=h.left?"left":"top",y=h.left?"offsetWidth":"offsetHeight";a.offset(i),this.replaceArrow(m,a[0][y],g)}replaceArrow(i,s,a){this.arrow().css(a,i?50*(1-i/s)+"%":"")}setContent(){let i=this.tip(),s=this.getTitle();if(this.type==="popover"){let a=i.find(".popover-title");s?a.text(s):i.find(".popover-title").hide(),i.find(".popover-content").empty().text(this.getContent())}else i.find(".tooltip-inner").text(s);i.removeClass("fade in top bottom left right")}hide(){var i=this,s=this.tip(),a=t.Event("hide.bs."+this.type);this.$element.removeAttr("aria-describedby");function c(){i.hoverState!="in"&&s.detach(),i.$element.trigger("hidden.bs."+i.type)}if(this.$element.trigger(a),!a.isDefaultPrevented())return s.removeClass("in"),this.$tip.hasClass("fade")?s.one("transitionend",c):c(),this.hoverState=null,this}getContent(){return this.type!=="popover"?"":this.$element.attr("data-content")||this.getContentOption()}getViewportDimensions(){return{...window.document.body.getBoundingClientRect(),scroll:document.documentElement.scrollTop||document.body.scrollTop,width:window.innerWidth,height:window.innerHeight,top:0,left:0}}getElementPosition(i){let s=i.getBoundingClientRect();return{...s,scroll:i.scrollTop,width:i.offsetWidth,height:i.offsetHeight,top:s.top+(document.documentElement.scrollTop||document.body.scrollTop),left:s.left+(document.documentElement.scrollLeft||document.body.scrollLeft)}}getCalculatedOffset(i,s,a,c){return i=="bottom"?{top:s.top+s.height,left:s.left+s.width/2-a/2}:i=="top"?{top:s.top-c,left:s.left+s.width/2-a/2}:i=="left"?{top:s.top+s.height/2-c/2,left:s.left-a}:{top:s.top+s.height/2-c/2,left:s.left+s.width}}getViewportAdjustedDelta(i,s,a,c){var u={top:0,left:0},d=this.getViewportDimensions();if(/right|left/.test(i)){var f=s.top-d.scroll,p=s.top-d.scroll+c;f<d.top?u.top=d.top-f:p>d.top+d.height&&(u.top=d.top+d.height-p)}else{var l=s.left,h=s.left+a;l<d.left?u.left=d.left-l:h>d.width&&(u.left=d.left+d.width-h)}return u}getTitle(){return this.$element.attr("data-original-title")||this.getTitleOption()||this.type!=="popover"&&this.getContentOption()}getTitleOption(){return typeof this.options.title=="function"?this.options.title.call(this.$element[0]):this.options.title||""}getContentOption(){return typeof this.options.content=="function"?this.options.content.call(this.$element[0]):this.options.content||""}getUID(i){do i+=~~(Math.random()*1e6);while(document.getElementById(i));return i}tip(){return this.$tip=this.$tip||t(this.options.template)}arrow(){return this.$arrow||(this.$arrow=this.tip().find(this.type==="popover"?".arrow":".tooltip-arrow")),this.$arrow}validate(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)}}J("extra",(r,i)=>void new o(r,i))});window.csGlobal.LOADED=!0;window.dispatchEvent(new CustomEvent("cornerstone.loaded"));var Np=window.csGlobal;})();
(()=>{var t={507:(t,e,r)=>{"use strict";r.d(e,{A:()=>A});var n=function(t){return"string"!=typeof t||""===t?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(t)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)};var i=function(t){return"string"!=typeof t||""===t?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(t)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(t)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)};var o=function(t,e){return function(r,o,s,c=10){const l=t[e];if(!i(r))return;if(!n(o))return;if("function"!=typeof s)return void console.error("The hook callback must be a function.");if("number"!=typeof c)return void console.error("If specified, the hook priority must be a number.");const a={callback:s,priority:c,namespace:o};if(l[r]){const t=l[r].handlers;let e;for(e=t.length;e>0&&!(c>=t[e-1].priority);e--);e===t.length?t[e]=a:t.splice(e,0,a),l.__current.forEach((t=>{t.name===r&&t.currentIndex>=e&&t.currentIndex++}))}else l[r]={handlers:[a],runs:0};"hookAdded"!==r&&t.doAction("hookAdded",r,o,s,c)}};var s=function(t,e,r=!1){return function(o,s){const c=t[e];if(!i(o))return;if(!r&&!n(s))return;if(!c[o])return 0;let l=0;if(r)l=c[o].handlers.length,c[o]={runs:c[o].runs,handlers:[]};else{const t=c[o].handlers;for(let e=t.length-1;e>=0;e--)t[e].namespace===s&&(t.splice(e,1),l++,c.__current.forEach((t=>{t.name===o&&t.currentIndex>=e&&t.currentIndex--})))}return"hookRemoved"!==o&&t.doAction("hookRemoved",o,s),l}};var c=function(t,e){return function(r,n){const i=t[e];return void 0!==n?r in i&&i[r].handlers.some((t=>t.namespace===n)):r in i}};var l=function(t,e,r,n){return function(i,...o){const s=t[e];s[i]||(s[i]={handlers:[],runs:0}),s[i].runs++;const c=s[i].handlers;if(!c||!c.length)return r?o[0]:void 0;const l={name:i,currentIndex:0};return(n?async function(){try{s.__current.add(l);let t=r?o[0]:void 0;for(;l.currentIndex<c.length;){const e=c[l.currentIndex];t=await e.callback.apply(null,o),r&&(o[0]=t),l.currentIndex++}return r?t:void 0}finally{s.__current.delete(l)}}:function(){try{s.__current.add(l);let t=r?o[0]:void 0;for(;l.currentIndex<c.length;){t=c[l.currentIndex].callback.apply(null,o),r&&(o[0]=t),l.currentIndex++}return r?t:void 0}finally{s.__current.delete(l)}})()}};var a=function(t,e){return function(){const r=t[e],n=Array.from(r.__current);return n.at(-1)?.name??null}};var d=function(t,e){return function(r){const n=t[e];return void 0===r?n.__current.size>0:Array.from(n.__current).some((t=>t.name===r))}};var u=function(t,e){return function(r){const n=t[e];if(i(r))return n[r]&&n[r].runs?n[r].runs:0}};class h{actions;filters;addAction;addFilter;removeAction;removeFilter;hasAction;hasFilter;removeAllActions;removeAllFilters;doAction;doActionAsync;applyFilters;applyFiltersAsync;currentAction;currentFilter;doingAction;doingFilter;didAction;didFilter;constructor(){this.actions=Object.create(null),this.actions.__current=new Set,this.filters=Object.create(null),this.filters.__current=new Set,this.addAction=o(this,"actions"),this.addFilter=o(this,"filters"),this.removeAction=s(this,"actions"),this.removeFilter=s(this,"filters"),this.hasAction=c(this,"actions"),this.hasFilter=c(this,"filters"),this.removeAllActions=s(this,"actions",!0),this.removeAllFilters=s(this,"filters",!0),this.doAction=l(this,"actions",!1,!1),this.doActionAsync=l(this,"actions",!1,!0),this.applyFilters=l(this,"filters",!0,!1),this.applyFiltersAsync=l(this,"filters",!0,!0),this.currentAction=a(this,"actions"),this.currentFilter=a(this,"filters"),this.doingAction=d(this,"actions"),this.doingFilter=d(this,"filters"),this.didAction=u(this,"actions"),this.didFilter=u(this,"filters")}}var A=function(){return new h}},8770:()=>{}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,r),o.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";r.r(n),r.d(n,{actions:()=>x,addAction:()=>s,addFilter:()=>c,applyFilters:()=>m,applyFiltersAsync:()=>v,createHooks:()=>t.A,currentAction:()=>y,currentFilter:()=>F,defaultHooks:()=>o,didAction:()=>b,didFilter:()=>k,doAction:()=>f,doActionAsync:()=>p,doingAction:()=>_,doingFilter:()=>g,filters:()=>w,hasAction:()=>d,hasFilter:()=>u,removeAction:()=>l,removeAllActions:()=>h,removeAllFilters:()=>A,removeFilter:()=>a});var t=r(507),e=r(8770),i={};for(const t in e)["default","actions","addAction","addFilter","applyFilters","applyFiltersAsync","createHooks","currentAction","currentFilter","defaultHooks","didAction","didFilter","doAction","doActionAsync","doingAction","doingFilter","filters","hasAction","hasFilter","removeAction","removeAllActions","removeAllFilters","removeFilter"].indexOf(t)<0&&(i[t]=()=>e[t]);r.d(n,i);const o=(0,t.A)(),{addAction:s,addFilter:c,removeAction:l,removeFilter:a,hasAction:d,hasFilter:u,removeAllActions:h,removeAllFilters:A,doAction:f,doActionAsync:p,applyFilters:m,applyFiltersAsync:v,currentAction:y,currentFilter:F,doingAction:_,doingFilter:g,didAction:b,didFilter:k,actions:x,filters:w}=o})(),(window.wp=window.wp||{}).hooks=n})();
(()=>{"use strict";var t={d:(n,e)=>{for(var r in e)t.o(e,r)&&!t.o(n,r)&&Object.defineProperty(n,r,{enumerable:!0,get:e[r]})},o:(t,n)=>Object.prototype.hasOwnProperty.call(t,n),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},n={};t.r(n),t.d(n,{__:()=>F,_n:()=>L,_nx:()=>D,_x:()=>w,createI18n:()=>h,defaultI18n:()=>b,getLocaleData:()=>g,hasTranslation:()=>O,isRTL:()=>P,resetLocaleData:()=>x,setLocaleData:()=>v,sprintf:()=>l,subscribe:()=>m});var e,r,a,i,o=/%(((\d+)\$)|(\(([$_a-zA-Z][$_a-zA-Z0-9]*)\)))?[ +0#-]*\d*(\.(\d+|\*))?(ll|[lhqL])?([cduxXefgsp%])/g;function l(t,...n){return function(t,...n){var e=0;return Array.isArray(n[0])&&(n=n[0]),t.replace(o,(function(){var t,r,a,i,o;return t=arguments[3],r=arguments[5],"%"===(i=arguments[9])?"%":("*"===(a=arguments[7])&&(a=n[e],e++),void 0===r?(void 0===t&&(t=e+1),e++,o=n[t-1]):n[0]&&"object"==typeof n[0]&&n[0].hasOwnProperty(r)&&(o=n[0][r]),"f"===i?o=parseFloat(o)||0:"d"===i&&(o=parseInt(o)||0),void 0!==a&&("f"===i?o=o.toFixed(a):"s"===i&&(o=o.substr(0,a))),null!=o?o:"")}))}(t,...n)}e={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},r=["(","?"],a={")":["("],":":["?","?:"]},i=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var s={"!":function(t){return!t},"*":function(t,n){return t*n},"/":function(t,n){return t/n},"%":function(t,n){return t%n},"+":function(t,n){return t+n},"-":function(t,n){return t-n},"<":function(t,n){return t<n},"<=":function(t,n){return t<=n},">":function(t,n){return t>n},">=":function(t,n){return t>=n},"==":function(t,n){return t===n},"!=":function(t,n){return t!==n},"&&":function(t,n){return t&&n},"||":function(t,n){return t||n},"?:":function(t,n,e){if(t)throw n;return e}};function u(t){var n=function(t){for(var n,o,l,s,u=[],d=[];n=t.match(i);){for(o=n[0],(l=t.substr(0,n.index).trim())&&u.push(l);s=d.pop();){if(a[o]){if(a[o][0]===s){o=a[o][1]||o;break}}else if(r.indexOf(s)>=0||e[s]<e[o]){d.push(s);break}u.push(s)}a[o]||d.push(o),t=t.substr(n.index+o.length)}return(t=t.trim())&&u.push(t),u.concat(d.reverse())}(t);return function(t){return function(t,n){var e,r,a,i,o,l,u=[];for(e=0;e<t.length;e++){if(o=t[e],i=s[o]){for(r=i.length,a=Array(r);r--;)a[r]=u.pop();try{l=i.apply(null,a)}catch(t){return t}}else l=n.hasOwnProperty(o)?n[o]:+o;u.push(l)}return u[0]}(n,t)}}var d={contextDelimiter:"",onMissingKey:null};function c(t,n){var e;for(e in this.data=t,this.pluralForms={},this.options={},d)this.options[e]=void 0!==n&&e in n?n[e]:d[e]}c.prototype.getPluralForm=function(t,n){var e,r,a,i=this.pluralForms[t];return i||("function"!=typeof(a=(e=this.data[t][""])["Plural-Forms"]||e["plural-forms"]||e.plural_forms)&&(r=function(t){var n,e,r;for(n=t.split(";"),e=0;e<n.length;e++)if(0===(r=n[e].trim()).indexOf("plural="))return r.substr(7)}(e["Plural-Forms"]||e["plural-forms"]||e.plural_forms),a=function(t){var n=u(t);return function(t){return+n({n:t})}}(r)),i=this.pluralForms[t]=a),i(n)},c.prototype.dcnpgettext=function(t,n,e,r,a){var i,o,l;return i=void 0===a?0:this.getPluralForm(t,a),o=e,n&&(o=n+this.options.contextDelimiter+e),(l=this.data[t][o])&&l[i]?l[i]:(this.options.onMissingKey&&this.options.onMissingKey(e,t),0===i?e:r)};const p={plural_forms:t=>1===t?0:1},f=/^i18n\.(n?gettext|has_translation)(_|$)/,h=(t,n,e)=>{const r=new c({}),a=new Set,i=()=>{a.forEach((t=>t()))},o=(t,n="default")=>{r.data[n]={...r.data[n],...t},r.data[n][""]={...p,...r.data[n]?.[""]},delete r.pluralForms[n]},l=(t,n)=>{o(t,n),i()},s=(t="default",n,e,a,i)=>(r.data[t]||o(void 0,t),r.dcnpgettext(t,n,e,a,i)),u=t=>t||"default",d=(t,n,r)=>{let a=s(r,n,t);return e?(a=e.applyFilters("i18n.gettext_with_context",a,t,n,r),e.applyFilters("i18n.gettext_with_context_"+u(r),a,t,n,r)):a};if(t&&l(t,n),e){const t=t=>{f.test(t)&&i()};e.addAction("hookAdded","core/i18n",t),e.addAction("hookRemoved","core/i18n",t)}return{getLocaleData:(t="default")=>r.data[t],setLocaleData:l,addLocaleData:(t,n="default")=>{r.data[n]={...r.data[n],...t,"":{...p,...r.data[n]?.[""],...t?.[""]}},delete r.pluralForms[n],i()},resetLocaleData:(t,n)=>{r.data={},r.pluralForms={},l(t,n)},subscribe:t=>(a.add(t),()=>a.delete(t)),__:(t,n)=>{let r=s(n,void 0,t);return e?(r=e.applyFilters("i18n.gettext",r,t,n),e.applyFilters("i18n.gettext_"+u(n),r,t,n)):r},_x:d,_n:(t,n,r,a)=>{let i=s(a,void 0,t,n,r);return e?(i=e.applyFilters("i18n.ngettext",i,t,n,r,a),e.applyFilters("i18n.ngettext_"+u(a),i,t,n,r,a)):i},_nx:(t,n,r,a,i)=>{let o=s(i,a,t,n,r);return e?(o=e.applyFilters("i18n.ngettext_with_context",o,t,n,r,a,i),e.applyFilters("i18n.ngettext_with_context_"+u(i),o,t,n,r,a,i)):o},isRTL:()=>"rtl"===d("ltr","text direction"),hasTranslation:(t,n,a)=>{const i=n?n+""+t:t;let o=!!r.data?.[a??"default"]?.[i];return e&&(o=e.applyFilters("i18n.has_translation",o,t,n,a),o=e.applyFilters("i18n.has_translation_"+u(a),o,t,n,a)),o}}},_=window.wp.hooks,y=h(void 0,void 0,_.defaultHooks);var b=y;const g=y.getLocaleData.bind(y),v=y.setLocaleData.bind(y),x=y.resetLocaleData.bind(y),m=y.subscribe.bind(y),F=y.__.bind(y),w=y._x.bind(y),L=y._n.bind(y),D=y._nx.bind(y),P=y.isRTL.bind(y),O=y.hasTranslation.bind(y);(window.wp=window.wp||{}).i18n=n})();