@qratilabs/qrati-connect 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
- import { c as s, T as c, P as u, a as i, b as m, C as P, Q as d } from "./67EVQ76A-Z5vKJiI3.mjs";
2
- import { J as v, K as C, L as e } from "./index-D1k_hcBE.mjs";
1
+ import { c as s, T as c, P as u, a as i, b as m, C as P, Q as d } from "./67EVQ76A-DSDu-UYo.js";
2
+ import { J as v, K as C, L as e } from "./index-CBXvffZO.js";
3
3
  var h = (t) => {
4
4
  const [r, o] = s({
5
5
  prefix: "TanstackQueryDevtools"
@@ -1,7 +1,7 @@
1
1
  var bs = Object.defineProperty;
2
2
  var ps = (e, t, n) => t in e ? bs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var _e = (e, t, n) => ps(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { M as xe, O as z, P as Tt, T as U, K as D, L as m, U as qo, V as B, W as _, X as k, Y as V, Z as T, $ as ws, a0 as rr, a1 as $e, a2 as j, a3 as Vn, a4 as Gn, a5 as ut, a6 as A, a7 as xs, a8 as ln, a9 as Ne, aa as $s, ab as _t, ac as zt, ad as Cs, ae as Ss, af as xn, ag as ks, ah as Kr, ai as Kt, aj as Ro, ak as Es, al as Ds, am as W, an as Br, ao as Ms, ap as As, aq as or, ar as Ts, as as Fs, at as Rn, au as Is, av as Ps, aw as oe, ax as Ls, ay as Os } from "./index-D1k_hcBE.mjs";
4
+ import { M as xe, O as z, P as Tt, T as U, K as D, L as m, U as qo, V as B, W as _, X as k, Y as V, Z as T, $ as ws, a0 as rr, a1 as $e, a2 as j, a3 as Vn, a4 as Gn, a5 as ut, a6 as A, a7 as xs, a8 as ln, a9 as Ne, aa as $s, ab as _t, ac as zt, ad as Cs, ae as Ss, af as xn, ag as ks, ah as Kr, ai as Kt, aj as Ro, ak as Es, al as Ds, am as W, an as Br, ao as Ms, ap as As, aq as or, ar as Ts, as as Fs, at as Rn, au as Is, av as Ps, aw as oe, ax as Ls, ay as Os } from "./index-CBXvffZO.js";
5
5
  var _s = (e) => e != null, qs = (e) => e.filter(_s);
6
6
  function Rs(e) {
7
7
  return (...t) => {
package/CHANGELOG.md CHANGED
@@ -1,3 +1,84 @@
1
+ # [1.1.0](https://github.com/qrati-labs/qrati-connect-js/compare/v1.0.1...v1.1.0) (2025-03-20)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **Button, EventHeader:** update button variants for improved styling based on route ([1327ed3](https://github.com/qrati-labs/qrati-connect-js/commit/1327ed3735a3526bc2127fe5a0f1e7a762e0e63e))
7
+ * **Button:** update button color classes for improved styling consistency ([755bd01](https://github.com/qrati-labs/qrati-connect-js/commit/755bd01919bc90f3f8c5ebc38d5ee858185c6541))
8
+ * change header color to red in QratiConnect component ([dd4b75f](https://github.com/qrati-labs/qrati-connect-js/commit/dd4b75fe50245d56005bb62d69324b99dc276357))
9
+ * comment out SessionProvider in QratiConnect component ([8cc5389](https://github.com/qrati-labs/qrati-connect-js/commit/8cc53891580dc6b437ef7436c69fec1db7601258))
10
+ * **Contents page:** infinite scroll fixed ([2a8a627](https://github.com/qrati-labs/qrati-connect-js/commit/2a8a627f9c49d0c6945cf550d82235b23db8f7ed))
11
+ * **curation , event header, reaction:** reaction hook added ([e01878b](https://github.com/qrati-labs/qrati-connect-js/commit/e01878b3f29bd3f31eb9e036c0f7b42ee2f162c3))
12
+ * **MediaGallery:** add targetRowHeight prop and update rowConstraints function ([4bd890e](https://github.com/qrati-labs/qrati-connect-js/commit/4bd890e066963e1e5d299cd1103f8b8871573ee7))
13
+ * **MediaGallery:** simplify rowConstraints and update curateLink handling ([366090c](https://github.com/qrati-labs/qrati-connect-js/commit/366090ca31a9b1e007955a05fdf72d30aec057e3))
14
+ * **MediaGallery:** update targetRowHeight to improve layout ([e9cb4e0](https://github.com/qrati-labs/qrati-connect-js/commit/e9cb4e0bb9708fceb7d80c50689725f8abc2c401))
15
+ * **Rate page:** Click the content for curate is fixex ([c6f4fa3](https://github.com/qrati-labs/qrati-connect-js/commit/c6f4fa33e70708cb8c5014eeb703033ceef9f864))
16
+ * **Rate page:** eligibility check added ([e8501e1](https://github.com/qrati-labs/qrati-connect-js/commit/e8501e18b5ae5c8f796059b0ada5aeddefe87b5c))
17
+ * **RatePage, UploadPage, MediaGallery:** improve error messages and enhance layout responsiveness ([5f78794](https://github.com/qrati-labs/qrati-connect-js/commit/5f787947d0fbb005035dd5ac55be34a678f24ea4))
18
+ * refactor QratiConnect component to use lazy loading for improved performance and add routing functionality ([48dcf1d](https://github.com/qrati-labs/qrati-connect-js/commit/48dcf1d8beea071839dee7f7afe2b47aa3afbe1d))
19
+ * remove commented-out SessionProvider from QratiConnect component ([f4541cf](https://github.com/qrati-labs/qrati-connect-js/commit/f4541cff71a9e0c520591be3020556e08329f002))
20
+ * remove outdated dependency on @qratilabs/qrati-connect ([db68ed0](https://github.com/qrati-labs/qrati-connect-js/commit/db68ed0e9263259d7540f0f4eef995b477026696))
21
+ * remove unused assets and components, add TestComponent ([86df1c4](https://github.com/qrati-labs/qrati-connect-js/commit/86df1c436b9dcd49a82807a28565048da231950c))
22
+ * replace Link component with anchor tag for login prompt in ReactionButton ([413a94a](https://github.com/qrati-labs/qrati-connect-js/commit/413a94af40f682e54a608df7f148a7e48722d338))
23
+ * **router:** nested router shared event ([0255c78](https://github.com/qrati-labs/qrati-connect-js/commit/0255c78e44b5df98c6da6f033af3355f2ff8302f))
24
+ * **settings:** remove darwin ([b3000e3](https://github.com/qrati-labs/qrati-connect-js/commit/b3000e39db950ea45d543e068152e6fad75d1f03))
25
+ * update header format to include BASE_URL in parentheses ([c54437c](https://github.com/qrati-labs/qrati-connect-js/commit/c54437cc3a57d0b1f97b611e785e791f5c815834))
26
+ * update header text in QratiConnect component for clarity ([69a0b36](https://github.com/qrati-labs/qrati-connect-js/commit/69a0b36a3bf8726d8611e1cd90a4c999e3bb815f))
27
+ * update organization ID in Demo component and refactor class names for consistency ([9c47d22](https://github.com/qrati-labs/qrati-connect-js/commit/9c47d228f04392e232013641d8b6c9d9c2af6332))
28
+ * update organization ID in Demo component, add optional chaining in RatePage, adjust spacing in UploadPage, and modify engagement style condition in GalleryCardEngagementAction ([e692a14](https://github.com/qrati-labs/qrati-connect-js/commit/e692a1445aa5137c9bbcc5a2936e317b4b1e7355))
29
+ * update package.json and rollup.config.mjs for output formats ([dee1302](https://github.com/qrati-labs/qrati-connect-js/commit/dee1302c36e9b1966125cdaa72740c0789d64817))
30
+ * update paths in package.json to reflect new directory structure ([dc07ab5](https://github.com/qrati-labs/qrati-connect-js/commit/dc07ab500aaa61245bee259c9150dd7d7de17d46))
31
+ * update peerDependencies in package.json to support React 19 ([8835958](https://github.com/qrati-labs/qrati-connect-js/commit/8835958fd8812a731f9a805f5a0813478b5a5045))
32
+ * update styles.css path and disable CSS code splitting in Vite config ([dfd03c1](https://github.com/qrati-labs/qrati-connect-js/commit/dfd03c1fe4af1fb0541c1fcdb0aca485940ed055))
33
+ * **UploadPage, UploadContentCard:** add organization ID header and update text styling ([6f17384](https://github.com/qrati-labs/qrati-connect-js/commit/6f173845b79c1d08d166654ad78c5e8ea2dbd10c))
34
+ * **UploadPage:** update API endpoint for single upload ([8900f5a](https://github.com/qrati-labs/qrati-connect-js/commit/8900f5ad5ce3fff199ab24319aa0df157fe440c6))
35
+
36
+
37
+ ### Features
38
+
39
+ * add AllTogetherSans and AllTogetherSerif font files, enhance loading component, and implement color utility functions ([2fb0ea7](https://github.com/qrati-labs/qrati-connect-js/commit/2fb0ea70f2650c5973619667c0a743631561bd06))
40
+ * add BackButton component and integrate it into QratiConnect layout ([5a5db60](https://github.com/qrati-labs/qrati-connect-js/commit/5a5db60d0a0de101dc1f0f1079adf59562051977))
41
+ * add BackButton component and update MediaGallery layout adjustments ([d5c222d](https://github.com/qrati-labs/qrati-connect-js/commit/d5c222d68341b5ed2d764d23d0bbc3d7d4e5370a))
42
+ * add initial project structure with QratiConnect component and configuration files ([e44f7fb](https://github.com/qrati-labs/qrati-connect-js/commit/e44f7fbec910a81a82ed5c3610637502ae9a5477))
43
+ * add new assets and PhotoSwipe plugins for enhanced functionality ([9ff55f1](https://github.com/qrati-labs/qrati-connect-js/commit/9ff55f19607aeafbbf071ab4784fbaa9739622c6))
44
+ * add new components and styles for event management and gallery features ([7e5219d](https://github.com/qrati-labs/qrati-connect-js/commit/7e5219d6deab86895c0d096813fd28c1ff466070))
45
+ * add PhotoSwipe plugins and components for enhanced gallery functionality ([c5f86e8](https://github.com/qrati-labs/qrati-connect-js/commit/c5f86e8dafa6b399270084969c5b13bd5fcd791d))
46
+ * add primary background color to EventLayout for improved visual consistency ([a214c56](https://github.com/qrati-labs/qrati-connect-js/commit/a214c56a10fa60fd89ded9add1f9becba6e2150c))
47
+ * add star-explode animation and refactor DotLottiePlayer component ([8f228c4](https://github.com/qrati-labs/qrati-connect-js/commit/8f228c46628e01625ca63b66f58486d0b191a877))
48
+ * add TestComponent and a Rollup plugin to strip 'use client' directives from node_modules ([5f00c1a](https://github.com/qrati-labs/qrati-connect-js/commit/5f00c1a725be095eb0377ab07a6a15e0689d6e1d))
49
+ * add user ID and names to QratiConnect component, update login prompt in UploadPage, and adjust styling for better user experience ([b5d9d92](https://github.com/qrati-labs/qrati-connect-js/commit/b5d9d9282799d8cdeccd36f8c4f1672ea2c9dfff))
50
+ * add utility functions for array difference, implement Shimmer component, and enhance Loading component ([0ba0146](https://github.com/qrati-labs/qrati-connect-js/commit/0ba014650f96652d6bd2ac9b687bc269c4501ae5))
51
+ * enhance Demo layout, add BackButton component, and improve styling in ReactionButton ([c6febaf](https://github.com/qrati-labs/qrati-connect-js/commit/c6febafa3715d6771d35bf7942dff364d4ccc821))
52
+ * improve EventLayout structure, enhance loading state in PublicEvents, update RatePage messaging, and remove unused QratiConnect copy ([7fc91ec](https://github.com/qrati-labs/qrati-connect-js/commit/7fc91ec77e3e4b2ffd42e12b12d6d9ce49c4ead3))
53
+ * improve layout in Demo component and refactor imports in CurationFeedback for better performance ([7692bd4](https://github.com/qrati-labs/qrati-connect-js/commit/7692bd4acbf0b8de572323e9a88c60fd15d91e9e))
54
+ * integrate Tailwind CSS for improved styling and layout management ([bb3c1fe](https://github.com/qrati-labs/qrati-connect-js/commit/bb3c1fea4273a800fe3611dd3e9a3f3614b9b84f))
55
+ * **MediaGallery:** integrate additional PhotoSwipe plugins and refactor FilmstripView component for improved functionality ([c8d4899](https://github.com/qrati-labs/qrati-connect-js/commit/c8d489917f4094a9bfb53f69af6b4baf486d9667))
56
+ * **Modal:** enhance styling by adding custom font to Dialog component ([7f836c2](https://github.com/qrati-labs/qrati-connect-js/commit/7f836c2901332acc5af2dcd15ca4fe8bfbc34b38))
57
+ * **nested route added:** nested route added ([90979dd](https://github.com/qrati-labs/qrati-connect-js/commit/90979ddbb98120c3b5b6a419caf3d1c719a2a46f))
58
+ * **QratiConnect, ContentsPage:** enhance component props and improve API integration ([9e527ce](https://github.com/qrati-labs/qrati-connect-js/commit/9e527cef8c1b34a8d50ffc7b95bba8d9ffa525cc))
59
+ * **QratiConnect:** add 'leaders' route to event pages for improved navigation ([39ac942](https://github.com/qrati-labs/qrati-connect-js/commit/39ac94213d656018a22785e9a65e60bf53f02156))
60
+ * refactor CurationFeedback, update uid in Demo, enhance key usage in PublicEvents, improve Dialog component styling, and add play/pause icon in VideoPlayer ([895b6ad](https://github.com/qrati-labs/qrati-connect-js/commit/895b6adfd95944731adeb2e1f790407e9eb970db))
61
+ * refactor QratiConnect component with routing and state management ([c38344d](https://github.com/qrati-labs/qrati-connect-js/commit/c38344d50cf0098cd25081defa8d6bdefa3e2966))
62
+ * refactor routing to use react-router, add EventLayout component, and update various components for consistency ([4f717de](https://github.com/qrati-labs/qrati-connect-js/commit/4f717de9c111fb1ba00f6eb0778828385a7e78b9))
63
+ * refactor styles and update Tailwind configuration with new prefix ([ef125ba](https://github.com/qrati-labs/qrati-connect-js/commit/ef125bad75421babe03d1df91f0a3e263561034c))
64
+ * refactor UploadPage layout and enhance FileUploader button styling in UploadContentCard ([ff12183](https://github.com/qrati-labs/qrati-connect-js/commit/ff12183d4aba6eb09871a6c0788f7596f12ae89c))
65
+ * remove background color from VideoPlayer component for improved styling ([8b73ab4](https://github.com/qrati-labs/qrati-connect-js/commit/8b73ab471663f6de7d1c03cb25a20add94cbbf86))
66
+ * replace blurImageUrl with blurhash in GalleryCard components and PhotoswipeThumbnail for improved image loading ([2dcd52b](https://github.com/qrati-labs/qrati-connect-js/commit/2dcd52b0fde022c3f313f406ac6e8f5139ac35e1))
67
+ * restructure application with new pages and update QratiConnect component ([fb88712](https://github.com/qrati-labs/qrati-connect-js/commit/fb887128b6d52c828ffe68318b3a778ae6139cdf))
68
+ * **Rete and Leaderboard added:** Rate and Leaderboard page added ([471705a](https://github.com/qrati-labs/qrati-connect-js/commit/471705a672f5946d3b524efbbbb8597598ead012))
69
+ * update Button and ButtonGroup components for improved accessibility and styling; integrate LazyLoadImage in PublicEvents ([4e6f720](https://github.com/qrati-labs/qrati-connect-js/commit/4e6f72027000c6ac1ceb9eb97be05c69449cc51c))
70
+ * update class names with new prefix for consistency and refactor components ([d44f636](https://github.com/qrati-labs/qrati-connect-js/commit/d44f6363d50ce9cc807501590884687f9ab4d9fb))
71
+ * update index title and display user information on RatePage ([081b0bf](https://github.com/qrati-labs/qrati-connect-js/commit/081b0bfa1412a361d71c99e49bf0c2e334e599f1))
72
+ * update package dependencies, refactor BackButton component, and enhance styling in RatePage and UploadContentCard ([c8e8f5d](https://github.com/qrati-labs/qrati-connect-js/commit/c8e8f5d8fb2a8df04a64be450da6cf5f3791ad9e))
73
+ * update routing for event pages to include gallery path, enhance BackButton component, and improve event header logic ([ad558ab](https://github.com/qrati-labs/qrati-connect-js/commit/ad558ab5affebfa6f627f372b751c66d4339390b))
74
+ * update styling in Demo, GalleryCard components, and UploadContentCard for improved layout and visual consistency ([ce0d0dc](https://github.com/qrati-labs/qrati-connect-js/commit/ce0d0dca87f99900c2097580a0db5d2bbf1b58b5))
75
+ * update theme colors, enhance PublicEvents layout, refactor BackButton to use Link, and improve Loading component with animation ([7247a97](https://github.com/qrati-labs/qrati-connect-js/commit/7247a97776bc8e90ea978883dceebfe37d9055d0))
76
+ * update uid in QratiConnect, improve button loading animation, simplify VideoPlayer hover logic, and enhance RatePage error message ([0a5babf](https://github.com/qrati-labs/qrati-connect-js/commit/0a5babfba1a645fe9ed95104a2594214f081966d))
77
+ * update user details in QratiConnect, enhance Button component size, add headers for API requests in LeaderboardPage, improve layout in PublicEvents and ContentsPage ([7f902a3](https://github.com/qrati-labs/qrati-connect-js/commit/7f902a3eb1e07df4a3b688ba024b3dee235fc58d))
78
+ * update user ID in QratiConnect, downgrade tailwind-merge version, enhance BackButton and VideoPlayer components, and improve shimmer styling in PublicEvents ([05969b1](https://github.com/qrati-labs/qrati-connect-js/commit/05969b16bd9c043e7ca9b373f97bfd3d43b64e21))
79
+ * update VideoPlayer component to enable fullscreen option and set muted state by default in UploadContentCard ([96153c6](https://github.com/qrati-labs/qrati-connect-js/commit/96153c6adf04e5b24bb8a366a5429218c5b3a445))
80
+ * wrap QratiConnect component with SessionProvider ([e46c5f5](https://github.com/qrati-labs/qrati-connect-js/commit/e46c5f5ba4d44d6321280579a91e864cfd95e873))
81
+
1
82
  # [1.0.0-beta.56](https://github.com/qrati-labs/qrati-connect-js/compare/v1.0.0-beta.55...v1.0.0-beta.56) (2025-03-07)
2
83
 
3
84
 
@@ -1,6 +1,6 @@
1
1
  import * as i from "react";
2
2
  import { useState as Re } from "react";
3
- import { j as L, r as Ae, q as $, _ as A, H as he, I as Te } from "./index-D1k_hcBE.mjs";
3
+ import { j as L, r as Ae, q as $, _ as A, H as he, I as Te } from "./index-CBXvffZO.js";
4
4
  import * as Le from "react-dom";
5
5
  import Oe from "react-dom";
6
6
  function z(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
@@ -1,8 +1,8 @@
1
- import { Q as Hn, i as St, h as Vn, b as Un, d as Yn, j as m, c as re, e as Wn, C as Ye, f as Le, g as Gn, D as zt, l as _e, m as $t, n as Y, N as Zn, o as Kn, p as et, k as Bt, q as je, r as Xn, u as tt, s as Qn, G as He, t as Jn, v as ei, S as ti, E as ni, w as ii } from "./index-D1k_hcBE.mjs";
1
+ import { Q as Hn, i as St, h as Vn, b as Un, d as Yn, j as m, c as re, e as Wn, C as Ye, f as Le, g as Gn, D as zt, l as _e, m as $t, n as Y, N as Zn, o as Kn, p as et, k as Bt, q as je, r as Xn, u as tt, s as Qn, G as He, t as Jn, v as ei, S as ti, E as ni, w as ii } from "./index-CBXvffZO.js";
2
2
  import * as b from "react";
3
3
  import Ae, { useMemo as ee, useReducer as si, useRef as nt, useCallback as oi, forwardRef as he, createElement as ri, Fragment as ai, useLayoutEffect as li, useEffect as Ht, useState as We, Component as ci } from "react";
4
- import { L as di } from "./LazyLoadImage-B0zx4ZYv.mjs";
5
- import { P as Ee, u as Ge, c as Vt, a as ui, b as Ut, d as hi, h as fi, R as pi, e as we, f as mi, F as gi, D as yi, g as wi, i as vi } from "./Combination-BdOL5nkV.mjs";
4
+ import { L as di } from "./LazyLoadImage-DFjKGE4F.js";
5
+ import { P as Ee, u as Ge, c as Vt, a as ui, b as Ut, d as hi, h as fi, R as pi, e as we, f as mi, F as gi, D as yi, g as wi, i as vi } from "./Combination-yA87--ta.js";
6
6
  import * as xi from "react-dom";
7
7
  var bi = class extends Hn {
8
8
  constructor(t, e) {
@@ -3823,7 +3823,7 @@ const er = ({ eventId: t, contentId: e, emojis: n = [], counts: i = {}, userReac
3823
3823
  wheelToZoom: !0,
3824
3824
  pinchToClose: !0,
3825
3825
  zoom: !1,
3826
- pswpModule: () => import("./photoswipe-BjDlFG46.mjs")
3826
+ pswpModule: () => import("./photoswipe-mKv4LDH_.js")
3827
3827
  });
3828
3828
  a.current = d, new bs(d), new Ts(d), new Ps(d), new Cs(d), d.init();
3829
3829
  }
@@ -1,4 +1,4 @@
1
- import { j as T1, c as B3 } from "./index-D1k_hcBE.mjs";
1
+ import { j as T1, c as B3 } from "./index-CBXvffZO.js";
2
2
  import { useState as G2, useRef as x1, useEffect as R, useCallback as H3 } from "react";
3
3
  var N3 = Object.defineProperty, V3 = Object.defineProperties, J3 = Object.getOwnPropertyDescriptors, N1 = Object.getOwnPropertySymbols, X2 = Object.prototype.hasOwnProperty, Y2 = Object.prototype.propertyIsEnumerable, p2 = (h, n, i) => n in h ? N3(h, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : h[n] = i, z = (h, n) => {
4
4
  for (var i in n || (n = {})) X2.call(n, i) && p2(h, i, n[i]);
@@ -1,5 +1,5 @@
1
- import { c, T as l, P as m, a as u, D as v, Q as i } from "./67EVQ76A-Z5vKJiI3.mjs";
2
- import { J as d, K as f, L as e } from "./index-D1k_hcBE.mjs";
1
+ import { c, T as l, P as m, a as u, D as v, Q as i } from "./67EVQ76A-DSDu-UYo.js";
2
+ import { J as d, K as f, L as e } from "./index-CBXvffZO.js";
3
3
  var p = (a) => {
4
4
  const [r, t] = c({
5
5
  prefix: "TanstackQueryDevtools"
@@ -1,4 +1,4 @@
1
- import { j as V, c as k } from "./index-D1k_hcBE.mjs";
1
+ import { j as V, c as k } from "./index-CBXvffZO.js";
2
2
  import * as p from "react";
3
3
  import { useRef as z, useState as D } from "react";
4
4
  var B = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "#", "$", "%", "*", "+", ",", "-", ".", ":", ";", "=", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~"], g = (e) => {
@@ -1,4 +1,4 @@
1
- import { j as c, t as N, u as y, v as g, k as v, c as b, f as m } from "./index-D1k_hcBE.mjs";
1
+ import { j as c, t as N, u as y, v as g, k as v, c as b, f as m } from "./index-CBXvffZO.js";
2
2
  import { useState as f, useEffect as w, Fragment as S } from "react";
3
3
  const u = ({ title: q, entries: s = [], showFloatingPoint: a = !1, hidePictures: d = !0 }) => {
4
4
  var i, l, o, e, n, x;
@@ -1,6 +1,6 @@
1
- import { u as m, a as u, j as s, S as q, N as h, E as l, c as g, k as n } from "./index-D1k_hcBE.mjs";
1
+ import { u as m, a as u, j as s, S as q, N as h, E as l, c as g, k as n } from "./index-CBXvffZO.js";
2
2
  import "react";
3
- import { L as t } from "./LazyLoadImage-B0zx4ZYv.mjs";
3
+ import { L as t } from "./LazyLoadImage-DFjKGE4F.js";
4
4
  const p = (r) => r === l.UPCOMING ? "qc-bg-warning" : r === l.CLOSED ? "qc-bg-error" : "qc-bg-success", b = () => {
5
5
  const { organizationId: r } = m(), { isLoading: d, data: a } = u({
6
6
  queryKey: [`public-events-${r}`],
@@ -1,9 +1,9 @@
1
- import { j as t, q as re, r as Ge, u as pe, s as We, c as A, R as Z, t as Be, p as Ve, v as Ue, k as V, A as de, S as J, E as Q, n as ue, B as He, F as Ye } from "./index-D1k_hcBE.mjs";
1
+ import { j as t, q as re, r as Ge, u as pe, s as We, c as A, R as Z, t as Be, p as Ve, v as Ue, k as V, A as de, S as J, E as Q, n as ue, B as He, F as Ye } from "./index-CBXvffZO.js";
2
2
  import * as x from "react";
3
3
  import { useState as T, useEffect as ce, lazy as se } from "react";
4
- import { g as Xe, c as Ke, i as ee, b as oe, d as Ze, P as H, e as U, h as Je, R as Qe, f as et, F as tt, D as rt, j as ct } from "./Combination-BdOL5nkV.mjs";
5
- import { L as st } from "./LazyLoadImage-B0zx4ZYv.mjs";
6
- import { V as ot } from "./VideoPlayer-B-PCtEYx.mjs";
4
+ import { g as Xe, c as Ke, i as ee, b as oe, d as Ze, P as H, e as U, h as Je, R as Qe, f as et, F as tt, D as rt, j as ct } from "./Combination-yA87--ta.js";
5
+ import { L as st } from "./LazyLoadImage-DFjKGE4F.js";
6
+ import { V as ot } from "./VideoPlayer-nPNshCFq.js";
7
7
  var ae = "Dialog", [xe, Ft] = Ke(ae), [at, I] = xe(ae), he = (e) => {
8
8
  const {
9
9
  __scopeDialog: r,
@@ -387,7 +387,7 @@ const qe = (e, r) => `${Number.parseFloat((e == null ? void 0 : e.toFixed(r)) ??
387
387
  }
388
388
  )
389
389
  ] });
390
- }, jt = se(() => import("./index-CIE8vNUN.mjs").then((e) => e.i)), wt = se(() => import("./DotLottiePlayer-Cg9Ch1wm.mjs")), bt = ({ feedback: e }) => {
390
+ }, jt = se(() => import("./index-O4xJCcGD.js").then((e) => e.i)), wt = se(() => import("./DotLottiePlayer-BDkvIJTA.js")), bt = ({ feedback: e }) => {
391
391
  const r = "#374151", [s, o] = T(10);
392
392
  return ce(() => {
393
393
  const c = (e && e.parameters || []).reduce((a, n) => a + Math.abs(parseFloat(n.crowdRating) - parseFloat(n.userRating)), 0);
@@ -438,7 +438,7 @@ const qe = (e, r) => `${Number.parseFloat((e == null ? void 0 : e.toFixed(r)) ??
438
438
  /* @__PURE__ */ t.jsx("div", { className: "qc-absolute qc-inset-0 qc-flex qc-items-center", children: /* @__PURE__ */ t.jsx("div", { className: "qc-h-[0.05rem] qc-w-full qc-bg-gradient-to-r qc-from-transparent qc-via-text-primary-light qc-to-transparent dark:qc-via-text-primary-dark" }) }),
439
439
  !!r && /* @__PURE__ */ t.jsx("div", { className: "qc-relative qc-flex qc-justify-center", children: /* @__PURE__ */ t.jsx("span", { className: A("qc-text-primary qc-px-2 qc-font-medium", o), children: r }) })
440
440
  ] });
441
- }, _t = se(() => import("./DotLottiePlayer-Cg9Ch1wm.mjs")), Rt = ({ parameter: e, selected: r, onChange: s, showValues: o = !0 }) => /* @__PURE__ */ t.jsxs("div", { className: "qc-mb-8 qc-flex qc-w-full qc-flex-col qc-gap-2 lg:qc-mb-12 lg:qc-gap-4", children: [
441
+ }, _t = se(() => import("./DotLottiePlayer-BDkvIJTA.js")), Rt = ({ parameter: e, selected: r, onChange: s, showValues: o = !0 }) => /* @__PURE__ */ t.jsxs("div", { className: "qc-mb-8 qc-flex qc-w-full qc-flex-col qc-gap-2 lg:qc-mb-12 lg:qc-gap-4", children: [
442
442
  /* @__PURE__ */ t.jsx(
443
443
  Ct,
444
444
  {
@@ -1,7 +1,7 @@
1
- import { j as q, n as qn, c as Dt, x as ct, y as Be, t as Cd, u as Fd, p as wd, v as _d, k as Fo, z as Je, E as Rd, S as Dd } from "./index-D1k_hcBE.mjs";
1
+ import { j as q, n as qn, c as Dt, x as ct, y as Be, t as Cd, u as Fd, p as wd, v as _d, k as Fo, z as Je, E as Rd, S as Dd } from "./index-CBXvffZO.js";
2
2
  import * as ws from "react";
3
3
  import Hn, { useDebugValue as wo, createElement as mu, useRef as He, useContext as Ae, useState as De, useCallback as St, useEffect as Bt, createContext as Sn, useLayoutEffect as Md, useId as _s, useInsertionEffect as gu, useMemo as it, Children as Od, isValidElement as Nd, forwardRef as Ld, Fragment as Rs, Component as Ud } from "react";
4
- import { V as kd } from "./VideoPlayer-B-PCtEYx.mjs";
4
+ import { V as kd } from "./VideoPlayer-nPNshCFq.js";
5
5
  const Te = [];
6
6
  for (let e = 0; e < 256; ++e)
7
7
  Te.push((e + 256).toString(16).slice(1));
@@ -12124,7 +12124,7 @@ const OT = 2400, Fs = ["jpg", "jpeg", "png", "webp", "heic", "tiff", "bmp"], Ad
12124
12124
  try {
12125
12125
  const c = (d = (l = e.originalFile) == null ? void 0 : l.name) == null ? void 0 : d.split(".").pop();
12126
12126
  if (["heic", "heif"].includes(c == null ? void 0 : c.toLowerCase()) && typeof window < "u") {
12127
- const u = (await import("./heic2any-CuYS8aIm.mjs").then((f) => f.h)).default;
12127
+ const u = (await import("./heic2any-Dw-psmnv.js").then((f) => f.h)).default;
12128
12128
  r = await u({ blob: e.originalFile, toType: "image/jpeg" });
12129
12129
  }
12130
12130
  } catch (c) {
@@ -1,4 +1,4 @@
1
- import { j as t, c as R } from "./index-D1k_hcBE.mjs";
1
+ import { j as t, c as R } from "./index-CBXvffZO.js";
2
2
  import { useRef as i, useState as g, useCallback as h, useEffect as d } from "react";
3
3
  const k = ({
4
4
  src: m,
@@ -1,4 +1,4 @@
1
- import { g as j0 } from "./_commonjsHelpers-B4e78b8K.mjs";
1
+ import { g as j0 } from "./_commonjsHelpers-B4e78b8K.js";
2
2
  var B0 = { exports: {} }, T0 = B0.exports, Y0;
3
3
  function H0() {
4
4
  return Y0 || (Y0 = 1, function(W0, x0) {
@@ -5869,7 +5869,7 @@ var wb = (t, e = !1) => {
5869
5869
  const e = ql(() => {
5870
5870
  const r = this, [n] = h(this, fr), [s] = h(this, pr), [i] = h(this, mr), [o] = h(this, gr), [a] = h(this, dr);
5871
5871
  let l;
5872
- return h(this, yr) ? l = h(this, yr) : (l = Ml(() => import("./J3FDRF32-CkVCoy1Q.mjs")), _(this, yr, l)), nc(h(this, yn), h(this, hr)), Dl(l, Ll({
5872
+ return h(this, yr) ? l = h(this, yr) : (l = Ml(() => import("./J3FDRF32-CM3zWLgS.js")), _(this, yr, l)), nc(h(this, yn), h(this, hr)), Dl(l, Ll({
5873
5873
  get queryFlavor() {
5874
5874
  return h(r, mn);
5875
5875
  },
@@ -5963,7 +5963,7 @@ var wb = (t, e = !1) => {
5963
5963
  const e = ql(() => {
5964
5964
  const r = this, [n] = h(this, wr), [s] = h(this, Er), [i] = h(this, _r), [o] = h(this, Ir), [a] = h(this, vr), [l] = h(this, Rr);
5965
5965
  let c;
5966
- return h(this, Tr) ? c = h(this, Tr) : (c = Ml(() => import("./3VW64HDT-BDhMgvxx.mjs")), _(this, Tr, c)), nc(h(this, _n), h(this, br)), Dl(c, Ll({
5966
+ return h(this, Tr) ? c = h(this, Tr) : (c = Ml(() => import("./3VW64HDT-C99B7MhM.js")), _(this, Tr, c)), nc(h(this, _n), h(this, br)), Dl(c, Ll({
5967
5967
  get queryFlavor() {
5968
5968
  return h(r, wn);
5969
5969
  },
@@ -15391,7 +15391,7 @@ const Ma = ({ className: t, rounded: e = !1, ...r }) => /* @__PURE__ */ S.jsx(
15391
15391
  ),
15392
15392
  /* @__PURE__ */ S.jsx("h1", { children: t }),
15393
15393
  /* @__PURE__ */ S.jsx("h2", { children: e })
15394
- ] }), Hv = Rn(() => import("./PublicEvents-BifgG-9H.mjs")), Vv = Rn(() => import("./ContentsPage-V-IanWSI.mjs").then((t) => t.l)), zv = Rn(() => import("./UploadPage-D3eWWPA9.mjs")), Gv = Rn(() => import("./LeaderboardPage-D9H2s8Uh.mjs")), Ua = Rn(() => import("./RatePage-BWZkUHLb.mjs")), Wv = new ah(), jb = (t) => t.organizationId ? /* @__PURE__ */ S.jsx(dh, { client: Wv, children: /* @__PURE__ */ S.jsxs(Xf, { ...t, children: [
15394
+ ] }), Hv = Rn(() => import("./PublicEvents-DZ9SlnWF.js")), Vv = Rn(() => import("./ContentsPage-Dooue713.js").then((t) => t.l)), zv = Rn(() => import("./UploadPage-DA_aiwxi.js")), Gv = Rn(() => import("./LeaderboardPage-CHu8enPA.js")), Ua = Rn(() => import("./RatePage-BH4uumua.js")), Wv = new ah(), jb = (t) => (console.log(t), t.organizationId ? /* @__PURE__ */ S.jsx(dh, { client: Wv, children: /* @__PURE__ */ S.jsxs(Xf, { ...t, children: [
15395
15395
  /* @__PURE__ */ S.jsx(Jy, { children: /* @__PURE__ */ S.jsx(kv, { children: /* @__PURE__ */ S.jsx(fd, { children: /* @__PURE__ */ S.jsxs(gd, { children: [
15396
15396
  /* @__PURE__ */ S.jsx(et, { path: "/", element: /* @__PURE__ */ S.jsx(Hv, {}) }),
15397
15397
  /* @__PURE__ */ S.jsxs(et, { path: "/event/:eventSlug", element: /* @__PURE__ */ S.jsx($v, {}), children: [
@@ -15410,7 +15410,7 @@ const Ma = ({ className: t, rounded: e = !1, ...r }) => /* @__PURE__ */ S.jsx(
15410
15410
  description: "Please contact the administrator for more information",
15411
15411
  className: "qc-empty-state"
15412
15412
  }
15413
- );
15413
+ ));
15414
15414
  export {
15415
15415
  db as $,
15416
15416
  Fb as A,
@@ -1,4 +1,4 @@
1
- import { a as Nv, c as _i, g as qv } from "./_commonjsHelpers-B4e78b8K.mjs";
1
+ import { a as Nv, c as _i, g as qv } from "./_commonjsHelpers-B4e78b8K.js";
2
2
  import G1 from "react";
3
3
  function kv(t, e) {
4
4
  for (var n = 0; n < e.length; n++) {
package/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { az as f } from "./index-D1k_hcBE.mjs";
1
+ import { az as f } from "./index-CBXvffZO.js";
2
2
  export {
3
3
  f as default
4
4
  };