1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="63080a8f-b33a-4030-bee2-39998add9db4",e._sentryDebugIdIdentifier="sentry-dbid-63080a8f-b33a-4030-bee2-39998add9db4")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[451],{623:(e,t,n)=>{let r;n.d(t,{Mz:()=>eI,UC:()=>eF,ZL:()=>eN,bL:()=>eM});var i,o=n(67109),l=n.t(o,2);function a(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}function u(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function s(...e){return t=>{let n=!1,r=e.map(e=>{let r=u(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():u(e[t],null)}}}}function c(...e){return o.useCallback(s(...e),e)}"u">typeof window&&window.document&&window.document.createElement;var f=n(13306);function d(e,t=[]){let n=[],r=()=>{let t=n.map(e=>o.createContext(e));return function(n){let r=n?.[e]||t;return o.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return r.scopeName=e,[function(t,r){let i=o.createContext(r),l=n.length;n=[...n,r];let a=t=>{let{scope:n,children:r,...a}=t,u=n?.[e]?.[l]||i,s=o.useMemo(()=>a,Object.values(a));return(0,f.jsx)(u.Provider,{value:s,children:r})};return a.displayName=t+"Provider",[a,function(n,a){let u=a?.[e]?.[l]||i,s=o.useContext(u);if(s)return s;if(void 0!==r)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return o.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}(r,...t)]}var p=n(80847);function h(e){var t;let n,r=(t=e,(n=o.forwardRef((e,t)=>{let{children:n,...r}=e;if(o.isValidElement(n)){var i;let e,l,a=(i=n,(l=(e=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.ref:(l=(e=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.props.ref:i.props.ref||i.ref),u=function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props);return n.type!==o.Fragment&&(u.ref=t?s(t,a):a),o.cloneElement(n,u)}return o.Children.count(n)>1?o.Children.only(null):null})).displayName=`${t}.SlotClone`,n),i=o.forwardRef((e,t)=>{let{children:n,...i}=e,l=o.Children.toArray(n),a=l.find(g);if(a){let e=a.props.children,n=l.map(t=>t!==a?t:o.Children.count(e)>1?o.Children.only(null):o.isValidElement(e)?e.props.children:null);return(0,f.jsx)(r,{...i,ref:t,children:o.isValidElement(e)?o.cloneElement(e,void 0,n):null})}return(0,f.jsx)(r,{...i,ref:t,children:n})});return i.displayName=`${e}.Slot`,i}var m=Symbol("radix.slottable");function g(e){return o.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===m}var y=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=h(`Primitive.${t}`),r=o.forwardRef((e,r)=>{let{asChild:i,...o}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,f.jsx)(i?n:t,{...o,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function v(e){let t=o.useRef(e);return o.useEffect(()=>{t.current=e}),o.useMemo(()=>(...e)=>t.current?.(...e),[])}var b="dismissableLayer.update",x=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),k=o.forwardRef((e,t)=>{let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:s,onDismiss:d,...p}=e,h=o.useContext(x),[m,g]=o.useState(null),k=m?.ownerDocument??globalThis?.document,[,E]=o.useState({}),C=c(t,e=>g(e)),P=Array.from(h.layers),[R]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),O=P.indexOf(R),T=m?P.indexOf(m):-1,A=h.layersWithOutsidePointerEventsDisabled.size>0,L=T>=O,D=function(e,t=globalThis?.document){let n=v(e),r=o.useRef(!1),i=o.useRef(()=>{});return o.useEffect(()=>{let e=e=>
1{if(e.target&&!r.current){let r=function(){S("dismissableLayer.pointerDownOutside",n,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=r,t.addEventListener("click",i.current,{once:!0})):r()}else t.removeEventListener("click",i.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}(e=>{let t=e.target,n=[...h.branches].some(e=>e.contains(t));L&&!n&&(l?.(e),s?.(e),e.defaultPrevented||d?.())},k),M=function(e,t=globalThis?.document){let n=v(e),r=o.useRef(!1);return o.useEffect(()=>{let e=e=>{e.target&&!r.current&&S("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}(e=>{let t=e.target;![...h.branches].some(e=>e.contains(t))&&(u?.(e),s?.(e),e.defaultPrevented||d?.())},k);return!function(e,t=globalThis?.document){let n=v(e);o.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{T===h.layers.size-1&&(r?.(e),!e.defaultPrevented&&d&&(e.preventDefault(),d()))},k),o.useEffect(()=>{if(m)return n&&(0===h.layersWithOutsidePointerEventsDisabled.size&&(i=k.body.style.pointerEvents,k.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(m)),h.layers.add(m),w(),()=>{n&&1===h.layersWithOutsidePointerEventsDisabled.size&&(k.body.style.pointerEvents=i)}},[m,k,n,h]),o.useEffect(()=>()=>{m&&(h.layers.delete(m),h.layersWithOutsidePointerEventsDisabled.delete(m),w())},[m,h]),o.useEffect(()=>{let e=()=>E({});return document.addEventListener(b,e),()=>document.removeEventListener(b,e)},[]),(0,f.jsx)(y.div,{...p,ref:C,style:{pointerEvents:A?L?"auto":"none":void 0,...e.style},onFocusCapture:a(e.onFocusCapture,M.onFocusCapture),onBlurCapture:a(e.onBlurCapture,M.onBlurCapture),onPointerDownCapture:a(e.onPointerDownCapture,D.onPointerDownCapture)})});function w(){let e=new CustomEvent(b);document.dispatchEvent(e)}function S(e,t,n,{discrete:r}){let i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});if(t&&i.addEventListener(e,t,{once:!0}),r)i&&p.flushSync(()=>i.dispatchEvent(o));else i.dispatchEvent(o)}k.displayName="DismissableLayer",o.forwardRef((e,t)=>{let n=o.useContext(x),r=o.useRef(null),i=c(t,r);return o.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,f.jsx)(y.div,{...e,ref:i})}).displayName="DismissableLayerBranch";var E=0;function C(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var P="focusScope.autoFocusOnMount",R="focusScope.autoFocusOnUnmount",O={bubbles:!1,cancelable:!0},T=o.forwardRef((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:l,...a}=e,[u,s]=o.useState(null),d=v(i),p=v(l),h=o.useRef(null),m=c(t,e=>s(e)),g=o.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;o.useEffect(()=>{if(r){let e=function(e){if(g.paused||!u)return;let t=e.target;u.contains(t)?h.current=t:D(h.current,{select:!0})},t=function(e){if(g.paused||!u)return;let t=e.relatedTarget;null!==t&&(u.contains(t)||D(h.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&D(u)});return u&&n.observe(u,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,u,g.paused]),o.useEffect(()=>{if(u){M.add(g);let e=document.activeElement;if(!u.contains(e)){let t=new CustomEvent(P,O);u.addEventListener(P,d),u.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(D(r,{select:t}),document.activeElement!==n)return}(A(u).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&D(u))}return()=>{u.removeEventListener(P,d),setTimeout(()=>{let t=new CustomEvent(R,O);u.addEventListener(R,p),u.dispatchEvent(t),t.defaultPrevented||D(e??document.body,{select:!0}),u.removeEventListener(R,p),M.remove(g)},0)}}},[u,d,p,g]);let b=o.useCallback(e=>{if(!n&&!r||g.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){var o;let t,r=e.currentTarget,[l,a]=[L(t=A(o=r),o),L(t.reverse(),o)];l&&a?e.shiftKey||i!==a?e.shiftKey&&i===l&&(e.preventDefault(),n&&D(a,{select:!0})):(e.preventDefault(),n&&D(l,{select:!0})):i===r&&e.preventDefault()}},[n,r,g.paused]);return(0,f.jsx)(y.div,{tabIndex:-1,...a,ref:m,onKeyDown:b})});function A(e){let t=[],n=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(;n.nextNode();)t.push(n.currentNode);return t}function L(e,t){for(let n of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function D(e,{select:t=!1}={}){if(e&&e.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}
1T.displayName="FocusScope";var M=(r=[],{add(e){let t=r[0];e!==t&&t?.pause(),(r=I(r,e)).unshift(e)},remove(e){r=I(r,e),r[0]?.resume()}});function I(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}var N=globalThis?.document?o.useLayoutEffect:()=>{},F=l[" useId ".trim().toString()]||(()=>void 0),_=0,j=n(78137),z=n(14513),H=o.forwardRef((e,t)=>{let{children:n,width:r=10,height:i=5,...o}=e;return(0,f.jsx)(y.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,f.jsx)("polygon",{points:"0,0 30,0 15,10"})})});H.displayName="Arrow";var B="Popper",[U,W]=d(B),[V,Q]=U(B),q=e=>{let{__scopePopper:t,children:n}=e,[r,i]=o.useState(null);return(0,f.jsx)(V,{scope:t,anchor:r,onAnchorChange:i,children:n})};q.displayName=B;var $="PopperAnchor",K=o.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:r,...i}=e,l=Q($,n),a=o.useRef(null),u=c(t,a),s=o.useRef(null);return o.useEffect(()=>{let e=s.current;s.current=r?.current||a.current,e!==s.current&&l.onAnchorChange(s.current)}),r?null:(0,f.jsx)(y.div,{...i,ref:u})});K.displayName=$;var Y="PopperContent",[X,J]=U(Y),Z=o.forwardRef((e,t)=>{let{__scopePopper:n,side:r="bottom",sideOffset:i=0,align:l="center",alignOffset:a=0,arrowPadding:u=0,avoidCollisions:s=!0,collisionBoundary:d=[],collisionPadding:p=0,sticky:h="partial",hideWhenDetached:m=!1,updatePositionStrategy:g="optimized",onPlaced:b,...x}=e,k=Q(Y,n),[w,S]=o.useState(null),E=c(t,e=>S(e)),[C,P]=o.useState(null),R=function(e){let[t,n]=o.useState(void 0);return N(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,i;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,i=t.blockSize}else r=e.offsetWidth,i=e.offsetHeight;n({width:r,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}(C),O=R?.width??0,T=R?.height??0,A="number"==typeof p?p:{top:0,right:0,bottom:0,left:0,...p},L=Array.isArray(d)?d:[d],D=L.length>0,M={padding:A,boundary:L.filter(en),altBoundary:D},{refs:I,floatingStyles:F,placement:_,isPositioned:H,middlewareData:B}=(0,j.we)({strategy:"fixed",placement:r+("center"!==l?"-"+l:""),whileElementsMounted:(...e)=>(0,z.ll)(...e,{animationFrame:"always"===g}),elements:{reference:k.anchor},middleware:[(0,j.cY)({mainAxis:i+T,alignmentAxis:a}),s&&(0,j.BN)({mainAxis:!0,crossAxis:!1,limiter:"partial"===h?(0,j.ER)():void 0,...M}),s&&(0,j.UU)({...M}),(0,j.Ej)({...M,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:o}=t.reference,l=e.floating.style;l.setProperty("--radix-popper-available-width",`${n}px`),l.setProperty("--radix-popper-available-height",`${r}px`),l.setProperty("--radix-popper-anchor-width",`${i}px`),l.setProperty("--radix-popper-anchor-height",`${o}px`)}}),C&&(0,j.UE)({element:C,padding:u}),er({arrowWidth:O,arrowHeight:T}),m&&(0,j.jD)({strategy:"referenceHidden",...M})]}),[U,W]=ei(_),V=v(b);N(()=>{H&&V?.()},[H,V]);let q=B.arrow?.x,$=B.arrow?.y,K=B.arrow?.centerOffset!==0,[J,Z]=o.useState();return N(()=>{w&&Z(window.getComputedStyle(w).zIndex)},[w]),(0,f.jsx)("div",{ref:I.setFloating,"data-radix-popper-content-wrapper":"",style:{...F,transform:H?F.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:J,"--radix-popper-transform-origin":[B.transformOrigin?.x,B.transformOrigin?.y].join(" "),...B.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,f.jsx)(X,{scope:n,placedSide:U,onArrowChange:P,arrowX:q,arrowY:$,shouldHideArrow:K,children:(0,f.jsx)(y.div,{"data-side":U,"data-align":W,...x,ref:E,style:{...x.style,animation:H?void 0:"none"}})})})});Z.displayName=Y;var G="PopperArrow",ee={top:"bottom",right:"left",bottom:"top",left:"right"},et=o.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,i=J(G,n),o=ee[i.placedSide];return(0,f.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,f.jsx)(H,{...r,ref:t,style:{...r.style,display:"block"}})})});function en(e){return null!==e}et.displayName=G;var er=e=>({name:"transformOrigin",options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,o=i.arrow?.centerOffset!==0,l=o?0:e.arrowWidth,a=o?0:e.arrowHeight,[u,s]=ei(n),c={start:"0%",center:"50%",end:"100%"}[s],f=(i.arrow?.x??0)+l/2,d=(i.arrow?.y??0)+a/2,p="",h="";return"bottom"===u?(p=o?c:`${f}px`,h=`${-a}px`):"top"===u?(p=o?c:`${f}px`,h=`${r.floating.height+a}px`):"right"===u?(p=`${-a}px`,h=o?c:`${d}px`):"left"===u&&(p=`${r.floating.width+a}px`,h=o?c:`${d}px`),{data:{x:p,y:h}}}});function ei(e){let[t,n="center"]=e.split("-");return[t,n]}var eo=o.forwardRef((e,t)=>
1{let{container:n,...r}=e,[i,l]=o.useState(!1);N(()=>l(!0),[]);let a=n||i&&globalThis?.document?.body;return a?p.createPortal((0,f.jsx)(y.div,{...r,ref:t}),a):null});eo.displayName="Portal";var el=e=>{var t;let n,r,{present:i,children:l}=e,a=function(e){var t,n;let[r,i]=o.useState(),l=o.useRef(null),a=o.useRef(e),u=o.useRef("none"),[s,c]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},o.useReducer((e,t)=>n[e][t]??e,t));return o.useEffect(()=>{let e=ea(l.current);u.current="mounted"===s?e:"none"},[s]),N(()=>{let t=l.current,n=a.current;if(n!==e){let r=u.current,i=ea(t);e?c("MOUNT"):"none"===i||t?.display==="none"?c("UNMOUNT"):n&&r!==i?c("ANIMATION_OUT"):c("UNMOUNT"),a.current=e}},[e,c]),N(()=>{if(r){let e,t=r.ownerDocument.defaultView??window,n=n=>{let i=ea(l.current).includes(CSS.escape(n.animationName));if(n.target===r&&i&&(c("ANIMATION_END"),!a.current)){let n=r.style.animationFillMode;r.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===r.style.animationFillMode&&(r.style.animationFillMode=n)})}},i=e=>{e.target===r&&(u.current=ea(l.current))};return r.addEventListener("animationstart",i),r.addEventListener("animationcancel",n),r.addEventListener("animationend",n),()=>{t.clearTimeout(e),r.removeEventListener("animationstart",i),r.removeEventListener("animationcancel",n),r.removeEventListener("animationend",n)}}c("ANIMATION_END")},[r,c]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:o.useCallback(e=>{l.current=e?getComputedStyle(e):null,i(e)},[])}}(i),u="function"==typeof l?l({present:a.isPresent}):o.Children.only(l),s=c(a.ref,(t=u,(r=(n=Object.getOwnPropertyDescriptor(t.props,"ref")?.get)&&"isReactWarning"in n&&n.isReactWarning)?t.ref:(r=(n=Object.getOwnPropertyDescriptor(t,"ref")?.get)&&"isReactWarning"in n&&n.isReactWarning)?t.props.ref:t.props.ref||t.ref));return"function"==typeof l||a.isPresent?o.cloneElement(u,{ref:s}):null};function ea(e){return e?.animationName||"none"}el.displayName="Presence";var eu=l[" useInsertionEffect ".trim().toString()]||N;Symbol("RADIX:SYNC_STATE");var es=n(80421),ec=n(23613),ef="Popover",[ed,ep]=d(ef,[W]),eh=W(),[em,eg]=ed(ef),ey=e=>{let{__scopePopover:t,children:n,open:r,defaultOpen:i,onOpenChange:l,modal:a=!1}=e,u=eh(t),s=o.useRef(null),[c,d]=o.useState(!1),[p,h]=function({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){let[i,l,a]=function({defaultProp:e,onChange:t}){let[n,r]=o.useState(e),i=o.useRef(n),l=o.useRef(t);return eu(()=>{l.current=t},[t]),o.useEffect(()=>{i.current!==n&&(l.current?.(n),i.current=n)},[n,i]),[n,r,l]}({defaultProp:t,onChange:n}),u=void 0!==e,s=u?e:i;{let t=o.useRef(void 0!==e);o.useEffect(()=>{let e=t.current;if(e!==u){let t=u?"controlled":"uncontrolled";console.warn(`${r} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=u},[u,r])}return[s,o.useCallback(t=>{if(u){let n="function"==typeof t?t(e):t;n!==e&&a.current?.(n)}else l(t)},[u,e,l,a])]}({prop:r,defaultProp:i??!1,onChange:l,caller:ef});return(0,f.jsx)(q,{...u,children:(0,f.jsx)(em,{scope:t,contentId:function(){let[e,t]=o.useState(F());return N(()=>{t(e=>e??String(_++))},[void 0]),e?`radix-${e}`:""}(),triggerRef:s,open:p,onOpenChange:h,onOpenToggle:o.useCallback(()=>h(e=>!e),[h]),hasCustomAnchor:c,onCustomAnchorAdd:o.useCallback(()=>d(!0),[]),onCustomAnchorRemove:o.useCallback(()=>d(!1),[]),modal:a,children:n})})};ey.displayName=ef;var ev="PopoverAnchor",eb=o.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=eg(ev,n),l=eh(n),{onCustomAnchorAdd:a,onCustomAnchorRemove:u}=i;return o.useEffect(()=>(a(),()=>u()),[a,u]),(0,f.jsx)(K,{...l,...r,ref:t})});eb.displayName=ev;var ex="PopoverTrigger";o.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=eg(ex,n),o=eh(n),l=c(t,i.triggerRef),u=(0,f.jsx)(y.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":eD(i.open),...r,ref:l,onClick:a(e.onClick,i.onOpenToggle)});return i.hasCustomAnchor?u:(0,f.jsx)(K,{asChild:!0,...o,children:u})}).displayName=ex;var ek="PopoverPortal",[ew,eS]=ed(ek,{forceMount:void 0}),eE=e=>{let{__scopePopover:t,forceMount:n,children:r,container:i}=e,o=eg(ek,t);return(0,f.jsx)(ew,{scope:t,forceMount:n,children:(0,f.jsx)(el,{present:n||o.open,children:(0,f.jsx)(eo,{asChild:!0,container:i,children:r})})})};eE.displayName=ek;var eC="PopoverContent",eP=o.forwardRef((e,t)=>
1{let n=eS(eC,e.__scopePopover),{forceMount:r=n.forceMount,...i}=e,o=eg(eC,e.__scopePopover);return(0,f.jsx)(el,{present:r||o.open,children:o.modal?(0,f.jsx)(eO,{...i,ref:t}):(0,f.jsx)(eT,{...i,ref:t})})});eP.displayName=eC;var eR=h("PopoverContent.RemoveScroll"),eO=o.forwardRef((e,t)=>{let n=eg(eC,e.__scopePopover),r=o.useRef(null),i=c(t,r),l=o.useRef(!1);return o.useEffect(()=>{let e=r.current;if(e)return(0,es.Eq)(e)},[]),(0,f.jsx)(ec.A,{as:eR,allowPinchZoom:!0,children:(0,f.jsx)(eA,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:a(e.onCloseAutoFocus,e=>{e.preventDefault(),l.current||n.triggerRef.current?.focus()}),onPointerDownOutside:a(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;l.current=2===t.button||n},{checkForDefaultPrevented:!1}),onFocusOutside:a(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),eT=o.forwardRef((e,t)=>{let n=eg(eC,e.__scopePopover),r=o.useRef(!1),i=o.useRef(!1);return(0,f.jsx)(eA,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));let o=t.target;n.triggerRef.current?.contains(o)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),eA=o.forwardRef((e,t)=>{let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:l,disableOutsidePointerEvents:a,onEscapeKeyDown:u,onPointerDownOutside:s,onFocusOutside:c,onInteractOutside:d,...p}=e,h=eg(eC,n),m=eh(n);return o.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??C()),document.body.insertAdjacentElement("beforeend",e[1]??C()),E++,()=>{1===E&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),E--}},[]),(0,f.jsx)(T,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:l,children:(0,f.jsx)(k,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:d,onEscapeKeyDown:u,onPointerDownOutside:s,onFocusOutside:c,onDismiss:()=>h.onOpenChange(!1),children:(0,f.jsx)(Z,{"data-state":eD(h.open),role:"dialog",id:h.contentId,...m,...p,ref:t,style:{...p.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),eL="PopoverClose";function eD(e){return e?"open":"closed"}o.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=eg(eL,n);return(0,f.jsx)(y.button,{type:"button",...r,ref:t,onClick:a(e.onClick,()=>i.onOpenChange(!1))})}).displayName=eL,o.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=eh(n);return(0,f.jsx)(et,{...i,...r,ref:t})}).displayName="PopoverArrow";var eM=ey,eI=eb,eN=eE,eF=eP},2133:(e,t,n)=>{n.d(t,{I:()=>s});var r=n(78447),i=n(92199),o=n(18605);let l=/[A-Z]/g,a=/-[a-z]/g,u=/^data[-\w.:]+$/i;function s(e,t){let n=(0,o.S)(t),s=t,d=i.R;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&u.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(a,f);s="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!a.test(e)){let n=e.replace(l,c);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}d=r.E}return new d(s,t)}function c(e){return"-"+e.toLowerCase()}function f(e){return e.charAt(1).toUpperCase()}},8087:(e,t,n)=>{n.d(t,{Ay:()=>c});let r="object"==typeof self?self:globalThis,i=e=>{var t;let n,i;return(t=new Map,n=(e,n)=>(t.set(n,e),e),i=o=>{if(t.has(o))return t.get(o);let[l,a]=e[o];switch(l){case 0:case -1:return n(a,o);case 1:{let e=n([],o);for(let t of a)e.push(i(t));return e}case 2:{let e=n({},o);for(let[t,n]of a)e[i(t)]=i(n);return e}case 3:return n(new Date(a),o);case 4:{let{source:e,flags:t}=a;return n(new RegExp(e,t),o)}case 5:{let e=n(new Map,o);for(let[t,n]of a)e.set(i(t),i(n));return e}
1case 6:{let e=n(new Set,o);for(let t of a)e.add(i(t));return e}case 7:{let{name:e,message:t}=a;return n(new r[e](t),o)}case 8:return n(BigInt(a),o);case"BigInt":return n(Object(BigInt(a)),o);case"ArrayBuffer":return n(new Uint8Array(a).buffer,a);case"DataView":{let{buffer:e}=new Uint8Array(a);return n(new DataView(e),a)}}return n(new r[l](a),o)})(0)},{toString:o}={},{keys:l}=Object,a=e=>{let t=typeof e;if("object"!==t||!e)return[0,t];let n=o.call(e).slice(8,-1);switch(n){case"Array":return[1,""];case"Object":return[2,""];case"Date":return[3,""];case"RegExp":return[4,""];case"Map":return[5,""];case"Set":return[6,""];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},u=([e,t])=>0===e&&("function"===t||"symbol"===t),s=(e,{json:t,lossy:n}={})=>{var r,i,o;let s,c,f=[];return(r=!(t||n),i=!!t,o=new Map,s=(e,t)=>{let n=f.push(e)-1;return o.set(t,n),n},c=e=>{if(o.has(e))return o.get(e);let[t,n]=a(e);switch(t){case 0:{let i=e;switch(n){case"bigint":t=8,i=e.toString();break;case"function":case"symbol":if(r)throw TypeError("unable to serialize "+n);i=null;break;case"undefined":return s([-1],e)}return s([t,i],e)}case 1:{if(n){let t=e;return"DataView"===n?t=new Uint8Array(e.buffer):"ArrayBuffer"===n&&(t=new Uint8Array(e)),s([n,[...t]],e)}let r=[],i=s([t,r],e);for(let t of e)r.push(c(t));return i}case 2:{if(n)switch(n){case"BigInt":return s([n,e.toString()],e);case"Boolean":case"Number":case"String":return s([n,e.valueOf()],e)}if(i&&"toJSON"in e)return c(e.toJSON());let o=[],f=s([t,o],e);for(let t of l(e))(r||!u(a(e[t])))&&o.push([c(t),c(e[t])]);return f}case 3:return s([t,e.toISOString()],e);case 4:{let{source:n,flags:r}=e;return s([t,{source:n,flags:r}],e)}case 5:{let n=[],i=s([t,n],e);for(let[t,i]of e)(r||!(u(a(t))||u(a(i))))&&n.push([c(t),c(i)]);return i}case 6:{let n=[],i=s([t,n],e);for(let t of e)(r||!u(a(t)))&&n.push(c(t));return i}}let{message:f}=e;return s([t,{name:n,message:f}],e)})(e),f},c="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?i(s(e,t)):structuredClone(e):(e,t)=>i(s(e,t))},12720:(e,t,n)=>{n.d(t,{w:()=>o});var r=n(67109),i=r.createContext(!1),o=()=>r.useContext(i);i.Provider},14513:(e,t,n)=>{let r;n.d(t,{UE:()=>ex,ll:()=>eh,rD:()=>ew,UU:()=>ey,jD:()=>eb,ER:()=>ek,cY:()=>em,BN:()=>eg,Ej:()=>ev});let i=["top","right","bottom","left"],o=Math.min,l=Math.max,a=Math.round,u=Math.floor,s=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"};function f(e,t){return"function"==typeof e?e(t):e}function d(e){return e.split("-")[0]}function p(e){return e.split("-")[1]}function h(e){return"x"===e?"y":"x"}function m(e){return"y"===e?"height":"width"}function g(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function y(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let v=["left","right"],b=["right","left"],x=["top","bottom"],k=["bottom","top"];function w(e){let t=d(e);return c[t]+e.slice(t.length)}function S(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function E(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function C(e,t,n){let r,{reference:i,floating:o}=e,l=g(t),a=h(g(t)),u=m(a),s=d(t),c="y"===l,f=i.x+i.width/2-o.width/2,y=i.y+i.height/2-o.height/2,v=i[u]/2-o[u]/2;switch(s){case"top":r={x:f,y:i.y-o.height};break;case"bottom":r={x:f,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:y};break;case"left":r={x:i.x-o.width,y:y};break;default:r={x:i.x,y:i.y}}switch(p(t)){case"start":r[a]-=v*(n&&c?-1:1);break;case"end":r[a]+=v*(n&&c?-1:1)}return r}async function P(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:o,rects:l,elements:a,strategy:u}=e,{boundary:s="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=f(t,e),m=S(h),g=a[p?"floating"===d?"reference":"floating":d],y=E(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(g)))||n?g:g.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:s,rootBoundary:c,strategy:u})),v="floating"===d?{x:r,y:i,width:l.floating.width,height:l.floating.height}:l.reference,b=await (null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),x=await (null==o.isElement?void 0:o.isElement(b))&&await (null==o.getScale?void 0:o.getScale(b))||{x:1,y:1},k=E(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:b,strategy:u}):v);return{top:(y.top-k.top+m.top)/x.y,bottom:(k.bottom-y.bottom+m.bottom)/x.y,left:(y.left-k.left+m.left)/x.x,right:(k.right-y.right+m.right)/x.x}}let R=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,a=l.detectOverflow?l:{...l,detectOverflow:P},u=await (null==l.isRTL?void 0:l.isRTL(t)),s=await l.getElementRects({reference:e,floating:t,strategy:i}
1),{x:c,y:f}=C(s,r,u),d=r,p=0,h={};for(let n=0;n<o.length;n++){let m=o[n];if(!m)continue;let{name:g,fn:y}=m,{x:v,y:b,data:x,reset:k}=await y({x:c,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:s,platform:a,elements:{reference:e,floating:t}});c=null!=v?v:c,f=null!=b?b:f,h[g]={...h[g],...x},k&&p<50&&(p++,"object"==typeof k&&(k.placement&&(d=k.placement),k.rects&&(s=!0===k.rects?await l.getElementRects({reference:e,floating:t,strategy:i}):k.rects),{x:c,y:f}=C(s,d,u)),n=-1)}return{x:c,y:f,placement:d,strategy:i,middlewareData:h}};function O(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function T(e){return i.some(t=>e[t]>=0)}let A=new Set(["left","top"]);async function L(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),l=d(n),a=p(n),u="y"===g(n),s=A.has(l)?-1:1,c=o&&u?-1:1,h=f(t,e),{mainAxis:m,crossAxis:y,alignmentAxis:v}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return a&&"number"==typeof v&&(y="end"===a?-1*v:v),u?{x:y*c,y:m*s}:{x:m*s,y:y*c}}function D(){return"u">typeof window}function M(e){return F(e)?(e.nodeName||"").toLowerCase():"#document"}function I(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function N(e){var t;return null==(t=(F(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function F(e){return!!D()&&(e instanceof Node||e instanceof I(e).Node)}function _(e){return!!D()&&(e instanceof Element||e instanceof I(e).Element)}function j(e){return!!D()&&(e instanceof HTMLElement||e instanceof I(e).HTMLElement)}function z(e){return!(!D()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof I(e).ShadowRoot)}function H(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=K(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==i&&"contents"!==i}function B(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let U=/transform|translate|scale|rotate|perspective|filter/,W=/paint|layout|strict|content/,V=e=>!!e&&"none"!==e;function Q(e){let t=_(e)?K(e):e;return V(t.transform)||V(t.translate)||V(t.scale)||V(t.rotate)||V(t.perspective)||!q()&&(V(t.backdropFilter)||V(t.filter))||U.test(t.willChange||"")||W.test(t.contain||"")}function q(){return null==r&&(r="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),r}function $(e){return/^(html|body|#document)$/.test(M(e))}function K(e){return I(e).getComputedStyle(e)}function Y(e){return _(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function X(e){if("html"===M(e))return e;let t=e.assignedSlot||e.parentNode||z(e)&&e.host||N(e);return z(t)?t.host:t}function J(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=X(t);return $(n)?t.ownerDocument?t.ownerDocument.body:t.body:j(n)&&H(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),l=I(i);if(!o)return t.concat(i,J(i,[],n));{let e=Z(l);return t.concat(l,l.visualViewport||[],H(i)?i:[],e&&n?J(e):[])}}function Z(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function G(e){let t=K(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=j(e),o=i?e.offsetWidth:n,l=i?e.offsetHeight:r,u=a(n)!==o||a(r)!==l;return u&&(n=o,r=l),{width:n,height:r,$:u}}function ee(e){return _(e)?e:e.contextElement}function et(e){let t=ee(e);if(!j(t))return s(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:o}=G(t),l=(o?a(n.width):n.width)/r,u=(o?a(n.height):n.height)/i;return l&&Number.isFinite(l)||(l=1),u&&Number.isFinite(u)||(u=1),{x:l,y:u}}let en=s(0);function er(e){let t=I(e);return q()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:en}function ei(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),l=ee(e),a=s(1);t&&(r?_(r)&&(a=et(r)):a=et(e));let u=(void 0===(i=n)&&(i=!1),r&&(!i||r===I(l))&&i)?er(l):s(0),c=(o.left+u.x)/a.x,f=(o.top+u.y)/a.y,d=o.width/a.x,p=o.height/a.y;if(l){let e=I(l),t=r&&_(r)?I(r):r,n=e,i=Z(n);for(;i&&r&&t!==n;){let e=et(i),t=i.getBoundingClientRect(),r=K(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,f*=e.y,d*=e.x,p*=e.y,c+=o,f+=l,i=Z(n=I(i))}}return E({width:d,height:p,x:c,y:f})}function eo(e,t){let n=Y(e).scrollLeft;return t?t.left+n:ei(N(e)).left+n}function el(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-eo(e,n),y:n.top+t.scrollTop}}function ea(e,t,n){var r;let i;if("viewport"===t)i=function(e,t){let n=I(e),r=N(e),i=n.visualVie
1wport,o=r.clientWidth,l=r.clientHeight,a=0,u=0;if(i){o=i.width,l=i.height;let e=q();(!e||e&&"fixed"===t)&&(a=i.offsetLeft,u=i.offsetTop)}let s=eo(r);if(s<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,l=Math.abs(r.clientWidth-t.clientWidth-i);l<=25&&(o-=l)}else s<=25&&(o+=s);return{width:o,height:l,x:a,y:u}}(e,n);else if("document"===t){let t,n,o,a,u,s,c;r=N(e),t=N(r),n=Y(r),o=r.ownerDocument.body,a=l(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),u=l(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),s=-n.scrollLeft+eo(r),c=-n.scrollTop,"rtl"===K(o).direction&&(s+=l(t.clientWidth,o.clientWidth)-a),i={width:a,height:u,x:s,y:c}}else if(_(t)){let e,r,o,l,a,u;r=(e=ei(t,!0,"fixed"===n)).top+t.clientTop,o=e.left+t.clientLeft,l=j(t)?et(t):s(1),a=t.clientWidth*l.x,u=t.clientHeight*l.y,i={width:a,height:u,x:o*l.x,y:r*l.y}}else{let n=er(e);i={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return E(i)}function eu(e){return"static"===K(e).position}function es(e,t){if(!j(e)||"fixed"===K(e).position)return null;if(t)return t(e);let n=e.offsetParent;return N(e)===n&&(n=n.ownerDocument.body),n}function ec(e,t){var n;let r=I(e);if(B(e))return r;if(!j(e)){let t=X(e);for(;t&&!$(t);){if(_(t)&&!eu(t))return t;t=X(t)}return r}let i=es(e,t);for(;i&&(n=i,/^(table|td|th)$/.test(M(n)))&&eu(i);)i=es(i,t);return i&&$(i)&&eu(i)&&!Q(i)?r:i||function(e){let t=X(e);for(;j(t)&&!$(t);){if(Q(t))return t;if(B(t))break;t=X(t)}return null}(e)||r}let ef=async function(e){let t=this.getOffsetParent||ec,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=j(t),i=N(t),o="fixed"===n,l=ei(e,!0,o,t),a={scrollLeft:0,scrollTop:0},u=s(0);if(r||!r&&!o)if(("body"!==M(t)||H(i))&&(a=Y(t)),r){let e=ei(t,!0,o,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else i&&(u.x=eo(i));o&&!r&&i&&(u.x=eo(i));let c=!i||r||o?s(0):el(i,a);return{x:l.left+a.scrollLeft-u.x-c.x,y:l.top+a.scrollTop-u.y-c.y,width:l.width,height:l.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},ed={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,l=N(r),a=!!t&&B(t.floating);if(r===l||a&&o)return n;let u={scrollLeft:0,scrollTop:0},c=s(1),f=s(0),d=j(r);if((d||!d&&!o)&&(("body"!==M(r)||H(l))&&(u=Y(r)),d)){let e=ei(r);c=et(r),f.x=e.x+r.clientLeft,f.y=e.y+r.clientTop}let p=!l||d||o?s(0):el(l,u);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-u.scrollLeft*c.x+f.x+p.x,y:n.y*c.y-u.scrollTop*c.y+f.y+p.y}},getDocumentElement:N,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[..."clippingAncestors"===n?B(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=J(e,[],!1).filter(e=>_(e)&&"body"!==M(e)),i=null,o="fixed"===K(e).position,l=o?X(e):e;for(;_(l)&&!$(l);){let t=K(l),n=Q(l);n||"fixed"!==t.position||(i=null),(o?n||i:!(!n&&"static"===t.position&&i&&("absolute"===i.position||"fixed"===i.position)||H(l)&&!n&&function e(t,n){let r=X(t);return!(r===n||!_(r)||$(r))&&("fixed"===K(r).position||e(r,n))}(e,l)))?i=t:r=r.filter(e=>e!==l),l=X(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],u=ea(t,a[0],i),s=u.top,c=u.right,f=u.bottom,d=u.left;for(let e=1;e<a.length;e++){let n=ea(t,a[e],i);s=l(n.top,s),c=o(n.right,c),f=o(n.bottom,f),d=l(n.left,d)}return{width:c-d,height:f-s,x:d,y:s}},getOffsetParent:ec,getElementRects:ef,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=G(e);return{width:t,height:n}},getScale:et,isElement:_,isRTL:function(e){return"rtl"===K(e).direction}};function ep(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function eh(e,t,n,r){let i;void 0===r&&(r={});let{ancestorScroll:a=!0,ancestorResize:s=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:f="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,p=ee(e),h=a||s?[...p?J(p):[],...t?J(t):[]]:[];h.forEach(e=>{a&&e.addEventListener("scroll",n,{passive:!0}),s&&e.addEventListener("resize",n)});let m=p&&f?function(e,t){let n,r=null,i=N(e);function a(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function s(c,f){void 0===c&&(c=!1),void 0===f&&(f=1),a();let d=e.getBoundingClientRect(),{left:p,top:h,width:m,height:g}=d;if(c||t(),!m||!g)return;let y={rootMargin:-u(h)+"px "+-u(i.clientWidth-(p+m))+"px "+-u(i.clientHeight-(h+g))+"px "+-u(p)+"px",threshold:l(0,o(1,f))||1},v=!0;function b(t){let r=t[0].intersectionRatio;if(r!==f){if(!v)return s();r?s(!1,r):n=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==r||ep(d,e.getBoundingClientRect())||s(),v=!1}try{r=new IntersectionObserver(b,{...y,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(b,y)}r.observe(e)}(!0),a}(p,n):null,g=-1,y=null;c&&(y=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&y&&t&&(y.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(t)})),n()}
1),p&&!d&&y.observe(p),t&&y.observe(t));let v=d?ei(e):null;return d&&function t(){let r=ei(e);v&&!ep(v,r)&&n(),v=r,i=requestAnimationFrame(t)}(),n(),()=>{var e;h.forEach(e=>{a&&e.removeEventListener("scroll",n),s&&e.removeEventListener("resize",n)}),null==m||m(),null==(e=y)||e.disconnect(),y=null,d&&cancelAnimationFrame(i)}}let em=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:i,y:o,placement:l,middlewareData:a}=t,u=await L(t,e);return l===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:i+u.x,y:o+u.y,data:{...u,placement:l}}}}},eg=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:u=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...p}=f(e,t),m={x:n,y:r},y=await a.detectOverflow(t,p),v=g(d(i)),b=h(v),x=m[b],k=m[v];if(u){let e="y"===b?"top":"left",t="y"===b?"bottom":"right",n=x+y[e],r=x-y[t];x=l(n,o(x,r))}if(s){let e="y"===v?"top":"left",t="y"===v?"bottom":"right",n=k+y[e],r=k-y[t];k=l(n,o(k,r))}let w=c.fn({...t,[b]:x,[v]:k});return{...w,data:{x:w.x-n,y:w.y-r,enabled:{[b]:u,[v]:s}}}}}},ey=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,i,o,l,a,u,s;let c,S,E,{placement:C,middlewareData:P,rects:R,initialPlacement:O,platform:T,elements:A}=t,{mainAxis:L=!0,crossAxis:D=!0,fallbackPlacements:M,fallbackStrategy:I="bestFit",fallbackAxisSideDirection:N="none",flipAlignment:F=!0,..._}=f(e,t);if(null!=(n=P.arrow)&&n.alignmentOffset)return{};let j=d(C),z=g(O),H=d(O)===O,B=await (null==T.isRTL?void 0:T.isRTL(A.floating)),U=M||(H||!F?[w(O)]:(c=w(O),[y(O),c,y(c)])),W="none"!==N;!M&&W&&U.push(...(S=p(O),E=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?b:v;return t?v:b;case"left":case"right":return t?x:k;default:return[]}}(d(O),"start"===N,B),S&&(E=E.map(e=>e+"-"+S),F&&(E=E.concat(E.map(y)))),E));let V=[O,...U],Q=await T.detectOverflow(t,_),q=[],$=(null==(r=P.flip)?void 0:r.overflows)||[];if(L&&q.push(Q[j]),D){let e,t,n,r,i=(a=C,u=R,void 0===(s=B)&&(s=!1),e=p(a),n=m(t=h(g(a))),r="x"===t?e===(s?"end":"start")?"right":"left":"start"===e?"bottom":"top",u.reference[n]>u.floating[n]&&(r=w(r)),[r,w(r)]);q.push(Q[i[0]],Q[i[1]])}if($=[...$,{placement:C,overflows:q}],!q.every(e=>e<=0)){let e=((null==(i=P.flip)?void 0:i.index)||0)+1,t=V[e];if(t&&("alignment"!==D||z===g(t)||$.every(e=>g(e.placement)!==z||e.overflows[0]>0)))return{data:{index:e,overflows:$},reset:{placement:t}};let n=null==(o=$.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(I){case"bestFit":{let e=null==(l=$.filter(e=>{if(W){let t=g(e.placement);return t===z||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:l[0];e&&(n=e);break}case"initialPlacement":n=O}if(C!==n)return{reset:{placement:n}}}return{}}}},ev=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;let i,a,{placement:u,rects:s,platform:c,elements:h}=t,{apply:m=()=>{},...y}=f(e,t),v=await c.detectOverflow(t,y),b=d(u),x=p(u),k="y"===g(u),{width:w,height:S}=s.floating;"top"===b||"bottom"===b?(i=b,a=x===(await (null==c.isRTL?void 0:c.isRTL(h.floating))?"start":"end")?"left":"right"):(a=b,i="end"===x?"top":"bottom");let E=S-v.top-v.bottom,C=w-v.left-v.right,P=o(S-v[i],E),R=o(w-v[a],C),O=!t.middlewareData.shift,T=P,A=R;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(A=C),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(T=E),O&&!x){let e=l(v.left,0),t=l(v.right,0),n=l(v.top,0),r=l(v.bottom,0);k?A=w-2*(0!==e||0!==t?e+t:l(v.left,v.right)):T=S-2*(0!==n||0!==r?n+r:l(v.top,v.bottom))}await m({...t,availableWidth:A,availableHeight:T});let L=await c.getDimensions(h.floating);return w!==L.width||S!==L.height?{reset:{rects:!0}}:{}}}},eb=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:i="referenceHidden",...o}=f(e,t);switch(i){case"referenceHidden":{let e=O(await r.detectOverflow(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:T(e)}}}case"escaped":{let e=O(await r.detectOverflow(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:T(e)}}}default:return{}}}}},ex=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:u,elements:s,middlewareData:c}=t,{element:d,padding:y=0}=f(e,t)||{};if(null==d)return{};let v=S(y),b={x:n,y:r},x=h(g(i)),k=m(x),w=await u.getDimensions(d),E="y"===x,C=E?"clientHeight":"clientWidth",P=a.reference[k]+a.reference[x]-b[x]-a.floating[k],R=b[x]-a.reference[x],O=await (null==u.getOffsetParent?void 0:u.getOffsetParent(d)),T=O?O[C]:0;T&&await (null==u.isElement?void 0:u.isElement(O))||(T=s.floating[C]||a.floating[k]);let A=T/2-w[k]/2-1,L=o(v[E?"top":"left"],A),D=o(v[E?"bottom":"right"],A),M=T-w[k]-D,I=T/2-w[k]/2+(P/2-R/2),N=l(L,o(I,M)),F=!c.arrow&&null!=p(i)&&I!==N&&a.reference[k]/2-(I<L?L:D)-w[k]/2<0,_=F?I<L?I-L:I-M:0;return{[x]:b[x]+_,data:{[x]:N,centerOffset:I-N-_,...F&&{alignmentOffset:_}},reset:F}}}),ek=function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:o,middlewareData:l}=t,{offset:a=0,mainAxis:u=!0,crossAxis:s=!0}=f(e,t),c={x:n,y:r},p=g(i),m=h(p),y=c[m],v=c[p],b=f(a,t),x="number"==typeof b?{mainAxis:b,crossAxis:0}:{mainAxis:0,crossAxis:0,...b};if(u){let e="y"===m?"height":"width",t=o.reference[m]-o.floating[e]+x.mainAxis,n=o.reference[m]+o.reference[e]-x.mainAxis;y<t?y=t:y>n&&(y=n)}if(s){var k,w;let e="y"===m?"width":"height",t=A.has(d(i)),n=o.reference[p]-o.floating[e]+(t&&(null==(k=l.offset)?void 0:k[p])||0)+(t?0:x.crossAxis),r=o.reference[p]+o.reference[e]+(t?0:(null==(w=l.offset)?void 0:w[p])||0)-(t?x.crossAxis:0);v<n?v=n:v>r&&(v=r)}return{[m]:y,[p]:v}}}},ew=(e,t,n)=>{let r=new Map,i={platform:ed,...n},o={...i.platform,_c:r};return R(e,t,{...i,platform:o})}},18605:(e,t,n)=>{n.d(t,{S:()=>r});function r(e){return e.toLowerCase()}}
1,19488:(e,t,n)=>{n.d(t,{B:()=>o});var r=n(83733),i=n(61434);let o={partial:!0,tokenize:function(e,t,n){return function(t){return(0,i.On)(t)?(0,r.N)(e,o,"linePrefix")(t):o(t)};function o(e){return null===e||(0,i.HP)(e)?t(e):n(e)}}}},21680:(e,t,n)=>{function r(e){let t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function i(e){return e.join(" ").trim()}n.d(t,{A:()=>i,q:()=>r})},22622:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,i=/^[^-]+$/,o=/^-(webkit|moz|ms|o|khtml)-/,l=/^-(ms)-/,a=function(e,t){return t.toUpperCase()},u=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){var s;return(void 0===t&&(t={}),!(s=e)||i.test(s)||n.test(s))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(l,u):e.replace(o,u)).replace(r,a))}},23361:(e,t,n)=>{n.d(t,{C:()=>r});let r=function(e){var t,n;if(null==e)return o;if("function"==typeof e)return i(e);if("object"==typeof e){return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n<e.length;)t[n]=r(e[n]);return i(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}(e):(t=e,i(function(e){let n;for(n in t)if(e[n]!==t[n])return!1;return!0}))}if("string"==typeof e){return n=e,i(function(e){return e&&e.type===n})}throw Error("Expected function, string, or object as test")};function i(e){return function(t,n,r){return!!(function(e){return null!==e&&"object"==typeof e&&"type"in e}(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function o(){return!0}},23613:(e,t,n)=>{n.d(t,{A:()=>Y});var r,i,o,l,a,u,s,c=n(57292),f=n(67109),d="right-scroll-bar-position",p="width-before-scroll-bar";function h(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var m="u">typeof window?f.useLayoutEffect:f.useEffect,g=new WeakMap,y=(void 0===r&&(r={}),(void 0===i&&(i=function(e){return e}),o=[],l=!1,a={read:function(){if(l)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return o.length?o[o.length-1]:null},useMedium:function(e){var t=i(e,l);return o.push(t),function(){o=o.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(l=!0;o.length;){var t=o;o=[],t.forEach(e)}o={push:function(t){return e(t)},filter:function(){return o}}},assignMedium:function(e){l=!0;var t=[];if(o.length){var n=o;o=[],n.forEach(e),t=o}var r=function(){var n=t;t=[],n.forEach(e)},i=function(){return Promise.resolve().then(r)};i(),o={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),o}}}}).options=(0,c.Cl)({async:!0,ssr:!1},r),a),v=function(){},b=f.forwardRef(function(e,t){var n,r,i,o,l=f.useRef(null),a=f.useState({onScrollCapture:v,onWheelCapture:v,onTouchMoveCapture:v}),u=a[0],s=a[1],d=e.forwardProps,p=e.children,b=e.className,x=e.removeScrollBar,k=e.enabled,w=e.shards,S=e.sideCar,E=e.noRelative,C=e.noIsolation,P=e.inert,R=e.allowPinchZoom,O=e.as,T=e.gapMode,A=(0,c.Tt)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),L=(n=[l,t],r=function(e){return n.forEach(function(t){return h(t,e)})},(i=(0,f.useState)(function(){return{value:null,callback:r,facade:{get current(){return i.value},set current(value){var e=i.value;e!==value&&(i.value=value,i.callback(value,e))}}}})[0]).callback=r,o=i.facade,m(function(){var e=g.get(o);if(e){var t=new Set(e),r=new Set(n),i=o.current;t.forEach(function(e){r.has(e)||h(e,null)}),r.forEach(function(e){t.has(e)||h(e,i)})}g.set(o,n)},[n]),o),D=(0,c.Cl)((0,c.Cl)({},A),u);return f.createElement(f.Fragment,null,k&&f.createElement(S,{sideCar:y,removeScrollBar:x,shards:w,noRelative:E,noIsolation:C,inert:P,setCallbacks:s,allowPinchZoom:!!R,lockRef:l,gapMode:T}),d?f.cloneElement(f.Children.only(p),(0,c.Cl)((0,c.Cl)({},D),{ref:L})):f.createElement(void 0===O?"div":O,(0,c.Cl)({},D,{className:b,ref:L}),p))});b.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},b.classNames={fullWidth:p,zeroRight:d};var x=function(e){var t=e.sideCar,n=(0,c.Tt)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return f.createElement(r,(0,c.Cl)({},n))};
1x.isSideCarExport=!0;var k=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=s||n.nc;return t&&e.setAttribute("nonce",t),e}())){var i,o;(i=t).styleSheet?i.styleSheet.cssText=r:i.appendChild(document.createTextNode(r)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},w=function(){var e=k();return function(t,n){f.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},S=function(){var e=w();return function(t){return e(t.styles,t.dynamic),null}},E={left:0,top:0,right:0,gap:0},C=function(e){return parseInt(e||"",10)||0},P=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[C(n),C(r),C(i)]},R=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return E;var t=P(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},O=S(),T="data-scroll-locked",A=function(e,t,n,r){var i=e.left,o=e.top,l=e.right,a=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(a,"px ").concat(r,";\n }\n body[").concat(T,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(i,"px;\n padding-top: ").concat(o,"px;\n padding-right: ").concat(l,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(a,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(a,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(d," {\n right: ").concat(a,"px ").concat(r,";\n }\n \n .").concat(p," {\n margin-right: ").concat(a,"px ").concat(r,";\n }\n \n .").concat(d," .").concat(d," {\n right: 0 ").concat(r,";\n }\n \n .").concat(p," .").concat(p," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(T,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(a,"px;\n }\n")},L=function(){var e=parseInt(document.body.getAttribute(T)||"0",10);return isFinite(e)?e:0},D=function(){f.useEffect(function(){return document.body.setAttribute(T,(L()+1).toString()),function(){var e=L()-1;e<=0?document.body.removeAttribute(T):document.body.setAttribute(T,e.toString())}},[])},M=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=void 0===r?"margin":r;D();var o=f.useMemo(function(){return R(i)},[i]);return f.createElement(O,{styles:A(o,!t,i,n?"":"!important")})},I=!1;if("u">typeof window)try{var N=Object.defineProperty({},"passive",{get:function(){return I=!0,!0}});window.addEventListener("test",N,N),window.removeEventListener("test",N,N)}catch(e){I=!1}var F=!!I&&{passive:!1},_=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&(n.overflowY!==n.overflowX||"TEXTAREA"===e.tagName||"visible"!==n[t])},j=function(e,t){var n=t.ownerDocument,r=t;do{if("u">typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),z(e,r)){var i=H(e,r);if(i[1]>i[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},z=function(e,t){return"v"===e?_(t,"overflowY"):_(t,"overflowX")},H=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},B=function(e,t,n,r,i){var o,l=(o=window.getComputedStyle(t).direction,"h"===e&&"rtl"===o?-1:1),a=l*r,u=n.target,s=t.contains(u),c=!1,f=a>0,d=0,p=0;do{if(!u)break;var h=H(e,u),m=h[0],g=h[1]-h[2]-l*m;(m||g)&&z(e,u)&&(d+=g,p+=m);var y=u.parentNode;u=y&&y.nodeType===Node.DOCUMENT_FRAGMENT_NODE?y.host:y}while(!s&&u!==document.body||s&&(t.contains(u)||t===u));return f&&(i&&1>Math.abs(d)||!i&&a>d)?c=!0:!f&&(i&&1>Math.abs(p)||!i&&-a>p)&&(c=!0),c},U=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},W=function(e){return[e.deltaX,e.deltaY]},V=function(e){return e&&"current"in e?e.current:e},Q=0,q=[];let $=(u=function(e){var t=f.useRef([]),n=f.useRef([0,0]),r=f.useRef(),i=f.useState(Q++)[0],o=f.useState(S)[0],l=f.useRef(e);f.useEffect(function(){l.current=e},[e]),f.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=(0,c.fX)([e.lockRef.current],(e.shards||[]).map(V),!0).filter(
1Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var a=f.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!l.current.allowPinchZoom;var i,o=U(e),a=n.current,u="deltaX"in e?e.deltaX:a[0]-o[0],s="deltaY"in e?e.deltaY:a[1]-o[1],c=e.target,f=Math.abs(u)>Math.abs(s)?"h":"v";if("touches"in e&&"h"===f&&"range"===c.type)return!1;var d=window.getSelection(),p=d&&d.anchorNode;if(p&&(p===c||p.contains(c)))return!1;var h=j(f,c);if(!h)return!0;if(h?i=f:(i="v"===f?"h":"v",h=j(f,c)),!h)return!1;if(!r.current&&"changedTouches"in e&&(u||s)&&(r.current=i),!i)return!0;var m=r.current||i;return B(m,t,e,"h"===m?u:s,!0)},[]),u=f.useCallback(function(e){if(q.length&&q[q.length-1]===o){var n="deltaY"in e?W(e):U(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta,r[0]===n[0]&&r[1]===n[1])})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var i=(l.current.shards||[]).map(V).filter(Boolean).filter(function(t){return t.contains(e.target)});(i.length>0?a(e,i[0]):!l.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),s=f.useCallback(function(e,n,r,i){var o={name:e,delta:n,target:r,should:i,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),d=f.useCallback(function(e){n.current=U(e),r.current=void 0},[]),p=f.useCallback(function(t){s(t.type,W(t),t.target,a(t,e.lockRef.current))},[]),h=f.useCallback(function(t){s(t.type,U(t),t.target,a(t,e.lockRef.current))},[]);f.useEffect(function(){return q.push(o),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:h}),document.addEventListener("wheel",u,F),document.addEventListener("touchmove",u,F),document.addEventListener("touchstart",d,F),function(){q=q.filter(function(e){return e!==o}),document.removeEventListener("wheel",u,F),document.removeEventListener("touchmove",u,F),document.removeEventListener("touchstart",d,F)}},[]);var m=e.removeScrollBar,g=e.inert;return f.createElement(f.Fragment,null,g?f.createElement(o,{styles:"\n .block-interactivity-".concat(i," {pointer-events: none;}\n .allow-interactivity-").concat(i," {pointer-events: all;}\n")}):null,m?f.createElement(M,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},y.useMedium(u),x);var K=f.forwardRef(function(e,t){return f.createElement(b,(0,c.Cl)({},e,{ref:t,sideCar:$}))});K.classNames=b.classNames;let Y=K},27409:e=>{var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},l=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,i=t.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!o)return!1;for(r in e);return void 0===r||t.call(e,r)},a=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},u=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;else if(i)return i(e,n).value}return e[n]};e.exports=function e(){var t,n,r,i,s,c,f=arguments[0],d=1,p=arguments.length,h=!1;for("boolean"==typeof f&&(h=f,f=arguments[1]||{},d=2),(null==f||"object"!=typeof f&&"function"!=typeof f)&&(f={});d<p;++d)if(t=arguments[d],null!=t)for(n in t)r=u(f,n),f!==(i=u(t,n))&&(h&&i&&(l(i)||(s=o(i)))?(s?(s=!1,c=r&&o(r)?r:[]):c=r&&l(r)?r:{},a(f,{name:n,newValue:e(h,c,i)})):void 0!==i&&a(f,{name:n,newValue:i}));return f}},28062:function(e,t,n){var r=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(n(38521)),i=n(22622);function o(e,t){var n={};return e&&"string"==typeof e&&(0,r.default)(e,function(e,r){e&&r&&(n[(0,i.camel
1Case)(e,t)]=r)}),n}o.default=o,e.exports=o},31739:(e,t,n)=>{n.d(t,{T:()=>o});var r=n(64729),i=n(23361);function o(e,t,n){let o=(0,i.C)((n||{}).ignore||[]),l=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r<n.length;){var i;let e=n[r];t.push(["string"==typeof(i=e[0])?RegExp(function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(i),"g"):i,function(e){return"function"==typeof e?e:function(){return e}}(e[1])])}return t}(t),a=-1;for(;++a<l.length;)(0,r.VG)(e,"text",u);function u(e,t){let n,r=-1;for(;++r<t.length;){let e=t[r],i=n?n.children:void 0;if(o(e,i?i.indexOf(e):void 0,n))return;n=e}if(n)return function(e,t){let n=t[t.length-1],r=l[a][0],i=l[a][1],o=0,u=n.children.indexOf(e),s=!1,c=[];r.lastIndex=0;let f=r.exec(e.value);for(;f;){let n=f.index,l={index:f.index,input:f.input,stack:[...t,e]},a=i(...f,l);if("string"==typeof a&&(a=a.length>0?{type:"text",value:a}:void 0),!1===a?r.lastIndex=n+1:(o!==n&&c.push({type:"text",value:e.value.slice(o,n)}),Array.isArray(a)?c.push(...a):a&&c.push(a),o=n+f[0].length,s=!0),!r.global)break;f=r.exec(e.value)}return s?(o<e.value.length&&c.push({type:"text",value:e.value.slice(o)}),n.children.splice(u,1,...c)):c=[e],u+c.length}(e,t)}}},32963:(e,t,n)=>{let r;n.d(t,{h:()=>l});var i=n(67109);n(13306);var o=i.createContext((r=!1,{clearReset:()=>{r=!1},reset:()=>{r=!0},isReset:()=>r})),l=()=>i.useContext(o)},33445:(e,t,n)=>{n.d(t,{$:()=>c});var r=n(63022),i=n(93515),o=n(71063),l=n(99524),a=n(93706),u=n(71830),s=n(10419),c=class extends l.Q{constructor(e,t){super(),this.options=t,this.#e=e,this.#t=null,this.#n=(0,a.T)(),this.bindMethods(),this.setOptions(t)}#e;#r=void 0;#i=void 0;#o=void 0;#l;#a;#n;#t;#u;#s;#c;#f;#d;#p;#h=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#r.addObserver(this),f(this.#r,this.options)?this.#m():this.updateResult(),this.#g())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return d(this.#r,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return d(this.#r,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#y(),this.#v(),this.#r.removeObserver(this)}setOptions(e){let t=this.options,n=this.#r;if(this.options=this.#e.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,u.Eh)(this.options.enabled,this.#r))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#b(),this.#r.setOptions(this.options),t._defaulted&&!(0,u.f8)(this.options,t)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#r,observer:this});let r=this.hasListeners();r&&p(this.#r,n,this.options,t)&&this.#m(),this.updateResult(),r&&(this.#r!==n||(0,u.Eh)(this.options.enabled,this.#r)!==(0,u.Eh)(t.enabled,this.#r)||(0,u.d2)(this.options.staleTime,this.#r)!==(0,u.d2)(t.staleTime,this.#r))&&this.#x();let i=this.#k();r&&(this.#r!==n||(0,u.Eh)(this.options.enabled,this.#r)!==(0,u.Eh)(t.enabled,this.#r)||i!==this.#p)&&this.#w(i)}getOptimisticResult(e){var t,n;let r=this.#e.getQueryCache().build(this.#e,e),i=this.createResult(r,e);return t=this,n=i,(0,u.f8)(t.getCurrentResult(),n)||(this.#o=i,this.#a=this.options,this.#l=this.#r.state),i}getCurrentResult(){return this.#o}trackResult(e,t){return new Proxy(e,{get:(e,n)=>(this.trackProp(n),t?.(n),"promise"===n&&(this.trackProp("data"),this.options.experimental_prefetchInRender||"pending"!==this.#n.status||this.#n.reject(Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(e,n))})}trackProp(e){this.#h.add(e)}getCurrentQuery(){return this.#r}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=this.#e.defaultQueryOptions(e),n=this.#e.getQueryCache().build(this.#e,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#m({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#o))}#m(e){this.#b();let t=this.#r.fetch(this.options,e);return e?.throwOnError||(t=t.catch(u.lQ)),t}#x(){this.#y();let e=(0,u.d2)(this.options.staleTime,this.#r);
1if(u.S$||this.#o.isStale||!(0,u.gn)(e))return;let t=(0,u.j3)(this.#o.dataUpdatedAt,e);this.#f=s.zs.setTimeout(()=>{this.#o.isStale||this.updateResult()},t+1)}#k(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#r):this.options.refetchInterval)??!1}#w(e){this.#v(),this.#p=e,!u.S$&&!1!==(0,u.Eh)(this.options.enabled,this.#r)&&(0,u.gn)(this.#p)&&0!==this.#p&&(this.#d=s.zs.setInterval(()=>{(this.options.refetchIntervalInBackground||r.m.isFocused())&&this.#m()},this.#p))}#g(){this.#x(),this.#w(this.#k())}#y(){this.#f&&(s.zs.clearTimeout(this.#f),this.#f=void 0)}#v(){this.#d&&(s.zs.clearInterval(this.#d),this.#d=void 0)}createResult(e,t){let n,r=this.#r,i=this.options,l=this.#o,s=this.#l,c=this.#a,d=e!==r?e.state:this.#i,{state:m}=e,g={...m},y=!1;if(t._optimisticResults){let n=this.hasListeners(),l=!n&&f(e,t),a=n&&p(e,r,t,i);(l||a)&&(g={...g,...(0,o.k)(m.data,e.options)}),"isRestoring"===t._optimisticResults&&(g.fetchStatus="idle")}let{error:v,errorUpdatedAt:b,status:x}=g;n=g.data;let k=!1;if(void 0!==t.placeholderData&&void 0===n&&"pending"===x){let e;l?.isPlaceholderData&&t.placeholderData===c?.placeholderData?(e=l.data,k=!0):e="function"==typeof t.placeholderData?t.placeholderData(this.#c?.state.data,this.#c):t.placeholderData,void 0!==e&&(x="success",n=(0,u.pl)(l?.data,e,t),y=!0)}if(t.select&&void 0!==n&&!k)if(l&&n===s?.data&&t.select===this.#u)n=this.#s;else try{this.#u=t.select,n=t.select(n),n=(0,u.pl)(l?.data,n,t),this.#s=n,this.#t=null}catch(e){this.#t=e}this.#t&&(v=this.#t,n=this.#s,b=Date.now(),x="error");let w="fetching"===g.fetchStatus,S="pending"===x,E="error"===x,C=S&&w,P=void 0!==n,R={status:x,fetchStatus:g.fetchStatus,isPending:S,isSuccess:"success"===x,isError:E,isInitialLoading:C,isLoading:C,data:n,dataUpdatedAt:g.dataUpdatedAt,error:v,errorUpdatedAt:b,failureCount:g.fetchFailureCount,failureReason:g.fetchFailureReason,errorUpdateCount:g.errorUpdateCount,isFetched:g.dataUpdateCount>0||g.errorUpdateCount>0,isFetchedAfterMount:g.dataUpdateCount>d.dataUpdateCount||g.errorUpdateCount>d.errorUpdateCount,isFetching:w,isRefetching:w&&!S,isLoadingError:E&&!P,isPaused:"paused"===g.fetchStatus,isPlaceholderData:y,isRefetchError:E&&P,isStale:h(e,t),refetch:this.refetch,promise:this.#n,isEnabled:!1!==(0,u.Eh)(t.enabled,e)};if(this.options.experimental_prefetchInRender){let t=void 0!==R.data,n="error"===R.status&&!t,i=e=>{n?e.reject(R.error):t&&e.resolve(R.data)},o=()=>{i(this.#n=R.promise=(0,a.T)())},l=this.#n;switch(l.status){case"pending":e.queryHash===r.queryHash&&i(l);break;case"fulfilled":(n||R.data!==l.value)&&o();break;case"rejected":n&&R.error===l.reason||o()}}return R}updateResult(){let e=this.#o,t=this.createResult(this.#r,this.options);if(this.#l=this.#r.state,this.#a=this.options,void 0!==this.#l.data&&(this.#c=this.#r),(0,u.f8)(t,e))return;this.#o=t;let n=()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,n="function"==typeof t?t():t;if("all"===n||!n&&!this.#h.size)return!0;let r=new Set(n??this.#h);return this.options.throwOnError&&r.add("error"),Object.keys(this.#o).some(t=>this.#o[t]!==e[t]&&r.has(t))};this.#S({listeners:n()})}#b(){let e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#r)return;let t=this.#r;this.#r=e,this.#i=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#g()}#S(e){i.jG.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#o)}),this.#e.getQueryCache().notify({query:this.#r,type:"observerResultsUpdated"})})}};function f(e,t){return!1!==(0,u.Eh)(t.enabled,e)&&void 0===e.state.data&&("error"!==e.state.status||!1!==t.retryOnMount)||void 0!==e.state.data&&d(e,t,t.refetchOnMount)}function d(e,t,n){if(!1!==(0,u.Eh)(t.enabled,e)&&"static"!==(0,u.d2)(t.staleTime,e)){let r="function"==typeof n?n(e):n;return"always"===r||!1!==r&&h(e,t)}return!1}function p(e,t,n,r){return(e!==t||!1===(0,u.Eh)(r.enabled,e))&&(!n.suspense||"error"!==e.state.status)&&h(e,n)}function h(e,t){return!1!==(0,u.Eh)(t.enabled,e)&&e.isStaleByTime((0,u.d2)(t.staleTime,e))}},33520:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,l=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;
1\s]*/,u=/^\s+|\s+$/g;function s(e){return e?e.replace(u,""):""}e.exports=function(e,u){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];u=u||{};var c=1,f=1;function d(e){var t=e.match(n);t&&(c+=t.length);var r=e.lastIndexOf("\n");f=~r?e.length-r:f+e.length}function p(){var e={line:c,column:f};return function(t){return t.position=new h(e),g(r),t}}function h(e){this.start=e,this.end={line:c,column:f},this.source=u.source}function m(t){var n=Error(u.source+":"+c+":"+f+": "+t);if(n.reason=t,n.filename=u.source,n.line=c,n.column=f,n.source=e,u.silent);else throw n}function g(t){var n=t.exec(e);if(n){var r=n[0];return d(r),e=e.slice(r.length),n}}function y(e){var t;for(e=e||[];t=v();)!1!==t&&e.push(t);return e}function v(){var t=p();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return m("End of comment missing");var r=e.slice(2,n-2);return f+=2,d(r),e=e.slice(n),f+=2,t({type:"comment",comment:r})}}h.prototype.content=e,g(r);var b,x=[];for(y(x);b=function(){var e=p(),n=g(i);if(n){if(v(),!g(o))return m("property missing ':'");var r=g(l),u=e({type:"declaration",property:s(n[0].replace(t,"")),value:r?s(r[0].replace(t,"")):""});return g(a),u}}();)!1!==b&&(x.push(b),y(x));return x}},35742:(e,t,n)=>{n.d(t,{j:()=>r});function r(e){return e}},37357:(e,t,n)=>{n.d(t,{N:()=>b});var r=n(13306),i=n(67109),o=n(5019),l=n(287),a=n(62411),u=n(13751),s=n(47414),c=n(40934);function f(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class d extends i.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if((0,s.s)(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,n=(0,s.s)(e)&&e.offsetWidth||0,r=(0,s.s)(e)&&e.offsetHeight||0,i=getComputedStyle(t),o=this.props.sizeRef.current;o.height=parseFloat(i.height),o.width=parseFloat(i.width),o.top=t.offsetTop,o.left=t.offsetLeft,o.right=n-o.width-o.left,o.bottom=r-o.height-o.top}return null}componentDidUpdate(){}render(){return this.props.children}}function p({children:e,isPresent:t,anchorX:n,anchorY:o,root:l,pop:a}){let u=(0,i.useId)(),s=(0,i.useRef)(null),h=(0,i.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:m}=(0,i.useContext)(c.Q),g=function(...e){return i.useCallback(function(...e){return t=>{let n=!1,r=e.map(e=>{let r=f(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():f(e[t],null)}}}}(...e),e)}(s,e.props?.ref??e?.ref);return(0,i.useInsertionEffect)(()=>{let{width:e,height:r,top:i,left:c,right:f,bottom:d}=h.current;if(t||!1===a||!s.current||!e||!r)return;let p="left"===n?`left: ${c}`:`right: ${f}`,g="bottom"===o?`bottom: ${d}`:`top: ${i}`;s.current.dataset.motionPopId=u;let y=document.createElement("style");m&&(y.nonce=m);let v=l??document.head;return v.appendChild(y),y.sheet&&y.sheet.insertRule(` 2 [data-motion-pop-id="${u}"] { 3 position: absolute !important; 4 width: ${e}px !important; 5 height: ${r}px !important; 6 ${p}px !important; 7 ${g}px !important; 8 } 9 `),()=>{s.current?.removeAttribute("data-motion-pop-id"),v.contains(y)&&v.removeChild(y)}},[t]),(0,r.jsx)(d,{isPresent:t,childRef:s,sizeRef:h,pop:a,children:!1===a?e:i.cloneElement(e,{ref:g})})}let h=({children:e,initial:t,isPresent:n,onExitComplete:o,custom:a,presenceAffectsLayout:s,mode:c,anchorX:f,anchorY:d,root:h})=>{let g=(0,l.M)(m),y=(0,i.useId)(),v=!0,b=(0,i.useMemo)(()=>(v=!1,{id:y,initial:t,isPresent:n,custom:a,onExitComplete:e=>{for(let t of(g.set(e,!0),g.values()))if(!t)return;o&&o()},register:e=>(g.set(e,!1),()=>g.delete(e))}),[n,g,o]);return s&&v&&(b={...b}),(0,i.useMemo)(()=>{g.forEach((e,t)=>g.set(t,!1))},[n]),i.useEffect(()=>{n||g.size||!o||o()},[n]),e=(0,r.jsx)(p,{pop:"popLayout"===c,isPresent:n,anchorX:f,anchorY:d,root:h,children:e}),(0,r.jsx)(u.t.Provider,{value:b,children:e})};function m(){return new Map}var g=n(36848);let y=e=>e.key||"";function v(e){let t=[];
9return i.Children.forEach(e,e=>{(0,i.isValidElement)(e)&&t.push(e)}),t}let b=({children:e,custom:t,initial:n=!0,onExitComplete:u,presenceAffectsLayout:s=!0,mode:c="sync",propagate:f=!1,anchorX:d="left",anchorY:p="top",root:m})=>{let[b,x]=(0,g.xQ)(f),k=(0,i.useMemo)(()=>v(e),[e]),w=f&&!b?[]:k.map(y),S=(0,i.useRef)(!0),E=(0,i.useRef)(k),C=(0,l.M)(()=>new Map),P=(0,i.useRef)(new Set),[R,O]=(0,i.useState)(k),[T,A]=(0,i.useState)(k);(0,a.E)(()=>{S.current=!1,E.current=k;for(let e=0;e<T.length;e++){let t=y(T[e]);w.includes(t)?(C.delete(t),P.current.delete(t)):!0!==C.get(t)&&C.set(t,!1)}},[T,w.length,w.join("-")]);let L=[];if(k!==R){let e=[...k];for(let t=0;t<T.length;t++){let n=T[t],r=y(n);w.includes(r)||(e.splice(t,0,n),L.push(n))}return"wait"===c&&L.length&&(e=L),A(v(e)),O(k),null}let{forceRender:D}=(0,i.useContext)(o.L);return(0,r.jsx)(r.Fragment,{children:T.map(e=>{let i=y(e),o=(!f||!!b)&&(k===T||w.includes(i));return(0,r.jsx)(h,{isPresent:o,initial:(!S.current||!!n)&&void 0,custom:t,presenceAffectsLayout:s,mode:c,root:m,onExitComplete:o?void 0:()=>{if(P.current.has(i)||!C.has(i))return;P.current.add(i),C.set(i,!0);let e=!0;C.forEach(t=>{t||(e=!1)}),e&&(D?.(),A(E.current),f&&x?.(),u&&u())},anchorX:d,anchorY:p,children:e},i)})})}},38521:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let n=null;if(!e||"string"!=typeof e)return n;let r=(0,i.default)(e),o="function"==typeof t;return r.forEach(e=>{if("declaration"!==e.type)return;let{property:r,value:i}=e;o?t(r,i,e):i&&((n=n||{})[r]=i)}),n};let i=r(n(33520))},48369:(e,t,n)=>{n.d(t,{n:()=>c});var r=n(67109),i=n(13506),o=n(93515),l=n(99524),a=n(71830),u=class extends l.Q{#e;#o=void 0;#E;#C;constructor(e,t){super(),this.#e=e,this.setOptions(t),this.bindMethods(),this.#P()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){let t=this.options;this.options=this.#e.defaultMutationOptions(e),(0,a.f8)(this.options,t)||this.#e.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#E,observer:this}),t?.mutationKey&&this.options.mutationKey&&(0,a.EN)(t.mutationKey)!==(0,a.EN)(this.options.mutationKey)?this.reset():this.#E?.state.status==="pending"&&this.#E.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#E?.removeObserver(this)}onMutationUpdate(e){this.#P(),this.#S(e)}getCurrentResult(){return this.#o}reset(){this.#E?.removeObserver(this),this.#E=void 0,this.#P(),this.#S()}mutate(e,t){return this.#C=t,this.#E?.removeObserver(this),this.#E=this.#e.getMutationCache().build(this.#e,this.options),this.#E.addObserver(this),this.#E.execute(e)}#P(){let e=this.#E?.state??(0,i.$)();this.#o={...e,isPending:"pending"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset}}#S(e){o.jG.batch(()=>{if(this.#C&&this.hasListeners()){let t=this.#o.variables,n=this.#o.context,r={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};if(e?.type==="success"){try{this.#C.onSuccess?.(e.data,t,n,r)}catch(e){Promise.reject(e)}try{this.#C.onSettled?.(e.data,null,t,n,r)}catch(e){Promise.reject(e)}}else if(e?.type==="error"){try{this.#C.onError?.(e.error,t,n,r)}catch(e){Promise.reject(e)}try{this.#C.onSettled?.(void 0,e.error,t,n,r)}catch(e){Promise.reject(e)}}}this.listeners.forEach(e=>{e(this.#o)})})}},s=n(85002);function c(e,t){let n=(0,s.jE)(t),[i]=r.useState(()=>new u(n,e));r.useEffect(()=>{i.setOptions(e)},[i,e]);let l=r.useSyncExternalStore(r.useCallback(e=>i.subscribe(o.jG.batchCalls(e)),[i]),()=>i.getCurrentResult(),()=>i.getCurrentResult()),c=r.useCallback((e,t)=>{i.mutate(e,t).catch(a.lQ)},[i]);if(l.error&&(0,a.GU)(i.options.throwOnError,[l.error]))throw l.error;return{...l,mutate:c,mutateAsync:l.mutate}}},56369:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});var r={default:function(){return y},useLinkStatus:function(){return b}};for(var i in r)Object.defineProperty(t,i,{enumerable:!0,get:r[i]});let o=n(710),l=n(13306),a=o._(n(67109)),u=n(1096),s=n(33878),c=n(79805),f=n(64742),d=n(63084);n(26079);let p=n(29097),h=n(82993),m=n(90929),g=n(64956);function y(e){var t,r;let i,o,y,[b,x]=(0,a.useOptimistic)(h.IDLE_LINK_STATUS),k=(0,a.useRef)(null),{href:w,as:S,children:E,prefetch:C=null,passHref:P,replace:R,shallow:O,scroll:T,onClick:A,onMouseEnter:L,onTouchStart:D,legacyBehavior:M=!1,onNavigate:I,transitionTypes:N,ref:F,unstable_dynamicOnHover:_,...j}=e;i=E,M&&("string"==typeof i||"number"==typeof i)&&(i=(0,l.jsx)("a",{children:i}));let z=a.default.useContext(s.AppRouterContext),H=!1!==C,B=!1!==C?null===(r=C)||"auto"===r?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,U="string"==typeof(t=S||w)?t:(0,u.formatUrl)(t);
9if(M){if(i?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});o=a.default.Children.only(i)}let W=M?o&&"object"==typeof o&&o.ref:F,V=a.default.useCallback(e=>(null!==z&&(k.current=(0,h.mountLinkInstance)(e,U,z,B,H,x)),()=>{k.current&&((0,h.unmountLinkForCurrentNavigation)(k.current),k.current=null),(0,h.unmountPrefetchableInstance)(e)}),[H,U,z,B,x]),Q={ref:(0,c.useMergedRef)(V,W),onClick(e){M||"function"!=typeof A||A(e),M&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(e),!z||e.defaultPrevented||function(e,t,r,i,o,l,u){{let s,{nodeName:c}=e.currentTarget;if("A"===c.toUpperCase()&&((s=e.currentTarget.getAttribute("target"))&&"_self"!==s||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which)||e.currentTarget.hasAttribute("download"))return;if(!(0,m.isLocalURL)(t)){i&&(e.preventDefault(),location.replace(t));return}if(e.preventDefault(),l){let e=!1;if(l({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:f}=n(41165);a.default.startTransition(()=>{f(t,i?"replace":"push",!1===o?p.ScrollBehavior.NoScroll:p.ScrollBehavior.Default,r.current,u)})}}(e,U,k,R,T,I,N)},onMouseEnter(e){M||"function"!=typeof L||L(e),M&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),z&&H&&(0,h.onNavigationIntent)(e.currentTarget,!0===_)},onTouchStart:function(e){M||"function"!=typeof D||D(e),M&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),z&&H&&(0,h.onNavigationIntent)(e.currentTarget,!0===_)}};return(0,f.isAbsoluteUrl)(U)?Q.href=U:M&&!P&&("a"!==o.type||"href"in o.props)||(Q.href=(0,d.addBasePath)(U)),y=M?a.default.cloneElement(o,Q):(0,l.jsx)("a",{...j,...Q,children:i}),(0,l.jsx)(v.Provider,{value:b,children:y})}n(91199);let v=(0,a.createContext)(h.IDLE_LINK_STATUS),b=()=>(0,a.useContext)(v);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},56924:(e,t,n)=>{n.d(t,{q:()=>a});var r=n(33445),i=n(91145),o=class extends r.${constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){super.setOptions({...e,behavior:(0,i.PL)()})}getOptimisticResult(e){return e.behavior=(0,i.PL)(),super.getOptimisticResult(e)}fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,t){let{state:n}=e,r=super.createResult(e,t),{isFetching:o,isRefetching:l,isError:a,isRefetchError:u}=r,s=n.fetchMeta?.fetchMore?.direction,c=a&&"forward"===s,f=o&&"forward"===s,d=a&&"backward"===s,p=o&&"backward"===s;return{...r,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:(0,i.rB)(t,n.data),hasPreviousPage:(0,i.RQ)(t,n.data),isFetchNextPageError:c,isFetchingNextPage:f,isFetchPreviousPageError:d,isFetchingPreviousPage:p,isRefetchError:u&&!c&&!d,isRefetching:l&&!f&&!p}}},l=n(77426);function a(e,t){return(0,l.t)(e,o,t)}},57513:(e,t,n)=>{n.d(t,{W:()=>r});function r(e,t,n){let r=[],i=-1;for(;++i<e.length;){let o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}},61434:(e,t,n)=>{n.d(t,{BM:()=>a,CW:()=>r,Ee:()=>f,HP:()=>c,JQ:()=>l,Ny:()=>h,On:()=>d,cx:()=>o,es:()=>p,lV:()=>i,ok:()=>u,ol:()=>s});let r=m(/[A-Za-z]/),i=m(/[\dA-Za-z]/),o=m(/[#-'*+\--9=?A-Z^-~]/);function l(e){return null!==e&&(e<32||127===e)}let a=m(/\d/),u=m(/[\dA-Fa-f]/),s=m(/[!-/:-@[-`{-~]/);function c(e){return null!==e&&e<-2}function f(e){return null!==e&&(e<0||32===e)}function d(e){return -2===e||-1===e||32===e}let p=m(/\p{P}|\p{S}/u),h=m(/\s/);function m(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}}
9,63733:(e,t,n)=>{n.d(t,{$1:()=>a,LJ:()=>o,wZ:()=>l});var r=n(67109),i=n(71830),o=(e,t,n)=>{let r=n?.state.error&&"function"==typeof e.throwOnError?(0,i.GU)(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||r)&&!t.isReset()&&(e.retryOnMount=!1)},l=e=>{r.useEffect(()=>{e.clearReset()},[e])},a=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:o})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(o&&void 0===e.data||(0,i.GU)(n,[e.error,r]))},64729:(e,t,n)=>{n.d(t,{dc:()=>o,VG:()=>l});var r=n(23361);let i=[],o=!1;function l(e,t,n,l){let a;"function"==typeof t&&"function"!=typeof n?(l=n,n=t):a=t;let u=(0,r.C)(a),s=l?-1:1;(function e(r,a,c){let f=r&&"object"==typeof r?r:{};if("string"==typeof f.type){let e="string"==typeof f.tagName?f.tagName:"string"==typeof f.name?f.name:void 0;Object.defineProperty(d,"name",{value:"node ("+r.type+(e?"<"+e+">":"")+")"})}return d;function d(){var f;let d,p,h,m=i;if((!t||u(r,a,c[c.length-1]||void 0))&&(m=Array.isArray(f=n(r,c))?f:"number"==typeof f?[!0,f]:null==f?i:[f])[0]===o)return m;if("children"in r&&r.children&&r.children&&"skip"!==m[0])for(p=(l?r.children.length:-1)+s,h=c.concat(r);p>-1&&p<r.children.length;){if((d=e(r.children[p],p,h)())[0]===o)return d;p="number"==typeof d[1]?d[1]:p+s}return m}})(e,void 0,[])()}},64809:(e,t,n)=>{n.d(t,{y:()=>o});var r=n(69889);let i={}.hasOwnProperty;function o(e){let t={},n=-1;for(;++n<e.length;)!function(e,t){let n;for(n in t){let o,l=(i.call(e,n)?e[n]:void 0)||(e[n]={}),a=t[n];if(a)for(o in a){i.call(l,o)||(l[o]=[]);let e=a[o];!function(e,t){let n=-1,i=[];for(;++n<t.length;)("after"===t[n].add?e:i).push(t[n]);(0,r.m)(e,0,0,i)}(l[o],Array.isArray(e)?e:e?[e]:[])}}}(t,e[n]);return t}},69889:(e,t,n)=>{function r(e,t,n,r){let i,o=e.length,l=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)(i=Array.from(r)).unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);l<r.length;)(i=r.slice(l,l+1e4)).unshift(t,0),e.splice(...i),l+=1e4,t+=1e4}function i(e,t){return e.length>0?(r(e,e.length,0,t),e):t}n.d(t,{V:()=>i,m:()=>r})},72056:(e,t,n)=>{n.d(t,{YR:()=>i});var r=n(64729);function i(e,t,n,i){let o,l,a;"function"==typeof t&&"function"!=typeof n?(l=void 0,a=t,o=n):(l=t,a=n,o=i),(0,r.VG)(e,l,function(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return a(e,r,n)},o)}},73571:(e,t,n)=>{function r(e){let t=[],n=String(e||""),r=n.indexOf(","),i=0,o=!1;for(;!o;){-1===r&&(r=n.length,o=!0);let e=n.slice(i,r).trim();(e||!o)&&t.push(e),i=r+1,r=n.indexOf(",",i)}return t}function i(e,t){let n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}n.d(t,{A:()=>i,q:()=>r})},75220:(e,t,n)=>{n.d(t,{oz:()=>tz});var r={};n.r(r),n.d(r,{attentionMarkers:()=>e$,contentInitial:()=>eB,disable:()=>eK,document:()=>eH,flow:()=>eW,flowInitial:()=>eU,insideSpan:()=>eq,string:()=>eV,text:()=>eQ});var i=n(77025),o=n(73571);let l=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,a=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,u={};function s(e,t){return((t||u).jsx?a:l).test(e)}let c=/[ \t\n\f\r]/g;function f(e){return""===e.replace(c,"")}var d=n(77316),p=n(2133);let h={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var m=n(21680),g=n(28062),y=n(80509);function v(e){return e&&"object"==typeof e?"position"in e||"type"in e?x(e.position):"start"in e||"end"in e?x(e):"line"in e||"column"in e?b(e):"":""}function b(e){return k(e&&e.line)+":"+k(e&&e.column)}function x(e){return b(e&&e.start)+"-"+b(e&&e.end)}function k(e){return e&&"number"==typeof e?e:1}class w extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",i={},o=!1;if(t&&(i="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?r=e:!i.cause&&e&&(o=!0,r=e.message,i.cause=e),!i.ruleId&&!i.source&&"string"==typeof n){const e=n.indexOf(":");-1===e?i.ruleId=n:(i.source=n.slice(0,e),i.ruleId=n.slice(e+1))}if(!i.place&&i.ancestors&&i.ancestors){const e=i.ancestors[i.ancestors.length-1];e&&(i.place=e.position)}const l=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=l?l.column:void 0,this.fatal=void 0,this.file="",this.message=r,this.line=l?l.line:void 0,this.name=v(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=o&&i.cause&&"string"==typeof i.cause.stack?i.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}w.prototype.file="",w.prototype.name="",w.prototype.reason="",w.prototype.message="",w.prototype.stack="",w.prototype.column=void 0,w.prototype.line=void 0,w.prototype.ancestors=void 0,w.prototype.cause=void 0,w.prototype.fatal=void 0,w.prototype.place=void 0,w.prototype.ruleId=void 0,w.prototype.source=void 0;let S={}.hasOwnProperty,E=new Map,C=/[A-Z]/g,P=new Set(["table","tbody","thead","tfoot","tr"]),R=new Set(["td","th"]),O="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function T(e,t,n){var r,l,a,u,s,c,y,v,b;let x,k,E,T,F,_,j,z,H,B,U;return"element"===t.type?(r=e,l=t,a=n,k=x=r.schema,"svg"===l.tagName.toLowerCase()&&"html"===x.space&&(r.schema=d.JW),r.ancestors.push(l),E=M(r,l.tagName,!1),T=function(e,t){let n,r,i={};for(r in t.properties)if("children"!==r&&S.call(t.properties,r)){let l=function(e,t,n){let r=(0,p.I)(e.schema,t);if(!(null==n||"number"==typeof n&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?(0,o.A)(n):(0,m.A)(n)),"style"===r.property){let t="object"==typeof n?n:function(e,t){try{return g(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};let t=new w("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});
9throw t.file=e.filePath||void 0,t.url=O+"#cannot-parse-style-attribute",t}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){let t,n={};for(t in e)S.call(e,t)&&(n[function(e){let t=e.replace(C,N);return"ms-"===t.slice(0,3)&&(t="-"+t),t}(t)]=e[t]);return n}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?h[r.property]||r.property:r.attribute,n]}}(e,r,t.properties[r]);if(l){let[r,o]=l;e.tableCellAlignToStyle&&"align"===r&&"string"==typeof o&&R.has(t.tagName)?n=o:i[r]=o}}return n&&((i.style||(i.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=n),i}(r,l),F=D(r,l),P.has(l.tagName)&&(F=F.filter(function(e){return"string"!=typeof e||!("object"==typeof e?"text"===e.type&&f(e.value):f(e))})),A(r,T,E,l),L(T,F),r.ancestors.pop(),r.schema=x,r.create(l,E,T,a)):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){let n=t.data.estree.body[0];return(0,i.ok)("ExpressionStatement"===n.type),e.evaluater.evaluateExpression(n.expression)}I(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?(u=e,s=t,c=n,j=_=u.schema,"svg"===s.name&&"html"===_.space&&(u.schema=d.JW),u.ancestors.push(s),z=null===s.name?u.Fragment:M(u,s.name,!0),H=function(e,t){let n={};for(let r of t.attributes)if("mdxJsxExpressionAttribute"===r.type)if(r.data&&r.data.estree&&e.evaluater){let t=r.data.estree.body[0];(0,i.ok)("ExpressionStatement"===t.type);let o=t.expression;(0,i.ok)("ObjectExpression"===o.type);let l=o.properties[0];(0,i.ok)("SpreadElement"===l.type),Object.assign(n,e.evaluater.evaluateExpression(l.argument))}else I(e,t.position);else{let o,l=r.name;if(r.value&&"object"==typeof r.value)if(r.value.data&&r.value.data.estree&&e.evaluater){let t=r.value.data.estree.body[0];(0,i.ok)("ExpressionStatement"===t.type),o=e.evaluater.evaluateExpression(t.expression)}else I(e,t.position);else o=null===r.value||r.value;n[l]=o}return n}(u,s),B=D(u,s),A(u,H,z,s),L(H,B),u.ancestors.pop(),u.schema=_,u.create(s,z,H,c)):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);I(e,t.position)}(e,t):"root"===t.type?(y=e,v=t,b=n,L(U={},D(y,v)),y.create(v,y.Fragment,U,b)):"text"===t.type?t.value:void 0}function A(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function L(e,t){if(t.length>0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function D(e,t){let n=[],r=-1,i=e.passKeys?new Map:E;for(;++r<t.children.length;){let o,l=t.children[r];if(e.passKeys){let e="element"===l.type?l.tagName:"mdxJsxFlowElement"===l.type||"mdxJsxTextElement"===l.type?l.name:void 0;if(e){let t=i.get(e)||0;o=e+"-"+t,i.set(e,t+1)}}let a=T(e,l,o);void 0!==a&&n.push(a)}return n}function M(e,t,n){let r;if(n)if(t.includes(".")){let e,n=t.split("."),o=-1;for(;++o<n.length;){let t=s(n[o])?{type:"Identifier",name:n[o]}:{type:"Literal",value:n[o]};e=e?{type:"MemberExpression",object:e,property:t,computed:!!(o&&"Literal"===t.type),optional:!1}:t}(0,i.ok)(e,"always a result"),r=e}else r=s(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};else r={type:"Literal",value:t};if("Literal"===r.type){let t=r.value;return S.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);I(e)}function I(e,t){let n=new w("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=O+"#cannot-handle-mdx-estrees-without-createevaluater",n}function N(e){return"-"+e.toLowerCase()}let F={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]};var _=n(13306);n(67109);var j=n(82780),z=n(69889);class H{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let n=null==t?1/0:t;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){this.setCursor(Math.trunc(e));let r=this.right.splice(this.right.length-(t||0),1/0);return n&&B(this.left,n),r.reverse()}pop(){return this.setCursor(1/0),this.left.pop()}push(e){this.setCursor(1/0),this.left.push(e)}pushMany(e){this.setCursor(1/0),B(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),B(this.right,e.reverse())}setCursor(e){if(e!==this.left.length&&(!(e>this.left.length)||0!==this.right.length)&&(!(e<0)||0!==this.left.length))if(e<this.left.length){let t=this.left.splice(e,1/0);B(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);B(this.left,t.reverse())}}}function B(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function U(e){let t,n,r,i,o,l,a,u={},s=-1,c=new H(e);for(;++s<c.length;){for(;s in u;)s=u[s];if(t=c.get(s),s&&"chunkFlow"===t[1].type&&"listItemPrefix"===c.get(s-1)[1].type&&((r=0)<(l=t[1]._tokenizer.events).length&&"lineEndingBlank"===l[r][1].type&&(r+=2),r<l.length&&"content"===l[r][1].type))for(;++r<l.length&&"content"!==l[r][1].type;)"chunkText"===l[r][1].type&&(l[r][1]._isInFirstContentOfListItem=!0,r++);if("enter"===t[0])t[1].contentType&&(Object.assign(u,function(e,t){let n,r,i=e.get(t)[1],o=e.get(t)[2],l=t-1,a=[],u=i._tokenizer;!u&&(u=o.parser[i.contentType](i.start),i._contentTypeTextTrailing&&(u._contentTypeTextTrailing=!0));let s=u.events,c=[],f={},d=-1,p=i,h=0,m=0,g=[0];for(;p;){for(;e.get(++l)[1]!==p;);a.push(l),!p._tokenizer&&(n=o.sliceStream(p),p.next||n.push(null),r&&u.defineSki
9p(p.start),p._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=!0),u.write(n),p._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=void 0)),r=p,p=p.next}for(p=i;++d<s.length;)"exit"===s[d][0]&&"enter"===s[d-1][0]&&s[d][1].type===s[d-1][1].type&&s[d][1].start.line!==s[d][1].end.line&&(m=d+1,g.push(m),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(u.events=[],p?(p._tokenizer=void 0,p.previous=void 0):g.pop(),d=g.length;d--;){let t=s.slice(g[d],g[d+1]),n=a.pop();c.push([n,n+t.length-1]),e.splice(n,2,t)}for(c.reverse(),d=-1;++d<c.length;)f[h+c[d][0]]=h+c[d][1],h+=c[d][1]-c[d][0]-1;return f}(c,s)),s=u[s],a=!0);else if(t[1]._container){for(r=s,n=void 0;r--;)if("lineEnding"===(i=c.get(r))[1].type||"lineEndingBlank"===i[1].type)"enter"===i[0]&&(n&&(c.get(n)[1].type="lineEndingBlank"),i[1].type="lineEnding",n=r);else if("linePrefix"===i[1].type||"listItemIndent"===i[1].type);else break;n&&(t[1].end={...c.get(n)[1].start},(o=c.slice(n,s)).unshift(t),c.splice(n,s-n+1,o))}}return(0,z.m)(e,0,1/0,c.slice(0)),!a}var W=n(64809),V=n(83733),Q=n(61434);let q={tokenize:function(e){let t,n=e.attempt(this.parser.constructs.contentInitial,function(t){return null===t?void e.consume(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,V.N)(e,n,"linePrefix"))},function(n){return e.enter("paragraph"),function n(r){let i=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=i),t=i,function t(r){if(null===r){e.exit("chunkText"),e.exit("paragraph"),e.consume(r);return}return(0,Q.HP)(r)?(e.consume(r),e.exit("chunkText"),n):(e.consume(r),t)}(r)}(n)});return n}},$={tokenize:function(e){let t,n,r,i=this,o=[],l=0;return a;function a(t){if(l<o.length){let n=o[l];return i.containerState=n[1],e.attempt(n[0].continuation,u,s)(t)}return s(t)}function u(e){if(l++,i.containerState._closeFlow){let n;i.containerState._closeFlow=void 0,t&&y();let r=i.events.length,o=r;for(;o--;)if("exit"===i.events[o][0]&&"chunkFlow"===i.events[o][1].type){n=i.events[o][1].end;break}g(l);let a=r;for(;a<i.events.length;)i.events[a][1].end={...n},a++;return(0,z.m)(i.events,o+1,0,i.events.slice(r)),i.events.length=a,s(e)}return a(e)}function s(n){if(l===o.length){if(!t)return d(n);if(t.currentConstruct&&t.currentConstruct.concrete)return h(n);i.interrupt=!!(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return i.containerState={},e.check(K,c,f)(n)}function c(e){return t&&y(),g(l),d(e)}function f(e){return i.parser.lazy[i.now().line]=l!==o.length,r=i.now().offset,h(e)}function d(t){return i.containerState={},e.attempt(K,p,h)(t)}function p(e){return l++,o.push([i.currentConstruct,i.containerState]),d(e)}function h(r){if(null===r){t&&y(),g(0),e.consume(r);return}return t=t||i.parser.flow(i.now()),e.enter("chunkFlow",{_tokenizer:t,contentType:"flow",previous:n}),function t(n){if(null===n){m(e.exit("chunkFlow"),!0),g(0),e.consume(n);return}return(0,Q.HP)(n)?(e.consume(n),m(e.exit("chunkFlow")),l=0,i.interrupt=void 0,a):(e.consume(n),t)}(r)}function m(e,o){let a=i.sliceStream(e);if(o&&a.push(null),e.previous=n,n&&(n.next=e),n=e,t.defineSkip(e.start),t.write(a),i.parser.lazy[e.start.line]){let e,n,o=t.events.length;for(;o--;)if(t.events[o][1].start.offset<r&&(!t.events[o][1].end||t.events[o][1].end.offset>r))return;let a=i.events.length,u=a;for(;u--;)if("exit"===i.events[u][0]&&"chunkFlow"===i.events[u][1].type){if(e){n=i.events[u][1].end;break}e=!0}for(g(l),o=a;o<i.events.length;)i.events[o][1].end={...n},o++;(0,z.m)(i.events,u+1,0,i.events.slice(a)),i.events.length=o}}function g(t){let n=o.length;for(;n-- >t;){let t=o[n];i.containerState=t[1],t[0].exit.call(i,e)}o.length=t}function y(){t.write([null]),n=void 0,t=void 0,i.containerState._closeFlow=void 0}}},K={tokenize:function(e,t,n){return(0,V.N)(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};var Y=n(19488);let X={resolve:function(e){return U(e),e},tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?i(t):(0,Q.HP)(t)?e.check(J,o,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function o(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},J={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),
9(0,V.N)(e,i,"linePrefix")};function i(i){if(null===i||(0,Q.HP)(i))return n(i);let o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}},Z={tokenize:function(e){let t=this,n=e.attempt(Y.B,function(r){return null===r?void e.consume(r):(e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n)},e.attempt(this.parser.constructs.flowInitial,r,(0,V.N)(e,e.attempt(this.parser.constructs.flow,r,e.attempt(X,r)),"linePrefix")));return n;function r(r){return null===r?void e.consume(r):(e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n)}}},G={resolveAll:er()},ee=en("string"),et=en("text");function en(e){return{resolveAll:er("text"===e?ei:void 0),tokenize:function(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,o,l);return o;function o(e){return u(e)?i(e):l(e)}function l(e){return null===e?void t.consume(e):(t.enter("data"),t.consume(e),a)}function a(e){return u(e)?(t.exit("data"),i(e)):(t.consume(e),a)}function u(e){if(null===e)return!0;let t=r[e],i=-1;if(t)for(;++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}}function er(e){return function(t,n){let r,i=-1;for(;++i<=t.length;)void 0===r?t[i]&&"data"===t[i][1].type&&(r=i,i++):t[i]&&"data"===t[i][1].type||(i!==r+2&&(t[r][1].end=t[i-1][1].end,t.splice(r+2,i-r-2),i=r+2),r=void 0);return e?e(t,n):t}}function ei(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){let r,i=e[n-1][1],o=t.sliceStream(i),l=o.length,a=-1,u=0;for(;l--;){let e=o[l];if("string"==typeof e){for(a=e.length;32===e.charCodeAt(a-1);)u++,a--;if(a)break;a=-1}else if(-2===e)r=!0,u++;else if(-1===e);else{l++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(u=0),u){let o={type:n===e.length||r||u<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:l?a:i.start._bufferIndex+a,_index:i.start._index+l,line:i.end.line,column:i.end.column-u,offset:i.end.offset-u},end:{...i.end}};i.end={...o.start},i.start.offset===i.end.offset?Object.assign(i,o):(e.splice(n,0,["enter",o,t],["exit",o,t]),n+=2)}n++}return e}let eo={name:"thematicBreak",tokenize:function(e,t,n){let r,i=0;return function(o){var l;return e.enter("thematicBreak"),r=l=o,function o(l){return l===r?(e.enter("thematicBreakSequence"),function t(n){return n===r?(e.consume(n),i++,t):(e.exit("thematicBreakSequence"),(0,Q.On)(n)?(0,V.N)(e,o,"whitespace")(n):o(n))}(l)):i>=3&&(null===l||(0,Q.HP)(l))?(e.exit("thematicBreak"),t(l)):n(l)}(l)}}},el={continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(Y.B,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,(0,V.N)(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!(0,Q.On)(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine
9=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(eu,t,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,(0,V.N)(e,e.attempt(el,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,n){let r=this,i=r.events[r.events.length-1],o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,l=0;return function(t){let i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:(0,Q.BM)(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(eo,n,a)(t):a(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(i){return(0,Q.BM)(i)&&++l<10?(e.consume(i),t):(!r.interrupt||l<2)&&(r.containerState.marker?i===r.containerState.marker:41===i||46===i)?(e.exit("listItemValue"),a(i)):n(i)}(t)}return n(t)};function a(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(Y.B,r.interrupt?n:u,e.attempt(ea,c,s))}
9function u(e){return r.containerState.initialBlankLine=!0,o++,c(e)}function s(t){return(0,Q.On)(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),c):n(t)}function c(n){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},ea={partial:!0,tokenize:function(e,t,n){let r=this;return(0,V.N)(e,function(e){let i=r.events[r.events.length-1];return!(0,Q.On)(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},eu={partial:!0,tokenize:function(e,t,n){let r=this;return(0,V.N)(e,function(e){let i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)}},es={continuation:{tokenize:function(e,t,n){let r=this;return function(t){return(0,Q.On)(t)?(0,V.N)(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt(es,t,n)(r)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,n){let r=this;return function(t){if(62===t){let n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return n(t)};function i(n){return(0,Q.On)(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}};function ec(e,t,n,r,i,o,l,a,u){let s=u||1/0,c=0;return function(t){return 60===t?(e.enter(r),e.enter(i),e.enter(o),e.consume(t),e.exit(o),f):null===t||32===t||41===t||(0,Q.JQ)(t)?n(t):(e.enter(r),e.enter(l),e.enter(a),e.enter("chunkString",{contentType:"string"}),h(t))};function f(n){return 62===n?(e.enter(o),e.consume(n),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),d(n))}function d(t){return 62===t?(e.exit("chunkString"),e.exit(a),f(t)):null===t||60===t||(0,Q.HP)(t)?n(t):(e.consume(t),92===t?p:d)}function p(t){return 60===t||62===t||92===t?(e.consume(t),d):d(t)}function h(i){return!c&&(null===i||41===i||(0,Q.Ee)(i))?(e.exit("chunkString"),e.exit(a),e.exit(l),e.exit(r),t(i)):c<s&&40===i?(e.consume(i),c++,h):41===i?(e.consume(i),c--,h):null===i||32===i||40===i||(0,Q.JQ)(i)?n(i):(e.consume(i),92===i?m:h)}function m(t){return 40===t||41===t||92===t?(e.consume(t),h):h(t)}}function ef(e,t,n,r,i,o){let l,a=this,u=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(o),s};function s(f){return u>999||null===f||91===f||93===f&&!l||94===f&&!u&&"_hiddenFootnoteSupport"in a.parser.constructs?n(f):93===f?(e.exit(o),e.enter(i),e.consume(f),e.exit(i),e.exit(r),t):(0,Q.HP)(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),s):(e.enter("chunkString",{contentType:"string"}),c(f))}function c(t){return null===t||91===t||93===t||(0,Q.HP)(t)||u++>999?(e.exit("chunkString"),s(t)):(e.consume(t),l||(l=!(0,Q.On)(t)),92===t?f:c)}function f(t){return 91===t||92===t||93===t?(e.consume(t),u++,c):c(t)}}function ed(e,t,n,r,i,o){let l;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),l=40===t?41:t,a):n(t)};function a(n){return n===l?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(o),u(n))}function u(t){return t===l?(e.exit(o),a(l)):null===t?n(t):(0,Q.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,V.N)(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),s(t))}function s(t){return t===l||null===t||(0,Q.HP)(t)?(e.exit("chunkString"),u(t)):(e.consume(t),92===t?c:s)}function c(t){return t===l||92===t?(e.consume(t),s):s(t)}}function ep(e,t){let n;return function r(i){return(0,Q.HP)(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):(0,Q.On)(i)?(0,V.N)(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}var eh=n(95999);let em={partial:!0,tokenize:function(e,t,n){return function(t){return(0,Q.Ee)(t)?ep(e,r)(t):n(t)};function r(t){return ed(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return(0,Q.On)(t)?(0,V.N)(e,o,"whitespace")(t):o(t)}function o(e){return null===e||(0,Q.HP)(e)?t(e):n(e)}}},eg={name:"codeIndented",tokenize:function(e,t,n){let r=this;
9return function(t){return e.enter("codeIndented"),(0,V.N)(e,i,"linePrefix",5)(t)};function i(t){let i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?function t(n){return null===n?o(n):(0,Q.HP)(n)?e.attempt(ey,t,o)(n):(e.enter("codeFlowValue"),function n(r){return null===r||(0,Q.HP)(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function o(n){return e.exit("codeIndented"),t(n)}}},ey={partial:!0,tokenize:function(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):(0,Q.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):(0,V.N)(e,o,"linePrefix",5)(t)}function o(e){let o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):(0,Q.HP)(e)?i(e):n(e)}}},ev={name:"setextUnderline",resolveTo:function(e,t){let n,r,i,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){n=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&e.splice(o,1),i||"definition"!==e[o][1].type||(i=o);let l={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",l,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end={...e[i][1].end}):e[n][1]=l,e.push(["exit",l,t]),e},tokenize:function(e,t,n){let r,i=this;return function(t){var l;let a,u=i.events.length;for(;u--;)if("lineEnding"!==i.events[u][1].type&&"linePrefix"!==i.events[u][1].type&&"content"!==i.events[u][1].type){a="paragraph"===i.events[u][1].type;break}return!i.parser.lazy[i.now().line]&&(i.interrupt||a)?(e.enter("setextHeadingLine"),r=t,l=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),(0,Q.On)(n)?(0,V.N)(e,o,"lineSuffix")(n):o(n))}(l)):n(t)};function o(r){return null===r||(0,Q.HP)(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}},eb=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ex=["pre","script","style","textarea"],ek={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(Y.B,t,n)}}},ew={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return(0,Q.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):n(t)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},eS={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},eE={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){let r,i=this,o={partial:!0,tokenize:function(e,t,n){let o=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l};function l(t){return e.enter("codeFencedFence"),(0,Q.On)(t)?(0,V.N)(e,u,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):u(t)}function u(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(i){return i===r?(o++,e.consume(i),t):o>=a?(e.exit("codeFencedFenceSequence"),(0,Q.On)(i)?(0,V.N)(e,s,"whitespace")(i):s(i)):n(i)}(t)):n(t)}function s(r){return null===r||(0,Q.HP)(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}},l=0,a=0;return function(t){var o;let s;return o=t,l=(s=i.events[i.events.length-1])&&"linePrefix"===s[1].type?s[2].sliceSerialize(s[1],!0).length:0,r=o,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(i){return i===r?(a++,e.consume(i),t):a<3?n(i):(e.exit("codeFencedFenceSequence"),(0,Q.On)(i)?(0,V.N)(e,u,"whitespace")(i):u(i))}(o)};function u(o){return null===o||(0,Q.HP)(o)?(e.exit("codeFencedFence"),i.interrupt?t(o):e.check(eS,c,h)(o)):(e.enter("co
9deFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||(0,Q.HP)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),u(i)):(0,Q.On)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),(0,V.N)(e,s,"whitespace")(i)):96===i&&i===r?n(i):(e.consume(i),t)}(o))}function s(t){return null===t||(0,Q.HP)(t)?u(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||(0,Q.HP)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),u(i)):96===i&&i===r?n(i):(e.consume(i),t)}(t))}function c(t){return e.attempt(o,h,f)(t)}function f(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),d}function d(t){return l>0&&(0,Q.On)(t)?(0,V.N)(e,p,"linePrefix",l+1)(t):p(t)}function p(t){return null===t||(0,Q.HP)(t)?e.check(eS,c,h)(t):(e.enter("codeFlowValue"),function t(n){return null===n||(0,Q.HP)(n)?(e.exit("codeFlowValue"),p(n)):(e.consume(n),t)}(t))}function h(n){return e.exit("codeFenced"),t(n)}}},eC=document.createElement("i");function eP(e){let t="&"+e+";";eC.innerHTML=t;let n=eC.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}let eR={name:"characterReference",tokenize:function(e,t,n){let r,i,o=this,l=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),a};function a(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),r=31,i=Q.lV,s(t))}function u(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,i=Q.ok,s):(e.enter("characterReferenceValue"),r=7,i=Q.BM,s(t))}function s(a){if(59===a&&l){let r=e.exit("characterReferenceValue");return i!==Q.lV||eP(o.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(a),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(a)}return i(a)&&l++<r?(e.consume(a),s):n(a)}}},eO={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return(0,Q.ol)(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},eT={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),(0,V.N)(e,t,"linePrefix")}}};var eA=n(57513);let eL={name:"labelEnd",resolveAll:function(e){let t=-1,n=[];for(;++t<e.length;){let r=e[t][1];if(n.push(e[t]),"labelImage"===r.type||"labelLink"===r.type||"labelEnd"===r.type){let e="labelImage"===r.type?4:2;r.type="data",t+=e}}return e.length!==n.length&&(0,z.m)(e,0,e.length,n),e},resolveTo:function(e,t){let n,r,i,o,l=e.length,a=0;for(;l--;)if(n=e[l][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[l][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(i){if("enter"===e[l][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=l,"labelLink"!==n.type)){a=2;break}}else"labelEnd"===n.type&&(i=l);let u={type:"labelLink"===e[r][1].type?"link":"image",start:{...e[r][1].start},end:{...e[e.length-1][1].end}},s={type:"label",start:{...e[r][1].start},end:{...e[i][1].end}},c={type:"labelText",start:{...e[r+a+2][1].end},end:{...e[i-2][1].start}};return o=[["enter",u,t],["enter",s,t]],o=(0,z.V)(o,e.slice(r+1,r+a+3)),o=(0,z.V)(o,[["enter",c,t]]),o=(0,z.V)(o,(0,eA.W)(t.parser.constructs.insideSpan.null,e.slice(r+a+4,i-3),t)),o=(0,z.V)(o,[["exit",c,t],e[i-2],e[i-1],["exit",s,t]]),o=(0,z.V)(o,e.slice(i+1)),o=(0,z.V)(o,[["exit",u,t]]),(0,z.m)(e,r,e.length,o),e},tokenize:function(e,t,n){let r,i,o=this,l=o.events.length;for(;l--;)if(("labelImage"===o.events[l][1].type||"labelLink"===o.events[l][1].type)&&!o.events[l][1]._balanced){r=o.events[l][1];break}return function(t){return r?r._inactive?c(t):(i=o.parser.defined.includes((0,eh.B)(o.sliceSerialize({start:r.end,end:o.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),a):n(t)};function a(t){return 40===t?e.attempt(eD,s,i?s:c)(t):91===t?e.attempt(eM,s,i?u:c)(t):i?s(t):c(t)}function u(t){return e.attempt(eI,s,c)(t)}function s(e){return t(e)}function c(e){return r._balanced=!0,n(e)}}},eD={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return(0,Q.Ee)(t)?ep(e,i)(t):i(t)}function i(t){return 41===t?s(t):ec(e,o,l,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function o(t){return(0,Q.Ee)(t)?ep(e,a)(t):s(t)}function l(e){return n(e)}function a(t){return 34===t||39===t||40===t?ed(e,u,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):s(t)}function u(t){return(0,Q.Ee)(t)?ep(e,s)(t):s(t)}function s(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},eM={tokenize:function(e,t,n){let r=this;return function(t){return ef.call(r,e,i,o,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes((0,eh.B)(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}},eI={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}},eN={name:"labelStartImage",resolveAll:eL.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),o):n(t)}function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}};var eF=n(95505);let e_={name:"attention",resolveAll:function(e,t){let n,r,i,o,l,a,u,s,c=-1;for(;++c<e.length;)if("enter"===e[c][0]&&"attentionSequence"===e[c][1].type&&e[c][1]._close){for(n=c;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[
9n][1]).charCodeAt(0)===t.sliceSerialize(e[c][1]).charCodeAt(0)){if((e[n][1]._close||e[c][1]._open)&&(e[c][1].end.offset-e[c][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[c][1].end.offset-e[c][1].start.offset)%3))continue;a=e[n][1].end.offset-e[n][1].start.offset>1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;let f={...e[n][1].end},d={...e[c][1].start};ej(f,-a),ej(d,a),o={type:a>1?"strongSequence":"emphasisSequence",start:f,end:{...e[n][1].end}},l={type:a>1?"strongSequence":"emphasisSequence",start:{...e[c][1].start},end:d},i={type:a>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[c][1].start}},r={type:a>1?"strong":"emphasis",start:{...o.start},end:{...l.end}},e[n][1].end={...o.start},e[c][1].start={...l.end},u=[],e[n][1].end.offset-e[n][1].start.offset&&(u=(0,z.V)(u,[["enter",e[n][1],t],["exit",e[n][1],t]])),u=(0,z.V)(u,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",i,t]]),u=(0,z.V)(u,(0,eA.W)(t.parser.constructs.insideSpan.null,e.slice(n+1,c),t)),u=(0,z.V)(u,[["exit",i,t],["enter",l,t],["exit",l,t],["exit",r,t]]),e[c][1].end.offset-e[c][1].start.offset?(s=2,u=(0,z.V)(u,[["enter",e[c][1],t],["exit",e[c][1],t]])):s=0,(0,z.m)(e,n-1,c-n+3,u),c=n+u.length-s-2;break}}for(c=-1;++c<e.length;)"attentionSequence"===e[c][1].type&&(e[c][1].type="data");return e},tokenize:function(e,t){let n,r=this.parser.constructs.attentionMarkers.null,i=this.previous,o=(0,eF.S)(i);return function(l){return n=l,e.enter("attentionSequence"),function l(a){if(a===n)return e.consume(a),l;let u=e.exit("attentionSequence"),s=(0,eF.S)(a),c=!s||2===s&&o||r.includes(a),f=!o||2===o&&s||r.includes(i);return u._open=!!(42===n?c:c&&(o||!f)),u._close=!!(42===n?f:f&&(s||!c)),t(a)}(l)}}};function ej(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}let ez={name:"labelStartLink",resolveAll:eL.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}},eH={42:el,43:el,45:el,48:el,49:el,50:el,51:el,52:el,53:el,54:el,55:el,56:el,57:el,62:es},eB={91:{name:"definition",tokenize:function(e,t,n){let r,i=this;return function(t){var r;return e.enter("definition"),r=t,ef.call(i,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(r)};function o(t){return(r=(0,eh.B)(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),l):n(t)}function l(t){return(0,Q.Ee)(t)?ep(e,a)(t):a(t)}function a(t){return ec(e,u,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function u(t){return e.attempt(em,s,s)(t)}function s(t){return(0,Q.On)(t)?(0,V.N)(e,c,"whitespace")(t):c(t)}function c(o){return null===o||(0,Q.HP)(o)?(e.exit("definition"),i.parser.defined.push(r),t(o)):n(o)}}}},eU={[-2]:eg,[-1]:eg,32:eg},eW={35:{name:"headingAtx",resolve:function(e,t){let n,r,i=e.length-2,o=3;return"whitespace"===e[3][1].type&&(o+=2),i-2>o&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4),i>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},(0,z.m)(e,o,i-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e},tokenize:function(e,t,n){let r=0;return function(i){var o;return e.enter("atxHeading"),o=i,e.enter("atxHeadingSequence"),function i(o){return 35===o&&r++<6?(e.consume(o),i):null===o||(0,Q.Ee)(o)?(e.exit("atxHeadingSequence"),function n(r){return 35===r?(e.enter("atxHeadingSequence"),function t(r){return 35===r?(e.consume(r),t):(e.exit("atxHeadingSequence"),n(r))}(r)):null===r||(0,Q.HP)(r)?(e.exit("atxHeading"),t(r)):(0,Q.On)(r)?(0,V.N)(e,n,"whitespace")(r):(e.enter("atxHeadingText"),function t(r){return null===r||35===r||(0,Q.Ee)(r)?(e.exit("atxHeadingText"),n(r)):(e.consume(r),t)}(r))}(o)):n(o)}(o)}}},42:eo,45:[ev,eo],60:{concrete:!0,name:"htmlFlow",resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},tokenize:function(e,t,n){let r,i,o,l,a,u=this;return function(t){var n;return n=t,e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),s};function s(l){return 33===l?(e.consume(l),c):47===l?(e.consume(l),i=!0,p):63===l?(e.consume(l),r=3,u.interrupt?t:D):(0,Q.CW)(l)?(e.consume(l),o=String.fromCharCode(l),h):n(l)}function c(i){return 45===i?(e.consume(i),r=2,f):91===i?(e.consume(i),r=5,l=0,d):(0,Q.CW)(i)?(e.consume(i),r=4,u.interrupt?t:D):n(i)}function f(r){return 45===r?(e.consume(r),u.interrupt?t:D):n(r)}function d(r){let i="CDATA[";return r===i.charCodeAt(l++)?(e.consume(r),l===i.length)?u.interrupt?t:E:d:n(r)}function p(t){return(0,Q.CW)(t)?(e.consume(t),o=String.fromCharCode(t),h):n(t)}function h(l){if(null===l||47===l||62===l||(0,Q.Ee)(l)){let a=47===l,s=o.toLowerCase();return!a&&!i&&ex.includes(s)?(r=1,u.interrupt?t(l):E(l)):eb.includes(o.toLowerCase())?(r=6,a)?(e.consume(l),m):u.interrupt?t(l):E(l):(r=7,u.interrupt&&!u.parser.lazy[u.now().line]?n(l):i?function t(n){return(0,Q.On)(n)?(e.consume(n),t):w(n)}(l):g(l))}return 45===l||(0,Q.lV)(l)?(e.consume(l),o+=String.fromCharCode(l),h):n(l)}function m(r){return 62===r?(e.consume(r),u.interrupt?t:E):n(r)}function g(t){return 47===t?(e.consume(t),w):58===t||95===t||(0,Q.CW)(t)?(e.consume(t),y):(0,Q.On)(t)?(e.consume(t),g):w(t)}function y(t){return 45===t||46===t||58===t||95===t||(0,Q.lV)(t)?(e.consume(t),y):v(t)}function v(t){return 61===t?(e.consume(t),b):(0,Q.On)(t)?(e.consume(t),v):g(t)}function b(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),a=t,x):(0,Q.On)(t)?(e.consume(t),b):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||(0,Q.Ee)(n)?v(n):(e.consume(n),t)}(t)}function x(t){return t===a?(e.consume(t),a=null,k):null===t||(0,Q.HP)(t)?n(t):(e.consume(t),x)}function k(e){return 47===e||62===e||(0,Q.On)(e)?g(e):n(e)}function w(t){return 62===t?(e.consume(t),S):n(t)}function S(t){return null===t||(0,Q.HP)(t)?E(t):(0,Q.On)(t)?(e.consume(t),S):n(t)}function E(t){return 45===t&&2===r?(e.consume(t),O):60===t&&1===r?(e.consume(t),T):62===t&&4===r?(e.consume(t),M):63===t&&3===r?(e.consume(t),D):93===t&&5===r?(e.consume(t),L):(0,Q.HP)(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(ek,I,C)(t)):null===t||(0,Q.HP)(t)?(e.exit("htmlFlowData"),C(t)):(e.consume(t),E)}function C(t){return e.check(ew,P,I)(t)}function P(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),R}function R(t){return null===t||(0,Q.HP)(t)?C(t):(e.enter("htmlFlowData"),E(t))}function O(t){return 45===t?(e.consume(t),D):E(t)}function T(t){return 47===t?(e.consume(t),o="",A):E(t)}function A(t){if(62===t){let n=o.toLowerCase();return ex.includes(n)?(e.consume(t),M):E(t)}return(0,Q.CW)(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),A):E(t)}function L(t){return 93===t?(e.consume(t),D):E(t)}function D(t){return 62===t?(e.consume(t),M):45===t&&2===r?(e.consume(t),D):E(t)}function M(t){return null===t||(0,Q.HP)(t)?(e.exit("htmlFlowData"),I(t)):(e.consume(t),M)}function I(n){return e.exit("htmlFlow"),t(n)}}},61:ev,95:eo,96:eE,126:eE},eV={38:eR,92:eO},eQ={[-5]:eT,[-4]:eT,[-3]:eT,33:eN,38:eR,42:e_,60:[{name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return(0,Q.CW)(t)?(e.consume(t),o):64===t?n(t):a(t)}function o(t){return 43===t||45===t||46===t||(0,Q.lV)(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,l):(43===n||45===n||46===n||(0,Q.lV)(n))&&r++<32?(e.consume(n),t):(r=0,a(n))}(t)):a(t)}function l(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||(0,Q.JQ)(r)?n(r):(e.consume(r),l)}function a(t){return 64===t?(e.consume(t),u):(0,Q.cx)(t)?(e.consume(t),a):n(t)}function u(i){return(0,Q.lV)(i)?function i(o){return 46===o?(e.consume(o),r=0,u):62===o?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(o),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(o){if((45===o||(0,Q.lV)(o))&&r++<63){let n=45===o?t:i;return e.consume(o),n}return n(o)}(o)}(i):n(i)}}},{name:"htmlText",tokenize:function(e,t,n){let r,i,o,l=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),a};function a(t){return 33===t?(e.consume(t),u):47===t?(e.consume(t),x):63===t?(e.consume(t),v):(0,Q.CW)(t)?(e.consume(t),w):n(t)}function u(t){return 45===t?(e.consume(t),s):91===t?(e.consume(t),i=0,p):(0,Q.CW)(t)?(e.consume(t),y):n(t)}function s(t){return 45===t?(e.consume(t),d):n(t)}function c(t){return null===t?n(t):45===t?(e.consume(t),f):(0,Q.HP)(t)?(o=c,A(t)):(e.consume(t),c)}function f(t){return 45===t?(e.consume(t),d):c(t)}function d(e){return 62===e?T(e):45===e?f(e):c(e)}function p(t){let r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),i===r.length?h:p):n(t)}function h(t){return null===t?n(t):93===t?(e.consume(t),m):(0,Q.HP)(t)?(o=h,A(t)):(e.consume(t),h)}function m(t){return 93===t?(e.consume(t),g):h(t)}function g(t){return 62===t?T(t):93===t?(e.consume(t),g):h(t)}function y(t){return null===t||62===t?T(t):(0,Q.HP)(t)?(o=y,A(t)):(e.consume(t),y)}function v(t){return null===t?n(t):63===t?(e.consume(t),b):(0,Q.HP)(t)?(o=v,A(t)):(e.consume(t),v)}function b(e){return 62===e?T(e):v(e)}function x(t){return(0,Q.CW)(t)?(e.consume(t),k):n(t)}function k(t){return 45===t||(0,Q.lV)(t)?(e.consume(t),k):function t(n){return(0,Q.HP)(n)?(o=t,A(n)):(0,Q.On)(n)?(e.consume(n),t):T(n)}(t)}function w(t){return 45===t||(0,Q.lV)(t)?(e.consume(t),w):47===t||62===t||(0,Q.Ee)(t)?S(t):n(t)}function S(t){return 47===t?(e.consume(t),T):58===t||95===t||(0,Q.CW)(t)?(e.consume(t),E):(0,Q.HP)(t)?(o=S,A(t)):(0,Q.On)(t)?(e.consume(t),S):T(t)}function E(t){return 45===t||46===t||58===t||95===t||(0,Q.lV)(t)?(e.consume(t),E):function t(n){return 61===n?(e.consume(n),C):(0,Q.HP)(n)?(o=t,A(n)):(0,Q.On)(n)?(e.consume(n),t):S(n)}(t)}function C(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,P):(0,Q.HP)(t)?(o=C,A(t)):(0,Q.On)(t)?(e.consume(t),C):(e.consume(t),R)}function P(t){return t===r?(e.consume(t),r=void 0,O):null===t?n(t):(0,Q.HP)(t)?(o=P,A(t)):(e.consume(t),P)}function R(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||(0,Q.Ee)(t)?S(t):(e.consume(t),R)}function O(e){return 47===e||62===e||(0,Q.Ee)(e)?S(e):n(e)}function T(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function A(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),L}function L(t){return(0,Q.On)(t)?(0,V.N)(e,D,"linePrefix",l.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):D(t)}function D(t){return e.enter("htmlTextData"),o(t)}}}],91:ez,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return(0,Q.HP)(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},eO],93:eL,95:e_,96:{name:"codeText",previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(e){let t,n,r=e.length-4,i=3;if(("lineEnding"===e[3][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=i;++t<r;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[r][1].type="codeTextPadding",i+=2,r-=2;break}}for(t=i-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):(t===r||"lineEnding"===e[t][1].type)&&(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},tokenize:function(e,t,n){let r,i,o=0;
9return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),o++,t):(e.exit("codeTextSequence"),l(n))}(t)};function l(u){return null===u?n(u):32===u?(e.enter("space"),e.consume(u),e.exit("space"),l):96===u?(i=e.enter("codeTextSequence"),r=0,function n(l){return 96===l?(e.consume(l),r++,n):r===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(l)):(i.type="codeTextData",a(l))}(u)):(0,Q.HP)(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),l):(e.enter("codeTextData"),a(u))}function a(t){return null===t||32===t||96===t||(0,Q.HP)(t)?(e.exit("codeTextData"),l(t)):(e.consume(t),a)}}}},eq={null:[e_,G]},e$={null:[42,95]},eK={null:[]},eY=/[\0\t\n\r]/g;function eX(e,t){let n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCodePoint(n)}let eJ=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function eZ(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){let e=n.charCodeAt(1),t=120===e||88===e;return eX(n.slice(t?2:1),t?16:10)}return eP(n)||e}let eG={}.hasOwnProperty;function e0(e){return{line:e.line,column:e.column,offset:e.offset}}function e1(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+v({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+v({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+v({start:t.start,end:t.end})+") is still open")}function e2(e){let t=this;t.parser=function(n){var i,o;let l,a,u,s;return"string"!=typeof(i={...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})&&(o=i,i=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:r(y),autolinkProtocol:s,autolinkEmail:s,atxHeading:r(h),blockQuote:r(function(){return{type:"blockquote",children:[]}}),characterEscape:s,characterReference:s,codeFenced:r(p),codeFencedFenceInfo:i,codeFencedFenceMeta:i,codeIndented:r(p,i),codeText:r(function(){return{type:"inlineCode",value:""}},i),codeTextData:s,data:s,codeFlowValue:s,definition:r(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:i,definitionLabelString:i,definitionTitleString:i,emphasis:r(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:r(m),hardBreakTrailing:r(m),htmlFlow:r(g,i),htmlFlowData:s,htmlText:r(g,i),htmlTextData:s,image:r(function(){return{type:"image",title:null,url:"",alt:null}}),label:i,link:r(y),listItem:r(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0)},listOrdered:r(b,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:r(b),paragraph:r(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:i,resourceDestinationString:i,resourceTitleString:i,setextHeading:r(h),strong:r(function(){return{type:"strong",children:[]}}),thematicBreak:r(function(){return{type:"thematicBreak"}})},exit:{atxHeading:l(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];t.depth||(t.depth=this.sliceSerialize(e).length)},autolink:l(),autolinkEmail:function(e){c.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){c.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:l(),characterEscapeValue:c,characterReferenceMarkerHexadecimal:d,characterReferenceMarkerNumeric:d,characterReferenceValue:function(e){let t,n=this.sliceSerialize(e),r=this.data.characterReferenceType;r?(t=eX(n,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0):t=eP(n);let i=this.stack[this.stack.length-1];i.value+=t},characterReference:function(e){this.stack.pop().position.end=e0(e.end)},codeFenced:l(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){let e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){let e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:c,codeIndented:l(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:l(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:c,data:c,definition:l(),definitionDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=(0,eh.B)(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:l(),hardBreakEscape:l(f),hardBreakTrailing:l(f),htmlFlow:l(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:c,htmlText:l(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:c,image:l(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];this.data.inReference=!0,"link"===n.type?n.children=e.children:n.alt=t},labelText:function(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=t.replace(eJ,eZ),n.identifier=(0,eh.B)(t).toLowerCase()},lineEnding:function(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){n.children[n.children.length-1].position.end=e0(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.t
9ype)&&(s.call(this,e),c.call(this,e))},link:l(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=(0,eh.B)(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){this.data.inReference=void 0},setextHeading:l(function(){this.data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:l(),thematicBreak:l()}};!function e(t,n){let r=-1;for(;++r<n.length;){let i=n[r];Array.isArray(i)?e(t,i):function(e,t){let n;for(n in t)if(eG.call(t,n))switch(n){case"canContainEols":{let r=t[n];r&&e[n].push(...r);break}case"transforms":{let r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{let r=t[n];r&&Object.assign(e[n],r)}}}(t,i)}}(t,(e||{}).mdastExtensions||[]);let n={};return function(e){let r={type:"root",children:[]},l={stack:[r],tokenStack:[],config:t,enter:o,exit:a,buffer:i,resume:u,data:n},s=[],c=-1;for(;++c<e.length;)("listOrdered"===e[c][1].type||"listUnordered"===e[c][1].type)&&("enter"===e[c][0]?s.push(c):c=function(e,t,n){let r,i,o,l,a=t-1,u=-1,s=!1;for(;++a<=n;){let t=e[a];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?u++:u--,l=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||l||u||o||(o=a),l=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:l=void 0}if(!u&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===u&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let l=a;for(i=void 0;l--;){let t=e[l];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;i&&(e[i][1].type="lineEndingBlank",s=!0),t[1].type="lineEnding",i=l}else if("linePrefix"===t[1].type||"blockQuotePrefix"===t[1].type||"blockQuotePrefixWhitespace"===t[1].type||"blockQuoteMarker"===t[1].type||"listItemIndent"===t[1].type);else break}o&&(!i||o<i)&&(r._spread=!0),r.end=Object.assign({},i?e[i][1].start:t[1].end),e.splice(i||a,0,["exit",r,t[2]]),a++,n++}if("listItemPrefix"===t[1].type){let i={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=i,e.splice(a,0,["enter",i,t[2]]),a++,n++,o=void 0,l=!0}}}return e[t][1]._spread=s,n}(e,s.pop(),c));for(c=-1;++c<e.length;){let n=t[e[c][0]];eG.call(n,e[c][1].type)&&n[e[c][1].type].call(Object.assign({sliceSerialize:e[c][2].sliceSerialize},l),e[c][1])}if(l.tokenStack.length>0){let e=l.tokenStack[l.tokenStack.length-1];(e[1]||e1).call(l,void 0,e[0])}for(r.position={start:e0(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:e0(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},c=-1;++c<t.transforms.length;)r=t.transforms[c](r)||r;return r};function r(e,t){return function(n){o.call(this,e(n),n),t&&t.call(this,n)}}function i(){this.stack.push({type:"fragment",children:[]})}function o(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:e0(t.start),end:void 0}}function l(e){return function(t){e&&e.call(this,t),a.call(this,t)}}function a(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r)r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||e1).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+v({start:e.start,end:e.end})+"): it’s not open");n.position.end=e0(e.end)}function u(){return(0,j.d)(this.stack.pop())}function s(e){let t=this.stack[this.stack.length-1].children,n=t[t.length-1];n&&"text"===n.type||((n={type:"text",value:""}).position={start:e0(e.start),end:void 0},t.push(n)),this.stack.push(n)}function c(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=e0(e.end)}function f(){this.data.atHardBreak=!0}function d(e){this.data.characterReferenceType=e.type}function p(){return{type:"code",lang:null,meta:null,value:""}}function h(){return{type:"heading",depth:0,children:[]}}function m(){return{type:"break"}}function g(){return{type:"html",value:""}}function y(){return{type:"link",title:null,url:"",children:[]}}function b(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(o)(function(e){for(;!U(e););return e}((function(e){let t={constructs:(0,W.y)([r,...(e||{}).extensions||[]]),content:n(q),defined:[],document:n($),flow:n(Z),lazy:{},string:n(ee),text:n(et)};return t;function n(e){return function(n){return function(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,c
9olumn:n&&n.column||1,offset:n&&n.offset||0},i={},o=[],l=[],a=[],u={attempt:h(function(e,t){m(e,t.from)}),check:h(p),consume:function(e){(0,Q.HP)(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,g()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===l[r._index].length&&(r._bufferIndex=-1,r._index++)),s.previous=e},enter:function(e,t){let n=t||{};return n.type=e,n.start=d(),s.events.push(["enter",n,s]),a.push(n),n},exit:function(e){let t=a.pop();return t.end=d(),s.events.push(["exit",t,s]),t},interrupt:h(p,{interrupt:!0})},s={code:null,containerState:{},defineSkip:function(e){i[e.line]=e.column,g()},events:[],now:d,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){let n,r=-1,i=[];for(;++r<e.length;){let o,l=e[r];if("string"==typeof l)o=l;else switch(l){case -5:o="\r";break;case -4:o="\n";break;case -3:o="\r\n";break;case -2:o=t?" ":" ";break;case -1:if(!t&&n)continue;o=" ";break;default:o=String.fromCharCode(l)}n=-2===l,i.push(o)}return i.join("")}(f(e),t)},sliceStream:f,write:function(e){return(l=(0,z.V)(l,e),function(){let e;for(;r._index<l.length;){let n=l[r._index];if("string"==typeof n)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<n.length;){var t;t=n.charCodeAt(r._bufferIndex),c=c(t)}else c=c(n)}}(),null!==l[l.length-1])?[]:(m(t,0),s.events=(0,eA.W)(o,s.events,s),s.events)}},c=t.tokenize.call(s,u);return t.resolveAll&&o.push(t),s;function f(e){return function(e,t){let n,r=t.start._index,i=t.start._bufferIndex,o=t.end._index,l=t.end._bufferIndex;if(r===o)n=[e[r].slice(i,l)];else{if(n=e.slice(r,o),i>-1){let e=n[0];"string"==typeof e?n[0]=e.slice(i):n.shift()}l>0&&n.push(e[o].slice(0,l))}return n}(l,e)}function d(){let{_bufferIndex:e,_index:t,line:n,column:i,offset:o}=r;return{_bufferIndex:e,_index:t,line:n,column:i,offset:o}}function p(e,t){t.restore()}function h(e,t){return function(n,i,o){var l;let c,f,p,h;return Array.isArray(n)?m(n):"tokenize"in n?m([n]):(l=n,function(e){let t=null!==e&&l[e],n=null!==e&&l.null;return m([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(n)?n:n?[n]:[]])(e)});function m(e){return(c=e,f=0,0===e.length)?o:y(e[f])}function y(e){return function(n){let i,o,l,c,f;return(i=d(),o=s.previous,l=s.currentConstruct,c=s.events.length,f=Array.from(a),h={from:c,restore:function(){r=i,s.previous=o,s.currentConstruct=l,s.events.length=c,a=f,g()}},p=e,e.partial||(s.currentConstruct=e),e.name&&s.parser.constructs.disable.null.includes(e.name))?b(n):e.tokenize.call(t?Object.assign(Object.create(s),t):s,u,v,b)(n)}}function v(t){return e(p,h),i}function b(e){return(h.restore(),++f<c.length)?y(c[f]):o}}}function m(e,t){e.resolveAll&&!o.includes(e)&&o.push(e),e.resolve&&(0,z.m)(s.events,t,s.events.length-t,e.resolve(s.events.slice(t),s)),e.resolveTo&&(s.events=e.resolveTo(s.events,s))}function g(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}(t,e,n)}}})(o).document().write((a=1,u="",s=!0,function(e,t,n){let r,i,o,c,f,d=[];for(e=u+("string"==typeof e?e.toString():new TextDecoder(t||void 0).decode(e)),o=0,u="",s&&(65279===e.charCodeAt(0)&&o++,s=void 0);o<e.length;){if(eY.lastIndex=o,c=(r=eY.exec(e))&&void 0!==r.index?r.index:e.length,f=e.charCodeAt(c),!r){u=e.slice(o);break}if(10===f&&o===c&&l)d.push(-3),l=void 0;else switch(l&&(d.push(-5),l=void 0),o<c&&(d.push(e.slice(o,c)),a+=c-o),f){case 0:d.push(65533),a++;break;case 9:for(i=4*Math.ceil(a/4),d.push(-2);a++<i;)d.push(-1);break;case 10:d.push(-4),a=1;break;default:l=!0,a=1}o=c+1}return n&&(l&&d.push(-5),u&&d.push(u),d.push(null)),d})(n,i,!0))))}}var e3=n(8087);function e4(e){let t=[],n=-1,r=0,i=0;for(;++n<e.length;){let o=e.charCodeAt(n),l="";if(37===o&&(0,Q.lV)(e.charCodeAt(n+1))&&(0,Q.lV)(e.charCodeAt(n+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(l=String.fromCharCode(o));else if(o>55295&&o<57344){let t=e.charCodeAt(n+1);o<56320&&t>56319&&t<57344?(l=String.fromCharCode(o,t),i=1):l="�"}else l=String.fromCharCode(o);l&&(t.push(e.slice(r,n),encodeURIComponent(l)),r=n+i+1,l=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function e9(e,t){let n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function e5(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}var e6=n(72056);function e7(e,t){let n=t.referenceType,r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];let i=e.all(t),o=i[0];o&&"text"===o.type?o.value="["+o.value:i.unshift({type:"text",value:"["});let l=i[i.length-1];return l&&"text"===l.type?l.value+=r:i.push({type:"text",value:r}),i}function e8(e){let t=e.spread;return null==t?e.children.length>1:t}function te(e,t,n){let r=0,i=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(i-1);for(;9===t||32===t;)i--,t=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}let tt={blockquote:function(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){let n=t.value?t.value+"\n":"",r={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(r.className=["language-"+i[0]]);let o={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o={type:"element",tagName:"pre",properties:{},children:[o=e.applyData(t,o)]},e.patch(t,o),o},delete:function(e,t){let n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){let n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}
9,footnoteReference:function(e,t){let n,r="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",i=String(t.identifier).toUpperCase(),o=e4(i.toLowerCase()),l=e.footnoteOrder.indexOf(i),a=e.footnoteCounts.get(i);void 0===a?(a=0,e.footnoteOrder.push(i),n=e.footnoteOrder.length):n=l+1,a+=1,e.footnoteCounts.set(i,a);let u={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+o,id:r+"fnref-"+o+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};e.patch(t,u);let s={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(t,s),e.applyData(t,s)},heading:function(e,t){let n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return e7(e,t);let i={src:e4(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(i.title=r.title);let o={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,o),e.applyData(t,o)},image:function(e,t){let n={src:e4(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){let n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);let r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return e7(e,t);let i={href:e4(r.url||"")};null!==r.title&&void 0!==r.title&&(i.title=r.title);let o={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)},link:function(e,t){let n={href:e4(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){let r=e.all(t),i=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r<n.length;)t=e8(n[r])}return t}(n):e8(t),o={},l=[];if("boolean"==typeof t.checked){let e,n=r[0];n&&"element"===n.type&&"p"===n.tagName?e=n:(e={type:"element",tagName:"p",properties:{},children:[]},r.unshift(e)),e.children.length>0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let a=-1;for(;++a<r.length;){let e=r[a];(i||0!==a||"element"!==e.type||"p"!==e.tagName)&&l.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||i?l.push(e):l.push(...e.children)}let u=r[r.length-1];u&&(i||"element"!==u.type||"p"!==u.tagName)&&l.push({type:"text",value:"\n"});let s={type:"element",tagName:"li",properties:o,children:l};return e.patch(t,s),e.applyData(t,s)},list:function(e,t){let n={},r=e.all(t),i=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++i<r.length;){let e=r[i];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}let o={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,o),e.applyData(t,o)},paragraph:function(e,t){let n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){let n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){let n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){let n=e.all(t),r=n.shift(),i=[];if(r){let n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),i.push(n)}if(n.length>0){let r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=(0,y.PW)(t.children[1]),l=(0,y.Y)(t.children[t.children.length-1]);o&&l&&(r.position={start:o,end:l}),i.push(r)}let o={type:"element",tagName:"table",properties:{}
9,children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)},tableCell:function(e,t){let n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){let r=n?n.children:void 0,i=0===(r?r.indexOf(t):1)?"th":"td",o=n&&"table"===n.type?n.align:void 0,l=o?o.length:t.children.length,a=-1,u=[];for(;++a<l;){let n=t.children[a],r={},l=o?o[a]:void 0;l&&(r.align=l);let s={type:"element",tagName:i,properties:r,children:[]};n&&(s.children=e.all(n),e.patch(n,s),s=e.applyData(n,s)),u.push(s)}let s={type:"element",tagName:"tr",properties:{},children:e.wrap(u,!0)};return e.patch(t,s),e.applyData(t,s)},text:function(e,t){let n={type:"text",value:function(e){let t=String(e),n=/\r?\n|\r/g,r=n.exec(t),i=0,o=[];for(;r;)o.push(te(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(te(t.slice(i),i>0,!1)),o.join("")}(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){let n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:tn,yaml:tn,definition:tn,footnoteDefinition:tn};function tn(){}let tr={}.hasOwnProperty,ti={};function to(e,t){e.position&&(t.position=(0,y.G1)(e))}function tl(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,i=e.data.hProperties;"string"==typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:"children"in n?n.children:[n]}),"element"===n.type&&i&&Object.assign(n.properties,(0,e3.Ay)(i)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function ta(e,t){let n=[],r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function tu(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function ts(e,t){let n,r,o,l,a=(n=t||ti,r=new Map,o=new Map,l={all:function(e){let t=[];if("children"in e){let n=e.children,r=-1;for(;++r<n.length;){let i=l.one(n[r],e);if(i){if(r&&"break"===n[r-1].type&&(Array.isArray(i)||"text"!==i.type||(i.value=tu(i.value)),!Array.isArray(i)&&"element"===i.type)){let e=i.children[0];e&&"text"===e.type&&(e.value=tu(e.value))}Array.isArray(i)?t.push(...i):t.push(i)}}}return t},applyData:tl,definitionById:r,footnoteById:o,footnoteCounts:new Map,footnoteOrder:[],handlers:{...tt,...n.handlers},one:function(e,t){let n=e.type,r=l.handlers[n];if(tr.call(l.handlers,n)&&r)return r(l,e,t);if(l.options.passThrough&&l.options.passThrough.includes(n)){if("children"in e){let{children:t,...n}=e,r=(0,e3.Ay)(n);return r.children=l.all(e),r}return(0,e3.Ay)(e)}return(l.options.unknownHandler||function(e,t){let n=t.data||{},r="value"in t&&!(tr.call(n,"hProperties")||tr.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)})(l,e,t)},options:n,patch:to,wrap:ta},(0,e6.YR)(e,function(e){if("definition"===e.type||"footnoteDefinition"===e.type){let t="definition"===e.type?r:o,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}}),l),u=a.one(e,void 0),s=function(e){let t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||e9,r=e.options.footnoteBackLabel||e5,i=e.options.footnoteLabel||"Footnotes",o=e.options.footnoteLabelTagName||"h2",l=e.options.footnoteLabelProperties||{className:["sr-only"]},a=[],u=-1;for(;++u<e.footnoteOrder.length;){let i=e.footnoteById.get(e.footnoteOrder[u]);if(!i)continue;let o=e.all(i),l=String(i.identifier).toUpperCase(),s=e4(l.toLowerCase()),c=0,f=[],d=e.footnoteCounts.get(l);for(;void 0!==d&&++c<=d;){f.length>0&&f.push({type:"text",value:" "});let e="string"==typeof n?n:n(u,c);"string"==typeof e&&(e={type:"text",value:e}),f.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+s+(c>1?"-"+c:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(u,c),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}let p=o[o.length-1];if(p&&"element"===p.type&&"p"===p.tagName){let e=p.children[p.children.length-1];e&&"text"===e.type?e.value+=" ":p.children.push({type:"text",value:" "}),p.children.push(...f)}else o.push(...f);let h={type:"element",tagName:"li",properties:{id:t+"fn-"+s},children:e.wrap(o,!0)};e.patch(i,h),a.push(h)}if(0!==a.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...(0,e3.Ay)(l),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(a,!0)}
9,{type:"text",value:"\n"}]}}(a),c=Array.isArray(u)?{type:"root",children:u}:u||{type:"root",children:[]};return s&&((0,i.ok)("children"in c),c.children.push({type:"text",value:"\n"},s)),c}function tc(e,t){return e&&"run"in e?async function(n,r){let i=ts(n,{file:r,...t});await e.run(i,r)}:function(n,r){return ts(n,{file:r,...e||t})}}function tf(e){if(e)throw e}var td=n(27409);function tp(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}let th=function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');tv(e);let r=0,i=-1,o=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;o--;)if(47===e.codePointAt(o)){if(n){r=o+1;break}}else i<0&&(n=!0,i=o+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let l=-1,a=t.length-1;for(;o--;)if(47===e.codePointAt(o)){if(n){r=o+1;break}}else l<0&&(n=!0,l=o+1),a>-1&&(e.codePointAt(o)===t.codePointAt(a--)?a<0&&(i=o):(a=-1,i=l));return r===i?i=l:i<0&&(i=e.length),e.slice(r,i)},tm=function(e){let t;if(tv(e),0===e.length)return".";let n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},tg=function(e){let t;tv(e);let n=e.length,r=-1,i=0,o=-1,l=0;for(;n--;){let a=e.codePointAt(n);if(47===a){if(t){i=n+1;break}continue}r<0&&(t=!0,r=n+1),46===a?o<0?o=n:1!==l&&(l=1):o>-1&&(l=-1)}return o<0||r<0||0===l||1===l&&o===r-1&&o===i+1?"":e.slice(o,r)},ty=function(...e){var t;let n,r,i,o=-1;for(;++o<e.length;)tv(e[o]),e[o]&&(i=void 0===i?e[o]:i+"/"+e[o]);return void 0===i?".":(tv(t=i),n=47===t.codePointAt(0),0!==(r=function(e,t){let n,r,i="",o=0,l=-1,a=0,u=-1;for(;++u<=e.length;){if(u<e.length)n=e.codePointAt(u);else if(47===n)break;else n=47;if(47===n){if(l===u-1||1===a);else if(l!==u-1&&2===a){if(i.length<2||2!==o||46!==i.codePointAt(i.length-1)||46!==i.codePointAt(i.length-2)){if(i.length>2){if((r=i.lastIndexOf("/"))!==i.length-1){r<0?(i="",o=0):o=(i=i.slice(0,r)).length-1-i.lastIndexOf("/"),l=u,a=0;continue}}else if(i.length>0){i="",o=0,l=u,a=0;continue}}t&&(i=i.length>0?i+"/..":"..",o=2)}else i.length>0?i+="/"+e.slice(l+1,u):i=e.slice(l+1,u),o=u-l-1;l=u,a=0}else 46===n&&a>-1?a++:a=-1}return i}(t,!n)).length||n||(r="."),r.length>0&&47===t.codePointAt(t.length-1)&&(r+="/"),n?"/"+r:r)};function tv(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function tb(e){return!!(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}let tx=["history","path","basename","stem","extname","dirname"];class tk{constructor(e){let t,n;t=e?tb(e)?{path:e}:"string"==typeof e||function(e){return!!(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd="cwd"in t?"":"/",this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<tx.length;){const e=tx[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)tx.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?th(this.path):void 0}set basename(e){tS(e,"basename"),tw(e,"basename"),this.path=ty(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?tm(this.path):void 0}set dirname(e){tE(this.basename,"dirname"),this.path=ty(e||"",this.basename)}get extname(){return"string"==typeof this.path?tg(this.path):void 0}set extname(e){if(tw(e,"extname"),tE(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw Error("`extname` must start with `.`");if(e.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=ty(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){tb(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!tb(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){let e=TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){let e=TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}let t=e.pathname,n=-1;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){let e=t.codePointAt(n+2);if(70===e||102===e){let e=TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),tS(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?th(this.path,this.extname):void 0}set stem(e){tS(e,"stem"),tw(e,"stem"),this.path=ty(this.dirname||"",e+(this.extname||""))}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){let r=new w(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){return void 0===this.value?"":"string"==typeof this.value?this.value:new TextDecoder(e||void 0).decode(this.value)}}function tw(e,t){if(e&&e.includes("/"))throw Error("`"+t+"` cannot be a path: did not expect `/`")}function tS(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function tE(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}let tC=function(e){let t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r},tP={}.hasOwnProperty;class tR extends tC{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=function(){let e=[],t={run:function(...t){let n=-1,r=t.pop();if("function"!=typeof r)throw TypeError("Expected function as last argument, not "+r);!function i(o,...l){let a=e[++n],u=-1;if(o)return void r(o);for(;++u<t.length;)(null===l[u]||void 0===l[u])&&(l[u]=t[u]);t=l,a?(function(e,t){let n;return function(...t){let o,l=e.length>t.length;l&&t.push(r);try{o=e.apply(this,t)}catch(e){if(l&&n)throw e;return r(e)}l||(o&&o.then&&"function"==typeof o.then?o.then(i,r):o instanceof Error?r(o):i(o))};function r(e,...i){n||(n=!0,t(e,...i))}function i(e){r(null,e)}}
9)(a,i)(...l):r(null,...l)}(null,...t)},use:function(n){if("function"!=typeof n)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}()}copy(){let e=new tR,t=-1;for(;++t<this.attachers.length;){let n=this.attachers[t];e.use(...n)}return e.data(td(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2==arguments.length?(tL("data",this.frozen),this.namespace[e]=t,this):tP.call(this.namespace,e)&&this.namespace[e]||void 0:e?(tL("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;for(;++this.freezeIndex<this.attachers.length;){let[e,...t]=this.attachers[this.freezeIndex];if(!1===t[0])continue;!0===t[0]&&(t[0]=void 0);let n=e.call(this,...t);"function"==typeof n&&this.transformers.use(n)}return this.frozen=!0,this.freezeIndex=1/0,this}parse(e){this.freeze();let t=tI(e),n=this.parser||this.Parser;return tT("parse",n),n(String(t),t)}process(e,t){let n=this;return this.freeze(),tT("process",this.parser||this.Parser),tA("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,o){let l=tI(e),a=n.parse(l);function u(e,n){e||!n?o(e):r?r(n):((0,i.ok)(t,"`done` is defined if `resolve` is not"),t(void 0,n))}n.run(a,l,function(e,t,r){var i,o;if(e||!t||!r)return u(e);let l=n.stringify(t,r);"string"==typeof(i=l)||(o=i)&&"object"==typeof o&&"byteLength"in o&&"byteOffset"in o?r.value=l:r.result=l,u(e,r)})}}processSync(e){let t,n=!1;return this.freeze(),tT("processSync",this.parser||this.Parser),tA("processSync",this.compiler||this.Compiler),this.process(e,function(e,r){n=!0,tf(e),t=r}),tM("processSync","process",n),(0,i.ok)(t,"we either bailed on an error or have a tree"),t}run(e,t,n){tD(e),this.freeze();let r=this.transformers;return n||"function"!=typeof t||(n=t,t=void 0),n?o(void 0,n):new Promise(o);function o(o,l){(0,i.ok)("function"!=typeof t,"`file` can’t be a `done` anymore, we checked");let a=tI(t);r.run(e,a,function(t,r,a){let u=r||e;t?l(t):o?o(u):((0,i.ok)(n,"`done` is defined if `resolve` is not"),n(void 0,u,a))})}}runSync(e,t){let n,r=!1;return this.run(e,t,function(e,t){tf(e),n=t,r=!0}),tM("runSync","run",r),(0,i.ok)(n,"we either bailed on an error or have a tree"),n}stringify(e,t){this.freeze();let n=tI(t),r=this.compiler||this.Compiler;return tA("stringify",r),tD(e),r(e,n)}use(e,...t){let n=this.attachers,r=this.namespace;if(tL("use",this.frozen),null==e);else if("function"==typeof e)l(e,t);else if("object"==typeof e)Array.isArray(e)?o(e):i(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function i(e){if(!("plugins"in e)&&!("settings"in e))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");o(e.plugins),e.settings&&(r.settings=td(!0,r.settings,e.settings))}function o(e){let t=-1;if(null==e);else if(Array.isArray(e))for(;++t<e.length;)!function(e){if("function"==typeof e)l(e,[]);else if("object"==typeof e)if(Array.isArray(e)){let[t,...n]=e;l(t,n)}else i(e);else throw TypeError("Expected usable value, not `"+e+"`")}(e[t]);else throw TypeError("Expected a list of plugins, not `"+e+"`")}function l(e,t){let r=-1,i=-1;for(;++r<n.length;)if(n[r][0]===e){i=r;break}if(-1===i)n.push([e,...t]);else if(t.length>0){let[r,...o]=t,l=n[i][1];tp(l)&&tp(r)&&(r=td(!0,l,r)),n[i]=[e,r,...o]}}}}let tO=new tR().freeze();function tT(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function tA(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function tL(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function tD(e){if(!tp(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function tM(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function tI(e){var t;return(t=e)&&"object"==typeof t&&"message"in t&&"messages"in t?e:new tk(e)}let tN=[],tF={allowDangerousHtml:!0},t_=/^(https?|ircs?|mailto|xmpp)$/i,tj=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function tz(e){var t;let n,r,o,l,a,u=(n=(t=e).rehypePlugins||tN,r=t.remarkPlugins||tN,o=t.remarkRehypeOptions?{...t.remarkRehypeOptions,...tF}:tF,tO().use(e2).use(r).use(tc,o).use(n)),s=(l=e.children||"",a=new tk,"string"==typeof l?a.value=l:(0,i.HB)("Unexpected value `"+l+"` for `children` prop, expected `string`"),a);return function(e,t){let n=t.allowedElements,r=t.allowElement,o=t.components,l=t.disallowedElements,a=t.skipHtml,u=t.unwrapDisallowed,s=t.urlTransform||tH;for(let e of tj)Object.hasOwn(t,e.from)&&(0,i.HB)("Unexpected `"+e.from+"` prop, "+(e.to?"use `"+e.to+"` instead":"remove it")+" (see <https://github.com/remarkjs/react-markdown/blob/main/changelog.md#"+e.id+"> for more info)");return n&&l&&(0,i.HB)("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other"),(0,e6.YR)(e,function(e,t,i){if("raw"===e.type&&i&&"number"==typeof t)return a?i.children.splice(t,1):i.children[t]={type:"text",value:e.value},t;if("element"===e.type){let t;for(t in F)if(Object.hasOwn(F,t)&&Object.hasOwn(e.properties,t)){let n=e.properties[t],r=F[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=s(String(n||""),t,e))}}if("element"===e.type){let o=n?!n.includes(e.tagName):!!l&&l.includes(e.tagName);if(!o&&r&&"number"==typeof t&&(o=!r(e,t,i)),o&&i&&"number"==typeof t)return u&&e.children?i.children.splice(t,1,...e.children):i.children.splice(t,1),t}}),function(e,t){var n,r,i,o;let l;if(!t||void 0===t.Fragment)throw TypeError("Expected `Fragment` in options");let a=t.filePath||void 0;if(t.development){if("function"!=typeof t.jsxDEV)throw TypeError("Expected `jsxDEV` in options when `development: true`");n=a,r=t.jsxDEV,l=function(e,t,i,o){let l=Array.isArray(i.children),a=(0,y.PW)(e);return r(t,i,o,l,{columnNumber:a?a.column-1:void 0,fileName:n,lineNumber:a?a.line:void 0},void 0)}}else{if("function"!=typeof t.jsx)throw TypeError("Expected `jsx` in production options");
9if("function"!=typeof t.jsxs)throw TypeError("Expected `jsxs` in production options");i=t.jsx,o=t.jsxs,l=function(e,t,n,r){let l=Array.isArray(n.children)?o:i;return r?l(t,n,r):l(t,n)}}let u={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:l,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:a,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?d.JW:d.qy,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},s=T(u,e,void 0);return s&&"string"!=typeof s?s:u.create(e,u.Fragment,{children:s||void 0},void 0)}(e,{Fragment:_.Fragment,components:o,ignoreInvalidStyle:!0,jsx:_.jsx,jsxs:_.jsxs,passKeys:!0,passNode:!0})}(u.runSync(u.parse(s),s),e)}function tH(e){let t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return -1===t||-1!==i&&t>i||-1!==n&&t>n||-1!==r&&t>r||t_.test(e.slice(0,t))?e:""}},77025:(e,t,n)=>{function r(){}function i(){}n.d(t,{HB:()=>i,ok:()=>r})},77316:(e,t,n)=>{n.d(t,{qy:()=>y,JW:()=>v});class r{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function i(e,t){let n={},i={};for(let t of e)Object.assign(n,t.property),Object.assign(i,t.normal);return new r(n,i,t)}r.prototype.normal={},r.prototype.property={},r.prototype.space=void 0;var o=n(18605),l=n(78447);function a(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let a=new l.E(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[(0,o.S)(r)]=r,n[(0,o.S)(a.attribute)]=r}return new r(t,n,e.space)}var u=n(90652);let s=a({properties:{ariaActiveDescendant:null,ariaAtomic:u.booleanish,ariaAutoComplete:null,ariaBusy:u.booleanish,ariaChecked:u.booleanish,ariaColCount:u.number,ariaColIndex:u.number,ariaColSpan:u.number,ariaControls:u.spaceSeparated,ariaCurrent:null,ariaDescribedBy:u.spaceSeparated,ariaDetails:null,ariaDisabled:u.booleanish,ariaDropEffect:u.spaceSeparated,ariaErrorMessage:null,ariaExpanded:u.booleanish,ariaFlowTo:u.spaceSeparated,ariaGrabbed:u.booleanish,ariaHasPopup:null,ariaHidden:u.booleanish,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:u.spaceSeparated,ariaLevel:u.number,ariaLive:null,ariaModal:u.booleanish,ariaMultiLine:u.booleanish,ariaMultiSelectable:u.booleanish,ariaOrientation:null,ariaOwns:u.spaceSeparated,ariaPlaceholder:null,ariaPosInSet:u.number,ariaPressed:u.booleanish,ariaReadOnly:u.booleanish,ariaRelevant:null,ariaRequired:u.booleanish,ariaRoleDescription:u.spaceSeparated,ariaRowCount:u.number,ariaRowIndex:u.number,ariaRowSpan:u.number,ariaSelected:u.booleanish,ariaSetSize:u.number,ariaSort:null,ariaValueMax:u.number,ariaValueMin:u.number,ariaValueNow:u.number,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function c(e,t){return t in e?e[t]:t}function f(e,t){return c(e,t.toLowerCase())}let d=a({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:u.commaSeparated,acceptCharset:u.spaceSeparated,accessKey:u.spaceSeparated,action:null,allow:null,allowFullScreen:u.boolean,allowPaymentRequest:u.boolean,allowUserMedia:u.boolean,alt:null,as:null,async:u.boolean,autoCapitalize:null,autoComplete:u.spaceSeparated,autoFocus:u.boolean,autoPlay:u.boolean,blocking:u.spaceSeparated,capture:null,charSet:null,checked:u.boolean,cite:null,className:u.spaceSeparated,cols:u.number,colSpan:null,content:null,contentEditable:u.booleanish,controls:u.boolean,controlsList:u.spaceSeparated,coords:u.number|u.commaSeparated,crossOrigin:null,data:null,dateTime:null,decoding:null,default:u.boolean,defer:u.boolean,dir:null,dirName:null,disabled:u.boolean,download:u.overloadedBoolean,draggable:u.booleanish,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:u.boolean,formTarget:null,headers:u.spaceSeparated,height:u.number,hidden:u.overloadedBoolean,high:u.number,href:null,hrefLang:null,htmlFor:u.spaceSeparated,httpEquiv:u.spaceSeparated,id:null,imageSizes:null,imageSrcSet:null,inert:u.boolean,inputMode:null,integrity:null,is:null,isMap:u.boolean,itemId:null,itemProp:u.spaceSeparated,itemRef:u.spaceSeparated,itemScope:u.boolean,itemType:u.spaceSeparated,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:u.boolean,low:u.number,manifest:null,max:null,maxLength:u.number,media:null,method:null,min:null,minLength:u.number,multiple:u.boolean,muted:u.boolean,name:null,nonce:null,noModule:u.boolean,noValidate:u.boolean,onAbort:null,onAfterPrint:null,onAuxCl
9ick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:u.boolean,optimum:u.number,pattern:null,ping:u.spaceSeparated,placeholder:null,playsInline:u.boolean,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:u.boolean,referrerPolicy:null,rel:u.spaceSeparated,required:u.boolean,reversed:u.boolean,rows:u.number,rowSpan:u.number,sandbox:u.spaceSeparated,scope:null,scoped:u.boolean,seamless:u.boolean,selected:u.boolean,shadowRootClonable:u.boolean,shadowRootDelegatesFocus:u.boolean,shadowRootMode:null,shape:null,size:u.number,sizes:null,slot:null,span:u.number,spellCheck:u.booleanish,src:null,srcDoc:null,srcLang:null,srcSet:null,start:u.number,step:null,style:null,tabIndex:u.number,target:null,title:null,translate:null,type:null,typeMustMatch:u.boolean,useMap:null,value:u.booleanish,width:u.number,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:u.spaceSeparated,axis:null,background:null,bgColor:null,border:u.number,borderColor:null,bottomMargin:u.number,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:u.boolean,declare:u.boolean,event:null,face:null,frame:null,frameBorder:null,hSpace:u.number,leftMargin:u.number,link:null,longDesc:null,lowSrc:null,marginHeight:u.number,marginWidth:u.number,noResize:u.boolean,noHref:u.boolean,noShade:u.boolean,noWrap:u.boolean,object:null,profile:null,prompt:null,rev:null,rightMargin:u.number,rules:null,scheme:null,scrolling:u.booleanish,standby:null,summary:null,text:null,topMargin:u.number,valueType:null,version:null,vAlign:null,vLink:null,vSpace:u.number,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:u.boolean,disableRemotePlayback:u.boolean,prefix:null,property:null,results:u.number,security:null,unselectable:null},space:"html",transform:f}),p=a({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav
9-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:u.commaOrSpaceSeparated,accentHeight:u.number,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:u.number,amplitude:u.number,arabicForm:null,ascent:u.number,attributeName:null,attributeType:null,azimuth:u.number,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:u.number,by:null,calcMode:null,capHeight:u.number,className:u.spaceSeparated,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:u.number,diffuseConstant:u.number,direction:null,display:null,dur:null,divisor:u.number,dominantBaseline:null,download:u.boolean,dx:null,dy:null,edgeMode:null,editable:null,elevation:u.number,enableBackgroun
9d:null,end:null,event:null,exponent:u.number,externalResourcesRequired:null,fill:null,fillOpacity:u.number,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:u.commaSeparated,g2:u.commaSeparated,glyphName:u.commaSeparated,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:u.number,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:u.number,horizOriginX:u.number,horizOriginY:u.number,id:null,ideographic:u.number,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:u.number,k:u.number,k1:u.number,k2:u.number,k3:u.number,k4:u.number,kernelMatrix:u.commaOrSpaceSeparated,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:u.number,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:u.number,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:u.number,overlineThickness:u.number,paintOrder:null,panose1:null,path:null,pathLength:u.number,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:u.spaceSeparated,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:u.number,pointsAtY:u.number,pointsAtZ:u.number,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:u.commaOrSpaceSeparated,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:u.commaOrSpaceSeparated,rev:u.commaOrSpaceSeparated,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:u.commaOrSpaceSeparated,requiredFeatures:u.commaOrSpaceSeparated,requiredFonts:u.commaOrSpaceSeparated,requiredFormats:u.commaOrSpaceSeparated,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:u.number,specularExponent:u.number,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:u.number,strikethroughThickness:u.number,string:null,stroke:null,strokeDashArray:u.commaOrSpaceSeparated,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:u.number,strokeOpacity:u.number,strokeWidth:null,style:null,surfaceScale:u.number,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:u.commaOrSpaceSeparated,tabIndex:u.number,tableValues:null,target:null,targetX:u.number,targetY:u.number,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:u.commaOrSpaceSeparated,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:u.number,underlineThickness:u.number,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:u.number,values:null,vAlphabetic:u.number,vMathematical:u.number,vectorEffect:null,vHanging:u.number,vIdeographic:u.number,version:null,vertAdvY:u.number,vertOriginX:u.number,vertOriginY:u.number,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:u.number,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:c}),h=a({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>
9"xlink:"+t.slice(5).toLowerCase()}),m=a({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:f}),g=a({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),y=i([s,d,h,m,g],"html"),v=i([s,p,h,m,g],"svg")},77424:(e,t,n)=>{n.d(t,{EU:()=>o,iL:()=>l,jv:()=>r,nE:()=>i});var r=e=>{if(e.suspense){let t=e=>"static"===e?e:Math.max(e??1e3,1e3),n=e.staleTime;e.staleTime="function"==typeof n?(...e)=>t(n(...e)):t(n),"number"==typeof e.gcTime&&(e.gcTime=Math.max(e.gcTime,1e3))}},i=(e,t)=>e.isLoading&&e.isFetching&&!t,o=(e,t)=>e?.suspense&&t.isPending,l=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()})},77426:(e,t,n)=>{n.d(t,{t:()=>f});var r=n(67109),i=n(93515),o=n(71830),l=n(85002),a=n(32963),u=n(63733),s=n(12720),c=n(77424);function f(e,t,n){let f=(0,s.w)(),d=(0,a.h)(),p=(0,l.jE)(n),h=p.defaultQueryOptions(e);p.getDefaultOptions().queries?._experimental_beforeQuery?.(h);let m=p.getQueryCache().get(h.queryHash);h._optimisticResults=f?"isRestoring":"optimistic",(0,c.jv)(h),(0,u.LJ)(h,d,m),(0,u.wZ)(d);let g=!p.getQueryCache().get(h.queryHash),[y]=r.useState(()=>new t(p,h)),v=y.getOptimisticResult(h),b=!f&&!1!==e.subscribed;if(r.useSyncExternalStore(r.useCallback(e=>{let t=b?y.subscribe(i.jG.batchCalls(e)):o.lQ;return y.updateResult(),t},[y,b]),()=>y.getCurrentResult(),()=>y.getCurrentResult()),r.useEffect(()=>{y.setOptions(h)},[h,y]),(0,c.EU)(h,v))throw(0,c.iL)(h,y,d);if((0,u.$1)({result:v,errorResetBoundary:d,throwOnError:h.throwOnError,query:m,suspense:h.suspense}))throw v.error;if(p.getDefaultOptions().queries?._experimental_afterQuery?.(h,v),h.experimental_prefetchInRender&&!o.S$&&(0,c.nE)(v,f)){let e=g?(0,c.iL)(h,y,d):m?.promise;e?.catch(o.lQ).finally(()=>{y.updateResult()})}return h.notifyOnChangeProps?v:y.trackResult(v)}},78137:(e,t,n)=>{n.d(t,{BN:()=>p,ER:()=>h,Ej:()=>g,UE:()=>v,UU:()=>m,cY:()=>d,jD:()=>y,we:()=>f});var r=n(14513),i=n(67109),o=n(80847),l="u">typeof document?i.useLayoutEffect:function(){};function a(e,t){let n,r,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!a(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!a(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function u(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function s(e,t){let n=u(e);return Math.round(t*n)/n}function c(e){let t=i.useRef(e);return l(()=>{t.current=e}),t}function f(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:f=[],platform:d,elements:{reference:p,floating:h}={},transform:m=!0,whileElementsMounted:g,open:y}=e,[v,b]=i.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[x,k]=i.useState(f);a(x,f)||k(f);let[w,S]=i.useState(null),[E,C]=i.useState(null),P=i.useCallback(e=>{e!==A.current&&(A.current=e,S(e))},[]),R=i.useCallback(e=>{e!==L.current&&(L.current=e,C(e))},[]),O=p||w,T=h||E,A=i.useRef(null),L=i.useRef(null),D=i.useRef(v),M=null!=g,I=c(g),N=c(d),F=c(y),_=i.useCallback(()=>{if(!A.current||!L.current)return;let e={placement:t,strategy:n,middleware:x};N.current&&(e.platform=N.current),(0,r.rD)(A.current,L.current,e).then(e=>{let t={...e,isPositioned:!1!==F.current};j.current&&!a(D.current,t)&&(D.current=t,o.flushSync(()=>{b(t)}))})},[x,t,n,N,F]);l(()=>{!1===y&&D.current.isPositioned&&(D.current.isPositioned=!1,b(e=>({...e,isPositioned:!1})))},[y]);let j=i.useRef(!1);l(()=>(j.current=!0,()=>{j.current=!1}),[]),l(()=>{if(O&&(A.current=O),T&&(L.current=T),O&&T){if(I.current)return I.current(O,T,_);_()}},[O,T,_,I,M]);let z=i.useMemo(()=>({reference:A,floating:L,setReference:P,setFloating:R}),[P,R]),H=i.useMemo(()=>({reference:O,floating:T}),[O,T]),B=i.useMemo(()=>{let e={position:n,left:0,top:0};if(!H.floating)return e;let t=s(H.floating,v.x),r=s(H.floating,v.y);return m?{...e,transform:"translate("+t+"px, "+r+"px)",...u(H.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,m,H.floating,v.x,v.y]);return i.useMemo(()=>({...v,update:_,refs:z,elements:H,floatingStyles:B}),[v,_,z,H,B])}let d=(e,t)=>{let n=(0,r.cY)(e);return{name:n.name,fn:n.fn,options:[e,t]}},p=(e,t)=>{let n=(0,r.BN)(e);return{name:n.name,fn:n.fn,options:[e,t]}},h=(e,t)=>({fn:(0,r.ER)(e).fn,options:[e,t]}),m=(e,t)=>
9{let n=(0,r.UU)(e);return{name:n.name,fn:n.fn,options:[e,t]}},g=(e,t)=>{let n=(0,r.Ej)(e);return{name:n.name,fn:n.fn,options:[e,t]}},y=(e,t)=>{let n=(0,r.jD)(e);return{name:n.name,fn:n.fn,options:[e,t]}},v=(e,t)=>{let n={name:"arrow",options:e,fn(t){let{element:n,padding:i}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?(0,r.UE)({element:n.current,padding:i}).fn(t):{}:n?(0,r.UE)({element:n,padding:i}).fn(t):{}}};return{name:n.name,fn:n.fn,options:[e,t]}}},78447:(e,t,n)=>{n.d(t,{E:()=>l});var r=n(92199),i=n(90652);let o=Object.keys(i);class l extends r.R{constructor(e,t,n,r){let l=-1;if(super(e,t),function(e,t,n){n&&(e[t]=n)}(this,"space",r),"number"==typeof n)for(;++l<o.length;){const e=o[l];!function(e,t,n){n&&(e[t]=n)}(this,o[l],(n&i[e])===i[e])}}}l.prototype.defined=!0},78813:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(31739);function i(){return{type:"break"}}function o(){return function(e){(0,r.T)(e,[/\r?\n|\r/g,i])}}},80421:(e,t,n)=>{n.d(t,{Eq:()=>s});var r=new WeakMap,i=new WeakMap,o={},l=0,a=function(e){return e&&(e.host||a(e.parentNode))},u=function(e,t,n,u){var s=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=a(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});o[n]||(o[n]=new WeakMap);var c=o[n],f=[],d=new Set,p=new Set(s),h=function(e){!e||d.has(e)||(d.add(e),h(e.parentNode))};s.forEach(h);var m=function(e){!e||p.has(e)||Array.prototype.forEach.call(e.children,function(e){if(d.has(e))m(e);else try{var t=e.getAttribute(u),o=null!==t&&"false"!==t,l=(r.get(e)||0)+1,a=(c.get(e)||0)+1;r.set(e,l),c.set(e,a),f.push(e),1===l&&o&&i.set(e,!0),1===a&&e.setAttribute(n,"true"),o||e.setAttribute(u,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return m(t),d.clear(),l++,function(){f.forEach(function(e){var t=r.get(e)-1,o=c.get(e)-1;r.set(e,t),c.set(e,o),t||(i.has(e)||e.removeAttribute(u),i.delete(e)),o||e.removeAttribute(n)}),--l||(r=new WeakMap,r=new WeakMap,i=new WeakMap,o={})}},s=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live], script"))),u(r,i,n,"aria-hidden")):function(){return null}}},80509:(e,t,n)=>{n.d(t,{G1:()=>l,PW:()=>i,Y:()=>r});let r=o("end"),i=o("start");function o(e){return function(t){let n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function l(e){let t=i(e),n=r(e);if(t&&n)return{start:t,end:n}}},82191:(e,t,n)=>{n.d(t,{jI:()=>D});var r=n(67109);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function o(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}function l(e){var t=(0,r.useRef)(e),n=(0,r.useRef)(function(e){t.current&&t.current(e)});return t.current=e,n.current}var a,u=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),e>n?n:e<t?t:e},s=function(e){return"touches"in e},c=function(e){return e&&e.ownerDocument.defaultView||self},f=function(e,t,n){var r=e.getBoundingClientRect(),i=s(t)?function(e,t){for(var n=0;n<e.length;n++)if(e[n].identifier===t)return e[n];return e[0]}(t.touches,n):t;return{left:u((i.pageX-(r.left+c(e).pageXOffset))/r.width),top:u((i.pageY-(r.top+c(e).pageYOffset))/r.height)}},d=function(e){s(e)||e.preventDefault()},p=r.memo(function(e){var t=e.onMove,n=e.onKey,a=o(e,["onMove","onKey"]),u=(0,r.useRef)(null),p=l(t),h=l(n),m=(0,r.useRef)(null),g=(0,r.useRef)(!1),y=(0,r.useMemo)(function(){var e=function(e){d(e),(s(e)?e.touches.length>0:e.buttons>0)&&u.current?p(f(u.current,e,m.current)):n(!1)},t=function(){return n(!1)};function n(n){var r=g.current,i=c(u.current),o=n?i.addEventListener:i.removeEventListener;
9o(r?"touchmove":"mousemove",e),o(r?"touchend":"mouseup",t)}return[function(e){var t=e.nativeEvent,r=u.current;if(r&&(d(t),(!g.current||s(t))&&r)){if(s(t)){g.current=!0;var i=t.changedTouches||[];i.length&&(m.current=i[0].identifier)}r.focus(),p(f(r,t,m.current)),n(!0)}},function(e){var t=e.which||e.keyCode;t<37||t>40||(e.preventDefault(),h({left:39===t?.05:37===t?-.05:0,top:40===t?.05:38===t?-.05:0}))},n]},[h,p]),v=y[0],b=y[1],x=y[2];return(0,r.useEffect)(function(){return x},[x]),r.createElement("div",i({},a,{onTouchStart:v,onMouseDown:v,className:"react-colorful__interactive",ref:u,onKeyDown:b,tabIndex:0,role:"slider"}))}),h=function(e){return e.filter(Boolean).join(" ")},m=function(e){var t=e.color,n=e.left,i=e.top,o=h(["react-colorful__pointer",e.className]);return r.createElement("div",{className:o,style:{top:100*(void 0===i?.5:i)+"%",left:100*n+"%"}},r.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},g=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*e)/n},y=function(e){return"#"===e[0]&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:4===e.length?g(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:8===e.length?g(parseInt(e.substring(6,8),16)/255,2):1}},v=function(e){var t=e.s,n=e.v,r=e.a,i=(200-t)*n/100;return{h:g(e.h),s:g(i>0&&i<200?t*n/100/(i<=100?i:200-i)*100:0),l:g(i/2),a:g(r,2)}},b=function(e){var t=v(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},x=function(e){var t=e.h,n=e.s,r=e.v,i=e.a;t=t/360*6,n/=100,r/=100;var o=Math.floor(t),l=r*(1-n),a=r*(1-(t-o)*n),u=r*(1-(1-t+o)*n),s=o%6;return{r:g(255*[r,a,l,l,u,r][s]),g:g(255*[u,r,r,a,l,l][s]),b:g(255*[l,l,u,r,r,a][s]),a:g(i,2)}},k=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},w=function(e){var t=e.r,n=e.g,r=e.b,i=e.a,o=i<1?k(g(255*i)):"";return"#"+k(t)+k(n)+k(r)+o},S=function(e){var t=e.r,n=e.g,r=e.b,i=e.a,o=Math.max(t,n,r),l=o-Math.min(t,n,r),a=l?o===t?(n-r)/l:o===n?2+(r-t)/l:4+(t-n)/l:0;return{h:g(60*(a<0?a+6:a)),s:g(o?l/o*100:0),v:g(o/255*100),a:i}},E=r.memo(function(e){var t=e.hue,n=e.onChange,i=h(["react-colorful__hue",e.className]);return r.createElement("div",{className:i},r.createElement(p,{onMove:function(e){n({h:360*e.left})},onKey:function(e){n({h:u(t+360*e.left,0,360)})},"aria-label":"Hue","aria-valuenow":g(t),"aria-valuemax":"360","aria-valuemin":"0"},r.createElement(m,{className:"react-colorful__hue-pointer",left:t/360,color:b({h:t,s:100,v:100,a:1})})))}),C=r.memo(function(e){var t=e.hsva,n=e.onChange,i={backgroundColor:b({h:t.h,s:100,v:100,a:1})};return r.createElement("div",{className:"react-colorful__saturation",style:i},r.createElement(p,{onMove:function(e){n({s:100*e.left,v:100-100*e.top})},onKey:function(e){n({s:u(t.s+100*e.left,0,100),v:u(t.v-100*e.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+g(t.s)+"%, Brightness "+g(t.v)+"%"},r.createElement(m,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:b(t)})))}),P=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0},R="u">typeof window?r.useLayoutEffect:r.useEffect,O=new Map,T=function(e){R(function(){var t=e.current?e.current.ownerDocument:document;if(void 0!==t&&!O.has(t)){var r=t.createElement("style");r.innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;
9left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\'data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}',O.set(t,r);var i=a||n.nc;i&&r.setAttribute("nonce",i),t.head.appendChild(r)}},[])},A=function(e){var t,n,a,u,s,c=e.className,f=e.colorModel,d=e.color,p=void 0===d?f.defaultColor:d,m=e.onChange,g=o(e,["className","colorModel","color","onChange"]),y=(0,r.useRef)(null);T(y);var v=(t=l(m),a=(n=(0,r.useState)(function(){return f.toHsva(p)}))[0],u=n[1],s=(0,r.useRef)({color:p,hsva:a}),(0,r.useEffect)(function(){if(!f.equal(p,s.current.color)){var e=f.toHsva(p);s.current={hsva:e,color:p},u(e)}},[p,f]),(0,r.useEffect)(function(){var e;P(a,s.current.hsva)||f.equal(e=f.fromHsva(a),s.current.color)||(s.current={hsva:a,color:e},t(e))},[a,f,t]),[a,(0,r.useCallback)(function(e){u(function(t){return Object.assign({},t,e)})},[])]),b=v[0],x=v[1],k=h(["react-colorful",c]);return r.createElement("div",i({},g,{ref:y,className:k}),r.createElement(C,{hsva:b,onChange:x}),r.createElement(E,{hue:b.h,onChange:x,className:"react-colorful__last-control"}))},L={defaultColor:"000",toHsva:function(e){return S(y(e))},fromHsva:function(e){return w(x({h:e.h,s:e.s,v:e.v,a:1}))},equal:function(e,t){return e.toLowerCase()===t.toLowerCase()||P(y(e),y(t))}},D=function(e){return r.createElement(A,i({},e,{colorModel:L}))}},82780:(e,t,n)=>{n.d(t,{d:()=>i});let r={};function i(e,t){let n=t||r;return o(e,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)}function o(e,t,n){var r;if((r=e)&&"object"==typeof r){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return l(e.children,t,n)}return Array.isArray(e)?l(e,t,n):""}function l(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=o(e[i],t,n);return r.join("")}},83733:(e,t,n)=>{n.d(t,{N:()=>i});var r=n(61434);function i(e,t,n,i){let o=i?i-1:1/0,l=0;return function(i){return(0,r.On)(i)?(e.enter(n),function i(a){return(0,r.On)(a)&&l++<o?(e.consume(a),i):(e.exit(n),t(a))}(i)):t(i)}}},89977:(e,t,n)=>{n.d(t,{I:()=>o});var r=n(33445),i=n(77426);function o(e,t){return(0,i.t)(e,r.$,t)}},90652:(e,t,n)=>{n.r(t),n.d(t,{boolean:()=>i,booleanish:()=>o,commaOrSpaceSeparated:()=>c,commaSeparated:()=>s,number:()=>a,overloadedBoolean:()=>l,spaceSeparated:()=>u});let r=0,i=f(),o=f(),l=f(),a=f(),u=f(),s=f(),c=f();function f(){return 2**++r}},91199:(e,t)=>
9{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},92199:(e,t,n)=>{n.d(t,{R:()=>r});class r{constructor(e,t){this.attribute=t,this.property=e}}r.prototype.attribute="",r.prototype.booleanish=!1,r.prototype.boolean=!1,r.prototype.commaOrSpaceSeparated=!1,r.prototype.commaSeparated=!1,r.prototype.defined=!1,r.prototype.mustUseProperty=!1,r.prototype.number=!1,r.prototype.overloadedBoolean=!1,r.prototype.property="",r.prototype.spaceSeparated=!1,r.prototype.space=void 0},92288:(e,t,n)=>{function r(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,i=n.indexOf(t);for(;-1!==i;)r++,i=n.indexOf(t,i+t.length);return r}n.d(t,{A:()=>eD});var i=n(77025),o=n(61434),l=n(31739);let a="phrasing",u=["autolink","link","image","label"];function s(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function c(e){this.config.enter.autolinkProtocol.call(this,e)}function f(e){this.config.exit.autolinkProtocol.call(this,e)}function d(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];(0,i.ok)("link"===t.type),t.url="http://"+this.sliceSerialize(e)}function p(e){this.config.exit.autolinkEmail.call(this,e)}function h(e){this.exit(e)}function m(e){(0,l.T)(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,g],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,y]],{ignore:["link","linkReference"]})}function g(e,t,n,i,o){let l,a="";if(!v(o))return!1;if(/^w/i.test(t)&&(n=t+n,t="",a="http://"),(l=n.split(".")).length<2||l[l.length-1]&&(/_/.test(l[l.length-1])||!/[a-zA-Z\d]/.test(l[l.length-1]))||l[l.length-2]&&(/_/.test(l[l.length-2])||!/[a-zA-Z\d]/.test(l[l.length-2])))return!1;let u=function(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],i=n.indexOf(")"),o=r(e,"("),l=r(e,")");for(;-1!==i&&o>l;)e+=n.slice(0,i+1),i=(n=n.slice(i+1)).indexOf(")"),l++;return[e,n]}(n+i);if(!u[0])return!1;let s={type:"link",title:null,url:a+t+u[0],children:[{type:"text",value:t+u[0]}]};return u[1]?[s,{type:"text",value:u[1]}]:s}function y(e,t,n,r){return!(!v(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function v(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||(0,o.Ny)(n)||(0,o.es)(n))&&(!t||47!==n)}var b=n(95999);function x(){this.buffer()}function k(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function w(){this.buffer()}function S(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function E(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,i.ok)("footnoteReference"===n.type),n.identifier=(0,b.B)(this.sliceSerialize(e)).toLowerCase(),n.label=t}function C(e){this.exit(e)}function P(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,i.ok)("footnoteDefinition"===n.type),n.identifier=(0,b.B)(this.sliceSerialize(e)).toLowerCase(),n.label=t}function R(e){this.exit(e)}function O(e,t,n,r){let i=n.createTracker(r),o=i.move("[^"),l=n.enter("footnoteReference"),a=n.enter("reference");return o+=i.move(n.safe(n.associationId(e),{after:"]",before:o})),a(),l(),o+=i.move("]")}function T(e,t,n){return 0===t?e:A(e,t,n)}function A(e,t,n){return(n?"":" ")+e}O.peek=function(){return"["};let L=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function D(e){this.enter({type:"delete",children:[]},e)}function M(e){this.exit(e)}function I(e,t,n,r){let i=n.createTracker(r),o=n.enter("strikethrough"),l=i.move("~~");return l+=n.containerPhrasing(e,{...i.current(),before:l,after:"~"}),l+=i.move("~~"),o(),l}function N(e){return e.length}function F(e){let t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:114*(82===t||114===t)}I.peek=function(){return"~"};var _=n(95505);n(72056),n(64729);n(82780);function j(e,t,n){let r=e.value||"",i="`",o=-1;for(;RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++o<n.unsafe.length;){let e,t=n.unsafe[o],i=n.compilePattern(t);if(t.atBreak)for(;e=i.exec(r);){let t=e.index;10===r.charCodeAt(t)&&13===r.charCodeAt(t-1)&&t--,r=r.slice(0,t)+" "+r.slice(e.index+1)}}return i+r+i}j.peek=function(){return"`"};(0,n(23361).C)(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);let z=function(e,t,n,r){let i=function(e){let t=e.options.listItemIndent||"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(n),o=n.bulletCurrent||function(e){let t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}(n);t&&"list"===t.type&&t.ordered&&(o=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+o);let l=o.length+1;("tab"===i||"mixed"===i&&(t&&"list"===t.type&&t.spread||e.spread))&&(l=4*Math.ceil(l/4));let a=n.createTracker(r);a.move(o+" ".repeat(l-o.length)),a.shift(l);let u=n.enter("listItem"),s=n.indentLines(n.containerFlow(e,a.current()),function(e,t,n){return t?(n?"":" ".repeat(l))+e:(n?o:o+" ".repeat(l-o.length))+e});return u(),s};function H(e){let t=e._align;(0,i.ok)(t,"expected `_align` on table"),this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function B(e){this.exit(e),this.data.inTable=void 0}function U(e){this.enter({type:"tableRow",children:[]},e)}function W(e){this.exit(e)}function V(e){this.enter({type:"tableCell",children:[]},e)}function Q(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,q));let n=this.stack[this.stack.length-1];(0,i.ok)("inlineCode"===n.type),n.value=t,this.exit(e)}function q(e,t){return"|"===t?t:e}function $(e){let t=this.stack[this.stack.length-2];(0,i.ok)("listItem"===t.type),t.checked="taskListCheckValueChecked"===e.type}function K(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1];(0,i.ok)("paragraph"===e.type);let n=e.children[0];if(n&&"text"===n.type){let r,i=t.children,o=-1;for(;++o<i.length;){let e=i[o];if("paragraph"===e.type){r=e;break}}r===e&&(n.value=n.value.slice(1),0===n.value.length?e.children.shift():e.position&&n.position&&"number"==typeof n.position.start.offset&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function Y(e,t,n,r){let i=e.children[0],o="boolean"==typeof e.checked&&i&&"paragraph"===i.type,l="["+(e.checked?"x":" ")+"] ",a=n.createTracker(r);o&&a.move(l);let u=z(e,t,n,{...r,...a.current()});return o&&(u=u.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,function(e){return e+l})),u}var X=n(64809);let J={tokenize:function(e,t,n){let r=0;return function t(o){return(87===o||119===o)&&r<3?(r++,e.consume(o),t):46===o&&3===r?(e.consume(o),i):n(o)};function i(e){return null===e?n(e):t(e)}},partial:!0},Z={tokenize:function(e,t,n){let r,i,l;return a;function a(t){return 46===t||95===t?e.check(ee,s,u)(t):null===t||(0,o.Ee)(t)||(0,o.Ny)(t)||45!==t&&(0,o.es)(t)?s(t):(l=!0,e.consume(t),a)}function u(t){return 95===t?r=!0:(i=r,r=void 0),e.consume(t),a}function s(e){return i||r||!l?n(e):t(e)}},partial:!0},G={tokenize:function(e,t){let n=0,r=0;return i;function i(a){return 40===a?(n++,e.consume(a),i):41===a&&r<n?l(a):33===a||34===a||38===a||39===a||41===a||42===a||44===a||46===a||58===a||59===a||
960===a||63===a||93===a||95===a||126===a?e.check(ee,t,l)(a):null===a||(0,o.Ee)(a)||(0,o.Ny)(a)?t(a):(e.consume(a),i)}function l(t){return 41===t&&r++,e.consume(t),i}},partial:!0},ee={tokenize:function(e,t,n){return r;function r(a){return 33===a||34===a||39===a||41===a||42===a||44===a||46===a||58===a||59===a||63===a||95===a||126===a?(e.consume(a),r):38===a?(e.consume(a),l):93===a?(e.consume(a),i):60===a||null===a||(0,o.Ee)(a)||(0,o.Ny)(a)?t(a):n(a)}function i(e){return null===e||40===e||91===e||(0,o.Ee)(e)||(0,o.Ny)(e)?t(e):r(e)}function l(t){return(0,o.CW)(t)?function t(i){return 59===i?(e.consume(i),r):(0,o.CW)(i)?(e.consume(i),t):n(i)}(t):n(t)}},partial:!0},et={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(e){return(0,o.lV)(e)?n(e):t(e)}},partial:!0},en={name:"wwwAutolink",tokenize:function(e,t,n){let r=this;return function(t){return 87!==t&&119!==t||!ea.call(r,r.previous)||ef(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(J,e.attempt(Z,e.attempt(G,i),n),n)(t))};function i(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:ea},er={name:"protocolAutolink",tokenize:function(e,t,n){let r=this,i="",l=!1;return function(t){return(72===t||104===t)&&eu.call(r,r.previous)&&!ef(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(t),e.consume(t),a):n(t)};function a(t){if((0,o.CW)(t)&&i.length<5)return i+=String.fromCodePoint(t),e.consume(t),a;if(58===t){let n=i.toLowerCase();if("http"===n||"https"===n)return e.consume(t),u}return n(t)}function u(t){return 47===t?(e.consume(t),l)?s:(l=!0,u):n(t)}function s(t){return null===t||(0,o.JQ)(t)||(0,o.Ee)(t)||(0,o.Ny)(t)||(0,o.es)(t)?n(t):e.attempt(Z,e.attempt(G,c),n)(t)}function c(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:eu},ei={name:"emailAutolink",tokenize:function(e,t,n){let r,i,l=this;return function(t){return!ec(t)||!es.call(l,l.previous)||ef(l.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),function t(r){return ec(r)?(e.consume(r),t):64===r?(e.consume(r),a):n(r)}(t))};function a(t){return 46===t?e.check(et,s,u)(t):45===t||95===t||(0,o.lV)(t)?(i=!0,e.consume(t),a):s(t)}function u(t){return e.consume(t),r=!0,a}function s(a){return i&&r&&(0,o.CW)(l.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(a)):n(a)}},previous:es},eo={},el=48;for(;el<123;)eo[el]=ei,58==++el?el=65:91===el&&(el=97);function ea(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||(0,o.Ee)(e)}function eu(e){return!(0,o.CW)(e)}function es(e){return!(47===e||ec(e))}function ec(e){return 43===e||45===e||46===e||95===e||(0,o.lV)(e)}function ef(e){let t=e.length,n=!1;for(;t--;){let r=e[t][1];if(("labelLink"===r.type||"labelImage"===r.type)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}eo[43]=ei,eo[45]=ei,eo[46]=ei,eo[95]=ei,eo[72]=[ei,er],eo[104]=[ei,er],eo[87]=[ei,en],eo[119]=[ei,en];var ed=n(19488),ep=n(83733);let eh={tokenize:function(e,t,n){let r=this;return(0,ep.N)(e,function(e){let i=r.events[r.events.length-1];return i&&"gfmFootnoteDefinitionIndent"===i[1].type&&4===i[2].sliceSerialize(i[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function em(e,t,n){let r,i=this,o=i.events.length,l=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]);for(;o--;){let e=i.events[o][1];if("labelImage"===e.type){r=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(o){if(!r||!r._balanced)return n(o);let a=(0,b.B)(i.sliceSerialize({start:r.end,end:i.now()}));return 94===a.codePointAt(0)&&l.includes(a.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o)):n(o)}}function eg(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;let o={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},l={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},a=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",o,t],["enter",l,t],["exit",l,t],["exit",o,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...a),e}
9function ey(e,t,n){let r,i=this,l=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),a=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),u};function u(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",s)}function s(u){if(a>999||93===u&&!r||null===u||91===u||(0,o.Ee)(u))return n(u);if(93===u){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return l.includes((0,b.B)(i.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(u),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(u)}return(0,o.Ee)(u)||(r=!0),a++,e.consume(u),92===u?c:s}function c(t){return 91===t||92===t||93===t?(e.consume(t),a++,s):s(t)}}function ev(e,t,n){let r,i,l=this,a=l.parser.gfmFootnotes||(l.parser.gfmFootnotes=[]),u=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),s};function s(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):n(t)}function c(t){if(u>999||93===t&&!i||null===t||91===t||(0,o.Ee)(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return r=(0,b.B)(l.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),d}return(0,o.Ee)(t)||(i=!0),u++,e.consume(t),92===t?f:c}function f(t){return 91===t||92===t||93===t?(e.consume(t),u++,c):c(t)}function d(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),a.includes(r)||a.push(r),(0,ep.N)(e,p,"gfmFootnoteDefinitionWhitespace")):n(t)}function p(e){return t(e)}}function eb(e,t,n){return e.check(ed.B,t,e.attempt(eh,t,n))}function ex(e){e.exit("gfmFootnoteDefinition")}var ek=n(69889),ew=n(57513);class eS{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let i=0;if(0!==n||0!==r.length){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}(this,e,t,n)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),0===this.map.length)return;let t=this.map.length,n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push(e.slice()),e.length=0;let r=n.pop();for(;r;){for(let t of r)e.push(t);r=n.pop()}this.map.length=0}}function eE(e,t,n){let r,i=this,l=0,a=0;return function(e){let t=i.events.length-1;for(;t>-1;){let e=i.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let r=t>-1?i.events[t][1].type:null,o="tableHead"===r||"tableRow"===r?b:u;return o===b&&i.parser.lazy[i.now().line]?n(e):o(e)};function u(t){var n;return e.enter("tableHead"),e.enter("tableRow"),124===(n=t)||(r=!0,a+=1),s(n)}function s(t){return null===t?n(t):(0,o.HP)(t)?a>1?(a=0,i.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),d):n(t):(0,o.On)(t)?(0,ep.N)(e,s,"whitespace")(t):(a+=1,r&&(r=!1,l+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,s):(e.enter("data"),c(t))}function c(t){return null===t||124===t||(0,o.Ee)(t)?(e.exit("data"),s(t)):(e.consume(t),92===t?f:c)}function f(t){return 92===t||124===t?(e.consume(t),c):c(t)}function d(t){return(i.interrupt=!1,i.parser.lazy[i.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,(0,o.On)(t))?(0,ep.N)(e,p,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):p(t)}function p(t){return 45===t||58===t?m(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),h):n(t)}function h(t){return(0,o.On)(t)?(0,ep.N)(e,m,"whitespace")(t):m(t)}function m(t){return 58===t?(a+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),g):45===t?(a+=1,g(t)):null===t||(0,o.HP)(t)?v(t):n(t)}function g(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),y):(e.exit("tableDelimiterFiller"),y(n))}(t)):n(t)}function y(t){return(0,o.On)(t)?(0,ep.N)(e,v,"whitespace")(t):v(t)}function v(i){if(124===i)return p(i);if(null===i||(0,o.HP)(i))return r&&l===a?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(i)):n(i);return n(i)}function b(t){return e.enter("tableRow"),x(t)}function x(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),x):null===n||(0,o.HP)(n)?(e.exit("tableRow"),t(n)):(0,o.On)(n)?(0,ep.N)(e,x,"whitespace")(n):(e.enter("data"),k(n))}function k(t){return null===t||124===t||(0,o.Ee)(t)?(e.exit("data"),x(t)):(e.consume(t),92===t?w:k)}function w(t){return 92===t||124===t?(e.consume(t),k):k(t)}}function eC(e,t){let n,r,i,o=-1,l=!0,a=0,u=[0,0,0,0],s=[0,0,0,0],c=!1,f=0,d=new eS;for(;++o<e.length;){let p=e[o],h=p[1];
9"enter"===p[0]?"tableHead"===h.type?(c=!1,0!==f&&(eR(d,t,f,n,r),r=void 0,f=0),n={type:"table",start:Object.assign({},h.start),end:Object.assign({},h.end)},d.add(o,0,[["enter",n,t]])):"tableRow"===h.type||"tableDelimiterRow"===h.type?(l=!0,i=void 0,u=[0,0,0,0],s=[0,o+1,0,0],c&&(c=!1,r={type:"tableBody",start:Object.assign({},h.start),end:Object.assign({},h.end)},d.add(o,0,[["enter",r,t]])),a="tableDelimiterRow"===h.type?2:r?3:1):a&&("data"===h.type||"tableDelimiterMarker"===h.type||"tableDelimiterFiller"===h.type)?(l=!1,0===s[2]&&(0!==u[1]&&(s[0]=s[1],i=eP(d,t,u,a,void 0,i),u=[0,0,0,0]),s[2]=o)):"tableCellDivider"===h.type&&(l?l=!1:(0!==u[1]&&(s[0]=s[1],i=eP(d,t,u,a,void 0,i)),s=[(u=s)[1],o,0,0])):"tableHead"===h.type?(c=!0,f=o):"tableRow"===h.type||"tableDelimiterRow"===h.type?(f=o,0!==u[1]?(s[0]=s[1],i=eP(d,t,u,a,o,i)):0!==s[1]&&(i=eP(d,t,s,a,o,i)),a=0):a&&("data"===h.type||"tableDelimiterMarker"===h.type||"tableDelimiterFiller"===h.type)&&(s[3]=o)}for(0!==f&&eR(d,t,f,n,r),d.consume(t.events),o=-1;++o<t.events.length;){let e=t.events[o];"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=function(e,t){let n=!1,r=[];for(;t<e.length;){let i=e[t];if(n){if("enter"===i[0])"tableContent"===i[1].type&&r.push("tableDelimiterMarker"===e[t+1][1].type?"left":"none");else if("tableContent"===i[1].type){if("tableDelimiterMarker"===e[t-1][1].type){let e=r.length-1;r[e]="left"===r[e]?"center":"right"}}else if("tableDelimiterRow"===i[1].type)break}else"enter"===i[0]&&"tableDelimiterRow"===i[1].type&&(n=!0);t+=1}return r}(t.events,o))}return e}function eP(e,t,n,r,i,o){0!==n[0]&&(o.end=Object.assign({},eO(t.events,n[0])),e.add(n[0],0,[["exit",o,t]]));let l=eO(t.events,n[1]);if(o={type:1===r?"tableHeader":2===r?"tableDelimiter":"tableData",start:Object.assign({},l),end:Object.assign({},l)},e.add(n[1],0,[["enter",o,t]]),0!==n[2]){let i=eO(t.events,n[2]),o=eO(t.events,n[3]),l={type:"tableContent",start:Object.assign({},i),end:Object.assign({},o)};if(e.add(n[2],0,[["enter",l,t]]),2!==r){let r=t.events[n[2]],i=t.events[n[3]];if(r[1].end=Object.assign({},i[1].end),r[1].type="chunkText",r[1].contentType="text",n[3]>n[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",l,t]])}return void 0!==i&&(o.end=Object.assign({},eO(t.events,i)),e.add(i,0,[["exit",o,t]]),o=void 0),o}function eR(e,t,n,r,i){let o=[],l=eO(t.events,n);i&&(i.end=Object.assign({},l),o.push(["exit",i,t])),r.end=Object.assign({},l),o.push(["exit",r,t]),e.add(n+1,0,o)}function eO(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}let eT={name:"tasklistCheck",tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),i):n(t)};function i(t){return(0,o.Ee)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),l):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),l):n(t)}function l(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),a):n(t)}function a(r){return(0,o.HP)(r)?t(r):(0,o.On)(r)?e.check({tokenize:eA},t,n)(r):n(r)}}};function eA(e,t,n){return(0,ep.N)(e,function(e){return null===e?n(e):t(e)},"whitespace")}let eL={};function eD(e){var t;let n,r,i,o=e||eL,l=this.data(),g=l.micromarkExtensions||(l.micromarkExtensions=[]),y=l.fromMarkdownExtensions||(l.fromMarkdownExtensions=[]),v=l.toMarkdownExtensions||(l.toMarkdownExtensions=[]);g.push((t=o,(0,X.y)([{text:eo},{document:{91:{name:"gfmFootnoteDefinition",tokenize:ev,continuation:{tokenize:eb},exit:ex}},text:{91:{name:"gfmFootnoteCall",tokenize:ey},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:em,resolveTo:eg}}},(n=(t||{}).singleTilde,r={name:"strikethrough",tokenize:function(e,t,r){let i=this.previous,o=this.events,l=0;return function(a){return 126===i&&"characterEscape"!==o[o.length-1][1].type?r(a):(e.enter("strikethroughSequenceTemporary"),function o(a){let u=(0,_.S)(i);if(126===a)return l>1?r(a):(e.consume(a),l++,o);if(l<2&&!n)return r(a);let s=e.exit("strikethroughSequenceTemporary"),c=(0,_.S)(a);return s._open=!c||2===c&&!!u,s._close=!u||2===u&&!!c,t(a)}(a))}},resolveAll:function(e,t){let n=-1;for(;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close){let r=n;for(;r--;)if("exit"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset==e[r][1].end.offset-e[r][1].start.offset){e[n][1].type="strikethroughSequence",e[r][1].type="strikethroughSequence";let i={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},o={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},l=[["enter",i,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",o,t]],a=t.parser.constructs.insideSpan.null;a&&(0,ek.m)(l,l.length,0,(0,ew.W)(a,e.slice(r+1,n),t)),(0,ek.m)(l,l.length,0,[["exit",o,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",i,t]]),(0,ek.m)(e,r-1,n-r+3,l),n=r+l.length-2;break}}for(n=-1;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}},null==n&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}}),{flow:{null:{name:"table",tokenize:eE,resolveAll:eC}}},{text:{91:eT}}]))),y.push([{transforms:[m],enter:{literalAutolink:s,literalAutolinkEmail:c,literalAutolinkHttp:c,literalAutolinkWww:c},exit:{literalAutolink:h,literalAutolinkEmail:p,literalAutolinkHttp:f,literalAutolinkWww:d}}
9,{enter:{gfmFootnoteCallString:x,gfmFootnoteCall:k,gfmFootnoteDefinitionLabelString:w,gfmFootnoteDefinition:S},exit:{gfmFootnoteCallString:E,gfmFootnoteCall:C,gfmFootnoteDefinitionLabelString:P,gfmFootnoteDefinition:R}},{canContainEols:["delete"],enter:{strikethrough:D},exit:{strikethrough:M}},{enter:{table:H,tableData:V,tableHeader:V,tableRow:U},exit:{codeText:Q,table:B,tableData:W,tableHeader:W,tableRow:W}},{exit:{taskListCheckValueChecked:$,taskListCheckValueUnchecked:$,paragraph:K}}]),v.push({extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:a,notInConstruct:u},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:a,notInConstruct:u},{character:":",before:"[ps]",after:"\\/",inConstruct:a,notInConstruct:u}]},(i=!1,o&&o.firstLineBlank&&(i=!0),{handlers:{footnoteDefinition:function(e,t,n,r){let o=n.createTracker(r),l=o.move("[^"),a=n.enter("footnoteDefinition"),u=n.enter("label");return l+=o.move(n.safe(n.associationId(e),{before:l,after:"]"})),u(),l+=o.move("]:"),e.children&&e.children.length>0&&(o.shift(4),l+=o.move((i?"\n":" ")+n.indentLines(n.containerFlow(e,o.current()),i?A:T))),a(),l},footnoteReference:O},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]}),{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:L}],handlers:{delete:I}},function(e){let t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,o=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(e,t,n){let r=j(e,t,n);return n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&")),r},table:function(e,t,n,r){return a(function(e,t,n){let r=e.children,i=-1,o=[],l=t.enter("table");for(;++i<r.length;)o[i]=u(r[i],t,n);return l(),o}(e,n,r),e.align)},tableCell:l,tableRow:function(e,t,n,r){let i=a([u(e,n,r)]);return i.slice(0,i.indexOf("\n"))}}};function l(e,t,n,r){let i=n.enter("tableCell"),l=n.enter("phrasing"),a=n.containerPhrasing(e,{...r,before:o,after:o});return l(),i(),a}function a(e,t){return function(e,t){let n=t||{},r=(n.align||[]).concat(),i=n.stringLength||N,o=[],l=[],a=[],u=[],s=0,c=-1;for(;++c<e.length;){let t=[],r=[],o=-1;for(e[c].length>s&&(s=e[c].length);++o<e[c].length;){var f;let l=null==(f=e[c][o])?"":String(f);if(!1!==n.alignDelimiters){let e=i(l);r[o]=e,(void 0===u[o]||e>u[o])&&(u[o]=e)}t.push(l)}l[c]=t,a[c]=r}let d=-1;if("object"==typeof r&&"length"in r)for(;++d<s;)o[d]=F(r[d]);else{let e=F(r);for(;++d<s;)o[d]=e}d=-1;let p=[],h=[];for(;++d<s;){let e=o[d],t="",r="";99===e?(t=":",r=":"):108===e?t=":":114===e&&(r=":");let i=!1===n.alignDelimiters?1:Math.max(1,u[d]-t.length-r.length),l=t+"-".repeat(i)+r;!1!==n.alignDelimiters&&((i=t.length+i+r.length)>u[d]&&(u[d]=i),h[d]=i),p[d]=l}l.splice(1,0,p),a.splice(1,0,h),c=-1;let m=[];for(;++c<l.length;){let e=l[c],t=a[c];d=-1;let r=[];for(;++d<s;){let i=e[d]||"",l="",a="";if(!1!==n.alignDelimiters){let e=u[d]-(t[d]||0),n=o[d];114===n?l=" ".repeat(e):99===n?e%2?(l=" ".repeat(e/2+.5),a=" ".repeat(e/2-.5)):a=l=" ".repeat(e/2):a=" ".repeat(e)}!1===n.delimiterStart||d||r.push("|"),!1!==n.padding&&(!1!==n.alignDelimiters||""!==i)&&(!1!==n.delimiterStart||d)&&r.push(" "),!1!==n.alignDelimiters&&r.push(l),r.push(i),!1!==n.alignDelimiters&&r.push(a),!1!==n.padding&&r.push(" "),(!1!==n.delimiterEnd||d!==s-1)&&r.push("|")}m.push(!1===n.delimiterEnd?r.join("").replace(/ +$/,""):r.join(""))}return m.join("\n")}(e,{align:t,alignDelimiters:r,padding:n,stringLength:i})}function u(e,t,n){let r=e.children,i=-1,o=[],a=t.enter("tableRow");for(;++i<r.length;)o[i]=l(r[i],e,t,n);return a(),o}}(o),{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Y}}]})}},95505:(e,t,n)=>{n.d(t,{S:()=>i});var r=n(61434);function i(e){return null===e||(0,r.Ee)(e)||(0,r.Ny)(e)?1:(0,r.es)(e)?2:void 0}},95999:(e,t,n)=>{n.d(t,{B:()=>r});function r(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}}}]);
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.