PageSourceSearch

https://genesandhealth.org/js/script-lazy.min.3fc4bd2910d6533cd050…3e6152d82f260d09a488144c646e9c5c77b97237.js

js genesandhealth.org collected 2026-10-02 04:02:33 UTC 126,449 bytes, 122 lines download raw bytes

1/*!
2 * Glightbox v3.1.0
3 * https://github.com/biati-digital/glightbox
4 * Released under the MIT license
5 */(function(e,t){typeof exports=="object"&&typeof module!="undefined"?module.exports=t():typeof define=="function"&&define.amd?define(t):(e=e||self,e.GLightbox=t())})(this,function(){"use strict";function j(e){return"@babel/helpers - typeof",typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?j=function(e){return typeof e}:j=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},j(e)}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R(e,t){for(var n,s=0;s<t.length;s++)n=t[s],n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function m(e,t,n){return t&&R(e.prototype,t),n&&R(e,n),e}var v,y,k,S,M,F,T,z,B,V,$,Y,U=Date.now();function u(){var s,o,e={},n=!0,t=0,i=arguments.length;for(Object.prototype.toString.call(arguments[0])==="[object Boolean]"&&(n=arguments[0],t++),s=function(s){for(var o in s)Object.prototype.hasOwnProperty.call(s,o)&&(n&&Object.prototype.toString.call(s[o])==="[object Object]"?e[o]=u(!0,e[o],s[o]):e[o]=s[o])};t<i;t++)o=arguments[t],s(o);return e}function n(e,t){if((d(e)||e===window||e===document)&&(e=[e]),!q(e)&&!g(e)&&(e=[e]),D(e)==0)return;if(q(e)&&!g(e)){for(var o,i=e.length,n=0;n<i;n++)if(t.call(e[n],e[n],n,e)===!1)break}else if(g(e))for(o in e)if(s(e,o)&&t.call(e[o],e[o],o,e)===!1)break}function W(e){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,t=e[U]=e[U]||[],s={all:t,evt:null,found:null};return o&&i&&D(t)>0&&n(t,function(e,t){if(e.eventName==o&&e.fn.toString()==i.toString())return s.found=!0,s.evt=t,!1}),s}function c(e){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},h=o.onElement,a=o.withCallback,r=o.avoidDuplicate,c=r===void 0||r,l=o.once,m=l!==void 0&&l,d=o.useCapture,u=d!==void 0&&d,f=arguments.length>2?arguments[2]:void 0,i=h||[];b(i)&&(i=document.querySelectorAll(i));function s(e){t(a)&&a.call(f,e,this),m&&s.destroy()}return s.destroy=function(){n(i,function(t){var n=W(t,e,s);n.found&&n.all.splice(n.evt,1),t.removeEventListener&&t.removeEventListener(e,s,u)})},n(i,function(t){var n=W(t,e,s);(t.addEventListener&&c&&!n.found||!c)&&(t.addEventListener(e,s,u),n.all.push({eventName:e,fn:s}))}),s}function e(e,t){n(t.split(" "),function(t){return e.classList.add(t)})}function o(e,t){n(t.split(" "),function(t){return e.classList.remove(t)})}function i(e,t){return e.classList.contains(t)}function l(e,t){for(;e!==document.body;){if(e=e.parentElement,!e)return!1;var n=typeof e.matches=="function"?e.matches(t):e.msMatchesSelector(t);if(n)return e}}function p(s){var r,l,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",i=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(!s||a==="")return!1;if(a=="none")return t(i)&&i(),!1;l=le(),r=a.split(" "),n(r,function(t){e(s,"g"+t)}),c(l,{onElement:s,avoidDuplicate:!1,once:!0,withCallback:function(s,a){n(r,function(e){o(a,"g"+e)}),t(i)&&i()}})}function O(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";if(t=="")return e.style.webkitTransform="",e.style.MozTransform="",e.style.msTransform="",e.style.OTransform="",e.style.transform="",!1;e.style.webkitTransform=t,e.style.MozTransform=t,e.style.msTransform=t,e.style.OTransform=t,e.style.transform=t}function P(e){e.style.display="block"}function x(e){e.style.display="none"}function f(e){var n=document.createDocumentFragment(),t=document.createElement("div");for(t.innerHTML=e;t.firstChild;)n.appendChild(t.firstChild);return n}function N(){return{width:window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,height:window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight}}function le(){var e,n=document.createElement("fakeelement"),t={animation:"animationend",OAnimation:"oAnimationEnd",MozAnimation:"animationend",WebkitAnimation:"webkitAnimationEnd"};for(e in t)if(n.style[e]!==void 0)return t[e]}function ne(){var e,n=document.createElement("fakeelement"),t={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(e in t)if(n.style[e]!==void 0)return t[e]}function se(n){var r=n.url,o=n.allow,i=n.callback,a=n.appendTo,s=document.createElement("iframe");return s.className="vimeo-video gvideo",s.src=r,s.style.width="100%",s.style.height="100%",o&&s.setAttribute("allow",o),s.onload=function(){e(s,"node-ready"),t(i)&&i()},a&&a.appendChild(s),s}function A(e,t,n,s){if(e()){t();return}n||(n=100);var o,i=setInterval(function(){if(!e())return;
5clearInterval(i),o&&clearTimeout(o),t()},n);s&&(o=setTimeout(function(){clearInterval(i)},s))}function H(e,n,s){if(r(e)){console.error("Inject assets error");return}if(t(n)&&(s=n,n=!1),b(n)&&n in window){t(s)&&s();return}if(e.indexOf(".css")!==-1){if(o=document.querySelectorAll('link[href="'+e+'"]'),o&&o.length>0){t(s)&&s();return}var o,a,c=document.getElementsByTagName("head")[0],l=c.querySelectorAll('link[rel="stylesheet"]'),i=document.createElement("link");i.rel="stylesheet",i.type="text/css",i.href=e,i.media="all",l?c.insertBefore(i,l[0]):c.appendChild(i),t(s)&&s();return}if(o=document.querySelectorAll('script[src="'+e+'"]'),o&&o.length>0){if(t(s)){if(b(n))return A(function(){return typeof window[n]!="undefined"},function(){s()}),!1;s()}return}a=document.createElement("script"),a.type="text/javascript",a.src=e,a.onload=function(){if(t(s)){if(b(n))return A(function(){return typeof window[n]!="undefined"},function(){s()}),!1;s()}},document.body.appendChild(a)}function E(){return"navigator"in window&&window.navigator.userAgent.match(/(iPad)|(iPhone)|(iPod)|(Android)|(PlayBook)|(BB10)|(BlackBerry)|(Opera Mini)|(IEMobile)|(webOS)|(MeeGo)/i)}function G(){return E()!==null||document.createTouch!==void 0||"ontouchstart"in window||"onmsgesturechange"in window||navigator.msMaxTouchPoints}function t(e){return typeof e=="function"}function b(e){return typeof e=="string"}function d(e){return!!(e&&e.nodeType&&e.nodeType==1)}function I(e){return Array.isArray(e)}function q(e){return e&&e.length&&isFinite(e.length)}function g(e){var n=j(e);return n==="object"&&e!=null&&!t(e)&&!I(e)}function r(e){return e==null}function s(e,t){return e!==null&&hasOwnProperty.call(e,t)}function D(e){if(g(e)){if(e.keys)return e.keys().length;var n,t=0;for(n in e)s(e,n)&&t++;return t}return e.length}function _(e){return!isNaN(parseFloat(e))&&isFinite(e)}function L(){var s,o,i,a,r,e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:-1,t=document.querySelectorAll(".gbtn[data-taborder]:not(.disabled)");return!!t.length&&(t.length==1?t[0]:(typeof e=="string"&&(e=parseInt(e)),s=[],n(t,function(e){s.push(e.getAttribute("data-taborder"))}),i=Math.max.apply(Math,s.map(function(e){return parseInt(e)})),o=e<0?1:e+1,o>i&&(o="1"),a=s.filter(function(e){return e>=parseInt(o)}),r=a.sort()[0],document.querySelector('.gbtn[data-taborder="'.concat(r,'"]'))))}function ce(t){if(t.events.hasOwnProperty("keyboard"))return!1;t.events.keyboard=c("keydown",{onElement:window,withCallback:function(s){s=s||window.event;var a,c,l,d,u,h,r=s.keyCode;if(r==9){if(a=document.querySelector(".gbtn.focused"),!a&&(c=!!(document.activeElement&&document.activeElement.nodeName)&&document.activeElement.nodeName.toLocaleLowerCase(),c=="input"||c=="textarea"||c=="button"))return;if(s.preventDefault(),u=document.querySelectorAll(".gbtn[data-taborder]"),!u||u.length<=0)return;if(!a){l=L(),l&&(l.focus(),e(l,"focused"));return}h=a.getAttribute("data-taborder"),d=L(h),o(a,"focused"),d&&(d.focus(),e(d,"focused"))}r==39&&t.nextSlide(),r==37&&t.prevSlide(),r==27&&t.close()}})}function w(e){return Math.sqrt(e.x*e.x+e.y*e.y)}function re(e,t){return e.x*t.x+e.y*t.y}function ae(e,t){var n,s=w(e)*w(t);return s===0?0:(n=re(e,t)/s,n>1&&(n=1),Math.acos(n))}function ie(e,t){return e.x*t.y-t.x*e.y}function oe(e,t){var n=ae(e,t);return ie(e,t)>0&&(n*=-1),n*180/Math.PI}$=function(){function e(t){h(this,e),this.handlers=[],this.el=t}return m(e,[{key:"add",value:function(t){this.handlers.push(t)}},{key:"del",value:function(t){t||(this.handlers=[]);for(var n=this.handlers.length;n>=0;n--)this.handlers[n]===t&&this.handlers.splice(n,1)}},{key:"dispatch",value:function(){for(var n,t=0,s=this.handlers.length;t<s;t++)n=this.handlers[t],typeof n=="function"&&n.apply(this.el,arguments)}}]),e}();function a(e,t){var n=new $(e);return n.add(t),n}F=function(){function e(t,n){h(this,e),this.element=typeof t=="string"?document.querySelector(t):t,this.start=this.start.bind(this),this.move=this.move.bind(this),this.end=this.end.bind(this),this.cancel=this.cancel.bind(this),this.element.addEventListener("touchstart",this.start,!1),this.element.addEventListener("touchmove",this.move,!1),this.element.addEventListener("touchend",this.end,!1),this.element.addEventListener("touchcancel",this.cancel,!1),this.preV={x:null,y:null},this.pinchStartLen=null,this.zoom=1,this.isDoubleTap=!1;var s=function(){};this.rotate=a(this.element,n.rotate||s),this.touchStart=a(this.element,n.touchStart||s),this.multipointStart=a(this.element,n.multipointStart||s),this.multipointEnd=a(this.element,n.multipointEnd||s),this.pinch=a(this.element,n.pinch||s),this.swipe=a(this.element,n.swipe||s),this.tap=a(this.element,n.tap||s),this.doubleTap=a(this.element,n.doubleTap||s),this.longTap=a(this.element,n.longTap||s),this.singleTap=a(this.element,n.singleTap||s),this.pressMove=a(this.element,n.pressMove||s),this.twoFingerPressMove=a(this.element,n.twoFingerPressMove||s),this.touchMove=a(this.element,n.touchMove||s),this.touchEnd=a(this.element,n.touchEnd||s),this.touchCancel=a(this.element,n.touchCancel||s),this.translateContainer=this.element,this._cancelAllHandler=this.cancelAll.bind(this),window.addEventListener("scroll",this._cancelAllHandler),this.delta=null,this.last=null,this.now=null,this.tapTimeout=null,this.singleTapTimeout=null,this.longTapTimeout=null,this.swipeTimeout=null,this.x1=this.x2=this.y1=this.y2=null,this.preTapPosition={x:null,y:null}}return m(e,[{key:"start",value:function(t){if(!t.touches)return;if(o=["a","button","input"],t.target&&t.target.nodeName&&o.indexOf(t.target.nodeName.toLowerCase())>=0){console.log("ignore drag for this touched element",t.target.nodeName.toLowerCase());return}this.now=Date.now(),this.x1=t.touches[0].pageX,this.y1=t.touches[0].pageY,this.delta=this.now-(this.last||this.now),this.touchStart.dispatch(t,this.element),this.preTapPosition.x!==null&&(this.isDoubleTap=this.delta>0&&this.delta<=250&&Math.abs(this.preTapPosition.x-this.x1)<30&&Math.abs(this.preTapPosition.y-this.y1)<30,this.isDoubleTap&&clearTimeout(this.singleTapTimeout)),this.preTapPosition.x=this.x1,this.preTapPosition.y=this.y1,this.last=this.now;var s,o,n=this.preV,i=t.touches.length;i>1&&(this._cancelLongTap(),this._cancelSingleTap(),s={x:t.touches[1].pageX-this.x1,y:t.touches[1].pageY-this.y1},n.x=s.x,n.y=s.y,this.pinchStartLen=w(n),this.multipointStart.dispatch(t,this.element)),this._preventTap=!1,this.longTapTimeout=setTimeout(function(){this.longTap.dispatch(t,this.element),this._preventTap=!0}.bind(this),750)}},{key:"move",value:function(t){if(!t.touches)return;var n,a,r,l,d,s=this.preV,c=t.touches.length,o=t.touches[0].pageX,i=t.touches[0].pageY;this.isDoubleTap=!1,c>1?(a=t.touches[1].pageX,r=t.touches[1].pageY,n={x:t.touches[1].pageX-o,y:t.touches[1].pageY-i},s.x!==null&&(this.pinchStartLen>0&&(t.zoom=w(n)/this.pinchStartLen,this.pinch.dispatch(t,this.element)),t.angle=oe(n,s),this.rotate.dispatch(t,this.element)),s.x=n.x,s.y=n.y,this.x2!==null&&this.sx2!==null?(t.deltaX=(o-this.x2+a-this.sx2)/2,t.deltaY=(i-this.y2+r-this.sy2)/2):(t.deltaX=0,t.deltaY=0),this.twoFingerPressMove.dispatch(t,this.element),this.sx2=a,this.sy2=r):(this.x2!==null?(t.deltaX=o-this.x2,t.deltaY=i-this.y2,l=Math.abs(this.x1-this.x2),d=Math.abs(this.y1-this.y2),(l>10||d>10)&&(this._preventTap=!0)):(t.deltaX=0,t.deltaY=0),this.pressMove.dispatch(t,this.element)),this.touchMove.dispatch(t,this.element),this._cancelLongTap(),this.x2=o,this.y2=i,c>1&&t.preventDefault()}},{key:"end",value:function(t){if(!t.changedTouches)return;this._cancelLongTap();var n=this;t.touches.length<2&&(this.multipointEnd.dispatch(t,this.element),this.sx2=this.sy2=null),this.x2&&Math.abs(this.x1-this.x2)>30||this.y2&&Math.abs(this.y1-this.y2)>30?(t.direction=this._swipeDirection(this.x1,this.x2,this.y1,this.y2),this.swipeTimeout=setTimeout(function(){n.swipe.dispatch(t,n.element)},0)):(this.tapTimeout=setTimeout(function(){n._preventTap||n.tap.dispatch(t,n.element),n.isDoubleTap&&(n.doubleTap.dispatch(t,n.element),n.isDoubleTap=!1)},0),n.isDoubleTap||(n.singleTapTimeout=setTimeout(function(){n.singleTap.dispatch(t,n.element)},250))),this.touchEnd.dispatch(t,this.element),this.preV.x=0,this.preV.y=0,this.zoom=1,this.pinchStartLen=null,this.x1=this.x2=this.y1=this.y2=null}},{key:"cancelAll",value:function(){this._preventTap=!0,clearTimeout(this.singleTapTimeout),clearTimeout(this.tapTimeout),clearTimeout(this.longTapTimeout),clearTimeout(this.swipeTimeout)}},{key:"cancel",value:function(t){this.cancelAll(),this.touchCancel.dispatch(t,this.element)}},{key:"_cancelLongTap",value:function(){clearTimeout(this.longTapTimeout)}},{key:"_cancelSingleTap",value:function(){clearTimeout(this.singleTapTimeout)}},{key:"_swipeDirection",value:function(t,n,s,o){return Math.abs(t-n)>=Math.abs(s-o)?t-n>0?"Left":"Right":s-o>0?"Up":"Down"}},{key:"on",value:function(t,n){this[t]&&this[t].add(n)}},{key:"off",value:function(t,n){this[t]&&this[t].del(n)}},{key:"destroy",value:function(){return this.singleTapTimeout&&clearTimeout(this.singleTapTimeout),this.tapTimeout&&clearTimeout(this.tapTimeout),this.longTapTimeout&&clearTimeout(this.longTapTimeout),this.swipeTimeout&&clearTimeout(this.swipeTimeout),this.element.removeEventListener("touchstart",this.start),this.element.removeEventListener("touchmove",this.move),this.element.removeEventListener("touchend",this.end),this.element.removeEventListener("touchcancel",this.cancel),this.rotate.del(),this.touchStart.del(),this.multipointStart.del(),this.multipointEnd.del(),this.pinch.del(),this.swipe.del(),this.tap.del(),this.doubleTap.del(),this.longTap.del(),this.singleTap.del(),this.pressMove.del(),this.twoFingerPressMove.del(),this.touchMove.del(),this.touchEnd.del(),this.touchCancel.del(),this.preV=this.pinchStartLen=this.zoom=this.isDoubleTap=this.delta=this.last=this.now=this.tapTimeout=this.singleTapTimeout=this.longTapTimeout=this.swipeTimeout=this.x1=this.x2=this.y1=this.y2=this.preTapPosition=this.rotate=this.touchStart=this.multipointStart=this.multipointEnd=this.pinch=this.swipe=this.tap=this.doubleTap=this.longTap=this.singleTap=this.pressMove=this.touchMove=this.touchEnd=this.touchCancel=this.twoFingerPressMove=null,window.removeEventListener("scroll",this._cancelAllHandler),null}}]),e}();function C(t){var a=ne(),r=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,n=i(t,"gslide-media")?t:t.querySelector(".gslide-media"),d=l(n,".ginner-container"),s=t.querySelector(".gslide-description");r>769&&(n=d),e(n,"greset"),O(n,"translate3d(0, 0, 0)"),c(a,{onElement:n,once:!0,withCallback:function(){o(n,"greset")}}),n.style.opacity="",s&&(s.style.opacity="")}function J(t){if(t.events.hasOwnProperty("touch"))return!1;var y,w,x,L=N(),R=L.width,E=L.height,d=!1,f=null,s=null,n=null,M=!1,k=1,T=4.5,u=1,a=!1,h=!1,_=null,j=null,p=null,b=null,m=0,g=0,A=!1,S=!1,c={},r={},z=0,D=0,P=document.getElementById("glightbox-slider"),v=document.querySelector(".goverlay"),H=new F(P,{touchStart:function(a){if
5(d=!0,(i(a.targetTouches[0].target,"ginner-container")||l(a.targetTouches[0].target,".gslide-desc")||a.targetTouches[0].target.nodeName.toLowerCase()=="a")&&(d=!1),l(a.targetTouches[0].target,".gslide-inline")&&!i(a.targetTouches[0].target.parentNode,"gslide-inline")&&(d=!1),d){r=a.targetTouches[0],c.pageX=a.targetTouches[0].pageX,c.pageY=a.targetTouches[0].pageY,z=a.targetTouches[0].clientX,D=a.targetTouches[0].clientY,f=t.activeSlide,s=f.querySelector(".gslide-media"),y=f.querySelector(".gslide-inline"),n=null,i(s,"gslide-image")&&(n=s.querySelector("img"));var u=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;if(u>769&&(s=f.querySelector(".ginner-container")),o(v,"greset"),a.pageX>20&&a.pageX<window.innerWidth-20)return;a.preventDefault()}},touchMove:function(o){if(!d)return;if(r=o.targetTouches[0],a||h)return;if(y&&y.offsetHeight>E){var i,l,u,f,p,b=c.pageX-r.pageX;if(Math.abs(b)<=13)return!1}if(M=!0,l=o.targetTouches[0].clientX,u=o.targetTouches[0].clientY,f=z-l,p=D-u,Math.abs(f)>Math.abs(p)?(A=!1,S=!0):(S=!1,A=!0),w=r.pageX-c.pageX,m=w*100/R,x=r.pageY-c.pageY,g=x*100/E,A&&n&&(i=1-Math.abs(x)/E,v.style.opacity=i,t.settings.touchFollowAxis&&(m=0)),S&&(i=1-Math.abs(w)/R,s.style.opacity=i,t.settings.touchFollowAxis&&(g=0)),!n)return O(s,"translate3d(".concat(m,"%, 0, 0)"));O(s,"translate3d(".concat(m,"%, ").concat(g,"%, 0)"))},touchEnd:function(){if(!d)return;if(M=!1,h||a){p=_,b=j;return}var i=Math.abs(parseInt(g)),r=Math.abs(parseInt(m));if(i>29&&n){t.close();return}if(i<29&&r<25)return e(v,"greset"),v.style.opacity=1,C(s)},multipointEnd:function(){setTimeout(function(){a=!1},50)},multipointStart:function(){a=!0,k=u||1},pinch:function(t){if(!n||M)return!1;a=!0,n.scaleX=n.scaleY=k*t.zoom;var s=k*t.zoom;if(h=!0,s<=1){h=!1,s=1,b=null,p=null,_=null,j=null,n.setAttribute("style","");return}s>T&&(s=T),n.style.transform="scale3d(".concat(s,", ").concat(s,", 1)"),u=s},pressMove:function(){if(h&&!a){var i,s=r.pageX-c.pageX,o=r.pageY-c.pageY;p&&(s=s+p),b&&(o=o+b),_=s,j=o,i="translate3d(".concat(s,"px, ").concat(o,"px, 0)"),u&&(i+=" scale3d(".concat(u,", ").concat(u,", 1)")),O(n,i)}},swipe:function(n){if(h)return;if(a){a=!1;return}if(n.direction=="Left"){if(t.index==t.elements.length-1)return C(s);t.nextSlide()}if(n.direction=="Right"){if(t.index==0)return C(s);t.prevSlide()}}});t.events.touch=H}Y=function(){function e(t,n){var s=this,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(h(this,e),this.img=t,this.slide=n,this.onclose=o,this.img.setZoomEvents)return!1;this.active=!1,this.zoomedIn=!1,this.dragging=!1,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.img.addEventListener("mousedown",function(e){return s.dragStart(e)},!1),this.img.addEventListener("mouseup",function(e){return s.dragEnd(e)},!1),this.img.addEventListener("mousemove",function(e){return s.drag(e)},!1),this.img.addEventListener("click",function(){if(s.slide.classList.contains("dragging-nav"))return s.zoomOut(),!1;if(!s.zoomedIn)return s.zoomIn();s.zoomedIn&&!s.dragging&&s.zoomOut()},!1),this.img.setZoomEvents=!0}return m(e,[{key:"zoomIn",value:function(){var t,s,n=this.widowWidth();if(this.zoomedIn||n<=768)return;t=this.img,t.setAttribute("data-style",t.getAttribute("style")),t.style.maxWidth=t.naturalWidth+"px",t.style.maxHeight=t.naturalHeight+"px",t.naturalWidth>n&&(s=n/2-t.naturalWidth/2,this.setTranslate(this.img.parentNode,s,0)),this.slide.classList.add("zoomed"),this.zoomedIn=!0}},{key:"zoomOut",value:function(){this.img.parentNode.setAttribute("style",""),this.img.setAttribute("style",this.img.getAttribute("data-style")),this.slide.classList.remove("zoomed"),this.zoomedIn=!1,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.onclose&&typeof this.onclose=="function"&&this.onclose()}},{key:"dragStart",value:function(t){if(t.preventDefault(),!this.zoomedIn){this.active=!1;return}t.type==="touchstart"?(this.initialX=t.touches[0].clientX-this.xOffset,this.initialY=t.touches[0].clientY-this.yOffset):(this.initialX=t.clientX-this.xOffset,this.initialY=t.clientY-this.yOffset),t.target===this.img&&(this.active=!0,this.img.classList.add("dragging"))}},{key:"dragEnd",value:function(t){var n=this;t.preventDefault(),this.initialX=this.currentX,this.initialY=this.currentY,this.active=!1,setTimeout(function(){n.dragging=!1,n.img.isDragging=!1,n.img.classList.remove("dragging")},100)}},{key:"drag",value:function(t){this.active&&(t.preventDefault(),t.type==="touchmove"?(this.currentX=t.touches[0].clientX-this.initialX,this.currentY=t.touches[0].clientY-this.initialY):(this.currentX=t.clientX-this.initialX,this.currentY=t.clientY-this.initialY),this.xOffset=this.currentX,this.yOffset=this.currentY,this.img.isDragging=!0,this.dragging=!0,this.setTranslate(this.img,this.currentX,this.currentY))}},{key:"onMove",value:function(t){if(!this.zoomedIn)return;
5var n=t.clientX-this.img.naturalWidth/2,s=t.clientY-this.img.naturalHeight/2;this.setTranslate(this.img,n,s)}},{key:"setTranslate",value:function(t,n,s){t.style.transform="translate3d("+n+"px, "+s+"px, 0)"}},{key:"widowWidth",value:function(){return window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth}}]),e}(),M=function(){function e(){n=this,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},h(this,e);var t,n,r=t.dragEl,s=t.toleranceX,c=s===void 0?40:s,o=t.toleranceY,l=o===void 0?65:o,i=t.slide,d=i===void 0?null:i,a=t.instance,u=a===void 0?null:a;this.el=r,this.active=!1,this.dragging=!1,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.direction=null,this.lastDirection=null,this.toleranceX=c,this.toleranceY=l,this.toleranceReached=!1,this.dragContainer=this.el,this.slide=d,this.instance=u,this.el.addEventListener("mousedown",function(e){return n.dragStart(e)},!1),this.el.addEventListener("mouseup",function(e){return n.dragEnd(e)},!1),this.el.addEventListener("mousemove",function(e){return n.drag(e)},!1)}return m(e,[{key:"dragStart",value:function(t){if(this.slide.classList.contains("zoomed")){this.active=!1;return}t.type==="touchstart"?(this.initialX=t.touches[0].clientX-this.xOffset,this.initialY=t.touches[0].clientY-this.yOffset):(this.initialX=t.clientX-this.xOffset,this.initialY=t.clientY-this.yOffset);var n=t.target.nodeName.toLowerCase(),s=["input","select","textarea","button","a"];if(t.target.classList.contains("nodrag")||l(t.target,".nodrag")||s.indexOf(n)!==-1){this.active=!1;return}t.preventDefault(),(t.target===this.el||n!=="img"&&l(t.target,".gslide-inline"))&&(this.active=!0,this.el.classList.add("dragging"),this.dragContainer=l(t.target,".ginner-container"))}},{key:"dragEnd",value:function(t){var n=this;t&&t.preventDefault(),this.initialX=0,this.initialY=0,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.active=!1,this.doSlideChange&&(this.instance.preventOutsideClick=!0,this.doSlideChange=="right"&&this.instance.prevSlide(),this.doSlideChange=="left"&&this.instance.nextSlide()),this.doSlideClose&&this.instance.close(),this.toleranceReached||this.setTranslate(this.dragContainer,0,0,!0),setTimeout(function(){n.instance.preventOutsideClick=!1,n.toleranceReached=!1,n.lastDirection=null,n.dragging=!1,n.el.isDragging=!1,n.el.classList.remove("dragging"),n.slide.classList.remove("dragging-nav"),n.dragContainer.style.transform="",n.dragContainer.style.transition=""},100)}},{key:"drag",value:function(t){if(this.active){t.preventDefault(),this.slide.classList.add("dragging-nav"),t.type==="touchmove"?(this.currentX=t.touches[0].clientX-this.initialX,this.currentY=t.touches[0].clientY-this.initialY):(this.currentX=t.clientX-this.initialX,this.currentY=t.clientY-this.initialY),this.xOffset=this.currentX,this.yOffset=this.currentY,this.el.isDragging=!0,this.dragging=!0,this.doSlideChange=!1,this.doSlideClose=!1;var n,o,s=Math.abs(this.currentX),i=Math.abs(this.currentY);if(s>0&&s>=Math.abs(this.currentY)&&(!this.lastDirection||this.lastDirection=="x")&&(this.yOffset=0,this.lastDirection="x",this.setTranslate(this.dragContainer,this.currentX,0),n=this.shouldChange(),!this.instance.settings.dragAutoSnap&&n&&(this.doSlideChange=n),this.instance.settings.dragAutoSnap&&n)){this.instance.preventOutsideClick=!0,this.toleranceReached=!0,this.active=!1,this.instance.preventOutsideClick=!0,this.dragEnd(null),n=="right"&&this.instance.prevSlide(),n=="left"&&this.instance.nextSlide();return}if(this.toleranceY>0&&i>0&&i>=s&&(!this.lastDirection||this.lastDirection=="y")){this.xOffset=0,this.lastDirection="y",this.setTranslate(this.dragContainer,0,this.currentY),o=this.shouldClose(),!this.instance.settings.dragAutoSnap&&o&&(this.doSlideClose=!0),this.instance.settings.dragAutoSnap&&o&&this.instance.close();return}}}},{key:"shouldChange",value:function(){var t,n=!1,s=Math.abs(this.currentX);return s>=this.toleranceX&&(t=this.currentX>0?"right":"left",(t=="left"&&this.slide!==this.slide.parentNode.lastChild||t=="right"&&this.slide!==this.slide.parentNode.firstChild)&&(n=t)),n}},{key:"shouldClose",value:function(){var t=!1,n=Math.abs(this.currentY);return n>=this.toleranceY&&(t=!0),t}},{key:"setTranslate",value:function(t,n,s){var o=arguments.length>3&&arguments[3]!==void 0&&arguments[3];o?t.style.transition="all .2s ease":t.style.transition="",t.style.transform="translate3d(".concat(n,"px, ").concat(s,"px, 0)")}}]),e}();function te(e,n,s,o){var a=e.querySelector(".gslide-media"),i=new Image,c="gSlideTitle_"+s,l="gSlideDesc_"+s;i.addEventListener("load",function(){t(o)&&o()},!1),i.src=n.href,n.sizes!=""&&n.srcset!=""&&(i.sizes=n.sizes,i.srcset=n.srcset),i.alt="",!r(n.alt)&&n.alt!==""&&(i.alt=n.alt),n.title!==""&&i.setAttribute("aria-labelledby",c),n.description!==""&&i.setAttribute("aria-describedby",l),n.hasOwnProperty("_hasCustomWidth")&&n._hasCustomWidth&&(i.style.width=n.width),n.hasOwnProperty("_hasCustomHeight")&&n._hasCustomHeight&&(i.style.height=n.height),a.insertBefore(i,a.firstChild)}function Q(n,o,i,a){var r,c,d,u,h,g,m=this,v=n.querySelector(".ginner-container"),l="gvideo"+i,p=n.querySelector(".gslide-media"),b=this.getAllPlayers();e(v,"gvideo-container"),p.insertBefore(f('<div class="gvideo-wrapper"></div>'),p.firstChild),d=n.querySelector(".gvideo-wrapper"),H(this.settings.plyr.css,"Plyr"),r=o.href,g=location.protocol.replace(":",""),c="",u="",h=!1,g=="file"&&(g="http"),p.style.maxWidth=o.width,H(this.settings.plyr.js,"Plyr",function(){if(r.match(/vimeo\.com\/([0-9]*)/)){var p,g,v,j,y,_,w,O,x,C=/vimeo.*\/(\d+)/i.exec(r);c="vimeo",u=C[1]}if((r.match(/(youtube\.com|youtube-nocookie\.com)\/watch\?v=([a-zA-Z0-9-_]+)/)||r.match(/youtu\.be\/([a-zA-Z0-9-_]+)/)||r.match(/(youtube\.com|youtube-nocookie\.com)\/embed\/([a-zA-Z0-9-_]+)/))&&
5(w=Z(r),c="youtube",u=w),r.match(/\.(mp4|ogg|webm|mov)$/)!==null){c="local",p='<video id="'+l+'" ',p+='style="background:#000; max-width: '.concat(o.width,';" '),p+='preload="metadata" ',p+='x-webkit-airplay="allow" ',p+="playsinline ",p+="controls ",p+='class="gvideo-local">',g=r.toLowerCase().split(".").pop(),v={mp4:"",ogg:"",webm:""},g=g=="mov"?"mp4":g,v[g]=r;for(j in v)v.hasOwnProperty(j)&&(y=v[j],o.hasOwnProperty(j)&&(y=o[j]),y!==""&&(p+='<source src="'.concat(y,'" type="video/').concat(j,'">')));p+="</video>",h=f(p)}O=h||f('<div id="'.concat(l,'" data-plyr-provider="').concat(c,'" data-plyr-embed-id="').concat(u,'"></div>')),e(d,"".concat(c,"-video gvideo")),d.appendChild(O),d.setAttribute("data-id",l),d.setAttribute("data-index",i),x=s(m.settings.plyr,"config")?m.settings.plyr.config:{},_=new Plyr("#"+l,x),_.on("ready",function(e){var n=e.detail.plyr;b[l]=n,t(a)&&a()}),A(function(){return n.querySelector("iframe")&&n.querySelector("iframe").dataset.ready=="true"},function(){m.resize(n)}),_.on("enterfullscreen",K),_.on("exitfullscreen",K)})}function Z(e){var t="";return e=e.replace(/(>|<)/gi,"").split(/(vi\/|v=|\/v\/|youtu\.be\/|\/embed\/)/),e[2]!==void 0?(t=e[2].split(/[^0-9a-z_-]/i),t=t[0]):t=e,t}function K(t){var n=l(t.target,".gslide-media");t.type=="enterfullscreen"&&e(n,"fullscreen"),t.type=="exitfullscreen"&&o(n,"fullscreen")}function ee(n,o,i,a){var l,u,m,g,v=this,h=n.querySelector(".gslide-media"),p=!!(s(o,"href")&&o.href)&&o.href.split("#").pop().trim(),r=!!(s(o,"content")&&o.content)&&o.content;if(r&&(b(r)&&(l=f('<div class="ginlined-content">'.concat(r,"</div>"))),d(r)&&(r.style.display=="none"&&(r.style.display="block"),m=document.createElement("div"),m.className="ginlined-content",m.appendChild(r),l=m)),p){if(g=document.getElementById(p),!g)return!1;u=g.cloneNode(!0),u.style.height=o.height,u.style.maxWidth=o.width,e(u,"ginlined-content"),l=u}if(!l)return console.error("Unable to append inline slide content",o),!1;h.style.height=o.height,h.style.width=o.width,h.appendChild(l),this.events["inlineclose"+p]=c("click",{onElement:h.querySelectorAll(".gtrigger-close"),withCallback:function(t){t.preventDefault(),v.close()}}),t(a)&&a()}function X(e,t,n,s){var o=e.querySelector(".gslide-media"),i=se({url:t.href,callback:s});o.parentNode.style.maxWidth=t.width,o.parentNode.style.height=t.height,o.appendChild(i)}T=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};h(this,e),this.defaults={href:"",sizes:"",srcset:"",title:"",type:"",description:"",alt:"",descPosition:"bottom",effect:"",width:"",height:"",content:!1,zoomable:!0,draggable:!0},g(t)&&(this.defaults=u(this.defaults,t))}return m(e,[{key:"sourceType",value:function(t){var n,s=t;return t=t.toLowerCase(),t.match(/\.(jpeg|jpg|jpe|gif|png|apn|webp|avif|svg)/)!==null?"image":t.match(/(youtube\.com|youtube-nocookie\.com)\/watch\?v=([a-zA-Z0-9-_]+)/)||t.match(/youtu\.be\/([a-zA-Z0-9-_]+)/)||t.match(/(youtube\.com|youtube-nocookie\.com)\/embed\/([a-zA-Z0-9-_]+)/)?"video":t.match(/vimeo\.com\/([0-9]*)/)?"video":t.match(/\.(mp4|ogg|webm|mov)/)!==null?"video":t.match(/\.(mp3|wav|wma|aac|ogg)/)!==null?"audio":t.indexOf("#")>-1&&(n=s.split("#").pop(),n.trim()!=="")?"inline":t.indexOf("goajax=true")>-1?"ajax":"external"}},{key:"parseConfig",value:function(t,o){var a,c,l,h,m,f,p,v,b,j=this,i=u({descPosition:o.descPosition},this.defaults);if(g(t)&&!d(t))return s(t,"type")||(s(t,"content")&&t.content?t.type="inline":s(t,"href")&&(t.type=this.sourceType(t.href))),p=u(i,t),this.setSize(p,o),p;if(a="",h=t.getAttribute("data-glightbox"),c=t.nodeName.toLowerCase(),c==="a"&&(a=t.href),c==="img"&&(a=t.src,i.alt=t.alt),i.href=a,n(i,function(e,n){s(o,n)&&n!=="width"&&(i[n]=o[n]);var a=t.dataset[n];r(a)||(i[n]=j.sanitizeValue(a))}),i.content&&(i.type="inline"),!i.type&&a&&(i.type=this.sourceType(a)),r(h)?(!i.title&&c=="a"&&(m=t.title,!r(m)&&m!==""&&(i.title=m)),!i.title&&c=="img"&&(f=t.alt,!r(f)&&f!==""&&(i.title=f))):(l=[],n(i,function(e,t){l.push(";\\s?"+t)}),l=l.join("\\s?:|"),h.trim()!==""&&n(i,function(e,t){var s,o=h,a="s?"+t+"s?:s?(.*?)("+l+"s?:|$)",r=new RegExp(a),n=o.match(r);n&&n.length&&n[1]&&(s=n[1].trim().replace(/;
5\s*$/,""),i[t]=j.sanitizeValue(s))})),i.description&&i.description.substring(0,1)==="."){try{v=document.querySelector(i.description).innerHTML}catch(e){if(!(e instanceof DOMException))throw e}v&&(i.description=v)}return i.description||(b=t.querySelector(".glightbox-desc"),b&&(i.description=b.innerHTML)),this.setSize(i,o,t),this.slideConfig=i,i}},{key:"setSize",value:function(t,n){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i=t.type=="video"?this.checkSize(n.videosWidth):this.checkSize(n.width),a=this.checkSize(n.height);return t.width=s(t,"width")&&t.width!==""?this.checkSize(t.width):i,t.height=s(t,"height")&&t.height!==""?this.checkSize(t.height):a,o&&t.type=="image"&&(t._hasCustomWidth=!!o.dataset.width,t._hasCustomHeight=!!o.dataset.height),t}},{key:"checkSize",value:function(t){return _(t)?"".concat(t,"px"):t}},{key:"sanitizeValue",value:function(t){return t!=="true"&&t!=="false"?t:t==="true"}}]),e}(),v=function(){function n(e,t,s){h(this,n),this.element=e,this.instance=t,this.index=s}return m(n,[{key:"setContent",value:function(){var s,a,r,c,l,d,h,m,f,g,v,b,u=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,p=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if(i(o,"loaded"))return!1;if(a=this.instance.settings,s=this.slideConfig,g=E(),t(a.beforeSlideLoad)&&a.beforeSlideLoad({index:this.index,slide:o,player:!1}),l=s.type,m=s.descPosition,f=o.querySelector(".gslide-media"),d=o.querySelector(".gslide-title"),c=o.querySelector(".gslide-desc"),h=o.querySelector(".gdesc-inner"),r=p,v="gSlideTitle_"+this.index,b="gSlideDesc_"+this.index,t(a.afterSlideLoad)&&(r=function(){t(p)&&p(),a.afterSlideLoad({index:u.index,slide:o,player:u.instance.getSlidePlayerInstance(u.index)})}),s.title==""&&s.description==""?h&&h.parentNode.parentNode.removeChild(h.parentNode):(d&&s.title!==""?(d.id=v,d.innerHTML=s.title):d.parentNode.removeChild(d),c&&s.description!==""?(c.id=b,g&&a.moreLength>
50?(s.smallDescription=this.slideShortDesc(s.description,a.moreLength,a.moreText),c.innerHTML=s.smallDescription,this.descriptionEvents(c,s)):c.innerHTML=s.description):c.parentNode.removeChild(c),e(f.parentNode,"desc-".concat(m)),e(h.parentNode,"description-".concat(m))),e(f,"gslide-".concat(l)),e(o,"loaded"),l==="video"){Q.apply(this.instance,[o,s,this.index,r]);return}if(l==="external"){X.apply(this,[o,s,this.index,r]);return}if(l==="inline"){ee.apply(this.instance,[o,s,this.index,r]),s.draggable&&new M({dragEl:o.querySelector(".gslide-inline"),toleranceX:a.dragToleranceX,toleranceY:a.dragToleranceY,slide:o,instance:this.instance});return}if(l==="image"){te(o,s,this.index,function(){var n=o.querySelector("img");s.draggable&&new M({dragEl:n,toleranceX:a.dragToleranceX,toleranceY:a.dragToleranceY,slide:o,instance:u.instance}),s.zoomable&&n.naturalWidth>n.offsetWidth&&(e(n,"zoomable"),new Y(n,o,function(){u.instance.resize()})),t(r)&&r()});return}t(r)&&r()}},{key:"slideShortDesc",value:function(t){var s,a,r,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:50,i=arguments.length>2&&arguments[2]!==void 0&&arguments[2],n=document.createElement("div");return n.innerHTML=t,a=n.innerText,r=i,t=a.trim(),t.length<=o?t:(s=t.substr(0,o-1),r?(n=null,s+'... <a href="#" class="desc-more">'+i+"</a>"):s)}},{key:"descriptionEvents",value:function(n,s){var a=this,i=n.querySelector(".desc-more");if(!i)return!1;c("click",{onElement:i,withCallback:function(n,i){n.preventDefault();var u,r=document.body,d=l(i,".gslide-desc");if(!d)return!1;d.innerHTML=s.description,e(r,"gdesc-open"),u=c("click",{onElement:[r,l(d,".gslide-description")],withCallback:function(n){n.target.nodeName.toLowerCase()!=="a"&&(o(r,"gdesc-open"),e(r,"gdesc-closed"),d.innerHTML=s.smallDescription,a.descriptionEvents(d,s),setTimeout(function(){o(r,"gdesc-closed")},400),u.destroy())}})}})}},{key:"create",value:function(){return f(this.instance.settings.slideHTML)}},{key:"getConfig",value:function(){!d(this.element)&&!this.element.hasOwnProperty("draggable")&&(this.element.draggable=this.instance.settings.draggable);var t=new T(this.instance.settings.slideExtraAttributes);return this.slideConfig=t.parseConfig(this.element,this.instance.settings),this.slideConfig}}]),n}(),V="3.1.1",B=E(),S=G(),k=document.getElementsByTagName("html")[0],y={selector:".glightbox",elements:null,skin:"clean",theme:"clean",closeButton:!0,startAt:null,autoplayVideos:!0,autofocusVideos:!0,descPosition:"bottom",width:"900px",height:"506px",videosWidth:"960px",beforeSlideChange:null,afterSlideChange:null,beforeSlideLoad:null,afterSlideLoad:null,slideInserted:null,slideRemoved:null,slideExtraAttributes:null,onOpen:null,onClose:null,loop:!1,zoomable:!0,draggable:!0,dragAutoSnap:!1,dragToleranceX:40,dragToleranceY:65,preload:!0,oneSlidePerOpen:!1,touchNavigation:!0,touchFollowAxis:!0,keyboardNavigation:!0,closeOnOutsideClick:!0,plugins:!1,plyr:{css:"https://cdn.plyr.io/3.6.8/plyr.css",js:"https://cdn.plyr.io/3.6.8/plyr.js",config:{ratio:"16:9",fullscreen:{enabled:!0,iosNative:!0},youtube:{noCookie:!0,rel:0,showinfo:0,iv_load_policy:3},vimeo:{byline:!1,portrait:!1,title:!1,transparent:!1}}},openEffect:"zoom",closeEffect:"zoom",slideEffect:"slide",moreText:"See more",moreLength:60,cssEfects:{fade:{in:"fadeIn",out:"fadeOut"},zoom:{in:"zoomIn",out:"zoomOut"},slide:{in:"slideInRight",out:"slideOutLeft"},slideBack:{in:"slideInLeft",out:"slideOutRight"},none:{in:"none",out:"none"}},svg:{close:'<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" xml:space="preserve"><g><g><path d="M505.943,6.058c-8.077-8.077-21.172-8.077-29.249,0L6.058,476.693c-8.077,8.077-8.077,21.172,0,29.249C10.096,509.982,15.39,512,20.683,512c5.293,0,10.586-2.019,14.625-6.059L505.943,35.306C514.019,27.23,514.019,14.135,505.943,6.058z"/></g></g><g><g><path d="M505.942,476.694L35.306,6.059c-8.076-8.077-21.172-8.077-29.248,0c-8.077,8.076-8.077,21.171,0,29.248l470.636,470.636c4.038,4.039,9.332,6.058,14.625,6.058c5.293,0,10.587-2.019,14.624-6.057C514.018,497.866,514.018,484.771,505.942,476.694z"/></g></g></svg>',next:'<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 477.175 477.175" xml:space="preserve"> <g><path d="M360.731,229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1,0s-5.3,13.8,0,19.1l215.5,215.5l-215.5,215.5c-5.3,5.3-5.3,13.8,0,19.1c2.6,2.6,6.1,4,9.5,4c3.4,0,6.9-1.3,9.5-4l225.1-225.1C365.931,242.875,365.931,234.275,360.731,229.075z"/></g></svg>',prev:'<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 477.175 477.175" xml:space="preserve"><g><path d="M145.188,238.575l215.5-215.5c5.3-5.3,5.3-13.8,0-19.1s-13.8-5.3-19.1,0l-225.1,225.1c-5.3,5.3-5.3,13.8,0,19.1l225.1,225c2.6,2.6,6.1,4,9.5,4s6.9-1.3,9.5-4c5.3-5.3,5.3-13.8,0-19.1L145.188,238.575z"/></g></svg>'}},y.slideHTML=`<div class="gslide">
6    <div class="gslide-inner-content">
7        <div class="ginner-container">
8            <div class="gslide-media">
9            </div>
10            <div class="gslide-description">
11                <div class="gdesc-inner">
12                    <h4 class="gslide-title"></h4>
13                    <div class="gslide-desc"></div>
14                </div>
15            </div>
16        </div>
17    </div>
18</div>`,y.lightboxHTML=`<div id="glightbox-body" class="glightbox-container" tabindex="-1" role="dialog" aria-hidden="false">
19    <div class="gloader visible"></div>
20    <div class="goverlay"></div>
21    <div class="gcontainer">
22    <div id="glightbox-slider" class="gslider"></div>
23    <button class="gclose gbtn" aria-label="Close" data-taborder="3">{closeSVG}</button>
24    <button class="gprev gbtn" aria-label="Previous" data-taborder="2">{prevSVG}</button>
25    <button class="gnext gbtn" aria-label="Next" data-taborder="1">{nextSVG}</button>
26</div>
27</div>`,z=function(){function a(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};h(this,a),this.customOptions=e,this.settings=u(y,e),this.effectsClasses=this.getAnimationClasses(),this.videoPlayers={},this.apiEvents=[],this.fullElementsList=!1}return m(a,[{key:"init",value:function(){var n=this,t=this.getSelector();t&&(this.baseEvents=c("click",{onElement:t,withCallback:function(t,s){t.preventDefault(),n.open(s)}})),this.elements=this.getElements()}},{key:"open",value:function(){var s,i,c,l,u,a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(this.elements.length==0)return!1;this.activeSlide=null,this.prevActiveSlideIndex=null,this.prevActiveSlide=null,s=_(h)?h:this.settings.startAt,d(a)&&(c=a.getAttribute("data-gallery"),c&&(this.fullElementsList=this.elements,this.elements=this.getGalleryElements(this.elements,c)),r(s)&&(s=this.getElementIndex(a),s<0&&(s=0))),_(s)||(s=0),this.build(),p(this.overlay,this.settings.openEffect=="none"?"none":this.settings.cssEfects.fade.in),l=document.body,u=window.innerWidth-document.documentElement.clientWidth,u>0&&(i=document.createElement("style"),i.type="text/css",i.className="gcss-styles",i.innerText=".gscrollbar-fixer {margin-right: ".concat(u,"px}"),document.head.appendChild(i),e(l,"gscrollbar-fixer")),e(l,"glightbox-open"),e(k,"glightbox-open"),B&&(e(document.body,"glightbox-mobile"),this.settings.slideEffect="slide"),this.showSlide(s,!0),this.elements.length==1?(e(this.prevButton,"glightbox-button-hidden"),e(this.nextButton,"glightbox-button-hidden")):(o(this.prevButton,"glightbox-button-hidden"),o(this.nextButton,"glightbox-button-hidden")),this.lightboxOpen=!0,this.trigger("open"),t(this.settings.onOpen)&&this.settings.onOpen(),S&&this.settings.touchNavigation&&J(this),this.settings.keyboardNavigation&&ce(this)}},{key:"openAt",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.open(null,t)}},{key:"showSlide",value:function(){var t,a,r,c,s=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,l=arguments.length>1&&arguments[1]!==void 0&&arguments[1];P(this.loader),this.index=parseInt(n),r=this.slidesContainer.querySelector(".current"),r&&o(r,"current"),this.slideAnimateOut(),t=this.slidesContainer.querySelectorAll(".gslide")[n],i(t,"loaded")?(this.slideAnimateIn(t,l),x(this.loader)):(P(this.loader),a=this.elements[n],c={index:this.index,slide:t,slideNode:t,slideConfig:a.slideConfig,slideIndex:this.index,trigger:a.node,player:null},this.trigger("slide_before_load",c),a.instance.setContent(t,function(){x(s.loader),s.resize(),s.slideAnimateIn(t,l),s.trigger("slide_after_load",c)})),this.slideDescription=t.querySelector(".gslide-description"),this.slideDescriptionContained=this.slideDescription&&i(this.slideDescription.parentNode,"gslide-media"),this.settings.preload&&(this.preloadSlide(n+1),this.preloadSlide(n-1)),this.updateNavigationClasses(),this.activeSlide=t}},{key:"preloadSlide",value:function(t){var n,s,o,a,c=this;if(t<0||t>this.elements.length-1)return!1;if(r(this.elements[t]))return!1;if(n=this.slidesContainer.querySelectorAll(".gslide")[t],i(n,"loaded"))return!1;
27s=this.elements[t],a=s.type,o={index:t,slide:n,slideNode:n,slideConfig:s.slideConfig,slideIndex:t,trigger:s.node,player:null},this.trigger("slide_before_load",o),a=="video"||a=="external"?setTimeout(function(){s.instance.setContent(n,function(){c.trigger("slide_after_load",o)})},200):s.instance.setContent(n,function(){c.trigger("slide_after_load",o)})}},{key:"prevSlide",value:function(){this.goToSlide(this.index-1)}},{key:"nextSlide",value:function(){this.goToSlide(this.index+1)}},{key:"goToSlide",value:function(){var t=arguments.length>0&&arguments[0]!==void 0&&arguments[0];if(this.prevActiveSlide=this.activeSlide,this.prevActiveSlideIndex=this.index,!this.loop()&&(t<0||t>this.elements.length-1))return!1;t<0?t=this.elements.length-1:t>=this.elements.length&&(t=0),this.showSlide(t)}},{key:"insertSlide",value:function(){var s,o,i,a,r,c,l,d,h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1;n<0&&(n=this.elements.length),i=new v(h,this,n),a=i.getConfig(),s=u({},a),c=i.create(),l=this.elements.length-1,s.index=n,s.node=!1,s.instance=i,s.slideConfig=a,this.elements.splice(n,0,s),o=null,r=null,this.slidesContainer&&(n>l?this.slidesContainer.appendChild(c):(d=this.slidesContainer.querySelectorAll(".gslide")[n],this.slidesContainer.insertBefore(c,d)),(this.settings.preload&&this.index==0&&n==0||this.index-1==n||this.index+1==n)&&this.preloadSlide(n),this.index==0&&n==0&&(this.index=1),this.updateNavigationClasses(),o=this.slidesContainer.querySelectorAll(".gslide")[n],r=this.getSlidePlayerInstance(n),s.slideNo
27de=o),this.trigger("slide_inserted",{index:n,slide:o,slideNode:o,slideConfig:a,slideIndex:n,trigger:null,player:r}),t(this.settings.slideInserted)&&this.settings.slideInserted({index:n,slide:o,player:r})}},{key:"removeSlide",value:function(){var s,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:-1;if(n<0||n>this.elements.length-1)return!1;s=this.slidesContainer&&this.slidesContainer.querySelectorAll(".gslide")[n],s&&(this.getActiveSlideIndex()==n&&(n==this.elements.length-1?this.prevSlide():this.nextSlide()),s.parentNode.removeChild(s)),this.elements.splice(n,1),this.trigger("slide_removed",n),t(this.settings.slideRemoved)&&this.settings.slideRemoved(n)}},{key:"slideAnimateIn",value:function(s,i){var d,h,a=this,m=s.querySelector(".gslide-media"),u=s.querySelector(".gslide-description"),c={index:this.prevActiveSlideIndex,slide:this.prevActiveSlide,slideNode:this.prevActiveSlide,slideIndex:this.prevActiveSlide,slideConfig:r(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].slideConfig,trigger:r(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].node,player:this.getSlidePlayerInstance(this.prevActiveSlideIndex)},l={index:this.index,slide:this.activeSlide,slideNode:this.activeSlide,slideConfig:this.elements[this.index].slideConfig,slideIndex:this.index,trigger:this.elements[this.index].node,player:this.getSlidePlayerInstance(this.index)};m.offsetWidth>0&&u&&(x(u),u.style.display=""),o(s,this.effectsClasses),i?p(s,this.settings.cssEfects[this.settings.openEffect].in,function(){a.settings.autoplayVideos&&a.slidePlayerPlay(s),a.trigger("slide_changed",{prev:c,current:l}),t(a.settings.afterSlideChange)&&a.settings.afterSlideChange.apply(a,[c,l])}):(d=this.settings.slideEffect,h=d!=="none"?this.settings.cssEfects[d].in:d,this.prevActiveSlideIndex>this.index&&this.settings.slideEffect=="slide"&&(h=this.settings.cssEfects.slideBack.in),p(s,h,function(){a.settings.autoplayVideos&&a.slidePlayerPlay(s),a.trigger("slide_changed",{prev:c,current:l}),t(a.settings.afterSlideChange)&&a.settings.afterSlideChange.apply(a,[c,l])})),setTimeout(function(){a.resize(s)},100),e(s,"current")}},{key:"slideAnimateOut",value:function(){if(!this.prevActiveSlide)return!1;var i,a,s=this.prevActiveSlide;o(s,this.effectsClasses),e(s,"prev"),i=this.settings.slideEffect,a=i!=="none"?this.settings.cssEfects[i].out:i,this.slidePlayerPause(s),this.trigger("slide_before_change",{prev:{index:this.prevActiveSlideIndex,slide:this.prevActiveSlide,slideNode:this.prevActiveSlide,slideIndex:this.prevActiveSlideIndex,slideConfig:r(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].slideConfig,trigger:r(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].node,player:this.getSlidePlayerInstance(this.prevActiveSlideIndex)},current:{index:this.index,slide:this.activeSlide,slideNode:this.activeSlide,slideIndex:this.index,slideConfig:this.elements[this.index].slideConfig,trigger:this.elements[this.index].node,player:this.getSlidePlayerInstance(this.index)}}),t(this.settings.beforeSlideChange)&&this.settings.beforeSlideChange.apply(this,[{index:this.prevActiveSlideIndex,slide:this.prevActiveSlide,player:this.getSlidePlayerInstance(this.prevActiveSlideIndex)},{index:this.index,slide:this.activeSlide,player:this.getSlidePlayerInstance(this.index)}]),this.prevActiveSlideIndex>this.index&&this.settings.slideEffect=="slide"&&(a=this.settings.cssEfects.slideBack.out),p(s,a,function(){var n=s.querySelector(".ginner-container"),e=s.querySelector(".gslide-media"),t=s.querySelector(".gslide-description");n.style.transform="",e.style.transform="",o(e,"greset"),e.style.opacity="",t&&(t.style.opacity=""),o(s,"prev")})}},{key:"getAllPlayers",value:function(){return this.videoPlayers}},{key:"getSlidePlayerInstance",value:function(t){var n="gvideo"+t,o=this.getAllPlayers();return!!(s(o,n)&&o[n])&&o[n]}},{key:"stopSlideVideo",value:function(t){if(d(t)){var n,s=t.querySelector(".gvideo-wrapper");s&&(t=s.getAttribute("data-index"))}console.log("stopSlideVideo is deprecated, use slidePlayerPause"),n=this.getSlidePlayerInstance(t),n&&n.playing&&n.pause()}},{key:"slidePlayerPause",value:function(t){if(d(t)){var n,s=t.querySelector(".gvideo-wrapper");s&&(t=s.getAttribute("data-index"))}n=this.getSlidePlayerInstance(t),n&&n.playing&&n.pause()}},{key:"playSlideVideo",value:function(t){if(d(t)){var n,s=t.querySelector(".gvideo-wrapper");s&&(t=s.getAttribute("data-index"))}console.log("playSlideVideo is deprecated, use slidePlayerPlay"),n=this.getSlidePlayerInstance(t),n&&
27!n.playing&&n.play()}},{key:"slidePlayerPlay",value:function(t){if(d(t)){var n,s=t.querySelector(".gvideo-wrapper");s&&(t=s.getAttribute("data-index"))}n=this.getSlidePlayerInstance(t),n&&!n.playing&&(n.play(),this.settings.autofocusVideos&&n.elements.container.focus())}},{key:"setElements",value:function(t){var o,s=this;this.settings.elements=!1,o=[],t&&t.length&&n(t,function(e,t){var i=new v(e,s,t),a=i.getConfig(),n=u({},a);n.slideConfig=a,n.instance=i,n.index=t,o.push(n)}),this.elements=o,this.lightboxOpen&&(this.slidesContainer.innerHTML="",this.elements.length&&(n(this.elements,function(){var e=f(s.settings.slideHTML);s.slidesContainer.appendChild(e)}),this.showSlide(0,!0)))}},{key:"getElementIndex",value:function(t){var o=!1;return n(this.elements,function(e,n){if(s(e,"node")&&e.node==t)return o=n,!0}),o}},{key:"getElements",value:function(){var s,i,o=this,t=[];return this.elements=this.elements?this.elements:[],!r(this.settings.elements)&&I(this.settings.elements)&&this.settings.elements.length&&n(this.settings.elements,function(e,n){var i=new v(e,o,n),a=i.getConfig(),s=u({},a);s.node=!1,s.index=n,s.instance=i,s.slideConfig=a,t.push(s)}),s=!1,i=this.getSelector(),i&&(s=document.querySelectorAll(this.getSelector())),s?(n(s,function(e,n){var i=new v(e,o,n),a=i.getConfig(),s=u({},a);s.node=e,s.index=n,s.instance=i,s.slideConfig=a,s.gallery=e.getAttribute("data-gallery"),t.push(s)}),t):t}},{key:"getGalleryElements",value:function(t,n){return t.filter(function(e){return e.gallery==n})}},{key:"getSelector",value:function(){return!this.settings.elements&&(this.settings.selector&&this.settings.selector.substring(0,5)=="data-"?"*[".concat(this.settings.selector,"]"):this.settings.selector)}},{key:"getActiveSlide",value:function(){return this.slidesContainer.querySelectorAll(".gslide")[this.index]}},{key:"getActiveSlideIndex",value:function(){return this.index}},{key:"getAnimationClasses",value:function(){var n,s,t=[];for(s in this.settings.cssEfects)this.settings.cssEfects.hasOwnProperty(s)&&(n=this.settings.cssEfects[s],t.push("g".concat(n.in)),t.push("g".concat(n.out)));return t.join(" ")}},{key:"build",value:function(){var o,r,d,u,h,m,p,g,a=this;if(this.built)return!1;h=document.body.childNodes,u=[],n(h,function(e){e.parentNode==document.body&&e.nodeName.charAt(0)!=="#"&&e.hasAttribute&&!e.hasAttribute("aria-hidden")&&(u.push(e),e.setAttribute("aria-hidden","true"))}),m=s(this.settings.svg,"next")?this.settings.svg.next:"",p=s(this.settings.svg,"prev")?this.settings.svg.prev:"",g=s(this.settings.svg,"close")?this.settings.svg.close:"",o=this.settings.lightboxHTML,o=o.replace(/{nextSVG}/g,m),o=o.replace(/{prevSVG}/g,p),o=o.replace(/{closeSVG}/g,g),o=f(o),document.body.appendChild(o),r=document.getElementById("glightbox-body"),this.modal=r,d=r.querySelector(".gclose"),this.prevButton=r.querySelector(".gprev"),this.nextButton=r.querySelector(".gnext"),this.overlay=r.querySelector(".goverlay"),this.loader=r.querySelector(".gloader"),this.slidesContainer=document.getElementById("glightbox-slider"),this.bodyHiddenChildElms=u,this.events={},e(this.modal,"glightbox-"+this.settings.skin),this.settings.closeButton&&d&&(this.events.close=c("click",{onElement:d,withCallback:function(t){t.preventDefault(),a.close()}})),d&&!this.settings.closeButton&&d.parentNode.removeChild(d),this.nextButton&&(this.events.next=c("click",{onElement:this.nextButton,withCallback:function(t){t.preventDefault(),a.nextSlide()}})),this.prevButton&&(this.events.prev=c("click",{onElement:this.prevButton,withCallback:function(t){t.preventDefault(),a.prevSlide()}})),this.settings.closeOnOutsideClick&&(this.events.outClose=c("click",{onElement:r,withCallback:function(t){!a.preventOutsideClick&&!i(document.body,"glightbox-mobile")&&!l(t.target,".ginner-container")&&!l(t.target,".gbtn")&&!i(t.target,"gnext")&&!i(t.target,"gprev")&&a.close()}})),n(this.elements,function(e,t){a.slidesContainer.appendChild(e.instance.create()),e.slideNode=a.slidesContainer.querySelectorAll(".gslide")[t]}),S&&e(document.body,"glightbox-touch"),this.events.resize=c("resize",{onElement:window,withCallback:function(){a.resize()}}),this.built=!0}},{key:"resize",value:function(){var n,a,r,c,l,d,h,m,f,p,g,v,b,j,y,w,O,x,C,E,k,A,u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=u||this.activeSlide;if(!u||i(u,"zoomed"))return;if(w=N(),a=u.querySelector(".gvideo-wrapper"),f=u.querySelector(".gslide-image"),r=this.slideDescription,l=w.width,d=w.height,l<=768?e(document.body,"glightbox-mobile"):o(document.body,"glightbox-mobile"),!a&&!f)return;
27h=!1,r&&(i(r,"description-bottom")||i(r,"description-top"))&&!i(r,"gabsolute")&&(h=!0),f&&(l<=768?(A=f.querySelector("img")):h&&(E=r.offsetHeight,g=f.querySelector("img"),g.setAttribute("style","max-height: calc(100vh - ".concat(E,"px)")),r.setAttribute("style","max-width: ".concat(g.offsetWidth,"px;")))),a&&(p=s(this.settings.plyr.config,"ratio")?this.settings.plyr.config.ratio:"",p||(v=a.clientWidth,b=a.clientHeight,j=v/b,p="".concat(v/j,":").concat(b/j)),y=p.split(":"),n=this.settings.videosWidth,c=this.settings.videosWidth,_(n)||n.indexOf("px")!==-1?c=parseInt(n):n.indexOf("vw")!==-1?c=l*parseInt(n)/100:n.indexOf("vh")!==-1?c=d*parseInt(n)/100:n.indexOf("%")!==-1?c=l*parseInt(n)/100:c=parseInt(a.clientWidth),m=c/(parseInt(y[0])/parseInt(y[1])),m=Math.floor(m),h&&(d=d-r.offsetHeight),c>l||m>d||d<m&&l>c?(k=a.offsetWidth,O=a.offsetHeight,x=d/O,C={width:k*x,height:O*x},a.parentNode.setAttribute("style","max-width: ".concat(C.width,"px")),h&&r.setAttribute("style","max-width: ".concat(C.width,"px;"))):(a.parentNode.style.maxWidth="".concat(n),h&&r.setAttribute("style","max-width: ".concat(n,";"))))}},{key:"reload",value:function(){this.init()}},{key:"updateNavigationClasses",value:function(){var n=this.loop();o(this.nextButton,"disabled"),o(this.prevButton,"disabled"),this.index==0&&this.elements.length-1==0?(e(this.prevButton,"disabled"),e(this.nextButton,"disabled")):this.index===0&&!n?e(this.prevButton,"disabled"):this.index===this.elements.length-1&&!n&&e(this.nextButton,"disabled")}},{key:"loop",value:function e(){var e=s(this.settings,"loopAtEnd")?this.settings.loopAtEnd:null,e=s(this.settings,"loop")?this.settings.loop:e;return e}},{key:"close",value:function(){var a,i=this;if(!this.lightboxOpen){if(this.events){for(a in this.events)this.events.hasOwnProperty(a)&&this.events[a].destroy();this.events=null}return!1}if(this.closing)return!1;this.closing=!0,this.slidePlayerPause(this.activeSlide),this.fullElementsList&&(this.elements=this.fullElementsList),this.bodyHiddenChildElms.length&&n(this.bodyHiddenChildElms,function(e){e.removeAttribute("aria-hidden")}),e(this.modal,"glightbox-closing"),p(this.overlay,this.settings.openEffect=="none"?"none":this.settings.cssEfects.fade.out),p(this.activeSlide,this.settings.cssEfects[this.settings.closeEffect].out,function(){if(i.activeSlide=null,i.prevActiveSlideIndex=null,i.prevActiveSlide=null,i.built=!1,i.events){for(n in i.events)i.events.hasOwnProperty(n)&&i.events[n].destroy();i.events=null}var e,n,s=document.body;o(k,"glightbox-open"),o(s,"glightbox-open touching gdesc-open glightbox-touch glightbox-mobile gscrollbar-fixer"),i.modal.parentNode.removeChild(i.modal),i.trigger("close"),t(i.settings.onClose)&&i.settings.onClose(),e=document.querySelector(".gcss-styles"),e&&e.parentNode.removeChild(e),i.lightboxOpen=!1,i.closing=null})}},{key:"destroy",value:function(){this.close(),this.clearAllEvents(),this.baseEvents&&this.baseEvents.destroy()}},{key:"on",value:function(n,s){var o=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(!n||!t(s))throw new TypeError("Event name and callback must be defined");this.apiEvents.push({evt:n,once:o,callback:s})}},{key:"once",value:function(t,n){this.on(t,n,!0)}},{key:"trigger",value:function(t){var o=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,s=[];n(this.apiEvents,function(e,n){var o=e.evt,a=e.once,r=e.callback;o==t&&(r(i),a&&s.push(n))}),s.length&&n(s,function(e){return o.apiEvents.splice(e,1)})}},{key:"clearAllEvents",value:function(){this.apiEvents.splice(0,this.apiEvents.length)}},{key:"version",value:function(){return V}}]),a}();function de(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=new z(t);return e.init(),e}return de}),function(){"use strict";GLightbox();const t=(e,t=!0)=>{const{top:n,left:s,bottom:o,right:i}=e.getBoundingClientRect(),{innerHeight:a,innerWidth:r}=window;return t?(n>0&&n<a||o>0&&o<a)&&(s>0&&s<r||i>0&&i<r):n>=0&&s>=0&&o<=a&&i<=r},n=screen.height*.25,s=document.querySelectorAll(".gallery"),e=()=>{s.forEach(e=>{const s=e.querySelectorAll(".gallery-item");
27t(e)&&s.forEach(e=>{let t=e.querySelector("img"),s=t.naturalWidth/t.naturalHeight;e.style.width=n*s+"px",e.style.flexGrow=s,t.style.opacity=1})})};window.addEventListener("scroll",e),window.addEventListener("load",e);var o=document.getElementsByClassName("gallery-slider");o.length>0&&new Swiper(".gallery-slider",{slidesPerView:1,loop:!0,autoHeight:!0,spaceBetween:0,speed:1500,autoplay:{delay:5e3},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}})}(),function(){"use strict";const e=document.querySelectorAll("[data-accordion]");e.forEach(e=>{e.addEventListener("click",()=>{const t=e.parentElement;t.classList.toggle("active")})})}(),function(){"use strict";const s=document.querySelectorAll("[data-tab-group]"),e=document.querySelectorAll("[data-tab-nav] [data-tab]");function t(e,t,n){e.querySelectorAll("[data-tab]").forEach(e=>{e.classList.remove("active")}),t.querySelectorAll("[data-tab-panel]").forEach(e=>{e.classList.remove("active")});const s=e.querySelector(`[data-tab="${n}"]`);s.classList.add("active");const o=t.querySelector(`[data-tab-panel="${n}"]`);o.classList.add("active")}function n(e,n){if(e.dataset.tabGroup){const s=document.querySelectorAll(`[data-tab-group=${e.dataset.tabGroup}] > [data-tab-nav]`),o=document.querySelectorAll(`[data-tab-group=${e.dataset.tabGroup}] > [data-tab-content]`);s.forEach((e,s)=>{const i=o[s];if(i===void 0)return;t(e,i,n)})}else{const s=e.querySelector("[data-tab-nav]"),o=e.querySelector("[data-tab-content]");t(s,o,n)}}s.forEach(e=>{const s=e.querySelector("[data-tab-nav]"),t=s.querySelectorAll("[data-tab]"),o=t[0].getAttribute("data-tab");n(e,o),t.forEach(t=>{t.addEventListener("click",()=>{const s=t.dataset.tab;n(e,s)})})});function o(t){let o=Array.from(e).indexOf(this),s=e.length,n;s>1&&(t.key==="ArrowRight"&&(n=e[(o+1)%s],o===s-1&&(n=e[0]),n.focus(),n.click()),t.key==="ArrowLeft"&&(n=e[(o-1+s)%s],o===0&&(n=e[s-1]),n.focus(),n.click()))}e.forEach(function(e){e.addEventListener("keydown",o)})}(),function(){"use strict";const e=document.querySelectorAll("[data-modal-open]"),t=document.querySelectorAll("[data-modal-close]");function n(e){if(e===null)return null;const t=e.querySelector("[data-modal-overlay]");e.style.display="block",t.style.display="block"}function s(e){if(e===null)return null;const t=e.querySelector("[data-modal-overlay]");e.style.display="none",t.style.display="none"}e.forEach(e=>{e.addEventListener("click",()=>{const t=e.nextElementSibling;n(t)})}),t.forEach(e=>{e.addEventListener("click",()=>{const t=e.closest("[data-modal]");s(t)})})}();class LiteYTEmbed extends HTMLElement{constructor(){super(),this.isIframeLoaded=!1,this.setupDom()}static get observedAttributes(){return["videoid","playlistid"]}connectedCallback(){this.addEventListener("pointerover",LiteYTEmbed.warmConnections,{once:!0}),this.addEventListener("click",()=>this.addIframe())}get videoId(){return encodeURIComponent(this.getAttribute("videoid")||"")}set videoId(e){this.setAttribute("videoid",e)}get playlistId(){return encodeURIComponent(this.getAttribute("playlistid")||"")}set playlistId(e){this.setAttribute("playlistid",e)}get videoTitle(){return this.getAttribute("videotitle")||"Video"}set videoTitle(e){this.setAttribute("videotitle",e)}get videoPlay(){return this.getAttribute("videoPlay")||"Play"}set videoPlay(e){this.setAttribute("videoPlay",e)}get videoStartAt(){return Number(this.getAttribute("videoStartAt")||"0")}set videoStartAt(e){this.setAttribute("videoStartAt",String(e))}get autoLoad(){return this.hasAttribute("autoload")}get noCookie(){return this.hasAttribute("nocookie")}get posterQuality(){return this.getAttribute("posterquality")||"hqdefault"}get posterLoading(){return this.getAttribute("posterloading")||"lazy"}get params(){return`start=${this.videoStartAt}&${this.getAttribute("params")}`}setupDom(){const e=this.attachShadow({mode:"open"});e.innerHTML=`
28    <style>
29      :host {
30        contain: content;
31        display: block;
32        position: relative;
33        width: 100%;
34        padding-bottom: calc(100% / (16 / 9));
35        --lyt-animation: all 0.2s cubic-bezier(0, 0, 0.2, 1);
36        --lyt-play-btn-default: #212121;
37        --lyt-play-btn-hover: #f00;
38      }
39
40      #frame, #fallbackPlaceholder, iframe {
41        position: absolute;
42        width: 100%;
43        height: 100%;
44        left: 0;
45        top:0;
46      }
47
48      #frame {
49        cursor: pointer;
50      }
51
52      #fallbackPlaceholder {
53        object-fit: cover;
54      }
55
56      #frame::before {
57        content: '';
58        display: block;
59        position: absolute;
60        top: 0;
61        background-image: linear-gradient(180deg, #111 -20%, transparent 90%);
62        height: 60px;
63        width: 100%;
64        transition: var(--lyt-animation);
65        z-index: 1;
66      }
67
68      #playButton {
69        width: 70px;
70        height: 46px;
71        z-index: 1;
72        opacity: 0.9;
73        border-radius: 14%;
74        transition: var(--lyt-animation);
75        border: 0;
76        cursor:pointer;
77        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='100%25' version='1.1' viewBox='0 0 68 48' width='100%25'%3E%3Cpath class='ytp-large-play-button-bg' d='M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z' fill='%23f00'%3E%3C/path%3E%3Cpath d='M 45,24 27,14 27,34' fill='%23fff'%3E%3C/path%3E%3C/svg%3E");
78        background-repeat: no-repeat;
79        background-position: center;
80        filter: grayscale(1);
81        background-color: transparent !important;
82      }
83
84      #frame:hover > #playButton {
85        opacity: 1;
86        filter: grayscale(0);
87      }
88
89      #playButton {
90        position: absolute;
91        top: 50%;
92        left: 50%;
93        transform: translate3d(-50%, -50%, 0);
94      }
95
96      /* Post-click styles */
97      .activated {
98        cursor: unset;
99      }
100
101      #frame.activated::before,
102      #frame.activated > #playButton {
103        display: none;
104      }
105    </style>
106    <div id="frame">
107      <picture>
108        <source id="webpPlaceholder" type="image/webp">
109        <source id="jpegPlaceholder" type="image/jpeg">
110        <img id="fallbackPlaceholder" referrerpolicy="origin">
111      </picture>
112      <button id="playButton"></button>
113    </div>
114  `,this.domRefFrame=e.querySelector("#frame"),this.domRefImg={fallback:e.querySelector("#fallbackPlaceholder"),webp:e.querySelector("#webpPlaceholder"),jpeg:e.querySelector("#jpegPlaceholder")},this.domRefPlayButton=e.querySelector("#playButton")}setupComponent(){this.initImagePlaceholder(),this.domRefPlayButton.setAttribute("aria-label",`${this.videoPlay}: ${this.videoTitle}`),this.setAttribute("title",`${this.videoPlay}: ${this.videoTitle}`),this.autoLoad&&this.initIntersectionObserver()}attributeChangedCallback(e,t,n){switch(e){case"videoid":case"playlistid":{t!==n&&(this.setupComponent(),this.domRefFrame.classList.contains("activated")&&(this.domRefFrame.classList.remove("activated"),this.shadowRoot.querySelector("iframe").remove(),this.isIframeLoaded=!1));break}default:break}}addIframe(e=!1){if(!this.isIframeLoaded){const n=e?0:1,s=this.noCookie?"-nocookie":"";let t;this.playlistId?t=`?listType=playlist&list=${this.playlistId}&`:t=`${this.videoId}?`;const o=`
115      <iframe frameborder="0"
116      allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen
117      src="https://www.youtube${s}.com/embed/${t}rel=0&autoplay=${n}&${this.params}"
118      ></iframe>`;this.domRefFrame.insertAdjacentHTML("beforeend",o),this.domRefFrame.classList.add("activated"),this.isIframeLoaded=!0,this.dispatchEvent(new CustomEvent("liteYoutubeIframeLoaded",{detail:{videoId:this.videoId},bubbles:!0,cancelable:!0}))}}initImagePlaceholder(){LiteYTEmbed.addPrefetch("preconnect","https://i.ytimg.com/");const t=`https://i.ytimg.com/vi_webp/${this.videoId}/${this.posterQuality}.webp`,e=`https://i.ytimg.com/vi/${this.videoId}/${this.posterQuality}.jpg`;this.domRefImg.fallback.loading=this.posterLoading,this.domRefImg.webp.srcset=t,this.domRefImg.jpeg.srcset=e,this.domRefImg.fallback.src=e,this.domRefImg.fallback.setAttribute("aria-label",`${this.videoPlay}: ${this.videoTitle}`),this.domRefImg?.fallback?.setAttribute("alt",`${this.videoPlay}: ${this.videoTitle}`)}initIntersectionObserver(){const e={root:null,rootMargin:"0px",threshold:0},t=new IntersectionObserver((e,t)=>
118{e.forEach(e=>{e.isIntersecting&&!this.isIframeLoaded&&(LiteYTEmbed.warmConnections(),this.addIframe(!0),t.unobserve(this))})},e);t.observe(this)}static addPrefetch(e,t,n){const s=document.createElement("link");s.rel=e,s.href=t,n&&(s.as=n),s.crossOrigin="true",document.head.append(s)}static warmConnections(){if(LiteYTEmbed.isPreconnected)return;LiteYTEmbed.addPrefetch("preconnect","https://s.ytimg.com"),LiteYTEmbed.addPrefetch("preconnect","https://www.youtube.com"),LiteYTEmbed.addPrefetch("preconnect","https://www.google.com"),LiteYTEmbed.addPrefetch("preconnect","https://googleads.g.doubleclick.net"),LiteYTEmbed.addPrefetch("preconnect","https://static.doubleclick.net"),LiteYTEmbed.isPreconnected=!0}}LiteYTEmbed.isPreconnected=!1,customElements.define("youtube-lite",LiteYTEmbed),(()=>{function t(t){t.directive("collapse",n),n.inline=(e,{modifiers:t})=>{t.includes("min")&&(e._x_doShow=()=>{},e._x_doHide=()=>{})};function n(n,{modifiers:s}){let r=e(s,"duration",250)/1e3,o=e(s,"min",0),i=!s.includes("min");n._x_isShown||(n.style.height=`${o}px`),!n._x_isShown&&i&&(n.hidden=!0),n._x_isShown||(n.style.overflow="hidden");let c=(e,n)=>{let s=t.setStyles(e,n);return n.height?()=>{}:s},a={transitionProperty:"height",transitionDuration:`${r}s`,transitionTimingFunction:"cubic-bezier(0.4, 0.0, 0.2, 1)"};n._x_transition={in(){i&&(n.hidden=!1),i&&(n.style.display=null);let r=n.getBoundingClientRect().height;n.style.height="auto";let c=n.getBoundingClientRect().height;r===c&&(r=o),t.transition(n,t.setStyles,{during:a,start:{height:r+"px"},end:{height:c+"px"}},()=>n._x_isShown=!0,()=>{Math.abs(n.getBoundingClientRect().height-c)<1&&(n.style.overflow=null)})},out(){let r=n.getBoundingClientRect().height;t.transition(n,c,{during:a,start:{height:r+"px"},end:{height:o+"px"}},()=>n.style.overflow="hidden",()=>{n._x_isShown=!1,n.style.height==`${o}px`&&i&&(n.style.display="none",n.hidden=!0)})}}}}function e(e,t,n){if(e.indexOf(t)===-1)return n;let s=e[e.indexOf(t)+1];if(!s)return n;if(t==="duration"){let e=s.match(/([0-9]+)ms/);if(e)return e[1]}if(t==="min"){let e=s.match(/([0-9]+)px/);if(e)return e[1]}return s}document.addEventListener("alpine:init",()=>{window.Alpine.plugin(t)})})(),(()=>{var w=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],s=w.join(","),O=typeof Element>"u",e=O?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,r=!O&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},_=function(t,n,o){var i=Array.prototype.slice.apply(t.querySelectorAll(s));return n&&e.call(t,s)&&i.unshift(t),i=i.filter(o),i},l=function t(n,o,i){for(r=[],c=Array.from(n);c.length;)if(a=c.shift(),a.tagName==="SLOT"){var a,r,c,l,d,m,f,u=a.assignedElements(),p=u.length?u:a.children,h=t(p,!0,i);
118i.flatten?r.push.apply(r,h):r.push({scope:a,candidates:h})}else m=e.call(a,s),m&&i.filter(a)&&(o||!n.includes(a))&&r.push(a),l=a.shadowRoot||typeof i.getShadowRoot=="function"&&i.getShadowRoot(a),f=!i.shadowRootFilter||i.shadowRootFilter(a),l&&f?(d=t(l===!0?a.children:l.children,!0,i),i.flatten?r.push.apply(r,d):r.push({scope:a,candidates:d})):c.unshift.apply(c,a.children);return r},j=function(e,t){return e.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||e.isContentEditable)&&isNaN(parseInt(e.getAttribute("tabindex"),10))?0:e.tabIndex},V=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},u=function(e){return e.tagName==="INPUT"},B=function(e){return u(e)&&e.type==="hidden"},P=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(e){return e.tagName==="SUMMARY"});return t},R=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},L=function(e){if(!e.name)return!0;var t,n,o=e.form||r(e),s=function(e){return o.querySelectorAll('input[type="radio"][name="'+e+'"]')};if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")t=s(window.CSS.escape(e.name));else try{t=s(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}return n=R(t,e.form),!n||n===e},N=function(e){return u(e)&&e.type==="radio"},F=function(e){return N(e)&&!L(e)},d=function(e){var t=e.getBoundingClientRect(),n=t.width,s=t.height;return n===0&&s===0},S=function(t,n){var s,i,a,l,u,h,m,o=n.displayCheck,c=n.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;if(l=e.call(t,"details>summary:first-of-type"),u=l?t.parentElement:t,e.call(u,"details:not([open]) *"))return!0;if(i=r(t).host,h=i?.ownerDocument.contains(i)||t.ownerDocument.contains(t),!o||o==="full"){{if(typeof c=="function"){for(m=t;t;){if(s=t.parentElement,a=r(t),s&&!s.shadowRoot&&c(s)===!0)return d(t);t.assignedSlot?t=t.assignedSlot:!s&&a!==t.ownerDocument?t=a.host:t=s}t=m}if(h)return!t.getClientRects().length}}else if(o==="non-zero-area")return d(t);return!1},A=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var s,o,n=t.parentElement;n;){if(n.tagName==="FIELDSET"&&n.disabled){for(s=0;s<n.children.length;s++)if(o=n.children.item(s),o.tagName==="LEGEND")return!!e.call(n,"fieldset[disabled] *")||!o.contains(t);return!0}n=n.parentElement}return!1},a=function(e,t){return!(t.disabled||B(t)||S(t,e)||P(t)||A(t))},c=function(e,t){return!(F(t)||j(t)<0||!a(e,t))},k=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},x=function e(t){var n=[],s=[];return t.forEach(function(t,o){var i=!!t.scope,a=i?t.scope:t,r=j(a,i),c=i?e(t.candidates):a;r===0?i?n.push.apply(n,c):n.push(a):s.push({documentOrder:o,tabIndex:r,item:t,isScope:i,content:c})}),s.sort(V).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(n)},C=function(e,t){t=t||{};var n;return t.getShadowRoot?n=l([e],t.includeContainer,{filter:c.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:k}):n=_(e,t.includeContainer,c.bind(null,t)),x(n)},y=function(e,t){t=t||{};var n;return t.getShadowRoot?n=l([e],t.includeContainer,{filter:a.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):n=_(e,t.includeContainer,a.bind(null,t)),n},o=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return e.call(t,s)!==!1&&c(n,t)},E=w.concat("iframe").join(","),i=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return e.call(t,E)!==!1&&a(n,t)};function b(e,t){var n,s=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),s.push.apply(s,n)),s}function v(e){for(var t,n=1;n<arguments.length;n++)t=arguments[n]!=null?arguments[n]:{},n%2?b(Object(t),!0).forEach(function(n){M(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):b(Object(t)).forEac
118h(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))});return e}function M(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=function(){var e=[];return{activateTrap:function(t){if(e.length>0){var n,s=e[e.length-1];s!==t&&s.pause()}n=e.indexOf(t),n===-1||e.splice(n,1),e.push(t)},deactivateTrap:function(t){var n=e.indexOf(t);n!==-1&&e.splice(n,1),e.length>0&&e[e.length-1].unpause()}}}(),T=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},z=function(e){return e.key==="Escape"||e.key==="Esc"||e.keyCode===27},D=function(e){return e.key==="Tab"||e.keyCode===9},f=function(e){return setTimeout(e,0)},m=function(e,t){var n=-1;return e.every(function(e,s){return!t(e)||(n=s,!1)}),n},t=function(e){for(var n=arguments.length,s=new Array(n>1?n-1:0),t=1;t<n;t++)s[t-1]=arguments[t];return typeof e=="function"?e.apply(void 0,s):e},n=function(e){return e.target.shadowRoot&&typeof e.composedPath=="function"?e.composedPath()[0]:e.target},H=function(e,s){var l,c=s?.document||document,r=v({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},s),a={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},d=function(e,t,n){return e&&e[t]!==void 0?e[t]:r[n||t]},g=function(e){return a.containerGroups.findIndex(function(t){var n=t.container,s=t.tabbableNodes;return n.contains(e)||s.find(function(t){return t===e})})},h=function(e){if(t=r[e],typeof t=="function"){for(var t,s,o=arguments.length,i=new Array(o>1?o-1:0),n=1;n<o;n++)i[n-1]=arguments[n];t=t.apply(void 0,i)}if(t===!0&&(t=void 0),!t){if(t===void 0||t===!1)return t;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}if(s=t,typeof t=="string"&&(s=c.querySelector(t),!s))throw new Error("`".concat(e,"` as selector refers to no known node"));return s},j=function(){if(e=h("initialFocus"),e===!1)return!1;if(e===void 0)if(g(c.activeElement)>=0)e=c.activeElement;else{var e,t=a.tabbableGroups[0],n=t&&t.firstTabbableNode;e=n||h("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},u=function(){if(a.containerGroups=a.containers.map(function(e){var t=C(e,r.tabbableOptions),n=y(e,r.tabbableOptions);return{container:e,tabbableNodes:t,focusableNodes:n,firstTabbableNode:t.length>0?t[0]:null,lastTabbableNode:t.length>0?t[t.length-1]:null,nextTabbableNode:function(e){var s=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],t=n.findIndex(function(t){return t===e});if(!(t<0))return s?n.slice(t+1).find(function(e){return o(e,r.tabbableOptions)}):n.slice(0,t).reverse().find(function(e){return o(e,r.tabbableOptions)})}}}),a.tabbableGroups=a.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),a.tabbableGroups.length<=0&&!h("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},b=function e(t){if(t!==!1&&t!==c.activeElement){if(!t||!t.focus){e(j());return}t.focus({preventScroll:!!r.preventScroll}),a.mostRecentlyFocusedNode=t,T(t)&&t.select()}},w=function(e){var t=h("setReturnFocus",e);return t||t!==!1&&e},_=function(e){var s=n(e);if(!(g(s)>=0)){if(t(r.clickOutsideDeactivates,e)){l.deactivate({returnFocus:r.returnFocusOnDeactivate&&!i(s,r.tabbableOptions)});return}t(r.allowOutsideClick,e)||e.preventDefault()}},O=function(e){var t=n(e),s=g(t)>=0;s||t instanceof Document?s&&(a.mostRecentlyFocusedNode=t):(e.stopImmediatePropagation(),b(a.mostRecentlyFocusedNode||j()))},S=function(e){if(t=n(e),u(),s=null,a.tabbableGroups.length>0){var t,s,c,l,p,v,j,y,d=g(t),f=d>=0?a.containerGroups[d]:void 0;d<0?e.shiftKey?s=a.tabbableGroups[a.tabbableGroups.length-1].lastTabbableNode:s=a.tabbableGroups[0].firstTabbableNode:e.shiftKey?(c=m(a.tabbableGroups,function(e){var n=e.firstTabbableNode;return t===n}),(c<0&&(f.container===t||i(t,r.tabbableOptions)&&!o(t,r.tabbableOptions)&&!f.nextTabbableNode(t,!1))&&(c=d),c>=0)&&(p=c===0?a.tabbableGroups.length-1:c-1,v=a.tabbableGroups[p],s=v.lastTabbableNode)):(l=m(a.tabbableGroups,function(e){var n=e.lastTabbableNode;return t===n}),(l<0&&(f.container===t||i(t,r.tabbableOptions)&&!o(t,r.tabbableOptions)&&!f.nextTabbableNode(t))&&(l=d),l>=0)&&(j=l===a.tabbableGroups.length-1?0:l+1,y=a.tabbableGroups[j],s=y.firstTabbableNode))}else s=h("fallbackFocus");s&&(e.preventDefault(),b(s))},x=function(e){if(z(e)&&t(r.escapeDeactivates,e)!==!1){e.preventDefault(),l.deactivate();return}if(D(e)){S(e);return}},E=function(e){var s=n(e);g(s)>=0||t(r.clickOutsideDeactivates,e)||t(r.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},k=function(){if(a.active)return p.activateTrap(l),a.delayInitialFocusTimer=r.delayInitialFocus?f(function(){b(j())}):b(j()),c.addEventListener("focusin",O,!0),c.addEventListener("mousedown",_,{capture:!0,passive:!1}),c.addEventListener("touchstart",_,{capture:!0,passive:!1}),c.addEventListener("click",E,{capture:!0,passive:!1}),c.addEventListener("keydown",x,{capture:!0,passive:!1}),l},A=function(){if(a.active)return c.removeEventListener("focusin",O,!0),c.removeEventListener("mousedown",_,!0),c.removeEventListener("touchstart",_,!0),c.removeEventListener("click",E,!0),c.removeEventListener("keydown",x,!0),l};return l={get active(){return a.active},get paused(){return a.paused},activate:function(e){if(a.active)return this;var n,s=d(e,"onActivate"),o=d(e,"onPostActivate"),t=d(e,"checkCanFocusTrap");return t||u(),a.active=!0,a.paused=!1,a.nodeFocusedBeforeActivation=c.activeElement,s&&s(),n=function(){t&&u(),k(),o&&o()},t?(t(a.containers.concat()).then(n,n),this):(n(),this)},deactivate:function(e){if(!a.active)return this;t=v({onDeactivate:r.onDeactivate,onPostDeactivate:r.onPostDeactivate,checkCanReturnFocus:r.checkCanReturnFocus},e),clearTimeout(a.delayInitialFocusTimer),a.delayInitialFocusTimer=void 0,A(),a.active=!1,a.paused=!1,p.deactivateTrap(l);var t,n,s=d(t,"onDeactivate"),o=d(t,"onPostDeactivate"),i=d(t,"checkCanReturnFocus"),c=d(t,"returnFocus","returnFocusOnDeactivate");return s&&s(),n=function(){f(function(){c&&b(w(a.nodeFocusedBeforeActivation)),o&&o()})},c&&i?(i(w(a.nodeFocusedBeforeActivation)).then(n,n),this):(n(),this)},pause:function(){return a.paused||!a.active?this:(a.paused=!0,A(),this)},unpause:function(){return!a.paused||!a.active?this:(a.paused=!1,u(),k(),this)}
118,updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return a.containers=t.map(function(e){return typeof e=="string"?c.querySelector(e):e}),a.active&&u(),this}},l.updateContainerElements(e),l};function I(e){let t,n;window.addEventListener("focusin",()=>{t=n,n=document.activeElement}),e.magic("focus",e=>{let s=e;return{__noscroll:!1,__wrapAround:!1,within(e){return s=e,this},withoutScrolling(){return this.__noscroll=!0,this},noscroll(){return this.__noscroll=!0,this},withWrapAround(){return this.__wrapAround=!0,this},wrap(){return this.withWrapAround()},focusable(e){return i(e)},previouslyFocused(){return t},lastFocused(){return t},focused(){return n},focusables(){return Array.isArray(s)?s:y(s,{displayCheck:"none"})},all(){return this.focusables()},isFirst(e){let t=this.all();return t[0]&&t[0].isSameNode(e)},isLast(e){let t=this.all();return t.length&&t.slice(-1)[0].isSameNode(e)},getFirst(){return this.all()[0]},getLast(){return this.all().slice(-1)[0]},getNext(){let e=this.all(),t=document.activeElement;if(e.indexOf(t)!==-1)return this.__wrapAround&&e.indexOf(t)===e.length-1?e[0]:e[e.indexOf(t)+1]},getPrevious(){let e=this.all(),t=document.activeElement;if(e.indexOf(t)!==-1)return this.__wrapAround&&e.indexOf(t)===0?e.slice(-1)[0]:e[e.indexOf(t)-1]},first(){this.focus(this.getFirst())},last(){this.focus(this.getLast())},next(){this.focus(this.getNext())},previous(){this.focus(this.getPrevious())},prev(){return this.previous()},focus(e){e&&setTimeout(()=>{e.hasAttribute("tabindex")||e.setAttribute("tabindex","0"),e.focus({preventScroll:this.__noscroll})})}}}),e.directive("trap",e.skipDuringClone((e,{expression:t,modifiers:n},{effect:s,evaluateLater:o,cleanup:i})=>{let h=o(t),a=!1,r={escapeDeactivates:!1,allowOutsideClick:!0,fallbackFocus:()=>e};if(n.includes("noautofocus"))r.initialFocus=!1;else{let t=e.querySelector("[autofocus]");t&&(r.initialFocus=t)}let d=H(e,r),c=()=>{},l=()=>{},u=()=>{c(),c=()=>{},l(),l=()=>{},d.deactivate({returnFocus:!n.includes("noreturn")})};s(()=>h(t=>{a!==t&&(t&&!a&&(n.includes("noscroll")&&(l=$()),n.includes("inert")&&(c=g(e)),setTimeout(()=>{d.activate()},15)),!t&&a&&u(),a=!!t)})),i(u)},(e,{expression:t,modifiers:n},{evaluate:s})=>{n.includes("inert")&&s(t)&&g(e)}))}function g(e){let t=[];return h(e,e=>{let n=e.hasAttribute("aria-hidden");e.setAttribute("aria-hidden","true"),t.push(()=>n||e.removeAttribute("aria-hidden"))}),()=>{for(;t.length;)t.pop()()}}function h(e,t){e.isSameNode(document.body)||!e.parentNode||Array.from(e.parentNode.children).forEach(n=>{n.isSameNode(e)?h(e.parentNode,t):t(n)})}function $(){let e=document.documentElement.style.overflow,t=document.documentElement.style.paddingRight,n=window.innerWidth-document.documentElement.clientWidth;return document.documentElement.style.overflow="hidden",document.documentElement.style.paddingRight=`${n}px`,()=>{document.documentElement.style.overflow=e,document.documentElement.style.paddingRight=t}}document.addEventListener("alpine:init",()=>{window.Alpine.plugin(I)})})(),(()=>{var ot=!1,et=!1,g=[],Xe=-1;function zn(e){Rn(e)}function Rn(e){g.includes(e)||g.push(e),jo()}function ut(e){let t=g.indexOf(e);t!==-1&&t>Xe&&g.splice(t,1)}function jo(){!et&&!ot&&(ot=!0,queueMicrotask(bo))}function bo(){ot=!1,et=!0;for(let e=0;e<g.length;e++)g[e](),Xe=e;g.length=0,Xe=-1,et=!1}J=!0;function co(e){J=!1,e(),J=!0}function ro(e){w=e.reactive,O=e.release,j=t=>e.effect(t,{scheduler:e=>{J?zn(e):e()}}),pt=e.raw}function Et(e){j=e}function Qs(e){let t=()=>{};return[n=>{let s=j(n);return e._x_effects||(e._x_effects=new Set,e._x_runEffects=()=>{e._x_effects.forEach(e=>e())}),e._x_effects.add(s),t=()=>{s!==void 0&&(e._x_effects.delete(s),O(s))},s},()=>{t()}]}function kt(e,t){let s=!0,n,o=j(()=>{let o=e();JSON.stringify(o),s?n=o:queueMicrotask(()=>{t(o,n),n=o}),s=!1});return()=>O(o)}var Mt=[],Ht=[],It=[];function Oo(e){It.push(e)}function be(e,t){typeof t=="function"?(e._x_cleanups||(e._x_cleanups=[]),e._x_cleanups.push(t)):(t=e,Ht.push(t))}function Yt(e){Mt.push(e)}function en(e,t,n){e._x_attributeCleanups||(e._x_attributeCleanups={}),e._x_attributeCleanups[t]||(e._x_attributeCleanups[t]=[]),e._x_attributeCleanups[t].push(n)}function tn(e,t){e._x_attributeCleanups&&Object.entries(e._x_attributeCleanups).forEac
118h(([n,s])=>{(t===void 0||t.includes(n))&&(s.forEach(e=>e()),delete e._x_attributeCleanups[n])})}function _s(e){if(e._x_cleanups)for(;e._x_cleanups.length;)e._x_cleanups.pop()()}I=new MutationObserver(Oe),Q=!1;function $e(){I.observe(document,{subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0}),Q=!0}function sn(){js(),I.disconnect(),Q=!1}E=[];function js(){let e=I.takeRecords();E.push(()=>e.length>0&&Oe(e));let t=E.length;queueMicrotask(()=>{if(E.length===t)for(;E.length>0;)E.shift()()})}function n(e){if(!Q)return e();sn();let t=e();return $e(),t}W=!1,L=[];function bs(){W=!0}function us(){W=!1,Oe(L),L=[]}function Oe(e){if(W){L=L.concat(e);return}let t=new Set,o=new Set,n=new Map,s=new Map;for(let i=0;i<e.length;i++)if(!e[i].target._x_ignoreMutationObserver&&(e[i].type==="childList"&&(e[i].addedNodes.forEach(e=>e.nodeType===1&&t.add(e)),e[i].removedNodes.forEach(e=>e.nodeType===1&&o.add(e))),e[i].type==="attributes")){let t=e[i].target,o=e[i].attributeName,c=e[i].oldValue,a=()=>{n.has(t)||n.set(t,[]),n.get(t).push({name:o,value:t.getAttribute(o)})},r=()=>{s.has(t)||s.set(t,[]),s.get(t).push(o)};t.hasAttribute(o)&&c===null?a():t.hasAttribute(o)?(r(),a()):r()}s.forEach((e,t)=>{tn(t,e)}),n.forEach((e,t)=>{Mt.forEach(n=>n(t,e))});for(let e of o)t.has(e)||Ht.forEach(t=>t(e));t.forEach(e=>{e._x_ignoreSelf=!0,e._x_ignore=!0});for(let e of t)o.has(e)||e.isConnected&&(delete e._x_ignoreSelf,delete e._x_ignore,It.forEach(t=>t(e)),e._x_ignore=!0,e._x_ignoreSelf=!0);t.forEach(e=>{delete e._x_ignoreSelf,delete e._x_ignore}),t=null,o=null,n=null,s=null}function cn(e){return R(C(e))}function H(e,t,n){return e._x_dataStack=[t,...C(n||e)],()=>{e._x_dataStack=e._x_dataStack.filter(e=>e!==t)}}function C(e){return e._x_dataStack?e._x_dataStack:typeof ShadowRoot=="function"&&e instanceof ShadowRoot?C(e.host):e.parentNode?C(e.parentNode):[]}function R(e){return new Proxy({objects:e},un)}un={ownKeys({objects:e}){return Array.from(new Set(e.flatMap(e=>Object.keys(e))))},has({objects:e},t){return t!=Symbol.unscopables&&e.some(e=>Object.prototype.hasOwnProperty.call(e,t)||Reflect.has(e,t))},get({objects:e},t,n){return t=="toJSON"?Qn:Reflect.get(e.find(e=>Reflect.has(e,t))||{},t,n)},set({objects:e},t,n,s){let o=e.find(e=>Object.prototype.hasOwnProperty.call(e,t))||e[e.length-1],i=Object.getOwnPropertyDescriptor(o,t);return i?.set&&i?.get?Reflect.set(o,t,n,s):Reflect.set(o,t,n)}};function Qn(){return Reflect.ownKeys(this).reduce((e,t)=>(e[t]=Reflect.get(this,t),e),{})}function gn(e){let n=e=>typeof e=="object"&&!Array.isArray(e)&&e!==null,t=(s,o="")=>{Object.entries(Object.getOwnPropertyDescriptors(s)).forEach(([i,{value:a,enumerable:r}])=>{if(r===!1||a===void 0||typeof a=="object"&&a!==null&&a.__v_skip)return;let c=o===""?i:`${o}.${i}`;typeof a=="object"&&a!==null&&a._x_interceptor?s[i]=a.initialize(e,c,i):n(a)&&a!==s&&!(a instanceof Element)&&t(a,c)})};return t(e)}function jn(e,t=()=>{}){let n={initialValue:void 0,_x_interceptor:!0,initialize(t,n,s){return e(this.initialValue,()=>Vn(t,n),e=>yn(t,n,e),n,s)}};return t(n),e=>{if(typeof e=="object"&&e!==null&&e._x_interceptor){let t=n.initialize.bind(n);n.initialize=(s,o,i)=>{let a=e.initialize(s,o,i);return n.initialValue=a,t(s,o,i)}}else n.initialValue=e;return n}}function Vn(e,t){return t.split(".").reduce((e,t)=>e[t],e)}function yn(e,t,n){if(typeof t=="string"&&(t=t.split(".")),t.length===1)e[t[0]]=n;else{if(t.length===0)throw error;return e[t[0]]||(e[t[0]]={}),yn(e[t[0]],t.slice(1),n)}}Pe={};function a(e,t){Pe[e]=t}function Re(e,t){return Object.entries(Pe).forEach(([n,s])=>{let o=null;function i(){if(o)return o;{let[e,n]=nn(t);return o={interceptor:jn,...e},be(t,n),o}}Object.defineProperty(e,`$${n}`,{get(){return s(t,i())},enumerable:!1})}),e}function In(e,t,n,...s){try{return n(...s)}catch(n){A(n,e,t)}}function A(e,t,n=void 0){e=Object.assign(e??{message:"No error message given."},{el:t,expression:n}),console.warn(`Alpine Expression Error: ${e.message}
119
120${n?'Expression: "'+n+`"
121
122`:""}`,t),setTimeout(()=>{throw e},0)}T=!0;function _n(e){let t=T;T=!1;let n=e();return T=t,n}function y(e,t,n={}){let o;return s(e,t)(e=>o=e,n),o}function s(...e){return De(...e)}De=xn;function Fn(e){De=e}function xn(e,t){let n={};Re(n,e);let s=[n,...C(e)],o=typeof t=="function"?Ss(s,t):Ln(s,t,e);return In.bind(null,e,t,o)}function Ss(e,t){return(n=()=>{},{scope:s={},params:o=[]}={})=>{let i=t.apply(R([s,...e]),o);he(n,i)}}le={};function Sn(e,t){if(le[e])return le[e];let s=Object.getPrototypeOf(async function(){}).constructor,o=/^[\n\s]*if.*\(.*\)/.test(e.trim())||/^(let|const)\s/.test(e.trim())?`(async()=>{ ${e} })()`:e,n=(()=>{try{let t=new s(["__self","scope"],`with (scope) { __self.result = ${o} }; __self.finished = true; return __self.result;`);return Object.defineProperty(t,"name",{value:`[Alpine] ${e}`}),t}catch(n){return A(n,t,e),Promise.resolve()}})();return le[e]=n,n}function Ln(e,t,n){let s=Sn(t,n);return(o=()=>{},{scope:i={},params:a=[]}={})=>{s.result=void 0,s.finished=!1;let r=R([i,...e]);if(typeof s=="function"){let e=s(s,r).catch(e=>A(e,n,t));s.finished?(he(o,s.result,r,a,n),s.result=void 0):e.then(e=>{he(o,e,r,a,n)}).catch(e=>A(e,n,t)).finally(()=>s.result=void 0)}}}function he(e,t,n,s,o){if(T&&typeof t=="function"){let i=t.apply(n,s);i instanceof Promise?i.then(t=>he(e,t,n,s)).catch(e=>A(e,o,t)):e(i)}else typeof t=="object"&&t instanceof Promise?t.then(t=>e(t)):e(t)}me="x-";function x(e=""){return me+e}function Pn(e){me=e}P={};function t(e,t){return P[e]=t,{before(t){if(!P[t]){console.warn(String.raw`Cannot find directive \`${t}\`. \`${e}\` will use the default order of execution`);return}let n=h.indexOf(t);h.splice(n>=0?n:h.indexOf("DEFAULT"),0,e)}}}function Hn(e){return Object.keys(P).includes(e)}function je(e,t,n){if(t=Array.from(t),e._x_virtualDirectives){let n=Object.entries(e._x_virtualDirectives).map(([e,t])=>({name:e,value:t})),s=fn(n);n=n.map(e=>s.find(t=>t.name===e.name)?{name:`x-bind:${e.name}`,value:`"${e.value}"`}:e),t=t.concat(n)}let s={};return t.map(Jt((e,t)=>
vendor: 9,266 bytes, line 122
122s[e]=t)).filter(Wt).map(As(s,n)).sort(Xs).map(t=>ws(e,t))}function fn(e){return Array.from(e).map(Jt()).filter(e=>!Wt(e))}var _e=!1,z=new Map,dn=Symbol();function cs(e){_e=!0;let t=Symbol();dn=t,z.set(t,[]);let n=()=>{for(;z.get(t).length;)z.get(t).shift()();z.delete(t)},s=()=>{_e=!1,n()};e(n),s()}function nn(e){let t=[],n=e=>t.push(e),[o,i]=Qs(e);return t.push(i),[{Alpine:k,effect:o,cleanup:n,evaluateLater:s.bind(s,e),evaluate:y.bind(y,e)},()=>t.forEach(e=>e())]}function ws(e,t){let a=()=>{},n=P[t.type]||a,[s,o]=nn(e);en(e,t.original,o);let i=()=>{e._x_ignore||e._x_ignoreSelf||(n.inline&&n.inline(e,t,s),n=n.bind(n,e,t,s),_e?z.get(dn).push(n):n())};return i.runCleanups=o,i}ke=(e,t)=>({name:n,value:s})=>(n.startsWith(e)&&(n=n.replace(e,t)),{name:n,value:s}),Ae=e=>e;function Jt(e=()=>{}){return({name:t,value:n})=>{let{name:s,value:o}=Me.reduce((e,t)=>t(e),{name:t,value:n});return s!==t&&e(s,t),{name:s,value:o}}}Me=[];function Fe(e){Me.push(e)}function Wt({name:e}){return ze().test(e)}ze=()=>new RegExp(`^${me}([^:^.]+)\\b`);function As(e,t){return({name:n,value:s})=>{let o=n.match(ze()),i=n.match(/:([a-zA-Z0-9-_:]+)/),a=n.match(/\.[^.\]]+(?=[^\]]*$)/g)||[],r=t||e[n]||n;return{type:o?o[1]:null,value:i?i[1]:null,modifiers:a.map(e=>e.replace(".","")),expression:s,original:r}}}ne="DEFAULT",h=["ignore","ref","data","id","anchor","bind","init","for","model","modelable","transition","show","if",ne,"teleport"];function Xs(e,t){let n=h.indexOf(e.type)===-1?ne:e.type,s=h.indexOf(t.type)===-1?ne:t.type;return h.indexOf(n)-h.indexOf(s)}function N(e,t,n={}){e.dispatchEvent(new CustomEvent(t,{detail:n,bubbles:!0,composed:!0,cancelable:!0}))}function u(e,t){if(typeof ShadowRoot=="function"&&e instanceof ShadowRoot){Array.from(e.children).forEach(e=>u(e,t));return}let s=!1;if(t(e,()=>s=!0),s)return;let n=e.firstElementChild;for(;n;)u(n,t,!1),n=n.nextElementSibling}function o(e,...t){console.warn(`Alpine Warning: ${e}`,...t)}Be=!1;function Js(){Be&&o("Alpine has already been initialized on this page. Calling Alpine.start() more than once can cause problems."),Be=!0,document.body||o("Unable to initialize. Trying to load Alpine before `<body>` is available. Did you forget to add `defer` in Alpine's `<script>` tag?"),N(document,"alpine:init"),N(document,"alpine:initializing"),$e(),Oo(e=>c(e,u)),be(e=>ct(e)),Yt((e,t)=>{je(e,t).forEach(e=>e())});let e=e=>!q(e.parentElement,!0);Array.from(document.querySelectorAll(Ot().join(","))).filter(e).forEach(e=>{c(e)}),N(document,"alpine:initialized"),setTimeout(()=>{Ps()})}G=[],We=[];function xt(){return G.map(e=>e())}function Ot(){return G.concat(We).map(e=>e())}function wt(e){G.push(e)}function yt(e){We.push(e)}function q(e,t=!1){return D(e,e=>{if((t?Ot():xt()).some(t=>e.matches(t)))return!0})}function D(e,t){if(e){if(t(e))return e;if(e._x_teleportBack&&(e=e._x_teleportBack),!!e.parentElement)return D(e.parentElement,t)}}function ho(e){return xt().some(t=>e.matches(t))}Ze=[];function An(e){Ze.push(e)}function c(e,t=u,n=()=>{}){cs(()=>{t(e,(e,t)=>{n(e,t),Ze.forEach(n=>n(e,t)),je(e,e.attributes).forEach(e=>e()),e._x_ignore&&t()})})}function ct(e,t=u){t(e,e=>{tn(e),_s(e)})}function Ps(){[["ui","dialog",["[x-dialog], [x-popover]"]],["anchor","anchor",["[x-anchor]"]],["sort","sort",["[x-sort]"]]].forEach(([e,t,n])=>{Hn(t)||n.some(t=>{if(document.querySelector(t))return o(`found "${t}", but missing ${e} plugin`),!0})})}$=[],V=!1;function ge(e=()=>{}){return queueMicrotask(()=>{V||setTimeout(()=>{nt()})}),new Promise(t=>{$.push(()=>{e(),t()})})}function nt(){for(V=!1;$.length;)$.shift()()}function $n(){V=!0}function tt(e,t){return Array.isArray(t)?lt(e,t.join(" ")):typeof t=="object"&&t!==null?Ms(e,t):typeof t=="function"?tt(e,t()):lt(e,t)}function lt(e,t){let o=e=>e.split(" ").filter(Boolean),n=t=>t.split(" ").filter(t=>!e.classList.contains(t)).filter(Boolean),s=t=>(e.classList.add(...t),()=>{e.classList.remove(...t)});return t=t===!0?t="":t||"",s(n(t))}function Ms(e,t){let n=e=>e.split(" ").filter(Boolean),i=Object.entries(t).flatMap(([e,t])=>!!t&&n(e)).filter(Boolean),a=Object.entries(t).flatMap(([e,t])=>!t&&n(e)).filter(Boolean),s=[],o=[];return a.forEach(t=>{e.classList.contains(t)&&(e.classList.remove(t),o.push(t))}),i.forEach(t=>{e.classList.contains(t)||(e.classList.add(t),s.push(t))}),()=>{o.forEach(t=>e.classList.add(t)),s.forEach(t=>e.classList.remove(t))}}function K(e,t){return typeof t=="object"&&t!==null?wo(e,t):vo(e,t)}function wo(e,t){let n={};return Object.entries(t).forEach(([t,s])=>{n[t]=e.style[t],t.startsWith("--")||(t=po(t)),e.style.setProperty(t,s)}),setTimeout(()=>{e.style.length===0&&e.removeAttribute("style")}),()=>{K(e,n)}}function vo(e,t){let n=e.getAttribute("style",t);return e.setAttribute("style",t),()=>{e.setAttribute("style",n||"")}}function po(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Qe(e,t=()=>{}){let n=!1;return function(){n?t.apply(this,arguments):(n=!0,e.apply(this,arguments))}}t("transition",(e,{value:t,modifiers:n,expression:s},{evaluate:o})=>{typeof s=="function"&&(s=o(s)),s!==!1&&(!s||typeof s=="boolean"?io(e,n,t):ao(e,s,t))});function ao(e,t,n){bt(e,tt,""),{enter:t=>{e._x_transition.enter.during=t},"enter-start":t=>{e._x_transition.enter.start=t},"enter-end":t=>{e._x_transition.enter.end=t},leave:t=>{e._x_transition.leave.during=t},"leave-start":t=>{e._x_transition.leave.start=t},"leave-end":t=>{e._x_transition.leave.end=t}}[n](t)}function io(e,t,n){bt(e,K);let s=!t.includes("in")&&!t.includes("out")&&!n,f=s||t.includes("in")||["enter"].includes(n),u=s||t.includes("out")||["leave"].includes(n);t.includes("in")&&!s&&(t=t.filter((e,n)=>n<t.indexOf("out"))),t.includes("out")&&!s&&(t=t.filter((e,n)=>n>t.indexOf("out")));let i=!t.includes("opacity")&&!t.includes("scale"),h=i||t.includes("opacity"),m=i||t.includes("scale"),o=h?0:1,a=m?M(t,"scale",95)/100:1,r=M(t,"delay",0)/1e3,c=M(t,"origin","center"),l="opacity, transform",p=M(t,"duration",150)/1e3,g=M(t,"duration",75)/1e3,d="cubic-bezier(0.4, 0.0, 0.2, 1)";f&&(e._x_transition.enter.during={transformOrigin:c,transitionDelay:`${r}s`,transitionProperty:l,transitionDuration:`${p}s`,transitionTimingFunction:d},e._x_transition.enter.start={opacity:o,transform:`scale(${a})`},e._x_transition.enter.end={opacity:1,transform:"scale(1)"}),u&&(e._x_transition.leave.during={transformOrigin:c,transitionDelay:`${r}s`,transitionProperty:l,transitionDuration:`${g}s`,transitionTimingFunction:d},e._x_transition.leave.start={opacity:1,transform:"scale(1)"},e._x_transition.leave.end={opacity:o,transform:`scale(${a})`})}function bt(e,t,n={}){e._x_transition||(e._x_transition={enter:{during:n,start:n,end:n},leave:{during:n,start:n,end:n},in(n=()=>{},s=()=>{}){Ye(e,t,{during:this.enter.during,start:this.enter.start,end:this.enter.end},n,s)},out(n=()=>{},s=()=>{}){Ye(e,t,{during:this.leave.during,start:this.leave.start,end:this.leave.end},n,s)}})}window.Element.prototype._x_toggleAndCascadeWithTransitions=function(e,t,n,s){let o=document.visibilityState==="visible"?requestAnimationFrame:setTimeout,i=()=>o(n);if(t){e._x_transition&&(e._x_transition.enter||e._x_transition.leave)?e._x_transition.enter&&(Object.entries(e._x_transition.enter.during).length||Object.entries(e._x_transition.enter.start).length||Object.entries(e._x_transition.enter.end).length)?e._x_transition.in(n):i():e._x_transition?e._x_transition.in(n):i();return}e._x_hidePromise=e._x_transition?new Promise((t,n)=>{e._x_transition.out(()=>{},()=>t(s)),e._x_transitioning&&e._x_transitioning.beforeCancel(()=>n({isFromCancelledTransition:!0}))}):Promise.resolve(s),queueMicrotask(()=>{let t=jt(e);t?(t._x_hideChildren||(t._x_hideChildren=[]),t._x_hideChildren.push(e)):o(()=>{let t=e=>{let n=Promise.all([e._x_hidePromise,...(e._x_hideChildren||[]).map(t)]).then(([e])=>e?.());return delete e._x_hidePromise,delete e._x_hideChildren,n};t(e).catch(e=>{if(!e.isFromCancelledTransition)throw e})})})};function jt(e){let t=e.parentNode;if(t)return t._x_hidePromise?t:jt(t)}function Ye(e,t,{during:n,start:s,end:o}={},i=()=>{},a=()=>{}){if(e._x_transitioning&&e._x_transitioning.cancel(),Object.keys(n).length===0&&Object.keys(s).length===0&&Object.keys(o).length===0){i(),a();return}let r,c,l;oo(e,{start(){r=t(e,s)},during(){c=t(e,n)},before:i,end(){r(),l=t(e,o)},after:a,cleanup(){c(),l()}})}function oo(e,t){let s,o,i,a=Qe(()=>{n(()=>{s=!0,o||t.before(),i||(t.end(),nt()),t.after(),e.isConnected&&t.cleanup(),delete e._x_transitioning})});e._x_transitioning={beforeCancels:[],beforeCancel(e){this.beforeCancels.push(e)},cancel:Qe(function(){for(;this.beforeCancels.length;)this.beforeCancels.shift()();a()}),finish:a},n(()=>{t.start(),t.during()}),$n(),requestAnimationFrame(()=>{if(s)return;let a=Number(getComputedStyle(e).transitionDuration.replace(/,.*/,"").replace("s",""))*1e3,r=Number(getComputedStyle(e).transitionDelay.replace(/,.*/,"").replace("s",""))*1e3;a===0&&(a=Number(getComputedStyle(e).animationDuration.replace("s",""))*1e3),n(()=>{t.before()}),o=!0,requestAnimationFrame(()=>{s||(n(()=>{t.end()}),nt(),setTimeout(e._x_transitioning.finish,a+r),i=!0)})})}function M(e,t,n){if(e.indexOf(t)===-1)return n;let s=e[e.indexOf(t)+1];if(!s||t==="scale"&&isNaN(s))return n;if(t==="duration"||t==="delay"){let e=s.match(/([0-9]+)ms/);if(e)return e[1]}
122return t==="origin"&&["top","right","left","center","bottom"].includes(e[e.indexOf(t)+2])?[s,e[e.indexOf(t)+2]].join(" "):s}l=!1;function f(e,t=()=>{}){return(...n)=>l?t(...n):e(...n)}function eo(e){return(...t)=>l&&e(...t)}Ve=[];function Z(e){Ve.push(e)}function Gs(e,t){Ve.forEach(n=>n(e,t)),l=!0,Tt(()=>{c(t,(e,t)=>{t(e,()=>{})})}),l=!1}ie=!1;function qs(e,t){t._x_dataStack||(t._x_dataStack=e._x_dataStack),l=!0,ie=!0,Tt(()=>{$s(t)}),l=!1,ie=!1}function $s(e){let t=!1;c(e,(e,n)=>{u(e,(e,s)=>{if(t&&ho(e))return s();t=!0,n(e,s)})})}function Tt(e){let t=j;Et((e)=>{let s=t(e);return O(s),()=>{}}),e(),Et(t)}function zt(e,t,n,s=[]){switch(e._x_bindings||(e._x_bindings=w({})),e._x_bindings[t]=n,t=s.includes("camel")?ks(t):t,t){case"value":Bs(e,n);break;case"style":Hs(e,n);break;case"class":Is(e,n);break;case"selected":case"checked":Rs(e,t,n);break;default:Pt(e,t,n);break}}function Bs(e,t){if(e.type==="radio")e.attributes.value===void 0&&(e.value=t),window.fromModel&&(typeof t=="boolean"?e.checked=re(e.value)===t:e.checked=$t(e.value,t));else if(e.type==="checkbox")Number.isInteger(t)?e.value=t:!Array.isArray(t)&&typeof t!="boolean"&&![null,void 0].includes(t)?e.value=String(t):Array.isArray(t)?e.checked=t.some(t=>$t(t,e.value)):e.checked=!!t;else if(e.tagName==="SELECT")Ys(e,t);else{if(e.value===t)return;e.value=t===void 0?"":t}}function Is(e,t){e._x_undoAddedClasses&&e._x_undoAddedClasses(),e._x_undoAddedClasses=tt(e,t)}function Hs(e,t){e._x_undoAddedStyles&&e._x_undoAddedStyles(),e._x_undoAddedStyles=K(e,t)}function Rs(e,t,n){Pt(e,t,n),kn(e,t,n)}function Pt(e,t,n){[null,void 0,!1].includes(n)&&Es(t)?e.removeAttribute(t):(Ut(t)&&(n=t),Fs(e,t,n))}function Fs(e,t,n){e.getAttribute(t)!=n&&e.setAttribute(t,n)}function kn(e,t,n){e[t]!==n&&(e[t]=n)}function Ys(e,t){let n=[].concat(t).map(e=>e+"");Array.from(e.options).forEach(e=>{e.selected=n.includes(e.value)})}function ks(e){return e.toLowerCase().replace(/-(\w)/g,(e,t)=>t.toUpperCase())}function $t(e,t){return e==t}function re(e){return!![1,"1","true","on","yes",!0].includes(e)||![0,"0","false","off","no",!1].includes(e)&&(e?Boolean(e):null)}function Ut(e){return["disabled","checked","required","readonly","open","selected","autofocus","itemscope","multiple","novalidate","allowfullscreen","allowpaymentrequest","formnovalidate","autoplay","controls","loop","muted","playsinline","default","ismap","reversed","async","defer","nomodule"].includes(e)}function Es(e){return!["aria-pressed","aria-checked","aria-expanded","aria-selected"].includes(e)}function Cs(e,t,n){return e._x_bindings&&e._x_bindings[t]!==void 0?e._x_bindings[t]:Gt(e,t,n)}function xs(e,t,n,s=!0){if(e._x_bindings&&e._x_bindings[t]!==void 0)return e._x_bindings[t];if(e._x_inlineBindings&&e._x_inlineBindings[t]!==void 0){let n=e._x_inlineBindings[t];return n.extract=s,_n(()=>y(e,n.expression))}return Gt(e,t,n)}function Gt(e,t,n){let s=e.getAttribute(t);return s===null?typeof n=="function"?n():n:s===""||(Ut(t)?!![t,"true"].includes(s):s)}function Xt(e,t){var n;return function(){var s=this,o=arguments,i=function(){n=null,e.apply(s,o)};clearTimeout(n),n=setTimeout(i,t)}}function Qt(e,t){let n;return function(){let s=this,o=arguments;n||(e.apply(s,o),n=!0,setTimeout(()=>n=!1,t))}}function Zt({get:e,set:t},{get:n,set:s}){let o=!0,i,a,r=j(()=>{let r=e(),c=n();if(o)s(Se(r)),o=!1;else{let e=JSON.stringify(r),n=JSON.stringify(c);e!==i?s(Se(r)):e!==n&&t(Se(c))}i=JSON.stringify(e()),a=JSON.stringify(n())});return()=>{O(r)}}function Se(e){return typeof e=="object"?JSON.parse(JSON.stringify(e)):e}function Os(e){(Array.isArray(e)?e:[e]).forEach(e=>e(k))}m={},Ce=!1;function ys(e,t){if(Ce||(m=w(m),Ce=!0),t===void 0)return m[e];m[e]=t,typeof t=="object"&&t!==null&&t.hasOwnProperty("init")&&typeof t.init=="function"&&m[e].init(),gn(m[e])}function ds(){return m}xe={};function os(e,t){let n=typeof t!="function"?()=>t:t;return e instanceof Element?ln(e,n()):(xe[e]=n,()=>{})}function ns(e){return Object.entries(xe).forEach(([t,n])=>{Object.defineProperty(e,t,{get(){return(...e)=>n(...e)}})}),e}
122function ln(e,t,n){let s=[];for(;s.length;)s.pop()();let o=Object.entries(t).map(([e,t])=>({name:e,value:t})),i=fn(o);return o=o.map(e=>i.find(t=>t.name===e.name)?{name:`x-bind:${e.name}`,value:`"${e.value}"`}:e),je(e,o,n).map(e=>{s.push(e.runCleanups),e()}),()=>{for(;s.length;)s.pop()()}}pe={};function ts(e,t){pe[e]=t}function es(e,t){return Object.entries(pe).forEach(([n,s])=>{Object.defineProperty(e,n,{get(){return(...e)=>s.bind(t)(...e)},enumerable:!1})}),e}mn={get reactive(){return w},get release(){return O},get effect(){return j},get raw(){return pt},version:"3.14.0",flushAndStopDeferringMutations:us,dontAutoEvaluateFunctions:_n,disableEffectScheduling:co,startObservingMutations:$e,stopObservingMutations:sn,setReactivityEngine:ro,onAttributeRemoved:en,onAttributesAdded:Yt,closestDataStack:C,skipDuringClone:f,onlyDuringClone:eo,addRootSelector:wt,addInitSelector:yt,interceptClone:Z,addScopeToNode:H,deferMutations:bs,mapAttributes:Fe,evaluateLater:s,interceptInit:An,setEvaluator:Fn,mergeProxies:R,extractProp:xs,findClosest:D,onElRemoved:be,closestRoot:q,destroyTree:ct,interceptor:jn,transition:Ye,setStyles:K,mutateDom:n,directive:t,entangle:Zt,throttle:Qt,debounce:Xt,evaluate:y,initTree:c,nextTick:ge,prefixed:x,prefix:Pn,plugin:Os,magic:a,store:ys,start:Js,clone:qs,cloneNode:Gs,bound:Cs,$data:cn,watch:kt,walk:u,data:ts,bind:os},k=mn;function pn(e,t){let n=Object.create(null),s=e.split(",");for(let e=0;e<s.length;e++)n[s[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}var r,l,h,m,v,j,w,O,E,k,T,L,P,I,V,$,W,U,G,Q,J,Xn="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",So=pn(Xn+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected"),qn=Object.freeze({}),Mo=Object.freeze([]),Bn=Object.prototype.hasOwnProperty,ue=(e,t)=>Bn.call(e,t),_=Array.isArray,F=e=>En(e)==="[object Map]",Mn=e=>typeof e=="string",ye=e=>typeof e=="symbol",ce=e=>e!==null&&typeof e=="object",Nn=Object.prototype.toString,En=e=>Nn.call(e),Cn=e=>En(e).slice(8,-1),Te=e=>Mn(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,pt,un,Pe,De,le,me,ke,Ae,Me,ze,ne,Be,We,Ze,Ve,ie,Ce,xe,pe,mn,ae=e=>{let t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Tn=/-(\w)/g,To=ae(e=>e.replace(Tn,(e,t)=>t?t.toUpperCase():"")),Dn=/\B([A-Z])/g,Ao=ae(e=>e.replace(Dn,"-$1").toLowerCase()),On=ae(e=>e.charAt(0).toUpperCase()+e.slice(1)),Fo=ae(e=>e?`on${On(e)}`:""),wn=(e,t)=>e!==t&&(e===e||t===t),bn,it,at,Lt,de,vt,we,Ue,qe,Ne=new WeakMap,S=[],b=Symbol("iterate"),Ge=Symbol("Map key iterate");function Wn(e){return e&&e._isEffect===!0}function Un(e,t=qn){Wn(e)&&(e=e.raw);let n=Yn(e,t);return t.lazy||n(),n}function Kn(e){e.active&&(vn(e),e.options.onStop&&e.options.onStop(),e.active=!1)}bn=0;function Yn(e,t){let n=function(){if(!n.active)return e();if(!S.includes(n)){vn(n);try{return Jn(),S.push(n),r=n,e()}finally{S.pop(),hn(),r=S[S.length-1]}}};return n.id=bn++,n.allowRecurse=!!t.allowRecurse,n._isEffect=!0,n.active=!0,n.raw=e,n.deps=[],n.options=t,n}function vn(e){let{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}v=!0,U=[];function Zn(){U.push(v),v=!1}function Jn(){U.push(v),v=!0}function hn(){let e=U.pop();v=e===void 0||e}function i(e,t,n){if(!v||r===void 0)return;let o=Ne.get(e);o||Ne.set(e,o=new Map);let s=o.get(n);s||o.set(n,s=new Set),s.has(r)||(s.add(r),r.deps.push(s),r.options.onTrack&&r.options.onTrack({effect:r,target:e,type:t,key:n}))}function p(e,t,n,s,o,i){let a=Ne.get(e);if(!a)return;let l=new Set,c=e=>{e&&e.forEach(e=>{(e!==r||e.allowRecurse)&&l.add(e)})};
122if(t==="clear")a.forEach(c);else if(n==="length"&&_(e))a.forEach((e,t)=>{(t==="length"||t>=s)&&c(e)});else switch(n!==void 0&&c(a.get(n)),t){case"add":_(e)?Te(n)&&c(a.get("length")):(c(a.get(b)),F(e)&&c(a.get(Ge)));break;case"delete":_(e)||(c(a.get(b)),F(e)&&c(a.get(Ge)));break;case"set":F(e)&&c(a.get(b));break}let d=a=>{a.options.onTrigger&&a.options.onTrigger({effect:a,target:e,key:n,type:t,newValue:s,oldValue:o,oldTarget:i}),a.options.scheduler?a.options.scheduler(a):a()};l.forEach(d)}var ss=pn("__proto__,__v_isRef,__isVue"),rn=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(ye)),is=on(),rs=on(!0),an=ls();function ls(){let t={};return["includes","indexOf","lastIndexOf"].forEach(n=>{t[n]=function(...o){let t=e(this);for(let e=0,n=this.length;e<n;e++)i(t,"get",e+"");let s=t[n](...o);return s===-1||s===!1?t[n](...o.map(e)):s}}),["push","pop","shift","unshift","splice"].forEach(n=>{t[n]=function(...t){Zn();let s=e(this)[n].apply(this,t);return hn(),s}}),t}function on(e=!1,t=!1){return function(n,s,o){if(s==="__v_isReactive")return!e;if(s==="__v_isReadonly")return e;if(s==="__v_raw"&&o===(e?t?Ws:Ft:t?Vs:Dt).get(n))return n;let r=_(n);if(!e&&r&&ue(an,s))return Reflect.get(an,s,o);let a=Reflect.get(n,s,o);return(ye(s)?rn.has(s):ss(s))||(e||i(n,"get",s),t)?a:ve(a)?!r||!Te(s)?a.value:a:ce(a)?e?St(a):Le(a):a}}it=hs();function hs(t=!1){return function(n,s,o,i){let a=n[s];if(!t&&(o=e(o),a=e(a),!_(n)&&ve(a)&&!ve(o)))return a.value=o,!0;let r=_(n)&&Te(s)?Number(s)<n.length:ue(n,s),c=Reflect.set(n,s,o,i);return n===e(i)&&(r?wn(o,a)&&p(n,"set",s,o,a):p(n,"add",s,o)),c}}function ms(e,t){let s=ue(e,t),o=e[t],n=Reflect.deleteProperty(e,t);return n&&s&&p(e,"delete",t,void 0,o),n}function fs(e,t){let n=Reflect.has(e,t);return(!ye(t)||!rn.has(t))&&i(e,"has",t),n}function ps(e){return i(e,"iterate",_(e)?"length":b),Reflect.ownKeys(e)}var gs={get:is,set:it,deleteProperty:ms,has:fs,ownKeys:ps},vs={get:rs,set(e,t){return console.warn(`Set operation on key "${String(t)}" failed: target is readonly.`,e),!0},deleteProperty(e,t){return console.warn(`Delete operation on key "${String(t)}" failed: target is readonly.`,e),!0}},st=e=>ce(e)?Le(e):e,Je=e=>ce(e)?St(e):e,Ke=e=>e,ee=e=>Reflect.getPrototypeOf(e);function te(t,n,s=!1,o=!1){t=t.__v_raw;let a=e(t),r=e(n);n!==r&&!s&&i(a,"get",n),!s&&i(a,"get",r);let{has:c}=ee(a),l=o?Ke:s?Je:st;if(c.call(a,n))return l(t.get(n));if(c.call(a,r))return l(t.get(r));t!==a&&t.get(n)}function se(t,n=!1){let s=this.__v_raw,a=e(s),o=e(t);return t!==o&&!n&&i(a,"has",t),!n&&i(a,"has",o),t===o?s.has(t):s.has(t)||s.has(o)}function oe(t,n=!1){return t=t.__v_raw,!n&&i(e(t),"iterate",b),Reflect.get(t,"size",t)}function qt(t){t=e(t);let n=e(this);return ee(n).has.call(n,t)||(n.add(t),p(n,"add",t,t)),this}function Kt(t,n){n=e(n);let s=e(this),{has:o,get:r}=ee(s),i=o.call(s,t);i?Nt(s,o,t):(t=e(t),i=o.call(s,t));let a=r.call(s,t);return s.set(t,n),i?wn(n,a)&&p(s,"set",t,n,a):p(s,"add",t,n),this}function Vt(t){let n=e(this),{has:s,get:i}=ee(n),o=s.call(n,t);o?Nt(n,s,t):(t=e(t),o=s.call(n,t));let a=i?i.call(n,t):void 0,r=n.delete(t);return o&&p(n,"delete",t,void 0,a),r}function Bt(){let t=e(this),n=t.size!==0,s=F(t)?new Map(t):new Set(t),o=t.clear();return n&&p(t,"clear",void 0,void 0,s),o}function fe(t,n){return function(s,o){let a=this,r=a.__v_raw,l=e(r),c=n?Ke:t?Je:st;return!t&&i(l,"iterate",b),r.forEach((e,t)=>s.call(o,c(e),c(t),a))}}function B(t,n,s){return function(...l){let a=this.__v_raw,r=e(a),c=F(r),d=t==="entries"||t===Symbol.iterator&&c,u=t==="keys"&&c,h=a[t](...l),o=s?Ke:n?Je:st;return!n&&i(r,"iterate",u?Ge:b),{next(){let{value:e,done:t}=h.next();return t?{value:e,done:t}:{value:d?[o(e[0]),o(e[1])]:o(e),done:t}},[Symbol.iterator](){return this}}}}function d(t){return function(...n){{let s=n[0]?`on key "${n[0]}" `:"";console.warn(`${On(t)} operation ${s}failed: target is readonly.`,e(this))}return t!=="delete"&&this}}function Ts(){let e={get(e){return te(this,e)},get size(){return oe(this)},has:se,add:qt,set:Kt,delete:Vt,clear:Bt,forEach:fe(!1,!1)},t={get(e){return te(this,e,!1,!0)},get size(){return oe(this)},has:se,add:qt,set:Kt,delete:Vt,clear:Bt,forEach:fe(!1,!0)},n={get(e){return te(this,e,!0)},get size(){return oe(this,!0)},has(e){return se.call(this,e,!0)},add:d("add"),set:d("set"),delete:d("delete"),clear:d("clear"),forEach:fe(!0,!1)},s={get(e){return te(this,e,!0,!0)},get size(){return oe(this,!0)},has(e){return se.call(this,e,!0)},add:d("add"),set:d("set"),delete:d("delete"),clear:d("clear"),forEach:fe(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=B(o,!1,!1),n[o]=B(o,!0,!1),t[o]=B(o,!1,!0),s[o]=B(o,!0,!0)}),[e,n,t,s]}var[zs,Ds,Ns,Ls]=Ts();function Rt(e,t){let n=t?e?Ls:Ns:e?Ds:zs;return(t,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?t:Reflect.get(ue(n,s)&&s in t?n:t,s,o)}at={get:Rt(!1,!1)},Lt={get:Rt(!0,!1)};function Nt(t,n,s){let o=e(s);if(o!==s&&n.call(t,o)){let e=Cn(t);console.warn(`Reactive ${e} contains both the raw and reactive versions of the same object${e==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}var Dt=new WeakMap,Vs=new WeakMap,Ft=new WeakMap,Ws=new WeakMap;function Us(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ks(e){return e.__v_skip||!Object.isExtensible(e)?0:Us(Cn(e))}function Le(e){return e&&e.__v_isReadonly?e:At(e,!1,gs,at,Dt)}function St(e){return At(e,!0,vs,Lt,Ft)}function At(e,t,n,s,o){if(!ce(e))return console.warn(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;let i=o.get(e);if(i)return i;let a=Ks(e);if(a===0)return e;let r=new Proxy(e,a===2?s:n);return o.set(e,r),r}function e(t){return t&&e(t.__v_raw)||t}function ve(e){return Boolean(e&&e.__v_isRef===!0)}a("nextTick",()=>ge),a("dispatch",e=>N.bind(N,e)),a("watch",(e,{evaluateLater:t,cleanup:n})=>(e,s)=>{let o=t(e),i=kt(()=>{let e;return o(t=>e=t),e},s);n(i)}),a("store",ds),a("data",e=>cn(e)),a("root",e=>q(e)),a("refs",e=>(e._x_refs_proxy||(e._x_refs_proxy=R(Zs(e))),e._x_refs_proxy));function Zs(e){let t=[];return D(e,e=>
vendor: 4,596 bytes, line 122
122{e._x_refs&&t.push(e._x_refs)}),t}de={};function Ct(e){return de[e]||(de[e]=0),++de[e]}function to(e,t){return D(e,e=>{if(e._x_ids&&e._x_ids[t])return!0})}function no(e,t){e._x_ids||(e._x_ids={}),e._x_ids[t]||(e._x_ids[t]=Ct(t))}a("id",(e,{cleanup:t})=>(n,s=null)=>{let o=`${n}${s?`-${s}`:""}`;return so(e,o,t,()=>{let t=to(e,n),o=t?t._x_ids[n]:Ct(n);return s?`${n}-${o}-${s}`:`${n}-${o}`})}),Z((e,t)=>{e._x_id&&(t._x_id=e._x_id)});function so(e,t,n,s){if(e._x_id||(e._x_id={}),e._x_id[t])return e._x_id[t];let o=s();return e._x_id[t]=o,n(()=>{delete e._x_id[t]}),o}a("el",e=>e),_t("Focus","focus","focus"),_t("Persist","persist","persist");function _t(e,t,n){a(t,s=>o(`You can't use [$${t}] without first installing the "${e}" plugin here: https://alpinejs.dev/plugins/${n}`,s))}t("modelable",(e,{expression:t},{effect:n,evaluateLater:s,cleanup:o})=>{let r=s(t),i=()=>{let e;return r(t=>e=t),e},c=s(`${t} = __placeholder`),a=e=>c(()=>{},{scope:{__placeholder:e}}),l=i();a(l),queueMicrotask(()=>{if(!e._x_model)return;e._x_removeModelListeners.default();let t=e._x_model.get,n=e._x_model.set,s=Zt({get(){return t()},set(e){n(e)}},{get(){return i()},set(e){a(e)}});o(s)})}),t("teleport",(e,{modifiers:t,expression:s},{cleanup:i})=>{e.tagName.toLowerCase()!=="template"&&o("x-teleport can only be used on a <template> tag",e);let l=gt(s),a=e.content.cloneNode(!0).firstElementChild;e._x_teleport=a,a._x_teleportBack=e,e.setAttribute("data-teleport-template",!0),a.setAttribute("data-teleport-target",!0),e._x_forwardEvents&&e._x_forwardEvents.forEach(t=>{a.addEventListener(t,t=>{t.stopPropagation(),e.dispatchEvent(new t.constructor(t.type,t))})}),H(a,{},e);let r=(e,t,n)=>{n.includes("prepend")?t.parentNode.insertBefore(e,t):n.includes("append")?t.parentNode.insertBefore(e,t.nextSibling):t.appendChild(e)};n(()=>{r(a,l,t),f(()=>{c(a),a._x_ignore=!0})()}),e._x_teleportPutBack=()=>{let o=gt(s);n(()=>{r(e._x_teleport,o,t)})},i(()=>a.remove())}),vt=document.createElement("div");function gt(e){let t=f(()=>document.querySelector(e),()=>vt)();return t||o(`Cannot find x-teleport element for selector: "${e}"`),t}we=()=>{},we.inline=(e,{modifiers:t},{cleanup:n})=>{t.includes("self")?e._x_ignoreSelf=!0:e._x_ignore=!0,n(()=>{t.includes("self")?delete e._x_ignoreSelf:delete e._x_ignore})},t("ignore",we),t("effect",f((e,{expression:t},{effect:n})=>{n(s(e,t))}));function Ee(e,t,n,s){let i=e,o=e=>s(e),r={},a=(e,t)=>n=>t(e,n);if(n.includes("dot")&&(t=lo(t)),n.includes("camel")&&(t=uo(t)),n.includes("passive")&&(r.passive=!0),n.includes("capture")&&(r.capture=!0),n.includes("window")&&(i=window),n.includes("document")&&(i=document),n.includes("debounce")){let e=n[n.indexOf("debounce")+1]||"invalid-wait",t=X(e.split("ms")[0])?Number(e.split("ms")[0]):250;o=Xt(o,t)}if(n.includes("throttle")){let e=n[n.indexOf("throttle")+1]||"invalid-wait",t=X(e.split("ms")[0])?Number(e.split("ms")[0]):250;o=Qt(o,t)}return n.includes("prevent")&&(o=a(o,(e,t)=>{t.preventDefault(),e(t)})),n.includes("stop")&&(o=a(o,(e,t)=>{t.stopPropagation(),e(t)})),n.includes("once")&&(o=a(o,(e,n)=>{e(n),i.removeEventListener(t,o,r)})),(n.includes("away")||n.includes("outside"))&&(i=document,o=a(o,(t,n)=>{e.contains(n.target)||n.target.isConnected!==!1&&(e.offsetWidth<1&&e.offsetHeight<1||e._x_isShown!==!1&&t(n))})),n.includes("self")&&(o=a(o,(t,n)=>{n.target===e&&t(n)})),(fo(t)||ft(t))&&(o=a(o,(e,t)=>{go(t,n)||e(t)})),i.addEventListener(t,o,r),()=>{i.removeEventListener(t,o,r)}}function lo(e){return e.replace(/-/g,".")}function uo(e){return e.toLowerCase().replace(/-(\w)/g,(e,t)=>t.toUpperCase())}function X(e){return!Array.isArray(e)&&!isNaN(e)}function mo(e){return[" ","_"].includes(e)?e:e.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[_\s]/,"-").toLowerCase()}function fo(e){return["keydown","keyup"].includes(e)}function ft(e){return["contextmenu","click","mouse"].some(t=>e.includes(t))}function go(e,t){let n=t.filter(e=>!["window","document","prevent","stop","once","capture","self","away","outside","passive"].includes(e));if(n.includes("debounce")){let e=n.indexOf("debounce");n.splice(e,X((n[e+1]||"invalid-wait").split("ms")[0])?2:1)}if(n.includes("throttle")){let e=n.indexOf("throttle");n.splice(e,X((n[e+1]||"invalid-wait").split("ms")[0])?2:1)}if(n.length===0||n.length===1&&mt(e.key).includes(n[0]))return!1;let s=["ctrl","shift","alt","meta","cmd","super"].filter(e=>n.includes(e));return n=n.filter(e=>!s.includes(e)),!(s.length>0&&s.filter(t=>((t==="cmd"||t==="super")&&(t="meta"),e[`${t}Key`])).length===s.length&&(ft(e.type)||mt(e.key).includes(n[0])))}function mt(e){if(!e)return[];e=mo(e);
122let t={ctrl:"control",slash:"/",space:" ",spacebar:" ",cmd:"meta",esc:"escape",up:"arrow-up",down:"arrow-down",left:"arrow-left",right:"arrow-right",period:".",comma:",",equal:"=",minus:"-",underscore:"_"};return t[e]=e,Object.keys(t).map(n=>{if(t[n]===e)return n}).filter(e=>e)}t("model",(e,{modifiers:t,expression:o},{effect:i,cleanup:a})=>{let c=e;t.includes("parent")&&(c=e.parentNode);let h=s(c,o),d;typeof o=="string"?d=s(c,`${o} = __placeholder`):typeof o=="function"&&typeof o()=="string"?d=s(c,`${o()} = __placeholder`):d=()=>{};let r=()=>{let e;return h(t=>e=t),ht(e)?e.get():e},u=e=>{let t;h(e=>t=e),ht(t)?t.set(e):d(()=>{},{scope:{__placeholder:e}})};typeof o=="string"&&e.type==="radio"&&n(()=>{e.hasAttribute("name")||e.setAttribute("name",o)});var m=e.tagName.toLowerCase()==="select"||["checkbox","radio"].includes(e.type)||t.includes("lazy")?"change":"input";let f=l?()=>{}:Ee(e,m,t,n=>{u(He(e,t,n,r()))});if(t.includes("fill")&&([void 0,null,""].includes(r())||e.type==="checkbox"&&Array.isArray(r())||e.tagName.toLowerCase()==="select"&&e.multiple)&&u(He(e,t,{target:e},r())),e._x_removeModelListeners||(e._x_removeModelListeners={}),e._x_removeModelListeners.default=f,a(()=>e._x_removeModelListeners.default()),e.form){let n=Ee(e.form,"reset",[],n=>{ge(()=>e._x_model&&e._x_model.set(He(e,t,{target:e},r())))});a(()=>n())}e._x_model={get(){return r()},set(e){u(e)}},e._x_forceModelUpdate=t=>{t===void 0&&typeof o=="string"&&o.match(/\./)&&(t=""),window.fromModel=!0,n(()=>zt(e,"value",t)),delete window.fromModel},i(()=>{let n=r();t.includes("unintrusive")&&document.activeElement.isSameNode(e)||e._x_forceModelUpdate(n)})});function He(e,t,s,o){return n(()=>{if(s instanceof CustomEvent&&s.detail!==void 0)return s.detail!==null&&s.detail!==void 0?s.detail:s.target.value;if(e.type==="checkbox")if(Array.isArray(o)){let e=null;return t.includes("number")?e=Ie(s.target.value):t.includes("boolean")?e=re(s.target.value):e=s.target.value,s.target.checked?o.includes(e)?o:o.concat([e]):o.filter(t=>!yo(t,e))}else return s.target.checked;else{if(e.tagName.toLowerCase()==="select"&&e.multiple)return t.includes("number")?Array.from(s.target.selectedOptions).map(e=>{let t=e.value||e.text;return Ie(t)}):t.includes("boolean")?Array.from(s.target.selectedOptions).map(e=>{let t=e.value||e.text;return re(t)}):Array.from(s.target.selectedOptions).map(e=>e.value||e.text);{let n;return e.type==="radio"?s.target.checked?n=s.target.value:n=o:n=s.target.value,t.includes("number")?Ie(n):t.includes("boolean")?re(n):t.includes("trim")?n.trim():n}}})}function Ie(e){let t=e?parseFloat(e):null;return _o(t)?t:e}function yo(e,t){return e==t}function _o(e){return!Array.isArray(e)&&!isNaN(e)}function ht(e){return e!==null&&typeof e=="object"&&typeof e.get=="function"&&typeof e.set=="function"}t("cloak",e=>queueMicrotask(()=>n(()=>e.removeAttribute(x("cloak"))))),yt(()=>`[${x("init")}]`),t("init",f((e,{expression:t},{evaluate:n})=>typeof t=="string"?!!t.trim()&&n(t,{},!1):n(t,{},!1))),t("text",(e,{expression:t},{effect:s,evaluateLater:o})=>{let i=o(t);s(()=>{i(t=>{n(()=>{e.textContent=t})})})}),t("html",(e,{expression:t},{effect:s,evaluateLater:o})=>{let i=o(t);s(()=>{i(t=>{n(()=>{e.innerHTML=t,e._x_ignoreSelf=!0,c(e),delete e._x_ignoreSelf})})})}),Fe(ke(":",Ae(x("bind:")))),Ue=(e,{value:t,modifiers:o,expression:i,original:a},{effect:r,cleanup:c})=>{if(!t){let t={};ns(t),s(e,i)(t=>{ln(e,t,a)},{scope:t});return}if(t==="key")return xo(e,i);if(e._x_inlineBindings&&e._x_inlineBindings[t]&&e._x_inlineBindings[t].extract)return;let l=s(e,i);r(()=>l(s=>{s===void 0&&typeof i=="string"&&i.match(/\./)&&(s=""),n(()=>zt(e,t,s,o))})),c(()=>{e._x_undoAddedClasses&&e._x_undoAddedClasses(),e._x_undoAddedStyles&&e._x_undoAddedStyles()})},Ue.inline=(e,{value:t,modifiers:n,expression:s})=>{t&&(e._x_inlineBindings||(e._x_inlineBindings={}),e._x_inlineBindings[t]={expression:s,extract:!1})},t("bind",Ue);function xo(e,t){e._x_keyExpression=t}wt(()=>`[${x("data")}]`),t("data",(e,{expression:t},{cleanup:n})=>{if(Co(e))return;t=t===""?"{}":t;let i={};Re(i,e);let a={};es(a,i);let o=y(e,t,{scope:a});(o===void 0||o===!0)&&(o={}),Re(o,e);let s=w(o);gn(s);let r=H(e,s);s.init&&y(e,s.init),n(()=>{s.destroy&&y(e,s.destroy),r()})}),Z((e,t)=>{e._x_dataStack&&(t._x_dataStack=e._x_dataStack,t.setAttribute("data-has-alpine-state",!0))});function Co(e){return!!l&&(!!ie||e.hasAttribute("data-has-alpine-state"))}t("show",(e,{modifiers:t,expression:o},{effect:i})=>{let u=s(e,o);e._x_doHide||(e._x_doHide=()=>{n(()=>{e.style.setProperty("display","none",t.includes("important")?"important":void 0)})}),e._x_doShow||(e._x_doShow=()=>{n(()=>{e.style.length===1&&e.style.display==="none"?e.removeAttribute("style"):e.style.removeProperty("display")})});let a=()=>{e._x_doHide(),e._x_isShown=!1},r=()=>{e._x_doShow(),e._x_isShown=!0},c=()=>setTimeout(r),h=Qe(e=>e?r():a(),t=>{typeof e._x_toggleAndCascadeWithTransitions=="function"?e._x_toggleAndCascadeWithTransitions(e,t,r,a):t?c():a()}),l,d=!0;i(()=>u(e=>{!d&&e===l||(t.includes("immediate")&&(e?c():a()),h(e),l=e,d=!1)}))}),t("for",(e,{expression:t},{effect:n,cleanup:o})=>{let i=ko(t),a=s(e,i.items),r=s(e,e._x_keyExpression||"index");e._x_prevKeys=[],e._x_lookup={},n(()=>Eo(e,i,a,r)),o(()=>
122{Object.values(e._x_lookup).forEach(e=>e.remove()),delete e._x_prevKeys,delete e._x_lookup})});function Eo(e,t,s,i){let r=e=>typeof e=="object"&&!Array.isArray(e),a=e;s(s=>{Gn(s)&&s>=0&&(s=Array.from(Array(s).keys(),e=>e+1)),s===void 0&&(s=[]);let l=e._x_lookup,u=e._x_prevKeys,h=[],d=[];if(r(s))s=Object.entries(s).map(([n,a])=>{let r=dt(t,a,n,s);i(t=>{d.includes(t)&&o("Duplicate key on x-for",e),d.push(t)},{scope:{index:n,...r}}),h.push(r)});else for(let n=0;n<s.length;n++){let a=dt(t,s[n],n,s);i(t=>{d.includes(t)&&o("Duplicate key on x-for",e),d.push(t)},{scope:{index:n,...a}}),h.push(a)}let g=[],v=[],m=[],p=[];for(let e=0;e<u.length;e++){let t=u[e];d.indexOf(t)===-1&&m.push(t)}u=u.filter(e=>!m.includes(e));let b="template";for(let e=0;e<d.length;e++){let t=d[e],n=u.indexOf(t);if(n===-1)u.splice(e,0,t),g.push([b,e]);else if(n!==e){let t=u.splice(e,1)[0],s=u.splice(n-1,1)[0];u.splice(e,0,s),u.splice(n,0,t),v.push([t,s])}else p.push(t);b=t}for(let t=0;t<m.length;t++){let e=m[t];l[e]._x_effects&&l[e]._x_effects.forEach(ut),l[e].remove(),l[e]=null,delete l[e]}for(let s=0;s<v.length;s++){let[c,i]=v[s],t=l[c],e=l[i],r=document.createElement("div");n(()=>{e||o('x-for ":key" is undefined or invalid',a,i,l),e.after(r),t.after(e),e._x_currentIfEl&&e.after(e._x_currentIfEl),r.before(t),t._x_currentIfEl&&t.after(t._x_currentIfEl),r.remove()}),e._x_refreshXForScope(h[d.indexOf(i)])}for(let s=0;s<g.length;s++){let[i,r]=g[s],t=i==="template"?a:l[i];t._x_currentIfEl&&(t=t._x_currentIfEl);let p=h[r],u=d[r],e=document.importNode(a.content,!0).firstElementChild,m=w(p);H(e,m,a),e._x_refreshXForScope=e=>{Object.entries(e).forEach(([e,t])=>{m[e]=t})},n(()=>{t.after(e),f(()=>c(e))()}),typeof u=="object"&&o("x-for key cannot be an object, it must be a string or an integer",a),l[u]=e}for(let e=0;e<p.length;e++)l[p[e]]._x_refreshXForScope(h[d.indexOf(p[e])]);a._x_prevKeys=d})}function ko(e){let i=/,([^,}\]]*)(?:,([^,}\]]*))?$/,a=/^\s*\(|\)\s*$/g,r=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,s=e.match(r);if(!s)return;let t={};t.items=s[2].trim();let o=s[1].replace(a,"").trim(),n=o.match(i);return n?(t.item=o.replace(i,"").trim(),t.index=n[1].trim(),n[2]&&(t.collection=n[2].trim())):t.item=o,t}function dt(e,t,n,s){let o={};return/^\[.*\]$/.test(e.item)&&Array.isArray(t)?e.item.replace("[","").replace("]","").split(",").map(e=>e.trim()).forEach((e,n)=>{o[e]=t[n]}):/^\{.*\}$/.test(e.item)&&!Array.isArray(t)&&typeof t=="object"?e.item.replace("{","").replace("}","").split(",").map(e=>e.trim()).forEach(e=>{o[e]=t[e]}):o[e.item]=t,e.index&&(o[e.index]=n),e.collection&&(o[e.collection]=s),o}function Gn(e){return!Array.isArray(e)&&!isNaN(e)}function rt(){}rt.inline=(e,{expression:t},{cleanup:n})=>{let s=q(e);s._x_refs||(s._x_refs={}),s._x_refs[t]=e,n(()=>delete s._x_refs[t])},t("ref",rt),t("if",(e,{expression:t},{effect:i,cleanup:a})=>{e.tagName.toLowerCase()!=="template"&&o("x-if can only be used on a <template> tag",e);let r=s(e,t),l=()=>{if(e._x_currentIfEl)return e._x_currentIfEl;let t=e.content.cloneNode(!0).firstElementChild;return H(t,{},e),n(()=>{e.after(t),f(()=>c(t))()}),e._x_currentIfEl=t,e._x_undoIf=()=>{u(t,e=>{e._x_effects&&e._x_effects.forEach(ut)}),t.remove(),delete e._x_currentIfEl},t},d=()=>{e._x_undoIf&&(e._x_undoIf(),delete e._x_undoIf)};i(()=>r(e=>{e?l():d()})),a(()=>e._x_undoIf&&e._x_undoIf())}),t("id",(e,{expression:t},{evaluate:n})=>{n(t).forEach(t=>no(e,t))}),Z((e,t)=>{e._x_ids&&(t._x_ids=e._x_ids)}),Fe(ke("@",Ae(x("on:")))),t("on",f((e,{value:t,modifiers:n,expression:o},{cleanup:i})=>{let a=o?s(e,o):()=>{};e.tagName.toLowerCase()==="template"&&(e._x_forwardEvents||(e._x_forwardEvents=[]),e._x_forwardEvents.includes(t)||e._x_forwardEvents.push(t));let r=Ee(e,t,n,e=>{a(()=>{},{scope:{$event:e},params:[e]})});i(()=>r())})),Y("Collapse","collapse","collapse"),Y("Intersect","intersect","intersect"),Y("Focus","trap","focus"),Y("Mask","mask","mask");function Y(e,n,s){t(n,t=>o(`You can't use [x-${n}] without first installing the "${e}" plugin here: https://alpinejs.dev/plugins/${s}`,t))}k.setEvaluator(xn),k.setReactivityEngine({reactive:Le,effect:Un,release:Kn,raw:e}),qe=k,window.Alpine=qe,queueMicrotask(()=>{qe.start()})})()

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.