import{s as Bt,o as Pt,n as Rt}from"../chunks/scheduler.bdbef820.js";import{S as Vt,i as Qt,g as o,s as n,r as m,A as Dt,h as d,f as e,c as i,j as zt,u as r,x as u,k as Et,y as St,a as s,v as g,d as c,t as h,w as f}from"../chunks/index.c0aea24a.js";import{T as _t}from"../chunks/Tip.31005f7d.js";import{C as j}from"../chunks/CodeBlock.6ccca92e.js";import{H as Ut,E as At}from"../chunks/EditOnGithub.725ee0c1.js";function Kt(J){let l,$='To work with image datasets, you need to have the <code>vision</code> dependency installed. Check out the <a href="./installation#vision">installation</a> guide to learn how to install it.';return{c(){l=o("p"),l.innerHTML=$},l(p){l=d(p,"P",{"data-svelte-h":!0}),u(l)!=="svelte-p8ou1r"&&(l.innerHTML=$)},m(p,y){s(p,l,y)},p:Rt,d(p){p&&e(l)}}}function Ot(J){let l,$="Index into an image dataset using the row index first and then the <code>image</code> column - <code>dataset[0][&quot;image&quot;]</code> - to avoid decoding and resampling all the image objects in the dataset. Otherwise, this can be a slow and time-consuming process if you have a large dataset.";return{c(){l=o("p"),l.innerHTML=$},l(p){l=d(p,"P",{"data-svelte-h":!0}),u(l)!=="svelte-1qc6mpf"&&(l.innerHTML=$)},m(p,y){s(p,l,y)},p:Rt,d(p){p&&e(l)}}}function ta(J){let l,$='For more information about creating your own <code>ImageFolder</code> dataset, take a look at the <a href="./image_dataset">Create an image dataset</a> guide.';return{c(){l=o("p"),l.innerHTML=$},l(p){l=d(p,"P",{"data-svelte-h":!0}),u(l)!=="svelte-1nxblik"&&(l.innerHTML=$)},m(p,y){s(p,l,y)},p:Rt,d(p){p&&e(l)}}}function aa(J){let l,$,p,y,w,S,U,Zt='Image datasets have <a href="/docs/datasets/pr_6981/en/package_reference/main_classes#datasets.Image">Image</a> type columns, which contain PIL objects.',A,b,K,_,Gt="When you load an image dataset and call the image column, the images are decoded as PIL Images:",O,R,tt,M,at,Z,It='For a guide on how to load any type of dataset, take a look at the <a class="underline decoration-sky-400 decoration-2 font-semibold" href="./loading">general loading guide</a>.',et,G,st,I,kt='You can load a dataset from the image path. Use the <a href="/docs/datasets/pr_6981/en/package_reference/main_classes#datasets.Dataset.cast_column">cast_column()</a> function to accept a column of image file paths, and decode it into a PIL image with the <a href="/docs/datasets/pr_6981/en/package_reference/main_classes#datasets.Image">Image</a> feature:',lt,k,nt,F,Ft='If you only want to load the underlying path to the image dataset without decoding the image object, set <code>decode=False</code> in the <a href="/docs/datasets/pr_6981/en/package_reference/main_classes#datasets.Image">Image</a> feature:',it,v,pt,C,ot,q,vt="You can also load a dataset with an <code>ImageFolder</code> dataset builder which does not require writing a custom dataloader. This makes <code>ImageFolder</code> ideal for quickly creating and loading image datasets with several thousand images for different vision tasks. Your image dataset structure should look like this:",dt,x,mt,W,Ct="Load your dataset by specifying <code>imagefolder</code> and the directory of your dataset in <code>data_dir</code>:",rt,Y,gt,L,qt="Load remote datasets from their URLs with the <code>data_files</code> parameter:",ct,X,ht,N,xt='Some datasets have a metadata file (<code>metadata.csv</code>/<code>metadata.jsonl</code>) associated with it, containing other information about the data like bounding boxes, text captions, and labels. The metadata is automatically loaded when you call <a href="/docs/datasets/pr_6981/en/package_reference/loading_methods#datasets.load_dataset">load_dataset()</a> and specify <code>imagefolder</code>.',ft,H,Wt='To ignore the information in the metadata file, set <code>drop_labels=False</code> in <a href="/docs/datasets/pr_6981/en/package_reference/loading_methods#datasets.load_dataset">load_dataset()</a>, and allow <code>ImageFolder</code> to automatically infer the label name from the directory name:',ut,z,$t,T,yt,E,Jt,B,Yt=`The <a href="https://github.com/webdataset/webdataset" rel="nofollow">WebDataset</a> format is based on a folder of TAR archives and is suitable for big image datasets.
Because of their size, WebDatasets are generally loaded in streaming mode (using <code>streaming=True</code>).`,bt,P,Lt="You can load a WebDataset like this:",Mt,V,Tt,Q,jt,D,wt;return w=new Ut({props:{title:"Load image data",local:"load-image-data",headingTag:"h1"}}),b=new _t({props:{$$slots:{default:[Kt]},$$scope:{ctx:J}}}),R=new j({props:{code:"ZnJvbSUyMGRhdGFzZXRzJTIwaW1wb3J0JTIwbG9hZF9kYXRhc2V0JTJDJTIwSW1hZ2UlMEElMEFkYXRhc2V0JTIwJTNEJTIwbG9hZF9kYXRhc2V0KCUyMmJlYW5zJTIyJTJDJTIwc3BsaXQlM0QlMjJ0cmFpbiUyMiklMEFkYXRhc2V0JTVCMCU1RCU1QiUyMmltYWdlJTIyJTVE",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> datasets <span class="hljs-keyword">import</span> load_dataset, Image

<span class="hljs-meta">&gt;&gt;&gt; </span>dataset = load_dataset(<span class="hljs-string">&quot;beans&quot;</span>, split=<span class="hljs-string">&quot;train&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>dataset[<span class="hljs-number">0</span>][<span class="hljs-string">&quot;image&quot;</span>]`,wrap:!1}}),M=new _t({props:{warning:!0,$$slots:{default:[Ot]},$$scope:{ctx:J}}}),G=new Ut({props:{title:"Local files",local:"local-files",headingTag:"h2"}}),k=new j({props:{code:"ZnJvbSUyMGRhdGFzZXRzJTIwaW1wb3J0JTIwRGF0YXNldCUyQyUyMEltYWdlJTBBJTBBZGF0YXNldCUyMCUzRCUyMERhdGFzZXQuZnJvbV9kaWN0KCU3QiUyMmltYWdlJTIyJTNBJTIwJTVCJTIycGF0aCUyRnRvJTJGaW1hZ2VfMSUyMiUyQyUyMCUyMnBhdGglMkZ0byUyRmltYWdlXzIlMjIlMkMlMjAuLi4lMkMlMjAlMjJwYXRoJTJGdG8lMkZpbWFnZV9uJTIyJTVEJTdEKS5jYXN0X2NvbHVtbiglMjJpbWFnZSUyMiUyQyUyMEltYWdlKCkpJTBBZGF0YXNldCU1QjAlNUQlNUIlMjJpbWFnZSUyMiU1RA==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> datasets <span class="hljs-keyword">import</span> Dataset, Image

<span class="hljs-meta">&gt;&gt;&gt; </span>dataset = Dataset.from_dict({<span class="hljs-string">&quot;image&quot;</span>: [<span class="hljs-string">&quot;path/to/image_1&quot;</span>, <span class="hljs-string">&quot;path/to/image_2&quot;</span>, ..., <span class="hljs-string">&quot;path/to/image_n&quot;</span>]}).cast_column(<span class="hljs-string">&quot;image&quot;</span>, Image())
<span class="hljs-meta">&gt;&gt;&gt; </span>dataset[<span class="hljs-number">0</span>][<span class="hljs-string">&quot;image&quot;</span>]
&lt;PIL.PngImagePlugin.PngImageFile image mode=RGBA size=1200x215 at <span class="hljs-number">0x15E6D7160</span>&gt;]`,wrap:!1}}),v=new j({props:{code:"ZGF0YXNldCUyMCUzRCUyMGxvYWRfZGF0YXNldCglMjJiZWFucyUyMiUyQyUyMHNwbGl0JTNEJTIydHJhaW4lMjIpLmNhc3RfY29sdW1uKCUyMmltYWdlJTIyJTJDJTIwSW1hZ2UoZGVjb2RlJTNERmFsc2UpKSUwQWRhdGFzZXQlNUIwJTVEJTVCJTIyaW1hZ2UlMjIlNUQ=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span>dataset = load_dataset(<span class="hljs-string">&quot;beans&quot;</span>, split=<span class="hljs-string">&quot;train&quot;</span>).cast_column(<span class="hljs-string">&quot;image&quot;</span>, Image(decode=<span class="hljs-literal">False</span>))
<span class="hljs-meta">&gt;&gt;&gt; </span>dataset[<span class="hljs-number">0</span>][<span class="hljs-string">&quot;image&quot;</span>]
{<span class="hljs-string">&#x27;bytes&#x27;</span>: <span class="hljs-literal">None</span>,
 <span class="hljs-string">&#x27;path&#x27;</span>: <span class="hljs-string">&#x27;/root/.cache/huggingface/datasets/downloads/extracted/b0a21163f78769a2cf11f58dfc767fb458fc7cea5c05dccc0144a2c0f0bc1292/train/bean_rust/bean_rust_train.29.jpg&#x27;</span>}`,wrap:!1}}),C=new Ut({props:{title:"ImageFolder",local:"imagefolder",headingTag:"h2"}}),x=new j({props:{code:"Zm9sZGVyJTJGdHJhaW4lMkZkb2clMkZnb2xkZW5fcmV0cmlldmVyLnBuZyUwQWZvbGRlciUyRnRyYWluJTJGZG9nJTJGZ2VybWFuX3NoZXBoZXJkLnBuZyUwQWZvbGRlciUyRnRyYWluJTJGZG9nJTJGY2hpaHVhaHVhLnBuZyUwQSUwQWZvbGRlciUyRnRyYWluJTJGY2F0JTJGbWFpbmVfY29vbi5wbmclMEFmb2xkZXIlMkZ0cmFpbiUyRmNhdCUyRmJlbmdhbC5wbmclMEFmb2xkZXIlMkZ0cmFpbiUyRmNhdCUyRmJpcm1hbi5wbmc=",highlighted:`folder<span class="hljs-regexp">/train/</span>dog/golden_retriever.png
folder<span class="hljs-regexp">/train/</span>dog/german_shepherd.png
folder<span class="hljs-regexp">/train/</span>dog/chihuahua.png

folder<span class="hljs-regexp">/train/</span>cat/maine_coon.png
folder<span class="hljs-regexp">/train/</span>cat/bengal.png
folder<span class="hljs-regexp">/train/</span>cat/birman.png`,wrap:!1}}),Y=new j({props:{code:"ZnJvbSUyMGRhdGFzZXRzJTIwaW1wb3J0JTIwbG9hZF9kYXRhc2V0JTBBJTBBZGF0YXNldCUyMCUzRCUyMGxvYWRfZGF0YXNldCglMjJpbWFnZWZvbGRlciUyMiUyQyUyMGRhdGFfZGlyJTNEJTIyJTJGcGF0aCUyRnRvJTJGZm9sZGVyJTIyKSUwQWRhdGFzZXQlNUIlMjJ0cmFpbiUyMiU1RCU1QjAlNUQlMEElMEFkYXRhc2V0JTVCJTIydHJhaW4lMjIlNUQlNUItMSU1RA==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> datasets <span class="hljs-keyword">import</span> load_dataset

<span class="hljs-meta">&gt;&gt;&gt; </span>dataset = load_dataset(<span class="hljs-string">&quot;imagefolder&quot;</span>, data_dir=<span class="hljs-string">&quot;/path/to/folder&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>dataset[<span class="hljs-string">&quot;train&quot;</span>][<span class="hljs-number">0</span>]
{<span class="hljs-string">&quot;image&quot;</span>: &lt;PIL.PngImagePlugin.PngImageFile image mode=RGBA size=1200x215 at <span class="hljs-number">0x15E6D7160</span>&gt;, <span class="hljs-string">&quot;label&quot;</span>: <span class="hljs-number">0</span>}

<span class="hljs-meta">&gt;&gt;&gt; </span>dataset[<span class="hljs-string">&quot;train&quot;</span>][-<span class="hljs-number">1</span>]
{<span class="hljs-string">&quot;image&quot;</span>: &lt;PIL.PngImagePlugin.PngImageFile image mode=RGBA size=1200x215 at <span class="hljs-number">0x15E8DAD30</span>&gt;, <span class="hljs-string">&quot;label&quot;</span>: <span class="hljs-number">1</span>}`,wrap:!1}}),X=new j({props:{code:"ZGF0YXNldCUyMCUzRCUyMGxvYWRfZGF0YXNldCglMjJpbWFnZWZvbGRlciUyMiUyQyUyMGRhdGFfZmlsZXMlM0QlMjJodHRwcyUzQSUyRiUyRmRvd25sb2FkLm1pY3Jvc29mdC5jb20lMkZkb3dubG9hZCUyRjMlMkZFJTJGMSUyRjNFMUMzRjIxLUVDREItNDg2OS04MzY4LTZERUJBNzdCOTE5RiUyRmthZ2dsZWNhdHNhbmRkb2dzXzUzNDAuemlwJTIyJTJDJTIwc3BsaXQlM0QlMjJ0cmFpbiUyMik=",highlighted:'<span class="hljs-meta">&gt;&gt;&gt; </span>dataset = load_dataset(<span class="hljs-string">&quot;imagefolder&quot;</span>, data_files=<span class="hljs-string">&quot;https://download.microsoft.com/download/3/E/1/3E1C3F21-ECDB-4869-8368-6DEBA77B919F/kagglecatsanddogs_5340.zip&quot;</span>, split=<span class="hljs-string">&quot;train&quot;</span>)',wrap:!1}}),z=new j({props:{code:"ZnJvbSUyMGRhdGFzZXRzJTIwaW1wb3J0JTIwbG9hZF9kYXRhc2V0JTBBJTBBZGF0YXNldCUyMCUzRCUyMGxvYWRfZGF0YXNldCglMjJpbWFnZWZvbGRlciUyMiUyQyUyMGRhdGFfZGlyJTNEJTIyJTJGcGF0aCUyRnRvJTJGZm9sZGVyJTIyJTJDJTIwZHJvcF9sYWJlbHMlM0RGYWxzZSk=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> datasets <span class="hljs-keyword">import</span> load_dataset

<span class="hljs-meta">&gt;&gt;&gt; </span>dataset = load_dataset(<span class="hljs-string">&quot;imagefolder&quot;</span>, data_dir=<span class="hljs-string">&quot;/path/to/folder&quot;</span>, drop_labels=<span class="hljs-literal">False</span>)`,wrap:!1}}),T=new _t({props:{$$slots:{default:[ta]},$$scope:{ctx:J}}}),E=new Ut({props:{title:"WebDataset",local:"webdataset",headingTag:"h2"}}),V=new j({props:{code:"ZnJvbSUyMGRhdGFzZXRzJTIwaW1wb3J0JTIwbG9hZF9kYXRhc2V0JTBBJTBBZGF0YXNldCUyMCUzRCUyMGxvYWRfZGF0YXNldCglMjJ3ZWJkYXRhc2V0JTIyJTJDJTIwZGF0YV9kaXIlM0QlMjIlMkZwYXRoJTJGdG8lMkZmb2xkZXIlMjIlMkMlMjBzdHJlYW1pbmclM0RUcnVlKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> datasets <span class="hljs-keyword">import</span> load_dataset

<span class="hljs-meta">&gt;&gt;&gt; </span>dataset = load_dataset(<span class="hljs-string">&quot;webdataset&quot;</span>, data_dir=<span class="hljs-string">&quot;/path/to/folder&quot;</span>, streaming=<span class="hljs-literal">True</span>)`,wrap:!1}}),Q=new At({props:{source:"https://github.com/huggingface/datasets/blob/main/docs/source/image_load.mdx"}}),{c(){l=o("meta"),$=n(),p=o("p"),y=n(),m(w.$$.fragment),S=n(),U=o("p"),U.innerHTML=Zt,A=n(),m(b.$$.fragment),K=n(),_=o("p"),_.textContent=Gt,O=n(),m(R.$$.fragment),tt=n(),m(M.$$.fragment),at=n(),Z=o("p"),Z.innerHTML=It,et=n(),m(G.$$.fragment),st=n(),I=o("p"),I.innerHTML=kt,lt=n(),m(k.$$.fragment),nt=n(),F=o("p"),F.innerHTML=Ft,it=n(),m(v.$$.fragment),pt=n(),m(C.$$.fragment),ot=n(),q=o("p"),q.innerHTML=vt,dt=n(),m(x.$$.fragment),mt=n(),W=o("p"),W.innerHTML=Ct,rt=n(),m(Y.$$.fragment),gt=n(),L=o("p"),L.innerHTML=qt,ct=n(),m(X.$$.fragment),ht=n(),N=o("p"),N.innerHTML=xt,ft=n(),H=o("p"),H.innerHTML=Wt,ut=n(),m(z.$$.fragment),$t=n(),m(T.$$.fragment),yt=n(),m(E.$$.fragment),Jt=n(),B=o("p"),B.innerHTML=Yt,bt=n(),P=o("p"),P.textContent=Lt,Mt=n(),m(V.$$.fragment),Tt=n(),m(Q.$$.fragment),jt=n(),D=o("p"),this.h()},l(t){const a=Dt("svelte-u9bgzb",document.head);l=d(a,"META",{name:!0,content:!0}),a.forEach(e),$=i(t),p=d(t,"P",{}),zt(p).forEach(e),y=i(t),r(w.$$.fragment,t),S=i(t),U=d(t,"P",{"data-svelte-h":!0}),u(U)!=="svelte-1eykf7o"&&(U.innerHTML=Zt),A=i(t),r(b.$$.fragment,t),K=i(t),_=d(t,"P",{"data-svelte-h":!0}),u(_)!=="svelte-1nbxpgw"&&(_.textContent=Gt),O=i(t),r(R.$$.fragment,t),tt=i(t),r(M.$$.fragment,t),at=i(t),Z=d(t,"P",{"data-svelte-h":!0}),u(Z)!=="svelte-12zk6g2"&&(Z.innerHTML=It),et=i(t),r(G.$$.fragment,t),st=i(t),I=d(t,"P",{"data-svelte-h":!0}),u(I)!=="svelte-1etmse8"&&(I.innerHTML=kt),lt=i(t),r(k.$$.fragment,t),nt=i(t),F=d(t,"P",{"data-svelte-h":!0}),u(F)!=="svelte-1ovwihp"&&(F.innerHTML=Ft),it=i(t),r(v.$$.fragment,t),pt=i(t),r(C.$$.fragment,t),ot=i(t),q=d(t,"P",{"data-svelte-h":!0}),u(q)!=="svelte-nhdip7"&&(q.innerHTML=vt),dt=i(t),r(x.$$.fragment,t),mt=i(t),W=d(t,"P",{"data-svelte-h":!0}),u(W)!=="svelte-hwg15q"&&(W.innerHTML=Ct),rt=i(t),r(Y.$$.fragment,t),gt=i(t),L=d(t,"P",{"data-svelte-h":!0}),u(L)!=="svelte-1u9o0xk"&&(L.innerHTML=qt),ct=i(t),r(X.$$.fragment,t),ht=i(t),N=d(t,"P",{"data-svelte-h":!0}),u(N)!=="svelte-t5g0gy"&&(N.innerHTML=xt),ft=i(t),H=d(t,"P",{"data-svelte-h":!0}),u(H)!=="svelte-1p0pxg6"&&(H.innerHTML=Wt),ut=i(t),r(z.$$.fragment,t),$t=i(t),r(T.$$.fragment,t),yt=i(t),r(E.$$.fragment,t),Jt=i(t),B=d(t,"P",{"data-svelte-h":!0}),u(B)!=="svelte-6p55vh"&&(B.innerHTML=Yt),bt=i(t),P=d(t,"P",{"data-svelte-h":!0}),u(P)!=="svelte-1e5cszd"&&(P.textContent=Lt),Mt=i(t),r(V.$$.fragment,t),Tt=i(t),r(Q.$$.fragment,t),jt=i(t),D=d(t,"P",{}),zt(D).forEach(e),this.h()},h(){Et(l,"name","hf:doc:metadata"),Et(l,"content",ea)},m(t,a){St(document.head,l),s(t,$,a),s(t,p,a),s(t,y,a),g(w,t,a),s(t,S,a),s(t,U,a),s(t,A,a),g(b,t,a),s(t,K,a),s(t,_,a),s(t,O,a),g(R,t,a),s(t,tt,a),g(M,t,a),s(t,at,a),s(t,Z,a),s(t,et,a),g(G,t,a),s(t,st,a),s(t,I,a),s(t,lt,a),g(k,t,a),s(t,nt,a),s(t,F,a),s(t,it,a),g(v,t,a),s(t,pt,a),g(C,t,a),s(t,ot,a),s(t,q,a),s(t,dt,a),g(x,t,a),s(t,mt,a),s(t,W,a),s(t,rt,a),g(Y,t,a),s(t,gt,a),s(t,L,a),s(t,ct,a),g(X,t,a),s(t,ht,a),s(t,N,a),s(t,ft,a),s(t,H,a),s(t,ut,a),g(z,t,a),s(t,$t,a),g(T,t,a),s(t,yt,a),g(E,t,a),s(t,Jt,a),s(t,B,a),s(t,bt,a),s(t,P,a),s(t,Mt,a),g(V,t,a),s(t,Tt,a),g(Q,t,a),s(t,jt,a),s(t,D,a),wt=!0},p(t,[a]){const Xt={};a&2&&(Xt.$$scope={dirty:a,ctx:t}),b.$set(Xt);const Nt={};a&2&&(Nt.$$scope={dirty:a,ctx:t}),M.$set(Nt);const Ht={};a&2&&(Ht.$$scope={dirty:a,ctx:t}),T.$set(Ht)},i(t){wt||(c(w.$$.fragment,t),c(b.$$.fragment,t),c(R.$$.fragment,t),c(M.$$.fragment,t),c(G.$$.fragment,t),c(k.$$.fragment,t),c(v.$$.fragment,t),c(C.$$.fragment,t),c(x.$$.fragment,t),c(Y.$$.fragment,t),c(X.$$.fragment,t),c(z.$$.fragment,t),c(T.$$.fragment,t),c(E.$$.fragment,t),c(V.$$.fragment,t),c(Q.$$.fragment,t),wt=!0)},o(t){h(w.$$.fragment,t),h(b.$$.fragment,t),h(R.$$.fragment,t),h(M.$$.fragment,t),h(G.$$.fragment,t),h(k.$$.fragment,t),h(v.$$.fragment,t),h(C.$$.fragment,t),h(x.$$.fragment,t),h(Y.$$.fragment,t),h(X.$$.fragment,t),h(z.$$.fragment,t),h(T.$$.fragment,t),h(E.$$.fragment,t),h(V.$$.fragment,t),h(Q.$$.fragment,t),wt=!1},d(t){t&&(e($),e(p),e(y),e(S),e(U),e(A),e(K),e(_),e(O),e(tt),e(at),e(Z),e(et),e(st),e(I),e(lt),e(nt),e(F),e(it),e(pt),e(ot),e(q),e(dt),e(mt),e(W),e(rt),e(gt),e(L),e(ct),e(ht),e(N),e(ft),e(H),e(ut),e($t),e(yt),e(Jt),e(B),e(bt),e(P),e(Mt),e(Tt),e(jt),e(D)),e(l),f(w,t),f(b,t),f(R,t),f(M,t),f(G,t),f(k,t),f(v,t),f(C,t),f(x,t),f(Y,t),f(X,t),f(z,t),f(T,t),f(E,t),f(V,t),f(Q,t)}}}const ea='{"title":"Load image data","local":"load-image-data","sections":[{"title":"Local files","local":"local-files","sections":[],"depth":2},{"title":"ImageFolder","local":"imagefolder","sections":[],"depth":2},{"title":"WebDataset","local":"webdataset","sections":[],"depth":2}],"depth":1}';function sa(J){return Pt(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class da extends Vt{constructor(l){super(),Qt(this,l,sa,aa,Bt,{})}}export{da as component};
