1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,795551,e=>{"use strict";var t=e.i(769660);e.s(["MoreHorizontal",()=>t.default])},612486,e=>{"use strict";var t=e.i(88310),r=e.i(95572),n=e.i(475935),i=e.i(956371),o=e.i(570172),s=e.i(866273),a=e.i(795551),l=e.i(526683),c=e.i(511398);let u=e=>{let n,i,o,s,a=(0,r.c)(8);return a[0]!==e?({className:n,...i}=e,a[0]=e,a[1]=n,a[2]=i):(n=a[1],i=a[2]),a[3]!==n?(o=(0,l.cn)("mx-auto flex w-full",n),a[3]=n,a[4]=o):o=a[4],a[5]!==i||a[6]!==o?(s=(0,t.jsx)("nav",{role:"navigation","aria-label":"pagination",className:o,...i}),a[5]=i,a[6]=o,a[7]=s):s=a[7],s};u.displayName="Pagination";let p=i.forwardRef((e,n)=>{let i,o,s,a,c=(0,r.c)(9);return c[0]!==e?({className:i,...o}=e,c[0]=e,c[1]=i,c[2]=o):(i=c[1],o=c[2]),c[3]!==i?(s=(0,l.cn)("flex flex-row items-center gap-1",i),c[3]=i,c[4]=s):s=c[4],c[5]!==o||c[6]!==n||c[7]!==s?(a=(0,t.jsx)("ul",{ref:n,className:s,...o}),c[5]=o,c[6]=n,c[7]=s,c[8]=a):a=c[8],a});p.displayName="PaginationContent";let d=i.forwardRef((e,n)=>{let i,o,s,a,c=(0,r.c)(9);return c[0]!==e?({className:i,...o}=e,c[0]=e,c[1]=i,c[2]=o):(i=c[1],o=c[2]),c[3]!==i?(s=(0,l.cn)("",i),c[3]=i,c[4]=s):s=c[4],c[5]!==o||c[6]!==n||c[7]!==s?(a=(0,t.jsx)("li",{ref:n,className:s,...o}),c[5]=o,c[6]=n,c[7]=s,c[8]=a):a=c[8],a});d.displayName="PaginationItem";let h=e=>{let n,i,o,s,a,u,p=(0,r.c)(13);p[0]!==e?({className:n,isActive:i,size:s,...o}=e,p[0]=e,p[1]=n,p[2]=i,p[3]=o,p[4]=s):(n=p[1],i=p[2],o=p[3],s=p[4]);let d=void 0===s?"icon":s,h=i?"page":void 0;return p[5]!==n||p[6]!==i||p[7]!==d?(a=(0,l.cn)((0,c.buttonVariants)({variant:i?"outline":"ghost",size:d}),n),p[5]=n,p[6]=i,p[7]=d,p[8]=a):a=p[8],p[9]!==o||p[10]!==h||p[11]!==a?(u=(0,t.jsx)("a",{"aria-current":h,className:a,...o}),p[9]=o,p[10]=h,p[11]=a,p[12]=u):u=p[12],u};h.displayName="PaginationLink";let f=e=>{let n,i,s,a,c,u=(0,r.c)(9);return u[0]!==e?({className:n,...i}=e,u[0]=e,u[1]=n,u[2]=i):(n=u[1],i=u[2]),u[3]!==n?(s=(0,l.cn)("gap-1 pl-2.5",n),u[3]=n,u[4]=s):s=u[4],u[5]===Symbol.for("react.memo_cache_sentinel")?(a=(0,t.jsx)(o.ChevronLeft,{className:"h-4 w-4"}),u[5]=a):a=u[5],u[6]!==i||u[7]!==s?(c=(0,t.jsx)(h,{"aria-label":"Go to previous page",size:"default",className:s,...i,children:a}),u[6]=i,u[7]=s,u[8]=c):c=u[8],c};f.displayName="PaginationPrevious";let m=e=>{let n,i,o,a,c,u=(0,r.c)(9);return u[0]!==e?({className:n,...i}=e,u[0]=e,u[1]=n,u[2]=i):(n=u[1],i=u[2]),u[3]!==n?(o=(0,l.cn)("gap-1 pr-2.5",n),u[3]=n,u[4]=o):o=u[4],u[5]===Symbol.for("react.memo_cache_sentinel")?(a=(0,t.jsx)(s.ChevronRight,{className:"h-4 w-4"}),u[5]=a):a=u[5],u[6]!==i||u[7]!==o?(c=(0,t.jsx)(h,{"aria-label":"Go to next page",size:"default",className:o,...i,children:a}),u[6]=i,u[7]=o,u[8]=c):c=u[8],c};m.displayName="PaginationNext";let g=e=>{let n,i,o,s,c,u,p=(0,r.c)(10);return p[0]!==e?({className:n,...i}=e,p[0]=e,p[1]=n,p[2]=i):(n=p[1],i=p[2]),p[3]!==n?(o=(0,l.cn)("flex h-9 w-9 items-center justify-center",n),p[3]=n,p[4]=o):o=p[4],p[5]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)(a.MoreHorizontal,{className:"h-4 w-4"}),c=(0,t.jsx)("span",{className:"sr-only",children:"More pages"}),p[5]=s,p[6]=c):(s=p[5],c=p[6]),p[7]!==i||p[8]!==o?(u=(0,t.jsxs)("span",{"aria-hidden":!0,className:o,...i,children:[s,c]}),p[7]=i,p[8]=o,p[9]=u):u=p[9],u};function y(e){let n,i,o,s,a,l,c,h=(0,r.c)(27),{total:g,currentPage:y,totalPages:v,onPageChange:x,showPreviousNext:k,className:_}=e;return h[0]!==y||h[1]!==g||h[2]!==v?(n=(0,t.jsxs)("div",{className:"text-muted-foreground text-sm",children:["Total: ",g,", Page: ",y," / ",v]}),h[0]=y,h[1]=g,h[2]=v,h[3]=n):n=h[3],h[4]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)("div",{className:"flex-1"}),h[4]=i):i=h[4],h[5]!==y||h[6]!==x||h[7]!==k||h[8]!==v?(o=k&&v&&y-1>=1?(0,t.jsx)(d,{className:"cursor-pointer",children:(0,t.jsx)(f,{onClick:()=>{y-1>=1&&x(y-1)},className:"cursor-pointer"})},"prev"):null,h[5]=y,h[6]=x,h[7]=k,h[8]=v,h[9]=o):o=h[9],h[10]!==y||h[11]!==x||h[12]!==v?(s=b(y,v,x),h[10]=y,h[11]=x,h[12]=v,h[13]=s):s=h[13],h[14]!==y||h[15]!==x||h[16]!==k||h[17]!==v?(a=k&&v&&y+1<=v?(0,t.jsx)(d,{className:"cursor-pointer",children:(0,t.jsx)(m,{onClick:()=>{y+1<=v&&x(y+1)}})},"next"):null,h[14]=y,h[15]=x,h[16]=k,h[17]=v,h[18]=a):a=h[18],h[19]!==n||h[20]!==o||h[21]!==s||h[22]!==a?(l=(0,t.jsxs)(p,{className:"flex w-full justify-center",children:[n,i,o,s,a]}),h[19]=n,h[20]=o,h[21]=s,h[22]=a,h[23]=l):l=h[23],h[24]!==_||h[25]!==l?(c=(0,t.jsx)(u,{className:_,children:l}),h[24]=_,h[25]=l,h[26]=c):c=h[26],c}g.displayName="PaginationEllipsis";let b=(e,r,n)=>{let i=[];if(r<=6)for(let o=1;o<=r;o++)i.push((0,t.jsx)(d,{className:"cursor-pointer",children:(0,t.jsx)(h,{onClick:()=>o!==e&&n(o),isActive:o==e,className:"cursor-pointer",children:o})},`page-${o}`));else{for(let r=1;r<=2;r++)i.push((0,t.jsx)(d,{children:(0,t.jsx)(h,{onClick:()=>r!==e&&n(r),isActive:r===e,className:"cursor-pointer",children:r})},`page-${r}`));2<e&&e<r-1&&(i.push((0,t.jsx)(g,{},"ellipsis-1")),i.push((0,t.jsx)(d,{children:(0,t.jsx)(h,{onClick:()=>n(e),isActive:!0,className:"cursor-pointer",children:e})},"page-current"))),i.push((0,t.jsx)(g,{},"ellipsis-2"));for(let o=r-1;o<=r;o++)i.push((0,t.jsx)(d,{children:(0,t.jsx)(h,{onClick:()=>o!==e&&n(o),isActive:o===e,className:"cursor-pointer",children:o})},`page-${o}`))}return i};function v(e){let i,o,s=(0,r.c)(11),{total:a,limit:l,page:c,className:u}=e;l<=0&&(l=30);
1let p=Math.ceil(a/l),d=(0,n.usePathname)(),h=(0,n.useSearchParams)(),f=(0,n.useRouter)();s[0]!==d||s[1]!==f||s[2]!==h?(i=e=>{let t=new URLSearchParams(h);t.set("page",e.toString()),f.push(`${d}?${t.toString()}`)},s[0]=d,s[1]=f,s[2]=h,s[3]=i):i=s[3];let m=i;if(p<=1)return null;let g=Number(a),b=Number(l),v=Number(void 0===c?1:c),x=Number(p);return s[4]!==u||s[5]!==m||s[6]!==g||s[7]!==b||s[8]!==v||s[9]!==x?(o=(0,t.jsx)(y,{total:g,perPage:b,currentPage:v,totalPages:x,onPageChange:m,showPreviousNext:!0,className:u}),s[4]=u,s[5]=m,s[6]=g,s[7]=b,s[8]=v,s[9]=x,s[10]=o):o=s[10],o}e.s(["Pagination",()=>v],612486)},662721,e=>{"use strict";var t=e.i(88310),r=e.i(956371),n=e.i(653668),i=e.i(623099),o=e.i(475935),s=e.i(199978),a=e.i(551956),l=e.i(851239),c=e.i(143551),u=e.i(511398),p=e.i(371571),d=e.i(401762);let h="locale-suggestion-dismissed",f="locale";function m(){if("true"!==a.envConfigs.locale_detect_enabled)return null;let e=(0,i.useLocale)(),m=(0,s.useRouter)(),g=(0,s.usePathname)(),y=(0,o.useSearchParams)(),[b,v]=(0,r.useState)(!1),[x,k]=(0,r.useState)(null),[_,w]=(0,r.useState)(0),C=(0,r.useRef)(null),E=(0,r.useRef)(!1),D=(0,r.useCallback)(e=>{let t=y?.toString?.()??"",r=t?`${g}?${t}`:g;m.replace(r,{locale:e}),(0,p.cacheSet)(f,e),v(!1)},[m,g,y]);(0,r.useEffect)(()=>{let t;if(E.current)return;E.current=!0;let r=(t=(navigator.language||navigator.userLanguage).split("-")[0].toLowerCase(),l.locales.includes(t)?t:null);k(r);let n=!!(0,p.cacheGet)(h),i=(0,p.cacheGet)(f);i&&i!==e&&l.locales.includes(i)&&(0,c.isPageAvailable)(g,i)?D(i):r&&r!==e&&!n&&!i&&(0,c.isPageAvailable)(g,r)&&v(!0)},[e,g,D]),(0,r.useEffect)(()=>{if(b&&C.current){let e=C.current.offsetHeight;w(e);let t=document.querySelector("header");t&&(t.style.top=`${e}px`);let r=document.querySelector('[data-slot="sidebar-container"]');r&&(r.style.top=`${e}px`,r.style.height=`calc(100vh - ${e}px)`);let n=document.querySelector('[data-slot="sidebar-wrapper"]');n&&(n.style.paddingTop=`${e}px`)}else w(0);return()=>{let e=document.querySelector("header");e&&(e.style.top="0px");let t=document.querySelector('[data-slot="sidebar-container"]');t&&(t.style.top="0px",t.style.height="100vh");let r=document.querySelector('[data-slot="sidebar-wrapper"]');r&&(r.style.paddingTop="0px")}},[b]),(0,r.useEffect)(()=>{if(!b||!C.current)return;let e=()=>{C.current&&w(C.current.offsetHeight)};e();let t=new ResizeObserver(e);return t.observe(C.current),window.addEventListener("resize",e),()=>{t.disconnect(),window.removeEventListener("resize",e)}},[b]);let S=l.localeNames[x]||x;return b&&x?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{ref:C,className:"from-primary to-primary/80 text-primary-foreground fixed top-0 right-0 left-0 z-[51] hidden bg-gradient-to-r shadow-lg md:block",children:(0,t.jsx)("div",{className:"container py-2.5",children:(0,t.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,t.jsx)("div",{className:"flex flex-1 items-center gap-3",children:(0,t.jsx)("span",{className:"text-sm",children:"zh"===x?`æ£æµå°æµè§å¨è¯è¨æ¯: ${S}ï¼æ¯å¦åæ¢ï¼`:`We detected your browser language is ${S}. Switch to it?`})}),(0,t.jsxs)("div",{className:"flex flex-shrink-0 items-center gap-2",children:[(0,t.jsx)(u.Button,{onClick:()=>{x&&D(x)},variant:"secondary",size:"sm",className:"bg-background text-xs",children:"zh"===x?"忢å°ä¸æ":"Switch"}),(0,t.jsx)("button",{onClick:()=>{let e;e=(0,d.getTimestamp)()+86400,(0,p.cacheSet)(h,"true",e),v(!1),w(0);let t=document.querySelector("header");t&&(t.style.top="0px");let r=document.querySelector('[data-slot="sidebar-container"]');r&&(r.style.top="0px",r.style.height="100vh");let n=document.querySelector('[data-slot="sidebar-wrapper"]');n&&(n.style.paddingTop="0px")},className:"bg-primary/10 flex-shrink-0 rounded p-1 transition-colors","aria-label":"Close",children:(0,t.jsx)(n.X,{className:"h-4 w-4"})})]})]})})}),(0,t.jsx)("div",{"aria-hidden":"true",style:{height:_},className:"pointer-events-none"})]}):null}e.s(["LocaleDetector",()=>m])},290976,e=>{"use strict";var t=e.i(88310),r=e.i(956371),n=e.i(653668),i=e.i(199978),o=e.i(511398),s=e.i(371571),a=e.i(401762),l=e.i(526683);function c({enabled:e=!0,id:c="default",text:u,buttonText:p,href:d,target:h="_self",closable:f=!0,rememberDismiss:m=!0,dismissedExpiryDays:g=7,className:y,onAction:b}){let v=(0,r.useMemo)(()=>`top-banner-dismissed:${c}`,[c]),[x,k]=(0,r.useState)(!1),[_,w]=(0,r.useState)(0),C=(0,r.useRef)(null),E=(0,r.useRef)(!1);if((0,r.useEffect)(()=>{E.current||(E.current=!0,!e||m&&(0,s.cacheGet)(v)||k(!0))},[e]),(0,r.useEffect)(()=>
1{if(x&&C.current){let e=C.current.offsetHeight;w(e);let t=document.querySelector("header");t&&(t.style.top=`${e}px`);let r=document.querySelector('[data-slot="sidebar-container"]');r&&(r.style.top=`${e}px`,r.style.height=`calc(100vh - ${e}px)`);let n=document.querySelector('[data-slot="sidebar-wrapper"]');n&&(n.style.paddingTop=`${e}px`)}else w(0);return()=>{let e=document.querySelector("header");e&&(e.style.top="0px");let t=document.querySelector('[data-slot="sidebar-container"]');t&&(t.style.top="0px",t.style.height="100vh");let r=document.querySelector('[data-slot="sidebar-wrapper"]');r&&(r.style.paddingTop="0px")}},[x]),(0,r.useEffect)(()=>{if(!x||!C.current)return;let e=()=>{C.current&&w(C.current.offsetHeight)};e();let t=new ResizeObserver(e);return t.observe(C.current),window.addEventListener("resize",e),()=>{t.disconnect(),window.removeEventListener("resize",e)}},[x]),!e||!x)return null;let D=!!p&&(!!d||!!b);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{ref:C,className:(0,l.cn)("from-primary to-primary text-primary-foreground fixed top-0 right-0 left-0 z-[51] hidden min-h-12 bg-gradient-to-r py-1 shadow-lg md:block",y),children:(0,t.jsx)("div",{className:"container py-2.5",children:(0,t.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,t.jsx)("div",{className:"flex flex-1 items-center justify-center gap-3",children:(0,t.jsx)("div",{className:"text-sm",dangerouslySetInnerHTML:{__html:String(u??"")}})}),(0,t.jsxs)("div",{className:"flex flex-shrink-0 items-center gap-2",children:[D?d?/^https?:\/\//i.test(d)||/^mailto:/i.test(d)||/^tel:/i.test(d)?(0,t.jsx)(o.Button,{asChild:!0,variant:"secondary",size:"sm",className:"bg-background text-xs",children:(0,t.jsx)("a",{href:d,target:h,rel:"_blank"===h?"noreferrer noopener":void 0,children:p})}):(0,t.jsx)(o.Button,{asChild:!0,variant:"secondary",size:"sm",className:"bg-background text-xs",children:(0,t.jsx)(i.Link,{href:d,children:p})}):(0,t.jsx)(o.Button,{onClick:b,variant:"secondary",size:"sm",className:"bg-background text-xs",children:p}):null,f?(0,t.jsx)("button",{onClick:()=>{(()=>{if(!m)return;let e=(0,a.getTimestamp)()+24*g*3600;(0,s.cacheSet)(v,"true",e)})(),k(!1),w(0);let e=document.querySelector("header");e&&(e.style.top="0px");let t=document.querySelector('[data-slot="sidebar-container"]');t&&(t.style.top="0px",t.style.height="100vh");let r=document.querySelector('[data-slot="sidebar-wrapper"]');r&&(r.style.paddingTop="0px")},className:"bg-primary/10 flex-shrink-0 rounded p-1 transition-colors","aria-label":"Close",children:(0,t.jsx)(n.X,{className:"h-4 w-4"})}):null]})]})})}),(0,t.jsx)("div",{"aria-hidden":"true",style:{height:_},className:"pointer-events-none"})]})}e.s(["TopBanner",()=>c])},600195,e=>{"use strict";var t=e.i(88310),r=e.i(95572),n=e.i(956371),i=e.i(47506),i=i,o=e.i(212174),o=o,s=e.i(749936),s=s,a=e.i(408430),o=o,s=s,l=e.i(545573),c=e.i(526683);let u=e=>{let i,u,p,d,h,f,m=(0,r.c)(14),{className:g}=e,{theme:y,setTheme:b}
1=(0,a.useTheme)(),[v,x]=(0,n.useState)(!1),[k,_]=(0,n.useState)(!1);m[0]!==y?(i=()=>{_(!0),x("dark"===y)},u=[y],m[0]=y,m[1]=i,m[2]=u):(i=m[1],u=m[2]),(0,n.useEffect)(i,u);let w=(0,n.useRef)(null);m[3]!==b?(p=async()=>{if(!w.current)return;await document.startViewTransition(()=>{(0,l.flushSync)(()=>{let e=document.documentElement.classList.toggle("dark");b(e?"dark":"light"),x(e)})}).ready;let{top:e,left:t,width:r,height:n}=w.current.getBoundingClientRect(),i=e+n/2,o=t+r/2,s=window.innerWidth-t,a=window.innerHeight-e,c=Math.hypot(Math.max(t,s),Math.max(e,a));document.documentElement.animate({clipPath:[`circle(0px at ${o}px ${i}px)`,`circle(${c}px at ${o}px ${i}px)`]},{duration:700,easing:"ease-in-out",pseudoElement:"::view-transition-new(root)"})},m[3]=b,m[4]=p):p=m[4];let C=p;if(!k)return null;m[5]!==g?(d=(0,c.cn)(g),m[5]=g,m[6]=d):d=m[6];let E=v?"Switch to light mode":"Switch to dark mode";return m[7]!==v?(h=v?(0,t.jsx)(s.default,{}):(0,t.jsx)(o.default,{}),m[7]=v,m[8]=h):h=m[8],m[9]!==C||m[10]!==d||m[11]!==E||m[12]!==h?(f=(0,t.jsx)("button",{ref:w,onClick:C,className:d,"aria-label":E,children:h}),m[9]=C,m[10]=d,m[11]=E,m[12]=h,m[13]=f):f=m[13],f};var p=e.i(511398),d=e.i(352162),h=e.i(712279),f=e.i(245869),m=e.i(291967),g=e.i(575301),y="Toggle",b=n.forwardRef((e,r)=>
1{let{pressed:n,defaultPressed:i,onPressedChange:o,...s}=e,[a,l]=(0,g.useControllableState)({prop:n,onChange:o,defaultProp:i??!1,caller:y});return(0,t.jsx)(h.Primitive.button,{type:"button","aria-pressed":a,"data-state":a?"on":"off","data-disabled":e.disabled?"":void 0,...s,ref:r,onClick:(0,m.composeEventHandlers)(e.onClick,()=>{e.disabled||l(!a)})})});b.displayName=y;var v=e.i(950074),x="ToggleGroup",[k,_]=(0,d.createContextScope)(x,[f.createRovingFocusGroupScope]),w=(0,f.createRovingFocusGroupScope)(),C=n.default.forwardRef((e,r)=>{let{type:n,...i}=e;if("single"===n)return(0,t.jsx)(S,{...i,ref:r});if("multiple"===n)return(0,t.jsx)(A,{...i,ref:r});throw Error(`Missing prop \`type\` expected on \`${x}\``)});C.displayName=x;var[E,D]=k(x),S=n.default.forwardRef((e,r)=>{let{value:i,defaultValue:o,onValueChange:s=()=>{},...a}=e,[l,c]=(0,g.useControllableState)({prop:i,defaultProp:o??"",onChange:s,caller:x});return(0,t.jsx)(E,{scope:e.__scopeToggleGroup,type:"single",value:n.default.useMemo(()=>l?[l]:[],[l]),onItemActivate:c,onItemDeactivate:n.default.useCallback(()=>c(""),[c]),children:(0,t.jsx)(j,{...a,ref:r})})}),A=n.default.forwardRef((e,r)=>{let{value:i,defaultValue:o,onValueChange:s=()=>{},...a}=e,[l,c]=(0,g.useControllableState)({prop:i,defaultProp:o??[],onChange:s,caller:x}),u=n.default.useCallback(e=>c((t=[])=>[...t,e]),[c]),p=n.default.useCallback(e=>c((t=[])=>t.filter(t=>t!==e)),[c]);return(0,t.jsx)(E,{scope:e.__scopeToggleGroup,type:"multiple",value:l,onItemActivate:u,onItemDeactivate:p,children:(0,t.jsx)(j,{...a,ref:r})})});C.displayName=x;var[F,L]=k(x),j=n.default.forwardRef((e,r)=>{let{__scopeToggleGroup:n,disabled:i=!1,rovingFocus:o=!0,orientation:s,dir:a,loop:l=!0,...c}=e,u=w(n),p=(0,v.useDirection)(a),d={role:"group",dir:p,...c};return(0,t.jsx)(F,{scope:n,rovingFocus:o,disabled:i,children:o?(0,t.jsx)(f.Root,{asChild:!0,...u,orientation:s,dir:p,loop:l,children:(0,t.jsx)(h.Primitive.div,{...d,ref:r})}):(0,t.jsx)(h.Primitive.div,{...d,ref:r})})}),T="ToggleGroupItem",P=n.default.forwardRef((e,r)=>{let i=D(T,e.__scopeToggleGroup),o=L(T,e.__scopeToggleGroup),s=w(e.__scopeToggleGroup),a=i.value.includes(e.value),l=o.disabled||e.disabled,c={...e,pressed:a,disabled:l},u=n.default.useRef(null);return o.rovingFocus?(0,t.jsx)(f.Item,{asChild:!0,...s,focusable:!l,active:a,ref:u,children:(0,t.jsx)(O,{...c,ref:r})}):(0,t.jsx)(O,{...c,ref:r})});P.displayName=T;var O=n.default.forwardRef((e,r)=>{let{__scopeToggleGroup:n,value:i,...o}=e,s=D(T,n),a={role:"radio","aria-checked":e.pressed,"aria-pressed":void 0},l="single"===s.type?a:void 0;return(0,t.jsx)(b,{...l,...o,ref:r,onPressedChange:e=>{e?s.onItemActivate(i):s.onItemDeactivate(i)}})});let z=(0,e.i(294237).cva)("inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium hover:bg-muted hover:text-muted-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] outline-none transition-[color,box-shadow] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive whitespace-nowrap",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent shadow-xs hover:bg-accent hover:text-accent-foreground"},size:{default:"h-9 px-2 min-w-9",sm:"h-8 px-1.5 min-w-8",lg:"h-10 px-2.5 min-w-10"}},defaultVariants:{variant:"default",size:"default"}}),N=n.createContext({size:"default",variant:"default"});function M(e){let n,i,o,s,a,l,u,p,d,h=(0,r.c)(20);return h[0]!==e?({className:i,variant:a,size:s,children:n,...o}=e,h[0]=e,h[1]=n,h[2]=i,h[3]=o,h[4]=s,h[5]=a):(n=h[1],i=h[2],o=h[3],s=h[4],a=h[5]),h[6]!==i?(l=(0,c.cn)("group/toggle-group flex w-fit items-center rounded-md data-[variant=outline]:shadow-xs",i),h[6]=i,h[7]=l):l=h[7],h[8]!==s||h[9]!==a?(u={variant:a,size:s},h[8]=s,h[9]=a,h[10]=u):u=h[10],h[11]!==n||h[12]!==u?(p=(0,t.jsx)(N.Provider,{value:u,children:n}),h[11]=n,h[12]=u,h[13]=p):p=h[13],h[14]!==o||h[15]!==s||h[16]!==l||h[17]!==p||h[18]!==a?(d=(0,t.jsx)(C,{"data-slot":"toggle-group","data-variant":a,"data-size":s,className:l,...o,children:p}),h[14]=o,h[15]=s,h[16]=l,h[17]=p,h[18]=a,h[19]=d):d=h[19],d}function B(e){let i,o,s,a,l,u,p,d=(0,r.c)(18);d[0]!==e?({className:o,children:i,variant:l,size:a,...s}=e,d[0]=e,d[1]=i,d[2]=o,d[3]=s,d[4]=a,d[5]=l):(i=d[1],o=d[2],s=d[3],a=d[4],l=d[5]);let h=n.useContext(N),f=h.variant||l,m=h.size||a;return d[6]!==o||d[7]!==h.size||d[8]!==h.variant||d[9]!==a||d[10]!==l?(u=(0,c.cn)(z({variant:h.variant||l,size:h.size||a}),"min-w-0 flex-1 shrink-0 rounded-none shadow-none first:rounded-l-md last:rounded-r-md focus:z-10 focus-visible:z-10 data-[variant=outline]:border-l-0 data-[variant=outline]:first:border-l",o),d[6]=o,d[7]=h.size,d[8]=h.variant,d[9]=a,d[10]=l,d[11]=u):u=
1d[11],d[12]!==i||d[13]!==s||d[14]!==f||d[15]!==m||d[16]!==u?(p=(0,t.jsx)(P,{"data-slot":"toggle-group-item","data-variant":f,"data-size":m,className:u,...s,children:i}),d[12]=i,d[13]=s,d[14]=f,d[15]=m,d[16]=u,d[17]=p):p=d[17],p}function I(e){let l,c,d,h,f=(0,r.c)(29),{type:m,className:g}=e,y=void 0===m?"icon":m,{theme:b,setTheme:v}=(0,a.useTheme)(),[x,k]=(0,n.useState)(!1);f[0]===Symbol.for("react.memo_cache_sentinel")?(l=()=>{k(!0)},c=[],f[0]=l,f[1]=c):(l=f[0],c=f[1]),(0,n.useEffect)(l,c),f[2]!==v?(d=e=>{v(e)},f[2]=v,f[3]=d):d=f[3];let _=d;if(!x)return null;if("button"===y){let e;return f[4]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(p.Button,{variant:"outline",size:"sm",className:"hover:bg-primary/10",children:(0,t.jsx)(s.default,{})}),f[4]=e):e=f[4],e}if("toggle"===y){let e,r,n,a,l,c,u,p,d,h,m=` ${g}`;return f[5]!==v?(e=()=>v("light"),f[5]=v,f[6]=e):e=f[6],f[7]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)(s.default,{}),f[7]=r):r=f[7],f[8]!==e?(n=(0,t.jsx)(B,{value:"light",onClick:e,"aria-label":"Switch to light mode",children:r}),f[8]=e,f[9]=n):n=f[9],f[10]!==v?(a=()=>v("dark"),f[10]=v,f[11]=a):a=f[11],f[12]===Symbol.for("react.memo_cache_sentinel")?(l=(0,t.jsx)(o.default,{}),f[12]=l):l=f[12],f[13]!==a?(c=(0,t.jsx)(B,{value:"dark",onClick:a,"aria-label":"Switch to dark mode",children:l}),f[13]=a,f[14]=c):c=f[14],f[15]!==v?(u=()=>v("system"),f[15]=v,f[16]=u):u=f[16],f[17]===Symbol.for("react.memo_cache_sentinel")?(p=(0,t.jsx)(i.default,{}),f[17]=p):p=f[17],f[18]!==u?(d=(0,t.jsx)(B,{value:"system",onClick:u,"aria-label":"Switch to system mode",children:p}),f[18]=u,f[19]=d):d=f[19],f[20]!==_||f[21]!==c||f[22]!==d||f[23]!==m||f[24]!==n||f[25]!==b?(h=(0,t.jsxs)(M,{type:"single",className:m,value:b,onValueChange:_,variant:"outline",children:[n,c,d]}),f[20]=_,f[21]=c,f[22]=d,f[23]=m,f[24]=n,f[25]=b,f[26]=h):h=f[26],h}return f[27]!==g?(h=(0,t.jsx)(u,{className:g}),f[27]=g,f[28]=h):h=f[28],h}e.s(["ThemeToggler",()=>I],600195)},998559,e=>{"use strict";var t=e.i(88310),r=e.i(95572),n=e.i(956371),i=e.i(551956);function o(e){let o,s,a,l,c=(0,r.c)(9),{brand:u}=e,[p,d]=(0,n.useState)(null);c[0]===Symbol.for("react.memo_cache_sentinel")?(o=()=>{d(new Date().getFullYear())},s=[],c[0]=o,c[1]=s):(o=c[0],s=c[1]),(0,n.useEffect)(o,s);let h=p||2026,f=u?.url||i.envConfigs.app_url,m=u?.target||"",g=u?.title||i.envConfigs.app_name;return c[2]!==f||c[3]!==m||c[4]!==g?(a=(0,t.jsx)("a",{href:f,target:m,className:"text-foreground hover:text-foreground/80 cursor-pointer font-medium",children:g}),c[2]=f,c[3]=m,c[4]=g,c[5]=a):a=c[5],c[6]!==h||c[7]!==a?(l=(0,t.jsxs)("div",{className:"text-muted-foreground text-sm",children:["© ",h," ",a," · Hex Works LLC. All rights reserved."]}),c[6]=h,c[7]=a,c[8]=l):l=c[8],l}e.s(["Copyright",()=>o])},85543,(e,t,r)=>{var n={296:(e,t,r)=>{var n=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,s=/^0o[0-7]+$/i,a=parseInt,l="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,c="object"==typeof self&&self&&self.Object===Object&&self,u=l||c||Function("return this")(),p=Object.prototype.toString,d=Math.max,h=Math.min,f=function(){return u.Date.now()};function m(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function g(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==p.call(t))return NaN;if(m(e)){var t,r="function"==typeof e.valueOf?e.valueOf():e;e=m(r)?r+"":r}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var l=o.test(e);return l||s.test(e)?a(e.slice(2),l?2:8):i.test(e)?NaN:+e}e.exports=function(e,t,r){var n,i,o,s,a,l,c=0,u=!1,p=!1,y=!0;if("function"!=typeof e)throw TypeError("Expected a function");function b(t){var r=n,o=i;return n=i=void 0,c=t,s=e.apply(o,r)}function v(e){var r=e-l;return void 0===l||r>=t||r<0||p&&e-c>=o}function x(){var e,r=f();if(v(r))return k(r);a=setTimeout(x,(e=t-(r-l),p?h(e,o-(r-c)):e))}function k(e){return a=void 0,y&&n?b(e):(n=i=void 0,s)}function _(){var e,r=f(),o=v(r);if(n=arguments,i=this,l=r,o){if(void 0===a)return c=e=l,a=setTimeout(x,t),u?b(e):s;if(p)return a=setTimeout(x,t),b(l)}return void 0===a&&(a=setTimeout(x,t)),s}return t=g(t)||0,m(r)&&(u=!!r.leading,o=(p="maxWait"in r)?d(g(r.maxWait)||0,t):o,y="trailing"in r?!!r.trailing:y),_.cancel=function(){void 0!==a&&clearTimeout(a),c=0,n=l=i=a=void 0},_.flush=function(){return void 0===a?s:k(f())},_}}
1,96:(e,t,r)=>{var n="Expected a function",i=NaN,o=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt,u="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,p="object"==typeof self&&self&&self.Object===Object&&self,d=u||p||Function("return this")(),h=Object.prototype.toString,f=Math.max,m=Math.min,g=function(){return d.Date.now()};function y(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function b(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==h.call(t))return i;if(y(e)){var t,r="function"==typeof e.valueOf?e.valueOf():e;e=y(r)?r+"":r}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=a.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):s.test(e)?i:+e}e.exports=function(e,t,r){var i=!0,o=!0;if("function"!=typeof e)throw TypeError(n);return y(r)&&(i="leading"in r?!!r.leading:i,o="trailing"in r?!!r.trailing:o),function(e,t,r){var i,o,s,a,l,c,u=0,p=!1,d=!1,h=!0;if("function"!=typeof e)throw TypeError(n);function v(t){var r=i,n=o;return i=o=void 0,u=t,a=e.apply(n,r)}function x(e){var r=e-c;return void 0===c||r>=t||r<0||d&&e-u>=s}function k(){var e,r=g();if(x(r))return _(r);l=setTimeout(k,(e=t-(r-c),d?m(e,s-(r-u)):e))}function _(e){return l=void 0,h&&i?v(e):(i=o=void 0,a)}function w(){var e,r=g(),n=x(r);if(i=arguments,o=this,c=r,n){if(void 0===l)return u=e=c,l=setTimeout(k,t),p?v(e):a;if(d)return l=setTimeout(k,t),v(c)}return void 0===l&&(l=setTimeout(k,t)),a}return t=b(t)||0,y(r)&&(p=!!r.leading,s=(d="maxWait"in r)?f(b(r.maxWait)||0,t):s,h="trailing"in r?!!r.trailing:h),w.cancel=function(){void 0!==l&&clearTimeout(l),u=0,i=c=o=l=void 0},w.flush=function(){return void 0===l?a:_(g())},w}(e,t,{leading:i,maxWait:t,trailing:o})}},703:(e,t,r)=>{"use strict";var n=r(414);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,o,s){if(s!==n){var a=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i}
1;return r.PropTypes=r,r}},697:(e,t,r)=>{e.exports=r(703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},i={};function o(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}};return n[e](r,r.exports,o),r.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};(()=>{"use strict";o.r(s),o.d(s,{LazyLoadComponent:()=>$,LazyLoadImage:()=>X,trackWindowScroll:()=>L});let t=e.r(956371);var r=o.n(t),n=o(697);function i(){return"undefined"!=typeof window&&"IntersectionObserver"in window&&"isIntersecting"in window.IntersectionObserverEntry.prototype}function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function c(e){var t=function(e,t){if("object"!==a(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==a(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===a(t)?t:String(t)}function u(e,t){return(u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=function(e){e.forEach(function(e){e.isIntersecting&&e.target.onVisible()})},h={},f=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");s.prototype=Object.create(e&&e.prototype,{constructor:{value:s,writable:!0,configurable:!0}}),Object.defineProperty(s,"prototype",{writable:!1}),e&&u(s,e);var t,n,o=(n=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=p(s);e=n?Reflect.construct(t,arguments,p(this).constructor):t.apply(this,arguments);if(e&&("object"===a(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");if(void 0===this)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return this});function s(e){var t,r;return function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,s),(t=o.call(this,e)).supportsObserver=!e.scrollPosition&&e.useIntersectionObserver&&i(),t.supportsObserver&&(h[r=e.threshold]=h[r]||new IntersectionObserver(d,{rootMargin:r+"px"}),t.observer=h[r]),t}return t=[{key:"componentDidMount",value:function(){this.placeholder&&this.observer&&(this.placeholder.onVisible=this.props.onVisible,this.observer.observe(this.placeholder)),this.supportsObserver||this.updateVisibility()}},{key:"componentWillUnmount",value:function(){this.observer&&this.placeholder&&this.observer.unobserve(this.placeholder)}},{key:"componentDidUpdate",value:function(){this.supportsObserver||this.updateVisibility()}},{key:"getPlaceholderBoundingBox",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.scrollPosition,t=this.placeholder.getBoundingClientRect(),r=this.placeholder.style,n=parseInt(r.getPropertyValue("margin-left"),10)||0,i=parseInt(r.getPropertyValue("margin-top"),10)||0;return{bottom:e.y+t.bottom+i,left:e.x+t.left+n,right:e.x+t.right+n,top:e.y+t.to
1p+i}}},{key:"isPlaceholderInViewport",value:function(){if("undefined"==typeof window||!this.placeholder)return!1;var e=this.props,t=e.scrollPosition,r=e.threshold,n=this.getPlaceholderBoundingBox(t),i=t.y+window.innerHeight,o=t.x,s=t.x+window.innerWidth;return!!(t.y-r<=n.bottom&&i+r>=n.top&&o-r<=n.right&&s+r>=n.left)}},{key:"updateVisibility",value:function(){this.isPlaceholderInViewport()&&this.props.onVisible()}},{key:"render",value:function(){var e=this,t=this.props,n=t.className,i=t.height,o=t.placeholder,s=t.style,a=t.width;if(o&&"function"!=typeof o.type)return r().cloneElement(o,{ref:function(t){return e.placeholder=t}});var u=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){var n,i;n=t,i=r[t],(n=c(n))in e?Object.defineProperty(e,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[n]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({display:"inline-block"},s);return void 0!==a&&(u.width=a),void 0!==i&&(u.height=i),r().createElement("span",{className:n,ref:function(t){return e.placeholder=t},style:u},o)}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,c(n.key),n)}}(s.prototype,t),Object.defineProperty(s,"prototype",{writable:!1}),s}(r().Component);f.propTypes={onVisible:n.PropTypes.func.isRequired,className:n.PropTypes.string,height:n.PropTypes.oneOfType([n.PropTypes.number,n.PropTypes.string]),placeholder:n.PropTypes.element,threshold:n.PropTypes.number,useIntersectionObserver:n.PropTypes.bool,scrollPosition:n.PropTypes.shape({x:n.PropTypes.number.isRequired,y:n.PropTypes.number.isRequired}),width:n.PropTypes.oneOfType([n.PropTypes.number,n.PropTypes.string])},f.defaultProps={className:"",placeholder:null,threshold:100,useIntersectionObserver:!0};var m=o(296),g=o.n(m),y=o(96),b=o.n(y),v=function(e){var t=getComputedStyle(e,null);return t.getPropertyValue("overflow")+t.getPropertyValue("overflow-y")+t.getPropertyValue("overflow-x")};let x=function(e){if(!(e instanceof HTMLElement))return window;for(var t=e;t&&t instanceof HTMLElement;){if(/(scroll|auto)/.test(v(t)))return t;t=t.parentNode}return window};function k(e){return(k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var _=["delayMethod","delayTime"];function w(){return(w=Object.assign.bind()).apply(this,arguments)}function C(e,t){return(C=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function E(e,t){if(t&&("object"===k(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return D(e)}function D(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var A=function(){return"undefined"==typeof window?0:window.scrollX||window.pageXOffset},F=function(){return"undefined"==typeof window?0:window.scrollY||window.pageYOffset};let L=function(e){var t=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");a.prototype=Object.create(t&&t.prototype,{constructor:{value:a,writable:!0,configurable:!0}}),Object.defineProperty(a,"prototype",{writable:!1}),t&&C(a,t);var n,o,s=(o=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=S(a);return e=o?Reflect.construct(t,arguments,S(this).constructor):t.apply(this,arguments),E(this,e)});function a(e){if(function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,a),(t=s.call(this,e)).useIntersectionObserver=e.useIntersectionObserver&&i(),t.useIntersectionObserver)return E(t);var t,n=t.onChangeScroll.bind(D(t));return"debounce"===e.delayMethod?t.delayedScroll=g()(n,e.delayTime):"throttle"===e.delayMethod&&(t.delayedScroll=b()(n,e.delayTime)),t.state={scrollPosition:{x:A(),y:F()}},t.baseComponentRef=r().createRef(),t}return n=[{key:"componentDidMount",value:function(){this.addListeners()}},{key:"componentWillUnmount",value:function(){this.removeListeners()}},{key:"componentDidUpdate",value:function(){"undefined"==typeof window||this.useIntersectionObserver||x(this.baseComponentRef.current)!==this.scrollElement&&(this.removeListeners(),this.addListeners())}},{key:"addListeners",value:function(){"undefined"==typeof window||this.useIntersectionObserver||(this.scrollElement=x(this.baseComponentRef.current),this.scrollElement.addEventListener("scroll",this.delayedScroll,{passive:!0}),window.addEventListener("resize",this.delayedScroll,{passive:!0}),this.scrollElement!==window&&window.addEventListener("scroll",this.delayedScroll,{passive:!0}))}},{key:"removeListeners",value:function(){"undefined"==typeof window||this.useIntersectionObserver||(this.scrollElement.removeEventListener("scroll",this.delayedScroll),window.removeEventListener("resize",this.delayedScroll),this.scrollElement!==window&&window.removeEventListener("scroll",this.delayedScroll))}},{key:"onChangeScroll",value:function(){this.useIntersectionObserver||this.setState({scrollPosition:{x:A(),y:F()}})}},{key:"render",value:function(){var t=this.props,n=(t.delayMethod,t.delayTime,function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(t,_)),i=this.useIntersectionObserver?null:this.state.scrollPosition;return r().createElement(e,w({forwardRef:this.baseComponentRef,scrollPosition:i},n))}}],function(e,t){for(var r,n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(r=function(e,t){if("object"!==k(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==k(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(i.key),"symbol"===k(r)?r:String(r)),i)}}(a.prototype,n),Object.defineProperty(a,"prototype",{writable:!1}),a}(r().Component);return t.propTypes={delayMethod:n.PropTypes.oneOf(["debounce","throttle"]),delayTime:n.PropTypes.number,useIntersectionObserver:n.PropTypes.bool},t.defaultProps={delayMethod:"throttle",delayTime:300,useIntersectionObserver:!0},t};function j(e){return(j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function T(e,t){return(T=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function P(e){return(P=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}let O=L(function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");o.prototype=Object.create(e&&e.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),e&&T(o,e);var t,n,i=(n=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=P(o);e=n?Reflect.construct(t,arguments,P(this).constructor):t.apply(this,arguments);if(e&&("object"===j(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");if(void 0===this)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return this});function o(e){return function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,o),i.call(this,e)}return t=[{key:"render",value:function(){return r().createElement(f,this.props)}}],function(e,t){for(var r,n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(r=function(e,t){if("object"!==j(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==j(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(i.key),"symbol"===j(r)?r:String(r)),i)}}(o.prototype,t),Object.defineProperty(o,"prototype",{writable:!1}),o}(r().Component));function z(e){return(z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}
1function N(e,t){return(N=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function M(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B(e){return(B=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var I=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");s.prototype=Object.create(e&&e.prototype,{constructor:{value:s,writable:!0,configurable:!0}}),Object.defineProperty(s,"prototype",{writable:!1}),e&&N(s,e);var t,n,o=(n=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=B(s);e=n?Reflect.construct(t,arguments,B(this).constructor):t.apply(this,arguments);if(e&&("object"===z(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return M(this)});function s(e){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,s),t=o.call(this,e);var t,r=e.afterLoad,n=e.beforeLoad,i=e.scrollPosition,a=e.visibleByDefault;return t.state={visible:a},a&&(n(),r()),t.onVisible=t.onVisible.bind(M(t)),t.isScrollTracked=!!(i&&Number.isFinite(i.x)&&i.x>=0&&Number.isFinite(i.y)&&i.y>=0),t}return t=[{key:"componentDidUpdate",value:function(e,t){t.visible!==this.state.visible&&this.props.afterLoad()}},{key:"onVisible",value:function(){this.props.beforeLoad(),this.setState({visible:!0})}},{key:"render",value:function(){if(this.state.visible)return this.props.children;var e=this.props,t=e.className,n=e.delayMethod,o=e.delayTime,s=e.height,a=e.placeholder,l=e.scrollPosition,c=e.style,u=e.threshold,p=e.useIntersectionObserver,d=e.width;return this.isScrollTracked||p&&i()?r().createElement(f,{className:t,height:s,onVisible:this.onVisible,placeholder:a,scrollPosition:l,style:c,threshold:u,useIntersectionObserver:p,width:d}):r().createElement(O,{className:t,delayMethod:n,delayTime:o,height:s,onVisible:this.onVisible,placeholder:a,style:c,threshold:u,width:d})}}],function(e,t){for(var r,n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(r=function(e,t){if("object"!==z(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==z(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(i.key),"symbol"===z(r)?r:String(r)),i)}}(s.prototype,t),Object.defineProperty(s,"prototype",{writable:!1}),s}(r().Component);I.propTypes={afterLoad:n.PropTypes.func,beforeLoad:n.PropTypes.func,useIntersectionObserver:n.PropTypes.bool,visibleByDefault:n.PropTypes.bool},I.defaultProps={afterLoad:function(){return{}},beforeLoad:function(){return{}},useIntersectionObserver:!0,visibleByDefault:!1};let $=I;function R(e){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var q=["afterLoad","beforeLoad","delayMethod","delayTime","effect","placeholder","placeholderSrc","scrollPosition","threshold","useIntersectionObserver","visibleByDefault","wrapperClassName","wrapperProps"];function H(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function V(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?H(Object(r),!0).forEach(function(t){var n,i,o;n=e,i=t,o=r[t],(i=Z(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):H(Object(r)).forEac
1h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function U(){return(U=Object.assign.bind()).apply(this,arguments)}function Z(e){var t=function(e,t){if("object"!==R(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==R(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===R(t)?t:String(t)}function W(e,t){return(W=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function G(e){return(G=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var K=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");o.prototype=Object.create(e&&e.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),e&&W(o,e);var t,n,i=(n=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=G(o);e=n?Reflect.construct(t,arguments,G(this).constructor):t.apply(this,arguments);if(e&&("object"===R(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");if(void 0===this)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return this});function o(e){var t;return function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,o),(t=i.call(this,e)).state={loaded:!1},t}return t=[{key:"onImageLoad",value:function(){var e=this;return this.state.loaded?null:function(t){e.props.onLoad(t),e.props.afterLoad(),e.setState({loaded:!0})}}},{key:"getImg",value:function(){var e=this.props,t=(e.afterLoad,e.beforeLoad,e.delayMethod,e.delayTime,e.effect,e.placeholder,e.placeholderSrc,e.scrollPosition,e.threshold,e.useIntersectionObserver,e.visibleByDefault,e.wrapperClassName,e.wrapperProps,function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,q));return r().createElement("img",U({},t,{onLoad:this.onImageLoad()}))}},{key:"getLazyLoadImage",value:function(){var e=this.props,t=e.beforeLoad,n=e.className,i=e.delayMethod,o=e.delayTime,s=e.height,a=e.placeholder,l=e.scrollPosition,c=e.style,u=e.threshold,p=e.useIntersectionObserver,d=e.visibleByDefault,h=e.width;return r().createElement($,{beforeLoad:t,className:n,delayMethod:i,delayTime:o,height:s,placeholder:a,scrollPosition:l,style:c,threshold:u,useIntersectionObserver:p,visibleByDefault:d,width:h},this.getImg())}},{key:"getWrappedLazyLoadImage",value:function(e){var t=this.props,n=t.effect,i=t.height,o=t.placeholderSrc,s=t.width,a=t.wrapperClassName,l=t.wrapperProps,c=this.state.loaded;return r().createElement("span",U({className:a+" lazy-load-image-background "+n+(c?" lazy-load-image-loaded":""),style:V(V({},c||!o?{}:{backgroundImage:"url(".concat(o,")"),backgroundSize:"100% 100%"}),{},{color:"transparent",display:"inline-block",height:i,width:s})},l),e)}},{key:"render",value:function(){var e=this.props,t=e.effect,r=e.placeholderSrc,n=e.visibleByDefault,i=e.wrapperClassName,o=e.wrapperProps,s=this.getLazyLoadImage();return(t||r)&&!n||i||o?this.getWrappedLazyLoadImage(s):s}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Z(n.key),n)}}(o.prototype,t),Object.defineProperty(o,"prototype",{writable:!1}),o}(r().Component);K.propTypes={onLoad:n.PropTypes.func,afterLoad:n.PropTypes.func,beforeLoad:n.PropTypes.func,delayMethod:n.PropTypes.string,delayTime:n.PropTypes.number,effect:n.PropTypes.string,placeholderSrc:n.PropTypes.string,threshold:n.PropTypes.number,useIntersectionObserver:n.PropTypes.bool,visibleByDefault:n.PropTypes.bool,wrapperClassName:n.PropTypes.string,wrapperProps:n.PropTypes.object},K.defaultProps={onLoad:function(){},afterLoad:function(){return{}},beforeLoad:function(){return{}},delayMethod:"throttle",delayTime:300,effect:"",placeholderSrc:null,threshold:100,useIntersectionObserver:!0,visibleByDefault:!1,wrapperClassName:""};let X=K})(),t.exports=s},24963,e=>{"use strict";var t=e.i(88310),r=e.i(95572),n=e.i(85543);function i(e){let i,o=(0,r.c)(7),{src:s,alt:a,className:l,width:c,height:u,placeholderSrc:p}=e;return o[0]!==a||o[1]!==l||o[2]!==u||o[3]!==p||o[4]!==s||o[5]!==c?(i=(0,t.jsx)(n.LazyLoadImage,{src:s,alt:a,width:c,height:u,effect:"blur",placeholderSrc:p,className:l}),o[0]=a,o[1]=l,o[2]=u,o[3]=p,o[4]=s,o[5]=c,o[6]=i):i=o[6],i}e.s(["LazyImage",()=>i])},355564,e=>{"use strict";var t=e.i(88310),r=e.i(95572),n=e.i(956371),i=e.i(526683);function o(e){let o,s,a,l,c,u,p,d,h,f,m,g,y,b,v,x,k,_,w,C,E,D=(0,r.c)(44),{beforeImage:S,afterImage:A,beforeLabel:F,afterLabel:L,beforeAlt:j,afterAlt:T,className:P,initialPosition:O}=e,z=void 0===F?"Before":F,N=void 0===L?"After":L,M=void 0===j?"Before image":j,B=void 0===T?"After image":T,I=(0,n.useRef)(null),[$,R]=(0,n.use
1State)(void 0===O?50:O),[q,H]=(0,n.useState)(!1);D[0]===Symbol.for("react.memo_cache_sentinel")?(o=e=>{let t=I.current;if(!t)return;let r=t.getBoundingClientRect();R(Math.max(0,Math.min(100,(e-r.left)/r.width*100)))},D[0]=o):o=D[0];let V=o;D[1]===Symbol.for("react.memo_cache_sentinel")?(s=e=>{e.preventDefault(),H(!0),V(e.clientX)},D[1]=s):s=D[1];let U=s;D[2]!==q?(a=e=>{q&&V(e.clientX)},D[2]=q,D[3]=a):a=D[3];let Z=a;D[4]===Symbol.for("react.memo_cache_sentinel")?(l=()=>{H(!1)},D[4]=l):l=D[4];let W=l;D[5]===Symbol.for("react.memo_cache_sentinel")?(c=e=>{H(!0),V(e.touches[0].clientX)},D[5]=c):c=D[5];let G=c;D[6]!==q?(u=e=>{q&&V(e.touches[0].clientX)},D[6]=q,D[7]=u):u=D[7];let K=u;D[8]===Symbol.for("react.memo_cache_sentinel")?(p=()=>{H(!1)},D[8]=p):p=D[8];let X=p;D[9]!==Z||D[10]!==K||D[11]!==q?(d=()=>(q&&(document.addEventListener("mousemove",Z),document.addEventListener("mouseup",W),document.addEventListener("touchmove",K),document.addEventListener("touchend",X)),()=>{document.removeEventListener("mousemove",Z),document.removeEventListener("mouseup",W),document.removeEventListener("touchmove",K),document.removeEventListener("touchend",X)}),h=[q,Z,W,K,X],D[9]=Z,D[10]=K,D[11]=q,D[12]=d,D[13]=h):(d=D[12],h=D[13]),(0,n.useEffect)(d,h),D[14]!==P?(f=(0,i.cn)("relative w-full h-full overflow-hidden select-none cursor-ew-resize",P),D[14]=P,D[15]=f):f=D[15],D[16]!==B||D[17]!==A?(m=(0,t.jsx)("div",{className:"absolute inset-0",children:(0,t.jsx)("img",{src:A,alt:B,className:"w-full h-full object-cover",draggable:!1})}),D[16]=B,D[17]=A,D[18]=m):m=D[18];let J=`inset(0 ${100-$}% 0 0)`;D[19]!==J?(g={clipPath:J},D[19]=J,D[20]=g):g=D[20],D[21]!==M||D[22]!==S?(y=(0,t.jsx)("img",{src:S,alt:M,className:"w-full h-full object-cover",draggable:!1}),D[21]=M,D[22]=S,D[23]=y):y=D[23],D[24]!==g||D[25]!==y?(b=(0,t.jsx)("div",{className:"absolute inset-0",style:g,children:y}),D[24]=g,D[25]=y,D[26]=b):b=D[26];let Q=`${$}%`;return D[27]!==Q?(v={left:Q,transform:"translateX(-50%)"},D[27]=Q,D[28]=v):v=D[28],D[29]===Symbol.for("react.memo_cache_sentinel")?(x=(0,t.jsx)("svg",{className:"w-2 h-2 text-gray-500",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:3,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 19l-7-7 7-7"})}),D[29]=x):x=D[29],D[30]===Symbol.for("react.memo_cache_sentinel")?(k=(0,t.jsx)("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-6 h-6 bg-white rounded-full shadow-md flex items-center justify-center border border-gray-200",children:(0,t.jsxs)("div",{className:"flex items-center gap-px",children:[x,(0,t.jsx)("svg",{className:"w-2 h-2 text-gray-500",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:3,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 5l7 7-7 7"})})]})}),D[30]=k):k=D[30],D[31]!==v?(_=(0,t.jsx)("div",{className:"absolute top-0 bottom-0 w-0.5 bg-white shadow-lg z-10",style:v,children:k}),D[31]=v,D[32]=_):_=D[32],D[33]!==z?(w=z&&(0,t.jsx)("div",{className:"absolute top-8 left-3 px-2.5 py-1 bg-black/60 backdrop-blur-sm text-white text-xs font-medium rounded-md z-20",children:z}),D[33]=z,D[34]=w):w=D[34],D[35]!==N?(C=N&&(0,t.jsx)("div",{className:"absolute top-8 right-3 px-2.5 py-1 bg-black/60 backdrop-blur-sm text-white text-xs font-medium rounded-md z-20",children:N}),D[35]=N,D[36]=C):C=D[36],D[37]!==f||D[38]!==m||D[39]!==b||D[40]!==_||D[41]!==w||D[42]!==C?(E=(0,t.jsxs)("div",{ref:I,className:f,onMouseDown:U,onTouchStart:G,children:[m,b,_,w,C]}),D[37]=f,D[38]=m,D[39]=b,D[40]=_,D[41]=w,D[42]=C,D[43]=E):E=D[43],E}e.s(["ImageCompareSlider",()=>o])},111643,793143,352103,e=>{"use strict";var t,r,n,i,o,s,a,l,c,u,p,d,h,f=e.i(88310),m=e.i(95572);let g={};function y(e,t){"string"!=typeof t&&(t=y.defaultChars);let r=function(e){let t=g[e];if(t)return t;t=g[e]=[];for(let e=0;e<128;e++){let r=String.fromCharCode(e);t.push(r)}for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);t[n]="%"+("0"+n.toString(16).toUpperCase()).slice(-2)}return t}(t);return e.replace(/(%[a-f0-9]{2})+/gi,function(e){let t="";for(let n=0,i=e.length;n<i;n+=3){let o=parseInt(e.slice(n+1,n+3),16);if(o<128){t+=r[o];continue}if((224&o)==192&&n+3<i){let r=parseInt(e.slice(n+4,n+6),16);if((192&r)==128){let e=o<<6&1984|63&r;e<128?t+="��":t+=String.fromCharCode(e),n+=3;continue}}if((240&o)==224&&n+6<i){let r=parseInt(e.slice(n+4,n+6),16),i=parseInt(e.slice(n+7,n+9),16);if((192&r)==128&&(192&i)==128){let e=o<<12&61440|r<<6&4032|63&i;e<2048||e>=55296&&e<=57343?t+="���":t+=String.fromCharCode(e),n+=6;continue}}if((248&o)==240&&n+9<i){let r=parseInt(e.slice(n+4,n+6),16),i=parseInt(e.slice(n+7,n+9),16),s=parseInt(e.slice(n+10,n+12),
116);if((192&r)==128&&(192&i)==128&&(192&s)==128){let e=o<<18&1835008|r<<12&258048|i<<6&4032|63&s;e<65536||e>1114111?t+="����":(e-=65536,t+=String.fromCharCode(55296+(e>>10),56320+(1023&e))),n+=9;continue}}t+="�"}return t})}y.defaultChars=";/?:@&=+$,#",y.componentChars="";let b={};function v(e,t,r){"string"!=typeof t&&(r=t,t=v.defaultChars),void 0===r&&(r=!0);let n=function(e){let t=b[e];if(t)return t;t=b[e]=[];for(let e=0;e<128;e++){let r=String.fromCharCode(e);/^[0-9a-z]$/i.test(r)?t.push(r):t.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2))}for(let r=0;r<e.length;r++)t[e.charCodeAt(r)]=e[r];return t}(t),i="";for(let t=0,o=e.length;t<o;t++){let s=e.charCodeAt(t);if(r&&37===s&&t+2<o&&/^[0-9a-f]{2}$/i.test(e.slice(t+1,t+3))){i+=e.slice(t,t+3),t+=2;continue}if(s<128){i+=n[s];continue}if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&t+1<o){let r=e.charCodeAt(t+1);if(r>=56320&&r<=57343){i+=encodeURIComponent(e[t]+e[t+1]),t++;continue}}i+="%EF%BF%BD";continue}i+=encodeURIComponent(e[t])}return i}function x(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}function k(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}v.defaultChars=";/?:@&=+$,-_.!~*'()#",v.componentChars="-_.!~*'()";let _=/^([a-z0-9.+-]+:)/i,w=/:[0-9]*$/,C=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,E=["%","/","?",";","#"].concat(["'"].concat(["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n"," "]))),D=["/","?","#"],S=/^[+a-z0-9A-Z_-]{0,63}$/,A=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,F={javascript:!0,"javascript:":!0},L={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};k.prototype.parse=function(e,t){let r,n,i,o=e;if(o=o.trim(),!t&&1===e.split("#").length){let e=C.exec(o);if(e)return this.pathname=e[1],e[2]&&(this.search=e[2]),this}let s=_.exec(o);if(s&&(r=(s=s[0]).toLowerCase(),this.protocol=s,o=o.substr(s.length)),(t||s||o.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i="//"===o.substr(0,2))&&!(s&&F[s])&&(o=o.substr(2),this.slashes=!0),!F[s]&&(i||s&&!L[s])){let e,t,r=-1;for(let e=0;e<D.length;e++)-1!==(n=o.indexOf(D[e]))&&(-1===r||n<r)&&(r=n);-1!==(t=-1===r?o.lastIndexOf("@"):o.lastIndexOf("@",r))&&(e=o.slice(0,t),o=o.slice(t+1),this.auth=e),r=-1;for(let e=0;e<E.length;e++)-1!==(n=o.indexOf(E[e]))&&(-1===r||n<r)&&(r=n);-1===r&&(r=o.length),":"===o[r-1]&&r--;let i=o.slice(0,r);o=o.slice(r),this.parseHost(i),this.hostname=this.hostname||"";let s="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!s){let e=this.hostname.split(/\./);for(let t=0,r=e.length;t<r;t++){let r=e[t];if(r&&!r.match(S)){let n="";for(let e=0,t=r.length;e<t;e++)r.charCodeAt(e)>127?n+="x":n+=r[e];if(!n.match(S)){let n=e.slice(0,t),i=e.slice(t+1),s=r.match(A);s&&(n.push(s[1]),i.unshift(s[2])),i.length&&(o=i.join(".")+o),this.hostname=n.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),s&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}let a=o.indexOf("#");-1!==a&&(this.hash=o.substr(a),o=o.slice(0,a));let l=o.indexOf("?");return -1!==l&&(this.search=o.substr(l),o=o.slice(0,l)),o&&(this.pathname=o),L[r]&&this.hostname&&!this.pathname&&(this.pathname=""),this},k.prototype.parseHost=function(e){let t=w.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};let j=function(e,t){if(e&&e instanceof k)return e;let r=new k;return r.parse(e,t),r};e.s([],729435),e.i(729435),e.s(["decode",0,y,"encode",0,v,"format",()=>x,"parse",0,j],954489);var T=e.i(954489);let P=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,O=/[\0-\x1F\x7F-\x9F]/,z=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,N=/[\$\+<->
1\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,M=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/;e.s([],57177),e.i(57177),e.s(["Any",0,P,"Cc",0,O,"Cf",0,/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,"P",0,z,"S",0,N,"Z",0,M],107206);var B=e.i(107206);let I=new Uint16Array('áµ<ÃıÊÒÕ»×ÙµÛÞ¢ßà à©àªà¶¡à¹à¼à¼¦áá¨á¡ááááá¥\0\0\0\0\0\0á«áá¦á°á·á½¾â â°âââ»ââ ¤â¤â´â¹â¿ããºã¹ã¬ã£¾ã¨¨ã©±ã« 㬮à EMabcfglmnoprstu\\bfms�¦³¹ÃÃligè»ÃäPè»&ä¦cuteè»Ãäreve;äÄiyx}rcè»Ãä;är;ì\ud835\udd04raveè»Ãäpha;äacr;äd;æ©Ägp¡on;äf;ì\ud835\udd38plyFunction;æ¡ingè»Ã
ä
Äcs¾Ãr;ì\ud835\udc9cign;æildeè»Ãämlè»ÃäÐaceforsuåûþÄÄĢħĪÄcrêòkslash;æÅ¶Ã¶Ã¸;æ«§ed;æy;äÆcrtÄ
ÄÄause;æµnoullis;æ¬a;är;ì\ud835\udd05pf;ì\ud835\udd39eve;äcòÄmpeq;æÜHOacdefhilorsuÅÅÅÆÆÆ¢ÆµÆ·ÆºÇÈɳɸɾcy;ä§PYè»Â©ä©ÆcpyÅŢźute;äÄ;iŧŨætalDifferentialD;æ
leys;æÈaeioÆÆÆÆron;ädilè»Ãärc;änint;æ°ot;äÄdnƧÆilla;ä¸terDot;ä·Ã²Å¿i;ä§rcleÈDMPTÇÇÇÇot;æinus;ælus;æimes;æoÄcsǢǸkwiseContourIntegral;æ²eCurlyÄDQÈÈoubleQuote;æuote;æÈlnpuÈȨÉÉonÄ;eȥȦæ·;æ©´ÆgitȯȶȺruent;æ¡nt;æ¯ourIntegral;æ®ÄfrÉÉ;æoduct;ænterClockwiseContourIntegral;æ³oss;樯cr;ì\ud835\udc9epÄ;CÊÊ
æap;æÖDJSZacefiosÊ Ê¬Ê°Ê´Ê¸ËËˡ˦̳ÒÄ;oŹʥtrahd;æ¤cy;äcy;ä
cy;äÆgrsÊ¿ËËger;æ¡r;æ¡hv;櫤ÄayËËron;ä;älÄ;tËËæa;är;ì\ud835\udd07Äaf˫̧Äcm˰̢riticalÈADGTÌÌÌÌcute;ä´oÅ´ÌÌ;äbleAcute;ärave;ä ilde;äond;æferentialD;æ
Ѱ̽\0\0\0ÍÍ\0Ð
f;ì\ud835\udd3bÆ;DEÍÍÍä¨ot;æqual;æbleÌCDLRUVͣͲÎÏϢϸontourIntegraìȹoɴ͹\0\0ͻ»ÍnArrow;æÄeoÎΤftÆARTÎÎΡrrow;æightArrow;æeÃ¥ËngÄLRΫÏeftÄARγιrrow;æ¸ightArrow;æºightArrow;æ¹ightÄATÏÏrrow;æee;æ¨pÉÏ©\0\0ϯrrow;æownArrow;æerticalBar;æ¥nÌABLRTaÐЪаÑѿͼrrowÆ;BUÐÐТæar;æ¤pArrow;æµreve;äeftËк\0Ñ\0ÑightVector;æ¥eeVector;æ¥ectorÄ;BÑÑæ½ar;æ¥ightÇѧ\0ѱeeVector;æ¥ectorÄ;BѺѻæar;æ¥eeÄ;AÒÒæ¤rrow;æ§ÄctÒÒr;ì\ud835\udc9frok;äà NTacdfglmopqstuxÒ½ÓÓÓÓÓ¢Ó§Ó®ÓµÔ¡Ô¯Ô¶ÕÕÕ Õ¥G;ä
Hè»Ãäcuteè»ÃäÆaiyÓÓÓron;ärcè»Ãä;äot;är;ì\ud835\udd08raveè»Ãäement;æÄapÓºÓ¾cr;ätyÉÔ\0\0ÔmallSquare;æ»erySmallSquare;æ«ÄgpÔ¦Ôªon;äf;ì\ud835\udd3csilon;äuÄaiÔ¼ÕlÄ;TÕÕæ©µilde;ælibrium;æÄciÕÕr;æ°m;橳a;ämlè»ÃäÄipÕªÕ¯sts;æonentialE;æ
ÊcfiosÖ
ÖÖÖ²×y;ä¤r;ì\ud835\udd09lledÉÖ\0\0Ö£mallSquare;æ¼erySmallSquare;æªÍ°Öº\0Ö¿\0\0×f;ì\ud835\udd3dAll;æriertrf;æ±cÃ²×ØJTabcdfgorst×¨×¬×¯×ºØØØØØØ£Ù¬Ù²cy;äè»>ä¾mmaÄ;d׷׸ä;äreve;äÆeiyØØØdil;ä¢rc;ä;äot;ä r;ì\ud835\udd0a;æpf;ì\ud835\udd3eeaterÌEFGLSTصÙÙÙÙÙ¦qualÄ;Lؾؿæ¥ess;æullEqual;æ§reater;檢ess;æ·lantEqual;橾ilde;æ³cr;ì\ud835\udca2;æ«ÐAacfiosuÚ
ÚÚÚÚÚªÚ¾ÛRDcy;äªÄctÚÚek;ä;äirc;ä¤r;ælbertSpace;æÇ°Ú¯\0Ú²f;æizontalLine;æÄctÛÛ
òکrok;ä¦mpÅÛÛownHumðįqual;æÜEJOacdfgmnostuÛºÛ¾ÜÜÜÜÜܡܨÝݸÞÞÞcy;älig;ä²cy;äcuteè»ÃäÄiyÜÜrcè»Ãä;äot;ä°r;æraveè»ÃäÆ;apÜ Ü¯Ü¿ÄcgÜ´Ü·r;äªinaryI;æ
lieóÏÇ´Ý\0Ý¢Ä;eÝÝæ¬ÄgrÝÝral;æ«section;æisibleÄCTݬݲomma;æ£imes;æ¢ÆgptÝ¿ÞÞon;ä®f;ì\ud835\udd40a;äcr;æilde;ä¨Ç«Þ\0Þcy;älè»ÃäÊcfosuÞ¬Þ·Þ¼ßßÄiyÞ±Þµrc;ä´;är;ì\ud835\udd0dpf;ì\ud835\udd41Ç£ß\0ßr;ì\ud835\udca5rcy;äkcy;äÎHJacfosߤߨ߽߬߱à à cy;ä¥cy;äppa;äÄeyß¶ß»dil;ä¶;är;ì\ud835\udd0epf;ì\ud835\udd42cr;ì\ud835\udca6ÖJTaceflmostà ¥à ©à ¬à¡à¡£à¦³à¦¸à§à§à¨·à©cy;äè»<ä¼Êcmnprà ·à ¼à¡à¡à¡ute;ä¹bda;äg;æªlacetrf;ær;æÆaeyà¡à¡à¡¡ron;ä½dil;ä»;äÄfsࡨ॰tÔACDFRTUVarࡾࢩࢱࣦ࣠ࣼयà¥Î४Änrà¢à¢gleBracket;æ¨rowÆ;BRà¢à¢à¢æar;æ¤ightArrow;æeiling;æoǵࢷ\0à£bleBracket;æ¦nÇà£\0à£eeVector;楡ectorÄ;Bà£à£æar;æ¥loor;æightÄAV࣯ࣵrrow;æector;æ¥Äerà¤à¤eÆ;AVà¤à¤à¤æ£rrow;æ¤ector;æ¥iangleÆ;BEतथऩæ²ar;æ§qual;æ´pÆDTVषà¥à¥ownVector;æ¥eeVector;æ¥ ectorÄ;Bà¥à¥æ¿ar;æ¥ectorÄ;B॥०æ¼ar;æ¥ightáÎsÌEFGLSTॾà¦à¦à¦à¦¢à¦qualGreater;æullEqual;æ¦reater;æ¶ess;檡lantEqual;橽ilde;æ²r;ì\ud835\udd0fÄ;eঽাæftarrow;æidot;ä¿Ænpwà§à¨à¨gÈLRlrà§à§·à¨à¨eftÄAR০৬rrow;æµightArrow;æ·ightArrow;æ¶eftÄarγà¨ightáοightáÏf;ì\ud835\udd43erÄLRਢਬeftArrow;æightArrow;æÆchtਾà©à©Ã²à¡;æ°rok;ä
;æªÐacefiosuà©à©à© ੷੼àª
àªàªp;æ¤
y;äÄdl੥੯iumSpace;ælintrf;æ³r;ì\ud835\udd10nusPlus;æpf;
1ì\ud835\udd44cò੶;äÒJacefostuણધàªà«à¬à¬à¶à¶à¶cy;äcute;ä
Æaey઴હાron;ä
dil;ä
;äÆgswà«à«°à¬ativeÆMTVà«à«à«¨ediumSpace;æhiÄcn૦à«Ã«à«eryThiîà«tedÄGL૸à¬reaterGreateòٳessLesóà©Line;är;ì\ud835\udd11ÈBnptଢନଷ଺reak;æ BreakingSpace;ä f;æÚ;CDEGHLNPRSTVàààªà¼à®¡à¯«à°à±à²à²¦à³àµ¡à¶
櫬Äouàà¤ngruent;æ¢pCap;æoubleVerticalBar;æ¦Ælqxà®à®à®ement;æualÄ;Tà®à®æ ilde;ìâ̸ists;æreaterÎ;EFGLSTஶஷ஽à¯à¯à¯à¯¥æ¯qual;æ±ullEqual;ìâ§Ì¸reater;ìâ«Ì¸ess;æ¹lantEqual;ì⩾̸ilde;æµumpÅ௲௽ownHump;ìâ̸qual;ìâ̸eÄfsà°à°§tTriangleÆ;BEà°à°à°¡æªar;ìâ§Ì¸qual;æ¬sÌ;EGLSTవశ఼à±à±à±æ®qual;æ°reater;æ¸ess;ìâªÌ¸lantEqual;ì⩽̸ilde;æ´estedÄGL౨౹reaterGreater;ì⪢̸essLess;ì⪡̸recedesÆ;ESà²à²à²æqual;ì⪯̸lantEqual;æ ÄeiಫಹverseElement;æghtTriangleÆ;BEà³à³à³æ«ar;ìâ§Ì¸qual;æÄquà³à´uareSuÄbp೨೹setÄ;Eà³°à³³ìâ̸qual;æ¢ersetÄ;Eà´à´ìâ̸qual;æ£Æbcpà´à´¤àµsetÄ;Eà´à´ìââqual;æceedsÈ;ESTà´²à´³à´»àµæqual;ì⪰̸lantEqual;æ¡ilde;ìâ¿Ì¸ersetÄ;Eàµàµìââqual;æildeÈ;EFT൮൯൵ൿæqual;æullEqual;æilde;æerticalBar;æ¤cr;ì\ud835\udca9ildeè»Ãä;äÜEacdfgmoprstuvà¶½à·à·à·à·à· à·§à·¼à¸à¸ ยา฿à¹lig;ä
cuteè»ÃäÄiyà·à·rcè»Ãä;äblac;ä
r;ì\ud835\udd12raveè»ÃäÆaei෮ෲ෶cr;ä
ga;ä©cron;äpf;ì\ud835\udd46enCurlyÄDQà¸à¸oubleQuote;æuote;æ;æ©Äclวฬr;ì\ud835\udcaaashè»ÃäiŬื฼deè»Ãäes;樷mlè»ÃäerÄBPà¹à¹ Äarà¹à¹r;æ¾acÄekà¹à¹;æet;æ´arenthesis;æÒacfhilors๿àºàºàºàºàºàºàº°à»¼rtialD;æy;är;ì\ud835\udd13i;ä¦;ä usMinus;ä±ÄipຢàºncareplanÃ¥Úf;æÈ;eio຺ູ໠໤檻cedesÈ;ESTà»à»à»à»æºqual;檯lantEqual;æ¼ilde;æ¾me;æ³Ädp໩໮uct;æortionÄ;aȥ໹l;æÄcià¼à¼r;ì\ud835\udcab;ä¨ÈUfosà¼à¼à¼à¼OTè»"ä¢r;ì\ud835\udd14pf;æcr;ì\ud835\udcacØBEacefhiorsu༾à½à½à½ ཱིྦྷྪà¾áá©á´á¾arr;æ¤Gè»Â®ä®Æcnrà½à½à½ute;ä
g;æ«rÄ;tà½à½æ l;æ¤Æaeyཧཬཱron;ä
dil;ä
;ä Ä;vླྀཹæerseÄEUà¾à¾Älqà¾à¾ement;æuilibrium;æpEquilibrium;楯r»ཹo;ä¡ghtÐACDFTUVaà¿à¿«à¿³á¢á¨ááÏÄnrà¿à¿gleBracket;æ©rowÆ;BLà¿à¿à¿¡æar;æ¥eftArrow;æeiling;æoǵ࿹\0á
bleBracket;æ§nÇá\0áeeVector;æ¥ectorÄ;Bááæar;æ¥loor;æÄerááeÆ;AVáµá¶á¼æ¢rrow;æ¦ector;æ¥iangleÆ;BEáááæ³ar;æ§qual;æµpÆDTVá£á®á¸ownVector;æ¥eeVector;æ¥ectorÄ;Bááæ¾ar;æ¥ectorÄ;Bááæar;æ¥Äpuááf;ændImplies;楰ightarrow;æÄchá¹á¼r;æ;æ±leDelayed;æ§´ÚHOacfhimoqstuá¤á±á·á½ááá
á
á
¡á
§áµá»á¿ÄCcá©á®Hcy;ä©y;ä¨FTcy;ä¬cute;ä
Ê;aeiyáááááæª¼ron;ä
dil;ä
rc;ä
;ä¡r;ì\ud835\udd16ortÈDLRUáªá´á¾á
ownArrow»ÐeftArrow»à¢ightArrow»à¿pArrow;ægma;ä£allCircle;æpf;ì\ud835\udd4aɲá
\0\0á
°t;æareÈ;ISUá
ȇ
¼áá¯æ¡ntersection;æuÄbpáásetÄ;Eááæqual;æersetÄ;Eá¨á©æqual;ænion;æcr;ì\ud835\udcaear;æÈbcmpááááÄ;sááæetÄ;Eááqual;æÄchá á
eedsÈ;ESTáá®á´á¿æ»qual;檰lantEqual;æ½ilde;æ¿Tháà¾;æÆ;esááá£ærsetÄ;Eááæqual;æet»áÖHRSacfhiorsá¾ááááá±á¶ááááORNè»ÃäADE;æ¢ÄHcáácy;äy;ä¦Äbuáá;ä;䤯aeyá¥áªá¯ron;ä
¤dil;ä
¢;ä¢r;ì\ud835\udd17Äeiá»áDzá\0áefore;æ´a;äÄcnáákSpace;ìââSpace;ældeÈ;EFTá«á¬á²á¼æ¼qual;æullEqual;æ
ilde;æpf;ì\ud835\udd4bipleDot;æÄctáár;ì\ud835\udcafrok;ä
¦à«¡á·ááá¦\0á¬á±\0\0\0\0\0á¸á½á·á
\0á¿áááÄcrá»áuteè»ÃärÄ;oááæcir;æ¥rÇ£á\0áy;äve;ä
¬Äiyáá£rcè»Ãä;ä£blac;ä
°r;ì\ud835\udd18raveè»Ãäacr;ä
ªÄdiáá©erÄBPááÄaráár;äacÄekáá;æet;æµarenthesis;æonÄ;Pá°á±ælus;æÄgpá»á¿on;ä
²f;ì\ud835\udd4cÐADETadpsáá®á¸áϨááá³rrowÆ;BDá
á á¤ar;æ¤ownArrow;æ
ownArrow;æquilibrium;楮eeÄ;Aááæ¥rrow;æ¥ownáϳerÄLRáá¨eftArrow;æightArrow;æiÄ;lá¹áºäon;ä¥ing;ä
®cr;ì\ud835\udcb0ilde;ä
¨mlè»ÃäÒDbcdefosvá§á¬á°á³á¾á
áááash;æ«ar;æ««y;äashÄ;lá»á¼æ©;櫦Äeráá
;æÆbtyáááºar;æÄ;iáácalÈBLSTá¡á¥áªá´ar;æ£ine;ä¼eparator;æilde;æThinSpace;ær;ì\ud835\udd19pf;ì\ud835\udd4dcr;ì\ud835\udcb1dash;æªÊcefosá§á¬á±á¶á¼irc;ä
´dge;ær;ì\ud835\udd1apf;ì\ud835\udd4ecr;ì\ud835\udcb2Èfiosáááár;ì\ud835\udd1b;äpf;ì\ud835\udd4fcr;ì\ud835\udcb3ÒAIUacfosuá±áµá¹á½ááááá cy;ä¯cy;äcy;ä®cuteè»ÃäÄiyáárc;ä
¶;ä«r;ì\ud835\udd1cpf;ì\ud835\udd50cr;ì\ud835\udcb4ml;ä
¸ÐHacdefosáµá¹á¿áááá á¤cy;äcute;ä
¹Äayááron;ä
½;äot;ä
»Ç²á\0áoWidtèà«a;är;æ¨pf;æ¤cr;ì\ud835\udcb5௡ááá\0á°á¶á¿\0\0\0\0ááá«áá\0ááá²á¹\0á¾cuteè»Ã¡ä¡reve;äÌ;Ediuyááá¡á£á¨áæ¾;ìâ¾Ì³;æ¿rcè»Ã¢ä¢teè»Â´Ì;ä°ligè»Ã¦ä¦Ä;r²áº;ì\ud835\udd1eraveè»Ã ä ÄepááÄfpáásym;æµÃ¨áha;ä±ÄapácÄclá¤á§r;äg;樿ɤá°\0\0áÊ;adsváºá»á¿ááæ§nd;æ©;æ©lope;æ©;æ©Î;elmrszááááá¿ááæ ;榤e»ásdÄ;aá¥á¦æ¡Ñ¡á°á²á´á¶á¸áºá¼á¾;榨;榩;榪;榫;榬;æ¦;榮;榯tÄ;vá
áæbÄ;dááæ¾;æ¦Äptááh;æ¢Â»Â¹arr;æ¼Ägpá£á§on;ä
f;ì\ud835\udd52Î;Eaeiopáá»á½áááá;æ©°cir;橯;æd;æs;ä§roxÄ;eááñáingè»Ã¥ä¥Æctyá¡á¦á¨r;ì\ud835\udcb6;äªmpÄ;eáá¯Ã±Êildeè»Ã£ä£mlè»Ã¤ä¤Äciááoninôɲnt;æ¨à Nabcdefiklnoprsuáá±á°á¼ááá¸á½á á¦á ¹á¡á᤽á¥á¥°ot;æ«Äcrá¶ákÈcepsáá
ááong;æpsilon;ä¶rime;æµimÄ;eááæ½q;æÅ¶á¢á¦ee;æ½edÄ;gá¬áæ
e»árkÄ;táá·brk;æ¶Äoyáá;ä±quo;æÊcmprtááá¡á¤á¨ausÄ;eÄÄptyv;榰séánoÃµÄÆahwá¯á±á³;ä²;æ¶een;æ¬r;ì\ud835\udd1fgÎcostuvwááá³ááááÆaiuáááÃ°Ý rc;æ¯pÂ»á±Ædptá¤á¨áot;æ¨lus;æ¨imes;æ¨É±á¹\0\0á¾cup;æ¨ar;æ
riangleÄduááown;æ½p;æ³plus;æ¨eÃ¥áÃ¥áarow;æ¤Æakoáá ¦á µÄcná²á £kÆlstáºÖ«á ozenge;æ§«riangleÈ;dlrá á á á æ´own;æ¾eft;æight;æ¸k;æ£Æ±á «\0á ³Æ²á ¯\0á ±;æ;æ4;æck;æÄeoá ¾á¡Ä;qá¡á¡ì=â¥uiv;ìâ¡â¥t;æÈptwxá¡á¡á¡§á¡¬f;ì\ud835\udd53Ä;táá¡£om»átie;æØDHUVbdhmptuvá¢
á¢á¢ªá¢»á£á£á£¬á£¿á¤
á¤á¤á¤¡ÈLRlrá¢á¢á¢á¢;æ;æ;æ;æÊ;DUduᢡᢢᢤᢦᢨæ;æ¦;æ©;æ¤;æ§ÈLRlrᢳᢵᢷᢹ;æ;æ;æ;æÎ;HLRhlrá£á£á£á£á£á£á£æ;æ¬;æ£;æ ;æ«;æ¢;æox;æ§ÈLRlrᣤᣦᣨᣪ;æ;æ;æ;æÊ;DUduڽ᣷᣹᣻᣽;æ¥;æ¨;æ¬;æ´inus;ælus;æimes;æ ÈLRlrá¤á¤á¤á¤;æ;æ;æ;æÎ;HLRhlrᤰᤱᤳᤵᤷ᤻᤹æ;æª;æ¡;æ;æ¼;æ¤;æÄevÄ£á¥barè»Â¦ä¦Èceioá¥á¥á¥á¥ r;ì\ud835\udcb7mi;æmÄ;eáálÆ;bhᥨᥩᥫä;æ§
sub;æÅ¬á¥´á¥¾lÄ;e᥹᥺æ¢t»᥺pÆ;Eeįá¦
á¦;檮Ä;qÛÛೡᦧ\0᧨á¨á¨á¨²\0ᨷá©\0\0᪴\0\0á«\0\0ᬡᬮáá\0᯽\0á°Æcprá¦á¦²á§ute;äÌ;abcdsᦿá§á§á§á§á§æ©nd;æ©rcup;æ©Äauá§á§p;æ©p;æ©ot;æ©;ìâ©ï¸Äeo᧢᧥t;æÃ®ÚÈaeiuá§°á§»á¨á¨
ǰ᧵\0᧸s;æ©on;ädilè»Ã§ä§rc;äpsÄ;sá¨á¨æ©m;æ©ot;äÆdmná¨á¨ ᨦilè»Â¸Æptyv;榲tè¢;eá¨á¨®ä¢räƲr;ì\ud835\udd20Æceiᨽá©á©y;äckÄ;má©á©æark»á©;ärÎ;Ecefmsá©á© ᩢᩫ᪤᪪᪮æ;æ§Æ;elᩩᩪá©äq;æeɡᩴ\0\0áªrrowÄlr᩼áªeft;æºight;æ»ÊRSacdáªáªáªáªáªÂ»à½;æst;æirc;æash;ænint;æ¨id;櫯cir;æ§ubsÄ;u᪻᪼æ£it»᪼ˬá«á«á«º\0á¬onÄ;eá«á«äºÄ;qÃÃÉá«\0\0á«¢aÄ;tá«á«ä¬;äÆ;fl᫨᫩᫫æÃ®á
eÄmx᫱᫶ent»᫩eóÉǧ᫾\0á¬Ä;dá»á¬ot;æ©nÃ´ÉÆfryá¬á¬á¬;ì\ud835\udd54oäÉè©;sÅá¬r;æÄaoᬥᬩrr;æµss;æÄcuᬲᬷr;ì\ud835\udcb8ÄbpᬼáÄ;eááæ«;æ«Ä;eááæ«;æ«dot;æ¯Îdelprvwá á¬á·á®á®¬á¯á¯¹arrÄlrá¨áª;椸;椵ɰá²\0\0áµr;æc;æarrÄ;pá¿á®æ¶;椽Ì;bcdosá®á®á®á®¡á®¥á®¨æªrcap;æ©Äauá®á®p;æ©p;æ©ot;ær;æ©
;ìâªï¸Èalrv᮵ᮿá¯á¯£rrÄ;mᮼᮽæ·;椼yÆevwá¯á¯á¯qɰá¯\0\0á¯reãá³uãáµee;æedge;æenè»Â¤ä¤earrowÄlrᯮ᯳eft»á®ight»ᮽeäá¯Äciá°á°oninôǷnt;æ±lcty;æà¦AHabcdefhijlorstuwz᰸᰻᰿á±á±©á±µá²á²á²¬á²·á³»á³¿á´áµ»á¶á¶«á¶»á·á·ròÎar;楥Èglrsá±á±á±á±ger;æ eth;æ¸Ã²á³hÄ;vá±á±æÂ»à¤Å«á±¡á±§arow;æ¤aãÌÄayᱮᱳron;ä;ä´Æ;ao̲ᱼá²ÄgrÊ¿á²r;ætseq;æ©·Æglmá²á²á²è»Â°ä°ta;ä´ptyv;榱ÄirᲣᲨsht;楿;ì\ud835\udd21arÄlrᲳᲵ»à£Â»áÊaegsvá³Í¸á³á³á³ mÆ;oșá³á³ndÄ;șá³uit;æ¦amma;äin;æ²Æ;io᳧᳨᳸ä·deè÷;oá³§á³°ntimes;ænø᳷cy;äcɯá´\0\0á´rn;æop;æÊlptuwá´á´á´¢áµáµlar;ä¤f;ì\ud835\udd55Ê;empsÌá´á´·á´½áµqÄ;dÍá´³ot;æinus;æ¸lus;æquare;æ¡blebarwedgåúnÆadhá®áµáµ§ownarrowóá²arpoonÄlrᵲᵶefôᲴighôᲶŢᵿá¶
karo÷à½É¯á¶\0\0á¶rn;æop;æÆcotá¶á¶£á¶¦Äryá¶á¶¡;ì\ud835\udcb9;äl;æ§¶rok;äÄdrá¶°á¶´ot;æ±iÄ;fá¶ºá æ¿Äahá·á·ròЩaòྦangle;榦Äciá·á·y;ägrarr;æ¿à¤Dacdefglmnopqrstuxá¸á¸á¸á¸¸Õ¸á¸¼á¹á¹¡á¹¾áº¥áº¯áº½á»¡á¼ªá¼·á½á½á½ÄDoá¸á´´oôá²Äcsá¸á¸uteè»Ã©ä©ter;æ©®ÈaioyḢḧḱḶron;ärÄ;cá¸á¸®æè»Ãªäªlon;æ;äot;äÄDrá¹á¹
ot;æ;ì\ud835\udd22Æ;rsá¹á¹á¹æªaveè»Ã¨ä¨Ä;dá¹á¹æªot;æªÈ;ilsṪṫṲṴæªnters;æ§;æÄ;dṹṺæªot;æªÆapsáº
áºáºcr;ätyÆ;sváºáºáºæ
et»áºpÄ1;áºáº¤Ä³áº¡áº£;æ;æ
æÄgsẪẬ;ä
p;æÄgpẴẸon;äf;ì\ud835\udd56Æalsá»á»á»rÄ;sá»á»æl;æ§£us;橱iÆ;lvá»á»á»äµon»á»;äµÈcsuvỪỳá¼á¼£Äioữḱrc»Ḯɩỹ\0\0á»»ÃÕantÄglá¼á¼tr»á¹ess»ṺÆaeiá¼á¼á¼ls;ä½st;ævÄ;DȵἠD;橸parsl;æ§¥ÄDaἯἳot;ærr;楱Æcdiá¼¾á½á»¸r;æ¯oôÍÄahá½á½;ä·è»Ã°ä°Ämrá½á½lè»Ã«ä«o;æ¬Æcipὡὤὧl;ä¡sôծÄeoὬὴctatioîÕnentialåչৡá¾\0á¾\0ᾡᾧ\0\0á¿á
1¿\0á¿\0ῦῪâ\0ââllingdotseñá¹y;ämale;æÆilrá¾á¾³á¿lig;èï¬É©á¾¹\0\0á¾½g;èï¬ig;èï¬;ì\ud835\udd23lig;èï¬lig;ìfjÆaltá¿á¿á¿¡t;æig;èï¬ns;æ±of;äǰ΅\0ῳf;ì\ud835\udd57ÄakÖ¿á¿·Ä;vῼ´æ;æ«artint;æ¨ÄaoââÄcsââαââ°â¸â
â\0âβâ¢â¥â§âªâ¬\0â®è»Â½ä½;æ
è»Â¼ä¼;æ
;æ
;æ
Ƴâ´\0â¶;æ
;æ
Ê´â¾â\0\0âè»Â¾ä¾;æ
;æ
5;æ
ƶâ\0â;æ
;æ
8;æ
l;æwn;æ¢cr;ì\ud835\udcbbà¢Eabcdefgijlnorstvââââ¥â°â´â°âµâºâ¿âââ¸Ìâ¾â
âÄ;lÙâ;æªÆcmpâââute;äµmaÄ;dâá³ä³;æªreve;äÄiyâªâ®rc;ä;ä³ot;ä¡È;lqsؾÙâ½âÆ;qsؾÙâlanô٥È;cdlÙ¥âââ¥c;檩otÄ;oââæªÄ;lâ¢â£æª;æªÄ;eâªâìâï¸s;æªr;ì\ud835\udd24Ä;gÙ³Ømel;æ·cy;äÈ;EajÙâââ;æª;檥;檤ÈEaesâââ©â´;æ©pÄ;pâ£â¤æªrox»â¤Ä;qâ®â¯æªÄ;qâ®âim;æ§pf;ì\ud835\udd58Äciâ
â
r;æmÆ;elÙ«â
â
;æª;æªè>;cdlqr×®â
â
ªâ
®â
³â
¹Äciâ
¥â
§;檧r;橺ot;æPar;æ¦uest;橼Êadelsââ
ªâÙâǰâ\0âproøâr;楸qÄlqØ¿âlesóâiÃÙ«Äenâ£ârtneqq;ìâ©ï¸Ã
âªÔAabcefkosyâââ±âµâºâââ¯â¨â½ròΠÈilmrâââârsðáf»â¤ilôکÄdrâ â¤cy;äÆ;cwࣴâ«â¯ir;æ¥;æar;æirc;䥯alrââârtsÄ;uââæ¥it»âlip;æ¦con;æ¹r;ì\ud835\udd25sÄewâ£â©arow;椥arow;椦Êamoprâºâ¾âââ£rr;æ¿tht;æ»kÄlrââeftarrow;æ©ightarrow;æªf;ì\ud835\udd59bar;æÆcltâ¯â´â¸r;ì\ud835\udcbdasèâ´rok;ä§Äbpââull;æhen»á±à«¡â£\0âª\0â¸â
â\0ââ³\0\0â¸â¢â§â¢â¿\0ââªâ´cuteè»ÃäÆ;iyݱâ°âµrcè»Ã®ä®;ä¸Äcxâ¼â¿y;äµclè»Â¡ä¡ÄfrÎâ;ì\ud835\udd26raveè»Ã¬ä¬È;inoܾââ©â®Äinâ¢â¦nt;æ¨t;æfin;æ§ta;æ©lig;䳯aopâ¾ââÆcgtâ
ââr;䫯elpÜââinÃ¥ÞarÃ´Ü h;ä±f;æ·ed;äµÊ;cfotÓ´â¬â±â½âare;æ
inÄ;tâ¸â¹æie;æ§doôâÊ;celpÝââââ¡al;æºÄgrââeróá£Ã£âarhk;æ¨rod;樼Ècgptâ¯â²â¶â»y;äon;ä¯f;ì\ud835\udd5aa;ä¹uestè»Â¿ä¿Äciââr;ì\ud835\udcbenÊ;EdsvÓ´âââ¡Ó³;æ¹ot;æµÄ;vâ¦â§æ´;æ³Ä;iÝ·â®lde;ä©Ç«â¸\0â¼cy;älè»Ã¯ä¯Ìcfmosuââââ¡â§âµÄiyâârc;äµ;ä¹r;ì\ud835\udd27ath;ä·pf;ì\ud835\udd5bÇ£â¬\0â±r;ì\ud835\udcbfrcy;äkcy;äÐacfghjosâââ¢â§ââ±âµâ»ppaÄ;vââäº;ä°Äeyââ dil;ä·;äºr;ì\ud835\udd28reen;ä¸cy;ä
cy;äpf;ì\ud835\udd5ccr;ì\ud835\udcc0à®ABEHabcdefghjlmnoprstuvâ°ââââââ½âââââ¥â¹â½ââ²âââ¨âââ â Æartâ·âºâ¼ròà§Ã²Îail;æ¤arr;æ¤Ä;gà¦â;æªar;楢ॣâ¥\0âª\0â±\0\0\0\0\0âµâº\0âââ\0â¹ute;äºmptyv;榴raîà¡bda;ä»gÆ;dlà¢ââ;æ¦Ã¥à¢;æª
uoè»Â«ä«rÐ;bfhlpstà¢ââ¦â©â«â®â±âµÄ;fà¢â£s;æ¤s;æ¤Ã«âp;æ«l;椹im;楳l;æ¢Æ;aeâ¿ââæª«il;æ¤Ä;sââæª;ìâªï¸Æabrââârr;æ¤rk;æ²Äakâ¢â¬cÄekâ¨âª;ä»;äÄesâ±â³;æ¦lÄduâ¹â»;æ¦;æ¦Èaeuyââââron;ä¾Ädiââil;ä¼Ã¬à¢°Ã¢â©;
1ä»Ècqrsâ£â¦ââ½a;椶uoÄ;rà¸áÄduâ²â·har;楧shar;æ¥h;æ²Ê;fgqsââà¦â³â¿æ¤tÊahlrtââ¤â·ââ¨rrowÄ;tà¢â¡aéâ¶arpoonÄduâ¯â´own»Ñp»०eftarrows;æightÆahsââârrowÄ;sࣴࢧarpoonóà¾quigarro÷â°hreetimes;æÆ;qsâà¦âºlanôবÊ;cdgsবââââ¨c;檨otÄ;oââæ©¿Ä;rââæª;æªÄ;eâ¢â¥ìâï¸s;æªÊadegsâ³â¹â½ââpproøâot;æqÄgqââ
ôà¦gtòâôà¦iÃলÆilrâ࣡âsht;楼;ì\ud835\udd29Ä;Eà¦â£;æªÅ¡â©â¶rÄduâ²â®Ä;l॥â³;楪lk;æcy;äÊ;achtà©ââââròâorneòá´ard;楫ri;æºÄioââ¤dot;ä
ustÄ;aâ¬âæ°che»âÈEaesâ»â½ââ;æ¨pÄ;pââæªrox»âÄ;qââæªÄ;qââ»im;æ¦Ðabnoptwzâ©â´â·ââ¯âââÄnrâ®â±g;æ¬r;æ½rëà£gÆlmrâ¿ââeftÄar০âightá৲apsto;æ¼ightá৽parrowÄlrâ¥â©efôâight;æ¬Æaflâ¶â¹â½r;æ¦
;ì\ud835\udd5dus;æ¨imes;樴šââst;æÃ¡áÆ;efââá ænge»âarÄ;lâ¤â¥ä¨t;æ¦Êachmtâ³â¶â¼â
âròࢨorneòá¶arÄ;dà¾â;æ¥;æri;æ¿Ìachiqtââà©â¢â®â»quo;æ¹r;ì\ud835\udcc1mÆ;egলâªâ¬;æª;æªÄbuâªâ³oÄ;rà¸â¹;ærok;ä
è<;cdhilqrà «ââ¹ââ â¥âªâ°Äciââ;檦r;橹reÃ¥â²mes;æarr;楶uest;æ©»ÄPiâµâ¹ar;æ¦Æ;efâ à¤á ærÄduâ â shar;æ¥har;楦Äenâ â ¡rtneqq;ìâ¨ï¸Ã
â ÜDacdefhilnopsuâ¡â¡
â¢â¢â¢â¢ ⢥⢨â£â£¢â£¤àªâ£³â¤Dot;æºÈclprâ¡â¡â¡£â¡½rè»Â¯ä¯Äetâ¡â¡;æÄ;eâ¡â¡æ se»â¡Ä;sá»â¡¨toÈ;dluá»â¡³â¡·â¡»owîÒefôà¤Ã°áker;æ®Äoyâ¢â¢mma;権;ä¼ash;æasuredangle»á¦r;ì\ud835\udd2ao;æ§Æcdn⢯⢴â£roè»ÂµäµÈ;acdá¤â¢½â£â£sôá§ir;æ«°otè»Â·ÆµusÆ;bdâ£á¤â£æÄ;uá´¼â£;横ţâ£â£¡p;æ«Ã²âðàªÄdp⣩⣮els;æ§f;ì\ud835\udd5eÄct⣸⣽r;ì\ud835\udcc2pos»áÆ;lmâ¤â¤â¤ä¼timap;æ¸à°GLRVabcdefghijlmoprstuvwâ¥â¥â¥¾â¦â¦â§â§©â¨â¨â©â©âªâªâª¤âª¨â¬â¬ââ¿â®®â°´â±§â±¼â³©Ägtâ¥â¥;ìâ̸Ä;vâ¥à¯ìâ«âÆeltâ¥â¥²â¥¶ftÄar⥡⥧rrow;æightarrow;æ;ìâ̸Ä;v⥻à±ìâªâightarrow;æÄDdâ¦â¦ash;æ¯ash;æ®Êbcnpt⦣⦧⦬⦱â§la»Ëute;ä
g;ìâ âÊ;Eiopà¶â¦¼â§â§
â§;ì⩰̸d;ìâ̸s;ä
roøà¶urÄ;aâ§â§æ®lÄ;sâ§à¬¸Ç³â§\0â§£pè»Â ଷmpÄ;e௹à°Êaeouyâ§´â§¾â¨â¨â¨Ç°â§¹\0â§»;æ©on;ä
dil;ä
ngÄ;dൾâ¨ot;ìâ©Ì¸p;æ©;ä½ash;æÎ;Aadqsxà®â¨©â¨â¨»â©â©
â©rr;ærÄhr⨳⨶k;椤Ä;oá²á°ot;ìâ̸uiöà£Äeiâ©â©ar;椨Ãà®istÄ;sà® à®r;ì\ud835\udd2bÈEestà¯
⩦⩹⩼Æ;qs஼â©à¯¡Æ;qs஼à¯
â©´lanô௢iÃ௪Ä;rà®¶âªÂ»à®·ÆAapâªâªâªrò⥱rr;æ®ar;櫲Æ;svà¾âªà¾Ä;d⪡⪢æ¼;æºcy;äÎAEadest⪷⪺⪾â«â«
⫶⫹rò⥦;ìâ¦Ì¸rr;ær;æ¥È;fqsà°»â«â«£â«¯tÄarâ«â«rro÷â«ightarroÃ·âªÆ;qs఻⪺⫪lanôà±Ä;sà±â«´Â»à°¶iÃà±Ä;rవ⫾iÄ;eà°à°¥iäà¶Äptâ¬â¬f;ì\ud835\udd5fè¬;inâ¬â¬â¬¶ä¬nÈ;Edvà®â¬¤â¬¨â¬®;ìâ¹Ì¸ot;ìâµÌ¸Ç¡à®â¬³â¬µ;æ·;æ¶iÄ;vಸ⬼ǡಸââ;æ¾;æ½Æaorââ£â©rÈ;astà»âââlleìà»l;ì⫽â¥;ìâ̸lint;æ¨Æ;ceà²â°â³uåಥÄ;cà²â¸Ä;eà²â½Ã±à²ÈAaitâ®â®â®â®§ròâ¦rrÆ;cwâ®â®â®æ;ì⤳̸;ìâ̸ghtarrow»â®riÄ;eà³à³Îchimpqu⮽â¯â¯â¬à¸â¯¤â¯¯È;cerà´²â¯à´·â¯uÃ¥àµ
;ì\ud835\udcc3ortÉâ¬
\0\0â¯aráâmÄ;e൮â¯Ä;q൴൳suÄbp⯫â¯Ã¥à³¸Ã¥à´Æbcp⯶â°â°È;Ees⯿â°à´¢â°æ;ìâ«
̸etÄ;eà´â°qÄ;qà´£â°cÄ;eà´²â°Ã±à´¸È;EesⰢⰣàµâ°§æ
;ìâ«Ì¸etÄ;eàµâ°®qÄ;qൠⰣÈgilrⰽⰿâ±
â±Ã¬à¯ldeè»Ã±ä±Ã§à±iangleÄlrâ±â±eftÄ;eà°â±Ã±à°¦ightÄ;eà³â±¥Ã±à³Ä;mⱬâ±ä½Æ;esⱴⱵⱹä£ro;æp;æÒDHadgilrsâ²â²â²â²â²£â²°â²¶â³â³£ash;æarr;æ¤p;ìââash;æ¬ÄetⲨⲬ;ìâ¥â;ì>ânfin;æ§ÆAetâ²½â³â³
rr;æ¤;ìâ¤âÄ;râ³â³ì<âie;ìâ´âÄAtâ³â³rr;æ¤rie;ìâµâim;ìâ¼âÆAanâ³°â³´â´rr;ærÄhr⳺⳽k;椣Ä;oá§á¥ear;椧ááª\0\0\0\0\0\0\0\0\0\0\0\0\0â´\0â´¸âµâµ ⵥ⵲â¶á¬\0\0â¶â¶«\0â·â·\0â·â¸â¸«â¸¾â¹Äcsâ´±áªuteè»Ã³ä³Äiyâ´¼âµ
rÄ;cáªâµè»Ã´ä´;ä¾Êabios᪠âµâµÇâµlac;ä
v;樸old;榼lig;ä
Äcr⵩âµir;榿;ì\ud835\udd2cͯ⵹\0\0âµ¼\0â¶n;äaveè»Ã²ä²;æ§Äbmâ¶à·´ar;榵Èacitâ¶â¶â¶¥â¶¨ròáªÄirâ¶â¶ r;榾oss;榻nÃ¥à¹;æ§Æaeiⶱⶵⶹcr;ä
ga;äÆcdnâ·â·
Çron;ä¿;榶pf;ì\ud835\udd60Æaelâ·â·Çr;榷rp;榹Î;adiosvⷪⷫⷮâ¸â¸â¸â¸æ¨ròáªÈ;efmâ··â·¸â¸â¸
æ©rÄ;oⷾⷿæ´f»ⷿè»Âªäªè»Âºäºgof;æ¶r;æ©lope;æ©;æ©Æcloâ¸â¸¡â¸§Ã²â¸ashè»Ã¸ä¸l;æiŬⸯ⸴deè»ÃµäµesÄ;aÇ⸺s;樶mlè»Ã¶ä¶bar;æ½à«¡â¹\0â¹½\0âºâº\0⺢⺹\0\0â»àº\0â¼\0\0⼫⾼\0â¿rÈ;
1astÐâ¹§â¹²àº
è¶;lâ¹â¹®ä¶leìÐɩ⹸\0\0â¹»m;櫳;櫽y;ä¿rÊcimptâºâºâºá¡¥âºnt;ä¥od;ä®il;æ°enk;æ±r;ì\ud835\udd2dÆimo⺨⺰⺴Ä;vâºâº®ä;ämaô੶ne;æÆ;tv⺿â»â»ächfork»´;äÄauâ»â»nÄckâ»â»kÄ;hâ´â»;æÃ¶â´sÒ;abcdemst⻳⻴á¤â»¹â»½â¼â¼â¼â¼ä«cir;樣ir;樢Äouáµâ¼;樥;橲nè»Â±àºim;樦wo;樧Æipuâ¼â¼ â¼¥ntint;æ¨f;ì\ud835\udd61ndè»Â£ä£Ô;Eaceinosuà»â¼¿â½â½â½â¾â¾â¾â½¾â¾¶;檳p;檷uÃ¥à»Ä;cà»â½Ì;acensà»â½â½â½¦â½¨â½¾pproøâ½urlyeñà»Ã±à»Æaes⽯⽶⽺pprox;檹qq;檵im;æ¨iÃà»meÄ;sâ¾àº®æ²ÆEas⽸â¾â½ºÃ°â½µÆdfp໬â¾â¾¯Æals⾠⾥⾪lar;æ®ine;æurf;æÄ;t໻⾴ï໻rel;æ°Äciâ¿â¿
r;ì\ud835\udcc5;äncsp;æÌfiopsuâ¿â¢â¿â¿¥â¿«â¿±r;ì\ud835\udd2epf;ì\ud835\udd62rime;æcr;ì\ud835\udcc6Æaeo⿸ããtÄei⿾ã
rnionóڰnt;æ¨stÄ;eããä¿Ã±á¼Ã´à¼àªABHabcdefhilmnoprstuxããããã ãã«ã
ã
¢ã
²ãããã¤ã©ãã®ã²ãã°ã·Æartãããròá³Ã²Ïail;æ¤aròᱥar;楤Îcdenqrtã¨ãµã¸ã¿ãããÄeuãã±;ìâ½Ì±te;ä
iãá
®mptyv;榳gÈ;delà¿ããã;æ¦;榥åà¿uoè»Â»ä»rÖ;abcfhlpstwà¿ã¬ã¯ã·ã¹ã¼ã¾ããããp;極Ä;fà¿ ã´s;æ¤ ;椳s;æ¤Ã«âðâ®l;æ¥
im;楴l;æ£;æÄaiããil;æ¤oÄ;nããæ¶alÃ³à¼Æabrã§ãªã®ròá¥rk;æ³Äakã³ã½cÄekã¹ã»;ä½;äÄesãã;æ¦lÄduãã;æ¦;æ¦Èaeuyããã§ã©ron;ä
Ädiã¡ã¥il;ä
ì࿲âãº;äÈclqsã´ã·ã½ã
a;椷dhar;楩uoÄ;rÈÈh;æ³Æacgã
ã
à½lÈ;ipsླྀã
ã
ánÃ¥á»arôྩt;æÆilrã
©á£ã
®sht;楽;ì\ud835\udd2fÄaoã
·ãrÄduã
½ã
¿Â»Ñ»Ä;láã;楬Ä;vããä;䱯gnsãã¹ã¼htÌahlrstã¤ã°ããã¤ã®rrowÄ;tà¿ãaéãarpoonÄduã»ã¿owîã
¾p»áeftÄahããrrowó࿪arpoonóÕightarrows;æquigarro÷ãhreetimes;æg;äingdotseñἲÆahmãããrò࿪aòÕ;æoustÄ;aããæ±che»ãmid;æ«®Èabptã²ã½ããÄnrã·ãºg;ær;æ¾rëáÆaflãããr;æ¦;ì\ud835\udd63us;樮imes;樵Äapãã§rÄ;gã£ã¤ä©t;æ¦olint;æ¨aròã£Èachqã»ãá¼ã
quo;æºr;ì\ud835\udcc7Äbuã»ãoÄ;rÈÈÆhirããã reÃ¥ã¸mes;æiÈ;eflãªáá ¡ã«æ¹tri;æ§luhar;楨;æàµ¡ãããã¬ã¸ã±\0ãºã¤\0\0ã¬ã°\0ã¨ãããã±ãã±\0ã\0\0ã³cute;ä
quïâºÔ;Eaceinpsyáã³ãµã¿ããããã¦ã©;檴ǰãº\0ã¼;檸on;ä
¡uÃ¥á¾Ä;dá³ãil;ä
rc;ä
ÆEasããã;檶p;檺im;æ©olint;æ¨iÃá;äotÆ;beã´áµãµæ
;橦ÎAacmstxãããããã£ãrr;ærÄhrããëâ¨Ä;oਸ਼਴tè»Â§ä§i;ä»war;椩mÄinã©Ã°nuóñt;æ¶rÄ;oã¶âì\ud835\udd30Èacoyãããã rp;æ¯Ähyããcy;ä;ärtÉã\0\0ãiäá¤araì⹯è»ÂäÄgmã¨ã´maÆ;fvã±ã²ã²ä;äÐ;deglnprá«ã
ããããã¡ã¦ot;橪Ä;qá±á°Ä;Eããæª;æª Ä;Eããæª;æªe;ælus;樤arr;楲aròá½Èaeitã¸ãããÄlsã½ãlsetméãªhp;樳parsl;槤Ädlá£ãe;æ£Ä;eããæªªÄ;sã¢ã£æª¬;ìâª¬ï¸Æflpã®ã³ãtcy;äÄ;bã¸ã¹ä¯Ä;aã¾ã¿æ§r;æ¿f;ì\ud835\udd64aÄdrãÐesÄ;uããæ it»ãÆcsuã ã¹ãÄauã¥ã¯pÄ;sáã«;ìâï¸pÄ;sá´ãµ;ìâï¸uÄbpã¿ãÆ;esááãetÄ;eáãñáÆ;esá¨áãetÄ;eá¨ãÃ±á®Æ;afá
»ã¦Ö°rÅ¥ã«Ö±Â»á
¼aròá
Ècemtã¹ã¾ãã
r;ì\ud835\udcc8tmîñiìãaræá¾ÄarããrÄ;fãá¿æÄanããightÄepã£ãªpsiloîỠhé⺯s»â¡Êbcmnpã»ãáããÒ;Edemnprsãããããã£ã¬ã±ã¶æ;æ«
ot;檽Ä;dáãot;æ«ult;æ«ÄEeã¨ãª;æ«;ælus;檿arr;楹Æeiuã½ããtÆ;enãã
ãqÄ;qáãeqÄ;qã«ã¨m;æ«Äbpãã;æ«;æ«cÌ;acensáã¬ã²ã¹ã»ã¦pproøãºurlyeñá¾Ã±á³Æaesãããpproøãqñãg;æªÚ123;Edehlmnpsã©ã¬ã¯áã²ã´ãããããã¨ãè»Â¹ä¹è»Â²ä²è»Â³ä³;æ«Äosã¹ã¼t;檾ub;æ«Ä;dá¢ã
ot;æ«sÄouããl;æb;æ«arr;楻ult;æ«ÄEeã¤ã¦;æ«;ælus;æ«Æeiuã´ããtÆ;enáã¼ãqÄ;qá¢ã²eqÄ;qã§ã¤m;æ«Äbpãã;æ«;æ«ÆAanãã ãrr;ærÄhrã¦ã¨Ã«â®Ä;oਫ਩war;椪ligè»Ãä௡ããã áã³ã¹\0ã¾ã\0\0\0\0\0ãã\0ãã¬\0\0\0ãɲã\0\0ãget;æ;ärÃ«à¹Æaeyã¦ã«ã°ron;ä
¥dil;ä
£;älrec;ær;ì\ud835\udd31Èeikoãããµã¼Ç²ã\0ãeÄ4fááaÆ;svãããä¸ym;äÄcnã¢ã²kÄasã¨ã®pproøáim»á¬sðáÄasãºã®Ã°árnè»Ã¾ä¾Ç¬Ìãâ§esèÃ;bdãããäÄ;
1aá¤ãr;樱;樰Æepsã¡ã£ãáâ©È;bcfÒã¬ã°ã´ot;æ¶ir;櫱Ä;oã¹ã¼ì\ud835\udd65rk;æ«Ã¡ã¢rime;æ´Æaipããã¤dÃ¥áÎadempstã¡ããããããngleÊ;dlqrã°ã±ã¶ããæµown»ᶻeftÄ;eâ ã¾Ã±à¤®;æightÄ;eãªãñáot;æ¬inus;樺lus;樹b;æ§ime;樻ezium;æ¢Æchtã²ã½ãÄryã·ã»;ì\ud835\udcc9;äcy;ärok;ä
§Äioããxôá·headÄlrãã eftarro÷à¡ightarrow»à½à¤AHabcdfghlmoprstuwãããã¤ã°ã¼ã ã 㠣㠴ã¡ã¡ã¡«ã¢©ã£ã£ã£ªã£¶ròÏar;楣Äcrãã¢uteè»ÃºäºÃ²á
rÇ£ãª\0ãy;äve;ä
Äiyãµãºrcè»Ã»ä»;äÆabhã ã ã ròálac;ä
±aòáÄirã ã sht;楾;ì\ud835\udd32raveè»Ã¹ä¹Å¡ã §ã ±rÄlr㠬㠮»à¥Â»álk;æÄctã ¹ã¡É¯ã ¿\0\0ã¡rnÄ;eã¡
ã¡ær»ã¡op;æri;æ¸Äalã¡ã¡cr;ä
«è»Â¨ÍÄgp㡢㡦on;ä
³f;ì\ud835\udd66Ìadhlsuá
㡸㡽á²ã¢ã¢ ownáá³arpoonÄlrã¢ã¢efôã ighô㠯iÆ;hlã¢ã¢ã¢ä
»áºon»ã¢parrows;æÆcit㢰ã£ã£É¯ã¢¶\0\0ã£rnÄ;e㢼㢽ær»㢽op;æng;ä
¯ri;æ¹cr;ì\ud835\udccaÆdirã£ã£ã£¢ot;æ°lde;ä
©iÄ;fã°ã£¨Â»á Äam㣯㣲rò㢨lè»Ã¼ä¼angle;榧ÞABDacdeflnoprszã¤ã¤ã¤©ã¤ã¦µã¦¸ã¦½ã§ã§¤ã§¨ã§³ã§¹ã§½ã¨ã¨ ròϷarÄ;v㤦㤧櫨;æ«©asèϡÄnr㤲㤷grt;æ¦Îeknprstã£ã¥ã¥ã¥ã¥ã¥¤ã¦appáâothinÃ§áºÆhirã«â»ã¥opô⾵Ä;há·ã¥¢Ã¯ãÄiu㥩ã¥gmáã³Äbp㥲ã¦setneqÄ;q㥽ã¦ìâï¸;ìâ«ï¸setneqÄ;qã¦ã¦ìâï¸;ìâ«ï¸Ährã¦ã¦etáãiangleÄlr㦪㦯eft»थight»áy;ä²ashÂ»á¶Æelrã§ã§ã§Æ;beâ·ªã§ã§ar;æ»q;ælip;æ®Äbtã§á¨aòá©r;ì\ud835\udd33tré㦮suÄbp㧯㧱»à´Â»àµpf;ì\ud835\udd67roð໻tré㦴Äcuã¨ã¨r;ì\ud835\udccbÄbpã¨ã¨nÄEeã¦ã¨Â»ã¥¾nÄEeã¦ã¨Â»ã¦igzag;æ¦Îcefoprs㨶㨻ã©ã©ã©ã©¡ã©ªirc;ä
µÄdiã©ã©Äbgã©
ã©ar;æ©eÄ;qáºã©;æerp;ær;ì\ud835\udd34pf;ì\ud835\udd68Ä;eá¹ã©¦atèá¹cr;ì\ud835\udcccà«£áãª\0ãª\0ãªãª\0\0ãªãª¨ãª«ãª¯\0\0ã«ã«\0ã«áátréár;ì\ud835\udd35ÄAaãªãªròÏrò৶;ä¾ÄAa㪡㪤ròθrò৫aðâis;æ»Ædptá¤ãªµãª¾Äfl㪺á©;ì\ud835\udd69imÃ¥á²ÄAaã«ã«ròÏròà¨Äcqã«á¸r;ì\ud835\udccdÄptáã«réáÐacefiosu㫰㫽ã¬ã¬ã¬ã¬ã¬ã¬¡cÄuyã«¶ã«»teè»Ã½ä½;äÄiyã¬ã¬rc;ä
·;änè»Â¥ä¥r;ì\ud835\udd36cy;äpf;ì\ud835\udd6acr;ì\ud835\udcceÄcm㬦㬩y;älè»Ã¿ä¿Ôacdefhioswããããã¤ã©ãã´ãºã®cute;ä
ºÄayããron;ä
¾;ä·ot;ä
¼Äetãã¡træáa;ä¶r;ì\ud835\udd37cy;ä¶grarr;æpf;ì\ud835\udd6bcr;ì\ud835\udccfÄjnã®
ã®;æj;æ'.split("").map(e=>e.charCodeAt(0))),$=new Uint16Array("Èaglq \x15\x18\x1bÉ\x0f\0\0\x12p;ä¦os;ä§t;ä¾t;ä¼uot;ä¢".split("").map(e=>e.charCodeAt(0))),R=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),q=null!=(a=String.fromCodePoint)?a:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)};function H(e){return e>=l.ZERO&&e<=l.NINE}(t=l||(l={}))[t.NUM=35]="NUM",t[t.SEMI=59]="SEMI",t[t.EQUALS=61]="EQUALS",t[t.ZERO=48]="ZERO",t[t.NINE=57]="NINE",t[t.LOWER_A=97]="LOWER_A",t[t.LOWER_F=102]="LOWER_F",t[t.LOWER_X=120]="LOWER_X",t[t.LOWER_Z=122]="LOWER_Z",t[t.UPPER_A=65]="UPPER_A",t[t.UPPER_F=70]="UPPER_F",t[t.UPPER_Z=90]="UPPER_Z",(r=c||(c={}))[r.VALUE_LENGTH=49152]="VALUE_LENGTH",r[r.BRANCH_LENGTH=16256]="BRANCH_LENGTH",r[r.JUMP_TABLE=127]="JUMP_TABLE",(n=u||(u={}))[n.EntityStart=0]="EntityStart",n[n.NumericStart=1]="NumericStart",n[n.NumericDecimal=2]="NumericDecimal",n[n.NumericHex=3]="NumericHex",n[n.NamedEntity=4]="NamedEntity",(i=p||(p={}))[i.Legacy=0]="Legacy",i[i.Strict=1]="Strict",i[i.Attribute=2]="Attribute";class V{constructor(e,t,r){this.decodeTree=e,this.emitCodePoint=t,this.errors=r,this.state=u.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=p.Strict}startEntity(e){this.decodeMode=e,this.state=u.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case u.EntityStart:if(e.charCodeAt(t)===l.NUM)return this.state=u.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1);return this.state=u.NamedEntity,this.stateNamedEntity(e,t);case u.NumericStart:return this.stateNumericStart(e,t);case u.NumericDecimal:return this.stateNumericDecimal(e,t);case u.NumericHex:return this.stateNumericHex(e,t);case u.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===l.LOWER_X?(this.state=u.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=u.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,r,n){if(t!==r){let i=r-t;
1this.result=this.result*Math.pow(n,i)+parseInt(e.substr(t,i),n),this.consumed+=i}}stateNumericHex(e,t){let r=t;for(;t<e.length;){var n;let i=e.charCodeAt(t);if(!H(i)&&(!((n=i)>=l.UPPER_A)||!(n<=l.UPPER_F))&&(!(n>=l.LOWER_A)||!(n<=l.LOWER_F)))return this.addToNumericResult(e,r,t,16),this.emitNumericEntity(i,3);t+=1}return this.addToNumericResult(e,r,t,16),-1}stateNumericDecimal(e,t){let r=t;for(;t<e.length;){let n=e.charCodeAt(t);if(!H(n))return this.addToNumericResult(e,r,t,10),this.emitNumericEntity(n,2);t+=1}return this.addToNumericResult(e,r,t,10),-1}emitNumericEntity(e,t){var r,n,i;if(this.consumed<=t)return null==(r=this.errors)||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===l.SEMI)this.consumed+=1;else if(this.decodeMode===p.Strict)return 0;return this.emitCodePoint((n=this.result)>=55296&&n<=57343||n>1114111?65533:null!=(i=R.get(n))?i:n,this.consumed),this.errors&&(e!==l.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:r}=this,n=r[this.treeIndex],i=(n&c.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){let o=e.charCodeAt(t);if(this.treeIndex=function(e,t,r,n){let i=(t&c.BRANCH_LENGTH)>>7,o=t&c.JUMP_TABLE;if(0===i)return 0!==o&&n===o?r:-1;if(o){let t=n-o;return t<0||t>=i?-1:e[r+t]-1}let s=r,a=s+i-1;for(;s<=a;){let t=s+a>>>1,r=e[t];if(r<n)s=t+1;else{if(!(r>n))return e[t+i];a=t-1}}return -1}(r,n,this.treeIndex+Math.max(1,i),o),this.treeIndex<0)return 0===this.result||this.decodeMode===p.Attribute&&(0===i||function(e){var t;return e===l.EQUALS||(t=e)>=l.UPPER_A&&t<=l.UPPER_Z||t>=l.LOWER_A&&t<=l.LOWER_Z||H(t)}(o))?0:this.emitNotTerminatedNamedEntity();if(0!=(i=((n=r[this.treeIndex])&c.VALUE_LENGTH)>>14)){if(o===l.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==p.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return -1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:r}=this,n=(r[t]&c.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,n,this.consumed),null==(e=this.errors)||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,r){let{decodeTree:n}=this;return this.emitCodePoint(1===t?n[e]&~c.VALUE_LENGTH:n[e+1],r),3===t&&this.emitCodePoint(n[e+2],r),r}end(){var e;switch(this.state){case u.NamedEntity:return 0!==this.result&&(this.decodeMode!==p.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case u.NumericDecimal:return this.emitNumericEntity(0,2);case u.NumericHex:return this.emitNumericEntity(0,3);case u.NumericStart:return null==(e=this.errors)||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case u.EntityStart:return 0}}}function U(e){let t="",r=new V(e,e=>t+=q(e));return function(e,n){let i=0,o=0;for(;(o=e.indexOf("&",o))>=0;){t+=e.slice(i,o),r.startEntity(n);let s=r.write(e,o+1);if(s<0){i=o+r.end();break}i=o+s,o=0===s?i+1:i}let s=t+e.slice(i);return t="",s}}let Z=U(I);function W(e,t=p.Legacy){return Z(e,t)}U($);let G=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]);function K(e,t){return function(r){let n,i=0,o="";for(;n=e.exec(r);)i!==n.index&&(o+=r.substring(i,n.index)),o+=t.get(n[0].charCodeAt(0)),i=n.index+1;return o+r.substring(i)}}function X(e){return"[object String]"===Object.prototype.toString.call(e)}null!=String.prototype.codePointAt||((e,t)=>(64512&e.charCodeAt(t))==55296?(e.charCodeAt(t)-55296)*1024+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t)),K(/[&<>'"]/g,G),K(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),K(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),(o=d||(d={}))[o.XML=0]="XML",o[o.HTML=1]="HTML",(s=h||(h={}))[s.UTF8=0]="UTF8",s[s.ASCII=1]="ASCII",s[s.Extensive=2]="Extensive",s[s.Attribute=3]="Attribute",s[s.Text=4]="Text";let J=Object.prototype.hasOwnProperty;function Q(e,t){return J.call(e,t)}function Y(e){let t=Array.prototype.slice.call(arguments,1);return t.forEach(function(t){if(t){if("object"!=typeof t)throw TypeError(t+"must be object");Object.keys(t).forEach(function(r){e[r]=t[r]})}}),e}function ee(e,t,r){return[].concat(e.slice(0,t),r,e.slice(t+1))}function et(e){return(!(e>=55296)||!(e<=57343))&&(!(e>=64976)||!(e<=65007))&&(65535&e)!=65535&&(65535&e)!=65534&&(!(e>=0)||!(e<=8))&&11!==e&&(!(e>=14)||!(e<=31))&&(!(e>=127)||!(e<=159))&&!(e>1114111)&&!0}function er(e){return e>65535?String.fromCharCode(55296+((e-=65536)>>10),56320+(1023&e)):String.fromCharCode(e)}let en=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,ei=RegExp(en.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),eo=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function es(e){return 0>e.indexOf("\\")?e:e.replace(en,"$1")}function ea(e){return 0>e.indexOf("\\")&&0>e.indexOf("&")?e:e.replace(ei,function(e,t,r){if(t)return t;if(35===r.charCodeAt(0)&&eo.test(r)){let t="x"===r[1].toLowerCase()?parseInt(r.slice(2),16):parseInt(r.slice(1),10);return et(t)?er(t):e}let n=W(e);return n!==e?n:e})}let el=/[&<>"]/,ec=/[&<>"]/g,eu={"&":"&","<":"<",">":">",'"':"""};function ep(e){return eu[e]}function ed(e){return el.test(e)?e.replace(ec,ep):e}let eh=/[.?*+^$[\]\\(){}|-]/g;function ef(e){return e.replace(eh,"\\$&")}function em(e){switch(e){case 9:case 32:return!0}return!1}function eg(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function ey(e){return z.test(e)||N.test(e)}function eb(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case
161:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function ev(e){return(e=e.trim().replace(/\s+/g," ")).toLowerCase().toUpperCase()}let ex={mdurl:T,ucmicro:B};e.s(["arrayReplaceAt",()=>ee,"assign",()=>Y,"escapeHtml",()=>ed,"escapeRE",()=>ef,"fromCodePoint",()=>er,"has",()=>Q,"isMdAsciiPunct",()=>eb,"isPunctChar",()=>ey,"isSpace",()=>em,"isString",()=>X,"isValidEntityCode",()=>et,"isWhiteSpace",()=>eg,"lib",()=>ex,"normalizeReference",()=>ev,"unescapeAll",()=>ea,"unescapeMd",()=>es],503809);var ek=e.i(503809);function e_(e,t,r){let n,i,o,s,a=e.posMax,l=e.pos;for(e.pos=t+1,n=1;e.pos<a;){if(93===(o=e.src.charCodeAt(e.pos))&&0==--n){i=!0;break}if(s=e.pos,e.md.inline.skipToken(e),91===o){if(s===e.pos-1)n++;else if(r)return e.pos=l,-1}}let c=-1;return i&&(c=e.pos),e.pos=l,c}function ew(e,t,r){let n,i=t,o={ok:!1,pos:0,str:""};if(60===e.charCodeAt(i)){for(i++;i<r&&10!==(n=e.charCodeAt(i))&&60!==n;){if(62===n){o.pos=i+1,o.str=ea(e.slice(t+1,i)),o.ok=!0;break}if(92===n&&i+1<r){i+=2;continue}i++}return o}let s=0;for(;i<r&&32!==(n=e.charCodeAt(i))&&!(n<32)&&127!==n;){if(92===n&&i+1<r){if(32===e.charCodeAt(i+1))break;i+=2;continue}if(40===n&&++s>32)return o;if(41===n){if(0===s)break;s--}i++}return t===i||0!==s||(o.str=ea(e.slice(t,i)),o.pos=i,o.ok=!0),o}function eC(e,t,r,n){let i,o=t,s={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(n)s.str=n.str,s.marker=n.marker;else{if(o>=r)return s;let n=e.charCodeAt(o);if(34!==n&&39!==n&&40!==n)return s;t++,o++,40===n&&(n=41),s.marker=n}for(;o<r;){if((i=e.charCodeAt(o))===s.marker)return s.pos=o+1,s.str+=ea(e.slice(t,o)),s.ok=!0,s;if(40===i&&41===s.marker)return s;92===i&&o+1<r&&o++,o++}return s.can_continue=!0,s.str+=ea(e.slice(t,o)),s}e.s([],313224),e.i(313224),e.s(["parseLinkDestination",()=>ew,"parseLinkLabel",()=>e_,"parseLinkTitle",()=>eC],876139);var eE=e.i(876139);let eD={};function eS(){this.rules=Y({},eD)}function eA(){this.__rules__=[],this.__cache__=null}function eF(e,t,r){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=r,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}function eL(e,t,r){this.src=e,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=t}eD.code_inline=function(e,t,r,n,i){let o=e[t];return"<code"+i.renderAttrs(o)+">"+ed(o.content)+"</code>"},eD.code_block=function(e,t,r,n,i){let o=e[t];return"<pre"+i.renderAttrs(o)+"><code>"+ed(e[t].content)+"</code></pre>\n"},eD.fence=function(e,t,r,n,i){let o,s=e[t],a=s.info?ea(s.info).trim():"",l="",c="";if(a){let e=a.split(/(\s+)/g);l=e[0],c=e.slice(2).join("")}if(0===(o=r.highlight&&r.highlight(s.content,l,c)||ed(s.content)).indexOf("<pre"))return o+"\n";if(a){let e=s.attrIndex("class"),t=s.attrs?s.attrs.slice():[];return e<0?t.push(["class",r.langPrefix+l]):(t[e]=t[e].slice(),t[e][1]+=" "+r.langPrefix+l),`<pre><code${i.renderAttrs({attrs:t})}>${o}</code></pre> 2`}return`<pre><code${i.renderAttrs(s)}>${o}</code></pre> 3`},eD.image=function(e,t,r,n,i){let o=e[t];return o.attrs[o.attrIndex("alt")][1]=i.renderInlineAsText(o.children,r,n),i.renderToken(e,t,r)},eD.hardbreak=function(e,t,r){return r.xhtmlOut?"<br />\n":"<br>\n"},eD.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?"<br />\n":"<br>\n":"\n"},eD.text=function(e,t){return ed(e[t].content)},eD.html_block=function(e,t){return e[t].content},eD.html_inline=function(e,t){return e[t].content},eS.prototype.renderAttrs=function(e){let t,r,n;if(!e.attrs)return"";for(t=0,n="",r=e.attrs.length;t<r;t++)n+=" "+ed(e.attrs[t][0])+'="'+ed(e.attrs[t][1])+'"';return n},eS.prototype.renderToken=function(e,t,r){let n=e[t],i="";if(n.hidden)return"";n.block&&-1!==n.nesting&&t&&e[t-1].hidden&&(i+="\n"),i+=(-1===n.nesting?"</":"<")+n.tag,i+=this.renderAttrs(n),0===n.nesting&&r.xhtmlOut&&(i+=" /");let o=!1;if(n.block&&(o=!0,1===n.nesting&&t+1<e.length)){let r=e[t+1];"inline"===r.type||r.hidden?o=!1:-1===r.nesting&&r.tag===n.tag&&(o=!1)}return i+(o?">\n":">")},eS.prototype.renderInline=function(e,t,r){let n="",i=this.rules;for(let o=0,s=e.length;o<s;o++){let s=e[o].type;void 0!==i[s]?n+=i[s](e,o,t,r,this):n+=this.renderToken(e,o,t)}return n},eS.prototype.renderInlineAsText=function(e,t,r){let n="";for(let i=0,o=e.length;i<o;i++)switch(e[i].type){case"text":case"html_inline":case"html_block":n+=e[i].content;break;case"image":n+=this.renderInlineAsText(e[i].children,t,r);break;case"softbreak":case"hardbreak":n+="\n"}return n},eS.prototype.render=function(e,t,r){let n="",i=this.rules;for(let o=0,s=e.length;o<s;o++){let s=e[o].type;"inline"===s?n+=this.renderInline(e[o].children,t,r):void 0!==i[s]?n+=i[s](e,o,t,r,this):n+=this.renderToken(e,o,t,r)}return n},eA.prototype.__find__=function(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return -1},eA.prototype.__compile__=function(){let e=this,t=[""];e.__rules__.forEach(function(e){e.enabled&&e.alt.forEach(function(e){0>t.indexOf(e)&&t.push(e)})}),e.__cache__={},t.forEach(function(t){e.__cache__[t]=[],e.__rules__.forEach(function(r){!r.enabled||t&&0>r.alt.indexOf(t)||e.__cache__[t].push(r.fn)})})},eA.prototype.at=function(e,t,r){let n=this.__find__(e);
3if(-1===n)throw Error("Parser rule not found: "+e);this.__rules__[n].fn=t,this.__rules__[n].alt=(r||{}).alt||[],this.__cache__=null},eA.prototype.before=function(e,t,r,n){let i=this.__find__(e);if(-1===i)throw Error("Parser rule not found: "+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:r,alt:(n||{}).alt||[]}),this.__cache__=null},eA.prototype.after=function(e,t,r,n){let i=this.__find__(e);if(-1===i)throw Error("Parser rule not found: "+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:r,alt:(n||{}).alt||[]}),this.__cache__=null},eA.prototype.push=function(e,t,r){this.__rules__.push({name:e,enabled:!0,fn:t,alt:(r||{}).alt||[]}),this.__cache__=null},eA.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);let r=[];return e.forEach(function(e){let n=this.__find__(e);if(n<0){if(t)return;throw Error("Rules manager: invalid rule name "+e)}this.__rules__[n].enabled=!0,r.push(e)},this),this.__cache__=null,r},eA.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(e){e.enabled=!1}),this.enable(e,t)},eA.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);let r=[];return e.forEach(function(e){let n=this.__find__(e);if(n<0){if(t)return;throw Error("Rules manager: invalid rule name "+e)}this.__rules__[n].enabled=!1,r.push(e)},this),this.__cache__=null,r},eA.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},eF.prototype.attrIndex=function(e){if(!this.attrs)return -1;let t=this.attrs;for(let r=0,n=t.length;r<n;r++)if(t[r][0]===e)return r;return -1},eF.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},eF.prototype.attrSet=function(e,t){let r=this.attrIndex(e),n=[e,t];r<0?this.attrPush(n):this.attrs[r]=n},eF.prototype.attrGet=function(e){let t=this.attrIndex(e),r=null;return t>=0&&(r=this.attrs[t][1]),r},eF.prototype.attrJoin=function(e,t){let r=this.attrIndex(e);r<0?this.attrPush([e,t]):this.attrs[r][1]=this.attrs[r][1]+" "+t},eL.prototype.Token=eF;let ej=/\r\n?|\n/g,eT=/\0/g,eP=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,eO=/\((c|tm|r)\)/i,ez=/\((c|tm|r)\)/ig,eN={c:"©",r:"®",tm:"â¢"};function eM(e,t){return eN[t.toLowerCase()]}let eB=/['"]/,eI=/['"]/g;function e$(e,t,r){return e.slice(0,t)+r+e.slice(t+1)}let eR=[["normalize",function(e){let t;t=(t=e.src.replace(ej,"\n")).replace(eT,"�"),e.src=t}],["block",function(e){let t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}],["inline",function(e){let t=e.tokens;for(let r=0,n=t.length;r<n;r++){let n=t[r];"inline"===n.type&&e.md.inline.parse(n.content,e.md,e.env,n.children)}}],["linkify",function(e){let t=e.tokens;if(e.md.options.linkify)for(let i=0,o=t.length;i<o;i++){if("inline"!==t[i].type||!e.md.linkify.pretest(t[i].content))continue;let o=t[i].children,s=0;for(let a=o.length-1;a>=0;a--){let l=o[a];if("link_close"===l.type){for(a--;o[a].level!==l.level&&"link_open"!==o[a].type;)a--;continue}if("html_inline"===l.type){var r,n;r=l.content,/^<a[>\s]/i.test(r)&&s>0&&s--,n=l.content,/^<\/a\s*>/i.test(n)&&s++}if(!(s>0)&&"text"===l.type&&e.md.linkify.test(l.content)){let r=l.content,n=e.md.linkify.match(r),s=[],c=l.level,u=0;n.length>0&&0===n[0].index&&a>0&&"text_special"===o[a-1].type&&(n=n.slice(1));for(let t=0;t<n.length;t++){let i=n[t].url,o=e.md.normalizeLink(i);if(!e.md.validateLink(o))continue;let a=n[t].text;a=n[t].schema?"mailto:"!==n[t].schema||/^mailto:/i.test(a)?e.md.normalizeLinkText(a):e.md.normalizeLinkText("mailto:"+a).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+a).replace(/^http:\/\//,"");let l=n[t].index;if(l>u){let t=new e.Token("text","",0);t.content=r.slice(u,l),t.level=c,s.push(t)}let p=new e.Token("link_open","a",1);p.attrs=[["href",o]],p.level=c++,p.markup="linkify",p.info="auto",s.push(p);let d=new e.Token("text","",0);d.content=a,d.level=c,s.push(d);let h=new e.Token("link_close","a",-1);h.level=--c,h.markup="linkify",h.info="auto",s.push(h),u=n[t].lastIndex}if(u<r.length){let t=new e.Token("text","",0);t.content=r.slice(u),t.level=c,s.push(t)}t[i].children=o=ee(o,a,s)}}}}],["replacements",function(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(eO.test(e.tokens[t].content)&&function(e){let t=0;for(let r=e.length-1;r>=0;r--){let n=e[r];"text"!==n.type||t||(n.content=n.content.replace(ez,eM)),"link_open"===n.type&&"auto"===n.info&&t--,"link_close"===n.type&&"auto"===n.info&&t++}}(e.tokens[t].children),eP.test(e.tokens[t].content)&&function(e){let t=0;for(let r=e.length-1;r>=0;r--){let n=e[r];"text"===n.type&&!t&&eP.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"â¦").replace(/([?!])â¦/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1â").replace(/(^|\s)--(?=\s|$)/mg,"$1â").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1â")),"link_open"===n.type&&"auto"===n.info&&t--,"link_close"===n.type&&"auto"===n.info&&t++}}(e.tokens[t].children))}],["smartquotes",function(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&eB.test(e.tokens[t].content)&&function(e,t){let r,n=[];for(let i=0;i<e.length;i++){let o=e[i],s=e[i].level;for(r=n.length-1;r>=0&&!(n[r].level<=s);r--);if(n.length=r+1,"text"!==o.type)continue;let a=o.content,l=0,c=a.length;e:for(;l<c;){eI.lastIndex=l;let u=eI.exec(a);if(!u)break;let p=!0,d=!0;l=u.index+1;let h="'"===u[0],f=32;if(u.index-1>
3=0)f=a.charCodeAt(u.index-1);else for(r=i-1;r>=0&&"softbreak"!==e[r].type&&"hardbreak"!==e[r].type;r--)if(e[r].content){f=e[r].content.charCodeAt(e[r].content.length-1);break}let m=32;if(l<c)m=a.charCodeAt(l);else for(r=i+1;r<e.length&&"softbreak"!==e[r].type&&"hardbreak"!==e[r].type;r++)if(e[r].content){m=e[r].content.charCodeAt(0);break}let g=eb(f)||ey(String.fromCharCode(f)),y=eb(m)||ey(String.fromCharCode(m)),b=eg(f),v=eg(m);if(v?p=!1:y&&!(b||g)&&(p=!1),b?d=!1:g&&!(v||y)&&(d=!1),34===m&&'"'===u[0]&&f>=48&&f<=57&&(d=p=!1),p&&d&&(p=g,d=y),!p&&!d){h&&(o.content=e$(o.content,u.index,"â"));continue}if(d)for(r=n.length-1;r>=0;r--){let p=n[r];if(n[r].level<s)break;if(p.single===h&&n[r].level===s){let s,d;p=n[r],h?(s=t.md.options.quotes[2],d=t.md.options.quotes[3]):(s=t.md.options.quotes[0],d=t.md.options.quotes[1]),o.content=e$(o.content,u.index,d),e[p.token].content=e$(e[p.token].content,p.pos,s),l+=d.length-1,p.token===i&&(l+=s.length-1),c=(a=o.content).length,n.length=r;continue e}}p?n.push({token:i,pos:u.index,single:h,level:s}):d&&h&&(o.content=e$(o.content,u.index,"â"))}}}(e.tokens[t].children,e)}],["text_join",function(e){let t,r,n=e.tokens,i=n.length;for(let e=0;e<i;e++){if("inline"!==n[e].type)continue;let i=n[e].children,o=i.length;for(t=0;t<o;t++)"text_special"===i[t].type&&(i[t].type="text");for(t=r=0;t<o;t++)"text"===i[t].type&&t+1<o&&"text"===i[t+1].type?i[t+1].content=i[t].content+i[t+1].content:(t!==r&&(i[r]=i[t]),r++);t!==r&&(i.length=r)}}]];function eq(){this.ruler=new eA;for(let e=0;e<eR.length;e++)this.ruler.push(eR[e][0],eR[e][1])}function eH(e,t,r,n){this.src=e,this.md=t,this.env=r,this.tokens=n,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0;let i=this.src;for(let e=0,t=0,r=0,n=0,o=i.length,s=!1;t<o;t++){let a=i.charCodeAt(t);if(!s)if(em(a)){r++,9===a?n+=4-n%4:n++;continue}else s=!0;(10===a||t===o-1)&&(10!==a&&t++,this.bMarks.push(e),this.eMarks.push(t),this.tShift.push(r),this.sCount.push(n),this.bsCount.push(0),s=!1,r=0,n=0,e=t+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}function eV(e,t){let r=e.bMarks[t]+e.tShift[t],n=e.eMarks[t];return e.src.slice(r,n)}function eU(e){let t=[],r=e.length,n=0,i=e.charCodeAt(n),o=!1,s=0,a="";for(;n<r;)124===i&&(o?(a+=e.substring(s,n-1),s=n):(t.push(a+e.substring(s,n)),a="",s=n+1)),o=92===i,n++,i=e.charCodeAt(n);return t.push(a+e.substring(s)),t}function eZ(e,t){let r=e.eMarks[t],n=e.bMarks[t]+e.tShift[t],i=e.src.charCodeAt(n++);return 42!==i&&45!==i&&43!==i||n<r&&!em(e.src.charCodeAt(n))?-1:n}function eW(e,t){let r=e.bMarks[t]+e.tShift[t],n=e.eMarks[t],i=r;if(i+1>=n)return -1;let o=e.src.charCodeAt(i++);if(o<48||o>57)return -1;for(;;){if(i>=n)return -1;if((o=e.src.charCodeAt(i++))>=48&&o<=57){if(i-r>=10)return -1;continue}if(41===o||46===o)break;return -1}return i<n&&!em(o=e.src.charCodeAt(i))?-1:i}eq.prototype.process=function(e){let t=this.ruler.getRules("");for(let r=0,n=t.length;r<n;r++)t[r](e)},eq.prototype.State=eL,eH.prototype.push=function(e,t,r){let n=new eF(e,t,r);return n.block=!0,r<0&&this.level--,n.level=this.level,r>0&&this.level++,this.tokens.push(n),n},eH.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},eH.prototype.skipEmptyLines=function(e){for(let t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},eH.prototype.skipSpaces=function(e){for(let t=this.src.length;e<t&&em(this.src.charCodeAt(e));e++);return e},eH.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!em(this.src.charCodeAt(--e)))return e+1;return e},eH.prototype.skipChars=function(e,t){for(let r=this.src.length;e<r&&this.src.charCodeAt(e)===t;e++);return e},eH.prototype.skipCharsBack=function(e,t,r){if(e<=r)return e;for(;e>r;)if(t!==this.src.charCodeAt(--e))return e+1;return e},eH.prototype.getLines=function(e,t,r,n){if(e>=t)return"";let i=Array(t-e);for(let o=0,s=e;s<t;s++,o++){let e,a=0,l=this.bMarks[s],c=l;for(e=s+1<t||n?this.eMarks[s]+1:this.eMarks[s];c<e&&a<r;
3){let e=this.src.charCodeAt(c);if(em(e))9===e?a+=4-(a+this.bsCount[s])%4:a++;else if(c-l<this.tShift[s])a++;else break;c++}a>r?i[o]=Array(a-r+1).join(" ")+this.src.slice(c,e):i[o]=this.src.slice(c,e)}return i.join("")},eH.prototype.Token=eF;let eG="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",eK="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",eX=RegExp("^(?:"+eG+"|"+eK+"|<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),eJ=RegExp("^(?:"+eG+"|"+eK+")"),eQ=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[RegExp("^</?(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)(?=(\\s|/?>|$))","i"),/^$/,!0],[RegExp(eJ.source+"\\s*$"),/^$/,!1]],eY=[["table",function(e,t,r,n){let i;if(t+2>r)return!1;let o=t+1;if(e.sCount[o]<e.blkIndent||e.sCount[o]-e.blkIndent>=4)return!1;let s=e.bMarks[o]+e.tShift[o];if(s>=e.eMarks[o])return!1;let a=e.src.charCodeAt(s++);if(124!==a&&45!==a&&58!==a||s>=e.eMarks[o])return!1;let l=e.src.charCodeAt(s++);if(124!==l&&45!==l&&58!==l&&!em(l)||45===a&&em(l))return!1;for(;s<e.eMarks[o];){let t=e.src.charCodeAt(s);if(124!==t&&45!==t&&58!==t&&!em(t))return!1;s++}let c=eV(e,t+1),u=c.split("|"),p=[];for(let e=0;e<u.length;e++){let t=u[e].trim();if(!t)if(0===e||e===u.length-1)continue;else return!1;if(!/^:?-+:?$/.test(t))return!1;58===t.charCodeAt(t.length-1)?p.push(58===t.charCodeAt(0)?"center":"right"):58===t.charCodeAt(0)?p.push("left"):p.push("")}if(-1===(c=eV(e,t).trim()).indexOf("|")||e.sCount[t]-e.blkIndent>=4)return!1;(u=eU(c)).length&&""===u[0]&&u.shift(),u.length&&""===u[u.length-1]&&u.pop();let d=u.length;if(0===d||d!==p.length)return!1;if(n)return!0;let h=e.parentType;e.parentType="table";let f=e.md.block.ruler.getRules("blockquote"),m=e.push("table_open","table",1),g=[t,0];m.map=g,e.push("thead_open","thead",1).map=[t,t+1],e.push("tr_open","tr",1).map=[t,t+1];for(let t=0;t<u.length;t++){let r=e.push("th_open","th",1);p[t]&&(r.attrs=[["style","text-align:"+p[t]]]);let n=e.push("inline","",0);n.content=u[t].trim(),n.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let y=0;for(o=t+2;o<r&&!(e.sCount[o]<e.blkIndent);o++){let n=!1;for(let t=0,i=f.length;t<i;t++)if(f[t](e,o,r,!0)){n=!0;break}if(n||!(c=eV(e,o).trim())||e.sCount[o]-e.blkIndent>=4||((u=eU(c)).length&&""===u[0]&&u.shift(),u.length&&""===u[u.length-1]&&u.pop(),(y+=d-u.length)>65536))break;o===t+2&&(e.push("tbody_open","tbody",1).map=i=[t+2,0]),e.push("tr_open","tr",1).map=[o,o+1];for(let t=0;t<d;t++){let r=e.push("td_open","td",1);p[t]&&(r.attrs=[["style","text-align:"+p[t]]]);let n=e.push("inline","",0);n.content=u[t]?u[t].trim():"",n.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return i&&(e.push("tbody_close","tbody",-1),i[1]=o),e.push("table_close","table",-1),g[1]=o,e.parentType=h,e.line=o,!0},["paragraph","reference"]],["code",function(e,t,r){if(e.sCount[t]-e.blkIndent<4)return!1;let n=t+1,i=n;for(;n<r;){if(e.isEmpty(n)){n++;continue}if(e.sCount[n]-e.blkIndent>=4){i=++n;continue}break}e.line=i;let o=e.push("code_block","code",0);return o.content=e.getLines(t,i,4+e.blkIndent,!1)+"\n",o.map=[t,e.line],!0}],["fence",function(e,t,r,n){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||i+3>o)return!1;let s=e.src.charCodeAt(i);if(126!==s&&96!==s)return!1;let a=i,l=(i=e.skipChars(i,s))-a;if(l<3)return!1;let c=e.src.slice(a,i),u=e.src.slice(i,o);if(96===s&&u.indexOf(String.fromCharCode(s))>=0)return!1;if(n)return!0;let p=t,d=!1;for(;!(++p>=r)&&(!((i=a=e.bMarks[p]+e.tShift[p])<(o=e.eMarks[p]))||!(e.sCount[p]<e.blkIndent));){;
3if(!(e.src.charCodeAt(i)!==s||e.sCount[p]-e.blkIndent>=4||(i=e.skipChars(i,s))-a<l)&&!((i=e.skipSpaces(i))<o)){d=!0;break}}l=e.sCount[t],e.line=p+ +!!d;let h=e.push("fence","code",0);return h.info=u,h.content=e.getLines(t+1,p,l,!0),h.markup=c,h.map=[t,e.line],!0},["paragraph","reference","blockquote","list"]],["blockquote",function(e,t,r,n){let i,o=e.bMarks[t]+e.tShift[t],s=e.eMarks[t],a=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||62!==e.src.charCodeAt(o))return!1;if(n)return!0;let l=[],c=[],u=[],p=[],d=e.md.block.ruler.getRules("blockquote"),h=e.parentType;e.parentType="blockquote";let f=!1;for(i=t;i<r;i++){let t=e.sCount[i]<e.blkIndent;if((o=e.bMarks[i]+e.tShift[i])>=(s=e.eMarks[i]))break;if(62===e.src.charCodeAt(o++)&&!t){let t,r,n=e.sCount[i]+1;32===e.src.charCodeAt(o)?(o++,n++,r=!1,t=!0):9===e.src.charCodeAt(o)?(t=!0,(e.bsCount[i]+n)%4==3?(o++,n++,r=!1):r=!0):t=!1;let a=n;for(l.push(e.bMarks[i]),e.bMarks[i]=o;o<s;){let t=e.src.charCodeAt(o);if(em(t))9===t?a+=4-(a+e.bsCount[i]+ +!!r)%4:a++;else break;o++}f=o>=s,c.push(e.bsCount[i]),e.bsCount[i]=e.sCount[i]+1+ +!!t,u.push(e.sCount[i]),e.sCount[i]=a-n,p.push(e.tShift[i]),e.tShift[i]=o-e.bMarks[i];continue}if(f)break;let n=!1;for(let t=0,o=d.length;t<o;t++)if(d[t](e,i,r,!0)){n=!0;break}if(n){e.lineMax=i,0!==e.blkIndent&&(l.push(e.bMarks[i]),c.push(e.bsCount[i]),p.push(e.tShift[i]),u.push(e.sCount[i]),e.sCount[i]-=e.blkIndent);break}l.push(e.bMarks[i]),c.push(e.bsCount[i]),p.push(e.tShift[i]),u.push(e.sCount[i]),e.sCount[i]=-1}let m=e.blkIndent;e.blkIndent=0;let g=e.push("blockquote_open","blockquote",1);g.markup=">";let y=[t,0];g.map=y,e.md.block.tokenize(e,t,i),e.push("blockquote_close","blockquote",-1).markup=">",e.lineMax=a,e.parentType=h,y[1]=e.line;for(let r=0;r<p.length;r++)e.bMarks[r+t]=l[r],e.tShift[r+t]=p[r],e.sCount[r+t]=u[r],e.bsCount[r+t]=c[r];return e.blkIndent=m,!0},["paragraph","reference","blockquote","list"]],["hr",function(e,t,r,n){let i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let o=e.bMarks[t]+e.tShift[t],s=e.src.charCodeAt(o++);if(42!==s&&45!==s&&95!==s)return!1;let a=1;for(;o<i;){let t=e.src.charCodeAt(o++);if(t!==s&&!em(t))return!1;t===s&&a++}if(a<3)return!1;if(n)return!0;e.line=t+1;let l=e.push("hr","hr",0);return l.map=[t,e.line],l.markup=Array(a+1).join(String.fromCharCode(s)),!0},["paragraph","reference","blockquote","list"]],["list",function(e,t,r,n){let i,o,s,a,l,c,u,p=t,d=!0;if(e.sCount[p]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[p]-e.listIndent>=4&&e.sCount[p]<e.blkIndent)return!1;let h=!1;if(n&&"paragraph"===e.parentType&&e.sCount[p]>=e.blkIndent&&(h=!0),(u=eW(e,p))>=0){if(l=!0,s=e.bMarks[p]+e.tShift[p],c=Number(e.src.slice(s,u-1)),h&&1!==c)return!1}else{if(!((u=eZ(e,p))>=0))return!1;l=!1}if(h&&e.skipSpaces(u)>=e.eMarks[p])return!1;if(n)return!0;let f=e.src.charCodeAt(u-1),m=e.tokens.length;l?(a=e.push("ordered_list_open","ol",1),1!==c&&(a.attrs=[["start",c]])):a=e.push("bullet_list_open","ul",1);let g=[p,0];a.map=g,a.markup=String.fromCharCode(f);let y=!1,b=e.md.block.ruler.getRules("list"),v=e.parentType;for(e.parentType="list";p<r;){let t;o=u,i=e.eMarks[p];let n=e.sCount[p]+u-(e.bMarks[p]+e.tShift[p]),c=n;for(;o<i;){let t=e.src.charCodeAt(o);if(9===t)c+=4-(c+e.bsCount[p])%4;else if(32===t)c++;else break;o++}let h=o;(t=h>=i?1:c-n)>4&&(t=1);let m=n+t;(a=e.push("list_item_open","li",1)).markup=String.fromCharCode(f);let g=[p,0];a.map=g,l&&(a.info=e.src.slice(s,u-1));let v=e.tight,x=e.tShift[p],k=e.sCount[p],_=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=m,e.tight=!0,e.tShift[p]=h-e.bMarks[p],e.sCount[p]=c,h>=i&&e.isEmpty(p+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,p,r,!0),(!e.tight||y)&&(d=!1),y=e.line-p>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=_,e.tShift[p]=x,e.sCount[p]=k,e.tight=v,(a=e.push("list_item_close","li",-1)).markup=String.fromCharCode(f),p=e.line,g[1]=p,p>=r||e.sCount[p]<e.blkIndent||e.sCount[p]-e.blkIndent>=4)break;let w=!1;for(let t=0,n=b.length;t<n;t++)if(b[t](e,p,r,!0)){w=!0;break}if(w)break;if(l){if((u=eW(e,p))<0)break;s=e.bMarks[p]+e.tShift[p]}else if((u=eZ(e,p))<0)break;
3if(f!==e.src.charCodeAt(u-1))break}return(a=l?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(f),g[1]=p,e.line=p,e.parentType=v,d&&function(e,t){let r=e.level+2;for(let n=t+2,i=e.tokens.length-2;n<i;n++)e.tokens[n].level===r&&"paragraph_open"===e.tokens[n].type&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}(e,m),!0},["paragraph","reference","blockquote"]],["reference",function(e,t,r,n){let i,o=e.bMarks[t]+e.tShift[t],s=e.eMarks[t],a=t+1;if(e.sCount[t]-e.blkIndent>=4||91!==e.src.charCodeAt(o))return!1;function l(t){let r=e.lineMax;if(t>=r||e.isEmpty(t))return null;let n=!1;if(e.sCount[t]-e.blkIndent>3&&(n=!0),e.sCount[t]<0&&(n=!0),!n){let n=e.md.block.ruler.getRules("reference"),i=e.parentType;e.parentType="reference";let o=!1;for(let i=0,s=n.length;i<s;i++)if(n[i](e,t,r,!0)){o=!0;break}if(e.parentType=i,o)return null}let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];return e.src.slice(i,o+1)}let c=e.src.slice(o,s+1);s=c.length;let u=-1;for(o=1;o<s;o++){let e=c.charCodeAt(o);if(91===e)return!1;if(93===e){u=o;break}if(10===e){let e=l(a);null!==e&&(c+=e,s=c.length,a++)}else if(92===e&&++o<s&&10===c.charCodeAt(o)){let e=l(a);null!==e&&(c+=e,s=c.length,a++)}}if(u<0||58!==c.charCodeAt(u+1))return!1;for(o=u+2;o<s;o++){let e=c.charCodeAt(o);if(10===e){let e=l(a);null!==e&&(c+=e,s=c.length,a++)}else if(em(e));else break}let p=e.md.helpers.parseLinkDestination(c,o,s);if(!p.ok)return!1;let d=e.md.normalizeLink(p.str);if(!e.md.validateLink(d))return!1;let h=o=p.pos,f=a,m=o;for(;o<s;o++){let e=c.charCodeAt(o);if(10===e){let e=l(a);null!==e&&(c+=e,s=c.length,a++)}else if(em(e));else break}let g=e.md.helpers.parseLinkTitle(c,o,s);for(;g.can_continue;){let t=l(a);if(null===t)break;c+=t,o=s,s=c.length,a++,g=e.md.helpers.parseLinkTitle(c,o,s,g)}for(o<s&&m!==o&&g.ok?(i=g.str,o=g.pos):(i="",o=h,a=f);o<s&&em(c.charCodeAt(o));)o++;if(o<s&&10!==c.charCodeAt(o)&&i)for(i="",o=h,a=f;o<s&&em(c.charCodeAt(o));)o++;if(o<s&&10!==c.charCodeAt(o))return!1;let y=ev(c.slice(1,u));return!!y&&(!!n||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[y]&&(e.env.references[y]={title:i,href:d}),e.line=a,!0))}],["html_block",function(e,t,r,n){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||60!==e.src.charCodeAt(i))return!1;let s=e.src.slice(i,o),a=0;for(;a<eQ.length&&!eQ[a][0].test(s);a++);if(a===eQ.length)return!1;if(n)return eQ[a][2];let l=t+1;if(!eQ[a][1].test(s)){for(;l<r&&!(e.sCount[l]<e.blkIndent);l++)if(i=e.bMarks[l]+e.tShift[l],o=e.eMarks[l],s=e.src.slice(i,o),eQ[a][1].test(s)){0!==s.length&&l++;break}}e.line=l;let c=e.push("html_block","",0);return c.map=[t,l],c.content=e.getLines(t,l,e.blkIndent,!0),!0},["paragraph","reference","blockquote"]],["heading",function(e,t,r,n){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let s=e.src.charCodeAt(i);if(35!==s||i>=o)return!1;let a=1;for(s=e.src.charCodeAt(++i);35===s&&i<o&&a<=6;)a++,s=e.src.charCodeAt(++i);if(a>6||i<o&&!em(s))return!1;if(n)return!0;o=e.skipSpacesBack(o,i);let l=e.skipCharsBack(o,35,i);l>i&&em(e.src.charCodeAt(l-1))&&(o=l),e.line=t+1;let c=e.push("heading_open","h"+String(a),1);c.markup="########".slice(0,a),c.map=[t,e.line];let u=e.push("inline","",0);return u.content=e.src.slice(i,o).trim(),u.map=[t,e.line],u.children=[],e.push("heading_close","h"+String(a),-1).markup="########".slice(0,a),!0},["paragraph","reference","blockquote"]],["lheading",function(e,t,r){let n,i=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;let o=e.parentType;e.parentType="paragraph";let s=0,a=t+1;for(;a<r&&!e.isEmpty(a);a++){if(e.sCount[a]-e.blkIndent>3)continue;if(e.sCount[a]>=e.blkIndent){let t=e.bMarks[a]+e.tShift[a],r=e.eMarks[a];if(t<r&&(45===(n=e.src.charCodeAt(t))||61===n)&&(t=e.skipChars(t,n),(t=e.skipSpaces(t))>=r)){s=61===n?1:2;break}}if(e.sCount[a]<0)continue;let t=!1;for(let n=0,o=i.length;n<o;n++)if(i[n](e,a,r,!0)){t=!0;break}if(t)break}if(!s)return!1;let l=e.getLines(t,a,e.blkIndent,!1).trim();e.line=a+1;let c=e.push("heading_open","h"+String(s),1);c.markup=String.fromCharCode(n),c.map=[t,e.line];let u=e.push("inline","",0);return u.content=l,u.map=[t,e.line-1],u.children=[],e.push("heading_close","h"+String(s),-1).markup=String.fromCharCode(n),e.parentType=
3o,!0}],["paragraph",function(e,t,r){let n=e.md.block.ruler.getRules("paragraph"),i=e.parentType,o=t+1;for(e.parentType="paragraph";o<r&&!e.isEmpty(o);o++){if(e.sCount[o]-e.blkIndent>3||e.sCount[o]<0)continue;let t=!1;for(let i=0,s=n.length;i<s;i++)if(n[i](e,o,r,!0)){t=!0;break}if(t)break}let s=e.getLines(t,o,e.blkIndent,!1).trim();e.line=o,e.push("paragraph_open","p",1).map=[t,e.line];let a=e.push("inline","",0);return a.content=s,a.map=[t,e.line],a.children=[],e.push("paragraph_close","p",-1),e.parentType=i,!0}]];function e0(){this.ruler=new eA;for(let e=0;e<eY.length;e++)this.ruler.push(eY[e][0],eY[e][1],{alt:(eY[e][2]||[]).slice()})}function e1(e,t,r,n){this.src=e,this.env=r,this.md=t,this.tokens=n,this.tokens_meta=Array(n.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}e0.prototype.tokenize=function(e,t,r){let n=this.ruler.getRules(""),i=n.length,o=e.md.options.maxNesting,s=t,a=!1;for(;s<r&&(e.line=s=e.skipEmptyLines(s),!(s>=r)&&!(e.sCount[s]<e.blkIndent));){if(e.level>=o){e.line=r;break}let t=e.line,l=!1;for(let o=0;o<i;o++)if(l=n[o](e,s,r,!1)){if(t>=e.line)throw Error("block rule didn't increment state.line");break}if(!l)throw Error("none of the block rules matched");e.tight=!a,e.isEmpty(e.line-1)&&(a=!0),(s=e.line)<r&&e.isEmpty(s)&&(a=!0,e.line=++s)}},e0.prototype.parse=function(e,t,r,n){if(!e)return;let i=new this.State(e,t,r,n);this.tokenize(i,i.line,i.lineMax)},e0.prototype.State=eH,e1.prototype.pushPending=function(){let e=new eF("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},e1.prototype.push=function(e,t,r){this.pending&&this.pushPending();let n=new eF(e,t,r),i=null;return r<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),n.level=this.level,r>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(i),n},e1.prototype.scanDelims=function(e,t){let r=this.posMax,n=this.src.charCodeAt(e),i=e>0?this.src.charCodeAt(e-1):32,o=e;for(;o<r&&this.src.charCodeAt(o)===n;)o++;let s=o-e,a=o<r?this.src.charCodeAt(o):32,l=eb(i)||ey(String.fromCharCode(i)),c=eb(a)||ey(String.fromCharCode(a)),u=eg(i),p=eg(a),d=!p&&(!c||u||l),h=!u&&(!l||p||c);return{can_open:d&&(t||!h||l),can_close:h&&(t||!d||c),length:s}},e1.prototype.Token=eF;let e2=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i,e3=[];for(let e=0;e<256;e++)e3.push(0);function e5(e,t){let r,n=[],i=t.length;for(let o=0;o<i;o++){let i=t[o];if(126!==i.marker||-1===i.end)continue;let s=t[i.end];(r=e.tokens[i.token]).type="s_open",r.tag="s",r.nesting=1,r.markup="~~",r.content="",(r=e.tokens[s.token]).type="s_close",r.tag="s",r.nesting=-1,r.markup="~~",r.content="","text"===e.tokens[s.token-1].type&&"~"===e.tokens[s.token-1].content&&n.push(s.token-1)}for(;n.length;){let t=n.pop(),i=t+1;for(;i<e.tokens.length&&"s_close"===e.tokens[i].type;)i++;t!==--i&&(r=e.tokens[i],e.tokens[i]=e.tokens[t],e.tokens[t]=r)}}"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){e3[e.charCodeAt(0)]=1});function e4(e,t){let r=t.length;for(let n=r-1;n>=0;n--){let r=t[n];if(95!==r.marker&&42!==r.marker||-1===r.end)continue;let i=t[r.end],o=n>0&&t[n-1].end===r.end+1&&t[n-1].marker===r.marker&&t[n-1].token===r.token-1&&t[r.end+1].token===i.token+1,s=String.fromCharCode(r.marker),a=e.tokens[r.token];a.type=o?"strong_open":"em_open",a.tag=o?"strong":"em",a.nesting=1,a.markup=o?s+s:s,a.content="";let l=e.tokens[i.token];l.type=o?"strong_close":"em_close",l.tag=o?"strong":"em",l.nesting=-1,l.markup=o?s+s:s,l.content="",o&&(e.tokens[t[n-1].token].content="",e.tokens[t[r.end+1].token].content="",n--)}}let e8=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,e6=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/,e9=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,e7=/^&([a-z][a-z0-9]{1,31});/i;function te(e){let t={},r=e.length;if(!r)return;let n=0,i=-2,o=[];for(let s=0;s<r;
3s++){let r=e[s];if(o.push(0),(e[n].marker!==r.marker||i!==r.token-1)&&(n=s),i=r.token,r.length=r.length||0,!r.close)continue;t.hasOwnProperty(r.marker)||(t[r.marker]=[-1,-1,-1,-1,-1,-1]);let a=t[r.marker][3*!!r.open+r.length%3],l=n-o[n]-1,c=l;for(;l>a;l-=o[l]+1){let t=e[l];if(t.marker===r.marker&&t.open&&t.end<0){let n=!1;if((t.close||r.open)&&(t.length+r.length)%3==0&&(t.length%3!=0||r.length%3!=0)&&(n=!0),!n){let n=l>0&&!e[l-1].open?o[l-1]+1:0;o[s]=s-l+n,o[l]=n,r.open=!1,t.end=s,t.close=!1,c=-1,i=-2;break}}}-1!==c&&(t[r.marker][3*!!r.open+(r.length||0)%3]=c)}}let tt=[["text",function(e,t){let r=e.pos;for(;r<e.posMax&&!function(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}(e.src.charCodeAt(r));)r++;return r!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)}],["linkify",function(e,t){if(!e.md.options.linkify||e.linkLevel>0)return!1;let r=e.pos;if(r+3>e.posMax||58!==e.src.charCodeAt(r)||47!==e.src.charCodeAt(r+1)||47!==e.src.charCodeAt(r+2))return!1;let n=e.pending.match(e2);if(!n)return!1;let i=n[1],o=e.md.linkify.matchAtStart(e.src.slice(r-i.length));if(!o)return!1;let s=o.url;if(s.length<=i.length)return!1;s=s.replace(/\*+$/,"");let a=e.md.normalizeLink(s);if(!e.md.validateLink(a))return!1;if(!t){e.pending=e.pending.slice(0,-i.length);let t=e.push("link_open","a",1);t.attrs=[["href",a]],t.markup="linkify",t.info="auto",e.push("text","",0).content=e.md.normalizeLinkText(s);let r=e.push("link_close","a",-1);r.markup="linkify",r.info="auto"}return e.pos+=s.length-i.length,!0}],["newline",function(e,t){let r=e.pos;if(10!==e.src.charCodeAt(r))return!1;let n=e.pending.length-1,i=e.posMax;if(!t)if(n>=0&&32===e.pending.charCodeAt(n))if(n>=1&&32===e.pending.charCodeAt(n-1)){let t=n-1;for(;t>=1&&32===e.pending.charCodeAt(t-1);)t--;e.pending=e.pending.slice(0,t),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(r++;r<i&&em(e.src.charCodeAt(r));)r++;return e.pos=r,!0}],["escape",function(e,t){let r=e.pos,n=e.posMax;if(92!==e.src.charCodeAt(r)||++r>=n)return!1;let i=e.src.charCodeAt(r);if(10===i){for(t||e.push("hardbreak","br",0),r++;r<n&&em(i=e.src.charCodeAt(r));)r++;return e.pos=r,!0}let o=e.src[r];if(i>=55296&&i<=56319&&r+1<n){let t=e.src.charCodeAt(r+1);t>=56320&&t<=57343&&(o+=e.src[r+1],r++)}let s="\\"+o;if(!t){let t=e.push("text_special","",0);i<256&&0!==e3[i]?t.content=o:t.content=s,t.markup=s,t.info="escape"}return e.pos=r+1,!0}],["backticks",function(e,t){let r,n=e.pos;if(96!==e.src.charCodeAt(n))return!1;let i=n;n++;let o=e.posMax;for(;n<o&&96===e.src.charCodeAt(n);)n++;let s=e.src.slice(i,n),a=s.length;if(e.backticksScanned&&(e.backticks[a]||0)<=i)return t||(e.pending+=s),e.pos+=a,!0;let l=n;for(;-1!==(r=e.src.indexOf("`",l));){for(l=r+1;l<o&&96===e.src.charCodeAt(l);)l++;let i=l-r;if(i===a){if(!t){let t=e.push("code_inline","code",0);t.markup=s,t.content=e.src.slice(n,r).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=l,!0}e.backticks[i]=r}return e.backticksScanned=!0,t||(e.pending+=s),e.pos+=a,!0}],["strikethrough",function(e,t){let r=e.pos,n=e.src.charCodeAt(r);if(t||126!==n)return!1;let i=e.scanDelims(e.pos,!0),o=i.length,s=String.fromCharCode(n);if(o<2)return!1;o%2&&(e.push("text","",0).content=s,o--);for(let t=0;t<o;t+=2)e.push("text","",0).content=s+s,e.delimiters.push({marker:n,length:0,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close});return e.pos+=i.length,!0}],["emphasis",function(e,t){let r=e.pos,n=e.src.charCodeAt(r);if(t||95!==n&&42!==n)return!1;let i=e.scanDelims(e.pos,42===n);for(let t=0;t<i.length;t++)e.push("text","",0).content=String.fromCharCode(n),e.delimiters.push({marker:n,length:i.length,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close});return e.pos+=i.length,!0}],["link",function(e,t){let r,n,i,o,s="",a="",l=e.pos,c=!0;if(91!==e.src.charCodeAt(e.pos))return!1;let u=e.pos,p=e.posMax,d=e.pos+1,h=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(h<0)return!1;let f=h+1;
3if(f<p&&40===e.src.charCodeAt(f)){for(c=!1,f++;f<p&&(em(r=e.src.charCodeAt(f))||10===r);f++);if(f>=p)return!1;if(l=f,(i=e.md.helpers.parseLinkDestination(e.src,f,e.posMax)).ok){for(s=e.md.normalizeLink(i.str),e.md.validateLink(s)?f=i.pos:s="",l=f;f<p&&(em(r=e.src.charCodeAt(f))||10===r);f++);if(i=e.md.helpers.parseLinkTitle(e.src,f,e.posMax),f<p&&l!==f&&i.ok)for(a=i.str,f=i.pos;f<p&&(em(r=e.src.charCodeAt(f))||10===r);f++);}(f>=p||41!==e.src.charCodeAt(f))&&(c=!0),f++}if(c){if(void 0===e.env.references)return!1;if(f<p&&91===e.src.charCodeAt(f)?(l=f+1,(f=e.md.helpers.parseLinkLabel(e,f))>=0?n=e.src.slice(l,f++):f=h+1):f=h+1,n||(n=e.src.slice(d,h)),!(o=e.env.references[ev(n)]))return e.pos=u,!1;s=o.href,a=o.title}if(!t){e.pos=d,e.posMax=h;let t=e.push("link_open","a",1),r=[["href",s]];t.attrs=r,a&&r.push(["title",a]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=f,e.posMax=p,!0}],["image",function(e,t){let r,n,i,o,s,a,l,c,u="",p=e.pos,d=e.posMax;if(33!==e.src.charCodeAt(e.pos)||91!==e.src.charCodeAt(e.pos+1))return!1;let h=e.pos+2,f=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(f<0)return!1;if((o=f+1)<d&&40===e.src.charCodeAt(o)){for(o++;o<d&&(em(r=e.src.charCodeAt(o))||10===r);o++);if(o>=d)return!1;for(c=o,(a=e.md.helpers.parseLinkDestination(e.src,o,e.posMax)).ok&&(u=e.md.normalizeLink(a.str),e.md.validateLink(u)?o=a.pos:u=""),c=o;o<d&&(em(r=e.src.charCodeAt(o))||10===r);o++);if(a=e.md.helpers.parseLinkTitle(e.src,o,e.posMax),o<d&&c!==o&&a.ok)for(l=a.str,o=a.pos;o<d&&(em(r=e.src.charCodeAt(o))||10===r);o++);else l="";if(o>=d||41!==e.src.charCodeAt(o))return e.pos=p,!1;o++}else{if(void 0===e.env.references)return!1;if(o<d&&91===e.src.charCodeAt(o)?(c=o+1,(o=e.md.helpers.parseLinkLabel(e,o))>=0?i=e.src.slice(c,o++):o=f+1):o=f+1,i||(i=e.src.slice(h,f)),!(s=e.env.references[ev(i)]))return e.pos=p,!1;u=s.href,l=s.title}if(!t){n=e.src.slice(h,f);let t=[];e.md.inline.parse(n,e.md,e.env,t);let r=e.push("image","img",0),i=[["src",u],["alt",""]];r.attrs=i,r.children=t,r.content=n,l&&i.push(["title",l])}return e.pos=o,e.posMax=d,!0}],["autolink",function(e,t){let r=e.pos;if(60!==e.src.charCodeAt(r))return!1;let n=e.pos,i=e.posMax;for(;;){if(++r>=i)return!1;let t=e.src.charCodeAt(r);if(60===t)return!1;if(62===t)break}let o=e.src.slice(n+1,r);if(e6.test(o)){let r=e.md.normalizeLink(o);if(!e.md.validateLink(r))return!1;if(!t){let t=e.push("link_open","a",1);t.attrs=[["href",r]],t.markup="autolink",t.info="auto",e.push("text","",0).content=e.md.normalizeLinkText(o);let n=e.push("link_close","a",-1);n.markup="autolink",n.info="auto"}return e.pos+=o.length+2,!0}if(e8.test(o)){let r=e.md.normalizeLink("mailto:"+o);if(!e.md.validateLink(r))return!1;if(!t){let t=e.push("link_open","a",1);t.attrs=[["href",r]],t.markup="autolink",t.info="auto",e.push("text","",0).content=e.md.normalizeLinkText(o);let n=e.push("link_close","a",-1);n.markup="autolink",n.info="auto"}return e.pos+=o.length+2,!0}return!1}],["html_inline",function(e,t){let r;if(!e.md.options.html)return!1;let n=e.posMax,i=e.pos;if(60!==e.src.charCodeAt(i)||i+2>=n)return!1;let o=e.src.charCodeAt(i+1);if(33!==o&&63!==o&&47!==o&&(!((r=32|o)>=97)||!(r<=122)))return!1;let s=e.src.slice(i).match(eX);if(!s)return!1;if(!t){var a,l;let t=e.push("html_inline","",0);t.content=s[0],a=t.content,/^<a[>\s]/i.test(a)&&e.linkLevel++,l=t.content,/^<\/a\s*>/i.test(l)&&e.linkLevel--}return e.pos+=s[0].length,!0}],["entity",function(e,t){let r=e.pos,n=e.posMax;if(38!==e.src.charCodeAt(r)||r+1>=n)return!1;if(35===e.src.charCodeAt(r+1)){let n=e.src.slice(r).match(e9);if(n){if(!t){let t="x"===n[1][0].toLowerCase()?parseInt(n[1].slice(1),16):parseInt(n[1],10),r=e.push("text_special","",0);r.content=et(t)?er(t):er(65533),r.markup=n[0],r.info="entity"}return e.pos+=n[0].length,!0}}else{let n=e.src.slice(r).match(e7);if(n){let r=W(n[0]);if(r!==n[0]){if(!t){let t=e.push("text_special","",0);t.content=r,t.markup=n[0],t.info="entity"}return e.pos+=n[0].length,!0}}}return!1}]],tr=[["balance_pairs",function(e){let t=e.tokens_meta,r=e.tokens_meta.length;te(e.delimiters);for(let e=0;e<r;e++)t[e]&&t[e].delimiters&&te(t[e].delimiters)}],["strikethrough",function(e){let t=e.tokens_meta,r=e.tokens_meta.length;e5(e,e.delimiters);for(let n=0;n<r;n++)t[n]&&t[n].delimiters&&e5(e,t[n].delimiters)}],["emphasis",function(e){let t=e.tokens_meta,r=e.tokens_meta.length;e4(e,e.delimiters);for(let n=0;n<r;n++)t[n]&&t[n].delimiters&&e4(e,t[n].delimiters)}],["fragments_join",function(e){let t,r,n=0,i=e.tokens,o=e.tokens.length;for(t=r=0;t<o;t++)i[t].nesting<0&&n--,i[t].level=n,i[t].nesting>0&&n++,"text"===i[t].type&&t+1<o&&"text"===i[t+1].type?i[t+1].content=i[t].content+i[t+1].content:(t!==r&&(i[r]=i[t]),r++);t!==r&&(i.length=r)}]];function tn(){this.ruler=new eA;for(let e=0;e<tt.length;e++)this.ruler.push(tt[e][0],tt[e][1]);this.ruler2=new eA;for(let e=0;e<tr.length;e++)this.ruler2.push(tr[e][0],tr[e][1])}
3function ti(e){let t=Array.prototype.slice.call(arguments,1);return t.forEach(function(t){t&&Object.keys(t).forEach(function(r){e[r]=t[r]})}),e}function to(e){return Object.prototype.toString.call(e)}function ts(e){return"[object Function]"===to(e)}function ta(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}tn.prototype.skipToken=function(e){let t=e.pos,r=this.ruler.getRules(""),n=r.length,i=e.md.options.maxNesting,o=e.cache;if(void 0!==o[t]){e.pos=o[t];return}let s=!1;if(e.level<i){for(let i=0;i<n;i++)if(e.level++,s=r[i](e,!0),e.level--,s){if(t>=e.pos)throw Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;!s&&e.pos++,o[t]=e.pos},tn.prototype.tokenize=function(e){let t=this.ruler.getRules(""),r=t.length,n=e.posMax,i=e.md.options.maxNesting;for(;e.pos<n;){let o=e.pos,s=!1;if(e.level<i){for(let n=0;n<r;n++)if(s=t[n](e,!1)){if(o>=e.pos)throw Error("inline rule didn't increment state.pos");break}}if(s){if(e.pos>=n)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},tn.prototype.parse=function(e,t,r,n){let i=new this.State(e,t,r,n);this.tokenize(i);let o=this.ruler2.getRules(""),s=o.length;for(let e=0;e<s;e++)o[e](i)},tn.prototype.State=e1;let tl={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},tc={"http:":{validate:function(e,t,r){let n=e.slice(t);return(r.re.http||(r.re.http=RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(n))?n.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,r){let n=e.slice(t);return(r.re.no_http||(r.re.no_http=RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(n))?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){let n=e.slice(t);return(r.re.mailto||(r.re.mailto=RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(n))?n.match(r.re.mailto)[0].length:0}}},tu="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|ÑÑ".split("|");function tp(){return function(e,t){t.normalize(e)}}function td(e){var t;let r,n,i=(t=e.__opts__,t=t||{},(r={}).src_Any=P.source,r.src_Cc=O.source,r.src_Z=M.source,r.src_P=z.source,r.src_ZPCc=[r.src_Z,r.src_P,r.src_Cc].join("|"),r.src_ZCc=[r.src_Z,r.src_Cc].join("|"),r.src_pseudo_letter="(?:(?!"+(n="[><ï½]")+"|"+r.src_ZPCc+")"+r.src_Any+")",r.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",r.src_auth="(?:(?:(?!"+r.src_ZCc+"|[@/\\[\\]()]).)+@)?",r.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",r.src_host_terminator="(?=$|"+n+"|"+r.src_ZPCc+")(?!"+(t["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+r.src_ZPCc+"))",r.src_path="(?:[/?#](?:(?!"+r.src_ZCc+"|"+n+"|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+r.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+r.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+r.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+r.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+r.src_ZCc+"|[']).)+\\'|\\'(?="+r.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+r.src_ZCc+"|[.]|$)|"+(t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+r.src_ZCc+"|$)|;(?!"+r.src_ZCc+"|$)|\\!+(?!"+r.src_ZCc+"|[!]|$)|\\?(?!"+r.src_ZCc+"|[?]|$))+|\\/)?",r.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',r.src_xn="xn--[a-z0-9\\-]{1,59}",r.src_domain_root="(?:"+r.src_xn+"|"+r.src_pseudo_letter+"{1,63})",r.src_domain="(?:"+r.src_xn+"|(?:"+r.src_pseudo_letter+")|(?:"+r.src_pseudo_letter+"(?:-|"+r.src_pseudo_letter+"){0,61}"+r.src_pseudo_letter+"))",r.src_host="(?:(?:(?:(?:"+r.src_domain+")\\.)*"+r.src_domain+"))",r.tpl_host_fuzzy="(?:"+r.src_ip4+"|(?:(?:(?:"+r.src_domain+")\\.)+(?:%TLDS%)))",r.tpl_host_no_ip_fuzzy="(?:(?:(?:"+r.src_domain+")\\.)+(?:%TLDS%))",r.src_host_strict=r.src_host+r.src_host_terminator,r.tpl_host_fuzzy_strict=r.tpl_host_fuzzy+r.src_host_terminator,r.src_host_port_strict=r.src_host+r.src_port+r.src_host_terminator,r.tpl_host_port_fuzzy_strict=r.tpl_host_fuzzy+r.src_port+r.src_host_terminator,r.tpl_host_port_no_ip_fuzzy_strict=r.tpl_host_no_ip_fuzzy+r.src_port+r.src_host_terminator,r.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+r.src_ZPCc+"|>|$))",r.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+r.src_ZCc+")("+r.src_email_name+"@"+r.tpl_host_fuzzy_strict+")",r.tpl_link_fuzzy="(^|(?![.:
3/\\-_@])(?:[$+<=>^`|ï½]|"+r.src_ZPCc+"))((?![$+<=>^`|ï½])"+r.tpl_host_port_fuzzy_strict+r.src_path+")",r.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|ï½]|"+r.src_ZPCc+"))((?![$+<=>^`|ï½])"+r.tpl_host_port_no_ip_fuzzy_strict+r.src_path+")",e.re=r),o=e.__tlds__.slice();function s(e){return e.replace("%TLDS%",i.src_tlds)}e.onCompile(),e.__tlds_replaced__||o.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),o.push(i.src_xn),i.src_tlds=o.join("|"),i.email_fuzzy=RegExp(s(i.tpl_email_fuzzy),"i"),i.link_fuzzy=RegExp(s(i.tpl_link_fuzzy),"i"),i.link_no_ip_fuzzy=RegExp(s(i.tpl_link_no_ip_fuzzy),"i"),i.host_fuzzy_test=RegExp(s(i.tpl_host_fuzzy_test),"i");let a=[];function l(e,t){throw Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach(function(t){let r=e.__schemas__[t];if(null===r)return;let n={validate:null,link:null};if(e.__compiled__[t]=n,"[object Object]"===to(r)){if("[object RegExp]"===to(r.validate)){var i;i=r.validate,n.validate=function(e,t){let r=e.slice(t);return i.test(r)?r.match(i)[0].length:0}}else ts(r.validate)?n.validate=r.validate:l(t,r);ts(r.normalize)?n.normalize=r.normalize:r.normalize?l(t,r):n.normalize=tp();return}"[object String]"===to(r)?a.push(t):l(t,r)}),a.forEach(function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)}),e.__compiled__[""]={validate:null,normalize:tp()};let c=Object.keys(e.__compiled__).filter(function(t){return t.length>0&&e.__compiled__[t]}).map(ta).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><ï½]|"+i.src_ZPCc+"))("+c+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><ï½]|"+i.src_ZPCc+"))("+c+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),e.__index__=-1,e.__text_cache__=""}function th(e,t){let r=e.__index__,n=e.__last_index__,i=e.__text_cache__.slice(r,n);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=n+t,this.raw=i,this.text=i,this.url=i}function tf(e,t){let r=new th(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function tm(e,t){if(!(this instanceof tm))return new tm(e,t);!t&&Object.keys(e||{}).reduce(function(e,t){return e||tl.hasOwnProperty(t)},!1)&&(t=e,e={}),this.__opts__=ti({},tl,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=ti({},tc,e),this.__compiled__={},this.__tlds__=tu,this.__tlds_replaced__=!1,this.re={},td(this)}tm.prototype.add=function(e,t){return this.__schemas__[e]=t,td(this),this},tm.prototype.set=function(e){return this.__opts__=ti(this.__opts__,e),this},tm.prototype.test=function(e){let t,r,n,i,o,s,a,l;if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;if(this.re.schema_test.test(e)){for((a=this.re.schema_search).lastIndex=0;null!==(t=a.exec(e));)if(i=this.testSchemaAt(e,t[2],a.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l<this.__index__)&&null!==(r=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(o=r.index+r[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=r.index+r[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(n=e.match(this.re.email_fuzzy))&&(o=n.index+n[1].length,s=n.index+n[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&s>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=s)),this.__index__>=0},tm.prototype.pretest=function(e){return this.re.pretest.test(e)},tm.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},tm.prototype.match=function(e){let t=[],r=0;this.__index__>=0&&this.__text_cache__===e&&(t.push(tf(this,r)),r=this.__last_index__);let n=r?e.slice(r):e;for(;this.test(n);)t.push(tf(this,r)),n=n.slice(this.__last_index__),r+=this.__last_index__;return t.length?t:null},tm.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;let t=this.re.schema_at_start.exec(e);if(!t)return null;let r=this.testSchemaAt(e,t[2],t[0].length);return r?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+r,tf(this,0)):null},tm.prototype.tlds=function(e,t){return(e=Array.isArray(e)?e:[e],t)?this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,r){return e!==r[t-1]}).reverse():(this.__tlds__=e.slice(),this.__tlds_replaced__=!0),td(this),this},tm.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},tm.prototype.onCompile=function(){};let tg=/^xn--/,ty=/[^\0-\x7F]/,tb=/[\x2E\u3002\uFF0E\uFF61]/g,tv={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >
3= 0x80 (not a basic code point)","invalid-input":"Invalid input"},tx=Math.floor,tk=String.fromCharCode;function t_(e){throw RangeError(tv[e])}function tw(e,t){let r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+(function(e,t){let r=[],n=e.length;for(;n--;)r[n]=t(e[n]);return r})((e=e.replace(tb,".")).split("."),t).join(".")}let tC=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},tE=function(e,t,r){let n=0;for(e=r?tx(e/700):e>>1,e+=tx(e/t);e>455;n+=36)e=tx(e/35);return tx(n+36*e/(e+38))},tD=function(e){let t=[],r=e.length,n=0,i=128,o=72,s=e.lastIndexOf("-");s<0&&(s=0);for(let r=0;r<s;++r)e.charCodeAt(r)>=128&&t_("not-basic"),t.push(e.charCodeAt(r));for(let l=s>0?s+1:0;l<r;){let s=n;for(let t=1,i=36;;i+=36){var a;l>=r&&t_("invalid-input");let s=(a=e.charCodeAt(l++))>=48&&a<58?26+(a-48):a>=65&&a<91?a-65:a>=97&&a<123?a-97:36;s>=36&&t_("invalid-input"),s>tx((0x7fffffff-n)/t)&&t_("overflow"),n+=s*t;let c=i<=o?1:i>=o+26?26:i-o;if(s<c)break;let u=36-c;t>tx(0x7fffffff/u)&&t_("overflow"),t*=u}let c=t.length+1;o=tE(n-s,c,0==s),tx(n/c)>0x7fffffff-i&&t_("overflow"),i+=tx(n/c),n%=c,t.splice(n++,0,i)}return String.fromCodePoint(...t)},tS=function(e){let t=[],r=(e=function(e){let t=[],r=0,n=e.length;for(;r<n;){let i=e.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){let n=e.charCodeAt(r++);(64512&n)==56320?t.push(((1023&i)<<10)+(1023&n)+65536):(t.push(i),r--)}else t.push(i)}return t}(e)).length,n=128,i=0,o=72;for(let r of e)r<128&&t.push(tk(r));let s=t.length,a=s;for(s&&t.push("-");a<r;){let r=0x7fffffff;for(let t of e)t>=n&&t<r&&(r=t);let l=a+1;for(let c of(r-n>tx((0x7fffffff-i)/l)&&t_("overflow"),i+=(r-n)*l,n=r,e))if(c<n&&++i>0x7fffffff&&t_("overflow"),c===n){let e=i;for(let r=36;;r+=36){let n=r<=o?1:r>=o+26?26:r-o;if(e<n)break;let i=e-n,s=36-n;t.push(tk(tC(n+i%s,0))),e=tx(i/s)}t.push(tk(tC(e,0))),o=tE(i,l,a===s),i=0,++a}++i,++n}return t.join("")},tA={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"ââââ",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"ââââ",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"ââââ",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},tF=/^(vbscript|javascript|file|data):/,tL=/^data:image\/(gif|png|jpeg|webp);/;function tj(e){let t=e.trim().toLowerCase();return!tF.test(t)||tL.test(t)}let tT=["http:","https:","mailto:"];function tP(e){let t=j(e,!0);if(t.hostname&&(!t.protocol||tT.indexOf(t.protocol)>=0))try{var r;r=t.hostname,t.hostname=tw(r,function(e){return ty.test(e)?"xn--"+tS(e):e})}catch(e){}return v(x(t))}function tO(e){let t=j(e,!0);if(t.hostname&&(!t.protocol||tT.indexOf(t.protocol)>=0))try{var r;r=t.hostname,t.hostname=tw(r,function(e){return tg.test(e)?tD(e.slice(4).toLowerCase()):e})}catch(e){}return y(x(t),y.defaultChars+"%")}function tz(e,t){if(!(this instanceof tz))return new tz(e,t);t||ek.isString(e)||(t=e||{},e="default"),this.inline=new tn,this.block=new e0,this.core=new eq,this.renderer=new eS,this.linkify=new tm,this.validateLink=tj,this.normalizeLink=tP,this.normalizeLinkText=tO,this.utils=ek,this.helpers=ek.assign({},eE),this.options={},this.configure(e),t&&this.set(t)}function tN(e){let t;if(!e)return[];let r=/^(#{1,6})\s+(.+)$/gm,n=[];for(;null!==(t=r.exec(e));){let e=t[1].length,r=t[2].trim(),i=r.toLowerCase().replace(/[^a-z0-9\u4e00-\u9fff]+/g,"-").replace(/(^-|-$)/g,"");n.push({id:i,text:r,level:e})}return n}tz.prototype.set=function(e){return ek.assign(this.options,e),this},tz.prototype.configure=function(e){let t=this;if(ek.isString(e)){let t=e;if(!(e=tA[t]))throw Error('Wrong `markdown-it` preset "'+t+'", check name')}if(!e)throw Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEac
3h(function(r){e.components[r].rules&&t[r].ruler.enableOnly(e.components[r].rules),e.components[r].rules2&&t[r].ruler2.enableOnly(e.components[r].rules2)}),this},tz.prototype.enable=function(e,t){let r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){r=r.concat(this[t].ruler.enable(e,!0))},this),r=r.concat(this.inline.ruler2.enable(e,!0));let n=e.filter(function(e){return 0>r.indexOf(e)});if(n.length&&!t)throw Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},tz.prototype.disable=function(e,t){let r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){r=r.concat(this[t].ruler.disable(e,!0))},this),r=r.concat(this.inline.ruler2.disable(e,!0));let n=e.filter(function(e){return 0>r.indexOf(e)});if(n.length&&!t)throw Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},tz.prototype.use=function(e){let t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},tz.prototype.parse=function(e,t){if("string"!=typeof e)throw Error("Input data should be a String");let r=new this.core.State(e,this,t);return this.core.process(r),r.tokens},tz.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},tz.prototype.parseInline=function(e,t){let r=new this.core.State(e,this,t);return r.inlineMode=!0,this.core.process(r),r.tokens},tz.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.s(["default",0,tz],793143),e.s([],352103);let tM=new tz({html:!0,linkify:!0,breaks:!0});function tB(e){let t,r,n=(0,m.c)(4),{content:i}=e;n[0]!==i?(t=i?tM.render(i):"",n[0]=i,n[1]=t):t=n[1];let o=t;return n[2]!==o?(r=(0,f.jsx)("div",{className:"markdown-body",dangerouslySetInnerHTML:{__html:o}}),n[2]=o,n[3]=r):r=n[3],r}tM.renderer.rules.heading_open=function(e,t){let r=e[t].markup.length,n=e[t+1];if(n&&"inline"===n.type){let e=n.content.toLowerCase().replace(/[^a-z0-9\u4e00-\u9fff]+/g,"-").replace(/(^-|-$)/g,"");return`<h${r} id="${e}">`}return`<h${r}>`},tM.renderer.rules.link_open=function(e,t,r,n,i){let o=e[t];if(o.attrIndex("href")>=0){let e=o.attrGet("href");o.attrSet("rel","nofollow"),e&&(e.startsWith("http://")||e.startsWith("https://"))&&o.attrSet("target","_blank")}return i.renderToken(e,t,r)},e.s(["MarkdownPreview",()=>tB,"getTocItems",()=>tN],111643)},403732,e=>{"use strict";var t=e.i(88310),r=e.i(95572),n=e.i(956371),i=Object.defineProperty,o=(e,t,r)=>{let n;return(n="symbol"!=typeof t?t+"":t)in e?i(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r,r},s=class{static resetLinkIndex(){this.linkIndex=0}static escapeHtml(e){let t={"&":"&","<":"<",">":">",'"':""","'":"'"};return e.replace(/[&<>"']/g,e=>t[e])}static preserveIndentation(e,t){let r=t.match(/^(\s*)/)[1].replace(/ /g," ");return e.replace(/^\s*/,r)}static parseHeader(e){return e.replace(/^(#{1,3})\s(.+)$/,(e,t,r)=>{let n=t.length;return`<h${n}><span class="syntax-marker">${t} </span>${r}</h${n}>`})}static parseHorizontalRule(e){return e.match(/^(-{3,}|\*{3,}|_{3,})$/)?`<div><span class="hr-marker">${e}</span></div>`:null}static parseBlockquote(e){return e.replace(/^> (.+)$/,(e,t)=>`<span class="blockquote"><span class="syntax-marker">></span> ${t}</span>`)}static parseBulletList(e){return e.replace(/^((?: )*)([-*])\s(.+)$/,(e,t,r,n)=>`${t}<li class="bullet-list"><span class="syntax-marker">${r} </span>${n}</li>`)}static parseNumberedList(e){return e.replace(/^((?: )*)(\d+\.)\s(.+)$/,(e,t,r,n)=>`${t}<li class="ordered-list"><span class="syntax-marker">${r} </span>${n}</li>`)}static parseCodeBlock(e){return/^`{3}[^`]*$/.test(e)?`<div><span class="code-fence">${e}</span></div>`:null}static parseBold(e){return e=(e=e.replace(/\*\*(.+?)\*\*/g,'<strong><span class="syntax-marker">**</span>$1<span class="syntax-marker">**</span></strong>')).replace(/__(.+?)__/g,'<strong><span class="syntax-marker">__</span>$1<span class="syntax-marker">__</span></strong>')}static parseItalic(e){return e=(e=e.replace(RegExp("(?<!\\*)\\*(?!\\*)(.+?)(?<!\\*)\\*(?!\\*)","g"),'<em><span class="syntax-marker">*</span>$1<span class="syntax-marker">*</span></em>')).replace(RegExp("(?<=^|\\s)_(?!_)(.+?)(?<!_)_(?!_)(?=\\s|$)","g"),'<em><span class="syntax-marker">_</span>$1<span class="syntax-marker">_</span></em>')}static parseStrikethrough(e){return e=(e=e.replace(RegExp("(?<!~)~~(?!~)(.+?)(?<!~)~~(?!~)","g"),'<del><span class="syntax-marker">~~</span>$1<span class="syntax-marker">~~</span></del>')).replace(RegExp("(?<!~)~(?!~)(.+?)(?<!~)~(?!~)","g"),'<del><span class="syntax-marker">~</span>$1<span class="syntax-marker">~</span></del>')}static parseInlineCode(e){return e.replace(RegExp("(?<!`)(`+)(?!`)((?:(?!\\1).)+?)(\\1)(?!`)","g"),'<code><span class="syntax-marker">$1</span>$2<span class="syntax-marker">$3</span></code>')}
3static sanitizeUrl(e){let t=e.trim(),r=t.toLowerCase(),n=["http://","https://","mailto:","ftp://","ftps://"].some(e=>r.startsWith(e)),i=t.startsWith("/")||t.startsWith("#")||t.startsWith("?")||t.startsWith(".")||!t.includes(":")&&!t.includes("//");return n||i?e:"#"}static parseLinks(e){return e.replace(/\[(.+?)\]\((.+?)\)/g,(e,t,r)=>{let n=`--link-${this.linkIndex++}`,i=this.sanitizeUrl(r);return`<a href="${i}" style="anchor-name: ${n}"><span class="syntax-marker">[</span>${t}<span class="syntax-marker url-part">](${r})</span></a>`})}static identifyAndProtectSanctuaries(e){let t,r,n=new Map,i=0,o=e,s=[],a=/\[([^\]]+)\]\(([^)]+)\)/g;for(;null!==(t=a.exec(e));){let e=t.index+t[0].indexOf("](")+2,r=e+t[2].length;s.push({start:e,end:r})}let l=RegExp("(?<!`)(`+)(?!`)((?:(?!\\1).)+?)(\\1)(?!`)","g"),c=[];for(;null!==(r=l.exec(e));){let e=r.index,t=r.index+r[0].length;s.some(r=>e>=r.start&&t<=r.end)||c.push({match:r[0],index:r.index,openTicks:r[1],content:r[2],closeTicks:r[3]})}return c.sort((e,t)=>t.index-e.index),c.forEach(e=>{let t=`\uE000${i++}\uE001`;n.set(t,{type:"code",original:e.match,openTicks:e.openTicks,content:e.content,closeTicks:e.closeTicks}),o=o.substring(0,e.index)+t+o.substring(e.index+e.match.length)}),{protectedText:o=o.replace(/\[([^\]]+)\]\(([^)]+)\)/g,(e,t,r)=>{let o=`\uE000${i++}\uE001`;return n.set(o,{type:"link",original:e,linkText:t,url:r}),o}),sanctuaries:n}}static restoreAndTransformSanctuaries(e,t){return Array.from(t.keys()).sort((t,r)=>e.indexOf(t)-e.indexOf(r)).forEach(r=>{let n,i=t.get(r);if("code"===i.type)n=`<code><span class="syntax-marker">${i.openTicks}</span>${this.escapeHtml(i.content)}<span class="syntax-marker">${i.closeTicks}</span></code>`;
3else if("link"===i.type){let e=i.linkText;t.forEach((t,r)=>{if(e.includes(r)&&"code"===t.type){let n=`<code><span class="syntax-marker">${t.openTicks}</span>${this.escapeHtml(t.content)}<span class="syntax-marker">${t.closeTicks}</span></code>`;e=e.replace(r,n)}}),e=this.parseStrikethrough(e),e=this.parseBold(e),e=this.parseItalic(e);let r=`--link-${this.linkIndex++}`,o=this.sanitizeUrl(i.url);n=`<a href="${o}" style="anchor-name: ${r}"><span class="syntax-marker">[</span>${e}<span class="syntax-marker url-part">](${this.escapeHtml(i.url)})</span></a>`}e=e.replace(r,n)}),e}static parseInlineElements(e){let{protectedText:t,sanctuaries:r}=this.identifyAndProtectSanctuaries(e),n=t;return n=this.parseStrikethrough(n),n=this.parseBold(n),n=this.parseItalic(n),n=this.restoreAndTransformSanctuaries(n,r)}static parseLine(e){let t=this.escapeHtml(e);t=this.preserveIndentation(t,e);let r=this.parseHorizontalRule(t);if(r)return r;let n=this.parseCodeBlock(t);return n||((t=this.parseHeader(t),t=this.parseBlockquote(t),t=this.parseBulletList(t),t=this.parseNumberedList(t),""===(t=this.parseInlineElements(t)).trim())?"<div> </div>":`<div>${t}</div>`)}static parse(e,t=-1,r=!1){this.resetLinkIndex();let n=e.split("\n"),i=!1,o=n.map((e,n)=>{if(r&&n===t){let t=this.escapeHtml(e)||" ";return`<div class="raw-line">${t}</div>`}if(/^```[^`]*$/.test(e))return i=!i,this.parseLine(e);if(i){let t=this.escapeHtml(e),r=this.preserveIndentation(t,e);return`<div>${r||" "}</div>`}return this.parseLine(e)}).join("");return this.postProcessHTML(o)}static postProcessHTML(e){if("undefined"==typeof document||!document)return this.postProcessHTMLManual(e);let t=document.createElement("div");t.innerHTML=e;let r=null,n=null,i=null,o=!1,s=Array.from(t.children);for(let e=0;e<s.length;e++){let a=s[e];if(!a.parentNode)continue;let l=a.querySelector(".code-fence");if(l){let e=l.textContent;if(e.startsWith("```"))if(o){o=!1,i=null;continue}else{o=!0,i=document.createElement("pre");let r=document.createElement("code");i.appendChild(r),i.className="code-block";let n=e.slice(3).trim();n&&(r.className=`language-${n}`),t.insertBefore(i,a.nextSibling),i._codeElement=r;continue}}if(o&&i&&"DIV"===a.tagName&&!a.querySelector(".code-fence")){let e=i._codeElement||i.querySelector("code");e.textContent.length>0&&(e.textContent+="\n");let t=a.textContent.replace(/\u00A0/g," ");e.textContent+=t,a.remove();continue}let c=null;
3if("DIV"===a.tagName&&(c=a.querySelector("li")),c){let e=c.classList.contains("bullet-list"),i=c.classList.contains("ordered-list");if(!e&&!i){r=null,n=null;continue}let o=e?"ul":"ol";r&&n===o||(r=document.createElement(o),t.insertBefore(r,a),n=o);let s=[];for(let e of a.childNodes)if(3===e.nodeType&&e.textContent.match(/^\u00A0+$/))s.push(e.cloneNode(!0));else if(e===c)break;s.forEach(e=>{c.insertBefore(e,c.firstChild)}),r.appendChild(c),a.remove()}else r=null,n=null}return t.innerHTML}static postProcessHTMLManual(e){let t=e;return(t=(t=t.replace(/((?:<div>(?: )*<li class="bullet-list">.*?<\/li><\/div>\s*)+)/gs,e=>{let t=e.match(/<div>(?: )*<li class="bullet-list">.*?<\/li><\/div>/gs)||[];return t.length>0?"<ul>"+t.map(e=>{let t=e.match(/<div>((?: )*)<li/),r=e.match(/<li class="bullet-list">.*?<\/li>/);if(t&&r){let e=t[1];return r[0].replace(/<li class="bullet-list">/,`<li class="bullet-list">${e}`)}return r?r[0]:""}).filter(Boolean).join("")+"</ul>":e})).replace(/((?:<div>(?: )*<li class="ordered-list">.*?<\/li><\/div>\s*)+)/gs,e=>{let t=e.match(/<div>(?: )*<li class="ordered-list">.*?<\/li><\/div>/gs)||[];return t.length>0?"<ol>"+t.map(e=>{let t=e.match(/<div>((?: )*)<li/),r=e.match(/<li class="ordered-list">.*?<\/li>/);if(t&&r){let e=t[1];return r[0].replace(/<li class="ordered-list">/,`<li class="ordered-list">${e}`)}return r?r[0]:""}).filter(Boolean).join("")+"</ol>":e})).replace(/<div><span class="code-fence">(```[^<]*)<\/span><\/div>(.*?)<div><span class="code-fence">(```)<\/span><\/div>/gs,(e,t,r,n)=>{let i=(r.match(/<div>(.*?)<\/div>/gs)||[]).map(e=>e.replace(/<div>(.*?)<\/div>/s,"$1").replace(/ /g," ")).join("\n"),o=t.slice(3).trim(),s=o?` class="language-${o}"`:"",a=`<div><span class="code-fence">${t}</span></div>`;return a+`<pre class="code-block"><code${s}>${i}</code></pre><div><span class="code-fence">${n}</span></div>`})}static getListContext(e,t){let r=e.split("\n"),n=0,i=0,o=0;for(let e=0;e<r.length;e++){let s=r[e].length;if(n+s>=t){i=e,o=n;break}n+=s+1}let s=r[i],a=o+s.length,l=s.match(this.LIST_PATTERNS.checkbox);if(l)return{inList:!0,listType:"checkbox",indent:l[1],marker:"-",checked:"x"===l[2],content:l[3],lineStart:o,lineEnd:a,markerEndPos:o+l[1].length+l[2].length+5};let c=s.match(this.LIST_PATTERNS.bullet);if(c)return{inList:!0,listType:"bullet",indent:c[1],marker:c[2],content:c[3],lineStart:o,lineEnd:a,markerEndPos:o+c[1].length+c[2].length+1};let u=s.match(this.LIST_PATTERNS.numbered);return u?{inList:!0,listType:"numbered",indent:u[1],marker:parseInt(u[2]),content:u[3],lineStart:o,lineEnd:a,markerEndPos:o+u[1].length+u[2].length+2}:{inList:!1,listType:null,indent:"",marker:null,content:s,lineStart:o,lineEnd:a,markerEndPos:o}}static createNewListItem(e){switch(e.listType){case"bullet":return`${e.indent}${e.marker} `;case"numbered":return`${e.indent}${e.marker+1}. `;case"checkbox":return`${e.indent}- [ ] `;default:return""}}static renumberLists(e){let t=e.split("\n"),r=new Map,n=!1;return t.map(e=>{let t=e.match(this.LIST_PATTERNS.numbered);if(!t)return""!==e.trim()&&e.match(/^\s/)||(n=!1,r.clear()),e;{let e=t[1],i=e.length,o=t[3];n||r.clear();let s=(r.get(i)||0)+1;for(let[e]of(r.set(i,s),r))e>i&&r.delete(e);return n=!0,`${e}${s}. ${o}`}}).join("\n")}};o(s,"linkIndex",0),o(s,"LIST_PATTERNS",{bullet:/^(\s*)([-*+])\s+(.*)$/,numbered:/^(\s*)(\d+)\.\s+(.*)$/,checkbox:/^(\s*)-\s+\[([ x])\]\s+(.*)$/});var a=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,p=(e,t,r)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,d=(e,t)=>{for(var r in t||(t={}))c.call(t,r)&&p(e,r,t[r]);if(l)for(var r of l(t))u.call(t,r)&&p(e,r,t[r]);return e},h={bold:{prefix:"**",suffix:"**",trimFirst:!0},italic:{prefix:"_",suffix:"_",trimFirst:!0},code:{prefix:"`",suffix:"`",blockPrefix:"```",blockSuffix:"```"},link:{prefix:"[",suffix:"](url)",replaceNext:"url",scanFor:"https?://"},bulletList:{prefix:"- ",multiline:!0,unorderedList:!0},numberedList:{prefix:"1. ",multiline:!0,orderedList:!0},quote:{prefix:"> ",multiline:!0,surroundWithNewlines:!0},taskList:{prefix:"- [ ] ",multiline:!0,surroundWithNewlines:!0},header1:{prefix:"# "},header2:{prefix:"## "},header3:{prefix:"### "},header4:{prefix:"#### "},header5:{prefix:"##### "},header6:{prefix:"###### "}}
3;function f(e){return d(d({},{prefix:"",suffix:"",blockPrefix:"",blockSuffix:"",multiline:!1,replaceNext:"",prefixSpace:!1,scanFor:"",surroundWithNewlines:!1,orderedList:!1,unorderedList:!1,trimFirst:!1}),e)}function m(e,t,r){}function g(e,t){}function y(e){}var b=null;function v(e,{text:t,selectionStart:r,selectionEnd:n}){e.focus();let i=e.selectionStart,o=e.selectionEnd,s=e.value.slice(0,i),a=e.value.slice(o),l=e.value;if(null===b||!0===b){e.contentEditable="true";try{b=document.execCommand("insertText",!1,t)}catch(e){b=!1}e.contentEditable="false"}if(b&&e.value,!b&&e.value===l){try{document.execCommand("ms-beginUndoUnit")}catch(e){}e.value=s+t+a;try{document.execCommand("ms-endUndoUnit")}catch(e){}e.dispatchEvent(new CustomEvent("input",{bubbles:!0,cancelable:!0}))}null!=r&&null!=n?e.setSelectionRange(r,n):e.setSelectionRange(i,e.selectionEnd)}function x(e){return e.trim().split("\n").length>1}function k(e){let t=e.value.split("\n"),r=0;for(let n=0;n<t.length;n++){let i=t[n].length+1;e.selectionStart>=r&&e.selectionStart<r+i&&(e.selectionStart=r),e.selectionEnd>=r&&e.selectionEnd<r+i&&(n===t.length-1?e.selectionEnd=Math.min(r+t[n].length,e.value.length):e.selectionEnd=r+i-1),r+=i}}function _(e){let t=e.value.slice(0,e.selectionStart),r=e.value.slice(e.selectionEnd),n=t.match(/\n*$/),i=r.match(/^\n*/),o=n?n[0].length:0,s=i?i[0].length:0,a="",l="";return t.match(/\S/)&&o<2&&(a="\n".repeat(2-o)),r.match(/\S/)&&s<2&&(l="\n".repeat(2-s)),{newlinesToAppend:a,newlinesToPrepend:l}}function w(e,t,r={}){let n=e.selectionStart,i=e.selectionEnd,o=n===i,s=e.value,a=n;for(;a>0&&"\n"!==s[a-1];)a--;if(o){let t=n;for(;t<s.length&&"\n"!==s[t];)t++;e.selectionStart=a,e.selectionEnd=t}else k(e);let l=t(e);if(r.adjustSelection){let t=e.value.slice(e.selectionStart,e.selectionEnd).startsWith(r.prefix),o=r.adjustSelection(t,n,i,a);l.selectionStart=o.start,l.selectionEnd=o.end}else if(r.prefix){let t=e.value.slice(e.selectionStart,e.selectionEnd).startsWith(r.prefix);o?(t?l.selectionStart=Math.max(n-r.prefix.length,a):l.selectionStart=n+r.prefix.length,l.selectionEnd=l.selectionStart):t?(l.selectionStart=Math.max(n-r.prefix.length,a),l.selectionEnd=Math.max(i-r.prefix.length,a)):(l.selectionStart=n+r.prefix.length,l.selectionEnd=i+r.prefix.length)}return l}function C(e,t){let r,n,{prefix:i,suffix:o,blockPrefix:s,blockSuffix:a,replaceNext:l,prefixSpace:c,scanFor:u,surroundWithNewlines:p,trimFirst:d}=t,h=e.selectionStart,f=e.selectionEnd,m=e.value.slice(e.selectionStart,e.selectionEnd),g=x(m)&&s&&s.length>0?`${s} 4`:i,y=x(m)&&a&&a.length>0?` 5${a}`:o;if(c){let t=e.value[e.selectionStart-1];0===e.selectionStart||null==t||t.match(/\s/)||(g=` ${g}`)}m=function(e,t,r,n=!1){if(e.selectionStart===e.selectionEnd)e.selectionStart=function(e,t){let r=t;for(;e[r]&&null!=e[r-1]&&!e[r-1].match(/\s/);)r--;return r}(e.value,e.selectionStart),e.selectionEnd=function(e,t,r){let n=t,i=r?/\n/:/\s/;for(;e[n]&&!e[n].match(i);)n++;return n}(e.value,e.selectionEnd,n);else{let n=e.selectionStart-t.length,i=e.selectionEnd+r.length,o=e.value.slice(n,e.selectionStart)===t,s=e.value.slice(e.selectionEnd,i)===r;o&&s&&(e.selectionStart=n,e.selectionEnd=i)}return e.value.slice(e.selectionStart,e.selectionEnd)}(e,g,y,t.multiline);let b=e.selectionStart,v=e.selectionEnd,k=l&&l.length>0&&y.indexOf(l)>-1&&m.length>0;if(p){let t=_(e);r=t.newlinesToAppend,n=t.newlinesToPrepend,g=r+i,y+=n}if(m.startsWith(g)&&m.endsWith(y)){let e=m.slice(g.length,m.length-y.length);if(h===f){let t=h-g.length;b=v=t=Math.min(t=Math.max(t,b),b+e.length)}else v=b+e.length;return{text:e,selectionStart:b,selectionEnd:v}}if(k)if(u&&u.length>0&&m.match(u))return{text:g+(y=y.replace(l,m)),selectionStart:b=v=b+g.length,selectionEnd:v};else{let e=g+m+y;return v=(b=b+g.length+m.length+y.indexOf(l))+l.length,{text:e,selectionStart:b,selectionEnd:v}}{let e=g+m+y;b=h+g.length,v=f+g.length;let t=m.match(/^\s*|\s*$/g);if(d&&t){let r=t[0]||"",n=t[1]||"";e=r+g+m.trim()+y+n,b+=r.length,v-=n.length}return{text:e,selectionStart:b,selectionEnd:v}}}function E(e,t){let{prefix:r,suffix:n,surroundWithNewlines:i}=t,o=e.value.slice(e.selectionStart,e.selectionEnd),s=e.selectionStart,a=e.selectionEnd,l=o.split("\n");if(l.every(e=>
5e.startsWith(r)&&(!n||e.endsWith(n))))a=s+(o=l.map(e=>{let t=e.slice(r.length);return n&&(t=t.slice(0,t.length-n.length)),t}).join("\n")).length;else if(o=l.map(e=>r+e+(n||"")).join("\n"),i){let{newlinesToAppend:t,newlinesToPrepend:r}=_(e);s+=t.length,a=s+o.length,o=t+o+r}return{text:o,selectionStart:s,selectionEnd:a}}function D(e){let t=e.split("\n"),r=/^\d+\.\s+/,n=t.every(e=>r.test(e)),i=t;return n&&(i=t.map(e=>e.replace(r,""))),{text:i.join("\n"),processed:n}}function S(e){let t=e.split("\n"),r=t.every(e=>e.startsWith("- ")),n=t;return r&&(n=t.map(e=>e.slice(2))),{text:n.join("\n"),processed:r}}function A(e,t){return t?"- ":`${e+1}. `}function F(e,t){let r=w(e,e=>(function(e,t){let r,n,i,o=e.selectionStart===e.selectionEnd,s=e.selectionStart,a=e.selectionEnd;k(e);let l=e.value.slice(e.selectionStart,e.selectionEnd),[c,u,p]=(i=t.orderedList?(n=S((r=D(l)).text)).text:(n=D((r=S(l)).text)).text,[r,n,i]),d=p.split("\n").map((e,r)=>`${A(r,t.unorderedList)}${e}`),h=d.reduce((e,r,n)=>e+A(n,t.unorderedList).length,0),f=d.reduce((e,r,n)=>e+A(n,!t.unorderedList).length,0);if(c.processed)return o?a=s=Math.max(s-A(0,t.unorderedList).length,0):(s=e.selectionStart,a=e.selectionEnd-h),{text:p,selectionStart:s,selectionEnd:a};let{newlinesToAppend:m,newlinesToPrepend:g}=_(e),y=m+d.join("\n")+g;return o?a=s=Math.max(s+A(0,t.unorderedList).length+m.length,0):u.processed?(s=Math.max(e.selectionStart+m.length,0),a=e.selectionEnd+m.length+h-f):(s=Math.max(e.selectionStart+m.length,0),a=e.selectionEnd+m.length+h),{text:y,selectionStart:s,selectionEnd:a}})(e,t),{adjustSelection:(r,n,i,o)=>{let s=e.value.slice(o,e.selectionEnd),a=/^\d+\.\s+/,l=/^- /,c=a.test(s),u=l.test(s),p=t.orderedList&&c||t.unorderedList&&u;if(n===i)if(p){let e=s.match(t.orderedList?a:l),r=e?e[0].length:0;return{start:Math.max(n-r,o),end:Math.max(n-r,o)}}else if(c||u){let e=s.match(c?a:l),r=e?e[0].length:0,i=(t.unorderedList?2:3)-r;return{start:n+i,end:n+i}}else{let e=t.unorderedList?2:3;return{start:n+e,end:n+e}}if(p){let e=s.match(t.orderedList?a:l),r=e?e[0].length:0;return{start:Math.max(n-r,o),end:Math.max(i-r,o)}}if(c||u){let e=s.match(c?a:l),r=e?e[0].length:0,o=(t.unorderedList?2:3)-r;return{start:n+o,end:i+o}}{let e=t.unorderedList?2:3;return{start:n+e,end:i+e}}}});v(e,r)}function L(e){if(!e||e.disabled||e.readOnly)return;m("toggleBold","Starting"),g(e,"Before");let t=C(e,f(h.bold));y(t),v(e,t),g(e,"After")}function j(e){if(!e||e.disabled||e.readOnly)return;let t=C(e,f(h.italic));v(e,t)}function T(e,t={}){if(!e||e.disabled||e.readOnly)return;let r=e.value.slice(e.selectionStart,e.selectionEnd),n=f(h.link);if(r&&r.match(/^https?:\/\//)&&!t.url?(n.suffix=`](${r})`,n.replaceNext=""):t.url&&(n.suffix=`](${t.url})`,n.replaceNext=""),t.text&&!r){let r=e.selectionStart;e.value=e.value.slice(0,r)+t.text+e.value.slice(r),e.selectionStart=r,e.selectionEnd=r+t.text.length}let i=C(e,n);v(e,i)}function P(e){!e||e.disabled||e.readOnly||F(e,f(h.bulletList))}function O(e){!e||e.disabled||e.readOnly||F(e,f(h.numberedList))}function z(e,t=1,r=!1){if(!e||e.disabled||e.readOnly)return;(t<1||t>6)&&(t=1),m("insertHeader","============ START ============"),m("insertHeader",`Level: ${t}, Toggle: ${r}`),m("insertHeader",`Initial cursor: ${e.selectionStart}-${e.selectionEnd}`);let n=f(h[`header${1===t?"1":t}`]||h.header1);m("insertHeader",`Style prefix: "${n.prefix}"`);let i=e.value,o=e.selectionStart,s=e.selectionEnd,a=o;for(;a>0&&"\n"!==i[a-1];)a--;let l=s;for(;l<i.length&&"\n"!==i[l];)l++;let c=i.slice(a,l);m("insertHeader",`Current line (before): "${c}"`);let u=c.match(/^(#{1,6})\s*/),p=u?u[1].length:0,d=u?u[0].length:0;m("insertHeader","Existing header check:"),m("insertHeader",` - Match: ${u?`"${u[0]}"`:"none"}`),m("insertHeader",` - Existing level: ${p}`),m("insertHeader",` - Existing prefix length: ${d}`),m("insertHeader",` - Target level: ${t}`);let g=r&&p===t;m("insertHeader",`Should toggle OFF: ${g} (toggle=${r}, existingLevel=${p}, level=${t})`);let y=w(e,e=>{let r,i=e.value.slice(e.selectionStart,e.selectionEnd);m("insertHeader",`Line in operation: "${i}"`);let o=i.replace(/^#{1,6}\s*/,"");return m("insertHeader",`Cleaned line: "${o}"`),g?(m("insertHeader","ACTION: Toggling OFF - removing header"),r=o):(p>0?m("insertHeader",`ACTION: Replacing H${p} with H${t}`):m("insertHeader","ACTION: Adding new header"),r=n.prefix+o),m("insertHeader",`New line: "${r}"`),{text:r,selectionStart:e.selectionStart,selectionEnd:e.selectionEnd}}
5,{prefix:n.prefix,adjustSelection:(e,t,r,i)=>{if(m("insertHeader","Adjusting selection:"),m("insertHeader",` - isRemoving param: ${e}`),m("insertHeader",` - shouldToggleOff: ${g}`),m("insertHeader",` - selStart: ${t}, selEnd: ${r}`),m("insertHeader",` - lineStartPos: ${i}`),g){let e=Math.max(t-d,i);return m("insertHeader",` - Removing header, adjusting by -${d}`),{start:e,end:t===r?e:Math.max(r-d,i)}}if(!(d>0))return m("insertHeader",` - Adding header, adjusting by +${n.prefix.length}`),{start:t+n.prefix.length,end:r+n.prefix.length};{let e=n.prefix.length-d;return m("insertHeader",` - Replacing header, adjusting by ${e}`),{start:t+e,end:r+e}}}});m("insertHeader",`Final result: text="${y.text}", cursor=${y.selectionStart}-${y.selectionEnd}`),m("insertHeader","============ END ============"),v(e,y)}var N=class{constructor(e){this.editor=e,this.textarea=e.textarea}handleKeydown(e){if(!(navigator.platform.toLowerCase().includes("mac")?e.metaKey:e.ctrlKey))return!1;let t=null;switch(e.key.toLowerCase()){case"b":e.shiftKey||(t="toggleBold");break;case"i":e.shiftKey||(t="toggleItalic");break;case"k":e.shiftKey||(t="insertLink");break;case"7":e.shiftKey&&(t="toggleNumberedList");break;case"8":e.shiftKey&&(t="toggleBulletList")}return!!t&&(e.preventDefault(),this.editor.toolbar?this.editor.toolbar.handleAction(t):this.handleAction(t),!0)}async handleAction(e){let t=this.textarea;if(t){t.focus();try{switch(e){case"toggleBold":L(t);break;case"toggleItalic":j(t);break;case"insertLink":T(t);break;case"toggleBulletList":P(t);break;case"toggleNumberedList":O(t)}t.dispatchEvent(new Event("input",{bubbles:!0}))}catch(e){console.error("Error in markdown action:",e)}}}destroy(){}},M={name:"solar",colors:{bgPrimary:"#faf0ca",bgSecondary:"#ffffff",text:"#0d3b66",h1:"#f95738",h2:"#ee964b",h3:"#3d8a51",strong:"#ee964b",em:"#f95738",link:"#0d3b66",code:"#0d3b66",codeBg:"rgba(244, 211, 94, 0.4)",blockquote:"#5a7a9b",hr:"#5a7a9b",syntaxMarker:"rgba(13, 59, 102, 0.52)",cursor:"#f95738",selection:"rgba(244, 211, 94, 0.4)",listMarker:"#ee964b",toolbarBg:"#ffffff",toolbarBorder:"rgba(13, 59, 102, 0.15)",toolbarIcon:"#0d3b66",toolbarHover:"#f5f5f5",toolbarActive:"#faf0ca"}},B={name:"cave",colors:{bgPrimary:"#141E26",bgSecondary:"#1D2D3E",text:"#c5dde8",h1:"#d4a5ff",h2:"#f6ae2d",h3:"#9fcfec",strong:"#f6ae2d",em:"#9fcfec",link:"#9fcfec",code:"#c5dde8",codeBg:"#1a232b",blockquote:"#9fcfec",hr:"#c5dde8",syntaxMarker:"rgba(159, 207, 236, 0.73)",cursor:"#f26419",selection:"rgba(51, 101, 138, 0.4)",listMarker:"#f6ae2d",toolbarBg:"#1D2D3E",toolbarBorder:"rgba(197, 221, 232, 0.1)",toolbarIcon:"#c5dde8",toolbarHover:"#243546",toolbarActive:"#2a3f52"}},I={solar:M,cave:B,light:M,dark:B};function $(e){return"string"==typeof e?{...I[e]||I.solar,name:e}:e}function R(e){let t=[];for(let[r,n]of Object.entries(e)){let e=r.replace(/([A-Z])/g,"-$1").toLowerCase();t.push(`--${e}: ${n};`)}return t.join("\n")}var q=`<svg viewBox="0 0 18 18"> 6 <path stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z"></path> 7 <path stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z"></path> 8</svg>`,H=`<svg viewBox="0 0 18 18"> 9 <line stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" x1="7" x2="13" y1="4" y2="4"></line> 10 <line stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" x1="5" x2="11" y1="14" y2="14"></line> 11 <line stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" x1="8" x2="10" y1="14" y2="4"></line> 12</svg>`,V=`<svg viewBox="0 0 18 18"> 13 <path fill="currentColor" d="M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z"></path> 14</svg>`,U=`<svg viewBox="0 0 18 18">
15 <path fill="currentColor" d="M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"></path> 16</svg>`,Z=`<svg viewBox="0 0 18 18"> 17 <path fill="currentColor" d="M16.65186,12.30664a2.6742,2.6742,0,0,1-2.915,2.68457,3.96592,3.96592,0,0,1-2.25537-.6709.56007.56007,0,0,1-.13232-.83594L11.64648,13c.209-.34082.48389-.36328.82471-.1543a2.32654,2.32654,0,0,0,1.12256.33008c.71484,0,1.12207-.35156,1.12207-.78125,0-.61523-.61621-.86816-1.46338-.86816H13.2085a.65159.65159,0,0,1-.68213-.41895l-.05518-.10937a.67114.67114,0,0,1,.14307-.78125l.71533-.86914a8.55289,8.55289,0,0,1,.68213-.7373V8.58887a3.93913,3.93913,0,0,1-.748.05469H11.9873a.54085.54085,0,0,1-.605-.60547V7.59863a.54085.54085,0,0,1,.605-.60547h3.75146a.53773.53773,0,0,1,.60547.59375v.17676a1.03723,1.03723,0,0,1-.27539.748L14.74854,10.0293A2.31132,2.31132,0,0,1,16.65186,12.30664ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"></path> 18</svg>`,W=`<svg viewBox="0 0 18 18"> 19 <line stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" x1="7" x2="11" y1="7" y2="11"></line> 20 <path stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z"></path> 21 <path stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z"></path> 22</svg>`,G=`<svg viewBox="0 0 18 18"> 23 <polyline stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" points="5 7 3 9 5 11"></polyline> 24 <polyline stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" points="13 7 15 9 13 11"></polyline> 25 <line stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" x1="10" x2="8" y1="5" y2="13"></line> 26</svg>`,K=`<svg viewBox="0 0 18 18"> 27 <line stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" x1="6" x2="15" y1="4" y2="4"></line> 28 <line stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" x1="6" x2="15" y1="9" y2="9"></line> 29 <line stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" x1="6" x2="15" y1="14" y2="14"></line> 30 <line stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" x1="3" x2="3" y1="4" y2="4"></line> 31 <line stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" x1="3" x2="3" y1="9" y2="9"></line> 32 <line stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" x1="3" x2="3" y1="14" y2="14"></line> 33</svg>`,X=`<svg viewBox="0 0 18 18"> 34 <line stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" x1="7" x2="15" y1="4" y2="4"></line> 35 <line stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" x1="7" x2="15" y1="9" y2="9"></line> 36 <line stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" x1="7" x2="15" y1="14" y2="14"></line> 37 <line stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="1" x1="2.5" x2="4.5" y1="5.5" y2="5.5"></line>
38 <path fill="currentColor" d="M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z"></path> 39 <path stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="1" d="M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156"></path> 40 <path stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="1" d="M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109"></path> 41</svg>`,J=`<svg viewBox="2 2 20 20"> 42 <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 10.8182L9 10.8182C8.80222 10.8182 8.60888 10.7649 8.44443 10.665C8.27998 10.5651 8.15181 10.4231 8.07612 10.257C8.00043 10.0909 7.98063 9.90808 8.01922 9.73174C8.0578 9.55539 8.15304 9.39341 8.29289 9.26627C8.43275 9.13913 8.61093 9.05255 8.80491 9.01747C8.99889 8.98239 9.19996 9.00039 9.38268 9.0692C9.56541 9.13801 9.72159 9.25453 9.83147 9.40403C9.94135 9.55353 10 9.72929 10 9.90909L10 12.1818C10 12.664 9.78929 13.1265 9.41421 13.4675C9.03914 13.8084 8.53043 14 8 14"></path> 43 <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16 10.8182L15 10.8182C14.8022 10.8182 14.6089 10.7649 14.4444 10.665C14.28 10.5651 14.1518 10.4231 14.0761 10.257C14.0004 10.0909 13.9806 9.90808 14.0192 9.73174C14.0578 9.55539 14.153 9.39341 14.2929 9.26627C14.4327 9.13913 14.6109 9.05255 14.8049 9.01747C14.9989 8.98239 15.2 9.00039 15.3827 9.0692C15.5654 9.13801 15.7216 9.25453 15.8315 9.40403C15.9414 9.55353 16 9.72929 16 9.90909L16 12.1818C16 12.664 15.7893 13.1265 15.4142 13.4675C15.0391 13.8084 14.5304 14 14 14"></path> 44</svg>`,Q=`<svg viewBox="0 0 18 18"> 45 <line stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" x1="8" x2="16" y1="4" y2="4"></line> 46 <line stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" x1="8" x2="16" y1="9" y2="9"></line> 47 <line stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" x1="8" x2="16" y1="14" y2="14"></line> 48 <rect stroke="currentColor" fill="none" stroke-width="1.5" x="2" y="3" width="3" height="3" rx="0.5"></rect> 49 <rect stroke="currentColor" fill="none" stroke-width="1.5" x="2" y="13" width="3" height="3" rx="0.5"></rect> 50 <polyline stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" points="2.65 9.5 3.5 10.5 5 8.5"></polyline> 51</svg>`,Y=`<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> 52 <path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z" fill="none"></path> 53 <circle cx="12" cy="12" r="3" fill="none"></circle> 54</svg>`,ee=class{constructor(e,t=null){this.editor=e,this.container=null,this.buttons={},this.buttonConfig=t}create(){var e;this.container=document.createElement("div"),this.container.className="overtype-toolbar",this.container.setAttribute("role","toolbar"),this.container.setAttribute("aria-label","Text formatting"),(null!=(e=this.buttonConfig)?e:[{name:"bold",icon:q,title:"Bold (Ctrl+B)",action:"toggleBold"},{name:"italic",icon:H,title:"Italic (Ctrl+I)",action:"toggleItalic"},{separator:!0},{name:"h1",icon:V,title:"Heading 1",action:"insertH1"},{name:"h2",icon:U,title:"Heading 2",action:"insertH2"},{name:"h3",icon:Z,title:"Heading 3",action:"insertH3"},{separator:!0},{name:"link",icon:W,title:"Insert Link (Ctrl+K)",action:"insertLink"},{name:"code",icon:G,title:"Code (Ctrl+`)",action:"toggleCode"},{separator:!0},{name:"quote",icon:J,title:"Quote",action:"toggleQuote"},{separator:!0},{name:"bulletList",icon:K,title:"Bullet List",action:"toggleBulletList"},{name:"orderedList",icon:X,title:"Numbered List",action:"toggleNumberedList"},{name:"taskList",icon:Q,title:"Task List",action:"toggleTaskList"},{separator:!0},{name:"viewMode",icon:Y,title:"View mode",action:"toggle-view-menu",hasDropdown:!0}
54]).forEach(e=>{if(e.separator){let e=document.createElement("div");e.className="overtype-toolbar-separator",e.setAttribute("role","separator"),this.container.appendChild(e)}else{let t=this.createButton(e);this.buttons[e.name]=t,this.container.appendChild(t)}});let t=this.editor.element.querySelector(".overtype-container"),r=this.editor.element.querySelector(".overtype-wrapper");return t&&r&&t.insertBefore(this.container,r),this.container}createButton(e){let t=document.createElement("button");return t.className="overtype-toolbar-button",t.type="button",t.title=e.title,t.setAttribute("aria-label",e.title),t.setAttribute("data-action",e.action),t.innerHTML=e.icon,e.hasDropdown&&(t.classList.add("has-dropdown"),"viewMode"===e.name&&(this.viewModeButton=t)),t.addEventListener("click",r=>{r.preventDefault(),this.handleAction(e.action,t)}),t}async handleAction(e,t){let r=this.editor.textarea;if(r){if("toggle-view-menu"===e)return void this.toggleViewDropdown(t);r.focus();try{switch(e){case"toggleBold":L(r);break;case"toggleItalic":j(r);break;case"insertH1":z(r,1,!0);break;case"insertH2":z(r,2,!0);break;case"insertH3":z(r,3,!0);break;case"insertLink":T(r);break;case"toggleCode":!function(e){if(!e||e.disabled||e.readOnly)return;let t=C(e,f(h.code));v(e,t)}(r);break;case"toggleBulletList":P(r);break;case"toggleNumberedList":O(r);break;case"toggleQuote":!function(e){if(!e||e.disabled||e.readOnly)return;m("toggleQuote","Starting"),g(e,"Initial");let t=f(h.quote),r=w(e,e=>E(e,t),{prefix:t.prefix});y(r),v(e,r),g(e,"Final")}(r);break;case"toggleTaskList":!function(e){if(!e||e.disabled||e.readOnly)return;let t=f(h.taskList),r=w(e,e=>E(e,t),{prefix:t.prefix});v(e,r)}(r);break;case"toggle-plain":let t=this.editor.container.classList.contains("plain-mode");this.editor.showPlainTextarea(!t)}r.dispatchEvent(new Event("input",{bubbles:!0}))}catch(e){console.error("Error loading markdown-actions:",e)}}}async updateButtonStates(){let e=this.editor.textarea;if(e)try{let t=function(e){if(!e)return[];let t=[],{selectionStart:r,selectionEnd:n,value:i}=e,o=i.split("\n"),s=0,a="";for(let e of o){if(r>=s&&r<=s+e.length){a=e;break}s+=e.length+1}a.startsWith("- ")&&(a.startsWith("- [ ] ")||a.startsWith("- [x] ")?t.push("task-list"):t.push("bullet-list")),/^\d+\.\s/.test(a)&&t.push("numbered-list"),a.startsWith("> ")&&t.push("quote"),a.startsWith("# ")&&t.push("header"),a.startsWith("## ")&&t.push("header-2"),a.startsWith("### ")&&t.push("header-3");let l=Math.max(0,r-10),c=Math.min(i.length,n+10),u=i.slice(l,c);if(u.includes("**")){let e=i.slice(Math.max(0,r-100),r),o=i.slice(n,Math.min(i.length,n+100)),s=e.lastIndexOf("**"),a=o.indexOf("**");-1!==s&&-1!==a&&t.push("bold")}if(u.includes("_")){let e=i.slice(Math.max(0,r-100),r),o=i.slice(n,Math.min(i.length,n+100)),s=e.lastIndexOf("_"),a=o.indexOf("_");-1!==s&&-1!==a&&t.push("italic")}if(u.includes("`")){let e=i.slice(Math.max(0,r-100),r),o=i.slice(n,Math.min(i.length,n+100));e.includes("`")&&o.includes("`")&&t.push("code")}if(u.includes("[")&&u.includes("]")){let e=i.slice(Math.max(0,r-100),r),o=i.slice(n,Math.min(i.length,n+100)),s=e.lastIndexOf("["),a=o.indexOf("]");-1!==s&&-1!==a&&i.slice(n+a+1,n+a+10).startsWith("(")&&t.push("link")}return t}(e);Object.entries(this.buttons).forEach(([e,r])=>{let n=!1;switch(e){case"bold":n=t.includes("bold");break;case"italic":n=t.includes("italic");break;case"code":n=!1;break;case"bulletList":n=t.includes("bullet-list");break;case"orderedList":n=t.includes("numbered-list");break;case"quote":n=t.includes("quote");break;case"taskList":n=t.includes("task-list");break;case"h1":n=t.includes("header");break;case"h2":n=t.includes("header-2");break;case"h3":n=t.includes("header-3");break;case"togglePlain":n=!this.editor.container.classList.contains("plain-mode")}r.classList.toggle("active",n),r.setAttribute("aria-pressed",n.toString())})}catch(e){}}toggleViewDropdown(e){let t=document.querySelector(".overtype-dropdown-menu");if(t){t.remove(),e.classList.remove("dropdown-active"),document.removeEventListener("click",this.handleDocumentClick);return}let r=this.createViewDropdown(),n=e.getBoundingClientRect();r.style.top=`${n.bottom+4}px`,r.style.left=`${n.left}px`,document.body.appendChild(r),e.classList.add("dropdown-active"),this.handleDocumentClick=t=>{e.contains(t.target)||r.contains(t.target)||(r.remove(),e.classList.remove("dropdown-active"),document.removeEventListener("click",this.handleDocumentClick))},setTimeout(()=>{document.addEventListener("click",this.handleDocumentClick)},0)}createViewDropdown(){let e=document.createElement("div");e.className="overtype-dropdown-menu";let t=this.editor.container.classList.contains("plain-mode"),r=this.editor.container.classList.contains("preview-mode")?"preview":t?"plain":"normal";return[{id:"normal",label:"Normal Edit",icon:"â"},{id:"plain",label:"Plain Textarea",icon:"â"},{id:"preview",label:"Preview Mode",icon:"â"}
54].forEach(t=>{let n=document.createElement("button");n.className="overtype-dropdown-item",n.type="button";let i=document.createElement("span");i.className="overtype-dropdown-check",i.textContent=r===t.id?t.icon:"";let o=document.createElement("span");o.textContent=t.label,n.appendChild(i),n.appendChild(o),r===t.id&&n.classList.add("active"),n.addEventListener("click",r=>{r.stopPropagation(),this.setViewMode(t.id),e.remove(),this.viewModeButton.classList.remove("dropdown-active"),document.removeEventListener("click",this.handleDocumentClick)}),e.appendChild(n)}),e}setViewMode(e){switch(this.editor.container.classList.remove("plain-mode","preview-mode"),e){case"plain":this.editor.showPlainTextarea(!0);break;case"preview":this.editor.showPreviewMode(!0);break;default:this.editor.showPlainTextarea(!1),"function"==typeof this.editor.showPreviewMode&&this.editor.showPreviewMode(!1)}}destroy(){this.container&&(this.handleDocumentClick&&document.removeEventListener("click",this.handleDocumentClick),this.container.remove(),this.container=null,this.buttons={})}},et=class{constructor(e){this.editor=e,this.tooltip=null,this.currentLink=null,this.hideTimeout=null,this.init()}init(){CSS.supports("position-anchor: --x")&&CSS.supports("position-area: center")&&(this.createTooltip(),this.editor.textarea.addEventListener("selectionchange",()=>this.checkCursorPosition()),this.editor.textarea.addEventListener("keyup",e=>{(e.key.includes("Arrow")||"Home"===e.key||"End"===e.key)&&this.checkCursorPosition()}),this.editor.textarea.addEventListener("input",()=>this.hide()),this.editor.textarea.addEventListener("scroll",()=>this.hide()),this.tooltip.addEventListener("mouseenter",()=>this.cancelHide()),this.tooltip.addEventListener("mouseleave",()=>this.scheduleHide()))}createTooltip(){this.tooltip=document.createElement("div"),this.tooltip.className="overtype-link-tooltip";let e=document.createElement("style");e.textContent=` 55 @supports (position-anchor: --x) and (position-area: center) { 56 .overtype-link-tooltip { 57 position: absolute; 58 position-anchor: var(--target-anchor, --link-0); 59 position-area: block-end center; 60 margin-top: 8px !important; 61 62 background: #333 !important; 63 color: white !important; 64 padding: 6px 10px !important; 65 border-radius: 16px !important; 66 font-size: 12px !important; 67 font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important; 68 display: none !important; 69 z-index: 10000 !important; 70 cursor: pointer !important; 71 box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important; 72 max-width: 300px !important; 73 white-space: nowrap !important; 74 overflow: hidden !important; 75 text-overflow: ellipsis !important; 76 77 position-try: most-width block-end inline-end, flip-inline, block-start center; 78 position-visibility: anchors-visible; 79 } 80 81 .overtype-link-tooltip.visible { 82 display: flex !important; 83 } 84 } 85 `,document.head.appendChild(e),this.tooltip.innerHTML=` 86 <span style="display: flex; align-items: center; gap: 6px;"> 87 <svg width="12" height="12" viewBox="0 0 20 20" fill="currentColor" style="flex-shrink: 0;"> 88 <path d="M11 3a1 1 0 100 2h2.586l-6.293 6.293a1 1 0 101.414 1.414L15 6.414V9a1 1 0 102 0V4a1 1 0 00-1-1h-5z"></path> 89 <path d="M5 5a2 2 0 00-2 2v8a2 2 0 002 2h8a2 2 0 002-2v-3a1 1 0 10-2 0v3H5V7h3a1 1 0 000-2H5z"></path> 90 </svg> 91 <span class="overtype-link-tooltip-url"></span> 92 </span> 93 `,this.tooltip.addEventListener("click",e=>{e.preventDefault(),e.stopPropagation(),this.currentLink&&(window.open(this.currentLink.url,"_blank"),this.hide())}),this.editor.container.appendChild(this.tooltip)}checkCursorPosition(){let e=this.editor.textarea.selectionStart,t=this.editor.textarea.value,r=this.findLinkAtPosition(t,e);r?this.currentLink&&this.currentLink.url===r.url&&this.currentLink.index===r.index||this.show(r):this.scheduleHide()}findLinkAtPosition(e,t){let r,n=/\[([^\]]+)\]\(([^)]+)\)/g,i=0;for(;null!==(r=n.exec(e));){let e=r.index,n=r.index+r[0].length;if(t>=e&&t<=n)return{text:r[1],url:r[2],index:i,start:e,end:n};i++}return null}show(e){this.currentLink=e,this.cancelHide(),this.tooltip.querySelector(".overtype-link-tooltip-url").textContent=e.url,this.tooltip.style.setProperty("--target-anchor",`--link-${e.index}`),this.tooltip.classList.add("visible")}hide(){this.tooltip.classList.remove("visible"),this.currentLink=null}scheduleHide(){this.cancelHide(),this.hideTimeout=setTimeout(()=>this.hide(),300)}cancelHide(){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=null)}destroy(){this.cancelHide(),this.tooltip&&this.tooltip.parentNode&&this.tooltip.parentNode.removeChild(this.tooltip),this.tooltip=null,this.currentLink=null}},er=class e{constructor(t,r={}){let n;if("string"==typeof t){if(0===(n=document.querySelectorAll(t)).length)throw Error(`No elements found for selector: ${t}`);n=Array.from(n)}else if(t instanceof Element)n=[t];else if(t instanceof NodeList)n=Array.from(t);else if(Array.isArray(t))n=t;else throw Error("Invalid target: must be selector string, Element, NodeList, or Array");return n.map(t=>{if(t.overTypeInstance)return t.overTypeInstance.reinit(r),t.overTypeInstance;let n=Object.create(e.prototype);return n._init(t,r),t.overTypeInstance=n,e.instances.set(t,n),n})}_init(t,r={}){this.element=t,this.instanceTheme=r.theme||null,this.options=this._mergeOptions(r),this.instanceId=++e.instanceCount,this.initialized=!1,e.injectStyles(),e.initGlobalListeners();let n=t.querySelector(".overtype-container"),i=t.querySelector(".overtype-wrapper");if(n||i?this._recoverFromDOM(n,i):this._buildFromScratch(),this.shortcuts=new N(this),this.linkTooltip=new et(this),this.options.toolbar){let e="object"==typeof this.options.toolbar?this.options.toolbar.buttons:null;
93this.toolbar=new ee(this,e),this.toolbar.create(),this.textarea.addEventListener("selectionchange",()=>{this.toolbar.updateButtonStates()}),this.textarea.addEventListener("input",()=>{this.toolbar.updateButtonStates()})}this.initialized=!0,this.options.onChange&&this.options.onChange(this.getValue(),this)}_mergeOptions(e){let{theme:t,colors:r,...n}=e;return{fontSize:"14px",lineHeight:1.6,fontFamily:'"SF Mono", SFMono-Regular, Menlo, Monaco, "Cascadia Code", Consolas, "Roboto Mono", "Noto Sans Mono", "Droid Sans Mono", "Ubuntu Mono", "DejaVu Sans Mono", "Liberation Mono", "Courier New", Courier, monospace',padding:"16px",mobile:{fontSize:"16px",padding:"12px",lineHeight:1.5},textareaProps:{},autofocus:!1,autoResize:!1,minHeight:"100px",maxHeight:null,placeholder:"Start typing...",value:"",onChange:null,onKeydown:null,showActiveLineRaw:!1,showStats:!1,toolbar:!1,statsFormatter:null,smartLists:!0,...n}}_recoverFromDOM(t,r){if(t&&t.classList.contains("overtype-container"))this.container=t,this.wrapper=t.querySelector(".overtype-wrapper");else if(r){this.wrapper=r,this.container=document.createElement("div"),this.container.className="overtype-container";let t=this.instanceTheme||e.currentTheme||M,n="string"==typeof t?t:t.name;if(n&&this.container.setAttribute("data-theme",n),this.instanceTheme){let e="string"==typeof this.instanceTheme?$(this.instanceTheme):this.instanceTheme;if(e&&e.colors){let t=R(e.colors);this.container.style.cssText+=t}}r.parentNode.insertBefore(this.container,r),this.container.appendChild(r)}if(!this.wrapper){t&&t.remove(),r&&r.remove(),this._buildFromScratch();return}if(this.textarea=this.wrapper.querySelector(".overtype-input"),this.preview=this.wrapper.querySelector(".overtype-preview"),!this.textarea||!this.preview){this.container.remove(),this._buildFromScratch();return}this.wrapper._instance=this,this.options.fontSize&&this.wrapper.style.setProperty("--instance-font-size",this.options.fontSize),this.options.lineHeight&&this.wrapper.style.setProperty("--instance-line-height",String(this.options.lineHeight)),this.options.padding&&this.wrapper.style.setProperty("--instance-padding",this.options.padding),this._configureTextarea(),this._applyOptions()}_buildFromScratch(){let e=this._extractContent();this.element.innerHTML="",this._createDOM(),(e||this.options.value)&&this.setValue(e||this.options.value),this._applyOptions()}_extractContent(){let e=this.element.querySelector(".overtype-input");return e?e.value:this.element.textContent||""}_createDOM(){this.container=document.createElement("div"),this.container.className="overtype-container";let t=this.instanceTheme||e.currentTheme||M,r="string"==typeof t?t:t.name;if(r&&this.container.setAttribute("data-theme",r),this.instanceTheme){let e="string"==typeof this.instanceTheme?$(this.instanceTheme):this.instanceTheme;if(e&&e.colors){let t=R(e.colors);this.container.style.cssText+=t}}this.wrapper=document.createElement("div"),this.wrapper.className="overtype-wrapper",this.options.fontSize&&this.wrapper.style.setProperty("--instance-font-size",this.options.fontSize),this.options.lineHeight&&this.wrapper.style.setProperty("--instance-line-height",String(this.options.lineHeight)),this.options.padding&&this.wrapper.style.setProperty("--instance-padding",this.options.padding),this.wrapper._instance=this,this.textarea=document.createElement("textarea"),this.textarea.className="overtype-input",this.textarea.placeholder=this.options.placeholder,this._configureTextarea(),this.options.textareaProps&&Object.entries(this.options.textareaProps).forEach(([e,t])=>{"className"===e||"class"===e?this.textarea.className+=" "+t:"style"===e&&"object"==typeof t?Object.assign(this.textarea.style,t):this.textarea.setAttribute(e,t)}),this.preview=document.createElement("div"),this.preview.className="overtype-preview",this.preview.setAttribute("aria-hidden","true"),this.wrapper.appendChild(this.textarea),this.wrapper.appendChild(this.preview),this.container.appendChild(this.wrapper),this.options.showStats&&(this.statsBar=document.createElement("div"),this.statsBar.className="overtype-stats",this.container.appendChild(this.statsBar),this._updateStats()),this.element.appendChild(this.container),window.location.pathname.includes("demo.html")&&console.log("_createDOM completed:",{elementId:this.element.i
93d,autoResize:this.options.autoResize,containerClasses:this.container.className,hasStats:!!this.statsBar,hasToolbar:this.options.toolbar}),this.options.autoResize?this._setupAutoResize():(this.container.classList.remove("overtype-auto-resize"),window.location.pathname.includes("demo.html")&&console.log("Removed auto-resize class from:",this.element.id))}_configureTextarea(){this.textarea.setAttribute("autocomplete","off"),this.textarea.setAttribute("autocorrect","off"),this.textarea.setAttribute("autocapitalize","off"),this.textarea.setAttribute("spellcheck","false"),this.textarea.setAttribute("data-gramm","false"),this.textarea.setAttribute("data-gramm_editor","false"),this.textarea.setAttribute("data-enable-grammarly","false")}_applyOptions(){this.options.autofocus&&this.textarea.focus(),this.options.autoResize?this.container.classList.contains("overtype-auto-resize")||this._setupAutoResize():this.container.classList.remove("overtype-auto-resize"),this.updatePreview()}updatePreview(){let e=this.textarea.value,t=this.textarea.selectionStart,r=this._getCurrentLine(e,t),n=s.parse(e,r,this.options.showActiveLineRaw);this.preview.innerHTML=n||'<span style="color: #808080;">Start typing...</span>',this._applyCodeBlockBackgrounds(),this.options.showStats&&this.statsBar&&this._updateStats(),this.options.onChange&&this.initialized&&this.options.onChange(e,this)}_applyCodeBlockBackgrounds(){let e=this.preview.querySelectorAll(".code-fence");for(let t=0;t<e.length-1;t+=2){let r=e[t],n=e[t+1],i=r.parentElement,o=n.parentElement;i&&o&&(r.style.display="block",n.style.display="block",i.classList.add("code-block-line"),o.classList.add("code-block-line"))}}_getCurrentLine(e,t){return e.substring(0,t).split("\n").length-1}handleInput(e){this.updatePreview()}handleKeydown(e){if("Tab"===e.key){e.preventDefault();let t=this.textarea.selectionStart,r=this.textarea.selectionEnd,n=this.textarea.value;if(t!==r&&e.shiftKey){let e=n.substring(0,t),i=n.substring(t,r),o=n.substring(r),s=i.split("\n").map(e=>e.replace(/^ /,"")).join("\n");document.execCommand?(this.textarea.setSelectionRange(t,r),document.execCommand("insertText",!1,s)):(this.textarea.value=e+s+o,this.textarea.selectionStart=t,this.textarea.selectionEnd=t+s.length)}else if(t!==r){let e=n.substring(0,t),i=n.substring(t,r),o=n.substring(r),s=i.split("\n").map(e=>" "+e).join("\n");document.execCommand?(this.textarea.setSelectionRange(t,r),document.execCommand("insertText",!1,s)):(this.textarea.value=e+s+o,this.textarea.selectionStart=t,this.textarea.selectionEnd=t+s.length)}else document.execCommand?document.execCommand("insertText",!1," "):(this.textarea.value=n.substring(0,t)+" "+n.substring(r),this.textarea.selectionStart=this.textarea.selectionEnd=t+2);this.textarea.dispatchEvent(new Event("input",{bubbles:!0}));return}"Enter"===e.key&&!e.shiftKey&&!e.metaKey&&!e.ctrlKey&&this.options.smartLists&&this.handleSmartListContinuation()?e.preventDefault():!this.shortcuts.handleKeydown(e)&&this.options.onKeydown&&this.options.onKeydown(e,this)}handleSmartListContinuation(){let e=this.textarea,t=e.selectionStart,r=s.getListContext(e.value,t);return!!r&&!!r.inList&&(""===r.content.trim()&&t>=r.markerEndPos?this.deleteListMarker(r):(t>r.markerEndPos&&t<r.lineEnd?this.splitListItem(r,t):this.insertNewListItem(r),"numbered"===r.listType&&this.scheduleNumberedListUpdate()),!0)}deleteListMarker(e){this.textarea.setSelectionRange(e.lineStart,e.markerEndPos),document.execCommand("delete"),this.textarea.dispatchEvent(new Event("input",{bubbles:!0}))}insertNewListItem(e){let t=s.createNewListItem(e);document.execCommand("insertText",!1,"\n"+t),this.textarea.dispatchEvent(new Event("input",{bubbles:!0}))}splitListItem(e,t){let r=e.content.substring(t-e.markerEndPos);this.textarea.setSelectionRange(t,e.lineEnd),document.execCommand("delete");let n=s.createNewListItem(e);document.execCommand("insertText",!1,"\n"+n+r);let i=this.textarea.selectionStart-r.length;this.textarea.setSelectionRange(i,i),this.textarea.dispatchEvent(new Event("input",{bubbles:!0}))}scheduleNumberedListUpdate(){this.numberUpdateTimeout&&clearTimeout(this.numberUpdateTimeout),this.numberUpdateTimeout=setTimeout(()=>{this.updateNumberedLists()},10)}updateNumberedLists(){let e=this.textarea.value,t=this.textarea.selectionStart,r=s.renumberLists(e);if(r!==e){let n=0,i=e.split("\n"),o=r.split("\n"),s=0;for(let e=0;e<i.length&&s<t;e++){if(i[e]!==o[e]){let r=o[e].length-i[e].length;s+i[e].length<t&&(n+=r)}s+=i[e].length+1}this.textarea.value=r;let a=t+n;this.textarea.setSelectionRange(a,a),this.textarea.dispatchEvent(new Event("input",{bubbles:!0}))}}handleScroll(e){this.preview.scrollTop=this.textarea.scrollTop,this.preview.scrollLeft=this.textarea.scrollLeft}getValue(){return this.textarea.value}setValue(e){this.textarea.value=e,this.updatePreview(),this.options.autoResize&&this._updateAutoHeight()}getRenderedHTML(e={}){let t=this.getValue(),r=s.parse(t);return e.cleanHTML&&(r=(r=(r=r.replace(/<span class="syntax-marker[^"]*">.*?<\/span>/g,"")).replace(/\sclass="(bullet-list|ordered-list|code-fence|hr-marker|blockquote|url-part)"/g,"")).replace(/\sclass=""/g,"")),r}getPreviewHTML(){return this.preview.innerHTML}getCleanHTML(){return this.getRenderedHTML({cleanHTML:!0})}focus(){this.textarea.focus()}blur(){this.textarea.blur()}isInitialized(){return this.initialized}reinit(e={}){this.options=this._mergeOptions({...this.options,...e}),this._applyOptions(),this.updatePreview()}_updateStats(){if(!this.statsBar)return;let e=this.textarea.value,t=e.split("\n"),r=e.length,n=e.split(/\s+/).filter(e=>e.length>0).length,i=this.textarea.selectionStart,o=e.substring(0,i).split("\n"),s=o.length,a=o[o.length-1].length+1;this.options.statsFormatter?this.statsBar.innerHTML=this.options.statsFormatter({chars:r,words:n,lines:t.length,line:s,column:a}):this.statsBar.innerHTML=` 94 <div class="overtype-stat">
95 <span class="live-dot"></span> 96 <span>${r} chars, ${n} words, ${t.length} lines</span> 97 </div> 98 <div class="overtype-stat">Line ${s}, Col ${a}</div> 99 `}_setupAutoResize(){this.container.classList.add("overtype-auto-resize"),this.previousHeight=null,this._updateAutoHeight(),this.textarea.addEventListener("input",()=>this._updateAutoHeight()),window.addEventListener("resize",()=>this._updateAutoHeight())}_updateAutoHeight(){if(!this.options.autoResize)return;let e=this.textarea,t=this.preview,r=this.wrapper,n=window.getComputedStyle(e);parseFloat(n.paddingTop),parseFloat(n.paddingBottom);let i=e.scrollTop;e.style.setProperty("height","auto","important");let o=e.scrollHeight;this.options.minHeight&&(o=Math.max(o,parseInt(this.options.minHeight)));let s="hidden";if(this.options.maxHeight){let e=parseInt(this.options.maxHeight);o>e&&(o=e,s="auto")}let a=o+"px";e.style.setProperty("height",a,"important"),e.style.setProperty("overflow-y",s,"important"),t.style.setProperty("height",a,"important"),t.style.setProperty("overflow-y",s,"important"),r.style.setProperty("height",a,"important"),e.scrollTop=i,t.scrollTop=i,this.previousHeight!==o&&(this.previousHeight=o)}showStats(e){this.options.showStats=e,e&&!this.statsBar?(this.statsBar=document.createElement("div"),this.statsBar.className="overtype-stats",this.container.appendChild(this.statsBar),this._updateStats()):!e&&this.statsBar&&(this.statsBar.remove(),this.statsBar=null)}showPlainTextarea(e){if(e?this.container.classList.add("plain-mode"):this.container.classList.remove("plain-mode"),this.toolbar){let t=this.container.querySelector('[data-action="toggle-plain"]');t&&(t.classList.toggle("active",!e),t.title=e?"Show markdown preview":"Show plain textarea")}return e}showPreviewMode(e){return e?this.container.classList.add("preview-mode"):this.container.classList.remove("preview-mode"),e}destroy(){if(this.element.overTypeInstance=null,e.instances.delete(this.element),this.shortcuts&&this.shortcuts.destroy(),this.wrapper){let e=this.getValue();this.wrapper.remove(),this.element.textContent=e}this.initialized=!1}static init(t,r={}){return new e(t,r)}static getInstance(t){return t.overTypeInstance||e.instances.get(t)||null}static destroyAll(){document.querySelectorAll("[data-overtype-instance]").forEach(t=>{let r=e.getInstance(t);r&&r.destroy()})}static injectStyles(t=!1){if(e.stylesInjected&&!t)return;let r=document.querySelector("style.overtype-styles");r&&r.remove();let n=function(e={}){let{fontSize:t="14px",lineHeight:r=1.6,fontFamily:n='"SF Mono", SFMono-Regular, Menlo, Monaco, "Cascadia Code", Consolas, "Roboto Mono", "Noto Sans Mono", "Droid Sans Mono", "Ubuntu Mono", "DejaVu Sans Mono", "Liberation Mono", "Courier New", Courier, monospace',padding:i="20px",theme:o=null,mobile:s={}}=e,a=Object.keys(s).length>0?` 100 @media (max-width: 640px) { 101 .overtype-wrapper .overtype-input, 102 .overtype-wrapper .overtype-preview { 103 ${Object.entries(s).map(([e,t])=>{let r=e.replace(/([A-Z])/g,"-$1").toLowerCase();return`${r}: ${t} !important;`}).join("\n ")} 104 } 105 } 106 `:"",l=o&&o.colors?R(o.colors):"";return` 107 /* OverType Editor Styles */ 108 109 /* Middle-ground CSS Reset - Prevent parent styles from leaking in */ 110 .overtype-container * { 111 /* Box model - these commonly leak */ 112 margin: 0 !important; 113 padding: 0 !important; 114 border: 0 !important; 115 116 /* Layout - these can break our layout */ 117 /* Don't reset position - it breaks dropdowns */ 118 float: none !important; 119 clear: none !important; 120 121 /* Typography - only reset decorative aspects */ 122 text-decoration: none !important; 123 text-transform: none !important; 124 letter-spacing: normal !important; 125 126 /* Visual effects that can interfere */ 127 box-shadow: none !important; 128 text-shadow: none !important; 129 130 /* Ensure box-sizing is consistent */ 131 box-sizing: border-box !important; 132 133 /* Keep inheritance for these */ 134 /* font-family, color, line-height, font-size - inherit */ 135 } 136 137 /* Container base styles after reset */ 138 .overtype-container { 139 display: grid !important; 140 grid-template-rows: auto 1fr auto !important; 141 width: 100% !important; 142 height: 100% !important; 143 position: relative !important; /* Override reset - needed for absolute children */ 144 overflow: visible !important; /* Allow dropdown to overflow container */ 145 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important; 146 text-align: left !important; 147 ${l?` 148 /* Theme Variables */ 149 ${l}`:""} 150 } 151 152 /* Force left alignment for all elements in the editor */ 153 .overtype-container .overtype-wrapper * { 154 text-align: left !important; 155 } 156 157 /* Auto-resize mode styles */ 158 .overtype-container.overtype-auto-resize { 159 height: auto !important; 160 grid-template-rows: auto auto auto !important; 161 } 162 163 .overtype-container.overtype-auto-resize .overtype-wrapper { 164 height: auto !important; 165 min-height: 60px !important; 166 overflow: visible !important; 167 } 168 169 .overtype-wrapper { 170 position: relative !important; /* Override reset - needed for absolute children */ 171 width: 100% !important; 172 height: 100% !important; /* Take full height of grid cell */ 173 min-height: 60px !important; /* Minimum usable height */ 174 overflow: hidden !important; 175 background: var(--bg-secondary, #ffffff) !important;
176 grid-row: 2 !important; /* Always second row in grid */ 177 z-index: 1; /* Below toolbar and dropdown */ 178 } 179 180 /* Critical alignment styles - must be identical for both layers */ 181 .overtype-wrapper .overtype-input, 182 .overtype-wrapper .overtype-preview { 183 /* Positioning - must be identical */ 184 position: absolute !important; /* Override reset - required for overlay */ 185 top: 0 !important; 186 left: 0 !important; 187 width: 100% !important; 188 height: 100% !important; 189 190 /* Font properties - any difference breaks alignment */ 191 font-family: ${n} !important; 192 font-variant-ligatures: none !important; /* keep metrics stable for code */ 193 font-size: var(--instance-font-size, ${t}) !important; 194 line-height: var(--instance-line-height, ${r}) !important; 195 font-weight: normal !important; 196 font-style: normal !important; 197 font-variant: normal !important; 198 font-stretch: normal !important; 199 font-kerning: none !important; 200 font-feature-settings: normal !important; 201 202 /* Box model - must match exactly */ 203 padding: var(--instance-padding, ${i}) !important; 204 margin: 0 !important; 205 border: none !important; 206 outline: none !important; 207 box-sizing: border-box !important; 208 209 /* Text layout - critical for character positioning */ 210 white-space: pre-wrap !important; 211 word-wrap: break-word !important; 212 word-break: normal !important; 213 overflow-wrap: break-word !important; 214 tab-size: 2 !important; 215 -moz-tab-size: 2 !important; 216 text-align: left !important; 217 text-indent: 0 !important; 218 letter-spacing: normal !important; 219 word-spacing: normal !important; 220 221 /* Text rendering */ 222 text-transform: none !important; 223 text-rendering: auto !important; 224 -webkit-font-smoothing: auto !important; 225 -webkit-text-size-adjust: 100% !important; 226 227 /* Direction and writing */ 228 direction: ltr !important; 229 writing-mode: horizontal-tb !important; 230 unicode-bidi: normal !important; 231 text-orientation: mixed !important; 232 233 /* Visual effects that could shift perception */ 234 text-shadow: none !important; 235 filter: none !important; 236 transform: none !important; 237 zoom: 1 !important; 238 239 /* Vertical alignment */ 240 vertical-align: baseline !important; 241 242 /* Size constraints */ 243 min-width: 0 !important; 244 min-height: 0 !important; 245 max-width: none !important; 246 max-height: none !important; 247 248 /* Overflow */ 249 overflow-y: auto !important; 250 overflow-x: auto !important; 251 /* overscroll-behavior removed to allow scroll-through to parent */ 252 scrollbar-width: auto !important; 253 scrollbar-gutter: auto !important; 254 255 /* Animation/transition - disabled to prevent movement */ 256 animation: none !important; 257 transition: none !important; 258 } 259 260 /* Input layer styles */ 261 .overtype-wrapper .overtype-input { 262 /* Layer positioning */ 263 z-index: 1 !important; 264 265 /* Text visibility */ 266 color: transparent !important; 267 caret-color: var(--cursor, #f95738) !important; 268 background-color: transparent !important; 269 270 /* Textarea-specific */ 271 resize: none !important; 272 appearance: none !important; 273 -webkit-appearance: none !important; 274 -moz-appearance: none !important; 275 276 /* Prevent mobile zoom on focus */ 277 touch-action: manipulation !important; 278 279 /* Disable autofill and spellcheck */ 280 autocomplete: off !important; 281 autocorrect: off !important; 282 autocapitalize: off !important; 283 spellcheck: false !important; 284 } 285 286 .overtype-wrapper .overtype-input::selection { 287 background-color: var(--selection, rgba(244, 211, 94, 0.4)); 288 } 289 290 /* Preview layer styles */ 291 .overtype-wrapper .overtype-preview { 292 /* Layer positioning */ 293 z-index: 0 !important; 294 pointer-events: none !important; 295 color: var(--text, #0d3b66) !important; 296 background-color: transparent !important; 297 298 /* Prevent text selection */ 299 user-select: none !important; 300 -webkit-user-select: none !important; 301 -moz-user-select: none !important;
302 -ms-user-select: none !important; 303 } 304 305 /* Defensive styles for preview child divs */ 306 .overtype-wrapper .overtype-preview div { 307 /* Reset any inherited styles */ 308 margin: 0 !important; 309 padding: 0 !important; 310 border: none !important; 311 text-align: left !important; 312 text-indent: 0 !important; 313 display: block !important; 314 position: static !important; 315 transform: none !important; 316 min-height: 0 !important; 317 max-height: none !important; 318 line-height: inherit !important; 319 font-size: inherit !important; 320 font-family: inherit !important; 321 } 322 323 /* Markdown element styling - NO SIZE CHANGES */ 324 .overtype-wrapper .overtype-preview .header { 325 font-weight: bold !important; 326 } 327 328 /* Header colors */ 329 .overtype-wrapper .overtype-preview .h1 { 330 color: var(--h1, #f95738) !important; 331 } 332 .overtype-wrapper .overtype-preview .h2 { 333 color: var(--h2, #ee964b) !important; 334 } 335 .overtype-wrapper .overtype-preview .h3 { 336 color: var(--h3, #3d8a51) !important; 337 } 338 339 /* Semantic headers - flatten in edit mode */ 340 .overtype-wrapper .overtype-preview h1, 341 .overtype-wrapper .overtype-preview h2, 342 .overtype-wrapper .overtype-preview h3 { 343 font-size: inherit !important; 344 font-weight: bold !important; 345 margin: 0 !important; 346 padding: 0 !important; 347 display: inline !important; 348 line-height: inherit !important; 349 } 350 351 /* Header colors for semantic headers */ 352 .overtype-wrapper .overtype-preview h1 { 353 color: var(--h1, #f95738) !important; 354 } 355 .overtype-wrapper .overtype-preview h2 { 356 color: var(--h2, #ee964b) !important; 357 } 358 .overtype-wrapper .overtype-preview h3 { 359 color: var(--h3, #3d8a51) !important; 360 } 361 362 /* Lists - remove styling in edit mode */ 363 .overtype-wrapper .overtype-preview ul, 364 .overtype-wrapper .overtype-preview ol { 365 list-style: none !important; 366 margin: 0 !important; 367 padding: 0 !important; 368 display: block !important; /* Lists need to be block for line breaks */ 369 } 370 371 .overtype-wrapper .overtype-preview li { 372 display: block !important; /* Each item on its own line */ 373 margin: 0 !important; 374 padding: 0 !important; 375 /* Don't set list-style here - let ul/ol control it */ 376 } 377 378 /* Bold text */ 379 .overtype-wrapper .overtype-preview strong { 380 color: var(--strong, #ee964b) !important; 381 font-weight: bold !important; 382 } 383 384 /* Italic text */ 385 .overtype-wrapper .overtype-preview em { 386 color: var(--em, #f95738) !important; 387 text-decoration-color: var(--em, #f95738) !important; 388 text-decoration-thickness: 1px !important; 389 font-style: italic !important; 390 } 391 392 /* Strikethrough text */ 393 .overtype-wrapper .overtype-preview del { 394 color: var(--del, #ee964b) !important; 395 text-decoration: line-through !important; 396 text-decoration-color: var(--del, #ee964b) !important; 397 text-decoration-thickness: 1px !important; 398 } 399 400 /* Inline code */ 401 .overtype-wrapper .overtype-preview code { 402 background: var(--code-bg, rgba(244, 211, 94, 0.4)) !important; 403 color: var(--code, #0d3b66) !important; 404 padding: 0 !important; 405 border-radius: 2px !important; 406 font-family: inherit !important; 407 font-size: inherit !important; 408 line-height: inherit !important; 409 font-weight: normal !important; 410 } 411 412 /* Code blocks - consolidated pre blocks */ 413 .overtype-wrapper .overtype-preview pre { 414 padding: 0 !important; 415 margin: 0 !important; 416 border-radius: 4px !important; 417 overflow-x: auto !important; 418 } 419 420 /* Code block styling in normal mode - yellow background */ 421 .overtype-wrapper .overtype-preview pre.code-block { 422 background: var(--code-bg, rgba(244, 211, 94, 0.4)) !important; 423 } 424 425 /* Code inside pre blocks - remove background */ 426 .overtype-wrapper .overtype-preview pre code { 427 background: transparent !important; 428 color: var(--code, #0d3b66) !important; 429 } 430 431 /* Blockquotes */ 432 .overtype-wrapper .overtype-preview .blockquote { 433 color: var(--blockquote, #5a7a9b) !important; 434 padding: 0 !important; 435 margin: 0 !important; 436 border: none !important; 437 } 438 439 /* Links */ 440 .overtype-wrapper .overtype-preview a { 441 color: var(--link, #0d3b66) !important; 442 text-decoration: underline !important; 443 font-weight: normal !important; 444 } 445 446 .overtype-wrapper .overtype-preview a:hover { 447 text-decoration: underline !important; 448 color: var(--link, #0d3b66) !important; 449 } 450 451 /* Lists - no list styling */ 452 .overtype-wrapper .overtype-preview ul, 453 .overtype-wrapper .overtype-preview ol { 454 list-style: none !important; 455 margin: 0 !important; 456 padding: 0 !important; 457 } 458 459 460 /* Horizontal rules */ 461 .overtype-wrapper .overtype-preview hr { 462 border: none !important; 463 color: var(--hr, #5a7a9b) !important; 464 margin: 0 !important; 465 padding: 0 !important; 466 } 467 468 .overtype-wrapper .overtype-preview .hr-marker { 469 color: var(--hr, #5a7a9b) !important; 470 opacity: 0.6 !important; 471 } 472 473 /* Code fence markers - with background when not in code block */ 474 .overtype-wrapper .overtype-preview .code-fence { 475 color: var(--code, #0d3b66) !important; 476 background: var(--code-bg, rgba(244, 211, 94, 0.4)) !important; 477 } 478 479 /* Code block lines - background for entire code block */ 480 .overtype-wrapper .overtype-preview .code-block-line { 481 background: var(--code-bg, rgba(244, 211, 94, 0.4)) !important; 482 } 483 484 /* Remove background from code fence when inside code block line */ 485 .overtype-wrapper .overtype-preview .code-block-line .code-fence { 486 background: transparent !important; 487 } 488 489 /* Raw markdown line */ 490 .overtype-wrapper .overtype-preview .raw-line { 491 color: var(--raw-line, #5a7a9b) !important; 492 font-style: normal !important; 493 font-weight: normal !important; 494 } 495 496 /* Syntax markers */ 497 .overtype-wrapper .overtype-preview .syntax-marker { 498 color: var(--syntax-marker, rgba(13, 59, 102, 0.52)) !important; 499 opacity: 0.7 !important; 500 } 501 502 /* List markers */ 503 .overtype-wrapper .overtype-preview .list-marker { 504 color: var(--list-marker, #ee964b) !important; 505 } 506 507 /* Stats bar */ 508 509 /* Stats bar - positioned by grid, not absolute */ 510 .overtype-stats { 511 height: 40px !important; 512 padding: 0 20px !important; 513 background: #f8f9fa !important; 514 border-top: 1px solid #e0e0e0 !important; 515 display: flex !important; 516 justify-content: space-between !important; 517 align-items: center !important; 518 font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important; 519 font-size: 0.85rem !important; 520 color: #666 !important; 521 grid-row: 3 !important; /* Always third row in grid */ 522 } 523 524 /* Dark theme stats bar */ 525 .overtype-container[data-theme="cave"] .overtype-stats { 526 background: var(--bg-secondary, #1D2D3E) !important; 527 border-top: 1px solid rgba(197, 221, 232, 0.1) !important; 528 color: var(--text, #c5dde8) !important; 529 } 530 531 .overtype-stats .overtype-stat { 532 display: flex !important; 533 align-items: center !important; 534 gap: 5px !important; 535 white-space: nowrap !important; 536 } 537 538 .overtype-stats .live-dot { 539 width: 8px !important; 540 height: 8px !important; 541 background: #4caf50 !important; 542 border-radius: 50% !important; 543 animation: overtype-pulse 2s infinite !important; 544 } 545 546 @keyframes overtype-pulse { 547 0%, 100% { opacity: 1; transform: scale(1); } 548 50% { opacity: 0.6; transform: scale(1.2); } 549 } 550 551 552 /* Toolbar Styles */ 553 .overtype-toolbar { 554 display: flex !important; 555 align-items: center !important; 556 gap: 4px !important; 557 padding: 8px !important; /* Override reset */ 558 background: var(--toolbar-bg, var(--bg-primary, #f8f9fa)) !important; /* Override reset */ 559 overflow-x: auto !important; /* Allow horizontal scrolling */ 560 overflow-y: hidden !important; /* Hide vertical overflow */ 561 -webkit-overflow-scrolling: touch !important; 562 flex-shrink: 0 !important; 563 height: auto !important; 564 grid-row: 1 !important; /* Always first row in grid */ 565 position: relative !important; /* Override reset */ 566 z-index: 100 !important; /* Ensure toolbar is above wrapper */ 567 scrollbar-width: thin; /* Thin scrollbar on Firefox */ 568 } 569 570 /* Thin scrollbar styling */ 571 .overtype-toolbar::-webkit-scrollbar {
572 height: 4px; 573 } 574 575 .overtype-toolbar::-webkit-scrollbar-track { 576 background: transparent; 577 } 578 579 .overtype-toolbar::-webkit-scrollbar-thumb { 580 background: rgba(0, 0, 0, 0.2); 581 border-radius: 2px; 582 } 583 584 .overtype-toolbar-button { 585 display: flex; 586 align-items: center; 587 justify-content: center; 588 width: 32px; 589 height: 32px; 590 padding: 0; 591 border: none; 592 border-radius: 6px; 593 background: transparent; 594 color: var(--toolbar-icon, var(--text-secondary, #666)); 595 cursor: pointer; 596 transition: all 0.2s ease; 597 flex-shrink: 0; 598 } 599 600 .overtype-toolbar-button svg { 601 width: 20px; 602 height: 20px; 603 fill: currentColor; 604 } 605 606 .overtype-toolbar-button:hover { 607 background: var(--toolbar-hover, var(--bg-secondary, #e9ecef)); 608 color: var(--toolbar-icon, var(--text-primary, #333)); 609 } 610 611 .overtype-toolbar-button:active { 612 transform: scale(0.95); 613 } 614 615 .overtype-toolbar-button.active { 616 background: var(--toolbar-active, var(--primary, #007bff)); 617 color: var(--toolbar-icon, var(--text-primary, #333)); 618 } 619 620 .overtype-toolbar-button:disabled { 621 opacity: 0.5; 622 cursor: not-allowed; 623 } 624 625 .overtype-toolbar-separator { 626 width: 1px; 627 height: 24px; 628 background: var(--border, #e0e0e0); 629 margin: 0 4px; 630 flex-shrink: 0; 631 } 632 633 /* Adjust wrapper when toolbar is present */ 634 .overtype-container .overtype-toolbar + .overtype-wrapper { 635 } 636 637 /* Mobile toolbar adjustments */ 638 @media (max-width: 640px) { 639 .overtype-toolbar { 640 padding: 6px; 641 gap: 2px; 642 } 643 644 .overtype-toolbar-button { 645 width: 36px; 646 height: 36px; 647 } 648 649 .overtype-toolbar-separator { 650 margin: 0 2px; 651 } 652 } 653 654 /* Plain mode - hide preview and show textarea text */ 655 .overtype-container.plain-mode .overtype-preview { 656 display: none !important; 657 } 658 659 .overtype-container.plain-mode .overtype-input { 660 color: var(--text, #0d3b66) !important; 661 /* Use system font stack for better plain text readability */ 662 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, 663 "Helvetica Neue", Arial, sans-serif !important; 664 } 665 666 /* Ensure textarea remains transparent in overlay mode */ 667 .overtype-container:not(.plain-mode) .overtype-input { 668 color: transparent !important; 669 } 670 671 /* Dropdown menu styles */ 672 .overtype-toolbar-button { 673 position: relative !important; /* Override reset - needed for dropdown */ 674 } 675 676 .overtype-toolbar-button.dropdown-active { 677 background: var(--toolbar-active, var(--hover-bg, #f0f0f0)); 678 } 679 680 .overtype-dropdown-menu { 681 position: fixed !important; /* Fixed positioning relative to viewport */ 682 background: var(--bg-secondary, white) !important; /* Override reset */ 683 border: 1px solid var(--border, #e0e0e0) !important; /* Override reset */ 684 border-radius: 6px; 685 box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important; /* Override reset */ 686 z-index: 10000; /* Very high z-index to ensure visibility */ 687 min-width: 150px; 688 padding: 4px 0 !important; /* Override reset */ 689 /* Position will be set via JavaScript based on button position */ 690 } 691 692 .overtype-dropdown-item { 693 display: flex; 694 align-items: center; 695 width: 100%; 696 padding: 8px 12px; 697 border: none; 698 background: none; 699 text-align: left; 700 cursor: pointer; 701 font-size: 14px; 702 color: var(--text, #333); 703 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; 704 } 705 706 .overtype-dropdown-item:hover { 707 background: var(--hover-bg, #f0f0f0); 708 } 709 710 .overtype-dropdown-item.active { 711 font-weight: 600; 712 } 713 714 .overtype-dropdown-check { 715 width: 16px; 716 margin-right: 8px; 717 color: var(--h1, #007bff); 718 } 719 720 /* Preview mode styles */ 721 .overtype-container.preview-mode .overtype-input { 722 display: none !important; 723 } 724 725 .overtype-container.preview-mode .overtype-preview { 726 pointer-events: auto !important; 727 user-select: text !important; 728 cursor: text !important; 729 } 730 731 /* Hide syntax markers in preview mode */ 732 .overtype-container.preview-mode .syntax-marker { 733 display: none !important; 734 } 735 736 /* Hide URL part of links in preview mode - extra specificity */ 737 .overtype-container.preview-mode .syntax-marker.url-part, 738 .overtype-container.preview-mode .url-part { 739 display: none !important; 740 } 741 742 /* Hide all syntax markers inside links too */ 743 .overtype-container.preview-mode a .syntax-marker { 744 display: none !important; 745 } 746 747 /* Headers - restore proper sizing in preview mode */ 748 .overtype-container.preview-mode .overtype-wrapper .overtype-preview h1, 749 .overtype-container.preview-mode .overtype-wrapper .overtype-preview h2, 750 .overtype-container.preview-mode .overtype-wrapper .overtype-preview h3 { 751 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important; 752 font-weight: 600 !important; 753 margin: 0 !important; 754 display: block !important; 755 color: inherit !important; /* Use parent text color */ 756 line-height: 1 !important; /* Tight line height for headings */ 757 } 758 759 .overtype-container.preview-mode .overtype-wrapper .overtype-preview h1 { 760 font-size: 2em !important; 761 } 762 763 .overtype-container.preview-mode .overtype-wrapper .overtype-preview h2 { 764 font-size: 1.5em !important; 765 } 766 767 .overtype-container.preview-mode .overtype-wrapper .overtype-preview h3 { 768 font-size: 1.17em !important; 769 } 770 771 /* Lists - restore list styling in preview mode */ 772 .overtype-container.preview-mode .overtype-wrapper .overtype-preview ul { 773 display: block !important; 774 list-style: disc !important; 775 padding-left: 2em !important; 776 margin: 1em 0 !important; 777 } 778 779 .overtype-container.preview-mode .overtype-wrapper .overtype-preview ol { 780 display: block !important; 781 list-style: decimal !important; 782 padding-left: 2em !important; 783 margin: 1em 0 !important; 784 } 785 786 .overtype-container.preview-mode .overtype-wrapper .overtype-preview li { 787 display: list-item !important; 788 margin: 0 !important; 789 padding: 0 !important; 790 } 791 792 /* Links - make clickable in preview mode */ 793 .overtype-container.preview-mode .overtype-wrapper .overtype-preview a { 794 pointer-events: auto !important; 795 cursor: pointer !important; 796 color: var(--link, #0066cc) !important; 797 text-decoration: underline !important; 798 } 799 800 /* Code blocks - proper pre/code styling in preview mode */ 801 .overtype-container.preview-mode .overtype-wrapper .overtype-preview pre.code-block { 802 background: #2d2d2d !important; 803 color: #f8f8f2 !important; 804 padding: 1.2em !important; 805 border-radius: 3px !important; 806 overflow-x: auto !important; 807 margin: 0 !important; 808 display: block !important; 809 } 810 811 /* Cave theme code block background in preview mode */ 812 .overtype-container[data-theme="cave"].preview-mode .overtype-wrapper .overtype-preview pre.code-block { 813 background: #11171F !important; 814 } 815 816 .overtype-container.preview-mode .overtype-wrapper .overtype-preview pre.code-block code { 817 background: transparent !important; 818 color: inherit !important; 819 padding: 0 !important; 820 font-family: ${n} !important; 821 font-size: 0.9em !important; 822 line-height: 1.4 !important; 823 } 824 825 /* Hide old code block lines and fences in preview mode */ 826 .overtype-container.preview-mode .overtype-wrapper .overtype-preview .code-block-line { 827 display: none !important; 828 } 829 830 .overtype-container.preview-mode .overtype-wrapper .overtype-preview .code-fence { 831 display: none !important; 832 } 833
834 /* Blockquotes - enhanced styling in preview mode */ 835 .overtype-container.preview-mode .overtype-wrapper .overtype-preview .blockquote { 836 display: block !important; 837 border-left: 4px solid var(--blockquote, #ddd) !important; 838 padding-left: 1em !important; 839 margin: 1em 0 !important; 840 font-style: italic !important; 841 } 842 843 /* Typography improvements in preview mode */ 844 .overtype-container.preview-mode .overtype-wrapper .overtype-preview { 845 font-family: Georgia, 'Times New Roman', serif !important; 846 font-size: 16px !important; 847 line-height: 1.8 !important; 848 color: var(--text, #333) !important; /* Consistent text color */ 849 } 850 851 /* Inline code in preview mode - keep monospace */ 852 .overtype-container.preview-mode .overtype-wrapper .overtype-preview code { 853 font-family: ${n} !important; 854 font-size: 0.9em !important; 855 background: rgba(135, 131, 120, 0.15) !important; 856 padding: 0.2em 0.4em !important; 857 border-radius: 3px !important; 858 } 859 860 /* Strong and em elements in preview mode */ 861 .overtype-container.preview-mode .overtype-wrapper .overtype-preview strong { 862 font-weight: 700 !important; 863 color: inherit !important; /* Use parent text color */ 864 } 865 866 .overtype-container.preview-mode .overtype-wrapper .overtype-preview em { 867 font-style: italic !important; 868 color: inherit !important; /* Use parent text color */ 869 } 870 871 /* HR in preview mode */ 872 .overtype-container.preview-mode .overtype-wrapper .overtype-preview .hr-marker { 873 display: block !important; 874 border-top: 2px solid var(--hr, #ddd) !important; 875 text-indent: -9999px !important; 876 height: 2px !important; 877 } 878 879 ${a} 880 `}({theme:e.currentTheme||M}),i=document.createElement("style");i.className="overtype-styles",i.textContent=n,document.head.appendChild(i),e.stylesInjected=!0}static setTheme(t,r=null){let n="string"==typeof t?$(t):t;r&&(n=function(e,t={}){return{...e,colors:{...e.colors,...t}}}(n,r)),e.currentTheme=n,e.injectStyles(!0),document.querySelectorAll(".overtype-container").forEach(e=>{let t="string"==typeof n?n:n.name;t&&e.setAttribute("data-theme",t)}),document.querySelectorAll(".overtype-wrapper").forEach(e=>{if(!e.closest(".overtype-container")){let t="string"==typeof n?n:n.name;t&&e.setAttribute("data-theme",t)}let t=e._instance;t&&t.updatePreview()})}static initGlobalListeners(){e.globalListenersInitialized||(document.addEventListener("input",e=>{if(e.target&&e.target.classList&&e.target.classList.contains("overtype-input")){let t=e.target.closest(".overtype-wrapper"),r=null==t?void 0:t._instance;r&&r.handleInput(e)}}),document.addEventListener("keydown",e=>{if(e.target&&e.target.classList&&e.target.classList.contains("overtype-input")){let t=e.target.closest(".overtype-wrapper"),r=null==t?void 0:t._instance;r&&r.handleKeydown(e)}}),document.addEventListener("scroll",e=>{if(e.target&&e.target.classList&&e.target.classList.contains("overtype-input")){let t=e.target.closest(".overtype-wrapper"),r=null==t?void 0:t._instance;r&&r.handleScroll(e)}},!0),document.addEventListener("selectionchange",e=>{let t=document.activeElement;if(t&&t.classList.contains("overtype-input")){let e=t.closest(".overtype-wrapper"),r=null==e?void 0:e._instance;r&&(r.options.showStats&&r.statsBar&&r._updateStats(),clearTimeout(r._selectionTimeout),r._selectionTimeout=setTimeout(()=>{r.updatePreview()},50))}}),e.globalListenersInitialized=!0)}};function en(e){let i,o,s,a,l,c=(0,r.c)(11),{value:u,onChange:p,placeholder:d,minHeight:h,showToolbar:f}=e,m=void 0===h?400:h,g=(0,n.useRef)(null),y=(0,n.useRef)(null);return c[0]!==m||c[1]!==p||c[2]!==d||c[3]!==f||c[4]!==u?(i=()=>{let[e]=er.init(g.current,{value:u,onChange:p,placeholder:d,minHeight:m,showToolbar:f});return y.current=e,()=>y.current?.destroy()},c[0]=m,c[1]=p,c[2]=d,c[3]=f,c[4]=u,c[5]=i):i=c[5],c[6]===Symbol.for("react.memo_cache_sentinel")?(o=[],c[6]=o):o=c[6],(0,n.useEffect)(i,o),c[7]!==u?(s=()=>{y.current&&u!==y.current.getValue()&&y.current.setValue(u)},a=[u],c[7]=u,c[8]=s,c[9]=a):(s=c[8],a=c[9]),(0,n.useEffect)(s,a),c[
88010]===Symbol.for("react.memo_cache_sentinel")?(l=(0,t.jsx)("div",{className:"overflow-hidden rounded-md border",ref:g,style:{height:"400px"}}),c[10]=l):l=c[10],l}o(er,"instances",new WeakMap),o(er,"stylesInjected",!1),o(er,"globalListenersInitialized",!1),o(er,"instanceCount",0),er.MarkdownParser=s,er.ShortcutsManager=N,er.themes={solar:M,cave:$("cave")},er.getTheme=$,er.currentTheme=M,e.s(["MarkdownEditor",()=>en],403732)},39973,e=>{"use strict";var t=e.i(524666);e.s(["User",()=>t.default])},642616,e=>{"use strict";var t=e.i(88310),r=e.i(956371),n=e.i(394673),i=e.i(864071),o=e.i(462297),s=e.i(148551),a=e.i(39973),l=e.i(232264),c=e.i(400969),u=e.i(199978),p=e.i(890210),d=e.i(511398),h=e.i(534417),f=e.i(960568),m=e.i(526683),g=e.i(331597),y=e.i(34058);function b(e){if(!e)return null;let t=e.user||e;return t?.id?t:null}function v({isScrolled:e,signButtonSize:v="sm",userNav:x}){let k=(0,l.useTranslations)("common.sign"),_=(0,u.useRouter)(),[w,C]=(0,r.useState)(!1);(0,r.useEffect)(()=>{C(!0)},[]);let{configs:E,fetchConfigs:D,setIsShowSignModal:S,isCheckSign:A,setIsCheckSign:F,user:L,setUser:j,fetchUserInfo:T,showOneTap:P}=(0,f.useAppContext)(),{data:O,isPending:z}=(0,c.useSession)(),N=(0,r.useRef)(!1),M=(0,r.useRef)(!1),B=b(O);(0,r.useEffect)(()=>{D()},[]),(0,r.useEffect)(()=>{F(z)},[z]),(0,r.useEffect)(()=>{!E||!E.google_client_id||"true"!==E.google_one_tap_enabled||O||z||N.current||(N.current=!0,P(E))},[E,O,z]),(0,r.useEffect)(()=>{let e=L?.id,t=B?.id;B&&t!==e?(j(B),T()):!B&&e&&j(null)},[B?.id,B?.email,L?.id]),(0,r.useEffect)(()=>{M.current||z||B||L||(M.current=!0,(async()=>{try{let e=await c.authClient.getSession(),t=b(e?.data??e);t?.id&&(j(t),T())}catch{}})())},[z,B,L?.id]);let I=L||B;return(0,t.jsx)(t.Fragment,{children:A||!w?(0,t.jsx)("div",{children:(0,t.jsx)(o.Loader2,{className:"size-4 animate-spin"})}):I?(0,t.jsxs)(h.DropdownMenu,{children:[(0,t.jsx)(h.DropdownMenuTrigger,{asChild:!0,children:(0,t.jsx)(d.Button,{variant:"ghost",className:"relative h-10 w-10 rounded-full p-0",children:(0,t.jsxs)(p.Avatar,{children:[(0,t.jsx)(p.AvatarImage,{src:I.image||"",alt:I.name||""}),(0,t.jsx)(p.AvatarFallback,{children:I.name.charAt(0)})]})})}),(0,t.jsxs)(h.DropdownMenuContent,{children:[x?.show_name&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(h.DropdownMenuItem,{asChild:!0,children:(0,t.jsxs)(u.Link,{className:"w-full cursor-pointer",href:"/settings/profile",children:[(0,t.jsx)(a.User,{}),I.name]})}),(0,t.jsx)(h.DropdownMenuSeparator,{})]}),x?.show_credits&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(h.DropdownMenuItem,{asChild:!0,children:(0,t.jsxs)(u.Link,{className:"w-full cursor-pointer",href:"/credits",children:[(0,t.jsx)(n.Coins,{}),k("credits_title",{credits:I.credits?.remainingCredits||0})]})}),(0,t.jsx)(h.DropdownMenuSeparator,{})]}),x?.items?.map((e,r)=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(h.DropdownMenuItem,{asChild:!0,children:(0,t.jsxs)(u.Link,{className:"w-full cursor-pointer",href:e.url||"",target:e.target||"_self",children:[e.icon&&(0,t.jsx)(g.SmartIcon,{name:e.icon,className:"h-4 w-4"}),e.title]})}),(0,t.jsx)(h.DropdownMenuSeparator,{})]},r)),I.isAdmin&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(h.DropdownMenuItem,{asChild:!0,children:(0,t.jsxs)(u.Link,{className:"w-full cursor-pointer",href:"/admin",children:[(0,t.jsx)(i.LayoutDashboard,{}),k("admin_title")]})}),(0,t.jsx)(h.DropdownMenuSeparator,{})]}),x?.show_sign_out&&(0,t.jsxs)(h.DropdownMenuItem,{className:"w-full cursor-pointer",onClick:()=>(0,c.signOut)({fetchOptions:{onSuccess:()=>{_.push("/")}}}),children:[(0,t.jsx)(s.LogOut,{}),(0,t.jsx)("span",{children:k("sign_out_title")})]})]})]}):(0,t.jsxs)("div",{className:"flex w-full flex-col space-y-3 sm:flex-row sm:gap-3 sm:space-y-0 md:w-fit",children:[(0,t.jsx)(d.Button,{asChild:!0,size:v,className:(0,m.cn)("ml-4 cursor-pointer ring-0 h-10 px-5 text-base font-[550] bg-white text-black hover:bg-white/90 border border-zinc-200 shadow-sm",e&&"lg:hidden"),onClick:()=>S(!0),children:(0,t.jsx)("span",{children:k("sign_in_title")})}),(0,t.jsx)(y.SignModal,{})]})})}e.s(["SignUser",()=>v])},55871,e=>{"use strict";var t=e.i(955313);e.s(["Pause",()=>t.default])},599198,e=>{"use strict";var t=e.i(88310),r=e.i(95572),n=e.i(956371),i=e.i(55871),o=e.i(283422),s=e.i(526683);function a(e){let a,c,u,p,d,h,f,m,g,y,b,v,x,k,_,w=(0,r.c)(36),{src:C,title:E,className:D}
880=e,S=(0,n.useRef)(null),[A,F]=(0,n.useState)(!1),[L,j]=(0,n.useState)(0),[T,P]=(0,n.useState)(0);(0,n.useState)(1),(0,n.useState)(!1),w[0]===Symbol.for("react.memo_cache_sentinel")?(a=()=>{let e=S.current;if(!e)return;let t=()=>j(e.currentTime),r=()=>P(e.duration),n=()=>F(!1);return e.addEventListener("timeupdate",t),e.addEventListener("loadedmetadata",r),e.addEventListener("ended",n),()=>{e.removeEventListener("timeupdate",t),e.removeEventListener("loadedmetadata",r),e.removeEventListener("ended",n)}},c=[],w[0]=a,w[1]=c):(a=w[0],c=w[1]),(0,n.useEffect)(a,c),w[2]!==A?(u=()=>{let e=S.current;e&&(A?e.pause():e.play(),F(!A))},w[2]=A,w[3]=u):u=w[3];let O=u;w[4]===Symbol.for("react.memo_cache_sentinel")?(p=e=>{let t=S.current;if(!t)return;let r=parseFloat(e.target.value);t.currentTime=r,j(r)},w[4]=p):p=w[4];let z=p,N=l;w[5]!==D?(d=(0,s.cn)("bg-card text-card-foreground flex items-center gap-3 rounded-lg border p-3 shadow-sm",D),w[5]=D,w[6]=d):d=w[6],w[7]!==C?(h=(0,t.jsx)("audio",{ref:S,src:C,preload:"metadata"}),w[7]=C,w[8]=h):h=w[8];let M=A?"Pause":"Play";w[9]!==A?(f=A?(0,t.jsx)(i.Pause,{className:"h-5 w-5"}):(0,t.jsx)(o.Play,{className:"ml-0.5 h-5 w-5"}),w[9]=A,w[10]=f):f=w[10],w[11]!==M||w[12]!==f||w[13]!==O?(m=(0,t.jsx)("button",{onClick:O,className:"bg-primary text-primary-foreground hover:bg-primary/90 flex h-10 w-10 items-center justify-center rounded-full transition-colors","aria-label":M,children:f}),w[11]=M,w[12]=f,w[13]=O,w[14]=m):m=w[14],w[15]!==E?(g=E&&(0,t.jsx)("div",{className:"truncate text-sm font-medium",children:E}),w[15]=E,w[16]=g):g=w[16];let B=N(L);w[17]!==B?(y=(0,t.jsx)("span",{className:"text-muted-foreground w-10 text-right text-xs",children:B}),w[17]=B,w[18]=y):y=w[18];let I=T||0;w[19]!==L||w[20]!==I?(b=(0,t.jsx)("input",{type:"range",min:0,max:I,value:L,onChange:z,className:"bg-secondary [&::-webkit-slider-thumb]:bg-primary [&::-moz-range-thumb]:bg-primary h-1 flex-1 cursor-pointer appearance-none rounded-lg [&::-moz-range-thumb]:h-3 [&::-moz-range-thumb]:w-3 [&::-moz-range-thumb]:rounded-full [&::-moz-range-thumb]:border-0 [&::-webkit-slider-thumb]:h-3 [&::-webkit-slider-thumb]:w-3 [&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:rounded-full"}),w[19]=L,w[20]=I,w[21]=b):b=w[21];let $=N(T);return w[22]!==$?(v=(0,t.jsx)("span",{className:"text-muted-foreground w-10 text-xs",children:$}),w[22]=$,w[23]=v):v=w[23],w[24]!==y||w[25]!==b||w[26]!==v?(x=(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[y,b,v]}),w[24]=y,w[25]=b,w[26]=v,w[27]=x):x=w[27],w[28]!==g||w[29]!==x?(k=(0,t.jsxs)("div",{className:"flex flex-1 flex-col gap-1",children:[g,x]}),w[28]=g,w[29]=x,w[30]=k):k=w[30],w[31]!==k||w[32]!==d||w[33]!==h||w[34]!==m?(_=(0,t.jsxs)("div",{className:d,children:[h,m,k]}),w[31]=k,w[32]=d,w[33]=h,w[34]=m,w[35]=_):_=w[35],_}function l(e){if(isNaN(e))return"0:00";let t=Math.floor(e/60),r=Math.floor(e%60);return`${t}:${r.toString().padStart(2,"0")}`}e.s(["AudioPlayer",()=>a])},283880,e=>{"use strict";var t=e.i(88310),r=e.i(95572),n=e.i(956371),i=e.i(266337),o=e.i(994772),s=e.i(779342),a=e.i(511398),l=e.i(523889),c=e.i(526683);let u=async e=>(await (0,l.directUpload)("audio",e)).url;function p(e){let l,p,d,h,f,m,g,y,b,v,x,k,_,w,C,E,D=(0,r.c)(36),{maxSizeMB:S,title:A,emptyHint:F,className:L,defaultUrl:j,onChange:T,accept:P}=e,O=void 0===S?10:S,z=void 0===P?".mp3,.wav,.ogg,.m4a,.flac,.aac,.wma,.mpeg":P,N=(0,n.useRef)(null),M=(0,n.useRef)(!1),B=(0,n.useRef)(T),I=(0,n.useRef)(!1);D[0]!==j?(l=()=>j?{id:`preset-${j}`,name:"Audio file",url:j,status:"uploaded"}:null,D[0]=j,D[1]=l):l=D[1];let[$,R]=(0,n.useState)(l),q=1024*O*1024;D[2]!==T?(p=()=>{B.current=T},d=[T],D[2]=T,D[3]=p,D[4]=d):(p=D[3],d=D[4]),(0,n.useEffect)(p,d),D[5]!==j?(h=()=>
880{if(M.current){if(I.current){I.current=!1;return}j?R(e=>e?.url===j?e:{id:`preset-${j}`,name:"Audio file",url:j,status:"uploaded"}):R(null)}},f=[j],D[5]=j,D[6]=h,D[7]=f):(h=D[6],f=D[7]),(0,n.useEffect)(h,f),D[8]!==$?(m=()=>{if(!M.current){M.current=!0;return}I.current=!0,$?B.current?.({id:$.id,name:$.name,url:$.url,status:$.status,size:$.size}):B.current?.(null)},g=[$],D[8]=$,D[9]=m,D[10]=g):(m=D[9],g=D[10]),(0,n.useEffect)(m,g),D[11]!==q||D[12]!==O?(y=e=>{let t=Array.from(e.target.files||[]);if(!t.length)return;let r=t[0];if(r.size>q){s.toast.error(`"${r.name}" exceeds the ${O}MB limit`),N.current&&(N.current.value="");return}let n={id:`${r.name}-${r.lastModified}-${Math.random()}`,name:r.name,file:r,size:r.size,status:"uploading"};R(n),u(r).then(e=>{R(t=>t?.id===n.id?{...t,url:e,status:"uploaded",file:void 0}:t)}).catch(e=>{console.error("Upload failed:",e),s.toast.error(e?.message?`Upload failed: ${e.message}`:"Upload failed"),R(e=>e?.id===n.id?{...e,status:"error"}:e)}),N.current&&(N.current.value="")},D[11]=q,D[12]=O,D[13]=y):y=D[13];let H=y;D[14]===Symbol.for("react.memo_cache_sentinel")?(b=()=>{R(null)},D[14]=b):b=D[14];let V=b;D[15]===Symbol.for("react.memo_cache_sentinel")?(v=()=>{N.current?.click()},D[15]=v):v=D[15];let U=v;return D[16]!==L?(x=(0,c.cn)("space-y-4",L),D[16]=L,D[17]=x):x=D[17],D[18]!==z||D[19]!==H?(k=(0,t.jsx)("input",{ref:N,type:"file",accept:z,onChange:H,className:"hidden"}),D[18]=z,D[19]=H,D[20]=k):k=D[20],D[21]!==A?(_=A&&(0,t.jsx)("div",{className:"text-foreground flex items-center justify-between text-sm font-medium",children:(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(o.Music,{className:"text-primary h-4 w-4"}),(0,t.jsx)("span",{children:A})]})}),D[21]=A,D[22]=_):_=D[22],D[23]!==$||D[24]!==O?(w=$?(0,t.jsx)("div",{className:"group border-border bg-muted/50 hover:border-border hover:bg-muted relative overflow-hidden rounded-lg border p-2 shadow-sm transition",children:(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("div",{className:"flex h-10 w-10 items-center justify-center rounded-lg bg-zinc-800",children:(0,t.jsx)(o.Music,{className:"h-5 w-5 text-zinc-400"})}),(0,t.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,t.jsx)("p",{className:"text-sm font-medium truncate text-zinc-200",children:$.name}),$.size&&(0,t.jsx)("p",{className:"text-xs text-zinc-500",children:(e=>{if(!e)return"";if(e<1024)return`${e} B`;let t=e/1024;if(t<1024)return`${t.toFixed(2)} KB`;let r=t/1024;return`${r.toFixed(2)} MB`})($.size)}),"uploading"===$.status&&(0,t.jsx)("p",{className:"text-xs text-blue-400",children:"Uploading..."}),"error"===$.status&&(0,t.jsx)("p",{className:"text-xs text-red-400",children:"Upload failed"}),"uploaded"===$.status&&(0,t.jsx)("p",{className:"text-xs text-green-400",children:"Uploaded"})]}),(0,t.jsx)(a.Button,{size:"icon",variant:"ghost",className:"h-7 w-7 text-zinc-400 hover:text-zinc-200",onClick:V,children:(0,t.jsx)(i.IconX,{className:"h-4 w-4"})})]})}):(0,t.jsx)("div",{className:"group border-zinc-700 bg-zinc-800/50 hover:border-zinc-600 hover:bg-zinc-800 relative overflow-hidden rounded-lg border border-dashed shadow-sm transition cursor-pointer",onClick:U,children:(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center gap-1 py-3",children:[(0,t.jsx)(o.Music,{className:"h-5 w-5 text-zinc-500"}),(0,t.jsx)("span",{className:"text-sm text-zinc-400",children:"Upload Audio"}),(0,t.jsxs)("span",{className:"text-xs text-zinc-500",children:["MP3, WAV, OGG, M4A · Max ",O,"MB"]})]})}),D[23]=$,D[24]=O,D[25]=w):w=D[25],D[26]!==F||D[27]!==$||D[28]!==A?(C=!A&&F&&!$&&(0,t.jsx)("div",{className:"text-muted-foreground text-xs",children:F}),D[26]=F,D[27]=$,D[28]=A,D[29]=C):C=D[29],D[30]!==x||D[31]!==k||D[32]!==_||D[33]!==w||D[34]!==C?(E=(0,t.jsxs)("div",{className:x,children:[k,_,w,C]}),D[30]=x,D[31]=k,D[32]=_,D[33]=w,D[34]=C,D[35]=E):E=D[35],E}e.s(["AudioUploader",()=>p])},455463,e=>{"use strict";var t=e.i(88310),r=e.i(956371),n=e.i(652295),i=e.i(983360),o=e.i(551956),s=e.i(511398),a=e.i(331597);class l extends r.Component{state={hasError:!1};static getDerivedStateFromError(e){return"NEXT_NOT_FOUND"===e.digest?{hasError:!1}:{hasError:!0}}componentDidCatch(e,t){console.error("Uncaught error:",e,t)}render(){return(console.log("ErrorBoundary render",this.state),this.state.hasError)?this.props.fallback?this.props.fallback:(0,t.jsxs)("div",{className:"flex h-screen flex-col items-center justify-center gap-4",children:[(0,t.jsx)(n.default,{src:o.envConfigs.app_logo,alt:o.envConfigs.app_name,width:80,height:80}),(0,t.jsx)("h1",{className:"text-2xl font-normal",children:"Something went wrong"}),(0,t.jsx)("p",{className:"text-muted-foreground",children:"Please try refreshing the page or contact support if the problem persists."}),(0,t.jsx)(s.Button,{asChild:!0,children:(0,t.jsxs)(i.default,{href:"/",className:"mt-4",children:[(0,t.jsx)(a.SmartIcon,{name:"ArrowLeft"}),(0,t.jsx)("span",{children:"Back to Home"})]})})]}):this.props.children}}e.s(["ErrorBoundary",()=>l])}]);
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.