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 y,k as w,y as t,a as f,v as h,d as _,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 ft(K){let c,x="Inference is only supported for 2 iterations as of now.";return{c(){c=i("p"),c.textContent=x},l(m){c=d(m,"P",{"data-svelte-h":!0}),y(c)!=="svelte-oxwnyv"&&(c.textContent=x)},m(m,$){f(m,c,$)},p:ot,d(m){m&&s(c)}}}function mt(K){let c,x="Examples:",m,$,A;return $=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,m=n(),u($.$$.fragment)},l(p){c=d(p,"P",{"data-svelte-h":!0}),y(c)!=="svelte-kvfsh7"&&(c.textContent=x),m=r(p),g($.$$.fragment,p)},m(p,C){f(p,c,C),f(p,m,C),h($,p,C),A=!0},p:ot,i(p){A||(_($.$$.fragment,p),A=!0)},o(p){b($.$$.fragment,p),A=!1},d(p){p&&(s(c),s(m)),v($,p)}}}function ut(K){let c,x,m,$,A,p,C,Xe='Consistency decoder can be used to decode the latents from the denoising UNet in the <a href="/docs/diffusers/v0.24.0/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>.',fe,T,me,I,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,W,ge,o,F,we,q,Ne="The consistency decoder used with DALL-E 3.",Ce,P,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.`,Te,M,X,Pe,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.`,Re,oe,N,je,R,Y,Ze,ne,qe="Sets the attention processor to use to compute attention.",Ie,j,z,We,re,Qe="Disables custom attention processors and sets the default attention implementation.",Fe,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.`,he,le,_e;return A=new st({props:{title:"Consistency Decoder",local:"consistency-decoder",headingTag:"h1"}}),T=new lt({props:{warning:!0,$$slots:{default:[ft]},$$scope:{ctx:K}}}),W=new st({props:{title:"ConsistencyDecoderVAE",local:"diffusers.ConsistencyDecoderVAE",headingTag:"h2"}}),F=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/v0.24.0/src/diffusers/models/consistency_decoder_vae.py#L52"}}),P=new pt({props:{anchor:"diffusers.ConsistencyDecoderVAE.example",$$slots:{default:[mt]},$$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/v0.24.0/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/v0.24.0/src/diffusers/models/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/v0.24.0/src/diffusers/models/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/v0.24.0/src/diffusers/models/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/v0.24.0/src/diffusers/models/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/v0.24.0/src/diffusers/models/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.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.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/v0.24.0/src/diffusers/models/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/v0.24.0/src/diffusers/models/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>ConsistencyDecoderVAEOutput</code> instead of a
plain tuple.`,name:"return_dict"}],source:"https://github.com/huggingface/diffusers/blob/v0.24.0/src/diffusers/models/consistency_decoder_vae.py#L350",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


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


<p><code>ConsistencyDecoderVAEOutput</code> or <code>tuple</code></p>
`}}),{c(){c=i("meta"),x=n(),m=i("p"),$=n(),u(A.$$.fragment),p=n(),C=i("p"),C.innerHTML=Xe,pe=n(),Z=i("p"),Z.innerHTML=Se,fe=n(),u(T.$$.fragment),me=n(),I=i("p"),I.innerHTML=He,ue=n(),u(W.$$.fragment),ge=n(),o=i("div"),u(F.$$.fragment),we=n(),q=i("p"),q.textContent=Ne,Ce=n(),u(P.$$.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,Te=n(),M=i("div"),u(X.$$.fragment),Pe=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,Re=n(),oe=i("div"),u(N.$$.fragment),je=n(),R=i("div"),u(Y.$$.fragment),Ze=n(),ne=i("p"),ne.textContent=qe,Ie=n(),j=i("div"),u(z.$$.fragment),We=n(),re=i("p"),re.textContent=Qe,Fe=n(),E=i("div"),u(G.$$.fragment),Je=n(),ae=i("p"),ae.textContent=Oe,Be=n(),ie=i("p"),ie.textContent=et,he=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),m=d(e,"P",{}),D(m).forEach(s),$=r(e),g(A.$$.fragment,e),p=r(e),C=d(e,"P",{"data-svelte-h":!0}),y(C)!=="svelte-19f2do4"&&(C.innerHTML=Xe),pe=r(e),Z=d(e,"P",{"data-svelte-h":!0}),y(Z)!=="svelte-uyyo7l"&&(Z.innerHTML=Se),fe=r(e),g(T.$$.fragment,e),me=r(e),I=d(e,"P",{"data-svelte-h":!0}),y(I)!=="svelte-1ln42ze"&&(I.innerHTML=He),ue=r(e),g(W.$$.fragment,e),ge=r(e),o=d(e,"DIV",{class:!0});var a=D(o);g(F.$$.fragment,a),we=r(a),q=d(a,"P",{"data-svelte-h":!0}),y(q)!=="svelte-1fvfwaa"&&(q.textContent=Ne),Ce=r(a),g(P.$$.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}),y(O)!=="svelte-189cc7b"&&(O.innerHTML=Ye),be.forEach(s),Te=r(a),M=d(a,"DIV",{class:!0});var ve=D(M);g(X.$$.fragment,ve),Pe=r(ve),ee=d(ve,"P",{"data-svelte-h":!0}),y(ee)!=="svelte-1f366pl"&&(ee.innerHTML=ze),ve.forEach(s),ke=r(a),L=d(a,"DIV",{class:!0});var $e=D(L);g(S.$$.fragment,$e),Me=r($e),te=d($e,"P",{"data-svelte-h":!0}),y(te)!=="svelte-14bnrb6"&&(te.textContent=Ge),$e.forEach(s),Le=r(a),U=d(a,"DIV",{class:!0});var ye=D(U);g(H.$$.fragment,ye),Ue=r(ye),se=d(ye,"P",{"data-svelte-h":!0}),y(se)!=="svelte-1xwrf7t"&&(se.textContent=Ke),ye.forEach(s),Re=r(a),oe=d(a,"DIV",{class:!0});var tt=D(oe);g(N.$$.fragment,tt),tt.forEach(s),je=r(a),R=d(a,"DIV",{class:!0});var Ae=D(R);g(Y.$$.fragment,Ae),Ze=r(Ae),ne=d(Ae,"P",{"data-svelte-h":!0}),y(ne)!=="svelte-1o77hl2"&&(ne.textContent=qe),Ae.forEach(s),Ie=r(a),j=d(a,"DIV",{class:!0});var De=D(j);g(z.$$.fragment,De),We=r(De),re=d(De,"P",{"data-svelte-h":!0}),y(re)!=="svelte-1lxcwhv"&&(re.textContent=Qe),De.forEach(s),Fe=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}),y(ae)!=="svelte-1un5fcn"&&(ae.textContent=Oe),Be=r(de),ie=d(de,"P",{"data-svelte-h":!0}),y(ie)!=="svelte-lbfkqr"&&(ie.textContent=et),de.forEach(s),a.forEach(s),he=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(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(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(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),f(e,x,l),f(e,m,l),f(e,$,l),h(A,e,l),f(e,p,l),f(e,C,l),f(e,pe,l),f(e,Z,l),f(e,fe,l),h(T,e,l),f(e,me,l),f(e,I,l),f(e,ue,l),h(W,e,l),f(e,ge,l),f(e,o,l),h(F,o,null),t(o,we),t(o,q),t(o,Ce),h(P,o,null),t(o,xe),t(o,Q),h(J,Q,null),t(o,Ee),t(o,k),h(B,k,null),t(k,Ve),t(k,O),t(o,Te),t(o,M),h(X,M,null),t(M,Pe),t(M,ee),t(o,ke),t(o,L),h(S,L,null),t(L,Me),t(L,te),t(o,Le),t(o,U),h(H,U,null),t(U,Ue),t(U,se),t(o,Re),t(o,oe),h(N,oe,null),t(o,je),t(o,R),h(Y,R,null),t(R,Ze),t(R,ne),t(o,Ie),t(o,j),h(z,j,null),t(j,We),t(j,re),t(o,Fe),t(o,E),h(G,E,null),t(E,Je),t(E,ae),t(E,Be),t(E,ie),f(e,he,l),f(e,le,l),_e=!0},p(e,[l]){const a={};l&2&&(a.$$scope={dirty:l,ctx:e}),T.$set(a);const ce={};l&2&&(ce.$$scope={dirty:l,ctx:e}),P.$set(ce)},i(e){_e||(_(A.$$.fragment,e),_(T.$$.fragment,e),_(W.$$.fragment,e),_(F.$$.fragment,e),_(P.$$.fragment,e),_(J.$$.fragment,e),_(B.$$.fragment,e),_(X.$$.fragment,e),_(S.$$.fragment,e),_(H.$$.fragment,e),_(N.$$.fragment,e),_(Y.$$.fragment,e),_(z.$$.fragment,e),_(G.$$.fragment,e),_e=!0)},o(e){b(A.$$.fragment,e),b(T.$$.fragment,e),b(W.$$.fragment,e),b(F.$$.fragment,e),b(P.$$.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),_e=!1},d(e){e&&(s(x),s(m),s($),s(p),s(C),s(pe),s(Z),s(fe),s(me),s(I),s(ue),s(ge),s(o),s(he),s(le)),s(c),v(A,e),v(T,e),v(W,e),v(F),v(P),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 ht(K){return rt(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class wt extends at{constructor(c){super(),it(this,c,ht,ut,nt,{})}}export{wt as component};
