import{s as ee,o as se,n as Q}from"../chunks/scheduler.8c3d61f6.js";import{S as te,i as ae,g as Z,s as f,r as h,A as le,h as $,f as i,c as d,j as K,u as g,x as T,k as _,y as ne,a as p,v as M,d as b,t as y,w as J}from"../chunks/index.589a98e8.js";import{C as R}from"../chunks/CodeBlock.36627b28.js";import{H as O,E as ie}from"../chunks/EditOnGithub.e5a8d9cb.js";import{H as re,a as Y}from"../chunks/HfOption.9804ab8b.js";function oe(w){let t,m,a,u='<div><img class="rounded-xl" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/sdv15-no-freeu.png"/> <figcaption class="mt-2 text-center text-sm text-gray-500">FreeU disabled</figcaption></div> <div><img class="rounded-xl" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/sdv15-freeu.png"/> <figcaption class="mt-2 text-center text-sm text-gray-500">FreeU enabled</figcaption></div>',n;return t=new R({props:{code:"aW1wb3J0JTIwdG9yY2glMEFmcm9tJTIwZGlmZnVzZXJzJTIwaW1wb3J0JTIwRGlmZnVzaW9uUGlwZWxpbmUlMEElMEFwaXBlbGluZSUyMCUzRCUyMERpZmZ1c2lvblBpcGVsaW5lLmZyb21fcHJldHJhaW5lZCglMEElMjAlMjAlMjAlMjAlMjJydW53YXltbCUyRnN0YWJsZS1kaWZmdXNpb24tdjEtNSUyMiUyQyUyMHRvcmNoX2R0eXBlJTNEdG9yY2guZmxvYXQxNiUyQyUyMHNhZmV0eV9jaGVja2VyJTNETm9uZSUwQSkudG8oJTIyY3VkYSUyMiklMEFwaXBlbGluZS5lbmFibGVfZnJlZXUoczElM0QwLjklMkMlMjBzMiUzRDAuMiUyQyUyMGIxJTNEMS41JTJDJTIwYjIlM0QxLjYpJTBBZ2VuZXJhdG9yJTIwJTNEJTIwdG9yY2guR2VuZXJhdG9yKGRldmljZSUzRCUyMmNwdSUyMikubWFudWFsX3NlZWQoMzMpJTBBcHJvbXB0JTIwJTNEJTIwJTIyJTIyJTBBaW1hZ2UlMjAlM0QlMjBwaXBlbGluZShwcm9tcHQlMkMlMjBnZW5lcmF0b3IlM0RnZW5lcmF0b3IpLmltYWdlcyU1QjAlNUQlMEFpbWFnZQ==",highlighted:`<span class="hljs-keyword">import</span> torch
<span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> DiffusionPipeline

pipeline = DiffusionPipeline.from_pretrained(
    <span class="hljs-string">&quot;runwayml/stable-diffusion-v1-5&quot;</span>, torch_dtype=torch.float16, safety_checker=<span class="hljs-literal">None</span>
).to(<span class="hljs-string">&quot;cuda&quot;</span>)
pipeline.enable_freeu(s1=<span class="hljs-number">0.9</span>, s2=<span class="hljs-number">0.2</span>, b1=<span class="hljs-number">1.5</span>, b2=<span class="hljs-number">1.6</span>)
generator = torch.Generator(device=<span class="hljs-string">&quot;cpu&quot;</span>).manual_seed(<span class="hljs-number">33</span>)
prompt = <span class="hljs-string">&quot;&quot;</span>
image = pipeline(prompt, generator=generator).images[<span class="hljs-number">0</span>]
image`,wrap:!1}}),{c(){h(t.$$.fragment),m=f(),a=Z("div"),a.innerHTML=u,this.h()},l(s){g(t.$$.fragment,s),m=d(s),a=$(s,"DIV",{class:!0,"data-svelte-h":!0}),T(a)!=="svelte-1wayd6q"&&(a.innerHTML=u),this.h()},h(){_(a,"class","flex gap-4")},m(s,r){M(t,s,r),p(s,m,r),p(s,a,r),n=!0},p:Q,i(s){n||(b(t.$$.fragment,s),n=!0)},o(s){y(t.$$.fragment,s),n=!1},d(s){s&&(i(m),i(a)),J(t,s)}}}function pe(w){let t,m,a,u='<div><img class="rounded-xl" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/sdv21-no-freeu.png"/> <figcaption class="mt-2 text-center text-sm text-gray-500">FreeU disabled</figcaption></div> <div><img class="rounded-xl" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/sdv21-freeu.png"/> <figcaption class="mt-2 text-center text-sm text-gray-500">FreeU enabled</figcaption></div>',n;return t=new R({props:{code:"aW1wb3J0JTIwdG9yY2glMEFmcm9tJTIwZGlmZnVzZXJzJTIwaW1wb3J0JTIwRGlmZnVzaW9uUGlwZWxpbmUlMEElMEFwaXBlbGluZSUyMCUzRCUyMERpZmZ1c2lvblBpcGVsaW5lLmZyb21fcHJldHJhaW5lZCglMEElMjAlMjAlMjAlMjAlMjJzdGFiaWxpdHlhaSUyRnN0YWJsZS1kaWZmdXNpb24tMi0xJTIyJTJDJTIwdG9yY2hfZHR5cGUlM0R0b3JjaC5mbG9hdDE2JTJDJTIwc2FmZXR5X2NoZWNrZXIlM0ROb25lJTBBKS50byglMjJjdWRhJTIyKSUwQXBpcGVsaW5lLmVuYWJsZV9mcmVldShzMSUzRDAuOSUyQyUyMHMyJTNEMC4yJTJDJTIwYjElM0QxLjQlMkMlMjBiMiUzRDEuNiklMEFnZW5lcmF0b3IlMjAlM0QlMjB0b3JjaC5HZW5lcmF0b3IoZGV2aWNlJTNEJTIyY3B1JTIyKS5tYW51YWxfc2VlZCg4MCklMEFwcm9tcHQlMjAlM0QlMjAlMjJBJTIwc3F1aXJyZWwlMjBlYXRpbmclMjBhJTIwYnVyZ2VyJTIyJTBBaW1hZ2UlMjAlM0QlMjBwaXBlbGluZShwcm9tcHQlMkMlMjBnZW5lcmF0b3IlM0RnZW5lcmF0b3IpLmltYWdlcyU1QjAlNUQlMEFpbWFnZQ==",highlighted:`<span class="hljs-keyword">import</span> torch
<span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> DiffusionPipeline

pipeline = DiffusionPipeline.from_pretrained(
    <span class="hljs-string">&quot;stabilityai/stable-diffusion-2-1&quot;</span>, torch_dtype=torch.float16, safety_checker=<span class="hljs-literal">None</span>
).to(<span class="hljs-string">&quot;cuda&quot;</span>)
pipeline.enable_freeu(s1=<span class="hljs-number">0.9</span>, s2=<span class="hljs-number">0.2</span>, b1=<span class="hljs-number">1.4</span>, b2=<span class="hljs-number">1.6</span>)
generator = torch.Generator(device=<span class="hljs-string">&quot;cpu&quot;</span>).manual_seed(<span class="hljs-number">80</span>)
prompt = <span class="hljs-string">&quot;A squirrel eating a burger&quot;</span>
image = pipeline(prompt, generator=generator).images[<span class="hljs-number">0</span>]
image`,wrap:!1}}),{c(){h(t.$$.fragment),m=f(),a=Z("div"),a.innerHTML=u,this.h()},l(s){g(t.$$.fragment,s),m=d(s),a=$(s,"DIV",{class:!0,"data-svelte-h":!0}),T(a)!=="svelte-80qe6y"&&(a.innerHTML=u),this.h()},h(){_(a,"class","flex gap-4")},m(s,r){M(t,s,r),p(s,m,r),p(s,a,r),n=!0},p:Q,i(s){n||(b(t.$$.fragment,s),n=!0)},o(s){y(t.$$.fragment,s),n=!1},d(s){s&&(i(m),i(a)),J(t,s)}}}function me(w){let t,m,a,u='<div><img class="rounded-xl" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/sdxl-no-freeu.png"/> <figcaption class="mt-2 text-center text-sm text-gray-500">FreeU disabled</figcaption></div> <div><img class="rounded-xl" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/sdxl-freeu.png"/> <figcaption class="mt-2 text-center text-sm text-gray-500">FreeU enabled</figcaption></div>',n;return t=new R({props:{code:"aW1wb3J0JTIwdG9yY2glMEFmcm9tJTIwZGlmZnVzZXJzJTIwaW1wb3J0JTIwRGlmZnVzaW9uUGlwZWxpbmUlMEElMEFwaXBlbGluZSUyMCUzRCUyMERpZmZ1c2lvblBpcGVsaW5lLmZyb21fcHJldHJhaW5lZCglMEElMjAlMjAlMjAlMjAlMjJzdGFiaWxpdHlhaSUyRnN0YWJsZS1kaWZmdXNpb24teGwtYmFzZS0xLjAlMjIlMkMlMjB0b3JjaF9kdHlwZSUzRHRvcmNoLmZsb2F0MTYlMkMlMEEpLnRvKCUyMmN1ZGElMjIpJTBBcGlwZWxpbmUuZW5hYmxlX2ZyZWV1KHMxJTNEMC45JTJDJTIwczIlM0QwLjIlMkMlMjBiMSUzRDEuMyUyQyUyMGIyJTNEMS40KSUwQWdlbmVyYXRvciUyMCUzRCUyMHRvcmNoLkdlbmVyYXRvcihkZXZpY2UlM0QlMjJjcHUlMjIpLm1hbnVhbF9zZWVkKDEzKSUwQXByb21wdCUyMCUzRCUyMCUyMkElMjBzcXVpcnJlbCUyMGVhdGluZyUyMGElMjBidXJnZXIlMjIlMEFpbWFnZSUyMCUzRCUyMHBpcGVsaW5lKHByb21wdCUyQyUyMGdlbmVyYXRvciUzRGdlbmVyYXRvcikuaW1hZ2VzJTVCMCU1RCUwQWltYWdl",highlighted:`<span class="hljs-keyword">import</span> torch
<span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> DiffusionPipeline

pipeline = DiffusionPipeline.from_pretrained(
    <span class="hljs-string">&quot;stabilityai/stable-diffusion-xl-base-1.0&quot;</span>, torch_dtype=torch.float16,
).to(<span class="hljs-string">&quot;cuda&quot;</span>)
pipeline.enable_freeu(s1=<span class="hljs-number">0.9</span>, s2=<span class="hljs-number">0.2</span>, b1=<span class="hljs-number">1.3</span>, b2=<span class="hljs-number">1.4</span>)
generator = torch.Generator(device=<span class="hljs-string">&quot;cpu&quot;</span>).manual_seed(<span class="hljs-number">13</span>)
prompt = <span class="hljs-string">&quot;A squirrel eating a burger&quot;</span>
image = pipeline(prompt, generator=generator).images[<span class="hljs-number">0</span>]
image`,wrap:!1}}),{c(){h(t.$$.fragment),m=f(),a=Z("div"),a.innerHTML=u,this.h()},l(s){g(t.$$.fragment,s),m=d(s),a=$(s,"DIV",{class:!0,"data-svelte-h":!0}),T(a)!=="svelte-1uy9my4"&&(a.innerHTML=u),this.h()},h(){_(a,"class","flex gap-4")},m(s,r){M(t,s,r),p(s,m,r),p(s,a,r),n=!0},p:Q,i(s){n||(b(t.$$.fragment,s),n=!0)},o(s){y(t.$$.fragment,s),n=!1},d(s){s&&(i(m),i(a)),J(t,s)}}}function ce(w){let t,m,a,u='<div><img class="rounded-xl" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/video-no-freeu.gif"/> <figcaption class="mt-2 text-center text-sm text-gray-500">FreeU disabled</figcaption></div> <div><img class="rounded-xl" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/video-freeu.gif"/> <figcaption class="mt-2 text-center text-sm text-gray-500">FreeU enabled</figcaption></div>',n;return t=new R({props:{code:"aW1wb3J0JTIwdG9yY2glMEFmcm9tJTIwZGlmZnVzZXJzJTIwaW1wb3J0JTIwRGlmZnVzaW9uUGlwZWxpbmUlMEFmcm9tJTIwZGlmZnVzZXJzLnV0aWxzJTIwaW1wb3J0JTIwZXhwb3J0X3RvX3ZpZGVvJTBBJTBBcGlwZWxpbmUlMjAlM0QlMjBEaWZmdXNpb25QaXBlbGluZS5mcm9tX3ByZXRyYWluZWQoJTBBJTIwJTIwJTIwJTIwJTIyZGFtby12aWxhYiUyRnRleHQtdG8tdmlkZW8tbXMtMS43YiUyMiUyQyUyMHRvcmNoX2R0eXBlJTNEdG9yY2guZmxvYXQxNiUwQSkudG8oJTIyY3VkYSUyMiklMEElMjMlMjB2YWx1ZXMlMjBjb21lJTIwZnJvbSUyMGh0dHBzJTNBJTJGJTJGZ2l0aHViLmNvbSUyRmx5bi1yZ2IlMkZGcmVlVV9EaWZmdXNlcnMlMjN2aWRlby1waXBlbGluZXMlMEFwaXBlbGluZS5lbmFibGVfZnJlZXUoYjElM0QxLjIlMkMlMjBiMiUzRDEuNCUyQyUyMHMxJTNEMC45JTJDJTIwczIlM0QwLjIpJTBBcHJvbXB0JTIwJTNEJTIwJTIyQ29uZmlkZW50JTIwdGVkZHklMjBiZWFyJTIwc3VyZmVyJTIwcmlkZXMlMjB0aGUlMjB3YXZlJTIwaW4lMjB0aGUlMjB0cm9waWNzJTIyJTBBZ2VuZXJhdG9yJTIwJTNEJTIwdG9yY2guR2VuZXJhdG9yKGRldmljZSUzRCUyMmNwdSUyMikubWFudWFsX3NlZWQoNDcpJTBBdmlkZW9fZnJhbWVzJTIwJTNEJTIwcGlwZWxpbmUocHJvbXB0JTJDJTIwZ2VuZXJhdG9yJTNEZ2VuZXJhdG9yKS5mcmFtZXMlNUIwJTVEJTBBZXhwb3J0X3RvX3ZpZGVvKHZpZGVvX2ZyYW1lcyUyQyUyMCUyMnRlZGR5X2JlYXIubXA0JTIyJTJDJTIwZnBzJTNEMTAp",highlighted:`<span class="hljs-keyword">import</span> torch
<span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> DiffusionPipeline
<span class="hljs-keyword">from</span> diffusers.utils <span class="hljs-keyword">import</span> export_to_video

pipeline = DiffusionPipeline.from_pretrained(
    <span class="hljs-string">&quot;damo-vilab/text-to-video-ms-1.7b&quot;</span>, torch_dtype=torch.float16
).to(<span class="hljs-string">&quot;cuda&quot;</span>)
<span class="hljs-comment"># values come from https://github.com/lyn-rgb/FreeU_Diffusers#video-pipelines</span>
pipeline.enable_freeu(b1=<span class="hljs-number">1.2</span>, b2=<span class="hljs-number">1.4</span>, s1=<span class="hljs-number">0.9</span>, s2=<span class="hljs-number">0.2</span>)
prompt = <span class="hljs-string">&quot;Confident teddy bear surfer rides the wave in the tropics&quot;</span>
generator = torch.Generator(device=<span class="hljs-string">&quot;cpu&quot;</span>).manual_seed(<span class="hljs-number">47</span>)
video_frames = pipeline(prompt, generator=generator).frames[<span class="hljs-number">0</span>]
export_to_video(video_frames, <span class="hljs-string">&quot;teddy_bear.mp4&quot;</span>, fps=<span class="hljs-number">10</span>)`,wrap:!1}}),{c(){h(t.$$.fragment),m=f(),a=Z("div"),a.innerHTML=u,this.h()},l(s){g(t.$$.fragment,s),m=d(s),a=$(s,"DIV",{class:!0,"data-svelte-h":!0}),T(a)!=="svelte-3hke60"&&(a.innerHTML=u),this.h()},h(){_(a,"class","flex gap-4")},m(s,r){M(t,s,r),p(s,m,r),p(s,a,r),n=!0},p:Q,i(s){n||(b(t.$$.fragment,s),n=!0)},o(s){y(t.$$.fragment,s),n=!1},d(s){s&&(i(m),i(a)),J(t,s)}}}function ue(w){let t,m,a,u,n,s,r,v;return t=new Y({props:{id:"freeu",option:"Stable Diffusion v1-5",$$slots:{default:[oe]},$$scope:{ctx:w}}}),a=new Y({props:{id:"freeu",option:"Stable Diffusion v2-1",$$slots:{default:[pe]},$$scope:{ctx:w}}}),n=new Y({props:{id:"freeu",option:"Stable Diffusion XL",$$slots:{default:[me]},$$scope:{ctx:w}}}),r=new Y({props:{id:"freeu",option:"Zeroscope",$$slots:{default:[ce]},$$scope:{ctx:w}}}),{c(){h(t.$$.fragment),m=f(),h(a.$$.fragment),u=f(),h(n.$$.fragment),s=f(),h(r.$$.fragment)},l(l){g(t.$$.fragment,l),m=d(l),g(a.$$.fragment,l),u=d(l),g(n.$$.fragment,l),s=d(l),g(r.$$.fragment,l)},m(l,c){M(t,l,c),p(l,m,c),M(a,l,c),p(l,u,c),M(n,l,c),p(l,s,c),M(r,l,c),v=!0},p(l,c){const E={};c&2&&(E.$$scope={dirty:c,ctx:l}),t.$set(E);const x={};c&2&&(x.$$scope={dirty:c,ctx:l}),a.$set(x);const j={};c&2&&(j.$$scope={dirty:c,ctx:l}),n.$set(j);const I={};c&2&&(I.$$scope={dirty:c,ctx:l}),r.$set(I)},i(l){v||(b(t.$$.fragment,l),b(a.$$.fragment,l),b(n.$$.fragment,l),b(r.$$.fragment,l),v=!0)},o(l){y(t.$$.fragment,l),y(a.$$.fragment,l),y(n.$$.fragment,l),y(r.$$.fragment,l),v=!1},d(l){l&&(i(m),i(u),i(s)),J(t,l),J(a,l),J(n,l),J(r,l)}}}function fe(w){let t,m,a,u,n,s,r,v="The components of a diffusion model, like the UNet and scheduler, can be optimized to improve the quality of generated images leading to better details. These techniques are especially useful if you don’t have the resources to simply use a larger model for inference. You can enable these techniques during inference without any additional training.",l,c,E="This guide will show you how to turn these techniques on in your pipeline and how to configure them to improve the quality of your generated images.",x,j,I,W,D='<a href="https://hf.co/papers/2309.11497" rel="nofollow">FreeU</a> improves image details by rebalancing the UNet’s backbone and skip connection weights. The skip connections can cause the model to overlook some of the backbone semantics which may lead to unnatural image details in the generated image. This technique does not require any additional training and can be applied on the fly during inference for tasks like image-to-image and text-to-video.',C,G,L='Use the <a href="/docs/diffusers/main/en/api/pipelines/overview#diffusers.StableDiffusionMixin.enable_freeu">enable_freeu()</a> method on your pipeline and configure the scaling factors for the backbone (<code>b1</code> and <code>b2</code>) and skip connections (<code>s1</code> and <code>s2</code>). The number after each scaling factor corresponds to the stage in the UNet where the factor is applied. Take a look at the <a href="https://github.com/ChenyangSi/FreeU#parameters" rel="nofollow">FreeU</a> repository for reference hyperparameters for different models.',N,U,S,B,A='Call the <a href="/docs/diffusers/main/en/api/pipelines/overview#diffusers.StableDiffusionMixin.disable_freeu">pipelines.StableDiffusionMixin.disable_freeu()</a> method to disable FreeU.',F,X,H,k,q,V,z;return n=new O({props:{title:"Controlling image quality",local:"controlling-image-quality",headingTag:"h1"}}),j=new O({props:{title:"Details",local:"details",headingTag:"h2"}}),U=new re({props:{id:"freeu",options:["Stable Diffusion v1-5","Stable Diffusion v2-1","Stable Diffusion XL","Zeroscope"],$$slots:{default:[ue]},$$scope:{ctx:w}}}),X=new R({props:{code:"cGlwZWxpbmUuZGlzYWJsZV9mcmVldSgp",highlighted:"pipeline.disable_freeu()",wrap:!1}}),k=new ie({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/using-diffusers/image_quality.md"}}),{c(){t=Z("meta"),m=f(),a=Z("p"),u=f(),h(n.$$.fragment),s=f(),r=Z("p"),r.textContent=v,l=f(),c=Z("p"),c.textContent=E,x=f(),h(j.$$.fragment),I=f(),W=Z("p"),W.innerHTML=D,C=f(),G=Z("p"),G.innerHTML=L,N=f(),h(U.$$.fragment),S=f(),B=Z("p"),B.innerHTML=A,F=f(),h(X.$$.fragment),H=f(),h(k.$$.fragment),q=f(),V=Z("p"),this.h()},l(e){const o=le("svelte-u9bgzb",document.head);t=$(o,"META",{name:!0,content:!0}),o.forEach(i),m=d(e),a=$(e,"P",{}),K(a).forEach(i),u=d(e),g(n.$$.fragment,e),s=d(e),r=$(e,"P",{"data-svelte-h":!0}),T(r)!=="svelte-1us679i"&&(r.textContent=v),l=d(e),c=$(e,"P",{"data-svelte-h":!0}),T(c)!=="svelte-4avkmd"&&(c.textContent=E),x=d(e),g(j.$$.fragment,e),I=d(e),W=$(e,"P",{"data-svelte-h":!0}),T(W)!=="svelte-47jju9"&&(W.innerHTML=D),C=d(e),G=$(e,"P",{"data-svelte-h":!0}),T(G)!=="svelte-18kclpc"&&(G.innerHTML=L),N=d(e),g(U.$$.fragment,e),S=d(e),B=$(e,"P",{"data-svelte-h":!0}),T(B)!=="svelte-e45pk"&&(B.innerHTML=A),F=d(e),g(X.$$.fragment,e),H=d(e),g(k.$$.fragment,e),q=d(e),V=$(e,"P",{}),K(V).forEach(i),this.h()},h(){_(t,"name","hf:doc:metadata"),_(t,"content",de)},m(e,o){ne(document.head,t),p(e,m,o),p(e,a,o),p(e,u,o),M(n,e,o),p(e,s,o),p(e,r,o),p(e,l,o),p(e,c,o),p(e,x,o),M(j,e,o),p(e,I,o),p(e,W,o),p(e,C,o),p(e,G,o),p(e,N,o),M(U,e,o),p(e,S,o),p(e,B,o),p(e,F,o),M(X,e,o),p(e,H,o),M(k,e,o),p(e,q,o),p(e,V,o),z=!0},p(e,[o]){const P={};o&2&&(P.$$scope={dirty:o,ctx:e}),U.$set(P)},i(e){z||(b(n.$$.fragment,e),b(j.$$.fragment,e),b(U.$$.fragment,e),b(X.$$.fragment,e),b(k.$$.fragment,e),z=!0)},o(e){y(n.$$.fragment,e),y(j.$$.fragment,e),y(U.$$.fragment,e),y(X.$$.fragment,e),y(k.$$.fragment,e),z=!1},d(e){e&&(i(m),i(a),i(u),i(s),i(r),i(l),i(c),i(x),i(I),i(W),i(C),i(G),i(N),i(S),i(B),i(F),i(H),i(q),i(V)),i(t),J(n,e),J(j,e),J(U,e),J(X,e),J(k,e)}}}const de='{"title":"Controlling image quality","local":"controlling-image-quality","sections":[{"title":"Details","local":"details","sections":[],"depth":2}],"depth":1}';function he(w){return se(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class we extends te{constructor(t){super(),ae(this,t,he,fe,ee,{})}}export{we as component};
