import{s as O,n as R,o as W}from"../chunks/scheduler.8a2cc2fa.js";import{S as Z,i as D,e as w,s,c as x,h as F,a as g,d as n,b as i,f as J,g as h,j as B,k as N,l as K,m as a,n as b,t as _,o as C,p as k}from"../chunks/index.7079e750.js";import{C as X,H as Q,E as tt}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.ac36d8ed.js";import{C as et}from"../chunks/CodeBlock.90bbfb62.js";function nt(V){let l,M,v,P,m,T,o,E,p,H,r,Y="… work in progress …",S,f,A="(Community contributions would we very welcome!)",q,$,z,u,I="The following code illustrates the steps above.",G,c,L,d,U,y,j;return m=new X({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),o=new Q({props:{title:"Quickstart",local:"quickstart",headingTag:"h1"}}),p=new Q({props:{title:"How does it work?",local:"how-does-it-work",headingTag:"h2"}}),$=new Q({props:{title:"Minimal examples",local:"minimal-examples",headingTag:"h2"}}),c=new et({props:{code:"Y29kZSUyMGV4YW1wbGVzJTIwd2lsbCUyMHNvb24lMjBmb2xsb3c=",highlighted:"code examples will soon follow",wrap:!1}}),d=new tt({props:{source:"https://github.com/bitsandbytes-foundation/bitsandbytes/blob/main/docs/source/quickstart.mdx"}}),{c(){l=w("meta"),M=s(),v=w("p"),P=s(),x(m.$$.fragment),T=s(),x(o.$$.fragment),E=s(),x(p.$$.fragment),H=s(),r=w("p"),r.textContent=Y,S=s(),f=w("p"),f.textContent=A,q=s(),x($.$$.fragment),z=s(),u=w("p"),u.textContent=I,G=s(),x(c.$$.fragment),L=s(),x(d.$$.fragment),U=s(),y=w("p"),this.h()},l(t){const e=F("svelte-u9bgzb",document.head);l=g(e,"META",{name:!0,content:!0}),e.forEach(n),M=i(t),v=g(t,"P",{}),J(v).forEach(n),P=i(t),h(m.$$.fragment,t),T=i(t),h(o.$$.fragment,t),E=i(t),h(p.$$.fragment,t),H=i(t),r=g(t,"P",{"data-svelte-h":!0}),B(r)!=="svelte-19do9vt"&&(r.textContent=Y),S=i(t),f=g(t,"P",{"data-svelte-h":!0}),B(f)!=="svelte-4e5907"&&(f.textContent=A),q=i(t),h($.$$.fragment,t),z=i(t),u=g(t,"P",{"data-svelte-h":!0}),B(u)!=="svelte-1pay5la"&&(u.textContent=I),G=i(t),h(c.$$.fragment,t),L=i(t),h(d.$$.fragment,t),U=i(t),y=g(t,"P",{}),J(y).forEach(n),this.h()},h(){N(l,"name","hf:doc:metadata"),N(l,"content",at)},m(t,e){K(document.head,l),a(t,M,e),a(t,v,e),a(t,P,e),b(m,t,e),a(t,T,e),b(o,t,e),a(t,E,e),b(p,t,e),a(t,H,e),a(t,r,e),a(t,S,e),a(t,f,e),a(t,q,e),b($,t,e),a(t,z,e),a(t,u,e),a(t,G,e),b(c,t,e),a(t,L,e),b(d,t,e),a(t,U,e),a(t,y,e),j=!0},p:R,i(t){j||(_(m.$$.fragment,t),_(o.$$.fragment,t),_(p.$$.fragment,t),_($.$$.fragment,t),_(c.$$.fragment,t),_(d.$$.fragment,t),j=!0)},o(t){C(m.$$.fragment,t),C(o.$$.fragment,t),C(p.$$.fragment,t),C($.$$.fragment,t),C(c.$$.fragment,t),C(d.$$.fragment,t),j=!1},d(t){t&&(n(M),n(v),n(P),n(T),n(E),n(H),n(r),n(S),n(f),n(q),n(z),n(u),n(G),n(L),n(U),n(y)),n(l),k(m,t),k(o,t),k(p,t),k($,t),k(c,t),k(d,t)}}}const at='{"title":"Quickstart","local":"quickstart","sections":[{"title":"How does it work?","local":"how-does-it-work","sections":[],"depth":2},{"title":"Minimal examples","local":"minimal-examples","sections":[],"depth":2}],"depth":1}';function st(V){return W(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class pt extends Z{constructor(l){super(),D(this,l,st,nt,O,{})}}export{pt as component};
