timqian commited on
Commit
2408763
1 Parent(s): fa529ec

Enable sharing url

Browse files
asset-manifest.json CHANGED
@@ -1,15 +1,15 @@
1
  {
2
  "files": {
3
- "main.css": "/static/css/main.00f3c558.css",
4
- "main.js": "/static/js/main.efb181dd.js",
5
  "static/js/787.0bfccc2a.chunk.js": "/static/js/787.0bfccc2a.chunk.js",
6
  "index.html": "/index.html",
7
- "main.00f3c558.css.map": "/static/css/main.00f3c558.css.map",
8
- "main.efb181dd.js.map": "/static/js/main.efb181dd.js.map",
9
  "787.0bfccc2a.chunk.js.map": "/static/js/787.0bfccc2a.chunk.js.map"
10
  },
11
  "entrypoints": [
12
- "static/css/main.00f3c558.css",
13
- "static/js/main.efb181dd.js"
14
  ]
15
  }
 
1
  {
2
  "files": {
3
+ "main.css": "/static/css/main.5173ff82.css",
4
+ "main.js": "/static/js/main.e65f6e7b.js",
5
  "static/js/787.0bfccc2a.chunk.js": "/static/js/787.0bfccc2a.chunk.js",
6
  "index.html": "/index.html",
7
+ "main.5173ff82.css.map": "/static/css/main.5173ff82.css.map",
8
+ "main.e65f6e7b.js.map": "/static/js/main.e65f6e7b.js.map",
9
  "787.0bfccc2a.chunk.js.map": "/static/js/787.0bfccc2a.chunk.js.map"
10
  },
11
  "entrypoints": [
12
+ "static/css/main.5173ff82.css",
13
+ "static/js/main.e65f6e7b.js"
14
  ]
15
  }
index.html CHANGED
@@ -1 +1 @@
1
- <!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="View the like history of a project on huggingface"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>Like History</title><script defer="defer" src="/static/js/main.efb181dd.js"></script><link href="/static/css/main.00f3c558.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
 
1
+ <!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="View the like history of a project on huggingface"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>Like History</title><script defer="defer" src="/static/js/main.e65f6e7b.js"></script><link href="/static/css/main.5173ff82.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
src/App.js CHANGED
@@ -1,8 +1,6 @@
1
- import { useState } from "react";
2
  import chartXkcd from "chart.xkcd";
3
 
4
- const projectTypes = ["model", "dataset", "space"];
5
-
6
  function transformLikesData(likesData) {
7
  // Step 1
8
  likesData.sort((a, b) => new Date(a.likedAt) - new Date(b.likedAt));
@@ -27,19 +25,32 @@ function transformLikesData(likesData) {
27
  return transformedData;
28
  }
29
 
30
- const datasets = [];
 
 
 
 
 
31
  function App() {
32
  const [projectType, setProjectType] = useState("models");
33
  const [projectName, setProjectName] = useState("");
34
  const [hasGraph, setHasGraph] = useState(false);
35
  const [isLoading, setIsLoading] = useState(false);
36
- // const [datasets, setDatasets] = useState([]);
37
 
38
- const onSubmit = async () => {
39
- setIsLoading(true)
40
- const svg = document.querySelector('.line-chart')
41
 
42
- const res = await fetch(`https://huggingface.co/api/${projectType}/${projectName}/likers?expand[]=likeAt`)
 
 
 
 
 
 
 
 
 
43
 
44
  /**
45
  * Format:
@@ -47,7 +58,6 @@ function App() {
47
  */
48
  const likers = await res.json()
49
 
50
-
51
  let likeHistory = transformLikesData(likers)
52
 
53
  if (likeHistory.length > 40) {
@@ -64,6 +74,13 @@ function App() {
64
  likeHistory = sampledLikeHistory
65
  }
66
 
 
 
 
 
 
 
 
67
  // if likeHistory is empty, show error message
68
  if (likeHistory.length === 0) {
69
  setIsLoading(false)
@@ -71,13 +88,24 @@ function App() {
71
  return
72
  }
73
 
74
- datasets.push({
75
- label: projectName,
76
  data: likeHistory,
77
- })
 
 
 
 
 
78
 
 
 
 
 
 
 
 
79
  // draw chart in next tick
80
- // setTimeout(() => {
81
  new chartXkcd.XY(svg, {
82
  title: 'Like History',
83
  xLabel: 'Time',
@@ -107,27 +135,50 @@ function App() {
107
  ]
108
  },
109
  });
110
- setHasGraph(true)
111
- setIsLoading(false)
112
- setProjectName("")
113
- // }, 0.2)
114
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
115
  return (
116
  <div className="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8 py-16">
117
  <div className="mx-auto max-w-3xl">
118
  <h1 className="text-sm font-light right-0 text-right text-gray-600">
119
  View the like history of a project on <span className="font-semibold">huggingface</span> <span className="text-lg">🤗</span>
120
  </h1>
121
- <div>
122
  <div className="relative mt-2 rounded-md shadow-sm">
123
  <div className="absolute inset-y-0 left-0 flex items-center">
124
- <label htmlFor="country" className="sr-only">
125
- Country
126
  </label>
127
  <select
128
- id="country"
129
- name="country"
130
- autoComplete="country"
131
  className="h-full rounded-md border-0 bg-transparent py-0 pl-3 pr-7 text-gray-500 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm"
132
  onChange={(e) => setProjectType(e.target.value)}
133
  >
@@ -176,7 +227,27 @@ function App() {
176
 
177
 
178
 
179
- <div className="mt-16 relative min-w-sm">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
180
  <svg className="line-chart"></svg>
181
  {
182
  hasGraph &&
@@ -184,7 +255,11 @@ function App() {
184
  }
185
  </div>
186
 
187
- <a className={`${!hasGraph ? "mt-64" : "mt-12"} flex gap-x-2 text-slate-600 justify-end items-center text-xl`} href="https://chromewebstore.google.com/detail/like-history/ockfibaidgopelphgdgcnfijdnhnmpek">
 
 
 
 
188
  <img className="w-6 inline" src="/extension.svg" /> Install the chrome extension
189
  </a>
190
  </div>
 
1
+ import { useEffect, useState } from "react";
2
  import chartXkcd from "chart.xkcd";
3
 
 
 
4
  function transformLikesData(likesData) {
5
  // Step 1
6
  likesData.sort((a, b) => new Date(a.likedAt) - new Date(b.likedAt));
 
25
  return transformedData;
26
  }
27
 
28
+ function getProjectsFromHash() {
29
+ const hash = window.location.hash;
30
+ const projects = hash.replace("#", "").split('&').filter(project => project !== '');
31
+ return projects;
32
+ }
33
+
34
  function App() {
35
  const [projectType, setProjectType] = useState("models");
36
  const [projectName, setProjectName] = useState("");
37
  const [hasGraph, setHasGraph] = useState(false);
38
  const [isLoading, setIsLoading] = useState(false);
39
+ const [datasets, setDatasets] = useState([]);
40
 
41
+ function setHash() {
42
+ const hashes = datasets.map(dataset => dataset.label).join('&');
 
43
 
44
+ if (window.parent && window.parent.postMessage) {
45
+ window.parent.postMessage({
46
+ hash: hashes,
47
+ }, "*");
48
+ }
49
+ window.location.hash = hashes
50
+ }
51
+
52
+ async function getLikeHistory(projectPath) {
53
+ const res = await fetch(`https://huggingface.co/api/${projectPath}/likers?expand[]=likeAt`)
54
 
55
  /**
56
  * Format:
 
58
  */
59
  const likers = await res.json()
60
 
 
61
  let likeHistory = transformLikesData(likers)
62
 
63
  if (likeHistory.length > 40) {
 
74
  likeHistory = sampledLikeHistory
75
  }
76
 
77
+ return likeHistory;
78
+ }
79
+ const onSubmit = async () => {
80
+ setIsLoading(true)
81
+
82
+ const likeHistory = await getLikeHistory(`${projectType}/${projectName}`);
83
+
84
  // if likeHistory is empty, show error message
85
  if (likeHistory.length === 0) {
86
  setIsLoading(false)
 
88
  return
89
  }
90
 
91
+ setDatasets([...datasets, {
92
+ label: `${projectType !== 'models' ? `${projectType}/` : ''}${projectName}`,
93
  data: likeHistory,
94
+ }])
95
+
96
+ setHasGraph(true)
97
+ setIsLoading(false)
98
+ setProjectName("")
99
+ }
100
 
101
+ useEffect(() => {
102
+ const svg = document.querySelector('.line-chart')
103
+ if (datasets.length == 0) {
104
+ svg.innerHTML = ''
105
+ setHash()
106
+ return
107
+ }
108
  // draw chart in next tick
 
109
  new chartXkcd.XY(svg, {
110
  title: 'Like History',
111
  xLabel: 'Time',
 
135
  ]
136
  },
137
  });
138
+
139
+ setHash()
140
+ }, [datasets])
141
+
142
+ useEffect(() => {
143
+ const projects = getProjectsFromHash();
144
+ if (projects.length <= 0) return;
145
+
146
+ async function getLikeHistoryAndDisplay() {
147
+
148
+ console.log('hi')
149
+ setIsLoading(true);
150
+ for (const project of projects) {
151
+ let projectPath = project.startsWith('spaces/') || project.startsWith('datasets/') ? project : `models/${project}`
152
+ const likeHistory = await getLikeHistory(projectPath);
153
+ setDatasets(prevDatasets => [...prevDatasets, {
154
+ label: project,
155
+ data: likeHistory,
156
+ }])
157
+ }
158
+ setIsLoading(false);
159
+ }
160
+
161
+ getLikeHistoryAndDisplay()
162
+
163
+
164
+ }, [])
165
+
166
  return (
167
  <div className="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8 py-16">
168
  <div className="mx-auto max-w-3xl">
169
  <h1 className="text-sm font-light right-0 text-right text-gray-600">
170
  View the like history of a project on <span className="font-semibold">huggingface</span> <span className="text-lg">🤗</span>
171
  </h1>
172
+ <div className="mb-12">
173
  <div className="relative mt-2 rounded-md shadow-sm">
174
  <div className="absolute inset-y-0 left-0 flex items-center">
175
+ <label htmlFor="projectType" className="sr-only">
176
+ ProjectType
177
  </label>
178
  <select
179
+ id="projectType"
180
+ name="projectType"
181
+ autoComplete="projectType"
182
  className="h-full rounded-md border-0 bg-transparent py-0 pl-3 pr-7 text-gray-500 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm"
183
  onChange={(e) => setProjectType(e.target.value)}
184
  >
 
227
 
228
 
229
 
230
+ <div className="relative min-w-sm">
231
+
232
+ {datasets.length > 0 &&
233
+ <div className="my-4 flex justify-end gap-1 flex-wrap">
234
+ {datasets.map(dataset =>
235
+ <button
236
+ key={dataset.label}
237
+ className="flex items-center justify-center gap-x-1 rounded-md px-2 py-1 text-xs font-medium text-gray-900 ring-1 ring-inset ring-gray-200 hover:bg-gray-100"
238
+ onClick={() => {
239
+ setDatasets(datasets.filter(ds => ds.label !== dataset.label));
240
+ }}
241
+ >
242
+ <span>{dataset.label}</span>
243
+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" strokeWidth={1.5} stroke="currentColor" className="w-4 h-4">
244
+ <path strokeLinecap="round" strokeLinejoin="round" d="M6 18L18 6M6 6l12 12" />
245
+ </svg>
246
+ </button>)
247
+ }
248
+ </div>
249
+ }
250
+
251
  <svg className="line-chart"></svg>
252
  {
253
  hasGraph &&
 
255
  }
256
  </div>
257
 
258
+ <a
259
+ className={`${!hasGraph ? "mt-64" : "mt-12"} flex gap-x-2 text-slate-600 justify-end items-center text-xl`}
260
+ href="https://chromewebstore.google.com/detail/like-history/ockfibaidgopelphgdgcnfijdnhnmpek"
261
+ target="_blank" rel="noreferrer"
262
+ >
263
  <img className="w-6 inline" src="/extension.svg" /> Install the chrome extension
264
  </a>
265
  </div>
static/css/main.5173ff82.css ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ /*
2
+ ! tailwindcss v3.3.3 | MIT License | https://tailwindcss.com
3
+ */*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;-webkit-font-feature-settings:normal;font-feature-settings:normal;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{-webkit-font-feature-settings:inherit;font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:#9ca3af}input::placeholder,textarea::placeholder{color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple],[size]:where(select:not([size="1"])){background-image:none;background-position:0 0;background-repeat:repeat;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:inherit;print-color-adjust:inherit}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;-webkit-user-select:none;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E")}[type=radio]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E")}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:transparent none repeat 0 0/auto auto padding-box border-box scroll;background:initial;border-color:inherit;border-radius:0;border-width:0;font-size:inherit;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::-webkit-backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;white-space:nowrap;width:1px}.absolute,.sr-only{position:absolute}.relative{position:relative}.inset-y-0{bottom:0;top:0}.bottom-0{bottom:0}.left-0{left:0}.right-0{right:0}.right-8{right:2rem}.mx-auto{margin-left:auto;margin-right:auto}.my-4{margin-bottom:1rem;margin-top:1rem}.mb-12{margin-bottom:3rem}.mr-3{margin-right:.75rem}.mt-12{margin-top:3rem}.mt-2{margin-top:.5rem}.mt-64{margin-top:16rem}.block{display:block}.inline{display:inline}.flex{display:flex}.h-4{height:1rem}.h-5{height:1.25rem}.h-full{height:100%}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-full{width:100%}.max-w-3xl{max-width:48rem}.max-w-7xl{max-width:80rem}@-webkit-keyframes spin{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spin{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.animate-spin{-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.gap-1{gap:.25rem}.gap-x-1{-webkit-column-gap:.25rem;column-gap:.25rem}.gap-x-2{-webkit-column-gap:.5rem;column-gap:.5rem}.rounded-md{border-radius:.375rem}.border-0{border-width:0}.bg-transparent{background-color:initial}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.py-0{padding-bottom:0;padding-top:0}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-1\.5{padding-bottom:.375rem;padding-top:.375rem}.py-16{padding-bottom:4rem;padding-top:4rem}.pl-24{padding-left:6rem}.pl-3{padding-left:.75rem}.pr-7{padding-right:1.75rem}.text-right{text-align:right}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-light{font-weight:300}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity))}.text-slate-500{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity))}.text-slate-600{--tw-text-opacity:1;color:rgb(71 85 105/var(--tw-text-opacity))}.opacity-25{opacity:.25}.opacity-75{opacity:.75}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.ring-1{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),0 0 #0000;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring-inset{--tw-ring-inset:inset}.ring-gray-200{--tw-ring-opacity:1;--tw-ring-color:rgb(229 231 235/var(--tw-ring-opacity))}.ring-gray-300{--tw-ring-opacity:1;--tw-ring-color:rgb(209 213 219/var(--tw-ring-opacity))}.filter{-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.placeholder\:text-gray-400::-webkit-input-placeholder{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.placeholder\:text-gray-400::placeholder{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),0 0 #0000;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\:ring-inset:focus{--tw-ring-inset:inset}.focus\:ring-indigo-600:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(79 70 229/var(--tw-ring-opacity))}@media (min-width:640px){.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:text-sm{font-size:.875rem;line-height:1.25rem}.sm\:leading-6{line-height:1.5rem}}@media (min-width:1024px){.lg\:px-8{padding-left:2rem;padding-right:2rem}}
4
+ /*# sourceMappingURL=main.5173ff82.css.map*/
static/css/main.5173ff82.css.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"static/css/main.5173ff82.css","mappings":"AAAA;;CAAc,CAAd,uCAAc,CAAd,qBAAc,CAAd,8BAAc,CAAd,kCAAc,CAAd,oCAAc,CAAd,4BAAc,CAAd,gMAAc,CAAd,8BAAc,CAAd,eAAc,CAAd,UAAc,CAAd,wBAAc,CAAd,QAAc,CAAd,uBAAc,C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AAnB,2BAAmB,CAAnB,4BAAmB,CAAnB,8BAAmB,CAAnB,kCAAmB,CAAnB,6CAAmB,CAAnB,kCAAmB,CAAnB,6CAAmB,CAAnB,kCAAmB,CAAnB,0CAAmB,CAAnB,kCAAmB,CAAnB,0CAAmB,CAAnB,mCAAmB,CAAnB,6CAAmB,CAAnB,mCAAmB,CAAnB,2CAAmB,CAAnB,uBAAmB,CAAnB,uBAAmB,CAAnB,kDAAmB,CAAnB,sDAAmB,CAAnB,+CAAmB,CAAnB,kGAAmB,CAAnB,kHAAmB,CAAnB,wGAAmB,CAAnB,uEAAmB,CAAnB,wFAAmB,CAAnB,iCAAmB,CAAnB,kCAAmB,CAAnB,uDAAmB,CAAnB,kCAAmB,CAAnB,uDAAmB,CAAnB,gMAAmB,CAAnB,gLAAmB,CAFnB,0EAEoB,CAFpB,6CAEoB,CAFpB,4DAEoB,CAFpB,6CAEoB,CAFpB,2CAEoB,CAFpB,sDAEoB,CAFpB,wDAEoB,CAFpB,kBAEoB,CAFpB,+HAEoB,CAFpB,wGAEoB,CAFpB,uEAEoB,CAFpB,wFAEoB,CAFpB,8CAEoB,CAFpB,iDAEoB,CAFpB,qDAEoB,CAFpB,sDAEoB,CAFpB,oBAEoB,CAFpB,8BAEoB,CAFpB,mBAEoB,CAFpB,iCAEoB,EAFpB,qDAEoB,CAFpB,kBAEoB","sources":["index.css"],"sourcesContent":["@tailwind base;\n@tailwind components;\n@tailwind utilities;"],"names":[],"sourceRoot":""}
static/js/main.e65f6e7b.js ADDED
The diff for this file is too large to render. See raw diff
 
static/js/main.e65f6e7b.js.LICENSE.txt ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
2
+
3
+ /**
4
+ * @license React
5
+ * react-dom.production.min.js
6
+ *
7
+ * Copyright (c) Facebook, Inc. and its affiliates.
8
+ *
9
+ * This source code is licensed under the MIT license found in the
10
+ * LICENSE file in the root directory of this source tree.
11
+ */
12
+
13
+ /**
14
+ * @license React
15
+ * react-jsx-runtime.production.min.js
16
+ *
17
+ * Copyright (c) Facebook, Inc. and its affiliates.
18
+ *
19
+ * This source code is licensed under the MIT license found in the
20
+ * LICENSE file in the root directory of this source tree.
21
+ */
22
+
23
+ /**
24
+ * @license React
25
+ * react.production.min.js
26
+ *
27
+ * Copyright (c) Facebook, Inc. and its affiliates.
28
+ *
29
+ * This source code is licensed under the MIT license found in the
30
+ * LICENSE file in the root directory of this source tree.
31
+ */
32
+
33
+ /**
34
+ * @license React
35
+ * scheduler.production.min.js
36
+ *
37
+ * Copyright (c) Facebook, Inc. and its affiliates.
38
+ *
39
+ * This source code is licensed under the MIT license found in the
40
+ * LICENSE file in the root directory of this source tree.
41
+ */
static/js/main.e65f6e7b.js.map ADDED
The diff for this file is too large to render. See raw diff