From 0787b3aac1aff901caede611d4bd2bb4741cf685 Mon Sep 17 00:00:00 2001 From: Hudson de Oliveira Ginelli Date: Wed, 3 Jan 2024 15:14:33 -0300 Subject: [PATCH] Updates --- .../{index-woc9-_01.js => index-s0DvaqJa.js} | 60 +++++++++---------- index.html | 2 +- 2 files changed, 31 insertions(+), 31 deletions(-) rename assets/{index-woc9-_01.js => index-s0DvaqJa.js} (64%) diff --git a/assets/index-woc9-_01.js b/assets/index-s0DvaqJa.js similarity index 64% rename from assets/index-woc9-_01.js rename to assets/index-s0DvaqJa.js index 1a3afd8..016b884 100644 --- a/assets/index-woc9-_01.js +++ b/assets/index-s0DvaqJa.js @@ -67,7 +67,7 @@ Error generating stack: `+s.message+` */function Ys(){return Ys=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function M0(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function R0(e,t){return e.button===0&&(!t||t==="_self")&&!M0(e)}const A0=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],z0=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],$0=E.createContext({isTransitioning:!1}),D0="startTransition",yd=Ol[D0];function F0(e){let{basename:t,children:n,future:r,window:i}=e,s=E.useRef();s.current==null&&(s.current=Gv({window:i,v5Compat:!0}));let o=s.current,[l,a]=E.useState({action:o.action,location:o.location}),{v7_startTransition:u}=r||{},c=E.useCallback(d=>{u&&yd?yd(()=>a(d)):a(d)},[a,u]);return E.useLayoutEffect(()=>o.listen(c),[o,c]),E.createElement(j0,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:o,future:r})}const B0=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",U0=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,H0=E.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:s,replace:o,state:l,target:a,to:u,preventScrollReset:c,unstable_viewTransition:d}=t,m=xm(t,A0),{basename:v}=E.useContext(Tn),y,g=!1;if(typeof u=="string"&&U0.test(u)&&(y=u,B0))try{let p=new URL(window.location.href),w=u.startsWith("//")?new URL(p.protocol+u):new URL(u),T=wi(w.pathname,v);w.origin===p.origin&&T!=null?u=T+w.search+w.hash:g=!0}catch{}let S=v0(u,{relative:i}),h=W0(u,{replace:o,state:l,target:a,preventScrollReset:c,relative:i,unstable_viewTransition:d});function f(p){r&&r(p),p.defaultPrevented||h(p)}return E.createElement("a",Ys({},m,{href:y||S,onClick:g||s?r:f,ref:n,target:a}))}),Ks=E.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:i=!1,className:s="",end:o=!1,style:l,to:a,unstable_viewTransition:u,children:c}=t,d=xm(t,z0),m=ko(a,{relative:d.relative}),v=kr(),y=E.useContext(mm),{navigator:g}=E.useContext(Tn),S=y!=null&&G0(m)&&u===!0,h=g.encodeLocation?g.encodeLocation(m).pathname:m.pathname,f=v.pathname,p=y&&y.navigation&&y.navigation.location?y.navigation.location.pathname:null;i||(f=f.toLowerCase(),p=p?p.toLowerCase():null,h=h.toLowerCase());const w=h!=="/"&&h.endsWith("/")?h.length-1:h.length;let T=f===h||!o&&f.startsWith(h)&&f.charAt(w)==="/",C=p!=null&&(p===h||!o&&p.startsWith(h)&&p.charAt(h.length)==="/"),O={isActive:T,isPending:C,isTransitioning:S},_=T?r:void 0,P;typeof s=="function"?P=s(O):P=[s,T?"active":null,C?"pending":null,S?"transitioning":null].filter(Boolean).join(" ");let b=typeof l=="function"?l(O):l;return E.createElement(H0,Ys({},d,{"aria-current":_,className:P,ref:n,style:b,to:a,unstable_viewTransition:u}),typeof c=="function"?c(O):c)});var La;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(La||(La={}));var wd;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(wd||(wd={}));function V0(e){let t=E.useContext(To);return t||ce(!1),t}function W0(e,t){let{target:n,replace:r,state:i,preventScrollReset:s,relative:o,unstable_viewTransition:l}=t===void 0?{}:t,a=vm(),u=kr(),c=ko(e,{relative:o});return E.useCallback(d=>{if(R0(d,n)){d.preventDefault();let m=r!==void 0?r:qs(u)===qs(c);a(e,{replace:m,state:i,preventScrollReset:s,relative:o,unstable_viewTransition:l})}},[u,a,c,r,i,n,e,s,o,l])}function G0(e,t){t===void 0&&(t={});let n=E.useContext($0);n==null&&ce(!1);let{basename:r}=V0(La.useViewTransitionState),i=ko(e,{relative:t.relative});if(!n.isTransitioning)return!1;let s=wi(n.currentLocation.pathname,r)||n.currentLocation.pathname,o=wi(n.nextLocation.pathname,r)||n.nextLocation.pathname;return ba(i.pathname,o)!=null||ba(i.pathname,s)!=null}const et={index:"/",auth:{index:"/login"},error:{index:"/nao-encontrado"}},q0="_container_1us0f_1",X0={container:q0},Y0=()=>x.jsx("section",{className:X0.container,children:x.jsx("h1",{children:"Error 404: Não encontrado"})});var K0=Object.defineProperty,Q0=(e,t,n)=>t in e?K0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,dl=(e,t,n)=>(Q0(e,typeof t!="symbol"?t+"":t,n),n);let J0=class{constructor(){dl(this,"current",this.detect()),dl(this,"handoffState","pending"),dl(this,"currentId",0)}set(t){this.current!==t&&(this.handoffState="pending",this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},jn=new J0,st=(e,t)=>{jn.isServer?E.useEffect(e,t):E.useLayoutEffect(e,t)};function gn(e){let t=E.useRef(e);return st(()=>{t.current=e},[e]),t}function Z0(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function Bt(){let e=[],t={addEventListener(n,r,i,s){return n.addEventListener(r,i,s),t.add(()=>n.removeEventListener(r,i,s))},requestAnimationFrame(...n){let r=requestAnimationFrame(...n);return t.add(()=>cancelAnimationFrame(r))},nextFrame(...n){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...n))},setTimeout(...n){let r=setTimeout(...n);return t.add(()=>clearTimeout(r))},microTask(...n){let r={current:!0};return Z0(()=>{r.current&&n[0]()}),t.add(()=>{r.current=!1})},style(n,r,i){let s=n.style.getPropertyValue(r);return Object.assign(n.style,{[r]:i}),this.add(()=>{Object.assign(n.style,{[r]:s})})},group(n){let r=Bt();return n(r),this.add(()=>r.dispose())},add(n){return e.push(n),()=>{let r=e.indexOf(n);if(r>=0)for(let i of e.splice(r,1))i()}},dispose(){for(let n of e.splice(0))n()}};return t}function bo(){let[e]=E.useState(Bt);return E.useEffect(()=>()=>e.dispose(),[e]),e}let ue=function(e){let t=gn(e);return F.useCallback((...n)=>t.current(...n),[t])};function ey(){let e=typeof document>"u";return"useSyncExternalStore"in Ol?(t=>t.useSyncExternalStore)(Ol)(()=>()=>{},()=>!1,()=>!e):!1}function Bu(){let e=ey(),[t,n]=E.useState(jn.isHandoffComplete);return t&&jn.isHandoffComplete===!1&&n(!1),E.useEffect(()=>{t!==!0&&n(!0)},[t]),E.useEffect(()=>jn.handoff(),[]),e?!1:t}var xd;let Uu=(xd=F.useId)!=null?xd:function(){let e=Bu(),[t,n]=F.useState(e?()=>jn.nextId():null);return st(()=>{t===null&&n(jn.nextId())},[t]),t!=null?""+t:void 0};function Xe(e,t,...n){if(e in t){let i=t[e];return typeof i=="function"?i(...n):i}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(i=>`"${i}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Xe),r}function Po(e){return jn.isServer?null:e instanceof Node?e.ownerDocument:e!=null&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let Na=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var Oa=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(Oa||{}),ty=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(ty||{}),ny=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(ny||{});function Sm(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Na)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var Hu=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Hu||{});function Vu(e,t=0){var n;return e===((n=Po(e))==null?void 0:n.body)?!1:Xe(t,{0(){return e.matches(Na)},1(){let r=e;for(;r!==null;){if(r.matches(Na))return!0;r=r.parentElement}return!1}})}function Em(e){let t=Po(e);Bt().nextFrame(()=>{t&&!Vu(t.activeElement,0)&&iy(e)})}var ry=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(ry||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function iy(e){e==null||e.focus({preventScroll:!0})}let sy=["textarea","input"].join(",");function oy(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,sy))!=null?n:!1}function Tm(e,t=n=>n){return e.slice().sort((n,r)=>{let i=t(n),s=t(r);if(i===null||s===null)return 0;let o=i.compareDocumentPosition(s);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function ly(e,t){return ay(Sm(),t,{relativeTo:e})}function ay(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:i=[]}={}){let s=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,o=Array.isArray(e)?n?Tm(e):e:Sm(e);i.length>0&&o.length>1&&(o=o.filter(v=>!i.includes(v))),r=r??s.activeElement;let l=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),a=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,o.indexOf(r))-1;if(t&4)return Math.max(0,o.indexOf(r))+1;if(t&8)return o.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=t&32?{preventScroll:!0}:{},c=0,d=o.length,m;do{if(c>=d||c+d<=0)return 0;let v=a+c;if(t&16)v=(v+d)%d;else{if(v<0)return 3;if(v>=d)return 1}m=o[v],m==null||m.focus(u),c+=l}while(m!==s.activeElement);return t&6&&oy(m)&&m.select(),2}function Yi(e,t,n){let r=gn(t);E.useEffect(()=>{function i(s){r.current(s)}return document.addEventListener(e,i,n),()=>document.removeEventListener(e,i,n)},[e,n])}function uy(e,t,n){let r=gn(t);E.useEffect(()=>{function i(s){r.current(s)}return window.addEventListener(e,i,n),()=>window.removeEventListener(e,i,n)},[e,n])}function cy(e,t,n=!0){let r=E.useRef(!1);E.useEffect(()=>{requestAnimationFrame(()=>{r.current=n})},[n]);function i(o,l){if(!r.current||o.defaultPrevented)return;let a=l(o);if(a===null||!a.getRootNode().contains(a)||!a.isConnected)return;let u=function c(d){return typeof d=="function"?c(d()):Array.isArray(d)||d instanceof Set?d:[d]}(e);for(let c of u){if(c===null)continue;let d=c instanceof HTMLElement?c:c.current;if(d!=null&&d.contains(a)||o.composed&&o.composedPath().includes(d))return}return!Vu(a,Hu.Loose)&&a.tabIndex!==-1&&o.preventDefault(),t(o,a)}let s=E.useRef(null);Yi("pointerdown",o=>{var l,a;r.current&&(s.current=((a=(l=o.composedPath)==null?void 0:l.call(o))==null?void 0:a[0])||o.target)},!0),Yi("mousedown",o=>{var l,a;r.current&&(s.current=((a=(l=o.composedPath)==null?void 0:l.call(o))==null?void 0:a[0])||o.target)},!0),Yi("click",o=>{s.current&&(i(o,()=>s.current),s.current=null)},!0),Yi("touchend",o=>i(o,()=>o.target instanceof HTMLElement?o.target:null),!0),uy("blur",o=>i(o,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function Sd(e){var t;if(e.type)return e.type;let n=(t=e.as)!=null?t:"button";if(typeof n=="string"&&n.toLowerCase()==="button")return"button"}function dy(e,t){let[n,r]=E.useState(()=>Sd(e));return st(()=>{r(Sd(e))},[e.type,e.as]),st(()=>{n||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&r("button")},[n,t]),n}let fy=Symbol();function br(...e){let t=E.useRef(e);E.useEffect(()=>{t.current=e},[e]);let n=ue(r=>{for(let i of t.current)i!=null&&(typeof i=="function"?i(r):i.current=r)});return e.every(r=>r==null||(r==null?void 0:r[fy]))?void 0:n}function py({container:e,accept:t,walk:n,enabled:r=!0}){let i=E.useRef(t),s=E.useRef(n);E.useEffect(()=>{i.current=t,s.current=n},[t,n]),st(()=>{if(!e||!r)return;let o=Po(e);if(!o)return;let l=i.current,a=s.current,u=Object.assign(d=>l(d),{acceptNode:l}),c=o.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,u,!1);for(;c.nextNode();)a(c.currentNode)},[e,r,i,s])}function my(e){throw new Error("Unexpected object: "+e)}var pt=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(pt||{});function hy(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),i=r??-1,s=(()=>{switch(e.focus){case 0:return n.findIndex(o=>!t.resolveDisabled(o));case 1:{let o=n.slice().reverse().findIndex((l,a,u)=>i!==-1&&u.length-a-1>=i?!1:!t.resolveDisabled(l));return o===-1?o:n.length-1-o}case 2:return n.findIndex((o,l)=>l<=i?!1:!t.resolveDisabled(o));case 3:{let o=n.slice().reverse().findIndex(l=>!t.resolveDisabled(l));return o===-1?o:n.length-1-o}case 4:return n.findIndex(o=>t.resolveId(o)===e.id);case 5:return null;default:my(e)}})();return s===-1?r:s}function Qs(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}var Js=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Js||{}),sn=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(sn||{});function Pr({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:i,visible:s=!0,name:o}){let l=Cm(t,e);if(s)return Ki(l,n,r,o);let a=i??0;if(a&2){let{static:u=!1,...c}=l;if(u)return Ki(c,n,r,o)}if(a&1){let{unmount:u=!0,...c}=l;return Xe(u?0:1,{0(){return null},1(){return Ki({...c,hidden:!0,style:{display:"none"}},n,r,o)}})}return Ki(l,n,r,o)}function Ki(e,t={},n,r){let{as:i=n,children:s,refName:o="ref",...l}=fl(e,["unmount","static"]),a=e.ref!==void 0?{[o]:e.ref}:{},u=typeof s=="function"?s(t):s;"className"in l&&l.className&&typeof l.className=="function"&&(l.className=l.className(t));let c={};if(t){let d=!1,m=[];for(let[v,y]of Object.entries(t))typeof y=="boolean"&&(d=!0),y===!0&&m.push(v);d&&(c["data-headlessui-state"]=m.join(" "))}if(i===E.Fragment&&Object.keys(Ed(l)).length>0){if(!E.isValidElement(u)||Array.isArray(u)&&u.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(l).map(y=>` - ${y}`).join(` `),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(y=>` - ${y}`).join(` `)].join(` -`));let d=u.props,m=typeof(d==null?void 0:d.className)=="function"?(...y)=>Qs(d==null?void 0:d.className(...y),l.className):Qs(d==null?void 0:d.className,l.className),v=m?{className:m}:{};return E.cloneElement(u,Object.assign({},Cm(u.props,Ed(fl(l,["ref"]))),c,a,gy(u.ref,a.ref),v))}return E.createElement(i,Object.assign({},fl(l,["ref"]),i!==E.Fragment&&a,i!==E.Fragment&&c),u)}function gy(...e){return{ref:e.every(t=>t==null)?void 0:t=>{for(let n of e)n!=null&&(typeof n=="function"?n(t):n.current=t)}}}function Cm(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let i in r)i.startsWith("on")&&typeof r[i]=="function"?(n[i]!=null||(n[i]=[]),n[i].push(r[i])):t[i]=r[i];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(r=>[r,void 0])));for(let r in n)Object.assign(t,{[r](i,...s){let o=n[r];for(let l of o){if((i instanceof Event||(i==null?void 0:i.nativeEvent)instanceof Event)&&i.defaultPrevented)return;l(i,...s)}}});return t}function Un(e){var t;return Object.assign(E.forwardRef(e),{displayName:(t=e.displayName)!=null?t:e.name})}function Ed(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function fl(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function vy(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=(t==null?void 0:t.getAttribute("disabled"))==="";return r&&yy(n)?!1:r}function yy(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}let Wu=E.createContext(null);Wu.displayName="OpenClosedContext";var Ge=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(Ge||{});function Gu(){return E.useContext(Wu)}function km({value:e,children:t}){return F.createElement(Wu.Provider,{value:e},t)}var Ce=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(Ce||{});function Td(e){return[e.screenX,e.screenY]}function wy(){let e=E.useRef([-1,-1]);return{wasMoved(t){let n=Td(t);return e.current[0]===n[0]&&e.current[1]===n[1]?!1:(e.current=n,!0)},update(t){e.current=Td(t)}}}function xy(...e){return E.useMemo(()=>Po(...e),[...e])}function qu(){let e=E.useRef(!1);return st(()=>(e.current=!0,()=>{e.current=!1}),[]),e}let Cd=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function kd(e){var t,n;let r=(t=e.innerText)!=null?t:"",i=e.cloneNode(!0);if(!(i instanceof HTMLElement))return r;let s=!1;for(let l of i.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))l.remove(),s=!0;let o=s?(n=i.innerText)!=null?n:"":r;return Cd.test(o)&&(o=o.replace(Cd,"")),o}function Sy(e){let t=e.getAttribute("aria-label");if(typeof t=="string")return t.trim();let n=e.getAttribute("aria-labelledby");if(n){let r=n.split(" ").map(i=>{let s=document.getElementById(i);if(s){let o=s.getAttribute("aria-label");return typeof o=="string"?o.trim():kd(s).trim()}return null}).filter(Boolean);if(r.length>0)return r.join(", ")}return kd(e).trim()}function Ey(e){let t=E.useRef(""),n=E.useRef("");return ue(()=>{let r=e.current;if(!r)return"";let i=r.innerText;if(t.current===i)return n.current;let s=Sy(r).trim().toLowerCase();return t.current=i,n.current=s,s})}var Ty=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Ty||{}),Cy=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Cy||{}),ky=(e=>(e[e.OpenMenu=0]="OpenMenu",e[e.CloseMenu=1]="CloseMenu",e[e.GoToItem=2]="GoToItem",e[e.Search=3]="Search",e[e.ClearSearch=4]="ClearSearch",e[e.RegisterItem=5]="RegisterItem",e[e.UnregisterItem=6]="UnregisterItem",e))(ky||{});function pl(e,t=n=>n){let n=e.activeItemIndex!==null?e.items[e.activeItemIndex]:null,r=Tm(t(e.items.slice()),s=>s.dataRef.current.domRef.current),i=n?r.indexOf(n):null;return i===-1&&(i=null),{items:r,activeItemIndex:i}}let by={1(e){return e.menuState===1?e:{...e,activeItemIndex:null,menuState:1}},0(e){return e.menuState===0?e:{...e,__demoMode:!1,menuState:0}},2:(e,t)=>{var n;let r=pl(e),i=hy(t,{resolveItems:()=>r.items,resolveActiveIndex:()=>r.activeItemIndex,resolveId:s=>s.id,resolveDisabled:s=>s.dataRef.current.disabled});return{...e,...r,searchQuery:"",activeItemIndex:i,activationTrigger:(n=t.trigger)!=null?n:1}},3:(e,t)=>{let n=e.searchQuery!==""?0:1,r=e.searchQuery+t.value.toLowerCase(),i=(e.activeItemIndex!==null?e.items.slice(e.activeItemIndex+n).concat(e.items.slice(0,e.activeItemIndex+n)):e.items).find(o=>{var l;return((l=o.dataRef.current.textValue)==null?void 0:l.startsWith(r))&&!o.dataRef.current.disabled}),s=i?e.items.indexOf(i):-1;return s===-1||s===e.activeItemIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeItemIndex:s,activationTrigger:1}},4(e){return e.searchQuery===""?e:{...e,searchQuery:"",searchActiveItemIndex:null}},5:(e,t)=>{let n=pl(e,r=>[...r,{id:t.id,dataRef:t.dataRef}]);return{...e,...n}},6:(e,t)=>{let n=pl(e,r=>{let i=r.findIndex(s=>s.id===t.id);return i!==-1&&r.splice(i,1),r});return{...e,...n,activationTrigger:1}}},Xu=E.createContext(null);Xu.displayName="MenuContext";function _o(e){let t=E.useContext(Xu);if(t===null){let n=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,_o),n}return t}function Py(e,t){return Xe(t.type,by,e,t)}let _y=E.Fragment;function Ly(e,t){let{__demoMode:n=!1,...r}=e,i=E.useReducer(Py,{__demoMode:n,menuState:n?0:1,buttonRef:E.createRef(),itemsRef:E.createRef(),items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:s,itemsRef:o,buttonRef:l},a]=i,u=br(t);cy([l,o],(v,y)=>{var g;a({type:1}),Vu(y,Hu.Loose)||(v.preventDefault(),(g=l.current)==null||g.focus())},s===0);let c=ue(()=>{a({type:1})}),d=E.useMemo(()=>({open:s===0,close:c}),[s,c]),m={ref:u};return F.createElement(Xu.Provider,{value:i},F.createElement(km,{value:Xe(s,{0:Ge.Open,1:Ge.Closed})},Pr({ourProps:m,theirProps:r,slot:d,defaultTag:_y,name:"Menu"})))}let Ny="button";function Oy(e,t){var n;let r=Uu(),{id:i=`headlessui-menu-button-${r}`,...s}=e,[o,l]=_o("Menu.Button"),a=br(o.buttonRef,t),u=bo(),c=ue(g=>{switch(g.key){case Ce.Space:case Ce.Enter:case Ce.ArrowDown:g.preventDefault(),g.stopPropagation(),l({type:0}),u.nextFrame(()=>l({type:2,focus:pt.First}));break;case Ce.ArrowUp:g.preventDefault(),g.stopPropagation(),l({type:0}),u.nextFrame(()=>l({type:2,focus:pt.Last}));break}}),d=ue(g=>{switch(g.key){case Ce.Space:g.preventDefault();break}}),m=ue(g=>{if(vy(g.currentTarget))return g.preventDefault();e.disabled||(o.menuState===0?(l({type:1}),u.nextFrame(()=>{var S;return(S=o.buttonRef.current)==null?void 0:S.focus({preventScroll:!0})})):(g.preventDefault(),l({type:0})))}),v=E.useMemo(()=>({open:o.menuState===0}),[o]),y={ref:a,id:i,type:dy(e,o.buttonRef),"aria-haspopup":"menu","aria-controls":(n=o.itemsRef.current)==null?void 0:n.id,"aria-expanded":o.menuState===0,onKeyDown:c,onKeyUp:d,onClick:m};return Pr({ourProps:y,theirProps:s,slot:v,defaultTag:Ny,name:"Menu.Button"})}let jy="div",Iy=Js.RenderStrategy|Js.Static;function My(e,t){var n,r;let i=Uu(),{id:s=`headlessui-menu-items-${i}`,...o}=e,[l,a]=_o("Menu.Items"),u=br(l.itemsRef,t),c=xy(l.itemsRef),d=bo(),m=Gu(),v=m!==null?(m&Ge.Open)===Ge.Open:l.menuState===0;E.useEffect(()=>{let f=l.itemsRef.current;f&&l.menuState===0&&f!==(c==null?void 0:c.activeElement)&&f.focus({preventScroll:!0})},[l.menuState,l.itemsRef,c]),py({container:l.itemsRef.current,enabled:l.menuState===0,accept(f){return f.getAttribute("role")==="menuitem"?NodeFilter.FILTER_REJECT:f.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(f){f.setAttribute("role","none")}});let y=ue(f=>{var p,w;switch(d.dispose(),f.key){case Ce.Space:if(l.searchQuery!=="")return f.preventDefault(),f.stopPropagation(),a({type:3,value:f.key});case Ce.Enter:if(f.preventDefault(),f.stopPropagation(),a({type:1}),l.activeItemIndex!==null){let{dataRef:T}=l.items[l.activeItemIndex];(w=(p=T.current)==null?void 0:p.domRef.current)==null||w.click()}Em(l.buttonRef.current);break;case Ce.ArrowDown:return f.preventDefault(),f.stopPropagation(),a({type:2,focus:pt.Next});case Ce.ArrowUp:return f.preventDefault(),f.stopPropagation(),a({type:2,focus:pt.Previous});case Ce.Home:case Ce.PageUp:return f.preventDefault(),f.stopPropagation(),a({type:2,focus:pt.First});case Ce.End:case Ce.PageDown:return f.preventDefault(),f.stopPropagation(),a({type:2,focus:pt.Last});case Ce.Escape:f.preventDefault(),f.stopPropagation(),a({type:1}),Bt().nextFrame(()=>{var T;return(T=l.buttonRef.current)==null?void 0:T.focus({preventScroll:!0})});break;case Ce.Tab:f.preventDefault(),f.stopPropagation(),a({type:1}),Bt().nextFrame(()=>{ly(l.buttonRef.current,f.shiftKey?Oa.Previous:Oa.Next)});break;default:f.key.length===1&&(a({type:3,value:f.key}),d.setTimeout(()=>a({type:4}),350));break}}),g=ue(f=>{switch(f.key){case Ce.Space:f.preventDefault();break}}),S=E.useMemo(()=>({open:l.menuState===0}),[l]),h={"aria-activedescendant":l.activeItemIndex===null||(n=l.items[l.activeItemIndex])==null?void 0:n.id,"aria-labelledby":(r=l.buttonRef.current)==null?void 0:r.id,id:s,onKeyDown:y,onKeyUp:g,role:"menu",tabIndex:0,ref:u};return Pr({ourProps:h,theirProps:o,slot:S,defaultTag:jy,features:Iy,visible:v,name:"Menu.Items"})}let Ry=E.Fragment;function Ay(e,t){let n=Uu(),{id:r=`headlessui-menu-item-${n}`,disabled:i=!1,...s}=e,[o,l]=_o("Menu.Item"),a=o.activeItemIndex!==null?o.items[o.activeItemIndex].id===r:!1,u=E.useRef(null),c=br(t,u);st(()=>{if(o.__demoMode||o.menuState!==0||!a||o.activationTrigger===0)return;let T=Bt();return T.requestAnimationFrame(()=>{var C,O;(O=(C=u.current)==null?void 0:C.scrollIntoView)==null||O.call(C,{block:"nearest"})}),T.dispose},[o.__demoMode,u,a,o.menuState,o.activationTrigger,o.activeItemIndex]);let d=Ey(u),m=E.useRef({disabled:i,domRef:u,get textValue(){return d()}});st(()=>{m.current.disabled=i},[m,i]),st(()=>(l({type:5,id:r,dataRef:m}),()=>l({type:6,id:r})),[m,r]);let v=ue(()=>{l({type:1})}),y=ue(T=>{if(i)return T.preventDefault();l({type:1}),Em(o.buttonRef.current)}),g=ue(()=>{if(i)return l({type:2,focus:pt.Nothing});l({type:2,focus:pt.Specific,id:r})}),S=wy(),h=ue(T=>S.update(T)),f=ue(T=>{S.wasMoved(T)&&(i||a||l({type:2,focus:pt.Specific,id:r,trigger:0}))}),p=ue(T=>{S.wasMoved(T)&&(i||a&&l({type:2,focus:pt.Nothing}))}),w=E.useMemo(()=>({active:a,disabled:i,close:v}),[a,i,v]);return Pr({ourProps:{id:r,ref:c,role:"menuitem",tabIndex:i===!0?void 0:-1,"aria-disabled":i===!0?!0:void 0,disabled:void 0,onClick:y,onFocus:g,onPointerEnter:h,onMouseEnter:h,onPointerMove:f,onMouseMove:f,onPointerLeave:p,onMouseLeave:p},theirProps:s,slot:w,defaultTag:Ry,name:"Menu.Item"})}let zy=Un(Ly),$y=Un(Oy),Dy=Un(My),Fy=Un(Ay),Qi=Object.assign(zy,{Button:$y,Items:Dy,Item:Fy});function By(e=0){let[t,n]=E.useState(e),r=qu(),i=E.useCallback(a=>{r.current&&n(u=>u|a)},[t,r]),s=E.useCallback(a=>!!(t&a),[t]),o=E.useCallback(a=>{r.current&&n(u=>u&~a)},[n,r]),l=E.useCallback(a=>{r.current&&n(u=>u^a)},[n]);return{flags:t,addFlag:i,hasFlag:s,removeFlag:o,toggleFlag:l}}function Uy(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}function ml(e,...t){e&&t.length>0&&e.classList.add(...t)}function hl(e,...t){e&&t.length>0&&e.classList.remove(...t)}function Hy(e,t){let n=Bt();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:i}=getComputedStyle(e),[s,o]=[r,i].map(a=>{let[u=0]=a.split(",").filter(Boolean).map(c=>c.includes("ms")?parseFloat(c):parseFloat(c)*1e3).sort((c,d)=>d-c);return u}),l=s+o;if(l!==0){n.group(u=>{u.setTimeout(()=>{t(),u.dispose()},l),u.addEventListener(e,"transitionrun",c=>{c.target===c.currentTarget&&u.dispose()})});let a=n.addEventListener(e,"transitionend",u=>{u.target===u.currentTarget&&(t(),a())})}else t();return n.add(()=>t()),n.dispose}function Vy(e,t,n,r){let i=n?"enter":"leave",s=Bt(),o=r!==void 0?Uy(r):()=>{};i==="enter"&&(e.removeAttribute("hidden"),e.style.display="");let l=Xe(i,{enter:()=>t.enter,leave:()=>t.leave}),a=Xe(i,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),u=Xe(i,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return hl(e,...t.base,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),ml(e,...t.base,...l,...u),s.nextFrame(()=>{hl(e,...t.base,...l,...u),ml(e,...t.base,...l,...a),Hy(e,()=>(hl(e,...t.base,...l),ml(e,...t.base,...t.entered),o()))}),s.dispose}function Wy({immediate:e,container:t,direction:n,classes:r,onStart:i,onStop:s}){let o=qu(),l=bo(),a=gn(n);st(()=>{e&&(a.current="enter")},[e]),st(()=>{let u=Bt();l.add(u.dispose);let c=t.current;if(c&&a.current!=="idle"&&o.current)return u.dispose(),i.current(a.current),u.add(Vy(c,r.current,a.current==="enter",()=>{u.dispose(),s.current(a.current)})),u.dispose},[n])}function Xt(e=""){return e.split(" ").filter(t=>t.trim().length>1)}let Lo=E.createContext(null);Lo.displayName="TransitionContext";var Gy=(e=>(e.Visible="visible",e.Hidden="hidden",e))(Gy||{});function qy(){let e=E.useContext(Lo);if(e===null)throw new Error("A is used but it is missing a parent or .");return e}function Xy(){let e=E.useContext(No);if(e===null)throw new Error("A is used but it is missing a parent or .");return e}let No=E.createContext(null);No.displayName="NestingContext";function Oo(e){return"children"in e?Oo(e.children):e.current.filter(({el:t})=>t.current!==null).filter(({state:t})=>t==="visible").length>0}function bm(e,t){let n=gn(e),r=E.useRef([]),i=qu(),s=bo(),o=ue((v,y=sn.Hidden)=>{let g=r.current.findIndex(({el:S})=>S===v);g!==-1&&(Xe(y,{[sn.Unmount](){r.current.splice(g,1)},[sn.Hidden](){r.current[g].state="hidden"}}),s.microTask(()=>{var S;!Oo(r)&&i.current&&((S=n.current)==null||S.call(n))}))}),l=ue(v=>{let y=r.current.find(({el:g})=>g===v);return y?y.state!=="visible"&&(y.state="visible"):r.current.push({el:v,state:"visible"}),()=>o(v,sn.Unmount)}),a=E.useRef([]),u=E.useRef(Promise.resolve()),c=E.useRef({enter:[],leave:[],idle:[]}),d=ue((v,y,g)=>{a.current.splice(0),t&&(t.chains.current[y]=t.chains.current[y].filter(([S])=>S!==v)),t==null||t.chains.current[y].push([v,new Promise(S=>{a.current.push(S)})]),t==null||t.chains.current[y].push([v,new Promise(S=>{Promise.all(c.current[y].map(([h,f])=>f)).then(()=>S())})]),y==="enter"?u.current=u.current.then(()=>t==null?void 0:t.wait.current).then(()=>g(y)):g(y)}),m=ue((v,y,g)=>{Promise.all(c.current[y].splice(0).map(([S,h])=>h)).then(()=>{var S;(S=a.current.shift())==null||S()}).then(()=>g(y))});return E.useMemo(()=>({children:r,register:l,unregister:o,onStart:d,onStop:m,wait:u,chains:c}),[l,o,r,d,m,c,u])}function Yy(){}let Ky=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function bd(e){var t;let n={};for(let r of Ky)n[r]=(t=e[r])!=null?t:Yy;return n}function Qy(e){let t=E.useRef(bd(e));return E.useEffect(()=>{t.current=bd(e)},[e]),t}let Jy="div",Pm=Js.RenderStrategy;function Zy(e,t){var n,r;let{beforeEnter:i,afterEnter:s,beforeLeave:o,afterLeave:l,enter:a,enterFrom:u,enterTo:c,entered:d,leave:m,leaveFrom:v,leaveTo:y,...g}=e,S=E.useRef(null),h=br(S,t),f=(n=g.unmount)==null||n?sn.Unmount:sn.Hidden,{show:p,appear:w,initial:T}=qy(),[C,O]=E.useState(p?"visible":"hidden"),_=Xy(),{register:P,unregister:b}=_;E.useEffect(()=>P(S),[P,S]),E.useEffect(()=>{if(f===sn.Hidden&&S.current){if(p&&C!=="visible"){O("visible");return}return Xe(C,{hidden:()=>b(S),visible:()=>P(S)})}},[C,S,P,b,p,f]);let k=gn({base:Xt(g.className),enter:Xt(a),enterFrom:Xt(u),enterTo:Xt(c),entered:Xt(d),leave:Xt(m),leaveFrom:Xt(v),leaveTo:Xt(y)}),L=Qy({beforeEnter:i,afterEnter:s,beforeLeave:o,afterLeave:l}),N=Bu();E.useEffect(()=>{if(N&&C==="visible"&&S.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[S,C,N]);let M=T&&!w,D=w&&p&&T,H=!N||M?"idle":p?"enter":"leave",Q=By(0),I=ue(te=>Xe(te,{enter:()=>{Q.addFlag(Ge.Opening),L.current.beforeEnter()},leave:()=>{Q.addFlag(Ge.Closing),L.current.beforeLeave()},idle:()=>{}})),A=ue(te=>Xe(te,{enter:()=>{Q.removeFlag(Ge.Opening),L.current.afterEnter()},leave:()=>{Q.removeFlag(Ge.Closing),L.current.afterLeave()},idle:()=>{}})),z=bm(()=>{O("hidden"),b(S)},_);Wy({immediate:D,container:S,classes:k,direction:H,onStart:gn(te=>{z.onStart(S,te,I)}),onStop:gn(te=>{z.onStop(S,te,A),te==="leave"&&!Oo(z)&&(O("hidden"),b(S))})});let U=g,X={ref:h};return D?U={...U,className:Qs(g.className,...k.current.enter,...k.current.enterFrom)}:(U.className=Qs(g.className,(r=S.current)==null?void 0:r.className),U.className===""&&delete U.className),F.createElement(No.Provider,{value:z},F.createElement(km,{value:Xe(C,{visible:Ge.Open,hidden:Ge.Closed})|Q.flags},Pr({ourProps:X,theirProps:U,defaultTag:Jy,features:Pm,visible:C==="visible",name:"Transition.Child"})))}function e1(e,t){let{show:n,appear:r=!1,unmount:i=!0,...s}=e,o=E.useRef(null),l=br(o,t);Bu();let a=Gu();if(n===void 0&&a!==null&&(n=(a&Ge.Open)===Ge.Open),![!0,!1].includes(n))throw new Error("A is used but it is missing a `show={true | false}` prop.");let[u,c]=E.useState(n?"visible":"hidden"),d=bm(()=>{c("hidden")}),[m,v]=E.useState(!0),y=E.useRef([n]);st(()=>{m!==!1&&y.current[y.current.length-1]!==n&&(y.current.push(n),v(!1))},[y,n]);let g=E.useMemo(()=>({show:n,appear:r,initial:m}),[n,r,m]);E.useEffect(()=>{if(n)c("visible");else if(!Oo(d))c("hidden");else{let p=o.current;if(!p)return;let w=p.getBoundingClientRect();w.x===0&&w.y===0&&w.width===0&&w.height===0&&c("hidden")}},[n,d]);let S={unmount:i},h=ue(()=>{var p;m&&v(!1),(p=e.beforeEnter)==null||p.call(e)}),f=ue(()=>{var p;m&&v(!1),(p=e.beforeLeave)==null||p.call(e)});return F.createElement(No.Provider,{value:d},F.createElement(Lo.Provider,{value:g},Pr({ourProps:{...S,as:E.Fragment,children:F.createElement(_m,{ref:l,...S,...s,beforeEnter:h,beforeLeave:f})},theirProps:{},defaultTag:E.Fragment,features:Pm,visible:u==="visible",name:"Transition"})))}function t1(e,t){let n=E.useContext(Lo)!==null,r=Gu()!==null;return F.createElement(F.Fragment,null,!n&&r?F.createElement(ja,{ref:t,...e}):F.createElement(_m,{ref:t,...e}))}let ja=Un(e1),_m=Un(Zy),n1=Un(t1),r1=Object.assign(ja,{Child:n1,Root:ja});var Lm={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Pd=F.createContext&&F.createContext(Lm),vn=function(){return vn=Object.assign||function(e){for(var t,n=1,r=arguments.length;nx.jsx("div",{className:"fixed z-20 w-screen h-screen flex flex-col justify-center items-center bg-black/[.6]",children:x.jsxs("div",{className:"mt-[-10%]",children:[x.jsx("div",{className:"flex w-[400px] justify-center items-center mt-8",children:x.jsx("div",{className:"w-[200px] h-[200px] animate-[pulse_2.8s_ease-in-out_infinite]",children:x.jsx("img",{className:"w-fit h-fit object-cover",src:"/assets/images/logo.png",width:150,height:150,alt:"image"})})}),x.jsxs("div",{className:"flex w-[400px] justify-center items-center mt-[40px]",children:[x.jsx("div",{className:"h-[15px] w-[15px] mx-[16px] bgc-primary-600 animate-[bounce_0.8s_ease-in-out_infinite] rounded-full opacity-1"}),x.jsx("div",{className:"h-[15px] w-[15px] mx-[16px] bgc-primary-600 animate-[bounce_0.8s_ease-in-out_infinite] rounded-full opacity-1"}),x.jsx("div",{className:"h-[15px] w-[15px] mx-[16px] bgc-primary-600 animate-[bounce_0.8s_ease-in-out_infinite] rounded-full opacity-1"}),x.jsx("div",{className:"h-[15px] w-[15px] mx-[16px] bgc-primary-600 animate-[bounce_0.8s_ease-in-out_infinite] rounded-full opacity-1"}),x.jsx("div",{className:"h-[15px] w-[15px] mx-[16px] bgc-primary-600 animate-[bounce_0.8s_ease-in-out_infinite] rounded-full opacity-1"}),x.jsx("div",{className:"h-[15px] w-[15px] mx-[16px] bgc-primary-600 animate-[bounce_0.8s_ease-in-out_infinite] rounded-full opacity-1"})]})]})}),kt=F.createContext({});function c1({children:e}){const[t,n]=F.useState(!0);return E.useEffect(()=>{(async()=>{n(!0),setTimeout(()=>{n(!1)},1200)})()},[]),x.jsx(kt.Provider,{value:{loading:t},children:x.jsxs("div",{className:"relative",children:[t&&x.jsx(u1,{}),e]})})}const Ia=[{id:"1",text:"A Festa",link:"#about",top:!0,middle:!1},{id:"2",text:"Programação",link:"#schedule",top:!0,middle:!1},{id:"3",text:"Cardápio",link:"#menu",top:!0,middle:!1},{id:"4",text:"Inscrições",link:"#subscription",top:!1,middle:!0},{id:"8",text:"Assista Ao Vivo",link:"#in-live",top:!1,middle:!0},{id:"6",showLogo:!0,top:!0,middle:!1},{id:"7",text:"Noticias",link:"#news",top:!0,middle:!1},{id:"5",text:"Galeria",link:"#gallery",top:!1,middle:!0},{id:"9",text:"Patrocinadores",link:"#sponsors",top:!0,middle:!1},{id:"10",text:"Contatos",link:"#contact",top:!0,middle:!1}],d1="_container_2r5xj_1",Wn={container:d1,"content-desktop":"_content-desktop_2r5xj_19","content-mobile":"_content-mobile_2r5xj_51","text-menu":"_text-menu_2r5xj_81","li-mobile":"_li-mobile_2r5xj_165"},Om=F.createContext({}),jm=!0;function f1({baseColor:e,highlightColor:t,width:n,height:r,borderRadius:i,circle:s,direction:o,duration:l,enableAnimation:a=jm}){const u={};return o==="rtl"&&(u["--animation-direction"]="reverse"),typeof l=="number"&&(u["--animation-duration"]=`${l}s`),a||(u["--pseudo-element-display"]="none"),(typeof n=="string"||typeof n=="number")&&(u.width=n),(typeof r=="string"||typeof r=="number")&&(u.height=r),(typeof i=="string"||typeof i=="number")&&(u.borderRadius=i),s&&(u.borderRadius="50%"),typeof e<"u"&&(u["--base-color"]=e),typeof t<"u"&&(u["--highlight-color"]=t),u}function B({count:e=1,wrapper:t,className:n,containerClassName:r,containerTestId:i,circle:s=!1,style:o,...l}){var a,u,c;const d=F.useContext(Om),m={...l};for(const[p,w]of Object.entries(l))typeof w>"u"&&delete m[p];const v={...d,...m,circle:s},y={...o,...f1(v)};let g="react-loading-skeleton";n&&(g+=` ${n}`);const S=(a=v.inline)!==null&&a!==void 0?a:!1,h=[],f=Math.ceil(e);for(let p=0;pe&&p===f-1){const C=(u=w.width)!==null&&u!==void 0?u:"100%",O=e%1,_=typeof C=="number"?C*O:`calc(${C} * ${O})`;w={...w,width:_}}const T=F.createElement("span",{className:g,style:w,key:p},"‌");S?h.push(T):h.push(F.createElement(F.Fragment,{key:p},T,F.createElement("br",null)))}return F.createElement("span",{className:r,"data-testid":i,"aria-live":"polite","aria-busy":(c=v.enableAnimation)!==null&&c!==void 0?c:jm},t?h.map((p,w)=>F.createElement(t,{key:w},p)):h)}function p1({children:e,...t}){return F.createElement(Om.Provider,{value:t},e)}const G=({children:e})=>x.jsx(p1,{baseColor:"#6e6e6e40",highlightColor:"#44444440",children:e}),m1=()=>{const{loading:e}=E.useContext(kt),[t,n]=E.useState(!1);E.useEffect(()=>{t||document.body.classList.remove("scroll-block")},[t]);const r=i=>{i&&document.body.classList.add("scroll-block"),n(i)};return x.jsxs("header",{className:Wn.container,children:[x.jsxs("div",{className:Wn["content-desktop"],children:[e&&x.jsxs(G,{children:[x.jsx(B,{width:150,height:20,style:{marginRight:5}}),x.jsx(B,{width:150,height:20,style:{marginRight:5}}),x.jsx(B,{width:150,height:20,style:{marginRight:5}}),x.jsx(B,{width:70,height:70,style:{marginRight:20,marginLeft:20}}),x.jsx(B,{width:150,height:20,style:{marginRight:5}}),x.jsx(B,{width:150,height:20,style:{marginRight:5}}),x.jsx(B,{width:150,height:20,style:{marginRight:5}})]}),!e&&x.jsx(x.Fragment,{children:Ia.map(i=>{if(i.top)return i.showLogo?x.jsx("img",{"data-aos":"zoom-in","data-aos-delay":"300",className:"object-cover",src:"/assets/images/logo.png",width:80,height:80,alt:"image"},i==null?void 0:i.id):x.jsx("a",{"data-aos":"fade-down",href:i.link,children:x.jsx("p",{className:Wn["text-menu"]+" text-[16px] mx-2",children:i.text})},i==null?void 0:i.id)})})]}),x.jsxs("div",{className:Wn["content-mobile"],children:[e&&x.jsxs(G,{children:[x.jsx(B,{width:80,height:70,style:{marginRight:5}}),x.jsx(B,{width:40,height:40,style:{marginRight:5}})]}),!e&&x.jsxs(x.Fragment,{children:[x.jsx("img",{"data-aos":"zoom-in","data-aos-delay":"300",className:"object-cover",src:"/assets/images/logo.png",width:80,height:80,alt:"image"}),x.jsxs(Qi,{children:[x.jsxs(Qi.Button,{onClick:()=>r(!t),children:[!t&&x.jsx(o1,{size:40,color:"#F8F8FF"}),t&&x.jsx(a1,{size:40,color:"#F8F8FF"})]}),x.jsx(r1,{as:F.Fragment,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:x.jsx(Qi.Items,{className:"absolute w-[100%] h-[100vh] right-0 top-[90px] z-10 p-2 origin-top shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none bgc-primary",children:x.jsx("ul",{className:"w-[100%] mt-6 px-12",children:Ia.map((i,s)=>{if(!i.showLogo)return x.jsx("li",{"data-aos":"fade-right","data-aos-delay":(s+1)*100+100,className:Wn["li-mobile"],children:x.jsx(Qi.Item,{children:x.jsx("a",{"data-aos":"fade-down",href:i.link,onClick:()=>r(!1),children:x.jsx("p",{className:Wn["text-menu"]+" text-[22px] hover:text-[24px] mx-2",children:i==null?void 0:i.text})})})},i==null?void 0:i.id)})})})})]})]})]})]})},h1="_container_k8n9w_1",Ji={container:h1,"content-desktop":"_content-desktop_k8n9w_13","content-mobile":"_content-mobile_k8n9w_101","text-menu":"_text-menu_k8n9w_115","item-loading":"_item-loading_k8n9w_145"},g1=()=>{const{loading:e}=E.useContext(kt);return x.jsxs("section",{className:Ji.container,children:[e&&x.jsx("div",{className:Ji["content-desktop"],children:x.jsxs(G,{children:[x.jsx(B,{width:250,height:45,style:{marginRight:10}}),x.jsx(B,{width:250,height:45,style:{marginRight:10}}),x.jsx(B,{width:250,height:45,style:{marginRight:10}})]})}),!e&&x.jsx("div",{className:Ji["content-desktop"],children:Ia.map(t=>{if(t.middle)return x.jsx("a",{"data-aos":"fade-up",href:t.link,children:x.jsx("p",{className:Ji["text-menu"]+" text-[15px] md:text-[15px] lg:text-[22px] mx-2",children:t.text})},t==null?void 0:t.id)})})]})};function _d(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function Yu(e,t){e===void 0&&(e={}),t===void 0&&(t={}),Object.keys(t).forEach(n=>{typeof e[n]>"u"?e[n]=t[n]:_d(t[n])&&_d(e[n])&&Object.keys(t[n]).length>0&&Yu(e[n],t[n])})}const Im={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 gt(){const e=typeof document<"u"?document:{};return Yu(e,Im),e}const v1={document:Im,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 typeof setTimeout>"u"?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){typeof setTimeout>"u"||clearTimeout(e)}};function Oe(){const e=typeof window<"u"?window:{};return Yu(e,v1),e}function y1(e){return e===void 0&&(e=""),e.trim().split(" ").filter(t=>!!t.trim())}function w1(e){const t=e;Object.keys(t).forEach(n=>{try{t[n]=null}catch{}try{delete t[n]}catch{}})}function Si(e,t){return t===void 0&&(t=0),setTimeout(e,t)}function jt(){return Date.now()}function x1(e){const t=Oe();let n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}function S1(e,t){t===void 0&&(t="x");const n=Oe();let r,i,s;const o=x1(e);return n.WebKitCSSMatrix?(i=o.transform||o.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map(l=>l.replace(",",".")).join(", ")),s=new n.WebKitCSSMatrix(i==="none"?"":i)):(s=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),r=s.toString().split(",")),t==="x"&&(n.WebKitCSSMatrix?i=s.m41:r.length===16?i=parseFloat(r[12]):i=parseFloat(r[4])),t==="y"&&(n.WebKitCSSMatrix?i=s.m42:r.length===16?i=parseFloat(r[13]):i=parseFloat(r[5])),i||0}function Zi(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"}function E1(e){return typeof window<"u"&&typeof window.HTMLElement<"u"?e instanceof HTMLElement:e&&(e.nodeType===1||e.nodeType===11)}function We(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let n=1;nt.indexOf(s)<0);for(let s=0,o=i.length;ss?"next":"prev",c=(m,v)=>u==="next"&&m>=v||u==="prev"&&m<=v,d=()=>{l=new Date().getTime(),o===null&&(o=l);const m=Math.max(Math.min((l-o)/a,1),0),v=.5-Math.cos(m*Math.PI)/2;let y=s+v*(n-s);if(c(y,n)&&(y=n),t.wrapperEl.scrollTo({[r]:y}),c(y,n)){t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout(()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[r]:y})}),i.cancelAnimationFrame(t.cssModeFrameID);return}t.cssModeFrameID=i.requestAnimationFrame(d)};d()}function St(e,t){return t===void 0&&(t=""),[...e.children].filter(n=>n.matches(t))}function Zs(e){try{console.warn(e);return}catch{}}function eo(e,t){t===void 0&&(t=[]);const n=document.createElement(e);return n.classList.add(...Array.isArray(t)?t:y1(t)),n}function T1(e){const t=Oe(),n=gt(),r=e.getBoundingClientRect(),i=n.body,s=e.clientTop||i.clientTop||0,o=e.clientLeft||i.clientLeft||0,l=e===t?t.scrollY:e.scrollTop,a=e===t?t.scrollX:e.scrollLeft;return{top:r.top+l-s,left:r.left+a-o}}function C1(e,t){const n=[];for(;e.previousElementSibling;){const r=e.previousElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}function k1(e,t){const n=[];for(;e.nextElementSibling;){const r=e.nextElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}function on(e,t){return Oe().getComputedStyle(e,null).getPropertyValue(t)}function to(e){let t=e,n;if(t){for(n=0;(t=t.previousSibling)!==null;)t.nodeType===1&&(n+=1);return n}}function no(e,t){const n=[];let r=e.parentElement;for(;r;)t?r.matches(t)&&n.push(r):n.push(r),r=r.parentElement;return n}function Ma(e,t,n){const r=Oe();return n?e[t==="width"?"offsetWidth":"offsetHeight"]+parseFloat(r.getComputedStyle(e,null).getPropertyValue(t==="width"?"margin-right":"margin-top"))+parseFloat(r.getComputedStyle(e,null).getPropertyValue(t==="width"?"margin-left":"margin-bottom")):e.offsetWidth}function b1(e){let{swiper:t,extendParams:n,on:r,emit:i}=e;const s=gt(),o=Oe();t.keyboard={enabled:!1},n({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}});function l(c){if(!t.enabled)return;const{rtlTranslate:d}=t;let m=c;m.originalEvent&&(m=m.originalEvent);const v=m.keyCode||m.charCode,y=t.params.keyboard.pageUpDown,g=y&&v===33,S=y&&v===34,h=v===37,f=v===39,p=v===38,w=v===40;if(!t.allowSlideNext&&(t.isHorizontal()&&f||t.isVertical()&&w||S)||!t.allowSlidePrev&&(t.isHorizontal()&&h||t.isVertical()&&p||g))return!1;if(!(m.shiftKey||m.altKey||m.ctrlKey||m.metaKey)&&!(s.activeElement&&s.activeElement.nodeName&&(s.activeElement.nodeName.toLowerCase()==="input"||s.activeElement.nodeName.toLowerCase()==="textarea"))){if(t.params.keyboard.onlyInViewport&&(g||S||h||f||p||w)){let T=!1;if(no(t.el,`.${t.params.slideClass}, swiper-slide`).length>0&&no(t.el,`.${t.params.slideActiveClass}`).length===0)return;const C=t.el,O=C.clientWidth,_=C.clientHeight,P=o.innerWidth,b=o.innerHeight,k=T1(C);d&&(k.left-=C.scrollLeft);const L=[[k.left,k.top],[k.left+O,k.top],[k.left,k.top+_],[k.left+O,k.top+_]];for(let N=0;N=0&&M[0]<=P&&M[1]>=0&&M[1]<=b){if(M[0]===0&&M[1]===0)continue;T=!0}}if(!T)return}t.isHorizontal()?((g||S||h||f)&&(m.preventDefault?m.preventDefault():m.returnValue=!1),((S||f)&&!d||(g||h)&&d)&&t.slideNext(),((g||h)&&!d||(S||f)&&d)&&t.slidePrev()):((g||S||p||w)&&(m.preventDefault?m.preventDefault():m.returnValue=!1),(S||w)&&t.slideNext(),(g||p)&&t.slidePrev()),i("keyPress",v)}}function a(){t.keyboard.enabled||(s.addEventListener("keydown",l),t.keyboard.enabled=!0)}function u(){t.keyboard.enabled&&(s.removeEventListener("keydown",l),t.keyboard.enabled=!1)}r("init",()=>{t.params.keyboard.enabled&&a()}),r("destroy",()=>{t.keyboard.enabled&&u()}),Object.assign(t.keyboard,{enable:a,disable:u})}function P1(e){let{swiper:t,extendParams:n,on:r,emit:i}=e;const s=Oe();n({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),t.mousewheel={enabled:!1};let o,l=jt(),a;const u=[];function c(p){let O=0,_=0,P=0,b=0;return"detail"in p&&(_=p.detail),"wheelDelta"in p&&(_=-p.wheelDelta/120),"wheelDeltaY"in p&&(_=-p.wheelDeltaY/120),"wheelDeltaX"in p&&(O=-p.wheelDeltaX/120),"axis"in p&&p.axis===p.HORIZONTAL_AXIS&&(O=_,_=0),P=O*10,b=_*10,"deltaY"in p&&(b=p.deltaY),"deltaX"in p&&(P=p.deltaX),p.shiftKey&&!P&&(P=b,b=0),(P||b)&&p.deltaMode&&(p.deltaMode===1?(P*=40,b*=40):(P*=800,b*=800)),P&&!O&&(O=P<1?-1:1),b&&!_&&(_=b<1?-1:1),{spinX:O,spinY:_,pixelX:P,pixelY:b}}function d(){t.enabled&&(t.mouseEntered=!0)}function m(){t.enabled&&(t.mouseEntered=!1)}function v(p){return t.params.mousewheel.thresholdDelta&&p.delta=6&&jt()-l<60?!0:(p.direction<0?(!t.isEnd||t.params.loop)&&!t.animating&&(t.slideNext(),i("scroll",p.raw)):(!t.isBeginning||t.params.loop)&&!t.animating&&(t.slidePrev(),i("scroll",p.raw)),l=new s.Date().getTime(),!1)}function y(p){const w=t.params.mousewheel;if(p.direction<0){if(t.isEnd&&!t.params.loop&&w.releaseOnEdges)return!0}else if(t.isBeginning&&!t.params.loop&&w.releaseOnEdges)return!0;return!1}function g(p){let w=p,T=!0;if(!t.enabled||p.target.closest(`.${t.params.mousewheel.noMousewheelClass}`))return;const C=t.params.mousewheel;t.params.cssMode&&w.preventDefault();let O=t.el;t.params.mousewheel.eventsTarget!=="container"&&(O=document.querySelector(t.params.mousewheel.eventsTarget));const _=O&&O.contains(w.target);if(!t.mouseEntered&&!_&&!C.releaseOnEdges)return!0;w.originalEvent&&(w=w.originalEvent);let P=0;const b=t.rtlTranslate?-1:1,k=c(w);if(C.forceToAxis)if(t.isHorizontal())if(Math.abs(k.pixelX)>Math.abs(k.pixelY))P=-k.pixelX*b;else return!0;else if(Math.abs(k.pixelY)>Math.abs(k.pixelX))P=-k.pixelY;else return!0;else P=Math.abs(k.pixelX)>Math.abs(k.pixelY)?-k.pixelX*b:-k.pixelY;if(P===0)return!0;C.invert&&(P=-P);let L=t.getTranslate()+P*C.sensitivity;if(L>=t.minTranslate()&&(L=t.minTranslate()),L<=t.maxTranslate()&&(L=t.maxTranslate()),T=t.params.loop?!0:!(L===t.minTranslate()||L===t.maxTranslate()),T&&t.params.nested&&w.stopPropagation(),!t.params.freeMode||!t.params.freeMode.enabled){const N={time:jt(),delta:Math.abs(P),direction:Math.sign(P),raw:p};u.length>=2&&u.shift();const M=u.length?u[u.length-1]:void 0;if(u.push(N),M?(N.direction!==M.direction||N.delta>M.delta||N.time>M.time+150)&&v(N):v(N),y(N))return!0}else{const N={time:jt(),delta:Math.abs(P),direction:Math.sign(P)},M=a&&N.time=t.minTranslate()&&(D=t.minTranslate()),D<=t.maxTranslate()&&(D=t.maxTranslate()),t.setTransition(0),t.setTranslate(D),t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses(),(!H&&t.isBeginning||!Q&&t.isEnd)&&t.updateSlidesClasses(),t.params.loop&&t.loopFix({direction:N.direction<0?"next":"prev",byMousewheel:!0}),t.params.freeMode.sticky){clearTimeout(o),o=void 0,u.length>=15&&u.shift();const I=u.length?u[u.length-1]:void 0,A=u[0];if(u.push(N),I&&(N.delta>I.delta||N.direction!==I.direction))u.splice(0);else if(u.length>=15&&N.time-A.time<500&&A.delta-N.delta>=1&&N.delta<=6){const z=P>0?.8:.2;a=N,u.splice(0),o=Si(()=>{t.slideToClosest(t.params.speed,!0,void 0,z)},0)}o||(o=Si(()=>{a=N,u.splice(0),t.slideToClosest(t.params.speed,!0,void 0,.5)},500))}if(M||i("scroll",w),t.params.autoplay&&t.params.autoplayDisableOnInteraction&&t.autoplay.stop(),C.releaseOnEdges&&(D===t.minTranslate()||D===t.maxTranslate()))return!0}}return w.preventDefault?w.preventDefault():w.returnValue=!1,!1}function S(p){let w=t.el;t.params.mousewheel.eventsTarget!=="container"&&(w=document.querySelector(t.params.mousewheel.eventsTarget)),w[p]("mouseenter",d),w[p]("mouseleave",m),w[p]("wheel",g)}function h(){return t.params.cssMode?(t.wrapperEl.removeEventListener("wheel",g),!0):t.mousewheel.enabled?!1:(S("addEventListener"),t.mousewheel.enabled=!0,!0)}function f(){return t.params.cssMode?(t.wrapperEl.addEventListener(event,g),!0):t.mousewheel.enabled?(S("removeEventListener"),t.mousewheel.enabled=!1,!0):!1}r("init",()=>{!t.params.mousewheel.enabled&&t.params.cssMode&&f(),t.params.mousewheel.enabled&&h()}),r("destroy",()=>{t.params.cssMode&&h(),t.mousewheel.enabled&&f()}),Object.assign(t.mousewheel,{enable:h,disable:f})}function Rm(e,t,n,r){return e.params.createElements&&Object.keys(r).forEach(i=>{if(!n[i]&&n.auto===!0){let s=St(e.el,`.${r[i]}`)[0];s||(s=eo("div",r[i]),s.className=r[i],e.el.append(s)),n[i]=s,t[i]=s}}),n}function _1(e){let{swiper:t,extendParams:n,on:r,emit:i}=e;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};const s=g=>(Array.isArray(g)?g:[g]).filter(S=>!!S);function o(g){let S;return g&&typeof g=="string"&&t.isElement&&(S=t.el.querySelector(g),S)?S:(g&&(typeof g=="string"&&(S=[...document.querySelectorAll(g)]),t.params.uniqueNavElements&&typeof g=="string"&&S.length>1&&t.el.querySelectorAll(g).length===1&&(S=t.el.querySelector(g))),g&&!S?g:S)}function l(g,S){const h=t.params.navigation;g=s(g),g.forEach(f=>{f&&(f.classList[S?"add":"remove"](...h.disabledClass.split(" ")),f.tagName==="BUTTON"&&(f.disabled=S),t.params.watchOverflow&&t.enabled&&f.classList[t.isLocked?"add":"remove"](h.lockClass))})}function a(){const{nextEl:g,prevEl:S}=t.navigation;if(t.params.loop){l(S,!1),l(g,!1);return}l(S,t.isBeginning&&!t.params.rewind),l(g,t.isEnd&&!t.params.rewind)}function u(g){g.preventDefault(),!(t.isBeginning&&!t.params.loop&&!t.params.rewind)&&(t.slidePrev(),i("navigationPrev"))}function c(g){g.preventDefault(),!(t.isEnd&&!t.params.loop&&!t.params.rewind)&&(t.slideNext(),i("navigationNext"))}function d(){const g=t.params.navigation;if(t.params.navigation=Rm(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(g.nextEl||g.prevEl))return;let S=o(g.nextEl),h=o(g.prevEl);Object.assign(t.navigation,{nextEl:S,prevEl:h}),S=s(S),h=s(h);const f=(p,w)=>{p&&p.addEventListener("click",w==="next"?c:u),!t.enabled&&p&&p.classList.add(...g.lockClass.split(" "))};S.forEach(p=>f(p,"next")),h.forEach(p=>f(p,"prev"))}function m(){let{nextEl:g,prevEl:S}=t.navigation;g=s(g),S=s(S);const h=(f,p)=>{f.removeEventListener("click",p==="next"?c:u),f.classList.remove(...t.params.navigation.disabledClass.split(" "))};g.forEach(f=>h(f,"next")),S.forEach(f=>h(f,"prev"))}r("init",()=>{t.params.navigation.enabled===!1?y():(d(),a())}),r("toEdge fromEdge lock unlock",()=>{a()}),r("destroy",()=>{m()}),r("enable disable",()=>{let{nextEl:g,prevEl:S}=t.navigation;if(g=s(g),S=s(S),t.enabled){a();return}[...g,...S].filter(h=>!!h).forEach(h=>h.classList.add(t.params.navigation.lockClass))}),r("click",(g,S)=>{let{nextEl:h,prevEl:f}=t.navigation;h=s(h),f=s(f);const p=S.target;if(t.params.navigation.hideOnClick&&!f.includes(p)&&!h.includes(p)){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===p||t.pagination.el.contains(p)))return;let w;h.length?w=h[0].classList.contains(t.params.navigation.hiddenClass):f.length&&(w=f[0].classList.contains(t.params.navigation.hiddenClass)),i(w===!0?"navigationShow":"navigationHide"),[...h,...f].filter(T=>!!T).forEach(T=>T.classList.toggle(t.params.navigation.hiddenClass))}});const v=()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),d(),a()},y=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),m()};Object.assign(t.navigation,{enable:v,disable:y,update:a,init:d,destroy:m})}function $r(e){return e===void 0&&(e=""),`.${e.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function L1(e){let{swiper:t,extendParams:n,on:r,emit:i}=e;const s="swiper-pagination";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:f=>f,formatFractionTotal:f=>f,bulletClass:`${s}-bullet`,bulletActiveClass:`${s}-bullet-active`,modifierClass:`${s}-`,currentClass:`${s}-current`,totalClass:`${s}-total`,hiddenClass:`${s}-hidden`,progressbarFillClass:`${s}-progressbar-fill`,progressbarOppositeClass:`${s}-progressbar-opposite`,clickableClass:`${s}-clickable`,lockClass:`${s}-lock`,horizontalClass:`${s}-horizontal`,verticalClass:`${s}-vertical`,paginationDisabledClass:`${s}-disabled`}}),t.pagination={el:null,bullets:[]};let o,l=0;const a=f=>(Array.isArray(f)?f:[f]).filter(p=>!!p);function u(){return!t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&t.pagination.el.length===0}function c(f,p){const{bulletActiveClass:w}=t.params.pagination;f&&(f=f[`${p==="prev"?"previous":"next"}ElementSibling`],f&&(f.classList.add(`${w}-${p}`),f=f[`${p==="prev"?"previous":"next"}ElementSibling`],f&&f.classList.add(`${w}-${p}-${p}`)))}function d(f){const p=f.target.closest($r(t.params.pagination.bulletClass));if(!p)return;f.preventDefault();const w=to(p)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===w)return;t.slideToLoop(w)}else t.slideTo(w)}function m(){const f=t.rtl,p=t.params.pagination;if(u())return;let w=t.pagination.el;w=a(w);let T,C;const O=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,_=t.params.loop?Math.ceil(O/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(C=t.previousRealIndex||0,T=t.params.slidesPerGroup>1?Math.floor(t.realIndex/t.params.slidesPerGroup):t.realIndex):typeof t.snapIndex<"u"?(T=t.snapIndex,C=t.previousSnapIndex):(C=t.previousIndex||0,T=t.activeIndex||0),p.type==="bullets"&&t.pagination.bullets&&t.pagination.bullets.length>0){const P=t.pagination.bullets;let b,k,L;if(p.dynamicBullets&&(o=Ma(P[0],t.isHorizontal()?"width":"height",!0),w.forEach(N=>{N.style[t.isHorizontal()?"width":"height"]=`${o*(p.dynamicMainBullets+4)}px`}),p.dynamicMainBullets>1&&C!==void 0&&(l+=T-(C||0),l>p.dynamicMainBullets-1?l=p.dynamicMainBullets-1:l<0&&(l=0)),b=Math.max(T-l,0),k=b+(Math.min(P.length,p.dynamicMainBullets)-1),L=(k+b)/2),P.forEach(N=>{const M=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(D=>`${p.bulletActiveClass}${D}`)].map(D=>typeof D=="string"&&D.includes(" ")?D.split(" "):D).flat();N.classList.remove(...M)}),w.length>1)P.forEach(N=>{const M=to(N);M===T?N.classList.add(...p.bulletActiveClass.split(" ")):t.isElement&&N.setAttribute("part","bullet"),p.dynamicBullets&&(M>=b&&M<=k&&N.classList.add(...`${p.bulletActiveClass}-main`.split(" ")),M===b&&c(N,"prev"),M===k&&c(N,"next"))});else{const N=P[T];if(N&&N.classList.add(...p.bulletActiveClass.split(" ")),t.isElement&&P.forEach((M,D)=>{M.setAttribute("part",D===T?"bullet-active":"bullet")}),p.dynamicBullets){const M=P[b],D=P[k];for(let H=b;H<=k;H+=1)P[H]&&P[H].classList.add(...`${p.bulletActiveClass}-main`.split(" "));c(M,"prev"),c(D,"next")}}if(p.dynamicBullets){const N=Math.min(P.length,p.dynamicMainBullets+4),M=(o*N-o)/2-L*o,D=f?"right":"left";P.forEach(H=>{H.style[t.isHorizontal()?D:"top"]=`${M}px`})}}w.forEach((P,b)=>{if(p.type==="fraction"&&(P.querySelectorAll($r(p.currentClass)).forEach(k=>{k.textContent=p.formatFractionCurrent(T+1)}),P.querySelectorAll($r(p.totalClass)).forEach(k=>{k.textContent=p.formatFractionTotal(_)})),p.type==="progressbar"){let k;p.progressbarOpposite?k=t.isHorizontal()?"vertical":"horizontal":k=t.isHorizontal()?"horizontal":"vertical";const L=(T+1)/_;let N=1,M=1;k==="horizontal"?N=L:M=L,P.querySelectorAll($r(p.progressbarFillClass)).forEach(D=>{D.style.transform=`translate3d(0,0,0) scaleX(${N}) scaleY(${M})`,D.style.transitionDuration=`${t.params.speed}ms`})}p.type==="custom"&&p.renderCustom?(P.innerHTML=p.renderCustom(t,T+1,_),b===0&&i("paginationRender",P)):(b===0&&i("paginationRender",P),i("paginationUpdate",P)),t.params.watchOverflow&&t.enabled&&P.classList[t.isLocked?"add":"remove"](p.lockClass)})}function v(){const f=t.params.pagination;if(u())return;const p=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 w=t.pagination.el;w=a(w);let T="";if(f.type==="bullets"){let C=t.params.loop?Math.ceil(p/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&C>p&&(C=p);for(let O=0;O`}f.type==="fraction"&&(f.renderFraction?T=f.renderFraction.call(t,f.currentClass,f.totalClass):T=` / `),f.type==="progressbar"&&(f.renderProgressbar?T=f.renderProgressbar.call(t,f.progressbarFillClass):T=``),t.pagination.bullets=[],w.forEach(C=>{f.type!=="custom"&&(C.innerHTML=T||""),f.type==="bullets"&&t.pagination.bullets.push(...C.querySelectorAll($r(f.bulletClass)))}),f.type!=="custom"&&i("paginationRender",w[0])}function y(){t.params.pagination=Rm(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const f=t.params.pagination;if(!f.el)return;let p;typeof f.el=="string"&&t.isElement&&(p=t.el.querySelector(f.el)),!p&&typeof f.el=="string"&&(p=[...document.querySelectorAll(f.el)]),p||(p=f.el),!(!p||p.length===0)&&(t.params.uniqueNavElements&&typeof f.el=="string"&&Array.isArray(p)&&p.length>1&&(p=[...t.el.querySelectorAll(f.el)],p.length>1&&(p=p.filter(w=>no(w,".swiper")[0]===t.el)[0])),Array.isArray(p)&&p.length===1&&(p=p[0]),Object.assign(t.pagination,{el:p}),p=a(p),p.forEach(w=>{f.type==="bullets"&&f.clickable&&w.classList.add(...(f.clickableClass||"").split(" ")),w.classList.add(f.modifierClass+f.type),w.classList.add(t.isHorizontal()?f.horizontalClass:f.verticalClass),f.type==="bullets"&&f.dynamicBullets&&(w.classList.add(`${f.modifierClass}${f.type}-dynamic`),l=0,f.dynamicMainBullets<1&&(f.dynamicMainBullets=1)),f.type==="progressbar"&&f.progressbarOpposite&&w.classList.add(f.progressbarOppositeClass),f.clickable&&w.addEventListener("click",d),t.enabled||w.classList.add(f.lockClass)}))}function g(){const f=t.params.pagination;if(u())return;let p=t.pagination.el;p&&(p=a(p),p.forEach(w=>{w.classList.remove(f.hiddenClass),w.classList.remove(f.modifierClass+f.type),w.classList.remove(t.isHorizontal()?f.horizontalClass:f.verticalClass),f.clickable&&(w.classList.remove(...(f.clickableClass||"").split(" ")),w.removeEventListener("click",d))})),t.pagination.bullets&&t.pagination.bullets.forEach(w=>w.classList.remove(...f.bulletActiveClass.split(" ")))}r("changeDirection",()=>{if(!t.pagination||!t.pagination.el)return;const f=t.params.pagination;let{el:p}=t.pagination;p=a(p),p.forEach(w=>{w.classList.remove(f.horizontalClass,f.verticalClass),w.classList.add(t.isHorizontal()?f.horizontalClass:f.verticalClass)})}),r("init",()=>{t.params.pagination.enabled===!1?h():(y(),v(),m())}),r("activeIndexChange",()=>{typeof t.snapIndex>"u"&&m()}),r("snapIndexChange",()=>{m()}),r("snapGridLengthChange",()=>{v(),m()}),r("destroy",()=>{g()}),r("enable disable",()=>{let{el:f}=t.pagination;f&&(f=a(f),f.forEach(p=>p.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass)))}),r("lock unlock",()=>{m()}),r("click",(f,p)=>{const w=p.target,T=a(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&T&&T.length>0&&!w.classList.contains(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&w===t.navigation.nextEl||t.navigation.prevEl&&w===t.navigation.prevEl))return;const C=T[0].classList.contains(t.params.pagination.hiddenClass);i(C===!0?"paginationShow":"paginationHide"),T.forEach(O=>O.classList.toggle(t.params.pagination.hiddenClass))}});const S=()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let{el:f}=t.pagination;f&&(f=a(f),f.forEach(p=>p.classList.remove(t.params.pagination.paginationDisabledClass))),y(),v(),m()},h=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let{el:f}=t.pagination;f&&(f=a(f),f.forEach(p=>p.classList.add(t.params.pagination.paginationDisabledClass))),g()};Object.assign(t.pagination,{enable:S,disable:h,render:v,update:m,init:y,destroy:g})}function N1(e){let{swiper:t,extendParams:n,on:r,emit:i,params:s}=e;t.autoplay={running:!1,paused:!1,timeLeft:0},n({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let o,l,a=s&&s.autoplay?s.autoplay.delay:3e3,u=s&&s.autoplay?s.autoplay.delay:3e3,c,d=new Date().getTime(),m,v,y,g,S,h,f;function p(I){!t||t.destroyed||!t.wrapperEl||I.target===t.wrapperEl&&(t.wrapperEl.removeEventListener("transitionend",p),!f&&b())}const w=()=>{if(t.destroyed||!t.autoplay.running)return;t.autoplay.paused?m=!0:m&&(u=c,m=!1);const I=t.autoplay.paused?c:d+u-new Date().getTime();t.autoplay.timeLeft=I,i("autoplayTimeLeft",I,I/a),l=requestAnimationFrame(()=>{w()})},T=()=>{let I;return t.virtual&&t.params.virtual.enabled?I=t.slides.filter(z=>z.classList.contains("swiper-slide-active"))[0]:I=t.slides[t.activeIndex],I?parseInt(I.getAttribute("data-swiper-autoplay"),10):void 0},C=I=>{if(t.destroyed||!t.autoplay.running)return;cancelAnimationFrame(l),w();let A=typeof I>"u"?t.params.autoplay.delay:I;a=t.params.autoplay.delay,u=t.params.autoplay.delay;const z=T();!Number.isNaN(z)&&z>0&&typeof I>"u"&&(A=z,a=z,u=z),c=A;const U=t.params.speed,X=()=>{!t||t.destroyed||(t.params.autoplay.reverseDirection?!t.isBeginning||t.params.loop||t.params.rewind?(t.slidePrev(U,!0,!0),i("autoplay")):t.params.autoplay.stopOnLastSlide||(t.slideTo(t.slides.length-1,U,!0,!0),i("autoplay")):!t.isEnd||t.params.loop||t.params.rewind?(t.slideNext(U,!0,!0),i("autoplay")):t.params.autoplay.stopOnLastSlide||(t.slideTo(0,U,!0,!0),i("autoplay")),t.params.cssMode&&(d=new Date().getTime(),requestAnimationFrame(()=>{C()})))};return A>0?(clearTimeout(o),o=setTimeout(()=>{X()},A)):requestAnimationFrame(()=>{X()}),A},O=()=>{d=new Date().getTime(),t.autoplay.running=!0,C(),i("autoplayStart")},_=()=>{t.autoplay.running=!1,clearTimeout(o),cancelAnimationFrame(l),i("autoplayStop")},P=(I,A)=>{if(t.destroyed||!t.autoplay.running)return;clearTimeout(o),I||(h=!0);const z=()=>{i("autoplayPause"),t.params.autoplay.waitForTransition?t.wrapperEl.addEventListener("transitionend",p):b()};if(t.autoplay.paused=!0,A){S&&(c=t.params.autoplay.delay),S=!1,z();return}c=(c||t.params.autoplay.delay)-(new Date().getTime()-d),!(t.isEnd&&c<0&&!t.params.loop)&&(c<0&&(c=0),z())},b=()=>{t.isEnd&&c<0&&!t.params.loop||t.destroyed||!t.autoplay.running||(d=new Date().getTime(),h?(h=!1,C(c)):C(),t.autoplay.paused=!1,i("autoplayResume"))},k=()=>{if(t.destroyed||!t.autoplay.running)return;const I=gt();I.visibilityState==="hidden"&&(h=!0,P(!0)),I.visibilityState==="visible"&&b()},L=I=>{I.pointerType==="mouse"&&(h=!0,f=!0,!(t.animating||t.autoplay.paused)&&P(!0))},N=I=>{I.pointerType==="mouse"&&(f=!1,t.autoplay.paused&&b())},M=()=>{t.params.autoplay.pauseOnMouseEnter&&(t.el.addEventListener("pointerenter",L),t.el.addEventListener("pointerleave",N))},D=()=>{t.el.removeEventListener("pointerenter",L),t.el.removeEventListener("pointerleave",N)},H=()=>{gt().addEventListener("visibilitychange",k)},Q=()=>{gt().removeEventListener("visibilitychange",k)};r("init",()=>{t.params.autoplay.enabled&&(M(),H(),O())}),r("destroy",()=>{D(),Q(),t.autoplay.running&&_()}),r("_freeModeStaticRelease",()=>{(y||h)&&b()}),r("_freeModeNoMomentumRelease",()=>{t.params.autoplay.disableOnInteraction?_():P(!0,!0)}),r("beforeTransitionStart",(I,A,z)=>{t.destroyed||!t.autoplay.running||(z||!t.params.autoplay.disableOnInteraction?P(!0,!0):_())}),r("sliderFirstMove",()=>{if(!(t.destroyed||!t.autoplay.running)){if(t.params.autoplay.disableOnInteraction){_();return}v=!0,y=!1,h=!1,g=setTimeout(()=>{h=!0,y=!0,P(!0)},200)}}),r("touchEnd",()=>{if(!(t.destroyed||!t.autoplay.running||!v)){if(clearTimeout(g),clearTimeout(o),t.params.autoplay.disableOnInteraction){y=!1,v=!1;return}y&&t.params.cssMode&&b(),y=!1,v=!1}}),r("slideChange",()=>{t.destroyed||!t.autoplay.running||(S=!0)}),Object.assign(t.autoplay,{start:O,stop:_,pause:P,resume:b})}let gl;function O1(){const e=Oe(),t=gt();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}function Am(){return gl||(gl=O1()),gl}let vl;function j1(e){let{userAgent:t}=e===void 0?{}:e;const n=Am(),r=Oe(),i=r.navigator.platform,s=t||r.navigator.userAgent,o={ios:!1,android:!1},l=r.screen.width,a=r.screen.height,u=s.match(/(Android);?[\s\/]+([\d.]+)?/);let c=s.match(/(iPad).*OS\s([\d_]+)/);const d=s.match(/(iPod)(.*OS\s([\d_]+))?/),m=!c&&s.match(/(iPhone\sOS|iOS)\s([\d_]+)/),v=i==="Win32";let y=i==="MacIntel";const g=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&y&&n.touch&&g.indexOf(`${l}x${a}`)>=0&&(c=s.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),y=!1),u&&!v&&(o.os="android",o.android=!0),(c||m||d)&&(o.os="ios",o.ios=!0),o}function I1(e){return e===void 0&&(e={}),vl||(vl=j1(e)),vl}let yl;function M1(){const e=Oe();let t=!1;function n(){const r=e.navigator.userAgent.toLowerCase();return r.indexOf("safari")>=0&&r.indexOf("chrome")<0&&r.indexOf("android")<0}if(n()){const r=String(e.navigator.userAgent);if(r.includes("Version/")){const[i,s]=r.split("Version/")[1].split(" ")[0].split(".").map(o=>Number(o));t=i<16||i===16&&s<2}}return{isSafari:t||n(),needPerspectiveFix:t,isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}function R1(){return yl||(yl=M1()),yl}function A1(e){let{swiper:t,on:n,emit:r}=e;const i=Oe();let s=null,o=null;const l=()=>{!t||t.destroyed||!t.initialized||(r("beforeResize"),r("resize"))},a=()=>{!t||t.destroyed||!t.initialized||(s=new ResizeObserver(d=>{o=i.requestAnimationFrame(()=>{const{width:m,height:v}=t;let y=m,g=v;d.forEach(S=>{let{contentBoxSize:h,contentRect:f,target:p}=S;p&&p!==t.el||(y=f?f.width:(h[0]||h).inlineSize,g=f?f.height:(h[0]||h).blockSize)}),(y!==m||g!==v)&&l()})}),s.observe(t.el))},u=()=>{o&&i.cancelAnimationFrame(o),s&&s.unobserve&&t.el&&(s.unobserve(t.el),s=null)},c=()=>{!t||t.destroyed||!t.initialized||r("orientationchange")};n("init",()=>{if(t.params.resizeObserver&&typeof i.ResizeObserver<"u"){a();return}i.addEventListener("resize",l),i.addEventListener("orientationchange",c)}),n("destroy",()=>{u(),i.removeEventListener("resize",l),i.removeEventListener("orientationchange",c)})}function z1(e){let{swiper:t,extendParams:n,on:r,emit:i}=e;const s=[],o=Oe(),l=function(c,d){d===void 0&&(d={});const m=o.MutationObserver||o.WebkitMutationObserver,v=new m(y=>{if(t.__preventObserver__)return;if(y.length===1){i("observerUpdate",y[0]);return}const g=function(){i("observerUpdate",y[0])};o.requestAnimationFrame?o.requestAnimationFrame(g):o.setTimeout(g,0)});v.observe(c,{attributes:typeof d.attributes>"u"?!0:d.attributes,childList:typeof d.childList>"u"?!0:d.childList,characterData:typeof d.characterData>"u"?!0:d.characterData}),s.push(v)},a=()=>{if(t.params.observer){if(t.params.observeParents){const c=no(t.hostEl);for(let d=0;d{s.forEach(c=>{c.disconnect()}),s.splice(0,s.length)};n({observer:!1,observeParents:!1,observeSlideChildren:!1}),r("init",a),r("destroy",u)}var $1={on(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed||typeof t!="function")return r;const i=n?"unshift":"push";return e.split(" ").forEach(s=>{r.eventsListeners[s]||(r.eventsListeners[s]=[]),r.eventsListeners[s][i](t)}),r},once(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed||typeof t!="function")return r;function i(){r.off(e,i),i.__emitterProxy&&delete i.__emitterProxy;for(var s=arguments.length,o=new Array(s),l=0;l=0&&t.eventsAnyListeners.splice(n,1),t},off(e,t){const n=this;return!n.eventsListeners||n.destroyed||!n.eventsListeners||e.split(" ").forEach(r=>{typeof t>"u"?n.eventsListeners[r]=[]:n.eventsListeners[r]&&n.eventsListeners[r].forEach((i,s)=>{(i===t||i.__emitterProxy&&i.__emitterProxy===t)&&n.eventsListeners[r].splice(s,1)})}),n},emit(){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsListeners)return e;let t,n,r;for(var i=arguments.length,s=new Array(i),o=0;o{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach(u=>{u.apply(r,[a,...n])}),e.eventsListeners&&e.eventsListeners[a]&&e.eventsListeners[a].forEach(u=>{u.apply(r,n)})}),e}};function D1(){const e=this;let t,n;const r=e.el;typeof e.params.width<"u"&&e.params.width!==null?t=e.params.width:t=r.clientWidth,typeof e.params.height<"u"&&e.params.height!==null?n=e.params.height:n=r.clientHeight,!(t===0&&e.isHorizontal()||n===0&&e.isVertical())&&(t=t-parseInt(on(r,"padding-left")||0,10)-parseInt(on(r,"padding-right")||0,10),n=n-parseInt(on(r,"padding-top")||0,10)-parseInt(on(r,"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}))}function F1(){const e=this;function t(b,k){return parseFloat(b.getPropertyValue(e.getDirectionLabel(k))||0)}const n=e.params,{wrapperEl:r,slidesEl:i,size:s,rtlTranslate:o,wrongRTL:l}=e,a=e.virtual&&n.virtual.enabled,u=a?e.virtual.slides.length:e.slides.length,c=St(i,`.${e.params.slideClass}, swiper-slide`),d=a?e.virtual.slides.length:c.length;let m=[];const v=[],y=[];let g=n.slidesOffsetBefore;typeof g=="function"&&(g=n.slidesOffsetBefore.call(e));let S=n.slidesOffsetAfter;typeof S=="function"&&(S=n.slidesOffsetAfter.call(e));const h=e.snapGrid.length,f=e.slidesGrid.length;let p=n.spaceBetween,w=-g,T=0,C=0;if(typeof s>"u")return;typeof p=="string"&&p.indexOf("%")>=0?p=parseFloat(p.replace("%",""))/100*s:typeof p=="string"&&(p=parseFloat(p)),e.virtualSize=-p,c.forEach(b=>{o?b.style.marginLeft="":b.style.marginRight="",b.style.marginBottom="",b.style.marginTop=""}),n.centeredSlides&&n.cssMode&&(es(r,"--swiper-centered-offset-before",""),es(r,"--swiper-centered-offset-after",""));const O=n.grid&&n.grid.rows>1&&e.grid;O?e.grid.initSlides(c):e.grid&&e.grid.unsetSlides();let _;const P=n.slidesPerView==="auto"&&n.breakpoints&&Object.keys(n.breakpoints).filter(b=>typeof n.breakpoints[b].slidesPerView<"u").length>0;for(let b=0;b1&&m.push(e.virtualSize-s)}if(a&&n.loop){const b=y[0]+p;if(n.slidesPerGroup>1){const k=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/n.slidesPerGroup),L=b*n.slidesPerGroup;for(let N=0;N!n.cssMode||n.loop?!0:L!==c.length-1).forEach(k=>{k.style[b]=`${p}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let b=0;y.forEach(L=>{b+=L+(p||0)}),b-=p;const k=b-s;m=m.map(L=>L<=0?-g:L>k?k+S:L)}if(n.centerInsufficientSlides){let b=0;if(y.forEach(k=>{b+=k+(p||0)}),b-=p,b{m[N]=L-k}),v.forEach((L,N)=>{v[N]=L+k})}}if(Object.assign(e,{slides:c,snapGrid:m,slidesGrid:v,slidesSizesGrid:y}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){es(r,"--swiper-centered-offset-before",`${-m[0]}px`),es(r,"--swiper-centered-offset-after",`${e.size/2-y[y.length-1]/2}px`);const b=-e.snapGrid[0],k=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(L=>L+b),e.slidesGrid=e.slidesGrid.map(L=>L+k)}if(d!==u&&e.emit("slidesLengthChange"),m.length!==h&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),v.length!==f&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!a&&!n.cssMode&&(n.effect==="slide"||n.effect==="fade")){const b=`${n.containerModifierClass}backface-hidden`,k=e.el.classList.contains(b);d<=n.maxBackfaceHiddenSlides?k||e.el.classList.add(b):k&&e.el.classList.remove(b)}}function B1(e){const t=this,n=[],r=t.virtual&&t.params.virtual.enabled;let i=0,s;typeof e=="number"?t.setTransition(e):e===!0&&t.setTransition(t.params.speed);const o=l=>r?t.slides[t.getSlideIndexByData(l)]:t.slides[l];if(t.params.slidesPerView!=="auto"&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach(l=>{n.push(l)});else for(s=0;st.slides.length&&!r)break;n.push(o(l))}else n.push(o(t.activeIndex));for(s=0;si?l:i}(i||i===0)&&(t.wrapperEl.style.height=`${i}px`)}function U1(){const e=this,t=e.slides,n=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let r=0;r"u"&&t.updateSlidesOffset();let o=-e;i&&(o=e),r.forEach(a=>{a.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass)}),t.visibleSlidesIndexes=[],t.visibleSlides=[];let l=n.spaceBetween;typeof l=="string"&&l.indexOf("%")>=0?l=parseFloat(l.replace("%",""))/100*t.size:typeof l=="string"&&(l=parseFloat(l));for(let a=0;a=0&&v<=t.size-t.slidesSizesGrid[a];(v>=0&&v1&&y<=t.size||v<=0&&y>=t.size)&&(t.visibleSlides.push(u),t.visibleSlidesIndexes.push(a),r[a].classList.add(n.slideVisibleClass)),g&&r[a].classList.add(n.slideFullyVisibleClass),u.progress=i?-d:d,u.originalProgress=i?-m:m}}function V1(e){const t=this;if(typeof e>"u"){const c=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*c||0}const n=t.params,r=t.maxTranslate()-t.minTranslate();let{progress:i,isBeginning:s,isEnd:o,progressLoop:l}=t;const a=s,u=o;if(r===0)i=0,s=!0,o=!0;else{i=(e-t.minTranslate())/r;const c=Math.abs(e-t.minTranslate())<1,d=Math.abs(e-t.maxTranslate())<1;s=c||i<=0,o=d||i>=1,c&&(i=0),d&&(i=1)}if(n.loop){const c=t.getSlideIndexByData(0),d=t.getSlideIndexByData(t.slides.length-1),m=t.slidesGrid[c],v=t.slidesGrid[d],y=t.slidesGrid[t.slidesGrid.length-1],g=Math.abs(e);g>=m?l=(g-m)/y:l=(g+y-v)/y,l>1&&(l-=1)}Object.assign(t,{progress:i,progressLoop:l,isBeginning:s,isEnd:o}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),s&&!a&&t.emit("reachBeginning toEdge"),o&&!u&&t.emit("reachEnd toEdge"),(a&&!s||u&&!o)&&t.emit("fromEdge"),t.emit("progress",i)}function W1(){const e=this,{slides:t,params:n,slidesEl:r,activeIndex:i}=e,s=e.virtual&&n.virtual.enabled,o=e.grid&&n.grid&&n.grid.rows>1,l=d=>St(r,`.${n.slideClass}${d}, swiper-slide${d}`)[0];t.forEach(d=>{d.classList.remove(n.slideActiveClass,n.slideNextClass,n.slidePrevClass)});let a,u,c;if(s)if(n.loop){let d=i-e.virtual.slidesBefore;d<0&&(d=e.virtual.slides.length+d),d>=e.virtual.slides.length&&(d-=e.virtual.slides.length),a=l(`[data-swiper-slide-index="${d}"]`)}else a=l(`[data-swiper-slide-index="${i}"]`);else o?(a=t.filter(d=>d.column===i)[0],c=t.filter(d=>d.column===i+1)[0],u=t.filter(d=>d.column===i-1)[0]):a=t[i];a&&(a.classList.add(n.slideActiveClass),o?(c&&c.classList.add(n.slideNextClass),u&&u.classList.add(n.slidePrevClass)):(c=k1(a,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!c&&(c=t[0]),c&&c.classList.add(n.slideNextClass),u=C1(a,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!u===0&&(u=t[t.length-1]),u&&u.classList.add(n.slidePrevClass))),e.emitSlidesClasses()}const gs=(e,t)=>{if(!e||e.destroyed||!e.params)return;const n=()=>e.isElement?"swiper-slide":`.${e.params.slideClass}`,r=t.closest(n());if(r){let i=r.querySelector(`.${e.params.lazyPreloaderClass}`);!i&&e.isElement&&(r.shadowRoot?i=r.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{r.shadowRoot&&(i=r.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),i&&i.remove())})),i&&i.remove()}},wl=(e,t)=>{if(!e.slides[t])return;const n=e.slides[t].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},Ra=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 r=e.params.slidesPerView==="auto"?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),i=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const o=i,l=[o-t];l.push(...Array.from({length:t}).map((a,u)=>o+r+u)),e.slides.forEach((a,u)=>{l.includes(a.column)&&wl(e,u)});return}const s=i+r-1;if(e.params.rewind||e.params.loop)for(let o=i-t;o<=s+t;o+=1){const l=(o%n+n)%n;(ls)&&wl(e,l)}else for(let o=Math.max(i-t,0);o<=Math.min(s+t,n-1);o+=1)o!==i&&(o>s||o=t[s]&&r=t[s]&&r=t[s]&&(i=s);return n.normalizeSlideIndex&&(i<0||typeof i>"u")&&(i=0),i}function q1(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{snapGrid:r,params:i,activeIndex:s,realIndex:o,snapIndex:l}=t;let a=e,u;const c=v=>{let y=v-t.virtual.slidesBefore;return y<0&&(y=t.virtual.slides.length+y),y>=t.virtual.slides.length&&(y-=t.virtual.slides.length),y};if(typeof a>"u"&&(a=G1(t)),r.indexOf(n)>=0)u=r.indexOf(n);else{const v=Math.min(i.slidesPerGroupSkip,a);u=v+Math.floor((a-v)/i.slidesPerGroup)}if(u>=r.length&&(u=r.length-1),a===s&&!t.params.loop){u!==l&&(t.snapIndex=u,t.emit("snapIndexChange"));return}if(a===s&&t.params.loop&&t.virtual&&t.params.virtual.enabled){t.realIndex=c(a);return}const d=t.grid&&i.grid&&i.grid.rows>1;let m;if(t.virtual&&i.virtual.enabled&&i.loop)m=c(a);else if(d){const v=t.slides.filter(g=>g.column===a)[0];let y=parseInt(v.getAttribute("data-swiper-slide-index"),10);Number.isNaN(y)&&(y=Math.max(t.slides.indexOf(v),0)),m=Math.floor(y/i.grid.rows)}else if(t.slides[a]){const v=t.slides[a].getAttribute("data-swiper-slide-index");v?m=parseInt(v,10):m=a}else m=a;Object.assign(t,{previousSnapIndex:l,snapIndex:u,previousRealIndex:o,realIndex:m,previousIndex:s,activeIndex:a}),t.initialized&&Ra(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(o!==m&&t.emit("realIndexChange"),t.emit("slideChange"))}function X1(e,t){const n=this,r=n.params;let i=e.closest(`.${r.slideClass}, swiper-slide`);!i&&n.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(l=>{!i&&l.matches&&l.matches(`.${r.slideClass}, swiper-slide`)&&(i=l)});let s=!1,o;if(i){for(let l=0;la?c=a:r&&eo?l="next":s=a.length&&(S=a.length-1);const h=-a[S];if(l.normalizeSlideIndex)for(let p=0;p=T&&w=T&&w=T&&(o=p)}if(s.initialized&&o!==d&&(!s.allowSlideNext&&(m?h>s.translate&&h>s.minTranslate():hs.translate&&h>s.maxTranslate()&&(d||0)!==o))return!1;o!==(c||0)&&n&&s.emit("beforeSlideChangeStart"),s.updateProgress(h);let f;if(o>d?f="next":o0?(s._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{v[p?"scrollLeft":"scrollTop"]=w})):v[p?"scrollLeft":"scrollTop"]=w,T&&requestAnimationFrame(()=>{s.wrapperEl.style.scrollSnapType="",s._immediateVirtual=!1})}else{if(!s.support.smoothScroll)return Mm({swiper:s,targetPosition:w,side:p?"left":"top"}),!0;v.scrollTo({[p?"left":"top"]:w,behavior:"smooth"})}return!0}return s.setTransition(t),s.setTranslate(h),s.updateActiveIndex(o),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,r),s.transitionStart(n,f),t===0?s.transitionEnd(n,f):s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(w){!s||s.destroyed||w.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(n,f))}),s.wrapperEl.addEventListener("transitionend",s.onSlideToWrapperTransitionEnd)),!0}function lw(e,t,n,r){e===void 0&&(e=0),t===void 0&&(t=this.params.speed),n===void 0&&(n=!0),typeof e=="string"&&(e=parseInt(e,10));const i=this,s=i.grid&&i.params.grid&&i.params.grid.rows>1;let o=e;if(i.params.loop)if(i.virtual&&i.params.virtual.enabled)o=o+i.virtual.slidesBefore;else{let l;if(s){const m=o*i.params.grid.rows;l=i.slides.filter(v=>v.getAttribute("data-swiper-slide-index")*1===m)[0].column}else l=i.getSlideIndexByData(o);const a=s?Math.ceil(i.slides.length/i.params.grid.rows):i.slides.length,{centeredSlides:u}=i.params;let c=i.params.slidesPerView;c==="auto"?c=i.slidesPerViewDynamic():(c=Math.ceil(parseFloat(i.params.slidesPerView,10)),u&&c%2===0&&(c=c+1));let d=a-lv.getAttribute("data-swiper-slide-index")*1===m)[0].column}else o=i.getSlideIndexByData(o)}return requestAnimationFrame(()=>{i.slideTo(o,t,n,r)}),i}function aw(e,t,n){e===void 0&&(e=this.params.speed),t===void 0&&(t=!0);const r=this,{enabled:i,params:s,animating:o}=r;if(!i)return r;let l=s.slidesPerGroup;s.slidesPerView==="auto"&&s.slidesPerGroup===1&&s.slidesPerGroupAuto&&(l=Math.max(r.slidesPerViewDynamic("current",!0),1));const a=r.activeIndex{r.slideTo(r.activeIndex+a,e,t,n)}),!0}return s.rewind&&r.isEnd?r.slideTo(0,e,t,n):r.slideTo(r.activeIndex+a,e,t,n)}function uw(e,t,n){e===void 0&&(e=this.params.speed),t===void 0&&(t=!0);const r=this,{params:i,snapGrid:s,slidesGrid:o,rtlTranslate:l,enabled:a,animating:u}=r;if(!a)return r;const c=r.virtual&&i.virtual.enabled;if(i.loop){if(u&&!c&&i.loopPreventsSliding)return!1;r.loopFix({direction:"prev"}),r._clientLeft=r.wrapperEl.clientLeft}const d=l?r.translate:-r.translate;function m(h){return h<0?-Math.floor(Math.abs(h)):Math.floor(h)}const v=m(d),y=s.map(h=>m(h));let g=s[y.indexOf(v)-1];if(typeof g>"u"&&i.cssMode){let h;s.forEach((f,p)=>{v>=f&&(h=p)}),typeof h<"u"&&(g=s[h>0?h-1:h])}let S=0;if(typeof g<"u"&&(S=o.indexOf(g),S<0&&(S=r.activeIndex-1),i.slidesPerView==="auto"&&i.slidesPerGroup===1&&i.slidesPerGroupAuto&&(S=S-r.slidesPerViewDynamic("previous",!0)+1,S=Math.max(S,0))),i.rewind&&r.isBeginning){const h=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(h,e,t,n)}else if(i.loop&&r.activeIndex===0&&i.cssMode)return requestAnimationFrame(()=>{r.slideTo(S,e,t,n)}),!0;return r.slideTo(S,e,t,n)}function cw(e,t,n){e===void 0&&(e=this.params.speed),t===void 0&&(t=!0);const r=this;return r.slideTo(r.activeIndex,e,t,n)}function dw(e,t,n,r){e===void 0&&(e=this.params.speed),t===void 0&&(t=!0),r===void 0&&(r=.5);const i=this;let s=i.activeIndex;const o=Math.min(i.params.slidesPerGroupSkip,s),l=o+Math.floor((s-o)/i.params.slidesPerGroup),a=i.rtlTranslate?i.translate:-i.translate;if(a>=i.snapGrid[l]){const u=i.snapGrid[l],c=i.snapGrid[l+1];a-u>(c-u)*r&&(s+=i.params.slidesPerGroup)}else{const u=i.snapGrid[l-1],c=i.snapGrid[l];a-u<=(c-u)*r&&(s-=i.params.slidesPerGroup)}return s=Math.max(s,0),s=Math.min(s,i.slidesGrid.length-1),i.slideTo(s,e,t,n)}function fw(){const e=this,{params:t,slidesEl:n}=e,r=t.slidesPerView==="auto"?e.slidesPerViewDynamic():t.slidesPerView;let i=e.clickedIndex,s;const o=e.isElement?"swiper-slide":`.${t.slideClass}`;if(t.loop){if(e.animating)return;s=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?ie.slides.length-e.loopedSlides+r/2?(e.loopFix(),i=e.getSlideIndex(St(n,`${o}[data-swiper-slide-index="${s}"]`)[0]),Si(()=>{e.slideTo(i)})):e.slideTo(i):i>e.slides.length-r?(e.loopFix(),i=e.getSlideIndex(St(n,`${o}[data-swiper-slide-index="${s}"]`)[0]),Si(()=>{e.slideTo(i)})):e.slideTo(i)}else e.slideTo(i)}var pw={slideTo:ow,slideToLoop:lw,slideNext:aw,slidePrev:uw,slideReset:cw,slideToClosest:dw,slideToClickedSlide:fw};function mw(e){const t=this,{params:n,slidesEl:r}=t;if(!n.loop||t.virtual&&t.params.virtual.enabled)return;const i=()=>{St(r,`.${n.slideClass}, swiper-slide`).forEach((d,m)=>{d.setAttribute("data-swiper-slide-index",m)})},s=t.grid&&n.grid&&n.grid.rows>1,o=n.slidesPerGroup*(s?n.grid.rows:1),l=t.slides.length%o!==0,a=s&&t.slides.length%n.grid.rows!==0,u=c=>{for(let d=0;d1;u.length"u"?s=a.getSlideIndex(u.filter(N=>N.classList.contains(v.slideActiveClass))[0]):T=s;const C=r==="next"||!r,O=r==="prev"||!r;let _=0,P=0;const b=f?Math.ceil(u.length/v.grid.rows):u.length,L=(f?u[s].column:s)+(y&&typeof i>"u"?-g/2+.5:0);if(L=0;H-=1)u[H].column===D&&p.push(H)}else p.push(b-M-1)}}else if(L+g>b-h){P=Math.max(L-(b-h*2),S);for(let N=0;N{D.column===M&&w.push(H)}):w.push(M)}}if(a.__preventObserver__=!0,requestAnimationFrame(()=>{a.__preventObserver__=!1}),O&&p.forEach(N=>{u[N].swiperLoopMoveDOM=!0,m.prepend(u[N]),u[N].swiperLoopMoveDOM=!1}),C&&w.forEach(N=>{u[N].swiperLoopMoveDOM=!0,m.append(u[N]),u[N].swiperLoopMoveDOM=!1}),a.recalcSlides(),v.slidesPerView==="auto"?a.updateSlides():f&&(p.length>0&&O||w.length>0&&C)&&a.slides.forEach((N,M)=>{a.grid.updateSlide(M,N,a.slides)}),v.watchSlidesProgress&&a.updateSlidesOffset(),n){if(p.length>0&&O){if(typeof t>"u"){const N=a.slidesGrid[T],D=a.slidesGrid[T+_]-N;l?a.setTranslate(a.translate-D):(a.slideTo(T+_,0,!1,!0),i&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-D,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-D))}else if(i){const N=f?p.length/v.grid.rows:p.length;a.slideTo(a.activeIndex+N,0,!1,!0),a.touchEventsData.currentTranslate=a.translate}}else if(w.length>0&&C)if(typeof t>"u"){const N=a.slidesGrid[T],D=a.slidesGrid[T-P]-N;l?a.setTranslate(a.translate-D):(a.slideTo(T-P,0,!1,!0),i&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-D,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-D))}else{const N=f?w.length/v.grid.rows:w.length;a.slideTo(a.activeIndex-N,0,!1,!0)}}if(a.allowSlidePrev=c,a.allowSlideNext=d,a.controller&&a.controller.control&&!o){const N={slideRealIndex:t,direction:r,setTranslate:i,activeSlideIndex:s,byController:!0};Array.isArray(a.controller.control)?a.controller.control.forEach(M=>{!M.destroyed&&M.params.loop&&M.loopFix({...N,slideTo:M.params.slidesPerView===v.slidesPerView?n:!1})}):a.controller.control instanceof a.constructor&&a.controller.control.params.loop&&a.controller.control.loopFix({...N,slideTo:a.controller.control.params.slidesPerView===v.slidesPerView?n:!1})}a.emit("loopFix")}function gw(){const e=this,{params:t,slidesEl:n}=e;if(!t.loop||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const r=[];e.slides.forEach(i=>{const s=typeof i.swiperSlideIndex>"u"?i.getAttribute("data-swiper-slide-index")*1:i.swiperSlideIndex;r[s]=i}),e.slides.forEach(i=>{i.removeAttribute("data-swiper-slide-index")}),r.forEach(i=>{n.append(i)}),e.recalcSlides(),e.slideTo(e.realIndex,0)}var vw={loopCreate:mw,loopFix:hw,loopDestroy:gw};function yw(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n=t.params.touchEventsTarget==="container"?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})}function ww(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e[e.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}var xw={setGrabCursor:yw,unsetGrabCursor:ww};function Sw(e,t){t===void 0&&(t=this);function n(r){if(!r||r===gt()||r===Oe())return null;r.assignedSlot&&(r=r.assignedSlot);const i=r.closest(e);return!i&&!r.getRootNode?null:i||n(r.getRootNode().host)}return n(t)}function Ld(e,t,n){const r=Oe(),{params:i}=e,s=i.edgeSwipeDetection,o=i.edgeSwipeThreshold;return s&&(n<=o||n>=r.innerWidth-o)?s==="prevent"?(t.preventDefault(),!0):!1:!0}function Ew(e){const t=this,n=gt();let r=e;r.originalEvent&&(r=r.originalEvent);const i=t.touchEventsData;if(r.type==="pointerdown"){if(i.pointerId!==null&&i.pointerId!==r.pointerId)return;i.pointerId=r.pointerId}else r.type==="touchstart"&&r.targetTouches.length===1&&(i.touchId=r.targetTouches[0].identifier);if(r.type==="touchstart"){Ld(t,r,r.targetTouches[0].pageX);return}const{params:s,touches:o,enabled:l}=t;if(!l||!s.simulateTouch&&r.pointerType==="mouse"||t.animating&&s.preventInteractionOnTransition)return;!t.animating&&s.cssMode&&s.loop&&t.loopFix();let a=r.target;if(s.touchEventsTarget==="wrapper"&&!t.wrapperEl.contains(a)||"which"in r&&r.which===3||"button"in r&&r.button>0||i.isTouched&&i.isMoved)return;const u=!!s.noSwipingClass&&s.noSwipingClass!=="",c=r.composedPath?r.composedPath():r.path;u&&r.target&&r.target.shadowRoot&&c&&(a=c[0]);const d=s.noSwipingSelector?s.noSwipingSelector:`.${s.noSwipingClass}`,m=!!(r.target&&r.target.shadowRoot);if(s.noSwiping&&(m?Sw(d,a):a.closest(d))){t.allowClick=!0;return}if(s.swipeHandler&&!a.closest(s.swipeHandler))return;o.currentX=r.pageX,o.currentY=r.pageY;const v=o.currentX,y=o.currentY;if(!Ld(t,r,v))return;Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=v,o.startY=y,i.touchStartTime=jt(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,s.threshold>0&&(i.allowThresholdMove=!1);let g=!0;a.matches(i.focusableElements)&&(g=!1,a.nodeName==="SELECT"&&(i.isTouched=!1)),n.activeElement&&n.activeElement.matches(i.focusableElements)&&n.activeElement!==a&&n.activeElement.blur();const S=g&&t.allowTouchMove&&s.touchStartPreventDefault;(s.touchStartForcePreventDefault||S)&&!a.isContentEditable&&r.preventDefault(),s.freeMode&&s.freeMode.enabled&&t.freeMode&&t.animating&&!s.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",r)}function Tw(e){const t=gt(),n=this,r=n.touchEventsData,{params:i,touches:s,rtlTranslate:o,enabled:l}=n;if(!l||!i.simulateTouch&&e.pointerType==="mouse")return;let a=e;if(a.originalEvent&&(a=a.originalEvent),a.type==="pointermove"&&(r.touchId!==null||a.pointerId!==r.pointerId))return;let u;if(a.type==="touchmove"){if(u=[...a.changedTouches].filter(C=>C.identifier===r.touchId)[0],!u||u.identifier!==r.touchId)return}else u=a;if(!r.isTouched){r.startMoving&&r.isScrolling&&n.emit("touchMoveOpposite",a);return}const c=u.pageX,d=u.pageY;if(a.preventedByNestedSwiper){s.startX=c,s.startY=d;return}if(!n.allowTouchMove){a.target.matches(r.focusableElements)||(n.allowClick=!1),r.isTouched&&(Object.assign(s,{startX:c,startY:d,currentX:c,currentY:d}),r.touchStartTime=jt());return}if(i.touchReleaseOnEdges&&!i.loop){if(n.isVertical()){if(ds.startY&&n.translate>=n.minTranslate()){r.isTouched=!1,r.isMoved=!1;return}}else if(cs.startX&&n.translate>=n.minTranslate())return}if(t.activeElement&&a.target===t.activeElement&&a.target.matches(r.focusableElements)){r.isMoved=!0,n.allowClick=!1;return}r.allowTouchCallbacks&&n.emit("touchMove",a),s.previousX=s.currentX,s.previousY=s.currentY,s.currentX=c,s.currentY=d;const m=s.currentX-s.startX,v=s.currentY-s.startY;if(n.params.threshold&&Math.sqrt(m**2+v**2)"u"){let C;n.isHorizontal()&&s.currentY===s.startY||n.isVertical()&&s.currentX===s.startX?r.isScrolling=!1:m*m+v*v>=25&&(C=Math.atan2(Math.abs(v),Math.abs(m))*180/Math.PI,r.isScrolling=n.isHorizontal()?C>i.touchAngle:90-C>i.touchAngle)}if(r.isScrolling&&n.emit("touchMoveOpposite",a),typeof r.startMoving>"u"&&(s.currentX!==s.startX||s.currentY!==s.startY)&&(r.startMoving=!0),r.isScrolling){r.isTouched=!1;return}if(!r.startMoving)return;n.allowClick=!1,!i.cssMode&&a.cancelable&&a.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&a.stopPropagation();let y=n.isHorizontal()?m:v,g=n.isHorizontal()?s.currentX-s.previousX:s.currentY-s.previousY;i.oneWayMovement&&(y=Math.abs(y)*(o?1:-1),g=Math.abs(g)*(o?1:-1)),s.diff=y,y*=i.touchRatio,o&&(y=-y,g=-g);const S=n.touchesDirection;n.swipeDirection=y>0?"prev":"next",n.touchesDirection=g>0?"prev":"next";const h=n.params.loop&&!i.cssMode,f=n.touchesDirection==="next"&&n.allowSlideNext||n.touchesDirection==="prev"&&n.allowSlidePrev;if(!r.isMoved){if(h&&f&&n.loopFix({direction:n.swipeDirection}),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){const C=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});n.wrapperEl.dispatchEvent(C)}r.allowMomentumBounce=!1,i.grabCursor&&(n.allowSlideNext===!0||n.allowSlidePrev===!0)&&n.setGrabCursor(!0),n.emit("sliderFirstMove",a)}let p;if(new Date().getTime(),r.isMoved&&r.allowThresholdMove&&S!==n.touchesDirection&&h&&f&&Math.abs(y)>=1){Object.assign(s,{startX:c,startY:d,currentX:c,currentY:d,startTranslate:r.currentTranslate}),r.loopSwapReset=!0,r.startTranslate=r.currentTranslate;return}n.emit("sliderMove",a),r.isMoved=!0,r.currentTranslate=y+r.startTranslate;let w=!0,T=i.resistanceRatio;if(i.touchReleaseOnEdges&&(T=0),y>0?(h&&f&&!p&&r.allowThresholdMove&&r.currentTranslate>(i.centeredSlides?n.minTranslate()-n.slidesSizesGrid[n.activeIndex+1]:n.minTranslate())&&n.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),r.currentTranslate>n.minTranslate()&&(w=!1,i.resistance&&(r.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+r.startTranslate+y)**T))):y<0&&(h&&f&&!p&&r.allowThresholdMove&&r.currentTranslate<(i.centeredSlides?n.maxTranslate()+n.slidesSizesGrid[n.slidesSizesGrid.length-1]:n.maxTranslate())&&n.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:n.slides.length-(i.slidesPerView==="auto"?n.slidesPerViewDynamic():Math.ceil(parseFloat(i.slidesPerView,10)))}),r.currentTranslater.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&!n.allowSlideNext&&(r.currentTranslate=r.startTranslate),i.threshold>0)if(Math.abs(y)>i.threshold||r.allowThresholdMove){if(!r.allowThresholdMove){r.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,r.currentTranslate=r.startTranslate,s.diff=n.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY;return}}else{r.currentTranslate=r.startTranslate;return}!i.followFinger||i.cssMode||((i.freeMode&&i.freeMode.enabled&&n.freeMode||i.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),i.freeMode&&i.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}function Cw(e){const t=this,n=t.touchEventsData;let r=e;r.originalEvent&&(r=r.originalEvent);let i;if(r.type==="touchend"||r.type==="touchcancel"){if(i=[...r.changedTouches].filter(T=>T.identifier===n.touchId)[0],!i||i.identifier!==n.touchId)return}else{if(n.touchId!==null||r.pointerId!==n.pointerId)return;i=r}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(r.type)&&!(["pointercancel","contextmenu"].includes(r.type)&&(t.browser.isSafari||t.browser.isWebView)))return;n.pointerId=null,n.touchId=null;const{params:o,touches:l,rtlTranslate:a,slidesGrid:u,enabled:c}=t;if(!c||!o.simulateTouch&&r.pointerType==="mouse")return;if(n.allowTouchCallbacks&&t.emit("touchEnd",r),n.allowTouchCallbacks=!1,!n.isTouched){n.isMoved&&o.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,n.startMoving=!1;return}o.grabCursor&&n.isMoved&&n.isTouched&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!1);const d=jt(),m=d-n.touchStartTime;if(t.allowClick){const T=r.path||r.composedPath&&r.composedPath();t.updateClickedSlide(T&&T[0]||r.target,T),t.emit("tap click",r),m<300&&d-n.lastClickTime<300&&t.emit("doubleTap doubleClick",r)}if(n.lastClickTime=jt(),Si(()=>{t.destroyed||(t.allowClick=!0)}),!n.isTouched||!n.isMoved||!t.swipeDirection||l.diff===0&&!n.loopSwapReset||n.currentTranslate===n.startTranslate&&!n.loopSwapReset){n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;return}n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;let v;if(o.followFinger?v=a?t.translate:-t.translate:v=-n.currentTranslate,o.cssMode)return;if(o.freeMode&&o.freeMode.enabled){t.freeMode.onTouchEnd({currentPos:v});return}const y=v>=-t.maxTranslate()&&!t.params.loop;let g=0,S=t.slidesSizesGrid[0];for(let T=0;T=u[T]&&v=u[T])&&(g=T,S=u[u.length-1]-u[u.length-2])}let h=null,f=null;o.rewind&&(t.isBeginning?f=o.virtual&&o.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(h=0));const p=(v-u[g])/S,w=go.longSwipesMs){if(!o.longSwipes){t.slideTo(t.activeIndex);return}t.swipeDirection==="next"&&(p>=o.longSwipesRatio?t.slideTo(o.rewind&&t.isEnd?h:g+w):t.slideTo(g)),t.swipeDirection==="prev"&&(p>1-o.longSwipesRatio?t.slideTo(g+w):f!==null&&p<0&&Math.abs(p)>o.longSwipesRatio?t.slideTo(f):t.slideTo(g))}else{if(!o.shortSwipes){t.slideTo(t.activeIndex);return}t.navigation&&(r.target===t.navigation.nextEl||r.target===t.navigation.prevEl)?r.target===t.navigation.nextEl?t.slideTo(g+w):t.slideTo(g):(t.swipeDirection==="next"&&t.slideTo(h!==null?h:g+w),t.swipeDirection==="prev"&&t.slideTo(f!==null?f:g))}}function Nd(){const e=this,{params:t,el:n}=e;if(n&&n.offsetWidth===0)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:r,allowSlidePrev:i,snapGrid:s}=e,o=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const l=o&&t.loop;(t.slidesPerView==="auto"||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides&&!l?e.slideTo(e.slides.length-1,0,!1,!0):e.params.loop&&!o?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,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=i,e.allowSlideNext=r,e.params.watchOverflow&&s!==e.snapGrid&&e.checkOverflow()}function kw(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function bw(){const e=this,{wrapperEl:t,rtlTranslate:n,enabled:r}=e;if(!r)return;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,e.translate===0&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();let i;const s=e.maxTranslate()-e.minTranslate();s===0?i=0:i=(e.translate-e.minTranslate())/s,i!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function Pw(e){const t=this;gs(t,e.target),!(t.params.cssMode||t.params.slidesPerView!=="auto"&&!t.params.autoHeight)&&t.update()}function _w(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const $m=(e,t)=>{const n=gt(),{params:r,el:i,wrapperEl:s,device:o}=e,l=!!r.nested,a=t==="on"?"addEventListener":"removeEventListener",u=t;n[a]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:l}),i[a]("touchstart",e.onTouchStart,{passive:!1}),i[a]("pointerdown",e.onTouchStart,{passive:!1}),n[a]("touchmove",e.onTouchMove,{passive:!1,capture:l}),n[a]("pointermove",e.onTouchMove,{passive:!1,capture:l}),n[a]("touchend",e.onTouchEnd,{passive:!0}),n[a]("pointerup",e.onTouchEnd,{passive:!0}),n[a]("pointercancel",e.onTouchEnd,{passive:!0}),n[a]("touchcancel",e.onTouchEnd,{passive:!0}),n[a]("pointerout",e.onTouchEnd,{passive:!0}),n[a]("pointerleave",e.onTouchEnd,{passive:!0}),n[a]("contextmenu",e.onTouchEnd,{passive:!0}),(r.preventClicks||r.preventClicksPropagation)&&i[a]("click",e.onClick,!0),r.cssMode&&s[a]("scroll",e.onScroll),r.updateOnWindowResize?e[u](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",Nd,!0):e[u]("observerUpdate",Nd,!0),i[a]("load",e.onLoad,{capture:!0})};function Lw(){const e=this,{params:t}=e;e.onTouchStart=Ew.bind(e),e.onTouchMove=Tw.bind(e),e.onTouchEnd=Cw.bind(e),e.onDocumentTouchStart=_w.bind(e),t.cssMode&&(e.onScroll=bw.bind(e)),e.onClick=kw.bind(e),e.onLoad=Pw.bind(e),$m(e,"on")}function Nw(){$m(this,"off")}var Ow={attachEvents:Lw,detachEvents:Nw};const Od=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;function jw(){const e=this,{realIndex:t,initialized:n,params:r,el:i}=e,s=r.breakpoints;if(!s||s&&Object.keys(s).length===0)return;const o=e.getBreakpoint(s,e.params.breakpointsBase,e.el);if(!o||e.currentBreakpoint===o)return;const a=(o in s?s[o]:void 0)||e.originalParams,u=Od(e,r),c=Od(e,a),d=r.enabled;u&&!c?(i.classList.remove(`${r.containerModifierClass}grid`,`${r.containerModifierClass}grid-column`),e.emitContainerClasses()):!u&&c&&(i.classList.add(`${r.containerModifierClass}grid`),(a.grid.fill&&a.grid.fill==="column"||!a.grid.fill&&r.grid.fill==="column")&&i.classList.add(`${r.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(h=>{if(typeof a[h]>"u")return;const f=r[h]&&r[h].enabled,p=a[h]&&a[h].enabled;f&&!p&&e[h].disable(),!f&&p&&e[h].enable()});const m=a.direction&&a.direction!==r.direction,v=r.loop&&(a.slidesPerView!==r.slidesPerView||m),y=r.loop;m&&n&&e.changeDirection(),We(e.params,a);const g=e.params.enabled,S=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),d&&!g?e.disable():!d&&g&&e.enable(),e.currentBreakpoint=o,e.emit("_beforeBreakpoint",a),n&&(v?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!y&&S?(e.loopCreate(t),e.updateSlides()):y&&!S&&e.loopDestroy()),e.emit("breakpoint",a)}function Iw(e,t,n){if(t===void 0&&(t="window"),!e||t==="container"&&!n)return;let r=!1;const i=Oe(),s=t==="window"?i.innerHeight:n.clientHeight,o=Object.keys(e).map(l=>{if(typeof l=="string"&&l.indexOf("@")===0){const a=parseFloat(l.substr(1));return{value:s*a,point:l}}return{value:l,point:l}});o.sort((l,a)=>parseInt(l.value,10)-parseInt(a.value,10));for(let l=0;l{typeof r=="object"?Object.keys(r).forEach(i=>{r[i]&&n.push(t+i)}):typeof r=="string"&&n.push(t+r)}),n}function Aw(){const e=this,{classNames:t,params:n,rtl:r,el:i,device:s}=e,o=Rw(["initialized",n.direction,{"free-mode":e.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:r},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&n.grid.fill==="column"},{android:s.android},{ios:s.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);t.push(...o),i.classList.add(...t),e.emitContainerClasses()}function zw(){const e=this,{el:t,classNames:n}=e;t.classList.remove(...n),e.emitContainerClasses()}var $w={addClasses:Aw,removeClasses:zw};function Dw(){const e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:r}=n;if(r){const i=e.slides.length-1,s=e.slidesGrid[i]+e.slidesSizesGrid[i]+r*2;e.isLocked=e.size>s}else e.isLocked=e.snapGrid.length===1;n.allowSlideNext===!0&&(e.allowSlideNext=!e.isLocked),n.allowSlidePrev===!0&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}var Fw={checkOverflow:Dw},Aa={init:!0,direction:"horizontal",oneWayMovement:!1,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 Bw(e,t){return function(r){r===void 0&&(r={});const i=Object.keys(r)[0],s=r[i];if(typeof s!="object"||s===null){We(t,r);return}if(e[i]===!0&&(e[i]={enabled:!0}),i==="navigation"&&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 s)){We(t,r);return}typeof e[i]=="object"&&!("enabled"in e[i])&&(e[i].enabled=!0),e[i]||(e[i]={enabled:!1}),We(t,r)}}const xl={eventsEmitter:$1,update:Y1,translate:tw,transition:sw,slide:pw,loop:vw,grabCursor:xw,events:Ow,breakpoints:Mw,checkOverflow:Fw,classes:$w},Sl={};let Ku=class Lt{constructor(){let t,n;for(var r=arguments.length,i=new Array(r),s=0;s1){const c=[];return o.querySelectorAll(n.el).forEach(d=>{const m=We({},n,{el:d});c.push(new Lt(m))}),c}const l=this;l.__swiper__=!0,l.support=Am(),l.device=I1({userAgent:n.userAgent}),l.browser=R1(),l.eventsListeners={},l.eventsAnyListeners=[],l.modules=[...l.__modules__],n.modules&&Array.isArray(n.modules)&&l.modules.push(...n.modules);const a={};l.modules.forEach(c=>{c({params:n,swiper:l,extendParams:Bw(n,a),on:l.on.bind(l),once:l.once.bind(l),off:l.off.bind(l),emit:l.emit.bind(l)})});const u=We({},Aa,a);return l.params=We({},u,Sl,n),l.originalParams=We({},l.params),l.passedParams=We({},n),l.params&&l.params.on&&Object.keys(l.params.on).forEach(c=>{l.on(c,l.params.on[c])}),l.params&&l.params.onAny&&l.onAny(l.params.onAny),Object.assign(l,{enabled:l.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return l.params.direction==="horizontal"},isVertical(){return l.params.direction==="vertical"},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:l.params.allowSlideNext,allowSlidePrev:l.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:l.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:l.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),l.emit("_swiper"),l.params.init&&l.init(),l}getDirectionLabel(t){return this.isHorizontal()?t:{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"}[t]}getSlideIndex(t){const{slidesEl:n,params:r}=this,i=St(n,`.${r.slideClass}, swiper-slide`),s=to(i[0]);return to(t)-s}getSlideIndexByData(t){return this.getSlideIndex(this.slides.filter(n=>n.getAttribute("data-swiper-slide-index")*1===t)[0])}recalcSlides(){const t=this,{slidesEl:n,params:r}=t;t.slides=St(n,`.${r.slideClass}, swiper-slide`)}enable(){const t=this;t.enabled||(t.enabled=!0,t.params.grabCursor&&t.setGrabCursor(),t.emit("enable"))}disable(){const t=this;t.enabled&&(t.enabled=!1,t.params.grabCursor&&t.unsetGrabCursor(),t.emit("disable"))}setProgress(t,n){const r=this;t=Math.min(Math.max(t,0),1);const i=r.minTranslate(),o=(r.maxTranslate()-i)*t+i;r.translateTo(o,typeof n>"u"?0:n),r.updateActiveIndex(),r.updateSlidesClasses()}emitContainerClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const n=t.el.className.split(" ").filter(r=>r.indexOf("swiper")===0||r.indexOf(t.params.containerModifierClass)===0);t.emit("_containerClasses",n.join(" "))}getSlideClasses(t){const n=this;return n.destroyed?"":t.className.split(" ").filter(r=>r.indexOf("swiper-slide")===0||r.indexOf(n.params.slideClass)===0).join(" ")}emitSlidesClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const n=[];t.slides.forEach(r=>{const i=t.getSlideClasses(r);n.push({slideEl:r,classNames:i}),t.emit("_slideClass",r,i)}),t.emit("_slideClasses",n)}slidesPerViewDynamic(t,n){t===void 0&&(t="current"),n===void 0&&(n=!1);const r=this,{params:i,slides:s,slidesGrid:o,slidesSizesGrid:l,size:a,activeIndex:u}=r;let c=1;if(typeof i.slidesPerView=="number")return i.slidesPerView;if(i.centeredSlides){let d=s[u]?s[u].swiperSlideSize:0,m;for(let v=u+1;va&&(m=!0));for(let v=u-1;v>=0;v-=1)s[v]&&!m&&(d+=s[v].swiperSlideSize,c+=1,d>a&&(m=!0))}else if(t==="current")for(let d=u+1;d=0;d-=1)o[u]-o[d]{o.complete&&gs(t,o)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses();function i(){const o=t.rtlTranslate?t.translate*-1:t.translate,l=Math.min(Math.max(o,t.maxTranslate()),t.minTranslate());t.setTranslate(l),t.updateActiveIndex(),t.updateSlidesClasses()}let s;if(r.freeMode&&r.freeMode.enabled&&!r.cssMode)i(),r.autoHeight&&t.updateAutoHeight();else{if((r.slidesPerView==="auto"||r.slidesPerView>1)&&t.isEnd&&!r.centeredSlides){const o=t.virtual&&r.virtual.enabled?t.virtual.slides:t.slides;s=t.slideTo(o.length-1,0,!1,!0)}else s=t.slideTo(t.activeIndex,0,!1,!0);s||i()}r.watchOverflow&&n!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(t,n){n===void 0&&(n=!0);const r=this,i=r.params.direction;return t||(t=i==="horizontal"?"vertical":"horizontal"),t===i||t!=="horizontal"&&t!=="vertical"||(r.el.classList.remove(`${r.params.containerModifierClass}${i}`),r.el.classList.add(`${r.params.containerModifierClass}${t}`),r.emitContainerClasses(),r.params.direction=t,r.slides.forEach(s=>{t==="vertical"?s.style.width="":s.style.height=""}),r.emit("changeDirection"),n&&r.update()),r}changeLanguageDirection(t){const n=this;n.rtl&&t==="rtl"||!n.rtl&&t==="ltr"||(n.rtl=t==="rtl",n.rtlTranslate=n.params.direction==="horizontal"&&n.rtl,n.rtl?(n.el.classList.add(`${n.params.containerModifierClass}rtl`),n.el.dir="rtl"):(n.el.classList.remove(`${n.params.containerModifierClass}rtl`),n.el.dir="ltr"),n.update())}mount(t){const n=this;if(n.mounted)return!0;let r=t||n.params.el;if(typeof r=="string"&&(r=document.querySelector(r)),!r)return!1;r.swiper=n,r.parentNode&&r.parentNode.host&&r.parentNode.host.nodeName==="SWIPER-CONTAINER"&&(n.isElement=!0);const i=()=>`.${(n.params.wrapperClass||"").trim().split(" ").join(".")}`;let o=r&&r.shadowRoot&&r.shadowRoot.querySelector?r.shadowRoot.querySelector(i()):St(r,i())[0];return!o&&n.params.createElements&&(o=eo("div",n.params.wrapperClass),r.append(o),St(r,`.${n.params.slideClass}`).forEach(l=>{o.append(l)})),Object.assign(n,{el:r,wrapperEl:o,slidesEl:n.isElement&&!r.parentNode.host.slideSlots?r.parentNode.host:o,hostEl:n.isElement?r.parentNode.host:r,mounted:!0,rtl:r.dir.toLowerCase()==="rtl"||on(r,"direction")==="rtl",rtlTranslate:n.params.direction==="horizontal"&&(r.dir.toLowerCase()==="rtl"||on(r,"direction")==="rtl"),wrongRTL:on(o,"display")==="-webkit-box"}),!0}init(t){const n=this;if(n.initialized||n.mount(t)===!1)return n;n.emit("beforeInit"),n.params.breakpoints&&n.setBreakpoint(),n.addClasses(),n.updateSize(),n.updateSlides(),n.params.watchOverflow&&n.checkOverflow(),n.params.grabCursor&&n.enabled&&n.setGrabCursor(),n.params.loop&&n.virtual&&n.params.virtual.enabled?n.slideTo(n.params.initialSlide+n.virtual.slidesBefore,0,n.params.runCallbacksOnInit,!1,!0):n.slideTo(n.params.initialSlide,0,n.params.runCallbacksOnInit,!1,!0),n.params.loop&&n.loopCreate(),n.attachEvents();const i=[...n.el.querySelectorAll('[loading="lazy"]')];return n.isElement&&i.push(...n.hostEl.querySelectorAll('[loading="lazy"]')),i.forEach(s=>{s.complete?gs(n,s):s.addEventListener("load",o=>{gs(n,o.target)})}),Ra(n),n.initialized=!0,Ra(n),n.emit("init"),n.emit("afterInit"),n}destroy(t,n){t===void 0&&(t=!0),n===void 0&&(n=!0);const r=this,{params:i,el:s,wrapperEl:o,slides:l}=r;return typeof r.params>"u"||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),i.loop&&r.loopDestroy(),n&&(r.removeClasses(),s.removeAttribute("style"),o.removeAttribute("style"),l&&l.length&&l.forEach(a=>{a.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass),a.removeAttribute("style"),a.removeAttribute("data-swiper-slide-index")})),r.emit("destroy"),Object.keys(r.eventsListeners).forEach(a=>{r.off(a)}),t!==!1&&(r.el.swiper=null,w1(r)),r.destroyed=!0),null}static extendDefaults(t){We(Sl,t)}static get extendedDefaults(){return Sl}static get defaults(){return Aa}static installModule(t){Lt.prototype.__modules__||(Lt.prototype.__modules__=[]);const n=Lt.prototype.__modules__;typeof t=="function"&&n.indexOf(t)<0&&n.push(t)}static use(t){return Array.isArray(t)?(t.forEach(n=>Lt.installModule(n)),Lt):(Lt.installModule(t),Lt)}};Object.keys(xl).forEach(e=>{Object.keys(xl[e]).forEach(t=>{Ku.prototype[t]=xl[e][t]})});Ku.use([A1,z1]);const Dm=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function $n(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"&&!e.__swiper__}function fr(e,t){const n=["__proto__","constructor","prototype"];Object.keys(t).filter(r=>n.indexOf(r)<0).forEach(r=>{typeof e[r]>"u"?e[r]=t[r]:$n(t[r])&&$n(e[r])&&Object.keys(t[r]).length>0?t[r].__swiper__?e[r]=t[r]:fr(e[r],t[r]):e[r]=t[r]})}function Fm(e){return e===void 0&&(e={}),e.navigation&&typeof e.navigation.nextEl>"u"&&typeof e.navigation.prevEl>"u"}function Bm(e){return e===void 0&&(e={}),e.pagination&&typeof e.pagination.el>"u"}function Um(e){return e===void 0&&(e={}),e.scrollbar&&typeof e.scrollbar.el>"u"}function Hm(e){e===void 0&&(e="");const t=e.split(" ").map(r=>r.trim()).filter(r=>!!r),n=[];return t.forEach(r=>{n.indexOf(r)<0&&n.push(r)}),n.join(" ")}function Uw(e){return e===void 0&&(e=""),e?e.includes("swiper-wrapper")?e:`swiper-wrapper ${e}`:"swiper-wrapper"}function Hw(e){let{swiper:t,slides:n,passedParams:r,changedParams:i,nextEl:s,prevEl:o,scrollbarEl:l,paginationEl:a}=e;const u=i.filter(P=>P!=="children"&&P!=="direction"&&P!=="wrapperClass"),{params:c,pagination:d,navigation:m,scrollbar:v,virtual:y,thumbs:g}=t;let S,h,f,p,w,T,C,O;i.includes("thumbs")&&r.thumbs&&r.thumbs.swiper&&c.thumbs&&!c.thumbs.swiper&&(S=!0),i.includes("controller")&&r.controller&&r.controller.control&&c.controller&&!c.controller.control&&(h=!0),i.includes("pagination")&&r.pagination&&(r.pagination.el||a)&&(c.pagination||c.pagination===!1)&&d&&!d.el&&(f=!0),i.includes("scrollbar")&&r.scrollbar&&(r.scrollbar.el||l)&&(c.scrollbar||c.scrollbar===!1)&&v&&!v.el&&(p=!0),i.includes("navigation")&&r.navigation&&(r.navigation.prevEl||o)&&(r.navigation.nextEl||s)&&(c.navigation||c.navigation===!1)&&m&&!m.prevEl&&!m.nextEl&&(w=!0);const _=P=>{t[P]&&(t[P].destroy(),P==="navigation"?(t.isElement&&(t[P].prevEl.remove(),t[P].nextEl.remove()),c[P].prevEl=void 0,c[P].nextEl=void 0,t[P].prevEl=void 0,t[P].nextEl=void 0):(t.isElement&&t[P].el.remove(),c[P].el=void 0,t[P].el=void 0))};i.includes("loop")&&t.isElement&&(c.loop&&!r.loop?T=!0:!c.loop&&r.loop?C=!0:O=!0),u.forEach(P=>{if($n(c[P])&&$n(r[P]))Object.assign(c[P],r[P]),(P==="navigation"||P==="pagination"||P==="scrollbar")&&"enabled"in r[P]&&!r[P].enabled&&_(P);else{const b=r[P];(b===!0||b===!1)&&(P==="navigation"||P==="pagination"||P==="scrollbar")?b===!1&&_(P):c[P]=r[P]}}),u.includes("controller")&&!h&&t.controller&&t.controller.control&&c.controller&&c.controller.control&&(t.controller.control=c.controller.control),i.includes("children")&&n&&y&&c.virtual.enabled?(y.slides=n,y.update(!0)):i.includes("virtual")&&y&&c.virtual.enabled&&(n&&(y.slides=n),y.update(!0)),i.includes("children")&&n&&c.loop&&(O=!0),S&&g.init()&&g.update(!0),h&&(t.controller.control=c.controller.control),f&&(t.isElement&&(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-pagination"),a.part.add("pagination"),t.el.appendChild(a)),a&&(c.pagination.el=a),d.init(),d.render(),d.update()),p&&(t.isElement&&(!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-scrollbar"),l.part.add("scrollbar"),t.el.appendChild(l)),l&&(c.scrollbar.el=l),v.init(),v.updateSize(),v.setTranslate()),w&&(t.isElement&&((!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-button-next"),s.innerHTML=t.hostEl.constructor.nextButtonSvg,s.part.add("button-next"),t.el.appendChild(s)),(!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-button-prev"),o.innerHTML=t.hostEl.constructor.prevButtonSvg,o.part.add("button-prev"),t.el.appendChild(o))),s&&(c.navigation.nextEl=s),o&&(c.navigation.prevEl=o),m.init(),m.update()),i.includes("allowSlideNext")&&(t.allowSlideNext=r.allowSlideNext),i.includes("allowSlidePrev")&&(t.allowSlidePrev=r.allowSlidePrev),i.includes("direction")&&t.changeDirection(r.direction,!1),(T||O)&&t.loopDestroy(),(C||O)&&t.loopCreate(),t.update()}function Vw(e,t){e===void 0&&(e={}),t===void 0&&(t=!0);const n={on:{}},r={},i={};fr(n,Aa),n._emitClasses=!0,n.init=!1;const s={},o=Dm.map(a=>a.replace(/_/,"")),l=Object.assign({},e);return Object.keys(l).forEach(a=>{typeof e[a]>"u"||(o.indexOf(a)>=0?$n(e[a])?(n[a]={},i[a]={},fr(n[a],e[a]),fr(i[a],e[a])):(n[a]=e[a],i[a]=e[a]):a.search(/on[A-Z]/)===0&&typeof e[a]=="function"?t?r[`${a[2].toLowerCase()}${a.substr(3)}`]=e[a]:n.on[`${a[2].toLowerCase()}${a.substr(3)}`]=e[a]:s[a]=e[a])}),["navigation","pagination","scrollbar"].forEach(a=>{n[a]===!0&&(n[a]={}),n[a]===!1&&delete n[a]}),{params:n,passedParams:i,rest:s,events:r}}function Ww(e,t){let{el:n,nextEl:r,prevEl:i,paginationEl:s,scrollbarEl:o,swiper:l}=e;Fm(t)&&r&&i&&(l.params.navigation.nextEl=r,l.originalParams.navigation.nextEl=r,l.params.navigation.prevEl=i,l.originalParams.navigation.prevEl=i),Bm(t)&&s&&(l.params.pagination.el=s,l.originalParams.pagination.el=s),Um(t)&&o&&(l.params.scrollbar.el=o,l.originalParams.scrollbar.el=o),l.init(n)}function Gw(e,t,n,r,i){const s=[];if(!t)return s;const o=a=>{s.indexOf(a)<0&&s.push(a)};if(n&&r){const a=r.map(i),u=n.map(i);a.join("")!==u.join("")&&o("children"),r.length!==n.length&&o("children")}return Dm.filter(a=>a[0]==="_").map(a=>a.replace(/_/,"")).forEach(a=>{if(a in e&&a in t)if($n(e[a])&&$n(t[a])){const u=Object.keys(e[a]),c=Object.keys(t[a]);u.length!==c.length?o(a):(u.forEach(d=>{e[a][d]!==t[a][d]&&o(a)}),c.forEach(d=>{e[a][d]!==t[a][d]&&o(a)}))}else e[a]!==t[a]&&o(a)}),s}const qw=e=>{!e||e.destroyed||!e.params.virtual||e.params.virtual&&!e.params.virtual.enabled||(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())};function ro(){return ro=Object.assign?Object.assign.bind():function(e){for(var t=1;t{Vm(n)?t.push(n):n.props&&n.props.children&&Wm(n.props.children).forEach(r=>t.push(r))}),t}function Xw(e){const t=[],n={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return F.Children.toArray(e).forEach(r=>{if(Vm(r))t.push(r);else if(r.props&&r.props.slot&&n[r.props.slot])n[r.props.slot].push(r);else if(r.props&&r.props.children){const i=Wm(r.props.children);i.length>0?i.forEach(s=>t.push(s)):n["container-end"].push(r)}else n["container-end"].push(r)}),{slides:t,slots:n}}function Yw(e,t,n){if(!n)return null;const r=c=>{let d=c;return c<0?d=t.length+c:d>=t.length&&(d=d-t.length),d},i=e.isHorizontal()?{[e.rtlTranslate?"right":"left"]:`${n.offset}px`}:{top:`${n.offset}px`},{from:s,to:o}=n,l=e.params.loop?-t.length:0,a=e.params.loop?t.length*2:t.length,u=[];for(let c=l;c=s&&c<=o&&u.push(t[r(c)]);return u.map((c,d)=>F.cloneElement(c,{swiper:e,style:i,key:`slide-${d}`}))}function ei(e,t){return typeof window>"u"?E.useEffect(e,t):E.useLayoutEffect(e,t)}const jd=E.createContext(null),Kw=E.createContext(null),Gm=E.forwardRef(function(e,t){let{className:n,tag:r="div",wrapperTag:i="div",children:s,onSwiper:o,...l}=e===void 0?{}:e,a=!1;const[u,c]=E.useState("swiper"),[d,m]=E.useState(null),[v,y]=E.useState(!1),g=E.useRef(!1),S=E.useRef(null),h=E.useRef(null),f=E.useRef(null),p=E.useRef(null),w=E.useRef(null),T=E.useRef(null),C=E.useRef(null),O=E.useRef(null),{params:_,passedParams:P,rest:b,events:k}=Vw(l),{slides:L,slots:N}=Xw(s),M=()=>{y(!v)};Object.assign(_.on,{_containerClasses(A,z){c(z)}});const D=()=>{Object.assign(_.on,k),a=!0;const A={..._};if(delete A.wrapperClass,h.current=new Ku(A),h.current.virtual&&h.current.params.virtual.enabled){h.current.virtual.slides=L;const z={cache:!1,slides:L,renderExternal:m,renderExternalUpdate:!1};fr(h.current.params.virtual,z),fr(h.current.originalParams.virtual,z)}};S.current||D(),h.current&&h.current.on("_beforeBreakpoint",M);const H=()=>{a||!k||!h.current||Object.keys(k).forEach(A=>{h.current.on(A,k[A])})},Q=()=>{!k||!h.current||Object.keys(k).forEach(A=>{h.current.off(A,k[A])})};E.useEffect(()=>()=>{h.current&&h.current.off("_beforeBreakpoint",M)}),E.useEffect(()=>{!g.current&&h.current&&(h.current.emitSlidesClasses(),g.current=!0)}),ei(()=>{if(t&&(t.current=S.current),!!S.current)return h.current.destroyed&&D(),Ww({el:S.current,nextEl:w.current,prevEl:T.current,paginationEl:C.current,scrollbarEl:O.current,swiper:h.current},_),o&&o(h.current),()=>{h.current&&!h.current.destroyed&&h.current.destroy(!0,!1)}},[]),ei(()=>{H();const A=Gw(P,f.current,L,p.current,z=>z.key);return f.current=P,p.current=L,A.length&&h.current&&!h.current.destroyed&&Hw({swiper:h.current,slides:L,passedParams:P,changedParams:A,nextEl:w.current,prevEl:T.current,scrollbarEl:O.current,paginationEl:C.current}),()=>{Q()}}),ei(()=>{qw(h.current)},[d]);function I(){return _.virtual?Yw(h.current,L,d):L.map((A,z)=>F.cloneElement(A,{swiper:h.current,swiperSlideIndex:z}))}return F.createElement(r,ro({ref:S,className:Hm(`${u}${n?` ${n}`:""}`)},b),F.createElement(Kw.Provider,{value:h.current},N["container-start"],F.createElement(i,{className:Uw(_.wrapperClass)},N["wrapper-start"],I(),N["wrapper-end"]),Fm(_)&&F.createElement(F.Fragment,null,F.createElement("div",{ref:T,className:"swiper-button-prev"}),F.createElement("div",{ref:w,className:"swiper-button-next"})),Um(_)&&F.createElement("div",{ref:O,className:"swiper-scrollbar"}),Bm(_)&&F.createElement("div",{ref:C,className:"swiper-pagination"}),N["container-end"]))});Gm.displayName="Swiper";const qm=E.forwardRef(function(e,t){let{tag:n="div",children:r,className:i="",swiper:s,zoom:o,lazy:l,virtualIndex:a,swiperSlideIndex:u,...c}=e===void 0?{}:e;const d=E.useRef(null),[m,v]=E.useState("swiper-slide"),[y,g]=E.useState(!1);function S(w,T,C){T===d.current&&v(C)}ei(()=>{if(typeof u<"u"&&(d.current.swiperSlideIndex=u),t&&(t.current=d.current),!(!d.current||!s)){if(s.destroyed){m!=="swiper-slide"&&v("swiper-slide");return}return s.on("_slideClass",S),()=>{s&&s.off("_slideClass",S)}}}),ei(()=>{s&&d.current&&!s.destroyed&&v(s.getSlideClasses(d.current))},[s]);const h={isActive:m.indexOf("swiper-slide-active")>=0,isVisible:m.indexOf("swiper-slide-visible")>=0,isPrev:m.indexOf("swiper-slide-prev")>=0,isNext:m.indexOf("swiper-slide-next")>=0},f=()=>typeof r=="function"?r(h):r,p=()=>{g(!0)};return F.createElement(n,ro({ref:d,className:Hm(`${m}${i?` ${i}`:""}`),"data-swiper-slide-index":a,onLoad:p},c),o&&F.createElement(jd.Provider,{value:h},F.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof o=="number"?o:void 0},f(),l&&!y&&F.createElement("div",{className:"swiper-lazy-preloader"}))),!o&&F.createElement(jd.Provider,{value:h},f(),l&&!y&&F.createElement("div",{className:"swiper-lazy-preloader"})))});qm.displayName="SwiperSlide";const Qw="_container_1h8n6_1",ts={container:Qw,"img-carrousel":"_img-carrousel_1h8n6_11","loading-desk":"_loading-desk_1h8n6_21","loading-mob":"_loading-mob_1h8n6_27"},El="http://hog099.github.io/portifolio-fest-lp-front",Gn=[{src:El+"/assets/images/mock_banner.jpg"},{src:El+"/assets/images/mock_banner.jpg"},{src:El+"/assets/images/mock_banner.jpg"}],Jw=()=>{const{loading:e}=E.useContext(kt);return x.jsxs("div",{className:ts.container,children:[e&&x.jsxs(G,{children:[x.jsx("div",{className:ts["loading-desk"],children:x.jsx(B,{width:"100%",height:600})}),x.jsx("div",{className:ts["loading-mob"],children:x.jsx(B,{width:"100%",height:400})})]}),!e&&x.jsx(Gm,{cssMode:!0,navigation:!0,autoplay:{delay:5e3},pagination:!1,mousewheel:!1,keyboard:!1,modules:[_1,L1,P1,b1,N1],className:"mySwiper",loop:!0,children:(Gn==null?void 0:Gn.length)>0&&(Gn==null?void 0:Gn.map((t,n)=>x.jsx(qm,{children:x.jsx("img",{className:ts["img-carrousel"]+" object-cover",src:t==null?void 0:t.src,width:"auto",height:"auto",alt:"image"})},n)))})]})},Zw="_container_9w5h5_1",Id={container:Zw,"content-about":"_content-about_9w5h5_35"},ex=()=>{const{loading:e}=E.useContext(kt);return x.jsxs("section",{id:"about",className:Id.container,children:[e&&x.jsxs(x.Fragment,{children:[x.jsx(G,{children:x.jsx(B,{width:200,height:30,style:{}})}),x.jsx("div",{style:{height:40}}),x.jsxs(G,{children:[x.jsx(B,{width:500,height:20,style:{}}),x.jsx(B,{width:620,height:20,style:{marginTop:10}}),x.jsx(B,{width:580,height:20,style:{marginTop:10}}),x.jsx(B,{width:570,height:20,style:{marginTop:10}}),x.jsx(B,{width:620,height:20,style:{marginTop:10}})]})]}),!e&&x.jsxs(x.Fragment,{children:[x.jsx("h1",{"data-aos":"fade-up",className:"text-3xl md:text-5xl font-medium",children:"A Festa"}),x.jsx("div",{className:Id["content-about"],children:x.jsx("p",{"data-aos":"fade-up",className:"text-lg md:text-2xl font-medium",children:"Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam voluptatum, quia, voluptate, magni voluptas quidem voluptatibus voluptates molestiae quod quos repellendus natus? Quisquam voluptatum, quia, voluptate, magni voluptas quidem voluptatibus voluptates molestiae quod quos repellendus natus"})})]})]})},tx="_container_lyjrp_1",Ee={container:tx,"content-about":"_content-about_lyjrp_35","content-menu":"_content-menu_lyjrp_53","button-menu":"_button-menu_lyjrp_73","text-menu":"_text-menu_lyjrp_133","button-menu-active":"_button-menu-active_lyjrp_145","content-timeline":"_content-timeline_lyjrp_175","timeline-item-line":"_timeline-item-line_lyjrp_195","timeline-item-circle":"_timeline-item-circle_lyjrp_213","content-time":"_content-time_lyjrp_175","timetile-text-color":"_timetile-text-color_lyjrp_283","timetile-text-title":"_timetile-text-title_lyjrp_293","timetile-text-description":"_timetile-text-description_lyjrp_305","timeline-item-right":"_timeline-item-right_lyjrp_319","timeline-item-left":"_timeline-item-left_lyjrp_331","timeline-content-info":"_timeline-content-info_lyjrp_343"},nx=[{text:"15 de Agosto"},{text:"16 de Agosto"},{text:"17 de Agosto"},{text:"18 de Agosto"}],rx=[{title:"Baile de mascaras canevale",time:"10:00",locale:"Praca central",description:"Lorem Ipsum a description a text a summy a simply text of Lorem Ipsum a description a text a summy a simply text of"},{title:"Abertura Oficial da Festa",time:"11:00",locale:"Praca central",description:"Lorem Ipsum a description a text a summy a simply, Lorem Ipsum a description a text a summy a simply text of, Lorem Ipsum a description a text a summy"},{title:"Apresentacao cultural",time:"12:00",locale:"Praca central",description:"Lorem Ipsum a description a text a summy a simply text of a text a summy, Lorem Ipsum a description a text a summy a simply text ofLorem Ipsum a description a text a summy a simply text ofLorem Ipsum a description a text a summy a simply text of"},{title:"Eleicao rainnha e princesa da festa da capopitela",time:"13:00",locale:"Praca central",description:"Lorem Ipsum a description a text a summy a simply a text, Lorem Ipsum a description a text a summy a simply text ofLorem Ipsum a description a text a summy a simply text of"},{title:"Festival gourmet",time:"14:00",locale:"Praca central",description:"Lorem Ipsum a description a summy to supply a description long"}],ix=()=>{const{loading:e}=E.useContext(kt),t=" text-[15px] md:text-[15px] lg:text-[22px] mx-2",[n,r]=E.useState(0);return x.jsxs("section",{id:"schedule",className:Ee.container,children:[e&&x.jsxs(x.Fragment,{children:[x.jsx(G,{children:x.jsx(B,{width:300,height:45,style:{}})}),x.jsx("div",{style:{height:40}}),x.jsxs(G,{children:[x.jsx(B,{width:280,height:180,style:{marginLeft:-380}}),x.jsx(B,{width:280,height:180,style:{marginLeft:500}}),x.jsx(B,{width:280,height:180,style:{marginLeft:-380}})]})]}),!e&&x.jsxs(x.Fragment,{children:[x.jsx("h1",{"data-aos":"fade-up",className:"text-3xl md:text-5xl font-medium",children:"Programação"}),x.jsxs("div",{className:Ee["content-about"],children:[x.jsx("div",{className:Ee["content-menu"],"data-aos":"fade-up",children:nx.map((i,s)=>x.jsx("button",{type:"button",className:n===s?Ee["button-menu-active"]:Ee["button-menu"],onClick:()=>r(s),children:x.jsx("p",{className:Ee["text-menu"]+t,children:i==null?void 0:i.text})},s))}),x.jsx("div",{className:Ee["content-timeline"]+" mt-12",children:rx.map((i,s)=>x.jsxs("div",{className:s%2!=0?Ee["timeline-item-right"]:Ee["timeline-item-left"],children:[x.jsx("div",{className:Ee["timeline-item-line"]}),x.jsx("div",{className:Ee["timeline-item-circle"],children:x.jsx("time",{"data-aos":"zoom-in","data-aos-delay":"120",className:Ee["timetile-text-color"]+" text-[12px] md:text-md",children:i.time})}),x.jsxs("div",{className:Ee["timeline-content-info"],"data-aos":s%2!=0?"fade-left":"fade-right",children:[x.jsx("h3",{className:Ee["timetile-text-title"]+" text-[14px] md:text-lg font-bold my-2",children:i.title}),x.jsxs("span",{className:Ee["content-time"],children:[x.jsx(l1,{size:12,color:"#fff"}),x.jsx("p",{className:Ee["timetile-text-color"]+" text-[12px] md:text-md ml-2",children:i.locale})]}),x.jsx("p",{className:Ee["timetile-text-description"]+" text-[11px] md:text-sm",children:i.description})]})]},s))})]})]})]})},sx="_container_1wt4c_1",Tl={container:sx,"content-about":"_content-about_1wt4c_35","card-news":"_card-news_1wt4c_51"},ox=[{id:"1",title:"Lorem Describe a amoun",summary:"Ipasum a text a summary if a text of news in a singular text to describe a news",date:"17-08-2024"},{id:"2",title:"Lorem Ipsum Describe amoun",summary:"Ipasum a text a summary if a text of news in a singular text to describe a news in a singular text to describe a news",date:"18-08-2024"},{id:"3",title:"Lorem Ipsum a Amoun",summary:"Ipasum a text a summary if a text of news in a singular text describe",date:"19-08-2024"},{id:"4",title:"Lorem Ipsum a Title As",summary:"Ipasum a text a summary if a text of news in a singular text to describe a news to describe a news",date:"20-08-2024"}],lx=()=>{const{loading:e}=E.useContext(kt);return x.jsxs("section",{id:"news",className:Tl.container,children:[e&&x.jsxs(x.Fragment,{children:[x.jsx(G,{children:x.jsx(B,{width:250,height:45,style:{}})}),x.jsx("div",{style:{height:40}}),x.jsxs("div",{className:"flex flex-row",children:[x.jsx(G,{children:x.jsx(B,{width:350,height:120,style:{marginRight:80}})}),x.jsx(G,{children:x.jsx(B,{width:350,height:120,style:{}})})]}),x.jsxs("div",{className:"flex flex-row mt-8",children:[x.jsx(G,{children:x.jsx(B,{width:350,height:120,style:{marginRight:80}})}),x.jsx(G,{children:x.jsx(B,{width:350,height:120,style:{}})})]}),x.jsx("div",{className:"mt-12",children:x.jsx(G,{children:x.jsx(B,{width:200,height:45,style:{}})})})]}),!e&&x.jsxs(x.Fragment,{children:[x.jsx("h1",{"data-aos":"fade-up","data-aos-delay":"200",className:"text-3xl md:text-5xl font-medium",children:"Notícias"}),x.jsx("div",{className:Tl["content-about"],children:ox.map((t,n)=>x.jsxs(Ks,{to:"/","data-aos":"fade-up","data-aos-delay":"200",className:Tl["card-news"]+" flex flex-col w-[400px] h-[130px] md:h-[150px] m-2 md:m-4",children:[x.jsx("h2",{className:"text-lg md:text-xl font-medium",children:t.title}),x.jsx("p",{className:"text-[14px] md:text-md text-gray-600",children:t.date}),x.jsx("p",{className:"text-[14px] md:text-md text-gray-600 mt-1 md:mt-2",children:t.summary})]},n))}),x.jsx(Ks,{className:"flex justify-center mt-[20px]","data-aos":"fade-up","data-aos-delay":"200",to:"/",children:x.jsx("button",{className:"w-[200px] h-[50px] bgc-primary hover:bg-green-800 text-white font-bold py-2 px-4 rounded-3xl transition-all",children:"Ver Todas"})})]})]})},ax="_container_1fgat_1",ns={container:ax,"content-about":"_content-about_1fgat_35","button-thumb":"_button-thumb_1fgat_53","thumb-menu":"_thumb-menu_1fgat_67"},ux=()=>{const{loading:e}=E.useContext(kt);return x.jsxs("section",{id:"menu",className:ns.container,children:[e&&x.jsxs(x.Fragment,{children:[x.jsx(G,{children:x.jsx(B,{width:250,height:45,style:{}})}),x.jsx("div",{style:{height:40}}),x.jsxs("div",{className:"flex flex-row",children:[x.jsx(G,{children:x.jsx(B,{width:220,height:300,style:{marginRight:30}})}),x.jsx(G,{children:x.jsx(B,{width:220,height:300,style:{marginRight:30}})}),x.jsx(G,{children:x.jsx(B,{width:220,height:300,style:{marginRight:30}})}),x.jsx(G,{children:x.jsx(B,{width:220,height:300,style:{marginRight:30}})})]}),x.jsx("div",{className:"mt-12",children:x.jsx(G,{children:x.jsx(B,{width:200,height:45,style:{}})})})]}),!e&&x.jsxs(x.Fragment,{children:[x.jsx("h1",{"data-aos":"fade-up","data-aos-delay":"200",className:"text-3xl md:text-5xl font-medium text-white",children:"Cardápio"}),x.jsx("div",{className:ns["content-about"],children:[...Array(4)].map((t,n)=>x.jsx("button",{className:ns["button-thumb"],onClick:()=>alert("Implementar visualizacao"),children:x.jsx("img",{"data-aos":"fade-up","data-aos-delay":"400",width:200,height:300,className:ns["thumb-menu"],alt:"image-menu",src:"https://picsum.photos/200/300"})},n))}),x.jsx(Ks,{className:"flex justify-center mt-[20px]","data-aos":"fade-up","data-aos-delay":"200",to:"/",children:x.jsx("button",{className:"w-[200px] h-[50px] bg-white hover:bg-gray-200 text-slate-600 font-bold py-2 px-4 rounded-3xl transition-all duration-800 hover:scale-110",children:"Ver Cardápio"})})]})]})},cx="_container_l2tpp_1",Dr={container:cx,"content-about":"_content-about_l2tpp_35","item-content":"_item-content_l2tpp_85","button-thumb":"_button-thumb_l2tpp_103","thumb-menu":"_thumb-menu_l2tpp_119"},we="http://hog099.github.io/portifolio-fest-lp-front",dx=[{order:0,title:"Oferecimento",items:[{name:"Lorem Ip",thumb:we+"/assets/images/mock_brand.jpg",link:"https://google.com"},{name:"Lorem Ip",thumb:we+"/assets/images/mock_brand.jpg",link:"https://google.com"},{name:"Lorem Ip",thumb:we+"/assets/images/mock_brand.jpg",link:"https://google.com"},{name:"Lorem Ip",thumb:we+"/assets/images/mock_brand.jpg",link:"https://google.com"},{name:"Lorem Ip",thumb:we+"/assets/images/mock_brand.jpg",link:"https://google.com"},{name:"Lorem Ip",thumb:we+"/assets/images/mock_brand.jpg",link:"https://google.com"},{name:"Lorem Ip",thumb:we+"/assets/images/mock_brand.jpg",link:"https://google.com"}]},{order:1,title:"Patrocinio",items:[{name:"Lorem Ip",thumb:we+"/assets/images/mock_brand.jpg",link:"https://google.com"},{name:"Lorem Ip",thumb:we+"/assets/images/mock_brand.jpg",link:"https://google.com"},{name:"Lorem Ip",thumb:we+"/assets/images/mock_brand.jpg",link:"https://google.com"},{name:"Lorem Ip",thumb:we+"/assets/images/mock_brand.jpg",link:"https://google.com"},{name:"Lorem Ip",thumb:we+"/assets/images/mock_brand.jpg",link:"https://google.com"}]},{order:2,title:"Apoio",items:[{name:"Lorem Ip",thumb:we+"/assets/images/mock_brand.jpg",link:"https://google.com"},{name:"Lorem Ip",thumb:we+"/assets/images/mock_brand.jpg",link:"https://google.com"},{name:"Lorem Ip",thumb:we+"/assets/images/mock_brand.jpg",link:"https://google.com"},{name:"Lorem Ip",thumb:we+"/assets/images/mock_brand.jpg",link:"https://google.com"},{name:"Lorem Ip",thumb:we+"/assets/images/mock_brand.jpg",link:"https://google.com"},{name:"Lorem Ip",thumb:we+"/assets/images/mock_brand.jpg",link:"https://google.com"}]}],fx=()=>{const{loading:e}=E.useContext(kt);return x.jsxs("section",{id:"sponsors",className:Dr.container,children:[e&&x.jsxs(x.Fragment,{children:[x.jsx(G,{children:x.jsx(B,{width:250,height:45,style:{}})}),x.jsx("div",{style:{height:40}}),x.jsxs("div",{className:"flex flex-row",children:[x.jsx(G,{children:x.jsx(B,{width:220,height:200,style:{marginRight:30}})}),x.jsx(G,{children:x.jsx(B,{width:220,height:200,style:{marginRight:30}})}),x.jsx(G,{children:x.jsx(B,{width:220,height:200,style:{marginRight:30}})})]}),x.jsxs("div",{className:"flex flex-row mt-4",children:[x.jsx(G,{children:x.jsx(B,{width:220,height:200,style:{marginRight:30}})}),x.jsx(G,{children:x.jsx(B,{width:220,height:200,style:{marginRight:30}})}),x.jsx(G,{children:x.jsx(B,{width:220,height:200,style:{marginRight:30}})})]})]}),!e&&x.jsx(x.Fragment,{children:x.jsx("div",{className:Dr["content-about"],children:dx.sort((t,n)=>t.order-n.order).map((t,n)=>{var r;return x.jsxs("div",{className:n==0?"w-screen":"w-[100%] md:w-[50%]",children:[x.jsx("h3",{"data-aos":"fade-up","data-aos-delay":"200",className:"text-3xl md:text-4xl font-medium mb-10",children:t.title}),x.jsx("div",{className:Dr["item-content"],children:(r=t==null?void 0:t.items)==null?void 0:r.map((i,s)=>x.jsx(Ks,{className:Dr["button-thumb"],to:"/",children:x.jsx("img",{"data-aos":"fade-up","data-aos-delay":"400",width:"auto",height:"auto",className:Dr["thumb-menu"],alt:"image-menu",src:i==null?void 0:i.thumb})},s))})]},n)})})})]})};function px(e){return _r({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.31 482.38 504 379.78 504 256z"}}]})(e)}function mx(e){return _r({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"}}]})(e)}function hx(e){return _r({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"}}]})(e)}const gx="_container_beuxb_1",qn={container:gx,"content-about":"_content-about_beuxb_35","content-logo":"_content-logo_beuxb_67","content-infos":"_content-infos_beuxb_81","thumb-logo":"_thumb-logo_beuxb_105"},vx="http://hog099.github.io/portifolio-fest-lp-front",yx=()=>{const{loading:e}=E.useContext(kt);return x.jsxs("section",{id:"contact",className:qn.container,children:[e&&x.jsxs(x.Fragment,{children:[x.jsx(G,{children:x.jsx(B,{width:250,height:45,style:{}})}),x.jsx("div",{style:{height:40}}),x.jsxs("div",{className:"flex flex-row",children:[x.jsx(G,{children:x.jsx(B,{width:220,height:300,style:{marginRight:30}})}),x.jsx(G,{children:x.jsx(B,{width:220,height:300,style:{marginRight:30}})}),x.jsx(G,{children:x.jsx(B,{width:220,height:300,style:{marginRight:30}})}),x.jsx(G,{children:x.jsx(B,{width:220,height:300,style:{marginRight:30}})})]}),x.jsx("div",{className:"mt-12",children:x.jsx(G,{children:x.jsx(B,{width:200,height:45,style:{}})})})]}),!e&&x.jsxs(x.Fragment,{children:[x.jsx("h1",{"data-aos":"fade-up","data-aos-delay":"200",className:"text-3xl md:text-5xl font-medium text-white",children:"Contato"}),x.jsxs("div",{className:qn["content-about"],children:[x.jsx("div",{className:qn["content-logo"],children:x.jsx("img",{"data-aos":"fade-up","data-aos-delay":"400",width:300,height:350,className:qn["thumb-logo"],alt:"image-menu",src:vx+"/assets/images/logo.png"})}),x.jsxs("div",{className:"flex flex-col",children:[x.jsxs("div",{className:qn["content-infos"],children:[x.jsxs("div",{children:[x.jsx("h3",{className:"text-md md:text-xl font-bold text-white",children:"Locallização"}),x.jsx("p",{className:"text-[14px] md:text-lg text-white",children:"Av São Mateus, 100, centro"})]}),x.jsxs("div",{children:[x.jsx("h3",{className:"text-md md:text-xl font-bold text-white",children:"E-mail"}),x.jsx("p",{className:"text-[14px] md:text-lg text-white",children:"contato@email.com"})]}),x.jsxs("div",{children:[x.jsx("h3",{className:"text-md md:text-xl font-bold text-white",children:"Telefone"}),x.jsx("p",{className:"text-[14px] md:text-lg text-white",children:"(27) 99912-1233"})]})]}),x.jsxs("div",{className:qn["content-infos"]+" mt-12",children:[x.jsx("div",{className:"w-[60px] h=[80px] flex flex-row justify-center rounded-full shadow-md bg-green-800 hover:bg-green-900 p-2 transition-all duration-200 hover:scale-105 cursor-pointer",children:x.jsx(hx,{size:35,color:"#fff"})}),x.jsx("div",{className:"w-[60px] h=[80px] flex flex-row justify-center rounded-full shadow-md bg-green-800 hover:bg-green-900 p-2 transition-all duration-200 hover:scale-105 cursor-pointer",children:x.jsx(mx,{size:35,color:"#fff"})}),x.jsx("div",{className:"w-[60px] h=[80px] flex flex-row justify-center rounded-full shadow-md bg-green-800 hover:bg-green-900 p-2 transition-all duration-200 hover:scale-105 cursor-pointer",children:x.jsx(px,{size:35,color:"#fff"})})]})]})]})]})]})},wx=()=>x.jsxs("div",{className:"w-screen h-screen",children:[x.jsx(m1,{}),x.jsx(Jw,{}),x.jsx(g1,{}),x.jsx(ex,{}),x.jsx(ix,{}),x.jsx(lx,{}),x.jsx(ux,{}),x.jsx(fx,{}),x.jsx(yx,{})]}),xx=()=>x.jsxs(I0,{children:[x.jsx(Pa,{path:et==null?void 0:et.index,element:x.jsx(wx,{})}),x.jsx(Pa,{path:"*",element:x.jsx(Y0,{})})]});let Sx={data:""},Ex=e=>typeof window=="object"?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||Sx,Tx=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,Cx=/\/\*[^]*?\*\/| +/g,Md=/\n+/g,en=(e,t)=>{let n="",r="",i="";for(let s in e){let o=e[s];s[0]=="@"?s[1]=="i"?n=s+" "+o+";":r+=s[1]=="f"?en(o,s):s+"{"+en(o,s[1]=="k"?"":t)+"}":typeof o=="object"?r+=en(o,t?t.replace(/([^,])+/g,l=>s.replace(/(^:.*)|([^,])+/g,a=>/&/.test(a)?a.replace(/&/g,l):l?l+" "+a:a)):s):o!=null&&(s=/^--/.test(s)?s:s.replace(/[A-Z]/g,"-$&").toLowerCase(),i+=en.p?en.p(s,o):s+":"+o+";")}return n+(t&&i?t+"{"+i+"}":i)+r},_t={},Xm=e=>{if(typeof e=="object"){let t="";for(let n in e)t+=n+Xm(e[n]);return t}return e},kx=(e,t,n,r,i)=>{let s=Xm(e),o=_t[s]||(_t[s]=(a=>{let u=0,c=11;for(;u>>0;return"go"+c})(s));if(!_t[o]){let a=s!==e?e:(u=>{let c,d,m=[{}];for(;c=Tx.exec(u.replace(Cx,""));)c[4]?m.shift():c[3]?(d=c[3].replace(Md," ").trim(),m.unshift(m[0][d]=m[0][d]||{})):m[0][c[1]]=c[2].replace(Md," ").trim();return m[0]})(e);_t[o]=en(i?{["@keyframes "+o]:a}:a,n?"":"."+o)}let l=n&&_t.g?_t.g:null;return n&&(_t.g=_t[o]),((a,u,c,d)=>{d?u.data=u.data.replace(d,a):u.data.indexOf(a)===-1&&(u.data=c?a+u.data:u.data+a)})(_t[o],t,r,l),o},bx=(e,t,n)=>e.reduce((r,i,s)=>{let o=t[s];if(o&&o.call){let l=o(n),a=l&&l.props&&l.props.className||/^go/.test(l)&&l;o=a?"."+a:l&&typeof l=="object"?l.props?"":en(l,""):l===!1?"":l}return r+i+(o??"")},"");function jo(e){let t=this||{},n=e.call?e(t.p):e;return kx(n.unshift?n.raw?bx(n,[].slice.call(arguments,1),t.p):n.reduce((r,i)=>Object.assign(r,i&&i.call?i(t.p):i),{}):n,Ex(t.target),t.g,t.o,t.k)}let Ym,za,$a;jo.bind({g:1});let Ut=jo.bind({k:1});function Px(e,t,n,r){en.p=t,Ym=e,za=n,$a=r}function Cn(e,t){let n=this||{};return function(){let r=arguments;function i(s,o){let l=Object.assign({},s),a=l.className||i.className;n.p=Object.assign({theme:za&&za()},l),n.o=/ *go\d+/.test(a),l.className=jo.apply(n,r)+(a?" "+a:""),t&&(l.ref=o);let u=e;return e[0]&&(u=l.as||e,delete l.as),$a&&u[0]&&$a(l),Ym(u,l)}return t?t(i):i}}var _x=e=>typeof e=="function",io=(e,t)=>_x(e)?e(t):e,Lx=(()=>{let e=0;return()=>(++e).toString()})(),Km=(()=>{let e;return()=>{if(e===void 0&&typeof window<"u"){let t=matchMedia("(prefers-reduced-motion: reduce)");e=!t||t.matches}return e}})(),Nx=20,vs=new Map,Ox=1e3,Rd=e=>{if(vs.has(e))return;let t=setTimeout(()=>{vs.delete(e),Hn({type:4,toastId:e})},Ox);vs.set(e,t)},jx=e=>{let t=vs.get(e);t&&clearTimeout(t)},Da=(e,t)=>{switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,Nx)};case 1:return t.toast.id&&jx(t.toast.id),{...e,toasts:e.toasts.map(s=>s.id===t.toast.id?{...s,...t.toast}:s)};case 2:let{toast:n}=t;return e.toasts.find(s=>s.id===n.id)?Da(e,{type:1,toast:n}):Da(e,{type:0,toast:n});case 3:let{toastId:r}=t;return r?Rd(r):e.toasts.forEach(s=>{Rd(s.id)}),{...e,toasts:e.toasts.map(s=>s.id===r||r===void 0?{...s,visible:!1}:s)};case 4:return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(s=>s.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let i=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(s=>({...s,pauseDuration:s.pauseDuration+i}))}}},ys=[],ws={toasts:[],pausedAt:void 0},Hn=e=>{ws=Da(ws,e),ys.forEach(t=>{t(ws)})},Ix={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},Mx=(e={})=>{let[t,n]=E.useState(ws);E.useEffect(()=>(ys.push(n),()=>{let i=ys.indexOf(n);i>-1&&ys.splice(i,1)}),[t]);let r=t.toasts.map(i=>{var s,o;return{...e,...e[i.type],...i,duration:i.duration||((s=e[i.type])==null?void 0:s.duration)||(e==null?void 0:e.duration)||Ix[i.type],style:{...e.style,...(o=e[i.type])==null?void 0:o.style,...i.style}}});return{...t,toasts:r}},Rx=(e,t="blank",n)=>({createdAt:Date.now(),visible:!0,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...n,id:(n==null?void 0:n.id)||Lx()}),Li=e=>(t,n)=>{let r=Rx(t,e,n);return Hn({type:2,toast:r}),r.id},Ye=(e,t)=>Li("blank")(e,t);Ye.error=Li("error");Ye.success=Li("success");Ye.loading=Li("loading");Ye.custom=Li("custom");Ye.dismiss=e=>{Hn({type:3,toastId:e})};Ye.remove=e=>Hn({type:4,toastId:e});Ye.promise=(e,t,n)=>{let r=Ye.loading(t.loading,{...n,...n==null?void 0:n.loading});return e.then(i=>(Ye.success(io(t.success,i),{id:r,...n,...n==null?void 0:n.success}),i)).catch(i=>{Ye.error(io(t.error,i),{id:r,...n,...n==null?void 0:n.error})}),e};var Ax=(e,t)=>{Hn({type:1,toast:{id:e,height:t}})},zx=()=>{Hn({type:5,time:Date.now()})},$x=e=>{let{toasts:t,pausedAt:n}=Mx(e);E.useEffect(()=>{if(n)return;let s=Date.now(),o=t.map(l=>{if(l.duration===1/0)return;let a=(l.duration||0)+l.pauseDuration-(s-l.createdAt);if(a<0){l.visible&&Ye.dismiss(l.id);return}return setTimeout(()=>Ye.dismiss(l.id),a)});return()=>{o.forEach(l=>l&&clearTimeout(l))}},[t,n]);let r=E.useCallback(()=>{n&&Hn({type:6,time:Date.now()})},[n]),i=E.useCallback((s,o)=>{let{reverseOrder:l=!1,gutter:a=8,defaultPosition:u}=o||{},c=t.filter(v=>(v.position||u)===(s.position||u)&&v.height),d=c.findIndex(v=>v.id===s.id),m=c.filter((v,y)=>yv.visible).slice(...l?[m+1]:[0,m]).reduce((v,y)=>v+(y.height||0)+a,0)},[t]);return{toasts:t,handlers:{updateHeight:Ax,startPause:zx,endPause:r,calculateOffset:i}}},Dx=Ut` +`));let d=u.props,m=typeof(d==null?void 0:d.className)=="function"?(...y)=>Qs(d==null?void 0:d.className(...y),l.className):Qs(d==null?void 0:d.className,l.className),v=m?{className:m}:{};return E.cloneElement(u,Object.assign({},Cm(u.props,Ed(fl(l,["ref"]))),c,a,gy(u.ref,a.ref),v))}return E.createElement(i,Object.assign({},fl(l,["ref"]),i!==E.Fragment&&a,i!==E.Fragment&&c),u)}function gy(...e){return{ref:e.every(t=>t==null)?void 0:t=>{for(let n of e)n!=null&&(typeof n=="function"?n(t):n.current=t)}}}function Cm(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let i in r)i.startsWith("on")&&typeof r[i]=="function"?(n[i]!=null||(n[i]=[]),n[i].push(r[i])):t[i]=r[i];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(r=>[r,void 0])));for(let r in n)Object.assign(t,{[r](i,...s){let o=n[r];for(let l of o){if((i instanceof Event||(i==null?void 0:i.nativeEvent)instanceof Event)&&i.defaultPrevented)return;l(i,...s)}}});return t}function Un(e){var t;return Object.assign(E.forwardRef(e),{displayName:(t=e.displayName)!=null?t:e.name})}function Ed(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function fl(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function vy(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=(t==null?void 0:t.getAttribute("disabled"))==="";return r&&yy(n)?!1:r}function yy(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}let Wu=E.createContext(null);Wu.displayName="OpenClosedContext";var Ge=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(Ge||{});function Gu(){return E.useContext(Wu)}function km({value:e,children:t}){return F.createElement(Wu.Provider,{value:e},t)}var Ce=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(Ce||{});function Td(e){return[e.screenX,e.screenY]}function wy(){let e=E.useRef([-1,-1]);return{wasMoved(t){let n=Td(t);return e.current[0]===n[0]&&e.current[1]===n[1]?!1:(e.current=n,!0)},update(t){e.current=Td(t)}}}function xy(...e){return E.useMemo(()=>Po(...e),[...e])}function qu(){let e=E.useRef(!1);return st(()=>(e.current=!0,()=>{e.current=!1}),[]),e}let Cd=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function kd(e){var t,n;let r=(t=e.innerText)!=null?t:"",i=e.cloneNode(!0);if(!(i instanceof HTMLElement))return r;let s=!1;for(let l of i.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))l.remove(),s=!0;let o=s?(n=i.innerText)!=null?n:"":r;return Cd.test(o)&&(o=o.replace(Cd,"")),o}function Sy(e){let t=e.getAttribute("aria-label");if(typeof t=="string")return t.trim();let n=e.getAttribute("aria-labelledby");if(n){let r=n.split(" ").map(i=>{let s=document.getElementById(i);if(s){let o=s.getAttribute("aria-label");return typeof o=="string"?o.trim():kd(s).trim()}return null}).filter(Boolean);if(r.length>0)return r.join(", ")}return kd(e).trim()}function Ey(e){let t=E.useRef(""),n=E.useRef("");return ue(()=>{let r=e.current;if(!r)return"";let i=r.innerText;if(t.current===i)return n.current;let s=Sy(r).trim().toLowerCase();return t.current=i,n.current=s,s})}var Ty=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Ty||{}),Cy=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Cy||{}),ky=(e=>(e[e.OpenMenu=0]="OpenMenu",e[e.CloseMenu=1]="CloseMenu",e[e.GoToItem=2]="GoToItem",e[e.Search=3]="Search",e[e.ClearSearch=4]="ClearSearch",e[e.RegisterItem=5]="RegisterItem",e[e.UnregisterItem=6]="UnregisterItem",e))(ky||{});function pl(e,t=n=>n){let n=e.activeItemIndex!==null?e.items[e.activeItemIndex]:null,r=Tm(t(e.items.slice()),s=>s.dataRef.current.domRef.current),i=n?r.indexOf(n):null;return i===-1&&(i=null),{items:r,activeItemIndex:i}}let by={1(e){return e.menuState===1?e:{...e,activeItemIndex:null,menuState:1}},0(e){return e.menuState===0?e:{...e,__demoMode:!1,menuState:0}},2:(e,t)=>{var n;let r=pl(e),i=hy(t,{resolveItems:()=>r.items,resolveActiveIndex:()=>r.activeItemIndex,resolveId:s=>s.id,resolveDisabled:s=>s.dataRef.current.disabled});return{...e,...r,searchQuery:"",activeItemIndex:i,activationTrigger:(n=t.trigger)!=null?n:1}},3:(e,t)=>{let n=e.searchQuery!==""?0:1,r=e.searchQuery+t.value.toLowerCase(),i=(e.activeItemIndex!==null?e.items.slice(e.activeItemIndex+n).concat(e.items.slice(0,e.activeItemIndex+n)):e.items).find(o=>{var l;return((l=o.dataRef.current.textValue)==null?void 0:l.startsWith(r))&&!o.dataRef.current.disabled}),s=i?e.items.indexOf(i):-1;return s===-1||s===e.activeItemIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeItemIndex:s,activationTrigger:1}},4(e){return e.searchQuery===""?e:{...e,searchQuery:"",searchActiveItemIndex:null}},5:(e,t)=>{let n=pl(e,r=>[...r,{id:t.id,dataRef:t.dataRef}]);return{...e,...n}},6:(e,t)=>{let n=pl(e,r=>{let i=r.findIndex(s=>s.id===t.id);return i!==-1&&r.splice(i,1),r});return{...e,...n,activationTrigger:1}}},Xu=E.createContext(null);Xu.displayName="MenuContext";function _o(e){let t=E.useContext(Xu);if(t===null){let n=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,_o),n}return t}function Py(e,t){return Xe(t.type,by,e,t)}let _y=E.Fragment;function Ly(e,t){let{__demoMode:n=!1,...r}=e,i=E.useReducer(Py,{__demoMode:n,menuState:n?0:1,buttonRef:E.createRef(),itemsRef:E.createRef(),items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:s,itemsRef:o,buttonRef:l},a]=i,u=br(t);cy([l,o],(v,y)=>{var g;a({type:1}),Vu(y,Hu.Loose)||(v.preventDefault(),(g=l.current)==null||g.focus())},s===0);let c=ue(()=>{a({type:1})}),d=E.useMemo(()=>({open:s===0,close:c}),[s,c]),m={ref:u};return F.createElement(Xu.Provider,{value:i},F.createElement(km,{value:Xe(s,{0:Ge.Open,1:Ge.Closed})},Pr({ourProps:m,theirProps:r,slot:d,defaultTag:_y,name:"Menu"})))}let Ny="button";function Oy(e,t){var n;let r=Uu(),{id:i=`headlessui-menu-button-${r}`,...s}=e,[o,l]=_o("Menu.Button"),a=br(o.buttonRef,t),u=bo(),c=ue(g=>{switch(g.key){case Ce.Space:case Ce.Enter:case Ce.ArrowDown:g.preventDefault(),g.stopPropagation(),l({type:0}),u.nextFrame(()=>l({type:2,focus:pt.First}));break;case Ce.ArrowUp:g.preventDefault(),g.stopPropagation(),l({type:0}),u.nextFrame(()=>l({type:2,focus:pt.Last}));break}}),d=ue(g=>{switch(g.key){case Ce.Space:g.preventDefault();break}}),m=ue(g=>{if(vy(g.currentTarget))return g.preventDefault();e.disabled||(o.menuState===0?(l({type:1}),u.nextFrame(()=>{var S;return(S=o.buttonRef.current)==null?void 0:S.focus({preventScroll:!0})})):(g.preventDefault(),l({type:0})))}),v=E.useMemo(()=>({open:o.menuState===0}),[o]),y={ref:a,id:i,type:dy(e,o.buttonRef),"aria-haspopup":"menu","aria-controls":(n=o.itemsRef.current)==null?void 0:n.id,"aria-expanded":o.menuState===0,onKeyDown:c,onKeyUp:d,onClick:m};return Pr({ourProps:y,theirProps:s,slot:v,defaultTag:Ny,name:"Menu.Button"})}let jy="div",Iy=Js.RenderStrategy|Js.Static;function My(e,t){var n,r;let i=Uu(),{id:s=`headlessui-menu-items-${i}`,...o}=e,[l,a]=_o("Menu.Items"),u=br(l.itemsRef,t),c=xy(l.itemsRef),d=bo(),m=Gu(),v=m!==null?(m&Ge.Open)===Ge.Open:l.menuState===0;E.useEffect(()=>{let f=l.itemsRef.current;f&&l.menuState===0&&f!==(c==null?void 0:c.activeElement)&&f.focus({preventScroll:!0})},[l.menuState,l.itemsRef,c]),py({container:l.itemsRef.current,enabled:l.menuState===0,accept(f){return f.getAttribute("role")==="menuitem"?NodeFilter.FILTER_REJECT:f.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(f){f.setAttribute("role","none")}});let y=ue(f=>{var p,w;switch(d.dispose(),f.key){case Ce.Space:if(l.searchQuery!=="")return f.preventDefault(),f.stopPropagation(),a({type:3,value:f.key});case Ce.Enter:if(f.preventDefault(),f.stopPropagation(),a({type:1}),l.activeItemIndex!==null){let{dataRef:T}=l.items[l.activeItemIndex];(w=(p=T.current)==null?void 0:p.domRef.current)==null||w.click()}Em(l.buttonRef.current);break;case Ce.ArrowDown:return f.preventDefault(),f.stopPropagation(),a({type:2,focus:pt.Next});case Ce.ArrowUp:return f.preventDefault(),f.stopPropagation(),a({type:2,focus:pt.Previous});case Ce.Home:case Ce.PageUp:return f.preventDefault(),f.stopPropagation(),a({type:2,focus:pt.First});case Ce.End:case Ce.PageDown:return f.preventDefault(),f.stopPropagation(),a({type:2,focus:pt.Last});case Ce.Escape:f.preventDefault(),f.stopPropagation(),a({type:1}),Bt().nextFrame(()=>{var T;return(T=l.buttonRef.current)==null?void 0:T.focus({preventScroll:!0})});break;case Ce.Tab:f.preventDefault(),f.stopPropagation(),a({type:1}),Bt().nextFrame(()=>{ly(l.buttonRef.current,f.shiftKey?Oa.Previous:Oa.Next)});break;default:f.key.length===1&&(a({type:3,value:f.key}),d.setTimeout(()=>a({type:4}),350));break}}),g=ue(f=>{switch(f.key){case Ce.Space:f.preventDefault();break}}),S=E.useMemo(()=>({open:l.menuState===0}),[l]),h={"aria-activedescendant":l.activeItemIndex===null||(n=l.items[l.activeItemIndex])==null?void 0:n.id,"aria-labelledby":(r=l.buttonRef.current)==null?void 0:r.id,id:s,onKeyDown:y,onKeyUp:g,role:"menu",tabIndex:0,ref:u};return Pr({ourProps:h,theirProps:o,slot:S,defaultTag:jy,features:Iy,visible:v,name:"Menu.Items"})}let Ry=E.Fragment;function Ay(e,t){let n=Uu(),{id:r=`headlessui-menu-item-${n}`,disabled:i=!1,...s}=e,[o,l]=_o("Menu.Item"),a=o.activeItemIndex!==null?o.items[o.activeItemIndex].id===r:!1,u=E.useRef(null),c=br(t,u);st(()=>{if(o.__demoMode||o.menuState!==0||!a||o.activationTrigger===0)return;let T=Bt();return T.requestAnimationFrame(()=>{var C,O;(O=(C=u.current)==null?void 0:C.scrollIntoView)==null||O.call(C,{block:"nearest"})}),T.dispose},[o.__demoMode,u,a,o.menuState,o.activationTrigger,o.activeItemIndex]);let d=Ey(u),m=E.useRef({disabled:i,domRef:u,get textValue(){return d()}});st(()=>{m.current.disabled=i},[m,i]),st(()=>(l({type:5,id:r,dataRef:m}),()=>l({type:6,id:r})),[m,r]);let v=ue(()=>{l({type:1})}),y=ue(T=>{if(i)return T.preventDefault();l({type:1}),Em(o.buttonRef.current)}),g=ue(()=>{if(i)return l({type:2,focus:pt.Nothing});l({type:2,focus:pt.Specific,id:r})}),S=wy(),h=ue(T=>S.update(T)),f=ue(T=>{S.wasMoved(T)&&(i||a||l({type:2,focus:pt.Specific,id:r,trigger:0}))}),p=ue(T=>{S.wasMoved(T)&&(i||a&&l({type:2,focus:pt.Nothing}))}),w=E.useMemo(()=>({active:a,disabled:i,close:v}),[a,i,v]);return Pr({ourProps:{id:r,ref:c,role:"menuitem",tabIndex:i===!0?void 0:-1,"aria-disabled":i===!0?!0:void 0,disabled:void 0,onClick:y,onFocus:g,onPointerEnter:h,onMouseEnter:h,onPointerMove:f,onMouseMove:f,onPointerLeave:p,onMouseLeave:p},theirProps:s,slot:w,defaultTag:Ry,name:"Menu.Item"})}let zy=Un(Ly),$y=Un(Oy),Dy=Un(My),Fy=Un(Ay),Qi=Object.assign(zy,{Button:$y,Items:Dy,Item:Fy});function By(e=0){let[t,n]=E.useState(e),r=qu(),i=E.useCallback(a=>{r.current&&n(u=>u|a)},[t,r]),s=E.useCallback(a=>!!(t&a),[t]),o=E.useCallback(a=>{r.current&&n(u=>u&~a)},[n,r]),l=E.useCallback(a=>{r.current&&n(u=>u^a)},[n]);return{flags:t,addFlag:i,hasFlag:s,removeFlag:o,toggleFlag:l}}function Uy(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}function ml(e,...t){e&&t.length>0&&e.classList.add(...t)}function hl(e,...t){e&&t.length>0&&e.classList.remove(...t)}function Hy(e,t){let n=Bt();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:i}=getComputedStyle(e),[s,o]=[r,i].map(a=>{let[u=0]=a.split(",").filter(Boolean).map(c=>c.includes("ms")?parseFloat(c):parseFloat(c)*1e3).sort((c,d)=>d-c);return u}),l=s+o;if(l!==0){n.group(u=>{u.setTimeout(()=>{t(),u.dispose()},l),u.addEventListener(e,"transitionrun",c=>{c.target===c.currentTarget&&u.dispose()})});let a=n.addEventListener(e,"transitionend",u=>{u.target===u.currentTarget&&(t(),a())})}else t();return n.add(()=>t()),n.dispose}function Vy(e,t,n,r){let i=n?"enter":"leave",s=Bt(),o=r!==void 0?Uy(r):()=>{};i==="enter"&&(e.removeAttribute("hidden"),e.style.display="");let l=Xe(i,{enter:()=>t.enter,leave:()=>t.leave}),a=Xe(i,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),u=Xe(i,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return hl(e,...t.base,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),ml(e,...t.base,...l,...u),s.nextFrame(()=>{hl(e,...t.base,...l,...u),ml(e,...t.base,...l,...a),Hy(e,()=>(hl(e,...t.base,...l),ml(e,...t.base,...t.entered),o()))}),s.dispose}function Wy({immediate:e,container:t,direction:n,classes:r,onStart:i,onStop:s}){let o=qu(),l=bo(),a=gn(n);st(()=>{e&&(a.current="enter")},[e]),st(()=>{let u=Bt();l.add(u.dispose);let c=t.current;if(c&&a.current!=="idle"&&o.current)return u.dispose(),i.current(a.current),u.add(Vy(c,r.current,a.current==="enter",()=>{u.dispose(),s.current(a.current)})),u.dispose},[n])}function Xt(e=""){return e.split(" ").filter(t=>t.trim().length>1)}let Lo=E.createContext(null);Lo.displayName="TransitionContext";var Gy=(e=>(e.Visible="visible",e.Hidden="hidden",e))(Gy||{});function qy(){let e=E.useContext(Lo);if(e===null)throw new Error("A is used but it is missing a parent or .");return e}function Xy(){let e=E.useContext(No);if(e===null)throw new Error("A is used but it is missing a parent or .");return e}let No=E.createContext(null);No.displayName="NestingContext";function Oo(e){return"children"in e?Oo(e.children):e.current.filter(({el:t})=>t.current!==null).filter(({state:t})=>t==="visible").length>0}function bm(e,t){let n=gn(e),r=E.useRef([]),i=qu(),s=bo(),o=ue((v,y=sn.Hidden)=>{let g=r.current.findIndex(({el:S})=>S===v);g!==-1&&(Xe(y,{[sn.Unmount](){r.current.splice(g,1)},[sn.Hidden](){r.current[g].state="hidden"}}),s.microTask(()=>{var S;!Oo(r)&&i.current&&((S=n.current)==null||S.call(n))}))}),l=ue(v=>{let y=r.current.find(({el:g})=>g===v);return y?y.state!=="visible"&&(y.state="visible"):r.current.push({el:v,state:"visible"}),()=>o(v,sn.Unmount)}),a=E.useRef([]),u=E.useRef(Promise.resolve()),c=E.useRef({enter:[],leave:[],idle:[]}),d=ue((v,y,g)=>{a.current.splice(0),t&&(t.chains.current[y]=t.chains.current[y].filter(([S])=>S!==v)),t==null||t.chains.current[y].push([v,new Promise(S=>{a.current.push(S)})]),t==null||t.chains.current[y].push([v,new Promise(S=>{Promise.all(c.current[y].map(([h,f])=>f)).then(()=>S())})]),y==="enter"?u.current=u.current.then(()=>t==null?void 0:t.wait.current).then(()=>g(y)):g(y)}),m=ue((v,y,g)=>{Promise.all(c.current[y].splice(0).map(([S,h])=>h)).then(()=>{var S;(S=a.current.shift())==null||S()}).then(()=>g(y))});return E.useMemo(()=>({children:r,register:l,unregister:o,onStart:d,onStop:m,wait:u,chains:c}),[l,o,r,d,m,c,u])}function Yy(){}let Ky=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function bd(e){var t;let n={};for(let r of Ky)n[r]=(t=e[r])!=null?t:Yy;return n}function Qy(e){let t=E.useRef(bd(e));return E.useEffect(()=>{t.current=bd(e)},[e]),t}let Jy="div",Pm=Js.RenderStrategy;function Zy(e,t){var n,r;let{beforeEnter:i,afterEnter:s,beforeLeave:o,afterLeave:l,enter:a,enterFrom:u,enterTo:c,entered:d,leave:m,leaveFrom:v,leaveTo:y,...g}=e,S=E.useRef(null),h=br(S,t),f=(n=g.unmount)==null||n?sn.Unmount:sn.Hidden,{show:p,appear:w,initial:T}=qy(),[C,O]=E.useState(p?"visible":"hidden"),_=Xy(),{register:P,unregister:b}=_;E.useEffect(()=>P(S),[P,S]),E.useEffect(()=>{if(f===sn.Hidden&&S.current){if(p&&C!=="visible"){O("visible");return}return Xe(C,{hidden:()=>b(S),visible:()=>P(S)})}},[C,S,P,b,p,f]);let k=gn({base:Xt(g.className),enter:Xt(a),enterFrom:Xt(u),enterTo:Xt(c),entered:Xt(d),leave:Xt(m),leaveFrom:Xt(v),leaveTo:Xt(y)}),L=Qy({beforeEnter:i,afterEnter:s,beforeLeave:o,afterLeave:l}),N=Bu();E.useEffect(()=>{if(N&&C==="visible"&&S.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[S,C,N]);let M=T&&!w,D=w&&p&&T,H=!N||M?"idle":p?"enter":"leave",Q=By(0),I=ue(te=>Xe(te,{enter:()=>{Q.addFlag(Ge.Opening),L.current.beforeEnter()},leave:()=>{Q.addFlag(Ge.Closing),L.current.beforeLeave()},idle:()=>{}})),A=ue(te=>Xe(te,{enter:()=>{Q.removeFlag(Ge.Opening),L.current.afterEnter()},leave:()=>{Q.removeFlag(Ge.Closing),L.current.afterLeave()},idle:()=>{}})),z=bm(()=>{O("hidden"),b(S)},_);Wy({immediate:D,container:S,classes:k,direction:H,onStart:gn(te=>{z.onStart(S,te,I)}),onStop:gn(te=>{z.onStop(S,te,A),te==="leave"&&!Oo(z)&&(O("hidden"),b(S))})});let U=g,X={ref:h};return D?U={...U,className:Qs(g.className,...k.current.enter,...k.current.enterFrom)}:(U.className=Qs(g.className,(r=S.current)==null?void 0:r.className),U.className===""&&delete U.className),F.createElement(No.Provider,{value:z},F.createElement(km,{value:Xe(C,{visible:Ge.Open,hidden:Ge.Closed})|Q.flags},Pr({ourProps:X,theirProps:U,defaultTag:Jy,features:Pm,visible:C==="visible",name:"Transition.Child"})))}function e1(e,t){let{show:n,appear:r=!1,unmount:i=!0,...s}=e,o=E.useRef(null),l=br(o,t);Bu();let a=Gu();if(n===void 0&&a!==null&&(n=(a&Ge.Open)===Ge.Open),![!0,!1].includes(n))throw new Error("A is used but it is missing a `show={true | false}` prop.");let[u,c]=E.useState(n?"visible":"hidden"),d=bm(()=>{c("hidden")}),[m,v]=E.useState(!0),y=E.useRef([n]);st(()=>{m!==!1&&y.current[y.current.length-1]!==n&&(y.current.push(n),v(!1))},[y,n]);let g=E.useMemo(()=>({show:n,appear:r,initial:m}),[n,r,m]);E.useEffect(()=>{if(n)c("visible");else if(!Oo(d))c("hidden");else{let p=o.current;if(!p)return;let w=p.getBoundingClientRect();w.x===0&&w.y===0&&w.width===0&&w.height===0&&c("hidden")}},[n,d]);let S={unmount:i},h=ue(()=>{var p;m&&v(!1),(p=e.beforeEnter)==null||p.call(e)}),f=ue(()=>{var p;m&&v(!1),(p=e.beforeLeave)==null||p.call(e)});return F.createElement(No.Provider,{value:d},F.createElement(Lo.Provider,{value:g},Pr({ourProps:{...S,as:E.Fragment,children:F.createElement(_m,{ref:l,...S,...s,beforeEnter:h,beforeLeave:f})},theirProps:{},defaultTag:E.Fragment,features:Pm,visible:u==="visible",name:"Transition"})))}function t1(e,t){let n=E.useContext(Lo)!==null,r=Gu()!==null;return F.createElement(F.Fragment,null,!n&&r?F.createElement(ja,{ref:t,...e}):F.createElement(_m,{ref:t,...e}))}let ja=Un(e1),_m=Un(Zy),n1=Un(t1),r1=Object.assign(ja,{Child:n1,Root:ja});var Lm={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Pd=F.createContext&&F.createContext(Lm),vn=function(){return vn=Object.assign||function(e){for(var t,n=1,r=arguments.length;nx.jsx("div",{className:"fixed z-20 w-screen h-screen flex flex-col justify-center items-center bg-black/[.6]",children:x.jsxs("div",{className:"mt-[-10%]",children:[x.jsx("div",{className:"flex w-[400px] justify-center items-center mt-8",children:x.jsx("div",{className:"w-[200px] h-[200px] animate-[pulse_2.8s_ease-in-out_infinite]",children:x.jsx("img",{className:"w-fit h-fit object-cover",src:"/assets/images/logo.png",width:150,height:150,alt:"image"})})}),x.jsxs("div",{className:"flex w-[400px] justify-center items-center mt-[40px]",children:[x.jsx("div",{className:"h-[15px] w-[15px] mx-[16px] bgc-primary-600 animate-[bounce_0.8s_ease-in-out_infinite] rounded-full opacity-1"}),x.jsx("div",{className:"h-[15px] w-[15px] mx-[16px] bgc-primary-600 animate-[bounce_0.8s_ease-in-out_infinite] rounded-full opacity-1"}),x.jsx("div",{className:"h-[15px] w-[15px] mx-[16px] bgc-primary-600 animate-[bounce_0.8s_ease-in-out_infinite] rounded-full opacity-1"}),x.jsx("div",{className:"h-[15px] w-[15px] mx-[16px] bgc-primary-600 animate-[bounce_0.8s_ease-in-out_infinite] rounded-full opacity-1"}),x.jsx("div",{className:"h-[15px] w-[15px] mx-[16px] bgc-primary-600 animate-[bounce_0.8s_ease-in-out_infinite] rounded-full opacity-1"}),x.jsx("div",{className:"h-[15px] w-[15px] mx-[16px] bgc-primary-600 animate-[bounce_0.8s_ease-in-out_infinite] rounded-full opacity-1"})]})]})}),kt=F.createContext({});function c1({children:e}){const[t,n]=F.useState(!0);return E.useEffect(()=>{(async()=>{n(!0),setTimeout(()=>{n(!1)},1200)})()},[]),x.jsx(kt.Provider,{value:{loading:t},children:x.jsxs("div",{className:"relative",children:[t&&x.jsx(u1,{}),e]})})}const Ia=[{id:"1",text:"A Festa",link:"#about",top:!0,middle:!1},{id:"2",text:"Programação",link:"#schedule",top:!0,middle:!1},{id:"3",text:"Cardápio",link:"#menu",top:!0,middle:!1},{id:"4",text:"Inscrições",link:"#subscription",top:!1,middle:!0},{id:"8",text:"Assista Ao Vivo",link:"#in-live",top:!1,middle:!0},{id:"6",showLogo:!0,top:!0,middle:!1},{id:"7",text:"Noticias",link:"#news",top:!0,middle:!1},{id:"5",text:"Galeria",link:"#gallery",top:!1,middle:!0},{id:"9",text:"Patrocinadores",link:"#sponsors",top:!0,middle:!1},{id:"10",text:"Contatos",link:"#contact",top:!0,middle:!1}],d1="_container_2r5xj_1",Wn={container:d1,"content-desktop":"_content-desktop_2r5xj_19","content-mobile":"_content-mobile_2r5xj_51","text-menu":"_text-menu_2r5xj_81","li-mobile":"_li-mobile_2r5xj_165"},Om=F.createContext({}),jm=!0;function f1({baseColor:e,highlightColor:t,width:n,height:r,borderRadius:i,circle:s,direction:o,duration:l,enableAnimation:a=jm}){const u={};return o==="rtl"&&(u["--animation-direction"]="reverse"),typeof l=="number"&&(u["--animation-duration"]=`${l}s`),a||(u["--pseudo-element-display"]="none"),(typeof n=="string"||typeof n=="number")&&(u.width=n),(typeof r=="string"||typeof r=="number")&&(u.height=r),(typeof i=="string"||typeof i=="number")&&(u.borderRadius=i),s&&(u.borderRadius="50%"),typeof e<"u"&&(u["--base-color"]=e),typeof t<"u"&&(u["--highlight-color"]=t),u}function B({count:e=1,wrapper:t,className:n,containerClassName:r,containerTestId:i,circle:s=!1,style:o,...l}){var a,u,c;const d=F.useContext(Om),m={...l};for(const[p,w]of Object.entries(l))typeof w>"u"&&delete m[p];const v={...d,...m,circle:s},y={...o,...f1(v)};let g="react-loading-skeleton";n&&(g+=` ${n}`);const S=(a=v.inline)!==null&&a!==void 0?a:!1,h=[],f=Math.ceil(e);for(let p=0;pe&&p===f-1){const C=(u=w.width)!==null&&u!==void 0?u:"100%",O=e%1,_=typeof C=="number"?C*O:`calc(${C} * ${O})`;w={...w,width:_}}const T=F.createElement("span",{className:g,style:w,key:p},"‌");S?h.push(T):h.push(F.createElement(F.Fragment,{key:p},T,F.createElement("br",null)))}return F.createElement("span",{className:r,"data-testid":i,"aria-live":"polite","aria-busy":(c=v.enableAnimation)!==null&&c!==void 0?c:jm},t?h.map((p,w)=>F.createElement(t,{key:w},p)):h)}function p1({children:e,...t}){return F.createElement(Om.Provider,{value:t},e)}const G=({children:e})=>x.jsx(p1,{baseColor:"#6e6e6e40",highlightColor:"#44444440",children:e}),m1="http://hog099.github.io/portifolio-fest-lp-front",h1=()=>{const{loading:e}=E.useContext(kt),[t,n]=E.useState(!1);E.useEffect(()=>{t||document.body.classList.remove("scroll-block")},[t]);const r=i=>{i&&document.body.classList.add("scroll-block"),n(i)};return x.jsxs("header",{className:Wn.container,children:[x.jsxs("div",{className:Wn["content-desktop"],children:[e&&x.jsxs(G,{children:[x.jsx(B,{width:150,height:20,style:{marginRight:5}}),x.jsx(B,{width:150,height:20,style:{marginRight:5}}),x.jsx(B,{width:150,height:20,style:{marginRight:5}}),x.jsx(B,{width:70,height:70,style:{marginRight:20,marginLeft:20}}),x.jsx(B,{width:150,height:20,style:{marginRight:5}}),x.jsx(B,{width:150,height:20,style:{marginRight:5}}),x.jsx(B,{width:150,height:20,style:{marginRight:5}})]}),!e&&x.jsx(x.Fragment,{children:Ia.map(i=>{if(i.top)return i.showLogo?x.jsx("img",{"data-aos":"zoom-in","data-aos-delay":"300",className:"object-cover",src:m1+"/assets/images/logo.png",width:80,height:80,alt:"image"},i==null?void 0:i.id):x.jsx("a",{"data-aos":"fade-down",href:i.link,children:x.jsx("p",{className:Wn["text-menu"]+" text-[16px] mx-2",children:i.text})},i==null?void 0:i.id)})})]}),x.jsxs("div",{className:Wn["content-mobile"],children:[e&&x.jsxs(G,{children:[x.jsx(B,{width:80,height:70,style:{marginRight:5}}),x.jsx(B,{width:40,height:40,style:{marginRight:5}})]}),!e&&x.jsxs(x.Fragment,{children:[x.jsx("img",{"data-aos":"zoom-in","data-aos-delay":"300",className:"object-cover",src:"/assets/images/logo.png",width:80,height:80,alt:"image"}),x.jsxs(Qi,{children:[x.jsxs(Qi.Button,{onClick:()=>r(!t),children:[!t&&x.jsx(o1,{size:40,color:"#F8F8FF"}),t&&x.jsx(a1,{size:40,color:"#F8F8FF"})]}),x.jsx(r1,{as:F.Fragment,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:x.jsx(Qi.Items,{className:"absolute w-[100%] h-[100vh] right-0 top-[90px] z-10 p-2 origin-top shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none bgc-primary",children:x.jsx("ul",{className:"w-[100%] mt-6 px-12",children:Ia.map((i,s)=>{if(!i.showLogo)return x.jsx("li",{"data-aos":"fade-right","data-aos-delay":(s+1)*100+100,className:Wn["li-mobile"],children:x.jsx(Qi.Item,{children:x.jsx("a",{"data-aos":"fade-down",href:i.link,onClick:()=>r(!1),children:x.jsx("p",{className:Wn["text-menu"]+" text-[22px] hover:text-[24px] mx-2",children:i==null?void 0:i.text})})})},i==null?void 0:i.id)})})})})]})]})]})]})},g1="_container_k8n9w_1",Ji={container:g1,"content-desktop":"_content-desktop_k8n9w_13","content-mobile":"_content-mobile_k8n9w_101","text-menu":"_text-menu_k8n9w_115","item-loading":"_item-loading_k8n9w_145"},v1=()=>{const{loading:e}=E.useContext(kt);return x.jsxs("section",{className:Ji.container,children:[e&&x.jsx("div",{className:Ji["content-desktop"],children:x.jsxs(G,{children:[x.jsx(B,{width:250,height:45,style:{marginRight:10}}),x.jsx(B,{width:250,height:45,style:{marginRight:10}}),x.jsx(B,{width:250,height:45,style:{marginRight:10}})]})}),!e&&x.jsx("div",{className:Ji["content-desktop"],children:Ia.map(t=>{if(t.middle)return x.jsx("a",{"data-aos":"fade-up",href:t.link,children:x.jsx("p",{className:Ji["text-menu"]+" text-[15px] md:text-[15px] lg:text-[22px] mx-2",children:t.text})},t==null?void 0:t.id)})})]})};function _d(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function Yu(e,t){e===void 0&&(e={}),t===void 0&&(t={}),Object.keys(t).forEach(n=>{typeof e[n]>"u"?e[n]=t[n]:_d(t[n])&&_d(e[n])&&Object.keys(t[n]).length>0&&Yu(e[n],t[n])})}const Im={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 gt(){const e=typeof document<"u"?document:{};return Yu(e,Im),e}const y1={document:Im,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 typeof setTimeout>"u"?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){typeof setTimeout>"u"||clearTimeout(e)}};function Oe(){const e=typeof window<"u"?window:{};return Yu(e,y1),e}function w1(e){return e===void 0&&(e=""),e.trim().split(" ").filter(t=>!!t.trim())}function x1(e){const t=e;Object.keys(t).forEach(n=>{try{t[n]=null}catch{}try{delete t[n]}catch{}})}function Si(e,t){return t===void 0&&(t=0),setTimeout(e,t)}function jt(){return Date.now()}function S1(e){const t=Oe();let n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}function E1(e,t){t===void 0&&(t="x");const n=Oe();let r,i,s;const o=S1(e);return n.WebKitCSSMatrix?(i=o.transform||o.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map(l=>l.replace(",",".")).join(", ")),s=new n.WebKitCSSMatrix(i==="none"?"":i)):(s=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),r=s.toString().split(",")),t==="x"&&(n.WebKitCSSMatrix?i=s.m41:r.length===16?i=parseFloat(r[12]):i=parseFloat(r[4])),t==="y"&&(n.WebKitCSSMatrix?i=s.m42:r.length===16?i=parseFloat(r[13]):i=parseFloat(r[5])),i||0}function Zi(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"}function T1(e){return typeof window<"u"&&typeof window.HTMLElement<"u"?e instanceof HTMLElement:e&&(e.nodeType===1||e.nodeType===11)}function We(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let n=1;nt.indexOf(s)<0);for(let s=0,o=i.length;ss?"next":"prev",c=(m,v)=>u==="next"&&m>=v||u==="prev"&&m<=v,d=()=>{l=new Date().getTime(),o===null&&(o=l);const m=Math.max(Math.min((l-o)/a,1),0),v=.5-Math.cos(m*Math.PI)/2;let y=s+v*(n-s);if(c(y,n)&&(y=n),t.wrapperEl.scrollTo({[r]:y}),c(y,n)){t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout(()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[r]:y})}),i.cancelAnimationFrame(t.cssModeFrameID);return}t.cssModeFrameID=i.requestAnimationFrame(d)};d()}function St(e,t){return t===void 0&&(t=""),[...e.children].filter(n=>n.matches(t))}function Zs(e){try{console.warn(e);return}catch{}}function eo(e,t){t===void 0&&(t=[]);const n=document.createElement(e);return n.classList.add(...Array.isArray(t)?t:w1(t)),n}function C1(e){const t=Oe(),n=gt(),r=e.getBoundingClientRect(),i=n.body,s=e.clientTop||i.clientTop||0,o=e.clientLeft||i.clientLeft||0,l=e===t?t.scrollY:e.scrollTop,a=e===t?t.scrollX:e.scrollLeft;return{top:r.top+l-s,left:r.left+a-o}}function k1(e,t){const n=[];for(;e.previousElementSibling;){const r=e.previousElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}function b1(e,t){const n=[];for(;e.nextElementSibling;){const r=e.nextElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}function on(e,t){return Oe().getComputedStyle(e,null).getPropertyValue(t)}function to(e){let t=e,n;if(t){for(n=0;(t=t.previousSibling)!==null;)t.nodeType===1&&(n+=1);return n}}function no(e,t){const n=[];let r=e.parentElement;for(;r;)t?r.matches(t)&&n.push(r):n.push(r),r=r.parentElement;return n}function Ma(e,t,n){const r=Oe();return n?e[t==="width"?"offsetWidth":"offsetHeight"]+parseFloat(r.getComputedStyle(e,null).getPropertyValue(t==="width"?"margin-right":"margin-top"))+parseFloat(r.getComputedStyle(e,null).getPropertyValue(t==="width"?"margin-left":"margin-bottom")):e.offsetWidth}function P1(e){let{swiper:t,extendParams:n,on:r,emit:i}=e;const s=gt(),o=Oe();t.keyboard={enabled:!1},n({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}});function l(c){if(!t.enabled)return;const{rtlTranslate:d}=t;let m=c;m.originalEvent&&(m=m.originalEvent);const v=m.keyCode||m.charCode,y=t.params.keyboard.pageUpDown,g=y&&v===33,S=y&&v===34,h=v===37,f=v===39,p=v===38,w=v===40;if(!t.allowSlideNext&&(t.isHorizontal()&&f||t.isVertical()&&w||S)||!t.allowSlidePrev&&(t.isHorizontal()&&h||t.isVertical()&&p||g))return!1;if(!(m.shiftKey||m.altKey||m.ctrlKey||m.metaKey)&&!(s.activeElement&&s.activeElement.nodeName&&(s.activeElement.nodeName.toLowerCase()==="input"||s.activeElement.nodeName.toLowerCase()==="textarea"))){if(t.params.keyboard.onlyInViewport&&(g||S||h||f||p||w)){let T=!1;if(no(t.el,`.${t.params.slideClass}, swiper-slide`).length>0&&no(t.el,`.${t.params.slideActiveClass}`).length===0)return;const C=t.el,O=C.clientWidth,_=C.clientHeight,P=o.innerWidth,b=o.innerHeight,k=C1(C);d&&(k.left-=C.scrollLeft);const L=[[k.left,k.top],[k.left+O,k.top],[k.left,k.top+_],[k.left+O,k.top+_]];for(let N=0;N=0&&M[0]<=P&&M[1]>=0&&M[1]<=b){if(M[0]===0&&M[1]===0)continue;T=!0}}if(!T)return}t.isHorizontal()?((g||S||h||f)&&(m.preventDefault?m.preventDefault():m.returnValue=!1),((S||f)&&!d||(g||h)&&d)&&t.slideNext(),((g||h)&&!d||(S||f)&&d)&&t.slidePrev()):((g||S||p||w)&&(m.preventDefault?m.preventDefault():m.returnValue=!1),(S||w)&&t.slideNext(),(g||p)&&t.slidePrev()),i("keyPress",v)}}function a(){t.keyboard.enabled||(s.addEventListener("keydown",l),t.keyboard.enabled=!0)}function u(){t.keyboard.enabled&&(s.removeEventListener("keydown",l),t.keyboard.enabled=!1)}r("init",()=>{t.params.keyboard.enabled&&a()}),r("destroy",()=>{t.keyboard.enabled&&u()}),Object.assign(t.keyboard,{enable:a,disable:u})}function _1(e){let{swiper:t,extendParams:n,on:r,emit:i}=e;const s=Oe();n({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),t.mousewheel={enabled:!1};let o,l=jt(),a;const u=[];function c(p){let O=0,_=0,P=0,b=0;return"detail"in p&&(_=p.detail),"wheelDelta"in p&&(_=-p.wheelDelta/120),"wheelDeltaY"in p&&(_=-p.wheelDeltaY/120),"wheelDeltaX"in p&&(O=-p.wheelDeltaX/120),"axis"in p&&p.axis===p.HORIZONTAL_AXIS&&(O=_,_=0),P=O*10,b=_*10,"deltaY"in p&&(b=p.deltaY),"deltaX"in p&&(P=p.deltaX),p.shiftKey&&!P&&(P=b,b=0),(P||b)&&p.deltaMode&&(p.deltaMode===1?(P*=40,b*=40):(P*=800,b*=800)),P&&!O&&(O=P<1?-1:1),b&&!_&&(_=b<1?-1:1),{spinX:O,spinY:_,pixelX:P,pixelY:b}}function d(){t.enabled&&(t.mouseEntered=!0)}function m(){t.enabled&&(t.mouseEntered=!1)}function v(p){return t.params.mousewheel.thresholdDelta&&p.delta=6&&jt()-l<60?!0:(p.direction<0?(!t.isEnd||t.params.loop)&&!t.animating&&(t.slideNext(),i("scroll",p.raw)):(!t.isBeginning||t.params.loop)&&!t.animating&&(t.slidePrev(),i("scroll",p.raw)),l=new s.Date().getTime(),!1)}function y(p){const w=t.params.mousewheel;if(p.direction<0){if(t.isEnd&&!t.params.loop&&w.releaseOnEdges)return!0}else if(t.isBeginning&&!t.params.loop&&w.releaseOnEdges)return!0;return!1}function g(p){let w=p,T=!0;if(!t.enabled||p.target.closest(`.${t.params.mousewheel.noMousewheelClass}`))return;const C=t.params.mousewheel;t.params.cssMode&&w.preventDefault();let O=t.el;t.params.mousewheel.eventsTarget!=="container"&&(O=document.querySelector(t.params.mousewheel.eventsTarget));const _=O&&O.contains(w.target);if(!t.mouseEntered&&!_&&!C.releaseOnEdges)return!0;w.originalEvent&&(w=w.originalEvent);let P=0;const b=t.rtlTranslate?-1:1,k=c(w);if(C.forceToAxis)if(t.isHorizontal())if(Math.abs(k.pixelX)>Math.abs(k.pixelY))P=-k.pixelX*b;else return!0;else if(Math.abs(k.pixelY)>Math.abs(k.pixelX))P=-k.pixelY;else return!0;else P=Math.abs(k.pixelX)>Math.abs(k.pixelY)?-k.pixelX*b:-k.pixelY;if(P===0)return!0;C.invert&&(P=-P);let L=t.getTranslate()+P*C.sensitivity;if(L>=t.minTranslate()&&(L=t.minTranslate()),L<=t.maxTranslate()&&(L=t.maxTranslate()),T=t.params.loop?!0:!(L===t.minTranslate()||L===t.maxTranslate()),T&&t.params.nested&&w.stopPropagation(),!t.params.freeMode||!t.params.freeMode.enabled){const N={time:jt(),delta:Math.abs(P),direction:Math.sign(P),raw:p};u.length>=2&&u.shift();const M=u.length?u[u.length-1]:void 0;if(u.push(N),M?(N.direction!==M.direction||N.delta>M.delta||N.time>M.time+150)&&v(N):v(N),y(N))return!0}else{const N={time:jt(),delta:Math.abs(P),direction:Math.sign(P)},M=a&&N.time=t.minTranslate()&&(D=t.minTranslate()),D<=t.maxTranslate()&&(D=t.maxTranslate()),t.setTransition(0),t.setTranslate(D),t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses(),(!H&&t.isBeginning||!Q&&t.isEnd)&&t.updateSlidesClasses(),t.params.loop&&t.loopFix({direction:N.direction<0?"next":"prev",byMousewheel:!0}),t.params.freeMode.sticky){clearTimeout(o),o=void 0,u.length>=15&&u.shift();const I=u.length?u[u.length-1]:void 0,A=u[0];if(u.push(N),I&&(N.delta>I.delta||N.direction!==I.direction))u.splice(0);else if(u.length>=15&&N.time-A.time<500&&A.delta-N.delta>=1&&N.delta<=6){const z=P>0?.8:.2;a=N,u.splice(0),o=Si(()=>{t.slideToClosest(t.params.speed,!0,void 0,z)},0)}o||(o=Si(()=>{a=N,u.splice(0),t.slideToClosest(t.params.speed,!0,void 0,.5)},500))}if(M||i("scroll",w),t.params.autoplay&&t.params.autoplayDisableOnInteraction&&t.autoplay.stop(),C.releaseOnEdges&&(D===t.minTranslate()||D===t.maxTranslate()))return!0}}return w.preventDefault?w.preventDefault():w.returnValue=!1,!1}function S(p){let w=t.el;t.params.mousewheel.eventsTarget!=="container"&&(w=document.querySelector(t.params.mousewheel.eventsTarget)),w[p]("mouseenter",d),w[p]("mouseleave",m),w[p]("wheel",g)}function h(){return t.params.cssMode?(t.wrapperEl.removeEventListener("wheel",g),!0):t.mousewheel.enabled?!1:(S("addEventListener"),t.mousewheel.enabled=!0,!0)}function f(){return t.params.cssMode?(t.wrapperEl.addEventListener(event,g),!0):t.mousewheel.enabled?(S("removeEventListener"),t.mousewheel.enabled=!1,!0):!1}r("init",()=>{!t.params.mousewheel.enabled&&t.params.cssMode&&f(),t.params.mousewheel.enabled&&h()}),r("destroy",()=>{t.params.cssMode&&h(),t.mousewheel.enabled&&f()}),Object.assign(t.mousewheel,{enable:h,disable:f})}function Rm(e,t,n,r){return e.params.createElements&&Object.keys(r).forEach(i=>{if(!n[i]&&n.auto===!0){let s=St(e.el,`.${r[i]}`)[0];s||(s=eo("div",r[i]),s.className=r[i],e.el.append(s)),n[i]=s,t[i]=s}}),n}function L1(e){let{swiper:t,extendParams:n,on:r,emit:i}=e;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};const s=g=>(Array.isArray(g)?g:[g]).filter(S=>!!S);function o(g){let S;return g&&typeof g=="string"&&t.isElement&&(S=t.el.querySelector(g),S)?S:(g&&(typeof g=="string"&&(S=[...document.querySelectorAll(g)]),t.params.uniqueNavElements&&typeof g=="string"&&S.length>1&&t.el.querySelectorAll(g).length===1&&(S=t.el.querySelector(g))),g&&!S?g:S)}function l(g,S){const h=t.params.navigation;g=s(g),g.forEach(f=>{f&&(f.classList[S?"add":"remove"](...h.disabledClass.split(" ")),f.tagName==="BUTTON"&&(f.disabled=S),t.params.watchOverflow&&t.enabled&&f.classList[t.isLocked?"add":"remove"](h.lockClass))})}function a(){const{nextEl:g,prevEl:S}=t.navigation;if(t.params.loop){l(S,!1),l(g,!1);return}l(S,t.isBeginning&&!t.params.rewind),l(g,t.isEnd&&!t.params.rewind)}function u(g){g.preventDefault(),!(t.isBeginning&&!t.params.loop&&!t.params.rewind)&&(t.slidePrev(),i("navigationPrev"))}function c(g){g.preventDefault(),!(t.isEnd&&!t.params.loop&&!t.params.rewind)&&(t.slideNext(),i("navigationNext"))}function d(){const g=t.params.navigation;if(t.params.navigation=Rm(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(g.nextEl||g.prevEl))return;let S=o(g.nextEl),h=o(g.prevEl);Object.assign(t.navigation,{nextEl:S,prevEl:h}),S=s(S),h=s(h);const f=(p,w)=>{p&&p.addEventListener("click",w==="next"?c:u),!t.enabled&&p&&p.classList.add(...g.lockClass.split(" "))};S.forEach(p=>f(p,"next")),h.forEach(p=>f(p,"prev"))}function m(){let{nextEl:g,prevEl:S}=t.navigation;g=s(g),S=s(S);const h=(f,p)=>{f.removeEventListener("click",p==="next"?c:u),f.classList.remove(...t.params.navigation.disabledClass.split(" "))};g.forEach(f=>h(f,"next")),S.forEach(f=>h(f,"prev"))}r("init",()=>{t.params.navigation.enabled===!1?y():(d(),a())}),r("toEdge fromEdge lock unlock",()=>{a()}),r("destroy",()=>{m()}),r("enable disable",()=>{let{nextEl:g,prevEl:S}=t.navigation;if(g=s(g),S=s(S),t.enabled){a();return}[...g,...S].filter(h=>!!h).forEach(h=>h.classList.add(t.params.navigation.lockClass))}),r("click",(g,S)=>{let{nextEl:h,prevEl:f}=t.navigation;h=s(h),f=s(f);const p=S.target;if(t.params.navigation.hideOnClick&&!f.includes(p)&&!h.includes(p)){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===p||t.pagination.el.contains(p)))return;let w;h.length?w=h[0].classList.contains(t.params.navigation.hiddenClass):f.length&&(w=f[0].classList.contains(t.params.navigation.hiddenClass)),i(w===!0?"navigationShow":"navigationHide"),[...h,...f].filter(T=>!!T).forEach(T=>T.classList.toggle(t.params.navigation.hiddenClass))}});const v=()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),d(),a()},y=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),m()};Object.assign(t.navigation,{enable:v,disable:y,update:a,init:d,destroy:m})}function $r(e){return e===void 0&&(e=""),`.${e.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function N1(e){let{swiper:t,extendParams:n,on:r,emit:i}=e;const s="swiper-pagination";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:f=>f,formatFractionTotal:f=>f,bulletClass:`${s}-bullet`,bulletActiveClass:`${s}-bullet-active`,modifierClass:`${s}-`,currentClass:`${s}-current`,totalClass:`${s}-total`,hiddenClass:`${s}-hidden`,progressbarFillClass:`${s}-progressbar-fill`,progressbarOppositeClass:`${s}-progressbar-opposite`,clickableClass:`${s}-clickable`,lockClass:`${s}-lock`,horizontalClass:`${s}-horizontal`,verticalClass:`${s}-vertical`,paginationDisabledClass:`${s}-disabled`}}),t.pagination={el:null,bullets:[]};let o,l=0;const a=f=>(Array.isArray(f)?f:[f]).filter(p=>!!p);function u(){return!t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&t.pagination.el.length===0}function c(f,p){const{bulletActiveClass:w}=t.params.pagination;f&&(f=f[`${p==="prev"?"previous":"next"}ElementSibling`],f&&(f.classList.add(`${w}-${p}`),f=f[`${p==="prev"?"previous":"next"}ElementSibling`],f&&f.classList.add(`${w}-${p}-${p}`)))}function d(f){const p=f.target.closest($r(t.params.pagination.bulletClass));if(!p)return;f.preventDefault();const w=to(p)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===w)return;t.slideToLoop(w)}else t.slideTo(w)}function m(){const f=t.rtl,p=t.params.pagination;if(u())return;let w=t.pagination.el;w=a(w);let T,C;const O=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,_=t.params.loop?Math.ceil(O/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(C=t.previousRealIndex||0,T=t.params.slidesPerGroup>1?Math.floor(t.realIndex/t.params.slidesPerGroup):t.realIndex):typeof t.snapIndex<"u"?(T=t.snapIndex,C=t.previousSnapIndex):(C=t.previousIndex||0,T=t.activeIndex||0),p.type==="bullets"&&t.pagination.bullets&&t.pagination.bullets.length>0){const P=t.pagination.bullets;let b,k,L;if(p.dynamicBullets&&(o=Ma(P[0],t.isHorizontal()?"width":"height",!0),w.forEach(N=>{N.style[t.isHorizontal()?"width":"height"]=`${o*(p.dynamicMainBullets+4)}px`}),p.dynamicMainBullets>1&&C!==void 0&&(l+=T-(C||0),l>p.dynamicMainBullets-1?l=p.dynamicMainBullets-1:l<0&&(l=0)),b=Math.max(T-l,0),k=b+(Math.min(P.length,p.dynamicMainBullets)-1),L=(k+b)/2),P.forEach(N=>{const M=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(D=>`${p.bulletActiveClass}${D}`)].map(D=>typeof D=="string"&&D.includes(" ")?D.split(" "):D).flat();N.classList.remove(...M)}),w.length>1)P.forEach(N=>{const M=to(N);M===T?N.classList.add(...p.bulletActiveClass.split(" ")):t.isElement&&N.setAttribute("part","bullet"),p.dynamicBullets&&(M>=b&&M<=k&&N.classList.add(...`${p.bulletActiveClass}-main`.split(" ")),M===b&&c(N,"prev"),M===k&&c(N,"next"))});else{const N=P[T];if(N&&N.classList.add(...p.bulletActiveClass.split(" ")),t.isElement&&P.forEach((M,D)=>{M.setAttribute("part",D===T?"bullet-active":"bullet")}),p.dynamicBullets){const M=P[b],D=P[k];for(let H=b;H<=k;H+=1)P[H]&&P[H].classList.add(...`${p.bulletActiveClass}-main`.split(" "));c(M,"prev"),c(D,"next")}}if(p.dynamicBullets){const N=Math.min(P.length,p.dynamicMainBullets+4),M=(o*N-o)/2-L*o,D=f?"right":"left";P.forEach(H=>{H.style[t.isHorizontal()?D:"top"]=`${M}px`})}}w.forEach((P,b)=>{if(p.type==="fraction"&&(P.querySelectorAll($r(p.currentClass)).forEach(k=>{k.textContent=p.formatFractionCurrent(T+1)}),P.querySelectorAll($r(p.totalClass)).forEach(k=>{k.textContent=p.formatFractionTotal(_)})),p.type==="progressbar"){let k;p.progressbarOpposite?k=t.isHorizontal()?"vertical":"horizontal":k=t.isHorizontal()?"horizontal":"vertical";const L=(T+1)/_;let N=1,M=1;k==="horizontal"?N=L:M=L,P.querySelectorAll($r(p.progressbarFillClass)).forEach(D=>{D.style.transform=`translate3d(0,0,0) scaleX(${N}) scaleY(${M})`,D.style.transitionDuration=`${t.params.speed}ms`})}p.type==="custom"&&p.renderCustom?(P.innerHTML=p.renderCustom(t,T+1,_),b===0&&i("paginationRender",P)):(b===0&&i("paginationRender",P),i("paginationUpdate",P)),t.params.watchOverflow&&t.enabled&&P.classList[t.isLocked?"add":"remove"](p.lockClass)})}function v(){const f=t.params.pagination;if(u())return;const p=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 w=t.pagination.el;w=a(w);let T="";if(f.type==="bullets"){let C=t.params.loop?Math.ceil(p/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&C>p&&(C=p);for(let O=0;O`}f.type==="fraction"&&(f.renderFraction?T=f.renderFraction.call(t,f.currentClass,f.totalClass):T=` / `),f.type==="progressbar"&&(f.renderProgressbar?T=f.renderProgressbar.call(t,f.progressbarFillClass):T=``),t.pagination.bullets=[],w.forEach(C=>{f.type!=="custom"&&(C.innerHTML=T||""),f.type==="bullets"&&t.pagination.bullets.push(...C.querySelectorAll($r(f.bulletClass)))}),f.type!=="custom"&&i("paginationRender",w[0])}function y(){t.params.pagination=Rm(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const f=t.params.pagination;if(!f.el)return;let p;typeof f.el=="string"&&t.isElement&&(p=t.el.querySelector(f.el)),!p&&typeof f.el=="string"&&(p=[...document.querySelectorAll(f.el)]),p||(p=f.el),!(!p||p.length===0)&&(t.params.uniqueNavElements&&typeof f.el=="string"&&Array.isArray(p)&&p.length>1&&(p=[...t.el.querySelectorAll(f.el)],p.length>1&&(p=p.filter(w=>no(w,".swiper")[0]===t.el)[0])),Array.isArray(p)&&p.length===1&&(p=p[0]),Object.assign(t.pagination,{el:p}),p=a(p),p.forEach(w=>{f.type==="bullets"&&f.clickable&&w.classList.add(...(f.clickableClass||"").split(" ")),w.classList.add(f.modifierClass+f.type),w.classList.add(t.isHorizontal()?f.horizontalClass:f.verticalClass),f.type==="bullets"&&f.dynamicBullets&&(w.classList.add(`${f.modifierClass}${f.type}-dynamic`),l=0,f.dynamicMainBullets<1&&(f.dynamicMainBullets=1)),f.type==="progressbar"&&f.progressbarOpposite&&w.classList.add(f.progressbarOppositeClass),f.clickable&&w.addEventListener("click",d),t.enabled||w.classList.add(f.lockClass)}))}function g(){const f=t.params.pagination;if(u())return;let p=t.pagination.el;p&&(p=a(p),p.forEach(w=>{w.classList.remove(f.hiddenClass),w.classList.remove(f.modifierClass+f.type),w.classList.remove(t.isHorizontal()?f.horizontalClass:f.verticalClass),f.clickable&&(w.classList.remove(...(f.clickableClass||"").split(" ")),w.removeEventListener("click",d))})),t.pagination.bullets&&t.pagination.bullets.forEach(w=>w.classList.remove(...f.bulletActiveClass.split(" ")))}r("changeDirection",()=>{if(!t.pagination||!t.pagination.el)return;const f=t.params.pagination;let{el:p}=t.pagination;p=a(p),p.forEach(w=>{w.classList.remove(f.horizontalClass,f.verticalClass),w.classList.add(t.isHorizontal()?f.horizontalClass:f.verticalClass)})}),r("init",()=>{t.params.pagination.enabled===!1?h():(y(),v(),m())}),r("activeIndexChange",()=>{typeof t.snapIndex>"u"&&m()}),r("snapIndexChange",()=>{m()}),r("snapGridLengthChange",()=>{v(),m()}),r("destroy",()=>{g()}),r("enable disable",()=>{let{el:f}=t.pagination;f&&(f=a(f),f.forEach(p=>p.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass)))}),r("lock unlock",()=>{m()}),r("click",(f,p)=>{const w=p.target,T=a(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&T&&T.length>0&&!w.classList.contains(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&w===t.navigation.nextEl||t.navigation.prevEl&&w===t.navigation.prevEl))return;const C=T[0].classList.contains(t.params.pagination.hiddenClass);i(C===!0?"paginationShow":"paginationHide"),T.forEach(O=>O.classList.toggle(t.params.pagination.hiddenClass))}});const S=()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let{el:f}=t.pagination;f&&(f=a(f),f.forEach(p=>p.classList.remove(t.params.pagination.paginationDisabledClass))),y(),v(),m()},h=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let{el:f}=t.pagination;f&&(f=a(f),f.forEach(p=>p.classList.add(t.params.pagination.paginationDisabledClass))),g()};Object.assign(t.pagination,{enable:S,disable:h,render:v,update:m,init:y,destroy:g})}function O1(e){let{swiper:t,extendParams:n,on:r,emit:i,params:s}=e;t.autoplay={running:!1,paused:!1,timeLeft:0},n({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let o,l,a=s&&s.autoplay?s.autoplay.delay:3e3,u=s&&s.autoplay?s.autoplay.delay:3e3,c,d=new Date().getTime(),m,v,y,g,S,h,f;function p(I){!t||t.destroyed||!t.wrapperEl||I.target===t.wrapperEl&&(t.wrapperEl.removeEventListener("transitionend",p),!f&&b())}const w=()=>{if(t.destroyed||!t.autoplay.running)return;t.autoplay.paused?m=!0:m&&(u=c,m=!1);const I=t.autoplay.paused?c:d+u-new Date().getTime();t.autoplay.timeLeft=I,i("autoplayTimeLeft",I,I/a),l=requestAnimationFrame(()=>{w()})},T=()=>{let I;return t.virtual&&t.params.virtual.enabled?I=t.slides.filter(z=>z.classList.contains("swiper-slide-active"))[0]:I=t.slides[t.activeIndex],I?parseInt(I.getAttribute("data-swiper-autoplay"),10):void 0},C=I=>{if(t.destroyed||!t.autoplay.running)return;cancelAnimationFrame(l),w();let A=typeof I>"u"?t.params.autoplay.delay:I;a=t.params.autoplay.delay,u=t.params.autoplay.delay;const z=T();!Number.isNaN(z)&&z>0&&typeof I>"u"&&(A=z,a=z,u=z),c=A;const U=t.params.speed,X=()=>{!t||t.destroyed||(t.params.autoplay.reverseDirection?!t.isBeginning||t.params.loop||t.params.rewind?(t.slidePrev(U,!0,!0),i("autoplay")):t.params.autoplay.stopOnLastSlide||(t.slideTo(t.slides.length-1,U,!0,!0),i("autoplay")):!t.isEnd||t.params.loop||t.params.rewind?(t.slideNext(U,!0,!0),i("autoplay")):t.params.autoplay.stopOnLastSlide||(t.slideTo(0,U,!0,!0),i("autoplay")),t.params.cssMode&&(d=new Date().getTime(),requestAnimationFrame(()=>{C()})))};return A>0?(clearTimeout(o),o=setTimeout(()=>{X()},A)):requestAnimationFrame(()=>{X()}),A},O=()=>{d=new Date().getTime(),t.autoplay.running=!0,C(),i("autoplayStart")},_=()=>{t.autoplay.running=!1,clearTimeout(o),cancelAnimationFrame(l),i("autoplayStop")},P=(I,A)=>{if(t.destroyed||!t.autoplay.running)return;clearTimeout(o),I||(h=!0);const z=()=>{i("autoplayPause"),t.params.autoplay.waitForTransition?t.wrapperEl.addEventListener("transitionend",p):b()};if(t.autoplay.paused=!0,A){S&&(c=t.params.autoplay.delay),S=!1,z();return}c=(c||t.params.autoplay.delay)-(new Date().getTime()-d),!(t.isEnd&&c<0&&!t.params.loop)&&(c<0&&(c=0),z())},b=()=>{t.isEnd&&c<0&&!t.params.loop||t.destroyed||!t.autoplay.running||(d=new Date().getTime(),h?(h=!1,C(c)):C(),t.autoplay.paused=!1,i("autoplayResume"))},k=()=>{if(t.destroyed||!t.autoplay.running)return;const I=gt();I.visibilityState==="hidden"&&(h=!0,P(!0)),I.visibilityState==="visible"&&b()},L=I=>{I.pointerType==="mouse"&&(h=!0,f=!0,!(t.animating||t.autoplay.paused)&&P(!0))},N=I=>{I.pointerType==="mouse"&&(f=!1,t.autoplay.paused&&b())},M=()=>{t.params.autoplay.pauseOnMouseEnter&&(t.el.addEventListener("pointerenter",L),t.el.addEventListener("pointerleave",N))},D=()=>{t.el.removeEventListener("pointerenter",L),t.el.removeEventListener("pointerleave",N)},H=()=>{gt().addEventListener("visibilitychange",k)},Q=()=>{gt().removeEventListener("visibilitychange",k)};r("init",()=>{t.params.autoplay.enabled&&(M(),H(),O())}),r("destroy",()=>{D(),Q(),t.autoplay.running&&_()}),r("_freeModeStaticRelease",()=>{(y||h)&&b()}),r("_freeModeNoMomentumRelease",()=>{t.params.autoplay.disableOnInteraction?_():P(!0,!0)}),r("beforeTransitionStart",(I,A,z)=>{t.destroyed||!t.autoplay.running||(z||!t.params.autoplay.disableOnInteraction?P(!0,!0):_())}),r("sliderFirstMove",()=>{if(!(t.destroyed||!t.autoplay.running)){if(t.params.autoplay.disableOnInteraction){_();return}v=!0,y=!1,h=!1,g=setTimeout(()=>{h=!0,y=!0,P(!0)},200)}}),r("touchEnd",()=>{if(!(t.destroyed||!t.autoplay.running||!v)){if(clearTimeout(g),clearTimeout(o),t.params.autoplay.disableOnInteraction){y=!1,v=!1;return}y&&t.params.cssMode&&b(),y=!1,v=!1}}),r("slideChange",()=>{t.destroyed||!t.autoplay.running||(S=!0)}),Object.assign(t.autoplay,{start:O,stop:_,pause:P,resume:b})}let gl;function j1(){const e=Oe(),t=gt();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}function Am(){return gl||(gl=j1()),gl}let vl;function I1(e){let{userAgent:t}=e===void 0?{}:e;const n=Am(),r=Oe(),i=r.navigator.platform,s=t||r.navigator.userAgent,o={ios:!1,android:!1},l=r.screen.width,a=r.screen.height,u=s.match(/(Android);?[\s\/]+([\d.]+)?/);let c=s.match(/(iPad).*OS\s([\d_]+)/);const d=s.match(/(iPod)(.*OS\s([\d_]+))?/),m=!c&&s.match(/(iPhone\sOS|iOS)\s([\d_]+)/),v=i==="Win32";let y=i==="MacIntel";const g=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&y&&n.touch&&g.indexOf(`${l}x${a}`)>=0&&(c=s.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),y=!1),u&&!v&&(o.os="android",o.android=!0),(c||m||d)&&(o.os="ios",o.ios=!0),o}function M1(e){return e===void 0&&(e={}),vl||(vl=I1(e)),vl}let yl;function R1(){const e=Oe();let t=!1;function n(){const r=e.navigator.userAgent.toLowerCase();return r.indexOf("safari")>=0&&r.indexOf("chrome")<0&&r.indexOf("android")<0}if(n()){const r=String(e.navigator.userAgent);if(r.includes("Version/")){const[i,s]=r.split("Version/")[1].split(" ")[0].split(".").map(o=>Number(o));t=i<16||i===16&&s<2}}return{isSafari:t||n(),needPerspectiveFix:t,isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}function A1(){return yl||(yl=R1()),yl}function z1(e){let{swiper:t,on:n,emit:r}=e;const i=Oe();let s=null,o=null;const l=()=>{!t||t.destroyed||!t.initialized||(r("beforeResize"),r("resize"))},a=()=>{!t||t.destroyed||!t.initialized||(s=new ResizeObserver(d=>{o=i.requestAnimationFrame(()=>{const{width:m,height:v}=t;let y=m,g=v;d.forEach(S=>{let{contentBoxSize:h,contentRect:f,target:p}=S;p&&p!==t.el||(y=f?f.width:(h[0]||h).inlineSize,g=f?f.height:(h[0]||h).blockSize)}),(y!==m||g!==v)&&l()})}),s.observe(t.el))},u=()=>{o&&i.cancelAnimationFrame(o),s&&s.unobserve&&t.el&&(s.unobserve(t.el),s=null)},c=()=>{!t||t.destroyed||!t.initialized||r("orientationchange")};n("init",()=>{if(t.params.resizeObserver&&typeof i.ResizeObserver<"u"){a();return}i.addEventListener("resize",l),i.addEventListener("orientationchange",c)}),n("destroy",()=>{u(),i.removeEventListener("resize",l),i.removeEventListener("orientationchange",c)})}function $1(e){let{swiper:t,extendParams:n,on:r,emit:i}=e;const s=[],o=Oe(),l=function(c,d){d===void 0&&(d={});const m=o.MutationObserver||o.WebkitMutationObserver,v=new m(y=>{if(t.__preventObserver__)return;if(y.length===1){i("observerUpdate",y[0]);return}const g=function(){i("observerUpdate",y[0])};o.requestAnimationFrame?o.requestAnimationFrame(g):o.setTimeout(g,0)});v.observe(c,{attributes:typeof d.attributes>"u"?!0:d.attributes,childList:typeof d.childList>"u"?!0:d.childList,characterData:typeof d.characterData>"u"?!0:d.characterData}),s.push(v)},a=()=>{if(t.params.observer){if(t.params.observeParents){const c=no(t.hostEl);for(let d=0;d{s.forEach(c=>{c.disconnect()}),s.splice(0,s.length)};n({observer:!1,observeParents:!1,observeSlideChildren:!1}),r("init",a),r("destroy",u)}var D1={on(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed||typeof t!="function")return r;const i=n?"unshift":"push";return e.split(" ").forEach(s=>{r.eventsListeners[s]||(r.eventsListeners[s]=[]),r.eventsListeners[s][i](t)}),r},once(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed||typeof t!="function")return r;function i(){r.off(e,i),i.__emitterProxy&&delete i.__emitterProxy;for(var s=arguments.length,o=new Array(s),l=0;l=0&&t.eventsAnyListeners.splice(n,1),t},off(e,t){const n=this;return!n.eventsListeners||n.destroyed||!n.eventsListeners||e.split(" ").forEach(r=>{typeof t>"u"?n.eventsListeners[r]=[]:n.eventsListeners[r]&&n.eventsListeners[r].forEach((i,s)=>{(i===t||i.__emitterProxy&&i.__emitterProxy===t)&&n.eventsListeners[r].splice(s,1)})}),n},emit(){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsListeners)return e;let t,n,r;for(var i=arguments.length,s=new Array(i),o=0;o{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach(u=>{u.apply(r,[a,...n])}),e.eventsListeners&&e.eventsListeners[a]&&e.eventsListeners[a].forEach(u=>{u.apply(r,n)})}),e}};function F1(){const e=this;let t,n;const r=e.el;typeof e.params.width<"u"&&e.params.width!==null?t=e.params.width:t=r.clientWidth,typeof e.params.height<"u"&&e.params.height!==null?n=e.params.height:n=r.clientHeight,!(t===0&&e.isHorizontal()||n===0&&e.isVertical())&&(t=t-parseInt(on(r,"padding-left")||0,10)-parseInt(on(r,"padding-right")||0,10),n=n-parseInt(on(r,"padding-top")||0,10)-parseInt(on(r,"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}))}function B1(){const e=this;function t(b,k){return parseFloat(b.getPropertyValue(e.getDirectionLabel(k))||0)}const n=e.params,{wrapperEl:r,slidesEl:i,size:s,rtlTranslate:o,wrongRTL:l}=e,a=e.virtual&&n.virtual.enabled,u=a?e.virtual.slides.length:e.slides.length,c=St(i,`.${e.params.slideClass}, swiper-slide`),d=a?e.virtual.slides.length:c.length;let m=[];const v=[],y=[];let g=n.slidesOffsetBefore;typeof g=="function"&&(g=n.slidesOffsetBefore.call(e));let S=n.slidesOffsetAfter;typeof S=="function"&&(S=n.slidesOffsetAfter.call(e));const h=e.snapGrid.length,f=e.slidesGrid.length;let p=n.spaceBetween,w=-g,T=0,C=0;if(typeof s>"u")return;typeof p=="string"&&p.indexOf("%")>=0?p=parseFloat(p.replace("%",""))/100*s:typeof p=="string"&&(p=parseFloat(p)),e.virtualSize=-p,c.forEach(b=>{o?b.style.marginLeft="":b.style.marginRight="",b.style.marginBottom="",b.style.marginTop=""}),n.centeredSlides&&n.cssMode&&(es(r,"--swiper-centered-offset-before",""),es(r,"--swiper-centered-offset-after",""));const O=n.grid&&n.grid.rows>1&&e.grid;O?e.grid.initSlides(c):e.grid&&e.grid.unsetSlides();let _;const P=n.slidesPerView==="auto"&&n.breakpoints&&Object.keys(n.breakpoints).filter(b=>typeof n.breakpoints[b].slidesPerView<"u").length>0;for(let b=0;b1&&m.push(e.virtualSize-s)}if(a&&n.loop){const b=y[0]+p;if(n.slidesPerGroup>1){const k=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/n.slidesPerGroup),L=b*n.slidesPerGroup;for(let N=0;N!n.cssMode||n.loop?!0:L!==c.length-1).forEach(k=>{k.style[b]=`${p}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let b=0;y.forEach(L=>{b+=L+(p||0)}),b-=p;const k=b-s;m=m.map(L=>L<=0?-g:L>k?k+S:L)}if(n.centerInsufficientSlides){let b=0;if(y.forEach(k=>{b+=k+(p||0)}),b-=p,b{m[N]=L-k}),v.forEach((L,N)=>{v[N]=L+k})}}if(Object.assign(e,{slides:c,snapGrid:m,slidesGrid:v,slidesSizesGrid:y}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){es(r,"--swiper-centered-offset-before",`${-m[0]}px`),es(r,"--swiper-centered-offset-after",`${e.size/2-y[y.length-1]/2}px`);const b=-e.snapGrid[0],k=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(L=>L+b),e.slidesGrid=e.slidesGrid.map(L=>L+k)}if(d!==u&&e.emit("slidesLengthChange"),m.length!==h&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),v.length!==f&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!a&&!n.cssMode&&(n.effect==="slide"||n.effect==="fade")){const b=`${n.containerModifierClass}backface-hidden`,k=e.el.classList.contains(b);d<=n.maxBackfaceHiddenSlides?k||e.el.classList.add(b):k&&e.el.classList.remove(b)}}function U1(e){const t=this,n=[],r=t.virtual&&t.params.virtual.enabled;let i=0,s;typeof e=="number"?t.setTransition(e):e===!0&&t.setTransition(t.params.speed);const o=l=>r?t.slides[t.getSlideIndexByData(l)]:t.slides[l];if(t.params.slidesPerView!=="auto"&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach(l=>{n.push(l)});else for(s=0;st.slides.length&&!r)break;n.push(o(l))}else n.push(o(t.activeIndex));for(s=0;si?l:i}(i||i===0)&&(t.wrapperEl.style.height=`${i}px`)}function H1(){const e=this,t=e.slides,n=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let r=0;r"u"&&t.updateSlidesOffset();let o=-e;i&&(o=e),r.forEach(a=>{a.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass)}),t.visibleSlidesIndexes=[],t.visibleSlides=[];let l=n.spaceBetween;typeof l=="string"&&l.indexOf("%")>=0?l=parseFloat(l.replace("%",""))/100*t.size:typeof l=="string"&&(l=parseFloat(l));for(let a=0;a=0&&v<=t.size-t.slidesSizesGrid[a];(v>=0&&v1&&y<=t.size||v<=0&&y>=t.size)&&(t.visibleSlides.push(u),t.visibleSlidesIndexes.push(a),r[a].classList.add(n.slideVisibleClass)),g&&r[a].classList.add(n.slideFullyVisibleClass),u.progress=i?-d:d,u.originalProgress=i?-m:m}}function W1(e){const t=this;if(typeof e>"u"){const c=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*c||0}const n=t.params,r=t.maxTranslate()-t.minTranslate();let{progress:i,isBeginning:s,isEnd:o,progressLoop:l}=t;const a=s,u=o;if(r===0)i=0,s=!0,o=!0;else{i=(e-t.minTranslate())/r;const c=Math.abs(e-t.minTranslate())<1,d=Math.abs(e-t.maxTranslate())<1;s=c||i<=0,o=d||i>=1,c&&(i=0),d&&(i=1)}if(n.loop){const c=t.getSlideIndexByData(0),d=t.getSlideIndexByData(t.slides.length-1),m=t.slidesGrid[c],v=t.slidesGrid[d],y=t.slidesGrid[t.slidesGrid.length-1],g=Math.abs(e);g>=m?l=(g-m)/y:l=(g+y-v)/y,l>1&&(l-=1)}Object.assign(t,{progress:i,progressLoop:l,isBeginning:s,isEnd:o}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),s&&!a&&t.emit("reachBeginning toEdge"),o&&!u&&t.emit("reachEnd toEdge"),(a&&!s||u&&!o)&&t.emit("fromEdge"),t.emit("progress",i)}function G1(){const e=this,{slides:t,params:n,slidesEl:r,activeIndex:i}=e,s=e.virtual&&n.virtual.enabled,o=e.grid&&n.grid&&n.grid.rows>1,l=d=>St(r,`.${n.slideClass}${d}, swiper-slide${d}`)[0];t.forEach(d=>{d.classList.remove(n.slideActiveClass,n.slideNextClass,n.slidePrevClass)});let a,u,c;if(s)if(n.loop){let d=i-e.virtual.slidesBefore;d<0&&(d=e.virtual.slides.length+d),d>=e.virtual.slides.length&&(d-=e.virtual.slides.length),a=l(`[data-swiper-slide-index="${d}"]`)}else a=l(`[data-swiper-slide-index="${i}"]`);else o?(a=t.filter(d=>d.column===i)[0],c=t.filter(d=>d.column===i+1)[0],u=t.filter(d=>d.column===i-1)[0]):a=t[i];a&&(a.classList.add(n.slideActiveClass),o?(c&&c.classList.add(n.slideNextClass),u&&u.classList.add(n.slidePrevClass)):(c=b1(a,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!c&&(c=t[0]),c&&c.classList.add(n.slideNextClass),u=k1(a,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!u===0&&(u=t[t.length-1]),u&&u.classList.add(n.slidePrevClass))),e.emitSlidesClasses()}const gs=(e,t)=>{if(!e||e.destroyed||!e.params)return;const n=()=>e.isElement?"swiper-slide":`.${e.params.slideClass}`,r=t.closest(n());if(r){let i=r.querySelector(`.${e.params.lazyPreloaderClass}`);!i&&e.isElement&&(r.shadowRoot?i=r.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{r.shadowRoot&&(i=r.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),i&&i.remove())})),i&&i.remove()}},wl=(e,t)=>{if(!e.slides[t])return;const n=e.slides[t].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},Ra=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 r=e.params.slidesPerView==="auto"?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),i=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const o=i,l=[o-t];l.push(...Array.from({length:t}).map((a,u)=>o+r+u)),e.slides.forEach((a,u)=>{l.includes(a.column)&&wl(e,u)});return}const s=i+r-1;if(e.params.rewind||e.params.loop)for(let o=i-t;o<=s+t;o+=1){const l=(o%n+n)%n;(ls)&&wl(e,l)}else for(let o=Math.max(i-t,0);o<=Math.min(s+t,n-1);o+=1)o!==i&&(o>s||o=t[s]&&r=t[s]&&r=t[s]&&(i=s);return n.normalizeSlideIndex&&(i<0||typeof i>"u")&&(i=0),i}function X1(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{snapGrid:r,params:i,activeIndex:s,realIndex:o,snapIndex:l}=t;let a=e,u;const c=v=>{let y=v-t.virtual.slidesBefore;return y<0&&(y=t.virtual.slides.length+y),y>=t.virtual.slides.length&&(y-=t.virtual.slides.length),y};if(typeof a>"u"&&(a=q1(t)),r.indexOf(n)>=0)u=r.indexOf(n);else{const v=Math.min(i.slidesPerGroupSkip,a);u=v+Math.floor((a-v)/i.slidesPerGroup)}if(u>=r.length&&(u=r.length-1),a===s&&!t.params.loop){u!==l&&(t.snapIndex=u,t.emit("snapIndexChange"));return}if(a===s&&t.params.loop&&t.virtual&&t.params.virtual.enabled){t.realIndex=c(a);return}const d=t.grid&&i.grid&&i.grid.rows>1;let m;if(t.virtual&&i.virtual.enabled&&i.loop)m=c(a);else if(d){const v=t.slides.filter(g=>g.column===a)[0];let y=parseInt(v.getAttribute("data-swiper-slide-index"),10);Number.isNaN(y)&&(y=Math.max(t.slides.indexOf(v),0)),m=Math.floor(y/i.grid.rows)}else if(t.slides[a]){const v=t.slides[a].getAttribute("data-swiper-slide-index");v?m=parseInt(v,10):m=a}else m=a;Object.assign(t,{previousSnapIndex:l,snapIndex:u,previousRealIndex:o,realIndex:m,previousIndex:s,activeIndex:a}),t.initialized&&Ra(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(o!==m&&t.emit("realIndexChange"),t.emit("slideChange"))}function Y1(e,t){const n=this,r=n.params;let i=e.closest(`.${r.slideClass}, swiper-slide`);!i&&n.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(l=>{!i&&l.matches&&l.matches(`.${r.slideClass}, swiper-slide`)&&(i=l)});let s=!1,o;if(i){for(let l=0;la?c=a:r&&eo?l="next":s=a.length&&(S=a.length-1);const h=-a[S];if(l.normalizeSlideIndex)for(let p=0;p=T&&w=T&&w=T&&(o=p)}if(s.initialized&&o!==d&&(!s.allowSlideNext&&(m?h>s.translate&&h>s.minTranslate():hs.translate&&h>s.maxTranslate()&&(d||0)!==o))return!1;o!==(c||0)&&n&&s.emit("beforeSlideChangeStart"),s.updateProgress(h);let f;if(o>d?f="next":o0?(s._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{v[p?"scrollLeft":"scrollTop"]=w})):v[p?"scrollLeft":"scrollTop"]=w,T&&requestAnimationFrame(()=>{s.wrapperEl.style.scrollSnapType="",s._immediateVirtual=!1})}else{if(!s.support.smoothScroll)return Mm({swiper:s,targetPosition:w,side:p?"left":"top"}),!0;v.scrollTo({[p?"left":"top"]:w,behavior:"smooth"})}return!0}return s.setTransition(t),s.setTranslate(h),s.updateActiveIndex(o),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,r),s.transitionStart(n,f),t===0?s.transitionEnd(n,f):s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(w){!s||s.destroyed||w.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(n,f))}),s.wrapperEl.addEventListener("transitionend",s.onSlideToWrapperTransitionEnd)),!0}function aw(e,t,n,r){e===void 0&&(e=0),t===void 0&&(t=this.params.speed),n===void 0&&(n=!0),typeof e=="string"&&(e=parseInt(e,10));const i=this,s=i.grid&&i.params.grid&&i.params.grid.rows>1;let o=e;if(i.params.loop)if(i.virtual&&i.params.virtual.enabled)o=o+i.virtual.slidesBefore;else{let l;if(s){const m=o*i.params.grid.rows;l=i.slides.filter(v=>v.getAttribute("data-swiper-slide-index")*1===m)[0].column}else l=i.getSlideIndexByData(o);const a=s?Math.ceil(i.slides.length/i.params.grid.rows):i.slides.length,{centeredSlides:u}=i.params;let c=i.params.slidesPerView;c==="auto"?c=i.slidesPerViewDynamic():(c=Math.ceil(parseFloat(i.params.slidesPerView,10)),u&&c%2===0&&(c=c+1));let d=a-lv.getAttribute("data-swiper-slide-index")*1===m)[0].column}else o=i.getSlideIndexByData(o)}return requestAnimationFrame(()=>{i.slideTo(o,t,n,r)}),i}function uw(e,t,n){e===void 0&&(e=this.params.speed),t===void 0&&(t=!0);const r=this,{enabled:i,params:s,animating:o}=r;if(!i)return r;let l=s.slidesPerGroup;s.slidesPerView==="auto"&&s.slidesPerGroup===1&&s.slidesPerGroupAuto&&(l=Math.max(r.slidesPerViewDynamic("current",!0),1));const a=r.activeIndex{r.slideTo(r.activeIndex+a,e,t,n)}),!0}return s.rewind&&r.isEnd?r.slideTo(0,e,t,n):r.slideTo(r.activeIndex+a,e,t,n)}function cw(e,t,n){e===void 0&&(e=this.params.speed),t===void 0&&(t=!0);const r=this,{params:i,snapGrid:s,slidesGrid:o,rtlTranslate:l,enabled:a,animating:u}=r;if(!a)return r;const c=r.virtual&&i.virtual.enabled;if(i.loop){if(u&&!c&&i.loopPreventsSliding)return!1;r.loopFix({direction:"prev"}),r._clientLeft=r.wrapperEl.clientLeft}const d=l?r.translate:-r.translate;function m(h){return h<0?-Math.floor(Math.abs(h)):Math.floor(h)}const v=m(d),y=s.map(h=>m(h));let g=s[y.indexOf(v)-1];if(typeof g>"u"&&i.cssMode){let h;s.forEach((f,p)=>{v>=f&&(h=p)}),typeof h<"u"&&(g=s[h>0?h-1:h])}let S=0;if(typeof g<"u"&&(S=o.indexOf(g),S<0&&(S=r.activeIndex-1),i.slidesPerView==="auto"&&i.slidesPerGroup===1&&i.slidesPerGroupAuto&&(S=S-r.slidesPerViewDynamic("previous",!0)+1,S=Math.max(S,0))),i.rewind&&r.isBeginning){const h=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(h,e,t,n)}else if(i.loop&&r.activeIndex===0&&i.cssMode)return requestAnimationFrame(()=>{r.slideTo(S,e,t,n)}),!0;return r.slideTo(S,e,t,n)}function dw(e,t,n){e===void 0&&(e=this.params.speed),t===void 0&&(t=!0);const r=this;return r.slideTo(r.activeIndex,e,t,n)}function fw(e,t,n,r){e===void 0&&(e=this.params.speed),t===void 0&&(t=!0),r===void 0&&(r=.5);const i=this;let s=i.activeIndex;const o=Math.min(i.params.slidesPerGroupSkip,s),l=o+Math.floor((s-o)/i.params.slidesPerGroup),a=i.rtlTranslate?i.translate:-i.translate;if(a>=i.snapGrid[l]){const u=i.snapGrid[l],c=i.snapGrid[l+1];a-u>(c-u)*r&&(s+=i.params.slidesPerGroup)}else{const u=i.snapGrid[l-1],c=i.snapGrid[l];a-u<=(c-u)*r&&(s-=i.params.slidesPerGroup)}return s=Math.max(s,0),s=Math.min(s,i.slidesGrid.length-1),i.slideTo(s,e,t,n)}function pw(){const e=this,{params:t,slidesEl:n}=e,r=t.slidesPerView==="auto"?e.slidesPerViewDynamic():t.slidesPerView;let i=e.clickedIndex,s;const o=e.isElement?"swiper-slide":`.${t.slideClass}`;if(t.loop){if(e.animating)return;s=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?ie.slides.length-e.loopedSlides+r/2?(e.loopFix(),i=e.getSlideIndex(St(n,`${o}[data-swiper-slide-index="${s}"]`)[0]),Si(()=>{e.slideTo(i)})):e.slideTo(i):i>e.slides.length-r?(e.loopFix(),i=e.getSlideIndex(St(n,`${o}[data-swiper-slide-index="${s}"]`)[0]),Si(()=>{e.slideTo(i)})):e.slideTo(i)}else e.slideTo(i)}var mw={slideTo:lw,slideToLoop:aw,slideNext:uw,slidePrev:cw,slideReset:dw,slideToClosest:fw,slideToClickedSlide:pw};function hw(e){const t=this,{params:n,slidesEl:r}=t;if(!n.loop||t.virtual&&t.params.virtual.enabled)return;const i=()=>{St(r,`.${n.slideClass}, swiper-slide`).forEach((d,m)=>{d.setAttribute("data-swiper-slide-index",m)})},s=t.grid&&n.grid&&n.grid.rows>1,o=n.slidesPerGroup*(s?n.grid.rows:1),l=t.slides.length%o!==0,a=s&&t.slides.length%n.grid.rows!==0,u=c=>{for(let d=0;d1;u.length"u"?s=a.getSlideIndex(u.filter(N=>N.classList.contains(v.slideActiveClass))[0]):T=s;const C=r==="next"||!r,O=r==="prev"||!r;let _=0,P=0;const b=f?Math.ceil(u.length/v.grid.rows):u.length,L=(f?u[s].column:s)+(y&&typeof i>"u"?-g/2+.5:0);if(L=0;H-=1)u[H].column===D&&p.push(H)}else p.push(b-M-1)}}else if(L+g>b-h){P=Math.max(L-(b-h*2),S);for(let N=0;N{D.column===M&&w.push(H)}):w.push(M)}}if(a.__preventObserver__=!0,requestAnimationFrame(()=>{a.__preventObserver__=!1}),O&&p.forEach(N=>{u[N].swiperLoopMoveDOM=!0,m.prepend(u[N]),u[N].swiperLoopMoveDOM=!1}),C&&w.forEach(N=>{u[N].swiperLoopMoveDOM=!0,m.append(u[N]),u[N].swiperLoopMoveDOM=!1}),a.recalcSlides(),v.slidesPerView==="auto"?a.updateSlides():f&&(p.length>0&&O||w.length>0&&C)&&a.slides.forEach((N,M)=>{a.grid.updateSlide(M,N,a.slides)}),v.watchSlidesProgress&&a.updateSlidesOffset(),n){if(p.length>0&&O){if(typeof t>"u"){const N=a.slidesGrid[T],D=a.slidesGrid[T+_]-N;l?a.setTranslate(a.translate-D):(a.slideTo(T+_,0,!1,!0),i&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-D,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-D))}else if(i){const N=f?p.length/v.grid.rows:p.length;a.slideTo(a.activeIndex+N,0,!1,!0),a.touchEventsData.currentTranslate=a.translate}}else if(w.length>0&&C)if(typeof t>"u"){const N=a.slidesGrid[T],D=a.slidesGrid[T-P]-N;l?a.setTranslate(a.translate-D):(a.slideTo(T-P,0,!1,!0),i&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-D,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-D))}else{const N=f?w.length/v.grid.rows:w.length;a.slideTo(a.activeIndex-N,0,!1,!0)}}if(a.allowSlidePrev=c,a.allowSlideNext=d,a.controller&&a.controller.control&&!o){const N={slideRealIndex:t,direction:r,setTranslate:i,activeSlideIndex:s,byController:!0};Array.isArray(a.controller.control)?a.controller.control.forEach(M=>{!M.destroyed&&M.params.loop&&M.loopFix({...N,slideTo:M.params.slidesPerView===v.slidesPerView?n:!1})}):a.controller.control instanceof a.constructor&&a.controller.control.params.loop&&a.controller.control.loopFix({...N,slideTo:a.controller.control.params.slidesPerView===v.slidesPerView?n:!1})}a.emit("loopFix")}function vw(){const e=this,{params:t,slidesEl:n}=e;if(!t.loop||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const r=[];e.slides.forEach(i=>{const s=typeof i.swiperSlideIndex>"u"?i.getAttribute("data-swiper-slide-index")*1:i.swiperSlideIndex;r[s]=i}),e.slides.forEach(i=>{i.removeAttribute("data-swiper-slide-index")}),r.forEach(i=>{n.append(i)}),e.recalcSlides(),e.slideTo(e.realIndex,0)}var yw={loopCreate:hw,loopFix:gw,loopDestroy:vw};function ww(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n=t.params.touchEventsTarget==="container"?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})}function xw(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e[e.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}var Sw={setGrabCursor:ww,unsetGrabCursor:xw};function Ew(e,t){t===void 0&&(t=this);function n(r){if(!r||r===gt()||r===Oe())return null;r.assignedSlot&&(r=r.assignedSlot);const i=r.closest(e);return!i&&!r.getRootNode?null:i||n(r.getRootNode().host)}return n(t)}function Ld(e,t,n){const r=Oe(),{params:i}=e,s=i.edgeSwipeDetection,o=i.edgeSwipeThreshold;return s&&(n<=o||n>=r.innerWidth-o)?s==="prevent"?(t.preventDefault(),!0):!1:!0}function Tw(e){const t=this,n=gt();let r=e;r.originalEvent&&(r=r.originalEvent);const i=t.touchEventsData;if(r.type==="pointerdown"){if(i.pointerId!==null&&i.pointerId!==r.pointerId)return;i.pointerId=r.pointerId}else r.type==="touchstart"&&r.targetTouches.length===1&&(i.touchId=r.targetTouches[0].identifier);if(r.type==="touchstart"){Ld(t,r,r.targetTouches[0].pageX);return}const{params:s,touches:o,enabled:l}=t;if(!l||!s.simulateTouch&&r.pointerType==="mouse"||t.animating&&s.preventInteractionOnTransition)return;!t.animating&&s.cssMode&&s.loop&&t.loopFix();let a=r.target;if(s.touchEventsTarget==="wrapper"&&!t.wrapperEl.contains(a)||"which"in r&&r.which===3||"button"in r&&r.button>0||i.isTouched&&i.isMoved)return;const u=!!s.noSwipingClass&&s.noSwipingClass!=="",c=r.composedPath?r.composedPath():r.path;u&&r.target&&r.target.shadowRoot&&c&&(a=c[0]);const d=s.noSwipingSelector?s.noSwipingSelector:`.${s.noSwipingClass}`,m=!!(r.target&&r.target.shadowRoot);if(s.noSwiping&&(m?Ew(d,a):a.closest(d))){t.allowClick=!0;return}if(s.swipeHandler&&!a.closest(s.swipeHandler))return;o.currentX=r.pageX,o.currentY=r.pageY;const v=o.currentX,y=o.currentY;if(!Ld(t,r,v))return;Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=v,o.startY=y,i.touchStartTime=jt(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,s.threshold>0&&(i.allowThresholdMove=!1);let g=!0;a.matches(i.focusableElements)&&(g=!1,a.nodeName==="SELECT"&&(i.isTouched=!1)),n.activeElement&&n.activeElement.matches(i.focusableElements)&&n.activeElement!==a&&n.activeElement.blur();const S=g&&t.allowTouchMove&&s.touchStartPreventDefault;(s.touchStartForcePreventDefault||S)&&!a.isContentEditable&&r.preventDefault(),s.freeMode&&s.freeMode.enabled&&t.freeMode&&t.animating&&!s.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",r)}function Cw(e){const t=gt(),n=this,r=n.touchEventsData,{params:i,touches:s,rtlTranslate:o,enabled:l}=n;if(!l||!i.simulateTouch&&e.pointerType==="mouse")return;let a=e;if(a.originalEvent&&(a=a.originalEvent),a.type==="pointermove"&&(r.touchId!==null||a.pointerId!==r.pointerId))return;let u;if(a.type==="touchmove"){if(u=[...a.changedTouches].filter(C=>C.identifier===r.touchId)[0],!u||u.identifier!==r.touchId)return}else u=a;if(!r.isTouched){r.startMoving&&r.isScrolling&&n.emit("touchMoveOpposite",a);return}const c=u.pageX,d=u.pageY;if(a.preventedByNestedSwiper){s.startX=c,s.startY=d;return}if(!n.allowTouchMove){a.target.matches(r.focusableElements)||(n.allowClick=!1),r.isTouched&&(Object.assign(s,{startX:c,startY:d,currentX:c,currentY:d}),r.touchStartTime=jt());return}if(i.touchReleaseOnEdges&&!i.loop){if(n.isVertical()){if(ds.startY&&n.translate>=n.minTranslate()){r.isTouched=!1,r.isMoved=!1;return}}else if(cs.startX&&n.translate>=n.minTranslate())return}if(t.activeElement&&a.target===t.activeElement&&a.target.matches(r.focusableElements)){r.isMoved=!0,n.allowClick=!1;return}r.allowTouchCallbacks&&n.emit("touchMove",a),s.previousX=s.currentX,s.previousY=s.currentY,s.currentX=c,s.currentY=d;const m=s.currentX-s.startX,v=s.currentY-s.startY;if(n.params.threshold&&Math.sqrt(m**2+v**2)"u"){let C;n.isHorizontal()&&s.currentY===s.startY||n.isVertical()&&s.currentX===s.startX?r.isScrolling=!1:m*m+v*v>=25&&(C=Math.atan2(Math.abs(v),Math.abs(m))*180/Math.PI,r.isScrolling=n.isHorizontal()?C>i.touchAngle:90-C>i.touchAngle)}if(r.isScrolling&&n.emit("touchMoveOpposite",a),typeof r.startMoving>"u"&&(s.currentX!==s.startX||s.currentY!==s.startY)&&(r.startMoving=!0),r.isScrolling){r.isTouched=!1;return}if(!r.startMoving)return;n.allowClick=!1,!i.cssMode&&a.cancelable&&a.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&a.stopPropagation();let y=n.isHorizontal()?m:v,g=n.isHorizontal()?s.currentX-s.previousX:s.currentY-s.previousY;i.oneWayMovement&&(y=Math.abs(y)*(o?1:-1),g=Math.abs(g)*(o?1:-1)),s.diff=y,y*=i.touchRatio,o&&(y=-y,g=-g);const S=n.touchesDirection;n.swipeDirection=y>0?"prev":"next",n.touchesDirection=g>0?"prev":"next";const h=n.params.loop&&!i.cssMode,f=n.touchesDirection==="next"&&n.allowSlideNext||n.touchesDirection==="prev"&&n.allowSlidePrev;if(!r.isMoved){if(h&&f&&n.loopFix({direction:n.swipeDirection}),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){const C=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});n.wrapperEl.dispatchEvent(C)}r.allowMomentumBounce=!1,i.grabCursor&&(n.allowSlideNext===!0||n.allowSlidePrev===!0)&&n.setGrabCursor(!0),n.emit("sliderFirstMove",a)}let p;if(new Date().getTime(),r.isMoved&&r.allowThresholdMove&&S!==n.touchesDirection&&h&&f&&Math.abs(y)>=1){Object.assign(s,{startX:c,startY:d,currentX:c,currentY:d,startTranslate:r.currentTranslate}),r.loopSwapReset=!0,r.startTranslate=r.currentTranslate;return}n.emit("sliderMove",a),r.isMoved=!0,r.currentTranslate=y+r.startTranslate;let w=!0,T=i.resistanceRatio;if(i.touchReleaseOnEdges&&(T=0),y>0?(h&&f&&!p&&r.allowThresholdMove&&r.currentTranslate>(i.centeredSlides?n.minTranslate()-n.slidesSizesGrid[n.activeIndex+1]:n.minTranslate())&&n.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),r.currentTranslate>n.minTranslate()&&(w=!1,i.resistance&&(r.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+r.startTranslate+y)**T))):y<0&&(h&&f&&!p&&r.allowThresholdMove&&r.currentTranslate<(i.centeredSlides?n.maxTranslate()+n.slidesSizesGrid[n.slidesSizesGrid.length-1]:n.maxTranslate())&&n.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:n.slides.length-(i.slidesPerView==="auto"?n.slidesPerViewDynamic():Math.ceil(parseFloat(i.slidesPerView,10)))}),r.currentTranslater.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&!n.allowSlideNext&&(r.currentTranslate=r.startTranslate),i.threshold>0)if(Math.abs(y)>i.threshold||r.allowThresholdMove){if(!r.allowThresholdMove){r.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,r.currentTranslate=r.startTranslate,s.diff=n.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY;return}}else{r.currentTranslate=r.startTranslate;return}!i.followFinger||i.cssMode||((i.freeMode&&i.freeMode.enabled&&n.freeMode||i.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),i.freeMode&&i.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}function kw(e){const t=this,n=t.touchEventsData;let r=e;r.originalEvent&&(r=r.originalEvent);let i;if(r.type==="touchend"||r.type==="touchcancel"){if(i=[...r.changedTouches].filter(T=>T.identifier===n.touchId)[0],!i||i.identifier!==n.touchId)return}else{if(n.touchId!==null||r.pointerId!==n.pointerId)return;i=r}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(r.type)&&!(["pointercancel","contextmenu"].includes(r.type)&&(t.browser.isSafari||t.browser.isWebView)))return;n.pointerId=null,n.touchId=null;const{params:o,touches:l,rtlTranslate:a,slidesGrid:u,enabled:c}=t;if(!c||!o.simulateTouch&&r.pointerType==="mouse")return;if(n.allowTouchCallbacks&&t.emit("touchEnd",r),n.allowTouchCallbacks=!1,!n.isTouched){n.isMoved&&o.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,n.startMoving=!1;return}o.grabCursor&&n.isMoved&&n.isTouched&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!1);const d=jt(),m=d-n.touchStartTime;if(t.allowClick){const T=r.path||r.composedPath&&r.composedPath();t.updateClickedSlide(T&&T[0]||r.target,T),t.emit("tap click",r),m<300&&d-n.lastClickTime<300&&t.emit("doubleTap doubleClick",r)}if(n.lastClickTime=jt(),Si(()=>{t.destroyed||(t.allowClick=!0)}),!n.isTouched||!n.isMoved||!t.swipeDirection||l.diff===0&&!n.loopSwapReset||n.currentTranslate===n.startTranslate&&!n.loopSwapReset){n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;return}n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;let v;if(o.followFinger?v=a?t.translate:-t.translate:v=-n.currentTranslate,o.cssMode)return;if(o.freeMode&&o.freeMode.enabled){t.freeMode.onTouchEnd({currentPos:v});return}const y=v>=-t.maxTranslate()&&!t.params.loop;let g=0,S=t.slidesSizesGrid[0];for(let T=0;T=u[T]&&v=u[T])&&(g=T,S=u[u.length-1]-u[u.length-2])}let h=null,f=null;o.rewind&&(t.isBeginning?f=o.virtual&&o.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(h=0));const p=(v-u[g])/S,w=go.longSwipesMs){if(!o.longSwipes){t.slideTo(t.activeIndex);return}t.swipeDirection==="next"&&(p>=o.longSwipesRatio?t.slideTo(o.rewind&&t.isEnd?h:g+w):t.slideTo(g)),t.swipeDirection==="prev"&&(p>1-o.longSwipesRatio?t.slideTo(g+w):f!==null&&p<0&&Math.abs(p)>o.longSwipesRatio?t.slideTo(f):t.slideTo(g))}else{if(!o.shortSwipes){t.slideTo(t.activeIndex);return}t.navigation&&(r.target===t.navigation.nextEl||r.target===t.navigation.prevEl)?r.target===t.navigation.nextEl?t.slideTo(g+w):t.slideTo(g):(t.swipeDirection==="next"&&t.slideTo(h!==null?h:g+w),t.swipeDirection==="prev"&&t.slideTo(f!==null?f:g))}}function Nd(){const e=this,{params:t,el:n}=e;if(n&&n.offsetWidth===0)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:r,allowSlidePrev:i,snapGrid:s}=e,o=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const l=o&&t.loop;(t.slidesPerView==="auto"||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides&&!l?e.slideTo(e.slides.length-1,0,!1,!0):e.params.loop&&!o?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,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=i,e.allowSlideNext=r,e.params.watchOverflow&&s!==e.snapGrid&&e.checkOverflow()}function bw(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function Pw(){const e=this,{wrapperEl:t,rtlTranslate:n,enabled:r}=e;if(!r)return;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,e.translate===0&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();let i;const s=e.maxTranslate()-e.minTranslate();s===0?i=0:i=(e.translate-e.minTranslate())/s,i!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function _w(e){const t=this;gs(t,e.target),!(t.params.cssMode||t.params.slidesPerView!=="auto"&&!t.params.autoHeight)&&t.update()}function Lw(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const $m=(e,t)=>{const n=gt(),{params:r,el:i,wrapperEl:s,device:o}=e,l=!!r.nested,a=t==="on"?"addEventListener":"removeEventListener",u=t;n[a]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:l}),i[a]("touchstart",e.onTouchStart,{passive:!1}),i[a]("pointerdown",e.onTouchStart,{passive:!1}),n[a]("touchmove",e.onTouchMove,{passive:!1,capture:l}),n[a]("pointermove",e.onTouchMove,{passive:!1,capture:l}),n[a]("touchend",e.onTouchEnd,{passive:!0}),n[a]("pointerup",e.onTouchEnd,{passive:!0}),n[a]("pointercancel",e.onTouchEnd,{passive:!0}),n[a]("touchcancel",e.onTouchEnd,{passive:!0}),n[a]("pointerout",e.onTouchEnd,{passive:!0}),n[a]("pointerleave",e.onTouchEnd,{passive:!0}),n[a]("contextmenu",e.onTouchEnd,{passive:!0}),(r.preventClicks||r.preventClicksPropagation)&&i[a]("click",e.onClick,!0),r.cssMode&&s[a]("scroll",e.onScroll),r.updateOnWindowResize?e[u](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",Nd,!0):e[u]("observerUpdate",Nd,!0),i[a]("load",e.onLoad,{capture:!0})};function Nw(){const e=this,{params:t}=e;e.onTouchStart=Tw.bind(e),e.onTouchMove=Cw.bind(e),e.onTouchEnd=kw.bind(e),e.onDocumentTouchStart=Lw.bind(e),t.cssMode&&(e.onScroll=Pw.bind(e)),e.onClick=bw.bind(e),e.onLoad=_w.bind(e),$m(e,"on")}function Ow(){$m(this,"off")}var jw={attachEvents:Nw,detachEvents:Ow};const Od=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;function Iw(){const e=this,{realIndex:t,initialized:n,params:r,el:i}=e,s=r.breakpoints;if(!s||s&&Object.keys(s).length===0)return;const o=e.getBreakpoint(s,e.params.breakpointsBase,e.el);if(!o||e.currentBreakpoint===o)return;const a=(o in s?s[o]:void 0)||e.originalParams,u=Od(e,r),c=Od(e,a),d=r.enabled;u&&!c?(i.classList.remove(`${r.containerModifierClass}grid`,`${r.containerModifierClass}grid-column`),e.emitContainerClasses()):!u&&c&&(i.classList.add(`${r.containerModifierClass}grid`),(a.grid.fill&&a.grid.fill==="column"||!a.grid.fill&&r.grid.fill==="column")&&i.classList.add(`${r.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(h=>{if(typeof a[h]>"u")return;const f=r[h]&&r[h].enabled,p=a[h]&&a[h].enabled;f&&!p&&e[h].disable(),!f&&p&&e[h].enable()});const m=a.direction&&a.direction!==r.direction,v=r.loop&&(a.slidesPerView!==r.slidesPerView||m),y=r.loop;m&&n&&e.changeDirection(),We(e.params,a);const g=e.params.enabled,S=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),d&&!g?e.disable():!d&&g&&e.enable(),e.currentBreakpoint=o,e.emit("_beforeBreakpoint",a),n&&(v?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!y&&S?(e.loopCreate(t),e.updateSlides()):y&&!S&&e.loopDestroy()),e.emit("breakpoint",a)}function Mw(e,t,n){if(t===void 0&&(t="window"),!e||t==="container"&&!n)return;let r=!1;const i=Oe(),s=t==="window"?i.innerHeight:n.clientHeight,o=Object.keys(e).map(l=>{if(typeof l=="string"&&l.indexOf("@")===0){const a=parseFloat(l.substr(1));return{value:s*a,point:l}}return{value:l,point:l}});o.sort((l,a)=>parseInt(l.value,10)-parseInt(a.value,10));for(let l=0;l{typeof r=="object"?Object.keys(r).forEach(i=>{r[i]&&n.push(t+i)}):typeof r=="string"&&n.push(t+r)}),n}function zw(){const e=this,{classNames:t,params:n,rtl:r,el:i,device:s}=e,o=Aw(["initialized",n.direction,{"free-mode":e.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:r},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&n.grid.fill==="column"},{android:s.android},{ios:s.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);t.push(...o),i.classList.add(...t),e.emitContainerClasses()}function $w(){const e=this,{el:t,classNames:n}=e;t.classList.remove(...n),e.emitContainerClasses()}var Dw={addClasses:zw,removeClasses:$w};function Fw(){const e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:r}=n;if(r){const i=e.slides.length-1,s=e.slidesGrid[i]+e.slidesSizesGrid[i]+r*2;e.isLocked=e.size>s}else e.isLocked=e.snapGrid.length===1;n.allowSlideNext===!0&&(e.allowSlideNext=!e.isLocked),n.allowSlidePrev===!0&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}var Bw={checkOverflow:Fw},Aa={init:!0,direction:"horizontal",oneWayMovement:!1,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 Uw(e,t){return function(r){r===void 0&&(r={});const i=Object.keys(r)[0],s=r[i];if(typeof s!="object"||s===null){We(t,r);return}if(e[i]===!0&&(e[i]={enabled:!0}),i==="navigation"&&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 s)){We(t,r);return}typeof e[i]=="object"&&!("enabled"in e[i])&&(e[i].enabled=!0),e[i]||(e[i]={enabled:!1}),We(t,r)}}const xl={eventsEmitter:D1,update:K1,translate:nw,transition:ow,slide:mw,loop:yw,grabCursor:Sw,events:jw,breakpoints:Rw,checkOverflow:Bw,classes:Dw},Sl={};let Ku=class Lt{constructor(){let t,n;for(var r=arguments.length,i=new Array(r),s=0;s1){const c=[];return o.querySelectorAll(n.el).forEach(d=>{const m=We({},n,{el:d});c.push(new Lt(m))}),c}const l=this;l.__swiper__=!0,l.support=Am(),l.device=M1({userAgent:n.userAgent}),l.browser=A1(),l.eventsListeners={},l.eventsAnyListeners=[],l.modules=[...l.__modules__],n.modules&&Array.isArray(n.modules)&&l.modules.push(...n.modules);const a={};l.modules.forEach(c=>{c({params:n,swiper:l,extendParams:Uw(n,a),on:l.on.bind(l),once:l.once.bind(l),off:l.off.bind(l),emit:l.emit.bind(l)})});const u=We({},Aa,a);return l.params=We({},u,Sl,n),l.originalParams=We({},l.params),l.passedParams=We({},n),l.params&&l.params.on&&Object.keys(l.params.on).forEach(c=>{l.on(c,l.params.on[c])}),l.params&&l.params.onAny&&l.onAny(l.params.onAny),Object.assign(l,{enabled:l.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return l.params.direction==="horizontal"},isVertical(){return l.params.direction==="vertical"},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:l.params.allowSlideNext,allowSlidePrev:l.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:l.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:l.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),l.emit("_swiper"),l.params.init&&l.init(),l}getDirectionLabel(t){return this.isHorizontal()?t:{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"}[t]}getSlideIndex(t){const{slidesEl:n,params:r}=this,i=St(n,`.${r.slideClass}, swiper-slide`),s=to(i[0]);return to(t)-s}getSlideIndexByData(t){return this.getSlideIndex(this.slides.filter(n=>n.getAttribute("data-swiper-slide-index")*1===t)[0])}recalcSlides(){const t=this,{slidesEl:n,params:r}=t;t.slides=St(n,`.${r.slideClass}, swiper-slide`)}enable(){const t=this;t.enabled||(t.enabled=!0,t.params.grabCursor&&t.setGrabCursor(),t.emit("enable"))}disable(){const t=this;t.enabled&&(t.enabled=!1,t.params.grabCursor&&t.unsetGrabCursor(),t.emit("disable"))}setProgress(t,n){const r=this;t=Math.min(Math.max(t,0),1);const i=r.minTranslate(),o=(r.maxTranslate()-i)*t+i;r.translateTo(o,typeof n>"u"?0:n),r.updateActiveIndex(),r.updateSlidesClasses()}emitContainerClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const n=t.el.className.split(" ").filter(r=>r.indexOf("swiper")===0||r.indexOf(t.params.containerModifierClass)===0);t.emit("_containerClasses",n.join(" "))}getSlideClasses(t){const n=this;return n.destroyed?"":t.className.split(" ").filter(r=>r.indexOf("swiper-slide")===0||r.indexOf(n.params.slideClass)===0).join(" ")}emitSlidesClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const n=[];t.slides.forEach(r=>{const i=t.getSlideClasses(r);n.push({slideEl:r,classNames:i}),t.emit("_slideClass",r,i)}),t.emit("_slideClasses",n)}slidesPerViewDynamic(t,n){t===void 0&&(t="current"),n===void 0&&(n=!1);const r=this,{params:i,slides:s,slidesGrid:o,slidesSizesGrid:l,size:a,activeIndex:u}=r;let c=1;if(typeof i.slidesPerView=="number")return i.slidesPerView;if(i.centeredSlides){let d=s[u]?s[u].swiperSlideSize:0,m;for(let v=u+1;va&&(m=!0));for(let v=u-1;v>=0;v-=1)s[v]&&!m&&(d+=s[v].swiperSlideSize,c+=1,d>a&&(m=!0))}else if(t==="current")for(let d=u+1;d=0;d-=1)o[u]-o[d]{o.complete&&gs(t,o)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses();function i(){const o=t.rtlTranslate?t.translate*-1:t.translate,l=Math.min(Math.max(o,t.maxTranslate()),t.minTranslate());t.setTranslate(l),t.updateActiveIndex(),t.updateSlidesClasses()}let s;if(r.freeMode&&r.freeMode.enabled&&!r.cssMode)i(),r.autoHeight&&t.updateAutoHeight();else{if((r.slidesPerView==="auto"||r.slidesPerView>1)&&t.isEnd&&!r.centeredSlides){const o=t.virtual&&r.virtual.enabled?t.virtual.slides:t.slides;s=t.slideTo(o.length-1,0,!1,!0)}else s=t.slideTo(t.activeIndex,0,!1,!0);s||i()}r.watchOverflow&&n!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(t,n){n===void 0&&(n=!0);const r=this,i=r.params.direction;return t||(t=i==="horizontal"?"vertical":"horizontal"),t===i||t!=="horizontal"&&t!=="vertical"||(r.el.classList.remove(`${r.params.containerModifierClass}${i}`),r.el.classList.add(`${r.params.containerModifierClass}${t}`),r.emitContainerClasses(),r.params.direction=t,r.slides.forEach(s=>{t==="vertical"?s.style.width="":s.style.height=""}),r.emit("changeDirection"),n&&r.update()),r}changeLanguageDirection(t){const n=this;n.rtl&&t==="rtl"||!n.rtl&&t==="ltr"||(n.rtl=t==="rtl",n.rtlTranslate=n.params.direction==="horizontal"&&n.rtl,n.rtl?(n.el.classList.add(`${n.params.containerModifierClass}rtl`),n.el.dir="rtl"):(n.el.classList.remove(`${n.params.containerModifierClass}rtl`),n.el.dir="ltr"),n.update())}mount(t){const n=this;if(n.mounted)return!0;let r=t||n.params.el;if(typeof r=="string"&&(r=document.querySelector(r)),!r)return!1;r.swiper=n,r.parentNode&&r.parentNode.host&&r.parentNode.host.nodeName==="SWIPER-CONTAINER"&&(n.isElement=!0);const i=()=>`.${(n.params.wrapperClass||"").trim().split(" ").join(".")}`;let o=r&&r.shadowRoot&&r.shadowRoot.querySelector?r.shadowRoot.querySelector(i()):St(r,i())[0];return!o&&n.params.createElements&&(o=eo("div",n.params.wrapperClass),r.append(o),St(r,`.${n.params.slideClass}`).forEach(l=>{o.append(l)})),Object.assign(n,{el:r,wrapperEl:o,slidesEl:n.isElement&&!r.parentNode.host.slideSlots?r.parentNode.host:o,hostEl:n.isElement?r.parentNode.host:r,mounted:!0,rtl:r.dir.toLowerCase()==="rtl"||on(r,"direction")==="rtl",rtlTranslate:n.params.direction==="horizontal"&&(r.dir.toLowerCase()==="rtl"||on(r,"direction")==="rtl"),wrongRTL:on(o,"display")==="-webkit-box"}),!0}init(t){const n=this;if(n.initialized||n.mount(t)===!1)return n;n.emit("beforeInit"),n.params.breakpoints&&n.setBreakpoint(),n.addClasses(),n.updateSize(),n.updateSlides(),n.params.watchOverflow&&n.checkOverflow(),n.params.grabCursor&&n.enabled&&n.setGrabCursor(),n.params.loop&&n.virtual&&n.params.virtual.enabled?n.slideTo(n.params.initialSlide+n.virtual.slidesBefore,0,n.params.runCallbacksOnInit,!1,!0):n.slideTo(n.params.initialSlide,0,n.params.runCallbacksOnInit,!1,!0),n.params.loop&&n.loopCreate(),n.attachEvents();const i=[...n.el.querySelectorAll('[loading="lazy"]')];return n.isElement&&i.push(...n.hostEl.querySelectorAll('[loading="lazy"]')),i.forEach(s=>{s.complete?gs(n,s):s.addEventListener("load",o=>{gs(n,o.target)})}),Ra(n),n.initialized=!0,Ra(n),n.emit("init"),n.emit("afterInit"),n}destroy(t,n){t===void 0&&(t=!0),n===void 0&&(n=!0);const r=this,{params:i,el:s,wrapperEl:o,slides:l}=r;return typeof r.params>"u"||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),i.loop&&r.loopDestroy(),n&&(r.removeClasses(),s.removeAttribute("style"),o.removeAttribute("style"),l&&l.length&&l.forEach(a=>{a.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass),a.removeAttribute("style"),a.removeAttribute("data-swiper-slide-index")})),r.emit("destroy"),Object.keys(r.eventsListeners).forEach(a=>{r.off(a)}),t!==!1&&(r.el.swiper=null,x1(r)),r.destroyed=!0),null}static extendDefaults(t){We(Sl,t)}static get extendedDefaults(){return Sl}static get defaults(){return Aa}static installModule(t){Lt.prototype.__modules__||(Lt.prototype.__modules__=[]);const n=Lt.prototype.__modules__;typeof t=="function"&&n.indexOf(t)<0&&n.push(t)}static use(t){return Array.isArray(t)?(t.forEach(n=>Lt.installModule(n)),Lt):(Lt.installModule(t),Lt)}};Object.keys(xl).forEach(e=>{Object.keys(xl[e]).forEach(t=>{Ku.prototype[t]=xl[e][t]})});Ku.use([z1,$1]);const Dm=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function $n(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"&&!e.__swiper__}function fr(e,t){const n=["__proto__","constructor","prototype"];Object.keys(t).filter(r=>n.indexOf(r)<0).forEach(r=>{typeof e[r]>"u"?e[r]=t[r]:$n(t[r])&&$n(e[r])&&Object.keys(t[r]).length>0?t[r].__swiper__?e[r]=t[r]:fr(e[r],t[r]):e[r]=t[r]})}function Fm(e){return e===void 0&&(e={}),e.navigation&&typeof e.navigation.nextEl>"u"&&typeof e.navigation.prevEl>"u"}function Bm(e){return e===void 0&&(e={}),e.pagination&&typeof e.pagination.el>"u"}function Um(e){return e===void 0&&(e={}),e.scrollbar&&typeof e.scrollbar.el>"u"}function Hm(e){e===void 0&&(e="");const t=e.split(" ").map(r=>r.trim()).filter(r=>!!r),n=[];return t.forEach(r=>{n.indexOf(r)<0&&n.push(r)}),n.join(" ")}function Hw(e){return e===void 0&&(e=""),e?e.includes("swiper-wrapper")?e:`swiper-wrapper ${e}`:"swiper-wrapper"}function Vw(e){let{swiper:t,slides:n,passedParams:r,changedParams:i,nextEl:s,prevEl:o,scrollbarEl:l,paginationEl:a}=e;const u=i.filter(P=>P!=="children"&&P!=="direction"&&P!=="wrapperClass"),{params:c,pagination:d,navigation:m,scrollbar:v,virtual:y,thumbs:g}=t;let S,h,f,p,w,T,C,O;i.includes("thumbs")&&r.thumbs&&r.thumbs.swiper&&c.thumbs&&!c.thumbs.swiper&&(S=!0),i.includes("controller")&&r.controller&&r.controller.control&&c.controller&&!c.controller.control&&(h=!0),i.includes("pagination")&&r.pagination&&(r.pagination.el||a)&&(c.pagination||c.pagination===!1)&&d&&!d.el&&(f=!0),i.includes("scrollbar")&&r.scrollbar&&(r.scrollbar.el||l)&&(c.scrollbar||c.scrollbar===!1)&&v&&!v.el&&(p=!0),i.includes("navigation")&&r.navigation&&(r.navigation.prevEl||o)&&(r.navigation.nextEl||s)&&(c.navigation||c.navigation===!1)&&m&&!m.prevEl&&!m.nextEl&&(w=!0);const _=P=>{t[P]&&(t[P].destroy(),P==="navigation"?(t.isElement&&(t[P].prevEl.remove(),t[P].nextEl.remove()),c[P].prevEl=void 0,c[P].nextEl=void 0,t[P].prevEl=void 0,t[P].nextEl=void 0):(t.isElement&&t[P].el.remove(),c[P].el=void 0,t[P].el=void 0))};i.includes("loop")&&t.isElement&&(c.loop&&!r.loop?T=!0:!c.loop&&r.loop?C=!0:O=!0),u.forEach(P=>{if($n(c[P])&&$n(r[P]))Object.assign(c[P],r[P]),(P==="navigation"||P==="pagination"||P==="scrollbar")&&"enabled"in r[P]&&!r[P].enabled&&_(P);else{const b=r[P];(b===!0||b===!1)&&(P==="navigation"||P==="pagination"||P==="scrollbar")?b===!1&&_(P):c[P]=r[P]}}),u.includes("controller")&&!h&&t.controller&&t.controller.control&&c.controller&&c.controller.control&&(t.controller.control=c.controller.control),i.includes("children")&&n&&y&&c.virtual.enabled?(y.slides=n,y.update(!0)):i.includes("virtual")&&y&&c.virtual.enabled&&(n&&(y.slides=n),y.update(!0)),i.includes("children")&&n&&c.loop&&(O=!0),S&&g.init()&&g.update(!0),h&&(t.controller.control=c.controller.control),f&&(t.isElement&&(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-pagination"),a.part.add("pagination"),t.el.appendChild(a)),a&&(c.pagination.el=a),d.init(),d.render(),d.update()),p&&(t.isElement&&(!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-scrollbar"),l.part.add("scrollbar"),t.el.appendChild(l)),l&&(c.scrollbar.el=l),v.init(),v.updateSize(),v.setTranslate()),w&&(t.isElement&&((!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-button-next"),s.innerHTML=t.hostEl.constructor.nextButtonSvg,s.part.add("button-next"),t.el.appendChild(s)),(!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-button-prev"),o.innerHTML=t.hostEl.constructor.prevButtonSvg,o.part.add("button-prev"),t.el.appendChild(o))),s&&(c.navigation.nextEl=s),o&&(c.navigation.prevEl=o),m.init(),m.update()),i.includes("allowSlideNext")&&(t.allowSlideNext=r.allowSlideNext),i.includes("allowSlidePrev")&&(t.allowSlidePrev=r.allowSlidePrev),i.includes("direction")&&t.changeDirection(r.direction,!1),(T||O)&&t.loopDestroy(),(C||O)&&t.loopCreate(),t.update()}function Ww(e,t){e===void 0&&(e={}),t===void 0&&(t=!0);const n={on:{}},r={},i={};fr(n,Aa),n._emitClasses=!0,n.init=!1;const s={},o=Dm.map(a=>a.replace(/_/,"")),l=Object.assign({},e);return Object.keys(l).forEach(a=>{typeof e[a]>"u"||(o.indexOf(a)>=0?$n(e[a])?(n[a]={},i[a]={},fr(n[a],e[a]),fr(i[a],e[a])):(n[a]=e[a],i[a]=e[a]):a.search(/on[A-Z]/)===0&&typeof e[a]=="function"?t?r[`${a[2].toLowerCase()}${a.substr(3)}`]=e[a]:n.on[`${a[2].toLowerCase()}${a.substr(3)}`]=e[a]:s[a]=e[a])}),["navigation","pagination","scrollbar"].forEach(a=>{n[a]===!0&&(n[a]={}),n[a]===!1&&delete n[a]}),{params:n,passedParams:i,rest:s,events:r}}function Gw(e,t){let{el:n,nextEl:r,prevEl:i,paginationEl:s,scrollbarEl:o,swiper:l}=e;Fm(t)&&r&&i&&(l.params.navigation.nextEl=r,l.originalParams.navigation.nextEl=r,l.params.navigation.prevEl=i,l.originalParams.navigation.prevEl=i),Bm(t)&&s&&(l.params.pagination.el=s,l.originalParams.pagination.el=s),Um(t)&&o&&(l.params.scrollbar.el=o,l.originalParams.scrollbar.el=o),l.init(n)}function qw(e,t,n,r,i){const s=[];if(!t)return s;const o=a=>{s.indexOf(a)<0&&s.push(a)};if(n&&r){const a=r.map(i),u=n.map(i);a.join("")!==u.join("")&&o("children"),r.length!==n.length&&o("children")}return Dm.filter(a=>a[0]==="_").map(a=>a.replace(/_/,"")).forEach(a=>{if(a in e&&a in t)if($n(e[a])&&$n(t[a])){const u=Object.keys(e[a]),c=Object.keys(t[a]);u.length!==c.length?o(a):(u.forEach(d=>{e[a][d]!==t[a][d]&&o(a)}),c.forEach(d=>{e[a][d]!==t[a][d]&&o(a)}))}else e[a]!==t[a]&&o(a)}),s}const Xw=e=>{!e||e.destroyed||!e.params.virtual||e.params.virtual&&!e.params.virtual.enabled||(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())};function ro(){return ro=Object.assign?Object.assign.bind():function(e){for(var t=1;t{Vm(n)?t.push(n):n.props&&n.props.children&&Wm(n.props.children).forEach(r=>t.push(r))}),t}function Yw(e){const t=[],n={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return F.Children.toArray(e).forEach(r=>{if(Vm(r))t.push(r);else if(r.props&&r.props.slot&&n[r.props.slot])n[r.props.slot].push(r);else if(r.props&&r.props.children){const i=Wm(r.props.children);i.length>0?i.forEach(s=>t.push(s)):n["container-end"].push(r)}else n["container-end"].push(r)}),{slides:t,slots:n}}function Kw(e,t,n){if(!n)return null;const r=c=>{let d=c;return c<0?d=t.length+c:d>=t.length&&(d=d-t.length),d},i=e.isHorizontal()?{[e.rtlTranslate?"right":"left"]:`${n.offset}px`}:{top:`${n.offset}px`},{from:s,to:o}=n,l=e.params.loop?-t.length:0,a=e.params.loop?t.length*2:t.length,u=[];for(let c=l;c=s&&c<=o&&u.push(t[r(c)]);return u.map((c,d)=>F.cloneElement(c,{swiper:e,style:i,key:`slide-${d}`}))}function ei(e,t){return typeof window>"u"?E.useEffect(e,t):E.useLayoutEffect(e,t)}const jd=E.createContext(null),Qw=E.createContext(null),Gm=E.forwardRef(function(e,t){let{className:n,tag:r="div",wrapperTag:i="div",children:s,onSwiper:o,...l}=e===void 0?{}:e,a=!1;const[u,c]=E.useState("swiper"),[d,m]=E.useState(null),[v,y]=E.useState(!1),g=E.useRef(!1),S=E.useRef(null),h=E.useRef(null),f=E.useRef(null),p=E.useRef(null),w=E.useRef(null),T=E.useRef(null),C=E.useRef(null),O=E.useRef(null),{params:_,passedParams:P,rest:b,events:k}=Ww(l),{slides:L,slots:N}=Yw(s),M=()=>{y(!v)};Object.assign(_.on,{_containerClasses(A,z){c(z)}});const D=()=>{Object.assign(_.on,k),a=!0;const A={..._};if(delete A.wrapperClass,h.current=new Ku(A),h.current.virtual&&h.current.params.virtual.enabled){h.current.virtual.slides=L;const z={cache:!1,slides:L,renderExternal:m,renderExternalUpdate:!1};fr(h.current.params.virtual,z),fr(h.current.originalParams.virtual,z)}};S.current||D(),h.current&&h.current.on("_beforeBreakpoint",M);const H=()=>{a||!k||!h.current||Object.keys(k).forEach(A=>{h.current.on(A,k[A])})},Q=()=>{!k||!h.current||Object.keys(k).forEach(A=>{h.current.off(A,k[A])})};E.useEffect(()=>()=>{h.current&&h.current.off("_beforeBreakpoint",M)}),E.useEffect(()=>{!g.current&&h.current&&(h.current.emitSlidesClasses(),g.current=!0)}),ei(()=>{if(t&&(t.current=S.current),!!S.current)return h.current.destroyed&&D(),Gw({el:S.current,nextEl:w.current,prevEl:T.current,paginationEl:C.current,scrollbarEl:O.current,swiper:h.current},_),o&&o(h.current),()=>{h.current&&!h.current.destroyed&&h.current.destroy(!0,!1)}},[]),ei(()=>{H();const A=qw(P,f.current,L,p.current,z=>z.key);return f.current=P,p.current=L,A.length&&h.current&&!h.current.destroyed&&Vw({swiper:h.current,slides:L,passedParams:P,changedParams:A,nextEl:w.current,prevEl:T.current,scrollbarEl:O.current,paginationEl:C.current}),()=>{Q()}}),ei(()=>{Xw(h.current)},[d]);function I(){return _.virtual?Kw(h.current,L,d):L.map((A,z)=>F.cloneElement(A,{swiper:h.current,swiperSlideIndex:z}))}return F.createElement(r,ro({ref:S,className:Hm(`${u}${n?` ${n}`:""}`)},b),F.createElement(Qw.Provider,{value:h.current},N["container-start"],F.createElement(i,{className:Hw(_.wrapperClass)},N["wrapper-start"],I(),N["wrapper-end"]),Fm(_)&&F.createElement(F.Fragment,null,F.createElement("div",{ref:T,className:"swiper-button-prev"}),F.createElement("div",{ref:w,className:"swiper-button-next"})),Um(_)&&F.createElement("div",{ref:O,className:"swiper-scrollbar"}),Bm(_)&&F.createElement("div",{ref:C,className:"swiper-pagination"}),N["container-end"]))});Gm.displayName="Swiper";const qm=E.forwardRef(function(e,t){let{tag:n="div",children:r,className:i="",swiper:s,zoom:o,lazy:l,virtualIndex:a,swiperSlideIndex:u,...c}=e===void 0?{}:e;const d=E.useRef(null),[m,v]=E.useState("swiper-slide"),[y,g]=E.useState(!1);function S(w,T,C){T===d.current&&v(C)}ei(()=>{if(typeof u<"u"&&(d.current.swiperSlideIndex=u),t&&(t.current=d.current),!(!d.current||!s)){if(s.destroyed){m!=="swiper-slide"&&v("swiper-slide");return}return s.on("_slideClass",S),()=>{s&&s.off("_slideClass",S)}}}),ei(()=>{s&&d.current&&!s.destroyed&&v(s.getSlideClasses(d.current))},[s]);const h={isActive:m.indexOf("swiper-slide-active")>=0,isVisible:m.indexOf("swiper-slide-visible")>=0,isPrev:m.indexOf("swiper-slide-prev")>=0,isNext:m.indexOf("swiper-slide-next")>=0},f=()=>typeof r=="function"?r(h):r,p=()=>{g(!0)};return F.createElement(n,ro({ref:d,className:Hm(`${m}${i?` ${i}`:""}`),"data-swiper-slide-index":a,onLoad:p},c),o&&F.createElement(jd.Provider,{value:h},F.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof o=="number"?o:void 0},f(),l&&!y&&F.createElement("div",{className:"swiper-lazy-preloader"}))),!o&&F.createElement(jd.Provider,{value:h},f(),l&&!y&&F.createElement("div",{className:"swiper-lazy-preloader"})))});qm.displayName="SwiperSlide";const Jw="_container_1h8n6_1",ts={container:Jw,"img-carrousel":"_img-carrousel_1h8n6_11","loading-desk":"_loading-desk_1h8n6_21","loading-mob":"_loading-mob_1h8n6_27"},El="http://hog099.github.io/portifolio-fest-lp-front",Gn=[{src:El+"/assets/images/mock_banner.jpg"},{src:El+"/assets/images/mock_banner.jpg"},{src:El+"/assets/images/mock_banner.jpg"}],Zw=()=>{const{loading:e}=E.useContext(kt);return x.jsxs("div",{className:ts.container,children:[e&&x.jsxs(G,{children:[x.jsx("div",{className:ts["loading-desk"],children:x.jsx(B,{width:"100%",height:600})}),x.jsx("div",{className:ts["loading-mob"],children:x.jsx(B,{width:"100%",height:400})})]}),!e&&x.jsx(Gm,{cssMode:!0,navigation:!0,autoplay:{delay:5e3},pagination:!1,mousewheel:!1,keyboard:!1,modules:[L1,N1,_1,P1,O1],className:"mySwiper",loop:!0,children:(Gn==null?void 0:Gn.length)>0&&(Gn==null?void 0:Gn.map((t,n)=>x.jsx(qm,{children:x.jsx("img",{className:ts["img-carrousel"]+" object-cover",src:t==null?void 0:t.src,width:"auto",height:"auto",alt:"image"})},n)))})]})},ex="_container_9w5h5_1",Id={container:ex,"content-about":"_content-about_9w5h5_35"},tx=()=>{const{loading:e}=E.useContext(kt);return x.jsxs("section",{id:"about",className:Id.container,children:[e&&x.jsxs(x.Fragment,{children:[x.jsx(G,{children:x.jsx(B,{width:200,height:30,style:{}})}),x.jsx("div",{style:{height:40}}),x.jsxs(G,{children:[x.jsx(B,{width:500,height:20,style:{}}),x.jsx(B,{width:620,height:20,style:{marginTop:10}}),x.jsx(B,{width:580,height:20,style:{marginTop:10}}),x.jsx(B,{width:570,height:20,style:{marginTop:10}}),x.jsx(B,{width:620,height:20,style:{marginTop:10}})]})]}),!e&&x.jsxs(x.Fragment,{children:[x.jsx("h1",{"data-aos":"fade-up",className:"text-3xl md:text-5xl font-medium",children:"A Festa"}),x.jsx("div",{className:Id["content-about"],children:x.jsx("p",{"data-aos":"fade-up",className:"text-lg md:text-2xl font-medium",children:"Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam voluptatum, quia, voluptate, magni voluptas quidem voluptatibus voluptates molestiae quod quos repellendus natus? Quisquam voluptatum, quia, voluptate, magni voluptas quidem voluptatibus voluptates molestiae quod quos repellendus natus"})})]})]})},nx="_container_lyjrp_1",Ee={container:nx,"content-about":"_content-about_lyjrp_35","content-menu":"_content-menu_lyjrp_53","button-menu":"_button-menu_lyjrp_73","text-menu":"_text-menu_lyjrp_133","button-menu-active":"_button-menu-active_lyjrp_145","content-timeline":"_content-timeline_lyjrp_175","timeline-item-line":"_timeline-item-line_lyjrp_195","timeline-item-circle":"_timeline-item-circle_lyjrp_213","content-time":"_content-time_lyjrp_175","timetile-text-color":"_timetile-text-color_lyjrp_283","timetile-text-title":"_timetile-text-title_lyjrp_293","timetile-text-description":"_timetile-text-description_lyjrp_305","timeline-item-right":"_timeline-item-right_lyjrp_319","timeline-item-left":"_timeline-item-left_lyjrp_331","timeline-content-info":"_timeline-content-info_lyjrp_343"},rx=[{text:"15 de Agosto"},{text:"16 de Agosto"},{text:"17 de Agosto"},{text:"18 de Agosto"}],ix=[{title:"Baile de mascaras canevale",time:"10:00",locale:"Praca central",description:"Lorem Ipsum a description a text a summy a simply text of Lorem Ipsum a description a text a summy a simply text of"},{title:"Abertura Oficial da Festa",time:"11:00",locale:"Praca central",description:"Lorem Ipsum a description a text a summy a simply, Lorem Ipsum a description a text a summy a simply text of, Lorem Ipsum a description a text a summy"},{title:"Apresentacao cultural",time:"12:00",locale:"Praca central",description:"Lorem Ipsum a description a text a summy a simply text of a text a summy, Lorem Ipsum a description a text a summy a simply text ofLorem Ipsum a description a text a summy a simply text ofLorem Ipsum a description a text a summy a simply text of"},{title:"Eleicao rainnha e princesa da festa da capopitela",time:"13:00",locale:"Praca central",description:"Lorem Ipsum a description a text a summy a simply a text, Lorem Ipsum a description a text a summy a simply text ofLorem Ipsum a description a text a summy a simply text of"},{title:"Festival gourmet",time:"14:00",locale:"Praca central",description:"Lorem Ipsum a description a summy to supply a description long"}],sx=()=>{const{loading:e}=E.useContext(kt),t=" text-[15px] md:text-[15px] lg:text-[22px] mx-2",[n,r]=E.useState(0);return x.jsxs("section",{id:"schedule",className:Ee.container,children:[e&&x.jsxs(x.Fragment,{children:[x.jsx(G,{children:x.jsx(B,{width:300,height:45,style:{}})}),x.jsx("div",{style:{height:40}}),x.jsxs(G,{children:[x.jsx(B,{width:280,height:180,style:{marginLeft:-380}}),x.jsx(B,{width:280,height:180,style:{marginLeft:500}}),x.jsx(B,{width:280,height:180,style:{marginLeft:-380}})]})]}),!e&&x.jsxs(x.Fragment,{children:[x.jsx("h1",{"data-aos":"fade-up",className:"text-3xl md:text-5xl font-medium",children:"Programação"}),x.jsxs("div",{className:Ee["content-about"],children:[x.jsx("div",{className:Ee["content-menu"],"data-aos":"fade-up",children:rx.map((i,s)=>x.jsx("button",{type:"button",className:n===s?Ee["button-menu-active"]:Ee["button-menu"],onClick:()=>r(s),children:x.jsx("p",{className:Ee["text-menu"]+t,children:i==null?void 0:i.text})},s))}),x.jsx("div",{className:Ee["content-timeline"]+" mt-12",children:ix.map((i,s)=>x.jsxs("div",{className:s%2!=0?Ee["timeline-item-right"]:Ee["timeline-item-left"],children:[x.jsx("div",{className:Ee["timeline-item-line"]}),x.jsx("div",{className:Ee["timeline-item-circle"],children:x.jsx("time",{"data-aos":"zoom-in","data-aos-delay":"120",className:Ee["timetile-text-color"]+" text-[12px] md:text-md",children:i.time})}),x.jsxs("div",{className:Ee["timeline-content-info"],"data-aos":s%2!=0?"fade-left":"fade-right",children:[x.jsx("h3",{className:Ee["timetile-text-title"]+" text-[14px] md:text-lg font-bold my-2",children:i.title}),x.jsxs("span",{className:Ee["content-time"],children:[x.jsx(l1,{size:12,color:"#fff"}),x.jsx("p",{className:Ee["timetile-text-color"]+" text-[12px] md:text-md ml-2",children:i.locale})]}),x.jsx("p",{className:Ee["timetile-text-description"]+" text-[11px] md:text-sm",children:i.description})]})]},s))})]})]})]})},ox="_container_1wt4c_1",Tl={container:ox,"content-about":"_content-about_1wt4c_35","card-news":"_card-news_1wt4c_51"},lx=[{id:"1",title:"Lorem Describe a amoun",summary:"Ipasum a text a summary if a text of news in a singular text to describe a news",date:"17-08-2024"},{id:"2",title:"Lorem Ipsum Describe amoun",summary:"Ipasum a text a summary if a text of news in a singular text to describe a news in a singular text to describe a news",date:"18-08-2024"},{id:"3",title:"Lorem Ipsum a Amoun",summary:"Ipasum a text a summary if a text of news in a singular text describe",date:"19-08-2024"},{id:"4",title:"Lorem Ipsum a Title As",summary:"Ipasum a text a summary if a text of news in a singular text to describe a news to describe a news",date:"20-08-2024"}],ax=()=>{const{loading:e}=E.useContext(kt);return x.jsxs("section",{id:"news",className:Tl.container,children:[e&&x.jsxs(x.Fragment,{children:[x.jsx(G,{children:x.jsx(B,{width:250,height:45,style:{}})}),x.jsx("div",{style:{height:40}}),x.jsxs("div",{className:"flex flex-row",children:[x.jsx(G,{children:x.jsx(B,{width:350,height:120,style:{marginRight:80}})}),x.jsx(G,{children:x.jsx(B,{width:350,height:120,style:{}})})]}),x.jsxs("div",{className:"flex flex-row mt-8",children:[x.jsx(G,{children:x.jsx(B,{width:350,height:120,style:{marginRight:80}})}),x.jsx(G,{children:x.jsx(B,{width:350,height:120,style:{}})})]}),x.jsx("div",{className:"mt-12",children:x.jsx(G,{children:x.jsx(B,{width:200,height:45,style:{}})})})]}),!e&&x.jsxs(x.Fragment,{children:[x.jsx("h1",{"data-aos":"fade-up","data-aos-delay":"200",className:"text-3xl md:text-5xl font-medium",children:"Notícias"}),x.jsx("div",{className:Tl["content-about"],children:lx.map((t,n)=>x.jsxs(Ks,{to:"/","data-aos":"fade-up","data-aos-delay":"200",className:Tl["card-news"]+" flex flex-col w-[400px] h-[130px] md:h-[150px] m-2 md:m-4",children:[x.jsx("h2",{className:"text-lg md:text-xl font-medium",children:t.title}),x.jsx("p",{className:"text-[14px] md:text-md text-gray-600",children:t.date}),x.jsx("p",{className:"text-[14px] md:text-md text-gray-600 mt-1 md:mt-2",children:t.summary})]},n))}),x.jsx(Ks,{className:"flex justify-center mt-[20px]","data-aos":"fade-up","data-aos-delay":"200",to:"/",children:x.jsx("button",{className:"w-[200px] h-[50px] bgc-primary hover:bg-green-800 text-white font-bold py-2 px-4 rounded-3xl transition-all",children:"Ver Todas"})})]})]})},ux="_container_1fgat_1",ns={container:ux,"content-about":"_content-about_1fgat_35","button-thumb":"_button-thumb_1fgat_53","thumb-menu":"_thumb-menu_1fgat_67"},cx=()=>{const{loading:e}=E.useContext(kt);return x.jsxs("section",{id:"menu",className:ns.container,children:[e&&x.jsxs(x.Fragment,{children:[x.jsx(G,{children:x.jsx(B,{width:250,height:45,style:{}})}),x.jsx("div",{style:{height:40}}),x.jsxs("div",{className:"flex flex-row",children:[x.jsx(G,{children:x.jsx(B,{width:220,height:300,style:{marginRight:30}})}),x.jsx(G,{children:x.jsx(B,{width:220,height:300,style:{marginRight:30}})}),x.jsx(G,{children:x.jsx(B,{width:220,height:300,style:{marginRight:30}})}),x.jsx(G,{children:x.jsx(B,{width:220,height:300,style:{marginRight:30}})})]}),x.jsx("div",{className:"mt-12",children:x.jsx(G,{children:x.jsx(B,{width:200,height:45,style:{}})})})]}),!e&&x.jsxs(x.Fragment,{children:[x.jsx("h1",{"data-aos":"fade-up","data-aos-delay":"200",className:"text-3xl md:text-5xl font-medium text-white",children:"Cardápio"}),x.jsx("div",{className:ns["content-about"],children:[...Array(4)].map((t,n)=>x.jsx("button",{className:ns["button-thumb"],onClick:()=>alert("Implementar visualizacao"),children:x.jsx("img",{"data-aos":"fade-up","data-aos-delay":"400",width:200,height:300,className:ns["thumb-menu"],alt:"image-menu",src:"https://picsum.photos/200/300"})},n))}),x.jsx(Ks,{className:"flex justify-center mt-[20px]","data-aos":"fade-up","data-aos-delay":"200",to:"/",children:x.jsx("button",{className:"w-[200px] h-[50px] bg-white hover:bg-gray-200 text-slate-600 font-bold py-2 px-4 rounded-3xl transition-all duration-800 hover:scale-110",children:"Ver Cardápio"})})]})]})},dx="_container_l2tpp_1",Dr={container:dx,"content-about":"_content-about_l2tpp_35","item-content":"_item-content_l2tpp_85","button-thumb":"_button-thumb_l2tpp_103","thumb-menu":"_thumb-menu_l2tpp_119"},we="http://hog099.github.io/portifolio-fest-lp-front",fx=[{order:0,title:"Oferecimento",items:[{name:"Lorem Ip",thumb:we+"/assets/images/mock_brand.jpg",link:"https://google.com"},{name:"Lorem Ip",thumb:we+"/assets/images/mock_brand.jpg",link:"https://google.com"},{name:"Lorem Ip",thumb:we+"/assets/images/mock_brand.jpg",link:"https://google.com"},{name:"Lorem Ip",thumb:we+"/assets/images/mock_brand.jpg",link:"https://google.com"},{name:"Lorem Ip",thumb:we+"/assets/images/mock_brand.jpg",link:"https://google.com"},{name:"Lorem Ip",thumb:we+"/assets/images/mock_brand.jpg",link:"https://google.com"},{name:"Lorem Ip",thumb:we+"/assets/images/mock_brand.jpg",link:"https://google.com"}]},{order:1,title:"Patrocinio",items:[{name:"Lorem Ip",thumb:we+"/assets/images/mock_brand.jpg",link:"https://google.com"},{name:"Lorem Ip",thumb:we+"/assets/images/mock_brand.jpg",link:"https://google.com"},{name:"Lorem Ip",thumb:we+"/assets/images/mock_brand.jpg",link:"https://google.com"},{name:"Lorem Ip",thumb:we+"/assets/images/mock_brand.jpg",link:"https://google.com"},{name:"Lorem Ip",thumb:we+"/assets/images/mock_brand.jpg",link:"https://google.com"}]},{order:2,title:"Apoio",items:[{name:"Lorem Ip",thumb:we+"/assets/images/mock_brand.jpg",link:"https://google.com"},{name:"Lorem Ip",thumb:we+"/assets/images/mock_brand.jpg",link:"https://google.com"},{name:"Lorem Ip",thumb:we+"/assets/images/mock_brand.jpg",link:"https://google.com"},{name:"Lorem Ip",thumb:we+"/assets/images/mock_brand.jpg",link:"https://google.com"},{name:"Lorem Ip",thumb:we+"/assets/images/mock_brand.jpg",link:"https://google.com"},{name:"Lorem Ip",thumb:we+"/assets/images/mock_brand.jpg",link:"https://google.com"}]}],px=()=>{const{loading:e}=E.useContext(kt);return x.jsxs("section",{id:"sponsors",className:Dr.container,children:[e&&x.jsxs(x.Fragment,{children:[x.jsx(G,{children:x.jsx(B,{width:250,height:45,style:{}})}),x.jsx("div",{style:{height:40}}),x.jsxs("div",{className:"flex flex-row",children:[x.jsx(G,{children:x.jsx(B,{width:220,height:200,style:{marginRight:30}})}),x.jsx(G,{children:x.jsx(B,{width:220,height:200,style:{marginRight:30}})}),x.jsx(G,{children:x.jsx(B,{width:220,height:200,style:{marginRight:30}})})]}),x.jsxs("div",{className:"flex flex-row mt-4",children:[x.jsx(G,{children:x.jsx(B,{width:220,height:200,style:{marginRight:30}})}),x.jsx(G,{children:x.jsx(B,{width:220,height:200,style:{marginRight:30}})}),x.jsx(G,{children:x.jsx(B,{width:220,height:200,style:{marginRight:30}})})]})]}),!e&&x.jsx(x.Fragment,{children:x.jsx("div",{className:Dr["content-about"],children:fx.sort((t,n)=>t.order-n.order).map((t,n)=>{var r;return x.jsxs("div",{className:n==0?"w-screen":"w-[100%] md:w-[50%]",children:[x.jsx("h3",{"data-aos":"fade-up","data-aos-delay":"200",className:"text-3xl md:text-4xl font-medium mb-10",children:t.title}),x.jsx("div",{className:Dr["item-content"],children:(r=t==null?void 0:t.items)==null?void 0:r.map((i,s)=>x.jsx(Ks,{className:Dr["button-thumb"],to:"/",children:x.jsx("img",{"data-aos":"fade-up","data-aos-delay":"400",width:"auto",height:"auto",className:Dr["thumb-menu"],alt:"image-menu",src:i==null?void 0:i.thumb})},s))})]},n)})})})]})};function mx(e){return _r({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.31 482.38 504 379.78 504 256z"}}]})(e)}function hx(e){return _r({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"}}]})(e)}function gx(e){return _r({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"}}]})(e)}const vx="_container_beuxb_1",qn={container:vx,"content-about":"_content-about_beuxb_35","content-logo":"_content-logo_beuxb_67","content-infos":"_content-infos_beuxb_81","thumb-logo":"_thumb-logo_beuxb_105"},yx="http://hog099.github.io/portifolio-fest-lp-front",wx=()=>{const{loading:e}=E.useContext(kt);return x.jsxs("section",{id:"contact",className:qn.container,children:[e&&x.jsxs(x.Fragment,{children:[x.jsx(G,{children:x.jsx(B,{width:250,height:45,style:{}})}),x.jsx("div",{style:{height:40}}),x.jsxs("div",{className:"flex flex-row",children:[x.jsx(G,{children:x.jsx(B,{width:220,height:300,style:{marginRight:30}})}),x.jsx(G,{children:x.jsx(B,{width:220,height:300,style:{marginRight:30}})}),x.jsx(G,{children:x.jsx(B,{width:220,height:300,style:{marginRight:30}})}),x.jsx(G,{children:x.jsx(B,{width:220,height:300,style:{marginRight:30}})})]}),x.jsx("div",{className:"mt-12",children:x.jsx(G,{children:x.jsx(B,{width:200,height:45,style:{}})})})]}),!e&&x.jsxs(x.Fragment,{children:[x.jsx("h1",{"data-aos":"fade-up","data-aos-delay":"200",className:"text-3xl md:text-5xl font-medium text-white",children:"Contato"}),x.jsxs("div",{className:qn["content-about"],children:[x.jsx("div",{className:qn["content-logo"],children:x.jsx("img",{"data-aos":"fade-up","data-aos-delay":"400",width:300,height:350,className:qn["thumb-logo"],alt:"image-menu",src:yx+"/assets/images/logo.png"})}),x.jsxs("div",{className:"flex flex-col",children:[x.jsxs("div",{className:qn["content-infos"],children:[x.jsxs("div",{children:[x.jsx("h3",{className:"text-md md:text-xl font-bold text-white",children:"Locallização"}),x.jsx("p",{className:"text-[14px] md:text-lg text-white",children:"Av São Mateus, 100, centro"})]}),x.jsxs("div",{children:[x.jsx("h3",{className:"text-md md:text-xl font-bold text-white",children:"E-mail"}),x.jsx("p",{className:"text-[14px] md:text-lg text-white",children:"contato@email.com"})]}),x.jsxs("div",{children:[x.jsx("h3",{className:"text-md md:text-xl font-bold text-white",children:"Telefone"}),x.jsx("p",{className:"text-[14px] md:text-lg text-white",children:"(27) 99912-1233"})]})]}),x.jsxs("div",{className:qn["content-infos"]+" mt-12",children:[x.jsx("div",{className:"w-[60px] h=[80px] flex flex-row justify-center rounded-full shadow-md bg-green-800 hover:bg-green-900 p-2 transition-all duration-200 hover:scale-105 cursor-pointer",children:x.jsx(gx,{size:35,color:"#fff"})}),x.jsx("div",{className:"w-[60px] h=[80px] flex flex-row justify-center rounded-full shadow-md bg-green-800 hover:bg-green-900 p-2 transition-all duration-200 hover:scale-105 cursor-pointer",children:x.jsx(hx,{size:35,color:"#fff"})}),x.jsx("div",{className:"w-[60px] h=[80px] flex flex-row justify-center rounded-full shadow-md bg-green-800 hover:bg-green-900 p-2 transition-all duration-200 hover:scale-105 cursor-pointer",children:x.jsx(mx,{size:35,color:"#fff"})})]})]})]})]})]})},xx=()=>x.jsxs("div",{className:"w-screen h-screen",children:[x.jsx(h1,{}),x.jsx(Zw,{}),x.jsx(v1,{}),x.jsx(tx,{}),x.jsx(sx,{}),x.jsx(ax,{}),x.jsx(cx,{}),x.jsx(px,{}),x.jsx(wx,{})]}),Sx=()=>x.jsxs(I0,{children:[x.jsx(Pa,{path:et==null?void 0:et.index,element:x.jsx(xx,{})}),x.jsx(Pa,{path:"*",element:x.jsx(Y0,{})})]});let Ex={data:""},Tx=e=>typeof window=="object"?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||Ex,Cx=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,kx=/\/\*[^]*?\*\/| +/g,Md=/\n+/g,en=(e,t)=>{let n="",r="",i="";for(let s in e){let o=e[s];s[0]=="@"?s[1]=="i"?n=s+" "+o+";":r+=s[1]=="f"?en(o,s):s+"{"+en(o,s[1]=="k"?"":t)+"}":typeof o=="object"?r+=en(o,t?t.replace(/([^,])+/g,l=>s.replace(/(^:.*)|([^,])+/g,a=>/&/.test(a)?a.replace(/&/g,l):l?l+" "+a:a)):s):o!=null&&(s=/^--/.test(s)?s:s.replace(/[A-Z]/g,"-$&").toLowerCase(),i+=en.p?en.p(s,o):s+":"+o+";")}return n+(t&&i?t+"{"+i+"}":i)+r},_t={},Xm=e=>{if(typeof e=="object"){let t="";for(let n in e)t+=n+Xm(e[n]);return t}return e},bx=(e,t,n,r,i)=>{let s=Xm(e),o=_t[s]||(_t[s]=(a=>{let u=0,c=11;for(;u>>0;return"go"+c})(s));if(!_t[o]){let a=s!==e?e:(u=>{let c,d,m=[{}];for(;c=Cx.exec(u.replace(kx,""));)c[4]?m.shift():c[3]?(d=c[3].replace(Md," ").trim(),m.unshift(m[0][d]=m[0][d]||{})):m[0][c[1]]=c[2].replace(Md," ").trim();return m[0]})(e);_t[o]=en(i?{["@keyframes "+o]:a}:a,n?"":"."+o)}let l=n&&_t.g?_t.g:null;return n&&(_t.g=_t[o]),((a,u,c,d)=>{d?u.data=u.data.replace(d,a):u.data.indexOf(a)===-1&&(u.data=c?a+u.data:u.data+a)})(_t[o],t,r,l),o},Px=(e,t,n)=>e.reduce((r,i,s)=>{let o=t[s];if(o&&o.call){let l=o(n),a=l&&l.props&&l.props.className||/^go/.test(l)&&l;o=a?"."+a:l&&typeof l=="object"?l.props?"":en(l,""):l===!1?"":l}return r+i+(o??"")},"");function jo(e){let t=this||{},n=e.call?e(t.p):e;return bx(n.unshift?n.raw?Px(n,[].slice.call(arguments,1),t.p):n.reduce((r,i)=>Object.assign(r,i&&i.call?i(t.p):i),{}):n,Tx(t.target),t.g,t.o,t.k)}let Ym,za,$a;jo.bind({g:1});let Ut=jo.bind({k:1});function _x(e,t,n,r){en.p=t,Ym=e,za=n,$a=r}function Cn(e,t){let n=this||{};return function(){let r=arguments;function i(s,o){let l=Object.assign({},s),a=l.className||i.className;n.p=Object.assign({theme:za&&za()},l),n.o=/ *go\d+/.test(a),l.className=jo.apply(n,r)+(a?" "+a:""),t&&(l.ref=o);let u=e;return e[0]&&(u=l.as||e,delete l.as),$a&&u[0]&&$a(l),Ym(u,l)}return t?t(i):i}}var Lx=e=>typeof e=="function",io=(e,t)=>Lx(e)?e(t):e,Nx=(()=>{let e=0;return()=>(++e).toString()})(),Km=(()=>{let e;return()=>{if(e===void 0&&typeof window<"u"){let t=matchMedia("(prefers-reduced-motion: reduce)");e=!t||t.matches}return e}})(),Ox=20,vs=new Map,jx=1e3,Rd=e=>{if(vs.has(e))return;let t=setTimeout(()=>{vs.delete(e),Hn({type:4,toastId:e})},jx);vs.set(e,t)},Ix=e=>{let t=vs.get(e);t&&clearTimeout(t)},Da=(e,t)=>{switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,Ox)};case 1:return t.toast.id&&Ix(t.toast.id),{...e,toasts:e.toasts.map(s=>s.id===t.toast.id?{...s,...t.toast}:s)};case 2:let{toast:n}=t;return e.toasts.find(s=>s.id===n.id)?Da(e,{type:1,toast:n}):Da(e,{type:0,toast:n});case 3:let{toastId:r}=t;return r?Rd(r):e.toasts.forEach(s=>{Rd(s.id)}),{...e,toasts:e.toasts.map(s=>s.id===r||r===void 0?{...s,visible:!1}:s)};case 4:return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(s=>s.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let i=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(s=>({...s,pauseDuration:s.pauseDuration+i}))}}},ys=[],ws={toasts:[],pausedAt:void 0},Hn=e=>{ws=Da(ws,e),ys.forEach(t=>{t(ws)})},Mx={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},Rx=(e={})=>{let[t,n]=E.useState(ws);E.useEffect(()=>(ys.push(n),()=>{let i=ys.indexOf(n);i>-1&&ys.splice(i,1)}),[t]);let r=t.toasts.map(i=>{var s,o;return{...e,...e[i.type],...i,duration:i.duration||((s=e[i.type])==null?void 0:s.duration)||(e==null?void 0:e.duration)||Mx[i.type],style:{...e.style,...(o=e[i.type])==null?void 0:o.style,...i.style}}});return{...t,toasts:r}},Ax=(e,t="blank",n)=>({createdAt:Date.now(),visible:!0,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...n,id:(n==null?void 0:n.id)||Nx()}),Li=e=>(t,n)=>{let r=Ax(t,e,n);return Hn({type:2,toast:r}),r.id},Ye=(e,t)=>Li("blank")(e,t);Ye.error=Li("error");Ye.success=Li("success");Ye.loading=Li("loading");Ye.custom=Li("custom");Ye.dismiss=e=>{Hn({type:3,toastId:e})};Ye.remove=e=>Hn({type:4,toastId:e});Ye.promise=(e,t,n)=>{let r=Ye.loading(t.loading,{...n,...n==null?void 0:n.loading});return e.then(i=>(Ye.success(io(t.success,i),{id:r,...n,...n==null?void 0:n.success}),i)).catch(i=>{Ye.error(io(t.error,i),{id:r,...n,...n==null?void 0:n.error})}),e};var zx=(e,t)=>{Hn({type:1,toast:{id:e,height:t}})},$x=()=>{Hn({type:5,time:Date.now()})},Dx=e=>{let{toasts:t,pausedAt:n}=Rx(e);E.useEffect(()=>{if(n)return;let s=Date.now(),o=t.map(l=>{if(l.duration===1/0)return;let a=(l.duration||0)+l.pauseDuration-(s-l.createdAt);if(a<0){l.visible&&Ye.dismiss(l.id);return}return setTimeout(()=>Ye.dismiss(l.id),a)});return()=>{o.forEach(l=>l&&clearTimeout(l))}},[t,n]);let r=E.useCallback(()=>{n&&Hn({type:6,time:Date.now()})},[n]),i=E.useCallback((s,o)=>{let{reverseOrder:l=!1,gutter:a=8,defaultPosition:u}=o||{},c=t.filter(v=>(v.position||u)===(s.position||u)&&v.height),d=c.findIndex(v=>v.id===s.id),m=c.filter((v,y)=>yv.visible).slice(...l?[m+1]:[0,m]).reduce((v,y)=>v+(y.height||0)+a,0)},[t]);return{toasts:t,handlers:{updateHeight:zx,startPause:$x,endPause:r,calculateOffset:i}}},Fx=Ut` from { transform: scale(0) rotate(45deg); opacity: 0; @@ -75,7 +75,7 @@ from { to { transform: scale(1) rotate(45deg); opacity: 1; -}`,Fx=Ut` +}`,Bx=Ut` from { transform: scale(0); opacity: 0; @@ -83,7 +83,7 @@ from { to { transform: scale(1); opacity: 1; -}`,Bx=Ut` +}`,Ux=Ut` from { transform: scale(0) rotate(90deg); opacity: 0; @@ -91,7 +91,7 @@ from { to { transform: scale(1) rotate(90deg); opacity: 1; -}`,Ux=Cn("div")` +}`,Hx=Cn("div")` width: 20px; opacity: 0; height: 20px; @@ -100,14 +100,14 @@ to { position: relative; transform: rotate(45deg); - animation: ${Dx} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) + animation: ${Fx} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; animation-delay: 100ms; &:after, &:before { content: ''; - animation: ${Fx} 0.15s ease-out forwards; + animation: ${Bx} 0.15s ease-out forwards; animation-delay: 150ms; position: absolute; border-radius: 3px; @@ -120,18 +120,18 @@ to { } &:before { - animation: ${Bx} 0.15s ease-out forwards; + animation: ${Ux} 0.15s ease-out forwards; animation-delay: 180ms; transform: rotate(90deg); } -`,Hx=Ut` +`,Vx=Ut` from { transform: rotate(0deg); } to { transform: rotate(360deg); } -`,Vx=Cn("div")` +`,Wx=Cn("div")` width: 12px; height: 12px; box-sizing: border-box; @@ -139,8 +139,8 @@ to { border-radius: 100%; border-color: ${e=>e.secondary||"#e0e0e0"}; border-right-color: ${e=>e.primary||"#616161"}; - animation: ${Hx} 1s linear infinite; -`,Wx=Ut` + animation: ${Vx} 1s linear infinite; +`,Gx=Ut` from { transform: scale(0) rotate(45deg); opacity: 0; @@ -148,7 +148,7 @@ from { to { transform: scale(1) rotate(45deg); opacity: 1; -}`,Gx=Ut` +}`,qx=Ut` 0% { height: 0; width: 0; @@ -162,7 +162,7 @@ to { 100% { opacity: 1; height: 10px; -}`,qx=Cn("div")` +}`,Xx=Cn("div")` width: 20px; opacity: 0; height: 20px; @@ -171,13 +171,13 @@ to { position: relative; transform: rotate(45deg); - animation: ${Wx} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) + animation: ${Gx} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; animation-delay: 100ms; &:after { content: ''; box-sizing: border-box; - animation: ${Gx} 0.2s ease-out forwards; + animation: ${qx} 0.2s ease-out forwards; opacity: 0; animation-delay: 200ms; position: absolute; @@ -189,16 +189,16 @@ to { height: 10px; width: 6px; } -`,Xx=Cn("div")` - position: absolute; `,Yx=Cn("div")` + position: absolute; +`,Kx=Cn("div")` position: relative; display: flex; justify-content: center; align-items: center; min-width: 20px; min-height: 20px; -`,Kx=Ut` +`,Qx=Ut` from { transform: scale(0.6); opacity: 0.4; @@ -206,20 +206,20 @@ from { to { transform: scale(1); opacity: 1; -}`,Qx=Cn("div")` +}`,Jx=Cn("div")` position: relative; transform: scale(0.6); opacity: 0.4; min-width: 20px; - animation: ${Kx} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275) + animation: ${Qx} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; -`,Jx=({toast:e})=>{let{icon:t,type:n,iconTheme:r}=e;return t!==void 0?typeof t=="string"?E.createElement(Qx,null,t):t:n==="blank"?null:E.createElement(Yx,null,E.createElement(Vx,{...r}),n!=="loading"&&E.createElement(Xx,null,n==="error"?E.createElement(Ux,{...r}):E.createElement(qx,{...r})))},Zx=e=>` +`,Zx=({toast:e})=>{let{icon:t,type:n,iconTheme:r}=e;return t!==void 0?typeof t=="string"?E.createElement(Jx,null,t):t:n==="blank"?null:E.createElement(Kx,null,E.createElement(Wx,{...r}),n!=="loading"&&E.createElement(Yx,null,n==="error"?E.createElement(Hx,{...r}):E.createElement(Xx,{...r})))},eS=e=>` 0% {transform: translate3d(0,${e*-200}%,0) scale(.6); opacity:.5;} 100% {transform: translate3d(0,0,0) scale(1); opacity:1;} -`,eS=e=>` +`,tS=e=>` 0% {transform: translate3d(0,0,-1px) scale(1); opacity:1;} 100% {transform: translate3d(0,${e*-150}%,-1px) scale(.6); opacity:0;} -`,tS="0%{opacity:0;} 100%{opacity:1;}",nS="0%{opacity:1;} 100%{opacity:0;}",rS=Cn("div")` +`,nS="0%{opacity:0;} 100%{opacity:1;}",rS="0%{opacity:1;} 100%{opacity:0;}",iS=Cn("div")` display: flex; align-items: center; background: #fff; @@ -231,24 +231,24 @@ to { pointer-events: auto; padding: 8px 10px; border-radius: 8px; -`,iS=Cn("div")` +`,sS=Cn("div")` display: flex; justify-content: center; margin: 4px 10px; color: inherit; flex: 1 1 auto; white-space: pre-line; -`,sS=(e,t)=>{let n=e.includes("top")?1:-1,[r,i]=Km()?[tS,nS]:[Zx(n),eS(n)];return{animation:t?`${Ut(r)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${Ut(i)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}},oS=E.memo(({toast:e,position:t,style:n,children:r})=>{let i=e.height?sS(e.position||t||"top-center",e.visible):{opacity:0},s=E.createElement(Jx,{toast:e}),o=E.createElement(iS,{...e.ariaProps},io(e.message,e));return E.createElement(rS,{className:e.className,style:{...i,...n,...e.style}},typeof r=="function"?r({icon:s,message:o}):E.createElement(E.Fragment,null,s,o))});Px(E.createElement);var lS=({id:e,className:t,style:n,onHeightUpdate:r,children:i})=>{let s=E.useCallback(o=>{if(o){let l=()=>{let a=o.getBoundingClientRect().height;r(e,a)};l(),new MutationObserver(l).observe(o,{subtree:!0,childList:!0,characterData:!0})}},[e,r]);return E.createElement("div",{ref:s,className:t,style:n},i)},aS=(e,t)=>{let n=e.includes("top"),r=n?{top:0}:{bottom:0},i=e.includes("center")?{justifyContent:"center"}:e.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:Km()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${t*(n?1:-1)}px)`,...r,...i}},uS=jo` +`,oS=(e,t)=>{let n=e.includes("top")?1:-1,[r,i]=Km()?[nS,rS]:[eS(n),tS(n)];return{animation:t?`${Ut(r)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${Ut(i)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}},lS=E.memo(({toast:e,position:t,style:n,children:r})=>{let i=e.height?oS(e.position||t||"top-center",e.visible):{opacity:0},s=E.createElement(Zx,{toast:e}),o=E.createElement(sS,{...e.ariaProps},io(e.message,e));return E.createElement(iS,{className:e.className,style:{...i,...n,...e.style}},typeof r=="function"?r({icon:s,message:o}):E.createElement(E.Fragment,null,s,o))});_x(E.createElement);var aS=({id:e,className:t,style:n,onHeightUpdate:r,children:i})=>{let s=E.useCallback(o=>{if(o){let l=()=>{let a=o.getBoundingClientRect().height;r(e,a)};l(),new MutationObserver(l).observe(o,{subtree:!0,childList:!0,characterData:!0})}},[e,r]);return E.createElement("div",{ref:s,className:t,style:n},i)},uS=(e,t)=>{let n=e.includes("top"),r=n?{top:0}:{bottom:0},i=e.includes("center")?{justifyContent:"center"}:e.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:Km()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${t*(n?1:-1)}px)`,...r,...i}},cS=jo` z-index: 9999; > * { pointer-events: auto; } -`,rs=16,cS=({reverseOrder:e,position:t="top-center",toastOptions:n,gutter:r,children:i,containerStyle:s,containerClassName:o})=>{let{toasts:l,handlers:a}=$x(n);return E.createElement("div",{style:{position:"fixed",zIndex:9999,top:rs,left:rs,right:rs,bottom:rs,pointerEvents:"none",...s},className:o,onMouseEnter:a.startPause,onMouseLeave:a.endPause},l.map(u=>{let c=u.position||t,d=a.calculateOffset(u,{reverseOrder:e,gutter:r,defaultPosition:t}),m=aS(c,d);return E.createElement(lS,{id:u.id,key:u.id,onHeightUpdate:a.updateHeight,className:u.visible?uS:"",style:m},u.type==="custom"?io(u.message,u):i?i(u):E.createElement(oS,{toast:u,position:c}))}))},Cl=Ye,Qm={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(xh,function(){return function(n){function r(s){if(i[s])return i[s].exports;var o=i[s]={exports:{},id:s,loaded:!1};return n[s].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}var i={};return r.m=n,r.c=i,r.p="dist/",r(0)}([function(n,r,i){function s(M){return M&&M.__esModule?M:{default:M}}var o=Object.assign||function(M){for(var D=1;D0&&arguments[0]!==void 0&&arguments[0];if(M&&(O=!0),O)return C=(0,p.default)(C,_),(0,h.default)(C,_.once),C},b=function(){C=(0,T.default)(),P()},k=function(){C.forEach(function(M,D){M.node.removeAttribute("data-aos"),M.node.removeAttribute("data-aos-easing"),M.node.removeAttribute("data-aos-duration"),M.node.removeAttribute("data-aos-delay")})},L=function(M){return M===!0||M==="mobile"&&g.default.mobile()||M==="phone"&&g.default.phone()||M==="tablet"&&g.default.tablet()||typeof M=="function"&&M()===!0},N=function(M){_=o(_,M),C=(0,T.default)();var D=document.all&&!window.atob;return L(_.disable)||D?k():(_.disableMutationObserver||v.default.isSupported()||(console.info(` +`,rs=16,dS=({reverseOrder:e,position:t="top-center",toastOptions:n,gutter:r,children:i,containerStyle:s,containerClassName:o})=>{let{toasts:l,handlers:a}=Dx(n);return E.createElement("div",{style:{position:"fixed",zIndex:9999,top:rs,left:rs,right:rs,bottom:rs,pointerEvents:"none",...s},className:o,onMouseEnter:a.startPause,onMouseLeave:a.endPause},l.map(u=>{let c=u.position||t,d=a.calculateOffset(u,{reverseOrder:e,gutter:r,defaultPosition:t}),m=uS(c,d);return E.createElement(aS,{id:u.id,key:u.id,onHeightUpdate:a.updateHeight,className:u.visible?cS:"",style:m},u.type==="custom"?io(u.message,u):i?i(u):E.createElement(lS,{toast:u,position:c}))}))},Cl=Ye,Qm={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(xh,function(){return function(n){function r(s){if(i[s])return i[s].exports;var o=i[s]={exports:{},id:s,loaded:!1};return n[s].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}var i={};return r.m=n,r.c=i,r.p="dist/",r(0)}([function(n,r,i){function s(M){return M&&M.__esModule?M:{default:M}}var o=Object.assign||function(M){for(var D=1;D0&&arguments[0]!==void 0&&arguments[0];if(M&&(O=!0),O)return C=(0,p.default)(C,_),(0,h.default)(C,_.once),C},b=function(){C=(0,T.default)(),P()},k=function(){C.forEach(function(M,D){M.node.removeAttribute("data-aos"),M.node.removeAttribute("data-aos-easing"),M.node.removeAttribute("data-aos-duration"),M.node.removeAttribute("data-aos-delay")})},L=function(M){return M===!0||M==="mobile"&&g.default.mobile()||M==="phone"&&g.default.phone()||M==="tablet"&&g.default.tablet()||typeof M=="function"&&M()===!0},N=function(M){_=o(_,M),C=(0,T.default)();var D=document.all&&!window.atob;return L(_.disable)||D?k():(_.disableMutationObserver||v.default.isSupported()||(console.info(` aos: MutationObserver is not supported on this browser, code mutations observing has been disabled. You may have to call "refreshHard()" by yourself. - `),_.disableMutationObserver=!0),document.querySelector("body").setAttribute("data-aos-easing",_.easing),document.querySelector("body").setAttribute("data-aos-duration",_.duration),document.querySelector("body").setAttribute("data-aos-delay",_.delay),_.startEvent==="DOMContentLoaded"&&["complete","interactive"].indexOf(document.readyState)>-1?P(!0):_.startEvent==="load"?window.addEventListener(_.startEvent,function(){P(!0)}):document.addEventListener(_.startEvent,function(){P(!0)}),window.addEventListener("resize",(0,d.default)(P,_.debounceDelay,!0)),window.addEventListener("orientationchange",(0,d.default)(P,_.debounceDelay,!0)),window.addEventListener("scroll",(0,u.default)(function(){(0,h.default)(C,_.once)},_.throttleDelay)),_.disableMutationObserver||v.default.ready("[data-aos]",b),C)};n.exports={init:N,refresh:P,refreshHard:b}},function(n,r){},,,,,function(n,r){(function(i){function s(L,N,M){function D(K){var ze=fe,Gt=Ae;return fe=Ae=void 0,Vt=K,le=L.apply(Gt,ze)}function H(K){return Vt=K,he=setTimeout(A,N),Wt?D(K):le}function Q(K){var ze=K-He,Gt=K-Vt,rc=N-ze;return Pt?b(rc,ye-Gt):rc}function I(K){var ze=K-He,Gt=K-Vt;return He===void 0||ze>=N||ze<0||Pt&&Gt>=ye}function A(){var K=k();return I(K)?z(K):void(he=setTimeout(A,Q(K)))}function z(K){return he=void 0,re&&fe?D(K):(fe=Ae=void 0,le)}function U(){he!==void 0&&clearTimeout(he),Vt=0,fe=He=Ae=he=void 0}function X(){return he===void 0?le:z(k())}function te(){var K=k(),ze=I(K);if(fe=arguments,Ae=this,He=K,ze){if(he===void 0)return H(He);if(Pt)return he=setTimeout(A,N),D(He)}return he===void 0&&(he=setTimeout(A,N)),le}var fe,Ae,ye,le,he,He,Vt=0,Wt=!1,Pt=!1,re=!0;if(typeof L!="function")throw new TypeError(m);return N=c(N)||0,l(M)&&(Wt=!!M.leading,Pt="maxWait"in M,ye=Pt?P(c(M.maxWait)||0,N):ye,re="trailing"in M?!!M.trailing:re),te.cancel=U,te.flush=X,te}function o(L,N,M){var D=!0,H=!0;if(typeof L!="function")throw new TypeError(m);return l(M)&&(D="leading"in M?!!M.leading:D,H="trailing"in M?!!M.trailing:H),s(L,N,{leading:D,maxWait:N,trailing:H})}function l(L){var N=typeof L>"u"?"undefined":d(L);return!!L&&(N=="object"||N=="function")}function a(L){return!!L&&(typeof L>"u"?"undefined":d(L))=="object"}function u(L){return(typeof L>"u"?"undefined":d(L))=="symbol"||a(L)&&_.call(L)==y}function c(L){if(typeof L=="number")return L;if(u(L))return v;if(l(L)){var N=typeof L.valueOf=="function"?L.valueOf():L;L=l(N)?N+"":N}if(typeof L!="string")return L===0?L:+L;L=L.replace(g,"");var M=h.test(L);return M||f.test(L)?p(L.slice(2),M?2:8):S.test(L)?v:+L}var d=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(L){return typeof L}:function(L){return L&&typeof Symbol=="function"&&L.constructor===Symbol&&L!==Symbol.prototype?"symbol":typeof L},m="Expected a function",v=NaN,y="[object Symbol]",g=/^\s+|\s+$/g,S=/^[-+]0x[0-9a-f]+$/i,h=/^0b[01]+$/i,f=/^0o[0-7]+$/i,p=parseInt,w=(typeof i>"u"?"undefined":d(i))=="object"&&i&&i.Object===Object&&i,T=(typeof self>"u"?"undefined":d(self))=="object"&&self&&self.Object===Object&&self,C=w||T||Function("return this")(),O=Object.prototype,_=O.toString,P=Math.max,b=Math.min,k=function(){return C.Date.now()};n.exports=o}).call(r,function(){return this}())},function(n,r){(function(i){function s(k,L,N){function M(re){var K=te,ze=fe;return te=fe=void 0,He=re,ye=k.apply(ze,K)}function D(re){return He=re,le=setTimeout(I,L),Vt?M(re):ye}function H(re){var K=re-he,ze=re-He,Gt=L-K;return Wt?P(Gt,Ae-ze):Gt}function Q(re){var K=re-he,ze=re-He;return he===void 0||K>=L||K<0||Wt&&ze>=Ae}function I(){var re=b();return Q(re)?A(re):void(le=setTimeout(I,H(re)))}function A(re){return le=void 0,Pt&&te?M(re):(te=fe=void 0,ye)}function z(){le!==void 0&&clearTimeout(le),He=0,te=he=fe=le=void 0}function U(){return le===void 0?ye:A(b())}function X(){var re=b(),K=Q(re);if(te=arguments,fe=this,he=re,K){if(le===void 0)return D(he);if(Wt)return le=setTimeout(I,L),M(he)}return le===void 0&&(le=setTimeout(I,L)),ye}var te,fe,Ae,ye,le,he,He=0,Vt=!1,Wt=!1,Pt=!0;if(typeof k!="function")throw new TypeError(d);return L=u(L)||0,o(N)&&(Vt=!!N.leading,Wt="maxWait"in N,Ae=Wt?_(u(N.maxWait)||0,L):Ae,Pt="trailing"in N?!!N.trailing:Pt),X.cancel=z,X.flush=U,X}function o(k){var L=typeof k>"u"?"undefined":c(k);return!!k&&(L=="object"||L=="function")}function l(k){return!!k&&(typeof k>"u"?"undefined":c(k))=="object"}function a(k){return(typeof k>"u"?"undefined":c(k))=="symbol"||l(k)&&O.call(k)==v}function u(k){if(typeof k=="number")return k;if(a(k))return m;if(o(k)){var L=typeof k.valueOf=="function"?k.valueOf():k;k=o(L)?L+"":L}if(typeof k!="string")return k===0?k:+k;k=k.replace(y,"");var N=S.test(k);return N||h.test(k)?f(k.slice(2),N?2:8):g.test(k)?m:+k}var c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(k){return typeof k}:function(k){return k&&typeof Symbol=="function"&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k},d="Expected a function",m=NaN,v="[object Symbol]",y=/^\s+|\s+$/g,g=/^[-+]0x[0-9a-f]+$/i,S=/^0b[01]+$/i,h=/^0o[0-7]+$/i,f=parseInt,p=(typeof i>"u"?"undefined":c(i))=="object"&&i&&i.Object===Object&&i,w=(typeof self>"u"?"undefined":c(self))=="object"&&self&&self.Object===Object&&self,T=p||w||Function("return this")(),C=Object.prototype,O=C.toString,_=Math.max,P=Math.min,b=function(){return T.Date.now()};n.exports=s}).call(r,function(){return this}())},function(n,r){function i(c){var d=void 0,m=void 0;for(d=0;do.position?o.node.classList.add("aos-animate"):typeof u<"u"&&(u==="false"||!a&&u!=="true")&&o.node.classList.remove("aos-animate")},s=function(o,l){var a=window.pageYOffset,u=window.innerHeight;o.forEach(function(c,d){i(c,u+a,l)})};r.default=s},function(n,r,i){function s(u){return u&&u.__esModule?u:{default:u}}Object.defineProperty(r,"__esModule",{value:!0});var o=i(12),l=s(o),a=function(u,c){return u.forEach(function(d,m){d.node.classList.add("aos-init"),d.position=(0,l.default)(d.node,c.offset)}),u};r.default=a},function(n,r,i){function s(u){return u&&u.__esModule?u:{default:u}}Object.defineProperty(r,"__esModule",{value:!0});var o=i(13),l=s(o),a=function(u,c){var d=0,m=0,v=window.innerHeight,y={offset:u.getAttribute("data-aos-offset"),anchor:u.getAttribute("data-aos-anchor"),anchorPlacement:u.getAttribute("data-aos-anchor-placement")};switch(y.offset&&!isNaN(y.offset)&&(m=parseInt(y.offset)),y.anchor&&document.querySelectorAll(y.anchor)&&(u=document.querySelectorAll(y.anchor)[0]),d=(0,l.default)(u).top,y.anchorPlacement){case"top-bottom":break;case"center-bottom":d+=u.offsetHeight/2;break;case"bottom-bottom":d+=u.offsetHeight;break;case"top-center":d+=v/2;break;case"bottom-center":d+=v/2+u.offsetHeight;break;case"center-center":d+=v/2+u.offsetHeight/2;break;case"top-top":d+=v;break;case"bottom-top":d+=u.offsetHeight+v;break;case"center-top":d+=u.offsetHeight/2+v}return y.anchorPlacement||y.offset||isNaN(c)||(m=c),d+m};r.default=a},function(n,r){Object.defineProperty(r,"__esModule",{value:!0});var i=function(s){for(var o=0,l=0;s&&!isNaN(s.offsetLeft)&&!isNaN(s.offsetTop);)o+=s.offsetLeft-(s.tagName!="BODY"?s.scrollLeft:0),l+=s.offsetTop-(s.tagName!="BODY"?s.scrollTop:0),s=s.offsetParent;return{top:l,left:o}};r.default=i},function(n,r){Object.defineProperty(r,"__esModule",{value:!0});var i=function(s){return s=s||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(s,function(o){return{node:o}})};r.default=i}])})})(Qm);var dS=Qm.exports;const fS=Xd(dS);function Jm(e,t){return function(){return e.apply(t,arguments)}}const{toString:pS}=Object.prototype,{getPrototypeOf:Qu}=Object,Io=(e=>t=>{const n=pS.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),bt=e=>(e=e.toLowerCase(),t=>Io(t)===e),Mo=e=>t=>typeof t===e,{isArray:Lr}=Array,Ei=Mo("undefined");function mS(e){return e!==null&&!Ei(e)&&e.constructor!==null&&!Ei(e.constructor)&&ot(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Zm=bt("ArrayBuffer");function hS(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Zm(e.buffer),t}const gS=Mo("string"),ot=Mo("function"),eh=Mo("number"),Ro=e=>e!==null&&typeof e=="object",vS=e=>e===!0||e===!1,xs=e=>{if(Io(e)!=="object")return!1;const t=Qu(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},yS=bt("Date"),wS=bt("File"),xS=bt("Blob"),SS=bt("FileList"),ES=e=>Ro(e)&&ot(e.pipe),TS=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ot(e.append)&&((t=Io(e))==="formdata"||t==="object"&&ot(e.toString)&&e.toString()==="[object FormData]"))},CS=bt("URLSearchParams"),kS=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ni(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),Lr(e))for(r=0,i=e.length;r0;)if(i=n[r],t===i.toLowerCase())return i;return null}const nh=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,rh=e=>!Ei(e)&&e!==nh;function Fa(){const{caseless:e}=rh(this)&&this||{},t={},n=(r,i)=>{const s=e&&th(t,i)||i;xs(t[s])&&xs(r)?t[s]=Fa(t[s],r):xs(r)?t[s]=Fa({},r):Lr(r)?t[s]=r.slice():t[s]=r};for(let r=0,i=arguments.length;r(Ni(t,(i,s)=>{n&&ot(i)?e[s]=Jm(i,n):e[s]=i},{allOwnKeys:r}),e),PS=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),_S=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},LS=(e,t,n,r)=>{let i,s,o;const l={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),s=i.length;s-- >0;)o=i[s],(!r||r(o,e,t))&&!l[o]&&(t[o]=e[o],l[o]=!0);e=n!==!1&&Qu(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},NS=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},OS=e=>{if(!e)return null;if(Lr(e))return e;let t=e.length;if(!eh(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},jS=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Qu(Uint8Array)),IS=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const s=i.value;t.call(e,s[0],s[1])}},MS=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},RS=bt("HTMLFormElement"),AS=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),Ad=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),zS=bt("RegExp"),ih=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Ni(n,(i,s)=>{let o;(o=t(i,s,e))!==!1&&(r[s]=o||i)}),Object.defineProperties(e,r)},$S=e=>{ih(e,(t,n)=>{if(ot(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(ot(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},DS=(e,t)=>{const n={},r=i=>{i.forEach(s=>{n[s]=!0})};return Lr(e)?r(e):r(String(e).split(t)),n},FS=()=>{},BS=(e,t)=>(e=+e,Number.isFinite(e)?e:t),kl="abcdefghijklmnopqrstuvwxyz",zd="0123456789",sh={DIGIT:zd,ALPHA:kl,ALPHA_DIGIT:kl+kl.toUpperCase()+zd},US=(e=16,t=sh.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function HS(e){return!!(e&&ot(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const VS=e=>{const t=new Array(10),n=(r,i)=>{if(Ro(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const s=Lr(r)?[]:{};return Ni(r,(o,l)=>{const a=n(o,i+1);!Ei(a)&&(s[l]=a)}),t[i]=void 0,s}}return r};return n(e,0)},WS=bt("AsyncFunction"),GS=e=>e&&(Ro(e)||ot(e))&&ot(e.then)&&ot(e.catch),j={isArray:Lr,isArrayBuffer:Zm,isBuffer:mS,isFormData:TS,isArrayBufferView:hS,isString:gS,isNumber:eh,isBoolean:vS,isObject:Ro,isPlainObject:xs,isUndefined:Ei,isDate:yS,isFile:wS,isBlob:xS,isRegExp:zS,isFunction:ot,isStream:ES,isURLSearchParams:CS,isTypedArray:jS,isFileList:SS,forEach:Ni,merge:Fa,extend:bS,trim:kS,stripBOM:PS,inherits:_S,toFlatObject:LS,kindOf:Io,kindOfTest:bt,endsWith:NS,toArray:OS,forEachEntry:IS,matchAll:MS,isHTMLForm:RS,hasOwnProperty:Ad,hasOwnProp:Ad,reduceDescriptors:ih,freezeMethods:$S,toObjectSet:DS,toCamelCase:AS,noop:FS,toFiniteNumber:BS,findKey:th,global:nh,isContextDefined:rh,ALPHABET:sh,generateString:US,isSpecCompliantForm:HS,toJSONObject:VS,isAsyncFn:WS,isThenable:GS};function W(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}j.inherits(W,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:j.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const oh=W.prototype,lh={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{lh[e]={value:e}});Object.defineProperties(W,lh);Object.defineProperty(oh,"isAxiosError",{value:!0});W.from=(e,t,n,r,i,s)=>{const o=Object.create(oh);return j.toFlatObject(e,o,function(a){return a!==Error.prototype},l=>l!=="isAxiosError"),W.call(o,e.message,t,n,r,i),o.cause=e,o.name=e.name,s&&Object.assign(o,s),o};const qS=null;function Ba(e){return j.isPlainObject(e)||j.isArray(e)}function ah(e){return j.endsWith(e,"[]")?e.slice(0,-2):e}function $d(e,t,n){return e?e.concat(t).map(function(i,s){return i=ah(i),!n&&s?"["+i+"]":i}).join(n?".":""):t}function XS(e){return j.isArray(e)&&!e.some(Ba)}const YS=j.toFlatObject(j,{},null,function(t){return/^is[A-Z]/.test(t)});function Ao(e,t,n){if(!j.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=j.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,S){return!j.isUndefined(S[g])});const r=n.metaTokens,i=n.visitor||c,s=n.dots,o=n.indexes,a=(n.Blob||typeof Blob<"u"&&Blob)&&j.isSpecCompliantForm(t);if(!j.isFunction(i))throw new TypeError("visitor must be a function");function u(y){if(y===null)return"";if(j.isDate(y))return y.toISOString();if(!a&&j.isBlob(y))throw new W("Blob is not supported. Use a Buffer instead.");return j.isArrayBuffer(y)||j.isTypedArray(y)?a&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function c(y,g,S){let h=y;if(y&&!S&&typeof y=="object"){if(j.endsWith(g,"{}"))g=r?g:g.slice(0,-2),y=JSON.stringify(y);else if(j.isArray(y)&&XS(y)||(j.isFileList(y)||j.endsWith(g,"[]"))&&(h=j.toArray(y)))return g=ah(g),h.forEach(function(p,w){!(j.isUndefined(p)||p===null)&&t.append(o===!0?$d([g],w,s):o===null?g:g+"[]",u(p))}),!1}return Ba(y)?!0:(t.append($d(S,g,s),u(y)),!1)}const d=[],m=Object.assign(YS,{defaultVisitor:c,convertValue:u,isVisitable:Ba});function v(y,g){if(!j.isUndefined(y)){if(d.indexOf(y)!==-1)throw Error("Circular reference detected in "+g.join("."));d.push(y),j.forEach(y,function(h,f){(!(j.isUndefined(h)||h===null)&&i.call(t,h,j.isString(f)?f.trim():f,g,m))===!0&&v(h,g?g.concat(f):[f])}),d.pop()}}if(!j.isObject(e))throw new TypeError("data must be an object");return v(e),t}function Dd(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Ju(e,t){this._pairs=[],e&&Ao(e,this,t)}const uh=Ju.prototype;uh.append=function(t,n){this._pairs.push([t,n])};uh.toString=function(t){const n=t?function(r){return t.call(this,r,Dd)}:Dd;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function KS(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ch(e,t,n){if(!t)return e;const r=n&&n.encode||KS,i=n&&n.serialize;let s;if(i?s=i(t,n):s=j.isURLSearchParams(t)?t.toString():new Ju(t,n).toString(r),s){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class QS{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){j.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Fd=QS,dh={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},JS=typeof URLSearchParams<"u"?URLSearchParams:Ju,ZS=typeof FormData<"u"?FormData:null,eE=typeof Blob<"u"?Blob:null,tE={isBrowser:!0,classes:{URLSearchParams:JS,FormData:ZS,Blob:eE},protocols:["http","https","file","blob","url","data"]},fh=typeof window<"u"&&typeof document<"u",nE=(e=>fh&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),rE=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",iE=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:fh,hasStandardBrowserEnv:nE,hasStandardBrowserWebWorkerEnv:rE},Symbol.toStringTag,{value:"Module"})),Et={...iE,...tE};function sE(e,t){return Ao(e,new Et.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,s){return Et.isNode&&j.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function oE(e){return j.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function lE(e){const t={},n=Object.keys(e);let r;const i=n.length;let s;for(r=0;r=n.length;return o=!o&&j.isArray(i)?i.length:o,a?(j.hasOwnProp(i,o)?i[o]=[i[o],r]:i[o]=r,!l):((!i[o]||!j.isObject(i[o]))&&(i[o]=[]),t(n,r,i[o],s)&&j.isArray(i[o])&&(i[o]=lE(i[o])),!l)}if(j.isFormData(e)&&j.isFunction(e.entries)){const n={};return j.forEachEntry(e,(r,i)=>{t(oE(r),i,n,0)}),n}return null}function aE(e,t,n){if(j.isString(e))try{return(t||JSON.parse)(e),j.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Zu={transitional:dh,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,s=j.isObject(t);if(s&&j.isHTMLForm(t)&&(t=new FormData(t)),j.isFormData(t))return i&&i?JSON.stringify(ph(t)):t;if(j.isArrayBuffer(t)||j.isBuffer(t)||j.isStream(t)||j.isFile(t)||j.isBlob(t))return t;if(j.isArrayBufferView(t))return t.buffer;if(j.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(s){if(r.indexOf("application/x-www-form-urlencoded")>-1)return sE(t,this.formSerializer).toString();if((l=j.isFileList(t))||r.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return Ao(l?{"files[]":t}:t,a&&new a,this.formSerializer)}}return s||i?(n.setContentType("application/json",!1),aE(t)):t}],transformResponse:[function(t){const n=this.transitional||Zu.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(t&&j.isString(t)&&(r&&!this.responseType||i)){const o=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(l){if(o)throw l.name==="SyntaxError"?W.from(l,W.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Et.classes.FormData,Blob:Et.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};j.forEach(["delete","get","head","post","put","patch"],e=>{Zu.headers[e]={}});const ec=Zu,uE=j.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),cE=e=>{const t={};let n,r,i;return e&&e.split(` -`).forEach(function(o){i=o.indexOf(":"),n=o.substring(0,i).trim().toLowerCase(),r=o.substring(i+1).trim(),!(!n||t[n]&&uE[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Bd=Symbol("internals");function Fr(e){return e&&String(e).trim().toLowerCase()}function Ss(e){return e===!1||e==null?e:j.isArray(e)?e.map(Ss):String(e)}function dE(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const fE=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function bl(e,t,n,r,i){if(j.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!j.isString(t)){if(j.isString(r))return t.indexOf(r)!==-1;if(j.isRegExp(r))return r.test(t)}}function pE(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function mE(e,t){const n=j.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,s,o){return this[r].call(this,t,i,s,o)},configurable:!0})})}class zo{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function s(l,a,u){const c=Fr(a);if(!c)throw new Error("header name must be a non-empty string");const d=j.findKey(i,c);(!d||i[d]===void 0||u===!0||u===void 0&&i[d]!==!1)&&(i[d||a]=Ss(l))}const o=(l,a)=>j.forEach(l,(u,c)=>s(u,c,a));return j.isPlainObject(t)||t instanceof this.constructor?o(t,n):j.isString(t)&&(t=t.trim())&&!fE(t)?o(cE(t),n):t!=null&&s(n,t,r),this}get(t,n){if(t=Fr(t),t){const r=j.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return dE(i);if(j.isFunction(n))return n.call(this,i,r);if(j.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Fr(t),t){const r=j.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||bl(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function s(o){if(o=Fr(o),o){const l=j.findKey(r,o);l&&(!n||bl(r,r[l],l,n))&&(delete r[l],i=!0)}}return j.isArray(t)?t.forEach(s):s(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const s=n[r];(!t||bl(this,this[s],s,t,!0))&&(delete this[s],i=!0)}return i}normalize(t){const n=this,r={};return j.forEach(this,(i,s)=>{const o=j.findKey(r,s);if(o){n[o]=Ss(i),delete n[s];return}const l=t?pE(s):String(s).trim();l!==s&&delete n[s],n[l]=Ss(i),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return j.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&j.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[Bd]=this[Bd]={accessors:{}}).accessors,i=this.prototype;function s(o){const l=Fr(o);r[l]||(mE(i,o),r[l]=!0)}return j.isArray(t)?t.forEach(s):s(t),this}}zo.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);j.reduceDescriptors(zo.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});j.freezeMethods(zo);const At=zo;function Pl(e,t){const n=this||ec,r=t||n,i=At.from(r.headers);let s=r.data;return j.forEach(e,function(l){s=l.call(n,s,i.normalize(),t?t.status:void 0)}),i.normalize(),s}function mh(e){return!!(e&&e.__CANCEL__)}function Oi(e,t,n){W.call(this,e??"canceled",W.ERR_CANCELED,t,n),this.name="CanceledError"}j.inherits(Oi,W,{__CANCEL__:!0});function hE(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new W("Request failed with status code "+n.status,[W.ERR_BAD_REQUEST,W.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const gE=Et.hasStandardBrowserEnv?{write(e,t,n,r,i,s){const o=[e+"="+encodeURIComponent(t)];j.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),j.isString(r)&&o.push("path="+r),j.isString(i)&&o.push("domain="+i),s===!0&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function vE(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function yE(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function hh(e,t){return e&&!vE(t)?yE(e,t):t}const wE=Et.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function i(s){let o=s;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(o){const l=j.isString(o)?i(o):o;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}();function xE(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function SE(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,s=0,o;return t=t!==void 0?t:1e3,function(a){const u=Date.now(),c=r[s];o||(o=u),n[i]=a,r[i]=u;let d=s,m=0;for(;d!==i;)m+=n[d++],d=d%e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),u-o{const s=i.loaded,o=i.lengthComputable?i.total:void 0,l=s-n,a=r(l),u=s<=o;n=s;const c={loaded:s,total:o,progress:o?s/o:void 0,bytes:l,rate:a||void 0,estimated:a&&o&&u?(o-s)/a:void 0,event:i};c[t?"download":"upload"]=!0,e(c)}}const EE=typeof XMLHttpRequest<"u",TE=EE&&function(e){return new Promise(function(n,r){let i=e.data;const s=At.from(e.headers).normalize();let{responseType:o,withXSRFToken:l}=e,a;function u(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}let c;if(j.isFormData(i)){if(Et.hasStandardBrowserEnv||Et.hasStandardBrowserWebWorkerEnv)s.setContentType(!1);else if((c=s.getContentType())!==!1){const[g,...S]=c?c.split(";").map(h=>h.trim()).filter(Boolean):[];s.setContentType([g||"multipart/form-data",...S].join("; "))}}let d=new XMLHttpRequest;if(e.auth){const g=e.auth.username||"",S=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";s.set("Authorization","Basic "+btoa(g+":"+S))}const m=hh(e.baseURL,e.url);d.open(e.method.toUpperCase(),ch(m,e.params,e.paramsSerializer),!0),d.timeout=e.timeout;function v(){if(!d)return;const g=At.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),h={data:!o||o==="text"||o==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:g,config:e,request:d};hE(function(p){n(p),u()},function(p){r(p),u()},h),d=null}if("onloadend"in d?d.onloadend=v:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(v)},d.onabort=function(){d&&(r(new W("Request aborted",W.ECONNABORTED,e,d)),d=null)},d.onerror=function(){r(new W("Network Error",W.ERR_NETWORK,e,d)),d=null},d.ontimeout=function(){let S=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const h=e.transitional||dh;e.timeoutErrorMessage&&(S=e.timeoutErrorMessage),r(new W(S,h.clarifyTimeoutError?W.ETIMEDOUT:W.ECONNABORTED,e,d)),d=null},Et.hasStandardBrowserEnv&&(l&&j.isFunction(l)&&(l=l(e)),l||l!==!1&&wE(m))){const g=e.xsrfHeaderName&&e.xsrfCookieName&&gE.read(e.xsrfCookieName);g&&s.set(e.xsrfHeaderName,g)}i===void 0&&s.setContentType(null),"setRequestHeader"in d&&j.forEach(s.toJSON(),function(S,h){d.setRequestHeader(h,S)}),j.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),o&&o!=="json"&&(d.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&d.addEventListener("progress",Ud(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",Ud(e.onUploadProgress)),(e.cancelToken||e.signal)&&(a=g=>{d&&(r(!g||g.type?new Oi(null,e,d):g),d.abort(),d=null)},e.cancelToken&&e.cancelToken.subscribe(a),e.signal&&(e.signal.aborted?a():e.signal.addEventListener("abort",a)));const y=xE(m);if(y&&Et.protocols.indexOf(y)===-1){r(new W("Unsupported protocol "+y+":",W.ERR_BAD_REQUEST,e));return}d.send(i||null)})},Ua={http:qS,xhr:TE};j.forEach(Ua,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Hd=e=>`- ${e}`,CE=e=>j.isFunction(e)||e===null||e===!1,gh={getAdapter:e=>{e=j.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let s=0;s`adapter ${l} `+(a===!1?"is not supported by the environment":"is not available in the build"));let o=t?s.length>1?`since : + `),_.disableMutationObserver=!0),document.querySelector("body").setAttribute("data-aos-easing",_.easing),document.querySelector("body").setAttribute("data-aos-duration",_.duration),document.querySelector("body").setAttribute("data-aos-delay",_.delay),_.startEvent==="DOMContentLoaded"&&["complete","interactive"].indexOf(document.readyState)>-1?P(!0):_.startEvent==="load"?window.addEventListener(_.startEvent,function(){P(!0)}):document.addEventListener(_.startEvent,function(){P(!0)}),window.addEventListener("resize",(0,d.default)(P,_.debounceDelay,!0)),window.addEventListener("orientationchange",(0,d.default)(P,_.debounceDelay,!0)),window.addEventListener("scroll",(0,u.default)(function(){(0,h.default)(C,_.once)},_.throttleDelay)),_.disableMutationObserver||v.default.ready("[data-aos]",b),C)};n.exports={init:N,refresh:P,refreshHard:b}},function(n,r){},,,,,function(n,r){(function(i){function s(L,N,M){function D(K){var ze=fe,Gt=Ae;return fe=Ae=void 0,Vt=K,le=L.apply(Gt,ze)}function H(K){return Vt=K,he=setTimeout(A,N),Wt?D(K):le}function Q(K){var ze=K-He,Gt=K-Vt,rc=N-ze;return Pt?b(rc,ye-Gt):rc}function I(K){var ze=K-He,Gt=K-Vt;return He===void 0||ze>=N||ze<0||Pt&&Gt>=ye}function A(){var K=k();return I(K)?z(K):void(he=setTimeout(A,Q(K)))}function z(K){return he=void 0,re&&fe?D(K):(fe=Ae=void 0,le)}function U(){he!==void 0&&clearTimeout(he),Vt=0,fe=He=Ae=he=void 0}function X(){return he===void 0?le:z(k())}function te(){var K=k(),ze=I(K);if(fe=arguments,Ae=this,He=K,ze){if(he===void 0)return H(He);if(Pt)return he=setTimeout(A,N),D(He)}return he===void 0&&(he=setTimeout(A,N)),le}var fe,Ae,ye,le,he,He,Vt=0,Wt=!1,Pt=!1,re=!0;if(typeof L!="function")throw new TypeError(m);return N=c(N)||0,l(M)&&(Wt=!!M.leading,Pt="maxWait"in M,ye=Pt?P(c(M.maxWait)||0,N):ye,re="trailing"in M?!!M.trailing:re),te.cancel=U,te.flush=X,te}function o(L,N,M){var D=!0,H=!0;if(typeof L!="function")throw new TypeError(m);return l(M)&&(D="leading"in M?!!M.leading:D,H="trailing"in M?!!M.trailing:H),s(L,N,{leading:D,maxWait:N,trailing:H})}function l(L){var N=typeof L>"u"?"undefined":d(L);return!!L&&(N=="object"||N=="function")}function a(L){return!!L&&(typeof L>"u"?"undefined":d(L))=="object"}function u(L){return(typeof L>"u"?"undefined":d(L))=="symbol"||a(L)&&_.call(L)==y}function c(L){if(typeof L=="number")return L;if(u(L))return v;if(l(L)){var N=typeof L.valueOf=="function"?L.valueOf():L;L=l(N)?N+"":N}if(typeof L!="string")return L===0?L:+L;L=L.replace(g,"");var M=h.test(L);return M||f.test(L)?p(L.slice(2),M?2:8):S.test(L)?v:+L}var d=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(L){return typeof L}:function(L){return L&&typeof Symbol=="function"&&L.constructor===Symbol&&L!==Symbol.prototype?"symbol":typeof L},m="Expected a function",v=NaN,y="[object Symbol]",g=/^\s+|\s+$/g,S=/^[-+]0x[0-9a-f]+$/i,h=/^0b[01]+$/i,f=/^0o[0-7]+$/i,p=parseInt,w=(typeof i>"u"?"undefined":d(i))=="object"&&i&&i.Object===Object&&i,T=(typeof self>"u"?"undefined":d(self))=="object"&&self&&self.Object===Object&&self,C=w||T||Function("return this")(),O=Object.prototype,_=O.toString,P=Math.max,b=Math.min,k=function(){return C.Date.now()};n.exports=o}).call(r,function(){return this}())},function(n,r){(function(i){function s(k,L,N){function M(re){var K=te,ze=fe;return te=fe=void 0,He=re,ye=k.apply(ze,K)}function D(re){return He=re,le=setTimeout(I,L),Vt?M(re):ye}function H(re){var K=re-he,ze=re-He,Gt=L-K;return Wt?P(Gt,Ae-ze):Gt}function Q(re){var K=re-he,ze=re-He;return he===void 0||K>=L||K<0||Wt&&ze>=Ae}function I(){var re=b();return Q(re)?A(re):void(le=setTimeout(I,H(re)))}function A(re){return le=void 0,Pt&&te?M(re):(te=fe=void 0,ye)}function z(){le!==void 0&&clearTimeout(le),He=0,te=he=fe=le=void 0}function U(){return le===void 0?ye:A(b())}function X(){var re=b(),K=Q(re);if(te=arguments,fe=this,he=re,K){if(le===void 0)return D(he);if(Wt)return le=setTimeout(I,L),M(he)}return le===void 0&&(le=setTimeout(I,L)),ye}var te,fe,Ae,ye,le,he,He=0,Vt=!1,Wt=!1,Pt=!0;if(typeof k!="function")throw new TypeError(d);return L=u(L)||0,o(N)&&(Vt=!!N.leading,Wt="maxWait"in N,Ae=Wt?_(u(N.maxWait)||0,L):Ae,Pt="trailing"in N?!!N.trailing:Pt),X.cancel=z,X.flush=U,X}function o(k){var L=typeof k>"u"?"undefined":c(k);return!!k&&(L=="object"||L=="function")}function l(k){return!!k&&(typeof k>"u"?"undefined":c(k))=="object"}function a(k){return(typeof k>"u"?"undefined":c(k))=="symbol"||l(k)&&O.call(k)==v}function u(k){if(typeof k=="number")return k;if(a(k))return m;if(o(k)){var L=typeof k.valueOf=="function"?k.valueOf():k;k=o(L)?L+"":L}if(typeof k!="string")return k===0?k:+k;k=k.replace(y,"");var N=S.test(k);return N||h.test(k)?f(k.slice(2),N?2:8):g.test(k)?m:+k}var c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(k){return typeof k}:function(k){return k&&typeof Symbol=="function"&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k},d="Expected a function",m=NaN,v="[object Symbol]",y=/^\s+|\s+$/g,g=/^[-+]0x[0-9a-f]+$/i,S=/^0b[01]+$/i,h=/^0o[0-7]+$/i,f=parseInt,p=(typeof i>"u"?"undefined":c(i))=="object"&&i&&i.Object===Object&&i,w=(typeof self>"u"?"undefined":c(self))=="object"&&self&&self.Object===Object&&self,T=p||w||Function("return this")(),C=Object.prototype,O=C.toString,_=Math.max,P=Math.min,b=function(){return T.Date.now()};n.exports=s}).call(r,function(){return this}())},function(n,r){function i(c){var d=void 0,m=void 0;for(d=0;do.position?o.node.classList.add("aos-animate"):typeof u<"u"&&(u==="false"||!a&&u!=="true")&&o.node.classList.remove("aos-animate")},s=function(o,l){var a=window.pageYOffset,u=window.innerHeight;o.forEach(function(c,d){i(c,u+a,l)})};r.default=s},function(n,r,i){function s(u){return u&&u.__esModule?u:{default:u}}Object.defineProperty(r,"__esModule",{value:!0});var o=i(12),l=s(o),a=function(u,c){return u.forEach(function(d,m){d.node.classList.add("aos-init"),d.position=(0,l.default)(d.node,c.offset)}),u};r.default=a},function(n,r,i){function s(u){return u&&u.__esModule?u:{default:u}}Object.defineProperty(r,"__esModule",{value:!0});var o=i(13),l=s(o),a=function(u,c){var d=0,m=0,v=window.innerHeight,y={offset:u.getAttribute("data-aos-offset"),anchor:u.getAttribute("data-aos-anchor"),anchorPlacement:u.getAttribute("data-aos-anchor-placement")};switch(y.offset&&!isNaN(y.offset)&&(m=parseInt(y.offset)),y.anchor&&document.querySelectorAll(y.anchor)&&(u=document.querySelectorAll(y.anchor)[0]),d=(0,l.default)(u).top,y.anchorPlacement){case"top-bottom":break;case"center-bottom":d+=u.offsetHeight/2;break;case"bottom-bottom":d+=u.offsetHeight;break;case"top-center":d+=v/2;break;case"bottom-center":d+=v/2+u.offsetHeight;break;case"center-center":d+=v/2+u.offsetHeight/2;break;case"top-top":d+=v;break;case"bottom-top":d+=u.offsetHeight+v;break;case"center-top":d+=u.offsetHeight/2+v}return y.anchorPlacement||y.offset||isNaN(c)||(m=c),d+m};r.default=a},function(n,r){Object.defineProperty(r,"__esModule",{value:!0});var i=function(s){for(var o=0,l=0;s&&!isNaN(s.offsetLeft)&&!isNaN(s.offsetTop);)o+=s.offsetLeft-(s.tagName!="BODY"?s.scrollLeft:0),l+=s.offsetTop-(s.tagName!="BODY"?s.scrollTop:0),s=s.offsetParent;return{top:l,left:o}};r.default=i},function(n,r){Object.defineProperty(r,"__esModule",{value:!0});var i=function(s){return s=s||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(s,function(o){return{node:o}})};r.default=i}])})})(Qm);var fS=Qm.exports;const pS=Xd(fS);function Jm(e,t){return function(){return e.apply(t,arguments)}}const{toString:mS}=Object.prototype,{getPrototypeOf:Qu}=Object,Io=(e=>t=>{const n=mS.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),bt=e=>(e=e.toLowerCase(),t=>Io(t)===e),Mo=e=>t=>typeof t===e,{isArray:Lr}=Array,Ei=Mo("undefined");function hS(e){return e!==null&&!Ei(e)&&e.constructor!==null&&!Ei(e.constructor)&&ot(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Zm=bt("ArrayBuffer");function gS(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Zm(e.buffer),t}const vS=Mo("string"),ot=Mo("function"),eh=Mo("number"),Ro=e=>e!==null&&typeof e=="object",yS=e=>e===!0||e===!1,xs=e=>{if(Io(e)!=="object")return!1;const t=Qu(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},wS=bt("Date"),xS=bt("File"),SS=bt("Blob"),ES=bt("FileList"),TS=e=>Ro(e)&&ot(e.pipe),CS=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ot(e.append)&&((t=Io(e))==="formdata"||t==="object"&&ot(e.toString)&&e.toString()==="[object FormData]"))},kS=bt("URLSearchParams"),bS=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ni(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),Lr(e))for(r=0,i=e.length;r0;)if(i=n[r],t===i.toLowerCase())return i;return null}const nh=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,rh=e=>!Ei(e)&&e!==nh;function Fa(){const{caseless:e}=rh(this)&&this||{},t={},n=(r,i)=>{const s=e&&th(t,i)||i;xs(t[s])&&xs(r)?t[s]=Fa(t[s],r):xs(r)?t[s]=Fa({},r):Lr(r)?t[s]=r.slice():t[s]=r};for(let r=0,i=arguments.length;r(Ni(t,(i,s)=>{n&&ot(i)?e[s]=Jm(i,n):e[s]=i},{allOwnKeys:r}),e),_S=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),LS=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},NS=(e,t,n,r)=>{let i,s,o;const l={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),s=i.length;s-- >0;)o=i[s],(!r||r(o,e,t))&&!l[o]&&(t[o]=e[o],l[o]=!0);e=n!==!1&&Qu(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},OS=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},jS=e=>{if(!e)return null;if(Lr(e))return e;let t=e.length;if(!eh(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},IS=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Qu(Uint8Array)),MS=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const s=i.value;t.call(e,s[0],s[1])}},RS=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},AS=bt("HTMLFormElement"),zS=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),Ad=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),$S=bt("RegExp"),ih=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Ni(n,(i,s)=>{let o;(o=t(i,s,e))!==!1&&(r[s]=o||i)}),Object.defineProperties(e,r)},DS=e=>{ih(e,(t,n)=>{if(ot(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(ot(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},FS=(e,t)=>{const n={},r=i=>{i.forEach(s=>{n[s]=!0})};return Lr(e)?r(e):r(String(e).split(t)),n},BS=()=>{},US=(e,t)=>(e=+e,Number.isFinite(e)?e:t),kl="abcdefghijklmnopqrstuvwxyz",zd="0123456789",sh={DIGIT:zd,ALPHA:kl,ALPHA_DIGIT:kl+kl.toUpperCase()+zd},HS=(e=16,t=sh.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function VS(e){return!!(e&&ot(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const WS=e=>{const t=new Array(10),n=(r,i)=>{if(Ro(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const s=Lr(r)?[]:{};return Ni(r,(o,l)=>{const a=n(o,i+1);!Ei(a)&&(s[l]=a)}),t[i]=void 0,s}}return r};return n(e,0)},GS=bt("AsyncFunction"),qS=e=>e&&(Ro(e)||ot(e))&&ot(e.then)&&ot(e.catch),j={isArray:Lr,isArrayBuffer:Zm,isBuffer:hS,isFormData:CS,isArrayBufferView:gS,isString:vS,isNumber:eh,isBoolean:yS,isObject:Ro,isPlainObject:xs,isUndefined:Ei,isDate:wS,isFile:xS,isBlob:SS,isRegExp:$S,isFunction:ot,isStream:TS,isURLSearchParams:kS,isTypedArray:IS,isFileList:ES,forEach:Ni,merge:Fa,extend:PS,trim:bS,stripBOM:_S,inherits:LS,toFlatObject:NS,kindOf:Io,kindOfTest:bt,endsWith:OS,toArray:jS,forEachEntry:MS,matchAll:RS,isHTMLForm:AS,hasOwnProperty:Ad,hasOwnProp:Ad,reduceDescriptors:ih,freezeMethods:DS,toObjectSet:FS,toCamelCase:zS,noop:BS,toFiniteNumber:US,findKey:th,global:nh,isContextDefined:rh,ALPHABET:sh,generateString:HS,isSpecCompliantForm:VS,toJSONObject:WS,isAsyncFn:GS,isThenable:qS};function W(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}j.inherits(W,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:j.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const oh=W.prototype,lh={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{lh[e]={value:e}});Object.defineProperties(W,lh);Object.defineProperty(oh,"isAxiosError",{value:!0});W.from=(e,t,n,r,i,s)=>{const o=Object.create(oh);return j.toFlatObject(e,o,function(a){return a!==Error.prototype},l=>l!=="isAxiosError"),W.call(o,e.message,t,n,r,i),o.cause=e,o.name=e.name,s&&Object.assign(o,s),o};const XS=null;function Ba(e){return j.isPlainObject(e)||j.isArray(e)}function ah(e){return j.endsWith(e,"[]")?e.slice(0,-2):e}function $d(e,t,n){return e?e.concat(t).map(function(i,s){return i=ah(i),!n&&s?"["+i+"]":i}).join(n?".":""):t}function YS(e){return j.isArray(e)&&!e.some(Ba)}const KS=j.toFlatObject(j,{},null,function(t){return/^is[A-Z]/.test(t)});function Ao(e,t,n){if(!j.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=j.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,S){return!j.isUndefined(S[g])});const r=n.metaTokens,i=n.visitor||c,s=n.dots,o=n.indexes,a=(n.Blob||typeof Blob<"u"&&Blob)&&j.isSpecCompliantForm(t);if(!j.isFunction(i))throw new TypeError("visitor must be a function");function u(y){if(y===null)return"";if(j.isDate(y))return y.toISOString();if(!a&&j.isBlob(y))throw new W("Blob is not supported. Use a Buffer instead.");return j.isArrayBuffer(y)||j.isTypedArray(y)?a&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function c(y,g,S){let h=y;if(y&&!S&&typeof y=="object"){if(j.endsWith(g,"{}"))g=r?g:g.slice(0,-2),y=JSON.stringify(y);else if(j.isArray(y)&&YS(y)||(j.isFileList(y)||j.endsWith(g,"[]"))&&(h=j.toArray(y)))return g=ah(g),h.forEach(function(p,w){!(j.isUndefined(p)||p===null)&&t.append(o===!0?$d([g],w,s):o===null?g:g+"[]",u(p))}),!1}return Ba(y)?!0:(t.append($d(S,g,s),u(y)),!1)}const d=[],m=Object.assign(KS,{defaultVisitor:c,convertValue:u,isVisitable:Ba});function v(y,g){if(!j.isUndefined(y)){if(d.indexOf(y)!==-1)throw Error("Circular reference detected in "+g.join("."));d.push(y),j.forEach(y,function(h,f){(!(j.isUndefined(h)||h===null)&&i.call(t,h,j.isString(f)?f.trim():f,g,m))===!0&&v(h,g?g.concat(f):[f])}),d.pop()}}if(!j.isObject(e))throw new TypeError("data must be an object");return v(e),t}function Dd(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Ju(e,t){this._pairs=[],e&&Ao(e,this,t)}const uh=Ju.prototype;uh.append=function(t,n){this._pairs.push([t,n])};uh.toString=function(t){const n=t?function(r){return t.call(this,r,Dd)}:Dd;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function QS(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ch(e,t,n){if(!t)return e;const r=n&&n.encode||QS,i=n&&n.serialize;let s;if(i?s=i(t,n):s=j.isURLSearchParams(t)?t.toString():new Ju(t,n).toString(r),s){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class JS{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){j.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Fd=JS,dh={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ZS=typeof URLSearchParams<"u"?URLSearchParams:Ju,eE=typeof FormData<"u"?FormData:null,tE=typeof Blob<"u"?Blob:null,nE={isBrowser:!0,classes:{URLSearchParams:ZS,FormData:eE,Blob:tE},protocols:["http","https","file","blob","url","data"]},fh=typeof window<"u"&&typeof document<"u",rE=(e=>fh&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),iE=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",sE=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:fh,hasStandardBrowserEnv:rE,hasStandardBrowserWebWorkerEnv:iE},Symbol.toStringTag,{value:"Module"})),Et={...sE,...nE};function oE(e,t){return Ao(e,new Et.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,s){return Et.isNode&&j.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function lE(e){return j.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function aE(e){const t={},n=Object.keys(e);let r;const i=n.length;let s;for(r=0;r=n.length;return o=!o&&j.isArray(i)?i.length:o,a?(j.hasOwnProp(i,o)?i[o]=[i[o],r]:i[o]=r,!l):((!i[o]||!j.isObject(i[o]))&&(i[o]=[]),t(n,r,i[o],s)&&j.isArray(i[o])&&(i[o]=aE(i[o])),!l)}if(j.isFormData(e)&&j.isFunction(e.entries)){const n={};return j.forEachEntry(e,(r,i)=>{t(lE(r),i,n,0)}),n}return null}function uE(e,t,n){if(j.isString(e))try{return(t||JSON.parse)(e),j.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Zu={transitional:dh,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,s=j.isObject(t);if(s&&j.isHTMLForm(t)&&(t=new FormData(t)),j.isFormData(t))return i&&i?JSON.stringify(ph(t)):t;if(j.isArrayBuffer(t)||j.isBuffer(t)||j.isStream(t)||j.isFile(t)||j.isBlob(t))return t;if(j.isArrayBufferView(t))return t.buffer;if(j.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(s){if(r.indexOf("application/x-www-form-urlencoded")>-1)return oE(t,this.formSerializer).toString();if((l=j.isFileList(t))||r.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return Ao(l?{"files[]":t}:t,a&&new a,this.formSerializer)}}return s||i?(n.setContentType("application/json",!1),uE(t)):t}],transformResponse:[function(t){const n=this.transitional||Zu.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(t&&j.isString(t)&&(r&&!this.responseType||i)){const o=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(l){if(o)throw l.name==="SyntaxError"?W.from(l,W.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Et.classes.FormData,Blob:Et.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};j.forEach(["delete","get","head","post","put","patch"],e=>{Zu.headers[e]={}});const ec=Zu,cE=j.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),dE=e=>{const t={};let n,r,i;return e&&e.split(` +`).forEach(function(o){i=o.indexOf(":"),n=o.substring(0,i).trim().toLowerCase(),r=o.substring(i+1).trim(),!(!n||t[n]&&cE[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Bd=Symbol("internals");function Fr(e){return e&&String(e).trim().toLowerCase()}function Ss(e){return e===!1||e==null?e:j.isArray(e)?e.map(Ss):String(e)}function fE(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const pE=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function bl(e,t,n,r,i){if(j.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!j.isString(t)){if(j.isString(r))return t.indexOf(r)!==-1;if(j.isRegExp(r))return r.test(t)}}function mE(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function hE(e,t){const n=j.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,s,o){return this[r].call(this,t,i,s,o)},configurable:!0})})}class zo{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function s(l,a,u){const c=Fr(a);if(!c)throw new Error("header name must be a non-empty string");const d=j.findKey(i,c);(!d||i[d]===void 0||u===!0||u===void 0&&i[d]!==!1)&&(i[d||a]=Ss(l))}const o=(l,a)=>j.forEach(l,(u,c)=>s(u,c,a));return j.isPlainObject(t)||t instanceof this.constructor?o(t,n):j.isString(t)&&(t=t.trim())&&!pE(t)?o(dE(t),n):t!=null&&s(n,t,r),this}get(t,n){if(t=Fr(t),t){const r=j.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return fE(i);if(j.isFunction(n))return n.call(this,i,r);if(j.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Fr(t),t){const r=j.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||bl(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function s(o){if(o=Fr(o),o){const l=j.findKey(r,o);l&&(!n||bl(r,r[l],l,n))&&(delete r[l],i=!0)}}return j.isArray(t)?t.forEach(s):s(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const s=n[r];(!t||bl(this,this[s],s,t,!0))&&(delete this[s],i=!0)}return i}normalize(t){const n=this,r={};return j.forEach(this,(i,s)=>{const o=j.findKey(r,s);if(o){n[o]=Ss(i),delete n[s];return}const l=t?mE(s):String(s).trim();l!==s&&delete n[s],n[l]=Ss(i),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return j.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&j.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[Bd]=this[Bd]={accessors:{}}).accessors,i=this.prototype;function s(o){const l=Fr(o);r[l]||(hE(i,o),r[l]=!0)}return j.isArray(t)?t.forEach(s):s(t),this}}zo.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);j.reduceDescriptors(zo.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});j.freezeMethods(zo);const At=zo;function Pl(e,t){const n=this||ec,r=t||n,i=At.from(r.headers);let s=r.data;return j.forEach(e,function(l){s=l.call(n,s,i.normalize(),t?t.status:void 0)}),i.normalize(),s}function mh(e){return!!(e&&e.__CANCEL__)}function Oi(e,t,n){W.call(this,e??"canceled",W.ERR_CANCELED,t,n),this.name="CanceledError"}j.inherits(Oi,W,{__CANCEL__:!0});function gE(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new W("Request failed with status code "+n.status,[W.ERR_BAD_REQUEST,W.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const vE=Et.hasStandardBrowserEnv?{write(e,t,n,r,i,s){const o=[e+"="+encodeURIComponent(t)];j.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),j.isString(r)&&o.push("path="+r),j.isString(i)&&o.push("domain="+i),s===!0&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function yE(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function wE(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function hh(e,t){return e&&!yE(t)?wE(e,t):t}const xE=Et.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function i(s){let o=s;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(o){const l=j.isString(o)?i(o):o;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}();function SE(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function EE(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,s=0,o;return t=t!==void 0?t:1e3,function(a){const u=Date.now(),c=r[s];o||(o=u),n[i]=a,r[i]=u;let d=s,m=0;for(;d!==i;)m+=n[d++],d=d%e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),u-o{const s=i.loaded,o=i.lengthComputable?i.total:void 0,l=s-n,a=r(l),u=s<=o;n=s;const c={loaded:s,total:o,progress:o?s/o:void 0,bytes:l,rate:a||void 0,estimated:a&&o&&u?(o-s)/a:void 0,event:i};c[t?"download":"upload"]=!0,e(c)}}const TE=typeof XMLHttpRequest<"u",CE=TE&&function(e){return new Promise(function(n,r){let i=e.data;const s=At.from(e.headers).normalize();let{responseType:o,withXSRFToken:l}=e,a;function u(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}let c;if(j.isFormData(i)){if(Et.hasStandardBrowserEnv||Et.hasStandardBrowserWebWorkerEnv)s.setContentType(!1);else if((c=s.getContentType())!==!1){const[g,...S]=c?c.split(";").map(h=>h.trim()).filter(Boolean):[];s.setContentType([g||"multipart/form-data",...S].join("; "))}}let d=new XMLHttpRequest;if(e.auth){const g=e.auth.username||"",S=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";s.set("Authorization","Basic "+btoa(g+":"+S))}const m=hh(e.baseURL,e.url);d.open(e.method.toUpperCase(),ch(m,e.params,e.paramsSerializer),!0),d.timeout=e.timeout;function v(){if(!d)return;const g=At.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),h={data:!o||o==="text"||o==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:g,config:e,request:d};gE(function(p){n(p),u()},function(p){r(p),u()},h),d=null}if("onloadend"in d?d.onloadend=v:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(v)},d.onabort=function(){d&&(r(new W("Request aborted",W.ECONNABORTED,e,d)),d=null)},d.onerror=function(){r(new W("Network Error",W.ERR_NETWORK,e,d)),d=null},d.ontimeout=function(){let S=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const h=e.transitional||dh;e.timeoutErrorMessage&&(S=e.timeoutErrorMessage),r(new W(S,h.clarifyTimeoutError?W.ETIMEDOUT:W.ECONNABORTED,e,d)),d=null},Et.hasStandardBrowserEnv&&(l&&j.isFunction(l)&&(l=l(e)),l||l!==!1&&xE(m))){const g=e.xsrfHeaderName&&e.xsrfCookieName&&vE.read(e.xsrfCookieName);g&&s.set(e.xsrfHeaderName,g)}i===void 0&&s.setContentType(null),"setRequestHeader"in d&&j.forEach(s.toJSON(),function(S,h){d.setRequestHeader(h,S)}),j.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),o&&o!=="json"&&(d.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&d.addEventListener("progress",Ud(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",Ud(e.onUploadProgress)),(e.cancelToken||e.signal)&&(a=g=>{d&&(r(!g||g.type?new Oi(null,e,d):g),d.abort(),d=null)},e.cancelToken&&e.cancelToken.subscribe(a),e.signal&&(e.signal.aborted?a():e.signal.addEventListener("abort",a)));const y=SE(m);if(y&&Et.protocols.indexOf(y)===-1){r(new W("Unsupported protocol "+y+":",W.ERR_BAD_REQUEST,e));return}d.send(i||null)})},Ua={http:XS,xhr:CE};j.forEach(Ua,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Hd=e=>`- ${e}`,kE=e=>j.isFunction(e)||e===null||e===!1,gh={getAdapter:e=>{e=j.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let s=0;s`adapter ${l} `+(a===!1?"is not supported by the environment":"is not available in the build"));let o=t?s.length>1?`since : `+s.map(Hd).join(` -`):" "+Hd(s[0]):"as no adapter specified";throw new W("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return r},adapters:Ua};function _l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Oi(null,e)}function Vd(e){return _l(e),e.headers=At.from(e.headers),e.data=Pl.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),gh.getAdapter(e.adapter||ec.adapter)(e).then(function(r){return _l(e),r.data=Pl.call(e,e.transformResponse,r),r.headers=At.from(r.headers),r},function(r){return mh(r)||(_l(e),r&&r.response&&(r.response.data=Pl.call(e,e.transformResponse,r.response),r.response.headers=At.from(r.response.headers))),Promise.reject(r)})}const Wd=e=>e instanceof At?e.toJSON():e;function xr(e,t){t=t||{};const n={};function r(u,c,d){return j.isPlainObject(u)&&j.isPlainObject(c)?j.merge.call({caseless:d},u,c):j.isPlainObject(c)?j.merge({},c):j.isArray(c)?c.slice():c}function i(u,c,d){if(j.isUndefined(c)){if(!j.isUndefined(u))return r(void 0,u,d)}else return r(u,c,d)}function s(u,c){if(!j.isUndefined(c))return r(void 0,c)}function o(u,c){if(j.isUndefined(c)){if(!j.isUndefined(u))return r(void 0,u)}else return r(void 0,c)}function l(u,c,d){if(d in t)return r(u,c);if(d in e)return r(void 0,u)}const a={url:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:l,headers:(u,c)=>i(Wd(u),Wd(c),!0)};return j.forEach(Object.keys(Object.assign({},e,t)),function(c){const d=a[c]||i,m=d(e[c],t[c],c);j.isUndefined(m)&&d!==l||(n[c]=m)}),n}const vh="1.6.2",tc={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{tc[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Gd={};tc.transitional=function(t,n,r){function i(s,o){return"[Axios v"+vh+"] Transitional option '"+s+"'"+o+(r?". "+r:"")}return(s,o,l)=>{if(t===!1)throw new W(i(o," has been removed"+(n?" in "+n:"")),W.ERR_DEPRECATED);return n&&!Gd[o]&&(Gd[o]=!0,console.warn(i(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,o,l):!0}};function kE(e,t,n){if(typeof e!="object")throw new W("options must be an object",W.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const s=r[i],o=t[s];if(o){const l=e[s],a=l===void 0||o(l,s,e);if(a!==!0)throw new W("option "+s+" must be "+a,W.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new W("Unknown option "+s,W.ERR_BAD_OPTION)}}const Ha={assertOptions:kE,validators:tc},Yt=Ha.validators;class so{constructor(t){this.defaults=t,this.interceptors={request:new Fd,response:new Fd}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=xr(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:s}=n;r!==void 0&&Ha.assertOptions(r,{silentJSONParsing:Yt.transitional(Yt.boolean),forcedJSONParsing:Yt.transitional(Yt.boolean),clarifyTimeoutError:Yt.transitional(Yt.boolean)},!1),i!=null&&(j.isFunction(i)?n.paramsSerializer={serialize:i}:Ha.assertOptions(i,{encode:Yt.function,serialize:Yt.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=s&&j.merge(s.common,s[n.method]);s&&j.forEach(["delete","get","head","post","put","patch","common"],y=>{delete s[y]}),n.headers=At.concat(o,s);const l=[];let a=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(a=a&&g.synchronous,l.unshift(g.fulfilled,g.rejected))});const u=[];this.interceptors.response.forEach(function(g){u.push(g.fulfilled,g.rejected)});let c,d=0,m;if(!a){const y=[Vd.bind(this),void 0];for(y.unshift.apply(y,l),y.push.apply(y,u),m=y.length,c=Promise.resolve(n);d{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](i);r._listeners=null}),this.promise.then=i=>{let s;const o=new Promise(l=>{r.subscribe(l),s=l}).then(i);return o.cancel=function(){r.unsubscribe(s)},o},t(function(s,o,l){r.reason||(r.reason=new Oi(s,o,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new nc(function(i){t=i}),cancel:t}}}const bE=nc;function PE(e){return function(n){return e.apply(null,n)}}function _E(e){return j.isObject(e)&&e.isAxiosError===!0}const Va={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Va).forEach(([e,t])=>{Va[t]=e});const LE=Va;function yh(e){const t=new Es(e),n=Jm(Es.prototype.request,t);return j.extend(n,Es.prototype,t,{allOwnKeys:!0}),j.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return yh(xr(e,i))},n}const me=yh(ec);me.Axios=Es;me.CanceledError=Oi;me.CancelToken=bE;me.isCancel=mh;me.VERSION=vh;me.toFormData=Ao;me.AxiosError=W;me.Cancel=me.CanceledError;me.all=function(t){return Promise.all(t)};me.spread=PE;me.isAxiosError=_E;me.mergeConfig=xr;me.AxiosHeaders=At;me.formToJSON=e=>ph(j.isHTMLForm(e)?new FormData(e):e);me.getAdapter=gh.getAdapter;me.HttpStatusCode=LE;me.default=me;const NE=me,OE="http://localhost:3000/api/v1",jE="http://hog099.github.io/portifolio-fest-lp-front";function IE(e=void 0){const t=NE.create({baseURL:OE,headers:{"Content-Type":"application/json"},timeout:1e4});return t.interceptors.request.use(async n=>{const r=await window.localStorage.getItem("@access_token");return r&&(n.headers.Authorization=`Bearer ${r}`),n},n=>Promise.reject(n)),t.interceptors.response.use(n=>n,async n=>{const r=n.config;n.response.status===500&&alert("Servidor não encontrado");const i=await window.localStorage.getItem("@refresh_token");return(n.response.status===401||n.response.data.code=="token.expired")&&i&&!r._retry?(r._retry=!0,t.post("/refresh-token",{refresh:i}).then(s=>{const{token:o}=s.data;return r._retry=!0,t.defaults.headers.common.Authorization="Bearer "+o,r.headers.Authorization="Bearer "+o,t(r)}).catch(s=>{window.localStorage.removeItem("@access_token"),window.localStorage.removeItem("@refresh_token"),window.location.replace(jE+"/")})):Promise.reject(n)}),t}const ME=IE();function Wa(e){this.message=e}Wa.prototype=new Error,Wa.prototype.name="InvalidCharacterError";typeof window<"u"&&window.atob&&window.atob.bind(window);function qd(e){this.message=e}qd.prototype=new Error,qd.prototype.name="InvalidTokenError";const Ll=(e,t)=>{e?(window.localStorage.setItem("@access_token",e),t&&window.localStorage.setItem("@refresh_token",t)):(window.localStorage.removeItem("@access_token"),window.localStorage.removeItem("@refresh_token"))},RE=()=>{const e=window.localStorage.getItem("@access_token");return e||!1},AE=()=>{const e=window.localStorage.getItem("@user");return JSON.parse(e)},Nl=e=>{e?window.localStorage.setItem("@user",JSON.stringify(e)):window.localStorage.removeItem("@user")},zE=["/","/login"],$E=F.createContext({});function DE({children:e}){const t=vm(),n=kr(),[r,i]=F.useState(null),[s,o]=F.useState(!0);E.useEffect(()=>{(async()=>{const c=n.pathname,d=await RE();!d&&!zE.includes(c)&&t(et==null?void 0:et.index);const m=AE();d&&m&&(i(m),Nl(m),c=="/"&&t(et==null?void 0:et.index))})()},[]);const l=async(u,c)=>{var d,m,v;try{if(!u||!c)return;o(!0),Ll(null);const y=await ME.post("/sign-in",{email:u,password:c}),{user:g,token:S,refreshToken:h}=y.data;return await Ll(S,h),setTimeout(async()=>{i(g),Nl(g)},1e3),o(!1),g}catch(y){return o(!1),(d=y==null?void 0:y.response)!=null&&d.data?(((m=y==null?void 0:y.response.data)==null?void 0:m.name)=="InvalidCredentialsError"&&Cl("Credenciais inválidas."),((v=y==null?void 0:y.response.data)==null?void 0:v.name)=="registerIsNotActiveError"&&Cl("Usuário não está ativo para acesso.")):Cl("Falha ao realizar login, tente novamente."),!1}},a=async()=>{try{t(et==null?void 0:et.index),Ll(null),i(null),Nl(null)}catch{}};return x.jsx($E.Provider,{value:{loading:s,user:r,signInRequest:l,signOut:a},children:e})}const FE=()=>(E.useEffect(()=>{fS.init({easing:"ease-out-cubic",once:!0,offset:50})},[]),x.jsx(F0,{children:x.jsx(DE,{children:x.jsxs(c1,{children:[x.jsx(cS,{}),x.jsx(xx,{})]})})}));jl.createRoot(document.getElementById("root")).render(x.jsx(F.StrictMode,{children:x.jsx(FE,{})})); +`):" "+Hd(s[0]):"as no adapter specified";throw new W("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return r},adapters:Ua};function _l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Oi(null,e)}function Vd(e){return _l(e),e.headers=At.from(e.headers),e.data=Pl.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),gh.getAdapter(e.adapter||ec.adapter)(e).then(function(r){return _l(e),r.data=Pl.call(e,e.transformResponse,r),r.headers=At.from(r.headers),r},function(r){return mh(r)||(_l(e),r&&r.response&&(r.response.data=Pl.call(e,e.transformResponse,r.response),r.response.headers=At.from(r.response.headers))),Promise.reject(r)})}const Wd=e=>e instanceof At?e.toJSON():e;function xr(e,t){t=t||{};const n={};function r(u,c,d){return j.isPlainObject(u)&&j.isPlainObject(c)?j.merge.call({caseless:d},u,c):j.isPlainObject(c)?j.merge({},c):j.isArray(c)?c.slice():c}function i(u,c,d){if(j.isUndefined(c)){if(!j.isUndefined(u))return r(void 0,u,d)}else return r(u,c,d)}function s(u,c){if(!j.isUndefined(c))return r(void 0,c)}function o(u,c){if(j.isUndefined(c)){if(!j.isUndefined(u))return r(void 0,u)}else return r(void 0,c)}function l(u,c,d){if(d in t)return r(u,c);if(d in e)return r(void 0,u)}const a={url:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:l,headers:(u,c)=>i(Wd(u),Wd(c),!0)};return j.forEach(Object.keys(Object.assign({},e,t)),function(c){const d=a[c]||i,m=d(e[c],t[c],c);j.isUndefined(m)&&d!==l||(n[c]=m)}),n}const vh="1.6.2",tc={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{tc[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Gd={};tc.transitional=function(t,n,r){function i(s,o){return"[Axios v"+vh+"] Transitional option '"+s+"'"+o+(r?". "+r:"")}return(s,o,l)=>{if(t===!1)throw new W(i(o," has been removed"+(n?" in "+n:"")),W.ERR_DEPRECATED);return n&&!Gd[o]&&(Gd[o]=!0,console.warn(i(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,o,l):!0}};function bE(e,t,n){if(typeof e!="object")throw new W("options must be an object",W.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const s=r[i],o=t[s];if(o){const l=e[s],a=l===void 0||o(l,s,e);if(a!==!0)throw new W("option "+s+" must be "+a,W.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new W("Unknown option "+s,W.ERR_BAD_OPTION)}}const Ha={assertOptions:bE,validators:tc},Yt=Ha.validators;class so{constructor(t){this.defaults=t,this.interceptors={request:new Fd,response:new Fd}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=xr(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:s}=n;r!==void 0&&Ha.assertOptions(r,{silentJSONParsing:Yt.transitional(Yt.boolean),forcedJSONParsing:Yt.transitional(Yt.boolean),clarifyTimeoutError:Yt.transitional(Yt.boolean)},!1),i!=null&&(j.isFunction(i)?n.paramsSerializer={serialize:i}:Ha.assertOptions(i,{encode:Yt.function,serialize:Yt.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=s&&j.merge(s.common,s[n.method]);s&&j.forEach(["delete","get","head","post","put","patch","common"],y=>{delete s[y]}),n.headers=At.concat(o,s);const l=[];let a=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(a=a&&g.synchronous,l.unshift(g.fulfilled,g.rejected))});const u=[];this.interceptors.response.forEach(function(g){u.push(g.fulfilled,g.rejected)});let c,d=0,m;if(!a){const y=[Vd.bind(this),void 0];for(y.unshift.apply(y,l),y.push.apply(y,u),m=y.length,c=Promise.resolve(n);d{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](i);r._listeners=null}),this.promise.then=i=>{let s;const o=new Promise(l=>{r.subscribe(l),s=l}).then(i);return o.cancel=function(){r.unsubscribe(s)},o},t(function(s,o,l){r.reason||(r.reason=new Oi(s,o,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new nc(function(i){t=i}),cancel:t}}}const PE=nc;function _E(e){return function(n){return e.apply(null,n)}}function LE(e){return j.isObject(e)&&e.isAxiosError===!0}const Va={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Va).forEach(([e,t])=>{Va[t]=e});const NE=Va;function yh(e){const t=new Es(e),n=Jm(Es.prototype.request,t);return j.extend(n,Es.prototype,t,{allOwnKeys:!0}),j.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return yh(xr(e,i))},n}const me=yh(ec);me.Axios=Es;me.CanceledError=Oi;me.CancelToken=PE;me.isCancel=mh;me.VERSION=vh;me.toFormData=Ao;me.AxiosError=W;me.Cancel=me.CanceledError;me.all=function(t){return Promise.all(t)};me.spread=_E;me.isAxiosError=LE;me.mergeConfig=xr;me.AxiosHeaders=At;me.formToJSON=e=>ph(j.isHTMLForm(e)?new FormData(e):e);me.getAdapter=gh.getAdapter;me.HttpStatusCode=NE;me.default=me;const OE=me,jE="http://localhost:3000/api/v1",IE="http://hog099.github.io/portifolio-fest-lp-front";function ME(e=void 0){const t=OE.create({baseURL:jE,headers:{"Content-Type":"application/json"},timeout:1e4});return t.interceptors.request.use(async n=>{const r=await window.localStorage.getItem("@access_token");return r&&(n.headers.Authorization=`Bearer ${r}`),n},n=>Promise.reject(n)),t.interceptors.response.use(n=>n,async n=>{const r=n.config;n.response.status===500&&alert("Servidor não encontrado");const i=await window.localStorage.getItem("@refresh_token");return(n.response.status===401||n.response.data.code=="token.expired")&&i&&!r._retry?(r._retry=!0,t.post("/refresh-token",{refresh:i}).then(s=>{const{token:o}=s.data;return r._retry=!0,t.defaults.headers.common.Authorization="Bearer "+o,r.headers.Authorization="Bearer "+o,t(r)}).catch(s=>{window.localStorage.removeItem("@access_token"),window.localStorage.removeItem("@refresh_token"),window.location.replace(IE+"/")})):Promise.reject(n)}),t}const RE=ME();function Wa(e){this.message=e}Wa.prototype=new Error,Wa.prototype.name="InvalidCharacterError";typeof window<"u"&&window.atob&&window.atob.bind(window);function qd(e){this.message=e}qd.prototype=new Error,qd.prototype.name="InvalidTokenError";const Ll=(e,t)=>{e?(window.localStorage.setItem("@access_token",e),t&&window.localStorage.setItem("@refresh_token",t)):(window.localStorage.removeItem("@access_token"),window.localStorage.removeItem("@refresh_token"))},AE=()=>{const e=window.localStorage.getItem("@access_token");return e||!1},zE=()=>{const e=window.localStorage.getItem("@user");return JSON.parse(e)},Nl=e=>{e?window.localStorage.setItem("@user",JSON.stringify(e)):window.localStorage.removeItem("@user")},$E=["/","/login"],DE=F.createContext({});function FE({children:e}){const t=vm(),n=kr(),[r,i]=F.useState(null),[s,o]=F.useState(!0);E.useEffect(()=>{(async()=>{const c=n.pathname,d=await AE();!d&&!$E.includes(c)&&t(et==null?void 0:et.index);const m=zE();d&&m&&(i(m),Nl(m),c=="/"&&t(et==null?void 0:et.index))})()},[]);const l=async(u,c)=>{var d,m,v;try{if(!u||!c)return;o(!0),Ll(null);const y=await RE.post("/sign-in",{email:u,password:c}),{user:g,token:S,refreshToken:h}=y.data;return await Ll(S,h),setTimeout(async()=>{i(g),Nl(g)},1e3),o(!1),g}catch(y){return o(!1),(d=y==null?void 0:y.response)!=null&&d.data?(((m=y==null?void 0:y.response.data)==null?void 0:m.name)=="InvalidCredentialsError"&&Cl("Credenciais inválidas."),((v=y==null?void 0:y.response.data)==null?void 0:v.name)=="registerIsNotActiveError"&&Cl("Usuário não está ativo para acesso.")):Cl("Falha ao realizar login, tente novamente."),!1}},a=async()=>{try{t(et==null?void 0:et.index),Ll(null),i(null),Nl(null)}catch{}};return x.jsx(DE.Provider,{value:{loading:s,user:r,signInRequest:l,signOut:a},children:e})}const BE=()=>(E.useEffect(()=>{pS.init({easing:"ease-out-cubic",once:!0,offset:50})},[]),x.jsx(F0,{children:x.jsx(FE,{children:x.jsxs(c1,{children:[x.jsx(dS,{}),x.jsx(Sx,{})]})})}));jl.createRoot(document.getElementById("root")).render(x.jsx(F.StrictMode,{children:x.jsx(BE,{})})); diff --git a/index.html b/index.html index b3f3879..5f68069 100644 --- a/index.html +++ b/index.html @@ -16,7 +16,7 @@ /> Fest - +