@elmethis/react 0.3.10 → 0.3.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.react.cjs +1 -1
- package/lib/index.react.mjs +688 -654
- package/lib/style.css +1 -1
- package/lib-types/components/containments/ElmCollapse.d.ts +20 -0
- package/lib-types/components/containments/ElmCollapse.d.ts.map +1 -0
- package/lib-types/components/containments/ElmCollapse.stories.d.ts +7 -0
- package/lib-types/components/containments/ElmCollapse.stories.d.ts.map +1 -0
- package/lib-types/components/containments/ElmModal.d.ts +8 -6
- package/lib-types/components/containments/ElmModal.d.ts.map +1 -1
- package/lib-types/components/containments/ElmModal.stories.d.ts.map +1 -1
- package/lib-types/components/copilotkit/ElmModelSelect.d.ts +17 -0
- package/lib-types/components/copilotkit/ElmModelSelect.d.ts.map +1 -0
- package/lib-types/components/copilotkit/ElmModelSelect.stories.d.ts +28 -0
- package/lib-types/components/copilotkit/ElmModelSelect.stories.d.ts.map +1 -0
- package/lib-types/components/form/ElmSelect.d.ts +7 -7
- package/lib-types/components/form/ElmSelect.d.ts.map +1 -1
- package/lib-types/lib.d.ts +2 -0
- package/lib-types/lib.d.ts.map +1 -1
- package/package.json +1 -1
package/lib/index.react.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./ElmMermaid-DnSjC5T_.cjs`);let t=require(`react`);t=e.r(t);let n=require(`react/jsx-runtime`),r=require(`polished`),i=require(`@mdi/js`),a=require(`clsx`);a=e.r(a);let o=require(`react-dom`),s=require(`@radix-ui/react-use-controllable-state`),c=require(`lodash-es`),l=require(`marked`);var u={icon:`_icon_k0isg_1`},d=({src:e,alt:r,className:i})=>{let[a,o]=(0,t.useState)(e);return(0,n.jsx)(`img`,{className:[u.icon,i].filter(Boolean).join(` `),src:a,alt:r,onError:()=>{o(`data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="gray" d="M17.9 17.39c-.26-.8-1.01-1.39-1.9-1.39h-1v-3a1 1 0 0 0-1-1H8v-2h2a1 1 0 0 0 1-1V7h2a2 2 0 0 0 2-2v-.41a7.984 7.984 0 0 1 2.9 12.8M11 19.93c-3.95-.49-7-3.85-7-7.93c0-.62.08-1.22.21-1.79L9 15v1a2 2 0 0 0 2 2m1-16A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2"/></svg>`)}})},f={icon:`_icon_18sdb_1`},p={rust:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20128%20128'%20fill='%23a84f33'%20width='128'%20height='128'%20%3e%3cpath%20d='M62.96.242c-.232.135-1.203%201.528-2.16%203.097c-2.4%203.94-2.426%203.942-5.65.55c-2.098-2.208-2.605-2.612-3.28-2.607c-.44.002-.995.152-1.235.332s-.916%201.612-1.504%203.183c-1.346%203.6-1.41%203.715-2.156%203.86c-.46.086-1.343-.407-3.463-1.929c-1.565-1.125-3.1-2.045-3.411-2.045c-1.291%200-1.655.706-2.27%204.4c-.78%204.697-.754%204.681-4.988%202.758c-1.71-.776-3.33-1.41-3.603-1.41s-.792.293-1.15.652c-.652.652-.653.655-.475%204.246l.178%203.595l-.68.364c-.602.322-1.017.283-3.684-.348c-3.48-.822-4.216-.8-4.92.15l-.516.693l.692%202.964c.38%201.63.745%203.2.814%203.487c.067.287-.05.746-.26%201.02c-.348.448-.717.49-3.94.44c-5.452-.086-5.761.382-3.51%205.3c.718%201.56%201.305%202.98%201.305%203.15c0%20.898-.717%201.224-3.794%201.727c-1.722.28-3.218.51-3.326.51c-.107%200-.43.235-.717.522c-.937.936-.671%201.816%201.453%204.814c2.646%203.735%202.642%203.75-1.73%205.421c-4.971%201.902-5.072%202.37-1.287%205.96c3.525%203.344%203.53%203.295-.461%205.804C.208%2062.8.162%2062.846.085%2063.876c-.093%201.253-.071%201.275%203.538%203.48c3.57%202.18%203.57%202.246.067%205.56C-.078%2076.48.038%2077%205.013%2078.877c4.347%201.64%204.353%201.66%201.702%205.394c-1.502%202.117-1.981%203-1.981%203.653c0%201.223.637%201.535%204.44%202.174c3.206.54%203.92.857%203.92%201.741c0%20.182-.588%201.612-1.307%203.177c-2.236%204.87-1.981%205.275%203.31%205.275c4.93%200%204.799-.15%203.737%204.294c-.8%203.35-.813%203.992-.088%204.715c.554.556%201.6.494%204.87-.289c2.499-.596%202.937-.637%203.516-.328l.66.354l-.177%203.594c-.178%203.593-.177%203.595.475%204.248c.358.36.884.652%201.165.652s1.903-.63%203.604-1.404c4.22-1.916%204.194-1.932%204.973%202.75c.617%203.711.977%204.4%202.294%204.4c.327%200%201.83-.88%203.34-1.958c2.654-1.893%203.342-2.19%204.049-1.74c.182.115.89%201.67%201.572%203.455c1.003%202.625%201.37%203.31%201.929%203.576c1.062.51%201.72.1%204.218-2.62c3.016-3.286%203.14-3.27%205.602.72c2.72%204.406%203.424%204.396%206.212-.089c2.402-3.864%202.374-3.862%205.621-.47c2.157%202.25%202.616%202.61%203.343%202.61c.464%200%201.019-.175%201.23-.388c.214-.213.92-1.786%201.568-3.496c.649-1.71%201.321-3.2%201.495-3.31c.687-.436%201.398-.13%204.048%201.752c1.56%201.108%203.028%201.96%203.377%201.96c1.296%200%201.764-.92%202.302-4.535c.46-3.082.554-3.378%201.16-3.685c.596-.302.954-.2%203.75%201.07c1.701.77%203.323%201.402%203.604%201.402s.816-.302%201.184-.672l.672-.67l-.184-3.448c-.177-3.29-.16-3.468.364-3.943c.54-.488.596-.486%203.615.204c3.656.835%204.338.857%205.025.17c.671-.67.664-.818-.254-4.69c-1.03-4.346-1.168-4.19%203.78-4.19c3.374%200%203.75-.049%204.18-.523c.718-.793.547-1.702-.896-4.779c-.729-1.55-1.32-2.96-1.315-3.135c.024-.914.743-1.227%204.065-1.767c2.033-.329%203.553-.71%203.829-.96c.923-.833.584-1.918-1.523-4.873c-2.642-3.703-2.63-3.738%201.599-5.297c5.064-1.866%205.209-2.488%201.419-6.09c-3.51-3.335-3.512-3.317.333-5.677c4.648-2.853%204.655-3.496.082-6.335c-3.933-2.44-3.93-2.406-.405-5.753c3.78-3.593%203.678-4.063-1.295-5.965c-4.388-1.679-4.402-1.72-1.735-5.38c1.588-2.18%201.982-2.903%201.982-3.65c0-1.306-.586-1.598-4.436-2.22c-3.216-.52-3.924-.835-3.924-1.75c0-.174.588-1.574%201.307-3.113c1.406-3.013%201.604-4.22.808-4.94c-.428-.387-1-.443-4.067-.392c-3.208.054-3.618.008-4.063-.439c-.486-.488-.48-.557.278-3.725c.931-3.88.935-3.975.17-4.694c-.777-.73-1.262-.718-4.826.121c-2.597.612-3.027.653-3.617.337l-.67-.36l.185-3.582l.186-3.58l-.67-.67c-.369-.37-.891-.67-1.163-.67c-.27%200-1.884.64-3.583%201.421c-2.838%201.306-3.143%201.393-3.757%201.072c-.612-.32-.714-.637-1.237-3.829c-.603-3.693-.977-4.412-2.288-4.412c-.311%200-1.853.925-3.426%202.055c-2.584%201.856-2.93%202.032-3.574%201.807c-.533-.186-.843-.59-1.221-1.599c-.28-.742-.817-2.172-1.194-3.177c-.762-2.028-1.187-2.482-2.328-2.482c-.637%200-1.213.458-3.28%202.604c-3.25%203.375-3.261%203.374-5.65-.545C66.073%201.78%2065.075.382%2064.81.24c-.597-.32-1.3-.32-1.85.002m2.96%2011.798c2.83%202.014%201.326%206.75-2.144%206.75c-3.368%200-5.064-4.057-2.66-6.36c1.358-1.3%203.304-1.459%204.805-.39m-3.558%2012.507c1.855.705%202.616.282%206.852-3.8l3.182-3.07l1.347.18c4.225.56%2012.627%204.25%2017.455%207.666c4.436%203.14%2010.332%209.534%2012.845%2013.93l.537.942l-2.38%205.364c-1.31%202.95-2.382%205.673-2.382%206.053c0%20.878.576%202.267%201.13%202.726c.234.195%202.457%201.265%204.939%202.378l4.51%202.025l.178%201.148c.23%201.495.26%205.167.052%206.21l-.163.816h-2.575c-2.987%200-2.756-.267-2.918%203.396c-.118%202.656-.76%204.124-2.22%205.075c-2.377%201.551-6.304%201.27-7.97-.57c-.255-.284-.752-1.705-1.105-3.16c-1.03-4.254-2.413-6.64-5.193-8.965c-.878-.733-1.595-1.418-1.595-1.522c0-.102.965-.915%202.145-1.803c4.298-3.24%206.77-7.012%207.04-10.747c.519-7.126-5.158-13.767-13.602-15.92c-2.002-.51-2.857-.526-27.624-.526c-14.057%200-25.56-.092-25.56-.204c0-.263%203.125-3.295%204.965-4.816c5.054-4.178%2011.618-7.465%2018.417-9.22l2.35-.61l3.34%203.387c1.839%201.863%203.64%203.5%204.003%203.637M20.3%2046.34c1.539%201.008%202.17%203.54%201.26%205.062c-1.405%202.356-4.966%202.455-6.373.178c-2.046-3.309%201.895-7.349%205.113-5.24m90.672.13c4.026%202.454.906%208.493-3.404%206.586c-2.877-1.273-2.97-5.206-.155-6.64c1.174-.6%202.523-.579%203.56.053M32.163%2061.5v15.02h-13.28l-.526-2.285c-1.036-4.5-1.472-9.156-1.211-12.969l.182-2.679l4.565-2.047c2.864-1.283%204.706-2.262%204.943-2.625c1.038-1.584.94-2.715-.518-5.933l-.68-1.502h6.523V61.5M70.39%2047.132c2.843.74%204.345%202.245%204.349%204.355c.002%201.55-.765%202.52-2.67%203.38c-1.348.61-1.562.625-10.063.708l-8.686.084v-8.92h7.782c6.078%200%208.112.086%209.288.393m-2.934%2021.554c1.41.392%203.076%201.616%203.93%202.888c.898%201.337%201.423%203.076%202.667%208.836c1.05%204.87%201.727%206.46%203.62%208.532c2.345%202.566%201.8%202.466%2013.514%202.466c5.61%200%2010.198.09%2010.198.2c0%20.197-3.863%204.764-4.03%204.764c-.048%200-2.066-.422-4.484-.939c-6.829-1.458-7.075-1.287-8.642%206.032l-1.008%204.702l-.91.448c-1.518.75-6.453%202.292-9.01%202.82c-4.228.87-8.828%201.162-12.871.821c-6.893-.585-16.02-3.259-16.377-4.8c-.075-.327-.535-2.443-1.018-4.704c-.485-2.26-1.074-4.404-1.31-4.764c-1.13-1.724-2.318-1.83-7.547-.674c-1.98.44-3.708.796-3.84.796c-.248%200-3.923-4.249-3.923-4.535c0-.09%208.728-.194%2019.396-.23l19.395-.066l.07-6.89c.05-4.865-.018-6.997-.23-7.25c-.234-.284-1.485-.358-6.011-.358H53.32v-8.36l6.597.001c3.626.002%207.02.12%207.539.264M37.57%20100.02c3.084%201.88%201.605%206.804-2.043%206.8c-3.74%200-5.127-4.88-1.94-6.826c1.055-.643%202.908-.63%203.983.026m56.48.206c1.512%201.108%202.015%203.413%201.079%204.95c-2.46%204.034-8.612.827-6.557-3.419c1.01-2.085%203.695-2.837%205.478-1.53'%20/%3e%3c/svg%3e`,javascript:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='128'%20height='128'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%23f0db4f'%20d='M1.408%201.408h125.184v125.185H1.408z'%20/%3e%3cpath%20fill='%23323330'%20d='M116.347%2096.736c-.917-5.711-4.641-10.508-15.672-14.981c-3.832-1.761-8.104-3.022-9.377-5.926c-.452-1.69-.512-2.642-.226-3.665c.821-3.32%204.784-4.355%207.925-3.403c2.023.678%203.938%202.237%205.093%204.724c5.402-3.498%205.391-3.475%209.163-5.879c-1.381-2.141-2.118-3.129-3.022-4.045c-3.249-3.629-7.676-5.498-14.756-5.355l-3.688.477c-3.534.893-6.902%202.748-8.877%205.235c-5.926%206.724-4.236%2018.492%202.975%2023.335c7.104%205.332%2017.54%206.545%2018.873%2011.531c1.297%206.104-4.486%208.08-10.234%207.378c-4.236-.881-6.592-3.034-9.139-6.949c-4.688%202.713-4.688%202.713-9.508%205.485c1.143%202.499%202.344%203.63%204.26%205.795c9.068%209.198%2031.76%208.746%2035.83-5.176c.165-.478%201.261-3.666.38-8.581M69.462%2058.943H57.753l-.048%2030.272c0%206.438.333%2012.34-.714%2014.149c-1.713%203.558-6.152%203.117-8.175%202.427c-2.059-1.012-3.106-2.451-4.319-4.485c-.333-.584-.583-1.036-.667-1.071l-9.52%205.83c1.583%203.249%203.915%206.069%206.902%207.901c4.462%202.678%2010.459%203.499%2016.731%202.059c4.082-1.189%207.604-3.652%209.448-7.401c2.666-4.915%202.094-10.864%202.07-17.444c.06-10.735.001-21.468.001-32.237'%20/%3e%3c/svg%3e`,typescript:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='128'%20height='128'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%23fff'%20d='M22.67%2047h99.67v73.67H22.67z'%20/%3e%3cpath%20fill='%23007acc'%20d='M1.5%2063.91v62.5h125v-125H1.5zm100.73-5a15.56%2015.56%200%200%201%207.82%204.5a20.6%2020.6%200%200%201%203%204c0%20.16-5.4%203.81-8.69%205.85c-.12.08-.6-.44-1.13-1.23a7.09%207.09%200%200%200-5.87-3.53c-3.79-.26-6.23%201.73-6.21%205a4.6%204.6%200%200%200%20.54%202.34c.83%201.73%202.38%202.76%207.24%204.86c8.95%203.85%2012.78%206.39%2015.16%2010c2.66%204%203.25%2010.46%201.45%2015.24c-2%205.2-6.9%208.73-13.83%209.9a38.3%2038.3%200%200%201-9.52-.1a23%2023%200%200%201-12.72-6.63c-1.15-1.27-3.39-4.58-3.25-4.82a9%209%200%200%201%201.15-.73L82%20101l3.59-2.08l.75%201.11a16.8%2016.8%200%200%200%204.74%204.54c4%202.1%209.46%201.81%2012.16-.62a5.43%205.43%200%200%200%20.69-6.92c-1-1.39-3-2.56-8.59-5c-6.45-2.78-9.23-4.5-11.77-7.24a16.5%2016.5%200%200%201-3.43-6.25a25%2025%200%200%201-.22-8c1.33-6.23%206-10.58%2012.82-11.87a31.7%2031.7%200%200%201%209.49.26zm-29.34%205.24v5.12H56.66v46.23H45.15V69.26H28.88v-5a49%2049%200%200%201%20.12-5.17C29.08%2059%2039%2059%2051%2059h21.83z'%20/%3e%3c/svg%3e`,shell:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20128%20128'%20width='24'%20height='24'%3e%3cpath%20fill='none'%20d='M4.24%204.24h119.53v119.53H4.24z'%20/%3e%3cpath%20fill='%23293138'%20d='M109.01%2028.64L71.28%206.24c-2.25-1.33-4.77-2-7.28-2s-5.03.67-7.28%202.01l-37.74%2022.4c-4.5%202.67-7.28%207.61-7.28%2012.96v44.8c0%205.35%202.77%2010.29%207.28%2012.96l37.73%2022.4c2.25%201.34%204.76%202%207.28%202c2.51%200%205.03-.67%207.28-2l37.74-22.4c4.5-2.67%207.28-7.62%207.28-12.96V41.6c0-5.34-2.77-10.29-7.28-12.96M79.79%2098.59l.06%203.22c0%20.39-.25.83-.55.99l-1.91%201.1c-.3.15-.56-.03-.56-.42l-.03-3.17c-1.63.68-3.29.84-4.34.42c-.2-.08-.29-.37-.21-.71l.69-2.91c.06-.23.18-.46.34-.6c.06-.06.12-.1.18-.13c.11-.06.22-.07.31-.03c1.14.38%202.59.2%203.99-.5c1.78-.9%202.97-2.72%202.95-4.52c-.02-1.64-.9-2.31-3.05-2.33c-2.74.01-5.3-.53-5.34-4.57c-.03-3.32%201.69-6.78%204.43-8.96l-.03-3.25c0-.4.24-.84.55-1l1.85-1.18c.3-.15.56.04.56.43l.03%203.25c1.36-.54%202.54-.69%203.61-.44c.23.06.34.38.24.75l-.72%202.88c-.06.22-.18.44-.33.58a.8.8%200%200%201-.19.14c-.1.05-.19.06-.28.05c-.49-.11-1.65-.36-3.48.56c-1.92.97-2.59%202.64-2.58%203.88c.02%201.48.77%201.93%203.39%201.97c3.49.06%204.99%201.58%205.03%205.09c.05%203.44-1.79%207.15-4.61%209.41m26.34-60.5l-35.7%2022.05c-4.45%202.6-7.73%205.52-7.74%2010.89v43.99c0%203.21%201.3%205.29%203.29%205.9c-.65.11-1.32.19-1.98.19c-2.09%200-4.15-.57-5.96-1.64l-37.73-22.4c-3.69-2.19-5.98-6.28-5.98-10.67V41.6c0-4.39%202.29-8.48%205.98-10.67l37.74-22.4c1.81-1.07%203.87-1.64%205.96-1.64s4.15.57%205.96%201.64l37.74%2022.4c3.11%201.85%205.21%205.04%205.8%208.63c-1.27-2.67-4.09-3.39-7.38-1.47'%20/%3e%3cpath%20fill='%234fa847'%20d='m99.12%2090.73l-9.4%205.62c-.25.15-.43.31-.43.61v2.46c0%20.3.2.43.45.28l9.54-5.8c.25-.15.29-.42.29-.72v-2.17c0-.3-.2-.42-.45-.28'%20/%3e%3c/svg%3e`,terraform:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cg%20fill-rule='evenodd'%3e%3cpath%20fill='%235c4ee5'%20d='M77.941%2044.5v36.836L46.324%2062.918V26.082zm0%200'%20/%3e%3cpath%20fill='%234040b2'%20d='m81.41%2081.336l31.633-18.418V26.082L81.41%2044.5zm0%200'%20/%3e%3cpath%20fill='%235c4ee5'%20d='M11.242%2042.36L42.86%2060.776V23.941L11.242%205.523zm66.699%2043.015L46.324%2066.957v36.82l31.617%2018.418zm0%200'%20/%3e%3c/g%3e%3c/svg%3e`,html:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%23e44d26'%20d='M19.037%20113.876L9.032%201.661h109.936l-10.016%20112.198l-45.019%2012.48z'%20/%3e%3cpath%20fill='%23f16529'%20d='m64%20116.8l36.378-10.086l8.559-95.878H64z'%20/%3e%3cpath%20fill='%23ebebeb'%20d='M64%2052.455H45.788L44.53%2038.361H64V24.599H29.489l.33%203.692l3.382%2037.927H64zm0%2035.743l-.061.017l-15.327-4.14l-.979-10.975H33.816l1.928%2021.609l28.193%207.826l.063-.017z'%20/%3e%3cpath%20fill='%23fff'%20d='M63.952%2052.455v13.763h16.947l-1.597%2017.849l-15.35%204.143v14.319l28.215-7.82l.207-2.325l3.234-36.233l.335-3.696h-3.708zm0-27.856v13.762h33.244l.276-3.092l.628-6.978l.329-3.692z'%20/%3e%3c/svg%3e`,css:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='128'%20height='128'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%23639'%20d='M0%200h107.52C118.831%200%20128%209.168%20128%2020.48v87.04c0%2011.312-9.168%2020.48-20.48%2020.48H20.48C9.169%20128%200%20118.832%200%20107.52Z'%20/%3e%3cpath%20fill='%23fff'%20d='M45.836%20117.762c-8.219-.008-13.293-4.64-13.195-13.16V83.05q0-6.481%203.793-9.852c4.543-4.379%2015.082-4.644%2019.53.067c2.743%202.417%203.778%207.355%203.532%2011.964H50.06c.074-1.808-.024-4.554-1.09-5.586c-1.383-1.87-5.035-1.652-6.004.297c-.594%201.059-.89%202.621-.89%204.696v18.71q0%205.884%204.09%205.95q1.914-.001%202.905-1.39c.918-1.099%201.063-3.528.989-5.29h9.437c.645%208.969-4.652%2015.254-13.66%2015.144Zm29.957%200c-9.11.125-13.184-6.36-12.934-15.145h8.91c-.25%203.832%201.067%207.32%204.223%207.078q2.11%200%202.969-1.324c1.086-1.613%201.293-6.265-.266-8.066c-1.085-1.735-4.996-3.266-7.058-4.297q-4.423-2.115-6.367-5.027c-2.93-4.305-2.657-13.754%201.449-17.586c3.992-4.727%2014.414-4.942%2018.41-.098c2.465%202.496%203.54%207.41%203.332%2011.934h-8.578c.074-1.86-.102-4.86-.824-5.95q-.762-1.39-2.871-1.39q-3.762.001-3.762%204.496c.027%203.18%201.27%204.488%204.16%205.816c3.742%201.453%208.5%203.938%2010.227%206.942c5.144%209.16%201.613%2023.148-11.02%2022.613Zm28.77%200c-9.11.125-13.184-6.36-12.934-15.145h8.91c-.25%203.832%201.066%207.32%204.223%207.078q2.108%200%202.969-1.324c1.085-1.613%201.289-6.265-.266-8.066c-1.086-1.735-4.996-3.266-7.059-4.297q-4.423-2.115-6.367-5.027c-2.93-4.305-2.656-13.754%201.45-17.586c3.992-4.727%2014.413-4.942%2018.41-.098c2.464%202.496%203.539%207.41%203.332%2011.934h-8.579c.07-1.86-.101-4.86-.824-5.95q-.762-1.39-2.87-1.39q-3.763.001-3.763%204.496c.028%203.18%201.27%204.488%204.16%205.816c3.743%201.453%208.5%203.938%2010.227%206.942c5.145%209.16%201.614%2023.148-11.02%2022.613Z'%20/%3e%3c/svg%3e`,npm:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%23cb3837'%20d='M0%207.062C0%203.225%203.225%200%207.062%200h113.88c3.838%200%207.063%203.225%207.063%207.062v113.88c0%203.838-3.225%207.063-7.063%207.063H7.062c-3.837%200-7.062-3.225-7.062-7.063zm23.69%2097.518h40.395l.05-58.532h19.494l-.05%2058.581h19.543l.05-78.075l-78.075-.1l-.1%2078.126z'%20/%3e%3cpath%20fill='%23fff'%20d='M25.105%2065.52V26.512H40.96c8.72%200%2026.274.034%2039.008.075l23.153.075v77.866H83.645v-58.54H64.057v58.54H25.105z'%20/%3e%3c/svg%3e`,java:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%230074bd'%20d='M47.617%2098.12s-4.767%202.774%203.397%203.71c9.892%201.13%2014.947.968%2025.845-1.092c0%200%202.871%201.795%206.873%203.351c-24.439%2010.47-55.308-.607-36.115-5.969m-2.988-13.665s-5.348%203.959%202.823%204.805c10.567%201.091%2018.91%201.18%2033.354-1.6c0%200%201.993%202.025%205.132%203.131c-29.542%208.64-62.446.68-41.309-6.336'%20/%3e%3cpath%20fill='%23ea2d2e'%20d='M69.802%2061.271c6.025%206.935-1.58%2013.17-1.58%2013.17s15.289-7.891%208.269-17.777c-6.559-9.215-11.587-13.792%2015.635-29.58c0%20.001-42.731%2010.67-22.324%2034.187'%20/%3e%3cpath%20fill='%230074bd'%20d='M102.123%20108.229s3.529%202.91-3.888%205.159c-14.102%204.272-58.706%205.56-71.094.171c-4.451-1.938%203.899-4.625%206.526-5.192c2.739-.593%204.303-.485%204.303-.485c-4.953-3.487-32.013%206.85-13.743%209.815c49.821%208.076%2090.817-3.637%2077.896-9.468M49.912%2070.294s-22.686%205.389-8.033%207.348c6.188.828%2018.518.638%2030.011-.326c9.39-.789%2018.813-2.474%2018.813-2.474s-3.308%201.419-5.704%203.053c-23.042%206.061-67.544%203.238-54.731-2.958c10.832-5.239%2019.644-4.643%2019.644-4.643m40.697%2022.747c23.421-12.167%2012.591-23.86%205.032-22.285c-1.848.385-2.677.72-2.677.72s.688-1.079%202-1.543c14.953-5.255%2026.451%2015.503-4.823%2023.725c0-.002.359-.327.468-.617'%20/%3e%3cpath%20fill='%23ea2d2e'%20d='M76.491%201.587S89.459%2014.563%2064.188%2034.51c-20.266%2016.006-4.621%2025.13-.007%2035.559c-11.831-10.673-20.509-20.07-14.688-28.815C58.041%2028.42%2081.722%2022.195%2076.491%201.587'%20/%3e%3cpath%20fill='%230074bd'%20d='M52.214%20126.021c22.476%201.437%2057-.8%2057.817-11.436c0%200-1.571%204.032-18.577%207.231c-19.186%203.612-42.854%203.191-56.887.874c0%20.001%202.875%202.381%2017.647%203.331'%20/%3e%3c/svg%3e`,kotlin:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cdefs%3e%3clinearGradient%20id='deviconKotlin0'%20x1='500.003'%20x2='-.097'%20y1='579.106'%20y2='1079.206'%20gradientTransform='translate(15.534%20-96.774)scale(.1939)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.003'%20stop-color='%23e44857'%20/%3e%3cstop%20offset='.469'%20stop-color='%23c711e1'%20/%3e%3cstop%20offset='1'%20stop-color='%237f52ff'%20/%3e%3c/linearGradient%3e%3c/defs%3e%3cpath%20fill='url(%23deviconKotlin0)'%20d='M112.484%20112.484H15.516V15.516h96.968L64%2064Zm0%200'%20/%3e%3c/svg%3e`,go:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cg%20fill='%2300acd7'%20fill-rule='evenodd'%3e%3cpath%20d='M11.156%2054.829c-.243%200-.303-.122-.182-.303l1.273-1.637c.12-.182.424-.303.666-.303H34.55c.243%200%20.303.182.182.364l-1.03%201.576c-.121.181-.424.363-.606.363zm-9.152%205.575c-.242%200-.303-.12-.182-.303l1.273-1.636c.121-.182.424-.303.667-.303h27.636c.242%200%20.364.182.303.364l-.485%201.454c-.06.243-.303.364-.545.364zM16.67%2065.98c-.242%200-.302-.182-.181-.364l.848-1.515c.122-.182.364-.363.607-.363h12.12c.243%200%20.364.181.364.424l-.12%201.454c0%20.243-.243.425-.425.425zm62.91-12.242c-3.819.97-6.425%201.697-10.182%202.666c-.91.243-.97.303-1.758-.606c-.909-1.03-1.576-1.697-2.848-2.303c-3.819-1.878-7.516-1.333-10.97.91c-4.121%202.666-6.242%206.605-6.182%2011.514c.06%204.849%203.394%208.849%208.182%209.516c4.121.545%207.576-.91%2010.303-4c.545-.667%201.03-1.394%201.636-2.243H56.064c-1.272%200-1.575-.788-1.151-1.818c.788-1.879%202.242-5.03%203.09-6.606c.183-.364.607-.97%201.516-.97h22.06c-.12%201.637-.12%203.273-.363%204.91c-.667%204.363-2.303%208.363-4.97%2011.878c-4.364%205.758-10.06%209.333-17.273%2010.303c-5.939.788-11.454-.364-16.302-4c-4.485-3.394-7.03-7.879-7.697-13.454c-.788-6.606%201.151-12.546%205.151-17.758c4.303-5.636%2010-9.212%2016.97-10.485c5.697-1.03%2011.151-.363%2016.06%202.97c3.212%202.121%205.515%205.03%207.03%208.545c.364.546.122.849-.606%201.03z'%20/%3e%3cpath%20fill-rule='nonzero'%20d='M99.64%2087.253c-5.515-.122-10.546-1.697-14.788-5.334c-3.576-3.09-5.818-7.03-6.545-11.697c-1.091-6.848.787-12.909%204.909-18.302c4.424-5.819%209.757-8.849%2016.97-10.122c6.181-1.09%2012-.484%2017.272%203.091c4.788%203.273%207.757%207.697%208.545%2013.515c1.03%208.182-1.333%2014.849-6.97%2020.546c-4%204.06-8.909%206.606-14.545%207.757c-1.636.303-3.273.364-4.848.546m14.424-24.485c-.06-.788-.06-1.394-.182-2c-1.09-6-6.606-9.394-12.363-8.06c-5.637%201.272-9.273%204.848-10.606%2010.545c-1.091%204.727%201.212%209.515%205.575%2011.454c3.334%201.455%206.667%201.273%209.879-.363c4.788-2.485%207.394-6.364%207.697-11.576'%20/%3e%3c/g%3e%3c/svg%3e`,python:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3clinearGradient%20id='deviconPython0'%20x1='70.252'%20x2='170.659'%20y1='1237.476'%20y2='1151.089'%20gradientTransform='matrix(.563%200%200%20-.568%20-29.215%20707.817)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%235a9fd4'%20/%3e%3cstop%20offset='1'%20stop-color='%23306998'%20/%3e%3c/linearGradient%3e%3clinearGradient%20id='deviconPython1'%20x1='209.474'%20x2='173.62'%20y1='1098.811'%20y2='1149.537'%20gradientTransform='matrix(.563%200%200%20-.568%20-29.215%20707.817)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%23ffd43b'%20/%3e%3cstop%20offset='1'%20stop-color='%23ffe873'%20/%3e%3c/linearGradient%3e%3cpath%20fill='url(%23deviconPython0)'%20d='M63.391%201.988c-4.222.02-8.252.379-11.8%201.007c-10.45%201.846-12.346%205.71-12.346%2012.837v9.411h24.693v3.137H29.977c-7.176%200-13.46%204.313-15.426%2012.521c-2.268%209.405-2.368%2015.275%200%2025.096c1.755%207.311%205.947%2012.519%2013.124%2012.519h8.491V67.234c0-8.151%207.051-15.34%2015.426-15.34h24.665c6.866%200%2012.346-5.654%2012.346-12.548V15.833c0-6.693-5.646-11.72-12.346-12.837c-4.244-.706-8.645-1.027-12.866-1.008M50.037%209.557c2.55%200%204.634%202.117%204.634%204.721c0%202.593-2.083%204.69-4.634%204.69c-2.56%200-4.633-2.097-4.633-4.69c-.001-2.604%202.073-4.721%204.633-4.721'%20transform='translate(0%2010.26)'%20/%3e%3cpath%20fill='url(%23deviconPython1)'%20d='M91.682%2028.38v10.966c0%208.5-7.208%2015.655-15.426%2015.655H51.591c-6.756%200-12.346%205.783-12.346%2012.549v23.515c0%206.691%205.818%2010.628%2012.346%2012.547c7.816%202.297%2015.312%202.713%2024.665%200c6.216-1.801%2012.346-5.423%2012.346-12.547v-9.412H63.938v-3.138h37.012c7.176%200%209.852-5.005%2012.348-12.519c2.578-7.735%202.467-15.174%200-25.096c-1.774-7.145-5.161-12.521-12.348-12.521h-9.268zM77.809%2087.927c2.561%200%204.634%202.097%204.634%204.692c0%202.602-2.074%204.719-4.634%204.719c-2.55%200-4.633-2.117-4.633-4.719c0-2.595%202.083-4.692%204.633-4.692'%20transform='translate(0%2010.26)'%20/%3e%3cradialGradient%20id='deviconPython2'%20cx='1825.678'%20cy='444.45'%20r='26.743'%20gradientTransform='matrix(0%20-.24%20-1.055%200%20532.979%20557.576)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%23b8b8b8'%20stop-opacity='0.498'%20/%3e%3cstop%20offset='1'%20stop-color='%237f7f7f'%20stop-opacity='0'%20/%3e%3c/radialGradient%3e%3cpath%20fill='url(%23deviconPython2)'%20d='M97.309%20119.597c0%203.543-14.816%206.416-33.091%206.416c-18.276%200-33.092-2.873-33.092-6.416s14.815-6.417%2033.092-6.417c18.275%200%2033.091%202.872%2033.091%206.417'%20opacity='0.444'%20/%3e%3c/svg%3e`,sql:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%2300618a'%20d='M117.688%2098.242c-6.973-.191-12.297.461-16.852%202.379c-1.293.547-3.355.559-3.566%202.18c.711.746.82%201.859%201.387%202.777c1.086%201.754%202.922%204.113%204.559%205.352c1.789%201.348%203.633%202.793%205.551%203.961c3.414%202.082%207.223%203.27%2010.504%205.352c1.938%201.23%203.859%202.777%205.75%204.164c.934.684%201.563%201.75%202.773%202.18v-.195c-.637-.812-.801-1.93-1.387-2.777l-2.578-2.578c-2.52-3.344-5.719-6.281-9.117-8.719c-2.711-1.949-8.781-4.578-9.91-7.73l-.199-.199c1.922-.219%204.172-.914%205.949-1.391c2.98-.797%205.645-.59%208.719-1.387l4.164-1.187v-.793c-1.555-1.594-2.664-3.707-4.359-5.152c-4.441-3.781-9.285-7.555-14.273-10.703c-2.766-1.746-6.184-2.883-9.117-4.363c-.988-.496-2.719-.758-3.371-1.586c-1.539-1.961-2.379-4.449-3.566-6.738c-2.488-4.793-4.93-10.023-7.137-15.066c-1.504-3.437-2.484-6.828-4.359-9.91c-9-14.797-18.687-23.73-33.695-32.508c-3.195-1.867-7.039-2.605-11.102-3.57l-6.543-.395c-1.332-.555-2.715-2.184-3.965-2.977C16.977%203.52%204.223-3.312.539%205.672C-1.785%2011.34%204.016%2016.871%206.09%2019.746c1.457%202.012%203.32%204.273%204.359%206.539c.688%201.492.805%202.984%201.391%204.559c1.438%203.883%202.695%208.109%204.559%2011.695c.941%201.816%201.98%203.727%203.172%205.352c.727.996%201.98%201.438%202.18%202.973c-1.227%201.715-1.297%204.375-1.984%206.543c-3.098%209.77-1.926%2021.91%202.578%2029.137c1.383%202.223%204.641%206.98%209.117%205.156c3.918-1.598%203.043-6.539%204.164-10.902c.254-.988.098-1.715.594-2.379v.199l3.57%207.133c2.641%204.254%207.324%208.699%2011.297%2011.699c2.059%201.555%203.68%204.242%206.344%205.152v-.199h-.199c-.516-.805-1.324-1.137-1.98-1.781c-1.551-1.523-3.277-3.414-4.559-5.156c-3.613-4.902-6.805-10.27-9.711-15.855c-1.391-2.668-2.598-5.609-3.77-8.324c-.453-1.047-.445-2.633-1.387-3.172c-1.281%201.988-3.172%203.598-4.164%205.945c-1.582%203.754-1.789%208.336-2.375%2013.082c-.348.125-.195.039-.398.199c-2.762-.668-3.73-3.508-4.758-5.949c-2.594-6.164-3.078-16.09-.793-23.191c.59-1.836%203.262-7.617%202.18-9.316c-.516-1.691-2.219-2.672-3.172-3.965c-1.18-1.598-2.355-3.703-3.172-5.551c-2.125-4.805-3.113-10.203-5.352-15.062c-1.07-2.324-2.875-4.676-4.359-6.738c-1.645-2.289-3.484-3.977-4.758-6.742c-.453-.984-1.066-2.559-.398-3.566c.215-.684.516-.969%201.191-1.191c1.148-.887%204.352.297%205.547.793c3.18%201.32%205.832%202.578%208.527%204.363c1.289.855%202.598%202.512%204.16%202.973h1.785c2.789.641%205.914.195%208.523.988c4.609%201.402%208.738%203.582%2012.488%205.949c11.422%207.215%2020.766%2017.48%2027.156%2029.734c1.027%201.973%201.473%203.852%202.379%205.945c1.824%204.219%204.125%208.559%205.941%2012.688c1.816%204.113%203.582%208.27%206.148%2011.695c1.348%201.801%206.551%202.766%208.918%203.766c1.66.699%204.379%201.43%205.949%202.379c3%201.809%205.906%203.965%208.723%205.945c1.402.992%205.73%203.168%205.945%204.957zm-88.605-75.52c-1.453-.027-2.48.156-3.566.395v.199h.195c.695%201.422%201.918%202.34%202.777%203.566l1.98%204.164l.199-.195c1.227-.867%201.789-2.25%201.781-4.363c-.492-.52-.562-1.164-.992-1.785c-.562-.824-1.66-1.289-2.375-1.98zm0%200'%20/%3e%3c/svg%3e`,json:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%3e%3cpath%20fill='%23788191'%20d='M5%203h2v2H5v5a2%202%200%200%201-2%202a2%202%200%200%201%202%202v5h2v2H5c-1.07-.27-2-.9-2-2v-4a2%202%200%200%200-2-2H0v-2h1a2%202%200%200%200%202-2V5a2%202%200%200%201%202-2m14%200a2%202%200%200%201%202%202v4a2%202%200%200%200%202%202h1v2h-1a2%202%200%200%200-2%202v4a2%202%200%200%201-2%202h-2v-2h2v-5a2%202%200%200%201%202-2a2%202%200%200%201-2-2V5h-2V3zm-7%2012a1%201%200%200%201%201%201a1%201%200%200%201-1%201a1%201%200%200%201-1-1a1%201%200%200%201%201-1m-4%200a1%201%200%200%201%201%201a1%201%200%200%201-1%201a1%201%200%200%201-1-1a1%201%200%200%201%201-1m8%200a1%201%200%200%201%201%201a1%201%200%200%201-1%201a1%201%200%200%201-1-1a1%201%200%200%201%201-1'%20/%3e%3c/svg%3e`,lua:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%23000080'%20d='M112.956.708c-7.912%200-14.335%206.424-14.335%2014.336s6.424%2014.335%2014.335%2014.335s14.335-6.41%2014.335-14.335c0-7.912-6.424-14.336-14.335-14.336M64%2015.058c-27.02%200-48.956%2021.935-48.956%2048.955S36.979%20112.97%2064%20112.97c27.02%200%2048.956-21.935%2048.956-48.956c0-27.02-21.936-48.956-48.956-48.956'%20/%3e%3cpath%20fill='%23fff'%20d='M84.285%2029.392c-7.91%200-14.335%206.424-14.335%2014.335s6.424%2014.336%2014.335%2014.336s14.336-6.424%2014.336-14.336s-6.424-14.335-14.335-14.335zM30.773%2056.36v32.119h19.961v-3.611H34.87V56.359Zm57.584%208.37c-3.354%200-6.126.975-7.668%202.692c-1.055%201.19-1.488%202.516-1.582%204.801h3.705c.311-2.826%201.988-4.098%205.423-4.098c3.3%200%205.153%201.231%205.153%203.435v.974c0%201.542-.92%202.205-3.827%202.556c-5.193.663-5.991.839-7.398%201.407c-2.69%201.095-4.057%203.164-4.057%206.166c0%204.193%202.908%206.83%207.574%206.83c2.907%200%205.247-1.014%207.843-3.395c.257%202.34%201.407%203.395%203.787%203.395c.757%200%201.325-.081%202.515-.392v-2.773a3%203%200%200%201-.798.095c-1.284%200-1.988-.663-1.988-1.812V71.032c0-4.098-3.002-6.302-8.682-6.302m-33.742.664V83.19c0%203.84%202.867%206.302%207.357%206.302c3.395%200%205.545-1.19%207.709-4.233v3.219h3.3V65.393h-3.652v13.09c0%204.72-2.475%207.804-6.302%207.804c-2.907%200-4.76-1.772-4.76-4.544v-16.35Zm38.773%2011.67v4.139c0%201.244-.365%201.988-1.46%203.002c-1.502%201.366-3.3%202.07-5.464%202.07c-2.867%200-4.544-1.367-4.544-3.706c0-2.42%201.636-3.665%205.558-4.233c3.881-.528%204.68-.703%205.91-1.271z'%20/%3e%3cpath%20fill='%23808080'%20d='M61.733%200a64%2064%200%200%200-5.57.436l.179%201.458a63%2063%200%200%201%205.442-.426zm5.585.046l-.075%201.468a62%2062%200%200%201%205.433.52L72.88.578a64%2064%200%200%200-5.561-.532Zm-16.665%201.31a63%2063%200%200%200-5.409%201.398l.43%201.405a62%2062%200%200%201%205.284-1.367Zm27.72.237l-.33%201.431a63%2063%200%200%201%205.262%201.455l.452-1.397a64%2064%200%200%200-5.384-1.489M39.98%204.623a64%2064%200%200%200-5.081%202.323l.668%201.308a62%2062%200%200%201%204.964-2.27zm49.012.41l-.573%201.353a63%2063%200%200%201%204.929%202.346l.688-1.298a64%2064%200%200%200-5.044-2.4ZM30.04%209.706a64%2064%200%200%200-4.6%203.17l.886%201.173a63%2063%200%200%201%204.494-3.098zm-8.906%206.728a64%2064%200%200%200-3.983%203.918l1.075%201.001a63%2063%200%200%201%203.891-3.827zm-7.61%208.165a64%2064%200%200%200-3.247%204.546l1.231.8a63%2063%200%200%201%203.172-4.44zm-6.086%209.357a64%2064%200%200%200-2.408%205.042l1.352.574a62%2062%200%200%201%202.352-4.925zm113.623.973l-1.31.667a63%2063%200%200%201%202.263%204.967l1.362-.55a64%2064%200%200%200-2.315-5.083zM3.075%2044.23a63%2063%200%200%200-1.49%205.385l1.432.328a62%2062%200%200%201%201.455-5.26Zm122.166%201.049l-1.404.429a63%2063%200%200%201%201.366%205.285l1.437-.306a64%2064%200%200%200-1.399-5.409zM.574%2055.108a64%2064%200%200%200-.528%205.561l1.467.075a63%2063%200%200%201%20.516-5.434Zm126.988%201.088l-1.458.179a63%2063%200%200%201%20.428%205.441l1.468-.05a64%2064%200%200%200-.438-5.57M1.468%2066.205L0%2066.255a64%2064%200%200%200%20.435%205.57l1.458-.179a63%2063%200%200%201-.425-5.441m125.018%201.071a63%2063%200%200%201-.518%205.434l1.455.203a64%2064%200%200%200%20.53-5.561zM2.79%2077.031l-1.437.304a63%2063%200%200%200%201.398%205.41l1.405-.43A62%2062%200%200%201%202.79%2077.03Zm122.188%201.046a62%2062%200%200%201-1.457%205.26l1.397.454a63%2063%200%200%200%201.492-5.384zM5.981%2087.459l-1.362.551a63%2063%200%200%200%202.323%205.082l1.307-.669a62%2062%200%200%201-2.268-4.964m115.627.99a62%2062%200%200%201-2.354%204.925l1.296.69a64%2064%200%200%200%202.41-5.04zM10.944%2097.17l-1.245.78a64%2064%200%200%200%203.17%204.6l1.172-.885a63%2063%200%200%201-3.097-4.495m105.534.904a63%2063%200%200%201-3.173%204.44l1.156.906a64%2064%200%200%200%203.249-4.545zm-98.96%207.8l-1.092.983a64%2064%200%200%200%203.917%203.983l1.002-1.074a63%2063%200%200%201-3.827-3.892m92.24.79a63%2063%200%200%201-3.893%203.826l.983%201.092a64%2064%200%200%200%203.984-3.916zm-84.263%206.648l-.906%201.157a64%2064%200%200%200%204.546%203.248l.8-1.232a63%2063%200%200%201-4.44-3.173m76.16.654a63%2063%200%200%201-4.495%203.096l.78%201.245a64%2064%200%200%200%204.6-3.17zm-67.018%205.294l-.691%201.296a64%2064%200%200%200%205.04%202.409l.575-1.352a62%2062%200%200%201-4.924-2.353m57.775.496a62%2062%200%200%201-4.964%202.268l.551%201.362a63%2063%200%200%200%205.082-2.322zm-47.74%203.77l-.453%201.396a63%2063%200%200%200%205.385%201.49l.329-1.43a62%2062%200%200%201-5.26-1.456zm37.632.322a62%2062%200%200%201-5.284%201.365l.304%201.437a63%2063%200%200%200%205.41-1.398zm-27.003%202.122l-.203%201.455a64%2064%200%200%200%205.561.529l.075-1.467a63%2063%200%200%201-5.433-.517m16.335.139a63%2063%200%200%201-5.442.424l.05%201.468a64%2064%200%200%200%205.57-.434z'%20/%3e%3c/svg%3e`,csharp:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%239b4f96'%20d='M115.4%2030.7L67.1%202.9c-.8-.5-1.9-.7-3.1-.7s-2.3.3-3.1.7l-48%2027.9c-1.7%201-2.9%203.5-2.9%205.4v55.7c0%201.1.2%202.4%201%203.5l106.8-62c-.6-1.2-1.5-2.1-2.4-2.7'%20/%3e%3cpath%20fill='%2368217a'%20d='M10.7%2095.3c.5.8%201.2%201.5%201.9%201.9l48.2%2027.9c.8.5%201.9.7%203.1.7s2.3-.3%203.1-.7l48-27.9c1.7-1%202.9-3.5%202.9-5.4V36.1c0-.9-.1-1.9-.6-2.8z'%20/%3e%3cpath%20fill='%23fff'%20d='M85.3%2076.1C81.1%2083.5%2073.1%2088.5%2064%2088.5c-13.5%200-24.5-11-24.5-24.5s11-24.5%2024.5-24.5c9.1%200%2017.1%205%2021.3%2012.5l13-7.5c-6.8-11.9-19.6-20-34.3-20c-21.8%200-39.5%2017.7-39.5%2039.5s17.7%2039.5%2039.5%2039.5c14.6%200%2027.4-8%2034.2-19.8zM97%2066.2l.9-4.3h-4.2v-4.7h5.1L100%2051h4.9l-1.2%206.1h3.8l1.2-6.1h4.8l-1.2%206.1h2.4v4.7h-3.3l-.9%204.3h4.2v4.7h-5.1l-1.2%206h-4.9l1.2-6h-3.8l-1.2%206h-4.8l1.2-6h-2.4v-4.7H97zm4.8%200h3.8l.9-4.3h-3.8z'%20/%3e%3c/svg%3e`,cpp:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%2300599c'%20d='M118.766%2095.82c.89-1.543%201.441-3.28%201.441-4.843V36.78c0-1.558-.55-3.297-1.441-4.84l-55.32%2031.94Zm0%200'%20/%3e%3cpath%20fill='%23004482'%20d='m68.36%20126.586l46.933-27.094c1.352-.781%202.582-2.129%203.473-3.672l-55.32-31.94L8.12%2095.82c.89%201.543%202.121%202.89%203.473%203.672l46.933%2027.094c2.703%201.562%207.13%201.562%209.832%200Zm0%200'%20/%3e%3cpath%20fill='%23659ad2'%20d='M118.766%2031.941c-.891-1.546-2.121-2.894-3.473-3.671L68.359%201.172c-2.703-1.563-7.129-1.563-9.832%200L11.594%2028.27C8.89%2029.828%206.68%2033.66%206.68%2036.78v54.196c0%201.562.55%203.3%201.441%204.843L63.445%2063.88Zm0%200'%20/%3e%3cpath%20fill='%23fff'%20d='M63.445%2026.035c-20.867%200-37.843%2016.977-37.843%2037.844s16.976%2037.844%2037.843%2037.844c13.465%200%2026.024-7.247%2032.77-18.91L79.84%2073.335c-3.38%205.84-9.66%209.465-16.395%209.465c-10.433%200-18.922-8.488-18.922-18.922s8.49-18.922%2018.922-18.922c6.73%200%2013.017%203.629%2016.39%209.465l16.38-9.477c-6.75-11.664-19.305-18.91-32.77-18.91zM92.88%2057.57v4.207h-4.207v4.203h4.207v4.207h4.203V65.98h4.203v-4.203h-4.203V57.57zm15.766%200v4.207h-4.204v4.203h4.204v4.207h4.207V65.98h4.203v-4.203h-4.203V57.57z'%20/%3e%3c/svg%3e`,c:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%23659ad3'%20d='M115.4%2030.7L67.1%202.9c-.8-.5-1.9-.7-3.1-.7s-2.3.3-3.1.7l-48%2027.9c-1.7%201-2.9%203.5-2.9%205.4v55.7c0%201.1.2%202.4%201%203.5l106.8-62c-.6-1.2-1.5-2.1-2.4-2.7'%20/%3e%3cpath%20fill='%2303599c'%20d='M10.7%2095.3c.5.8%201.2%201.5%201.9%201.9l48.2%2027.9c.8.5%201.9.7%203.1.7s2.3-.3%203.1-.7l48-27.9c1.7-1%202.9-3.5%202.9-5.4V36.1c0-.9-.1-1.9-.6-2.8z'%20/%3e%3cpath%20fill='%23fff'%20d='M85.3%2076.1C81.1%2083.5%2073.1%2088.5%2064%2088.5c-13.5%200-24.5-11-24.5-24.5s11-24.5%2024.5-24.5c9.1%200%2017.1%205%2021.3%2012.5l13-7.5c-6.8-11.9-19.6-20-34.3-20c-21.8%200-39.5%2017.7-39.5%2039.5s17.7%2039.5%2039.5%2039.5c14.6%200%2027.4-8%2034.2-19.8z'%20/%3e%3c/svg%3e`,file:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%3e%3cpath%20fill='%23788191'%20d='m12.89%203l1.96.4L11.11%2021l-1.96-.4zm6.7%209L16%208.41V5.58L22.42%2012L16%2018.41v-2.83zM1.58%2012L8%205.58v2.83L4.41%2012L8%2015.58v2.83z'%20/%3e%3c/svg%3e`},m=e=>(0,n.jsx)(`img`,{className:[f.icon,e.className].filter(Boolean).join(` `),src:p[e.language]||`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%3e%3cpath%20fill='%23788191'%20d='m12.89%203l1.96.4L11.11%2021l-1.96-.4zm6.7%209L16%208.41V5.58L22.42%2012L16%2018.41v-2.83zM1.58%2012L8%205.58v2.83L4.41%2012L8%2015.58v2.83z'%20/%3e%3c/svg%3e`,width:e.size,height:e.size,alt:e.language,style:{width:e.size,height:e.size,...e.style}}),h=[`rust`,`javascript`,`typescript`,`shell`,`terraform`,`html`,`css`,`npm`,`java`,`kotlin`,`go`,`python`,`sql`,`json`,`lua`,`csharp`,`cpp`,`c`,`file`],g={icon:`_icon_g71ox_1`,"icon-theme-color":`_icon-theme-color_g71ox_10`},_=e=>(0,n.jsx)(`div`,{className:e.className,style:e.style,children:(0,n.jsx)(`svg`,{width:e.size||`1.25rem`,height:e.size||`1.25rem`,viewBox:`0 0 24 24`,focusable:`false`,role:`img`,children:(0,n.jsx)(`path`,{style:{"--elmethis-scoped-color":e.colorLight??e.color,"--elmethis-scoped-color-dark":e.colorDark??e.color,...e.style},className:e.useThemeColor?g[`icon-theme-color`]:g.icon,fill:`currentColor`,d:e.d})})}),v={wrapper:`_wrapper_1q92c_15`,dot:`_dot_1q92c_22`,bounce:`_bounce_1q92c_1`},y=e=>{let{color:t,size:r=`64px`,style:i}=e;return(0,n.jsx)(`div`,{className:[v.wrapper,e.className].filter(Boolean).join(` `),style:{width:r,height:r,...i},children:[1,2,3].map(e=>(0,n.jsx)(`div`,{className:v.dot,"aria-hidden":!0,style:t?{backgroundColor:t}:void 0},e))})},ee={wrapper:`_wrapper_1yu3x_19`,square:`_square_1yu3x_28`,appear:`_appear_1yu3x_1`},te=1200,ne=e=>{let{size:t=`3rem`,dimensions:r=4,style:i}=e,a=te/(r*3),o=Array.from({length:r});return(0,n.jsx)(`div`,{className:[ee.wrapper,e.className].filter(Boolean).join(` `),style:{"--size":t,"--dimensions":r,"--duration":`${te}ms`,...i},children:o.map((e,t)=>o.map((e,r)=>(0,n.jsx)(`div`,{className:ee.square,style:{"--delay":`${a*(t+r)}ms`}},`${t}-${r}`)))})},re={icon:`_icon_x4u0f_1`},ie=`elmethis-theme`;function ae(){if(typeof document<`u`){let e=document.documentElement.getAttribute(`data-theme`);if(e!=null)return e===`dark`}if(typeof localStorage<`u`){let e=localStorage.getItem(ie);if(e!=null)return e===`dark`}return!1}function oe(){let[e,n]=(0,t.useState)(ae),r=(0,t.useCallback)(()=>{n(e=>!e)},[]);return(0,t.useEffect)(()=>{if(typeof document<`u`){document.documentElement.setAttribute(`data-theme`,e?`dark`:`light`);let t=document.querySelector(`body`);t!=null&&(t.style.colorScheme=e?`dark`:`light`),typeof localStorage<`u`&&localStorage.setItem(ie,e?`dark`:`light`)}},[e]),{isDarkTheme:e,toggleTheme:r}}var se=e=>{let{size:t=`2rem`,style:r,className:i}=e,{isDarkTheme:a,toggleTheme:o}=oe();return a?(0,n.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:t,height:t,viewBox:`0 0 24 24`,className:[re.icon,i].filter(Boolean).join(` `),style:r,onClick:o,children:[(0,n.jsxs)(`path`,{fillOpacity:`0`,d:`M15.22 6.03l2.53-1.94L14.56 4L13.5 1l-1.06 3l-3.19.09l2.53 1.94l-.91 3.06l2.63-1.81l2.63 1.81z`,fill:`currentColor`,children:[(0,n.jsx)(`animate`,{id:`lineMdSunnyOutlineToMoonLoopTransition0`,fill:`freeze`,attributeName:`fill-opacity`,begin:`0.6s;lineMdSunnyOutlineToMoonLoopTransition0.begin+6s`,dur:`0.4s`,values:`0;1`}),(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`fill-opacity`,begin:`lineMdSunnyOutlineToMoonLoopTransition0.begin+2.2s`,dur:`0.4s`,values:`1;0`})]}),(0,n.jsxs)(`path`,{fillOpacity:`0`,d:`M13.61 5.25L15.25 4l-2.06-.05L12.5 2l-.69 1.95L9.75 4l1.64 1.25l-.59 1.98l1.7-1.17l1.7 1.17z`,fill:`currentColor`,children:[(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`fill-opacity`,begin:`lineMdSunnyOutlineToMoonLoopTransition0.begin+3s`,dur:`0.4s`,values:`0;1`}),(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`fill-opacity`,begin:`lineMdSunnyOutlineToMoonLoopTransition0.begin+5.2s`,dur:`0.4s`,values:`1;0`})]}),(0,n.jsxs)(`path`,{fillOpacity:`0`,d:`M19.61 12.25L21.25 11l-2.06-.05L18.5 9l-.69 1.95l-2.06.05l1.64 1.25l-.59 1.98l1.7-1.17l1.7 1.17z`,fill:`currentColor`,children:[(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`fill-opacity`,begin:`lineMdSunnyOutlineToMoonLoopTransition0.begin+0.4s`,dur:`0.4s`,values:`0;1`}),(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`fill-opacity`,begin:`lineMdSunnyOutlineToMoonLoopTransition0.begin+2.8s`,dur:`0.4s`,values:`1;0`})]}),(0,n.jsxs)(`path`,{fillOpacity:`0`,d:`M20.828 9.731l1.876-1.439l-2.366-.067L19.552 6l-.786 2.225l-2.366.067l1.876 1.439L17.601 12l1.951-1.342L21.503 12z`,fill:`currentColor`,children:[(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`fill-opacity`,begin:`lineMdSunnyOutlineToMoonLoopTransition0.begin+3.4s`,dur:`0.4s`,values:`0;1`}),(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`fill-opacity`,begin:`lineMdSunnyOutlineToMoonLoopTransition0.begin+5.6s`,dur:`0.4s`,values:`1;0`})]}),(0,n.jsxs)(`g`,{fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`2`,children:[(0,n.jsxs)(`g`,{children:[(0,n.jsx)(`path`,{strokeDasharray:`2`,strokeDashoffset:`4`,d:`M12 21v1M21 12h1M12 3v-1M3 12h-1`,children:(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`stroke-dashoffset`,dur:`0.2s`,values:`4;2`})}),(0,n.jsx)(`path`,{strokeDasharray:`2`,strokeDashoffset:`4`,d:`M18.5 18.5l0.5 0.5M18.5 5.5l0.5 -0.5M5.5 5.5l-0.5 -0.5M5.5 18.5l-0.5 0.5`,children:(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`stroke-dashoffset`,begin:`0.2s`,dur:`0.2s`,values:`4;2`})}),(0,n.jsx)(`set`,{fill:`freeze`,attributeName:`opacity`,begin:`0.5s`,to:`0`})]}),(0,n.jsx)(`path`,{d:`M7 6 C7 12.08 11.92 17 18 17 C18.53 17 19.05 16.96 19.56 16.89 C17.95 19.36 15.17 21 12 21 C7.03 21 3 16.97 3 12 C3 8.83 4.64 6.05 7.11 4.44 C7.04 4.95 7 5.47 7 6 Z`,opacity:`0`,children:(0,n.jsx)(`set`,{fill:`freeze`,attributeName:`opacity`,begin:`0.5s`,to:`1`})})]}),(0,n.jsxs)(`mask`,{id:`lineMdSunnyOutlineToMoonLoopTransition1`,children:[(0,n.jsx)(`circle`,{cx:`12`,cy:`12`,r:`12`,fill:`#fff`}),(0,n.jsx)(`circle`,{cx:`12`,cy:`12`,r:`4`,children:(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`r`,begin:`0.1s`,dur:`0.4s`,values:`4;8`})}),(0,n.jsxs)(`circle`,{cx:`22`,cy:`2`,r:`3`,fill:`#fff`,children:[(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`cx`,begin:`0.1s`,dur:`0.4s`,values:`22;18`}),(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`cy`,begin:`0.1s`,dur:`0.4s`,values:`2;6`}),(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`r`,begin:`0.1s`,dur:`0.4s`,values:`3;12`})]}),(0,n.jsxs)(`circle`,{cx:`22`,cy:`2`,r:`1`,children:[(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`cx`,begin:`0.1s`,dur:`0.4s`,values:`22;18`}),(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`cy`,begin:`0.1s`,dur:`0.4s`,values:`2;6`}),(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`r`,begin:`0.1s`,dur:`0.4s`,values:`1;10`})]})]}),(0,n.jsxs)(`circle`,{cx:`12`,cy:`12`,r:`6`,mask:`url(#lineMdSunnyOutlineToMoonLoopTransition1)`,fill:`currentColor`,children:[(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`r`,begin:`0.1s`,dur:`0.4s`,values:`6;10`}),(0,n.jsx)(`set`,{fill:`freeze`,attributeName:`opacity`,begin:`0.5s`,to:`0`})]})]}):(0,n.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:t,height:t,viewBox:`0 0 24 24`,className:re.icon,style:r,onClick:o,children:[(0,n.jsxs)(`g`,{fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`2`,children:[(0,n.jsxs)(`path`,{strokeDasharray:`2`,strokeDashoffset:`2`,d:`M12 19v1M19 12h1M12 5v-1M5 12h-1`,children:[(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`d`,begin:`1.2s`,dur:`0.2s`,values:`M12 19v1M19 12h1M12 5v-1M5 12h-1;M12 21v1M21 12h1M12 3v-1M3 12h-1`}),(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`stroke-dashoffset`,begin:`1.2s`,dur:`0.2s`,values:`2;0`})]}),(0,n.jsxs)(`path`,{strokeDasharray:`2`,strokeDashoffset:`2`,d:`M17 17l0.5 0.5M17 7l0.5 -0.5M7 7l-0.5 -0.5M7 17l-0.5 0.5`,children:[(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`d`,begin:`1.4s`,dur:`0.2s`,values:`M17 17l0.5 0.5M17 7l0.5 -0.5M7 7l-0.5 -0.5M7 17l-0.5 0.5;M18.5 18.5l0.5 0.5M18.5 5.5l0.5 -0.5M5.5 5.5l-0.5 -0.5M5.5 18.5l-0.5 0.5`}),(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`stroke-dashoffset`,begin:`1.4s`,dur:`0.2s`,values:`2;0`})]}),(0,n.jsx)(`animateTransform`,{attributeName:`transform`,dur:`30s`,repeatCount:`indefinite`,type:`rotate`,values:`0 12 12;360 12 12`})]}),(0,n.jsxs)(`g`,{fill:`currentColor`,children:[(0,n.jsx)(`path`,{d:`M15.22 6.03L17.75 4.09L14.56 4L13.5 1L12.44 4L9.25 4.09L11.78 6.03L10.87 9.09L13.5 7.28L16.13 9.09L15.22 6.03Z`,children:(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`fill-opacity`,dur:`0.4s`,values:`1;0`})}),(0,n.jsx)(`path`,{d:`M19.61 12.25L21.25 11L19.19 10.95L18.5 9L17.81 10.95L15.75 11L17.39 12.25L16.8 14.23L18.5 13.06L20.2 14.23L19.61 12.25Z`,children:(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`fill-opacity`,begin:`0.2s`,dur:`0.4s`,values:`1;0`})})]}),(0,n.jsx)(`path`,{fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`2`,d:`M7 6 C7 12.08 11.92 17 18 17 C18.53 17 19.05 16.96 19.56 16.89 C17.95 19.36 15.17 21 12 21 C7.03 21 3 16.97 3 12 C3 8.83 4.64 6.05 7.11 4.44 C7.04 4.95 7 5.47 7 6 Z`,children:(0,n.jsx)(`set`,{fill:`freeze`,attributeName:`opacity`,begin:`0.6s`,to:`0`})}),(0,n.jsxs)(`mask`,{id:`lineMdMoonToSunnyOutlineLoopTransition0`,children:[(0,n.jsx)(`circle`,{cx:`12`,cy:`12`,r:`12`,fill:`#fff`}),(0,n.jsx)(`circle`,{cx:`12`,cy:`12`,r:`8`,children:(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`r`,begin:`0.6s`,dur:`0.4s`,values:`8;4`})}),(0,n.jsxs)(`circle`,{cx:`18`,cy:`6`,r:`12`,fill:`#fff`,children:[(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`cx`,begin:`0.6s`,dur:`0.4s`,values:`18;22`}),(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`cy`,begin:`0.6s`,dur:`0.4s`,values:`6;2`}),(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`r`,begin:`0.6s`,dur:`0.4s`,values:`12;3`})]}),(0,n.jsxs)(`circle`,{cx:`18`,cy:`6`,r:`10`,children:[(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`cx`,begin:`0.6s`,dur:`0.4s`,values:`18;22`}),(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`cy`,begin:`0.6s`,dur:`0.4s`,values:`6;2`}),(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`r`,begin:`0.6s`,dur:`0.4s`,values:`10;1`})]})]}),(0,n.jsxs)(`circle`,{cx:`12`,cy:`12`,r:`10`,mask:`url(#lineMdMoonToSunnyOutlineLoopTransition0)`,opacity:`0`,fill:`currentColor`,children:[(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`r`,begin:`0.6s`,dur:`0.4s`,values:`10;6`}),(0,n.jsx)(`set`,{fill:`freeze`,attributeName:`opacity`,begin:`0.6s`,to:`1`})]})]})},b={arrow:`_arrow_kn879_19`,loading:`_loading_kn879_49`,normal:`_normal_kn879_55`,pending:`_pending_kn879_64`},ce=e=>{let{direction:t=`right`,loading:r=!1,pending:i=!1,size:a=`2rem`,style:o}=e,s=t===`up`?`rotate(270deg)`:t===`down`?`rotate(90deg)`:t===`left`?`rotate(180deg)`:`rotate(0deg)`;return(0,n.jsx)(`div`,{className:[b.arrow,!r&&!i?b.normal:void 0,r?b.loading:void 0,!r&&i?b.pending:void 0,e.className].filter(Boolean).join(` `),style:{"--size":a,transform:s,...o}})},le={wrapper:`_wrapper_1c6r3_1`,favicon:`_favicon_1c6r3_24`,text:`_text_1c6r3_29`},ue={text:`_text_1nnze_1`,link:`_link_1nnze_19`},x=e=>{let t=e=>{let t=e.children;return e.kbd&&(t=(0,n.jsx)(`kbd`,{children:t})),e.code&&(t=(0,n.jsx)(`code`,{children:t})),e.strikethrough&&(t=(0,n.jsx)(`del`,{children:t})),e.underline&&(t=(0,n.jsx)(`ins`,{children:t})),e.italic&&(t=(0,n.jsx)(`em`,{children:t})),e.bold&&(t=(0,n.jsx)(`strong`,{children:t})),e.ruby&&(t=(0,n.jsxs)(`ruby`,{children:[t,(0,n.jsx)(`rt`,{children:e.ruby})]})),t},i=({favicon:e,href:t,children:r})=>(0,n.jsxs)(`a`,{className:ue.link,href:t,target:`_blank`,rel:`noopener noreferrer`,children:[e&&(0,n.jsx)(d,{src:e}),r]}),a=e=>e.href?i(e):t(e);return(0,n.jsx)(`span`,{className:[ue.text,e.className].filter(Boolean).join(` `),style:{"--elmethis-text-color-light":e.color,"--elmethis-text-color-dark":e.color,"--elmethis-text-background-color-light":e.backgroundColor,"--elmethis-text-background-color-dark":e.backgroundColor,color:e.color??(e.backgroundColor?(0,r.getLuminance)(e.backgroundColor)>.5?`#3e434b`:`#eeeff1`:void 0),backgroundColor:e.backgroundColor,...e.style},children:a(e)})},de=e=>{let{name:t,href:r,favicon:a,style:o}=e;return(0,n.jsxs)(`a`,{className:[le.wrapper,e.className].filter(Boolean).join(` `),href:r,target:`_blank`,rel:`noopener noreferrer`,style:o,children:[a==null?(0,n.jsx)(_,{d:i.mdiEarth,size:`2.5rem`,style:{opacity:.7}}):(0,n.jsx)(`img`,{className:le.favicon,src:a,alt:`favicon of ${t??r}`}),(0,n.jsx)(`div`,{className:le.text,children:(0,n.jsx)(x,{size:`.6rem`,children:t??r})})]})},fe={cube:`_cube_1merk_1`,"elmethis-cube-icon-rotate":`_elmethis-cube-icon-rotate_1merk_1`,face:`_face_1merk_8`},pe=[{name:`front`,rotate:``},{name:`back`,rotate:`rotateY(180deg)`},{name:`left`,rotate:`rotateY(-90deg)`},{name:`right`,rotate:`rotateY(90deg)`},{name:`top`,rotate:`rotateX(90deg)`},{name:`bottom`,rotate:`rotateX(-90deg)`}],me=e=>{let{size:r=128,style:i}=e,a=(0,t.useMemo)(()=>`translateZ(${r/2}px)`,[r]);return(0,n.jsx)(`div`,{className:[fe.cube,e.className].filter(Boolean).join(` `),style:{width:`${r}px`,height:`${r}px`,...i},children:pe.map(e=>(0,n.jsx)(`div`,{className:fe.face,style:{transform:`${e.rotate} ${a}`}},e.name))})},he={icon:`_icon_140bn_1`},ge=e=>{let{size:t=`2rem`,isLogin:r=!1,isLoading:a=!1,style:o}=e,s=a?i.mdiLoading:r?i.mdiLogoutVariant:i.mdiLoginVariant,c=a?`gray`:r?`#b36472`:`#6987b8`;return(0,n.jsx)(`div`,{className:[he.icon,e.className].filter(Boolean).join(` `),style:o,children:(0,n.jsx)(_,{d:s,color:c,size:t})})},_e={paragraph:`_paragraph_ewdky_1`},S=e=>(0,n.jsx)(`p`,{className:[_e.paragraph,e.className].filter(Boolean).join(` `),style:{backgroundColor:e.backgroundColor,...e.style},children:e.children}),C={blockquote:`_blockquote_x79j0_1`,cite:`_cite_x79j0_16`,icon:`_icon_x79j0_37`},ve=e=>(0,n.jsxs)(`blockquote`,{ref:(0,t.useRef)(null),className:[C.blockquote,e.className].filter(Boolean).join(` `),cite:e.cite,style:{...e.style},children:[e.children,e.cite&&(0,n.jsx)(`cite`,{className:C.cite,children:(0,n.jsx)(`a`,{href:e.cite,target:`_blank`,rel:`noopener noreferrer`,children:e.cite})}),(0,n.jsx)(`svg`,{className:C.icon,style:{top:`0.25rem`,left:`0.25rem`},viewBox:`0 0 24 24`,width:`1rem`,height:`1rem`,children:(0,n.jsx)(`path`,{d:i.mdiFormatQuoteOpen})}),(0,n.jsx)(`svg`,{className:C.icon,style:{bottom:`0.25rem`,right:`0.25rem`},viewBox:`0 0 24 24`,width:`1rem`,height:`1rem`,children:(0,n.jsx)(`path`,{d:i.mdiFormatQuoteClose})})]}),ye={callout:`_callout_16oli_1`,header:`_header_16oli_24`},be=Object.freeze({note:{code:`#6987b8`,icon:i.mdiInformation},tip:{code:`#59b57c`,icon:i.mdiLightbulbOn},important:{code:`#9771bd`,icon:i.mdiShieldAlert},warning:{code:`#b8a36e`,icon:i.mdiAlert},caution:{code:`#b36472`,icon:i.mdiAlertOctagram}}),xe=({type:e=`note`,...t})=>{let r=be[e];return(0,n.jsxs)(`aside`,{className:[ye.callout,t.className].filter(Boolean).join(` `),style:{"--elmethis-scoped-border-color":r.code,"--elmethis-scoped-background-color":`color-mix(in srgb, ${r.code} 10%, transparent)`,...t.style},children:[(0,n.jsxs)(`div`,{className:ye.header,children:[(0,n.jsx)(_,{d:r.icon,size:`1.25em`,color:r.code}),(0,n.jsx)(x,{color:r.code,children:e.toUpperCase()})]}),(0,n.jsx)(`div`,{children:t.children})]})},Se={divider:`_divider_uq5jr_1`},Ce=e=>(0,n.jsx)(`hr`,{className:[Se.divider,e.className].filter(Boolean).join(` `),style:e.style}),we={fragment:`_fragment_il7xb_1`},Te=e=>{let r=(0,t.useCallback)(e=>{let t=new URL(window.location.href);t.hash=e,window.history.replaceState(null,``,t.toString()),document.getElementById(e)?.scrollIntoView({behavior:`smooth`})},[]);return(0,n.jsx)(`span`,{className:[we.fragment,e.className].filter(Boolean).join(` `),style:e.style,onClick:()=>r(e.id),children:`#`})},Ee={"heading-common":`_heading-common_1ytfd_1`,h1:`_h1_1ytfd_22`,h2:`_h2_1ytfd_57`,h2__underline:`_h2__underline_1ytfd_91`,h3:`_h3_1ytfd_110`,h4:`_h4_1ytfd_130`,h5:`_h5_1ytfd_134`,h6:`_h6_1ytfd_138`,"heading-stretch":`_heading-stretch_1ytfd_1`},De=Object.freeze({1:1.5,2:1.4,3:1.3,4:1.2,5:1.15,6:1.1}),Oe=e=>e.replace(/([a-z])([A-Z])/g,`$1-$2`).replace(/[\s_]+/g,`-`).toLowerCase(),w=({level:e=1,disableFragmentIdentifier:r=!1,...i})=>{let a=(0,t.useRef)(null),[o,s]=(0,t.useState)(!1);(0,t.useEffect)(()=>{let e=a.current;if(!e)return;let t=new IntersectionObserver(([e])=>{s(e.isIntersecting)});return t.observe(e),()=>t.disconnect()},[]);let c=`h${e}`,l=i.id??(i.text?Oe(i.text):void 0);return(0,n.jsxs)(c,{ref:a,className:[Ee[`heading-common`],Ee[`h${e}`],i.className].filter(Boolean).join(` `),id:l,style:{"--font-size":i.size??`${De[e]}rem`,"--scale":+!!o,"--opacity":+!!o,...i.style},children:[i.text&&(0,n.jsx)(`span`,{children:i.text}),i.children,!r&&l&&(0,n.jsx)(Te,{id:l}),e===2&&(0,n.jsx)(`span`,{className:Ee.h2__underline,"aria-hidden":`true`})]})},ke={"elmethis-list-common":`_elmethis-list-common_1qwri_1`,"elmethis-bulleted-list":`_elmethis-bulleted-list_1qwri_7`,"elmethis-numbered-list":`_elmethis-numbered-list_1qwri_25`},Ae=({listStyle:e=`unordered`,...t})=>{let r=[ke[`elmethis-list-common`],e===`unordered`?ke[`elmethis-bulleted-list`]:ke[`elmethis-numbered-list`],t.className].filter(Boolean).join(` `);return e===`ordered`?(0,n.jsx)(`ol`,{className:r,style:t.style,children:t.children}):(0,n.jsx)(`ul`,{className:r,style:t.style,children:t.children})},je={text:`_text_zrzts_1`,cursor:`_cursor_zrzts_30`,blink:`_blink_zrzts_1`},T=e=>new Promise(t=>{setTimeout(t,e)}),Me=({texts:e=[],interval:r=3e3,fontSize:i=`1rem`,...a})=>{let[o,s]=(0,t.useState)(``),c=(0,t.useRef)(!1);return(0,t.useEffect)(()=>(c.current=!1,(async()=>{for(;!c.current;)for(let t of e){for(let e=0;e<t.length;e++){if(c.current||(await T(75),c.current))return;s(t.slice(0,e+1))}if(await T(r),c.current)return;for(let e=t.length;e>=0;e--)if(c.current||(s(t.slice(0,e)),await T(25),c.current))return;if(await T(200),c.current)return}})(),()=>{c.current=!0}),[e,r]),(0,n.jsxs)(`span`,{className:[je.text,a.className].filter(Boolean).join(` `),style:{fontSize:i,...a.style},children:[o,(0,n.jsx)(`span`,{className:je.cursor,children:`\xA0`})]})},Ne={"elm-template":`_elm-template_18rwn_1`},Pe=e=>(0,n.jsx)(`div`,{className:[Ne[`elm-template`],e.className].filter(Boolean).join(` `),style:e.style,children:`PLACEHOLDER`}),E={progress:`_progress_e6hmw_1`,container:`_container_e6hmw_27`,value:`_value_e6hmw_41`,loading:`_loading_e6hmw_56`,buffer:`_buffer_e6hmw_72`},Fe=({value:e,buffer:t,max:r=100,weight:i=`4px`,round:a=!0,color:o,loading:s=!1,style:c,className:l})=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(`progress`,{className:E.progress,value:e,max:r}),(0,n.jsxs)(`div`,{className:[E.container,l].filter(Boolean).join(` `),style:{"--weight":i,"--border-radius":a?`calc(var(--weight) / 2)`:void 0,"--color":o,...c},children:[(0,n.jsx)(`div`,{className:E.value,style:{"--scale-x":`scaleX(${s?0:e/r})`}}),s&&(0,n.jsx)(`div`,{className:E.loading}),(0,n.jsx)(`div`,{className:E.buffer,style:{"--scale-x":`scaleX(${s?0:t==null?e/r:t/r})`}})]})]}),Ie={container:`_container_13d02_1`,bar:`_bar_13d02_15`},Le=({progress:e,weight:r=`4px`,round:i=!0,style:a,className:o})=>{let s=(0,t.useMemo)(()=>{let t=e.reduce((e,t)=>e+t.value,0),n=e.map(e=>e.value/t*100);return e.map((e,t)=>({...e,scale:n[t]/100,start:n.slice(0,t).reduce((e,t)=>e+t,0)}))},[e]);return(0,n.jsx)(`div`,{className:[Ie.container,o].filter(Boolean).join(` `),style:{"--weight":r,"--border-radius":i?`calc(var(--weight) / 2)`:void 0,...a},children:s.map((e,t)=>(0,n.jsx)(`div`,{className:Ie.bar,style:{"--transform":`translateX(${e.start}%) scaleX(${e.scale})`,"--color":e.color}},t))})},Re={wrapper:`_wrapper_17chp_1`},ze=Object.freeze({pending:{color:`#6987b8`,icon:i.mdiReload},error:{color:`#c56565`,icon:i.mdiAlertCircle},warning:{color:`#cdb57b`,icon:i.mdiAlert},success:{color:`#59b57c`,icon:i.mdiCheckCircle}}),Be=({status:e,message:t,style:r,className:i})=>{let{color:a,icon:o}=ze[e];return(0,n.jsxs)(`div`,{className:[Re.wrapper,i].filter(Boolean).join(` `),style:r,children:[(0,n.jsx)(_,{d:o,color:a,size:`1em`}),(0,n.jsx)(x,{color:a,children:t})]})},D={wrapper:`_wrapper_gcui5_1`,error:`_error_gcui5_9`,"image-frame":`_image-frame_gcui5_21`,fallback:`_fallback_gcui5_29`,pulse:`_pulse_gcui5_1`,"image-inline":`_image-inline_gcui5_56`,"image-block":`_image-block_gcui5_67`,"alt-container":`_alt-container_gcui5_79`,"alt-text":`_alt-text_gcui5_90`,modal:`_modal_gcui5_94`,"modal-image":`_modal-image_gcui5_108`},O=({src:e,alt:r,block:a=!1,enableModal:o=!1,width:s,height:c,style:l,className:u})=>{let[d,f]=(0,t.useState)(!0),[p,m]=(0,t.useState)(!1),[h,g]=(0,t.useState)(!1),v=(0,t.useRef)(null);return(0,t.useEffect)(()=>{let t=new Image;t.src=e,t.onload=()=>{f(!1),m(!1)},t.onerror=()=>{f(!1),m(!0)}},[e]),(0,t.useEffect)(()=>{let e=e=>{e.key===`Escape`&&(e.preventDefault(),g(!1))};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[]),(0,n.jsxs)(`div`,{className:[D.wrapper,u].filter(Boolean).join(` `),ref:v,style:l,children:[p&&(0,n.jsx)(`div`,{className:D.error,children:(0,n.jsx)(x,{color:`#c56565`,size:`1.5rem`,children:`Error loading image`})}),(0,n.jsxs)(`div`,{className:D[`image-frame`],style:l,children:[d&&(0,n.jsx)(`div`,{className:D.fallback,style:{aspectRatio:s&&c?`${s} / ${c}`:`1200 / 630`,width:s?`${s}px`:void 0,height:c?`${c}px`:void 0}}),(0,n.jsx)(`img`,{className:a?D[`image-block`]:D[`image-inline`],src:e,alt:r,width:s,height:c,onClick:()=>{o&&g(!0)},style:{"--width":s?`${s}px`:void 0,"--height":c?`${c}px`:void 0,cursor:o?`zoom-in`:void 0,opacity:+(!d&&!p),pointerEvents:!d&&!p?void 0:`none`}})]}),a&&!d&&r!=null&&r.trim()!==``&&(0,n.jsxs)(`div`,{className:D[`alt-container`],children:[(0,n.jsx)(_,{d:i.mdiMessageImageOutline,color:`#b69545`,style:{flexShrink:0}}),(0,n.jsx)(`div`,{className:D[`alt-text`],children:(0,n.jsx)(x,{size:`0.8rem`,children:r})})]}),h&&(0,n.jsx)(`div`,{className:D.modal,onClick:()=>g(!1),children:(0,n.jsx)(`img`,{className:D[`modal-image`],src:e,alt:r,width:s,height:c})})]})},k={file:`_file_sk4pw_1`,"left-container":`_left-container_sk4pw_19`,"right-container":`_right-container_sk4pw_26`,"download-icon":`_download-icon_sk4pw_33`};function Ve(e){let t=e.split(/[?#]/)[0].split(`/`).filter(Boolean);return t.length>0?t[t.length-1]:null}var He=({name:e,src:r,filesize:a,style:o,className:s})=>{let c=(0,t.useCallback)(async()=>{let t;try{let n=await fetch(r);if(!n.ok)throw Error(`Failed to download file`);let i=await n.blob();t=document.createElement(`a`),t.href=URL.createObjectURL(i),t.download=e??Ve(r)??`file`,t.click()}catch(e){console.error(`ERROR:`,e)}finally{t&&URL.revokeObjectURL(t.href)}},[r,e]),l=e??Ve(r)??`unknown file`;return(0,n.jsxs)(`div`,{className:[k.file,s].filter(Boolean).join(` `),style:o,children:[(0,n.jsxs)(`div`,{className:k[`left-container`],children:[(0,n.jsx)(_,{d:i.mdiFileOutline,size:`1.25em`}),(0,n.jsx)(x,{children:l})]}),(0,n.jsxs)(`div`,{className:k[`right-container`],children:[a&&(0,n.jsx)(`span`,{style:{opacity:.6},children:(0,n.jsx)(x,{children:a})}),(0,n.jsx)(`div`,{className:k[`download-icon`],onClick:c,children:(0,n.jsx)(_,{d:i.mdiDownload,size:`1.25em`})})]})]})},A={parent:`_parent_1hx4v_1`,bookmark:`_bookmark_1hx4v_23`,image:`_image_1hx4v_42`,typography:`_typography_1hx4v_62`,title:`_title_1hx4v_73`,date:`_date_1hx4v_81`,link:`_link_1hx4v_90`,favicon:`_favicon_1hx4v_100`},Ue=({hideUrl:e=!1,openInNewTab:r=!0,title:a,description:o=`No description provided`,image:s,url:c,createdAt:l,updatedAt:u,onClick:f,favicon:p,style:m,className:h})=>{let[g,v]=(0,t.useState)(!1),y=e=>{f&&(e.preventDefault(),f())},ee=o!=null&&o.length>100?o.slice(0,100)+`...`:o;return(0,n.jsx)(`div`,{className:[A.parent,h].filter(Boolean).join(` `),style:m,children:(0,n.jsxs)(`a`,{className:A.bookmark,href:c,target:r?`_blank`:void 0,rel:`noopener noreferrer`,onClick:y,children:[s!=null&&!g&&(0,n.jsx)(`div`,{className:A.image,children:(0,n.jsx)(`img`,{src:s,alt:`OGP Image`,onError:()=>v(!0),style:{width:`100%`,height:`100%`,objectFit:`cover`}})}),(0,n.jsxs)(`div`,{className:A.typography,children:[(0,n.jsx)(`div`,{className:A.title,children:(0,n.jsx)(x,{bold:!0,children:a??`No title provided`})}),(0,n.jsx)(`div`,{children:(0,n.jsx)(x,{size:`0.8rem`,children:(0,n.jsx)(`span`,{style:{opacity:.6},children:ee})})}),(l!=null||u!=null)&&(0,n.jsxs)(`div`,{className:A.date,children:[l!=null&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(_,{d:i.mdiCalendarMonth,size:`1em`}),(0,n.jsx)(x,{size:`0.8rem`,children:l})]}),u!=null&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(_,{d:i.mdiCalendarRefresh,size:`1em`}),(0,n.jsx)(x,{size:`0.8rem`,children:u})]})]}),!e&&c!=null&&(0,n.jsxs)(`div`,{className:A.link,children:[p&&(0,n.jsx)(d,{src:p}),(0,n.jsx)(x,{size:`0.8rem`,color:`#6987b8`,children:c})]})]})]})})},j={container:`_container_1r6mu_1`,"link-container":`_link-container_1r6mu_10`,text:`_text_1r6mu_36`},We=({links:e,style:r,className:a})=>{let o=(0,t.useRef)(null),[s,c]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{let e=o.current;if(!e)return;let t=new IntersectionObserver(([e])=>{c(e.isIntersecting)});return t.observe(e),()=>t.disconnect()},[]),(0,n.jsx)(`nav`,{className:[j.container,a].filter(Boolean).join(` `),ref:o,style:{"--opacity":+!!s,...r},children:e.map((r,a)=>(0,n.jsxs)(t.default.Fragment,{children:[(0,n.jsxs)(`div`,{className:j[`link-container`],onClick:r.onClick,children:[(0,n.jsx)(`span`,{className:j.text,style:{"--delay":`${a*100}ms`},children:(0,n.jsx)(_,{d:a===0?i.mdiHome:a===e.length-1?i.mdiApplicationOutline:i.mdiFolderOpen,size:`1.25em`})}),(0,n.jsx)(`span`,{className:j.text,style:{"--delay":`${a*100+50}ms`},children:(0,n.jsx)(x,{children:r.text})})]}),e.length!==a+1&&(0,n.jsx)(`span`,{className:j.text,style:{"--delay":`${a*100+100}ms`},children:(0,n.jsx)(_,{d:i.mdiChevronRight,size:`1em`,color:`#b69545`})})]},a))})},M={wrapper:`_wrapper_1tlqa_1`,"wrapper--visible":`_wrapper--visible_1tlqa_33`,partial:`_partial_1tlqa_63`,move:`_move_1tlqa_1`,text:`_text_1tlqa_104`},Ge=({position:e=`right`,style:r,className:i})=>{let[a,o]=(0,t.useState)(!1);(0,t.useEffect)(()=>{let e=()=>{o(window.scrollY>100)};return window.addEventListener(`scroll`,e,{passive:!0}),e(),()=>window.removeEventListener(`scroll`,e)},[]);let s=()=>{window.scrollTo({top:0,behavior:`smooth`})};return(0,n.jsxs)(`nav`,{className:[M.wrapper,a?M[`wrapper--visible`]:void 0,i].filter(Boolean).join(` `),style:{"--size":`64px`,left:e===`left`?`0`:`auto`,right:e===`right`?`0`:`auto`,...r},onClick:s,children:[(0,n.jsx)(`div`,{"aria-hidden":`true`,className:M.partial}),(0,n.jsx)(`div`,{"aria-hidden":`true`,className:M.partial}),(0,n.jsx)(`div`,{"aria-hidden":`true`,className:M.partial}),(0,n.jsx)(`span`,{className:M.text,children:`Back to Top`})]})},Ke={toc:`_toc_eubcy_1`,link:`_link_eubcy_15`},qe=({headings:e,style:t,className:r})=>(0,n.jsx)(`nav`,{className:[Ke.toc,r].filter(Boolean).join(` `),style:t,children:e.map((e,t)=>(0,n.jsxs)(`a`,{className:Ke.link,href:`#${e.id??e.text}`,style:{"--padding-left":`${e.level*.5}rem`},children:[(0,n.jsx)(`sup`,{children:(0,n.jsx)(x,{size:`0.6rem`,color:`#6987b8`,children:`H${e.level}`})}),(0,n.jsx)(x,{children:e.text}),(0,n.jsx)(_,{d:i.mdiMenuDown,size:`1em`,color:`#6987b8`})]},t))}),Je={"block-fallback":`_block-fallback_adya7_1`},Ye={"rectangle-wave":`_rectangle-wave_gxedo_21`,"elm-rectangle-wave":`_elm-rectangle-wave_gxedo_1`},Xe=e=>(0,n.jsx)(`div`,{"aria-hidden":!0,className:[Ye[`rectangle-wave`],e.className].filter(Boolean).join(` `),style:e.style}),Ze=e=>{let{height:t=`16rem`,style:r}=e;return(0,n.jsxs)(`div`,{className:[Je[`block-fallback`],e.className].filter(Boolean).join(` `),style:{"--height":t,...r},children:[(0,n.jsx)(y,{}),(0,n.jsx)(Xe,{})]})},Qe={circle:`_circle_ycu2l_19`,"draw-line":`_draw-line_ycu2l_1`,rotate:`_rotate_ycu2l_1`},$e=e=>{let{radius:t=16,weight:r=2,style:i}=e;return(0,n.jsx)(`svg`,{className:e.className,height:t*2,width:t*2,style:i,children:(0,n.jsx)(`circle`,{className:Qe.circle,cx:t,cy:t,r:t-r,fill:`transparent`,strokeWidth:r})})},N={unsupported:`_unsupported_1xu4c_1`,message:`_message_1xu4c_13`,icon:`_icon_1xu4c_20`,details:`_details_1xu4c_24`},et=e=>(0,n.jsxs)(`div`,{className:[N.unsupported,e.className].filter(Boolean).join(` `),style:e.style,children:[(0,n.jsxs)(`div`,{className:N.message,children:[(0,n.jsx)(`svg`,{viewBox:`0 0 24 24`,width:`1.25rem`,height:`1.25rem`,className:N.icon,children:(0,n.jsx)(`path`,{d:i.mdiInformation})}),(0,n.jsx)(x,{color:`#868e9c`,children:`UNSUPPORTED BLOCK`})]}),e.details&&(0,n.jsx)(`div`,{className:N.details,children:(0,n.jsx)(x,{color:`#868e9c`,children:e.details})})]}),P={button:`_button_c0mex_1`,"button-ornament":`_button-ornament_c0mex_29`,normal:`_normal_c0mex_40`,primary:`_primary_c0mex_50`,colored:`_colored_c0mex_60`,enable:`_enable_c0mex_64`,flex:`_flex_c0mex_95`,ripple:`_ripple_c0mex_117`,"button-ripple":`_button-ripple_c0mex_1`},tt=({loading:e=!1,block:r=!1,disabled:i=!1,primary:a=!1,...o})=>{let[s,c]=(0,t.useState)(!1),l=(0,t.useRef)(void 0),{onClick:u}=o,d=(0,t.useCallback)(()=>{!e&&!i&&u&&(c(!0),l.current=window.setTimeout(()=>c(!1),300),u())},[e,i,u]);return(0,t.useEffect)(()=>()=>{l.current&&clearTimeout(l.current)},[]),(0,n.jsxs)(`button`,{className:[P.button,!e&&!i?P.enable:``,o.color?P.colored:``,!o.color&&!a?P.normal:``,!o.color&&a?P.primary:``,o.className].filter(Boolean).join(` `),style:{display:r?`flex`:`inline-flex`,width:r?`100%`:`auto`,cursor:i?`not-allowed`:e?`progress`:`pointer`,"--opacity":i||e?.6:void 0,"--color":o.color,...o.style},onClick:d,children:[s&&(0,n.jsx)(`div`,{className:P.ripple}),e?(0,n.jsx)(y,{size:`1.5rem`}):(0,n.jsx)(`span`,{className:P.flex,children:o.children}),(0,n.jsx)(`div`,{className:P[`button-ornament`]})]})},F={container:`_container_12edl_1`,"container-disable":`_container-disable_12edl_14`,checkbox:`_checkbox_12edl_23`,rect:`_rect_12edl_32`,"rect-loading":`_rect-loading_12edl_36`,"rect-checked":`_rect-checked_12edl_40`,loading:`_loading_12edl_48`,"check-line":`_check-line_12edl_67`,"elmethis-checkbox-check-line":`_elmethis-checkbox-check-line_12edl_1`},nt=({loading:e=!1,disable:r=!1,checked:i=!1,...a})=>{let{onChange:o}=a,s=(0,t.useCallback)(()=>{!e&&!r&&o&&o(!i)},[e,r,i,o]),c=[F.container,r?F[`container-disable`]:``,a.className].filter(Boolean).join(` `),l=[F.rect,i?F[`rect-checked`]:``,e?F[`rect-loading`]:``].filter(Boolean).join(` `);return(0,n.jsx)(`div`,{className:c,style:a.style,onClick:s,children:(0,n.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:`0.5rem`},children:[(0,n.jsxs)(`svg`,{width:`24`,height:`24`,className:F.checkbox,children:[(0,n.jsxs)(`circle`,{cx:`0`,cy:`0`,r:`2`,className:F.loading,style:{opacity:+!!e},children:[(0,n.jsx)(`animate`,{attributeName:`cx`,values:`4; 20; 20; 4; 4`,dur:`1.2s`,repeatCount:`indefinite`,keySplines:`0.25 0.1 0.25 1; 0.42 0 0.58 1; 0.25 0.1 0.25 1; 0.42 0 0.58 1`,calcMode:`spline`}),(0,n.jsx)(`animate`,{attributeName:`cy`,values:`4; 4; 20; 20; 4`,dur:`1.2s`,repeatCount:`indefinite`,keySplines:`0.25 0.1 0.25 1; 0.42 0 0.58 1; 0.25 0.1 0.25 1; 0.42 0 0.58 1`,calcMode:`spline`})]}),(0,n.jsxs)(`circle`,{cx:`20`,cy:`20`,r:`2`,className:F.loading,style:{opacity:+!!e},children:[(0,n.jsx)(`animate`,{attributeName:`cx`,values:`20; 4; 4; 20; 20`,dur:`1.2s`,repeatCount:`indefinite`,keySplines:`0.25 0.1 0.25 1; 0.42 0 0.58 1; 0.25 0.1 0.25 1; 0.42 0 0.58 1`,calcMode:`spline`}),(0,n.jsx)(`animate`,{attributeName:`cy`,values:`20; 20; 4; 4; 20`,dur:`1.2s`,repeatCount:`indefinite`,keySplines:`0.25 0.1 0.25 1; 0.42 0 0.58 1; 0.25 0.1 0.25 1; 0.42 0 0.58 1`,calcMode:`spline`})]}),(0,n.jsx)(`rect`,{x:`4`,y:`4`,width:`16`,height:`16`,className:l,strokeWidth:`0.8`}),i&&(0,n.jsx)(`polyline`,{className:F[`check-line`],points:`5,12 10,17 19,8`,strokeWidth:`1.5`,fill:`transparent`}),(0,n.jsx)(`line`,{x1:`0`,y1:`1`,x2:`4`,y2:`1`,strokeWidth:`2`,fill:`transparent`}),(0,n.jsx)(`line`,{x1:`4`,y1:`0`,x2:`24`,y2:`0`,strokeWidth:`1`,fill:`transparent`}),(0,n.jsx)(`line`,{x1:`0`,y1:`4`,x2:`0`,y2:`16`,strokeWidth:`1`,fill:`transparent`}),(0,n.jsx)(`line`,{x1:`0`,y1:`18`,x2:`0`,y2:`20`,strokeWidth:`1`,fill:`transparent`}),(0,n.jsx)(`line`,{x1:`0`,y1:`24`,x2:`20`,y2:`24`,strokeWidth:`1`,fill:`transparent`}),(0,n.jsx)(`line`,{x1:`20`,y1:`23`,x2:`24`,y2:`23`,strokeWidth:`1.5`,fill:`transparent`}),(0,n.jsx)(`line`,{x1:`24`,y1:`4`,x2:`24`,y2:`20`,style:{strokeWidth:1},fill:`transparent`})]}),(0,n.jsx)(`span`,{children:a.label})]})})},I={wrapper:`_wrapper_fb6dj_1`,active:`_active_fb6dj_29`,header:`_header_fb6dj_33`,label:`_label_fb6dj_41`,body:`_body_fb6dj_54`,select:`_select_fb6dj_63`,selected:`_selected_fb6dj_72`,fallback:`_fallback_fb6dj_77`,pulldown:`_pulldown_fb6dj_85`,collapse:`_collapse_fb6dj_106`,option:`_option_fb6dj_116`,description:`_description_fb6dj_138`},rt=({disabled:e=!1,loading:r=!1,...o})=>{let[s,c]=(0,t.useState)(!1),l=(0,t.useRef)(null),u=(0,t.useCallback)(()=>{!e&&!r&&c(e=>!e)},[e,r]),{options:d,onSelect:f}=o,p=(0,t.useCallback)(e=>{let t=d.find(t=>t.id===e);t&&f&&(f(t),c(!1))},[d,f]);return(0,t.useEffect)(()=>{let e=e=>{l.current&&!l.current.contains(e.target)&&c(!1)};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[]),(0,n.jsxs)(`div`,{ref:l,className:(0,a.default)(I.wrapper,o.className,{[I.active]:s}),style:{backgroundColor:e||r?`rgba(0,0,0,0.15)`:void 0,...o.style},onClick:u,children:[(0,n.jsx)(`div`,{className:I.header,children:(0,n.jsx)(`span`,{className:I.label,children:o.label})}),(0,n.jsx)(`div`,{className:I.body,children:(0,n.jsxs)(`div`,{className:I.select,children:[(0,n.jsx)(`div`,{className:I.selected,children:o.selectedOption?o.selectedOption.children?(0,n.jsx)(`div`,{children:o.selectedOption.children}):(0,n.jsxs)(`div`,{children:[(0,n.jsx)(`span`,{children:o.selectedOption.label}),o.selectedOption.description&&(0,n.jsx)(`span`,{className:I.description,children:o.selectedOption.description})]}):(0,n.jsxs)(`div`,{className:I.fallback,children:[(0,n.jsx)(_,{d:i.mdiArrowDownDropCircleOutline}),(0,n.jsx)(`span`,{children:o.placeholder??`Select an option`})]})}),(0,n.jsx)(_,{d:i.mdiMenuDown,size:`1.5rem`}),(0,n.jsx)(`div`,{className:(0,a.default)(I.pulldown,{[I.active]:s}),children:(0,n.jsx)(`div`,{className:I.collapse,children:o.options.map(e=>(0,n.jsxs)(`div`,{className:I.option,onClick:t=>{t.stopPropagation(),p(e.id)},children:[(0,n.jsx)(_,{d:i.mdiChevronRight,color:`#868e9c`,size:`0.75em`}),e.children?(0,n.jsx)(`div`,{children:e.children}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(`span`,{children:e.label}),e.description&&(0,n.jsx)(`span`,{className:I.description,children:e.description})]})]},e.id))})})]})})]})},L={switch:`_switch_8t362_1`,bar:`_bar_8t362_5`,"bar-checked":`_bar-checked_8t362_21`,"bar-disabled":`_bar-disabled_8t362_26`,circle:`_circle_8t362_30`,"circle-checked":`_circle-checked_8t362_45`,"circle-disabled":`_circle-disabled_8t362_49`},it=({color:e=`#bfa056`,size:r=`18px`,disabled:i=!1,checked:a=!1,...o})=>{let{onChange:s}=o,c=(0,t.useCallback)(()=>{!i&&s&&s(!a)},[i,a,s]),l=[L.bar,a?L[`bar-checked`]:``,i?L[`bar-disabled`]:``].filter(Boolean).join(` `),u=[L.circle,a?L[`circle-checked`]:``,i?L[`circle-disabled`]:``].filter(Boolean).join(` `);return(0,n.jsxs)(`div`,{className:o.className,onClick:c,style:{"--color":e,"--padding":`2px`,"--size":r,"--width":`calc(${r} * 2 + 2px * 2)`,...o.style},children:[(0,n.jsx)(`input`,{className:L.switch,type:`checkbox`,checked:a,disabled:i,readOnly:!0}),(0,n.jsx)(`div`,{className:l,children:(0,n.jsx)(`div`,{className:u})})]})},R={loading:`_loading_1y96m_23`,wrapper:`_wrapper_1y96m_38`,active:`_active_1y96m_66`,header:`_header_1y96m_70`,label:`_label_1y96m_78`,required:`_required_1y96m_95`,body:`_body_1y96m_101`,input:`_input_1y96m_109`,"icon-box":`_icon-box_1y96m_141`,icon:`_icon_1y96m_141`,suffix:`_suffix_1y96m_159`,counter:`_counter_1y96m_172`,"counter-over":`_counter-over_1y96m_177`},at={text:i.mdiText,pen:i.mdiPen,email:i.mdiEmail,user:i.mdiAccount,lock:i.mdiLock,key:i.mdiKey,earth:i.mdiEarth,tag:i.mdiTag,archive:i.mdiArchive,link:i.mdiLinkVariant,search:i.mdiMagnify},ot=({disabled:e=!1,loading:r=!1,isPassword:a=!1,required:o=!1,value:s=``,...c})=>{let l=(0,t.useId)(),u=(0,t.useRef)(null),[d,f]=(0,t.useState)(!1),[p,m]=(0,t.useState)(a?`password`:`text`),{onChange:h}=c,g=(0,t.useCallback)(()=>{!r&&!e&&h&&h(``)},[r,e,h]),v=(0,t.useCallback)(()=>{!r&&!e&&m(e=>e===`text`?`password`:`text`)},[r,e]),y=(0,t.useCallback)(e=>t=>{(t.key===`Enter`||t.key===` `)&&(t.preventDefault(),e())},[]);return(0,n.jsxs)(`div`,{className:[R.wrapper,d?R.active:``,c.className].filter(Boolean).join(` `),style:{backgroundColor:e||r?`rgba(0,0,0,0.15)`:void 0,"--highlight-color":d?`#bfa056`:void 0,...c.style},children:[(0,n.jsxs)(`div`,{className:R.header,children:[(0,n.jsxs)(`label`,{htmlFor:l,className:R.label,children:[(0,n.jsx)(`span`,{children:c.label}),o&&(0,n.jsx)(`span`,{className:R.required,children:`*`})]}),c.maxLength!=null&&(0,n.jsxs)(`span`,{className:[R.counter,s.length>c.maxLength?R[`counter-over`]:``].filter(Boolean).join(` `),children:[s.length,` / `,c.maxLength]})]}),(0,n.jsxs)(`div`,{className:R.body,children:[c.icon&&(0,n.jsx)(_,{d:at[c.icon],size:`1.5rem`,color:`gray`}),(0,n.jsx)(`input`,{id:l,ref:u,type:p,className:R.input,placeholder:c.placeholder,value:s,onChange:e=>h?.(e.target.value),onFocus:()=>f(!0),onBlur:()=>f(!1),disabled:e||r,style:{cursor:e?`not-allowed`:r?`progress`:`auto`},"aria-required":o}),(0,n.jsxs)(`div`,{className:R[`icon-box`],children:[c.suffix!=null&&(0,n.jsx)(`span`,{className:R.suffix,children:c.suffix}),(0,n.jsx)(`div`,{className:R.icon,onClick:v,onKeyDown:y(v),role:`button`,tabIndex:0,children:(0,n.jsx)(_,{d:p===`text`?i.mdiEyeOutline:i.mdiEyeOffOutline,size:`1.75em`,color:`gray`})}),(0,n.jsx)(`div`,{className:R.icon,onClick:g,onKeyDown:y(g),role:`button`,tabIndex:0,children:(0,n.jsx)(_,{d:i.mdiBackspaceOutline,size:`1.75em`,color:`gray`})})]})]}),(0,n.jsx)(`div`,{className:R.loading,style:{opacity:r?.2:0}})]})},st={validation:`_validation_wuw0j_1`},ct=({validColor:e=`#449763`,...t})=>(0,n.jsxs)(`div`,{className:[st.validation,t.className].filter(Boolean).join(` `),style:{"--opacity":t.isValid?1:.5,...t.style},children:[(0,n.jsx)(_,{d:t.isValid?i.mdiCheckCircle:i.mdiCheckCircleOutline,color:t.isValid?e:void 0}),(0,n.jsx)(`span`,{style:{color:t.isValid?e:void 0},children:t.text})]}),lt={column:`_column_12uje_1`},ut=e=>(0,n.jsx)(`div`,{className:[lt.column,e.className].filter(Boolean).join(` `),style:e.style,children:e.children}),dt={"column-list":`_column-list_rt1o3_1`},ft=e=>(0,n.jsx)(`div`,{className:[dt[`column-list`],e.className].filter(Boolean).join(` `),style:e.style,children:e.children}),pt={body:`_body_gd5gc_1`,button:`_button_gd5gc_5`},z={provider:`_provider_94i7o_1`,"provider-enter":`_provider-enter_94i7o_19`,"provider-exit":`_provider-exit_94i7o_23`,modal:`_modal_94i7o_27`},mt=({closeOnClickOutside:e=!0,onChange:r,...i})=>{let[a,s]=(0,t.useState)(!1),c=i.value??!1;(0,t.useEffect)(()=>{if(c){let e=window.setTimeout(()=>s(!0),0);return()=>clearTimeout(e)}else{let e=window.setTimeout(()=>s(!1),400);return()=>clearTimeout(e)}},[c]);let l=(0,t.useCallback)(()=>{e&&r&&r(!1)},[e,r]),u=(0,t.useCallback)(e=>{e.stopPropagation()},[]);return!c&&!a?null:(0,o.createPortal)((0,n.jsx)(`div`,{className:`${z.provider} ${c?z[`provider-enter`]:z[`provider-exit`]}`,onClick:l,children:(0,n.jsx)(`div`,{className:[z.modal,i.className].filter(Boolean).join(` `),style:{"--width":i.width,...i.style},onClick:u,children:i.children})}),document.body)},ht=({closeOnClickOutside:e=!0,onChange:r,onConfirm:a,onSuccess:o,onError:s,...c})=>{let[l,u]=(0,t.useState)(!1),d=(0,t.useCallback)(()=>{r&&r(!1)},[r]),f=(0,t.useCallback)(async()=>{u(!0);try{await a(),u(!1),r&&r(!1),o&&o()}catch(e){s&&s(e),u(!1),r&&r(!1)}},[a,o,s,r]);return(0,n.jsx)(mt,{value:c.value,onChange:r,closeOnClickOutside:e,className:c.className,children:(0,n.jsxs)(`div`,{children:[(0,n.jsx)(w,{level:2,disableFragmentIdentifier:!0,children:c.title}),(0,n.jsx)(`div`,{className:pt.body,children:c.children}),(0,n.jsxs)(`div`,{className:pt.button,children:[(0,n.jsxs)(tt,{block:!0,onClick:d,loading:l,children:[(0,n.jsx)(_,{d:i.mdiArrowLeft}),(0,n.jsx)(`span`,{children:`Cancel`})]}),(0,n.jsxs)(tt,{block:!0,onClick:f,primary:!0,loading:l,children:[(0,n.jsx)(_,{d:i.mdiCheckCircle,color:`currentColor`}),(0,n.jsx)(`span`,{children:`Confirm`})]})]})]})})},B={window:`_window_l8snl_1`,header:`_header_l8snl_14`,dot:`_dot_l8snl_25`},gt=({minHeight:e=`6rem`,...t})=>(0,n.jsxs)(`div`,{className:[B.window,t.className].filter(Boolean).join(` `),style:t.style,children:[(0,n.jsxs)(`div`,{className:B.header,children:[(0,n.jsx)(`div`,{"aria-hidden":!0,className:B.dot,style:{"--bg":`#c48691`}}),(0,n.jsx)(`div`,{"aria-hidden":!0,className:B.dot,style:{"--bg":`#c9b990`}}),(0,n.jsx)(`div`,{"aria-hidden":!0,className:B.dot,style:{"--bg":`#7cc598`}})]}),(0,n.jsx)(`div`,{style:{minHeight:e},children:t.children})]}),_t={parallax:`_parallax_1tovg_1`},vt=({className:e,...r})=>{let[i,a]=(0,t.useState)(0);return(0,t.useEffect)(()=>{let e=null,t=()=>{e??(e=requestAnimationFrame(()=>{a(window.scrollY),e=null}))};return window.addEventListener(`scroll`,t,{passive:!0}),()=>{window.removeEventListener(`scroll`,t),e!=null&&cancelAnimationFrame(e)}},[]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(`div`,{className:[_t.parallax,e].filter(Boolean).join(` `),style:{backgroundImage:`url(${r.imageUrl1})`,transform:`scale(1.2) translateY(${i/400}%)`,transformOrigin:`bottom`,...r.style}}),(0,n.jsx)(`div`,{className:_t.parallax,style:{backgroundImage:`url(${r.imageUrl2})`,transform:`scale(1.2) translateY(${i/900}%)`,transformOrigin:`bottom`}})]})},V={container:`_container_1mzm0_1`,title:`_title_1mzm0_16`,text:`_text_1mzm0_22`},H={original:`_original_3zasf_1`,tooltip:`_tooltip_3zasf_5`,"tooltip-enter":`_tooltip-enter_3zasf_17`},U=e=>{let r=(0,t.useRef)(null),[i,a]=(0,t.useState)(!1),[o,s]=(0,t.useState)({}),c=(0,t.useCallback)(()=>{let e=r.current;if(!e)return;let t=e.getBoundingClientRect(),n=window.innerWidth;t.x>n/2?s({top:`${t.y+t.height}px`,right:`${n-t.x-t.width}px`}):s({top:`${t.y+t.height}px`,left:`${t.x}px`})},[]);return(0,t.useEffect)(()=>{i&&c()},[i,c]),(0,n.jsxs)(`span`,{ref:r,className:[H.original,e.className].filter(Boolean).join(` `),onMouseOver:()=>a(!0),onMouseLeave:()=>a(!1),style:e.style,children:[e.original,i&&(0,n.jsx)(`div`,{className:`${H.tooltip} ${H[`tooltip-enter`]}`,style:o,children:e.tooltip})]})},yt=e=>(0,n.jsx)(U,{original:e.children,tooltip:(0,n.jsxs)(`div`,{className:[V.container,e.className].filter(Boolean).join(` `),style:e.style,children:[e.title&&(0,n.jsx)(`div`,{className:V.title,children:e.title}),(0,n.jsx)(`div`,{className:V.text,children:e.text})]})}),W={snackbar:`_snackbar_1f0go_1`,icon:`_icon_1f0go_19`,progress:`_progress_1f0go_45`},bt=({timeout:e=5e3,...t})=>(0,n.jsxs)(`div`,{className:[W.snackbar,t.className].filter(Boolean).join(` `),style:t.style,children:[t.label==null?t.children:(0,n.jsx)(x,{children:t.label}),(0,n.jsx)(`div`,{className:W.icon,onClick:t.close,children:(0,n.jsx)(_,{d:i.mdiCloseCircleOutline,size:`1em`})}),(0,n.jsx)(`div`,{className:W.progress,style:{animationDuration:`${e}ms`}})]}),xt={"snackbar-screen":`_snackbar-screen_up7j2_1`,"snackbar-container":`_snackbar-container_up7j2_14`,"snackbar-item":`_snackbar-item_up7j2_23`},St=e=>(0,n.jsx)(`div`,{className:[xt[`snackbar-screen`],e.className].filter(Boolean).join(` `),style:e.style,children:(0,n.jsx)(`div`,{className:xt[`snackbar-container`],children:e.snackbars.map(e=>(0,n.jsx)(`div`,{className:xt[`snackbar-item`],children:(0,n.jsx)(bt,{label:e.label,timeout:e.timeout,close:e.close,children:e.children})},e.id))})}),G={"elm-tabs":`_elm-tabs_ykoqx_1`,"tab-container":`_tab-container_ykoqx_18`,tab:`_tab_ykoqx_18`,active:`_active_ykoqx_40`,"tab-content-container":`_tab-content-container_ykoqx_51`,"tab-content":`_tab-content_ykoqx_51`},Ct=e=>{let[r,i]=(0,t.useState)(0);return(0,n.jsxs)(`div`,{className:[G[`elm-tabs`],e.className].filter(Boolean).join(` `),style:e.style,children:[(0,n.jsx)(`div`,{className:G[`tab-container`],children:e.tabLabels.map((e,t)=>(0,n.jsx)(`div`,{className:`${G.tab} ${r===t?G.active:``}`,onClick:()=>i(t),children:e},t))}),(0,n.jsx)(`div`,{className:G[`tab-content-container`],children:e.tabContents.map((e,t)=>(0,n.jsx)(`div`,{className:`${G[`tab-content`]} ${r===t?G.active:``}`,children:e},t))})]})},K={toggle:`_toggle_16f85_1`,open:`_open_16f85_14`,summary:`_summary_16f85_19`,"summary-left":`_summary-left_16f85_33`,divider:`_divider_16f85_40`,chevron:`_chevron_16f85_57`,cross:`_cross_16f85_70`,border:`_border_16f85_84`,content:`_content_16f85_92`,close:`_close_16f85_96`},wt=e=>{let[t,r]=(0,s.useControllableState)({prop:e.isOpen,defaultProp:!1,onChange:e.setIsOpen}),o=e=>{e.preventDefault(),r(!t)};return(0,n.jsxs)(`div`,{className:(0,a.default)(K.toggle,e.className,{[K.open]:t}),style:{...e.style},children:[(0,n.jsxs)(`div`,{className:K.summary,onClick:o,children:[(0,n.jsxs)(`div`,{className:K[`summary-left`],children:[(0,n.jsx)(_,{className:(0,a.default)(K.chevron,{[K.open]:t}),d:i.mdiChevronRight,color:`#59b57c`,size:`1rem`}),(0,n.jsx)(`div`,{children:e.summary==null?e.summaryContent:(0,n.jsx)(x,{children:e.summary})})]}),(0,n.jsx)(`hr`,{className:K.divider}),(0,n.jsx)(_,{className:(0,a.default)(K.cross,{[K.open]:t}),d:i.mdiPlus,size:`1rem`,color:t?`#b36472`:`#59b57c`})]}),(0,n.jsx)(`div`,{className:K.border}),(0,n.jsx)(`div`,{className:(0,a.default)(K.content,{[K.close]:!t}),children:e.children})]})},q={table:`_table_197ge_1`,caption:`_caption_197ge_8`,"caption-inner":`_caption-inner_197ge_18`,spacing:`_spacing_197ge_25`},Tt=(0,t.createContext)(!1),Et=(0,t.createContext)(!1),Dt=({caption:e,hasRowHeader:t=!1,header:r,body:a,style:o,className:s})=>(0,n.jsx)(Et.Provider,{value:t,children:(0,n.jsxs)(`table`,{className:[q.table,s].filter(Boolean).join(` `),style:o,children:[e!=null&&(0,n.jsx)(`caption`,{children:(0,n.jsxs)(`span`,{className:q.caption,children:[(0,n.jsx)(`span`,{className:q.spacing}),(0,n.jsxs)(`span`,{className:q[`caption-inner`],children:[(0,n.jsx)(`svg`,{viewBox:`0 0 24 24`,width:`1rem`,height:`1rem`,children:(0,n.jsx)(`path`,{d:i.mdiTable,fill:`#6987b8`})}),(0,n.jsx)(x,{children:e})]}),(0,n.jsx)(`span`,{className:q.spacing})]})}),r,a]})}),Ot=({children:e,style:t,className:r})=>(0,n.jsx)(Tt.Provider,{value:!1,children:(0,n.jsx)(`tbody`,{className:r,style:t,children:e})}),kt={common:`_common_15vhm_1`,td:`_td_15vhm_26`,th:`_th_15vhm_34`},At=({children:e,style:r,hasHeader:i=!1,text:a,className:o})=>{let s=(0,t.useContext)(Tt),c=i||s;return(0,n.jsx)(c?`th`:`td`,{className:[kt.common,c?kt.th:kt.td,o].filter(Boolean).join(` `),style:r,children:a??e})},jt={thead:`_thead_184mb_1`},Mt=({children:e,style:t,className:r})=>(0,n.jsx)(Tt.Provider,{value:!0,children:(0,n.jsx)(`thead`,{className:[jt.thead,r].filter(Boolean).join(` `),style:t,children:e})}),Nt={tr:`_tr_1l64j_1`,"has-row-header":`_has-row-header_1l64j_25`},J=({children:e,style:r,className:i})=>{let a=(0,t.useContext)(Et);return(0,n.jsx)(`tr`,{className:[Nt.tr,a?Nt[`has-row-header`]:void 0,i].filter(Boolean).join(` `),style:r,children:e})},Y={wrapper:`_wrapper_1yj17_1`,header:`_header_1yj17_18`,header__left:`_header__left_1yj17_36`,caption:`_caption_1yj17_44`,header__right:`_header__right_1yj17_50`,"copy-icon":`_copy-icon_1yj17_58`,code:`_code_1yj17_81`,"code-body":`_code-body_1yj17_89`,fallback:`_fallback_1yj17_93`},Pt={code:`_code_1nyfa_1`},Ft=null;function It(){return Ft||(Ft=import(`shiki`).then(({createHighlighter:e})=>e({langs:`abap.bash.c.clojure.coffeescript.cpp.csharp.css.dart.diff.docker.elixir.elm.erlang.fsharp.gherkin.glsl.go.graphql.groovy.haskell.html.java.javascript.json.julia.kotlin.latex.less.lisp.lua.makefile.markdown.matlab.mermaid.nix.objective-c.ocaml.pascal.perl.php.plaintext.powershell.prolog.protobuf.python.r.ruby.rust.sass.scala.scheme.scss.shell.sql.swift.toml.typescript.wasm.xml.yaml`.split(`.`),themes:[`vitesse-light`,`vitesse-dark`]}))),Ft}var Lt=({code:e,language:r=`txt`,onRendered:i,style:a,className:o})=>{let[s,c]=(0,t.useState)(`<pre>${e}</pre>`);return(0,t.useEffect)(()=>{let t=!1;return It().then(n=>{if(!t)try{let a=n.codeToHtml(e,{lang:r,themes:{dark:`vitesse-dark`,light:`vitesse-light`},colorReplacements:{"#ffffff":`transparent`,"#121212":`transparent`}});t||(c(a),i?.(!0))}catch{t||i?.(!0)}}).catch(()=>{t||i?.(!0)}),()=>{t=!0}},[e,r,i]),(0,n.jsx)(`div`,{className:[Pt.code,o].filter(Boolean).join(` `),style:a,children:(0,n.jsx)(`div`,{className:`shiki`,dangerouslySetInnerHTML:{__html:s}})})},Rt=({code:e,language:r=`txt`,caption:a,style:o,className:s})=>{let[c,l]=(0,t.useState)(!1),[u,d]=(0,t.useState)(!1),[f,p]=(0,t.useState)(!1),h=(0,t.useRef)(null),g=(0,t.useRef)(null);(0,t.useEffect)(()=>{let e=h.current;if(!e)return;let t=new IntersectionObserver(([e])=>{p(e.isIntersecting)});return t.observe(e),()=>t.disconnect()},[]);let v=(0,t.useCallback)(()=>{navigator.clipboard.writeText(e).then(()=>{d(!0),g.current&&clearTimeout(g.current),g.current=setTimeout(()=>d(!1),2e3)})},[e]);return(0,t.useEffect)(()=>()=>{g.current&&clearTimeout(g.current)},[]),(0,n.jsxs)(`div`,{ref:h,className:[Y.wrapper,s].filter(Boolean).join(` `),style:{opacity:+!!f,...o},children:[(0,n.jsxs)(`div`,{className:Y.header,children:[(0,n.jsxs)(`div`,{className:Y.header__left,children:[(0,n.jsx)(m,{language:r,size:20}),(0,n.jsx)(`span`,{className:Y.caption,children:(0,n.jsx)(x,{children:a??r})})]}),(0,n.jsx)(`div`,{className:Y.header__right,children:(0,n.jsx)(`div`,{className:Y[`copy-icon`],onClick:v,children:(0,n.jsx)(_,{size:`1.25em`,d:u?i.mdiClipboardCheckMultipleOutline:i.mdiClipboardMultipleOutline,useThemeColor:u})})})]}),(0,n.jsxs)(`div`,{className:Y.code,children:[(0,n.jsx)(`div`,{className:Y[`code-body`],style:{opacity:+!!c},children:(0,n.jsx)(Lt,{code:e,language:r,onRendered:l})}),(0,n.jsx)(`div`,{className:Y.fallback,style:{opacity:+!c},children:(0,n.jsx)(y,{size:`48px`})})]})]})},zt={katex:`_katex_1a1aj_1`},Bt=({expression:e,block:r=!1,style:i,className:a})=>{let[o,s]=(0,t.useState)();(0,t.useEffect)(()=>{import(`katex`).then(({renderToString:t})=>{try{s(t(e,{displayMode:r,output:`mathml`}))}catch(e){console.error(`KaTeX rendering error:`,e)}}).catch(()=>{})},[e,r]);let c=[zt.katex,a].filter(Boolean).join(` `);return r?(0,n.jsx)(`div`,{className:c,style:i,dangerouslySetInnerHTML:o?{__html:o}:void 0}):(0,n.jsx)(`span`,{className:c,style:i,dangerouslySetInnerHTML:o?{__html:o}:void 0})},X={"color-bg":`_color-bg_yiibu_1`,text:`_text_yiibu_17`},Vt=({color:e,style:a,className:o})=>{let[s,c]=(0,t.useState)(!1),l=(0,t.useRef)(null),u=(0,r.parseToRgb)(e),{hue:d,saturation:f,lightness:p}=(0,r.parseToHsl)(e),m=(0,r.rgbToColorString)(u),h=`rgb(${u.red}, ${u.green}, ${u.blue})`,g=`hsl(${Math.floor(d)}, ${Math.floor(f*100)}%, ${Math.floor(p*100)}%)`,v=(0,t.useCallback)(e=>{navigator.clipboard.writeText(e).then(()=>{c(!0),l.current&&clearTimeout(l.current),l.current=setTimeout(()=>c(!1),1500)})},[]);return(0,n.jsx)(`div`,{className:o,style:{"--color":e,...a},children:(0,n.jsx)(U,{original:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(`div`,{className:X[`color-bg`],style:{"--background-color":e},onClick:()=>v(m),children:s&&(0,n.jsx)(_,{d:i.mdiCheck,size:`1em`,color:`white`})}),(0,n.jsx)(`div`,{className:X.text,onClick:()=>v(m),children:m})]}),tooltip:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(`div`,{className:X.text,onClick:()=>v(m),children:m}),(0,n.jsx)(`div`,{className:X.text,onClick:()=>v(h),children:h}),(0,n.jsx)(`div`,{className:X.text,onClick:()=>v(g),children:g})]})})})},Ht={container:`_container_a7c06_1`,"row-container":`_row-container_a7c06_9`,"color-name":`_color-name_a7c06_17`},Ut=[-3,-.25,-.2,-.15,-.1,-.05,0,.05,.1,.15,.2,.25,.3],Wt=({colors:e,style:t,className:i})=>(0,n.jsx)(`div`,{className:[Ht.container,i].filter(Boolean).join(` `),style:t,children:e.map(e=>(0,n.jsxs)(`div`,{className:Ht[`row-container`],children:[(0,n.jsx)(`div`,{className:Ht[`color-name`],style:{"--color":e.code},children:e.name}),Ut.map(t=>(0,n.jsx)(Vt,{color:(0,r.darken)(t,e.code)},t))]},e.name))}),Z={palette:`_palette_1glfh_1`,header:`_header_1glfh_11`,input:`_input_1glfh_31`,body:`_body_1glfh_43`,"empty-result":`_empty-result_1glfh_60`,command:`_command_1glfh_71`,"command-selected":`_command-selected_1glfh_98`,"command-icon":`_command-icon_1glfh_103`,tag:`_tag_1glfh_107`,footer:`_footer_1glfh_118`},Gt={brown:`#a17c5b`,crimson:`#c56565`,amber:`#d48b70`,gold:`#cdb57b`,emerald:`#59b57c`,cyan:`#59a7b5`,blue:`#6987b8`,purple:`#9771bd`,pink:`#c9699e`};function Kt(e,t){if(!t.trim())return[];let n=t.toLowerCase();return e.filter(e=>e.label.toLowerCase().includes(n)||e.description?.toLowerCase().includes(n)||e.keywords?.some(e=>e.toLowerCase().includes(n)))}var qt=({commands:e,onCommandInvoked:a,style:o,className:s})=>{let[c,l]=(0,t.useState)(``),[u,d]=(0,t.useState)([]),[f,p]=(0,t.useState)(null),m=(0,t.useRef)(null);(0,t.useEffect)(()=>{m.current?.focus()},[]);let h=(0,t.useCallback)(t=>{let n=t.target.value;l(n);let r=Kt(e,n);d(r),p(r.length>0?0:null)},[e]),g=(0,t.useCallback)(e=>{if(e===null)return;let t=u[e];t&&(t.onInvoke?.(),a?.(t))},[u,a]);return(0,t.useEffect)(()=>{let e=e=>{e.key===`ArrowDown`||e.key===`Tab`?(e.preventDefault(),p(e=>e===null?0:e<u.length-1?e+1:e)):e.key===`ArrowUp`?(e.preventDefault(),p(e=>e===null?0:e>0?e-1:0)):e.key===`Enter`&&(e.preventDefault(),g(f))};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[g,f,u.length]),(0,n.jsxs)(`div`,{className:[Z.palette,s].filter(Boolean).join(` `),style:{"--height":`500px`,"--width":`800px`,...o},children:[(0,n.jsxs)(`header`,{className:Z.header,children:[(0,n.jsx)(_,{d:i.mdiConsoleLine}),(0,n.jsx)(`input`,{ref:m,className:Z.input,value:c,onChange:h,type:`text`,inputMode:`text`})]}),(0,n.jsx)(`div`,{className:Z.body,children:u.length===0?(0,n.jsx)(`div`,{className:Z[`empty-result`],children:(0,n.jsx)(x,{children:`search anything...`})}):u.map((e,t)=>(0,n.jsxs)(`button`,{className:`${Z.command} ${t===f?Z[`command-selected`]:``}`,onClick:()=>{p(t),g(t)},children:[e.icon?(0,n.jsx)(`img`,{className:Z[`command-icon`],src:e.icon,alt:e.label}):(0,n.jsx)(_,{d:i.mdiConsoleLine,size:`1rem`}),e.tag?(0,n.jsx)(`div`,{className:Z.tag,style:{"--tag-color":(0,r.opacify)(-.3,Gt[e.tag.color])},children:e.tag.name}):(0,n.jsx)(`div`,{className:Z.tag}),(0,n.jsx)(x,{style:{whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`,maxWidth:`24rem`},children:e.label}),(0,n.jsx)(x,{style:{opacity:.4,whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`},children:e.description??`-`}),(0,n.jsx)(`div`,{children:(0,n.jsx)(_,{d:i.mdiKeyboardReturn})})]},e.id))}),(0,n.jsxs)(`footer`,{className:Z.footer,children:[(0,n.jsx)(x,{kbd:!0,children:`Esc`}),(0,n.jsx)(x,{children:`Close`})]})]})},Jt={"jarkup-body":`_jarkup-body_jsvhx_1`,"unsupported-block":`_unsupported-block_jsvhx_5`},Yt=({jsonComponents:e,style:t,className:r})=>(0,n.jsx)(`div`,{className:[Jt[`jarkup-body`],r].filter(Boolean).join(` `),style:t,children:e.map((e,t)=>(0,n.jsx)(`div`,{className:Jt[`unsupported-block`],children:(0,n.jsx)(`code`,{children:JSON.stringify(e,null,2)})},t))}),Xt={"jarkup-body":`_jarkup-body_1rlbi_1`,"column-list":`_column-list_1rlbi_9`,column:`_column_1rlbi_9`},Zt=(0,t.lazy)(()=>Promise.resolve().then(()=>require(`./ElmMermaid-DnSjC5T_.cjs`)).then(e=>e.n).then(e=>({default:e.ElmMermaid}))),Qt=e=>e.map(e=>e.type===`Text`?e.props.text:``).join(``),$t={Text:(e,t,r,i)=>{let a=e.id??r,o=e.props;return o.katex?(0,n.jsx)(Bt,{expression:o.text,block:!1},a):(0,n.jsx)(x,{color:o.color,backgroundColor:o.backgroundColor,bold:o.bold,italic:o.italic,underline:o.underline,strikethrough:o.strikethrough,code:o.code,ruby:o.ruby,href:o.href,favicon:o.favicon,children:o.text},a)},Icon:(e,t,r,i)=>{let a=e.id??r;return(0,n.jsx)(d,{src:e.props.src,alt:e.props.alt},a)},Fragment:(e,r,i,a)=>{let o=e.id??i;return(0,n.jsx)(t.default.Fragment,{children:r(e.slots.default)},o)},Heading:(e,t,r,i)=>{let a=e.id??r;return(0,n.jsx)(w,{level:e.props.level,id:(0,c.kebabCase)(Qt(e.slots.default)),style:r===0?{"--elmethis-margin-block-start":`0`}:void 0,children:t(e.slots.default)},a)},Paragraph:(e,t,r,i)=>{let a=e.id??r;return(0,n.jsx)(S,{backgroundColor:e.props?.backgroundColor,style:r===0?{"--elmethis-margin-block-start":`0`}:void 0,children:t(e.slots.default)},a)},ListItem:(e,t,r,i)=>{let a=e.id??r;return(0,n.jsx)(`li`,{children:t(e.slots.default)},a)},List:(e,t,r,i)=>{let a=e.id??r;return(0,n.jsx)(Ae,{listStyle:e.props?.listStyle===`unordered`?`unordered`:`ordered`,style:r===0?{"--elmethis-margin-block-start":`0`}:void 0,children:t(e.slots.default)},a)},BlockQuote:(e,t,r,i)=>{let a=e.id??r;return(0,n.jsx)(ve,{cite:e.props?.cite,style:r===0?{"--elmethis-margin-block-start":`0`}:void 0,children:t(e.slots.default)},a)},Callout:(e,t,r,i)=>{let a=e.id??r;return(0,n.jsx)(xe,{type:e.props?.type,style:r===0?{"--elmethis-margin-block-start":`0`}:void 0,children:t(e.slots.default)},a)},Divider:(e,t,r,i)=>{let a=e.id??r;return(0,n.jsx)(Ce,{style:r===0?{"--elmethis-margin-block-start":`0`}:void 0},a)},Toggle:(e,t,r,i)=>{let a=e.id??r;return(0,n.jsx)(wt,{summaryContent:t(e.slots.summary),style:r===0?{"--elmethis-margin-block-start":`0`}:void 0,children:t(e.slots.default)},a)},Bookmark:(e,t,r,i)=>{let a=e.id??r;return(0,n.jsx)(Ue,{url:e.props.url,title:e.props.title,description:e.props.description,image:e.props.image,style:r===0?{"--elmethis-margin-block-start":`0`}:void 0},a)},File:(e,t,r,i)=>{let a=e.id??r;return(0,n.jsx)(He,{src:e.props.src,name:e.props.name,style:r===0?{"--elmethis-margin-block-start":`0`}:void 0},a)},Image:(e,t,r,i)=>{let a=e.id??r;return(0,n.jsx)(O,{src:e.props.src,alt:e.props.alt,width:e.props.width,height:e.props.height,block:!0,enableModal:!0,style:r===0?{"--elmethis-margin-block-start":`0`}:void 0},a)},CodeBlock:(e,t,r,i)=>{let a=e.id??r;return(0,n.jsx)(Rt,{code:e.props.code,language:e.props.language,style:r===0?{"--elmethis-margin-block-start":`0`}:void 0},a)},Katex:(e,t,r,i)=>{let a=e.id??r;return(0,n.jsx)(Bt,{expression:e.props.expression,block:!0,style:r===0?{"--elmethis-margin-block-start":`0`}:void 0},a)},Mermaid:(e,r,i,a)=>{let o=e.id??i;return(0,n.jsx)(t.Suspense,{fallback:(0,n.jsx)(Ze,{}),children:(0,n.jsx)(Zt,{code:e.props.code,style:i===0?{"--elmethis-margin-block-start":`0`}:void 0})},o)},Tab:(e,t,n,r)=>[],Tabs:(e,t,r,i)=>{let a=e.id??r,o=[],s=[];for(let r of e.slots.default)o.push((0,n.jsx)(`span`,{children:t(r.slots.labels)})),s.push((0,n.jsx)(`div`,{children:t(r.slots.contents)}));return(0,n.jsx)(Ct,{tabLabels:o,tabContents:s},a)},Table:(e,t,r,i)=>{let a=e.id??r;return(0,n.jsx)(Dt,{caption:e.props?.caption,hasRowHeader:e.props?.hasRowHeader,header:e.slots.header?(0,n.jsx)(Mt,{children:t(e.slots.header)}):void 0,body:(0,n.jsx)(Ot,{children:t(e.slots.body)}),style:r===0?{"--elmethis-margin-block-start":`0`}:void 0},a)},TableRow:(e,t,r,i)=>{let a=e.id??r;return(0,n.jsx)(J,{children:t(e.slots.default)},a)},TableCell:(e,t,r,i)=>{let a=e.id??r;return(0,n.jsx)(At,{children:t(e.slots.default)},a)},ColumnList:(e,t,r,i)=>{let a=e.id??r;return(0,n.jsx)(`div`,{className:Xt[`column-list`],style:r===0?{"--elmethis-margin-block-start":`0`}:void 0,children:t(e.slots.default)},a)},Column:(e,t,r,i)=>{let a=e.id??r;return(0,n.jsx)(`div`,{className:Xt.column,style:{"--width-ratio":e.props?.widthRatio??1,width:e.props?.widthRatio?`${e.props.widthRatio*100}%`:void 0,...r===0?{"--elmethis-margin-block-start":`0`}:void 0},children:t(e.slots.default)},a)},Unsupported:(e,t,r,i)=>{let a=e.id??r;return i?.skipUnsupportedComponentWarning?null:(0,n.jsx)(et,{details:e.props?.details??`Unsupported component type: ${e.type}`,style:r===0?{"--elmethis-margin-block-start":`0`}:void 0},a)}},en=({jsonComponents:e,skipUnsupportedComponentWarning:t=!1,renderFunctionMap:r,style:i,className:a})=>{let o={...$t,...r},s=e=>e.map((e,r)=>{let a=e.id??r,c=o[e.type];return c?c(e,s,r,{skipUnsupportedComponentWarning:t,style:i}):t?null:(0,n.jsx)(et,{details:`Unsupported component type: ${e.type}`},a)});return(0,n.jsx)(`div`,{className:[Xt[`jarkup-body`],a].filter(Boolean).join(` `),style:{"--elmethis-margin-block-start":i?.[`--elmethis-margin-block-start`]??`2.5rem`,...i},children:s(e)})},tn={"markdown-body":`_markdown-body_130yx_1`},Q=e=>e===0?{"--elmethis-margin-block-start":`0`}:void 0,nn={blockquote:(e,t,r)=>{if(!e.tokens||e.tokens.length===0)return null;let i=e.tokens.flatMap(e=>e.type===`paragraph`&&e.tokens?e.tokens:[e]);return(0,n.jsx)(ve,{style:Q(r),children:t(i)},r)},br:(e,t,r)=>(0,n.jsx)(`br`,{},r),checkbox:(e,t,r)=>(0,n.jsx)(nt,{label:e.raw,checked:e.checked,style:Q(r)},r),code:(e,t,r)=>(0,n.jsx)(Rt,{code:e.text.trim(),language:e.lang,style:Q(r)},r),codespan:(e,t,r)=>(0,n.jsx)(x,{code:!0,children:e.text},r),def:()=>null,del:(e,t,r)=>e.tokens&&e.tokens.length!==0?(0,n.jsx)(x,{strikethrough:!0,children:t(e.tokens)},r):(0,n.jsx)(x,{strikethrough:!0,children:e.text},r),em:(e,t,r)=>e.tokens&&e.tokens.length!==0?(0,n.jsx)(x,{italic:!0,children:t(e.tokens)},r):(0,n.jsx)(x,{italic:!0,children:e.text},r),escape:()=>null,heading:(e,t,r)=>{let i=e.depth;return e.tokens&&e.tokens.length!==0?(0,n.jsx)(w,{level:i,style:Q(r),children:t(e.tokens)},r):(0,n.jsx)(w,{level:i,text:e.text,style:Q(r)},r)},hr:(e,t,r)=>(0,n.jsx)(Ce,{style:Q(r)},r),html:()=>null,image:(e,t,r)=>(0,n.jsx)(O,{block:!0,enableModal:!0,src:e.href,alt:e.text,style:Q(r)},r),link:(e,t,r)=>e.tokens&&e.tokens.length!==0?(0,n.jsx)(x,{href:e.href,children:t(e.tokens)},r):(0,n.jsx)(x,{href:e.href,children:e.text},r),list:(e,t,r)=>{let i=e.items.map((e,r)=>(0,n.jsx)(`li`,{children:t(e.tokens)},r));return(0,n.jsx)(Ae,{listStyle:e.ordered?`ordered`:`unordered`,style:Q(r),children:i},r)},list_item:(e,t,r)=>(0,n.jsx)(`li`,{children:e.tokens&&e.tokens.length!==0?t(e.tokens):e.text},r),paragraph:(e,t,r)=>e.tokens&&e.tokens.length!==0?(0,n.jsx)(S,{style:Q(r),children:t(e.tokens)},r):null,space:()=>null,strong:(e,t,r)=>e.tokens&&e.tokens.length!==0?(0,n.jsx)(x,{bold:!0,children:t(e.tokens)},r):(0,n.jsx)(x,{bold:!0,children:e.text},r),table:(e,t,r)=>{let i=e=>e.map((e,r)=>(0,n.jsx)(At,{children:t(e.tokens)},r)),a=(0,n.jsx)(J,{children:i(e.header)}),o=e.rows.map((e,t)=>(0,n.jsx)(J,{children:i(e)},t));return(0,n.jsx)(Dt,{header:(0,n.jsx)(Mt,{children:a}),body:(0,n.jsx)(Ot,{children:o}),style:Q(r)},r)},text:(e,t,r)=>e.tokens&&e.tokens.length!==0?(0,n.jsx)(x,{children:t(e.tokens)},r):(0,n.jsx)(x,{children:e.text},r)},rn=({markdown:e,style:t,className:r,renderFunctionMap:i})=>{let a={...nn,...i},o=e=>e.map((e,t)=>{let n=a[e.type];return n?n(e,o,t):null}),s=l.marked.setOptions({gfm:!0}).lexer(e);return(0,n.jsx)(`div`,{className:[tn[`markdown-body`],r].filter(Boolean).join(` `),style:{"--elmethis-margin-block-start":`2.5rem`,...t},children:o(s)})},$={char:`_char_sojtj_1`,typed:`_typed_sojtj_20`,current:`_current_sojtj_24`,incorrect:`_incorrect_sojtj_29`},an=({target:e=`Typing game`,style:r,className:i})=>{let[a,o]=(0,t.useState)(()=>{let t=e.split(``).map(e=>({char:e,status:`default`}));return t.length>0&&(t[0].status=`current`),t}),[s,c]=(0,t.useState)(0),[l,u]=(0,t.useState)(0),[d,f]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{let t=e.split(``).map(e=>({char:e,status:`default`}));t.length>0&&(t[0].status=`current`);let n=window.setTimeout(()=>{o(t),c(0),u(0),f(!1)},0);return()=>clearTimeout(n)},[e]),(0,t.useEffect)(()=>{let e=e=>{d||e.key.length!==1||o(t=>{if(!t[s])return t;let n=[...t];return e.key===n[s].char?(n[s]={...n[s],status:`typed`},s===n.length-1?f(!0):c(e=>(n[e+1]={...n[e+1],status:`current`},e+1))):(n[s]={...n[s],status:`incorrect`},u(e=>e+1)),n})};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[s,d]),(0,n.jsxs)(`div`,{className:i,style:r,children:[(0,n.jsx)(`div`,{children:a.map((e,t)=>(0,n.jsx)(`span`,{className:[$.char,e.status===`typed`?$.typed:``,e.status===`current`?$.current:``,e.status===`incorrect`?$.incorrect:``].filter(Boolean).join(` `),children:e.char},t))}),d&&(0,n.jsx)(`div`,{children:`FINISH!`}),l>0&&(0,n.jsxs)(`div`,{children:[`Mistakes: `,l]})]})},on=({oEmbed:e,style:t,className:r})=>e.type===`photo`?(0,n.jsx)(`div`,{className:r,style:t,children:(0,n.jsx)(O,{src:e.url,alt:e.title,width:e.width,height:e.height,block:!0})}):e.type===`video`||e.type===`rich`?(0,n.jsx)(`div`,{style:{width:e.width?`${e.width}px`:void 0,height:e.height?`${e.height}px`:void 0,...t},dangerouslySetInnerHTML:{__html:e.html}}):(0,n.jsx)(`div`,{className:r,style:t,children:(0,n.jsx)(x,{href:e.author_url??e.provider_url??`#`,children:e.title??e.author_name??e.provider_name??`Link`})});exports.ElmArrowIcon=ce,exports.ElmBlockFallback=Ze,exports.ElmBlockQuote=ve,exports.ElmBookmark=Ue,exports.ElmBookmarkIcon=de,exports.ElmBreadcrumb=We,exports.ElmButton=tt,exports.ElmCallout=xe,exports.ElmCheckbox=nt,exports.ElmCodeBlock=Rt,exports.ElmColorSample=Vt,exports.ElmColorTable=Wt,exports.ElmColumn=ut,exports.ElmColumnList=ft,exports.ElmCommandPalette=qt,exports.ElmConfirmModal=ht,exports.ElmCubeIcon=me,exports.ElmDesktopWindow=gt,exports.ElmDivider=Ce,exports.ElmDotLoadingIcon=y,exports.ElmFile=He,exports.ElmFragmentIdentifier=Te,exports.ElmHeading=w,exports.ElmImage=O,exports.ElmInlineIcon=d,exports.ElmInlineText=x,exports.ElmJarkup=en,exports.ElmJsonComponentRenderer=Yt,exports.ElmKatex=Bt,exports.ElmLanguageIcon=m,exports.ElmList=Ae,exports.ElmLoginIcon=ge,exports.ElmMarkdown=rn,exports.ElmMdiIcon=_,exports.ElmMermaid=e.t,exports.ElmModal=mt,exports.ElmMultiProgress=Le,exports.ElmOEmbed=on,exports.ElmPageTop=Ge,exports.ElmParagraph=S,exports.ElmParallax=vt,exports.ElmProgress=Fe,exports.ElmRectangleWave=Xe,exports.ElmSelect=rt,exports.ElmShikiHighlighter=Lt,exports.ElmSimpleTooltip=yt,exports.ElmSnackbar=bt,exports.ElmSnackbarContainer=St,exports.ElmSpinner=$e,exports.ElmSquareLoadingIcon=ne,exports.ElmStatusMessage=Be,exports.ElmSwitch=it,exports.ElmTable=Dt,exports.ElmTableBody=Ot,exports.ElmTableCell=At,exports.ElmTableHeader=Mt,exports.ElmTableOfContents=qe,exports.ElmTableRow=J,exports.ElmTabs=Ct,exports.ElmTemplate=Pe,exports.ElmTextField=ot,exports.ElmToggle=wt,exports.ElmToggleTheme=se,exports.ElmTooltip=U,exports.ElmTyping=an,exports.ElmTypingAnimation=Me,exports.ElmUnsupportedBlock=et,exports.ElmValidation=ct,exports.LANGUAGES=h;
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./ElmMermaid-DnSjC5T_.cjs`);let t=require(`react`);t=e.r(t);let n=require(`react/jsx-runtime`),r=require(`@mdi/js`),i=require(`clsx`);i=e.r(i);let a=require(`polished`),o=require(`react-dom`),s=require(`@radix-ui/react-use-controllable-state`),c=require(`lodash-es`),l=require(`marked`);var u={option:`_option_hdb87_1`},d={wrapper:`_wrapper_1xby6_1`,active:`_active_1xby6_29`,header:`_header_1xby6_33`,label:`_label_1xby6_41`,body:`_body_1xby6_54`,select:`_select_1xby6_63`,selected:`_selected_1xby6_72`,fallback:`_fallback_1xby6_77`,pulldown:`_pulldown_1xby6_85`,collapse:`_collapse_1xby6_106`,option:`_option_1xby6_116`,selectable:`_selectable_1xby6_129`,description:`_description_1xby6_140`},f={icon:`_icon_g71ox_1`,"icon-theme-color":`_icon-theme-color_g71ox_10`},p=e=>(0,n.jsx)(`div`,{className:e.className,style:e.style,children:(0,n.jsx)(`svg`,{width:e.size||`1.25rem`,height:e.size||`1.25rem`,viewBox:`0 0 24 24`,focusable:`false`,role:`img`,children:(0,n.jsx)(`path`,{style:{"--elmethis-scoped-color":e.colorLight??e.color,"--elmethis-scoped-color-dark":e.colorDark??e.color,...e.style},className:e.useThemeColor?f[`icon-theme-color`]:f.icon,fill:`currentColor`,d:e.d})})}),m=({disabled:e=!1,loading:a=!1,...o})=>{let[s,c]=(0,t.useState)(!1),l=(0,t.useRef)(null),u=()=>{!e&&!a&&c(e=>!e)},{options:f,onSelect:m}=o,h=e=>{let t=f.find(t=>t.id===e);t&&m&&(m(t.id),c(!1))};(0,t.useEffect)(()=>{let e=e=>{l.current&&!l.current.contains(e.target)&&c(!1)};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[]);let g=(e,t,a)=>{let s=o.options.find(t=>t.id===e);if(!s)return null;let c=t?e=>{e.stopPropagation(),h(s.id)}:void 0,l=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(`span`,{children:s.label}),s.description&&(0,n.jsx)(`span`,{className:d.description,children:s.description})]});return(0,n.jsxs)(`div`,{className:(0,i.default)(d.option,{[d.selectable]:t}),onClick:c,children:[t&&(0,n.jsx)(p,{d:r.mdiChevronRight,color:`#868e9c`,size:`0.75em`}),s.children?s.children:l]},a)};return(0,n.jsxs)(`div`,{ref:l,className:(0,i.default)(d.wrapper,o.className,{[d.active]:s}),style:{backgroundColor:e||a?`rgba(0,0,0,0.15)`:void 0,...o.style},onClick:u,children:[(0,n.jsx)(`div`,{className:d.header,children:(0,n.jsx)(`span`,{className:d.label,children:o.label})}),(0,n.jsx)(`div`,{className:d.body,children:(0,n.jsxs)(`div`,{className:d.select,children:[(0,n.jsx)(`div`,{className:d.selected,children:o.selectedOptionId?g(o.selectedOptionId,!1):(0,n.jsxs)(`div`,{className:d.fallback,children:[(0,n.jsx)(p,{d:r.mdiArrowDownDropCircleOutline}),(0,n.jsx)(`span`,{children:o.placeholder??`Select an option`})]})}),(0,n.jsx)(p,{d:r.mdiMenuDown,size:`1.5rem`}),(0,n.jsx)(`div`,{className:(0,i.default)(d.pulldown,{[d.active]:s}),children:(0,n.jsx)(`div`,{className:d.collapse,children:o.options.map(e=>g(e.id,!0,e.id))})})]})})]})},h={icon:`_icon_k0isg_1`},g=({src:e,alt:r,className:i})=>{let[a,o]=(0,t.useState)(e);return(0,n.jsx)(`img`,{className:[h.icon,i].filter(Boolean).join(` `),src:a,alt:r,onError:()=>{o(`data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="gray" d="M17.9 17.39c-.26-.8-1.01-1.39-1.9-1.39h-1v-3a1 1 0 0 0-1-1H8v-2h2a1 1 0 0 0 1-1V7h2a2 2 0 0 0 2-2v-.41a7.984 7.984 0 0 1 2.9 12.8M11 19.93c-3.95-.49-7-3.85-7-7.93c0-.62.08-1.22.21-1.79L9 15v1a2 2 0 0 0 2 2m1-16A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2"/></svg>`)}})},_={text:`_text_1nnze_1`,link:`_link_1nnze_19`},v=e=>{let t=e=>{let t=e.children;return e.kbd&&(t=(0,n.jsx)(`kbd`,{children:t})),e.code&&(t=(0,n.jsx)(`code`,{children:t})),e.strikethrough&&(t=(0,n.jsx)(`del`,{children:t})),e.underline&&(t=(0,n.jsx)(`ins`,{children:t})),e.italic&&(t=(0,n.jsx)(`em`,{children:t})),e.bold&&(t=(0,n.jsx)(`strong`,{children:t})),e.ruby&&(t=(0,n.jsxs)(`ruby`,{children:[t,(0,n.jsx)(`rt`,{children:e.ruby})]})),t},r=({favicon:e,href:t,children:r})=>(0,n.jsxs)(`a`,{className:_.link,href:t,target:`_blank`,rel:`noopener noreferrer`,children:[e&&(0,n.jsx)(g,{src:e}),r]}),i=e=>e.href?r(e):t(e);return(0,n.jsx)(`span`,{className:[_.text,e.className].filter(Boolean).join(` `),style:{"--elmethis-text-color-light":e.color,"--elmethis-text-color-dark":e.color,"--elmethis-text-background-color-light":e.backgroundColor,"--elmethis-text-background-color-dark":e.backgroundColor,color:e.color??(e.backgroundColor?(0,a.getLuminance)(e.backgroundColor)>.5?`#3e434b`:`#eeeff1`:void 0),backgroundColor:e.backgroundColor,...e.style},children:i(e)})},y=e=>({id:e.modelId,label:e.label,children:(0,n.jsxs)(`div`,{className:u.option,children:[(0,n.jsx)(g,{src:e.icon,alt:e.label,className:u.icon}),(0,n.jsx)(v,{children:e.label})]})}),ee=e=>{let r=t.default.useMemo(()=>{let t=e.models.find(t=>t.modelId===e.selectedModelId)||null;return t?y(t):null},[e.models,e.selectedModelId]);return(0,n.jsx)(m,{label:`Model`,options:e.models.map(y),selectedOptionId:r?.id,onSelect:e.setSelectedModelId})},te={icon:`_icon_18sdb_1`},ne={rust:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20128%20128'%20fill='%23a84f33'%20width='128'%20height='128'%20%3e%3cpath%20d='M62.96.242c-.232.135-1.203%201.528-2.16%203.097c-2.4%203.94-2.426%203.942-5.65.55c-2.098-2.208-2.605-2.612-3.28-2.607c-.44.002-.995.152-1.235.332s-.916%201.612-1.504%203.183c-1.346%203.6-1.41%203.715-2.156%203.86c-.46.086-1.343-.407-3.463-1.929c-1.565-1.125-3.1-2.045-3.411-2.045c-1.291%200-1.655.706-2.27%204.4c-.78%204.697-.754%204.681-4.988%202.758c-1.71-.776-3.33-1.41-3.603-1.41s-.792.293-1.15.652c-.652.652-.653.655-.475%204.246l.178%203.595l-.68.364c-.602.322-1.017.283-3.684-.348c-3.48-.822-4.216-.8-4.92.15l-.516.693l.692%202.964c.38%201.63.745%203.2.814%203.487c.067.287-.05.746-.26%201.02c-.348.448-.717.49-3.94.44c-5.452-.086-5.761.382-3.51%205.3c.718%201.56%201.305%202.98%201.305%203.15c0%20.898-.717%201.224-3.794%201.727c-1.722.28-3.218.51-3.326.51c-.107%200-.43.235-.717.522c-.937.936-.671%201.816%201.453%204.814c2.646%203.735%202.642%203.75-1.73%205.421c-4.971%201.902-5.072%202.37-1.287%205.96c3.525%203.344%203.53%203.295-.461%205.804C.208%2062.8.162%2062.846.085%2063.876c-.093%201.253-.071%201.275%203.538%203.48c3.57%202.18%203.57%202.246.067%205.56C-.078%2076.48.038%2077%205.013%2078.877c4.347%201.64%204.353%201.66%201.702%205.394c-1.502%202.117-1.981%203-1.981%203.653c0%201.223.637%201.535%204.44%202.174c3.206.54%203.92.857%203.92%201.741c0%20.182-.588%201.612-1.307%203.177c-2.236%204.87-1.981%205.275%203.31%205.275c4.93%200%204.799-.15%203.737%204.294c-.8%203.35-.813%203.992-.088%204.715c.554.556%201.6.494%204.87-.289c2.499-.596%202.937-.637%203.516-.328l.66.354l-.177%203.594c-.178%203.593-.177%203.595.475%204.248c.358.36.884.652%201.165.652s1.903-.63%203.604-1.404c4.22-1.916%204.194-1.932%204.973%202.75c.617%203.711.977%204.4%202.294%204.4c.327%200%201.83-.88%203.34-1.958c2.654-1.893%203.342-2.19%204.049-1.74c.182.115.89%201.67%201.572%203.455c1.003%202.625%201.37%203.31%201.929%203.576c1.062.51%201.72.1%204.218-2.62c3.016-3.286%203.14-3.27%205.602.72c2.72%204.406%203.424%204.396%206.212-.089c2.402-3.864%202.374-3.862%205.621-.47c2.157%202.25%202.616%202.61%203.343%202.61c.464%200%201.019-.175%201.23-.388c.214-.213.92-1.786%201.568-3.496c.649-1.71%201.321-3.2%201.495-3.31c.687-.436%201.398-.13%204.048%201.752c1.56%201.108%203.028%201.96%203.377%201.96c1.296%200%201.764-.92%202.302-4.535c.46-3.082.554-3.378%201.16-3.685c.596-.302.954-.2%203.75%201.07c1.701.77%203.323%201.402%203.604%201.402s.816-.302%201.184-.672l.672-.67l-.184-3.448c-.177-3.29-.16-3.468.364-3.943c.54-.488.596-.486%203.615.204c3.656.835%204.338.857%205.025.17c.671-.67.664-.818-.254-4.69c-1.03-4.346-1.168-4.19%203.78-4.19c3.374%200%203.75-.049%204.18-.523c.718-.793.547-1.702-.896-4.779c-.729-1.55-1.32-2.96-1.315-3.135c.024-.914.743-1.227%204.065-1.767c2.033-.329%203.553-.71%203.829-.96c.923-.833.584-1.918-1.523-4.873c-2.642-3.703-2.63-3.738%201.599-5.297c5.064-1.866%205.209-2.488%201.419-6.09c-3.51-3.335-3.512-3.317.333-5.677c4.648-2.853%204.655-3.496.082-6.335c-3.933-2.44-3.93-2.406-.405-5.753c3.78-3.593%203.678-4.063-1.295-5.965c-4.388-1.679-4.402-1.72-1.735-5.38c1.588-2.18%201.982-2.903%201.982-3.65c0-1.306-.586-1.598-4.436-2.22c-3.216-.52-3.924-.835-3.924-1.75c0-.174.588-1.574%201.307-3.113c1.406-3.013%201.604-4.22.808-4.94c-.428-.387-1-.443-4.067-.392c-3.208.054-3.618.008-4.063-.439c-.486-.488-.48-.557.278-3.725c.931-3.88.935-3.975.17-4.694c-.777-.73-1.262-.718-4.826.121c-2.597.612-3.027.653-3.617.337l-.67-.36l.185-3.582l.186-3.58l-.67-.67c-.369-.37-.891-.67-1.163-.67c-.27%200-1.884.64-3.583%201.421c-2.838%201.306-3.143%201.393-3.757%201.072c-.612-.32-.714-.637-1.237-3.829c-.603-3.693-.977-4.412-2.288-4.412c-.311%200-1.853.925-3.426%202.055c-2.584%201.856-2.93%202.032-3.574%201.807c-.533-.186-.843-.59-1.221-1.599c-.28-.742-.817-2.172-1.194-3.177c-.762-2.028-1.187-2.482-2.328-2.482c-.637%200-1.213.458-3.28%202.604c-3.25%203.375-3.261%203.374-5.65-.545C66.073%201.78%2065.075.382%2064.81.24c-.597-.32-1.3-.32-1.85.002m2.96%2011.798c2.83%202.014%201.326%206.75-2.144%206.75c-3.368%200-5.064-4.057-2.66-6.36c1.358-1.3%203.304-1.459%204.805-.39m-3.558%2012.507c1.855.705%202.616.282%206.852-3.8l3.182-3.07l1.347.18c4.225.56%2012.627%204.25%2017.455%207.666c4.436%203.14%2010.332%209.534%2012.845%2013.93l.537.942l-2.38%205.364c-1.31%202.95-2.382%205.673-2.382%206.053c0%20.878.576%202.267%201.13%202.726c.234.195%202.457%201.265%204.939%202.378l4.51%202.025l.178%201.148c.23%201.495.26%205.167.052%206.21l-.163.816h-2.575c-2.987%200-2.756-.267-2.918%203.396c-.118%202.656-.76%204.124-2.22%205.075c-2.377%201.551-6.304%201.27-7.97-.57c-.255-.284-.752-1.705-1.105-3.16c-1.03-4.254-2.413-6.64-5.193-8.965c-.878-.733-1.595-1.418-1.595-1.522c0-.102.965-.915%202.145-1.803c4.298-3.24%206.77-7.012%207.04-10.747c.519-7.126-5.158-13.767-13.602-15.92c-2.002-.51-2.857-.526-27.624-.526c-14.057%200-25.56-.092-25.56-.204c0-.263%203.125-3.295%204.965-4.816c5.054-4.178%2011.618-7.465%2018.417-9.22l2.35-.61l3.34%203.387c1.839%201.863%203.64%203.5%204.003%203.637M20.3%2046.34c1.539%201.008%202.17%203.54%201.26%205.062c-1.405%202.356-4.966%202.455-6.373.178c-2.046-3.309%201.895-7.349%205.113-5.24m90.672.13c4.026%202.454.906%208.493-3.404%206.586c-2.877-1.273-2.97-5.206-.155-6.64c1.174-.6%202.523-.579%203.56.053M32.163%2061.5v15.02h-13.28l-.526-2.285c-1.036-4.5-1.472-9.156-1.211-12.969l.182-2.679l4.565-2.047c2.864-1.283%204.706-2.262%204.943-2.625c1.038-1.584.94-2.715-.518-5.933l-.68-1.502h6.523V61.5M70.39%2047.132c2.843.74%204.345%202.245%204.349%204.355c.002%201.55-.765%202.52-2.67%203.38c-1.348.61-1.562.625-10.063.708l-8.686.084v-8.92h7.782c6.078%200%208.112.086%209.288.393m-2.934%2021.554c1.41.392%203.076%201.616%203.93%202.888c.898%201.337%201.423%203.076%202.667%208.836c1.05%204.87%201.727%206.46%203.62%208.532c2.345%202.566%201.8%202.466%2013.514%202.466c5.61%200%2010.198.09%2010.198.2c0%20.197-3.863%204.764-4.03%204.764c-.048%200-2.066-.422-4.484-.939c-6.829-1.458-7.075-1.287-8.642%206.032l-1.008%204.702l-.91.448c-1.518.75-6.453%202.292-9.01%202.82c-4.228.87-8.828%201.162-12.871.821c-6.893-.585-16.02-3.259-16.377-4.8c-.075-.327-.535-2.443-1.018-4.704c-.485-2.26-1.074-4.404-1.31-4.764c-1.13-1.724-2.318-1.83-7.547-.674c-1.98.44-3.708.796-3.84.796c-.248%200-3.923-4.249-3.923-4.535c0-.09%208.728-.194%2019.396-.23l19.395-.066l.07-6.89c.05-4.865-.018-6.997-.23-7.25c-.234-.284-1.485-.358-6.011-.358H53.32v-8.36l6.597.001c3.626.002%207.02.12%207.539.264M37.57%20100.02c3.084%201.88%201.605%206.804-2.043%206.8c-3.74%200-5.127-4.88-1.94-6.826c1.055-.643%202.908-.63%203.983.026m56.48.206c1.512%201.108%202.015%203.413%201.079%204.95c-2.46%204.034-8.612.827-6.557-3.419c1.01-2.085%203.695-2.837%205.478-1.53'%20/%3e%3c/svg%3e`,javascript:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='128'%20height='128'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%23f0db4f'%20d='M1.408%201.408h125.184v125.185H1.408z'%20/%3e%3cpath%20fill='%23323330'%20d='M116.347%2096.736c-.917-5.711-4.641-10.508-15.672-14.981c-3.832-1.761-8.104-3.022-9.377-5.926c-.452-1.69-.512-2.642-.226-3.665c.821-3.32%204.784-4.355%207.925-3.403c2.023.678%203.938%202.237%205.093%204.724c5.402-3.498%205.391-3.475%209.163-5.879c-1.381-2.141-2.118-3.129-3.022-4.045c-3.249-3.629-7.676-5.498-14.756-5.355l-3.688.477c-3.534.893-6.902%202.748-8.877%205.235c-5.926%206.724-4.236%2018.492%202.975%2023.335c7.104%205.332%2017.54%206.545%2018.873%2011.531c1.297%206.104-4.486%208.08-10.234%207.378c-4.236-.881-6.592-3.034-9.139-6.949c-4.688%202.713-4.688%202.713-9.508%205.485c1.143%202.499%202.344%203.63%204.26%205.795c9.068%209.198%2031.76%208.746%2035.83-5.176c.165-.478%201.261-3.666.38-8.581M69.462%2058.943H57.753l-.048%2030.272c0%206.438.333%2012.34-.714%2014.149c-1.713%203.558-6.152%203.117-8.175%202.427c-2.059-1.012-3.106-2.451-4.319-4.485c-.333-.584-.583-1.036-.667-1.071l-9.52%205.83c1.583%203.249%203.915%206.069%206.902%207.901c4.462%202.678%2010.459%203.499%2016.731%202.059c4.082-1.189%207.604-3.652%209.448-7.401c2.666-4.915%202.094-10.864%202.07-17.444c.06-10.735.001-21.468.001-32.237'%20/%3e%3c/svg%3e`,typescript:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='128'%20height='128'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%23fff'%20d='M22.67%2047h99.67v73.67H22.67z'%20/%3e%3cpath%20fill='%23007acc'%20d='M1.5%2063.91v62.5h125v-125H1.5zm100.73-5a15.56%2015.56%200%200%201%207.82%204.5a20.6%2020.6%200%200%201%203%204c0%20.16-5.4%203.81-8.69%205.85c-.12.08-.6-.44-1.13-1.23a7.09%207.09%200%200%200-5.87-3.53c-3.79-.26-6.23%201.73-6.21%205a4.6%204.6%200%200%200%20.54%202.34c.83%201.73%202.38%202.76%207.24%204.86c8.95%203.85%2012.78%206.39%2015.16%2010c2.66%204%203.25%2010.46%201.45%2015.24c-2%205.2-6.9%208.73-13.83%209.9a38.3%2038.3%200%200%201-9.52-.1a23%2023%200%200%201-12.72-6.63c-1.15-1.27-3.39-4.58-3.25-4.82a9%209%200%200%201%201.15-.73L82%20101l3.59-2.08l.75%201.11a16.8%2016.8%200%200%200%204.74%204.54c4%202.1%209.46%201.81%2012.16-.62a5.43%205.43%200%200%200%20.69-6.92c-1-1.39-3-2.56-8.59-5c-6.45-2.78-9.23-4.5-11.77-7.24a16.5%2016.5%200%200%201-3.43-6.25a25%2025%200%200%201-.22-8c1.33-6.23%206-10.58%2012.82-11.87a31.7%2031.7%200%200%201%209.49.26zm-29.34%205.24v5.12H56.66v46.23H45.15V69.26H28.88v-5a49%2049%200%200%201%20.12-5.17C29.08%2059%2039%2059%2051%2059h21.83z'%20/%3e%3c/svg%3e`,shell:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20128%20128'%20width='24'%20height='24'%3e%3cpath%20fill='none'%20d='M4.24%204.24h119.53v119.53H4.24z'%20/%3e%3cpath%20fill='%23293138'%20d='M109.01%2028.64L71.28%206.24c-2.25-1.33-4.77-2-7.28-2s-5.03.67-7.28%202.01l-37.74%2022.4c-4.5%202.67-7.28%207.61-7.28%2012.96v44.8c0%205.35%202.77%2010.29%207.28%2012.96l37.73%2022.4c2.25%201.34%204.76%202%207.28%202c2.51%200%205.03-.67%207.28-2l37.74-22.4c4.5-2.67%207.28-7.62%207.28-12.96V41.6c0-5.34-2.77-10.29-7.28-12.96M79.79%2098.59l.06%203.22c0%20.39-.25.83-.55.99l-1.91%201.1c-.3.15-.56-.03-.56-.42l-.03-3.17c-1.63.68-3.29.84-4.34.42c-.2-.08-.29-.37-.21-.71l.69-2.91c.06-.23.18-.46.34-.6c.06-.06.12-.1.18-.13c.11-.06.22-.07.31-.03c1.14.38%202.59.2%203.99-.5c1.78-.9%202.97-2.72%202.95-4.52c-.02-1.64-.9-2.31-3.05-2.33c-2.74.01-5.3-.53-5.34-4.57c-.03-3.32%201.69-6.78%204.43-8.96l-.03-3.25c0-.4.24-.84.55-1l1.85-1.18c.3-.15.56.04.56.43l.03%203.25c1.36-.54%202.54-.69%203.61-.44c.23.06.34.38.24.75l-.72%202.88c-.06.22-.18.44-.33.58a.8.8%200%200%201-.19.14c-.1.05-.19.06-.28.05c-.49-.11-1.65-.36-3.48.56c-1.92.97-2.59%202.64-2.58%203.88c.02%201.48.77%201.93%203.39%201.97c3.49.06%204.99%201.58%205.03%205.09c.05%203.44-1.79%207.15-4.61%209.41m26.34-60.5l-35.7%2022.05c-4.45%202.6-7.73%205.52-7.74%2010.89v43.99c0%203.21%201.3%205.29%203.29%205.9c-.65.11-1.32.19-1.98.19c-2.09%200-4.15-.57-5.96-1.64l-37.73-22.4c-3.69-2.19-5.98-6.28-5.98-10.67V41.6c0-4.39%202.29-8.48%205.98-10.67l37.74-22.4c1.81-1.07%203.87-1.64%205.96-1.64s4.15.57%205.96%201.64l37.74%2022.4c3.11%201.85%205.21%205.04%205.8%208.63c-1.27-2.67-4.09-3.39-7.38-1.47'%20/%3e%3cpath%20fill='%234fa847'%20d='m99.12%2090.73l-9.4%205.62c-.25.15-.43.31-.43.61v2.46c0%20.3.2.43.45.28l9.54-5.8c.25-.15.29-.42.29-.72v-2.17c0-.3-.2-.42-.45-.28'%20/%3e%3c/svg%3e`,terraform:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cg%20fill-rule='evenodd'%3e%3cpath%20fill='%235c4ee5'%20d='M77.941%2044.5v36.836L46.324%2062.918V26.082zm0%200'%20/%3e%3cpath%20fill='%234040b2'%20d='m81.41%2081.336l31.633-18.418V26.082L81.41%2044.5zm0%200'%20/%3e%3cpath%20fill='%235c4ee5'%20d='M11.242%2042.36L42.86%2060.776V23.941L11.242%205.523zm66.699%2043.015L46.324%2066.957v36.82l31.617%2018.418zm0%200'%20/%3e%3c/g%3e%3c/svg%3e`,html:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%23e44d26'%20d='M19.037%20113.876L9.032%201.661h109.936l-10.016%20112.198l-45.019%2012.48z'%20/%3e%3cpath%20fill='%23f16529'%20d='m64%20116.8l36.378-10.086l8.559-95.878H64z'%20/%3e%3cpath%20fill='%23ebebeb'%20d='M64%2052.455H45.788L44.53%2038.361H64V24.599H29.489l.33%203.692l3.382%2037.927H64zm0%2035.743l-.061.017l-15.327-4.14l-.979-10.975H33.816l1.928%2021.609l28.193%207.826l.063-.017z'%20/%3e%3cpath%20fill='%23fff'%20d='M63.952%2052.455v13.763h16.947l-1.597%2017.849l-15.35%204.143v14.319l28.215-7.82l.207-2.325l3.234-36.233l.335-3.696h-3.708zm0-27.856v13.762h33.244l.276-3.092l.628-6.978l.329-3.692z'%20/%3e%3c/svg%3e`,css:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='128'%20height='128'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%23639'%20d='M0%200h107.52C118.831%200%20128%209.168%20128%2020.48v87.04c0%2011.312-9.168%2020.48-20.48%2020.48H20.48C9.169%20128%200%20118.832%200%20107.52Z'%20/%3e%3cpath%20fill='%23fff'%20d='M45.836%20117.762c-8.219-.008-13.293-4.64-13.195-13.16V83.05q0-6.481%203.793-9.852c4.543-4.379%2015.082-4.644%2019.53.067c2.743%202.417%203.778%207.355%203.532%2011.964H50.06c.074-1.808-.024-4.554-1.09-5.586c-1.383-1.87-5.035-1.652-6.004.297c-.594%201.059-.89%202.621-.89%204.696v18.71q0%205.884%204.09%205.95q1.914-.001%202.905-1.39c.918-1.099%201.063-3.528.989-5.29h9.437c.645%208.969-4.652%2015.254-13.66%2015.144Zm29.957%200c-9.11.125-13.184-6.36-12.934-15.145h8.91c-.25%203.832%201.067%207.32%204.223%207.078q2.11%200%202.969-1.324c1.086-1.613%201.293-6.265-.266-8.066c-1.085-1.735-4.996-3.266-7.058-4.297q-4.423-2.115-6.367-5.027c-2.93-4.305-2.657-13.754%201.449-17.586c3.992-4.727%2014.414-4.942%2018.41-.098c2.465%202.496%203.54%207.41%203.332%2011.934h-8.578c.074-1.86-.102-4.86-.824-5.95q-.762-1.39-2.871-1.39q-3.762.001-3.762%204.496c.027%203.18%201.27%204.488%204.16%205.816c3.742%201.453%208.5%203.938%2010.227%206.942c5.144%209.16%201.613%2023.148-11.02%2022.613Zm28.77%200c-9.11.125-13.184-6.36-12.934-15.145h8.91c-.25%203.832%201.066%207.32%204.223%207.078q2.108%200%202.969-1.324c1.085-1.613%201.289-6.265-.266-8.066c-1.086-1.735-4.996-3.266-7.059-4.297q-4.423-2.115-6.367-5.027c-2.93-4.305-2.656-13.754%201.45-17.586c3.992-4.727%2014.413-4.942%2018.41-.098c2.464%202.496%203.539%207.41%203.332%2011.934h-8.579c.07-1.86-.101-4.86-.824-5.95q-.762-1.39-2.87-1.39q-3.763.001-3.763%204.496c.028%203.18%201.27%204.488%204.16%205.816c3.743%201.453%208.5%203.938%2010.227%206.942c5.145%209.16%201.614%2023.148-11.02%2022.613Z'%20/%3e%3c/svg%3e`,npm:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%23cb3837'%20d='M0%207.062C0%203.225%203.225%200%207.062%200h113.88c3.838%200%207.063%203.225%207.063%207.062v113.88c0%203.838-3.225%207.063-7.063%207.063H7.062c-3.837%200-7.062-3.225-7.062-7.063zm23.69%2097.518h40.395l.05-58.532h19.494l-.05%2058.581h19.543l.05-78.075l-78.075-.1l-.1%2078.126z'%20/%3e%3cpath%20fill='%23fff'%20d='M25.105%2065.52V26.512H40.96c8.72%200%2026.274.034%2039.008.075l23.153.075v77.866H83.645v-58.54H64.057v58.54H25.105z'%20/%3e%3c/svg%3e`,java:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%230074bd'%20d='M47.617%2098.12s-4.767%202.774%203.397%203.71c9.892%201.13%2014.947.968%2025.845-1.092c0%200%202.871%201.795%206.873%203.351c-24.439%2010.47-55.308-.607-36.115-5.969m-2.988-13.665s-5.348%203.959%202.823%204.805c10.567%201.091%2018.91%201.18%2033.354-1.6c0%200%201.993%202.025%205.132%203.131c-29.542%208.64-62.446.68-41.309-6.336'%20/%3e%3cpath%20fill='%23ea2d2e'%20d='M69.802%2061.271c6.025%206.935-1.58%2013.17-1.58%2013.17s15.289-7.891%208.269-17.777c-6.559-9.215-11.587-13.792%2015.635-29.58c0%20.001-42.731%2010.67-22.324%2034.187'%20/%3e%3cpath%20fill='%230074bd'%20d='M102.123%20108.229s3.529%202.91-3.888%205.159c-14.102%204.272-58.706%205.56-71.094.171c-4.451-1.938%203.899-4.625%206.526-5.192c2.739-.593%204.303-.485%204.303-.485c-4.953-3.487-32.013%206.85-13.743%209.815c49.821%208.076%2090.817-3.637%2077.896-9.468M49.912%2070.294s-22.686%205.389-8.033%207.348c6.188.828%2018.518.638%2030.011-.326c9.39-.789%2018.813-2.474%2018.813-2.474s-3.308%201.419-5.704%203.053c-23.042%206.061-67.544%203.238-54.731-2.958c10.832-5.239%2019.644-4.643%2019.644-4.643m40.697%2022.747c23.421-12.167%2012.591-23.86%205.032-22.285c-1.848.385-2.677.72-2.677.72s.688-1.079%202-1.543c14.953-5.255%2026.451%2015.503-4.823%2023.725c0-.002.359-.327.468-.617'%20/%3e%3cpath%20fill='%23ea2d2e'%20d='M76.491%201.587S89.459%2014.563%2064.188%2034.51c-20.266%2016.006-4.621%2025.13-.007%2035.559c-11.831-10.673-20.509-20.07-14.688-28.815C58.041%2028.42%2081.722%2022.195%2076.491%201.587'%20/%3e%3cpath%20fill='%230074bd'%20d='M52.214%20126.021c22.476%201.437%2057-.8%2057.817-11.436c0%200-1.571%204.032-18.577%207.231c-19.186%203.612-42.854%203.191-56.887.874c0%20.001%202.875%202.381%2017.647%203.331'%20/%3e%3c/svg%3e`,kotlin:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cdefs%3e%3clinearGradient%20id='deviconKotlin0'%20x1='500.003'%20x2='-.097'%20y1='579.106'%20y2='1079.206'%20gradientTransform='translate(15.534%20-96.774)scale(.1939)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.003'%20stop-color='%23e44857'%20/%3e%3cstop%20offset='.469'%20stop-color='%23c711e1'%20/%3e%3cstop%20offset='1'%20stop-color='%237f52ff'%20/%3e%3c/linearGradient%3e%3c/defs%3e%3cpath%20fill='url(%23deviconKotlin0)'%20d='M112.484%20112.484H15.516V15.516h96.968L64%2064Zm0%200'%20/%3e%3c/svg%3e`,go:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cg%20fill='%2300acd7'%20fill-rule='evenodd'%3e%3cpath%20d='M11.156%2054.829c-.243%200-.303-.122-.182-.303l1.273-1.637c.12-.182.424-.303.666-.303H34.55c.243%200%20.303.182.182.364l-1.03%201.576c-.121.181-.424.363-.606.363zm-9.152%205.575c-.242%200-.303-.12-.182-.303l1.273-1.636c.121-.182.424-.303.667-.303h27.636c.242%200%20.364.182.303.364l-.485%201.454c-.06.243-.303.364-.545.364zM16.67%2065.98c-.242%200-.302-.182-.181-.364l.848-1.515c.122-.182.364-.363.607-.363h12.12c.243%200%20.364.181.364.424l-.12%201.454c0%20.243-.243.425-.425.425zm62.91-12.242c-3.819.97-6.425%201.697-10.182%202.666c-.91.243-.97.303-1.758-.606c-.909-1.03-1.576-1.697-2.848-2.303c-3.819-1.878-7.516-1.333-10.97.91c-4.121%202.666-6.242%206.605-6.182%2011.514c.06%204.849%203.394%208.849%208.182%209.516c4.121.545%207.576-.91%2010.303-4c.545-.667%201.03-1.394%201.636-2.243H56.064c-1.272%200-1.575-.788-1.151-1.818c.788-1.879%202.242-5.03%203.09-6.606c.183-.364.607-.97%201.516-.97h22.06c-.12%201.637-.12%203.273-.363%204.91c-.667%204.363-2.303%208.363-4.97%2011.878c-4.364%205.758-10.06%209.333-17.273%2010.303c-5.939.788-11.454-.364-16.302-4c-4.485-3.394-7.03-7.879-7.697-13.454c-.788-6.606%201.151-12.546%205.151-17.758c4.303-5.636%2010-9.212%2016.97-10.485c5.697-1.03%2011.151-.363%2016.06%202.97c3.212%202.121%205.515%205.03%207.03%208.545c.364.546.122.849-.606%201.03z'%20/%3e%3cpath%20fill-rule='nonzero'%20d='M99.64%2087.253c-5.515-.122-10.546-1.697-14.788-5.334c-3.576-3.09-5.818-7.03-6.545-11.697c-1.091-6.848.787-12.909%204.909-18.302c4.424-5.819%209.757-8.849%2016.97-10.122c6.181-1.09%2012-.484%2017.272%203.091c4.788%203.273%207.757%207.697%208.545%2013.515c1.03%208.182-1.333%2014.849-6.97%2020.546c-4%204.06-8.909%206.606-14.545%207.757c-1.636.303-3.273.364-4.848.546m14.424-24.485c-.06-.788-.06-1.394-.182-2c-1.09-6-6.606-9.394-12.363-8.06c-5.637%201.272-9.273%204.848-10.606%2010.545c-1.091%204.727%201.212%209.515%205.575%2011.454c3.334%201.455%206.667%201.273%209.879-.363c4.788-2.485%207.394-6.364%207.697-11.576'%20/%3e%3c/g%3e%3c/svg%3e`,python:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3clinearGradient%20id='deviconPython0'%20x1='70.252'%20x2='170.659'%20y1='1237.476'%20y2='1151.089'%20gradientTransform='matrix(.563%200%200%20-.568%20-29.215%20707.817)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%235a9fd4'%20/%3e%3cstop%20offset='1'%20stop-color='%23306998'%20/%3e%3c/linearGradient%3e%3clinearGradient%20id='deviconPython1'%20x1='209.474'%20x2='173.62'%20y1='1098.811'%20y2='1149.537'%20gradientTransform='matrix(.563%200%200%20-.568%20-29.215%20707.817)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%23ffd43b'%20/%3e%3cstop%20offset='1'%20stop-color='%23ffe873'%20/%3e%3c/linearGradient%3e%3cpath%20fill='url(%23deviconPython0)'%20d='M63.391%201.988c-4.222.02-8.252.379-11.8%201.007c-10.45%201.846-12.346%205.71-12.346%2012.837v9.411h24.693v3.137H29.977c-7.176%200-13.46%204.313-15.426%2012.521c-2.268%209.405-2.368%2015.275%200%2025.096c1.755%207.311%205.947%2012.519%2013.124%2012.519h8.491V67.234c0-8.151%207.051-15.34%2015.426-15.34h24.665c6.866%200%2012.346-5.654%2012.346-12.548V15.833c0-6.693-5.646-11.72-12.346-12.837c-4.244-.706-8.645-1.027-12.866-1.008M50.037%209.557c2.55%200%204.634%202.117%204.634%204.721c0%202.593-2.083%204.69-4.634%204.69c-2.56%200-4.633-2.097-4.633-4.69c-.001-2.604%202.073-4.721%204.633-4.721'%20transform='translate(0%2010.26)'%20/%3e%3cpath%20fill='url(%23deviconPython1)'%20d='M91.682%2028.38v10.966c0%208.5-7.208%2015.655-15.426%2015.655H51.591c-6.756%200-12.346%205.783-12.346%2012.549v23.515c0%206.691%205.818%2010.628%2012.346%2012.547c7.816%202.297%2015.312%202.713%2024.665%200c6.216-1.801%2012.346-5.423%2012.346-12.547v-9.412H63.938v-3.138h37.012c7.176%200%209.852-5.005%2012.348-12.519c2.578-7.735%202.467-15.174%200-25.096c-1.774-7.145-5.161-12.521-12.348-12.521h-9.268zM77.809%2087.927c2.561%200%204.634%202.097%204.634%204.692c0%202.602-2.074%204.719-4.634%204.719c-2.55%200-4.633-2.117-4.633-4.719c0-2.595%202.083-4.692%204.633-4.692'%20transform='translate(0%2010.26)'%20/%3e%3cradialGradient%20id='deviconPython2'%20cx='1825.678'%20cy='444.45'%20r='26.743'%20gradientTransform='matrix(0%20-.24%20-1.055%200%20532.979%20557.576)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%23b8b8b8'%20stop-opacity='0.498'%20/%3e%3cstop%20offset='1'%20stop-color='%237f7f7f'%20stop-opacity='0'%20/%3e%3c/radialGradient%3e%3cpath%20fill='url(%23deviconPython2)'%20d='M97.309%20119.597c0%203.543-14.816%206.416-33.091%206.416c-18.276%200-33.092-2.873-33.092-6.416s14.815-6.417%2033.092-6.417c18.275%200%2033.091%202.872%2033.091%206.417'%20opacity='0.444'%20/%3e%3c/svg%3e`,sql:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%2300618a'%20d='M117.688%2098.242c-6.973-.191-12.297.461-16.852%202.379c-1.293.547-3.355.559-3.566%202.18c.711.746.82%201.859%201.387%202.777c1.086%201.754%202.922%204.113%204.559%205.352c1.789%201.348%203.633%202.793%205.551%203.961c3.414%202.082%207.223%203.27%2010.504%205.352c1.938%201.23%203.859%202.777%205.75%204.164c.934.684%201.563%201.75%202.773%202.18v-.195c-.637-.812-.801-1.93-1.387-2.777l-2.578-2.578c-2.52-3.344-5.719-6.281-9.117-8.719c-2.711-1.949-8.781-4.578-9.91-7.73l-.199-.199c1.922-.219%204.172-.914%205.949-1.391c2.98-.797%205.645-.59%208.719-1.387l4.164-1.187v-.793c-1.555-1.594-2.664-3.707-4.359-5.152c-4.441-3.781-9.285-7.555-14.273-10.703c-2.766-1.746-6.184-2.883-9.117-4.363c-.988-.496-2.719-.758-3.371-1.586c-1.539-1.961-2.379-4.449-3.566-6.738c-2.488-4.793-4.93-10.023-7.137-15.066c-1.504-3.437-2.484-6.828-4.359-9.91c-9-14.797-18.687-23.73-33.695-32.508c-3.195-1.867-7.039-2.605-11.102-3.57l-6.543-.395c-1.332-.555-2.715-2.184-3.965-2.977C16.977%203.52%204.223-3.312.539%205.672C-1.785%2011.34%204.016%2016.871%206.09%2019.746c1.457%202.012%203.32%204.273%204.359%206.539c.688%201.492.805%202.984%201.391%204.559c1.438%203.883%202.695%208.109%204.559%2011.695c.941%201.816%201.98%203.727%203.172%205.352c.727.996%201.98%201.438%202.18%202.973c-1.227%201.715-1.297%204.375-1.984%206.543c-3.098%209.77-1.926%2021.91%202.578%2029.137c1.383%202.223%204.641%206.98%209.117%205.156c3.918-1.598%203.043-6.539%204.164-10.902c.254-.988.098-1.715.594-2.379v.199l3.57%207.133c2.641%204.254%207.324%208.699%2011.297%2011.699c2.059%201.555%203.68%204.242%206.344%205.152v-.199h-.199c-.516-.805-1.324-1.137-1.98-1.781c-1.551-1.523-3.277-3.414-4.559-5.156c-3.613-4.902-6.805-10.27-9.711-15.855c-1.391-2.668-2.598-5.609-3.77-8.324c-.453-1.047-.445-2.633-1.387-3.172c-1.281%201.988-3.172%203.598-4.164%205.945c-1.582%203.754-1.789%208.336-2.375%2013.082c-.348.125-.195.039-.398.199c-2.762-.668-3.73-3.508-4.758-5.949c-2.594-6.164-3.078-16.09-.793-23.191c.59-1.836%203.262-7.617%202.18-9.316c-.516-1.691-2.219-2.672-3.172-3.965c-1.18-1.598-2.355-3.703-3.172-5.551c-2.125-4.805-3.113-10.203-5.352-15.062c-1.07-2.324-2.875-4.676-4.359-6.738c-1.645-2.289-3.484-3.977-4.758-6.742c-.453-.984-1.066-2.559-.398-3.566c.215-.684.516-.969%201.191-1.191c1.148-.887%204.352.297%205.547.793c3.18%201.32%205.832%202.578%208.527%204.363c1.289.855%202.598%202.512%204.16%202.973h1.785c2.789.641%205.914.195%208.523.988c4.609%201.402%208.738%203.582%2012.488%205.949c11.422%207.215%2020.766%2017.48%2027.156%2029.734c1.027%201.973%201.473%203.852%202.379%205.945c1.824%204.219%204.125%208.559%205.941%2012.688c1.816%204.113%203.582%208.27%206.148%2011.695c1.348%201.801%206.551%202.766%208.918%203.766c1.66.699%204.379%201.43%205.949%202.379c3%201.809%205.906%203.965%208.723%205.945c1.402.992%205.73%203.168%205.945%204.957zm-88.605-75.52c-1.453-.027-2.48.156-3.566.395v.199h.195c.695%201.422%201.918%202.34%202.777%203.566l1.98%204.164l.199-.195c1.227-.867%201.789-2.25%201.781-4.363c-.492-.52-.562-1.164-.992-1.785c-.562-.824-1.66-1.289-2.375-1.98zm0%200'%20/%3e%3c/svg%3e`,json:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%3e%3cpath%20fill='%23788191'%20d='M5%203h2v2H5v5a2%202%200%200%201-2%202a2%202%200%200%201%202%202v5h2v2H5c-1.07-.27-2-.9-2-2v-4a2%202%200%200%200-2-2H0v-2h1a2%202%200%200%200%202-2V5a2%202%200%200%201%202-2m14%200a2%202%200%200%201%202%202v4a2%202%200%200%200%202%202h1v2h-1a2%202%200%200%200-2%202v4a2%202%200%200%201-2%202h-2v-2h2v-5a2%202%200%200%201%202-2a2%202%200%200%201-2-2V5h-2V3zm-7%2012a1%201%200%200%201%201%201a1%201%200%200%201-1%201a1%201%200%200%201-1-1a1%201%200%200%201%201-1m-4%200a1%201%200%200%201%201%201a1%201%200%200%201-1%201a1%201%200%200%201-1-1a1%201%200%200%201%201-1m8%200a1%201%200%200%201%201%201a1%201%200%200%201-1%201a1%201%200%200%201-1-1a1%201%200%200%201%201-1'%20/%3e%3c/svg%3e`,lua:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%23000080'%20d='M112.956.708c-7.912%200-14.335%206.424-14.335%2014.336s6.424%2014.335%2014.335%2014.335s14.335-6.41%2014.335-14.335c0-7.912-6.424-14.336-14.335-14.336M64%2015.058c-27.02%200-48.956%2021.935-48.956%2048.955S36.979%20112.97%2064%20112.97c27.02%200%2048.956-21.935%2048.956-48.956c0-27.02-21.936-48.956-48.956-48.956'%20/%3e%3cpath%20fill='%23fff'%20d='M84.285%2029.392c-7.91%200-14.335%206.424-14.335%2014.335s6.424%2014.336%2014.335%2014.336s14.336-6.424%2014.336-14.336s-6.424-14.335-14.335-14.335zM30.773%2056.36v32.119h19.961v-3.611H34.87V56.359Zm57.584%208.37c-3.354%200-6.126.975-7.668%202.692c-1.055%201.19-1.488%202.516-1.582%204.801h3.705c.311-2.826%201.988-4.098%205.423-4.098c3.3%200%205.153%201.231%205.153%203.435v.974c0%201.542-.92%202.205-3.827%202.556c-5.193.663-5.991.839-7.398%201.407c-2.69%201.095-4.057%203.164-4.057%206.166c0%204.193%202.908%206.83%207.574%206.83c2.907%200%205.247-1.014%207.843-3.395c.257%202.34%201.407%203.395%203.787%203.395c.757%200%201.325-.081%202.515-.392v-2.773a3%203%200%200%201-.798.095c-1.284%200-1.988-.663-1.988-1.812V71.032c0-4.098-3.002-6.302-8.682-6.302m-33.742.664V83.19c0%203.84%202.867%206.302%207.357%206.302c3.395%200%205.545-1.19%207.709-4.233v3.219h3.3V65.393h-3.652v13.09c0%204.72-2.475%207.804-6.302%207.804c-2.907%200-4.76-1.772-4.76-4.544v-16.35Zm38.773%2011.67v4.139c0%201.244-.365%201.988-1.46%203.002c-1.502%201.366-3.3%202.07-5.464%202.07c-2.867%200-4.544-1.367-4.544-3.706c0-2.42%201.636-3.665%205.558-4.233c3.881-.528%204.68-.703%205.91-1.271z'%20/%3e%3cpath%20fill='%23808080'%20d='M61.733%200a64%2064%200%200%200-5.57.436l.179%201.458a63%2063%200%200%201%205.442-.426zm5.585.046l-.075%201.468a62%2062%200%200%201%205.433.52L72.88.578a64%2064%200%200%200-5.561-.532Zm-16.665%201.31a63%2063%200%200%200-5.409%201.398l.43%201.405a62%2062%200%200%201%205.284-1.367Zm27.72.237l-.33%201.431a63%2063%200%200%201%205.262%201.455l.452-1.397a64%2064%200%200%200-5.384-1.489M39.98%204.623a64%2064%200%200%200-5.081%202.323l.668%201.308a62%2062%200%200%201%204.964-2.27zm49.012.41l-.573%201.353a63%2063%200%200%201%204.929%202.346l.688-1.298a64%2064%200%200%200-5.044-2.4ZM30.04%209.706a64%2064%200%200%200-4.6%203.17l.886%201.173a63%2063%200%200%201%204.494-3.098zm-8.906%206.728a64%2064%200%200%200-3.983%203.918l1.075%201.001a63%2063%200%200%201%203.891-3.827zm-7.61%208.165a64%2064%200%200%200-3.247%204.546l1.231.8a63%2063%200%200%201%203.172-4.44zm-6.086%209.357a64%2064%200%200%200-2.408%205.042l1.352.574a62%2062%200%200%201%202.352-4.925zm113.623.973l-1.31.667a63%2063%200%200%201%202.263%204.967l1.362-.55a64%2064%200%200%200-2.315-5.083zM3.075%2044.23a63%2063%200%200%200-1.49%205.385l1.432.328a62%2062%200%200%201%201.455-5.26Zm122.166%201.049l-1.404.429a63%2063%200%200%201%201.366%205.285l1.437-.306a64%2064%200%200%200-1.399-5.409zM.574%2055.108a64%2064%200%200%200-.528%205.561l1.467.075a63%2063%200%200%201%20.516-5.434Zm126.988%201.088l-1.458.179a63%2063%200%200%201%20.428%205.441l1.468-.05a64%2064%200%200%200-.438-5.57M1.468%2066.205L0%2066.255a64%2064%200%200%200%20.435%205.57l1.458-.179a63%2063%200%200%201-.425-5.441m125.018%201.071a63%2063%200%200%201-.518%205.434l1.455.203a64%2064%200%200%200%20.53-5.561zM2.79%2077.031l-1.437.304a63%2063%200%200%200%201.398%205.41l1.405-.43A62%2062%200%200%201%202.79%2077.03Zm122.188%201.046a62%2062%200%200%201-1.457%205.26l1.397.454a63%2063%200%200%200%201.492-5.384zM5.981%2087.459l-1.362.551a63%2063%200%200%200%202.323%205.082l1.307-.669a62%2062%200%200%201-2.268-4.964m115.627.99a62%2062%200%200%201-2.354%204.925l1.296.69a64%2064%200%200%200%202.41-5.04zM10.944%2097.17l-1.245.78a64%2064%200%200%200%203.17%204.6l1.172-.885a63%2063%200%200%201-3.097-4.495m105.534.904a63%2063%200%200%201-3.173%204.44l1.156.906a64%2064%200%200%200%203.249-4.545zm-98.96%207.8l-1.092.983a64%2064%200%200%200%203.917%203.983l1.002-1.074a63%2063%200%200%201-3.827-3.892m92.24.79a63%2063%200%200%201-3.893%203.826l.983%201.092a64%2064%200%200%200%203.984-3.916zm-84.263%206.648l-.906%201.157a64%2064%200%200%200%204.546%203.248l.8-1.232a63%2063%200%200%201-4.44-3.173m76.16.654a63%2063%200%200%201-4.495%203.096l.78%201.245a64%2064%200%200%200%204.6-3.17zm-67.018%205.294l-.691%201.296a64%2064%200%200%200%205.04%202.409l.575-1.352a62%2062%200%200%201-4.924-2.353m57.775.496a62%2062%200%200%201-4.964%202.268l.551%201.362a63%2063%200%200%200%205.082-2.322zm-47.74%203.77l-.453%201.396a63%2063%200%200%200%205.385%201.49l.329-1.43a62%2062%200%200%201-5.26-1.456zm37.632.322a62%2062%200%200%201-5.284%201.365l.304%201.437a63%2063%200%200%200%205.41-1.398zm-27.003%202.122l-.203%201.455a64%2064%200%200%200%205.561.529l.075-1.467a63%2063%200%200%201-5.433-.517m16.335.139a63%2063%200%200%201-5.442.424l.05%201.468a64%2064%200%200%200%205.57-.434z'%20/%3e%3c/svg%3e`,csharp:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%239b4f96'%20d='M115.4%2030.7L67.1%202.9c-.8-.5-1.9-.7-3.1-.7s-2.3.3-3.1.7l-48%2027.9c-1.7%201-2.9%203.5-2.9%205.4v55.7c0%201.1.2%202.4%201%203.5l106.8-62c-.6-1.2-1.5-2.1-2.4-2.7'%20/%3e%3cpath%20fill='%2368217a'%20d='M10.7%2095.3c.5.8%201.2%201.5%201.9%201.9l48.2%2027.9c.8.5%201.9.7%203.1.7s2.3-.3%203.1-.7l48-27.9c1.7-1%202.9-3.5%202.9-5.4V36.1c0-.9-.1-1.9-.6-2.8z'%20/%3e%3cpath%20fill='%23fff'%20d='M85.3%2076.1C81.1%2083.5%2073.1%2088.5%2064%2088.5c-13.5%200-24.5-11-24.5-24.5s11-24.5%2024.5-24.5c9.1%200%2017.1%205%2021.3%2012.5l13-7.5c-6.8-11.9-19.6-20-34.3-20c-21.8%200-39.5%2017.7-39.5%2039.5s17.7%2039.5%2039.5%2039.5c14.6%200%2027.4-8%2034.2-19.8zM97%2066.2l.9-4.3h-4.2v-4.7h5.1L100%2051h4.9l-1.2%206.1h3.8l1.2-6.1h4.8l-1.2%206.1h2.4v4.7h-3.3l-.9%204.3h4.2v4.7h-5.1l-1.2%206h-4.9l1.2-6h-3.8l-1.2%206h-4.8l1.2-6h-2.4v-4.7H97zm4.8%200h3.8l.9-4.3h-3.8z'%20/%3e%3c/svg%3e`,cpp:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%2300599c'%20d='M118.766%2095.82c.89-1.543%201.441-3.28%201.441-4.843V36.78c0-1.558-.55-3.297-1.441-4.84l-55.32%2031.94Zm0%200'%20/%3e%3cpath%20fill='%23004482'%20d='m68.36%20126.586l46.933-27.094c1.352-.781%202.582-2.129%203.473-3.672l-55.32-31.94L8.12%2095.82c.89%201.543%202.121%202.89%203.473%203.672l46.933%2027.094c2.703%201.562%207.13%201.562%209.832%200Zm0%200'%20/%3e%3cpath%20fill='%23659ad2'%20d='M118.766%2031.941c-.891-1.546-2.121-2.894-3.473-3.671L68.359%201.172c-2.703-1.563-7.129-1.563-9.832%200L11.594%2028.27C8.89%2029.828%206.68%2033.66%206.68%2036.78v54.196c0%201.562.55%203.3%201.441%204.843L63.445%2063.88Zm0%200'%20/%3e%3cpath%20fill='%23fff'%20d='M63.445%2026.035c-20.867%200-37.843%2016.977-37.843%2037.844s16.976%2037.844%2037.843%2037.844c13.465%200%2026.024-7.247%2032.77-18.91L79.84%2073.335c-3.38%205.84-9.66%209.465-16.395%209.465c-10.433%200-18.922-8.488-18.922-18.922s8.49-18.922%2018.922-18.922c6.73%200%2013.017%203.629%2016.39%209.465l16.38-9.477c-6.75-11.664-19.305-18.91-32.77-18.91zM92.88%2057.57v4.207h-4.207v4.203h4.207v4.207h4.203V65.98h4.203v-4.203h-4.203V57.57zm15.766%200v4.207h-4.204v4.203h4.204v4.207h4.207V65.98h4.203v-4.203h-4.203V57.57z'%20/%3e%3c/svg%3e`,c:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%23659ad3'%20d='M115.4%2030.7L67.1%202.9c-.8-.5-1.9-.7-3.1-.7s-2.3.3-3.1.7l-48%2027.9c-1.7%201-2.9%203.5-2.9%205.4v55.7c0%201.1.2%202.4%201%203.5l106.8-62c-.6-1.2-1.5-2.1-2.4-2.7'%20/%3e%3cpath%20fill='%2303599c'%20d='M10.7%2095.3c.5.8%201.2%201.5%201.9%201.9l48.2%2027.9c.8.5%201.9.7%203.1.7s2.3-.3%203.1-.7l48-27.9c1.7-1%202.9-3.5%202.9-5.4V36.1c0-.9-.1-1.9-.6-2.8z'%20/%3e%3cpath%20fill='%23fff'%20d='M85.3%2076.1C81.1%2083.5%2073.1%2088.5%2064%2088.5c-13.5%200-24.5-11-24.5-24.5s11-24.5%2024.5-24.5c9.1%200%2017.1%205%2021.3%2012.5l13-7.5c-6.8-11.9-19.6-20-34.3-20c-21.8%200-39.5%2017.7-39.5%2039.5s17.7%2039.5%2039.5%2039.5c14.6%200%2027.4-8%2034.2-19.8z'%20/%3e%3c/svg%3e`,file:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%3e%3cpath%20fill='%23788191'%20d='m12.89%203l1.96.4L11.11%2021l-1.96-.4zm6.7%209L16%208.41V5.58L22.42%2012L16%2018.41v-2.83zM1.58%2012L8%205.58v2.83L4.41%2012L8%2015.58v2.83z'%20/%3e%3c/svg%3e`},re=e=>(0,n.jsx)(`img`,{className:[te.icon,e.className].filter(Boolean).join(` `),src:ne[e.language]||`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%3e%3cpath%20fill='%23788191'%20d='m12.89%203l1.96.4L11.11%2021l-1.96-.4zm6.7%209L16%208.41V5.58L22.42%2012L16%2018.41v-2.83zM1.58%2012L8%205.58v2.83L4.41%2012L8%2015.58v2.83z'%20/%3e%3c/svg%3e`,width:e.size,height:e.size,alt:e.language,style:{width:e.size,height:e.size,...e.style}}),ie=[`rust`,`javascript`,`typescript`,`shell`,`terraform`,`html`,`css`,`npm`,`java`,`kotlin`,`go`,`python`,`sql`,`json`,`lua`,`csharp`,`cpp`,`c`,`file`],ae={wrapper:`_wrapper_1q92c_15`,dot:`_dot_1q92c_22`,bounce:`_bounce_1q92c_1`},b=e=>{let{color:t,size:r=`64px`,style:i}=e;return(0,n.jsx)(`div`,{className:[ae.wrapper,e.className].filter(Boolean).join(` `),style:{width:r,height:r,...i},children:[1,2,3].map(e=>(0,n.jsx)(`div`,{className:ae.dot,"aria-hidden":!0,style:t?{backgroundColor:t}:void 0},e))})},oe={wrapper:`_wrapper_1yu3x_19`,square:`_square_1yu3x_28`,appear:`_appear_1yu3x_1`},se=1200,ce=e=>{let{size:t=`3rem`,dimensions:r=4,style:i}=e,a=se/(r*3),o=Array.from({length:r});return(0,n.jsx)(`div`,{className:[oe.wrapper,e.className].filter(Boolean).join(` `),style:{"--size":t,"--dimensions":r,"--duration":`${se}ms`,...i},children:o.map((e,t)=>o.map((e,r)=>(0,n.jsx)(`div`,{className:oe.square,style:{"--delay":`${a*(t+r)}ms`}},`${t}-${r}`)))})},le={icon:`_icon_x4u0f_1`},ue=`elmethis-theme`;function de(){if(typeof document<`u`){let e=document.documentElement.getAttribute(`data-theme`);if(e!=null)return e===`dark`}if(typeof localStorage<`u`){let e=localStorage.getItem(ue);if(e!=null)return e===`dark`}return!1}function fe(){let[e,n]=(0,t.useState)(de),r=(0,t.useCallback)(()=>{n(e=>!e)},[]);return(0,t.useEffect)(()=>{if(typeof document<`u`){document.documentElement.setAttribute(`data-theme`,e?`dark`:`light`);let t=document.querySelector(`body`);t!=null&&(t.style.colorScheme=e?`dark`:`light`),typeof localStorage<`u`&&localStorage.setItem(ue,e?`dark`:`light`)}},[e]),{isDarkTheme:e,toggleTheme:r}}var pe=e=>{let{size:t=`2rem`,style:r,className:i}=e,{isDarkTheme:a,toggleTheme:o}=fe();return a?(0,n.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:t,height:t,viewBox:`0 0 24 24`,className:[le.icon,i].filter(Boolean).join(` `),style:r,onClick:o,children:[(0,n.jsxs)(`path`,{fillOpacity:`0`,d:`M15.22 6.03l2.53-1.94L14.56 4L13.5 1l-1.06 3l-3.19.09l2.53 1.94l-.91 3.06l2.63-1.81l2.63 1.81z`,fill:`currentColor`,children:[(0,n.jsx)(`animate`,{id:`lineMdSunnyOutlineToMoonLoopTransition0`,fill:`freeze`,attributeName:`fill-opacity`,begin:`0.6s;lineMdSunnyOutlineToMoonLoopTransition0.begin+6s`,dur:`0.4s`,values:`0;1`}),(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`fill-opacity`,begin:`lineMdSunnyOutlineToMoonLoopTransition0.begin+2.2s`,dur:`0.4s`,values:`1;0`})]}),(0,n.jsxs)(`path`,{fillOpacity:`0`,d:`M13.61 5.25L15.25 4l-2.06-.05L12.5 2l-.69 1.95L9.75 4l1.64 1.25l-.59 1.98l1.7-1.17l1.7 1.17z`,fill:`currentColor`,children:[(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`fill-opacity`,begin:`lineMdSunnyOutlineToMoonLoopTransition0.begin+3s`,dur:`0.4s`,values:`0;1`}),(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`fill-opacity`,begin:`lineMdSunnyOutlineToMoonLoopTransition0.begin+5.2s`,dur:`0.4s`,values:`1;0`})]}),(0,n.jsxs)(`path`,{fillOpacity:`0`,d:`M19.61 12.25L21.25 11l-2.06-.05L18.5 9l-.69 1.95l-2.06.05l1.64 1.25l-.59 1.98l1.7-1.17l1.7 1.17z`,fill:`currentColor`,children:[(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`fill-opacity`,begin:`lineMdSunnyOutlineToMoonLoopTransition0.begin+0.4s`,dur:`0.4s`,values:`0;1`}),(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`fill-opacity`,begin:`lineMdSunnyOutlineToMoonLoopTransition0.begin+2.8s`,dur:`0.4s`,values:`1;0`})]}),(0,n.jsxs)(`path`,{fillOpacity:`0`,d:`M20.828 9.731l1.876-1.439l-2.366-.067L19.552 6l-.786 2.225l-2.366.067l1.876 1.439L17.601 12l1.951-1.342L21.503 12z`,fill:`currentColor`,children:[(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`fill-opacity`,begin:`lineMdSunnyOutlineToMoonLoopTransition0.begin+3.4s`,dur:`0.4s`,values:`0;1`}),(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`fill-opacity`,begin:`lineMdSunnyOutlineToMoonLoopTransition0.begin+5.6s`,dur:`0.4s`,values:`1;0`})]}),(0,n.jsxs)(`g`,{fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`2`,children:[(0,n.jsxs)(`g`,{children:[(0,n.jsx)(`path`,{strokeDasharray:`2`,strokeDashoffset:`4`,d:`M12 21v1M21 12h1M12 3v-1M3 12h-1`,children:(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`stroke-dashoffset`,dur:`0.2s`,values:`4;2`})}),(0,n.jsx)(`path`,{strokeDasharray:`2`,strokeDashoffset:`4`,d:`M18.5 18.5l0.5 0.5M18.5 5.5l0.5 -0.5M5.5 5.5l-0.5 -0.5M5.5 18.5l-0.5 0.5`,children:(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`stroke-dashoffset`,begin:`0.2s`,dur:`0.2s`,values:`4;2`})}),(0,n.jsx)(`set`,{fill:`freeze`,attributeName:`opacity`,begin:`0.5s`,to:`0`})]}),(0,n.jsx)(`path`,{d:`M7 6 C7 12.08 11.92 17 18 17 C18.53 17 19.05 16.96 19.56 16.89 C17.95 19.36 15.17 21 12 21 C7.03 21 3 16.97 3 12 C3 8.83 4.64 6.05 7.11 4.44 C7.04 4.95 7 5.47 7 6 Z`,opacity:`0`,children:(0,n.jsx)(`set`,{fill:`freeze`,attributeName:`opacity`,begin:`0.5s`,to:`1`})})]}),(0,n.jsxs)(`mask`,{id:`lineMdSunnyOutlineToMoonLoopTransition1`,children:[(0,n.jsx)(`circle`,{cx:`12`,cy:`12`,r:`12`,fill:`#fff`}),(0,n.jsx)(`circle`,{cx:`12`,cy:`12`,r:`4`,children:(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`r`,begin:`0.1s`,dur:`0.4s`,values:`4;8`})}),(0,n.jsxs)(`circle`,{cx:`22`,cy:`2`,r:`3`,fill:`#fff`,children:[(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`cx`,begin:`0.1s`,dur:`0.4s`,values:`22;18`}),(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`cy`,begin:`0.1s`,dur:`0.4s`,values:`2;6`}),(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`r`,begin:`0.1s`,dur:`0.4s`,values:`3;12`})]}),(0,n.jsxs)(`circle`,{cx:`22`,cy:`2`,r:`1`,children:[(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`cx`,begin:`0.1s`,dur:`0.4s`,values:`22;18`}),(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`cy`,begin:`0.1s`,dur:`0.4s`,values:`2;6`}),(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`r`,begin:`0.1s`,dur:`0.4s`,values:`1;10`})]})]}),(0,n.jsxs)(`circle`,{cx:`12`,cy:`12`,r:`6`,mask:`url(#lineMdSunnyOutlineToMoonLoopTransition1)`,fill:`currentColor`,children:[(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`r`,begin:`0.1s`,dur:`0.4s`,values:`6;10`}),(0,n.jsx)(`set`,{fill:`freeze`,attributeName:`opacity`,begin:`0.5s`,to:`0`})]})]}):(0,n.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:t,height:t,viewBox:`0 0 24 24`,className:le.icon,style:r,onClick:o,children:[(0,n.jsxs)(`g`,{fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`2`,children:[(0,n.jsxs)(`path`,{strokeDasharray:`2`,strokeDashoffset:`2`,d:`M12 19v1M19 12h1M12 5v-1M5 12h-1`,children:[(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`d`,begin:`1.2s`,dur:`0.2s`,values:`M12 19v1M19 12h1M12 5v-1M5 12h-1;M12 21v1M21 12h1M12 3v-1M3 12h-1`}),(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`stroke-dashoffset`,begin:`1.2s`,dur:`0.2s`,values:`2;0`})]}),(0,n.jsxs)(`path`,{strokeDasharray:`2`,strokeDashoffset:`2`,d:`M17 17l0.5 0.5M17 7l0.5 -0.5M7 7l-0.5 -0.5M7 17l-0.5 0.5`,children:[(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`d`,begin:`1.4s`,dur:`0.2s`,values:`M17 17l0.5 0.5M17 7l0.5 -0.5M7 7l-0.5 -0.5M7 17l-0.5 0.5;M18.5 18.5l0.5 0.5M18.5 5.5l0.5 -0.5M5.5 5.5l-0.5 -0.5M5.5 18.5l-0.5 0.5`}),(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`stroke-dashoffset`,begin:`1.4s`,dur:`0.2s`,values:`2;0`})]}),(0,n.jsx)(`animateTransform`,{attributeName:`transform`,dur:`30s`,repeatCount:`indefinite`,type:`rotate`,values:`0 12 12;360 12 12`})]}),(0,n.jsxs)(`g`,{fill:`currentColor`,children:[(0,n.jsx)(`path`,{d:`M15.22 6.03L17.75 4.09L14.56 4L13.5 1L12.44 4L9.25 4.09L11.78 6.03L10.87 9.09L13.5 7.28L16.13 9.09L15.22 6.03Z`,children:(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`fill-opacity`,dur:`0.4s`,values:`1;0`})}),(0,n.jsx)(`path`,{d:`M19.61 12.25L21.25 11L19.19 10.95L18.5 9L17.81 10.95L15.75 11L17.39 12.25L16.8 14.23L18.5 13.06L20.2 14.23L19.61 12.25Z`,children:(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`fill-opacity`,begin:`0.2s`,dur:`0.4s`,values:`1;0`})})]}),(0,n.jsx)(`path`,{fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`2`,d:`M7 6 C7 12.08 11.92 17 18 17 C18.53 17 19.05 16.96 19.56 16.89 C17.95 19.36 15.17 21 12 21 C7.03 21 3 16.97 3 12 C3 8.83 4.64 6.05 7.11 4.44 C7.04 4.95 7 5.47 7 6 Z`,children:(0,n.jsx)(`set`,{fill:`freeze`,attributeName:`opacity`,begin:`0.6s`,to:`0`})}),(0,n.jsxs)(`mask`,{id:`lineMdMoonToSunnyOutlineLoopTransition0`,children:[(0,n.jsx)(`circle`,{cx:`12`,cy:`12`,r:`12`,fill:`#fff`}),(0,n.jsx)(`circle`,{cx:`12`,cy:`12`,r:`8`,children:(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`r`,begin:`0.6s`,dur:`0.4s`,values:`8;4`})}),(0,n.jsxs)(`circle`,{cx:`18`,cy:`6`,r:`12`,fill:`#fff`,children:[(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`cx`,begin:`0.6s`,dur:`0.4s`,values:`18;22`}),(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`cy`,begin:`0.6s`,dur:`0.4s`,values:`6;2`}),(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`r`,begin:`0.6s`,dur:`0.4s`,values:`12;3`})]}),(0,n.jsxs)(`circle`,{cx:`18`,cy:`6`,r:`10`,children:[(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`cx`,begin:`0.6s`,dur:`0.4s`,values:`18;22`}),(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`cy`,begin:`0.6s`,dur:`0.4s`,values:`6;2`}),(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`r`,begin:`0.6s`,dur:`0.4s`,values:`10;1`})]})]}),(0,n.jsxs)(`circle`,{cx:`12`,cy:`12`,r:`10`,mask:`url(#lineMdMoonToSunnyOutlineLoopTransition0)`,opacity:`0`,fill:`currentColor`,children:[(0,n.jsx)(`animate`,{fill:`freeze`,attributeName:`r`,begin:`0.6s`,dur:`0.4s`,values:`10;6`}),(0,n.jsx)(`set`,{fill:`freeze`,attributeName:`opacity`,begin:`0.6s`,to:`1`})]})]})},x={arrow:`_arrow_kn879_19`,loading:`_loading_kn879_49`,normal:`_normal_kn879_55`,pending:`_pending_kn879_64`},me=e=>{let{direction:t=`right`,loading:r=!1,pending:i=!1,size:a=`2rem`,style:o}=e,s=t===`up`?`rotate(270deg)`:t===`down`?`rotate(90deg)`:t===`left`?`rotate(180deg)`:`rotate(0deg)`;return(0,n.jsx)(`div`,{className:[x.arrow,!r&&!i?x.normal:void 0,r?x.loading:void 0,!r&&i?x.pending:void 0,e.className].filter(Boolean).join(` `),style:{"--size":a,transform:s,...o}})},he={wrapper:`_wrapper_1c6r3_1`,favicon:`_favicon_1c6r3_24`,text:`_text_1c6r3_29`},ge=e=>{let{name:t,href:i,favicon:a,style:o}=e;return(0,n.jsxs)(`a`,{className:[he.wrapper,e.className].filter(Boolean).join(` `),href:i,target:`_blank`,rel:`noopener noreferrer`,style:o,children:[a==null?(0,n.jsx)(p,{d:r.mdiEarth,size:`2.5rem`,style:{opacity:.7}}):(0,n.jsx)(`img`,{className:he.favicon,src:a,alt:`favicon of ${t??i}`}),(0,n.jsx)(`div`,{className:he.text,children:(0,n.jsx)(v,{size:`.6rem`,children:t??i})})]})},_e={cube:`_cube_1merk_1`,"elmethis-cube-icon-rotate":`_elmethis-cube-icon-rotate_1merk_1`,face:`_face_1merk_8`},ve=[{name:`front`,rotate:``},{name:`back`,rotate:`rotateY(180deg)`},{name:`left`,rotate:`rotateY(-90deg)`},{name:`right`,rotate:`rotateY(90deg)`},{name:`top`,rotate:`rotateX(90deg)`},{name:`bottom`,rotate:`rotateX(-90deg)`}],ye=e=>{let{size:r=128,style:i}=e,a=(0,t.useMemo)(()=>`translateZ(${r/2}px)`,[r]);return(0,n.jsx)(`div`,{className:[_e.cube,e.className].filter(Boolean).join(` `),style:{width:`${r}px`,height:`${r}px`,...i},children:ve.map(e=>(0,n.jsx)(`div`,{className:_e.face,style:{transform:`${e.rotate} ${a}`}},e.name))})},be={icon:`_icon_140bn_1`},xe=e=>{let{size:t=`2rem`,isLogin:i=!1,isLoading:a=!1,style:o}=e,s=a?r.mdiLoading:i?r.mdiLogoutVariant:r.mdiLoginVariant,c=a?`gray`:i?`#b36472`:`#6987b8`;return(0,n.jsx)(`div`,{className:[be.icon,e.className].filter(Boolean).join(` `),style:o,children:(0,n.jsx)(p,{d:s,color:c,size:t})})},Se={paragraph:`_paragraph_ewdky_1`},S=e=>(0,n.jsx)(`p`,{className:[Se.paragraph,e.className].filter(Boolean).join(` `),style:{backgroundColor:e.backgroundColor,...e.style},children:e.children}),C={blockquote:`_blockquote_x79j0_1`,cite:`_cite_x79j0_16`,icon:`_icon_x79j0_37`},Ce=e=>(0,n.jsxs)(`blockquote`,{ref:(0,t.useRef)(null),className:[C.blockquote,e.className].filter(Boolean).join(` `),cite:e.cite,style:{...e.style},children:[e.children,e.cite&&(0,n.jsx)(`cite`,{className:C.cite,children:(0,n.jsx)(`a`,{href:e.cite,target:`_blank`,rel:`noopener noreferrer`,children:e.cite})}),(0,n.jsx)(`svg`,{className:C.icon,style:{top:`0.25rem`,left:`0.25rem`},viewBox:`0 0 24 24`,width:`1rem`,height:`1rem`,children:(0,n.jsx)(`path`,{d:r.mdiFormatQuoteOpen})}),(0,n.jsx)(`svg`,{className:C.icon,style:{bottom:`0.25rem`,right:`0.25rem`},viewBox:`0 0 24 24`,width:`1rem`,height:`1rem`,children:(0,n.jsx)(`path`,{d:r.mdiFormatQuoteClose})})]}),we={callout:`_callout_16oli_1`,header:`_header_16oli_24`},Te=Object.freeze({note:{code:`#6987b8`,icon:r.mdiInformation},tip:{code:`#59b57c`,icon:r.mdiLightbulbOn},important:{code:`#9771bd`,icon:r.mdiShieldAlert},warning:{code:`#b8a36e`,icon:r.mdiAlert},caution:{code:`#b36472`,icon:r.mdiAlertOctagram}}),Ee=({type:e=`note`,...t})=>{let r=Te[e];return(0,n.jsxs)(`aside`,{className:[we.callout,t.className].filter(Boolean).join(` `),style:{"--elmethis-scoped-border-color":r.code,"--elmethis-scoped-background-color":`color-mix(in srgb, ${r.code} 10%, transparent)`,...t.style},children:[(0,n.jsxs)(`div`,{className:we.header,children:[(0,n.jsx)(p,{d:r.icon,size:`1.25em`,color:r.code}),(0,n.jsx)(v,{color:r.code,children:e.toUpperCase()})]}),(0,n.jsx)(`div`,{children:t.children})]})},De={divider:`_divider_uq5jr_1`},Oe=e=>(0,n.jsx)(`hr`,{className:[De.divider,e.className].filter(Boolean).join(` `),style:e.style}),ke={fragment:`_fragment_il7xb_1`},Ae=e=>{let r=(0,t.useCallback)(e=>{let t=new URL(window.location.href);t.hash=e,window.history.replaceState(null,``,t.toString()),document.getElementById(e)?.scrollIntoView({behavior:`smooth`})},[]);return(0,n.jsx)(`span`,{className:[ke.fragment,e.className].filter(Boolean).join(` `),style:e.style,onClick:()=>r(e.id),children:`#`})},w={"heading-common":`_heading-common_1ytfd_1`,h1:`_h1_1ytfd_22`,h2:`_h2_1ytfd_57`,h2__underline:`_h2__underline_1ytfd_91`,h3:`_h3_1ytfd_110`,h4:`_h4_1ytfd_130`,h5:`_h5_1ytfd_134`,h6:`_h6_1ytfd_138`,"heading-stretch":`_heading-stretch_1ytfd_1`},je=Object.freeze({1:1.5,2:1.4,3:1.3,4:1.2,5:1.15,6:1.1}),Me=e=>e.replace(/([a-z])([A-Z])/g,`$1-$2`).replace(/[\s_]+/g,`-`).toLowerCase(),T=({level:e=1,disableFragmentIdentifier:r=!1,...i})=>{let a=(0,t.useRef)(null),[o,s]=(0,t.useState)(!1);(0,t.useEffect)(()=>{let e=a.current;if(!e)return;let t=new IntersectionObserver(([e])=>{s(e.isIntersecting)});return t.observe(e),()=>t.disconnect()},[]);let c=`h${e}`,l=i.id??(i.text?Me(i.text):void 0);return(0,n.jsxs)(c,{ref:a,className:[w[`heading-common`],w[`h${e}`],i.className].filter(Boolean).join(` `),id:l,style:{"--font-size":i.size??`${je[e]}rem`,"--scale":+!!o,"--opacity":+!!o,...i.style},children:[i.text&&(0,n.jsx)(`span`,{children:i.text}),i.children,!r&&l&&(0,n.jsx)(Ae,{id:l}),e===2&&(0,n.jsx)(`span`,{className:w.h2__underline,"aria-hidden":`true`})]})},E={"elmethis-list-common":`_elmethis-list-common_1qwri_1`,"elmethis-bulleted-list":`_elmethis-bulleted-list_1qwri_7`,"elmethis-numbered-list":`_elmethis-numbered-list_1qwri_25`},Ne=({listStyle:e=`unordered`,...t})=>{let r=[E[`elmethis-list-common`],e===`unordered`?E[`elmethis-bulleted-list`]:E[`elmethis-numbered-list`],t.className].filter(Boolean).join(` `);return e===`ordered`?(0,n.jsx)(`ol`,{className:r,style:t.style,children:t.children}):(0,n.jsx)(`ul`,{className:r,style:t.style,children:t.children})},Pe={text:`_text_zrzts_1`,cursor:`_cursor_zrzts_30`,blink:`_blink_zrzts_1`},D=e=>new Promise(t=>{setTimeout(t,e)}),Fe=({texts:e=[],interval:r=3e3,fontSize:i=`1rem`,...a})=>{let[o,s]=(0,t.useState)(``),c=(0,t.useRef)(!1);return(0,t.useEffect)(()=>(c.current=!1,(async()=>{for(;!c.current;)for(let t of e){for(let e=0;e<t.length;e++){if(c.current||(await D(75),c.current))return;s(t.slice(0,e+1))}if(await D(r),c.current)return;for(let e=t.length;e>=0;e--)if(c.current||(s(t.slice(0,e)),await D(25),c.current))return;if(await D(200),c.current)return}})(),()=>{c.current=!0}),[e,r]),(0,n.jsxs)(`span`,{className:[Pe.text,a.className].filter(Boolean).join(` `),style:{fontSize:i,...a.style},children:[o,(0,n.jsx)(`span`,{className:Pe.cursor,children:`\xA0`})]})},Ie={"elm-template":`_elm-template_18rwn_1`},Le=e=>(0,n.jsx)(`div`,{className:[Ie[`elm-template`],e.className].filter(Boolean).join(` `),style:e.style,children:`PLACEHOLDER`}),O={progress:`_progress_e6hmw_1`,container:`_container_e6hmw_27`,value:`_value_e6hmw_41`,loading:`_loading_e6hmw_56`,buffer:`_buffer_e6hmw_72`},Re=({value:e,buffer:t,max:r=100,weight:i=`4px`,round:a=!0,color:o,loading:s=!1,style:c,className:l})=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(`progress`,{className:O.progress,value:e,max:r}),(0,n.jsxs)(`div`,{className:[O.container,l].filter(Boolean).join(` `),style:{"--weight":i,"--border-radius":a?`calc(var(--weight) / 2)`:void 0,"--color":o,...c},children:[(0,n.jsx)(`div`,{className:O.value,style:{"--scale-x":`scaleX(${s?0:e/r})`}}),s&&(0,n.jsx)(`div`,{className:O.loading}),(0,n.jsx)(`div`,{className:O.buffer,style:{"--scale-x":`scaleX(${s?0:t==null?e/r:t/r})`}})]})]}),ze={container:`_container_13d02_1`,bar:`_bar_13d02_15`},Be=({progress:e,weight:r=`4px`,round:i=!0,style:a,className:o})=>{let s=(0,t.useMemo)(()=>{let t=e.reduce((e,t)=>e+t.value,0),n=e.map(e=>e.value/t*100);return e.map((e,t)=>({...e,scale:n[t]/100,start:n.slice(0,t).reduce((e,t)=>e+t,0)}))},[e]);return(0,n.jsx)(`div`,{className:[ze.container,o].filter(Boolean).join(` `),style:{"--weight":r,"--border-radius":i?`calc(var(--weight) / 2)`:void 0,...a},children:s.map((e,t)=>(0,n.jsx)(`div`,{className:ze.bar,style:{"--transform":`translateX(${e.start}%) scaleX(${e.scale})`,"--color":e.color}},t))})},Ve={wrapper:`_wrapper_17chp_1`},He=Object.freeze({pending:{color:`#6987b8`,icon:r.mdiReload},error:{color:`#c56565`,icon:r.mdiAlertCircle},warning:{color:`#cdb57b`,icon:r.mdiAlert},success:{color:`#59b57c`,icon:r.mdiCheckCircle}}),Ue=({status:e,message:t,style:r,className:i})=>{let{color:a,icon:o}=He[e];return(0,n.jsxs)(`div`,{className:[Ve.wrapper,i].filter(Boolean).join(` `),style:r,children:[(0,n.jsx)(p,{d:o,color:a,size:`1em`}),(0,n.jsx)(v,{color:a,children:t})]})},k={wrapper:`_wrapper_gcui5_1`,error:`_error_gcui5_9`,"image-frame":`_image-frame_gcui5_21`,fallback:`_fallback_gcui5_29`,pulse:`_pulse_gcui5_1`,"image-inline":`_image-inline_gcui5_56`,"image-block":`_image-block_gcui5_67`,"alt-container":`_alt-container_gcui5_79`,"alt-text":`_alt-text_gcui5_90`,modal:`_modal_gcui5_94`,"modal-image":`_modal-image_gcui5_108`},A=({src:e,alt:i,block:a=!1,enableModal:o=!1,width:s,height:c,style:l,className:u})=>{let[d,f]=(0,t.useState)(!0),[m,h]=(0,t.useState)(!1),[g,_]=(0,t.useState)(!1),y=(0,t.useRef)(null);return(0,t.useEffect)(()=>{let t=new Image;t.src=e,t.onload=()=>{f(!1),h(!1)},t.onerror=()=>{f(!1),h(!0)}},[e]),(0,t.useEffect)(()=>{let e=e=>{e.key===`Escape`&&(e.preventDefault(),_(!1))};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[]),(0,n.jsxs)(`div`,{className:[k.wrapper,u].filter(Boolean).join(` `),ref:y,style:l,children:[m&&(0,n.jsx)(`div`,{className:k.error,children:(0,n.jsx)(v,{color:`#c56565`,size:`1.5rem`,children:`Error loading image`})}),(0,n.jsxs)(`div`,{className:k[`image-frame`],style:l,children:[d&&(0,n.jsx)(`div`,{className:k.fallback,style:{aspectRatio:s&&c?`${s} / ${c}`:`1200 / 630`,width:s?`${s}px`:void 0,height:c?`${c}px`:void 0}}),(0,n.jsx)(`img`,{className:a?k[`image-block`]:k[`image-inline`],src:e,alt:i,width:s,height:c,onClick:()=>{o&&_(!0)},style:{"--width":s?`${s}px`:void 0,"--height":c?`${c}px`:void 0,cursor:o?`zoom-in`:void 0,opacity:+(!d&&!m),pointerEvents:!d&&!m?void 0:`none`}})]}),a&&!d&&i!=null&&i.trim()!==``&&(0,n.jsxs)(`div`,{className:k[`alt-container`],children:[(0,n.jsx)(p,{d:r.mdiMessageImageOutline,color:`#b69545`,style:{flexShrink:0}}),(0,n.jsx)(`div`,{className:k[`alt-text`],children:(0,n.jsx)(v,{size:`0.8rem`,children:i})})]}),g&&(0,n.jsx)(`div`,{className:k.modal,onClick:()=>_(!1),children:(0,n.jsx)(`img`,{className:k[`modal-image`],src:e,alt:i,width:s,height:c})})]})},j={file:`_file_sk4pw_1`,"left-container":`_left-container_sk4pw_19`,"right-container":`_right-container_sk4pw_26`,"download-icon":`_download-icon_sk4pw_33`};function We(e){let t=e.split(/[?#]/)[0].split(`/`).filter(Boolean);return t.length>0?t[t.length-1]:null}var Ge=({name:e,src:i,filesize:a,style:o,className:s})=>{let c=(0,t.useCallback)(async()=>{let t;try{let n=await fetch(i);if(!n.ok)throw Error(`Failed to download file`);let r=await n.blob();t=document.createElement(`a`),t.href=URL.createObjectURL(r),t.download=e??We(i)??`file`,t.click()}catch(e){console.error(`ERROR:`,e)}finally{t&&URL.revokeObjectURL(t.href)}},[i,e]),l=e??We(i)??`unknown file`;return(0,n.jsxs)(`div`,{className:[j.file,s].filter(Boolean).join(` `),style:o,children:[(0,n.jsxs)(`div`,{className:j[`left-container`],children:[(0,n.jsx)(p,{d:r.mdiFileOutline,size:`1.25em`}),(0,n.jsx)(v,{children:l})]}),(0,n.jsxs)(`div`,{className:j[`right-container`],children:[a&&(0,n.jsx)(`span`,{style:{opacity:.6},children:(0,n.jsx)(v,{children:a})}),(0,n.jsx)(`div`,{className:j[`download-icon`],onClick:c,children:(0,n.jsx)(p,{d:r.mdiDownload,size:`1.25em`})})]})]})},M={parent:`_parent_1hx4v_1`,bookmark:`_bookmark_1hx4v_23`,image:`_image_1hx4v_42`,typography:`_typography_1hx4v_62`,title:`_title_1hx4v_73`,date:`_date_1hx4v_81`,link:`_link_1hx4v_90`,favicon:`_favicon_1hx4v_100`},Ke=({hideUrl:e=!1,openInNewTab:i=!0,title:a,description:o=`No description provided`,image:s,url:c,createdAt:l,updatedAt:u,onClick:d,favicon:f,style:m,className:h})=>{let[_,y]=(0,t.useState)(!1),ee=e=>{d&&(e.preventDefault(),d())},te=o!=null&&o.length>100?o.slice(0,100)+`...`:o;return(0,n.jsx)(`div`,{className:[M.parent,h].filter(Boolean).join(` `),style:m,children:(0,n.jsxs)(`a`,{className:M.bookmark,href:c,target:i?`_blank`:void 0,rel:`noopener noreferrer`,onClick:ee,children:[s!=null&&!_&&(0,n.jsx)(`div`,{className:M.image,children:(0,n.jsx)(`img`,{src:s,alt:`OGP Image`,onError:()=>y(!0),style:{width:`100%`,height:`100%`,objectFit:`cover`}})}),(0,n.jsxs)(`div`,{className:M.typography,children:[(0,n.jsx)(`div`,{className:M.title,children:(0,n.jsx)(v,{bold:!0,children:a??`No title provided`})}),(0,n.jsx)(`div`,{children:(0,n.jsx)(v,{size:`0.8rem`,children:(0,n.jsx)(`span`,{style:{opacity:.6},children:te})})}),(l!=null||u!=null)&&(0,n.jsxs)(`div`,{className:M.date,children:[l!=null&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(p,{d:r.mdiCalendarMonth,size:`1em`}),(0,n.jsx)(v,{size:`0.8rem`,children:l})]}),u!=null&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(p,{d:r.mdiCalendarRefresh,size:`1em`}),(0,n.jsx)(v,{size:`0.8rem`,children:u})]})]}),!e&&c!=null&&(0,n.jsxs)(`div`,{className:M.link,children:[f&&(0,n.jsx)(g,{src:f}),(0,n.jsx)(v,{size:`0.8rem`,color:`#6987b8`,children:c})]})]})]})})},N={container:`_container_1r6mu_1`,"link-container":`_link-container_1r6mu_10`,text:`_text_1r6mu_36`},qe=({links:e,style:i,className:a})=>{let o=(0,t.useRef)(null),[s,c]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{let e=o.current;if(!e)return;let t=new IntersectionObserver(([e])=>{c(e.isIntersecting)});return t.observe(e),()=>t.disconnect()},[]),(0,n.jsx)(`nav`,{className:[N.container,a].filter(Boolean).join(` `),ref:o,style:{"--opacity":+!!s,...i},children:e.map((i,a)=>(0,n.jsxs)(t.default.Fragment,{children:[(0,n.jsxs)(`div`,{className:N[`link-container`],onClick:i.onClick,children:[(0,n.jsx)(`span`,{className:N.text,style:{"--delay":`${a*100}ms`},children:(0,n.jsx)(p,{d:a===0?r.mdiHome:a===e.length-1?r.mdiApplicationOutline:r.mdiFolderOpen,size:`1.25em`})}),(0,n.jsx)(`span`,{className:N.text,style:{"--delay":`${a*100+50}ms`},children:(0,n.jsx)(v,{children:i.text})})]}),e.length!==a+1&&(0,n.jsx)(`span`,{className:N.text,style:{"--delay":`${a*100+100}ms`},children:(0,n.jsx)(p,{d:r.mdiChevronRight,size:`1em`,color:`#b69545`})})]},a))})},P={wrapper:`_wrapper_1tlqa_1`,"wrapper--visible":`_wrapper--visible_1tlqa_33`,partial:`_partial_1tlqa_63`,move:`_move_1tlqa_1`,text:`_text_1tlqa_104`},Je=({position:e=`right`,style:r,className:i})=>{let[a,o]=(0,t.useState)(!1);(0,t.useEffect)(()=>{let e=()=>{o(window.scrollY>100)};return window.addEventListener(`scroll`,e,{passive:!0}),e(),()=>window.removeEventListener(`scroll`,e)},[]);let s=()=>{window.scrollTo({top:0,behavior:`smooth`})};return(0,n.jsxs)(`nav`,{className:[P.wrapper,a?P[`wrapper--visible`]:void 0,i].filter(Boolean).join(` `),style:{"--size":`64px`,left:e===`left`?`0`:`auto`,right:e===`right`?`0`:`auto`,...r},onClick:s,children:[(0,n.jsx)(`div`,{"aria-hidden":`true`,className:P.partial}),(0,n.jsx)(`div`,{"aria-hidden":`true`,className:P.partial}),(0,n.jsx)(`div`,{"aria-hidden":`true`,className:P.partial}),(0,n.jsx)(`span`,{className:P.text,children:`Back to Top`})]})},Ye={toc:`_toc_eubcy_1`,link:`_link_eubcy_15`},Xe=({headings:e,style:t,className:i})=>(0,n.jsx)(`nav`,{className:[Ye.toc,i].filter(Boolean).join(` `),style:t,children:e.map((e,t)=>(0,n.jsxs)(`a`,{className:Ye.link,href:`#${e.id??e.text}`,style:{"--padding-left":`${e.level*.5}rem`},children:[(0,n.jsx)(`sup`,{children:(0,n.jsx)(v,{size:`0.6rem`,color:`#6987b8`,children:`H${e.level}`})}),(0,n.jsx)(v,{children:e.text}),(0,n.jsx)(p,{d:r.mdiMenuDown,size:`1em`,color:`#6987b8`})]},t))}),Ze={"block-fallback":`_block-fallback_adya7_1`},Qe={"rectangle-wave":`_rectangle-wave_gxedo_21`,"elm-rectangle-wave":`_elm-rectangle-wave_gxedo_1`},$e=e=>(0,n.jsx)(`div`,{"aria-hidden":!0,className:[Qe[`rectangle-wave`],e.className].filter(Boolean).join(` `),style:e.style}),et=e=>{let{height:t=`16rem`,style:r}=e;return(0,n.jsxs)(`div`,{className:[Ze[`block-fallback`],e.className].filter(Boolean).join(` `),style:{"--height":t,...r},children:[(0,n.jsx)(b,{}),(0,n.jsx)($e,{})]})},tt={circle:`_circle_ycu2l_19`,"draw-line":`_draw-line_ycu2l_1`,rotate:`_rotate_ycu2l_1`},nt=e=>{let{radius:t=16,weight:r=2,style:i}=e;return(0,n.jsx)(`svg`,{className:e.className,height:t*2,width:t*2,style:i,children:(0,n.jsx)(`circle`,{className:tt.circle,cx:t,cy:t,r:t-r,fill:`transparent`,strokeWidth:r})})},F={unsupported:`_unsupported_1xu4c_1`,message:`_message_1xu4c_13`,icon:`_icon_1xu4c_20`,details:`_details_1xu4c_24`},I=e=>(0,n.jsxs)(`div`,{className:[F.unsupported,e.className].filter(Boolean).join(` `),style:e.style,children:[(0,n.jsxs)(`div`,{className:F.message,children:[(0,n.jsx)(`svg`,{viewBox:`0 0 24 24`,width:`1.25rem`,height:`1.25rem`,className:F.icon,children:(0,n.jsx)(`path`,{d:r.mdiInformation})}),(0,n.jsx)(v,{color:`#868e9c`,children:`UNSUPPORTED BLOCK`})]}),e.details&&(0,n.jsx)(`div`,{className:F.details,children:(0,n.jsx)(v,{color:`#868e9c`,children:e.details})})]}),L={button:`_button_c0mex_1`,"button-ornament":`_button-ornament_c0mex_29`,normal:`_normal_c0mex_40`,primary:`_primary_c0mex_50`,colored:`_colored_c0mex_60`,enable:`_enable_c0mex_64`,flex:`_flex_c0mex_95`,ripple:`_ripple_c0mex_117`,"button-ripple":`_button-ripple_c0mex_1`},R=({loading:e=!1,block:r=!1,disabled:i=!1,primary:a=!1,...o})=>{let[s,c]=(0,t.useState)(!1),l=(0,t.useRef)(void 0),{onClick:u}=o,d=(0,t.useCallback)(()=>{!e&&!i&&u&&(c(!0),l.current=window.setTimeout(()=>c(!1),300),u())},[e,i,u]);return(0,t.useEffect)(()=>()=>{l.current&&clearTimeout(l.current)},[]),(0,n.jsxs)(`button`,{className:[L.button,!e&&!i?L.enable:``,o.color?L.colored:``,!o.color&&!a?L.normal:``,!o.color&&a?L.primary:``,o.className].filter(Boolean).join(` `),style:{display:r?`flex`:`inline-flex`,width:r?`100%`:`auto`,cursor:i?`not-allowed`:e?`progress`:`pointer`,"--opacity":i||e?.6:void 0,"--color":o.color,...o.style},onClick:d,children:[s&&(0,n.jsx)(`div`,{className:L.ripple}),e?(0,n.jsx)(b,{size:`1.5rem`}):(0,n.jsx)(`span`,{className:L.flex,children:o.children}),(0,n.jsx)(`div`,{className:L[`button-ornament`]})]})},z={container:`_container_12edl_1`,"container-disable":`_container-disable_12edl_14`,checkbox:`_checkbox_12edl_23`,rect:`_rect_12edl_32`,"rect-loading":`_rect-loading_12edl_36`,"rect-checked":`_rect-checked_12edl_40`,loading:`_loading_12edl_48`,"check-line":`_check-line_12edl_67`,"elmethis-checkbox-check-line":`_elmethis-checkbox-check-line_12edl_1`},rt=({loading:e=!1,disable:r=!1,checked:i=!1,...a})=>{let{onChange:o}=a,s=(0,t.useCallback)(()=>{!e&&!r&&o&&o(!i)},[e,r,i,o]),c=[z.container,r?z[`container-disable`]:``,a.className].filter(Boolean).join(` `),l=[z.rect,i?z[`rect-checked`]:``,e?z[`rect-loading`]:``].filter(Boolean).join(` `);return(0,n.jsx)(`div`,{className:c,style:a.style,onClick:s,children:(0,n.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:`0.5rem`},children:[(0,n.jsxs)(`svg`,{width:`24`,height:`24`,className:z.checkbox,children:[(0,n.jsxs)(`circle`,{cx:`0`,cy:`0`,r:`2`,className:z.loading,style:{opacity:+!!e},children:[(0,n.jsx)(`animate`,{attributeName:`cx`,values:`4; 20; 20; 4; 4`,dur:`1.2s`,repeatCount:`indefinite`,keySplines:`0.25 0.1 0.25 1; 0.42 0 0.58 1; 0.25 0.1 0.25 1; 0.42 0 0.58 1`,calcMode:`spline`}),(0,n.jsx)(`animate`,{attributeName:`cy`,values:`4; 4; 20; 20; 4`,dur:`1.2s`,repeatCount:`indefinite`,keySplines:`0.25 0.1 0.25 1; 0.42 0 0.58 1; 0.25 0.1 0.25 1; 0.42 0 0.58 1`,calcMode:`spline`})]}),(0,n.jsxs)(`circle`,{cx:`20`,cy:`20`,r:`2`,className:z.loading,style:{opacity:+!!e},children:[(0,n.jsx)(`animate`,{attributeName:`cx`,values:`20; 4; 4; 20; 20`,dur:`1.2s`,repeatCount:`indefinite`,keySplines:`0.25 0.1 0.25 1; 0.42 0 0.58 1; 0.25 0.1 0.25 1; 0.42 0 0.58 1`,calcMode:`spline`}),(0,n.jsx)(`animate`,{attributeName:`cy`,values:`20; 20; 4; 4; 20`,dur:`1.2s`,repeatCount:`indefinite`,keySplines:`0.25 0.1 0.25 1; 0.42 0 0.58 1; 0.25 0.1 0.25 1; 0.42 0 0.58 1`,calcMode:`spline`})]}),(0,n.jsx)(`rect`,{x:`4`,y:`4`,width:`16`,height:`16`,className:l,strokeWidth:`0.8`}),i&&(0,n.jsx)(`polyline`,{className:z[`check-line`],points:`5,12 10,17 19,8`,strokeWidth:`1.5`,fill:`transparent`}),(0,n.jsx)(`line`,{x1:`0`,y1:`1`,x2:`4`,y2:`1`,strokeWidth:`2`,fill:`transparent`}),(0,n.jsx)(`line`,{x1:`4`,y1:`0`,x2:`24`,y2:`0`,strokeWidth:`1`,fill:`transparent`}),(0,n.jsx)(`line`,{x1:`0`,y1:`4`,x2:`0`,y2:`16`,strokeWidth:`1`,fill:`transparent`}),(0,n.jsx)(`line`,{x1:`0`,y1:`18`,x2:`0`,y2:`20`,strokeWidth:`1`,fill:`transparent`}),(0,n.jsx)(`line`,{x1:`0`,y1:`24`,x2:`20`,y2:`24`,strokeWidth:`1`,fill:`transparent`}),(0,n.jsx)(`line`,{x1:`20`,y1:`23`,x2:`24`,y2:`23`,strokeWidth:`1.5`,fill:`transparent`}),(0,n.jsx)(`line`,{x1:`24`,y1:`4`,x2:`24`,y2:`20`,style:{strokeWidth:1},fill:`transparent`})]}),(0,n.jsx)(`span`,{children:a.label})]})})},B={switch:`_switch_8t362_1`,bar:`_bar_8t362_5`,"bar-checked":`_bar-checked_8t362_21`,"bar-disabled":`_bar-disabled_8t362_26`,circle:`_circle_8t362_30`,"circle-checked":`_circle-checked_8t362_45`,"circle-disabled":`_circle-disabled_8t362_49`},it=({color:e=`#bfa056`,size:r=`18px`,disabled:i=!1,checked:a=!1,...o})=>{let{onChange:s}=o,c=(0,t.useCallback)(()=>{!i&&s&&s(!a)},[i,a,s]),l=[B.bar,a?B[`bar-checked`]:``,i?B[`bar-disabled`]:``].filter(Boolean).join(` `),u=[B.circle,a?B[`circle-checked`]:``,i?B[`circle-disabled`]:``].filter(Boolean).join(` `);return(0,n.jsxs)(`div`,{className:o.className,onClick:c,style:{"--color":e,"--padding":`2px`,"--size":r,"--width":`calc(${r} * 2 + 2px * 2)`,...o.style},children:[(0,n.jsx)(`input`,{className:B.switch,type:`checkbox`,checked:a,disabled:i,readOnly:!0}),(0,n.jsx)(`div`,{className:l,children:(0,n.jsx)(`div`,{className:u})})]})},V={loading:`_loading_1y96m_23`,wrapper:`_wrapper_1y96m_38`,active:`_active_1y96m_66`,header:`_header_1y96m_70`,label:`_label_1y96m_78`,required:`_required_1y96m_95`,body:`_body_1y96m_101`,input:`_input_1y96m_109`,"icon-box":`_icon-box_1y96m_141`,icon:`_icon_1y96m_141`,suffix:`_suffix_1y96m_159`,counter:`_counter_1y96m_172`,"counter-over":`_counter-over_1y96m_177`},at={text:r.mdiText,pen:r.mdiPen,email:r.mdiEmail,user:r.mdiAccount,lock:r.mdiLock,key:r.mdiKey,earth:r.mdiEarth,tag:r.mdiTag,archive:r.mdiArchive,link:r.mdiLinkVariant,search:r.mdiMagnify},ot=({disabled:e=!1,loading:i=!1,isPassword:a=!1,required:o=!1,value:s=``,...c})=>{let l=(0,t.useId)(),u=(0,t.useRef)(null),[d,f]=(0,t.useState)(!1),[m,h]=(0,t.useState)(a?`password`:`text`),{onChange:g}=c,_=(0,t.useCallback)(()=>{!i&&!e&&g&&g(``)},[i,e,g]),v=(0,t.useCallback)(()=>{!i&&!e&&h(e=>e===`text`?`password`:`text`)},[i,e]),y=(0,t.useCallback)(e=>t=>{(t.key===`Enter`||t.key===` `)&&(t.preventDefault(),e())},[]);return(0,n.jsxs)(`div`,{className:[V.wrapper,d?V.active:``,c.className].filter(Boolean).join(` `),style:{backgroundColor:e||i?`rgba(0,0,0,0.15)`:void 0,"--highlight-color":d?`#bfa056`:void 0,...c.style},children:[(0,n.jsxs)(`div`,{className:V.header,children:[(0,n.jsxs)(`label`,{htmlFor:l,className:V.label,children:[(0,n.jsx)(`span`,{children:c.label}),o&&(0,n.jsx)(`span`,{className:V.required,children:`*`})]}),c.maxLength!=null&&(0,n.jsxs)(`span`,{className:[V.counter,s.length>c.maxLength?V[`counter-over`]:``].filter(Boolean).join(` `),children:[s.length,` / `,c.maxLength]})]}),(0,n.jsxs)(`div`,{className:V.body,children:[c.icon&&(0,n.jsx)(p,{d:at[c.icon],size:`1.5rem`,color:`gray`}),(0,n.jsx)(`input`,{id:l,ref:u,type:m,className:V.input,placeholder:c.placeholder,value:s,onChange:e=>g?.(e.target.value),onFocus:()=>f(!0),onBlur:()=>f(!1),disabled:e||i,style:{cursor:e?`not-allowed`:i?`progress`:`auto`},"aria-required":o}),(0,n.jsxs)(`div`,{className:V[`icon-box`],children:[c.suffix!=null&&(0,n.jsx)(`span`,{className:V.suffix,children:c.suffix}),(0,n.jsx)(`div`,{className:V.icon,onClick:v,onKeyDown:y(v),role:`button`,tabIndex:0,children:(0,n.jsx)(p,{d:m===`text`?r.mdiEyeOutline:r.mdiEyeOffOutline,size:`1.75em`,color:`gray`})}),(0,n.jsx)(`div`,{className:V.icon,onClick:_,onKeyDown:y(_),role:`button`,tabIndex:0,children:(0,n.jsx)(p,{d:r.mdiBackspaceOutline,size:`1.75em`,color:`gray`})})]})]}),(0,n.jsx)(`div`,{className:V.loading,style:{opacity:i?.2:0}})]})},st={validation:`_validation_wuw0j_1`},ct=({validColor:e=`#449763`,...t})=>(0,n.jsxs)(`div`,{className:[st.validation,t.className].filter(Boolean).join(` `),style:{"--opacity":t.isValid?1:.5,...t.style},children:[(0,n.jsx)(p,{d:t.isValid?r.mdiCheckCircle:r.mdiCheckCircleOutline,color:t.isValid?e:void 0}),(0,n.jsx)(`span`,{style:{color:t.isValid?e:void 0},children:t.text})]}),H={"elm-collapse":`_elm-collapse_j2kw5_1`,inner:`_inner_j2kw5_8`,open:`_open_j2kw5_12`},lt=e=>(0,n.jsx)(`div`,{className:(0,i.default)(H[`elm-collapse`],{[H.open]:e.isOpen}),style:e.style,children:(0,n.jsx)(`div`,{className:H.inner,children:e.children})}),ut={column:`_column_12uje_1`},dt=e=>(0,n.jsx)(`div`,{className:[ut.column,e.className].filter(Boolean).join(` `),style:e.style,children:e.children}),ft={"column-list":`_column-list_rt1o3_1`},pt=e=>(0,n.jsx)(`div`,{className:[ft[`column-list`],e.className].filter(Boolean).join(` `),style:e.style,children:e.children}),mt={body:`_body_gd5gc_1`,button:`_button_gd5gc_5`},ht={provider:`_provider_qbioz_1`,exit:`_exit_qbioz_23`},gt=({closeOnClickOutside:e=!0,duration:r=200,isOpen:a,setIsOpen:s,...c})=>{let[l,u]=(0,t.useState)(!1);(0,t.useEffect)(()=>{if(a){let e=window.setTimeout(()=>u(!0),0);return()=>clearTimeout(e)}else{let e=window.setTimeout(()=>u(!1),r);return()=>clearTimeout(e)}},[a,r]);let d=(0,t.useCallback)(()=>{e&&s&&s(!1)},[e,s]),f=(0,t.useCallback)(e=>{e.stopPropagation()},[]);return!a&&!l?null:(0,o.createPortal)((0,n.jsx)(`div`,{className:(0,i.default)(ht.provider,{[ht.exit]:!a}),style:{transitionDuration:`${r}ms`},onClick:d,children:(0,n.jsx)(`div`,{className:c.className,style:c.style,onClick:f,children:c.children})}),document.body)},_t=({closeOnClickOutside:e=!0,onChange:i,onConfirm:a,onSuccess:o,onError:s,...c})=>{let[l,u]=(0,t.useState)(!1),d=(0,t.useCallback)(()=>{i&&i(!1)},[i]),f=(0,t.useCallback)(async()=>{u(!0);try{await a(),u(!1),i&&i(!1),o&&o()}catch(e){s&&s(e),u(!1),i&&i(!1)}},[a,o,s,i]);return(0,n.jsx)(gt,{isOpen:c.value,setIsOpen:i,closeOnClickOutside:e,className:c.className,children:(0,n.jsxs)(`div`,{children:[(0,n.jsx)(T,{level:2,disableFragmentIdentifier:!0,children:c.title}),(0,n.jsx)(`div`,{className:mt.body,children:c.children}),(0,n.jsxs)(`div`,{className:mt.button,children:[(0,n.jsxs)(R,{block:!0,onClick:d,loading:l,children:[(0,n.jsx)(p,{d:r.mdiArrowLeft}),(0,n.jsx)(`span`,{children:`Cancel`})]}),(0,n.jsxs)(R,{block:!0,onClick:f,primary:!0,loading:l,children:[(0,n.jsx)(p,{d:r.mdiCheckCircle,color:`currentColor`}),(0,n.jsx)(`span`,{children:`Confirm`})]})]})]})})},U={window:`_window_l8snl_1`,header:`_header_l8snl_14`,dot:`_dot_l8snl_25`},vt=({minHeight:e=`6rem`,...t})=>(0,n.jsxs)(`div`,{className:[U.window,t.className].filter(Boolean).join(` `),style:t.style,children:[(0,n.jsxs)(`div`,{className:U.header,children:[(0,n.jsx)(`div`,{"aria-hidden":!0,className:U.dot,style:{"--bg":`#c48691`}}),(0,n.jsx)(`div`,{"aria-hidden":!0,className:U.dot,style:{"--bg":`#c9b990`}}),(0,n.jsx)(`div`,{"aria-hidden":!0,className:U.dot,style:{"--bg":`#7cc598`}})]}),(0,n.jsx)(`div`,{style:{minHeight:e},children:t.children})]}),yt={parallax:`_parallax_1tovg_1`},bt=({className:e,...r})=>{let[i,a]=(0,t.useState)(0);return(0,t.useEffect)(()=>{let e=null,t=()=>{e??(e=requestAnimationFrame(()=>{a(window.scrollY),e=null}))};return window.addEventListener(`scroll`,t,{passive:!0}),()=>{window.removeEventListener(`scroll`,t),e!=null&&cancelAnimationFrame(e)}},[]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(`div`,{className:[yt.parallax,e].filter(Boolean).join(` `),style:{backgroundImage:`url(${r.imageUrl1})`,transform:`scale(1.2) translateY(${i/400}%)`,transformOrigin:`bottom`,...r.style}}),(0,n.jsx)(`div`,{className:yt.parallax,style:{backgroundImage:`url(${r.imageUrl2})`,transform:`scale(1.2) translateY(${i/900}%)`,transformOrigin:`bottom`}})]})},xt={container:`_container_1mzm0_1`,title:`_title_1mzm0_16`,text:`_text_1mzm0_22`},St={original:`_original_3zasf_1`,tooltip:`_tooltip_3zasf_5`,"tooltip-enter":`_tooltip-enter_3zasf_17`},Ct=e=>{let r=(0,t.useRef)(null),[i,a]=(0,t.useState)(!1),[o,s]=(0,t.useState)({}),c=(0,t.useCallback)(()=>{let e=r.current;if(!e)return;let t=e.getBoundingClientRect(),n=window.innerWidth;t.x>n/2?s({top:`${t.y+t.height}px`,right:`${n-t.x-t.width}px`}):s({top:`${t.y+t.height}px`,left:`${t.x}px`})},[]);return(0,t.useEffect)(()=>{i&&c()},[i,c]),(0,n.jsxs)(`span`,{ref:r,className:[St.original,e.className].filter(Boolean).join(` `),onMouseOver:()=>a(!0),onMouseLeave:()=>a(!1),style:e.style,children:[e.original,i&&(0,n.jsx)(`div`,{className:`${St.tooltip} ${St[`tooltip-enter`]}`,style:o,children:e.tooltip})]})},wt=e=>(0,n.jsx)(Ct,{original:e.children,tooltip:(0,n.jsxs)(`div`,{className:[xt.container,e.className].filter(Boolean).join(` `),style:e.style,children:[e.title&&(0,n.jsx)(`div`,{className:xt.title,children:e.title}),(0,n.jsx)(`div`,{className:xt.text,children:e.text})]})}),Tt={snackbar:`_snackbar_1f0go_1`,icon:`_icon_1f0go_19`,progress:`_progress_1f0go_45`},Et=({timeout:e=5e3,...t})=>(0,n.jsxs)(`div`,{className:[Tt.snackbar,t.className].filter(Boolean).join(` `),style:t.style,children:[t.label==null?t.children:(0,n.jsx)(v,{children:t.label}),(0,n.jsx)(`div`,{className:Tt.icon,onClick:t.close,children:(0,n.jsx)(p,{d:r.mdiCloseCircleOutline,size:`1em`})}),(0,n.jsx)(`div`,{className:Tt.progress,style:{animationDuration:`${e}ms`}})]}),Dt={"snackbar-screen":`_snackbar-screen_up7j2_1`,"snackbar-container":`_snackbar-container_up7j2_14`,"snackbar-item":`_snackbar-item_up7j2_23`},Ot=e=>(0,n.jsx)(`div`,{className:[Dt[`snackbar-screen`],e.className].filter(Boolean).join(` `),style:e.style,children:(0,n.jsx)(`div`,{className:Dt[`snackbar-container`],children:e.snackbars.map(e=>(0,n.jsx)(`div`,{className:Dt[`snackbar-item`],children:(0,n.jsx)(Et,{label:e.label,timeout:e.timeout,close:e.close,children:e.children})},e.id))})}),W={"elm-tabs":`_elm-tabs_ykoqx_1`,"tab-container":`_tab-container_ykoqx_18`,tab:`_tab_ykoqx_18`,active:`_active_ykoqx_40`,"tab-content-container":`_tab-content-container_ykoqx_51`,"tab-content":`_tab-content_ykoqx_51`},kt=e=>{let[r,i]=(0,t.useState)(0);return(0,n.jsxs)(`div`,{className:[W[`elm-tabs`],e.className].filter(Boolean).join(` `),style:e.style,children:[(0,n.jsx)(`div`,{className:W[`tab-container`],children:e.tabLabels.map((e,t)=>(0,n.jsx)(`div`,{className:`${W.tab} ${r===t?W.active:``}`,onClick:()=>i(t),children:e},t))}),(0,n.jsx)(`div`,{className:W[`tab-content-container`],children:e.tabContents.map((e,t)=>(0,n.jsx)(`div`,{className:`${W[`tab-content`]} ${r===t?W.active:``}`,children:e},t))})]})},G={toggle:`_toggle_16f85_1`,open:`_open_16f85_14`,summary:`_summary_16f85_19`,"summary-left":`_summary-left_16f85_33`,divider:`_divider_16f85_40`,chevron:`_chevron_16f85_57`,cross:`_cross_16f85_70`,border:`_border_16f85_84`,content:`_content_16f85_92`,close:`_close_16f85_96`},At=e=>{let[t,a]=(0,s.useControllableState)({prop:e.isOpen,defaultProp:!1,onChange:e.setIsOpen}),o=e=>{e.preventDefault(),a(!t)};return(0,n.jsxs)(`div`,{className:(0,i.default)(G.toggle,e.className,{[G.open]:t}),style:{...e.style},children:[(0,n.jsxs)(`div`,{className:G.summary,onClick:o,children:[(0,n.jsxs)(`div`,{className:G[`summary-left`],children:[(0,n.jsx)(p,{className:(0,i.default)(G.chevron,{[G.open]:t}),d:r.mdiChevronRight,color:`#59b57c`,size:`1rem`}),(0,n.jsx)(`div`,{children:e.summary==null?e.summaryContent:(0,n.jsx)(v,{children:e.summary})})]}),(0,n.jsx)(`hr`,{className:G.divider}),(0,n.jsx)(p,{className:(0,i.default)(G.cross,{[G.open]:t}),d:r.mdiPlus,size:`1rem`,color:t?`#b36472`:`#59b57c`})]}),(0,n.jsx)(`div`,{className:G.border}),(0,n.jsx)(`div`,{className:(0,i.default)(G.content,{[G.close]:!t}),children:e.children})]})},K={table:`_table_197ge_1`,caption:`_caption_197ge_8`,"caption-inner":`_caption-inner_197ge_18`,spacing:`_spacing_197ge_25`},jt=(0,t.createContext)(!1),Mt=(0,t.createContext)(!1),Nt=({caption:e,hasRowHeader:t=!1,header:i,body:a,style:o,className:s})=>(0,n.jsx)(Mt.Provider,{value:t,children:(0,n.jsxs)(`table`,{className:[K.table,s].filter(Boolean).join(` `),style:o,children:[e!=null&&(0,n.jsx)(`caption`,{children:(0,n.jsxs)(`span`,{className:K.caption,children:[(0,n.jsx)(`span`,{className:K.spacing}),(0,n.jsxs)(`span`,{className:K[`caption-inner`],children:[(0,n.jsx)(`svg`,{viewBox:`0 0 24 24`,width:`1rem`,height:`1rem`,children:(0,n.jsx)(`path`,{d:r.mdiTable,fill:`#6987b8`})}),(0,n.jsx)(v,{children:e})]}),(0,n.jsx)(`span`,{className:K.spacing})]})}),i,a]})}),Pt=({children:e,style:t,className:r})=>(0,n.jsx)(jt.Provider,{value:!1,children:(0,n.jsx)(`tbody`,{className:r,style:t,children:e})}),Ft={common:`_common_15vhm_1`,td:`_td_15vhm_26`,th:`_th_15vhm_34`},It=({children:e,style:r,hasHeader:i=!1,text:a,className:o})=>{let s=(0,t.useContext)(jt),c=i||s;return(0,n.jsx)(c?`th`:`td`,{className:[Ft.common,c?Ft.th:Ft.td,o].filter(Boolean).join(` `),style:r,children:a??e})},Lt={thead:`_thead_184mb_1`},Rt=({children:e,style:t,className:r})=>(0,n.jsx)(jt.Provider,{value:!0,children:(0,n.jsx)(`thead`,{className:[Lt.thead,r].filter(Boolean).join(` `),style:t,children:e})}),zt={tr:`_tr_1l64j_1`,"has-row-header":`_has-row-header_1l64j_25`},q=({children:e,style:r,className:i})=>{let a=(0,t.useContext)(Mt);return(0,n.jsx)(`tr`,{className:[zt.tr,a?zt[`has-row-header`]:void 0,i].filter(Boolean).join(` `),style:r,children:e})},J={wrapper:`_wrapper_189iv_1`,header:`_header_189iv_18`,header__left:`_header__left_189iv_36`,caption:`_caption_189iv_44`,header__right:`_header__right_189iv_50`,"copy-icon":`_copy-icon_189iv_58`,code:`_code_189iv_81`,"code-body":`_code-body_189iv_89`,fallback:`_fallback_189iv_93`},Bt={code:`_code_1nyfa_1`},Y=null;function Vt(){return Y||(Y=import(`shiki`).then(({createHighlighter:e})=>e({langs:`abap.bash.c.clojure.coffeescript.cpp.csharp.css.dart.diff.docker.elixir.elm.erlang.fsharp.gherkin.glsl.go.graphql.groovy.haskell.html.java.javascript.json.julia.kotlin.latex.less.lisp.lua.makefile.markdown.matlab.mermaid.nix.objective-c.ocaml.pascal.perl.php.plaintext.powershell.prolog.protobuf.python.r.ruby.rust.sass.scala.scheme.scss.shell.sql.swift.toml.typescript.wasm.xml.yaml`.split(`.`),themes:[`vitesse-light`,`vitesse-dark`]}))),Y}var Ht=({code:e,language:r=`txt`,onRendered:i,style:a,className:o})=>{let[s,c]=(0,t.useState)(`<pre>${e}</pre>`);return(0,t.useEffect)(()=>{let t=!1;return Vt().then(n=>{if(!t)try{let a=n.codeToHtml(e,{lang:r,themes:{dark:`vitesse-dark`,light:`vitesse-light`},colorReplacements:{"#ffffff":`transparent`,"#121212":`transparent`}});t||(c(a),i?.(!0))}catch{t||i?.(!0)}}).catch(()=>{t||i?.(!0)}),()=>{t=!0}},[e,r,i]),(0,n.jsx)(`div`,{className:[Bt.code,o].filter(Boolean).join(` `),style:a,children:(0,n.jsx)(`div`,{className:`shiki`,dangerouslySetInnerHTML:{__html:s}})})},Ut=({code:e,language:i=`txt`,caption:a,style:o,className:s})=>{let[c,l]=(0,t.useState)(!1),[u,d]=(0,t.useState)(!1),[f,m]=(0,t.useState)(!1),h=(0,t.useRef)(null),g=(0,t.useRef)(null);(0,t.useEffect)(()=>{let e=h.current;if(!e)return;let t=new IntersectionObserver(([e])=>{m(e.isIntersecting)});return t.observe(e),()=>t.disconnect()},[]);let _=(0,t.useCallback)(()=>{navigator.clipboard.writeText(e).then(()=>{d(!0),g.current&&clearTimeout(g.current),g.current=setTimeout(()=>d(!1),2e3)})},[e]);return(0,t.useEffect)(()=>()=>{g.current&&clearTimeout(g.current)},[]),(0,n.jsxs)(`div`,{ref:h,className:[J.wrapper,s].filter(Boolean).join(` `),style:{opacity:+!!f,...o},children:[(0,n.jsxs)(`div`,{className:J.header,children:[(0,n.jsxs)(`div`,{className:J.header__left,children:[(0,n.jsx)(re,{language:i,size:20}),(0,n.jsx)(`span`,{className:J.caption,children:(0,n.jsx)(v,{children:a??i})})]}),(0,n.jsx)(`div`,{className:J.header__right,children:(0,n.jsx)(`div`,{className:J[`copy-icon`],onClick:_,children:(0,n.jsx)(p,{size:`1.25em`,d:u?r.mdiClipboardCheckMultipleOutline:r.mdiClipboardMultipleOutline,useThemeColor:u})})})]}),(0,n.jsxs)(`div`,{className:J.code,children:[(0,n.jsx)(`div`,{className:J[`code-body`],style:{opacity:+!!c},children:(0,n.jsx)(Ht,{code:e,language:i,onRendered:l})}),(0,n.jsx)(`div`,{className:J.fallback,style:{opacity:+!c},children:(0,n.jsx)(b,{size:`48px`})})]})]})},Wt={katex:`_katex_1a1aj_1`},Gt=({expression:e,block:r=!1,style:i,className:a})=>{let[o,s]=(0,t.useState)();(0,t.useEffect)(()=>{import(`katex`).then(({renderToString:t})=>{try{s(t(e,{displayMode:r,output:`mathml`}))}catch(e){console.error(`KaTeX rendering error:`,e)}}).catch(()=>{})},[e,r]);let c=[Wt.katex,a].filter(Boolean).join(` `);return r?(0,n.jsx)(`div`,{className:c,style:i,dangerouslySetInnerHTML:o?{__html:o}:void 0}):(0,n.jsx)(`span`,{className:c,style:i,dangerouslySetInnerHTML:o?{__html:o}:void 0})},X={"color-bg":`_color-bg_yiibu_1`,text:`_text_yiibu_17`},Kt=({color:e,style:i,className:o})=>{let[s,c]=(0,t.useState)(!1),l=(0,t.useRef)(null),u=(0,a.parseToRgb)(e),{hue:d,saturation:f,lightness:m}=(0,a.parseToHsl)(e),h=(0,a.rgbToColorString)(u),g=`rgb(${u.red}, ${u.green}, ${u.blue})`,_=`hsl(${Math.floor(d)}, ${Math.floor(f*100)}%, ${Math.floor(m*100)}%)`,v=(0,t.useCallback)(e=>{navigator.clipboard.writeText(e).then(()=>{c(!0),l.current&&clearTimeout(l.current),l.current=setTimeout(()=>c(!1),1500)})},[]);return(0,n.jsx)(`div`,{className:o,style:{"--color":e,...i},children:(0,n.jsx)(Ct,{original:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(`div`,{className:X[`color-bg`],style:{"--background-color":e},onClick:()=>v(h),children:s&&(0,n.jsx)(p,{d:r.mdiCheck,size:`1em`,color:`white`})}),(0,n.jsx)(`div`,{className:X.text,onClick:()=>v(h),children:h})]}),tooltip:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(`div`,{className:X.text,onClick:()=>v(h),children:h}),(0,n.jsx)(`div`,{className:X.text,onClick:()=>v(g),children:g}),(0,n.jsx)(`div`,{className:X.text,onClick:()=>v(_),children:_})]})})})},qt={container:`_container_a7c06_1`,"row-container":`_row-container_a7c06_9`,"color-name":`_color-name_a7c06_17`},Jt=[-3,-.25,-.2,-.15,-.1,-.05,0,.05,.1,.15,.2,.25,.3],Yt=({colors:e,style:t,className:r})=>(0,n.jsx)(`div`,{className:[qt.container,r].filter(Boolean).join(` `),style:t,children:e.map(e=>(0,n.jsxs)(`div`,{className:qt[`row-container`],children:[(0,n.jsx)(`div`,{className:qt[`color-name`],style:{"--color":e.code},children:e.name}),Jt.map(t=>(0,n.jsx)(Kt,{color:(0,a.darken)(t,e.code)},t))]},e.name))}),Z={palette:`_palette_1glfh_1`,header:`_header_1glfh_11`,input:`_input_1glfh_31`,body:`_body_1glfh_43`,"empty-result":`_empty-result_1glfh_60`,command:`_command_1glfh_71`,"command-selected":`_command-selected_1glfh_98`,"command-icon":`_command-icon_1glfh_103`,tag:`_tag_1glfh_107`,footer:`_footer_1glfh_118`},Xt={brown:`#a17c5b`,crimson:`#c56565`,amber:`#d48b70`,gold:`#cdb57b`,emerald:`#59b57c`,cyan:`#59a7b5`,blue:`#6987b8`,purple:`#9771bd`,pink:`#c9699e`};function Zt(e,t){if(!t.trim())return[];let n=t.toLowerCase();return e.filter(e=>e.label.toLowerCase().includes(n)||e.description?.toLowerCase().includes(n)||e.keywords?.some(e=>e.toLowerCase().includes(n)))}var Qt=({commands:e,onCommandInvoked:i,style:o,className:s})=>{let[c,l]=(0,t.useState)(``),[u,d]=(0,t.useState)([]),[f,m]=(0,t.useState)(null),h=(0,t.useRef)(null);(0,t.useEffect)(()=>{h.current?.focus()},[]);let g=(0,t.useCallback)(t=>{let n=t.target.value;l(n);let r=Zt(e,n);d(r),m(r.length>0?0:null)},[e]),_=(0,t.useCallback)(e=>{if(e===null)return;let t=u[e];t&&(t.onInvoke?.(),i?.(t))},[u,i]);return(0,t.useEffect)(()=>{let e=e=>{e.key===`ArrowDown`||e.key===`Tab`?(e.preventDefault(),m(e=>e===null?0:e<u.length-1?e+1:e)):e.key===`ArrowUp`?(e.preventDefault(),m(e=>e===null?0:e>0?e-1:0)):e.key===`Enter`&&(e.preventDefault(),_(f))};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[_,f,u.length]),(0,n.jsxs)(`div`,{className:[Z.palette,s].filter(Boolean).join(` `),style:{"--height":`500px`,"--width":`800px`,...o},children:[(0,n.jsxs)(`header`,{className:Z.header,children:[(0,n.jsx)(p,{d:r.mdiConsoleLine}),(0,n.jsx)(`input`,{ref:h,className:Z.input,value:c,onChange:g,type:`text`,inputMode:`text`})]}),(0,n.jsx)(`div`,{className:Z.body,children:u.length===0?(0,n.jsx)(`div`,{className:Z[`empty-result`],children:(0,n.jsx)(v,{children:`search anything...`})}):u.map((e,t)=>(0,n.jsxs)(`button`,{className:`${Z.command} ${t===f?Z[`command-selected`]:``}`,onClick:()=>{m(t),_(t)},children:[e.icon?(0,n.jsx)(`img`,{className:Z[`command-icon`],src:e.icon,alt:e.label}):(0,n.jsx)(p,{d:r.mdiConsoleLine,size:`1rem`}),e.tag?(0,n.jsx)(`div`,{className:Z.tag,style:{"--tag-color":(0,a.opacify)(-.3,Xt[e.tag.color])},children:e.tag.name}):(0,n.jsx)(`div`,{className:Z.tag}),(0,n.jsx)(v,{style:{whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`,maxWidth:`24rem`},children:e.label}),(0,n.jsx)(v,{style:{opacity:.4,whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`},children:e.description??`-`}),(0,n.jsx)(`div`,{children:(0,n.jsx)(p,{d:r.mdiKeyboardReturn})})]},e.id))}),(0,n.jsxs)(`footer`,{className:Z.footer,children:[(0,n.jsx)(v,{kbd:!0,children:`Esc`}),(0,n.jsx)(v,{children:`Close`})]})]})},$t={"jarkup-body":`_jarkup-body_jsvhx_1`,"unsupported-block":`_unsupported-block_jsvhx_5`},en=({jsonComponents:e,style:t,className:r})=>(0,n.jsx)(`div`,{className:[$t[`jarkup-body`],r].filter(Boolean).join(` `),style:t,children:e.map((e,t)=>(0,n.jsx)(`div`,{className:$t[`unsupported-block`],children:(0,n.jsx)(`code`,{children:JSON.stringify(e,null,2)})},t))}),tn={"jarkup-body":`_jarkup-body_1rlbi_1`,"column-list":`_column-list_1rlbi_9`,column:`_column_1rlbi_9`},nn=(0,t.lazy)(()=>Promise.resolve().then(()=>require(`./ElmMermaid-DnSjC5T_.cjs`)).then(e=>e.n).then(e=>({default:e.ElmMermaid}))),rn=e=>e.map(e=>e.type===`Text`?e.props.text:``).join(``),an={Text:(e,t,r,i)=>{let a=e.id??r,o=e.props;return o.katex?(0,n.jsx)(Gt,{expression:o.text,block:!1},a):(0,n.jsx)(v,{color:o.color,backgroundColor:o.backgroundColor,bold:o.bold,italic:o.italic,underline:o.underline,strikethrough:o.strikethrough,code:o.code,ruby:o.ruby,href:o.href,favicon:o.favicon,children:o.text},a)},Icon:(e,t,r,i)=>{let a=e.id??r;return(0,n.jsx)(g,{src:e.props.src,alt:e.props.alt},a)},Fragment:(e,r,i,a)=>{let o=e.id??i;return(0,n.jsx)(t.default.Fragment,{children:r(e.slots.default)},o)},Heading:(e,t,r,i)=>{let a=e.id??r;return(0,n.jsx)(T,{level:e.props.level,id:(0,c.kebabCase)(rn(e.slots.default)),style:r===0?{"--elmethis-margin-block-start":`0`}:void 0,children:t(e.slots.default)},a)},Paragraph:(e,t,r,i)=>{let a=e.id??r;return(0,n.jsx)(S,{backgroundColor:e.props?.backgroundColor,style:r===0?{"--elmethis-margin-block-start":`0`}:void 0,children:t(e.slots.default)},a)},ListItem:(e,t,r,i)=>{let a=e.id??r;return(0,n.jsx)(`li`,{children:t(e.slots.default)},a)},List:(e,t,r,i)=>{let a=e.id??r;return(0,n.jsx)(Ne,{listStyle:e.props?.listStyle===`unordered`?`unordered`:`ordered`,style:r===0?{"--elmethis-margin-block-start":`0`}:void 0,children:t(e.slots.default)},a)},BlockQuote:(e,t,r,i)=>{let a=e.id??r;return(0,n.jsx)(Ce,{cite:e.props?.cite,style:r===0?{"--elmethis-margin-block-start":`0`}:void 0,children:t(e.slots.default)},a)},Callout:(e,t,r,i)=>{let a=e.id??r;return(0,n.jsx)(Ee,{type:e.props?.type,style:r===0?{"--elmethis-margin-block-start":`0`}:void 0,children:t(e.slots.default)},a)},Divider:(e,t,r,i)=>{let a=e.id??r;return(0,n.jsx)(Oe,{style:r===0?{"--elmethis-margin-block-start":`0`}:void 0},a)},Toggle:(e,t,r,i)=>{let a=e.id??r;return(0,n.jsx)(At,{summaryContent:t(e.slots.summary),style:r===0?{"--elmethis-margin-block-start":`0`}:void 0,children:t(e.slots.default)},a)},Bookmark:(e,t,r,i)=>{let a=e.id??r;return(0,n.jsx)(Ke,{url:e.props.url,title:e.props.title,description:e.props.description,image:e.props.image,style:r===0?{"--elmethis-margin-block-start":`0`}:void 0},a)},File:(e,t,r,i)=>{let a=e.id??r;return(0,n.jsx)(Ge,{src:e.props.src,name:e.props.name,style:r===0?{"--elmethis-margin-block-start":`0`}:void 0},a)},Image:(e,t,r,i)=>{let a=e.id??r;return(0,n.jsx)(A,{src:e.props.src,alt:e.props.alt,width:e.props.width,height:e.props.height,block:!0,enableModal:!0,style:r===0?{"--elmethis-margin-block-start":`0`}:void 0},a)},CodeBlock:(e,t,r,i)=>{let a=e.id??r;return(0,n.jsx)(Ut,{code:e.props.code,language:e.props.language,style:r===0?{"--elmethis-margin-block-start":`0`}:void 0},a)},Katex:(e,t,r,i)=>{let a=e.id??r;return(0,n.jsx)(Gt,{expression:e.props.expression,block:!0,style:r===0?{"--elmethis-margin-block-start":`0`}:void 0},a)},Mermaid:(e,r,i,a)=>{let o=e.id??i;return(0,n.jsx)(t.Suspense,{fallback:(0,n.jsx)(et,{}),children:(0,n.jsx)(nn,{code:e.props.code,style:i===0?{"--elmethis-margin-block-start":`0`}:void 0})},o)},Tab:(e,t,n,r)=>[],Tabs:(e,t,r,i)=>{let a=e.id??r,o=[],s=[];for(let r of e.slots.default)o.push((0,n.jsx)(`span`,{children:t(r.slots.labels)})),s.push((0,n.jsx)(`div`,{children:t(r.slots.contents)}));return(0,n.jsx)(kt,{tabLabels:o,tabContents:s},a)},Table:(e,t,r,i)=>{let a=e.id??r;return(0,n.jsx)(Nt,{caption:e.props?.caption,hasRowHeader:e.props?.hasRowHeader,header:e.slots.header?(0,n.jsx)(Rt,{children:t(e.slots.header)}):void 0,body:(0,n.jsx)(Pt,{children:t(e.slots.body)}),style:r===0?{"--elmethis-margin-block-start":`0`}:void 0},a)},TableRow:(e,t,r,i)=>{let a=e.id??r;return(0,n.jsx)(q,{children:t(e.slots.default)},a)},TableCell:(e,t,r,i)=>{let a=e.id??r;return(0,n.jsx)(It,{children:t(e.slots.default)},a)},ColumnList:(e,t,r,i)=>{let a=e.id??r;return(0,n.jsx)(`div`,{className:tn[`column-list`],style:r===0?{"--elmethis-margin-block-start":`0`}:void 0,children:t(e.slots.default)},a)},Column:(e,t,r,i)=>{let a=e.id??r;return(0,n.jsx)(`div`,{className:tn.column,style:{"--width-ratio":e.props?.widthRatio??1,width:e.props?.widthRatio?`${e.props.widthRatio*100}%`:void 0,...r===0?{"--elmethis-margin-block-start":`0`}:void 0},children:t(e.slots.default)},a)},Unsupported:(e,t,r,i)=>{let a=e.id??r;return i?.skipUnsupportedComponentWarning?null:(0,n.jsx)(I,{details:e.props?.details??`Unsupported component type: ${e.type}`,style:r===0?{"--elmethis-margin-block-start":`0`}:void 0},a)}},on=({jsonComponents:e,skipUnsupportedComponentWarning:t=!1,renderFunctionMap:r,style:i,className:a})=>{let o={...an,...r},s=e=>e.map((e,r)=>{let a=e.id??r,c=o[e.type];return c?c(e,s,r,{skipUnsupportedComponentWarning:t,style:i}):t?null:(0,n.jsx)(I,{details:`Unsupported component type: ${e.type}`},a)});return(0,n.jsx)(`div`,{className:[tn[`jarkup-body`],a].filter(Boolean).join(` `),style:{"--elmethis-margin-block-start":i?.[`--elmethis-margin-block-start`]??`2.5rem`,...i},children:s(e)})},sn={"markdown-body":`_markdown-body_130yx_1`},Q=e=>e===0?{"--elmethis-margin-block-start":`0`}:void 0,cn={blockquote:(e,t,r)=>{if(!e.tokens||e.tokens.length===0)return null;let i=e.tokens.flatMap(e=>e.type===`paragraph`&&e.tokens?e.tokens:[e]);return(0,n.jsx)(Ce,{style:Q(r),children:t(i)},r)},br:(e,t,r)=>(0,n.jsx)(`br`,{},r),checkbox:(e,t,r)=>(0,n.jsx)(rt,{label:e.raw,checked:e.checked,style:Q(r)},r),code:(e,t,r)=>(0,n.jsx)(Ut,{code:e.text.trim(),language:e.lang,style:Q(r)},r),codespan:(e,t,r)=>(0,n.jsx)(v,{code:!0,children:e.text},r),def:()=>null,del:(e,t,r)=>e.tokens&&e.tokens.length!==0?(0,n.jsx)(v,{strikethrough:!0,children:t(e.tokens)},r):(0,n.jsx)(v,{strikethrough:!0,children:e.text},r),em:(e,t,r)=>e.tokens&&e.tokens.length!==0?(0,n.jsx)(v,{italic:!0,children:t(e.tokens)},r):(0,n.jsx)(v,{italic:!0,children:e.text},r),escape:()=>null,heading:(e,t,r)=>{let i=e.depth;return e.tokens&&e.tokens.length!==0?(0,n.jsx)(T,{level:i,style:Q(r),children:t(e.tokens)},r):(0,n.jsx)(T,{level:i,text:e.text,style:Q(r)},r)},hr:(e,t,r)=>(0,n.jsx)(Oe,{style:Q(r)},r),html:()=>null,image:(e,t,r)=>(0,n.jsx)(A,{block:!0,enableModal:!0,src:e.href,alt:e.text,style:Q(r)},r),link:(e,t,r)=>e.tokens&&e.tokens.length!==0?(0,n.jsx)(v,{href:e.href,children:t(e.tokens)},r):(0,n.jsx)(v,{href:e.href,children:e.text},r),list:(e,t,r)=>{let i=e.items.map((e,r)=>(0,n.jsx)(`li`,{children:t(e.tokens)},r));return(0,n.jsx)(Ne,{listStyle:e.ordered?`ordered`:`unordered`,style:Q(r),children:i},r)},list_item:(e,t,r)=>(0,n.jsx)(`li`,{children:e.tokens&&e.tokens.length!==0?t(e.tokens):e.text},r),paragraph:(e,t,r)=>e.tokens&&e.tokens.length!==0?(0,n.jsx)(S,{style:Q(r),children:t(e.tokens)},r):null,space:()=>null,strong:(e,t,r)=>e.tokens&&e.tokens.length!==0?(0,n.jsx)(v,{bold:!0,children:t(e.tokens)},r):(0,n.jsx)(v,{bold:!0,children:e.text},r),table:(e,t,r)=>{let i=e=>e.map((e,r)=>(0,n.jsx)(It,{children:t(e.tokens)},r)),a=(0,n.jsx)(q,{children:i(e.header)}),o=e.rows.map((e,t)=>(0,n.jsx)(q,{children:i(e)},t));return(0,n.jsx)(Nt,{header:(0,n.jsx)(Rt,{children:a}),body:(0,n.jsx)(Pt,{children:o}),style:Q(r)},r)},text:(e,t,r)=>e.tokens&&e.tokens.length!==0?(0,n.jsx)(v,{children:t(e.tokens)},r):(0,n.jsx)(v,{children:e.text},r)},ln=({markdown:e,style:t,className:r,renderFunctionMap:i})=>{let a={...cn,...i},o=e=>e.map((e,t)=>{let n=a[e.type];return n?n(e,o,t):null}),s=l.marked.setOptions({gfm:!0}).lexer(e);return(0,n.jsx)(`div`,{className:[sn[`markdown-body`],r].filter(Boolean).join(` `),style:{"--elmethis-margin-block-start":`2.5rem`,...t},children:o(s)})},$={char:`_char_sojtj_1`,typed:`_typed_sojtj_20`,current:`_current_sojtj_24`,incorrect:`_incorrect_sojtj_29`},un=({target:e=`Typing game`,style:r,className:i})=>{let[a,o]=(0,t.useState)(()=>{let t=e.split(``).map(e=>({char:e,status:`default`}));return t.length>0&&(t[0].status=`current`),t}),[s,c]=(0,t.useState)(0),[l,u]=(0,t.useState)(0),[d,f]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{let t=e.split(``).map(e=>({char:e,status:`default`}));t.length>0&&(t[0].status=`current`);let n=window.setTimeout(()=>{o(t),c(0),u(0),f(!1)},0);return()=>clearTimeout(n)},[e]),(0,t.useEffect)(()=>{let e=e=>{d||e.key.length!==1||o(t=>{if(!t[s])return t;let n=[...t];return e.key===n[s].char?(n[s]={...n[s],status:`typed`},s===n.length-1?f(!0):c(e=>(n[e+1]={...n[e+1],status:`current`},e+1))):(n[s]={...n[s],status:`incorrect`},u(e=>e+1)),n})};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[s,d]),(0,n.jsxs)(`div`,{className:i,style:r,children:[(0,n.jsx)(`div`,{children:a.map((e,t)=>(0,n.jsx)(`span`,{className:[$.char,e.status===`typed`?$.typed:``,e.status===`current`?$.current:``,e.status===`incorrect`?$.incorrect:``].filter(Boolean).join(` `),children:e.char},t))}),d&&(0,n.jsx)(`div`,{children:`FINISH!`}),l>0&&(0,n.jsxs)(`div`,{children:[`Mistakes: `,l]})]})},dn=({oEmbed:e,style:t,className:r})=>e.type===`photo`?(0,n.jsx)(`div`,{className:r,style:t,children:(0,n.jsx)(A,{src:e.url,alt:e.title,width:e.width,height:e.height,block:!0})}):e.type===`video`||e.type===`rich`?(0,n.jsx)(`div`,{style:{width:e.width?`${e.width}px`:void 0,height:e.height?`${e.height}px`:void 0,...t},dangerouslySetInnerHTML:{__html:e.html}}):(0,n.jsx)(`div`,{className:r,style:t,children:(0,n.jsx)(v,{href:e.author_url??e.provider_url??`#`,children:e.title??e.author_name??e.provider_name??`Link`})});exports.ElmArrowIcon=me,exports.ElmBlockFallback=et,exports.ElmBlockQuote=Ce,exports.ElmBookmark=Ke,exports.ElmBookmarkIcon=ge,exports.ElmBreadcrumb=qe,exports.ElmButton=R,exports.ElmCallout=Ee,exports.ElmCheckbox=rt,exports.ElmCodeBlock=Ut,exports.ElmCollapse=lt,exports.ElmColorSample=Kt,exports.ElmColorTable=Yt,exports.ElmColumn=dt,exports.ElmColumnList=pt,exports.ElmCommandPalette=Qt,exports.ElmConfirmModal=_t,exports.ElmCubeIcon=ye,exports.ElmDesktopWindow=vt,exports.ElmDivider=Oe,exports.ElmDotLoadingIcon=b,exports.ElmFile=Ge,exports.ElmFragmentIdentifier=Ae,exports.ElmHeading=T,exports.ElmImage=A,exports.ElmInlineIcon=g,exports.ElmInlineText=v,exports.ElmJarkup=on,exports.ElmJsonComponentRenderer=en,exports.ElmKatex=Gt,exports.ElmLanguageIcon=re,exports.ElmList=Ne,exports.ElmLoginIcon=xe,exports.ElmMarkdown=ln,exports.ElmMdiIcon=p,exports.ElmMermaid=e.t,exports.ElmModal=gt,exports.ElmModelSelect=ee,exports.ElmMultiProgress=Be,exports.ElmOEmbed=dn,exports.ElmPageTop=Je,exports.ElmParagraph=S,exports.ElmParallax=bt,exports.ElmProgress=Re,exports.ElmRectangleWave=$e,exports.ElmSelect=m,exports.ElmShikiHighlighter=Ht,exports.ElmSimpleTooltip=wt,exports.ElmSnackbar=Et,exports.ElmSnackbarContainer=Ot,exports.ElmSpinner=nt,exports.ElmSquareLoadingIcon=ce,exports.ElmStatusMessage=Ue,exports.ElmSwitch=it,exports.ElmTable=Nt,exports.ElmTableBody=Pt,exports.ElmTableCell=It,exports.ElmTableHeader=Rt,exports.ElmTableOfContents=Xe,exports.ElmTableRow=q,exports.ElmTabs=kt,exports.ElmTemplate=Le,exports.ElmTextField=ot,exports.ElmToggle=At,exports.ElmToggleTheme=pe,exports.ElmTooltip=Ct,exports.ElmTyping=un,exports.ElmTypingAnimation=Fe,exports.ElmUnsupportedBlock=I,exports.ElmValidation=ct,exports.LANGUAGES=ie;
|