import{s as z,n as G,o as O}from"../chunks/scheduler.9cda857a.js";import{S as R,i as j,e as b,s as c,c as x,h as q,a as y,d as a,b as m,f as A,g as C,j as I,k as E,l as V,m as s,n as M,t as T,o as H,p as L}from"../chunks/index.003612b0.js";import{C as W}from"../chunks/CopyLLMTxtMenu.44d08a39.js";import{H as U,E as X}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.e5cfda8c.js";function B(P){let n,h,f,d,i,$,o,g,l,_,r,k='<li><a href="./spaces-using-opencv">Using OpenCV in Spaces</a></li> <li><a href="./spaces-more-ways-to-create">More ways to create Spaces</a></li> <li><a href="./spaces-github-actions">Managing Spaces with Github Actions</a></li> <li><a href="./spaces-circleci">Managing Spaces with CircleCI Workflows</a></li> <li><a href="./spaces-sdks-python">Custom Python Spaces</a></li> <li><a href="./spaces-add-to-arxiv">How to Add a Space to ArXiv</a></li> <li><a href="./spaces-cookie-limitations">Cookie limitations in Spaces</a></li> <li><a href="./spaces-handle-url-parameters">How to handle URL parameters in Spaces</a></li> <li><a href="./spaces-get-user-plan">How to get user status and plan in Spaces</a></li>',w,p,v,u,S;return i=new W({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),o=new U({props:{title:"Advanced Topics",local:"advanced-topics",headingTag:"h1"}}),l=new U({props:{title:"Contents",local:"contents",headingTag:"h2"}}),p=new X({props:{source:"https://github.com/huggingface/hub-docs/blob/main/docs/hub/spaces-advanced.md"}}),{c(){n=b("meta"),h=c(),f=b("p"),d=c(),x(i.$$.fragment),$=c(),x(o.$$.fragment),g=c(),x(l.$$.fragment),_=c(),r=b("ul"),r.innerHTML=k,w=c(),x(p.$$.fragment),v=c(),u=b("p"),this.h()},l(e){const t=q("svelte-u9bgzb",document.head);n=y(t,"META",{name:!0,content:!0}),t.forEach(a),h=m(e),f=y(e,"P",{}),A(f).forEach(a),d=m(e),C(i.$$.fragment,e),$=m(e),C(o.$$.fragment,e),g=m(e),C(l.$$.fragment,e),_=m(e),r=y(e,"UL",{"data-svelte-h":!0}),I(r)!=="svelte-k1zxap"&&(r.innerHTML=k),w=m(e),C(p.$$.fragment,e),v=m(e),u=y(e,"P",{}),A(u).forEach(a),this.h()},h(){E(n,"name","hf:doc:metadata"),E(n,"content",D)},m(e,t){V(document.head,n),s(e,h,t),s(e,f,t),s(e,d,t),M(i,e,t),s(e,$,t),M(o,e,t),s(e,g,t),M(l,e,t),s(e,_,t),s(e,r,t),s(e,w,t),M(p,e,t),s(e,v,t),s(e,u,t),S=!0},p:G,i(e){S||(T(i.$$.fragment,e),T(o.$$.fragment,e),T(l.$$.fragment,e),T(p.$$.fragment,e),S=!0)},o(e){H(i.$$.fragment,e),H(o.$$.fragment,e),H(l.$$.fragment,e),H(p.$$.fragment,e),S=!1},d(e){e&&(a(h),a(f),a(d),a($),a(g),a(_),a(r),a(w),a(v),a(u)),a(n),L(i,e),L(o,e),L(l,e),L(p,e)}}}const D='{"title":"Advanced Topics","local":"advanced-topics","sections":[{"title":"Contents","local":"contents","sections":[],"depth":2}],"depth":1}';function F(P){return O(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Y extends R{constructor(n){super(),j(this,n,F,B,z,{})}}export{Y as component};
