PageSourceSearch

https://www.apha.org/vendor.js?v=rdqCfhbfTIyr_4XZBDEsjc6CZDEuh8TBiXgIuTuw-fA

js apha.org collected 2026-09-24 08:28:38 UTC 337,483 bytes, 28 lines download raw bytes

1(self.webpackChunk=self.webpackChunk||[]).push([["vendor"],{2154:function(e,t,n){"use strict";n.d(t,{lX:function(){return Pt}});const i=(e,t=1e4)=>(e=parseFloat(e+"")||0,Math.round((e+Number.EPSILON)*t)/t),s=function(e){if(!(e&&e instanceof Element&&e.offsetParent))return!1;const t=e.scrollHeight>e.clientHeight,n=window.getComputedStyle(e).overflowY,i=-1!==n.indexOf("hidden"),s=-1!==n.indexOf("visible");return t&&!i&&!s},o=function(e,t=void 0){return!(!e||e===document.body||t&&e===t)&&(s(e)?e:o(e.parentElement,t))},r=function(e){var t=(new DOMParser).parseFromString(e,"text/html").body;if(t.childElementCount>1){for(var n=document.createElement("div");t.firstChild;)n.appendChild(t.firstChild);return n}return t.firstChild},a=e=>`${e||""}`.split(" ").filter((e=>!!e)),l=(e,t,n)=>{e&&a(t).forEach((t=>{e.classList.toggle(t,n||!1)}))};class c{constructor(e){Object.defineProperty(this,"pageX",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"pageY",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"clientX",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"clientY",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"id",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"time",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"nativePointer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.nativePointer=e,this.pageX=e.pageX,this.pageY=e.pageY,this.clientX=e.clientX,this.clientY=e.clientY,this.id=self.Touch&&e instanceof Touch?e.identifier:-1,this.time=Date.now()}}const d={passive:!1};class u{constructor(e,{start:t=()=>!0,move:n=()=>{},end:i=()=>{}}){Object.defineProperty(this,"element",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"startCallback",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"moveCallback",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"endCallback",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"currentPointers",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"startPointers",{enumerable:!0,configurable:!0,writable:!0,value:[]}),this.element=e,this.startCallback=t,this.moveCallback=n,this.endCallback=i;for(const e of["onPointerStart","onTouchStart","onMove","onTouchEnd","onPointerEnd","onWindowBlur"])this[e]=this[e].bind(this);this.element.addEventListener("mousedown",this.onPointerStart,d),this.element.addEventListener("touchstart",this.onTouchStart,d),this.element.addEventListener("touchmove",this.onMove,d),this.element.addEventListener("touchend",this.onTouchEnd),this.element.addEventListener("touchcancel",this.onTouchEnd)}onPointerStart(e){if(!e.buttons||0!==e.button)return;const t=new c(e);this.currentPointers.some((e=>e.id===t.id))||this.triggerPointerStart(t,e)&&(window.addEventListener("mousemove",this.onMove),window.addEventListener("mouseup",this.onPointerEnd),window.addEventListener("blur",this.onWindowBlur))}onTouchStart(e){for(const t of Array.from(e.changedTouches||[]))this.triggerPointerStart(new c(t),e);window.addEventListener("blur",this.onWindowBlur)}onMove(e){const t=this.currentPointers.slice(),n="changedTouches"in e?Array.from(e.changedTouches||[]).map((e=>new c(e))):[new c(e)],i=[];for(const e of n){const t=this.currentPointers.findIndex((t=>t.id===e.id));t<0||(i.push(e),this.currentPointers[t]=e)}i.length&&this.moveCallback(e,this.currentPointers.slice(),t)}onPointerEnd(e){e.buttons>0&&0!==e.button||(this.triggerPointerEnd(e,new c(e)),window.removeEventListener("mousemove",this.onMove),window.removeEventListener("mouseup",this.onPointerEnd),window.removeEventListener("blur",this.onWindowBlur))}onTouchEnd(e){for(const t of Array.from(e.changedTouches||[]))this.triggerPointerEnd(e,new c(t))}triggerPointerStart(e,t){return!!this.startCallback(t,e,this.currentPointers.slice())&&(this.currentPointers.push(e),this.startPointers.push(e),!0)}triggerPointerEnd(e,t){const n=this.currentPointers.findIndex((e=>e.id===t.id));n<0||(this.currentPointers.splice(n,1),this.startPointers.splice(n,1),this.endCallback(e,t,this.currentPointers.slice()))}onWindowBlur(){this.clear()}clear(){for(;this.currentPointers.length;){const e=this.currentPointers[this.currentPointers.length-1];this.currentPointers.splice(this.currentPointers.length-1,1),this.startPointers.splice(this.currentPointers.length-1,1),this.endCallback(new Event("touchend",{bubbles:!0,cancelable:!0,clientX:e.clientX,clientY:e.clientY}),e,this.currentPointers.slice())}}stop(){this.element.removeEventListener("mousedown",this.onPointerStart,d),this.element.removeEventListener("touchstart",this.onTouchStart,d),this.element.removeEventListener("touchmove",this.onMove,d),this.element.removeEventListener("touchend",this.onTouchEnd),this.element.removeEventListener("touchcancel",this.onTouchEnd),window.removeEventListener("mousemove",this.onMove),window.removeEventListener("mouseup",this.onPointerEnd),window.removeEventListener("blur",this.onWindowBlur)}}function h(e,t){return t?Math.sqrt(Math.pow(t.clientX-e.clientX,2)+Math.pow(t.clientY-e.clientY,2)):0}function p(e,t){return t?{clientX:(e.clientX+t.clientX)/2,clientY:(e.clientY+t.clientY)/2}:e}const f=e=>"object"==typeof e&&null!==e&&e.constructor===Object&&"[object Object]"===Object.prototype.toString.call(e),m=(e,...t)=>{const n=t.length;for(let i=0;i<n;i++){const n=t[i]||{};
1Object.entries(n).forEach((([t,n])=>{const i=Array.isArray(n)?[]:{};e[t]||Object.assign(e,{[t]:i}),f(n)?Object.assign(e[t],m(i,n)):Array.isArray(n)?Object.assign(e,{[t]:[...n]}):Object.assign(e,{[t]:n})}))}return e},g=function(e,t){return e.split(".").reduce(((e,t)=>"object"==typeof e?e[t]:void 0),t)};class v{constructor(e={}){Object.defineProperty(this,"options",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"events",{enumerable:!0,configurable:!0,writable:!0,value:new Map}),this.setOptions(e);for(const e of Object.getOwnPropertyNames(Object.getPrototypeOf(this)))e.startsWith("on")&&"function"==typeof this[e]&&(this[e]=this[e].bind(this))}setOptions(e){this.options=e?m({},this.constructor.defaults,e):{};for(const[e,t]of Object.entries(this.option("on")||{}))this.on(e,t)}option(e,...t){let n=g(e,this.options);return n&&"function"==typeof n&&(n=n.call(this,this,...t)),n}optionFor(e,t,n,...i){let s=g(t,e);var o;"string"!=typeof(o=s)||isNaN(o)||isNaN(parseFloat(o))||(s=parseFloat(s)),"true"===s&&(s=!0),"false"===s&&(s=!1),s&&"function"==typeof s&&(s=s.call(this,this,e,...i));let r=g(t,this.options);return r&&"function"==typeof r?s=r.call(this,this,e,...i,s):void 0===s&&(s=r),void 0===s?n:s}cn(e){const t=this.options.classes;return t&&t[e]||""}localize(e,t=[]){e=String(e).replace(/\{\{(\w+).?(\w+)?\}\}/g,((e,t,n)=>{let i="";return n?i=this.option(`${t[0]+t.toLowerCase().substring(1)}.l10n.${n}`):t&&(i=this.option(`l10n.${t}`)),i||(i=e),i}));for(let n=0;n<t.length;n++)e=e.split(t[n][0]).join(t[n][1]);return e.replace(/\{\{(.*?)\}\}/g,((e,t)=>t))}on(e,t){let n=[];"string"==typeof e?n=e.split(" "):Array.isArray(e)&&(n=e),this.events||(this.events=new Map),n.forEach((e=>{let n=this.events.get(e);n||(this.events.set(e,[]),n=[]),n.includes(t)||n.push(t),this.events.set(e,n)}))}off(e,t){let n=[];"string"==typeof e?n=e.split(" "):Array.isArray(e)&&(n=e),n.forEach((e=>{const n=this.events.get(e);if(Array.isArray(n)){const e=n.indexOf(t);e>-1&&n.splice(e,1)}}))}emit(e,...t){[...this.events.get(e)||[]].forEach((e=>e(this,...t))),"*"!==e&&this.emit("*",e,...t)}}Object.defineProperty(v,"version",{enumerable:!0,configurable:!0,writable:!0,value:"5.0.36"}),Object.defineProperty(v,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{}});class b extends v{constructor(e={}){super(e),Object.defineProperty(this,"plugins",{enumerable:!0,configurable:!0,writable:!0,value:{}})}attachPlugins(e={}){const t=new Map;for(const[n,i]of Object.entries(e)){const e=this.option(n),s=this.plugins[n];s||!1===e?s&&!1===e&&(s.detach(),delete this.plugins[n]):t.set(n,new i(this,e||{}))}for(const[e,n]of t)this.plugins[e]=n,n.attach()}detachPlugins(e){e=e||Object.keys(this.plugins);for(const t of e){const e=this.plugins[t];e&&e.detach(),delete this.plugins[t]}return this.emit("detachPlugins"),this}}var y;!function(e){e[e.Init=0]="Init",e[e.Error=1]="Error",e[e.Ready=2]="Ready",e[e.Panning=3]="Panning",e[e.Mousemove=4]="Mousemove",e[e.Destroy=5]="Destroy"}(y||(y={}));const w=["a","b","c","d","e","f"],x={PANUP:"Move up",PANDOWN:"Move down",PANLEFT:"Move left",PANRIGHT:"Move right",ZOOMIN:"Zoom in",ZOOMOUT:"Zoom out",TOGGLEZOOM:"Toggle zoom level",TOGGLE1TO1:"Toggle zoom level",ITERATEZOOM:"Toggle zoom level",ROTATECCW:"Rotate counterclockwise",ROTATECW:"Rotate clockwise",FLIPX:"Flip horizontally",FLIPY:"Flip vertically",FITX:"Fit horizontally",FITY:"Fit vertically",RESET:"Reset",TOGGLEFS:"Toggle fullscreen"},E={content:null,width:"auto",height:"auto",panMode:"drag",touch:!0,dragMinThreshold:3,lockAxis:!1,mouseMoveFactor:1,mouseMoveFriction:.12,zoom:!0,pinchToZoom:!0,panOnlyZoomed:"auto",minScale:1,maxScale:2,friction:.25,dragFriction:.35,decelFriction:.05,click:"toggleZoom",dblClick:!1,wheel:"zoom",wheelLimit:7,spinner:!0,bounds:"auto",infinite:!1,rubberband:!0,bounce:!0,maxVelocity:75,transformParent:!1,classes:{content:"f-panzoom__content",isLoading:"is-loading",canZoomIn:"can-zoom_in",canZoomOut:"can-zoom_out",isDraggable:"is-draggable",isDragging:"is-dragging",inFullscreen:"in-fullscreen",htmlHasFullscreen:"with-panzoom-in-fullscreen"},l10n:x},S='<circle cx="25" cy="25" r="20"></circle>',T='<div class="f-spinner"><svg viewBox="0 0 50 50">'+S+S+"</svg></div>",C=e=>e&&null!==e&&e instanceof Element&&"nodeType"in e,P=(e,t)=>{e&&a(t).forEach((t=>{e.classList.remove(t)}))},M=(e,t)=>{e&&a(t).forEach((t=>{e.classList.add(t)}))},O={a:1,b:0,c:0,d:1,e:0,f:0},A=1e4,_="mousemove",k="drag",L="content",I="auto";let R=null,D=null;class F extends b{get fits(){return this.contentRect.width-this.contentRect.fitWidth<1&&this.contentRect.height-this.contentRect.fitHeight<1}get isTouchDevice(){return null===D&&(D=window.matchMedia("(hover: none)").matches),D}get isMobile(){return null===R&&(R=/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)),R}get panMode(){return this.options.panMode!==_||this.isTouchDevice?k:_}get panOnlyZoomed(){const e=this.options.panOnlyZoomed;return e===I?this.isTouchDevice:e}get isInfinite(){return this.option("infinite")}get angle(){return 180*Math.atan2(this.current.b,this.current.a)/Math.PI||
10}get targetAngle(){return 180*Math.atan2(this.target.b,this.target.a)/Math.PI||0}get scale(){const{a:e,b:t}=this.current;return Math.sqrt(e*e+t*t)||1}get targetScale(){const{a:e,b:t}=this.target;return Math.sqrt(e*e+t*t)||1}get minScale(){return this.option("minScale")||1}get fullScale(){const{contentRect:e}=this;return e.fullWidth/e.fitWidth||1}get maxScale(){return this.fullScale*(this.option("maxScale")||1)||1}get coverScale(){const{containerRect:e,contentRect:t}=this,n=Math.max(e.height/t.fitHeight,e.width/t.fitWidth)||1;return Math.min(this.fullScale,n)}get isScaling(){return Math.abs(this.targetScale-this.scale)>1e-5&&!this.isResting}get isContentLoading(){const e=this.content;return!!(e&&e instanceof HTMLImageElement)&&!e.complete}get isResting(){if(this.isBouncingX||this.isBouncingY)return!1;for(const e of w){const t="e"==e||"f"===e?1e-4:1e-5;if(Math.abs(this.target[e]-this.current[e])>t)return!1}return!(!this.ignoreBounds&&!this.checkBounds().inBounds)}constructor(e,t={},n={}){var i;if(super(t),Object.defineProperty(this,"pointerTracker",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"resizeObserver",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"updateTimer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"clickTimer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"rAF",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"isTicking",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"ignoreBounds",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"isBouncingX",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"isBouncingY",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"clicks",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"trackingPoints",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"pwt",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"cwd",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"pmme",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"friction",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"state",{enumerable:!0,configurable:!0,writable:!0,value:y.Init}),Object.defineProperty(this,"isDragging",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"content",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"spinner",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"containerRect",{enumerable:!0,configurable:!0,writable:!0,value:{width:0,height:0,innerWidth:0,innerHeight:0}}),Object.defineProperty(this,"contentRect",{enumerable:!0,configurable:!0,writable:!0,value:{top:0,right:0,bottom:0,left:0,fullWidth:0,fullHeight:0,fitWidth:0,fitHeight:0,width:0,height:0}}),Object.defineProperty(this,"dragStart",{enumerable:!0,configurable:!0,writable:!0,value:{x:0,y:0,top:0,left:0,time:0}}),Object.defineProperty(this,"dragOffset",{enumerable:!0,configurable:!0,writable:!0,value:{x:0,y:0,time:0}}),Object.defineProperty(this,"current",{enumerable:!0,configurable:!0,writable:!0,value:Object.assign({},O)}),Object.defineProperty(this,"target",{enumerable:!0,configurable:!0,writable:!0,value:Object.assign({},O)}),Object.defineProperty(this,"velocity",{enumerable:!0,configurable:!0,writable:!0,value:{a:0,b:0,c:0,d:0,e:0,f:0}}),Object.defineProperty(this,"lockedAxis",{enumerable:!0,configurable:!0,writable:!0,value:!1}),!e)throw new Error("Container Element Not Found");this.container=e,this.initContent(),this.attachPlugins(Object.assign(Object.assign({},F.Plugins),n)),this.emit("attachPlugins"),this.emit("init");const s=this.content;if(s.addEventListener("load",this.onLoad),s.addEventListener("error",this.onError),this.isContentLoading){if(this.option("spinner")){e.classList.add(this.cn("isLoading"));const t=r(T);!e.contains(s)||s.parentElement instanceof HTMLPictureElement?this.spinner=e.appendChild(t):this.spinner=(null===(i=s.parentElement)||void 0===i?void 0:i.insertBefore(t,s))||null}
1this.emit("beforeLoad")}else queueMicrotask((()=>{this.enable()}))}initContent(){const{container:e}=this,t=this.cn(L);let n=this.option(L)||e.querySelector(`.${t}`);if(n||(n=e.querySelector("img,picture")||e.firstElementChild,n&&M(n,t)),n instanceof HTMLPictureElement&&(n=n.querySelector("img")),!n)throw new Error("No content found");this.content=n}onLoad(){const{spinner:e,container:t,state:n}=this;e&&(e.remove(),this.spinner=null),this.option("spinner")&&t.classList.remove(this.cn("isLoading")),this.emit("afterLoad"),n===y.Init?this.enable():this.updateMetrics()}onError(){this.state!==y.Destroy&&(this.spinner&&(this.spinner.remove(),this.spinner=null),this.stop(),this.detachEvents(),this.state=y.Error,this.emit("error"))}getNextScale(e){const{fullScale:t,targetScale:n,coverScale:i,maxScale:s,minScale:o}=this;let r=o;switch(e){case"toggleMax":r=n-o<.5*(s-o)?s:o;break;case"toggleCover":r=n-o<.5*(i-o)?i:o;break;case"toggleZoom":r=n-o<.5*(t-o)?t:o;break;case"iterateZoom":let e=[1,t,s].sort(((e,t)=>e-t)),a=e.findIndex((e=>e>n+1e-5));r=e[a]||1}return r}attachObserver(){var e;const t=()=>{const{container:e,containerRect:t}=this;return Math.abs(t.width-e.getBoundingClientRect().width)>.1||Math.abs(t.height-e.getBoundingClientRect().height)>.1};this.resizeObserver||void 0===window.ResizeObserver||(this.resizeObserver=new ResizeObserver((()=>{this.updateTimer||(t()?(this.onResize(),this.isMobile&&(this.updateTimer=setTimeout((()=>{t()&&this.onResize(),this.updateTimer=null}),500))):this.updateTimer&&(clearTimeout(this.updateTimer),this.updateTimer=null))}))),null===(e=this.resizeObserver)||void 0===e||e.observe(this.container)}detachObserver(){var e;null===(e=this.resizeObserver)||void 0===e||e.disconnect()}attachEvents(){const{container:e}=this;e.addEventListener("click",this.onClick,{passive:!1,capture:!1}),e.addEventListener("wheel",this.onWheel,{passive:!1}),this.pointerTracker=new u(e,{start:this.onPointerDown,move:this.onPointerMove,end:this.onPointerUp}),document.addEventListener(_,this.onMouseMove)}detachEvents(){var e;const{container:t}=this;t.removeEventListener("click",this.onClick,{passive:!1,capture:!1}),t.removeEventListener("wheel",this.onWheel,{passive:!1}),null===(e=this.pointerTracker)||void 0===e||e.stop(),this.pointerTracker=null,document.removeEventListener(_,this.onMouseMove),document.removeEventListener("keydown",this.onKeydown,!0),this.clickTimer&&(clearTimeout(this.clickTimer),this.clickTimer=null),this.updateTimer&&(clearTimeout(this.updateTimer),this.updateTimer=null)}animate(){this.setTargetForce();const e=this.friction,t=this.option("maxVelocity");for(const n of w)e?(this.velocity[n]*=1-e,t&&!this.isScaling&&(this.velocity[n]=Math.max(Math.min(this.velocity[n],t),-1*t)),this.current[n]+=this.velocity[n]):this.current[n]=this.target[n];this.setTransform(),this.setEdgeForce(),!this.isResting||this.isDragging?this.rAF=requestAnimationFrame((()=>this.animate())):this.stop("current")}setTargetForce(){for(const e of w)"e"===e&&this.isBouncingX||"f"===e&&this.isBouncingY||(this.velocity[e]=(1/(1-this.friction)-1)*(this.target[e]-this.current[e]))}checkBounds(e=0,t=0){const{current:n}=this,i=n.e+e,s=n.f+t,o=this.getBounds(),{x:r,y:a}=o,l=r.min,c=r.max,d=a.min,u=a.max;let h=0,p=0;return l!==1/0&&i<l?h=l-i:c!==1/0&&i>c&&(h=c-i),d!==1/0&&s<d?p=d-s:u!==1/0&&s>u&&(p=u-s),Math.abs(h)<1e-4&&(h=0),Math.abs(p)<1e-4&&(p=0),Object.assign(Object.assign({},o),{xDiff:h,yDiff:p,inBounds:!h&&!p})}clampTargetBounds(){const{target:e}=this,{x:t,y:n}=this.getBounds();t.min!==1/0&&(e.e=Math.max(e.e,t.min)),t.max!==1/0&&(e.e=Math.min(e.e,t.max)),n.min!==1/0&&(e.f=Math.max(e.f,n.min)),n.max!==1/0&&(e.f=Math.min(e.f,n.max))}calculateContentDim(e=this.current){const{content:t,contentRect:n}=this,{fitWidth:i,fitHeight:s,fullWidth:o,fullHeight:r}=n;let a=o,l=r;if(this.option("zoom")||0!==this.angle){const n=!(t instanceof HTMLImageElement||"none"!==window.getComputedStyle(t).maxWidth&&"none"!==window.getComputedStyle(t).maxHeight),c=n?o:i,d=n?r:s,u=this.getMatrix(e),h=new DOMPoint(0,0).matrixTransform(u),p=new DOMPoint(0+c,0).matrixTransform(u),f=new DOMPoint(0+c,
10+d).matrixTransform(u),m=new DOMPoint(0,0+d).matrixTransform(u),g=Math.abs(f.x-h.x),v=Math.abs(f.y-h.y),b=Math.abs(m.x-p.x),y=Math.abs(m.y-p.y);a=Math.max(g,b),l=Math.max(v,y)}return{contentWidth:a,contentHeight:l}}setEdgeForce(){if(this.ignoreBounds||this.isDragging||this.panMode===_||this.targetScale<this.scale)return this.isBouncingX=!1,void(this.isBouncingY=!1);const{target:e}=this,{x:t,y:n,xDiff:i,yDiff:s}=this.checkBounds(),o=this.option("maxVelocity");let r=this.velocity.e,a=this.velocity.f;0!==i?(this.isBouncingX=!0,i*r<=0?r+=.14*i:(r=.14*i,t.min!==1/0&&(this.target.e=Math.max(e.e,t.min)),t.max!==1/0&&(this.target.e=Math.min(e.e,t.max))),o&&(r=Math.max(Math.min(r,o),-1*o))):this.isBouncingX=!1,0!==s?(this.isBouncingY=!0,s*a<=0?a+=.14*s:(a=.14*s,n.min!==1/0&&(this.target.f=Math.max(e.f,n.min)),n.max!==1/0&&(this.target.f=Math.min(e.f,n.max))),o&&(a=Math.max(Math.min(a,o),-1*o))):this.isBouncingY=!1,this.isBouncingX&&(this.velocity.e=r),this.isBouncingY&&(this.velocity.f=a)}enable(){const{content:e}=this,t=new DOMMatrixReadOnly(window.getComputedStyle(e).transform);for(const e of w)this.current[e]=this.target[e]=t[e];this.updateMetrics(),this.attachObserver(),this.attachEvents(),this.state=y.Ready,this.emit("ready")}onClick(e){var t;"click"===e.type&&0===e.detail&&(this.dragOffset.x=0,this.dragOffset.y=0),this.isDragging&&(null===(t=this.pointerTracker)||void 0===t||t.clear(),this.trackingPoints=[],this.startDecelAnim());const n=e.target;if(!n||e.defaultPrevented)return;if(n.hasAttribute("disabled"))return e.preventDefault(),void e.stopPropagation();if((()=>{const e=window.getSelection();return e&&"Range"===e.type})()&&!n.closest("button"))return;const i=n.closest("[data-panzoom-action]"),s=n.closest("[data-panzoom-change]"),o=i||s,r=o&&C(o)?o.dataset:null;if(r){const t=r.panzoomChange,n=r.panzoomAction;if((t||n)&&e.preventDefault(),t){let n={};try{n=JSON.parse(t)}catch(e){console&&console.warn("The given data was not valid JSON")}return void this.applyChange(n)}if(n)return void(this[n]&&this[n]())}if(Math.abs(this.dragOffset.x)>3||Math.abs(this.dragOffset.y)>3)return e.preventDefault(),void e.stopPropagation();if(n.closest("[data-fancybox]"))return;const a=this.content.getBoundingClientRect(),l=this.dragStart;if(l.time&&!this.canZoomOut()&&(Math.abs(a.x-l.x)>2||Math.abs(a.y-l.y)>2))return;this.dragStart.time=0;const c=t=>{this.option("zoom",e)&&t&&"string"==typeof t&&/(iterateZoom)|(toggle(Zoom|Full|Cover|Max)|(zoomTo(Fit|Cover|Max)))/.test(t)&&"function"==typeof this[t]&&(e.preventDefault(),this[t]({event:e}))},d=this.option("click",e),u=this.option("dblClick",e);u?(this.clicks++,1==this.clicks&&(this.clickTimer=setTimeout((()=>{1===this.clicks?(this.emit("click",e),!e.defaultPrevented&&d&&c(d)):(this.emit("dblClick",e),e.defaultPrevented||c(u)),this.clicks=0,this.clickTimer=null}),350))):(this.emit("click",e),!e.defaultPrevented&&d&&c(d))}addTrackingPoint(e){const t=this.trackingPoints.filter((e=>e.time>Date.now()-100));t.push(e),this.trackingPoints=t}onPointerDown(e,t,n){var i;if(!1===this.option("touch",e))return!1;this.pwt=0,this.dragOffset={x:0,y:0,time:0},this.trackingPoints=[];const s=this.content.getBoundingClientRect();if(this.dragStart={x:s.x,y:s.y,top:s.top,left:s.left,time:Date.now()},this.clickTimer)return!1;if(this.panMode===_&&this.targetScale>1)return e.preventDefault(),e.stopPropagation(),!1;const o=e.composedPath()[0];if(!n.length){if(["TEXTAREA","OPTION","INPUT","SELECT","VIDEO","IFRAME"].includes(o.nodeName)||o.closest("[contenteditable],[data-selectable],[data-draggable],[data-clickable],[data-panzoom-change],[data-panzoom-action]"))return!1;null===(i=window.getSelection())||void 0===i||i.removeAllRanges()}if("mousedown"===e.type)["A","BUTTON"].includes(o.nodeName)||e.preventDefault();else if(Math.abs(this.velocity.a)>.3)return!1;return this.target.e=this.current.e,this.target.f=this.current.f,this.stop(),this.isDragging||(this.isDragging=!0,this.addTrackingPoint(t),this.emit("touchStart",e)),!0}onPointerMove(e,t,n){if(!1===this.option("touch",e))return;if(!this.isDragging)return;if(t.length<2&&this.panOnlyZoomed&&i(this.targetScale)<=i(this.minScale))return;
1if(this.emit("touchMove",e),e.defaultPrevented)return;this.addTrackingPoint(t[0]);const{content:s}=this,r=p(n[0],n[1]),a=p(t[0],t[1]);let l=0,c=0;if(t.length>1){const e=s.getBoundingClientRect();l=r.clientX-e.left-.5*e.width,c=r.clientY-e.top-.5*e.height}const d=h(n[0],n[1]),u=h(t[0],t[1]);let f=d?u/d:1,m=a.clientX-r.clientX,g=a.clientY-r.clientY;this.dragOffset.x+=m,this.dragOffset.y+=g,this.dragOffset.time=Date.now()-this.dragStart.time;let v=i(this.targetScale)===i(this.minScale)&&this.option("lockAxis");if(v&&!this.lockedAxis)if("xy"===v||"y"===v||"touchmove"===e.type){if(Math.abs(this.dragOffset.x)<6&&Math.abs(this.dragOffset.y)<6)return void e.preventDefault();const t=Math.abs(180*Math.atan2(this.dragOffset.y,this.dragOffset.x)/Math.PI);this.lockedAxis=t>45&&t<135?"y":"x",this.dragOffset.x=0,this.dragOffset.y=0,m=0,g=0}else this.lockedAxis=v;if(o(e.target,this.content)&&(v="x",this.dragOffset.y=0),v&&"xy"!==v&&this.lockedAxis!==v&&i(this.targetScale)===i(this.minScale))return;e.cancelable&&e.preventDefault(),this.container.classList.add(this.cn("isDragging"));const b=this.checkBounds(m,g);this.option("rubberband")?("x"!==this.isInfinite&&(b.xDiff>0&&m<0||b.xDiff<0&&m>0)&&(m*=Math.max(0,.5-Math.abs(.75/this.contentRect.fitWidth*b.xDiff))),"y"!==this.isInfinite&&(b.yDiff>0&&g<0||b.yDiff<0&&g>0)&&(g*=Math.max(0,.5-Math.abs(.75/this.contentRect.fitHeight*b.yDiff)))):(b.xDiff&&(m=0),b.yDiff&&(g=0));const y=this.targetScale,w=this.minScale,x=this.maxScale;y<.5*w&&(f=Math.max(f,w)),y>
11.5*x&&(f=Math.min(f,x)),"y"===this.lockedAxis&&i(y)===i(w)&&(m=0),"x"===this.lockedAxis&&i(y)===i(w)&&(g=0),this.applyChange({originX:l,originY:c,panX:m,panY:g,scale:f,friction:this.option("dragFriction"),ignoreBounds:!0})}onPointerUp(e,t,n){if(n.length)return this.dragOffset.x=0,this.dragOffset.y=0,void(this.trackingPoints=[]);this.container.classList.remove(this.cn("isDragging")),this.isDragging&&(this.addTrackingPoint(t),this.panOnlyZoomed&&this.contentRect.width-this.contentRect.fitWidth<1&&this.contentRect.height-this.contentRect.fitHeight<1&&(this.trackingPoints=[]),o(e.target,this.content)&&"y"===this.lockedAxis&&(this.trackingPoints=[]),this.emit("touchEnd",e),this.isDragging=!1,this.lockedAxis=!1,this.state!==y.Destroy&&(e.defaultPrevented||this.startDecelAnim()))}startDecelAnim(){var e;const t=this.isScaling;this.rAF&&(cancelAnimationFrame(this.rAF),this.rAF=null),this.isBouncingX=!1,this.isBouncingY=!1;for(const e of w)this.velocity[e]=0;this.target.e=this.current.e,this.target.f=this.current.f,P(this.container,"is-scaling"),P(this.container,"is-animating"),this.isTicking=!1;const{trackingPoints:n}=this,s=n[0],o=n[n.length-1];let r=0,a=0,l=0;o&&s&&(r=o.clientX-s.clientX,a=o.clientY-s.clientY,l=o.time-s.time);const c=(null===(e=window.visualViewport)||void 0===e?void 0:e.scale)||1;1!==c&&(r*=c,a*=c);let d=0,u=0,h=0,p=0,f=this.option("decelFriction");const m=this.targetScale;if(l>0){h=Math.abs(r)>3?r/(l/30):0,p=Math.abs(a)>3?a/(l/30):0;const e=this.option("maxVelocity");e&&(h=Math.max(Math.min(h,e),-1*e),p=Math.max(Math.min(p,e),-1*e))}h&&(d=h/(1/(1-f)-1)),p&&(u=p/(1/(1-f)-1)),("y"===this.option("lockAxis")||"xy"===this.option("lockAxis")&&"y"===this.lockedAxis&&i(m)===this.minScale)&&(d=h=0),("x"===this.option("lockAxis")||"xy"===this.option("lockAxis")&&"x"===this.lockedAxis&&i(m)===this.minScale)&&(u=p=0);const g=this.dragOffset.x,v=this.dragOffset.y,b=this.option("dragMinThreshold")||0;Math.abs(g)<b&&Math.abs(v)<b&&(d=u=0,h=p=0),(this.option("zoom")&&(m<this.minScale-1e-5||m>this.maxScale+1e-5)||t&&!d&&!u)&&(f=.35),this.applyChange({panX:d,panY:u,friction:f}),this.emit("decel",h,p,g,v)}onWheel(e){var t=[-e.deltaX||0,-e.deltaY||0,-e.detail||0].reduce((function(e,t){return Math.abs(t)>Math.abs(e)?t:e}));const n=Math.max(-1,Math.min(1,t));if(this.emit("wheel",e,n),this.panMode===_)return;if(e.defaultPrevented)return;const i=this.option("wheel");"pan"===i?(e.preventDefault(),this.panOnlyZoomed&&!this.canZoomOut()||this.applyChange({panX:2*-e.deltaX,panY:2*-e.deltaY,bounce:!1})):"zoom"===i&&!1!==this.option("zoom")&&this.zoomWithWheel(e)}onMouseMove(e){this.panWithMouse(e)}onKeydown(e){"Escape"===e.key&&this.toggleFS()}onResize(){this.updateMetrics(),this.checkBounds().inBounds||this.requestTick()}setTransform(){this.emit("beforeTransform");const{current:e,target:t,content:n,contentRect:s}=this,o=Object.assign({},O);for(const n of w){const s="e"==n||"f"===n?A:1e5;o[n]=i(e[n],s),Math.abs(t[n]-e[n])<("e"==n||"f"===n?.51:.001)&&(e[n]=t[n])}let{a:r,b:a,c:l,d:c,e:d,f:u}=o,h=`matrix(${r}, ${a}, ${l}, ${c}, ${d}, ${u})`,p=n.parentElement instanceof HTMLPictureElement?n.parentElement:n;if(this.option("transformParent")&&(p=p.parentElement||p),p.style.transform===h)return;p.style.transform=h;const{contentWidth:f,contentHeight:m}=this.calculateContentDim();s.width=f,s.height=m,this.emit("afterTransform")}updateMetrics(e=!1){var t;if(!this||this.state===y.Destroy)return;if(this.isContentLoading)return;const n=Math.max(1,(null===(t=window.visualViewport)||void 0===t?void 0:t.scale)||1),{container:s,content:o}=this,r=o instanceof HTMLImageElement,a=s.getBoundingClientRect(),l=getComputedStyle(this.container);let c=a.width*n,d=a.height*n;const u=parseFloat(l.paddingTop)+parseFloat(l.paddingBottom),h=c-(parseFloat(l.paddingLeft)+parseFloat(l.paddingRight)),p=d-u;this.containerRect={width:c,height:d,innerWidth:h,innerHeight:p};const f=parseFloat(o.dataset.width||"")||(e=>{let t=0;return t=e instanceof HTMLImageElement?e.naturalWidth:e instanceof SVGElement?e.width.baseVal.value:Math.max(e.offsetWidth,e.scrollWidth),t||0})(o),m=parseFloat(o.dataset.height||"")||(e=>{let t=0;return t=e instanceof HTMLImageElement?e.naturalHeight:e instanceof SVGElement?e.height.baseVal.value:Math.max(e.offsetHeight,e.scrollHeight),t||0})(o);let g=this.option("width",f)||I,v=this.option("height",m)||I;const b=g===I,w=v===I;"number"!=typeof g&&(g=f),"number"!=typeof v&&(v=m),b&&(g=f*(v/m)),w&&(v=m/(f/g));let x=o.parentElement instanceof HTMLPictureElement?o.parentElement:o;this.option("transformParent")&&(x=x.parentElement||x);const E=x.getAttribute("style")||"";x.style.setProperty("transform","none","important"),r&&(x.style.width="",x.style.height=""),x.offsetHeight;const S=o.getBoundingClientRect();let T=S.width*n,C=S.height*n,P=T,M=C;T=Math.min(T,g),C=Math.min(C,v),r?({width:T,height:C}=((e,t,n,i)=>{const s=n/e,o=i/t,r=Math.min(s,o);return{width:e*=r,height:t*=r}}
1)(g,v,T,C)):(T=Math.min(T,g),C=Math.min(C,v));let O=.5*(M-C),A=.5*(P-T);this.contentRect=Object.assign(Object.assign({},this.contentRect),{top:S.top-a.top+O,bottom:a.bottom-S.bottom+O,left:S.left-a.left+A,right:a.right-S.right+A,fitWidth:T,fitHeight:C,width:T,height:C,fullWidth:g,fullHeight:v}),x.style.cssText=E,r&&(x.style.width=`${T}px`,x.style.height=`${C}px`),this.setTransform(),!0!==e&&this.emit("refresh"),this.ignoreBounds||(i(this.targetScale)<i(this.minScale)?this.zoomTo(this.minScale,{friction:0}):this.targetScale>this.maxScale?this.zoomTo(this.maxScale,{friction:0}):this.state===y.Init||this.checkBounds().inBounds||this.requestTick()),this.updateControls()}calculateBounds(){const{contentWidth:e,contentHeight:t}=this.calculateContentDim(this.target),{targetScale:n,lockedAxis:s}=this,{fitWidth:o,fitHeight:r}=this.contentRect;let a=0,l=0,c=0,d=0;const u=this.option("infinite");if(!0===u||s&&u===s)a=-1/0,c=1/0,l=-1/0,d=1/0;else{let{containerRect:s,contentRect:u}=this,h=i(o*n,A),p=i(r*n,A),{innerWidth:f,innerHeight:m}=s;if(s.width===h&&(f=s.width),s.width===p&&(m=s.height),e>f){c=.5*(e-f),a=-1*c;let t=.5*(u.right-u.left);a+=t,c+=t}if(o>f&&e<f&&(a-=.5*(o-f),c-=.5*(o-f)),t>m){d=.5*(t-m),l=-1*d;let e=.5*(u.bottom-u.top);l+=e,d+=e}r>m&&t<m&&(a-=.5*(r-m),c-=.5*(r-m))}return{x:{min:a,max:c},y:{min:l,max:d}}}getBounds(){const e=this.option("bounds");return e!==I?e:this.calculateBounds()}updateControls(){const e=this,t=e.container,{panMode:n,contentRect:s,targetScale:o,minScale:r}=e;let a=r,c=e.option("click")||!1;c&&(a=e.getNextScale(c));let d=e.canZoomIn(),u=e.canZoomOut(),h=n===k&&!!this.option("touch"),p=u&&h;if(h&&(i(o)<i(r)&&!this.panOnlyZoomed&&(p=!0),(i(s.width,1)>i(s.fitWidth,1)||i(s.height,1)>i(s.fitHeight,1))&&(p=!0)),i(s.width*o,1)<i(s.fitWidth,1)&&(p=!1),n===_&&(p=!1),l(t,this.cn("isDraggable"),p),!this.option("zoom"))return;let f=d&&i(a)>i(o),m=!f&&!p&&u&&i(a)<i(o);l(t,this.cn("canZoomIn"),f),l(t,this.cn("canZoomOut"),m);for(const e of t.querySelectorAll("[data-panzoom-action]")){let t=!1,n=!1;switch(e.dataset.panzoomAction){case"zoomIn":d?t=!0:n=!0;break;case"zoomOut":u?t=!0:n=!0;break;case"toggleZoom":case"iterateZoom":d||u?t=!0:n=!0;const i=e.querySelector("g");i&&(i.style.display=d?"":"none")}t?(e.removeAttribute("disabled"),e.removeAttribute("tabindex")):n&&(e.setAttribute("disabled",""),e.setAttribute("tabindex","-1"))}}panTo({x:e=this.target.e,y:t=this.target.f,scale:n=this.targetScale,friction:i=this.option("friction"),angle:s=0,originX:o=0,originY:r=0,flipX:a=!1,flipY:l=!1,ignoreBounds:c=!1}){this.state!==y.Destroy&&this.applyChange({panX:e-this.target.e,panY:t-this.target.f,scale:n/this.targetScale,angle:s,originX:o,originY:r,friction:i,flipX:a,flipY:l,ignoreBounds:c})}applyChange({panX:e=0,panY:t=0,scale:n=1,angle:s=0,originX:o=-this.current.e,originY:r=-this.current.f,friction:a=this.option("friction"),flipX:l=!1,flipY:c=!1,ignoreBounds:d=!1,bounce:u=this.option("bounce")}){const h=this.state;if(h===y.Destroy)return;this.rAF&&(cancelAnimationFrame(this.rAF),this.rAF=null),this.friction=a||0,this.ignoreBounds=d;const{current:p}=this,f=p.e,m=p.f,g=this.getMatrix(this.target);let v=(new DOMMatrix).translate(f,m).translate(o,r).translate(e,t);if(this.option("zoom")){if(!d){const e=this.targetScale,t=this.minScale,i=this.maxScale;e*n<t&&(n=t/e),e*n>i&&(n=i/e)}v=v.scale(n)}v=v.translate(-o,-r).translate(-f,-m).multiply(g),s&&(v=v.rotate(s)),l&&(v=v.scale(-1,1)),c&&(v=v.scale(1,-1));for(const e of w)"e"!==e&&"f"!==e&&(v[e]>this.minScale+1e-5||v[e]<this.minScale-1e-5)?this.target[e]=v[e]:this.target[e]=i(v[e],A);(this.targetScale<this.scale||Math.abs(n-1)>.1||this.panMode===_||!1===u)&&!d&&this.clampTargetBounds(),h===y.Init?this.animate():this.isResting||(this.state=y.Panning,this.requestTick())}stop(e=!1){if(this.state===y.Init||this.state===y.Destroy)return;const t=this.isTicking;this.rAF&&(cancelAnimationFrame(this.rAF),this.rAF=null),this.isBouncingX=!1,this.isBouncingY=!1;for(const t of w)this.velocity[t]=0,"current"===e?this.current[t]=this.target[t]:"target"===e&&(this.target[t]=this.current[t]);this.setTransform(),P(this.container,"is-scaling"),P(this.container,"is-animating"),this.isTicking=!1,this.state=y.Ready,t&&(this.emit
1("endAnimation"),this.updateControls())}requestTick(){this.isTicking||(this.emit("startAnimation"),this.updateControls(),M(this.container,"is-animating"),this.isScaling&&M(this.container,"is-scaling")),this.isTicking=!0,this.rAF||(this.rAF=requestAnimationFrame((()=>this.animate())))}panWithMouse(e,t=this.option("mouseMoveFriction")){if(this.pmme=e,this.panMode!==_||!e)return;if(i(this.targetScale)<=i(this.minScale))return;this.emit("mouseMove",e);const{container:n,containerRect:s,contentRect:o}=this,r=s.width,a=s.height,l=n.getBoundingClientRect(),c=(e.clientX||0)-l.left,d=(e.clientY||0)-l.top;let{contentWidth:u,contentHeight:h}=this.calculateContentDim(this.target);const p=this.option("mouseMoveFactor");p>1&&(u!==r&&(u*=p),h!==a&&(h*=p));let f=.5*(u-r)-c/r*100/100*(u-r);f+=.5*(o.right-o.left);let m=.5*(h-a)-d/a*100/100*(h-a);m+=.5*(o.bottom-o.top),this.applyChange({panX:f-this.target.e,panY:m-this.target.f,friction:t})}zoomWithWheel(e){if(this.state===y.Destroy||this.state===y.Init)return;const t=Date.now();if(t-this.pwt<45)return void e.preventDefault();this.pwt=t;var n=[-e.deltaX||0,-e.deltaY||0,-e.detail||0].reduce((function(e,t){return Math.abs(t)>Math.abs(e)?t:e}));const s=Math.max(-1,Math.min(1,n)),{targetScale:o,maxScale:r,minScale:a}=this;let l=o*(100+45*s)/100;i(l)<i(a)&&i(o)<=i(a)?(this.cwd+=Math.abs(s),l=a):i(l)>i(r)&&i(o)>=i(r)?(this.cwd+=Math.abs(s),l=r):(this.cwd=0,l=Math.max(Math.min(l,r),a)),this.cwd>this.option("wheelLimit")||(e.preventDefault(),i(l)!==i(o)&&this.zoomTo(l,{event:e}))}canZoomIn(){return this.option("zoom")&&(i(this.contentRect.width,1)<i(this.contentRect.fitWidth,1)||i(this.targetScale)<i(this.maxScale))}canZoomOut(){return this.option("zoom")&&i(this.targetScale)>i(this.minScale)}zoomIn(e=1.25,t){this.zoomTo(this.targetScale*e,t)}zoomOut(e=.8,t){this.zoomTo(this.targetScale*e,t)}zoomToFit(e){this.zoomTo("fit",e)}zoomToCover(e){this.zoomTo("cover",e)}zoomToFull(e){this.zoomTo("full",e)}zoomToMax(e){this.zoomTo("max",e)}toggleZoom(e){this.zoomTo(this.getNextScale("toggleZoom"),e)}toggleMax(e){this.zoomTo(this.getNextScale("toggleMax"),e)}toggleCover(e){this.zoomTo(this.getNextScale("toggleCover"),e)}iterateZoom(e){this.zoomTo("next",e)}zoomTo(e=1,{friction:t=I,originX:n=I,originY:i=I,event:s}={}){if(this.isContentLoading||this.state===y.Destroy)return;const{targetScale:o,fullScale:r,maxScale:a,coverScale:l}=this;if(this.stop(),this.panMode===_&&(s=this.pmme||s),s||n===I||i===I){const e=this.content.getBoundingClientRect(),t=this.container.getBoundingClientRect(),o=s?s.clientX:t.left+.5*t.width,r=s?s.clientY:t.top+.5*t.height;n=o-e.left-.5*e.width,i=r-e.top-.5*e.height}let c=1;"number"==typeof e?c=e:"full"===e?c=r:"cover"===e?c=l:"max"===e?c=a:"fit"===e?c=1:"next"===e&&(c=this.getNextScale("iterateZoom")),c=c/o||1,t=t===I?c>1?.15:.25:t,this.applyChange({scale:c,originX:n,originY:i,friction:t}),s&&this.panMode===_&&this.panWithMouse(s,t)}rotateCCW(){this.applyChange({angle:-90})}rotateCW(){this.applyChange({angle:90})}flipX(){this.applyChange({flipX:!0})}flipY(){this.applyChange({flipY:!0})}fitX(){this.stop("target");const{containerRect:e,contentRect:t,target:n}=this;this.applyChange({panX:.5*e.width-(t.left+.5*t.fitWidth)-n.e,panY:.5*e.height-(t.top+.5*t.fitHeight)-n.f,scale:e.width/t.fitWidth/this.targetScale,originX:0,originY:0,ignoreBounds:!0})}fitY(){this.stop("target");const{containerRect:e,contentRect:t,target:n}=this;this.applyChange({panX:.5*e.width-(t.left+.5*t.fitWidth)-n.e,panY:.5*e.innerHeight-(t.top+.5*t.fitHeight)-n.f,scale:e.height/t.fitHeight/this.targetScale,originX:0,originY:0,ignoreBounds:!0})}toggleFS(){const{container:e}=this,t=this.cn("inFullscreen"),n=this.cn("htmlHasFullscreen");e.classList.toggle(t);const i=e.classList.contains(t);i?(document.documentElement.classList.add(n),document.addEventListener("keydown",this.onKeydown,!0)):(document.documentElement.classList.remove(n),document.removeEventListener("keydown",this.onKeydown,!0)),this.updateMetrics(),this.emit(i?"enterFS":"exitFS")}getMatrix(e=this.current){const{a:t,b:n,c:i,d:s,e:o,f:r}=e;return new DOMMatrix([t,n,i,s,o,r])}reset(e){if(this.state!==y.Init&&this.state!==y.Destroy){this.stop("current");for(const e of w)this.target[e]=O[e];this.target.a=this.minScale,this.target.d=this.minScale,this.clampTargetBounds(),this.isResting||(this.friction=void 0===e?this.option("friction"):e,this.state=y.Panning,this.requestTick())}}destroy(){this.stop(),this.state=y.Destroy,this.detachEvents(),this.detachObserver();const{container:e,content:t}=this,n=this.option("classes")||{};for(const t of Object.values(n))e.classList.remove(t+"");t&&(t.removeEventListener("load",this.onLoad),t.removeEventListener("error",this.onError)),this.detachPlugins()}}Object.defineProperty(F,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:E}),Object.defineProperty(F,"Plugins",{enumerable:!0,configurable:!0,writable:!0,value:{}});const z=function(e,t){let n=!0;return(...i)=>{n&&(n=!1,e(...i),setTimeout((()=>{n=!0}),t))}},j=(e,t)=>{let n=[];
1return e.childNodes.forEach((e=>{e.nodeType!==Node.ELEMENT_NODE||t&&!e.matches(t)||n.push(e)})),n};var B;!function(e){e[e.Init=0]="Init",e[e.Ready=1]="Ready",e[e.Destroy=2]="Destroy"}(B||(B={}));const N=e=>{if("string"==typeof e||e instanceof HTMLElement)e={html:e};else{const t=e.thumb;void 0!==t&&("string"==typeof t&&(e.thumbSrc=t),t instanceof HTMLImageElement&&(e.thumbEl=t,e.thumbElSrc=t.src,e.thumbSrc=t.src),delete e.thumb)}return Object.assign({html:"",el:null,isDom:!1,class:"",customClass:"",index:-1,dim:0,gap:0,pos:0,transition:!1},e)},$=(e={})=>Object.assign({index:-1,slides:[],dim:0,pos:-1},e);class H extends v{constructor(e,t){super(t),Object.defineProperty(this,"instance",{enumerable:!0,configurable:!0,writable:!0,value:e})}attach(){}detach(){}}class W extends H{constructor(){super(...arguments),Object.defineProperty(this,"isDynamic",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"list",{enumerable:!0,configurable:!0,writable:!0,value:null})}onRefresh(){this.refresh()}build(){let e=this.list;if(!e){e=document.createElement("ul"),M(e,this.cn("list")),e.setAttribute("role","tablist");const t=this.instance.container;t.appendChild(e),M(t,this.cn("hasDots")),this.list=e}return e}refresh(){var e;const t=this.instance.pages.length,n=Math.min(2,this.option("minCount")),i=Math.max(2e3,this.option("maxCount")),s=this.option("dynamicFrom");if(t<n||t>i)return void this.cleanup();const o="number"==typeof s&&t>5&&t>=s,r=!this.list||this.isDynamic!==o||this.list.children.length!==t;r&&this.cleanup();const a=this.build();if(l(a,this.cn("isDynamic"),!!o),r)for(let e=0;e<t;e++)a.append(this.createItem(e));let c,d=0;for(const t of[...a.children]){const n=d===this.instance.page;n&&(c=t),l(t,this.cn("isCurrent"),n),null===(e=t.children[0])||void 0===e||e.setAttribute("aria-selected",n?"true":"false");for(const e of["isBeforePrev","isPrev","isNext","isAfterNext"])P(t,this.cn(e));d++}if(c=c||a.firstChild,o&&c){const e=c.previousElementSibling,t=e&&e.previousElementSibling;M(e,this.cn("isPrev")),M(t,this.cn("isBeforePrev"));const n=c.nextElementSibling,i=n&&n.nextElementSibling;M(n,this.cn("isNext")),M(i,this.cn("isAfterNext"))}this.isDynamic=o}createItem(e=0){var t;const n=document.createElement("li");n.setAttribute("role","presentation");const i=r(this.instance.localize(this.option("dotTpl"),[["%d",e+1]]).replace(/\%i/g,e+""));return n.appendChild(i),null===(t=n.children[0])||void 0===t||t.setAttribute("role","tab"),n}cleanup(){this.list&&(this.list.remove(),this.list=null),this.isDynamic=!1,P(this.instance.container,this.cn("hasDots"))}attach(){this.instance.on(["refresh","change"],this.onRefresh)}detach(){this.instance.off(["refresh","change"],this.onRefresh),this.cleanup()}}Object.defineProperty(W,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{classes:{list:"f-carousel__dots",isDynamic:"is-dynamic",hasDots:"has-dots",dot:"f-carousel__dot",isBeforePrev:"is-before-prev",isPrev:"is-prev",isCurrent:"is-current",isNext:"is-next",isAfterNext:"is-after-next"},dotTpl:'<button type="button" data-carousel-page="%i" aria-label="{{GOTO}}"><span class="f-carousel__dot" aria-hidden="true"></span></button>',dynamicFrom:11,maxCount:1/0,minCount:2}});const V="disabled",G="next",q="prev";class X extends H{constructor(){super(...arguments),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"prev",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"next",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"isDom",{enumerable:!0,configurable:!0,writable:!0,value:!1})}onRefresh(){const e=this.instance,t=e.pages.length,n=e.page;if(t<2)return void this.cleanup();this.build();let i=this.prev,s=this.next;i&&s&&(i.removeAttribute(V),s.removeAttribute(V),e.isInfinite||(n<=0&&i.setAttribute(V,""),n>=t-1&&s.setAttribute(V,"")))}addBtn(e){var t;const n=this.instance,i=document.createElement("button");i.setAttribute("tabindex","0"),i.setAttribute("title",n.localize(`{{${e.toUpperCase()}}}`)),M(i,this.cn("button")+" "+this.cn(e===G?"isNext":"isPrev"));const s=n.isRTL?e===G?q:G:e;var o;return i.innerHTML=n.localize(this.option(`${s}Tpl`)),i.dataset[`carousel${o=e,o?o.match("^[a-z]")?o.charAt(0).toUpperCase()+o.substring(1):o:""}`]="true",null===(t=this.container)||void 0===t||t.appendChild(i),i}build(){const e=this.instance.container,t=this.cn("container");let{container:n,prev:i,next:s}=this;n||(n=e.querySelector("."+t),this.isDom=!!n),n||(n=document.createElement("div"),M(n,t),e.appendChild(n)),this.container=n,s||(s=n.querySelector("[data-carousel-next]")),s||(s=this.addBtn(G)),this.next=s,i||(i=n.querySelector("[data-carousel-prev]")),i||(i=this.addBtn(q)),this.prev=i}cleanup(){this.isDom||(this.prev&&this.prev.remove(),this.next&&this.next.remove(),this.container&&this.container.remove()),this.prev=null,this.next=null,this.container=null,this.isDom=!1}attach(){this.instance.on(["refresh","change"],this.onRefresh)}detach(){this.instance.off(["refresh","change"],this.onRefresh),this.cleanup()}}Object.defineProperty(X,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{classes:{container:"f-carousel__nav",button:"f-button",isNext:"is-next",isPrev:"is-prev"},nextTpl:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" tabindex="-1"><path d="M9 3l9 9-9 9"/></svg>
1',prevTpl:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" tabindex="-1"><path d="M15 3l-9 9 9 9"/></svg>'}});class U extends H{constructor(){super(...arguments),Object.defineProperty(this,"selectedIndex",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"target",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"nav",{enumerable:!0,configurable:!0,writable:!0,value:null})}addAsTargetFor(e){this.target=this.instance,this.nav=e,this.attachEvents()}addAsNavFor(e){this.nav=this.instance,this.target=e,this.attachEvents()}attachEvents(){const{nav:e,target:t}=this;e&&t&&(e.options.initialSlide=t.options.initialPage,e.state===B.Ready?this.onNavReady(e):e.on("ready",this.onNavReady),t.state===B.Ready?this.onTargetReady(t):t.on("ready",this.onTargetReady))}onNavReady(e){e.on("createSlide",this.onNavCreateSlide),e.on("Panzoom.click",this.onNavClick),e.on("Panzoom.touchEnd",this.onNavTouch),this.onTargetChange()}onTargetReady(e){e.on("change",this.onTargetChange),e.on("Panzoom.refresh",this.onTargetChange),this.onTargetChange()}onNavClick(e,t,n){this.onNavTouch(e,e.panzoom,n)}onNavTouch(e,t,n){var i,s;if(Math.abs(t.dragOffset.x)>3||Math.abs(t.dragOffset.y)>3)return;const o=n.target,{nav:r,target:a}=this;if(!r||!a||!o)return;const l=o.closest("[data-index]");if(n.stopPropagation(),n.preventDefault(),!l)return;const c=parseInt(l.dataset.index||"",10)||0,d=a.getPageForSlide(c),u=r.getPageForSlide(c);r.slideTo(u),a.slideTo(d,{friction:(null===(s=null===(i=this.nav)||void 0===i?void 0:i.plugins)||void 0===s?void 0:s.Sync.option("friction"))||0}),this.markSelectedSlide(c)}onNavCreateSlide(e,t){t.index===this.selectedIndex&&this.markSelectedSlide(t.index)}onTargetChange(){var e,t;const{target:n,nav:i}=this;if(!n||!i)return;if(i.state!==B.Ready||n.state!==B.Ready)return;const s=null===(t=null===(e=n.pages[n.page])||void 0===e?void 0:e.slides[0])||void 0===t?void 0:t.index,o=i.getPageForSlide(s);this.markSelectedSlide(s),i.slideTo(o,null===i.prevPage&&null===n.prevPage?{friction:0}:void 0)}markSelectedSlide(e){const t=this.nav;t&&t.state===B.Ready&&(this.selectedIndex=e,[...t.slides].map((t=>{t.el&&t.el.classList[t.index===e?"add":"remove"]("is-nav-selected")})))}attach(){const e=this;let t=e.options.target,n=e.options.nav;t?e.addAsNavFor(t):n&&e.addAsTargetFor(n)}detach(){const e=this,t=e.nav,n=e.target;t&&(t.off("ready",e.onNavReady),t.off("createSlide",e.onNavCreateSlide),t.off("Panzoom.click",e.onNavClick),t.off("Panzoom.touchEnd",e.onNavTouch)),e.nav=null,n&&(n.off("ready",e.onTargetReady),n.off("refresh",e.onTargetChange),n.off("change",e.onTargetChange)),e.target=null}}Object.defineProperty(U,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{friction:.35}});const Y={Navigation:X,Dots:W,Sync:U},Z="animationend",K="isSelected",J="slide";class Q extends b{get axis(){return this.isHorizontal?"e":"f"}get isEnabled(){return this.state===B.Ready}get isInfinite(){let e=!1;const{contentDim:t,viewportDim:n,pages:i,slides:s}=this,o=s[0];return i.length>=2&&o&&t+o.dim>=n&&(e=this.option("infinite")),e}get isRTL(){return"rtl"===this.option("direction")}get isHorizontal(){return"x"===this.option("axis")}constructor(e,t={},n={}){if(super(),Object.defineProperty(this,"bp",{enumerable:!0,configurable:!0,writable:!0,value:""}),Object.defineProperty(this,"lp",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"userOptions",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"userPlugins",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"state",{enumerable:!0,configurable:!0,writable:!0,value:B.Init}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"prevPage",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"viewport",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"track",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"slides",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"pages",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"panzoom",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"inTransition",{enumerable:!0,configurable:!0,writable:!0,value:new Set}),Object.defineProperty(this,"contentDim",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"viewportDim",{enumerable:!0,configurable:!0,writable:!0,value:0}),"string"==typeof e&&(e=document.querySelector(e)),!e||!C(e))throw new Error("No Element found");this.container=e,this.slideNext=z(this.slideNext.bind(this),150),this.slidePrev=z(this.slidePrev.bind(this),150),this.userOptions=t,this.userPlugins=n,queueMicrotask((()=>{this.processOptions()}))}processOptions(){var e,t;const n=m({},Q.defaults,this.userOptions);let i="";const s=n.breakpoints;if(s&&f(s))for(const[e,t]of Object.entries(s))window.matchMedia(e).matches&&f(t)&&(i+=e,m(n,t));i===this.bp&&this.state!==B.Init||(this.bp=i,this.state===B.Ready&&(n.initialSlide=(null===(t=null===(e=this.pages[this.page])||void 0===e?void 0:e.slides[0])||void 0===t?void 0:t.index)||0),this.state!==B.Init&&this.destroy(),super.setOptions(n),!1===this.option("enabled")?this.attachEvents():setTimeout((()=>{this.init()}),0))}
1init(){this.state=B.Init,this.emit("init"),this.attachPlugins(Object.assign(Object.assign({},Q.Plugins),this.userPlugins)),this.emit("attachPlugins"),this.initLayout(),this.initSlides(),this.updateMetrics(),this.setInitialPosition(),this.initPanzoom(),this.attachEvents(),this.state=B.Ready,this.emit("ready")}initLayout(){const{container:e}=this,t=this.option("classes");M(e,this.cn("container")),l(e,t.isLTR,!this.isRTL),l(e,t.isRTL,this.isRTL),l(e,t.isVertical,!this.isHorizontal),l(e,t.isHorizontal,this.isHorizontal);let n=this.option("viewport")||e.querySelector(`.${t.viewport}`);n||(n=document.createElement("div"),M(n,t.viewport),n.append(...j(e,`.${t.slide}`)),e.prepend(n)),n.addEventListener("scroll",this.onScroll);let i=this.option("track")||e.querySelector(`.${t.track}`);i||(i=document.createElement("div"),M(i,t.track),i.append(...Array.from(n.childNodes))),i.setAttribute("aria-live","polite"),n.contains(i)||n.prepend(i),this.viewport=n,this.track=i,this.emit("initLayout")}initSlides(){const{track:e}=this;if(!e)return;const t=[...this.slides],n=[];[...j(e,`.${this.cn(J)}`)].forEach((e=>{if(C(e)){const t=N({el:e,isDom:!0,index:this.slides.length});n.push(t)}}));for(let e of[...this.option("slides",[])||[],...t])n.push(N(e));this.slides=n;for(let e=0;e<this.slides.length;e++)this.slides[e].index=e;
1for(const e of n)this.emit("beforeInitSlide",e,e.index),this.emit("initSlide",e,e.index);this.emit("initSlides")}setInitialPage(){const e=this.option("initialSlide");this.page="number"==typeof e?this.getPageForSlide(e):parseInt(this.option("initialPage",0)+"",10)||0}setInitialPosition(){const{track:e,pages:t,isHorizontal:n}=this;if(!e||!t.length)return;let i=this.page;t[i]||(this.page=i=0);const s=(t[i].pos||0)*(this.isRTL&&n?1:-1),o=n?`${s}px`:"0",r=n?"0":`${s}px`;e.style.transform=`translate3d(${o}, ${r}, 0) scale(1)`,this.option("adaptiveHeight")&&this.setViewportHeight()}initPanzoom(){this.panzoom&&(this.panzoom.destroy(),this.panzoom=null);const e=this.option("Panzoom")||{};this.panzoom=new F(this.viewport,m({},{content:this.track,zoom:!1,panOnlyZoomed:!1,lockAxis:this.isHorizontal?"x":"y",infinite:this.isInfinite,click:!1,dblClick:!1,touch:e=>!(this.pages.length<2&&!e.options.infinite),bounds:()=>this.getBounds(),maxVelocity:e=>Math.abs(e.target[this.axis]-e.current[this.axis])<2*this.viewportDim?100:0},e)),this.panzoom.on("*",((e,t,...n)=>{this.emit(`Panzoom.${t}`,e,...n)})),this.panzoom.on("decel",this.onDecel),this.panzoom.on("refresh",this.onRefresh),this.panzoom.on("beforeTransform",this.onBeforeTransform),this.panzoom.on("endAnimation",this.onEndAnimation)}attachEvents(){const e=this.container;e&&(e.addEventListener("click",this.onClick,{passive:!1,capture:!1}),e.addEventListener("slideTo",this.onSlideTo)),window.addEventListener("resize",this.onResize)}createPages(){let e=[];const{contentDim:t,viewportDim:n}=this;let i=this.option("slidesPerPage");i=("auto"===i||t<=n)&&!1!==this.option("fill")?1/0:parseFloat(i+"");let s=0,o=0,r=0;for(const t of this.slides)(!e.length||o+t.dim-n>.05||r>=i)&&(e.push($()),s=e.length-1,o=0,r=0),e[s].slides.push(t),o+=t.dim+t.gap,r++;return e}processPages(){const e=this.pages,{contentDim:t,viewportDim:n,isInfinite:s}=this,o=this.option("center"),r=this.option("fill"),a=r&&o&&t>n&&!s;if(e.forEach(((e,i)=>{var s;e.index=i,e.pos=(null===(s=e.slides[0])||void 0===s?void 0:s.pos)||0,e.dim=0;for(const[t,n]of e.slides.entries())e.dim+=n.dim,t<e.slides.length-1&&(e.dim+=n.gap);a&&e.pos+.5*e.dim<.5*n?e.pos=0:a&&e.pos+.5*e.dim>=t-.5*n?e.pos=t-n:o&&(e.pos+=-.5*(n-e.dim))})),e.forEach((e=>{r&&!s&&t>n&&(e.pos=Math.max(e.pos,0),e.pos=Math.min(e.pos,t-n)),e.pos=i(e.pos,1e3),e.dim=i(e.dim,1e3),Math.abs(e.pos)<=.1&&(e.pos=0)})),s)return e;const l=[];let c;return e.forEach((e=>{const t=Object.assign({},e);c&&t.pos===c.pos?(c.dim+=t.dim,c.slides=[...c.slides,...t.slides]):(t.index=l.length,c=t,l.push(t))})),l}getPageFromIndex(e=0){const t=this.pages.length;let n;return e=parseInt((e||0).toString())||0,n=this.isInfinite?(e%t+t)%t:Math.max(Math.min(e,t-1),0),n}getSlideMetrics(e){var t,n;const s=this.isHorizontal?"width":"height";let o=0,r=0,a=e.el;const l=!(!a||a.parentNode);if(a?o=parseFloat(a.dataset[s]||"")||0:(a=document.createElement("div"),a.style.visibility="hidden",(this.track||document.body).prepend(a)),M(a,this.cn(J)+" "+e.class+" "+e.customClass),o)a.style[s]=`${o}px`,a.style["width"===s?"height":"width"]="";else{l&&(this.track||document.body).prepend(a),o=a.getBoundingClientRect()[s]*Math.max(1,(null===(t=window.visualViewport)||void 0===t?void 0:t.scale)||1);let e=a[this.isHorizontal?"offsetWidth":"offsetHeight"];e-1>o&&(o=e)}const c=getComputedStyle(a);return"content-box"===c.boxSizing&&(this.isHorizontal?(o+=parseFloat(c.paddingLeft)||0,o+=parseFloat(c.paddingRight)||0):(o+=parseFloat(c.paddingTop)||0,o+=parseFloat(c.paddingBottom)||0)),r=parseFloat(c[this.isHorizontal?"marginRight":"marginBottom"])||0,l?null===(n=a.parentElement)||void 0===n||n.removeChild(a):e.el||a.remove(),{dim:i(o,1e3),gap:i(r,1e3)}}getBounds(){const{isInfinite:e,isRTL:t,isHorizontal:n,pages:i}=this;let s={min:0,max:0};if(e)s={min:-1/0,max:1/0};else if(i.length){const e=i[0].pos,o=i[i.length-1].pos;s=t&&n?{min:e,max:o}:{min:-1*o,max:-1*e}}return{x:n?s:{min:0,max:0},y:n?{min:0,max:0}:s}}repositionSlides(){let e,{isHorizontal:t,isRTL:n,isInfinite:s,viewport:o,viewportDim:r,contentDim:a,page:l,pages:c,slides:d,panzoom:u}=this,h=0,p=0,f=0,m=0;u?m=-1*u.current[this.axis]:c[l]&&(m=c[l].pos||0),e=t?n?"right":"left":"top",n&&t&&(m*=-1);for(const t of d){const n=t.el;n?("top"===e?(n.style.right="",n.style.left=""):n.style.top="",t.index!==h?n.style[e]=0===p?"":`${i(p,1e3)}px`:n.style[e]="",f+=t.dim+t.gap,h++):p+=t.dim+t.gap}if(s&&f&&o){let n=getComputedStyle(o),s="padding",l=t?"Right":"Bottom",c=parseFloat(n[s+(t?"Left":"Top")]);m-=c,r+=c,r+=parseFloat(n[s+l]);for(const t of d)t.el&&(i(t.pos)<i(r)&&i(t.pos+t.dim+t.gap)<i(m)&&i(m)>i(a-r)&&(t.el.style[e]=`${i(p+f,1e3)}px`),i(t.pos+t.gap)>=i(a-r)&&i(t.pos)>i(m+r)&&i(m)<i(r)&&(t.el.style[e]=`-${i(f,1e3)}px`))}let g,v,b=[...this.inTransition];if(b.length>1&&(g=c[b[0]],v=c[b[1]]),g&&v){let t=0;for(const n of d)n.el?this.inTransition.has(n.index)&&g.slides.indexOf(n)<0&&(n.el.style[e]=`${i(t+(g.pos-v.pos),1e3)}px`):t+=n.dim+n.gap}}createSlideEl(e){const{track:t,slides:n}=this;if(!t||!e)return;if(e.el&&e.el.parentNode)return;const i=e.el||document.createElement("div");M(i,this.cn(J)),M(i,e.class),M(i,e.customClass);const s=e.html;s&&(s instanceof HTMLElement?i.appendChild(s):i.innerHTML=e.html+"");const o=[];
1n.forEach(((e,t)=>{e.el&&o.push(t)}));const r=e.index;let a=null;o.length&&(a=n[o.reduce(((e,t)=>Math.abs(t-r)<Math.abs(e-r)?t:e))]);const l=a&&a.el&&a.el.parentNode?a.index<e.index?a.el.nextSibling:a.el:null;t.insertBefore(i,t.contains(l)?l:null),e.el=i,this.emit("createSlide",e)}removeSlideEl(e,t=!1){const n=null==e?void 0:e.el;if(!n||!n.parentNode)return;const i=this.cn(K);if(n.classList.contains(i)&&(P(n,i),this.emit("unselectSlide",e)),e.isDom&&!t)return n.removeAttribute("aria-hidden"),n.removeAttribute("data-index"),void(n.style.left="");this.emit("removeSlide",e);const s=new CustomEvent(Z);n.dispatchEvent(s),e.el&&(e.el.remove(),e.el=null)}transitionTo(e=0,t=this.option("transition")){var n,i,s,o;if(!t)return!1;const r=this.page,{pages:a,panzoom:l}=this;e=parseInt((e||0).toString())||0;const c=this.getPageFromIndex(e);if(!l||!a[c]||a.length<2||Math.abs(((null===(i=null===(n=a[r])||void 0===n?void 0:n.slides[0])||void 0===i?void 0:i.dim)||0)-this.viewportDim)>1)return!1;let d=e>r?1:-1;this.isInfinite&&(0===r&&e===a.length-1&&(d=-1),r===a.length-1&&0===e&&(d=1));const u=a[c].pos*(this.isRTL?1:-1);if(r===c&&Math.abs(u-l.target[this.axis])<1)return!1;this.clearTransitions();const h=l.isResting;M(this.container,this.cn("inTransition"));const p=(null===(s=a[r])||void 0===s?void 0:s.slides[0])||null,f=(null===(o=a[c])||void 0===o?void 0:o.slides[0])||null;this.inTransition.add(f.index),this.createSlideEl(f);let m=p.el,g=f.el;h||t===J||(t="fadeFast",m=null);const v=this.isRTL?"next":"prev",b=this.isRTL?"prev":"next";return m&&(this.inTransition.add(p.index),p.transition=t,m.addEventListener(Z,this.onAnimationEnd),m.classList.add(`f-${t}Out`,`to-${d>0?b:v}`)),g&&(f.transition=t,g.addEventListener(Z,this.onAnimationEnd),g.classList.add(`f-${t}In`,`from-${d>0?v:b}`)),l.current[this.axis]=u,l.target[this.axis]=u,l.requestTick(),this.onChange(c),!0}manageSlideVisiblity(){const e=new Set,t=new Set,n=this.getVisibleSlides(parseFloat(this.option("preload",0)+"")||0);for(const i of this.slides)n.has(i)?e.add(i):t.add(i);for(const t of this.inTransition)e.add(this.slides[t]);for(const t of e)this.createSlideEl(t),this.lazyLoadSlide(t);for(const n of t)e.has(n)||this.removeSlideEl(n);this.markSelectedSlides(),this.repositionSlides()}markSelectedSlides(){if(!this.pages[this.page]||!this.pages[this.page].slides)return;const e="aria-hidden";let t=this.cn(K);if(t)for(const n of this.slides){const i=n.el;i&&(i.dataset.index=`${n.index}`,i.classList.contains("f-thumbs__slide")?this.getVisibleSlides(0).has(n)?i.removeAttribute(e):i.setAttribute(e,"true"):this.pages[this.page].slides.includes(n)?(i.classList.contains(t)||(M(i,t),this.emit("selectSlide",n)),i.removeAttribute(e)):(i.classList.contains(t)&&(P(i,t),this.emit("unselectSlide",n)),i.setAttribute(e,"true")))}}flipInfiniteTrack(){const{axis:e,isHorizontal:t,isInfinite:n,isRTL:i,viewportDim:s,contentDim:o}=this,r=this.panzoom;if(!r||!n)return;let a=r.current[e],l=r.target[e]-a,c=0,d=.5*s;i&&t?(a<-d&&(c=-1,a+=o),a>o-d&&(c=1,a-=o)):(a>d&&(c=1,a-=o),a<-o+d&&(c=-1,a+=o)),c&&(r.current[e]=a,r.target[e]=a+l)}lazyLoadImg(e,t){const n=this,i="f-fadeIn",s="is-preloading";let o=!1,a=null;const l=()=>{o||(o=!0,a&&(a.remove(),a=null),P(t,s),t.complete&&(M(t,i),setTimeout((()=>{P(t,i)}),350)),this.option("adaptiveHeight")&&e.el&&this.pages[this.page].slides.indexOf(e)>-1&&(n.updateMetrics(),n.setViewportHeight()),this.emit("load",e))};M(t,s),t.src=t.dataset.lazySrcset||t.dataset.lazySrc||"",delete t.dataset.lazySrc,delete t.dataset.lazySrcset,t.addEventListener("error",(()=>{l()})),t.addEventListener("load",(()=>{l()})),setTimeout((()=>{const n=t.parentNode;n&&e.el&&(t.complete?l():o||(a=r(T),n.insertBefore(a,t)))}),300)}lazyLoadSlide(e){const t=e&&e.el;if(!t)return;const n=new Set;let i=Array.from(t.querySelectorAll("[data-lazy-src],[data-lazy-srcset]"));t.dataset.lazySrc&&i.push(t),i.map((e=>{e instanceof HTMLImageElement?n.add(e):e instanceof HTMLElement&&e.dataset.lazySrc&&(e.style.backgroundImage=`url('${e.dataset.lazySrc}')`,delete e.dataset.lazySrc)}));for(const t of n)this.lazyLoadImg(e,t)}onAnimationEnd(e){var t;const n=e.target,i=n?parseInt(n.dataset.index||"",10)||0:-1,s=this.slides[i],o=e.animationName;if(!n||!s||!o)return;const r=!!this.inTransition.has(i)&&s.transition;r&&o.substring(0,r.length+2)===`f-${r}`&&this.inTransition.delete(i),this.inTransition.size||this.clearTransitions(),i===this.page&&(null===(t=this.panzoom)||void 0===t?void 0:t.isResting)&&this.emit
1("settle")}onDecel(e,t=0,n=0,i=0,s=0){if(this.option("dragFree"))return void this.setPageFromPosition();const{isRTL:o,isHorizontal:r,axis:a,pages:l}=this,c=l.length,d=Math.abs(Math.atan2(n,t)/(Math.PI/180));let u=0;if(u=d>45&&d<135?r?0:n:r?t:0,!c)return;let h=this.page,p=o&&r?1:-1;const f=e.current[a]*p;let{pageIndex:m}=this.getPageFromPosition(f);Math.abs(u)>5?(l[h].dim<document.documentElement["client"+(this.isHorizontal?"Width":"Height")]-1&&(h=m),h=o&&r?u<0?h-1:h+1:u<0?h+1:h-1):h=0===i&&0===s?h:m,this.slideTo(h,{transition:!1,friction:e.option("decelFriction")})}onClick(e){const t=e.target,n=t&&C(t)?t.dataset:null;let i,s;n&&(void 0!==n.carouselPage?(s="slideTo",i=n.carouselPage):void 0!==n.carouselNext?s="slideNext":void 0!==n.carouselPrev&&(s="slidePrev")),s?(e.preventDefault(),e.stopPropagation(),t&&!t.hasAttribute("disabled")&&this[s](i)):this.emit("click",e)}onSlideTo(e){const t=e.detail||0;this.slideTo(this.getPageForSlide(t),{friction:0})}onChange(e,t=0){const n=this.page;this.prevPage=n,this.page=e,this.option("adaptiveHeight")&&this.setViewportHeight(),e!==n&&(this.markSelectedSlides(),this.emit("change",e,n,t))}onRefresh(){let e=this.contentDim,t=this.viewportDim;this.updateMetrics(),this.contentDim===e&&this.viewportDim===t||this.slideTo(this.page,{friction:0,transition:!1})}onScroll(){var e;null===(e=this.viewport)||void 0===e||e.scroll(0,0)}onResize(){this.option("breakpoints")&&this.processOptions()}onBeforeTransform(e){this.lp!==e.current[this.axis]&&(this.flipInfiniteTrack(),this.manageSlideVisiblity()),this.lp=e.current.e}onEndAnimation(){this.inTransition.size||this.emit("settle")}reInit(e=null,t=null){this.destroy(),this.state=B.Init,this.prevPage=null,this.userOptions=e||this.userOptions,this.userPlugins=t||this.userPlugins,this.processOptions()}slideTo(e=0,{friction:t=this.option("friction"),transition:n=this.option("transition")}={}){if(this.state===B.Destroy)return;e=parseInt((e||0).toString())||0;const i=this.getPageFromIndex(e),{axis:s,isHorizontal:o,isRTL:r,pages:a,panzoom:l}=this,c=a.length,d=r&&o?1:-1;if(!l||!c)return;if(this.page!==i){const t=new Event("beforeChange",{bubbles:!0,cancelable:!0});if(this.emit("beforeChange",t,e),t.defaultPrevented)return}if(this.transitionTo(e,n))return;let u=a[i].pos;if(this.isInfinite){const t=this.contentDim,n=l.target[s]*d;2===c?u+=t*Math.floor(parseFloat(e+"")/2):u=[u,u-t,u+t].reduce((function(e,t){return Math.abs(t-n)<Math.abs(e-n)?t:e}))}u*=d,Math.abs(l.target[s]-u)<1||(l.panTo({x:o?u:0,y:o?0:u,friction:t}),this.onChange(i))}slideToClosest(e){if(this.panzoom){const{pageIndex:t}=this.getPageFromPosition();this.slideTo(t,e)}}slideNext(){this.slideTo(this.page+1)}slidePrev(){this.slideTo(this.page-1)}clearTransitions(){this.inTransition.clear(),P(this.container,this.cn("inTransition"));const e=["to-prev","to-next","from-prev","from-next"];for(const t of this.slides){const n=t.el;if(n){n.removeEventListener(Z,this.onAnimationEnd),n.classList.remove(...e);const i=t.transition;i&&n.classList.remove(`f-${i}Out`,`f-${i}In`)}}this.manageSlideVisiblity()}addSlide(e,t){var n,i,s,o;const r=this.panzoom,a=(null===(n=this.pages[this.page])||void 0===n?void 0:n.pos)||0,l=(null===(i=this.pages[this.page])||void 0===i?void 0:i.dim)||0,c=this.contentDim<this.viewportDim;let d=Array.isArray(t)?t:[t];const u=[];for(const e of d)u.push(N(e));this.slides.splice(e,0,...u);for(let e=0;e<this.slides.length;e++)this.slides[e].index=e;for(const e of u)this.emit("beforeInitSlide",e,e.index);if(this.page>=e&&(this.page+=u.length),this.updateMetrics(),r){const t=(null===(s=this.pages[this.page])||void 0===s?void 0:s.pos)||0,n=(null===(o=this.pages[this.page])||void 0===o?void 0:o.dim)||0,i=this.pages.length||1,d=this.isRTL?l-n:n-l,u=this.isRTL?a-t:t-a;c&&1===i?(e<=this.page&&(r.current[this.axis]-=d,r.target[this.axis]-=d),r.panTo({[this.isHorizontal?"x":"y"]:-1*t})):u&&e<=this.page&&(r.target[this.axis]-=u,r.current[this.axis]-=u,r.requestTick())}for(const e of u)this.emit("initSlide",e,e.index)}prependSlide(e){this.addSlide(0,e)}appendSlide(e){this.addSlide(this.slides.length,e)}removeSlide(e){const t=this.slides.length;e=(e%t+t)%t;const n=this.slides[e];if(n){this.removeSlideEl(n,!0),this.slides.splice(e,1);for(let e=0;e<this.slides.length;e++)this.slides[e].index=e;this.updateMetrics(),this.slideTo(this.page,{friction:0,transition:!1}
1),this.emit("destroySlide",n)}}updateMetrics(){const{panzoom:e,viewport:t,track:n,slides:s,isHorizontal:o,isInfinite:r}=this;if(!n)return;const a=o?"width":"height",l=o?"offsetWidth":"offsetHeight";if(t){let e=Math.max(t[l],i(t.getBoundingClientRect()[a],1e3)),n=getComputedStyle(t),s="padding",r=o?"Right":"Bottom";e-=parseFloat(n[s+(o?"Left":"Top")])+parseFloat(n[s+r]),this.viewportDim=e}let c,d=0;for(const[e,t]of s.entries()){let n=0,o=0;!t.el&&c?(n=c.dim,o=c.gap):(({dim:n,gap:o}=this.getSlideMetrics(t)),c=t),n=i(n,1e3),o=i(o,1e3),t.dim=n,t.gap=o,t.pos=d,d+=n,(r||e<s.length-1)&&(d+=o)}d=i(d,1e3),this.contentDim=d,e&&(e.contentRect[a]=d,e.contentRect[o?"fullWidth":"fullHeight"]=d),this.pages=this.createPages(),this.pages=this.processPages(),this.state===B.Init&&this.setInitialPage(),this.page=Math.max(0,Math.min(this.page,this.pages.length-1)),this.manageSlideVisiblity(),this.emit("refresh")}getProgress(e,t=!1,n=!1){void 0===e&&(e=this.page);const s=this,o=s.panzoom,r=s.contentDim,a=s.pages[e]||0;if(!a||!o)return e>this.page?-1:1;let l=-1*o.current.e,c=i((l-a.pos)/(1*a.dim),1e3),d=c,u=c;this.isInfinite&&!0!==n&&(d=i((l-a.pos+r)/(1*a.dim),1e3),u=i((l-a.pos-r)/(1*a.dim),1e3));let h=[c,d,u].reduce((function(e,t){return Math.abs(t)<Math.abs(e)?t:e}));return t?h:h>1?1:h<-1?-1:h}setViewportHeight(){const{page:e,pages:t,viewport:n,isHorizontal:i}=this;if(!n||!t[e])return;let s=0;i&&this.track&&(this.track.style.height="auto",t[e].slides.forEach((e=>{e.el&&(s=Math.max(s,e.el.offsetHeight))}))),n.style.height=s?`${s}px`:""}getPageForSlide(e){for(const t of this.pages)for(const n of t.slides)if(n.index===e)return t.index;return-1}getVisibleSlides(e=0){var t;const n=new Set;let{panzoom:i,contentDim:s,viewportDim:o,pages:r,page:a}=this;if(o){s=s+(null===(t=this.slides[this.slides.length-1])||void 0===t?void 0:t.gap)||0;let l=0;l=i&&i.state!==y.Init&&i.state!==y.Destroy?-1*i.current[this.axis]:r[a]&&r[a].pos||0,this.isInfinite&&(l-=Math.floor(l/s)*s),this.isRTL&&this.isHorizontal&&(l*=-1);const c=l-o*e,d=l+o*(e+1),u=this.isInfinite?[-1,0,1]:[0];for(const e of this.slides)for(const t of u){const i=e.pos+t*s,o=i+e.dim+e.gap;i<d&&o>c&&n.add(e)}}return n}getPageFromPosition(e){const{viewportDim:t,contentDim:n,slides:i,pages:s,panzoom:o}=this,r=s.length,a=i.length,l=i[0],c=i[a-1],d=this.option("center");let u=0,h=0,p=0,f=void 0===e?-1*((null==o?void 0:o.target[this.axis])||0):e;d&&(f+=.5*t),this.isInfinite?(f<l.pos-.5*c.gap&&(f-=n,p=-1),f>c.pos+c.dim+.5*c.gap&&(f-=n,p=1)):f=Math.max(l.pos||0,Math.min(f,c.pos));let m=c,g=i.find((e=>{const t=e.pos-.5*m.gap,n=e.pos+e.dim+.5*e.gap;return m=e,f>=t&&f<n}));return g||(g=c),h=this.getPageForSlide(g.index),u=h+p*r,{page:u,pageIndex:h}}setPageFromPosition(){const{pageIndex:e}=this.getPageFromPosition();this.onChange(e)}destroy(){if([B.Destroy].includes(this.state))return;this.state=B.Destroy;const{container:e,viewport:t,track:n,slides:i,panzoom:s}=this,o=this.option("classes");e.removeEventListener("click",this.onClick,{passive:!1,capture:!1}),e.removeEventListener("slideTo",this.onSlideTo),window.removeEventListener("resize",this.onResize),s&&(s.destroy(),this.panzoom=null),i&&i.forEach((e=>{this.removeSlideEl(e)})),this.detachPlugins(),t&&(t.removeEventListener("scroll",this.onScroll),t.offsetParent&&n&&n.offsetParent&&t.replaceWith(...n.childNodes));for(const[t,n]of Object.entries(o))"container"!==t&&n&&e.classList.remove(n);this.track=null,this.viewport=null,this.page=0,this.slides=[];const r=this.events.get("ready");this.events=new Map,r&&this.events.set("ready",r)}}Object.defineProperty(Q,"Panzoom",{enumerable:!0,configurable:!0,writable:!0,value:F}),Object.defineProperty(Q,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{viewport:null,track:null,enabled:!0,slides:[],axis:"x",transition:"fade",preload:1,slidesPerPage:"auto",initialPage:0,friction:.12,Panzoom:{decelFriction:.12},center:!0,infinite:!0,fill:!0,dragFree:!1,adaptiveHeight:!1,direction:"ltr",classes:{container:"f-carousel",viewport:"f-carousel__viewport",track:"f-carousel__track",slide:"f-carousel__slide",isLTR:"is-ltr",isRTL:"is-rtl",isHorizontal:"is-horizontal",isVertical:"is-vertical",inTransition:"in-transition",isSelected:"is-selected"},l10n:{NEXT:"Next slide",PREV:"Previous slide",GOTO:"Go to slide #%d"}}}),Object.defineProperty(Q,"Plugins",{enumerable:!0,configurable:!0,writable:!0,value:Y});const ee=function(e){if(!C(e))return 0;const t=window.scrollY,n=window.innerHeight,i=t+n,s=e.getBoundingClientRect(),o=s.y+t,r=s.height,a=o+r;if(t>a||i<o)return 0;if(t<o&&i>a)return 100;if(o<t&&a>i)return 100;let l=r;o<t&&(l-=t-o),a>i&&(l-=a-i);const c=l/n*100;return Math.round(c)},te=!("undefined"==typeof window||!window.document||!window.document.createElement);let ne;const ie=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden]):not(.fancybox-focus-guard)","iframe","object","embed","video","audio","[contenteditable]",'[tabindex]:not
1([tabindex^="-"]):not([disabled]):not([aria-hidden])'].join(","),se=e=>{if(e&&te){void 0===ne&&document.createElement("div").focus({get preventScroll(){return ne=!0,!1}});try{if(ne)e.focus({preventScroll:!0});else{const t=window.scrollY||document.body.scrollTop,n=window.scrollX||document.body.scrollLeft;e.focus(),document.body.scrollTo({top:t,left:n,behavior:"auto"})}}catch(e){}}},oe=()=>{const e=document;let t,n="",i="",s="";return e.fullscreenEnabled?(n="requestFullscreen",i="exitFullscreen",s="fullscreenElement"):e.webkitFullscreenEnabled&&(n="webkitRequestFullscreen",i="webkitExitFullscreen",s="webkitFullscreenElement"),n&&(t={request:function(t=e.documentElement){return"webkitRequestFullscreen"===n?t[n](Element.ALLOW_KEYBOARD_INPUT):t[n]()},exit:function(){return e[s]&&e[i]()},isFullscreen:function(){return e[s]}}),t},re={animated:!0,autoFocus:!0,backdropClick:"close",Carousel:{classes:{container:"fancybox__carousel",viewport:"fancybox__viewport",track:"fancybox__track",slide:"fancybox__slide"}},closeButton:"auto",closeExisting:!1,commonCaption:!1,compact:()=>window.matchMedia("(max-width: 578px), (max-height: 578px)").matches,contentClick:"toggleZoom",contentDblClick:!1,defaultType:"image",defaultDisplay:"flex",dragToClose:!0,Fullscreen:{autoStart:!1},groupAll:!1,groupAttr:"data-fancybox",hideClass:"f-fadeOut",hideScrollbar:!0,idle:3500,keyboard:{Escape:"close",Delete:"close",Backspace:"close",PageUp:"next",PageDown:"prev",ArrowUp:"prev",ArrowDown:"next",ArrowRight:"next",ArrowLeft:"prev"},l10n:Object.assign(Object.assign({},x),{CLOSE:"Close",NEXT:"Next",PREV:"Previous",MODAL:"You can close this modal content with the ESC key",ERROR:"Something Went Wrong, Please Try Again Later",IMAGE_ERROR:"Image Not Found",ELEMENT_NOT_FOUND:"HTML Element Not Found",AJAX_NOT_FOUND:"Error Loading AJAX : Not Found",AJAX_FORBIDDEN:"Error Loading AJAX : Forbidden",IFRAME_ERROR:"Error Loading Page",TOGGLE_ZOOM:"Toggle zoom level",TOGGLE_THUMBS:"Toggle thumbnails",TOGGLE_SLIDESHOW:"Toggle slideshow",TOGGLE_FULLSCREEN:"Toggle full-screen mode",DOWNLOAD:"Download"}),parentEl:null,placeFocusBack:!0,showClass:"f-zoomInUp",startIndex:0,tpl:{closeButton:'<button data-fancybox-close class="f-button is-close-btn" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" tabindex="-1"><path d="M20 20L4 4m16 0L4 20"/></svg></button>',main:'<div class="fancybox__container" role="dialog" aria-modal="true" aria-label="{{MODAL}}" tabindex="-1">\n    <div class="fancybox__backdrop"></div>\n    <div class="fancybox__carousel"></div>\n    <div class="fancybox__footer"></div>\n  </div>'},trapFocus:!0,wheel:"zoom"};var ae,le;!function(e){e[e.Init=0]="Init",e[e.Ready=1]="Ready",e[e.Closing=2]="Closing",e[e.CustomClosing=3]="CustomClosing",e[e.Destroy=4]="Destroy"}(ae||(ae={})),function(e){e[e.Loading=0]="Loading",e[e.Opening=1]="Opening",e[e.Ready=2]="Ready",e[e.Closing=3]="Closing"}(le||(le={}));let ce="",de=!1,ue=!1,he=null;const pe=()=>{let e="",t="";const n=Pt.getInstance();if(n){const i=n.carousel,s=n.getSlide();if(i&&s){let o=s.slug||void 0,r=s.triggerEl||void 0;t=o||n.option("slug")||"",!t&&r&&r.dataset&&(t=r.dataset.fancybox||""),t&&"true"!==t&&(e="#"+t+(!o&&i.slides.length>1?"-"+(s.index+1):""))}}return{hash:e,slug:t,index:1}},fe=()=>{const e=new URL(document.URL).hash,t=e.slice(1).split("-"),n=t[t.length-1],i=n&&/^\+?\d+$/.test(n)&&parseInt(t.pop()||"1",10)||1;return{hash:e,slug:t.join("-"),index:i}},me=()=>{const{slug:e,index:t}=fe();if(!e)return;let n=document.querySelector(`[data-slug="${e}"]`);if(n&&n.dispatchEvent(new CustomEvent("click",{bubbles:!0,cancelable:!0})),Pt.getInstance())return;const i=document.querySelectorAll(`[data-fancybox="${e}"]`);i.length&&(n=i[t-1],n&&n.dispatchEvent(new CustomEvent("click",{bubbles:!0,cancelable:!0})))},ge=()=>{if(!1===Pt.defaults.Hash)return;const e=Pt.getInstance();if(!1===(null==e?void 0:e.options.Hash))return;const{slug:t,index:n}=fe(),{slug:i}=pe();e&&(t===i?e.jumpTo(n-1):(de=!0,e.close())),me()},ve=()=>{he&&clearTimeout(he),queueMicrotask((()=>{ge()}))},be=()=>{window.addEventListener("hashchange",ve,!1),setTimeout((()=>{ge()}),500)};te&&(/complete|interactive|loaded/.test(document.readyState)?be():document.addEventListener("DOMContentLoaded",be));const ye="is-zooming-in";class we extends H{onCreateSlide(e,t,n){const i=this.instance.optionFor(n,"src")||"";n.el&&"image"===n.type&&"string"==typeof i&&this.setImage(n,i)}onRemoveSlide(e,t,n){n.panzoom&&n.panzoom.destroy(),n.panzoom=void 0,n.imageEl=void 0}onChange(e,t,n,i){P(this.instance.container,ye);for(const e of t.slides){const t=e.panzoom;t&&e.index!==n&&t.reset(.35)}}onClose(){var e;const t=this.instance,n=t.container,i=t.getSlide();if(!n||!n.parentElement||!i)return;const{el:s,contentEl:o,panzoom:r,thumbElSrc:a}=i;if(!s||!a||!o||!r||r.isContentLoading||r.state===y.Init||r.state===y.Destroy)return;r.updateMetrics();let l=this.getZoomInfo(i);if(!l)return;this.instance.state=ae.CustomClosing,n.classList.remove(ye),n.classList.add("is-zooming-out"),o.style.backgroundImage=`url('${a}')`;const c=n.getBoundingClientRect();
11===((null===(e=window.visualViewport)||void 0===e?void 0:e.scale)||1)&&Object.assign(n.style,{position:"absolute",top:`${n.offsetTop+window.scrollY}px`,left:`${n.offsetLeft+window.scrollX}px`,bottom:"auto",right:"auto",width:`${c.width}px`,height:`${c.height}px`,overflow:"hidden"});const{x:d,y:u,scale:h,opacity:p}=l;if(p){const e=((e,t)=>{const n=t-e;return t=>1+((t-e)/n*-1||0)})(r.scale,h);r.on("afterTransform",(()=>{o.style.opacity=e(r.scale)+""}))}r.on("endAnimation",(()=>{t.destroy()})),r.target.a=h,r.target.b=0,r.target.c=0,r.target.d=h,r.panTo({x:d,y:u,scale:h,friction:p?.2:.33,ignoreBounds:!0}),r.isResting&&t.destroy()}setImage(e,t){const n=this.instance;e.src=t,this.process(e,t).then((t=>{const{contentEl:i,imageEl:s,thumbElSrc:o,el:r}=e;if(n.isClosing()||!i||!s)return;i.offsetHeight;const a=!!n.isOpeningSlide(e)&&this.getZoomInfo(e);if(this.option("protected")&&r){r.addEventListener("contextmenu",(e=>{e.preventDefault()}));const e=document.createElement("div");M(e,"fancybox-protected"),i.appendChild(e)}if(o&&a){const s=t.contentRect,r=Math.max(s.fullWidth,s.fullHeight);let c=null;!a.opacity&&r>1200&&(c=document.createElement("img"),M(c,"fancybox-ghost"),c.src=o,i.appendChild(c));const d=()=>{c&&(M(c,"f-fadeFastOut"),setTimeout((()=>{c&&(c.remove(),c=null)}),200))};(l=o,new Promise(((e,t)=>{const n=new Image;n.onload=e,n.onerror=t,n.src=l}))).then((()=>{n.hideLoading(e),e.state=le.Opening,this.instance.emit("reveal",e),this.zoomIn(e).then((()=>{d(),this.instance.done(e)}),(()=>{})),c&&setTimeout((()=>{d()}),r>2500?800:200)}),(()=>{n.hideLoading(e),n.revealContent(e)}))}else{const i=this.optionFor(e,"initialSize"),s=this.optionFor(e,"zoom"),o={event:n.prevMouseMoveEvent||n.options.event,friction:s?.12:0};let r=n.optionFor(e,"showClass")||void 0,a=!0;n.isOpeningSlide(e)&&("full"===i?t.zoomToFull(o):"cover"===i?t.zoomToCover(o):"max"===i?t.zoomToMax(o):a=!1,t.stop("current")),a&&r&&(r=t.isDragging?"f-fadeIn":""),n.hideLoading(e),n.revealContent(e,r)}var l}),(()=>{n.setError(e,"{{IMAGE_ERROR}}")}))}process(e,t){return new Promise(((n,i)=>{var s;const o=this.instance,a=e.el;o.clearContent(e),o.showLoading(e);let l=this.optionFor(e,"content");if("string"==typeof l&&(l=r(l)),!l||!C(l)){if(l=document.createElement("img"),l instanceof HTMLImageElement){let n="",i=e.caption;n="string"==typeof i&&i?i.replace(/<[^>]+>/gi,"").substring(0,1e3):`Image ${e.index+1} of ${(null===(s=o.carousel)||void 0===s?void 0:s.pages.length)||1}`,l.src=t||"",l.alt=n,l.draggable=!1,e.srcset&&l.setAttribute("srcset",e.srcset),this.instance.isOpeningSlide(e)&&(l.fetchPriority="high")}e.sizes&&l.setAttribute("sizes",e.sizes)}M(l,"fancybox-image"),e.imageEl=l,o.setContent(e,l,!1),e.panzoom=new F(a,m({transformParent:!0},this.option("Panzoom")||{},{content:l,width:(t,n)=>o.optionFor(e,"width","auto",n)||"auto",height:(t,n)=>o.optionFor(e,"height","auto",n)||"auto",wheel:()=>{const e=o.option("wheel");return("zoom"===e||"pan"==e)&&e},click:(t,n)=>{var i,s;if(o.isCompact||o.isClosing())return!1;if(e.index!==(null===(i=o.getSlide())||void 0===i?void 0:i.index))return!1;if(n){const e=n.composedPath()[0];if(["A","BUTTON","TEXTAREA","OPTION","INPUT","SELECT","VIDEO"].includes(e.nodeName))return!1}let r=!n||n.target&&(null===(s=e.contentEl)||void 0===s?void 0:s.contains(n.target));return o.option(r?"contentClick":"backdropClick")||!1},dblClick:()=>o.isCompact?"toggleZoom":o.option("contentDblClick")||!1,spinner:!1,panOnlyZoomed:!0,wheelLimit:1/0,on:{ready:e=>{n(e)},error:()=>{i()},destroy:()=>{i()}}}))}))}zoomIn(e){return new Promise(((t,n)=>{const i=this.instance,s=i.container,{panzoom:o,contentEl:r,el:a}=e;o&&o.updateMetrics();const l=this.getZoomInfo(e);if(!(l&&a&&r&&o&&s))return void n();const{x:c,y:d,scale:u,opacity:h}=l,p=()=>{e.state!==le.Closing&&(h&&(r.style.opacity=Math.max(Math.min(1,1-(1-o.scale)/(1-u)),0)+""),o.scale>=1&&o.scale>o.targetScale-.1&&t(o))},f=e=>{(e.scale<.99||e.scale>1.01)&&!e.isDragging||(P(s,ye),r.style.opacity="",e.off("endAnimation",f),e.off("touchStart",f),e.off("afterTransform",p),t(e))};o.on("endAnimation",f),o.on("touchStart",f),o.on("afterTransform",p),o.on(["error","destroy"],(()=>{n()})),o.panTo({x:c,y:d,scale:u,friction:0,ignoreBounds:!0}),o.stop("current");
1const m={event:"mousemove"===o.panMode?i.prevMouseMoveEvent||i.options.event:void 0},g=this.optionFor(e,"initialSize");M(s,ye),i.hideLoading(e),"full"===g?o.zoomToFull(m):"cover"===g?o.zoomToCover(m):"max"===g?o.zoomToMax(m):o.reset(.172)}))}getZoomInfo(e){const{el:t,imageEl:n,thumbEl:i,panzoom:s}=e,o=this.instance,r=o.container;if(!t||!n||!i||!s||ee(i)<3||!this.optionFor(e,"zoom")||!r||o.state===ae.Destroy)return!1;if("0"===getComputedStyle(r).getPropertyValue("--f-images-zoom"))return!1;const a=window.visualViewport||null;if(1!==(a?a.scale:1))return!1;let{top:l,left:c,width:d,height:u}=i.getBoundingClientRect(),{top:h,left:p,fitWidth:f,fitHeight:m}=s.contentRect;if(!(d&&u&&f&&m))return!1;const g=s.container.getBoundingClientRect();p+=g.left,h+=g.top;const v=-1*(p+.5*f-(c+.5*d)),b=-1*(h+.5*m-(l+.5*u)),y=d/f;let w=this.option("zoomOpacity")||!1;return"auto"===w&&(w=Math.abs(d/u-f/m)>.1),{x:v,y:b,scale:y,opacity:w}}attach(){const e=this,t=e.instance;t.on("Carousel.change",e.onChange),t.on("Carousel.createSlide",e.onCreateSlide),t.on("Carousel.removeSlide",e.onRemoveSlide),t.on("close",e.onClose)}detach(){const e=this,t=e.instance;t.off("Carousel.change",e.onChange),t.off("Carousel.createSlide",e.onCreateSlide),t.off("Carousel.removeSlide",e.onRemoveSlide),t.off("close",e.onClose)}}Object.defineProperty(we,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{initialSize:"fit",Panzoom:{maxScale:1},protected:!1,zoom:!0,zoomOpacity:"auto"}}),"function"==typeof SuppressedError&&SuppressedError;const xe="html",Ee="image",Se="map",Te="youtube",Ce="vimeo",Pe="html5video",Me=(e,t={})=>{const n=new URL(e),i=new URLSearchParams(n.search),s=new URLSearchParams;for(const[e,n]of[...i,...Object.entries(t)]){let t=n+"";if("t"===e){let e=t.match(/((\d*)m)?(\d*)s?/);e&&s.set("start",60*parseInt(e[2]||"0")+parseInt(e[3]||"0")+"")}else s.set(e,t)}let o=s+"",r=e.match(/#t=((.*)?\d+s)/);return r&&(o+=`#t=${r[1]}`),o},Oe=["image","html","ajax","inline","clone","iframe","map","pdf","html5video","youtube","vimeo"];class Ae extends H{onBeforeInitSlide(e,t,n){this.processType(n)}onCreateSlide(e,t,n){this.setContent(n)}onClearContent(e,t){t.xhr&&(t.xhr.abort(),t.xhr=null);const n=t.iframeEl;n&&(n.onload=n.onerror=null,n.src="//about:blank",t.iframeEl=null);const i=t.contentEl,s=t.placeholderEl;if("inline"===t.type&&i&&s)i.classList.remove("fancybox__content"),"none"!==getComputedStyle(i).getPropertyValue("display")&&(i.style.display="none"),setTimeout((()=>{s&&(i&&s.parentNode&&s.parentNode.insertBefore(i,s),s.remove())}),0),t.contentEl=void 0,t.placeholderEl=void 0;else for(;t.el&&t.el.firstChild;)t.el.removeChild(t.el.firstChild)}onSelectSlide(e,t,n){n.state===le.Ready&&this.playVideo()}onUnselectSlide(e,t,n){var i,s;if(n.type===Pe){try{null===(s=null===(i=n.el)||void 0===i?void 0:i.querySelector("video"))||void 0===s||s.pause()}catch(e){}return}let o;n.type===Ce?o={method:"pause",value:"true"}:n.type===Te&&(o={event:"command",func:"pauseVideo"}),o&&n.iframeEl&&n.iframeEl.contentWindow&&n.iframeEl.contentWindow.postMessage(JSON.stringify(o),"*"),n.poller&&clearTimeout(n.poller)}onDone(e,t){e.isCurrentSlide(t)&&!e.isClosing()&&this.playVideo()}onRefresh(e,t){t.slides.forEach((e=>{e.el&&(this.resizeIframe(e),this.setAspectRatio(e))}))}onMessage(e){try{let t=JSON.parse(e.data);if("https://player.vimeo.com"===e.origin){if("ready"===t.event)for(let t of Array.from(document.getElementsByClassName("fancybox__iframe")))t instanceof HTMLIFrameElement&&t.contentWindow===e.source&&(t.dataset.ready="true")}else if(e.origin.match(/^https:\/\/(www.)?youtube(-nocookie)?.com$/)&&"onReady"===t.event){const e=document.getElementById(t.id);e&&(e.dataset.ready="true")}}catch(e){}}loadAjaxContent(e){const t=this.instance.optionFor(e,"src")||"";this.instance.showLoading(e);const n=this.instance,i=new XMLHttpRequest;n.showLoading(e),i.onreadystatechange=function(){i.readyState===XMLHttpRequest.DONE&&n.state===ae.Ready&&(n.hideLoading(e),200===i.status?n.setContent(e,i.responseText):n.setError(e,404===i.status?"{{AJAX_NOT_FOUND}}":"{{AJAX_FORBIDDEN}}"))};const s=e.ajax||null;i.open(s?"POST":"GET",t+""),i.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),i.setRequestHeader("X-Requested-With","XMLHttpRequest"),i.send(s),e.xhr=i}setInlineContent(e){let t=null;if(C(e.src))t=e.src;else if("string"==typeof e.src){const n=e.src.split("#",2).pop();t=n?document.getElementById(n):null}if(t){if("clone"===e.type||t.closest(".fancybox__slide")){t=t.cloneNode(!0);const n=t.dataset.animationName;n&&(t.classList.remove(n),delete t.dataset.animationName);let i=t.getAttribute("id");i=i?`${i}--clone`:`clone-${this.instance.id}-${e.index}`,t.setAttribute("id",i)}else if(t.parentNode){const n=document.createElement("div");n.classList.add("fancybox-placeholder"),t.parentNode.insertBefore(n,t),e.placeholderEl=n}this.instance.setContent(e,t)}else this.instance.setError(e,"{{ELEMENT_NOT_FOUND}}")}setIframeContent(e){const{src:t,el:n}=e;if(!t||"string"!=typeof t||!n)return;n.classList.add("is-loading");const i=this.instance,s=document.createElement("iframe");s.className="fancybox__iframe",s.setAttribute("id",`fancybox__iframe_${i.id}_${e.index}`);for(const[t,n]of Object.entries(this.optionFor(e,"iframeAttr")||{}))s.setAttribute(t,n);s.onerror=()=>{i.setError(e,"{{IFRAME_ERROR}}")},e.iframeEl=s;const o=this.optionFor(e,"preload");if("iframe"!==e.type||!1===o)return s.setAttribute("src",e.src+""),i.setContent(e,s,!1),this.resizeIframe(e),void i.revealContent(e);i.showLoading(e),s.onload=()=>
1{if(!s.src.length)return;const t="true"!==s.dataset.ready;s.dataset.ready="true",this.resizeIframe(e),t?i.revealContent(e):i.hideLoading(e)},s.setAttribute("src",t),i.setContent(e,s,!1)}resizeIframe(e){const{type:t,iframeEl:n}=e;if(t===Te||t===Ce)return;const i=null==n?void 0:n.parentElement;if(!n||!i)return;let s=e.autoSize;void 0===s&&(s=this.optionFor(e,"autoSize"));let o=e.width||0,r=e.height||0;o&&r&&(s=!1);const a=i&&i.style;if(!1!==e.preload&&!1!==s&&a)try{const e=window.getComputedStyle(i),t=parseFloat(e.paddingLeft)+parseFloat(e.paddingRight),s=parseFloat(e.paddingTop)+parseFloat(e.paddingBottom),l=n.contentWindow;if(l){const e=l.document,n=e.getElementsByTagName(xe)[0],i=e.body;a.width="",i.style.overflow="hidden",o=o||n.scrollWidth+t,a.width=`${o}px`,i.style.overflow="",a.flex="0 0 auto",a.height=`${i.scrollHeight}px`,r=n.scrollHeight+s}}catch(e){}if(o||r){const e={flex:"0 1 auto",width:"",height:""};o&&"auto"!==o&&(e.width=`${o}px`),r&&"auto"!==r&&(e.height=`${r}px`),Object.assign(a,e)}}playVideo(){const e=this.instance.getSlide();if(!e)return;const{el:t}=e;if(!t||!t.offsetParent)return;if(!this.optionFor(e,"videoAutoplay"))return;if(e.type===Pe)try{const e=t.querySelector("video");if(e){const t=e.play();void 0!==t&&t.then((()=>{})).catch((t=>{e.muted=!0,e.play()}))}}catch(e){}if(e.type!==Te&&e.type!==Ce)return;const n=()=>
1{if(e.iframeEl&&e.iframeEl.contentWindow){let t;if("true"===e.iframeEl.dataset.ready)return t=e.type===Te?{event:"command",func:"playVideo"}:{method:"play",value:"true"},t&&e.iframeEl.contentWindow.postMessage(JSON.stringify(t),"*"),void(e.poller=void 0);e.type===Te&&(t={event:"listening",id:e.iframeEl.getAttribute("id")},e.iframeEl.contentWindow.postMessage(JSON.stringify(t),"*"))}e.poller=setTimeout(n,250)};n()}processType(e){if(e.html)return e.type=xe,e.src=e.html,void(e.html="");const t=this.instance.optionFor(e,"src","");if(!t||"string"!=typeof t)return;let n=e.type,i=null;if(i=t.match(/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(?:watch\?(?:.*&)?v=|v\/|u\/|shorts\/|embed\/?)?(videoseries\?list=(?:.*)|[\w-]{11}|\?listType=(?:.*)&list=(?:.*))(?:.*)/i)){const s=this.optionFor(e,Te),{nocookie:o}=s,r=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(i=Object.getOwnPropertySymbols(e);s<i.length;s++)t.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(e,i[s])&&(n[i[s]]=e[i[s]])}return n}(s,["nocookie"]),a=`www.youtube${o?"-nocookie":""}.com`,l=Me(t,r),c=encodeURIComponent(i[2]);e.videoId=c,e.src=`https://${a}/embed/${c}?${l}`,e.thumbSrc=e.thumbSrc||`https://i.ytimg.com/vi/${c}/mqdefault.jpg`,n=Te}else if(i=t.match(/^.+vimeo.com\/(?:\/)?([\d]+)((\/|\?h=)([a-z0-9]+))?(.*)?/)){const s=Me(t,this.optionFor(e,Ce)),o=encodeURIComponent(i[1]),r=i[4]||"";e.videoId=o,e.src=`https://player.vimeo.com/video/${o}?${r?`h=${r}${s?"&":""}`:""}${s}`,n=Ce}if(!n&&e.triggerEl){const t=e.triggerEl.dataset.type;Oe.includes(t)&&(n=t)}n||"string"==typeof t&&("#"===t.charAt(0)?n="inline":(i=t.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i))?(n=Pe,e.videoFormat=e.videoFormat||"video/"+("ogv"===i[1]?"ogg":i[1])):t.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?n=Ee:t.match(/\.(pdf)((\?|#).*)?$/i)&&(n="pdf")),(i=t.match(/(?:maps\.)?google\.([a-z]{2,3}(?:\.[a-z]{2})?)\/(?:(?:(?:maps\/(?:place\/(?:.*)\/)?\@(.*),(\d+.?\d+?)z))|(?:\?ll=))(.*)?/i))?(e.src=`https://maps.google.${i[1]}/?ll=${(i[2]?i[2]+"&z="+Math.floor(parseFloat(i[3]))+(i[4]?i[4].replace(/^\//,"&"):""):i[4]+"").replace(/\?/,"&")}&output=${i[4]&&i[4].indexOf("layer=c")>0?"svembed":"embed"}`,n=Se):(i=t.match(/(?:maps\.)?google\.([a-z]{2,3}(?:\.[a-z]{2})?)\/(?:maps\/search\/)(.*)/i))&&(e.src=`https://maps.google.${i[1]}/maps?q=${i[2].replace("query=","q=").replace("api=1","")}&output=embed`,n=Se),n=n||this.instance.option("defaultType"),e.type=n,n===Ee&&(e.thumbSrc=e.thumbSrc||e.src)}setContent(e){const t=this.instance.optionFor(e,"src")||"";if(e&&e.type&&t){switch(e.type){case xe:this.instance.setContent(e,t);break;case Pe:const n=this.option("videoTpl");n&&this.instance.setContent(e,n.replace(/\{\{src\}\}/gi,t+"").replace(/\{\{format\}\}/gi,this.optionFor(e,"videoFormat")||"").replace(/\{\{poster\}\}/gi,e.poster||e.thumbSrc||""));break;case"inline":case"clone":this.setInlineContent(e);break;case"ajax":this.loadAjaxContent(e);break;case"pdf":case Se:case Te:case Ce:e.preload=!1;case"iframe":this.setIframeContent(e)}this.setAspectRatio(e)}}setAspectRatio(e){const t=e.contentEl;if(!(e.el&&t&&e.type&&[Te,Ce,Pe].includes(e.type)))return;let n,i=e.width||"auto",s=e.height||"auto";if("auto"===i||"auto"===s){n=this.optionFor(e,"videoRatio");const t=(n+"").match(/(\d+)\s*\/\s?(\d+)/);n=t&&t.length>2?parseFloat(t[1])/parseFloat(t[2]):parseFloat(n+"")}else i&&s&&(n=i/s);if(!n)return;t.style.aspectRatio="",t.style.width="",t.style.height="",t.offsetHeight;const o=t.getBoundingClientRect(),r=o.width||1,a=o.height||1;t.style.aspectRatio=n+"",n<r/a?(s="auto"===s?a:Math.min(a,s),t.style.width="auto",t.style.height=`${s}px`):(i="auto"===i?r:Math.min(r,i),t.style.width=`${i}px`,t.style.height="auto")}attach(){const e=this,t=e.instance;t.on("Carousel.beforeInitSlide",e.onBeforeInitSlide),t.on("Carousel.createSlide",e.onCreateSlide),t.on("Carousel.selectSlide",e.onSelectSlide),t.on("Carousel.unselectSlide",e.onUnselectSlide),t.on("Carousel.Panzoom.refresh",e.onRefresh),t.on("done",e.onDone),t.on("clearContent",e.onClearContent),window.addEventListener("message",e.onMessage)}detach(){const e=this,t=e.instance;t.off("Carousel.beforeInitSlide",e.onBeforeInitSlide),t.off("Carousel.createSlide",e.onCreateSlide),t.off("Carousel.selectSlide",e.onSelectSlide),t.off("Carousel.unselectSlide",e.onUnselectSlide),t.off("Carousel.Panzoom.refresh",e.onRefresh),t.off("done",e.onDone),t.off("clearContent",e.onClearContent),window.removeEventListener("message",e.onMessage)}}Object.defineProperty(Ae,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{ajax:null,autoSize:!0,iframeAttr:{allow:"autoplay; fullscreen",scrolling:"auto"},preload:!0,videoAutoplay:!0,videoRatio:16/9,videoTpl:'<video class="fancybox__html5video" playsinline controls controlsList="nodownload" poster="{{poster}}">\n  <source src="{{src}}" type="{{format}}" />Sorry, your browser doesn\'t support embedded videos.</video>',videoFormat:"",vimeo:{byline:1,color:"00adef",controls:1,dnt:1,muted:0},youtube:{controls:1,enablejsapi:1,nocookie:1,rel:0,fs:1}}});const _e="play",ke="pause",Le="ready";class Ie extends H{constructor(){super(...arguments),Object.defineProperty(this,"state",{enumerable:!0,configurable:!0,writable:!0,value:Le}),Object.defineProperty(this,"inHover",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"timer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"progressBar",{enumerable:!0,configurable:!0,writable:!0,value:null})}get isActive(){return this.state!==Le}onReady(e){this.option("autoStart")&&(e.isInfinite||e.page<e.pages.length-1)&&this.start()}onChange(){this.removeProgressBar(),this.pause()}onSettle(){this.resume()}onVisibilityChange(){"visible"===document.visibilityState?this.resume():this.pause()}onMouseEnter(){this.inHover=!0,this.pause()}onMouseLeave(){var e;this.inHover=!1,(null===(e=this.instance.panzoom)||void 0===e?void 0:e.isResting)&&this.resume()}onTimerEnd(){const e=this.instance;"play"===this.state&&(e.isInfinite||e.page!==e.pages.length-1?e.
1slideNext():e.slideTo(0))}removeProgressBar(){this.progressBar&&(this.progressBar.remove(),this.progressBar=null)}createProgressBar(){var e;if(!this.option("showProgress"))return null;this.removeProgressBar();const t=this.instance,n=(null===(e=t.pages[t.page])||void 0===e?void 0:e.slides)||[];let i=this.option("progressParentEl");if(i||(i=(1===n.length?n[0].el:null)||t.viewport),!i)return null;const s=document.createElement("div");return M(s,"f-progress"),i.prepend(s),this.progressBar=s,s.offsetHeight,s}set(){const e=this,t=e.instance;if(t.pages.length<2)return;if(e.timer)return;const n=e.option("timeout");e.state=_e,M(t.container,"has-autoplay");let i=e.createProgressBar();i&&(i.style.transitionDuration=`${n}ms`,i.style.transform="scaleX(1)"),e.timer=setTimeout((()=>{e.timer=null,e.inHover||e.onTimerEnd()}),n),e.emit("set")}clear(){const e=this;e.timer&&(clearTimeout(e.timer),e.timer=null),e.removeProgressBar()}start(){const e=this;if(e.set(),e.state!==Le){if(e.option("pauseOnHover")){const t=e.instance.container;t.addEventListener("mouseenter",e.onMouseEnter,!1),t.addEventListener("mouseleave",e.onMouseLeave,!1)}document.addEventListener("visibilitychange",e.onVisibilityChange,!1),e.emit("start")}}stop(){const e=this,t=e.state,n=e.instance.container;e.clear(),e.state=Le,n.removeEventListener("mouseenter",e.onMouseEnter,!1),n.removeEventListener("mouseleave",e.onMouseLeave,!1),document.removeEventListener("visibilitychange",e.onVisibilityChange,!1),P(n,"has-autoplay"),t!==Le&&e.emit("stop")}pause(){const e=this;e.state===_e&&(e.state=ke,e.clear(),e.emit(ke))}resume(){const e=this,t=e.instance;if(t.isInfinite||t.page!==t.pages.length-1)if(e.state!==_e){if(e.state===ke&&!e.inHover){const t=new Event("resume",{bubbles:!0,cancelable:!0});e.emit("resume",t),t.defaultPrevented||e.set()}}else e.set();else e.stop()}toggle(){this.state===_e||this.state===ke?this.stop():this.start()}attach(){const e=this,t=e.instance;t.on("ready",e.onReady),t.on("Panzoom.startAnimation",e.onChange),t.on("Panzoom.endAnimation",e.onSettle),t.on("Panzoom.touchMove",e.onChange)}detach(){const e=this,t=e.instance;t.off("ready",e.onReady),t.off("Panzoom.startAnimation",e.onChange),t.off("Panzoom.endAnimation",e.onSettle),t.off("Panzoom.touchMove",e.onChange),e.stop()}}Object.defineProperty(Ie,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{autoStart:!0,pauseOnHover:!0,progressParentEl:null,showProgress:!0,timeout:3e3}});class Re extends H{constructor(){super(...arguments),Object.defineProperty(this,"ref",{enumerable:!0,configurable:!0,writable:!0,value:null})}onPrepare(e){const t=e.carousel;if(!t)return;const n=e.container;n&&(t.options.Autoplay=m({autoStart:!1},this.option("Autoplay")||{},{pauseOnHover:!1,timeout:this.option("timeout"),progressParentEl:()=>this.option("progressParentEl")||null,on:{start:()=>{e.emit("startSlideshow")},set:t=>{var i;n.classList.add("has-slideshow"),(null===(i=e.getSlide())||void 0===i?void 0:i.state)!==le.Ready&&t.pause()},stop:()=>{n.classList.remove("has-slideshow"),e.isCompact||e.endIdle(),e.emit("endSlideshow")},resume:(t,n)=>{var i,s,o;!n||!n.cancelable||(null===(i=e.getSlide())||void 0===i?void 0:i.state)===le.Ready&&(null===(o=null===(s=e.carousel)||void 0===s?void 0:s.panzoom)||void 0===o?void 0:o.isResting)||n.preventDefault()}}}),t.attachPlugins({Autoplay:Ie}),this.ref=t.plugins.Autoplay)}onReady(e){const t=e.carousel,n=this.ref;n&&t&&this.option("playOnStart")&&(t.isInfinite||t.page<t.pages.length-1)&&n.start()}onDone(e,t){const n=this.ref,i=e.carousel;if(!n||!i)return;const s=t.panzoom;s&&s.on("startAnimation",(()=>{e.isCurrentSlide(t)&&n.stop()})),e.isCurrentSlide(t)&&n.resume()}onKeydown(e,t){var n;const i=this.ref;i&&t===this.option("key")&&"BUTTON"!==(null===(n=document.activeElement)||void 0===n?void 0:n.nodeName)&&i.toggle()}attach(){const e=this,t=e.instance;t.on("Carousel.init",e.onPrepare),t.on("Carousel.ready",e.onReady),t.on("done",e.onDone),t.on("keydown",e.onKeydown)}detach(){const e=this,t=e.instance;t.off("Carousel.init",e.onPrepare),t.off("Carousel.ready",e.onReady),t.off("done",e.onDone),t.off("keydown",e.onKeydown)}}Object.defineProperty(Re,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{key:" ",playOnStart:!1,progressParentEl:e=>{var t;return(null===(t=e.instance.container)||void 0===t?void 0:t.querySelector(".fancybox__toolbar [data-fancybox-toggle-slideshow]"))||e.instance.container},timeout:3e3}});const De={classes:{container:"f-thumbs f-carousel__thumbs",viewport:"f-thumbs__viewport",track:"f-thumbs__track",slide:"f-thumbs__slide",isResting:"is-resting",isSelected:"is-selected",isLoading:"is-loading",hasThumbs:"has-thumbs"},minCount:2,parentEl:null,thumbTpl:'<button class="f-thumbs__slide__button" tabindex="0" type="button" aria-label="{{GOTO}}" data-carousel-index="%i"><img class="f-thumbs__slide__img" data-lazy-src="{{%s}}" alt="" /></button>',type:"modern"};var Fe;!function(e){e[e.Init=0]="Init",e[e.Ready=1]="Ready",e[e.Hidden=2]="Hidden"}(Fe||(Fe={}));
1const ze="isResting",je="thumbWidth",Be="thumbHeight",Ne="thumbClipWidth";let $e=class extends H{constructor(){super(...arguments),Object.defineProperty(this,"type",{enumerable:!0,configurable:!0,writable:!0,value:"modern"}),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"track",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"carousel",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"thumbWidth",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"thumbClipWidth",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"thumbHeight",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"thumbGap",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"thumbExtraGap",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"state",{enumerable:!0,configurable:!0,writable:!0,value:Fe.Init})}get isModern(){return"modern"===this.type}onInitSlide(e,t){const n=t.el?t.el.dataset:void 0;n&&(t.thumbSrc=n.thumbSrc||t.thumbSrc||"",t[Ne]=parseFloat(n[Ne]||"")||t[Ne]||0,t[Be]=parseFloat(n.thumbHeight||"")||t[Be]||0),this.addSlide(t)}onInitSlides(){this.build()}onChange(){var e;if(!this.isModern)return;const t=this.container,n=this.instance,i=n.panzoom,s=this.carousel,o=s?s.panzoom:null,r=n.page;if(i&&s&&o){if(i.isDragging){P(t,this.cn(ze));let i=(null===(e=s.pages[r])||void 0===e?void 0:e.pos)||0;i+=n.getProgress(r)*(this[Ne]+this.thumbGap);let a=o.getBounds();-1*i>a.x.min&&-1*i<a.x.max&&o.panTo({x:-1*i,friction:.12})}else l(t,this.cn(ze),i.isResting);this.shiftModern()}}onRefresh(){this.updateProps();for(const e of this.instance.slides||[])this.resizeModernSlide(e);this.shiftModern()}isDisabled(){const e=this.option("minCount")||0;if(e){const t=this.instance;let n=0;for(const e of t.slides||[])e.thumbSrc&&n++;if(n<e)return!0}const t=this.option("type");return["modern","classic"].indexOf(t)<0}getThumb(e){const t=this.option("thumbTpl")||"";return{html:this.instance.localize(t,[["%i",e.index],["%d",e.index+1],["%s",e.thumbSrc||"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"]])}}addSlide(e){const t=this.carousel;t&&t.addSlide(e.index,this.getThumb(e))}getSlides(){const e=[];
1for(const t of this.instance.slides||[])e.push(this.getThumb(t));return e}resizeModernSlide(e){this.isModern&&(e[je]=e[Ne]&&e[Be]?Math.round(this[Be]*(e[Ne]/e[Be])):this[je])}updateProps(){const e=this.container;if(!e)return;const t=t=>parseFloat(getComputedStyle(e).getPropertyValue("--f-thumb-"+t))||0;this.thumbGap=t("gap"),this.thumbExtraGap=t("extra-gap"),this[je]=t("width")||40,this[Ne]=t("clip-width")||40,this[Be]=t("height")||40}build(){const e=this;if(e.state!==Fe.Init)return;if(e.isDisabled())return void e.emit("disabled");const t=e.instance,n=t.container,i=e.getSlides(),s=e.option("type");e.type=s;const o=e.option("parentEl"),r=e.cn("container"),a=e.cn("track");let l=null==o?void 0:o.querySelector("."+r);l||(l=document.createElement("div"),M(l,r),o?o.appendChild(l):n.after(l)),M(l,`is-${s}`),M(n,e.cn("hasThumbs")),e.container=l,e.updateProps();let c=l.querySelector("."+a);c||(c=document.createElement("div"),M(c,e.cn("track")),l.appendChild(c)),e.track=c;const d=m({},{track:c,infinite:!1,center:!0,fill:"classic"===s,dragFree:!0,slidesPerPage:1,transition:!1,preload:.25,friction:.12,Panzoom:{maxVelocity:0},Dots:!1,Navigation:!1,classes:{container:"f-thumbs",viewport:"f-thumbs__viewport",track:"f-thumbs__track",slide:"f-thumbs__slide"}},e.option("Carousel")||{},{Sync:{target:t},slides:i}),u=new t.constructor(l,d);u.on("createSlide",((t,n)=>{e.setProps(n.index),e.emit("createSlide",n,n.el)})),u.on("ready",(()=>{e.shiftModern(),e.emit("ready")})),u.on("refresh",(()=>{e.shiftModern()})),u.on("Panzoom.click",((t,n,i)=>{e.onClick(i)})),e.carousel=u,e.state=Fe.Ready}onClick(e){e.preventDefault(),e.stopPropagation();const t=this.instance,{pages:n,page:i}=t,s=e=>{if(e){const t=e.closest("[data-carousel-index]");if(t)return[parseInt(t.dataset.carouselIndex||"",10)||0,t]}return[-1,void 0]},o=(e,t)=>{const n=document.elementFromPoint(e,t);return n?s(n):[-1,void 0]};let[r,a]=s(e.target);if(r>-1)return;const l=this[Ne],c=e.clientX,d=e.clientY;let[u,h]=o(c-l,d),[p,f]=o(c+l,d);h&&f?(r=Math.abs(c-h.getBoundingClientRect().right)<Math.abs(c-f.getBoundingClientRect().left)?u:p,r===i&&(r=r===u?p:u)):h?r=u:f&&(r=p),r>-1&&n[r]&&t.slideTo(r)}getShift(e){var t;const n=this,{instance:i}=n,s=n.carousel;if(!i||!s)return 0;const o=n[je],r=n[Ne],a=n.thumbGap,l=n.thumbExtraGap;if(!(null===(t=s.slides[e])||void 0===t?void 0:t.el))return 0;const c=.5*(o-r),d=i.pages.length-1;let u=i.getProgress(0),h=i.getProgress(d),p=i.getProgress(e,!1,!0),f=0,m=c+l+a;const g=u<0&&u>-1,v=h>0&&h<1;return 0===e?(f=m*Math.abs(u),v&&1===u&&(f-=m*Math.abs(h))):e===d?(f=m*Math.abs(h)*-1,g&&-1===h&&(f+=m*Math.abs(u))):g||v?(f=-1*m,f+=m*Math.abs(u),f+=m*(1-Math.abs(h))):f=m*p,f}setProps(e){var t;const n=this;if(!n.isModern)return;const{instance:s}=n,o=n.carousel;if(s&&o){const r=null===(t=o.slides[e])||void 0===t?void 0:t.el;if(r&&r.childNodes.length){let t=i(1-Math.abs(s.getProgress(e))),o=i(n.getShift(e));r.style.setProperty("--progress",t?t+"":""),r.style.setProperty("--shift",o+"")}}}shiftModern(){const e=this;if(!e.isModern)return;const{instance:t,track:n}=e,i=t.panzoom,s=e.carousel;if(!(t&&n&&i&&s))return;if(i.state===y.Init||i.state===y.Destroy)return;for(const n of t.slides)e.setProps(n.index);let o=(e[Ne]+e.thumbGap)*(s.slides.length||0);n.style.setProperty("--width",o+"")}cleanup(){const e=this;e.carousel&&e.carousel.destroy(),e.carousel=null,e.container&&e.container.remove(),e.container=null,e.track&&e.track.remove(),e.track=null,e.state=Fe.Init,P(e.instance.container,e.cn("hasThumbs"))}attach(){const e=this,t=e.instance;t.on("initSlide",e.onInitSlide),t.state===B.Init?t.on("initSlides",e.onInitSlides):e.onInitSlides(),t.on(["change","Panzoom.afterTransform"],e.onChange),t.on("Panzoom.refresh",e.onRefresh)}detach(){const e=this,t=e.instance;t.off("initSlide",e.onInitSlide),t.off("initSlides",e.onInitSlides),t.off(["change","Panzoom.afterTransform"],e.onChange),t.off("Panzoom.refresh",e.onRefresh),e.cleanup()}};Object.defineProperty($e,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:De});const He=Object.assign(Object.assign({},De),{key:"t",showOnStart:!0,parentEl:null}),We="is-masked",Ve="aria-hidden";class Ge extends H{constructor(){super(...arguments),Object.defineProperty(this,"ref",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"hidden",{enumerable:!0,configurable:!0,writable:!0,value:!1})}get isEnabled(){const e=this.ref;return e&&!e.isDisabled()}get isHidden(){return this.hidden}onClick(e,t){t.stopPropagation()}onCreateSlide(e,t){var n,i,s;const o=(null===(s=null===(i=null===(n=this.instance)||void 0===n?void 0:n.carousel)||void 0===i?void 0:i.slides[t.index])||void 0===s?void 0:s.type)||"",r=t.el;if(r&&o){let e=`for-${o}`;["video","youtube","vimeo","html5video"].includes(o)&&(e+=" for-video"),M(r,e)}}onInit(){var e;const t=this,n=t.instance,i=n.carousel;if(t.ref||!i)return;
1const s=t.option("parentEl")||n.footer||n.container;if(!s)return;const o=m({},t.options,{parentEl:s,classes:{container:"f-thumbs fancybox__thumbs"},Carousel:{Sync:{friction:n.option("Carousel.friction")||0}},on:{ready:e=>{const n=e.container;n&&this.hidden&&(t.refresh(),n.style.transition="none",t.hide(),n.offsetHeight,queueMicrotask((()=>{n.style.transition="",t.show()})))}}});o.Carousel=o.Carousel||{},o.Carousel.on=m((null===(e=t.options.Carousel)||void 0===e?void 0:e.on)||{},{click:this.onClick,createSlide:this.onCreateSlide}),i.options.Thumbs=o,i.attachPlugins({Thumbs:$e}),t.ref=i.plugins.Thumbs,t.option("showOnStart")||(t.ref.state=Fe.Hidden,t.hidden=!0)}onResize(){var e;const t=null===(e=this.ref)||void 0===e?void 0:e.container;t&&(t.style.maxHeight="")}onKeydown(e,t){const n=this.option("key");n&&n===t&&this.toggle()}toggle(){const e=this.ref;if(e&&!e.isDisabled())return e.state===Fe.Hidden?(e.state=Fe.Init,void e.build()):void(this.hidden?this.show():this.hide())}show(){const e=this.ref;if(!e||e.isDisabled())return;const t=e.container;t&&(this.refresh(),t.offsetHeight,t.removeAttribute(Ve),t.classList.remove(We),this.hidden=!1)}hide(){const e=this.ref,t=e&&e.container;t&&(this.refresh(),t.offsetHeight,t.classList.add(We),t.setAttribute(Ve,"true")),this.hidden=!0}refresh(){const e=this.ref;if(!e||!e.state)return;const t=e.container,n=(null==t?void 0:t.firstChild)||null;t&&n&&n.childNodes.length&&(t.style.maxHeight=`${n.getBoundingClientRect().height}px`)}attach(){const e=this,t=e.instance;t.state===ae.Init?t.on("Carousel.init",e.onInit):e.onInit(),t.on("resize",e.onResize),t.on("keydown",e.onKeydown)}detach(){var e;const t=this,n=t.instance;n.off("Carousel.init",t.onInit),n.off("resize",t.onResize),n.off("keydown",t.onKeydown),null===(e=n.carousel)||void 0===e||e.detachPlugins(["Thumbs"]),t.ref=null}}Object.defineProperty(Ge,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:He});const qe={panLeft:{icon:'<svg><path d="M5 12h14M5 12l6 6M5 12l6-6"/></svg>',change:{panX:-100}},panRight:{icon:'<svg><path d="M5 12h14M13 18l6-6M13 6l6 6"/></svg>',change:{panX:100}},panUp:{icon:'<svg><path d="M12 5v14M18 11l-6-6M6 11l6-6"/></svg>',change:{panY:-100}},panDown:{icon:'<svg><path d="M12 5v14M18 13l-6 6M6 13l6 6"/></svg>',change:{panY:100}},zoomIn:{icon:'<svg><circle cx="11" cy="11" r="7.5"/><path d="m21 21-4.35-4.35M11 8v6M8 11h6"/></svg>',action:"zoomIn"},zoomOut:{icon:'<svg><circle cx="11" cy="11" r="7.5"/><path d="m21 21-4.35-4.35M8 11h6"/></svg>',action:"zoomOut"},toggle1to1:{icon:'<svg><path d="M3.51 3.07c5.74.02 11.48-.02 17.22.02 1.37.1 2.34 1.64 2.18 3.13 0 4.08.02 8.16 0 12.23-.1 1.54-1.47 2.64-2.79 2.46-5.61-.01-11.24.02-16.86-.01-1.36-.12-2.33-1.65-2.17-3.14 0-4.07-.02-8.16 0-12.23.1-1.36 1.22-2.48 2.42-2.46Z"/><path d="M5.65 8.54h1.49v6.92m8.94-6.92h1.49v6.92M11.5 9.4v.02m0 5.18v0"/></svg>',action:"toggleZoom"},toggleZoom:{icon:'<svg><g><line x1="11" y1="8" x2="11" y2="14"></line></g><circle cx="11" cy="11" r="7.5"/><path d="m21 21-4.35-4.35M8 11h6"/></svg>',action:"toggleZoom"},iterateZoom:{icon:'<svg><g><line x1="11" y1="8" x2="11" y2="14"></line></g><circle cx="11" cy="11" r="7.5"/><path d="m21 21-4.35-4.35M8 11h6"/></svg>',action:"iterateZoom"},rotateCCW:{icon:'<svg><path d="M15 4.55a8 8 0 0 0-6 14.9M9 15v5H4M18.37 7.16v.01M13 19.94v.01M16.84 18.37v.01M19.37 15.1v.01M19.94 11v.01"/></svg>',action:"rotateCCW"},rotateCW:{icon:'<svg><path d="M9 4.55a8 8 0 0 1 6 14.9M15 15v5h5M5.63 7.16v.01M4.06 11v.01M4.63 15.1v.01M7.16 18.37v.01M11 19.94v.01"/></svg>',action:"rotateCW"},flipX:{icon:'<svg style="stroke-width: 1.3"><path d="M12 3v18M16 7v10h5L16 7M8 7v10H3L8 7"/></svg>',action:"flipX"},flipY:{icon:'<svg style="stroke-width: 1.3"><path d="M3 12h18M7 16h10L7 21v-5M7 8h10L7 3v5"/></svg>',action:"flipY"},fitX:{icon:'<svg><path d="M4 12V6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v6M10 18H3M21 18h-7M6 15l-3 3 3 3M18 15l3 3-3 3"/></svg>',action:"fitX"},fitY:{icon:'<svg><path d="M12 20H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h6M18 14v7M18 3v7M15 18l3 3 3-3M15 6l3-3 3 3"/></svg>',action:"fitY"},reset:{icon:'<svg><path d="M20 11A8.1 8.1 0 0 0 4.5 9M4 5v4h4M4 13a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4"/></svg>',action:"reset"},toggleFS:{icon:'<svg><g><path d="M14.5 9.5 21 3m0 0h-6m6 0v6M3 21l6.5-6.5M3 21v-6m0 6h6"/></g><g><path d="m14 10 7-7m-7 7h6m-6 0V4M3 21l7-7m0 0v6m0-6H4"/></g></svg>',action:"toggleFS"}};var Xe;!function(e){e[e.Init=0]="Init",e[e.Ready=1]="Ready",e[e.Disabled=2]="Disabled"}(Xe||(Xe={}));const Ue={tabindex:"-1",width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Ye="has-toolbar",Ze="fancybox__toolbar";class Ke extends H{constructor(){super(...arguments),Object.defineProperty(this,"state",{enumerable:!0,configurable:!0,writable:!0,value:Xe.Init}),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:null})}onReady(e){var t;if(!e.carousel)return;let n=this.option("display"),i=this.option("absolute"),s=this.option("enabled");if("auto"===s){const e=this.instance.carousel;let t=0;if(e)for(const n of e.slides)(n.panzoom||"image"===n.type)&&t++;t||(s=!1)}s||(n=void 0);let o=0;const r={left:[],middle:[],right:[]};if(n)for(const e of["left","middle","right"])for(const i of n[e]){const n=this.createEl(i);n&&(null===(t=r[e])||void 0===t||t.push(n),o++)}let a=null;if(o&&(a=this.createContainer()),a){for(const[e,t]of Object.entries(r)){const n=document.createElement("div");M(n,Ze+"__column is-"+e);for(const e of t)n.appendChild(e);"auto"!==i||"middle"!==e||t.length||(i=!0),a.appendChild(n)}!0===i&&M(a,"is-absolute"),this.state=Xe.Ready,this.onRefresh()}else this.state=Xe.Disabled}onClick(e){var t,n;const i=this.instance,s=i.getSlide(),o=null==s?void 0:s.panzoom,r=e.target,a=r&&C(r)?r.dataset:null;if(!a)return;if(void 0!==a.fancyboxToggleThumbs)return e.preventDefault(),e.stopPropagation(),void(null===(t=i.plugins.Thumbs
1)||void 0===t||t.toggle());if(void 0!==a.fancyboxToggleFullscreen)return e.preventDefault(),e.stopPropagation(),void this.instance.toggleFullscreen();if(void 0!==a.fancyboxToggleSlideshow){e.preventDefault(),e.stopPropagation();const t=null===(n=i.carousel)||void 0===n?void 0:n.plugins.Autoplay;let s=t.isActive;return o&&"mousemove"===o.panMode&&!s&&o.reset(),void(s?t.stop():t.start())}const l=a.panzoomAction,c=a.panzoomChange;if((c||l)&&(e.preventDefault(),e.stopPropagation()),c){let t={};try{t=JSON.parse(c)}catch(e){}o&&o.applyChange(t)}else l&&o&&o[l]&&o[l]()}onChange(){this.onRefresh()}onRefresh(){if(this.instance.isClosing())return;const e=this.container;if(!e)return;const t=this.instance.getSlide();if(!t||t.state!==le.Ready)return;const n=t&&!t.error&&t.panzoom;for(const t of e.querySelectorAll("[data-panzoom-action]"))n?(t.removeAttribute("disabled"),t.removeAttribute("tabindex")):(t.setAttribute("disabled",""),t.setAttribute("tabindex","-1"));let i=n&&n.canZoomIn(),s=n&&n.canZoomOut();for(const t of e.querySelectorAll('[data-panzoom-action="zoomIn"]'))i?(t.removeAttribute("disabled"),t.removeAttribute("tabindex")):(t.setAttribute("disabled",""),t.setAttribute("tabindex","-1"));for(const t of e.querySelectorAll('[data-panzoom-action="zoomOut"]'))s?(t.removeAttribute("disabled"),t.removeAttribute("tabindex")):(t.setAttribute("disabled",""),t.setAttribute("tabindex","-1"));for(const t of e.querySelectorAll('[data-panzoom-action="toggleZoom"],[data-panzoom-action="iterateZoom"]')){s||i?(t.removeAttribute("disabled"),t.removeAttribute("tabindex")):(t.setAttribute("disabled",""),t.setAttribute("tabindex","-1"));const e=t.querySelector("g");e&&(e.style.display=i?"":"none")}}onDone(e,t){var n;null===(n=t.panzoom)||void 0===n||n.on("afterTransform",(()=>{this.instance.isCurrentSlide(t)&&this.onRefresh()})),this.instance.isCurrentSlide(t)&&this.onRefresh()}createContainer(){const e=this.instance.container;if(!e)return null;const t=this.option("parentEl")||e;let n=t.querySelector("."+Ze);return n||(n=document.createElement("div"),M(n,Ze),t.prepend(n)),n.addEventListener("click",this.onClick,{passive:!1,capture:!0}),e&&M(e,Ye),this.container=n,n}createEl(e){const t=this.instance,n=t.carousel;if(!n)return null;if("toggleFS"===e)return null;if("fullscreen"===e&&!oe())return null;let i=null;const s=n.slides.length||0;let o=0,a=0;for(const e of n.slides)(e.panzoom||"image"===e.type)&&o++,("image"===e.type||e.downloadSrc)&&a++;if(s<2&&["infobar","prev","next"].includes(e))return i;if(void 0!==qe[e]&&!o)return null;if("download"===e&&!a)return null;if("thumbs"===e){const e=t.plugins.Thumbs;if(!e||!e.isEnabled)return null}if("slideshow"===e&&(!n.plugins.Autoplay||s<2))return null;if(void 0!==qe[e]){const t=qe[e];i=document.createElement("button"),i.setAttribute("title",this.instance.localize(`{{${e.toUpperCase()}}}`)),M(i,"f-button"),t.action&&(i.dataset.panzoomAction=t.action),t.change&&(i.dataset.panzoomChange=JSON.stringify(t.change)),i.appendChild(r(this.instance.localize(t.icon)))}else{const t=(this.option("items")||[])[e];t&&(i=r(this.instance.localize(t.tpl)),"function"==typeof t.click&&i.addEventListener("click",(e=>{e.preventDefault(),e.stopPropagation(),"function"==typeof t.click&&t.click.call(this,this,e)})))}const l=null==i?void 0:i.querySelector("svg");if(l)for(const[e,t]of Object.entries(Ue))l.getAttribute(e)||l.setAttribute(e,String(t));return i}removeContainer(){const e=this.container;e&&e.remove(),this.container=null,this.state=Xe.Disabled;const t=this.instance.container;t&&P(t,Ye)}attach(){const e=this,t=e.instance;t.on("Carousel.initSlides",e.onReady),t.on("done",e.onDone),t.on(["reveal","Carousel.change"],e.onChange),e.onReady(e.instance)}detach(){const e=this,t=e.instance;t.off("Carousel.initSlides",e.onReady),t.off("done",e.onDone),t.off(["reveal","Carousel.change"],e.onChange),e.removeContainer()}}Object.defineProperty(Ke,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{absolute:"auto",display:{left:["infobar"],middle:[],right:["iterateZoom","slideshow","fullscreen","thumbs","close"]},enabled:"auto",items:{infobar:{tpl:'<div class="fancybox__infobar" tabindex="-1"><span data-fancybox-current-index></span>/<span data-fancybox-count></span></div>'},download:{tpl:'<a class="f-button" title="{{DOWNLOAD}}" data-fancybox-download href="javasript:;"><svg><path d="M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2M7 11l5 5 5-5M12 4v12"/></svg></a>'},prev:{tpl:'<button class="f-button" title="{{PREV}}" data-fancybox-prev><svg><path d="m15 6-6 6 6 6"/></svg></button>'},next:{tpl:'<button class="f-button" title="{{NEXT}}" data-fancybox-next><svg><path d="m9 6 6 6-6 6"/></svg></button>'},slideshow:{tpl:'<button class="f-button" title="{{TOGGLE_SLIDESHOW}}" data-fancybox-toggle-slideshow><svg><g><path d="M8 4v16l13 -8z"></path></g><g>
1<path d="M8 4v15M17 4v15"/></g></svg></button>'},fullscreen:{tpl:'<button class="f-button" title="{{TOGGLE_FULLSCREEN}}" data-fancybox-toggle-fullscreen><svg><g><path d="M4 8V6a2 2 0 0 1 2-2h2M4 16v2a2 2 0 0 0 2 2h2M16 4h2a2 2 0 0 1 2 2v2M16 20h2a2 2 0 0 0 2-2v-2"/></g><g><path d="M15 19v-2a2 2 0 0 1 2-2h2M15 5v2a2 2 0 0 0 2 2h2M5 15h2a2 2 0 0 1 2 2v2M5 9h2a2 2 0 0 0 2-2V5"/></g></svg></button>'},thumbs:{tpl:'<button class="f-button" title="{{TOGGLE_THUMBS}}" data-fancybox-toggle-thumbs><svg><circle cx="5.5" cy="5.5" r="1"/><circle cx="12" cy="5.5" r="1"/><circle cx="18.5" cy="5.5" r="1"/><circle cx="5.5" cy="12" r="1"/><circle cx="12" cy="12" r="1"/><circle cx="18.5" cy="12" r="1"/><circle cx="5.5" cy="18.5" r="1"/><circle cx="12" cy="18.5" r="1"/><circle cx="18.5" cy="18.5" r="1"/></svg></button>'},close:{tpl:'<button class="f-button" title="{{CLOSE}}" data-fancybox-close><svg><path d="m19.5 4.5-15 15M4.5 4.5l15 15"/></svg></button>'}},parentEl:null}});const Je={Hash:class extends H{onReady(){de=!1}onChange(e){he&&clearTimeout(he);const{hash:t}=pe(),{hash:n}=fe(),i=e.isOpeningSlide(e.getSlide());i&&(ce=n===t?"":n),t&&t!==n&&(he=setTimeout((()=>{try{if(e.state===ae.Ready){let e="replaceState";i&&!ue&&(e="pushState",ue=!0),window.history[e]({},document.title,window.location.pathname+window.location.search+t)}}catch(e){}}),300))}onClose(e){if(he&&clearTimeout(he),!de&&ue)return ue=!1,de=!1,void window.history.back();if(!de)try{window.history.replaceState({},document.title,window.location.pathname+window.location.search+(ce||""))}catch(e){}}attach(){const e=this.instance;e.on("ready",this.onReady),e.on(["Carousel.ready","Carousel.change"],this.onChange),e.on("close",this.onClose)}detach(){const e=this.instance;e.off("ready",this.onReady),e.off(["Carousel.ready","Carousel.change"],this.onChange),e.off("close",this.onClose)}static parseURL(){return fe()}static startFromUrl(){me()}static destroy(){window.removeEventListener("hashchange",ve,!1)}},Html:Ae,Images:we,Slideshow:Re,Thumbs:Ge,Toolbar:Ke},Qe="with-fancybox",et="hide-scrollbar",tt="--fancybox-scrollbar-compensate",nt="--fancybox-body-margin",it="aria-hidden",st="is-using-tab",ot="is-animated",rt="is-compact",at="is-loading",lt="is-opening",ct="has-caption",dt="disabled",ut="tabindex",ht="download",pt="href",ft="src",mt=e=>"string"==typeof e,gt=function(){var e=window.getSelection();return!!e&&"Range"===e.type};let vt,bt=null,yt=null,wt=0,xt=0,Et=0,St=0;const Tt=new Map;let Ct=0;class Pt extends b{get isIdle(){return this.idle}get isCompact(){return this.option("compact")}constructor(e=[],t={},n={}){super(t),Object.defineProperty(this,"userSlides",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"userPlugins",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"idle",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"idleTimer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"clickTimer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"pwt",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"ignoreFocusChange",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"startedFs",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"state",{enumerable:!0,configurable:!0,writable:!0,value:ae.Init}),Object.defineProperty(this,"id",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"footer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"carousel",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"lastFocus",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"prevMouseMoveEvent",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),vt||(vt=oe()),this.id=t.id||++Ct,Tt.set(this.id,this),this.userSlides=e,this.userPlugins=n,queueMicrotask((()=>{this.init()}))}init(){if(this.state===ae.Destroy)return;this.state=ae.Init,this.attachPlugins(Object.assign(Object.assign({}
1,Pt.Plugins),this.userPlugins)),this.emit("init"),this.emit("attachPlugins"),!0===this.option("hideScrollbar")&&(()=>{if(!te)return;const e=document,t=e.body,n=e.documentElement;if(t.classList.contains(et))return;let i=window.innerWidth-n.getBoundingClientRect().width;const s=parseFloat(window.getComputedStyle(t).marginRight);i<0&&(i=0),n.style.setProperty(tt,`${i}px`),s&&t.style.setProperty(nt,`${s}px`),t.classList.add(et)})(),this.initLayout(),this.scale();const e=()=>{this.initCarousel(this.userSlides),this.state=ae.Ready,this.attachEvents(),this.emit("ready"),setTimeout((()=>{this.container&&this.container.setAttribute(it,"false")}),16)};this.option("Fullscreen.autoStart")&&vt&&!vt.isFullscreen()?vt.request().then((()=>{this.startedFs=!0,e()})).catch((()=>e())):e()}initLayout(){var e,t;const n=this.option("parentEl")||document.body,i=r(this.localize(this.option("tpl.main")||""));if(i){if(i.setAttribute("id",`fancybox-${this.id}`),i.setAttribute("aria-label",this.localize("{{MODAL}}")),i.classList.toggle(rt,this.isCompact),M(i,this.option("mainClass")||""),M(i,lt),this.container=i,this.footer=i.querySelector(".fancybox__footer"),n.appendChild(i),M(document.documentElement,Qe),bt&&yt||(bt=document.createElement("span"),M(bt,"fancybox-focus-guard"),bt.setAttribute(ut,"0"),bt.setAttribute(it,"true"),bt.setAttribute("aria-label","Focus guard"),yt=bt.cloneNode(),null===(e=i.parentElement)||void 0===e||e.insertBefore(bt,i),null===(t=i.parentElement)||void 0===t||t.append(yt)),i.addEventListener("mousedown",(e=>{wt=e.pageX,xt=e.pageY,P(i,st)})),this.option("closeExisting"))for(const e of Tt.values())e.id!==this.id&&e.close();else this.option("animated")&&(M(i,ot),setTimeout((()=>{this.isClosing()||P(i,ot)}),350));this.emit("initLayout")}}initCarousel(e){const t=this.container;if(!t)return;const n=t.querySelector(".fancybox__carousel");if(!n)return;const i=this.carousel=new Q(n,m({},{slides:e,transition:"fade",Panzoom:{lockAxis:this.option("dragToClose")?"xy":"x",infinite:!!this.option("dragToClose")&&"y"},Dots:!1,Navigation:{classes:{container:"fancybox__nav",button:"f-button",isNext:"is-next",isPrev:"is-prev"}},initialPage:this.option("startIndex"),l10n:this.option("l10n")},this.option("Carousel")||{}));i.on("*",((e,t,...n)=>{this.emit(`Carousel.${t}`,e,...n)})),i.on(["ready","change"],(()=>{this.manageCaption()})),this.on("Carousel.removeSlide",((e,t,n)=>{this.clearContent(n),n.state=void 0})),i.on("Panzoom.touchStart",(()=>{var e,t;this.isCompact||this.endIdle(),(null===(e=document.activeElement)||void 0===e?void 0:e.closest(".f-thumbs"))&&(null===(t=this.container)||void 0===t||t.focus())})),i.on("settle",(()=>{this.idleTimer||this.isCompact||!this.option("idle")||this.setIdle(),this.option("autoFocus")&&!this.isClosing&&this.checkFocus()})),this.option("dragToClose")&&(i.on("Panzoom.afterTransform",((e,t)=>{const n=this.getSlide();if(n&&s(n.el))return;const i=this.container;if(i){const e=Math.abs(t.current.f),n=e<1?"":Math.max(.5,Math.min(1,1-e/t.contentRect.fitHeight*1.5));i.style.setProperty("--fancybox-ts",n?"0s":""),i.style.setProperty("--fancybox-opacity",n+"")}})),i.on("Panzoom.touchEnd",((e,t,n)=>{var i;const o=this.getSlide();if(o&&s(o.el))return;if(t.isMobile&&document.activeElement&&-1!==["TEXTAREA","INPUT"].indexOf(null===(i=document.activeElement)||void 0===i?void 0:i.nodeName))return;const r=Math.abs(t.dragOffset.y);"y"===t.lockedAxis&&(r>=200||r>=50&&t.dragOffset.time<300)&&(n&&n.cancelable&&n.preventDefault(),this.close(n,"f-throwOut"+(t.current.f<0?"Up":"Down")))}))),i.on("change",(e=>{var t;let n=null===(t=this.getSlide())||void 0===t?void 0:t.triggerEl;if(n){const t=new CustomEvent("slideTo",{bubbles:!0,cancelable:!0,detail:e.page});n.dispatchEvent(t)}})),i.on(["refresh","change"],(e=>{const t=this.container;if(!t)return;for(const n of t.querySelectorAll("[data-fancybox-current-index]"))n.innerHTML=e.page+1;for(const n of t.querySelectorAll("[data-fancybox-count]"))n.innerHTML=e.pages.length;if(!e.isInfinite){for(const n of t.querySelectorAll("[data-fancybox-next]"))e.page<e.pages.length-1?(n.removeAttribute(dt),n.removeAttribute(ut)):(n.setAttribute(dt,""),n.setAttribute(ut,"-1"));for(const n of t.querySelectorAll("[data-fancybox-prev]"))e.page>0?(n.removeAttribute(dt),n.removeAttribute(ut)):(n.setAttribute(dt,""),n.setAttribute(ut,"-1"))}const n=this.getSlide();if(!n)return;let i=n.downloadSrc||"";i||"image"!==n.type||n.error||!mt(n[ft])||(i=n[ft]);for(const e of t.querySelectorAll("[data-fancybox-download]")){const t=n.downloadFilename;i?(e.removeAttribute(dt),e.removeAttribute(ut),e.setAttribute(pt,i),e.setAttribute(ht,t||i),e.setAttribute("target","_blank")):(e.setAttribute(dt,""),e.setAttribute(ut,"-1"),e.removeAttribute(pt),e.removeAttribute(ht))}}
1)),this.emit("initCarousel")}attachEvents(){const e=this,t=e.container;if(!t)return;t.addEventListener("click",e.onClick,{passive:!1,capture:!1}),t.addEventListener("wheel",e.onWheel,{passive:!1,capture:!1}),document.addEventListener("keydown",e.onKeydown,{passive:!1,capture:!0}),document.addEventListener("visibilitychange",e.onVisibilityChange,!1),document.addEventListener("mousemove",e.onMousemove),e.option("trapFocus")&&document.addEventListener("focus",e.onFocus,!0),window.addEventListener("resize",e.onResize);const n=window.visualViewport;n&&(n.addEventListener("scroll",e.onResize),n.addEventListener("resize",e.onResize))}detachEvents(){const e=this,t=e.container;if(!t)return;document.removeEventListener("keydown",e.onKeydown,{passive:!1,capture:!0}),t.removeEventListener("wheel",e.onWheel,{passive:!1,capture:!1}),t.removeEventListener("click",e.onClick,{passive:!1,capture:!1}),document.removeEventListener("mousemove",e.onMousemove),window.removeEventListener("resize",e.onResize);const n=window.visualViewport;n&&(n.removeEventListener("resize",e.onResize),n.removeEventListener("scroll",e.onResize)),document.removeEventListener("visibilitychange",e.onVisibilityChange,!1),document.removeEventListener("focus",e.onFocus,!0)}scale(){const e=this.container;if(!e)return;const t=window.visualViewport,n=Math.max(1,(null==t?void 0:t.scale)||1);let i="",s="",o="";if(t&&n>1){let e=`${t.offsetLeft}px`,r=`${t.offsetTop}px`;i=t.width*n+"px",s=t.height*n+"px",o=`translate3d(${e}, ${r}, 0) scale(${1/n})`}e.style.transform=o,e.style.width=i,e.style.height=s}onClick(e){var t;const{container:n,isCompact:i}=this;if(!n||this.isClosing())return;!i&&this.option("idle")&&this.resetIdle();const s=e.composedPath()[0];if(s.closest(".fancybox-spinner")||s.closest("[data-fancybox-close]"))return e.preventDefault(),void this.close(e);if(s.closest("[data-fancybox-prev]"))return e.preventDefault(),void this.prev();if(s.closest("[data-fancybox-next]"))return e.preventDefault(),void this.next();if("click"===e.type&&0===e.detail)return;if(Math.abs(e.pageX-wt)>30||Math.abs(e.pageY-xt)>30)return;const o=document.activeElement;if(gt()&&o&&n.contains(o))return;if(i&&"image"===(null===(t=this.getSlide())||void 0===t?void 0:t.type))return void(this.clickTimer?(clearTimeout(this.clickTimer),this.clickTimer=null):this.clickTimer=setTimeout((()=>{this.toggleIdle(),this.clickTimer=null}),350));if(this.emit("click",e),e.defaultPrevented)return;let r=!1;if(s.closest(".fancybox__content")){if(o){if(o.closest("[contenteditable]"))return;s.matches(ie)||o.blur()}if(gt())return;r=this.option("contentClick")}else s.closest(".fancybox__carousel")&&!s.matches(ie)&&(r=this.option("backdropClick"));"close"===r?(e.preventDefault(),this.close(e)):"next"===r?(e.preventDefault(),this.next()):"prev"===r&&(e.preventDefault(),this.prev())}onWheel(e){const t=e.target;let n=this.option("wheel",e);t.closest(".fancybox__thumbs")&&(n="slide");const i="slide"===n,s=[-e.deltaX||0,-e.deltaY||0,-e.detail||0].reduce((function(e,t){return Math.abs(t)>Math.abs(e)?t:e})),r=Math.max(-1,Math.min(1,s)),a=Date.now();this.pwt&&a-this.pwt<300?i&&e.preventDefault():(this.pwt=a,this.emit("wheel",e,r),e.defaultPrevented||("close"===n?(e.preventDefault(),this.close(e)):"slide"===n&&(o(t)||(e.preventDefault(),this[r>0?"prev":"next"]()))))}onScroll(){window.scrollTo(Et,St)}onKeydown(e){if(!this.isTopmost())return;this.isCompact||!this.option("idle")||this.isClosing()||this.resetIdle();const t=e.key,n=this.option("keyboard");if(!n)return;const i=e.composedPath()[0],s=document.activeElement&&document.activeElement.classList,o=s&&s.contains("f-button")||i.dataset.carouselPage||i.dataset.carouselIndex;if("Escape"!==t&&!o&&C(i)&&(i.isContentEditable||-1!==["TEXTAREA","OPTION","INPUT","SELECT","VIDEO"].indexOf(i.nodeName)))return;if("Tab"===e.key?M(this.container,st):P(this.container,st),e.ctrlKey||e.altKey||e.shiftKey)return;this.emit("keydown",t,e);const r=n[t];r&&"function"==typeof this[r]&&(e.preventDefault(),this[r]())}onResize(){const e=this.container;if(!e)return;const t=this.isCompact;e.classList.toggle(rt,t),this.manageCaption(this.getSlide()),this.isCompact?this.clearIdle():this.endIdle(),this.scale(),this.emit
1("resize")}onFocus(e){this.isTopmost()&&this.checkFocus(e)}onMousemove(e){this.prevMouseMoveEvent=e,!this.isCompact&&this.option("idle")&&this.resetIdle()}onVisibilityChange(){"visible"===document.visibilityState?this.checkFocus():this.endIdle()}manageCloseBtn(e){const t=this.optionFor(e,"closeButton")||!1;if("auto"===t){const e=this.plugins.Toolbar;if(e&&e.state===Xe.Ready)return}if(!t)return;if(!e.contentEl||e.closeBtnEl)return;const n=this.option("tpl.closeButton");if(n){const t=r(this.localize(n));e.closeBtnEl=e.contentEl.appendChild(t),e.el&&M(e.el,"has-close-btn")}}manageCaption(e=void 0){var t,n;const i="fancybox__caption",s=this.container;if(!s)return;P(s,ct);const o=this.isCompact||this.option("commonCaption"),r=!o;if(this.caption&&this.stop(this.caption),r&&this.caption&&(this.caption.remove(),this.caption=null),o&&!this.caption)for(const e of(null===(t=this.carousel)||void 0===t?void 0:t.slides)||[])e.captionEl&&(e.captionEl.remove(),e.captionEl=void 0,P(e.el,ct),null===(n=e.el)||void 0===n||n.removeAttribute("aria-labelledby"));if(e||(e=this.getSlide()),!e||o&&!this.isCurrentSlide(e))return;const a=e.el;let l=this.optionFor(e,"caption","");if(!l)return void(o&&this.caption&&this.animate(this.caption,"f-fadeOut",(()=>{this.caption&&(this.caption.innerHTML="")})));let c=null;if(r){if(c=e.captionEl||null,a&&!c){const t=i+`_${this.id}_${e.index}`;c=document.createElement("div"),M(c,i),c.setAttribute("id",t),e.captionEl=a.appendChild(c),M(a,ct),a.setAttribute("aria-labelledby",t)}}else c=this.caption,c||(c=s.querySelector("."+i)),c||(c=document.createElement("div"),c.dataset.fancyboxCaption="",M(c,i),(this.footer||s).prepend(c)),M(s,ct),this.caption=c;c&&(c.innerHTML="",mt(l)||"number"==typeof l?c.innerHTML=l+"":l instanceof HTMLElement&&c.appendChild(l))}checkFocus(e){this.focus(e)}focus(e){var t;if(this.ignoreFocusChange)return;const n=document.activeElement||null,i=(null==e?void 0:e.target)||null,s=this.container,o=null===(t=this.carousel)||void 0===t?void 0:t.viewport;if(!s||!o)return;if(!e&&n&&s.contains(n))return;const r=this.getSlide(),a=r&&r.state===le.Ready?r.el:null;if(!a||a.contains(n)||s===n)return;e&&e.cancelable&&e.preventDefault(),this.ignoreFocusChange=!0;const l=Array.from(s.querySelectorAll(ie));let c=[],d=null;for(let e of l){const t=!e.offsetParent||!!e.closest('[aria-hidden="true"]'),n=a&&a.contains(e),i=!o.contains(e);if(e===s||(n||i)&&!t){c.push(e);const t=e.dataset.origTabindex;void 0!==t&&t&&(e.tabIndex=parseFloat(t)),e.removeAttribute("data-orig-tabindex"),!e.hasAttribute("autoFocus")&&d||(d=e)}else{const t=void 0===e.dataset.origTabindex?e.getAttribute("tabindex")||"":e.dataset.origTabindex;t&&(e.dataset.origTabindex=t),e.tabIndex=-1}}let u=null;e?(!i||c.indexOf(i)<0)&&(u=d||s,c.length&&(n===yt?u=c[0]:this.lastFocus!==s&&n!==bt||(u=c[c.length-1]))):u=r&&"image"===r.type?s:d||s,u&&se(u),this.lastFocus=document.activeElement,this.ignoreFocusChange=!1}next(){const e=this.carousel;e&&e.pages.length>1&&e.slideNext()}prev(){const e=this.carousel;e&&e.pages.length>1&&e.slidePrev()}jumpTo(...e){this.carousel&&this.carousel.slideTo(...e)}isTopmost(){var e;return(null===(e=Pt.getInstance())||void 0===e?void 0:e.id)==this.id}animate(e=null,t="",n){if(!e||!t)return void(n&&n());this.stop(e);const i=s=>{s.target===e&&e.dataset.animationName&&(e.removeEventListener("animationend",i),delete e.dataset.animationName,n&&n(),P(e,t))};e.dataset.animationName=t,e.addEventListener("animationend",i),M(e,t)}stop(e){e&&e.dispatchEvent(new CustomEvent("animationend",{bubbles:!1,cancelable:!0,currentTarget:e}))}setContent(e,t="",n=!0){if(this.isClosing())return;const i=e.el;if(!i)return;let s=null;if(C(t)?s=t:(s=r(t+""),C(s)||(s=document.createElement("div"),s.innerHTML=t+"")),["img","picture","iframe","video","audio"].includes(s.nodeName.toLowerCase())){const e=document.createElement("div");e.appendChild(s),s=e}C(s)&&e.filter&&!e.error&&(s=s.querySelector(e.filter)),s&&C(s)?(M(s,"fancybox__content"),e.id&&s.setAttribute("id",e.id),i.classList.add(`has-${e.error?"error":e.type||"unknown"}`),i.prepend(s),"none"===s.style.display&&(s.style.display=""),"none"===getComputedStyle(s).getPropertyValue("display")&&(s.style.display=e.display||this.option("defaultDisplay")||"flex"),e.contentEl=s,n&&this.revealContent(e),this.manageCloseBtn(e),this.manageCaption(e)):this.setError(e,"{{ELEMENT_NOT_FOUND}}")}revealContent(e,t){const n=e.el,i=e.contentEl;
1n&&i&&(this.emit("reveal",e),this.hideLoading(e),e.state=le.Opening,(t=this.isOpeningSlide(e)?void 0===t?this.optionFor(e,"showClass"):t:"f-fadeIn")?this.animate(i,t,(()=>{this.done(e)})):this.done(e))}done(e){this.isClosing()||(e.state=le.Ready,this.emit("done",e),M(e.el,"is-done"),this.isCurrentSlide(e)&&this.option("autoFocus")&&queueMicrotask((()=>{var t;null===(t=e.panzoom)||void 0===t||t.updateControls(),this.option("autoFocus")&&this.focus()})),this.isOpeningSlide(e)&&(P(this.container,lt),!this.isCompact&&this.option("idle")&&this.setIdle()))}isCurrentSlide(e){const t=this.getSlide();return!(!e||!t)&&t.index===e.index}isOpeningSlide(e){var t,n;return null===(null===(t=this.carousel)||void 0===t?void 0:t.prevPage)&&e&&e.index===(null===(n=this.getSlide())||void 0===n?void 0:n.index)}showLoading(e){e.state=le.Loading;const t=e.el;t&&(M(t,at),this.emit("loading",e),e.spinnerEl||setTimeout((()=>{if(!this.isClosing()&&!e.spinnerEl&&e.state===le.Loading){let n=r(T);M(n,"fancybox-spinner"),e.spinnerEl=n,t.prepend(n),this.animate(n,"f-fadeIn")}}),250))}hideLoading(e){const t=e.el;if(!t)return;const n=e.spinnerEl;this.isClosing()?null==n||n.remove():(P(t,at),n&&this.animate(n,"f-fadeOut",(()=>{n.remove()}
1)),e.state===le.Loading&&(this.emit("loaded",e),e.state=le.Ready))}setError(e,t){if(this.isClosing())return;const n=new Event("error",{bubbles:!0,cancelable:!0});if(this.emit("error",n,e),n.defaultPrevented)return;e.error=t,this.hideLoading(e),this.clearContent(e);const i=document.createElement("div");i.classList.add("fancybox-error"),i.innerHTML=this.localize(t||"<p>{{ERROR}}</p>"),this.setContent(e,i)}clearContent(e){if(void 0===e.state)return;this.emit("clearContent",e),e.contentEl&&(e.contentEl.remove(),e.contentEl=void 0);const t=e.el;t&&(P(t,"has-error"),P(t,"has-unknown"),P(t,`has-${e.type||"unknown"}`)),e.closeBtnEl&&e.closeBtnEl.remove(),e.closeBtnEl=void 0,e.captionEl&&e.captionEl.remove(),e.captionEl=void 0,e.spinnerEl&&e.spinnerEl.remove(),e.spinnerEl=void 0}getSlide(){var e;const t=this.carousel;return(null===(e=null==t?void 0:t.pages[null==t?void 0:t.page])||void 0===e?void 0:e.slides[0])||void 0}close(e,t){if(this.isClosing())return;const n=new Event("shouldClose",{bubbles:!0,cancelable:!0});if(this.emit("shouldClose",n,e),n.defaultPrevented)return;e&&e.cancelable&&(e.preventDefault(),e.stopPropagation());const i=()=>{this.proceedClose(e,t)};this.startedFs&&vt&&vt.isFullscreen()?Promise.resolve(vt.exit()).then((()=>i())):i()}clearIdle(){this.idleTimer&&clearTimeout(this.idleTimer),this.idleTimer=null}setIdle(e=!1){const t=()=>{this.clearIdle(),this.idle=!0,M(this.container,"is-idle"),this.emit("setIdle")};if(this.clearIdle(),!this.isClosing())if(e)t();else{const e=this.option("idle");e&&(this.idleTimer=setTimeout(t,e))}}endIdle(){this.clearIdle(),this.idle&&!this.isClosing()&&(this.idle=!1,P(this.container,"is-idle"),this.emit("endIdle"))}resetIdle(){this.endIdle(),this.setIdle()}toggleIdle(){this.idle?this.endIdle():this.setIdle(!0)}toggleFullscreen(){vt&&(vt.isFullscreen()?vt.exit():vt.request().then((()=>{this.startedFs=!0})))}isClosing(){return[ae.Closing,ae.CustomClosing,ae.Destroy].includes(this.state)}proceedClose(e,t){var n,i;this.state=ae.Closing,this.clearIdle(),this.detachEvents();const s=this.container,o=this.carousel,r=this.getSlide(),a=r&&this.option("placeFocusBack")?r.triggerEl||this.option("triggerEl"):null;if(a&&(ee(a)?se(a):a.focus()),s&&(P(s,lt),M(s,"is-closing"),s.setAttribute(it,"true"),this.option("animated")&&M(s,ot),s.style.pointerEvents="none"),o){o.clearTransitions(),null===(n=o.panzoom)||void 0===n||n.destroy(),null===(i=o.plugins.Navigation)||void 0===i||i.detach();for(const e of o.slides){e.state=le.Closing,this.hideLoading(e);const t=e.contentEl;t&&this.stop(t);const n=null==e?void 0:e.panzoom;n&&(n.stop(),n.detachEvents(),n.detachObserver()),this.isCurrentSlide(e)||o.emit("removeSlide",e)}}Et=window.scrollX,St=window.scrollY,window.addEventListener("scroll",this.onScroll),this.emit("close",e),this.state!==ae.CustomClosing?(void 0===t&&r&&(t=this.optionFor(r,"hideClass")),t&&r?(this.animate(r.contentEl,t,(()=>{o&&o.emit("removeSlide",r)})),setTimeout((()=>{this.destroy()}),500)):this.destroy()):setTimeout((()=>{this.destroy()}),500)}destroy(){var e;if(this.state===ae.Destroy)return;window.removeEventListener("scroll",this.onScroll),this.state=ae.Destroy,null===(e=this.carousel)||void 0===e||e.destroy();const t=this.container;t&&t.remove(),Tt.delete(this.id);const n=Pt.getInstance();n?n.focus():(bt&&(bt.remove(),bt=null),yt&&(yt.remove(),yt=null),P(document.documentElement,Qe),(()=>{if(!te)return;const e=document,t=e.body;t.classList.remove(et),t.style.setProperty(nt,""),e.documentElement.style.setProperty(tt,"")})(),this.emit("destroy"))}
1static bind(e,t,n){if(!te)return;let i,s="",o={};if(void 0===e?i=document.body:mt(e)?(i=document.body,s=e,"object"==typeof t&&(o=t||{})):(i=e,mt(t)&&(s=t),"object"==typeof n&&(o=n||{})),!i||!C(i))return;s=s||"[data-fancybox]";const r=Pt.openers.get(i)||new Map;r.set(s,o),Pt.openers.set(i,r),1===r.size&&i.addEventListener("click",Pt.fromEvent)}static unbind(e,t){let n,i="";if(mt(e)?(n=document.body,i=e):(n=e,mt(t)&&(i=t)),!n)return;const s=Pt.openers.get(n);s&&i&&s.delete(i),i&&s||(Pt.openers.delete(n),n.removeEventListener("click",Pt.fromEvent))}static destroy(){let e;for(;e=Pt.getInstance();)e.destroy();for(const e of Pt.openers.keys())e.removeEventListener("click",Pt.fromEvent);Pt.openers=new Map}static fromEvent(e){if(e.defaultPrevented)return;if(e.button&&0!==e.button)return;if(e.ctrlKey||e.metaKey||e.shiftKey)return;let t=e.composedPath()[0];const n=t.closest("[data-fancybox-trigger]");if(n){const e=n.dataset.fancyboxTrigger||"",i=document.querySelectorAll(`[data-fancybox="${e}"]`),s=parseInt(n.dataset.fancyboxIndex||"",10)||0;t=i[s]||t}if(!(t&&t instanceof Element))return;let i,s,o,r;if([...Pt.openers].reverse().find((([e,n])=>!(!e.contains(t)||![...n].reverse().find((([n,a])=>{let l=t.closest(n);return!!l&&(i=e,s=n,o=l,r=a,!0)}))))),!i||!s||!o)return;r=r||{},e.preventDefault(),t=o;let a=[],l=m({},re,r);l.event=e,l.triggerEl=t,l.delegate=n;const c=l.groupAll,d=l.groupAttr,u=d&&t?t.getAttribute(`${d}`):"";if((!t||u||c)&&(a=[].slice.call(i.querySelectorAll(s))),t&&!c&&(a=u?a.filter((e=>e.getAttribute(`${d}`)===u)):[t]),!a.length)return;const h=Pt.getInstance();return h&&h.options.triggerEl&&a.indexOf(h.options.triggerEl)>-1?void 0:(t&&(l.startIndex=a.indexOf(t)),Pt.fromNodes(a,l))}static fromSelector(e,t,n){let i=null,s="",o={};if(mt(e)?(i=document.body,s=e,"object"==typeof t&&(o=t||{})):e instanceof HTMLElement&&mt(t)&&(i=e,s=t,"object"==typeof n&&(o=n||{})),!i||!s)return!1;const r=Pt.openers.get(i);return!!r&&(o=m({},r.get(s)||{},o),!!o&&Pt.fromNodes(Array.from(i.querySelectorAll(s)),o))}static fromNodes(e,t){t=m({},re,t||{});const n=[];for(const i of e){const e=i.dataset||{},s=e[ft]||i.getAttribute(pt)||i.getAttribute("currentSrc")||i.getAttribute(ft)||void 0;let o;const r=t.delegate;let a;r&&n.length===t.startIndex&&(o=r instanceof HTMLImageElement?r:r.querySelector("img:not([aria-hidden])")),o||(o=i instanceof HTMLImageElement?i:i.querySelector("img:not([aria-hidden])")),o&&(a=o.currentSrc||o[ft]||void 0,!a&&o.dataset&&(a=o.dataset.lazySrc||o.dataset[ft]||void 0));const l={src:s,triggerEl:i,thumbEl:o,thumbElSrc:a,thumbSrc:a};for(const t in e){let n=e[t]+"";n="false"!==n&&("true"===n||n),l[t]=n}n.push(l)}return new Pt(n,t)}static getInstance(e){return e?Tt.get(e):Array.from(Tt.values()).reverse().find((e=>!e.isClosing()&&e))||null}static getSlide(){var e;return(null===(e=Pt.getInstance())||void 0===e?void 0:e.getSlide())||null}static show(e=[],t={}){return new Pt(e,t)}static next(){const e=Pt.getInstance();e&&e.next()}static prev(){const e=Pt.getInstance();e&&e.prev()}static close(e=!0,...t){if(e)for(const e of Tt.values())e.close(...t);else{const e=Pt.getInstance();e&&e.close(...t)}}}Object.defineProperty(Pt,"version",{enumerable:!0,configurable:!0,writable:!0,value:"5.0.36"}),Object.defineProperty(Pt,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:re}),Object.defineProperty(Pt,"Plugins",{enumerable:!0,configurable:!0,writable:!0,value:Je}),Object.defineProperty(Pt,"openers",{enumerable:!0,configurable:!0,writable:!0,value:new Map})},2416:function(e,t,n){"use strict";n.d(t,{BA:function(){return Be},C4:function(){return O},EW:function(){return Ze},Gc:function(){return we},IG:function(){return Ae},IJ:function(){return Re},KR:function(){return Ie},Kh:function(){return ye},PP:function(){return Je},Pr:function(){return $e},QW:function(){return Ve},QZ:function(){return T},R1:function(){return je},Tm:function(){return Ce},Ul:function(){return Ke},X2:function(){return u},Yv:function(){return nt},bl:function(){return A},ch:function(){return it},ds:function(){return C},fE:function(){return Pe},g8:function(){return Te},hV:function(){return ot},hZ:function(){return N},i9:function(){return Le},jr:function(){return c},ju:function(){return Me},lJ:function(){return _e},lW:function(){return Xe},mu:function(){return ze},nD:function(){return Ee},o5:function(){return l},qA:function(){return H},rY:function(){return We},tB:function(){return xe},u4:function(){return B},uY:function(){return a},ux:function(){return Oe},wB:function(){return st},yC:function(){return r}});var i=n(1784);
2/**
3* @vue/reactivity v3.5.13
4* (c) 2018-present Yuxi (Evan) You and Vue contributors
5* @license MIT
6**/let s,o;class r{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=s,!e&&s&&(this.index=(s.scopes||(s.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let e,t;if(this._isPaused=!0,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].pause();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){let e,t;if(this._isPaused=!1,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].resume();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].resume()}}run(e){if(this._active){const t=s;try{return s=this,e()}finally{s=t}}else 0}on(){s=this}off(){s=this.parent}stop(e){if(this._active){let t,n;for(this._active=!1,t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(this.effects.length=0,t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}}function a(e){return new r(e)}function l(){return s}function c(e,t=!1){s&&s.cleanups.push(e)}const d=new WeakSet;class u{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,s&&s.active&&s.effects.push(this)}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,d.has(this)&&(d.delete(this),this.trigger()))}notify(){2&this.flags&&!(32&this.flags)||8&this.flags||m(this)}run(){if(!(1&this.flags))return this.fn();this.flags|=2,_(this),b(this);const e=o,t=P;o=this,P=!0;try{return this.fn()}finally{0,y(this),o=e,P=t,this.flags&=-3}}stop(){if(1&this.flags){for(let e=this.deps;e;e=e.nextDep)E(e);this.deps=this.depsTail=void 0,_(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?d.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){w(this)&&this.run()}get dirty(){return w(this)}}let h,p,f=0;function m(e,t=!1){if(e.flags|=8,t)return e.next=p,void(p=e);e.next=h,h=e}function g(){f++}function v(){if(--f>0)return;if(p){let e=p;for(p=void 0;e;){const t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;h;){let t=h;for(h=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,1&t.flags)try{t.trigger()}catch(t){e||(e=t)}t=n}}if(e)throw e}function b(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function y(e){let t,n=e.depsTail,i=n;for(;i;){const e=i.prevDep;-1===i.version?(i===n&&(n=e),E(i),S(i)):t=i,i.dep.activeLink=i.prevActiveLink,i.prevActiveLink=void 0,i=e}e.deps=t,e.depsTail=n}function w(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(x(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function x(e){if(4&e.flags&&!(16&e.flags))return;if(e.flags&=-17,e.globalVersion===k)return;e.globalVersion=k;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!w(e))return void(e.flags&=-3);const n=o,s=P;o=e,P=!0;try{b(e);const n=e.fn(e._value);(0===t.version||(0,i.$H)(n,e._value))&&(e._value=n,t.version++)}catch(e){throw t.version++,e}finally{o=n,P=s,y(e),e.flags&=-3}}function E(e,t=!1){const{dep:n,prevSub:i,nextSub:s}=e;if(i&&(i.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=i,e.nextSub=void 0),n.subs===e&&(n.subs=i,!i&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)E(e,!0)}t||--n.sc||!n.map||n.map.delete(n.key)}function S(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function T(e,t){e.effect instanceof u&&(e=e.effect.fn);const n=new u(e);t&&(0,i.X$)(n,t);try{n.run()}catch(e){throw n.stop(),e}const s=n.run.bind(n);return s.effect=n,s}function C(e){e.effect.stop()}let P=!0;const M=[];function O(){M.push(P),P=!1}function A(){const e=M.pop();P=void 0===e||e}function _(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const e=o;o=void 0;try{t()}finally{o=e}}}let k=0;class L{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class I{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(e){if(!o||!P||o===this.computed)return;let t=this.activeLink;if(void 0===t||t.sub!==o)t=this.activeLink=new L(o,this),o.deps?(t.prevDep=o.depsTail,o.depsTail.nextDep=t,o.depsTail=t):o.deps=o.depsTail=t,R(t);else if(-1===t.version&&(t.version=this.version,t.nextDep)){const e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=o.depsTail,t.nextDep=void 0,o.depsTail.nextDep=t,o.depsTail=t,o.deps===t&&(o.deps=e)}return t}trigger(e){this.version++,k++,this.notify(e)}notify(e){g();try{0;for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{v()}}}function R(e){if(e.dep.sc++,4&e.sub.flags){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)R(e)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const D=new WeakMap,F=Symbol(""),z=Symbol(""),j=Symbol("");function B(e,t,n){if(P&&o){let t=D.get(e);t||D.set(e,t=new Map);let i=t.get(n);i||(t.set(n,i=new I),i.map=t,i.key=n),i.track()}}function N(e,t,n,s,o,r){const a=D.get(e);if(!a)return void k++;const l=e=>{e&&e.trigger()};
6if(g(),"clear"===t)a.forEach(l);else{const o=(0,i.cy)(e),r=o&&(0,i.yI)(n);if(o&&"length"===n){const e=Number(s);a.forEach(((t,n)=>{("length"===n||n===j||!(0,i.Bm)(n)&&n>=e)&&l(t)}))}else switch((void 0!==n||a.has(void 0))&&l(a.get(n)),r&&l(a.get(j)),t){case"add":o?r&&l(a.get("length")):(l(a.get(F)),(0,i.CE)(e)&&l(a.get(z)));break;case"delete":o||(l(a.get(F)),(0,i.CE)(e)&&l(a.get(z)));break;case"set":(0,i.CE)(e)&&l(a.get(F))}}v()}function $(e){const t=Oe(e);return t===e?t:(B(t,0,j),Pe(e)?t:t.map(_e))}function H(e){return B(e=Oe(e),0,j),e}const W={__proto__:null,[Symbol.iterator](){return V(this,Symbol.iterator,_e)},concat(...e){return $(this).concat(...e.map((e=>(0,i.cy)(e)?$(e):e)))},entries(){return V(this,"entries",(e=>(e[1]=_e(e[1]),e)))},every(e,t){return q(this,"every",e,t,void 0,arguments)},filter(e,t){return q(this,"filter",e,t,(e=>e.map(_e)),arguments)},find(e,t){return q(this,"find",e,t,_e,arguments)},findIndex(e,t){return q(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return q(this,"findLast",e,t,_e,arguments)},findLastIndex(e,t){return q(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return q(this,"forEach",e,t,void 0,arguments)},includes(...e){return U(this,"includes",e)},indexOf(...e){return U(this,"indexOf",e)},join(e){return $(this).join(e)},lastIndexOf(...e){return U(this,"lastIndexOf",e)},map(e,t){return q(this,"map",e,t,void 0,arguments)},pop(){return Y(this,"pop")},push(...e){return Y(this,"push",e)},reduce(e,...t){return X(this,"reduce",e,t)},reduceRight(e,...t){return X(this,"reduceRight",e,t)},shift(){return Y(this,"shift")},some(e,t){return q(this,"some",e,t,void 0,arguments)},splice(...e){return Y(this,"splice",e)},toReversed(){return $(this).toReversed()},toSorted(e){return $(this).toSorted(e)},toSpliced(...e){return $(this).toSpliced(...e)},unshift(...e){return Y(this,"unshift",e)},values(){return V(this,"values",_e)}};function V(e,t,n){const i=H(e),s=i[t]();return i===e||Pe(e)||(s._next=s.next,s.next=()=>{const e=s._next();return e.value&&(e.value=n(e.value)),e}),s}const G=Array.prototype;function q(e,t,n,i,s,o){const r=H(e),a=r!==e&&!Pe(e),l=r[t];if(l!==G[t]){const t=l.apply(e,o);return a?_e(t):t}let c=n;r!==e&&(a?c=function(t,i){return n.call(this,_e(t),i,e)}:n.length>2&&(c=function(t,i){return n.call(this,t,i,e)}));const d=l.call(r,c,i);return a&&s?s(d):d}function X(e,t,n,i){const s=H(e);let o=n;return s!==e&&(Pe(e)?n.length>3&&(o=function(t,i,s){return n.call(this,t,i,s,e)}):o=function(t,i,s){return n.call(this,t,_e(i),s,e)}),s[t](o,...i)}function U(e,t,n){const i=Oe(e);B(i,0,j);const s=i[t](...n);return-1!==s&&!1!==s||!Me(n[0])?s:(n[0]=Oe(n[0]),i[t](...n))}function Y(e,t,n=[]){O(),g();const i=Oe(e)[t].apply(e,n);return v(),A(),i}const Z=(0,i.pD)("__proto__,__v_isRef,__isVue"),K=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(i.Bm));function J(e){(0,i.Bm)(e)||(e=String(e));const t=Oe(this);return B(t,0,e),t.hasOwnProperty(e)}class Q{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if("__v_skip"===t)return e.__v_skip;const s=this._isReadonly,o=this._isShallow;if("__v_isReactive"===t)return!s;if("__v_isReadonly"===t)return s;if("__v_isShallow"===t)return o;if("__v_raw"===t)return n===(s?o?be:ve:o?ge:me).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const r=(0,i.cy)(e);if(!s){let e;if(r&&(e=W[t]))return e;if("hasOwnProperty"===t)return J}const a=Reflect.get(e,t,Le(e)?e:n);return((0,i.Bm)(t)?K.has(t):Z(t))?a:(s||B(e,0,t),o?a:Le(a)?r&&(0,i.yI)(t)?a:a.value:(0,i.Gv)(a)?s?xe(a):ye(a):a)}}class ee extends Q{constructor(e=!1){super(!1,e)}set(e,t,n,s){let o=e[t];if(!this._isShallow){const t=Ce(o);if(Pe(n)||Ce(n)||(o=Oe(o),n=Oe(n)),!(0,i.cy)(e)&&Le(o)&&!Le(n))return!t&&(o.value=n,!0)}const r=(0,i.cy)(e)&&(0,i.yI)(t)?Number(t)<e.length:(0,i.$3)(e,t),a=Reflect.set(e,t,n,Le(e)?e:s);return e===Oe(s)&&(r?(0,i.$H)(n,o)&&N(e,"set",t,n):N(e,"add",t,n)),a}deleteProperty(e,t){const n=(0,i.$3)(e,t),s=(e[t],Reflect.deleteProperty(e,t));return s&&n&&N(e,"delete",t,void 0),s}has(e,t){const n=Reflect.has(e,t);return(0,i.Bm)(t)&&K.has(t)||B(e,0,t),n}ownKeys(e){return B(e,0,(0,i.cy)(e)?"length":F),Reflect.ownKeys(e)}}class te extends Q{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const ne=new ee,ie=new te,se=new ee(!0),oe=new te(!0),re=e=>e,ae=e=>Reflect.getPrototypeOf(e);function le(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function ce(e,t){const n={get(n){const s=this.__v_raw,o=Oe(s),r=Oe(n);e||((0,i.$H)(n,r)&&B(o,0,n),B(o,0,r));const{has:a}=ae(o),l=t?re:e?ke:_e;return a.call(o,n)?l(s.get(n)):a.call(o,r)?l(s.get(r)):void(s!==o&&s.get(n))},get size(){const t=this.__v_raw;return!e&&B(Oe(t),0,F),Reflect.get(t,"size",t)},has(t){const n=this.__v_raw,s=Oe(n),o=Oe(t);return e||((0,i.$H)(t,o)&&B(s,0,t),B(s,0,o)),t===o?n.has(t):n.has(t)||n.has(o)}
6,forEach(n,i){const s=this,o=s.__v_raw,r=Oe(o),a=t?re:e?ke:_e;return!e&&B(r,0,F),o.forEach(((e,t)=>n.call(i,a(e),a(t),s)))}};(0,i.X$)(n,e?{add:le("add"),set:le("set"),delete:le("delete"),clear:le("clear")}:{add(e){t||Pe(e)||Ce(e)||(e=Oe(e));const n=Oe(this);return ae(n).has.call(n,e)||(n.add(e),N(n,"add",e,e)),this},set(e,n){t||Pe(n)||Ce(n)||(n=Oe(n));const s=Oe(this),{has:o,get:r}=ae(s);let a=o.call(s,e);a||(e=Oe(e),a=o.call(s,e));const l=r.call(s,e);return s.set(e,n),a?(0,i.$H)(n,l)&&N(s,"set",e,n):N(s,"add",e,n),this},delete(e){const t=Oe(this),{has:n,get:i}=ae(t);let s=n.call(t,e);s||(e=Oe(e),s=n.call(t,e));i&&i.call(t,e);const o=t.delete(e);return s&&N(t,"delete",e,void 0),o},clear(){const e=Oe(this),t=0!==e.size,n=e.clear();return t&&N(e,"clear",void 0,void 0),n}});return["keys","values","entries",Symbol.iterator].forEach((s=>{n[s]=function(e,t,n){return function(...s){const o=this.__v_raw,r=Oe(o),a=(0,i.CE)(r),l="entries"===e||e===Symbol.iterator&&a,c="keys"===e&&a,d=o[e](...s),u=n?re:t?ke:_e;return!t&&B(r,0,c?z:F),{next(){const{value:e,done:t}=d.next();return t?{value:e,done:t}:{value:l?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}(s,e,t)})),n}function de(e,t){const n=ce(e,t);return(t,s,o)=>"__v_isReactive"===s?!e:"__v_isReadonly"===s?e:"__v_raw"===s?t:Reflect.get((0,i.$3)(n,s)&&s in t?n:t,s,o)}const ue={get:de(!1,!1)},he={get:de(!1,!0)},pe={get:de(!0,!1)},fe={get:de(!0,!0)};const me=new WeakMap,ge=new WeakMap,ve=new WeakMap,be=new WeakMap;function ye(e){return Ce(e)?e:Se(e,!1,ne,ue,me)}function we(e){return Se(e,!1,se,he,ge)}function xe(e){return Se(e,!0,ie,pe,ve)}function Ee(e){return Se(e,!0,oe,fe,be)}function Se(e,t,n,s,o){if(!(0,i.Gv)(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const r=o.get(e);if(r)return r;const a=(l=e).__v_skip||!Object.isExtensible(l)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((0,i.Zf)(l));var l;if(0===a)return e;const c=new Proxy(e,2===a?s:n);return o.set(e,c),c}function Te(e){return Ce(e)?Te(e.__v_raw):!(!e||!e.__v_isReactive)}function Ce(e){return!(!e||!e.__v_isReadonly)}function Pe(e){return!(!e||!e.__v_isShallow)}function Me(e){return!!e&&!!e.__v_raw}function Oe(e){const t=e&&e.__v_raw;return t?Oe(t):e}function Ae(e){return!(0,i.$3)(e,"__v_skip")&&Object.isExtensible(e)&&(0,i.yQ)(e,"__v_skip",!0),e}const _e=e=>(0,i.Gv)(e)?ye(e):e,ke=e=>(0,i.Gv)(e)?xe(e):e;function Le(e){return!!e&&!0===e.__v_isRef}function Ie(e){return De(e,!1)}function Re(e){return De(e,!0)}function De(e,t){return Le(e)?e:new Fe(e,t)}class Fe{constructor(e,t){this.dep=new I,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:Oe(e),this._value=t?e:_e(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){const t=this._rawValue,n=this.__v_isShallow||Pe(e)||Ce(e);e=n?e:Oe(e),(0,i.$H)(e,t)&&(this._rawValue=e,this._value=n?e:_e(e),this.dep.trigger())}}function ze(e){e.dep&&e.dep.trigger()}function je(e){return Le(e)?e.value:e}function Be(e){return(0,i.Tn)(e)?e():je(e)}const Ne={get:(e,t,n)=>"__v_raw"===t?e:je(Reflect.get(e,t,n)),set:(e,t,n,i)=>{const s=e[t];return Le(s)&&!Le(n)?(s.value=n,!0):Reflect.set(e,t,n,i)}};function $e(e){return Te(e)?e:new Proxy(e,Ne)}class He{constructor(e){this.__v_isRef=!0,this._value=void 0;const t=this.dep=new I,{get:n,set:i}=e(t.track.bind(t),t.trigger.bind(t));this._get=n,this._set=i}get value(){return this._value=this._get()}set value(e){this._set(e)}}function We(e){return new He(e)}function Ve(e){const t=(0,i.cy)(e)?new Array(e.length):{};for(const n in e)t[n]=Ue(e,n);return t}class Ge{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0}get value(){const e=this._object[this._key];return this._value=void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return function(e,t){const n=D.get(e);return n&&n.get(t)}(Oe(this._object),this._key)}}class qe{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Xe(e,t,n){return Le(e)?e:(0,i.Tn)(e)?new qe(e):(0,i.Gv)(e)&&arguments.length>1?Ue(e,t,n):Ie(e)}function Ue(e,t,n){const i=e[t];return Le(i)?i:new Ge(e,t,n)}class Ye{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new I(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=k-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(8&this.flags||o===this))return m(this,!0),!0}get value(){const e=this.dep.track();return x(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function Ze(e,t,n=!1){let s,o;(0,i.Tn)(e)?s=e:(s=e.get,o=e.set);return new Ye(s,o,n)}const Ke={GET:"get",HAS:"has",ITERATE:"iterate"},Je={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},Qe={},et=new WeakMap;let tt;function nt(){return tt}function it(e,t=!1,n=tt){if(n){let t=et.get(n);t||et.set(n,t=[]),t.push(e)}else 0}function st(e,t,n=i.MZ){const{immediate:s,deep:o,once:r,scheduler:a,augmentJob:c,call:d}=n,h=e=>o?e:Pe(e)||!1===o||0===o?ot(e,1):ot(e);let p,f,m,g,v=!1,b=!1;if(Le(e)?(f=()=>e.value,v=Pe(e)):Te(e)?(f=()=>h(e),v=!0):(0,i.cy)(e)?(b=!0,v=e.some((e=>Te(e)||Pe(e))),f=()=>e.map((e=>Le(e)?e.value:Te(e)?h(e):(0,i.Tn)(e)?d?d(e,2):e():void 0))):f=(0,i.Tn)(e)?t?d?()=>d(e,2):e:()=>{if(m){O();try{m()}finally{A()}}const t=tt;tt=p;try{return d?d(e,3,[g]):e(g)}finally{tt=t}}:i.tE,t&&o){const e=f,t=!0===o?1/0:o;f=()=>ot(e(),t)}const y=l(),w=()=>{p.stop(),y&&y.active&&(0,i.TF)(y.effects,p)};if(r&&t){const e=t;t=(...t)=>{e(...t),w()}}let x=b?new Array(e.length).fill(Qe):Qe;const E=e=>{if(1&p.flags&&(p.dirty||e))if(t){const e=p.run();if(o||v||(b?e.some(((e,t)=>(0,i.$H)(e,x[t]))):(0,i.$H)(e,x))){m&&m();const n=tt;tt=p;try{const n=[e,x===Qe?void 0:b&&x[0]===Qe?[]:x,g];d?d(t,3,n):t(...n),x=e}finally{tt=n}}}else p.run()};
6return c&&c(E),p=new u(f),p.scheduler=a?()=>a(E,!1):E,g=e=>it(e,!1,p),m=p.onStop=()=>{const e=et.get(p);if(e){if(d)d(e,4);else for(const t of e)t();et.delete(p)}},t?s?E(!0):x=p.run():a?a(E.bind(null,!0),!0):p.run(),w.pause=p.pause.bind(p),w.resume=p.resume.bind(p),w.stop=w,w}function ot(e,t=1/0,n){if(t<=0||!(0,i.Gv)(e)||e.__v_skip)return e;if((n=n||new Set).has(e))return e;if(n.add(e),t--,Le(e))ot(e.value,t,n);else if((0,i.cy)(e))for(let i=0;i<e.length;i++)ot(e[i],t,n);else if((0,i.vM)(e)||(0,i.CE)(e))e.forEach((e=>{ot(e,t,n)}));else if((0,i.Qd)(e)){for(const i in e)ot(e[i],t,n);for(const i of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,i)&&ot(e[i],t,n)}return e}},2288:function(e,t,n){"use strict";n.d(t,{$V:function(){return ke},$u:function(){return Xe},$y:function(){return st},BA:function(){return i.BA},Bi:function(){return he},Bs:function(){return ss},C4:function(){return s.C4},CE:function(){return ui},Df:function(){return de},Dl:function(){return E},E:function(){return Lt},E3:function(){return Ei},EW:function(){return es},EY:function(){return ei},FK:function(){return Qn},Fv:function(){return Ti},Fw:function(){return Cn},GM:function(){return xt},Gc:function(){return i.Gc},Gt:function(){return Yt},Gw:function(){return ds},Gy:function(){return Q},H4:function(){return u},HF:function(){return At},Ht:function(){return Ct},IG:function(){return i.IG},IJ:function(){return i.IJ},Ic:function(){return qe},Im:function(){return U},K9:function(){return gn},KC:function(){return Ve},KR:function(){return i.KR},Kf:function(){return s.rU},Kh:function(){return i.Kh},LJ:function(){return us},LM:function(){return Pn},Lk:function(){return bi},Lu:function(){return Et},MZ:function(){return ce},Mw:function(){return ti},NP:function(){return St},Ng:function(){return xi},OA:function(){return Pt},OW:function(){return re},PP:function(){return i.PP},PR:function(){return Re},PS:function(){return Kt},PT:function(){return s.PT},Pn:function(){return Me},Pr:function(){return i.Pr},Q3:function(){return Ci},QP:function(){return te},QW:function(){return i.QW},QZ:function(){return i.QZ},Qi:function(){return I},R1:function(){return i.R1},R8:function(){return rs},RG:function(){return dt},SS:function(){return Ze},Tb:function(){return ht},Tm:function(){return i.Tm},Tq:function(){return Ae},Tr:function(){return s.Tr},U4:function(){return r},U_:function(){return An},Ul:function(){return i.Ul},Vq:function(){return ci},WQ:function(){return Zt},Wv:function(){return hi},X2:function(){return i.X2},Y4:function(){return ze},Y5:function(){return hs},YY:function(){return D},Yj:function(){return bt},Yv:function(){return i.Yv},ZH:function(){return s.ZH},ZQ:function(){return as},_B:function(){return s._B},aT:function(){return ps},bF:function(){return yi},bU:function(){return is},bj:function(){return Ke},bn:function(){return kt},bo:function(){return z},ch:function(){return i.ch},ci:function(){return vn},dA:function(){return Oe},dY:function(){return y},ds:function(){return i.ds},eW:function(){return Si},eX:function(){return ct},fE:function(){return i.fE},fn:function(){return Rn},g2:function(){return nt},g8:function(){return i.g8},gN:function(){return ot},gW:function(){return mi},gh:function(){return c},h:function(){return ts},hi:function(){return Ye},i9:function(){return i.i9},iD:function(){return cs},jC:function(){return ni},jr:function(){return i.jr},jt:function(){return R},ju:function(){return i.ju},k6:function(){return F},lW:function(){return i.lW},lt:function(){return ls},mu:function(){return i.mu},n:function(){return Fe},nD:function(){return i.nD},nI:function(){return Di},nT:function(){return Mn},o5:function(){return i.o5},p9:function(){return On},pI:function(){return lt},pM:function(){return ue},pR:function(){return se},qG:function(){return Qe},qL:function(){return d},qP:function(){return yt},qR:function(){return Je},rE:function(){return os},rO:function(){return Tt},rU:function(){return Pe},rY:function(){return i.rY},rk:function(){return fe},sV:function(){return Ge},tB:function(){return i.tB},tC:function(){return qi},tG:function(){return a},tY:function(){return Xn},uX:function(){return oi},uY:function(){return i.uY},ux:function(){return i.ux},v6:function(){return Ai},v_:function(){return s.v_},vv:function(){return pi},wB:function(){return _n},wX:function(){return Xi},wk:function(){return wt},xo:function(){return Ue},y$:function(){return ns},yC:function(){return i.yC},zz:function(){return _t}});var i=n(2416),s=n(1784);
7/**
8* @vue/runtime-core v3.5.13
9* (c) 2018-present Yuxi (Evan) You and Vue contributors
10* @license MIT
11**/
12const o=[];function r(e,t){}const a={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},l={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function c(e,t,n,i){try{return i?e(...i):e()}catch(e){u(e,t,n)}}function d(e,t,n,i){if((0,s.Tn)(e)){const o=c(e,t,n,i);return o&&(0,s.yL)(o)&&o.catch((e=>{u(e,t,n)})),o}if((0,s.cy)(e)){const s=[];for(let o=0;o<e.length;o++)s.push(d(e[o],t,n,i));return s}}function u(e,t,n,o=!0){t&&t.vnode;const{errorHandler:r,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||s.MZ;if(t){let s=t.parent;const o=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;s;){const t=s.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,o,a))return;s=s.parent}if(r)return(0,i.C4)(),c(r,null,10,[e,o,a]),void(0,i.bl)()}!function(e,t,n,i=!0,s=!1){if(s)throw e;console.error(e)}(e,0,0,o,a)}const h=[];let p=-1;const f=[];let m=null,g=0;const v=Promise.resolve();let b=null;function y(e){const t=b||v;return e?t.then(this?e.bind(this):e):t}function w(e){if(!(1&e.flags)){const t=C(e),n=h[h.length-1];!n||!(2&e.flags)&&t>=C(n)?h.push(e):h.splice(function(e){let t=p+1,n=h.length;for(;t<n;){const i=t+n>>>1,s=h[i],o=C(s);o<e||o===e&&2&s.flags?t=i+1:n=i}return t}(t),0,e),e.flags|=1,x()}}function x(){b||(b=v.then(P))}function E(e){(0,s.cy)(e)?f.push(...e):m&&-1===e.id?m.splice(g+1,0,e):1&e.flags||(f.push(e),e.flags|=1),x()}function S(e,t,n=p+1){for(0;n<h.length;n++){const t=h[n];if(t&&2&t.flags){if(e&&t.id!==e.uid)continue;0,h.splice(n,1),n--,4&t.flags&&(t.flags&=-2),t(),4&t.flags||(t.flags&=-2)}}}function T(e){if(f.length){const e=[...new Set(f)].sort(((e,t)=>C(e)-C(t)));if(f.length=0,m)return void m.push(...e);for(m=e,g=0;g<m.length;g++){const e=m[g];0,4&e.flags&&(e.flags&=-2),8&e.flags||e(),e.flags&=-2}m=null,g=0}}const C=e=>null==e.id?2&e.flags?-1:1/0:e.id;function P(e){s.tE;try{for(p=0;p<h.length;p++){const e=h[p];!e||8&e.flags||(4&e.flags&&(e.flags&=-2),c(e,e.i,e.i?15:14),4&e.flags||(e.flags&=-2))}}finally{for(;p<h.length;p++){const e=h[p];e&&(e.flags&=-2)}p=-1,h.length=0,T(),b=null,(h.length||f.length)&&P(e)}}let M,O=[],A=!1;let _=null,k=null;function L(e){const t=_;return _=e,k=e&&e.type.__scopeId||null,t}function I(e){k=e}function R(){k=null}const D=e=>F;function F(e,t=_,n){if(!t)return e;if(e._n)return e;const i=(...n)=>{i._d&&ci(-1);const s=L(t);let o;try{o=e(...n)}finally{L(s),i._d&&ci(1)}return o};return i._n=!0,i._c=!0,i._d=!0,i}function z(e,t){if(null===_)return e;const n=Ki(_),o=e.dirs||(e.dirs=[]);for(let e=0;e<t.length;e++){let[r,a,l,c=s.MZ]=t[e];r&&((0,s.Tn)(r)&&(r={mounted:r,updated:r}),r.deep&&(0,i.hV)(a),o.push({dir:r,instance:n,value:a,oldValue:void 0,arg:l,modifiers:c}))}return e}function j(e,t,n,s){const o=e.dirs,r=t&&t.dirs;for(let a=0;a<o.length;a++){const l=o[a];r&&(l.oldValue=r[a].value);let c=l.dir[s];c&&((0,i.C4)(),d(c,n,8,[e.el,l,e,t]),(0,i.bl)())}}const B=Symbol("_vte"),N=e=>e.__isTeleport,$=e=>e&&(e.disabled||""===e.disabled),H=e=>e&&(e.defer||""===e.defer),W=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,V=e=>"function"==typeof MathMLElement&&e instanceof MathMLElement,G=(e,t)=>{const n=e&&e.to;if((0,s.Kg)(n)){if(t){return t(n)}return null}return n},q={name:"Teleport",__isTeleport:!0,process(e,t,n,i,s,o,r,a,l,c){const{mc:d,pc:u,pbc:h,o:{insert:p,querySelector:f,createText:m,createComment:g}}=c,v=$(t.props);let{shapeFlag:b,children:y,dynamicChildren:w}=t;if(null==e){const e=t.el=m(""),c=t.anchor=m("");p(e,n,i),p(c,n,i);const u=(e,t)=>
12{16&b&&(s&&s.isCE&&(s.ce._teleportTarget=e),d(y,e,t,s,o,r,a,l))},h=()=>{const e=t.target=G(t.props,f),n=Z(e,t,m,p);e&&("svg"!==r&&W(e)?r="svg":"mathml"!==r&&V(e)&&(r="mathml"),v||(u(e,n),Y(t,!1)))};v&&(u(n,c),Y(t,!0)),H(t.props)?mn((()=>{h(),t.el.__isMounted=!0}),o):h()}else{if(H(t.props)&&!e.el.__isMounted)return void mn((()=>{q.process(e,t,n,i,s,o,r,a,l,c),delete e.el.__isMounted}),o);t.el=e.el,t.targetStart=e.targetStart;const d=t.anchor=e.anchor,p=t.target=e.target,m=t.targetAnchor=e.targetAnchor,g=$(e.props),b=g?n:p,y=g?d:m;if("svg"===r||W(p)?r="svg":("mathml"===r||V(p))&&(r="mathml"),w?(h(e.dynamicChildren,w,b,s,o,r,a),En(e,t,!0)):l||u(e,t,b,y,s,o,r,a,!1),v)g?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):X(t,n,d,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=G(t.props,f);e&&X(t,e,null,c,0)}else g&&X(t,p,m,c,1);Y(t,v)}},remove(e,t,n,{um:i,o:{remove:s}},o){const{shapeFlag:r,children:a,anchor:l,targetStart:c,targetAnchor:d,target:u,props:h}=e;if(u&&(s(c),s(d)),o&&s(l),16&r){const e=o||!$(h);for(let s=0;s<a.length;s++){const o=a[s];i(o,t,n,e,!!o.dynamicChildren)}}},move:X,hydrate:function(e,t,n,i,s,o,{o:{nextSibling:r,parentNode:a,querySelector:l,insert:c,createText:d}},u){const h=t.target=G(t.props,l);if(h){const l=$(t.props),p=h._lpa||h.firstChild;if(16&t.shapeFlag)if(l)t.anchor=u(r(e),t,a(e),n,i,s,o),t.targetStart=p,t.targetAnchor=p&&r(p);else{t.anchor=r(e);let a=p;for(;a;){if(a&&8===a.nodeType)if("teleport start anchor"===a.data)t.targetStart=a;else if("teleport anchor"===a.data){t.targetAnchor=a,h._lpa=t.targetAnchor&&r(t.targetAnchor);break}a=r(a)}t.targetAnchor||Z(h,t,d,c),u(p&&r(p),t,h,n,i,s,o)}Y(t,l)}return t.anchor&&r(t.anchor)}};function X(e,t,n,{o:{insert:i},m:s},o=2){0===o&&i(e.targetAnchor,t,n);const{el:r,anchor:a,shapeFlag:l,children:c,props:d}=e,u=2===o;if(u&&i(r,t,n),(!u||$(d))&&16&l)for(let e=0;e<c.length;e++)s(c[e],t,n,2);u&&i(a,t,n)}const U=q;function Y(e,t){const n=e.ctx;if(n&&n.ut){let i,s;for(t?(i=e.el,s=e.anchor):(i=e.targetStart,s=e.targetAnchor);i&&i!==s;)1===i.nodeType&&i.setAttribute("data-v-owner",n.uid),i=i.nextSibling;n.ut()}}function Z(e,t,n,i){const s=t.targetStart=n(""),o=t.targetAnchor=n("");return s[B]=o,e&&(i(s,e),i(o,e)),o}const K=Symbol("_leaveCb"),J=Symbol("_enterCb");function Q(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ge((()=>{e.isMounted=!0})),Ue((()=>{e.isUnmounting=!0})),e}const ee=[Function,Array],te={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ee,onEnter:ee,onAfterEnter:ee,onEnterCancelled:ee,onBeforeLeave:ee,onLeave:ee,onAfterLeave:ee,onLeaveCancelled:ee,onBeforeAppear:ee,onAppear:ee,onAfterAppear:ee,onAppearCancelled:ee},ne=e=>{const t=e.subTree;return t.component?ne(t.component):t};function ie(e){let t=e[0];if(e.length>1){let n=!1;for(const i of e)if(i.type!==ti){0,t=i,n=!0;break}}return t}const se={name:"BaseTransition",props:te,setup(e,{slots:t}){const n=Di(),s=Q();return()=>{const o=t.default&&de(t.default(),!0);if(!o||!o.length)return;const r=ie(o),a=(0,i.ux)(e),{mode:l}=a;if(s.isLeaving)return ae(r);const c=le(r);if(!c)return ae(r);let d=re(c,a,s,n,(e=>d=e));c.type!==ti&&ce(c,d);let u=n.subTree&&le(n.subTree);if(u&&u.type!==ti&&!fi(c,u)&&ne(n).type!==ti){let e=re(u,a,s,n);if(ce(u,e),"out-in"===l&&c.type!==ti)return s.isLeaving=!0,e.afterLeave=()=>{s.isLeaving=!1,8&n.job.flags||n.update(),delete e.afterLeave,u=void 0},ae(r);"in-out"===l&&c.type!==ti?e.delayLeave=(e,t,n)=>{oe(s,u)[String(u.key)]=u,e[K]=()=>{t(),e[K]=void 0,delete d.delayedLeave,u=void 0},d.delayedLeave=()=>{n(),delete d.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return r}}};function oe(e,t){const{leavingVNodes:n}=e;let i=n.get(t.type);return i||(i=Object.create(null),n.set(t.type,i)),i}function re(e,t,n,i,o){const{appear:r,mode:a,persisted:l=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:h,onEnterCancelled:p,onBeforeLeave:f,onLeave:m,onAfterLeave:g,onLeaveCancelled:v,onBeforeAppear:b,onAppear:y,onAfterAppear:w,onAppearCancelled:x}=t,E=String(e.key),S=oe(n,e),T=(e,t)=>{e&&d(e,i,9,t)},C=(e,t)=>{const n=t[1];T(e,t),(0,s.cy)(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},P={mode:a,persisted:l,beforeEnter(t){let i=c;if(!n.isMounted){if(!r)return;i=b||c}t[K]&&t[K](!0);const s=S[E];s&&fi(e,s)&&s.el[K]&&s.el[K](),T(i,[t])},enter(e){let t=u,i=h,s=p;if(!n.isMounted){if(!r)return;t=y||u,i=w||h,s=x||p}let o=!1;const a=e[J]=t=>{o||(o=!0,T(t?s:i,[e]),P.delayedLeave&&P.delayedLeave(),e[J]=void 0)};t?C(t,[e,a]):a()},leave(t,i){const s=String(e.key);if(t[J]&&t[J](!0),n.isUnmounting)return i();T(f,[t]);let o=!1;const r=t[K]=n=>{o||(o=!0,i(),T(n?v:g,[t]),t[K]=void 0,S[s]===e&&delete S[s])};S[s]=e,m?C(m,[t,r]):r()},clone(e){const s=re(e,t,n,i,o);return o&&o(s),s}};return P}function ae(e){if(Ie(e))return(e=Ei(e)).children=null,e}function le(e){if(!Ie(e))return N(e.type)&&e.children?ie(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(16&t)return n[0];if(32&t&&(0,s.Tn)(n.default))return n.default()}}function ce(e,t){6&e.shapeFlag&&e.component?(e.transition=t,ce(e.component.subTree,t)):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function de(e,t=!1,n){let i=[],s=0;for(let o=0;o<e.length;o++){let r=e[o];const a=null==n?r.key:String(n)+String(null!=r.key?r.key:o);r.type===Qn?(128&r.patchFlag&&s++,i=i.concat(de(r.children,t,a))):(t||r.type!==ti)&&i.push(null!=a?Ei(r,{key:a}):r)}if(s>1)for(let e=0;e<i.length;e++)i[e].patchFlag=-2;return i}
13/*! #__NO_SIDE_EFFECTS__ */function ue(e,t){return(0,s.Tn)(e)?(()=>(0,s.X$)({name:e.name},t,{setup:e}))():e}function he(){const e=Di();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}
13function pe(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function fe(e){const t=Di(),n=(0,i.IJ)(null);if(t){const i=t.refs===s.MZ?t.refs={}:t.refs;Object.defineProperty(i,e,{enumerable:!0,get:()=>n.value,set:e=>n.value=e})}else 0;return n}function me(e,t,n,o,r=!1){if((0,s.cy)(e))return void e.forEach(((e,i)=>me(e,t&&((0,s.cy)(t)?t[i]:t),n,o,r)));if(_e(o)&&!r)return void(512&o.shapeFlag&&o.type.__asyncResolved&&o.component.subTree.component&&me(e,t,n,o.component.subTree));const a=4&o.shapeFlag?Ki(o.component):o.el,l=r?null:a,{i:d,r:u}=e;const h=t&&t.r,p=d.refs===s.MZ?d.refs={}:d.refs,f=d.setupState,m=(0,i.ux)(f),g=f===s.MZ?()=>!1:e=>(0,s.$3)(m,e);if(null!=h&&h!==u&&((0,s.Kg)(h)?(p[h]=null,g(h)&&(f[h]=null)):(0,i.i9)(h)&&(h.value=null)),(0,s.Tn)(u))c(u,d,12,[l,p]);else{const t=(0,s.Kg)(u),o=(0,i.i9)(u);if(t||o){const i=()=>{if(e.f){const n=t?g(u)?f[u]:p[u]:u.value;r?(0,s.cy)(n)&&(0,s.TF)(n,a):(0,s.cy)(n)?n.includes(a)||n.push(a):t?(p[u]=[a],g(u)&&(f[u]=p[u])):(u.value=[a],e.k&&(p[e.k]=u.value))}else t?(p[u]=l,g(u)&&(f[u]=l)):o&&(u.value=l,e.k&&(p[e.k]=l))};l?(i.id=-1,mn(i,n)):i()}else 0}}let ge=!1;const ve=()=>{ge||(console.error("Hydration completed but contains mismatches."),ge=!0)},be=e=>{if(1===e.nodeType)return(e=>e.namespaceURI.includes("svg")&&"foreignObject"!==e.tagName)(e)?"svg":(e=>e.namespaceURI.includes("MathML"))(e)?"mathml":void 0},ye=e=>8===e.nodeType;function we(e){const{mt:t,p:n,o:{patchProp:o,createText:r,nextSibling:a,parentNode:l,remove:c,insert:d,createComment:u}}=e,h=(n,i,s,o,c,u=!1)=>{u=u||!!i.dynamicChildren;const w=ye(n)&&"["===n.data,x=()=>g(n,i,s,o,c,w),{type:E,ref:S,shapeFlag:T,patchFlag:C}=i;let P=n.nodeType;i.el=n,-2===C&&(u=!1,i.dynamicChildren=null);let M=null;switch(E){case ei:3!==P?""===i.children?(d(i.el=r(""),l(n),n),M=n):M=x():(n.data!==i.children&&(ve(),n.data=i.children),M=a(n));break;case ti:y(n)?(M=a(n),b(i.el=n.content.firstChild,n,s)):M=8!==P||w?x():a(n);break;case ni:if(w&&(P=(n=a(n)).nodeType),1===P||3===P){M=n;const e=!i.children.length;for(let t=0;t<i.staticCount;t++)e&&(i.children+=1===M.nodeType?M.outerHTML:M.data),t===i.staticCount-1&&(i.anchor=M),M=a(M);return w?a(M):M}x();break;case Qn:M=w?m(n,i,s,o,c,u):x();break;default:if(1&T)M=1===P&&i.type.toLowerCase()===n.tagName.toLowerCase()||y(n)?p(n,i,s,o,c,u):x();else if(6&T){i.slotScopeIds=c;const e=l(n);if(M=w?v(n):ye(n)&&"teleport start"===n.data?v(n,n.data,"teleport end"):a(n),t(i,e,null,s,o,be(e),u),_e(i)&&!i.type.__asyncResolved){let t;w?(t=yi(Qn),t.anchor=M?M.previousSibling:e.lastChild):t=3===n.nodeType?Si(""):yi("div"),t.el=n,i.component.subTree=t}}else 64&T?M=8!==P?x():i.type.hydrate(n,i,s,o,c,u,e,f):128&T&&(M=i.type.hydrate(n,i,s,o,be(l(n)),c,u,e,h))}return null!=S&&me(S,null,o,i),M},p=(e,t,n,r,a,l)=>{l=l||!!t.dynamicChildren;const{type:d,props:u,patchFlag:h,shapeFlag:p,dirs:m,transition:g}=t,v="input"===d||"option"===d;if(v||-1!==h){m&&j(t,null,n,"created");let d,w=!1;if(y(e)){w=xn(null,g)&&n&&n.vnode.props&&n.vnode.props.appear;const i=e.content.firstChild;w&&g.beforeEnter(i),b(i,e,n),t.el=e=i}if(16&p&&(!u||!u.innerHTML&&!u.textContent)){let i=f(e.firstChild,t,e,n,r,a,l);for(;i;){Se(e,1)||ve();const t=i;i=i.nextSibling,c(t)}}else if(8&p){let n=t.children;"\n"!==n[0]||"PRE"!==e.tagName&&"TEXTAREA"!==e.tagName||(n=n.slice(1)),e.textContent!==n&&(Se(e,0)||ve(),e.textContent=t.children)}if(u)if(v||!l||48&h){const t=e.tagName.includes("-");for(const i in u)(v&&(i.endsWith("value")||"indeterminate"===i)||(0,s.Mp)(i)&&!(0,s.SU)(i)||"."===i[0]||t)&&o(e,i,null,u[i],void 0,n)}else if(u.onClick)o(e,"onClick",null,u.onClick,void 0,n);else if(4&h&&(0,i.g8)(u.style))for(const e in u.style)u.style[e];(d=u&&u.onVnodeBeforeMount)&&_i(d,n,t),m&&j(t,null,n,"beforeMount"),((d=u&&u.onVnodeMounted)||m||w)&&Kn((()=>{d&&_i(d,n,t),w&&g.enter(e),m&&j(t,null,n,"mounted")}),r)}return e.nextSibling},f=(e,t,i,s,o,l,c)=>{c=c||!!t.dynamicChildren;const u=t.children,p=u.length;for(let t=0;t<p;t++){const f=c?u[t]:u[t]=Pi(u[t]),m=f.type===ei;e?(m&&!c&&t+1<p&&Pi(u[t+1]).type===ei&&(d(r(e.data.slice(f.children.length)),i,a(e)),e.data=f.children),e=h(e,f,s,o,l,c)):m&&!f.children?d(f.el=r(""),i):(Se(i,
131)||ve(),n(null,f,i,null,s,o,be(i),l))}return e},m=(e,t,n,i,s,o)=>{const{slotScopeIds:r}=t;r&&(s=s?s.concat(r):r);const c=l(e),h=f(a(e),t,c,n,i,s,o);return h&&ye(h)&&"]"===h.data?a(t.anchor=h):(ve(),d(t.anchor=u("]"),c,h),h)},g=(e,t,i,s,o,r)=>{if(Se(e.parentElement,1)||ve(),t.el=null,r){const t=v(e);for(;;){const n=a(e);if(!n||n===t)break;c(n)}}const d=a(e),u=l(e);return c(e),n(null,t,u,d,i,s,be(u),o),i&&(i.vnode.el=t.el,Vn(i,t.el)),d},v=(e,t="[",n="]")=>{let i=0;for(;e;)if((e=a(e))&&ye(e)&&(e.data===t&&i++,e.data===n)){if(0===i)return a(e);i--}return e},b=(e,t,n)=>{const i=t.parentNode;i&&i.replaceChild(e,t);let s=n;for(;s;)s.vnode.el===t&&(s.vnode.el=s.subTree.el=e),s=s.parent},y=e=>1===e.nodeType&&"TEMPLATE"===e.tagName;return[(e,t)=>{if(!t.hasChildNodes())return n(null,e,t),T(),void(t._vnode=e);h(t.firstChild,e,null,null,null),T(),t._vnode=e},h]}const xe="data-allow-mismatch",Ee={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Se(e,t){if(0===t||1===t)for(;e&&!e.hasAttribute(xe);)e=e.parentElement;const n=e&&e.getAttribute(xe);if(null==n)return!1;if(""===n)return!0;{const e=n.split(",");return!(0!==t||!e.includes("children"))||n.split(",").includes(Ee[t])}}const Te=(0,s.We)().requestIdleCallback||(e=>setTimeout(e,1)),Ce=(0,s.We)().cancelIdleCallback||(e=>clearTimeout(e)),Pe=(e=1e4)=>t=>{const n=Te(t,{timeout:e});return()=>Ce(n)};const Me=e=>(t,n)=>{const i=new IntersectionObserver((e=>{for(const n of e)if(n.isIntersecting){i.disconnect(),t();break}}),e);return n((e=>{if(e instanceof Element)return function(e){const{top:t,left:n,bottom:i,right:s}=e.getBoundingClientRect(),{innerHeight:o,innerWidth:r}=window;return(t>0&&t<o||i>0&&i<o)&&(n>0&&n<r||s>0&&s<r)}(e)?(t(),i.disconnect(),!1):void i.observe(e)})),()=>i.disconnect()},Oe=e=>t=>{if(e){const n=matchMedia(e);if(!n.matches)return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t);t()}},Ae=(e=[])=>(t,n)=>{(0,s.Kg)(e)&&(e=[e]);let i=!1;const o=e=>{i||(i=!0,r(),t(),e.target.dispatchEvent(new e.constructor(e.type,e)))},r=()=>{n((t=>{for(const n of e)t.removeEventListener(n,o)}))};return n((t=>{for(const n of e)t.addEventListener(n,o,{once:!0})})),r};const _e=e=>!!e.type.__asyncLoader
14/*! #__NO_SIDE_EFFECTS__ */;function ke(e){(0,s.Tn)(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:r=200,hydrate:a,timeout:l,suspensible:c=!0,onError:d}=e;let h,p=null,f=0;const m=()=>{let e;return p||(e=p=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),d)return new Promise(((t,n)=>{d(e,(()=>t((f++,p=null,m()))),(()=>n(e)),f+1)}));throw e})).then((t=>e!==p&&p?p:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),h=t,t))))};return ue({name:"AsyncComponentWrapper",__asyncLoader:m,__asyncHydrate(e,t,n){const i=a?()=>{const i=a(n,(t=>function(e,t){if(ye(e)&&"["===e.data){let n=1,i=e.nextSibling;for(;i;){if(1===i.nodeType){if(!1===t(i))break}else if(ye(i))if("]"===i.data){if(0==--n)break}else"["===i.data&&n++;i=i.nextSibling}}else t(e)}(e,t)));i&&(t.bum||(t.bum=[])).push(i)}:n;h?i():m().then((()=>!t.isUnmounted&&i()))},get __asyncResolved(){return h},setup(){const e=Ri;if(pe(e),h)return()=>Le(h,e);const t=t=>{p=null,u(t,e,13,!o)};if(c&&e.suspense||Wi)return m().then((t=>()=>Le(t,e))).catch((e=>(t(e),()=>o?yi(o,{error:e}):null)));const s=(0,i.KR)(!1),a=(0,i.KR)(),d=(0,i.KR)(!!r);return r&&setTimeout((()=>{d.value=!1}),r),null!=l&&setTimeout((()=>{if(!s.value&&!a.value){const e=new Error(`Async component timed out after ${l}ms.`);t(e),a.value=e}}),l),m().then((()=>{s.value=!0,e.parent&&Ie(e.parent.vnode)&&e.parent.update()})).catch((e=>{t(e),a.value=e})),()=>s.value&&h?Le(h,e):a.value&&o?yi(o,{error:a.value}):n&&!d.value?yi(n):void 0}})}function Le(e,t){const{ref:n,props:i,children:s,ce:o}=t.vnode,r=yi(e,i,s);return r.ref=n,r.ce=o,delete t.vnode.ce,r}const Ie=e=>e.type.__isKeepAlive,Re={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Di(),i=n.ctx;if(!i.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const o=new Map,r=new Set;let a=null;const l=n.suspense,{renderer:{p:c,m:d,um:u,o:{createElement:h}}}=i,p=h("div");function f(e){Ne(e),u(e,n,l,!0)}function m(e){o.forEach(((t,n)=>{const i=Ji(t.type);i&&!e(i)&&g(n)}))}function g(e){const t=o.get(e);!t||a&&fi(t,a)?a&&Ne(a):f(t),o.delete(e),r.delete(e)}i.activate=(e,t,n,i,o)=>{const r=e.component;d(e,t,n,0,l),c(r.vnode,e,t,n,r,l,i,e.slotScopeIds,o),mn((()=>{r.isDeactivated=!1,r.a&&(0,s.DY)(r.a);const t=e.props&&e.props.onVnodeMounted;t&&_i(t,r.parent,e)}),l)},i.deactivate=e=>{const t=e.component;Tn(t.m),Tn(t.a),d(e,p,null,1,l),mn((()=>{t.da&&(0,s.DY)(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&_i(n,t.parent,e),t.isDeactivated=!0}),l)},_n((()=>[e.include,e.exclude]),(([e,t])=>{e&&m((t=>De(e,t))),t&&m((e=>!De(t,e)))}),{flush:"post",deep:!0});let v=null;const b=()=>{null!=v&&(Gn(n.subTree.type)?mn((()=>{o.set(v,$e(n.subTree))}),n.subTree.suspense):o.set(v,$e(n.subTree)))};return Ge(b),Xe(b),Ue((()=>{o.forEach((e=>{const{subTree:t,suspense:i}=n,s=$e(t);if(e.type!==s.type||e.key!==s.key)f(e);else{Ne(s);const e=s.component.da;e&&mn(e,i)}}))})),()=>{if(v=null,!t.default)return a=null;const n=t.default(),i=n[0];if(n.length>1)return a=null,n;if(!(pi(i)&&(4&i.shapeFlag||128&i.shapeFlag)))return a=null,i;let s=$e(i);if(s.type===ti)return a=null,s;const l=s.type,c=Ji(_e(s)?s.type.__asyncResolved||{}
14:l),{include:d,exclude:u,max:h}=e;if(d&&(!c||!De(d,c))||u&&c&&De(u,c))return s.shapeFlag&=-257,a=s,i;const p=null==s.key?l:s.key,f=o.get(p);return s.el&&(s=Ei(s),128&i.shapeFlag&&(i.ssContent=s)),v=p,f?(s.el=f.el,s.component=f.component,s.transition&&ce(s,s.transition),s.shapeFlag|=512,r.delete(p),r.add(p)):(r.add(p),h&&r.size>parseInt(h,10)&&g(r.values().next().value)),s.shapeFlag|=256,a=s,Gn(i.type)?i:s}}};function De(e,t){return(0,s.cy)(e)?e.some((e=>De(e,t))):(0,s.Kg)(e)?e.split(",").includes(t):!!(0,s.gd)(e)&&(e.lastIndex=0,e.test(t))}function Fe(e,t){je(e,"a",t)}function ze(e,t){je(e,"da",t)}function je(e,t,n=Ri){const i=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(He(t,i,n),n){let e=n.parent;for(;e&&e.parent;)Ie(e.parent.vnode)&&Be(i,t,n,e),e=e.parent}}function Be(e,t,n,i){const o=He(t,e,i,!0);Ye((()=>{(0,s.TF)(i[t],o)}),n)}function Ne(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function $e(e){return 128&e.shapeFlag?e.ssContent:e}function He(e,t,n=Ri,s=!1){if(n){const o=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...s)=>{(0,i.C4)();const o=ji(n),r=d(t,n,e,s);return o(),(0,i.bl)(),r});return s?o.unshift(r):o.push(r),r}}const We=e=>(t,n=Ri)=>{Wi&&"sp"!==e||He(e,((...e)=>t(...e)),n)},Ve=We("bm"),Ge=We("m"),qe=We("bu"),Xe=We("u"),Ue=We("bum"),Ye=We("um"),Ze=We("sp"),Ke=We("rtg"),Je=We("rtc");function Qe(e,t=Ri){He("ec",e,t)}const et="components",tt="directives";function nt(e,t){return rt(et,e,!0,t)||e}const it=Symbol.for("v-ndc");function st(e){return(0,s.Kg)(e)?rt(et,e,!1)||e:e||it}function ot(e){return rt(tt,e)}function rt(e,t,n=!0,i=!1){const o=_||Ri;if(o){const n=o.type;if(e===et){const e=Ji(n,!1);if(e&&(e===t||e===(0,s.PT)(t)||e===(0,s.ZH)((0,s.PT)(t))))return n}const r=at(o[e]||n[e],t)||at(o.appContext[e],t);return!r&&i?n:r}}function at(e,t){return e&&(e[t]||e[(0,s.PT)(t)]||e[(0,s.ZH)((0,s.PT)(t))])}function lt(e,t,n,o){let r;const a=n&&n[o],l=(0,s.cy)(e);if(l||(0,s.Kg)(e)){let n=!1;l&&(0,i.g8)(e)&&(n=!(0,i.fE)(e),e=(0,i.qA)(e)),r=new Array(e.length);for(let s=0,o=e.length;s<o;s++)r[s]=t(n?(0,i.lJ)(e[s]):e[s],s,void 0,a&&a[s])}else if("number"==typeof e){0,r=new Array(e);for(let n=0;n<e;n++)r[n]=t(n+1,n,void 0,a&&a[n])}else if((0,s.Gv)(e))if(e[Symbol.iterator])r=Array.from(e,((e,n)=>t(e,n,void 0,a&&a[n])));else{const n=Object.keys(e);r=new Array(n.length);for(let i=0,s=n.length;i<s;i++){const s=n[i];r[i]=t(e[s],s,i,a&&a[i])}}else r=[];return n&&(n[o]=r),r}function ct(e,t){for(let n=0;n<t.length;n++){const i=t[n];if((0,s.cy)(i))for(let t=0;t<i.length;t++)e[i[t].name]=i[t].fn;else i&&(e[i.name]=i.key?(...e)=>{const t=i.fn(...e);return t&&(t.key=i.key),t}:i.fn)}return e}function dt(e,t,n={},i,o){if(_.ce||_.parent&&_e(_.parent)&&_.parent.ce)return"default"!==t&&(n.name=t),oi(),hi(Qn,null,[yi("slot",n,i&&i())],64);let r=e[t];r&&r._c&&(r._d=!1),oi();const a=r&&ut(r(n)),l=n.key||a&&a.key,c=hi(Qn,{key:(l&&!(0,s.Bm)(l)?l:`_${t}`)+(!a&&i?"_fb":"")},a||(i?i():[]),a&&1===e._?64:-2);return!o&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),r&&r._c&&(r._d=!0),c}function ut(e){return e.some((e=>!pi(e)||e.type!==ti&&!(e.type===Qn&&!ut(e.children))))?e:null}function ht(e,t){const n={};for(const i in e)n[t&&/[A-Z]/.test(i)?`on:${i}`:(0,s.rU)(i)]=e[i];return n}const pt=e=>e?Ni(e)?Ki(e):pt(e.parent):null,ft=(0,s.X$)(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>pt(e.parent),$root:e=>pt(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>zt(e),$forceUpdate:e=>e.f||(e.f=()=>{w(e.update)}),$nextTick:e=>e.n||(e.n=y.bind(e.proxy)),$watch:e=>Ln.bind(e)}),mt=(e,t)=>e!==s.MZ&&!e.__isScriptSetup&&(0,s.$3)(e,t),gt={get({_:e},t){if("__v_skip"===t)return!0;const{ctx:n,setupState:o,data:r,props:a,accessCache:l,type:c,appContext:d}=e;let u;if("$"!==t[0]){const i=l[t];if(void 0!==i)switch(i){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return a[t]}else{if(mt(o,t))return l[t]=1,o[t];if(r!==s.MZ&&(0,s.$3)(r,t))return l[t]=2,r[t];if((u=e.propsOptions[0])&&(0,s.$3)(u,t))return l[t]=3,a[t];if(n!==s.MZ&&(0,s.$3)(n,t))return l[t]=4,n[t];It&&(l[t]=0)}}const h=ft[t];let p,f;return h?("$attrs"===t&&(0,i.u4)(e.attrs,"get",""),h(e)):(p=c.__cssModules)&&(p=p[t])?p:n!==s.MZ&&(0,s.$3)(n,t)?(l[t]=4,n[t]):(f=d.config.globalProperties,(0,s.$3)(f,t)?f[t]:void 0)},set({_:e},t,n){const{data:i,setupState:o,ctx:r}=e;
14return mt(o,t)?(o[t]=n,!0):i!==s.MZ&&(0,s.$3)(i,t)?(i[t]=n,!0):!(0,s.$3)(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(r[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:i,appContext:o,propsOptions:r}},a){let l;return!!n[a]||e!==s.MZ&&(0,s.$3)(e,a)||mt(t,a)||(l=r[0])&&(0,s.$3)(l,a)||(0,s.$3)(i,a)||(0,s.$3)(ft,a)||(0,s.$3)(o.config.globalProperties,a)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:(0,s.$3)(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};const vt=(0,s.X$)({},gt,{get(e,t){if(t!==Symbol.unscopables)return gt.get(e,t,e)},has(e,t){return"_"!==t[0]&&!(0,s.BH)(t)}});function bt(){return null}function yt(){return null}function wt(e){0}function xt(e){0}function Et(){return null}function St(){0}function Tt(e,t){return null}function Ct(){return Mt().slots}function Pt(){return Mt().attrs}function Mt(){const e=Di();return e.setupContext||(e.setupContext=Zi(e))}function Ot(e){return(0,s.cy)(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}function At(e,t){const n=Ot(e);for(const e in t){if(e.startsWith("__skip"))continue;let i=n[e];i?(0,s.cy)(i)||(0,s.Tn)(i)?i=n[e]={type:i,default:t[e]}:i.default=t[e]:null===i&&(i=n[e]={default:t[e]}),i&&t[`__skip_${e}`]&&(i.skipFactory=!0)}return n}function _t(e,t){return e&&t?(0,s.cy)(e)&&(0,s.cy)(t)?e.concat(t):(0,s.X$)({},Ot(e),Ot(t)):e||t}function kt(e,t){const n={};for(const i in e)t.includes(i)||Object.defineProperty(n,i,{enumerable:!0,get:()=>e[i]});return n}function Lt(e){const t=Di();let n=e();return Bi(),(0,s.yL)(n)&&(n=n.catch((e=>{throw ji(t),e}))),[n,()=>ji(t)]}let It=!0;function Rt(e){const t=zt(e),n=e.proxy,o=e.ctx;It=!1,t.beforeCreate&&Dt(t.beforeCreate,e,"bc");const{data:r,computed:a,methods:l,watch:c,provide:d,inject:u,created:h,beforeMount:p,mounted:f,beforeUpdate:m,updated:g,activated:v,deactivated:b,beforeDestroy:y,beforeUnmount:w,destroyed:x,unmounted:E,render:S,renderTracked:T,renderTriggered:C,errorCaptured:P,serverPrefetch:M,expose:O,inheritAttrs:A,components:_,directives:k,filters:L}=t;if(u&&function(e,t){(0,s.cy)(e)&&(e=$t(e));for(const n in e){const o=e[n];let r;r=(0,s.Gv)(o)?"default"in o?Zt(o.from||n,o.default,!0):Zt(o.from||n):Zt(o),(0,i.i9)(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:e=>r.value=e}):t[n]=r}}(u,o,null),l)for(const e in l){const t=l[e];(0,s.Tn)(t)&&(o[e]=t.bind(n))}if(r){0;const t=r.call(n,n);0,(0,s.Gv)(t)&&(e.data=(0,i.Kh)(t))}if(It=!0,a)for(const e in a){const t=a[e],i=(0,s.Tn)(t)?t.bind(n,n):(0,s.Tn)(t.get)?t.get.bind(n,n):s.tE;0;const r=!(0,s.Tn)(t)&&(0,s.Tn)(t.set)?t.set.bind(n):s.tE,l=es({get:i,set:r});Object.defineProperty(o,e,{enumerable:!0,configurable:!0,get:()=>l.value,set:e=>l.value=e})}if(c)for(const e in c)Ft(c[e],o,n,e);if(d){const e=(0,s.Tn)(d)?d.call(n):d;Reflect.ownKeys(e).forEach((t=>{Yt(t,e[t])}))}function I(e,t){(0,s.cy)(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(h&&Dt(h,e,"c"),I(Ve,p),I(Ge,f),I(qe,m),I(Xe,g),I(Fe,v),I(ze,b),I(Qe,P),I(Je,T),I(Ke,C),I(Ue,w),I(Ye,E),I(Ze,M),(0,s.cy)(O))if(O.length){const t=e.exposed||(e.exposed={});O.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});S&&e.render===s.tE&&(e.render=S),null!=A&&(e.inheritAttrs=A),_&&(e.components=_),k&&(e.directives=k),M&&pe(e)}function Dt(e,t,n){d((0,s.cy)(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function Ft(e,t,n,i){let o=i.includes(".")?In(n,i):()=>n[i];if((0,s.Kg)(e)){const n=t[e];(0,s.Tn)(n)&&_n(o,n)}else if((0,s.Tn)(e))_n(o,e.bind(n));else if((0,s.Gv)(e))if((0,s.cy)(e))e.forEach((e=>Ft(e,t,n,i)));else{const i=(0,s.Tn)(e.handler)?e.handler.bind(n):t[e.handler];(0,s.Tn)(i)&&_n(o,i,e)}else 0}function zt(e){const t=e.type,{mixins:n,extends:i}=t,{mixins:o,optionsCache:r,config:{optionMergeStrategies:a}}=e.appContext,l=r.get(t);let c;return l?c=l:o.length||n||i?(c={},o.length&&o.forEach((e=>jt(c,e,a,!0))),jt(c,t,a)):c=t,(0,s.Gv)(t)&&r.set(t,c),c}function jt(e,t,n,i=!1){const{mixins:s,extends:o}=t;o&&jt(e,o,n,!0),s&&s.forEach((t=>jt(e,t,n,!0)));for(const s in t)if(i&&"expose"===s);else{const i=Bt[s]||n&&n[s];e[s]=i?i(e[s],t[s]):t[s]}return e}const Bt={data:Nt,props:Vt,emits:Vt,methods:Wt,computed:Wt,beforeCreate:Ht,created:Ht,beforeMount:Ht,mounted:Ht,beforeUpdate:Ht,updated:Ht,beforeDestroy:Ht,beforeUnmount:Ht,destroyed:Ht,unmounted:Ht,activated:Ht,deactivated:Ht,errorCaptured:Ht,serverPrefetch:Ht,components:Wt,directives:Wt,watch:function(e,t){if(!e)return t;if(!t)return e;const n=(0,s.X$)(Object.create(null),e);for(const i in t)n[i]=Ht(e[i],t[i]);return n},provide:Nt,inject:function(e,t){return Wt($t(e),$t(t))}};function Nt(e,t){return t?e?function(){return(0,s.X$)((0,s.Tn)(e)?e.call(this,this):e,(0,s.Tn)(t)?t.call(this,this):t)}:t:e}function $t(e){if((0,s.cy)(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ht(e,t){return e?[...new Set([].concat(e,t))]:t}function Wt(e,t){return e?(0,s.X$)(Object.create(null),e,t):t}function Vt(e,t){return e?(0,s.cy)(e)&&(0,s.cy)(t)?[...new Set([...e,...t])]:(0,s.X$)(Object.create(null),Ot(e),Ot(null!=t?t:{})):t}function Gt(){return{app:null,config:{isNativeTag:s.NO,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let qt=0;function Xt(e,t){return function(n,i=null){(0,s.Tn)(n)||(n=(0,s.X$)({},n)),null==i||(0,s.Gv)(i)||(i=null);const o=Gt(),r=new WeakSet,a=[];let l=!1;const c=o.app={_uid:qt++,_component:n,_props:i,_container:null,_context:o,_instance:null,version:os,get config(){return o.config},set config(e){0},use(e,...t){return r.has(e)||(e&&(0,s.Tn)(e.install)?(r.add(e),e.install(c,...t)):(0,s.Tn)(e)&&(r.add(e),e(c,...t))),c},mixin(e){return o.mixins.includes(e)||o.mixins.push(e),c},component(e,t){return t?(o.components[e]=t,c):o.components[e]},directive(e,t){return t?(o.directives[e]=t,c):o.directives[e]}
14,mount(s,r,a){if(!l){0;const d=c._ceVNode||yi(n,i);return d.appContext=o,!0===a?a="svg":!1===a&&(a=void 0),r&&t?t(d,s):e(d,s,a),l=!0,c._container=s,s.__vue_app__=c,Ki(d.component)}},onUnmount(e){a.push(e)},unmount(){l&&(d(a,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(e,t){return o.provides[e]=t,c},runWithContext(e){const t=Ut;Ut=c;try{return e()}finally{Ut=t}}};return c}}let Ut=null;function Yt(e,t){if(Ri){let n=Ri.provides;const i=Ri.parent&&Ri.parent.provides;i===n&&(n=Ri.provides=Object.create(i)),n[e]=t}else 0}function Zt(e,t,n=!1){const i=Ri||_;if(i||Ut){const o=Ut?Ut._context.provides:i?null==i.parent?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&(0,s.Tn)(t)?t.call(i&&i.proxy):t}else 0}function Kt(){return!!(Ri||_||Ut)}const Jt={},Qt=()=>Object.create(Jt),en=e=>Object.getPrototypeOf(e)===Jt;function tn(e,t,n,o){const[r,a]=e.propsOptions;let l,c=!1;if(t)for(let i in t){if((0,s.SU)(i))continue;const d=t[i];let u;r&&(0,s.$3)(r,u=(0,s.PT)(i))?a&&a.includes(u)?(l||(l={}))[u]=d:n[u]=d:jn(e.emitsOptions,i)||i in o&&d===o[i]||(o[i]=d,c=!0)}if(a){const t=(0,i.ux)(n),o=l||s.MZ;for(let i=0;i<a.length;i++){const l=a[i];n[l]=nn(r,t,l,o[l],e,!(0,s.$3)(o,l))}}return c}function nn(e,t,n,i,o,r){const a=e[n];if(null!=a){const e=(0,s.$3)(a,"default");if(e&&void 0===i){const e=a.default;if(a.type!==Function&&!a.skipFactory&&(0,s.Tn)(e)){const{propsDefaults:s}=o;if(n in s)i=s[n];else{const r=ji(o);i=s[n]=e.call(null,t),r()}}else i=e;o.ce&&o.ce._setProp(n,i)}a[0]&&(r&&!e?i=!1:!a[1]||""!==i&&i!==(0,s.Tg)(n)||(i=!0))}return i}const sn=new WeakMap;function on(e,t,n=!1){const i=n?sn:t.propsCache,o=i.get(e);if(o)return o;const r=e.props,a={},l=[];let c=!1;if(!(0,s.Tn)(e)){const i=e=>{c=!0;const[n,i]=on(e,t,!0);(0,s.X$)(a,n),i&&l.push(...i)};!n&&t.mixins.length&&t.mixins.forEach(i),e.extends&&i(e.extends),e.mixins&&e.mixins.forEach(i)}if(!r&&!c)return(0,s.Gv)(e)&&i.set(e,s.Oj),s.Oj;if((0,s.cy)(r))for(let e=0;e<r.length;e++){0;const t=(0,s.PT)(r[e]);rn(t)&&(a[t]=s.MZ)}else if(r){0;for(const e in r){const t=(0,s.PT)(e);if(rn(t)){const n=r[e],i=a[t]=(0,s.cy)(n)||(0,s.Tn)(n)?{type:n}:(0,s.X$)({}
14,n),o=i.type;let c=!1,d=!0;if((0,s.cy)(o))for(let e=0;e<o.length;++e){const t=o[e],n=(0,s.Tn)(t)&&t.name;if("Boolean"===n){c=!0;break}"String"===n&&(d=!1)}else c=(0,s.Tn)(o)&&"Boolean"===o.name;i[0]=c,i[1]=d,(c||(0,s.$3)(i,"default"))&&l.push(t)}}}const d=[a,l];return(0,s.Gv)(e)&&i.set(e,d),d}function rn(e){return"$"!==e[0]&&!(0,s.SU)(e)}const an=e=>"_"===e[0]||"$stable"===e,ln=e=>(0,s.cy)(e)?e.map(Pi):[Pi(e)],cn=(e,t,n)=>{if(t._n)return t;const i=F(((...e)=>ln(t(...e))),n);return i._c=!1,i},dn=(e,t,n)=>{const i=e._ctx;for(const n in e){if(an(n))continue;const o=e[n];if((0,s.Tn)(o))t[n]=cn(0,o,i);else if(null!=o){0;const e=ln(o);t[n]=()=>e}}},un=(e,t)=>{const n=ln(t);e.slots.default=()=>n},hn=(e,t,n)=>{for(const i in t)(n||"_"!==i)&&(e[i]=t[i])},pn=(e,t,n)=>{const i=e.slots=Qt();if(32&e.vnode.shapeFlag){const e=t._;e?(hn(i,t,n),n&&(0,s.yQ)(i,"_",e,!0)):dn(t,i)}else t&&un(e,t)},fn=(e,t,n)=>{const{vnode:i,slots:o}=e;let r=!0,a=s.MZ;if(32&i.shapeFlag){const e=t._;e?n&&1===e?r=!1:hn(o,t,n):(r=!t.$stable,dn(t,o)),a=t}else t&&(un(e,t),a={default:1});if(r)for(const e in o)an(e)||null!=a[e]||delete o[e]};const mn=Kn;function gn(e){return bn(e)}function vn(e){return bn(e,we)}function bn(e,t){(0,s.We)().__VUE__=!0;const{insert:n,remove:o,patchProp:r,createElement:a,createText:l,createComment:c,setText:d,setElementText:u,parentNode:h,nextSibling:p,setScopeId:f=s.tE,insertStaticContent:m}=e,g=(e,t,n,i=null,s=null,o=null,r=void 0,a=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!fi(e,t)&&(i=U(e),W(e,s,o,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:d,shapeFlag:u}=t;switch(c){case ei:v(e,t,n,i);break;case ti:b(e,t,n,i);break;case ni:null==e&&y(t,n,i,r);break;case Qn:k(e,t,n,i,s,o,r,a,l);break;default:1&u?E(e,t,n,i,s,o,r,a,l):6&u?L(e,t,n,i,s,o,r,a,l):(64&u||128&u)&&c.process(e,t,n,i,s,o,r,a,l,K)}null!=d&&s&&me(d,e&&e.ref,o,t||e,!t)},v=(e,t,i,s)=>{if(null==e)n(t.el=l(t.children),i,s);else{const n=t.el=e.el;t.children!==e.children&&d(n,t.children)}},b=(e,t,i,s)=>{null==e?n(t.el=c(t.children||""),i,s):t.el=e.el},y=(e,t,n,i)=>{[e.el,e.anchor]=m(e.children,t,n,i,e.el,e.anchor)},x=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=p(e),o(e),e=n;o(t)},E=(e,t,n,i,s,o,r,a,l)=>{"svg"===t.type?r="svg":"math"===t.type&&(r="mathml"),null==e?C(t,n,i,s,o,r,a,l):O(e,t,s,o,r,a,l)},C=(e,t,i,o,l,c,d,h)=>{let p,f;const{props:m,shapeFlag:g,transition:v,dirs:b}=e;if(p=e.el=a(e.type,c,m&&m.is,m),8&g?u(p,e.children):16&g&&M(e.children,p,null,o,l,yn(e,c),d,h),b&&j(e,null,o,"created"),P(p,e,e.scopeId,d,o),m){for(const e in m)"value"===e||(0,s.SU)(e)||r(p,e,null,m[e],c,o);"value"in m&&r(p,"value",null,m.value,c),(f=m.onVnodeBeforeMount)&&_i(f,o,e)}b&&j(e,null,o,"beforeMount");const y=xn(l,v);y&&v.beforeEnter(p),n(p,t,i),((f=m&&m.onVnodeMounted)||y||b)&&mn((()=>{f&&_i(f,o,e),y&&v.enter(p),b&&j(e,null,o,"mounted")}),l)},P=(e,t,n,i,s)=>{if(n&&f(e,n),i)for(let t=0;t<i.length;t++)f(e,i[t]);if(s){let n=s.subTree;if(t===n||Gn(n.type)&&(n.ssContent===t||n.ssFallback===t)){const t=s.vnode;P(e,t,t.scopeId,t.slotScopeIds,s.parent)}}},M=(e,t,n,i,s,o,r,a,l=0)=>{for(let c=l;c<e.length;c++){const l=e[c]=a?Mi(e[c]):Pi(e[c]);g(null,l,t,n,i,s,o,r,a)}},O=(e,t,n,i,o,a,l)=>{const c=t.el=e.el;let{patchFlag:d,dynamicChildren:h,dirs:p}=t;d|=16&e.patchFlag;const f=e.props||s.MZ,m=t.props||s.MZ;let g;if(n&&wn(n,!1),(g=m.onVnodeBeforeUpdate)&&_i(g,n,t,e),p&&j(t,e,n,"beforeUpdate"),n&&wn(n,!0),(f.innerHTML&&null==m.innerHTML||f.textContent&&null==m.textContent)&&u(c,""),h?A(e.dynamicChildren,h,c,n,i,yn(t,o),a):l||z(e,t,c,null,n,i,yn(t,o),a,!1),d>0){if(16&d)_(c,f,m,n,o);else if(2&d&&f.class!==m.class&&r(c,"class",null,m.class,o),4&d&&r(c,"style",f.style,m.style,o),8&d){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const i=e[t],s=f[i],a=m[i];a===s&&"value"!==i||r(c,i,s,a,o,n)}}1&d&&e.children!==t.children&&u(c,t.children)}else l||null!=h||_(c,f,m,n,o);((g=m.onVnodeUpdated)||p)&&mn((()=>{g&&_i(g,n,t,e),p&&j(t,e,n,"updated")}),i)},A=(e,t,n,i,s,o,r)=>{for(let a=0;a<t.length;a++){const l=e[a],c=t[a],d=l.el&&(l.type===Qn||!fi(l,c)||70&l.shapeFlag)?h(l.el):n;g(l,c,d,null,i,s,o,r,!0)}},_=(e,t,n,i,o)=>
14{if(t!==n){if(t!==s.MZ)for(const a in t)(0,s.SU)(a)||a in n||r(e,a,t[a],null,o,i);for(const a in n){if((0,s.SU)(a))continue;const l=n[a],c=t[a];l!==c&&"value"!==a&&r(e,a,c,l,o,i)}"value"in n&&r(e,"value",t.value,n.value,o)}},k=(e,t,i,s,o,r,a,c,d)=>{const u=t.el=e?e.el:l(""),h=t.anchor=e?e.anchor:l("");let{patchFlag:p,dynamicChildren:f,slotScopeIds:m}=t;m&&(c=c?c.concat(m):m),null==e?(n(u,i,s),n(h,i,s),M(t.children||[],i,h,o,r,a,c,d)):p>0&&64&p&&f&&e.dynamicChildren?(A(e.dynamicChildren,f,i,o,r,a,c),(null!=t.key||o&&t===o.subTree)&&En(e,t,!0)):z(e,t,i,h,o,r,a,c,d)},L=(e,t,n,i,s,o,r,a,l)=>{t.slotScopeIds=a,null==e?512&t.shapeFlag?s.ctx.activate(t,n,i,r,l):I(t,n,i,s,o,r,l):R(e,t,l)},I=(e,t,n,i,s,o,r)=>{const a=e.component=Ii(e,i,s);if(Ie(e)&&(a.ctx.renderer=K),Vi(a,!1,r),a.asyncDep){if(s&&s.registerDep(a,D,r),!e.el){const e=a.subTree=yi(ti);b(null,e,t,n)}}else D(a,e,t,n,s,o,r)},R=(e,t,n)=>{const i=t.component=e.component;if(function(e,t,n){const{props:i,children:s,component:o}=e,{props:r,children:a,patchFlag:l}=t,c=o.emitsOptions;0;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!s&&!a||a&&a.$stable)||i!==r&&(i?!r||Wn(i,r,c):!!r);if(1024&l)return!0;if(16&l)return i?Wn(i,r,c):!!r;if(8&l){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(r[n]!==i[n]&&!jn(c,n))return!0}}return!1}(e,t,n)){if(i.asyncDep&&!i.asyncResolved)return void F(i,t,n);i.next=t,i.update()}else t.el=e.el,i.vnode=t},D=(e,t,n,o,r,a,l)=>{const c=()=>{if(e.isMounted){let{next:t,bu:n,u:i,parent:o,vnode:d}=e;{const n=Sn(e);if(n)return t&&(t.el=d.el,F(e,t,l)),void n.asyncDep.then((()=>{e.isUnmounted||c()}))}let u,p=t;0,wn(e,!1),t?(t.el=d.el,F(e,t,l)):t=d,n&&(0,s.DY)(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&_i(u,o,t,d),wn(e,!0);const f=Bn(e);0;const m=e.subTree;e.subTree=f,g(m,f,h(m.el),U(m),e,r,a),t.el=f.el,null===p&&Vn(e,f.el),i&&mn(i,r),(u=t.props&&t.props.onVnodeUpdated)&&mn((()=>_i(u,o,t,d)),r)}else{let i;const{el:l,props:c}=t,{bm:d,m:u,parent:h,root:p,type:f}=e,m=_e(t);if(wn(e,!1),d&&(0,s.DY)(d),!m&&(i=c&&c.onVnodeBeforeMount)&&_i(i,h,t),wn(e,!0),l&&Q){const t=()=>{e.subTree=Bn(e),Q(l,e.subTree,e,r,null)};m&&f.__asyncHydrate?f.__asyncHydrate(l,e,t):t()}else{p.ce&&p.ce._injectChildStyle(f);const i=e.subTree=Bn(e);0,g(null,i,n,o,e,r,a),t.el=i.el}if(u&&mn(u,r),!m&&(i=c&&c.onVnodeMounted)){const e=t;mn((()=>_i(i,h,e)),r)}(256&t.shapeFlag||h&&_e(h.vnode)&&256&h.vnode.shapeFlag)&&e.a&&mn(e.a,r),e.isMounted=!0,t=n=o=null}};e.scope.on();const d=e.effect=new i.X2(c);e.scope.off();const u=e.update=d.run.bind(d),p=e.job=d.runIfDirty.bind(d);p.i=e,p.id=e.uid,d.scheduler=()=>w(p),wn(e,!0),u()},F=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:r,attrs:a,vnode:{patchFlag:l}}=e,c=(0,i.ux)(r),[d]=e.propsOptions;let u=!1;if(!(o||l>0)||16&l){let i;tn(e,t,r,a)&&(u=!0);for(const o in c)t&&((0,s.$3)(t,o)||(i=(0,s.Tg)(o))!==o&&(0,s.$3)(t,i))||(d?!n||void 0===n[o]&&void 0===n[i]||(r[o]=nn(d,c,o,void 0,e,!0)):delete r[o]);if(a!==c)for(const e in a)t&&(0,s.$3)(t,e)||(delete a[e],u=!0)}else if(8&l){const n=e.vnode.dynamicProps;for(let i=0;i<n.length;i++){let o=n[i];if(jn(e.emitsOptions,o))continue;const l=t[o];if(d)if((0,s.$3)(a,o))l!==a[o]&&(a[o]=l,u=!0);else{const t=(0,s.PT)(o);r[t]=nn(d,c,t,l,e,!1)}else l!==a[o]&&(a[o]=l,u=!0)}}u&&(0,i.hZ)(e.attrs,"set","")}(e,t.props,o,n),fn(e,t.children,n),(0,i.C4)(),S(e),(0,i.bl)()},z=(e,t,n,i,s,o,r,a,l=!1)=>{const c=e&&e.children,d=e?e.shapeFlag:0,h=t.children,{patchFlag:p,shapeFlag:f}=t;if(p>0){if(128&p)return void $(c,h,n,i,s,o,r,a,l);if(256&p)return void N(c,h,n,i,s,o,r,a,l)}8&f?(16&d&&X(c,s,o),h!==c&&u(n,h)):16&d?16&f?$(c,h,n,i,s,o,r,a,l):X(c,s,o,!0):(8&d&&u(n,""),16&f&&M(h,n,i,s,o,r,a,l))},N=(e,t,n,i,o,r,a,l,c)=>{e=e||s.Oj,t=t||s.Oj;const d=e.length,u=t.length,h=Math.min(d,u);let p;for(p=0;p<h;p++){const i=t[p]=c?Mi(t[p]):Pi(t[p]);g(e[p],i,n,null,o,r,a,l,c)}d>u?X(e,o,r,!0,!1,h):M(t,n,i,o,r,a,l,c,h)},$=(e,t,n,i,o,r,a,l,c)=>{let d=0;const u=t.length;let h=e.length-1,p=u-1;for(;d<=h&&d<=p;){const i=e[d],s=t[d]=c?Mi(t[d]):Pi(t[d]);if(!fi(i,s))break;g(i,s,n,null,o,r,a,l,c),d++}for(;d<=h&&d<=p;){const i=e[h],s=t[p]=c?Mi(t[p]):Pi(t[p]);if(!fi(i,s))break;g(i,s,n,null,o,r,a,l,c),h--,p--}if(d>h){if(d<=p){const e=p+1,s=e<u?t[e].el:i;for(;d<=p;)g(null,t[d]=c?Mi(t[d]):Pi(t[d]),n,s,o,r,a,l,c),d++}}else if(d>p)for(;d<=h;)W(e[d],o,r,!0),d++;else{const f=d,m=d,v=new Map;for(d=m;d<=p;d++){const e=t[d]=c?Mi(t[d]):Pi(t[d]);null!=e.key&&v.set(e.key,d)}let b,y=0;const w=p-m+1;let x=!1,E=0;const S=new Array(w);for(d=0;d<w;d++)S[d]=0;for(d=f;d<=h;d++){const i=e[d];if(y>=w){W(i,o,r,!0);continue}let s;if(null!=i.key)s=v.get(i.key);else for(b=m;b<=p;b++)if(0===S[b-m]&&fi(i,t[b])){s=b;break}void 0===s?W(i,o,r,!0):(S[s-m]=d+1,s>=E?E=s:x=!0,g(i,t[s],n,null,o,r,a,l,c),y++)}const T=x?function(e){const t=e.slice(),n=[0];let i,s,o,r,a;const l=e.length;for(i=0;i<l;i++){const l=e[i];
14if(0!==l){if(s=n[n.length-1],e[s]<l){t[i]=s,n.push(i);continue}for(o=0,r=n.length-1;o<r;)a=o+r>>1,e[n[a]]<l?o=a+1:r=a;l<e[n[o]]&&(o>0&&(t[i]=n[o-1]),n[o]=i)}}o=n.length,r=n[o-1];for(;o-- >0;)n[o]=r,r=t[r];return n}(S):s.Oj;for(b=T.length-1,d=w-1;d>=0;d--){const e=m+d,s=t[e],h=e+1<u?t[e+1].el:i;0===S[d]?g(null,s,n,h,o,r,a,l,c):x&&(b<0||d!==T[b]?H(s,n,h,2):b--)}}},H=(e,t,i,s,o=null)=>{const{el:r,type:a,transition:l,children:c,shapeFlag:d}=e;if(6&d)return void H(e.component.subTree,t,i,s);if(128&d)return void e.suspense.move(t,i,s);if(64&d)return void a.move(e,t,i,K);if(a===Qn){n(r,t,i);for(let e=0;e<c.length;e++)H(c[e],t,i,s);return void n(e.anchor,t,i)}if(a===ni)return void(({el:e,anchor:t},i,s)=>{let o;for(;e&&e!==t;)o=p(e),n(e,i,s),e=o;n(t,i,s)})(e,t,i);if(2!==s&&1&d&&l)if(0===s)l.beforeEnter(r),n(r,t,i),mn((()=>l.enter(r)),o);else{const{leave:e,delayLeave:s,afterLeave:o}=l,a=()=>n(r,t,i),c=()=>{e(r,(()=>{a(),o&&o()}))};s?s(r,a,c):c()}else n(r,t,i)},W=(e,t,n,i=!1,s=!1)=>{const{type:o,props:r,ref:a,children:l,dynamicChildren:c,shapeFlag:d,patchFlag:u,dirs:h,cacheIndex:p}=e;if(-2===u&&(s=!1),null!=a&&me(a,null,n,e,!0),null!=p&&(t.renderCache[p]=void 0),256&d)return void t.ctx.deactivate(e);const f=1&d&&h,m=!_e(e);let g;if(m&&(g=r&&r.onVnodeBeforeUnmount)&&_i(g,t,e),6&d)q(e.component,n,i);else{if(128&d)return void e.suspense.unmount(n,i);f&&j(e,null,t,"beforeUnmount"),64&d?e.type.remove(e,t,n,K,i):c&&!c.hasOnce&&(o!==Qn||u>0&&64&u)?X(c,t,n,!1,!0):(o===Qn&&384&u||!s&&16&d)&&X(l,t,n),i&&V(e)}(m&&(g=r&&r.onVnodeUnmounted)||f)&&mn((()=>{g&&_i(g,t,e),f&&j(e,null,t,"unmounted")}),n)},V=e=>{const{type:t,el:n,anchor:i,transition:s}=e;if(t===Qn)return void G(n,i);if(t===ni)return void x(e);const r=()=>{o(n),s&&!s.persisted&&s.afterLeave&&s.afterLeave()};if(1&e.shapeFlag&&s&&!s.persisted){const{leave:t,delayLeave:i}=s,o=()=>t(n,r);i?i(e.el,r,o):o()}else r()},G=(e,t)=>{let n;for(;e!==t;)n=p(e),o(e),e=n;o(t)},q=(e,t,n)=>{const{bum:i,scope:o,job:r,subTree:a,um:l,m:c,a:d}=e;Tn(c),Tn(d),i&&(0,s.DY)(i),o.stop(),r&&(r.flags|=8,W(a,e,t,n)),l&&mn(l,t),mn((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},X=(e,t,n,i=!1,s=!1,o=0)=>{for(let r=o;r<e.length;r++)W(e[r],t,n,i,s)},U=e=>{if(6&e.shapeFlag)return U(e.component.subTree);if(128&e.shapeFlag)return e.suspense.next();const t=p(e.anchor||e.el),n=t&&t[B];return n?p(n):t};let Y=!1;const Z=(e,t,n)=>{null==e?t._vnode&&W(t._vnode,null,null,!0):g(t._vnode||null,e,t,null,null,null,n),t._vnode=e,Y||(Y=!0,S(),T(),Y=!1)},K={p:g,um:W,m:H,r:V,mt:I,mc:M,pc:z,pbc:A,n:U,o:e};let J,Q;return t&&([J,Q]=t(K)),{render:Z,hydrate:J,createApp:Xt(Z,J)}}function yn({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function wn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function xn(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function En(e,t,n=!1){const i=e.children,o=t.children;if((0,s.cy)(i)&&(0,s.cy)(o))for(let e=0;e<i.length;e++){const t=i[e];let s=o[e];1&s.shapeFlag&&!s.dynamicChildren&&((s.patchFlag<=0||32===s.patchFlag)&&(s=o[e]=Mi(o[e]),s.el=t.el),n||-2===s.patchFlag||En(t,s)),s.type===ei&&(s.el=t.el)}}function Sn(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Sn(t)}function Tn(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Cn=Symbol.for("v-scx"),Pn=()=>{{const e=Zt(Cn);return e}};function Mn(e,t){return kn(e,null,t)}function On(e,t){return kn(e,null,{flush:"post"})}function An(e,t){return kn(e,null,{flush:"sync"})}function _n(e,t,n){return kn(e,t,n)}function kn(e,t,n=s.MZ){const{immediate:o,deep:r,flush:a,once:l}=n;const c=(0,s.X$)({},n);const u=t&&o||!t&&"post"!==a;let h;if(Wi)if("sync"===a){const e=Pn();h=e.__watcherHandles||(e.__watcherHandles=[])}else if(!u){const e=()=>{};return e.stop=s.tE,e.resume=s.tE,e.pause=s.tE,e}const p=Ri;c.call=(e,t,n)=>d(e,p,t,n);let f=!1;"post"===a?c.scheduler=e=>{mn(e,p&&p.suspense)}
14:"sync"!==a&&(f=!0,c.scheduler=(e,t)=>{t?e():w(e)}),c.augmentJob=e=>{t&&(e.flags|=4),f&&(e.flags|=2,p&&(e.id=p.uid,e.i=p))};const m=(0,i.wB)(e,t,c);return Wi&&(h?h.push(m):u&&m()),m}function Ln(e,t,n){const i=this.proxy,o=(0,s.Kg)(e)?e.includes(".")?In(i,e):()=>i[e]:e.bind(i,i);let r;(0,s.Tn)(t)?r=t:(r=t.handler,n=t);const a=ji(this),l=kn(o,r.bind(i),n);return a(),l}function In(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}function Rn(e,t,n=s.MZ){const o=Di();const r=(0,s.PT)(t);const a=(0,s.Tg)(t),l=Dn(e,r),c=(0,i.rY)(((i,l)=>{let c,d,u=s.MZ;return An((()=>{const t=e[r];(0,s.$H)(c,t)&&(c=t,l())})),{get(){return i(),n.get?n.get(c):c},set(e){const i=n.set?n.set(e):e;if(!((0,s.$H)(i,c)||u!==s.MZ&&(0,s.$H)(e,u)))return;const h=o.vnode.props;h&&(t in h||r in h||a in h)&&(`onUpdate:${t}`in h||`onUpdate:${r}`in h||`onUpdate:${a}`in h)||(c=e,l()),o.emit(`update:${t}`,i),(0,s.$H)(e,i)&&(0,s.$H)(e,u)&&!(0,s.$H)(i,d)&&l(),u=e,d=i}}}));return c[Symbol.iterator]=()=>{let e=0;return{next(){return e<2?{value:e++?l||s.MZ:c,done:!1}:{done:!0}}}},c}const Dn=(e,t)=>"modelValue"===t||"model-value"===t?e.modelModifiers:e[`${t}Modifiers`]||e[`${(0,s.PT)(t)}Modifiers`]||e[`${(0,s.Tg)(t)}Modifiers`];function Fn(e,t,...n){if(e.isUnmounted)return;const i=e.vnode.props||s.MZ;let o=n;const r=t.startsWith("update:"),a=r&&Dn(i,t.slice(7));let l;a&&(a.trim&&(o=n.map((e=>(0,s.Kg)(e)?e.trim():e))),a.number&&(o=n.map(s.bB)));let c=i[l=(0,s.rU)(t)]||i[l=(0,s.rU)((0,s.PT)(t))];!c&&r&&(c=i[l=(0,s.rU)((0,s.Tg)(t))]),c&&d(c,e,6,o);const u=i[l+"Once"];if(u){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,d(u,e,6,o)}}function zn(e,t,n=!1){const i=t.emitsCache,o=i.get(e);if(void 0!==o)return o;const r=e.emits;let a={},l=!1;if(!(0,s.Tn)(e)){const i=e=>{const n=zn(e,t,!0);n&&(l=!0,(0,s.X$)(a,n))};!n&&t.mixins.length&&t.mixins.forEach(i),e.extends&&i(e.extends),e.mixins&&e.mixins.forEach(i)}return r||l?((0,s.cy)(r)?r.forEach((e=>a[e]=null)):(0,s.X$)(a,r),(0,s.Gv)(e)&&i.set(e,a),a):((0,s.Gv)(e)&&i.set(e,null),null)}function jn(e,t){return!(!e||!(0,s.Mp)(t))&&(t=t.slice(2).replace(/Once$/,""),(0,s.$3)(e,t[0].toLowerCase()+t.slice(1))||(0,s.$3)(e,(0,s.Tg)(t))||(0,s.$3)(e,t))}function Bn(e){const{type:t,vnode:n,proxy:i,withProxy:o,propsOptions:[r],slots:a,attrs:l,emit:c,render:d,renderCache:h,props:p,data:f,setupState:m,ctx:g,inheritAttrs:v}=e,b=L(e);let y,w;try{if(4&n.shapeFlag){const e=o||i,t=e;y=Pi(d.call(t,e,h,p,m,f,g)),w=l}else{const e=t;0,y=Pi(e.length>1?e(p,{attrs:l,slots:a,emit:c}):e(p,null)),w=t.props?l:$n(l)}}catch(t){ii.length=0,u(t,e,1),y=yi(ti)}let x=y;if(w&&!1!==v){const e=Object.keys(w),{shapeFlag:t}=x;e.length&&7&t&&(r&&e.some(s.CP)&&(w=Hn(w,r)),x=Ei(x,w,!1,!0))}return n.dirs&&(x=Ei(x,null,!1,!0),x.dirs=x.dirs?x.dirs.concat(n.dirs):n.dirs),n.transition&&ce(x,n.transition),y=x,L(b),y}function Nn(e,t=!0){let n;for(let t=0;t<e.length;t++){const i=e[t];if(!pi(i))return;if(i.type!==ti||"v-if"===i.children){if(n)return;n=i}}return n}const $n=e=>{let t;for(const n in e)("class"===n||"style"===n||(0,s.Mp)(n))&&((t||(t={}))[n]=e[n]);return t},Hn=(e,t)=>{const n={};for(const i in e)(0,s.CP)(i)&&i.slice(9)in t||(n[i]=e[i]);return n};function Wn(e,t,n){const i=Object.keys(t);if(i.length!==Object.keys(e).length)return!0;for(let s=0;s<i.length;s++){const o=i[s];if(t[o]!==e[o]&&!jn(n,o))return!0}return!1}function Vn({vnode:e,parent:t},n){for(;t;){const i=t.subTree;if(i.suspense&&i.suspense.activeBranch===e&&(i.el=e.el),i!==e)break;(e=t.vnode).el=n,t=t.parent}}const Gn=e=>e.__isSuspense;let qn=0;const Xn={name:"Suspense",__isSuspense:!0,process(e,t,n,i,s,o,r,a,l,c){if(null==e)!function(e,t,n,i,s,o,r,a,l){const{p:c,o:{createElement:d}}=l,u=d("div"),h=e.suspense=Yn(e,s,i,t,u,n,o,r,a,l);c(null,h.pendingBranch=e.ssContent,u,null,i,h,o,r),h.deps>0?(Un(e,"onPending"),Un(e,"onFallback"),c(null,e.ssFallback,t,n,i,null,o,r),Jn(h,e.ssFallback)):h.resolve(!1,!0)}(t,n,i,s,o,r,a,l,c);else{if(o&&o.deps>0&&!e.suspense.isInFallback)return t.suspense=e.suspense,t.suspense.vnode=t,void(t.el=e.el);!function(e,t,n,i,s,o,r,a,{p:l,um:c,o:{createElement:d}}){const u=t.suspense=e.suspense;u.vnode=t,t.el=e.el;const h=t.ssContent,p=t.ssFallback,{activeBranch:f,pendingBranch:m,isInFallback:g,isHydrating:v}=u;if(m)u.pendingBranch=h,fi(h,m)?(l(m,h,u.hiddenContainer,null,s,u,o,r,a),u.deps<=0?u.resolve():g&&(v||(l(f,p,n,i,s,null,o,r,a),Jn(u,p)))):(u.pendingId=qn++,v?(u.isHydrating=!1,u.activeBranch=m):c(m,s,u),u.deps=0,u.effects.length=0,u.hiddenContainer=d("div"),g?(l(null,h,u.hiddenContainer,null,s,u,o,r,a),u.deps<=0?u.resolve():(l(f,p,n,i,s,null,o,r,a),Jn(u,p))):f&&fi(h,f)?(l(f,h,n,i,s,u,o,r,a),u.resolve(!0)):(l(null,h,u.hiddenContainer,null,s,u,o,r,a),u.deps<=0&&u.resolve()));else if(f&&fi(h,f))l(f,h,n,i,s,u,o,r,a),Jn(u,h);else if(Un(t,"onPending"),u.pendingBranch=h,512&h.shapeFlag?u.pendingId=h.component.suspenseId:u.pendingId=qn++,l(null,h,u.hiddenContainer,null,s,u,o,r,a),u.deps<=0)u.resolve();else{const{timeout:e,pendingId:t}=u;e>0?setTimeout((()=>
14{u.pendingId===t&&u.fallback(p)}),e):0===e&&u.fallback(p)}}(e,t,n,i,s,r,a,l,c)}},hydrate:function(e,t,n,i,s,o,r,a,l){const c=t.suspense=Yn(t,i,n,e.parentNode,document.createElement("div"),null,s,o,r,a,!0),d=l(e,c.pendingBranch=t.ssContent,n,c,o,r);0===c.deps&&c.resolve(!1,!0);return d},normalize:function(e){const{shapeFlag:t,children:n}=e,i=32&t;e.ssContent=Zn(i?n.default:n),e.ssFallback=i?Zn(n.fallback):yi(ti)}};function Un(e,t){const n=e.props&&e.props[t];(0,s.Tn)(n)&&n()}function Yn(e,t,n,i,o,r,a,l,c,d,h=!1){const{p:p,m:f,um:m,n:g,o:{parentNode:v,remove:b}}=d;let y;const w=function(e){const t=e.props&&e.props.suspensible;return null!=t&&!1!==t}(e);w&&t&&t.pendingBranch&&(y=t.pendingId,t.deps++);const x=e.props?(0,s.Ro)(e.props.timeout):void 0;const S=r,T={vnode:e,parent:t,parentComponent:n,namespace:a,container:i,hiddenContainer:o,deps:0,pendingId:qn++,timeout:"number"==typeof x?x:-1,activeBranch:null,pendingBranch:null,isInFallback:!h,isHydrating:h,isUnmounted:!1,effects:[],resolve(e=!1,n=!1){const{vnode:i,activeBranch:s,pendingBranch:o,pendingId:a,effects:l,parentComponent:c,container:d}=T;let u=!1;T.isHydrating?T.isHydrating=!1:e||(u=s&&o.transition&&"out-in"===o.transition.mode,u&&(s.transition.afterLeave=()=>{a===T.pendingId&&(f(o,d,r===S?g(s):r,0),E(l))}),s&&(v(s.el)===d&&(r=g(s)),m(s,c,T,!0)),u||f(o,d,r,0)),Jn(T,o),T.pendingBranch=null,T.isInFallback=!1;let h=T.parent,p=!1;for(;h;){if(h.pendingBranch){h.effects.push(...l),p=!0;break}h=h.parent}p||u||E(l),T.effects=[],w&&t&&t.pendingBranch&&y===t.pendingId&&(t.deps--,0!==t.deps||n||t.resolve()),Un(i,"onResolve")},fallback(e){if(!T.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:i,container:s,namespace:o}=T;Un(t,"onFallback");const r=g(n),a=()=>{T.isInFallback&&(p(null,e,s,r,i,null,o,l,c),Jn(T,e))},d=e.transition&&"out-in"===e.transition.mode;d&&(n.transition.afterLeave=a),T.isInFallback=!0,m(n,i,null,!0),d||a()},move(e,t,n){T.activeBranch&&f(T.activeBranch,e,t,n),T.container=e},next(){return T.activeBranch&&g(T.activeBranch)},registerDep(e,t,n){const i=!!T.pendingBranch;i&&T.deps++;const s=e.vnode.el;e.asyncDep.catch((t=>{u(t,e,0)})).then((o=>{if(e.isUnmounted||T.isUnmounted||T.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:r}=e;Gi(e,o,!1),s&&(r.el=s);const l=!s&&e.subTree.el;t(e,r,v(s||e.subTree.el),s?null:g(e.subTree),T,a,n),l&&b(l),Vn(e,r.el),i&&0==--T.deps&&T.resolve()}))},unmount(e,t){T.isUnmounted=!0,T.activeBranch&&m(T.activeBranch,n,e,t),T.pendingBranch&&m(T.pendingBranch,n,e,t)}};return T}function Zn(e){let t;if((0,s.Tn)(e)){const n=li&&e._c;n&&(e._d=!1,oi()),e=e(),n&&(e._d=!0,t=si,ri())}if((0,s.cy)(e)){const t=Nn(e);0,e=t}return e=Pi(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter((t=>t!==e))),e}function Kn(e,t){t&&t.pendingBranch?(0,s.cy)(e)?t.effects.push(...e):t.effects.push(e):E(e)}function Jn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:i}=e;let s=t.el;for(;!s&&t.component;)s=(t=t.component.subTree).el;n.el=s,i&&i.subTree===n&&(i.vnode.el=s,Vn(i,s))}const Qn=Symbol.for("v-fgt"),ei=Symbol.for("v-txt"),ti=Symbol.for("v-cmt"),ni=Symbol.for("v-stc"),ii=[];let si=null;function oi(e=!1){ii.push(si=e?null:[])}function ri(){ii.pop(),si=ii[ii.length-1]||null}let ai,li=1;function ci(e,t=!1){li+=e,e<0&&si&&t&&(si.hasOnce=!0)}function di(e){return e.dynamicChildren=li>0?si||s.Oj:null,ri(),li>0&&si&&si.push(e),e}function ui(e,t,n,i,s,o){return di(bi(e,t,n,i,s,o,!0))}function hi(e,t,n,i,s){return di(yi(e,t,n,i,s,!0))}function pi(e){return!!e&&!0===e.__v_isVNode}function fi(e,t){return e.type===t.type&&e.key===t.key}function mi(e){ai=e}const gi=({key:e})=>null!=e?e:null,vi=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?(0,s.Kg)(e)||(0,i.i9)(e)||(0,s.Tn)(e)?{i:_,r:e,k:t,f:!!n}:e:null);function bi(e,t=null,n=null,i=0,o=null,r=(e===Qn?0:1),a=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&gi(t),ref:t&&vi(t),scopeId:k,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:i,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:_};return l?(Oi(c,n),128&r&&e.normalize(c)):n&&(c.shapeFlag|=(0,s.Kg)(n)?8:16),li>0&&!a&&si&&(c.patchFlag>0||6&r)&&32!==c.patchFlag&&si.push(c),c}const yi=wi;function wi(e,t=null,n=null,o=0,r=null,a=!1){if(e&&e!==it||(e=ti),pi(e)){const i=Ei(e,t,!0);return n&&Oi(i,n),li>0&&!a&&si&&(6&i.shapeFlag?si[si.indexOf(e)]=i:si.push(i)),i.patchFlag=-2,i}if(Qi(e)&&(e=e.__vccOpts),t){t=xi(t);let{class:e,style:n}=t;e&&!(0,s.Kg)(e)&&(t.class=(0,s.C4)(e)),(0,s.Gv)(n)&&((0,i.ju)(n)&&!(0,s.cy)(n)&&(n=(0,s.X$)({},n)),t.style=(0,s.Tr)(n))}return bi(e,t,n,o,r,(0,s.Kg)(e)?1:Gn(e)?128:N(e)?64:(0,s.Gv)(e)?4:(0,s.Tn)(e)?2:0,a,!0)}function xi(e){return e?(0,i.ju)(e)||en(e)?(0,s.X$)({},e):e:null}function Ei(e,t,n=!1,i=!1){const{props:o,ref:r,patchFlag:a,children:l,transition:c}=e,d=t?Ai(o||{}
14,t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&gi(d),ref:t&&t.ref?n&&r?(0,s.cy)(r)?r.concat(vi(t)):[r,vi(t)]:vi(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Qn?-1===a?16:16|a:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ei(e.ssContent),ssFallback:e.ssFallback&&Ei(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&i&&ce(u,c.clone(u)),u}function Si(e=" ",t=0){return yi(ei,null,e,t)}function Ti(e,t){const n=yi(ni,null,e);return n.staticCount=t,n}function Ci(e="",t=!1){return t?(oi(),hi(ti,null,e)):yi(ti,null,e)}function Pi(e){return null==e||"boolean"==typeof e?yi(ti):(0,s.cy)(e)?yi(Qn,null,e.slice()):pi(e)?Mi(e):yi(ei,null,String(e))}function Mi(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:Ei(e)}function Oi(e,t){let n=0;const{shapeFlag:i}=e;if(null==t)t=null;else if((0,s.cy)(t))n=16;else if("object"==typeof t){if(65&i){const n=t.default;return void(n&&(n._c&&(n._d=!1),Oi(e,n()),n._c&&(n._d=!0)))}{n=32;const i=t._;i||en(t)?3===i&&_&&(1===_.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=_}}else(0,s.Tn)(t)?(t={default:t,_ctx:_},n=32):(t=String(t),64&i?(n=16,t=[Si(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ai(...e){const t={};for(let n=0;n<e.length;n++){const i=e[n];for(const e in i)if("class"===e)t.class!==i.class&&(t.class=(0,s.C4)([t.class,i.class]));else if("style"===e)t.style=(0,s.Tr)([t.style,i.style]);else if((0,s.Mp)(e)){const n=t[e],o=i[e];!o||n===o||(0,s.cy)(n)&&n.includes(o)||(t[e]=n?[].concat(n,o):o)}else""!==e&&(t[e]=i[e])}return t}function _i(e,t,n,i=null){d(e,t,7,[n,i])}const ki=Gt();let Li=0;function Ii(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||ki,a={uid:Li++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new i.yC(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:on(o,r),emitsOptions:zn(o,r),emit:null,emitted:null,propsDefaults:s.MZ,inheritAttrs:o.inheritAttrs,ctx:s.MZ,data:s.MZ,props:s.MZ,attrs:s.MZ,slots:s.MZ,refs:s.MZ,setupState:s.MZ,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return a.ctx={_:a},a.root=t?t.root:a,a.emit=Fn.bind(null,a),e.ce&&e.ce(a),a}let Ri=null;const Di=()=>Ri||_;let Fi,zi;{const e=(0,s.We)(),t=(t,n)=>{let i;return(i=e[t])||(i=e[t]=[]),i.push(n),e=>{i.length>1?i.forEach((t=>t(e))):i[0](e)}};Fi=t("__VUE_INSTANCE_SETTERS__",(e=>Ri=e)),zi=t("__VUE_SSR_SETTERS__",(e=>Wi=e))}const ji=e=>{const t=Ri;return Fi(e),e.scope.on(),()=>{e.scope.off(),Fi(t)}},Bi=()=>{Ri&&Ri.scope.off(),Fi(null)};function Ni(e){return 4&e.vnode.shapeFlag}let $i,Hi,Wi=!1;function Vi(e,t=!1,n=!1){t&&zi(t);const{props:o,children:r}=e.vnode,a=Ni(e);!function(e,t,n,s=!1){const o={},r=Qt();e.propsDefaults=Object.create(null),tn(e,t,o,r);for(const t in e.propsOptions[0])t in o||(o[t]=void 0);n?e.props=s?o:(0,i.Gc)(o):e.type.props?e.props=o:e.props=r,e.attrs=r}(e,o,a,t),pn(e,r,n);const l=a?function(e,t){const n=e.type;0;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,gt),!1;const{setup:o}=n;if(o){(0,i.C4)();const n=e.setupContext=o.length>1?Zi(e):null,r=ji(e),a=c(o,e,0,[e.props,n]),l=(0,s.yL)(a);if((0,i.bl)(),r(),!l&&!e.sp||_e(e)||pe(e),l){if(a.then(Bi,Bi),t)return a.then((n=>{Gi(e,n,t)})).catch((t=>{u(t,e,0)}));e.asyncDep=a}else Gi(e,a,t)}else Ui(e,t)}(e,t):void 0;return t&&zi(!1),l}function Gi(e,t,n){(0,s.Tn)(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:(0,s.Gv)(t)&&(e.setupState=(0,i.Pr)(t)),Ui(e,n)}function qi(e){$i=e,Hi=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,vt))}}const Xi=()=>!$i;function Ui(e,t,n){const o=e.type;if(!e.render){if(!t&&$i&&!o.render){const t=o.template||zt(e).template;if(t){0;const{isCustomElement:n,compilerOptions:i}=e.appContext.config,{delimiters:r,compilerOptions:a}=o,l=(0,s.X$)((0,s.X$)({isCustomElement:n,delimiters:r},i),a);o.render=$i(t,l)}}e.render=o.render||s.tE,Hi&&Hi(e)}{const t=ji(e);(0,i.C4)();try{Rt(e)}finally{(0,i.bl)(),t()}}}const Yi={get(e,t){return(0,i.u4)(e,"get",""),e[t]}};function Zi(e){const t=t=>{e.exposed=t||{}};return{attrs:new Proxy(e.attrs,Yi),slots:e.slots,emit:e.emit,expose:t}}function Ki(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy((0,i.Pr)((0,i.IG)(e.exposed)),{get(t,n){return n in t?t[n]:n in ft?ft[n](e):void 0},has(e,t){return t in e||t in ft}})):e.proxy}function Ji(e,t=!0){return(0,s.Tn)(e)?e.displayName||e.name:e.name||t&&e.__name}function Qi(e){return(0,s.Tn)(e)&&"__vccOpts"in e}const es=(e,t)=>(0,i.EW)(e,t,Wi);function ts(e,t,n){const i=arguments.length;return 2===i?(0,s.Gv)(t)&&!(0,s.cy)(t)?pi(t)?yi(e,null,[t]):yi(e,t):yi(e,null,t):(i>3?n=Array.prototype.slice.call(arguments,2):3===i&&pi(n)&&(n=[n]),yi(e,t,n))}function ns(){return void 0}function is(e,t,n,i){const s=n[i];if(s&&ss(s,e))return s;const o=t();return o.memo=e.slice(),o.cacheIndex=i,n[i]=o}function ss(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let e=0;e<n.length;e++)if((0,s.$H)(n[e],t[e]))return!1;return li>0&&si&&si.push(e),!0}const os="3.5.13",rs=s.tE,as=l,ls=M,cs=function e(t,n){var i,s;if(M=t,M)M.enabled=!0,O.forEach((({event:e,args:t})=>M.emit(e,...t))),O=[];else if("undefined"!=typeof window&&window.HTMLElement&&!(null==(s=null==(i=window.navigator)?void 0:i.userAgent)?void 0:s.includes("jsdom"))){(n.__VUE_DEVTOOLS_HOOK_REPLAY__=n.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push((t=>{e(t,n)})),setTimeout((()=>{M||(n.__VUE_DEVTOOLS_HOOK_REPLAY__=null,A=!0,O=[])}),3e3)}else A=!0,O=[]},ds={createComponentInstance:Ii,setupComponent:Vi,renderComponentRoot:Bn,setCurrentRenderingInstance:L,isVNode:pi,normalizeVNode:Pi,getComponentPublicInstance:Ki,ensureValidVNode:ut,pushWarningContext:function(e){o.push(e)},popWarningContext:function(){o.pop()}},us=null,hs=null,ps=null},1784:function(e,t,n){"use strict";
15/**
16* @vue/shared v3.5.13
17* (c) 2018-present Yuxi (Evan) You and Vue contributors
18* @license MIT
19**/
20/*! #__NO_SIDE_EFFECTS__ */
21function i(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return e=>e in t}n.d(t,{$3:function(){return p},$H:function(){return z},BH:function(){return V},BX:function(){return te},Bm:function(){return x},C4:function(){return Z},CE:function(){return m},CP:function(){return c},DY:function(){return j},Gv:function(){return E},J$:function(){return Q},Kg:function(){return w},MZ:function(){return s},Mp:function(){return l},NO:function(){return a},Oj:function(){return o},PT:function(){return L},Qd:function(){return M},Ro:function(){return $},SU:function(){return A},TF:function(){return u},Tg:function(){return R},Tn:function(){return y},Tr:function(){return G},We:function(){return W},X$:function(){return d},Y2:function(){return ee},ZH:function(){return D},Zf:function(){return P},_B:function(){return K},bB:function(){return N},cy:function(){return f},gd:function(){return b},pD:function(){return i},rU:function(){return F},tE:function(){return r},u3:function(){return ne},vM:function(){return g},v_:function(){return se},yI:function(){return O},yL:function(){return S},yQ:function(){return B}});const s={},o=[],r=()=>{},a=()=>!1,l=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),c=e=>e.startsWith("onUpdate:"),d=Object.assign,u=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},h=Object.prototype.hasOwnProperty,p=(e,t)=>h.call(e,t),f=Array.isArray,m=e=>"[object Map]"===C(e),g=e=>"[object Set]"===C(e),v=e=>"[object Date]"===C(e),b=e=>"[object RegExp]"===C(e),y=e=>"function"==typeof e,w=e=>"string"==typeof e,x=e=>"symbol"==typeof e,E=e=>null!==e&&"object"==typeof e,S=e=>(E(e)||y(e))&&y(e.then)&&y(e.catch),T=Object.prototype.toString,C=e=>T.call(e),P=e=>C(e).slice(8,-1),M=e=>"[object Object]"===C(e),O=e=>w(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,A=i(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),_=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},k=/-(\w)/g,L=_((e=>e.replace(k,((e,t)=>t?t.toUpperCase():"")))),I=/\B([A-Z])/g,R=_((e=>e.replace(I,"-$1").toLowerCase())),D=_((e=>e.charAt(0).toUpperCase()+e.slice(1))),F=_((e=>e?`on${D(e)}`:"")),z=(e,t)=>!Object.is(e,t),j=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},B=(e,t,n,i=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:i,value:n})},N=e=>{const t=parseFloat(e);return isNaN(t)?e:t},$=e=>{const t=w(e)?Number(e):NaN;return isNaN(t)?e:t};let H;const W=()=>H||(H="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:{});const V=i("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol");function G(e){if(f(e)){const t={};for(let n=0;n<e.length;n++){const i=e[n],s=w(i)?Y(i):G(i);if(s)for(const e in s)t[e]=s[e]}return t}if(w(e)||E(e))return e}const q=/;(?![^(]*\))/g,X=/:([^]+)/,U=/\/\*[^]*?\*\//g;function Y(e){const t={};return e.replace(U,"").split(q).forEach((e=>{if(e){const n=e.split(X);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function Z(e){let t="";if(w(e))t=e;else if(f(e))for(let n=0;n<e.length;n++){const i=Z(e[n]);i&&(t+=i+" ")}else if(E(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function K(e){if(!e)return null;let{class:t,style:n}=e;return t&&!w(t)&&(e.class=Z(t)),n&&(e.style=G(n)),e}const J="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Q=i(J);function ee(e){return!!e||""===e}function te(e,t){if(e===t)return!0;let n=v(e),i=v(t);if(n||i)return!(!n||!i)&&e.getTime()===t.getTime();if(n=x(e),i=x(t),n||i)return e===t;if(n=f(e),i=f(t),n||i)return!(!n||!i)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let i=0;n&&i<e.length;i++)n=te(e[i],t[i]);return n}(e,t);
21if(n=E(e),i=E(t),n||i){if(!n||!i)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const i=e.hasOwnProperty(n),s=t.hasOwnProperty(n);if(i&&!s||!i&&s||!te(e[n],t[n]))return!1}}return String(e)===String(t)}function ne(e,t){return e.findIndex((e=>te(e,t)))}const ie=e=>!(!e||!0!==e.__v_isRef),se=e=>w(e)?e:null==e?"":f(e)||E(e)&&(e.toString===T||!y(e.toString))?ie(e)?se(e.value):JSON.stringify(e,oe,2):String(e),oe=(e,t)=>ie(t)?oe(e,t.value):m(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],i)=>(e[re(t,i)+" =>"]=n,e)),{})}:g(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>re(e)))}:x(t)?re(t):!E(t)||f(t)||M(t)?t:String(t),re=(e,t="")=>{var n;return x(e)?`Symbol(${null!=(n=e.description)?n:t})`:e}},6257:function(e){"use strict";!function(t){let n=0;const i=function(e,t){const s=this;let o=!1;if(Array.isArray(e))return!!e.length&&e.map((e=>new i(e,t)));const r={init(){this.options=Object.assign({duration:500,ariaEnabled:!0,collapse:!0,showMultiple:!1,onlyChildNodes:!0,openOnInit:[],elementClass:"ac",triggerClass:"ac-trigger",panelClass:"ac-panel",activeClass:"is-active",beforeOpen:()=>{},onOpen:()=>{},beforeClose:()=>{},onClose:()=>{}},t);const n="string"==typeof e;this.container=n?document.querySelector(e):e,this.createDefinitions(),s.attachEvents()},createDefinitions(){const{elementClass:e,openOnInit:t,onlyChildNodes:i}=this.options,s=i?this.container.childNodes:this.container.querySelectorAll(a(e));this.elements=Array.from(s).filter((t=>t.classList&&t.classList.contains(e))),this.firstElement=this.elements[0],this.lastElement=this.elements[this.elements.length-1],this.elements.filter((e=>!e.classList.contains("js-enabled"))).forEach((e=>{e.classList.add("js-enabled"),this.generateIDs(e),this.setARIA(e),this.setTransition(e);const i=this.elements.indexOf(e);n++,t.includes(i)?this.showElement(e,!1):this.closeElement(e,!1)}))},setTransition(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const{duration:n,panelClass:i}=this.options;e.querySelector(a(i)).style.transitionDuration=t?null:"".concat(n,"ms")},generateIDs(e){const{triggerClass:t,panelClass:i}=this.options,s=e.querySelector(a(t)),o=e.querySelector(a(i));e.setAttribute("id",e.id||"ac-".concat(n)),s.setAttribute("id",s.id||"ac-trigger-".concat(n)),o.setAttribute("id",o.id||"ac-panel-".concat(n))},removeIDs(e){const{triggerClass:t,panelClass:n}=this.options,i=e.querySelector(a(t)),s=e.querySelector(a(n));e.id.startsWith("ac-")&&e.removeAttribute("id"),i.id.startsWith("ac-")&&i.removeAttribute("id"),s.id.startsWith("ac-")&&s.removeAttribute("id")},setARIA(e){const{ariaEnabled:t,triggerClass:n,panelClass:i}=this.options;if(!t)return;const s=e.querySelector(a(n)),o=e.querySelector(a(i));s.setAttribute("role","button"),s.setAttribute("aria-controls",o.id),s.setAttribute("aria-disabled",!1),s.setAttribute("aria-expanded",!1),o.setAttribute("role","region"),o.setAttribute("aria-labelledby",s.id)},updateARIA(e,t){let{ariaExpanded:n,ariaDisabled:i}=t;const{ariaEnabled:s,triggerClass:o}=this.options;if(!s)return;const r=e.querySelector(a(o));r.setAttribute("aria-expanded",n),r.setAttribute("aria-disabled",i)},removeARIA(e){const{ariaEnabled:t,triggerClass:n,panelClass:i}=this.options;if(!t)return;const s=e.querySelector(a(n)),o=e.querySelector(a(i));s.removeAttribute("role"),s.removeAttribute("aria-controls"),s.removeAttribute("aria-disabled"),s.removeAttribute("aria-expanded"),o.removeAttribute("role"),o.removeAttribute("aria-labelledby")},focus(e,t){e.preventDefault();const{triggerClass:n}=this.options;t.querySelector(a(n)).focus()},focusFirstElement(e){this.focus(e,this.firstElement),this.currFocusedIdx=0},focusLastElement(e){this.focus(e,this.lastElement),this.currFocusedIdx=this.elements.length-1},focusNextElement(e){const t=this.currFocusedIdx+1;if(t>this.elements.length-1)return this.focusFirstElement(e);this.focus(e,this.elements[t]),this.currFocusedIdx=t},focusPrevElement(e){const t=this.currFocusedIdx-1;if(t<0)return this.focusLastElement(e);this.focus(e,this.elements[t]),this.currFocusedIdx=t},showElement(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const{panelClass:n,activeClass:i,collapse:s,beforeOpen:o}=this.options;t&&o(e);const r=e.querySelector(a(n)),l=r.scrollHeight;e.classList.add(i),requestAnimationFrame((()=>{requestAnimationFrame((()=>{r.style.height=t?"".concat(l,"px"):"auto"}))})),this.updateARIA(e,{ariaExpanded:!0,ariaDisabled:!s}
21)},closeElement(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const{panelClass:n,activeClass:i,beforeClose:s}=this.options,o=e.querySelector(a(n)),r=o.scrollHeight;e.classList.remove(i),t?(s(e),requestAnimationFrame((()=>{o.style.height="".concat(r,"px"),requestAnimationFrame((()=>{o.style.height=0}))}))):o.style.height=0,this.updateARIA(e,{ariaExpanded:!1,ariaDisabled:!1})},toggleElement(e){const{activeClass:t,collapse:n}=this.options,i=e.classList.contains(t);if(!i||n)return i?this.closeElement(e):this.showElement(e)},closeElements(){const{activeClass:e,showMultiple:t}=this.options;t||this.elements.forEach(((t,n)=>{t.classList.contains(e)&&n!==this.currFocusedIdx&&this.closeElement(t)}))},handleClick(e){const t=e.currentTarget;this.elements.forEach(((n,i)=>{n.contains(t)&&"A"!==e.target.nodeName&&(this.currFocusedIdx=i,this.closeElements(),this.focus(e,n),this.toggleElement(n))}))},handleKeydown(e){switch(e.key){case"ArrowUp":return this.focusPrevElement(e);case"ArrowDown":return this.focusNextElement(e);case"Home":return this.focusFirstElement(e);case"End":return this.focusLastElement(e);default:return null}},handleFocus(e){const t=e.currentTarget,n=this.elements.find((e=>e.contains(t)));this.currFocusedIdx=this.elements.indexOf(n)},handleTransitionEnd(e){if(e.stopPropagation(),"height"!==e.propertyName)return;const{onOpen:t,onClose:n}=this.options,i=e.currentTarget,s=parseInt(i.style.height),o=this.elements.find((e=>e.contains(i)));s>0?(i.style.height="auto",t(o)):n(o)}};this.attachEvents=()=>{if(o)return;const{triggerClass:e,panelClass:t}=r.options;r.handleClick=r.handleClick.bind(r),r.handleKeydown=r.handleKeydown.bind(r),r.handleFocus=r.handleFocus.bind(r),r.handleTransitionEnd=r.handleTransitionEnd.bind(r),r.elements.forEach((n=>{const i=n.querySelector(a(e)),s=n.querySelector(a(t));i.addEventListener("click",r.handleClick),i.addEventListener("keydown",r.handleKeydown),i.addEventListener("focus",r.handleFocus),s.addEventListener("transitionend",r.handleTransitionEnd)})),o=!0},this.detachEvents=()=>{if(!o)return;const{triggerClass:e,panelClass:t}=r.options;r.elements.forEach((n=>{const i=n.querySelector(a(e)),s=n.querySelector(a(t));i.removeEventListener("click",r.handleClick),i.removeEventListener("keydown",r.handleKeydown),i.removeEventListener("focus",r.handleFocus),s.removeEventListener("transitionend",r.handleTransitionEnd)})),o=!1},this.toggle=e=>{const t=r.elements[e];t&&r.toggleElement(t)},this.open=e=>{const t=r.elements[e];t&&r.showElement(t)},this.openAll=()=>{const{activeClass:e,onOpen:t}=r.options;r.elements.forEach((n=>{n.classList.contains(e)||(r.showElement(n,!1),t(n))}))},this.close=e=>{const t=r.elements[e];t&&r.closeElement(t)},this.closeAll=()=>{const{activeClass:e,onClose:t}=r.options;r.elements.forEach((n=>{n.classList.contains(e)&&(r.closeElement(n,!1),t(n))}))},this.destroy=()=>{this.detachEvents(),this.openAll(),r.elements.forEach((e=>{r.removeIDs(e),r.removeARIA(e),r.setTransition(e,!0)})),o=!0},this.update=()=>{r.createDefinitions(),this.detachEvents(),this.attachEvents()};const a=e=>".".concat(CSS.escape(e));r.init()};void 0!==e.exports?e.exports=i:t.Accordion=i}(window)},3249:function(e,t,n){"use strict";n.d(t,{fY:function(){return b},mh:function(){return g},qY:function(){return v}});var i=!1;if("undefined"!=typeof window){var s={get passive(){i=!0}};window.addEventListener("testPassive",null,s),window.removeEventListener("testPassive",null,s)}var o="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),r=[],a=!1,l=-1,c=void 0,d=void 0,u=void 0,h=function(e){return r.some((function(t){return!(!t.options.allowTouchMove||!t.options.allowTouchMove(e))}))},p=function(e){var t=e||window.event;return!!h(t.target)||(t.touches.length>1||(t.preventDefault&&t.preventDefault(),!1))},f=function(){void 0!==u&&(document.body.style.paddingRight=u,u=void 0),void 0!==c&&(document.body.style.overflow=c,c=void 0)},m=function(){if(void 0!==d){var e=-parseInt(document.body.style.top,10),t=-parseInt(document.body.style.left,10);document.body.style.position=d.position,document.body.style.top=d.top,document.body.style.left=d.left,window.scrollTo(t,e),d=void 0}},g=function(e,t){if(e){if(!r.some((function(t){return t.targetElement===e}))){var n={targetElement:e,options:t||{}};r=[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(r),[n]),o?window.requestAnimationFrame((function(){if(void 0===d){d={position:document.body.style.position,top:document.body.style.top,left
21:document.body.style.left};var e=window,t=e.scrollY,n=e.scrollX,i=e.innerHeight;document.body.style.position="fixed",document.body.style.top=-t,document.body.style.left=-n,setTimeout((function(){return window.requestAnimationFrame((function(){var e=i-window.innerHeight;e&&t>=i&&(document.body.style.top=-(t+e))}))}),300)}})):function(e){if(void 0===u){var t=!!e&&!0===e.reserveScrollBarGap,n=window.innerWidth-document.documentElement.clientWidth;if(t&&n>0){var i=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"),10);u=document.body.style.paddingRight,document.body.style.paddingRight=i+n+"px"}}void 0===c&&(c=document.body.style.overflow,document.body.style.overflow="hidden")}(t),o&&(e.ontouchstart=function(e){1===e.targetTouches.length&&(l=e.targetTouches[0].clientY)},e.ontouchmove=function(t){1===t.targetTouches.length&&function(e,t){var n=e.targetTouches[0].clientY-l;!h(e.target)&&(t&&0===t.scrollTop&&n>0||function(e){return!!e&&e.scrollHeight-e.scrollTop<=e.clientHeight}(t)&&n<0?p(e):e.stopPropagation())}(t,e)},a||(document.addEventListener("touchmove",p,i?{passive:!1}:void 0),a=!0))}}else console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.")},v=function(){o&&(r.forEach((function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null})),a&&(document.removeEventListener("touchmove",p,i?{passive:!1}:void 0),a=!1),l=-1),o?m():f(),r=[]},b=function(e){e?(r=r.filter((function(t){return t.targetElement!==e})),o&&(e.ontouchstart=null,e.ontouchmove=null,a&&0===r.length&&(document.removeEventListener("touchmove",p,i?{passive:!1}:void 0),a=!1)),o?m():f()):console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.")}},4661:function(e,t,n){"use strict";n.d(t,{o0:function(){return p}});var i=function(e,t,n){if(n||2===arguments.length)for(var i,s=0,o=t.length;s<o;s++)!i&&s in t||(i||(i=Array.prototype.slice.call(t,0,s)),i[s]=t[s]);return e.concat(i||Array.prototype.slice.call(t))},s=function(e,t,n){this.name=e,this.version=t,this.os=n,this.type="browser"},o=function(e){this.version=e,this.type="node",this.name="node",this.os=process.platform},r=function(e,t,n,i){this.name=e,this.version=t,this.os=n,this.bot=i,this.type="bot-device"},a=function(){this.type="bot",this.bot=!0,this.name="bot",this.version=null,this.os=null},l=function(){this.type="react-native",this.name="react-native",this.version=null,this.os=null},c=/(nuhk|curl|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\ Jeeves\/Teoma|ia_archiver)/,d=3,u=[["aol",/AOLShield\/([0-9\._]+)/],["edge",/Edge\/([0-9\._]+)/],["edge-ios",/EdgiOS\/([0-9\._]+)/],["yandexbrowser",/YaBrowser\/([0-9\._]+)/],["kakaotalk",/KAKAOTALK\s([0-9\.]+)/],["samsung",/SamsungBrowser\/([0-9\.]+)/],["silk",/\bSilk\/([0-9._-]+)\b/],["miui",/MiuiBrowser\/([0-9\.]+)$/],["beaker",/BeakerBrowser\/([0-9\.]+)/],["edge-chromium",/EdgA?\/([0-9\.]+)/],["chromium-webview",/(?!Chrom.*OPR)wv\).*Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["phantomjs",/PhantomJS\/([0-9\.]+)(:?\s|$)/],["crios",/CriOS\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["fxios",/FxiOS\/([0-9\.]+)/],["opera-mini",/Opera Mini.*Version\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)/],["pie",/^Microsoft Pocket Internet Explorer\/(\d+\.\d+)$/],["pie",/^Mozilla\/\d\.\d+\s\(compatible;\s(?:MSP?IE|MSInternet Explorer) (\d+\.\d+);.*Windows CE.*\)$/],["netfront",/^Mozilla\/\d\.\d+.*NetFront\/(\d.\d)/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["bb10",/BB10;\sTouch.*Version\/([0-9\.]+)/],["android",/Android\s([0-9\.]+)/],["ios",/Version\/([0-9\._]+).*Mobile.*Safari.*/],["safari",/Version\/([0-9\._]+).*Safari/],["facebook",/FB[AS]V\/([0-9\.]+)/],["instagram",/Instagram\s([0-9\.]+)/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Mobile/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Gecko\)$/],["curl",/^curl\/([0-9\.]+)$/],["searchbot",/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yaho
21o!|yandex/]],h=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Windows CE",/Windows CE|WinCE|Microsoft Pocket Internet Explorer/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]];function p(e){return e?m(e):"undefined"==typeof document&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product?new l:"undefined"!=typeof navigator?m(navigator.userAgent):"undefined"!=typeof process&&process.version?new o(process.version.slice(1)):null}function f(e){return""!==e&&u.reduce((function(t,n){var i=n[0],s=n[1];if(t)return t;var o=s.exec(e);return!!o&&[i,o]}),!1)}function m(e){var t=f(e);if(!t)return null;var n=t[0],o=t[1];if("searchbot"===n)return new a;var l=o[1]&&o[1].split(".").join("_").split("_").slice(0,3);l?l.length<d&&(l=i(i([],l,!0),function(e){for(var t=[],n=0;n<e;n++)t.push("0");return t}(d-l.length),!0)):l=[];var u=l.join("."),p=function(e){for(var t=0,n=h.length;t<n;t++){var i=h[t],s=i[0];if(i[1].exec(e))return s}return null}(e),m=c.exec(e);return m&&m[1]?new r(n,u,p,m[1]):new s(n,u,p)}},946:function(e,t,n){var i,s;/*! tabbyjs v12.0.3 | (c) 2019 Chris Ferdinandi | MIT License | http://github.com/cferdinandi/tabby */Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),s=void 0!==n.g?n.g:"undefined"!=typeof window?window:this,i=function(){return function(e){"use strict";var t={idPrefix:"tabby-toggle_",default:"[data-tabby-default]"},n=function(t){if(t&&"true"!=t.getAttribute("aria-selected")){var n=document.querySelector(t.hash);if(n){var i=function(e){var t=e.closest('[role="tablist"]');if(!t)return{};var n=t.querySelector('[role="tab"][aria-selected="true"]');if(!n)return{};var i=document.querySelector(n.hash);return n.setAttribute("aria-selected","false"),n.setAttribute("tabindex","-1"),i?(i.setAttribute("hidden","hidden"),{previousTab:n,previousContent:i}):{previousTab:n}}(t);!function(e,t){e.setAttribute("aria-selected","true"),e.setAttribute("tabindex","0"),t.removeAttribute("hidden"),e.focus()}(t,n),i.tab=t,i.content=n,function(t,n){var i;"function"==typeof e.CustomEvent?i=new CustomEvent("tabby",{bubbles:!0,cancelable:!0,detail:n}):(i=document.createEvent("CustomEvent")).initCustomEvent("tabby",!0,!0,n),t.dispatchEvent(i)}(t,i)}}},i=function(e,t){var i=function(e){var t=e.closest('[role="tablist"]'),n=t?t.querySelectorAll('[role="tab"]'):null;if(n)return{tabs:n,index:Array.prototype.indexOf.call(n,e)}}(e);if(i){var s,o=i.tabs.length-1;["ArrowUp","ArrowLeft","Up","Left"].indexOf(t)>-1?s=i.index<1?o:i.index-1:["ArrowDown","ArrowRight","Down","Right"].indexOf(t)>-1?s=i.index===o?0:i.index+1:"Home"===t?s=0:"End"===t&&(s=o),n(i.tabs[s])}};return function(s,o){var r,a,l={destroy:function(){var e=a.querySelectorAll("a");Array.prototype.forEach.call(e,(function(e){var t=document.querySelector(e.hash);t&&function(e,t,n){e.id.slice(0,n.idPrefix.length)===n.idPrefix&&(e.id=""),e.removeAttribute("role"),e.removeAttribute("aria-controls"),e.removeAttribute("aria-selected"),e.removeAttribute("tabindex"),e.closest("li").removeAttribute("role"),t.removeAttribute("role"),t.removeAttribute("aria-labelledby"),t.removeAttribute("hidden")}(e,t,r)})),a.removeAttribute("role"),document.documentElement.removeEventListener("click",c,!0),a.removeEventListener("keydown",d,!0),r=null,a=null},setup:function(){if(a=document.querySelector(s)){var e=a.querySelectorAll("a");a.setAttribute("role","tablist"),Array.prototype.forEach.call(e,(function(e){var t=document.querySelector(e.hash);
21t&&function(e,t,n){e.id||(e.id=n.idPrefix+t.id),e.setAttribute("role","tab"),e.setAttribute("aria-controls",t.id),e.closest("li").setAttribute("role","presentation"),t.setAttribute("role","tabpanel"),t.setAttribute("aria-labelledby",e.id),e.matches(n.default)?e.setAttribute("aria-selected","true"):(e.setAttribute("aria-selected","false"),e.setAttribute("tabindex","-1"),t.setAttribute("hidden","hidden"))}(e,t,r)}))}},toggle:function(e){var t=e;"string"==typeof e&&(t=document.querySelector(s+' [role="tab"][href*="'+e+'"]')),n(t)}},c=function(e){var t=e.target.closest(s+' [role="tab"]');t&&(e.preventDefault(),n(t))},d=function(e){var t=document.activeElement;t.matches(s+' [role="tab"]')&&(["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Up","Down","Left","Right","Home","End"].indexOf(e.key)<0||i(t,e.key))};return r=function(){var e={};return Array.prototype.forEach.call(arguments,(function(t){for(var n in t){if(!t.hasOwnProperty(n))return;e[n]=t[n]}})),e}(t,o||{}),l.setup(),function(t){if(!(e.location.hash.length<1)){var i=document.querySelector(t+' [role="tab"][href*="'+e.location.hash+'"]');n(i)}}(s),document.documentElement.addEventListener("click",c,!0),a.addEventListener("keydown",d,!0),l}}(s)}.apply(t,[]),void 0===i||(e.exports=i)},1295:function(e,t,n){"use strict";n.d(t,{Ey:function(){return w},nY:function(){return k}});var i=n(2416),s=n(6152),o=n(2288);
22/*!
23 * pinia v2.3.0
24 * (c) 2024 Eduardo San Martin Morote
25 * @license MIT
26 */
27let r;const a=e=>r=e,l=Symbol();function c(e){return e&&"object"==typeof e&&"[object Object]"===Object.prototype.toString.call(e)&&"function"!=typeof e.toJSON}var d;!function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"}(d||(d={}));const u="undefined"!=typeof window,h=(()=>"object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:"object"==typeof globalThis?globalThis:{HTMLElement:null})();function p(e,t,n){const i=new XMLHttpRequest;i.open("GET",e),i.responseType="blob",i.onload=function(){b(i.response,t,n)},i.onerror=function(){console.error("could not download file")},i.send()}function f(e){const t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return t.status>=200&&t.status<=299}function m(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(t){const n=document.createEvent("MouseEvents");
27n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(n)}}const g="object"==typeof navigator?navigator:{userAgent:""},v=(()=>/Macintosh/.test(g.userAgent)&&/AppleWebKit/.test(g.userAgent)&&!/Safari/.test(g.userAgent))(),b=u?"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype&&!v?function(e,t="download",n){const i=document.createElement("a");i.download=t,i.rel="noopener","string"==typeof e?(i.href=e,i.origin!==location.origin?f(i.href)?p(e,t,n):(i.target="_blank",m(i)):m(i)):(i.href=URL.createObjectURL(e),setTimeout((function(){URL.revokeObjectURL(i.href)}),4e4),setTimeout((function(){m(i)}),0))}:"msSaveOrOpenBlob"in g?function(e,t="download",n){if("string"==typeof e)if(f(e))p(e,t,n);else{const t=document.createElement("a");t.href=e,t.target="_blank",setTimeout((function(){m(t)}))}else navigator.msSaveOrOpenBlob(function(e,{autoBom:t=!1}={}){return t&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e}(e,n),t)}:function(e,t,n,i){(i=i||open("","_blank"))&&(i.document.title=i.document.body.innerText="downloading...");if("string"==typeof e)return p(e,t,n);const s="application/octet-stream"===e.type,o=/constructor/i.test(String(h.HTMLElement))||"safari"in h,r=/CriOS\/[\d]+/.test(navigator.userAgent);if((r||s&&o||v)&&"undefined"!=typeof FileReader){const t=new FileReader;t.onloadend=function(){let e=t.result;if("string"!=typeof e)throw i=null,new Error("Wrong reader.result type");e=r?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),i?i.location.href=e:location.assign(e),i=null},t.readAsDataURL(e)}else{const t=URL.createObjectURL(e);i?i.location.assign(t):location.href=t,i=null,setTimeout((function(){URL.revokeObjectURL(t)}),4e4)}}:()=>{};const{assign:y}=Object;function w(){const e=(0,i.uY)(!0),t=e.run((()=>(0,i.KR)({})));let n=[],o=[];const r=(0,i.IG)({install(e){a(r),s.LER||(r._a=e,e.provide(l,r),e.config.globalProperties.$pinia=r,o.forEach((e=>n.push(e))),o=[])},use(e){return this._a||s.LER?n.push(e):o.push(e),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const x=()=>{};function E(e,t,n,s=x){e.push(t);const o=()=>{const n=e.indexOf(t);n>-1&&(e.splice(n,1),s())};return!n&&(0,i.o5)()&&(0,i.jr)(o),o}function S(e,...t){e.slice().forEach((e=>{e(...t)}))}const T=e=>e(),C=Symbol(),P=Symbol();function M(e,t){e instanceof Map&&t instanceof Map?t.forEach(((t,n)=>e.set(n,t))):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],o=e[n];c(o)&&c(s)&&e.hasOwnProperty(n)&&!(0,i.i9)(s)&&!(0,i.g8)(s)?e[n]=M(o,s):e[n]=s}return e}const O=Symbol();const{assign:A}=Object;function _(e,t,n={},r,l,u){let h;const p=A({actions:{}},n);const f={deep:!0};let m,g;let v,b=[],y=[];const w=r.state.value[e];u||w||(s.LER?(0,s.hZp)(r.state.value,e,{}):r.state.value[e]={});(0,i.KR)({});let _;function k(t){let n;m=g=!1,"function"==typeof t?(t(r.state.value[e]),n={type:d.patchFunction,storeId:e,events:v}):(M(r.state.value[e],t),n={type:d.patchObject,payload:t,storeId:e,events:v});const i=_=Symbol();(0,o.dY)().then((()=>{_===i&&(m=!0)})),g=!0,S(b,n,r.state.value[e])}const L=u?function(){const{state:e}=n,t=e?e():{};this.$patch((e=>{A(e,t)}))}:x;const I=(t,n="")=>{if(C in t)return t[P]=n,t;const i=function(){a(r);const n=Array.from(arguments),s=[],o=[];let l;S(y,{args:n,name:i[P],store:D,after:function(e){s.push(e)},onError:function(e){o.push(e)}});try{l=t.apply(this&&this.$id===e?this:D,n)}catch(e){throw S(o,e),e}return l instanceof Promise?l.then((e=>(S(s,e),e))).catch((e=>(S(o,e),Promise.reject(e)))):(S(s,l),l)};return i[C]=!0,i[P]=n,i},R={_p:r,$id:e,$onAction:E.bind(null,y),$patch:k,$reset:L,$subscribe(t,n={}){const i=E(b,t,n.detached,(()=>s())),s=h.run((()=>(0,o.wB)((()=>r.state.value[e]),(i=>{("sync"===n.flush?g:m)&&t({storeId:e,type:d.direct,events:v},i)}),A({},f,n))));return i},$dispose:function(){h.stop(),b=[],y=[],r._s.delete(e)}};s.LER&&(R._r=!1);const D=(0,i.Kh)(R);r._s.set(e,D);const F=(r._a&&r._a.runWithContext||T)((()=>r._e.run((()=>(h=(0,i.uY)()).run((()=>t({action:I})))))));for(const t in F){const n=F[t];if((0,i.i9)(n)&&(j=n,!(0,i.i9)(j)||!j.effect)||(0,i.g8)(n))u||(!w||c(z=n)&&z.hasOwnProperty(O)||((0,i.i9)(n)?n.value=w[t]:M(n,w[t])),s.LER?(0,s.hZp)(r.state.value[e],t,n):r.state.value[e][t]=n);else if("function"==typeof n){const e=I(n,t);s.LER?(0,s.hZp)(F,t,e):F[t]=e,p.actions[t]=n}else 0}var z,j;
27return s.LER?Object.keys(F).forEach((e=>{(0,s.hZp)(D,e,F[e])})):(A(D,F),A((0,i.ux)(D),F)),Object.defineProperty(D,"$state",{get:()=>r.state.value[e],set:e=>{k((t=>{A(t,e)}))}}),s.LER&&(D._r=!0),r._p.forEach((e=>{A(D,h.run((()=>e({store:D,app:r._a,pinia:r,options:p}))))})),w&&u&&n.hydrate&&n.hydrate(D.$state,w),m=!0,g=!0,D}
28/*! #__NO_SIDE_EFFECTS__ */function k(e,t,n){let c,d;const u="function"==typeof t;function h(e,n){const h=(0,o.PS)();(e=e||(h?(0,o.WQ)(l,null):null))&&a(e),(e=r)._s.has(c)||(u?_(c,t,d,e):function(e,t,n){const{state:r,actions:l,getters:c}=t,d=n.state.value[e];let u;u=_(e,(function(){d||(s.LER?(0,s.hZp)(n.state.value,e,r?r():{}):n.state.value[e]=r?r():{});const t=(0,i.QW)(n.state.value[e]);return A(t,l,Object.keys(c||{}).reduce(((t,r)=>(t[r]=(0,i.IG)((0,o.EW)((()=>{a(n);const t=n._s.get(e);if(!s.LER||t._r)return c[r].call(t,t)}))),t)),{}))}),t,n,0,!0)}(c,d,e));return e._s.get(c)}return"string"==typeof e?(c=e,d=u?n:t):(d=e,c=e.id),h.$id=c,h}},2675:function(e,t,n){"use strict";n.d(t,{Vx:function(){return o},dK:function(){return a}});n(2514);var i=n(8771);function s(e,t,n,s){return e.params.createElements&&Object.keys(s).forEach((o=>{if(!n[o]&&!0===n.auto){let r=(0,i.e)(e.el,`.${s[o]}`)[0];r||(r=(0,i.c)("div",s[o]),r.className=s[o],e.el.append(r)),n[o]=r,t[o]=r}})),n}function o(e){let{swiper:t,extendParams:n,on:o,emit:r}=e;function a(e){let n;return e&&"string"==typeof e&&t.isElement&&(n=t.el.querySelector(e)||t.hostEl.querySelector(e),n)?n:(e&&("string"==typeof e&&(n=[...document.querySelectorAll(e)]),t.params.uniqueNavElements&&"string"==typeof e&&n&&n.length>1&&1===t.el.querySelectorAll(e).length?n=t.el.querySelector(e):n&&1===n.length&&(n=n[0])),e&&!n?e:n)}function l(e,n){const s=t.params.navigation;(e=(0,i.m)(e)).forEach((e=>{e&&(e.classList[n?"add":"remove"](...s.disabledClass.split(" ")),"BUTTON"===e.tagName&&(e.disabled=n),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](s.lockClass))}))}function c(){const{nextEl:e,prevEl:n}=t.navigation;if(t.params.loop)return l(n,!1),void l(e,!1);l(n,t.isBeginning&&!t.params.rewind),l(e,t.isEnd&&!t.params.rewind)}function d(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),r("navigationPrev"))}function u(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),r("navigationNext"))}function h(){const e=t.params.navigation;if(t.params.navigation=s(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!e.nextEl&&!e.prevEl)return;let n=a(e.nextEl),o=a(e.prevEl);Object.assign(t.navigation,{nextEl:n,prevEl:o}),n=(0,i.m)(n),o=(0,i.m)(o);const r=(n,i)=>{n&&n.addEventListener("click","next"===i?u:d),!t.enabled&&n&&n.classList.add(...e.lockClass.split(" "))};n.forEach((e=>r(e,"next"))),o.forEach((e=>r(e,"prev")))}function p(){let{nextEl:e,prevEl:n}=t.navigation;e=(0,i.m)(e),n=(0,i.m)(n);const s=(e,n)=>{e.removeEventListener("click","next"===n?u:d),e.classList.remove(...t.params.navigation.disabledClass.split(" "))};e.forEach((e=>s(e,"next"))),n.forEach((e=>s(e,"prev")))}n({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null},o("init",(()=>{!1===t.params.navigation.enabled?f():(h(),c())})),o("toEdge fromEdge lock unlock",(()=>{c()})),o("destroy",(()=>{p()})),o("enable disable",(()=>{let{nextEl:e,prevEl:n}=t.navigation;e=(0,i.m)(e),n=(0,i.m)(n),t.enabled?c():[...e,...n].filter((e=>!!e)).forEach((e=>e.classList.add(t.params.navigation.lockClass)))})),o("click",((e,n)=>{let{nextEl:s,prevEl:o}=t.navigation;s=(0,i.m)(s),o=(0,i.m)(o);const a=n.target;let l=o.includes(a)||s.includes(a);if(t.isElement&&!l){const e=n.path||n.composedPath&&n.composedPath();e&&(l=e.find((e=>s.includes(e)||o.includes(e))))}if(t.params.navigation.hideOnClick&&!l){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===a||t.pagination.el.contains(a)))return;let e;s.length?e=s[0].classList.contains(t.params.navigation.hiddenClass):o.length&&(e=o[0].classList.contains(t.params.navigation.hiddenClass)),r(!0===e?"navigationShow":"navigationHide"),[...s,...o].filter((e=>
28!!e)).forEach((e=>e.classList.toggle(t.params.navigation.hiddenClass)))}}));const f=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),p()};Object.assign(t.navigation,{enable:()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),h(),c()},disable:f,update:c,init:h,destroy:p})}function r(e){return void 0===e&&(e=""),`.${e.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function a(e){let{swiper:t,extendParams:n,on:o,emit:a}=e;const l="swiper-pagination";let c;n({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${l}-bullet`,bulletActiveClass:`${l}-bullet-active`,modifierClass:`${l}-`,currentClass:`${l}-current`,totalClass:`${l}-total`,hiddenClass:`${l}-hidden`,progressbarFillClass:`${l}-progressbar-fill`,progressbarOppositeClass:`${l}-progressbar-opposite`,clickableClass:`${l}-clickable`,lockClass:`${l}-lock`,horizontalClass:`${l}-horizontal`,verticalClass:`${l}-vertical`,paginationDisabledClass:`${l}-disabled`}}),t.pagination={el:null,bullets:[]};let d=0;function u(){return!t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&0===t.pagination.el.length}function h(e,n){const{bulletActiveClass:i}=t.params.pagination;e&&(e=e[("prev"===n?"previous":"next")+"ElementSibling"])&&(e.classList.add(`${i}-${n}`),(e=e[("prev"===n?"previous":"next")+"ElementSibling"])&&e.classList.add(`${i}-${n}-${n}`))}function p(e){const n=e.target.closest(r(t.params.pagination.bulletClass));if(!n)return;e.preventDefault();const s=(0,i.h)(n)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===s)return;const e=(o=t.realIndex,a=s,l=t.slides.length,(a%=l)==1+(o%=l)?"next":a===o-1?"previous":void 0);"next"===e?t.slideNext():"previous"===e?t.slidePrev():t.slideToLoop(s)}else t.slideTo(s);var o,a,l}function f(){const e=t.rtl,n=t.params.pagination;if(u())return;let s,o,l=t.pagination.el;l=(0,i.m)(l);const p=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,f=t.params.loop?Math.ceil(p/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(o=t.previousRealIndex||0,s=t.params.slidesPerGroup>1?Math.floor(t.realIndex/t.params.slidesPerGroup):t.realIndex):void 0!==t.snapIndex?(s=t.snapIndex,o=t.previousSnapIndex):(o=t.previousIndex||0,s=t.activeIndex||0),"bullets"===n.type&&t.pagination.bullets&&t.pagination.bullets.length>0){const r=t.pagination.bullets;let a,u,p;if(n.dynamicBullets&&(c=(0,i.f)(r[0],t.isHorizontal()?"width":"height",!0),l.forEach((e=>{e.style[t.isHorizontal()?"width":"height"]=c*(n.dynamicMainBullets+4)+"px"})),n.dynamicMainBullets>1&&void 0!==o&&(d+=s-(o||0),d>n.dynamicMainBullets-1?d=n.dynamicMainBullets-1:d<0&&(d=0)),a=Math.max(s-d,0),u=a+(Math.min(r.length,n.dynamicMainBullets)-1),p=(u+a)/2),r.forEach((e=>{const t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map((e=>`${n.bulletActiveClass}${e}`))].map((e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e)).flat();e.classList.remove(...t)})),l.length>1)r.forEach((e=>{const o=(0,i.h)(e);o===s?e.classList.add(...n.bulletActiveClass.split(" ")):t.isElement&&e.setAttribute("part","bullet"),n.dynamicBullets&&(o>=a&&o<=u&&e.classList.add(...`${n.bulletActiveClass}-main`.split(" ")),o===a&&h(e,"prev"),o===u&&h(e,"next"))}));else{const e=r[s];if(e&&e.classList.add(...n.bulletActiveClass.split(" ")),t.isElement&&r.forEach(((e,t)=>{e.setAttribute("part",t===s?"bullet-active":"bullet")})),n.dynamicBullets){const e=r[a],t=r[u];for(let e=a;e<=u;e+=1)r[e]&&r[e].classList.add(...`${n.bulletActiveClass}-main`.split(" "));h(e,"prev"),h(t,"next")}}if(n.dynamicBullets){const i=Math.min(r.length,n.dynamicMainBullets+4),s=(c*i-c)/2-p*c,o=e?"right":"left";r.forEach((e=>{e.style[t.isHorizontal()?o:"top"]=`${s}px`}))}}l.forEach(((e,i)=>{if("fraction"===n.type&&(e.querySelectorAll(r(n.currentClass)).forEach((e=>{e.textContent=n.formatFractionCurrent(s+1)}
28)),e.querySelectorAll(r(n.totalClass)).forEach((e=>{e.textContent=n.formatFractionTotal(f)}))),"progressbar"===n.type){let i;i=n.progressbarOpposite?t.isHorizontal()?"vertical":"horizontal":t.isHorizontal()?"horizontal":"vertical";const o=(s+1)/f;let a=1,l=1;"horizontal"===i?a=o:l=o,e.querySelectorAll(r(n.progressbarFillClass)).forEach((e=>{e.style.transform=`translate3d(0,0,0) scaleX(${a}) scaleY(${l})`,e.style.transitionDuration=`${t.params.speed}ms`}))}"custom"===n.type&&n.renderCustom?(e.innerHTML=n.renderCustom(t,s+1,f),0===i&&a("paginationRender",e)):(0===i&&a("paginationRender",e),a("paginationUpdate",e)),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](n.lockClass)}))}function m(){const e=t.params.pagination;if(u())return;const n=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.grid&&t.params.grid.rows>1?t.slides.length/Math.ceil(t.params.grid.rows):t.slides.length;let s=t.pagination.el;s=(0,i.m)(s);let o="";if("bullets"===e.type){let i=t.params.loop?Math.ceil(n/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&i>n&&(i=n);for(let n=0;n<i;n+=1)e.renderBullet?o+=e.renderBullet.call(t,n,e.bulletClass):o+=`<${e.bulletElement} ${t.isElement?'part="bullet"':""} class="${e.bulletClass}"></${e.bulletElement}>`}"fraction"===e.type&&(o=e.renderFraction?e.renderFraction.call(t,e.currentClass,e.totalClass):`<span class="${e.currentClass}"></span> / <span class="${e.totalClass}"></span>`),"progressbar"===e.type&&(o=e.renderProgressbar?e.renderProgressbar.call(t,e.progressbarFillClass):`<span class="${e.progressbarFillClass}"></span>`),t.pagination.bullets=[],s.forEach((n=>{"custom"!==e.type&&(n.innerHTML=o||""),"bullets"===e.type&&t.pagination.bullets.push(...n.querySelectorAll(r(e.bulletClass)))})),"custom"!==e.type&&a("paginationRender",s[0])}function g(){t.params.pagination=s(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const e=t.params.pagination;if(!e.el)return;let n;"string"==typeof e.el&&t.isElement&&(n=t.el.querySelector(e.el)),n||"string"!=typeof e.el||(n=[...document.querySelectorAll(e.el)]),n||(n=e.el),n&&0!==n.length&&(t.params.uniqueNavElements&&"string"==typeof e.el&&Array.isArray(n)&&n.length>1&&(n=[...t.el.querySelectorAll(e.el)],n.length>1&&(n=n.find((e=>(0,i.a)(e,".swiper")[0]===t.el)))),Array.isArray(n)&&1===n.length&&(n=n[0]),Object.assign(t.pagination,{el:n}
28),n=(0,i.m)(n),n.forEach((n=>{"bullets"===e.type&&e.clickable&&n.classList.add(...(e.clickableClass||"").split(" ")),n.classList.add(e.modifierClass+e.type),n.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass),"bullets"===e.type&&e.dynamicBullets&&(n.classList.add(`${e.modifierClass}${e.type}-dynamic`),d=0,e.dynamicMainBullets<1&&(e.dynamicMainBullets=1)),"progressbar"===e.type&&e.progressbarOpposite&&n.classList.add(e.progressbarOppositeClass),e.clickable&&n.addEventListener("click",p),t.enabled||n.classList.add(e.lockClass)})))}function v(){const e=t.params.pagination;if(u())return;let n=t.pagination.el;n&&(n=(0,i.m)(n),n.forEach((n=>{n.classList.remove(e.hiddenClass),n.classList.remove(e.modifierClass+e.type),n.classList.remove(t.isHorizontal()?e.horizontalClass:e.verticalClass),e.clickable&&(n.classList.remove(...(e.clickableClass||"").split(" ")),n.removeEventListener("click",p))}))),t.pagination.bullets&&t.pagination.bullets.forEach((t=>t.classList.remove(...e.bulletActiveClass.split(" "))))}o("changeDirection",(()=>{if(!t.pagination||!t.pagination.el)return;const e=t.params.pagination;let{el:n}=t.pagination;
28n=(0,i.m)(n),n.forEach((n=>{n.classList.remove(e.horizontalClass,e.verticalClass),n.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass)}))})),o("init",(()=>{!1===t.params.pagination.enabled?b():(g(),m(),f())})),o("activeIndexChange",(()=>{void 0===t.snapIndex&&f()})),o("snapIndexChange",(()=>{f()})),o("snapGridLengthChange",(()=>{m(),f()})),o("destroy",(()=>{v()})),o("enable disable",(()=>{let{el:e}=t.pagination;e&&(e=(0,i.m)(e),e.forEach((e=>e.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass))))})),o("lock unlock",(()=>{f()})),o("click",((e,n)=>{const s=n.target,o=(0,i.m)(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&o&&o.length>0&&!s.classList.contains(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&s===t.navigation.nextEl||t.navigation.prevEl&&s===t.navigation.prevEl))return;const e=o[0].classList.contains(t.params.pagination.hiddenClass);a(!0===e?"paginationShow":"paginationHide"),o.forEach((e=>e.classList.toggle(t.params.pagination.hiddenClass)))}}));const b=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=(0,i.m)(e),e.forEach((e=>e.classList.add(t.params.pagination.paginationDisabledClass)))),v()};Object.assign(t.pagination,{enable:()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=(0,i.m)(e),e.forEach((e=>e.classList.remove(t.params.pagination.paginationDisabledClass)))),g(),m(),f()},disable:b,render:m,update:f,init:g,destroy:v})}},2514:function(e,t,n){"use strict";function i(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function s(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach((n=>{void 0===e[n]?e[n]=t[n]:i(t[n])&&i(e[n])&&Object.keys(t[n]).length>0&&s(e[n],t[n])}))}n.d(t,{a:function(){return l},g:function(){return r}});const o={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function r(){const e="undefined"!=typeof document?document:{};return s(e,o),e}const a={document:o,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(e){return"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function l(){const e="undefined"!=typeof window?window:{};return s(e,a),e}},8771:function(e,t,n){"use strict";n.d(t,{a:function(){return w},c:function(){return m},d:function(){return r},e:function(){return h},f:function(){return x},h:function(){return y},j:function(){return a},m:function(){return E},n:function(){return o},p:function(){return b},q:function(){return v},r:function(){return g},s:function(){return d},t:function(){return u},u:function(){return f},v:function(){return p},w:function(){return c},x:function(){return s}});var i=n(2514);function s(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}function o(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function r(){return Date.now()}function a(e,t){void 0===t&&(t="x");const n=(0,i.a)();let s,o,r;const a=function(e){const t=(0,i.a)();let n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}(e);return n.WebKitCSSMatrix?(o=a.transform||a.webkitTransform,o.split(",").length>6&&(o=o.split(", ").map((e=>e.replace(",","."))).join(", ")),r=new n.WebKitCSSMatrix("none"===o?"":o)):(r=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),s=r.toString().split(",")),"x"===t&&(o=n.Web
28KitCSSMatrix?r.m41:16===s.length?parseFloat(s[12]):parseFloat(s[4])),"y"===t&&(o=n.WebKitCSSMatrix?r.m42:16===s.length?parseFloat(s[13]):parseFloat(s[5])),o||0}function l(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function c(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let i=1;i<arguments.length;i+=1){const s=i<0||arguments.length<=i?void 0:arguments[i];if(null!=s&&(n=s,!("undefined"!=typeof window&&void 0!==window.HTMLElement?n instanceof HTMLElement:n&&(1===n.nodeType||11===n.nodeType)))){const n=Object.keys(Object(s)).filter((e=>t.indexOf(e)<0));for(let t=0,i=n.length;t<i;t+=1){const i=n[t],o=Object.getOwnPropertyDescriptor(s,i);void 0!==o&&o.enumerable&&(l(e[i])&&l(s[i])?s[i].__swiper__?e[i]=s[i]:c(e[i],s[i]):!l(e[i])&&l(s[i])?(e[i]={},s[i].__swiper__?e[i]=s[i]:c(e[i],s[i])):e[i]=s[i])}}}var n;return e}function d(e,t,n){e.style.setProperty(t,n)}function u(e){let{swiper:t,targetPosition:n,side:s}=e;const o=(0,i.a)(),r=-t.translate;let a,l=null;const c=t.params.speed;t.wrapperEl.style.scrollSnapType="none",o.cancelAnimationFrame(t.cssModeFrameID);const d=n>r?"next":"prev",u=(e,t)=>"next"===d&&e>=t||"prev"===d&&e<=t,h=()=>{a=(new Date).getTime(),null===l&&(l=a);const e=Math.max(Math.min((a-l)/c,1),0),i=.5-Math.cos(e*Math.PI)/2;let d=r+i*(n-r);if(u(d,n)&&(d=n),t.wrapperEl.scrollTo({[s]:d}),u(d,n))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout((()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[s]:d})})),void o.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=o.requestAnimationFrame(h)};h()}function h(e,t){void 0===t&&(t="");const n=[...e.children];return e instanceof HTMLSlotElement&&n.push(...e.assignedElements()),t?n.filter((e=>e.matches(t))):n}function p(e,t){let n=t.contains(e);if(!n&&t instanceof HTMLSlotElement){n=[...t.assignedElements()].includes(e),n||(n=function(e,t){const n=[t];for(;n.length>0;){const t=n.shift();if(e===t)return!0;n.push(...t.children,...t.shadowRoot?.children||[],...t.assignedElements?.()||[])}}(e,t))}return n}function f(e){try{return void console.warn(e)}catch(e){}}function m(e,t){void 0===t&&(t=[]);const n=document.createElement(e);return n.classList.add(...Array.isArray(t)?t:function(e){return void 0===e&&(e=""),e.trim().split(" ").filter((e=>!!e.trim()))}(t)),n}function g(e,t){const n=[];for(;e.previousElementSibling;){const i=e.previousElementSibling;t?i.matches(t)&&n.push(i):n.push(i),e=i}return n}function v(e,t){const n=[];for(;e.nextElementSibling;){const i=e.nextElementSibling;t?i.matches(t)&&n.push(i):n.push(i),e=i}return n}function b(e,t){return(0,i.a)().getComputedStyle(e,null).getPropertyValue(t)}function y(e){let t,n=e;if(n){for(t=0;null!==(n=n.previousSibling);)1===n.nodeType&&(t+=1);return t}}function w(e,t){const n=[];let i=e.parentElement;for(;i;)t?i.matches(t)&&n.push(i):n.push(i),i=i.parentElement;return n}function x(e,t,n){const s=(0,i.a)();return n?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(s.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(s.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}function E(e){return(Array.isArray(e)?e:[e]).filter((e=>!!e))}},973:function(e,t,n){"use strict";n.d(t,{A:function(){return z}});var i=n(2514),s=n(8771);let o,r,a;function l(){return o||(o=function(){const e=(0,i.a)(),t=(0,i.g)();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),o}function c(e){return void 0===e&&(e={}),r||(r=function(e){let{userAgent:t}=void 0===e?{}:e;const n=l(),s=(0,i.a)(),o=s.navigator.platform,r=t||s.navigator.userAgent,a={ios:!1,android:!1},c=s.screen.width,d=s.screen.height,u=r.match(/(Android);?[\s\/]+([\d.]+)?/);let h=r.match(/(iPad).*OS\s([\d_]+)/);const p=r.match(/(iPod)(.*OS\s([\d_]+))?/),f=!h&&r.match(/(iPhone\sOS|iOS)\s([\d_]+)/),m="Win32"===o;let g="MacIntel"===o;return!h&&g&&n.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${c}x${d}`)>=0&&(h=r.match(/(Version)\/([\d.]+)/),h||(h=[0,1,"13_0_0"]),g=!1),u&&!m&&(a.os="android",a.android=!0),(h||f||p)&&(a.os="ios",a.ios=!0),a}(e)),r}function d(){return a||(a=function(){const e=(0,i.a)(),t=c();let n=!1;function s(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}if(s()){const t=String(e.navigator.userAgent);if(t.includes("Version/")){const[e,i]=t.split("Version/")[1].split(" ")[0].split(".").map((e=>Number(e)));
vendor: 11,727 bytes, line 28
28n=e<16||16===e&&i<2}}const o=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),r=s();return{isSafari:n||r,needPerspectiveFix:n,need3dFix:r||o&&t.ios,isWebView:o}}()),a}var u={on(e,t,n){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof t)return i;const s=n?"unshift":"push";return e.split(" ").forEach((e=>{i.eventsListeners[e]||(i.eventsListeners[e]=[]),i.eventsListeners[e][s](t)})),i},once(e,t,n){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof t)return i;function s(){i.off(e,s),s.__emitterProxy&&delete s.__emitterProxy;for(var n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];t.apply(i,o)}return s.__emitterProxy=t,i.on(e,s,n)},onAny(e,t){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof e)return n;const i=t?"unshift":"push";return n.eventsAnyListeners.indexOf(e)<0&&n.eventsAnyListeners[i](e),n},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const n=t.eventsAnyListeners.indexOf(e);return n>=0&&t.eventsAnyListeners.splice(n,1),t},off(e,t){const n=this;return!n.eventsListeners||n.destroyed?n:n.eventsListeners?(e.split(" ").forEach((e=>{void 0===t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach(((i,s)=>{(i===t||i.__emitterProxy&&i.__emitterProxy===t)&&n.eventsListeners[e].splice(s,1)}))})),n):n},emit(){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let t,n,i;for(var s=arguments.length,o=new Array(s),r=0;r<s;r++)o[r]=arguments[r];"string"==typeof o[0]||Array.isArray(o[0])?(t=o[0],n=o.slice(1,o.length),i=e):(t=o[0].events,n=o[0].data,i=o[0].context||e),n.unshift(i);return(Array.isArray(t)?t:t.split(" ")).forEach((t=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach((e=>{e.apply(i,[t,...n])})),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach((e=>{e.apply(i,n)}))})),e}};const h=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};const p=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};const f=(e,t)=>{if(!e||e.destroyed||!e.params)return;const n=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(n){let t=n.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(n.shadowRoot?t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame((()=>{n.shadowRoot&&(t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),t&&t.remove())}))),t&&t.remove()}},m=(e,t)=>{if(!e.slides[t])return;const n=e.slides[t].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},g=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const n=e.slides.length;if(!n||!t||t<0)return;t=Math.min(t,n);const i="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),s=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const n=s,o=[n-t];return o.push(...Array.from({length:t}).map(((e,t)=>n+i+t))),void e.slides.forEach(((t,n)=>{o.includes(t.column)&&m(e,n)}))}const o=s+i-1;if(e.params.rewind||e.params.loop)for(let i=s-t;i<=o+t;i+=1){const t=(i%n+n)%n;(t<s||t>o)&&m(e,t)}else for(let i=Math.max(s-t,0);i<=Math.min(o+t,n-1);i+=1)i!==s&&(i>o||i<s)&&m(e,i)};var v={updateSize:function(){const e=this;let t,n;const i=e.el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:i.clientWidth,n=void 0!==e.params.height&&null!==e.params.height?e.params.height:i.clientHeight,0===t&&e.isHorizontal()||0===n&&e.isVertical()||(t=t-parseInt((0,s.p)(i,"padding-left")||0,10)-parseInt((0,s.p)(i,"padding-right")||0,10),n=n-parseInt((0,s.p)(i,"padding-top")||0,10)-parseInt((0,s.p)(i,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(n)&&(n=0),Object.assign(e,{width:t,height:n,size:e.isHorizontal()?t:n}))},updateSlides:function(){const e=this;function t(t,n){return parseFloat(t.getPropertyValue(e.getDirectionLabel(n))||0)}const n=e.params,{wrapperEl:i,slidesEl:o,size:r,rtlTranslate:a,wrongRTL:l}=e,c=e.virtual&&n.virtual.enabled,d=c?e.virtual.slides.length:e.slides.length,u=(0,s.e)(o,`.${e.params.slideClass}, swiper-slide`),h=c?e.virtual.slides.length:u.length;let p=[];const f=[],m=[];let g=n.slidesOffsetBefore;"function"==typeof g&&(g=n.slidesOffsetBefore.call(e));let v=n.slidesOffsetAfter;"function"==typeof v&&(v=n.slidesOffsetAfter.call(e));const b=e.snapGrid.length,y=e.slidesGrid.length;let w=n.spaceBetween,x=-g,E=0,S=0;if(void 0===r)return;"string"==typeof w&&w.indexOf("%")>=0?w=parseFloat(w.replace("%",""))/100*r:"string"==typeof w&&(w=parseFloat(w)),e.virtualSize=-w,u.forEach((e=>{a?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""})),n.centeredSlides&&n.cssMode&&((0,s.s)(i,"--swiper-centered-offset-before",""),(0,s.s)(i,"--swiper-centered-offset-after",""));const T=n.grid&&n.grid.rows>1&&e.grid;let C;T?e.grid.initSlides(u):e.grid&&e.grid.unsetSlides();const P="auto"===n.slidesPerView&&n.breakpoints&&Object.keys(n.breakpoints).filter((e=>void 0!==n.breakpoints[e].slidesPerView)).length>0;for(let i=0;i<h;i+=1){let o;if(C=0,u[i]&&(o=u[i]),T&&e.grid.updateSlide(i,o,u),!u[i]||"none"!==(0,s.p)(o,"display")){if("auto"===n.slidesPerView){P&&(u[i].style[e.getDirectionLabel("width")]="");const r=getComputedStyle(o),a=o.style.transform,l=o.style.webkitTransform;if(a&&(o.style.transform="none"),l&&(o.style.webkitTransform="none"),n.roundLengths)C=e.isHorizontal()?(0,s.f)(o,"width",!0):(0,s.f)(o,"height",!0);else{const e=t(r,"width"),n=t(r,"padding-left"),i=t(r,"padding-right"),s=t(r,"margin-left"),a=t(r,"margin-right"),l=r.getPropertyValue("box-sizing");if(l&&"border-box"===l)C=e+s+a;else{const{clientWidth:t,offsetWidth:r}=o;C=e+n+i+s+a+(r-t)}}a&&(o.style.transform=a),l&&(o.style.webkitTransform=l),n.roundLengths&&(C=Math.floor(C))}else C=(r-(n.slidesPerView-1)*w)/n.slidesPerView,n.roundLengths&&(C=Math.floor(C)),u[i]&&(u[i].style[e.getDirectionLabel("width")]=`${C}px`);u[i]&&(u[i].swiperSlideSize=C),m.push(C),n.centeredSlides?(x=x+C/2+E/2+w,0===E&&0!==i&&(x=x-r/2-w),0===i&&(x=x-r/2-w),Math.abs(x)<.001&&(x=0),n.roundLengths&&(x=Math.floor(x)),S%n.slidesPerGroup==0&&p.push(x),f.push(x)):(n.roundLengths&&(x=Math.floor(x)),(S-Math.min(e.params.slidesPerGroupSkip,S))%e.params.slidesPerGroup==0&&p.push(x),f.push(x),x=x+C+w),e.virtualSize+=C+w,E=C,S+=1}}if(e.virtualSize=Math.max(e.virtualSize,r)+v,a&&l&&("slide"===n.effect||"coverflow"===n.effect)&&(i.style.width=`${e.virtualSize+w}px`),n.setWrapperSize&&(i.style[e.getDirectionLabel("width")]=`${e.virtualSize+w}px`),T&&e.grid.updateWrapperSize(C,p),!n.centeredSlides){const t=[];for(let i=0;i<p.length;i+=1){let s=p[i];n.roundLengths&&(s=Math.floor(s)),p[i]<=e.virtualSize-r&&t.push(s)}p=t,Math.floor(e.virtualSize-r)-Math.floor(p[p.length-1])>1&&p.push(e.virtualSize-r)}if(c&&n.loop){const t=m[0]+w;if(n.slidesPerGroup>1){const i=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/n.slidesPerGroup),s=t*n.slidesPerGroup;for(let e=0;e<i;e+=1)p.push(p[p.length-1]+s)}for(let i=0;i<e.virtual.slidesBefore+e.virtual.slidesAfter;i+=1)1===n.slidesPerGroup&&p.push(p[p.length-1]+t),f.push(f[f.length-1]+t),e.virtualSize+=t}if(0===p.length&&(p=[0]),0!==w){const t=e.isHorizontal()&&a?"marginLeft":e.getDirectionLabel("marginRight");u.filter(((e,t)=>!(n.cssMode&&!n.loop)||t!==u.length-1)).forEach((e=>{e.style[t]=`${w}px`}))}if(n.centeredSlides&&n.centeredSlidesBounds){let e=0;m.forEach((t=>{e+=t+(w||0)})),e-=w;const t=e>r?e-r:0;p=p.map((e=>e<=0?-g:e>t?t+v:e))}if(n.centerInsufficientSlides){let e=0;m.forEach((t=>{e+=t+(w||0)})),e-=w;const t=(n.slidesOffsetBefore||0)+(n.slidesOffsetAfter||0);if(e+t<r){const n=(r-e-t)/2;p.forEach(((e,t)=>{p[t]=e-n})),f.forEach(((e,t)=>{f[t]=e+n}))}}if(Object.assign(e,{slides:u,snapGrid:p,slidesGrid:f,slidesSizesGrid:m}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){(0,s.s)(i,"--swiper-centered-offset-before",-p[0]+"px"),(0,s.s)(i,"--swiper-centered-offset-after",e.size/2-m[m.length-1]/2+"px");const t=-e.snapGrid[0],n=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+n))}if(h!==d&&e.emit("slidesLengthChange"),p.length!==b&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),f.length!==y&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!(c||n.cssMode||"slide"!==n.effect&&"fade"!==n.effect)){const t=`${n.containerModifierClass}backface-hidden`,i=e.el.classList.contains(t);h<=n.maxBackfaceHiddenSlides?i||e.el.classList.add(t):i&&e.el.classList.remove(t)}},updateAutoHeight:function(e){const t=this,n=[],i=t.virtual&&t.params.virtual.enabled;let s,o=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const r=e=>i?t.slides[t.getSlideIndexByData(e)]:t.slides[e];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach((e=>{n.push(e)}));else for(s=0;s<Math.ceil(t.params.slidesPerView);s+=1){const e=t.activeIndex+s;if(e>t.slides.length&&!i)break;n.push(r(e))}else n.push(r(t.activeIndex));for(s=0;s<n.length;s+=1)if(void 0!==n[s]){const e=n[s].offsetHeight;o=e>o?e:o}(o||0===o)&&(t.wrapperEl.style.height=`${o}px`)},updateSlidesOffset:function(){const e=this,t=e.slides,n=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let i=0;i<t.length;i+=1)t[i].swiperSlideOffset=(e.isHorizontal()?t[i].offsetLeft:t[i].offsetTop)-n-e.cssOverflowAdjustment()},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);const t=this,n=t.params,{slides:i,rtlTranslate:s,snapGrid:o}=t;if(0===i.length)return;void 0===i[0].swiperSlideOffset&&t.updateSlidesOffset();let r=-e;s&&(r=e),t.visibleSlidesIndexes=[],t.visibleSlides=[];let a=n.spaceBetween;"string"==typeof a&&a.indexOf("%")>=0?a=parseFloat(a.replace("%",""))/100*t.size:"string"==typeof a&&(a=parseFloat(a));for(let e=0;e<i.length;e+=1){const l=i[e];let c=l.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(c-=i[0].swiperSlideOffset);const d=(r+(n.centeredSlides?t.minTranslate():0)-c)/(l.swiperSlideSize+a),u=(r-o[0]+(n.centeredSlides?t.minTranslate():0)-c)/(l.swiperSlideSize+a),p=-(r-c),f=p+t.slidesSizesGrid[e],m=p>=0&&p<=t.size-t.slidesSizesGrid[e],g=p>=0&&p<t.size-1||f>1&&f<=t.size||p<=0&&f>=t.size;g&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(e)),h(l,g,n.slideVisibleClass),h(l,m,n.slideFullyVisibleClass),l.progress=s?-d:d,l.originalProgress=s?-u:u}},updateProgress:function(e){const t=this;if(void 0===e){const n=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*n||0}const n=t.params,i=t.maxTranslate()-t.minTranslate();let{progress:s,isBeginning:o,isEnd:r,progressLoop:a}=t;const l=o,c=r;if(0===i)s=0,o=!0,r=!0;else{s=(e-t.minTranslate())/i;const n=Math.abs(e-t.minTranslate())<1,a=Math.abs(e-t.maxTranslate())<1;o=n||s<=0,r=a||s>=1,n&&(s=0),a&&(s=1)}if(n.loop){const n=t.getSlideIndexByData(0),i=t.getSlideIndexByData(t.slides.length-1),s=t.slidesGrid[n],o=t.slidesGrid[i],r=t.slidesGrid[t.slidesGrid.length-1],l=Math.abs(e);a=l>=s?(l-s)/r:(l+r-o)/r,a>1&&(a-=1)}Object.assign(t,{progress:s,progressLoop:a,isBeginning:o,isEnd:r}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),o&&!l&&t.emit("reachBeginning toEdge"),r&&!c&&t.emit("reachEnd toEdge"),(l&&!o||c&&!r)&&t.emit("fromEdge"),t.emit("progress",s)},updateSlidesClasses:function(){const e=this,{slides:t,params:n,slidesEl:i,activeIndex:o}=e,r=e.virtual&&n.virtual.enabled,a=e.grid&&n.grid&&n.grid.rows>1,l=e=>(0,s.e)(i,`.${n.slideClass}${e}, swiper-slide${e}`)[0];let c,d,u;
vendor: 2,360 bytes, line 28
28if(r)if(n.loop){let t=o-e.virtual.slidesBefore;t<0&&(t=e.virtual.slides.length+t),t>=e.virtual.slides.length&&(t-=e.virtual.slides.length),c=l(`[data-swiper-slide-index="${t}"]`)}else c=l(`[data-swiper-slide-index="${o}"]`);else a?(c=t.find((e=>e.column===o)),u=t.find((e=>e.column===o+1)),d=t.find((e=>e.column===o-1))):c=t[o];c&&(a||(u=(0,s.q)(c,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!u&&(u=t[0]),d=(0,s.r)(c,`.${n.slideClass}, swiper-slide`)[0],n.loop&&0===!d&&(d=t[t.length-1]))),t.forEach((e=>{p(e,e===c,n.slideActiveClass),p(e,e===u,n.slideNextClass),p(e,e===d,n.slidePrevClass)})),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{snapGrid:i,params:s,activeIndex:o,realIndex:r,snapIndex:a}=t;let l,c=e;const d=e=>{let n=e-t.virtual.slidesBefore;return n<0&&(n=t.virtual.slides.length+n),n>=t.virtual.slides.length&&(n-=t.virtual.slides.length),n};if(void 0===c&&(c=function(e){const{slidesGrid:t,params:n}=e,i=e.rtlTranslate?e.translate:-e.translate;let s;for(let e=0;e<t.length;e+=1)void 0!==t[e+1]?i>=t[e]&&i<t[e+1]-(t[e+1]-t[e])/2?s=e:i>=t[e]&&i<t[e+1]&&(s=e+1):i>=t[e]&&(s=e);return n.normalizeSlideIndex&&(s<0||void 0===s)&&(s=0),s}(t)),i.indexOf(n)>=0)l=i.indexOf(n);else{const e=Math.min(s.slidesPerGroupSkip,c);l=e+Math.floor((c-e)/s.slidesPerGroup)}if(l>=i.length&&(l=i.length-1),c===o&&!t.params.loop)return void(l!==a&&(t.snapIndex=l,t.emit("snapIndexChange")));if(c===o&&t.params.loop&&t.virtual&&t.params.virtual.enabled)return void(t.realIndex=d(c));const u=t.grid&&s.grid&&s.grid.rows>1;let h;if(t.virtual&&s.virtual.enabled&&s.loop)h=d(c);else if(u){const e=t.slides.find((e=>e.column===c));let n=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(n)&&(n=Math.max(t.slides.indexOf(e),0)),h=Math.floor(n/s.grid.rows)}else if(t.slides[c]){const e=t.slides[c].getAttribute("data-swiper-slide-index");h=e?parseInt(e,10):c}else h=c;Object.assign(t,{previousSnapIndex:a,snapIndex:l,previousRealIndex:r,realIndex:h,previousIndex:o,activeIndex:c}),t.initialized&&g(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(r!==h&&t.emit("realIndexChange"),t.emit("slideChange"))},updateClickedSlide:function(e,t){const n=this,i=n.params;let s=e.closest(`.${i.slideClass}, swiper-slide`);!s&&n.isElement&&t&&t.length>
vendor: 10,695 bytes, line 28
281&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach((e=>{!s&&e.matches&&e.matches(`.${i.slideClass}, swiper-slide`)&&(s=e)}));let o,r=!1;if(s)for(let e=0;e<n.slides.length;e+=1)if(n.slides[e]===s){r=!0,o=e;break}if(!s||!r)return n.clickedSlide=void 0,void(n.clickedIndex=void 0);n.clickedSlide=s,n.virtual&&n.params.virtual.enabled?n.clickedIndex=parseInt(s.getAttribute("data-swiper-slide-index"),10):n.clickedIndex=o,i.slideToClickedSlide&&void 0!==n.clickedIndex&&n.clickedIndex!==n.activeIndex&&n.slideToClickedSlide()}};var b={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");const{params:t,rtlTranslate:n,translate:i,wrapperEl:o}=this;if(t.virtualTranslate)return n?-i:i;if(t.cssMode)return i;let r=(0,s.j)(o,e);return r+=this.cssOverflowAdjustment(),n&&(r=-r),r||0},setTranslate:function(e,t){const n=this,{rtlTranslate:i,params:s,wrapperEl:o,progress:r}=n;let a,l=0,c=0;n.isHorizontal()?l=i?-e:e:c=e,s.roundLengths&&(l=Math.floor(l),c=Math.floor(c)),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?l:c,s.cssMode?o[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-l:-c:s.virtualTranslate||(n.isHorizontal()?l-=n.cssOverflowAdjustment():c-=n.cssOverflowAdjustment(),o.style.transform=`translate3d(${l}px, ${c}px, 0px)`);const d=n.maxTranslate()-n.minTranslate();a=0===d?0:(e-n.minTranslate())/d,a!==r&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,n,i,o){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0),void 0===i&&(i=!0);const r=this,{params:a,wrapperEl:l}=r;if(r.animating&&a.preventInteractionOnTransition)return!1;const c=r.minTranslate(),d=r.maxTranslate();let u;if(u=i&&e>c?c:i&&e<d?d:e,r.updateProgress(u),a.cssMode){const e=r.isHorizontal();if(0===t)l[e?"scrollLeft":"scrollTop"]=-u;else{if(!r.support.smoothScroll)return(0,s.t)({swiper:r,targetPosition:-u,side:e?"left":"top"}),!0;l.scrollTo({[e?"left":"top"]:-u,behavior:"smooth"})}return!0}return 0===t?(r.setTransition(0),r.setTranslate(u),n&&(r.emit("beforeTransitionStart",t,o),r.emit("transitionEnd"))):(r.setTransition(t),r.setTranslate(u),n&&(r.emit("beforeTransitionStart",t,o),r.emit("transitionStart")),r.animating||(r.animating=!0,r.onTranslateToWrapperTransitionEnd||(r.onTranslateToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.onTranslateToWrapperTransitionEnd=null,delete r.onTranslateToWrapperTransitionEnd,r.animating=!1,n&&r.emit("transitionEnd"))}),r.wrapperEl.addEventListener("transitionend",r.onTranslateToWrapperTransitionEnd))),!0}};function y(e){let{swiper:t,runCallbacks:n,direction:i,step:s}=e;const{activeIndex:o,previousIndex:r}=t;let a=i;if(a||(a=o>r?"next":o<r?"prev":"reset"),t.emit(`transition${s}`),n&&o!==r){if("reset"===a)return void t.emit(`slideResetTransition${s}`);t.emit(`slideChangeTransition${s}`),"next"===a?t.emit(`slideNextTransition${s}`):t.emit(`slidePrevTransition${s}`)}}var w={slideTo:function(e,t,n,i,o){void 0===e&&(e=0),void 0===n&&(n=!0),"string"==typeof e&&(e=parseInt(e,10));const r=this;let a=e;a<0&&(a=0);const{params:l,snapGrid:c,slidesGrid:d,previousIndex:u,activeIndex:h,rtlTranslate:p,wrapperEl:f,enabled:m}=r;if(!m&&!i&&!o||r.destroyed||r.animating&&l.preventInteractionOnTransition)return!1;void 0===t&&(t=r.params.speed);const g=Math.min(r.params.slidesPerGroupSkip,a);let v=g+Math.floor((a-g)/r.params.slidesPerGroup);v>=c.length&&(v=c.length-1);const b=-c[v];if(l.normalizeSlideIndex)for(let e=0;e<d.length;e+=1){const t=-Math.floor(100*b),n=Math.floor(100*d[e]),i=Math.floor(100*d[e+1]);void 0!==d[e+1]?t>=n&&t<i-(i-n)/2?a=e:t>=n&&t<i&&(a=e+1):t>=n&&(a=e)}if(r.initialized&&a!==h){if(!r.allowSlideNext&&(p?b>r.translate&&b>r.minTranslate():b<r.translate&&b<r.minTranslate()))return!1;if(!r.allowSlidePrev&&b>r.translate&&b>r.maxTranslate()&&(h||0)!==a)return!1}let y;a!==(u||0)&&n&&r.emit("beforeSlideChangeStart"),r.updateProgress(b),y=a>h?"next":a<h?"prev":"reset";const w=r.virtual&&r.params.virtual.enabled;if(!(w&&o)&&(p&&-b===r.translate||!p&&b===r.translate))return r.updateActiveIndex(a),l.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),"slide"!==l.effect&&r.setTranslate(b),"reset"!==y&&(r.transitionStart(n,y),r.transitionEnd(n,y)),!1;if(l.cssMode){const e=r.isHorizontal(),n=p?b:-b;if(0===t)w&&(r.wrapperEl.style.scrollSnapType="none",r._immediateVirtual=!0),w&&!r._cssModeVirtualInitialSet&&r.params.initialSlide>0?(r._cssModeVirtualInitialSet=!0,requestAnimationFrame((()=>{f[e?"scrollLeft":"scrollTop"]=n}))):f[e?"scrollLeft":"scrollTop"]=n,w&&requestAnimationFrame((()=>{r.wrapperEl.style.scrollSnapType="",r._immediateVirtual=!1}));else{if(!r.support.smoothScroll)return(0,s.t)({swiper:r,targetPosition:n,side:e?"left":"top"}),!0;f.scrollTo({[e?"left":"top"]:n,behavior:"smooth"})}return!0}return r.setTransition(t),r.setTranslate(b),r.updateActiveIndex(a),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,i),r.transitionStart(n,y),0===t?r.transitionEnd(n,y):r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(n,y))}),r.wrapperEl.addEventListener("transitionend",r.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,n,i){if(void 0===e&&(e=0),void 0===n&&(n=!0),"string"==typeof e){e=parseInt(e,10)}const s=this;if(s.destroyed)return;void 0===t&&(t=s.params.speed);const o=s.grid&&s.params.grid&&s.params.grid.rows>1;let r=e;if(s.params.loop)if(s.virtual&&s.params.virtual.enabled)r+=s.virtual.slidesBefore;else{let e;if(o){const t=r*s.params.grid.rows;e=s.slides.find((e=>1*e.getAttribute("data-swiper-slide-index")===t)).column}else e=s.getSlideIndexByData(r);const t=o?Math.ceil(s.slides.length/s.params.grid.rows):s.slides.length,{centeredSlides:n}=s.params;let a=s.params.slidesPerView;"auto"===a?a=s.slidesPerViewDynamic():(a=Math.ceil(parseFloat(s.params.slidesPerView,10)),n&&a%2==0&&(a+=1));let l=t-e<a;if(n&&(l=l||e<Math.ceil(a/2)),i&&n&&"auto"!==s.params.slidesPerView&&!o&&(l=!1),l){const i=n?e<s.activeIndex?"prev":"next":e-s.activeIndex-1<s.params.slidesPerView?"next":"prev";s.loopFix({direction:i,slideTo:!0,activeSlideIndex:"next"===i?e+1:e-t+1,slideRealIndex:"next"===i?s.realIndex:void 0})}if(o){const e=r*s.params.grid.rows;r=s.slides.find((t=>1*t.getAttribute("data-swiper-slide-index")===e)).column}else r=s.getSlideIndexByData(r)}return requestAnimationFrame((()=>{s.slideTo(r,t,n,i)})),s},slideNext:function(e,t,n){void 0===t&&(t=!0);const i=this,{enabled:s,params:o,animating:r}=i;if(!s||i.destroyed)return i;void 0===e&&(e=i.params.speed);let a=o.slidesPerGroup;"auto"===o.slidesPerView&&1===o.slidesPerGroup&&o.slidesPerGroupAuto&&(a=Math.max(i.slidesPerViewDynamic("current",!0),1));const l=i.activeIndex<o.slidesPerGroupSkip?1:a,c=i.virtual&&o.virtual.enabled;if(o.loop){if(r&&!c&&o.loopPreventsSliding)return!1;if(i.loopFix({direction:"next"}),i._clientLeft=i.wrapperEl.clientLeft,i.activeIndex===i.slides.length-1&&o.cssMode)return requestAnimationFrame((()=>{i.slideTo(i.activeIndex+l,e,t,n)})),!0}return o.rewind&&i.isEnd?i.slideTo(0,e,t,n):i.slideTo(i.activeIndex+l,e,t,n)},slidePrev:function(e,t,n){void 0===t&&(t=!0);const i=this,{params:s,snapGrid:o,slidesGrid:r,rtlTranslate:a,enabled:l,animating:c}=i;if(!l||i.destroyed)return i;void 0===e&&(e=i.params.speed);const d=i.virtual&&s.virtual.enabled;if(s.loop){if(c&&!d&&s.loopPreventsSliding)return!1;i.loopFix({direction:"prev"}),i._clientLeft=i.wrapperEl.clientLeft}function u(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const h=u(a?i.translate:-i.translate),p=o.map((e=>u(e)));let f=o[p.indexOf(h)-1];if(void 0===f&&s.cssMode){let e;o.forEach(((t,n)=>{h>=t&&(e=n)})),void 0!==e&&(f=o[e>0?e-1:e])}let m=0;if(void 0!==f&&(m=r.indexOf(f),m<0&&(m=i.activeIndex-1),"auto"===s.slidesPerView&&1===s.slidesPerGroup&&s.slidesPerGroupAuto&&(m=m-i.slidesPerViewDynamic("previous",!0)+1,m=Math.max(m,0))),s.rewind&&i.isBeginning){const s=i.params.virtual&&i.params.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1;return i.slideTo(s,e,t,n)}return s.loop&&0===i.activeIndex&&s.cssMode?(requestAnimationFrame((()=>{i.slideTo(m,e,t,n)})),!0):i.slideTo(m,e,t,n)},slideReset:function(e,t,n){void 0===t&&(t=!0);const i=this;if(!i.destroyed)return void 0===e&&(e=i.params.speed),i.slideTo(i.activeIndex,e,t,n)},slideToClosest:function(e,t,n,i){void 0===t&&(t=!0),void 0===i&&(i=.5);const s=this;if(s.destroyed)return;void 0===e&&(e=s.params.speed);let o=s.activeIndex;const r=Math.min(s.params.slidesPerGroupSkip,o),a=r+Math.floor((o-r)/s.params.slidesPerGroup),l=s.rtlTranslate?s.translate:-s.translate;if(l>=s.snapGrid[a]){const e=s.snapGrid[a];l-e>(s.snapGrid[a+1]-e)*i&&(o+=s.params.slidesPerGroup)}else{const e=s.snapGrid[a-1];l-e<=(s.snapGrid[a]-e)*i&&(o-=s.params.slidesPerGroup)}return o=Math.max(o,0),o=Math.min(o,s.slidesGrid.length-1),s.slideTo(o,e,t,n)},slideToClickedSlide:function(){const e=this;if(e.destroyed)return;const{params:t,slidesEl:n}=e,i="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let o,r=e.clickedIndex;const a=e.isElement?"swiper-slide":`.${t.slideClass}`;if(t.loop){if(e.animating)return;o=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?r<e.loopedSlides-i/2||r>e.slides.length-e.loopedSlides+i/2?(e.loopFix(),r=e.getSlideIndex((0,s.e)(n,`${a}[data-swiper-slide-index="${o}"]`)[0]),(0,s.n)((()=>{e.slideTo(r)}))):e.slideTo(r):r>e.slides.length-i?(e.loopFix(),r=e.getSlideIndex((0,s.e)(n,`${a}[data-swiper-slide-index="${o}"]`)[0]),(0,s.n)((()=>{e.slideTo(r)}))):e.slideTo(r)}else e.slideTo(r)}};var x={loopCreate:function(e){const t=this,{params:n,slidesEl:i}=t;if(!n.loop||t.virtual&&t.params.virtual.enabled)return;const o=()=>{(0,s.e)(i,`.${n.slideClass}, swiper-slide`).forEach(((e,t)=>{e.setAttribute("data-swiper-slide-index",t)}))},r=t.grid&&n.grid&&n.grid.rows>1,a=n.slidesPerGroup*(r?n.grid.rows:1),l=t.slides.length%a!=0,c=r&&t.slides.length%n.grid.rows!=0,d=e=>{for(let i=0;i<e;i+=1){const e=t.isElement?(0,s.c)("swiper-slide",[n.slideBlankClass]):(0,s.c)("div",[n.slideClass,n.slideBlankClass]);t.slidesEl.append(e)}};if(l){if(n.loopAddBlankSlides){d(a-t.slides.length%a),t.recalcSlides(),t.updateSlides()}else(0,s.u)("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may 
28not function properly. You need to add more slides (or make duplicates, or empty slides)");o()}else if(c){if(n.loopAddBlankSlides){d(n.grid.rows-t.slides.length%n.grid.rows),t.recalcSlides(),t.updateSlides()}else(0,s.u)("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");o()}else o();t.loopFix({slideRealIndex:e,direction:n.centeredSlides?void 0:"next"})},loopFix:function(e){let{slideRealIndex:t,slideTo:n=!0,direction:i,setTranslate:o,activeSlideIndex:r,byController:a,byMousewheel:l}=void 0===e?{}:e;const c=this;if(!c.params.loop)return;c.emit("beforeLoopFix");const{slides:d,allowSlidePrev:u,allowSlideNext:h,slidesEl:p,params:f}=c,{centeredSlides:m}=f;if(c.allowSlidePrev=!0,c.allowSlideNext=!0,c.virtual&&f.virtual.enabled)return n&&(f.centeredSlides||0!==c.snapIndex?f.centeredSlides&&c.snapIndex<f.slidesPerView?c.slideTo(c.virtual.slides.length+c.snapIndex,0,!1,!0):c.snapIndex===c.snapGrid.length-1&&
vendor: 8,917 bytes, line 28
28c.slideTo(c.virtual.slidesBefore,0,!1,!0):c.slideTo(c.virtual.slides.length,0,!1,!0)),c.allowSlidePrev=u,c.allowSlideNext=h,void c.emit("loopFix");let g=f.slidesPerView;"auto"===g?g=c.slidesPerViewDynamic():(g=Math.ceil(parseFloat(f.slidesPerView,10)),m&&g%2==0&&(g+=1));const v=f.slidesPerGroupAuto?g:f.slidesPerGroup;let b=v;b%v!=0&&(b+=v-b%v),b+=f.loopAdditionalSlides,c.loopedSlides=b;const y=c.grid&&f.grid&&f.grid.rows>1;d.length<g+b?(0,s.u)("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):y&&"row"===f.grid.fill&&(0,s.u)("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const w=[],x=[];let E=c.activeIndex;void 0===r?r=c.getSlideIndex(d.find((e=>e.classList.contains(f.slideActiveClass)))):E=r;const S="next"===i||!i,T="prev"===i||!i;let C=0,P=0;const M=y?Math.ceil(d.length/f.grid.rows):d.length,O=(y?d[r].column:r)+(m&&void 0===o?-g/2+.5:0);if(O<b){C=Math.max(b-O,v);for(let e=0;e<b-O;e+=1){const t=e-Math.floor(e/M)*M;if(y){const e=M-t-1;for(let t=d.length-1;t>=0;t-=1)d[t].column===e&&w.push(t)}else w.push(M-t-1)}}else if(O+g>M-b){P=Math.max(O-(M-2*b),v);for(let e=0;e<P;e+=1){const t=e-Math.floor(e/M)*M;y?d.forEach(((e,n)=>{e.column===t&&x.push(n)})):x.push(t)}}if(c.__preventObserver__=!0,requestAnimationFrame((()=>{c.__preventObserver__=!1})),T&&w.forEach((e=>{d[e].swiperLoopMoveDOM=!0,p.prepend(d[e]),d[e].swiperLoopMoveDOM=!1})),S&&x.forEach((e=>{d[e].swiperLoopMoveDOM=!0,p.append(d[e]),d[e].swiperLoopMoveDOM=!1})),c.recalcSlides(),"auto"===f.slidesPerView?c.updateSlides():y&&(w.length>0&&T||x.length>0&&S)&&c.slides.forEach(((e,t)=>{c.grid.updateSlide(t,e,c.slides)})),f.watchSlidesProgress&&c.updateSlidesOffset(),n)if(w.length>0&&T){if(void 0===t){const e=c.slidesGrid[E],t=c.slidesGrid[E+C]-e;l?c.setTranslate(c.translate-t):(c.slideTo(E+Math.ceil(C),0,!1,!0),o&&(c.touchEventsData.startTranslate=c.touchEventsData.startTranslate-t,c.touchEventsData.currentTranslate=c.touchEventsData.currentTranslate-t))}else if(o){const e=y?w.length/f.grid.rows:w.length;c.slideTo(c.activeIndex+e,0,!1,!0),c.touchEventsData.currentTranslate=c.translate}}else if(x.length>0&&S)if(void 0===t){const e=c.slidesGrid[E],t=c.slidesGrid[E-P]-e;l?c.setTranslate(c.translate-t):(c.slideTo(E-P,0,!1,!0),o&&(c.touchEventsData.startTranslate=c.touchEventsData.startTranslate-t,c.touchEventsData.currentTranslate=c.touchEventsData.currentTranslate-t))}else{const e=y?x.length/f.grid.rows:x.length;c.slideTo(c.activeIndex-e,0,!1,!0)}if(c.allowSlidePrev=u,c.allowSlideNext=h,c.controller&&c.controller.control&&!a){const e={slideRealIndex:t,direction:i,setTranslate:o,activeSlideIndex:r,byController:!0};Array.isArray(c.controller.control)?c.controller.control.forEach((t=>{!t.destroyed&&t.params.loop&&t.loopFix({...e,slideTo:t.params.slidesPerView===f.slidesPerView&&n})})):c.controller.control instanceof c.constructor&&c.controller.control.params.loop&&c.controller.control.loopFix({...e,slideTo:c.controller.control.params.slidesPerView===f.slidesPerView&&n})}c.emit("loopFix")},loopDestroy:function(){const e=this,{params:t,slidesEl:n}=e;if(!t.loop||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const i=[];e.slides.forEach((e=>{const t=void 0===e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;i[t]=e})),e.slides.forEach((e=>{e.removeAttribute("data-swiper-slide-index")})),i.forEach((e=>{n.append(e)})),e.recalcSlides(),e.slideTo(e.realIndex,0)}};function E(e,t,n){const s=(0,i.a)(),{params:o}=e,r=o.edgeSwipeDetection,a=o.edgeSwipeThreshold;return!r||!(n<=a||n>=s.innerWidth-a)||"prevent"===r&&(t.preventDefault(),!0)}function S(e){const t=this,n=(0,i.g)();let o=e;o.originalEvent&&(o=o.originalEvent);const r=t.touchEventsData;if("pointerdown"===o.type){if(null!==r.pointerId&&r.pointerId!==o.pointerId)return;r.pointerId=o.pointerId}else"touchstart"===o.type&&1===o.targetTouches.length&&(r.touchId=o.targetTouches[0].identifier);if("touchstart"===o.type)return void E(t,o,o.targetTouches[0].pageX);const{params:a,touches:l,enabled:c}=t;if(!c)return;if(!a.simulateTouch&&"mouse"===o.pointerType)return;if(t.animating&&a.preventInteractionOnTransition)return;!t.animating&&a.cssMode&&a.loop&&t.loopFix();let d=o.target;if("wrapper"===a.touchEventsTarget&&!(0,s.v)(d,t.wrapperEl))return;if("which"in o&&3===o.which)return;if("button"in o&&o.button>0)return;if(r.isTouched&&r.isMoved)return;const u=!!a.noSwipingClass&&""!==a.noSwipingClass,h=o.composedPath?o.composedPath():o.path;u&&o.target&&o.target.shadowRoot&&h&&(d=h[0]);const p=a.noSwipingSelector?a.noSwipingSelector:`.${a.noSwipingClass}`,f=!(!o.target||!o.target.shadowRoot);if(a.noSwiping&&(f?function(e,t){return void 0===t&&(t=this),function t(n){if(!n||n===(0,i.g)()||n===(0,i.a)())return null;n.assignedSlot&&(n=n.assignedSlot);const s=n.closest(e);return s||n.getRootNode?s||t(n.getRootNode().host):null}(t)}(p,d):d.closest(p)))return void(t.allowClick=!0);if(a.swipeHandler&&!d.closest(a.swipeHandler))return;l.currentX=o.pageX,l.currentY=o.pageY;const m=l.currentX,g=l.currentY;if(!E(t,o,m))return;Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),l.startX=m,l.startY=g,r.touchStartTime=(0,s.d)(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,a.threshold>0&&(r.allowThresholdMove=!1);let v=!0;d.matches(r.focusableElements)&&(v=!1,"SELECT"===d.nodeName&&(r.isTouched=!1)),n.activeElement&&n.activeElement.matches(r.focusableElements)&&n.activeElement!==d&&("mouse"===o.pointerType||"mouse"!==o.pointerType&&!d.matches(r.focusableElements))&&n.activeElement.blur();const b=v&&t.allowTouchMove&&a.touchStartPreventDefault;!a.touchStartForcePreventDefault&&!b||d.isContentEditable||o.preventDefault(),a.freeMode&&a.freeMode.enabled&&t.freeMode&&t.animating&&!a.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",o)}function T(e){const t=(0,i.g)(),n=this,o=n.touchEventsData,{params:r,touches:a,rtlTranslate:l,enabled:c}=n;if(!c)return;if(!r.simulateTouch&&"mouse"===e.pointerType)return;let d,u=e;if(u.originalEvent&&(u=u.originalEvent),"pointermove"===u.type){if(null!==o.touchId)return;if(u.pointerId!==o.pointerId)return}if("touchmove"===u.type){if(d=[...u.changedTouches].find((e=>e.identifier===o.touchId)),!d||d.identifier!==o.touchId)return}else d=u;if(!o.isTouched)return void(o.startMoving&&o.isScrolling&&n.emit("touchMoveOpposite",u));const h=d.pageX,p=d.pageY;if(u.preventedByNestedSwiper)return a.startX=h,void(a.startY=p);if(!n.allowTouchMove)return u.target.matches(o.focusableElements)||(n.allowClick=!1),void(o.isTouched&&(Object.assign(a,{startX:h,startY:p,currentX:h,currentY:p}),o.touchStartTime=(0,s.d)()));if(r.touchReleaseOnEdges&&!r.loop)if(n.isVertical()){if(p<a.startY&&n.translate<=n.maxTranslate()||p>a.startY&&n.translate>=n.minTranslate())return o.isTouched=!1,void(o.isMoved=!1)}else if(h<a.startX&&n.translate<=n.maxTranslate()||h>a.startX&&n.translate>=n.minTranslate())return;if(t.activeElement&&t.activeElement.matches(o.focusableElements)&&t.activeElement!==u.target&&"mouse"!==u.pointerType&&t.activeElement.blur(),t.activeElement&&u.target===t.activeElement&&u.target.matches(o.focusableElements))return o.isMoved=!0,void(n.allowClick=!1);o.allowTouchCallbacks&&n.emit("touchMove",u),a.previousX=a.currentX,a.previousY=a.currentY,a.currentX=h,a.currentY=p;const f=a.currentX-a.startX,m=a.currentY-a.startY;if(n.params.threshold&&Math.sqrt(f**2+m**2)<n.params.threshold)return;if(void 0===o.isScrolling){let e;n.isHorizontal()&&a.currentY===a.startY||n.isVertical()&&a.currentX===a.startX?o.isScrolling=!1:f*f+m*m>=25&&(e=180*Math.atan2(Math.abs(m),Math.abs(f))/Math.PI,o.isScrolling=n.isHorizontal()?e>r.touchAngle:90-e>r.touchAngle)}if(o.isScrolling&&n.emit("touchMoveOpposite",u),void 0===o.startMoving&&(a.currentX===a.startX&&a.currentY===a.startY||(o.startMoving=!0)),o.isScrolling||"touchmove"===u.type&&o.preventTouchMoveFromPointerMove)return void(o.isTouched=!1);if(!o.startMoving)return;n.allowClick=!1,!r.cssMode&&u.cancelable&&u.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&u.stopPropagation();let g=n.isHorizontal()?f:m,v=n.isHorizontal()?a.currentX-a.previousX:a.currentY-a.previousY;r.oneWayMovement&&(g=Math.abs(g)*(l?1:-1),v=Math.abs(v)*(l?1:-1)),a.diff=g,g*=r.touchRatio,l&&(g=-g,v=-v);const b=n.touchesDirection;n.swipeDirection=g>0?"prev":"next",n.touchesDirection=v>0?"prev":"next";const y=n.params.loop&&!r.cssMode,w="next"===n.touchesDirection&&n.allowSlideNext||"prev"===n.touchesDirection&&n.allowSlidePrev;if(!o.isMoved){if(y&&w&&n.loopFix({direction:n.swipeDirection}),o.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});
vendor: 2,139 bytes, line 28
28n.wrapperEl.dispatchEvent(e)}o.allowMomentumBounce=!1,!r.grabCursor||!0!==n.allowSlideNext&&!0!==n.allowSlidePrev||n.setGrabCursor(!0),n.emit("sliderFirstMove",u)}if((new Date).getTime(),o.isMoved&&o.allowThresholdMove&&b!==n.touchesDirection&&y&&w&&Math.abs(g)>=1)return Object.assign(a,{startX:h,startY:p,currentX:h,currentY:p,startTranslate:o.currentTranslate}),o.loopSwapReset=!0,void(o.startTranslate=o.currentTranslate);n.emit("sliderMove",u),o.isMoved=!0,o.currentTranslate=g+o.startTranslate;let x=!0,E=r.resistanceRatio;if(r.touchReleaseOnEdges&&(E=0),g>0?(y&&w&&o.allowThresholdMove&&o.currentTranslate>(r.centeredSlides?n.minTranslate()-n.slidesSizesGrid[n.activeIndex+1]-("auto"!==r.slidesPerView&&n.slides.length-r.slidesPerView>=2?n.slidesSizesGrid[n.activeIndex+1]+n.params.spaceBetween:0)-n.params.spaceBetween:n.minTranslate())&&n.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),o.currentTranslate>n.minTranslate()&&(x=!1,r.resistance&&(o.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+o.startTranslate+g)**E))):g<0&&(y&&w&&o.allowThresholdMove&&o.currentTranslate<(r.centeredSlides?n.maxTranslate()+n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween+("auto"!==r.slidesPerView&&n.slides.length-r.slidesPerView>=2?n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween:0):n.maxTranslate())&&n.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:n.slides.length-("auto"===r.slidesPerView?n.slidesPerViewDynamic():Math.ceil(parseFloat(r.slidesPerView,10)))}),o.currentTranslate<n.maxTranslate()&&(x=!1,r.resistance&&(o.currentTranslate=n.maxTranslate()+1-(n.maxTranslate()-o.startTranslate-g)**E))),x&&(u.preventedByNestedSwiper=!0),!n.allowSlideNext&&"next"===n.swipeDirection&&o.currentTranslate<o.startTranslate&&(o.currentTranslate=o.startTranslate),!n.allowSlidePrev&&"prev"===n.swipeDirection&&o.currentTranslate>o.startTranslate&&(o.currentTranslate=o.startTranslate),n.allowSlidePrev||n.allowSlideNext||(o.currentTranslate=o.startTranslate),r.threshold>0){if(!(Math.abs(g)>r.threshold||o.allowThresholdMove))return void(o.currentTranslate=o.startTranslate);
vendor: 24,444 bytes, line 28
28if(!o.allowThresholdMove)return o.allowThresholdMove=!0,a.startX=a.currentX,a.startY=a.currentY,o.currentTranslate=o.startTranslate,void(a.diff=n.isHorizontal()?a.currentX-a.startX:a.currentY-a.startY)}r.followFinger&&!r.cssMode&&((r.freeMode&&r.freeMode.enabled&&n.freeMode||r.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),r.freeMode&&r.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(o.currentTranslate),n.setTranslate(o.currentTranslate))}function C(e){const t=this,n=t.touchEventsData;let i,o=e;o.originalEvent&&(o=o.originalEvent);if("touchend"===o.type||"touchcancel"===o.type){if(i=[...o.changedTouches].find((e=>e.identifier===n.touchId)),!i||i.identifier!==n.touchId)return}else{if(null!==n.touchId)return;if(o.pointerId!==n.pointerId)return;i=o}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(o.type)){if(!(["pointercancel","contextmenu"].includes(o.type)&&(t.browser.isSafari||t.browser.isWebView)))return}n.pointerId=null,n.touchId=null;const{params:r,touches:a,rtlTranslate:l,slidesGrid:c,enabled:d}=t;if(!d)return;if(!r.simulateTouch&&"mouse"===o.pointerType)return;if(n.allowTouchCallbacks&&t.emit("touchEnd",o),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&r.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);r.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const u=(0,s.d)(),h=u-n.touchStartTime;if(t.allowClick){const e=o.path||o.composedPath&&o.composedPath();t.updateClickedSlide(e&&e[0]||o.target,e),t.emit("tap click",o),h<300&&u-n.lastClickTime<300&&t.emit("doubleTap doubleClick",o)}if(n.lastClickTime=(0,s.d)(),(0,s.n)((()=>{t.destroyed||(t.allowClick=!0)})),!n.isTouched||!n.isMoved||!t.swipeDirection||0===a.diff&&!n.loopSwapReset||n.currentTranslate===n.startTranslate&&!n.loopSwapReset)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);let p;if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,p=r.followFinger?l?t.translate:-t.translate:-n.currentTranslate,r.cssMode)return;if(r.freeMode&&r.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:p});const f=p>=-t.maxTranslate()&&!t.params.loop;let m=0,g=t.slidesSizesGrid[0];for(let e=0;e<c.length;e+=e<r.slidesPerGroupSkip?1:r.slidesPerGroup){const t=e<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;void 0!==c[e+t]?(f||p>=c[e]&&p<c[e+t])&&(m=e,g=c[e+t]-c[e]):(f||p>=c[e])&&(m=e,g=c[c.length-1]-c[c.length-2])}let v=null,b=null;r.rewind&&(t.isBeginning?b=r.virtual&&r.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(v=0));const y=(p-c[m])/g,w=m<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;if(h>r.longSwipesMs){if(!r.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(y>=r.longSwipesRatio?t.slideTo(r.rewind&&t.isEnd?v:m+w):t.slideTo(m)),"prev"===t.swipeDirection&&(y>1-r.longSwipesRatio?t.slideTo(m+w):null!==b&&y<0&&Math.abs(y)>r.longSwipesRatio?t.slideTo(b):t.slideTo(m))}else{if(!r.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(o.target===t.navigation.nextEl||o.target===t.navigation.prevEl)?o.target===t.navigation.nextEl?t.slideTo(m+w):t.slideTo(m):("next"===t.swipeDirection&&t.slideTo(null!==v?v:m+w),"prev"===t.swipeDirection&&t.slideTo(null!==b?b:m))}}function P(){const e=this,{params:t,el:n}=e;if(n&&0===n.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:i,allowSlidePrev:s,snapGrid:o}=e,r=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const a=r&&t.loop;!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||a?e.params.loop&&!r?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout((()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()}),500)),e.allowSlidePrev=s,e.allowSlideNext=i,e.params.watchOverflow&&o!==e.snapGrid&&e.checkOverflow()}function M(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function O(){const e=this,{wrapperEl:t,rtlTranslate:n,enabled:i}=e;if(!i)return;let s;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const o=e.maxTranslate()-e.minTranslate();s=0===o?0:(e.translate-e.minTranslate())/o,s!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function A(e){const t=this;f(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update()}function _(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const k=(e,t)=>{const n=(0,i.g)(),{params:s,el:o,wrapperEl:r,device:a}=e,l=!!s.nested,c="on"===t?"addEventListener":"removeEventListener",d=t;o&&"string"!=typeof o&&(n[c]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:l}),o[c]("touchstart",e.onTouchStart,{passive:!1}),o[c]("pointerdown",e.onTouchStart,{passive:!1}),n[c]("touchmove",e.onTouchMove,{passive:!1,capture:l}),n[c]("pointermove",e.onTouchMove,{passive:!1,capture:l}),n[c]("touchend",e.onTouchEnd,{passive:!0}),n[c]("pointerup",e.onTouchEnd,{passive:!0}),n[c]("pointercancel",e.onTouchEnd,{passive:!0}),n[c]("touchcancel",e.onTouchEnd,{passive:!0}),n[c]("pointerout",e.onTouchEnd,{passive:!0}),n[c]("pointerleave",e.onTouchEnd,{passive:!0}),n[c]("contextmenu",e.onTouchEnd,{passive:!0}),(s.preventClicks||s.preventClicksPropagation)&&o[c]("click",e.onClick,!0),s.cssMode&&r[c]("scroll",e.onScroll),s.updateOnWindowResize?e[d](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",P,!0):e[d]("observerUpdate",P,!0),o[c]("load",e.onLoad,{capture:!0}))};const L=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var I={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function R(e,t){return function(n){void 0===n&&(n={});const i=Object.keys(n)[0],o=n[i];"object"==typeof o&&null!==o?(!0===e[i]&&(e[i]={enabled:!0}),"navigation"===i&&e[i]&&e[i].enabled&&!e[i].prevEl&&!e[i].nextEl&&(e[i].auto=!0),["pagination","scrollbar"].indexOf(i)>=0&&e[i]&&e[i].enabled&&!e[i].el&&(e[i].auto=!0),i in e&&"enabled"in o?("object"!=typeof e[i]||"enabled"in e[i]||(e[i].enabled=!0),e[i]||(e[i]={enabled:!1}),(0,s.w)(t,n)):(0,s.w)(t,n)):(0,s.w)(t,n)}}const D={eventsEmitter:u,update:v,translate:b,transition:{setTransition:function(e,t){const n=this;n.params.cssMode||(n.wrapperEl.style.transitionDuration=`${e}ms`,n.wrapperEl.style.transitionDelay=0===e?"0ms":""),n.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);const n=this,{params:i}=n;i.cssMode||(i.autoHeight&&n.updateAutoHeight(),y({swiper:n,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);const n=this,{params:i}=n;n.animating=!1,i.cssMode||(n.setTransition(0),y({swiper:n,runCallbacks:e,direction:t,step:"End"}))}},slide:w,loop:x,grabCursor:{setGrabCursor:function(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame((()=>{t.__preventObserver__=!1}))},unsetGrabCursor:function(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame((()=>{e.__preventObserver__=!1})))}},events:{attachEvents:function(){const e=this,{params:t}=e;e.onTouchStart=S.bind(e),e.onTouchMove=T.bind(e),e.onTouchEnd=C.bind(e),e.onDocumentTouchStart=_.bind(e),t.cssMode&&(e.onScroll=O.bind(e)),e.onClick=M.bind(e),e.onLoad=A.bind(e),k(e,"on")},detachEvents:function(){k(this,"off")}},breakpoints:{setBreakpoint:function(){const e=this,{realIndex:t,initialized:n,params:o,el:r}=e,a=o.breakpoints;if(!a||a&&0===Object.keys(a).length)return;const l=(0,i.g)(),c="window"!==o.breakpointsBase&&o.breakpointsBase?"container":o.breakpointsBase,d=["window","container"].includes(o.breakpointsBase)||!o.breakpointsBase?e.el:l.querySelector(o.breakpointsBase),u=e.getBreakpoint(a,c,d);if(!u||e.currentBreakpoint===u)return;const h=(u in a?a[u]:void 0)||e.originalParams,p=L(e,o),f=L(e,h),m=e.params.grabCursor,g=h.grabCursor,v=o.enabled;p&&!f?(r.classList.remove(`${o.containerModifierClass}grid`,`${o.containerModifierClass}grid-column`),e.emitContainerClasses()):!p&&f&&(r.classList.add(`${o.containerModifierClass}grid`),(h.grid.fill&&"column"===h.grid.fill||!h.grid.fill&&"column"===o.grid.fill)&&r.classList.add(`${o.containerModifierClass}grid-column`),e.emitContainerClasses()),m&&!g?e.unsetGrabCursor():!m&&g&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach((t=>{if(void 0===h[t])return;const n=o[t]&&o[t].enabled,i=h[t]&&h[t].enabled;n&&!i&&e[t].disable(),!n&&i&&e[t].enable()}));const b=h.direction&&h.direction!==o.direction,y=o.loop&&(h.slidesPerView!==o.slidesPerView||b),w=o.loop;b&&n&&e.changeDirection(),(0,s.w)(e.params,h);const x=e.params.enabled,E=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),v&&!x?e.disable():!v&&x&&e.enable(),e.currentBreakpoint=u,e.emit("_beforeBreakpoint",h),n&&(y?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!w&&E?(e.loopCreate(t),e.updateSlides()):w&&!E&&e.loopDestroy()),e.emit("breakpoint",h)},getBreakpoint:function(e,t,n){if(void 0===t&&(t="window"),!e||"container"===t&&!n)return;let s=!1;const o=(0,i.a)(),r="window"===t?o.innerHeight:n.clientHeight,a=Object.keys(e).map((e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:r*t,point:e}}return{value:e,point:e}}));a.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let e=0;e<a.length;e+=1){const{point:i,value:r}=a[e];"window"===t?o.matchMedia(`(min-width: ${r}px)`).matches&&(s=i):r<=n.clientWidth&&(s=i)}return s||"max"}},checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:i}=n;if(i){const t=e.slides.length-1,n=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*i;e.isLocked=e.size>n}else e.isLocked=1===e.snapGrid.length;!0===n.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===n.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:{addClasses:function(){const e=this,{classNames:t,params:n,rtl:i,el:s,device:o}=e,r=function(e,t){const n=[];return e.forEach((e=>{"object"==typeof e?Object.keys(e).forEach((i=>{e[i]&&n.push(t+i)})):"string"==typeof e&&n.push(t+e)})),n}(["initialized",n.direction,{"free-mode":e.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:i},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&"column"===n.grid.fill},{android:o.android},{ios:o.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);t.push(...r),s.classList.add(...t),e.emitContainerClasses()},removeClasses:function(){const{el:e,classNames:t}=this;e&&"string"!=typeof e&&(e.classList.remove(...t),this.emitContainerClasses())}}},F={};class z{constructor(){let e,t;for(var n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];1===o.length&&o[0].constructor&&"Object"===Object.prototype.toString.call(o[0]).slice(8,-1)?t=o[0]:[e,t]=o,t||(t={}),t=(0,s.w)({},t),e&&!t.el&&(t.el=e);const a=(0,i.g)();if(t.el&&"string"==typeof t.el&&a.querySelectorAll(t.el).length>1){const e=[];return a.querySelectorAll(t.el).forEach((n=>{const i=(0,s.w)({},t,{el:n});e.push(new z(i))})),e}const u=this;u.__swiper__=!0,u.support=l(),u.device=c({userAgent:t.userAgent}),u.browser=d(),u.eventsListeners={},u.eventsAnyListeners=[],u.modules=[...u.__modules__],t.modules&&Array.isArray(t.modules)&&u.modules.push(...t.modules);const h={};u.modules.forEach((e=>{e({params:t,swiper:u,extendParams:R(t,h),on:u.on.bind(u),once:u.once.bind(u),off:u.off.bind(u),emit:u.emit.bind(u)})}));const p=(0,s.w)({},I,h);return u.params=(0,s.w)({},p,F,t),u.originalParams=(0,s.w)({},u.params),u.passedParams=(0,s.w)({},t),u.params&&u.params.on&&Object.keys(u.params.on).forEach((e=>{u.on(e,u.params.on[e])})),u.params&&u.params.onAny&&u.onAny(u.params.onAny),Object.assign(u,{enabled:u.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return"horizontal"===u.params.direction},isVertical(){return"vertical"===u.params.direction},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:u.params.allowSlideNext,allowSlidePrev:u.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:u.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:u.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),u.emit("_swiper"),u.params.init&&u.init(),u}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:t,params:n}=this,i=(0,s.e)(t,`.${n.slideClass}, swiper-slide`),o=(0,s.h)(i[0]);return(0,s.h)(e)-o}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find((t=>1*t.getAttribute("data-swiper-slide-index")===e)))}recalcSlides(){const{slidesEl:e,params:t}=this;this.slides=(0,s.e)(e,`.${t.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const n=this;e=Math.min(Math.max(e,0),1);const i=n.minTranslate(),s=(n.maxTranslate()-i)*e+i;n.translateTo(s,void 0===t?0:t),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach((n=>{const i=e.getSlideClasses(n);t.push({slideEl:n,classNames:i}),e.emit("_slideClass",n,i)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);const{params:n,slides:i,slidesGrid:s,slidesSizesGrid:o,size:r,activeIndex:a}=this;let l=1;if("number"==typeof n.slidesPerView)return n.slidesPerView;if(n.centeredSlides){let e,t=i[a]?Math.ceil(i[a].swiperSlideSize):0;for(let n=a+1;n<i.length;n+=1)i[n]&&!e&&(t+=Math.ceil(i[n].swiperSlideSize),l+=1,t>r&&(e=!0));for(let n=a-1;n>=0;n-=1)i[n]&&!e&&(t+=i[n].swiperSlideSize,l+=1,t>r&&(e=!0))}else if("current"===e)for(let e=a+1;e<i.length;e+=1){(t?s[e]+o[e]-s[a]<r:s[e]-s[a]<r)&&(l+=1)}else for(let e=a-1;e>=0;e-=1){s[a]-s[e]<r&&(l+=1)}return l}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:n}=e;function i(){const t=e.rtlTranslate?-1*e.translate:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}let s;if(n.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach((t=>{t.complete&&f(e,t)})),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),n.freeMode&&n.freeMode.enabled&&!n.cssMode)i(),n.autoHeight&&e.updateAutoHeight();else{if(("auto"===n.slidesPerView||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const t=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;s=e.slideTo(t.length-1,0,!1,!0)}else s=e.slideTo(e.activeIndex,0,!1,!0);s||i()}n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);const n=this,i=n.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e||(n.el.classList.remove(`${n.params.containerModifierClass}${i}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEach((t=>{"vertical"===e?t.style.width="":t.style.height=""})),n.emit("changeDirection"),t&&n.update()),n}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;let n=e||t.params.el;if("string"==typeof n&&(n=document.querySelector(n)),!n)return!1;n.swiper=t,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const i=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let o=(()=>{if(n&&n.shadowRoot&&n.shadowRoot.querySelector){return n.shadowRoot.querySelector(i())}return(0,s.e)(n,i())[0]})();return!o&&t.params.createElements&&(o=(0,s.c)("div",t.params.wrapperClass),n.append(o),(0,s.e)(n,`.${t.params.slideClass}`).forEach((e=>{o.append(e)}))),Object.assign(t,{el:n,wrapperEl:o,slidesEl:t.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:o,hostEl:t.isElement?n.parentNode.host:n,mounted:!0,rtl:"rtl"===n.dir.toLowerCase()||"rtl"===(0,s.p)(n,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===n.dir.toLowerCase()||"rtl"===(0,s.p)(n,"direction")),wrongRTL:"-webkit-box"===(0,s.p)(o,"display")}),!0}init(e){const t=this;if(t.initialized)return t;if(!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents();const n=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&n.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),n.forEach((e=>{e.complete?f(t,e):e.addEventListener("load",(e=>{f(t,e.target)}))})),g(t),t.initialized=!0,g(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const n=this,{params:i,el:o,wrapperEl:r,slides:a}=n;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),i.loop&&n.loopDestroy(),t&&(n.removeClasses(),o&&"string"!=typeof o&&o.removeAttribute("style"),r&&r.removeAttribute("style"),a&&a.length&&a.forEach((e=>{e.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")}))),n.emit("destroy"),Object.keys(n.eventsListeners).forEach((e=>{n.off(e)})),!1!==e&&(n.el&&"string"!=typeof n.el&&(n.el.swiper=null),(0,s.x)(n)),n.destroyed=!0),null}static extendDefaults(e){(0,s.w)(F,e)}static get extendedDefaults(){return F}static get defaults(){return I}static installModule(e){z.prototype.__modules__||(z.prototype.__modules__=[]);const t=z.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>z.installModule(e))),z):(z.installModule(e),z)}}Object.keys(D).forEach((e=>{Object.keys(D[e]).forEach((t=>{z.prototype[t]=D[e][t]}))})),z.use([function(e){let{swiper:t,on:n,emit:s}=e;const o=(0,i.a)();let r=null,a=null;const l=()=>{t&&!t.destroyed&&t.initialized&&(s("beforeResize"),s("resize"))},c=()=>{t&&!t.destroyed&&t.initialized&&s("orientationchange")};n("init",(()=>{t.params.resizeObserver&&void 0!==o.ResizeObserver?t&&!t.destroyed&&t.initialized&&(r=new ResizeObserver((e=>{a=o.requestAnimationFrame((()=>{const{width:n,height:i}=t;let s=n,o=i;e.forEach((e=>{let{contentBoxSize:n,contentRect:i,target:r}=e;r&&r!==t.el||(s=i?i.width:(n[0]||n).inlineSize,o=i?i.height:(n[0]||n).blockSize)})),s===n&&o===i||l()}))})),r.observe(t.el)):(o.addEventListener("resize",l),o.addEventListener("orientationchange",c))})),n("destroy",(()=>{a&&o.cancelAnimationFrame(a),r&&r.unobserve&&t.el&&(r.unobserve(t.el),r=null),o.removeEventListener("resize",l),o.removeEventListener("orientationchange",c)}))},function(e){let{swiper:t,extendParams:n,on:o,emit:r}=e;const a=[],l=(0,i.a)(),c=function(e,n){void 0===n&&(n={});const i=new(l.MutationObserver||l.WebkitMutationObserver)((e=>{if(t.__preventObserver__)return;if(1===e.length)return void r("observerUpdate",e[0]);const n=function(){r("observerUpdate",e[0])};l.requestAnimationFrame?l.requestAnimationFrame(n):l.setTimeout(n,0)}));i.observe(e,{attributes:void 0===n.attributes||n.attributes,childList:t.isElement||(void 0===n.childList||n).childList,characterData:void 0===n.characterData||n.characterData}),a.push(i)};n({observer:!1,observeParents:!1,observeSlideChildren:!1}),o("init",(()=>{if(t.params.observer){if(t.params.observeParents){const e=(0,s.a)(t.hostEl);for(let t=0;t<e.length;t+=1)c(e[t])}c(t.hostEl,{childList:t.params.observeSlideChildren}),c(t.wrapperEl,{attributes:!1})}})),o("destroy",(()=>{a.forEach((e=>{e.disconnect()})),a.splice(0,a.length)}))}])},6152:function(e,t,n){"use strict";n.d(t,{LER:function(){return i},Sg5:function(){return s}
28,hZp:function(){return o}});var i=!1,s=!0;function o(e,t,n){return Array.isArray(e)?(e.length=Math.max(e.length,t),e.splice(t,1,n),n):(e[t]=n,n)}}}]);

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.