import{S as Nt,i as Ot,s as jt,e as a,k as g,w as I,t,M as qt,c as s,d as o,m as u,a as r,x as A,h as n,b as f,G as e,g as E,y as L,q as N,o as O,B as j,v as Tt,L as Ft}from"../../chunks/vendor-hf-doc-builder.js";import{T as At}from"../../chunks/Tip-hf-doc-builder.js";import{D as ze}from"../../chunks/Docstring-hf-doc-builder.js";import{C as Wt}from"../../chunks/CodeBlock-hf-doc-builder.js";import{I as Lt}from"../../chunks/IconCopyLink-hf-doc-builder.js";import{E as Ut}from"../../chunks/ExampleCodeBlock-hf-doc-builder.js";function Bt(U){let c,$,d,h,_,l,m,x;return{c(){c=a("p"),$=t("It is required to be logged in ("),d=a("code"),h=t("huggingface-cli login"),_=t(") when you want to use private or "),l=a("a"),m=t(`gated
models`),x=t("."),this.h()},l(q){c=s(q,"P",{});var y=r(c);$=n(y,"It is required to be logged in ("),d=s(y,"CODE",{});var b=r(d);h=n(b,"huggingface-cli login"),b.forEach(o),_=n(y,") when you want to use private or "),l=s(y,"A",{href:!0,rel:!0});var re=r(l);m=n(re,`gated
models`),re.forEach(o),x=n(y,"."),y.forEach(o),this.h()},h(){f(l,"href","https://huggingface.co/docs/hub/models-gated#gated-models"),f(l,"rel","nofollow")},m(q,y){E(q,c,y),e(c,$),e(c,d),e(d,h),e(c,_),e(c,l),e(l,m),e(c,x)},d(q){q&&o(c)}}}function Gt(U){let c,$,d,h,_;return{c(){c=a("p"),$=t("Activate the special "),d=a("a"),h=t("\u201Coffline-mode\u201D"),_=t(` to
use this method in a firewalled environment.`),this.h()},l(l){c=s(l,"P",{});var m=r(c);$=n(m,"Activate the special "),d=s(m,"A",{href:!0,rel:!0});var x=r(d);h=n(x,"\u201Coffline-mode\u201D"),x.forEach(o),_=n(m,` to
use this method in a firewalled environment.`),m.forEach(o),this.h()},h(){f(d,"href","https://huggingface.co/transformers/installation.html#offline-mode"),f(d,"rel","nofollow")},m(l,m){E(l,c,m),e(c,$),e(c,d),e(d,h),e(c,_)},d(l){l&&o(c)}}}function Rt(U){let c,$,d,h,_;return h=new Wt({props:{code:`from diffusers import DDPMScheduler, DDIMScheduler, PNDMScheduler

# Download scheduler from huggingface.co and cache.
scheduler = DDPMScheduler.from_pretrained("google/ddpm-cifar10-32")

# Instantiate DDIM scheduler class with same config as DDPM
scheduler = DDIMScheduler.from_config(scheduler.config)

# Instantiate PNDM scheduler class with same config as DDPM
scheduler = PNDMScheduler.from_config(scheduler.config)`,highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> DDPMScheduler, DDIMScheduler, PNDMScheduler

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Download scheduler from huggingface.co and cache.</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>scheduler = DDPMScheduler.from_pretrained(<span class="hljs-string">&quot;google/ddpm-cifar10-32&quot;</span>)

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Instantiate DDIM scheduler class with same config as DDPM</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>scheduler = DDIMScheduler.from_config(scheduler.config)

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># Instantiate PNDM scheduler class with same config as DDPM</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>scheduler = PNDMScheduler.from_config(scheduler.config)`}}),{c(){c=a("p"),$=t("Examples:"),d=g(),I(h.$$.fragment)},l(l){c=s(l,"P",{});var m=r(c);$=n(m,"Examples:"),m.forEach(o),d=u(l),A(h.$$.fragment,l)},m(l,m){E(l,c,m),e(c,$),E(l,d,m),L(h,l,m),_=!0},p:Ft,i(l){_||(N(h.$$.fragment,l),_=!0)},o(l){O(h.$$.fragment,l),_=!1},d(l){l&&o(c),l&&o(d),j(h,l)}}}function Vt(U){let c,$,d,h,_,l,m,x,q,y,b,re,ie,He,Ke,le,Qe,Xe,ce,Ye,Ze,ve,eo,oo,Ue,T,B,be,X,to,$e,no,Be,p,Y,ao,F,so,we,ro,io,de,lo,co,fo,Z,ye,fe,ho,go,xe,he,uo,mo,Me,po,_o,D,C,Ee,vo,bo,De,$o,wo,ge,yo,xo,Mo,G,Ce,Eo,Do,ke,Co,ko,Po,R,Pe,So,Io,Se,Ao,Lo,No,k,Ie,Oo,jo,Ae,qo,To,Le,Fo,Wo,Uo,M,ee,Bo,Ne,Go,Ro,V,Vo,J,Jo,P,oe,zo,Oe,Ho,Ko,z,Qo,H,te,Xo,W,Yo,je,Zo,et,ue,ot,tt,Ge;return l=new Lt({}),X=new Lt({}),Y=new ze({props:{name:"class diffusers.ConfigMixin",anchor:"diffusers.ConfigMixin",parameters:[],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/configuration_utils.py#L74"}}),ee=new ze({props:{name:"load_config",anchor:"diffusers.ConfigMixin.load_config",parameters:[{name:"pretrained_model_name_or_path",val:": typing.Union[str, os.PathLike]"},{name:"return_unused_kwargs",val:" = False"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.ConfigMixin.load_config.pretrained_model_name_or_path",description:`<strong>pretrained_model_name_or_path</strong> (<code>str</code> or <code>os.PathLike</code>, <em>optional</em>) &#x2014;
Can be either:</p>
<ul>
<li>A string, the <em>model id</em> of a model repo on huggingface.co. Valid model ids should have an
organization name, like <code>google/ddpm-celebahq-256</code>.</li>
<li>A path to a <em>directory</em> containing model weights saved using <a href="/docs/diffusers/main/en/api/configuration#diffusers.ConfigMixin.save_config">save_config()</a>, e.g.,
<code>./my_model_directory/</code>.</li>
</ul>`,name:"pretrained_model_name_or_path"},{anchor:"diffusers.ConfigMixin.load_config.cache_dir",description:`<strong>cache_dir</strong> (<code>Union[str, os.PathLike]</code>, <em>optional</em>) &#x2014;
Path to a directory in which a downloaded pretrained model configuration should be cached if the
standard cache should not be used.`,name:"cache_dir"},{anchor:"diffusers.ConfigMixin.load_config.force_download",description:`<strong>force_download</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether or not to force the (re-)download of the model weights and configuration files, overriding the
cached versions if they exist.`,name:"force_download"},{anchor:"diffusers.ConfigMixin.load_config.resume_download",description:`<strong>resume_download</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether or not to delete incompletely received files. Will attempt to resume the download if such a
file exists.`,name:"resume_download"},{anchor:"diffusers.ConfigMixin.load_config.proxies",description:`<strong>proxies</strong> (<code>Dict[str, str]</code>, <em>optional</em>) &#x2014;
A dictionary of proxy servers to use by protocol or endpoint, e.g., <code>{&apos;http&apos;: &apos;foo.bar:3128&apos;, &apos;http://hostname&apos;: &apos;foo.bar:4012&apos;}</code>. The proxies are used on each request.`,name:"proxies"},{anchor:"diffusers.ConfigMixin.load_config.output_loading_info(bool,",description:`<strong>output_loading_info(<code>bool</code>,</strong> <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether or not to also return a dictionary containing missing keys, unexpected keys and error messages.`,name:"output_loading_info(bool,"},{anchor:"diffusers.ConfigMixin.load_config.local_files_only(bool,",description:`<strong>local_files_only(<code>bool</code>,</strong> <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether or not to only look at local files (i.e., do not try to download the model).`,name:"local_files_only(bool,"},{anchor:"diffusers.ConfigMixin.load_config.use_auth_token",description:`<strong>use_auth_token</strong> (<code>str</code> or <em>bool</em>, <em>optional</em>) &#x2014;
The token to use as HTTP bearer authorization for remote files. If <code>True</code>, will use the token generated
when running <code>transformers-cli login</code> (stored in <code>~/.huggingface</code>).`,name:"use_auth_token"},{anchor:"diffusers.ConfigMixin.load_config.revision",description:`<strong>revision</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;main&quot;</code>) &#x2014;
The specific model version to use. It can be a branch name, a tag name, or a commit id, since we use a
git-based system for storing models and other artifacts on huggingface.co, so <code>revision</code> can be any
identifier allowed by git.`,name:"revision"},{anchor:"diffusers.ConfigMixin.load_config.subfolder",description:`<strong>subfolder</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;&quot;</code>) &#x2014;
In case the relevant files are located inside a subfolder of the model repo (either remote in
huggingface.co or downloaded locally), you can specify the folder name here.`,name:"subfolder"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/configuration_utils.py#L232"}}),V=new At({props:{$$slots:{default:[Bt]},$$scope:{ctx:U}}}),J=new At({props:{$$slots:{default:[Gt]},$$scope:{ctx:U}}}),oe=new ze({props:{name:"from_config",anchor:"diffusers.ConfigMixin.from_config",parameters:[{name:"config",val:": typing.Union[diffusers.configuration_utils.FrozenDict, typing.Dict[str, typing.Any]] = None"},{name:"return_unused_kwargs",val:" = False"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.ConfigMixin.from_config.config",description:`<strong>config</strong> (<code>Dict[str, Any]</code>) &#x2014;
A config dictionary from which the Python class will be instantiated. Make sure to only load
configuration files of compatible classes.`,name:"config"},{anchor:"diffusers.ConfigMixin.from_config.return_unused_kwargs",description:`<strong>return_unused_kwargs</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether kwargs that are not consumed by the Python class should be returned or not.`,name:"return_unused_kwargs"},{anchor:"diffusers.ConfigMixin.from_config.kwargs",description:`<strong>kwargs</strong> (remaining dictionary of keyword arguments, <em>optional</em>) &#x2014;
Can be used to update the configuration object (after it being loaded) and initiate the Python class.
<code>**kwargs</code> will be directly passed to the underlying scheduler/model&#x2019;s <code>__init__</code> method and eventually
overwrite same named arguments of <code>config</code>.`,name:"kwargs"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/configuration_utils.py#L140"}}),z=new Ut({props:{anchor:"diffusers.ConfigMixin.from_config.example",$$slots:{default:[Rt]},$$scope:{ctx:U}}}),te=new ze({props:{name:"save_config",anchor:"diffusers.ConfigMixin.save_config",parameters:[{name:"save_directory",val:": typing.Union[str, os.PathLike]"},{name:"push_to_hub",val:": bool = False"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.ConfigMixin.save_config.save_directory",description:`<strong>save_directory</strong> (<code>str</code> or <code>os.PathLike</code>) &#x2014;
Directory where the configuration JSON file will be saved (will be created if it does not exist).`,name:"save_directory"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/configuration_utils.py#L120"}}),{c(){c=a("meta"),$=g(),d=a("h1"),h=a("a"),_=a("span"),I(l.$$.fragment),m=g(),x=a("span"),q=t("Configuration"),y=g(),b=a("p"),re=t("In Diffusers, schedulers of type "),ie=a("a"),He=t("schedulers.scheduling_utils.SchedulerMixin"),Ke=t(", and models of type "),le=a("a"),Qe=t("ModelMixin"),Xe=t(" inherit from "),ce=a("a"),Ye=t("ConfigMixin"),Ze=t(` which conveniently takes care of storing all parameters that are
passed to the respective `),ve=a("code"),eo=t("__init__"),oo=t(" methods in a JSON-configuration file."),Ue=g(),T=a("h2"),B=a("a"),be=a("span"),I(X.$$.fragment),to=g(),$e=a("span"),no=t("ConfigMixin"),Be=g(),p=a("div"),I(Y.$$.fragment),ao=g(),F=a("p"),so=t("Base class for all configuration classes. Stores all configuration parameters under "),we=a("code"),ro=t("self.config"),io=t(` Also handles all
methods for loading/downloading/saving classes inheriting from `),de=a("a"),lo=t("ConfigMixin"),co=t(" with"),fo=g(),Z=a("ul"),ye=a("li"),fe=a("a"),ho=t("from_config()"),go=g(),xe=a("li"),he=a("a"),uo=t("save_config()"),mo=g(),Me=a("p"),po=t("Class attributes:"),_o=g(),D=a("ul"),C=a("li"),Ee=a("strong"),vo=t("config_name"),bo=t(" ("),De=a("code"),$o=t("str"),wo=t(`) \u2014 A filename under which the config should stored when calling
`),ge=a("a"),yo=t("save_config()"),xo=t(" (should be overridden by parent class)."),Mo=g(),G=a("li"),Ce=a("strong"),Eo=t("ignore_for_config"),Do=t(" ("),ke=a("code"),Co=t("List[str]"),ko=t(`) \u2014 A list of attributes that should not be saved in the config (should be
overridden by subclass).`),Po=g(),R=a("li"),Pe=a("strong"),So=t("has_compatibles"),Io=t(" ("),Se=a("code"),Ao=t("bool"),Lo=t(") \u2014 Whether the class has compatible classes (should be overridden by subclass)."),No=g(),k=a("li"),Ie=a("strong"),Oo=t("_deprecated_kwargs"),jo=t(" ("),Ae=a("code"),qo=t("List[str]"),To=t(`) \u2014 Keyword arguments that are deprecated. Note that the init function
should only have a `),Le=a("code"),Fo=t("kwargs"),Wo=t(` argument if at least one argument is deprecated (should be overridden by
subclass).`),Uo=g(),M=a("div"),I(ee.$$.fragment),Bo=g(),Ne=a("p"),Go=t("Instantiate a Python class from a config dictionary"),Ro=g(),I(V.$$.fragment),Vo=g(),I(J.$$.fragment),Jo=g(),P=a("div"),I(oe.$$.fragment),zo=g(),Oe=a("p"),Ho=t("Instantiate a Python class from a config dictionary"),Ko=g(),I(z.$$.fragment),Qo=g(),H=a("div"),I(te.$$.fragment),Xo=g(),W=a("p"),Yo=t("Save a configuration object to the directory "),je=a("code"),Zo=t("save_directory"),et=t(`, so that it can be re-loaded using the
`),ue=a("a"),ot=t("from_config()"),tt=t(" class method."),this.h()},l(i){const v=qt('[data-svelte="svelte-1phssyn"]',document.head);c=s(v,"META",{name:!0,content:!0}),v.forEach(o),$=u(i),d=s(i,"H1",{class:!0});var ne=r(d);h=s(ne,"A",{id:!0,class:!0,href:!0});var qe=r(h);_=s(qe,"SPAN",{});var Te=r(_);A(l.$$.fragment,Te),Te.forEach(o),qe.forEach(o),m=u(ne),x=s(ne,"SPAN",{});var nt=r(x);q=n(nt,"Configuration"),nt.forEach(o),ne.forEach(o),y=u(i),b=s(i,"P",{});var S=r(b);re=n(S,"In Diffusers, schedulers of type "),ie=s(S,"A",{href:!0});var at=r(ie);He=n(at,"schedulers.scheduling_utils.SchedulerMixin"),at.forEach(o),Ke=n(S,", and models of type "),le=s(S,"A",{href:!0});var st=r(le);Qe=n(st,"ModelMixin"),st.forEach(o),Xe=n(S," inherit from "),ce=s(S,"A",{href:!0});var rt=r(ce);Ye=n(rt,"ConfigMixin"),rt.forEach(o),Ze=n(S,` which conveniently takes care of storing all parameters that are
passed to the respective `),ve=s(S,"CODE",{});var it=r(ve);eo=n(it,"__init__"),it.forEach(o),oo=n(S," methods in a JSON-configuration file."),S.forEach(o),Ue=u(i),T=s(i,"H2",{class:!0});var Re=r(T);B=s(Re,"A",{id:!0,class:!0,href:!0});var lt=r(B);be=s(lt,"SPAN",{});var ct=r(be);A(X.$$.fragment,ct),ct.forEach(o),lt.forEach(o),to=u(Re),$e=s(Re,"SPAN",{});var dt=r($e);no=n(dt,"ConfigMixin"),dt.forEach(o),Re.forEach(o),Be=u(i),p=s(i,"DIV",{class:!0});var w=r(p);A(Y.$$.fragment,w),ao=u(w),F=s(w,"P",{});var me=r(F);so=n(me,"Base class for all configuration classes. Stores all configuration parameters under "),we=s(me,"CODE",{});var ft=r(we);ro=n(ft,"self.config"),ft.forEach(o),io=n(me,` Also handles all
methods for loading/downloading/saving classes inheriting from `),de=s(me,"A",{href:!0});var ht=r(de);lo=n(ht,"ConfigMixin"),ht.forEach(o),co=n(me," with"),me.forEach(o),fo=u(w),Z=s(w,"UL",{});var Ve=r(Z);ye=s(Ve,"LI",{});var gt=r(ye);fe=s(gt,"A",{href:!0});var ut=r(fe);ho=n(ut,"from_config()"),ut.forEach(o),gt.forEach(o),go=u(Ve),xe=s(Ve,"LI",{});var mt=r(xe);he=s(mt,"A",{href:!0});var pt=r(he);uo=n(pt,"save_config()"),pt.forEach(o),mt.forEach(o),Ve.forEach(o),mo=u(w),Me=s(w,"P",{});var _t=r(Me);po=n(_t,"Class attributes:"),_t.forEach(o),_o=u(w),D=s(w,"UL",{});var K=r(D);C=s(K,"LI",{});var ae=r(C);Ee=s(ae,"STRONG",{});var vt=r(Ee);vo=n(vt,"config_name"),vt.forEach(o),bo=n(ae," ("),De=s(ae,"CODE",{});var bt=r(De);$o=n(bt,"str"),bt.forEach(o),wo=n(ae,`) \u2014 A filename under which the config should stored when calling
`),ge=s(ae,"A",{href:!0});var $t=r(ge);yo=n($t,"save_config()"),$t.forEach(o),xo=n(ae," (should be overridden by parent class)."),ae.forEach(o),Mo=u(K),G=s(K,"LI",{});var Fe=r(G);Ce=s(Fe,"STRONG",{});var wt=r(Ce);Eo=n(wt,"ignore_for_config"),wt.forEach(o),Do=n(Fe," ("),ke=s(Fe,"CODE",{});var yt=r(ke);Co=n(yt,"List[str]"),yt.forEach(o),ko=n(Fe,`) \u2014 A list of attributes that should not be saved in the config (should be
overridden by subclass).`),Fe.forEach(o),Po=u(K),R=s(K,"LI",{});var We=r(R);Pe=s(We,"STRONG",{});var xt=r(Pe);So=n(xt,"has_compatibles"),xt.forEach(o),Io=n(We," ("),Se=s(We,"CODE",{});var Mt=r(Se);Ao=n(Mt,"bool"),Mt.forEach(o),Lo=n(We,") \u2014 Whether the class has compatible classes (should be overridden by subclass)."),We.forEach(o),No=u(K),k=s(K,"LI",{});var se=r(k);Ie=s(se,"STRONG",{});var Et=r(Ie);Oo=n(Et,"_deprecated_kwargs"),Et.forEach(o),jo=n(se," ("),Ae=s(se,"CODE",{});var Dt=r(Ae);qo=n(Dt,"List[str]"),Dt.forEach(o),To=n(se,`) \u2014 Keyword arguments that are deprecated. Note that the init function
should only have a `),Le=s(se,"CODE",{});var Ct=r(Le);Fo=n(Ct,"kwargs"),Ct.forEach(o),Wo=n(se,` argument if at least one argument is deprecated (should be overridden by
subclass).`),se.forEach(o),K.forEach(o),Uo=u(w),M=s(w,"DIV",{class:!0});var Q=r(M);A(ee.$$.fragment,Q),Bo=u(Q),Ne=s(Q,"P",{});var kt=r(Ne);Go=n(kt,"Instantiate a Python class from a config dictionary"),kt.forEach(o),Ro=u(Q),A(V.$$.fragment,Q),Vo=u(Q),A(J.$$.fragment,Q),Q.forEach(o),Jo=u(w),P=s(w,"DIV",{class:!0});var pe=r(P);A(oe.$$.fragment,pe),zo=u(pe),Oe=s(pe,"P",{});var Pt=r(Oe);Ho=n(Pt,"Instantiate a Python class from a config dictionary"),Pt.forEach(o),Ko=u(pe),A(z.$$.fragment,pe),pe.forEach(o),Qo=u(w),H=s(w,"DIV",{class:!0});var Je=r(H);A(te.$$.fragment,Je),Xo=u(Je),W=s(Je,"P",{});var _e=r(W);Yo=n(_e,"Save a configuration object to the directory "),je=s(_e,"CODE",{});var St=r(je);Zo=n(St,"save_directory"),St.forEach(o),et=n(_e,`, so that it can be re-loaded using the
`),ue=s(_e,"A",{href:!0});var It=r(ue);ot=n(It,"from_config()"),It.forEach(o),tt=n(_e," class method."),_e.forEach(o),Je.forEach(o),w.forEach(o),this.h()},h(){f(c,"name","hf:doc:metadata"),f(c,"content",JSON.stringify(Jt)),f(h,"id","configuration"),f(h,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),f(h,"href","#configuration"),f(d,"class","relative group"),f(ie,"href","/docs/diffusers/main/en/api/schedulers/overview#diffusers.SchedulerMixin"),f(le,"href","/docs/diffusers/main/en/api/models#diffusers.ModelMixin"),f(ce,"href","/docs/diffusers/main/en/api/configuration#diffusers.ConfigMixin"),f(B,"id","diffusers.ConfigMixin"),f(B,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),f(B,"href","#diffusers.ConfigMixin"),f(T,"class","relative group"),f(de,"href","/docs/diffusers/main/en/api/configuration#diffusers.ConfigMixin"),f(fe,"href","/docs/diffusers/main/en/api/configuration#diffusers.ConfigMixin.from_config"),f(he,"href","/docs/diffusers/main/en/api/configuration#diffusers.ConfigMixin.save_config"),f(ge,"href","/docs/diffusers/main/en/api/configuration#diffusers.ConfigMixin.save_config"),f(M,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),f(P,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),f(ue,"href","/docs/diffusers/main/en/api/configuration#diffusers.ConfigMixin.from_config"),f(H,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),f(p,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8")},m(i,v){e(document.head,c),E(i,$,v),E(i,d,v),e(d,h),e(h,_),L(l,_,null),e(d,m),e(d,x),e(x,q),E(i,y,v),E(i,b,v),e(b,re),e(b,ie),e(ie,He),e(b,Ke),e(b,le),e(le,Qe),e(b,Xe),e(b,ce),e(ce,Ye),e(b,Ze),e(b,ve),e(ve,eo),e(b,oo),E(i,Ue,v),E(i,T,v),e(T,B),e(B,be),L(X,be,null),e(T,to),e(T,$e),e($e,no),E(i,Be,v),E(i,p,v),L(Y,p,null),e(p,ao),e(p,F),e(F,so),e(F,we),e(we,ro),e(F,io),e(F,de),e(de,lo),e(F,co),e(p,fo),e(p,Z),e(Z,ye),e(ye,fe),e(fe,ho),e(Z,go),e(Z,xe),e(xe,he),e(he,uo),e(p,mo),e(p,Me),e(Me,po),e(p,_o),e(p,D),e(D,C),e(C,Ee),e(Ee,vo),e(C,bo),e(C,De),e(De,$o),e(C,wo),e(C,ge),e(ge,yo),e(C,xo),e(D,Mo),e(D,G),e(G,Ce),e(Ce,Eo),e(G,Do),e(G,ke),e(ke,Co),e(G,ko),e(D,Po),e(D,R),e(R,Pe),e(Pe,So),e(R,Io),e(R,Se),e(Se,Ao),e(R,Lo),e(D,No),e(D,k),e(k,Ie),e(Ie,Oo),e(k,jo),e(k,Ae),e(Ae,qo),e(k,To),e(k,Le),e(Le,Fo),e(k,Wo),e(p,Uo),e(p,M),L(ee,M,null),e(M,Bo),e(M,Ne),e(Ne,Go),e(M,Ro),L(V,M,null),e(M,Vo),L(J,M,null),e(p,Jo),e(p,P),L(oe,P,null),e(P,zo),e(P,Oe),e(Oe,Ho),e(P,Ko),L(z,P,null),e(p,Qo),e(p,H),L(te,H,null),e(H,Xo),e(H,W),e(W,Yo),e(W,je),e(je,Zo),e(W,et),e(W,ue),e(ue,ot),e(W,tt),Ge=!0},p(i,[v]){const ne={};v&2&&(ne.$$scope={dirty:v,ctx:i}),V.$set(ne);const qe={};v&2&&(qe.$$scope={dirty:v,ctx:i}),J.$set(qe);const Te={};v&2&&(Te.$$scope={dirty:v,ctx:i}),z.$set(Te)},i(i){Ge||(N(l.$$.fragment,i),N(X.$$.fragment,i),N(Y.$$.fragment,i),N(ee.$$.fragment,i),N(V.$$.fragment,i),N(J.$$.fragment,i),N(oe.$$.fragment,i),N(z.$$.fragment,i),N(te.$$.fragment,i),Ge=!0)},o(i){O(l.$$.fragment,i),O(X.$$.fragment,i),O(Y.$$.fragment,i),O(ee.$$.fragment,i),O(V.$$.fragment,i),O(J.$$.fragment,i),O(oe.$$.fragment,i),O(z.$$.fragment,i),O(te.$$.fragment,i),Ge=!1},d(i){o(c),i&&o($),i&&o(d),j(l),i&&o(y),i&&o(b),i&&o(Ue),i&&o(T),j(X),i&&o(Be),i&&o(p),j(Y),j(ee),j(V),j(J),j(oe),j(z),j(te)}}}const Jt={local:"configuration",sections:[{local:"diffusers.ConfigMixin",title:"ConfigMixin"}],title:"Configuration"};function zt(U){return Tt(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class en extends Nt{constructor(c){super();Ot(this,c,zt,Vt,jt,{})}}export{en as default,Jt as metadata};
