diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index 4cc1ec2679..0000000000 --- a/.eslintignore +++ /dev/null @@ -1,3 +0,0 @@ -**/node_modules/* -**/out/* -**/.next/* \ No newline at end of file diff --git a/.eslintrc.json b/.eslintrc.json deleted file mode 100644 index 892ef6271c..0000000000 --- a/.eslintrc.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "parser": "@typescript-eslint/parser", - "parserOptions": { - "project": "./tsconfig.json" - }, - "plugins": ["@typescript-eslint"], - "extends": [ - "airbnb-typescript", - "plugin:@typescript-eslint/recommended", - "next", - "prettier" - ], - "env": { - "es2021": true, - "browser": true, - "node": true - }, - "rules": { - "radix": "off", - "arrow-body-style": "warn", - "consistent-return": "off", - "import/no-absolute-path": "off", - "react/display-name": "off", - "react/require-default-props": "off", - "react/no-unescaped-entities": "off", - "react/jsx-props-no-spreading": "off", - "@next/next/no-server-import-in-page": "off", - "@typescript-eslint/explicit-module-boundary-types": "off", - "@typescript-eslint/explicit-function-return-type": "off", - "@typescript-eslint/explicit-member-accessibility": "off", - "@typescript-eslint/indent": "off", - "@typescript-eslint/member-delimiter-style": "off", - "@typescript-eslint/no-explicit-any": "off", - "@typescript-eslint/no-var-requires": "off", - "@typescript-eslint/no-use-before-define": "off", - "@typescript-eslint/no-shadow": ["error", { "allow": ["_"] }], - "@typescript-eslint/no-unused-vars": [ - "warn", - { - "argsIgnorePattern": "^_" - } - ], - "no-console": [ - "warn", - { - "allow": ["warn", "error", "info"] - } - ], - "jsx-a11y/anchor-is-valid": [ - "warn", - { - // disable inside component, because it'll be inherited - "components": ["Link"], - "specialLink": ["href"], - "aspects": ["invalidHref", "preferButton"] - } - ] - } -} diff --git a/.github/workflows/code-check.yml b/.github/workflows/code-check.yml new file mode 100644 index 0000000000..0253aa656c --- /dev/null +++ b/.github/workflows/code-check.yml @@ -0,0 +1,29 @@ +name: Code check + +on: + pull_request: + branches: ["*"] + +jobs: + quality-assurance: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup Biome + uses: biomejs/setup-biome@v2 + - name: Run Biome + run: biome ci --reporter=github . + type: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v3 + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: 20 + - name: Install dependencies + run: npm install + - name: Run TypeScript compiler + run: npm run type-check diff --git a/.husky/pre-commit b/.husky/pre-commit index da6416ca9d..36af219892 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -2,4 +2,3 @@ . "$(dirname "$0")/_/husky.sh" npx lint-staged -npm run type-check diff --git a/.prettierignore b/.prettierignore deleted file mode 100644 index 14fabc979a..0000000000 --- a/.prettierignore +++ /dev/null @@ -1,5 +0,0 @@ -node_modules -.next -yarn.lock -package-lock.json -public \ No newline at end of file diff --git a/.prettierrc b/.prettierrc deleted file mode 100644 index 919c331ec2..0000000000 --- a/.prettierrc +++ /dev/null @@ -1,9 +0,0 @@ -{ - "plugins": ["prettier-plugin-jsdoc", "prettier-plugin-tailwindcss"], - "semi": false, - "singleQuote": false, - "printWidth": 85, - "useTabs": false, - "tabWidth": 2, - "trailingComma": "es5" -} diff --git a/biome.json b/biome.json new file mode 100644 index 0000000000..479bd96aaf --- /dev/null +++ b/biome.json @@ -0,0 +1,88 @@ +{ + "$schema": "https://biomejs.dev/schemas/1.8.3/schema.json", + "formatter": { + "enabled": true, + "formatWithErrors": false, + "indentStyle": "space", + "indentWidth": 2, + "lineEnding": "lf", + "lineWidth": 85, + "attributePosition": "auto" + }, + "files": { + "include": ["src", "cypress"], + "ignore": ["node_modules", ".next", "public", ".out"] + }, + "organizeImports": { "enabled": true }, + "linter": { + "enabled": true, + "rules": { + "recommended": false, + "a11y": { "useValidAnchor": "warn" }, + "complexity": { + "noBannedTypes": "error", + "noUselessConstructor": "error", + "noUselessTypeConstraint": "error", + "useLiteralKeys": "error" + }, + "correctness": { + "noInvalidUseBeforeDeclaration": "off", + "noPrecisionLoss": "error", + "noUnusedVariables": "off", + "useArrayLiterals": "off", + "noConstAssign": "off", + "noGlobalObjectCalls": "off", + "noInvalidConstructorSuper": "off", + "noNewSymbol": "off", + "noSetterReturn": "off", + "noUndeclaredVariables": "off", + "noUnreachable": "off", + "noUnreachableSuper": "off" + }, + "style": { + "noInferrableTypes": "error", + "noNamespace": "error", + "noNonNullAssertion": "warn", + "useAsConstAssertion": "error", + "useBlockStatements": "off", + "useDefaultParameterLast": "error", + "noArguments": "error", + "noVar": "error", + "useConst": "error" + }, + "suspicious": { + "noDuplicateClassMembers": "error", + "noEmptyBlockStatements": "warn", + "noExplicitAny": "off", + "noExtraNonNullAssertion": "error", + "noMisleadingInstantiator": "error", + "noRedeclare": "error", + "useAwait": "off", + "useNamespaceKeyword": "error", + "noDuplicateObjectKeys": "off", + "noDuplicateParameters": "off", + "noFunctionAssign": "off", + "noImportAssign": "off", + "noUnsafeNegation": "off", + "useGetterReturn": "off", + "useValidTypeof": "off" + }, + "nursery": { + "useSortedClasses": "info" + } + } + }, + "javascript": { + "formatter": { + "jsxQuoteStyle": "double", + "quoteProperties": "asNeeded", + "trailingCommas": "es5", + "semicolons": "asNeeded", + "arrowParentheses": "always", + "bracketSpacing": true, + "bracketSameLine": false, + "quoteStyle": "double", + "attributePosition": "auto" + } + } +} diff --git a/cypress.config.ts b/cypress.config.ts index bf11d85f99..5bdd6e32f5 100644 --- a/cypress.config.ts +++ b/cypress.config.ts @@ -1,6 +1,6 @@ +import fs from "fs" // eslint-disable-next-line import/no-extraneous-dependencies import { defineConfig } from "cypress" -import fs from "fs" export default defineConfig({ e2e: { diff --git a/cypress/support/commands.ts b/cypress/support/commands.ts index fd44f4d25a..61d389e206 100644 --- a/cypress/support/commands.ts +++ b/cypress/support/commands.ts @@ -22,7 +22,7 @@ Cypress.Commands.add("clearIndexedDB", () => { indexedDB.deleteDatabase("guild.xyz") }) -// eslint-disable-next-line @typescript-eslint/no-namespace +// biome-ignore lint/style/noNamespace: declare namespace Cypress { interface Chainable { getByDataTest(selector: string): Chainable> diff --git a/lint-staged.config.mjs b/lint-staged.config.mjs new file mode 100644 index 0000000000..37cfef3dfb --- /dev/null +++ b/lint-staged.config.mjs @@ -0,0 +1,6 @@ +const config = { + "*.{mjs,js,jsx,ts,tsx}": ["biome check --write"], + "*.json": ["biome format --write"], +} + +export default config diff --git a/package-lock.json b/package-lock.json index 27017dc4f3..d8c0c26b6d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -102,6 +102,7 @@ "zod": "^3.22.4" }, "devDependencies": { + "@biomejs/biome": "1.8.3", "@chromatic-com/storybook": "^1.6.0", "@esbuild/linux-x64": "^0.22.0", "@hookform/devtools": "^4.3.0", @@ -119,19 +120,12 @@ "@types/node": "^20.11.26", "@types/react": "^18.2.65", "@types/react-google-recaptcha": "^2.1.5", - "@typescript-eslint/eslint-plugin": "^5.54.0", "abitype": "^1.0.2", "autoprefixer": "^10.4.19", "circular-dependency-plugin": "^5.2.2", "cypress": "^13.3.2", "dotenv-cli": "^7.4.1", "dpdm": "^3.14.0", - "eslint": "^8.57.0", - "eslint-config-airbnb": "^19.0.4", - "eslint-config-airbnb-typescript": "^17.0.0", - "eslint-config-next": "^14.1.3", - "eslint-config-prettier": "^8.6.0", - "eslint-plugin-storybook": "^0.8.0", "husky": "^8.0.3", "lint-staged": "^13.0.0", "postcss": "^8.4.38", @@ -2177,6 +2171,161 @@ "dev": true, "license": "BSD-2-Clause" }, + "node_modules/@biomejs/biome": { + "version": "1.8.3", + "resolved": "https://registry.npmjs.org/@biomejs/biome/-/biome-1.8.3.tgz", + "integrity": "sha512-/uUV3MV+vyAczO+vKrPdOW0Iaet7UnJMU4bNMinggGJTAnBPjCoLEYcyYtYHNnUNYlv4xZMH6hVIQCAozq8d5w==", + "dev": true, + "hasInstallScript": true, + "bin": { + "biome": "bin/biome" + }, + "engines": { + "node": ">=14.21.3" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/biome" + }, + "optionalDependencies": { + "@biomejs/cli-darwin-arm64": "1.8.3", + "@biomejs/cli-darwin-x64": "1.8.3", + "@biomejs/cli-linux-arm64": "1.8.3", + "@biomejs/cli-linux-arm64-musl": "1.8.3", + "@biomejs/cli-linux-x64": "1.8.3", + "@biomejs/cli-linux-x64-musl": "1.8.3", + "@biomejs/cli-win32-arm64": "1.8.3", + "@biomejs/cli-win32-x64": "1.8.3" + } + }, + "node_modules/@biomejs/cli-darwin-arm64": { + "version": "1.8.3", + "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-1.8.3.tgz", + "integrity": "sha512-9DYOjclFpKrH/m1Oz75SSExR8VKvNSSsLnVIqdnKexj6NwmiMlKk94Wa1kZEdv6MCOHGHgyyoV57Cw8WzL5n3A==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=14.21.3" + } + }, + "node_modules/@biomejs/cli-darwin-x64": { + "version": "1.8.3", + "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-x64/-/cli-darwin-x64-1.8.3.tgz", + "integrity": "sha512-UeW44L/AtbmOF7KXLCoM+9PSgPo0IDcyEUfIoOXYeANaNXXf9mLUwV1GeF2OWjyic5zj6CnAJ9uzk2LT3v/wAw==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=14.21.3" + } + }, + "node_modules/@biomejs/cli-linux-arm64": { + "version": "1.8.3", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64/-/cli-linux-arm64-1.8.3.tgz", + "integrity": "sha512-fed2ji8s+I/m8upWpTJGanqiJ0rnlHOK3DdxsyVLZQ8ClY6qLuPc9uehCREBifRJLl/iJyQpHIRufLDeotsPtw==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.21.3" + } + }, + "node_modules/@biomejs/cli-linux-arm64-musl": { + "version": "1.8.3", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-1.8.3.tgz", + "integrity": "sha512-9yjUfOFN7wrYsXt/T/gEWfvVxKlnh3yBpnScw98IF+oOeCYb5/b/+K7YNqKROV2i1DlMjg9g/EcN9wvj+NkMuQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.21.3" + } + }, + "node_modules/@biomejs/cli-linux-x64": { + "version": "1.8.3", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64/-/cli-linux-x64-1.8.3.tgz", + "integrity": "sha512-I8G2QmuE1teISyT8ie1HXsjFRz9L1m5n83U1O6m30Kw+kPMPSKjag6QGUn+sXT8V+XWIZxFFBoTDEDZW2KPDDw==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.21.3" + } + }, + "node_modules/@biomejs/cli-linux-x64-musl": { + "version": "1.8.3", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-1.8.3.tgz", + "integrity": "sha512-UHrGJX7PrKMKzPGoEsooKC9jXJMa28TUSMjcIlbDnIO4EAavCoVmNQaIuUSH0Ls2mpGMwUIf+aZJv657zfWWjA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.21.3" + } + }, + "node_modules/@biomejs/cli-win32-arm64": { + "version": "1.8.3", + "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-arm64/-/cli-win32-arm64-1.8.3.tgz", + "integrity": "sha512-J+Hu9WvrBevfy06eU1Na0lpc7uR9tibm9maHynLIoAjLZpQU3IW+OKHUtyL8p6/3pT2Ju5t5emReeIS2SAxhkQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=14.21.3" + } + }, + "node_modules/@biomejs/cli-win32-x64": { + "version": "1.8.3", + "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-x64/-/cli-win32-x64-1.8.3.tgz", + "integrity": "sha512-/PJ59vA1pnQeKahemaQf4Nyj7IKUvGQSc3Ze1uIGi+Wvr1xF7rGobSrAAG01T/gUDG21vkDsZYM03NAmPiVkqg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=14.21.3" + } + }, "node_modules/@bugsnag/browser": { "version": "7.25.0", "license": "MIT", @@ -3988,83 +4137,6 @@ "node": ">=12" } }, - "node_modules/@eslint-community/eslint-utils": { - "version": "4.4.0", - "dev": true, - "license": "MIT", - "dependencies": { - "eslint-visitor-keys": "^3.3.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "peerDependencies": { - "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" - } - }, - "node_modules/@eslint-community/regexpp": { - "version": "4.11.0", - "dev": true, - "license": "MIT", - "engines": { - "node": "^12.0.0 || ^14.0.0 || >=16.0.0" - } - }, - "node_modules/@eslint/eslintrc": { - "version": "2.1.4", - "dev": true, - "license": "MIT", - "dependencies": { - "ajv": "^6.12.4", - "debug": "^4.3.2", - "espree": "^9.6.0", - "globals": "^13.19.0", - "ignore": "^5.2.0", - "import-fresh": "^3.2.1", - "js-yaml": "^4.1.0", - "minimatch": "^3.1.2", - "strip-json-comments": "^3.1.1" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/@eslint/eslintrc/node_modules/globals": { - "version": "13.24.0", - "dev": true, - "license": "MIT", - "dependencies": { - "type-fest": "^0.20.2" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@eslint/eslintrc/node_modules/type-fest": { - "version": "0.20.2", - "dev": true, - "license": "(MIT OR CC0-1.0)", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@eslint/js": { - "version": "8.57.0", - "dev": true, - "license": "MIT", - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, "node_modules/@ethereumjs/common": { "version": "3.2.0", "license": "MIT", @@ -5125,36 +5197,6 @@ "react-hook-form": "^7.0.0" } }, - "node_modules/@humanwhocodes/config-array": { - "version": "0.11.14", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@humanwhocodes/object-schema": "^2.0.2", - "debug": "^4.3.1", - "minimatch": "^3.0.5" - }, - "engines": { - "node": ">=10.10.0" - } - }, - "node_modules/@humanwhocodes/module-importer": { - "version": "1.0.1", - "dev": true, - "license": "Apache-2.0", - "engines": { - "node": ">=12.22" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/nzakas" - } - }, - "node_modules/@humanwhocodes/object-schema": { - "version": "2.0.3", - "dev": true, - "license": "BSD-3-Clause" - }, "node_modules/@img/sharp-libvips-darwin-arm64": { "version": "1.0.2", "cpu": [ @@ -6263,248 +6305,58 @@ }, "node_modules/@next/env": { "version": "14.2.4", - "resolved": "https://registry.npmjs.org/@next/env/-/env-14.2.4.tgz", - "integrity": "sha512-3EtkY5VDkuV2+lNmKlbkibIJxcO4oIHEhBWne6PaAp+76J9KoSsGvNikp6ivzAT8dhhBMYrm6op2pS1ApG0Hzg==" + "license": "MIT" }, - "node_modules/@next/eslint-plugin-next": { + "node_modules/@next/swc-darwin-arm64": { "version": "14.2.4", - "dev": true, + "cpu": [ + "arm64" + ], "license": "MIT", - "dependencies": { - "glob": "10.3.10" + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10" } }, - "node_modules/@next/eslint-plugin-next/node_modules/brace-expansion": { - "version": "2.0.1", - "dev": true, + "node_modules/@noble/curves": { + "version": "1.4.2", "license": "MIT", "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "node_modules/@next/eslint-plugin-next/node_modules/glob": { - "version": "10.3.10", - "dev": true, - "license": "ISC", - "dependencies": { - "foreground-child": "^3.1.0", - "jackspeak": "^2.3.5", - "minimatch": "^9.0.1", - "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", - "path-scurry": "^1.10.1" - }, - "bin": { - "glob": "dist/esm/bin.mjs" - }, - "engines": { - "node": ">=16 || 14 >=14.17" + "@noble/hashes": "1.4.0" }, "funding": { - "url": "https://github.com/sponsors/isaacs" + "url": "https://paulmillr.com/funding/" } }, - "node_modules/@next/eslint-plugin-next/node_modules/jackspeak": { - "version": "2.3.6", - "dev": true, - "license": "BlueOak-1.0.0", - "dependencies": { - "@isaacs/cliui": "^8.0.2" - }, + "node_modules/@noble/ed25519": { + "version": "1.7.3", + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "license": "MIT" + }, + "node_modules/@noble/hashes": { + "version": "1.4.0", + "license": "MIT", "engines": { - "node": ">=14" + "node": ">= 16" }, "funding": { - "url": "https://github.com/sponsors/isaacs" - }, - "optionalDependencies": { - "@pkgjs/parseargs": "^0.11.0" + "url": "https://paulmillr.com/funding/" } }, - "node_modules/@next/eslint-plugin-next/node_modules/minimatch": { - "version": "9.0.5", - "dev": true, - "license": "ISC", + "node_modules/@nodelib/fs.scandir": { + "version": "2.1.5", + "license": "MIT", "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/@next/swc-darwin-arm64": { - "version": "14.2.4", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.2.4.tgz", - "integrity": "sha512-AH3mO4JlFUqsYcwFUHb1wAKlebHU/Hv2u2kb1pAuRanDZ7pD/A/KPD98RHZmwsJpdHQwfEc/06mgpSzwrJYnNg==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-darwin-x64": { - "version": "14.2.4", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.2.4.tgz", - "integrity": "sha512-QVadW73sWIO6E2VroyUjuAxhWLZWEpiFqHdZdoQ/AMpN9YWGuHV8t2rChr0ahy+irKX5mlDU7OY68k3n4tAZTg==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-linux-arm64-gnu": { - "version": "14.2.4", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.2.4.tgz", - "integrity": "sha512-KT6GUrb3oyCfcfJ+WliXuJnD6pCpZiosx2X3k66HLR+DMoilRb76LpWPGb4tZprawTtcnyrv75ElD6VncVamUQ==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-linux-arm64-musl": { - "version": "14.2.4", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.2.4.tgz", - "integrity": "sha512-Alv8/XGSs/ytwQcbCHwze1HmiIkIVhDHYLjczSVrf0Wi2MvKn/blt7+S6FJitj3yTlMwMxII1gIJ9WepI4aZ/A==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-linux-x64-gnu": { - "version": "14.2.4", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.2.4.tgz", - "integrity": "sha512-ze0ShQDBPCqxLImzw4sCdfnB3lRmN3qGMB2GWDRlq5Wqy4G36pxtNOo2usu/Nm9+V2Rh/QQnrRc2l94kYFXO6Q==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-linux-x64-musl": { - "version": "14.2.4", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.2.4.tgz", - "integrity": "sha512-8dwC0UJoc6fC7PX70csdaznVMNr16hQrTDAMPvLPloazlcaWfdPogq+UpZX6Drqb1OBlwowz8iG7WR0Tzk/diQ==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-win32-arm64-msvc": { - "version": "14.2.4", - "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.2.4.tgz", - "integrity": "sha512-jxyg67NbEWkDyvM+O8UDbPAyYRZqGLQDTPwvrBBeOSyVWW/jFQkQKQ70JDqDSYg1ZDdl+E3nkbFbq8xM8E9x8A==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-win32-ia32-msvc": { - "version": "14.2.4", - "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.2.4.tgz", - "integrity": "sha512-twrmN753hjXRdcrZmZttb/m5xaCBFa48Dt3FbeEItpJArxriYDunWxJn+QFXdJ3hPkm4u7CKxncVvnmgQMY1ag==", - "cpu": [ - "ia32" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-win32-x64-msvc": { - "version": "14.2.4", - "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.2.4.tgz", - "integrity": "sha512-tkLrjBzqFTP8DVrAAQmZelEahfR9OxWpFR++vAI9FBhCiIxtwHwBHC23SBHCTURBtwB4kc/x44imVOnkKGNVGg==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@noble/curves": { - "version": "1.4.2", - "license": "MIT", - "dependencies": { - "@noble/hashes": "1.4.0" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - } - }, - "node_modules/@noble/ed25519": { - "version": "1.7.3", - "funding": [ - { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - ], - "license": "MIT" - }, - "node_modules/@noble/hashes": { - "version": "1.4.0", - "license": "MIT", - "engines": { - "node": ">= 16" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - } - }, - "node_modules/@nodelib/fs.scandir": { - "version": "2.1.5", - "license": "MIT", - "dependencies": { - "@nodelib/fs.stat": "2.0.5", - "run-parallel": "^1.1.9" + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" }, "engines": { "node": ">= 8" @@ -6735,8 +6587,7 @@ }, "node_modules/@radix-ui/react-accordion": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@radix-ui/react-accordion/-/react-accordion-1.2.0.tgz", - "integrity": "sha512-HJOzSX8dQqtsp/3jVxCU3CXEONF7/2jlGAB28oX8TTw1Dz8JYbEI1UcL8355PuLBE41/IRRMvCw7VkiK/jcUOQ==", + "license": "MIT", "dependencies": { "@radix-ui/primitive": "1.1.0", "@radix-ui/react-collapsible": "1.1.0", @@ -6812,8 +6663,7 @@ }, "node_modules/@radix-ui/react-collapsible": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@radix-ui/react-collapsible/-/react-collapsible-1.1.0.tgz", - "integrity": "sha512-zQY7Epa8sTL0mq4ajSJpjgn2YmCgyrG7RsQgLp3C0LQVkG7+Tf6Pv1CeNWZLyqMjhdPkBa5Lx7wYBeSu7uCSTA==", + "license": "MIT", "dependencies": { "@radix-ui/primitive": "1.1.0", "@radix-ui/react-compose-refs": "1.1.0", @@ -7147,8 +6997,7 @@ }, "node_modules/@radix-ui/react-popover": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@radix-ui/react-popover/-/react-popover-1.1.1.tgz", - "integrity": "sha512-3y1A3isulwnWhvTTwmIreiB8CF4L+qRjZnK1wYLO7pplddzXKby/GnZ2M7OZY3qgnl6p9AodUIHRYGXNah8Y7g==", + "license": "MIT", "dependencies": { "@radix-ui/primitive": "1.1.0", "@radix-ui/react-compose-refs": "1.1.0", @@ -7183,8 +7032,7 @@ }, "node_modules/@radix-ui/react-popover/node_modules/react-remove-scroll": { "version": "2.5.7", - "resolved": "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.5.7.tgz", - "integrity": "sha512-FnrTWO4L7/Bhhf3CYBNArEG/yROV0tKmTv7/3h9QCFvH6sndeFf1wPqOcbFVu5VAulS5dV1wGT3GZZ/1GawqiA==", + "license": "MIT", "dependencies": { "react-remove-scroll-bar": "^2.3.4", "react-style-singleton": "^2.2.1", @@ -9005,11 +8853,6 @@ "undici-types": "~5.26.4" } }, - "node_modules/@rushstack/eslint-patch": { - "version": "1.10.3", - "dev": true, - "license": "MIT" - }, "node_modules/@safe-global/safe-apps-provider": { "version": "0.18.1", "license": "MIT", @@ -11148,13 +10991,11 @@ }, "node_modules/@swc/counter": { "version": "0.1.3", - "resolved": "https://registry.npmjs.org/@swc/counter/-/counter-0.1.3.tgz", - "integrity": "sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==" + "license": "Apache-2.0" }, "node_modules/@swc/helpers": { "version": "0.5.5", - "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.5.tgz", - "integrity": "sha512-KGYxvIOXcceOAbEk4bi/dVLEK9z8sZ0uBB3Il5b1rhfClSpcX0yfRO0KmTkqR2cnQDymwLB+25ZyMzICg/cm/A==", + "license": "Apache-2.0", "dependencies": { "@swc/counter": "^0.1.3", "tslib": "^2.4.0" @@ -11735,11 +11576,6 @@ "dev": true, "license": "MIT" }, - "node_modules/@types/json5": { - "version": "0.0.29", - "dev": true, - "license": "MIT" - }, "node_modules/@types/lodash": { "version": "4.17.6", "license": "MIT" @@ -11952,294 +11788,81 @@ "@types/node": "*" } }, - "node_modules/@typescript-eslint/eslint-plugin": { - "version": "5.62.0", + "node_modules/@ungap/structured-clone": { + "version": "1.2.0", "dev": true, + "license": "ISC" + }, + "node_modules/@upstash/redis": { + "version": "v1.25.1", "license": "MIT", "dependencies": { - "@eslint-community/regexpp": "^4.4.0", - "@typescript-eslint/scope-manager": "5.62.0", - "@typescript-eslint/type-utils": "5.62.0", - "@typescript-eslint/utils": "5.62.0", - "debug": "^4.3.4", - "graphemer": "^1.4.0", - "ignore": "^5.2.0", - "natural-compare-lite": "^1.4.0", - "semver": "^7.3.7", - "tsutils": "^3.21.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "@typescript-eslint/parser": "^5.0.0", - "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } + "crypto-js": "^4.2.0" } }, - "node_modules/@typescript-eslint/eslint-plugin/node_modules/semver": { - "version": "7.6.2", - "dev": true, - "license": "ISC", - "bin": { - "semver": "bin/semver.js" + "node_modules/@vercel/kv": { + "version": "1.0.1", + "license": "Apache-2.0", + "dependencies": { + "@upstash/redis": "1.25.1" }, "engines": { - "node": ">=10" + "node": ">=14.6" } }, - "node_modules/@typescript-eslint/parser": { - "version": "5.62.0", - "dev": true, - "license": "BSD-2-Clause", + "node_modules/@vercel/postgres": { + "version": "0.7.2", + "license": "Apache-2.0", "dependencies": { - "@typescript-eslint/scope-manager": "5.62.0", - "@typescript-eslint/types": "5.62.0", - "@typescript-eslint/typescript-estree": "5.62.0", - "debug": "^4.3.4" + "@neondatabase/serverless": "0.7.2", + "bufferutil": "4.0.8", + "utf-8-validate": "6.0.3", + "ws": "8.14.2" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" + "node": ">=14.6" + } + }, + "node_modules/@visx/annotation": { + "version": "3.3.0", + "license": "MIT", + "dependencies": { + "@types/react": "*", + "@visx/drag": "3.3.0", + "@visx/group": "3.3.0", + "@visx/text": "3.3.0", + "classnames": "^2.3.1", + "prop-types": "^15.5.10", + "react-use-measure": "^2.0.4" }, "peerDependencies": { - "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } + "react": "^16.0.0-0 || ^17.0.0-0 || ^18.0.0-0" } }, - "node_modules/@typescript-eslint/scope-manager": { - "version": "5.62.0", - "dev": true, + "node_modules/@visx/axis": { + "version": "3.10.1", "license": "MIT", "dependencies": { - "@typescript-eslint/types": "5.62.0", - "@typescript-eslint/visitor-keys": "5.62.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "@types/react": "*", + "@visx/group": "3.3.0", + "@visx/point": "3.3.0", + "@visx/scale": "3.5.0", + "@visx/shape": "3.5.0", + "@visx/text": "3.3.0", + "classnames": "^2.3.1", + "prop-types": "^15.6.0" }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" + "peerDependencies": { + "react": "^16.3.0-0 || ^17.0.0-0 || ^18.0.0-0" } }, - "node_modules/@typescript-eslint/type-utils": { - "version": "5.62.0", - "dev": true, + "node_modules/@visx/bounds": { + "version": "3.3.0", "license": "MIT", "dependencies": { - "@typescript-eslint/typescript-estree": "5.62.0", - "@typescript-eslint/utils": "5.62.0", - "debug": "^4.3.4", - "tsutils": "^3.21.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "*" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@typescript-eslint/types": { - "version": "5.62.0", - "dev": true, - "license": "MIT", - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/typescript-estree": { - "version": "5.62.0", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "@typescript-eslint/types": "5.62.0", - "@typescript-eslint/visitor-keys": "5.62.0", - "debug": "^4.3.4", - "globby": "^11.1.0", - "is-glob": "^4.0.3", - "semver": "^7.3.7", - "tsutils": "^3.21.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@typescript-eslint/typescript-estree/node_modules/semver": { - "version": "7.6.2", - "dev": true, - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@typescript-eslint/utils": { - "version": "5.62.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@eslint-community/eslint-utils": "^4.2.0", - "@types/json-schema": "^7.0.9", - "@types/semver": "^7.3.12", - "@typescript-eslint/scope-manager": "5.62.0", - "@typescript-eslint/types": "5.62.0", - "@typescript-eslint/typescript-estree": "5.62.0", - "eslint-scope": "^5.1.1", - "semver": "^7.3.7" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" - } - }, - "node_modules/@typescript-eslint/utils/node_modules/semver": { - "version": "7.6.2", - "dev": true, - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@typescript-eslint/visitor-keys": { - "version": "5.62.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@typescript-eslint/types": "5.62.0", - "eslint-visitor-keys": "^3.3.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@ungap/structured-clone": { - "version": "1.2.0", - "dev": true, - "license": "ISC" - }, - "node_modules/@upstash/redis": { - "version": "v1.25.1", - "license": "MIT", - "dependencies": { - "crypto-js": "^4.2.0" - } - }, - "node_modules/@vercel/kv": { - "version": "1.0.1", - "license": "Apache-2.0", - "dependencies": { - "@upstash/redis": "1.25.1" - }, - "engines": { - "node": ">=14.6" - } - }, - "node_modules/@vercel/postgres": { - "version": "0.7.2", - "license": "Apache-2.0", - "dependencies": { - "@neondatabase/serverless": "0.7.2", - "bufferutil": "4.0.8", - "utf-8-validate": "6.0.3", - "ws": "8.14.2" - }, - "engines": { - "node": ">=14.6" - } - }, - "node_modules/@visx/annotation": { - "version": "3.3.0", - "license": "MIT", - "dependencies": { - "@types/react": "*", - "@visx/drag": "3.3.0", - "@visx/group": "3.3.0", - "@visx/text": "3.3.0", - "classnames": "^2.3.1", - "prop-types": "^15.5.10", - "react-use-measure": "^2.0.4" - }, - "peerDependencies": { - "react": "^16.0.0-0 || ^17.0.0-0 || ^18.0.0-0" - } - }, - "node_modules/@visx/axis": { - "version": "3.10.1", - "license": "MIT", - "dependencies": { - "@types/react": "*", - "@visx/group": "3.3.0", - "@visx/point": "3.3.0", - "@visx/scale": "3.5.0", - "@visx/shape": "3.5.0", - "@visx/text": "3.3.0", - "classnames": "^2.3.1", - "prop-types": "^15.6.0" - }, - "peerDependencies": { - "react": "^16.3.0-0 || ^17.0.0-0 || ^18.0.0-0" - } - }, - "node_modules/@visx/bounds": { - "version": "3.3.0", - "license": "MIT", - "dependencies": { - "@types/react": "*", - "@types/react-dom": "*", - "prop-types": "^15.5.10" + "@types/react": "*", + "@types/react-dom": "*", + "prop-types": "^15.5.10" }, "peerDependencies": { "react": "^16.0.0-0 || ^17.0.0-0 || ^18.0.0-0", @@ -14611,250 +14234,84 @@ "node": ">=6" } }, - "node_modules/array-buffer-byte-length": { + "node_modules/array-flatten": { + "version": "1.1.1", + "dev": true, + "license": "MIT" + }, + "node_modules/arrify": { "version": "1.0.1", "dev": true, "license": "MIT", - "dependencies": { - "call-bind": "^1.0.5", - "is-array-buffer": "^3.0.4" - }, "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">=0.10.0" } }, - "node_modules/array-flatten": { - "version": "1.1.1", - "dev": true, - "license": "MIT" + "node_modules/asap": { + "version": "2.0.6", + "license": "MIT", + "peer": true }, - "node_modules/array-includes": { - "version": "3.1.8", - "dev": true, + "node_modules/asn1": { + "version": "0.2.6", "license": "MIT", "dependencies": { - "call-bind": "^1.0.7", - "define-properties": "^1.2.1", - "es-abstract": "^1.23.2", - "es-object-atoms": "^1.0.0", - "get-intrinsic": "^1.2.4", - "is-string": "^1.0.7" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "safer-buffer": "~2.1.0" } }, - "node_modules/array-union": { - "version": "2.1.0", + "node_modules/asn1.js": { + "version": "4.10.1", "dev": true, "license": "MIT", - "engines": { - "node": ">=8" + "dependencies": { + "bn.js": "^4.0.0", + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0" } }, - "node_modules/array.prototype.findlast": { - "version": "1.2.5", + "node_modules/asn1.js/node_modules/bn.js": { + "version": "4.12.0", + "dev": true, + "license": "MIT" + }, + "node_modules/assert": { + "version": "2.1.0", "dev": true, "license": "MIT", "dependencies": { - "call-bind": "^1.0.7", - "define-properties": "^1.2.1", - "es-abstract": "^1.23.2", - "es-errors": "^1.3.0", - "es-object-atoms": "^1.0.0", - "es-shim-unscopables": "^1.0.2" - }, + "call-bind": "^1.0.2", + "is-nan": "^1.3.2", + "object-is": "^1.1.5", + "object.assign": "^4.1.4", + "util": "^0.12.5" + } + }, + "node_modules/assert-plus": { + "version": "1.0.0", + "license": "MIT", "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">=0.8" } }, - "node_modules/array.prototype.findlastindex": { - "version": "1.2.5", + "node_modules/assertion-error": { + "version": "1.1.0", "dev": true, "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7", - "define-properties": "^1.2.1", - "es-abstract": "^1.23.2", - "es-errors": "^1.3.0", - "es-object-atoms": "^1.0.0", - "es-shim-unscopables": "^1.0.2" - }, "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": "*" } }, - "node_modules/array.prototype.flat": { - "version": "1.3.2", + "node_modules/ast-types": { + "version": "0.16.1", "dev": true, "license": "MIT", "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1", - "es-shim-unscopables": "^1.0.0" + "tslib": "^2.0.1" }, "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">=4" } }, - "node_modules/array.prototype.flatmap": { - "version": "1.3.2", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1", - "es-shim-unscopables": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/array.prototype.toreversed": { - "version": "1.1.2", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1", - "es-shim-unscopables": "^1.0.0" - } - }, - "node_modules/array.prototype.tosorted": { - "version": "1.1.4", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7", - "define-properties": "^1.2.1", - "es-abstract": "^1.23.3", - "es-errors": "^1.3.0", - "es-shim-unscopables": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/arraybuffer.prototype.slice": { - "version": "1.0.3", - "dev": true, - "license": "MIT", - "dependencies": { - "array-buffer-byte-length": "^1.0.1", - "call-bind": "^1.0.5", - "define-properties": "^1.2.1", - "es-abstract": "^1.22.3", - "es-errors": "^1.2.1", - "get-intrinsic": "^1.2.3", - "is-array-buffer": "^3.0.4", - "is-shared-array-buffer": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/arrify": { - "version": "1.0.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/asap": { - "version": "2.0.6", - "license": "MIT", - "peer": true - }, - "node_modules/asn1": { - "version": "0.2.6", - "license": "MIT", - "dependencies": { - "safer-buffer": "~2.1.0" - } - }, - "node_modules/asn1.js": { - "version": "4.10.1", - "dev": true, - "license": "MIT", - "dependencies": { - "bn.js": "^4.0.0", - "inherits": "^2.0.1", - "minimalistic-assert": "^1.0.0" - } - }, - "node_modules/asn1.js/node_modules/bn.js": { - "version": "4.12.0", - "dev": true, - "license": "MIT" - }, - "node_modules/assert": { - "version": "2.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "is-nan": "^1.3.2", - "object-is": "^1.1.5", - "object.assign": "^4.1.4", - "util": "^0.12.5" - } - }, - "node_modules/assert-plus": { - "version": "1.0.0", - "license": "MIT", - "engines": { - "node": ">=0.8" - } - }, - "node_modules/assertion-error": { - "version": "1.1.0", - "dev": true, - "license": "MIT", - "engines": { - "node": "*" - } - }, - "node_modules/ast-types": { - "version": "0.16.1", - "dev": true, - "license": "MIT", - "dependencies": { - "tslib": "^2.0.1" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/ast-types-flow": { - "version": "0.0.8", - "dev": true, - "license": "MIT" - }, "node_modules/astral-regex": { "version": "2.0.0", "dev": true, @@ -14966,14 +14423,6 @@ "version": "1.13.0", "license": "MIT" }, - "node_modules/axe-core": { - "version": "4.9.1", - "dev": true, - "license": "MPL-2.0", - "engines": { - "node": ">=4" - } - }, "node_modules/axios": { "version": "1.4.0", "license": "MIT", @@ -14983,14 +14432,6 @@ "proxy-from-env": "^1.1.0" } }, - "node_modules/axobject-query": { - "version": "3.1.1", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "deep-equal": "^2.0.5" - } - }, "node_modules/babel-core": { "version": "7.0.0-bridge.0", "license": "MIT", @@ -16744,11 +16185,6 @@ "version": "0.1.7", "license": "MIT" }, - "node_modules/confusing-browser-globals": { - "version": "1.0.11", - "dev": true, - "license": "MIT" - }, "node_modules/connect": { "version": "3.7.0", "license": "MIT", @@ -17506,11 +16942,6 @@ "version": "1.1.4", "license": "BSD-3-Clause" }, - "node_modules/damerau-levenshtein": { - "version": "1.0.8", - "dev": true, - "license": "BSD-2-Clause" - }, "node_modules/dashdash": { "version": "1.14.1", "license": "MIT", @@ -17525,54 +16956,6 @@ "version": "0.0.3", "license": "MIT" }, - "node_modules/data-view-buffer": { - "version": "1.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.6", - "es-errors": "^1.3.0", - "is-data-view": "^1.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/data-view-byte-length": { - "version": "1.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7", - "es-errors": "^1.3.0", - "is-data-view": "^1.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/data-view-byte-offset": { - "version": "1.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.6", - "es-errors": "^1.3.0", - "is-data-view": "^1.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/date-fns": { "version": "2.30.0", "license": "MIT", @@ -17678,37 +17061,6 @@ "node": ">=6" } }, - "node_modules/deep-equal": { - "version": "2.2.3", - "dev": true, - "license": "MIT", - "dependencies": { - "array-buffer-byte-length": "^1.0.0", - "call-bind": "^1.0.5", - "es-get-iterator": "^1.1.3", - "get-intrinsic": "^1.2.2", - "is-arguments": "^1.1.1", - "is-array-buffer": "^3.0.2", - "is-date-object": "^1.0.5", - "is-regex": "^1.1.4", - "is-shared-array-buffer": "^1.0.2", - "isarray": "^2.0.5", - "object-is": "^1.1.5", - "object-keys": "^1.1.1", - "object.assign": "^4.1.4", - "regexp.prototype.flags": "^1.5.1", - "side-channel": "^1.0.4", - "which-boxed-primitive": "^1.0.2", - "which-collection": "^1.0.1", - "which-typed-array": "^1.1.13" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/deep-extend": { "version": "0.6.0", "dev": true, @@ -17717,11 +17069,6 @@ "node": ">=4.0.0" } }, - "node_modules/deep-is": { - "version": "0.1.4", - "dev": true, - "license": "MIT" - }, "node_modules/deepmerge": { "version": "4.3.1", "license": "MIT", @@ -17949,17 +17296,6 @@ "version": "1.0.3", "license": "MIT" }, - "node_modules/dir-glob": { - "version": "3.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "path-type": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/dlv": { "version": "1.1.3", "license": "MIT" @@ -18410,65 +17746,6 @@ "node": ">= 0.8" } }, - "node_modules/es-abstract": { - "version": "1.23.3", - "dev": true, - "license": "MIT", - "dependencies": { - "array-buffer-byte-length": "^1.0.1", - "arraybuffer.prototype.slice": "^1.0.3", - "available-typed-arrays": "^1.0.7", - "call-bind": "^1.0.7", - "data-view-buffer": "^1.0.1", - "data-view-byte-length": "^1.0.1", - "data-view-byte-offset": "^1.0.0", - "es-define-property": "^1.0.0", - "es-errors": "^1.3.0", - "es-object-atoms": "^1.0.0", - "es-set-tostringtag": "^2.0.3", - "es-to-primitive": "^1.2.1", - "function.prototype.name": "^1.1.6", - "get-intrinsic": "^1.2.4", - "get-symbol-description": "^1.0.2", - "globalthis": "^1.0.3", - "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.2", - "has-proto": "^1.0.3", - "has-symbols": "^1.0.3", - "hasown": "^2.0.2", - "internal-slot": "^1.0.7", - "is-array-buffer": "^3.0.4", - "is-callable": "^1.2.7", - "is-data-view": "^1.0.1", - "is-negative-zero": "^2.0.3", - "is-regex": "^1.1.4", - "is-shared-array-buffer": "^1.0.3", - "is-string": "^1.0.7", - "is-typed-array": "^1.1.13", - "is-weakref": "^1.0.2", - "object-inspect": "^1.13.1", - "object-keys": "^1.1.1", - "object.assign": "^4.1.5", - "regexp.prototype.flags": "^1.5.2", - "safe-array-concat": "^1.1.2", - "safe-regex-test": "^1.0.3", - "string.prototype.trim": "^1.2.9", - "string.prototype.trimend": "^1.0.8", - "string.prototype.trimstart": "^1.0.8", - "typed-array-buffer": "^1.0.2", - "typed-array-byte-length": "^1.0.1", - "typed-array-byte-offset": "^1.0.2", - "typed-array-length": "^1.0.6", - "unbox-primitive": "^1.0.2", - "which-typed-array": "^1.1.15" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/es-define-property": { "version": "1.0.0", "license": "MIT", @@ -18486,102 +17763,11 @@ "node": ">= 0.4" } }, - "node_modules/es-get-iterator": { - "version": "1.1.3", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.3", - "has-symbols": "^1.0.3", - "is-arguments": "^1.1.1", - "is-map": "^2.0.2", - "is-set": "^2.0.2", - "is-string": "^1.0.7", - "isarray": "^2.0.5", - "stop-iteration-iterator": "^1.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/es-iterator-helpers": { - "version": "1.0.19", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7", - "define-properties": "^1.2.1", - "es-abstract": "^1.23.3", - "es-errors": "^1.3.0", - "es-set-tostringtag": "^2.0.3", - "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.4", - "globalthis": "^1.0.3", - "has-property-descriptors": "^1.0.2", - "has-proto": "^1.0.3", - "has-symbols": "^1.0.3", - "internal-slot": "^1.0.7", - "iterator.prototype": "^1.1.2", - "safe-array-concat": "^1.1.2" - }, - "engines": { - "node": ">= 0.4" - } - }, "node_modules/es-module-lexer": { "version": "1.5.4", "dev": true, "license": "MIT" }, - "node_modules/es-object-atoms": { - "version": "1.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "es-errors": "^1.3.0" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/es-set-tostringtag": { - "version": "2.0.3", - "dev": true, - "license": "MIT", - "dependencies": { - "get-intrinsic": "^1.2.4", - "has-tostringtag": "^1.0.2", - "hasown": "^2.0.1" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/es-shim-unscopables": { - "version": "1.0.2", - "dev": true, - "license": "MIT", - "dependencies": { - "hasown": "^2.0.0" - } - }, - "node_modules/es-to-primitive": { - "version": "1.2.1", - "dev": true, - "license": "MIT", - "dependencies": { - "is-callable": "^1.1.4", - "is-date-object": "^1.0.1", - "is-symbol": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/esbuild": { "version": "0.20.2", "hasInstallScript": true, @@ -18699,416 +17885,6 @@ "node": ">=0.10.0" } }, - "node_modules/eslint": { - "version": "8.57.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@eslint-community/eslint-utils": "^4.2.0", - "@eslint-community/regexpp": "^4.6.1", - "@eslint/eslintrc": "^2.1.4", - "@eslint/js": "8.57.0", - "@humanwhocodes/config-array": "^0.11.14", - "@humanwhocodes/module-importer": "^1.0.1", - "@nodelib/fs.walk": "^1.2.8", - "@ungap/structured-clone": "^1.2.0", - "ajv": "^6.12.4", - "chalk": "^4.0.0", - "cross-spawn": "^7.0.2", - "debug": "^4.3.2", - "doctrine": "^3.0.0", - "escape-string-regexp": "^4.0.0", - "eslint-scope": "^7.2.2", - "eslint-visitor-keys": "^3.4.3", - "espree": "^9.6.1", - "esquery": "^1.4.2", - "esutils": "^2.0.2", - "fast-deep-equal": "^3.1.3", - "file-entry-cache": "^6.0.1", - "find-up": "^5.0.0", - "glob-parent": "^6.0.2", - "globals": "^13.19.0", - "graphemer": "^1.4.0", - "ignore": "^5.2.0", - "imurmurhash": "^0.1.4", - "is-glob": "^4.0.0", - "is-path-inside": "^3.0.3", - "js-yaml": "^4.1.0", - "json-stable-stringify-without-jsonify": "^1.0.1", - "levn": "^0.4.1", - "lodash.merge": "^4.6.2", - "minimatch": "^3.1.2", - "natural-compare": "^1.4.0", - "optionator": "^0.9.3", - "strip-ansi": "^6.0.1", - "text-table": "^0.2.0" - }, - "bin": { - "eslint": "bin/eslint.js" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/eslint-config-airbnb": { - "version": "19.0.4", - "dev": true, - "license": "MIT", - "dependencies": { - "eslint-config-airbnb-base": "^15.0.0", - "object.assign": "^4.1.2", - "object.entries": "^1.1.5" - }, - "engines": { - "node": "^10.12.0 || ^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "peerDependencies": { - "eslint": "^7.32.0 || ^8.2.0", - "eslint-plugin-import": "^2.25.3", - "eslint-plugin-jsx-a11y": "^6.5.1", - "eslint-plugin-react": "^7.28.0", - "eslint-plugin-react-hooks": "^4.3.0" - } - }, - "node_modules/eslint-config-airbnb-base": { - "version": "15.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "confusing-browser-globals": "^1.0.10", - "object.assign": "^4.1.2", - "object.entries": "^1.1.5", - "semver": "^6.3.0" - }, - "engines": { - "node": "^10.12.0 || >=12.0.0" - }, - "peerDependencies": { - "eslint": "^7.32.0 || ^8.2.0", - "eslint-plugin-import": "^2.25.2" - } - }, - "node_modules/eslint-config-airbnb-typescript": { - "version": "17.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "eslint-config-airbnb-base": "^15.0.0" - }, - "peerDependencies": { - "@typescript-eslint/eslint-plugin": "^5.13.0 || ^6.0.0", - "@typescript-eslint/parser": "^5.0.0 || ^6.0.0", - "eslint": "^7.32.0 || ^8.2.0", - "eslint-plugin-import": "^2.25.3" - } - }, - "node_modules/eslint-config-next": { - "version": "14.2.4", - "dev": true, - "license": "MIT", - "dependencies": { - "@next/eslint-plugin-next": "14.2.4", - "@rushstack/eslint-patch": "^1.3.3", - "@typescript-eslint/parser": "^5.4.2 || ^6.0.0 || 7.0.0 - 7.2.0", - "eslint-import-resolver-node": "^0.3.6", - "eslint-import-resolver-typescript": "^3.5.2", - "eslint-plugin-import": "^2.28.1", - "eslint-plugin-jsx-a11y": "^6.7.1", - "eslint-plugin-react": "^7.33.2", - "eslint-plugin-react-hooks": "^4.5.0 || 5.0.0-canary-7118f5dd7-20230705" - }, - "peerDependencies": { - "eslint": "^7.23.0 || ^8.0.0", - "typescript": ">=3.3.1" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/eslint-config-prettier": { - "version": "8.10.0", - "dev": true, - "license": "MIT", - "bin": { - "eslint-config-prettier": "bin/cli.js" - }, - "peerDependencies": { - "eslint": ">=7.0.0" - } - }, - "node_modules/eslint-import-resolver-node": { - "version": "0.3.9", - "dev": true, - "license": "MIT", - "dependencies": { - "debug": "^3.2.7", - "is-core-module": "^2.13.0", - "resolve": "^1.22.4" - } - }, - "node_modules/eslint-import-resolver-node/node_modules/debug": { - "version": "3.2.7", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "^2.1.1" - } - }, - "node_modules/eslint-import-resolver-typescript": { - "version": "3.6.1", - "dev": true, - "license": "ISC", - "dependencies": { - "debug": "^4.3.4", - "enhanced-resolve": "^5.12.0", - "eslint-module-utils": "^2.7.4", - "fast-glob": "^3.3.1", - "get-tsconfig": "^4.5.0", - "is-core-module": "^2.11.0", - "is-glob": "^4.0.3" - }, - "engines": { - "node": "^14.18.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/unts/projects/eslint-import-resolver-ts" - }, - "peerDependencies": { - "eslint": "*", - "eslint-plugin-import": "*" - } - }, - "node_modules/eslint-module-utils": { - "version": "2.8.1", - "dev": true, - "license": "MIT", - "dependencies": { - "debug": "^3.2.7" - }, - "engines": { - "node": ">=4" - }, - "peerDependenciesMeta": { - "eslint": { - "optional": true - } - } - }, - "node_modules/eslint-module-utils/node_modules/debug": { - "version": "3.2.7", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "^2.1.1" - } - }, - "node_modules/eslint-plugin-import": { - "version": "2.29.1", - "dev": true, - "license": "MIT", - "dependencies": { - "array-includes": "^3.1.7", - "array.prototype.findlastindex": "^1.2.3", - "array.prototype.flat": "^1.3.2", - "array.prototype.flatmap": "^1.3.2", - "debug": "^3.2.7", - "doctrine": "^2.1.0", - "eslint-import-resolver-node": "^0.3.9", - "eslint-module-utils": "^2.8.0", - "hasown": "^2.0.0", - "is-core-module": "^2.13.1", - "is-glob": "^4.0.3", - "minimatch": "^3.1.2", - "object.fromentries": "^2.0.7", - "object.groupby": "^1.0.1", - "object.values": "^1.1.7", - "semver": "^6.3.1", - "tsconfig-paths": "^3.15.0" - }, - "engines": { - "node": ">=4" - }, - "peerDependencies": { - "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8" - } - }, - "node_modules/eslint-plugin-import/node_modules/debug": { - "version": "3.2.7", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "^2.1.1" - } - }, - "node_modules/eslint-plugin-import/node_modules/doctrine": { - "version": "2.1.0", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "esutils": "^2.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/eslint-plugin-import/node_modules/json5": { - "version": "1.0.2", - "dev": true, - "license": "MIT", - "dependencies": { - "minimist": "^1.2.0" - }, - "bin": { - "json5": "lib/cli.js" - } - }, - "node_modules/eslint-plugin-import/node_modules/tsconfig-paths": { - "version": "3.15.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/json5": "^0.0.29", - "json5": "^1.0.2", - "minimist": "^1.2.6", - "strip-bom": "^3.0.0" - } - }, - "node_modules/eslint-plugin-jsx-a11y": { - "version": "6.9.0", - "dev": true, - "license": "MIT", - "dependencies": { - "aria-query": "~5.1.3", - "array-includes": "^3.1.8", - "array.prototype.flatmap": "^1.3.2", - "ast-types-flow": "^0.0.8", - "axe-core": "^4.9.1", - "axobject-query": "~3.1.1", - "damerau-levenshtein": "^1.0.8", - "emoji-regex": "^9.2.2", - "es-iterator-helpers": "^1.0.19", - "hasown": "^2.0.2", - "jsx-ast-utils": "^3.3.5", - "language-tags": "^1.0.9", - "minimatch": "^3.1.2", - "object.fromentries": "^2.0.8", - "safe-regex-test": "^1.0.3", - "string.prototype.includes": "^2.0.0" - }, - "engines": { - "node": ">=4.0" - }, - "peerDependencies": { - "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8" - } - }, - "node_modules/eslint-plugin-jsx-a11y/node_modules/aria-query": { - "version": "5.1.3", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "deep-equal": "^2.0.5" - } - }, - "node_modules/eslint-plugin-react": { - "version": "7.34.3", - "dev": true, - "license": "MIT", - "dependencies": { - "array-includes": "^3.1.8", - "array.prototype.findlast": "^1.2.5", - "array.prototype.flatmap": "^1.3.2", - "array.prototype.toreversed": "^1.1.2", - "array.prototype.tosorted": "^1.1.4", - "doctrine": "^2.1.0", - "es-iterator-helpers": "^1.0.19", - "estraverse": "^5.3.0", - "jsx-ast-utils": "^2.4.1 || ^3.0.0", - "minimatch": "^3.1.2", - "object.entries": "^1.1.8", - "object.fromentries": "^2.0.8", - "object.hasown": "^1.1.4", - "object.values": "^1.2.0", - "prop-types": "^15.8.1", - "resolve": "^2.0.0-next.5", - "semver": "^6.3.1", - "string.prototype.matchall": "^4.0.11" - }, - "engines": { - "node": ">=4" - }, - "peerDependencies": { - "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8" - } - }, - "node_modules/eslint-plugin-react-hooks": { - "version": "4.6.2", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - }, - "peerDependencies": { - "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0" - } - }, - "node_modules/eslint-plugin-react/node_modules/doctrine": { - "version": "2.1.0", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "esutils": "^2.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/eslint-plugin-react/node_modules/resolve": { - "version": "2.0.0-next.5", - "dev": true, - "license": "MIT", - "dependencies": { - "is-core-module": "^2.13.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - }, - "bin": { - "resolve": "bin/resolve" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/eslint-plugin-storybook": { - "version": "0.8.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@storybook/csf": "^0.0.1", - "@typescript-eslint/utils": "^5.62.0", - "requireindex": "^1.2.0", - "ts-dedent": "^2.2.0" - }, - "engines": { - "node": ">= 18" - }, - "peerDependencies": { - "eslint": ">=6" - } - }, - "node_modules/eslint-plugin-storybook/node_modules/@storybook/csf": { - "version": "0.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "lodash": "^4.17.15" - } - }, "node_modules/eslint-scope": { "version": "5.1.1", "dev": true, @@ -19129,143 +17905,6 @@ "node": ">=4.0" } }, - "node_modules/eslint-visitor-keys": { - "version": "3.4.3", - "dev": true, - "license": "Apache-2.0", - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/eslint/node_modules/ansi-styles": { - "version": "4.3.0", - "dev": true, - "license": "MIT", - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/eslint/node_modules/chalk": { - "version": "4.1.2", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/eslint/node_modules/eslint-scope": { - "version": "7.2.2", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "esrecurse": "^4.3.0", - "estraverse": "^5.2.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/eslint/node_modules/globals": { - "version": "13.24.0", - "dev": true, - "license": "MIT", - "dependencies": { - "type-fest": "^0.20.2" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/eslint/node_modules/has-flag": { - "version": "4.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/eslint/node_modules/strip-ansi": { - "version": "6.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/eslint/node_modules/supports-color": { - "version": "7.2.0", - "dev": true, - "license": "MIT", - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/eslint/node_modules/type-fest": { - "version": "0.20.2", - "dev": true, - "license": "(MIT OR CC0-1.0)", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/espree": { - "version": "9.6.1", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "acorn": "^8.9.0", - "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^3.4.1" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/espree/node_modules/acorn": { - "version": "8.12.1", - "dev": true, - "license": "MIT", - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, "node_modules/esprima": { "version": "4.0.1", "license": "BSD-2-Clause", @@ -19277,17 +17916,6 @@ "node": ">=4" } }, - "node_modules/esquery": { - "version": "1.6.0", - "dev": true, - "license": "BSD-3-Clause", - "dependencies": { - "estraverse": "^5.1.0" - }, - "engines": { - "node": ">=0.10" - } - }, "node_modules/esrecurse": { "version": "4.3.0", "dev": true, @@ -19662,11 +18290,6 @@ "version": "2.1.0", "license": "MIT" }, - "node_modules/fast-levenshtein": { - "version": "2.0.6", - "dev": true, - "license": "MIT" - }, "node_modules/fast-redact": { "version": "3.5.0", "license": "MIT", @@ -19750,18 +18373,7 @@ "dev": true, "license": "MIT", "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/file-entry-cache": { - "version": "6.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "flat-cache": "^3.0.4" - }, - "engines": { - "node": "^10.12.0 || >=12.0.0" + "node": ">=0.8.0" } }, "node_modules/file-selector": { @@ -20832,31 +19444,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/function.prototype.name": { - "version": "1.1.6", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1", - "functions-have-names": "^1.2.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/functions-have-names": { - "version": "1.2.3", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/futoin-hkdf": { "version": "1.5.3", "license": "Apache-2.0", @@ -20949,33 +19536,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/get-symbol-description": { - "version": "1.0.2", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.5", - "es-errors": "^1.3.0", - "get-intrinsic": "^1.2.4" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/get-tsconfig": { - "version": "4.7.5", - "dev": true, - "license": "MIT", - "dependencies": { - "resolve-pkg-maps": "^1.0.0" - }, - "funding": { - "url": "https://github.com/privatenumber/get-tsconfig?sponsor=1" - } - }, "node_modules/getos": { "version": "3.2.1", "dev": true, @@ -21091,40 +19651,6 @@ "node": ">=4" } }, - "node_modules/globalthis": { - "version": "1.0.4", - "dev": true, - "license": "MIT", - "dependencies": { - "define-properties": "^1.2.1", - "gopd": "^1.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/globby": { - "version": "11.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "array-union": "^2.1.0", - "dir-glob": "^3.0.1", - "fast-glob": "^3.2.9", - "ignore": "^5.2.0", - "merge2": "^1.4.1", - "slash": "^3.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/gopd": { "version": "1.0.1", "license": "MIT", @@ -21139,11 +19665,6 @@ "version": "4.2.11", "license": "ISC" }, - "node_modules/graphemer": { - "version": "1.4.0", - "dev": true, - "license": "MIT" - }, "node_modules/graphql": { "version": "16.9.0", "license": "MIT", @@ -21293,14 +19814,6 @@ "node": ">=6" } }, - "node_modules/has-bigints": { - "version": "1.0.2", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/has-flag": { "version": "3.0.0", "license": "MIT", @@ -21846,26 +20359,12 @@ }, "node_modules/input-otp": { "version": "1.2.4", - "resolved": "https://registry.npmjs.org/input-otp/-/input-otp-1.2.4.tgz", - "integrity": "sha512-md6rhmD+zmMnUh5crQNSQxq3keBRYvE3odbr4Qb9g2NWzQv9azi+t1a3X4TBTbh98fsGHgEEJlzbe1q860uGCA==", + "license": "MIT", "peerDependencies": { "react": "^16.8 || ^17.0 || ^18.0", "react-dom": "^16.8 || ^17.0 || ^18.0" } }, - "node_modules/internal-slot": { - "version": "1.0.7", - "dev": true, - "license": "MIT", - "dependencies": { - "es-errors": "^1.3.0", - "hasown": "^2.0.0", - "side-channel": "^1.0.4" - }, - "engines": { - "node": ">= 0.4" - } - }, "node_modules/internmap": { "version": "2.0.3", "license": "ISC", @@ -21924,50 +20423,10 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-array-buffer": { - "version": "3.0.4", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.2.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-arrayish": { "version": "0.2.1", "license": "MIT" }, - "node_modules/is-async-function": { - "version": "2.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-bigint": { - "version": "1.0.4", - "dev": true, - "license": "MIT", - "dependencies": { - "has-bigints": "^1.0.1" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-binary-path": { "version": "2.1.0", "license": "MIT", @@ -21978,21 +20437,6 @@ "node": ">=8" } }, - "node_modules/is-boolean-object": { - "version": "1.1.2", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-buffer": { "version": "1.1.6", "license": "MIT" @@ -22031,34 +20475,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-data-view": { - "version": "1.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "is-typed-array": "^1.1.13" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-date-object": { - "version": "1.0.5", - "dev": true, - "license": "MIT", - "dependencies": { - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-deflate": { "version": "1.0.0", "dev": true, @@ -22092,17 +20508,6 @@ "node": ">=0.10.0" } }, - "node_modules/is-finalizationregistry": { - "version": "1.0.2", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-fullwidth-code-point": { "version": "3.0.0", "license": "MIT", @@ -22192,97 +20597,13 @@ "node": ">=8" } }, - "node_modules/is-map": { - "version": "2.0.3", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-nan": { "version": "1.3.2", "dev": true, "license": "MIT", "dependencies": { - "call-bind": "^1.0.0", - "define-properties": "^1.1.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-negative-zero": { - "version": "2.0.3", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-number": { - "version": "7.0.0", - "license": "MIT", - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/is-number-object": { - "version": "1.0.7", - "dev": true, - "license": "MIT", - "dependencies": { - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-path-inside": { - "version": "3.0.3", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/is-plain-obj": { - "version": "4.1.0", - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-plain-object": { - "version": "5.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-regex": { - "version": "1.1.4", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" + "call-bind": "^1.0.0", + "define-properties": "^1.1.3" }, "engines": { "node": ">= 0.4" @@ -22291,67 +20612,47 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-set": { - "version": "2.0.3", - "dev": true, + "node_modules/is-number": { + "version": "7.0.0", "license": "MIT", "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">=0.12.0" } }, - "node_modules/is-shared-array-buffer": { - "version": "1.0.3", + "node_modules/is-path-inside": { + "version": "3.0.3", "dev": true, "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7" - }, "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">=8" } }, - "node_modules/is-stream": { - "version": "2.0.1", + "node_modules/is-plain-obj": { + "version": "4.1.0", "license": "MIT", "engines": { - "node": ">=8" + "node": ">=12" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/is-string": { - "version": "1.0.7", + "node_modules/is-plain-object": { + "version": "5.0.0", "dev": true, "license": "MIT", - "dependencies": { - "has-tostringtag": "^1.0.0" - }, "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">=0.10.0" } }, - "node_modules/is-symbol": { - "version": "1.0.4", - "dev": true, + "node_modules/is-stream": { + "version": "2.0.1", "license": "MIT", - "dependencies": { - "has-symbols": "^1.0.2" - }, "engines": { - "node": ">= 0.4" + "node": ">=8" }, "funding": { - "url": "https://github.com/sponsors/ljharb" + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/is-typed-array": { @@ -22381,43 +20682,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/is-weakmap": { - "version": "2.0.2", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-weakref": { - "version": "1.0.2", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-weakset": { - "version": "2.0.3", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7", - "get-intrinsic": "^1.2.4" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-wsl": { "version": "2.2.0", "license": "MIT", @@ -22441,11 +20705,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/isarray": { - "version": "2.0.5", - "dev": true, - "license": "MIT" - }, "node_modules/iserror": { "version": "0.0.2", "license": "MIT" @@ -22495,18 +20754,6 @@ "version": "0.1.2", "license": "MIT" }, - "node_modules/iterator.prototype": { - "version": "1.1.2", - "dev": true, - "license": "MIT", - "dependencies": { - "define-properties": "^1.2.1", - "get-intrinsic": "^1.2.1", - "has-symbols": "^1.0.3", - "reflect.getprototypeof": "^1.0.4", - "set-function-name": "^2.0.1" - } - }, "node_modules/jackspeak": { "version": "3.4.2", "license": "BlueOak-1.0.0", @@ -23136,11 +21383,6 @@ "version": "0.4.1", "license": "MIT" }, - "node_modules/json-stable-stringify-without-jsonify": { - "version": "1.0.1", - "dev": true, - "license": "MIT" - }, "node_modules/json-stringify-safe": { "version": "5.0.1", "license": "ISC" @@ -23180,20 +21422,6 @@ "verror": "1.10.0" } }, - "node_modules/jsx-ast-utils": { - "version": "3.3.5", - "dev": true, - "license": "MIT", - "dependencies": { - "array-includes": "^3.1.6", - "array.prototype.flat": "^1.3.1", - "object.assign": "^4.1.4", - "object.values": "^1.1.6" - }, - "engines": { - "node": ">=4.0" - } - }, "node_modules/jwt-decode": { "version": "3.1.2", "license": "MIT" @@ -23244,22 +21472,6 @@ "node": ">= 8" } }, - "node_modules/language-subtag-registry": { - "version": "0.3.23", - "dev": true, - "license": "CC0-1.0" - }, - "node_modules/language-tags": { - "version": "1.0.9", - "dev": true, - "license": "MIT", - "dependencies": { - "language-subtag-registry": "^0.3.20" - }, - "engines": { - "node": ">=0.10" - } - }, "node_modules/lazy-ass": { "version": "1.6.0", "dev": true, @@ -23288,18 +21500,6 @@ "node": ">=6" } }, - "node_modules/levn": { - "version": "0.4.1", - "dev": true, - "license": "MIT", - "dependencies": { - "prelude-ls": "^1.2.1", - "type-check": "~0.4.0" - }, - "engines": { - "node": ">= 0.8.0" - } - }, "node_modules/lexical": { "version": "0.12.6", "license": "MIT" @@ -23910,11 +22110,6 @@ "version": "4.5.0", "license": "MIT" }, - "node_modules/lodash.merge": { - "version": "4.6.2", - "dev": true, - "license": "MIT" - }, "node_modules/lodash.mergewith": { "version": "4.6.2", "license": "MIT" @@ -26180,16 +24375,6 @@ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" } }, - "node_modules/natural-compare": { - "version": "1.4.0", - "dev": true, - "license": "MIT" - }, - "node_modules/natural-compare-lite": { - "version": "1.4.0", - "dev": true, - "license": "MIT" - }, "node_modules/ndarray": { "version": "1.0.19", "license": "MIT", @@ -26219,8 +24404,7 @@ }, "node_modules/next": { "version": "14.2.4", - "resolved": "https://registry.npmjs.org/next/-/next-14.2.4.tgz", - "integrity": "sha512-R8/V7vugY+822rsQGQCjoLhMuC9oFj9SOi4Cl4b2wjDrseD0LRZ10W7R6Czo4w9ZznVSshKjuIomsRjvm9EKJQ==", + "license": "MIT", "dependencies": { "@next/env": "14.2.4", "@swc/helpers": "0.5.5", @@ -26773,81 +24957,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/object.entries": { - "version": "1.1.8", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7", - "define-properties": "^1.2.1", - "es-object-atoms": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/object.fromentries": { - "version": "2.0.8", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7", - "define-properties": "^1.2.1", - "es-abstract": "^1.23.2", - "es-object-atoms": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/object.groupby": { - "version": "1.0.3", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7", - "define-properties": "^1.2.1", - "es-abstract": "^1.23.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/object.hasown": { - "version": "1.1.4", - "dev": true, - "license": "MIT", - "dependencies": { - "define-properties": "^1.2.1", - "es-abstract": "^1.23.2", - "es-object-atoms": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/object.values": { - "version": "1.2.0", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7", - "define-properties": "^1.2.1", - "es-object-atoms": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/objectorarray": { "version": "1.0.5", "dev": true, @@ -26926,22 +25035,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/optionator": { - "version": "0.9.4", - "dev": true, - "license": "MIT", - "dependencies": { - "deep-is": "^0.1.3", - "fast-levenshtein": "^2.0.6", - "levn": "^0.4.1", - "prelude-ls": "^1.2.1", - "type-check": "^0.4.0", - "word-wrap": "^1.2.5" - }, - "engines": { - "node": ">= 0.8.0" - } - }, "node_modules/ora": { "version": "5.4.1", "license": "MIT", @@ -27340,8 +25433,7 @@ }, "node_modules/picocolors": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.1.tgz", - "integrity": "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==" + "license": "ISC" }, "node_modules/picomatch": { "version": "2.3.1", @@ -27825,14 +25917,6 @@ "url": "https://opencollective.com/preact" } }, - "node_modules/prelude-ls": { - "version": "1.2.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8.0" - } - }, "node_modules/prettier": { "version": "3.3.2", "dev": true, @@ -29167,26 +27251,6 @@ "balanced-match": "^1.0.0" } }, - "node_modules/reflect.getprototypeof": { - "version": "1.0.6", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7", - "define-properties": "^1.2.1", - "es-abstract": "^1.23.1", - "es-errors": "^1.3.0", - "get-intrinsic": "^1.2.4", - "globalthis": "^1.0.3", - "which-builtin-type": "^1.1.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/regenerate": { "version": "1.4.2", "license": "MIT" @@ -29217,23 +27281,6 @@ "dev": true, "license": "MIT" }, - "node_modules/regexp.prototype.flags": { - "version": "1.5.2", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.6", - "define-properties": "^1.2.1", - "es-errors": "^1.3.0", - "set-function-name": "^2.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/regexpu-core": { "version": "5.3.2", "license": "MIT", @@ -30110,15 +28157,7 @@ }, "node_modules/require-main-filename": { "version": "2.0.0", - "license": "ISC" - }, - "node_modules/requireindex": { - "version": "1.2.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.5" - } + "license": "ISC" }, "node_modules/requires-port": { "version": "1.0.0", @@ -30148,14 +28187,6 @@ "node": ">=8" } }, - "node_modules/resolve-pkg-maps": { - "version": "1.0.0", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/privatenumber/resolve-pkg-maps?sponsor=1" - } - }, "node_modules/resolve-url-loader": { "version": "5.0.0", "dev": true, @@ -30352,23 +28383,6 @@ "node": ">=6" } }, - "node_modules/safe-array-concat": { - "version": "1.1.2", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7", - "get-intrinsic": "^1.2.4", - "has-symbols": "^1.0.3", - "isarray": "^2.0.5" - }, - "engines": { - "node": ">=0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/safe-buffer": { "version": "5.2.1", "funding": [ @@ -30387,22 +28401,6 @@ ], "license": "MIT" }, - "node_modules/safe-regex-test": { - "version": "1.0.3", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.6", - "es-errors": "^1.3.0", - "is-regex": "^1.1.4" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/safe-stable-stringify": { "version": "2.4.3", "license": "MIT", @@ -30628,20 +28626,6 @@ "node": ">= 0.4" } }, - "node_modules/set-function-name": { - "version": "2.0.2", - "dev": true, - "license": "MIT", - "dependencies": { - "define-data-property": "^1.1.4", - "es-errors": "^1.3.0", - "functions-have-names": "^1.2.3", - "has-property-descriptors": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - } - }, "node_modules/setimmediate": { "version": "1.0.5", "dev": true, @@ -30794,6 +28778,7 @@ "node_modules/slash": { "version": "3.0.0", "license": "MIT", + "peer": true, "engines": { "node": ">=8" } @@ -31059,17 +29044,6 @@ "version": "3.7.0", "license": "MIT" }, - "node_modules/stop-iteration-iterator": { - "version": "1.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "internal-slot": "^1.0.4" - }, - "engines": { - "node": ">= 0.4" - } - }, "node_modules/store2": { "version": "2.14.3", "dev": true, @@ -31196,86 +29170,6 @@ "node": ">=8" } }, - "node_modules/string.prototype.includes": { - "version": "2.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "define-properties": "^1.1.3", - "es-abstract": "^1.17.5" - } - }, - "node_modules/string.prototype.matchall": { - "version": "4.0.11", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7", - "define-properties": "^1.2.1", - "es-abstract": "^1.23.2", - "es-errors": "^1.3.0", - "es-object-atoms": "^1.0.0", - "get-intrinsic": "^1.2.4", - "gopd": "^1.0.1", - "has-symbols": "^1.0.3", - "internal-slot": "^1.0.7", - "regexp.prototype.flags": "^1.5.2", - "set-function-name": "^2.0.2", - "side-channel": "^1.0.6" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/string.prototype.trim": { - "version": "1.2.9", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7", - "define-properties": "^1.2.1", - "es-abstract": "^1.23.0", - "es-object-atoms": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/string.prototype.trimend": { - "version": "1.0.8", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7", - "define-properties": "^1.2.1", - "es-object-atoms": "^1.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/string.prototype.trimstart": { - "version": "1.0.8", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7", - "define-properties": "^1.2.1", - "es-object-atoms": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/strip-ansi": { "version": "7.1.0", "license": "MIT", @@ -31825,11 +29719,6 @@ "version": "2.20.3", "license": "MIT" }, - "node_modules/text-table": { - "version": "0.2.0", - "dev": true, - "license": "MIT" - }, "node_modules/thenify": { "version": "3.3.1", "license": "MIT", @@ -32144,25 +30033,6 @@ "version": "2.6.3", "license": "0BSD" }, - "node_modules/tsutils": { - "version": "3.21.0", - "dev": true, - "license": "MIT", - "dependencies": { - "tslib": "^1.8.1" - }, - "engines": { - "node": ">= 6" - }, - "peerDependencies": { - "typescript": ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta" - } - }, - "node_modules/tsutils/node_modules/tslib": { - "version": "1.14.1", - "dev": true, - "license": "0BSD" - }, "node_modules/tty-browserify": { "version": "0.0.1", "dev": true, @@ -32187,17 +30057,6 @@ "version": "0.14.5", "license": "Unlicense" }, - "node_modules/type-check": { - "version": "0.4.0", - "dev": true, - "license": "MIT", - "dependencies": { - "prelude-ls": "^1.2.1" - }, - "engines": { - "node": ">= 0.8.0" - } - }, "node_modules/type-detect": { "version": "4.0.8", "license": "MIT", @@ -32228,75 +30087,6 @@ "node": ">= 0.6" } }, - "node_modules/typed-array-buffer": { - "version": "1.0.2", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7", - "es-errors": "^1.3.0", - "is-typed-array": "^1.1.13" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/typed-array-byte-length": { - "version": "1.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7", - "for-each": "^0.3.3", - "gopd": "^1.0.1", - "has-proto": "^1.0.3", - "is-typed-array": "^1.1.13" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/typed-array-byte-offset": { - "version": "1.0.2", - "dev": true, - "license": "MIT", - "dependencies": { - "available-typed-arrays": "^1.0.7", - "call-bind": "^1.0.7", - "for-each": "^0.3.3", - "gopd": "^1.0.1", - "has-proto": "^1.0.3", - "is-typed-array": "^1.1.13" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/typed-array-length": { - "version": "1.0.6", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7", - "for-each": "^0.3.3", - "gopd": "^1.0.1", - "has-proto": "^1.0.3", - "is-typed-array": "^1.1.13", - "possible-typed-array-names": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/typedarray": { "version": "0.0.6", "dev": true, @@ -32365,20 +30155,6 @@ "multiformats": "^9.4.2" } }, - "node_modules/unbox-primitive": { - "version": "1.0.2", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "has-bigints": "^1.0.2", - "has-symbols": "^1.0.3", - "which-boxed-primitive": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/uncrypto": { "version": "0.1.3", "license": "MIT" @@ -33390,63 +31166,6 @@ "node": ">= 8" } }, - "node_modules/which-boxed-primitive": { - "version": "1.0.2", - "dev": true, - "license": "MIT", - "dependencies": { - "is-bigint": "^1.0.1", - "is-boolean-object": "^1.1.0", - "is-number-object": "^1.0.4", - "is-string": "^1.0.5", - "is-symbol": "^1.0.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/which-builtin-type": { - "version": "1.1.3", - "dev": true, - "license": "MIT", - "dependencies": { - "function.prototype.name": "^1.1.5", - "has-tostringtag": "^1.0.0", - "is-async-function": "^2.0.0", - "is-date-object": "^1.0.5", - "is-finalizationregistry": "^1.0.2", - "is-generator-function": "^1.0.10", - "is-regex": "^1.1.4", - "is-weakref": "^1.0.2", - "isarray": "^2.0.5", - "which-boxed-primitive": "^1.0.2", - "which-collection": "^1.0.1", - "which-typed-array": "^1.1.9" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/which-collection": { - "version": "1.0.2", - "dev": true, - "license": "MIT", - "dependencies": { - "is-map": "^2.0.3", - "is-set": "^2.0.3", - "is-weakmap": "^2.0.2", - "is-weakset": "^2.0.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/which-module": { "version": "2.0.1", "license": "ISC" @@ -33472,14 +31191,6 @@ "version": "3.1.2", "license": "W3C-20150513" }, - "node_modules/word-wrap": { - "version": "1.2.5", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/wordwrap": { "version": "1.0.0", "license": "MIT" diff --git a/package.json b/package.json index a24059c8cc..0da5a81051 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "type-check": "tsc --pretty --noEmit --incremental false --project './tsconfig.build.json'", "format": "prettier --write .", "lint": "next lint", - "lint-fix": "eslint --fix . --ext .ts,.tsx,.js,.jsx", + "lint-fix": "biome lint --fix .", "cypress:open": "cypress open", "cypress:open:mobile": "cypress open --config viewportWidth=375,viewportHeight=667", "test": "cypress run", @@ -117,6 +117,7 @@ "devDependencies": { "@chromatic-com/storybook": "^1.6.0", "@esbuild/linux-x64": "^0.22.0", + "@biomejs/biome": "1.8.3", "@hookform/devtools": "^4.3.0", "@storybook/addon-essentials": "^8.1.11", "@storybook/addon-interactions": "^8.1.11", @@ -132,33 +133,23 @@ "@types/node": "^20.11.26", "@types/react": "^18.2.65", "@types/react-google-recaptcha": "^2.1.5", - "@typescript-eslint/eslint-plugin": "^5.54.0", "abitype": "^1.0.2", "autoprefixer": "^10.4.19", "circular-dependency-plugin": "^5.2.2", "cypress": "^13.3.2", "dotenv-cli": "^7.4.1", "dpdm": "^3.14.0", - "eslint": "^8.57.0", - "eslint-config-airbnb": "^19.0.4", - "eslint-config-airbnb-typescript": "^17.0.0", - "eslint-config-next": "^14.1.3", - "eslint-config-prettier": "^8.6.0", - "eslint-plugin-storybook": "^0.8.0", - "husky": "^8.0.3", - "lint-staged": "^13.0.0", "postcss": "^8.4.38", "prettier": "^3.3.2", "prettier-plugin-jsdoc": "^1.3.0", "prettier-plugin-tailwindcss": "^0.6.5", "storybook": "^8.1.11", "tailwindcss": "^3.4.4", + "husky": "^8.0.3", + "lint-staged": "^13.0.0", "typescript": "^5.5.3", "webpack-bugsnag-plugins": "^1.8.0" }, - "lint-staged": { - "./**/*.@(js|jsx|ts|tsx|css|md)": "prettier --write" - }, "snyk": true, "overrides": { "@coinbase/waas-sdk-viem": { diff --git a/public/.well-known/did.json b/public/.well-known/did.json index 73ab153ca1..015d78d7c0 100644 --- a/public/.well-known/did.json +++ b/public/.well-known/did.json @@ -1 +1,31 @@ -{"@context":["https://www.w3.org/ns/did/v1","https://w3id.org/security/suites/jws-2020/v1"],"id":"did:web:guild.xyz","verificationMethod":[{"id":"did:web:guild.xyz#wc-notify-subscribe-key","type":"JsonWebKey2020","controller":"did:web:guild.xyz","publicKeyJwk":{"kty":"OKP","crv":"X25519","x":"WJkznRUDhF9viM573AQhx9il-UOlmuQ6QqDuST5O8wo"}},{"id":"did:web:guild.xyz#wc-notify-authentication-key","type":"JsonWebKey2020","controller":"did:web:guild.xyz","publicKeyJwk":{"kty":"OKP","crv":"Ed25519","x":"L16IwiaIa1Vx_fjXQW6ixaBt2M97LjYKMR8LGnj8oHw"}}],"keyAgreement":["did:web:guild.xyz#wc-notify-subscribe-key"],"authentication":["did:web:guild.xyz#wc-notify-authentication-key"]} \ No newline at end of file +{ + "@context": [ + "https://www.w3.org/ns/did/v1", + "https://w3id.org/security/suites/jws-2020/v1" + ], + "id": "did:web:guild.xyz", + "verificationMethod": [ + { + "id": "did:web:guild.xyz#wc-notify-subscribe-key", + "type": "JsonWebKey2020", + "controller": "did:web:guild.xyz", + "publicKeyJwk": { + "kty": "OKP", + "crv": "X25519", + "x": "WJkznRUDhF9viM573AQhx9il-UOlmuQ6QqDuST5O8wo" + } + }, + { + "id": "did:web:guild.xyz#wc-notify-authentication-key", + "type": "JsonWebKey2020", + "controller": "did:web:guild.xyz", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "x": "L16IwiaIa1Vx_fjXQW6ixaBt2M97LjYKMR8LGnj8oHw" + } + } + ], + "keyAgreement": ["did:web:guild.xyz#wc-notify-subscribe-key"], + "authentication": ["did:web:guild.xyz#wc-notify-authentication-key"] +} diff --git a/public/manifest.json b/public/manifest.json index b03358a13d..b57b70bdfd 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -2,4 +2,4 @@ "name": "Guild.xyz", "description": "Automated membership management for the platforms your community already uses.", "iconPath": "guild-icon.png" -} \ No newline at end of file +} diff --git a/public/success_lottie.json b/public/success_lottie.json index 7dcf702ed8..434538a6ca 100644 --- a/public/success_lottie.json +++ b/public/success_lottie.json @@ -1 +1,2095 @@ -{"v":"5.7.3","fr":60,"ip":0,"op":180,"w":1920,"h":1920,"nm":"animation","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"Tick","parent":4,"sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":0,"s":[0]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":3.115,"s":[100]},{"t":20.796875,"s":[100]}],"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":12,"s":[-165]},{"t":39,"s":[0]}],"ix":10},"p":{"a":0,"k":[346.916,346.917,0],"ix":2},"a":{"a":0,"k":[278.033,227.218,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":19.533,"s":[20,20,100]},{"t":38.48046875,"s":[100,100,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0]],"v":[[-153.033,0.588],[-51.404,102.218],[153.032,-102.218]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":55,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[278.033,227.218],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":1},"e":{"a":1,"k":[{"i":{"x":[0.33],"y":[1]},"o":{"x":[0.67],"y":[0]},"t":20.164,"s":[0]},{"t":38.48046875,"s":[100]}],"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":0,"op":1800,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"Glow Mask","td":1,"sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":0,"s":[0]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":3.115,"s":[100]},{"t":20.796875,"s":[100]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.783,"y":0.48},"o":{"x":0.506,"y":0},"t":0,"s":[1099.01,1187.835,0],"to":[-51.058,-20.951,0],"ti":[23.519,29.424,0]},{"i":{"x":0.576,"y":1},"o":{"x":0.337,"y":0.496},"t":19.533,"s":[989.155,1114.015,0],"to":[-26.997,-33.775,0],"ti":[3.563,56.649,0]},{"t":32.1640625,"s":[947.01,981.835,0]}],"ix":2},"a":{"a":0,"k":[346.917,346.917,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":19.533,"s":[20,20,100]},{"i":{"x":[0.833,0.833,0.833],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":38.48,"s":[110,110,100]},{"i":{"x":[0.833,0.833,0.833],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0,0,0]},"t":51.109,"s":[95,95,100]},{"i":{"x":[0.833,0.833,0.833],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0,0,0]},"t":58.688,"s":[102,102,100]},{"i":{"x":[0.833,0.833,0.833],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0,0,0]},"t":63.74,"s":[98,98,100]},{"t":70.0546875,"s":[100,100,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-191.459],[191.459,0],[0,191.458],[-191.458,0]],"o":[[0,191.458],[-191.458,0],[0,-191.459],[191.459,0]],"v":[[346.667,0],[0,346.667],[-346.667,0],[0,-346.666]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.118000000598,0.442999985639,0.929000016755,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[346.916,346.917],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":1800,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"Glow","tt":1,"sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":0,"s":[0]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":3.115,"s":[100]},{"i":{"x":[0.833],"y":[0.643]},"o":{"x":[0.72],"y":[0]},"t":70.055,"s":[100]},{"t":89,"s":[0]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.788},"o":{"x":0.72,"y":0},"t":59.951,"s":[56,440,0],"to":[226.667,131.333,0],"ti":[-226.667,-131.333,0]},{"t":89,"s":[1416,1228,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[348.655,1.947],[0,0],[35.647,880.072]],"o":[[0,0],[-8.868,-0.049],[0,0],[-3.819,-94.283]],"v":[[211.999,-440],[-480,280],[-136,648],[483.999,-312]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.76862745098,0.823067997951,1,1],"ix":4},"o":{"a":0,"k":30,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Shape 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":1800,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"Background Circle (Blue)","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":0,"s":[0]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":8,"s":[100]},{"t":20.796875,"s":[100]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[960,960,0],"ix":2},"a":{"a":0,"k":[346.917,346.917,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":19.533,"s":[20,20,100]},{"i":{"x":[0.833,0.833,0.833],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":39,"s":[110,110,100]},{"i":{"x":[0.833,0.833,0.833],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0,0,0]},"t":51.109,"s":[95,95,100]},{"i":{"x":[0.833,0.833,0.833],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0,0,0]},"t":58.688,"s":[102,102,100]},{"i":{"x":[0.833,0.833,0.833],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0,0,0]},"t":63.74,"s":[98,98,100]},{"t":70.0546875,"s":[100,100,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-191.459],[191.459,0],[0,191.458],[-191.458,0]],"o":[[0,191.458],[-191.458,0],[0,-191.459],[191.459,0]],"v":[[346.667,0],[0,346.667],[-346.667,0],[0,-346.666]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.313725490196,0.81568627451,0.360784313725,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[346.916,346.917],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":1800,"st":0,"bm":0},{"ddd":0,"ind":6,"ty":4,"nm":"Element 11","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":10.793,"s":[0]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":12.871,"s":[100]},{"i":{"x":[0.833],"y":[0.601]},"o":{"x":[0.72],"y":[0]},"t":27.42,"s":[100]},{"t":56,"s":[0]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.33,"y":1},"o":{"x":0.174,"y":0},"t":15.99,"s":[957.368,957.581,0],"to":[-154.333,61,0],"ti":[34.333,-69,0]},{"t":32.615234375,"s":[774.545,1455.048,0]}],"ix":2},"a":{"a":0,"k":[88.379,84.132,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[-17.539,13.457],[-12.743,-16.607],[0,0]],"o":[[-12.743,-16.608],[17.539,-13.458],[0,0],[0,0]],"v":[[-25.635,34.132],[-16.894,-20.673],[38.306,-14.931],[38.379,-14.837]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.255000005984,0.685999971278,0.501999978458,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":20,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[88.378,84.131],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":15,"op":1815,"st":15,"bm":0},{"ddd":0,"ind":7,"ty":4,"nm":"Element 10","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":10.793,"s":[0]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":12.871,"s":[100]},{"i":{"x":[0.833],"y":[0.601]},"o":{"x":[0.72],"y":[0]},"t":27.42,"s":[100]},{"t":56,"s":[0]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.33,"y":1},"o":{"x":0.229,"y":0},"t":15.99,"s":[960,960,0],"to":[59.019,77.842,0],"ti":[-71.667,-48,0]},{"t":34.6953125,"s":[1314.113,1427.051,0]}],"ix":2},"a":{"a":0,"k":[33.514,41.664,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[3.281,-1.895],[0,0],[1.894,3.281],[0,0],[-3.281,1.894],[0,0],[-1.894,-3.282],[0,0]],"o":[[0,0],[-3.281,1.894],[0,0],[-1.894,-3.283],[0,0],[3.281,-1.895],[0,0],[1.894,3.281]],"v":[[28.859,29.055],[10.732,39.52],[1.361,37.009],[-31.37,-19.681],[-28.859,-29.053],[-10.732,-39.519],[-1.361,-37.008],[31.37,19.683]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.275,0.513999968884,0.961000031116,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[33.514,41.664],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":15,"op":1815,"st":15,"bm":0},{"ddd":0,"ind":8,"ty":4,"nm":"Element 9","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":10.793,"s":[0]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":12.871,"s":[100]},{"i":{"x":[0.833],"y":[0.601]},"o":{"x":[0.72],"y":[0]},"t":27.42,"s":[100]},{"t":56,"s":[0]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.33,"y":1},"o":{"x":0.189,"y":0},"t":15.99,"s":[961.262,961.213,0],"to":[70.333,-5.667,0],"ti":[-62.333,-30.333,0]},{"t":33.134765625,"s":[1420.768,1239.936,0]}],"ix":2},"a":{"a":0,"k":[60.548,78.82,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[2.886,-21.917],[20.753,2.734],[0.039,0.005]],"o":[[20.754,2.733],[-2.886,21.918],[-0.04,-0.005],[0,0]],"v":[[-12.409,-41.32],[20.162,3.615],[-22.93,38.586],[-23.048,38.571]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.972549019608,0.149019607843,0.505882352941,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":15,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[60.548,78.82],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":15,"op":1815,"st":15,"bm":0},{"ddd":0,"ind":9,"ty":4,"nm":"Element 8","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":10.793,"s":[0]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":12.871,"s":[100]},{"i":{"x":[0.833],"y":[0.601]},"o":{"x":[0.72],"y":[0]},"t":27.42,"s":[100]},{"t":56,"s":[0]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.33,"y":1},"o":{"x":0.263,"y":0},"t":15.99,"s":[959.692,959.692,0],"to":[46.333,-81.667,0],"ti":[-98.333,51.667,0]},{"t":46.126953125,"s":[1397.413,873.271,0]}],"ix":2},"a":{"a":0,"k":[47.326,47.325,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-11.644,-3.948],[0,0],[-3.912,2.92],[0,0],[0.157,-12.294],[0,0],[-3.985,-2.819],[0,0],[11.74,-3.65],[0,0],[1.449,-4.662],[0,0],[7.098,10.038],[0,0],[4.882,-0.063],[0,0],[-7.354,9.853],[0,0],[1.569,4.624],[0,0]],"o":[[0,0],[4.623,1.568],[0,0],[9.854,-7.353],[0,0],[-0.062,4.882],[0,0],[10.038,7.099],[0,0],[-4.662,1.449],[0,0],[-3.649,11.74],[0,0],[-2.82,-3.986],[0,0],[-12.293,0.156],[0,0],[2.92,-3.913],[0,0],[-3.948,-11.644]],"v":[[-17.558,-36.37],[-13.481,-34.987],[0.154,-37.147],[3.606,-39.722],[27.31,-27.644],[27.255,-23.339],[33.522,-11.038],[37.038,-8.552],[32.877,17.724],[28.763,19.002],[19.003,28.764],[17.724,32.876],[-8.551,37.037],[-11.037,33.522],[-23.338,27.255],[-27.644,27.31],[-39.721,3.606],[-37.146,0.155],[-34.987,-13.481],[-36.37,-17.558]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,0.736999990426,0.195999998205,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[47.325,47.325],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":15,"op":1815,"st":15,"bm":0},{"ddd":0,"ind":10,"ty":4,"nm":"Element 7","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":10.793,"s":[0]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":12.871,"s":[100]},{"i":{"x":[0.833],"y":[0.601]},"o":{"x":[0.72],"y":[0]},"t":27.42,"s":[100]},{"t":56,"s":[0]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.33,"y":1},"o":{"x":0.229,"y":0},"t":15.99,"s":[958.09,958.244,0],"to":[18.333,-110,0],"ti":[-64.333,76,0]},{"t":34.6953125,"s":[1316.148,645.839,0]}],"ix":2},"a":{"a":0,"k":[77.856,74.774,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[-12.731,9.768],[-9.249,-12.055],[-0.018,-0.022]],"o":[[-9.249,-12.055],[12.73,-9.768],[0.018,0.023],[0,0]],"v":[[-18.607,24.774],[-12.262,-15.006],[27.805,-10.838],[27.857,-10.77]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.972549019608,0.149019607843,0.505882352941,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":20,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[77.856,74.774],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":15,"op":1815,"st":15,"bm":0},{"ddd":0,"ind":11,"ty":4,"nm":"Element 6","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":10.793,"s":[0]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":12.871,"s":[100]},{"i":{"x":[0.833],"y":[0.601]},"o":{"x":[0.72],"y":[0]},"t":27.42,"s":[100]},{"t":56,"s":[0]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.33,"y":1},"o":{"x":0.189,"y":0},"t":15.99,"s":[959.693,959.693,0],"to":[-138,24.333,0],"ti":[110,-64.333,0]},{"t":33.134765625,"s":[529.471,1363.811,0]}],"ix":2},"a":{"a":0,"k":[47.326,47.325,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-11.644,-3.948],[0,0],[-3.913,2.92],[0,0],[0.157,-12.294],[0,0],[-3.986,-2.819],[0,0],[11.74,-3.65],[0,0],[1.449,-4.662],[0,0],[7.099,10.038],[0,0],[4.881,-0.062],[0,0],[-7.353,9.853],[0,0],[1.568,4.624],[0,0]],"o":[[0,0],[4.623,1.567],[0,0],[9.853,-7.352],[0,0],[-0.063,4.882],[0,0],[10.038,7.1],[0,0],[-4.662,1.449],[0,0],[-3.649,11.741],[0,0],[-2.819,-3.987],[0,0],[-12.293,0.157],[0,0],[2.92,-3.913],[0,0],[-3.948,-11.644]],"v":[[-17.558,-36.37],[-13.481,-34.987],[0.154,-37.147],[3.605,-39.723],[27.31,-27.644],[27.255,-23.339],[33.521,-11.038],[37.037,-8.553],[32.875,17.724],[28.763,19.002],[19.003,28.764],[17.724,32.875],[-8.552,37.037],[-11.039,33.522],[-23.339,27.254],[-27.645,27.31],[-39.722,3.606],[-37.146,0.154],[-34.987,-13.481],[-36.37,-17.558]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,0.737254901961,0.196078446332,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[47.325,47.325],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":15,"op":1815,"st":15,"bm":0},{"ddd":0,"ind":12,"ty":4,"nm":"Element 5","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":10.793,"s":[0]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":12.871,"s":[100]},{"i":{"x":[0.833],"y":[0.601]},"o":{"x":[0.72],"y":[0]},"t":27.42,"s":[100]},{"t":56,"s":[0]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.33,"y":1},"o":{"x":0.283,"y":0},"t":15.99,"s":[960,960,0],"to":[-178.333,3,0],"ti":[124.333,-150,0]},{"t":47.166015625,"s":[517.297,1177.159,0]}],"ix":2},"a":{"a":0,"k":[30.771,30.771,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-16.856],[16.856,0],[0,16.856],[-16.857,0]],"o":[[0,16.856],[-16.857,0],[0,-16.856],[16.856,0]],"v":[[30.521,0],[0,30.521],[-30.521,0],[0,-30.521]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.972549019608,0.149019607843,0.505882352941,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[30.771,30.771],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":15,"op":1815,"st":15,"bm":0},{"ddd":0,"ind":13,"ty":4,"nm":"Element 4","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":10.793,"s":[0]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":12.871,"s":[100]},{"i":{"x":[0.833],"y":[0.601]},"o":{"x":[0.72],"y":[0]},"t":27.42,"s":[100]},{"t":56,"s":[0]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.33,"y":1},"o":{"x":0.273,"y":0},"t":15.99,"s":[960,960,0],"to":[-94.667,-86.667,0],"ti":[140.667,20.667,0]},{"t":46.64453125,"s":[446.624,934.727,0]}],"ix":2},"a":{"a":0,"k":[42,25.144,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-0.829,-3.697],[0,0],[3.698,-0.828],[0,0],[0.83,3.697],[0,0],[-3.697,0.828],[0,0]],"o":[[0,0],[0.829,3.697],[0,0],[-3.697,0.828],[0,0],[-0.828,-3.697],[0,0],[3.697,-0.828]],"v":[[36.343,-18.872],[40.921,1.552],[35.727,9.747],[-28.148,24.066],[-36.344,18.872],[-40.922,-1.553],[-35.728,-9.747],[28.148,-24.066]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.313725490196,0.81568627451,0.360784313725,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[42,25.144],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":15,"op":1815,"st":15,"bm":0},{"ddd":0,"ind":14,"ty":4,"nm":"Element 3","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":10.793,"s":[0]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":12.871,"s":[100]},{"i":{"x":[0.833],"y":[0.601]},"o":{"x":[0.72],"y":[0]},"t":27.42,"s":[100]},{"t":56,"s":[0]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.33,"y":1},"o":{"x":0.174,"y":0},"t":15.99,"s":[959.693,959.692,0],"to":[-113.667,-146,0],"ti":[119.667,22.5,0]},{"t":42.48828125,"s":[529.471,736.071,0]}],"ix":2},"a":{"a":0,"k":[47.326,47.325,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-11.644,-3.948],[0,0],[-3.913,2.92],[0,0],[0.157,-12.294],[0,0],[-3.986,-2.819],[0,0],[11.74,-3.65],[0,0],[1.449,-4.662],[0,0],[7.099,10.038],[0,0],[4.881,-0.063],[0,0],[-7.353,9.854],[0,0],[1.568,4.624],[0,0]],"o":[[0,0],[4.623,1.568],[0,0],[9.853,-7.353],[0,0],[-0.063,4.882],[0,0],[10.038,7.099],[0,0],[-4.662,1.449],[0,0],[-3.649,11.74],[0,0],[-2.819,-3.986],[0,0],[-12.293,0.157],[0,0],[2.92,-3.912],[0,0],[-3.948,-11.644]],"v":[[-17.558,-36.37],[-13.481,-34.987],[0.154,-37.147],[3.605,-39.722],[27.31,-27.644],[27.255,-23.339],[33.521,-11.038],[37.037,-8.552],[32.875,17.724],[28.763,19.002],[19.003,28.764],[17.724,32.876],[-8.552,37.037],[-11.039,33.522],[-23.339,27.255],[-27.645,27.309],[-39.722,3.605],[-37.146,0.154],[-34.987,-13.481],[-36.37,-17.558]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.274509803922,0.513725490196,0.960784313725,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[47.325,47.325],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":15,"op":1815,"st":15,"bm":0},{"ddd":0,"ind":15,"ty":4,"nm":"Element 2","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":10.793,"s":[0]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":12.871,"s":[100]},{"i":{"x":[0.833],"y":[0.601]},"o":{"x":[0.72],"y":[0]},"t":27.42,"s":[100]},{"t":56,"s":[0]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.33,"y":1},"o":{"x":0.292,"y":0},"t":15.99,"s":[960,960,0],"to":[-95.667,-127,0],"ti":[3.667,95,0]},{"t":47.6875,"s":[788.638,547.457,0]}],"ix":2},"a":{"a":0,"k":[33.515,41.664,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[3.281,-1.895],[0,0],[1.895,3.281],[0,0],[-3.281,1.894],[0,0],[-1.895,-3.281],[0,0]],"o":[[0,0],[-3.282,1.895],[0,0],[-1.895,-3.281],[0,0],[3.281,-1.894],[0,0],[1.895,3.282]],"v":[[28.859,29.054],[10.733,39.519],[1.36,37.008],[-31.37,-19.683],[-28.859,-29.054],[-10.732,-39.52],[-1.36,-37.009],[31.37,19.682]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.274509803922,0.513725490196,0.960784313725,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[33.515,41.664],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":15,"op":1815,"st":15,"bm":0},{"ddd":0,"ind":16,"ty":4,"nm":"Element 1","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":10.793,"s":[0]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":12.871,"s":[100]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":27.42,"s":[100]},{"t":56,"s":[0]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.33,"y":1},"o":{"x":0.252,"y":0},"t":15.99,"s":[960,960,0],"to":[22,-151.667,0],"ti":[40,75.667,0]},{"t":45.607421875,"s":[1027.199,504.507,0]}],"ix":2},"a":{"a":0,"k":[30.771,30.771,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-16.856],[16.856,0],[0,16.857],[-16.857,0]],"o":[[0,16.857],[-16.857,0],[0,-16.856],[16.856,0]],"v":[[30.522,-0.001],[0,30.522],[-30.522,-0.001],[0,-30.522]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.255000005984,0.685999971278,0.501999978458,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[30.771,30.772],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":15,"op":1815,"st":15,"bm":0}],"markers":[]} \ No newline at end of file +{ + "v": "5.7.3", + "fr": 60, + "ip": 0, + "op": 180, + "w": 1920, + "h": 1920, + "nm": "animation", + "ddd": 0, + "assets": [], + "layers": [ + { + "ddd": 0, + "ind": 1, + "ty": 4, + "nm": "Tick", + "parent": 4, + "sr": 1, + "ks": { + "o": { + "a": 1, + "k": [ + { + "i": { "x": [0.833], "y": [0.833] }, + "o": { "x": [0.167], "y": [0.167] }, + "t": 0, + "s": [0] + }, + { + "i": { "x": [0.833], "y": [0.833] }, + "o": { "x": [0.167], "y": [0.167] }, + "t": 3.115, + "s": [100] + }, + { "t": 20.796875, "s": [100] } + ], + "ix": 11 + }, + "r": { + "a": 1, + "k": [ + { + "i": { "x": [0.667], "y": [1] }, + "o": { "x": [0.333], "y": [0] }, + "t": 12, + "s": [-165] + }, + { "t": 39, "s": [0] } + ], + "ix": 10 + }, + "p": { "a": 0, "k": [346.916, 346.917, 0], "ix": 2 }, + "a": { "a": 0, "k": [278.033, 227.218, 0], "ix": 1 }, + "s": { + "a": 1, + "k": [ + { + "i": { "x": [0.667, 0.667, 0.667], "y": [1, 1, 1] }, + "o": { "x": [0.333, 0.333, 0.333], "y": [0, 0, 0] }, + "t": 19.533, + "s": [20, 20, 100] + }, + { "t": 38.48046875, "s": [100, 100, 100] } + ], + "ix": 6 + } + }, + "ao": 0, + "shapes": [ + { + "ty": "gr", + "it": [ + { + "ind": 0, + "ty": "sh", + "ix": 1, + "ks": { + "a": 0, + "k": { + "i": [[0, 0], [0, 0], [0, 0]], + "o": [[0, 0], [0, 0], [0, 0]], + "v": [[-153.033, 0.588], [-51.404, 102.218], [153.032, -102.218]], + "c": false + }, + "ix": 2 + }, + "nm": "Path 1", + "mn": "ADBE Vector Shape - Group", + "hd": false + }, + { + "ty": "st", + "c": { "a": 0, "k": [1, 1, 1, 1], "ix": 3 }, + "o": { "a": 0, "k": 100, "ix": 4 }, + "w": { "a": 0, "k": 55, "ix": 5 }, + "lc": 2, + "lj": 2, + "bm": 0, + "nm": "Stroke 1", + "mn": "ADBE Vector Graphic - Stroke", + "hd": false + }, + { + "ty": "tr", + "p": { "a": 0, "k": [278.033, 227.218], "ix": 2 }, + "a": { "a": 0, "k": [0, 0], "ix": 1 }, + "s": { "a": 0, "k": [100, 100], "ix": 3 }, + "r": { "a": 0, "k": 0, "ix": 6 }, + "o": { "a": 0, "k": 100, "ix": 7 }, + "sk": { "a": 0, "k": 0, "ix": 4 }, + "sa": { "a": 0, "k": 0, "ix": 5 }, + "nm": "Transform" + } + ], + "nm": "Group 1", + "np": 2, + "cix": 2, + "bm": 0, + "ix": 1, + "mn": "ADBE Vector Group", + "hd": false + }, + { + "ty": "tm", + "s": { "a": 0, "k": 0, "ix": 1 }, + "e": { + "a": 1, + "k": [ + { + "i": { "x": [0.33], "y": [1] }, + "o": { "x": [0.67], "y": [0] }, + "t": 20.164, + "s": [0] + }, + { "t": 38.48046875, "s": [100] } + ], + "ix": 2 + }, + "o": { "a": 0, "k": 0, "ix": 3 }, + "m": 1, + "ix": 2, + "nm": "Trim Paths 1", + "mn": "ADBE Vector Filter - Trim", + "hd": false + } + ], + "ip": 0, + "op": 1800, + "st": 0, + "bm": 0 + }, + { + "ddd": 0, + "ind": 2, + "ty": 4, + "nm": "Glow Mask", + "td": 1, + "sr": 1, + "ks": { + "o": { + "a": 1, + "k": [ + { + "i": { "x": [0.833], "y": [0.833] }, + "o": { "x": [0.167], "y": [0.167] }, + "t": 0, + "s": [0] + }, + { + "i": { "x": [0.833], "y": [0.833] }, + "o": { "x": [0.167], "y": [0.167] }, + "t": 3.115, + "s": [100] + }, + { "t": 20.796875, "s": [100] } + ], + "ix": 11 + }, + "r": { "a": 0, "k": 0, "ix": 10 }, + "p": { + "a": 1, + "k": [ + { + "i": { "x": 0.783, "y": 0.48 }, + "o": { "x": 0.506, "y": 0 }, + "t": 0, + "s": [1099.01, 1187.835, 0], + "to": [-51.058, -20.951, 0], + "ti": [23.519, 29.424, 0] + }, + { + "i": { "x": 0.576, "y": 1 }, + "o": { "x": 0.337, "y": 0.496 }, + "t": 19.533, + "s": [989.155, 1114.015, 0], + "to": [-26.997, -33.775, 0], + "ti": [3.563, 56.649, 0] + }, + { "t": 32.1640625, "s": [947.01, 981.835, 0] } + ], + "ix": 2 + }, + "a": { "a": 0, "k": [346.917, 346.917, 0], "ix": 1 }, + "s": { + "a": 1, + "k": [ + { + "i": { "x": [0.667, 0.667, 0.667], "y": [1, 1, 1] }, + "o": { "x": [0.333, 0.333, 0.333], "y": [0, 0, 0] }, + "t": 19.533, + "s": [20, 20, 100] + }, + { + "i": { "x": [0.833, 0.833, 0.833], "y": [1, 1, 1] }, + "o": { "x": [0.333, 0.333, 0.333], "y": [0, 0, 0] }, + "t": 38.48, + "s": [110, 110, 100] + }, + { + "i": { "x": [0.833, 0.833, 0.833], "y": [1, 1, 1] }, + "o": { "x": [0.167, 0.167, 0.167], "y": [0, 0, 0] }, + "t": 51.109, + "s": [95, 95, 100] + }, + { + "i": { "x": [0.833, 0.833, 0.833], "y": [1, 1, 1] }, + "o": { "x": [0.167, 0.167, 0.167], "y": [0, 0, 0] }, + "t": 58.688, + "s": [102, 102, 100] + }, + { + "i": { "x": [0.833, 0.833, 0.833], "y": [1, 1, 1] }, + "o": { "x": [0.167, 0.167, 0.167], "y": [0, 0, 0] }, + "t": 63.74, + "s": [98, 98, 100] + }, + { "t": 70.0546875, "s": [100, 100, 100] } + ], + "ix": 6 + } + }, + "ao": 0, + "shapes": [ + { + "ty": "gr", + "it": [ + { + "ind": 0, + "ty": "sh", + "ix": 1, + "ks": { + "a": 0, + "k": { + "i": [[0, -191.459], [191.459, 0], [0, 191.458], [-191.458, 0]], + "o": [[0, 191.458], [-191.458, 0], [0, -191.459], [191.459, 0]], + "v": [[346.667, 0], [0, 346.667], [-346.667, 0], [0, -346.666]], + "c": true + }, + "ix": 2 + }, + "nm": "Path 1", + "mn": "ADBE Vector Shape - Group", + "hd": false + }, + { + "ty": "fl", + "c": { + "a": 0, + "k": [0.118000000598, 0.442999985639, 0.929000016755, 1], + "ix": 4 + }, + "o": { "a": 0, "k": 100, "ix": 5 }, + "r": 1, + "bm": 0, + "nm": "Fill 1", + "mn": "ADBE Vector Graphic - Fill", + "hd": false + }, + { + "ty": "tr", + "p": { "a": 0, "k": [346.916, 346.917], "ix": 2 }, + "a": { "a": 0, "k": [0, 0], "ix": 1 }, + "s": { "a": 0, "k": [100, 100], "ix": 3 }, + "r": { "a": 0, "k": 0, "ix": 6 }, + "o": { "a": 0, "k": 100, "ix": 7 }, + "sk": { "a": 0, "k": 0, "ix": 4 }, + "sa": { "a": 0, "k": 0, "ix": 5 }, + "nm": "Transform" + } + ], + "nm": "Group 1", + "np": 2, + "cix": 2, + "bm": 0, + "ix": 1, + "mn": "ADBE Vector Group", + "hd": false + } + ], + "ip": 0, + "op": 1800, + "st": 0, + "bm": 0 + }, + { + "ddd": 0, + "ind": 3, + "ty": 4, + "nm": "Glow", + "tt": 1, + "sr": 1, + "ks": { + "o": { + "a": 1, + "k": [ + { + "i": { "x": [0.833], "y": [1] }, + "o": { "x": [0.167], "y": [0] }, + "t": 0, + "s": [0] + }, + { + "i": { "x": [0.833], "y": [1] }, + "o": { "x": [0.167], "y": [0] }, + "t": 3.115, + "s": [100] + }, + { + "i": { "x": [0.833], "y": [0.643] }, + "o": { "x": [0.72], "y": [0] }, + "t": 70.055, + "s": [100] + }, + { "t": 89, "s": [0] } + ], + "ix": 11 + }, + "r": { "a": 0, "k": 0, "ix": 10 }, + "p": { + "a": 1, + "k": [ + { + "i": { "x": 0.833, "y": 0.788 }, + "o": { "x": 0.72, "y": 0 }, + "t": 59.951, + "s": [56, 440, 0], + "to": [226.667, 131.333, 0], + "ti": [-226.667, -131.333, 0] + }, + { "t": 89, "s": [1416, 1228, 0] } + ], + "ix": 2 + }, + "a": { "a": 0, "k": [0, 0, 0], "ix": 1 }, + "s": { "a": 0, "k": [100, 100, 100], "ix": 6 } + }, + "ao": 0, + "shapes": [ + { + "ty": "gr", + "it": [ + { + "ind": 0, + "ty": "sh", + "ix": 1, + "ks": { + "a": 0, + "k": { + "i": [[0, 0], [348.655, 1.947], [0, 0], [35.647, 880.072]], + "o": [[0, 0], [-8.868, -0.049], [0, 0], [-3.819, -94.283]], + "v": [[211.999, -440], [-480, 280], [-136, 648], [483.999, -312]], + "c": true + }, + "ix": 2 + }, + "nm": "Path 1", + "mn": "ADBE Vector Shape - Group", + "hd": false + }, + { + "ty": "fl", + "c": { "a": 0, "k": [0.76862745098, 0.823067997951, 1, 1], "ix": 4 }, + "o": { "a": 0, "k": 30, "ix": 5 }, + "r": 1, + "bm": 0, + "nm": "Fill 1", + "mn": "ADBE Vector Graphic - Fill", + "hd": false + }, + { + "ty": "tr", + "p": { "a": 0, "k": [0, 0], "ix": 2 }, + "a": { "a": 0, "k": [0, 0], "ix": 1 }, + "s": { "a": 0, "k": [100, 100], "ix": 3 }, + "r": { "a": 0, "k": 0, "ix": 6 }, + "o": { "a": 0, "k": 100, "ix": 7 }, + "sk": { "a": 0, "k": 0, "ix": 4 }, + "sa": { "a": 0, "k": 0, "ix": 5 }, + "nm": "Transform" + } + ], + "nm": "Shape 1", + "np": 3, + "cix": 2, + "bm": 0, + "ix": 1, + "mn": "ADBE Vector Group", + "hd": false + } + ], + "ip": 0, + "op": 1800, + "st": 0, + "bm": 0 + }, + { + "ddd": 0, + "ind": 4, + "ty": 4, + "nm": "Background Circle (Blue)", + "sr": 1, + "ks": { + "o": { + "a": 1, + "k": [ + { + "i": { "x": [0.833], "y": [0.833] }, + "o": { "x": [0.167], "y": [0.167] }, + "t": 0, + "s": [0] + }, + { + "i": { "x": [0.833], "y": [0.833] }, + "o": { "x": [0.167], "y": [0.167] }, + "t": 8, + "s": [100] + }, + { "t": 20.796875, "s": [100] } + ], + "ix": 11 + }, + "r": { "a": 0, "k": 0, "ix": 10 }, + "p": { "a": 0, "k": [960, 960, 0], "ix": 2 }, + "a": { "a": 0, "k": [346.917, 346.917, 0], "ix": 1 }, + "s": { + "a": 1, + "k": [ + { + "i": { "x": [0.667, 0.667, 0.667], "y": [1, 1, 1] }, + "o": { "x": [0.333, 0.333, 0.333], "y": [0, 0, 0] }, + "t": 19.533, + "s": [20, 20, 100] + }, + { + "i": { "x": [0.833, 0.833, 0.833], "y": [1, 1, 1] }, + "o": { "x": [0.333, 0.333, 0.333], "y": [0, 0, 0] }, + "t": 39, + "s": [110, 110, 100] + }, + { + "i": { "x": [0.833, 0.833, 0.833], "y": [1, 1, 1] }, + "o": { "x": [0.167, 0.167, 0.167], "y": [0, 0, 0] }, + "t": 51.109, + "s": [95, 95, 100] + }, + { + "i": { "x": [0.833, 0.833, 0.833], "y": [1, 1, 1] }, + "o": { "x": [0.167, 0.167, 0.167], "y": [0, 0, 0] }, + "t": 58.688, + "s": [102, 102, 100] + }, + { + "i": { "x": [0.833, 0.833, 0.833], "y": [1, 1, 1] }, + "o": { "x": [0.167, 0.167, 0.167], "y": [0, 0, 0] }, + "t": 63.74, + "s": [98, 98, 100] + }, + { "t": 70.0546875, "s": [100, 100, 100] } + ], + "ix": 6 + } + }, + "ao": 0, + "shapes": [ + { + "ty": "gr", + "it": [ + { + "ind": 0, + "ty": "sh", + "ix": 1, + "ks": { + "a": 0, + "k": { + "i": [[0, -191.459], [191.459, 0], [0, 191.458], [-191.458, 0]], + "o": [[0, 191.458], [-191.458, 0], [0, -191.459], [191.459, 0]], + "v": [[346.667, 0], [0, 346.667], [-346.667, 0], [0, -346.666]], + "c": true + }, + "ix": 2 + }, + "nm": "Path 1", + "mn": "ADBE Vector Shape - Group", + "hd": false + }, + { + "ty": "fl", + "c": { + "a": 0, + "k": [0.313725490196, 0.81568627451, 0.360784313725, 1], + "ix": 4 + }, + "o": { "a": 0, "k": 100, "ix": 5 }, + "r": 1, + "bm": 0, + "nm": "Fill 1", + "mn": "ADBE Vector Graphic - Fill", + "hd": false + }, + { + "ty": "tr", + "p": { "a": 0, "k": [346.916, 346.917], "ix": 2 }, + "a": { "a": 0, "k": [0, 0], "ix": 1 }, + "s": { "a": 0, "k": [100, 100], "ix": 3 }, + "r": { "a": 0, "k": 0, "ix": 6 }, + "o": { "a": 0, "k": 100, "ix": 7 }, + "sk": { "a": 0, "k": 0, "ix": 4 }, + "sa": { "a": 0, "k": 0, "ix": 5 }, + "nm": "Transform" + } + ], + "nm": "Group 1", + "np": 2, + "cix": 2, + "bm": 0, + "ix": 1, + "mn": "ADBE Vector Group", + "hd": false + } + ], + "ip": 0, + "op": 1800, + "st": 0, + "bm": 0 + }, + { + "ddd": 0, + "ind": 6, + "ty": 4, + "nm": "Element 11", + "sr": 1, + "ks": { + "o": { + "a": 1, + "k": [ + { + "i": { "x": [0.833], "y": [1] }, + "o": { "x": [0.167], "y": [0] }, + "t": 10.793, + "s": [0] + }, + { + "i": { "x": [0.833], "y": [1] }, + "o": { "x": [0.167], "y": [0] }, + "t": 12.871, + "s": [100] + }, + { + "i": { "x": [0.833], "y": [0.601] }, + "o": { "x": [0.72], "y": [0] }, + "t": 27.42, + "s": [100] + }, + { "t": 56, "s": [0] } + ], + "ix": 11 + }, + "r": { "a": 0, "k": 0, "ix": 10 }, + "p": { + "a": 1, + "k": [ + { + "i": { "x": 0.33, "y": 1 }, + "o": { "x": 0.174, "y": 0 }, + "t": 15.99, + "s": [957.368, 957.581, 0], + "to": [-154.333, 61, 0], + "ti": [34.333, -69, 0] + }, + { "t": 32.615234375, "s": [774.545, 1455.048, 0] } + ], + "ix": 2 + }, + "a": { "a": 0, "k": [88.379, 84.132, 0], "ix": 1 }, + "s": { "a": 0, "k": [100, 100, 100], "ix": 6 } + }, + "ao": 0, + "shapes": [ + { + "ty": "gr", + "it": [ + { + "ind": 0, + "ty": "sh", + "ix": 1, + "ks": { + "a": 0, + "k": { + "i": [[0, 0], [-17.539, 13.457], [-12.743, -16.607], [0, 0]], + "o": [[-12.743, -16.608], [17.539, -13.458], [0, 0], [0, 0]], + "v": [ + [-25.635, 34.132], + [-16.894, -20.673], + [38.306, -14.931], + [38.379, -14.837] + ], + "c": false + }, + "ix": 2 + }, + "nm": "Path 1", + "mn": "ADBE Vector Shape - Group", + "hd": false + }, + { + "ty": "st", + "c": { + "a": 0, + "k": [0.255000005984, 0.685999971278, 0.501999978458, 1], + "ix": 3 + }, + "o": { "a": 0, "k": 100, "ix": 4 }, + "w": { "a": 0, "k": 20, "ix": 5 }, + "lc": 2, + "lj": 2, + "bm": 0, + "nm": "Stroke 1", + "mn": "ADBE Vector Graphic - Stroke", + "hd": false + }, + { + "ty": "tr", + "p": { "a": 0, "k": [88.378, 84.131], "ix": 2 }, + "a": { "a": 0, "k": [0, 0], "ix": 1 }, + "s": { "a": 0, "k": [100, 100], "ix": 3 }, + "r": { "a": 0, "k": 0, "ix": 6 }, + "o": { "a": 0, "k": 100, "ix": 7 }, + "sk": { "a": 0, "k": 0, "ix": 4 }, + "sa": { "a": 0, "k": 0, "ix": 5 }, + "nm": "Transform" + } + ], + "nm": "Group 1", + "np": 2, + "cix": 2, + "bm": 0, + "ix": 1, + "mn": "ADBE Vector Group", + "hd": false + } + ], + "ip": 15, + "op": 1815, + "st": 15, + "bm": 0 + }, + { + "ddd": 0, + "ind": 7, + "ty": 4, + "nm": "Element 10", + "sr": 1, + "ks": { + "o": { + "a": 1, + "k": [ + { + "i": { "x": [0.833], "y": [1] }, + "o": { "x": [0.167], "y": [0] }, + "t": 10.793, + "s": [0] + }, + { + "i": { "x": [0.833], "y": [1] }, + "o": { "x": [0.167], "y": [0] }, + "t": 12.871, + "s": [100] + }, + { + "i": { "x": [0.833], "y": [0.601] }, + "o": { "x": [0.72], "y": [0] }, + "t": 27.42, + "s": [100] + }, + { "t": 56, "s": [0] } + ], + "ix": 11 + }, + "r": { "a": 0, "k": 0, "ix": 10 }, + "p": { + "a": 1, + "k": [ + { + "i": { "x": 0.33, "y": 1 }, + "o": { "x": 0.229, "y": 0 }, + "t": 15.99, + "s": [960, 960, 0], + "to": [59.019, 77.842, 0], + "ti": [-71.667, -48, 0] + }, + { "t": 34.6953125, "s": [1314.113, 1427.051, 0] } + ], + "ix": 2 + }, + "a": { "a": 0, "k": [33.514, 41.664, 0], "ix": 1 }, + "s": { "a": 0, "k": [100, 100, 100], "ix": 6 } + }, + "ao": 0, + "shapes": [ + { + "ty": "gr", + "it": [ + { + "ind": 0, + "ty": "sh", + "ix": 1, + "ks": { + "a": 0, + "k": { + "i": [ + [3.281, -1.895], + [0, 0], + [1.894, 3.281], + [0, 0], + [-3.281, 1.894], + [0, 0], + [-1.894, -3.282], + [0, 0] + ], + "o": [ + [0, 0], + [-3.281, 1.894], + [0, 0], + [-1.894, -3.283], + [0, 0], + [3.281, -1.895], + [0, 0], + [1.894, 3.281] + ], + "v": [ + [28.859, 29.055], + [10.732, 39.52], + [1.361, 37.009], + [-31.37, -19.681], + [-28.859, -29.053], + [-10.732, -39.519], + [-1.361, -37.008], + [31.37, 19.683] + ], + "c": true + }, + "ix": 2 + }, + "nm": "Path 1", + "mn": "ADBE Vector Shape - Group", + "hd": false + }, + { + "ty": "fl", + "c": { + "a": 0, + "k": [0.275, 0.513999968884, 0.961000031116, 1], + "ix": 4 + }, + "o": { "a": 0, "k": 100, "ix": 5 }, + "r": 1, + "bm": 0, + "nm": "Fill 1", + "mn": "ADBE Vector Graphic - Fill", + "hd": false + }, + { + "ty": "tr", + "p": { "a": 0, "k": [33.514, 41.664], "ix": 2 }, + "a": { "a": 0, "k": [0, 0], "ix": 1 }, + "s": { "a": 0, "k": [100, 100], "ix": 3 }, + "r": { "a": 0, "k": 0, "ix": 6 }, + "o": { "a": 0, "k": 100, "ix": 7 }, + "sk": { "a": 0, "k": 0, "ix": 4 }, + "sa": { "a": 0, "k": 0, "ix": 5 }, + "nm": "Transform" + } + ], + "nm": "Group 1", + "np": 2, + "cix": 2, + "bm": 0, + "ix": 1, + "mn": "ADBE Vector Group", + "hd": false + } + ], + "ip": 15, + "op": 1815, + "st": 15, + "bm": 0 + }, + { + "ddd": 0, + "ind": 8, + "ty": 4, + "nm": "Element 9", + "sr": 1, + "ks": { + "o": { + "a": 1, + "k": [ + { + "i": { "x": [0.833], "y": [1] }, + "o": { "x": [0.167], "y": [0] }, + "t": 10.793, + "s": [0] + }, + { + "i": { "x": [0.833], "y": [1] }, + "o": { "x": [0.167], "y": [0] }, + "t": 12.871, + "s": [100] + }, + { + "i": { "x": [0.833], "y": [0.601] }, + "o": { "x": [0.72], "y": [0] }, + "t": 27.42, + "s": [100] + }, + { "t": 56, "s": [0] } + ], + "ix": 11 + }, + "r": { "a": 0, "k": 0, "ix": 10 }, + "p": { + "a": 1, + "k": [ + { + "i": { "x": 0.33, "y": 1 }, + "o": { "x": 0.189, "y": 0 }, + "t": 15.99, + "s": [961.262, 961.213, 0], + "to": [70.333, -5.667, 0], + "ti": [-62.333, -30.333, 0] + }, + { "t": 33.134765625, "s": [1420.768, 1239.936, 0] } + ], + "ix": 2 + }, + "a": { "a": 0, "k": [60.548, 78.82, 0], "ix": 1 }, + "s": { "a": 0, "k": [100, 100, 100], "ix": 6 } + }, + "ao": 0, + "shapes": [ + { + "ty": "gr", + "it": [ + { + "ind": 0, + "ty": "sh", + "ix": 1, + "ks": { + "a": 0, + "k": { + "i": [[0, 0], [2.886, -21.917], [20.753, 2.734], [0.039, 0.005]], + "o": [[20.754, 2.733], [-2.886, 21.918], [-0.04, -0.005], [0, 0]], + "v": [ + [-12.409, -41.32], + [20.162, 3.615], + [-22.93, 38.586], + [-23.048, 38.571] + ], + "c": false + }, + "ix": 2 + }, + "nm": "Path 1", + "mn": "ADBE Vector Shape - Group", + "hd": false + }, + { + "ty": "st", + "c": { + "a": 0, + "k": [0.972549019608, 0.149019607843, 0.505882352941, 1], + "ix": 3 + }, + "o": { "a": 0, "k": 100, "ix": 4 }, + "w": { "a": 0, "k": 15, "ix": 5 }, + "lc": 2, + "lj": 2, + "bm": 0, + "nm": "Stroke 1", + "mn": "ADBE Vector Graphic - Stroke", + "hd": false + }, + { + "ty": "tr", + "p": { "a": 0, "k": [60.548, 78.82], "ix": 2 }, + "a": { "a": 0, "k": [0, 0], "ix": 1 }, + "s": { "a": 0, "k": [100, 100], "ix": 3 }, + "r": { "a": 0, "k": 0, "ix": 6 }, + "o": { "a": 0, "k": 100, "ix": 7 }, + "sk": { "a": 0, "k": 0, "ix": 4 }, + "sa": { "a": 0, "k": 0, "ix": 5 }, + "nm": "Transform" + } + ], + "nm": "Group 1", + "np": 2, + "cix": 2, + "bm": 0, + "ix": 1, + "mn": "ADBE Vector Group", + "hd": false + } + ], + "ip": 15, + "op": 1815, + "st": 15, + "bm": 0 + }, + { + "ddd": 0, + "ind": 9, + "ty": 4, + "nm": "Element 8", + "sr": 1, + "ks": { + "o": { + "a": 1, + "k": [ + { + "i": { "x": [0.833], "y": [1] }, + "o": { "x": [0.167], "y": [0] }, + "t": 10.793, + "s": [0] + }, + { + "i": { "x": [0.833], "y": [1] }, + "o": { "x": [0.167], "y": [0] }, + "t": 12.871, + "s": [100] + }, + { + "i": { "x": [0.833], "y": [0.601] }, + "o": { "x": [0.72], "y": [0] }, + "t": 27.42, + "s": [100] + }, + { "t": 56, "s": [0] } + ], + "ix": 11 + }, + "r": { "a": 0, "k": 0, "ix": 10 }, + "p": { + "a": 1, + "k": [ + { + "i": { "x": 0.33, "y": 1 }, + "o": { "x": 0.263, "y": 0 }, + "t": 15.99, + "s": [959.692, 959.692, 0], + "to": [46.333, -81.667, 0], + "ti": [-98.333, 51.667, 0] + }, + { "t": 46.126953125, "s": [1397.413, 873.271, 0] } + ], + "ix": 2 + }, + "a": { "a": 0, "k": [47.326, 47.325, 0], "ix": 1 }, + "s": { "a": 0, "k": [100, 100, 100], "ix": 6 } + }, + "ao": 0, + "shapes": [ + { + "ty": "gr", + "it": [ + { + "ind": 0, + "ty": "sh", + "ix": 1, + "ks": { + "a": 0, + "k": { + "i": [ + [-11.644, -3.948], + [0, 0], + [-3.912, 2.92], + [0, 0], + [0.157, -12.294], + [0, 0], + [-3.985, -2.819], + [0, 0], + [11.74, -3.65], + [0, 0], + [1.449, -4.662], + [0, 0], + [7.098, 10.038], + [0, 0], + [4.882, -0.063], + [0, 0], + [-7.354, 9.853], + [0, 0], + [1.569, 4.624], + [0, 0] + ], + "o": [ + [0, 0], + [4.623, 1.568], + [0, 0], + [9.854, -7.353], + [0, 0], + [-0.062, 4.882], + [0, 0], + [10.038, 7.099], + [0, 0], + [-4.662, 1.449], + [0, 0], + [-3.649, 11.74], + [0, 0], + [-2.82, -3.986], + [0, 0], + [-12.293, 0.156], + [0, 0], + [2.92, -3.913], + [0, 0], + [-3.948, -11.644] + ], + "v": [ + [-17.558, -36.37], + [-13.481, -34.987], + [0.154, -37.147], + [3.606, -39.722], + [27.31, -27.644], + [27.255, -23.339], + [33.522, -11.038], + [37.038, -8.552], + [32.877, 17.724], + [28.763, 19.002], + [19.003, 28.764], + [17.724, 32.876], + [-8.551, 37.037], + [-11.037, 33.522], + [-23.338, 27.255], + [-27.644, 27.31], + [-39.721, 3.606], + [-37.146, 0.155], + [-34.987, -13.481], + [-36.37, -17.558] + ], + "c": true + }, + "ix": 2 + }, + "nm": "Path 1", + "mn": "ADBE Vector Shape - Group", + "hd": false + }, + { + "ty": "fl", + "c": { "a": 0, "k": [1, 0.736999990426, 0.195999998205, 1], "ix": 4 }, + "o": { "a": 0, "k": 100, "ix": 5 }, + "r": 1, + "bm": 0, + "nm": "Fill 1", + "mn": "ADBE Vector Graphic - Fill", + "hd": false + }, + { + "ty": "tr", + "p": { "a": 0, "k": [47.325, 47.325], "ix": 2 }, + "a": { "a": 0, "k": [0, 0], "ix": 1 }, + "s": { "a": 0, "k": [100, 100], "ix": 3 }, + "r": { "a": 0, "k": 0, "ix": 6 }, + "o": { "a": 0, "k": 100, "ix": 7 }, + "sk": { "a": 0, "k": 0, "ix": 4 }, + "sa": { "a": 0, "k": 0, "ix": 5 }, + "nm": "Transform" + } + ], + "nm": "Group 1", + "np": 2, + "cix": 2, + "bm": 0, + "ix": 1, + "mn": "ADBE Vector Group", + "hd": false + } + ], + "ip": 15, + "op": 1815, + "st": 15, + "bm": 0 + }, + { + "ddd": 0, + "ind": 10, + "ty": 4, + "nm": "Element 7", + "sr": 1, + "ks": { + "o": { + "a": 1, + "k": [ + { + "i": { "x": [0.833], "y": [1] }, + "o": { "x": [0.167], "y": [0] }, + "t": 10.793, + "s": [0] + }, + { + "i": { "x": [0.833], "y": [1] }, + "o": { "x": [0.167], "y": [0] }, + "t": 12.871, + "s": [100] + }, + { + "i": { "x": [0.833], "y": [0.601] }, + "o": { "x": [0.72], "y": [0] }, + "t": 27.42, + "s": [100] + }, + { "t": 56, "s": [0] } + ], + "ix": 11 + }, + "r": { "a": 0, "k": 0, "ix": 10 }, + "p": { + "a": 1, + "k": [ + { + "i": { "x": 0.33, "y": 1 }, + "o": { "x": 0.229, "y": 0 }, + "t": 15.99, + "s": [958.09, 958.244, 0], + "to": [18.333, -110, 0], + "ti": [-64.333, 76, 0] + }, + { "t": 34.6953125, "s": [1316.148, 645.839, 0] } + ], + "ix": 2 + }, + "a": { "a": 0, "k": [77.856, 74.774, 0], "ix": 1 }, + "s": { "a": 0, "k": [100, 100, 100], "ix": 6 } + }, + "ao": 0, + "shapes": [ + { + "ty": "gr", + "it": [ + { + "ind": 0, + "ty": "sh", + "ix": 1, + "ks": { + "a": 0, + "k": { + "i": [ + [0, 0], + [-12.731, 9.768], + [-9.249, -12.055], + [-0.018, -0.022] + ], + "o": [[-9.249, -12.055], [12.73, -9.768], [0.018, 0.023], [0, 0]], + "v": [ + [-18.607, 24.774], + [-12.262, -15.006], + [27.805, -10.838], + [27.857, -10.77] + ], + "c": false + }, + "ix": 2 + }, + "nm": "Path 1", + "mn": "ADBE Vector Shape - Group", + "hd": false + }, + { + "ty": "st", + "c": { + "a": 0, + "k": [0.972549019608, 0.149019607843, 0.505882352941, 1], + "ix": 3 + }, + "o": { "a": 0, "k": 100, "ix": 4 }, + "w": { "a": 0, "k": 20, "ix": 5 }, + "lc": 2, + "lj": 2, + "bm": 0, + "nm": "Stroke 1", + "mn": "ADBE Vector Graphic - Stroke", + "hd": false + }, + { + "ty": "tr", + "p": { "a": 0, "k": [77.856, 74.774], "ix": 2 }, + "a": { "a": 0, "k": [0, 0], "ix": 1 }, + "s": { "a": 0, "k": [100, 100], "ix": 3 }, + "r": { "a": 0, "k": 0, "ix": 6 }, + "o": { "a": 0, "k": 100, "ix": 7 }, + "sk": { "a": 0, "k": 0, "ix": 4 }, + "sa": { "a": 0, "k": 0, "ix": 5 }, + "nm": "Transform" + } + ], + "nm": "Group 1", + "np": 2, + "cix": 2, + "bm": 0, + "ix": 1, + "mn": "ADBE Vector Group", + "hd": false + } + ], + "ip": 15, + "op": 1815, + "st": 15, + "bm": 0 + }, + { + "ddd": 0, + "ind": 11, + "ty": 4, + "nm": "Element 6", + "sr": 1, + "ks": { + "o": { + "a": 1, + "k": [ + { + "i": { "x": [0.833], "y": [1] }, + "o": { "x": [0.167], "y": [0] }, + "t": 10.793, + "s": [0] + }, + { + "i": { "x": [0.833], "y": [1] }, + "o": { "x": [0.167], "y": [0] }, + "t": 12.871, + "s": [100] + }, + { + "i": { "x": [0.833], "y": [0.601] }, + "o": { "x": [0.72], "y": [0] }, + "t": 27.42, + "s": [100] + }, + { "t": 56, "s": [0] } + ], + "ix": 11 + }, + "r": { "a": 0, "k": 0, "ix": 10 }, + "p": { + "a": 1, + "k": [ + { + "i": { "x": 0.33, "y": 1 }, + "o": { "x": 0.189, "y": 0 }, + "t": 15.99, + "s": [959.693, 959.693, 0], + "to": [-138, 24.333, 0], + "ti": [110, -64.333, 0] + }, + { "t": 33.134765625, "s": [529.471, 1363.811, 0] } + ], + "ix": 2 + }, + "a": { "a": 0, "k": [47.326, 47.325, 0], "ix": 1 }, + "s": { "a": 0, "k": [100, 100, 100], "ix": 6 } + }, + "ao": 0, + "shapes": [ + { + "ty": "gr", + "it": [ + { + "ind": 0, + "ty": "sh", + "ix": 1, + "ks": { + "a": 0, + "k": { + "i": [ + [-11.644, -3.948], + [0, 0], + [-3.913, 2.92], + [0, 0], + [0.157, -12.294], + [0, 0], + [-3.986, -2.819], + [0, 0], + [11.74, -3.65], + [0, 0], + [1.449, -4.662], + [0, 0], + [7.099, 10.038], + [0, 0], + [4.881, -0.062], + [0, 0], + [-7.353, 9.853], + [0, 0], + [1.568, 4.624], + [0, 0] + ], + "o": [ + [0, 0], + [4.623, 1.567], + [0, 0], + [9.853, -7.352], + [0, 0], + [-0.063, 4.882], + [0, 0], + [10.038, 7.1], + [0, 0], + [-4.662, 1.449], + [0, 0], + [-3.649, 11.741], + [0, 0], + [-2.819, -3.987], + [0, 0], + [-12.293, 0.157], + [0, 0], + [2.92, -3.913], + [0, 0], + [-3.948, -11.644] + ], + "v": [ + [-17.558, -36.37], + [-13.481, -34.987], + [0.154, -37.147], + [3.605, -39.723], + [27.31, -27.644], + [27.255, -23.339], + [33.521, -11.038], + [37.037, -8.553], + [32.875, 17.724], + [28.763, 19.002], + [19.003, 28.764], + [17.724, 32.875], + [-8.552, 37.037], + [-11.039, 33.522], + [-23.339, 27.254], + [-27.645, 27.31], + [-39.722, 3.606], + [-37.146, 0.154], + [-34.987, -13.481], + [-36.37, -17.558] + ], + "c": true + }, + "ix": 2 + }, + "nm": "Path 1", + "mn": "ADBE Vector Shape - Group", + "hd": false + }, + { + "ty": "fl", + "c": { "a": 0, "k": [1, 0.737254901961, 0.196078446332, 1], "ix": 4 }, + "o": { "a": 0, "k": 100, "ix": 5 }, + "r": 1, + "bm": 0, + "nm": "Fill 1", + "mn": "ADBE Vector Graphic - Fill", + "hd": false + }, + { + "ty": "tr", + "p": { "a": 0, "k": [47.325, 47.325], "ix": 2 }, + "a": { "a": 0, "k": [0, 0], "ix": 1 }, + "s": { "a": 0, "k": [100, 100], "ix": 3 }, + "r": { "a": 0, "k": 0, "ix": 6 }, + "o": { "a": 0, "k": 100, "ix": 7 }, + "sk": { "a": 0, "k": 0, "ix": 4 }, + "sa": { "a": 0, "k": 0, "ix": 5 }, + "nm": "Transform" + } + ], + "nm": "Group 1", + "np": 2, + "cix": 2, + "bm": 0, + "ix": 1, + "mn": "ADBE Vector Group", + "hd": false + } + ], + "ip": 15, + "op": 1815, + "st": 15, + "bm": 0 + }, + { + "ddd": 0, + "ind": 12, + "ty": 4, + "nm": "Element 5", + "sr": 1, + "ks": { + "o": { + "a": 1, + "k": [ + { + "i": { "x": [0.833], "y": [1] }, + "o": { "x": [0.167], "y": [0] }, + "t": 10.793, + "s": [0] + }, + { + "i": { "x": [0.833], "y": [1] }, + "o": { "x": [0.167], "y": [0] }, + "t": 12.871, + "s": [100] + }, + { + "i": { "x": [0.833], "y": [0.601] }, + "o": { "x": [0.72], "y": [0] }, + "t": 27.42, + "s": [100] + }, + { "t": 56, "s": [0] } + ], + "ix": 11 + }, + "r": { "a": 0, "k": 0, "ix": 10 }, + "p": { + "a": 1, + "k": [ + { + "i": { "x": 0.33, "y": 1 }, + "o": { "x": 0.283, "y": 0 }, + "t": 15.99, + "s": [960, 960, 0], + "to": [-178.333, 3, 0], + "ti": [124.333, -150, 0] + }, + { "t": 47.166015625, "s": [517.297, 1177.159, 0] } + ], + "ix": 2 + }, + "a": { "a": 0, "k": [30.771, 30.771, 0], "ix": 1 }, + "s": { "a": 0, "k": [100, 100, 100], "ix": 6 } + }, + "ao": 0, + "shapes": [ + { + "ty": "gr", + "it": [ + { + "ind": 0, + "ty": "sh", + "ix": 1, + "ks": { + "a": 0, + "k": { + "i": [[0, -16.856], [16.856, 0], [0, 16.856], [-16.857, 0]], + "o": [[0, 16.856], [-16.857, 0], [0, -16.856], [16.856, 0]], + "v": [[30.521, 0], [0, 30.521], [-30.521, 0], [0, -30.521]], + "c": true + }, + "ix": 2 + }, + "nm": "Path 1", + "mn": "ADBE Vector Shape - Group", + "hd": false + }, + { + "ty": "fl", + "c": { + "a": 0, + "k": [0.972549019608, 0.149019607843, 0.505882352941, 1], + "ix": 4 + }, + "o": { "a": 0, "k": 100, "ix": 5 }, + "r": 1, + "bm": 0, + "nm": "Fill 1", + "mn": "ADBE Vector Graphic - Fill", + "hd": false + }, + { + "ty": "tr", + "p": { "a": 0, "k": [30.771, 30.771], "ix": 2 }, + "a": { "a": 0, "k": [0, 0], "ix": 1 }, + "s": { "a": 0, "k": [100, 100], "ix": 3 }, + "r": { "a": 0, "k": 0, "ix": 6 }, + "o": { "a": 0, "k": 100, "ix": 7 }, + "sk": { "a": 0, "k": 0, "ix": 4 }, + "sa": { "a": 0, "k": 0, "ix": 5 }, + "nm": "Transform" + } + ], + "nm": "Group 1", + "np": 2, + "cix": 2, + "bm": 0, + "ix": 1, + "mn": "ADBE Vector Group", + "hd": false + } + ], + "ip": 15, + "op": 1815, + "st": 15, + "bm": 0 + }, + { + "ddd": 0, + "ind": 13, + "ty": 4, + "nm": "Element 4", + "sr": 1, + "ks": { + "o": { + "a": 1, + "k": [ + { + "i": { "x": [0.833], "y": [1] }, + "o": { "x": [0.167], "y": [0] }, + "t": 10.793, + "s": [0] + }, + { + "i": { "x": [0.833], "y": [1] }, + "o": { "x": [0.167], "y": [0] }, + "t": 12.871, + "s": [100] + }, + { + "i": { "x": [0.833], "y": [0.601] }, + "o": { "x": [0.72], "y": [0] }, + "t": 27.42, + "s": [100] + }, + { "t": 56, "s": [0] } + ], + "ix": 11 + }, + "r": { "a": 0, "k": 0, "ix": 10 }, + "p": { + "a": 1, + "k": [ + { + "i": { "x": 0.33, "y": 1 }, + "o": { "x": 0.273, "y": 0 }, + "t": 15.99, + "s": [960, 960, 0], + "to": [-94.667, -86.667, 0], + "ti": [140.667, 20.667, 0] + }, + { "t": 46.64453125, "s": [446.624, 934.727, 0] } + ], + "ix": 2 + }, + "a": { "a": 0, "k": [42, 25.144, 0], "ix": 1 }, + "s": { "a": 0, "k": [100, 100, 100], "ix": 6 } + }, + "ao": 0, + "shapes": [ + { + "ty": "gr", + "it": [ + { + "ind": 0, + "ty": "sh", + "ix": 1, + "ks": { + "a": 0, + "k": { + "i": [ + [-0.829, -3.697], + [0, 0], + [3.698, -0.828], + [0, 0], + [0.83, 3.697], + [0, 0], + [-3.697, 0.828], + [0, 0] + ], + "o": [ + [0, 0], + [0.829, 3.697], + [0, 0], + [-3.697, 0.828], + [0, 0], + [-0.828, -3.697], + [0, 0], + [3.697, -0.828] + ], + "v": [ + [36.343, -18.872], + [40.921, 1.552], + [35.727, 9.747], + [-28.148, 24.066], + [-36.344, 18.872], + [-40.922, -1.553], + [-35.728, -9.747], + [28.148, -24.066] + ], + "c": true + }, + "ix": 2 + }, + "nm": "Path 1", + "mn": "ADBE Vector Shape - Group", + "hd": false + }, + { + "ty": "fl", + "c": { + "a": 0, + "k": [0.313725490196, 0.81568627451, 0.360784313725, 1], + "ix": 4 + }, + "o": { "a": 0, "k": 100, "ix": 5 }, + "r": 1, + "bm": 0, + "nm": "Fill 1", + "mn": "ADBE Vector Graphic - Fill", + "hd": false + }, + { + "ty": "tr", + "p": { "a": 0, "k": [42, 25.144], "ix": 2 }, + "a": { "a": 0, "k": [0, 0], "ix": 1 }, + "s": { "a": 0, "k": [100, 100], "ix": 3 }, + "r": { "a": 0, "k": 0, "ix": 6 }, + "o": { "a": 0, "k": 100, "ix": 7 }, + "sk": { "a": 0, "k": 0, "ix": 4 }, + "sa": { "a": 0, "k": 0, "ix": 5 }, + "nm": "Transform" + } + ], + "nm": "Group 1", + "np": 2, + "cix": 2, + "bm": 0, + "ix": 1, + "mn": "ADBE Vector Group", + "hd": false + } + ], + "ip": 15, + "op": 1815, + "st": 15, + "bm": 0 + }, + { + "ddd": 0, + "ind": 14, + "ty": 4, + "nm": "Element 3", + "sr": 1, + "ks": { + "o": { + "a": 1, + "k": [ + { + "i": { "x": [0.833], "y": [1] }, + "o": { "x": [0.167], "y": [0] }, + "t": 10.793, + "s": [0] + }, + { + "i": { "x": [0.833], "y": [1] }, + "o": { "x": [0.167], "y": [0] }, + "t": 12.871, + "s": [100] + }, + { + "i": { "x": [0.833], "y": [0.601] }, + "o": { "x": [0.72], "y": [0] }, + "t": 27.42, + "s": [100] + }, + { "t": 56, "s": [0] } + ], + "ix": 11 + }, + "r": { "a": 0, "k": 0, "ix": 10 }, + "p": { + "a": 1, + "k": [ + { + "i": { "x": 0.33, "y": 1 }, + "o": { "x": 0.174, "y": 0 }, + "t": 15.99, + "s": [959.693, 959.692, 0], + "to": [-113.667, -146, 0], + "ti": [119.667, 22.5, 0] + }, + { "t": 42.48828125, "s": [529.471, 736.071, 0] } + ], + "ix": 2 + }, + "a": { "a": 0, "k": [47.326, 47.325, 0], "ix": 1 }, + "s": { "a": 0, "k": [100, 100, 100], "ix": 6 } + }, + "ao": 0, + "shapes": [ + { + "ty": "gr", + "it": [ + { + "ind": 0, + "ty": "sh", + "ix": 1, + "ks": { + "a": 0, + "k": { + "i": [ + [-11.644, -3.948], + [0, 0], + [-3.913, 2.92], + [0, 0], + [0.157, -12.294], + [0, 0], + [-3.986, -2.819], + [0, 0], + [11.74, -3.65], + [0, 0], + [1.449, -4.662], + [0, 0], + [7.099, 10.038], + [0, 0], + [4.881, -0.063], + [0, 0], + [-7.353, 9.854], + [0, 0], + [1.568, 4.624], + [0, 0] + ], + "o": [ + [0, 0], + [4.623, 1.568], + [0, 0], + [9.853, -7.353], + [0, 0], + [-0.063, 4.882], + [0, 0], + [10.038, 7.099], + [0, 0], + [-4.662, 1.449], + [0, 0], + [-3.649, 11.74], + [0, 0], + [-2.819, -3.986], + [0, 0], + [-12.293, 0.157], + [0, 0], + [2.92, -3.912], + [0, 0], + [-3.948, -11.644] + ], + "v": [ + [-17.558, -36.37], + [-13.481, -34.987], + [0.154, -37.147], + [3.605, -39.722], + [27.31, -27.644], + [27.255, -23.339], + [33.521, -11.038], + [37.037, -8.552], + [32.875, 17.724], + [28.763, 19.002], + [19.003, 28.764], + [17.724, 32.876], + [-8.552, 37.037], + [-11.039, 33.522], + [-23.339, 27.255], + [-27.645, 27.309], + [-39.722, 3.605], + [-37.146, 0.154], + [-34.987, -13.481], + [-36.37, -17.558] + ], + "c": true + }, + "ix": 2 + }, + "nm": "Path 1", + "mn": "ADBE Vector Shape - Group", + "hd": false + }, + { + "ty": "fl", + "c": { + "a": 0, + "k": [0.274509803922, 0.513725490196, 0.960784313725, 1], + "ix": 4 + }, + "o": { "a": 0, "k": 100, "ix": 5 }, + "r": 1, + "bm": 0, + "nm": "Fill 1", + "mn": "ADBE Vector Graphic - Fill", + "hd": false + }, + { + "ty": "tr", + "p": { "a": 0, "k": [47.325, 47.325], "ix": 2 }, + "a": { "a": 0, "k": [0, 0], "ix": 1 }, + "s": { "a": 0, "k": [100, 100], "ix": 3 }, + "r": { "a": 0, "k": 0, "ix": 6 }, + "o": { "a": 0, "k": 100, "ix": 7 }, + "sk": { "a": 0, "k": 0, "ix": 4 }, + "sa": { "a": 0, "k": 0, "ix": 5 }, + "nm": "Transform" + } + ], + "nm": "Group 1", + "np": 2, + "cix": 2, + "bm": 0, + "ix": 1, + "mn": "ADBE Vector Group", + "hd": false + } + ], + "ip": 15, + "op": 1815, + "st": 15, + "bm": 0 + }, + { + "ddd": 0, + "ind": 15, + "ty": 4, + "nm": "Element 2", + "sr": 1, + "ks": { + "o": { + "a": 1, + "k": [ + { + "i": { "x": [0.833], "y": [1] }, + "o": { "x": [0.167], "y": [0] }, + "t": 10.793, + "s": [0] + }, + { + "i": { "x": [0.833], "y": [1] }, + "o": { "x": [0.167], "y": [0] }, + "t": 12.871, + "s": [100] + }, + { + "i": { "x": [0.833], "y": [0.601] }, + "o": { "x": [0.72], "y": [0] }, + "t": 27.42, + "s": [100] + }, + { "t": 56, "s": [0] } + ], + "ix": 11 + }, + "r": { "a": 0, "k": 0, "ix": 10 }, + "p": { + "a": 1, + "k": [ + { + "i": { "x": 0.33, "y": 1 }, + "o": { "x": 0.292, "y": 0 }, + "t": 15.99, + "s": [960, 960, 0], + "to": [-95.667, -127, 0], + "ti": [3.667, 95, 0] + }, + { "t": 47.6875, "s": [788.638, 547.457, 0] } + ], + "ix": 2 + }, + "a": { "a": 0, "k": [33.515, 41.664, 0], "ix": 1 }, + "s": { "a": 0, "k": [100, 100, 100], "ix": 6 } + }, + "ao": 0, + "shapes": [ + { + "ty": "gr", + "it": [ + { + "ind": 0, + "ty": "sh", + "ix": 1, + "ks": { + "a": 0, + "k": { + "i": [ + [3.281, -1.895], + [0, 0], + [1.895, 3.281], + [0, 0], + [-3.281, 1.894], + [0, 0], + [-1.895, -3.281], + [0, 0] + ], + "o": [ + [0, 0], + [-3.282, 1.895], + [0, 0], + [-1.895, -3.281], + [0, 0], + [3.281, -1.894], + [0, 0], + [1.895, 3.282] + ], + "v": [ + [28.859, 29.054], + [10.733, 39.519], + [1.36, 37.008], + [-31.37, -19.683], + [-28.859, -29.054], + [-10.732, -39.52], + [-1.36, -37.009], + [31.37, 19.682] + ], + "c": true + }, + "ix": 2 + }, + "nm": "Path 1", + "mn": "ADBE Vector Shape - Group", + "hd": false + }, + { + "ty": "fl", + "c": { + "a": 0, + "k": [0.274509803922, 0.513725490196, 0.960784313725, 1], + "ix": 4 + }, + "o": { "a": 0, "k": 100, "ix": 5 }, + "r": 1, + "bm": 0, + "nm": "Fill 1", + "mn": "ADBE Vector Graphic - Fill", + "hd": false + }, + { + "ty": "tr", + "p": { "a": 0, "k": [33.515, 41.664], "ix": 2 }, + "a": { "a": 0, "k": [0, 0], "ix": 1 }, + "s": { "a": 0, "k": [100, 100], "ix": 3 }, + "r": { "a": 0, "k": 0, "ix": 6 }, + "o": { "a": 0, "k": 100, "ix": 7 }, + "sk": { "a": 0, "k": 0, "ix": 4 }, + "sa": { "a": 0, "k": 0, "ix": 5 }, + "nm": "Transform" + } + ], + "nm": "Group 1", + "np": 2, + "cix": 2, + "bm": 0, + "ix": 1, + "mn": "ADBE Vector Group", + "hd": false + } + ], + "ip": 15, + "op": 1815, + "st": 15, + "bm": 0 + }, + { + "ddd": 0, + "ind": 16, + "ty": 4, + "nm": "Element 1", + "sr": 1, + "ks": { + "o": { + "a": 1, + "k": [ + { + "i": { "x": [0.833], "y": [0.833] }, + "o": { "x": [0.167], "y": [0.167] }, + "t": 10.793, + "s": [0] + }, + { + "i": { "x": [0.833], "y": [0.833] }, + "o": { "x": [0.167], "y": [0.167] }, + "t": 12.871, + "s": [100] + }, + { + "i": { "x": [0.833], "y": [0.833] }, + "o": { "x": [0.167], "y": [0.167] }, + "t": 27.42, + "s": [100] + }, + { "t": 56, "s": [0] } + ], + "ix": 11 + }, + "r": { "a": 0, "k": 0, "ix": 10 }, + "p": { + "a": 1, + "k": [ + { + "i": { "x": 0.33, "y": 1 }, + "o": { "x": 0.252, "y": 0 }, + "t": 15.99, + "s": [960, 960, 0], + "to": [22, -151.667, 0], + "ti": [40, 75.667, 0] + }, + { "t": 45.607421875, "s": [1027.199, 504.507, 0] } + ], + "ix": 2 + }, + "a": { "a": 0, "k": [30.771, 30.771, 0], "ix": 1 }, + "s": { "a": 0, "k": [100, 100, 100], "ix": 6 } + }, + "ao": 0, + "shapes": [ + { + "ty": "gr", + "it": [ + { + "ind": 0, + "ty": "sh", + "ix": 1, + "ks": { + "a": 0, + "k": { + "i": [[0, -16.856], [16.856, 0], [0, 16.857], [-16.857, 0]], + "o": [[0, 16.857], [-16.857, 0], [0, -16.856], [16.856, 0]], + "v": [ + [30.522, -0.001], + [0, 30.522], + [-30.522, -0.001], + [0, -30.522] + ], + "c": true + }, + "ix": 2 + }, + "nm": "Path 1", + "mn": "ADBE Vector Shape - Group", + "hd": false + }, + { + "ty": "fl", + "c": { + "a": 0, + "k": [0.255000005984, 0.685999971278, 0.501999978458, 1], + "ix": 4 + }, + "o": { "a": 0, "k": 100, "ix": 5 }, + "r": 1, + "bm": 0, + "nm": "Fill 1", + "mn": "ADBE Vector Graphic - Fill", + "hd": false + }, + { + "ty": "tr", + "p": { "a": 0, "k": [30.771, 30.772], "ix": 2 }, + "a": { "a": 0, "k": [0, 0], "ix": 1 }, + "s": { "a": 0, "k": [100, 100], "ix": 3 }, + "r": { "a": 0, "k": 0, "ix": 6 }, + "o": { "a": 0, "k": 100, "ix": 7 }, + "sk": { "a": 0, "k": 0, "ix": 4 }, + "sa": { "a": 0, "k": 0, "ix": 5 }, + "nm": "Transform" + } + ], + "nm": "Group 1", + "np": 2, + "cix": 2, + "bm": 0, + "ix": 1, + "mn": "ADBE Vector Group", + "hd": false + } + ], + "ip": 15, + "op": 1815, + "st": 15, + "bm": 0 + } + ], + "markers": [] +} diff --git a/src/bugsnag.ts b/src/bugsnag.ts index 3b126b35f9..9628b18598 100644 --- a/src/bugsnag.ts +++ b/src/bugsnag.ts @@ -1,5 +1,5 @@ -import { env } from "env" import Bugsnag from "@bugsnag/js" +import { env } from "env" export const bugsnagStart = () => { if ( diff --git a/src/components/[guild]/AccessHub/components/usePlatformAccessButton.tsx b/src/components/[guild]/AccessHub/components/usePlatformAccessButton.tsx index 9a0d840edf..e05b86ca79 100644 --- a/src/components/[guild]/AccessHub/components/usePlatformAccessButton.tsx +++ b/src/components/[guild]/AccessHub/components/usePlatformAccessButton.tsx @@ -1,6 +1,6 @@ import { ButtonProps, LinkProps } from "@chakra-ui/react" -import useUser from "components/[guild]/hooks/useUser" import useConnectPlatform from "components/[guild]/JoinModal/hooks/useConnectPlatform" +import useUser from "components/[guild]/hooks/useUser" import useToast from "hooks/useToast" import rewards from "rewards" import { GuildPlatform, PlatformName, PlatformType } from "types" diff --git a/src/components/[guild]/AddAndOrderRoles/components/AddRoleDrawer.tsx b/src/components/[guild]/AddAndOrderRoles/components/AddRoleDrawer.tsx index 6bda5e3fd5..e00e4b0409 100644 --- a/src/components/[guild]/AddAndOrderRoles/components/AddRoleDrawer.tsx +++ b/src/components/[guild]/AddAndOrderRoles/components/AddRoleDrawer.tsx @@ -7,8 +7,8 @@ import { DrawerOverlay, FormLabel, HStack, - useDisclosure, VStack, + useDisclosure, } from "@chakra-ui/react" import { ClientStateRequirementHandlerProvider } from "components/[guild]/RequirementHandlerContext" import AddRolePlatforms from "components/[guild]/RolePlatforms/AddRolePlatforms" @@ -17,10 +17,10 @@ import DiscardAlert from "components/common/DiscardAlert" import Section from "components/common/Section" import Description from "components/create-guild/Description" import DynamicDevTool from "components/create-guild/DynamicDevTool" -import useJsConfetti from "components/create-guild/hooks/useJsConfetti" import IconSelector from "components/create-guild/IconSelector" import Name from "components/create-guild/Name" import SetRequirements from "components/create-guild/Requirements" +import useJsConfetti from "components/create-guild/hooks/useJsConfetti" import useCreateRRR from "hooks/useCreateRRR" import usePinata from "hooks/usePinata" import useSubmitWithUpload from "hooks/useSubmitWithUpload" diff --git a/src/components/[guild]/AddAndOrderRoles/components/DraggableRoleCard.tsx b/src/components/[guild]/AddAndOrderRoles/components/DraggableRoleCard.tsx index 905efc0b61..be3f289f8b 100644 --- a/src/components/[guild]/AddAndOrderRoles/components/DraggableRoleCard.tsx +++ b/src/components/[guild]/AddAndOrderRoles/components/DraggableRoleCard.tsx @@ -1,4 +1,4 @@ -import { Heading, HStack, Icon, Spacer } from "@chakra-ui/react" +import { HStack, Heading, Icon, Spacer } from "@chakra-ui/react" import { DotsSixVertical } from "@phosphor-icons/react" import MemberCount from "components/[guild]/RoleCard/components/MemberCount" import Visibility from "components/[guild]/Visibility" diff --git a/src/components/[guild]/AddRewardButton/hooks/useSetRoleImageAndNameFromPlatformData.ts b/src/components/[guild]/AddRewardButton/hooks/useSetRoleImageAndNameFromPlatformData.ts index 1f9bfcc588..f9a3af3a3d 100644 --- a/src/components/[guild]/AddRewardButton/hooks/useSetRoleImageAndNameFromPlatformData.ts +++ b/src/components/[guild]/AddRewardButton/hooks/useSetRoleImageAndNameFromPlatformData.ts @@ -1,8 +1,8 @@ -import { env } from "env" import { RoleTypeToAddTo, useAddRewardContext, } from "components/[guild]/AddRewardContext" +import { env } from "env" import usePinata from "hooks/usePinata/usePinata" import { useEffect, useState } from "react" import { useFormContext } from "react-hook-form" diff --git a/src/components/[guild]/AddRewardContext.tsx b/src/components/[guild]/AddRewardContext.tsx index 404235ea1b..599ff78a7e 100644 --- a/src/components/[guild]/AddRewardContext.tsx +++ b/src/components/[guild]/AddRewardContext.tsx @@ -1,11 +1,11 @@ import { useDisclosure } from "@chakra-ui/react" import DiscardAlert from "components/common/DiscardAlert" import { - createContext, Dispatch, MutableRefObject, PropsWithChildren, SetStateAction, + createContext, useContext, useRef, useState, diff --git a/src/components/[guild]/EditGuild/EditGuildDrawer.tsx b/src/components/[guild]/EditGuild/EditGuildDrawer.tsx index 96749f1734..459b58c847 100644 --- a/src/components/[guild]/EditGuild/EditGuildDrawer.tsx +++ b/src/components/[guild]/EditGuild/EditGuildDrawer.tsx @@ -12,13 +12,13 @@ import { HStack, Stack, Text, - useDisclosure, VStack, + useDisclosure, } from "@chakra-ui/react" import { GuildContact, Schemas } from "@guildxyz/types" import UrlName from "components/[guild]/EditGuild/components/UrlName" -import useGuild from "components/[guild]/hooks/useGuild" import { useThemeContext } from "components/[guild]/ThemeContext" +import useGuild from "components/[guild]/hooks/useGuild" import Button from "components/common/Button" import DiscardAlert from "components/common/DiscardAlert" import DrawerHeader from "components/common/DrawerHeader" @@ -39,9 +39,9 @@ import { FormProvider, useForm } from "react-hook-form" import { EventSourcesKey, GuildTags } from "types" import handleSubmitDirty from "utils/handleSubmitDirty" import { Chain } from "wagmiConfig/chains" +import LeaveButton from "../LeaveButton" import useGuildPermission from "../hooks/useGuildPermission" import useUser from "../hooks/useUser" -import LeaveButton from "../LeaveButton" import Admins from "./components/Admins" import BackgroundImageUploader from "./components/BackgroundImageUploader" import ChangingGuildPinDesignAlert from "./components/ChangingGuildPinDesignAlert" diff --git a/src/components/[guild]/EditGuild/EditGuildDrawerContext.tsx b/src/components/[guild]/EditGuild/EditGuildDrawerContext.tsx index 5349265c14..2061e287c2 100644 --- a/src/components/[guild]/EditGuild/EditGuildDrawerContext.tsx +++ b/src/components/[guild]/EditGuild/EditGuildDrawerContext.tsx @@ -1,6 +1,6 @@ import { useDisclosure } from "@chakra-ui/react" import dynamic from "next/dynamic" -import { createContext, PropsWithChildren, useContext } from "react" +import { PropsWithChildren, createContext, useContext } from "react" import useGuild from "../hooks/useGuild" import useGuildPermission from "../hooks/useGuildPermission" diff --git a/src/components/[guild]/EditGuild/components/Admins/components/AdminSelect.tsx b/src/components/[guild]/EditGuild/components/Admins/components/AdminSelect.tsx index 67e1ffbf54..40f13c83ee 100644 --- a/src/components/[guild]/EditGuild/components/Admins/components/AdminSelect.tsx +++ b/src/components/[guild]/EditGuild/components/Admins/components/AdminSelect.tsx @@ -1,11 +1,11 @@ -import { forwardRef, HStack, Icon } from "@chakra-ui/react" +import { HStack, Icon, forwardRef } from "@chakra-ui/react" import { Warning } from "@phosphor-icons/react" import { - chakraComponents, CreatableSelect, GroupBase, MultiValueGenericProps, Props, + chakraComponents, } from "chakra-react-select" import CopyableAddress from "components/common/CopyableAddress" import StyledSelect from "components/common/StyledSelect" diff --git a/src/components/[guild]/EditGuild/components/ColorPicker.tsx b/src/components/[guild]/EditGuild/components/ColorPicker.tsx index 3f462ff8ef..f4cf4523d6 100644 --- a/src/components/[guild]/EditGuild/components/ColorPicker.tsx +++ b/src/components/[guild]/EditGuild/components/ColorPicker.tsx @@ -5,8 +5,8 @@ import { HStack, Icon, Input, - useColorModeValue, VStack, + useColorModeValue, } from "@chakra-ui/react" import { Palette } from "@phosphor-icons/react" import Color from "color" diff --git a/src/components/[guild]/JoinModal/JoinModalProvider.tsx b/src/components/[guild]/JoinModal/JoinModalProvider.tsx index 95901dac46..00206f08fd 100644 --- a/src/components/[guild]/JoinModal/JoinModalProvider.tsx +++ b/src/components/[guild]/JoinModal/JoinModalProvider.tsx @@ -1,7 +1,7 @@ import { useDisclosure } from "@chakra-ui/react" import useMembership from "components/explorer/hooks/useMembership" import useClearUrlQuery from "hooks/useClearUrlQuery" -import { createContext, PropsWithChildren, useContext, useEffect } from "react" +import { PropsWithChildren, createContext, useContext, useEffect } from "react" import JoinModal from "./JoinModal" const JoinModalContext = createContext<() => void>(null) diff --git a/src/components/[guild]/JoinModal/components/ConnectAccount.tsx b/src/components/[guild]/JoinModal/components/ConnectAccount.tsx index 85e67d1524..eb9f244ef0 100644 --- a/src/components/[guild]/JoinModal/components/ConnectAccount.tsx +++ b/src/components/[guild]/JoinModal/components/ConnectAccount.tsx @@ -27,8 +27,8 @@ const ConnectAccount = ({ isReconnect ? `Reconnect ${account}` : isConnected - ? `${account} connected` - : `Connect ${account}` + ? `${account} connected` + : `Connect ${account}` } titleRightElement={titleRightElement} buttonLabel={isReconnect ? "Reconnect" : isConnected || "Connect"} diff --git a/src/components/[guild]/JoinModal/components/ConnectPlatform.tsx b/src/components/[guild]/JoinModal/components/ConnectPlatform.tsx index 28d36f5c69..41e1cb9e8b 100644 --- a/src/components/[guild]/JoinModal/components/ConnectPlatform.tsx +++ b/src/components/[guild]/JoinModal/components/ConnectPlatform.tsx @@ -3,9 +3,9 @@ import { Icon } from "@chakra-ui/react" import usePlatformsToReconnect from "components/[guild]/hooks/usePlatformsToReconnect" import useUser from "components/[guild]/hooks/useUser" import Script from "next/script" -import rewards from "rewards" import { useEffect } from "react" import { useFormContext } from "react-hook-form" +import rewards from "rewards" import { PlatformName } from "types" import useConnectPlatform from "../hooks/useConnectPlatform" import useMembershipUpdate from "../hooks/useMembershipUpdate" diff --git a/src/components/[guild]/JoinModal/utils/mapAccessJobState.ts b/src/components/[guild]/JoinModal/utils/mapAccessJobState.ts index 09d01566a4..3d6c76ace4 100644 --- a/src/components/[guild]/JoinModal/utils/mapAccessJobState.ts +++ b/src/components/[guild]/JoinModal/utils/mapAccessJobState.ts @@ -35,15 +35,15 @@ const mapAccessJobState = (progress: JoinJob, isLoading: boolean) => { progress.roleAccesses.every((role) => !role.access) ? "NO_ACCESS" : progress.done - ? "FINISHED" - : ( - { - none: "PREPARING", - "access-preparation": "CHECKING", - "access-check": "MANAGING_ROLES", - "access-logic": "MANAGING_ROLES", - } as const - )[progress["completed-queue"] ?? "none"] ?? "MANAGING_REWARDS" + ? "FINISHED" + : ( + { + none: "PREPARING", + "access-preparation": "CHECKING", + "access-check": "MANAGING_ROLES", + "access-logic": "MANAGING_ROLES", + } as const + )[progress["completed-queue"] ?? "none"] ?? "MANAGING_REWARDS" const waitingPosition = (progress as any).currentQueueState === "waiting" diff --git a/src/components/[guild]/Members/components/MembersExporter.tsx b/src/components/[guild]/Members/components/MembersExporter.tsx index 7b58208d3f..92955a4fe0 100644 --- a/src/components/[guild]/Members/components/MembersExporter.tsx +++ b/src/components/[guild]/Members/components/MembersExporter.tsx @@ -20,8 +20,8 @@ import { useDisclosure, } from "@chakra-ui/react" import { Check, Copy, DownloadSimple, Export } from "@phosphor-icons/react" -import useGuild from "components/[guild]/hooks/useGuild" import RoleSelector from "components/[guild]/RoleSelector" +import useGuild from "components/[guild]/hooks/useGuild" import Button from "components/common/Button" import { Modal } from "components/common/Modal" import useSWRWithOptionalAuth from "hooks/useSWRWithOptionalAuth" diff --git a/src/components/[guild]/Onboarding/components/SummonMembers/components/PanelBody/PanelBody.tsx b/src/components/[guild]/Onboarding/components/SummonMembers/components/PanelBody/PanelBody.tsx index 151981de7c..a230c81d67 100644 --- a/src/components/[guild]/Onboarding/components/SummonMembers/components/PanelBody/PanelBody.tsx +++ b/src/components/[guild]/Onboarding/components/SummonMembers/components/PanelBody/PanelBody.tsx @@ -4,8 +4,8 @@ import { Grid, HStack, Text, - useColorModeValue, VStack, + useColorModeValue, } from "@chakra-ui/react" import useGuild from "components/[guild]/hooks/useGuild" import Image from "next/image" diff --git a/src/components/[guild]/RequirementHandlerContext.tsx b/src/components/[guild]/RequirementHandlerContext.tsx index 7b6935932c..a767681f10 100644 --- a/src/components/[guild]/RequirementHandlerContext.tsx +++ b/src/components/[guild]/RequirementHandlerContext.tsx @@ -1,7 +1,7 @@ import { Schemas } from "@guildxyz/types" import useCreateRequirement from "components/create-guild/Requirements/hooks/useCreateRequirement" import useHandleRequirementState from "components/create-guild/Requirements/hooks/useHandleRequirementState" -import { createContext, ReactNode, useContext } from "react" +import { ReactNode, createContext, useContext } from "react" import { ClientStateRequirementCreateResponse, Requirement, diff --git a/src/components/[guild]/Requirements/RequirementErrorConfigContext.tsx b/src/components/[guild]/Requirements/RequirementErrorConfigContext.tsx index ebb59a6f4a..61fc890095 100644 --- a/src/components/[guild]/Requirements/RequirementErrorConfigContext.tsx +++ b/src/components/[guild]/Requirements/RequirementErrorConfigContext.tsx @@ -1,4 +1,4 @@ -import { createContext, PropsWithChildren, useContext } from "react" +import { PropsWithChildren, createContext, useContext } from "react" import { RequirementType } from "requirements/types" type RequirementErrorConfig = Partial> diff --git a/src/components/[guild]/Requirements/RoleRequirements.tsx b/src/components/[guild]/Requirements/RoleRequirements.tsx index 84f76a1130..a441cbe6bf 100644 --- a/src/components/[guild]/Requirements/RoleRequirements.tsx +++ b/src/components/[guild]/Requirements/RoleRequirements.tsx @@ -2,8 +2,8 @@ import { Box, Collapse, SlideFade, - useColorModeValue, VStack, + useColorModeValue, } from "@chakra-ui/react" import { Logic } from "@guildxyz/types" import React, { @@ -16,9 +16,9 @@ import React, { } from "react" import { VariableSizeList } from "react-window" import { Requirement, Role } from "types" -import useRequirements from "../hooks/useRequirements" import LogicDivider from "../LogicDivider" import { RoleCardCollapseProps } from "../RoleCard" +import useRequirements from "../hooks/useRequirements" import AnyOfHeader from "./components/AnyOfHeader" import ExpandRequirementsButton from "./components/ExpandRequirementsButton" import { RequirementSkeleton } from "./components/Requirement" diff --git a/src/components/[guild]/Requirements/components/BlockExplorerUrl.tsx b/src/components/[guild]/Requirements/components/BlockExplorerUrl.tsx index 5760e61e89..69713b16dd 100644 --- a/src/components/[guild]/Requirements/components/BlockExplorerUrl.tsx +++ b/src/components/[guild]/Requirements/components/BlockExplorerUrl.tsx @@ -1,7 +1,7 @@ import { useColorMode } from "@chakra-ui/react" import { RequirementLinkButton } from "components/[guild]/Requirements/components/RequirementButton" import { NULL_ADDRESS } from "utils/guildCheckout/constants" -import { Chain, CHAIN_CONFIG } from "wagmiConfig/chains" +import { CHAIN_CONFIG, Chain } from "wagmiConfig/chains" import { useRequirementContext } from "./RequirementContext" type Props = { diff --git a/src/components/[guild]/Requirements/components/GuildCheckout/MintGuildPin/Fuel/GuildPinContractAbi.d.ts b/src/components/[guild]/Requirements/components/GuildCheckout/MintGuildPin/Fuel/GuildPinContractAbi.d.ts index 187557bd2c..9d53cf7a8a 100644 --- a/src/components/[guild]/Requirements/components/GuildCheckout/MintGuildPin/Fuel/GuildPinContractAbi.d.ts +++ b/src/components/[guild]/Requirements/components/GuildCheckout/MintGuildPin/Fuel/GuildPinContractAbi.d.ts @@ -10,8 +10,8 @@ */ import type { - BigNumberish, BN, + BigNumberish, Bytes, Contract, EvmAddress, diff --git a/src/components/[guild]/Requirements/components/GuildCheckout/MintGuildPinContext.tsx b/src/components/[guild]/Requirements/components/GuildCheckout/MintGuildPinContext.tsx index b526abfe3c..aec25d4c4a 100644 --- a/src/components/[guild]/Requirements/components/GuildCheckout/MintGuildPinContext.tsx +++ b/src/components/[guild]/Requirements/components/GuildCheckout/MintGuildPinContext.tsx @@ -1,10 +1,10 @@ import { useDisclosure } from "@chakra-ui/react" import useGuild from "components/[guild]/hooks/useGuild" import { - createContext, Dispatch, PropsWithChildren, SetStateAction, + createContext, useContext, useEffect, useState, diff --git a/src/components/[guild]/Requirements/components/GuildCheckout/components/BuyTotal.tsx b/src/components/[guild]/Requirements/components/GuildCheckout/components/BuyTotal.tsx index 538981bfc0..ca43db0a7e 100644 --- a/src/components/[guild]/Requirements/components/GuildCheckout/components/BuyTotal.tsx +++ b/src/components/[guild]/Requirements/components/GuildCheckout/components/BuyTotal.tsx @@ -3,7 +3,7 @@ import useTokenData from "hooks/useTokenData" import useVault from "requirements/Payment/hooks/useVault" import { NULL_ADDRESS } from "utils/guildCheckout/constants" import { formatUnits } from "viem" -import { Chain, CHAIN_CONFIG } from "wagmiConfig/chains" +import { CHAIN_CONFIG, Chain } from "wagmiConfig/chains" import { useRequirementContext } from "../../RequirementContext" import usePayFee from "../hooks/usePayFee" import FeesTable from "./FeesTable" @@ -46,9 +46,9 @@ const BuyTotal = (): JSX.Element => { formatUnits(fee, CHAIN_CONFIG[requirementChain].nativeCurrency.decimals) ) : tokenData?.decimals - ? Number(formatUnits(fee, tokenData.decimals)) + - (isNativeCurrency ? estimatedGasInFloat ?? 0 : 0) - : 0 + ? Number(formatUnits(fee, tokenData.decimals)) + + (isNativeCurrency ? estimatedGasInFloat ?? 0 : 0) + : 0 : 0 const isTooSmallPrice = priceInSellToken < 0.001 diff --git a/src/components/[guild]/Requirements/components/GuildCheckout/components/GuildCheckoutContext.tsx b/src/components/[guild]/Requirements/components/GuildCheckout/components/GuildCheckoutContext.tsx index 9948e9f0e7..6d796aca5f 100644 --- a/src/components/[guild]/Requirements/components/GuildCheckout/components/GuildCheckoutContext.tsx +++ b/src/components/[guild]/Requirements/components/GuildCheckout/components/GuildCheckoutContext.tsx @@ -1,9 +1,9 @@ import { useDisclosure } from "@chakra-ui/react" import { - createContext, Dispatch, PropsWithChildren, SetStateAction, + createContext, useContext, useEffect, useState, diff --git a/src/components/[guild]/Requirements/components/GuildCheckout/components/GuildPinImage.tsx b/src/components/[guild]/Requirements/components/GuildCheckout/components/GuildPinImage.tsx index f009d6582e..c319f4d936 100644 --- a/src/components/[guild]/Requirements/components/GuildCheckout/components/GuildPinImage.tsx +++ b/src/components/[guild]/Requirements/components/GuildCheckout/components/GuildPinImage.tsx @@ -6,8 +6,8 @@ import { Img, Spinner, Text, - useColorModeValue, VStack, + useColorModeValue, } from "@chakra-ui/react" import { DownloadSimple } from "@phosphor-icons/react" import useGuild from "components/[guild]/hooks/useGuild" diff --git a/src/components/[guild]/Requirements/components/GuildCheckout/components/GuildPinReward.tsx b/src/components/[guild]/Requirements/components/GuildCheckout/components/GuildPinReward.tsx index 49b4ca3c3c..29c80e4af2 100644 --- a/src/components/[guild]/Requirements/components/GuildCheckout/components/GuildPinReward.tsx +++ b/src/components/[guild]/Requirements/components/GuildCheckout/components/GuildPinReward.tsx @@ -1,8 +1,8 @@ -import { env } from "env" import { Img, Text } from "@chakra-ui/react" +import { RewardDisplay } from "components/[guild]/RoleCard/components/RewardDisplay" import useGuild from "components/[guild]/hooks/useGuild" +import { env } from "env" import { GuildAction, useMintGuildPinContext } from "../MintGuildPinContext" -import { RewardDisplay } from "components/[guild]/RoleCard/components/RewardDisplay" const GuildPinReward = (): JSX.Element => { const { pinType, pinImage } = useMintGuildPinContext() diff --git a/src/components/[guild]/Requirements/components/GuildCheckout/components/PaymentCurrencyPicker/components/TokenInfo.tsx b/src/components/[guild]/Requirements/components/GuildCheckout/components/PaymentCurrencyPicker/components/TokenInfo.tsx index fe33c6c5ad..6fe89f350f 100644 --- a/src/components/[guild]/Requirements/components/GuildCheckout/components/PaymentCurrencyPicker/components/TokenInfo.tsx +++ b/src/components/[guild]/Requirements/components/GuildCheckout/components/PaymentCurrencyPicker/components/TokenInfo.tsx @@ -74,8 +74,8 @@ const TokenInfo = ({ tokenAddress === NULL_ADDRESS && coinBalanceData?.value ? formatUnits(coinBalanceData.value, coinBalanceData.decimals) : tokenBalanceData?.value - ? formatUnits(tokenBalanceData.value, tokenBalanceData.decimals) - : 0 + ? formatUnits(tokenBalanceData.value, tokenBalanceData.decimals) + : 0 ).toFixed(3) ) @@ -119,12 +119,12 @@ const TokenInfo = ({ {isTokenBalanceError ? "Couldn't fetch token data" : error - ? `[?] ${symbol}` - : `${ - isTooSmallRequiredAmount - ? "< 0.001" - : Number(requiredAmount?.toFixed(3)) - } ${symbol}`} + ? `[?] ${symbol}` + : `${ + isTooSmallRequiredAmount + ? "< 0.001" + : Number(requiredAmount?.toFixed(3)) + } ${symbol}`} {` (${CHAIN_CONFIG[Chains[chainId]].name})`} diff --git a/src/components/[guild]/Requirements/components/GuildCheckout/components/PaymentFeeCurrency.tsx b/src/components/[guild]/Requirements/components/GuildCheckout/components/PaymentFeeCurrency.tsx index a3b8b5a953..e9f3f8776c 100644 --- a/src/components/[guild]/Requirements/components/GuildCheckout/components/PaymentFeeCurrency.tsx +++ b/src/components/[guild]/Requirements/components/GuildCheckout/components/PaymentFeeCurrency.tsx @@ -34,8 +34,8 @@ const PaymentFeeCurrency = (): JSX.Element => { ? isNativeCurrency ? formatUnits(fee, CHAIN_CONFIG[requirement.chain].nativeCurrency.decimals) : tokenData?.decimals - ? formatUnits(fee, tokenData.decimals) - : undefined + ? formatUnits(fee, tokenData.decimals) + : undefined : undefined useEffect(() => { diff --git a/src/components/[guild]/Requirements/components/GuildCheckout/components/PurchaseFeeAndTotal.tsx b/src/components/[guild]/Requirements/components/GuildCheckout/components/PurchaseFeeAndTotal.tsx index 446c051343..17ed3b5c36 100644 --- a/src/components/[guild]/Requirements/components/GuildCheckout/components/PurchaseFeeAndTotal.tsx +++ b/src/components/[guild]/Requirements/components/GuildCheckout/components/PurchaseFeeAndTotal.tsx @@ -3,7 +3,7 @@ import { Info, Question } from "@phosphor-icons/react" import useTokenData from "hooks/useTokenData" import { GUILD_FEE_PERCENTAGE, NULL_ADDRESS } from "utils/guildCheckout/constants" import { formatUnits } from "viem" -import { Chain, CHAIN_CONFIG } from "wagmiConfig/chains" +import { CHAIN_CONFIG, Chain } from "wagmiConfig/chains" import { useRequirementContext } from "../../RequirementContext" import usePrice from "../hooks/usePrice" import usePurchaseAsset from "../hooks/usePurchaseAsset" diff --git a/src/components/[guild]/Requirements/components/GuildCheckout/components/PurchasedRequirementInfo.tsx b/src/components/[guild]/Requirements/components/GuildCheckout/components/PurchasedRequirementInfo.tsx index eafb8a9740..4681a8c353 100644 --- a/src/components/[guild]/Requirements/components/GuildCheckout/components/PurchasedRequirementInfo.tsx +++ b/src/components/[guild]/Requirements/components/GuildCheckout/components/PurchasedRequirementInfo.tsx @@ -4,8 +4,8 @@ import { SimpleGrid, Skeleton, Text, - useColorModeValue, VStack, + useColorModeValue, } from "@chakra-ui/react" import useTokenData from "hooks/useTokenData" import { Chain } from "wagmiConfig/chains" diff --git a/src/components/[guild]/Requirements/components/GuildCheckout/components/TransactionStatusContext.tsx b/src/components/[guild]/Requirements/components/GuildCheckout/components/TransactionStatusContext.tsx index 0c004b6397..1fd1191b23 100644 --- a/src/components/[guild]/Requirements/components/GuildCheckout/components/TransactionStatusContext.tsx +++ b/src/components/[guild]/Requirements/components/GuildCheckout/components/TransactionStatusContext.tsx @@ -1,10 +1,10 @@ import { useDisclosure } from "@chakra-ui/react" import useJsConfetti from "components/create-guild/hooks/useJsConfetti" import { - createContext, Dispatch, PropsWithChildren, SetStateAction, + createContext, useContext, useEffect, useState, diff --git a/src/components/[guild]/Requirements/components/GuildCheckout/components/TransactionStatusModal/TransactionStatusModal.tsx b/src/components/[guild]/Requirements/components/GuildCheckout/components/TransactionStatusModal/TransactionStatusModal.tsx index 7f52b8a095..86440b9c56 100644 --- a/src/components/[guild]/Requirements/components/GuildCheckout/components/TransactionStatusModal/TransactionStatusModal.tsx +++ b/src/components/[guild]/Requirements/components/GuildCheckout/components/TransactionStatusModal/TransactionStatusModal.tsx @@ -40,10 +40,10 @@ const TransactionStatusModal = ({ {txError ? "Transaction failed" : txSuccess - ? successTitle ?? "Successful payment" - : txHash - ? "Transaction is processing..." - : title} + ? successTitle ?? "Successful payment" + : txHash + ? "Transaction is processing..." + : title} {txSuccess && } diff --git a/src/components/[guild]/Requirements/components/GuildCheckout/components/buttons/PurchaseAllowanceButton.tsx b/src/components/[guild]/Requirements/components/GuildCheckout/components/buttons/PurchaseAllowanceButton.tsx index 1a4ab9e931..f78156c979 100644 --- a/src/components/[guild]/Requirements/components/GuildCheckout/components/buttons/PurchaseAllowanceButton.tsx +++ b/src/components/[guild]/Requirements/components/GuildCheckout/components/buttons/PurchaseAllowanceButton.tsx @@ -7,7 +7,7 @@ import Button from "components/common/Button" import useTokenData from "hooks/useTokenData" import { NULL_ADDRESS, TOKEN_BUYER_CONTRACTS } from "utils/guildCheckout/constants" import { useChainId } from "wagmi" -import { Chain, CHAIN_CONFIG, Chains } from "wagmiConfig/chains" +import { CHAIN_CONFIG, Chain, Chains } from "wagmiConfig/chains" import { useRequirementContext } from "../../../RequirementContext" import usePrice from "../../hooks/usePrice" import { useGuildCheckoutContext } from "../GuildCheckoutContext" diff --git a/src/components/[guild]/Requirements/components/GuildCheckout/hooks/useGuildPinFee.ts b/src/components/[guild]/Requirements/components/GuildCheckout/hooks/useGuildPinFee.ts index 978b690241..ffc66d1364 100644 --- a/src/components/[guild]/Requirements/components/GuildCheckout/hooks/useGuildPinFee.ts +++ b/src/components/[guild]/Requirements/components/GuildCheckout/hooks/useGuildPinFee.ts @@ -2,9 +2,9 @@ import useGuild from "components/[guild]/hooks/useGuild" import guildPinAbi from "static/abis/guildPin" import useSWR from "swr" import { GUILD_PIN_CONTRACTS } from "utils/guildCheckout/constants" -import { createPublicClient, type Chain as ViemChain } from "viem" +import { type Chain as ViemChain, createPublicClient } from "viem" import { wagmiConfig } from "wagmiConfig" -import { Chains, type Chain } from "wagmiConfig/chains" +import { type Chain, Chains } from "wagmiConfig/chains" /** * For some reason, `useReadContract` didn't work on Ontology EVM, so we use the diff --git a/src/components/[guild]/Requirements/components/RequirementButton.tsx b/src/components/[guild]/Requirements/components/RequirementButton.tsx index 5042494701..95c03dc38e 100644 --- a/src/components/[guild]/Requirements/components/RequirementButton.tsx +++ b/src/components/[guild]/Requirements/components/RequirementButton.tsx @@ -1,7 +1,7 @@ import { Img } from "@chakra-ui/react" import { ArrowSquareOut } from "@phosphor-icons/react" import Button from "components/common/Button" -import { forwardRef, PropsWithChildren } from "react" +import { PropsWithChildren, forwardRef } from "react" import { Rest } from "types" type Props = PropsWithChildren diff --git a/src/components/[guild]/Requirements/components/RequirementContext.tsx b/src/components/[guild]/Requirements/components/RequirementContext.tsx index e9690ce12b..ec8959bfa7 100644 --- a/src/components/[guild]/Requirements/components/RequirementContext.tsx +++ b/src/components/[guild]/Requirements/components/RequirementContext.tsx @@ -1,5 +1,5 @@ import { schemas } from "@guildxyz/types" -import { createContext, PropsWithChildren, useContext } from "react" +import { PropsWithChildren, createContext, useContext } from "react" import { Requirement } from "types" import { z } from "zod" diff --git a/src/components/[guild]/RoleCard/RoleCard.tsx b/src/components/[guild]/RoleCard/RoleCard.tsx index 2344c4ac8d..d2140a733f 100644 --- a/src/components/[guild]/RoleCard/RoleCard.tsx +++ b/src/components/[guild]/RoleCard/RoleCard.tsx @@ -15,8 +15,8 @@ import useMembership, { useRoleMembership, } from "components/explorer/hooks/useMembership" import dynamic from "next/dynamic" -import rewards from "rewards" import { memo, useEffect, useRef } from "react" +import rewards from "rewards" import { PlatformType, Role } from "types" import RoleRequirements from "../Requirements" import useGuild from "../hooks/useGuild" diff --git a/src/components/[guild]/RoleCard/components/EditRole/EditRole.tsx b/src/components/[guild]/RoleCard/components/EditRole/EditRole.tsx index 5d3ce747cb..3aeb8f49e6 100644 --- a/src/components/[guild]/RoleCard/components/EditRole/EditRole.tsx +++ b/src/components/[guild]/RoleCard/components/EditRole/EditRole.tsx @@ -8,12 +8,12 @@ import { HStack, Icon, IconButton, - useDisclosure, VStack, + useDisclosure, } from "@chakra-ui/react" import { PencilSimple } from "@phosphor-icons/react" -import useGuild from "components/[guild]/hooks/useGuild" import { ApiRequirementHandlerProvider } from "components/[guild]/RequirementHandlerContext" +import useGuild from "components/[guild]/hooks/useGuild" import DiscardAlert from "components/common/DiscardAlert" import Section from "components/common/Section" import Description from "components/create-guild/Description" diff --git a/src/components/[guild]/RoleCard/components/Reward.tsx b/src/components/[guild]/RoleCard/components/Reward.tsx index ef1c565221..a7af0d5015 100644 --- a/src/components/[guild]/RoleCard/components/Reward.tsx +++ b/src/components/[guild]/RoleCard/components/Reward.tsx @@ -9,10 +9,10 @@ import { } from "@chakra-ui/react" import { ArrowSquareOut, LockSimple } from "@phosphor-icons/react" import usePlatformAccessButton from "components/[guild]/AccessHub/components/usePlatformAccessButton" -import useGuild from "components/[guild]/hooks/useGuild" import { useOpenJoinModal } from "components/[guild]/JoinModal/JoinModalProvider" import { ApiRequirementHandlerProvider } from "components/[guild]/RequirementHandlerContext" import Visibility from "components/[guild]/Visibility" +import useGuild from "components/[guild]/hooks/useGuild" import Button from "components/common/Button" import useMembership, { useRoleMembership, @@ -20,8 +20,8 @@ import useMembership, { import { motion } from "framer-motion" import { useMemo, useState } from "react" import rewards from "rewards" -import rewardComponents from "rewards/components" import GoogleCardWarning from "rewards/Google/GoogleCardWarning" +import rewardComponents from "rewards/components" import { PlatformType, RolePlatform } from "types" import capitalize from "utils/capitalize" import { RewardDisplay } from "./RewardDisplay" diff --git a/src/components/[guild]/RoleCard/components/RewardDisplay.tsx b/src/components/[guild]/RoleCard/components/RewardDisplay.tsx index a02f4fc5cf..e2c9f9bcb3 100644 --- a/src/components/[guild]/RoleCard/components/RewardDisplay.tsx +++ b/src/components/[guild]/RoleCard/components/RewardDisplay.tsx @@ -1,4 +1,4 @@ -import { ChakraProps, HStack, Stack, Wrap, Text } from "@chakra-ui/react" +import { ChakraProps, HStack, Stack, Text, Wrap } from "@chakra-ui/react" import { PropsWithChildren, ReactNode } from "react" export const RewardDisplay = ({ diff --git a/src/components/[guild]/RoleOptionCard.tsx b/src/components/[guild]/RoleOptionCard.tsx index 238b38fa4f..99afd0bea8 100644 --- a/src/components/[guild]/RoleOptionCard.tsx +++ b/src/components/[guild]/RoleOptionCard.tsx @@ -1,7 +1,7 @@ -import { Checkbox, CheckboxProps, Heading, HStack } from "@chakra-ui/react" +import { Checkbox, CheckboxProps, HStack, Heading } from "@chakra-ui/react" +import MemberCount from "components/[guild]/RoleCard/components/MemberCount" import Card from "components/common/Card" import GuildLogo from "components/common/GuildLogo" -import MemberCount from "components/[guild]/RoleCard/components/MemberCount" import { forwardRef } from "react" import { Role } from "types" diff --git a/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddDiscordPanel.tsx b/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddDiscordPanel.tsx index f6c16a46a1..764dedbcf2 100644 --- a/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddDiscordPanel.tsx +++ b/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddDiscordPanel.tsx @@ -1,6 +1,6 @@ import DiscordGuildSetup from "components/common/DiscordGuildSetup" -import { AddRewardPanelProps } from "rewards" import { useWatch } from "react-hook-form" +import { AddRewardPanelProps } from "rewards" import { PlatformGuildData, PlatformType } from "types" import DefaultAddRewardPanelWrapper from "../DefaultAddRewardPanelWrapper" diff --git a/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddGatherPanel.tsx b/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddGatherPanel.tsx index eeeb48d775..569e386b33 100644 --- a/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddGatherPanel.tsx +++ b/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddGatherPanel.tsx @@ -1,13 +1,13 @@ import { Button, Flex } from "@chakra-ui/react" import { useAddRewardDiscardAlert } from "components/[guild]/AddRewardButton/hooks/useAddRewardDiscardAlert" +import { FormProvider, useForm, useWatch } from "react-hook-form" +import { AddRewardPanelProps } from "rewards" import GatherForm from "rewards/Gather/GatherForm" import useGatherAccess from "rewards/Gather/hooks/useGatherAccess" import { gatherSpaceIdToName, gatherSpaceUrlToSpaceId, } from "rewards/Gather/useGatherCardProps" -import { AddRewardPanelProps } from "rewards" -import { FormProvider, useForm, useWatch } from "react-hook-form" import { PlatformType } from "types" import DefaultAddRewardPanelWrapper from "../DefaultAddRewardPanelWrapper" diff --git a/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddGithubPanel.tsx b/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddGithubPanel.tsx index d9f3594c9a..aa846256b8 100644 --- a/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddGithubPanel.tsx +++ b/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddGithubPanel.tsx @@ -1,7 +1,7 @@ import { useAddRewardDiscardAlert } from "components/[guild]/AddRewardButton/hooks/useAddRewardDiscardAlert" import GitHubGuildSetup from "components/common/GitHubGuildSetup" -import { AddRewardPanelProps } from "rewards" import { FormProvider, useForm } from "react-hook-form" +import { AddRewardPanelProps } from "rewards" import { PlatformType } from "types" import DefaultAddRewardPanelWrapper from "../DefaultAddRewardPanelWrapper" diff --git a/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddGooglePanel.tsx b/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddGooglePanel.tsx index 0b31153c17..cd752d307a 100644 --- a/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddGooglePanel.tsx +++ b/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddGooglePanel.tsx @@ -1,7 +1,7 @@ import { useAddRewardDiscardAlert } from "components/[guild]/AddRewardButton/hooks/useAddRewardDiscardAlert" import GoogleGuildSetup from "components/common/GoogleGuildSetup" -import { AddRewardPanelProps } from "rewards" import { FormProvider, useForm } from "react-hook-form" +import { AddRewardPanelProps } from "rewards" import { PlatformType } from "types" import DefaultAddRewardPanelWrapper from "../DefaultAddRewardPanelWrapper" diff --git a/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddPointsPanel/components/AddNewPointsType.tsx b/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddPointsPanel/components/AddNewPointsType.tsx index 3e88d4bff2..8df4e85737 100644 --- a/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddPointsPanel/components/AddNewPointsType.tsx +++ b/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddPointsPanel/components/AddNewPointsType.tsx @@ -1,7 +1,7 @@ import { Box, FormControl, HStack, Img, Input, Stack, Text } from "@chakra-ui/react" import FormErrorMessage from "components/common/FormErrorMessage" -import RewardImagePicker from "rewards/SecretText/SecretTextDataForm/components/RewardImagePicker" import { useFormContext } from "react-hook-form" +import RewardImagePicker from "rewards/SecretText/SecretTextDataForm/components/RewardImagePicker" import Star from "static/icons/star.svg" const AddNewPointsType = ({ name, imageUrl, isOptional }) => { diff --git a/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddPointsPanel/components/SetPointsAmount/components/DynamicPointsAmountForm.tsx b/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddPointsPanel/components/SetPointsAmount/components/DynamicPointsAmountForm.tsx index bb52fb44d7..49feb941a7 100644 --- a/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddPointsPanel/components/SetPointsAmount/components/DynamicPointsAmountForm.tsx +++ b/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddPointsPanel/components/SetPointsAmount/components/DynamicPointsAmountForm.tsx @@ -4,7 +4,7 @@ import DynamicRewardSetup from "components/[guild]/RolePlatforms/components/AddR import { useEditRolePlatformContext } from "components/[guild]/RolePlatforms/components/EditRolePlatformModal" import Button from "components/common/Button" import OptionImage from "components/common/StyledSelect/components/CustomSelectOption/components/OptionImage" -import { useEffect, type ReactNode } from "react" +import { type ReactNode, useEffect } from "react" import { useWatch } from "react-hook-form" import InformationModal from "../../../../DynamicSetup/InformationModal" diff --git a/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddPolygonIDPanel.tsx b/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddPolygonIDPanel.tsx index a9fe807a2c..69aba6f522 100644 --- a/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddPolygonIDPanel.tsx +++ b/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddPolygonIDPanel.tsx @@ -1,6 +1,6 @@ import useGuild from "components/[guild]/hooks/useGuild" -import { AddRewardPanelProps } from "rewards" import { useEffect } from "react" +import { AddRewardPanelProps } from "rewards" import { PlatformType } from "types" const AddPolygonIDPanel = ({ onAdd }: AddRewardPanelProps) => { diff --git a/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddSecretTextPanel.tsx b/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddSecretTextPanel.tsx index f6d1431a81..ab720e5808 100644 --- a/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddSecretTextPanel.tsx +++ b/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddSecretTextPanel.tsx @@ -2,16 +2,16 @@ import { Tab, TabList, TabPanel, TabPanels, Tabs } from "@chakra-ui/react" import { useAddRewardDiscardAlert } from "components/[guild]/AddRewardButton/hooks/useAddRewardDiscardAlert" import useUser from "components/[guild]/hooks/useUser" import Button from "components/common/Button" +import { useState } from "react" +import { FormProvider, useForm, useWatch } from "react-hook-form" +import { AddRewardPanelProps } from "rewards" import SecretTextDataForm from "rewards/SecretText/SecretTextDataForm/SecretTextDataForm" +import { SecretTextRewardForm } from "rewards/SecretText/SecretTextDataForm/types" import UniqueTextDataForm, { UniqueTextRewardForm, } from "rewards/UniqueText/UniqueTextDataForm" -import { AddRewardPanelProps } from "rewards" -import { useState } from "react" -import { FormProvider, useForm, useWatch } from "react-hook-form" import { PlatformGuildData, PlatformName, PlatformType } from "types" import DefaultAddRewardPanelWrapper from "../DefaultAddRewardPanelWrapper" -import { SecretTextRewardForm } from "rewards/SecretText/SecretTextDataForm/types" enum TextPlatformName { TEXT, diff --git a/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddTelegramPanel.tsx b/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddTelegramPanel.tsx index 2011c62d01..36bbbef079 100644 --- a/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddTelegramPanel.tsx +++ b/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddTelegramPanel.tsx @@ -1,8 +1,8 @@ import { useAddRewardDiscardAlert } from "components/[guild]/AddRewardButton/hooks/useAddRewardDiscardAlert" import Button from "components/common/Button" import TelegramGroup from "components/create-guild/TelegramGroup" -import { AddRewardPanelProps } from "rewards" import { FormProvider, useForm, useWatch } from "react-hook-form" +import { AddRewardPanelProps } from "rewards" import { PlatformType } from "types" import DefaultAddRewardPanelWrapper from "../DefaultAddRewardPanelWrapper" diff --git a/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddTokenPanel/AddTokenPanel.tsx b/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddTokenPanel/AddTokenPanel.tsx index 168f0ef6c4..69c26f6149 100644 --- a/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddTokenPanel/AddTokenPanel.tsx +++ b/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddTokenPanel/AddTokenPanel.tsx @@ -16,8 +16,8 @@ import { useTokenRewards } from "components/[guild]/AccessHub/hooks/useTokenRewa import { useAddRewardDiscardAlert } from "components/[guild]/AddRewardButton/hooks/useAddRewardDiscardAlert" import { useAddRewardContext } from "components/[guild]/AddRewardContext" import { useRequirementHandlerContext } from "components/[guild]/RequirementHandlerContext" -import { AddRewardPanelProps } from "rewards" import { FormProvider, useForm } from "react-hook-form" +import { AddRewardPanelProps } from "rewards" import { PlatformGuildData, PlatformType } from "types" import { ERC20_CONTRACTS } from "utils/guildCheckout/constants" import { Chain } from "wagmiConfig/chains" diff --git a/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddTokenPanel/components/PoolStep.tsx b/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddTokenPanel/components/PoolStep.tsx index e2f948827b..d17e475769 100644 --- a/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddTokenPanel/components/PoolStep.tsx +++ b/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddTokenPanel/components/PoolStep.tsx @@ -17,10 +17,10 @@ import Button from "components/common/Button" import OptionImage from "components/common/StyledSelect/components/CustomSelectOption/components/OptionImage" import useTokenData from "hooks/useTokenData" import { useSetAtom } from "jotai" -import useRegisterPool from "rewards/Token/hooks/useRegisterPool" import { useEffect, useState } from "react" import { useController, useFormContext, useWatch } from "react-hook-form" import ControlledNumberInput from "requirements/WalletActivity/components/ControlledNumberInput" +import useRegisterPool from "rewards/Token/hooks/useRegisterPool" import Token from "static/icons/token.svg" import { ERC20_CONTRACTS, NULL_ADDRESS } from "utils/guildCheckout/constants" import { parseUnits } from "viem" diff --git a/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddTokenPanel/components/TokenAmountStep.tsx b/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddTokenPanel/components/TokenAmountStep.tsx index df980b8e34..e13a0b09f9 100644 --- a/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddTokenPanel/components/TokenAmountStep.tsx +++ b/src/components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddTokenPanel/components/TokenAmountStep.tsx @@ -10,9 +10,9 @@ import { } from "@chakra-ui/react" import useGuild from "components/[guild]/hooks/useGuild" import Button from "components/common/Button" -import useRolePlatformsOfReward from "rewards/Token/hooks/useRolePlatformsOfReward" import { useEffect, useState } from "react" import { useFormContext, useWatch } from "react-hook-form" +import useRolePlatformsOfReward from "rewards/Token/hooks/useRolePlatformsOfReward" import { PlatformType } from "types" import { AddTokenFormType, TokenRewardType } from "../AddTokenPanel" import DynamicAmount from "./DynamicAmount" diff --git a/src/components/[guild]/RolePlatforms/components/PlatformCard/PlatformCard.tsx b/src/components/[guild]/RolePlatforms/components/PlatformCard/PlatformCard.tsx index 7f597a7705..323d02f1b7 100644 --- a/src/components/[guild]/RolePlatforms/components/PlatformCard/PlatformCard.tsx +++ b/src/components/[guild]/RolePlatforms/components/PlatformCard/PlatformCard.tsx @@ -1,6 +1,6 @@ import RewardCard from "components/common/RewardCard" -import rewards, { CardPropsHook } from "rewards" import { PropsWithChildren } from "react" +import rewards, { CardPropsHook } from "rewards" import { GuildPlatformWithOptionalId, Rest } from "types" type Props = { diff --git a/src/components/[guild]/RolePlatforms/components/RolePlatformProvider.tsx b/src/components/[guild]/RolePlatforms/components/RolePlatformProvider.tsx index 5ee3018e88..b5d2866942 100644 --- a/src/components/[guild]/RolePlatforms/components/RolePlatformProvider.tsx +++ b/src/components/[guild]/RolePlatforms/components/RolePlatformProvider.tsx @@ -1,4 +1,4 @@ -import { createContext, PropsWithChildren, useContext } from "react" +import { PropsWithChildren, createContext, useContext } from "react" import { RoleFormType } from "types" const RolePlatformContext = diff --git a/src/components/[guild]/RoleTag.tsx b/src/components/[guild]/RoleTag.tsx index 7b47477181..983cab91e0 100644 --- a/src/components/[guild]/RoleTag.tsx +++ b/src/components/[guild]/RoleTag.tsx @@ -1,16 +1,16 @@ import { Center, - forwardRef, Img, Tag, TagLabel, TagLeftIcon, TagProps, TagRightIcon, + forwardRef, useColorModeValue, } from "@chakra-ui/react" import { IconProps } from "@phosphor-icons/react" -import { ForwardRefExoticComponent, memo, RefAttributes } from "react" +import { ForwardRefExoticComponent, RefAttributes, memo } from "react" type Props = { name: string diff --git a/src/components/[guild]/activity/ActivityLogAction/ActivityLogActionContext.tsx b/src/components/[guild]/activity/ActivityLogAction/ActivityLogActionContext.tsx index 94df695b1b..c18607925c 100644 --- a/src/components/[guild]/activity/ActivityLogAction/ActivityLogActionContext.tsx +++ b/src/components/[guild]/activity/ActivityLogAction/ActivityLogActionContext.tsx @@ -1,4 +1,4 @@ -import { createContext, PropsWithChildren, useContext } from "react" +import { PropsWithChildren, createContext, useContext } from "react" import { ActivityLogAction } from "../constants" const ActivityLogActionContext = createContext(undefined) diff --git a/src/components/[guild]/activity/ActivityLogAction/components/ActivityLogRoleTag.tsx b/src/components/[guild]/activity/ActivityLogAction/components/ActivityLogRoleTag.tsx index c371e9f33d..bd5c9a1106 100644 --- a/src/components/[guild]/activity/ActivityLogAction/components/ActivityLogRoleTag.tsx +++ b/src/components/[guild]/activity/ActivityLogAction/components/ActivityLogRoleTag.tsx @@ -1,7 +1,7 @@ -import { forwardRef, TagProps } from "@chakra-ui/react" +import { TagProps, forwardRef } from "@chakra-ui/react" import { DotsThreeVertical, IconProps } from "@phosphor-icons/react" -import useGuild from "components/[guild]/hooks/useGuild" import RoleTag from "components/[guild]/RoleTag" +import useGuild from "components/[guild]/hooks/useGuild" import { ForwardRefExoticComponent, RefAttributes } from "react" import { useActivityLog } from "../../ActivityLogContext" import ClickableTagPopover from "./ClickableTagPopover" diff --git a/src/components/[guild]/activity/ActivityLogAction/components/ClickableTagPopover/components/FilterBy.tsx b/src/components/[guild]/activity/ActivityLogAction/components/ClickableTagPopover/components/FilterBy.tsx index 18eb70f899..0e32781d60 100644 --- a/src/components/[guild]/activity/ActivityLogAction/components/ClickableTagPopover/components/FilterBy.tsx +++ b/src/components/[guild]/activity/ActivityLogAction/components/ClickableTagPopover/components/FilterBy.tsx @@ -1,7 +1,7 @@ import { Funnel } from "@phosphor-icons/react" import { - Filter, FILTER_NAMES, + Filter, useActivityLogFilters, } from "components/[guild]/activity/ActivityLogFiltersBar/components/ActivityLogFiltersContext" import Button from "components/common/Button" diff --git a/src/components/[guild]/activity/ActivityLogAction/components/FormTag.tsx b/src/components/[guild]/activity/ActivityLogAction/components/FormTag.tsx index 38f702eb10..22a1bd5365 100644 --- a/src/components/[guild]/activity/ActivityLogAction/components/FormTag.tsx +++ b/src/components/[guild]/activity/ActivityLogAction/components/FormTag.tsx @@ -1,11 +1,11 @@ import { - forwardRef, HStack, Icon, Tag, TagProps, TagRightIcon, Text, + forwardRef, useColorModeValue, } from "@chakra-ui/react" import { DotsThreeVertical, IconProps } from "@phosphor-icons/react" diff --git a/src/components/[guild]/activity/ActivityLogAction/components/GuildTag.tsx b/src/components/[guild]/activity/ActivityLogAction/components/GuildTag.tsx index 1419ff3ef2..f993168280 100644 --- a/src/components/[guild]/activity/ActivityLogAction/components/GuildTag.tsx +++ b/src/components/[guild]/activity/ActivityLogAction/components/GuildTag.tsx @@ -1,13 +1,13 @@ import { useYourGuilds } from "@/hooks/useYourGuilds" import { Circle, - forwardRef, HStack, Img, Tag, TagProps, TagRightIcon, Text, + forwardRef, useColorModeValue, } from "@chakra-ui/react" import { DotsThreeVertical, IconProps } from "@phosphor-icons/react" diff --git a/src/components/[guild]/activity/ActivityLogAction/components/RewardTag.tsx b/src/components/[guild]/activity/ActivityLogAction/components/RewardTag.tsx index fd9ac8e438..4bf2fa6318 100644 --- a/src/components/[guild]/activity/ActivityLogAction/components/RewardTag.tsx +++ b/src/components/[guild]/activity/ActivityLogAction/components/RewardTag.tsx @@ -1,10 +1,10 @@ import { - forwardRef, Tag, TagLabel, TagLeftIcon, TagProps, TagRightIcon, + forwardRef, } from "@chakra-ui/react" import { DotsThreeVertical, IconProps } from "@phosphor-icons/react" import { ForwardRefExoticComponent, RefAttributes } from "react" diff --git a/src/components/[guild]/activity/ActivityLogAction/components/UserTag.tsx b/src/components/[guild]/activity/ActivityLogAction/components/UserTag.tsx index 54d47d9323..16ec3da492 100644 --- a/src/components/[guild]/activity/ActivityLogAction/components/UserTag.tsx +++ b/src/components/[guild]/activity/ActivityLogAction/components/UserTag.tsx @@ -1,10 +1,10 @@ import { - forwardRef, Tag, TagLabel, TagLeftIcon, TagProps, TagRightIcon, + forwardRef, useColorModeValue, } from "@chakra-ui/react" import { DotsThreeVertical } from "@phosphor-icons/react" diff --git a/src/components/[guild]/activity/ActivityLogContext.tsx b/src/components/[guild]/activity/ActivityLogContext.tsx index d8a8e84ca5..836b039ec6 100644 --- a/src/components/[guild]/activity/ActivityLogContext.tsx +++ b/src/components/[guild]/activity/ActivityLogContext.tsx @@ -2,25 +2,25 @@ import { useFetcherWithSign } from "hooks/useFetcherWithSign" import useScrollEffect from "hooks/useScrollEffect" import { useRouter } from "next/router" import { - createContext, Dispatch, PropsWithChildren, SetStateAction, + createContext, useContext, useState, } from "react" import useSWRInfinite, { SWRInfiniteResponse } from "swr/infinite" import { PlatformName, Requirement } from "types" import { - isSupportedQueryParam, SupportedQueryParam, + isSupportedQueryParam, } from "./ActivityLogFiltersBar/components/ActivityLogFiltersContext" import { useUserPublic } from "@/hooks/useUserPublic" import { + ADMIN_ACTIONS, ActivityLogAction, ActivityLogActionGroup, - ADMIN_ACTIONS, USER_ACTIONS, } from "./constants" diff --git a/src/components/[guild]/activity/ActivityLogFiltersBar/components/ActivityLogFiltersContext.tsx b/src/components/[guild]/activity/ActivityLogFiltersBar/components/ActivityLogFiltersContext.tsx index 551b02d05b..04da4f9d19 100644 --- a/src/components/[guild]/activity/ActivityLogFiltersBar/components/ActivityLogFiltersContext.tsx +++ b/src/components/[guild]/activity/ActivityLogFiltersBar/components/ActivityLogFiltersContext.tsx @@ -1,9 +1,9 @@ +import { ParsedUrlQuery } from "querystring" import { usePrevious } from "@chakra-ui/react" import { useRouter } from "next/router" -import { ParsedUrlQuery } from "querystring" import { - createContext, PropsWithChildren, + createContext, useContext, useEffect, useState, diff --git a/src/components/[guild]/activity/ActivityLogFiltersBar/components/FiltersInput.tsx b/src/components/[guild]/activity/ActivityLogFiltersBar/components/FiltersInput.tsx index b109d4d10f..478d59206c 100644 --- a/src/components/[guild]/activity/ActivityLogFiltersBar/components/FiltersInput.tsx +++ b/src/components/[guild]/activity/ActivityLogFiltersBar/components/FiltersInput.tsx @@ -3,17 +3,17 @@ import { HStack, IconButton, Input, - useColorModeValue, Wrap, + useColorModeValue, } from "@chakra-ui/react" import { CaretDown, X } from "@phosphor-icons/react" import * as combobox from "@zag-js/combobox" import { normalizeProps, useMachine } from "@zag-js/react" import { KeyboardEvent, useEffect, useRef, useState } from "react" import { - isSupportedQueryParam, SUPPORTED_SEARCH_OPTIONS, SupportedSearchOption, + isSupportedQueryParam, useActivityLogFilters, } from "./ActivityLogFiltersContext" import Dropdown from "./Dropdown" diff --git a/src/components/[guild]/collect/components/CollectNft/components/AmountPicker.tsx b/src/components/[guild]/collect/components/CollectNft/components/AmountPicker.tsx index 5d8bc81eee..c2c7e45ab8 100644 --- a/src/components/[guild]/collect/components/CollectNft/components/AmountPicker.tsx +++ b/src/components/[guild]/collect/components/CollectNft/components/AmountPicker.tsx @@ -171,8 +171,8 @@ const AmountPicker = () => { mintableAmountPerUserFromContract > range.max) ? `${range.min}+` : range.min === range.max - ? range.min - : `${range.min} - ${range.max}`} + ? range.min + : `${range.min} - ${range.max}`} diff --git a/src/components/[guild]/collect/components/CollectNftContext.tsx b/src/components/[guild]/collect/components/CollectNftContext.tsx index c24efc18e8..0f10a9d2d0 100644 --- a/src/components/[guild]/collect/components/CollectNftContext.tsx +++ b/src/components/[guild]/collect/components/CollectNftContext.tsx @@ -6,6 +6,7 @@ import { import TransactionStatusModal from "components/[guild]/Requirements/components/GuildCheckout/components/TransactionStatusModal" import OpenseaLink from "components/[guild]/Requirements/components/GuildCheckout/components/TransactionStatusModal/components/OpenseaLink" import { RewardIcon } from "components/[guild]/RoleCard/components/Reward" +import { RewardDisplay } from "components/[guild]/RoleCard/components/RewardDisplay" import { ContractCallFunction } from "components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddContractCallPanel/components/CreateNftForm/hooks/useCreateNft" import { PropsWithChildren, createContext, useContext, useEffect } from "react" import { FormProvider, useForm, useWatch } from "react-hook-form" @@ -13,7 +14,6 @@ import { GuildPlatform } from "types" import { Chain, Chains } from "wagmiConfig/chains" import useGuildRewardNftBalanceByUserId from "../hooks/useGuildRewardNftBalanceByUserId" import useNftDetails from "../hooks/useNftDetails" -import { RewardDisplay } from "components/[guild]/RoleCard/components/RewardDisplay" type Props = { roleId: number diff --git a/src/components/[guild]/collect/components/Details/Details.tsx b/src/components/[guild]/collect/components/Details/Details.tsx index 6afc7cad63..891e7d6b2c 100644 --- a/src/components/[guild]/collect/components/Details/Details.tsx +++ b/src/components/[guild]/collect/components/Details/Details.tsx @@ -27,8 +27,8 @@ const Details = () => { {typeof maxSupply !== "bigint" ? "Loading..." : maxSupply === BigInt(0) - ? "Unlimited" - : maxSupply.toString()} + ? "Unlimited" + : maxSupply.toString()} diff --git a/src/components/[guild]/collect/components/Links.tsx b/src/components/[guild]/collect/components/Links.tsx index 4b74bbcea2..75f3f37f31 100644 --- a/src/components/[guild]/collect/components/Links.tsx +++ b/src/components/[guild]/collect/components/Links.tsx @@ -1,8 +1,8 @@ -import { Icon, Img, Link, useColorMode, Wrap } from "@chakra-ui/react" +import { Icon, Img, Link, Wrap, useColorMode } from "@chakra-ui/react" import { ArrowSquareOut } from "@phosphor-icons/react" +import SocialIcon from "components/[guild]/SocialIcon" import { useCollectNftContext } from "components/[guild]/collect/components/CollectNftContext" import useGuild from "components/[guild]/hooks/useGuild" -import SocialIcon from "components/[guild]/SocialIcon" import Section from "components/common/Section" import { SocialLinkKey } from "types" import capitalize from "utils/capitalize" diff --git a/src/components/[guild]/crm/MemberModal.tsx b/src/components/[guild]/crm/MemberModal.tsx index 20c3a01e59..2b5bef82fd 100644 --- a/src/components/[guild]/crm/MemberModal.tsx +++ b/src/components/[guild]/crm/MemberModal.tsx @@ -8,8 +8,8 @@ import { ModalHeader, ModalOverlay, Text, - useColorModeValue, Wrap, + useColorModeValue, } from "@chakra-ui/react" import { Row } from "@tanstack/react-table" import CopyableAddress from "components/common/CopyableAddress" @@ -19,8 +19,8 @@ import useResolveAddress from "hooks/useResolveAddress" import useGuild from "../hooks/useGuild" import { WalletTag } from "./Identities" import { ClickableCrmRoleTag } from "./RoleTags" -import { Member } from "./useMembers" import UserPlatformTags from "./UserPlatformTags" +import { Member } from "./useMembers" type Props = { row: Row diff --git a/src/components/[guild]/crm/RoleTags.tsx b/src/components/[guild]/crm/RoleTags.tsx index 0c7bb6910b..a0934c6a75 100644 --- a/src/components/[guild]/crm/RoleTags.tsx +++ b/src/components/[guild]/crm/RoleTags.tsx @@ -1,6 +1,5 @@ import { Box, - forwardRef, HStack, Popover, PopoverArrow, @@ -12,18 +11,19 @@ import { TagLabel, TagProps, Text, - useColorModeValue, Wrap, + forwardRef, + useColorModeValue, } from "@chakra-ui/react" import { Funnel } from "@phosphor-icons/react" import Button from "components/common/Button" import { memo } from "react" import { Role } from "types" import pluralize from "utils/pluralize" +import RoleTag from "../RoleTag" import ClickableTagPopover from "../activity/ActivityLogAction/components/ClickableTagPopover" import ViewRole from "../activity/ActivityLogAction/components/ClickableTagPopover/components/ViewRole" import useGuild from "../hooks/useGuild" -import RoleTag from "../RoleTag" import { CrmRole } from "./useMembers" type Props = { @@ -76,15 +76,13 @@ const RoleTags = memo(({ roles, setFilterValue }: Props) => { - {moreRoles - ?.slice(0, 15) - .map(({ roleId, requirementId, amount }) => ( - r.id === roleId) as any} - amount={amount} - /> - ))} + {moreRoles?.slice(0, 15).map(({ roleId, requirementId, amount }) => ( + r.id === roleId) as any} + amount={amount} + /> + ))} diff --git a/src/components/[guild]/crm/transformTableStateToAndFromQuery.ts b/src/components/[guild]/crm/transformTableStateToAndFromQuery.ts index 09fb78eebf..d8aedb2430 100644 --- a/src/components/[guild]/crm/transformTableStateToAndFromQuery.ts +++ b/src/components/[guild]/crm/transformTableStateToAndFromQuery.ts @@ -1,5 +1,5 @@ -import { ColumnFiltersState, SortingState } from "@tanstack/react-table" import { ParsedUrlQuery } from "querystring" +import { ColumnFiltersState, SortingState } from "@tanstack/react-table" const parseFiltersFromQuery = (query: ParsedUrlQuery): ColumnFiltersState => { const filtersArray = [] diff --git a/src/components/[guild]/forms/FillForm.tsx b/src/components/[guild]/forms/FillForm.tsx index 3b8effed0d..0d3e29ee21 100644 --- a/src/components/[guild]/forms/FillForm.tsx +++ b/src/components/[guild]/forms/FillForm.tsx @@ -10,8 +10,8 @@ import useCustomPosthogEvents from "hooks/useCustomPosthogEvents" import useShowErrorToast from "hooks/useShowErrorToast" import { useSubmitWithSign } from "hooks/useSubmit" import useToast from "hooks/useToast" -import { useUserFormSubmission } from "rewards/Forms/hooks/useFormSubmissions" import { Controller, FormProvider, useForm } from "react-hook-form" +import { useUserFormSubmission } from "rewards/Forms/hooks/useFormSubmissions" import { PlatformType } from "types" import fetcher from "utils/fetcher" import useMembershipUpdate from "../JoinModal/hooks/useMembershipUpdate" diff --git a/src/components/[guild]/forms/responses/FormResponsesTable.tsx b/src/components/[guild]/forms/responses/FormResponsesTable.tsx index e783350266..9067397eed 100644 --- a/src/components/[guild]/forms/responses/FormResponsesTable.tsx +++ b/src/components/[guild]/forms/responses/FormResponsesTable.tsx @@ -16,10 +16,10 @@ import { } from "components/[guild]/crm/transformTableStateToAndFromQuery" import FormResponsesTbody from "components/[guild]/forms/responses/FormResponsesTbody" import { useRouter } from "next/router" +import { useEffect, useMemo, useRef, useState } from "react" import useFormSubmissions, { FormSubmission, } from "rewards/Forms/hooks/useFormSubmissions" -import { useEffect, useMemo, useRef, useState } from "react" const columnHelper = createColumnHelper() const getRowId = (row: FormSubmission) => `response_${row.userId}` diff --git a/src/components/[guild]/forms/responses/FormResponsesTbody.tsx b/src/components/[guild]/forms/responses/FormResponsesTbody.tsx index 4d49612c33..1972408ec8 100644 --- a/src/components/[guild]/forms/responses/FormResponsesTbody.tsx +++ b/src/components/[guild]/forms/responses/FormResponsesTbody.tsx @@ -5,8 +5,8 @@ import { CrmRow, CrmSkeletonRow, } from "components/[guild]/crm/CRMTable/CrmTbody" -import { FormSubmission } from "rewards/Forms/hooks/useFormSubmissions" import { useState } from "react" +import { FormSubmission } from "rewards/Forms/hooks/useFormSubmissions" import ResponseModal from "./ResponseModal" type Props = { diff --git a/src/components/[guild]/leaderboard/LeaderboardUserCard.tsx b/src/components/[guild]/leaderboard/LeaderboardUserCard.tsx index 55aeca2a5d..3e493a5601 100644 --- a/src/components/[guild]/leaderboard/LeaderboardUserCard.tsx +++ b/src/components/[guild]/leaderboard/LeaderboardUserCard.tsx @@ -8,8 +8,8 @@ import { Tag, Text, Tooltip, - useColorModeValue, VStack, + useColorModeValue, } from "@chakra-ui/react" import { Trophy } from "@phosphor-icons/react" import Card from "components/common/Card" diff --git a/src/components/analytics/MembersChart/MembersChart.tsx b/src/components/analytics/MembersChart/MembersChart.tsx index d0f642594c..b6e4757d7d 100644 --- a/src/components/analytics/MembersChart/MembersChart.tsx +++ b/src/components/analytics/MembersChart/MembersChart.tsx @@ -179,8 +179,8 @@ const MembersChart = () => { index === 0 ? "start" : index === ticks[ticks.length - 1].index - ? "end" - : "middle", + ? "end" + : "middle", })} numTicks={numberOfDateMarkers} /> diff --git a/src/components/common/ControlledSelect.tsx b/src/components/common/ControlledSelect.tsx index 46e4b1b827..1314901970 100644 --- a/src/components/common/ControlledSelect.tsx +++ b/src/components/common/ControlledSelect.tsx @@ -1,4 +1,4 @@ -import { useController, UseControllerProps } from "react-hook-form" +import { UseControllerProps, useController } from "react-hook-form" import { SelectOption } from "types" import StyledSelect from "./StyledSelect" import { StyledSelectProps } from "./StyledSelect/StyledSelect" diff --git a/src/components/common/DrawerHeader.tsx b/src/components/common/DrawerHeader.tsx index 7b9e1f47d4..8321db4e45 100644 --- a/src/components/common/DrawerHeader.tsx +++ b/src/components/common/DrawerHeader.tsx @@ -1,4 +1,4 @@ -import { Heading, HStack, StackProps } from "@chakra-ui/react" +import { HStack, Heading, StackProps } from "@chakra-ui/react" import { PropsWithChildren } from "react" type Props = { diff --git a/src/components/common/ErrorAnimation.tsx b/src/components/common/ErrorAnimation.tsx index f3f00dbfe3..360ff2fc46 100644 --- a/src/components/common/ErrorAnimation.tsx +++ b/src/components/common/ErrorAnimation.tsx @@ -1,4 +1,4 @@ -import { domAnimation, LazyMotion, m } from "framer-motion" +import { LazyMotion, domAnimation, m } from "framer-motion" import { PropsWithChildren, useEffect, useState } from "react" type Props = { diff --git a/src/components/common/FormErrorMessage.tsx b/src/components/common/FormErrorMessage.tsx index 4a6ccf31c2..748d4ea11a 100644 --- a/src/components/common/FormErrorMessage.tsx +++ b/src/components/common/FormErrorMessage.tsx @@ -1,7 +1,7 @@ import { Box, - Collapse, FormErrorMessage as ChakraFormErrorMessage, + Collapse, useFormControlContext, } from "@chakra-ui/react" import { PropsWithChildren } from "react" diff --git a/src/components/common/Layout/Layout.tsx b/src/components/common/Layout/Layout.tsx index efcfe80add..0ccca1b350 100644 --- a/src/components/common/Layout/Layout.tsx +++ b/src/components/common/Layout/Layout.tsx @@ -3,10 +3,10 @@ import { Box, BoxProps, Container, - Heading, HStack, - useColorMode, + Heading, VStack, + useColorMode, } from "@chakra-ui/react" import { useThemeContext } from "components/[guild]/ThemeContext" import useIsomorphicLayoutEffect from "hooks/useIsomorphicLayoutEffect" diff --git a/src/components/common/Layout/index.tsx b/src/components/common/Layout/index.tsx index 5317466985..9f6efbcfb8 100644 --- a/src/components/common/Layout/index.tsx +++ b/src/components/common/Layout/index.tsx @@ -1,4 +1,5 @@ import { Header } from "@/components/Header" +import LegacyLayout from "./Layout" import BackButton from "./components/BackButton" import Background from "./components/Background" import Footer from "./components/Footer" @@ -7,7 +8,6 @@ import HeaderSection from "./components/HeaderSection" import Headline from "./components/Headline" import MainSection from "./components/MainSection" import Root from "./components/Root" -import LegacyLayout from "./Layout" export default LegacyLayout diff --git a/src/components/common/Modal.tsx b/src/components/common/Modal.tsx index d46f5ca521..1f7523b3b0 100644 --- a/src/components/common/Modal.tsx +++ b/src/components/common/Modal.tsx @@ -1,6 +1,6 @@ import { - AlertDialog as ChakraAlert, AlertDialogProps, + AlertDialog as ChakraAlert, Modal as ChakraModal, ModalProps, useBreakpointValue, diff --git a/src/components/common/RadioSelect/RadioSelect.tsx b/src/components/common/RadioSelect/RadioSelect.tsx index 247b3d19e7..dae07d4fc2 100644 --- a/src/components/common/RadioSelect/RadioSelect.tsx +++ b/src/components/common/RadioSelect/RadioSelect.tsx @@ -1,9 +1,9 @@ import { StackDivider, - useColorMode, - useRadioGroup, UseRadioGroupProps, VStack, + useColorMode, + useRadioGroup, } from "@chakra-ui/react" import React, { PropsWithChildren, ReactNode } from "react" import RadioOption from "./components/RadioOption" diff --git a/src/components/common/RadioSelect/components/RadioOption.tsx b/src/components/common/RadioSelect/components/RadioOption.tsx index 4bb6eaf041..076bdd7fcc 100644 --- a/src/components/common/RadioSelect/components/RadioOption.tsx +++ b/src/components/common/RadioSelect/components/RadioOption.tsx @@ -1,8 +1,8 @@ import { Box, Collapse, - Heading, HStack, + Heading, Icon, Tag, Text, @@ -97,8 +97,8 @@ const RadioOption = (props) => { bg: isChecked ? null : colorMode === "light" - ? "blackAlpha.50" - : "whiteAlpha.100", + ? "blackAlpha.50" + : "whiteAlpha.100", }} _active={{ bg: null }} > diff --git a/src/components/common/Section.tsx b/src/components/common/Section.tsx index 5e446008df..1b0241e9c5 100644 --- a/src/components/common/Section.tsx +++ b/src/components/common/Section.tsx @@ -1,5 +1,5 @@ -import { Heading, HStack, Stack, StackProps } from "@chakra-ui/react" -import { forwardRef, PropsWithChildren } from "react" +import { HStack, Heading, Stack, StackProps } from "@chakra-ui/react" +import { PropsWithChildren, forwardRef } from "react" type Props = { title?: string | JSX.Element diff --git a/src/components/create-guild/PlatformsGrid/components/PlatformSelectButton.tsx b/src/components/create-guild/PlatformsGrid/components/PlatformSelectButton.tsx index 0e5e012b78..894ce2cf25 100644 --- a/src/components/create-guild/PlatformsGrid/components/PlatformSelectButton.tsx +++ b/src/components/create-guild/PlatformsGrid/components/PlatformSelectButton.tsx @@ -2,18 +2,18 @@ import { walletSelectorModalAtom } from "@/components/Providers/atoms" import { useWeb3ConnectionManager } from "@/components/Web3ConnectionManager/hooks/useWeb3ConnectionManager" import { Circle, - Heading, HStack, + Heading, Icon, Spinner, Text, Tooltip, - useColorModeValue, VStack, + useColorModeValue, } from "@chakra-ui/react" import { ArrowSquareIn, CaretRight, IconProps } from "@phosphor-icons/react" -import useUser from "components/[guild]/hooks/useUser" import useConnectPlatform from "components/[guild]/JoinModal/hooks/useConnectPlatform" +import useUser from "components/[guild]/hooks/useUser" import DisplayCard from "components/common/DisplayCard" import { useSetAtom } from "jotai" import dynamic from "next/dynamic" diff --git a/src/components/create-guild/Requirements/components/AddRequirement.tsx b/src/components/create-guild/Requirements/components/AddRequirement.tsx index 038d70db4e..fd1534d538 100644 --- a/src/components/create-guild/Requirements/components/AddRequirement.tsx +++ b/src/components/create-guild/Requirements/components/AddRequirement.tsx @@ -1,8 +1,8 @@ import { Box, Divider, - Heading, HStack, + Heading, Icon, IconButton, Img, @@ -16,10 +16,10 @@ import { Stack, Text, Tooltip, - useDisclosure, VStack, + useDisclosure, } from "@chakra-ui/react" -import { schemas, Schemas } from "@guildxyz/types" +import { Schemas, schemas } from "@guildxyz/types" import { ArrowLeft, CaretRight } from "@phosphor-icons/react" import useGuild from "components/[guild]/hooks/useGuild" import AddCard from "components/common/AddCard" @@ -32,9 +32,9 @@ import useToast from "hooks/useToast" import { Dispatch, FC, - forwardRef, LegacyRef, SetStateAction, + forwardRef, useEffect, useRef, useState, @@ -48,6 +48,7 @@ import { } from "requirements/requirementProvidedValues" import { RequirementType } from "requirements/types" import { Requirement } from "types" +import preprocessRequirement from "utils/preprocessRequirement" import useCreateRequirement from "../hooks/useCreateRequirement" import BalancyFooter from "./BalancyFooter" import IsNegatedPicker from "./IsNegatedPicker" @@ -242,10 +243,19 @@ const AddRequirementForm = forwardRef( const { type, ...requirementData } = data - const requirement = schemas.RequirementCreationPayloadSchema.parse({ - type: type ?? selectedType, + /** + * TODO: This was a quick solution to avoid Zod errors when submitting a + * CONTRACT requirement. The type of data.params is {value: number}[] on our + * frontend, but it's just a simple number array in the schema. We should fix + * this and make sure to not use preprocessRequirements. + */ + const preprocessedRequirement = preprocessRequirement({ + type: (type ?? selectedType) as any, ...requirementData, }) + const requirement = schemas.RequirementCreationPayloadSchema.parse( + preprocessedRequirement + ) if (!roleId) { onAdd?.(requirement) diff --git a/src/components/create-guild/Requirements/components/BalancyCounter.tsx b/src/components/create-guild/Requirements/components/BalancyCounter.tsx index a7839c8881..0704754e15 100644 --- a/src/components/create-guild/Requirements/components/BalancyCounter.tsx +++ b/src/components/create-guild/Requirements/components/BalancyCounter.tsx @@ -8,8 +8,8 @@ import { Spinner, Text, Tooltip, - useClipboard, Wrap, + useClipboard, } from "@chakra-ui/react" import { Copy, DownloadSimple, Question, Warning } from "@phosphor-icons/react" import Button from "components/common/Button" diff --git a/src/components/create-guild/Requirements/components/BalancyFooter.tsx b/src/components/create-guild/Requirements/components/BalancyFooter.tsx index 0635be942c..d75f9734ee 100644 --- a/src/components/create-guild/Requirements/components/BalancyFooter.tsx +++ b/src/components/create-guild/Requirements/components/BalancyFooter.tsx @@ -24,8 +24,8 @@ const BalancyFooter = ({ baseFieldPath }) => { requirement?.isNegated ? "excluded by" : holders > 1 - ? "satisfy" - : "satisfies" + ? "satisfy" + : "satisfies" } this requirement`} ) diff --git a/src/components/explorer/ExploreAllGuilds.tsx b/src/components/explorer/ExploreAllGuilds.tsx index f8ef1a474e..56639acc0d 100644 --- a/src/components/explorer/ExploreAllGuilds.tsx +++ b/src/components/explorer/ExploreAllGuilds.tsx @@ -5,17 +5,17 @@ import { Spinner, Stack, Text, + VStack, useBreakpointValue, useColorModeValue, usePrevious, - VStack, } from "@chakra-ui/react" -import useUser from "components/[guild]/hooks/useUser" import { TABS_HEIGHT, TABS_HEIGHT_SM, TABS_SM_BUTTONS_STYLES, } from "components/[guild]/Tabs/Tabs" +import useUser from "components/[guild]/hooks/useUser" import ClientOnly from "components/common/ClientOnly" import Section from "components/common/Section" import ExplorerCardMotionWrapper from "components/explorer/ExplorerCardMotionWrapper" diff --git a/src/components/leaderboard/MysteryBoxCard.tsx b/src/components/leaderboard/MysteryBoxCard.tsx index fa134a7b5a..10a5ec7b75 100644 --- a/src/components/leaderboard/MysteryBoxCard.tsx +++ b/src/components/leaderboard/MysteryBoxCard.tsx @@ -1,8 +1,8 @@ import { FormControl, FormLabel, - Heading, HStack, + Heading, Img, Input, ModalBody, diff --git a/src/components/leaderboard/PinLeaderboardUserCard.tsx b/src/components/leaderboard/PinLeaderboardUserCard.tsx index 04c53b8e7a..0a3e3320f9 100644 --- a/src/components/leaderboard/PinLeaderboardUserCard.tsx +++ b/src/components/leaderboard/PinLeaderboardUserCard.tsx @@ -17,8 +17,8 @@ import { SkeletonCircle, Stack, Text, - useColorModeValue, VStack, + useColorModeValue, } from "@chakra-ui/react" import { CaretDown, Trophy } from "@phosphor-icons/react" import Button from "components/common/Button" diff --git a/src/components/lexical/plugins/ImagesPlugin.tsx b/src/components/lexical/plugins/ImagesPlugin.tsx index 020ee9560e..87239a9505 100644 --- a/src/components/lexical/plugins/ImagesPlugin.tsx +++ b/src/components/lexical/plugins/ImagesPlugin.tsx @@ -5,8 +5,8 @@ import { $insertNodes, $isRootOrShadowRoot, COMMAND_PRIORITY_EDITOR, - createCommand, LexicalCommand, + createCommand, } from "lexical" import { useEffect } from "react" diff --git a/src/hooks/useEstimateGas.ts b/src/hooks/useEstimateGas.ts index dccf52feeb..e01885a366 100644 --- a/src/hooks/useEstimateGas.ts +++ b/src/hooks/useEstimateGas.ts @@ -8,7 +8,7 @@ import { CHAIN_CONFIG, Chain, Chains } from "wagmiConfig/chains" const convertGasFeeToUSD = async ([_, chainId, estimatedGas]: [ string, number, - bigint + bigint, ]) => { const nativeCurrencyPriceInUSD = await fetchNativeCurrencyPriceInUSD( Chains[chainId] as Chain diff --git a/src/hooks/useOAuthResultToast.ts b/src/hooks/useOAuthResultToast.ts index 2afa205d77..3490e02b29 100644 --- a/src/hooks/useOAuthResultToast.ts +++ b/src/hooks/useOAuthResultToast.ts @@ -14,9 +14,9 @@ export default function useOAuthResultToast() { useEffect(() => { if (query["oauth-status"]) { const { - ["oauth-platform"]: oauthPlatform, - ["oauth-status"]: oauthStatus, - ["oauth-message"]: oauthMessage, + "oauth-platform": oauthPlatform, + "oauth-status": oauthStatus, + "oauth-message": oauthMessage, ...newQuery } = query diff --git a/src/hooks/usePinata/usePinata.ts b/src/hooks/usePinata/usePinata.ts index 0488513ab5..cadd574557 100644 --- a/src/hooks/usePinata/usePinata.ts +++ b/src/hooks/usePinata/usePinata.ts @@ -53,8 +53,8 @@ const usePinata = ({ typeof error === "string" ? error : error instanceof Error - ? error.message - : undefined + ? error.message + : undefined toast({ status: "error", diff --git a/src/hooks/useSubmit/utils/gnosisSafeSignCallback.ts b/src/hooks/useSubmit/utils/gnosisSafeSignCallback.ts index 60197d0a2d..fd2aa6becc 100644 --- a/src/hooks/useSubmit/utils/gnosisSafeSignCallback.ts +++ b/src/hooks/useSubmit/utils/gnosisSafeSignCallback.ts @@ -1,7 +1,7 @@ -import { CHAIN_CONFIG, Chains } from "wagmiConfig/chains" // import EIP1271_ABI from "static/abis/EIP1271.json" import gnosisSignMessageLibAbi from "static/abis/gnosisSignMessageLib" -import { createPublicClient, hashMessage, http } from "viem" +import { http, createPublicClient, hashMessage } from "viem" +import { CHAIN_CONFIG, Chains } from "wagmiConfig/chains" // Move this type elsewhere, if we add multiple callbacks like this export type MethodSignCallback = ( diff --git a/src/hooks/useToast.tsx b/src/hooks/useToast.tsx index f00aa72426..0e56f97d28 100644 --- a/src/hooks/useToast.tsx +++ b/src/hooks/useToast.tsx @@ -4,13 +4,13 @@ import { LinkProps, Text, ToastId, - useColorModeValue, - useToast as chakraUseToast, UseToastOptions, + useToast as chakraUseToast, + useColorModeValue, } from "@chakra-ui/react" import Button from "components/common/Button" -import XLogo from "static/icons/x.svg" import { useRef } from "react" +import XLogo from "static/icons/x.svg" const useToast = (toastOptions?: UseToastOptions) => chakraUseToast({ diff --git a/src/pages/[guild]/[group].tsx b/src/pages/[guild]/[group].tsx index c1d51fb024..972a006cc2 100644 --- a/src/pages/[guild]/[group].tsx +++ b/src/pages/[guild]/[group].tsx @@ -1,15 +1,15 @@ -import { Box, Center, Flex, Heading, HStack, Spinner } from "@chakra-ui/react" +import { Box, Center, Flex, HStack, Heading, Spinner } from "@chakra-ui/react" import AccessHub from "components/[guild]/AccessHub" import { useAccessedGuildPlatforms } from "components/[guild]/AccessHub/AccessHub" -import GuildImageAndName from "components/[guild]/collect/components/GuildImageAndName" -import useGuild from "components/[guild]/hooks/useGuild" -import useGuildPermission from "components/[guild]/hooks/useGuildPermission" -import useRoleGroup from "components/[guild]/hooks/useRoleGroup" import JoinButton from "components/[guild]/JoinButton" import JoinModalProvider from "components/[guild]/JoinModal/JoinModalProvider" import LeaveButton from "components/[guild]/LeaveButton" import Roles from "components/[guild]/Roles" import { ThemeProvider, useThemeContext } from "components/[guild]/ThemeContext" +import GuildImageAndName from "components/[guild]/collect/components/GuildImageAndName" +import useGuild from "components/[guild]/hooks/useGuild" +import useGuildPermission from "components/[guild]/hooks/useGuildPermission" +import useRoleGroup from "components/[guild]/hooks/useRoleGroup" import GuildLogo from "components/common/GuildLogo" import Layout from "components/common/Layout" import LinkPreviewHead from "components/common/LinkPreviewHead" @@ -18,8 +18,8 @@ import useMembership from "components/explorer/hooks/useMembership" import { GetStaticPaths, GetStaticProps } from "next" import dynamic from "next/dynamic" import Head from "next/head" -import { MintPolygonIDProofProvider } from "rewards/PolygonID/components/MintPolygonIDProofProvider" import { useState } from "react" +import { MintPolygonIDProofProvider } from "rewards/PolygonID/components/MintPolygonIDProofProvider" import { SWRConfig } from "swr" import { Guild } from "types" import fetcher from "utils/fetcher" diff --git a/src/pages/[guild]/index.tsx b/src/pages/[guild]/index.tsx index 4a9a0637ff..676fa43540 100644 --- a/src/pages/[guild]/index.tsx +++ b/src/pages/[guild]/index.tsx @@ -2,8 +2,8 @@ import { Box, Center, Divider, - Heading, HStack, + Heading, Icon, Link, Spinner, @@ -20,8 +20,6 @@ import { useEditGuildDrawer, } from "components/[guild]/EditGuild/EditGuildDrawerContext" import GuildName from "components/[guild]/GuildName" -import useGuild from "components/[guild]/hooks/useGuild" -import useGuildPermission from "components/[guild]/hooks/useGuildPermission" import JoinButton from "components/[guild]/JoinButton" import JoinModalProvider from "components/[guild]/JoinModal/JoinModalProvider" import LeaveButton from "components/[guild]/LeaveButton" @@ -32,6 +30,9 @@ import SocialIcon from "components/[guild]/SocialIcon" import useStayConnectedToast from "components/[guild]/StayConnectedToast" import GuildTabs from "components/[guild]/Tabs/GuildTabs" import { ThemeProvider, useThemeContext } from "components/[guild]/ThemeContext" +import useGuild from "components/[guild]/hooks/useGuild" +import useGuildPermission from "components/[guild]/hooks/useGuildPermission" +import { addIntercomSettings } from "components/_app/IntercomProvider" import GuildLogo from "components/common/GuildLogo" import Layout from "components/common/Layout" import BackButton from "components/common/Layout/components/BackButton" @@ -48,7 +49,6 @@ import { MintPolygonIDProofProvider } from "rewards/PolygonID/components/MintPol import { SWRConfig } from "swr" import { Guild, SocialLinkKey } from "types" import fetcher from "utils/fetcher" -import { addIntercomSettings } from "utils/intercom" import parseDescription from "utils/parseDescription" const DynamicOngoingIssuesBanner = dynamic( diff --git a/src/pages/api/fetchPrice.ts b/src/pages/api/fetchPrice.ts index bc34328139..64db4b8d2b 100644 --- a/src/pages/api/fetchPrice.ts +++ b/src/pages/api/fetchPrice.ts @@ -14,7 +14,7 @@ import { ZeroXSupportedSources, } from "utils/guildCheckout/constants" import { flipPath } from "utils/guildCheckout/utils" -import { createPublicClient, erc20Abi, formatUnits, http, parseUnits } from "viem" +import { http, createPublicClient, erc20Abi, formatUnits, parseUnits } from "viem" import { wagmiConfig } from "wagmiConfig" import { CHAIN_CONFIG, Chain, Chains } from "wagmiConfig/chains" import { NON_PURCHASABLE_ASSETS_KV_KEY } from "./nonPurchasableAssets" diff --git a/src/pages/api/leaderboard/mystery-box/index.ts b/src/pages/api/leaderboard/mystery-box/index.ts index 922e81cf89..642ece3fb3 100644 --- a/src/pages/api/leaderboard/mystery-box/index.ts +++ b/src/pages/api/leaderboard/mystery-box/index.ts @@ -2,7 +2,7 @@ import { kv } from "@vercel/kv" import { sql } from "@vercel/postgres" import { NextApiHandler, NextApiRequest, NextApiResponse } from "next" import { OneOf } from "types" -import { createPublicClient, erc721Abi, http, recoverMessageAddress } from "viem" +import { http, createPublicClient, erc721Abi, recoverMessageAddress } from "viem" import { wagmiConfig } from "wagmiConfig" import { Chain, Chains } from "wagmiConfig/chains" diff --git a/src/pages/api/linkpreview/[timestamp]/[guild].tsx b/src/pages/api/linkpreview/[timestamp]/[guild].tsx index bc329173cc..2ffb1b6f09 100644 --- a/src/pages/api/linkpreview/[timestamp]/[guild].tsx +++ b/src/pages/api/linkpreview/[timestamp]/[guild].tsx @@ -52,201 +52,199 @@ const handler = async (req, _) => { const safeGuildDescription = guild.description?.replaceAll("\n", "") return new ImageResponse( - ( +
+ {/* eslint-disable-next-line @next/next/no-img-element */} + Guilders + +
+
- {/* eslint-disable-next-line @next/next/no-img-element */} - Guilders - -
-
-
- {/* eslint-disable-next-line @next/next/no-img-element */} - {guild.name} -
-

- {guild.name} -

-
- -
-
{`${new Intl.NumberFormat("en", { notation: "compact" }).format( - guild?.memberCount ?? 0 - )} members`}
- -
{`${roles?.length || 0} roles`}
+ src={ + guild.imageUrl?.startsWith("http") + ? `${baseUrl}/_next/image?url=${guild.imageUrl}&w=48&q=75` + : `${baseUrl}${guild.imageUrl}` + } + alt={guild.name} + />
+

+ {guild.name} +

+
+
{`${new Intl.NumberFormat("en", { notation: "compact" }).format( + guild?.memberCount ?? 0 + )} members`}
+ +
- {guild.description ? ( - `${safeGuildDescription?.slice(0, 80)}${ - safeGuildDescription?.length > 80 ? "..." : "" - }` - ) : ( -
-
- {"That's a great party in there!"} -
-
{"I dare you to be the plus one."}
+ >{`${roles?.length || 0} roles`}
+
+ +
+ {guild.description ? ( + `${safeGuildDescription?.slice(0, 80)}${ + safeGuildDescription?.length > 80 ? "..." : "" + }` + ) : ( +
+
+ {"That's a great party in there!"}
- )} -
+
{"I dare you to be the plus one."}
+
+ )} +
+
+ {/* eslint-disable-next-line @next/next/no-img-element */} + Guild.xyz
- {/* eslint-disable-next-line @next/next/no-img-element */} - Guild.xyz -
- Guild.xyz -
+ Guild.xyz
- ), +
, { width: 800, height: 450, diff --git a/src/pages/api/linkpreview/[timestamp]/index.tsx b/src/pages/api/linkpreview/[timestamp]/index.tsx index 974a0d8da1..2f6c7cca92 100644 --- a/src/pages/api/linkpreview/[timestamp]/index.tsx +++ b/src/pages/api/linkpreview/[timestamp]/index.tsx @@ -26,128 +26,126 @@ const handler = async (req, _) => { ]) return new ImageResponse( - ( +
+
+ {guilds?.slice(0, 8).map((guild) => ( + + ))} +
+ +
+
- {guilds?.slice(0, 8).map((guild) => ( - - ))} + {/* eslint-disable-next-line @next/next/no-img-element */} + Guild.xyz +

+ Guild +

- + > + Manage roles +
-
- {/* eslint-disable-next-line @next/next/no-img-element */} - Guild.xyz -

- Guild -

-
- -
- Manage roles -
-
- in your community -
-
- based on tokens & NFTs -
+ in your community +
+
+ based on tokens & NFTs
- ), +
, { width: 800, height: 450, diff --git a/src/pages/api/nft/[chain]/[address].ts b/src/pages/api/nft/[chain]/[address].ts index a1f8ae780a..401df95df0 100644 --- a/src/pages/api/nft/[chain]/[address].ts +++ b/src/pages/api/nft/[chain]/[address].ts @@ -11,8 +11,8 @@ import { type NftStandard = "ERC-721" | "ERC-1155" | "Unknown" enum ContractInterface { - "ERC721" = "0x80ac58cd", - "ERC1155" = "0xd9b67a26", + ERC721 = "0x80ac58cd", + ERC1155 = "0xd9b67a26", } export type NFTDetails = { diff --git a/src/pages/oauth-result.tsx b/src/pages/oauth-result.tsx index dc63d69b8d..0537d03588 100644 --- a/src/pages/oauth-result.tsx +++ b/src/pages/oauth-result.tsx @@ -4,8 +4,8 @@ import { Center, Heading, Text } from "@chakra-ui/react" import { PlatformName } from "@guildxyz/types" import { GetServerSideProps, NextPage } from "next" import { useRouter } from "next/router" -import rewards from "rewards" import { useEffect, useState } from "react" +import rewards from "rewards" export type OAuthResultParams = | { diff --git a/src/requirements/Farcaster/components/FarcasterCast.tsx b/src/requirements/Farcaster/components/FarcasterCast.tsx index cba74c0b28..4b0e8a42a9 100644 --- a/src/requirements/Farcaster/components/FarcasterCast.tsx +++ b/src/requirements/Farcaster/components/FarcasterCast.tsx @@ -18,8 +18,8 @@ import { WarningCircle, } from "@phosphor-icons/react" import { PropsWithChildren } from "react" -import FarcasterCastSmall from "./FarcasterCastSmall" import { FarcasterCastData } from "../types" +import FarcasterCastSmall from "./FarcasterCastSmall" const FarcasterCast = ({ cast, diff --git a/src/requirements/Form/FormRequirement.tsx b/src/requirements/Form/FormRequirement.tsx index 13fd8b7ff5..c8364f028f 100644 --- a/src/requirements/Form/FormRequirement.tsx +++ b/src/requirements/Form/FormRequirement.tsx @@ -6,8 +6,8 @@ import Requirement, { import { useRequirementContext } from "components/[guild]/Requirements/components/RequirementContext" import useGuild from "components/[guild]/hooks/useGuild" import { useGuildForm } from "components/[guild]/hooks/useGuildForms" -import { useUserFormSubmission } from "rewards/Forms/hooks/useFormSubmissions" import rewards from "rewards" +import { useUserFormSubmission } from "rewards/Forms/hooks/useFormSubmissions" const FormRequirement = (props: RequirementProps) => { const { urlName } = useGuild() diff --git a/src/requirements/Snapshot/SnapshotRequirement.tsx b/src/requirements/Snapshot/SnapshotRequirement.tsx index 3707a301a4..2e2d106037 100644 --- a/src/requirements/Snapshot/SnapshotRequirement.tsx +++ b/src/requirements/Snapshot/SnapshotRequirement.tsx @@ -152,9 +152,7 @@ const SnapshotRequirement = (props: RequirementProps): JSX.Element => { ) case "SNAPSHOT_MAJORITY_VOTES": - return `Vote with the majority at least ${( - requirement.data.minRatio * 100 - ).toFixed(0)}% of the time` + return `Vote with the majority at least ${(requirement.data.minRatio * 100).toFixed(0)}% of the time` } })()} diff --git a/src/requirements/Sound/components/SoundArtistSelect.tsx b/src/requirements/Sound/components/SoundArtistSelect.tsx index 52d3cb98c3..af5e5bcf30 100644 --- a/src/requirements/Sound/components/SoundArtistSelect.tsx +++ b/src/requirements/Sound/components/SoundArtistSelect.tsx @@ -69,8 +69,8 @@ const SoundArtistSelect = ({ !search?.length ? "Start typing..." : artistsLoading - ? "Loading..." - : "No results" + ? "Loading..." + : "No results" } /> ), diff --git a/src/requirements/Token/TokenRequirement.tsx b/src/requirements/Token/TokenRequirement.tsx index b93b448101..b85aa33b8f 100644 --- a/src/requirements/Token/TokenRequirement.tsx +++ b/src/requirements/Token/TokenRequirement.tsx @@ -9,7 +9,7 @@ import Requirement, { import RequirementChainIndicator from "components/[guild]/Requirements/components/RequirementChainIndicator" import { useRequirementContext } from "components/[guild]/Requirements/components/RequirementContext" import useTokenData from "hooks/useTokenData" -import { Chain, CHAIN_CONFIG } from "wagmiConfig/chains" +import { CHAIN_CONFIG, Chain } from "wagmiConfig/chains" type Props = RequirementProps @@ -53,8 +53,8 @@ const TokenRequirement = ({ ...rest }: Props) => { requirement.data?.maxAmount ? `${requirement.data.minAmount} - ${requirement.data.maxAmount}` : requirement.data?.minAmount > 0 - ? `at least ${requirement.data?.minAmount}` - : "any amount of" + ? `at least ${requirement.data?.minAmount}` + : "any amount of" } ${ requirement.type === "COIN" ? CHAIN_CONFIG[requirementChain].nativeCurrency.symbol diff --git a/src/requirements/Twitter/components/TwitterIntent.tsx b/src/requirements/Twitter/components/TwitterIntent.tsx index 939366466e..57ad183d74 100644 --- a/src/requirements/Twitter/components/TwitterIntent.tsx +++ b/src/requirements/Twitter/components/TwitterIntent.tsx @@ -1,5 +1,5 @@ import { Icon, Link } from "@chakra-ui/react" -import { Heart, Share, UserPlus, type IconProps } from "@phosphor-icons/react" +import { Heart, type IconProps, Share, UserPlus } from "@phosphor-icons/react" import useMembershipUpdate from "components/[guild]/JoinModal/hooks/useMembershipUpdate" import { useRequirementContext } from "components/[guild]/Requirements/components/RequirementContext" import useUser from "components/[guild]/hooks/useUser" diff --git a/src/rewards/ContractCall/useContractCallCardProps.tsx b/src/rewards/ContractCall/useContractCallCardProps.tsx index 7de7ecb59a..7f7c4270fd 100644 --- a/src/rewards/ContractCall/useContractCallCardProps.tsx +++ b/src/rewards/ContractCall/useContractCallCardProps.tsx @@ -2,10 +2,10 @@ import useGuildRewardNftBalanceByUserId from "components/[guild]/collect/hooks/u import useNftDetails from "components/[guild]/collect/hooks/useNftDetails" import useGuild from "components/[guild]/hooks/useGuild" import useGuildPermission from "components/[guild]/hooks/useGuildPermission" +import { CardPropsHook } from "rewards/types" import { GuildPlatformWithOptionalId, PlatformName } from "types" import { Chains } from "wagmiConfig/chains" import NftAvailabilityTags from "./components/NftAvailabilityTags" -import { CardPropsHook } from "rewards/types" const useContractCallCardProps: CardPropsHook = ( guildPlatform: GuildPlatformWithOptionalId diff --git a/src/rewards/Forms/useFormCardProps.tsx b/src/rewards/Forms/useFormCardProps.tsx index b17686309f..3da8cbcdef 100644 --- a/src/rewards/Forms/useFormCardProps.tsx +++ b/src/rewards/Forms/useFormCardProps.tsx @@ -7,11 +7,11 @@ import { } from "@chakra-ui/react" import { useGuildForm } from "components/[guild]/hooks/useGuildForms" import useGuildPermission from "components/[guild]/hooks/useGuildPermission" +import { CardPropsHook } from "rewards/types" import { GuildPlatformWithOptionalId, PlatformName } from "types" import pluralize from "utils/pluralize" -import { useUserFormSubmission } from "./hooks/useFormSubmissions" import { formData } from "./data" -import { CardPropsHook } from "rewards/types" +import { useUserFormSubmission } from "./hooks/useFormSubmissions" const useFormCardProps: CardPropsHook = ( guildPlatform: GuildPlatformWithOptionalId diff --git a/src/rewards/Gather/useGatherCardProps.tsx b/src/rewards/Gather/useGatherCardProps.tsx index a75def1149..443bc04a75 100644 --- a/src/rewards/Gather/useGatherCardProps.tsx +++ b/src/rewards/Gather/useGatherCardProps.tsx @@ -1,9 +1,9 @@ import { Circle, Img, useColorModeValue } from "@chakra-ui/react" import AvailabilityTags from "components/[guild]/RolePlatforms/components/PlatformCard/components/AvailabilityTags" import useGuild from "components/[guild]/hooks/useGuild" +import { CardPropsHook } from "rewards/types" import { GuildPlatform, PlatformName } from "types" import { gatherData } from "./data" -import { CardPropsHook } from "rewards/types" const useGatherCardProps: CardPropsHook = (guildPlatform: GuildPlatform) => { const bgColor = useColorModeValue("gray.700", "gray.600") diff --git a/src/rewards/Poap/PoapCardButton.tsx b/src/rewards/Poap/PoapCardButton.tsx index 266085b562..7b310889d6 100644 --- a/src/rewards/Poap/PoapCardButton.tsx +++ b/src/rewards/Poap/PoapCardButton.tsx @@ -5,8 +5,8 @@ import Button from "components/common/Button" import { useClaimedReward } from "hooks/useClaimedReward" import dynamic from "next/dynamic" import Link from "next/link" -import { claimTextButtonTooltipLabel } from "rewards/SecretText/TextCardButton" import rewards from "rewards" +import { claimTextButtonTooltipLabel } from "rewards/SecretText/TextCardButton" import { GuildPlatform } from "types" import { getRolePlatformStatus, diff --git a/src/rewards/Poap/ShowMintLinkButton.tsx b/src/rewards/Poap/ShowMintLinkButton.tsx index 0157746c59..56e4993c53 100644 --- a/src/rewards/Poap/ShowMintLinkButton.tsx +++ b/src/rewards/Poap/ShowMintLinkButton.tsx @@ -1,8 +1,8 @@ import { ButtonProps } from "@chakra-ui/react" import { MintLinkModal } from "components/[guild]/claim-poap/components/MintLinkModal" import Button from "components/common/Button" -import useClaimText from "rewards/SecretText/hooks/useClaimText" import { PropsWithChildren } from "react" +import useClaimText from "rewards/SecretText/hooks/useClaimText" import { Rest } from "types" type ShowMintLinkButtonProps = { rolePlatformId: number } & ButtonProps & Rest diff --git a/src/rewards/Points/usePointsCardProps.tsx b/src/rewards/Points/usePointsCardProps.tsx index 19f2fbf278..e8f02685cd 100644 --- a/src/rewards/Points/usePointsCardProps.tsx +++ b/src/rewards/Points/usePointsCardProps.tsx @@ -1,8 +1,8 @@ import useDynamicRewardUserAmount from "rewards/Token/hooks/useDynamicRewardUserAmount" +import { CardPropsHook } from "rewards/types" import Star from "static/icons/star.svg" import { GuildPlatformWithOptionalId } from "types" import { useRolePlatform } from "../../components/[guild]/RolePlatforms/components/RolePlatformProvider" -import { CardPropsHook } from "rewards/types" const usePointsCardProps: CardPropsHook = ( guildPlatform: GuildPlatformWithOptionalId diff --git a/src/rewards/PolygonID/components/MintableRole.tsx b/src/rewards/PolygonID/components/MintableRole.tsx index 1471038f8f..05ca1c16a2 100644 --- a/src/rewards/PolygonID/components/MintableRole.tsx +++ b/src/rewards/PolygonID/components/MintableRole.tsx @@ -1,4 +1,3 @@ -import { env } from "env" import { Card, HStack, @@ -15,6 +14,7 @@ import useUser from "components/[guild]/hooks/useUser" import Button from "components/common/Button" import GuildLogo from "components/common/GuildLogo" import { useRoleMembership } from "components/explorer/hooks/useMembership" +import { env } from "env" import useCustomPosthogEvents from "hooks/useCustomPosthogEvents" import useShowErrorToast from "hooks/useShowErrorToast" import { SignedValidation, useSubmitWithSign } from "hooks/useSubmit" diff --git a/src/rewards/PolygonID/hooks/useClaimedRoles.ts b/src/rewards/PolygonID/hooks/useClaimedRoles.ts index 212ddd04d6..4d88deb041 100644 --- a/src/rewards/PolygonID/hooks/useClaimedRoles.ts +++ b/src/rewards/PolygonID/hooks/useClaimedRoles.ts @@ -1,6 +1,6 @@ -import { env } from "env" import useGuild from "components/[guild]/hooks/useGuild" import useUser from "components/[guild]/hooks/useUser" +import { env } from "env" import useSWRImmutable from "swr/immutable" const useClaimedRoles = () => { diff --git a/src/rewards/PolygonID/hooks/useConnectedDID.ts b/src/rewards/PolygonID/hooks/useConnectedDID.ts index b2439fcd66..08e3a44a9e 100644 --- a/src/rewards/PolygonID/hooks/useConnectedDID.ts +++ b/src/rewards/PolygonID/hooks/useConnectedDID.ts @@ -1,5 +1,5 @@ -import { env } from "env" import useUser from "components/[guild]/hooks/useUser" +import { env } from "env" import useSWRImmutable from "swr/immutable" const useConnectedDID = () => { diff --git a/src/rewards/SecretText/SecretTextDataForm/components/PublicRewardDataForm.tsx b/src/rewards/SecretText/SecretTextDataForm/components/PublicRewardDataForm.tsx index e957d062dd..94caf89d6b 100644 --- a/src/rewards/SecretText/SecretTextDataForm/components/PublicRewardDataForm.tsx +++ b/src/rewards/SecretText/SecretTextDataForm/components/PublicRewardDataForm.tsx @@ -1,9 +1,9 @@ import { Box, FormControl, FormLabel, HStack, Input } from "@chakra-ui/react" import FormErrorMessage from "components/common/FormErrorMessage" -import { UniqueTextRewardForm } from "rewards/UniqueText/UniqueTextDataForm" import { useFormContext } from "react-hook-form" -import RewardImagePicker from "./RewardImagePicker" +import { UniqueTextRewardForm } from "rewards/UniqueText/UniqueTextDataForm" import { SecretTextRewardForm } from "../types" +import RewardImagePicker from "./RewardImagePicker" const PublicRewardDataForm = ({ defaultIcon }) => { const { diff --git a/src/rewards/SecretText/hooks/useClaimText.tsx b/src/rewards/SecretText/hooks/useClaimText.tsx index c7a6765779..0f119cb5e5 100644 --- a/src/rewards/SecretText/hooks/useClaimText.tsx +++ b/src/rewards/SecretText/hooks/useClaimText.tsx @@ -20,11 +20,11 @@ import useShowErrorToast from "hooks/useShowErrorToast" import { SignedValidation, useSubmitWithSign } from "hooks/useSubmit" import { PropsWithChildren } from "react" import ReactMarkdown from "react-markdown" +import remarkGfm from "remark-gfm" import { useSWRConfig } from "swr" import useSWRImmutable from "swr/immutable" import fetcher from "utils/fetcher" import { useClaimedReward } from "../../../hooks/useClaimedReward" -import remarkGfm from "remark-gfm" type ClaimResponse = { uniqueValue: string diff --git a/src/rewards/Token/FundPoolModal.tsx b/src/rewards/Token/FundPoolModal.tsx index 71761caf3d..b10f94adc6 100644 --- a/src/rewards/Token/FundPoolModal.tsx +++ b/src/rewards/Token/FundPoolModal.tsx @@ -21,10 +21,10 @@ import useAllowance from "components/[guild]/Requirements/components/GuildChecko import AllowanceButton from "components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddTokenPanel/components/AllowanceButton" import useIsBalanceSufficient from "components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddTokenPanel/hooks/useIsBalanceSufficient" import OptionImage from "components/common/StyledSelect/components/CustomSelectOption/components/OptionImage" -import { useTokenRewardContext } from "rewards/Token/TokenRewardContext" import { RefObject } from "react" import { FormProvider, useForm, useWatch } from "react-hook-form" import ControlledNumberInput from "requirements/WalletActivity/components/ControlledNumberInput" +import { useTokenRewardContext } from "rewards/Token/TokenRewardContext" import Token from "static/icons/token.svg" import { ERC20_CONTRACTS, diff --git a/src/rewards/Token/TokenRewardCard.tsx b/src/rewards/Token/TokenRewardCard.tsx index 4deeeb3029..a9caa247b7 100644 --- a/src/rewards/Token/TokenRewardCard.tsx +++ b/src/rewards/Token/TokenRewardCard.tsx @@ -5,8 +5,8 @@ import useGuildPermission from "components/[guild]/hooks/useGuildPermission" import RewardCard from "components/common/RewardCard" import useMembership from "components/explorer/hooks/useMembership" import dynamic from "next/dynamic" -import rewards from "rewards" import { useMemo } from "react" +import rewards from "rewards" import { GuildPlatform } from "types" import ClaimTokenButton from "./ClaimTokenButton" import { TokenRewardProvider, useTokenRewardContext } from "./TokenRewardContext" diff --git a/src/rewards/Token/WithdrawPoolModal.tsx b/src/rewards/Token/WithdrawPoolModal.tsx index ec3a29402a..5a0ca2516a 100644 --- a/src/rewards/Token/WithdrawPoolModal.tsx +++ b/src/rewards/Token/WithdrawPoolModal.tsx @@ -17,8 +17,8 @@ import { import SwitchNetworkButton from "components/[guild]/Requirements/components/GuildCheckout/components/buttons/SwitchNetworkButton" import AllowanceButton from "components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddTokenPanel/components/AllowanceButton" import useToast from "hooks/useToast" -import { useTokenRewardContext } from "rewards/Token/TokenRewardContext" import { RefObject } from "react" +import { useTokenRewardContext } from "rewards/Token/TokenRewardContext" import { ERC20_CONTRACTS } from "utils/guildCheckout/constants" import shortenHex from "utils/shortenHex" import { formatUnits } from "viem" diff --git a/src/rewards/UniqueText/components.ts b/src/rewards/UniqueText/components.ts index 1844344ba7..54a7c32c5c 100644 --- a/src/rewards/UniqueText/components.ts +++ b/src/rewards/UniqueText/components.ts @@ -1,6 +1,6 @@ import dynamic from "next/dynamic" -import LoadingRewardPreview from "rewards/components/LoadingRewardPreview" import TextCardButton from "rewards/SecretText/TextCardButton" +import LoadingRewardPreview from "rewards/components/LoadingRewardPreview" import { RewardComponentsData } from "rewards/types" import UniqueTextCardMenu from "./UniqueTextCardMenu" import useUniqueTextCardProps from "./useUniqueTextCardProps" diff --git a/src/rewards/components/GatherPreview.tsx b/src/rewards/components/GatherPreview.tsx index e2e88d571a..ebca194751 100644 --- a/src/rewards/components/GatherPreview.tsx +++ b/src/rewards/components/GatherPreview.tsx @@ -1,5 +1,5 @@ -import rewards from "rewards" import { useWatch } from "react-hook-form" +import rewards from "rewards" import RewardPreview from "./RewardPreview" const GatherPreview = () => { diff --git a/src/rewards/components/PoapPreview.tsx b/src/rewards/components/PoapPreview.tsx index 95c816ca87..91255e495d 100644 --- a/src/rewards/components/PoapPreview.tsx +++ b/src/rewards/components/PoapPreview.tsx @@ -1,7 +1,7 @@ -import rewards from "rewards" +import { PropsWithChildren } from "react" import { useWatch } from "react-hook-form" +import rewards from "rewards" import RewardPreview from "./RewardPreview" -import { PropsWithChildren } from "react" const PoapPreview = ({ children }: PropsWithChildren): JSX.Element => { const name = useWatch({ diff --git a/src/rewards/components/SecretTextPreview.tsx b/src/rewards/components/SecretTextPreview.tsx index e5662816d5..3b0fd524e7 100644 --- a/src/rewards/components/SecretTextPreview.tsx +++ b/src/rewards/components/SecretTextPreview.tsx @@ -1,8 +1,8 @@ import { Circle, Icon, useColorModeValue } from "@chakra-ui/react" +import { PropsWithChildren } from "react" import { useWatch } from "react-hook-form" import rewards from "rewards" import RewardPreview from "./RewardPreview" -import { PropsWithChildren } from "react" const SecretTextPreview = ({ children }: PropsWithChildren): JSX.Element => { const platformGuildData = useWatch({ diff --git a/src/rewards/components/TextReward.tsx b/src/rewards/components/TextReward.tsx index 4515a0e942..02eac5f2c1 100644 --- a/src/rewards/components/TextReward.tsx +++ b/src/rewards/components/TextReward.tsx @@ -2,6 +2,8 @@ import { Icon, Spinner, Text, Tooltip } from "@chakra-ui/react" import { ArrowSquareIn, LockSimple } from "@phosphor-icons/react" import { useOpenJoinModal } from "components/[guild]/JoinModal/JoinModalProvider" import { RewardIcon } from "components/[guild]/RoleCard/components/Reward" +import { RewardDisplay } from "components/[guild]/RoleCard/components/RewardDisplay" +import { RewardProps } from "components/[guild]/RoleCard/components/types" import AvailabilityTags from "components/[guild]/RolePlatforms/components/PlatformCard/components/AvailabilityTags" import useGuild from "components/[guild]/hooks/useGuild" import Button from "components/common/Button" @@ -18,8 +20,6 @@ import { getRolePlatformTimeframeInfo, } from "utils/rolePlatformHelpers" import { useClaimedReward } from "../../hooks/useClaimedReward" -import { RewardProps } from "components/[guild]/RoleCard/components/types" -import { RewardDisplay } from "components/[guild]/RoleCard/components/RewardDisplay" const SecretTextReward = ({ platform, withMotionImg }: RewardProps) => { const { platformId, platformGuildData } = platform.guildPlatform diff --git a/src/rewards/components/TokenPreview.tsx b/src/rewards/components/TokenPreview.tsx index da6aed685c..a671ba0236 100644 --- a/src/rewards/components/TokenPreview.tsx +++ b/src/rewards/components/TokenPreview.tsx @@ -1,3 +1,4 @@ +import { PropsWithChildren } from "react" import { useWatch } from "react-hook-form" import { TokenRewardProvider, @@ -5,7 +6,6 @@ import { } from "rewards/Token/TokenRewardContext" import { GuildPlatform } from "types" import RewardPreview from "./RewardPreview" -import { PropsWithChildren } from "react" const TokenPreview = ({ children }: PropsWithChildren): JSX.Element => { const { token, imageUrl } = useTokenRewardContext() diff --git a/src/rewards/components/TokenReward.tsx b/src/rewards/components/TokenReward.tsx index c2bc97aff3..4167d1bd77 100644 --- a/src/rewards/components/TokenReward.tsx +++ b/src/rewards/components/TokenReward.tsx @@ -3,6 +3,8 @@ import { ArrowSquareIn, LockSimple } from "@phosphor-icons/react" import { useOpenJoinModal } from "components/[guild]/JoinModal/JoinModalProvider" import DynamicTag from "components/[guild]/RoleCard/components/DynamicReward/DynamicTag" import { RewardIcon } from "components/[guild]/RoleCard/components/Reward" +import { RewardDisplay } from "components/[guild]/RoleCard/components/RewardDisplay" +import { RewardProps } from "components/[guild]/RoleCard/components/types" import AvailabilityTags from "components/[guild]/RolePlatforms/components/PlatformCard/components/AvailabilityTags" import useGuildPermission from "components/[guild]/hooks/useGuildPermission" import Button from "components/common/Button" @@ -24,8 +26,6 @@ import { getRolePlatformStatus, getRolePlatformTimeframeInfo, } from "utils/rolePlatformHelpers" -import { RewardProps } from "components/[guild]/RoleCard/components/types" -import { RewardDisplay } from "components/[guild]/RoleCard/components/RewardDisplay" const TokenReward = ({ rolePlatform }: { rolePlatform: RolePlatform }) => { const { token } = useTokenRewardContext() diff --git a/src/rewards/components/UniqueTextPreview.tsx b/src/rewards/components/UniqueTextPreview.tsx index 1e0337264c..c6abbe2add 100644 --- a/src/rewards/components/UniqueTextPreview.tsx +++ b/src/rewards/components/UniqueTextPreview.tsx @@ -1,8 +1,8 @@ import { Circle, Icon, useColorModeValue } from "@chakra-ui/react" +import { PropsWithChildren } from "react" import { useWatch } from "react-hook-form" import rewards from "rewards" import RewardPreview from "./RewardPreview" -import { PropsWithChildren } from "react" const UniqueTextPreview = ({ children }: PropsWithChildren): JSX.Element => { const platformGuildData = useWatch({ diff --git a/src/theme/components/input.ts b/src/theme/components/input.ts index 2266ad7be8..25e3cc8b36 100644 --- a/src/theme/components/input.ts +++ b/src/theme/components/input.ts @@ -1,10 +1,10 @@ import { inputAnatomy as parts } from "@chakra-ui/anatomy" import { - createMultiStyleConfigHelpers, - defineStyle, PartsStyleFunction, PartsStyleObject, SystemStyleObject, + createMultiStyleConfigHelpers, + defineStyle, } from "@chakra-ui/react" import { mode } from "@chakra-ui/theme-tools" diff --git a/src/theme/index.ts b/src/theme/index.ts index 8dabcd4932..ec35f6cf19 100644 --- a/src/theme/index.ts +++ b/src/theme/index.ts @@ -1,4 +1,4 @@ -import { extendTheme, ThemeConfig } from "@chakra-ui/react" +import { ThemeConfig, extendTheme } from "@chakra-ui/react" import colors from "./colors" import components from "./components" import styles from "./styles" diff --git a/src/types.ts b/src/types.ts index ecba1219c5..d960ffe6b6 100644 --- a/src/types.ts +++ b/src/types.ts @@ -1,10 +1,10 @@ import { FarcasterProfile, Logic, - schemas, Schemas, UserProfile, Visibility, + schemas, } from "@guildxyz/types" import { FeatureFlag } from "components/[guild]/EditGuild/components/FeatureFlags" import { ContractCallFunction } from "components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddContractCallPanel/components/CreateNftForm/hooks/useCreateNft" @@ -669,24 +669,24 @@ type SelectOption = { } & Rest export enum PlatformType { - "UNSET" = -1, - "DISCORD" = 1, - "TELEGRAM" = 2, - "GITHUB" = 3, - "GOOGLE" = 4, - "TWITTER" = 5, + UNSET = -1, + DISCORD = 1, + TELEGRAM = 2, + GITHUB = 3, + GOOGLE = 4, + TWITTER = 5, // "STEAM" = 6, - "CONTRACT_CALL" = 7, - "TWITTER_V1" = 8, - "UNIQUE_TEXT" = 9, - "TEXT" = 10, - "GUILD_PIN" = 11, - "POLYGON_ID" = 12, - "POINTS" = 13, - "POAP" = 14, - "FORM" = 15, - "GATHER_TOWN" = 16, - "ERC20" = 17, + CONTRACT_CALL = 7, + TWITTER_V1 = 8, + UNIQUE_TEXT = 9, + TEXT = 10, + GUILD_PIN = 11, + POLYGON_ID = 12, + POINTS = 13, + POAP = 14, + FORM = 15, + GATHER_TOWN = 16, + ERC20 = 17, } enum ValidationMethod { diff --git a/src/utils/createAndAwaitJob.ts b/src/utils/createAndAwaitJob.ts index a56ad9ed26..71e25d308d 100644 --- a/src/utils/createAndAwaitJob.ts +++ b/src/utils/createAndAwaitJob.ts @@ -1,5 +1,5 @@ export default async function createAndAwaitJob< - Job extends { done?: boolean; failed?: any; failedErrorMsg?: any } + Job extends { done?: boolean; failed?: any; failedErrorMsg?: any }, >( fetcherWithSign: ([string, any]) => Promise, url: string, diff --git a/src/utils/findEventInTxResponse.ts b/src/utils/findEventInTxResponse.ts index 078c2540e3..d5201f93ec 100644 --- a/src/utils/findEventInTxResponse.ts +++ b/src/utils/findEventInTxResponse.ts @@ -2,7 +2,7 @@ import { Abi, ContractEventName, DecodeEventLogReturnType } from "viem" export const findEvent = < TAbi extends Abi, - TEventName extends ContractEventName + TEventName extends ContractEventName, >( events: DecodeEventLogReturnType>[], eventName: TEventName diff --git a/src/utils/guildCheckout/utils.ts b/src/utils/guildCheckout/utils.ts index 9ad13b853f..03796718ba 100644 --- a/src/utils/guildCheckout/utils.ts +++ b/src/utils/guildCheckout/utils.ts @@ -16,7 +16,7 @@ export type GeneratedGetAssetsParams = amount: bigint }, `0x${string}`, - `0x${string}`[] + `0x${string}`[], ] value?: bigint } @@ -27,7 +27,7 @@ export type GeneratedGetAssetsParams = amount: bigint }, `0x${string}`, - `0x${string}`[] + `0x${string}`[], ] value?: bigint } diff --git a/src/v2/components/Web3ConnectionManager/WalletSelectorModal/components/GoogleLoginButton/components/ExportWaaSModal.tsx b/src/v2/components/Web3ConnectionManager/WalletSelectorModal/components/GoogleLoginButton/components/ExportWaaSModal.tsx index a0399a2654..1f12a3f872 100644 --- a/src/v2/components/Web3ConnectionManager/WalletSelectorModal/components/GoogleLoginButton/components/ExportWaaSModal.tsx +++ b/src/v2/components/Web3ConnectionManager/WalletSelectorModal/components/GoogleLoginButton/components/ExportWaaSModal.tsx @@ -1,3 +1,5 @@ +// eslint-disable-next-line import/no-extraneous-dependencies +import { usePostHogContext } from "@/components/Providers/PostHogProvider" import { Link } from "@chakra-ui/next-js" import { Center, @@ -16,9 +18,8 @@ import { useClipboard, useDisclosure, } from "@chakra-ui/react" +// @ts-ignore: fetched from prive sources, prevents successful build import type { RawPrivateKey, Waas } from "@coinbase/waas-sdk-web" -// eslint-disable-next-line import/no-extraneous-dependencies -import { usePostHogContext } from "@/components/Providers/PostHogProvider" import { Check, Copy, Wallet } from "@phosphor-icons/react" import Button from "components/common/Button" import { Modal } from "components/common/Modal" @@ -35,10 +36,12 @@ import { getDriveFileAppProperties, listWalletsOnDrive } from "../utils/googleDr const WAAS_DEPRECATION_ERROR_MESSAGE = "Looks like you don't have an existing Google-based Guild account. We recommend signing in with the Smart Wallet option" +// @ts-ignore: fetched from prive sources, prevents successful build let cwaasModule: typeof import("@coinbase/waas-sdk-web") const cwaasImport = async () => { if (cwaasModule) return cwaasModule // eslint-disable-next-line import/no-extraneous-dependencies + // @ts-ignore: fetched from prive sources, prevents successful build const mod = await import("@coinbase/waas-sdk-web") cwaasModule = mod return mod diff --git a/src/v2/components/ui/Anchor.tsx b/src/v2/components/ui/Anchor.tsx index 8a20c0f621..d2c3c4ed6b 100644 --- a/src/v2/components/ui/Anchor.tsx +++ b/src/v2/components/ui/Anchor.tsx @@ -1,7 +1,7 @@ import { cn } from "@/lib/utils" import { ArrowSquareOut } from "@phosphor-icons/react/dist/ssr/ArrowSquareOut" import { Slot } from "@radix-ui/react-slot" -import { cva, type VariantProps } from "class-variance-authority" +import { type VariantProps, cva } from "class-variance-authority" import Link from "next/link" import * as React from "react" diff --git a/src/v2/components/ui/Button.tsx b/src/v2/components/ui/Button.tsx index 1f43e06413..7f98259c5e 100644 --- a/src/v2/components/ui/Button.tsx +++ b/src/v2/components/ui/Button.tsx @@ -1,5 +1,5 @@ import { Slot } from "@radix-ui/react-slot" -import { cva, type VariantProps } from "class-variance-authority" +import { type VariantProps, cva } from "class-variance-authority" import * as React from "react" import { cn } from "@/lib/utils" diff --git a/src/v2/components/ui/Dialog.tsx b/src/v2/components/ui/Dialog.tsx index 776e88da66..7525389f67 100644 --- a/src/v2/components/ui/Dialog.tsx +++ b/src/v2/components/ui/Dialog.tsx @@ -6,7 +6,7 @@ import { FocusScope, FocusScopeProps } from "@radix-ui/react-focus-scope" import * as React from "react" import { cn } from "@/lib/utils" -import { cva, VariantProps } from "class-variance-authority" +import { VariantProps, cva } from "class-variance-authority" const Dialog = DialogPrimitive.Root diff --git a/src/v2/components/ui/DropdownMenu.tsx b/src/v2/components/ui/DropdownMenu.tsx index c152a345ff..13eb09b678 100644 --- a/src/v2/components/ui/DropdownMenu.tsx +++ b/src/v2/components/ui/DropdownMenu.tsx @@ -6,8 +6,8 @@ import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu" import { ComponentPropsWithoutRef, ElementRef, - forwardRef, HTMLAttributes, + forwardRef, } from "react" const DropdownMenu = DropdownMenuPrimitive.Root diff --git a/src/v2/components/ui/Form.tsx b/src/v2/components/ui/Form.tsx index 18adf424f1..b92a856fd5 100644 --- a/src/v2/components/ui/Form.tsx +++ b/src/v2/components/ui/Form.tsx @@ -4,10 +4,10 @@ import * as LabelPrimitive from "@radix-ui/react-label" import { Slot } from "@radix-ui/react-slot" import { ComponentPropsWithoutRef, - createContext, ElementRef, - forwardRef, HTMLAttributes, + createContext, + forwardRef, useContext, useId, } from "react" diff --git a/src/v2/components/ui/Label.tsx b/src/v2/components/ui/Label.tsx index 629e907d72..c93cb53819 100644 --- a/src/v2/components/ui/Label.tsx +++ b/src/v2/components/ui/Label.tsx @@ -1,7 +1,7 @@ "use client" import * as LabelPrimitive from "@radix-ui/react-label" -import { cva, type VariantProps } from "class-variance-authority" +import { type VariantProps, cva } from "class-variance-authority" import { cn } from "@/lib/utils" import { ComponentPropsWithoutRef, ElementRef, forwardRef } from "react" diff --git a/src/v2/components/ui/Toast.stories.tsx b/src/v2/components/ui/Toast.stories.tsx index 42a96abba4..49de9e9d79 100644 --- a/src/v2/components/ui/Toast.stories.tsx +++ b/src/v2/components/ui/Toast.stories.tsx @@ -1,9 +1,9 @@ import type { Meta, StoryObj } from "@storybook/react" import { Button } from "./Button" -import { useToast } from "./hooks/useToast" import { ToastAction, ToastActionElement, ToastProps } from "./Toast" import { Toaster } from "./Toaster" +import { useToast } from "./hooks/useToast" const ToastExample = (props: { variant: ToastProps["variant"] diff --git a/src/v2/components/ui/Toast.tsx b/src/v2/components/ui/Toast.tsx index d83696053c..8653ff397a 100644 --- a/src/v2/components/ui/Toast.tsx +++ b/src/v2/components/ui/Toast.tsx @@ -1,7 +1,7 @@ "use client" import * as ToastPrimitives from "@radix-ui/react-toast" -import { cva, type VariantProps } from "class-variance-authority" +import { type VariantProps, cva } from "class-variance-authority" import * as React from "react" import { cn } from "@/lib/utils" diff --git a/src/v2/components/ui/Toggle.tsx b/src/v2/components/ui/Toggle.tsx index 109d3ecd69..1f8062110b 100644 --- a/src/v2/components/ui/Toggle.tsx +++ b/src/v2/components/ui/Toggle.tsx @@ -1,7 +1,7 @@ "use client" import * as TogglePrimitive from "@radix-ui/react-toggle" -import { cva, type VariantProps } from "class-variance-authority" +import { type VariantProps, cva } from "class-variance-authority" import * as React from "react" import { cn } from "@/lib/utils" diff --git a/src/v2/hooks/useUsersGuildPins.ts b/src/v2/hooks/useUsersGuildPins.ts index 7863b45ca9..0be1ef9420 100644 --- a/src/v2/hooks/useUsersGuildPins.ts +++ b/src/v2/hooks/useUsersGuildPins.ts @@ -10,10 +10,10 @@ import { } from "utils/guildCheckout/constants" import ipfsToGuildGateway from "utils/ipfsToGuildGateway" import { - PublicClient, - createPublicClient, http, + PublicClient, type Chain as ViemChain, + createPublicClient, } from "viem" import { wagmiConfig } from "wagmiConfig" import { Chains } from "wagmiConfig/chains" diff --git a/src/wagmiConfig/chains.ts b/src/wagmiConfig/chains.ts index 9beb7e74f6..e02bd85252 100644 --- a/src/wagmiConfig/chains.ts +++ b/src/wagmiConfig/chains.ts @@ -16,6 +16,7 @@ import { } from "static/customChains" // import type { Chain as ViemChain } from "viem" import { + type Chain as ViemChain, arbitrum, arbitrumNova, astarZkEVM, @@ -63,7 +64,6 @@ import { zetachainAthensTestnet, zkSync, zora, - type Chain as ViemChain, } from "wagmi/chains" type GuildChain = { id: number diff --git a/src/wagmiConfig/mockConnector.ts b/src/wagmiConfig/mockConnector.ts index 86b1eef394..171d5b0f97 100644 --- a/src/wagmiConfig/mockConnector.ts +++ b/src/wagmiConfig/mockConnector.ts @@ -8,22 +8,22 @@ */ import { + http, Account, + type Address, + type Client, + type EIP1193RequestFn, + type Hex, RpcRequestError, SwitchChainError, + type Transport, UserRejectedRequestError, + type WalletRpcSchema, createWalletClient, custom, fromHex, getAddress, - http, numberToHex, - type Address, - type Client, - type EIP1193RequestFn, - type Hex, - type Transport, - type WalletRpcSchema, } from "viem" import { rpc } from "viem/utils" import { ChainNotConfiguredError, createConnector, normalizeChainId } from "wagmi"