"use strict";exports.id=5065,exports.ids=[5065],exports.modules={35065:(a,b,c)=>{c.d(b,{docusaurusToArchbee:()=>s});var d=c(73024),e=c(76760),f=c(29975);let g=async a=>{(0,d.readFileSync)(a,"utf-8"),e.extname(a);let b=(()=>{throw Error("esbuild is not available in preview mode")})(),c={},f={exports:c};Function("module","exports","require","__dirname",b.code)(f,c,a=>"path"===a?e:"prism-react-renderer"===a?{themes:new Proxy({},{get:()=>({})})}:{},e.dirname(a));let g=f.exports;return g.default??g},h=async(a,b)=>{if(!b){for(let b of[e.join(a,"sidebars.js"),e.join(a,"sidebars.ts")])if((0,d.existsSync)(b))return await g(b);return null}let c=e.resolve(a,b);if((0,d.existsSync)(c))return await g(c);let f=c.endsWith(".ts")?c.replace(/\.ts$/,".js"):c.replace(/\.js$/,".ts");return(0,d.existsSync)(f)?await g(f):null},i=a=>a.map(a=>"string"==typeof a?{path:a,name:j(a)}:"category"===a.type&&a.items?{isCategory:!0,categoryName:a.label||"Category",children:i(a.items)}:"doc"===a.type||a.id?{path:a.id||"unknown",name:a.label||j(a.id||"")}:"link"===a.type&&a.link?.id?{path:a.link.id,name:a.label||j(a.link.id)}:{path:"unknown",name:a.label||"Unknown"}),j=a=>{let b=a.split("/");return b[b.length-1].split("-").map(a=>a.charAt(0).toUpperCase()+a.slice(1)).join(" ")},k=a=>{try{let b=(0,d.readFileSync)(a,"utf-8").match(/^---\s*\n([\s\S]*?)\n---/);if(b){let a=b[1].match(/sidebar_position:\s*(\d+)/);if(a)return parseInt(a[1],10)}}catch{}return 999},l=a=>{try{let b=(0,d.readFileSync)(a,"utf-8").match(/^---\s*\n([\s\S]*?)\n---/);if(b){let a=b[1].match(/title:\s*['"]?(.+?)['"]?\s*$/);if(a)return a[1]}}catch{}return null},m=(a,b)=>{let c=[];for(let f of(0,d.readdirSync)(a,{withFileTypes:!0}).filter(a=>!a.name.startsWith("_")&&!a.name.startsWith("."))){let g=e.join(a,f.name);if(f.isDirectory()){let a=f.name.split("-").map(a=>a.charAt(0).toUpperCase()+a.slice(1)).join(" "),h=999,i=e.join(g,"_category_.json");if((0,d.existsSync)(i))try{let b=JSON.parse((0,d.readFileSync)(i,"utf-8"));b.label&&(a=b.label),null!=b.position&&(h=b.position)}catch{}let j=m(g,b);j.length>0&&c.push({position:h,value:{type:"category",label:a,items:j}})}else if(/\.(mdx?|md)$/.test(f.name)){let a=e.relative(b,g).replace(/\.(mdx?|md)$/,"").replace(/\\/g,"/");c.push({position:k(g),value:a})}}return c.sort((a,b)=>a.position-b.position).map(a=>a.value)},n=a=>{let b=(0,d.readdirSync)(a,{withFileTypes:!0}),c=[],f=/^(\d{4}-\d{2}-\d{2})-(.+)$/;for(let g of b){let b=g.name.match(f);if(!b)continue;let[,h,i]=b;if(g.isDirectory()){let b=["index.md","index.mdx"].find(b=>(0,d.existsSync)(e.join(a,g.name,b)));if(!b)continue;let f=l(e.join(a,g.name,b))||j(i);c.push({date:h,slug:i,title:f,path:g.name})}else if(/\.(mdx?|md)$/.test(g.name)){let b=i.replace(/\.(mdx?|md)$/,""),d=l(e.join(a,g.name))||j(b);c.push({date:h,slug:b,title:d,path:g.name.replace(/\.(mdx?|md)$/,"")})}}return c.sort((a,b)=>b.date.localeCompare(a.date)),c.map(a=>({path:a.path,name:a.title}))},o="#2e8555",p="#25c2a0",q=a=>a?a.startsWith("static/")?a:`static/${a}`:void 0,r=async(a,b,c,f)=>{let g,k=e.resolve(a,b),l=await h(a,c),n=i((g=(l?Object.values(l)[0]:[])||[],g.flatMap(a=>{if("string"!=typeof a&&"autogenerated"===a.type){let b=e.resolve(k,a.dirName||".");return(0,d.existsSync)(b)?m(b,k):[]}return[a]})));return{name:f||j(b),docsPath:b,docsTree:n}},s=async a=>{let b,c;try{b=await g(a)}catch(b){throw Error(`Failed to load Docusaurus config
  File: ${a}
  ${b.message}`)}let h=e.dirname(a),i=b.presets?.find(a=>Array.isArray(a)&&(a[0].includes("preset-classic")||"classic"===a[0])),k=Array.isArray(i)?i[1]:{},l=k?.docs?.path||((0,d.existsSync)(e.join(h,"docs"))?"docs":"."),m=await r(h,l,k?.docs?.sidebarPath,b.title||"Docs"),s=[],t=k?.blog?.path||"blog",u=e.join(h,t);if((0,d.existsSync)(u)){let a=n(u);a.length>0&&s.push({name:"Blog",docsPath:t,docsTree:a})}for(let a of b.plugins||[]){if(!Array.isArray(a))continue;let[b,c]=a;if(!c?.path)continue;let f=c.path,g=e.join(h,f);if((0,d.existsSync)(g)){if(b.includes("plugin-content-docs")){let a=await r(h,f,c.sidebarPath,j(c.id||c.routeBasePath||f));s.push(a)}if(b.includes("plugin-content-blog")){let a=n(g);a.length>0&&s.push({name:j(c.id||"Blog"),docsPath:f,docsTree:a})}}}let v=(c=b.themeConfig,(c?.navbar?.items||[]).filter(a=>a.href).map(a=>({label:a.label||"",url:a.href}))),w=(a=>{let b=a?.footer;if(!b)return;let c=b.links&&b.links.length>0,d=!!b.copyright;if(!c&&!d)return;let e="dark"===b.style,f=e?"text-gray-200":"text-gray-600 dark:text-gray-300",g=e?"text-gray-400 hover:text-gray-200":"text-gray-400 dark:text-gray-500 hover:text-gray-600 dark:hover:text-gray-300",h=(b.links||[]).map(a=>{let b=(a.items||[]).map(a=>{let b=a.href||a.to||"#",c=!!a.href;return`<li class="mt-2"><a href="${b}"${c?' target="_blank" rel="noopener noreferrer"':""} class="text-lg ${g} no-underline transition-colors">${a.label||""}${c?' <svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="display:inline;vertical-align:middle;margin-left:4px;opacity:0.5"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>':""}</a></li>`}).join("\n            ");return`<div class="text-left">
          <div class="text-lg font-semibold ${f} mb-3">${a.title||""}</div>
          <ul class="list-none p-0 m-0">
            ${b}
          </ul>
        </div>`}).join("\n        "),i=d?`<div class="mt-8 pt-6 text-center text-lg ${e?"text-gray-400":"text-gray-400 dark:text-gray-500"}">${b.copyright}</div>`:"";return`<footer class="pt-10 pb-24">
    <div class="max-w-[1400px] mx-auto px-6">
      <div class="flex flex-wrap justify-around gap-y-8 gap-x-12">
        ${h}
      </div>
      ${i}
    </div>
</footer>`})(b.themeConfig),x=k?.theme?.customCss,y=Array.isArray(x)?x[0]:x,z=y?e.resolve(h,y):"",A=z?(a=>{let b={hostingColor:o,darkHostingColor:p};if(!(0,d.existsSync)(a))return b;try{let c=(0,d.readFileSync)(a,"utf-8"),e=c.match(/:root\s*\{[^}]*--ifm-color-primary:\s*(#[0-9a-fA-F]{3,8})\s*;/),f=c.match(/\[data-theme=["']dark["']\]\s*\{[^}]*--ifm-color-primary:\s*(#[0-9a-fA-F]{3,8})\s*;/);return{hostingColor:e?.[1]||b.hostingColor,darkHostingColor:f?.[1]||b.darkHostingColor}}catch{return b}})(z):{hostingColor:o,darkHostingColor:p},B=((a,b)=>{if(!b)return;let c=Array.isArray(b)?b:[b],f=[];for(let b of c){let c=e.resolve(a,b);if((0,d.existsSync)(c))try{f.push((0,d.readFileSync)(c,"utf-8"))}catch{}}if(0!==f.length)return`<style>${f.join("\n")}</style>`})(h,x),C=q(b.themeConfig?.navbar?.logo?.src),D=q(b.themeConfig?.navbar?.logo?.srcDark),E=b.themeConfig?.colorMode,F={name:b.title,template:"stripe",publicTheme:E?.defaultMode==="dark"?"dark":"light",showThemeSwitcher:E?.disableSwitch!==!0,publicLogoURL:C,darkPublicLogoURL:D,faviconURL:q(b.favicon),hostingColor:A.hostingColor,darkHostingColor:A.darkHostingColor,docsPath:m.docsPath,structure:{docsTree:m.docsTree},...s.length>0&&{sites:s.map(a=>({name:a.name,docsPath:a.docsPath,structure:{docsTree:a.docsTree}}))},...v.length>0&&{externalLinks:v},...w&&{footerTemplate:w},...(()=>{let a=[B];if(w){let c=b.themeConfig?.footer?.style==="dark";a.push(`<style>.ab-footer-container { width: 100%; max-width: 100% !important; margin: 0 !important; border-top: 1px solid hsl(var(--ab-gray-200)); ${c?"background-color: #1b1b1d; color: #fff;":""}} .dark .ab-footer-container { border-color: hsl(var(--ab-gray-700)); ${c?"background-color: #18181b;":""}}</style>`)}let c=a.filter(Boolean).join("\n");return c?{customCSS:c}:{}})()};return(0,f.b8)(F)}}};