import{S as Nt,i as Ot,s as jt,e as s,k as g,w as I,t,M as qt,c as r,d as o,m as u,a,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=s("p"),$=t("It is required to be logged in ("),d=s("code"),h=t("huggingface-cli login"),_=t(") when you want to use private or "),l=s("a"),m=t(`gated
models`),x=t("."),this.h()},l(q){c=r(q,"P",{});var y=a(c);$=n(y,"It is required to be logged in ("),d=r(y,"CODE",{});var b=a(d);h=n(b,"huggingface-cli login"),b.forEach(o),_=n(y,") when you want to use private or "),l=r(y,"A",{href:!0,rel:!0});var ae=a(l);m=n(ae,`gated
models`),ae.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=s("p"),$=t("Activate the special "),d=s("a"),h=t("\u201Coffline-mode\u201D"),_=t(` to
use this method in a firewalled environment.`),this.h()},l(l){c=r(l,"P",{});var m=a(c);$=n(m,"Activate the special "),d=r(m,"A",{href:!0,rel:!0});var x=a(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=s("p"),$=t("Examples:"),d=g(),I(h.$$.fragment)},l(l){c=r(l,"P",{});var m=a(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,ae,ie,He,Ke,le,Qe,Xe,ce,Ye,Ze,ve,eo,oo,Ue,T,B,be,X,to,$e,no,Be,p,Y,so,F,ro,we,ao,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/v0.12.0/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/v0.12.0/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/v0.12.0/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/v0.12.0/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/v0.12.0/src/diffusers/configuration_utils.py#L120"}}),{c(){c=s("meta"),$=g(),d=s("h1"),h=s("a"),_=s("span"),I(l.$$.fragment),m=g(),x=s("span"),q=t("Configuration"),y=g(),b=s("p"),ae=t("In Diffusers, schedulers of type "),ie=s("a"),He=t("schedulers.scheduling_utils.SchedulerMixin"),Ke=t(", and models of type "),le=s("a"),Qe=t("ModelMixin"),Xe=t(" inherit from "),ce=s("a"),Ye=t("ConfigMixin"),Ze=t(` which conveniently takes care of storing all parameters that are
passed to the respective `),ve=s("code"),eo=t("__init__"),oo=t(" methods in a JSON-configuration file."),Ue=g(),T=s("h2"),B=s("a"),be=s("span"),I(X.$$.fragment),to=g(),$e=s("span"),no=t("ConfigMixin"),Be=g(),p=s("div"),I(Y.$$.fragment),so=g(),F=s("p"),ro=t("Base class for all configuration classes. Stores all configuration parameters under "),we=s("code"),ao=t("self.config"),io=t(` Also handles all
methods for loading/downloading/saving classes inheriting from `),de=s("a"),lo=t("ConfigMixin"),co=t(" with"),fo=g(),Z=s("ul"),ye=s("li"),fe=s("a"),ho=t("from_config()"),go=g(),xe=s("li"),he=s("a"),uo=t("save_config()"),mo=g(),Me=s("p"),po=t("Class attributes:"),_o=g(),D=s("ul"),C=s("li"),Ee=s("strong"),vo=t("config_name"),bo=t(" ("),De=s("code"),$o=t("str"),wo=t(`) \u2014 A filename under which the config should stored when calling
`),ge=s("a"),yo=t("save_config()"),xo=t(" (should be overridden by parent class)."),Mo=g(),G=s("li"),Ce=s("strong"),Eo=t("ignore_for_config"),Do=t(" ("),ke=s("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=s("li"),Pe=s("strong"),So=t("has_compatibles"),Io=t(" ("),Se=s("code"),Ao=t("bool"),Lo=t(") \u2014 Whether the class has compatible classes (should be overridden by subclass)."),No=g(),k=s("li"),Ie=s("strong"),Oo=t("_deprecated_kwargs"),jo=t(" ("),Ae=s("code"),qo=t("List[str]"),To=t(`) \u2014 Keyword arguments that are deprecated. Note that the init function
should only have a `),Le=s("code"),Fo=t("kwargs"),Wo=t(` argument if at least one argument is deprecated (should be overridden by
subclass).`),Uo=g(),M=s("div"),I(ee.$$.fragment),Bo=g(),Ne=s("p"),Go=t("Instantiate a Python class from a config dictionary"),Ro=g(),I(V.$$.fragment),Vo=g(),I(J.$$.fragment),Jo=g(),P=s("div"),I(oe.$$.fragment),zo=g(),Oe=s("p"),Ho=t("Instantiate a Python class from a config dictionary"),Ko=g(),I(z.$$.fragment),Qo=g(),H=s("div"),I(te.$$.fragment),Xo=g(),W=s("p"),Yo=t("Save a configuration object to the directory "),je=s("code"),Zo=t("save_directory"),et=t(`, so that it can be re-loaded using the
`),ue=s("a"),ot=t("from_config()"),tt=t(" class method."),this.h()},l(i){const v=qt('[data-svelte="svelte-1phssyn"]',document.head);c=r(v,"META",{name:!0,content:!0}),v.forEach(o),$=u(i),d=r(i,"H1",{class:!0});var ne=a(d);h=r(ne,"A",{id:!0,class:!0,href:!0});var qe=a(h);_=r(qe,"SPAN",{});var Te=a(_);A(l.$$.fragment,Te),Te.forEach(o),qe.forEach(o),m=u(ne),x=r(ne,"SPAN",{});var nt=a(x);q=n(nt,"Configuration"),nt.forEach(o),ne.forEach(o),y=u(i),b=r(i,"P",{});var S=a(b);ae=n(S,"In Diffusers, schedulers of type "),ie=r(S,"A",{href:!0});var st=a(ie);He=n(st,"schedulers.scheduling_utils.SchedulerMixin"),st.forEach(o),Ke=n(S,", and models of type "),le=r(S,"A",{href:!0});var rt=a(le);Qe=n(rt,"ModelMixin"),rt.forEach(o),Xe=n(S," inherit from "),ce=r(S,"A",{href:!0});var at=a(ce);Ye=n(at,"ConfigMixin"),at.forEach(o),Ze=n(S,` which conveniently takes care of storing all parameters that are
passed to the respective `),ve=r(S,"CODE",{});var it=a(ve);eo=n(it,"__init__"),it.forEach(o),oo=n(S," methods in a JSON-configuration file."),S.forEach(o),Ue=u(i),T=r(i,"H2",{class:!0});var Re=a(T);B=r(Re,"A",{id:!0,class:!0,href:!0});var lt=a(B);be=r(lt,"SPAN",{});var ct=a(be);A(X.$$.fragment,ct),ct.forEach(o),lt.forEach(o),to=u(Re),$e=r(Re,"SPAN",{});var dt=a($e);no=n(dt,"ConfigMixin"),dt.forEach(o),Re.forEach(o),Be=u(i),p=r(i,"DIV",{class:!0});var w=a(p);A(Y.$$.fragment,w),so=u(w),F=r(w,"P",{});var me=a(F);ro=n(me,"Base class for all configuration classes. Stores all configuration parameters under "),we=r(me,"CODE",{});var ft=a(we);ao=n(ft,"self.config"),ft.forEach(o),io=n(me,` Also handles all
methods for loading/downloading/saving classes inheriting from `),de=r(me,"A",{href:!0});var ht=a(de);lo=n(ht,"ConfigMixin"),ht.forEach(o),co=n(me," with"),me.forEach(o),fo=u(w),Z=r(w,"UL",{});var Ve=a(Z);ye=r(Ve,"LI",{});var gt=a(ye);fe=r(gt,"A",{href:!0});var ut=a(fe);ho=n(ut,"from_config()"),ut.forEach(o),gt.forEach(o),go=u(Ve),xe=r(Ve,"LI",{});var mt=a(xe);he=r(mt,"A",{href:!0});var pt=a(he);uo=n(pt,"save_config()"),pt.forEach(o),mt.forEach(o),Ve.forEach(o),mo=u(w),Me=r(w,"P",{});var _t=a(Me);po=n(_t,"Class attributes:"),_t.forEach(o),_o=u(w),D=r(w,"UL",{});var K=a(D);C=r(K,"LI",{});var se=a(C);Ee=r(se,"STRONG",{});var vt=a(Ee);vo=n(vt,"config_name"),vt.forEach(o),bo=n(se," ("),De=r(se,"CODE",{});var bt=a(De);$o=n(bt,"str"),bt.forEach(o),wo=n(se,`) \u2014 A filename under which the config should stored when calling
`),ge=r(se,"A",{href:!0});var $t=a(ge);yo=n($t,"save_config()"),$t.forEach(o),xo=n(se," (should be overridden by parent class)."),se.forEach(o),Mo=u(K),G=r(K,"LI",{});var Fe=a(G);Ce=r(Fe,"STRONG",{});var wt=a(Ce);Eo=n(wt,"ignore_for_config"),wt.forEach(o),Do=n(Fe," ("),ke=r(Fe,"CODE",{});var yt=a(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=r(K,"LI",{});var We=a(R);Pe=r(We,"STRONG",{});var xt=a(Pe);So=n(xt,"has_compatibles"),xt.forEach(o),Io=n(We," ("),Se=r(We,"CODE",{});var Mt=a(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=r(K,"LI",{});var re=a(k);Ie=r(re,"STRONG",{});var Et=a(Ie);Oo=n(Et,"_deprecated_kwargs"),Et.forEach(o),jo=n(re," ("),Ae=r(re,"CODE",{});var Dt=a(Ae);qo=n(Dt,"List[str]"),Dt.forEach(o),To=n(re,`) \u2014 Keyword arguments that are deprecated. Note that the init function
should only have a `),Le=r(re,"CODE",{});var Ct=a(Le);Fo=n(Ct,"kwargs"),Ct.forEach(o),Wo=n(re,` argument if at least one argument is deprecated (should be overridden by
subclass).`),re.forEach(o),K.forEach(o),Uo=u(w),M=r(w,"DIV",{class:!0});var Q=a(M);A(ee.$$.fragment,Q),Bo=u(Q),Ne=r(Q,"P",{});var kt=a(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=r(w,"DIV",{class:!0});var pe=a(P);A(oe.$$.fragment,pe),zo=u(pe),Oe=r(pe,"P",{});var Pt=a(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=r(w,"DIV",{class:!0});var Je=a(H);A(te.$$.fragment,Je),Xo=u(Je),W=r(Je,"P",{});var _e=a(W);Yo=n(_e,"Save a configuration object to the directory "),je=r(_e,"CODE",{});var St=a(je);Zo=n(St,"save_directory"),St.forEach(o),et=n(_e,`, so that it can be re-loaded using the
`),ue=r(_e,"A",{href:!0});var It=a(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/v0.12.0/en/api/schedulers/overview#diffusers.SchedulerMixin"),f(le,"href","/docs/diffusers/v0.12.0/en/api/models#diffusers.ModelMixin"),f(ce,"href","/docs/diffusers/v0.12.0/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/v0.12.0/en/api/configuration#diffusers.ConfigMixin"),f(fe,"href","/docs/diffusers/v0.12.0/en/api/configuration#diffusers.ConfigMixin.from_config"),f(he,"href","/docs/diffusers/v0.12.0/en/api/configuration#diffusers.ConfigMixin.save_config"),f(ge,"href","/docs/diffusers/v0.12.0/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/v0.12.0/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,ae),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,so),e(p,F),e(F,ro),e(F,we),e(we,ao),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};
