import{s as nt,o as rt,n as ot}from"../chunks/scheduler.182ea377.js";import{S as at,i as it,g as i,s as n,r as u,A as dt,h as d,f as s,c as r,j as D,u as g,x as $,k as w,y as t,a as m,v as _,d as h,t as b,w as v}from"../chunks/index.abf12888.js";import{T as lt}from"../chunks/Tip.230e2334.js";import{D as V}from"../chunks/Docstring.93f6f462.js";import{C as ct}from"../chunks/CodeBlock.57fe6e13.js";import{E as pt}from"../chunks/ExampleCodeBlock.658f5cd6.js";import{H as st}from"../chunks/Heading.16916d63.js";function mt(K){let c,x="Inference is only supported for 2 iterations as of now.";return{c(){c=i("p"),c.textContent=x},l(f){c=d(f,"P",{"data-svelte-h":!0}),$(c)!=="svelte-oxwnyv"&&(c.textContent=x)},m(f,y){m(f,c,y)},p:ot,d(f){f&&s(c)}}}function ft(K){let c,x="Examples:",f,y,A;return y=new ct({props:{code:"aW1wb3J0JTIwdG9yY2glMEFmcm9tJTIwZGlmZnVzZXJzJTIwaW1wb3J0JTIwU3RhYmxlRGlmZnVzaW9uUGlwZWxpbmUlMkMlMjBDb25zaXN0ZW5jeURlY29kZXJWQUUlMEElMEF2YWUlMjAlM0QlMjBDb25zaXN0ZW5jeURlY29kZXJWQUUuZnJvbV9wcmV0cmFpbmVkKCUyMm9wZW5haSUyRmNvbnNpc3RlbmN5LWRlY29kZXIlMjIlMkMlMjB0b3JjaF9kdHlwZSUzRHRvcmNoLmZsb2F0MTYpJTBBcGlwZSUyMCUzRCUyMFN0YWJsZURpZmZ1c2lvblBpcGVsaW5lLmZyb21fcHJldHJhaW5lZCglMEElMjAlMjAlMjAlMjAlMjJydW53YXltbCUyRnN0YWJsZS1kaWZmdXNpb24tdjEtNSUyMiUyQyUyMHZhZSUzRHZhZSUyQyUyMHRvcmNoX2R0eXBlJTNEdG9yY2guZmxvYXQxNiUwQSkudG8oJTIyY3VkYSUyMiklMEElMEFwaXBlKCUyMmhvcnNlJTIyJTJDJTIwZ2VuZXJhdG9yJTNEdG9yY2gubWFudWFsX3NlZWQoMCkpLmltYWdlcw==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">import</span> torch
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> StableDiffusionPipeline, ConsistencyDecoderVAE

<span class="hljs-meta">&gt;&gt;&gt; </span>vae = ConsistencyDecoderVAE.from_pretrained(<span class="hljs-string">&quot;openai/consistency-decoder&quot;</span>, torch_dtype=torch.float16)
<span class="hljs-meta">&gt;&gt;&gt; </span>pipe = StableDiffusionPipeline.from_pretrained(
<span class="hljs-meta">... </span>    <span class="hljs-string">&quot;runwayml/stable-diffusion-v1-5&quot;</span>, vae=vae, torch_dtype=torch.float16
<span class="hljs-meta">... </span>).to(<span class="hljs-string">&quot;cuda&quot;</span>)

<span class="hljs-meta">&gt;&gt;&gt; </span>pipe(<span class="hljs-string">&quot;horse&quot;</span>, generator=torch.manual_seed(<span class="hljs-number">0</span>)).images`,wrap:!1}}),{c(){c=i("p"),c.textContent=x,f=n(),u(y.$$.fragment)},l(p){c=d(p,"P",{"data-svelte-h":!0}),$(c)!=="svelte-kvfsh7"&&(c.textContent=x),f=r(p),g(y.$$.fragment,p)},m(p,C){m(p,c,C),m(p,f,C),_(y,p,C),A=!0},p:ot,i(p){A||(h(y.$$.fragment,p),A=!0)},o(p){b(y.$$.fragment,p),A=!1},d(p){p&&(s(c),s(f)),v(y,p)}}}function ut(K){let c,x,f,y,A,p,C,Xe='Consistency decoder can be used to decode the latents from the denoising UNet in the <a href="/docs/diffusers/main/en/api/pipelines/stable_diffusion/text2img#diffusers.StableDiffusionPipeline">StableDiffusionPipeline</a>. This decoder was introduced in the <a href="https://openai.com/dall-e-3" rel="nofollow">DALL-E 3 technical report</a>.',pe,Z,Se='The original codebase can be found at <a href="https://github.com/openai/consistencydecoder" rel="nofollow">openai/consistencydecoder</a>.',me,P,fe,F,He='The pipeline could not have been contributed without the help of <a href="https://github.com/madebyollin" rel="nofollow">madebyollin</a> and <a href="https://github.com/mrsteyk" rel="nofollow">mrsteyk</a> from <a href="https://github.com/openai/consistencydecoder/issues/1" rel="nofollow">this issue</a>.',ue,I,ge,o,W,we,q,Ne="The consistency decoder used with DALL-E 3.",Ce,T,xe,Q,J,Ee,k,B,Ve,O,Ye=`Disable sliced VAE decoding. If <code>enable_slicing</code> was previously enabled, this method will go back to computing
decoding in one step.`,Pe,M,X,Te,ee,ze=`Disable tiled VAE decoding. If <code>enable_tiling</code> was previously enabled, this method will go back to computing
decoding in one step.`,ke,L,S,Me,te,Ge=`Enable sliced VAE decoding. When this option is enabled, the VAE will split the input tensor in slices to
compute decoding in several steps. This is useful to save some memory and allow larger batch sizes.`,Le,U,H,Ue,se,Ke=`Enable tiled VAE decoding. When this option is enabled, the VAE will split the input tensor into tiles to
compute decoding and encoding in several steps. This is useful for saving a large amount of memory and to allow
processing larger images.`,je,oe,N,Re,j,Y,Ze,ne,qe="Sets the attention processor to use to compute attention.",Fe,R,z,Ie,re,Qe="Disables custom attention processors and sets the default attention implementation.",We,E,G,Je,ae,Oe="Encode a batch of images using a tiled encoder.",Be,ie,et=`When this option is enabled, the VAE will split the input tensor into tiles to compute encoding in several
steps. This is useful to keep memory use constant regardless of image size. The end result of tiled encoding is
different from non-tiled encoding because each tile uses a different encoder. To avoid tiling artifacts, the
tiles overlap and are blended together to form a smooth output. You may still see tile-sized changes in the
output, but they should be much less noticeable.`,_e,le,he;return A=new st({props:{title:"Consistency Decoder",local:"consistency-decoder",headingTag:"h1"}}),P=new lt({props:{warning:!0,$$slots:{default:[mt]},$$scope:{ctx:K}}}),I=new st({props:{title:"ConsistencyDecoderVAE",local:"diffusers.ConsistencyDecoderVAE",headingTag:"h2"}}),W=new V({props:{name:"class diffusers.ConsistencyDecoderVAE",anchor:"diffusers.ConsistencyDecoderVAE",parameters:[{name:"scaling_factor",val:": float = 0.18215"},{name:"latent_channels",val:": int = 4"},{name:"encoder_act_fn",val:": str = 'silu'"},{name:"encoder_block_out_channels",val:": typing.Tuple[int, ...] = (128, 256, 512, 512)"},{name:"encoder_double_z",val:": bool = True"},{name:"encoder_down_block_types",val:": typing.Tuple[str, ...] = ('DownEncoderBlock2D', 'DownEncoderBlock2D', 'DownEncoderBlock2D', 'DownEncoderBlock2D')"},{name:"encoder_in_channels",val:": int = 3"},{name:"encoder_layers_per_block",val:": int = 2"},{name:"encoder_norm_num_groups",val:": int = 32"},{name:"encoder_out_channels",val:": int = 4"},{name:"decoder_add_attention",val:": bool = False"},{name:"decoder_block_out_channels",val:": typing.Tuple[int, ...] = (320, 640, 1024, 1024)"},{name:"decoder_down_block_types",val:": typing.Tuple[str, ...] = ('ResnetDownsampleBlock2D', 'ResnetDownsampleBlock2D', 'ResnetDownsampleBlock2D', 'ResnetDownsampleBlock2D')"},{name:"decoder_downsample_padding",val:": int = 1"},{name:"decoder_in_channels",val:": int = 7"},{name:"decoder_layers_per_block",val:": int = 3"},{name:"decoder_norm_eps",val:": float = 1e-05"},{name:"decoder_norm_num_groups",val:": int = 32"},{name:"decoder_num_train_timesteps",val:": int = 1024"},{name:"decoder_out_channels",val:": int = 6"},{name:"decoder_resnet_time_scale_shift",val:": str = 'scale_shift'"},{name:"decoder_time_embedding_type",val:": str = 'learned'"},{name:"decoder_up_block_types",val:": typing.Tuple[str, ...] = ('ResnetUpsampleBlock2D', 'ResnetUpsampleBlock2D', 'ResnetUpsampleBlock2D', 'ResnetUpsampleBlock2D')"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/autoencoders/consistency_decoder_vae.py#L52"}}),T=new pt({props:{anchor:"diffusers.ConsistencyDecoderVAE.example",$$slots:{default:[ft]},$$scope:{ctx:K}}}),J=new V({props:{name:"wrapper",anchor:"diffusers.ConsistencyDecoderVAE.decode",parameters:[{name:"*args",val:""},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/utils/accelerate_utils.py#L43"}}),B=new V({props:{name:"disable_slicing",anchor:"diffusers.ConsistencyDecoderVAE.disable_slicing",parameters:[],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/autoencoders/consistency_decoder_vae.py#L182"}}),X=new V({props:{name:"disable_tiling",anchor:"diffusers.ConsistencyDecoderVAE.disable_tiling",parameters:[],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/autoencoders/consistency_decoder_vae.py#L166"}}),S=new V({props:{name:"enable_slicing",anchor:"diffusers.ConsistencyDecoderVAE.enable_slicing",parameters:[],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/autoencoders/consistency_decoder_vae.py#L174"}}),H=new V({props:{name:"enable_tiling",anchor:"diffusers.ConsistencyDecoderVAE.enable_tiling",parameters:[{name:"use_tiling",val:": bool = True"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/autoencoders/consistency_decoder_vae.py#L157"}}),N=new V({props:{name:"forward",anchor:"diffusers.ConsistencyDecoderVAE.forward",parameters:[{name:"sample",val:": FloatTensor"},{name:"sample_posterior",val:": bool = False"},{name:"return_dict",val:": bool = True"},{name:"generator",val:": typing.Optional[torch._C.Generator] = None"}],parametersDescription:[{anchor:"diffusers.ConsistencyDecoderVAE.forward.sample",description:"<strong>sample</strong> (<code>torch.FloatTensor</code>) &#x2014; Input sample.",name:"sample"},{anchor:"diffusers.ConsistencyDecoderVAE.forward.sample_posterior",description:`<strong>sample_posterior</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether to sample from the posterior.`,name:"sample_posterior"},{anchor:"diffusers.ConsistencyDecoderVAE.forward.return_dict",description:`<strong>return_dict</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether or not to return a <code>DecoderOutput</code> instead of a plain tuple.`,name:"return_dict"},{anchor:"diffusers.ConsistencyDecoderVAE.forward.generator",description:`<strong>generator</strong> (<code>torch.Generator</code>, <em>optional</em>, defaults to <code>None</code>) &#x2014;
Generator to use for sampling.`,name:"generator"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/autoencoders/consistency_decoder_vae.py#L405",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>If return_dict is True, a <code>DecoderOutput</code> is returned, otherwise a plain <code>tuple</code> is returned.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>DecoderOutput</code> or <code>tuple</code></p>
`}}),Y=new V({props:{name:"set_attn_processor",anchor:"diffusers.ConsistencyDecoderVAE.set_attn_processor",parameters:[{name:"processor",val:": typing.Union[diffusers.models.attention_processor.AttnProcessor, diffusers.models.attention_processor.AttnProcessor2_0, diffusers.models.attention_processor.FusedAttnProcessor2_0, diffusers.models.attention_processor.XFormersAttnProcessor, diffusers.models.attention_processor.SlicedAttnProcessor, diffusers.models.attention_processor.AttnAddedKVProcessor, diffusers.models.attention_processor.SlicedAttnAddedKVProcessor, diffusers.models.attention_processor.AttnAddedKVProcessor2_0, diffusers.models.attention_processor.XFormersAttnAddedKVProcessor, diffusers.models.attention_processor.CustomDiffusionAttnProcessor, diffusers.models.attention_processor.CustomDiffusionXFormersAttnProcessor, diffusers.models.attention_processor.CustomDiffusionAttnProcessor2_0, diffusers.models.attention_processor.LoRAAttnProcessor, diffusers.models.attention_processor.LoRAAttnProcessor2_0, diffusers.models.attention_processor.LoRAXFormersAttnProcessor, diffusers.models.attention_processor.LoRAAttnAddedKVProcessor, typing.Dict[str, typing.Union[diffusers.models.attention_processor.AttnProcessor, diffusers.models.attention_processor.AttnProcessor2_0, diffusers.models.attention_processor.FusedAttnProcessor2_0, diffusers.models.attention_processor.XFormersAttnProcessor, diffusers.models.attention_processor.SlicedAttnProcessor, diffusers.models.attention_processor.AttnAddedKVProcessor, diffusers.models.attention_processor.SlicedAttnAddedKVProcessor, diffusers.models.attention_processor.AttnAddedKVProcessor2_0, diffusers.models.attention_processor.XFormersAttnAddedKVProcessor, diffusers.models.attention_processor.CustomDiffusionAttnProcessor, diffusers.models.attention_processor.CustomDiffusionXFormersAttnProcessor, diffusers.models.attention_processor.CustomDiffusionAttnProcessor2_0, diffusers.models.attention_processor.LoRAAttnProcessor, diffusers.models.attention_processor.LoRAAttnProcessor2_0, diffusers.models.attention_processor.LoRAXFormersAttnProcessor, diffusers.models.attention_processor.LoRAAttnAddedKVProcessor]]]"},{name:"_remove_lora",val:" = False"}],parametersDescription:[{anchor:"diffusers.ConsistencyDecoderVAE.set_attn_processor.processor",description:`<strong>processor</strong> (<code>dict</code> of <code>AttentionProcessor</code> or only <code>AttentionProcessor</code>) &#x2014;
The instantiated processor class or a dictionary of processor classes that will be set as the processor
for <strong>all</strong> <code>Attention</code> layers.</p>
<p>If <code>processor</code> is a dict, the key needs to define the path to the corresponding cross attention
processor. This is strongly recommended when setting trainable attention processors.`,name:"processor"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/autoencoders/consistency_decoder_vae.py#L215"}}),z=new V({props:{name:"set_default_attn_processor",anchor:"diffusers.ConsistencyDecoderVAE.set_default_attn_processor",parameters:[],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/autoencoders/consistency_decoder_vae.py#L252"}}),G=new V({props:{name:"tiled_encode",anchor:"diffusers.ConsistencyDecoderVAE.tiled_encode",parameters:[{name:"x",val:": FloatTensor"},{name:"return_dict",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.ConsistencyDecoderVAE.tiled_encode.x",description:"<strong>x</strong> (<code>torch.FloatTensor</code>) &#x2014; Input batch of images.",name:"x"},{anchor:"diffusers.ConsistencyDecoderVAE.tiled_encode.return_dict",description:`<strong>return_dict</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether or not to return a <code>~models.consistency_decoder_vae.ConsistencyDecoderVAEOutput</code> instead of a
plain tuple.`,name:"return_dict"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/autoencoders/consistency_decoder_vae.py#L350",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>If return_dict is True, a <code>~models.consistency_decoder_vae.ConsistencyDecoderVAEOutput</code> is returned,
otherwise a plain <code>tuple</code> is returned.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>~models.consistency_decoder_vae.ConsistencyDecoderVAEOutput</code> or <code>tuple</code></p>
`}}),{c(){c=i("meta"),x=n(),f=i("p"),y=n(),u(A.$$.fragment),p=n(),C=i("p"),C.innerHTML=Xe,pe=n(),Z=i("p"),Z.innerHTML=Se,me=n(),u(P.$$.fragment),fe=n(),F=i("p"),F.innerHTML=He,ue=n(),u(I.$$.fragment),ge=n(),o=i("div"),u(W.$$.fragment),we=n(),q=i("p"),q.textContent=Ne,Ce=n(),u(T.$$.fragment),xe=n(),Q=i("div"),u(J.$$.fragment),Ee=n(),k=i("div"),u(B.$$.fragment),Ve=n(),O=i("p"),O.innerHTML=Ye,Pe=n(),M=i("div"),u(X.$$.fragment),Te=n(),ee=i("p"),ee.innerHTML=ze,ke=n(),L=i("div"),u(S.$$.fragment),Me=n(),te=i("p"),te.textContent=Ge,Le=n(),U=i("div"),u(H.$$.fragment),Ue=n(),se=i("p"),se.textContent=Ke,je=n(),oe=i("div"),u(N.$$.fragment),Re=n(),j=i("div"),u(Y.$$.fragment),Ze=n(),ne=i("p"),ne.textContent=qe,Fe=n(),R=i("div"),u(z.$$.fragment),Ie=n(),re=i("p"),re.textContent=Qe,We=n(),E=i("div"),u(G.$$.fragment),Je=n(),ae=i("p"),ae.textContent=Oe,Be=n(),ie=i("p"),ie.textContent=et,_e=n(),le=i("p"),this.h()},l(e){const l=dt("svelte-u9bgzb",document.head);c=d(l,"META",{name:!0,content:!0}),l.forEach(s),x=r(e),f=d(e,"P",{}),D(f).forEach(s),y=r(e),g(A.$$.fragment,e),p=r(e),C=d(e,"P",{"data-svelte-h":!0}),$(C)!=="svelte-jv5fvj"&&(C.innerHTML=Xe),pe=r(e),Z=d(e,"P",{"data-svelte-h":!0}),$(Z)!=="svelte-uyyo7l"&&(Z.innerHTML=Se),me=r(e),g(P.$$.fragment,e),fe=r(e),F=d(e,"P",{"data-svelte-h":!0}),$(F)!=="svelte-1ln42ze"&&(F.innerHTML=He),ue=r(e),g(I.$$.fragment,e),ge=r(e),o=d(e,"DIV",{class:!0});var a=D(o);g(W.$$.fragment,a),we=r(a),q=d(a,"P",{"data-svelte-h":!0}),$(q)!=="svelte-1fvfwaa"&&(q.textContent=Ne),Ce=r(a),g(T.$$.fragment,a),xe=r(a),Q=d(a,"DIV",{class:!0});var ce=D(Q);g(J.$$.fragment,ce),ce.forEach(s),Ee=r(a),k=d(a,"DIV",{class:!0});var be=D(k);g(B.$$.fragment,be),Ve=r(be),O=d(be,"P",{"data-svelte-h":!0}),$(O)!=="svelte-189cc7b"&&(O.innerHTML=Ye),be.forEach(s),Pe=r(a),M=d(a,"DIV",{class:!0});var ve=D(M);g(X.$$.fragment,ve),Te=r(ve),ee=d(ve,"P",{"data-svelte-h":!0}),$(ee)!=="svelte-1f366pl"&&(ee.innerHTML=ze),ve.forEach(s),ke=r(a),L=d(a,"DIV",{class:!0});var ye=D(L);g(S.$$.fragment,ye),Me=r(ye),te=d(ye,"P",{"data-svelte-h":!0}),$(te)!=="svelte-14bnrb6"&&(te.textContent=Ge),ye.forEach(s),Le=r(a),U=d(a,"DIV",{class:!0});var $e=D(U);g(H.$$.fragment,$e),Ue=r($e),se=d($e,"P",{"data-svelte-h":!0}),$(se)!=="svelte-1xwrf7t"&&(se.textContent=Ke),$e.forEach(s),je=r(a),oe=d(a,"DIV",{class:!0});var tt=D(oe);g(N.$$.fragment,tt),tt.forEach(s),Re=r(a),j=d(a,"DIV",{class:!0});var Ae=D(j);g(Y.$$.fragment,Ae),Ze=r(Ae),ne=d(Ae,"P",{"data-svelte-h":!0}),$(ne)!=="svelte-1o77hl2"&&(ne.textContent=qe),Ae.forEach(s),Fe=r(a),R=d(a,"DIV",{class:!0});var De=D(R);g(z.$$.fragment,De),Ie=r(De),re=d(De,"P",{"data-svelte-h":!0}),$(re)!=="svelte-1lxcwhv"&&(re.textContent=Qe),De.forEach(s),We=r(a),E=d(a,"DIV",{class:!0});var de=D(E);g(G.$$.fragment,de),Je=r(de),ae=d(de,"P",{"data-svelte-h":!0}),$(ae)!=="svelte-1un5fcn"&&(ae.textContent=Oe),Be=r(de),ie=d(de,"P",{"data-svelte-h":!0}),$(ie)!=="svelte-lbfkqr"&&(ie.textContent=et),de.forEach(s),a.forEach(s),_e=r(e),le=d(e,"P",{}),D(le).forEach(s),this.h()},h(){w(c,"name","hf:doc:metadata"),w(c,"content",gt),w(Q,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(k,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(M,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(L,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(U,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(oe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(j,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(R,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(E,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),w(o,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8")},m(e,l){t(document.head,c),m(e,x,l),m(e,f,l),m(e,y,l),_(A,e,l),m(e,p,l),m(e,C,l),m(e,pe,l),m(e,Z,l),m(e,me,l),_(P,e,l),m(e,fe,l),m(e,F,l),m(e,ue,l),_(I,e,l),m(e,ge,l),m(e,o,l),_(W,o,null),t(o,we),t(o,q),t(o,Ce),_(T,o,null),t(o,xe),t(o,Q),_(J,Q,null),t(o,Ee),t(o,k),_(B,k,null),t(k,Ve),t(k,O),t(o,Pe),t(o,M),_(X,M,null),t(M,Te),t(M,ee),t(o,ke),t(o,L),_(S,L,null),t(L,Me),t(L,te),t(o,Le),t(o,U),_(H,U,null),t(U,Ue),t(U,se),t(o,je),t(o,oe),_(N,oe,null),t(o,Re),t(o,j),_(Y,j,null),t(j,Ze),t(j,ne),t(o,Fe),t(o,R),_(z,R,null),t(R,Ie),t(R,re),t(o,We),t(o,E),_(G,E,null),t(E,Je),t(E,ae),t(E,Be),t(E,ie),m(e,_e,l),m(e,le,l),he=!0},p(e,[l]){const a={};l&2&&(a.$$scope={dirty:l,ctx:e}),P.$set(a);const ce={};l&2&&(ce.$$scope={dirty:l,ctx:e}),T.$set(ce)},i(e){he||(h(A.$$.fragment,e),h(P.$$.fragment,e),h(I.$$.fragment,e),h(W.$$.fragment,e),h(T.$$.fragment,e),h(J.$$.fragment,e),h(B.$$.fragment,e),h(X.$$.fragment,e),h(S.$$.fragment,e),h(H.$$.fragment,e),h(N.$$.fragment,e),h(Y.$$.fragment,e),h(z.$$.fragment,e),h(G.$$.fragment,e),he=!0)},o(e){b(A.$$.fragment,e),b(P.$$.fragment,e),b(I.$$.fragment,e),b(W.$$.fragment,e),b(T.$$.fragment,e),b(J.$$.fragment,e),b(B.$$.fragment,e),b(X.$$.fragment,e),b(S.$$.fragment,e),b(H.$$.fragment,e),b(N.$$.fragment,e),b(Y.$$.fragment,e),b(z.$$.fragment,e),b(G.$$.fragment,e),he=!1},d(e){e&&(s(x),s(f),s(y),s(p),s(C),s(pe),s(Z),s(me),s(fe),s(F),s(ue),s(ge),s(o),s(_e),s(le)),s(c),v(A,e),v(P,e),v(I,e),v(W),v(T),v(J),v(B),v(X),v(S),v(H),v(N),v(Y),v(z),v(G)}}}const gt='{"title":"Consistency Decoder","local":"consistency-decoder","sections":[{"title":"ConsistencyDecoderVAE","local":"diffusers.ConsistencyDecoderVAE","sections":[],"depth":2}],"depth":1}';function _t(K){return rt(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class wt extends at{constructor(c){super(),it(this,c,_t,ut,nt,{})}}export{wt as component};
