File size: 20,330 Bytes
cbacdac
1
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{25179:function(e,t,r){Promise.resolve().then(r.bind(r,91048)),Promise.resolve().then(r.bind(r,16502)),Promise.resolve().then(r.bind(r,52515)),Promise.resolve().then(r.bind(r,38507)),Promise.resolve().then(r.bind(r,44581)),Promise.resolve().then(r.bind(r,36756)),Promise.resolve().then(r.bind(r,76895)),Promise.resolve().then(r.bind(r,2738)),Promise.resolve().then(r.bind(r,23195)),Promise.resolve().then(r.bind(r,17584)),Promise.resolve().then(r.bind(r,62187)),Promise.resolve().then(r.bind(r,16808)),Promise.resolve().then(r.bind(r,84285)),Promise.resolve().then(r.bind(r,77959)),Promise.resolve().then(r.bind(r,37654)),Promise.resolve().then(r.bind(r,11416)),Promise.resolve().then(r.bind(r,76484)),Promise.resolve().then(r.bind(r,62381)),Promise.resolve().then(r.bind(r,19829)),Promise.resolve().then(r.bind(r,90393)),Promise.resolve().then(r.bind(r,37967)),Promise.resolve().then(r.bind(r,63817)),Promise.resolve().then(r.bind(r,32039)),Promise.resolve().then(r.bind(r,15961)),Promise.resolve().then(r.bind(r,67738)),Promise.resolve().then(r.bind(r,42594)),Promise.resolve().then(r.bind(r,36982)),Promise.resolve().then(r.bind(r,90448)),Promise.resolve().then(r.bind(r,29340)),Promise.resolve().then(r.bind(r,16823)),Promise.resolve().then(r.bind(r,22794)),Promise.resolve().then(r.bind(r,51164)),Promise.resolve().then(r.t.bind(r,64671,23)),Promise.resolve().then(r.t.bind(r,27131,23)),Promise.resolve().then(r.t.bind(r,53054,23)),Promise.resolve().then(r.t.bind(r,44069,23)),Promise.resolve().then(r.bind(r,42371))},42371:function(e,t,r){"use strict";r.d(t,{Toaster:function(){return en}});var n=r(57437),o=r(2265),a=r(4867),s=r(22988),i=r(54887),l=r(78149),d=r(1584),u=r(90976),c=r(98324),p=r(53938),f=r(56935),m=r(31383),v=r(25171),w=r(75137),h=r(91715),b=r(1336),y=r(31725);let E="ToastProvider",[T,g,x]=(0,u.B)("Toast"),[P,_]=(0,c.b)("Toast",[x]),[S,R]=P(E),C=e=>{let{__scopeToast:t,label:r="Notification",duration:n=5e3,swipeDirection:a="right",swipeThreshold:s=50,children:i}=e,[l,d]=(0,o.useState)(null),[u,c]=(0,o.useState)(0),p=(0,o.useRef)(!1),f=(0,o.useRef)(!1);return(0,o.createElement)(T.Provider,{scope:t},(0,o.createElement)(S,{scope:t,label:r,duration:n,swipeDirection:a,swipeThreshold:s,toastCount:u,viewport:l,onViewportChange:d,onToastAdd:(0,o.useCallback)(()=>c(e=>e+1),[]),onToastRemove:(0,o.useCallback)(()=>c(e=>e-1),[]),isFocusedToastEscapeKeyDownRef:p,isClosePausedRef:f},i))};C.propTypes={label:e=>e.label&&"string"==typeof e.label&&!e.label.trim()?Error(`Invalid prop \`label\` supplied to \`${E}\`. Expected non-empty \`string\`.`):null};let N=["F8"],A="toast.viewportPause",k="toast.viewportResume",D=(0,o.forwardRef)((e,t)=>{let{__scopeToast:r,hotkey:n=N,label:a="Notifications ({hotkey})",...i}=e,l=R("ToastViewport",r),u=g(r),c=(0,o.useRef)(null),f=(0,o.useRef)(null),m=(0,o.useRef)(null),w=(0,o.useRef)(null),h=(0,d.e)(t,w,l.onViewportChange),b=n.join("+").replace(/Key/g,"").replace(/Digit/g,""),y=l.toastCount>0;(0,o.useEffect)(()=>{let e=e=>{var t;n.every(t=>e[t]||e.code===t)&&(null===(t=w.current)||void 0===t||t.focus())};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[n]),(0,o.useEffect)(()=>{let e=c.current,t=w.current;if(y&&e&&t){let r=()=>{if(!l.isClosePausedRef.current){let e=new CustomEvent(A);t.dispatchEvent(e),l.isClosePausedRef.current=!0}},n=()=>{if(l.isClosePausedRef.current){let e=new CustomEvent(k);t.dispatchEvent(e),l.isClosePausedRef.current=!1}},o=t=>{e.contains(t.relatedTarget)||n()},a=()=>{e.contains(document.activeElement)||n()};return e.addEventListener("focusin",r),e.addEventListener("focusout",o),e.addEventListener("pointermove",r),e.addEventListener("pointerleave",a),window.addEventListener("blur",r),window.addEventListener("focus",n),()=>{e.removeEventListener("focusin",r),e.removeEventListener("focusout",o),e.removeEventListener("pointermove",r),e.removeEventListener("pointerleave",a),window.removeEventListener("blur",r),window.removeEventListener("focus",n)}}},[y,l.isClosePausedRef]);let E=(0,o.useCallback)(({tabbingDirection:e})=>{let t=u().map(t=>{let r=t.ref.current,n=[r,...function(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}(r)];return"forwards"===e?n:n.reverse()});return("forwards"===e?t.reverse():t).flat()},[u]);return(0,o.useEffect)(()=>{let e=w.current;if(e){let t=t=>{let r=t.altKey||t.ctrlKey||t.metaKey;if("Tab"===t.key&&!r){var n,o,a;let r=document.activeElement,s=t.shiftKey;if(t.target===e&&s){null===(n=f.current)||void 0===n||n.focus();return}let i=E({tabbingDirection:s?"backwards":"forwards"}),l=i.findIndex(e=>e===r);X(i.slice(l+1))?t.preventDefault():s?null===(o=f.current)||void 0===o||o.focus():null===(a=m.current)||void 0===a||a.focus()}};return e.addEventListener("keydown",t),()=>e.removeEventListener("keydown",t)}},[u,E]),(0,o.createElement)(p.I0,{ref:c,role:"region","aria-label":a.replace("{hotkey}",b),tabIndex:-1,style:{pointerEvents:y?void 0:"none"}},y&&(0,o.createElement)(I,{ref:f,onFocusFromOutsideViewport:()=>{X(E({tabbingDirection:"forwards"}))}}),(0,o.createElement)(T.Slot,{scope:r},(0,o.createElement)(v.WV.ol,(0,s.Z)({tabIndex:-1},i,{ref:h}))),y&&(0,o.createElement)(I,{ref:m,onFocusFromOutsideViewport:()=>{X(E({tabbingDirection:"backwards"}))}}))}),I=(0,o.forwardRef)((e,t)=>{let{__scopeToast:r,onFocusFromOutsideViewport:n,...a}=e,i=R("ToastFocusProxy",r);return(0,o.createElement)(y.T,(0,s.Z)({"aria-hidden":!0,tabIndex:0},a,{ref:t,style:{position:"fixed"},onFocus:e=>{var t;let r=e.relatedTarget;null!==(t=i.viewport)&&void 0!==t&&t.contains(r)||n()}}))}),M="Toast",F=(0,o.forwardRef)((e,t)=>{let{forceMount:r,open:n,defaultOpen:a,onOpenChange:i,...d}=e,[u=!0,c]=(0,h.T)({prop:n,defaultProp:a,onChange:i});return(0,o.createElement)(m.z,{present:r||u},(0,o.createElement)(j,(0,s.Z)({open:u},d,{ref:t,onClose:()=>c(!1),onPause:(0,w.W)(e.onPause),onResume:(0,w.W)(e.onResume),onSwipeStart:(0,l.M)(e.onSwipeStart,e=>{e.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:(0,l.M)(e.onSwipeMove,e=>{let{x:t,y:r}=e.detail.delta;e.currentTarget.setAttribute("data-swipe","move"),e.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${t}px`),e.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${r}px`)}),onSwipeCancel:(0,l.M)(e.onSwipeCancel,e=>{e.currentTarget.setAttribute("data-swipe","cancel"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),e.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),e.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:(0,l.M)(e.onSwipeEnd,e=>{let{x:t,y:r}=e.detail.delta;e.currentTarget.setAttribute("data-swipe","end"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),e.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${t}px`),e.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${r}px`),c(!1)})})))}),[L,O]=P(M,{onClose(){}}),j=(0,o.forwardRef)((e,t)=>{let{__scopeToast:r,type:n="foreground",duration:a,open:u,onClose:c,onEscapeKeyDown:f,onPause:m,onResume:h,onSwipeStart:b,onSwipeMove:y,onSwipeCancel:E,onSwipeEnd:g,...x}=e,P=R(M,r),[_,S]=(0,o.useState)(null),C=(0,d.e)(t,e=>S(e)),N=(0,o.useRef)(null),D=(0,o.useRef)(null),I=a||P.duration,F=(0,o.useRef)(0),O=(0,o.useRef)(I),j=(0,o.useRef)(0),{onToastAdd:W,onToastRemove:K}=P,Z=(0,w.W)(()=>{var e;(null==_?void 0:_.contains(document.activeElement))&&(null===(e=P.viewport)||void 0===e||e.focus()),c()}),$=(0,o.useCallback)(e=>{e&&e!==1/0&&(window.clearTimeout(j.current),F.current=new Date().getTime(),j.current=window.setTimeout(Z,e))},[Z]);(0,o.useEffect)(()=>{let e=P.viewport;if(e){let t=()=>{$(O.current),null==h||h()},r=()=>{let e=new Date().getTime()-F.current;O.current=O.current-e,window.clearTimeout(j.current),null==m||m()};return e.addEventListener(A,r),e.addEventListener(k,t),()=>{e.removeEventListener(A,r),e.removeEventListener(k,t)}}},[P.viewport,I,m,h,$]),(0,o.useEffect)(()=>{u&&!P.isClosePausedRef.current&&$(I)},[u,I,P.isClosePausedRef,$]),(0,o.useEffect)(()=>(W(),()=>K()),[W,K]);let q=(0,o.useMemo)(()=>_?function e(t){let r=[];return Array.from(t.childNodes).forEach(t=>{if(t.nodeType===t.TEXT_NODE&&t.textContent&&r.push(t.textContent),t.nodeType===t.ELEMENT_NODE){let n=t.ariaHidden||t.hidden||"none"===t.style.display,o=""===t.dataset.radixToastAnnounceExclude;if(!n){if(o){let e=t.dataset.radixToastAnnounceAlt;e&&r.push(e)}else r.push(...e(t))}}}),r}(_):null,[_]);return P.viewport?(0,o.createElement)(o.Fragment,null,q&&(0,o.createElement)(V,{__scopeToast:r,role:"status","aria-live":"foreground"===n?"assertive":"polite","aria-atomic":!0},q),(0,o.createElement)(L,{scope:r,onClose:Z},(0,i.createPortal)((0,o.createElement)(T.ItemSlot,{scope:r},(0,o.createElement)(p.fC,{asChild:!0,onEscapeKeyDown:(0,l.M)(f,()=>{P.isFocusedToastEscapeKeyDownRef.current||Z(),P.isFocusedToastEscapeKeyDownRef.current=!1})},(0,o.createElement)(v.WV.li,(0,s.Z)({role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":u?"open":"closed","data-swipe-direction":P.swipeDirection},x,{ref:C,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:(0,l.M)(e.onKeyDown,e=>{"Escape"!==e.key||(null==f||f(e.nativeEvent),e.nativeEvent.defaultPrevented||(P.isFocusedToastEscapeKeyDownRef.current=!0,Z()))}),onPointerDown:(0,l.M)(e.onPointerDown,e=>{0===e.button&&(N.current={x:e.clientX,y:e.clientY})}),onPointerMove:(0,l.M)(e.onPointerMove,e=>{if(!N.current)return;let t=e.clientX-N.current.x,r=e.clientY-N.current.y,n=!!D.current,o=["left","right"].includes(P.swipeDirection),a=["left","up"].includes(P.swipeDirection)?Math.min:Math.max,s=o?a(0,t):0,i=o?0:a(0,r),l="touch"===e.pointerType?10:2,d={x:s,y:i},u={originalEvent:e,delta:d};n?(D.current=d,U("toast.swipeMove",y,u,{discrete:!1})):H(d,P.swipeDirection,l)?(D.current=d,U("toast.swipeStart",b,u,{discrete:!1}),e.target.setPointerCapture(e.pointerId)):(Math.abs(t)>l||Math.abs(r)>l)&&(N.current=null)}),onPointerUp:(0,l.M)(e.onPointerUp,e=>{let t=D.current,r=e.target;if(r.hasPointerCapture(e.pointerId)&&r.releasePointerCapture(e.pointerId),D.current=null,N.current=null,t){let r=e.currentTarget,n={originalEvent:e,delta:t};H(t,P.swipeDirection,P.swipeThreshold)?U("toast.swipeEnd",g,n,{discrete:!0}):U("toast.swipeCancel",E,n,{discrete:!0}),r.addEventListener("click",e=>e.preventDefault(),{once:!0})}})})))),P.viewport))):null});j.propTypes={type:e=>e.type&&!["foreground","background"].includes(e.type)?Error(`Invalid prop \`type\` supplied to \`${M}\`. Expected \`foreground | background\`.`):null};let V=e=>{let{__scopeToast:t,children:r,...n}=e,a=R(M,t),[s,i]=(0,o.useState)(!1),[l,d]=(0,o.useState)(!1);return function(e=()=>{}){let t=(0,w.W)(e);(0,b.b)(()=>{let e=0,r=0;return e=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(e),window.cancelAnimationFrame(r)}},[t])}(()=>i(!0)),(0,o.useEffect)(()=>{let e=window.setTimeout(()=>d(!0),1e3);return()=>window.clearTimeout(e)},[]),l?null:(0,o.createElement)(f.h,{asChild:!0},(0,o.createElement)(y.T,n,s&&(0,o.createElement)(o.Fragment,null,a.label," ",r)))},W=(0,o.forwardRef)((e,t)=>{let{__scopeToast:r,...n}=e;return(0,o.createElement)(v.WV.div,(0,s.Z)({},n,{ref:t}))}),K=(0,o.forwardRef)((e,t)=>{let{__scopeToast:r,...n}=e;return(0,o.createElement)(v.WV.div,(0,s.Z)({},n,{ref:t}))}),Z=(0,o.forwardRef)((e,t)=>{let{altText:r,...n}=e;return r?(0,o.createElement)(q,{altText:r,asChild:!0},(0,o.createElement)($,(0,s.Z)({},n,{ref:t}))):null});Z.propTypes={altText:e=>e.altText?null:Error("Missing prop `altText` expected on `ToastAction`")};let $=(0,o.forwardRef)((e,t)=>{let{__scopeToast:r,...n}=e,a=O("ToastClose",r);return(0,o.createElement)(q,{asChild:!0},(0,o.createElement)(v.WV.button,(0,s.Z)({type:"button"},n,{ref:t,onClick:(0,l.M)(e.onClick,a.onClose)})))}),q=(0,o.forwardRef)((e,t)=>{let{__scopeToast:r,altText:n,...a}=e;return(0,o.createElement)(v.WV.div,(0,s.Z)({"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":n||void 0},a,{ref:t}))});function U(e,t,r,{discrete:n}){let o=r.originalEvent.currentTarget,a=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?(0,v.jH)(o,a):o.dispatchEvent(a)}let H=(e,t,r=0)=>{let n=Math.abs(e.x),o=Math.abs(e.y),a=n>o;return"left"===t||"right"===t?a&&n>r:!a&&o>r};function X(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}var B=r(12218),z=r(49354);let Y=o.forwardRef((e,t)=>{let{className:r,...o}=e;return(0,n.jsx)(D,{ref:t,className:(0,z.cn)("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",r),...o})});Y.displayName=D.displayName;let G=(0,B.j)("group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),J=o.forwardRef((e,t)=>{let{className:r,variant:o,...a}=e;return(0,n.jsx)(F,{ref:t,className:(0,z.cn)(G({variant:o}),r),...a})});J.displayName=F.displayName,o.forwardRef((e,t)=>{let{className:r,...o}=e;return(0,n.jsx)(Z,{ref:t,className:(0,z.cn)("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",r),...o})}).displayName=Z.displayName;let Q=o.forwardRef((e,t)=>{let{className:r,...o}=e;return(0,n.jsx)($,{ref:t,className:(0,z.cn)("absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",r),"toast-close":"",...o,children:(0,n.jsx)(a.Pxu,{className:"h-4 w-4"})})});Q.displayName=$.displayName;let ee=o.forwardRef((e,t)=>{let{className:r,...o}=e;return(0,n.jsx)(W,{ref:t,className:(0,z.cn)("text-sm font-semibold [&+div]:text-xs",r),...o})});ee.displayName=W.displayName;let et=o.forwardRef((e,t)=>{let{className:r,...o}=e;return(0,n.jsx)(K,{ref:t,className:(0,z.cn)("text-sm opacity-90",r),...o})});et.displayName=K.displayName;var er=r(78068);function en(){let{toasts:e}=(0,er.pm)();return(0,n.jsxs)(C,{children:[e.map(function(e){let{id:t,title:r,description:o,action:a,...s}=e;return(0,n.jsxs)(J,{...s,children:[(0,n.jsxs)("div",{className:"grid gap-1",children:[r&&(0,n.jsx)(ee,{children:r}),o&&(0,n.jsx)(et,{children:o})]}),a,(0,n.jsx)(Q,{})]},t)}),(0,n.jsx)(Y,{})]})}},78068:function(e,t,r){"use strict";r.d(t,{Am:function(){return c},pm:function(){return p}});var n=r(2265);let o=0,a=new Map,s=e=>{if(a.has(e))return;let t=setTimeout(()=>{a.delete(e),u({type:"REMOVE_TOAST",toastId:e})},1e6);a.set(e,t)},i=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:r}=t;return r?s(r):e.toasts.forEach(e=>{s(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===r||void 0===r?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},l=[],d={toasts:[]};function u(e){d=i(d,e),l.forEach(e=>{e(d)})}function c(e){let{...t}=e,r=(o=(o+1)%Number.MAX_SAFE_INTEGER).toString(),n=()=>u({type:"DISMISS_TOAST",toastId:r});return u({type:"ADD_TOAST",toast:{...t,id:r,open:!0,onOpenChange:e=>{e||n()}}}),{id:r,dismiss:n,update:e=>u({type:"UPDATE_TOAST",toast:{...e,id:r}})}}function p(){let[e,t]=n.useState(d);return n.useEffect(()=>(l.push(t),()=>{let e=l.indexOf(t);e>-1&&l.splice(e,1)}),[e]),{...e,toast:c,dismiss:e=>u({type:"DISMISS_TOAST",toastId:e})}}},49354:function(e,t,r){"use strict";r.d(t,{cn:function(){return a}});var n=r(44839),o=r(96164);function a(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,o.m6)((0,n.W)(t))}},44069:function(){},53054:function(){},27131:function(e){e.exports={style:{fontFamily:"'__Inter_aaf875', '__Inter_Fallback_aaf875'",fontStyle:"normal"},className:"__className_aaf875",variable:"__variable_aaf875"}},64671:function(e){e.exports={style:{fontFamily:"'__Inter_aaf875', '__Inter_Fallback_aaf875'",fontStyle:"normal"},className:"__className_aaf875"}},52515:function(e,t,r){"use strict";r.r(t),r.d(t,{AspectRatio:function(){return s}});var n=r(22988),o=r(2265),a=r(25171);let s=(0,o.forwardRef)((e,t)=>{let{ratio:r=1,style:s,...i}=e;return(0,o.createElement)("div",{style:{position:"relative",width:"100%",paddingBottom:`${100/r}%`},"data-radix-aspect-ratio-wrapper":""},(0,o.createElement)(a.WV.div,(0,n.Z)({},i,{ref:t,style:{...s,position:"absolute",top:0,right:0,bottom:0,left:0}})))})},77959:function(e,t,r){"use strict";r.r(t),r.d(t,{Portal:function(){return n.h}});var n=r(56935)},22794:function(e,t,r){"use strict";r.r(t),r.d(t,{VisuallyHidden:function(){return n.T}});var n=r(31725)},51164:function(e,t,r){"use strict";r.d(t,{Analytics:function(){return l}});var n=r(2265),o=()=>{window.va||(window.va=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];(window.vaq=window.vaq||[]).push(t)})};function a(){return"undefined"!=typeof window}function s(){return"production"}function i(){return"development"===((a()?window.vam:s())||"production")}function l(e){return(0,n.useEffect)(()=>{!function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{debug:!0};if(!a())return;(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"auto";if("auto"===e){window.vam=s();return}window.vam=e})(t.mode),o(),t.beforeSend&&(null==(e=window.va)||e.call(window,"beforeSend",t.beforeSend));let r=t.scriptSrc||(i()?"https://va.vercel-scripts.com/v1/script.debug.js":"/_vercel/insights/script.js");if(document.head.querySelector('script[src*="'.concat(r,'"]')))return;let n=document.createElement("script");n.src=r,n.defer=!0,n.dataset.sdkn="@vercel/analytics"+(t.framework?"/".concat(t.framework):""),n.dataset.sdkv="1.3.1",t.disableAutoTrack&&(n.dataset.disableAutoTrack="1"),t.endpoint&&(n.dataset.endpoint=t.endpoint),t.dsn&&(n.dataset.dsn=t.dsn),n.onerror=()=>{let e=i()?"Please check if any ad blockers are enabled and try again.":"Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.";console.log("[Vercel Web Analytics] Failed to load script from ".concat(r,". ").concat(e))},i()&&!1===t.debug&&(n.dataset.debug="false"),document.head.appendChild(n)}({framework:e.framework||"react",...void 0!==e.route&&{disableAutoTrack:!0},...e})},[]),(0,n.useEffect)(()=>{e.route&&e.path&&function(e){var t;let{route:r,path:n}=e;null==(t=window.va)||t.call(window,"pageview",{route:r,path:n})}({route:e.route,path:e.path})},[e.route,e.path]),null}}},function(e){e.O(0,[51,532,310,868,297,786,813,971,23,744],function(){return e(e.s=25179)}),_N_E=e.O()}]);