(()=>{var _e=Object.create;var _=Object.defineProperty;var Ye=Object.getOwnPropertyDescriptor;var Je=Object.getOwnPropertyNames;var Ue=Object.getPrototypeOf,Ke=Object.prototype.hasOwnProperty;var Ze=e=>_(e,"__esModule",{value:!0});var Xe=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var je=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Je(t))!Ke.call(e,o)&&(n||o!=="default")&&_(e,o,{get:()=>t[o],enumerable:!(r=Ye(t,o))||r.enumerable});return e},et=(e,t)=>je(Ze(_(e!=null?_e(Ue(e)):{},"default",!t&&e&&e.__esModule?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var ye=Xe(()=>{Array.prototype.flat||Object.defineProperty(Array.prototype,"flat",{configurable:!0,value:function e(){var t=isNaN(arguments[0])?1:Number(arguments[0]);return t?Array.prototype.reduce.call(this,function(n,r){return Array.isArray(r)?n.push.apply(n,e.call(r,t-1)):n.push(r),n},[]):Array.prototype.slice.call(this)},writable:!0}),Array.prototype.flatMap||Object.defineProperty(Array.prototype,"flatMap",{configurable:!0,value:function(e){return Array.prototype.map.apply(this,arguments).flat()},writable:!0})});function ne(e,t,n){var r,o,i,l,a=!1,s=!1,u={},d=0,c=0,p={sensitivity:7,interval:100,timeout:0,handleFocus:!1};function m(h,k){return c&&(c=clearTimeout(c)),d=0,s?void 0:n.call(h,k)}function y(h){r=h.clientX,o=h.clientY}function x(h,k){if(c&&(c=clearTimeout(c)),Math.abs(i-r)+Math.abs(l-o)<p.sensitivity)return d=1,s?void 0:t.call(h,k);i=r,l=o,c=setTimeout(function(){x(h,k)},p.interval)}u.options=function(h){var k=h.handleFocus!==p.handleFocus;return p=Object.assign({},p,h),k&&(p.handleFocus?M():R()),u};function w(h){return a=!0,c&&(c=clearTimeout(c)),e.removeEventListener("mousemove",y,!1),d!==1&&(i=h.clientX,l=h.clientY,e.addEventListener("mousemove",y,!1),c=setTimeout(function(){x(e,h)},p.interval)),this}function b(h){return a=!1,c&&(c=clearTimeout(c)),e.removeEventListener("mousemove",y,!1),d===1&&(c=setTimeout(function(){m(e,h)},p.timeout)),this}function C(h){a||(s=!0,t.call(e,h))}function I(h){!a&&s&&(s=!1,n.call(e,h))}function M(){e.addEventListener("focus",C,!1),e.addEventListener("blur",I,!1)}function R(){e.removeEventListener("focus",C,!1),e.removeEventListener("blur",I,!1)}return u.remove=function(){!e||(e.removeEventListener("mouseover",w,!1),e.removeEventListener("mouseout",b,!1),R())},e&&(e.addEventListener("mouseover",w,!1),e.addEventListener("mouseout",b,!1)),u}var{util:tt}=window.csGlobal.rivet,{addClass:Y,transitionEnd:re,removeClass:J,getOuterHeight:oe,makeAlternatingSynchronizer:nt}=tt,rt=e=>nt(t=>{if(!e.classList.contains("x-collapsed")){t();return}e.setAttribute("aria-hidden","false");let n=oe(e);J(e,"x-collapsed"),Y(e,"x-collapsing"),e.offsetHeight,e.style.height=`${n}px`,re(e,()=>{J(e,"x-collapsing"),e.style.height="",t()})},t=>{e.setAttribute("aria-hidden","true"),e.style.height=`${oe(e)}px`,Y(e,"x-collapsing"),e.offsetHeight,e.style.height="",re(e,()=>{J(e,"x-collapsing"),Y(e,"x-collapsed"),t()})},void 0,!e.classList.contains("x-collapsed")),U=new WeakMap,ot=e=>(U.has(e)||U.set(e,rt(e)),U.get(e));function ie(e,t){ot(e)(t)}var{util:it}=window.csGlobal.rivet,{addClass:D,removeClass:F,hasClass:se}=it;function ae(e,t){if(t){if(!e||se(e,"x-anchor-layered-back"))return;D(e,"x-active")}else F(e,"x-active")}function ce(e){setTimeout(()=>{let t=e.closest(".x-menu");t.addEventListener("transitionend",function(n){let r=t.getBoundingClientRect().top;if(r<0&&n.propertyName==="height"){let o=0,i=e.closest(".x-bar-v .x-bar-scroll-inner, .x-off-canvas-content, .x-modal")||window;if(i===window){let l=window.pageYOffset,a=parseInt(window.getComputedStyle(document.documentElement).marginTop),s=parseInt(window.getComputedStyle(t).fontSize);o=Math.max(0,r+l-a-s)}i.scrollTo({top:o,left:0,behavior:"smooth"})}})},0)}function st(e){var t=e.offsetHeight,n=getComputedStyle(e);return t+=parseInt(n.marginTop)+parseInt(n.marginBottom),t}var le=e=>Math.max(e.offsetHeight,Array.from(e.children).reduce((t,n)=>t+st(n)||0,0)),ue=(e,t)=>{let n=e.closest("[data-x-toggle-layered-root]");n&&(n.style.height=`${t}px`)};function at(e){ue(e,le(e));let t=e.closest(`ul:not([data-x-toggleable="${e.getAttribute("data-x-toggleable")}"])`);F(t,"x-current-layer"),D(t,"x-prev-layer"),D(e,"x-current-layer"),ce(e)}function ct(e){let t=e.closest(`ul:not([data-x-toggleable="${e.getAttribute("data-x-toggleable")}"])`);!se(t,"x-prev-layer")||(ue(e,le(t)),F(e,"x-current-layer"),D(t,"x-current-layer"),F(t,"x-prev-layer"),ce(e))}function fe(e,t){return t?at(e):ct(e)}function de(e,t){let n=new Map;return function(...r){let o=t?t.apply(this,r):r[0];if(n.has(o))return n.get(o);let i=e.apply(this,r);return n.set(o,i),i}}var lt=4,ut=.001,ft=1e-7,dt=10,z=11,q=1/(z-1),pt=typeof Float32Array=="function";function pe(e,t){return 1-3*t+3*e}function ge(e,t){return 3*t-6*e}function he(e){return 3*e}function W(e,t,n){return((pe(t,n)*e+ge(t,n))*e+he(t))*e}function me(e,t,n){return 3*pe(t,n)*e*e+2*ge(t,n)*e+he(t)}function gt(e,t,n,r,o){var i,l,a=0;do l=t+(n-t)/2,i=W(l,r,o)-e,i>0?n=l:t=l;while(Math.abs(i)>ft&&++a<dt);return l}function ht(e,t,n,r){for(var o=0;o<lt;++o){var i=me(t,n,r);if(i===0)return t;var l=W(t,n,r)-e;t-=l/i}return t}function mt(e){return e}function K(e,t,n,r){if(!(0<=e&&e<=1&&0<=n&&n<=1))throw new Error("bezier x values must be in [0, 1] range");if(e===t&&n===r)return mt;for(var o=pt?new Float32Array(z):new Array(z),i=0;i<z;++i)o[i]=W(i*q,e,n);function l(a){for(var s=0,u=1,d=z-1;u!==d&&o[u]<=a;++u)s+=q;--u;var c=(a-o[u])/(o[u+1]-o[u]),p=s+c*q,m=me(p,e,n);return m>=ut?ht(a,p,e,n):m===0?p:gt(a,s,s+q,e,n)}return function(s){return s===0||s===1?s:W(l(s),t,r)}}var yt=e=>{switch(e){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)"}},g=de(e=>{let t=yt(e);try{let[,n]=t.match(/cubic-bezier\((.*)\)/);return K(...n.split(",").map(r=>Number(r.trim())))}catch{console.warn("unable to parse easing function",t)}return g("ease")}),An={easeInQuad:g("cubic-bezier(0.550, 0.085, 0.680, 0.530)"),easeInCubic:g("cubic-bezier(0.550, 0.055, 0.675, 0.190)"),easeInQuart:g("cubic-bezier(0.895, 0.030, 0.685, 0.220)"),easeInQuint:g("cubic-bezier(0.755, 0.050, 0.855, 0.060)"),easeInSine:g("cubic-bezier(0.470, 0.000, 0.745, 0.715)"),easeInExpo:g("cubic-bezier(0.950, 0.050, 0.795, 0.035)"),easeInCirc:g("cubic-bezier(0.600, 0.040, 0.980, 0.335)"),easeInBack:g("cubic-bezier(0.600, -0.280, 0.735, 0.045)"),easeOutQuad:g("cubic-bezier(0.250, 0.460, 0.450, 0.940)"),easeOutCubic:g("cubic-bezier(0.215, 0.610, 0.355, 1.000)"),easeOutQuart:g("cubic-bezier(0.165, 0.840, 0.440, 1.000)"),easeOutQuint:g("cubic-bezier(0.230, 1.000, 0.320, 1.000)"),easeOutSine:g("cubic-bezier(0.390, 0.575, 0.565, 1.000)"),easeOutExpo:g("cubic-bezier(0.190, 1.000, 0.220, 1.000)"),easeOutCirc:g("cubic-bezier(0.075, 0.820, 0.165, 1.000)"),easeOutBack:g("cubic-bezier(0.175, 0.885, 0.320, 1.275)"),easeInOutQuad:g("cubic-bezier(0.455, 0.030, 0.515, 0.955)"),easeInOutCubic:g("cubic-bezier(0.645, 0.045, 0.355, 1.000)"),easeInOutQuart:g("cubic-bezier(0.770, 0.000, 0.175, 1.000)"),easeInOutQuint:g("cubic-bezier(0.860, 0.000, 0.070, 1.000)"),easeInOutSine:g("cubic-bezier(0.445, 0.050, 0.550, 0.950)"),easeInOutExpo:g("cubic-bezier(1.000, 0.000, 0.000, 1.000)"),easeInOutCirc:g("cubic-bezier(0.785, 0.135, 0.150, 0.860)"),easeInOutBack:g("cubic-bezier(0.680, -0.550, 0.265, 1.550)"),materialStand:g("cubic-bezier(0.400, 0.000, 0.200, 1.000)"),materialDecel:g("cubic-bezier(0.000, 0.000, 0.200, 1.000)"),materialAccel:g("cubic-bezier(0.400, 0.000, 1.000, 1.000)"),materialSharp:g("cubic-bezier(0.400, 0.000, 0.600, 1.000)")};Promise.resolve().then(()=>et(ye()));var Z={passive:!0};function L(e,t,n,r={}){return e?(typeof r.passive=="undefined"&&(r.passive=!1),e.addEventListener(t,n,r),()=>void e.removeEventListener(t,n,r)):()=>{}}function A(e,t,n){return L(e,t,n,Z)}function V(e){let t=()=>void e();return document.readyState==="complete"?(t(),()=>{}):A(document,"readystatechange",function(){document.readyState==="complete"&&setTimeout(t,0)})}var xe=e=>(Array.isArray(e)?e.map(xe):[e]).flat().filter(t=>typeof t=="function"),H=e=>{let t=xe(e);return()=>t.forEach(n=>n())};var ve=(e,t)=>(t&&e(document.visibilityState==="visible"),H([L(window,"pagehide",()=>{e(!1)}),L(window.document,"visibilitychange",()=>{e(document.visibilityState==="visible")})]));function E(e,t){let n,r=null;return function(o){if(n){r=o;return}n=setTimeout(function(){e(r),n=null},t)}}var we=(e={})=>{let t,n=()=>{t=new WeakMap},r=s=>t.has(s),o=s=>t.delete(s),i=s=>t.has(s)?t.get(s):e,l=(s,u)=>void t.set(s,u),a=(s,u)=>void l(s,u(i(s)));return n(),{get:i,del:o,set:l,has:r,update:a,reset:n,cache:()=>t}},Tt=we(),_n=we();var St=e=>L(window,"rvt-scan",()=>e()),At=(e,t=!1)=>{t&&e();let n=E(e,100);return H([A(window,"resize",n,Z),L(screen.orientation,"change",n)])},be=(e,t=!1)=>{t&&e();let n=E(e,40);return A(window,"scroll",n)};var Et=(e,t)=>H([St(e),V(e),ve(e,!1),At(e,t)]);var Ct,Te;Et(()=>{Ct=new WeakMap,Te=new WeakMap},!0);be(()=>{Te=new WeakMap},!0);var kt="ontouchstart"in document.documentElement;function Se(){return window.innerWidth<=978.98&&kt}var Ae=0,O={};function f(e){if(!e)throw new Error("No options passed to Waypoint constructor");if(!e.element)throw new Error("No element option passed to Waypoint constructor");if(!e.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+Ae,this.options=f.Adapter.extend({},f.defaults,e),this.element=this.options.element,this.adapter=new f.Adapter(this.element),this.callback=e.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=f.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=f.Context.findOrCreateByElement(this.options.context),f.offsetAliases[this.options.offset]&&(this.options.offset=f.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),O[this.key]=this,Ae+=1}f.prototype.queueTrigger=function(e){this.group.queueTrigger(this,e)};f.prototype.trigger=function(e){!this.enabled||this.callback&&this.callback.apply(this,e)};f.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete O[this.key]};f.prototype.disable=function(){return this.enabled=!1,this};f.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this};f.prototype.next=function(){return this.group.next(this)};f.prototype.previous=function(){return this.group.previous(this)};f.invokeAll=function(e){var t=[];for(var n in O)t.push(O[n]);for(var r=0,o=t.length;r<o;r++)t[r][e]()};f.destroyAll=function(){f.invokeAll("destroy")};f.disableAll=function(){f.invokeAll("disable")};f.enableAll=function(){f.Context.refreshAll();for(var e in O)O[e].enabled=!0;return this};f.refreshAll=function(){f.Context.refreshAll()};f.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight};f.viewportWidth=function(){return document.documentElement.clientWidth};f.adapters=[];f.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0};f.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 e=0,t={},n=window.onload;function r(o){this.element=o,this.Adapter=f.Adapter,this.adapter=new this.Adapter(o),this.key="waypoint-context-"+e,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},o.waypointContextKey=this.key,t[o.waypointContextKey]=this,e+=1,f.windowContext||(f.windowContext=!0,f.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),l=this.element==this.element.window;o&&i&&!l&&(this.adapter.off(".waypoints"),delete t[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||f.isTouch)&&(o.didScroll=!0,requestAnimationFrame(i))})},r.prototype.handleResize=function(){f.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 l in i){var a=i[l],s=a.newScroll>a.oldScroll,u=s?a.forward:a.backward;for(var d in this.waypoints[l]){var c=this.waypoints[l][d];if(c.triggerPoint!==null){var p=a.oldScroll<c.triggerPoint,m=a.newScroll>=c.triggerPoint,y=p&&m,x=!p&&!m;(y||x)&&(c.queueTrigger(u),o[c.group.id]=c.group)}}}for(var w in o)o[w].flushTriggers();this.oldScroll={x:i.horizontal.newScroll,y:i.vertical.newScroll}},r.prototype.innerHeight=function(){return this.element==this.element.window?f.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?f.viewportWidth():this.adapter.innerWidth()},r.prototype.destroy=function(){var o=[];for(var i in this.waypoints)for(var l in this.waypoints[i])o.push(this.waypoints[i][l]);for(var a=0,s=o.length;a<s;a++)o[a].destroy()},r.prototype.refresh=function(){var o=this.element==this.element.window,i=o?void 0:this.adapter.offset(),l={},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 s in a){var u=a[s];for(var d in this.waypoints[s]){var c=this.waypoints[s][d],p=c.options.offset,m=c.triggerPoint,y=0,x=m==null,w,b,C,I,M;c.element!==c.element.window&&(y=c.adapter.offset()[u.offsetProp]),typeof p=="function"?p=p.apply(c):typeof p=="string"&&(p=parseFloat(p),c.options.offset.indexOf("%")>-1&&(p=Math.ceil(u.contextDimension*p/100))),w=u.contextScroll-u.contextOffset,c.triggerPoint=Math.floor(y+w-p),b=m<u.oldScroll,C=c.triggerPoint>=u.oldScroll,I=b&&C,M=!b&&!C,!x&&I?(c.queueTrigger(u.backward),l[c.group.id]=c.group):(!x&&M||x&&u.oldScroll>=c.triggerPoint)&&(c.queueTrigger(u.forward),l[c.group.id]=c.group)}}return requestAnimationFrame(function(){for(var R in l)l[R].flushTriggers()}),this},r.findOrCreateByElement=function(o){return r.findByElement(o)||new r(o)},r.refreshAll=function(){for(var o in t)t[o].refresh()},r.findByElement=function(o){return t[o.waypointContextKey]},window.onload=function(){n&&n(),r.refreshAll()},f.Context=r})();(function(){"use strict";function e(o,i){return o.triggerPoint-i.triggerPoint}function t(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:[],right:[]}},r.prototype.flushTriggers=function(){for(var o in this.triggerQueues){var i=this.triggerQueues[o],l=o==="up"||o==="left";i.sort(l?t:e);for(var a=0,s=i.length;a<s;a+=1){var u=i[a];(u.options.continuous||a===i.length-1)&&u.trigger([o])}}this.clearTriggerQueues()},r.prototype.next=function(o){this.waypoints.sort(e);var i=f.Adapter.inArray(o,this.waypoints),l=i===this.waypoints.length-1;return l?null:this.waypoints[i+1]},r.prototype.previous=function(o){this.waypoints.sort(e);var i=f.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=f.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)},f.Group=r})();(function(){"use strict";function e(r){return r===r.window}function t(r){return e(r)?r:r.defaultView}function n(r){this.element=r,this.handlers={}}n.prototype.innerHeight=function(){var r=e(this.element);return r?this.element.innerHeight:this.element.clientHeight},n.prototype.innerWidth=function(){var r=e(this.element);return r?this.element.innerWidth:this.element.clientWidth},n.prototype.off=function(r,o){function i(p,m,y){for(var x=0,w=m.length-1;x<w;x++){var b=m[x];(!y||y===b)&&p.removeEventListener(b)}}var l=r.split("."),a=l[0],s=l[1],u=this.element;if(s&&this.handlers[s]&&a)i(u,this.handlers[s][a],o),this.handlers[s][a]=[];else if(a)for(var d in this.handlers)i(u,this.handlers[d][a]||[],o),this.handlers[d][a]=[];else if(s&&this.handlers[s]){for(var c in this.handlers[s])i(u,this.handlers[s][c],o);this.handlers[s]={}}},n.prototype.offset=function(){if(!this.element.ownerDocument)return null;var r=this.element.ownerDocument.documentElement,o=t(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("."),l=i[0],a=i[1]||"__default",s=this.handlers[a]=this.handlers[a]||{},u=s[l]=s[l]||[];u.push(o),this.element.addEventListener(l,o)},n.prototype.outerHeight=function(r){var o=this.innerHeight(),i;return r&&!e(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&&!e(this.element)&&(i=window.getComputedStyle(this.element),o+=parseInt(i.marginLeft,10),o+=parseInt(i.marginRight,10)),o},n.prototype.scrollLeft=function(){var r=t(this.element);return r?r.pageXOffset:this.element.scrollLeft},n.prototype.scrollTop=function(){var r=t(this.element);return r?r.pageYOffset:this.element.scrollTop},n.extend=function(){var r=Array.prototype.slice.call(arguments);function o(a,s){if(typeof a=="object"&&typeof s=="object")for(var u in s)s.hasOwnProperty(u)&&(a[u]=s[u]);return a}for(var i=1,l=r.length;i<l;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},f.adapters.push({name:"noframework",Adapter:n}),f.Adapter=n})();var Ee=f;A(window,"rvt-scan",Ee.Context.refreshAll);var Ce=0,ke="--x-body-scroll-bar-size",lr=`var(${ke}, 0)`,Le="--x-body-scroll-active-bar-size",ur=`var(${Le}, 0)`;V(function(){Ce=window.innerWidth-document.body.offsetWidth,Oe(ke,Ce+"px"),Oe(Le,"0px")});function Oe(e,t){document.querySelector(":root").style.setProperty(e,t)}function Ot(e,t=null){return t?e.style.setProperty("transition-property",t,"important"):e.style.setProperty("transition","none","important"),e.style.setProperty("animation","none","important"),()=>{e.offsetHeight,e.style.removeProperty(t?"transition-property":"transition"),e.style.removeProperty("animation")}}var It=(e,t)=>(n,{after:r}={})=>{e(n);let o=Ot(n);return()=>{t(n),o(),typeof r=="function"&&r()}},yr=It(e=>e.style.setProperty("opacity",1,"important"),e=>e.style.removeProperty("opacity"));var{util:Ie}=window.csGlobal.rivet,{listener:zt,debounce:Gr,addClass:Ht,removeClass:Pt,hasClass:T,toggleClass:v,oncePassive:ze,scrollingDisable:Nt,scrollingEnable:He}=Ie,B=null,Pe=e=>document.querySelector(`[data-x-toggleable="${e}"][data-x-toggle]`),Mt=e=>document.querySelector(`[data-x-toggleable="${e}"]:not([data-x-toggle])`),Ne=e=>e?e.parentElement.matches(".x-nav-tabs-item")?"classic-tab":e.getAttribute("data-x-toggle"):null,Rt=e=>["tab","classic-tab"].includes(Ne(e)),X=e=>e&&e.getAttribute("data-x-toggle-group"),Dt=e=>!!document.querySelector(`[data-x-toggle-group="${e||""}"].x-active`);var P=e=>e&&e.getAttribute("data-x-toggleable"),Me=e=>e&&e.getAttribute("data-x-toggle-hash"),Ft=e=>e&&e.matches(".mce-content-body"),qt=E(function(){window.dispatchEvent(new Event("resize"))},250),Wt=E(function(){window.dispatchEvent(new Event("rvt-scan"))},250);var Re=e=>document.querySelectorAll(`[data-x-toggle-group="${X(e)}"]:not([data-x-toggleable="${P(e)}"])`),Vt=e=>document.querySelectorAll(`[data-x-toggle-group="${X(e)}"].x-active`);Ie.toggle={getOthersInGroup:Re,getActiveInGroup:Vt};var Bt=e=>Array.from(document.querySelectorAll("[data-x-toggle-hash]")).filter(t=>Me(t)===e).map(P);window.TCOToggleStates||(window.TCOToggleStates=new Map,window.TCOToggleScrollBlocking=new Map);var $t=!1,S=window.TCOToggleStates,j=window.TCOToggleScrollBlocking,$=!1;function Gt(){let e=[];for(let[t,n]of S){let r=Mt(t);n&&j.has(t)&&e.push(t),r||S.delete(t)}e.find(t=>!S.has(t))&&requestAnimationFrame(He)}window.integrityCheckTimeout||(window.integrityCheckTimeout=null);var Qt=function(){clearTimeout(window.integrityCheckTimeout),window.integrityCheckTimeout=setTimeout(Gt,500)};window.xToggleIntegrityCheck||(window.xToggleIntegrityCheck=Qt);function _t(e){let t=Pe(e);switch(Ne(t)){case"collapse":case 1:case"layered":return t.matches(".x-active");case"tab":return Dt(X(t));case"classic-tab":return t.parentElement.matches(".active");case"collapse-b":return!t.matches(".collapsed")}return t?t.classList&&t.classList.contains("x-active"):null}function ee(e){return S.has(e)||S.set(e,_t(e)),S.get(e)}function G({id:e,state:t,_triggeringGroup:n,force:r,hashUpdate:o=!window.csGlobal.isPreview}){let i=ee(e);if(typeof t=="undefined"&&(t=!i),t&&window.xLastToggleable!==e)window.xLastToggleable=e,window.xToggleStack.push(e);else if(!t){let a=window.xToggleStack.indexOf(e);a!==-1&&window.xToggleStack.splice(a,1),window.xLastToggleable===e&&(window.xLastToggleable=window.xToggleStack[window.xToggleStack.length-1])}let l=Pe(e);!r&&!n&&(Ft(l)||!t&&Rt(l))||(S.set(e,t),(i!==t||r)&&(Yt(e,t),o&&jt(l,t)),n||Re(l).forEach(a=>{G({force:r,id:P(a),state:!1,_triggeringGroup:!0,hashUpdate:o})}))}window.xLastToggleable="";window.xToggleStack=[];window.xToggleGetState=e=>ee(e);window.xToggleGetStateFromNode=e=>ee(P(e));window.xToggleUpdate=(e,t)=>G({id:e,state:t});window.xToggleDelete=e=>S.delete(e);window.xToggleGetId=P;window.xGetLastToggleable=function(){return window.xLastToggleable};var De=!1;window.xToggleTempUnlock=()=>{De=!!$,$=!1};window.xToggleTempRelock=()=>{$=De};window.xToggleSetLocking=e=>{$=!!e};window.xToggleHashUpdate=Zt;function Yt(e,t){Array.from(document.querySelectorAll(`[data-x-toggleable="${e}"]`)).forEach(n=>{n.dispatchEvent(new CustomEvent("tco-toggle",{bubbles:!1,detail:{state:t,id:e}}))})}function Fe(e){return zt(e,"tco-toggle",({currentTarget:t,detail:{state:n,id:r}})=>{var o;if(n||Kt(e),e.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"))&&(requestAnimationFrame(Nt),j.set(r,!0)):n||(j.delete(r),requestAnimationFrame(He))),e.hasAttribute("aria-hidden")&&e.setAttribute("aria-hidden",!n),e.hasAttribute("aria-expanded")&&e.setAttribute("aria-expanded",n),e.hasAttribute("aria-selected")&&e.setAttribute("aria-selected",n),e.hasAttribute("data-x-toggle-collapse")?ie(e,n):e.hasAttribute("data-x-toggle-layered")?fe(e,n):T(e,"x-anchor")?ae(e,n):e.getAttribute("data-x-toggle")==="collapse-b"?v(e,"collapsed",!n):T(e.parentElement,"x-nav-tabs-item")?v(e.parentElement,"active",n):T(e,"x-tab-pane")?v(e,"active",n):T(e,"x-dropdown")?Xt(e,n):v(e,"x-active",n),T(e,"x-modal")&&qt(),Wt(),e.matches("[data-x-toggle]")){if(v(e.querySelector(".x-toggle"),"x-active",n),$t)return;Array.from(e.querySelectorAll("[data-x-toggle-anim]")).forEach(i=>{T(i,"x-running")||ze(i,"animationiteration",()=>{Pt(i,"x-running"),T(e,"x-active")||i.removeAttribute("style")}),Ht(i,"x-running"),T(e,"x-active")&&(i.style.animationName=i.getAttribute("data-x-toggle-anim"))})}if(n&&!window.csGlobal.isPreview)if(t.querySelector("[data-x-search][data-x-search-autofocus]")){let i=t.querySelector("[data-x-search][data-x-search-autofocus] input");if(en(i,350),!Se())return;ze(t,"transitionend",function(){i.scrollIntoView(!0)})}else{let i=e.querySelector('[tabindex="-1"]');i&&i.focus&&(i.focus(),setTimeout(function(){i.focus()},250))}n?Ut(e):Jt(e)})}var qe=["video","audio"];function Jt(e){let t=e.querySelectorAll(qe);for(let n=0;n<t.length;++n)t[n].pause()}function Ut(e){let t=e.querySelectorAll(qe);for(let n=0;n<t.length;++n){let r=t[n];r.currentTime=0,r.getAttribute("autoplay")&&r.play()}}function Kt(e){let t=e.querySelectorAll("[data-x-toggleable]")||[];for(let n=0;n<t.length;++n){let r=t[n];G({id:r.getAttribute("data-x-toggleable"),state:!1})}}function Zt(e){Bt(e).forEach(n=>{G({id:n,state:!0})})}function Xt(e,t){let r=window.getComputedStyle(e)["transition-duration"];if(r=r?parseFloat(r.replace("s","")):0,B&&(B(),B=null),!r){v(e,"x-active",t),v(e,"x-active-animate",t);return}let o=r*1e3,i=t?"x-active":"x-active-animate",l=t?"x-active-animate":"x-active",a=t?15:o;requestAnimationFrame(function(){v(e,i,t),window.dispatchEvent(new CustomEvent("resize"))});let s=setTimeout(function(){requestAnimationFrame(function(){v(e,l,t)})},a);return B=function(){!s||(clearTimeout(s),v(e,"x-active",t),v(e,"x-active-animate",t))}}function jt(e,t){let n=Me(e);if(!n)return;let r=t?n:"";!t&&`#${n}`!==window.location.hash||`#${r}`!==window.location.hash&&(history.pushState(null,null,"#"+r),window.dispatchEvent(new CustomEvent("hashchange")))}function en(e,t){if(t||(t=100),e){var n=document.createElement("input");n.style.position="fixed",n.style.top=e.offsetTop+7+"px",n.style.left=e.offsetLeft+"px",n.style.height=0,n.style.opacity=0,document.body.appendChild(n),n.focus(),setTimeout(function(){e.focus(),e.click(),document.body.removeChild(n)},t)}}var{attach:Q,util:tn}=window.csGlobal.rivet,{scrollOffset:nn}=tn;window.xJsData=window.xJsData||{};var Be,$e,Ge,rn={up:(Be=window.xJsData.icons)==null?void 0:Be.up,down:($e=window.xJsData.icons)==null?void 0:$e.down,subindicator:(Ge=window.xJsData.icons)==null?void 0:Ge.subindicator};window.csGlobal||console.warn("X is running without Cornerstone.");var Qe,{csHooks:N,fixedTopOffset:Jr,adminBarOffset:on,scrollTo:sn,rivet:{util:{getOuterHeight:an,hasClass:We,toggleClass:te,addClass:cn,onPercentScrolled:ln,onScroll:un,onResize:Ur,listener:Ve}={}}={}}=(Qe=window.csGlobal)!=null?Qe:{};window.jQuery&&window.jQuery.extend(window.jQuery.easing,{xEaseOutQuad:e=>csGlobal.rivet.util.getEasing("easeOutQuad")(e),xEaseInOutExpo:e=>csGlobal.rivet.util.getEasing("easeInOutExpo")(e)});function fn(e){let t=()=>{gn(),hn(),dn(),window.csGlobal&&e()};document.readyState!="loading"?t():document.addEventListener("DOMContentLoaded",t)}fn(()=>{Q("body.x-navbar-fixed-top-active .x-navbar",e=>{let t=["x-navbar-fixed-top",...We(document.body,"x-boxed-layout-active")?["x-container","max","width"]:[]],n=document.querySelector(".x-navbar-wrap");un(()=>{let i=window.scrollY+on()>nn(n).top;t.forEach(l=>{te(e,l,i)})});let r=i=>l=>{l.matches(".x-nav-wrap.desktop .x-nav li > a")&&te(l.closest("li"),"current-menu-item",i)},o=window.getComputedStyle(e);N.action("scrollspy_activate",r(!0)),N.action("scrollspy_deactivate",r(!1)),N.filter("fixed_top_offset",i=>window.innerWidth<=978.98&&N.apply("x_mobile_header_not_fix",!0)&&o.getPropertyValue("position")!=="fixed"?i:Math.max(i,an(e)))}),N.filter("hash_scrolling_allow",(e,t,n,r)=>r==="#comments"||t.hasAttribute("data-vc-accordion")||t.hasAttribute("data-vc-tabs")?!1:e),Ve(window.document.body,"click",e=>{e.target.matches(".x-btn-navbar-search, .x-btn-widgetbar")&&e.preventDefault()}),Array.from(document.querySelectorAll('iframe[src*="youtube.com"]')).forEach(e=>{let t=e.getAttribute("src");e.setAttribute("wmode","Opaque"),t&&t.includes("?")?e.setAttribute("src",`${t}&wmode=transparent`):e.setAttribute("src",`${t}?wmode=transparent`)}),Q(".x-slider-container .x-slider-scroll-bottom",e=>Ve(e,"click",t=>{t.preventDefault();let n=e.closest(".x-slider-container");sn(n,{bottom:!0,offsetTop:We(n,"below")})})),Q("body.x-stack-icon .x-sidebar",e=>{let t=e.querySelector(".max.width");cn(t,"x-container")}),Q(".x-scroll-top",e=>{var t;return ln(parseFloat((t=xJsData.scrollTop)!=null?t:".75"),n=>{te(e,"in",n)})})});function dn(){let e=document.querySelector(".x-searchform-overlay");if(!e)return;let t=e.querySelector(".search-query");function n(){e.classList.toggle("in"),setTimeout(function(){t.value=""},350)}let r=function(o){(o.target.matches(".x-btn-navbar-search")||o.target.closest(".x-btn-navbar-search"))&&(o.preventDefault(),e.classList.toggle("in"),t.focus()),(o.target.matches(".x-searchform-overlay")||o.target.closest(".x-searchform-overlay"))&&(o.target.matches(".search-query")||n())};document.body.addEventListener("click",r),document.body.addEventListener("touchstart",r),document.addEventListener("keydown",function(o){o.key==="Escape"&&e.matches(".in")&&n()})}function pn(e){let t=!1;function n(){t=!0,typeof e=="function"&&e(),document.body.removeEventListener(n,{passive:!0,capture:!0})}return document.body.addEventListener("touchstart",n,{passive:!0,capture:!0}),()=>t}function gn(){let e=document.querySelector(".desktop .x-nav");if(!e)return;let t=d=>d.matches(".desktop .x-nav li")?d:d.closest(".desktop .x-nav li"),n=d=>d&&d.matches("li.menu-item-has-children");function r(d){let c=d&&d.closest(".sub-menu, .x-nav");c&&[...c.querySelectorAll(".x-active")].forEach(p=>p.classList.remove("x-active"))}function o(d){d&&(r(d),n(d)&&d.classList.add("x-active"))}let i=!0;function l({target:d}){let c=t(d);c?(i=c,o(c)):i&&(i=!1,r(e))}document.body.addEventListener("focusin",l);let a=d=>{let c=t(d.target);n(c)&&(d.preventDefault(),d.stopPropagation(),o(c)),c||r(e)};document.body.addEventListener("touchstart",a,{passive:!1}),document.body.addEventListener("click",a,{passive:!1});let s=pn(()=>document.body.removeEventListener("focusin",l)),u;[...e.querySelectorAll("li")].forEach(d=>{ne(d,({target:c})=>{if(s())return;let p=t(c);clearTimeout(u),n(p)?o(p):u=setTimeout(()=>r(p),350),document.body.removeEventListener("touchstart",a,{passive:!1}),document.body.removeEventListener("click",a,{passive:!1})},({relatedTarget:c,toElement:p})=>{if(s())return;let m=c||p;if(!e.contains(m)){clearTimeout(u),u=setTimeout(()=>r(e),750);return}let y=t(m);y&&(clearTimeout(u),u=setTimeout(()=>r(y),350))})})}function hn(){function e(t){let n=document.createElement("div");return n.innerHTML=t.trim(),n.firstChild}[...document.querySelectorAll(".mobile .x-nav li.menu-item-has-children > a")].forEach((t,n)=>{t.appendChild(e(`<div class="x-sub-toggle collapsed" data-x-toggle="collapse-b" data-x-toggleable="x-nav-wrap-mobile-sm-${n}" aria-expanded="false" aria-haspopup="true" aria-controls="x-nav-wrap-mobile-sm-${n}" data-x-skip-scroll="true"><span data-x-skip-scroll="true">${rn.subindicator}</span></div>`))}),[...document.querySelectorAll(".mobile .x-nav .sub-menu")].forEach((t,n)=>{t.setAttribute("id",`x-nav-wrap-mobile-sm-${n}`),t.setAttribute("class","x-collapsed"),t.setAttribute("data-x-toggleable",`x-nav-wrap-mobile-sm-${n}`),t.setAttribute("data-x-toggle-collapse","1"),t.setAttribute("aria-hidden","true"),Fe(t)})}})();
window.addComment=function(v){var I,C,h,E=v.document,b={commentReplyClass:"comment-reply-link",commentReplyTitleId:"reply-title",cancelReplyId:"cancel-comment-reply-link",commentFormId:"commentform",temporaryFormId:"wp-temp-form-div",parentIdFieldId:"comment_parent",postIdFieldId:"comment_post_ID"},e=v.MutationObserver||v.WebKitMutationObserver||v.MozMutationObserver,r="querySelector"in E&&"addEventListener"in v,n=!!E.documentElement.dataset;function t(){d(),e&&new e(o).observe(E.body,{childList:!0,subtree:!0})}function d(e){if(r&&(I=g(b.cancelReplyId),C=g(b.commentFormId),I)){I.addEventListener("touchstart",l),I.addEventListener("click",l);function t(e){if((e.metaKey||e.ctrlKey)&&13===e.keyCode&&"a"!==E.activeElement.tagName.toLowerCase())return C.removeEventListener("keydown",t),e.preventDefault(),C.submit.click(),!1}C&&C.addEventListener("keydown",t);for(var n,d=function(e){var t=b.commentReplyClass;e&&e.childNodes||(e=E);e=E.getElementsByClassName?e.getElementsByClassName(t):e.querySelectorAll("."+t);return e}(e),o=0,i=d.length;o<i;o++)(n=d[o]).addEventListener("touchstart",a),n.addEventListener("click",a)}}function l(e){var t,n,d=g(b.temporaryFormId);d&&h&&(g(b.parentIdFieldId).value="0",t=d.textContent,d.parentNode.replaceChild(h,d),this.style.display="none",n=(d=(d=g(b.commentReplyTitleId))&&d.firstChild)&&d.nextSibling,d&&d.nodeType===Node.TEXT_NODE&&t&&(n&&"A"===n.nodeName&&n.id!==b.cancelReplyId&&(n.style.display=""),d.textContent=t),e.preventDefault())}function a(e){var t=g(b.commentReplyTitleId),t=t&&t.firstChild.textContent,n=this,d=m(n,"belowelement"),o=m(n,"commentid"),i=m(n,"respondelement"),r=m(n,"postid"),n=m(n,"replyto")||t;d&&o&&i&&r&&!1===v.addComment.moveForm(d,o,i,r,n)&&e.preventDefault()}function o(e){for(var t=e.length;t--;)if(e[t].addedNodes.length)return void d()}function m(e,t){return n?e.dataset[t]:e.getAttribute("data-"+t)}function g(e){return E.getElementById(e)}return r&&"loading"!==E.readyState?t():r&&v.addEventListener("DOMContentLoaded",t,!1),{init:d,moveForm:function(e,t,n,d,o){var i,r,l,a,m,c,s,e=g(e),n=(h=g(n),g(b.parentIdFieldId)),y=g(b.postIdFieldId),p=g(b.commentReplyTitleId),u=(p=p&&p.firstChild)&&p.nextSibling;if(e&&h&&n){void 0===o&&(o=p&&p.textContent),a=h,m=b.temporaryFormId,c=g(m),s=(s=g(b.commentReplyTitleId))?s.firstChild.textContent:"",c||((c=E.createElement("div")).id=m,c.style.display="none",c.textContent=s,a.parentNode.insertBefore(c,a)),d&&y&&(y.value=d),n.value=t,I.style.display="",e.parentNode.insertBefore(h,e.nextSibling),p&&p.nodeType===Node.TEXT_NODE&&(u&&"A"===u.nodeName&&u.id!==b.cancelReplyId&&(u.style.display="none"),p.textContent=o),I.onclick=function(){return!1};try{for(var f=0;f<C.elements.length;f++)if(i=C.elements[f],r=!1,"getComputedStyle"in v?l=v.getComputedStyle(i):E.documentElement.currentStyle&&(l=i.currentStyle),(i.offsetWidth<=0&&i.offsetHeight<=0||"hidden"===l.visibility)&&(r=!0),"hidden"!==i.type&&!i.disabled&&!r){i.focus();break}}catch(e){}return!1}}}}(window);
document.addEventListener("DOMContentLoaded",(e=>{var t;wpcf7_recaptcha={...null!==(t=wpcf7_recaptcha)&&void 0!==t?t:{}};const c=wpcf7_recaptcha.sitekey,{homepage:n,contactform:a}=wpcf7_recaptcha.actions,o=e=>{const{action:t,func:n,params:a}=e;grecaptcha.execute(c,{action:t}).then((e=>{const c=new CustomEvent("wpcf7grecaptchaexecuted",{detail:{action:t,token:e}});document.dispatchEvent(c)})).then((()=>{"function"==typeof n&&n(...a)})).catch((e=>console.error(e)))};if(grecaptcha.ready((()=>{o({action:n})})),document.addEventListener("change",(e=>{o({action:a})})),"undefined"!=typeof wpcf7&&"function"==typeof wpcf7.submit){const e=wpcf7.submit;wpcf7.submit=(t,c={})=>{o({action:a,func:e,params:[t,c]})}}document.addEventListener("wpcf7grecaptchaexecuted",(e=>{const t=document.querySelectorAll('form.wpcf7-form input[name="_wpcf7_recaptcha_response"]');for(let c=0;c<t.length;c++)t[c].setAttribute("value",e.detail.token)}))}));