@playpilot/tpi 8.35.1 → 8.36.0-beta.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@playpilot/tpi",
3
- "version": "8.35.1",
3
+ "version": "8.36.0-beta.1",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite dev",
@@ -15,7 +15,9 @@ export async function fetchProviders(): Promise<PlaylinkData[]> {
15
15
  include_count: false,
16
16
  }
17
17
 
18
- const response = await api<PlaylinkData[]>(`/providers/?api-token=${apiToken}&` + paramsToString(params))
18
+ let response = await api<PlaylinkData[]>(`/providers/?api-token=${apiToken}&` + paramsToString(params))
19
+
20
+ response = response.filter((a, i, providers) => providers.findIndex(b => (b.slug === a.slug)) === i)
19
21
 
20
22
  return response
21
23
  }
@@ -151,6 +151,16 @@ export const translations = {
151
151
  [Language.Swedish]: 'Visa mindre',
152
152
  [Language.Danish]: 'Vis mindre',
153
153
  },
154
+ 'Read More': {
155
+ [Language.English]: 'Read more',
156
+ [Language.Swedish]: 'Läs mer',
157
+ [Language.Danish]: 'Læs mere',
158
+ },
159
+ 'Read Less': {
160
+ [Language.English]: 'Read less',
161
+ [Language.Swedish]: 'Läs mindre',
162
+ [Language.Danish]: 'Læs mindre',
163
+ },
154
164
  'Cast': {
155
165
  [Language.English]: 'Cast',
156
166
  [Language.Swedish]: 'Rollista',
@@ -358,6 +368,36 @@ export const translations = {
358
368
  [Language.Swedish]: 'Utforska alla filmer och tv-serier',
359
369
  [Language.Danish]: 'Udforsk alle film og tv-serier',
360
370
  },
371
+ 'Job: all': {
372
+ [Language.English]: 'All',
373
+ [Language.Swedish]: 'Alla',
374
+ [Language.Danish]: 'Alle',
375
+ },
376
+ 'Job: actor': {
377
+ [Language.English]: 'Actor',
378
+ [Language.Swedish]: 'Skådespelare',
379
+ [Language.Danish]: 'Skuespiller',
380
+ },
381
+ 'Job: producer': {
382
+ [Language.English]: 'Producer',
383
+ [Language.Swedish]: 'Producent',
384
+ [Language.Danish]: 'Producer',
385
+ },
386
+ 'Job: executive-producer': {
387
+ [Language.English]: 'Executive Producer',
388
+ [Language.Swedish]: 'Verkställande producent',
389
+ [Language.Danish]: 'Administrerende producer',
390
+ },
391
+ 'Job: writer': {
392
+ [Language.English]: 'Writer',
393
+ [Language.Swedish]: 'Manusförfattare',
394
+ [Language.Danish]: 'Manuskriptforfatter',
395
+ },
396
+ 'Job: director': {
397
+ [Language.English]: 'Director',
398
+ [Language.Swedish]: 'Regissör',
399
+ [Language.Danish]: 'Instruktør',
400
+ },
361
401
 
362
402
  // Genres
363
403
  'All': {
@@ -54,6 +54,7 @@ export const participants: ParticipantData[] = [
54
54
  image_uuid: null,
55
55
  gender: 'Male',
56
56
  character: 'Will Rodman (archive footage) (uncredited)',
57
+ description: 'Some description',
57
58
  },
58
59
  {
59
60
  sid: 'pr8bZm',
@@ -65,6 +66,7 @@ export const participants: ParticipantData[] = [
65
66
  image_uuid: null,
66
67
  gender: 'Male',
67
68
  character: 'Old Man',
69
+ description: 'Some description',
68
70
  },
69
71
  {
70
72
  sid: 'pr45Dp',
@@ -76,6 +78,7 @@ export const participants: ParticipantData[] = [
76
78
  image_uuid: null,
77
79
  gender: 'Male',
78
80
  character: 'Self (archive footage) (uncredited)',
81
+ description: 'Some description',
79
82
  },
80
83
  {
81
84
  sid: 'pr6DnN',
@@ -87,6 +90,7 @@ export const participants: ParticipantData[] = [
87
90
  image_uuid: null,
88
91
  gender: 'Male',
89
92
  character: 'Dreyfus',
93
+ description: 'Some description',
90
94
  },
91
95
  {
92
96
  sid: 'pr7GK8',
@@ -98,6 +102,7 @@ export const participants: ParticipantData[] = [
98
102
  image_uuid: null,
99
103
  gender: 'Male',
100
104
  character: 'Cannon-Gunner',
105
+ description: 'Some description',
101
106
  },
102
107
  {
103
108
  sid: 'pr88KG',
@@ -109,6 +114,7 @@ export const participants: ParticipantData[] = [
109
114
  image_uuid: null,
110
115
  gender: 'Female',
111
116
  character: 'Cornelia',
117
+ description: 'Some description',
112
118
  },
113
119
  ]
114
120
 
@@ -1,4 +1,7 @@
1
+ import type { Sorting } from '$lib/enums/Sorting'
2
+
1
3
  export type ExploreFilterType = 'array' | 'range' | 'string'
2
- export type ExploreFilterItem = { type: ExploreFilterType, value: unknown }
4
+ export type ExploreFilterItem = { type: ExploreFilterType; value: unknown }
3
5
  export type ExploreFilter = Record<string, ExploreFilterItem>
4
- export type ExploreFilterItemArrayValue = { label: string, value: string }
6
+ export type ExploreFilterItemArrayValue = { label: string; value: string }
7
+ export type ExploreTitleSorting = { label: string; value: (typeof Sorting)[keyof typeof Sorting] }
@@ -1,6 +1,7 @@
1
1
  export type ParticipantData = {
2
2
  sid: string
3
3
  name: string
4
+ description: string
4
5
  birth_date: string
5
6
  death_date: string | null
6
7
  jobs: Job[]
@@ -16,7 +17,6 @@ export type ParticipantData = {
16
17
  }
17
18
  gender: string
18
19
  character?: string | null
19
- bio?: string | null
20
20
  }
21
21
 
22
22
  export type Job = 'actor' | 'writer' | 'director'
@@ -1,5 +1,5 @@
1
1
  <script lang="ts">
2
- import type { ExploreFilter } from '$lib/types/filter'
2
+ import type { ExploreFilter, ExploreTitleSorting } from '$lib/types/filter'
3
3
  import genres from '$lib/data/genres.json'
4
4
  import { fetchProviders } from '$lib/api/providers'
5
5
  import { t } from '$lib/localization'
@@ -16,7 +16,9 @@
16
16
  interface Props {
17
17
  filter: ExploreFilter
18
18
  limit?: boolean
19
+ hideActive?: boolean
19
20
  showSorting?: boolean
21
+ sortings?: null | ExploreTitleSorting[]
20
22
  searchQuery?: string
21
23
  onchange?: () => void
22
24
  onempty?: () => void
@@ -25,7 +27,9 @@
25
27
  const {
26
28
  filter,
27
29
  limit = true,
30
+ hideActive = false,
28
31
  showSorting = true,
32
+ sortings = null,
29
33
  searchQuery = '',
30
34
  onchange = () => null,
31
35
  onempty = () => null,
@@ -65,7 +69,7 @@
65
69
  data: [{ label: t('Movies'), value: 'movie' }, { label: t('Shows'), value: 'series' }, { label: t('Kids'), value: 'kids' }, { label: t('Documentary'), value: 'documentary' }],
66
70
  }]
67
71
 
68
- let limited = $state(limit)
72
+ let limited = $derived(limit)
69
73
  let wasPreviouslyActive = false
70
74
 
71
75
  $effect(() => {
@@ -97,20 +101,22 @@
97
101
  {#if limit}
98
102
  <Button variant="link" onclick={() => limited = !limited}>
99
103
  <IconFilter />
100
- {t('All Filters')}
104
+ {limited ? t('Show More') : t('Show Less')}
101
105
  <IconArrow direction={limited ? 'down' : 'up'} />
102
106
  </Button>
103
107
  {/if}
104
108
 
105
109
  {#if showSorting}
106
110
  <div class="sorting" transition:fly={{ x: 5, duration: 100 }}>
107
- <FilterSorting {filter} {onchange} />
111
+ <FilterSorting {filter} {onchange} {sortings} />
108
112
  </div>
109
113
  {/if}
110
114
  </div>
111
115
  </div>
112
116
 
113
- <ActiveFilterItems {filter} {items} />
117
+ {#if !hideActive}
118
+ <ActiveFilterItems {filter} {items} />
119
+ {/if}
114
120
 
115
121
  <style lang="scss">
116
122
  .filter {
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
2
  import Button from '../../Button.svelte'
3
3
  import IconArrow from '../../Icons/IconArrow.svelte'
4
- import type { ExploreFilter } from '$lib/types/filter'
4
+ import type { ExploreFilter, ExploreTitleSorting } from '$lib/types/filter'
5
5
  import { t } from '$lib/localization'
6
6
  import Dropdown from './Dropdown.svelte'
7
7
  import { Sorting } from '$lib/enums/Sorting'
@@ -9,17 +9,18 @@
9
9
  interface Props {
10
10
  filter: ExploreFilter
11
11
  onchange?: () => void
12
+ sortings?: null | ExploreTitleSorting[]
12
13
  }
13
14
 
14
- const { filter, onchange = () => null }: Props = $props()
15
+ const { filter, onchange = () => null, sortings = null }: Props = $props()
15
16
 
16
17
  const param = 'ordering'
17
18
 
18
- const options = [
19
+ const options = $derived(sortings || [
19
20
  { label: 'Popularity', value: Sorting.Popular },
20
21
  { label: 'New', value: Sorting.New },
21
22
  { label: 'Top Rated', value: Sorting.Best },
22
- ]
23
+ ])
23
24
 
24
25
  const label = $derived(options.find(({ value }) => value === filter[param]?.value)?.label || 'Sort By')
25
26
 
@@ -21,9 +21,11 @@
21
21
  searchQuery?: string,
22
22
  filter?: ExploreFilter
23
23
  forceGrid?: boolean
24
+ hidePlaylinks?: boolean
25
+ onTitleClick?: null | ((event: MouseEvent, titles: TitleData[], index: number) => void)
24
26
  }
25
27
 
26
- const { searchQuery = '', filter = {}, forceGrid = false }: Props = $props()
28
+ const { searchQuery = '', filter = {}, forceGrid = false, hidePlaylinks = false, onTitleClick = null }: Props = $props()
27
29
 
28
30
  // svelte-ignore non_reactive_update
29
31
  let page = 1
@@ -53,9 +55,7 @@
53
55
  if (filter) setFilter()
54
56
  })
55
57
 
56
- onDestroy(() => {
57
- emptyFilter()
58
- })
58
+ onDestroy(emptyFilter)
59
59
 
60
60
  async function getTitlesForFilter(): Promise<APIPaginatedResult<TitleData>> {
61
61
  latestRequestId += 1
@@ -132,7 +132,12 @@
132
132
  track(TrackingEvent.ExploreShowMore, null, { page })
133
133
  }
134
134
 
135
- function openTitle(event: MouseEvent, title: TitleData): void {
135
+ function openTitle(event: MouseEvent, title: TitleData, index: number): void {
136
+ if (onTitleClick) {
137
+ onTitleClick(event, titles, index)
138
+ return
139
+ }
140
+
136
141
  openModal({ event, data: title })
137
142
  track(TrackingEvent.ExploreTitleClick, title)
138
143
  }
@@ -147,9 +152,9 @@
147
152
  </script>
148
153
 
149
154
  <div class="titles" class:grid role="main" style:--grid-columns={gridColumns} bind:clientWidth={width} data-testid="explore-results">
150
- {#each titles as title}
155
+ {#each titles as title, index}
151
156
  {#key title.sid}
152
- <TitleComponent {title} onclick={(event: MouseEvent) => openTitle(event, title)} />
157
+ <TitleComponent {title} {hidePlaylinks} onclick={(event: MouseEvent) => openTitle(event, title, index)} />
153
158
  {/key}
154
159
  {/each}
155
160
 
@@ -165,7 +170,7 @@
165
170
  {#await promise then { next }}
166
171
  {#if next}
167
172
  <div class="show-more" class:grid>
168
- <Button size="large" onclick={fetchMoreTitles}>{t('Show More')}</Button>
173
+ <Button size="large" onclick={fetchMoreTitles} label="Show more movies & shows">{t('Show More')}</Button>
169
174
  </div>
170
175
  {/if}
171
176
 
@@ -1,5 +1,6 @@
1
1
  <script lang="ts">
2
2
  import type { TitleData } from '$lib/types/title'
3
+ import { getContext } from 'svelte'
3
4
  import IconIMDb from './Icons/IconIMDb.svelte'
4
5
  import PlaylinksCompact from './Playlinks/PlaylinksCompact.svelte'
5
6
  import TitlePoster from './TitlePoster.svelte'
@@ -7,9 +8,10 @@
7
8
  interface Props {
8
9
  title: TitleData
9
10
  onclick?: (event: MouseEvent) => void
11
+ hidePlaylinks?: boolean
10
12
  }
11
13
 
12
- const { title, onclick = () => null }: Props = $props()
14
+ const { title, onclick = () => null, hidePlaylinks = false }: Props = $props()
13
15
  </script>
14
16
 
15
17
  <button class="title" {onclick} data-testid="title">
@@ -33,9 +35,11 @@
33
35
  </div>
34
36
 
35
37
  <div class="content">
36
- <div class="heading">{title.title}</div>
38
+ <div class="heading" class:margin={!hidePlaylinks}>{title.title}</div>
37
39
 
38
- <PlaylinksCompact playlinks={title.providers} size={20} />
40
+ {#if !hidePlaylinks}
41
+ <PlaylinksCompact playlinks={title.providers} size={20} />
42
+ {/if}
39
43
  </div>
40
44
  </button>
41
45
 
@@ -81,7 +85,6 @@
81
85
  }
82
86
 
83
87
  .heading {
84
- margin-bottom: margin(0.5);
85
88
  overflow: hidden;
86
89
  text-overflow: ellipsis;
87
90
  white-space: nowrap;
@@ -96,6 +99,10 @@
96
99
  color: theme(grid-item-title-hover-text-color, text-color);
97
100
  text-decoration: theme(grid-item-title-hover-text-decoration, none);
98
101
  }
102
+
103
+ &.margin {
104
+ margin-bottom: margin(0.5);
105
+ }
99
106
  }
100
107
 
101
108
  .meta {
@@ -1,3 +1,3 @@
1
- <svg height="24px" viewBox="0 -960 960 960" width="24px">
1
+ <svg width="21px" height="21px" viewBox="0 -960 960 960">
2
2
  <path fill="currentColor" d="M430-200h100v-180h60v-184q0-27-28.5-41.5T480-620q-53 0-81.5 14.5T370-564v184h60v180Zm-105 88.5q-73-31.5-127.5-86t-86-127.5Q80-398 80-480.5t31.5-155q31.5-72.5 86-127t127.5-86Q398-880 480.5-880t155 31.5q72.5 31.5 127 86t86 127Q880-563 880-480.5T848.5-325q-31.5 73-86 127.5t-127 86Q563-80 480.5-80T325-111.5Zm381.5-142Q800-347 800-480t-93.5-226.5Q613-800 480-800t-226.5 93.5Q160-613 160-480t93.5 226.5Q347-160 480-160t226.5-93.5ZM523-657q17-17 17-43t-17-43q-17-17-43-17t-43 17q-17 17-17 43t17 43q17 17 43 17t43-17Zm-43 177Z"/>
3
3
  </svg>
@@ -1,5 +1,3 @@
1
- <svg width="11" height="13" viewBox="0 0 11 13">
2
- <path d="M9.77037 6.86774C9.68778 7.21645 9.48992 7.52709 9.20883 7.74937C8.92774 7.97166 8.57987 8.09259 8.22151 8.09259C7.86315 8.09259 7.51528 7.97166 7.23419 7.74937C6.9531 7.52709 6.75525 7.21645 6.67265 6.86774L0.385491 6.86774C0.335766 6.87014 0.286069 6.86243 0.239415 6.84505C0.192761 6.82768 0.150121 6.80101 0.114079 6.76667C0.0780373 6.73233 0.0493441 6.69103 0.0297394 6.64527C0.0101337 6.5995 2.67029e-05 6.55024 2.67029e-05 6.50045C2.67029e-05 6.45067 0.0101337 6.40141 0.0297394 6.35565C0.0493441 6.30989 0.0780373 6.26858 0.114079 6.23424C0.150121 6.1999 0.192761 6.17323 0.239415 6.15586C0.286069 6.13849 0.335766 6.13077 0.385491 6.13317L6.67265 6.13317C6.75525 5.78446 6.9531 5.47382 7.23419 5.25154C7.51528 5.02925 7.86315 4.90833 8.22151 4.90833C8.57987 4.90833 8.92774 5.02925 9.20883 5.25154C9.48992 5.47382 9.68778 5.78446 9.77037 6.13317H10.1801C10.2298 6.13077 10.2795 6.13849 10.3262 6.15586C10.3728 6.17323 10.4155 6.1999 10.4515 6.23424C10.4875 6.26858 10.5162 6.30989 10.5358 6.35565C10.5554 6.40141 10.5656 6.45067 10.5656 6.50045C10.5656 6.55024 10.5554 6.5995 10.5358 6.64527C10.5162 6.69103 10.4875 6.73233 10.4515 6.76667C10.4155 6.80101 10.3728 6.82768 10.3262 6.84505C10.2795 6.86243 10.2298 6.87014 10.1801 6.86774H9.77037ZM8.22151 5.64374C8.05198 5.64374 7.88626 5.69401 7.74531 5.7882C7.60435 5.88238 7.49449 6.01625 7.42961 6.17287C7.36474 6.32949 7.34776 6.50183 7.38084 6.6681C7.41391 6.83437 7.49554 6.9871 7.61542 7.10698C7.73529 7.22685 7.88802 7.30849 8.05429 7.34156C8.22056 7.37463 8.3929 7.35766 8.54953 7.29278C8.70615 7.22791 8.84002 7.11805 8.9342 6.97709C9.02839 6.83613 9.07866 6.67041 9.07866 6.50089C9.07877 6.38825 9.05668 6.2767 9.01366 6.17261C8.97063 6.06851 8.90751 5.97392 8.82791 5.89424C8.7483 5.81455 8.65377 5.75134 8.54973 5.70821C8.44568 5.66508 8.33415 5.64288 8.22151 5.64288V5.64374Z" fill="currentColor"/>
3
- <path d="M3.8929 2.45945C3.8103 2.80816 3.61245 3.11879 3.33136 3.34108C3.05027 3.56336 2.7024 3.68429 2.34404 3.68429C1.98568 3.68429 1.63781 3.56336 1.35672 3.34108C1.07563 3.11879 0.87778 2.80816 0.795181 2.45945H0.385466C0.291124 2.45489 0.202153 2.4142 0.136997 2.34582C0.0718422 2.27744 0.0354977 2.18661 0.0354977 2.09216C0.0354977 1.99771 0.0718422 1.90688 0.136997 1.8385C0.202153 1.77012 0.291124 1.72943 0.385466 1.72488H0.795181C0.87778 1.37617 1.07563 1.06553 1.35672 0.843245C1.63781 0.620959 1.98568 0.500031 2.34404 0.500031C2.7024 0.500031 3.05027 0.620959 3.33136 0.843245C3.61245 1.06553 3.8103 1.37617 3.8929 1.72488L10.1801 1.72488C10.2744 1.72943 10.3634 1.77012 10.4285 1.8385C10.4937 1.90688 10.53 1.99771 10.53 2.09216C10.53 2.18661 10.4937 2.27744 10.4285 2.34582C10.3634 2.4142 10.2744 2.45489 10.1801 2.45945L3.8929 2.45945ZM2.34404 1.23544C2.17451 1.23544 2.00879 1.28572 1.86784 1.3799C1.72688 1.47408 1.61702 1.60795 1.55214 1.76458C1.48727 1.9212 1.47029 2.09354 1.50337 2.25981C1.53644 2.42608 1.61807 2.57881 1.73795 2.69868C1.85782 2.81856 2.01055 2.90019 2.17682 2.93327C2.34309 2.96634 2.51543 2.94936 2.67206 2.88449C2.82868 2.81961 2.96255 2.70975 3.05673 2.56879C3.15092 2.42784 3.20119 2.26212 3.20119 2.09259C3.2013 1.97996 3.17921 1.8684 3.13619 1.76431C3.09316 1.66022 3.03004 1.56563 2.95044 1.48594C2.87083 1.40626 2.77631 1.34304 2.67226 1.29992C2.56821 1.25679 2.45668 1.23459 2.34404 1.23459V1.23544Z" fill="currentColor"/>
4
- <path d="M6.0975 11.2752C6.01491 11.6239 5.81705 11.9345 5.53596 12.1568C5.25488 12.3791 4.907 12.5 4.54864 12.5C4.19028 12.5 3.84241 12.3791 3.56132 12.1568C3.28024 11.9345 3.08238 11.6239 2.99978 11.2752H0.385491C0.335766 11.2776 0.286069 11.2699 0.239415 11.2525C0.192761 11.2351 0.150121 11.2085 0.114079 11.1741C0.0780373 11.1398 0.0493441 11.0985 0.0297394 11.0527C0.0101337 11.0069 2.67029e-05 10.9577 2.67029e-05 10.9079C2.67029e-05 10.8581 0.0101337 10.8088 0.0297394 10.7631C0.0493441 10.7173 0.0780373 10.676 0.114079 10.6417C0.150121 10.6073 0.192761 10.5807 0.239415 10.5633C0.286069 10.5459 0.335766 10.5382 0.385491 10.5406H2.99978C3.08238 10.1919 3.28024 9.88126 3.56132 9.65898C3.84241 9.43669 4.19028 9.31577 4.54864 9.31577C4.907 9.31577 5.25488 9.43669 5.53596 9.65898C5.81705 9.88126 6.01491 10.1919 6.0975 10.5406H10.1801C10.2298 10.5382 10.2795 10.5459 10.3262 10.5633C10.3728 10.5807 10.4155 10.6073 10.4515 10.6417C10.4875 10.676 10.5162 10.7173 10.5358 10.7631C10.5554 10.8088 10.5656 10.8581 10.5656 10.9079C10.5656 10.9577 10.5554 11.0069 10.5358 11.0527C10.5162 11.0985 10.4875 11.1398 10.4515 11.1741C10.4155 11.2085 10.3728 11.2351 10.3262 11.2525C10.2795 11.2699 10.2298 11.2776 10.1801 11.2752H6.0975ZM4.54779 10.0503C4.37826 10.0503 4.21254 10.1006 4.07158 10.1948C3.93063 10.289 3.82077 10.4228 3.75589 10.5795C3.69101 10.7361 3.67404 10.9084 3.70711 11.0747C3.74018 11.241 3.82182 11.3937 3.94169 11.5136C4.06157 11.6334 4.2143 11.7151 4.38057 11.7481C4.54684 11.7812 4.71918 11.7642 4.8758 11.6994C5.03242 11.6345 5.16629 11.5246 5.26048 11.3837C5.35466 11.2427 5.40493 11.077 5.40493 10.9075C5.40493 10.6801 5.31463 10.4621 5.15388 10.3014C4.99313 10.1406 4.77512 10.0503 4.54779 10.0503Z" fill="currentColor"/>
1
+ <svg height="24px" viewBox="0 -960 960 960" width="24px">
2
+ <path fill="currentColor" transform="scale(1.2) translate(0, 75)" scale="1.2" d="M440-120v-240h80v80h320v80H520v80h-80Zm-320-80v-80h240v80H120Zm160-160v-80H120v-80h160v-80h80v240h-80Zm160-80v-80h400v80H440Zm160-160v-240h80v80h160v80H680v80h-80Zm-480-80v-80h400v80H120Z" />
5
3
  </svg>
@@ -227,7 +227,7 @@
227
227
  max-width: 600px;
228
228
 
229
229
  .wide & {
230
- max-width: 900px;
230
+ max-width: 1200px;
231
231
  }
232
232
  }
233
233
 
@@ -14,8 +14,6 @@
14
14
 
15
15
  const { participant, initialScrollPosition = 0, ...restProps }: Props = $props()
16
16
 
17
- let windowWidth = $state(0)
18
-
19
17
  track(TrackingEvent.ParticipantModalView, null, { participant: participant.name })
20
18
 
21
19
  onMount(() => {
@@ -25,8 +23,6 @@
25
23
  })
26
24
  </script>
27
25
 
28
- <svelte:window bind:innerWidth={windowWidth} />
29
-
30
- <Modal {initialScrollPosition} {...restProps} closeButtonStyle="flat" tall>
26
+ <Modal {initialScrollPosition} {...restProps} closeButtonStyle="flat" tall wide blur>
31
27
  <Participant {participant} />
32
28
  </Modal>