@antistatique/leckerli 1.2.4 → 1.2.6
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/.claude/settings.local.json +10 -0
- package/CHANGELOG.md +20 -3
- package/CLAUDE.local.md +90 -0
- package/README.md +15 -1
- package/dist/assets/leckerli-gtm.min.js +1 -1
- package/dist/assets/leckerli.min.css +1 -1
- package/dist/assets/leckerli.min.js +2 -2
- package/doc/GTM_INTEGRATION.md +2 -1
- package/doc/gtm-tag-template.js +20 -11
- package/doc/gtm-tag-template.tpl +117 -12
- package/package.json +16 -16
- package/src/defaultSettings.ts +1 -0
- package/src/hooks/useSettings.ts +19 -8
- package/src/types/settings.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -6,14 +6,29 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [1.2.6] - 2026-02-26
|
|
10
|
+
### Changed
|
|
11
|
+
- Display banner when permissions list change
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
- Fix mergeObject function in GTM tag template to work correctly in sandboxed JS environment
|
|
15
|
+
|
|
16
|
+
## [1.2.5] - 2025-08-29
|
|
17
|
+
### Added
|
|
18
|
+
- Support GTM consent v2 (thanks to @francoisbruneau).
|
|
19
|
+
- Doc for customiseDescription string.
|
|
20
|
+
|
|
21
|
+
### Fixed
|
|
22
|
+
- Use expires setting value to set cookie (#8).
|
|
23
|
+
- Fix issue on reduce config in GTM javascript environment (#19).
|
|
24
|
+
|
|
9
25
|
## [1.2.4] - 2023-11-30
|
|
10
26
|
### Added
|
|
11
27
|
- Add new optional description for the Settings panel
|
|
12
28
|
|
|
13
29
|
## [1.2.3] - 2023-10-11
|
|
14
|
-
- Add documentation for i18n (first approach)
|
|
15
|
-
|
|
16
30
|
### Added
|
|
31
|
+
- Add documentation for i18n (first approach)
|
|
17
32
|
- Add classes to override default settings banner style
|
|
18
33
|
|
|
19
34
|
## [1.2.1] - 2023-09-25
|
|
@@ -79,7 +94,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
79
94
|
### Added
|
|
80
95
|
- First POC
|
|
81
96
|
|
|
82
|
-
[Unreleased]: https://github.com/antistatique/leckerli/compare/v1.2.
|
|
97
|
+
[Unreleased]: https://github.com/antistatique/leckerli/compare/v1.2.6...HEAD
|
|
98
|
+
[1.2.6]: https://github.com/antistatique/leckerli/compare/v1.2.5...v1.2.6
|
|
99
|
+
[1.2.5]: https://github.com/antistatique/leckerli/compare/v1.2.4...v1.2.5
|
|
83
100
|
[1.2.4]: https://github.com/antistatique/leckerli/compare/v1.2.3...v1.2.4
|
|
84
101
|
[1.2.3]: https://github.com/antistatique/leckerli/compare/v1.2.1...v1.2.3
|
|
85
102
|
[1.2.1]: https://github.com/antistatique/leckerli/compare/v1.2.0...v1.2.1
|
package/CLAUDE.local.md
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
# CLAUDE.md
|
|
2
|
+
|
|
3
|
+
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
|
|
4
|
+
|
|
5
|
+
## Project Overview
|
|
6
|
+
|
|
7
|
+
Leckerli is a lightweight (~23kB gzip) GDPR cookie consent manager built with **Preact**, **TypeScript**, **Zustand**, and **Tailwind CSS**. It produces two IIFE bundles for direct script inclusion on websites.
|
|
8
|
+
|
|
9
|
+
## Commands
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
# Install dependencies
|
|
13
|
+
yarn
|
|
14
|
+
|
|
15
|
+
# Development (BrowserSync on :4321 + Rollup watch + Tailwind watch)
|
|
16
|
+
yarn dev
|
|
17
|
+
|
|
18
|
+
# Full build (Tailwind CSS + Rollup)
|
|
19
|
+
yarn build
|
|
20
|
+
|
|
21
|
+
# Lint (zero warnings allowed)
|
|
22
|
+
yarn lint:js
|
|
23
|
+
yarn lint:gtm # validate GTM sandbox JS restrictions
|
|
24
|
+
yarn fix:js # with auto-fix
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Manual testing is done via the dev server using `index.html` or `gtm-basic.html`. The GTM tag template (`doc/gtm-tag-template.tpl`) includes test scenarios runnable from the GTM template editor.
|
|
28
|
+
|
|
29
|
+
## Architecture
|
|
30
|
+
|
|
31
|
+
### Two Build Outputs (Rollup, IIFE format)
|
|
32
|
+
|
|
33
|
+
1. **`src/index.tsx` → `dist/assets/leckerli.min.js`** — Main bundle. Creates a `<div id="lkrl-wrapper">`, mounts the Preact app.
|
|
34
|
+
2. **`src/gtm.ts` → `dist/assets/leckerli-gtm.min.js`** — Lightweight GTM integration. Can auto-load the main bundle and bridges permission updates to GTM callbacks.
|
|
35
|
+
|
|
36
|
+
### State Management
|
|
37
|
+
|
|
38
|
+
All state lives in a single Zustand store (`src/hooks/useSettings.ts`). It:
|
|
39
|
+
- Merges `window.leckerliSettings` with defaults from `src/defaultSettings.ts`
|
|
40
|
+
- Persists consent as a JSON cookie via `js-cookie` (SameSite: strict)
|
|
41
|
+
- Dispatches/listens to custom DOM events (`leckerli:*`) for external integration
|
|
42
|
+
|
|
43
|
+
### Components
|
|
44
|
+
|
|
45
|
+
- **App.tsx** — Root component, conditionally renders Banner or Settings
|
|
46
|
+
- **Banner.tsx** — Fixed-position consent banner (HTML sanitized with DOMPurify)
|
|
47
|
+
- **Settings.tsx** — Modal with per-permission toggles
|
|
48
|
+
|
|
49
|
+
### CSS Scoping
|
|
50
|
+
|
|
51
|
+
All Tailwind styles are scoped to `#lkrl-wrapper` via `postcss-prefixwrap` (see `postcss.config.cjs`), preventing conflicts with host websites. Theming uses CSS custom properties (`--leckerli-foreground`, `--leckerli-background`, `--leckerli-primary`, etc.).
|
|
52
|
+
|
|
53
|
+
## Code Conventions
|
|
54
|
+
|
|
55
|
+
- Preact with `jsxImportSource: "preact"` (not React)
|
|
56
|
+
- `react` dependency is aliased to `@preact/compat` in package.json
|
|
57
|
+
- Arrow functions for all components (`react/function-component-definition: arrow-function`)
|
|
58
|
+
- Single quotes, trailing commas (es5), no parens on single arrow params
|
|
59
|
+
- Import sorting enforced by `eslint-plugin-simple-import-sort` (node builtins → external → internal aliases → relative → styles)
|
|
60
|
+
- Strict TypeScript: `noUnusedLocals`, `noUnusedParameters`, `noFallthroughCasesInSwitch`
|
|
61
|
+
- `tailwind.config.js` has `important: true` to ensure styles override host site
|
|
62
|
+
|
|
63
|
+
## Git / Commits
|
|
64
|
+
|
|
65
|
+
- `dist/` files (leckerli.min.js, leckerli.min.css) should only be committed when releasing. Do not include them in feature/fix commits.
|
|
66
|
+
- The pre-commit hook (`.husky/pre-commit`) runs `yarn lint-staged && yarn build && git add dist`. Use `--no-verify` when amending to remove dist files from a commit.
|
|
67
|
+
|
|
68
|
+
### Pre-commit Hooks
|
|
69
|
+
|
|
70
|
+
Husky + lint-staged runs on every commit:
|
|
71
|
+
1. ESLint on changed `src/**/*.{js,jsx,ts,tsx}` files
|
|
72
|
+
2. Full `yarn build`
|
|
73
|
+
3. Auto-stages `dist/` changes
|
|
74
|
+
|
|
75
|
+
### Release Process
|
|
76
|
+
|
|
77
|
+
1. Create a `release/x.y.z` branch from `main`
|
|
78
|
+
2. Bump version in `package.json`
|
|
79
|
+
3. Update `CHANGELOG.md` via `chan release x.y.z` (moves `[Unreleased]` entries under `[x.y.z] - YYYY-MM-DD`)
|
|
80
|
+
4. **If bumping the minor or major version** (e.g. 1.2 → 1.3), update `LECKERLI_JS_URL` in `doc/gtm-tag-template.js` to match the new version (e.g. `@antistatique/leckerli@1.3/dist/assets/leckerli-gtm.min.js`)
|
|
81
|
+
5. Run `yarn build` to rebuild dist files
|
|
82
|
+
6. Commit with message `Bump vx.y.z` (include `dist/` files)
|
|
83
|
+
7. Open a PR from `release/x.y.z` → `main` and merge
|
|
84
|
+
8. Tag the release: both `x.y.z` and `vx.y.z` tags are created (lightweight)
|
|
85
|
+
9. Create a GitHub release via `chan gh-release x.y.z`
|
|
86
|
+
10. Publish to npm (`yarn publish` — `prepublishOnly` runs build + `pinst --disable`)
|
|
87
|
+
|
|
88
|
+
## GTM Tag Template
|
|
89
|
+
|
|
90
|
+
`doc/gtm-tag-template.js` runs in the GTM sandboxed JS environment (ECMAScript 5.1 + arrow functions + const/let only). Key restrictions: no `this`, no `new`, no template literals, no destructuring, no spread, no browser globals. All standard objects (`Object`, `JSON`, `Math`) must be obtained via `require()`. The `yarn lint:gtm` command enforces these constraints via a dedicated ESLint config (`.eslintrc.gtm.json`).
|
package/README.md
CHANGED
|
@@ -62,7 +62,7 @@ It's the `domain` of your cookie, by default the current website (`window.locati
|
|
|
62
62
|
|
|
63
63
|
### expires
|
|
64
64
|
|
|
65
|
-
It's the `expires` of your cookie, by default it is set for
|
|
65
|
+
It's the `expires` of your cookie, by default it is set for 92 days (3 months) from the current day. It should be a number of days.
|
|
66
66
|
|
|
67
67
|
### banner
|
|
68
68
|
|
|
@@ -170,6 +170,7 @@ You could have something like:
|
|
|
170
170
|
accept: 'Accepter tout',
|
|
171
171
|
reject: 'Tout rejeter',
|
|
172
172
|
customise: 'Personnaliser',
|
|
173
|
+
customiseDescription: 'Vous pouvez ajuster vos préférences en acceptant ou refusant chaque catégorie de cookies utilisée sur ce site.',
|
|
173
174
|
save: 'Sauvegarder',
|
|
174
175
|
settings: [
|
|
175
176
|
{
|
|
@@ -289,3 +290,16 @@ To locally run the project:
|
|
|
289
290
|
$ yarn
|
|
290
291
|
$ yarn dev
|
|
291
292
|
```
|
|
293
|
+
|
|
294
|
+
### Release Process
|
|
295
|
+
|
|
296
|
+
1. Create a `release/x.y.z` branch from `main`
|
|
297
|
+
2. Bump version in `package.json`
|
|
298
|
+
3. Update `CHANGELOG.md` via `chan release x.y.z`
|
|
299
|
+
4. **If bumping the minor or major version** (e.g. 1.2 → 1.3), update `LECKERLI_JS_URL` in `doc/gtm-tag-template.js` to match the new version (e.g. `@antistatique/leckerli@1.3/dist/assets/leckerli-gtm.min.js`)
|
|
300
|
+
5. Run `yarn build` to rebuild dist files
|
|
301
|
+
6. Commit with message `Bump vx.y.z` (include `dist/` files)
|
|
302
|
+
7. Open a PR from `release/x.y.z` → `main` and merge
|
|
303
|
+
8. Tag the release: both `x.y.z` and `vx.y.z` tags are created (lightweight)
|
|
304
|
+
9. Create a GitHub release via `chan gh-release x.y.z`
|
|
305
|
+
10. Publish to npm (`yarn publish`)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){"use strict";if(window.leckerliSettings.enableGtmAutoLoad){const e=document.createElement("link");e.rel="stylesheet",e.href="//www.unpkg.com/@antistatique/leckerli@1.2.
|
|
1
|
+
!function(){"use strict";if(window.leckerliSettings.enableGtmAutoLoad){const e=document.createElement("link");e.rel="stylesheet",e.href="//www.unpkg.com/@antistatique/leckerli@1.2.6/dist/assets/leckerli.min.css",document.head.appendChild(e)}if(window.leckerliSettings.enableGtmAutoLoad){const e=document.createElement("script");e.src="//www.unpkg.com/@antistatique/leckerli@1.2.6/dist/assets/leckerli.min.js",document.body.appendChild(e)}document.addEventListener("leckerli:permissions-updated",(e=>{window.leckerliGTMUpdate(e.detail.cookie)}))}();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! tailwindcss v3.3.3 | MIT License | https://tailwindcss.com*/#lkrl-wrapper *,#lkrl-wrapper :after,#lkrl-wrapper :before{box-sizing:border-box;border:0 solid #e5e7eb}#lkrl-wrapper :after,#lkrl-wrapper :before{--tw-content:""}#lkrl-wrapper{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;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-feature-settings:normal;font-variation-settings:normal;margin:0;line-height:inherit}#lkrl-wrapper hr{height:0;color:inherit;border-top-width:1px}#lkrl-wrapper abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}#lkrl-wrapper h1,#lkrl-wrapper h2,#lkrl-wrapper h3,#lkrl-wrapper h4,#lkrl-wrapper h5,#lkrl-wrapper h6{font-size:inherit;font-weight:inherit}#lkrl-wrapper a{color:inherit;text-decoration:inherit}#lkrl-wrapper b,#lkrl-wrapper strong{font-weight:bolder}#lkrl-wrapper code,#lkrl-wrapper kbd,#lkrl-wrapper pre,#lkrl-wrapper samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}#lkrl-wrapper small{font-size:80%}#lkrl-wrapper sub,#lkrl-wrapper sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}#lkrl-wrapper sub{bottom:-.25em}#lkrl-wrapper sup{top:-.5em}#lkrl-wrapper table{text-indent:0;border-color:inherit;border-collapse:collapse}#lkrl-wrapper button,#lkrl-wrapper input,#lkrl-wrapper optgroup,#lkrl-wrapper select,#lkrl-wrapper textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}#lkrl-wrapper button,#lkrl-wrapper select{text-transform:none}#lkrl-wrapper [type=button],#lkrl-wrapper [type=reset],#lkrl-wrapper [type=submit],#lkrl-wrapper button{-webkit-appearance:button;background-color:initial;background-image:none}#lkrl-wrapper :-moz-focusring{outline:auto}#lkrl-wrapper :-moz-ui-invalid{box-shadow:none}#lkrl-wrapper progress{vertical-align:initial}#lkrl-wrapper ::-webkit-inner-spin-button,#lkrl-wrapper ::-webkit-outer-spin-button{height:auto}#lkrl-wrapper [type=search]{-webkit-appearance:textfield;outline-offset:-2px}#lkrl-wrapper ::-webkit-search-decoration{-webkit-appearance:none}#lkrl-wrapper ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}#lkrl-wrapper summary{display:list-item}#lkrl-wrapper blockquote,#lkrl-wrapper dd,#lkrl-wrapper dl,#lkrl-wrapper figure,#lkrl-wrapper h1,#lkrl-wrapper h2,#lkrl-wrapper h3,#lkrl-wrapper h4,#lkrl-wrapper h5,#lkrl-wrapper h6,#lkrl-wrapper hr,#lkrl-wrapper p,#lkrl-wrapper pre{margin:0}#lkrl-wrapper fieldset{margin:0;padding:0}#lkrl-wrapper legend{padding:0}#lkrl-wrapper menu,#lkrl-wrapper ol,#lkrl-wrapper ul{list-style:none;margin:0;padding:0}#lkrl-wrapper dialog{padding:0}#lkrl-wrapper textarea{resize:vertical}#lkrl-wrapper input::-moz-placeholder,#lkrl-wrapper textarea::-moz-placeholder{opacity:1;color:#9ca3af}#lkrl-wrapper input::placeholder,#lkrl-wrapper textarea::placeholder{opacity:1;color:#9ca3af}#lkrl-wrapper [role=button],#lkrl-wrapper button{cursor:pointer}#lkrl-wrapper :disabled{cursor:default}#lkrl-wrapper audio,#lkrl-wrapper canvas,#lkrl-wrapper embed,#lkrl-wrapper iframe,#lkrl-wrapper img,#lkrl-wrapper object,#lkrl-wrapper svg,#lkrl-wrapper video{display:block;vertical-align:middle}#lkrl-wrapper img,#lkrl-wrapper video{max-width:100%;height:auto}#lkrl-wrapper [hidden]{display:none}#lkrl-wrapper *,#lkrl-wrapper ::backdrop,#lkrl-wrapper :after,#lkrl-wrapper :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:#3b82f680;--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: }#lkrl-wrapper .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border-width:0!important}#lkrl-wrapper .pointer-events-none{pointer-events:none!important}#lkrl-wrapper .fixed{position:fixed!important}#lkrl-wrapper .absolute{position:absolute!important}#lkrl-wrapper .relative{position:relative!important}#lkrl-wrapper .bottom-0{bottom:0!important}#lkrl-wrapper .left-0{left:0!important}#lkrl-wrapper .right-0{right:0!important}#lkrl-wrapper .top-0{top:0!important}#lkrl-wrapper .z-\[9998\]{z-index:9998!important}#lkrl-wrapper .z-\[9999\]{z-index:9999!important}#lkrl-wrapper .m-0{margin:0!important}#lkrl-wrapper .m-2{margin:.5rem!important}#lkrl-wrapper .mr-2{margin-right:.5rem!important}#lkrl-wrapper .mt-0{margin-top:0!important}#lkrl-wrapper .mt-0\.5{margin-top:.125rem!important}#lkrl-wrapper .mt-2{margin-top:.5rem!important}#lkrl-wrapper .inline-block{display:inline-block!important}#lkrl-wrapper .flex{display:flex!important}#lkrl-wrapper .inline-flex{display:inline-flex!important}#lkrl-wrapper .h-5{height:1.25rem!important}#lkrl-wrapper .h-6{height:1.5rem!important}#lkrl-wrapper .h-8{height:2rem!important}#lkrl-wrapper .max-h-full{max-height:100%!important}#lkrl-wrapper .w-10\/12{width:83.333333%!important}#lkrl-wrapper .w-11{width:2.75rem!important}#lkrl-wrapper .w-5{width:1.25rem!important}#lkrl-wrapper .w-8{width:2rem!important}#lkrl-wrapper .w-full{width:100%!important}#lkrl-wrapper .max-w-lg{max-width:32rem!important}#lkrl-wrapper .max-w-md{max-width:28rem!important}#lkrl-wrapper .flex-shrink-0{flex-shrink:0!important}#lkrl-wrapper .translate-x-0{--tw-translate-x:0px!important}#lkrl-wrapper .translate-x-0,#lkrl-wrapper .translate-x-5{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}#lkrl-wrapper .translate-x-5{--tw-translate-x:1.25rem!important}#lkrl-wrapper .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}#lkrl-wrapper .cursor-pointer{cursor:pointer!important}#lkrl-wrapper .items-start{align-items:flex-start!important}#lkrl-wrapper .justify-between{justify-content:space-between!important}#lkrl-wrapper .space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(.5rem*var(--tw-space-y-reverse))!important}#lkrl-wrapper .space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(1rem*var(--tw-space-y-reverse))!important}#lkrl-wrapper .space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(1.5rem*var(--tw-space-y-reverse))!important}#lkrl-wrapper .overflow-y-auto{overflow-y:auto!important}#lkrl-wrapper .rounded{border-radius:.25rem!important}#lkrl-wrapper .rounded-full{border-radius:9999px!important}#lkrl-wrapper .rounded-md{border-radius:.375rem!important}#lkrl-wrapper .border-2{border-width:2px!important}#lkrl-wrapper .border-solid{border-style:solid!important}#lkrl-wrapper .border-primary{border-color:var(--leckerli-primary,#059669)!important}#lkrl-wrapper .border-transparent{border-color:#0000!important}#lkrl-wrapper .bg-background{background-color:var(--leckerli-background,#fff)!important}#lkrl-wrapper .bg-gray-200{--tw-bg-opacity:1!important;background-color:rgb(229 231 235/var(--tw-bg-opacity))!important}#lkrl-wrapper .bg-primary{background-color:var(--leckerli-primary,#059669)!important}#lkrl-wrapper .px-2{padding-left:.5rem!important;padding-right:.5rem!important}#lkrl-wrapper .px-5{padding-left:1.25rem!important;padding-right:1.25rem!important}#lkrl-wrapper .py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}#lkrl-wrapper .py-1\.5{padding-top:.375rem!important;padding-bottom:.375rem!important}#lkrl-wrapper .py-4{padding-top:1rem!important;padding-bottom:1rem!important}#lkrl-wrapper .pt-2{padding-top:.5rem!important}#lkrl-wrapper .pt-4{padding-top:1rem!important}#lkrl-wrapper .font-primary{font-family:var(--leckerli-font,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")!important}#lkrl-wrapper .text-lg{font-size:1.125rem!important;line-height:1.75rem!important}#lkrl-wrapper .text-sm{font-size:.875rem!important;line-height:1.25rem!important}#lkrl-wrapper .text-xl{font-size:1.25rem!important;line-height:1.75rem!important}#lkrl-wrapper .font-semibold{font-weight:600!important}#lkrl-wrapper .leading-snug{line-height:1.375!important}#lkrl-wrapper .text-background{color:var(--leckerli-background,#fff)!important}#lkrl-wrapper .text-black{--tw-text-opacity:1!important;color:rgb(0 0 0/var(--tw-text-opacity))!important}#lkrl-wrapper .text-foreground{color:var(--leckerli-foreground,#000)!important}#lkrl-wrapper .text-primary{color:var(--leckerli-primary,#059669)!important}#lkrl-wrapper .shadow{--tw-shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a!important;--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)!important}#lkrl-wrapper .shadow,#lkrl-wrapper .shadow-md{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}#lkrl-wrapper .shadow-md{--tw-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a!important;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)!important}#lkrl-wrapper .shadow-black\/25{--tw-shadow-color:#00000040!important;--tw-shadow:var(--tw-shadow-colored)!important}#lkrl-wrapper .ring-0{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}#lkrl-wrapper .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}#lkrl-wrapper .transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}#lkrl-wrapper .duration-200{transition-duration:.2s!important}#lkrl-wrapper .ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}#lkrl-wrapper .hover\:border-primary-hover:hover{border-color:var(--leckerli-primary-hover,#047857)!important}#lkrl-wrapper .hover\:bg-primary-hover:hover{background-color:var(--leckerli-primary-hover,#047857)!important}#lkrl-wrapper .hover\:text-primary-hover:hover{color:var(--leckerli-primary-hover,#047857)!important}#lkrl-wrapper .focus\:outline-none:focus{outline:2px solid #0000!important;outline-offset:2px!important}#lkrl-wrapper .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)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}#lkrl-wrapper .focus\:ring-primary:focus{--tw-ring-color:var(--leckerli-primary,#059669)!important}#lkrl-wrapper .focus\:ring-offset-2:focus{--tw-ring-offset-width:2px!important}#lkrl-wrapper .active\:border-primary-active:active{border-color:var(--leckerli-primary-active,#064e3b)!important}#lkrl-wrapper .active\:bg-primary-active:active{background-color:var(--leckerli-primary-active,#064e3b)!important}#lkrl-wrapper .active\:text-primary-active:active{color:var(--leckerli-primary-active,#064e3b)!important}@media (min-width:768px){#lkrl-wrapper .md\:px-3{padding-left:.75rem!important;padding-right:.75rem!important}#lkrl-wrapper .md\:px-3\.5{padding-left:.875rem!important;padding-right:.875rem!important}#lkrl-wrapper .md\:py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}#lkrl-wrapper .md\:py-2\.5{padding-top:.625rem!important;padding-bottom:.625rem!important}#lkrl-wrapper .md\:text-2xl{font-size:1.5rem!important;line-height:2rem!important}#lkrl-wrapper .md\:text-base{font-size:1rem!important;line-height:1.5rem!important}#lkrl-wrapper .md\:text-xl{font-size:1.25rem!important;line-height:1.75rem!important}}
|
|
1
|
+
/*! tailwindcss v3.3.3 | MIT License | https://tailwindcss.com*/#lkrl-wrapper *,#lkrl-wrapper :after,#lkrl-wrapper :before{box-sizing:border-box;border:0 solid #e5e7eb}#lkrl-wrapper :after,#lkrl-wrapper :before{--tw-content:""}#lkrl-wrapper{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;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-feature-settings:normal;font-variation-settings:normal;margin:0;line-height:inherit}#lkrl-wrapper hr{height:0;color:inherit;border-top-width:1px}#lkrl-wrapper abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}#lkrl-wrapper h1,#lkrl-wrapper h2,#lkrl-wrapper h3,#lkrl-wrapper h4,#lkrl-wrapper h5,#lkrl-wrapper h6{font-size:inherit;font-weight:inherit}#lkrl-wrapper a{color:inherit;text-decoration:inherit}#lkrl-wrapper b,#lkrl-wrapper strong{font-weight:bolder}#lkrl-wrapper code,#lkrl-wrapper kbd,#lkrl-wrapper pre,#lkrl-wrapper samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}#lkrl-wrapper small{font-size:80%}#lkrl-wrapper sub,#lkrl-wrapper sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}#lkrl-wrapper sub{bottom:-.25em}#lkrl-wrapper sup{top:-.5em}#lkrl-wrapper table{text-indent:0;border-color:inherit;border-collapse:collapse}#lkrl-wrapper button,#lkrl-wrapper input,#lkrl-wrapper optgroup,#lkrl-wrapper select,#lkrl-wrapper textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}#lkrl-wrapper button,#lkrl-wrapper select{text-transform:none}#lkrl-wrapper [type=button],#lkrl-wrapper [type=reset],#lkrl-wrapper [type=submit],#lkrl-wrapper button{-webkit-appearance:button;background-color:initial;background-image:none}#lkrl-wrapper :-moz-focusring{outline:auto}#lkrl-wrapper :-moz-ui-invalid{box-shadow:none}#lkrl-wrapper progress{vertical-align:initial}#lkrl-wrapper ::-webkit-inner-spin-button,#lkrl-wrapper ::-webkit-outer-spin-button{height:auto}#lkrl-wrapper [type=search]{-webkit-appearance:textfield;outline-offset:-2px}#lkrl-wrapper ::-webkit-search-decoration{-webkit-appearance:none}#lkrl-wrapper ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}#lkrl-wrapper summary{display:list-item}#lkrl-wrapper blockquote,#lkrl-wrapper dd,#lkrl-wrapper dl,#lkrl-wrapper figure,#lkrl-wrapper h1,#lkrl-wrapper h2,#lkrl-wrapper h3,#lkrl-wrapper h4,#lkrl-wrapper h5,#lkrl-wrapper h6,#lkrl-wrapper hr,#lkrl-wrapper p,#lkrl-wrapper pre{margin:0}#lkrl-wrapper fieldset{margin:0;padding:0}#lkrl-wrapper legend{padding:0}#lkrl-wrapper menu,#lkrl-wrapper ol,#lkrl-wrapper ul{list-style:none;margin:0;padding:0}#lkrl-wrapper dialog{padding:0}#lkrl-wrapper textarea{resize:vertical}#lkrl-wrapper input::-moz-placeholder,#lkrl-wrapper textarea::-moz-placeholder{opacity:1;color:#9ca3af}#lkrl-wrapper input::placeholder,#lkrl-wrapper textarea::placeholder{opacity:1;color:#9ca3af}#lkrl-wrapper [role=button],#lkrl-wrapper button{cursor:pointer}#lkrl-wrapper :disabled{cursor:default}#lkrl-wrapper audio,#lkrl-wrapper canvas,#lkrl-wrapper embed,#lkrl-wrapper iframe,#lkrl-wrapper img,#lkrl-wrapper object,#lkrl-wrapper svg,#lkrl-wrapper video{display:block;vertical-align:middle}#lkrl-wrapper img,#lkrl-wrapper video{max-width:100%;height:auto}#lkrl-wrapper [hidden]{display:none}#lkrl-wrapper *,#lkrl-wrapper ::backdrop,#lkrl-wrapper :after,#lkrl-wrapper :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:#3b82f680;--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: }#lkrl-wrapper .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border-width:0!important}#lkrl-wrapper .pointer-events-none{pointer-events:none!important}#lkrl-wrapper .fixed{position:fixed!important}#lkrl-wrapper .absolute{position:absolute!important}#lkrl-wrapper .relative{position:relative!important}#lkrl-wrapper .bottom-0{bottom:0!important}#lkrl-wrapper .left-0{left:0!important}#lkrl-wrapper .right-0{right:0!important}#lkrl-wrapper .top-0{top:0!important}#lkrl-wrapper .z-\[9998\]{z-index:9998!important}#lkrl-wrapper .z-\[9999\]{z-index:9999!important}#lkrl-wrapper .m-0{margin:0!important}#lkrl-wrapper .m-2{margin:.5rem!important}#lkrl-wrapper .mr-2{margin-right:.5rem!important}#lkrl-wrapper .mt-0{margin-top:0!important}#lkrl-wrapper .mt-0\.5{margin-top:.125rem!important}#lkrl-wrapper .mt-2{margin-top:.5rem!important}#lkrl-wrapper .inline-block{display:inline-block!important}#lkrl-wrapper .flex{display:flex!important}#lkrl-wrapper .inline-flex{display:inline-flex!important}#lkrl-wrapper .h-5{height:1.25rem!important}#lkrl-wrapper .h-6{height:1.5rem!important}#lkrl-wrapper .h-8{height:2rem!important}#lkrl-wrapper .max-h-full{max-height:100%!important}#lkrl-wrapper .w-10\/12{width:83.333333%!important}#lkrl-wrapper .w-11{width:2.75rem!important}#lkrl-wrapper .w-5{width:1.25rem!important}#lkrl-wrapper .w-8{width:2rem!important}#lkrl-wrapper .w-full{width:100%!important}#lkrl-wrapper .max-w-lg{max-width:32rem!important}#lkrl-wrapper .max-w-md{max-width:28rem!important}#lkrl-wrapper .flex-shrink-0{flex-shrink:0!important}#lkrl-wrapper .translate-x-0{--tw-translate-x:0px!important}#lkrl-wrapper .translate-x-0,#lkrl-wrapper .translate-x-5{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}#lkrl-wrapper .translate-x-5{--tw-translate-x:1.25rem!important}#lkrl-wrapper .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}#lkrl-wrapper .cursor-pointer{cursor:pointer!important}#lkrl-wrapper .items-start{align-items:flex-start!important}#lkrl-wrapper .justify-between{justify-content:space-between!important}#lkrl-wrapper .space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(.5rem*var(--tw-space-y-reverse))!important}#lkrl-wrapper .space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(1rem*var(--tw-space-y-reverse))!important}#lkrl-wrapper .space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(1.5rem*var(--tw-space-y-reverse))!important}#lkrl-wrapper .overflow-y-auto{overflow-y:auto!important}#lkrl-wrapper .rounded{border-radius:.25rem!important}#lkrl-wrapper .rounded-full{border-radius:9999px!important}#lkrl-wrapper .rounded-md{border-radius:.375rem!important}#lkrl-wrapper .border-2{border-width:2px!important}#lkrl-wrapper .border-solid{border-style:solid!important}#lkrl-wrapper .border-primary{border-color:var(--leckerli-primary,#059669)!important}#lkrl-wrapper .border-transparent{border-color:#0000!important}#lkrl-wrapper .bg-background{background-color:var(--leckerli-background,#fff)!important}#lkrl-wrapper .bg-gray-200{--tw-bg-opacity:1!important;background-color:rgb(229 231 235/var(--tw-bg-opacity))!important}#lkrl-wrapper .bg-primary{background-color:var(--leckerli-primary,#059669)!important}#lkrl-wrapper .px-2{padding-left:.5rem!important;padding-right:.5rem!important}#lkrl-wrapper .px-5{padding-left:1.25rem!important;padding-right:1.25rem!important}#lkrl-wrapper .py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}#lkrl-wrapper .py-1\.5{padding-top:.375rem!important;padding-bottom:.375rem!important}#lkrl-wrapper .py-4{padding-top:1rem!important;padding-bottom:1rem!important}#lkrl-wrapper .pt-2{padding-top:.5rem!important}#lkrl-wrapper .pt-4{padding-top:1rem!important}#lkrl-wrapper .font-primary{font-family:var(--leckerli-font,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")!important}#lkrl-wrapper .text-lg{font-size:1.125rem!important;line-height:1.75rem!important}#lkrl-wrapper .text-sm{font-size:.875rem!important;line-height:1.25rem!important}#lkrl-wrapper .text-xl{font-size:1.25rem!important;line-height:1.75rem!important}#lkrl-wrapper .font-semibold{font-weight:600!important}#lkrl-wrapper .leading-snug{line-height:1.375!important}#lkrl-wrapper .text-background{color:var(--leckerli-background,#fff)!important}#lkrl-wrapper .text-black{--tw-text-opacity:1!important;color:rgb(0 0 0/var(--tw-text-opacity))!important}#lkrl-wrapper .text-foreground{color:var(--leckerli-foreground,#000)!important}#lkrl-wrapper .text-primary{color:var(--leckerli-primary,#059669)!important}#lkrl-wrapper .shadow{--tw-shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a!important;--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)!important}#lkrl-wrapper .shadow,#lkrl-wrapper .shadow-md{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}#lkrl-wrapper .shadow-md{--tw-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a!important;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)!important}#lkrl-wrapper .shadow-black\/25{--tw-shadow-color:#00000040!important;--tw-shadow:var(--tw-shadow-colored)!important}#lkrl-wrapper .ring-0{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}#lkrl-wrapper .filter{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)!important}#lkrl-wrapper .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}#lkrl-wrapper .transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}#lkrl-wrapper .duration-200{transition-duration:.2s!important}#lkrl-wrapper .ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}#lkrl-wrapper .hover\:border-primary-hover:hover{border-color:var(--leckerli-primary-hover,#047857)!important}#lkrl-wrapper .hover\:bg-primary-hover:hover{background-color:var(--leckerli-primary-hover,#047857)!important}#lkrl-wrapper .hover\:text-primary-hover:hover{color:var(--leckerli-primary-hover,#047857)!important}#lkrl-wrapper .focus\:outline-none:focus{outline:2px solid #0000!important;outline-offset:2px!important}#lkrl-wrapper .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)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}#lkrl-wrapper .focus\:ring-primary:focus{--tw-ring-color:var(--leckerli-primary,#059669)!important}#lkrl-wrapper .focus\:ring-offset-2:focus{--tw-ring-offset-width:2px!important}#lkrl-wrapper .active\:border-primary-active:active{border-color:var(--leckerli-primary-active,#064e3b)!important}#lkrl-wrapper .active\:bg-primary-active:active{background-color:var(--leckerli-primary-active,#064e3b)!important}#lkrl-wrapper .active\:text-primary-active:active{color:var(--leckerli-primary-active,#064e3b)!important}@media (min-width:768px){#lkrl-wrapper .md\:px-3{padding-left:.75rem!important;padding-right:.75rem!important}#lkrl-wrapper .md\:px-3\.5{padding-left:.875rem!important;padding-right:.875rem!important}#lkrl-wrapper .md\:py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}#lkrl-wrapper .md\:py-2\.5{padding-top:.625rem!important;padding-bottom:.625rem!important}#lkrl-wrapper .md\:text-2xl{font-size:1.5rem!important;line-height:2rem!important}#lkrl-wrapper .md\:text-base{font-size:1rem!important;line-height:1.5rem!important}#lkrl-wrapper .md\:text-xl{font-size:1.25rem!important;line-height:1.75rem!important}}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(){"use strict";var e,t,n,r,o,i,a,l,c={},u=[],s=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,f=Array.isArray;function _(e,t){for(var n in t)e[n]=t[n];return e}function p(e){var t=e.parentNode;t&&t.removeChild(e)}function d(t,n,r){var o,i,a,l={};for(a in n)"key"==a?o=n[a]:"ref"==a?i=n[a]:l[a]=n[a];if(arguments.length>2&&(l.children=arguments.length>3?e.call(arguments,2):r),"function"==typeof t&&null!=t.defaultProps)for(a in t.defaultProps)void 0===l[a]&&(l[a]=t.defaultProps[a]);return m(t,l,o,i,null)}function m(e,r,o,i,a){var l={type:e,props:r,key:o,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==a?++n:a};return null==a&&null!=t.vnode&&t.vnode(l),l}function h(){return{current:null}}function y(e){return e.children}function v(e,t){this.props=e,this.context=t}function g(e,t){if(null==t)return e.__?g(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?g(e):null}function b(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return b(e)}}function E(e){(!e.__d&&(e.__d=!0)&&r.push(e)&&!k.__r++||o!==t.debounceRendering)&&((o=t.debounceRendering)||i)(k)}function k(){var e,t,n,o,i,l,c,u,s;for(r.sort(a);e=r.shift();)e.__d&&(t=r.length,o=void 0,i=void 0,l=void 0,u=(c=(n=e).__v).__e,(s=n.__P)&&(o=[],i=[],(l=_({},c)).__v=c.__v+1,D(s,c,l,n.__n,void 0!==s.ownerSVGElement,null!=c.__h?[u]:null,o,null==u?g(c):u,c.__h,i),L(o,c,i),c.__e!=u&&b(c)),r.length>t&&r.sort(a));k.__r=0}function S(e,t,n,r,o,i,a,l,s,_,p){var d,h,v,b,E,k,S,x,w,C=0,O=r&&r.__k||u,R=O.length,L=R,P=t.length;for(n.__k=[],d=0;d<P;d++)null!=(b=n.__k[d]=null==(b=t[d])||"boolean"==typeof b||"function"==typeof b?null:"string"==typeof b||"number"==typeof b||"bigint"==typeof b?m(null,b,null,null,b):f(b)?m(y,{children:b},null,null,null):b.__b>0?m(b.type,b.props,b.key,b.ref?b.ref:null,b.__v):b)?(b.__=n,b.__b=n.__b+1,-1===(x=N(b,O,S=d+C,L))?v=c:(v=O[x]||c,O[x]=void 0,L--),D(e,b,v,o,i,a,l,s,_,p),E=b.__e,(h=b.ref)&&v.ref!=h&&(v.ref&&I(v.ref,null,b),p.push(h,b.__c||E,b)),null!=E&&(null==k&&(k=E),(w=v===c||null===v.__v)?-1==x&&C--:x!==S&&(x===S+1?C++:x>S?L>P-S?C+=x-S:C--:C=x<S&&x==S-1?x-S:0),S=d+C,"function"!=typeof b.type||x===S&&v.__k!==b.__k?"function"==typeof b.type||x===S&&!w?void 0!==b.__d?(s=b.__d,b.__d=void 0):s=E.nextSibling:s=A(e,E,s):s=T(b,s,e),"function"==typeof n.type&&(n.__d=s))):(v=O[d])&&null==v.key&&v.__e&&(v.__e==s&&(s=g(v)),M(v,v,!1),O[d]=null);for(n.__e=k,d=R;d--;)null!=O[d]&&("function"==typeof n.type&&null!=O[d].__e&&O[d].__e==n.__d&&(n.__d=O[d].__e.nextSibling),M(O[d],O[d]))}function T(e,t,n){for(var r,o=e.__k,i=0;o&&i<o.length;i++)(r=o[i])&&(r.__=e,t="function"==typeof r.type?T(r,t,n):A(n,r.__e,t));return t}function x(e,t){return t=t||[],null==e||"boolean"==typeof e||(f(e)?e.some((function(e){x(e,t)})):t.push(e)),t}function A(e,t,n){return null==n||n.parentNode!==e?e.insertBefore(t,null):t==n&&null!=t.parentNode||e.insertBefore(t,n),t.nextSibling}function N(e,t,n,r){var o=e.key,i=e.type,a=n-1,l=n+1,c=t[n];if(null===c||c&&o==c.key&&i===c.type)return n;if(r>(null!=c?1:0))for(;a>=0||l<t.length;){if(a>=0){if((c=t[a])&&o==c.key&&i===c.type)return a;a--}if(l<t.length){if((c=t[l])&&o==c.key&&i===c.type)return l;l++}}return-1}function w(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||s.test(t)?n:n+"px"}function C(e,t,n,r,o){var i;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||w(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||w(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/(PointerCapture)$|Capture$/,"$1")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?R:O,i):e.removeEventListener(t,i?R:O,i);else if("dangerouslySetInnerHTML"!==t){if(o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==t&&"height"!==t&&"href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&"rowSpan"!==t&&"colSpan"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,n))}}function O(e){return this.l[e.type+!1](t.event?t.event(e):e)}function R(e){return this.l[e.type+!0](t.event?t.event(e):e)}function D(n,r,o,i,a,l,u,s,d,m){var h,b,E,k,T,x,A,N,w,O,R,D,L,I,M,U=r.type;if(void 0!==r.constructor)return null;null!=o.__h&&(d=o.__h,s=r.__e=o.__e,r.__h=null,l=[s]),(h=t.__b)&&h(r);e:if("function"==typeof U)try{if(N=r.props,w=(h=U.contextType)&&i[h.__c],O=h?w?w.props.value:h.__:i,o.__c?A=(b=r.__c=o.__c).__=b.__E:("prototype"in U&&U.prototype.render?r.__c=b=new U(N,O):(r.__c=b=new v(N,O),b.constructor=U,b.render=P),w&&w.sub(b),b.props=N,b.state||(b.state={}),b.context=O,b.__n=i,E=b.__d=!0,b.__h=[],b._sb=[]),null==b.__s&&(b.__s=b.state),null!=U.getDerivedStateFromProps&&(b.__s==b.state&&(b.__s=_({},b.__s)),_(b.__s,U.getDerivedStateFromProps(N,b.__s))),k=b.props,T=b.state,b.__v=r,E)null==U.getDerivedStateFromProps&&null!=b.componentWillMount&&b.componentWillMount(),null!=b.componentDidMount&&b.__h.push(b.componentDidMount);else{if(null==U.getDerivedStateFromProps&&N!==k&&null!=b.componentWillReceiveProps&&b.componentWillReceiveProps(N,O),!b.__e&&(null!=b.shouldComponentUpdate&&!1===b.shouldComponentUpdate(N,b.__s,O)||r.__v===o.__v)){for(r.__v!==o.__v&&(b.props=N,b.state=b.__s,b.__d=!1),r.__e=o.__e,r.__k=o.__k,r.__k.forEach((function(e){e&&(e.__=r)})),R=0;R<b._sb.length;R++)b.__h.push(b._sb[R]);b._sb=[],b.__h.length&&u.push(b);break e}null!=b.componentWillUpdate&&b.componentWillUpdate(N,b.__s,O),null!=b.componentDidUpdate&&b.__h.push((function(){b.componentDidUpdate(k,T,x)}))}if(b.context=O,b.props=N,b.__P=n,b.__e=!1,D=t.__r,L=0,"prototype"in U&&U.prototype.render){for(b.state=b.__s,b.__d=!1,D&&D(r),h=b.render(b.props,b.state,b.context),I=0;I<b._sb.length;I++)b.__h.push(b._sb[I]);b._sb=[]}else do{b.__d=!1,D&&D(r),h=b.render(b.props,b.state,b.context),b.state=b.__s}while(b.__d&&++L<25);b.state=b.__s,null!=b.getChildContext&&(i=_(_({},i),b.getChildContext())),E||null==b.getSnapshotBeforeUpdate||(x=b.getSnapshotBeforeUpdate(k,T)),S(n,f(M=null!=h&&h.type===y&&null==h.key?h.props.children:h)?M:[M],r,o,i,a,l,u,s,d,m),b.base=r.__e,r.__h=null,b.__h.length&&u.push(b),A&&(b.__E=b.__=null)}catch(n){r.__v=null,(d||null!=l)&&(r.__e=s,r.__h=!!d,l[l.indexOf(s)]=null),t.__e(n,r,o)}else null==l&&r.__v===o.__v?(r.__k=o.__k,r.__e=o.__e):r.__e=function(t,n,r,o,i,a,l,u,s){var _,d,m,h=r.props,y=n.props,v=n.type,b=0;if("svg"===v&&(i=!0),null!=a)for(;b<a.length;b++)if((_=a[b])&&"setAttribute"in _==!!v&&(v?_.localName===v:3===_.nodeType)){t=_,a[b]=null;break}if(null==t){if(null===v)return document.createTextNode(y);t=i?document.createElementNS("http://www.w3.org/2000/svg",v):document.createElement(v,y.is&&y),a=null,u=!1}if(null===v)h===y||u&&t.data===y||(t.data=y);else{if(a=a&&e.call(t.childNodes),d=(h=r.props||c).dangerouslySetInnerHTML,m=y.dangerouslySetInnerHTML,!u){if(null!=a)for(h={},b=0;b<t.attributes.length;b++)h[t.attributes[b].name]=t.attributes[b].value;(m||d)&&(m&&(d&&m.__html==d.__html||m.__html===t.innerHTML)||(t.innerHTML=m&&m.__html||""))}if(function(e,t,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in t||C(e,i,null,n[i],r);for(i in t)o&&"function"!=typeof t[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===t[i]||C(e,i,t[i],n[i],r)}(t,y,h,i,u),m)n.__k=[];else if(S(t,f(b=n.props.children)?b:[b],n,r,o,i&&"foreignObject"!==v,a,l,a?a[0]:r.__k&&g(r,0),u,s),null!=a)for(b=a.length;b--;)null!=a[b]&&p(a[b]);u||("value"in y&&void 0!==(b=y.value)&&(b!==t.value||"progress"===v&&!b||"option"===v&&b!==h.value)&&C(t,"value",b,h.value,!1),"checked"in y&&void 0!==(b=y.checked)&&b!==t.checked&&C(t,"checked",b,h.checked,!1))}return t}(o.__e,r,o,i,a,l,u,d,m);(h=t.diffed)&&h(r)}function L(e,n,r){for(var o=0;o<r.length;o++)I(r[o],r[++o],r[++o]);t.__c&&t.__c(n,e),e.some((function(n){try{e=n.__h,n.__h=[],e.some((function(e){e.call(n)}))}catch(e){t.__e(e,n.__v)}}))}function I(e,n,r){try{"function"==typeof e?e(n):e.current=n}catch(e){t.__e(e,r)}}function M(e,n,r){var o,i;if(t.unmount&&t.unmount(e),(o=e.ref)&&(o.current&&o.current!==e.__e||I(o,null,n)),null!=(o=e.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){t.__e(e,n)}o.base=o.__P=null,e.__c=void 0}if(o=e.__k)for(i=0;i<o.length;i++)o[i]&&M(o[i],n,r||"function"!=typeof e.type);r||null==e.__e||p(e.__e),e.__=e.__e=e.__d=void 0}function P(e,t,n){return this.constructor(e,n)}function U(n,r,o){var i,a,l,u;t.__&&t.__(n,r),a=(i="function"==typeof o)?null:o&&o.__k||r.__k,l=[],u=[],D(r,n=(!i&&o||r).__k=d(y,null,[n]),a||c,c,void 0!==r.ownerSVGElement,!i&&o?[o]:a?null:r.firstChild?e.call(r.childNodes):null,l,!i&&o?o:a?a.__e:r.firstChild,i,u),L(l,n,u)}function H(e,t){U(e,t,H)}function j(t,n,r){var o,i,a,l,c=_({},t.props);for(a in t.type&&t.type.defaultProps&&(l=t.type.defaultProps),n)"key"==a?o=n[a]:"ref"==a?i=n[a]:c[a]=void 0===n[a]&&void 0!==l?l[a]:n[a];return arguments.length>2&&(c.children=arguments.length>3?e.call(arguments,2):r),m(t.type,c,o||t.key,i||t.ref,null)}function F(e,t){var n={__c:t="__cC"+l++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some((function(e){e.__e=!0,E(e)}))},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}e=u.slice,t={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(t){e=t}throw e}},n=0,v.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=_({},this.state),"function"==typeof e&&(e=e(_({},n),this.props)),e&&_(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),E(this))},v.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),E(this))},v.prototype.render=y,r=[],i="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,a=function(e,t){return e.__v.__b-t.__v.__b},k.__r=0,l=0;var z=0;function W(e,n,r,o,i,a){var l,c,u={};for(c in n)"ref"==c?l=n[c]:u[c]=n[c];var s={type:e,props:u,key:r,ref:l,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--z,__source:i,__self:a};if("function"==typeof e&&(l=e.defaultProps))for(c in l)void 0===u[c]&&(u[c]=l[c]);return t.vnode&&t.vnode(s),s}var B,V,G,q,Y=0,$=[],X=[],K=t.__b,Z=t.__r,J=t.diffed,Q=t.__c,ee=t.unmount;function te(e,n){t.__h&&t.__h(V,e,Y||n),Y=0;var r=V.__H||(V.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:X}),r.__[e]}function ne(e){return Y=1,re(ge,e)}function re(e,t,n){var r=te(B++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):ge(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=V,!V.u)){var o=function(e,t,n){if(!r.__c.__H)return!0;var o=r.__c.__H.__.filter((function(e){return e.__c}));if(o.every((function(e){return!e.__N})))return!i||i.call(this,e,t,n);var a=!1;return o.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(a=!0)}})),!(!a&&r.__c.props===e)&&(!i||i.call(this,e,t,n))};V.u=!0;var i=V.shouldComponentUpdate,a=V.componentWillUpdate;V.componentWillUpdate=function(e,t,n){if(this.__e){var r=i;i=void 0,o(e,t,n),i=r}a&&a.call(this,e,t,n)},V.shouldComponentUpdate=o}return r.__N||r.__}function oe(e,n){var r=te(B++,3);!t.__s&&ve(r.__H,n)&&(r.__=e,r.i=n,V.__H.__h.push(r))}function ie(e,n){var r=te(B++,4);!t.__s&&ve(r.__H,n)&&(r.__=e,r.i=n,V.__h.push(r))}function ae(e){return Y=5,ce((function(){return{current:e}}),[])}function le(e,t,n){Y=6,ie((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==n?n:n.concat(e))}function ce(e,t){var n=te(B++,7);return ve(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function ue(e,t){return Y=8,ce((function(){return e}),t)}function se(e){var t=V.context[e.__c],n=te(B++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(V)),t.props.value):e.__}function fe(e,n){t.useDebugValue&&t.useDebugValue(n?n(e):e)}function _e(){var e=te(B++,11);if(!e.__){for(var t=V.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function pe(){for(var e;e=$.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(he),e.__H.__h.forEach(ye),e.__H.__h=[]}catch(n){e.__H.__h=[],t.__e(n,e.__v)}}t.__b=function(e){V=null,K&&K(e)},t.__r=function(e){Z&&Z(e),B=0;var t=(V=e.__c).__H;t&&(G===V?(t.__h=[],V.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=X,e.__N=e.i=void 0}))):(t.__h.forEach(he),t.__h.forEach(ye),t.__h=[],B=0)),G=V},t.diffed=function(e){J&&J(e);var n=e.__c;n&&n.__H&&(n.__H.__h.length&&(1!==$.push(n)&&q===t.requestAnimationFrame||((q=t.requestAnimationFrame)||me)(pe)),n.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==X&&(e.__=e.__V),e.i=void 0,e.__V=X}))),G=V=null},t.__c=function(e,n){n.some((function(e){try{e.__h.forEach(he),e.__h=e.__h.filter((function(e){return!e.__||ye(e)}))}catch(r){n.some((function(e){e.__h&&(e.__h=[])})),n=[],t.__e(r,e.__v)}})),Q&&Q(e,n)},t.unmount=function(e){ee&&ee(e);var n,r=e.__c;r&&r.__H&&(r.__H.__.forEach((function(e){try{he(e)}catch(e){n=e}})),r.__H=void 0,n&&t.__e(n,r.__v))};var de="function"==typeof requestAnimationFrame;function me(e){var t,n=function(){clearTimeout(r),de&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);de&&(t=requestAnimationFrame(n))}function he(e){var t=V,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),V=t}function ye(e){var t=V;e.__c=e.__(),V=t}function ve(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function ge(e,t){return"function"==typeof t?t(e):t}/*! js-cookie v3.0.5 | MIT */function be(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var Ee=function e(t,n){function r(e,r,o){if("undefined"!=typeof document){"number"==typeof(o=be({},n,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var i="";for(var a in o)o[a]&&(i+="; "+a,!0!==o[a]&&(i+="="+o[a].split(";")[0]));return document.cookie=e+"="+t.write(r,e)+i}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},o=0;o<n.length;o++){var i=n[o].split("="),a=i.slice(1).join("=");try{var l=decodeURIComponent(i[0]);if(r[l]=t.read(a,l),e===l)break}catch(e){}}return e?r[e]:r}},remove:function(e,t){r(e,"",be({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,be({},this.attributes,t))},withConverter:function(t){return e(be({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});function ke(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function Se(e){return function t(n){return 0===arguments.length||ke(n)?t:e.apply(this,arguments)}}function Te(e){return function t(n,r){switch(arguments.length){case 0:return t;case 1:return ke(n)?t:Se((function(t){return e(n,t)}));default:return ke(n)&&ke(r)?t:ke(n)?Se((function(t){return e(t,r)})):ke(r)?Se((function(t){return e(n,t)})):e(n,r)}}}function xe(e){return function t(n,r,o){switch(arguments.length){case 0:return t;case 1:return ke(n)?t:Te((function(t,r){return e(n,t,r)}));case 2:return ke(n)&&ke(r)?t:ke(n)?Te((function(t,n){return e(t,r,n)})):ke(r)?Te((function(t,r){return e(n,t,r)})):Se((function(t){return e(n,r,t)}));default:return ke(n)&&ke(r)&&ke(o)?t:ke(n)&&ke(r)?Te((function(t,n){return e(t,n,o)})):ke(n)&&ke(o)?Te((function(t,n){return e(t,r,n)})):ke(r)&&ke(o)?Te((function(t,r){return e(n,t,r)})):ke(n)?Se((function(t){return e(t,r,o)})):ke(r)?Se((function(t){return e(n,t,o)})):ke(o)?Se((function(t){return e(n,r,t)})):e(n,r,o)}}}var Ae=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function Ne(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function we(e,t,n){for(var r=0,o=n.length;r<o;){if(e(t,n[r]))return!0;r+=1}return!1}function Ce(e,t){return Object.prototype.hasOwnProperty.call(t,e)}var Oe="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},Re=Object.prototype.toString,De=function(){return"[object Arguments]"===Re.call(arguments)?function(e){return"[object Arguments]"===Re.call(e)}:function(e){return Ce("callee",e)}}(),Le=!{toString:null}.propertyIsEnumerable("toString"),Ie=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],Me=function(){return arguments.propertyIsEnumerable("length")}(),Pe=function(e,t){for(var n=0;n<e.length;){if(e[n]===t)return!0;n+=1}return!1},Ue="function"!=typeof Object.keys||Me?Se((function(e){if(Object(e)!==e)return[];var t,n,r=[],o=Me&&De(e);for(t in e)!Ce(t,e)||o&&"length"===t||(r[r.length]=t);if(Le)for(n=Ie.length-1;n>=0;)Ce(t=Ie[n],e)&&!Pe(r,t)&&(r[r.length]=t),n-=1;return r})):Se((function(e){return Object(e)!==e?[]:Object.keys(e)})),He=Se((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function je(e,t,n,r){var o=Ne(e);function i(e,t){return Fe(e,t,n.slice(),r.slice())}return!we((function(e,t){return!we(i,t,e)}),Ne(t),o)}function Fe(e,t,n,r){if(Oe(e,t))return!0;var o=He(e);if(o!==He(t))return!1;if("function"==typeof e["fantasy-land/equals"]||"function"==typeof t["fantasy-land/equals"])return"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t)&&"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e);if("function"==typeof e.equals||"function"==typeof t.equals)return"function"==typeof e.equals&&e.equals(t)&&"function"==typeof t.equals&&t.equals(e);switch(o){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===function(e){var t=String(e).match(/^function (\w*)/);return null==t?"":t[1]}(e.constructor))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!Oe(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!Oe(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var i=n.length-1;i>=0;){if(n[i]===e)return r[i]===t;i-=1}switch(o){case"Map":return e.size===t.size&&je(e.entries(),t.entries(),n.concat([e]),r.concat([t]));case"Set":return e.size===t.size&&je(e.values(),t.values(),n.concat([e]),r.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var a=Ue(e);if(a.length!==Ue(t).length)return!1;var l=n.concat([e]),c=r.concat([t]);for(i=a.length-1;i>=0;){var u=a[i];if(!Ce(u,t)||!Fe(t[u],e[u],l,c))return!1;i-=1}return!0}var ze=Te((function(e,t){return Fe(e,t,[],[])}));function We(e){return"[object Object]"===Object.prototype.toString.call(e)}var Be=Se((function(e){return null==e}));var Ve=Se((function(e){return null!=e&&"function"==typeof e["fantasy-land/empty"]?e["fantasy-land/empty"]():null!=e&&null!=e.constructor&&"function"==typeof e.constructor["fantasy-land/empty"]?e.constructor["fantasy-land/empty"]():null!=e&&"function"==typeof e.empty?e.empty():null!=e&&null!=e.constructor&&"function"==typeof e.constructor.empty?e.constructor.empty():Ae(e)?[]:function(e){return"[object String]"===Object.prototype.toString.call(e)}(e)?"":We(e)?{}:De(e)?function(){return arguments}():function(e){var t=Object.prototype.toString.call(e);return"[object Uint8ClampedArray]"===t||"[object Int8Array]"===t||"[object Uint8Array]"===t||"[object Int16Array]"===t||"[object Uint16Array]"===t||"[object Int32Array]"===t||"[object Uint32Array]"===t||"[object Float32Array]"===t||"[object Float64Array]"===t||"[object BigInt64Array]"===t||"[object BigUint64Array]"===t}(e)?e.constructor.from(""):void 0})),Ge=Se((function(e){return null!=e&&ze(e,Ve(e))})),qe=Ge,Ye=Se((function(e){return!Be(e)})),$e=Ye,Xe=xe((function(e,t,n){var r,o={};for(r in n=n||{},t=t||{})Ce(r,t)&&(o[r]=Ce(r,n)?e(r,t[r],n[r]):t[r]);for(r in n)Ce(r,n)&&!Ce(r,o)&&(o[r]=n[r]);return o})),Ke=xe((function e(t,n,r){return Xe((function(n,r,o){return We(r)&&We(o)?e(t,r,o):t(n,r,o)}),n,r)})),Ze=Te((function(e,t){return Ke((function(e,t,n){return n}),e,t)}));const Je=e=>{let t;const n=new Set,r=(e,r)=>{const o="function"==typeof e?e(t):e;if(!Object.is(o,t)){const e=t;t=(null!=r?r:"object"!=typeof o)?o:Object.assign({},t,o),n.forEach((n=>n(t,e)))}},o=()=>t,i={setState:r,getState:o,subscribe:e=>(n.add(e),()=>n.delete(e)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}};return t=e(r,o,i),i};function Qe(e,t){for(var n in t)e[n]=t[n];return e}function et(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function tt(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}function nt(e){this.props=e}function rt(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:et(this.props,e)}function r(t){return this.shouldComponentUpdate=n,d(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(nt.prototype=new v).isPureReactComponent=!0,nt.prototype.shouldComponentUpdate=function(e,t){return et(this.props,e)||et(this.state,t)};var ot=t.__b;t.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),ot&&ot(e)};var it="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function at(e){function t(t){var n=Qe({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=it,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var lt=function(e,t){return null==e?null:x(x(e).map(t))},ct={map:lt,forEach:lt,count:function(e){return e?x(e).length:0},only:function(e){var t=x(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:x},ut=t.__e;t.__e=function(e,t,n,r){if(e.then)for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t);ut(e,t,n,r)};var st=t.unmount;function ft(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=Qe({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return ft(e,t,n)}))),e}function _t(e,t,n){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return _t(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=n)),e}function pt(){this.__u=0,this.t=null,this.__b=null}function dt(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function mt(e){var t,n,r;function o(o){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!n)throw t;return d(n,o)}return o.displayName="Lazy",o.__f=!0,o}function ht(){this.u=null,this.o=null}t.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),st&&st(e)},(pt.prototype=new v).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=dt(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(l):l())};n.__R=a;var l=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=_t(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}},c=!0===t.__h;r.__u++||c||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},pt.prototype.componentWillUnmount=function(){this.t=[]},pt.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=ft(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&d(y,null,e.fallback);return o&&(o.__h=null),[d(y,null,t.__a?null:e.children),o]};var yt=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function vt(e){return this.getChildContext=function(){return e.context},e.children}function gt(e){var t=this,n=e.i;t.componentWillUnmount=function(){U(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),U(d(vt,{context:t.context},e.__v),t.l)}function bt(e,t){var n=d(gt,{__v:e,i:t});return n.containerInfo=t,n}(ht.prototype=new v).__a=function(e){var t=this,n=dt(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),yt(t,e,r)):o()};n?n(i):i()}},ht.prototype.render=function(e){this.u=null,this.o=new Map;var t=x(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},ht.prototype.componentDidUpdate=ht.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){yt(e,n,t)}))};var Et="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,kt=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,St=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Tt=/[A-Z0-9]/g,xt="undefined"!=typeof document,At=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};function Nt(e,t,n){return null==t.__k&&(t.textContent=""),U(e,t),"function"==typeof n&&n(),e?e.__c:null}function wt(e,t,n){return H(e,t),"function"==typeof n&&n(),e?e.__c:null}v.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(v.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var Ct=t.event;function Ot(){}function Rt(){return this.cancelBubble}function Dt(){return this.defaultPrevented}t.event=function(e){return Ct&&(e=Ct(e)),e.persist=Ot,e.isPropagationStopped=Rt,e.isDefaultPrevented=Dt,e.nativeEvent=e};var Lt,It={enumerable:!1,configurable:!0,get:function(){return this.class}},Mt=t.vnode;t.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={};for(var o in t){var i=t[o];if(!("value"===o&&"defaultValue"in t&&null==i||xt&&"children"===o&&"noscript"===n||"class"===o||"className"===o)){var a=o.toLowerCase();"defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===i?i="":"ondoubleclick"===a?o="ondblclick":"onchange"!==a||"input"!==n&&"textarea"!==n||At(t.type)?"onfocus"===a?o="onfocusin":"onblur"===a?o="onfocusout":St.test(o)?o=a:-1===n.indexOf("-")&&kt.test(o)?o=o.replace(Tt,"-$&").toLowerCase():null===i&&(i=void 0):a=o="oninput","oninput"===a&&r[o=a]&&(o="oninputCapture"),r[o]=i}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=x(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=x(t.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",It)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=Et,Mt&&Mt(e)};var Pt=t.__r;t.__r=function(e){Pt&&Pt(e),Lt=e.__c};var Ut=t.diffed;t.diffed=function(e){Ut&&Ut(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value),Lt=null};var Ht={ReactCurrentDispatcher:{current:{readContext:function(e){return Lt.__n[e.__c].props.value}}}};function jt(e){return d.bind(null,e)}function Ft(e){return!!e&&e.$$typeof===Et}function zt(e){return Ft(e)&&e.type===y}function Wt(e){return Ft(e)?j.apply(null,arguments):e}function Bt(e){return!!e.__k&&(U(null,e),!0)}function Vt(e){return e&&(e.base||1===e.nodeType&&e)||null}var Gt=function(e,t){return e(t)},qt=function(e,t){return e(t)},Yt=y;function $t(e){e()}function Xt(e){return e}function Kt(){return[!1,$t]}var Zt=ie,Jt=Ft;function Qt(e,t){var n=t(),r=ne({h:{__:n,v:t}}),o=r[0].h,i=r[1];return ie((function(){o.__=n,o.v=t,tt(o.__,t())||i({h:o})}),[e,n,t]),oe((function(){return tt(o.__,o.v())||i({h:o}),e((function(){tt(o.__,o.v())||i({h:o})}))}),[e]),n}var en={useState:ne,useId:_e,useReducer:re,useEffect:oe,useLayoutEffect:ie,useInsertionEffect:Zt,useTransition:Kt,useDeferredValue:Xt,useSyncExternalStore:Qt,startTransition:$t,useRef:ae,useImperativeHandle:le,useMemo:ce,useCallback:ue,useContext:se,useDebugValue:fe,version:"17.0.2",Children:ct,render:Nt,hydrate:wt,unmountComponentAtNode:Bt,createPortal:bt,createElement:d,createContext:F,createFactory:jt,cloneElement:Wt,createRef:h,Fragment:y,isValidElement:Ft,isElement:Jt,isFragment:zt,findDOMNode:Vt,Component:v,PureComponent:nt,memo:rt,forwardRef:at,flushSync:qt,unstable_batchedUpdates:Gt,StrictMode:Yt,Suspense:pt,SuspenseList:ht,lazy:mt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ht},tn=Object.freeze({__proto__:null,Children:ct,Component:v,Fragment:y,PureComponent:nt,StrictMode:Yt,Suspense:pt,SuspenseList:ht,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ht,cloneElement:Wt,createContext:F,createElement:d,createFactory:jt,createPortal:bt,createRef:h,default:en,findDOMNode:Vt,flushSync:qt,forwardRef:at,hydrate:wt,isElement:Jt,isFragment:zt,isValidElement:Ft,lazy:mt,memo:rt,render:Nt,startTransition:$t,unmountComponentAtNode:Bt,unstable_batchedUpdates:Gt,useCallback:ue,useContext:se,useDebugValue:fe,useDeferredValue:Xt,useEffect:oe,useErrorBoundary:function(e){var t=te(B++,10),n=ne();return t.__=e,V.componentDidCatch||(V.componentDidCatch=function(e,r){t.__&&t.__(e,r),n[1](e)}),[n[0],function(){n[1](void 0)}]},useId:_e,useImperativeHandle:le,useInsertionEffect:Zt,useLayoutEffect:ie,useMemo:ce,useReducer:re,useRef:ae,useState:ne,useSyncExternalStore:Qt,useTransition:Kt,version:"17.0.2"});function nn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function rn(e){return e&&Object.prototype.hasOwnProperty.call(e,"default")&&1===Object.keys(e).length?e.default:e}var on={exports:{}},an={},ln=rn(tn),cn={exports:{}},un={},sn=ln;var fn="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},_n=sn.useState,pn=sn.useEffect,dn=sn.useLayoutEffect,mn=sn.useDebugValue;function hn(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!fn(e,n)}catch(e){return!0}}var yn="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=_n({inst:{value:n,getSnapshot:t}}),o=r[0].inst,i=r[1];return dn((function(){o.value=n,o.getSnapshot=t,hn(o)&&i({inst:o})}),[e,n,t]),pn((function(){return hn(o)&&i({inst:o}),e((function(){hn(o)&&i({inst:o})}))}),[e]),mn(n),n};un.useSyncExternalStore=void 0!==sn.useSyncExternalStore?sn.useSyncExternalStore:yn,cn.exports=un;var vn=ln,gn=cn.exports;
|
|
1
|
+
!function(){"use strict";var e,t,n,r,o,i,a,u,l,c,s,f,_={},p=[],d=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,m=Array.isArray;function h(e,t){for(var n in t)e[n]=t[n];return e}function y(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function v(t,n,r){var o,i,a,u={};for(a in n)"key"==a?o=n[a]:"ref"==a?i=n[a]:u[a]=n[a];if(arguments.length>2&&(u.children=arguments.length>3?e.call(arguments,2):r),"function"==typeof t&&null!=t.defaultProps)for(a in t.defaultProps)void 0===u[a]&&(u[a]=t.defaultProps[a]);return g(t,u,o,i,null)}function g(e,r,o,i,a){var u={type:e,props:r,key:o,ref:i,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==a?++n:a,__i:-1,__u:0};return null==a&&null!=t.vnode&&t.vnode(u),u}function b(){return{current:null}}function S(e){return e.children}function E(e,t){this.props=e,this.context=t}function T(e,t){if(null==t)return e.__?T(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?T(e):null}function A(e){if(e.__P&&e.__d){var n=e.__v,r=n.__e,o=[],i=[],a=h({},n);a.__v=n.__v+1,t.vnode&&t.vnode(a),M(e.__P,a,n,e.__n,e.__P.namespaceURI,32&n.__u?[r]:null,o,null==r?T(n):r,!!(32&n.__u),i),a.__v=n.__v,a.__.__k[a.__i]=a,P(o,a,i),n.__e=n.__=null,a.__e!=r&&k(a)}}function k(e){if(null!=(e=e.__)&&null!=e.__c)return e.__e=e.__c.base=null,e.__k.some((function(t){if(null!=t&&null!=t.__e)return e.__e=e.__c.base=t.__e})),k(e)}function w(e){(!e.__d&&(e.__d=!0)&&r.push(e)&&!x.__r++||o!=t.debounceRendering)&&((o=t.debounceRendering)||i)(x)}function x(){for(var e,t=1;r.length;)r.length>t&&r.sort(a),e=r.shift(),t=r.length,A(e);x.__r=0}function N(e,t,n,r,o,i,a,u,l,c,s){var f,d,h,y,v,b,E,A=r&&r.__k||p,k=t.length;for(l=function(e,t,n,r,o){var i,a,u,l,c,s=n.length,f=s,_=0;for(e.__k=new Array(o),i=0;i<o;i++)null!=(a=t[i])&&"boolean"!=typeof a&&"function"!=typeof a?("string"==typeof a||"number"==typeof a||"bigint"==typeof a||a.constructor==String?a=e.__k[i]=g(null,a,null,null,null):m(a)?a=e.__k[i]=g(S,{children:a},null,null,null):void 0===a.constructor&&a.__b>0?a=e.__k[i]=g(a.type,a.props,a.key,a.ref?a.ref:null,a.__v):e.__k[i]=a,l=i+_,a.__=e,a.__b=e.__b+1,u=null,-1!=(c=a.__i=D(a,n,l,f))&&(f--,(u=n[c])&&(u.__u|=2)),null==u||null==u.__v?(-1==c&&(o>s?_--:o<s&&_++),"function"!=typeof a.type&&(a.__u|=4)):c!=l&&(c==l-1?_--:c==l+1?_++:(c>l?_--:_++,a.__u|=4))):e.__k[i]=null;if(f)for(i=0;i<s;i++)null!=(u=n[i])&&0==(2&u.__u)&&(u.__e==r&&(r=T(u)),H(u,u));return r}(n,t,A,l,k),f=0;f<k;f++)null!=(h=n.__k[f])&&(d=-1!=h.__i&&A[h.__i]||_,h.__i=f,b=M(e,h,d,o,i,a,u,l,c,s),y=h.__e,h.ref&&d.ref!=h.ref&&(d.ref&&z(d.ref,null,h),s.push(h.ref,h.__c||y,h)),null==v&&null!=y&&(v=y),(E=!!(4&h.__u))||d.__k===h.__k?l=C(h,l,e,E):"function"==typeof h.type&&void 0!==b?l=b:y&&(l=y.nextSibling),h.__u&=-7);return n.__e=v,l}function C(e,t,n,r){var o,i;if("function"==typeof e.type){for(o=e.__k,i=0;o&&i<o.length;i++)o[i]&&(o[i].__=e,t=C(o[i],t,n,r));return t}e.__e!=t&&(r&&(t&&e.type&&!t.parentNode&&(t=T(e)),n.insertBefore(e.__e,t||null)),t=e.__e);do{t=t&&t.nextSibling}while(null!=t&&8==t.nodeType);return t}function O(e,t){return t=t||[],null==e||"boolean"==typeof e||(m(e)?e.some((function(e){O(e,t)})):t.push(e)),t}function D(e,t,n,r){var o,i,a,u=e.key,l=e.type,c=t[n],s=null!=c&&0==(2&c.__u);if(null===c&&null==u||s&&u==c.key&&l==c.type)return n;if(r>(s?1:0))for(o=n-1,i=n+1;o>=0||i<t.length;)if(null!=(c=t[a=o>=0?o--:i++])&&0==(2&c.__u)&&u==c.key&&l==c.type)return a;return-1}function R(e,t,n){"-"==t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||d.test(t)?n:n+"px"}function L(e,t,n,r,o){var i,a;e:if("style"==t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||R(e.style,t,"");if(n)for(t in n)r&&n[t]==r[t]||R(e.style,t,n[t])}else if("o"==t[0]&&"n"==t[1])i=t!=(t=t.replace(u,"$1")),a=t.toLowerCase(),t=a in e||"onFocusOut"==t||"onFocusIn"==t?a.slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r?n.u=r.u:(n.u=l,e.addEventListener(t,i?s:c,i)):e.removeEventListener(t,i?s:c,i);else{if("http://www.w3.org/2000/svg"==o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=t&&"height"!=t&&"href"!=t&&"list"!=t&&"form"!=t&&"tabIndex"!=t&&"download"!=t&&"rowSpan"!=t&&"colSpan"!=t&&"role"!=t&&"popover"!=t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!=t[4]?e.removeAttribute(t):e.setAttribute(t,"popover"==t&&1==n?"":n))}}function I(e){return function(n){if(this.l){var r=this.l[n.type+e];if(null==n.t)n.t=l++;else if(n.t<r.u)return;return r(t.event?t.event(n):n)}}}function M(e,n,r,o,i,a,u,l,c,s){var f,_,d,v,g,b,T,A,k,w,x,C,O,D,R,L=n.type;if(void 0!==n.constructor)return null;128&r.__u&&(c=!!(32&r.__u),a=[l=n.__e=r.__e]),(f=t.__b)&&f(n);e:if("function"==typeof L)try{if(A=n.props,k="prototype"in L&&L.prototype.render,w=(f=L.contextType)&&o[f.__c],x=f?w?w.props.value:f.__:o,r.__c?T=(_=n.__c=r.__c).__=_.__E:(k?n.__c=_=new L(A,x):(n.__c=_=new E(A,x),_.constructor=L,_.render=W),w&&w.sub(_),_.state||(_.state={}),_.__n=o,d=_.__d=!0,_.__h=[],_._sb=[]),k&&null==_.__s&&(_.__s=_.state),k&&null!=L.getDerivedStateFromProps&&(_.__s==_.state&&(_.__s=h({},_.__s)),h(_.__s,L.getDerivedStateFromProps(A,_.__s))),v=_.props,g=_.state,_.__v=n,d)k&&null==L.getDerivedStateFromProps&&null!=_.componentWillMount&&_.componentWillMount(),k&&null!=_.componentDidMount&&_.__h.push(_.componentDidMount);else{if(k&&null==L.getDerivedStateFromProps&&A!==v&&null!=_.componentWillReceiveProps&&_.componentWillReceiveProps(A,x),n.__v==r.__v||!_.__e&&null!=_.shouldComponentUpdate&&!1===_.shouldComponentUpdate(A,_.__s,x)){n.__v!=r.__v&&(_.props=A,_.state=_.__s,_.__d=!1),n.__e=r.__e,n.__k=r.__k,n.__k.some((function(e){e&&(e.__=n)})),p.push.apply(_.__h,_._sb),_._sb=[],_.__h.length&&u.push(_);break e}null!=_.componentWillUpdate&&_.componentWillUpdate(A,_.__s,x),k&&null!=_.componentDidUpdate&&_.__h.push((function(){_.componentDidUpdate(v,g,b)}))}if(_.context=x,_.props=A,_.__P=e,_.__e=!1,C=t.__r,O=0,k)_.state=_.__s,_.__d=!1,C&&C(n),f=_.render(_.props,_.state,_.context),p.push.apply(_.__h,_._sb),_._sb=[];else do{_.__d=!1,C&&C(n),f=_.render(_.props,_.state,_.context),_.state=_.__s}while(_.__d&&++O<25);_.state=_.__s,null!=_.getChildContext&&(o=h(h({},o),_.getChildContext())),k&&!d&&null!=_.getSnapshotBeforeUpdate&&(b=_.getSnapshotBeforeUpdate(v,g)),D=null!=f&&f.type===S&&null==f.key?j(f.props.children):f,l=N(e,m(D)?D:[D],n,r,o,i,a,u,l,c,s),_.base=n.__e,n.__u&=-161,_.__h.length&&u.push(_),T&&(_.__E=_.__=null)}catch(e){if(n.__v=null,c||null!=a)if(e.then){for(n.__u|=c?160:128;l&&8==l.nodeType&&l.nextSibling;)l=l.nextSibling;a[a.indexOf(l)]=null,n.__e=l}else{for(R=a.length;R--;)y(a[R]);U(n)}else n.__e=r.__e,n.__k=r.__k,e.then||U(n);t.__e(e,n,r)}else null==a&&n.__v==r.__v?(n.__k=r.__k,n.__e=r.__e):l=n.__e=F(r.__e,n,r,o,i,a,u,c,s);return(f=t.diffed)&&f(n),128&n.__u?void 0:l}function U(e){e&&(e.__c&&(e.__c.__e=!0),e.__k&&e.__k.some(U))}function P(e,n,r){for(var o=0;o<r.length;o++)z(r[o],r[++o],r[++o]);t.__c&&t.__c(n,e),e.some((function(n){try{e=n.__h,n.__h=[],e.some((function(e){e.call(n)}))}catch(e){t.__e(e,n.__v)}}))}function j(e){return"object"!=typeof e||null==e||e.__b>0?e:m(e)?e.map(j):h({},e)}function F(n,r,o,i,a,u,l,c,s){var f,p,d,h,v,g,b,S=o.props||_,E=r.props,A=r.type;if("svg"==A?a="http://www.w3.org/2000/svg":"math"==A?a="http://www.w3.org/1998/Math/MathML":a||(a="http://www.w3.org/1999/xhtml"),null!=u)for(f=0;f<u.length;f++)if((v=u[f])&&"setAttribute"in v==!!A&&(A?v.localName==A:3==v.nodeType)){n=v,u[f]=null;break}if(null==n){if(null==A)return document.createTextNode(E);n=document.createElementNS(a,A,E.is&&E),c&&(t.__m&&t.__m(r,u),c=!1),u=null}if(null==A)S===E||c&&n.data==E||(n.data=E);else{if(u=u&&e.call(n.childNodes),!c&&null!=u)for(S={},f=0;f<n.attributes.length;f++)S[(v=n.attributes[f]).name]=v.value;for(f in S)v=S[f],"dangerouslySetInnerHTML"==f?d=v:"children"==f||f in E||"value"==f&&"defaultValue"in E||"checked"==f&&"defaultChecked"in E||L(n,f,null,v,a);for(f in E)v=E[f],"children"==f?h=v:"dangerouslySetInnerHTML"==f?p=v:"value"==f?g=v:"checked"==f?b=v:c&&"function"!=typeof v||S[f]===v||L(n,f,v,S[f],a);if(p)c||d&&(p.__html==d.__html||p.__html==n.innerHTML)||(n.innerHTML=p.__html),r.__k=[];else if(d&&(n.innerHTML=""),N("template"==r.type?n.content:n,m(h)?h:[h],r,o,i,"foreignObject"==A?"http://www.w3.org/1999/xhtml":a,u,l,u?u[0]:o.__k&&T(o,0),c,s),null!=u)for(f=u.length;f--;)y(u[f]);c||(f="value","progress"==A&&null==g?n.removeAttribute("value"):null!=g&&(g!==n[f]||"progress"==A&&!g||"option"==A&&g!=S[f])&&L(n,f,g,S[f],a),f="checked",null!=b&&b!=n[f]&&L(n,f,b,S[f],a))}return n}function z(e,n,r){try{if("function"==typeof e){var o="function"==typeof e.__u;o&&e.__u(),o&&null==n||(e.__u=e(n))}else e.current=n}catch(e){t.__e(e,r)}}function H(e,n,r){var o,i;if(t.unmount&&t.unmount(e),(o=e.ref)&&(o.current&&o.current!=e.__e||z(o,null,n)),null!=(o=e.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){t.__e(e,n)}o.base=o.__P=null}if(o=e.__k)for(i=0;i<o.length;i++)o[i]&&H(o[i],n,r||"function"!=typeof e.type);r||y(e.__e),e.__c=e.__=e.__e=void 0}function W(e,t,n){return this.constructor(e,n)}function B(n,r,o){var i,a,u,l;r==document&&(r=document.documentElement),t.__&&t.__(n,r),a=(i="function"==typeof o)?null:o&&o.__k||r.__k,u=[],l=[],M(r,n=(!i&&o||r).__k=v(S,null,[n]),a||_,_,r.namespaceURI,!i&&o?[o]:a?null:r.firstChild?e.call(r.childNodes):null,u,!i&&o?o:a?a.__e:r.firstChild,i,l),P(u,n,l)}function G(e,t){B(e,t,G)}function q(t,n,r){var o,i,a,u,l=h({},t.props);for(a in t.type&&t.type.defaultProps&&(u=t.type.defaultProps),n)"key"==a?o=n[a]:"ref"==a?i=n[a]:l[a]=void 0===n[a]&&null!=u?u[a]:n[a];return arguments.length>2&&(l.children=arguments.length>3?e.call(arguments,2):r),g(t.type,l,o||t.key,i||t.ref,null)}function V(e){function t(e){var n,r;return this.getChildContext||(n=new Set,(r={})[t.__c]=this,this.getChildContext=function(){return r},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(e){this.props.value!=e.value&&n.forEach((function(e){e.__e=!0,w(e)}))},this.sub=function(e){n.add(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n&&n.delete(e),t&&t.call(e)}}),e.children}return t.__c="__cC"+f++,t.__=e,t.Provider=t.__l=(t.Consumer=function(e,t){return e.children(t)}).contextType=t,t}e=p.slice,t={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(t){e=t}throw e}},n=0,E.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=h({},this.state),"function"==typeof e&&(e=e(h({},n),this.props)),e&&h(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),w(this))},E.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),w(this))},E.prototype.render=S,r=[],i="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,a=function(e,t){return e.__v.__b-t.__v.__b},x.__r=0,u=/(PointerCapture)$|Capture$/i,l=0,c=I(!1),s=I(!0),f=0;var Y=0;function $(e,n,r,o,i,a){n||(n={});var u,l,c=n;if("ref"in c)for(l in c={},n)"ref"==l?u=n[l]:c[l]=n[l];var s={type:e,props:c,key:r,ref:u,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--Y,__i:-1,__u:0,__source:i,__self:a};if("function"==typeof e&&(u=e.defaultProps))for(l in u)void 0===c[l]&&(c[l]=u[l]);return t.vnode&&t.vnode(s),s}var X,K,Z,J,Q=0,ee=[],te=t,ne=te.__b,re=te.__r,oe=te.diffed,ie=te.__c,ae=te.unmount,ue=te.__;function le(e,t){te.__h&&te.__h(K,e,Q||t),Q=0;var n=K.__H||(K.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function ce(e){return Q=1,se(we,e)}function se(e,t,n){var r=le(X++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):we(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=K,!K.__f)){var o=function(e,t,n){if(!r.__c.__H)return!0;var o=r.__c.__H.__.filter((function(e){return e.__c}));if(o.every((function(e){return!e.__N})))return!i||i.call(this,e,t,n);var a=r.__c.props!==e;return o.some((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(a=!0)}})),i&&i.call(this,e,t,n)||a};K.__f=!0;var i=K.shouldComponentUpdate,a=K.componentWillUpdate;K.componentWillUpdate=function(e,t,n){if(this.__e){var r=i;i=void 0,o(e,t,n),i=r}a&&a.call(this,e,t,n)},K.shouldComponentUpdate=o}return r.__N||r.__}function fe(e,t){var n=le(X++,3);!te.__s&&ke(n.__H,t)&&(n.__=e,n.u=t,K.__H.__h.push(n))}function _e(e,t){var n=le(X++,4);!te.__s&&ke(n.__H,t)&&(n.__=e,n.u=t,K.__h.push(n))}function pe(e){return Q=5,me((function(){return{current:e}}),[])}function de(e,t,n){Q=6,_e((function(){if("function"==typeof e){var n=e(t());return function(){e(null),n&&"function"==typeof n&&n()}}if(e)return e.current=t(),function(){return e.current=null}}),null==n?n:n.concat(e))}function me(e,t){var n=le(X++,7);return ke(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function he(e,t){return Q=8,me((function(){return e}),t)}function ye(e){var t=K.context[e.__c],n=le(X++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(K)),t.props.value):e.__}function ve(e,t){te.useDebugValue&&te.useDebugValue(t?t(e):e)}function ge(){var e=le(X++,11);if(!e.__){for(var t=K.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function be(){for(var e;e=ee.shift();){var t=e.__H;if(e.__P&&t)try{t.__h.some(Te),t.__h.some(Ae),t.__h=[]}catch(n){t.__h=[],te.__e(n,e.__v)}}}te.__b=function(e){K=null,ne&&ne(e)},te.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),ue&&ue(e,t)},te.__r=function(e){re&&re(e),X=0;var t=(K=e.__c).__H;t&&(Z===K?(t.__h=[],K.__h=[],t.__.some((function(e){e.__N&&(e.__=e.__N),e.u=e.__N=void 0}))):(t.__h.some(Te),t.__h.some(Ae),t.__h=[],X=0)),Z=K},te.diffed=function(e){oe&&oe(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==ee.push(t)&&J===te.requestAnimationFrame||((J=te.requestAnimationFrame)||Ee)(be)),t.__H.__.some((function(e){e.u&&(e.__H=e.u),e.u=void 0}))),Z=K=null},te.__c=function(e,t){t.some((function(e){try{e.__h.some(Te),e.__h=e.__h.filter((function(e){return!e.__||Ae(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],te.__e(n,e.__v)}})),ie&&ie(e,t)},te.unmount=function(e){ae&&ae(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.some((function(e){try{Te(e)}catch(e){t=e}})),n.__H=void 0,t&&te.__e(t,n.__v))};var Se="function"==typeof requestAnimationFrame;function Ee(e){var t,n=function(){clearTimeout(r),Se&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,35);Se&&(t=requestAnimationFrame(n))}function Te(e){var t=K,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),K=t}function Ae(e){var t=K;e.__c=e.__(),K=t}function ke(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function we(e,t){return"function"==typeof t?t(e):t}/*! js-cookie v3.0.5 | MIT */function xe(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var Ne=function e(t,n){function r(e,r,o){if("undefined"!=typeof document){"number"==typeof(o=xe({},n,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var i="";for(var a in o)o[a]&&(i+="; "+a,!0!==o[a]&&(i+="="+o[a].split(";")[0]));return document.cookie=e+"="+t.write(r,e)+i}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},o=0;o<n.length;o++){var i=n[o].split("="),a=i.slice(1).join("=");try{var u=decodeURIComponent(i[0]);if(r[u]=t.read(a,u),e===u)break}catch(e){}}return e?r[e]:r}},remove:function(e,t){r(e,"",xe({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,xe({},this.attributes,t))},withConverter:function(t){return e(xe({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});function Ce(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function Oe(e){return function t(n){return 0===arguments.length||Ce(n)?t:e.apply(this,arguments)}}function De(e){return function t(n,r){switch(arguments.length){case 0:return t;case 1:return Ce(n)?t:Oe((function(t){return e(n,t)}));default:return Ce(n)&&Ce(r)?t:Ce(n)?Oe((function(t){return e(t,r)})):Ce(r)?Oe((function(t){return e(n,t)})):e(n,r)}}}function Re(e){return function t(n,r,o){switch(arguments.length){case 0:return t;case 1:return Ce(n)?t:De((function(t,r){return e(n,t,r)}));case 2:return Ce(n)&&Ce(r)?t:Ce(n)?De((function(t,n){return e(t,r,n)})):Ce(r)?De((function(t,r){return e(n,t,r)})):Oe((function(t){return e(n,r,t)}));default:return Ce(n)&&Ce(r)&&Ce(o)?t:Ce(n)&&Ce(r)?De((function(t,n){return e(t,n,o)})):Ce(n)&&Ce(o)?De((function(t,n){return e(t,r,n)})):Ce(r)&&Ce(o)?De((function(t,r){return e(n,t,r)})):Ce(n)?Oe((function(t){return e(t,r,o)})):Ce(r)?Oe((function(t){return e(n,t,o)})):Ce(o)?Oe((function(t){return e(n,r,t)})):e(n,r,o)}}}var Le=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function Ie(e,t,n){return function(){if(0===arguments.length)return n();var r=arguments[arguments.length-1];if(!Le(r)){for(var o=0;o<e.length;){if("function"==typeof r[e[o]])return r[e[o]].apply(r,Array.prototype.slice.call(arguments,0,-1));o+=1}if(function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}(r))return t.apply(null,Array.prototype.slice.call(arguments,0,-1))(r)}return n.apply(this,arguments)}}var Me=function(){return this.xf["@@transducer/init"]()},Ue=function(e){return this.xf["@@transducer/result"](e)};function Pe(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function je(e,t,n){for(var r=0,o=n.length;r<o;){if(e(t,n[r]))return!0;r+=1}return!1}function Fe(e,t){return Object.prototype.hasOwnProperty.call(t,e)}var ze="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},He=Object.prototype.toString,We=function(){return"[object Arguments]"===He.call(arguments)?function(e){return"[object Arguments]"===He.call(e)}:function(e){return Fe("callee",e)}}(),Be=!{toString:null}.propertyIsEnumerable("toString"),Ge=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],qe=function(){return arguments.propertyIsEnumerable("length")}(),Ve=function(e,t){for(var n=0;n<e.length;){if(e[n]===t)return!0;n+=1}return!1},Ye="function"!=typeof Object.keys||qe?Oe((function(e){if(Object(e)!==e)return[];var t,n,r=[],o=qe&&We(e);for(t in e)!Fe(t,e)||o&&"length"===t||(r[r.length]=t);if(Be)for(n=Ge.length-1;n>=0;)Fe(t=Ge[n],e)&&!Ve(r,t)&&(r[r.length]=t),n-=1;return r})):Oe((function(e){return Object(e)!==e?[]:Object.keys(e)})),$e=Oe((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function Xe(e,t,n,r){var o=Pe(e);function i(e,t){return Ke(e,t,n.slice(),r.slice())}return!je((function(e,t){return!je(i,t,e)}),Pe(t),o)}function Ke(e,t,n,r){if(ze(e,t))return!0;var o=$e(e);if(o!==$e(t))return!1;if("function"==typeof e["fantasy-land/equals"]||"function"==typeof t["fantasy-land/equals"])return"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t)&&"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e);if("function"==typeof e.equals||"function"==typeof t.equals)return"function"==typeof e.equals&&e.equals(t)&&"function"==typeof t.equals&&t.equals(e);switch(o){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===function(e){var t=String(e).match(/^function (\w*)/);return null==t?"":t[1]}(e.constructor))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!ze(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!ze(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var i=n.length-1;i>=0;){if(n[i]===e)return r[i]===t;i-=1}switch(o){case"Map":return e.size===t.size&&Xe(e.entries(),t.entries(),n.concat([e]),r.concat([t]));case"Set":return e.size===t.size&&Xe(e.values(),t.values(),n.concat([e]),r.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var a=Ye(e);if(a.length!==Ye(t).length)return!1;var u=n.concat([e]),l=r.concat([t]);for(i=a.length-1;i>=0;){var c=a[i];if(!Fe(c,t)||!Ke(t[c],e[c],u,l))return!1;i-=1}return!0}var Ze=De((function(e,t){return Ke(e,t,[],[])}));function Je(e,t){return function(e,t,n){var r,o;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(r=1/t;n<e.length;){if(0===(o=e[n])&&1/o===r)return n;n+=1}return-1}if(t!=t){for(;n<e.length;){if("number"==typeof(o=e[n])&&o!=o)return n;n+=1}return-1}return e.indexOf(t,n);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,n);case"object":if(null===t)return e.indexOf(t,n)}for(;n<e.length;){if(Ze(e[n],t))return n;n+=1}return-1}(t,e,0)>=0}function Qe(e,t){for(var n=0,r=t.length,o=Array(r);n<r;)o[n]=e(t[n]),n+=1;return o}function et(e){return'"'+e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var tt=function(e){return(e<10?"0":"")+e},nt="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+tt(e.getUTCMonth()+1)+"-"+tt(e.getUTCDate())+"T"+tt(e.getUTCHours())+":"+tt(e.getUTCMinutes())+":"+tt(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function rt(e){return"[object Object]"===Object.prototype.toString.call(e)}var ot=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=Me,e.prototype["@@transducer/result"]=Ue,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}();function it(e){return function(t){return new ot(e,t)}}var at=De(Ie(["fantasy-land/filter","filter"],it,(function(e,t){return rt(t)?function(e,t,n){for(var r=0,o=n.length;r<o;)t=e(t,n[r]),r+=1;return t}((function(n,r){return e(t[r])&&(n[r]=t[r]),n}),{},Ye(t)):function(e,t){for(var n=0,r=t.length,o=[];n<r;)e(t[n])&&(o[o.length]=t[n]),n+=1;return o}(e,t)}))),ut=De((function(e,t){return at(function(e){return function(){return!e.apply(this,arguments)}}(e),t)}));function lt(e,t){var n=function(n){var r=t.concat([e]);return Je(n,r)?"<Circular>":lt(n,r)},r=function(e,t){return Qe((function(t){return et(t)+": "+n(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+Qe(n,e).join(", ")+"))";case"[object Array]":return"["+Qe(n,e).concat(r(e,ut((function(e){return/^\d+$/.test(e)}),Ye(e)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof e?"new Boolean("+n(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?n(NaN):et(nt(e)))+")";case"[object Map]":return"new Map("+n(Array.from(e))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof e?"new Number("+n(e.valueOf())+")":1/e==-1/0?"-0":e.toString(10);case"[object Set]":return"new Set("+n(Array.from(e).sort())+")";case"[object String]":return"object"==typeof e?"new String("+n(e.valueOf())+")":et(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var o=e.toString();if("[object Object]"!==o)return o}return"{"+r(e,Ye(e)).join(", ")+"}"}}var ct=Oe((function(e){return lt(e,[])}));function st(e){return"[object String]"===Object.prototype.toString.call(e)}var ft=Oe((function(e){return null==e}));function _t(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}var pt=De((function(e,t){if(Le(e)){if(Le(t))return e.concat(t);throw new TypeError(ct(t)+" is not an array")}if(st(e)){if(st(t))return e+t;throw new TypeError(ct(t)+" is not a string")}if(null!=e&&_t(e["fantasy-land/concat"]))return e["fantasy-land/concat"](t);if(null!=e&&_t(e.concat))return e.concat(t);throw new TypeError(ct(e)+' does not have a method named "concat" or "fantasy-land/concat"')})),dt=function(){function e(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}return e.prototype.add=function(e){return!mt(e,!0,this)},e.prototype.has=function(e){return mt(e,!1,this)},e}();function mt(e,t,n){var r,o=typeof e;switch(o){case"string":case"number":return 0===e&&1/e==-1/0?!!n._items["-0"]||(t&&(n._items["-0"]=!0),!1):null!==n._nativeSet?t?(r=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===r):n._nativeSet.has(e):o in n._items?e in n._items[o]||(t&&(n._items[o][e]=!0),!1):(t&&(n._items[o]={},n._items[o][e]=!0),!1);case"boolean":if(o in n._items){var i=e?1:0;return!!n._items[o][i]||(t&&(n._items[o][i]=!0),!1)}return t&&(n._items[o]=e?[!1,!0]:[!0,!1]),!1;case"function":return null!==n._nativeSet?t?(r=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===r):n._nativeSet.has(e):o in n._items?!!Je(e,n._items[o])||(t&&n._items[o].push(e),!1):(t&&(n._items[o]=[e]),!1);case"undefined":return!!n._items[o]||(t&&(n._items[o]=!0),!1);case"object":if(null===e)return!!n._items.null||(t&&(n._items.null=!0),!1);default:return(o=Object.prototype.toString.call(e))in n._items?!!Je(e,n._items[o])||(t&&n._items[o].push(e),!1):(t&&(n._items[o]=[e]),!1)}}var ht=De((function(e,t){for(var n=[],r=0,o=e.length,i=t.length,a=new dt,u=0;u<i;u+=1)a.add(t[u]);for(;r<o;)a.add(e[r])&&(n[n.length]=e[r]),r+=1;return n}));var yt=Oe((function(e){return null!=e&&"function"==typeof e["fantasy-land/empty"]?e["fantasy-land/empty"]():null!=e&&null!=e.constructor&&"function"==typeof e.constructor["fantasy-land/empty"]?e.constructor["fantasy-land/empty"]():null!=e&&"function"==typeof e.empty?e.empty():null!=e&&null!=e.constructor&&"function"==typeof e.constructor.empty?e.constructor.empty():Le(e)?[]:st(e)?"":rt(e)?{}:We(e)?function(){return arguments}():function(e){var t=Object.prototype.toString.call(e);return"[object Uint8ClampedArray]"===t||"[object Int8Array]"===t||"[object Uint8Array]"===t||"[object Int16Array]"===t||"[object Uint16Array]"===t||"[object Int32Array]"===t||"[object Uint32Array]"===t||"[object Float32Array]"===t||"[object Float64Array]"===t||"[object BigInt64Array]"===t||"[object BigUint64Array]"===t}(e)?e.constructor.from(""):void 0})),vt=Oe((function(e){return null!=e&&Ze(e,yt(e))})),gt=vt,bt=Oe((function(e){return!ft(e)})),St=bt,Et=Re((function(e,t,n){var r,o={};for(r in n=n||{},t=t||{})Fe(r,t)&&(o[r]=Fe(r,n)?e(r,t[r],n[r]):t[r]);for(r in n)Fe(r,n)&&!Fe(r,o)&&(o[r]=n[r]);return o})),Tt=Re((function e(t,n,r){return Et((function(n,r,o){return rt(r)&&rt(o)?e(t,r,o):t(n,r,o)}),n,r)})),At=De((function(e,t){return Tt((function(e,t,n){return n}),e,t)})),kt=De((function(e,t){return pt(ht(e,t),ht(t,e))}));const wt=e=>{let t;const n=new Set,r=(e,r)=>{const o="function"==typeof e?e(t):e;if(!Object.is(o,t)){const e=t;t=(null!=r?r:"object"!=typeof o)?o:Object.assign({},t,o),n.forEach((n=>n(t,e)))}},o=()=>t,i={setState:r,getState:o,subscribe:e=>(n.add(e),()=>n.delete(e)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}};return t=e(r,o,i),i};function xt(e,t){for(var n in t)e[n]=t[n];return e}function Nt(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function Ct(e,t){var n=t(),r=ce({t:{__:n,u:t}}),o=r[0].t,i=r[1];return _e((function(){o.__=n,o.u=t,Ot(o)&&i({t:o})}),[e,n,t]),fe((function(){return Ot(o)&&i({t:o}),e((function(){Ot(o)&&i({t:o})}))}),[e]),n}function Ot(e){try{return!((t=e.__)===(n=e.u())&&(0!==t||1/t==1/n)||t!=t&&n!=n)}catch(e){return!0}var t,n}function Dt(e){e()}function Rt(e){return e}function Lt(){return[!1,Dt]}var It=_e;function Mt(e,t){this.props=e,this.context=t}function Ut(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:Nt(this.props,e)}function r(t){return this.shouldComponentUpdate=n,v(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r.type=e,r}(Mt.prototype=new E).isPureReactComponent=!0,Mt.prototype.shouldComponentUpdate=function(e,t){return Nt(this.props,e)||Nt(this.state,t)};var Pt=t.__b;t.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Pt&&Pt(e)};var jt="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Ft(e){function t(t){var n=xt({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=jt,t.render=e,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var zt=function(e,t){return null==e?null:O(O(e).map(t))},Ht={map:zt,forEach:zt,count:function(e){return e?O(e).length:0},only:function(e){var t=O(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:O},Wt=t.__e;t.__e=function(e,t,n,r){if(e.then)for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t);Wt(e,t,n,r)};var Bt=t.unmount;function Gt(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=xt({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c.__e=!0,e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return Gt(e,t,n)}))),e}function qt(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return qt(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function Vt(){this.__u=0,this.o=null,this.__b=null}function Yt(e){if(!e.__)return null;var t=e.__.__c;return t&&t.__a&&t.__a(e)}function $t(e){var t,n,r,o=null;function i(i){if(t||(t=e()).then((function(e){e&&(o=e.default||e),r=!0}),(function(e){n=e,r=!0})),n)throw n;if(!r)throw t;return o?v(o,i):null}return i.displayName="Lazy",i.__f=!0,i}function Xt(){this.i=null,this.l=null}t.unmount=function(e){var t=e.__c;t&&(t.__z=!0),t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Bt&&Bt(e)},(Vt.prototype=new E).__c=function(e,t){var n=t.__c,r=this;null==r.o&&(r.o=[]),r.o.push(n);var o=Yt(r.__v),i=!1,a=function(){i||r.__z||(i=!0,n.__R=null,o?o(l):l())};n.__R=a;var u=n.__P;n.__P=null;var l=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=qt(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.o.pop();)t.__P=u,t.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},Vt.prototype.componentWillUnmount=function(){this.o=[]},Vt.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Gt(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&v(S,null,e.fallback);return o&&(o.__u&=-33),[v(S,null,t.__a?null:e.children),o]};var Kt=function(e,t,n){if(++n[1]===n[0]&&e.l.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.l.size))for(n=e.i;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.i=n=n[2]}};function Zt(e){return this.getChildContext=function(){return e.context},e.children}function Jt(e){var t=this,n=e.h;if(t.componentWillUnmount=function(){B(null,t.v),t.v=null,t.h=null},t.h&&t.h!==n&&t.componentWillUnmount(),!t.v){for(var r=t.__v;null!==r&&!r.__m&&null!==r.__;)r=r.__;t.h=n,t.v={nodeType:1,parentNode:n,childNodes:[],__k:{__m:r.__m},contains:function(){return!0},namespaceURI:n.namespaceURI,insertBefore:function(e,n){this.childNodes.push(e),t.h.insertBefore(e,n)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.h.removeChild(e)}}}B(v(Zt,{context:t.context},e.__v),t.v)}function Qt(e,t){var n=v(Jt,{__v:e,h:t});return n.containerInfo=t,n}(Xt.prototype=new E).__a=function(e){var t=this,n=Yt(t.__v),r=t.l.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),Kt(t,e,r)):o()};n?n(i):i()}},Xt.prototype.render=function(e){this.i=null,this.l=new Map;var t=O(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.l.set(t[n],this.i=[1,0,this.i]);return e.children},Xt.prototype.componentDidUpdate=Xt.prototype.componentDidMount=function(){var e=this;this.l.forEach((function(t,n){Kt(e,n,t)}))};var en="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,tn=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,nn=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,rn=/[A-Z0-9]/g,on="undefined"!=typeof document,an=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};function un(e,t,n){return null==t.__k&&(t.textContent=""),B(e,t),"function"==typeof n&&n(),e?e.__c:null}function ln(e,t,n){return G(e,t),"function"==typeof n&&n(),e?e.__c:null}E.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(E.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var cn=t.event;function sn(){}function fn(){return this.cancelBubble}function _n(){return this.defaultPrevented}t.event=function(e){return cn&&(e=cn(e)),e.persist=sn,e.isPropagationStopped=fn,e.isDefaultPrevented=_n,e.nativeEvent=e};var pn,dn={enumerable:!1,configurable:!0,get:function(){return this.class}},mn=t.vnode;t.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={},o=-1===n.indexOf("-");for(var i in t){var a=t[i];if(!("value"===i&&"defaultValue"in t&&null==a||on&&"children"===i&&"noscript"===n||"class"===i||"className"===i)){var u=i.toLowerCase();"defaultValue"===i&&"value"in t&&null==t.value?i="value":"download"===i&&!0===a?a="":"translate"===u&&"no"===a?a=!1:"o"===u[0]&&"n"===u[1]?"ondoubleclick"===u?i="ondblclick":"onchange"!==u||"input"!==n&&"textarea"!==n||an(t.type)?"onfocus"===u?i="onfocusin":"onblur"===u?i="onfocusout":nn.test(i)&&(i=u):u=i="oninput":o&&tn.test(i)?i=i.replace(rn,"-$&").toLowerCase():null===a&&(a=void 0),"oninput"===u&&r[i=u]&&(i="oninputCapture"),r[i]=a}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=O(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=O(t.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",dn)):t.className&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=en,mn&&mn(e)};var hn=t.__r;t.__r=function(e){hn&&hn(e),pn=e.__c};var yn=t.diffed;t.diffed=function(e){yn&&yn(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value),pn=null};var vn={ReactCurrentDispatcher:{current:{readContext:function(e){return pn.__n[e.__c].props.value},useCallback:he,useContext:ye,useDebugValue:ve,useDeferredValue:Rt,useEffect:fe,useId:ge,useImperativeHandle:de,useInsertionEffect:It,useLayoutEffect:_e,useMemo:me,useReducer:se,useRef:pe,useState:ce,useSyncExternalStore:Ct,useTransition:Lt}}};function gn(e){return v.bind(null,e)}function bn(e){return!!e&&e.$$typeof===en}function Sn(e){return bn(e)&&e.type===S}function En(e){return!!e&&"string"==typeof e.displayName&&e.displayName.startsWith("Memo(")}function Tn(e){return bn(e)?q.apply(null,arguments):e}function An(e){return!!e.__k&&(B(null,e),!0)}function kn(e){return e&&(e.base||1===e.nodeType&&e)||null}var wn=function(e,t){return e(t)},xn=function(e,t){return e(t)},Nn=S,Cn=bn,On={useState:ce,useId:ge,useReducer:se,useEffect:fe,useLayoutEffect:_e,useInsertionEffect:It,useTransition:Lt,useDeferredValue:Rt,useSyncExternalStore:Ct,startTransition:Dt,useRef:pe,useImperativeHandle:de,useMemo:me,useCallback:he,useContext:ye,useDebugValue:ve,version:"18.3.1",Children:Ht,render:un,hydrate:ln,unmountComponentAtNode:An,createPortal:Qt,createElement:v,createContext:V,createFactory:gn,cloneElement:Tn,createRef:b,Fragment:S,isValidElement:bn,isElement:Cn,isFragment:Sn,isMemo:En,findDOMNode:kn,Component:E,PureComponent:Mt,memo:Ut,forwardRef:Ft,flushSync:xn,unstable_batchedUpdates:wn,StrictMode:Nn,Suspense:Vt,SuspenseList:Xt,lazy:$t,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:vn},Dn=Object.freeze({__proto__:null,Children:Ht,Component:E,Fragment:S,PureComponent:Mt,StrictMode:Nn,Suspense:Vt,SuspenseList:Xt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:vn,cloneElement:Tn,createContext:V,createElement:v,createFactory:gn,createPortal:Qt,createRef:b,default:On,findDOMNode:kn,flushSync:xn,forwardRef:Ft,hydrate:ln,isElement:Cn,isFragment:Sn,isMemo:En,isValidElement:bn,lazy:$t,memo:Ut,render:un,startTransition:Dt,unmountComponentAtNode:An,unstable_batchedUpdates:wn,useCallback:he,useContext:ye,useDebugValue:ve,useDeferredValue:Rt,useEffect:fe,useErrorBoundary:function(e){var t=le(X++,10),n=ce();return t.__=e,K.componentDidCatch||(K.componentDidCatch=function(e,r){t.__&&t.__(e,r),n[1](e)}),[n[0],function(){n[1](void 0)}]},useId:ge,useImperativeHandle:de,useInsertionEffect:It,useLayoutEffect:_e,useMemo:me,useReducer:se,useRef:pe,useState:ce,useSyncExternalStore:Ct,useTransition:Lt,version:"18.3.1"});function Rn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Ln(e){return e&&Object.prototype.hasOwnProperty.call(e,"default")&&1===Object.keys(e).length?e.default:e}var In={exports:{}},Mn={},Un=Ln(Dn),Pn={exports:{}},jn={},Fn=Un;var zn="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Hn=Fn.useState,Wn=Fn.useEffect,Bn=Fn.useLayoutEffect,Gn=Fn.useDebugValue;function qn(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!zn(e,n)}catch(e){return!0}}var Vn="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=Hn({inst:{value:n,getSnapshot:t}}),o=r[0].inst,i=r[1];return Bn((function(){o.value=n,o.getSnapshot=t,qn(o)&&i({inst:o})}),[e,n,t]),Wn((function(){return qn(o)&&i({inst:o}),e((function(){qn(o)&&i({inst:o})}))}),[e]),Gn(n),n};jn.useSyncExternalStore=void 0!==Fn.useSyncExternalStore?Fn.useSyncExternalStore:Vn,Pn.exports=jn;var Yn=Un,$n=Pn.exports;
|
|
2
2
|
/**
|
|
3
3
|
* @license React
|
|
4
4
|
* use-sync-external-store-shim/with-selector.production.min.js
|
|
@@ -7,4 +7,4 @@
|
|
|
7
7
|
*
|
|
8
8
|
* This source code is licensed under the MIT license found in the
|
|
9
9
|
* LICENSE file in the root directory of this source tree.
|
|
10
|
-
*/var bn="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},En=gn.useSyncExternalStore,kn=vn.useRef,Sn=vn.useEffect,Tn=vn.useMemo,xn=vn.useDebugValue;an.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var i=kn(null);if(null===i.current){var a={hasValue:!1,value:null};i.current=a}else a=i.current;i=Tn((function(){function e(e){if(!c){if(c=!0,i=e,e=r(e),void 0!==o&&a.hasValue){var t=a.value;if(o(t,e))return l=t}return l=e}if(t=l,bn(i,e))return t;var n=r(e);return void 0!==o&&o(t,n)?t:(i=e,l=n)}var i,l,c=!1,u=void 0===n?null:n;return[function(){return e(t())},null===u?void 0:function(){return e(u())}]}),[t,n,r,o]);var l=En(e,i[0],i[1]);return Sn((function(){a.hasValue=!0,a.value=l}),[l]),xn(l),l},on.exports=an;var An=nn(on.exports);const{useSyncExternalStoreWithSelector:Nn}=An;let wn=!1;const Cn=e=>{"function"!=typeof e&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const t="function"==typeof e?(e=>e?Je(e):Je)(e):e,n=(e,n)=>function(e,t=e.getState,n){n&&!wn&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),wn=!0);const r=Nn(e.subscribe,e.getState,e.getServerState||e.getState,t,n);return fe(r),r}(t,e,n);return Object.assign(n,t),n},On=Ze({name:"leckerli",banner:{title:"This website uses cookies.",description:'We use cookies to improve your browsing experience, deliver personalised advertising or content and analyse our traffic. By clicking on "Accept all", you consent to our use of cookies.',accept:"Accept all",reject:"Deny",customise:"Customize",customiseDescription:"",save:"Save",settings:[{slug:"analytics_storage",title:"Statistics",description:"Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously."},{slug:"ad_storage",title:"Marketing",description:"Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers."}]},permissions:["analytics_storage","ad_storage"],baseData:{},cookie:{},choiceMade:!1,settingsOpen:!1,domain:window.location.hostname,enableGtmAutoLoad:!1},window.leckerliSettings??{}),Rn=new Date;Rn.setMonth(Rn.getMonth()+1);const Dn={sameSite:"strict",domain:On.domain,expires:Rn},Ln=Ee.get(On.name);On.cookie=$e(Ln)?JSON.parse(Ln):On.permissions.reduce(((e,t)=>({...e,[t]:!1})),On.baseData),On.choiceMade=$e(Ln);const In=(Mn=(e,t)=>({...On,init:()=>{const e=t();Be(Ln)&&e.choiceMade&&Ee.set(e.name,JSON.stringify(e.cookie),Dn),document.dispatchEvent(new CustomEvent("leckerli:initialised",{detail:{cookie:e.choiceMade?e.cookie:null}})),document.addEventListener("leckerli:open-banner",(()=>t().setChoice(!1))),document.addEventListener("leckerli:close-banner",(()=>t().setChoice(!0))),document.addEventListener("leckerli:open-modal",(()=>t().setModal(!0))),document.addEventListener("leckerli:close-modal",(()=>t().setModal(!1)))},propagate(e){const n=t();Ee.set(n.name,JSON.stringify(e),Dn),document.dispatchEvent(new CustomEvent("leckerli:permissions-updated",{detail:{cookie:e}}))},setChoice:t=>e((e=>({...e,choiceMade:t}))),setModal:t=>e((e=>(document.dispatchEvent(new CustomEvent("leckerli:modal-"+(t?"opened":"closed"))),{...e,settingsOpen:t}))),setPermissions:t=>e((e=>{const n=e.permissions.reduce(((e,n)=>({...e,[n]:t[n]??!1})),e.baseData);return e.propagate(n),{...e,choiceMade:!0,cookie:n}})),togglePermission:t=>e((e=>{const n=e.permissions.reduce(((n,r)=>(n[r]=t===r?!$e(e.cookie[r])||!e.cookie[r]:e.cookie[r]??!1,n)),e.baseData);return e.propagate(n),{...e,choiceMade:!0,cookie:n}})),acceptAll:()=>{t().setPermissions(t().permissions.reduce(((e,t)=>({...e,[t]:!0})),{}))},rejectAll:()=>{t().setPermissions(t().permissions.reduce(((e,t)=>({...e,[t]:!1})),{}))}}))?Cn(Mn):Cn;/*! @license DOMPurify 3.0.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.5/LICENSE */var Mn;const{entries:Pn,setPrototypeOf:Un,isFrozen:Hn,getPrototypeOf:jn,getOwnPropertyDescriptor:Fn}=Object;let{freeze:zn,seal:Wn,create:Bn}=Object,{apply:Vn,construct:Gn}="undefined"!=typeof Reflect&&Reflect;Vn||(Vn=function(e,t,n){return e.apply(t,n)}),zn||(zn=function(e){return e}),Wn||(Wn=function(e){return e}),Gn||(Gn=function(e,t){return new e(...t)});const qn=or(Array.prototype.forEach),Yn=or(Array.prototype.pop),$n=or(Array.prototype.push),Xn=or(String.prototype.toLowerCase),Kn=or(String.prototype.toString),Zn=or(String.prototype.match),Jn=or(String.prototype.replace),Qn=or(String.prototype.indexOf),er=or(String.prototype.trim),tr=or(RegExp.prototype.test),nr=(rr=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Gn(rr,t)});var rr;function or(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return Vn(e,t,r)}}function ir(e,t,n){var r;n=null!==(r=n)&&void 0!==r?r:Xn,Un&&Un(e,null);let o=t.length;for(;o--;){let r=t[o];if("string"==typeof r){const e=n(r);e!==r&&(Hn(t)||(t[o]=e),r=e)}e[r]=!0}return e}function ar(e){const t=Bn(null);for(const[n,r]of Pn(e))t[n]=r;return t}function lr(e,t){for(;null!==e;){const n=Fn(e,t);if(n){if(n.get)return or(n.get);if("function"==typeof n.value)return or(n.value)}e=jn(e)}return function(e){return console.warn("fallback value for",e),null}}const cr=zn(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),ur=zn(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),sr=zn(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),fr=zn(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),_r=zn(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),pr=zn(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),dr=zn(["#text"]),mr=zn(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),hr=zn(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),yr=zn(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),vr=zn(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),gr=Wn(/\{\{[\w\W]*|[\w\W]*\}\}/gm),br=Wn(/<%[\w\W]*|[\w\W]*%>/gm),Er=Wn(/\${[\w\W]*}/gm),kr=Wn(/^data-[\-\w.\u00B7-\uFFFF]/),Sr=Wn(/^aria-[\-\w]+$/),Tr=Wn(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),xr=Wn(/^(?:\w+script|data):/i),Ar=Wn(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Nr=Wn(/^html$/i);var wr=Object.freeze({__proto__:null,MUSTACHE_EXPR:gr,ERB_EXPR:br,TMPLIT_EXPR:Er,DATA_ATTR:kr,ARIA_ATTR:Sr,IS_ALLOWED_URI:Tr,IS_SCRIPT_OR_DATA:xr,ATTR_WHITESPACE:Ar,DOCTYPE_NAME:Nr});const Cr=()=>"undefined"==typeof window?null:window;var Or=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Cr();const n=t=>e(t);if(n.version="3.0.5",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;const r=t.document,o=r.currentScript;let{document:i}=t;const{DocumentFragment:a,HTMLTemplateElement:l,Node:c,Element:u,NodeFilter:s,NamedNodeMap:f=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:_,DOMParser:p,trustedTypes:d}=t,m=u.prototype,h=lr(m,"cloneNode"),y=lr(m,"nextSibling"),v=lr(m,"childNodes"),g=lr(m,"parentNode");if("function"==typeof l){const e=i.createElement("template");e.content&&e.content.ownerDocument&&(i=e.content.ownerDocument)}let b,E="";const{implementation:k,createNodeIterator:S,createDocumentFragment:T,getElementsByTagName:x}=i,{importNode:A}=r;let N={};n.isSupported="function"==typeof Pn&&"function"==typeof g&&k&&void 0!==k.createHTMLDocument;const{MUSTACHE_EXPR:w,ERB_EXPR:C,TMPLIT_EXPR:O,DATA_ATTR:R,ARIA_ATTR:D,IS_SCRIPT_OR_DATA:L,ATTR_WHITESPACE:I}=wr;let{IS_ALLOWED_URI:M}=wr,P=null;const U=ir({},[...cr,...ur,...sr,..._r,...dr]);let H=null;const j=ir({},[...mr,...hr,...yr,...vr]);let F=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),z=null,W=null,B=!0,V=!0,G=!1,q=!0,Y=!1,$=!1,X=!1,K=!1,Z=!1,J=!1,Q=!1,ee=!0,te=!1,ne=!0,re=!1,oe={},ie=null;const ae=ir({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let le=null;const ce=ir({},["audio","video","img","source","image","track"]);let ue=null;const se=ir({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),fe="http://www.w3.org/1998/Math/MathML",_e="http://www.w3.org/2000/svg",pe="http://www.w3.org/1999/xhtml";let de=pe,me=!1,he=null;const ye=ir({},[fe,_e,pe],Kn);let ve;const ge=["application/xhtml+xml","text/html"];let be,Ee=null;const ke=i.createElement("form"),Se=function(e){return e instanceof RegExp||e instanceof Function},Te=function(e){if(!Ee||Ee!==e){if(e&&"object"==typeof e||(e={}),e=ar(e),ve=ve=-1===ge.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,be="application/xhtml+xml"===ve?Kn:Xn,P="ALLOWED_TAGS"in e?ir({},e.ALLOWED_TAGS,be):U,H="ALLOWED_ATTR"in e?ir({},e.ALLOWED_ATTR,be):j,he="ALLOWED_NAMESPACES"in e?ir({},e.ALLOWED_NAMESPACES,Kn):ye,ue="ADD_URI_SAFE_ATTR"in e?ir(ar(se),e.ADD_URI_SAFE_ATTR,be):se,le="ADD_DATA_URI_TAGS"in e?ir(ar(ce),e.ADD_DATA_URI_TAGS,be):ce,ie="FORBID_CONTENTS"in e?ir({},e.FORBID_CONTENTS,be):ae,z="FORBID_TAGS"in e?ir({},e.FORBID_TAGS,be):{},W="FORBID_ATTR"in e?ir({},e.FORBID_ATTR,be):{},oe="USE_PROFILES"in e&&e.USE_PROFILES,B=!1!==e.ALLOW_ARIA_ATTR,V=!1!==e.ALLOW_DATA_ATTR,G=e.ALLOW_UNKNOWN_PROTOCOLS||!1,q=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Y=e.SAFE_FOR_TEMPLATES||!1,$=e.WHOLE_DOCUMENT||!1,Z=e.RETURN_DOM||!1,J=e.RETURN_DOM_FRAGMENT||!1,Q=e.RETURN_TRUSTED_TYPE||!1,K=e.FORCE_BODY||!1,ee=!1!==e.SANITIZE_DOM,te=e.SANITIZE_NAMED_PROPS||!1,ne=!1!==e.KEEP_CONTENT,re=e.IN_PLACE||!1,M=e.ALLOWED_URI_REGEXP||Tr,de=e.NAMESPACE||pe,F=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Se(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(F.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Se(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(F.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(F.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Y&&(V=!1),J&&(Z=!0),oe&&(P=ir({},[...dr]),H=[],!0===oe.html&&(ir(P,cr),ir(H,mr)),!0===oe.svg&&(ir(P,ur),ir(H,hr),ir(H,vr)),!0===oe.svgFilters&&(ir(P,sr),ir(H,hr),ir(H,vr)),!0===oe.mathMl&&(ir(P,_r),ir(H,yr),ir(H,vr))),e.ADD_TAGS&&(P===U&&(P=ar(P)),ir(P,e.ADD_TAGS,be)),e.ADD_ATTR&&(H===j&&(H=ar(H)),ir(H,e.ADD_ATTR,be)),e.ADD_URI_SAFE_ATTR&&ir(ue,e.ADD_URI_SAFE_ATTR,be),e.FORBID_CONTENTS&&(ie===ae&&(ie=ar(ie)),ir(ie,e.FORBID_CONTENTS,be)),ne&&(P["#text"]=!0),$&&ir(P,["html","head","body"]),P.table&&(ir(P,["tbody"]),delete z.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw nr('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw nr('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');b=e.TRUSTED_TYPES_POLICY,E=b.createHTML("")}else void 0===b&&(b=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const o="dompurify"+(n?"#"+n:"");try{return e.createPolicy(o,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(d,o)),null!==b&&"string"==typeof E&&(E=b.createHTML(""));zn&&zn(e),Ee=e}},xe=ir({},["mi","mo","mn","ms","mtext"]),Ae=ir({},["foreignobject","desc","title","annotation-xml"]),Ne=ir({},["title","style","font","a","script"]),we=ir({},ur);ir(we,sr),ir(we,fr);const Ce=ir({},_r);ir(Ce,pr);const Oe=function(e){$n(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.remove()}},Re=function(e,t){try{$n(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){$n(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!H[e])if(Z||J)try{Oe(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},De=function(e){let t,n;if(K)e="<remove></remove>"+e;else{const t=Zn(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===ve&&de===pe&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const r=b?b.createHTML(e):e;if(de===pe)try{t=(new p).parseFromString(r,ve)}catch(e){}if(!t||!t.documentElement){t=k.createDocument(de,"template",null);try{t.documentElement.innerHTML=me?E:r}catch(e){}}const o=t.body||t.documentElement;return e&&n&&o.insertBefore(i.createTextNode(n),o.childNodes[0]||null),de===pe?x.call(t,$?"html":"body")[0]:$?t.documentElement:o},Le=function(e){return S.call(e.ownerDocument||e,e,s.SHOW_ELEMENT|s.SHOW_COMMENT|s.SHOW_TEXT,null,!1)},Ie=function(e){return"object"==typeof c?e instanceof c:e&&"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},Me=function(e,t,r){N[e]&&qn(N[e],(e=>{e.call(n,t,r,Ee)}))},Pe=function(e){let t;if(Me("beforeSanitizeElements",e,null),(r=e)instanceof _&&("string"!=typeof r.nodeName||"string"!=typeof r.textContent||"function"!=typeof r.removeChild||!(r.attributes instanceof f)||"function"!=typeof r.removeAttribute||"function"!=typeof r.setAttribute||"string"!=typeof r.namespaceURI||"function"!=typeof r.insertBefore||"function"!=typeof r.hasChildNodes))return Oe(e),!0;var r;const o=be(e.nodeName);if(Me("uponSanitizeElement",e,{tagName:o,allowedTags:P}),e.hasChildNodes()&&!Ie(e.firstElementChild)&&(!Ie(e.content)||!Ie(e.content.firstElementChild))&&tr(/<[/\w]/g,e.innerHTML)&&tr(/<[/\w]/g,e.textContent))return Oe(e),!0;if(!P[o]||z[o]){if(!z[o]&&He(o)){if(F.tagNameCheck instanceof RegExp&&tr(F.tagNameCheck,o))return!1;if(F.tagNameCheck instanceof Function&&F.tagNameCheck(o))return!1}if(ne&&!ie[o]){const t=g(e)||e.parentNode,n=v(e)||e.childNodes;if(n&&t){for(let r=n.length-1;r>=0;--r)t.insertBefore(h(n[r],!0),y(e))}}return Oe(e),!0}return e instanceof u&&!function(e){let t=g(e);t&&t.tagName||(t={namespaceURI:de,tagName:"template"});const n=Xn(e.tagName),r=Xn(t.tagName);return!!he[e.namespaceURI]&&(e.namespaceURI===_e?t.namespaceURI===pe?"svg"===n:t.namespaceURI===fe?"svg"===n&&("annotation-xml"===r||xe[r]):Boolean(we[n]):e.namespaceURI===fe?t.namespaceURI===pe?"math"===n:t.namespaceURI===_e?"math"===n&&Ae[r]:Boolean(Ce[n]):e.namespaceURI===pe?!(t.namespaceURI===_e&&!Ae[r])&&!(t.namespaceURI===fe&&!xe[r])&&!Ce[n]&&(Ne[n]||!we[n]):!("application/xhtml+xml"!==ve||!he[e.namespaceURI]))}(e)?(Oe(e),!0):"noscript"!==o&&"noembed"!==o&&"noframes"!==o||!tr(/<\/no(script|embed|frames)/i,e.innerHTML)?(Y&&3===e.nodeType&&(t=e.textContent,t=Jn(t,w," "),t=Jn(t,C," "),t=Jn(t,O," "),e.textContent!==t&&($n(n.removed,{element:e.cloneNode()}),e.textContent=t)),Me("afterSanitizeElements",e,null),!1):(Oe(e),!0)},Ue=function(e,t,n){if(ee&&("id"===t||"name"===t)&&(n in i||n in ke))return!1;if(V&&!W[t]&&tr(R,t));else if(B&&tr(D,t));else if(!H[t]||W[t]){if(!(He(e)&&(F.tagNameCheck instanceof RegExp&&tr(F.tagNameCheck,e)||F.tagNameCheck instanceof Function&&F.tagNameCheck(e))&&(F.attributeNameCheck instanceof RegExp&&tr(F.attributeNameCheck,t)||F.attributeNameCheck instanceof Function&&F.attributeNameCheck(t))||"is"===t&&F.allowCustomizedBuiltInElements&&(F.tagNameCheck instanceof RegExp&&tr(F.tagNameCheck,n)||F.tagNameCheck instanceof Function&&F.tagNameCheck(n))))return!1}else if(ue[t]);else if(tr(M,Jn(n,I,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==Qn(n,"data:")||!le[e]){if(G&&!tr(L,Jn(n,I,"")));else if(n)return!1}else;return!0},He=function(e){return e.indexOf("-")>0},je=function(e){let t,r,o,i;Me("beforeSanitizeAttributes",e,null);const{attributes:a}=e;if(!a)return;const l={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:H};for(i=a.length;i--;){t=a[i];const{name:c,namespaceURI:u}=t;if(r="value"===c?t.value:er(t.value),o=be(c),l.attrName=o,l.attrValue=r,l.keepAttr=!0,l.forceKeepAttr=void 0,Me("uponSanitizeAttribute",e,l),r=l.attrValue,l.forceKeepAttr)continue;if(Re(c,e),!l.keepAttr)continue;if(!q&&tr(/\/>/i,r)){Re(c,e);continue}Y&&(r=Jn(r,w," "),r=Jn(r,C," "),r=Jn(r,O," "));const s=be(e.nodeName);if(Ue(s,o,r)){if(!te||"id"!==o&&"name"!==o||(Re(c,e),r="user-content-"+r),b&&"object"==typeof d&&"function"==typeof d.getAttributeType)if(u);else switch(d.getAttributeType(s,o)){case"TrustedHTML":r=b.createHTML(r);break;case"TrustedScriptURL":r=b.createScriptURL(r)}try{u?e.setAttributeNS(u,c,r):e.setAttribute(c,r),Yn(n.removed)}catch(e){}}}Me("afterSanitizeAttributes",e,null)},Fe=function e(t){let n;const r=Le(t);for(Me("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)Me("uponSanitizeShadowNode",n,null),Pe(n)||(n.content instanceof a&&e(n.content),je(n));Me("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e){let t,o,i,l,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(me=!e,me&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Ie(e)){if("function"!=typeof e.toString)throw nr("toString is not a function");if("string"!=typeof(e=e.toString()))throw nr("dirty is not a string, aborting")}if(!n.isSupported)return e;if(X||Te(u),n.removed=[],"string"==typeof e&&(re=!1),re){if(e.nodeName){const t=be(e.nodeName);if(!P[t]||z[t])throw nr("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof c)t=De("\x3c!----\x3e"),o=t.ownerDocument.importNode(e,!0),1===o.nodeType&&"BODY"===o.nodeName||"HTML"===o.nodeName?t=o:t.appendChild(o);else{if(!Z&&!Y&&!$&&-1===e.indexOf("<"))return b&&Q?b.createHTML(e):e;if(t=De(e),!t)return Z?null:Q?E:""}t&&K&&Oe(t.firstChild);const s=Le(re?e:t);for(;i=s.nextNode();)Pe(i)||(i.content instanceof a&&Fe(i.content),je(i));if(re)return e;if(Z){if(J)for(l=T.call(t.ownerDocument);t.firstChild;)l.appendChild(t.firstChild);else l=t;return(H.shadowroot||H.shadowrootmode)&&(l=A.call(r,l,!0)),l}let f=$?t.outerHTML:t.innerHTML;return $&&P["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&tr(Nr,t.ownerDocument.doctype.name)&&(f="<!DOCTYPE "+t.ownerDocument.doctype.name+">\n"+f),Y&&(f=Jn(f,w," "),f=Jn(f,C," "),f=Jn(f,O," ")),b&&Q?b.createHTML(f):f},n.setConfig=function(e){Te(e),X=!0},n.clearConfig=function(){Ee=null,X=!1},n.isValidAttribute=function(e,t,n){Ee||Te({});const r=be(e),o=be(t);return Ue(r,o,n)},n.addHook=function(e,t){"function"==typeof t&&(N[e]=N[e]||[],$n(N[e],t))},n.removeHook=function(e){if(N[e])return Yn(N[e])},n.removeHooks=function(e){N[e]&&(N[e]=[])},n.removeAllHooks=function(){N={}},n}();const Rr=()=>{const{banner:e,acceptAll:t,rejectAll:n,setModal:r}=In();return W("div",{className:"fixed bottom-0 left-0 max-w-md px-5 py-4 m-2 shadow-md shadow-black/25 z-[9998] bg-background space-y-4 font-primary text-foreground rounded-md banner-wrapper",children:[e.title&&W("h3",{className:"m-0 text-lg font-semibold font-primary md:text-xl banner-title",children:e.title}),e.description&&W("p",{className:"m-0 text-sm leading-snug font-primary md:text-base banner-description",dangerouslySetInnerHTML:{__html:Or.sanitize(e.description,{USE_PROFILES:{html:!0},ALLOWED_TAGS:["b","i","em","strong","p","ul","li","ol","span","h2","h3","h4","h5","h6","a","div"],ALLOWED_ATTR:["href","target"]})}}),W("div",{className:"pt-2 space-y-2 banner-btns",children:[!qe(e.settings)&&W("button",{type:"button",className:"px-2 mr-2 text-sm font-semibold border-2 border-solid rounded bg-background font-primary text-primary md:px-3.5 py-1.5 md:py-2.5 border-primary hover:border-primary-hover hover:text-primary-hover active:border-primary-active active:text-primary-active transition-colors banner-btn-customise",onClick:()=>r(!0),children:e.customise}),W("button",{type:"button",className:"px-2 mr-2 text-sm font-semibold border-2 border-solid rounded bg-background font-primary text-primary md:px-3.5 py-1.5 md:py-2.5 border-primary hover:border-primary-hover hover:text-primary-hover active:border-primary-active active:text-primary-active transition-colors banner-btn-reject",onClick:n,children:e.reject}),W("button",{type:"button",className:"px-2 mr-2 text-sm font-semibold border-2 border-solid rounded bg-primary font-primary text-background md:px-3.5 py-1.5 md:py-2.5 border-primary hover:bg-primary-hover hover:border-primary-hover active:bg-primary-active active:border-primary-active transition-colors banner-btn-accept",onClick:t,children:e.accept})]})]})},Dr=()=>{const{cookie:e,setPermissions:t,banner:n,setModal:r}=In(),[o,i]=ne(e);return W("div",{className:"fixed bottom-0 left-0 w-full max-w-lg max-h-full px-5 py-4 m-2 overflow-y-auto text-black shadow-md shadow-black/25 z-[9999] bg-background text-foreground font-primary rounded-md banner-wrapper",children:[W("div",{className:"space-y-6",children:[W("div",{children:[W("h3",{className:"w-10/12 m-0 text-xl font-semibold font-primary md:text-2xl banner-title",children:n.customise}),n.customiseDescription&&W("p",{className:"m-0 mt-2 text-sm leading-snug font-primary md:text-base banner-settings-general-description",dangerouslySetInnerHTML:{__html:Or.sanitize(n.customiseDescription,{USE_PROFILES:{html:!0},ALLOWED_TAGS:["b","i","em","strong","p","ul","li","ol","span","h2","h3","h4","h5","h6","a","div"],ALLOWED_ATTR:["href","target"]})}})]}),n.settings.map((({slug:e,title:t,description:n})=>W("div",{children:[W("div",{className:"flex items-start justify-between",children:[W("h3",{className:"m-0 text-lg font-semibold font-primary banner-settings-title",children:t}),W("button",{type:"button",className:(o[e]?"bg-primary":"bg-gray-200")+" relative inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-primary focus:ring-offset-2 mt-0.5 banner-settings-toggle",role:"switch","aria-checked":"false",onClick:()=>i({...o,[e]:!o[e]}),children:[W("span",{className:"sr-only",children:"Toggle"}),W("span",{"aria-hidden":"true",className:(o[e]?"translate-x-5":"translate-x-0")+" pointer-events-none inline-block h-5 w-5 transform rounded-full bg-background shadow ring-0 transition duration-200 ease-in-out"})]})]}),W("p",{className:"m-0 mt-2 text-sm leading-snug font-primary md:text-base banner-settings-description",children:n})]},`setting-${e}`))),W("div",{className:"pt-4",children:W("button",{type:"button",className:"px-2 mr-2 text-sm font-semibold border-2 border-solid rounded bg-primary font-primary text-background md:px-3.5 py-1.5 md:py-2.5 border-primary hover:bg-primary-hover hover:border-primary-hover active:bg-primary-active active:border-primary-active transition-colors banner-settings-save",onClick:()=>{t(o),r(!1)},children:n.save})})]}),W("button",{type:"button",className:"absolute top-0 right-0 w-8 h-8 mt-0 text-xl rounded-full banner-settings-close",onClick:()=>r(!1),children:"×"})]})},Lr=document.createElement("div");Lr.id="lkrl-wrapper",document.body.appendChild(Lr),U(W((()=>{const{choiceMade:e,init:t,settingsOpen:n}=In();return oe((()=>{t()}),[]),W(y,{children:[!e&&!n&&W(Rr,{}),n&&W(Dr,{})]})}),{}),Lr)}();
|
|
10
|
+
*/var Xn="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Kn=$n.useSyncExternalStore,Zn=Yn.useRef,Jn=Yn.useEffect,Qn=Yn.useMemo,er=Yn.useDebugValue;Mn.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var i=Zn(null);if(null===i.current){var a={hasValue:!1,value:null};i.current=a}else a=i.current;i=Qn((function(){function e(e){if(!l){if(l=!0,i=e,e=r(e),void 0!==o&&a.hasValue){var t=a.value;if(o(t,e))return u=t}return u=e}if(t=u,Xn(i,e))return t;var n=r(e);return void 0!==o&&o(t,n)?t:(i=e,u=n)}var i,u,l=!1,c=void 0===n?null:n;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]}),[t,n,r,o]);var u=Kn(e,i[0],i[1]);return Jn((function(){a.hasValue=!0,a.value=u}),[u]),er(u),u},In.exports=Mn;var tr=Rn(In.exports);const{useSyncExternalStoreWithSelector:nr}=tr;let rr=!1;const or=e=>{"function"!=typeof e&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const t="function"==typeof e?(e=>e?wt(e):wt)(e):e,n=(e,n)=>function(e,t=e.getState,n){n&&!rr&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),rr=!0);const r=nr(e.subscribe,e.getState,e.getServerState||e.getState,t,n);return ve(r),r}(t,e,n);return Object.assign(n,t),n},ir=At({name:"leckerli",expires:92,banner:{title:"This website uses cookies.",description:'We use cookies to improve your browsing experience, deliver personalised advertising or content and analyse our traffic. By clicking on "Accept all", you consent to our use of cookies.',accept:"Accept all",reject:"Deny",customise:"Customize",customiseDescription:"",save:"Save",settings:[{slug:"analytics_storage",title:"Statistics",description:"Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously."},{slug:"ad_storage",title:"Marketing",description:"Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers."}]},permissions:["analytics_storage","ad_storage"],baseData:{},cookie:{},choiceMade:!1,settingsOpen:!1,domain:window.location.hostname,enableGtmAutoLoad:!1},window.leckerliSettings??{}),ar={sameSite:"strict",domain:ir.domain,expires:ir.expires},ur=Ne.get(ir.name);ir.cookie=St(ur)?JSON.parse(ur):ir.permissions.reduce(((e,t)=>({...e,[t]:!1})),ir.baseData),ir.choiceMade=St(ur)&>(kt(Object.keys(ir.cookie).filter((e=>!Object.keys(ir.baseData).includes(e))),ir.permissions));const lr=(cr=(e,t)=>({...ir,init:()=>{const e=t();ft(ur)&&e.choiceMade&&Ne.set(e.name,JSON.stringify(e.cookie),ar),document.dispatchEvent(new CustomEvent("leckerli:initialised",{detail:{cookie:e.choiceMade?e.cookie:null}})),document.addEventListener("leckerli:open-banner",(()=>t().setChoice(!1))),document.addEventListener("leckerli:close-banner",(()=>t().setChoice(!0))),document.addEventListener("leckerli:open-modal",(()=>t().setModal(!0))),document.addEventListener("leckerli:close-modal",(()=>t().setModal(!1)))},propagate(e){const n=t();Ne.set(n.name,JSON.stringify(e),ar),document.dispatchEvent(new CustomEvent("leckerli:permissions-updated",{detail:{cookie:e}}))},setChoice:t=>e((e=>({...e,choiceMade:t}))),setModal:t=>e((e=>(document.dispatchEvent(new CustomEvent("leckerli:modal-"+(t?"opened":"closed"))),{...e,settingsOpen:t}))),setPermissions:t=>e((e=>{const n=e.permissions.reduce(((e,n)=>({...e,[n]:t[n]??!1})),e.baseData);return e.propagate(n),{...e,choiceMade:!0,cookie:n}})),togglePermission:t=>e((e=>{const n=e.permissions.reduce(((n,r)=>(n[r]=t===r?!St(e.cookie[r])||!e.cookie[r]:e.cookie[r]??!1,n)),e.baseData);return e.propagate(n),{...e,choiceMade:!0,cookie:n}})),acceptAll:()=>{t().setPermissions(t().permissions.reduce(((e,t)=>({...e,[t]:!0})),{}))},rejectAll:()=>{t().setPermissions(t().permissions.reduce(((e,t)=>({...e,[t]:!1})),{}))}}))?or(cr):or;/*! @license DOMPurify 3.3.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.1/LICENSE */var cr;const{entries:sr,setPrototypeOf:fr,isFrozen:_r,getPrototypeOf:pr,getOwnPropertyDescriptor:dr}=Object;let{freeze:mr,seal:hr,create:yr}=Object,{apply:vr,construct:gr}="undefined"!=typeof Reflect&&Reflect;mr||(mr=function(e){return e}),hr||(hr=function(e){return e}),vr||(vr=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return e.apply(t,r)}),gr||(gr=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new e(...n)});const br=Mr(Array.prototype.forEach),Sr=Mr(Array.prototype.lastIndexOf),Er=Mr(Array.prototype.pop),Tr=Mr(Array.prototype.push),Ar=Mr(Array.prototype.splice),kr=Mr(String.prototype.toLowerCase),wr=Mr(String.prototype.toString),xr=Mr(String.prototype.match),Nr=Mr(String.prototype.replace),Cr=Mr(String.prototype.indexOf),Or=Mr(String.prototype.trim),Dr=Mr(Object.prototype.hasOwnProperty),Rr=Mr(RegExp.prototype.test),Lr=(Ir=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return gr(Ir,t)});var Ir;function Mr(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return vr(e,t,r)}}function Ur(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:kr;fr&&fr(e,null);let r=t.length;for(;r--;){let o=t[r];if("string"==typeof o){const e=n(o);e!==o&&(_r(t)||(t[r]=e),o=e)}e[o]=!0}return e}function Pr(e){for(let t=0;t<e.length;t++){Dr(e,t)||(e[t]=null)}return e}function jr(e){const t=yr(null);for(const[n,r]of sr(e)){Dr(e,n)&&(Array.isArray(r)?t[n]=Pr(r):r&&"object"==typeof r&&r.constructor===Object?t[n]=jr(r):t[n]=r)}return t}function Fr(e,t){for(;null!==e;){const n=dr(e,t);if(n){if(n.get)return Mr(n.get);if("function"==typeof n.value)return Mr(n.value)}e=pr(e)}return function(){return null}}const zr=mr(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Hr=mr(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Wr=mr(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Br=mr(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Gr=mr(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),qr=mr(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Vr=mr(["#text"]),Yr=mr(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),$r=mr(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Xr=mr(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Kr=mr(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Zr=hr(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Jr=hr(/<%[\w\W]*|[\w\W]*%>/gm),Qr=hr(/\$\{[\w\W]*/gm),eo=hr(/^data-[\-\w.\u00B7-\uFFFF]+$/),to=hr(/^aria-[\-\w]+$/),no=hr(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ro=hr(/^(?:\w+script|data):/i),oo=hr(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),io=hr(/^html$/i),ao=hr(/^[a-z][.\w]*(-[.\w]+)+$/i);var uo=Object.freeze({__proto__:null,ARIA_ATTR:to,ATTR_WHITESPACE:oo,CUSTOM_ELEMENT:ao,DATA_ATTR:eo,DOCTYPE_NAME:io,ERB_EXPR:Jr,IS_ALLOWED_URI:no,IS_SCRIPT_OR_DATA:ro,MUSTACHE_EXPR:Zr,TMPLIT_EXPR:Qr});const lo=1,co=3,so=7,fo=8,_o=9,po=function(){return"undefined"==typeof window?null:window};var mo=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:po();const n=t=>e(t);if(n.version="3.3.1",n.removed=[],!t||!t.document||t.document.nodeType!==_o||!t.Element)return n.isSupported=!1,n;let{document:r}=t;const o=r,i=o.currentScript,{DocumentFragment:a,HTMLTemplateElement:u,Node:l,Element:c,NodeFilter:s,NamedNodeMap:f=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:_,DOMParser:p,trustedTypes:d}=t,m=c.prototype,h=Fr(m,"cloneNode"),y=Fr(m,"remove"),v=Fr(m,"nextSibling"),g=Fr(m,"childNodes"),b=Fr(m,"parentNode");if("function"==typeof u){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let S,E="";const{implementation:T,createNodeIterator:A,createDocumentFragment:k,getElementsByTagName:w}=r,{importNode:x}=o;let N={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof sr&&"function"==typeof b&&T&&void 0!==T.createHTMLDocument;const{MUSTACHE_EXPR:C,ERB_EXPR:O,TMPLIT_EXPR:D,DATA_ATTR:R,ARIA_ATTR:L,IS_SCRIPT_OR_DATA:I,ATTR_WHITESPACE:M,CUSTOM_ELEMENT:U}=uo;let{IS_ALLOWED_URI:P}=uo,j=null;const F=Ur({},[...zr,...Hr,...Wr,...Gr,...Vr]);let z=null;const H=Ur({},[...Yr,...$r,...Xr,...Kr]);let W=Object.seal(yr(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),B=null,G=null;const q=Object.seal(yr(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let V=!0,Y=!0,$=!1,X=!0,K=!1,Z=!0,J=!1,Q=!1,ee=!1,te=!1,ne=!1,re=!1,oe=!0,ie=!1,ae=!0,ue=!1,le={},ce=null;const se=Ur({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let fe=null;const _e=Ur({},["audio","video","img","source","image","track"]);let pe=null;const de=Ur({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),me="http://www.w3.org/1998/Math/MathML",he="http://www.w3.org/2000/svg",ye="http://www.w3.org/1999/xhtml";let ve=ye,ge=!1,be=null;const Se=Ur({},[me,he,ye],wr);let Ee=Ur({},["mi","mo","mn","ms","mtext"]),Te=Ur({},["annotation-xml"]);const Ae=Ur({},["title","style","font","a","script"]);let ke=null;const we=["application/xhtml+xml","text/html"];let xe=null,Ne=null;const Ce=r.createElement("form"),Oe=function(e){return e instanceof RegExp||e instanceof Function},De=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Ne||Ne!==e){if(e&&"object"==typeof e||(e={}),e=jr(e),ke=-1===we.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,xe="application/xhtml+xml"===ke?wr:kr,j=Dr(e,"ALLOWED_TAGS")?Ur({},e.ALLOWED_TAGS,xe):F,z=Dr(e,"ALLOWED_ATTR")?Ur({},e.ALLOWED_ATTR,xe):H,be=Dr(e,"ALLOWED_NAMESPACES")?Ur({},e.ALLOWED_NAMESPACES,wr):Se,pe=Dr(e,"ADD_URI_SAFE_ATTR")?Ur(jr(de),e.ADD_URI_SAFE_ATTR,xe):de,fe=Dr(e,"ADD_DATA_URI_TAGS")?Ur(jr(_e),e.ADD_DATA_URI_TAGS,xe):_e,ce=Dr(e,"FORBID_CONTENTS")?Ur({},e.FORBID_CONTENTS,xe):se,B=Dr(e,"FORBID_TAGS")?Ur({},e.FORBID_TAGS,xe):jr({}),G=Dr(e,"FORBID_ATTR")?Ur({},e.FORBID_ATTR,xe):jr({}),le=!!Dr(e,"USE_PROFILES")&&e.USE_PROFILES,V=!1!==e.ALLOW_ARIA_ATTR,Y=!1!==e.ALLOW_DATA_ATTR,$=e.ALLOW_UNKNOWN_PROTOCOLS||!1,X=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,K=e.SAFE_FOR_TEMPLATES||!1,Z=!1!==e.SAFE_FOR_XML,J=e.WHOLE_DOCUMENT||!1,te=e.RETURN_DOM||!1,ne=e.RETURN_DOM_FRAGMENT||!1,re=e.RETURN_TRUSTED_TYPE||!1,ee=e.FORCE_BODY||!1,oe=!1!==e.SANITIZE_DOM,ie=e.SANITIZE_NAMED_PROPS||!1,ae=!1!==e.KEEP_CONTENT,ue=e.IN_PLACE||!1,P=e.ALLOWED_URI_REGEXP||no,ve=e.NAMESPACE||ye,Ee=e.MATHML_TEXT_INTEGRATION_POINTS||Ee,Te=e.HTML_INTEGRATION_POINTS||Te,W=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Oe(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(W.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Oe(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(W.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(W.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),K&&(Y=!1),ne&&(te=!0),le&&(j=Ur({},Vr),z=[],!0===le.html&&(Ur(j,zr),Ur(z,Yr)),!0===le.svg&&(Ur(j,Hr),Ur(z,$r),Ur(z,Kr)),!0===le.svgFilters&&(Ur(j,Wr),Ur(z,$r),Ur(z,Kr)),!0===le.mathMl&&(Ur(j,Gr),Ur(z,Xr),Ur(z,Kr))),e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?q.tagCheck=e.ADD_TAGS:(j===F&&(j=jr(j)),Ur(j,e.ADD_TAGS,xe))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?q.attributeCheck=e.ADD_ATTR:(z===H&&(z=jr(z)),Ur(z,e.ADD_ATTR,xe))),e.ADD_URI_SAFE_ATTR&&Ur(pe,e.ADD_URI_SAFE_ATTR,xe),e.FORBID_CONTENTS&&(ce===se&&(ce=jr(ce)),Ur(ce,e.FORBID_CONTENTS,xe)),e.ADD_FORBID_CONTENTS&&(ce===se&&(ce=jr(ce)),Ur(ce,e.ADD_FORBID_CONTENTS,xe)),ae&&(j["#text"]=!0),J&&Ur(j,["html","head","body"]),j.table&&(Ur(j,["tbody"]),delete B.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw Lr('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw Lr('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');S=e.TRUSTED_TYPES_POLICY,E=S.createHTML("")}else void 0===S&&(S=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const o="dompurify"+(n?"#"+n:"");try{return e.createPolicy(o,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(d,i)),null!==S&&"string"==typeof E&&(E=S.createHTML(""));mr&&mr(e),Ne=e}},Re=Ur({},[...Hr,...Wr,...Br]),Le=Ur({},[...Gr,...qr]),Ie=function(e){Tr(n.removed,{element:e});try{b(e).removeChild(e)}catch(t){y(e)}},Me=function(e,t){try{Tr(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){Tr(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(te||ne)try{Ie(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Ue=function(e){let t=null,n=null;if(ee)e="<remove></remove>"+e;else{const t=xr(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===ke&&ve===ye&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const o=S?S.createHTML(e):e;if(ve===ye)try{t=(new p).parseFromString(o,ke)}catch(e){}if(!t||!t.documentElement){t=T.createDocument(ve,"template",null);try{t.documentElement.innerHTML=ge?E:o}catch(e){}}const i=t.body||t.documentElement;return e&&n&&i.insertBefore(r.createTextNode(n),i.childNodes[0]||null),ve===ye?w.call(t,J?"html":"body")[0]:J?t.documentElement:i},Pe=function(e){return A.call(e.ownerDocument||e,e,s.SHOW_ELEMENT|s.SHOW_COMMENT|s.SHOW_TEXT|s.SHOW_PROCESSING_INSTRUCTION|s.SHOW_CDATA_SECTION,null)},je=function(e){return e instanceof _&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof f)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Fe=function(e){return"function"==typeof l&&e instanceof l};function ze(e,t,r){br(e,(e=>{e.call(n,t,r,Ne)}))}const He=function(e){let t=null;if(ze(N.beforeSanitizeElements,e,null),je(e))return Ie(e),!0;const r=xe(e.nodeName);if(ze(N.uponSanitizeElement,e,{tagName:r,allowedTags:j}),Z&&e.hasChildNodes()&&!Fe(e.firstElementChild)&&Rr(/<[/\w!]/g,e.innerHTML)&&Rr(/<[/\w!]/g,e.textContent))return Ie(e),!0;if(e.nodeType===so)return Ie(e),!0;if(Z&&e.nodeType===fo&&Rr(/<[/\w]/g,e.data))return Ie(e),!0;if(!(q.tagCheck instanceof Function&&q.tagCheck(r))&&(!j[r]||B[r])){if(!B[r]&&Be(r)){if(W.tagNameCheck instanceof RegExp&&Rr(W.tagNameCheck,r))return!1;if(W.tagNameCheck instanceof Function&&W.tagNameCheck(r))return!1}if(ae&&!ce[r]){const t=b(e)||e.parentNode,n=g(e)||e.childNodes;if(n&&t){for(let r=n.length-1;r>=0;--r){const o=h(n[r],!0);o.__removalCount=(e.__removalCount||0)+1,t.insertBefore(o,v(e))}}}return Ie(e),!0}return e instanceof c&&!function(e){let t=b(e);t&&t.tagName||(t={namespaceURI:ve,tagName:"template"});const n=kr(e.tagName),r=kr(t.tagName);return!!be[e.namespaceURI]&&(e.namespaceURI===he?t.namespaceURI===ye?"svg"===n:t.namespaceURI===me?"svg"===n&&("annotation-xml"===r||Ee[r]):Boolean(Re[n]):e.namespaceURI===me?t.namespaceURI===ye?"math"===n:t.namespaceURI===he?"math"===n&&Te[r]:Boolean(Le[n]):e.namespaceURI===ye?!(t.namespaceURI===he&&!Te[r])&&!(t.namespaceURI===me&&!Ee[r])&&!Le[n]&&(Ae[n]||!Re[n]):!("application/xhtml+xml"!==ke||!be[e.namespaceURI]))}(e)?(Ie(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!Rr(/<\/no(script|embed|frames)/i,e.innerHTML)?(K&&e.nodeType===co&&(t=e.textContent,br([C,O,D],(e=>{t=Nr(t,e," ")})),e.textContent!==t&&(Tr(n.removed,{element:e.cloneNode()}),e.textContent=t)),ze(N.afterSanitizeElements,e,null),!1):(Ie(e),!0)},We=function(e,t,n){if(oe&&("id"===t||"name"===t)&&(n in r||n in Ce))return!1;if(Y&&!G[t]&&Rr(R,t));else if(V&&Rr(L,t));else if(q.attributeCheck instanceof Function&&q.attributeCheck(t,e));else if(!z[t]||G[t]){if(!(Be(e)&&(W.tagNameCheck instanceof RegExp&&Rr(W.tagNameCheck,e)||W.tagNameCheck instanceof Function&&W.tagNameCheck(e))&&(W.attributeNameCheck instanceof RegExp&&Rr(W.attributeNameCheck,t)||W.attributeNameCheck instanceof Function&&W.attributeNameCheck(t,e))||"is"===t&&W.allowCustomizedBuiltInElements&&(W.tagNameCheck instanceof RegExp&&Rr(W.tagNameCheck,n)||W.tagNameCheck instanceof Function&&W.tagNameCheck(n))))return!1}else if(pe[t]);else if(Rr(P,Nr(n,M,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==Cr(n,"data:")||!fe[e]){if($&&!Rr(I,Nr(n,M,"")));else if(n)return!1}else;return!0},Be=function(e){return"annotation-xml"!==e&&xr(e,U)},Ge=function(e){ze(N.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||je(e))return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:z,forceKeepAttr:void 0};let o=t.length;for(;o--;){const i=t[o],{name:a,namespaceURI:u,value:l}=i,c=xe(a),s=l;let f="value"===a?s:Or(s);if(r.attrName=c,r.attrValue=f,r.keepAttr=!0,r.forceKeepAttr=void 0,ze(N.uponSanitizeAttribute,e,r),f=r.attrValue,!ie||"id"!==c&&"name"!==c||(Me(a,e),f="user-content-"+f),Z&&Rr(/((--!?|])>)|<\/(style|title|textarea)/i,f)){Me(a,e);continue}if("attributename"===c&&xr(f,"href")){Me(a,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){Me(a,e);continue}if(!X&&Rr(/\/>/i,f)){Me(a,e);continue}K&&br([C,O,D],(e=>{f=Nr(f,e," ")}));const _=xe(e.nodeName);if(We(_,c,f)){if(S&&"object"==typeof d&&"function"==typeof d.getAttributeType)if(u);else switch(d.getAttributeType(_,c)){case"TrustedHTML":f=S.createHTML(f);break;case"TrustedScriptURL":f=S.createScriptURL(f)}if(f!==s)try{u?e.setAttributeNS(u,a,f):e.setAttribute(a,f),je(e)?Ie(e):Er(n.removed)}catch(t){Me(a,e)}}else Me(a,e)}ze(N.afterSanitizeAttributes,e,null)},qe=function e(t){let n=null;const r=Pe(t);for(ze(N.beforeSanitizeShadowDOM,t,null);n=r.nextNode();)ze(N.uponSanitizeShadowNode,n,null),He(n),Ge(n),n.content instanceof a&&e(n.content);ze(N.afterSanitizeShadowDOM,t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,i=null,u=null,c=null;if(ge=!e,ge&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Fe(e)){if("function"!=typeof e.toString)throw Lr("toString is not a function");if("string"!=typeof(e=e.toString()))throw Lr("dirty is not a string, aborting")}if(!n.isSupported)return e;if(Q||De(t),n.removed=[],"string"==typeof e&&(ue=!1),ue){if(e.nodeName){const t=xe(e.nodeName);if(!j[t]||B[t])throw Lr("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof l)r=Ue("\x3c!----\x3e"),i=r.ownerDocument.importNode(e,!0),i.nodeType===lo&&"BODY"===i.nodeName||"HTML"===i.nodeName?r=i:r.appendChild(i);else{if(!te&&!K&&!J&&-1===e.indexOf("<"))return S&&re?S.createHTML(e):e;if(r=Ue(e),!r)return te?null:re?E:""}r&&ee&&Ie(r.firstChild);const s=Pe(ue?e:r);for(;u=s.nextNode();)He(u),Ge(u),u.content instanceof a&&qe(u.content);if(ue)return e;if(te){if(ne)for(c=k.call(r.ownerDocument);r.firstChild;)c.appendChild(r.firstChild);else c=r;return(z.shadowroot||z.shadowrootmode)&&(c=x.call(o,c,!0)),c}let f=J?r.outerHTML:r.innerHTML;return J&&j["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&Rr(io,r.ownerDocument.doctype.name)&&(f="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+f),K&&br([C,O,D],(e=>{f=Nr(f,e," ")})),S&&re?S.createHTML(f):f},n.setConfig=function(){De(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Q=!0},n.clearConfig=function(){Ne=null,Q=!1},n.isValidAttribute=function(e,t,n){Ne||De({});const r=xe(e),o=xe(t);return We(r,o,n)},n.addHook=function(e,t){"function"==typeof t&&Tr(N[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=Sr(N[e],t);return-1===n?void 0:Ar(N[e],n,1)[0]}return Er(N[e])},n.removeHooks=function(e){N[e]=[]},n.removeAllHooks=function(){N={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();const ho=()=>{const{banner:e,acceptAll:t,rejectAll:n,setModal:r}=lr();return $("div",{className:"fixed bottom-0 left-0 max-w-md px-5 py-4 m-2 shadow-md shadow-black/25 z-[9998] bg-background space-y-4 font-primary text-foreground rounded-md banner-wrapper",children:[e.title&&$("h3",{className:"m-0 text-lg font-semibold font-primary md:text-xl banner-title",children:e.title}),e.description&&$("p",{className:"m-0 text-sm leading-snug font-primary md:text-base banner-description",dangerouslySetInnerHTML:{__html:mo.sanitize(e.description,{USE_PROFILES:{html:!0},ALLOWED_TAGS:["b","i","em","strong","p","ul","li","ol","span","h2","h3","h4","h5","h6","a","div"],ALLOWED_ATTR:["href","target"]})}}),$("div",{className:"pt-2 space-y-2 banner-btns",children:[!gt(e.settings)&&$("button",{type:"button",className:"px-2 mr-2 text-sm font-semibold border-2 border-solid rounded bg-background font-primary text-primary md:px-3.5 py-1.5 md:py-2.5 border-primary hover:border-primary-hover hover:text-primary-hover active:border-primary-active active:text-primary-active transition-colors banner-btn-customise",onClick:()=>r(!0),children:e.customise}),$("button",{type:"button",className:"px-2 mr-2 text-sm font-semibold border-2 border-solid rounded bg-background font-primary text-primary md:px-3.5 py-1.5 md:py-2.5 border-primary hover:border-primary-hover hover:text-primary-hover active:border-primary-active active:text-primary-active transition-colors banner-btn-reject",onClick:n,children:e.reject}),$("button",{type:"button",className:"px-2 mr-2 text-sm font-semibold border-2 border-solid rounded bg-primary font-primary text-background md:px-3.5 py-1.5 md:py-2.5 border-primary hover:bg-primary-hover hover:border-primary-hover active:bg-primary-active active:border-primary-active transition-colors banner-btn-accept",onClick:t,children:e.accept})]})]})},yo=()=>{const{cookie:e,setPermissions:t,banner:n,setModal:r}=lr(),[o,i]=ce(e);return $("div",{className:"fixed bottom-0 left-0 w-full max-w-lg max-h-full px-5 py-4 m-2 overflow-y-auto text-black shadow-md shadow-black/25 z-[9999] bg-background text-foreground font-primary rounded-md banner-wrapper",children:[$("div",{className:"space-y-6",children:[$("div",{children:[$("h3",{className:"w-10/12 m-0 text-xl font-semibold font-primary md:text-2xl banner-title",children:n.customise}),n.customiseDescription&&$("p",{className:"m-0 mt-2 text-sm leading-snug font-primary md:text-base banner-settings-general-description",dangerouslySetInnerHTML:{__html:mo.sanitize(n.customiseDescription,{USE_PROFILES:{html:!0},ALLOWED_TAGS:["b","i","em","strong","p","ul","li","ol","span","h2","h3","h4","h5","h6","a","div"],ALLOWED_ATTR:["href","target"]})}})]}),n.settings.map((({slug:e,title:t,description:n})=>$("div",{children:[$("div",{className:"flex items-start justify-between",children:[$("h3",{className:"m-0 text-lg font-semibold font-primary banner-settings-title",children:t}),$("button",{type:"button",className:(o[e]?"bg-primary":"bg-gray-200")+" relative inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-primary focus:ring-offset-2 mt-0.5 banner-settings-toggle",role:"switch","aria-checked":"false",onClick:()=>i({...o,[e]:!o[e]}),children:[$("span",{className:"sr-only",children:"Toggle"}),$("span",{"aria-hidden":"true",className:(o[e]?"translate-x-5":"translate-x-0")+" pointer-events-none inline-block h-5 w-5 transform rounded-full bg-background shadow ring-0 transition duration-200 ease-in-out"})]})]}),$("p",{className:"m-0 mt-2 text-sm leading-snug font-primary md:text-base banner-settings-description",children:n})]},`setting-${e}`))),$("div",{className:"pt-4",children:$("button",{type:"button",className:"px-2 mr-2 text-sm font-semibold border-2 border-solid rounded bg-primary font-primary text-background md:px-3.5 py-1.5 md:py-2.5 border-primary hover:bg-primary-hover hover:border-primary-hover active:bg-primary-active active:border-primary-active transition-colors banner-settings-save",onClick:()=>{t(o),r(!1)},children:n.save})})]}),$("button",{type:"button",className:"absolute top-0 right-0 w-8 h-8 mt-0 text-xl rounded-full banner-settings-close",onClick:()=>r(!1),children:"×"})]})},vo=document.createElement("div");vo.id="lkrl-wrapper",document.body.appendChild(vo),B($((()=>{const{choiceMade:e,init:t,settingsOpen:n}=lr();return fe((()=>{t()}),[]),$(S,{children:[!e&&!n&&$(ho,{}),n&&$(yo,{})]})}),{}),vo)}();
|
package/doc/GTM_INTEGRATION.md
CHANGED
|
@@ -29,7 +29,7 @@ Then you can add the tag and configure it.
|
|
|
29
29
|
4. Click on the _Tag Configuration_ block and select _Leckerli Cookie Banner_ in the _Custom_ section.
|
|
30
30
|
5. (Optional) Click on _Tag permissions_ and review them.
|
|
31
31
|
6. Set the _leckerli settings_ according to the configuration section below and the [Leckerli README](../README.md). The field must be a valid JSON string and can have multiple lines. You should at least remove not required consent from the permissions array.
|
|
32
|
-
7. (Optional) Change the default consent (this is the consent values before the user's consent settings are updated). The default is set to _denied_ for all consents (_ad_storage_, _analytics_storage_, _functionality_storage_, _personalization_storage_, and _security_storage_).
|
|
32
|
+
7. (Optional) Change the default consent (this is the consent values before the user's consent settings are updated). The default is set to _denied_ for all consents (_ad_storage_, _analytics_storage_, _ad_user_data_, _ad_personalization_, _functionality_storage_, _personalization_storage_, and _security_storage_).
|
|
33
33
|
8. Click on the _Save_ button and optionally choose another tag name.
|
|
34
34
|
|
|
35
35
|
### (Optional) Create Leckerli trigger event
|
|
@@ -61,6 +61,7 @@ Using the html[lang] attribute, a _Trigger_ and a _Tag_ dedicated for each langu
|
|
|
61
61
|
"accept": "Alles akzeptieren",
|
|
62
62
|
"reject": "Alles ablehnen",
|
|
63
63
|
"customise": "Anpassen",
|
|
64
|
+
"customiseDescription": "Beim Surfen im Internet werden Daten, meist Cookies, auf Ihrem Gerät gespeichert oder abgerufen. Diese dienen hauptsächlich der Funktionalität der Website und können auch für Statistik, Sicherheit, Überwachung und Marketing genutzt werden. Obwohl sie Sie meist nicht direkt identifizieren, ermöglichen sie ein personalisiertes Erlebnis. Sie können Ihre Cookie-Präferenzen anpassen, aber die Ablehnung bestimmter Cookies kann Ihr Surferlebnis beeinträchtigen.",
|
|
64
65
|
"save": "Speichern",
|
|
65
66
|
"settings": [
|
|
66
67
|
{
|
package/doc/gtm-tag-template.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
const copyFromWindow = require('copyFromWindow');
|
|
2
2
|
const createQueue = require('createQueue');
|
|
3
3
|
const getCookieValues = require('getCookieValues');
|
|
4
|
+
const gtagSet = require('gtagSet');
|
|
4
5
|
const injectScript = require('injectScript');
|
|
5
6
|
const JSON = require('JSON');
|
|
6
7
|
const log = require('logToConsole');
|
|
@@ -12,6 +13,8 @@ const updateConsentState = require('updateConsentState');
|
|
|
12
13
|
const DEFAULT_CONSENT_STATE = {
|
|
13
14
|
ad_storage: 'denied',
|
|
14
15
|
analytics_storage: 'denied',
|
|
16
|
+
ad_user_data: 'denied',
|
|
17
|
+
ad_personalization: 'denied',
|
|
15
18
|
functionality_storage: 'denied',
|
|
16
19
|
personalization_storage: 'denied',
|
|
17
20
|
security_storage: 'denied',
|
|
@@ -25,15 +28,20 @@ const LECKERLI_JS_URL = 'https://www.unpkg.com/@antistatique/leckerli@1.2/dist/a
|
|
|
25
28
|
/**
|
|
26
29
|
* Used to merge an object in another.
|
|
27
30
|
*/
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
if (
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
var mergeObject = function(target, source) {
|
|
32
|
+
for (var key in source) {
|
|
33
|
+
if (source.hasOwnProperty(key)) {
|
|
34
|
+
var value = source[key];
|
|
35
|
+
if (value && typeof value === 'object' && value.constructor === Object) {
|
|
36
|
+
if (!target[key] || typeof target[key] !== 'object' || target[key].constructor !== Object) {
|
|
37
|
+
target[key] = {};
|
|
38
|
+
}
|
|
39
|
+
mergeObject(target[key], value);
|
|
40
|
+
} else {
|
|
41
|
+
target[key] = value;
|
|
42
|
+
}
|
|
34
43
|
}
|
|
35
|
-
|
|
36
|
-
}, target);
|
|
44
|
+
}
|
|
37
45
|
};
|
|
38
46
|
|
|
39
47
|
/**
|
|
@@ -57,18 +65,19 @@ const updateLeckerliConsent = leckerliConsent => {
|
|
|
57
65
|
*/
|
|
58
66
|
const main = (data) => {
|
|
59
67
|
// Set developer ID
|
|
60
|
-
|
|
68
|
+
gtagSet('developer_id.dM2ExY2', true);
|
|
61
69
|
|
|
62
70
|
// Set default consent state
|
|
63
|
-
|
|
71
|
+
let defaultConsentState = { wait_for_update: 500 };
|
|
64
72
|
Object.entries(DEFAULT_CONSENT_STATE).forEach((item) => {
|
|
65
73
|
defaultConsentState[item[0]] = item[1];
|
|
66
74
|
});
|
|
67
75
|
|
|
68
76
|
if (typeof data.defaultConsent !== 'undefined')
|
|
69
77
|
{
|
|
70
|
-
data.defaultConsent.reduce((hash, item) => {
|
|
78
|
+
defaultConsentState = data.defaultConsent.reduce((hash, item) => {
|
|
71
79
|
hash[item.consentName] = item.consentState;
|
|
80
|
+
return hash;
|
|
72
81
|
}, defaultConsentState);
|
|
73
82
|
}
|
|
74
83
|
|
package/doc/gtm-tag-template.tpl
CHANGED
|
@@ -25,7 +25,7 @@ ___TEMPLATE_PARAMETERS___
|
|
|
25
25
|
"name": "leckerliSettings",
|
|
26
26
|
"displayName": "Leckerli Settings",
|
|
27
27
|
"simpleValueType": true,
|
|
28
|
-
"defaultValue": "{\"permissions\": [\"ad_storage\", \"analytics_storage\", \"functionality_storage\", \"personalization_storage\", \"security_storage\"] }",
|
|
28
|
+
"defaultValue": "{\"permissions\": [\"ad_storage\", \"analytics_storage\", \"ad_user_data\", \"ad_personalization\", \"functionality_storage\", \"personalization_storage\", \"security_storage\"] }",
|
|
29
29
|
"lineCount": 8,
|
|
30
30
|
"help": "JSON format"
|
|
31
31
|
},
|
|
@@ -57,6 +57,14 @@ ___TEMPLATE_PARAMETERS___
|
|
|
57
57
|
"value": "analytics_storage",
|
|
58
58
|
"displayValue": "analytics_storage"
|
|
59
59
|
},
|
|
60
|
+
{
|
|
61
|
+
"value": "ad_user_data",
|
|
62
|
+
"displayValue": "ad_user_data"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"value": "ad_personalization",
|
|
66
|
+
"displayValue": "ad_personalization"
|
|
67
|
+
},
|
|
60
68
|
{
|
|
61
69
|
"value": "functionality_storage",
|
|
62
70
|
"displayValue": "functionality_storage"
|
|
@@ -97,6 +105,7 @@ ___SANDBOXED_JS_FOR_WEB_TEMPLATE___
|
|
|
97
105
|
const copyFromWindow = require('copyFromWindow');
|
|
98
106
|
const createQueue = require('createQueue');
|
|
99
107
|
const getCookieValues = require('getCookieValues');
|
|
108
|
+
const gtagSet = require('gtagSet');
|
|
100
109
|
const injectScript = require('injectScript');
|
|
101
110
|
const JSON = require('JSON');
|
|
102
111
|
const log = require('logToConsole');
|
|
@@ -108,6 +117,8 @@ const updateConsentState = require('updateConsentState');
|
|
|
108
117
|
const DEFAULT_CONSENT_STATE = {
|
|
109
118
|
ad_storage: 'denied',
|
|
110
119
|
analytics_storage: 'denied',
|
|
120
|
+
ad_user_data: 'denied',
|
|
121
|
+
ad_personalization: 'denied',
|
|
111
122
|
functionality_storage: 'denied',
|
|
112
123
|
personalization_storage: 'denied',
|
|
113
124
|
security_storage: 'denied',
|
|
@@ -121,15 +132,20 @@ const LECKERLI_JS_URL = 'https://www.unpkg.com/@antistatique/leckerli@1.2/dist/a
|
|
|
121
132
|
/**
|
|
122
133
|
* Used to merge an object in another.
|
|
123
134
|
*/
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
if (
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
135
|
+
var mergeObject = function(target, source) {
|
|
136
|
+
for (var key in source) {
|
|
137
|
+
if (source.hasOwnProperty(key)) {
|
|
138
|
+
var value = source[key];
|
|
139
|
+
if (value && typeof value === 'object' && value.constructor === Object) {
|
|
140
|
+
if (!target[key] || typeof target[key] !== 'object' || target[key].constructor !== Object) {
|
|
141
|
+
target[key] = {};
|
|
142
|
+
}
|
|
143
|
+
mergeObject(target[key], value);
|
|
144
|
+
} else {
|
|
145
|
+
target[key] = value;
|
|
146
|
+
}
|
|
130
147
|
}
|
|
131
|
-
|
|
132
|
-
}, target);
|
|
148
|
+
}
|
|
133
149
|
};
|
|
134
150
|
|
|
135
151
|
/**
|
|
@@ -153,18 +169,19 @@ const updateLeckerliConsent = leckerliConsent => {
|
|
|
153
169
|
*/
|
|
154
170
|
const main = (data) => {
|
|
155
171
|
// Set developer ID
|
|
156
|
-
|
|
172
|
+
gtagSet('developer_id.dM2ExY2', true);
|
|
157
173
|
|
|
158
174
|
// Set default consent state
|
|
159
|
-
|
|
175
|
+
let defaultConsentState = { wait_for_update: 500 };
|
|
160
176
|
Object.entries(DEFAULT_CONSENT_STATE).forEach((item) => {
|
|
161
177
|
defaultConsentState[item[0]] = item[1];
|
|
162
178
|
});
|
|
163
179
|
|
|
164
180
|
if (typeof data.defaultConsent !== 'undefined')
|
|
165
181
|
{
|
|
166
|
-
data.defaultConsent.reduce((hash, item) => {
|
|
182
|
+
defaultConsentState = data.defaultConsent.reduce((hash, item) => {
|
|
167
183
|
hash[item.consentName] = item.consentState;
|
|
184
|
+
return hash;
|
|
168
185
|
}, defaultConsentState);
|
|
169
186
|
}
|
|
170
187
|
|
|
@@ -395,6 +412,68 @@ ___WEB_PERMISSIONS___
|
|
|
395
412
|
}
|
|
396
413
|
]
|
|
397
414
|
},
|
|
415
|
+
{
|
|
416
|
+
"type": 3,
|
|
417
|
+
"mapKey": [
|
|
418
|
+
{
|
|
419
|
+
"type": 1,
|
|
420
|
+
"string": "consentType"
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"type": 1,
|
|
424
|
+
"string": "read"
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"type": 1,
|
|
428
|
+
"string": "write"
|
|
429
|
+
}
|
|
430
|
+
],
|
|
431
|
+
"mapValue": [
|
|
432
|
+
{
|
|
433
|
+
"type": 1,
|
|
434
|
+
"string": "ad_user_data"
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
"type": 8,
|
|
438
|
+
"boolean": true
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"type": 8,
|
|
442
|
+
"boolean": true
|
|
443
|
+
}
|
|
444
|
+
]
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
"type": 3,
|
|
448
|
+
"mapKey": [
|
|
449
|
+
{
|
|
450
|
+
"type": 1,
|
|
451
|
+
"string": "consentType"
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
"type": 1,
|
|
455
|
+
"string": "read"
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
"type": 1,
|
|
459
|
+
"string": "write"
|
|
460
|
+
}
|
|
461
|
+
],
|
|
462
|
+
"mapValue": [
|
|
463
|
+
{
|
|
464
|
+
"type": 1,
|
|
465
|
+
"string": "ad_personalization"
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
"type": 8,
|
|
469
|
+
"boolean": true
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
"type": 8,
|
|
473
|
+
"boolean": true
|
|
474
|
+
}
|
|
475
|
+
]
|
|
476
|
+
},
|
|
398
477
|
{
|
|
399
478
|
"type": 3,
|
|
400
479
|
"mapKey": [
|
|
@@ -633,6 +712,32 @@ ___WEB_PERMISSIONS___
|
|
|
633
712
|
"isEditedByUser": true
|
|
634
713
|
},
|
|
635
714
|
"isRequired": true
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
"instance": {
|
|
718
|
+
"key": {
|
|
719
|
+
"publicId": "write_data_layer",
|
|
720
|
+
"versionId": "1"
|
|
721
|
+
},
|
|
722
|
+
"param": [
|
|
723
|
+
{
|
|
724
|
+
"key": "keyPatterns",
|
|
725
|
+
"value": {
|
|
726
|
+
"type": 2,
|
|
727
|
+
"listItem": [
|
|
728
|
+
{
|
|
729
|
+
"type": 1,
|
|
730
|
+
"string": "developer_id.dM2ExY2"
|
|
731
|
+
}
|
|
732
|
+
]
|
|
733
|
+
}
|
|
734
|
+
}
|
|
735
|
+
]
|
|
736
|
+
},
|
|
737
|
+
"clientAnnotations": {
|
|
738
|
+
"isEditedByUser": true
|
|
739
|
+
},
|
|
740
|
+
"isRequired": true
|
|
636
741
|
}
|
|
637
742
|
]
|
|
638
743
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antistatique/leckerli",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.6",
|
|
4
4
|
"description": "Lightweight and customisable GDPR cookie consent manager",
|
|
5
5
|
"private": false,
|
|
6
6
|
"repository": "https://github.com/antistatique/leckerli",
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
"postpublish": "pinst --enable"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@types/ramda": "^0.29.
|
|
26
|
-
"dompurify": "^3.
|
|
25
|
+
"@types/ramda": "^0.29.12",
|
|
26
|
+
"dompurify": "^3.3.1",
|
|
27
27
|
"js-cookie": "^3.0.5",
|
|
28
|
-
"preact": "^10.
|
|
28
|
+
"preact": "^10.28.4",
|
|
29
29
|
"ramda": "^0.29.0",
|
|
30
30
|
"react": "npm:@preact/compat",
|
|
31
31
|
"zustand": "^4.4.1"
|
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
"@rollup/plugin-commonjs": "^25.0.4",
|
|
35
35
|
"@rollup/plugin-node-resolve": "^15.2.1",
|
|
36
36
|
"@rollup/plugin-replace": "^5.0.2",
|
|
37
|
-
"@rollup/plugin-terser": "^0.4.
|
|
37
|
+
"@rollup/plugin-terser": "^0.4.4",
|
|
38
38
|
"@rollup/plugin-typescript": "^11.1.3",
|
|
39
|
-
"@types/dompurify": "^3.0
|
|
40
|
-
"@types/js-cookie": "^3.0.
|
|
39
|
+
"@types/dompurify": "^3.2.0",
|
|
40
|
+
"@types/js-cookie": "^3.0.6",
|
|
41
41
|
"@typescript-eslint/eslint-plugin": "^6.7.0",
|
|
42
42
|
"@typescript-eslint/parser": "^6.7.0",
|
|
43
|
-
"autoprefixer": "^10.4.
|
|
43
|
+
"autoprefixer": "^10.4.27",
|
|
44
44
|
"babel-eslint": "^10.1.0",
|
|
45
45
|
"browser-sync": "^2.29.3",
|
|
46
46
|
"concurrently": "^8.2.1",
|
|
@@ -50,21 +50,21 @@
|
|
|
50
50
|
"eslint-config-prettier": "^9.0.0",
|
|
51
51
|
"eslint-import-resolver-typescript": "^3.6.0",
|
|
52
52
|
"eslint-plugin-html": "^7.1.0",
|
|
53
|
-
"eslint-plugin-import": "^2.
|
|
54
|
-
"eslint-plugin-jsx-a11y": "^6.
|
|
55
|
-
"eslint-plugin-prettier": "^5.
|
|
56
|
-
"eslint-plugin-react": "^7.
|
|
53
|
+
"eslint-plugin-import": "^2.32.0",
|
|
54
|
+
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
55
|
+
"eslint-plugin-prettier": "^5.5.5",
|
|
56
|
+
"eslint-plugin-react": "^7.37.5",
|
|
57
57
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
58
58
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
59
59
|
"eslint-plugin-tailwind": "^0.2.1",
|
|
60
60
|
"husky": "^8.0.3",
|
|
61
61
|
"lint-staged": "^14.0.1",
|
|
62
62
|
"pinst": "^3.0.0",
|
|
63
|
-
"postcss": "^8.
|
|
64
|
-
"postcss-prefixwrap": "^1.
|
|
65
|
-
"prettier": "^3.
|
|
63
|
+
"postcss": "^8.5.6",
|
|
64
|
+
"postcss-prefixwrap": "^1.57.2",
|
|
65
|
+
"prettier": "^3.8.1",
|
|
66
66
|
"rollup": "^3.29.2",
|
|
67
67
|
"tailwindcss": "^3.3.3",
|
|
68
|
-
"typescript": "^5.
|
|
68
|
+
"typescript": "^5.9.3"
|
|
69
69
|
}
|
|
70
70
|
}
|
package/src/defaultSettings.ts
CHANGED
package/src/hooks/useSettings.ts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import cookies from 'js-cookie';
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
isEmpty,
|
|
4
|
+
isNil,
|
|
5
|
+
isNotNil,
|
|
6
|
+
mergeDeepRight,
|
|
7
|
+
symmetricDifference,
|
|
8
|
+
} from 'ramda';
|
|
3
9
|
import { create } from 'zustand';
|
|
4
10
|
|
|
5
11
|
import defaultSettings from '../defaultSettings.ts';
|
|
@@ -26,19 +32,15 @@ const initialState = mergeDeepRight(
|
|
|
26
32
|
window.leckerliSettings ?? {}
|
|
27
33
|
);
|
|
28
34
|
|
|
29
|
-
// Build the expiration date
|
|
30
|
-
const expirationDate = new Date();
|
|
31
|
-
expirationDate.setMonth(expirationDate.getMonth() + 1);
|
|
32
|
-
|
|
33
35
|
// Define cookie configuration
|
|
34
36
|
const cookieConfig: {
|
|
35
37
|
sameSite: 'strict';
|
|
36
38
|
domain: string;
|
|
37
|
-
expires
|
|
39
|
+
expires: number;
|
|
38
40
|
} = {
|
|
39
41
|
sameSite: 'strict',
|
|
40
42
|
domain: initialState.domain,
|
|
41
|
-
expires:
|
|
43
|
+
expires: initialState.expires, // 3 months by default
|
|
42
44
|
};
|
|
43
45
|
|
|
44
46
|
// Get cookie value
|
|
@@ -56,7 +58,16 @@ initialState.cookie = isNotNil(initialCookie)
|
|
|
56
58
|
);
|
|
57
59
|
|
|
58
60
|
// With the existing cookie or not, set the choiceMade
|
|
59
|
-
initialState.choiceMade =
|
|
61
|
+
initialState.choiceMade =
|
|
62
|
+
isNotNil(initialCookie) &&
|
|
63
|
+
isEmpty(
|
|
64
|
+
symmetricDifference(
|
|
65
|
+
Object.keys(initialState.cookie).filter(
|
|
66
|
+
k => !Object.keys(initialState.baseData).includes(k)
|
|
67
|
+
),
|
|
68
|
+
initialState.permissions
|
|
69
|
+
)
|
|
70
|
+
);
|
|
60
71
|
|
|
61
72
|
// Deliver the hook
|
|
62
73
|
const useSettings = create<SettingsStore>((set, getState) => ({
|
package/src/types/settings.ts
CHANGED