1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,55483,23260,e=>{"use strict";var t=e.i(71645),n=(null==globalThis?void 0:globalThis.document)?t.useLayoutEffect:t.useEffect;function r(e,i=[]){let o=(0,t.useRef)(e);return n(()=>{o.current=e}),(0,t.useCallback)((...e)=>{var t;return null==(t=o.current)?void 0:t.call(o,...e)},i)}e.s(["useSafeLayoutEffect",()=>n],23260),e.s(["useCallbackRef",()=>r],55483)},30259,e=>{"use strict";var t=e.i(74501),n=e.i(35190),r=e.i(55483),i=e.i(71645);function o(e={}){let{id:a,defaultOpen:l,isOpen:s,onClose:u,onOpen:c,onChange:d=()=>{}}=e,f=(0,r.useCallbackRef)(c),p=(0,r.useCallbackRef)(u),[m,h]=(0,n.useControlledState)(s,l||!1,d),E=(0,i.useId)(),g=a||E,v=void 0!==s,y=(0,i.useCallback)(()=>{v||h(!1),null==p||p()},[v,p]),b=(0,i.useCallback)(()=>{v||h(!0),null==f||f()},[v,f]),S=(0,i.useCallback)(()=>{(m?y:b)()},[m,b,y]);return{isOpen:!!m,onOpen:b,onClose:y,onOpenChange:S,isControlled:v,getButtonProps:(e={})=>({...e,"aria-expanded":m,"aria-controls":g,onClick:(0,t.chain)(e.onClick,S)}),getDisclosureProps:(e={})=>({...e,hidden:!m,id:g})}}e.s(["useDisclosure",()=>o])},71331,e=>{"use strict";let t=new WeakMap,n=[];function r(e,i=document.body){let o=new Set(e),a=new Set,l=e=>{for(let t of e.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))o.add(t);let t=e=>{if(o.has(e)||e.parentElement&&a.has(e.parentElement)&&"row"!==e.parentElement.getAttribute("role"))return NodeFilter.FILTER_REJECT;for(let t of o)if(e.contains(t))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:t}),r=t(e);if(r===NodeFilter.FILTER_ACCEPT&&s(e),r!==NodeFilter.FILTER_REJECT){let e=n.nextNode();for(;null!=e;)s(e),e=n.nextNode()}},s=e=>{var n;let r=null!=(n=t.get(e))?n:0;("true"!==e.getAttribute("aria-hidden")||0!==r)&&(0===r&&e.setAttribute("aria-hidden","true"),a.add(e),t.set(e,r+1))};n.length&&n[n.length-1].disconnect(),l(i);let u=new MutationObserver(e=>{for(let t of e)if("childList"===t.type&&0!==t.addedNodes.length&&![...o,...a].some(e=>e.contains(t.target))){for(let e of t.removedNodes)e instanceof Element&&(o.delete(e),a.delete(e));for(let e of t.addedNodes)(e instanceof HTMLElement||e instanceof SVGElement)&&("true"===e.dataset.liveAnnouncer||"true"===e.dataset.reactAriaTopLayer)?o.add(e):e instanceof Element&&l(e)}});u.observe(i,{childList:!0,subtree:!0});let c={visibleNodes:o,hiddenNodes:a,observe(){u.observe(i,{childList:!0,subtree:!0})},disconnect(){u.disconnect()}};return n.push(c),()=>{for(let e of(u.disconnect(),a)){let n=t.get(e);null!=n&&(1===n?(e.removeAttribute("aria-hidden"),t.delete(e)):t.set(e,n-1))}c===n[n.length-1]?(n.pop(),n.length&&n[n.length-1].observe()):n.splice(n.indexOf(c),1)}}e.s(["ariaHideOutside",()=>r])},37681,74208,e=>{"use strict";let t;var n=e.i(99661),r=e.i(11733),i=e.i(74501),o=e.i(62789);function a(e,t){let n=e;for((0,o.isScrollable)(n,t)&&(n=n.parentElement);n&&!(0,o.isScrollable)(n,t);)n=n.parentElement;return n||document.scrollingElement||document.documentElement}e.s(["getScrollParent",()=>a],74208);let l="u">typeof document&&window.visualViewport,s=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]),u=0;function c(e={}){let{isDisabled:o}=e;(0,n.useLayoutEffect)(()=>{if(!o){let e,n,o,c,m;return 1==++u&&(t=(0,r.isIOS)()?(o=null,c=(0,i.chain)(f(document,"touchstart",t=>{((e=a(t.target,!0))!==document.documentElement||e!==document.body)&&e instanceof HTMLElement&&"auto"===window.getComputedStyle(e).overscrollBehavior&&(n=d(e,"overscrollBehavior","contain"))},{passive:!1,capture:!0}),f(document,"touchmove",t=>{e&&e!==document.documentElement&&e!==document.body?e.scrollHeight===e.clientHeight&&e.scrollWidth===e.clientWidth&&t.preventDefault():t.preventDefault()},{passive:!1,capture:!0}),f(document,"touchend",()=>{n&&n()},{passive:!1,capture:!0}),f(document,"focus",e=>{var t;let n=e.target;((t=n)instanceof HTMLInputElement&&!s.has(t.type)||t instanceof HTMLTextAreaElement||t instanceof HTMLElement&&t.isContentEditable)&&((()=>
1{if(o)return;let e=window.pageXOffset,t=window.pageYOffset;o=(0,i.chain)(f(window,"scroll",()=>{window.scrollTo(0,0)}),d(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),d(document.documentElement,"overflow","hidden"),d(document.body,"marginTop",`-${t}px`),()=>{window.scrollTo(e,t)}),window.scrollTo(0,0)})(),n.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{n.style.transform="",l&&(l.height<window.innerHeight?requestAnimationFrame(()=>{p(n)}):l.addEventListener("resize",()=>p(n),{once:!0}))}))},!0)),()=>{null==n||n(),null==o||o(),c()}):(m=window.innerWidth-document.documentElement.clientWidth,(0,i.chain)(m>0&&("scrollbarGutter"in document.documentElement.style?d(document.documentElement,"scrollbarGutter","stable"):d(document.documentElement,"paddingRight",`${m}px`)),d(document.documentElement,"overflow","hidden")))),()=>{0==--u&&t()}}},[o])}function d(e,t,n){let r=e.style[t];return e.style[t]=n,()=>{e.style[t]=r}}function f(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function p(e){let t=document.scrollingElement||document.documentElement,n=e;for(;n&&n!==t;){let e=a(n);if(e!==document.documentElement&&e!==document.body&&e!==n){let t=e.getBoundingClientRect().top,r=n.getBoundingClientRect().top;r>t+n.clientHeight&&(e.scrollTop+=r-t)}n=e.parentElement}}e.s(["usePreventScroll",()=>c],37681)},58825,e=>{"use strict";var t=e.i(71645);let n=(0,t.createContext)({});e.i(47167);var r=e.i(92902),i=e.i(97547),o=e.i(50179),a=e.i(89979);function l({children:e}){let n=(0,t.useMemo)(()=>({register:()=>{}}),[]);return t.default.createElement(r.PressResponderContext.Provider,{value:n},e)}t.default.forwardRef(({children:e,...n},l)=>{let s=(0,t.useRef)(!1),u=(0,t.useContext)(r.PressResponderContext);l=(0,i.useObjectRef)(l||(null==u?void 0:u.ref));let c=(0,o.mergeProps)(u||{},{...n,ref:l,register(){s.current=!0,u&&u.register()}});return(0,a.useSyncRef)(u,l),(0,t.useEffect)(()=>{s.current||(s.current=!0)},[]),t.default.createElement(r.PressResponderContext.Provider,{value:c},e)});var s=e.i(70864),u=e.i(74080),c=e.i(54453),d=e.i(99661);let f=t.default.createContext(null);function p(e){var r;let i=(0,c.useIsSSR)(),{portalContainer:o=i?null:document.body,isExiting:a}=e,[d,p]=(0,t.useState)(!1),m=(0,t.useMemo)(()=>({contain:d,setContain:p}),[d,p]),{getContainer:h}=null!=(r=(0,t.useContext)(n))?r:{};if(!e.portalContainer&&h&&(o=h()),!o)return null;let E=e.children;return e.disableFocusManagement||(E=t.default.createElement(s.FocusScope,{restoreFocus:!0,contain:(e.shouldContainFocus||d)&&
1!a},E)),E=t.default.createElement(f.Provider,{value:m},t.default.createElement(l,null,E)),u.default.createPortal(E,o)}function m(){let e=(0,t.useContext)(f),n=null==e?void 0:e.setContain;(0,d.useLayoutEffect)(()=>{null==n||n(!0)},[n])}e.s(["Overlay",()=>p,"useOverlayFocusContain",()=>m],58825)},60835,e=>{"use strict";var t=e.i(70864),n=e.i(16231);e.i(47167);var r=e.i(91247),i=e.i(91884),o=e.i(71645);function a(e,t){if(e.button>0)return!1;if(e.target){let t=e.target.ownerDocument;if(!t||!t.documentElement.contains(e.target)||e.target.closest("[data-react-aria-top-layer]"))return!1}return!!t.current&&!e.composedPath().includes(t.current)}var l=[];function s(e,s){let{disableOutsideEvents:u=!0,isDismissable:c=!1,isKeyboardDismissDisabled:d=!1,isOpen:f,onClose:p,shouldCloseOnBlur:m,shouldCloseOnInteractOutside:h}=e;(0,o.useEffect)(()=>(f&&l.push(s),()=>{let e=l.indexOf(s);e>=0&&l.splice(e,1)}),[f,s]);let E=()=>{l[l.length-1]===s&&p&&p()};!function(e){let{ref:t,onInteractOutside:n,isDisabled:l,onInteractOutsideStart:s}=e,u=(0,o.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),c=(0,r.useEffectEvent)(e=>{n&&a(e,t)&&(s&&s(e),u.current.isPointerDown=!0)}),d=(0,r.useEffectEvent)(e=>{n&&n(e)});(0,o.useEffect)(()=>{let e=u.current;if(l)return;let n=t.current,r=(0,i.getOwnerDocument)(n);if("u">typeof PointerEvent){let n=n=>{e.isPointerDown&&a(n,t)&&d(n),e.isPointerDown=!1};return r.addEventListener("pointerdown",c,!0),r.addEventListener("click",n,!0),()=>{r.removeEventListener("pointerdown",c,!0),r.removeEventListener("click",n,!0)}}},[t,l,c,d])}({isDisabled:!(c&&f),onInteractOutside:c&&f?e=>{"touch"===e.pointerType&&(!h||h(e.target))&&(l[l.length-1]===s&&u&&(e.stopPropagation(),e.preventDefault()),E())}:void 0,onInteractOutsideStart:e=>{(!h||h(e.target))&&(l[l.length-1]===s&&u&&(e.stopPropagation(),e.preventDefault()),"touch"!==e.pointerType&&E())},ref:s});let{focusWithinProps:g}=(0,n.useFocusWithin)({isDisabled:!m,onBlurWithin:e=>{!(!e.relatedTarget||(0,t.isElementInChildOfActiveScope)(e.relatedTarget))&&(!h||h(e.relatedTarget))&&E()}});return{overlayProps:{onKeyDown:e=>{"Escape"!==e.key||d||e.nativeEvent.isComposing||(e.stopPropagation(),e.preventDefault(),E())},...g},underlayProps:{onPointerDown:e=>{e.target===e.currentTarget&&e.preventDefault()}}}}e.s(["useAriaOverlay",()=>s],60835)},90945,99414,e=>{"use strict";var t=e.i(71331),n=e.i(37681),r=e.i(58825),i=e.i(50179),o=e.i(71645),a=e.i(60835);function l(e={shouldBlockScroll:!0},s,u){let{overlayProps:c,underlayProps:d}=(0,a.useAriaOverlay)({...e,isOpen:s.isOpen,onClose:s.close},u);return(0,n.usePreventScroll)({isDisabled:!s.isOpen||!e.shouldBlockScroll}),(0,r.useOverlayFocusContain)(),(0,o.useEffect)(()=>{if(s.isOpen&&u.current)return(0,t.ariaHideOutside)([u.current])},[s.isOpen,u]),{modalProps:(0,i.mergeProps)(c),underlayProps:d}}e.s(["useAriaModalOverlay",()=>l],90945);var s=e.i(84898),u=e.i(10698),c=(0,s.tv)({slots:{wrapper:["flex","w-screen","h-[100dvh]","fixed","inset-0","z-50","overflow-x-auto","justify-center","h-[--visual-viewport-height]"],base:["flex","flex-col","relative","bg-white","z-50","w-full","box-border","bg-content1","outline-hidden","mx-1","my-1","sm:mx-6","sm:my-16"],backdrop:"z-50",header:"flex py-4 px-6 flex-initial text-large font-semibold",body:"flex flex-1 flex-col gap-3 px-6 py-2",footer:"flex flex-row gap-2 px-6 py-4 justify-end",closeButton:["absolute","appearance-none","outline-hidden","select-none","top-1","end-1","p-2","text-foreground-500","rounded-full","hover:bg-default-100","active:bg-default-200","tap-highlight-transparent",...u.dataFocusVisibleClasses]},variants:{size:{xs:{base:"max-w-xs"},sm:{base:"max-w-sm"},md:{base:"max-w-md"},lg:{base:"max-w-lg"},xl:{base:"max-w-xl"},"2xl":{base:"max-w-2xl"},"3xl":{base:"max-w-3xl"},"4xl":{base:"max-w-4xl"},"5xl":{base:"max-w-5xl"},full:{base:"my-0 mx-0 sm:mx-0 sm:my-0 max-w-full h-[100dvh] min-h-[100dvh] !rounded-none"}},radius:{none:{base:"rounded-none"},sm:{base:"rounded-small"},md:{base:"rounded-medium"},lg:{base:"rounded-large"}},placement:{auto:{wrapper:"items-end sm:items-center"},center:{wrapper:"items-center sm:items-center"},top:{wrapper:"items-start sm:items-start"},"top-center":{wrapper:"items-start sm:items-center"},bottom:{wrapper:"items-end sm:items-end"},"bottom-center":{wrapper:"items-end sm:items-center"}},shadow:{none:{base:"shadow-none"},sm:{base:"shadow-small"},md:{base:"shadow-medium"},lg:{base:"shadow-large"}},backdrop:{transparent:{backdrop:"hidden"},opaque:{backdrop:"bg-overlay/50 backdrop-opacity-disabled"},blur:{backdrop:"backdrop-blur-md backdrop-saturate-150 bg-overlay/30"}},scrollBehavior:{normal:{base:"overflow-y-hidden"},inside:{base:"max-h-[calc(100%_-_8rem)]",body:"overflow-y-auto"},outside:{wrapper:"items-start sm:items-start overflow-y-auto",base:"my-16"}},disableAnimation:{false:{wrapper:["[--scale-enter:100%]","[--scale-exit:100%]","[--slide-enter:0px]","[--slide-exit:80px]","sm:[--scale-enter:100%]","sm:[--scale-exit:103%]","sm:[--slide-enter:0px]","sm:[--slide-exit:0px]"]}}},defaultVariants:{size:"md",radius:"lg",shadow:"sm",placement:"auto",backdrop:"opaque",scrollBehavior:"normal"},compoundVariants:[{backdrop:["opaque","blur"],class:{backdrop:"w-screen h-screen fixed inset-0"}}]});e.s(["modal",()=>c],99414)},53930,e=>{"use strict";var t=e.i(71645),n=e.i(35190);function r(e){let[r,i]=(0,n.useControlledState)(e.isOpen,e.defaultOpen||!1,e.onOpenChange),o=(0,t.useCallback)(()=>{i(!0)},[i]),a=(0,t.useCallback)(()=>{i(!1)},[i]),l=(0,t.useCallback)(()=>{i(!r)},[i,r]);return{isOpen:r,setOpen:i,open:o,close:a,toggle:l}}e.s(["useOverlayTriggerState",()=>r])},9835,65840,e=>{"use strict";var t=e.i(90945),n=e.i(71645),r=e.i(99414),i=e.i(73830),o=e.i(95494),a=e.i(68319),l=e.i(29427),s=e.i(75540),u=e.i(20253),c=e.i(53930),[d,f]=(0,e.i(26823).createContext)({name:"ModalContext",errorMessage:"useModalContext: `
1context` is undefined. Seems you forgot to wrap all popover components within `<Modal />`"});e.s(["ModalProvider",()=>d,"useModalContext",()=>f],65840);var p=e.i(88653),m=e.i(58825),h=e.i(43476),E=(0,i.forwardRef)((e,f)=>{let{children:E,...g}=e,v=function(e){var d,f,p;let m=(0,o.useProviderContext)(),[h,E]=(0,i.mapPropsVariants)(e,r.modal.variantKeys),{ref:g,as:v,className:y,classNames:b,isOpen:S,defaultOpen:x,onOpenChange:L,motionProps:O,closeButton:C,isDismissable:N=!0,hideCloseButton:A=!1,shouldBlockScroll:I=!0,portalContainer:D,isKeyboardDismissDisabled:B=!1,onClose:T,...w}=h,R=(0,u.useDOMRef)(g),_=(0,n.useRef)(null),[K,j]=(0,n.useState)(!1),[P,k]=(0,n.useState)(!1),M=null!=(f=null!=(d=e.disableAnimation)?d:null==m?void 0:m.disableAnimation)&&f,H=(0,n.useId)(),F=(0,n.useId)(),G=(0,n.useId)(),U=(0,c.useOverlayTriggerState)({isOpen:S,defaultOpen:x,onOpenChange:e=>{null==L||L(e),e||null==T||T()}}),{modalProps:Y,underlayProps:z}=(0,t.useAriaModalOverlay)({isDismissable:N,shouldBlockScroll:I,isKeyboardDismissDisabled:B},U,R),{buttonProps:V}=(0,a.useAriaButton)({onPress:U.close},_),{isFocusVisible:W,focusProps:$}=(0,l.useFocusRing)(),q=(0,s.clsx)(null==b?void 0:b.base,y),Q=(0,n.useMemo)(()=>(0,r.modal)({...E,disableAnimation:M}),[(0,s.objectToDeps)(E),M]),J=(0,n.useCallback)((e={})=>({className:Q.backdrop({class:null==b?void 0:b.backdrop}),...z,...e}),[Q,b,z]);return{Component:v||"section",slots:Q,domRef:R,headerId:F,bodyId:G,motionProps:O,classNames:b,isDismissable:N,closeButton:C,hideCloseButton:A,portalContainer:D,shouldBlockScroll:I,backdrop:null!=(p=e.backdrop)?p:"opaque",isOpen:U.isOpen,onClose:U.close,disableAnimation:M,setBodyMounted:k,setHeaderMounted:j,getDialogProps:(t={},n=null)=>{var r;return{ref:(0,s.mergeRefs)(n,R),...(0,s.mergeProps)(Y,w,t),className:Q.base({class:(0,s.clsx)(q,t.className)}),id:H,"data-open":(0,s.dataAttr)(U.isOpen),"data-dismissable":(0,s.dataAttr)(N),"aria-modal":(0,s.dataAttr)(!0),"data-placement":null!=(r=null==e?void 0:e.placement)?r:"right","aria-labelledby":K?F:void 0,"aria-describedby":P?G:void 0}},getBackdropProps:J,getCloseButtonProps:()=>({role:"button",tabIndex:0,"aria-label":"Close","data-focus-visible":(0,s.dataAttr)(W),className:Q.closeButton({class:null==b?void 0:b.closeButton}),...(0,s.mergeProps)(V,$)})}}({...g,ref:f}),y=(0,h.jsx)(m.Overlay,{portalContainer:v.portalContainer,children:E});return(0,h.jsx)(d,{value:v,children:v.disableAnimation&&v.isOpen?y:(0,h.jsx)(p.AnimatePresence,{children:v.isOpen?y:null})})});E.displayName="HeroUI.Modal",e.s(["Modal",()=>E],9835)},30773,e=>{"use strict";var t=e.i(65840),n=e.i(71645),r=e.i(73830),i=e.i(20253),o=e.i(75540),a=e.i(43476),l=(0,r.forwardRef)((e,r)=>{let{as:l,children:s,className:u,...c}=e,{slots:d,classNames:f,bodyId:p,setBodyMounted:m}=(0,t.useModalContext)(),h=(0,i.useDOMRef)(r);return(0,n.useEffect)(()=>(m(!0),()=>m(!1)),[m]),(0,a.jsx)(l||"div",{ref:h,className:d.body({class:(0,o.clsx)(null==f?void 0:f.body,u)}),id:p,...c,children:s})});l.displayName="HeroUI.ModalBody",e.s(["modal_body_default",()=>l])},82983,e=>{"use strict";var t=e.i(30773);e.s(["ModalBody",()=>t.modal_body_default])},37608,e=>{"use strict";var t=e.i(20947),n={enter:{scale:"var(--scale-enter)",y:"var(--slide-enter)",opacity:1,willChange:"auto",transition:{scale:{duration:.4,ease:t.TRANSITION_EASINGS.ease},opacity:{duration:.4,ease:t.TRANSITION_EASINGS.ease},y:{type:"spring",bounce:0,duration:.6}}},exit:{scale:"var(--scale-exit)",y:"var(--slide-exit)",opacity:0,willChange:"transform",transition:{duration:.3,ease:t.TRANSITION_EASINGS.ease}}};e.s(["scaleInOut",()=>n])},13256,e=>{"use strict";var t={};t={"ar-AE":{dismiss:`\u{62A}\u{62C}\u{627}\u{647}\u{644}`},"bg-BG":{dismiss:`\u{41E}\u{442}\u{445}\u{432}\u{44A}\u{440}\u{43B}\u{44F}\u{43D}\u{435}`},"cs-CZ":{dismiss:"Odstranit"},"da-DK":{dismiss:"Luk"},"de-DE":{dismiss:`Schlie\xdfen`},"el-GR":{dismiss:`\u{391}\u{3C0}\u{3CC}\u{3C1}\u{3C1}\u{3B9}\u{3C8}\u{3B7}`},"en-US":{dismiss:"Dismiss"},"es-ES":{dismiss:"Descartar"},"et-EE":{dismiss:`L\xf5peta`},"fi-FI":{dismiss:`Hylk\xe4\xe4`},"fr-FR":{dismiss:"Rejeter"},"he-IL":{dismiss:`\u{5D4}\u{5EA}\u{5E2}\u{5DC}\u{5DD}`},"hr-HR":{dismiss:"Odbaci"},"hu-HU":{dismiss:`Elutas\xedt\xe1s`},"it-IT":{dismiss:"Ignora"},"ja-JP":{dismiss:`\u{9589}\u{3058}\u{308B}`},"ko-KR":{dismiss:`\u{BB34}\u{C2DC}`},"lt-LT":{dismiss:"Atmesti"},"lv-LV":{dismiss:`Ner\u{101}
1d\u{12B}t`},"nb-NO":{dismiss:"Lukk"},"nl-NL":{dismiss:"Negeren"},"pl-PL":{dismiss:"Zignoruj"},"pt-BR":{dismiss:"Descartar"},"pt-PT":{dismiss:"Dispensar"},"ro-RO":{dismiss:"Revocare"},"ru-RU":{dismiss:`\u{41F}\u{440}\u{43E}\u{43F}\u{443}\u{441}\u{442}\u{438}\u{442}\u{44C}`},"sk-SK":{dismiss:`Zru\u{161}i\u{165}`},"sl-SI":{dismiss:"Opusti"},"sr-SP":{dismiss:"Odbaci"},"sv-SE":{dismiss:"Avvisa"},"tr-TR":{dismiss:"Kapat"},"uk-UA":{dismiss:`\u{421}\u{43A}\u{430}\u{441}\u{443}\u{432}\u{430}\u{442}\u{438}`},"zh-CN":{dismiss:`\u{53D6}\u{6D88}`},"zh-TW":{dismiss:`\u{95DC}\u{9589}`}},e.s(["default",()=>t],13256)},60433,e=>{"use strict";var t=e.i(20246);function n(e,n){let{id:r,"aria-label":i,"aria-labelledby":o}=e;return r=(0,t.useId)(r),o&&i?o=[...new Set([r,...o.trim().split(/\s+/)])].join(" "):o&&(o=o.trim().split(/\s+/).join(" ")),i||o||!n||(i=n),{id:r,"aria-label":i,"aria-labelledby":o}}e.s(["useLabels",()=>n])},52893,e=>{"use strict";let t;var n=e.i(96102);let r=Symbol.for("react-aria.i18n.locale"),i=Symbol.for("react-aria.i18n.strings");class o{getStringForLocale(e,t){let n=this.getStringsForLocale(t)[e];if(!n)throw Error(`Could not find intl message ${e} in ${t} locale`);return n}getStringsForLocale(e){let t=this.strings[e];return t||(t=function(e,t,n="en-US"){var r;if(t[e])return t[e];let i=(r=e,Intl.Locale?new Intl.Locale(r).language:r.split("-")[0]);if(t[i])return t[i];for(let e in t)if(e.startsWith(i+"-"))return t[e];return t[n]}(e,this.strings,this.defaultLocale),this.strings[e]=t),t}static getGlobalDictionaryForPackage(e){if("u"<typeof window)return null;let n=window[r];if(void 0===t){let e=window[i];if(!e)return null;for(let r in t={},e)t[r]=new o({[n]:e[r]},n)}let a=null==t?void 0:t[e];if(!a)throw Error(`Strings for package "${e}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return a}constructor(e,t="en-US"){this.strings=Object.fromEntries(Object.entries(e).filter(([,e])=>e)),this.defaultLocale=t}}let a=new Map,l=new Map;class s{format(e,t){let n=this.strings.getStringForLocale(e,this.locale);return"function"==typeof n?n(t,this):n}plural(e,t,n="cardinal"){let r=t["="+e];if(r)return"function"==typeof r?r():r;let i=this.locale+":"+n,o=a.get(i);return o||(o=new Intl.PluralRules(this.locale,{type:n}),a.set(i,o)),"function"==typeof(r=t[o.select(e)]||t.other)?r():r}number(e){let t=l.get(this.locale);return t||(t=new Intl.NumberFormat(this.locale),l.set(this.locale,t)),t.format(e)}select(e,t){let n=e[t]||e.other;return"function"==typeof n?n():n}constructor(e,t){this.locale=e,this.strings=t}}var u=e.i(71645);let c=new WeakMap;function d(e,t){let r,{locale:i}=(0,n.useLocale)(),a=t&&o.getGlobalDictionaryForPackage(t)||((r=c.get(e))||(r=new o(e),c.set(e,r)),r);return(0,u.useMemo)(()=>new s(i,a),[i,a])}e.s(["useLocalizedStringFormatter",()=>d],52893)},60623,15960,e=>{"use strict";var t=e.i(13256),n=e.i(71645),r=e.i(60433),i=e.i(52893),o=e.i(50179),a=e.i(16231);let l={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function s(e){let{children:t,elementType:r="div",isFocusable:i,style:s,...u}=e,{visuallyHiddenProps:c}=function(e={}){let{style:t,isFocusable:r}=e,[i,o]=(0,n.useState)(!1),{focusWithinProps:s}=(0,a.useFocusWithin)({isDisabled:!r,onFocusWithinChange:e=>o(e)}),u=(0,n.useMemo)(()=>i?t:t?{...l,...t}:l,[i]);return{visuallyHiddenProps:{...s,style:u}}}(e);return n.default.createElement(r,(0,o.mergeProps)(u,c),t)}function u(e){var o;let{onDismiss:a,...l}=e,u=(0,i.useLocalizedStringFormatter)((o=t.default)&&o.__esModule?o.default:o,"@react-aria/overlays"),c=(0,r.useLabels)(l,u.format("dismiss"));return n.default.createElement(s,null,n.default.createElement("button",{...c,tabIndex:-1,onClick:()=>{a&&a()},style:{width:1,height:1}}))}e.s(["VisuallyHidden",()=>s],15960),e.s(["DismissButton",()=>u],60623)},41535,e=>{"use strict";var t=e.i(43476),n=e=>{let{isSelected:n,isIndeterminate:r,disableAnimation:i,...o}=e;return(0,t.jsx)("svg",{"aria-hidden":"true",className:"fill-current",fill:"none",focu
1sable:"false",height:"1em",role:"presentation",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,viewBox:"0 0 24 24",width:"1em",...o,children:(0,t.jsx)("path",{d:"M18 6L6 18M6 6l12 12"})})};e.s(["CloseIcon",()=>n])},82008,e=>{"use strict";var t=e.i(20246),n=e.i(69080),r=e.i(864),i=e.i(71645),o=e.i(58825);function a(e,a){let{role:l="dialog"}=e,s=(0,t.useSlotId)();s=e["aria-label"]?void 0:s;let u=(0,i.useRef)(!1);return(0,i.useEffect)(()=>{if(a.current&&!a.current.contains(document.activeElement)){(0,r.focusSafely)(a.current);let e=setTimeout(()=>{document.activeElement===a.current&&(u.current=!0,a.current&&(a.current.blur(),(0,r.focusSafely)(a.current)),u.current=!1)},500);return()=>{clearTimeout(e)}}},[a]),(0,o.useOverlayFocusContain)(),{dialogProps:{...(0,n.filterDOMProps)(e,{labelable:!0}),role:l,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]||s,onBlur:e=>{u.current&&e.stopPropagation()}},titleProps:{id:s}}}e.s(["useDialog",()=>a])},32924,e=>{"use strict";var t=e.i(37608),n=e.i(65840),r=e.i(71645),i=e.i(60623),o=e.i(20947),a=e.i(41535),l=e.i(44113),s=e.i(24511),u=e.i(82008),c=e.i(75540),d="u">typeof document&&window.visualViewport,f=r.default.createContext(!1);function p(){return!1}function m(){return!0}function h(e){return()=>{}}function E(){return{width:d&&(null==d?void 0:d.width)||window.innerWidth,height:d&&(null==d?void 0:d.height)||window.innerHeight}}var g=e.i(43476),v=()=>e.A(75977).then(e=>e.default),y=e=>{let{as:y,children:b,role:S="dialog",...x}=e,{Component:L,domRef:O,slots:C,classNames:N,motionProps:A,backdrop:I,closeButton:D,hideCloseButton:B,disableAnimation:T,getDialogProps:w,getBackdropProps:R,getCloseButtonProps:_,onClose:K}=(0,n.useModalContext)(),j=function(){let e="function"==typeof r.default.useSyncExternalStore?r.default.useSyncExternalStore(h,p,m):(0,r.useContext)(f),[t,n]=(0,r.useState)(()=>e?{width:0,height:0}:E());return(0,r.useEffect)(()=>{let e=()=>{n(e=>{let t=E();return t.width===e.width&&t.height===e.height?e:t})};return d?d.addEventListener("resize",e):window.addEventListener("resize",e),()=>{d?d.removeEventListener("resize",e):window.removeEventListener("resize",e)}},[]),t}(),{dialogProps:P}=(0,u.useDialog)({role:S},O),k=(0,r.isValidElement)(D)?(0,r.cloneElement)(D,_()):(0,g.jsx)("button",{..._(),children:(0,g.jsx)(a.CloseIcon,{})}),M=(0,r.useCallback)(e=>{"Tab"===e.key&&e.nativeEvent.isComposing&&(e.stopPropagation(),e.preventDefault())},[]),H=w((0,c.mergeProps)(P,x)),F=(0,g.jsxs)(y||L||"div",{...H,onKeyDown:(0,c.chain)(H.onKeyDown,M),children:[(0,g.jsx)(i.DismissButton,{onDismiss:K}),!B&&k,"function"==typeof b?b(K):b,(0,g.jsx)(i.DismissButton,{onDismiss:K})]}),G=(0,r.useMemo)(()=>"transparent"===I?null:T?(0,g.jsx)("div",{...R()}):(0,g.jsx)(l.LazyMotion,{features:v,children:(0,g.jsx)(s.m.div,{animate:"enter",exit:"exit",initial:"exit",variants:o.TRANSITION_VARIANTS.fade,...R()})}),[I,T,R]),U={"--visual-viewport-height":j.height+"px"},Y=T?(0,g.jsx)("div",{className:C.wrapper({class:null==N?void 0:N.wrapper}),"data-slot":"wrapper",style:U,children:F}):(0,g.jsx)(l.LazyMotion,{features:v,children:(0,g.jsx)(s.m.div,{animate:"enter",className:C.wrapper({class:null==N?void 0:N.wrapper}),"data-slot":"wrapper",exit:"exit",initial:"exit",variants:t.scaleInOut,...A,style:U,children:F})});return(0,g.jsxs)("div",{tabIndex:-1,children:[G,Y]})};y.displayName="HeroUI.ModalContent",e.s(["modal_content_default",()=>y],32924)},42214,e=>{"use strict";var t=e.i(32924);e.s(["ModalContent",()=>t.modal_content_default])},17619,e=>{"use strict";var t=e.i(43476),n=e.i(9835),r=e.i(82983),i=e.i(42214);e.s(["default",0,({isOpen:e,onOpenChange:o,children:a,onClose:l,closeButtonStroke:s="white",modalContentClassName:u,backdropColor:c="black"})=>(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(n.Modal,{shouldBlockScroll:!1,isOpen:e,onClose:l,onOpenChange:o,scrollBehavior:"inside",classNames:{backdrop:`bg-${c}`,wrapper:"items-end h-auto",base:"mt-auto",closeButton:" z-3 hover:bg-transparent active:bg-transparent absolute appearance-none cursor-pointer select-none top-1 end-1 p-2 text-foreground-500 rounded-full tap-highlight-transparent outline-hidden data-[focus-visible=true]:z-10 data-[focus-visible=true]:outline-2 data-[focus-visible=true]:outline-focus data-[focus-visible=true]:outline-offset-2"},closeButton:(0,t.jsxs)("button",{role:"button",tabIndex:0,"aria-label":"Close",type:"button","data-react-aria-pressable":"true",children:[(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",children:(0,t.jsx)("path",{d:"M23.9999 8.00006L8 24M7.99993 8L23.9999 23.9999",stroke:s,strokeWidth:"1.5",strokeLinecap:"round"})})," "]}),children:(0,t.jsx)(i.ModalContent,{className:`2xl:w-[78vw] 2xl:h-[auto] ${u} w-full max-w-none max-h-full lg:rounded-md rounded-xl sm:my-0 sm:mx-0`,children:()=>(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(r.ModalBody,{className:"px-0 py-0",children:a})})})})})])},94511,(e,t,n)=>{"use strict";
1t.exports=e=>{if("[object Object]"!==Object.prototype.toString.call(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}},46720,(e,t,n)=>{"use strict";var r,i,o,a,l,s=e.r(94511);n.BLOCKS=void 0,(r=n.BLOCKS||(n.BLOCKS={})).DOCUMENT="document",r.PARAGRAPH="paragraph",r.HEADING_1="heading-1",r.HEADING_2="heading-2",r.HEADING_3="heading-3",r.HEADING_4="heading-4",r.HEADING_5="heading-5",r.HEADING_6="heading-6",r.OL_LIST="ordered-list",r.UL_LIST="unordered-list",r.LIST_ITEM="list-item",r.HR="hr",r.QUOTE="blockquote",r.EMBEDDED_ENTRY="embedded-entry-block",r.EMBEDDED_ASSET="embedded-asset-block",r.EMBEDDED_RESOURCE="embedded-resource-block",r.TABLE="table",r.TABLE_ROW="table-row",r.TABLE_CELL="table-cell",r.TABLE_HEADER_CELL="table-header-cell",n.INLINES=void 0,(i=n.INLINES||(n.INLINES={})).ASSET_HYPERLINK="asset-hyperlink",i.EMBEDDED_ENTRY="embedded-entry-inline",i.EMBEDDED_RESOURCE="embedded-resource-inline",i.ENTRY_HYPERLINK="entry-hyperlink",i.HYPERLINK="hyperlink",i.RESOURCE_HYPERLINK="resource-hyperlink",n.MARKS=void 0,(o=n.MARKS||(n.MARKS={})).BOLD="bold",o.ITALIC="italic",o.UNDERLINE="underline",o.CODE="code",o.SUPERSCRIPT="superscript",o.SUBSCRIPT="subscript",o.STRIKETHROUGH="strikethrough";var u=function(e,t){return(u=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function c(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}u(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var d=function(){return(d=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function f(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var p=[n.BLOCKS.PARAGRAPH,n.BLOCKS.HEADING_1,n.BLOCKS.HEADING_2,n.BLOCKS.HEADING_3,n.BLOCKS.HEADING_4,n.BLOCKS.HEADING_5,n.BLOCKS.HEADING_6,n.BLOCKS.OL_LIST,n.BLOCKS.UL_LIST,n.BLOCKS.HR,n.BLOCKS.QUOTE,n.BLOCKS.EMBEDDED_ENTRY,n.BLOCKS.EMBEDDED_ASSET,n.BLOCKS.EMBEDDED_RESOURCE,n.BLOCKS.TABLE],m=[n.BLOCKS.PARAGRAPH,n.BLOCKS.HEADING_1,n.BLOCKS.HEADING_2,n.BLOCKS.HEADING_3,n.BLOCKS.HEADING_4,n.BLOCKS.HEADING_5,n.BLOCKS.HEADING_6,n.BLOCKS.OL_LIST,n.BLOCKS.UL_LIST,n.BLOCKS.HR,n.BLOCKS.QUOTE,n.BLOCKS.EMBEDDED_ENTRY,n.BLOCKS.EMBEDDED_ASSET,n.BLOCKS.EMBEDDED_RESOURCE],h=[n.BLOCKS.TABLE,n.BLOCKS.TABLE_ROW,n.BLOCKS.TABLE_CELL,n.BLOCKS.TABLE_HEADER_CELL],E=[n.BLOCKS.HR,n.BLOCKS.EMBEDDED_ENTRY,n.BLOCKS.EMBEDDED_ASSET,n.BLOCKS.EMBEDDED_RESOURCE],g=((a={})[n.BLOCKS.OL_LIST]=[n.BLOCKS.LIST_ITEM],a[n.BLOCKS.UL_LIST]=[n.BLOCKS.LIST_ITEM],a[n.BLOCKS.LIST_ITEM]=m,a[n.BLOCKS.QUOTE]=[n.BLOCKS.PARAGRAPH],a[n.BLOCKS.TABLE]=[n.BLOCKS.TABLE_ROW],a[n.BLOCKS.TABLE_ROW]=[n.BLOCKS.TABLE_CELL,n.BLOCKS.TABLE_HEADER_CELL],a[n.BLOCKS.TABLE_CELL]=[n.BLOCKS.PARAGRAPH,n.BLOCKS.UL_LIST,n.BLOCKS.OL_LIST],a[n.BLOCKS.TABLE_HEADER_CELL]=[n.BLOCKS.PARAGRAPH],a),v=[n.BLOCKS.HEADING_1,n.BLOCKS.HEADING_2,n.BLOCKS.HEADING_3,n.BLOCKS.HEADING_4,n.BLOCKS.HEADING_5,n.BLOCKS.HEADING_6],y=f([n.BLOCKS.PARAGRAPH],v,!0),b=[n.BLOCKS.DOCUMENT,n.BLOCKS.PARAGRAPH,n.BLOCKS.HEADING_1,n.BLOCKS.HEADING_2,n.BLOCKS.HEADING_3,n.BLOCKS.HEADING_4,n.BLOCKS.HEADING_5,n.BLOCKS.HEADING_6,n.BLOCKS.OL_LIST,n.BLOCKS.UL_LIST,n.BLOCKS.LIST_ITEM,n.BLOCKS.HR,n.BLOCKS.QUOTE,n.BLOCKS.EMBEDDED_ENTRY,n.BLOCKS.EMBEDDED_ASSET,n.INLINES.HYPERLINK,n.INLINES.ENTRY_HYPERLINK,n.INLINES.ASSET_HYPERLINK,n.INLINES.EMBEDDED_ENTRY,"text"],S=[n.MARKS.BOLD,n.MARKS.CODE,n.MARKS.ITALIC,n.MARKS.UNDERLINE],x={nodeType:n.BLOCKS.DOCUMENT,data:{},content:[{nodeType:n.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]};function L(e,t){for(var n=0,r=Object.keys(e);n<r.length;n++)if(t===e[r[n]])return!0;return!1}function O(e){if(e.nodeType!==n.BLOCKS.PARAGRAPH||1!==e.content.length)return!1;var t=e.content[0];return"text"===t.nodeType&&""===t.value}var C=Object.freeze({__proto__:null,isBlock:function(e){return L(n.BLOCKS,e.nodeType)},isEmptyParagraph:O,isInline:function(e){return L(n.INLINES,e.nodeType)},isText:function(e){return"text"===e.nodeType},stripEmptyTrailingParagraphFromDocument:function(e){return!(null!=e&&"object"==typeof e&&"content"in e&&Array.isArray(e.content))||e.content.length<2?e:O(e.content[e.content.length-1])?d(d({},e),{content:e.content.slice(0,-1)}):e}}),N=function(e){var t=e.path,n=e.property,r=e.typeName,i=e.value;return{details:'The type of "'.concat(n,'" is incorrect, expected type: ').concat(r),name:"type",path:t.toArray(),type:r,value:i}},A=function(e){var t=e.min,n=e.value;return{name:"size",min:t,path:e.path.toArray(),details:"Size must be at least ".concat(t),value:n}},I=function(e){var t=e.max,n=e.value;return{name:"size",max:t,path:e.path.toArray(),details:"Size must be at most ".concat(t),value:n}},D=function(e){var t=e.expected,n=e.value,r=e.path;return{details:"Value must be one of expected values",name:"in",expected:f([],t,!0).sort(),path:r.toArray(),value:n}},B=function(e){var t=e.property,n=e.path;return{details:'The property "'.concat(t,'" is not expected'),name:"unexpected",path:n.toArray()}},T=function(e){var t=e.property,n=e.path;return{details:'The property "'.concat(t,'" is required here'),name:"required",path:n.toArray()}},w=function(){function e(e,t){var n=this;this.obj=e,this.path=t,this._errors=[],this.catch=function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];(e=n._errors).push.apply(e,t)},this.exists=function(e){return e in n.obj||(n.catch(T({property:e,path:n.path.of(e)})),!1)},this.object=function(e){var t,r=e?n.obj[e]:n.obj;if(e&&!n.exists(e))return!1;if(s(r))return!0;var i=e?n.path.of(e):n.path,o=null!=(t=null!=e?e:n.path.last())?t:"value";return n.catch(N({typeName:"Object",property:o,path:i,value:r})),!1},this.string=function(e){var t=n.obj[e];return(!e||!!n.exists(e))&&("string"==typeof t||(n.catch(N({typeName:"String",property:e,path:n.path.of(e),value:t})),!1))},this.number=function(e,t){var r=n.obj[e];return!!t&&!(e in n.obj)||!!n.exists(e)&&(!("number"!=typeof r||Number.isNaN(r))||(n.catch(N({typeName:"Number",property:e,path:n.path.of(e),value:r})),!1))},this.array=function(e){var t=n.obj[e];return(!e||!!n.exists(e))&&(!!Array.isArray(t)||(n.catch(N({typeName:"Array",property:e,path:n.path.of(e),value:t})),!1))},this.enum=function(e,t){var r=n.obj[e];return!!("string"==typeof r&&t.includes(r))||(n.catch(D({expected:t,value:r,path:n.path.of(e)})),!1)},this.empty=function(e){if(!n.array(e))return!1;var t=n.obj[e];return 0===t.length||(n.catch(I({max:0,value:t,path:n.path.of(e)})),!1)},this.minLength=function(e,t){if(!n.array(e))return!1;var r=n.obj[e];return r.length>=t||(n.catch(A({min:t,value:r,path:n.path.of(e)})),!1)},this.noAdditionalProperties=function(e){var t=Object.keys(n.obj).sort().filter(function(t){return!e.includes(t)});return t.forEach(function(e){return n.catch(B({property:e,path:n.path.of(e)}))}),0===t.length},this.each=function(e,t){if(n.array(e)){var r=n.obj[e],i=!1;r.forEach(function(r,o){if(!i){var a=t(r,n.path.of(e).of(o));a.length>0&&(i=!0),n.catch.apply(n,a)}})}}}return Object.defineProperty(e.prototype,"errors",{get:function(){var e=this,t=function(e){return JSON.stringify({details:e.details,path:e.path})};return this._errors.filter(function(n,r){return e._errors.findIndex(function(e){return t(n)===t(e)})===r})}
1,enumerable:!1,configurable:!0}),e}(),R=[],_=function(){function e(e,t){this.contentRule=e,this.validateData=t}return e.prototype.assert=function(e,t){var n,r,i=new w(e,t);if(!i.object())return i.errors;i.noAdditionalProperties(["nodeType","data","content"]);var o=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(e,t),a=o.nodeTypes,l=o.min,s=void 0===l?0:l;if(0===a.length&&s>0)throw Error("Invalid content rule. Cannot have enforce a 'min' of ".concat(s," with no nodeTypes"));if(i.minLength("content",s),0===a.length?i.empty("content"):i.each("content",function(e,t){var n=new w(e,t);return n.object()&&n.enum("nodeType",a),n.errors}),i.object("data")){var u=null!=(r=null==(n=this.validateData)?void 0:n.call(this,e.data,t.of("data")))?r:[];i.catch.apply(i,u)}return i.errors},e}(),K=function(e){function t(t,n){var r=e.call(this,n,function(e,t){return r.assertLink(e,t)})||this;return r.linkType=t,r.assertLink=function(e,t){var n=new w(e,t);if(n.object("target")){var i=new w(e.target.sys,t.of("target").of("sys"));i.object()&&(i.enum("type",[r.type]),i.enum("linkType",[r.linkType]),"Link"===r.type?(i.string("id"),i.noAdditionalProperties(["type","linkType","id"])):"ResourceLink"===r.type&&(i.string("urn"),i.noAdditionalProperties(["type","linkType","urn"]))),n.catch.apply(n,i.errors)}return n.noAdditionalProperties(["target"]),n.errors},r.type=r.linkType.startsWith("Contentful:")?"ResourceLink":"Link",r}return c(t,e),t}(_),j=function(e){function t(){var t=e.call(this,["text"],function(e,n){return t.assertLink(e,n)})||this;return t.assertLink=function(e,t){var n=new w(e,t);return n.string("uri"),n.noAdditionalProperties(["uri"]),n.errors},t}return c(t,e),t}(_),P=function(e,t){return new _(e,t)},k=function(e,t){return new K(e,t)},M=function e(t){void 0===t&&(t=[]);var n=this;this.path=t,this.of=function(t){return new e(f(f([],n.path,!0),[t],!1))},this.isRoot=function(){return 0===n.path.length},this.last=function(){return n.path[n.path.length-1]},this.toArray=function(){return n.path}},H=P(f(f([],Object.values(n.INLINES),!0),["text"],!1).sort()),F=P([n.BLOCKS.LIST_ITEM]),G=k("Entry",R),U=P(function(){return{nodeTypes:[n.BLOCKS.PARAGRAPH],min:1}},function(e,t){var n=new w(e,t);return n.noAdditionalProperties(["colspan","rowspan"]),n.number("colspan",!0),n.number("rowspan",!0),n.errors}),Y=((l={})[n.BLOCKS.DOCUMENT]=P(p),l[n.BLOCKS.PARAGRAPH]=H,l[n.BLOCKS.HEADING_1]=H,l[n.BLOCKS.HEADING_2]=H,l[n.BLOCKS.HEADING_3]=H,l[n.BLOCKS.HEADING_4]=H,l[n.BLOCKS.HEADING_5]=H,l[n.BLOCKS.HEADING_6]=H,l[n.BLOCKS.QUOTE]=P(g[n.BLOCKS.QUOTE]),l[n.BLOCKS.EMBEDDED_ENTRY]=G,l[n.BLOCKS.EMBEDDED_ASSET]=k("Asset",R),l[n.BLOCKS.EMBEDDED_RESOURCE]=k("Contentful:Entry",R),l[n.BLOCKS.HR]=P(R),l[n.BLOCKS.OL_LIST]=F,l[n.BLOCKS.UL_LIST]=F,l[n.BLOCKS.LIST_ITEM]=P(f([],m,!0).sort()),l[n.BLOCKS.TABLE]=P(function(){return{nodeTypes:[n.BLOCKS.TABLE_ROW],min:1}}),l[n.BLOCKS.TABLE_ROW]=P(function(){return{nodeTypes:[n.BLOCKS.TABLE_CELL,n.BLOCKS.TABLE_HEADER_CELL],min:1}}),l[n.BLOCKS.TABLE_CELL]=U,l[n.BLOCKS.TABLE_HEADER_CELL]=U,l[n.INLINES.HYPERLINK]=new j,l[n.INLINES.EMBEDDED_ENTRY]=G,l[n.INLINES.EMBEDDED_RESOURCE]=k("Contentful:Entry",R),l[n.INLINES.ENTRY_HYPERLINK]=k("Entry",["text"]),l[n.INLINES.ASSET_HYPERLINK]=k("Asset",["text"]),l[n.INLINES.RESOURCE_HYPERLINK]=k("Contentful:Entry",["text"]),l);n.CONTAINERS=g,n.EMPTY_DOCUMENT=x,n.HEADINGS=v,n.LIST_ITEM_BLOCKS=m,n.TABLE_BLOCKS=h,n.TEXT_CONTAINERS=y,n.TOP_LEVEL_BLOCKS=p,n.V1_MARKS=S,n.V1_NODE_TYPES=b,n.VOID_BLOCKS=E,n.helpers=C,n.validateRichTextDocument=function(e){var t=new M,r=new w(e,t);return(r.object()&&r.enum("nodeType",[n.BLOCKS.DOCUMENT]),r.errors.length>0)?r.errors:function e(t,n){if("text"===t.nodeType){var r;
1return(r=new w(t,n)).object()&&(r.noAdditionalProperties(["nodeType","data","value","marks"]),r.object("data"),r.each("marks",function(e,t){var n=new w(e,t);return n.object()&&n.string("type"),n.errors}),r.string("value")),r.errors}var i=Y[t.nodeType].assert(t,n);if(i.length>0)return i;var o=new w(t,n);return o.each("content",function(t,n){return e(t,n)}),o.errors}(e,t)}},43928,(e,t,n)=>{"use strict";var r,i,o=e.r(71645),a=e.r(46720),l=function(){return(l=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};"function"==typeof SuppressedError&&SuppressedError;var s=((r={})[a.BLOCKS.DOCUMENT]=function(e,t){return t},r[a.BLOCKS.PARAGRAPH]=function(e,t){return o.createElement("p",null,t)},r[a.BLOCKS.HEADING_1]=function(e,t){return o.createElement("h1",null,t)},r[a.BLOCKS.HEADING_2]=function(e,t){return o.createElement("h2",null,t)},r[a.BLOCKS.HEADING_3]=function(e,t){return o.createElement("h3",null,t)},r[a.BLOCKS.HEADING_4]=function(e,t){return o.createElement("h4",null,t)},r[a.BLOCKS.HEADING_5]=function(e,t){return o.createElement("h5",null,t)},r[a.BLOCKS.HEADING_6]=function(e,t){return o.createElement("h6",null,t)},r[a.BLOCKS.EMBEDDED_ENTRY]=function(e,t){return o.createElement("div",null,t)},r[a.BLOCKS.EMBEDDED_RESOURCE]=function(e,t){return o.createElement("div",null,t)},r[a.BLOCKS.UL_LIST]=function(e,t){return o.createElement("ul",null,t)},r[a.BLOCKS.OL_LIST]=function(e,t){return o.createElement("ol",null,t)},r[a.BLOCKS.LIST_ITEM]=function(e,t){return o.createElement("li",null,t)},r[a.BLOCKS.QUOTE]=function(e,t){return o.createElement("blockquote",null,t)},r[a.BLOCKS.HR]=function(){return o.createElement("hr",null)},r[a.BLOCKS.TABLE]=function(e,t){return o.createElement("table",null,o.createElement("tbody",null,t))},r[a.BLOCKS.TABLE_ROW]=function(e,t){return o.createElement("tr",null,t)},r[a.BLOCKS.TABLE_HEADER_CELL]=function(e,t){return o.createElement("th",
1null,t)},r[a.BLOCKS.TABLE_CELL]=function(e,t){return o.createElement("td",null,t)},r[a.INLINES.ASSET_HYPERLINK]=function(e){return c(a.INLINES.ASSET_HYPERLINK,e)},r[a.INLINES.ENTRY_HYPERLINK]=function(e){return c(a.INLINES.ENTRY_HYPERLINK,e)},r[a.INLINES.RESOURCE_HYPERLINK]=function(e){return d(a.INLINES.RESOURCE_HYPERLINK,e)},r[a.INLINES.EMBEDDED_ENTRY]=function(e){return c(a.INLINES.EMBEDDED_ENTRY,e)},r[a.INLINES.EMBEDDED_RESOURCE]=function(e,t){return d(a.INLINES.EMBEDDED_RESOURCE,e)},r[a.INLINES.HYPERLINK]=function(e,t){return o.createElement("a",{href:e.data.uri},t)},r),u=((i={})[a.MARKS.BOLD]=function(e){return o.createElement("b",null,e)},i[a.MARKS.ITALIC]=function(e){return o.createElement("i",null,e)},i[a.MARKS.UNDERLINE]=function(e){return o.createElement("u",null,e)},i[a.MARKS.CODE]=function(e){return o.createElement("code",null,e)},i[a.MARKS.SUPERSCRIPT]=function(e){return o.createElement("sup",null,e)},i[a.MARKS.SUBSCRIPT]=function(e){return o.createElement("sub",null,e)},i[a.MARKS.STRIKETHROUGH]=function(e){return o.createElement("s",null,e)},i);function c(e,t){return o.createElement("span",{key:t.data.target.sys.id},"type: ",t.nodeType," id: ",t.data.target.sys.id)}function d(e,t){return o.createElement("span",{key:t.data.target.sys.urn},"type: ",t.nodeType," urn: ",t.data.target.sys.urn)}n.documentToReactComponents=function(e,t){if(void 0===t&&(t={}),!e)return null;var n=e;return t.stripEmptyTrailingParagraph&&(n=a.helpers.stripEmptyTrailingParagraphFromDocument(e)),function e(t,n){var r=n.renderNode,i=n.renderMark,l=n.renderText,s=n.preserveWhitespace;if(a.helpers.isText(t)){var u=l?l(t.value):t.value;if(s&&!l){var c=(u=u.replace(/ {2,}/g,function(e){return"Â ".repeat(e.length)})).split("\n"),d=[];c.forEach(function(e,t){d.push(e),t!==c.length-1&&d.push(o.createElement("br",null))}),u=d}return t.marks.reduce(function(e,t){return i[t.type]?i[t.type](e):e},u)}var f,p=(f=t.content,f.map(function(t,r){var i;return i=e(t,n),o.isValidElement(i)&&null===i.key?o.cloneElement(i,{key:r}):i}));return t.nodeType&&r[t.nodeType]?r[t.nodeType](t,p):o.createElement(o.Fragment,null,p)}(n,{renderNode:l(l({},s),t.renderNode),renderMark:l(l({},u),t.renderMark),renderText:t.renderText,preserveWhitespace:t.preserveWhitespace})}},56582,e=>{"use strict";var t=e.i(43476),n=e.i(71645),r=e.i(43928),i=e.i(46720),o=e.i(57688),a=e.i(22016),l=e.i(35889);let s={textandimage:({text:e,image:n,fontSize:r,orientation:i})=>(0,t.jsxs)("div",{className:`flex ${"vertical"===i?"":"w-100 sm:w-fit"} w-fit mb-1 xl:mb-0 textandimagecomponent`,style:"vertical"===i?{flexDirection:"column",alignItems:"center",gap:10,marginBottom:10}:{flexDirection:"row",alignItems:"start"},children:[n&&(0,t.jsx)("div",{className:"flex-shrink-0 mr-2 ",style:"vertical"===i?{marginRight:0}:{marginRight:8},children:(0,t.jsx)(o.default,{src:n?.fields?.file?.url?`https:${n.fields.file.url}`:"",alt:n?.fields?.title,width:n?.fields?.file?.details&&"image"in n.fields.file.details&&n.fields.file.details.image?.width||25,height:n?.fields?.file?.details&&"image"in n.fields.file.details&&n.fields.file.details.image?.height||25,className:"object-contain w-auto h-auto",loading:"lazy",unoptimized:!0})}),e&&(0,t.jsx)("span",{className:"text-lg sm:text-xl md:text-2xl",style:r?{fontSize:r}:void 0,children:e})]}),price:({textBeforePrice:e,textAfterPrice:n,price:r,align:i="vertical"})=>(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:`flex ${"vertical"===i?"justify-start":"horizontal"===i?"md:relative md:bottom-[90px] xl:bottom-[90px] md:-mb-[90px] md:justify-end":"justify-start"} items-baseline flex-wrap`,children:[(0,t.jsx)("span",{className:"align-bottom pr-[3px] xl:text-[18px] 2xl:text-[16px] text-[16px]",children:e}),(0,t.jsx)("span",{className:"font-bold xl:text-[56px] 2xl:text-[48px] text-[48px]",children:r}),(0,t.jsx)("span",{className:"align-bottom pl-[3px] xl:text-[18px] 2xl:text-[16px] text-[16px]",children:n})]})}),button:({url:e,text:n,external:r,preSeleccion:i,nombreCodePlan:o,nombreCodeMovil:s})=>(0,t.jsx)(t.Fragment,{children:e&&n&&(0,t.jsx)("div",{className:"flex justify-center xl:justify-start w-full buttonmodalcomponent",children:(0,t.jsx)(l.Button,{href:i?`${e}?plan=${o??null}&movil=${s??null}`:e,className:"bg-black w-full max-w-[230px] mb-2.5 xl:max-w-[290px] xl:mx-0 h-[48px] hover:border-black hover:border hover:bg-transparent hover:text-black text-white rounded-md text-[18px] font-bold",as:a.default,target:r?"_blank":"_self",rel:r?"noopener noreferrer":void 0,children:n})})})};e.s(["default",0,({document:e,className:l="",hrColor:u})=>{let c={renderMark:{[i.MARKS.BOLD]:e=>(0,t.jsx)("strong",{className:"font-bold",children:e}),[i.MARKS.ITALIC]:e=>(0,t.jsx)("em",{className:"italic",children:e}),[i.MARKS.UNDERLINE]:e=>(0,t.jsx)("u",{className:"underline",children:e}),[i.MARKS.CODE]:e=>(0,t.jsx)("code",{className:"bg-gray-100 px-2 py-1 rounded text-sm font-mono",children:e})},renderNode:{[i.BLOCKS.PARAGRAPH]:(e,r)=>{let i=e=>{let t=[];
1return n.default.Children.forEach(e,e=>{if(n.default.isValidElement(e))if(e.type===n.default.Fragment){let n=e.props;t.push(...i(n.children))}else t.push(e);else null!=e&&""!==e&&t.push(e)}),t},o=i(r).filter(e=>"string"==typeof e?""!==e.trim():null!=e),a=[],l=[],s=!1;o.forEach(e=>{if(n.default.isValidElement(e)){let t=e.props,n=t?.className;if("string"==typeof n&&n.includes("embedded-entry-inline")){a.push(e),t?.["data-orientation"]==="vertical"&&(s=!0);try{let t=e.props;t?.children?.props?.orientation==="vertical"&&(s=!0)}catch{}}else l.push(e)}else l.push(e)});let u=o.length>0&&a.length===o.length,c=a.length>=2,d=l.length>0&&a.length>0,f=s?"embedded-inline-group embedded-inline-vertical":"embedded-inline-group";return u?(0,t.jsx)("div",{className:f,children:r}):d&&c?(0,t.jsxs)("div",{className:"contents",children:[l.length>0&&(0,t.jsx)("p",{className:"text-base w-full",children:l}),(0,t.jsx)("div",{className:f,children:a})]}):(0,t.jsx)("p",{className:"text-base w-full",children:r})},[i.BLOCKS.HEADING_1]:(e,n)=>(0,t.jsx)("h1",{className:"text-4xl ",children:n}),[i.BLOCKS.HEADING_2]:(e,n)=>(0,t.jsx)("h2",{className:"xl:text-[32px] 2xl:text-[24px] text-[24px] leading-10",children:n}),[i.BLOCKS.HEADING_3]:(e,n)=>(0,t.jsx)("h3",{className:"text-2xl ",children:n}),[i.BLOCKS.HEADING_4]:(e,n)=>(0,t.jsx)("h4",{className:"text-xl ",children:n}),[i.BLOCKS.HEADING_5]:(e,n)=>(0,t.jsx)("h5",{className:"text-lg ",children:n}),[i.BLOCKS.HEADING_6]:(e,n)=>(0,t.jsx)("h6",{className:"text-base ",children:n}),[i.BLOCKS.UL_LIST]:(e,n)=>(0,t.jsx)("ul",{className:"list-disc pl-6",children:n}),[i.BLOCKS.OL_LIST]:(e,n)=>(0,t.jsx)("ol",{className:"list-decimal pl-6",children:n}),[i.BLOCKS.LIST_ITEM]:(e,n)=>(0,t.jsx)("li",{className:"text-base leading-relaxed",children:n}),[i.BLOCKS.QUOTE]:(e,n)=>(0,t.jsx)("blockquote",{className:"border-l-4 pl-4 py-2 italic bg-gray-50 rounded-r",children:n}),[i.BLOCKS.HR]:()=>{let e=u?`border-none h-0.5 rich-text-hr-${u.toLowerCase()}`:"border-t border-gray-300";return(0,t.jsx)("hr",{className:e})},[i.INLINES.HYPERLINK]:(e,n)=>(0,t.jsx)(a.default,{href:e.data.uri,className:"text-black hover:text-gray-200 hover:font-normal font-bold underline transition-colors duration-200",target:"_blank",rel:"noopener noreferrer",children:n}),[i.BLOCKS.EMBEDDED_ASSET]:e=>{let{file:n,title:r,description:i}=e.data.target?.fields||{},a=n?.url?`https:${n.url}`:"",l=i||r||"Embedded asset";return n?.contentType?.startsWith("image/")?(0,t.jsx)(o.default,{src:a,alt:l,width:n.details?.image?.width||800,height:n.details?.image?.height||600,className:"max-w-full h-auto inline",priority:!1}):(0,t.jsxs)("div",{className:"border border-gray-300 rounded-lg bg-gray-50",children:[(0,t.jsxs)("a",{href:a,className:"text-blue-600 hover:text-blue-800 underline",target:"_blank",rel:"noopener noreferrer",children:["ð ",r||"Download file"]}),i&&(0,t.jsx)("p",{className:"text-sm text-gray-600 mt-1",children:i})]})},[i.BLOCKS.EMBEDDED_ENTRY]:e=>{let n=e.data.target,r=n?.sys.contentType.sys.id,i="string"==typeof n?.fields?.type&&n?.fields?.type in s?s[n?.fields?.type]:null;return i?(0,t.jsx)(i,{...n.fields}):(0,t.jsx)("div",{className:"bg-gray-100 p-4 rounded",children:(0,t.jsxs)("p",{children:["Embedded resource of type ",r," is not supported."]})})},"embedded-entry-inline":e=>{let n=e?.data?.target,r=n?.sys?.contentType?.sys?.id,i="string"==typeof n?.fields?.type&&n?.fields?.type in s?s[n?.fields?.type]:null,o=n?.fields?.orientation;return i?(0,t.jsx)("div",{className:"embedded-entry-inline",...o?{"data-orientation":o}:{},children:(0,t.jsx)(i,{...n.fields,"data-embedded-entry-inline":!0})}):(0,t.jsx)("div",{className:"bg-gray-100 p-4 rounded embedded-entry-inline",children:(0,t.jsxs)("p",{children:["Embedded resource of type ",r," is not supported."]})})}}};return e&&e.content&&0!==e.content.length?(0,t.jsx)("div",{className:`rich-text-content ${l}`,children:(0,r.documentToReactComponents)(e,c)}):(0,t.jsx)("div",{className:`rich-text-empty ${l}`,children:"No content available"})}],56582)},84567,30013,e=>{"use strict";var t=e.i(43476),n=e.i(71645);function r(e){return"[object Object]"===Object.prototype.toString.call(e)||Array.isArray(e)}function i(e,t){let n=Object.keys(e),o=Object.keys(t);return n.length===o.length&&JSON.stringify(Object.keys(e.breakpoints||{}))===JSON.stringify(Object.keys(t.breakpoints||{}))&&n.every(n=>{let o=e[n],a=t[n];return"function"==typeof o?`${o}`==`${a}`:r(o)&&r(a)?i(o,a):o===a})}function o(e){return e.concat().sort((e,t)=>
1e.name>t.name?1:-1).map(e=>e.options)}function a(e){return"number"==typeof e}function l(e){return"string"==typeof e}function s(e){return"boolean"==typeof e}function u(e){return"[object Object]"===Object.prototype.toString.call(e)}function c(e){return Math.abs(e)}function d(e){return Math.sign(e)}function f(e){return E(e).map(Number)}function p(e){return e[m(e)]}function m(e){return Math.max(0,e.length-1)}function h(e,t=0){return Array.from(Array(e),(e,n)=>t+n)}function E(e){return Object.keys(e)}function g(e,t){return void 0!==t.MouseEvent&&e instanceof t.MouseEvent}function v(){let e=[],t={add:function(n,r,i,o={passive:!0}){let a;return"addEventListener"in n?(n.addEventListener(r,i,o),a=()=>n.removeEventListener(r,i,o)):(n.addListener(i),a=()=>n.removeListener(i)),e.push(a),t},clear:function(){e=e.filter(e=>e())}};return t}function y(e=0,t=0){let n=c(e-t);function r(n){return n<e||n>t}return{length:n,max:t,min:e,constrain:function(n){return r(n)?n<e?e:t:n},reachedAny:r,reachedMax:function(e){return e>t},reachedMin:function(t){return t<e},removeOffset:function(e){return n?e-n*Math.ceil((e-t)/n):e}}}function b(e){let t=e;function n(e){return a(e)?e:e.get()}return{get:function(){return t},set:function(e){t=n(e)},add:function(e){t+=n(e)},subtract:function(e){t-=n(e)}}}function S(e,t){let n="x"===e.scroll?function(e){return`translate3d(${e}px,0px,0px)`}:function(e){return`translate3d(0px,${e}px,0px)`},r=t.style,i=null,o=!1;return{clear:function(){!o&&(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))},to:function(t){if(o)return;let a=Math.round(100*e.direction(t))/100;a!==i&&(r.transform=n(a),i=a)},toggleActive:function(e){o=!e}}}let x={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function L(e,t,n){let r,i,o,O,C,N,A,I,D=e.ownerDocument,B=D.defaultView,T=function(e){function t(e,t){return function e(t,n){return[t,n].reduce((t,n)=>
1(E(n).forEach(r=>{let i=t[r],o=n[r],a=u(i)&&u(o);t[r]=a?e(i,o):o}),t),{})}(e,t||{})}return{mergeOptions:t,optionsAtMedia:function(n){let r=n.breakpoints||{},i=E(r).filter(t=>e.matchMedia(t).matches).map(e=>r[e]).reduce((e,n)=>t(e,n),{});return t(n,i)},optionsMediaQueries:function(t){return t.map(e=>E(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}}}(B),w=(I=[],{init:function(e,t){return(I=t.filter(({options:e})=>!1!==T.optionsAtMedia(e).active)).forEach(t=>t.init(e,T)),t.reduce((e,t)=>Object.assign(e,{[t.name]:t}),{})},destroy:function(){I=I.filter(e=>e.destroy())}}),R=v(),_=(i={},o={init:function(e){r=e},emit:function(e){return(i[e]||[]).forEach(t=>t(r,e)),o},off:function(e,t){return i[e]=(i[e]||[]).filter(e=>e!==t),o},on:function(e,t){return i[e]=(i[e]||[]).concat([t]),o},clear:function(){i={}}}),{mergeOptions:K,optionsAtMedia:j,optionsMediaQueries:P}=T,{on:k,off:M,emit:H}=_,F=!1,G=K(x,L.globalOptions),U=K(G),Y=[];function z(t,n){F||(U=j(G=K(G,t)),Y=n||Y,function(){let{container:t,slides:n}=U;N=(l(t)?e.querySelector(t):t)||e.children[0];let r=l(n)?N.querySelectorAll(n):n;A=[].slice.call(r||N.children)}(),O=function t(n){let r=function(e,t,n,r,i,o,u){var x,L;let O,C,N,A,I,D,B,T,w,R,_,K,j,P,{align:k,axis:M,direction:H,startIndex:F,loop:G,duration:U,dragFree:Y,dragThreshold:z,inViewThreshold:V,slidesToScroll:W,skipSnaps:$,containScroll:q,watchResize:Q,watchSlides:J,watchDrag:X,watchFocus:Z}=o,ee={measure:function(e){let{offsetTop:t,offsetLeft:n,offsetWidth:r,offsetHeight:i}=e;return{top:t,right:n+r,bottom:t+i,left:n,width:r,height:i}}},et=ee.measure(t),en=n.map(ee.measure),er=(C="rtl"===H,A=(N="y"===M)||!C?1:-1,I=N?"top":C?"right":"left",D=N?"bottom":C?"left":"right",{scroll:N?"y":"x",cross:N?"x":"y",startEdge:I,endEdge:D,measureSize:function(e){let{height:t,width:n}=e;return N?t:n},direction:function(e){return e*A}}),ei=er.measureSize(et),eo={measure:function(e){return e/100*ei}},ea=(x=k,L=ei,O={start:function(){return 0},center:function(e){return(L-e)/2},end:function(e){return L-e}},{measure:function(e,t){return l(x)?O[x](e):x(L,e,t)}}),el=!G&&!!q,{slideSizes:es,slideSizesWithGaps:eu,startGap:ec,endGap:ed}=function(e,t,n,r,i,o){let{measureSize:a,startEdge:l,endEdge:s}=e,u=n[0]&&i,d=function(){if(!u)return 0;let e=n[0];return c(t[l]-e[l])}(),f=u?parseFloat(o.getComputedStyle(p(r)).getPropertyValue(`margin-${s}`)):0,h=n.map(a),E=n.map((e,t,n)=>{let r=t===m(n);return t?r?h[t]+f:n[t+1][l]-e[l]:h[t]+d}).map(c);return{slideSizes:h,slideSizesWithGaps:E,startGap:d,endGap:f}}
1(er,et,en,n,G||!!q,i),ef=function(e,t,n,r,i,o,l,s,u){let{startEdge:d,endEdge:h,direction:E}=e,g=a(n);return{groupSlides:function(e){return g?f(e).filter(e=>e%n==0).map(t=>e.slice(t,t+n)):e.length?f(e).reduce((n,a,u)=>{let f=p(n)||0,g=a===m(e),v=i[d]-o[f][d],y=i[d]-o[a][h],b=r||0!==f?0:E(l),S=c(y-(!r&&g?E(s):0)-(v+b));return u&&S>t+2&&n.push(a),g&&n.push(e.length),n},[]).map((t,n,r)=>{let i=Math.max(r[n-1]||0);return e.slice(i,t)}):[]}}}(er,ei,W,G,et,en,ec,ed,0),{snaps:ep,snapsAligned:em}=function(e,t,n,r,i){let{startEdge:o,endEdge:a}=e,{groupSlides:l}=i,s=l(r).map(e=>p(e)[a]-e[0][o]).map(c).map(t.measure),u=r.map(e=>n[o]-e[o]).map(e=>-c(e)),d=l(u).map(e=>e[0]).map((e,t)=>e+s[t]);return{snaps:u,snapsAligned:d}}(er,ea,et,en,ef),eh=-p(ep)+p(eu),{snapsContained:eE,scrollContainLimit:eg}=function(e,t,n,r,i){let o,a,l=y(-t+e,0),s=n.map((e,t)=>{let{min:r,max:i}=l,o=l.constrain(e),a=t===m(n);return t?a||function(e,t){return 1>=c(e-t)}(r,o)?r:function(e,t){return 1>=c(e-t)}(i,o)?i:o:i}).map(e=>parseFloat(e.toFixed(3))),u=(o=s[0],a=p(s),y(s.lastIndexOf(o),s.indexOf(a)+1));return{snapsContained:function(){if(t<=e+2)return[l.max];if("keepSnaps"===r)return s;let{min:n,max:i}=u;return s.slice(n,i)}(),scrollContainLimit:u}}(ei,eh,em,q,0),ev=el?eE:em,{limit:ey}=(B=ev[0],{limit:y(G?B-eh:p(ev),B)}),eb=function e(t,n,r){let{constrain:i}=y(0,t),o=t+1,a=l(n);function l(e){return r?c((o+e)%o):i(e)}function s(){return e(t,a,r)}let u={get:function(){return a}
1,set:function(e){return a=l(e),u},add:function(e){return s().set(a+e)},clone:s};return u}(m(ev),F,G),eS=eb.clone(),ex=f(n),eL=function(e,t,n,r){let i=v(),o=1e3/60,a=null,l=0,s=0;function u(e){if(!s)return;a||(a=e,n(),n());let i=e-a;for(a=e,l+=i;l>=o;)n(),l-=o;r(l/o),s&&(s=t.requestAnimationFrame(u))}function c(){t.cancelAnimationFrame(s),a=null,l=0,s=0}return{init:function(){i.add(e,"visibilitychange",()=>{e.hidden&&(a=null,l=0)})},destroy:function(){c(),i.clear()},start:function(){s||(s=t.requestAnimationFrame(u))},stop:c,update:n,render:r}}(r,i,()=>(({dragHandler:e,scrollBody:t,scrollBounds:n,options:{loop:r}})=>{r||n.constrain(e.pointerDown()),t.seek()})(eP),e=>(({scrollBody:e,translate:t,location:n,offsetLocation:r,previousLocation:i,scrollLooper:o,slideLooper:a,dragHandler:l,animation:s,eventHandler:u,scrollBounds:c,options:{loop:d}},f)=>{let p=e.settled(),m=!c.shouldConstrain(),h=d?p:p&&m,E=h&&!l.pointerDown();E&&s.stop();let g=n.get()*f+i.get()*(1-f);r.set(g),d&&(o.loop(e.direction()),a.loop()),t.to(r.get()),E&&u.emit("settle"),h||u.emit("scroll")})(eP,e)),eO=ev[eb.get()],eC=b(eO),eN=b(eO),eA=b(eO),eI=b(eO),eD=function(e,t,n,r,i,o){let a=0,l=0,s=i,u=.68,f=e.get(),p=0;function m(e){return s=e,E}function h(e){return u=e,E}let E={direction:function(){return l},duration:function(){return s},velocity:function(){return a},seek:function(){let t=r.get()-e.get(),i=0;return s?(n.set(e),a+=t/s,a*=u,f+=a,e.add(a),i=f-p):(a=0,n.set(r),e.set(r),i=t),l=d(i),p=f,E},settled:function(){return .001>c(r.get()-t.get())},useBaseFriction:function(){return h(.68)},useBaseDuration:function(){return m(i)},useFriction:h,useDuration:m};return E}(eC,eA,eN,eI,U,0),eB=function(e,t,n,r,i){let{reachedAny:o,removeOffset:a,constrain:l}=r;function s(e){return e.concat().sort((e,t)=>c(e)-c(t))[0]}function u(t,r){let i=[t,t+n,t-n];if(!e)return t;if(!r)return s(i);let o=i.filter(e=>d(e)===r);return o.length?s(o):p(i)-n}return{byDistance:function(n,r){let s=i.get()+n,{index:d,distance:f}=function(n){let r=e?a(n):l(n),{index:i}=t.map((e,t)=>({diff:u(e-r,0),index:t})).sort((e,t)=>c(e.diff)-c(t.diff))[0];return{index:i,distance:r}}(s),p=!e&&o(s);if(!r||p)return{index:d,distance:n};let m=n+u(t[d]-f,0);return{index:d,distance:m}},byIndex:function(e,n){let r=u(t[e]-i.get(),n);return{index:e,distance:r}},shortcut:u}}(G,ev,eh,ey,eI),eT=function(e,t,n,r,i,o,a){function l(i){let l=i.distance,s=i.index!==t.get();
1o.add(l),l&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),s&&(n.set(t.get()),t.set(i.index),a.emit("select"))}return{distance:function(e,t){l(i.byDistance(e,t))},index:function(e,n){let r=t.clone().set(e);l(i.byIndex(r.get(),n))}}}(eL,eb,eS,eD,eB,eI,u),ew=function(e){let{max:t,length:n}=e;return{get:function(e){return n?-((e-t)/n):0}}}(ey),eR=v(),e_=(w={},R=null,_=null,K=!1,{init:function(){T=new IntersectionObserver(e=>{K||(e.forEach(e=>{w[n.indexOf(e.target)]=e}),R=null,_=null,u.emit("slidesInView"))},{root:t.parentElement,threshold:V}),n.forEach(e=>T.observe(e))},destroy:function(){T&&T.disconnect(),K=!0},get:function(e=!0){if(e&&R)return R;if(!e&&_)return _;let t=E(w).reduce((t,n)=>{let r=parseInt(n),{isIntersecting:i}=w[r];return(e&&i||!e&&!i)&&t.push(r),t},[]);return e&&(R=t),e||(_=t),t}}),{slideRegistry:eK}=function(e,t,n,r,i,o){let a,{groupSlides:l}=i,{min:s,max:u}=r;return{slideRegistry:(a=l(o),1===n.length?[o]:e&&"keepSnaps"!==t?a.slice(s,u).map((e,t,n)=>{let r=t===m(n);return t?r?h(m(o)-p(n)[0]+1,p(n)[0]):e:h(p(n[0])+1)}):a)}}(el,q,ev,eg,ef,ex),ej=function(e,t,n,r,i,o,l,u){let c={passive:!0,capture:!0},d=0;function f(e){"Tab"===e.code&&(d=new Date().getTime())}return{init:function(p){u&&(o.add(document,"keydown",f,!1),t.forEach((t,f)=>{o.add(t,"focus",t=>{(s(u)||u(p,t))&&function(t){if(new Date().getTime()-d>10)return;l.emit("slideFocusStart"),e.scrollLeft=0;let o=n.findIndex(e=>e.includes(t));a(o)&&(i.useDuration(0),r.index(o,0),l.emit("slideFocus"))}(f)},c)}))}}}(e,n,eK,eT,eD,eR,u,Z),eP={ownerDocument:r,ownerWindow:i,eventHandler:u,containerRect:et,slideRects:en,animation:eL,axis:er,dragHandler:function(e,t,n,r,i,o,a,l,u,f,p,m,h,E,b,S,x,L,O){let{cross:C,direction:N}=e,A=["INPUT","SELECT","TEXTAREA"],I={passive:!1},D=v(),B=v(),T=y(50,225).constrain(E.measure(20)),w={mouse:300,touch:400},R={mouse:500,touch:600},_=b?43:25,K=!1,j=0,P=0,k=!1,M=!1,H=!1,F=!1;function G(e){if(!g(e,r)&&e.touches.length>=2)return U(e);let t=o.readPoint(e),n=o.readPoint(e,C),a=c(t-j),s=c(n-P);if(!M&&!F&&(!e.cancelable||!(M=a>s)))return U(e);let u=o.pointerMove(e);a>S&&(H=!0),f.useFriction(.3).useDuration(.75),l.start(),i.add(N(u)),e.preventDefault()}function U(e){var t;let n,r,i=p.byDistance(0,!1).index!==m.get(),a=o.pointerUp(e)*(b?R:w)[F?"mouse":"touch"],l=(t=N(a),n=m.add(-1*d(t)),r=p.byDistance(t,!b).distance,b||c(t)<T?r:x&&i?.5*r:p.byIndex(n.get(),0).distance),s=function(e,t){var n,r;if(0===e||0===t||c(e)<=c(t))return 0;let i=(n=c(e),r=c(t),c(n-r));return c(i/e)}(a,l);M=!1,k=!1,B.clear(),f.useDuration(_-10*s).useFriction(.68+s/50),u.distance(l,!b),F=!1,h.emit("pointerUp")}function Y(e){H&&(e.stopPropagation(),e.preventDefault(),H=!1)}return{init:function(e){O&&D.add(t,"dragstart",e=>e.preventDefault(),I).add(t,"touchmove",()=>void 0,I).add(t,"touchend",()=>void 0).add(t,"touchstart",l).add(t,"mousedown",l).add(t,"touchcancel",U).add(t,"contextmenu",U).add(t,"click",Y,!0);function l(l){(s(O)||O(e,l))&&function(e){let l,s=g(e,r);if((F=s,H=b&&s&&!e.buttons&&K,K=c(i.get()-a.get())>=2,!s||0===e.button)&&(l=e.target.nodeName||"",!A.includes(l))){let r;k=!0,o.pointerDown(e),f.useFriction(0).useDuration(0),i.set(a),r=F?n:t,B.add(r,"touchmove",G,I).add(r,"touchend",U).add(r,"mousemove",G,I).add(r,"mouseup",U),j=o.readPoint(e),P=o.readPoint(e,C),h.emit("pointerDown")}}(l)}},destroy:function(){D.clear(),B.clear()},pointerDown:function(){return k}}}(er,e,r,i,eI,function(e,t){let n,r;function i(e){return e.timeStamp}function o(n,r){let i=r||e.scroll,o=`client${"x"===i?"X":"Y"}`;return(g(n,t)?n:n.touches[0])[o]}return{pointerDown:function(e){return n=e,r=e,o(e)},pointerMove:function(e){let t=o(e)-o(r),a=i(e)-i(n)>170;return r=e,a&&(n=e),t},pointerUp:function(e){if(!n||!r)return 0;let t=o(r)-o(n),a=i(e)-i(n),l=i(e)-i(r)>170,s=t/a;return a&&!l&&c(s)>.1?s:0},readPoint:o}}(er,i),eC,eL,eT,eD,eB,eb,u,eo,Y,z,$,0,X),eventStore:eR,percentOfView:eo,index:eb,indexPrevious:eS,limit:ey,location:eC,offsetLocation:eA,previousLocation:eN,options:o,resizeHandler:function(e,t,n,r,i,o,a){let l,u,d=[e].concat(r),f=[],p=!1;function m(e){return i.measureSize(a.measure(e))}return{init:function(i){o&&(u=m(e),f=r.map(m),l=new ResizeObserver(n=>{(s(o)||o(i,n))&&function(n){for(let o of n){if(p)return;let n=o.target===e,a=r.indexOf(o.target),l=n?u:f[a];if(c(m(n?e:r[a])-l)>=.5){i.reInit(),t.emit("resize");break}}}(n)}),n.requestAnimationFrame(()=>
1{d.forEach(e=>l.observe(e))}))},destroy:function(){p=!0,l&&l.disconnect()}}}(t,u,i,n,er,Q,ee),scrollBody:eD,scrollBounds:function(e,t,n,r,i){let o=i.measure(10),a=i.measure(50),l=y(.1,.99),s=!1;function u(){return!s&&!!e.reachedAny(n.get())&&!!e.reachedAny(t.get())}return{shouldConstrain:u,constrain:function(i){if(!u())return;let s=e.reachedMin(t.get())?"min":"max",d=c(e[s]-t.get()),f=n.get()-t.get(),p=l.constrain(d/a);n.subtract(f*p),!i&&c(f)<o&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())},toggleActive:function(e){s=!e}}}(ey,eA,eI,eD,eo),scrollLooper:function(e,t,n,r){let{reachedMin:i,reachedMax:o}=y(t.min+.1,t.max+.1);return{loop:function(t){if(!(1===t?o(n.get()):-1===t&&i(n.get())))return;let a=-1*t*e;r.forEach(e=>e.add(a))}}}(eh,ey,eA,[eC,eA,eN,eI]),scrollProgress:ew,scrollSnapList:ev.map(ew.get),scrollSnaps:ev,scrollTarget:eB,scrollTo:eT,slideLooper:function(e,t,n,r,i,o,a,l,s){let u=f(i),c=f(i).reverse(),d=h(m(c,a[0]),n,!1).concat(h(m(u,t-a[0]-1),-n,!0));function p(e,t){return e.reduce((e,t)=>e-i[t],t)}function m(e,t){return e.reduce((e,n)=>p(e,t)>0?e.concat([n]):e,[])}function h(i,a,u){let c=o.map((e,n)=>({start:e-r[n]+.5+a,end:e+t-.5+a}));return i.map(t=>{let r=u?0:-n,i=u?n:0,o=c[t][u?"end":"start"];return{index:t,loopPoint:o,slideLocation:b(-1),translate:S(e,s[t]),target:()=>l.get()>o?r:i}})}return{canLoop:function(){return d.every(({index:e})=>.1>=p(u.filter(t=>t!==e),t))},clear:function(){d.forEach(e=>e.translate.clear())},loop:function(){d.forEach(e=>{let{target:t,translate:n,slideLocation:r}=e,i=t();i!==r.get()&&(n.to(i),r.set(i))})},loopPoints:d}}(er,ei,eh,es,eu,ep,ev,eA,n),slideFocus:ej,slidesHandler:(P=!1,{init:function(e){J&&(j=new MutationObserver(t=>{!P&&(s(J)||J(e,t))&&function(t){for(let n of t)if("childList"===n.type){e.reInit(),u.emit("slidesChanged");break}}(t)})).observe(t,{childList:!0})},destroy:function(){j&&j.disconnect(),P=!0}}),slidesInView:e_,slideIndexes:ex,slideRegistry:eK,slidesToScroll:ef,target:eI,translate:S(er,t)};return eP}(e,N,A,D,B,n,_);return n.loop&&!r.slideLooper.canLoop()?t(Object.assign({},n,{loop:!1})):r}(U),P([G,...Y.map(({options:e})=>e)]).forEach(e=>R.add(e,"change",V)),U.active&&(O.translate.to(O.location.get()),O.animation.init(),O.slidesInView.init(),O.slideFocus.init(Q),O.eventHandler.init(Q),O.resizeHandler.init(Q),O.slidesHandler.init(Q),O.options.loop&&O.slideLooper.loop(),N.offsetParent&&A.length&&O.dragHandler.init(Q),C=w.init(Q,Y)))}function V(e,t){let n=q();W(),z(K({startIndex:n},e),t),_.emit("reInit")}function W(){O.dragHandler.destroy(),O.eventStore.clear(),O.translate.clear(),O.slideLooper.clear(),O.resizeHandler.destroy(),O.slidesHandler.destroy(),O.slidesInView.destroy(),O.animation.destroy(),w.destroy(),R.clear()}function $(e,t,n){U.active&&!F&&(O.scrollBody.useBaseFriction().useDuration(!0===t?0:U.duration),O.scrollTo.index(e,n||0))}function q(){return O.index.get()}let Q={canScrollNext:function(){return O.index.add(1).get()!==q()},canScrollPrev:function(){return O.index.add(-1).get()!==q()},containerNode:function(){return N},internalEngine:function(){return O},destroy:function(){F||(F=!0,R.clear(),W(),_.emit("destroy"),_.clear())},off:M,on:k,emit:H,plugins:function(){return C},previousScrollSnap:function(){return O.indexPrevious.get()},reInit:V,rootNode:function(){return e},scrollNext:function(e){$(O.index.add(1).get(),e,-1)},scrollPrev:function(e){$(O.index.add(-1).get(),e,1)},scrollProgress:function(){return O.scrollProgress.get(O.offsetLocation.get())},scrollSnapList:function(){return O.scrollSnapList},scrollTo:$,selectedScrollSnap:q,slideNodes:function(){return A},slidesInView:function(){return O.slidesInView.get()},slidesNotInView:function(){return O.slidesInView.get(!1)}};return z(t,n),setTimeout(()=>_.emit("init"),0),Q}function O(e={},t=[]){let r=(0,n.useRef)(e),a=(0,n.useRef)(t),[l,s]=(0,n.useState)(),[u,c]=(0,n.useState)(),d=(0,n.useCallback)(()=>{l&&l.reInit(r.current,a.current)},[l]);return(0,n.useEffect)(()=>{i(r.current,e)||(r.current=e,d())},[e,d]),(0,n.useEffect)(()=>{!function(e,t){if(e.length!==t.length)return!1;let n=o(e),r=o(t);return n.every((e,t)=>i(e,r[t]))}(a.current,t)&&(a.current=t,d())},[t,d]),(0,n.useEffect)(()=>
1{if("u">typeof window&&window.document&&window.document.createElement&&u){L.globalOptions=O.globalOptions;let e=L(u,r.current,a.current);return s(e),()=>e.destroy()}s(void 0)},[u,s]),[c,l]}function C(e,t,n){return Math.min(Math.max(e,t),n)}function N(e){return"number"==typeof e&&!isNaN(e)}function A(e={}){let t,n,r,i,o=[],a=0,l=0,s=0,u=!1;function c(){m(t.selectedScrollSnap(),1)}function d(){u=!1}function f(){u=!1,a=0,l=0}function p(){let e=t.internalEngine().scrollBody.duration();l=+!e,u=!0,e||c()}function m(e,n){t.scrollSnapList().forEach((r,i)=>{let l=Math.abs(n),c=o[i],d=i===e,f=C(d?c+l:c-l,0,1);o[i]=f;let p=d&&u,m=t.previousScrollSnap();p&&(o[m]=1-f),d&&function(e,n){let{index:r,dragHandler:i,scrollSnaps:o}=t.internalEngine(),l=i.pointerDown(),u=1/(o.length-1),c=e,d=l?t.selectedScrollSnap():t.previousScrollSnap();if(l&&c===d){let e=-1*Math.sign(a);c=d,d=r.clone().set(d).add(e).get()}s=d*u+(c-d)*u*n}(e,f),function(e){let n=t.internalEngine().slideRegistry[e],{scrollSnaps:r,containerRect:i}=t.internalEngine(),a=o[e];
1n.forEach(n=>{let o=t.slideNodes()[n].style,l=parseFloat(a.toFixed(2)),s=l>0,u=function(e){let{axis:n}=t.internalEngine(),r=n.scroll.toUpperCase();return`translate${r}(${n.direction(e)}px)`}(s?r[e]:i.width+2);s&&(o.transform=u),o.opacity=l.toString(),o.pointerEvents=a>.5?"auto":"none",s||(o.transform=u)})}(i)})}function h(){let{dragHandler:e,index:n,scrollBody:r}=t.internalEngine(),i=t.selectedScrollSnap();if(!e.pointerDown())return i;let o=Math.sign(r.velocity()),l=Math.sign(a),s=n.clone().set(i).add(-1*o).get();return o&&l?l===o?s:i:null}function E(){let{target:e,location:r}=t.internalEngine(),i=Math.abs(e.get()-r.get())>=1,s=h(),u=!N(s);return!function(e){let{dragHandler:r,scrollBody:i}=e.internalEngine(),s=r.pointerDown(),u=i.velocity(),c=i.duration(),d=h(),f=!N(d);if(s){if(!u)return;a+=u,l=Math.abs(u/n),function(e){let{scrollSnaps:n,location:r,target:i}=t.internalEngine();N(e)&&!(o[e]<.5)&&(r.set(n[e]),i.set(r))}(d)}if(!s){if(!c||f)return;l+=(1-o[d])/c,l*=.68}f||m(d,l)}(t),!u&&!i&&o[s]>.999}function g(){return s}return{name:"fade",options:e,init:function(e){let a=(t=e).selectedScrollSnap(),{scrollBody:l,containerRect:s,axis:m}=t.internalEngine();n=C(.75*m.measureSize(s),200,500),u=!1,o=t.scrollSnapList().map((e,t)=>+(t===a)),r=l.settled,i=t.scrollProgress,l.settled=E,t.scrollProgress=g,t.on("select",p).on("slideFocus",c).on("pointerDown",f).on("pointerUp",d),function(){let{translate:e,slideLooper:n}=t.internalEngine();e.clear(),e.toggleActive(!1),n.loopPoints.forEach(({translate:e})=>{e.clear(),e.toggleActive(!1)})}(),c()},destroy:function(){let{scrollBody:e}=t.internalEngine();e.settled=r,t.scrollProgress=i,t.off("select",p).off("slideFocus",c).off("pointerDown",f).off("pointerUp",d),t.slideNodes().forEach(e=>{let t=e.style;t.opacity="",t.transform="",t.pointerEvents="",e.getAttribute("style")||e.removeAttribute("style")})}}}L.globalOptions=void 0,O.globalOptions=void 0,e.s(["default",()=>O],30013),A.globalOptions=void 0;let I={};function D(e={}){let t,n=[],r=["select","slideFocus"];function i(){let{slideRegistry:e}=t.internalEngine(),r=e[t.selectedScrollSnap()];return r?r.map(e=>n[e]).reduce((e,t)=>Math.max(e,t),0):null}function o(){null!==i()&&(t.containerNode().style.height=`${i()}px`)}return{name:"autoHeight",options:e,init:function(e){let{options:{axis:i},slideRects:a}=(t=e).internalEngine();"y"!==i&&(n=a.map(e=>e.height),r.forEach(e=>t.on(e,o)),o())},destroy:function(){r.forEach(e=>t.off(e,o));let e=t.containerNode();e.style.height="",e.getAttribute("style")||e.removeAttribute("style")}}}D.globalOptions=void 0;let B={active:!0,breakpoints:{},delay:4e3,jump:!1,playOnInit:!0,stopOnFocusIn:!0,stopOnInteraction:!0,stopOnMouseEnter:!1,stopOnLastSnap:!1,rootNode:null};function T(e={}){let t,n,r,i,o=null,a=0,l=!1,s=!1,u=!1,c=!1;function d(){if(!r){if(m()){u=!0;return}l||n.emit("autoplay:play"),function(){let{ownerWindow:e}=n.internalEngine();e.clearTimeout(a),a=e.setTimeout(y,i[n.selectedScrollSnap()]),o=new Date().getTime(),n.emit("autoplay:timerset")}(),l=!0}}function f(){r||(l&&n.emit("autoplay:stop"),function(){let{ownerWindow:e}=n.internalEngine();e.clearTimeout(a),a=0,o=null,n.emit("autoplay:timerstopped")}(),l=!1)}function p(){if(m())return u=l,f();u&&d()}function m(){let{ownerDocument:e}=n.internalEngine();return"hidden"===e.visibilityState}function h(){s||f()}function E(){s||d()}function g(){s=!0,f()}function v(){s=!1,d()}function y(){let{index:e}=n.internalEngine(),r=e.clone().add(1).get(),i=n.scrollSnapList().length-1,o=t.stopOnLastSnap&&r===i;if(n.canScrollNext()?n.scrollNext(c):n.scrollTo(0,c),n.emit("autoplay:select"),o)return f();d()}return{name:"autoplay",options:e,init:function(o,a){var l,s,u,m;let y,b;n=o;let{mergeOptions:S,optionsAtMedia:x}=a,L=S(B,T.globalOptions);if(t=x(S(L,e)),n.scrollSnapList().length<=1)return;c=t.jump,r=!1,l=n,s=t.delay,y=l.scrollSnapList(),i="number"==typeof s?y.map(()=>s):s(y,l);let{eventStore:O,ownerDocument:C}=n.internalEngine(),N=!!n.internalEngine().options.watchDrag,A=(u=n,m=t.rootNode,b=u.rootNode(),m&&m(b)||b);O.add(C,"visibilitychange",p),N&&n.on("pointerDown",h),N&&!t.stopOn
1Interaction&&n.on("pointerUp",E),t.stopOnMouseEnter&&O.add(A,"mouseenter",g),t.stopOnMouseEnter&&!t.stopOnInteraction&&O.add(A,"mouseleave",v),t.stopOnFocusIn&&n.on("slideFocusStart",f),t.stopOnFocusIn&&!t.stopOnInteraction&&O.add(n.containerNode(),"focusout",d),t.playOnInit&&d()},destroy:function(){n.off("pointerDown",h).off("pointerUp",E).off("slideFocusStart",f),f(),r=!0,l=!1},play:function(e){void 0!==e&&(c=e),d()},stop:function(){l&&f()},reset:function(){l&&d()},isPlaying:function(){return l},timeUntilNext:function(){return o?i[n.selectedScrollSnap()]-(new Date().getTime()-o):null}}}T.globalOptions=void 0;let w=(0,n.createContext)(void 0),R=()=>{let e=(0,n.useContext)(w);if(!e)throw Error("useCarousel debe usar un CarouselProvider");return e};e.s(["CarouselProvider",0,({children:e,qtyCarousels:r=1,carouselConfigs:i=[],colorArrow:o="white"})=>{let a=e=>{if(!e)return;let t=e.map(e=>{switch(e){case"fade":return A();case"autoheight":return D();case"autoplay":return T({playOnInit:!0,delay:3e3,stopOnFocusIn:!1,stopOnInteraction:!1,jump:!1,stopOnMouseEnter:!1});default:return null}}).filter(e=>null!==e);return t.length>0?t:void 0},l=O(i[0]?.options||I,a(i[0]?.plugins)),s=r>=2?O(i[1]?.options||I,a(i[1]?.plugins)):[null,void 0],u=r>=3?O(i[2]?.options||I,a(i[2]?.plugins)):[null,void 0],c=r>=4?O(i[3]?.options||I,a(i[3]?.plugins)):[null,void 0],[d,f]=(0,n.useState)(0),p=[l[0],s[0],u[0],c[0]],m=(0,n.useMemo)(()=>[l[1],s[1],u[1],c[1]],[l,s,u,c]),h=p[d],E=m[d],g=(0,n.useCallback)(e=>{m.forEach(t=>{t&&t.scrollTo(e)})},[m]),v=(0,n.useCallback)(()=>{m.forEach(e=>{e&&e.plugins()&&e.plugins().autoplay&&e.plugins().autoplay.stop()})},[m]);return(0,t.jsx)(w.Provider,{value:{emblaRef:h,emblaApi:E,emblaApis:m,emblaRefs:p,setActiveCarousel:f,activeCarouselIndex:d,syncAllCarouselsToSlide:g,pauseAllAutoplay:v,colorArrow:o},children:e})},"useCarousel",0,R,"useCarouselByIndex",0,e=>{let t=R();return{emblaApi:t.emblaApis[e],emblaRef:t.emblaRefs[e],syncAllCarouselsToSlide:t.syncAllCarouselsToSlide,pauseAllAutoplay:t.pauseAllAutoplay}}],84567)},88248,e=>{"use strict";var t=e.i(43476),n=e.i(71645),r=e.i(84567);e.s(["default",0,({scrollPrev:e,scrollNext:i,classPrevButton:o,classNextButton:a,emblaApi:l})=>{let{colorArrow:s}=(0,r.useCarousel)(),[u,c]=(0,n.useState)(!0),[d,f]=(0,n.useState)(!0),p=(0,n.useCallback)(e=>{c(!e.canScrollPrev()),f(!e.canScrollNext())},[]);return(0,n.useEffect)(()=>{l&&(p(l),l.on("reInit",p).on("select",p))},[l,p]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{title:"Previous","aria-label":"Previous",type:"button",className:`embla__prev ${o}`,onClick:e,disabled:u,children:(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"49",viewBox:"0 0 48 49",fill:"none",children:(0,t.jsx)("path",{d:"M30 10.5L18 24.5L30 38.5",stroke:s,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,t.jsx)("button",{title:"Next","aria-label":"Next",type:"button",className:`embla__next ${a}`,onClick:i,disabled:d,children:(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"49",viewBox:"0 0 48 49",fill:"none",children:(0,t.jsx)("path",{d:"M18 10.5L30 24.5L18 38.5",stroke:s,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]})}])},82958,e=>{"use strict";var t=e.i(43476),n=e.i(84567),r=e.i(71645),i=e.i(88248);let o=e=>{let{children:n,...r}=e;return(0,t.jsx)("button",{type:"button",...r,children:n})};e.s(["default",0,({children:e,carouselIndex:a=0,buttons:l=!1,dots:s=!1})=>{let[u,c]=(0,r.useState)(!1),{emblaRef:d,emblaApi:f}=(0,n.useCarouselByIndex)(a),{selectedIndex:p,scrollSnaps:m,onDotButtonClick:h}=(e=>{let[t,n]=(0,r.useState)(0),[i,o]=(0,r.useState)([]),a=(0,r.useCallback)(t=>{e&&e.scrollTo(t)},[e]),l=(0,r.useCallback)(e=>{o(e.scrollSnapList())},[]),s=(0,r.useCallback)(e=>{n(e.selectedScrollSnap())},[]);return(0,r.useEffect)(()=>{e&&(l(e),s(e),e.on("reInit",l).on("reInit",s).on("select",s))},[e,l,s]),{selectedIndex:t,scrollSnaps:i,onDotButtonClick:a}})(f),E=r.default.Children.toArray(e);return(0,r.useEffect)(()=>{if(!f)return;let e=()=>{c(!f.canScrollPrev()&&!f.canScrollNext())};f.on("init",e).on("reInit",e).on("select",e),e()},[f]),(0,t.jsxs)("div",{className:"embla",children:[(0,t.jsx)("div",{className:"embla__viewport",ref:d,children:(0,t.jsx)("div",{className:`embla__container flex ${u?"justify-center":""}`,children:E.map((e,n)=>(0,t.jsx)("div",{className:" embla__slide",children:e},n))})}),l&&(0,t.jsx)(i.default,{scrollPrev:()=>f?.scrollPrev(),scrollNext:()=>f?.scrollNext(),emblaApi:f}),s&&(0,t.jsx)("div",{className:"embla__dots",children:m.map((e,n)=>(0,t.jsx)(o,{onClick:()=>h(n),className:"embla__dot".concat(n===p?" embla__dot--selected":"")},n))})]})}],82958)},24597,e=>{"use strict";var t=e.i(84898),n=e.i(10698),r=(0,t.tv)({base:["relative inline-flex items-center outline-hidden tap-highlight-transparent",...n.dataFocusVisibleClasses],variants:{size:{sm:"text-small",md:"text-medium",lg:"text-large"},color:{foreground:"text-foreground",primary:"text-primary",secondary:"text-secondary",success:"text-success",warning:"text-warning",danger:"text-danger"},underline:{none:"no-underline",hover:"hover:underline",always:"underline",active:"active:underline",focu
1s:"focus:underline"},isBlock:{true:["px-2","py-1","hover:after:opacity-100","after:content-['']","after:inset-0","after:opacity-0","after:w-full","after:h-full","after:rounded-xl","after:transition-background","after:absolute"],false:"hover:opacity-hover active:opacity-disabled transition-opacity"},isDisabled:{true:"opacity-disabled cursor-default pointer-events-none"},disableAnimation:{true:"after:transition-none transition-none"}},compoundVariants:[{isBlock:!0,color:"foreground",class:"hover:after:bg-foreground/10"},{isBlock:!0,color:"primary",class:"hover:after:bg-primary/20"},{isBlock:!0,color:"secondary",class:"hover:after:bg-secondary/20"},{isBlock:!0,color:"success",class:"hover:after:bg-success/20"},{isBlock:!0,color:"warning",class:"hover:after:bg-warning/20"},{isBlock:!0,color:"danger",class:"hover:after:bg-danger/20"},{underline:["hover","always","active","focus"],class:"underline-offset-4"}],defaultVariants:{color:"primary",size:"md",isBlock:!1,underline:"none",isDisabled:!1}}),i=e.i(69080),o=e.i(50179),a=e.i(11458),l=e.i(49962),s=e.i(43027),u=e.i(73830),c=e.i(95494),d=e.i(20253),f=e.i(29427),p=e.i(75540),m=e.i(71645),h=e.i(43476),E=e=>
1(0,h.jsxs)("svg",{"aria-hidden":"true",fill:"none",focusable:"false",height:"1em",shapeRendering:"geometricPrecision",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",viewBox:"0 0 24 24",width:"1em",...e,children:[(0,h.jsx)("path",{d:"M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6"}),(0,h.jsx)("path",{d:"M15 3h6v6"}),(0,h.jsx)("path",{d:"M10 14L21 3"})]}),g=(0,u.forwardRef)((e,t)=>{let{Component:n,children:g,showAnchorIcon:v,anchorIcon:y=(0,h.jsx)(E,{className:"flex mx-1 text-current self-center"}),getLinkProps:b}=function(e){var t,n,h,E;let g=(0,c.useProviderContext)(),[v,y]=(0,u.mapPropsVariants)(e,r.variantKeys),{ref:b,as:S,children:x,anchorIcon:L,isExternal:O=!1,showAnchorIcon:C=!1,autoFocus:N=!1,className:A,onPress:I,onPressStart:D,onPressEnd:B,onClick:T,...w}=v,R=(0,d.useDOMRef)(b),_=null!=(n=null!=(t=null==e?void 0:e.disableAnimation)?t:null==g?void 0:g.disableAnimation)&&n,{linkProps:K}=function(e,t){let{elementType:n="a",onPress:r,onPressStart:u,onPressEnd:c,onClick:d,isDisabled:f,...p}=e,m={};"a"!==n&&(m={role:"link",tabIndex:f?void 0:0});let{focusableProps:h}=(0,l.useFocusable)(e,t),{pressProps:E,isPressed:g}=(0,s.usePress)({onClick:d,onPress:r,onPressStart:u,onPressEnd:c,isDisabled:f,ref:t}),v=(0,i.filterDOMProps)(p,{labelable:!0,isLink:"a"===n}),y=(0,o.mergeProps)(h,E),b=(0,a.useRouter)(),S=(0,a.useLinkProps)(e);return{isPressed:g,linkProps:(0,o.mergeProps)(v,S,{...y,...m,"aria-disabled":f||void 0,"aria-current":e["aria-current"],onClick:t=>{var n;null==(n=E.onClick)||n.call(E,t),!b.isNative&&t.currentTarget instanceof HTMLAnchorElement&&t.currentTarget.href&&!t.isDefaultPrevented()&&(0,a.shouldClientNavigate)(t.currentTarget,t)&&e.href&&(t.preventDefault(),b.open(t.currentTarget,t,e.href,e.routerOptions))}})}}({...w,onPress:I,onPressStart:D,onPressEnd:B,onClick:T,isDisabled:e.isDisabled,elementType:`${S}`},R),{isFocused:j,isFocusVisible:P,focusProps:k}=(0,f.useFocusRing)({autoFocus:N});O&&(w.rel=null!=(h=w.rel)?h:"noopener noreferrer",w.target=null!=(E=w.target)?E:"_blank");let M=(0,m.useMemo)(()=>r({...y,disableAnimation:_,className:A}),[(0,p.objectToDeps)(y),_,A]);return{Component:S||"a",children:x,anchorIcon:L,showAnchorIcon:C,getLinkProps:(0,m.useCallback)(()=>({ref:R,className:M,"data-focus":(0,p.dataAttr)(j),"data-disabled":(0,p.dataAttr)(e.isDisabled),"data-focus-visible":(0,p.dataAttr)(P),...(0,p.mergeProps)(k,K,w)}),[M,j,P,k,K,w])}}({ref:t,...e});return(0,h.jsx)(n,{...b(),children:(0,h.jsxs)(h.Fragment,{children:[g,v&&y]})})});g.displayName="HeroUI.Link",e.s(["Link",()=>g],24597)}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.