PageSourceSearch

https://mangiacateringco.com/wp-content/themes/pro/cornerstone/assets/js/site/cs-classic.d9709b3.js

js mangiacateringco.com collected 2026-10-05 21:26:05 UTC 148,606 bytes, 6 lines download raw bytes

1(()=>{var $s=Object.create;var We=Object.defineProperty;var _s=Object.getOwnPropertyDescriptor;var Ys=Object.getOwnPropertyNames;var Fs=Object.getPrototypeOf,Ns=Object.prototype.hasOwnProperty;var Vs=t=>We(t,"__esModule",{value:!0});var Xs=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Pn=(t,e)=>{for(var n in e)We(t,n,{get:e[n],enumerable:!0})},Us=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of Ys(e))!Ns.call(t,o)&&(n||o!=="default")&&We(t,o,{get:()=>e[o],enumerable:!(r=_s(e,o))||r.enumerable});return t},Gs=(t,e)=>Us(Vs(We(t!=null?$s(Fs(t)):{},"default",!e&&t&&t.__esModule?{get:()=>t.default,enumerable:!0}:{value:t,enumerable:!0})),t);var ro=Xs(()=>{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,r){return Array.isArray(r)?n.push.apply(n,t.call(r,e-1)):n.push(r),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 nr={};Pn(nr,{attach:()=>x,debug:()=>Rt,defineRivetArchetype:()=>wt,drive:()=>st,registerAction:()=>zt,registerBehavior:()=>qt,registerEvent:()=>Z,registerInnate:()=>Se,registerMacro:()=>er,registerObserver:()=>gt,store:()=>$,util:()=>T});var T={};Pn(T,{absVector:()=>ia,addClass:()=>Aa,addVectors:()=>ra,animateToElement:()=>nl,animateTopOffset:()=>el,appendHtmlString:()=>La,balanceFromDifference:()=>da,ceil:()=>Ks,clamp:()=>pe,clampVector:()=>na,debounce:()=>Ut,defer:()=>fa,dispatch:()=>Ra,distanceInRange:()=>On,divideVectors:()=>ca,doOnce:()=>Nn,elementAttributes:()=>Gt,elementIndex:()=>ka,elementIsVisibleInViewport:()=>vo,elementMeta:()=>$n,ensureNumber:()=>ht,ensureString:()=>fe,evaluateCondition:()=>pl,expandElementValue:()=>Dt,farthest:()=>Pa,floor:()=>Js,fontCompress:()=>Na,forceOpaque:()=>sl,getCachedAttribute:()=>jt,getCachedJsonAttribute:()=>qa,getDurations:()=>Vn,getEasing:()=>Ot,getJsonAttrContent:()=>Rn,getOuterHeight:()=>Oa,getPrecisionLength:()=>Zs,getPrecisionLengthWithCommas:()=>ta,getStateValue:()=>wo,getTransitionDuration:()=>Ka,hasClass:()=>me,intersect:()=>ja,isScalar:()=>js,lerp:()=>ua,listener:()=>it,lockMotion:()=>yo,makeAlternatingSynchronizer:()=>Qa,makeDirectionalEasing:()=>Ta,makeElementWeakMap:()=>ve,makeFindClosest:()=>qn,makeGetComputedFloatValues:()=>Fa,makeGetComputedStyle:()=>Ya,makeGetComputedStyles:()=>Fn,makeMotionLockedUpdate:()=>bo,makeRafLoop:()=>we,makeSortByKey:()=>Qs,makeStateSynchronizer:()=>fo,makeTreeWalker:()=>qe,memoize:()=>Dn,multiplyVectors:()=>la,normalizeCondition:()=>Gn,normalizeTeardown:()=>ge,offsetFromTop:()=>Be,onLoad:()=>mt,onPageVisibilityChange:()=>Bn,onPercentScrolled:()=>$a,onResize:()=>ye,onResizeOrScan:()=>io,onScan:()=>_e,onScanLazy:()=>_a,onScroll:()=>_n,onScrollOrResize:()=>Ye,onViewportChange:()=>so,once:()=>$e,oncePassive:()=>za,parseHTML:()=>zn,parseTime:()=>Ht,removeClass:()=>Ea,rivetDispatch:()=>Wa,rivetListener:()=>Da,round:()=>Kr,roundVector:()=>sa,runAnimation:()=>al,scrollOffset:()=>Ia,scrollingDisable:()=>rl,scrollingEnable:()=>ol,siblings:()=>no,subtractVectors:()=>aa,teardown:()=>ut,throttle:()=>Hn,toggleClass:()=>Ca,triggerScan:()=>Ba,tween:()=>tl,unwrapHtmlTemplate:()=>Ma,updateStateKey:()=>dl,vectorsEq:()=>oa,watchElementIsVisible:()=>il,waypoint:()=>Va,wrapNumber:()=>In,wrapVector:()=>ea});function ht(t){if(typeof t=="function")return ht(t());if(typeof t=="number")return t;let e=Number.parseFloat(t);return Number.isNaN(e)?0:e}var fe=t=>typeof t=="function"?fe(t()):typeof t=="string"?t:"";function js(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 Qs=t=>(e,n)=>e[t]-n[t];var Ks=(t,e=100)=>Math.ceil(t*e)/e,Js=(t,e=100)=>Math.floor(t*e)/e,Kr=(t,e=100)=>Math.round((t+Number.EPSILON)*e)/e,Zs=t=>{var e,n;return(n=(e=t.toString().split(/\./)[1])==null?void 0:e.length)!=null?n:0},ta=t=>{var e,n;return(n=(e=t.toString().split(/,/)[1])==null?void 0:e.length)!=null?n:0},In=(t,e)=>(e+t)%e,ea=([t,e],[n,r])=>[In(t,n),In([e,r])],pe=(t,e,n)=>Math.min(Math.max(t,e),n),na=([t,e],n,r)=>
1[pe(t,n,r),pe(e,n,r)],ra=([t,e],[n,r])=>[t+n,e+r],oa=([t,e],[n,r])=>t===n&&e===r,ia=t=>t.map(Math.abs),sa=(t,e)=>t.map(n=>Kr(n,e)),aa=([t,e],[n,r])=>[t-n,e-r],la=([t,e],[n,r])=>[t*n,e*r],ca=([t,e],[n,r])=>[t/n,e/r],On=(t,e,n)=>(t-e+n)%n,ua=(t,e,n)=>t+n*(e-t),da=(t,e,n)=>{let r=On(t,e,n),o=On(e,t,n);return r===o?0:r>o?-1:1};function fa(t){return setTimeout(t,0)}function Hn(t,e,n={}){var r=!0,o=!0;return r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o,Ut(t,e,{leading:r,maxWait:e,trailing:o})}function Ut(t,e=0,n={}){var r,o,i,s,a,l,c=0,f=!1,u=!1,p=!0;f=!!n.leading,u="maxWait"in n,i=u?Math.max(n.maxWait||0,e):i,p="trailing"in n?!!n.trailing:p;function d(w){var E=r,C=o;return r=o=void 0,c=w,s=t.apply(C,E),s}function h(w){return c=w,a=setTimeout(g,e),f?d(w):s}function m(w){var E=w-l,C=w-c,P=e-E;return u?Math.min(P,i-C):P}function y(w){var E=w-l,C=w-c;return l===void 0||E>=e||E<0||u&&C>=i}function g(){var w=window.Date.now();if(y(w))return v(w);a=setTimeout(g,m(w))}function v(w){return a=void 0,p&&r?d(w):(r=o=void 0,s)}function b(){a!==void 0&&clearTimeout(a),c=0,r=l=o=a=void 0}function A(){return a===void 0?s:v(window.Date.now())}function k(){var w=window.Date.now(),E=y(w);if(r=arguments,o=this,l=w,E){if(a===void 0)return h(l),()=>void b();if(u)return clearTimeout(a),a=setTimeout(g,e),d(l),()=>void b()}return a===void 0&&(a=setTimeout(g,e)),()=>void b()}return k.cancel=b,k.flush=A,k}function Dn(t,e){let n=new Map;return function(...r){let o=e?e.apply(this,r):r[0];if(n.has(o))return n.get(o);let i=t.apply(this,r);return n.set(o,i),i}}var pa=4,ha=.001,ma=1e-7,ga=10,he=11,Re=1/(he-1),va=typeof Float32Array=="function";function Jr(t,e){return 1-3*e+3*t}function Zr(t,e){return 3*e-6*t}function to(t){return 3*t}function ze(t,e,n){return((Jr(e,n)*t+Zr(e,n))*t+to(e))*t}function eo(t,e,n){return 3*Jr(e,n)*t*t+2*Zr(e,n)*t+to(e)}function ya(t,e,n,r,o){var i,s,a=0;do s=e+(n-e)/2,i=ze(s,r,o)-t,i>0?n=s:e=s;while(Math.abs(i)>ma&&++a<ga);return s}function ba(t,e,n,r){for(var o=0;o<pa;++o){var i=eo(e,n,r);if(i===0)return e;var s=ze(e,n,r)-t;e-=s/i}return e}function wa(t){return t}function Wn(t,e,n,r){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===r)return wa;for(var o=va?new Float32Array(he):new Array(he),i=0;i<he;++i)o[i]=ze(i*Re,t,n);function s(a){for(var l=0,c=1,f=he-1;c!==f&&o[c]<=a;++c)l+=Re;--c;var u=(a-o[c])/(o[c+1]-o[c]),p=l+u*Re,d=eo(p,t,n);return d>=ha?ba(a,p,t,n):d===0?p:ya(a,l,l+Re,t,n)}return function(l){return l===0||l===1?l:ze(s(l),e,r)}}var xa=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)"}},R=Dn(t=>{let e=xa(t);try{let[,n]=e.match(/cubic-bezier\((.*)\)/);return Wn(...n.split(",").map(r=>Number(r.trim())))}catch{console.warn("unable to parse easing function",e)}return R("ease")}),Sa={easeInQuad:R("cubic-bezier(0.550, 0.085, 0.680, 0.530)"),easeInCubic:R("cubic-bezier(0.550, 0.055, 0.675, 0.190)"),easeInQuart:R("cubic-bezier(0.895, 0.030, 0.685, 0.220)"),easeInQuint:R("cubic-bezier(0.755, 0.050, 0.855, 0.060)"),easeInSine:R("cubic-bezier(0.470, 0.000, 0.745, 0.715)"),easeInExpo:R("cubic-bezier(0.950, 0.050, 0.795, 0.035)"),easeInCirc:R("cubic-bezier(0.600, 0.040, 0.980, 0.335)"),easeInBack:R("cubic-bezier(0.600, -0.280, 0.735, 0.045)"),easeOutQuad:R("cubic-bezier(0.250, 0.460, 0.450, 0.940)"),easeOutCubic:R("cubic-bezier(0.215, 0.610, 0.355, 1.000)"),easeOutQuart:R("cubic-bezier(0.165, 0.840, 0.440, 1.000)"),easeOutQuint:R("cubic-bezier(0.230, 1.000, 0.320, 1.000)"),easeOutSine:R("cubic-bezier(0.390, 0.575, 0.565, 1.000)"),easeOutExpo:R("cubic-bezier(0.190, 1.000, 0.220, 1.000)"),easeOutCirc:R("cubic-bezier(0.075, 0.820, 0.165, 1.000)"),easeOutBack:R("cubic-bezier(0.175, 0.885, 0.320, 1.275)"),easeInOutQuad:R("cubic-bezier(0.455, 0.030, 0.515, 0.955)"),easeInOutCubic:R("cubic-bezier(0.645, 0.045, 0.355, 1.000)"),easeInOutQuart:R("cubic-bezier(0.770, 0.000, 0.175, 1.000)"),easeInOutQuint:R("cubic-bezier(0.860, 0.000, 0.070, 1.000)"),easeInOutSine:R("cubic-bezier(0.445, 0.050, 0.550, 0.950)"),easeInOutExpo:R("cubic-bezier(1.000, 0.000, 0.000, 1.000)"),easeInOutCirc:R("cubic-bezier(0.785, 0.135, 0.150, 0.860)"),easeInOutBack:R("cubic-bezier(0.680, -0.550, 0.265, 1.550)"),materialStand:R("cubic-bezier(0.400, 0.000, 0.200, 1.000)"),materialDecel:R("cubic-bezier(0.000, 0.000, 0.200, 1.000)"),materialAccel:R("cubic-bezier(0.400, 0.000, 1.000, 1.000)"),materialSharp:R("cubic-bezier(0.400, 0.000, 0.600, 1.000)")};function Ot(t){return Sa[t]||R(t)}var Ta=t=>{let e=Ot(t);return n=>{let r=(-1*n+1)/2,o=Math.min(1,Math.max(0,r));return(e(o)-.5)*2}};var me=(t,e)=>{var n;return(n=t==null?void 0:t.classList)==null?void 0:n.contains(e)},Aa=(t,e)=>{var n;return(n=t==null?void 0:t.classList)==null?void 0:n.add(e)},Ea=(t,e)=>{var n;return(n=t==null?void 0:t.classList)==null?void 0:n.remove(e)},Ca=(t,e,n)=>{var r;return(r=t==null?void 0:t.classList)==null?void 0:r.toggle(e,n)};function ka(t){if(!t)return-1;for(var e=0;t=t.previousElementSibling;)e++;return e}function Rn(t,e){let n=t.getAttribute(e);
1if(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 zn=t=>{let e=document.implementation.createHTMLDocument("");return e.body.innerHTML=t,e.body.children},La=(t,e)=>{Array.from(zn(e)).forEach(n=>{t.append(n)})},Ma=t=>{Array.from(zn(t.innerHTML)).forEach(e=>{t.insertAdjacentElement("afterend",e)}),t.remove()};function Pa(t,e){let n=t,r;for(;n&&n.parentElement;)n=n.parentElement.closest(e),n&&(r=n);return r}var no=t=>t&&t.parentElement?Array.from(t.parentElement.children).filter(e=>e!==t):[],qe=(t,e)=>n=>{let r=new Set,o=document.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,{acceptNode:()=>NodeFilter.FILTER_ACCEPT});for(;o.nextNode();)if(t(o.currentNode)){if(e)return o.currentNode;r.add(o.currentNode)}return e?null:Array.from(r)},Be=t=>t?t.offsetParent?t.offsetTop+Be(t.offsetParent):t.offsetTop:0,Ia=t=>{let e=t.getBoundingClientRect(),{top:n,left:r,height:o}=e;return{top:n+window.scrollY,bottom:n+o+window.scrollY,left:r+window.scrollX}},Oa=t=>{var o;if(!t)return 0;let e=Math.max(t.scrollHeight,t.offsetHeight),n=(o=t.getAttribute("style"))!=null?o:"";t.style.display="block",t.style.position="absolute",t.style.visibility="hidden";let r=Math.max(0,e,t.scrollHeight,t.offsetHeight);return t.setAttribute("style",n),r},qn=t=>{let e=qe(t,!0),n=o=>{let i=o;for(;i;){if(t(i))return i;i=i.parentElement}},r=o=>{let i=o;for(;i;){let s;if(no(i).find(a=>(s=t(a)?a:e(a),s)),s)return s;i=i.parentElement}};return o=>n(o)||r(o)||null};Promise.resolve().then(()=>Gs(ro()));var oo="rvt",Ha={passive:!0};function Da(t,e,n){return it(t,`${oo}-${e}`,n)}function Wa(t,e){t.dispatchEvent(new CustomEvent(`${oo}-${e}`))}function Ra(t,e,n={},r=!0){t.dispatchEvent(new CustomEvent(e),{bubbles:r,detail:n})}function it(t,e,n,r={}){return t?(typeof r.passive=="undefined"&&(r.passive=!1),t.addEventListener(e,n,r),()=>void t.removeEventListener(e,n,r)):()=>{}}function mt(t){let e=()=>void t();return document.readyState==="complete"?(e(),()=>{}):it(document,"readystatechange",function(){document.readyState==="complete"&&setTimeout(e,0)})}function $e(t,e,n,r={passive:!1}){let o=function(){t.removeEventListener(e,o),n()};return t.addEventListener(e,o,r),()=>void t.removeEventListener(e,o)}function za(t,e,n){return $e(t,e,n,Ha)}var ge=t=>(Array.isArray(t)?t.map(ge):[t]).flat().filter(e=>typeof e=="function"),ut=t=>{let e=ge(t);return()=>e.forEach(n=>n())},Bn=(t,e)=>(e&&t(document.visibilityState==="visible"),ut([it(window,"pagehide",()=>{t(!1)}),it(window.document,"visibilitychange",()=>{t(document.visibilityState==="visible")})]));function J(t,e){let n,r=null;return function(o){if(n){r=o;return}n=setTimeout(function(){t(r),n=null},e)}}var ve=(t={})=>{let e,n=()=>{e=new WeakMap},r=l=>e.has(l),o=l=>e.delete(l),i=l=>e.has(l)?e.get(l):t,s=(l,c)=>void e.set(l,c),a=(l,c)=>void s(l,c(i(l)));return n(),{get:i,del:o,set:s,has:r,update:a,reset:n,cache:()=>e}},$n=ve(),Gt=ve();function jt(t,e){return Gt.has(t)||Gt.set(t,new Map),Gt.get(t).has(e)||Gt.get(t).set(e,Rn(t,e)),Gt.get(t).get(e)}function qa(t,e){if(!t)return{};let n=jt(t,e);return typeof n=="object"?n:{}}var Ba=()=>window.dispatchEvent(new CustomEvent("rvt-scan")),_e=t=>it(window,"rvt-scan",()=>t()),ye=(t,e=!1)=>{e&&t();let n=J(t,100);return ut([it(window,"resize",n,{passive:!0}),it(screen.orientation,"change",n)])},_n=(t,e=!1)=>{e&&t();let n=J(t,40);return it(window,"scroll",n,{passive:!0})},Ye=(t,e=!1)=>ut([_n(t,e),io(t,e)]),io=(t,e)=>ut([_e(t),ye(t,e)]),so=(t,e)=>ut([_e(t),mt(t),Bn(t,!1),ye(t,e)]),$a=(t,e,n=!1)=>{let r,o,i=Ye(()=>{let s=document.body.offsetHeight,l=1-(s-(window.scrollY+window.innerHeight))/s>=t;l!==o&&(e(l),l&&n&&(r=!0,i()),o=l)},!0);return()=>{r||i()}},_a=(t,{throttle:e=50}={})=>{let n,o=Hn(()=>{n=requestAnimationFrame(()=>void t())},e,{trailing:!0}),i=Ut(o,450);return[mt(i),ye(i),_e(o),()=>cancelAnimationFrame(n)]},Yn,ao;so(()=>{Yn=new WeakMap,ao=new WeakMap},!0);_n(()=>{ao=new WeakMap},!0);var lo=t=>{let e=Yn.get(t);return e||(e=new WeakMap,Yn.set(t,e)),e};function Fn(t,e){let n=function(r){let o=lo(n).get(r);if(!o){let i=getComputedStyle(r);o=t.reduce((s,a)=>(s[a]=typeof e=="function"?e(i[a],a):i[a],s),{}),lo(n).set(r,o)}return o};return n}function Ya(t){let e=Fn([t]);return n=>e(n)[t]}function Fa(t){return Fn(t,e=>parseFloat(e))}function Na(t,{c:e=1,min:n=Number.NEGATIVE_INFINITY,max:r=Number.POSITIVE_INFINITY}){let o=ht(n),i=ht(r);return ye(()=>{let s=pe(parseFloat(getComputedStyle(t,null).width)/(e*10),o,i);t.style.setProperty("font-size",`${s}px`)},!0)}var co=0,Qt={};function L(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");
1this.key="waypoint-"+co,this.options=L.Adapter.extend({},L.defaults,t),this.element=this.options.element,this.adapter=new L.Adapter(this.element),this.callback=t.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=L.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=L.Context.findOrCreateByElement(this.options.context),L.offsetAliases[this.options.offset]&&(this.options.offset=L.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),Qt[this.key]=this,co+=1}L.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)};L.prototype.trigger=function(t){!this.enabled||this.callback&&this.callback.apply(this,t)};L.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete Qt[this.key]};L.prototype.disable=function(){return this.enabled=!1,this};L.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this};L.prototype.next=function(){return this.group.next(this)};L.prototype.previous=function(){return this.group.previous(this)};L.invokeAll=function(t){var e=[];for(var n in Qt)e.push(Qt[n]);for(var r=0,o=e.length;r<o;r++)e[r][t]()};L.destroyAll=function(){L.invokeAll("destroy")};L.disableAll=function(){L.invokeAll("disable")};L.enableAll=function(){L.Context.refreshAll();for(var t in Qt)Qt[t].enabled=!0;return this};L.refreshAll=function(){L.Context.refreshAll()};L.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight};L.viewportWidth=function(){return document.documentElement.clientWidth};L.adapters=[];L.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0};L.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 r(o){this.element=o,this.Adapter=L.Adapter,this.adapter=new this.Adapter(o),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:{}},o.waypointContextKey=this.key,e[o.waypointContextKey]=this,t+=1,L.windowContext||(L.windowContext=!0,L.windowContext=new r(window)),this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}r.prototype.add=function(o){var i=o.options.horizontal?"horizontal":"vertical";this.waypoints[i][o.key]=o,this.refresh()},r.prototype.checkEmpty=function(){var o=this.Adapter.isEmptyObject(this.waypoints.horizontal),i=this.Adapter.isEmptyObject(this.waypoints.vertical),s=this.element==this.element.window;o&&i&&!s&&(this.adapter.off(".waypoints"),delete e[this.key])},r.prototype.createThrottledResizeHandler=function(){var o=this;function i(){o.handleResize(),o.didResize=!1}this.adapter.on("resize.waypoints",function(){o.didResize||(o.didResize=!0,requestAnimationFrame(i))})},r.prototype.createThrottledScrollHandler=function(){var o=this;function i(){o.handleScroll(),o.didScroll=!1}this.adapter.on("scroll.waypoints",function(){(!o.didScroll||L.isTouch)&&(o.didScroll=!0,requestAnimationFrame(i))})},r.prototype.handleResize=function(){L.Context.refreshAll()},r.prototype.handleScroll=function(){var o={},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],l=a.newScroll>a.oldScroll,c=l?a.forward:a.backward;for(var f in this.waypoints[s]){var u=this.waypoints[s][f];if(u.triggerPoint!==null){var p=a.oldScroll<u.triggerPoint,d=a.newScroll>=u.triggerPoint,h=p&&d,m=!p&&!d;(h||m)&&(u.queueTrigger(c),o[u.group.id]=u.group)}}}for(var y in o)o[y].flushTriggers();this.oldScroll={x:i.horizontal.newScroll,y:i.vertical.newScroll}},r.prototype.innerHeight=function(){return this.element==this.element.window?L.viewportHeight():this.adapter.innerHeight()},r.prototype.remove=function(o){delete this.waypoints[o.axis][o.key],this.checkEmpty()},r.prototype.innerWidth=function(){return this.element==this.element.window?L.viewportWidth():this.adapter.innerWidth()},r.prototype.destroy=function(){var o=[];for(var i in this.waypoints)for(var s in this.waypoints[i])o.push(this.waypoints[i][s]);for(var a=0,l=o.length;a<l;a++)o[a].destroy()},r.prototype.refresh=function(){var o=this.element==this.element.window,i=o?void 0:this.adapter.offset(),s={},a;this.handleScroll(),a={horizontal:{contextOffset:o?0:i.left,contextScroll:o?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:o?0:i.top,contextScroll:o?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}};for(var l in a){var c=a[l];for(var f in this.waypoints[l]){var u=this.waypoints[l][f],p=u.options.offset,d=u.triggerPoint,h=0,m=d==null,y,g,v,b,A;u.element!==u.element.window&&(h=u.adapter.offset()[c.offsetProp]),typeof p=="function"?p=p.apply(u):typeof p=="string"&&(p=parseFloat(p),u.options.offset.indexOf("%")>-1&&(p=Math.ceil(c.contextDimension*p/100))),y=c.contextScroll-c.contextOffset,u.triggerPoint=Math.floor(h+y-p),g=d<c.oldScroll,v=u.triggerPoint>=c.oldScroll,b=g&&v,A=!g&&!v,!m&&b?(u.queueTrigger(c.backward),s[u.group.id]=u.group):(!m&&A||m&&c.oldScroll>=u.triggerPoint)&&(u.queueTrigger(c.forward),s[u.group.id]=u.group)}}return requestAnimationFrame(function(){for(var k in s)s[k].flushTriggers()}),this},r.findOrCreateByElement=function(o){return r.findByElement(o)||new r(o)},r.refreshAll=function(){for(var o in e)e[o].refresh()},r.findByElement=function(o){return e[o.waypointContextKey]},window.onload=function(){n&&n(),r.refreshAll()},L.Context=r})();(function(){"use strict";function t(o,i){return o.triggerPoint-i.triggerPoint}function e(o,i){return i.triggerPoint-o.triggerPoint}var n={vertical:{},horizontal:{}};function r(o){this.name=o.name,this.axis=o.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),n[this.axis][this.name]=this}r.prototype.add=function(o){this.waypoints.push(o)},r.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],r
1ight:[]}},r.prototype.flushTriggers=function(){for(var o in this.triggerQueues){var i=this.triggerQueues[o],s=o==="up"||o==="left";i.sort(s?e:t);for(var a=0,l=i.length;a<l;a+=1){var c=i[a];(c.options.continuous||a===i.length-1)&&c.trigger([o])}}this.clearTriggerQueues()},r.prototype.next=function(o){this.waypoints.sort(t);var i=L.Adapter.inArray(o,this.waypoints),s=i===this.waypoints.length-1;return s?null:this.waypoints[i+1]},r.prototype.previous=function(o){this.waypoints.sort(t);var i=L.Adapter.inArray(o,this.waypoints);return i?this.waypoints[i-1]:null},r.prototype.queueTrigger=function(o,i){this.triggerQueues[i].push(o)},r.prototype.remove=function(o){var i=L.Adapter.inArray(o,this.waypoints);i>-1&&this.waypoints.splice(i,1)},r.prototype.first=function(){return this.waypoints[0]},r.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},r.findOrCreate=function(o){return n[o.axis][o.name]||new r(o)},L.Group=r})();(function(){"use strict";function t(r){return r===r.window}function e(r){return t(r)?r:r.defaultView}function n(r){this.element=r,this.handlers={}}n.prototype.innerHeight=function(){var r=t(this.element);return r?this.element.innerHeight:this.element.clientHeight},n.prototype.innerWidth=function(){var r=t(this.element);return r?this.element.innerWidth:this.element.clientWidth},n.prototype.off=function(r,o){function i(p,d,h){for(var m=0,y=d.length-1;m<y;m++){var g=d[m];(!h||h===g)&&p.removeEventListener(g)}}var s=r.split("."),a=s[0],l=s[1],c=this.element;if(l&&this.handlers[l]&&a)i(c,this.handlers[l][a],o),this.handlers[l][a]=[];else if(a)for(var f in this.handlers)i(c,this.handlers[f][a]||[],o),this.handlers[f][a]=[];else if(l&&this.handlers[l]){for(var u in this.handlers[l])i(c,this.handlers[l][u],o);this.handlers[l]={}}},n.prototype.offset=function(){if(!this.element.ownerDocument)return null;var r=this.element.ownerDocument.documentElement,o=e(this.element.ownerDocument),i={top:0,left:0};return this.element.getBoundingClientRect&&(i=this.element.getBoundingClientRect()),{top:i.top+o.pageYOffset-r.clientTop,left:i.left+o.pageXOffset-r.clientLeft}},n.prototype.on=function(r,o){var i=r.split("."),s=i[0],a=i[1]||"__default",l=this.handlers[a]=this.handlers[a]||{},c=l[s]=l[s]||[];c.push(o),this.element.addEventListener(s,o)},n.prototype.outerHeight=function(r){var o=this.innerHeight(),i;return r&&!t(this.element)&&(i=window.getComputedStyle(this.element),o+=parseInt(i.marginTop,10),o+=parseInt(i.marginBottom,10)),o},n.prototype.outerWidth=function(r){var o=this.innerWidth(),i;return r&&!t(this.element)&&(i=window.getComputedStyle(this.element),o+=parseInt(i.marginLeft,10),o+=parseInt(i.marginRight,10)),o},n.prototype.scrollLeft=function(){var r=e(this.element);return r?r.pageXOffset:this.element.scrollLeft},n.prototype.scrollTop=function(){var r=e(this.element);return r?r.pageYOffset:this.element.scrollTop},n.extend=function(){var r=Array.prototype.slice.call(arguments);function o(a,l){if(typeof a=="object"&&typeof l=="object")for(var c in l)l.hasOwnProperty(c)&&(a[c]=l[c]);return a}for(var i=1,s=r.length;i<s;i++)o(r[0],r[i]);return r[0]},n.inArray=function(r,o,i){return o==null?-1:o.indexOf(r,i)},n.isEmptyObject=function(r){for(var o in r)return!1;return!0},L.adapters.push({name:"noframework",Adapter:n}),L.Adapter=n})();var uo=L;function Va(t,e,n,r=!0){let o=new uo({element:t,handler:(...s)=>{e(...s),r&&i()},offset:n}),i=()=>o&&void o.destroy();return i}var be=new Map,Xa=({threshold:t=.5,top:e="0px",bottom:n="0px"}={})=>{let r=Number.parseFloat(t);return{key:`${e}:${n}:${r}`,options:{root:null,rootMargin:`${e} 0px ${n} 0px`,_threshold:r}}},Ua=(t,e)=>new IntersectionObserver((n,r)=>{let{subscribers:o}=be.get(t);n.forEach(i=>{let s=o.get(i.target);if(s)for(let a of s.values())a(i)})},e),Ga=t=>{let{key:e,options:n}=Xa(t);return be.has(e)||be.set(e,{observer:Ua(e,n),subscribers:new Map,key:e}),be.get(e)},ja=(t,e,n)=>{if(typeof window.IntersectionObserver=="undefined")return function(){};let{observer:r,subscribers:o,key:i}=Ga(n);return o.has(t)||(o.set(t,new Set),r.observe(t)),o.get(t).add(e),()=>{o.get(t).delete(e),o.get(t).size<=0&&(o.delete(t),r.unobserve(t)),o.size<=0&&(r.disconnect(),be.delete(i))}};var fo=(t,{pending:e=()=>{},delay:n=10,initialState:r=null}={})=>{let o=r,i=r,s=[],a=!1,l=()=>{o!==i&&(a=!0,e(!0),o=i,t(o,(...f)=>{a=!1,e(!1),s=f,l()},...s))},c=Ut(f=>{i=f,a||l()},n);return c.reset=()=>{o=!1,i=!1,s=[]},c},Qa=(t,e,n)=>fo((r,o,i)=>{r&&t(()=>void o(e)),i&&i(o)},{delay:n,initialState:!1}),Nn=t=>{let e=!1;return(...n)=>{if(!e)return e=!0,t(...n)}},Ht=(t,e=0)=>{if(typeof t=="number")return t;let n=typeof t=="string"?t:"",[,r,o=""]=n.match(/(\d*.?\d+)(\w*)/)||[],i=parseFloat(r);return Number.isNaN(i)?e:o.toLowerCase()==="s"?i*1e3:i};function Ka(t,e){return Ht(t&&window.getComputedStyle(t).getPropertyValue("transition-duration"),e)}function Vn(t){let e=window.getComputedStyle(t);e.getPropertyValue("transition-duration");let n=Ht(e.getPropertyValue("transition-duration"),0),r=Ht(e.getPropertyValue("transition-delay"),0),o=Ht(e.getPropertyValue("animation-duration"),0),i=Ht(e.getPropertyValue("animation-delay"),0);return{transitionDuration:n,transitionDelay:r,animationDuration:o,animationDelay:i,transitionTime:n+r,animationTime:o+i}}var we=t=>{let e,n,r=o=>{typeof e=="undefined"&&(e=o);let i=o-e;t(i,o)!==!1&&(n=requestAnimationFrame(r))};return n=requestAnimationFrame(r),()=>void cancelAnimationFrame(n)},Ja=({setup:t=()=>{},update:e=()=>{},complete:n=()=>{},cancel:r=()=>{},duration:o,easing:i})=>{let s=Ht(o,500),a=Ot(i);t();let l=we(c=>{if(c<s)e(a(c/s));else return e(1),n(),!1});return()=>{r(),l()}},Za=(t,e,n)=>e===n?n:n>e?e+(n-e)*t:e+(e-n)*(t*-1),po=t=>Object.keys(t).reduce((e,n)=>(e[n]=parseFloat(t[n]),e),{}),ho=(t,{update:e,interpolate:n=Za,...r})=>{let o=po(t);return(i={})=>{let s=po(i);return Ja({update:a=>{e(Object.keys(s).reduce((l,c)=>(l[c]=n(a,o[c],s[c]),l),{}))},...r})}},tl=(t,e)=>{let n=typeof t=="object"?ho(t,e):ho({from:t},{...e,update:({from:r})=>e.update(r)});return r=>n(typeof r=="object"?r:{from:r})};var el=(t=0,e=850,n=null,r=()=>{},o=window)=>{let i=ht(typeof t=="function"?t(0):t),s=Ot(n),a=ht(e),l=o.scrollY||document.documentElement.scrollTop;return we(c=>{if(c<a)o.scrollTo(0,l+(i-l)*s(c/a));else return o.scrollTo(0,i),r(),!1})},nl=(t,e=0,n=850,r=null,o=()=>{},i=window)=>{let s=Ot(r),a=ht(n),l=i.scrollY||document.documentElement.scrollTop;return we(c=>{let f=Be(t)+ht(typeof e=="function"?e(0):e);if(c<a)i.scrollTo(0,l+(f-l)*s(c/a));else return i.scrollTo(0,f),o(),!1})},Fe="auto",Ne=!1,mo=t=>{t.preventDefault(),t.stopPropagation()},go=t=>{t.preventDefault(),t.stopPropagation()},rl=()=>{Ne||(Ne=!0,Fe=document.body.style.touchAction==="none"?Fe:document.body.style.touchAction,document.body.style.touchAction="none",window.addEventListener("wheel",go,{passive:!1}),window.addEventListener("scroll",mo))},ol=()=>{!Ne||(Ne=!1,document.body.style.touchAction=Fe==="none"?"auto":Fe,window.removeEventListener("wheel",go,{passive:!1}),window.removeEventListener("scroll",mo))},il=(t,e=0,n=0,r)=>{let o=J(function(){r(vo(t,e,n))},25);return window.addEventListener("scroll",o,{passive:!0}),window.addEventListener("resize",o,{passive:!0}),()=>{window.removeEventListener("scroll",o),window.removeEventListener("resize",o)}},vo=(t,e=0,n=0)=>{e===0&&(e=.01),n===0&&(n=.01);let{top:r,left:o,bottom:i,right:s}=t.getBoundingClientRect(),{innerHeight:a,innerWidth:l}=window,c=e?a*(1-parseFloat(e)/100):0,f=n?a*(parseFloat(n)/100):a;return r<=c&&o>=0&&i>=f&&s<=l};function yo(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 bo=(t,e)=>(n,{after:r}={})=>{t(n);let o=yo(n);return()=>{e(n),o(),typeof r=="function"&&r()}},sl=bo(t=>t.style.setProperty("opacity",1,"important"),t=>t.style.removeProperty("opacity")),al=(t,{animation:e,className:n,timeout:r,remove:o},i=()=>{})=>
1{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=r?Vn(t).animationTime:0,a=Nn(()=>{o&&t.style.setProperty("animation-name",""),i()});$e(t,"animationend",a),r&&setTimeout(a,s)};function ll(t,e,n){e=typeof e=="number"?Kt(e.toString()):typeof e=="string"?Kt(e):e;let r=(o,i,s,a)=>{let l,c=i[a];if(i.length>a){if(Array.isArray(o))try{c=Xn(c,o),l=o.slice()}catch(f){if(o.length===0)l={};else throw new Error(f)}else l=Object.assign({},o);return l[c]=r(o[c]!==void 0?o[c]:{},i,s,a+1),l}return typeof s=="function"?s(o):s};return r(t,e,n,0)}function cl(t,e,n){e=typeof e=="number"?Kt(e.toString()):typeof e=="string"?Kt(e):e;for(var r=0;r<e.length;r++){if(t===null||typeof t!="object")return n;let o=e[r];Array.isArray(t)&&o==="$end"&&(o=t.length-1),t=t[o]}return typeof t=="undefined"?n:t}function ul(t,e){e=typeof e=="number"?Kt(e.toString()):typeof e=="string"?Kt(e):e;let n=(r,o,i)=>{let s,a=o[i];return r===null||typeof r!="object"||!Array.isArray(r)&&r[a]===void 0?r:o.length-1>i?(Array.isArray(r)?(a=Xn(a,r),s=r.slice()):s=Object.assign({},r),s[a]=n(r[a],o,i+1),s):(Array.isArray(r)?(a=Xn(a,r),s=[].concat(r.slice(0,a),r.slice(a+1))):(s=Object.assign({},r),delete s[a]),s)};return n(t,e,0)}function Xn(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 Kt(t){return t.split(".").reduce((e,n,r,o)=>{let i=r>0&&o[r-1];if(i&&/(?:^|[^\\])\\$/.test(i)){let s=e.pop();e.push(s.slice(0,-1)+"."+n)}else e.push(n);return e},[])}var Un={get:cl,set:ll,deleteProperty:ul};var wo=(t,e)=>e&&typeof t=="object"?Un.get(t,fe(e)):t,dl=(t,e,n)=>
1e&&typeof t=="object"?{...t,[fe(e)]:n}:n;function Dt(t,e){if(Array.isArray(e))return e.map(i=>Dt(t,i));if(typeof e=="function")return Dt(t,e(t));if(typeof e=="object")return Object.keys(e).reduce((i,s)=>(i[s]=Dt(t,e[s]),i),{});if(typeof e!="string")return e;let n,r=()=>(n||(n=window.getComputedStyle(t)),n),o=$n.get(t);return e.replace(/var\(([\w-]+)(?:\s*,\s*(.+?))?\)/g,(i,s,a="")=>r().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 l=Un.get(o,s);return typeof l=="undefined"?a:l})}var fl=(t,e,n)=>{let r=t,o=e;return n==="IN"?r.includes(o):n==="NOT IN"?!r.includes(o):((typeof r=="boolean"||typeof o=="boolean")&&(r=!!r,o=!!o),n===">"||n==="<"?r>o:n===">="||n==="<="?r>=o:n==="="||n==="=="?r==o:n==="!="?r!=o:n=="==="?r===o:n=="!=="?r!==o:!0)},Gn=(t,e)=>{if(typeof t=="undefined")return null;if(!Array.isArray(t))return Gn([t,"==",e]);let[n,r,o]=t;return t.length<=0?null:[n,r,o||e]},pl=(t,e,n,r)=>{try{let o=Gn(e,r);if(!o)return!0;let[i,s,a]=o;return fl(wo(n,Dt(t,a)),Dt(t,i),Dt(t,s))}catch(o){console.warn("Failed to check condition. Make sure your state contains the key you are checking",o,{el:t,condition:e,state:n})}return!1};var xe=new Map,jn=new Map,Ve=(...t)=>void console.warn(...t),wt=(t,e)=>{if(xe.has(t))return Ve("Rivet archetypes can not be redefined");jn.set(t,typeof e=="function"?e:(n,...r)=>n(...r))},Wt=(t,e,n,r={})=>{if(xe.has(e))return Ve(`Rivet ${e} already registered`);if(!jn.has(t))return Ve("Rivet archetype unknown",t);xe.set(e,{archetype:t,handler:n,config:r})};function Xe({el:t,handle:e,handles:n,defaultOption:r,options:o}){var d;let i=n||[e],s=i.find(({type:h})=>h&&xe.has(h));if(!s)return Ve(`Unknown rivet type: ${(d=i[0])==null?void 0:d.type}`,t);let{handler:a,config:{defaultOption:l,priority:c=0,...f}={},archetype:u}=xe.get(s.type),p=l&&r?{[l]:r}:{};return[c,()=>jn.get(u)(a,t,{...p,...o||{}},s.name,f)]}function Ue(t){return t.sort(([e],[n])=>e-n)}var Qn="data-rvt";function xo(t=window.document.body){return qe(Kn)(t)}function Kn(t){if(t.hasAttributes()){let e=t.attributes;for(let n=e.length-1;n>=0;n--)if(e[n].name.indexOf(Qn)===0)return!0}return!1}function hl(t,e){let n=jt(t,e);return typeof n!="object"&&typeof n!="undefined"&&n!==""?{defaultOption:n,options:{}}:{options:n}}function ml(t){let e=new Set;for(let n=t.attributes.length-1;n>=0;n--){let r=t.attributes[n].name;if(r.indexOf(Qn)!==0)continue;let o=r.substr(Qn.length+1),i=o.split("-");e.add({el:t,handles:[{type:o,name:"default"},{name:i.pop(),type:i.join("-")}],...hl(t,r)})}return e}function Jn(t){return ut(Ue(Array.from(ml(t)).map(e=>Xe(e)).filter(e=>!!e)).map(([,e])=>e()))}function So(t,e){try{return t&&t.matches&&t.matches(e)}catch{}return!1}function Ge(t){try{return window.document.querySelectorAll(t)}catch(e){console.warn(e)}return[]}var To=!1,Ao=null,Eo,Zn=new Set,tr=new Set,je=new WeakMap,Jt=new WeakMap;function x(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 r={handler:e,selector:t,priority:n};Zn.add(r),To&&gl(r)}function gl(t){clearTimeout(Eo),tr.add(t),Eo=setTimeout(()=>{let e=Array.from(tr.values());tr.clear(),Co(e)},0)}function Co(t){t.sort(({priority:e},{priority:n})=>e-n),t.forEach(({selector:e,handler:n})=>
1{Array.from(Ge(e)).forEach(r=>{Qe(r,n,ko(e,r))})})}function ko(t,e){let n=t.match(/(data-[\w-]+)/g)||[];return n&&n.length?n=n.pop():n=null,n?jt(e,n):null}function Qe(t,e,n){try{if(vl(t,e)||!document.body.contains(t))return;yl(t,e);let r=ge(e.call(window,t,n));Array.isArray(r)&&r.map(o=>{Lo(t,o)}),typeof r=="function"&&Lo(t,r)}catch(r){console.warn("Failed to attach handler to element",t,e,n,r)}}function Lo(t,e){je.get(t)||je.set(t,new Set),je.get(t).add(e)}function vl(t,e){return Jt.get(t)&&Jt.get(t).get(e)}function yl(t,e){Jt.get(t)||Jt.set(t,new WeakMap),Jt.get(t).set(e,!0)}window.document.addEventListener("DOMContentLoaded",()=>{xo().forEach(t=>{Qe(t,e=>Jn(e))}),Co(Array.from(Zn.values())),Ao=new MutationObserver(function(t){t.reduce((e,n)=>{for(let r=0;r<n.addedNodes.length;r++)n.addedNodes[r].nodeType===1&&e.push(n.addedNodes[r]);return e},[]).forEach(function e(n){if(!!n){if(n.children&&n.children.length>0)for(let r=0;r<n.children.length;r++){if(!n)return;e(n.children[r])}Kn(n)&&Qe(n,r=>Jn(r)),Zn.forEach(({selector:r,handler:o})=>{n&&So(n,r)&&Qe(n,o,ko(r,n))})}}),t.reduce((e,n)=>{for(let r=0;r<n.removedNodes.length;r++){let o=n.removedNodes[r];o.nodeType===1&&!document.contains(o)&&e.push(o)}return e},[]).forEach(function e(n){if(n.children&&n.children.length>0)for(let o=0;o<n.children.length;o++)e(n.children[o]);let r=je.get(n);if(r)for(let o of r.values())o.call(window,n),r.delete(o),Jt.delete(n)})}),Ao.observe(window.document.body,{childList:!0,subtree:!0}),To=!0});var $={};Pn($,{container:()=>H,initState:()=>Ll,makeDetectStateChange:()=>Po,makeDispatch:()=>Tl,makeInspect:()=>Sl,subscribe:()=>Al});var H={providers:new Map,subscribers:new Map,relationships:new Map,providerIndex:new WeakMap,subscriberIndex:new WeakMap},Mo=(()=>{let t=0;return()=>t++})();function Po(t){let e={};return n=>{let r=t.filter(o=>e[o]!==n[o]);return t.forEach(o=>{e[o]=n[o]}),r}}var Io=(t,e)=>{var n,r;return(r=(n=H.subscriberIndex.get(t))==null?void 0:n.get(e))==null?void 0:r.id},Oo=t=>H.providers.get(H.relationships.get(t)),Ho=(t,e)=>Oo(Io(t,e)),bl=(t,e)=>H.providerIndex.has(t)&&H.providerIndex.get(t).has(e),Do=(t,e)=>{let n=qn(r=>bl(r,e))(t);return n?H.providerIndex.get(n).get(e):null},Zt=new WeakMap;window.addEventListener("rvt-store-provider",()=>{Zt=new WeakMap});var Wo=(t,e)=>(Zt.get(t)||Zt.set(t,{}),Zt.get(t).name||(Zt.get(t).name=H.providers.get(Do(t,e))),Zt.get(t).name),Ro=(t,e=!1)=>{let n=Oo(t);if(!n)return;let r=H.subscribers.get(t);if(!!r)for(let o of r.values()){let[i,s]=o;i(n.state,s(n.state),e)}},wl=(t,e,n)=>{let r,o=()=>{let s=H.relationships.get(t),a=Do(e,n);s!==a&&(H.relationships.set(t,a),clearTimeout(r),r=setTimeout(()=>Ro(t,!0),10))},i=it(window,"rvt-store-provider",o);return o(),()=>{clearTimeout(r),i()}},xl=(t,e)=>[typeof t=="function"?t:()=>{},Po(Array.isArray(e)?e:[])],Sl=(t,e)=>()=>{var n;return(n=Wo(t,e))==null?void 0:n.state},Tl=(t,e)=>n=>{var r;return(r=Wo(t,e))==null?void 0:r.dispatch(n)},Al=(t,e,n=()=>{},r=[])=>{let o=xl(n,r);if(H.subscriberIndex.has(t)||H.subscriberIndex.set(t,new Map),!H.subscriberIndex.get(t).has(e)){let s=Mo();H.subscribers.set(s,new Set),H.subscriberIndex.get(t).set(e,{id:s,teardown:wl(s,t,e)})}return H.subscribers.get(Io(t,e)).add(o),{unsubscribe:()=>{let{id:s,teardown:a}=H.subscriberIndex.get(t).get(e),l=H.subscribers.get(s);l.delete(o),l.size===0&&(H.subscribers.delete(s),H.relationships.delete(s),H.subscriberIndex.get(t).delete(e),a())},getState:()=>{var s,a;return(a=(s=Ho(t,e))==null?void 0:s.state)!=null?a:{}},dispatch:s=>{var a;return(a=Ho(t,e))==null?void 0:a.dispatch(s)}}},El=t=>typeof t!="function"?e=>e:(...e)=>t(...e),Cl=t=>{let e;return n=>{let{state:r,...o}=H.providers.get(t);H.providers.set(t,{...o,state:o.reducer(n(r))}),cancelAnimationFrame(e),e=requestAnimationFrame(()=>{for(let[i,s]of H.relationships)s===t&&Ro(i)})}},kl=(t,e,{_reducer:n,...r})=>
1{if(H.providerIndex.get(t)||H.providerIndex.set(t,new Map),H.providerIndex.get(t).has(e))return;let o=El(n),i=Mo();return H.providers.set(i,{reducer:o,state:o(r),dispatch:Cl(i)}),H.providerIndex.get(t).set(e,i),window.dispatchEvent(new CustomEvent("rvt-store-provider")),()=>{H.providers.delete(i),H.providerIndex.get(t).delete(e)}},Ll=(t,e={},n=window.document.documentElement)=>{if(!t){console.warn("States must set an ID",t,e,n);return}return kl(n,t,e)};var zo=ve(!1);function Rt(t){return zo.has(t)}Rt.enable=function(t){zo.set(t,!0)};var zt=(...t)=>Wt("action",...t),gt=(...t)=>Wt("observer",...t),qt=(...t)=>Wt("behavior",...t),Se=(...t)=>Wt("innate",...t),er=(...t)=>Wt("macro",...t),Z=(...t)=>Wt("event",...t);function Ml(t,e,n={},r="default"){let o={el:t,handle:{type:e,name:r}};return typeof n=="string"?(o.defaultOption=n,o.options={}):o.options=n,Xe(o)}function st(t){return ut(Ue(t.filter(e=>!!e).map(e=>Ml(...e)).filter(e=>!!e)).map(([,e])=>e()))}var{rivetListener:Pl,rivetDispatch:Il,expandElementValue:qo,onScanLazy:Ol}=T;wt("behavior");wt("innate");wt("macro",(t,e,n,r)=>t(e,st,n,r));wt("action",(t,e,n,r)=>{let o=()=>void t(e,qo(e,n));return Pl(e,r,i=>{n.defer?setTimeout(o,0):o()})});wt("event",(t,e,n,r)=>t(()=>Il(e,r),qo(e,n),e));wt("observer",(t,e,n,r="",{scan:o})=>{let[i,s=[]]=(typeof t=="function"?[t]:t)||[],a=i(e,n),[l,c]=Array.isArray(a)?a:[a,()=>{}],{unsubscribe:f,getState:u}=$.subscribe(e,r,l,s),p=o?Ol(()=>l(u(),[],!1,!0)):()=>{};return[f,c,p]});var{expandElementValue:Hl,getStateValue:Dl}=T;gt("outlet",(t,{key:e})=>{let n=t.innerHTML;return r=>{try{let o=Dl(r,Hl(t,e));t.innerHTML=typeof o=="undefined"?n:o}catch(o){console.warn("Unable to update Rivet outlet",o,{key:e,state:r,el:t})}}},{defaultOption:"key"});var{listener:Bo}=T,Wl=["click","focus","focusin","focusout","blur"];Wl.forEach(t=>{Z(`on${t}`,(e,{preventDefault:n=!0,stopPropagation:r=!1,once:o=!1},i)=>{let s;return Bo(i,t,a=>{o&&s||(s=!0,n&&a.preventDefault(),r&&a.stopPropagation(),e())})})});var Rl=["keydown","keyup"];Rl.forEach(t=>{Z(`on${t}`,(e,{key:n,preventDefault:r=!0,stopPropagation:o=!1,once:i=!1},s)=>{let a;return Bo(document,t,l=>{i&&a||(a=!0,l.key===n&&(r&&l.preventDefault(),o&&l.stopPropagation(),e()))})},{defaultOption:"key"})});var{throttle:zl,debounce:ql,onLoad:Bl,onScanLazy:$l,triggerScan:_l,listener:Ke}=T;Z("onready",t=>{setTimeout(()=>void t(),0)});Z("onload",t=>Bl(t));Z("onexit",(t,{delay:e=1e3,repeat:n=!1})=>{let r,o=!1;return Ke(document,"mouseout",i=>{clearTimeout(r),!i.toElement&&!i.relatedTarget&&!o&&(r=setTimeout(()=>void t(),e),n||(o=!0))})},{defaultOption:"delay"});Z("onresize",(t,{throttle:e=50})=>Ke(window,"resize",zl(t,e,{trailing:!0}),{passive:!0}),{defaultOption:"throttle"});Z("onresized",(t,{debounce:e=500})=>Ke(window,"resize",ql(t,e,{trailing:!0}),{passive:!0}),{defaultOption:"debounce"});Z("onscan",(t,e)=>$l(t,e),{defaultOption:"throttle"});x("img",t=>Ke(t,"load",()=>void _l()));var{animateTopOffset:Yl,makeDirectionalEasing:Fl,intersect:Nl}=T,$o,_o,Je=!1,Ze=new Map;function Yo(){$o=window.innerHeight}window.addEventListener("resize",Yo);Yo();function Vl(t,{prop:e,easingFn:n}){let{top:r,height:o}=t.getBoundingClientRect(),i=r+o/2,s=$o/2;t.style.setProperty(e,n((i-s)/s))}function Fo(){if(!!Je){for(let[t,e]of Ze)Vl(t,e);_o=requestAnimationFrame(Fo)}}var Xl=(t,e)=>{Ze.set(t,e),!Je&&(Je=!0,_o=requestAnimationFrame(Fo))},No=t=>{Ze.delete(t),Ze.size<=0&&(Je=!1)};qt("intersect",(t,{easing:e="linear",prop:n="--rvt-intersect"})=>[Nl(t,({isIntersecting:o})=>{o?Xl(t,{easingFn:Fl(e),prop:n}):No(t)},{threshold:0,top:"0px",bottom:"0px"}),()=>void No(t)],{defaultOption:"prop"});zt("scroll-to-top",(t,{offset:e,speed:n,easing:r="easeInOutExpo"})=>{Yl(e,n,r)},{defaultOption:"offset"});er("scroll-top",(t,e)=>e([[t,"onclick"],[t,"scroll-to-top"]]));var{ensureNumber:Vo,updateStateKey:Xo,getStateValue:Ul,expandElementValue:tn}=T;Se("define",(t,e={},n)=>{if(!n.match(/^\w+$/)){console.warn("Rivet state keys must be alphanumeric");return}let{_reducer:r,...o}=e.__value||e||{};$.initState(n,{_reducer:r,...tn(t,o)},t)},{defaultOption:"__value",priority:-1});zt("set",(t,{state:e,key:n,value:r})=>{$.makeDispatch(t,e)(o=>Xo(o,tn(t,n),r))});var Gl=(t,e,n)=>{let r=t.includes(e);return n&&r?t.filter(o=>o!==e):r?t:[...t,e]};zt("list",(t,{state:e,key:n,value:r,toggle:o=!0})=>{$.makeDispatch(t,e)(s=>
1{let a=tn(t,n),l=Ul(s,a);return Array.isArray(l)?Xo(s,a,Gl(l,r,o)):s})});zt("inc",(t,{state:e,key:n,amount:r=1,min:o=null,max:i=null,wrap:s=!1})=>{let a=$.makeDispatch(t,e),l=c=>Vo(c)+Vo(r);a(c=>{let f=tn(t,n);return f?{...c||{},[f]:l(c[f])}:l(c)})},{defaultOption:"state"});Se("debug",t=>{Rt.enable(t),t.removeAttribute("data-rvt-debug")},{defaultOption:"message"});var{isScalar:Uo,getTransitionDuration:jl,getStateValue:rr,expandElementValue:en,evaluateCondition:nn,listener:Ql,fontCompress:Kl,addClass:Go,removeClass:Jl}=T,Zl=(t,e)=>{let n=t||"$v";return Uo(n)?Uo(e)?`${n}`.replace("$v",e):n==="$v"?"":n:""};gt("classname",(t,{key:e,classname:n,condition:r})=>{let o="";return i=>{let s=rr(i,en(t,e)),l=nn(t,r,i,e)?Zl(n,s):"";l!==o&&(o&&t.classList.contains(o)&&t.classList.remove(o),l&&!t.classList.contains(l)&&t.classList.add(l)),o=l}},{defaultOption:"classname"});gt("prop",(t,{key:e,prop:n,value:r,condition:o})=>{let i=null;return s=>{let a=rr(s,en(t,e));nn(t,o,s,e)?a!==i&&t.style.setProperty(n,typeof r=="undefined"?a:r):a!==i&&t.style.removeProperty(n),i=a}},{defaultOption:"key"});gt("attr",(t,{key:e,attr:n,value:r,condition:o})=>{let i=null;return s=>{let a=rr(s,en(t,e));nn(t,o,s,e)?a!==i&&t.setAttribute(n,typeof r=="undefined"?a:r):a!==i&&t.removeAttribute(n),i=a}},{defaultOption:"key"});gt("height",(t,{key:e,condition:n,selector:r})=>{let o,i;return(s,a,l,c)=>{if(e&&!c){let u=en(t,e);if(s[u]===o)return;o=s[u]}let f=nn(t,n,s,e);setTimeout(()=>{if(f){let[u,...p]=Array.from(t.querySelectorAll(r)).map(d=>d.offsetHeight).sort((d,h)=>h-d);u&&u!==i&&(t.style.setProperty("height",`${u}px`,"important"),i=u)}else t.style.removeProperty("height"),i=null})}},{defaultOption:"selector",scan:!0});window.offscreenTemplates||(window.offscreenTemplates=new WeakMap);qt("offscreen-reset",(t,{mode:e="default"})=>{let n=t.closest("[data-x-toggleable]");if(window.offscreenTemplates.get(t))return;
1try{let l=document.createElement("textarea");l.innerHTML=t.querySelector('script[type="text/rvt-template"]').textContent;let c=document.createElement("div");c.innerHTML=l.innerText,window.offscreenTemplates.set(t,[l.innerText,c])}catch(l){return console.warn("Unable to locate content template",l),()=>{}}let r,o=()=>{try{let[l,c]=window.offscreenTemplates.get(t);Array.from(c.querySelectorAll("[data-x-toggleable]")).map(u=>u.getAttribute("data-x-toggleable")).forEach(u=>{window.xToggleDelete(u)}),t.innerHTML=l}catch(l){console.warn("Unable to reset offscreen content",l)}},i=()=>{t.innerHTML=""},s=()=>{r=setTimeout(()=>{i(),e==="close"&&o()},jl(n,300)+100)},a=l=>{clearTimeout(r),l?(e==="open"&&i(),o()):e!=="open"&&s()};return e==="close"&&o(),Ql(n,"tco-toggle",({detail:{state:l}={}})=>void a(l))},{defaultOption:"mode"});qt("font-compress",(t,e)=>Kl(t,e));var tc=(t,e)=>{try{if(e)return Array.from(t.querySelectorAll(e))}catch{}return t};qt("inner-wrap",(t,{selector:e="",tag:n="span",class:r=""})=>tc(t,e).map(o=>{let i=document.createElement(n);Go(i,"has-been-tagged"),r&&Go(i,r),Array.from(o.childNodes).forEach(s=>{i.appendChild(s)}),o.append(i),i.offsetHeight,Jl(i,"has-been-tagged")}),{defaultOption:"selector"});var or={...nr};function vt(t){return getComputedStyle(t)}function tt(t,e){for(var n in e){var r=e[n];typeof r=="number"&&(r=r+"px"),t.style[n]=r}return t}function rn(t){var e=document.createElement("div");return e.className=t,e}var jo=typeof Element!="undefined"&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function St(t,e){if(!jo)throw new Error("No element matching method supported");return jo.call(t,e)}function te(t){t.remove?t.remove():t.parentNode&&t.parentNode.removeChild(t)}function Qo(t,e){return Array.prototype.filter.call(t.children,function(n){return St(n,e)})}var V={main:"ps",rtl:"ps__rtl",element:{thumb:function(t){return"ps__thumb-"+t},rail:function(t){return"ps__rail-"+t},consuming:"ps__child--consume"},state:{focus:"ps--focus",clicking:"ps--clicking",active:function(t){return"ps--active-"+t},scrolling:function(t){return"ps--scrolling-"+t}}},Ko={x:null,y:null};function Jo(t,e){var n=t.element.classList,r=V.state.scrolling(e);n.contains(r)?clearTimeout(Ko[e]):n.add(r)}function Zo(t,e){Ko[e]=setTimeout(function(){return t.isAlive&&t.element.classList.remove(V.state.scrolling(e))},t.settings.scrollingThreshold)}function ec(t,e){Jo(t,e),Zo(t,e)}var Te=function(e){this.element=e,this.handlers={}},ti={isEmpty:{configurable:!0}};Te.prototype.bind=function(e,n){typeof this.handlers[e]=="undefined"&&(this.handlers[e]=[]),this.handlers[e].push(n),this.element.addEventListener(e,n,{bubbles:!1,passive:!1})};Te.prototype.unbind=function(e,n){var r=this;this.handlers[e]=this.handlers[e].filter(function(o){return n&&o!==n?!0:(r.element.removeEventListener(e,o,!1),!1)})};Te.prototype.unbindAll=function(){for(var e in this.handlers)this.unbind(e)};ti.isEmpty.get=function(){var t=this;return Object.keys(this.handlers).every(function(e){return t.handlers[e].length===0})};Object.defineProperties(Te.prototype,ti);var ee=function(){this.eventElements=[]};ee.prototype.eventElement=function(e){var n=this.eventElements.filter(function(r){return r.element===e})[0];return n||(n=new Te(e),this.eventElements.push(n)),n};ee.prototype.bind=function(e,n,r){this.eventElement(e).bind(n,r)};ee.prototype.unbind=function(e,n,r){var o=this.eventElement(e);o.unbind(n,r),o.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(o),1)};ee.prototype.unbindAll=function(){this.eventElements.forEach(function(e){return e.unbindAll()}),this.eventElements=[]};ee.prototype.once=function(e,n,r){var o=this.eventElement(e),i=function(s){o.unbind(n,i),r(s)};o.bind(n,i)};function on(t){if(typeof window.CustomEvent=="function")return new CustomEvent(t);var e=document.createEvent("CustomEvent");return e.initCustomEvent(t,!1,!1,void 0),e}function sn(t,e,n,r,o){r===void 0&&(r=!0),o===void 0&&(o=!1);var i;if(e==="top")i=["contentHeight","containerHeight","scrollTop","y","up","down"];else if(e==="left")i=["contentWidth","containerWidth","scrollLeft","x","left","right"];else throw new Error("A proper axis should be provided");nc(t,n,i,r,o)}function nc(t,e,n,r,o){var i=n[0],s=n[1],a=n[2],l=n[3],c=n[4],f=n[5];r===void 0&&(r=!0),o===void 0&&(o=!1);var u=t.element;t.reach[l]=null,u[a]<1&&(t.reach[l]="start"),u[a]>t[i]-t[s]-1&&(t.reach[l]="end"),e&&(u.dispatchEvent(on("ps-scroll-"+l)),e<0?u.dispatchEvent(on("ps-scroll-"+c)):e>0&&u.dispatchEvent(on("ps-scroll-"+f)),r&&ec(t,l)),t.reach[l]&&(e||o)&&u.dispatchEvent(on("ps-"+l+"-reach-"+t.reach[l]))}function Y(t){return parseInt(t,10)||0}function rc(t){return St(t,"input,[contenteditable]")||St(t,"select,[contenteditable]")||St(t,"textarea,[contenteditable]")||St(t,"button,[contenteditable]")}function oc(t){var e=vt(t);return Y(e.width)+Y(e.paddingLeft)+Y(e.paddingRight)+Y(e.borderLeftWidth)+Y(e.borderRightWidth)}var ne={isWebKit:typeof document!="undefined"&&"WebkitAppearance"in document.documentElement.style,supportsTouch:typeof window!="undefined"&&("ontouchstart"in window||"maxTouchPoints"in window.navigator&&window.navigator.maxTouchPoints>0||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:typeof navigator!="undefined"&&navigator.msMaxTouchPoints,isChrome:typeof navigator!="undefined"&&/Chrome/i.test(navigator&&navigator.userAgent)};function xt(t){var e=t.element,n=Math.floor(e.scrollTop),r=e.getBoundingClientRect();t.containerWidth=Math.round(r.width),t.containerHeight=Math.round(r.height),t.contentWidth=e.scrollWidth,t.contentHeight=e.scrollHeight,e.contains(t.scrollbarXRail)||(Qo(e,V.element.rail("x")).forEac
1h(function(o){return te(o)}),e.appendChild(t.scrollbarXRail)),e.contains(t.scrollbarYRail)||(Qo(e,V.element.rail("y")).forEach(function(o){return te(o)}),e.appendChild(t.scrollbarYRail)),!t.settings.suppressScrollX&&t.containerWidth+t.settings.scrollXMarginOffset<t.contentWidth?(t.scrollbarXActive=!0,t.railXWidth=t.containerWidth-t.railXMarginWidth,t.railXRatio=t.containerWidth/t.railXWidth,t.scrollbarXWidth=ei(t,Y(t.railXWidth*t.containerWidth/t.contentWidth)),t.scrollbarXLeft=Y((t.negativeScrollAdjustment+e.scrollLeft)*(t.railXWidth-t.scrollbarXWidth)/(t.contentWidth-t.containerWidth))):t.scrollbarXActive=!1,!t.settings.suppressScrollY&&t.containerHeight+t.settings.scrollYMarginOffset<t.contentHeight?(t.scrollbarYActive=!0,t.railYHeight=t.containerHeight-t.railYMarginHeight,t.railYRatio=t.containerHeight/t.railYHeight,t.scrollbarYHeight=ei(t,Y(t.railYHeight*t.containerHeight/t.contentHeight)),t.scrollbarYTop=Y(n*(t.railYHeight-t.scrollbarYHeight)/(t.contentHeight-t.containerHeight))):t.scrollbarYActive=!1,t.scrollbarXLeft>=t.railXWidth-t.scrollbarXWidth&&(t.scrollbarXLeft=t.railXWidth-t.scrollbarXWidth),t.scrollbarYTop>=t.railYHeight-t.scrollbarYHeight&&(t.scrollbarYTop=t.railYHeight-t.scrollbarYHeight),ic(e,t),t.scrollbarXActive?e.classList.add(V.state.active("x")):(e.classList.remove(V.state.active("x")),t.scrollbarXWidth=0,t.scrollbarXLeft=0,e.scrollLeft=t.isRtl===!0?t.contentWidth:0),t.scrollbarYActive?e.classList.add(V.state.active("y")):(e.classList.remove(V.state.active("y")),t.scrollbarYHeight=0,t.scrollbarYTop=0,e.scrollTop=0)}function ei(t,e){return t.settings.minScrollbarLength&&(e=Math.max(e,t.settings.minScrollbarLength)),t.settings.maxScrollbarLength&&(e=Math.min(e,t.settings.maxScrollbarLength)),e}function ic(t,e){var n={width:e.railXWidth},r=Math.floor(t.scrollTop);e.isRtl?n.left=e.negativeScrollAdjustment+t.scrollLeft+e.containerWidth-e.contentWidth:n.left=t.scrollLeft,e.isScrollbarXUsingBottom?n.bottom=e.scrollbarXBottom-r:n.top=e.scrollbarXTop+r,tt(e.scrollbarXRail,n);var o={top:r,height:e.railYHeight};e.isScrollbarYUsingRight?e.isRtl?o.right=e.contentWidth-(e.negativeScrollAdjustment+t.scrollLeft)-e.scrollbarYRight-e.scrollbarYOuterWidth-9:o.right=e.scrollbarYRight-t.scrollLeft:e.isRtl?o.left=e.negativeScrollAdjustment+t.scrollLeft+e.containerWidth*2-e.contentWidth-e.scrollbarYLeft-e.scrollbarYOuterWidth:o.left=e.scrollbarYLeft+t.scrollLeft,tt(e.scrollbarYRail,o),tt(e.scrollbarX,{left:e.scrollbarXLeft,width:e.scrollbarXWidth-e.railBorderXWidth}),tt(e.scrollbarY,{top:e.scrollbarYTop,height:e.scrollbarYHeight-e.railBorderYWidth})}function sc(t){var e=t.element;t.event.bind(t.scrollbarY,"mousedown",function(n){return n.stopPropagation()}),t.event.bind(t.scrollbarYRail,"mousedown",function(n){var r=n.pageY-window.pageYOffset-t.scrollbarYRail.getBoundingClientRect().top,o=r>t.scrollbarYTop?1:-1;t.element.scrollTop+=o*t.containerHeight,xt(t),n.stopPropagation()}),t.event.bind(t.scrollbarX,"mousedown",function(n){return n.stopPropagation()}),t.event.bind(t.scrollbarXRail,"mousedown",function(n){var r=n.pageX-window.pageXOffset-t.scrollbarXRail.getBoundingClientRect().left,o=r>t.scrollbarXLeft?1:-1;t.element.scrollLeft+=o*t.containerWidth,xt(t),n.stopPropagation()})}function ac(t){ni(t,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),ni(t,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])}function ni(t,e){var n=e[0],r=e[1],o=e[2],i=e[3],s=e[4],a=e[5],l=e[6],c=e[7],f=e[8],u=t.element,p=null,d=null,h=null;function m(v){v.touches&&v.touches[0]&&(v[o]=v.touches[0].pageY),u[l]=p+h*(v[o]-d),Jo(t,c),xt(t),v.stopPropagation(),v.type.startsWith("touch")&&v.changedTouches.length>1&&v.preventDefault()}function y(){Zo(t,c),t[f].classList.remove(V.state.clicking),t.event.unbind(t.ownerDocument,"mousemove",m)}function g(v,b){p=u[l],b&&v.touches&&(v[o]=v.touches[0].pageY),d=v[o],h=(t[r]-t[n])/(t[i]-t[a]),b?t.event.bind(t.ownerDocument,"touchmove",m):(t.event.bind(t.ownerDocument,"mousemove",m),t.event.once(t.ownerDocument,"mouseup",y),v.preventDefault()),t[f].classList.add(V.state.clicking),v.stopPropagation()}t.event.bind(t[s],"mousedown",function(v){g(v)}),t.event.bind(t[s],"touchstart",function(v){g(v,!0)})}function lc(t){var e=t.element,n=function(){return St(e,":hover")}
1,r=function(){return St(t.scrollbarX,":focus")||St(t.scrollbarY,":focus")};function o(i,s){var a=Math.floor(e.scrollTop);if(i===0){if(!t.scrollbarYActive)return!1;if(a===0&&s>0||a>=t.contentHeight-t.containerHeight&&s<0)return!t.settings.wheelPropagation}var l=e.scrollLeft;if(s===0){if(!t.scrollbarXActive)return!1;if(l===0&&i<0||l>=t.contentWidth-t.containerWidth&&i>0)return!t.settings.wheelPropagation}return!0}t.event.bind(t.ownerDocument,"keydown",function(i){if(!(i.isDefaultPrevented&&i.isDefaultPrevented()||i.defaultPrevented)&&!(!n()&&!r())){var s=document.activeElement?document.activeElement:t.ownerDocument.activeElement;if(s){if(s.tagName==="IFRAME")s=s.contentDocument.activeElement;else for(;s.shadowRoot;)s=s.shadowRoot.activeElement;if(rc(s))return}var a=0,l=0;switch(i.which){case 37:i.metaKey?a=-t.contentWidth:i.altKey?a=-t.containerWidth:a=-30;break;case 38:i.metaKey?l=t.contentHeight:i.altKey?l=t.containerHeight:l=30;break;case 39:i.metaKey?a=t.contentWidth:i.altKey?a=t.containerWidth:a=30;break;case 40:i.metaKey?l=-t.contentHeight:i.altKey?l=-t.containerHeight:l=-30;break;case 32:i.shiftKey?l=t.containerHeight:l=-t.containerHeight;break;case 33:l=t.containerHeight;break;case 34:l=-t.containerHeight;break;case 36:l=t.contentHeight;break;case 35:l=-t.contentHeight;break;default:return}t.settings.suppressScrollX&&a!==0||t.settings.suppressScrollY&&l!==0||(e.scrollTop-=l,e.scrollLeft+=a,xt(t),o(a,l)&&i.preventDefault())}})}function cc(t){var e=t.element;function n(s,a){var l=Math.floor(e.scrollTop),c=e.scrollTop===0,f=l+e.offsetHeight===e.scrollHeight,u=e.scrollLeft===0,p=e.scrollLeft+e.offsetWidth===e.scrollWidth,d;return Math.abs(a)>Math.abs(s)?d=c||f:d=u||p,d?!t.settings.wheelPropagation:!0}function r(s){var a=s.deltaX,l=-1*s.deltaY;return(typeof a=="undefined"||typeof l=="undefined")&&(a=-1*s.wheelDeltaX/6,l=s.wheelDeltaY/6),s.deltaMode&&s.deltaMode===1&&(a*=10,l*=10),a!==a&&l!==l&&(a=0,l=s.wheelDelta),s.shiftKey?[-l,-a]:[a,l]}function o(s,a,l){if(!ne.isWebKit&&e.querySelector("select:focus"))return!0;if(!e.contains(s))return!1;for(var c=s;c&&c!==e;){if(c.classList.contains(V.element.consuming))return!0;var f=vt(c);if(l&&f.overflowY.match(/(scroll|auto)/)){var u=c.scrollHeight-c.clientHeight;if(u>0&&(c.scrollTop>0&&l<0||c.scrollTop<u&&l>0))return!0}if(a&&f.overflowX.match(/(scroll|auto)/)){var p=c.scrollWidth-c.clientWidth;if(p>0&&(c.scrollLeft>0&&a<0||c.scrollLeft<p&&a>0))return!0}c=c.parentNode}return!1}function i(s){var a=r(s),l=a[0],c=a[1];if(!o(s.target,l,c)){var f=!1;t.settings.useBothWheelAxes?t.scrollbarYActive&&!t.scrollbarXActive?(c?e.scrollTop-=c*t.settings.wheelSpeed:e.scrollTop+=l*t.settings.wheelSpeed,f=!0):t.scrollbarXActive&&!t.scrollbarYActive&&(l?e.scrollLeft+=l*t.settings.wheelSpeed:e.scrollLeft-=c*t.settings.wheelSpeed,f=!0):(e.scrollTop-=c*t.settings.wheelSpeed,e.scrollLeft+=l*t.settings.wheelSpeed),xt(t),f=f||n(l,c),f&&!s.ctrlKey&&(s.stopPropagation(),s.preventDefault())}}typeof window.onwheel!="undefined"?t.event.bind(e,"wheel",i):typeof window.onmousewheel!="undefined"&&t.event.bind(e,"mousewheel",i)}function uc(t){if(!ne.supportsTouch&&!ne.supportsIePointer)return;var e=t.element;function n(h,m){var y=Math.floor(e.scrollTop),g=e.scrollLeft,v=Math.abs(h),b=Math.abs(m);if(b>v){if(m<0&&y===t.contentHeight-t.containerHeight||m>0&&y===0)return window.scrollY===0&&m>0&&ne.isChrome}else if(v>b&&(h<0&&g===t.contentWidth-t.containerWidth||h>0&&g===0))return!0;return!0}function r(h,m){e.scrollTop-=m,e.scrollLeft-=h,xt(t)}var o={},i=0,s={},a=null;function l(h){return h.targetTouches?h.targetTouches[0]:h}function c(h){return h.pointerType&&h.pointerType==="pen"&&h.buttons===0?!1:!!(h.targetTouches&&h.targetTouches.length===1||h.pointerType&&h.pointerType!=="mouse"&&h.pointerType!==h.MSPOINTER_TYPE_MOUSE)}function f(h){if(!!c(h)){var m=l(h);o.pageX=m.pageX,o.pageY=m.pageY,i=new Date().getTime(),a!==null&&clearInterval(a)}}function u(h,m,y){if(!e.contains(h))return!1;for(var g=h;g&&g!==e;){if(g.classList.contains(V.element.consuming))return!0;var v=vt(g);if(y&&v.overflowY.match(/(scroll|auto)/)){var b=g.scrollHeight-g.clientHeight;if(b>0&&(g.scrollTop>0&&y<0||g.scrollTop<b&&y>0))return!0}if(m&&v.overflowX.match(/(scroll|auto)/)){var A=g.scrollWidth-g.clientWidth;if(A>0&&(g.scrollLeft>0&&m<0||g.scrollLeft<A&&m>0))return!0}g=g.parentNode}return!1}function p(h){if(c(h)){var m=l(h),y={pageX:m.pageX,pageY:m.pageY},g=y.pageX-o.pageX,v=y.pageY-o.pageY;if(u(h.target,g,v))return;r(g,v),o=y;var b=new Date().getTime(),A=b-i;A>0&&(s.x=g/A,s.y=v/A,i=b),n(g,v)&&h.preventDefault()}}function d(){t.settings.swipeEasing&&(clearInterval(a),a=setInterval(function(){if(t.isInitialized){clearInterval(a);return}if(!s.x&&!s.y){clearInterval(a);return}if(Math.abs(s.x)<.01&&Math.abs(s.y)<.01){clearInterval(a);return}if(!t.element){clearInterval(a);return}r(s.x*30,s.y*30),s.x*=.8,s.y*=.8},10))}ne.supportsTouch?(t.event.bind(e,"touchstart",f),t.event.bind(e,"touchmove",p),t.event.bind(e,"touchend",d)):ne.supportsIePointer&&(window.PointerEvent?(t.event.bind(e,"pointerdown",f),t.event.bind(e,"pointermove",p),t.event.bind(e,"pointerup",d)):window.MSPointerEvent&&(t.event.bind(e,"MSPointerDown",f),t.event.bind(e,"MSPointerMove",p),t.event.bind(e,"MSPointerUp",d)))}var dc=function(){return{handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1}},fc={"click-rail":sc,"drag-thumb":ac,keyboard:lc,wheel:cc,touch:uc},Ae=function(e,n){var r=this;if(n===void 0&&(n={}),typeof e=="string"&&(e=document.querySelector(e)),!e||!e.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");this.element=e,e.classList.add(V.main),this.settings=dc();for(var o in n)this.settings[o]=n[o];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var i=function(){return e.classList.add(V.state.focus)},s=function(){return e.classList.remove(V.state.focus)};this.isRtl=vt(e).direction==="rtl",this.isRtl===!0&&e.classList.add(V.rtl),this.isNegativeScroll=function(){var c=e.scrollLeft,f=null;return e.scrollLeft=-1,f=e.scrollLeft<0,e.scrollLeft=c,f}(),this.negativeScrollAdjustment=this.isNegativeScroll?e.scrollWidth-e.clientWidth:0,this.event=new ee,this.ownerDocument=e.ownerDocument||document,this.scrollbarXRail=rn(V.element.rail("x")),e.appendChild(this.scrollbarXRail),this.scrollbarX=rn(V.element.thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",i),this.event.bind(this.scrollbarX,"blur",s),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var a=vt(this.scrollbarXRail);this.scrollbarXBottom=parseInt(a.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=Y(a.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=Y(a.borderLeftWidth)+Y(a.borderRightWidth),tt(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=Y(a.marginLeft)+Y(a.marginRight),tt(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=rn(V.element.rail("y")),e.appendChild(this.scrollbarYRail),this.scrollbarY=rn(V.element.thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",i),this.event.bind(this.scrollbarY,"blur",s),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var l=vt(this.scrollbarYRail);this.scrollbarYRight=parseInt(l.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=Y(l.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?oc(this.scrollbarY):null,this.railBorderYWidth=Y(l.borderTopWidth)+Y(l.borderBottomWidth),tt(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=Y(l.marginTop)+Y(l.marginBottom),tt(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:e.scrollLeft<=0?"start":e.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:e.scrollTop<=0?"start":e.scrollTop>=this.contentHeight-this.containerHeight?"end":null}
1,this.isAlive=!0,this.settings.handlers.forEach(function(c){return fc[c](r)}),this.lastScrollTop=Math.floor(e.scrollTop),this.lastScrollLeft=e.scrollLeft,this.event.bind(this.element,"scroll",function(c){return r.onScroll(c)}),xt(this)};Ae.prototype.update=function(){!this.isAlive||(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,tt(this.scrollbarXRail,{display:"block"}),tt(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=Y(vt(this.scrollbarXRail).marginLeft)+Y(vt(this.scrollbarXRail).marginRight),this.railYMarginHeight=Y(vt(this.scrollbarYRail).marginTop)+Y(vt(this.scrollbarYRail).marginBottom),tt(this.scrollbarXRail,{display:"none"}),tt(this.scrollbarYRail,{display:"none"}),xt(this),sn(this,"top",0,!1,!0),sn(this,"left",0,!1,!0),tt(this.scrollbarXRail,{display:""}),tt(this.scrollbarYRail,{display:""}))};Ae.prototype.onScroll=function(e){!this.isAlive||(xt(this),sn(this,"top",this.element.scrollTop-this.lastScrollTop),sn(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)};Ae.prototype.destroy=function(){!this.isAlive||(this.event.unbindAll(),te(this.scrollbarX),te(this.scrollbarY),te(this.scrollbarXRail),te(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)};Ae.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(e){return!e.match(/^ps([-_].+|)$/)}).join(" ")};var ri=Ae;var{toggleClass:oi}=T,ir=ri;x("[data-x-bar]",(t,{scrollButtons:e})=>{if(!e)return;let n=t.querySelector(".x-bar-scroll-inner"),r=t.querySelector(".x-bar-content"),o=t.querySelector('[data-x-bar-scroll-button="bck"]'),i=t.querySelector('[data-x-bar-scroll-button="fwd"]'),s=0,a=0,l=0,c=0,f=()=>{let m=parseInt(window.getComputedStyle(n).width),y=parseInt(window.getComputedStyle(n,":before").width),g=parseInt(window.getComputedStyle(r).width);s=m,a=m-y*2,l=g,c=n.scrollLeft;let v=c<=0,b=l-c-a<=0;oi(o,"is-active",!v),oi(i,"is-active",!b)},u=m=>n.scrollTo({top:0,left:m,behavior:"smooth"}),p=()=>{u(Math.max(c-s,0))},d=()=>{u(Math.min(c+s,l-a))};f();let h=J(f,50);window.addEventListener("resize",h),n.addEventListener("scroll",h,{passive:!0}),o.addEventListener("mouseup",function(){p()}),i.addEventListener("mouseup",function(){d()})});x("[data-x-scrollbar]",(t,e)=>new ir(t,e));var re={},oe={};function pc(t,e){re[t]||(re[t]=[]),re[t].push(typeof e=="function"?e:()=>e)}function hc(t,e){oe[t]||(oe[t]=[]),oe[t].push(e)}function mc(){let t=[...arguments],e=t.shift(),n=t.shift(),r=re[e]?re[e]:[];return(oe[e]?oe[e]:[]).forEach(i=>i.call(this,n,...t)),r.reduce((i,s)=>s.call(this,i,...t),n)}var Q={filter:pc,action:hc,apply:mc,filters:re,actions:oe};var{animateTopOffset:gc,scrollOffset:vc}=T,ie,ii=!1,sr;function si(){if(!ii){ie=0;let t=J(si,50);window.addEventListener("resize",t,{passive:!0}),sr=document.querySelector("#wpadminbar"),ii=!0}if(sr){let{position:t,height:e}=window.getComputedStyle(sr);ie=t==="fixed"?parseInt(e):0}return ie}var et=()=>ie!=null?ie:si(),se=()=>Q.apply("fixed_top_offset",0),yc=(t,e,n)=>{if(t instanceof Element){let{bottom:r,top:o}=vc(t);return e?r-n:o+n}return(typeof t=="number"?t:parseFloat(t))+n},ai=(t,{offsetTop:e=!0,duration:n,easing:r,bottom:o=!1}={})=>{gc(()=>yc(t,o,e?se():0),n,r)};window.csGlobal=window.csGlobal||{};window.csJsData=window.csJsData||{};window.csGlobal.rivet=or;window.csGlobal._=window.csGlobal.rivet.util;window.csGlobal.everinit=or.attach;window.csGlobal.PerfectScrollbar=ir;window.csGlobal.adminBarOffset=et;window.csGlobal.fixedTopOffset=se;window.csGlobal.scrollTo=ai;window.csGlobal.csHooks=Q;window.document.documentElement.classList.remove("no-js");window.document.documentElement.classList.add("js");var{onScroll:bc,onResize:wc,oncePassive:li,elementIndex:ci,addClass:ar,removeClass:lr,toggleClass:fh,hasClass:ae}=T,ui=t=>getComputedStyle(t).display!=="none";function di(t){var f,u,p;let e=document.querySelector(".x-site");if(!e){t.style.width="100%";return}var n=window.getComputedStyle(t);if(n.position!=="fixed"){t.style.width="",t.style.maxWidth="";return}var r=[];fi(n["margin-left"])||r.push(n["margin-left"]),fi(n["margin-right"])||r.push(n["margin-right"]);var o="";r.length>0&&(o=r.length===1?r[0]:"("+r.join(" + ")+")");let i=(p=(u=(f=document.querySelector("body.x-stack-icon .x-sidebar .max.width:not(.x-container)"))==null?void 0:f.parentElement)==null?void 0:u.offsetWidth)!=null?p:0,s=Array.from(document.querySelectorAll(".x-bar-space-v")).reduce((d,h)=>d+h.offsetWidth,i);var a="";s>0&&(a+=" - "+s+"px"),o&&(a+=" - "+o),t.style.width=a?"calc(100%"+a+")":"100%";var l=window.getComputedStyle(e),c=l["max-width"];c&&c!=="none"&&(t.style.maxWidth=o?"calc("+c+" - "+o+")":c)}function fi(t){return t.trim().split(" ").filter(e=>!e.match(/^0[a-zA-Z%]+|0$|none$/)).length===0}
1x("[data-x-bar]",function(t,e){if(e.region==="top"||e.region==="bottom")return T.onViewportChange(()=>{di(t)},!0)});var an=/__cs_debug/.test(location.href),pi=!1,le=[],Tt=[],Bt=[],cr,Ee=!1;function ln(t){let e=le.map(o=>o.id),n=!1,r=le.filter(({el:o,id:i})=>{let s=e.indexOf(i);return s!==e.lastIndexOf(i)?(n=!0,e.splice(s,1),!1):window.document.body.contains(o)?!0:(n=!0,!1)});return(n||t)&&(r=r.sort((o,i)=>ci(o.el)-ci(i.el))),n?(le=r,Tt=le,setTimeout(ur,0),!0):!1}function ur(){if(ln()||!et)return;Tt=le.filter(({el:o})=>ui(o));let t=et(),e=0,n=0,r=0;Ac(),Tt.forEach(o=>{let i=parseFloat(o.props.shrink);var{height:s}=o.el.getBoundingClientRect();o.height=s=Math.round(s),o.goal&&o.space&&(o.space.style.height=s+"px"),(!o.goal||!o.shrinkHeight)&&(o.shrinkHeight=isNaN(i)?o.height:o.height*i),o.triggerOffset=parseInt(o.props.triggerOffset),isNaN(o.triggerOffset)&&(o.triggerOffset=0)}),Bt=Tt.map((o,i)=>{let{el:s,props:a,height:l,shrinkHeight:c,triggerOffset:f,goal:u}=o,p=r++===0,d=a.zStack&&!p,{marginTop:h}=getComputedStyle(s);var m=parseFloat(h),y=a.keepMargin?m:0,{top:g}=s.getBoundingClientRect();let v=0,A=s.parentNode.getBoundingClientRect().top-et();A+=window.scrollY;let k=s.parentNode.childNodes;for(let nt=0;nt<k.length;++nt){let N=k[nt];if(!!N.getBoundingClientRect){if(N===s)break;ae(N,"x-bar-space")||ae(N,"x-bar-is-sticky")||(v+=N.getBoundingClientRect().height)}}g=A+f+(v-e)+et();let w=f+v+A+et(),E=document.body.scrollTop,C=E+g;if(a.triggerSelector)try{if(document.querySelector(a.triggerSelector)){let{top:N}=s.getBoundingClientRect();w=N+E+f-c}}catch(nt){an&&console.warn(nt)}else a.hideInitially?(w+=l,w+=f):f>0&&(w+=f+l);d?w+=c:w-=y;let P=et()+e;mi(w,"red");let F=t+n;a.keepMargin||(F+=m,P-=m),w=Math.floor(w),mi(w,"green"),t=w,d?(P-=c+y,P=Math.max(P,et())):e+=c+y;let q=a.hideInitially||C<w||C+l<P;n+=l-c,an&&console.log(`Bar: ${r}`,{shrinkDiff:n,heightStack:e,offset:w,top:P,slide:q});let X=P+c;a.keepMargin&&(X+=m);let K=y?`calc( -100% - ${y}px)`:"-100%";return u&&P!==Bt[i].top&&(s.style.top=`${P}px`),{offset:w,top:P,slide:q,elOffset:C,topOffset:X,translateY:K,firstBar:p}}),cn()}function cn(){if(Ee||ln())return;let t=window.scrollY+et(),e=Bt.reduce((r,{offset:o},i)=>t>=o?i:r,-1),n=!1;Tt.forEach((r,o)=>{let i=r.goal;r.goal=e>=o,i!==r.goal&&(n=!0)}),n&&hi()}function hi(){if(Ee)return;let t=xc();t?(Ee=!0,t(()=>{Ee=!1,hi()})):(Ee=!1,setTimeout(cn,0))}function xc(){let t=-1,e=Tt.map(({goal:n,el:r})=>({goal:n,fixed:ae(r,"x-bar-fixed")}));if(e.forEach(({goal:n,fixed:r},o)=>{let i=n===r;!i&&t===-1&&(t=o),!i&&o>0&&e[o-1].fixed&&Bt[o].slide&&(t=o)}),t!==-1){let n=Tt[t],r=n.goal;if(!r&&!ae(n.el,"x-bar-fixed"))return!1;let o=r?Sc:Tc;return i=>o(Tt[t],Bt[t],{st:window.scrollY,done:i})}return!1}function Sc({el:t,space:e,content:n,shrinkHeight:r,height:o},{top:i,slide:s,elOffset:a,translateY:l,firstBar:c},{st:f,done:u}){let p={top:`${i}px`},d=s||!c&&a+r<f+i;if(r&&o!==r){p.height=r;let{paddingTop:g,paddingBottom:v}=getComputedStyle(t);n.style.height=`calc(${r}px - (${g} + ${v}))`,t.style.height=`calc(${r}px - (${g} + ${v}))`}else if(e){let{height:g}=t.getBoundingClientRect();e.style.height=g+"px"}d&&(p.transform=`translate3d( 0, ${l}, 0)`);let h=()=>u();Object.entries(p).forEach(([g,v])=>{t.style.setProperty(g,v)}),cr.forEach(g=>void ar(t,g)),lr(t,"x-bar-is-initially-hidden"),di(t),e&&(e.style.display="",e.style.height=o+"px");let y=window.getComputedStyle(t)["transition-duration"];y=y?parseFloat(y.replace("s","")):0,d?(ar(t,"x-bar-is-visible"),t.style.transform="",y!==0?li(t,"transitionend",h):u()):u()}function Tc({el:t,space:e,props:n,content:r,shrinkHeight:o},{slide:i,elOffset:s,translateY:a,firstBar:l},{st:c,done:f}){let u=parseFloat(n.shrink),p=!1,d=i||!l&&s+o<c+top;function h(){let g=window.getComputedStyle(t)["transition-duration"];if(g=g?parseFloat(g.replace("s","")):0,g===0){m();return}li(t,"transitionend",m),setTimeout(m,g*1e3+100)}n.hideInitially&&ar(t,"x-bar-is-initially-hidden");function m(){p||(p=!0,e&&(e.style.display="none"),r.style.height="",t.style.top="",t.style.transform="",t.style.height="",t.style.width="",cr.forEach(y=>lr(t,y)),lr(t,"x-bar-is-visible"),f())}d?(t.style.transform=`translate3d( 0, ${a}, 0)`,h()):!isNaN(u)&&u<1?(r.style.height="",t.style.height="",h()):m()}function Ac(){!an||Ge(".cs-sticky-bar-waypoint-debug").forEach(function(t){t.remove()})}function mi(t,e="red",n="white"){if(!an)return;let r=`<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;
1 transform: translate3d(0,-50%,0);";>${t}</span></div>`,o=document.createElement("div");o.innerHTML=r,document.body.appendChild(o.childNodes[0])}function Ec(){var t,e;return(e=(t=Bt[Bt.length-1])==null?void 0:t.topOffset)!=null?e:0}Q.filter("fixed_top_offset",t=>Math.max(t,Ec()-et()));var dr=()=>{ln(!0)||ur()},fr=()=>{ln(!0),ur()};function Cc(){if(typeof window.ResizeObserver=="undefined")return;let t=window.document.body.clientHeight;new ResizeObserver(J(function(n){!n||t!==window.document.body.clientHeight&&(t=window.document.body.clientHeight,dr())},100)).observe(document.body)}x("[data-x-bar]",(t,e)=>{pi||(cr=(ae(document.body,"x-boxed-layout-active")?"x-bar-fixed x-container max width":"x-bar-fixed").split(" "),mt(dr),wc(dr),bc(cn),Cc(),pi=!0);let{id:n,region:r}=e;if(!ae(t,"x-bar-is-sticky")||r!=="top")return;var{top:o,height:i}=t.getBoundingClientRect();i=Math.round(i);let s=document.querySelector(`.${n}.x-bar-space`);return s&&(s.style.height=i+"px"),le.push({id:n,el:t,props:e,height:i,shrinkHeight:isNaN(e.shrink)?i:i*e.shrink,space:s,content:t.querySelector(".x-bar-content"),visible:ui(t),startingRectTop:o}),fr(),setTimeout(function(){fr()},1e3),function(){fr(),cn()}});var{listener:kc,once:Lc}=T;x('.x-alert [data-dismiss="alert"]',t=>kc(t,"click",e=>{e.preventDefault();let n=t.parentElement;n.classList.remove("in"),Lc(n,"transitionend",()=>{n.remove()})}));var{subtractVectors:$t,debounce:Mc,teardown:Pc,listener:_t,divideVectors:gi,clampVector:Ic,vectorsEq:Oc,addVectors:pr,absVector:Hc,roundVector:vi,multiplyVectors:hr}=T,un=.065,Dc=75e-6,yi=3,bi=7,Wc=3,dn=t=>!1,Rc=Dc*-1;function zc(t,{canBeginMove:e=()=>!0,onBeginMove:n=()=>{},onEndMove:r=()=>{},onMove:o=()=>{},onClick:i=()=>{},className:s="is-drag",drag:a,click:l,scroll:c,checkY:f=!1}){let u,p=null,d=!1,h=!1,m=!1,y,g=0,v=[],b=!0,A=(S,_)=>{y||(y=S.timeStamp);let O=y-S.timeStamp;y=S.timeStamp;let kn=$t(u,_);u=_;let M=Ic(gi(kn,[O,O]),bi*-1,bi);return v.push(M),v.length>Wc&&v.shift(),g=gi(v.reduce((W,D)=>pr(W,D)),[v.length,v.length]),[_,g]},k=({clientX:S,clientY:_})=>[S,_],w=S=>{var _;return S.type.includes("touch")?k((_=S.touches[0])!=null?_:S.changedTouches[0]):k(S)},E=([S,_])=>Math.abs(S)>yi||f&&Math.abs(_)>yi,C=S=>{p=w(S),u=p,v=[]},P=S=>$t(p,w(S)),F=S=>{dn("POINTER START"),a&&!m&&e(S)&&(C(S),t.addEventListener("pointermove",K))},q=S=>{dn("TOUCH START"),a&&!m&&e(S)&&(h=!0,C(S),t.removeEventListener("pointermove",K),t.addEventListener("touchmove",nt))},X=S=>{if(dn("DRAG",S.type),d)S.cancelable&&S.preventDefault(),o(...A(S,P(S)));else{S.type==="pointermove"&&t.setPointerCapture(S.pointerId);let _=P(S);E(_)&&(C(S),d=!0,n(...A(S,_),!1,S),s&&t.classList.add(s))}},K=S=>{X(S)},nt=S=>{X(S)},N=(S,_)=>{y=null,!(S.type.includes("pointer")&&(t.removeEventListener("pointermove",K),t.releasePointerCapture(S.pointerId),h))&&(S.type.includes("touch")&&(t.removeEventListener("touchmove",nt),h=!1),!!d&&(dn("END",S.type,_),r(P(S),g,!1,_),s&&t.classList.remove(s),d=!1))},It=S=>{N(S),l&&S.target!==t&&!h&&i(S.target)},Vt=S=>void N(S,!0),I=S=>void N(S),z=S=>void N(S),B=S=>{m?o(S,[0,0],!0):(m=!0,n([0,0],[0,0],!0)),rt()},rt=Mc(()=>{m=!1,r([0,0],[0,0],!0)},200),ft=S=>{if(!d){let _=[S.deltaX,S.deltaY],O=Hc(_);O[0]>O[1]&&(S.preventDefault(),B(_))}};return Pc([_t(t,"touchstart",q),_t(t,"touchend",I),_t(t,"touchcancel",z),_t(t,"pointerdown",F),_t(t,"pointerup",It),_t(t,"pointercancel",Vt),c?_t(t,"wheel",ft):null,()=>void t.removeEventListener("pointermove",K)])}function fn({el:t,drag:e,click:n,scroll:r,cursor:o=!1},i){if(window.csGlobal&&window.csGlobal.disableSlideInteractions)return()=>{};if(!e&&!n)return()=>{};o&&t.classList.add("can-drag");let{unsubscribe:s,getState:a,dispatch:l}=$.subscribe(t,"slider"),c=zc(t,{...i({getState:a,dispatch:l}),className:o?"is-drag":"",click:n,drag:e,scroll:r});return()=>{o&&t.classList.remove("can-drag"),c(),s()}}var wi=t=>{let e=!1,n=!1,r=!1,o=null,i=[0,0],s=[0,0],a=$t([1,1],[un,un]),l,c,f=p=>{let d=p-c;c=p,!r&&o&&(s=pr(s,hr($t(i,o),[Rc*d,0]))),s=hr(s,a);let h=hr(s,[d,d]),m=pr(i,h),y=!1,g=!1;if(a[0]<1||a[1]<1){let b=.001*d,A=Math.abs(s[0])<=b&&s[0]!==0,k=Math.abs(s[1])<=b&&s[1]!==0;A&&(s[0]=0),k&&(s[1]=0),(A&&k||A&&s[1]===0||k&&s[0]===0)&&(g=!0)}if(o){let b=$t(o,m),A=$t(o,i);b[0]>0^A[0]>0&&(m[0]=o[0],s[0]=0),b[1]>0^A[1]>
10&&(m[1]=o[1],s[1]=0),Oc(vi(o,1),vi(m,1))&&(m=o,o=null,y=!0,g=!0,s=[0,0])}n&&(n=!1,g=!0,s=[0,0]),i=m;let v=t(m,{snapped:y,stalled:g});g&&!o?e=!1:l=requestAnimationFrame(f),typeof v=="function"&&v()},u=()=>{n=!1,!e&&(e=!0,c=performance.now(),cancelAnimationFrame(l),requestAnimationFrame(f))};return{start:()=>{u()},snapTo:p=>{u(),o=p?[p[0],0]:null},stall:()=>{n=!0,o=null},suspend:p=>{r=!!p},isSuspended:()=>r,setPosition:([p])=>{u(),i=[p,0]},setVelocity:([p],d=!0)=>{d&&u(),s=[p,0]},setFriction:p=>{a=$t([1,1],[p,p])},resetFriction:()=>{a=[un,un]}}},qc=.2,pn=t=>Math.abs(t)<qc?0:t>0?1:-1;var{teardown:Bc,listener:xi,intersect:$c,getEasing:_c,round:Yc,onPageVisibilityChange:Fc,triggerScan:yh}=T,Si=({onPlay:t,onPause:e,onReset:n,duration:r})=>{let o=new Set,i=!1,s=()=>{!i&&o.size<=0&&(i=!0,t(u))},a=p=>{o.has(p)&&o.delete(p),s()},l=p=>{let d=i;i=!1,o.has(p)||o.add(p),d&&e(u)};l("main");let u={getDuration:()=>(typeof r=="function"?r():r)||1e3,release:a,hold:l,reset:()=>{n(u,i),s()},setup:()=>{}};return u},Nc=({duration:t,interval:e,animate:n,easing:r="linear"})=>{let o,i,s,a,l=0,c=_c(r);n(0);let f=d=>{let h=Yc(c((d-i)/s),1e3);h!==l&&n(h),l=h,a=requestAnimationFrame(f)},u=d=>{i=window.performance.now(),n(0),l=0,s=d,cancelAnimationFrame(a),a=requestAnimationFrame(f)},p=d=>{u(d),o=setInterval(()=>{u(d),e()},d)};return Si({duration:t,onPlay({getDuration:d}){p(d())},onPause(){clearInterval(o),cancelAnimationFrame(a)},onReset({getDuration:d},h){clearInterval(o),cancelAnimationFrame(a),h&&p(d())}})},Vc=({duration:t})=>{let e={play:()=>{},pause:()=>{},reset:()=>{}};return{...Si({duration:t,onPlay:(...o)=>e.play(...o),onPause:(...o)=>e.pause(...o),onReset:(...o)=>e.reset(...o)}),setup:o=>{e={...e,...o}}}},Xc=({mode:t,...e})=>t==="interval"?Nc(e):t==="marquee"?Vc(e):{reset:()=>{},setup:()=>{},hold:()=>{},release:()=>{}},Uc=({autoplay:t,stacked:e})=>e&&t==="marquee"?"off":t,hn=(t,e,n)=>{let r=Uc(n),{unsubscribe:o,getState:i,dispatch:s}=$.subscribe(t,"slider",(p,d,h)=>{h&&requestAnimationFrame(()=>{a.release("main")}),!h&&d.includes("lastUserInteraction")&&a.reset()},["lastUserInteraction"]),a=Xc({mode:r,duration:()=>i().autoplayDuration||1e3,interval:()=>s(p=>({...p,autoplayAdvance:1})),animate:p=>{e.style.setProperty("--x-slide-autoplay-progress",p)}}),l=xi(window,"tco-drag-start",()=>{a.hold("dragging")}),c=xi(window,"tco-drag-end",()=>{a.release("dragging")});a.hold("viewport");let f=$c(t,({isIntersecting:p})=>{p?(a.release("viewport"),Array.from(t.querySelectorAll('[loading="lazy"]')).forEach(d=>{d.removeAttribute("loading")})):a.hold("viewport")},{threshold:.15,top:"0px",bottom:"0px"}),u=Fc(p=>{p?a.release("vis"):a.hold("vis")});return{unsubscribe:Bc([o,l,c,f,u]),autoplayer:a}};var Ti=(t,e,n,r)=>t(()=>{let{unsubscribe:o,autoplayer:i}=hn(e,n,r),s=(r.swipe||"").includes("x"),a=(r.swipe||"").includes("y"),l=([u,p])=>s&&a?Math.abs(u)>=Math.abs(p)?0:1:a?1:0,c=u=>pn(u[l(u)]),f=fn({el:e,drag:!!r.swipe,checkY:a},({dispatch:u,getState:p})=>({onBeginMove:()=>void i.hold("stacked-drag"),onEndMove:(d,h,m,y)=>{if(!y){let g=c(h);g!==0&&u(v=>({...v,advance:g}))}i.release("stacked-drag")}}));return()=>{o(),f()}});var{multiplyVectors:Ai,once:Gc,vectorsEq:mr,listener:jc,wrapNumber:Qc,clamp:Kc,addVectors:yt,subtractVectors:Yt,balanceFromDifference:Jc,makeSortByKey:Zc,elementMeta:At,onViewportChange:tu,onLoad:eu}=T,nu=t=>e=>Math.floor(e/t),ru=({subprime:t=0,totalSlides:e=0,slidesPerScrollPage:n=1})=>Kc(nu(n)(t)*n,0,e),gr=t=>e=>{if(!e)return null;let n=e;do n=n[t];while(n&&!n.matches("[data-x-slide]"));return n};function ou(t,e,{wrapAround:n}){if(!n)return()=>{};let r=()=>{let{clones:s=[]}=At.get(t);s.forEach(a=>a.remove())},o=s=>a=>({before:s,clone:At.get(a).createClone()}),i=jc(t,"tco-slide-refresh",()=>{let{slides:s=[]}=At.get(t);r();let a=[...s.map(o(!0)).reverse(),...s.map(o(!1))];a.forEach(({clone:l,before:c})=>{e[c?"prepend":"append"](l)}),At.update(t,l=>({...l,clones:a.map(({clone:c})=>c)})),t.dispatchEvent(new CustomEvent("tco-slides-cloned"))});return()=>{i(),r()}}var iu=(t,e,n)=>{let r=()=>At.get(t).slides;r.first=()=>r()[0],r.last=()=>{let c=r();return c[c.length-1]};let o=ou(t,e,n),i=(c,f)=>{let u=gr(f<0?"previousElementSibling":"nextElementSibling");return(p,d)=>
1{if(f===0)return c[p];let h=u(c[d]);for(;h;){if(At.get(h).index===p)return h;h=u(h)}return c[p]}},s=(c,{prevSubprime:f=0,totalSlides:u,advanceDirection:p})=>{let d=r();if(!n.wrapAround)return d[c];let h=p===0?Jc(c,f,u):p;return i(d,h)(c,f)};return{anticipateSnapTarget:c=>s(ru(c),c),teardownSlides:()=>{o()},getSlides:r}},su=(t,{justify:e})=>{let n,r=()=>{n=new WeakMap};r();let o=({offsetLeft:f,offsetTop:u,offsetWidth:p,offsetHeight:d})=>[f,u,p,d],i=f=>{if(!n.has()){let u=o(f);return n.set(f,u),u}return n.get(f)};return{getElementOffsets:i,getElementDimensions:f=>{let[,,u,p]=i(f);return[u,p]},getElementCoordinates:f=>{let[u,p]=i(f);return[u,p]},getVectorFromTarget:f=>{if(!f)return[0,0];let[u,p,d,h]=i(f),m=[u,p];return e==="center"?yt(m,[d/2,h/2]):e==="end"?yt(m,[d,h]):m},normalizeJustifiedVector:f=>{let[,,u,p]=i(t);return e==="center"?Yt(f,[u/2,p/2]):e==="end"?Yt(f,[u,p]):f},teardown:tu(r)}},au=(t,e,{getElementDimensions:n,getElementOffsets:r,getElementCoordinates:o,normalizeJustifiedVector:i,getVectorFromTarget:s},{contain:a,wrapAround:l})=>{let c=0;return f=>{let u=t.first(),p=t.last();if(l){let d=Yt(f,s(gr("previousElementSibling")(u))),h=Yt(f,s(gr("nextElementSibling")(p)));if(d[c]<=0)return[f,yt(s(p),d)];if(h[c]>=0)return[f,yt(s(u),h)]}else{if(a){let m=i(f);if(m[c]<0){let b=Ai(i([0,0]),[-1,-1]);return[b,b]}let y=n(e.parentElement),g=yt(o(p),n(p)),v=Yt(g,y);if(i(v),m[c]>v[c]){let b=yt(v,Yt(v,i(v)));return[b,b]}}let d=s(u),h=s(p);if(f[c]<d[c])return[d,d];if(f[c]>h[c])return[h,h]}return[f,null]}},Ei=(t,e,n,r,o)=>t(()=>{let{wrapAround:i=!1,snap:s=!1,int:a=""}=o,{unsubscribe:l,autoplayer:c}=hn(e,n,o),f=o.autoplay==="marquee";f&&c.hold("marquee-positioned");let u=Number.parseFloat(o.speed)||.1,{getSlides:p,anticipateSnapTarget:d,teardownSlides:h}=iu(e,r,o),m=su(r,o),{normalizeJustifiedVector:y,getElementDimensions:g,getVectorFromTarget:v,teardown:b}=m,A=au(p,r,m,o),k=!1,w=[0,0],E=[0,0],C=[0,0],P=M=>{if(mr(M,w)&&k)return!1;w=M,E=w;let[W]=y(M);return r.style.setProperty("transform",`translate3d(${W*-1}px,0,0)`),!0},F,q=([M])=>{let[W,D]=A([M,0]);O.suspend(!0),c.hold("transition"),r.style.removeProperty("transition"),P(W),clearTimeout(F),F=setTimeout(()=>{r.style.setProperty("transition","none"),r.offsetHeight,D&&P(D),c.release("transition"),O.suspend(!1),O.stall()},N().transitionDuration)},X=M=>v(d(M)),K=M=>f&&u<0?v(p.last()):X(M),{unsubscribe:nt,getState:N,dispatch:It}=$.subscribe(e,"slider",(M,W)=>{if(!M.positioned||!M.pageLoaded)return;if(!k){r.style.setProperty("transition","none"),r.offsetHeight,P(K(M)),r.offsetHeight,r.style.removeProperty("transition"),k=!0,requestAnimationFrame(()=>{c.release("marquee-positioned")});return}if(f)return;if(W.includes("lastAutoBasisAdvance")){let G=Ai(g(r.parentElement),[M.autoBasisAdvanceAmount,M.autoBasisAdvanceAmount]),ot=yt(E,G),[,pt]=A(ot);q(ot),_(pt||ot);return}let D=M.allowSnapTransition&&W.includes("subprime")||W.includes("snapBack"),j=W.includes("styleUpdate");(D||j)&&q(X(M))},["isTouchInteraction","allowSnapTransition","styleUpdate","subprime","slidesPerPage","snapBack","lastAutoBasisAdvance"]),Vt=(M,W,D=0)=>{let{slideData:j}=N(),G=[];D!==0&&(G=j.filter(({isPageStart:ct,balance:Xt})=>ct&&Xt===D).map(({index:ct})=>ct),G.length===0&&i&&(G=j.filter(({isPageStart:ct})=>ct).map(({index:ct})=>ct)));let ot=y(yt(M,W)),pt=Array.from(r.children),Ln=Math.floor(pt.length/2),De=[];for(let ct=0;ct<pt.length;ct++){let Xt=pt[Qc(ct+Ln,pt.length)],{index:Mn,isClone:Rs}=At.get(Xt),{isPageStart:zs}=j[Mn];if(!zs||G.length>0&&!G.includes(Mn))continue;let Gr=v(Xt),qs=g(Xt)[0],Bs=Yt(y(Gr),ot),jr=Math.abs(Bs[0]),Qr={slide:Xt,vector:Gr,isClone:Rs,index:Mn,distance:jr};if(G.length===0&&jr<qs/2)return Qr;De.push(Qr)}return De.sort(Zc("distance")).shift()},I=a.includes("drag"),z=!1,B=!1,rt=fn({el:e,drag:I,click:a.includes("click")&&!f,cursor:I,scroll:I&&!f},({dispatch:M})=>({canBeginMove:({target:W})=>{if(p().length<=0||B)return!1;let D=W.closest(".tco-element-preview");return!D||D.matches(".x-slide, .x-slide-container-viewport")},onBeginMove:(W,D,j,G)=>{j&&(z=!0),c.hold("user-drag"),C=w,O.suspend(!0),O.snapTo(null),O.setVelocity([0,0]),O.setPosition(C),M(ot=>({...ot,isTouchInteraction:!0,allowSnapTransition:!1}))},onEndMove:(W,D,j,G)=>{O.suspend(!1),O.setVelocity(D),c.hold("physics"),j&&(O.stall(),z=!1);let ot={isTouchInteraction:!1};if(s&&!f){let pt=G?0:pn(D[0]),{index:Ln,vector:De}=Vt(j||G?w:C,G?[0,0]:W,pt);ot.softNavigateTo=Ln,O.snapTo(De)}M(pt=>({...pt,...ot})),c.release("user-drag")},onMove:(W,D,j)=>{if(!B)if(j){let G=yt(w,W);if(i)O.setPosition(G);else{let[ot]=A(G);O.setPosition(mr(G,ot)?G:ot)}}else O.snapTo(null),O.setPosition(yt(C,W))},onClick:W=>{let D=At.get(W.closest("[data-x-slide]")).index;typeof D!="undefined"&&M(j=>({...j,navigateToIndex:D}))}})),ft=M=>{let[W,D]=A(M);return i?(D&&f&&O.setPosition(D),D||M):(O.isSuspended()||W&&D&&mr(W,D)&&(B=!0,O.snapTo(D),_(D)),M)},S=M=>{N().prime!==M&&It(W=>({...W,softNavigateTo:M}))},_=M=>{S(Vt(M,[0,0]).index)}
1,O=wi((M,{snapped:W,stalled:D})=>{let j=ft(M);if(P(j),(D||W)&&(B=!1),f&&(_(j),W&&(u*=-1,O.resetFriction(),O.setVelocity([u,u]))),D)return()=>{c.release("physics")}});r.style.setProperty("transition","none"),c.setup({play:()=>{O.setFriction(0),O.setPosition(w),O.setVelocity([u,u])},pause:()=>{O.setVelocity([0,0],!1),O.resetFriction(),O.stall()}});let kn=Gc(e,"tco-slides-cloned",()=>{It(M=>({...M,positioned:!0}))});return()=>{h(),kn(),l(),nt(),eu(()=>{It(M=>M),O.start()}),rt(),b()}});var{elementMeta:Et,getCachedJsonAttribute:lu,listener:cu}=T,Ci=t=>!!Et.get(t).isClone,ki=t=>t?Array.from(t.children).filter(e=>!Ci(e)&&e.matches(".x-slide")):[],Li=t=>ki(t).filter(e=>Et.get(e).ready),mn=(t,e)=>{if(!e){let{index:n}=Et.get(t);if(typeof n!="undefined")return n}return ki(t.parentElement).indexOf(t)},Mi=t=>{if(!t.hasAttribute("data-cs-observeable-id"))return;let e=t.getAttribute("data-cs-observeable-id");t.classList.remove("tco-element-preview"),t.removeAttribute("data-cs-observeable-container"),t.removeAttribute("data-cs-observe"),t.removeAttribute("data-cs-observeable"),t.removeAttribute("data-cs-observeable-id"),t.classList.add(`tco-observe-${e}`)},uu=(t,e)=>{let n=t.cloneNode(!0);return n.classList.add("is-virtual"),n.setAttribute("aria-hidden",!0),Mi(n),Array.from(n.querySelectorAll("[data-cs-observeable-id]")).map(Mi),Array.from(n.querySelectorAll("[id]")).map(r=>r.removeAttribute("id")),()=>{let r=n.cloneNode(!0);return Et.set(r,{...e,index:mn(t),isClone:!0}),r}};x("[data-x-slide]",t=>{if(Ci(t))return;let e=t.closest("[data-x-slide-container]"),{wrapAround:n,enter:r="effect",exit:o="effect"}=lu(e,"data-x-slide-container"),i={enter:r,exit:o};Et.update(t,a=>({...a,index:mn(t),ready:!0,effects:i,createClone:n?uu(t,{effects:i}):null})),e.dispatchEvent(new CustomEvent("tco-slide-added-or-removed"));let s=cu(e,"tco-slide-reindex",()=>{Et.update(t,a=>({...a,index:mn(t,!0)}))});return()=>{Et.del(t),s(),e.dispatchEvent(new CustomEvent("tco-slide-added-or-removed"))}},50);x("[data-x-slide]",t=>(Et.update(t,e=>({...e,effectRivet:["effects",{key:()=>`slideData.${mn(t)}.active`,condition:!0,enter:"effect",exit:"effect"},"slider"]})),st([[t,"classname",{key:"slideData.meta(index).active",classname:"is-current-slide",condition:!0},"slider"],Rt(t)&&[t,"attr",{key:"subprime",attr:"data-prime-slide",value:!0,condition:["meta(index)","==="]},"slider"],[t,"effects",{key:"slideData.meta(index).active",condition:!0,enter:"meta(effects.enter)",exit:"meta(effects.exit)"},"slider"],[t,"prop",{key:"slideData.meta(index).distance",prop:"--x-slide-distance"},"slider"],[t,"prop",{key:"slideData.meta(index).balance",prop:"--x-slide-balance"},"slider"]])),200);var{wrapNumber:du,clamp:fu,makeStateSynchronizer:pu,distanceInRange:Pi,balanceFromDifference:hu,listener:gn,elementMeta:vr,parseTime:Ii}=T,mu=t=>e=>Math.floor(e/t),gu=({slidesPerScrollPage:t,totalSlides:e})=>t?Math.ceil(e/t):e,vu=()=>{let t,e=o=>{t=o.closest("[data-x-slide-context], [data-x-slide-container], [data-x-slide-pagination], [data-x-slide-next], [data-x-slide-prev], [data-x-slide-goto]")};gn(window,"focusin",({target:o})=>{e(o)});let n=["ArrowRight","ArrowDown"],r=["ArrowLeft","ArrowUp"];return gn(window.document,"keyup",({key:o})=>{if(t){let i=n.includes(o),s=r.includes(o);if(i||s){let a=$.makeDispatch(t,"slider");a&&a(l=>({...l,advance:i?1:-1}))}}}),e},yu=vu(),bu=()=>({advance:t,autoplayAdvance:e,navigateToIndex:n,softNavigateTo:r,navigateTo:o,...i})=>{let s={...i},{scrollBySlide:a,wrapAround:l,autoBasis:c}=s.options,f=!a&&c;typeof s.autoplayDuration!="number"&&(s={...s,autoplayDuration:Ii(s.autoplayDuration)}),typeof s.transitionDuration!="number"&&(s={...s,transitionDuration:Ii(s.transitionDuration)}),typeof s.slidesPerPage!="number"&&(s={...s,slidesPerPage:Number(s.slidesPerPage)}),s.slidesPerScrollPage=a?1:s.slidesPerPage;let u=mu(s.slidesPerScrollPage),p=gu(s),d=u(s.prime),h,m;if(typeof r!="undefined"&&(m=r),typeof n!="undefined"&&(m=u(n)),s.options.autoplay!=="marquee"&&((typeof t!="undefined"||typeof o!="undefined"||typeof n!="undefined")&&(s={...s,lastUserInteraction:Date.now(),allowSnapTransition:!0}),typeof t!="undefined"&&s.ready&&(h=t),typeof o!="undefined"&&s.ready&&(m=o,s={...s,advanceDirection:0})),typeof e!="undefined"&&(h=e),typeof h!="undefined"&&(f?s={...s,lastAutoBasisAdvance:Date.now(),autoBasisAdvanceAmount:h,allowSnapTransition:!1}:(s={...s,advanceDirection:h>0?1:-1},m=du(d+h,p))),typeof m!="undefined"){let v=m*s.slidesPerScrollPage;s={...s,prime:fu(v,0,s.totalSlides-1)}}let y=u(s.prime),g=u(s.subprime);return s={...s,current:y+1,total:p,atStart:y===0,atEnd:y===p-1,slideData:Array.from({length:s.totalSlides}).map((v,b)=>{let k=b%s.slidesPerScrollPage===0;if(u(b)===g)return{active:!0,distance:0,balance:0,index:b,isPageStart:k};let E=s.subprime,C=s.subprime+s.slidesPerScrollPage-1;if(l){let q=hu(b,s.subprime,s.totalSlides),X=q===1?C:E,K=Math.min(Pi(b,X,s.totalSlides),Pi(X,b,s.totalSlides));return{active:!1,distance:K,balance:q,index:b,isPageStart:k}}let P=b>E?1:-1,F=b>E?b-C:E-b;return{active:!1,balance:P,distance:F,index:b,isPageStart:k}})},s};x("[data-x-slide-container]",(t,e)=>{let n=t.closest("[data-x-slide-context]")||t,r=t.querySelector(".x-slide-container"),{stacked:o=!1,autoplay:i="off",adaptiveHeight:s=!1,wrapAround:a}=e,l=c=>{let f=t.querySelector(".x-slide-container-content"),u=()=>vr.update(t,E=>({...E,slides:Li(r)}));u();let p=vr.get(t).slides.length,d=document.readyState==="complete",h=st([[n,"define",{options:e,loading:!0,ready:!1,advanceDirection:0,autoplayDuration:"var(--x-slide-container-autoplay-transition-duration, 5s)",transitionDuration:"var(--x-slide-container-transition-duration, 1s)",isTouchInteraction:!1,allowSnapTransition:!0,current:1,prime:0,subprime:0,prevSubprime:0,slideData:[],styleUpdate:0,slidesPerPage:"var(--x-slides-per-page,1)",lastUserInteraction:Date.now(),autoBasisAdvanceAmount:1,lastAutoBasisAdvance:Date.now(),positioned:!!(o||!a),pageLoaded:d,total:p,totalSlides:p,_reducer:bu()},"slider"],[n,"prop",{key:"current",prop:"--x-slide-current"},"slider"],[n,"prop",{key:"total",prop:"--x-slide-total"},"slider"],[t,"onready"],[t,"onload"],[t,"onscan"],[t,"inc",{state:"slider",key:"styleUpdate"}],[t,"onload",{},"loaded"],[t,"onready",{},"ready"],[t,"set",{state:"slider",key:"ready",value:!0,defer:!0},"ready"],[t,"classname",{key:"ready",classname:"is-ready",condition:!0},"slider"],[t,"set",{state:"slider",key:"transitionDuration",value:"var(--x-slide-container-transition-duration, 1s)"}],i!=="off"&&[t,"set",{state:"slider",key:"autoplayDuration",value:"var(--x-slide-container-autoplay-transition-duration, 5s)"}],!o&&[t,"set",{state:"slider",key:"slidesPerPage",value:"var(--x-slides-per-page)"}],s&&[f,"height",{key:"subprime",selector:".is-current-slide"},"slider"]]),m=T.rivetListener(t,"loaded",()=>{t.classList.remove("is-loading")}),y=pu((E,C)=>{let P=E,F=v().transitionDuration;b(q=>({...q,prevSubprime:q.subprime,subprime:P})),setTimeout(C,F)}),{unsubscribe:g,getState:v,dispatch:b}=$.subscribe(t,"slider",({prime:E})=>void y(E)),A=gn(t,"tco-slide-added-or-removed",()=>{u(),b(E=>({...E,totalSlides:vr.get(t).slides.length}
1)),t.dispatchEvent(new CustomEvent("tco-slide-reindex")),t.dispatchEvent(new CustomEvent("tco-slide-refresh"))}),k=c();t.dispatchEvent(new CustomEvent("tco-slide-refresh"));let w=gn(t,"pointerup",()=>yu(t));return[g,h,A,m,k,w,d?null:mt(()=>{b(E=>({...E,pageLoaded:document.readyState==="complete"}))})]};return o?Ti(l,t,n,e):Ei(l,t,n,r,e)},100);var{makeStateSynchronizer:wu,getTransitionDuration:xu,listener:yr,elementMeta:Su}=T;x("[data-x-slide-pagination]",t=>{let e=wu((i,s)=>{Array.from(t.querySelectorAll("li")).forEach((a,l)=>{let c=l===i-1;a.classList.toggle("is-active",c),!c&&a.hasAttribute("aria-current")&&a.removeAttribute("aria-current"),c&&!a.hasAttribute("aria-current")&&a.setAttribute("aria-current","step")}),setTimeout(s,xu(t.querySelector("li")))}),n=i=>{let s=(a,l,c)=>a+`<li data-x-slide-index="${c+1}" aria-label="Slider Page ${c+1}"><span class="visually-hidden">${c}</span></li>`;t.innerHTML=Array.from({length:Math.max(1,i)}).reduce(s,""),e.reset()};n(1);let{unsubscribe:r,dispatch:o}=$.subscribe(t,"slider",({total:i,current:s},a,l)=>{(l||a.includes("total"))&&n(i),e(s)},["current","total","slidesPerPage","styleUpdate"]);return[yr(t,"click",i=>{i.preventDefault();let s=i.target.closest("li");if(s){let a=Number.parseInt(s.getAttribute("data-x-slide-index"),10)-1;isNaN(a)||o(l=>({...l,navigateTo:a}))}}),r]},1e3);var Tu=(t,e,n)=>t?st([[e,"effects",{key:n===-1?"atStart":"atEnd",condition:[!1,"==="],enter:"effect",exit:"effect"},"slider"],[e,"attr",{key:n===-1?"atStart":"atEnd",attr:"disabled",value:"",condition:[!0,"==="]},"slider"]]):()=>{},Oi=t=>{let e=Number.parseInt(t);return isNaN(e)||e<=0?1:e},Hi=t=>(e,n)=>{var a,l;let r=Oi(n)*t,{unsubscribe:o,getState:i,dispatch:s}=$.subscribe(e,"slider");return[Tu(!((l=(a=i())==null?void 0:a.options)==null?void 0:l.wrapAround)&&n!=="noDisable",e,t),yr(e,"click",c=>{c.preventDefault(),s(f=>({...f,advance:r}))}),o]};x("[data-x-slide-next]",Hi(1),1e3);x("[data-x-slide-prev]",Hi(-1),1e3);x("[data-x-slide-goto]",(t,e)=>{let n=Oi(e)-1,{unsubscribe:r,getState:o,dispatch:i}=$.subscribe(t,"slider"),s=["effects",{key:"current",condition:[n+1,"=="],enter:"effect",exit:"effect"},"slider"];return Su.update(t,a=>({...a,effectRivet:s})),[yr(t,"click",a=>{a.preventDefault(),i(l=>({...l,navigateTo:n}))}),r,st([[t,...s]])]});var{util:Au}=window.csGlobal.rivet,{addClass:Ce,removeClass:ke,hasClass:vn}=Au;function ce(t,e){if(e){if(!t||vn(t,"x-anchor-layered-back"))return;Ce(t,"x-active")}else ke(t,"x-active")}function br(t,e){if(e){if(!t||vn(t,"x-active")||vn(t,"x-currently-active"))return;Ce(t,"x-currently-active")}else ke(t,"x-currently-active")}function Di(t){setTimeout(()=>{let e=t.closest(".x-menu");e.addEventListener("transitionend",function(n){let r=e.getBoundingClientRect().top;if(r<0&&n.propertyName==="height"){let o=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),l=parseInt(window.getComputedStyle(e).fontSize);o=Math.max(0,r+s-a-l)}i.scrollTo({top:o,left:0,behavior:"smooth"})}})},0)}function Eu(t){var e=t.offsetHeight,n=getComputedStyle(t);return e+=parseInt(n.marginTop)+parseInt(n.marginBottom),e}var Wi=t=>Math.max(t.offsetHeight,Array.from(t.children).reduce((e,n)=>e+Eu(n)||0,0)),Ri=(t,e)=>{let n=t.closest("[data-x-toggle-layered-root]");n&&(n.style.height=`${e}px`)};function Cu(t){Ri(t,Wi(t));let e=t.closest(`ul:not([data-x-toggleable="${t.getAttribute("data-x-toggleable")}"])`);ke(e,"x-current-layer"),Ce(e,"x-prev-layer"),Ce(t,"x-current-layer"),Di(t)}function ku(t){let e=t.closest(`ul:not([data-x-toggleable="${t.getAttribute("data-x-toggleable")}"])`);!vn(e,"x-prev-layer")||(Ri(t,Wi(e)),ke(t,"x-current-layer"),Ce(e,"x-current-layer"),ke(e,"x-prev-layer"),Di(t))}function zi(t,e){return e?Cu(t):ku(t)}function qi(t,e,n){var r,o,i,s,a=!1,l=!1,c={},f=0,u=0,p={sensitivity:7,interval:100,timeout:0,handleFocus:!1};function d(w,E){return u&&(u=clearTimeout(u)),f=0,l?void 0:n.call(w,E)}function h(w){r=w.clientX,o=w.clientY}function m(w,E){if(u&&(u=clearTimeout(u)),Math.abs(i-r)+Math.abs(s-o)<p.sensitivity)return f=1,l?void 0:e.call(w,E);i=r,s=o,u=setTimeout(function(){m(w,E)},p.interval)}c.options=function(w){var E=w.handleFocus!==p.handleFocus;return p=Object.assign({},p,w),E&&(p.handleFocus?A():k()),c};function y(w){return a=!0,u&&(u=clearTimeout(u)),t.removeEventListener("mousemove",h,!1),f!==1&&(i=w.clientX,s=w.clientY,t.addEventListener("mousemove",h,!1),u=setTimeout(function(){m(t,w)},p.interval)),this}function g(w){return a=!1,u&&(u=clearTimeout(u)),t.removeEventListener("mousemove",h,!1),f===1&&(u=setTimeout(function(){d(t,w)},p.timeout)),this}function v(w){a||(l=!0,e.call(t,w))}function b(w){!a&&l&&(l=!1,n.call(t,w))}function A(){t.addEventListener("focus",v,!1),t.addEventListener("blur",b,!1)}function k(){t.removeEventListener("focus",v,!1),t.removeEventListener("blur",b,!1)}return c.remove=function(){!t||(t.removeEventListener("mouseover",y,!1),t.removeEventListener("mouseout",g,!1),k())},t&&(t.addEventListener("mouseover",y,!1),t.addEventListener("mouseout",g,!1)),c}var{addClass:wr,siblings:Nh,once:Bi,removeClass:yn,hasClass:xr,listener:Le,makeGetComputedStyle:$i,makeGetComputedFloatValues:Lu}=T;function _i(t){Ou(t),Hu()}var Sr=t=>t?t.getBoundingClientRect():null,Mu=$i("position"),Pu=$i("direction"),Iu=Lu(["paddingLeft","paddingTop","paddingRight","paddingBottom","borderTopWidth","borderBottomWidth"]);function Ou(t){t=Object.assign({selectors:[],indicatingSelector:"a",rootElementEvents:!1,requireClick(){return!1},toggleOnFocus:!0,activate(o){t.indicatingSelector?wr(o.querySelector(t.indicatingSelector),t.activeClass):wr(o,t.activeClass),wr(o.querySelector(t.nestedSelector),t.activeClass)},deactivate(o){t.indicatingSelector?yn(o.querySelector(t.indicatingSelector),t.activeClass):yn(o,t.activeClass),yn(o.querySelector(t.nestedSelector),t.activeClass)},isActive(o){return t.indicatingSelector?xr(o.querySelector(t.indicatingSelector),t.activeClass):xr(o,t.activeClass)},deactivateChildren(o,i){Array.from(o.querySelectorAll(t.nestedSelector)).forEac
1h(s=>{!xr(s,t.activeClass)||(yn(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(o){var i=!1;o._stemAllowFocusIn=!0;let s=t.rootElementEvents?o:o.querySelector(t.indicatingSelector)||o,a=Le(s,"mousedown",p),l=Le(s,"touch",p),c=[a,l];if(c.push(Le(s,"touchstart",()=>{o._stemAllowFocusIn=!1})),t.toggleOnFocus&&(c.push(Le(s,"focusin",f)),c.push(Le(o,"focusout",u))),!t.requireClick(o)){c.push(Bi(s,"touchstart",()=>{i=!0},{passive:!0}));let d=qi(o,function(){i||(a(),l(),n(o,!0))},function(){i||n(o,!1)});try{d.options({interval:50,timeout:500})}catch{}c.push(()=>d.remove())}function f(){o._stemAllowFocusIn&&r(o,n(o,!0))}function u(){setTimeout(()=>{o.contains(document.activeElement)||r(o,n(o,!1))},0)}function p(d){d.type==="mousedown"&&Bi(d.currentTarget,"click",m=>void m.preventDefault(),{passive:!1}),d.preventDefault(),d.stopPropagation();let h=n(o);if(r(o,h),h&&t.closeSiblings){let m=typeof t.findSiblings=="function"?t.findSiblings(o):m(o);m.forEach(y=>{n(y,!1),r(y,!1)})}}return c}t.selectors.forEach(o=>{x(o,e)});function n(o,i){return o._stemAllowFocusIn=!0,typeof i=="undefined"&&(i=!t.isActive(o)),i?(typeof t.beforeActivate=="function"&&t.beforeActivate(o),t.activate(o),typeof t.afterActivate=="function"&&t.afterActivate(o)):(typeof t.beforeDeactivate=="function"&&t.beforeDeactivate(o),t.deactivate(o),typeof t.afterDeactivate=="function"&&t.afterDeactivate(o)),t.isActive(o)}function r(o,i){typeof t.deactivateChildren=="function"&&(clearTimeout(o._stemCloseChildrenTimer),i||(o._stemCloseChildrenTimer=setTimeout(function(){t.deactivateChildren(o,t.deactivateChild)},1e3)))}}function Hu(){function t(d){var h=[];function m(g,v){if(!v&&g.hasAttribute("data-x-stem")){h.push(g),t(g);return}if(g.children)for(var b=0;b<g.children.length;b++)m(g.children[b])}m(d,!0);let y=function(){o(d),setTimeout(()=>{h.forEach(n)},0)};d.addEventListener("x-stem:update",y,!1)}let e=[];function n(d){d&&d.dispatchEvent(new CustomEvent("x-stem:update"))}x("[data-x-stem-menu-top], [data-x-stem-root]",d=>{requestAnimationFrame(()=>{t(d),n(d),e.push(d)})});let r=J(function(){e.forEach(n)},50);window.addEventListener("tco-toggle",({detail:{state:d}={}})=>{d&&r()}),window.addEventListener("resize",r,{passive:!0}),window.addEventListener("scroll",r,{passive:!0});function o(d){if(!d)return;let h=p(d);if(!h)return;let m=Sr(h),y=a(d),g=y==="data-x-stem-root"?Sr(document.querySelector(`[data-x-toggleable="${d.getAttribute("data-x-toggleable")}"][data-x-toggle]`)):m;if(!g)return;let v=Sr(d),{top:b,left:A,bottom:k,right:w}=s(v,g,y),{x:E,y:C}=l(d,y),P=c(E,window.innerWidth-w,A),F=c(C,window.innerHeight-k,b);d.setAttribute("data-x-stem",(F?"d":"u")+(P?"r":"l")),y==="data-x-stem-root"&&i(d,m,g,P,F),y||f(d,P,F)}function i(d,h,{top:m,left:y,bottom:g,right:v,height:b,width:A},k,w){let E=d.getAttribute("data-x-stem-root").indexOf("h")!==-1;if(k){let C=y-h.left;d.style.left=`${E?C+A:C}px`,d.style.right="auto"}else{let C=h.right-v;d.style.right=`${E?C+A:C}px`,d.style.left="auto"}if(w){let C=m-h.top;d.style.top=`${E?C:C+b}px`,d.style.bottom="auto"}else{let C=h.bottom-g;d.style.bottom=`${E?C:C+b}px`,d.style.top="auto"}}function s({height:d,width:h},m,y){let g={top:m.top-d,right:m.left+m.width+h,bottom:m.top+d,left:m.left-h};return y&&(g.right+=m.width,g.bottom+=m.height),g}function a(d){return d.hasAttribute("data-x-stem-menu-top")?"data-x-stem-menu-top":d.hasAttribute("data-x-stem-root")?"data-x-stem-root":null}function l(d,h){if(h){var m=Pu(d)==="ltr",y=d.getAttribute(h).indexOf("r")!==-1;return{y:!0,x:!!(m^y)}}let g=u(d);return{y:g.indexOf("d")!==-1,x:g.indexOf("r")!==-1}}function c(d,h,m){if(d&&h<0){if(h<m)return!1}else if(m<0&&m<h)return!0;return d}function f(d,h,m){let{paddingLeft:y,paddingTop:g,paddingRight:v,paddingBottom:b,borderTopWidth:A,borderBottomWidth:k}=Iu(d);if(h?(d.style.marginLeft=y!==0?`${y}px`:null,d.style.marginRight=null):(d.style.marginRight=v!==0?`${v}px`:null,d.style.marginLeft=null),m){let w=g+A;d.style.marginTop=w!==0?`${w*-1}px`:null,d.style.marginBottom=null}else{let w=b+k;d.style.marginBottom=w!==0?`${(b+k)*-1}px`:null,d.style.marginTop=null}}function u(d){return d.parentElement===null?"tr":d.parentElement.hasAttribute("data-x-stem")?d.parentElement.getAttribute("data-x-stem"):u(d.parentElement)}function p(d){return d.parentElement===null?document.body:Mu(d.parentElement)==="relative"?d.parentElement:p(d.parentElement)}}var{onLoad:Yi,addClass:Kh,hasClass:Fi,removeClass:Jh,debounce:Ni,animateToElement:Du,listener:bn,onScroll:Wu,onResize:Ru}=T,Vi=t=>t.match(/#[a-zA-Z]/);_i({selectors:[".x-menu-inline .menu-item-has-children",".x-menu-dropdown .menu-item-has-children"],beforeActivate:t=>ce(t.querySelector("a"),!0),beforeDeactivate:t=>ce(t.querySelector("a"),!1),deactivateChild:t=>ce(t.querySelector("a"),!1)});Yi(()=>{let{selector:t,duration:e,easing:n,initialMove:r,before:o,after:i,allowScroll:s}=Q.apply("hash_scrolling_config",{selector:window.csJsData.linkSelector,easing:"ease-out",duration:500,initialMove:!0,before:u=>Q.apply("hash_scrolling_before",u),after:u=>Q.apply("hash_scrolling_before",u),allowScroll:(...u)=>Q.apply("hash_scrolling_allow",!0,...u)});function a(u){try{return document.querySelector(u)}catch{}return null}function l(){let u=!1;return bn(document.body,"touchstart",()=>{u=!1}),bn(document.body,"touchmove",()=>{u=!0}),()=>u}let c=(u,p=!0,d)=>{Du(u,()=>se()*-1,p?e:0,n,d)},f=l();r&&window.location.hash&&(c(a(window.location.hash),!1),setTimeout(()=>c(a(window.location.hash),!1),300)),bn(document.body,"click",u=>{let p=u.target.matches(t)?u.target:u.target.closest(t);if(!p||u.tcoAbortScroll)return;let d=p.getAttribute("href"),h=`#${d.split("#").pop()}`;if(f()||!Vi(d)||!s(p,u,h))return;let m=a(h);!m||(window.history.pushState&&(window.history.pushState(null,null,h),window.dispatchEvent(new CustomEvent("tcoHistoryPush"))),u.preventDefault(),o({anchor:p,target:m,hash:h}),c(m,!0,()=>void i({anchor:p,target:m,hash:h})))})});Yi(()=>{let t=!1,e,n=new Map,r=new Map,o=[],i=Ni(()=>{var u,p;let f=[];for(let[d,h]of r){let m=((p=(u=h.getBoundingClientRect())==null?void 0:u.top)!=null?p:0)+window.scrollY;
1f.push({y:m,href:d})}o=f.sort((d,h)=>h.y-d.y)},100),s=f=>{if(e!==f){for(let[u,p]of n)if(u===f)for(let d of p)Fi(d,"x-anchor")&&br(d,!0),Q.apply("scrollspy_activate",d);else for(let d of p)Fi(d,"x-anchor")&&br(d,!1),Q.apply("scrollspy_deactivate",d);e=f}};x(window.csJsData.linkSelector,f=>{let u=Q.apply("scrollspy_ignore_patterns",["#/","#wp-toolbar"]),p=`#${f.getAttribute("href").trim().split("#").pop()}`;if(!(!Vi(p)||u.find(d=>d.match(p))))return n.has(p)||n.set(p,new Set),n.get(p).add(f),[x(p,d=>(r.has(p)||r.set(p,d),i(),()=>{r.has(p)&&r.delete(p)})),()=>{var d;(d=n.get(p))==null||d.delete(f)},bn(f,"click",()=>{t=!0,s(p)},{capture:!0})]}),Ru(i);let a=()=>{var u,p;let f=window.scrollY+se()+et()+1;return Math.ceil(window.innerHeight+window.scrollY)>=Math.floor(document.body.offsetHeight)?(p=(u=o.map((d,h)=>({...d,i:h})).sort((d,h)=>h.y-f-(d.y-f))[0])==null?void 0:u.i)!=null?p:-1:o.findIndex(({y:d})=>f>=d)},l=()=>{t=!1;let f=a();s(f===-1?"":o[f].href)},c=Ni(l,250);c(),Wu(()=>{o.length<=0||(t?c():l())})});var{addClass:Tr,removeClass:Ar,farthest:Xi,getCachedJsonAttribute:Ui,once:zu,listener:qu,evaluateCondition:Bu,expandElementValue:Gi,makeAlternatingSynchronizer:Er,makeElementWeakMap:Cr,getDurations:$u,lockMotion:ji,forceOpaque:_u,runAnimation:Qi,elementMeta:Yu,waypoint:Ki,parseTime:Fu}=T,Ft="x-effect-enter",kr="x-effect-entering",bt="x-effect-exit",Lr="x-effect-exiting",wn="x-effect-animated",xn="x-effect-holding",Nu="x-effect-opacity";x("[data-x-single-anim]",(t,e)=>{if(!t.classList.contains("x-always-active"))return qu(t.closest(".x-anchor, .x-text"),"mouseenter",()=>void Qi(t,{animation:e,remove:!0}))});var Ji=Cr({scrollEffects:!1}),Vu=()=>{let{get:t,set:e,has:n}=Cr();return r=>(n(r)||e(r,{effects:[],particles:[]}),t(r))},Sn=Vu(),Zi=Cr(0),ts=t=>{Zi.set(t,$u(t))},es=(t,e="transitionTime")=>{var n,r;return(r=(n=Zi.get(t))==null?void 0:n[e])!=null?r:0},ns=(t,{from:e,to:n,trans:r,record:o=!1},i=()=>{})=>(t.classList.remove(e),t.classList.add(r),t.classList.add(n),o&&ts(t),()=>{t.classList.remove(r),i()}),rs=(t,e,n=()=>{})=>Qi(t,{className:wn,animation:e,remove:!0,timeout:!0},n),Xu=(t,e)=>{t.classList.contains(bt)||(t.classList.contains(wn)||t.classList.add(wn),t.style.setProperty("animation-duration","0ms","important"),t.style.setProperty("animation-name",e))},os=(t,e,n)=>zu(t,"transitionend",ns(t,e,n)),is=(t,e,n,r)=>rs(t,e,ns(t,n,r)),Uu=(t,e,n)=>is(t,e,{from:bt,to:Ft,trans:kr,record:!0},n),ss=(t,e,n)=>is(t,e,{from:Ft,to:bt,trans:Lr},n),Gu=(t,e)=>os(t,{from:bt,to:Ft,trans:kr,record:!0},e),as=(t,e)=>os(t,{from:Ft,to:bt,trans:Lr},e),ju=(t,e,n)=>{Tr(t,xn),setTimeout(_u(t,{after:()=>{Ar(t,xn),n()}}),e)},ls=(t,e,n)=>{let r=ji(t,e==="fade"?"opacity":null);t.style.setProperty("opacity",e==="fade"?0:1,"important");let o=es(t);Tr(t,xn),setTimeout(()=>{Ar(t,Ft),Ar(t,xn),Tr(t,bt),t.style.removeProperty("opacity"),r(),n()},o)};function Qu(t,e,n){let r,o=0,i,s,{durationBase:a,animationAlt:l}=Ui(t,"data-x-effect"),c=Fu(a),f=()=>{window.removeEventListener("mousemove",y),l?n(()=>{u()}):(n(),c?setTimeout(()=>{u()},c):u())},u=()=>{t.addEventListener("mouseenter",h)},p=()=>{let{top:v,left:b,width:A,height:k}=t.getBoundingClientRect();r.push({top:v+window.scrollY,left:b+window.scrollX,width:A,height:k})},d=v=>{o=0,r=[],p(),e(),c?(clearTimeout(i),i=setTimeout(()=>{p()},c)):p()},h=v=>{clearTimeout(s),window.addEventListener("mousemove",y),d(v)},m=v=>{o++,o>10&&r.length===r.filter(A=>g(A,v.clientX,v.clientY,window.scrollX,window.scrollY)).length&&f()},y=v=>{m(v),clearTimeout(s),s=setTimeout(()=>{m(v)},300)},g=({top:v,left:b,height:A,width:k},w,E,C,P)=>{let F=v-P,q=b-C,X=w>q&&w<q+k,K=E>F&&E<F+A;return!X||!K};u()}x("[data-x-effect-provider]",(t,e="")=>{e.split(" ").filter(r=>!Xi(t,`[data-x-effect-provider*="${r}"]`)).length>0&&Mr(t)});function Mr(t){let e=Sn(t);e.registered||Qu(t,()=>{let{registered:n,...r}=Sn(t);Object.keys(r).forEach(o=>{r[o].forEach(({setup:i})=>{i&&i()})})},()=>{let{registered:n,...r}=Sn(t);Object.keys(r).forEach(o=>{r[o].forEach(({teardown:i})=>{i&&i()})})}),e.registered=!0}function cs(t,e,n=()=>{},r=()=>{},o=!0){let i=Xi(e,`[data-x-effect-provider*="${t}"]`),s=o?i||e:i;return s?(Sn(s)[t].push({el:e,setup:n,teardown:r}),e===s):!1}x(".x-anchor",t=>{cs("particles",t)&&Mr(t)});x("[data-x-effect]",(t,e)=>{try{return cs("effects",t,()=>{e.animationAlt&&rs(t,e.animationAlt)},()=>{},!t.matches("x-anchor"))&&Mr(t),od(t,e)}catch(n){console.warn(n)}},1e3);var Ku=(t,e)=>Er(n=>Gu(t,n),n=>e==="transform"?as(t,n):ls(t,e,n)),Ju=(t,e,{animationEnter:n,animationExit:r})=>Er(o=>Uu(t,n,o),o=>e==="animation"?ss(t,r,o):ls(t,e,o)),Zu=(t,e,n)=>Er(r=>{if(ts(t),["transform","animation"].includes(e)){e==="animation"&&(t.classList.remove(wn),t.style.setProperty("opacity",0,"important"),t.style.removeProperty("animation-name"),t.offsetHeight,t.style.removeProperty("opacity"));let o=ji(t,"opacity");t.classList.remove(bt),o()}r()},r=>{switch(e){case"none":return ju(t,es(t),r);case"transform":return as(t,r);case"animation":return ss(t,n.animationExit,r);default:r()}}),us=(t,e,n)=>{let r=Ui(t,"data-x-effect");if(r.scroll){let o=a=>a==="effect"?r.animationEnter&&r.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=o(e),s=o(n);switch(s==="animation"&&Xu(t,r.animationExit),e==="effect"&&["fade","none"].includes(n)&&t.classList.add(Nu),i){case"animation":return Ju(t,o(n),r);case"transform":return Ku(t,s,r);case"fade":return Zu(t,s,r)}}return!1};
1gt("effects",(t,{key:e,condition:n,enter:r,exit:o})=>{Ji.set(t,{scrollEffects:"managed"});let i=us(t,Gi(t,r),Gi(t,o));return i?s=>void i(Bu(t,n,s,e)):()=>{}});var td=(t,{behaviorScroll:e})=>{let n=us(t,"effect","effect"),r=!1;return o=>{let[i,s]=o.split(":");e==="reset"&&i==="exit"&&s==="down"||e==="fire-once"&&r||(i==="enter"&&(r=!0),n(i==="enter"))}},ed=t=>{let e=parseInt(t);return t.includes("px")?()=>e:()=>window.innerHeight*e/100},nd=t=>{let e=parseInt(t);return t.includes("px")?()=>window.innerHeight-e:()=>window.innerHeight-window.innerHeight*(parseInt(e)/100)};function rd(t,e){let n,r=()=>{},o=()=>{let{effectRivet:i}=Yu.get(e);i?r=st([[t,...i]]):setTimeout(o,10)};return o(),()=>{clearTimeout(n),r()}}function od(t,e){let n=t.closest("[data-x-slide], [data-x-slide-goto]");if(n&&t!==n)return rd(t,n);if(!e.scroll||Ji.get(t).scrollEffects==="managed")return;if(window.csGlobal.isPreview&&t.classList.add(bt),e.forceScrollEffect){t.classList.remove(Ft),t.classList.remove(kr),t.classList.remove(bt),t.classList.remove(Lr),e.forceScrollEffect==="in"&&t.classList.add(Ft),e.forceScrollEffect==="out"&&t.classList.add(bt);return}let r=td(t,e),{offsetTop:o="10%",offsetBottom:i="10%"}=e;Ki(t,s=>void r(`${s==="up"?"enter":"exit"}:${s}`),ed(o),!1),Ki(t,s=>void r(`${s!=="up"?"enter":"exit"}:${s}`),nd(i),!1)}var{defer:id,addClass:ds,toggleClass:sd,removeClass:ad,listener:ue}=T;x("[data-x-search]",function(t){let e=t.querySelector("input"),n=()=>id(()=>e.focus()),r=()=>sd(t,"x-search-has-content",!!e.value);return[ue(e,"input",r),ue(t,"mousedown",()=>{ds(t,"x-search-focused"),n()}),ue(t,"focusin",()=>void ds(t,"x-search-focused")),ue(t,"focusout",()=>void ad(t,"x-search-focused")),ue(t.querySelector("[data-x-search-clear]"),"click",()=>{e.value="",e.focus(),r()}),ue(t.querySelector("[data-x-search-submit]"),"click",()=>{window.csGlobal.isPreview||t.submit()})]});x("[data-x-element-bg-layer]",(t,{parallaxDir:e="v",parallaxRev:n=!1,parallaxSize:r=""})=>{let o=t.closest(".x-bg"),i=e==="h";t.style.opacity="1",i?(n||(t.style.left="auto",t.style.right="0"),t.style.width=r):(n||(t.style.top="auto",t.style.bottom="0"),t.style.height=r);function s(){let{width:l,height:c,top:f,bottom:u}=o.getBoundingClientRect();if(f<=window.innerHeight&&u>=0){let{width:p,height:d}=t.getBoundingClientRect(),h=n?-1:1,m=i?p-l:d-c,y=1-u/(window.innerHeight+c),g=`${parseInt(y*m*h,10)}px`,v=i?`translate3d(${g}, 0, 0)`:`translate3d(0, ${g}, 0)`;t.style.transform=v}}function a(){requestAnimationFrame(s)}return[Ye(a),mt(a)]});var{addClass:ld,removeClass:fs,hasClass:cd,listener:Tn}=T;x("[data-x-element-card]",t=>{let e=!1,n=r=>{(r!=null?r:!cd(t,"is-active"))?(fs(t,"has-not-flipped"),ld(t,"is-active")):fs(t,"is-active")};return[Tn(t,"touchstart",()=>{e=!0}),Tn(t,"click",({target:r})=>{t.contains(r.closest("a"))||n()}),Tn(t,"pointerenter",()=>{e||n(!0)}),Tn(t,"pointerleave",()=>{e||n(!1)})]});var{makeRafLoop:ud}=T;function dd(t,e){let n=`${t}`;for(;n.length<e;)n=`0${n}`;return n}function fd(){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 ps({el:t,end:e,serverTime:n,leadingZeros:r=!0,hideEmpty:o=!0,loadingClass:i="is-loading",completeClass:s="is-complete",digitClass:a="x-countdown-digit",completeMessageTag:l="div",completeMessageContent:c="",completeMessageClass:f="x-countdown-complete",hideOnComplete:u=!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:d={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 y={days:t.querySelector(p.days),hours:t.querySelector(p.hours),minutes:t.querySelector(p.minutes),seconds:t.querySelector(p.seconds)},{days:g,hours:v,minutes:b,seconds:A}=y,k={d:t.querySelector(p.daysLabel),h:t.querySelector(p.hoursLabel),m:t.querySelector(p.minutesLabel),s:t.querySelector(p.secondsLabel)},w=new Date(e).getTime(),E=new Date(n).getTime()-new Date().getTime(),C=fd(),P=I=>{let z=Math.abs(I),B=parseInt(z/86400);z%=86400;let rt=parseInt(z/3600);z%=3600;let ft=parseInt(z/60);z%=60;let S=parseInt(z);return g||(rt+=B*24),v||(ft+=rt*60),b||(S+=ft*60),{diffDays:B,diffHours:rt,diffMinutes:ft,diffSeconds:S}},F=()=>
1{if(Object.keys(y).forEach(N),u){t.style.display="none",C(t,"");return}if(!c)return;let I=document.createElement(l);I.innerHTML=c,f&&I.classList.add(f),t.append(I),t.classList.add(s)},q=I=>(r?dd(I,2):I.toString()).split("").map(B=>`<span class="${a}">${B}</span>`).join(""),X=(I,z)=>{if(!I||!k[I])return;let B=k[I];C(B,(z?d:h)[I])},K=({diffDays:I,diffHours:z,diffMinutes:B,diffSeconds:rt})=>{g&&(C(g,q(I)),X("d",I===1)),v&&(C(v,q(z)),X("h",z===1)),b&&(C(b,q(B)),X("m",B===1)),A&&(C(A,q(rt)),X("s",rt===1))},nt=({diffDays:I,diffHours:z,diffMinutes:B,diffSeconds:rt})=>{let ft=t.querySelector(p.aria);ft&&C(ft,m.replace(/{{d}}/g,I).replace(/{{h}}/g,z).replace(/{{m}}/g,B).replace(/{{s}}/g,rt))},N=I=>{if(!y[I])return;let z=y[I].closest(p.parent);z&&(z.remove(),y[I]=null)},It=({diffDays:I,diffHours:z,diffMinutes:B})=>{I===0&&N("days"),I===0&&z===0&&N("hours"),I===0&&z===0&&B===0&&N("minutes")},Vt=E+new Date().getTime();return ud(I=>{let z=Vt+I;if(z>w)return F(),!1;let B=P((z-w)/1e3);o&&It(B),K(B),nt(B),I===0&&t.classList.remove(i)})}x("[data-x-element-countdown]",(t,e={})=>ps({el:t,...e}));var{waypoint:pd,tween:hd,getPrecisionLength:md,getPrecisionLengthWithCommas:gd,round:vd}=T,yd=",",hs=".",bd=/(-)?(\d+)(\.\d+)?/;function wd({el:t,from:e,to:n,commaSeparatedDecimal:r=!1,...o}){let i=typeof e=="undefined"?t.textContent:e,s=typeof n=="undefined"?t.textContent:n,a=r?hs:yd,l=s.toString().includes(a)||i.toString().includes(a),c=r?gd:md,f=Math.max(c(s),c(i)),u=h=>{if(!h)return console.warn("Input invalid",h),"";let[,m="",y="",g=""]=h.match(bd),v=y.split("").reverse(),b=[];for(;v.length;)b.push(v.splice(0,3).reverse().join(""));return`${m}${b.reverse().join(a)}${g}`},p=ms(i,a),d=ms(s,a);hd(p,{...o,update:h=>{let m=vd(h,Math.pow(10,f)).toFixed(f),y=l?u(m):m;t.textContent=r?y.replace(/\.(\d+)$/,",$1"):y}})(d)}function ms(t,e){let n=0;return e===hs&&(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}x("[data-x-element-counter]",(t,{to:e,speed:n,selector:r=".x-counter-number",commaSeparatedDecimal:o})=>pd(t,()=>void wd({el:t.querySelector(r),to:e,commaSeparatedDecimal:o,duration:n}),"85%"));var Pr=new WeakMap,gs=t=>{if(!Pr.has(t)){let e={markers:new Set,active:!1};Pr.set(t,e)}return Pr.get(t)};x("[data-x-element-map_google_marker]",(t,{lat:e,lng:n,imageSrc:r,imageWidth:o,imageOffsetX:i,imageHeight:s,imageOffsetY:a,imageRetina:l,content:c,contentStart:f})=>{let{markers:u}=gs(t.closest("[data-x-element-map-google]"));u.add(p=>{let d={map:p,position:new window.google.maps.LatLng(parseFloat(e),parseFloat(n))};if(r){let m={url:r,origin:new window.google.maps.Point(0,0)},y=Math.abs(o/(100/parseFloat(i))-o/2),g=Math.abs(s/(100/parseFloat(a))-s/2);l?(m.anchor=new window.google.maps.Point(y/2,g/2),m.scaledSize=new window.google.maps.Size(o/2,s/2)):(m.anchor=new window.google.maps.Point(y,g),m.size=new window.google.maps.Size(o,s)),d.icon=m}let h=new window.google.maps.Marker(d);if(c!==""){let m=new window.google.maps.InfoWindow({content:c,maxWidth:200});f==="open"&&m.open(p,h),window.google.maps.event.addListener(h,"click",function(){m.open(p,this)})}})},10);x("[data-x-element-map-google]",(t,e={})=>{if(!window.google||!window.google.maps)return;let n=gs(t);if(n.active)return;n.active=!0;let r=new window.google.maps.LatLng(e.lat,e.lng),o=new window.google.maps.Map(t,{mapTypeId:"roadmap",center:r,draggable:e.drag,zoomControl:e.zoom,zoom:parseInt(e.zoomLevel,10),clickableIcons:!1,disableDefaultUI:!0,disableDoubleClickZoom:!1,fullscreenControl:!1,mapTypeControl:!1,rotateControl:!1,scrollwheel:!1,streetViewControl:!1,backgroundColor:"transparent"});o.mapTypes.set("map_google",new window.google.maps.StyledMapType(e.styles===""?null:JSON.parse(e.styles),{name:"Styled Map"})),o.setMapTypeId("map_google"),n.markers.forEach(i=>void i(o)),e.drag||o.addListener("center_changed",function(){o.panTo(r)})},100);var{hasClass:Ct,addClass:xd,removeClass:Ir,unwrapHtmlTemplate:Sd,dispatch:vs,listener:An,onResize:Td}=T;x("[data-x-element-mejs]",(t,{poster:e})=>{let n=Ct(t,"bg")||Ct(t,"x-video-bg"),r=Ct(t,"vimeo")||Ct(t,"youtube"),o=["playpause","progress"],i=["playpause","current","progress","duration","tracks","volume","fullscreen"],s=[];if(n&&(e&&(xd(t,"poster"),t.style.backgroundImage=`url(${e})`,setTimeout(()=>void Ir(t,"transparent"),500)),Sd(t.querySelector('script[type="text/template"]')),s.push(An(t,"xmejs-start",()=>{Ir(t.querySelector(".transparent"),"transparent"),Ir(t,"transparent")}))),!window.mejs)return;let a=t.querySelector(".x-mejs");if(!a||Ct(a.parentElement,"mejs-mediaelement"))return;let l=u=>{console.warn("MEJS media error.",u),u.stopPropagation()};try{window.jQuery(a).mediaelementplayer({pluginPath:window._wpmejsSettings.pluginPath,startVolume:1,features:n?[]:Ct(a,"advanced-controls")?i:o,audioWidth:"100%",audioHeight:32,audioVolume:"vertical",videoWidth:"100%",videoHeight:"100%",videoVolume:"vertical",pauseOtherPlayers:!1,alwaysShowControls:!0,setDimensions:!1,stretching:"responsive",autoRewind:!1,success:c,error(u){l(u)}})}catch(u){l(u)}function c(u,p,d){let h=!0,m=!0;
1Ct(t,"autoplay")&&(p.setAttribute("autoplay",!0),setTimeout(()=>{p.play()},100));let y=()=>{p.attributes.hasOwnProperty("autoplay")&&h&&(u.play(),h=!1),p.attributes.hasOwnProperty("muted")&&m&&(u.setMuted(!0),m=!1),u.removeEventListener("canplay",y)};u.addEventListener("canplay",y);let g=d.controls[0].querySelector(".mejs-volume-button");u.addEventListener("volumechange",()=>u.setVolume(Ct(g,"mejs-mute")?1:0)),u.addEventListener("ended",()=>{p.attributes.hasOwnProperty("loop")&&u.play()}),n||u.addEventListener("playing",()=>{Object.keys(window.mejs.players).filter(v=>v!==d.id&&!window.mejs.players[v].xIsVideoBG).map(v=>window.mejs.players[v]).forEach(v=>v.pause())}),d.isVideo===!0&&(d.xIsVideoBG=n,f(u,p,d))}function f(u,p,{container:d,controls:h}){if(u.addEventListener("timeupdate",function y(){vs(t,"xmejs-start"),u.removeEventListener("timeupdate",y)}),An(d[0],"fullscreenchange",()=>{document.fullscreenElement||u.removeAttribute("style")}),r&&s.push(An(t,"xmejs-start",()=>{var y;(y=t.querySelector("video.x-mejs"))==null||y.removeAttribute("poster")})),n)u.addEventListener("playing",()=>{u.setMuted(!0),vs(t,"xmejs-bgvideoready")}),s.push(An(t,"xmejs-bgvideoready",m)),s.push(Td(m));else{let y=()=>h.stop().animate({opacity:1},150),g=()=>h.stop().animate({opacity:0}
1,150);u.addEventListener("playing",()=>d.on("mouseenter",y).on("mouseleave",g)),u.addEventListener("pause",()=>{d.off("mouseenter mouseleave"),y()})}function m(){let y=t.querySelector(r?".me-plugin":"video"),g=p.videoWidth,v=p.videoHeight,b=r||g===0?1280:g,A=r||v===0?720:v,k=t.offsetWidth||0,w=t.offsetHeight||0,E=k/b,C=w/A,P=E>C?E:C,F=Math.ceil(P*b+20),q=Math.ceil(P*A+20),X=Math.ceil((F-k)/2),K=Math.ceil((q-w)/2);y.style.width=`${F}px`,y.style.height=`${q}px`}}});var{waypoint:Ad}=T;x("[data-x-element-statbar]",(t,{triggerOffset:e}={})=>{Ad(t,()=>{Array.from(t.querySelectorAll(".x-statbar-bar, .x-statbar-label")).forEach(n=>{n.classList.add("x-active")})},e)});var{listener:Ed,onLoad:Cd,getOuterHeight:kd}=T;x("[data-x-element-tabs]",(t,{equalPanelHeight:e})=>{if(!e)return;let n=Array.from(t.querySelectorAll(".x-tabs-panels")),r=()=>{let o=n.reduce((i,s)=>Math.max(i,kd(s)),0);n.forEach(i=>{i.style.height=`${o}px`})};return r(),[Cd(r),Ed(window,"resize",r)]});var Ld={strings:[],typeSpeed:0,startDelay:0,backSpeed:0,shuffle:!1,backDelay:500,loop:!1,loopCount:!1,showCursor:!0,cursorChar:"|",attr:null,contentType:"html",callback:function(){},preStringTyped:function(){},onStringTyped:function(){},resetCallback:function(){}},Or=function(t,e){this.el=t,this.options={...Ld,...e},this.isInput=this.el.matches("input"),this.attr=this.options.attr,this.showCursor=this.isInput?!1:this.options.showCursor,this.elContent=this.attr?this.el.getAttribute(this.attr):this.el.textContent,this.contentType=this.options.contentType,this.typeSpeed=this.options.typeSpeed,this.startDelay=this.options.startDelay,this.backSpeed=this.options.backSpeed,this.backDelay=this.options.backDelay,this.strings=this.options.strings,this.strPos=0,this.arrayPos=0,this.stopNum=0,this.loop=this.options.loop,this.loopCount=this.options.loopCount,this.curLoop=0,this.stop=!1,this.cursorChar=this.options.cursorChar,this.shuffle=this.options.shuffle,this.sequence=[],this.timeouts=[],this.build()};Or.prototype={constructor:Or,init:function(){var t=this;t.addTimeout(function(){for(var e=0;e<t.strings.length;++e)t.sequence[e]=e;t.shuffle&&(t.sequence=t.shuffleArray(t.sequence)),t.typewrite(t.strings[t.sequence[t.arrayPos]],t.strPos)},t.startDelay)},build:function(){var t=this;t.addTimeout(()=>{let e=t.el.parentNode.querySelectorAll(".x-typed-cursor");for(var n=0;n<e.length;++n)e[n].remove();this.showCursor===!0&&(this.cursor=document.createElement("span"),this.cursor.classList.add("x-typed-cursor"),this.cursor.innerText=this.cursorChar,this.el.insertAdjacentElement("afterend",this.cursor)),t.stop=!1,t.init()},500)},typewrite:function(t,e){if(this.stop!==!0){var n=Math.round(Math.random()*(100-30))+this.typeSpeed,r=this;r.addTimeout(function(){var o=0,i=t.substr(e);if(i.charAt(0)==="^"){var s=1;/^\^\d+/.test(i)&&(i=/\d+/.exec(i)[0],s+=i.length,o=parseInt(i)),t=t.substring(0,e)+t.substring(e+s)}if(r.contentType==="html"){var a=t.substr(e).charAt(0);if(a==="<"||a==="&"){var l="",c="";for(a==="<"?c=">":c=";";t.substr(e).charAt(0)!==c;)l+=t.substr(e).charAt(0),e++;e++,l+=c}}r.addTimeout(function(){if(e===t.length){if(r.options.onStringTyped(r.arrayPos),r.arrayPos===r.strings.length-1&&(r.options.callback(),r.curLoop++,r.loop===!1||r.curLoop===r.loopCount)){r.stop=!0,r.clearTimeouts();return}r.addTimeout(function(){r.backspace(t,e)},r.backDelay)}else{e===0&&r.options.preStringTyped(r.arrayPos);var f=t.substr(0,e+1);r.attr?r.el.getAttribute(r.attr,f):r.isInput?r.el.setAttribute("value",f):r.contentType==="html"?r.el.innerHTML=f:r.el.textContent=f,e++,r.typewrite(t,e)}},o)},n)}},backspace:function(t,e){if(this.stop!==!0){var n=Math.round(Math.random()*(100-30))+this.backSpeed,r=this;r.addTimeout(function(){if(r.contentType==="html"&&t.substr(e).charAt(0)===">"){for(var o="";t.substr(e).charAt(0)!=="<";)o-=t.substr(e).charAt(0),e--;e--,o+="<"}var i=t.substr(0,e);r.attr?r.el.attr(r.attr,i):r.isInput?r.el.val(i):r.contentType==="html"?r.el.innerHTML=i:r.el.textContent=i,e>r.stopNum?(e--,r.addTimeout(()=>{r.backspace(t,e)},n)):e<=r.stopNum&&(r.arrayPos++,r.arrayPos===r.strings.length?(r.arrayPos=0,r.shuffle&&(r.sequence=r.shuffleArray(r.sequence)),r.init()):r.typewrite(r.strings[r.sequence[r.arrayPos
1]],e))},n)}},shuffleArray:function(t){var e,n,r=t.length;if(r)for(;--r;)n=Math.floor(Math.random()*(r+1)),e=t[n],t[n]=t[r],t[r]=e;return t},addTimeout:function(t,e){if(this.clearTimeouts(),this.stop)return;let n,r=setTimeout(()=>{t(),this.timeouts.splice(n,1)},e);n=this.timeouts.push(r)},clearTimeouts:function(){this.timeouts.map((t,e)=>{clearTimeout(t),this.timeouts.splice(e,1)})},reset:function(){var t=this;t.stop=!0,this.clearTimeouts();var e=this.el.getAttribute("id");let n=document.createElement("span");n.setAttribute("id",e),this.el.insertAdjacentElement("afterend",n),this.el.remove(),typeof this.cursor!="undefined"&&this.cursor.remove(),t.options.resetCallback()}};function Hr(t,e={}){let n=new Or(t,e);return()=>{n.reset()}}x("[data-x-element-text-type]",(t,e)=>Hr(t.querySelector(".text, .x-text-typing"),{strings:e.strings,typeSpeed:e.type_speed,startDelay:e.start_delay,backSpeed:e.back_speed,backDelay:e.back_delay,loop:e.loop,showCursor:e.show_cursor,cursorChar:e.cursor}));if(window.jQuery){let e=function(n){let r='<span class="x-anchor-content" style="-webkit-justify-content: center; justify-content: center; -webkit-align-items: center; align-items: center;"><span class="x-anchor-text"><span class="x-anchor-text-primary"></span></span></span>';t(n).find(".button").removeClass("button").addClass("x-anchor").wrapInner(r)},t=window.jQuery;x(".x-mini-cart",n=>{e(n)}),t(document).on("added_to_cart wc_fragments_loaded wc_fragments_refreshed","body",()=>{Array.from(document.querySelectorAll(".x-mini-cart")).forEach(e)}),t(document).on("wc_cart_button_updated",(n,r)=>{r.hasClass("x-anchor-button")&&r.parent().find(".added_to_cart").remove()}),t(()=>{x(".x-preview-woocommerce-product-gallery",n=>{let r=t(n);r.addClass("woocommerce-product-gallery").removeClass("x-woocommerce-product-gallery"),r.trigger("wc-product-gallery-before-init",[n,window.wc_single_product_params]),r.wc_product_gallery(window.wc_single_product_params),r.trigger("wc-product-gallery-after-init",[n,window.wc_single_product_params])})})}x("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{util:Md}=window.csGlobal.rivet,{addClass:Dr,removeClass:Wr,hasClass:km,getOuterHeight:ys,once:bs,makeAlternatingSynchronizer:Pd}=Md,Id=t=>Pd(e=>{t.setAttribute("aria-hidden","false");let n=ys(t);Wr(t,"x-collapsed"),Dr(t,"x-collapsing"),t.offsetHeight,t.style.height=`${n}px`,bs(t,"transitionend",()=>{Wr(t,"x-collapsing"),t.style.height="",e()})},e=>{t.setAttribute("aria-hidden","true"),t.style.height=`${ys(t)}px`,Dr(t,"x-collapsing"),t.offsetHeight,t.style.height="",bs(t,"transitionend",()=>{Wr(t,"x-collapsing"),Dr(t,"x-collapsed"),e()})}),Rr=new WeakMap,Od=t=>(Rr.has(t)||Rr.set(t,Id(t)),Rr.get(t));function ws(t,e){Od(t)(e)}var{util:Hd}=window.csGlobal.rivet,{listener:Dd,debounce:xs,addClass:Wd,removeClass:Rd,hasClass:Nt,toggleClass:Me,once:zd,scrollingDisable:qd,scrollingEnable:Ss}=Hd,En=t=>document.querySelector(`[data-x-toggleable="${t}"][data-x-toggle]`),Bd=t=>document.querySelector(`[data-x-toggleable="${t}"]:not([data-x-toggle])`),Ts=t=>t?t.parentElement.matches(".x-nav-tabs-item")?"classic-tab":t.getAttribute("data-x-toggle"):null,$d=t=>["tab","classic-tab"].includes(Ts(t)),As=t=>t&&t.getAttribute("data-x-toggle-group"),_d=t=>!!document.querySelector(`[data-x-toggle-group="${t||""}"].x-active`),kt=(t,e)=>t&&(t.matches(e)?t:t.closest(e)),Yd=(t,e)=>t&&(t.matches(e)?t:t.find(e)),Fd=t=>kt(t,"[data-x-toggle]"),Nd=t=>kt(t,"[data-x-toggleable]"),dt=t=>t&&t.getAttribute("data-x-toggleable"),zr=t=>t&&t.getAttribute("data-x-toggle-hash"),Vd=t=>t&&t.matches(".mce-content-body"),Xd=t=>{let{marginTop:e,marginBottom:n}=getComputedStyle(t);return t.offsetHeight+parseInt(e)+parseInt(n)},Pe=()=>window.location.hash.replace("#",""),Ud=t=>document.querySelectorAll(`[data-x-toggle-group="${As(t)}"]:not([data-x-toggleable="${dt(t)}"])`),Gd=t=>{let e=Fd(t);return[e,dt(e)]},Es=t=>Array.from(document.querySelectorAll("[data-x-toggle-hash]")).filter(e=>zr(e)===t).map(dt),Ie=t=>kt(t,"[data-x-toggleable]:not([data-x-toggle])"),Cn=(t,e)=>{let n=[],r,o=t;for(;
1r=o&&Ie(o);){let i=dt(r);o=En(i),n.push(i)}return e&&n.shift(),n};window.TCOToggleStates||(window.TCOToggleStates=new Map,window.TCOToggleScrollBlocking=new Map);var jd=!1,Lt=window.TCOToggleStates,qr=window.TCOToggleScrollBlocking,Mt=!1;function Qd(){let t=[];for(let[e,n]of Lt){let r=Bd(e);n&&qr.has(e)&&t.push(e),r||Lt.delete(e)}t.find(e=>!Lt.has(e))&&Ss()}window.integrityCheckTimeout||(window.integrityCheckTimeout=null);var Kd=function(){clearTimeout(window.integrityCheckTimeout),window.integrityCheckTimeout=setTimeout(Qd,500)};window.xToggleIntegrityCheck||(window.xToggleIntegrityCheck=Kd);function Jd(t){let e=En(t);switch(Ts(e)){case"collapse":case 1:case"layered":return e.matches(".x-active");case"tab":return _d(As(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 de(t){return Lt.has(t)||Lt.set(t,Jd(t)),Lt.get(t)}function at({id:t,state:e,_triggeringGroup:n,force:r}){let o=de(t);typeof e=="undefined"&&(e=!o);let i=En(t);!r&&!n&&(Vd(i)||!e&&$d(i))||(Lt.set(t,e),(o!==e||r)&&Zd(t,e),n||Ud(i).forEach(s=>{at({force:r,id:dt(s),state:!1,_triggeringGroup:!0})}))}window.xToggleGetState=t=>de(t);window.xToggleGetStateFromNode=t=>de(dt(t));window.xToggleUpdate=(t,e)=>at({id:t,state:e});window.xToggleDelete=t=>Lt.delete(t);window.xToggleGetId=dt;var Cs=!1;window.xToggleTempUnlock=()=>{Cs=!!Mt,Mt=!1};window.xToggleTempRelock=()=>{Mt=Cs};window.xToggleSetLocking=t=>{Mt=!!t};function Zd(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 ks(t){return Dd(t,"tco-toggle",({currentTarget:e,detail:{state:n,id:r}})=>{var o;if(t.hasAttribute("data-x-toggle-overlay")&&(n?((o=document.querySelector(`[data-x-toggleable=${r}][role="dialog"]`))==null?void 0:o.hasAttribute("data-x-disable-body-scroll"))&&(qd(),qr.set(r,!0)):n||(qr.delete(r),Ss())),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")?ws(t,n):t.hasAttribute("data-x-toggle-layered")?zi(t,n):Nt(t,"x-anchor")?ce(t,n):t.getAttribute("data-x-toggle")==="collapse-b"?Me(t,"collapsed",!n):Nt(t.parentElement,"x-nav-tabs-item")?Me(t.parentElement,"active",n):Nt(t,"x-tab-pane")?Me(t,"active",n):Me(t,"x-active",n),n&&Nt(t,"x-modal")&&setTimeout(function(){window.dispatchEvent(new Event("resize"))},150),t.matches("[data-x-toggle]")){if(Me(t.querySelector(".x-toggle"),"x-active",n),jd)return;Array.from(t.querySelectorAll("[data-x-toggle-anim]")).forEach(i=>{Nt(i,"x-running")||zd(i,"animationiteration",()=>{Rd(i,"x-running"),Nt(t,"x-active")||i.removeAttribute("style")}),Wd(i,"x-running"),Nt(t,"x-active")&&(i.style.animationName=i.getAttribute("data-x-toggle-anim"))})}n&&!window.csGlobal.isPreview&&(e.querySelector("[data-x-search]")?e.querySelector("[data-x-search] input").focus():t.matches('[tabindex="-1"]')&&e.focus())})}var tf=t=>{let e=Ie(t);return!!(e&&(e.matches(".x-modal")&&!t.closest(".x-modal-content")||e.matches(".x-off-canvas")&&!t.closest(".x-off-canvas-content")))},ef=(t,{exclude:e=[]}={})=>{if(Mt)return;let n=[...Cn(t,tf(t)),...e].filter(r=>!!r);Array.from(document.querySelectorAll("[data-x-toggleable].x-dropdown, [data-x-toggleable].x-off-canvas, [data-x-toggleable].x-modal")).map(r=>r.getAttribute("data-x-toggleable")).filter(r=>!n.includes(r)).forEach(r=>at({id:r,state:!1}))};function Br(){Es(Pe()).forEach(e=>{at({id:e,state:!0})})}var nf=(t,e,n)=>{if(!t||e.isContentEditable)return!1;if(t.matches("[data-x-toggle-hover]")){if(Mt)return!0;if(n)return!1}let r=t.querySelector("[data-x-toggle-nested-trigger]");return r?kt(e,"[data-x-toggle-nested-trigger]")===r:kt(e,"[data-x-toggle]")===t};var $r=({ignoreHoverToggle:t=!0}={})=>e=>{let[n,r]=Gd(e.target);nf(n,e.target,t)&&(kt(e.target,"a[href]")&&e.preventDefault(),at({id:r}));let o=!r&&kt(e.target,"[data-x-toggle-close]"),i=o&&dt(Nd(o));i&&at({id:i}
1);let s=kt(e.target,"a[href]"),a=s?s.getAttribute("href").replace("#","").trim():"",c=a&&a===Pe()?Es(Pe()):[];c.length>0&&c.forEach(f=>{at({id:f,state:!0})}),ef(e.target,{exclude:[r,i,...c]})},U={},rf=t=>e=>{at({id:t,state:!0})},of=t=>e=>(U[t].canHoverLeave=!1,at({id:t,state:!1}),()=>{});function Ls(t){let e=dt(t),n=En(e);!n||(U[e]||(U[e]={canHoverLeave:!1,cancelEnter:()=>{},cancelLeave:()=>{},hasHoverToggle:()=>!!document.querySelector(`[data-x-toggleable="${e}"][data-x-toggle-hover]`),onEnter:xs(rf(e),100),onLeave:xs(of(e),100)}),n.addEventListener("mouseenter",()=>{U[e].hasHoverToggle()&&(U[e].canHoverLeave=!0,U[e].cancelLeave(),de(e)||(U[e].cancelEnter=U[e].onEnter()))}),n.addEventListener("mouseleave",()=>{U[e].canHoverLeave&&(Mt||(U[e].cancelLeave=U[e].onLeave()))}),t.addEventListener("mouseenter",()=>{let r=[e,...Cn(Ie(t))];setTimeout(()=>{r.forEach(o=>{U[o]&&U[o].cancelLeave()})})}),t.addEventListener("mouseleave",({toElement:r})=>{[e,...Cn(Ie(t))].forEach(s=>{U[s]&&U[s].canHoverLeave&&(Mt||(U[s].cancelLeave=U[s].onLeave()))}),Cn(Ie(r)).forEach(s=>{U[s]&&U[s].cancelLeave()})}))}function Ms(t){if(t.tagName==="BUTTON")return;let e=$r({ignoreHoverToggle:!1});t.addEventListener("keydown",n=>{n.key==="Enter"&&e(n)})}function Ps(t){let e=function(){let r=Yd(t,".x-current-layer"),o=Array.from(r.children).filter(i=>i.matches("li")).reduce((i,s)=>i+Xd(s),0);t.style.height=`${o}px`};e();let n=J(e,50);window.addEventListener("resize",n)}var{listener:Is}=T;x("[data-x-toggleable]",t=>ks(t));var _r=!1;document.addEventListener("readystatechange",()=>{document.readyState==="complete"&&(window.document.body.addEventListener("click",$r()),x("[data-x-toggleable]",t=>{let e=dt(t),n=zr(t);(de(e)||n&&n===Pe())&&(window.csGlobal.isPreview&&(_r=!0,t.setAttribute("data-x-disable-animation",!0)),at({id:e,state:!0,force:!0}),_r&&(_r=!1,setTimeout(()=>{t.removeAttribute("data-x-disable-animation")},60)))}))});x("[data-x-toggleable]:not([data-x-toggle])",Ls);x("[data-x-toggle]",Ms);x("[data-x-toggle-layered-root]",Ps);Q.filter("hash_scrolling_allow",(t,e,n)=>n.target.hasAttribute("data-x-toggle-nested-trigger")||n.target.hasAttribute("data-x-skip-scroll")?!1:t);Q.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]"))&&at({id:e.getAttribute("data-x-toggleable"),state:!1})});Z("ontoggleclose",(t,e,n)=>Is(n.closest("[data-x-toggleable]"),"tco-toggle",r=>{r.detail.state&&t()}),{defaultOption:"throttle"});Z("ontoggleopen",(t,e,n)=>Is(n.closest("[data-x-toggleable]"),"tco-toggle",r=>{r.detail.state||t()}),{defaultOption:"throttle"});window.addEventListener("tcoHistoryPush",Br,!1);window.addEventListener("hashchange",Br,!1);var{onScroll:sf,onResize:Os,addClass:Yr,removeClass:Fr,toggleClass:af,onLoad:Nr,tween:Hs,getOuterHeight:Vr,scrollOffset:Xr,listener:Pt,once:Ds,getCachedJsonAttribute:Ur,waypoint:Oe,fontCompress:lf}=T;function lt(t,e){x(`[data-x-element="${t}"]`,n=>void e.call(n,n,Ur(n,"data-x-params")))}x("[data-x-element-responsive-text]",(t,{selector:e,compression:n,minFontSize:r,maxFontSize:o})=>
1{e&&Array.from(document.querySelectorAll(e)).forEach(i=>lf(i,{c:n,min:r,max:o}))});var cf=()=>!!(/Android|webOS|Opera Mini|windows phone/i.test(navigator.userAgent)||/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);function Ws(t){if(!me(t,"parallax"))return;if(cf()){t.style.backgroundAttachment="scroll",t.style.backgroundSize="cover",t.style.backgroundPosition="center";return}let e=0;me(t,"bg-image")&&(e=.1),me(t,"bg-pattern")&&(e=.3);let n=Xr(t).top,r=document.readyState==="complete",o=()=>{let{top:i}=Xr(t);i+t.offsetHeight<window.scrollY||i>window.scrollY+window.innerHeight||(t.style.backgroundPosition=`50% ${Math.floor((n-window.scrollY)*e)}px`)};return r&&o(),[sf(o),Os(()=>{n=Xr(t).top}),Nr(()=>{r=!0,o()})]}lt("section",Ws);lt("content_band",Ws);lt("column",(t,e)=>{!e.fade||Oe(t.parentElement,()=>{t.style.opacity="1",t.style.transform="translate(0, 0)"},"65%")});lt("classic_card",function(t){function e(m){m.target.tagName!=="A"&&af(t,"flipped")}function n(){Yr(t,"flipped")}function r(){Fr(t,"flipped")}let o=Pt(t,"click",e),i=Pt(t,"mouseenter",n),s=Pt(t,"mouseleave",r),a;Pt(t,"touchstart",()=>{a&&a(),a=Pt(t,"touchend",e)}),Pt(t,"touchmove",()=>{a&&a()}),Ds(t,"touchstart",()=>{o(),i(),s()});let l=t.querySelector(".x-card-inner"),c=t.querySelector(".x-face-outer.front"),f=c.querySelector(".x-face-content"),u=t.querySelector(".x-face-outer.back"),p=c.querySelector(".x-face-content"),d=m=>{let{borderTopWidth:y,borderBottomWidth:g}=getComputedStyle(u);return parseFloat(y)+parseFloat(g)};function h(){let m=Math.max(Vr(f)+d(u),Vr(p)+d(c));l.style.height=`${m}px`}return[Nr(h),Os(h,!0)]});lt("skill_bar",(t,e)=>{let n=t.querySelector(".bar");Oe(t,()=>{Hs(0,{duration:750,update:r=>{n.style.width=`${r}%`}})(parseFloat(e.percent))},"95%")});lt("recent_posts",function(t,{fade:e}){if(!e)return;let n=Array.from(t.querySelectorAll("a"));Oe(t,()=>{n.forEach((r,o)=>{setTimeout(()=>{Hs(0,{duration:750,update:i=>{r.style.opacity=`${i}`}})(1)},o*90)}),setTimeout(()=>{Yr(t,"complete")},n*90+400)},"75%")});lt("creative_cta",function(t,e){let n=t.querySelector(".graphic");n.style.transform="translate(-50%, -50%) scale(0)";let r=()=>{n.style.transform="translate(-50%, -50%) scale(0)",t.style.backgroundColor=e.bg_color};return r(),[Pt(t,"mouseenter",()=>{t.style.backgroundColor=e.bg_color_hover,n.style.transform="translate(-50%, -50%) scale(1)"}),Pt(t,"mouseleave",r)]});lt("feature_box",function(t,e){e.child!==!0&&e.graphicAnimation!=="none"&&Oe(t,()=>{setTimeout(()=>{He(t.querySelector(".x-feature-box-graphic-outer"),"animated "+e.graphicAnimation)},e.graphicAnimationDelay)},e.graphicAnimationOffset+"%")});lt("feature_list",function(t,e){var n=Ur(t.querySelector(".x-feature-box"),"data-x-params"),r=0;if(n.graphicAnimation!=="none"||n.connectorAnimation!=="none"){let o=Array.from(t.children);Oe(t,function(){setTimeout(function(){o.forEach((i,s)=>{var l;if(n.graphicAnimation!=="none"&&He(i.querySelector(".x-feature-box-graphic-outer"),"animated "+n.graphicAnimation,r++,e.animationDelayBetween),n.connectorAnimation!=="none"){var a="animated "+n.connectorAnimation;let c=i.querySelector(".lower");c&&He(c,a,r,e.animationDelayBetween);let f=(l=o[s+1])==null?void 0:l.querySelector(".upper");f&&He(f,a,r,e.animationDelayBetween);let u=i.querySelector(".full");u&&He(u,a,r++,e.animationDelayBetween)}})},e.animationDelayInitial)},e.animationOffset+"%")}});lt("tab_nav",function(t,{orientation:e}){e==="vertical"&&(t.style.minHeight=`${Vr(t.nextElementSibling)}px`)});function He(t,e,n=0,r=0){let o=e.split(" ").map(i=>i.trim()).filter(i=>!!i);setTimeout(()=>{Fr(t,"animated-hide"),o.forEach(i=>void Yr(t,i)),Ds(t,"animationend",()=>{o.forEach(i=>void Fr(t,i))})},n*r)}lt("google_map",function(t,e){if(!window.google||!window.google.maps)return;function n(m){var y=[],g=[];Array.from(t.querySelectorAll(".x-google-map-marker")).forEach(function(v,b){var A=Ur(v,"data-x-params"),k=new window.google.maps.Marker({map:m,position:new window.google.maps.LatLng(A.lat,A.lng),infoWindowIndex:b,icon:A.image});if(y[b]=k,A.markerInfo!==""){var w=new window.google.maps.InfoWindow({content:A.markerInfo,maxWidth:200});g[b]=w,A.startOpen&&w.open(m,k),window.google.maps.event.addListener(y[b],"click",function(){w.open(m,this)})}})}var r=t.querySelector(".x-google-map-inner"),o=e.lat,i=e.lng,s=new window.google.maps.LatLng(o,i),a=e.drag,l=parseInt(e.zoom),c=e.zoomControl,f=e.hue,u=[{featureType:"all",elementType:"all",stylers:[{hue:f||null}]},{featureType:"water",elementType:"all",stylers:[{hue:f||null},{saturation:0},{lightness:50}]},{featureType:"poi",elementType:"all",stylers:[{visibility:"off"}]}],p={scrollwheel:!1,draggable:a===!0,zoomControl:c===!0,disableDoubleClickZoom:!1,disableDefaultUI:!0,zoom:l,center:s,mapTypeId:window.google.maps.MapTypeId.ROADMAP},d=new window.google.maps.StyledMapType(u,{name:"Styled Map"}),h=new window.google.maps.Map(r,p);h.mapTypes.set("map_style",d),h.setMapTypeId("map_style"),n.call(this,h)});Nr(()=>{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>'};
1class r{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 l=this.options.trigger.split(" "),c=l.length;c--;){var f=l[c];if(f=="click")this.$element.on("click."+this.type,!1,this.toggle);else{var u=f=="hover"?"mouseenter":"focusin",p=f=="hover"?"mouseleave":"focusout";this.$element.on(u+"."+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,l=this.tip(),c=this.getUID(this.type);this.setContent(),l.attr("id",c),this.$element.attr("aria-describedby",c),this.options.animation&&l.addClass("fade");var f=typeof this.options.placement=="function"?this.options.placement.call(this,l[0],this.$element[0]):this.options.placement,u=/\s?auto?\s?/i,p=u.test(f);p&&(f=f.replace(u,"")||"top"),l.detach().css({top:0,left:0,display:"block"}).addClass(f).data("bs."+this.type,this),this.options.container?l.appendTo(this.options.container):l.insertAfter(this.$element);var d=this.getElementPosition(this.el),h=l[0].offsetWidth,m=l[0].offsetHeight;if(p){var y=f,g=this.getElementPosition(this.el.parentElement);f=f=="bottom"&&d.top+d.height+m-g.scroll>g.height?"top":f=="top"&&d.top-g.scroll-m<0?"bottom":f=="right"&&d.right+h>g.width?"left":f=="left"&&d.left-h<g.left?"right":f,l.removeClass(y).addClass(f)}var v=this.getCalculatedOffset(f,d,h,m);this.applyPlacement(v,f);var b=function(){a.$element.trigger("shown.bs."+a.type),a.hoverState=null};this.$tip.hasClass("fade")?l.one("transitionend",b):b()}}applyPlacement(i,s){var a=this.tip(),l=a[0].offsetWidth,c=a[0].offsetHeight,f=parseInt(a.css("margin-top"),10),u=parseInt(a.css("margin-left"),10);isNaN(f)&&(f=0),isNaN(u)&&(u=0),i.top=i.top+f,i.left=i.left+u,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,d=a[0].offsetHeight;s=="top"&&d!=c&&(i.top=i.top+c-d);var h=this.getViewportAdjustedDelta(s,i,p,d);h.left?i.left+=h.left:i.top+=h.top;var m=h.left?h.left*2-l+p:h.top*2-c+d,y=h.left?"left":"top",g=h.left?"offsetWidth":"offsetHeight";a.offset(i),this.replaceArrow(m,a[0][g],y)}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 l(){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",l):l(),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,l){return i=="bottom"?{top:s.top+s.height,left:s.left+s.width/2-a/2}:i=="top"?{top:s.top-l,left:s.left+s.width/2-a/2}:i=="left"?{top:s.top+s.height/2-l/2,left:s.left-a}:{top:s.top+s.height/2-l/2,left:s.left+s.width}}getViewportAdjustedDelta(i,s,a,l){var c={top:0,left:0},f=this.getViewportDimensions();if(/right|left/.test(i)){var u=s.top-f.scroll,p=s.top-f.scroll+l;u<f.top?c.top=f.top-u:p>f.top+f.height&&(c.top=f.top+f.height-p)}else{var d=s.left,h=s.left+a;d<f.left?c.left=f.left-d:h>f.width&&(c.left=f.left+f.width-h)}return c}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||""}
1getUID(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)}}lt("extra",(o,i)=>void new r(o,i))});var Jm=window.csGlobal;})();
2/*!
3 * perfect-scrollbar v1.5.3
4 * Copyright 2021 Hyunje Jun, MDBootstrap and Contributors
5 * Licensed under MIT
6 */

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