import{s as qr,n as Gr,o as Br}from"../chunks/scheduler.182ea377.js";import{S as Sr,i as jr,g as a,s as r,r as c,A as Yr,h as s,f as n,c as o,j as _,u as m,x as u,k as v,y as t,a as I,v as g,d as p,t as l,w as f}from"../chunks/index.abf12888.js";import{D as b}from"../chunks/Docstring.81ce6c10.js";import{H as ur,E as Jr}from"../chunks/EditOnGithub.9b8e78e4.js";function Kr(hr){let P,Se,Ge,je,B,Ye,S,_r='The <code>VaeImageProcessor</code> provides a unified API for <a href="/docs/diffusers/main/en/api/pipelines/stable_diffusion/text2img#diffusers.StableDiffusionPipeline">StableDiffusionPipeline</a>s to prepare image inputs for VAE encoding and post-processing outputs once they’re decoded. This includes transformations such as resizing, normalization, and conversion between PIL Image, PyTorch, and NumPy arrays.',Je,j,vr="All pipelines with <code>VaeImageProcessor</code> accept PIL Image, PyTorch tensor, or NumPy arrays as image inputs and return outputs based on the <code>output_type</code> argument by the user. You can pass encoded image latents directly to the pipeline and return latents from the pipeline as a specific output with the <code>output_type</code> argument (for example <code>output_type=&quot;latent&quot;</code>). This allows you to take the generated latents from one pipeline and pass it to another pipeline as input without leaving the latent space. It also makes it much easier to use multiple pipelines together by passing PyTorch tensors directly between different pipelines.",Ke,Y,Qe,i,J,wt,Ie,br="Image processor for VAE.",Vt,y,K,zt,xe,$r="overlay the inpaint output to the original image",Ct,w,Q,Lt,Pe,Ir="Create a mask.",Dt,V,X,Tt,ye,xr="Applies Gaussian blur to an image.",Et,z,Z,Nt,we,Pr="Converts a PIL image to grayscale format.",Mt,C,ee,kt,Ve,yr="Converts a PIL image to RGB format.",At,L,te,Ht,ze,wr="Denormalize an image array to [0,1].",Ft,D,re,Ot,Ce,Vr=`Finds a rectangular region that contains all masked ares in an image, and expands region to match the aspect
ratio of the original image; for example, if user drew mask in a 128x32 region, and the dimensions for
processing are 512x512, the region will be expanded to 128x128.`,Ut,T,oe,Wt,Le,zr=`This function return the height and width that are downscaled to the next integer multiple of
<code>vae_scale_factor</code>.`,Rt,E,ae,qt,De,Cr="Normalize an image array to [-1,1].",Gt,N,se,Bt,Te,Lr="Convert a numpy image or a batch of images to a PIL image.",St,M,ne,jt,Ee,Dr="Convert a NumPy image to a PyTorch tensor.",Yt,k,ie,Jt,Ne,Tr="Convert a PIL image or a list of PIL images to NumPy arrays.",Kt,A,de,Qt,Me,Er="Postprocess the image output from tensor to <code>output_type</code>.",Xt,H,ce,Zt,ke,Nr="Preprocess the image input.",er,F,me,tr,Ae,Mr="Convert a PyTorch tensor to a NumPy image.",rr,O,ge,or,He,kr="Resize image.",Xe,pe,Ze,le,Ar="The <code>VaeImageProcessorLDM3D</code> accepts RGB and depth inputs and returns RGB and depth outputs.",et,$,fe,ar,Fe,Hr="Image processor for VAE LDM3D.",sr,U,ue,nr,Oe,Fr="Convert a PIL image or a list of PIL images to NumPy arrays.",ir,W,he,dr,Ue,Or="Convert a NumPy depth image or a batch of images to a PIL image.",cr,R,_e,mr,We,Ur="Convert a NumPy image or a batch of images to a PIL image.",gr,q,ve,pr,Re,Wr="Preprocess the image input. Accepted formats are PIL images, NumPy arrays or PyTorch tensors.",lr,G,be,fr,qe,Rr="Returns: depth map",tt,$e,rt,Be,ot;return B=new ur({props:{title:"VAE Image Processor",local:"vae-image-processor",headingTag:"h1"}}),Y=new ur({props:{title:"VaeImageProcessor",local:"diffusers.image_processor.VaeImageProcessor",headingTag:"h2"}}),J=new b({props:{name:"class diffusers.image_processor.VaeImageProcessor",anchor:"diffusers.image_processor.VaeImageProcessor",parameters:[{name:"do_resize",val:": bool = True"},{name:"vae_scale_factor",val:": int = 8"},{name:"resample",val:": str = 'lanczos'"},{name:"do_normalize",val:": bool = True"},{name:"do_binarize",val:": bool = False"},{name:"do_convert_rgb",val:": bool = False"},{name:"do_convert_grayscale",val:": bool = False"}],parametersDescription:[{anchor:"diffusers.image_processor.VaeImageProcessor.do_resize",description:`<strong>do_resize</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether to downscale the image&#x2019;s (height, width) dimensions to multiples of <code>vae_scale_factor</code>. Can accept
<code>height</code> and <code>width</code> arguments from <a href="/docs/diffusers/main/en/api/image_processor#diffusers.image_processor.VaeImageProcessor.preprocess">image_processor.VaeImageProcessor.preprocess()</a> method.`,name:"do_resize"},{anchor:"diffusers.image_processor.VaeImageProcessor.vae_scale_factor",description:`<strong>vae_scale_factor</strong> (<code>int</code>, <em>optional</em>, defaults to <code>8</code>) &#x2014;
VAE scale factor. If <code>do_resize</code> is <code>True</code>, the image is automatically resized to multiples of this factor.`,name:"vae_scale_factor"},{anchor:"diffusers.image_processor.VaeImageProcessor.resample",description:`<strong>resample</strong> (<code>str</code>, <em>optional</em>, defaults to <code>lanczos</code>) &#x2014;
Resampling filter to use when resizing the image.`,name:"resample"},{anchor:"diffusers.image_processor.VaeImageProcessor.do_normalize",description:`<strong>do_normalize</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether to normalize the image to [-1,1].`,name:"do_normalize"},{anchor:"diffusers.image_processor.VaeImageProcessor.do_binarize",description:`<strong>do_binarize</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether to binarize the image to 0/1.`,name:"do_binarize"},{anchor:"diffusers.image_processor.VaeImageProcessor.do_convert_rgb",description:`<strong>do_convert_rgb</strong> (<code>bool</code>, <em>optional</em>, defaults to be <code>False</code>) &#x2014;
Whether to convert the images to RGB format.`,name:"do_convert_rgb"},{anchor:"diffusers.image_processor.VaeImageProcessor.do_convert_grayscale",description:`<strong>do_convert_grayscale</strong> (<code>bool</code>, <em>optional</em>, defaults to be <code>False</code>) &#x2014;
Whether to convert the images to grayscale format.`,name:"do_convert_grayscale"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L41"}}),K=new b({props:{name:"apply_overlay",anchor:"diffusers.image_processor.VaeImageProcessor.apply_overlay",parameters:[{name:"mask",val:": Image"},{name:"init_image",val:": Image"},{name:"image",val:": Image"},{name:"crop_coords",val:": Optional = None"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L618"}}),Q=new b({props:{name:"binarize",anchor:"diffusers.image_processor.VaeImageProcessor.binarize",parameters:[{name:"image",val:": Image"}],parametersDescription:[{anchor:"diffusers.image_processor.VaeImageProcessor.binarize.image",description:`<strong>image</strong> (<code>PIL.Image.Image</code>) &#x2014;
The image input, should be a PIL image.`,name:"image"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L390",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The binarized image. Values less than 0.5 are set to 0, values greater than 0.5 are set to 1.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>PIL.Image.Image</code></p>
`}}),X=new b({props:{name:"blur",anchor:"diffusers.image_processor.VaeImageProcessor.blur",parameters:[{name:"image",val:": Image"},{name:"blur_factor",val:": int = 4"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L164"}}),Z=new b({props:{name:"convert_to_grayscale",anchor:"diffusers.image_processor.VaeImageProcessor.convert_to_grayscale",parameters:[{name:"image",val:": Image"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L155"}}),ee=new b({props:{name:"convert_to_rgb",anchor:"diffusers.image_processor.VaeImageProcessor.convert_to_rgb",parameters:[{name:"image",val:": Image"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L146"}}),te=new b({props:{name:"denormalize",anchor:"diffusers.image_processor.VaeImageProcessor.denormalize",parameters:[{name:"images",val:": Union"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L139"}}),re=new b({props:{name:"get_crop_region",anchor:"diffusers.image_processor.VaeImageProcessor.get_crop_region",parameters:[{name:"mask_image",val:": Image"},{name:"width",val:": int"},{name:"height",val:": int"},{name:"pad",val:" = 0"}],parametersDescription:[{anchor:"diffusers.image_processor.VaeImageProcessor.get_crop_region.mask_image",description:"<strong>mask_image</strong> (PIL.Image.Image) &#x2014; Mask image.",name:"mask_image"},{anchor:"diffusers.image_processor.VaeImageProcessor.get_crop_region.width",description:"<strong>width</strong> (int) &#x2014; Width of the image to be processed.",name:"width"},{anchor:"diffusers.image_processor.VaeImageProcessor.get_crop_region.height",description:"<strong>height</strong> (int) &#x2014; Height of the image to be processed.",name:"height"},{anchor:"diffusers.image_processor.VaeImageProcessor.get_crop_region.pad",description:"<strong>pad</strong> (int, optional) &#x2014; Padding to be added to the crop region. Defaults to 0.",name:"pad"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L173",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>(x1, y1, x2, y2) represent a rectangular region that contains all masked ares in an image and
matches the original aspect ratio.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p>tuple</p>
`}}),oe=new b({props:{name:"get_default_height_width",anchor:"diffusers.image_processor.VaeImageProcessor.get_default_height_width",parameters:[{name:"image",val:": Union"},{name:"height",val:": Optional = None"},{name:"width",val:": Optional = None"}],parametersDescription:[{anchor:"diffusers.image_processor.VaeImageProcessor.get_default_height_width.image(PIL.Image.Image,",description:`<strong>image(<code>PIL.Image.Image</code>,</strong> <code>np.ndarray</code> or <code>torch.Tensor</code>) &#x2014;
The image input, can be a PIL image, numpy array or pytorch tensor. if it is a numpy array, should have
shape <code>[batch, height, width]</code> or <code>[batch, height, width, channel]</code> if it is a pytorch tensor, should
have shape <code>[batch, channel, height, width]</code>.`,name:"image(PIL.Image.Image,"},{anchor:"diffusers.image_processor.VaeImageProcessor.get_default_height_width.height",description:`<strong>height</strong> (<code>int</code>, <em>optional</em>, defaults to <code>None</code>) &#x2014;
The height in preprocessed image. If <code>None</code>, will use the height of <code>image</code> input.`,name:"height"},{anchor:"diffusers.image_processor.VaeImageProcessor.get_default_height_width.width",description:"<strong>width</strong> (<code>int</code>, <em>optional</em><code>, defaults to </code>None<code>) -- The width in preprocessed. If </code>None<code>, will use the width of the </code>image` input.",name:"width"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L407"}}),ae=new b({props:{name:"normalize",anchor:"diffusers.image_processor.VaeImageProcessor.normalize",parameters:[{name:"images",val:": Union"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L132"}}),se=new b({props:{name:"numpy_to_pil",anchor:"diffusers.image_processor.VaeImageProcessor.numpy_to_pil",parameters:[{name:"images",val:": ndarray"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L85"}}),ne=new b({props:{name:"numpy_to_pt",anchor:"diffusers.image_processor.VaeImageProcessor.numpy_to_pt",parameters:[{name:"images",val:": ndarray"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L113"}}),ie=new b({props:{name:"pil_to_numpy",anchor:"diffusers.image_processor.VaeImageProcessor.pil_to_numpy",parameters:[{name:"images",val:": Union"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L101"}}),de=new b({props:{name:"postprocess",anchor:"diffusers.image_processor.VaeImageProcessor.postprocess",parameters:[{name:"image",val:": FloatTensor"},{name:"output_type",val:": str = 'pil'"},{name:"do_denormalize",val:": Optional = None"}],parametersDescription:[{anchor:"diffusers.image_processor.VaeImageProcessor.postprocess.image",description:`<strong>image</strong> (<code>torch.FloatTensor</code>) &#x2014;
The image input, should be a pytorch tensor with shape <code>B x C x H x W</code>.`,name:"image"},{anchor:"diffusers.image_processor.VaeImageProcessor.postprocess.output_type",description:`<strong>output_type</strong> (<code>str</code>, <em>optional</em>, defaults to <code>pil</code>) &#x2014;
The output type of the image, can be one of <code>pil</code>, <code>np</code>, <code>pt</code>, <code>latent</code>.`,name:"output_type"},{anchor:"diffusers.image_processor.VaeImageProcessor.postprocess.do_denormalize",description:`<strong>do_denormalize</strong> (<code>List[bool]</code>, <em>optional</em>, defaults to <code>None</code>) &#x2014;
Whether to denormalize the image to [0,1]. If <code>None</code>, will use the value of <code>do_normalize</code> in the
<code>VaeImageProcessor</code> config.`,name:"do_denormalize"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L563",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The postprocessed image.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>PIL.Image.Image</code>, <code>np.ndarray</code> or <code>torch.FloatTensor</code></p>
`}}),ce=new b({props:{name:"preprocess",anchor:"diffusers.image_processor.VaeImageProcessor.preprocess",parameters:[{name:"image",val:": Union"},{name:"height",val:": Optional = None"},{name:"width",val:": Optional = None"},{name:"resize_mode",val:": str = 'default'"},{name:"crops_coords",val:": Optional = None"}],parametersDescription:[{anchor:"diffusers.image_processor.VaeImageProcessor.preprocess.image",description:`<strong>image</strong> (<code>pipeline_image_input</code>) &#x2014;
The image input, accepted formats are PIL images, NumPy arrays, PyTorch tensors; Also accept list of
supported formats.`,name:"image"},{anchor:"diffusers.image_processor.VaeImageProcessor.preprocess.height",description:`<strong>height</strong> (<code>int</code>, <em>optional</em>, defaults to <code>None</code>) &#x2014;
The height in preprocessed image. If <code>None</code>, will use the <code>get_default_height_width()</code> to get default
height.`,name:"height"},{anchor:"diffusers.image_processor.VaeImageProcessor.preprocess.width",description:"<strong>width</strong> (<code>int</code>, <em>optional</em><code>, defaults to </code>None<code>) -- The width in preprocessed. If </code>None<code>, will use get_default_height_width()</code> to get the default width.",name:"width"},{anchor:"diffusers.image_processor.VaeImageProcessor.preprocess.resize_mode",description:`<strong>resize_mode</strong> (<code>str</code>, <em>optional</em>, defaults to <code>default</code>) &#x2014;
The resize mode, can be one of <code>default</code> or <code>fill</code>. If <code>default</code>, will resize the image to fit within
the specified width and height, and it may not maintaining the original aspect ratio. If <code>fill</code>, will
resize the image to fit within the specified width and height, maintaining the aspect ratio, and then
center the image within the dimensions, filling empty with data from image. If <code>crop</code>, will resize the
image to fit within the specified width and height, maintaining the aspect ratio, and then center the
image within the dimensions, cropping the excess. Note that resize_mode <code>fill</code> and <code>crop</code> are only
supported for PIL image input.`,name:"resize_mode"},{anchor:"diffusers.image_processor.VaeImageProcessor.preprocess.crops_coords",description:`<strong>crops_coords</strong> (<code>List[Tuple[int, int, int, int]]</code>, <em>optional</em>, defaults to <code>None</code>) &#x2014;
The crop coordinates for each image in the batch. If <code>None</code>, will not crop the image.`,name:"crops_coords"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L450"}}),me=new b({props:{name:"pt_to_numpy",anchor:"diffusers.image_processor.VaeImageProcessor.pt_to_numpy",parameters:[{name:"images",val:": FloatTensor"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L124"}}),ge=new b({props:{name:"resize",anchor:"diffusers.image_processor.VaeImageProcessor.resize",parameters:[{name:"image",val:": Union"},{name:"height",val:": int"},{name:"width",val:": int"},{name:"resize_mode",val:": str = 'default'"}],parametersDescription:[{anchor:"diffusers.image_processor.VaeImageProcessor.resize.image",description:`<strong>image</strong> (<code>PIL.Image.Image</code>, <code>np.ndarray</code> or <code>torch.Tensor</code>) &#x2014;
The image input, can be a PIL image, numpy array or pytorch tensor.`,name:"image"},{anchor:"diffusers.image_processor.VaeImageProcessor.resize.height",description:`<strong>height</strong> (<code>int</code>) &#x2014;
The height to resize to.`,name:"height"},{anchor:"diffusers.image_processor.VaeImageProcessor.resize.width",description:`<strong>width</strong> (<code>int</code>) &#x2014;
The width to resize to.`,name:"width"},{anchor:"diffusers.image_processor.VaeImageProcessor.resize.resize_mode",description:`<strong>resize_mode</strong> (<code>str</code>, <em>optional</em>, defaults to <code>default</code>) &#x2014;
The resize mode to use, can be one of <code>default</code> or <code>fill</code>. If <code>default</code>, will resize the image to fit
within the specified width and height, and it may not maintaining the original aspect ratio. If <code>fill</code>,
will resize the image to fit within the specified width and height, maintaining the aspect ratio, and
then center the image within the dimensions, filling empty with data from image. If <code>crop</code>, will resize
the image to fit within the specified width and height, maintaining the aspect ratio, and then center
the image within the dimensions, cropping the excess. Note that resize_mode <code>fill</code> and <code>crop</code> are only
supported for PIL image input.`,name:"resize_mode"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L334",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The resized image.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>PIL.Image.Image</code>, <code>np.ndarray</code> or <code>torch.Tensor</code></p>
`}}),pe=new ur({props:{title:"VaeImageProcessorLDM3D",local:"diffusers.image_processor.VaeImageProcessorLDM3D",headingTag:"h2"}}),fe=new b({props:{name:"class diffusers.image_processor.VaeImageProcessorLDM3D",anchor:"diffusers.image_processor.VaeImageProcessorLDM3D",parameters:[{name:"do_resize",val:": bool = True"},{name:"vae_scale_factor",val:": int = 8"},{name:"resample",val:": str = 'lanczos'"},{name:"do_normalize",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.image_processor.VaeImageProcessorLDM3D.do_resize",description:`<strong>do_resize</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether to downscale the image&#x2019;s (height, width) dimensions to multiples of <code>vae_scale_factor</code>.`,name:"do_resize"},{anchor:"diffusers.image_processor.VaeImageProcessorLDM3D.vae_scale_factor",description:`<strong>vae_scale_factor</strong> (<code>int</code>, <em>optional</em>, defaults to <code>8</code>) &#x2014;
VAE scale factor. If <code>do_resize</code> is <code>True</code>, the image is automatically resized to multiples of this factor.`,name:"vae_scale_factor"},{anchor:"diffusers.image_processor.VaeImageProcessorLDM3D.resample",description:`<strong>resample</strong> (<code>str</code>, <em>optional</em>, defaults to <code>lanczos</code>) &#x2014;
Resampling filter to use when resizing the image.`,name:"resample"},{anchor:"diffusers.image_processor.VaeImageProcessorLDM3D.do_normalize",description:`<strong>do_normalize</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether to normalize the image to [-1,1].`,name:"do_normalize"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L654"}}),ue=new b({props:{name:"depth_pil_to_numpy",anchor:"diffusers.image_processor.VaeImageProcessorLDM3D.depth_pil_to_numpy",parameters:[{name:"images",val:": Union"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L697"}}),he=new b({props:{name:"numpy_to_depth",anchor:"diffusers.image_processor.VaeImageProcessorLDM3D.numpy_to_depth",parameters:[{name:"images",val:": ndarray"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L720"}}),_e=new b({props:{name:"numpy_to_pil",anchor:"diffusers.image_processor.VaeImageProcessorLDM3D.numpy_to_pil",parameters:[{name:"images",val:": ndarray"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L681"}}),ve=new b({props:{name:"preprocess",anchor:"diffusers.image_processor.VaeImageProcessorLDM3D.preprocess",parameters:[{name:"rgb",val:": Union"},{name:"depth",val:": Union"},{name:"height",val:": Optional = None"},{name:"width",val:": Optional = None"},{name:"target_res",val:": Optional = None"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L795"}}),be=new b({props:{name:"rgblike_to_depthmap",anchor:"diffusers.image_processor.VaeImageProcessorLDM3D.rgblike_to_depthmap",parameters:[{name:"image",val:": Union"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L709"}}),$e=new Jr({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/api/image_processor.md"}}),{c(){P=a("meta"),Se=r(),Ge=a("p"),je=r(),c(B.$$.fragment),Ye=r(),S=a("p"),S.innerHTML=_r,Je=r(),j=a("p"),j.innerHTML=vr,Ke=r(),c(Y.$$.fragment),Qe=r(),i=a("div"),c(J.$$.fragment),wt=r(),Ie=a("p"),Ie.textContent=br,Vt=r(),y=a("div"),c(K.$$.fragment),zt=r(),xe=a("p"),xe.textContent=$r,Ct=r(),w=a("div"),c(Q.$$.fragment),Lt=r(),Pe=a("p"),Pe.textContent=Ir,Dt=r(),V=a("div"),c(X.$$.fragment),Tt=r(),ye=a("p"),ye.textContent=xr,Et=r(),z=a("div"),c(Z.$$.fragment),Nt=r(),we=a("p"),we.textContent=Pr,Mt=r(),C=a("div"),c(ee.$$.fragment),kt=r(),Ve=a("p"),Ve.textContent=yr,At=r(),L=a("div"),c(te.$$.fragment),Ht=r(),ze=a("p"),ze.textContent=wr,Ft=r(),D=a("div"),c(re.$$.fragment),Ot=r(),Ce=a("p"),Ce.textContent=Vr,Ut=r(),T=a("div"),c(oe.$$.fragment),Wt=r(),Le=a("p"),Le.innerHTML=zr,Rt=r(),E=a("div"),c(ae.$$.fragment),qt=r(),De=a("p"),De.textContent=Cr,Gt=r(),N=a("div"),c(se.$$.fragment),Bt=r(),Te=a("p"),Te.textContent=Lr,St=r(),M=a("div"),c(ne.$$.fragment),jt=r(),Ee=a("p"),Ee.textContent=Dr,Yt=r(),k=a("div"),c(ie.$$.fragment),Jt=r(),Ne=a("p"),Ne.textContent=Tr,Kt=r(),A=a("div"),c(de.$$.fragment),Qt=r(),Me=a("p"),Me.innerHTML=Er,Xt=r(),H=a("div"),c(ce.$$.fragment),Zt=r(),ke=a("p"),ke.textContent=Nr,er=r(),F=a("div"),c(me.$$.fragment),tr=r(),Ae=a("p"),Ae.textContent=Mr,rr=r(),O=a("div"),c(ge.$$.fragment),or=r(),He=a("p"),He.textContent=kr,Xe=r(),c(pe.$$.fragment),Ze=r(),le=a("p"),le.innerHTML=Ar,et=r(),$=a("div"),c(fe.$$.fragment),ar=r(),Fe=a("p"),Fe.textContent=Hr,sr=r(),U=a("div"),c(ue.$$.fragment),nr=r(),Oe=a("p"),Oe.textContent=Fr,ir=r(),W=a("div"),c(he.$$.fragment),dr=r(),Ue=a("p"),Ue.textContent=Or,cr=r(),R=a("div"),c(_e.$$.fragment),mr=r(),We=a("p"),We.textContent=Ur,gr=r(),q=a("div"),c(ve.$$.fragment),pr=r(),Re=a("p"),Re.textContent=Wr,lr=r(),G=a("div"),c(be.$$.fragment),fr=r(),qe=a("p"),qe.textContent=Rr,tt=r(),c($e.$$.fragment),rt=r(),Be=a("p"),this.h()},l(e){const h=Yr("svelte-u9bgzb",document.head);P=s(h,"META",{name:!0,content:!0}),h.forEach(n),Se=o(e),Ge=s(e,"P",{}),_(Ge).forEach(n),je=o(e),m(B.$$.fragment,e),Ye=o(e),S=s(e,"P",{"data-svelte-h":!0}),u(S)!=="svelte-lut875"&&(S.innerHTML=_r),Je=o(e),j=s(e,"P",{"data-svelte-h":!0}),u(j)!=="svelte-15xkwv1"&&(j.innerHTML=vr),Ke=o(e),m(Y.$$.fragment,e),Qe=o(e),i=s(e,"DIV",{class:!0});var d=_(i);m(J.$$.fragment,d),wt=o(d),Ie=s(d,"P",{"data-svelte-h":!0}),u(Ie)!=="svelte-20k7u4"&&(Ie.textContent=br),Vt=o(d),y=s(d,"DIV",{class:!0});var at=_(y);m(K.$$.fragment,at),zt=o(at),xe=s(at,"P",{"data-svelte-h":!0}),u(xe)!=="svelte-3locv9"&&(xe.textContent=$r),at.forEach(n),Ct=o(d),w=s(d,"DIV",{class:!0});var st=_(w);m(Q.$$.fragment,st),Lt=o(st),Pe=s(st,"P",{"data-svelte-h":!0}),u(Pe)!=="svelte-1jdqg5n"&&(Pe.textContent=Ir),st.forEach(n),Dt=o(d),V=s(d,"DIV",{class:!0});var nt=_(V);m(X.$$.fragment,nt),Tt=o(nt),ye=s(nt,"P",{"data-svelte-h":!0}),u(ye)!=="svelte-1l3ylqr"&&(ye.textContent=xr),nt.forEach(n),Et=o(d),z=s(d,"DIV",{class:!0});var it=_(z);m(Z.$$.fragment,it),Nt=o(it),we=s(it,"P",{"data-svelte-h":!0}),u(we)!=="svelte-vsbjec"&&(we.textContent=Pr),it.forEach(n),Mt=o(d),C=s(d,"DIV",{class:!0});var dt=_(C);m(ee.$$.fragment,dt),kt=o(dt),Ve=s(dt,"P",{"data-svelte-h":!0}),u(Ve)!=="svelte-ckvlrc"&&(Ve.textContent=yr),dt.forEach(n),At=o(d),L=s(d,"DIV",{class:!0});var ct=_(L);m(te.$$.fragment,ct),Ht=o(ct),ze=s(ct,"P",{"data-svelte-h":!0}),u(ze)!=="svelte-ipi2rr"&&(ze.textContent=wr),ct.forEach(n),Ft=o(d),D=s(d,"DIV",{class:!0});var mt=_(D);m(re.$$.fragment,mt),Ot=o(mt),Ce=s(mt,"P",{"data-svelte-h":!0}),u(Ce)!=="svelte-1gkaazy"&&(Ce.textContent=Vr),mt.forEach(n),Ut=o(d),T=s(d,"DIV",{class:!0});var gt=_(T);m(oe.$$.fragment,gt),Wt=o(gt),Le=s(gt,"P",{"data-svelte-h":!0}),u(Le)!=="svelte-kfv3nk"&&(Le.innerHTML=zr),gt.forEach(n),Rt=o(d),E=s(d,"DIV",{class:!0});var pt=_(E);m(ae.$$.fragment,pt),qt=o(pt),De=s(pt,"P",{"data-svelte-h":!0}),u(De)!=="svelte-1l17iqw"&&(De.textContent=Cr),pt.forEach(n),Gt=o(d),N=s(d,"DIV",{class:!0});var lt=_(N);m(se.$$.fragment,lt),Bt=o(lt),Te=s(lt,"P",{"data-svelte-h":!0}),u(Te)!=="svelte-49eriv"&&(Te.textContent=Lr),lt.forEach(n),St=o(d),M=s(d,"DIV",{class:!0});var ft=_(M);m(ne.$$.fragment,ft),jt=o(ft),Ee=s(ft,"P",{"data-svelte-h":!0}),u(Ee)!=="svelte-uauale"&&(Ee.textContent=Dr),ft.forEach(n),Yt=o(d),k=s(d,"DIV",{class:!0});var ut=_(k);m(ie.$$.fragment,ut),Jt=o(ut),Ne=s(ut,"P",{"data-svelte-h":!0}),u(Ne)!=="svelte-x3z8ka"&&(Ne.textContent=Tr),ut.forEach(n),Kt=o(d),A=s(d,"DIV",{class:!0});var ht=_(A);m(de.$$.fragment,ht),Qt=o(ht),Me=s(ht,"P",{"data-svelte-h":!0}),u(Me)!=="svelte-m705s9"&&(Me.innerHTML=Er),ht.forEach(n),Xt=o(d),H=s(d,"DIV",{class:!0});var _t=_(H);m(ce.$$.fragment,_t),Zt=o(_t),ke=s(_t,"P",{"data-svelte-h":!0}),u(ke)!=="svelte-1p2bpse"&&(ke.textContent=Nr),_t.forEach(n),er=o(d),F=s(d,"DIV",{class:!0});var vt=_(F);m(me.$$.fragment,vt),tr=o(vt),Ae=s(vt,"P",{"data-svelte-h":!0}),u(Ae)!=="svelte-1acncdu"&&(Ae.textContent=Mr),vt.forEach(n),rr=o(d),O=s(d,"DIV",{class:!0});var bt=_(O);m(ge.$$.fragment,bt),or=o(bt),He=s(bt,"P",{"data-svelte-h":!0}),u(He)!=="svelte-si84j5"&&(He.textContent=kr),bt.forEach(n),d.forEach(n),Xe=o(e),m(pe.$$.fragment,e),Ze=o(e),le=s(e,"P",{"data-svelte-h":!0}),u(le)!=="svelte-12yfhhz"&&(le.innerHTML=Ar),et=o(e),$=s(e,"DIV",{class:!0});var x=_($);m(fe.$$.fragment,x),ar=o(x),Fe=s(x,"P",{"data-svelte-h":!0}),u(Fe)!=="svelte-bz065s"&&(Fe.textContent=Hr),sr=o(x),U=s(x,"DIV",{class:!0});var $t=_(U);m(ue.$$.fragment,$t),nr=o($t),Oe=s($t,"P",{"data-svelte-h":!0}),u(Oe)!=="svelte-x3z8ka"&&(Oe.textContent=Fr),$t.forEach(n),ir=o(x),W=s(x,"DIV",{class:!0});var It=_(W);m(he.$$.fragment,It),dr=o(It),Ue=s(It,"P",{"data-svelte-h":!0}),u(Ue)!=="svelte-1k4lt1u"&&(Ue.textContent=Or),It.forEach(n),cr=o(x),R=s(x,"DIV",{class:!0});var xt=_(R);m(_e.$$.fragment,xt),mr=o(xt),We=s(xt,"P",{"data-svelte-h":!0}),u(We)!=="svelte-1gut907"&&(We.textContent=Ur),xt.forEach(n),gr=o(x),q=s(x,"DIV",{class:!0});var Pt=_(q);m(ve.$$.fragment,Pt),pr=o(Pt),Re=s(Pt,"P",{"data-svelte-h":!0}),u(Re)!=="svelte-10dsfen"&&(Re.textContent=Wr),Pt.forEach(n),lr=o(x),G=s(x,"DIV",{class:!0});var yt=_(G);m(be.$$.fragment,yt),fr=o(yt),qe=s(yt,"P",{"data-svelte-h":!0}),u(qe)!=="svelte-ectrn8"&&(qe.textContent=Rr),yt.forEach(n),x.forEach(n),tt=o(e),m($e.$$.fragment,e),rt=o(e),Be=s(e,"P",{}),_(Be).forEach(n),this.h()},h(){v(P,"name","hf:doc:metadata"),v(P,"content",Qr),v(y,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(w,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(V,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(z,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(C,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(L,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(D,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(T,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(E,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(N,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(M,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(k,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(A,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(H,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(F,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(O,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(i,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(U,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(W,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(R,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(q,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(G,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v($,"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,h){t(document.head,P),I(e,Se,h),I(e,Ge,h),I(e,je,h),g(B,e,h),I(e,Ye,h),I(e,S,h),I(e,Je,h),I(e,j,h),I(e,Ke,h),g(Y,e,h),I(e,Qe,h),I(e,i,h),g(J,i,null),t(i,wt),t(i,Ie),t(i,Vt),t(i,y),g(K,y,null),t(y,zt),t(y,xe),t(i,Ct),t(i,w),g(Q,w,null),t(w,Lt),t(w,Pe),t(i,Dt),t(i,V),g(X,V,null),t(V,Tt),t(V,ye),t(i,Et),t(i,z),g(Z,z,null),t(z,Nt),t(z,we),t(i,Mt),t(i,C),g(ee,C,null),t(C,kt),t(C,Ve),t(i,At),t(i,L),g(te,L,null),t(L,Ht),t(L,ze),t(i,Ft),t(i,D),g(re,D,null),t(D,Ot),t(D,Ce),t(i,Ut),t(i,T),g(oe,T,null),t(T,Wt),t(T,Le),t(i,Rt),t(i,E),g(ae,E,null),t(E,qt),t(E,De),t(i,Gt),t(i,N),g(se,N,null),t(N,Bt),t(N,Te),t(i,St),t(i,M),g(ne,M,null),t(M,jt),t(M,Ee),t(i,Yt),t(i,k),g(ie,k,null),t(k,Jt),t(k,Ne),t(i,Kt),t(i,A),g(de,A,null),t(A,Qt),t(A,Me),t(i,Xt),t(i,H),g(ce,H,null),t(H,Zt),t(H,ke),t(i,er),t(i,F),g(me,F,null),t(F,tr),t(F,Ae),t(i,rr),t(i,O),g(ge,O,null),t(O,or),t(O,He),I(e,Xe,h),g(pe,e,h),I(e,Ze,h),I(e,le,h),I(e,et,h),I(e,$,h),g(fe,$,null),t($,ar),t($,Fe),t($,sr),t($,U),g(ue,U,null),t(U,nr),t(U,Oe),t($,ir),t($,W),g(he,W,null),t(W,dr),t(W,Ue),t($,cr),t($,R),g(_e,R,null),t(R,mr),t(R,We),t($,gr),t($,q),g(ve,q,null),t(q,pr),t(q,Re),t($,lr),t($,G),g(be,G,null),t(G,fr),t(G,qe),I(e,tt,h),g($e,e,h),I(e,rt,h),I(e,Be,h),ot=!0},p:Gr,i(e){ot||(p(B.$$.fragment,e),p(Y.$$.fragment,e),p(J.$$.fragment,e),p(K.$$.fragment,e),p(Q.$$.fragment,e),p(X.$$.fragment,e),p(Z.$$.fragment,e),p(ee.$$.fragment,e),p(te.$$.fragment,e),p(re.$$.fragment,e),p(oe.$$.fragment,e),p(ae.$$.fragment,e),p(se.$$.fragment,e),p(ne.$$.fragment,e),p(ie.$$.fragment,e),p(de.$$.fragment,e),p(ce.$$.fragment,e),p(me.$$.fragment,e),p(ge.$$.fragment,e),p(pe.$$.fragment,e),p(fe.$$.fragment,e),p(ue.$$.fragment,e),p(he.$$.fragment,e),p(_e.$$.fragment,e),p(ve.$$.fragment,e),p(be.$$.fragment,e),p($e.$$.fragment,e),ot=!0)},o(e){l(B.$$.fragment,e),l(Y.$$.fragment,e),l(J.$$.fragment,e),l(K.$$.fragment,e),l(Q.$$.fragment,e),l(X.$$.fragment,e),l(Z.$$.fragment,e),l(ee.$$.fragment,e),l(te.$$.fragment,e),l(re.$$.fragment,e),l(oe.$$.fragment,e),l(ae.$$.fragment,e),l(se.$$.fragment,e),l(ne.$$.fragment,e),l(ie.$$.fragment,e),l(de.$$.fragment,e),l(ce.$$.fragment,e),l(me.$$.fragment,e),l(ge.$$.fragment,e),l(pe.$$.fragment,e),l(fe.$$.fragment,e),l(ue.$$.fragment,e),l(he.$$.fragment,e),l(_e.$$.fragment,e),l(ve.$$.fragment,e),l(be.$$.fragment,e),l($e.$$.fragment,e),ot=!1},d(e){e&&(n(Se),n(Ge),n(je),n(Ye),n(S),n(Je),n(j),n(Ke),n(Qe),n(i),n(Xe),n(Ze),n(le),n(et),n($),n(tt),n(rt),n(Be)),n(P),f(B,e),f(Y,e),f(J),f(K),f(Q),f(X),f(Z),f(ee),f(te),f(re),f(oe),f(ae),f(se),f(ne),f(ie),f(de),f(ce),f(me),f(ge),f(pe,e),f(fe),f(ue),f(he),f(_e),f(ve),f(be),f($e,e)}}}const Qr='{"title":"VAE Image Processor","local":"vae-image-processor","sections":[{"title":"VaeImageProcessor","local":"diffusers.image_processor.VaeImageProcessor","sections":[],"depth":2},{"title":"VaeImageProcessorLDM3D","local":"diffusers.image_processor.VaeImageProcessorLDM3D","sections":[],"depth":2}],"depth":1}';function Xr(hr){return Br(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class oo extends Sr{constructor(P){super(),jr(this,P,Xr,Kr,qr,{})}}export{oo as component};
