import{s as te,n as ne,o as ae}from"../chunks/scheduler.ea9963d4.js";import{S as ie,i as se,e as r,s as i,c as f,h as le,a as m,d as n,b as s,f as Z,g as p,j as N,k as ee,l as re,m as a,n as $,t as o,o as c,p as h}from"../chunks/index.2ecb6441.js";import{C as fe,H as x,E as me}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.09f0a531.js";function pe(Q){let l,C,y,E,g,j,u,z,d,D,_,S,T,V="• <code>Optional</code> <strong>accessToken</strong>: <code>string</code>",q,M,A,b,W='<a href="https://github.com/huggingface/huggingface.js/blob/main/packages/inference/src/types.ts#L139" rel="nofollow">inference/src/types.ts:139</a>',I,O,R,w,G,P,X='• <strong>authMethod</strong>: <a href="../modules#authmethod"><code>AuthMethod</code></a>',U,H,B,v,Y='<a href="https://github.com/huggingface/huggingface.js/blob/main/packages/inference/src/types.ts#L140" rel="nofollow">inference/src/types.ts:140</a>',F,L,J,k,K;return g=new fe({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),u=new x({props:{title:"Interface: HeaderParams",local:"interface-headerparams",headingTag:"h1"}}),d=new x({props:{title:"Properties",local:"properties",headingTag:"h2"}}),_=new x({props:{title:"accessToken",local:"accesstoken",headingTag:"h3"}}),M=new x({props:{title:"Defined in",local:"accesstoken.defined-in",headingTag:"h4"}}),w=new x({props:{title:"authMethod",local:"authmethod",headingTag:"h3"}}),H=new x({props:{title:"Defined in",local:"authmethod.defined-in",headingTag:"h4"}}),L=new me({props:{source:"https://github.com/huggingface/huggingface.js/blob/main/docs/inference/interfaces/HeaderParams.md"}}),{c(){l=r("meta"),C=i(),y=r("p"),E=i(),f(g.$$.fragment),j=i(),f(u.$$.fragment),z=i(),f(d.$$.fragment),D=i(),f(_.$$.fragment),S=i(),T=r("p"),T.innerHTML=V,q=i(),f(M.$$.fragment),A=i(),b=r("p"),b.innerHTML=W,I=i(),O=r("hr"),R=i(),f(w.$$.fragment),G=i(),P=r("p"),P.innerHTML=X,U=i(),f(H.$$.fragment),B=i(),v=r("p"),v.innerHTML=Y,F=i(),f(L.$$.fragment),J=i(),k=r("p"),this.h()},l(e){const t=le("svelte-u9bgzb",document.head);l=m(t,"META",{name:!0,content:!0}),t.forEach(n),C=s(e),y=m(e,"P",{}),Z(y).forEach(n),E=s(e),p(g.$$.fragment,e),j=s(e),p(u.$$.fragment,e),z=s(e),p(d.$$.fragment,e),D=s(e),p(_.$$.fragment,e),S=s(e),T=m(e,"P",{"data-svelte-h":!0}),N(T)!=="svelte-v7cll"&&(T.innerHTML=V),q=s(e),p(M.$$.fragment,e),A=s(e),b=m(e,"P",{"data-svelte-h":!0}),N(b)!=="svelte-20c4nr"&&(b.innerHTML=W),I=s(e),O=m(e,"HR",{}),R=s(e),p(w.$$.fragment,e),G=s(e),P=m(e,"P",{"data-svelte-h":!0}),N(P)!=="svelte-1wqeldb"&&(P.innerHTML=X),U=s(e),p(H.$$.fragment,e),B=s(e),v=m(e,"P",{"data-svelte-h":!0}),N(v)!=="svelte-z59h0z"&&(v.innerHTML=Y),F=s(e),p(L.$$.fragment,e),J=s(e),k=m(e,"P",{}),Z(k).forEach(n),this.h()},h(){ee(l,"name","hf:doc:metadata"),ee(l,"content",$e)},m(e,t){re(document.head,l),a(e,C,t),a(e,y,t),a(e,E,t),$(g,e,t),a(e,j,t),$(u,e,t),a(e,z,t),$(d,e,t),a(e,D,t),$(_,e,t),a(e,S,t),a(e,T,t),a(e,q,t),$(M,e,t),a(e,A,t),a(e,b,t),a(e,I,t),a(e,O,t),a(e,R,t),$(w,e,t),a(e,G,t),a(e,P,t),a(e,U,t),$(H,e,t),a(e,B,t),a(e,v,t),a(e,F,t),$(L,e,t),a(e,J,t),a(e,k,t),K=!0},p:ne,i(e){K||(o(g.$$.fragment,e),o(u.$$.fragment,e),o(d.$$.fragment,e),o(_.$$.fragment,e),o(M.$$.fragment,e),o(w.$$.fragment,e),o(H.$$.fragment,e),o(L.$$.fragment,e),K=!0)},o(e){c(g.$$.fragment,e),c(u.$$.fragment,e),c(d.$$.fragment,e),c(_.$$.fragment,e),c(M.$$.fragment,e),c(w.$$.fragment,e),c(H.$$.fragment,e),c(L.$$.fragment,e),K=!1},d(e){e&&(n(C),n(y),n(E),n(j),n(z),n(D),n(S),n(T),n(q),n(A),n(b),n(I),n(O),n(R),n(G),n(P),n(U),n(B),n(v),n(F),n(J),n(k)),n(l),h(g,e),h(u,e),h(d,e),h(_,e),h(M,e),h(w,e),h(H,e),h(L,e)}}}const $e='{"title":"Interface: HeaderParams","local":"interface-headerparams","sections":[{"title":"Properties","local":"properties","sections":[{"title":"accessToken","local":"accesstoken","sections":[{"title":"Defined in","local":"accesstoken.defined-in","sections":[],"depth":4}],"depth":3},{"title":"authMethod","local":"authmethod","sections":[{"title":"Defined in","local":"authmethod.defined-in","sections":[],"depth":4}],"depth":3}],"depth":2}],"depth":1}';function oe(Q){return ae(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ue extends ie{constructor(l){super(),se(this,l,oe,pe,te,{})}}export{ue as component};
