diff --git a/package-lock.json b/package-lock.json index 028a38537..c44f52e40 100644 --- a/package-lock.json +++ b/package-lock.json @@ -51,10 +51,10 @@ "license": "MIT" }, "node_modules/@ampproject/remapping": { - "version": "2.2.0", + "version": "2.2.1", "license": "Apache-2.0", "dependencies": { - "@jridgewell/gen-mapping": "^0.1.0", + "@jridgewell/gen-mapping": "^0.3.0", "@jridgewell/trace-mapping": "^0.3.9" }, "engines": { @@ -62,12 +62,12 @@ } }, "node_modules/@babel/cli": { - "version": "7.22.10", + "version": "7.23.0", "license": "MIT", "dependencies": { "@jridgewell/trace-mapping": "^0.3.17", "commander": "^4.0.1", - "convert-source-map": "^1.1.0", + "convert-source-map": "^2.0.0", "fs-readdir-recursive": "^1.1.0", "glob": "^7.2.0", "make-dir": "^2.1.0", @@ -106,13 +106,6 @@ "node": ">=6" } }, - "node_modules/@babel/cli/node_modules/pify": { - "version": "4.0.1", - "license": "MIT", - "engines": { - "node": ">=6" - } - }, "node_modules/@babel/cli/node_modules/semver": { "version": "5.7.2", "license": "ISC", @@ -139,27 +132,27 @@ } }, "node_modules/@babel/compat-data": { - "version": "7.22.9", + "version": "7.23.2", "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/core": { - "version": "7.22.11", + "version": "7.23.2", "license": "MIT", "dependencies": { "@ampproject/remapping": "^2.2.0", - "@babel/code-frame": "^7.22.10", - "@babel/generator": "^7.22.10", - "@babel/helper-compilation-targets": "^7.22.10", - "@babel/helper-module-transforms": "^7.22.9", - "@babel/helpers": "^7.22.11", - "@babel/parser": "^7.22.11", - "@babel/template": "^7.22.5", - "@babel/traverse": "^7.22.11", - "@babel/types": "^7.22.11", - "convert-source-map": "^1.7.0", + "@babel/code-frame": "^7.22.13", + "@babel/generator": "^7.23.0", + "@babel/helper-compilation-targets": "^7.22.15", + "@babel/helper-module-transforms": "^7.23.0", + "@babel/helpers": "^7.23.2", + "@babel/parser": "^7.23.0", + "@babel/template": "^7.22.15", + "@babel/traverse": "^7.23.2", + "@babel/types": "^7.23.0", + "convert-source-map": "^2.0.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", "json5": "^2.2.3", @@ -174,7 +167,7 @@ } }, "node_modules/@babel/eslint-parser": { - "version": "7.22.11", + "version": "7.22.15", "dev": true, "license": "MIT", "dependencies": { @@ -192,8 +185,7 @@ }, "node_modules/@babel/generator": { "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.0.tgz", - "integrity": "sha512-lN85QRR+5IbYrMWM6Y4pE/noaQtg4pNiqeNGX60eqOfo6gtEj6uw/JagelB8vVztSd7R6M5n1+PQkDbHbBRU4g==", + "license": "MIT", "dependencies": { "@babel/types": "^7.23.0", "@jridgewell/gen-mapping": "^0.3.2", @@ -204,18 +196,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping": { - "version": "0.3.3", - "license": "MIT", - "dependencies": { - "@jridgewell/set-array": "^1.0.1", - "@jridgewell/sourcemap-codec": "^1.4.10", - "@jridgewell/trace-mapping": "^0.3.9" - }, - "engines": { - "node": ">=6.0.0" - } - }, "node_modules/@babel/helper-annotate-as-pure": { "version": "7.22.5", "license": "MIT", @@ -227,21 +207,21 @@ } }, "node_modules/@babel/helper-builder-binary-assignment-operator-visitor": { - "version": "7.22.10", + "version": "7.22.15", "license": "MIT", "dependencies": { - "@babel/types": "^7.22.10" + "@babel/types": "^7.22.15" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-compilation-targets": { - "version": "7.22.10", + "version": "7.22.15", "license": "MIT", "dependencies": { "@babel/compat-data": "^7.22.9", - "@babel/helper-validator-option": "^7.22.5", + "@babel/helper-validator-option": "^7.22.15", "browserslist": "^4.21.9", "lru-cache": "^5.1.1", "semver": "^6.3.1" @@ -250,25 +230,14 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/helper-compilation-targets/node_modules/lru-cache": { - "version": "5.1.1", - "license": "ISC", - "dependencies": { - "yallist": "^3.0.2" - } - }, - "node_modules/@babel/helper-compilation-targets/node_modules/yallist": { - "version": "3.1.1", - "license": "ISC" - }, "node_modules/@babel/helper-create-class-features-plugin": { - "version": "7.22.11", + "version": "7.22.15", "license": "MIT", "dependencies": { "@babel/helper-annotate-as-pure": "^7.22.5", "@babel/helper-environment-visitor": "^7.22.5", "@babel/helper-function-name": "^7.22.5", - "@babel/helper-member-expression-to-functions": "^7.22.5", + "@babel/helper-member-expression-to-functions": "^7.22.15", "@babel/helper-optimise-call-expression": "^7.22.5", "@babel/helper-replace-supers": "^7.22.9", "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5", @@ -283,7 +252,7 @@ } }, "node_modules/@babel/helper-create-regexp-features-plugin": { - "version": "7.22.9", + "version": "7.22.15", "license": "MIT", "dependencies": { "@babel/helper-annotate-as-pure": "^7.22.5", @@ -298,7 +267,7 @@ } }, "node_modules/@babel/helper-define-polyfill-provider": { - "version": "0.4.2", + "version": "0.4.3", "license": "MIT", "dependencies": { "@babel/helper-compilation-targets": "^7.22.6", @@ -313,16 +282,14 @@ }, "node_modules/@babel/helper-environment-visitor": { "version": "7.22.20", - "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz", - "integrity": "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==", + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-function-name": { "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz", - "integrity": "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==", + "license": "MIT", "dependencies": { "@babel/template": "^7.22.15", "@babel/types": "^7.23.0" @@ -342,34 +309,34 @@ } }, "node_modules/@babel/helper-member-expression-to-functions": { - "version": "7.22.5", + "version": "7.23.0", "license": "MIT", "dependencies": { - "@babel/types": "^7.22.5" + "@babel/types": "^7.23.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-module-imports": { - "version": "7.22.5", + "version": "7.22.15", "license": "MIT", "dependencies": { - "@babel/types": "^7.22.5" + "@babel/types": "^7.22.15" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-module-transforms": { - "version": "7.22.9", + "version": "7.23.0", "license": "MIT", "dependencies": { - "@babel/helper-environment-visitor": "^7.22.5", - "@babel/helper-module-imports": "^7.22.5", + "@babel/helper-environment-visitor": "^7.22.20", + "@babel/helper-module-imports": "^7.22.15", "@babel/helper-simple-access": "^7.22.5", "@babel/helper-split-export-declaration": "^7.22.6", - "@babel/helper-validator-identifier": "^7.22.5" + "@babel/helper-validator-identifier": "^7.22.20" }, "engines": { "node": ">=6.9.0" @@ -396,12 +363,12 @@ } }, "node_modules/@babel/helper-remap-async-to-generator": { - "version": "7.22.9", + "version": "7.22.20", "license": "MIT", "dependencies": { "@babel/helper-annotate-as-pure": "^7.22.5", - "@babel/helper-environment-visitor": "^7.22.5", - "@babel/helper-wrap-function": "^7.22.9" + "@babel/helper-environment-visitor": "^7.22.20", + "@babel/helper-wrap-function": "^7.22.20" }, "engines": { "node": ">=6.9.0" @@ -411,11 +378,11 @@ } }, "node_modules/@babel/helper-replace-supers": { - "version": "7.22.9", + "version": "7.22.20", "license": "MIT", "dependencies": { - "@babel/helper-environment-visitor": "^7.22.5", - "@babel/helper-member-expression-to-functions": "^7.22.5", + "@babel/helper-environment-visitor": "^7.22.20", + "@babel/helper-member-expression-to-functions": "^7.22.15", "@babel/helper-optimise-call-expression": "^7.22.5" }, "engines": { @@ -464,48 +431,47 @@ }, "node_modules/@babel/helper-validator-identifier": { "version": "7.22.20", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz", - "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==", + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-option": { - "version": "7.22.5", + "version": "7.22.15", "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-wrap-function": { - "version": "7.22.10", + "version": "7.22.20", "license": "MIT", "dependencies": { "@babel/helper-function-name": "^7.22.5", - "@babel/template": "^7.22.5", - "@babel/types": "^7.22.10" + "@babel/template": "^7.22.15", + "@babel/types": "^7.22.19" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helpers": { - "version": "7.22.11", + "version": "7.23.2", "license": "MIT", "dependencies": { - "@babel/template": "^7.22.5", - "@babel/traverse": "^7.22.11", - "@babel/types": "^7.22.11" + "@babel/template": "^7.22.15", + "@babel/traverse": "^7.23.2", + "@babel/types": "^7.23.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/highlight": { - "version": "7.22.13", + "version": "7.22.20", "license": "MIT", "dependencies": { - "@babel/helper-validator-identifier": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.20", "chalk": "^2.4.2", "js-tokens": "^4.0.0" }, @@ -515,8 +481,7 @@ }, "node_modules/@babel/parser": { "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.0.tgz", - "integrity": "sha512-vvPKKdMemU85V9WE/l5wZEmImpCtLqbnTvqDS2U1fJ96KrxoW7KrXhNsNCblQlg8Ck4b85yxdTyelsMUgFUXiw==", + "license": "MIT", "bin": { "parser": "bin/babel-parser.js" }, @@ -525,7 +490,7 @@ } }, "node_modules/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { - "version": "7.22.5", + "version": "7.22.15", "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.22.5" @@ -538,12 +503,12 @@ } }, "node_modules/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { - "version": "7.22.5", + "version": "7.22.15", "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.22.5", "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5", - "@babel/plugin-transform-optional-chaining": "^7.22.5" + "@babel/plugin-transform-optional-chaining": "^7.22.15" }, "engines": { "node": ">=6.9.0" @@ -597,7 +562,7 @@ } }, "node_modules/@babel/plugin-proposal-export-default-from": { - "version": "7.22.5", + "version": "7.22.17", "license": "MIT", "peer": true, "dependencies": { @@ -976,12 +941,12 @@ } }, "node_modules/@babel/plugin-transform-async-generator-functions": { - "version": "7.22.11", + "version": "7.23.2", "license": "MIT", "dependencies": { - "@babel/helper-environment-visitor": "^7.22.5", + "@babel/helper-environment-visitor": "^7.22.20", "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-remap-async-to-generator": "^7.22.9", + "@babel/helper-remap-async-to-generator": "^7.22.20", "@babel/plugin-syntax-async-generators": "^7.8.4" }, "engines": { @@ -1020,7 +985,7 @@ } }, "node_modules/@babel/plugin-transform-block-scoping": { - "version": "7.22.10", + "version": "7.23.0", "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.22.5" @@ -1062,16 +1027,16 @@ } }, "node_modules/@babel/plugin-transform-classes": { - "version": "7.22.6", + "version": "7.22.15", "license": "MIT", "dependencies": { "@babel/helper-annotate-as-pure": "^7.22.5", - "@babel/helper-compilation-targets": "^7.22.6", + "@babel/helper-compilation-targets": "^7.22.15", "@babel/helper-environment-visitor": "^7.22.5", "@babel/helper-function-name": "^7.22.5", "@babel/helper-optimise-call-expression": "^7.22.5", "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-replace-supers": "^7.22.5", + "@babel/helper-replace-supers": "^7.22.9", "@babel/helper-split-export-declaration": "^7.22.6", "globals": "^11.1.0" }, @@ -1097,7 +1062,7 @@ } }, "node_modules/@babel/plugin-transform-destructuring": { - "version": "7.22.10", + "version": "7.23.0", "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.22.5" @@ -1194,7 +1159,7 @@ } }, "node_modules/@babel/plugin-transform-for-of": { - "version": "7.22.5", + "version": "7.22.15", "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.22.5" @@ -1276,10 +1241,10 @@ } }, "node_modules/@babel/plugin-transform-modules-amd": { - "version": "7.22.5", + "version": "7.23.0", "license": "MIT", "dependencies": { - "@babel/helper-module-transforms": "^7.22.5", + "@babel/helper-module-transforms": "^7.23.0", "@babel/helper-plugin-utils": "^7.22.5" }, "engines": { @@ -1290,10 +1255,10 @@ } }, "node_modules/@babel/plugin-transform-modules-commonjs": { - "version": "7.22.11", + "version": "7.23.0", "license": "MIT", "dependencies": { - "@babel/helper-module-transforms": "^7.22.9", + "@babel/helper-module-transforms": "^7.23.0", "@babel/helper-plugin-utils": "^7.22.5", "@babel/helper-simple-access": "^7.22.5" }, @@ -1305,13 +1270,13 @@ } }, "node_modules/@babel/plugin-transform-modules-systemjs": { - "version": "7.22.11", + "version": "7.23.0", "license": "MIT", "dependencies": { "@babel/helper-hoist-variables": "^7.22.5", - "@babel/helper-module-transforms": "^7.22.9", + "@babel/helper-module-transforms": "^7.23.0", "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-validator-identifier": "^7.22.5" + "@babel/helper-validator-identifier": "^7.22.20" }, "engines": { "node": ">=6.9.0" @@ -1390,14 +1355,14 @@ } }, "node_modules/@babel/plugin-transform-object-rest-spread": { - "version": "7.22.11", + "version": "7.22.15", "license": "MIT", "dependencies": { "@babel/compat-data": "^7.22.9", - "@babel/helper-compilation-targets": "^7.22.10", + "@babel/helper-compilation-targets": "^7.22.15", "@babel/helper-plugin-utils": "^7.22.5", "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-transform-parameters": "^7.22.5" + "@babel/plugin-transform-parameters": "^7.22.15" }, "engines": { "node": ">=6.9.0" @@ -1435,7 +1400,7 @@ } }, "node_modules/@babel/plugin-transform-optional-chaining": { - "version": "7.22.12", + "version": "7.23.0", "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.22.5", @@ -1450,7 +1415,7 @@ } }, "node_modules/@babel/plugin-transform-parameters": { - "version": "7.22.5", + "version": "7.22.15", "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.22.5" @@ -1533,14 +1498,14 @@ } }, "node_modules/@babel/plugin-transform-react-jsx": { - "version": "7.22.5", + "version": "7.22.15", "license": "MIT", "dependencies": { "@babel/helper-annotate-as-pure": "^7.22.5", - "@babel/helper-module-imports": "^7.22.5", + "@babel/helper-module-imports": "^7.22.15", "@babel/helper-plugin-utils": "^7.22.5", "@babel/plugin-syntax-jsx": "^7.22.5", - "@babel/types": "^7.22.5" + "@babel/types": "^7.22.15" }, "engines": { "node": ">=6.9.0" @@ -1632,15 +1597,15 @@ } }, "node_modules/@babel/plugin-transform-runtime": { - "version": "7.22.10", + "version": "7.23.2", "license": "MIT", "peer": true, "dependencies": { - "@babel/helper-module-imports": "^7.22.5", + "@babel/helper-module-imports": "^7.22.15", "@babel/helper-plugin-utils": "^7.22.5", - "babel-plugin-polyfill-corejs2": "^0.4.5", - "babel-plugin-polyfill-corejs3": "^0.8.3", - "babel-plugin-polyfill-regenerator": "^0.5.2", + "babel-plugin-polyfill-corejs2": "^0.4.6", + "babel-plugin-polyfill-corejs3": "^0.8.5", + "babel-plugin-polyfill-regenerator": "^0.5.3", "semver": "^6.3.1" }, "engines": { @@ -1717,11 +1682,11 @@ } }, "node_modules/@babel/plugin-transform-typescript": { - "version": "7.22.11", + "version": "7.22.15", "license": "MIT", "dependencies": { "@babel/helper-annotate-as-pure": "^7.22.5", - "@babel/helper-create-class-features-plugin": "^7.22.11", + "@babel/helper-create-class-features-plugin": "^7.22.15", "@babel/helper-plugin-utils": "^7.22.5", "@babel/plugin-syntax-typescript": "^7.22.5" }, @@ -1788,15 +1753,15 @@ } }, "node_modules/@babel/preset-env": { - "version": "7.22.10", + "version": "7.23.2", "license": "MIT", "dependencies": { - "@babel/compat-data": "^7.22.9", - "@babel/helper-compilation-targets": "^7.22.10", + "@babel/compat-data": "^7.23.2", + "@babel/helper-compilation-targets": "^7.22.15", "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-validator-option": "^7.22.5", - "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.22.5", - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.22.5", + "@babel/helper-validator-option": "^7.22.15", + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.22.15", + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.22.15", "@babel/plugin-proposal-private-property-in-object": "7.21.0-placeholder-for-preset-env.2", "@babel/plugin-syntax-async-generators": "^7.8.4", "@babel/plugin-syntax-class-properties": "^7.12.13", @@ -1817,41 +1782,41 @@ "@babel/plugin-syntax-top-level-await": "^7.14.5", "@babel/plugin-syntax-unicode-sets-regex": "^7.18.6", "@babel/plugin-transform-arrow-functions": "^7.22.5", - "@babel/plugin-transform-async-generator-functions": "^7.22.10", + "@babel/plugin-transform-async-generator-functions": "^7.23.2", "@babel/plugin-transform-async-to-generator": "^7.22.5", "@babel/plugin-transform-block-scoped-functions": "^7.22.5", - "@babel/plugin-transform-block-scoping": "^7.22.10", + "@babel/plugin-transform-block-scoping": "^7.23.0", "@babel/plugin-transform-class-properties": "^7.22.5", - "@babel/plugin-transform-class-static-block": "^7.22.5", - "@babel/plugin-transform-classes": "^7.22.6", + "@babel/plugin-transform-class-static-block": "^7.22.11", + "@babel/plugin-transform-classes": "^7.22.15", "@babel/plugin-transform-computed-properties": "^7.22.5", - "@babel/plugin-transform-destructuring": "^7.22.10", + "@babel/plugin-transform-destructuring": "^7.23.0", "@babel/plugin-transform-dotall-regex": "^7.22.5", "@babel/plugin-transform-duplicate-keys": "^7.22.5", - "@babel/plugin-transform-dynamic-import": "^7.22.5", + "@babel/plugin-transform-dynamic-import": "^7.22.11", "@babel/plugin-transform-exponentiation-operator": "^7.22.5", - "@babel/plugin-transform-export-namespace-from": "^7.22.5", - "@babel/plugin-transform-for-of": "^7.22.5", + "@babel/plugin-transform-export-namespace-from": "^7.22.11", + "@babel/plugin-transform-for-of": "^7.22.15", "@babel/plugin-transform-function-name": "^7.22.5", - "@babel/plugin-transform-json-strings": "^7.22.5", + "@babel/plugin-transform-json-strings": "^7.22.11", "@babel/plugin-transform-literals": "^7.22.5", - "@babel/plugin-transform-logical-assignment-operators": "^7.22.5", + "@babel/plugin-transform-logical-assignment-operators": "^7.22.11", "@babel/plugin-transform-member-expression-literals": "^7.22.5", - "@babel/plugin-transform-modules-amd": "^7.22.5", - "@babel/plugin-transform-modules-commonjs": "^7.22.5", - "@babel/plugin-transform-modules-systemjs": "^7.22.5", + "@babel/plugin-transform-modules-amd": "^7.23.0", + "@babel/plugin-transform-modules-commonjs": "^7.23.0", + "@babel/plugin-transform-modules-systemjs": "^7.23.0", "@babel/plugin-transform-modules-umd": "^7.22.5", "@babel/plugin-transform-named-capturing-groups-regex": "^7.22.5", "@babel/plugin-transform-new-target": "^7.22.5", - "@babel/plugin-transform-nullish-coalescing-operator": "^7.22.5", - "@babel/plugin-transform-numeric-separator": "^7.22.5", - "@babel/plugin-transform-object-rest-spread": "^7.22.5", + "@babel/plugin-transform-nullish-coalescing-operator": "^7.22.11", + "@babel/plugin-transform-numeric-separator": "^7.22.11", + "@babel/plugin-transform-object-rest-spread": "^7.22.15", "@babel/plugin-transform-object-super": "^7.22.5", - "@babel/plugin-transform-optional-catch-binding": "^7.22.5", - "@babel/plugin-transform-optional-chaining": "^7.22.10", - "@babel/plugin-transform-parameters": "^7.22.5", + "@babel/plugin-transform-optional-catch-binding": "^7.22.11", + "@babel/plugin-transform-optional-chaining": "^7.23.0", + "@babel/plugin-transform-parameters": "^7.22.15", "@babel/plugin-transform-private-methods": "^7.22.5", - "@babel/plugin-transform-private-property-in-object": "^7.22.5", + "@babel/plugin-transform-private-property-in-object": "^7.22.11", "@babel/plugin-transform-property-literals": "^7.22.5", "@babel/plugin-transform-regenerator": "^7.22.10", "@babel/plugin-transform-reserved-words": "^7.22.5", @@ -1865,10 +1830,10 @@ "@babel/plugin-transform-unicode-regex": "^7.22.5", "@babel/plugin-transform-unicode-sets-regex": "^7.22.5", "@babel/preset-modules": "0.1.6-no-external-plugins", - "@babel/types": "^7.22.10", - "babel-plugin-polyfill-corejs2": "^0.4.5", - "babel-plugin-polyfill-corejs3": "^0.8.3", - "babel-plugin-polyfill-regenerator": "^0.5.2", + "@babel/types": "^7.23.0", + "babel-plugin-polyfill-corejs2": "^0.4.6", + "babel-plugin-polyfill-corejs3": "^0.8.5", + "babel-plugin-polyfill-regenerator": "^0.5.3", "core-js-compat": "^3.31.0", "semver": "^6.3.1" }, @@ -1880,12 +1845,12 @@ } }, "node_modules/@babel/preset-flow": { - "version": "7.22.5", + "version": "7.22.15", "license": "MIT", "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-validator-option": "^7.22.5", + "@babel/helper-validator-option": "^7.22.15", "@babel/plugin-transform-flow-strip-types": "^7.22.5" }, "engines": { @@ -1908,13 +1873,13 @@ } }, "node_modules/@babel/preset-react": { - "version": "7.22.5", + "version": "7.22.15", "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-validator-option": "^7.22.5", + "@babel/helper-validator-option": "^7.22.15", "@babel/plugin-transform-react-display-name": "^7.22.5", - "@babel/plugin-transform-react-jsx": "^7.22.5", + "@babel/plugin-transform-react-jsx": "^7.22.15", "@babel/plugin-transform-react-jsx-development": "^7.22.5", "@babel/plugin-transform-react-pure-annotations": "^7.22.5" }, @@ -1926,14 +1891,14 @@ } }, "node_modules/@babel/preset-typescript": { - "version": "7.22.11", + "version": "7.23.2", "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-validator-option": "^7.22.5", + "@babel/helper-validator-option": "^7.22.15", "@babel/plugin-syntax-jsx": "^7.22.5", - "@babel/plugin-transform-modules-commonjs": "^7.22.11", - "@babel/plugin-transform-typescript": "^7.22.11" + "@babel/plugin-transform-modules-commonjs": "^7.23.0", + "@babel/plugin-transform-typescript": "^7.22.15" }, "engines": { "node": ">=6.9.0" @@ -1943,7 +1908,7 @@ } }, "node_modules/@babel/register": { - "version": "7.22.5", + "version": "7.22.15", "license": "MIT", "peer": true, "dependencies": { @@ -2041,14 +2006,6 @@ "node": ">=4" } }, - "node_modules/@babel/register/node_modules/pify": { - "version": "4.0.1", - "license": "MIT", - "peer": true, - "engines": { - "node": ">=6" - } - }, "node_modules/@babel/register/node_modules/pkg-dir": { "version": "3.0.0", "license": "MIT", @@ -2068,21 +2025,12 @@ "semver": "bin/semver" } }, - "node_modules/@babel/register/node_modules/source-map-support": { - "version": "0.5.21", - "license": "MIT", - "peer": true, - "dependencies": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" - } - }, "node_modules/@babel/regjsgen": { "version": "0.8.0", "license": "MIT" }, "node_modules/@babel/runtime": { - "version": "7.22.11", + "version": "7.23.2", "license": "MIT", "dependencies": { "regenerator-runtime": "^0.14.0" @@ -2093,8 +2041,7 @@ }, "node_modules/@babel/template": { "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz", - "integrity": "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==", + "license": "MIT", "dependencies": { "@babel/code-frame": "^7.22.13", "@babel/parser": "^7.22.15", @@ -2106,8 +2053,7 @@ }, "node_modules/@babel/traverse": { "version": "7.23.2", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.2.tgz", - "integrity": "sha512-azpe59SQ48qG6nu2CzcMLbxUudtN+dOM9kDbUqGq3HXUJRlo7i8fvPoxQUzYgLZ4cMVmuZgm8vvBpNeRhd6XSw==", + "license": "MIT", "dependencies": { "@babel/code-frame": "^7.22.13", "@babel/generator": "^7.23.0", @@ -2126,8 +2072,7 @@ }, "node_modules/@babel/types": { "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.0.tgz", - "integrity": "sha512-0oIyUfKoI3mSqMvsxBdclDwxXKXAUA8v/apZbc+iSyARYou1o8ZGDxbUYyLFoW2arqS2jDGqJuZvv1d/io1axg==", + "license": "MIT", "dependencies": { "@babel/helper-string-parser": "^7.22.5", "@babel/helper-validator-identifier": "^7.22.20", @@ -2210,7 +2155,7 @@ } }, "node_modules/@eslint-community/regexpp": { - "version": "4.8.0", + "version": "4.9.1", "dev": true, "license": "MIT", "engines": { @@ -2240,7 +2185,7 @@ } }, "node_modules/@eslint/eslintrc/node_modules/globals": { - "version": "13.21.0", + "version": "13.23.0", "dev": true, "license": "MIT", "dependencies": { @@ -2253,19 +2198,8 @@ "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.48.0", + "version": "8.51.0", "dev": true, "license": "MIT", "engines": { @@ -2298,7 +2232,7 @@ } }, "node_modules/@humanwhocodes/config-array": { - "version": "0.11.10", + "version": "0.11.11", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -2361,38 +2295,6 @@ "url": "https://github.com/chalk/ansi-regex?sponsor=1" } }, - "node_modules/@isaacs/cliui/node_modules/ansi-styles": { - "version": "6.2.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/@isaacs/cliui/node_modules/emoji-regex": { - "version": "9.2.2", - "dev": true, - "license": "MIT" - }, - "node_modules/@isaacs/cliui/node_modules/string-width": { - "version": "5.1.2", - "dev": true, - "license": "MIT", - "dependencies": { - "eastasianwidth": "^0.2.0", - "emoji-regex": "^9.2.2", - "strip-ansi": "^7.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/@isaacs/cliui/node_modules/strip-ansi": { "version": "7.1.0", "dev": true, @@ -2407,22 +2309,6 @@ "url": "https://github.com/chalk/strip-ansi?sponsor=1" } }, - "node_modules/@isaacs/cliui/node_modules/wrap-ansi": { - "version": "8.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^6.1.0", - "string-width": "^5.0.1", - "strip-ansi": "^7.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, "node_modules/@istanbuljs/load-nyc-config": { "version": "1.1.0", "license": "ISC", @@ -2444,6 +2330,13 @@ "sprintf-js": "~1.0.2" } }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/camelcase": { + "version": "5.3.1", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, "node_modules/@istanbuljs/load-nyc-config/node_modules/find-up": { "version": "4.1.0", "license": "MIT", @@ -2514,14 +2407,14 @@ } }, "node_modules/@jest/console": { - "version": "29.6.4", + "version": "29.7.0", "license": "MIT", "dependencies": { "@jest/types": "^29.6.3", "@types/node": "*", "chalk": "^4.0.0", - "jest-message-util": "^29.6.3", - "jest-util": "^29.6.3", + "jest-message-util": "^29.7.0", + "jest-util": "^29.7.0", "slash": "^3.0.0" }, "engines": { @@ -2587,13 +2480,13 @@ } }, "node_modules/@jest/core": { - "version": "29.6.4", + "version": "29.7.0", "license": "MIT", "dependencies": { - "@jest/console": "^29.6.4", - "@jest/reporters": "^29.6.4", - "@jest/test-result": "^29.6.4", - "@jest/transform": "^29.6.4", + "@jest/console": "^29.7.0", + "@jest/reporters": "^29.7.0", + "@jest/test-result": "^29.7.0", + "@jest/transform": "^29.7.0", "@jest/types": "^29.6.3", "@types/node": "*", "ansi-escapes": "^4.2.1", @@ -2601,21 +2494,21 @@ "ci-info": "^3.2.0", "exit": "^0.1.2", "graceful-fs": "^4.2.9", - "jest-changed-files": "^29.6.3", - "jest-config": "^29.6.4", - "jest-haste-map": "^29.6.4", - "jest-message-util": "^29.6.3", + "jest-changed-files": "^29.7.0", + "jest-config": "^29.7.0", + "jest-haste-map": "^29.7.0", + "jest-message-util": "^29.7.0", "jest-regex-util": "^29.6.3", - "jest-resolve": "^29.6.4", - "jest-resolve-dependencies": "^29.6.4", - "jest-runner": "^29.6.4", - "jest-runtime": "^29.6.4", - "jest-snapshot": "^29.6.4", - "jest-util": "^29.6.3", - "jest-validate": "^29.6.3", - "jest-watcher": "^29.6.4", + "jest-resolve": "^29.7.0", + "jest-resolve-dependencies": "^29.7.0", + "jest-runner": "^29.7.0", + "jest-runtime": "^29.7.0", + "jest-snapshot": "^29.7.0", + "jest-util": "^29.7.0", + "jest-validate": "^29.7.0", + "jest-watcher": "^29.7.0", "micromatch": "^4.0.4", - "pretty-format": "^29.6.3", + "pretty-format": "^29.7.0", "slash": "^3.0.0", "strip-ansi": "^6.0.0" }, @@ -2680,7 +2573,7 @@ } }, "node_modules/@jest/core/node_modules/pretty-format": { - "version": "29.6.3", + "version": "29.7.0", "license": "MIT", "dependencies": { "@jest/schemas": "^29.6.3", @@ -2716,7 +2609,7 @@ } }, "node_modules/@jest/create-cache-key-function": { - "version": "29.6.3", + "version": "29.7.0", "license": "MIT", "peer": true, "dependencies": { @@ -2727,31 +2620,31 @@ } }, "node_modules/@jest/environment": { - "version": "29.6.4", + "version": "29.7.0", "license": "MIT", "dependencies": { - "@jest/fake-timers": "^29.6.4", + "@jest/fake-timers": "^29.7.0", "@jest/types": "^29.6.3", "@types/node": "*", - "jest-mock": "^29.6.3" + "jest-mock": "^29.7.0" }, "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/@jest/expect": { - "version": "29.6.4", + "version": "29.7.0", "license": "MIT", "dependencies": { - "expect": "^29.6.4", - "jest-snapshot": "^29.6.4" + "expect": "^29.7.0", + "jest-snapshot": "^29.7.0" }, "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/@jest/expect-utils": { - "version": "29.6.4", + "version": "29.7.0", "license": "MIT", "dependencies": { "jest-get-type": "^29.6.3" @@ -2761,41 +2654,41 @@ } }, "node_modules/@jest/fake-timers": { - "version": "29.6.4", + "version": "29.7.0", "license": "MIT", "dependencies": { "@jest/types": "^29.6.3", "@sinonjs/fake-timers": "^10.0.2", "@types/node": "*", - "jest-message-util": "^29.6.3", - "jest-mock": "^29.6.3", - "jest-util": "^29.6.3" + "jest-message-util": "^29.7.0", + "jest-mock": "^29.7.0", + "jest-util": "^29.7.0" }, "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/@jest/globals": { - "version": "29.6.4", + "version": "29.7.0", "license": "MIT", "dependencies": { - "@jest/environment": "^29.6.4", - "@jest/expect": "^29.6.4", + "@jest/environment": "^29.7.0", + "@jest/expect": "^29.7.0", "@jest/types": "^29.6.3", - "jest-mock": "^29.6.3" + "jest-mock": "^29.7.0" }, "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/@jest/reporters": { - "version": "29.6.4", + "version": "29.7.0", "license": "MIT", "dependencies": { "@bcoe/v8-coverage": "^0.2.3", - "@jest/console": "^29.6.4", - "@jest/test-result": "^29.6.4", - "@jest/transform": "^29.6.4", + "@jest/console": "^29.7.0", + "@jest/test-result": "^29.7.0", + "@jest/transform": "^29.7.0", "@jest/types": "^29.6.3", "@jridgewell/trace-mapping": "^0.3.18", "@types/node": "*", @@ -2809,9 +2702,9 @@ "istanbul-lib-report": "^3.0.0", "istanbul-lib-source-maps": "^4.0.0", "istanbul-reports": "^3.1.3", - "jest-message-util": "^29.6.3", - "jest-util": "^29.6.3", - "jest-worker": "^29.6.4", + "jest-message-util": "^29.7.0", + "jest-util": "^29.7.0", + "jest-worker": "^29.7.0", "slash": "^3.0.0", "string-length": "^4.0.1", "strip-ansi": "^6.0.0", @@ -2877,6 +2770,32 @@ "node": ">=8" } }, + "node_modules/@jest/reporters/node_modules/jest-worker": { + "version": "29.7.0", + "license": "MIT", + "dependencies": { + "@types/node": "*", + "jest-util": "^29.7.0", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/reporters/node_modules/jest-worker/node_modules/supports-color": { + "version": "8.1.1", + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, "node_modules/@jest/reporters/node_modules/supports-color": { "version": "7.2.0", "license": "MIT", @@ -2910,10 +2829,10 @@ } }, "node_modules/@jest/test-result": { - "version": "29.6.4", + "version": "29.7.0", "license": "MIT", "dependencies": { - "@jest/console": "^29.6.4", + "@jest/console": "^29.7.0", "@jest/types": "^29.6.3", "@types/istanbul-lib-coverage": "^2.0.0", "collect-v8-coverage": "^1.0.0" @@ -2923,12 +2842,12 @@ } }, "node_modules/@jest/test-sequencer": { - "version": "29.6.4", + "version": "29.7.0", "license": "MIT", "dependencies": { - "@jest/test-result": "^29.6.4", + "@jest/test-result": "^29.7.0", "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.6.4", + "jest-haste-map": "^29.7.0", "slash": "^3.0.0" }, "engines": { @@ -2936,7 +2855,7 @@ } }, "node_modules/@jest/transform": { - "version": "29.6.4", + "version": "29.7.0", "license": "MIT", "dependencies": { "@babel/core": "^7.11.6", @@ -2947,9 +2866,9 @@ "convert-source-map": "^2.0.0", "fast-json-stable-stringify": "^2.1.0", "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.6.4", + "jest-haste-map": "^29.7.0", "jest-regex-util": "^29.6.3", - "jest-util": "^29.6.3", + "jest-util": "^29.7.0", "micromatch": "^4.0.4", "pirates": "^4.0.4", "slash": "^3.0.0", @@ -3000,10 +2919,6 @@ "version": "1.1.4", "license": "MIT" }, - "node_modules/@jest/transform/node_modules/convert-source-map": { - "version": "2.0.0", - "license": "MIT" - }, "node_modules/@jest/transform/node_modules/has-flag": { "version": "4.0.0", "license": "MIT", @@ -3021,17 +2936,6 @@ "node": ">=8" } }, - "node_modules/@jest/transform/node_modules/write-file-atomic": { - "version": "4.0.2", - "license": "ISC", - "dependencies": { - "imurmurhash": "^0.1.4", - "signal-exit": "^3.0.7" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, "node_modules/@jest/types": { "version": "29.6.3", "license": "MIT", @@ -3106,11 +3010,12 @@ } }, "node_modules/@jridgewell/gen-mapping": { - "version": "0.1.1", + "version": "0.3.3", "license": "MIT", "dependencies": { - "@jridgewell/set-array": "^1.0.0", - "@jridgewell/sourcemap-codec": "^1.4.10" + "@jridgewell/set-array": "^1.0.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.9" }, "engines": { "node": ">=6.0.0" @@ -3124,7 +3029,7 @@ } }, "node_modules/@jridgewell/set-array": { - "version": "1.1.1", + "version": "1.1.2", "license": "MIT", "engines": { "node": ">=6.0.0" @@ -3138,18 +3043,6 @@ "@jridgewell/trace-mapping": "^0.3.9" } }, - "node_modules/@jridgewell/source-map/node_modules/@jridgewell/gen-mapping": { - "version": "0.3.3", - "license": "MIT", - "dependencies": { - "@jridgewell/set-array": "^1.0.1", - "@jridgewell/sourcemap-codec": "^1.4.10", - "@jridgewell/trace-mapping": "^0.3.9" - }, - "engines": { - "node": ">=6.0.0" - } - }, "node_modules/@jridgewell/sourcemap-codec": { "version": "1.4.15", "license": "MIT" @@ -3168,7 +3061,7 @@ "license": "MIT" }, "node_modules/@monaco-editor/loader": { - "version": "1.3.3", + "version": "1.4.0", "license": "MIT", "dependencies": { "state-local": "^1.0.6" @@ -3178,10 +3071,10 @@ } }, "node_modules/@monaco-editor/react": { - "version": "4.5.2", + "version": "4.6.0", "license": "MIT", "dependencies": { - "@monaco-editor/loader": "^1.3.3" + "@monaco-editor/loader": "^1.4.0" }, "peerDependencies": { "monaco-editor": ">= 0.25.0 < 1", @@ -3262,34 +3155,6 @@ "url": "https://opencollective.com/unts" } }, - "node_modules/@pkgr/utils/node_modules/define-lazy-prop": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@pkgr/utils/node_modules/open": { - "version": "9.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "default-browser": "^4.0.0", - "define-lazy-prop": "^3.0.0", - "is-inside-container": "^1.0.0", - "is-wsl": "^2.2.0" - }, - "engines": { - "node": ">=14.16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/@pmmmwh/react-refresh-webpack-plugin": { "version": "0.5.11", "dev": true, @@ -3339,12 +3204,21 @@ } } }, - "node_modules/@pmmmwh/react-refresh-webpack-plugin/node_modules/source-map": { - "version": "0.7.4", + "node_modules/@pmmmwh/react-refresh-webpack-plugin/node_modules/schema-utils": { + "version": "3.3.0", "dev": true, - "license": "BSD-3-Clause", + "license": "MIT", + "dependencies": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" + }, "engines": { - "node": ">= 8" + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" } }, "node_modules/@popperjs/core": { @@ -3368,19 +3242,19 @@ "license": "MIT" }, "node_modules/@react-native-community/cli": { - "version": "11.3.6", + "version": "11.3.7", "license": "MIT", "peer": true, "dependencies": { - "@react-native-community/cli-clean": "11.3.6", - "@react-native-community/cli-config": "11.3.6", - "@react-native-community/cli-debugger-ui": "11.3.6", - "@react-native-community/cli-doctor": "11.3.6", - "@react-native-community/cli-hermes": "11.3.6", - "@react-native-community/cli-plugin-metro": "11.3.6", - "@react-native-community/cli-server-api": "11.3.6", - "@react-native-community/cli-tools": "11.3.6", - "@react-native-community/cli-types": "11.3.6", + "@react-native-community/cli-clean": "11.3.7", + "@react-native-community/cli-config": "11.3.7", + "@react-native-community/cli-debugger-ui": "11.3.7", + "@react-native-community/cli-doctor": "11.3.7", + "@react-native-community/cli-hermes": "11.3.7", + "@react-native-community/cli-plugin-metro": "11.3.7", + "@react-native-community/cli-server-api": "11.3.7", + "@react-native-community/cli-tools": "11.3.7", + "@react-native-community/cli-types": "11.3.7", "chalk": "^4.1.2", "commander": "^9.4.1", "execa": "^5.0.0", @@ -3398,11 +3272,11 @@ } }, "node_modules/@react-native-community/cli-clean": { - "version": "11.3.6", + "version": "11.3.7", "license": "MIT", "peer": true, "dependencies": { - "@react-native-community/cli-tools": "11.3.6", + "@react-native-community/cli-tools": "11.3.7", "chalk": "^4.1.2", "execa": "^5.0.0", "prompts": "^2.4.0" @@ -3453,6 +3327,28 @@ "license": "MIT", "peer": true }, + "node_modules/@react-native-community/cli-clean/node_modules/execa": { + "version": "5.1.1", + "license": "MIT", + "peer": true, + "dependencies": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, "node_modules/@react-native-community/cli-clean/node_modules/has-flag": { "version": "4.0.0", "license": "MIT", @@ -3461,6 +3357,66 @@ "node": ">=8" } }, + "node_modules/@react-native-community/cli-clean/node_modules/human-signals": { + "version": "2.1.0", + "license": "Apache-2.0", + "peer": true, + "engines": { + "node": ">=10.17.0" + } + }, + "node_modules/@react-native-community/cli-clean/node_modules/is-stream": { + "version": "2.0.1", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@react-native-community/cli-clean/node_modules/mimic-fn": { + "version": "2.1.0", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/@react-native-community/cli-clean/node_modules/npm-run-path": { + "version": "4.0.1", + "license": "MIT", + "peer": true, + "dependencies": { + "path-key": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@react-native-community/cli-clean/node_modules/onetime": { + "version": "5.1.2", + "license": "MIT", + "peer": true, + "dependencies": { + "mimic-fn": "^2.1.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@react-native-community/cli-clean/node_modules/strip-final-newline": { + "version": "2.0.0", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=6" + } + }, "node_modules/@react-native-community/cli-clean/node_modules/supports-color": { "version": "7.2.0", "license": "MIT", @@ -3473,11 +3429,11 @@ } }, "node_modules/@react-native-community/cli-config": { - "version": "11.3.6", + "version": "11.3.7", "license": "MIT", "peer": true, "dependencies": { - "@react-native-community/cli-tools": "11.3.6", + "@react-native-community/cli-tools": "11.3.7", "chalk": "^4.1.2", "cosmiconfig": "^5.1.0", "deepmerge": "^4.3.0", @@ -3616,7 +3572,7 @@ } }, "node_modules/@react-native-community/cli-debugger-ui": { - "version": "11.3.6", + "version": "11.3.7", "license": "MIT", "peer": true, "dependencies": { @@ -3624,14 +3580,14 @@ } }, "node_modules/@react-native-community/cli-doctor": { - "version": "11.3.6", + "version": "11.3.7", "license": "MIT", "peer": true, "dependencies": { - "@react-native-community/cli-config": "11.3.6", - "@react-native-community/cli-platform-android": "11.3.6", - "@react-native-community/cli-platform-ios": "11.3.6", - "@react-native-community/cli-tools": "11.3.6", + "@react-native-community/cli-config": "11.3.7", + "@react-native-community/cli-platform-android": "11.3.7", + "@react-native-community/cli-platform-ios": "11.3.7", + "@react-native-community/cli-tools": "11.3.7", "chalk": "^4.1.2", "command-exists": "^1.2.8", "envinfo": "^7.7.2", @@ -3701,6 +3657,28 @@ "license": "MIT", "peer": true }, + "node_modules/@react-native-community/cli-doctor/node_modules/execa": { + "version": "5.1.1", + "license": "MIT", + "peer": true, + "dependencies": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, "node_modules/@react-native-community/cli-doctor/node_modules/has-flag": { "version": "4.0.0", "license": "MIT", @@ -3709,10 +3687,24 @@ "node": ">=8" } }, - "node_modules/@react-native-community/cli-doctor/node_modules/ip": { - "version": "1.1.8", + "node_modules/@react-native-community/cli-doctor/node_modules/human-signals": { + "version": "2.1.0", + "license": "Apache-2.0", + "peer": true, + "engines": { + "node": ">=10.17.0" + } + }, + "node_modules/@react-native-community/cli-doctor/node_modules/is-stream": { + "version": "2.0.1", "license": "MIT", - "peer": true + "peer": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } }, "node_modules/@react-native-community/cli-doctor/node_modules/lru-cache": { "version": "6.0.0", @@ -3725,6 +3717,39 @@ "node": ">=10" } }, + "node_modules/@react-native-community/cli-doctor/node_modules/mimic-fn": { + "version": "2.1.0", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/@react-native-community/cli-doctor/node_modules/npm-run-path": { + "version": "4.0.1", + "license": "MIT", + "peer": true, + "dependencies": { + "path-key": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@react-native-community/cli-doctor/node_modules/onetime": { + "version": "5.1.2", + "license": "MIT", + "peer": true, + "dependencies": { + "mimic-fn": "^2.1.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/@react-native-community/cli-doctor/node_modules/semver": { "version": "7.5.4", "license": "ISC", @@ -3750,6 +3775,14 @@ "node": ">=6" } }, + "node_modules/@react-native-community/cli-doctor/node_modules/strip-final-newline": { + "version": "2.0.0", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=6" + } + }, "node_modules/@react-native-community/cli-doctor/node_modules/supports-color": { "version": "7.2.0", "license": "MIT", @@ -3761,13 +3794,18 @@ "node": ">=8" } }, + "node_modules/@react-native-community/cli-doctor/node_modules/yallist": { + "version": "4.0.0", + "license": "ISC", + "peer": true + }, "node_modules/@react-native-community/cli-hermes": { - "version": "11.3.6", + "version": "11.3.7", "license": "MIT", "peer": true, "dependencies": { - "@react-native-community/cli-platform-android": "11.3.6", - "@react-native-community/cli-tools": "11.3.6", + "@react-native-community/cli-platform-android": "11.3.7", + "@react-native-community/cli-tools": "11.3.7", "chalk": "^4.1.2", "hermes-profile-transformer": "^0.0.6", "ip": "^1.1.5" @@ -3826,11 +3864,6 @@ "node": ">=8" } }, - "node_modules/@react-native-community/cli-hermes/node_modules/ip": { - "version": "1.1.8", - "license": "MIT", - "peer": true - }, "node_modules/@react-native-community/cli-hermes/node_modules/supports-color": { "version": "7.2.0", "license": "MIT", @@ -3843,11 +3876,11 @@ } }, "node_modules/@react-native-community/cli-platform-android": { - "version": "11.3.6", + "version": "11.3.7", "license": "MIT", "peer": true, "dependencies": { - "@react-native-community/cli-tools": "11.3.6", + "@react-native-community/cli-tools": "11.3.7", "chalk": "^4.1.2", "execa": "^5.0.0", "glob": "^7.1.3", @@ -3899,6 +3932,28 @@ "license": "MIT", "peer": true }, + "node_modules/@react-native-community/cli-platform-android/node_modules/execa": { + "version": "5.1.1", + "license": "MIT", + "peer": true, + "dependencies": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, "node_modules/@react-native-community/cli-platform-android/node_modules/has-flag": { "version": "4.0.0", "license": "MIT", @@ -3907,6 +3962,66 @@ "node": ">=8" } }, + "node_modules/@react-native-community/cli-platform-android/node_modules/human-signals": { + "version": "2.1.0", + "license": "Apache-2.0", + "peer": true, + "engines": { + "node": ">=10.17.0" + } + }, + "node_modules/@react-native-community/cli-platform-android/node_modules/is-stream": { + "version": "2.0.1", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@react-native-community/cli-platform-android/node_modules/mimic-fn": { + "version": "2.1.0", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/@react-native-community/cli-platform-android/node_modules/npm-run-path": { + "version": "4.0.1", + "license": "MIT", + "peer": true, + "dependencies": { + "path-key": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@react-native-community/cli-platform-android/node_modules/onetime": { + "version": "5.1.2", + "license": "MIT", + "peer": true, + "dependencies": { + "mimic-fn": "^2.1.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@react-native-community/cli-platform-android/node_modules/strip-final-newline": { + "version": "2.0.0", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=6" + } + }, "node_modules/@react-native-community/cli-platform-android/node_modules/supports-color": { "version": "7.2.0", "license": "MIT", @@ -3919,11 +4034,11 @@ } }, "node_modules/@react-native-community/cli-platform-ios": { - "version": "11.3.6", + "version": "11.3.7", "license": "MIT", "peer": true, "dependencies": { - "@react-native-community/cli-tools": "11.3.6", + "@react-native-community/cli-tools": "11.3.7", "chalk": "^4.1.2", "execa": "^5.0.0", "fast-xml-parser": "^4.0.12", @@ -3976,6 +4091,28 @@ "license": "MIT", "peer": true }, + "node_modules/@react-native-community/cli-platform-ios/node_modules/execa": { + "version": "5.1.1", + "license": "MIT", + "peer": true, + "dependencies": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, "node_modules/@react-native-community/cli-platform-ios/node_modules/has-flag": { "version": "4.0.0", "license": "MIT", @@ -3984,6 +4121,66 @@ "node": ">=8" } }, + "node_modules/@react-native-community/cli-platform-ios/node_modules/human-signals": { + "version": "2.1.0", + "license": "Apache-2.0", + "peer": true, + "engines": { + "node": ">=10.17.0" + } + }, + "node_modules/@react-native-community/cli-platform-ios/node_modules/is-stream": { + "version": "2.0.1", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@react-native-community/cli-platform-ios/node_modules/mimic-fn": { + "version": "2.1.0", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/@react-native-community/cli-platform-ios/node_modules/npm-run-path": { + "version": "4.0.1", + "license": "MIT", + "peer": true, + "dependencies": { + "path-key": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@react-native-community/cli-platform-ios/node_modules/onetime": { + "version": "5.1.2", + "license": "MIT", + "peer": true, + "dependencies": { + "mimic-fn": "^2.1.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@react-native-community/cli-platform-ios/node_modules/strip-final-newline": { + "version": "2.0.0", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=6" + } + }, "node_modules/@react-native-community/cli-platform-ios/node_modules/supports-color": { "version": "7.2.0", "license": "MIT", @@ -3996,20 +4193,20 @@ } }, "node_modules/@react-native-community/cli-plugin-metro": { - "version": "11.3.6", + "version": "11.3.7", "license": "MIT", "peer": true, "dependencies": { - "@react-native-community/cli-server-api": "11.3.6", - "@react-native-community/cli-tools": "11.3.6", + "@react-native-community/cli-server-api": "11.3.7", + "@react-native-community/cli-tools": "11.3.7", "chalk": "^4.1.2", "execa": "^5.0.0", - "metro": "0.76.7", - "metro-config": "0.76.7", - "metro-core": "0.76.7", - "metro-react-native-babel-transformer": "0.76.7", - "metro-resolver": "0.76.7", - "metro-runtime": "0.76.7", + "metro": "0.76.8", + "metro-config": "0.76.8", + "metro-core": "0.76.8", + "metro-react-native-babel-transformer": "0.76.8", + "metro-resolver": "0.76.8", + "metro-runtime": "0.76.8", "readline": "^1.3.0" } }, @@ -4058,6 +4255,28 @@ "license": "MIT", "peer": true }, + "node_modules/@react-native-community/cli-plugin-metro/node_modules/execa": { + "version": "5.1.1", + "license": "MIT", + "peer": true, + "dependencies": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, "node_modules/@react-native-community/cli-plugin-metro/node_modules/has-flag": { "version": "4.0.0", "license": "MIT", @@ -4066,24 +4285,64 @@ "node": ">=8" } }, - "node_modules/@react-native-community/cli-plugin-metro/node_modules/metro-runtime": { - "version": "0.76.7", + "node_modules/@react-native-community/cli-plugin-metro/node_modules/human-signals": { + "version": "2.1.0", + "license": "Apache-2.0", + "peer": true, + "engines": { + "node": ">=10.17.0" + } + }, + "node_modules/@react-native-community/cli-plugin-metro/node_modules/is-stream": { + "version": "2.0.1", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@react-native-community/cli-plugin-metro/node_modules/mimic-fn": { + "version": "2.1.0", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/@react-native-community/cli-plugin-metro/node_modules/npm-run-path": { + "version": "4.0.1", "license": "MIT", "peer": true, "dependencies": { - "@babel/runtime": "^7.0.0", - "react-refresh": "^0.4.0" + "path-key": "^3.0.0" }, "engines": { - "node": ">=16" + "node": ">=8" } }, - "node_modules/@react-native-community/cli-plugin-metro/node_modules/react-refresh": { - "version": "0.4.3", + "node_modules/@react-native-community/cli-plugin-metro/node_modules/onetime": { + "version": "5.1.2", "license": "MIT", "peer": true, + "dependencies": { + "mimic-fn": "^2.1.0" + }, "engines": { - "node": ">=0.10.0" + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@react-native-community/cli-plugin-metro/node_modules/strip-final-newline": { + "version": "2.0.0", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=6" } }, "node_modules/@react-native-community/cli-plugin-metro/node_modules/supports-color": { @@ -4098,12 +4357,12 @@ } }, "node_modules/@react-native-community/cli-server-api": { - "version": "11.3.6", + "version": "11.3.7", "license": "MIT", "peer": true, "dependencies": { - "@react-native-community/cli-debugger-ui": "11.3.6", - "@react-native-community/cli-tools": "11.3.6", + "@react-native-community/cli-debugger-ui": "11.3.7", + "@react-native-community/cli-tools": "11.3.7", "compression": "^1.7.1", "connect": "^3.6.5", "errorhandler": "^1.5.1", @@ -4129,7 +4388,7 @@ } }, "node_modules/@react-native-community/cli-server-api/node_modules/@types/yargs": { - "version": "15.0.15", + "version": "15.0.16", "license": "MIT", "peer": true, "dependencies": { @@ -4248,7 +4507,7 @@ } }, "node_modules/@react-native-community/cli-tools": { - "version": "11.3.6", + "version": "11.3.7", "license": "MIT", "peer": true, "dependencies": { @@ -4371,8 +4630,13 @@ "node": ">=8" } }, + "node_modules/@react-native-community/cli-tools/node_modules/yallist": { + "version": "4.0.0", + "license": "ISC", + "peer": true + }, "node_modules/@react-native-community/cli-types": { - "version": "11.3.6", + "version": "11.3.7", "license": "MIT", "peer": true, "dependencies": { @@ -4424,29 +4688,46 @@ "license": "MIT", "peer": true }, - "node_modules/@react-native-community/cli/node_modules/find-up": { - "version": "4.1.0", + "node_modules/@react-native-community/cli/node_modules/commander": { + "version": "9.5.0", + "license": "MIT", + "peer": true, + "engines": { + "node": "^12.20.0 || >=14" + } + }, + "node_modules/@react-native-community/cli/node_modules/execa": { + "version": "5.1.1", "license": "MIT", "peer": true, "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" }, "engines": { - "node": ">=8" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" } }, - "node_modules/@react-native-community/cli/node_modules/fs-extra": { - "version": "8.1.0", + "node_modules/@react-native-community/cli/node_modules/find-up": { + "version": "4.1.0", "license": "MIT", "peer": true, "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" }, "engines": { - "node": ">=6 <7 || >=8" + "node": ">=8" } }, "node_modules/@react-native-community/cli/node_modules/has-flag": { @@ -4457,12 +4738,23 @@ "node": ">=8" } }, - "node_modules/@react-native-community/cli/node_modules/jsonfile": { - "version": "4.0.0", + "node_modules/@react-native-community/cli/node_modules/human-signals": { + "version": "2.1.0", + "license": "Apache-2.0", + "peer": true, + "engines": { + "node": ">=10.17.0" + } + }, + "node_modules/@react-native-community/cli/node_modules/is-stream": { + "version": "2.0.1", "license": "MIT", "peer": true, - "optionalDependencies": { - "graceful-fs": "^4.1.6" + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/@react-native-community/cli/node_modules/locate-path": { @@ -4487,6 +4779,39 @@ "node": ">=10" } }, + "node_modules/@react-native-community/cli/node_modules/mimic-fn": { + "version": "2.1.0", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/@react-native-community/cli/node_modules/npm-run-path": { + "version": "4.0.1", + "license": "MIT", + "peer": true, + "dependencies": { + "path-key": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@react-native-community/cli/node_modules/onetime": { + "version": "5.1.2", + "license": "MIT", + "peer": true, + "dependencies": { + "mimic-fn": "^2.1.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/@react-native-community/cli/node_modules/p-limit": { "version": "2.3.0", "license": "MIT", @@ -4526,6 +4851,14 @@ "node": ">=10" } }, + "node_modules/@react-native-community/cli/node_modules/strip-final-newline": { + "version": "2.0.0", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=6" + } + }, "node_modules/@react-native-community/cli/node_modules/supports-color": { "version": "7.2.0", "license": "MIT", @@ -4537,13 +4870,10 @@ "node": ">=8" } }, - "node_modules/@react-native-community/cli/node_modules/universalify": { - "version": "0.1.2", - "license": "MIT", - "peer": true, - "engines": { - "node": ">= 4.0.0" - } + "node_modules/@react-native-community/cli/node_modules/yallist": { + "version": "4.0.0", + "license": "ISC", + "peer": true }, "node_modules/@react-native/assets-registry": { "version": "0.72.0", @@ -4551,7 +4881,7 @@ "peer": true }, "node_modules/@react-native/codegen": { - "version": "0.72.6", + "version": "0.72.7", "license": "MIT", "peer": true, "dependencies": { @@ -4707,12 +5037,13 @@ } }, "node_modules/@react-three/fiber": { - "version": "8.13.7", + "version": "8.14.5", "license": "MIT", "peer": true, "dependencies": { "@babel/runtime": "^7.17.8", "@types/react-reconciler": "^0.26.7", + "base64-js": "^1.5.1", "its-fine": "^1.0.6", "react-reconciler": "^0.27.0", "react-use-measure": "^2.1.1", @@ -4723,6 +5054,7 @@ "peerDependencies": { "expo": ">=43.0", "expo-asset": ">=8.4", + "expo-file-system": ">=11.0", "expo-gl": ">=11.0", "react": ">=18.0", "react-dom": ">=18.0", @@ -4736,6 +5068,9 @@ "expo-asset": { "optional": true }, + "expo-file-system": { + "optional": true + }, "expo-gl": { "optional": true }, @@ -4785,7 +5120,7 @@ } }, "node_modules/@reduxjs/toolkit": { - "version": "1.9.5", + "version": "1.9.7", "license": "MIT", "dependencies": { "immer": "^9.0.21", @@ -4807,7 +5142,7 @@ } }, "node_modules/@remix-run/router": { - "version": "1.8.0", + "version": "1.9.0", "license": "MIT", "engines": { "node": ">=14.0.0" @@ -5013,17 +5348,6 @@ "url": "https://github.com/sponsors/gregberge" } }, - "node_modules/@svgr/core/node_modules/camelcase": { - "version": "6.3.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/@svgr/hast-util-to-babel-ast": { "version": "8.0.0", "dev": true, @@ -5118,7 +5442,7 @@ } }, "node_modules/@tanstack/query-core": { - "version": "4.33.0", + "version": "4.36.1", "license": "MIT", "funding": { "type": "github", @@ -5126,10 +5450,10 @@ } }, "node_modules/@tanstack/react-query": { - "version": "4.33.0", + "version": "4.36.1", "license": "MIT", "dependencies": { - "@tanstack/query-core": "4.33.0", + "@tanstack/query-core": "4.36.1", "use-sync-external-store": "^1.2.0" }, "funding": { @@ -5151,7 +5475,7 @@ } }, "node_modules/@tanstack/react-query-devtools": { - "version": "4.33.0", + "version": "4.36.1", "license": "MIT", "dependencies": { "@tanstack/match-sorter-utils": "^8.7.0", @@ -5163,13 +5487,13 @@ "url": "https://github.com/sponsors/tannerlinsley" }, "peerDependencies": { - "@tanstack/react-query": "^4.33.0", + "@tanstack/react-query": "^4.36.1", "react": "^16.8.0 || ^17.0.0 || ^18.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" } }, "node_modules/@testing-library/dom": { - "version": "9.3.1", + "version": "9.3.3", "dev": true, "license": "MIT", "dependencies": { @@ -5288,11 +5612,11 @@ } }, "node_modules/@testing-library/jest-dom": { - "version": "6.1.2", + "version": "6.1.4", "dev": true, "license": "MIT", "dependencies": { - "@adobe/css-tools": "^4.3.0", + "@adobe/css-tools": "^4.3.1", "@babel/runtime": "^7.9.2", "aria-query": "^5.0.0", "chalk": "^3.0.0", @@ -5406,7 +5730,7 @@ } }, "node_modules/@testing-library/user-event": { - "version": "14.4.3", + "version": "14.5.1", "dev": true, "license": "MIT", "engines": { @@ -5454,7 +5778,7 @@ "license": "MIT" }, "node_modules/@types/aria-query": { - "version": "5.0.1", + "version": "5.0.2", "dev": true, "license": "MIT" }, @@ -5467,7 +5791,7 @@ } }, "node_modules/@types/babel__core": { - "version": "7.20.1", + "version": "7.20.2", "license": "MIT", "dependencies": { "@babel/parser": "^7.20.7", @@ -5478,14 +5802,14 @@ } }, "node_modules/@types/babel__generator": { - "version": "7.6.4", + "version": "7.6.5", "license": "MIT", "dependencies": { "@babel/types": "^7.0.0" } }, "node_modules/@types/babel__template": { - "version": "7.4.1", + "version": "7.4.2", "license": "MIT", "dependencies": { "@babel/parser": "^7.1.0", @@ -5493,14 +5817,14 @@ } }, "node_modules/@types/babel__traverse": { - "version": "7.20.1", + "version": "7.20.2", "license": "MIT", "dependencies": { "@babel/types": "^7.20.7" } }, "node_modules/@types/body-parser": { - "version": "1.19.2", + "version": "1.19.3", "dev": true, "license": "MIT", "dependencies": { @@ -5509,7 +5833,7 @@ } }, "node_modules/@types/bonjour": { - "version": "3.5.10", + "version": "3.5.11", "dev": true, "license": "MIT", "dependencies": { @@ -5517,7 +5841,7 @@ } }, "node_modules/@types/connect": { - "version": "3.4.35", + "version": "3.4.36", "dev": true, "license": "MIT", "dependencies": { @@ -5525,7 +5849,7 @@ } }, "node_modules/@types/connect-history-api-fallback": { - "version": "1.5.0", + "version": "1.5.1", "dev": true, "license": "MIT", "dependencies": { @@ -5534,11 +5858,11 @@ } }, "node_modules/@types/d3-array": { - "version": "3.0.7", + "version": "3.0.8", "license": "MIT" }, "node_modules/@types/d3-color": { - "version": "3.1.0", + "version": "3.1.1", "license": "MIT" }, "node_modules/@types/d3-ease": { @@ -5546,7 +5870,7 @@ "license": "MIT" }, "node_modules/@types/d3-interpolate": { - "version": "3.0.1", + "version": "3.0.2", "license": "MIT", "dependencies": { "@types/d3-color": "*" @@ -5557,14 +5881,14 @@ "license": "MIT" }, "node_modules/@types/d3-scale": { - "version": "4.0.4", + "version": "4.0.5", "license": "MIT", "dependencies": { "@types/d3-time": "*" } }, "node_modules/@types/d3-shape": { - "version": "1.3.8", + "version": "1.3.9", "dev": true, "license": "MIT", "dependencies": { @@ -5572,7 +5896,7 @@ } }, "node_modules/@types/d3-time": { - "version": "3.0.0", + "version": "3.0.1", "license": "MIT" }, "node_modules/@types/d3-timer": { @@ -5580,7 +5904,7 @@ "license": "MIT" }, "node_modules/@types/eslint": { - "version": "8.4.2", + "version": "8.44.4", "dev": true, "license": "MIT", "dependencies": { @@ -5589,7 +5913,7 @@ } }, "node_modules/@types/eslint-scope": { - "version": "3.7.4", + "version": "3.7.5", "dev": true, "license": "MIT", "dependencies": { @@ -5598,12 +5922,12 @@ } }, "node_modules/@types/estree": { - "version": "1.0.1", + "version": "1.0.2", "dev": true, "license": "MIT" }, "node_modules/@types/express": { - "version": "4.17.17", + "version": "4.17.19", "dev": true, "license": "MIT", "dependencies": { @@ -5614,7 +5938,7 @@ } }, "node_modules/@types/express-serve-static-core": { - "version": "4.17.36", + "version": "4.17.37", "dev": true, "license": "MIT", "dependencies": { @@ -5625,19 +5949,19 @@ } }, "node_modules/@types/graceful-fs": { - "version": "4.1.6", + "version": "4.1.7", "license": "MIT", "dependencies": { "@types/node": "*" } }, "node_modules/@types/grecaptcha": { - "version": "3.0.4", + "version": "3.0.5", "dev": true, "license": "MIT" }, "node_modules/@types/hoist-non-react-statics": { - "version": "3.3.1", + "version": "3.3.3", "license": "MIT", "dependencies": { "@types/react": "*", @@ -5645,12 +5969,12 @@ } }, "node_modules/@types/http-errors": { - "version": "2.0.1", + "version": "2.0.2", "dev": true, "license": "MIT" }, "node_modules/@types/http-proxy": { - "version": "1.17.11", + "version": "1.17.12", "dev": true, "license": "MIT", "dependencies": { @@ -5662,21 +5986,21 @@ "license": "MIT" }, "node_modules/@types/istanbul-lib-report": { - "version": "3.0.0", + "version": "3.0.1", "license": "MIT", "dependencies": { "@types/istanbul-lib-coverage": "*" } }, "node_modules/@types/istanbul-reports": { - "version": "3.0.1", + "version": "3.0.2", "license": "MIT", "dependencies": { "@types/istanbul-lib-report": "*" } }, "node_modules/@types/jest": { - "version": "29.5.4", + "version": "29.5.5", "dev": true, "license": "MIT", "dependencies": { @@ -5696,7 +6020,7 @@ } }, "node_modules/@types/jest/node_modules/pretty-format": { - "version": "29.6.3", + "version": "29.7.0", "dev": true, "license": "MIT", "dependencies": { @@ -5714,7 +6038,7 @@ "license": "MIT" }, "node_modules/@types/jquery": { - "version": "3.5.17", + "version": "3.5.22", "dev": true, "license": "MIT", "dependencies": { @@ -5732,7 +6056,7 @@ } }, "node_modules/@types/json-schema": { - "version": "7.0.12", + "version": "7.0.13", "dev": true, "license": "MIT" }, @@ -5742,7 +6066,7 @@ "license": "MIT" }, "node_modules/@types/lodash": { - "version": "4.14.197", + "version": "4.14.199", "dev": true, "license": "MIT" }, @@ -5779,30 +6103,33 @@ } }, "node_modules/@types/mime": { - "version": "1.3.2", + "version": "1.3.3", "dev": true, "license": "MIT" }, "node_modules/@types/node": { - "version": "20.5.7", - "license": "MIT" + "version": "20.8.4", + "license": "MIT", + "dependencies": { + "undici-types": "~5.25.1" + } }, "node_modules/@types/prettier": { - "version": "2.6.3", + "version": "2.7.3", "dev": true, "license": "MIT" }, "node_modules/@types/prop-types": { - "version": "15.7.5", + "version": "15.7.8", "license": "MIT" }, "node_modules/@types/pubsub-js": { - "version": "1.8.3", + "version": "1.8.4", "dev": true, "license": "MIT" }, "node_modules/@types/qs": { - "version": "6.9.7", + "version": "6.9.8", "dev": true, "license": "MIT" }, @@ -5814,12 +6141,12 @@ } }, "node_modules/@types/range-parser": { - "version": "1.2.4", + "version": "1.2.5", "dev": true, "license": "MIT" }, "node_modules/@types/react": { - "version": "18.2.21", + "version": "18.2.28", "license": "MIT", "dependencies": { "@types/prop-types": "*", @@ -5828,7 +6155,7 @@ } }, "node_modules/@types/react-color": { - "version": "3.0.6", + "version": "3.0.7", "dev": true, "license": "MIT", "dependencies": { @@ -5837,7 +6164,7 @@ } }, "node_modules/@types/react-datepicker": { - "version": "4.15.0", + "version": "4.15.2", "dev": true, "license": "MIT", "dependencies": { @@ -5848,7 +6175,7 @@ } }, "node_modules/@types/react-dom": { - "version": "18.2.7", + "version": "18.2.13", "devOptional": true, "license": "MIT", "dependencies": { @@ -5864,7 +6191,7 @@ } }, "node_modules/@types/reactcss": { - "version": "1.2.6", + "version": "1.2.7", "dev": true, "license": "MIT", "dependencies": { @@ -5872,7 +6199,7 @@ } }, "node_modules/@types/recharts": { - "version": "1.8.24", + "version": "1.8.25", "dev": true, "license": "MIT", "dependencies": { @@ -5886,16 +6213,16 @@ "license": "MIT" }, "node_modules/@types/scheduler": { - "version": "0.16.3", + "version": "0.16.4", "license": "MIT" }, "node_modules/@types/semver": { - "version": "7.5.1", + "version": "7.5.3", "dev": true, "license": "MIT" }, "node_modules/@types/send": { - "version": "0.17.1", + "version": "0.17.2", "dev": true, "license": "MIT", "dependencies": { @@ -5904,7 +6231,7 @@ } }, "node_modules/@types/serve-index": { - "version": "1.9.1", + "version": "1.9.2", "dev": true, "license": "MIT", "dependencies": { @@ -5912,7 +6239,7 @@ } }, "node_modules/@types/serve-static": { - "version": "1.15.2", + "version": "1.15.3", "dev": true, "license": "MIT", "dependencies": { @@ -5922,12 +6249,12 @@ } }, "node_modules/@types/sizzle": { - "version": "2.3.3", + "version": "2.3.4", "dev": true, "license": "MIT" }, "node_modules/@types/sockjs": { - "version": "0.3.33", + "version": "0.3.34", "dev": true, "license": "MIT", "dependencies": { @@ -5935,7 +6262,7 @@ } }, "node_modules/@types/sortablejs": { - "version": "1.15.2", + "version": "1.15.3", "dev": true, "license": "MIT" }, @@ -5944,7 +6271,7 @@ "license": "MIT" }, "node_modules/@types/styled-components": { - "version": "5.1.26", + "version": "5.1.28", "dev": true, "license": "MIT", "dependencies": { @@ -5954,16 +6281,16 @@ } }, "node_modules/@types/stylis": { - "version": "4.2.0", + "version": "4.2.1", "license": "MIT" }, "node_modules/@types/tough-cookie": { - "version": "4.0.2", + "version": "4.0.3", "dev": true, "license": "MIT" }, "node_modules/@types/url-parse": { - "version": "1.4.8", + "version": "1.4.9", "dev": true, "license": "MIT" }, @@ -5972,12 +6299,12 @@ "license": "MIT" }, "node_modules/@types/uuid": { - "version": "9.0.2", + "version": "9.0.5", "dev": true, "license": "MIT" }, "node_modules/@types/webpack": { - "version": "5.28.2", + "version": "5.28.3", "dev": true, "license": "MIT", "dependencies": { @@ -5987,7 +6314,7 @@ } }, "node_modules/@types/ws": { - "version": "8.5.5", + "version": "8.5.7", "dev": true, "license": "MIT", "dependencies": { @@ -5995,26 +6322,26 @@ } }, "node_modules/@types/yargs": { - "version": "17.0.24", + "version": "17.0.28", "license": "MIT", "dependencies": { "@types/yargs-parser": "*" } }, "node_modules/@types/yargs-parser": { - "version": "21.0.0", + "version": "21.0.1", "license": "MIT" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "6.5.0", + "version": "6.7.5", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.5.1", - "@typescript-eslint/scope-manager": "6.5.0", - "@typescript-eslint/type-utils": "6.5.0", - "@typescript-eslint/utils": "6.5.0", - "@typescript-eslint/visitor-keys": "6.5.0", + "@typescript-eslint/scope-manager": "6.7.5", + "@typescript-eslint/type-utils": "6.7.5", + "@typescript-eslint/utils": "6.7.5", + "@typescript-eslint/visitor-keys": "6.7.5", "debug": "^4.3.4", "graphemer": "^1.4.0", "ignore": "^5.2.4", @@ -6064,15 +6391,20 @@ "node": ">=10" } }, + "node_modules/@typescript-eslint/eslint-plugin/node_modules/yallist": { + "version": "4.0.0", + "dev": true, + "license": "ISC" + }, "node_modules/@typescript-eslint/parser": { - "version": "6.5.0", + "version": "6.7.5", "dev": true, "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/scope-manager": "6.5.0", - "@typescript-eslint/types": "6.5.0", - "@typescript-eslint/typescript-estree": "6.5.0", - "@typescript-eslint/visitor-keys": "6.5.0", + "@typescript-eslint/scope-manager": "6.7.5", + "@typescript-eslint/types": "6.7.5", + "@typescript-eslint/typescript-estree": "6.7.5", + "@typescript-eslint/visitor-keys": "6.7.5", "debug": "^4.3.4" }, "engines": { @@ -6092,12 +6424,12 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "6.5.0", + "version": "6.7.5", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "6.5.0", - "@typescript-eslint/visitor-keys": "6.5.0" + "@typescript-eslint/types": "6.7.5", + "@typescript-eslint/visitor-keys": "6.7.5" }, "engines": { "node": "^16.0.0 || >=18.0.0" @@ -6108,12 +6440,12 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "6.5.0", + "version": "6.7.5", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/typescript-estree": "6.5.0", - "@typescript-eslint/utils": "6.5.0", + "@typescript-eslint/typescript-estree": "6.7.5", + "@typescript-eslint/utils": "6.7.5", "debug": "^4.3.4", "ts-api-utils": "^1.0.1" }, @@ -6134,7 +6466,7 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "6.5.0", + "version": "6.7.5", "dev": true, "license": "MIT", "engines": { @@ -6146,12 +6478,12 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "6.5.0", + "version": "6.7.5", "dev": true, "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/types": "6.5.0", - "@typescript-eslint/visitor-keys": "6.5.0", + "@typescript-eslint/types": "6.7.5", + "@typescript-eslint/visitor-keys": "6.7.5", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -6196,17 +6528,22 @@ "node": ">=10" } }, + "node_modules/@typescript-eslint/typescript-estree/node_modules/yallist": { + "version": "4.0.0", + "dev": true, + "license": "ISC" + }, "node_modules/@typescript-eslint/utils": { - "version": "6.5.0", + "version": "6.7.5", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", "@types/json-schema": "^7.0.12", "@types/semver": "^7.5.0", - "@typescript-eslint/scope-manager": "6.5.0", - "@typescript-eslint/types": "6.5.0", - "@typescript-eslint/typescript-estree": "6.5.0", + "@typescript-eslint/scope-manager": "6.7.5", + "@typescript-eslint/types": "6.7.5", + "@typescript-eslint/typescript-estree": "6.7.5", "semver": "^7.5.4" }, "engines": { @@ -6245,12 +6582,17 @@ "node": ">=10" } }, + "node_modules/@typescript-eslint/utils/node_modules/yallist": { + "version": "4.0.0", + "dev": true, + "license": "ISC" + }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "6.5.0", + "version": "6.7.5", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "6.5.0", + "@typescript-eslint/types": "6.7.5", "eslint-visitor-keys": "^3.4.1" }, "engines": { @@ -6616,6 +6958,16 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/ansi-escapes/node_modules/type-fest": { + "version": "0.21.3", + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/ansi-fragments": { "version": "0.2.1", "license": "MIT", @@ -6634,6 +6986,11 @@ "node": ">=6" } }, + "node_modules/ansi-fragments/node_modules/colorette": { + "version": "1.4.0", + "license": "MIT", + "peer": true + }, "node_modules/ansi-fragments/node_modules/strip-ansi": { "version": "5.2.0", "license": "MIT", @@ -6726,14 +7083,14 @@ "license": "MIT" }, "node_modules/array-includes": { - "version": "3.1.6", + "version": "3.1.7", "dev": true, "license": "MIT", "dependencies": { "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4", - "get-intrinsic": "^1.1.3", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "get-intrinsic": "^1.2.1", "is-string": "^1.0.7" }, "engines": { @@ -6752,15 +7109,15 @@ } }, "node_modules/array.prototype.findlastindex": { - "version": "1.2.2", + "version": "1.2.3", "dev": true, "license": "MIT", "dependencies": { "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", "es-shim-unscopables": "^1.0.0", - "get-intrinsic": "^1.1.3" + "get-intrinsic": "^1.2.1" }, "engines": { "node": ">= 0.4" @@ -6770,13 +7127,13 @@ } }, "node_modules/array.prototype.flat": { - "version": "1.3.1", + "version": "1.3.2", "dev": true, "license": "MIT", "dependencies": { "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", "es-shim-unscopables": "^1.0.0" }, "engines": { @@ -6787,13 +7144,13 @@ } }, "node_modules/array.prototype.flatmap": { - "version": "1.3.1", + "version": "1.3.2", "dev": true, "license": "MIT", "dependencies": { "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", "es-shim-unscopables": "^1.0.0" }, "engines": { @@ -6804,25 +7161,26 @@ } }, "node_modules/array.prototype.tosorted": { - "version": "1.1.1", + "version": "1.1.2", "dev": true, "license": "MIT", "dependencies": { "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", "es-shim-unscopables": "^1.0.0", - "get-intrinsic": "^1.1.3" + "get-intrinsic": "^1.2.1" } }, "node_modules/arraybuffer.prototype.slice": { - "version": "1.0.1", + "version": "1.0.2", "dev": true, "license": "MIT", "dependencies": { "array-buffer-byte-length": "^1.0.0", "call-bind": "^1.0.2", "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", "get-intrinsic": "^1.2.1", "is-array-buffer": "^3.0.2", "is-shared-array-buffer": "^1.0.2" @@ -6881,7 +7239,7 @@ "license": "MIT" }, "node_modules/autoprefixer": { - "version": "10.4.15", + "version": "10.4.16", "dev": true, "funding": [ { @@ -6900,8 +7258,8 @@ "license": "MIT", "dependencies": { "browserslist": "^4.21.10", - "caniuse-lite": "^1.0.30001520", - "fraction.js": "^4.2.0", + "caniuse-lite": "^1.0.30001538", + "fraction.js": "^4.3.6", "normalize-range": "^0.1.2", "picocolors": "^1.0.0", "postcss-value-parser": "^4.2.0" @@ -6928,7 +7286,7 @@ } }, "node_modules/axios": { - "version": "1.5.0", + "version": "1.5.1", "license": "MIT", "dependencies": { "follow-redirects": "^1.15.0", @@ -6945,10 +7303,10 @@ } }, "node_modules/babel-jest": { - "version": "29.6.4", + "version": "29.7.0", "license": "MIT", "dependencies": { - "@jest/transform": "^29.6.4", + "@jest/transform": "^29.7.0", "@types/babel__core": "^7.1.14", "babel-plugin-istanbul": "^6.1.1", "babel-preset-jest": "^29.6.3", @@ -7037,55 +7395,6 @@ "webpack": ">=5" } }, - "node_modules/babel-loader/node_modules/ajv": { - "version": "8.12.0", - "dev": true, - "license": "MIT", - "dependencies": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/babel-loader/node_modules/ajv-keywords": { - "version": "5.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "fast-deep-equal": "^3.1.3" - }, - "peerDependencies": { - "ajv": "^8.8.2" - } - }, - "node_modules/babel-loader/node_modules/json-schema-traverse": { - "version": "1.0.0", - "dev": true, - "license": "MIT" - }, - "node_modules/babel-loader/node_modules/schema-utils": { - "version": "4.2.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/json-schema": "^7.0.9", - "ajv": "^8.9.0", - "ajv-formats": "^2.1.1", - "ajv-keywords": "^5.1.0" - }, - "engines": { - "node": ">= 12.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - } - }, "node_modules/babel-plugin-istanbul": { "version": "6.1.1", "license": "BSD-3-Clause", @@ -7128,11 +7437,11 @@ } }, "node_modules/babel-plugin-polyfill-corejs2": { - "version": "0.4.5", + "version": "0.4.6", "license": "MIT", "dependencies": { "@babel/compat-data": "^7.22.6", - "@babel/helper-define-polyfill-provider": "^0.4.2", + "@babel/helper-define-polyfill-provider": "^0.4.3", "semver": "^6.3.1" }, "peerDependencies": { @@ -7140,21 +7449,21 @@ } }, "node_modules/babel-plugin-polyfill-corejs3": { - "version": "0.8.3", + "version": "0.8.5", "license": "MIT", "dependencies": { - "@babel/helper-define-polyfill-provider": "^0.4.2", - "core-js-compat": "^3.31.0" + "@babel/helper-define-polyfill-provider": "^0.4.3", + "core-js-compat": "^3.32.2" }, "peerDependencies": { "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" } }, "node_modules/babel-plugin-polyfill-regenerator": { - "version": "0.5.2", + "version": "0.5.3", "license": "MIT", "dependencies": { - "@babel/helper-define-polyfill-provider": "^0.4.2" + "@babel/helper-define-polyfill-provider": "^0.4.3" }, "peerDependencies": { "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" @@ -7418,7 +7727,7 @@ "license": "MIT" }, "node_modules/browserslist": { - "version": "4.21.10", + "version": "4.22.1", "funding": [ { "type": "opencollective", @@ -7435,10 +7744,10 @@ ], "license": "MIT", "dependencies": { - "caniuse-lite": "^1.0.30001517", - "electron-to-chromium": "^1.4.477", + "caniuse-lite": "^1.0.30001541", + "electron-to-chromium": "^1.4.535", "node-releases": "^2.0.13", - "update-browserslist-db": "^1.0.11" + "update-browserslist-db": "^1.0.13" }, "bin": { "browserslist": "cli.js" @@ -7562,10 +7871,13 @@ } }, "node_modules/camelcase": { - "version": "5.3.1", + "version": "6.3.0", "license": "MIT", "engines": { - "node": ">=6" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/camelize": { @@ -7576,7 +7888,7 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001524", + "version": "1.0.30001547", "funding": [ { "type": "opencollective", @@ -7658,7 +7970,7 @@ } }, "node_modules/ci-info": { - "version": "3.8.0", + "version": "3.9.0", "funding": [ { "type": "github", @@ -7690,7 +8002,7 @@ } }, "node_modules/cli-spinners": { - "version": "2.6.1", + "version": "2.9.1", "license": "MIT", "peer": true, "engines": { @@ -7700,10 +8012,79 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/cliui": { + "version": "8.0.1", + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/cliui/node_modules/ansi-styles": { + "version": "4.3.0", + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/cliui/node_modules/color-convert": { + "version": "2.0.1", + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/cliui/node_modules/color-name": { + "version": "1.1.4", + "license": "MIT" + }, + "node_modules/cliui/node_modules/emoji-regex": { + "version": "8.0.0", + "license": "MIT" + }, + "node_modules/cliui/node_modules/string-width": { + "version": "4.2.3", + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/cliui/node_modules/wrap-ansi": { + "version": "7.0.0", + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, "node_modules/clone": { - "version": "1.0.4", + "version": "2.1.2", "license": "MIT", - "peer": true, "engines": { "node": ">=0.8" } @@ -7720,16 +8101,6 @@ "node": ">=6" } }, - "node_modules/clone-deep/node_modules/is-plain-object": { - "version": "2.0.4", - "license": "MIT", - "dependencies": { - "isobject": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/clsx": { "version": "2.0.0", "license": "MIT", @@ -7761,9 +8132,9 @@ "license": "MIT" }, "node_modules/colorette": { - "version": "1.4.0", - "license": "MIT", - "peer": true + "version": "2.0.20", + "dev": true, + "license": "MIT" }, "node_modules/combined-stream": { "version": "1.0.8", @@ -7781,12 +8152,8 @@ "peer": true }, "node_modules/commander": { - "version": "9.5.0", - "license": "MIT", - "peer": true, - "engines": { - "node": "^12.20.0 || >=14" - } + "version": "2.20.3", + "license": "MIT" }, "node_modules/common-path-prefix": { "version": "3.0.0", @@ -7843,6 +8210,10 @@ "version": "2.0.0", "license": "MIT" }, + "node_modules/compression/node_modules/safe-buffer": { + "version": "5.1.2", + "license": "MIT" + }, "node_modules/concat-map": { "version": "0.0.1", "license": "MIT" @@ -7893,25 +8264,6 @@ "node": ">= 0.6" } }, - "node_modules/content-disposition/node_modules/safe-buffer": { - "version": "5.2.1", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT" - }, "node_modules/content-type": { "version": "1.0.5", "dev": true, @@ -7921,11 +8273,8 @@ } }, "node_modules/convert-source-map": { - "version": "1.8.0", - "license": "MIT", - "dependencies": { - "safe-buffer": "~5.1.1" - } + "version": "2.0.0", + "license": "MIT" }, "node_modules/cookie": { "version": "0.5.0", @@ -7954,7 +8303,7 @@ } }, "node_modules/core-js": { - "version": "3.32.1", + "version": "3.33.0", "hasInstallScript": true, "license": "MIT", "funding": { @@ -7963,10 +8312,10 @@ } }, "node_modules/core-js-compat": { - "version": "3.32.1", + "version": "3.33.0", "license": "MIT", "dependencies": { - "browserslist": "^4.21.10" + "browserslist": "^4.22.1" }, "funding": { "type": "opencollective", @@ -7974,7 +8323,7 @@ } }, "node_modules/core-js-pure": { - "version": "3.32.1", + "version": "3.33.0", "dev": true, "hasInstallScript": true, "license": "MIT", @@ -7988,13 +8337,13 @@ "license": "MIT" }, "node_modules/cosmiconfig": { - "version": "8.2.0", + "version": "8.3.6", "dev": true, "license": "MIT", "dependencies": { - "import-fresh": "^3.2.1", + "import-fresh": "^3.3.0", "js-yaml": "^4.1.0", - "parse-json": "^5.0.0", + "parse-json": "^5.2.0", "path-type": "^4.0.0" }, "engines": { @@ -8002,12 +8351,97 @@ }, "funding": { "url": "https://github.com/sponsors/d-fischer" + }, + "peerDependencies": { + "typescript": ">=4.9.5" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, "node_modules/craftcms-sass": { "version": "3.5.7", "license": "MIT" }, + "node_modules/create-jest": { + "version": "29.7.0", + "license": "MIT", + "dependencies": { + "@jest/types": "^29.6.3", + "chalk": "^4.0.0", + "exit": "^0.1.2", + "graceful-fs": "^4.2.9", + "jest-config": "^29.7.0", + "jest-util": "^29.7.0", + "prompts": "^2.0.1" + }, + "bin": { + "create-jest": "bin/create-jest.js" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/create-jest/node_modules/ansi-styles": { + "version": "4.3.0", + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/create-jest/node_modules/chalk": { + "version": "4.1.2", + "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/create-jest/node_modules/color-convert": { + "version": "2.0.1", + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/create-jest/node_modules/color-name": { + "version": "1.1.4", + "license": "MIT" + }, + "node_modules/create-jest/node_modules/has-flag": { + "version": "4.0.0", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/create-jest/node_modules/supports-color": { + "version": "7.2.0", + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/create-require": { "version": "1.1.1", "devOptional": true, @@ -8082,6 +8516,11 @@ "node": ">=10" } }, + "node_modules/css-loader/node_modules/yallist": { + "version": "4.0.0", + "dev": true, + "license": "ISC" + }, "node_modules/css-select": { "version": "5.1.0", "dev": true, @@ -8311,37 +8750,6 @@ "node": ">=14" } }, - "node_modules/data-urls/node_modules/tr46": { - "version": "4.1.1", - "dev": true, - "license": "MIT", - "dependencies": { - "punycode": "^2.3.0" - }, - "engines": { - "node": ">=14" - } - }, - "node_modules/data-urls/node_modules/webidl-conversions": { - "version": "7.0.0", - "dev": true, - "license": "BSD-2-Clause", - "engines": { - "node": ">=12" - } - }, - "node_modules/data-urls/node_modules/whatwg-url": { - "version": "12.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "tr46": "^4.1.1", - "webidl-conversions": "^7.0.0" - }, - "engines": { - "node": ">=14" - } - }, "node_modules/date-fns": { "version": "2.30.0", "license": "MIT", @@ -8357,7 +8765,7 @@ } }, "node_modules/dayjs": { - "version": "1.11.9", + "version": "1.11.10", "license": "MIT", "peer": true }, @@ -8398,6 +8806,18 @@ "version": "2.5.1", "license": "MIT" }, + "node_modules/dedent": { + "version": "1.5.1", + "license": "MIT", + "peerDependencies": { + "babel-plugin-macros": "^3.1.0" + }, + "peerDependenciesMeta": { + "babel-plugin-macros": { + "optional": true + } + } + }, "node_modules/deep-equal": { "version": "2.2.2", "dev": true, @@ -8470,153 +8890,146 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/default-browser/node_modules/execa": { - "version": "7.2.0", + "node_modules/default-gateway": { + "version": "6.0.3", "dev": true, - "license": "MIT", + "license": "BSD-2-Clause", "dependencies": { - "cross-spawn": "^7.0.3", - "get-stream": "^6.0.1", - "human-signals": "^4.3.0", - "is-stream": "^3.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^5.1.0", - "onetime": "^6.0.0", - "signal-exit": "^3.0.7", - "strip-final-newline": "^3.0.0" + "execa": "^5.0.0" }, "engines": { - "node": "^14.18.0 || ^16.14.0 || >=18.0.0" - }, - "funding": { - "url": "https://github.com/sindresorhus/execa?sponsor=1" + "node": ">= 10" } }, - "node_modules/default-browser/node_modules/get-stream": { - "version": "6.0.1", + "node_modules/default-gateway/node_modules/execa": { + "version": "5.1.1", "dev": true, "license": "MIT", + "dependencies": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + }, "engines": { "node": ">=10" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/sindresorhus/execa?sponsor=1" } }, - "node_modules/default-browser/node_modules/human-signals": { - "version": "4.3.1", + "node_modules/default-gateway/node_modules/human-signals": { + "version": "2.1.0", "dev": true, "license": "Apache-2.0", "engines": { - "node": ">=14.18.0" + "node": ">=10.17.0" } }, - "node_modules/default-browser/node_modules/is-stream": { - "version": "3.0.0", + "node_modules/default-gateway/node_modules/is-stream": { + "version": "2.0.1", "dev": true, "license": "MIT", "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + "node": ">=8" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/default-browser/node_modules/mimic-fn": { - "version": "4.0.0", + "node_modules/default-gateway/node_modules/mimic-fn": { + "version": "2.1.0", "dev": true, "license": "MIT", "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=6" } }, - "node_modules/default-browser/node_modules/npm-run-path": { - "version": "5.1.0", + "node_modules/default-gateway/node_modules/npm-run-path": { + "version": "4.0.1", "dev": true, "license": "MIT", "dependencies": { - "path-key": "^4.0.0" + "path-key": "^3.0.0" }, "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=8" } }, - "node_modules/default-browser/node_modules/onetime": { - "version": "6.0.0", + "node_modules/default-gateway/node_modules/onetime": { + "version": "5.1.2", "dev": true, "license": "MIT", "dependencies": { - "mimic-fn": "^4.0.0" + "mimic-fn": "^2.1.0" }, "engines": { - "node": ">=12" + "node": ">=6" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/default-browser/node_modules/path-key": { - "version": "4.0.0", + "node_modules/default-gateway/node_modules/strip-final-newline": { + "version": "2.0.0", "dev": true, "license": "MIT", "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=6" } }, - "node_modules/default-browser/node_modules/strip-final-newline": { - "version": "3.0.0", - "dev": true, + "node_modules/defaults": { + "version": "1.0.4", "license": "MIT", - "engines": { - "node": ">=12" + "peer": true, + "dependencies": { + "clone": "^1.0.2" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/default-gateway": { - "version": "6.0.3", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "execa": "^5.0.0" - }, + "node_modules/defaults/node_modules/clone": { + "version": "1.0.4", + "license": "MIT", + "peer": true, "engines": { - "node": ">= 10" + "node": ">=0.8" } }, - "node_modules/defaults": { - "version": "1.0.4", + "node_modules/define-data-property": { + "version": "1.1.0", "license": "MIT", - "peer": true, "dependencies": { - "clone": "^1.0.2" + "get-intrinsic": "^1.2.1", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.0" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "engines": { + "node": ">= 0.4" } }, "node_modules/define-lazy-prop": { - "version": "2.0.0", + "version": "3.0.0", "dev": true, "license": "MIT", "engines": { - "node": ">=8" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/define-properties": { - "version": "1.2.0", + "version": "1.2.1", "license": "MIT", "dependencies": { + "define-data-property": "^1.0.1", "has-property-descriptors": "^1.0.0", "object-keys": "^1.1.1" }, @@ -8783,14 +9196,6 @@ "node": ">=12" } }, - "node_modules/domexception/node_modules/webidl-conversions": { - "version": "7.0.0", - "dev": true, - "license": "BSD-2-Clause", - "engines": { - "node": ">=12" - } - }, "node_modules/domhandler": { "version": "5.0.3", "dev": true, @@ -8837,7 +9242,7 @@ "license": "MIT" }, "node_modules/electron-to-chromium": { - "version": "1.4.504", + "version": "1.4.551", "license": "ISC" }, "node_modules/elliptic": { @@ -8865,7 +9270,8 @@ } }, "node_modules/emoji-regex": { - "version": "8.0.0", + "version": "9.2.2", + "dev": true, "license": "MIT" }, "node_modules/emojis-list": { @@ -8883,27 +9289,6 @@ "node": ">= 0.8" } }, - "node_modules/encoding": { - "version": "0.1.13", - "license": "MIT", - "optional": true, - "peer": true, - "dependencies": { - "iconv-lite": "^0.6.2" - } - }, - "node_modules/encoding/node_modules/iconv-lite": { - "version": "0.6.3", - "license": "MIT", - "optional": true, - "peer": true, - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/enhanced-resolve": { "version": "5.15.0", "dev": true, @@ -8928,7 +9313,7 @@ } }, "node_modules/envinfo": { - "version": "7.8.1", + "version": "7.10.0", "license": "MIT", "bin": { "envinfo": "dist/cli.js" @@ -8964,17 +9349,17 @@ } }, "node_modules/es-abstract": { - "version": "1.22.1", + "version": "1.22.2", "dev": true, "license": "MIT", "dependencies": { "array-buffer-byte-length": "^1.0.0", - "arraybuffer.prototype.slice": "^1.0.1", + "arraybuffer.prototype.slice": "^1.0.2", "available-typed-arrays": "^1.0.5", "call-bind": "^1.0.2", "es-set-tostringtag": "^2.0.1", "es-to-primitive": "^1.2.1", - "function.prototype.name": "^1.1.5", + "function.prototype.name": "^1.1.6", "get-intrinsic": "^1.2.1", "get-symbol-description": "^1.0.0", "globalthis": "^1.0.3", @@ -8990,23 +9375,23 @@ "is-regex": "^1.1.4", "is-shared-array-buffer": "^1.0.2", "is-string": "^1.0.7", - "is-typed-array": "^1.1.10", + "is-typed-array": "^1.1.12", "is-weakref": "^1.0.2", "object-inspect": "^1.12.3", "object-keys": "^1.1.1", "object.assign": "^4.1.4", - "regexp.prototype.flags": "^1.5.0", - "safe-array-concat": "^1.0.0", + "regexp.prototype.flags": "^1.5.1", + "safe-array-concat": "^1.0.1", "safe-regex-test": "^1.0.0", - "string.prototype.trim": "^1.2.7", - "string.prototype.trimend": "^1.0.6", - "string.prototype.trimstart": "^1.0.6", + "string.prototype.trim": "^1.2.8", + "string.prototype.trimend": "^1.0.7", + "string.prototype.trimstart": "^1.0.7", "typed-array-buffer": "^1.0.0", "typed-array-byte-length": "^1.0.0", "typed-array-byte-offset": "^1.0.0", "typed-array-length": "^1.0.4", "unbox-primitive": "^1.0.2", - "which-typed-array": "^1.1.10" + "which-typed-array": "^1.1.11" }, "engines": { "node": ">= 0.4" @@ -9035,13 +9420,13 @@ } }, "node_modules/es-iterator-helpers": { - "version": "1.0.14", + "version": "1.0.15", "dev": true, "license": "MIT", "dependencies": { "asynciterator.prototype": "^1.0.0", "call-bind": "^1.0.2", - "define-properties": "^1.2.0", + "define-properties": "^1.2.1", "es-abstract": "^1.22.1", "es-set-tostringtag": "^2.0.1", "function-bind": "^1.1.1", @@ -9051,12 +9436,12 @@ "has-proto": "^1.0.1", "has-symbols": "^1.0.3", "internal-slot": "^1.0.5", - "iterator.prototype": "^1.1.0", - "safe-array-concat": "^1.0.0" + "iterator.prototype": "^1.1.2", + "safe-array-concat": "^1.0.1" } }, "node_modules/es-module-lexer": { - "version": "1.3.0", + "version": "1.3.1", "dev": true, "license": "MIT" }, @@ -9135,16 +9520,25 @@ "source-map": "~0.6.1" } }, + "node_modules/escodegen/node_modules/source-map": { + "version": "0.6.1", + "dev": true, + "license": "BSD-3-Clause", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/eslint": { - "version": "8.48.0", + "version": "8.51.0", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", "@eslint/eslintrc": "^2.1.2", - "@eslint/js": "8.48.0", - "@humanwhocodes/config-array": "^0.11.10", + "@eslint/js": "8.51.0", + "@humanwhocodes/config-array": "^0.11.11", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", "ajv": "^6.12.4", @@ -9310,7 +9704,7 @@ } }, "node_modules/eslint-plugin-prettier": { - "version": "5.0.0", + "version": "5.0.1", "dev": true, "license": "MIT", "dependencies": { @@ -9378,11 +9772,11 @@ } }, "node_modules/eslint-plugin-react/node_modules/resolve": { - "version": "2.0.0-next.4", + "version": "2.0.0-next.5", "dev": true, "license": "MIT", "dependencies": { - "is-core-module": "^2.9.0", + "is-core-module": "^2.13.0", "path-parse": "^1.0.7", "supports-preserve-symlinks-flag": "^1.0.0" }, @@ -9540,7 +9934,7 @@ } }, "node_modules/eslint/node_modules/globals": { - "version": "13.21.0", + "version": "13.23.0", "dev": true, "license": "MIT", "dependencies": { @@ -9572,17 +9966,6 @@ "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, @@ -9674,7 +10057,7 @@ } }, "node_modules/eventemitter3": { - "version": "4.0.7", + "version": "2.0.3", "license": "MIT" }, "node_modules/events": { @@ -9686,21 +10069,22 @@ } }, "node_modules/execa": { - "version": "5.0.0", + "version": "7.2.0", + "dev": true, "license": "MIT", "dependencies": { "cross-spawn": "^7.0.3", - "get-stream": "^6.0.0", - "human-signals": "^2.1.0", - "is-stream": "^2.0.0", + "get-stream": "^6.0.1", + "human-signals": "^4.3.0", + "is-stream": "^3.0.0", "merge-stream": "^2.0.0", - "npm-run-path": "^4.0.1", - "onetime": "^5.1.2", - "signal-exit": "^3.0.3", - "strip-final-newline": "^2.0.0" + "npm-run-path": "^5.1.0", + "onetime": "^6.0.0", + "signal-exit": "^3.0.7", + "strip-final-newline": "^3.0.0" }, "engines": { - "node": ">=10" + "node": "^14.18.0 || ^16.14.0 || >=18.0.0" }, "funding": { "url": "https://github.com/sindresorhus/execa?sponsor=1" @@ -9713,14 +10097,14 @@ } }, "node_modules/expect": { - "version": "29.6.4", + "version": "29.7.0", "license": "MIT", "dependencies": { - "@jest/expect-utils": "^29.6.4", + "@jest/expect-utils": "^29.7.0", "jest-get-type": "^29.6.3", - "jest-matcher-utils": "^29.6.4", - "jest-message-util": "^29.6.3", - "jest-util": "^29.6.3" + "jest-matcher-utils": "^29.7.0", + "jest-message-util": "^29.7.0", + "jest-util": "^29.7.0" }, "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" @@ -9813,25 +10197,6 @@ "node": ">= 0.8" } }, - "node_modules/express/node_modules/safe-buffer": { - "version": "5.2.1", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT" - }, "node_modules/express/node_modules/statuses": { "version": "2.0.1", "dev": true, @@ -9849,7 +10214,7 @@ "license": "MIT" }, "node_modules/fast-diff": { - "version": "1.2.0", + "version": "1.3.0", "dev": true, "license": "Apache-2.0" }, @@ -9896,15 +10261,15 @@ "license": "MIT" }, "node_modules/fast-xml-parser": { - "version": "4.2.7", + "version": "4.3.2", "funding": [ - { - "type": "paypal", - "url": "https://paypal.me/naturalintelligence" - }, { "type": "github", "url": "https://github.com/sponsors/NaturalIntelligence" + }, + { + "type": "paypal", + "url": "https://paypal.me/naturalintelligence" } ], "license": "MIT", @@ -9925,7 +10290,7 @@ } }, "node_modules/fastq": { - "version": "1.13.0", + "version": "1.15.0", "dev": true, "license": "ISC", "dependencies": { @@ -9962,7 +10327,7 @@ } }, "node_modules/filesize": { - "version": "10.0.12", + "version": "10.1.0", "license": "BSD-3-Clause", "engines": { "node": ">= 10.4.0" @@ -10023,96 +10388,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/find-cache-dir/node_modules/find-up": { - "version": "6.3.0", - "dev": true, - "license": "MIT", - "dependencies": { - "locate-path": "^7.1.0", - "path-exists": "^5.0.0" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/find-cache-dir/node_modules/locate-path": { - "version": "7.2.0", - "dev": true, - "license": "MIT", - "dependencies": { - "p-locate": "^6.0.0" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/find-cache-dir/node_modules/p-limit": { - "version": "4.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "yocto-queue": "^1.0.0" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/find-cache-dir/node_modules/p-locate": { - "version": "6.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "p-limit": "^4.0.0" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/find-cache-dir/node_modules/path-exists": { - "version": "5.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - } - }, - "node_modules/find-cache-dir/node_modules/pkg-dir": { - "version": "7.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "find-up": "^6.3.0" - }, - "engines": { - "node": ">=14.16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/find-cache-dir/node_modules/yocto-queue": { - "version": "1.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12.20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/find-up": { "version": "5.0.0", "license": "MIT", @@ -10128,19 +10403,20 @@ } }, "node_modules/flat-cache": { - "version": "3.0.4", + "version": "3.1.1", "dev": true, "license": "MIT", "dependencies": { - "flatted": "^3.1.0", + "flatted": "^3.2.9", + "keyv": "^4.5.3", "rimraf": "^3.0.2" }, "engines": { - "node": "^10.12.0 || >=12.0.0" + "node": ">=12.0.0" } }, "node_modules/flatted": { - "version": "3.2.5", + "version": "3.2.9", "dev": true, "license": "ISC" }, @@ -10158,7 +10434,7 @@ } }, "node_modules/follow-redirects": { - "version": "1.15.2", + "version": "1.15.3", "funding": [ { "type": "individual", @@ -10230,7 +10506,7 @@ } }, "node_modules/fraction.js": { - "version": "4.2.1", + "version": "4.3.6", "dev": true, "license": "MIT", "engines": { @@ -10238,7 +10514,7 @@ }, "funding": { "type": "patreon", - "url": "https://www.patreon.com/infusion" + "url": "https://github.com/sponsors/rawify" } }, "node_modules/fresh": { @@ -10248,8 +10524,21 @@ "node": ">= 0.6" } }, + "node_modules/fs-extra": { + "version": "8.1.0", + "license": "MIT", + "peer": true, + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + }, + "engines": { + "node": ">=6 <7 || >=8" + } + }, "node_modules/fs-monkey": { - "version": "1.0.4", + "version": "1.0.5", "dev": true, "license": "Unlicense" }, @@ -10335,7 +10624,7 @@ } }, "node_modules/get-stream": { - "version": "6.0.0", + "version": "6.0.1", "license": "MIT", "engines": { "node": ">=10" @@ -10435,7 +10724,6 @@ }, "node_modules/gopd": { "version": "1.0.1", - "dev": true, "license": "MIT", "dependencies": { "get-intrinsic": "^1.1.3" @@ -10464,11 +10752,8 @@ "license": "(Apache-2.0 OR MPL-1.1)" }, "node_modules/has": { - "version": "1.0.3", + "version": "1.0.4", "license": "MIT", - "dependencies": { - "function-bind": "^1.1.1" - }, "engines": { "node": ">= 0.4.0" } @@ -10583,14 +10868,6 @@ "node": ">=8" } }, - "node_modules/hermes-profile-transformer/node_modules/source-map": { - "version": "0.7.4", - "license": "BSD-3-Clause", - "peer": true, - "engines": { - "node": ">= 8" - } - }, "node_modules/hmac-drbg": { "version": "1.0.1", "dev": true, @@ -10619,6 +10896,14 @@ "node": "^16.14.0 || >=18.0.0" } }, + "node_modules/hosted-git-info/node_modules/lru-cache": { + "version": "10.0.1", + "dev": true, + "license": "ISC", + "engines": { + "node": "14 || >=16.14" + } + }, "node_modules/hpack.js": { "version": "2.1.6", "dev": true, @@ -10649,6 +10934,11 @@ "util-deprecate": "~1.0.1" } }, + "node_modules/hpack.js/node_modules/safe-buffer": { + "version": "5.1.2", + "dev": true, + "license": "MIT" + }, "node_modules/hpack.js/node_modules/string_decoder": { "version": "1.1.1", "dev": true, @@ -10767,16 +11057,10 @@ } } }, - "node_modules/http-proxy-middleware/node_modules/is-plain-obj": { - "version": "3.0.0", + "node_modules/http-proxy/node_modules/eventemitter3": { + "version": "4.0.7", "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } + "license": "MIT" }, "node_modules/https-proxy-agent": { "version": "5.0.1", @@ -10791,10 +11075,11 @@ } }, "node_modules/human-signals": { - "version": "2.1.0", + "version": "4.3.1", + "dev": true, "license": "Apache-2.0", "engines": { - "node": ">=10.17.0" + "node": ">=14.18.0" } }, "node_modules/iconv-lite": { @@ -10921,6 +11206,60 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/import-local/node_modules/find-up": { + "version": "4.1.0", + "license": "MIT", + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/import-local/node_modules/locate-path": { + "version": "5.0.0", + "license": "MIT", + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/import-local/node_modules/p-limit": { + "version": "2.3.0", + "license": "MIT", + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/import-local/node_modules/p-locate": { + "version": "4.1.0", + "license": "MIT", + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/import-local/node_modules/pkg-dir": { + "version": "4.2.0", + "license": "MIT", + "dependencies": { + "find-up": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/imurmurhash": { "version": "0.1.4", "license": "MIT", @@ -10949,11 +11288,11 @@ "license": "ISC" }, "node_modules/ini": { - "version": "3.0.0", + "version": "4.1.1", "dev": true, "license": "ISC", "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/install": { @@ -10999,6 +11338,11 @@ "loose-envify": "^1.0.0" } }, + "node_modules/ip": { + "version": "1.1.8", + "license": "MIT", + "peer": true + }, "node_modules/ipaddr.js": { "version": "2.1.0", "dev": true, @@ -11132,14 +11476,14 @@ } }, "node_modules/is-docker": { - "version": "2.2.1", + "version": "3.0.0", "dev": true, "license": "MIT", "bin": { "is-docker": "cli.js" }, "engines": { - "node": ">=8" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -11220,20 +11564,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/is-inside-container/node_modules/is-docker": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "bin": { - "is-docker": "cli.js" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/is-interactive": { "version": "1.0.0", "license": "MIT", @@ -11290,6 +11620,27 @@ "node": ">=8" } }, + "node_modules/is-plain-obj": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-plain-object": { + "version": "2.0.4", + "license": "MIT", + "dependencies": { + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/is-potential-custom-element-name": { "version": "1.0.1", "dev": true, @@ -11329,10 +11680,14 @@ } }, "node_modules/is-stream": { - "version": "2.0.0", + "version": "3.0.0", + "dev": true, "license": "MIT", "engines": { - "node": ">=8" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/is-string": { @@ -11440,6 +11795,20 @@ "node": ">=8" } }, + "node_modules/is-wsl/node_modules/is-docker": { + "version": "2.2.1", + "dev": true, + "license": "MIT", + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/isarray": { "version": "2.0.5", "dev": true, @@ -11464,7 +11833,7 @@ } }, "node_modules/istanbul-lib-instrument": { - "version": "6.0.0", + "version": "6.0.1", "license": "BSD-3-Clause", "dependencies": { "@babel/core": "^7.12.3", @@ -11500,6 +11869,10 @@ "node": ">=10" } }, + "node_modules/istanbul-lib-instrument/node_modules/yallist": { + "version": "4.0.0", + "license": "ISC" + }, "node_modules/istanbul-lib-report": { "version": "3.0.1", "license": "BSD-3-Clause", @@ -11519,42 +11892,6 @@ "node": ">=8" } }, - "node_modules/istanbul-lib-report/node_modules/lru-cache": { - "version": "6.0.0", - "license": "ISC", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/istanbul-lib-report/node_modules/make-dir": { - "version": "4.0.0", - "license": "MIT", - "dependencies": { - "semver": "^7.5.3" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/istanbul-lib-report/node_modules/semver": { - "version": "7.5.4", - "license": "ISC", - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/istanbul-lib-report/node_modules/supports-color": { "version": "7.2.0", "license": "MIT", @@ -11577,6 +11914,13 @@ "node": ">=10" } }, + "node_modules/istanbul-lib-source-maps/node_modules/source-map": { + "version": "0.6.1", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/istanbul-reports": { "version": "3.1.6", "license": "BSD-3-Clause", @@ -11589,15 +11933,15 @@ } }, "node_modules/iterator.prototype": { - "version": "1.1.0", + "version": "1.1.2", "dev": true, "license": "MIT", "dependencies": { - "define-properties": "^1.1.4", - "get-intrinsic": "^1.1.3", + "define-properties": "^1.2.1", + "get-intrinsic": "^1.2.1", "has-symbols": "^1.0.3", - "has-tostringtag": "^1.0.0", - "reflect.getprototypeof": "^1.0.3" + "reflect.getprototypeof": "^1.0.4", + "set-function-name": "^2.0.1" } }, "node_modules/its-fine": { @@ -11612,7 +11956,7 @@ } }, "node_modules/its-fine/node_modules/@types/react-reconciler": { - "version": "0.28.3", + "version": "0.28.5", "license": "MIT", "peer": true, "dependencies": { @@ -11620,7 +11964,7 @@ } }, "node_modules/jackspeak": { - "version": "2.3.0", + "version": "2.3.6", "dev": true, "license": "BlueOak-1.0.0", "dependencies": { @@ -11637,13 +11981,13 @@ } }, "node_modules/jest": { - "version": "29.6.4", + "version": "29.7.0", "license": "MIT", "dependencies": { - "@jest/core": "^29.6.4", + "@jest/core": "^29.7.0", "@jest/types": "^29.6.3", "import-local": "^3.0.2", - "jest-cli": "^29.6.4" + "jest-cli": "^29.7.0" }, "bin": { "jest": "bin/jest.js" @@ -11661,38 +12005,113 @@ } }, "node_modules/jest-changed-files": { - "version": "29.6.3", + "version": "29.7.0", "license": "MIT", "dependencies": { "execa": "^5.0.0", - "jest-util": "^29.6.3", + "jest-util": "^29.7.0", "p-limit": "^3.1.0" }, "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, + "node_modules/jest-changed-files/node_modules/execa": { + "version": "5.1.1", + "license": "MIT", + "dependencies": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "node_modules/jest-changed-files/node_modules/human-signals": { + "version": "2.1.0", + "license": "Apache-2.0", + "engines": { + "node": ">=10.17.0" + } + }, + "node_modules/jest-changed-files/node_modules/is-stream": { + "version": "2.0.1", + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/jest-changed-files/node_modules/mimic-fn": { + "version": "2.1.0", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/jest-changed-files/node_modules/npm-run-path": { + "version": "4.0.1", + "license": "MIT", + "dependencies": { + "path-key": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-changed-files/node_modules/onetime": { + "version": "5.1.2", + "license": "MIT", + "dependencies": { + "mimic-fn": "^2.1.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/jest-changed-files/node_modules/strip-final-newline": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, "node_modules/jest-circus": { - "version": "29.6.4", + "version": "29.7.0", "license": "MIT", "dependencies": { - "@jest/environment": "^29.6.4", - "@jest/expect": "^29.6.4", - "@jest/test-result": "^29.6.4", + "@jest/environment": "^29.7.0", + "@jest/expect": "^29.7.0", + "@jest/test-result": "^29.7.0", "@jest/types": "^29.6.3", "@types/node": "*", "chalk": "^4.0.0", "co": "^4.6.0", "dedent": "^1.0.0", "is-generator-fn": "^2.0.0", - "jest-each": "^29.6.3", - "jest-matcher-utils": "^29.6.4", - "jest-message-util": "^29.6.3", - "jest-runtime": "^29.6.4", - "jest-snapshot": "^29.6.4", - "jest-util": "^29.6.3", + "jest-each": "^29.7.0", + "jest-matcher-utils": "^29.7.0", + "jest-message-util": "^29.7.0", + "jest-runtime": "^29.7.0", + "jest-snapshot": "^29.7.0", + "jest-util": "^29.7.0", "p-limit": "^3.1.0", - "pretty-format": "^29.6.3", + "pretty-format": "^29.7.0", "pure-rand": "^6.0.0", "slash": "^3.0.0", "stack-utils": "^2.0.3" @@ -11742,18 +12161,6 @@ "version": "1.1.4", "license": "MIT" }, - "node_modules/jest-circus/node_modules/dedent": { - "version": "1.5.1", - "license": "MIT", - "peerDependencies": { - "babel-plugin-macros": "^3.1.0" - }, - "peerDependenciesMeta": { - "babel-plugin-macros": { - "optional": true - } - } - }, "node_modules/jest-circus/node_modules/has-flag": { "version": "4.0.0", "license": "MIT", @@ -11762,7 +12169,7 @@ } }, "node_modules/jest-circus/node_modules/pretty-format": { - "version": "29.6.3", + "version": "29.7.0", "license": "MIT", "dependencies": { "@jest/schemas": "^29.6.3", @@ -11798,20 +12205,19 @@ } }, "node_modules/jest-cli": { - "version": "29.6.4", + "version": "29.7.0", "license": "MIT", "dependencies": { - "@jest/core": "^29.6.4", - "@jest/test-result": "^29.6.4", + "@jest/core": "^29.7.0", + "@jest/test-result": "^29.7.0", "@jest/types": "^29.6.3", "chalk": "^4.0.0", + "create-jest": "^29.7.0", "exit": "^0.1.2", - "graceful-fs": "^4.2.9", "import-local": "^3.0.2", - "jest-config": "^29.6.4", - "jest-util": "^29.6.3", - "jest-validate": "^29.6.3", - "prompts": "^2.0.1", + "jest-config": "^29.7.0", + "jest-util": "^29.7.0", + "jest-validate": "^29.7.0", "yargs": "^17.3.1" }, "bin": { @@ -11856,18 +12262,6 @@ "url": "https://github.com/chalk/chalk?sponsor=1" } }, - "node_modules/jest-cli/node_modules/cliui": { - "version": "8.0.1", - "license": "ISC", - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^7.0.0" - }, - "engines": { - "node": ">=12" - } - }, "node_modules/jest-cli/node_modules/color-convert": { "version": "2.0.1", "license": "MIT", @@ -11899,68 +12293,30 @@ "node": ">=8" } }, - "node_modules/jest-cli/node_modules/wrap-ansi": { - "version": "7.0.0", - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/jest-cli/node_modules/yargs": { - "version": "17.7.2", - "license": "MIT", - "dependencies": { - "cliui": "^8.0.1", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.3", - "y18n": "^5.0.5", - "yargs-parser": "^21.1.1" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/jest-cli/node_modules/yargs-parser": { - "version": "21.1.1", - "license": "ISC", - "engines": { - "node": ">=12" - } - }, "node_modules/jest-config": { - "version": "29.6.4", + "version": "29.7.0", "license": "MIT", "dependencies": { "@babel/core": "^7.11.6", - "@jest/test-sequencer": "^29.6.4", + "@jest/test-sequencer": "^29.7.0", "@jest/types": "^29.6.3", - "babel-jest": "^29.6.4", + "babel-jest": "^29.7.0", "chalk": "^4.0.0", "ci-info": "^3.2.0", "deepmerge": "^4.2.2", "glob": "^7.1.3", "graceful-fs": "^4.2.9", - "jest-circus": "^29.6.4", - "jest-environment-node": "^29.6.4", + "jest-circus": "^29.7.0", + "jest-environment-node": "^29.7.0", "jest-get-type": "^29.6.3", "jest-regex-util": "^29.6.3", - "jest-resolve": "^29.6.4", - "jest-runner": "^29.6.4", - "jest-util": "^29.6.3", - "jest-validate": "^29.6.3", + "jest-resolve": "^29.7.0", + "jest-runner": "^29.7.0", + "jest-util": "^29.7.0", + "jest-validate": "^29.7.0", "micromatch": "^4.0.4", "parse-json": "^5.2.0", - "pretty-format": "^29.6.3", + "pretty-format": "^29.7.0", "slash": "^3.0.0", "strip-json-comments": "^3.1.1" }, @@ -12029,7 +12385,7 @@ } }, "node_modules/jest-config/node_modules/pretty-format": { - "version": "29.6.3", + "version": "29.7.0", "license": "MIT", "dependencies": { "@jest/schemas": "^29.6.3", @@ -12065,13 +12421,13 @@ } }, "node_modules/jest-diff": { - "version": "29.6.4", + "version": "29.7.0", "license": "MIT", "dependencies": { "chalk": "^4.0.0", "diff-sequences": "^29.6.3", "jest-get-type": "^29.6.3", - "pretty-format": "^29.6.3" + "pretty-format": "^29.7.0" }, "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" @@ -12126,7 +12482,7 @@ } }, "node_modules/jest-diff/node_modules/pretty-format": { - "version": "29.6.3", + "version": "29.7.0", "license": "MIT", "dependencies": { "@jest/schemas": "^29.6.3", @@ -12162,7 +12518,7 @@ } }, "node_modules/jest-docblock": { - "version": "29.6.3", + "version": "29.7.0", "license": "MIT", "dependencies": { "detect-newline": "^3.0.0" @@ -12172,14 +12528,14 @@ } }, "node_modules/jest-each": { - "version": "29.6.3", + "version": "29.7.0", "license": "MIT", "dependencies": { "@jest/types": "^29.6.3", "chalk": "^4.0.0", "jest-get-type": "^29.6.3", - "jest-util": "^29.6.3", - "pretty-format": "^29.6.3" + "jest-util": "^29.7.0", + "pretty-format": "^29.7.0" }, "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" @@ -12234,7 +12590,7 @@ } }, "node_modules/jest-each/node_modules/pretty-format": { - "version": "29.6.3", + "version": "29.7.0", "license": "MIT", "dependencies": { "@jest/schemas": "^29.6.3", @@ -12270,17 +12626,17 @@ } }, "node_modules/jest-environment-jsdom": { - "version": "29.6.4", + "version": "29.7.0", "dev": true, "license": "MIT", "dependencies": { - "@jest/environment": "^29.6.4", - "@jest/fake-timers": "^29.6.4", + "@jest/environment": "^29.7.0", + "@jest/fake-timers": "^29.7.0", "@jest/types": "^29.6.3", "@types/jsdom": "^20.0.0", "@types/node": "*", - "jest-mock": "^29.6.3", - "jest-util": "^29.6.3", + "jest-mock": "^29.7.0", + "jest-util": "^29.7.0", "jsdom": "^20.0.0" }, "engines": { @@ -12379,14 +12735,6 @@ "node": ">=12" } }, - "node_modules/jest-environment-jsdom/node_modules/webidl-conversions": { - "version": "7.0.0", - "dev": true, - "license": "BSD-2-Clause", - "engines": { - "node": ">=12" - } - }, "node_modules/jest-environment-jsdom/node_modules/whatwg-url": { "version": "11.0.0", "dev": true, @@ -12400,15 +12748,15 @@ } }, "node_modules/jest-environment-node": { - "version": "29.6.4", + "version": "29.7.0", "license": "MIT", "dependencies": { - "@jest/environment": "^29.6.4", - "@jest/fake-timers": "^29.6.4", + "@jest/environment": "^29.7.0", + "@jest/fake-timers": "^29.7.0", "@jest/types": "^29.6.3", "@types/node": "*", - "jest-mock": "^29.6.3", - "jest-util": "^29.6.3" + "jest-mock": "^29.7.0", + "jest-util": "^29.7.0" }, "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" @@ -12422,7 +12770,7 @@ } }, "node_modules/jest-haste-map": { - "version": "29.6.4", + "version": "29.7.0", "license": "MIT", "dependencies": { "@jest/types": "^29.6.3", @@ -12432,8 +12780,8 @@ "fb-watchman": "^2.0.0", "graceful-fs": "^4.2.9", "jest-regex-util": "^29.6.3", - "jest-util": "^29.6.3", - "jest-worker": "^29.6.4", + "jest-util": "^29.7.0", + "jest-worker": "^29.7.0", "micromatch": "^4.0.4", "walker": "^1.0.8" }, @@ -12444,12 +12792,45 @@ "fsevents": "^2.3.2" } }, + "node_modules/jest-haste-map/node_modules/has-flag": { + "version": "4.0.0", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-haste-map/node_modules/jest-worker": { + "version": "29.7.0", + "license": "MIT", + "dependencies": { + "@types/node": "*", + "jest-util": "^29.7.0", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-haste-map/node_modules/supports-color": { + "version": "8.1.1", + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, "node_modules/jest-leak-detector": { - "version": "29.6.3", + "version": "29.7.0", "license": "MIT", "dependencies": { "jest-get-type": "^29.6.3", - "pretty-format": "^29.6.3" + "pretty-format": "^29.7.0" }, "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" @@ -12466,7 +12847,7 @@ } }, "node_modules/jest-leak-detector/node_modules/pretty-format": { - "version": "29.6.3", + "version": "29.7.0", "license": "MIT", "dependencies": { "@jest/schemas": "^29.6.3", @@ -12482,13 +12863,13 @@ "license": "MIT" }, "node_modules/jest-matcher-utils": { - "version": "29.6.4", + "version": "29.7.0", "license": "MIT", "dependencies": { "chalk": "^4.0.0", - "jest-diff": "^29.6.4", + "jest-diff": "^29.7.0", "jest-get-type": "^29.6.3", - "pretty-format": "^29.6.3" + "pretty-format": "^29.7.0" }, "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" @@ -12543,7 +12924,7 @@ } }, "node_modules/jest-matcher-utils/node_modules/pretty-format": { - "version": "29.6.3", + "version": "29.7.0", "license": "MIT", "dependencies": { "@jest/schemas": "^29.6.3", @@ -12579,7 +12960,7 @@ } }, "node_modules/jest-message-util": { - "version": "29.6.3", + "version": "29.7.0", "license": "MIT", "dependencies": { "@babel/code-frame": "^7.12.13", @@ -12588,7 +12969,7 @@ "chalk": "^4.0.0", "graceful-fs": "^4.2.9", "micromatch": "^4.0.4", - "pretty-format": "^29.6.3", + "pretty-format": "^29.7.0", "slash": "^3.0.0", "stack-utils": "^2.0.3" }, @@ -12645,7 +13026,7 @@ } }, "node_modules/jest-message-util/node_modules/pretty-format": { - "version": "29.6.3", + "version": "29.7.0", "license": "MIT", "dependencies": { "@jest/schemas": "^29.6.3", @@ -12681,12 +13062,12 @@ } }, "node_modules/jest-mock": { - "version": "29.6.3", + "version": "29.7.0", "license": "MIT", "dependencies": { "@jest/types": "^29.6.3", "@types/node": "*", - "jest-util": "^29.6.3" + "jest-util": "^29.7.0" }, "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" @@ -12715,15 +13096,15 @@ } }, "node_modules/jest-resolve": { - "version": "29.6.4", + "version": "29.7.0", "license": "MIT", "dependencies": { "chalk": "^4.0.0", "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.6.4", + "jest-haste-map": "^29.7.0", "jest-pnp-resolver": "^1.2.2", - "jest-util": "^29.6.3", - "jest-validate": "^29.6.3", + "jest-util": "^29.7.0", + "jest-validate": "^29.7.0", "resolve": "^1.20.0", "resolve.exports": "^2.0.0", "slash": "^3.0.0" @@ -12733,11 +13114,11 @@ } }, "node_modules/jest-resolve-dependencies": { - "version": "29.6.4", + "version": "29.7.0", "license": "MIT", "dependencies": { "jest-regex-util": "^29.6.3", - "jest-snapshot": "^29.6.4" + "jest-snapshot": "^29.7.0" }, "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" @@ -12802,28 +13183,28 @@ } }, "node_modules/jest-runner": { - "version": "29.6.4", + "version": "29.7.0", "license": "MIT", "dependencies": { - "@jest/console": "^29.6.4", - "@jest/environment": "^29.6.4", - "@jest/test-result": "^29.6.4", - "@jest/transform": "^29.6.4", + "@jest/console": "^29.7.0", + "@jest/environment": "^29.7.0", + "@jest/test-result": "^29.7.0", + "@jest/transform": "^29.7.0", "@jest/types": "^29.6.3", "@types/node": "*", "chalk": "^4.0.0", "emittery": "^0.13.1", "graceful-fs": "^4.2.9", - "jest-docblock": "^29.6.3", - "jest-environment-node": "^29.6.4", - "jest-haste-map": "^29.6.4", - "jest-leak-detector": "^29.6.3", - "jest-message-util": "^29.6.3", - "jest-resolve": "^29.6.4", - "jest-runtime": "^29.6.4", - "jest-util": "^29.6.3", - "jest-watcher": "^29.6.4", - "jest-worker": "^29.6.4", + "jest-docblock": "^29.7.0", + "jest-environment-node": "^29.7.0", + "jest-haste-map": "^29.7.0", + "jest-leak-detector": "^29.7.0", + "jest-message-util": "^29.7.0", + "jest-resolve": "^29.7.0", + "jest-runtime": "^29.7.0", + "jest-util": "^29.7.0", + "jest-watcher": "^29.7.0", + "jest-worker": "^29.7.0", "p-limit": "^3.1.0", "source-map-support": "0.5.13" }, @@ -12879,6 +13260,47 @@ "node": ">=8" } }, + "node_modules/jest-runner/node_modules/jest-worker": { + "version": "29.7.0", + "license": "MIT", + "dependencies": { + "@types/node": "*", + "jest-util": "^29.7.0", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-runner/node_modules/jest-worker/node_modules/supports-color": { + "version": "8.1.1", + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "node_modules/jest-runner/node_modules/source-map": { + "version": "0.6.1", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/jest-runner/node_modules/source-map-support": { + "version": "0.5.13", + "license": "MIT", + "dependencies": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, "node_modules/jest-runner/node_modules/supports-color": { "version": "7.2.0", "license": "MIT", @@ -12890,15 +13312,15 @@ } }, "node_modules/jest-runtime": { - "version": "29.6.4", + "version": "29.7.0", "license": "MIT", "dependencies": { - "@jest/environment": "^29.6.4", - "@jest/fake-timers": "^29.6.4", - "@jest/globals": "^29.6.4", + "@jest/environment": "^29.7.0", + "@jest/fake-timers": "^29.7.0", + "@jest/globals": "^29.7.0", "@jest/source-map": "^29.6.3", - "@jest/test-result": "^29.6.4", - "@jest/transform": "^29.6.4", + "@jest/test-result": "^29.7.0", + "@jest/transform": "^29.7.0", "@jest/types": "^29.6.3", "@types/node": "*", "chalk": "^4.0.0", @@ -12906,13 +13328,13 @@ "collect-v8-coverage": "^1.0.0", "glob": "^7.1.3", "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.6.4", - "jest-message-util": "^29.6.3", - "jest-mock": "^29.6.3", + "jest-haste-map": "^29.7.0", + "jest-message-util": "^29.7.0", + "jest-mock": "^29.7.0", "jest-regex-util": "^29.6.3", - "jest-resolve": "^29.6.4", - "jest-snapshot": "^29.6.4", - "jest-util": "^29.6.3", + "jest-resolve": "^29.7.0", + "jest-snapshot": "^29.7.0", + "jest-util": "^29.7.0", "slash": "^3.0.0", "strip-bom": "^4.0.0" }, @@ -12968,6 +13390,13 @@ "node": ">=8" } }, + "node_modules/jest-runtime/node_modules/strip-bom": { + "version": "4.0.0", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, "node_modules/jest-runtime/node_modules/supports-color": { "version": "7.2.0", "license": "MIT", @@ -12979,7 +13408,7 @@ } }, "node_modules/jest-snapshot": { - "version": "29.6.4", + "version": "29.7.0", "license": "MIT", "dependencies": { "@babel/core": "^7.11.6", @@ -12987,20 +13416,20 @@ "@babel/plugin-syntax-jsx": "^7.7.2", "@babel/plugin-syntax-typescript": "^7.7.2", "@babel/types": "^7.3.3", - "@jest/expect-utils": "^29.6.4", - "@jest/transform": "^29.6.4", + "@jest/expect-utils": "^29.7.0", + "@jest/transform": "^29.7.0", "@jest/types": "^29.6.3", "babel-preset-current-node-syntax": "^1.0.0", "chalk": "^4.0.0", - "expect": "^29.6.4", + "expect": "^29.7.0", "graceful-fs": "^4.2.9", - "jest-diff": "^29.6.4", + "jest-diff": "^29.7.0", "jest-get-type": "^29.6.3", - "jest-matcher-utils": "^29.6.4", - "jest-message-util": "^29.6.3", - "jest-util": "^29.6.3", + "jest-matcher-utils": "^29.7.0", + "jest-message-util": "^29.7.0", + "jest-util": "^29.7.0", "natural-compare": "^1.4.0", - "pretty-format": "^29.6.3", + "pretty-format": "^29.7.0", "semver": "^7.5.3" }, "engines": { @@ -13066,7 +13495,7 @@ } }, "node_modules/jest-snapshot/node_modules/pretty-format": { - "version": "29.6.3", + "version": "29.7.0", "license": "MIT", "dependencies": { "@jest/schemas": "^29.6.3", @@ -13114,8 +13543,12 @@ "node": ">=8" } }, + "node_modules/jest-snapshot/node_modules/yallist": { + "version": "4.0.0", + "license": "ISC" + }, "node_modules/jest-util": { - "version": "29.6.3", + "version": "29.7.0", "license": "MIT", "dependencies": { "@jest/types": "^29.6.3", @@ -13188,7 +13621,7 @@ } }, "node_modules/jest-validate": { - "version": "29.6.3", + "version": "29.7.0", "license": "MIT", "dependencies": { "@jest/types": "^29.6.3", @@ -13196,7 +13629,7 @@ "chalk": "^4.0.0", "jest-get-type": "^29.6.3", "leven": "^3.1.0", - "pretty-format": "^29.6.3" + "pretty-format": "^29.7.0" }, "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" @@ -13215,16 +13648,6 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/jest-validate/node_modules/camelcase": { - "version": "6.3.0", - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/jest-validate/node_modules/chalk": { "version": "4.1.2", "license": "MIT", @@ -13261,7 +13684,7 @@ } }, "node_modules/jest-validate/node_modules/pretty-format": { - "version": "29.6.3", + "version": "29.7.0", "license": "MIT", "dependencies": { "@jest/schemas": "^29.6.3", @@ -13297,16 +13720,16 @@ } }, "node_modules/jest-watcher": { - "version": "29.6.4", + "version": "29.7.0", "license": "MIT", "dependencies": { - "@jest/test-result": "^29.6.4", + "@jest/test-result": "^29.7.0", "@jest/types": "^29.6.3", "@types/node": "*", "ansi-escapes": "^4.2.1", "chalk": "^4.0.0", "emittery": "^0.13.1", - "jest-util": "^29.6.3", + "jest-util": "^29.7.0", "string-length": "^4.0.1" }, "engines": { @@ -13372,16 +13795,15 @@ } }, "node_modules/jest-worker": { - "version": "29.6.4", + "version": "27.5.1", "license": "MIT", "dependencies": { "@types/node": "*", - "jest-util": "^29.6.3", "merge-stream": "^2.0.0", "supports-color": "^8.0.0" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": ">= 10.13.0" } }, "node_modules/jest-worker/node_modules/has-flag": { @@ -13405,7 +13827,7 @@ } }, "node_modules/joi": { - "version": "17.10.0", + "version": "17.11.0", "license": "BSD-3-Clause", "peer": true, "dependencies": { @@ -13596,37 +14018,6 @@ "jsdom": ">=10.0.0" } }, - "node_modules/jsdom/node_modules/tr46": { - "version": "4.1.1", - "dev": true, - "license": "MIT", - "dependencies": { - "punycode": "^2.3.0" - }, - "engines": { - "node": ">=14" - } - }, - "node_modules/jsdom/node_modules/webidl-conversions": { - "version": "7.0.0", - "dev": true, - "license": "BSD-2-Clause", - "engines": { - "node": ">=12" - } - }, - "node_modules/jsdom/node_modules/whatwg-url": { - "version": "12.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "tr46": "^4.1.1", - "webidl-conversions": "^7.0.0" - }, - "engines": { - "node": ">=14" - } - }, "node_modules/jsesc": { "version": "2.5.2", "license": "MIT", @@ -13637,6 +14028,11 @@ "node": ">=4" } }, + "node_modules/json-buffer": { + "version": "3.0.1", + "dev": true, + "license": "MIT" + }, "node_modules/json-parse-better-errors": { "version": "1.0.2", "license": "MIT", @@ -13666,18 +14062,36 @@ "node": ">=6" } }, + "node_modules/jsonfile": { + "version": "4.0.0", + "license": "MIT", + "peer": true, + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, "node_modules/jsx-ast-utils": { - "version": "3.3.0", + "version": "3.3.5", "dev": true, "license": "MIT", "dependencies": { - "array-includes": "^3.1.4", - "object.assign": "^4.1.2" + "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/keyv": { + "version": "4.5.4", + "dev": true, + "license": "MIT", + "dependencies": { + "json-buffer": "3.0.1" + } + }, "node_modules/kind-of": { "version": "6.0.3", "license": "MIT", @@ -13693,7 +14107,7 @@ } }, "node_modules/konva": { - "version": "9.2.0", + "version": "9.2.2", "funding": [ { "type": "patreon", @@ -13712,12 +14126,12 @@ "peer": true }, "node_modules/launch-editor": { - "version": "2.6.0", + "version": "2.6.1", "dev": true, "license": "MIT", "dependencies": { "picocolors": "^1.0.0", - "shell-quote": "^1.7.3" + "shell-quote": "^1.8.1" } }, "node_modules/leven": { @@ -13739,6 +14153,10 @@ "node": ">= 0.8.0" } }, + "node_modules/lines-and-columns": { + "version": "1.2.4", + "license": "MIT" + }, "node_modules/loader-runner": { "version": "4.3.0", "dev": true, @@ -13927,6 +14345,28 @@ "logkitty": "bin/logkitty.js" } }, + "node_modules/logkitty/node_modules/ansi-styles": { + "version": "4.3.0", + "license": "MIT", + "peer": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/logkitty/node_modules/camelcase": { + "version": "5.3.1", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=6" + } + }, "node_modules/logkitty/node_modules/cliui": { "version": "6.0.0", "license": "ISC", @@ -13937,6 +14377,27 @@ "wrap-ansi": "^6.2.0" } }, + "node_modules/logkitty/node_modules/color-convert": { + "version": "2.0.1", + "license": "MIT", + "peer": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/logkitty/node_modules/color-name": { + "version": "1.1.4", + "license": "MIT", + "peer": true + }, + "node_modules/logkitty/node_modules/emoji-regex": { + "version": "8.0.0", + "license": "MIT", + "peer": true + }, "node_modules/logkitty/node_modules/find-up": { "version": "4.1.0", "license": "MIT", @@ -13985,6 +14446,32 @@ "node": ">=8" } }, + "node_modules/logkitty/node_modules/string-width": { + "version": "4.2.3", + "license": "MIT", + "peer": true, + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/logkitty/node_modules/wrap-ansi": { + "version": "6.2.0", + "license": "MIT", + "peer": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/logkitty/node_modules/y18n": { "version": "4.0.3", "license": "ISC", @@ -14024,7 +14511,7 @@ } }, "node_modules/loglevel": { - "version": "1.8.0", + "version": "1.8.1", "dev": true, "license": "MIT", "engines": { @@ -14113,11 +14600,10 @@ } }, "node_modules/lru-cache": { - "version": "10.0.1", - "dev": true, + "version": "5.1.1", "license": "ISC", - "engines": { - "node": "14 || >=16.14" + "dependencies": { + "yallist": "^3.0.2" } }, "node_modules/lz-string": { @@ -14128,6 +14614,46 @@ "lz-string": "bin/bin.js" } }, + "node_modules/make-dir": { + "version": "4.0.0", + "license": "MIT", + "dependencies": { + "semver": "^7.5.3" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/make-dir/node_modules/lru-cache": { + "version": "6.0.0", + "license": "ISC", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/make-dir/node_modules/semver": { + "version": "7.5.4", + "license": "ISC", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/make-dir/node_modules/yallist": { + "version": "4.0.0", + "license": "ISC" + }, "node_modules/make-error": { "version": "1.3.6", "devOptional": true, @@ -14199,7 +14725,7 @@ } }, "node_modules/metro": { - "version": "0.76.7", + "version": "0.76.8", "license": "MIT", "peer": true, "dependencies": { @@ -14225,22 +14751,22 @@ "jest-worker": "^27.2.0", "jsc-safe-url": "^0.2.2", "lodash.throttle": "^4.1.1", - "metro-babel-transformer": "0.76.7", - "metro-cache": "0.76.7", - "metro-cache-key": "0.76.7", - "metro-config": "0.76.7", - "metro-core": "0.76.7", - "metro-file-map": "0.76.7", - "metro-inspector-proxy": "0.76.7", - "metro-minify-terser": "0.76.7", - "metro-minify-uglify": "0.76.7", - "metro-react-native-babel-preset": "0.76.7", - "metro-resolver": "0.76.7", - "metro-runtime": "0.76.7", - "metro-source-map": "0.76.7", - "metro-symbolicate": "0.76.7", - "metro-transform-plugins": "0.76.7", - "metro-transform-worker": "0.76.7", + "metro-babel-transformer": "0.76.8", + "metro-cache": "0.76.8", + "metro-cache-key": "0.76.8", + "metro-config": "0.76.8", + "metro-core": "0.76.8", + "metro-file-map": "0.76.8", + "metro-inspector-proxy": "0.76.8", + "metro-minify-terser": "0.76.8", + "metro-minify-uglify": "0.76.8", + "metro-react-native-babel-preset": "0.76.8", + "metro-resolver": "0.76.8", + "metro-runtime": "0.76.8", + "metro-source-map": "0.76.8", + "metro-symbolicate": "0.76.8", + "metro-transform-plugins": "0.76.8", + "metro-transform-worker": "0.76.8", "mime-types": "^2.1.27", "node-fetch": "^2.2.0", "nullthrows": "^1.1.1", @@ -14260,7 +14786,7 @@ } }, "node_modules/metro-babel-transformer": { - "version": "0.76.7", + "version": "0.76.8", "license": "MIT", "peer": true, "dependencies": { @@ -14273,11 +14799,11 @@ } }, "node_modules/metro-cache": { - "version": "0.76.7", + "version": "0.76.8", "license": "MIT", "peer": true, "dependencies": { - "metro-core": "0.76.7", + "metro-core": "0.76.8", "rimraf": "^3.0.2" }, "engines": { @@ -14285,7 +14811,7 @@ } }, "node_modules/metro-cache-key": { - "version": "0.76.7", + "version": "0.76.8", "license": "MIT", "peer": true, "engines": { @@ -14293,17 +14819,17 @@ } }, "node_modules/metro-config": { - "version": "0.76.7", + "version": "0.76.8", "license": "MIT", "peer": true, "dependencies": { "connect": "^3.6.5", "cosmiconfig": "^5.0.5", "jest-validate": "^29.2.1", - "metro": "0.76.7", - "metro-cache": "0.76.7", - "metro-core": "0.76.7", - "metro-runtime": "0.76.7" + "metro": "0.76.8", + "metro-cache": "0.76.8", + "metro-core": "0.76.8", + "metro-runtime": "0.76.8" }, "engines": { "node": ">=16" @@ -14355,18 +14881,6 @@ "js-yaml": "bin/js-yaml.js" } }, - "node_modules/metro-config/node_modules/metro-runtime": { - "version": "0.76.7", - "license": "MIT", - "peer": true, - "dependencies": { - "@babel/runtime": "^7.0.0", - "react-refresh": "^0.4.0" - }, - "engines": { - "node": ">=16" - } - }, "node_modules/metro-config/node_modules/parse-json": { "version": "4.0.0", "license": "MIT", @@ -14379,14 +14893,6 @@ "node": ">=4" } }, - "node_modules/metro-config/node_modules/react-refresh": { - "version": "0.4.3", - "license": "MIT", - "peer": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/metro-config/node_modules/resolve-from": { "version": "3.0.0", "license": "MIT", @@ -14396,19 +14902,19 @@ } }, "node_modules/metro-core": { - "version": "0.76.7", + "version": "0.76.8", "license": "MIT", "peer": true, "dependencies": { "lodash.throttle": "^4.1.1", - "metro-resolver": "0.76.7" + "metro-resolver": "0.76.8" }, "engines": { "node": ">=16" } }, "node_modules/metro-file-map": { - "version": "0.76.7", + "version": "0.76.8", "license": "MIT", "peer": true, "dependencies": { @@ -14448,7 +14954,7 @@ } }, "node_modules/metro-file-map/node_modules/@types/yargs": { - "version": "16.0.5", + "version": "16.0.6", "license": "MIT", "peer": true, "dependencies": { @@ -14540,33 +15046,6 @@ "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" } }, - "node_modules/metro-file-map/node_modules/jest-worker": { - "version": "27.5.1", - "license": "MIT", - "peer": true, - "dependencies": { - "@types/node": "*", - "merge-stream": "^2.0.0", - "supports-color": "^8.0.0" - }, - "engines": { - "node": ">= 10.13.0" - } - }, - "node_modules/metro-file-map/node_modules/jest-worker/node_modules/supports-color": { - "version": "8.1.1", - "license": "MIT", - "peer": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/supports-color?sponsor=1" - } - }, "node_modules/metro-file-map/node_modules/ms": { "version": "2.0.0", "license": "MIT", @@ -14584,7 +15063,7 @@ } }, "node_modules/metro-inspector-proxy": { - "version": "0.76.7", + "version": "0.76.8", "license": "MIT", "peer": true, "dependencies": { @@ -14601,49 +15080,6 @@ "node": ">=16" } }, - "node_modules/metro-inspector-proxy/node_modules/ansi-styles": { - "version": "4.3.0", - "license": "MIT", - "peer": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/metro-inspector-proxy/node_modules/cliui": { - "version": "8.0.1", - "license": "ISC", - "peer": true, - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^7.0.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/metro-inspector-proxy/node_modules/color-convert": { - "version": "2.0.1", - "license": "MIT", - "peer": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/metro-inspector-proxy/node_modules/color-name": { - "version": "1.1.4", - "license": "MIT", - "peer": true - }, "node_modules/metro-inspector-proxy/node_modules/debug": { "version": "2.6.9", "license": "MIT", @@ -14657,22 +15093,6 @@ "license": "MIT", "peer": true }, - "node_modules/metro-inspector-proxy/node_modules/wrap-ansi": { - "version": "7.0.0", - "license": "MIT", - "peer": true, - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, "node_modules/metro-inspector-proxy/node_modules/ws": { "version": "7.5.9", "license": "MIT", @@ -14693,33 +15113,8 @@ } } }, - "node_modules/metro-inspector-proxy/node_modules/yargs": { - "version": "17.7.2", - "license": "MIT", - "peer": true, - "dependencies": { - "cliui": "^8.0.1", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.3", - "y18n": "^5.0.5", - "yargs-parser": "^21.1.1" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/metro-inspector-proxy/node_modules/yargs-parser": { - "version": "21.1.1", - "license": "ISC", - "peer": true, - "engines": { - "node": ">=12" - } - }, "node_modules/metro-minify-terser": { - "version": "0.76.7", + "version": "0.76.8", "license": "MIT", "peer": true, "dependencies": { @@ -14730,7 +15125,7 @@ } }, "node_modules/metro-minify-uglify": { - "version": "0.76.7", + "version": "0.76.8", "license": "MIT", "peer": true, "dependencies": { @@ -14741,7 +15136,7 @@ } }, "node_modules/metro-react-native-babel-preset": { - "version": "0.76.7", + "version": "0.76.8", "license": "MIT", "peer": true, "dependencies": { @@ -14801,14 +15196,14 @@ } }, "node_modules/metro-react-native-babel-transformer": { - "version": "0.76.7", + "version": "0.76.8", "license": "MIT", "peer": true, "dependencies": { "@babel/core": "^7.20.0", "babel-preset-fbjs": "^3.4.0", "hermes-parser": "0.12.0", - "metro-react-native-babel-preset": "0.76.7", + "metro-react-native-babel-preset": "0.76.8", "nullthrows": "^1.1.1" }, "engines": { @@ -14819,7 +15214,7 @@ } }, "node_modules/metro-resolver": { - "version": "0.76.7", + "version": "0.76.8", "license": "MIT", "peer": true, "engines": { @@ -14864,25 +15259,6 @@ "node": ">=16" } }, - "node_modules/metro-source-map/node_modules/metro-symbolicate": { - "version": "0.76.8", - "license": "MIT", - "peer": true, - "dependencies": { - "invariant": "^2.2.4", - "metro-source-map": "0.76.8", - "nullthrows": "^1.1.1", - "source-map": "^0.5.6", - "through2": "^2.0.1", - "vlq": "^1.0.0" - }, - "bin": { - "metro-symbolicate": "src/index.js" - }, - "engines": { - "node": ">=16" - } - }, "node_modules/metro-source-map/node_modules/source-map": { "version": "0.5.7", "license": "BSD-3-Clause", @@ -14892,12 +15268,12 @@ } }, "node_modules/metro-symbolicate": { - "version": "0.76.7", + "version": "0.76.8", "license": "MIT", "peer": true, "dependencies": { "invariant": "^2.2.4", - "metro-source-map": "0.76.7", + "metro-source-map": "0.76.8", "nullthrows": "^1.1.1", "source-map": "^0.5.6", "through2": "^2.0.1", @@ -14910,32 +15286,6 @@ "node": ">=16" } }, - "node_modules/metro-symbolicate/node_modules/metro-source-map": { - "version": "0.76.7", - "license": "MIT", - "peer": true, - "dependencies": { - "@babel/traverse": "^7.20.0", - "@babel/types": "^7.20.0", - "invariant": "^2.2.4", - "metro-symbolicate": "0.76.7", - "nullthrows": "^1.1.1", - "ob1": "0.76.7", - "source-map": "^0.5.6", - "vlq": "^1.0.0" - }, - "engines": { - "node": ">=16" - } - }, - "node_modules/metro-symbolicate/node_modules/ob1": { - "version": "0.76.7", - "license": "MIT", - "peer": true, - "engines": { - "node": ">=16" - } - }, "node_modules/metro-symbolicate/node_modules/source-map": { "version": "0.5.7", "license": "BSD-3-Clause", @@ -14945,7 +15295,7 @@ } }, "node_modules/metro-transform-plugins": { - "version": "0.76.7", + "version": "0.76.8", "license": "MIT", "peer": true, "dependencies": { @@ -14960,7 +15310,7 @@ } }, "node_modules/metro-transform-worker": { - "version": "0.76.7", + "version": "0.76.8", "license": "MIT", "peer": true, "dependencies": { @@ -14969,52 +15319,18 @@ "@babel/parser": "^7.20.0", "@babel/types": "^7.20.0", "babel-preset-fbjs": "^3.4.0", - "metro": "0.76.7", - "metro-babel-transformer": "0.76.7", - "metro-cache": "0.76.7", - "metro-cache-key": "0.76.7", - "metro-source-map": "0.76.7", - "metro-transform-plugins": "0.76.7", + "metro": "0.76.8", + "metro-babel-transformer": "0.76.8", + "metro-cache": "0.76.8", + "metro-cache-key": "0.76.8", + "metro-source-map": "0.76.8", + "metro-transform-plugins": "0.76.8", "nullthrows": "^1.1.1" }, "engines": { "node": ">=16" } }, - "node_modules/metro-transform-worker/node_modules/metro-source-map": { - "version": "0.76.7", - "license": "MIT", - "peer": true, - "dependencies": { - "@babel/traverse": "^7.20.0", - "@babel/types": "^7.20.0", - "invariant": "^2.2.4", - "metro-symbolicate": "0.76.7", - "nullthrows": "^1.1.1", - "ob1": "0.76.7", - "source-map": "^0.5.6", - "vlq": "^1.0.0" - }, - "engines": { - "node": ">=16" - } - }, - "node_modules/metro-transform-worker/node_modules/ob1": { - "version": "0.76.7", - "license": "MIT", - "peer": true, - "engines": { - "node": ">=16" - } - }, - "node_modules/metro-transform-worker/node_modules/source-map": { - "version": "0.5.7", - "license": "BSD-3-Clause", - "peer": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/metro/node_modules/ansi-styles": { "version": "4.3.0", "license": "MIT", @@ -15049,19 +15365,6 @@ "license": "MIT", "peer": true }, - "node_modules/metro/node_modules/cliui": { - "version": "8.0.1", - "license": "ISC", - "peer": true, - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^7.0.0" - }, - "engines": { - "node": ">=12" - } - }, "node_modules/metro/node_modules/color-convert": { "version": "2.0.1", "license": "MIT", @@ -15094,84 +15397,11 @@ "node": ">=8" } }, - "node_modules/metro/node_modules/jest-worker": { - "version": "27.5.1", - "license": "MIT", - "peer": true, - "dependencies": { - "@types/node": "*", - "merge-stream": "^2.0.0", - "supports-color": "^8.0.0" - }, - "engines": { - "node": ">= 10.13.0" - } - }, - "node_modules/metro/node_modules/jest-worker/node_modules/supports-color": { - "version": "8.1.1", - "license": "MIT", - "peer": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/supports-color?sponsor=1" - } - }, - "node_modules/metro/node_modules/metro-runtime": { - "version": "0.76.7", - "license": "MIT", - "peer": true, - "dependencies": { - "@babel/runtime": "^7.0.0", - "react-refresh": "^0.4.0" - }, - "engines": { - "node": ">=16" - } - }, - "node_modules/metro/node_modules/metro-source-map": { - "version": "0.76.7", - "license": "MIT", - "peer": true, - "dependencies": { - "@babel/traverse": "^7.20.0", - "@babel/types": "^7.20.0", - "invariant": "^2.2.4", - "metro-symbolicate": "0.76.7", - "nullthrows": "^1.1.1", - "ob1": "0.76.7", - "source-map": "^0.5.6", - "vlq": "^1.0.0" - }, - "engines": { - "node": ">=16" - } - }, "node_modules/metro/node_modules/ms": { "version": "2.0.0", "license": "MIT", "peer": true }, - "node_modules/metro/node_modules/ob1": { - "version": "0.76.7", - "license": "MIT", - "peer": true, - "engines": { - "node": ">=16" - } - }, - "node_modules/metro/node_modules/react-refresh": { - "version": "0.4.3", - "license": "MIT", - "peer": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/metro/node_modules/source-map": { "version": "0.5.7", "license": "BSD-3-Clause", @@ -15191,22 +15421,6 @@ "node": ">=8" } }, - "node_modules/metro/node_modules/wrap-ansi": { - "version": "7.0.0", - "license": "MIT", - "peer": true, - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, "node_modules/metro/node_modules/ws": { "version": "7.5.9", "license": "MIT", @@ -15227,31 +15441,6 @@ } } }, - "node_modules/metro/node_modules/yargs": { - "version": "17.7.2", - "license": "MIT", - "peer": true, - "dependencies": { - "cliui": "^8.0.1", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.3", - "y18n": "^5.0.5", - "yargs-parser": "^21.1.1" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/metro/node_modules/yargs-parser": { - "version": "21.1.1", - "license": "ISC", - "peer": true, - "engines": { - "node": ">=12" - } - }, "node_modules/micromatch": { "version": "4.0.5", "license": "MIT", @@ -15296,10 +15485,14 @@ } }, "node_modules/mimic-fn": { - "version": "2.1.0", + "version": "4.0.0", + "dev": true, "license": "MIT", "engines": { - "node": ">=6" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/min-indent": { @@ -15338,15 +15531,26 @@ } }, "node_modules/minipass": { - "version": "5.0.0", + "version": "7.0.4", "dev": true, "license": "ISC", "engines": { - "node": ">=8" + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/mkdirp": { + "version": "0.5.6", + "license": "MIT", + "peer": true, + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" } }, "node_modules/monaco-editor": { - "version": "0.41.0", + "version": "0.44.0", "license": "MIT", "peer": true }, @@ -15431,7 +15635,7 @@ } }, "node_modules/node-fetch": { - "version": "2.6.7", + "version": "2.7.0", "license": "MIT", "peer": true, "dependencies": { @@ -15449,6 +15653,25 @@ } } }, + "node_modules/node-fetch/node_modules/tr46": { + "version": "0.0.3", + "license": "MIT", + "peer": true + }, + "node_modules/node-fetch/node_modules/webidl-conversions": { + "version": "3.0.1", + "license": "BSD-2-Clause", + "peer": true + }, + "node_modules/node-fetch/node_modules/whatwg-url": { + "version": "5.0.0", + "license": "MIT", + "peer": true, + "dependencies": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + }, "node_modules/node-forge": { "version": "1.3.1", "dev": true, @@ -15493,7 +15716,7 @@ } }, "node_modules/npm": { - "version": "9.8.1", + "version": "9.9.0", "bundleDependencies": [ "@isaacs/string-locale-compare", "@npmcli/arborist", @@ -15538,6 +15761,7 @@ "ms", "node-gyp", "nopt", + "normalize-package-data", "npm-audit-report", "npm-install-checks", "npm-package-arg", @@ -15554,6 +15778,7 @@ "read", "semver", "sigstore", + "spdx-expression-parse", "ssri", "supports-color", "tar", @@ -15574,8 +15799,8 @@ ], "dependencies": { "@isaacs/string-locale-compare": "^1.1.0", - "@npmcli/arborist": "^6.3.0", - "@npmcli/config": "^6.2.1", + "@npmcli/arborist": "^6.5.0", + "@npmcli/config": "^6.4.0", "@npmcli/fs": "^3.1.0", "@npmcli/map-workspaces": "^3.0.4", "@npmcli/package-json": "^4.0.1", @@ -15599,12 +15824,12 @@ "is-cidr": "^4.0.2", "json-parse-even-better-errors": "^3.0.0", "libnpmaccess": "^7.0.2", - "libnpmdiff": "^5.0.19", - "libnpmexec": "^6.0.3", - "libnpmfund": "^4.0.19", + "libnpmdiff": "^5.0.20", + "libnpmexec": "^6.0.4", + "libnpmfund": "^4.2.1", "libnpmhook": "^9.0.3", "libnpmorg": "^5.0.4", - "libnpmpack": "^5.0.19", + "libnpmpack": "^5.0.20", "libnpmpublish": "^7.5.0", "libnpmsearch": "^6.0.2", "libnpmteam": "^5.0.3", @@ -15616,10 +15841,11 @@ "ms": "^2.1.2", "node-gyp": "^9.4.0", "nopt": "^7.2.0", + "normalize-package-data": "^5.0.0", "npm-audit-report": "^5.0.0", - "npm-install-checks": "^6.1.1", + "npm-install-checks": "^6.2.0", "npm-package-arg": "^10.1.0", - "npm-pick-manifest": "^8.0.1", + "npm-pick-manifest": "^8.0.2", "npm-profile": "^7.0.1", "npm-registry-fetch": "^14.0.5", "npm-user-validate": "^2.0.0", @@ -15631,7 +15857,8 @@ "qrcode-terminal": "^0.12.0", "read": "^2.1.0", "semver": "^7.5.4", - "sigstore": "^1.7.0", + "sigstore": "^1.9.0", + "spdx-expression-parse": "^3.0.1", "ssri": "^10.0.4", "supports-color": "^9.4.0", "tar": "^6.1.15", @@ -15651,13 +15878,28 @@ } }, "node_modules/npm-run-path": { - "version": "4.0.1", + "version": "5.1.0", + "dev": true, "license": "MIT", "dependencies": { - "path-key": "^3.0.0" + "path-key": "^4.0.0" }, "engines": { - "node": ">=8" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/npm-run-path/node_modules/path-key": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/npm/node_modules/@colors/colors": { @@ -15737,7 +15979,7 @@ "license": "ISC" }, "node_modules/npm/node_modules/@npmcli/arborist": { - "version": "6.3.0", + "version": "6.5.0", "inBundle": true, "license": "ISC", "dependencies": { @@ -15759,7 +16001,7 @@ "json-stringify-nice": "^1.1.4", "minimatch": "^9.0.0", "nopt": "^7.0.0", - "npm-install-checks": "^6.0.0", + "npm-install-checks": "^6.2.0", "npm-package-arg": "^10.1.0", "npm-pick-manifest": "^8.0.1", "npm-registry-fetch": "^14.0.3", @@ -15783,7 +16025,7 @@ } }, "node_modules/npm/node_modules/@npmcli/config": { - "version": "6.2.1", + "version": "6.4.0", "inBundle": true, "license": "ISC", "dependencies": { @@ -15962,20 +16204,44 @@ "node": ">=14" } }, + "node_modules/npm/node_modules/@sigstore/bundle": { + "version": "1.1.0", + "inBundle": true, + "license": "Apache-2.0", + "dependencies": { + "@sigstore/protobuf-specs": "^0.2.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, "node_modules/npm/node_modules/@sigstore/protobuf-specs": { - "version": "0.1.0", + "version": "0.2.1", + "inBundle": true, + "license": "Apache-2.0", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/@sigstore/sign": { + "version": "1.0.0", "inBundle": true, "license": "Apache-2.0", + "dependencies": { + "@sigstore/bundle": "^1.1.0", + "@sigstore/protobuf-specs": "^0.2.0", + "make-fetch-happen": "^11.0.1" + }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/npm/node_modules/@sigstore/tuf": { - "version": "1.0.2", + "version": "1.0.3", "inBundle": true, "license": "Apache-2.0", "dependencies": { - "@sigstore/protobuf-specs": "^0.1.0", + "@sigstore/protobuf-specs": "^0.2.0", "tuf-js": "^1.1.7" }, "engines": { @@ -16872,11 +17138,11 @@ } }, "node_modules/npm/node_modules/libnpmdiff": { - "version": "5.0.19", + "version": "5.0.20", "inBundle": true, "license": "ISC", "dependencies": { - "@npmcli/arborist": "^6.3.0", + "@npmcli/arborist": "^6.5.0", "@npmcli/disparity-colors": "^3.0.0", "@npmcli/installed-package-contents": "^2.0.2", "binary-extensions": "^2.2.0", @@ -16891,11 +17157,11 @@ } }, "node_modules/npm/node_modules/libnpmexec": { - "version": "6.0.3", + "version": "6.0.4", "inBundle": true, "license": "ISC", "dependencies": { - "@npmcli/arborist": "^6.3.0", + "@npmcli/arborist": "^6.5.0", "@npmcli/run-script": "^6.0.0", "ci-info": "^3.7.1", "npm-package-arg": "^10.1.0", @@ -16912,11 +17178,11 @@ } }, "node_modules/npm/node_modules/libnpmfund": { - "version": "4.0.19", + "version": "4.2.1", "inBundle": true, "license": "ISC", "dependencies": { - "@npmcli/arborist": "^6.3.0" + "@npmcli/arborist": "^6.5.0" }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" @@ -16947,11 +17213,11 @@ } }, "node_modules/npm/node_modules/libnpmpack": { - "version": "5.0.19", + "version": "5.0.20", "inBundle": true, "license": "ISC", "dependencies": { - "@npmcli/arborist": "^6.3.0", + "@npmcli/arborist": "^6.5.0", "@npmcli/run-script": "^6.0.0", "npm-package-arg": "^10.1.0", "pacote": "^15.0.8" @@ -17456,7 +17722,7 @@ } }, "node_modules/npm/node_modules/npm-install-checks": { - "version": "6.1.1", + "version": "6.2.0", "inBundle": true, "license": "BSD-2-Clause", "dependencies": { @@ -17500,7 +17766,7 @@ } }, "node_modules/npm/node_modules/npm-pick-manifest": { - "version": "8.0.1", + "version": "8.0.2", "inBundle": true, "license": "ISC", "dependencies": { @@ -17954,12 +18220,14 @@ } }, "node_modules/npm/node_modules/sigstore": { - "version": "1.7.0", + "version": "1.9.0", "inBundle": true, "license": "Apache-2.0", "dependencies": { - "@sigstore/protobuf-specs": "^0.1.0", - "@sigstore/tuf": "^1.0.1", + "@sigstore/bundle": "^1.1.0", + "@sigstore/protobuf-specs": "^0.2.0", + "@sigstore/sign": "^1.0.0", + "@sigstore/tuf": "^1.0.3", "make-fetch-happen": "^11.0.1" }, "bin": { @@ -18556,29 +18824,31 @@ } }, "node_modules/onetime": { - "version": "5.1.2", + "version": "6.0.0", + "dev": true, "license": "MIT", "dependencies": { - "mimic-fn": "^2.1.0" + "mimic-fn": "^4.0.0" }, "engines": { - "node": ">=6" + "node": ">=12" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/open": { - "version": "8.4.2", + "version": "9.1.0", "dev": true, "license": "MIT", "dependencies": { - "define-lazy-prop": "^2.0.0", - "is-docker": "^2.1.1", + "default-browser": "^4.0.0", + "define-lazy-prop": "^3.0.0", + "is-inside-container": "^1.0.0", "is-wsl": "^2.2.0" }, "engines": { - "node": ">=12" + "node": ">=14.16" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -18724,14 +18994,6 @@ "node": ">=8" } }, - "node_modules/p-retry/node_modules/retry": { - "version": "0.13.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 4" - } - }, "node_modules/p-try": { "version": "2.2.0", "license": "MIT", @@ -18770,10 +19032,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/parse-json/node_modules/lines-and-columns": { - "version": "1.2.4", - "license": "MIT" - }, "node_modules/parse5": { "version": "7.1.2", "dev": true, @@ -18832,6 +19090,14 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/path-scurry/node_modules/lru-cache": { + "version": "10.0.1", + "dev": true, + "license": "ISC", + "engines": { + "node": "14 || >=16.14" + } + }, "node_modules/path-to-regexp": { "version": "0.1.7", "dev": true, @@ -18859,6 +19125,13 @@ "url": "https://github.com/sponsors/jonschlinkert" } }, + "node_modules/pify": { + "version": "4.0.1", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, "node_modules/pirates": { "version": "4.0.6", "license": "MIT", @@ -18867,63 +19140,94 @@ } }, "node_modules/pkg-dir": { - "version": "4.2.0", + "version": "7.0.0", + "dev": true, "license": "MIT", "dependencies": { - "find-up": "^4.0.0" + "find-up": "^6.3.0" }, "engines": { - "node": ">=8" + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/pkg-dir/node_modules/find-up": { - "version": "4.1.0", + "version": "6.3.0", + "dev": true, "license": "MIT", "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" + "locate-path": "^7.1.0", + "path-exists": "^5.0.0" }, "engines": { - "node": ">=8" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/pkg-dir/node_modules/locate-path": { - "version": "5.0.0", + "version": "7.2.0", + "dev": true, "license": "MIT", "dependencies": { - "p-locate": "^4.1.0" + "p-locate": "^6.0.0" }, "engines": { - "node": ">=8" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/pkg-dir/node_modules/p-limit": { - "version": "2.3.0", + "version": "4.0.0", + "dev": true, "license": "MIT", "dependencies": { - "p-try": "^2.0.0" + "yocto-queue": "^1.0.0" }, "engines": { - "node": ">=6" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/pkg-dir/node_modules/p-locate": { - "version": "4.1.0", + "version": "6.0.0", + "dev": true, "license": "MIT", "dependencies": { - "p-limit": "^2.2.0" + "p-limit": "^4.0.0" }, "engines": { - "node": ">=8" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/pointer-events-polyfill": { - "version": "0.4.4-pre", + "node_modules/pkg-dir/node_modules/path-exists": { + "version": "5.0.0", + "dev": true, "license": "MIT", - "peer": true + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + } + }, + "node_modules/pkg-dir/node_modules/yocto-queue": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12.20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } }, "node_modules/popper.js": { "version": "1.16.1", @@ -18935,8 +19239,6 @@ }, "node_modules/postcss": { "version": "8.4.31", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz", - "integrity": "sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==", "funding": [ { "type": "opencollective", @@ -18951,6 +19253,7 @@ "url": "https://github.com/sponsors/ai" } ], + "license": "MIT", "dependencies": { "nanoid": "^3.3.6", "picocolors": "^1.0.0", @@ -19040,7 +19343,7 @@ } }, "node_modules/prettier": { - "version": "3.0.2", + "version": "3.0.3", "dev": true, "license": "MIT", "bin": { @@ -19235,6 +19538,11 @@ "node": ">=4.2.0" } }, + "node_modules/prettier-eslint/node_modules/yallist": { + "version": "4.0.0", + "dev": true, + "license": "ISC" + }, "node_modules/prettier-linter-helpers": { "version": "1.0.0", "dev": true, @@ -19329,7 +19637,7 @@ } }, "node_modules/pure-rand": { - "version": "6.0.2", + "version": "6.0.4", "funding": [ { "type": "individual", @@ -19430,13 +19738,6 @@ "version": "1.1.2", "license": "Apache-2.0" }, - "node_modules/quill/node_modules/clone": { - "version": "2.1.2", - "license": "MIT", - "engines": { - "node": ">=0.8" - } - }, "node_modules/quill/node_modules/deep-equal": { "version": "1.1.1", "license": "MIT", @@ -19452,10 +19753,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/quill/node_modules/eventemitter3": { - "version": "2.0.3", - "license": "MIT" - }, "node_modules/randombytes": { "version": "2.1.0", "dev": true, @@ -19520,14 +19817,14 @@ } }, "node_modules/react-datepicker": { - "version": "4.16.0", + "version": "4.20.0", "license": "MIT", "dependencies": { "@popperjs/core": "^2.11.8", "classnames": "^2.2.6", "date-fns": "^2.30.0", "prop-types": "^15.7.2", - "react-onclickoutside": "^6.12.2", + "react-onclickoutside": "^6.13.0", "react-popper": "^2.3.0" }, "peerDependencies": { @@ -19536,7 +19833,7 @@ } }, "node_modules/react-devtools-core": { - "version": "4.28.0", + "version": "4.28.4", "license": "MIT", "peer": true, "dependencies": { @@ -19649,7 +19946,7 @@ } }, "node_modules/react-konva/node_modules/@types/react-reconciler": { - "version": "0.28.3", + "version": "0.28.5", "license": "MIT", "peer": true, "dependencies": { @@ -19683,16 +19980,16 @@ } }, "node_modules/react-native": { - "version": "0.72.4", + "version": "0.72.5", "license": "MIT", "peer": true, "dependencies": { "@jest/create-cache-key-function": "^29.2.1", - "@react-native-community/cli": "11.3.6", - "@react-native-community/cli-platform-android": "11.3.6", - "@react-native-community/cli-platform-ios": "11.3.6", + "@react-native-community/cli": "11.3.7", + "@react-native-community/cli-platform-android": "11.3.7", + "@react-native-community/cli-platform-ios": "11.3.7", "@react-native/assets-registry": "^0.72.0", - "@react-native/codegen": "^0.72.6", + "@react-native/codegen": "^0.72.7", "@react-native/gradle-plugin": "^0.72.11", "@react-native/js-polyfills": "^0.72.1", "@react-native/normalize-colors": "^0.72.0", @@ -19750,7 +20047,7 @@ } }, "node_modules/react-native/node_modules/@types/yargs": { - "version": "15.0.15", + "version": "15.0.16", "license": "MIT", "peer": true, "dependencies": { @@ -19794,19 +20091,6 @@ "url": "https://github.com/chalk/chalk?sponsor=1" } }, - "node_modules/react-native/node_modules/cliui": { - "version": "8.0.1", - "license": "ISC", - "peer": true, - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^7.0.0" - }, - "engines": { - "node": ">=12" - } - }, "node_modules/react-native/node_modules/color-convert": { "version": "2.0.1", "license": "MIT", @@ -19831,17 +20115,6 @@ "node": ">=8" } }, - "node_modules/react-native/node_modules/mkdirp": { - "version": "0.5.6", - "license": "MIT", - "peer": true, - "dependencies": { - "minimist": "^1.2.6" - }, - "bin": { - "mkdirp": "bin/cmd.js" - } - }, "node_modules/react-native/node_modules/pretty-format": { "version": "26.6.2", "license": "MIT", @@ -19893,22 +20166,6 @@ "node": ">=8" } }, - "node_modules/react-native/node_modules/wrap-ansi": { - "version": "7.0.0", - "license": "MIT", - "peer": true, - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, "node_modules/react-native/node_modules/ws": { "version": "6.2.2", "license": "MIT", @@ -19917,31 +20174,6 @@ "async-limiter": "~1.0.0" } }, - "node_modules/react-native/node_modules/yargs": { - "version": "17.7.2", - "license": "MIT", - "peer": true, - "dependencies": { - "cliui": "^8.0.1", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.3", - "y18n": "^5.0.5", - "yargs-parser": "^21.1.1" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/react-native/node_modules/yargs-parser": { - "version": "21.1.1", - "license": "ISC", - "peer": true, - "engines": { - "node": ">=12" - } - }, "node_modules/react-onclickoutside": { "version": "6.13.0", "license": "MIT", @@ -20004,7 +20236,7 @@ } }, "node_modules/react-redux": { - "version": "8.1.2", + "version": "8.1.3", "license": "MIT", "dependencies": { "@babel/runtime": "^7.12.1", @@ -20073,10 +20305,10 @@ } }, "node_modules/react-router": { - "version": "6.15.0", + "version": "6.16.0", "license": "MIT", "dependencies": { - "@remix-run/router": "1.8.0" + "@remix-run/router": "1.9.0" }, "engines": { "node": ">=14.0.0" @@ -20086,11 +20318,11 @@ } }, "node_modules/react-router-dom": { - "version": "6.15.0", + "version": "6.16.0", "license": "MIT", "dependencies": { - "@remix-run/router": "1.8.0", - "react-router": "6.15.0" + "@remix-run/router": "1.9.0", + "react-router": "6.16.0" }, "engines": { "node": ">=14.0.0" @@ -20113,7 +20345,7 @@ } }, "node_modules/react-smooth": { - "version": "2.0.3", + "version": "2.0.5", "license": "MIT", "dependencies": { "fast-equals": "^5.0.0", @@ -20147,7 +20379,7 @@ } }, "node_modules/react-spring": { - "version": "9.7.2", + "version": "9.7.3", "license": "MIT", "dependencies": { "@react-spring/core": "~9.7.3", @@ -20182,56 +20414,13 @@ } }, "node_modules/react-zdog": { - "version": "1.2.1", - "license": "MIT", - "peer": true, - "dependencies": { - "@babel/runtime": "^7.4.4", - "lodash-es": "^4.17.11", - "pointer-events-polyfill": "^0.4.4-pre", - "react-reconciler": "^0.20.4", - "resize-observer-polyfill": "^1.5.1", - "scheduler": "0.13.3" - }, - "peerDependencies": { - "react": ">=16.8", - "react-dom": ">=16.8", - "zdog": ">=1.1" - } - }, - "node_modules/react-zdog/node_modules/react-reconciler": { - "version": "0.20.4", - "license": "MIT", - "peer": true, - "dependencies": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1", - "prop-types": "^15.6.2", - "scheduler": "^0.13.6" - }, - "engines": { - "node": ">=0.10.0" - }, - "peerDependencies": { - "react": "^16.0.0" - } - }, - "node_modules/react-zdog/node_modules/react-reconciler/node_modules/scheduler": { - "version": "0.13.6", - "license": "MIT", - "peer": true, - "dependencies": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1" - } - }, - "node_modules/react-zdog/node_modules/scheduler": { - "version": "0.13.3", + "version": "1.2.2", "license": "MIT", "peer": true, "dependencies": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1" + "react": "^18.2.0", + "react-dom": "^18.2.0", + "resize-observer-polyfill": "^1.5.1" } }, "node_modules/reactcss": { @@ -20283,6 +20472,14 @@ "node": ">= 4" } }, + "node_modules/recast/node_modules/source-map": { + "version": "0.6.1", + "license": "BSD-3-Clause", + "peer": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/recharts": { "version": "2.8.0", "license": "MIT", @@ -20313,6 +20510,10 @@ "decimal.js-light": "^2.4.1" } }, + "node_modules/recharts/node_modules/eventemitter3": { + "version": "4.0.7", + "license": "MIT" + }, "node_modules/rechoir": { "version": "0.8.0", "dev": true, @@ -20363,14 +20564,14 @@ } }, "node_modules/reflect.getprototypeof": { - "version": "1.0.3", + "version": "1.0.4", "dev": true, "license": "MIT", "dependencies": { "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4", - "get-intrinsic": "^1.1.1", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "get-intrinsic": "^1.2.1", "globalthis": "^1.0.3", "which-builtin-type": "^1.1.3" }, @@ -20386,7 +20587,7 @@ "license": "MIT" }, "node_modules/regenerate-unicode-properties": { - "version": "10.1.0", + "version": "10.1.1", "license": "MIT", "dependencies": { "regenerate": "^1.4.2" @@ -20407,12 +20608,12 @@ } }, "node_modules/regexp.prototype.flags": { - "version": "1.5.0", + "version": "1.5.1", "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.2.0", - "functions-have-names": "^1.2.3" + "set-function-name": "^2.0.0" }, "engines": { "node": ">= 0.4" @@ -20495,7 +20696,7 @@ "peer": true }, "node_modules/resolve": { - "version": "1.22.4", + "version": "1.22.8", "license": "MIT", "dependencies": { "is-core-module": "^2.13.0", @@ -20553,6 +20754,36 @@ "node": ">=8" } }, + "node_modules/restore-cursor/node_modules/mimic-fn": { + "version": "2.1.0", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/restore-cursor/node_modules/onetime": { + "version": "5.1.2", + "license": "MIT", + "peer": true, + "dependencies": { + "mimic-fn": "^2.1.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/retry": { + "version": "0.13.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, "node_modules/reusify": { "version": "1.0.4", "dev": true, @@ -20594,6 +20825,88 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/run-applescript/node_modules/execa": { + "version": "5.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "node_modules/run-applescript/node_modules/human-signals": { + "version": "2.1.0", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=10.17.0" + } + }, + "node_modules/run-applescript/node_modules/is-stream": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/run-applescript/node_modules/mimic-fn": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/run-applescript/node_modules/npm-run-path": { + "version": "4.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "path-key": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/run-applescript/node_modules/onetime": { + "version": "5.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "mimic-fn": "^2.1.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/run-applescript/node_modules/strip-final-newline": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, "node_modules/run-parallel": { "version": "1.2.0", "dev": true, @@ -20617,12 +20930,12 @@ } }, "node_modules/safe-array-concat": { - "version": "1.0.0", + "version": "1.0.1", "dev": true, "license": "MIT", "dependencies": { "call-bind": "^1.0.2", - "get-intrinsic": "^1.2.0", + "get-intrinsic": "^1.2.1", "has-symbols": "^1.0.3", "isarray": "^2.0.5" }, @@ -20634,7 +20947,21 @@ } }, "node_modules/safe-buffer": { - "version": "5.1.2", + "version": "5.2.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], "license": "MIT" }, "node_modules/safe-regex-test": { @@ -20652,11 +20979,11 @@ }, "node_modules/safer-buffer": { "version": "2.1.2", - "devOptional": true, + "dev": true, "license": "MIT" }, "node_modules/sass": { - "version": "1.66.1", + "version": "1.69.3", "dev": true, "license": "MIT", "dependencies": { @@ -20690,22 +21017,54 @@ } }, "node_modules/schema-utils": { - "version": "3.3.0", + "version": "4.2.0", "dev": true, "license": "MIT", "dependencies": { - "@types/json-schema": "^7.0.8", - "ajv": "^6.12.5", - "ajv-keywords": "^3.5.2" + "@types/json-schema": "^7.0.9", + "ajv": "^8.9.0", + "ajv-formats": "^2.1.1", + "ajv-keywords": "^5.1.0" }, "engines": { - "node": ">= 10.13.0" + "node": ">= 12.13.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/webpack" } }, + "node_modules/schema-utils/node_modules/ajv": { + "version": "8.12.0", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/schema-utils/node_modules/ajv-keywords": { + "version": "5.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.3" + }, + "peerDependencies": { + "ajv": "^8.8.2" + } + }, + "node_modules/schema-utils/node_modules/json-schema-traverse": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, "node_modules/select-hose": { "version": "2.0.0", "dev": true, @@ -20724,8 +21083,7 @@ }, "node_modules/semver": { "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "license": "ISC", "bin": { "semver": "bin/semver.js" } @@ -20890,6 +21248,18 @@ "license": "ISC", "peer": true }, + "node_modules/set-function-name": { + "version": "2.0.1", + "license": "MIT", + "dependencies": { + "define-data-property": "^1.0.1", + "functions-have-names": "^1.2.3", + "has-property-descriptors": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/setprototypeof": { "version": "1.2.0", "license": "ISC" @@ -21013,10 +21383,10 @@ "license": "MIT" }, "node_modules/source-map": { - "version": "0.6.1", + "version": "0.7.4", "license": "BSD-3-Clause", "engines": { - "node": ">=0.10.0" + "node": ">= 8" } }, "node_modules/source-map-js": { @@ -21027,13 +21397,20 @@ } }, "node_modules/source-map-support": { - "version": "0.5.13", + "version": "0.5.21", "license": "MIT", "dependencies": { "buffer-from": "^1.0.0", "source-map": "^0.6.0" } }, + "node_modules/source-map-support/node_modules/source-map": { + "version": "0.6.1", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/spdy": { "version": "4.0.2", "dev": true, @@ -21066,6 +21443,17 @@ "version": "1.0.3", "license": "BSD-3-Clause" }, + "node_modules/ssri": { + "version": "10.0.5", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^7.0.3" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, "node_modules/stack-utils": { "version": "2.0.6", "license": "MIT", @@ -21135,24 +21523,6 @@ "safe-buffer": "~5.2.0" } }, - "node_modules/string_decoder/node_modules/safe-buffer": { - "version": "5.2.1", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT" - }, "node_modules/string-length": { "version": "4.0.2", "license": "MIT", @@ -21165,15 +21535,19 @@ } }, "node_modules/string-width": { - "version": "4.2.3", + "version": "5.1.2", + "dev": true, "license": "MIT", "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" }, "engines": { - "node": ">=8" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/string-width-cjs": { @@ -21190,8 +21564,38 @@ "node": ">=8" } }, + "node_modules/string-width-cjs/node_modules/emoji-regex": { + "version": "8.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/string-width/node_modules/ansi-regex": { + "version": "6.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/string-width/node_modules/strip-ansi": { + "version": "7.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, "node_modules/string.prototype.matchall": { - "version": "4.0.9", + "version": "4.0.10", "dev": true, "license": "MIT", "dependencies": { @@ -21202,6 +21606,7 @@ "has-symbols": "^1.0.3", "internal-slot": "^1.0.5", "regexp.prototype.flags": "^1.5.0", + "set-function-name": "^2.0.0", "side-channel": "^1.0.4" }, "funding": { @@ -21209,13 +21614,13 @@ } }, "node_modules/string.prototype.trim": { - "version": "1.2.7", + "version": "1.2.8", "dev": true, "license": "MIT", "dependencies": { "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1" }, "engines": { "node": ">= 0.4" @@ -21225,26 +21630,26 @@ } }, "node_modules/string.prototype.trimend": { - "version": "1.0.6", + "version": "1.0.7", "dev": true, "license": "MIT", "dependencies": { "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/string.prototype.trimstart": { - "version": "1.0.6", + "version": "1.0.7", "dev": true, "license": "MIT", "dependencies": { "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -21288,17 +21693,22 @@ } }, "node_modules/strip-bom": { - "version": "4.0.0", + "version": "3.0.0", + "dev": true, "license": "MIT", "engines": { - "node": ">=8" + "node": ">=4" } }, "node_modules/strip-final-newline": { - "version": "2.0.0", + "version": "3.0.0", + "dev": true, "license": "MIT", "engines": { - "node": ">=6" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/strip-indent": { @@ -21343,7 +21753,7 @@ } }, "node_modules/styled-components": { - "version": "6.0.7", + "version": "6.0.8", "license": "MIT", "dependencies": { "@babel/cli": "^7.21.0", @@ -21394,7 +21804,7 @@ "peer": true }, "node_modules/superjson": { - "version": "1.13.1", + "version": "1.13.3", "license": "MIT", "dependencies": { "copy-anything": "^3.0.2" @@ -21518,7 +21928,7 @@ } }, "node_modules/terser": { - "version": "5.19.2", + "version": "5.21.0", "license": "BSD-2-Clause", "dependencies": { "@jridgewell/source-map": "^0.3.3", @@ -21566,51 +21976,21 @@ } } }, - "node_modules/terser-webpack-plugin/node_modules/has-flag": { - "version": "4.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/terser-webpack-plugin/node_modules/jest-worker": { - "version": "27.5.1", + "node_modules/terser-webpack-plugin/node_modules/schema-utils": { + "version": "3.3.0", "dev": true, "license": "MIT", "dependencies": { - "@types/node": "*", - "merge-stream": "^2.0.0", - "supports-color": "^8.0.0" + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" }, "engines": { "node": ">= 10.13.0" - } - }, - "node_modules/terser-webpack-plugin/node_modules/supports-color": { - "version": "8.1.1", - "dev": true, - "license": "MIT", - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=10" }, "funding": { - "url": "https://github.com/chalk/supports-color?sponsor=1" - } - }, - "node_modules/terser/node_modules/commander": { - "version": "2.20.3", - "license": "MIT" - }, - "node_modules/terser/node_modules/source-map-support": { - "version": "0.5.21", - "license": "MIT", - "dependencies": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" + "type": "opencollective", + "url": "https://opencollective.com/webpack" } }, "node_modules/test-exclude": { @@ -21631,7 +22011,7 @@ "license": "MIT" }, "node_modules/three": { - "version": "0.155.0", + "version": "0.157.0", "license": "MIT", "peer": true }, @@ -21668,6 +22048,11 @@ "util-deprecate": "~1.0.1" } }, + "node_modules/through2/node_modules/safe-buffer": { + "version": "5.1.2", + "license": "MIT", + "peer": true + }, "node_modules/through2/node_modules/string_decoder": { "version": "1.1.1", "license": "MIT", @@ -21747,9 +22132,15 @@ } }, "node_modules/tr46": { - "version": "0.0.3", + "version": "4.1.1", + "dev": true, "license": "MIT", - "peer": true + "dependencies": { + "punycode": "^2.3.0" + }, + "engines": { + "node": ">=14" + } }, "node_modules/transliteration": { "version": "2.3.5", @@ -21765,85 +22156,8 @@ "node": ">=6.0.0" } }, - "node_modules/transliteration/node_modules/ansi-styles": { - "version": "4.3.0", - "license": "MIT", - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/transliteration/node_modules/cliui": { - "version": "8.0.1", - "license": "ISC", - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^7.0.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/transliteration/node_modules/color-convert": { - "version": "2.0.1", - "license": "MIT", - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/transliteration/node_modules/color-name": { - "version": "1.1.4", - "license": "MIT" - }, - "node_modules/transliteration/node_modules/wrap-ansi": { - "version": "7.0.0", - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/transliteration/node_modules/yargs": { - "version": "17.7.2", - "license": "MIT", - "dependencies": { - "cliui": "^8.0.1", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.3", - "y18n": "^5.0.5", - "yargs-parser": "^21.1.1" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/transliteration/node_modules/yargs-parser": { - "version": "21.1.1", - "license": "ISC", - "engines": { - "node": ">=12" - } - }, "node_modules/ts-api-utils": { - "version": "1.0.2", + "version": "1.0.3", "dev": true, "license": "MIT", "engines": { @@ -21920,23 +22234,21 @@ "node": ">=10" } }, - "node_modules/ts-jest/node_modules/yargs-parser": { - "version": "21.1.1", + "node_modules/ts-jest/node_modules/yallist": { + "version": "4.0.0", "dev": true, - "license": "ISC", - "engines": { - "node": ">=12" - } + "license": "ISC" }, "node_modules/ts-loader": { - "version": "9.4.4", + "version": "9.5.0", "dev": true, "license": "MIT", "dependencies": { "chalk": "^4.1.0", "enhanced-resolve": "^5.0.0", "micromatch": "^4.0.0", - "semver": "^7.3.4" + "semver": "^7.3.4", + "source-map": "^0.7.4" }, "engines": { "node": ">=12.0.0" @@ -22035,6 +22347,11 @@ "node": ">=8" } }, + "node_modules/ts-loader/node_modules/yallist": { + "version": "4.0.0", + "dev": true, + "license": "ISC" + }, "node_modules/ts-node": { "version": "10.9.1", "devOptional": true, @@ -22099,14 +22416,6 @@ "json5": "lib/cli.js" } }, - "node_modules/tsconfig-paths/node_modules/strip-bom": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" - } - }, "node_modules/tslib": { "version": "2.6.2", "license": "0BSD" @@ -22149,7 +22458,8 @@ } }, "node_modules/type-fest": { - "version": "0.21.3", + "version": "0.20.2", + "dev": true, "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=10" @@ -22271,6 +22581,14 @@ "license": "MIT", "peer": true }, + "node_modules/uglify-es/node_modules/source-map": { + "version": "0.6.1", + "license": "BSD-3-Clause", + "peer": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/unbox-primitive": { "version": "1.0.2", "dev": true, @@ -22285,6 +22603,10 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/undici-types": { + "version": "5.25.3", + "license": "MIT" + }, "node_modules/unicode-canonical-property-names-ecmascript": { "version": "2.0.0", "license": "MIT", @@ -22317,6 +22639,14 @@ "node": ">=4" } }, + "node_modules/universalify": { + "version": "0.1.2", + "license": "MIT", + "peer": true, + "engines": { + "node": ">= 4.0.0" + } + }, "node_modules/unpipe": { "version": "1.0.0", "license": "MIT", @@ -22333,7 +22663,7 @@ } }, "node_modules/update-browserslist-db": { - "version": "1.0.11", + "version": "1.0.13", "funding": [ { "type": "opencollective", @@ -22394,6 +22724,23 @@ } } }, + "node_modules/url-loader/node_modules/schema-utils": { + "version": "3.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, "node_modules/url-parse": { "version": "1.5.10", "license": "MIT", @@ -22421,7 +22768,11 @@ } }, "node_modules/uuid": { - "version": "9.0.0", + "version": "9.0.1", + "funding": [ + "https://github.com/sponsors/broofa", + "https://github.com/sponsors/ctavan" + ], "license": "MIT", "bin": { "uuid": "dist/bin/uuid" @@ -22433,12 +22784,12 @@ "license": "MIT" }, "node_modules/v8-to-istanbul": { - "version": "9.1.0", + "version": "9.1.3", "license": "ISC", "dependencies": { "@jridgewell/trace-mapping": "^0.3.12", "@types/istanbul-lib-coverage": "^2.0.1", - "convert-source-map": "^1.6.0" + "convert-source-map": "^2.0.0" }, "engines": { "node": ">=10.12.0" @@ -22472,7 +22823,7 @@ } }, "node_modules/victory-vendor/node_modules/@types/d3-shape": { - "version": "3.1.2", + "version": "3.1.3", "license": "MIT", "dependencies": { "@types/d3-path": "*" @@ -22507,7 +22858,7 @@ } }, "node_modules/vue-eslint-parser/node_modules/eslint-scope": { - "version": "7.1.1", + "version": "7.2.2", "dev": true, "license": "BSD-2-Clause", "dependencies": { @@ -22516,14 +22867,20 @@ }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" } }, "node_modules/vue-eslint-parser/node_modules/eslint-visitor-keys": { - "version": "3.3.0", + "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/vue-eslint-parser/node_modules/lru-cache": { @@ -22539,9 +22896,8 @@ }, "node_modules/vue-eslint-parser/node_modules/semver": { "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -22552,6 +22908,11 @@ "node": ">=10" } }, + "node_modules/vue-eslint-parser/node_modules/yallist": { + "version": "4.0.0", + "dev": true, + "license": "ISC" + }, "node_modules/w3c-xmlserializer": { "version": "4.0.0", "dev": true, @@ -22606,9 +22967,12 @@ } }, "node_modules/webidl-conversions": { - "version": "3.0.1", + "version": "7.0.0", + "dev": true, "license": "BSD-2-Clause", - "peer": true + "engines": { + "node": ">=12" + } }, "node_modules/webpack": { "version": "5.88.2", @@ -22700,11 +23064,6 @@ } } }, - "node_modules/webpack-cli/node_modules/colorette": { - "version": "2.0.20", - "dev": true, - "license": "MIT" - }, "node_modules/webpack-cli/node_modules/commander": { "version": "10.0.1", "dev": true, @@ -22735,60 +23094,6 @@ "webpack": "^4.0.0 || ^5.0.0" } }, - "node_modules/webpack-dev-middleware/node_modules/ajv": { - "version": "8.12.0", - "dev": true, - "license": "MIT", - "dependencies": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/webpack-dev-middleware/node_modules/ajv-keywords": { - "version": "5.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "fast-deep-equal": "^3.1.3" - }, - "peerDependencies": { - "ajv": "^8.8.2" - } - }, - "node_modules/webpack-dev-middleware/node_modules/colorette": { - "version": "2.0.20", - "dev": true, - "license": "MIT" - }, - "node_modules/webpack-dev-middleware/node_modules/json-schema-traverse": { - "version": "1.0.0", - "dev": true, - "license": "MIT" - }, - "node_modules/webpack-dev-middleware/node_modules/schema-utils": { - "version": "4.2.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/json-schema": "^7.0.9", - "ajv": "^8.9.0", - "ajv-formats": "^2.1.1", - "ajv-keywords": "^5.1.0" - }, - "engines": { - "node": ">= 12.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - } - }, "node_modules/webpack-dev-server": { "version": "4.15.1", "dev": true, @@ -22847,58 +23152,42 @@ } } }, - "node_modules/webpack-dev-server/node_modules/ajv": { - "version": "8.12.0", + "node_modules/webpack-dev-server/node_modules/define-lazy-prop": { + "version": "2.0.0", "dev": true, "license": "MIT", - "dependencies": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" + "engines": { + "node": ">=8" } }, - "node_modules/webpack-dev-server/node_modules/ajv-keywords": { - "version": "5.1.0", + "node_modules/webpack-dev-server/node_modules/is-docker": { + "version": "2.2.1", "dev": true, "license": "MIT", - "dependencies": { - "fast-deep-equal": "^3.1.3" + "bin": { + "is-docker": "cli.js" }, - "peerDependencies": { - "ajv": "^8.8.2" + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/webpack-dev-server/node_modules/colorette": { - "version": "2.0.20", - "dev": true, - "license": "MIT" - }, - "node_modules/webpack-dev-server/node_modules/json-schema-traverse": { - "version": "1.0.0", - "dev": true, - "license": "MIT" - }, - "node_modules/webpack-dev-server/node_modules/schema-utils": { - "version": "4.2.0", + "node_modules/webpack-dev-server/node_modules/open": { + "version": "8.4.2", "dev": true, "license": "MIT", "dependencies": { - "@types/json-schema": "^7.0.9", - "ajv": "^8.9.0", - "ajv-formats": "^2.1.1", - "ajv-keywords": "^5.1.0" + "define-lazy-prop": "^2.0.0", + "is-docker": "^2.1.1", + "is-wsl": "^2.2.0" }, "engines": { - "node": ">= 12.13.0" + "node": ">=12" }, "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/webpack-merge": { @@ -22921,6 +23210,23 @@ "node": ">=10.13.0" } }, + "node_modules/webpack/node_modules/schema-utils": { + "version": "3.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, "node_modules/websocket-driver": { "version": "0.7.4", "dev": true, @@ -22965,7 +23271,7 @@ } }, "node_modules/whatwg-fetch": { - "version": "3.6.18", + "version": "3.6.19", "license": "MIT", "peer": true }, @@ -22978,12 +23284,15 @@ } }, "node_modules/whatwg-url": { - "version": "5.0.0", + "version": "12.0.1", + "dev": true, "license": "MIT", - "peer": true, "dependencies": { - "tr46": "~0.0.3", - "webidl-conversions": "^3.0.0" + "tr46": "^4.1.1", + "webidl-conversions": "^7.0.0" + }, + "engines": { + "node": ">=14" } }, "node_modules/which": { @@ -23082,16 +23391,19 @@ "license": "MIT" }, "node_modules/wrap-ansi": { - "version": "6.2.0", + "version": "8.1.0", + "dev": true, "license": "MIT", - "peer": true, "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" }, "engines": { - "node": ">=8" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, "node_modules/wrap-ansi-cjs": { @@ -23141,42 +23453,77 @@ "dev": true, "license": "MIT" }, - "node_modules/wrap-ansi/node_modules/ansi-styles": { - "version": "4.3.0", + "node_modules/wrap-ansi-cjs/node_modules/emoji-regex": { + "version": "8.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/wrap-ansi-cjs/node_modules/string-width": { + "version": "4.2.3", + "dev": true, "license": "MIT", - "peer": true, "dependencies": { - "color-convert": "^2.0.1" + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" }, "engines": { "node": ">=8" + } + }, + "node_modules/wrap-ansi/node_modules/ansi-regex": { + "version": "6.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/wrap-ansi/node_modules/ansi-styles": { + "version": "6.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" }, "funding": { "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/wrap-ansi/node_modules/color-convert": { - "version": "2.0.1", + "node_modules/wrap-ansi/node_modules/strip-ansi": { + "version": "7.1.0", + "dev": true, "license": "MIT", - "peer": true, "dependencies": { - "color-name": "~1.1.4" + "ansi-regex": "^6.0.1" }, "engines": { - "node": ">=7.0.0" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" } }, - "node_modules/wrap-ansi/node_modules/color-name": { - "version": "1.1.4", - "license": "MIT", - "peer": true - }, "node_modules/wrappy": { "version": "1.0.2", "license": "ISC" }, + "node_modules/write-file-atomic": { + "version": "4.0.2", + "license": "ISC", + "dependencies": { + "imurmurhash": "^0.1.4", + "signal-exit": "^3.0.7" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, "node_modules/ws": { - "version": "8.13.0", + "version": "8.14.2", "dev": true, "license": "MIT", "engines": { @@ -23224,7 +23571,7 @@ } }, "node_modules/yallist": { - "version": "4.0.0", + "version": "3.1.1", "license": "ISC" }, "node_modules/yaml": { @@ -23235,6 +23582,45 @@ "node": ">= 14" } }, + "node_modules/yargs": { + "version": "17.7.2", + "license": "MIT", + "dependencies": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/yargs-parser": { + "version": "21.1.1", + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/yargs/node_modules/emoji-regex": { + "version": "8.0.0", + "license": "MIT" + }, + "node_modules/yargs/node_modules/string-width": { + "version": "4.2.3", + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/yn": { "version": "3.1.1", "devOptional": true, @@ -23274,6 +23660,9 @@ } } }, + "packages/app": { + "extraneous": true + }, "packages/client": { "name": "@ff/client", "version": "1.0.0", @@ -23411,18 +23800,18 @@ } }, "packages/scripts/node_modules/glob": { - "version": "10.3.3", + "version": "10.3.10", "dev": true, "license": "ISC", "dependencies": { "foreground-child": "^3.1.0", - "jackspeak": "^2.0.3", + "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/cjs/src/bin.js" + "glob": "dist/esm/bin.mjs" }, "engines": { "node": ">=16 || 14 >=14.17" @@ -23445,25 +23834,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "packages/scripts/node_modules/minipass": { - "version": "7.0.3", - "dev": true, - "license": "ISC", - "engines": { - "node": ">=16 || 14 >=14.17" - } - }, - "packages/scripts/node_modules/ssri": { - "version": "10.0.5", - "dev": true, - "license": "ISC", - "dependencies": { - "minipass": "^7.0.3" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, "packages/styles": { "name": "@ff/styles", "version": "1.0.0", @@ -23491,20 +23861,20 @@ "dev": true }, "@ampproject/remapping": { - "version": "2.2.0", + "version": "2.2.1", "requires": { - "@jridgewell/gen-mapping": "^0.1.0", + "@jridgewell/gen-mapping": "^0.3.0", "@jridgewell/trace-mapping": "^0.3.9" } }, "@babel/cli": { - "version": "7.22.10", + "version": "7.23.0", "requires": { "@jridgewell/trace-mapping": "^0.3.17", "@nicolo-ribaudo/chokidar-2": "2.1.8-no-fsevents.3", "chokidar": "^3.4.0", "commander": "^4.0.1", - "convert-source-map": "^1.1.0", + "convert-source-map": "^2.0.0", "fs-readdir-recursive": "^1.1.0", "glob": "^7.2.0", "make-dir": "^2.1.0", @@ -23521,9 +23891,6 @@ "semver": "^5.6.0" } }, - "pify": { - "version": "4.0.1" - }, "semver": { "version": "5.7.2" }, @@ -23540,22 +23907,22 @@ } }, "@babel/compat-data": { - "version": "7.22.9" + "version": "7.23.2" }, "@babel/core": { - "version": "7.22.11", + "version": "7.23.2", "requires": { "@ampproject/remapping": "^2.2.0", - "@babel/code-frame": "^7.22.10", - "@babel/generator": "^7.22.10", - "@babel/helper-compilation-targets": "^7.22.10", - "@babel/helper-module-transforms": "^7.22.9", - "@babel/helpers": "^7.22.11", - "@babel/parser": "^7.22.11", - "@babel/template": "^7.22.5", - "@babel/traverse": "^7.22.11", - "@babel/types": "^7.22.11", - "convert-source-map": "^1.7.0", + "@babel/code-frame": "^7.22.13", + "@babel/generator": "^7.23.0", + "@babel/helper-compilation-targets": "^7.22.15", + "@babel/helper-module-transforms": "^7.23.0", + "@babel/helpers": "^7.23.2", + "@babel/parser": "^7.23.0", + "@babel/template": "^7.22.15", + "@babel/traverse": "^7.23.2", + "@babel/types": "^7.23.0", + "convert-source-map": "^2.0.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", "json5": "^2.2.3", @@ -23563,7 +23930,7 @@ } }, "@babel/eslint-parser": { - "version": "7.22.11", + "version": "7.22.15", "dev": true, "requires": { "@nicolo-ribaudo/eslint-scope-5-internals": "5.1.1-v1", @@ -23573,23 +23940,11 @@ }, "@babel/generator": { "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.0.tgz", - "integrity": "sha512-lN85QRR+5IbYrMWM6Y4pE/noaQtg4pNiqeNGX60eqOfo6gtEj6uw/JagelB8vVztSd7R6M5n1+PQkDbHbBRU4g==", "requires": { "@babel/types": "^7.23.0", "@jridgewell/gen-mapping": "^0.3.2", "@jridgewell/trace-mapping": "^0.3.17", "jsesc": "^2.5.1" - }, - "dependencies": { - "@jridgewell/gen-mapping": { - "version": "0.3.3", - "requires": { - "@jridgewell/set-array": "^1.0.1", - "@jridgewell/sourcemap-codec": "^1.4.10", - "@jridgewell/trace-mapping": "^0.3.9" - } - } } }, "@babel/helper-annotate-as-pure": { @@ -23599,39 +23954,28 @@ } }, "@babel/helper-builder-binary-assignment-operator-visitor": { - "version": "7.22.10", + "version": "7.22.15", "requires": { - "@babel/types": "^7.22.10" + "@babel/types": "^7.22.15" } }, "@babel/helper-compilation-targets": { - "version": "7.22.10", + "version": "7.22.15", "requires": { "@babel/compat-data": "^7.22.9", - "@babel/helper-validator-option": "^7.22.5", + "@babel/helper-validator-option": "^7.22.15", "browserslist": "^4.21.9", "lru-cache": "^5.1.1", "semver": "^6.3.1" - }, - "dependencies": { - "lru-cache": { - "version": "5.1.1", - "requires": { - "yallist": "^3.0.2" - } - }, - "yallist": { - "version": "3.1.1" - } } }, "@babel/helper-create-class-features-plugin": { - "version": "7.22.11", + "version": "7.22.15", "requires": { "@babel/helper-annotate-as-pure": "^7.22.5", "@babel/helper-environment-visitor": "^7.22.5", "@babel/helper-function-name": "^7.22.5", - "@babel/helper-member-expression-to-functions": "^7.22.5", + "@babel/helper-member-expression-to-functions": "^7.22.15", "@babel/helper-optimise-call-expression": "^7.22.5", "@babel/helper-replace-supers": "^7.22.9", "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5", @@ -23640,7 +23984,7 @@ } }, "@babel/helper-create-regexp-features-plugin": { - "version": "7.22.9", + "version": "7.22.15", "requires": { "@babel/helper-annotate-as-pure": "^7.22.5", "regexpu-core": "^5.3.1", @@ -23648,7 +23992,7 @@ } }, "@babel/helper-define-polyfill-provider": { - "version": "0.4.2", + "version": "0.4.3", "requires": { "@babel/helper-compilation-targets": "^7.22.6", "@babel/helper-plugin-utils": "^7.22.5", @@ -23658,14 +24002,10 @@ } }, "@babel/helper-environment-visitor": { - "version": "7.22.20", - "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz", - "integrity": "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==" + "version": "7.22.20" }, "@babel/helper-function-name": { "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz", - "integrity": "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==", "requires": { "@babel/template": "^7.22.15", "@babel/types": "^7.23.0" @@ -23678,25 +24018,25 @@ } }, "@babel/helper-member-expression-to-functions": { - "version": "7.22.5", + "version": "7.23.0", "requires": { - "@babel/types": "^7.22.5" + "@babel/types": "^7.23.0" } }, "@babel/helper-module-imports": { - "version": "7.22.5", + "version": "7.22.15", "requires": { - "@babel/types": "^7.22.5" + "@babel/types": "^7.22.15" } }, "@babel/helper-module-transforms": { - "version": "7.22.9", + "version": "7.23.0", "requires": { - "@babel/helper-environment-visitor": "^7.22.5", - "@babel/helper-module-imports": "^7.22.5", + "@babel/helper-environment-visitor": "^7.22.20", + "@babel/helper-module-imports": "^7.22.15", "@babel/helper-simple-access": "^7.22.5", "@babel/helper-split-export-declaration": "^7.22.6", - "@babel/helper-validator-identifier": "^7.22.5" + "@babel/helper-validator-identifier": "^7.22.20" } }, "@babel/helper-optimise-call-expression": { @@ -23709,18 +24049,18 @@ "version": "7.22.5" }, "@babel/helper-remap-async-to-generator": { - "version": "7.22.9", + "version": "7.22.20", "requires": { "@babel/helper-annotate-as-pure": "^7.22.5", - "@babel/helper-environment-visitor": "^7.22.5", - "@babel/helper-wrap-function": "^7.22.9" + "@babel/helper-environment-visitor": "^7.22.20", + "@babel/helper-wrap-function": "^7.22.20" } }, "@babel/helper-replace-supers": { - "version": "7.22.9", + "version": "7.22.20", "requires": { - "@babel/helper-environment-visitor": "^7.22.5", - "@babel/helper-member-expression-to-functions": "^7.22.5", + "@babel/helper-environment-visitor": "^7.22.20", + "@babel/helper-member-expression-to-functions": "^7.22.15", "@babel/helper-optimise-call-expression": "^7.22.5" } }, @@ -23746,54 +24086,50 @@ "version": "7.22.5" }, "@babel/helper-validator-identifier": { - "version": "7.22.20", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz", - "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==" + "version": "7.22.20" }, "@babel/helper-validator-option": { - "version": "7.22.5" + "version": "7.22.15" }, "@babel/helper-wrap-function": { - "version": "7.22.10", + "version": "7.22.20", "requires": { "@babel/helper-function-name": "^7.22.5", - "@babel/template": "^7.22.5", - "@babel/types": "^7.22.10" + "@babel/template": "^7.22.15", + "@babel/types": "^7.22.19" } }, "@babel/helpers": { - "version": "7.22.11", + "version": "7.23.2", "requires": { - "@babel/template": "^7.22.5", - "@babel/traverse": "^7.22.11", - "@babel/types": "^7.22.11" + "@babel/template": "^7.22.15", + "@babel/traverse": "^7.23.2", + "@babel/types": "^7.23.0" } }, "@babel/highlight": { - "version": "7.22.13", + "version": "7.22.20", "requires": { - "@babel/helper-validator-identifier": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.20", "chalk": "^2.4.2", "js-tokens": "^4.0.0" } }, "@babel/parser": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.0.tgz", - "integrity": "sha512-vvPKKdMemU85V9WE/l5wZEmImpCtLqbnTvqDS2U1fJ96KrxoW7KrXhNsNCblQlg8Ck4b85yxdTyelsMUgFUXiw==" + "version": "7.23.0" }, "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { - "version": "7.22.5", + "version": "7.22.15", "requires": { "@babel/helper-plugin-utils": "^7.22.5" } }, "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { - "version": "7.22.5", + "version": "7.22.15", "requires": { "@babel/helper-plugin-utils": "^7.22.5", "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5", - "@babel/plugin-transform-optional-chaining": "^7.22.5" + "@babel/plugin-transform-optional-chaining": "^7.22.15" } }, "@babel/plugin-external-helpers": { @@ -23820,7 +24156,7 @@ } }, "@babel/plugin-proposal-export-default-from": { - "version": "7.22.5", + "version": "7.22.17", "peer": true, "requires": { "@babel/helper-plugin-utils": "^7.22.5", @@ -24022,11 +24358,11 @@ } }, "@babel/plugin-transform-async-generator-functions": { - "version": "7.22.11", + "version": "7.23.2", "requires": { - "@babel/helper-environment-visitor": "^7.22.5", + "@babel/helper-environment-visitor": "^7.22.20", "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-remap-async-to-generator": "^7.22.9", + "@babel/helper-remap-async-to-generator": "^7.22.20", "@babel/plugin-syntax-async-generators": "^7.8.4" } }, @@ -24045,7 +24381,7 @@ } }, "@babel/plugin-transform-block-scoping": { - "version": "7.22.10", + "version": "7.23.0", "requires": { "@babel/helper-plugin-utils": "^7.22.5" } @@ -24066,15 +24402,15 @@ } }, "@babel/plugin-transform-classes": { - "version": "7.22.6", + "version": "7.22.15", "requires": { "@babel/helper-annotate-as-pure": "^7.22.5", - "@babel/helper-compilation-targets": "^7.22.6", + "@babel/helper-compilation-targets": "^7.22.15", "@babel/helper-environment-visitor": "^7.22.5", "@babel/helper-function-name": "^7.22.5", "@babel/helper-optimise-call-expression": "^7.22.5", "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-replace-supers": "^7.22.5", + "@babel/helper-replace-supers": "^7.22.9", "@babel/helper-split-export-declaration": "^7.22.6", "globals": "^11.1.0" } @@ -24087,7 +24423,7 @@ } }, "@babel/plugin-transform-destructuring": { - "version": "7.22.10", + "version": "7.23.0", "requires": { "@babel/helper-plugin-utils": "^7.22.5" } @@ -24135,7 +24471,7 @@ } }, "@babel/plugin-transform-for-of": { - "version": "7.22.5", + "version": "7.22.15", "requires": { "@babel/helper-plugin-utils": "^7.22.5" } @@ -24175,27 +24511,27 @@ } }, "@babel/plugin-transform-modules-amd": { - "version": "7.22.5", + "version": "7.23.0", "requires": { - "@babel/helper-module-transforms": "^7.22.5", + "@babel/helper-module-transforms": "^7.23.0", "@babel/helper-plugin-utils": "^7.22.5" } }, "@babel/plugin-transform-modules-commonjs": { - "version": "7.22.11", + "version": "7.23.0", "requires": { - "@babel/helper-module-transforms": "^7.22.9", + "@babel/helper-module-transforms": "^7.23.0", "@babel/helper-plugin-utils": "^7.22.5", "@babel/helper-simple-access": "^7.22.5" } }, "@babel/plugin-transform-modules-systemjs": { - "version": "7.22.11", + "version": "7.23.0", "requires": { "@babel/helper-hoist-variables": "^7.22.5", - "@babel/helper-module-transforms": "^7.22.9", + "@babel/helper-module-transforms": "^7.23.0", "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-validator-identifier": "^7.22.5" + "@babel/helper-validator-identifier": "^7.22.20" } }, "@babel/plugin-transform-modules-umd": { @@ -24233,13 +24569,13 @@ } }, "@babel/plugin-transform-object-rest-spread": { - "version": "7.22.11", + "version": "7.22.15", "requires": { "@babel/compat-data": "^7.22.9", - "@babel/helper-compilation-targets": "^7.22.10", + "@babel/helper-compilation-targets": "^7.22.15", "@babel/helper-plugin-utils": "^7.22.5", "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-transform-parameters": "^7.22.5" + "@babel/plugin-transform-parameters": "^7.22.15" } }, "@babel/plugin-transform-object-super": { @@ -24257,7 +24593,7 @@ } }, "@babel/plugin-transform-optional-chaining": { - "version": "7.22.12", + "version": "7.23.0", "requires": { "@babel/helper-plugin-utils": "^7.22.5", "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5", @@ -24265,7 +24601,7 @@ } }, "@babel/plugin-transform-parameters": { - "version": "7.22.5", + "version": "7.22.15", "requires": { "@babel/helper-plugin-utils": "^7.22.5" } @@ -24306,13 +24642,13 @@ } }, "@babel/plugin-transform-react-jsx": { - "version": "7.22.5", + "version": "7.22.15", "requires": { "@babel/helper-annotate-as-pure": "^7.22.5", - "@babel/helper-module-imports": "^7.22.5", + "@babel/helper-module-imports": "^7.22.15", "@babel/helper-plugin-utils": "^7.22.5", "@babel/plugin-syntax-jsx": "^7.22.5", - "@babel/types": "^7.22.5" + "@babel/types": "^7.22.15" } }, "@babel/plugin-transform-react-jsx-development": { @@ -24356,14 +24692,14 @@ } }, "@babel/plugin-transform-runtime": { - "version": "7.22.10", + "version": "7.23.2", "peer": true, "requires": { - "@babel/helper-module-imports": "^7.22.5", + "@babel/helper-module-imports": "^7.22.15", "@babel/helper-plugin-utils": "^7.22.5", - "babel-plugin-polyfill-corejs2": "^0.4.5", - "babel-plugin-polyfill-corejs3": "^0.8.3", - "babel-plugin-polyfill-regenerator": "^0.5.2", + "babel-plugin-polyfill-corejs2": "^0.4.6", + "babel-plugin-polyfill-corejs3": "^0.8.5", + "babel-plugin-polyfill-regenerator": "^0.5.3", "semver": "^6.3.1" } }, @@ -24399,10 +24735,10 @@ } }, "@babel/plugin-transform-typescript": { - "version": "7.22.11", + "version": "7.22.15", "requires": { "@babel/helper-annotate-as-pure": "^7.22.5", - "@babel/helper-create-class-features-plugin": "^7.22.11", + "@babel/helper-create-class-features-plugin": "^7.22.15", "@babel/helper-plugin-utils": "^7.22.5", "@babel/plugin-syntax-typescript": "^7.22.5" } @@ -24435,14 +24771,14 @@ } }, "@babel/preset-env": { - "version": "7.22.10", + "version": "7.23.2", "requires": { - "@babel/compat-data": "^7.22.9", - "@babel/helper-compilation-targets": "^7.22.10", + "@babel/compat-data": "^7.23.2", + "@babel/helper-compilation-targets": "^7.22.15", "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-validator-option": "^7.22.5", - "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.22.5", - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.22.5", + "@babel/helper-validator-option": "^7.22.15", + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.22.15", + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.22.15", "@babel/plugin-proposal-private-property-in-object": "7.21.0-placeholder-for-preset-env.2", "@babel/plugin-syntax-async-generators": "^7.8.4", "@babel/plugin-syntax-class-properties": "^7.12.13", @@ -24463,41 +24799,41 @@ "@babel/plugin-syntax-top-level-await": "^7.14.5", "@babel/plugin-syntax-unicode-sets-regex": "^7.18.6", "@babel/plugin-transform-arrow-functions": "^7.22.5", - "@babel/plugin-transform-async-generator-functions": "^7.22.10", + "@babel/plugin-transform-async-generator-functions": "^7.23.2", "@babel/plugin-transform-async-to-generator": "^7.22.5", "@babel/plugin-transform-block-scoped-functions": "^7.22.5", - "@babel/plugin-transform-block-scoping": "^7.22.10", + "@babel/plugin-transform-block-scoping": "^7.23.0", "@babel/plugin-transform-class-properties": "^7.22.5", - "@babel/plugin-transform-class-static-block": "^7.22.5", - "@babel/plugin-transform-classes": "^7.22.6", + "@babel/plugin-transform-class-static-block": "^7.22.11", + "@babel/plugin-transform-classes": "^7.22.15", "@babel/plugin-transform-computed-properties": "^7.22.5", - "@babel/plugin-transform-destructuring": "^7.22.10", + "@babel/plugin-transform-destructuring": "^7.23.0", "@babel/plugin-transform-dotall-regex": "^7.22.5", "@babel/plugin-transform-duplicate-keys": "^7.22.5", - "@babel/plugin-transform-dynamic-import": "^7.22.5", + "@babel/plugin-transform-dynamic-import": "^7.22.11", "@babel/plugin-transform-exponentiation-operator": "^7.22.5", - "@babel/plugin-transform-export-namespace-from": "^7.22.5", - "@babel/plugin-transform-for-of": "^7.22.5", + "@babel/plugin-transform-export-namespace-from": "^7.22.11", + "@babel/plugin-transform-for-of": "^7.22.15", "@babel/plugin-transform-function-name": "^7.22.5", - "@babel/plugin-transform-json-strings": "^7.22.5", + "@babel/plugin-transform-json-strings": "^7.22.11", "@babel/plugin-transform-literals": "^7.22.5", - "@babel/plugin-transform-logical-assignment-operators": "^7.22.5", + "@babel/plugin-transform-logical-assignment-operators": "^7.22.11", "@babel/plugin-transform-member-expression-literals": "^7.22.5", - "@babel/plugin-transform-modules-amd": "^7.22.5", - "@babel/plugin-transform-modules-commonjs": "^7.22.5", - "@babel/plugin-transform-modules-systemjs": "^7.22.5", + "@babel/plugin-transform-modules-amd": "^7.23.0", + "@babel/plugin-transform-modules-commonjs": "^7.23.0", + "@babel/plugin-transform-modules-systemjs": "^7.23.0", "@babel/plugin-transform-modules-umd": "^7.22.5", "@babel/plugin-transform-named-capturing-groups-regex": "^7.22.5", "@babel/plugin-transform-new-target": "^7.22.5", - "@babel/plugin-transform-nullish-coalescing-operator": "^7.22.5", - "@babel/plugin-transform-numeric-separator": "^7.22.5", - "@babel/plugin-transform-object-rest-spread": "^7.22.5", + "@babel/plugin-transform-nullish-coalescing-operator": "^7.22.11", + "@babel/plugin-transform-numeric-separator": "^7.22.11", + "@babel/plugin-transform-object-rest-spread": "^7.22.15", "@babel/plugin-transform-object-super": "^7.22.5", - "@babel/plugin-transform-optional-catch-binding": "^7.22.5", - "@babel/plugin-transform-optional-chaining": "^7.22.10", - "@babel/plugin-transform-parameters": "^7.22.5", + "@babel/plugin-transform-optional-catch-binding": "^7.22.11", + "@babel/plugin-transform-optional-chaining": "^7.23.0", + "@babel/plugin-transform-parameters": "^7.22.15", "@babel/plugin-transform-private-methods": "^7.22.5", - "@babel/plugin-transform-private-property-in-object": "^7.22.5", + "@babel/plugin-transform-private-property-in-object": "^7.22.11", "@babel/plugin-transform-property-literals": "^7.22.5", "@babel/plugin-transform-regenerator": "^7.22.10", "@babel/plugin-transform-reserved-words": "^7.22.5", @@ -24511,20 +24847,20 @@ "@babel/plugin-transform-unicode-regex": "^7.22.5", "@babel/plugin-transform-unicode-sets-regex": "^7.22.5", "@babel/preset-modules": "0.1.6-no-external-plugins", - "@babel/types": "^7.22.10", - "babel-plugin-polyfill-corejs2": "^0.4.5", - "babel-plugin-polyfill-corejs3": "^0.8.3", - "babel-plugin-polyfill-regenerator": "^0.5.2", + "@babel/types": "^7.23.0", + "babel-plugin-polyfill-corejs2": "^0.4.6", + "babel-plugin-polyfill-corejs3": "^0.8.5", + "babel-plugin-polyfill-regenerator": "^0.5.3", "core-js-compat": "^3.31.0", "semver": "^6.3.1" } }, "@babel/preset-flow": { - "version": "7.22.5", + "version": "7.22.15", "peer": true, "requires": { "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-validator-option": "^7.22.5", + "@babel/helper-validator-option": "^7.22.15", "@babel/plugin-transform-flow-strip-types": "^7.22.5" } }, @@ -24537,28 +24873,28 @@ } }, "@babel/preset-react": { - "version": "7.22.5", + "version": "7.22.15", "requires": { "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-validator-option": "^7.22.5", + "@babel/helper-validator-option": "^7.22.15", "@babel/plugin-transform-react-display-name": "^7.22.5", - "@babel/plugin-transform-react-jsx": "^7.22.5", + "@babel/plugin-transform-react-jsx": "^7.22.15", "@babel/plugin-transform-react-jsx-development": "^7.22.5", "@babel/plugin-transform-react-pure-annotations": "^7.22.5" } }, "@babel/preset-typescript": { - "version": "7.22.11", + "version": "7.23.2", "requires": { "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-validator-option": "^7.22.5", + "@babel/helper-validator-option": "^7.22.15", "@babel/plugin-syntax-jsx": "^7.22.5", - "@babel/plugin-transform-modules-commonjs": "^7.22.11", - "@babel/plugin-transform-typescript": "^7.22.11" + "@babel/plugin-transform-modules-commonjs": "^7.23.0", + "@babel/plugin-transform-typescript": "^7.22.15" } }, "@babel/register": { - "version": "7.22.5", + "version": "7.22.15", "peer": true, "requires": { "clone-deep": "^4.0.1", @@ -24618,10 +24954,6 @@ "version": "3.0.0", "peer": true }, - "pify": { - "version": "4.0.1", - "peer": true - }, "pkg-dir": { "version": "3.0.0", "peer": true, @@ -24632,14 +24964,6 @@ "semver": { "version": "5.7.2", "peer": true - }, - "source-map-support": { - "version": "0.5.21", - "peer": true, - "requires": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" - } } } }, @@ -24647,15 +24971,13 @@ "version": "0.8.0" }, "@babel/runtime": { - "version": "7.22.11", + "version": "7.23.2", "requires": { "regenerator-runtime": "^0.14.0" } }, "@babel/template": { "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz", - "integrity": "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==", "requires": { "@babel/code-frame": "^7.22.13", "@babel/parser": "^7.22.15", @@ -24664,8 +24986,6 @@ }, "@babel/traverse": { "version": "7.23.2", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.2.tgz", - "integrity": "sha512-azpe59SQ48qG6nu2CzcMLbxUudtN+dOM9kDbUqGq3HXUJRlo7i8fvPoxQUzYgLZ4cMVmuZgm8vvBpNeRhd6XSw==", "requires": { "@babel/code-frame": "^7.22.13", "@babel/generator": "^7.23.0", @@ -24681,8 +25001,6 @@ }, "@babel/types": { "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.0.tgz", - "integrity": "sha512-0oIyUfKoI3mSqMvsxBdclDwxXKXAUA8v/apZbc+iSyARYou1o8ZGDxbUYyLFoW2arqS2jDGqJuZvv1d/io1axg==", "requires": { "@babel/helper-string-parser": "^7.22.5", "@babel/helper-validator-identifier": "^7.22.20", @@ -24739,7 +25057,7 @@ } }, "@eslint-community/regexpp": { - "version": "4.8.0", + "version": "4.9.1", "dev": true }, "@eslint/eslintrc": { @@ -24758,20 +25076,16 @@ }, "dependencies": { "globals": { - "version": "13.21.0", + "version": "13.23.0", "dev": true, "requires": { "type-fest": "^0.20.2" } - }, - "type-fest": { - "version": "0.20.2", - "dev": true } } }, "@eslint/js": { - "version": "8.48.0", + "version": "8.51.0", "dev": true }, "@ff/client": { @@ -24902,11 +25216,11 @@ } }, "glob": { - "version": "10.3.3", + "version": "10.3.10", "dev": true, "requires": { "foreground-child": "^3.1.0", - "jackspeak": "^2.0.3", + "jackspeak": "^2.3.5", "minimatch": "^9.0.1", "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", "path-scurry": "^1.10.1" @@ -24918,17 +25232,6 @@ "requires": { "brace-expansion": "^2.0.1" } - }, - "minipass": { - "version": "7.0.3", - "dev": true - }, - "ssri": { - "version": "10.0.5", - "dev": true, - "requires": { - "minipass": "^7.0.3" - } } } }, @@ -24953,7 +25256,7 @@ } }, "@humanwhocodes/config-array": { - "version": "0.11.10", + "version": "0.11.11", "dev": true, "requires": { "@humanwhocodes/object-schema": "^1.2.1", @@ -24989,38 +25292,12 @@ "version": "6.0.1", "dev": true }, - "ansi-styles": { - "version": "6.2.1", - "dev": true - }, - "emoji-regex": { - "version": "9.2.2", - "dev": true - }, - "string-width": { - "version": "5.1.2", - "dev": true, - "requires": { - "eastasianwidth": "^0.2.0", - "emoji-regex": "^9.2.2", - "strip-ansi": "^7.0.1" - } - }, "strip-ansi": { "version": "7.1.0", "dev": true, "requires": { "ansi-regex": "^6.0.1" } - }, - "wrap-ansi": { - "version": "8.1.0", - "dev": true, - "requires": { - "ansi-styles": "^6.1.0", - "string-width": "^5.0.1", - "strip-ansi": "^7.0.1" - } } } }, @@ -25040,6 +25317,9 @@ "sprintf-js": "~1.0.2" } }, + "camelcase": { + "version": "5.3.1" + }, "find-up": { "version": "4.1.0", "requires": { @@ -25081,13 +25361,13 @@ "version": "0.1.3" }, "@jest/console": { - "version": "29.6.4", + "version": "29.7.0", "requires": { "@jest/types": "^29.6.3", "@types/node": "*", "chalk": "^4.0.0", - "jest-message-util": "^29.6.3", - "jest-util": "^29.6.3", + "jest-message-util": "^29.7.0", + "jest-util": "^29.7.0", "slash": "^3.0.0" }, "dependencies": { @@ -25125,12 +25405,12 @@ } }, "@jest/core": { - "version": "29.6.4", + "version": "29.7.0", "requires": { - "@jest/console": "^29.6.4", - "@jest/reporters": "^29.6.4", - "@jest/test-result": "^29.6.4", - "@jest/transform": "^29.6.4", + "@jest/console": "^29.7.0", + "@jest/reporters": "^29.7.0", + "@jest/test-result": "^29.7.0", + "@jest/transform": "^29.7.0", "@jest/types": "^29.6.3", "@types/node": "*", "ansi-escapes": "^4.2.1", @@ -25138,21 +25418,21 @@ "ci-info": "^3.2.0", "exit": "^0.1.2", "graceful-fs": "^4.2.9", - "jest-changed-files": "^29.6.3", - "jest-config": "^29.6.4", - "jest-haste-map": "^29.6.4", - "jest-message-util": "^29.6.3", + "jest-changed-files": "^29.7.0", + "jest-config": "^29.7.0", + "jest-haste-map": "^29.7.0", + "jest-message-util": "^29.7.0", "jest-regex-util": "^29.6.3", - "jest-resolve": "^29.6.4", - "jest-resolve-dependencies": "^29.6.4", - "jest-runner": "^29.6.4", - "jest-runtime": "^29.6.4", - "jest-snapshot": "^29.6.4", - "jest-util": "^29.6.3", - "jest-validate": "^29.6.3", - "jest-watcher": "^29.6.4", + "jest-resolve": "^29.7.0", + "jest-resolve-dependencies": "^29.7.0", + "jest-runner": "^29.7.0", + "jest-runtime": "^29.7.0", + "jest-snapshot": "^29.7.0", + "jest-util": "^29.7.0", + "jest-validate": "^29.7.0", + "jest-watcher": "^29.7.0", "micromatch": "^4.0.4", - "pretty-format": "^29.6.3", + "pretty-format": "^29.7.0", "slash": "^3.0.0", "strip-ansi": "^6.0.0" }, @@ -25183,7 +25463,7 @@ "version": "4.0.0" }, "pretty-format": { - "version": "29.6.3", + "version": "29.7.0", "requires": { "@jest/schemas": "^29.6.3", "ansi-styles": "^5.0.0", @@ -25207,61 +25487,61 @@ } }, "@jest/create-cache-key-function": { - "version": "29.6.3", + "version": "29.7.0", "peer": true, "requires": { "@jest/types": "^29.6.3" } }, "@jest/environment": { - "version": "29.6.4", + "version": "29.7.0", "requires": { - "@jest/fake-timers": "^29.6.4", + "@jest/fake-timers": "^29.7.0", "@jest/types": "^29.6.3", "@types/node": "*", - "jest-mock": "^29.6.3" + "jest-mock": "^29.7.0" } }, "@jest/expect": { - "version": "29.6.4", + "version": "29.7.0", "requires": { - "expect": "^29.6.4", - "jest-snapshot": "^29.6.4" + "expect": "^29.7.0", + "jest-snapshot": "^29.7.0" } }, "@jest/expect-utils": { - "version": "29.6.4", + "version": "29.7.0", "requires": { "jest-get-type": "^29.6.3" } }, "@jest/fake-timers": { - "version": "29.6.4", + "version": "29.7.0", "requires": { "@jest/types": "^29.6.3", "@sinonjs/fake-timers": "^10.0.2", "@types/node": "*", - "jest-message-util": "^29.6.3", - "jest-mock": "^29.6.3", - "jest-util": "^29.6.3" + "jest-message-util": "^29.7.0", + "jest-mock": "^29.7.0", + "jest-util": "^29.7.0" } }, "@jest/globals": { - "version": "29.6.4", + "version": "29.7.0", "requires": { - "@jest/environment": "^29.6.4", - "@jest/expect": "^29.6.4", + "@jest/environment": "^29.7.0", + "@jest/expect": "^29.7.0", "@jest/types": "^29.6.3", - "jest-mock": "^29.6.3" + "jest-mock": "^29.7.0" } }, "@jest/reporters": { - "version": "29.6.4", + "version": "29.7.0", "requires": { "@bcoe/v8-coverage": "^0.2.3", - "@jest/console": "^29.6.4", - "@jest/test-result": "^29.6.4", - "@jest/transform": "^29.6.4", + "@jest/console": "^29.7.0", + "@jest/test-result": "^29.7.0", + "@jest/transform": "^29.7.0", "@jest/types": "^29.6.3", "@jridgewell/trace-mapping": "^0.3.18", "@types/node": "*", @@ -25275,9 +25555,9 @@ "istanbul-lib-report": "^3.0.0", "istanbul-lib-source-maps": "^4.0.0", "istanbul-reports": "^3.1.3", - "jest-message-util": "^29.6.3", - "jest-util": "^29.6.3", - "jest-worker": "^29.6.4", + "jest-message-util": "^29.7.0", + "jest-util": "^29.7.0", + "jest-worker": "^29.7.0", "slash": "^3.0.0", "string-length": "^4.0.1", "strip-ansi": "^6.0.0", @@ -25309,6 +25589,23 @@ "has-flag": { "version": "4.0.0" }, + "jest-worker": { + "version": "29.7.0", + "requires": { + "@types/node": "*", + "jest-util": "^29.7.0", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" + }, + "dependencies": { + "supports-color": { + "version": "8.1.1", + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, "supports-color": { "version": "7.2.0", "requires": { @@ -25332,25 +25629,25 @@ } }, "@jest/test-result": { - "version": "29.6.4", + "version": "29.7.0", "requires": { - "@jest/console": "^29.6.4", + "@jest/console": "^29.7.0", "@jest/types": "^29.6.3", "@types/istanbul-lib-coverage": "^2.0.0", "collect-v8-coverage": "^1.0.0" } }, "@jest/test-sequencer": { - "version": "29.6.4", + "version": "29.7.0", "requires": { - "@jest/test-result": "^29.6.4", + "@jest/test-result": "^29.7.0", "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.6.4", + "jest-haste-map": "^29.7.0", "slash": "^3.0.0" } }, "@jest/transform": { - "version": "29.6.4", + "version": "29.7.0", "requires": { "@babel/core": "^7.11.6", "@jest/types": "^29.6.3", @@ -25360,9 +25657,9 @@ "convert-source-map": "^2.0.0", "fast-json-stable-stringify": "^2.1.0", "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.6.4", + "jest-haste-map": "^29.7.0", "jest-regex-util": "^29.6.3", - "jest-util": "^29.6.3", + "jest-util": "^29.7.0", "micromatch": "^4.0.4", "pirates": "^4.0.4", "slash": "^3.0.0", @@ -25391,9 +25688,6 @@ "color-name": { "version": "1.1.4" }, - "convert-source-map": { - "version": "2.0.0" - }, "has-flag": { "version": "4.0.0" }, @@ -25402,13 +25696,6 @@ "requires": { "has-flag": "^4.0.0" } - }, - "write-file-atomic": { - "version": "4.0.2", - "requires": { - "imurmurhash": "^0.1.4", - "signal-exit": "^3.0.7" - } } } }, @@ -25457,33 +25744,24 @@ } }, "@jridgewell/gen-mapping": { - "version": "0.1.1", + "version": "0.3.3", "requires": { - "@jridgewell/set-array": "^1.0.0", - "@jridgewell/sourcemap-codec": "^1.4.10" + "@jridgewell/set-array": "^1.0.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.9" } }, "@jridgewell/resolve-uri": { "version": "3.1.1" }, "@jridgewell/set-array": { - "version": "1.1.1" + "version": "1.1.2" }, "@jridgewell/source-map": { "version": "0.3.5", "requires": { "@jridgewell/gen-mapping": "^0.3.0", "@jridgewell/trace-mapping": "^0.3.9" - }, - "dependencies": { - "@jridgewell/gen-mapping": { - "version": "0.3.3", - "requires": { - "@jridgewell/set-array": "^1.0.1", - "@jridgewell/sourcemap-codec": "^1.4.10", - "@jridgewell/trace-mapping": "^0.3.9" - } - } } }, "@jridgewell/sourcemap-codec": { @@ -25501,15 +25779,15 @@ "dev": true }, "@monaco-editor/loader": { - "version": "1.3.3", + "version": "1.4.0", "requires": { "state-local": "^1.0.6" } }, "@monaco-editor/react": { - "version": "4.5.2", + "version": "4.6.0", "requires": { - "@monaco-editor/loader": "^1.3.3" + "@monaco-editor/loader": "^1.4.0" } }, "@nicolo-ribaudo/chokidar-2": { @@ -25558,22 +25836,6 @@ "open": "^9.1.0", "picocolors": "^1.0.0", "tslib": "^2.6.0" - }, - "dependencies": { - "define-lazy-prop": { - "version": "3.0.0", - "dev": true - }, - "open": { - "version": "9.1.0", - "dev": true, - "requires": { - "default-browser": "^4.0.0", - "define-lazy-prop": "^3.0.0", - "is-inside-container": "^1.0.0", - "is-wsl": "^2.2.0" - } - } } }, "@pmmmwh/react-refresh-webpack-plugin": { @@ -25591,9 +25853,14 @@ "source-map": "^0.7.3" }, "dependencies": { - "source-map": { - "version": "0.7.4", - "dev": true + "schema-utils": { + "version": "3.3.0", + "dev": true, + "requires": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" + } } } }, @@ -25610,18 +25877,18 @@ "version": "4.0.2" }, "@react-native-community/cli": { - "version": "11.3.6", - "peer": true, - "requires": { - "@react-native-community/cli-clean": "11.3.6", - "@react-native-community/cli-config": "11.3.6", - "@react-native-community/cli-debugger-ui": "11.3.6", - "@react-native-community/cli-doctor": "11.3.6", - "@react-native-community/cli-hermes": "11.3.6", - "@react-native-community/cli-plugin-metro": "11.3.6", - "@react-native-community/cli-server-api": "11.3.6", - "@react-native-community/cli-tools": "11.3.6", - "@react-native-community/cli-types": "11.3.6", + "version": "11.3.7", + "peer": true, + "requires": { + "@react-native-community/cli-clean": "11.3.7", + "@react-native-community/cli-config": "11.3.7", + "@react-native-community/cli-debugger-ui": "11.3.7", + "@react-native-community/cli-doctor": "11.3.7", + "@react-native-community/cli-hermes": "11.3.7", + "@react-native-community/cli-plugin-metro": "11.3.7", + "@react-native-community/cli-server-api": "11.3.7", + "@react-native-community/cli-tools": "11.3.7", + "@react-native-community/cli-types": "11.3.7", "chalk": "^4.1.2", "commander": "^9.4.1", "execa": "^5.0.0", @@ -25658,33 +25925,44 @@ "version": "1.1.4", "peer": true }, - "find-up": { - "version": "4.1.0", + "commander": { + "version": "9.5.0", + "peer": true + }, + "execa": { + "version": "5.1.1", "peer": true, "requires": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" } }, - "fs-extra": { - "version": "8.1.0", + "find-up": { + "version": "4.1.0", "peer": true, "requires": { - "graceful-fs": "^4.2.0", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" } }, "has-flag": { "version": "4.0.0", "peer": true }, - "jsonfile": { - "version": "4.0.0", - "peer": true, - "requires": { - "graceful-fs": "^4.1.6" - } + "human-signals": { + "version": "2.1.0", + "peer": true + }, + "is-stream": { + "version": "2.0.1", + "peer": true }, "locate-path": { "version": "5.0.0", @@ -25700,6 +25978,24 @@ "yallist": "^4.0.0" } }, + "mimic-fn": { + "version": "2.1.0", + "peer": true + }, + "npm-run-path": { + "version": "4.0.1", + "peer": true, + "requires": { + "path-key": "^3.0.0" + } + }, + "onetime": { + "version": "5.1.2", + "peer": true, + "requires": { + "mimic-fn": "^2.1.0" + } + }, "p-limit": { "version": "2.3.0", "peer": true, @@ -25721,6 +26017,10 @@ "lru-cache": "^6.0.0" } }, + "strip-final-newline": { + "version": "2.0.0", + "peer": true + }, "supports-color": { "version": "7.2.0", "peer": true, @@ -25728,17 +26028,17 @@ "has-flag": "^4.0.0" } }, - "universalify": { - "version": "0.1.2", + "yallist": { + "version": "4.0.0", "peer": true } } }, "@react-native-community/cli-clean": { - "version": "11.3.6", + "version": "11.3.7", "peer": true, "requires": { - "@react-native-community/cli-tools": "11.3.6", + "@react-native-community/cli-tools": "11.3.7", "chalk": "^4.1.2", "execa": "^5.0.0", "prompts": "^2.4.0" @@ -25770,10 +26070,55 @@ "version": "1.1.4", "peer": true }, + "execa": { + "version": "5.1.1", + "peer": true, + "requires": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + } + }, "has-flag": { "version": "4.0.0", "peer": true }, + "human-signals": { + "version": "2.1.0", + "peer": true + }, + "is-stream": { + "version": "2.0.1", + "peer": true + }, + "mimic-fn": { + "version": "2.1.0", + "peer": true + }, + "npm-run-path": { + "version": "4.0.1", + "peer": true, + "requires": { + "path-key": "^3.0.0" + } + }, + "onetime": { + "version": "5.1.2", + "peer": true, + "requires": { + "mimic-fn": "^2.1.0" + } + }, + "strip-final-newline": { + "version": "2.0.0", + "peer": true + }, "supports-color": { "version": "7.2.0", "peer": true, @@ -25784,10 +26129,10 @@ } }, "@react-native-community/cli-config": { - "version": "11.3.6", + "version": "11.3.7", "peer": true, "requires": { - "@react-native-community/cli-tools": "11.3.6", + "@react-native-community/cli-tools": "11.3.7", "chalk": "^4.1.2", "cosmiconfig": "^5.1.0", "deepmerge": "^4.3.0", @@ -25880,20 +26225,20 @@ } }, "@react-native-community/cli-debugger-ui": { - "version": "11.3.6", + "version": "11.3.7", "peer": true, "requires": { "serve-static": "^1.13.1" } }, "@react-native-community/cli-doctor": { - "version": "11.3.6", + "version": "11.3.7", "peer": true, "requires": { - "@react-native-community/cli-config": "11.3.6", - "@react-native-community/cli-platform-android": "11.3.6", - "@react-native-community/cli-platform-ios": "11.3.6", - "@react-native-community/cli-tools": "11.3.6", + "@react-native-community/cli-config": "11.3.7", + "@react-native-community/cli-platform-android": "11.3.7", + "@react-native-community/cli-platform-ios": "11.3.7", + "@react-native-community/cli-tools": "11.3.7", "chalk": "^4.1.2", "command-exists": "^1.2.8", "envinfo": "^7.7.2", @@ -25940,12 +26285,31 @@ "version": "1.1.4", "peer": true }, + "execa": { + "version": "5.1.1", + "peer": true, + "requires": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + } + }, "has-flag": { "version": "4.0.0", "peer": true }, - "ip": { - "version": "1.1.8", + "human-signals": { + "version": "2.1.0", + "peer": true + }, + "is-stream": { + "version": "2.0.1", "peer": true }, "lru-cache": { @@ -25955,6 +26319,24 @@ "yallist": "^4.0.0" } }, + "mimic-fn": { + "version": "2.1.0", + "peer": true + }, + "npm-run-path": { + "version": "4.0.1", + "peer": true, + "requires": { + "path-key": "^3.0.0" + } + }, + "onetime": { + "version": "5.1.2", + "peer": true, + "requires": { + "mimic-fn": "^2.1.0" + } + }, "semver": { "version": "7.5.4", "peer": true, @@ -25969,21 +26351,29 @@ "ansi-regex": "^4.1.0" } }, + "strip-final-newline": { + "version": "2.0.0", + "peer": true + }, "supports-color": { "version": "7.2.0", "peer": true, "requires": { "has-flag": "^4.0.0" } + }, + "yallist": { + "version": "4.0.0", + "peer": true } } }, "@react-native-community/cli-hermes": { - "version": "11.3.6", + "version": "11.3.7", "peer": true, "requires": { - "@react-native-community/cli-platform-android": "11.3.6", - "@react-native-community/cli-tools": "11.3.6", + "@react-native-community/cli-platform-android": "11.3.7", + "@react-native-community/cli-tools": "11.3.7", "chalk": "^4.1.2", "hermes-profile-transformer": "^0.0.6", "ip": "^1.1.5" @@ -26019,10 +26409,6 @@ "version": "4.0.0", "peer": true }, - "ip": { - "version": "1.1.8", - "peer": true - }, "supports-color": { "version": "7.2.0", "peer": true, @@ -26033,10 +26419,10 @@ } }, "@react-native-community/cli-platform-android": { - "version": "11.3.6", + "version": "11.3.7", "peer": true, "requires": { - "@react-native-community/cli-tools": "11.3.6", + "@react-native-community/cli-tools": "11.3.7", "chalk": "^4.1.2", "execa": "^5.0.0", "glob": "^7.1.3", @@ -26069,10 +26455,55 @@ "version": "1.1.4", "peer": true }, + "execa": { + "version": "5.1.1", + "peer": true, + "requires": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + } + }, "has-flag": { "version": "4.0.0", "peer": true }, + "human-signals": { + "version": "2.1.0", + "peer": true + }, + "is-stream": { + "version": "2.0.1", + "peer": true + }, + "mimic-fn": { + "version": "2.1.0", + "peer": true + }, + "npm-run-path": { + "version": "4.0.1", + "peer": true, + "requires": { + "path-key": "^3.0.0" + } + }, + "onetime": { + "version": "5.1.2", + "peer": true, + "requires": { + "mimic-fn": "^2.1.0" + } + }, + "strip-final-newline": { + "version": "2.0.0", + "peer": true + }, "supports-color": { "version": "7.2.0", "peer": true, @@ -26083,10 +26514,10 @@ } }, "@react-native-community/cli-platform-ios": { - "version": "11.3.6", + "version": "11.3.7", "peer": true, "requires": { - "@react-native-community/cli-tools": "11.3.6", + "@react-native-community/cli-tools": "11.3.7", "chalk": "^4.1.2", "execa": "^5.0.0", "fast-xml-parser": "^4.0.12", @@ -26120,10 +26551,55 @@ "version": "1.1.4", "peer": true }, + "execa": { + "version": "5.1.1", + "peer": true, + "requires": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + } + }, "has-flag": { "version": "4.0.0", "peer": true }, + "human-signals": { + "version": "2.1.0", + "peer": true + }, + "is-stream": { + "version": "2.0.1", + "peer": true + }, + "mimic-fn": { + "version": "2.1.0", + "peer": true + }, + "npm-run-path": { + "version": "4.0.1", + "peer": true, + "requires": { + "path-key": "^3.0.0" + } + }, + "onetime": { + "version": "5.1.2", + "peer": true, + "requires": { + "mimic-fn": "^2.1.0" + } + }, + "strip-final-newline": { + "version": "2.0.0", + "peer": true + }, "supports-color": { "version": "7.2.0", "peer": true, @@ -26134,19 +26610,19 @@ } }, "@react-native-community/cli-plugin-metro": { - "version": "11.3.6", + "version": "11.3.7", "peer": true, "requires": { - "@react-native-community/cli-server-api": "11.3.6", - "@react-native-community/cli-tools": "11.3.6", + "@react-native-community/cli-server-api": "11.3.7", + "@react-native-community/cli-tools": "11.3.7", "chalk": "^4.1.2", "execa": "^5.0.0", - "metro": "0.76.7", - "metro-config": "0.76.7", - "metro-core": "0.76.7", - "metro-react-native-babel-transformer": "0.76.7", - "metro-resolver": "0.76.7", - "metro-runtime": "0.76.7", + "metro": "0.76.8", + "metro-config": "0.76.8", + "metro-core": "0.76.8", + "metro-react-native-babel-transformer": "0.76.8", + "metro-resolver": "0.76.8", + "metro-runtime": "0.76.8", "readline": "^1.3.0" }, "dependencies": { @@ -26176,20 +26652,53 @@ "version": "1.1.4", "peer": true }, + "execa": { + "version": "5.1.1", + "peer": true, + "requires": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + } + }, "has-flag": { "version": "4.0.0", "peer": true }, - "metro-runtime": { - "version": "0.76.7", + "human-signals": { + "version": "2.1.0", + "peer": true + }, + "is-stream": { + "version": "2.0.1", + "peer": true + }, + "mimic-fn": { + "version": "2.1.0", + "peer": true + }, + "npm-run-path": { + "version": "4.0.1", "peer": true, "requires": { - "@babel/runtime": "^7.0.0", - "react-refresh": "^0.4.0" + "path-key": "^3.0.0" } }, - "react-refresh": { - "version": "0.4.3", + "onetime": { + "version": "5.1.2", + "peer": true, + "requires": { + "mimic-fn": "^2.1.0" + } + }, + "strip-final-newline": { + "version": "2.0.0", "peer": true }, "supports-color": { @@ -26202,11 +26711,11 @@ } }, "@react-native-community/cli-server-api": { - "version": "11.3.6", + "version": "11.3.7", "peer": true, "requires": { - "@react-native-community/cli-debugger-ui": "11.3.6", - "@react-native-community/cli-tools": "11.3.6", + "@react-native-community/cli-debugger-ui": "11.3.7", + "@react-native-community/cli-tools": "11.3.7", "compression": "^1.7.1", "connect": "^3.6.5", "errorhandler": "^1.5.1", @@ -26228,7 +26737,7 @@ } }, "@types/yargs": { - "version": "15.0.15", + "version": "15.0.16", "peer": true, "requires": { "@types/yargs-parser": "*" @@ -26297,7 +26806,7 @@ } }, "@react-native-community/cli-tools": { - "version": "11.3.6", + "version": "11.3.7", "peer": true, "requires": { "appdirsjs": "^1.2.4", @@ -26372,11 +26881,15 @@ "requires": { "has-flag": "^4.0.0" } + }, + "yallist": { + "version": "4.0.0", + "peer": true } } }, "@react-native-community/cli-types": { - "version": "11.3.6", + "version": "11.3.7", "peer": true, "requires": { "joi": "^17.2.1" @@ -26387,7 +26900,7 @@ "peer": true }, "@react-native/codegen": { - "version": "0.72.6", + "version": "0.72.7", "peer": true, "requires": { "@babel/parser": "^7.20.0", @@ -26486,11 +26999,12 @@ } }, "@react-three/fiber": { - "version": "8.13.7", + "version": "8.14.5", "peer": true, "requires": { "@babel/runtime": "^7.17.8", "@types/react-reconciler": "^0.26.7", + "base64-js": "^1.5.1", "its-fine": "^1.0.6", "react-reconciler": "^0.27.0", "react-use-measure": "^2.1.1", @@ -26528,7 +27042,7 @@ } }, "@reduxjs/toolkit": { - "version": "1.9.5", + "version": "1.9.7", "requires": { "immer": "^9.0.21", "redux": "^4.2.1", @@ -26537,7 +27051,7 @@ } }, "@remix-run/router": { - "version": "1.8.0" + "version": "1.9.0" }, "@sideway/address": { "version": "4.1.4", @@ -26632,12 +27146,6 @@ "camelcase": "^6.2.0", "cosmiconfig": "^8.1.3", "snake-case": "^3.0.4" - }, - "dependencies": { - "camelcase": { - "version": "6.3.0", - "dev": true - } } }, "@svgr/hast-util-to-babel-ast": { @@ -26688,17 +27196,17 @@ } }, "@tanstack/query-core": { - "version": "4.33.0" + "version": "4.36.1" }, "@tanstack/react-query": { - "version": "4.33.0", + "version": "4.36.1", "requires": { - "@tanstack/query-core": "4.33.0", + "@tanstack/query-core": "4.36.1", "use-sync-external-store": "^1.2.0" } }, "@tanstack/react-query-devtools": { - "version": "4.33.0", + "version": "4.36.1", "requires": { "@tanstack/match-sorter-utils": "^8.7.0", "superjson": "^1.10.0", @@ -26706,7 +27214,7 @@ } }, "@testing-library/dom": { - "version": "9.3.1", + "version": "9.3.3", "dev": true, "requires": { "@babel/code-frame": "^7.10.4", @@ -26782,10 +27290,10 @@ } }, "@testing-library/jest-dom": { - "version": "6.1.2", + "version": "6.1.4", "dev": true, "requires": { - "@adobe/css-tools": "^4.3.0", + "@adobe/css-tools": "^4.3.1", "@babel/runtime": "^7.9.2", "aria-query": "^5.0.0", "chalk": "^3.0.0", @@ -26844,7 +27352,7 @@ } }, "@testing-library/user-event": { - "version": "14.4.3", + "version": "14.5.1", "dev": true, "requires": {} }, @@ -26873,7 +27381,7 @@ "devOptional": true }, "@types/aria-query": { - "version": "5.0.1", + "version": "5.0.2", "dev": true }, "@types/axios": { @@ -26884,7 +27392,7 @@ } }, "@types/babel__core": { - "version": "7.20.1", + "version": "7.20.2", "requires": { "@babel/parser": "^7.20.7", "@babel/types": "^7.20.7", @@ -26894,26 +27402,26 @@ } }, "@types/babel__generator": { - "version": "7.6.4", + "version": "7.6.5", "requires": { "@babel/types": "^7.0.0" } }, "@types/babel__template": { - "version": "7.4.1", + "version": "7.4.2", "requires": { "@babel/parser": "^7.1.0", "@babel/types": "^7.0.0" } }, "@types/babel__traverse": { - "version": "7.20.1", + "version": "7.20.2", "requires": { "@babel/types": "^7.20.7" } }, "@types/body-parser": { - "version": "1.19.2", + "version": "1.19.3", "dev": true, "requires": { "@types/connect": "*", @@ -26921,21 +27429,21 @@ } }, "@types/bonjour": { - "version": "3.5.10", + "version": "3.5.11", "dev": true, "requires": { "@types/node": "*" } }, "@types/connect": { - "version": "3.4.35", + "version": "3.4.36", "dev": true, "requires": { "@types/node": "*" } }, "@types/connect-history-api-fallback": { - "version": "1.5.0", + "version": "1.5.1", "dev": true, "requires": { "@types/express-serve-static-core": "*", @@ -26943,16 +27451,16 @@ } }, "@types/d3-array": { - "version": "3.0.7" + "version": "3.0.8" }, "@types/d3-color": { - "version": "3.1.0" + "version": "3.1.1" }, "@types/d3-ease": { "version": "3.0.0" }, "@types/d3-interpolate": { - "version": "3.0.1", + "version": "3.0.2", "requires": { "@types/d3-color": "*" } @@ -26961,26 +27469,26 @@ "version": "1.0.9" }, "@types/d3-scale": { - "version": "4.0.4", + "version": "4.0.5", "requires": { "@types/d3-time": "*" } }, "@types/d3-shape": { - "version": "1.3.8", + "version": "1.3.9", "dev": true, "requires": { "@types/d3-path": "^1" } }, "@types/d3-time": { - "version": "3.0.0" + "version": "3.0.1" }, "@types/d3-timer": { "version": "3.0.0" }, "@types/eslint": { - "version": "8.4.2", + "version": "8.44.4", "dev": true, "requires": { "@types/estree": "*", @@ -26988,7 +27496,7 @@ } }, "@types/eslint-scope": { - "version": "3.7.4", + "version": "3.7.5", "dev": true, "requires": { "@types/eslint": "*", @@ -26996,11 +27504,11 @@ } }, "@types/estree": { - "version": "1.0.1", + "version": "1.0.2", "dev": true }, "@types/express": { - "version": "4.17.17", + "version": "4.17.19", "dev": true, "requires": { "@types/body-parser": "*", @@ -27010,7 +27518,7 @@ } }, "@types/express-serve-static-core": { - "version": "4.17.36", + "version": "4.17.37", "dev": true, "requires": { "@types/node": "*", @@ -27020,28 +27528,28 @@ } }, "@types/graceful-fs": { - "version": "4.1.6", + "version": "4.1.7", "requires": { "@types/node": "*" } }, "@types/grecaptcha": { - "version": "3.0.4", + "version": "3.0.5", "dev": true }, "@types/hoist-non-react-statics": { - "version": "3.3.1", + "version": "3.3.3", "requires": { "@types/react": "*", "hoist-non-react-statics": "^3.3.0" } }, "@types/http-errors": { - "version": "2.0.1", + "version": "2.0.2", "dev": true }, "@types/http-proxy": { - "version": "1.17.11", + "version": "1.17.12", "dev": true, "requires": { "@types/node": "*" @@ -27051,19 +27559,19 @@ "version": "2.0.4" }, "@types/istanbul-lib-report": { - "version": "3.0.0", + "version": "3.0.1", "requires": { "@types/istanbul-lib-coverage": "*" } }, "@types/istanbul-reports": { - "version": "3.0.1", + "version": "3.0.2", "requires": { "@types/istanbul-lib-report": "*" } }, "@types/jest": { - "version": "29.5.4", + "version": "29.5.5", "dev": true, "requires": { "expect": "^29.0.0", @@ -27075,7 +27583,7 @@ "dev": true }, "pretty-format": { - "version": "29.6.3", + "version": "29.7.0", "dev": true, "requires": { "@jest/schemas": "^29.6.3", @@ -27090,7 +27598,7 @@ } }, "@types/jquery": { - "version": "3.5.17", + "version": "3.5.22", "dev": true, "requires": { "@types/sizzle": "*" @@ -27106,7 +27614,7 @@ } }, "@types/json-schema": { - "version": "7.0.12", + "version": "7.0.13", "dev": true }, "@types/json5": { @@ -27114,7 +27622,7 @@ "dev": true }, "@types/lodash": { - "version": "4.14.197", + "version": "4.14.199", "dev": true }, "@types/lodash.camelcase": { @@ -27146,25 +27654,28 @@ } }, "@types/mime": { - "version": "1.3.2", + "version": "1.3.3", "dev": true }, "@types/node": { - "version": "20.5.7" + "version": "20.8.4", + "requires": { + "undici-types": "~5.25.1" + } }, "@types/prettier": { - "version": "2.6.3", + "version": "2.7.3", "dev": true }, "@types/prop-types": { - "version": "15.7.5" + "version": "15.7.8" }, "@types/pubsub-js": { - "version": "1.8.3", + "version": "1.8.4", "dev": true }, "@types/qs": { - "version": "6.9.7", + "version": "6.9.8", "dev": true }, "@types/quill": { @@ -27174,11 +27685,11 @@ } }, "@types/range-parser": { - "version": "1.2.4", + "version": "1.2.5", "dev": true }, "@types/react": { - "version": "18.2.21", + "version": "18.2.28", "requires": { "@types/prop-types": "*", "@types/scheduler": "*", @@ -27186,7 +27697,7 @@ } }, "@types/react-color": { - "version": "3.0.6", + "version": "3.0.7", "dev": true, "requires": { "@types/react": "*", @@ -27194,7 +27705,7 @@ } }, "@types/react-datepicker": { - "version": "4.15.0", + "version": "4.15.2", "dev": true, "requires": { "@popperjs/core": "^2.9.2", @@ -27204,7 +27715,7 @@ } }, "@types/react-dom": { - "version": "18.2.7", + "version": "18.2.13", "devOptional": true, "requires": { "@types/react": "*" @@ -27218,14 +27729,14 @@ } }, "@types/reactcss": { - "version": "1.2.6", + "version": "1.2.7", "dev": true, "requires": { "@types/react": "*" } }, "@types/recharts": { - "version": "1.8.24", + "version": "1.8.25", "dev": true, "requires": { "@types/d3-shape": "^1", @@ -27237,14 +27748,14 @@ "dev": true }, "@types/scheduler": { - "version": "0.16.3" + "version": "0.16.4" }, "@types/semver": { - "version": "7.5.1", + "version": "7.5.3", "dev": true }, "@types/send": { - "version": "0.17.1", + "version": "0.17.2", "dev": true, "requires": { "@types/mime": "^1", @@ -27252,14 +27763,14 @@ } }, "@types/serve-index": { - "version": "1.9.1", + "version": "1.9.2", "dev": true, "requires": { "@types/express": "*" } }, "@types/serve-static": { - "version": "1.15.2", + "version": "1.15.3", "dev": true, "requires": { "@types/http-errors": "*", @@ -27268,25 +27779,25 @@ } }, "@types/sizzle": { - "version": "2.3.3", + "version": "2.3.4", "dev": true }, "@types/sockjs": { - "version": "0.3.33", + "version": "0.3.34", "dev": true, "requires": { "@types/node": "*" } }, "@types/sortablejs": { - "version": "1.15.2", + "version": "1.15.3", "dev": true }, "@types/stack-utils": { "version": "2.0.1" }, "@types/styled-components": { - "version": "5.1.26", + "version": "5.1.28", "dev": true, "requires": { "@types/hoist-non-react-statics": "*", @@ -27295,25 +27806,25 @@ } }, "@types/stylis": { - "version": "4.2.0" + "version": "4.2.1" }, "@types/tough-cookie": { - "version": "4.0.2", + "version": "4.0.3", "dev": true }, "@types/url-parse": { - "version": "1.4.8", + "version": "1.4.9", "dev": true }, "@types/use-sync-external-store": { "version": "0.0.3" }, "@types/uuid": { - "version": "9.0.2", + "version": "9.0.5", "dev": true }, "@types/webpack": { - "version": "5.28.2", + "version": "5.28.3", "dev": true, "requires": { "@types/node": "*", @@ -27322,30 +27833,30 @@ } }, "@types/ws": { - "version": "8.5.5", + "version": "8.5.7", "dev": true, "requires": { "@types/node": "*" } }, "@types/yargs": { - "version": "17.0.24", + "version": "17.0.28", "requires": { "@types/yargs-parser": "*" } }, "@types/yargs-parser": { - "version": "21.0.0" + "version": "21.0.1" }, "@typescript-eslint/eslint-plugin": { - "version": "6.5.0", + "version": "6.7.5", "dev": true, "requires": { "@eslint-community/regexpp": "^4.5.1", - "@typescript-eslint/scope-manager": "6.5.0", - "@typescript-eslint/type-utils": "6.5.0", - "@typescript-eslint/utils": "6.5.0", - "@typescript-eslint/visitor-keys": "6.5.0", + "@typescript-eslint/scope-manager": "6.7.5", + "@typescript-eslint/type-utils": "6.7.5", + "@typescript-eslint/utils": "6.7.5", + "@typescript-eslint/visitor-keys": "6.7.5", "debug": "^4.3.4", "graphemer": "^1.4.0", "ignore": "^5.2.4", @@ -27367,48 +27878,52 @@ "requires": { "lru-cache": "^6.0.0" } + }, + "yallist": { + "version": "4.0.0", + "dev": true } } }, "@typescript-eslint/parser": { - "version": "6.5.0", + "version": "6.7.5", "dev": true, "requires": { - "@typescript-eslint/scope-manager": "6.5.0", - "@typescript-eslint/types": "6.5.0", - "@typescript-eslint/typescript-estree": "6.5.0", - "@typescript-eslint/visitor-keys": "6.5.0", + "@typescript-eslint/scope-manager": "6.7.5", + "@typescript-eslint/types": "6.7.5", + "@typescript-eslint/typescript-estree": "6.7.5", + "@typescript-eslint/visitor-keys": "6.7.5", "debug": "^4.3.4" } }, "@typescript-eslint/scope-manager": { - "version": "6.5.0", + "version": "6.7.5", "dev": true, "requires": { - "@typescript-eslint/types": "6.5.0", - "@typescript-eslint/visitor-keys": "6.5.0" + "@typescript-eslint/types": "6.7.5", + "@typescript-eslint/visitor-keys": "6.7.5" } }, "@typescript-eslint/type-utils": { - "version": "6.5.0", + "version": "6.7.5", "dev": true, "requires": { - "@typescript-eslint/typescript-estree": "6.5.0", - "@typescript-eslint/utils": "6.5.0", + "@typescript-eslint/typescript-estree": "6.7.5", + "@typescript-eslint/utils": "6.7.5", "debug": "^4.3.4", "ts-api-utils": "^1.0.1" } }, "@typescript-eslint/types": { - "version": "6.5.0", + "version": "6.7.5", "dev": true }, "@typescript-eslint/typescript-estree": { - "version": "6.5.0", + "version": "6.7.5", "dev": true, "requires": { - "@typescript-eslint/types": "6.5.0", - "@typescript-eslint/visitor-keys": "6.5.0", + "@typescript-eslint/types": "6.7.5", + "@typescript-eslint/visitor-keys": "6.7.5", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -27429,19 +27944,23 @@ "requires": { "lru-cache": "^6.0.0" } + }, + "yallist": { + "version": "4.0.0", + "dev": true } } }, "@typescript-eslint/utils": { - "version": "6.5.0", + "version": "6.7.5", "dev": true, "requires": { "@eslint-community/eslint-utils": "^4.4.0", "@types/json-schema": "^7.0.12", "@types/semver": "^7.5.0", - "@typescript-eslint/scope-manager": "6.5.0", - "@typescript-eslint/types": "6.5.0", - "@typescript-eslint/typescript-estree": "6.5.0", + "@typescript-eslint/scope-manager": "6.7.5", + "@typescript-eslint/types": "6.7.5", + "@typescript-eslint/typescript-estree": "6.7.5", "semver": "^7.5.4" }, "dependencies": { @@ -27458,14 +27977,18 @@ "requires": { "lru-cache": "^6.0.0" } + }, + "yallist": { + "version": "4.0.0", + "dev": true } } }, "@typescript-eslint/visitor-keys": { - "version": "6.5.0", + "version": "6.7.5", "dev": true, "requires": { - "@typescript-eslint/types": "6.5.0", + "@typescript-eslint/types": "6.7.5", "eslint-visitor-keys": "^3.4.1" }, "dependencies": { @@ -27710,6 +28233,11 @@ "version": "4.3.2", "requires": { "type-fest": "^0.21.3" + }, + "dependencies": { + "type-fest": { + "version": "0.21.3" + } } }, "ansi-fragments": { @@ -27725,6 +28253,10 @@ "version": "4.1.1", "peer": true }, + "colorette": { + "version": "1.4.0", + "peer": true + }, "strip-ansi": { "version": "5.2.0", "peer": true, @@ -27787,13 +28319,13 @@ "dev": true }, "array-includes": { - "version": "3.1.6", + "version": "3.1.7", "dev": true, "requires": { "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4", - "get-intrinsic": "^1.1.3", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "get-intrinsic": "^1.2.1", "is-string": "^1.0.7" } }, @@ -27802,54 +28334,55 @@ "dev": true }, "array.prototype.findlastindex": { - "version": "1.2.2", + "version": "1.2.3", "dev": true, "requires": { "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", "es-shim-unscopables": "^1.0.0", - "get-intrinsic": "^1.1.3" + "get-intrinsic": "^1.2.1" } }, "array.prototype.flat": { - "version": "1.3.1", + "version": "1.3.2", "dev": true, "requires": { "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", "es-shim-unscopables": "^1.0.0" } }, "array.prototype.flatmap": { - "version": "1.3.1", + "version": "1.3.2", "dev": true, "requires": { "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", "es-shim-unscopables": "^1.0.0" } }, "array.prototype.tosorted": { - "version": "1.1.1", + "version": "1.1.2", "dev": true, "requires": { "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", "es-shim-unscopables": "^1.0.0", - "get-intrinsic": "^1.1.3" + "get-intrinsic": "^1.2.1" } }, "arraybuffer.prototype.slice": { - "version": "1.0.1", + "version": "1.0.2", "dev": true, "requires": { "array-buffer-byte-length": "^1.0.0", "call-bind": "^1.0.2", "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", "get-intrinsic": "^1.2.1", "is-array-buffer": "^3.0.2", "is-shared-array-buffer": "^1.0.2" @@ -27889,12 +28422,12 @@ "version": "0.4.0" }, "autoprefixer": { - "version": "10.4.15", + "version": "10.4.16", "dev": true, "requires": { "browserslist": "^4.21.10", - "caniuse-lite": "^1.0.30001520", - "fraction.js": "^4.2.0", + "caniuse-lite": "^1.0.30001538", + "fraction.js": "^4.3.6", "normalize-range": "^0.1.2", "picocolors": "^1.0.0", "postcss-value-parser": "^4.2.0" @@ -27905,7 +28438,7 @@ "dev": true }, "axios": { - "version": "1.5.0", + "version": "1.5.1", "requires": { "follow-redirects": "^1.15.0", "form-data": "^4.0.0", @@ -27918,9 +28451,9 @@ "requires": {} }, "babel-jest": { - "version": "29.6.4", + "version": "29.7.0", "requires": { - "@jest/transform": "^29.6.4", + "@jest/transform": "^29.7.0", "@types/babel__core": "^7.1.14", "babel-plugin-istanbul": "^6.1.1", "babel-preset-jest": "^29.6.3", @@ -27968,39 +28501,6 @@ "requires": { "find-cache-dir": "^4.0.0", "schema-utils": "^4.0.0" - }, - "dependencies": { - "ajv": { - "version": "8.12.0", - "dev": true, - "requires": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - } - }, - "ajv-keywords": { - "version": "5.1.0", - "dev": true, - "requires": { - "fast-deep-equal": "^3.1.3" - } - }, - "json-schema-traverse": { - "version": "1.0.0", - "dev": true - }, - "schema-utils": { - "version": "4.2.0", - "dev": true, - "requires": { - "@types/json-schema": "^7.0.9", - "ajv": "^8.9.0", - "ajv-formats": "^2.1.1", - "ajv-keywords": "^5.1.0" - } - } } }, "babel-plugin-istanbul": { @@ -28035,24 +28535,24 @@ } }, "babel-plugin-polyfill-corejs2": { - "version": "0.4.5", + "version": "0.4.6", "requires": { "@babel/compat-data": "^7.22.6", - "@babel/helper-define-polyfill-provider": "^0.4.2", + "@babel/helper-define-polyfill-provider": "^0.4.3", "semver": "^6.3.1" } }, "babel-plugin-polyfill-corejs3": { - "version": "0.8.3", + "version": "0.8.5", "requires": { - "@babel/helper-define-polyfill-provider": "^0.4.2", - "core-js-compat": "^3.31.0" + "@babel/helper-define-polyfill-provider": "^0.4.3", + "core-js-compat": "^3.32.2" } }, "babel-plugin-polyfill-regenerator": { - "version": "0.5.2", + "version": "0.5.3", "requires": { - "@babel/helper-define-polyfill-provider": "^0.4.2" + "@babel/helper-define-polyfill-provider": "^0.4.3" } }, "babel-plugin-syntax-trailing-function-commas": { @@ -28240,12 +28740,12 @@ "dev": true }, "browserslist": { - "version": "4.21.10", + "version": "4.22.1", "requires": { - "caniuse-lite": "^1.0.30001517", - "electron-to-chromium": "^1.4.477", + "caniuse-lite": "^1.0.30001541", + "electron-to-chromium": "^1.4.535", "node-releases": "^2.0.13", - "update-browserslist-db": "^1.0.11" + "update-browserslist-db": "^1.0.13" } }, "bs-logger": { @@ -28313,13 +28813,13 @@ "version": "3.1.0" }, "camelcase": { - "version": "5.3.1" + "version": "6.3.0" }, "camelize": { "version": "1.0.1" }, "caniuse-lite": { - "version": "1.0.30001524" + "version": "1.0.30001547" }, "chalk": { "version": "2.4.2", @@ -28360,7 +28860,7 @@ "dev": true }, "ci-info": { - "version": "3.8.0" + "version": "3.9.0" }, "cjs-module-lexer": { "version": "1.2.3" @@ -28376,12 +28876,55 @@ } }, "cli-spinners": { - "version": "2.6.1", + "version": "2.9.1", "peer": true }, + "cliui": { + "version": "8.0.1", + "requires": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "requires": { + "color-convert": "^2.0.1" + } + }, + "color-convert": { + "version": "2.0.1", + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4" + }, + "emoji-regex": { + "version": "8.0.0" + }, + "string-width": { + "version": "4.2.3", + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + }, + "wrap-ansi": { + "version": "7.0.0", + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + } + } + } + }, "clone": { - "version": "1.0.4", - "peer": true + "version": "2.1.2" }, "clone-deep": { "version": "4.0.1", @@ -28389,14 +28932,6 @@ "is-plain-object": "^2.0.4", "kind-of": "^6.0.2", "shallow-clone": "^3.0.0" - }, - "dependencies": { - "is-plain-object": { - "version": "2.0.4", - "requires": { - "isobject": "^3.0.1" - } - } } }, "clsx": { @@ -28418,8 +28953,8 @@ "version": "1.1.3" }, "colorette": { - "version": "1.4.0", - "peer": true + "version": "2.0.20", + "dev": true }, "combined-stream": { "version": "1.0.8", @@ -28432,8 +28967,7 @@ "peer": true }, "commander": { - "version": "9.5.0", - "peer": true + "version": "2.20.3" }, "common-path-prefix": { "version": "3.0.0", @@ -28473,6 +29007,9 @@ }, "ms": { "version": "2.0.0" + }, + "safe-buffer": { + "version": "5.1.2" } } }, @@ -28511,12 +29048,6 @@ "dev": true, "requires": { "safe-buffer": "5.2.1" - }, - "dependencies": { - "safe-buffer": { - "version": "5.2.1", - "dev": true - } } }, "content-type": { @@ -28524,10 +29055,7 @@ "dev": true }, "convert-source-map": { - "version": "1.8.0", - "requires": { - "safe-buffer": "~5.1.1" - } + "version": "2.0.0" }, "cookie": { "version": "0.5.0", @@ -28544,34 +29072,79 @@ } }, "core-js": { - "version": "3.32.1" + "version": "3.33.0" }, "core-js-compat": { - "version": "3.32.1", + "version": "3.33.0", "requires": { - "browserslist": "^4.21.10" + "browserslist": "^4.22.1" } }, "core-js-pure": { - "version": "3.32.1", + "version": "3.33.0", "dev": true }, "core-util-is": { "version": "1.0.3" }, "cosmiconfig": { - "version": "8.2.0", + "version": "8.3.6", "dev": true, "requires": { - "import-fresh": "^3.2.1", + "import-fresh": "^3.3.0", "js-yaml": "^4.1.0", - "parse-json": "^5.0.0", + "parse-json": "^5.2.0", "path-type": "^4.0.0" } }, "craftcms-sass": { "version": "3.5.7" }, + "create-jest": { + "version": "29.7.0", + "requires": { + "@jest/types": "^29.6.3", + "chalk": "^4.0.0", + "exit": "^0.1.2", + "graceful-fs": "^4.2.9", + "jest-config": "^29.7.0", + "jest-util": "^29.7.0", + "prompts": "^2.0.1" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4" + }, + "has-flag": { + "version": "4.0.0" + }, + "supports-color": { + "version": "7.2.0", + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, "create-require": { "version": "1.1.1", "devOptional": true @@ -28614,6 +29187,10 @@ "requires": { "lru-cache": "^6.0.0" } + }, + "yallist": { + "version": "4.0.0", + "dev": true } } }, @@ -28756,27 +29333,6 @@ "abab": "^2.0.6", "whatwg-mimetype": "^3.0.0", "whatwg-url": "^12.0.0" - }, - "dependencies": { - "tr46": { - "version": "4.1.1", - "dev": true, - "requires": { - "punycode": "^2.3.0" - } - }, - "webidl-conversions": { - "version": "7.0.0", - "dev": true - }, - "whatwg-url": { - "version": "12.0.1", - "dev": true, - "requires": { - "tr46": "^4.1.1", - "webidl-conversions": "^7.0.0" - } - } } }, "date-fns": { @@ -28786,7 +29342,7 @@ } }, "dayjs": { - "version": "1.11.9", + "version": "1.11.10", "peer": true }, "debounce": { @@ -28810,6 +29366,10 @@ "decimal.js-light": { "version": "2.5.1" }, + "dedent": { + "version": "1.5.1", + "requires": {} + }, "deep-equal": { "version": "2.2.2", "dev": true, @@ -28849,92 +29409,99 @@ "default-browser-id": "^3.0.0", "execa": "^7.1.1", "titleize": "^3.0.0" + } + }, + "default-browser-id": { + "version": "3.0.0", + "dev": true, + "requires": { + "bplist-parser": "^0.2.0", + "untildify": "^4.0.0" + } + }, + "default-gateway": { + "version": "6.0.3", + "dev": true, + "requires": { + "execa": "^5.0.0" }, "dependencies": { "execa": { - "version": "7.2.0", + "version": "5.1.1", "dev": true, "requires": { "cross-spawn": "^7.0.3", - "get-stream": "^6.0.1", - "human-signals": "^4.3.0", - "is-stream": "^3.0.0", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", "merge-stream": "^2.0.0", - "npm-run-path": "^5.1.0", - "onetime": "^6.0.0", - "signal-exit": "^3.0.7", - "strip-final-newline": "^3.0.0" + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" } }, - "get-stream": { - "version": "6.0.1", - "dev": true - }, "human-signals": { - "version": "4.3.1", + "version": "2.1.0", "dev": true }, "is-stream": { - "version": "3.0.0", + "version": "2.0.1", "dev": true }, "mimic-fn": { - "version": "4.0.0", + "version": "2.1.0", "dev": true }, "npm-run-path": { - "version": "5.1.0", + "version": "4.0.1", "dev": true, "requires": { - "path-key": "^4.0.0" + "path-key": "^3.0.0" } }, "onetime": { - "version": "6.0.0", + "version": "5.1.2", "dev": true, "requires": { - "mimic-fn": "^4.0.0" + "mimic-fn": "^2.1.0" } }, - "path-key": { - "version": "4.0.0", - "dev": true - }, "strip-final-newline": { - "version": "3.0.0", + "version": "2.0.0", "dev": true } } }, - "default-browser-id": { - "version": "3.0.0", - "dev": true, - "requires": { - "bplist-parser": "^0.2.0", - "untildify": "^4.0.0" - } - }, - "default-gateway": { - "version": "6.0.3", - "dev": true, - "requires": { - "execa": "^5.0.0" - } - }, "defaults": { "version": "1.0.4", "peer": true, "requires": { "clone": "^1.0.2" + }, + "dependencies": { + "clone": { + "version": "1.0.4", + "peer": true + } + } + }, + "define-data-property": { + "version": "1.1.0", + "requires": { + "get-intrinsic": "^1.2.1", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.0" } }, "define-lazy-prop": { - "version": "2.0.0", + "version": "3.0.0", "dev": true }, "define-properties": { - "version": "1.2.0", + "version": "1.2.1", "requires": { + "define-data-property": "^1.0.1", "has-property-descriptors": "^1.0.0", "object-keys": "^1.1.1" } @@ -29034,12 +29601,6 @@ "dev": true, "requires": { "webidl-conversions": "^7.0.0" - }, - "dependencies": { - "webidl-conversions": { - "version": "7.0.0", - "dev": true - } } }, "domhandler": { @@ -29074,7 +29635,7 @@ "version": "1.1.1" }, "electron-to-chromium": { - "version": "1.4.504" + "version": "1.4.551" }, "elliptic": { "version": "6.5.4", @@ -29093,7 +29654,8 @@ "version": "0.13.1" }, "emoji-regex": { - "version": "8.0.0" + "version": "9.2.2", + "dev": true }, "emojis-list": { "version": "3.0.0", @@ -29102,24 +29664,6 @@ "encodeurl": { "version": "1.0.2" }, - "encoding": { - "version": "0.1.13", - "optional": true, - "peer": true, - "requires": { - "iconv-lite": "^0.6.2" - }, - "dependencies": { - "iconv-lite": { - "version": "0.6.3", - "optional": true, - "peer": true, - "requires": { - "safer-buffer": ">= 2.1.2 < 3.0.0" - } - } - } - }, "enhanced-resolve": { "version": "5.15.0", "dev": true, @@ -29133,7 +29677,7 @@ "dev": true }, "envinfo": { - "version": "7.8.1" + "version": "7.10.0" }, "error-ex": { "version": "1.3.2", @@ -29156,16 +29700,16 @@ } }, "es-abstract": { - "version": "1.22.1", + "version": "1.22.2", "dev": true, "requires": { "array-buffer-byte-length": "^1.0.0", - "arraybuffer.prototype.slice": "^1.0.1", + "arraybuffer.prototype.slice": "^1.0.2", "available-typed-arrays": "^1.0.5", "call-bind": "^1.0.2", "es-set-tostringtag": "^2.0.1", "es-to-primitive": "^1.2.1", - "function.prototype.name": "^1.1.5", + "function.prototype.name": "^1.1.6", "get-intrinsic": "^1.2.1", "get-symbol-description": "^1.0.0", "globalthis": "^1.0.3", @@ -29181,23 +29725,23 @@ "is-regex": "^1.1.4", "is-shared-array-buffer": "^1.0.2", "is-string": "^1.0.7", - "is-typed-array": "^1.1.10", + "is-typed-array": "^1.1.12", "is-weakref": "^1.0.2", "object-inspect": "^1.12.3", "object-keys": "^1.1.1", "object.assign": "^4.1.4", - "regexp.prototype.flags": "^1.5.0", - "safe-array-concat": "^1.0.0", + "regexp.prototype.flags": "^1.5.1", + "safe-array-concat": "^1.0.1", "safe-regex-test": "^1.0.0", - "string.prototype.trim": "^1.2.7", - "string.prototype.trimend": "^1.0.6", - "string.prototype.trimstart": "^1.0.6", + "string.prototype.trim": "^1.2.8", + "string.prototype.trimend": "^1.0.7", + "string.prototype.trimstart": "^1.0.7", "typed-array-buffer": "^1.0.0", "typed-array-byte-length": "^1.0.0", "typed-array-byte-offset": "^1.0.0", "typed-array-length": "^1.0.4", "unbox-primitive": "^1.0.2", - "which-typed-array": "^1.1.10" + "which-typed-array": "^1.1.11" } }, "es-get-iterator": { @@ -29216,12 +29760,12 @@ } }, "es-iterator-helpers": { - "version": "1.0.14", + "version": "1.0.15", "dev": true, "requires": { "asynciterator.prototype": "^1.0.0", "call-bind": "^1.0.2", - "define-properties": "^1.2.0", + "define-properties": "^1.2.1", "es-abstract": "^1.22.1", "es-set-tostringtag": "^2.0.1", "function-bind": "^1.1.1", @@ -29231,12 +29775,12 @@ "has-proto": "^1.0.1", "has-symbols": "^1.0.3", "internal-slot": "^1.0.5", - "iterator.prototype": "^1.1.0", - "safe-array-concat": "^1.0.0" + "iterator.prototype": "^1.1.2", + "safe-array-concat": "^1.0.1" } }, "es-module-lexer": { - "version": "1.3.0", + "version": "1.3.1", "dev": true }, "es-set-tostringtag": { @@ -29281,17 +29825,24 @@ "estraverse": "^5.2.0", "esutils": "^2.0.2", "source-map": "~0.6.1" + }, + "dependencies": { + "source-map": { + "version": "0.6.1", + "dev": true, + "optional": true + } } }, "eslint": { - "version": "8.48.0", + "version": "8.51.0", "dev": true, "requires": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", "@eslint/eslintrc": "^2.1.2", - "@eslint/js": "8.48.0", - "@humanwhocodes/config-array": "^0.11.10", + "@eslint/js": "8.51.0", + "@humanwhocodes/config-array": "^0.11.11", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", "ajv": "^6.12.4", @@ -29369,7 +29920,7 @@ "dev": true }, "globals": { - "version": "13.21.0", + "version": "13.23.0", "dev": true, "requires": { "type-fest": "^0.20.2" @@ -29385,10 +29936,6 @@ "requires": { "has-flag": "^4.0.0" } - }, - "type-fest": { - "version": "0.20.2", - "dev": true } } }, @@ -29482,7 +30029,7 @@ } }, "eslint-plugin-prettier": { - "version": "5.0.0", + "version": "5.0.1", "dev": true, "requires": { "prettier-linter-helpers": "^1.0.0", @@ -29519,10 +30066,10 @@ } }, "resolve": { - "version": "2.0.0-next.4", + "version": "2.0.0-next.5", "dev": true, "requires": { - "is-core-module": "^2.9.0", + "is-core-module": "^2.13.0", "path-parse": "^1.0.7", "supports-preserve-symlinks-flag": "^1.0.0" } @@ -29610,37 +30157,38 @@ "peer": true }, "eventemitter3": { - "version": "4.0.7" + "version": "2.0.3" }, "events": { "version": "3.3.0", "dev": true }, "execa": { - "version": "5.0.0", + "version": "7.2.0", + "dev": true, "requires": { "cross-spawn": "^7.0.3", - "get-stream": "^6.0.0", - "human-signals": "^2.1.0", - "is-stream": "^2.0.0", + "get-stream": "^6.0.1", + "human-signals": "^4.3.0", + "is-stream": "^3.0.0", "merge-stream": "^2.0.0", - "npm-run-path": "^4.0.1", - "onetime": "^5.1.2", - "signal-exit": "^3.0.3", - "strip-final-newline": "^2.0.0" + "npm-run-path": "^5.1.0", + "onetime": "^6.0.0", + "signal-exit": "^3.0.7", + "strip-final-newline": "^3.0.0" } }, "exit": { "version": "0.1.2" }, "expect": { - "version": "29.6.4", + "version": "29.7.0", "requires": { - "@jest/expect-utils": "^29.6.4", + "@jest/expect-utils": "^29.7.0", "jest-get-type": "^29.6.3", - "jest-matcher-utils": "^29.6.4", - "jest-message-util": "^29.6.3", - "jest-util": "^29.6.3" + "jest-matcher-utils": "^29.7.0", + "jest-message-util": "^29.7.0", + "jest-util": "^29.7.0" } }, "express": { @@ -29715,10 +30263,6 @@ "ee-first": "1.1.1" } }, - "safe-buffer": { - "version": "5.2.1", - "dev": true - }, "statuses": { "version": "2.0.1", "dev": true @@ -29732,7 +30276,7 @@ "version": "3.1.3" }, "fast-diff": { - "version": "1.2.0", + "version": "1.3.0", "dev": true }, "fast-equals": { @@ -29766,7 +30310,7 @@ "dev": true }, "fast-xml-parser": { - "version": "4.2.7", + "version": "4.3.2", "peer": true, "requires": { "strnum": "^1.0.5" @@ -29777,7 +30321,7 @@ "dev": true }, "fastq": { - "version": "1.13.0", + "version": "1.15.0", "dev": true, "requires": { "reusify": "^1.0.4" @@ -29804,7 +30348,7 @@ } }, "filesize": { - "version": "10.0.12" + "version": "10.1.0" }, "fill-range": { "version": "7.0.1", @@ -29844,52 +30388,6 @@ "requires": { "common-path-prefix": "^3.0.0", "pkg-dir": "^7.0.0" - }, - "dependencies": { - "find-up": { - "version": "6.3.0", - "dev": true, - "requires": { - "locate-path": "^7.1.0", - "path-exists": "^5.0.0" - } - }, - "locate-path": { - "version": "7.2.0", - "dev": true, - "requires": { - "p-locate": "^6.0.0" - } - }, - "p-limit": { - "version": "4.0.0", - "dev": true, - "requires": { - "yocto-queue": "^1.0.0" - } - }, - "p-locate": { - "version": "6.0.0", - "dev": true, - "requires": { - "p-limit": "^4.0.0" - } - }, - "path-exists": { - "version": "5.0.0", - "dev": true - }, - "pkg-dir": { - "version": "7.0.0", - "dev": true, - "requires": { - "find-up": "^6.3.0" - } - }, - "yocto-queue": { - "version": "1.0.0", - "dev": true - } } }, "find-up": { @@ -29900,15 +30398,16 @@ } }, "flat-cache": { - "version": "3.0.4", + "version": "3.1.1", "dev": true, "requires": { - "flatted": "^3.1.0", + "flatted": "^3.2.9", + "keyv": "^4.5.3", "rimraf": "^3.0.2" } }, "flatted": { - "version": "3.2.5", + "version": "3.2.9", "dev": true }, "flow-enums-runtime": { @@ -29920,7 +30419,7 @@ "peer": true }, "follow-redirects": { - "version": "1.15.2" + "version": "1.15.3" }, "for-each": { "version": "0.3.3", @@ -29956,14 +30455,23 @@ "dev": true }, "fraction.js": { - "version": "4.2.1", + "version": "4.3.6", "dev": true }, "fresh": { "version": "0.5.2" }, + "fs-extra": { + "version": "8.1.0", + "peer": true, + "requires": { + "graceful-fs": "^4.2.0", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, "fs-monkey": { - "version": "1.0.4", + "version": "1.0.5", "dev": true }, "fs-readdir-recursive": { @@ -30011,7 +30519,7 @@ "version": "0.1.0" }, "get-stream": { - "version": "6.0.0" + "version": "6.0.1" }, "get-symbol-description": { "version": "1.0.0", @@ -30067,7 +30575,6 @@ }, "gopd": { "version": "1.0.1", - "dev": true, "requires": { "get-intrinsic": "^1.1.3" } @@ -30088,10 +30595,7 @@ "dev": true }, "has": { - "version": "1.0.3", - "requires": { - "function-bind": "^1.1.1" - } + "version": "1.0.4" }, "has-ansi": { "version": "2.0.0", @@ -30155,12 +30659,6 @@ "peer": true, "requires": { "source-map": "^0.7.3" - }, - "dependencies": { - "source-map": { - "version": "0.7.4", - "peer": true - } } }, "hmac-drbg": { @@ -30183,6 +30681,12 @@ "dev": true, "requires": { "lru-cache": "^10.0.1" + }, + "dependencies": { + "lru-cache": { + "version": "10.0.1", + "dev": true + } } }, "hpack.js": { @@ -30212,6 +30716,10 @@ "util-deprecate": "~1.0.1" } }, + "safe-buffer": { + "version": "5.1.2", + "dev": true + }, "string_decoder": { "version": "1.1.1", "dev": true, @@ -30265,6 +30773,12 @@ "eventemitter3": "^4.0.0", "follow-redirects": "^1.0.0", "requires-port": "^1.0.0" + }, + "dependencies": { + "eventemitter3": { + "version": "4.0.7", + "dev": true + } } }, "http-proxy-agent": { @@ -30285,12 +30799,6 @@ "is-glob": "^4.0.1", "is-plain-obj": "^3.0.0", "micromatch": "^4.0.2" - }, - "dependencies": { - "is-plain-obj": { - "version": "3.0.0", - "dev": true - } } }, "https-proxy-agent": { @@ -30302,7 +30810,8 @@ } }, "human-signals": { - "version": "2.1.0" + "version": "4.3.1", + "dev": true }, "iconv-lite": { "version": "0.4.24", @@ -30362,6 +30871,39 @@ "requires": { "pkg-dir": "^4.2.0", "resolve-cwd": "^3.0.0" + }, + "dependencies": { + "find-up": { + "version": "4.1.0", + "requires": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + } + }, + "locate-path": { + "version": "5.0.0", + "requires": { + "p-locate": "^4.1.0" + } + }, + "p-limit": { + "version": "2.3.0", + "requires": { + "p-try": "^2.0.0" + } + }, + "p-locate": { + "version": "4.1.0", + "requires": { + "p-limit": "^2.2.0" + } + }, + "pkg-dir": { + "version": "4.2.0", + "requires": { + "find-up": "^4.0.0" + } + } } }, "imurmurhash": { @@ -30382,7 +30924,7 @@ "version": "2.0.4" }, "ini": { - "version": "3.0.0", + "version": "4.1.1", "dev": true }, "install": { @@ -30411,6 +30953,10 @@ "loose-envify": "^1.0.0" } }, + "ip": { + "version": "1.1.8", + "peer": true + }, "ipaddr.js": { "version": "2.1.0", "dev": true @@ -30484,7 +31030,7 @@ "peer": true }, "is-docker": { - "version": "2.2.1", + "version": "3.0.0", "dev": true }, "is-extglob": { @@ -30523,12 +31069,6 @@ "dev": true, "requires": { "is-docker": "^3.0.0" - }, - "dependencies": { - "is-docker": { - "version": "3.0.0", - "dev": true - } } }, "is-interactive": { @@ -30557,6 +31097,16 @@ "version": "3.0.3", "dev": true }, + "is-plain-obj": { + "version": "3.0.0", + "dev": true + }, + "is-plain-object": { + "version": "2.0.4", + "requires": { + "isobject": "^3.0.1" + } + }, "is-potential-custom-element-name": { "version": "1.0.1", "dev": true @@ -30580,7 +31130,8 @@ } }, "is-stream": { - "version": "2.0.0" + "version": "3.0.0", + "dev": true }, "is-string": { "version": "1.0.7", @@ -30634,6 +31185,12 @@ "dev": true, "requires": { "is-docker": "^2.0.0" + }, + "dependencies": { + "is-docker": { + "version": "2.2.1", + "dev": true + } } }, "isarray": { @@ -30650,7 +31207,7 @@ "version": "3.2.0" }, "istanbul-lib-instrument": { - "version": "6.0.0", + "version": "6.0.1", "requires": { "@babel/core": "^7.12.3", "@babel/parser": "^7.14.7", @@ -30670,6 +31227,9 @@ "requires": { "lru-cache": "^6.0.0" } + }, + "yallist": { + "version": "4.0.0" } } }, @@ -30684,24 +31244,6 @@ "has-flag": { "version": "4.0.0" }, - "lru-cache": { - "version": "6.0.0", - "requires": { - "yallist": "^4.0.0" - } - }, - "make-dir": { - "version": "4.0.0", - "requires": { - "semver": "^7.5.3" - } - }, - "semver": { - "version": "7.5.4", - "requires": { - "lru-cache": "^6.0.0" - } - }, "supports-color": { "version": "7.2.0", "requires": { @@ -30716,6 +31258,11 @@ "debug": "^4.1.1", "istanbul-lib-coverage": "^3.0.0", "source-map": "^0.6.1" + }, + "dependencies": { + "source-map": { + "version": "0.6.1" + } } }, "istanbul-reports": { @@ -30726,14 +31273,14 @@ } }, "iterator.prototype": { - "version": "1.1.0", + "version": "1.1.2", "dev": true, "requires": { - "define-properties": "^1.1.4", - "get-intrinsic": "^1.1.3", + "define-properties": "^1.2.1", + "get-intrinsic": "^1.2.1", "has-symbols": "^1.0.3", - "has-tostringtag": "^1.0.0", - "reflect.getprototypeof": "^1.0.3" + "reflect.getprototypeof": "^1.0.4", + "set-function-name": "^2.0.1" } }, "its-fine": { @@ -30744,7 +31291,7 @@ }, "dependencies": { "@types/react-reconciler": { - "version": "0.28.3", + "version": "0.28.5", "peer": true, "requires": { "@types/react": "*" @@ -30753,7 +31300,7 @@ } }, "jackspeak": { - "version": "2.3.0", + "version": "2.3.6", "dev": true, "requires": { "@isaacs/cliui": "^8.0.2", @@ -30761,42 +31308,82 @@ } }, "jest": { - "version": "29.6.4", + "version": "29.7.0", "requires": { - "@jest/core": "^29.6.4", + "@jest/core": "^29.7.0", "@jest/types": "^29.6.3", "import-local": "^3.0.2", - "jest-cli": "^29.6.4" + "jest-cli": "^29.7.0" } }, "jest-changed-files": { - "version": "29.6.3", + "version": "29.7.0", "requires": { "execa": "^5.0.0", - "jest-util": "^29.6.3", + "jest-util": "^29.7.0", "p-limit": "^3.1.0" + }, + "dependencies": { + "execa": { + "version": "5.1.1", + "requires": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + } + }, + "human-signals": { + "version": "2.1.0" + }, + "is-stream": { + "version": "2.0.1" + }, + "mimic-fn": { + "version": "2.1.0" + }, + "npm-run-path": { + "version": "4.0.1", + "requires": { + "path-key": "^3.0.0" + } + }, + "onetime": { + "version": "5.1.2", + "requires": { + "mimic-fn": "^2.1.0" + } + }, + "strip-final-newline": { + "version": "2.0.0" + } } }, "jest-circus": { - "version": "29.6.4", + "version": "29.7.0", "requires": { - "@jest/environment": "^29.6.4", - "@jest/expect": "^29.6.4", - "@jest/test-result": "^29.6.4", + "@jest/environment": "^29.7.0", + "@jest/expect": "^29.7.0", + "@jest/test-result": "^29.7.0", "@jest/types": "^29.6.3", "@types/node": "*", "chalk": "^4.0.0", "co": "^4.6.0", "dedent": "^1.0.0", "is-generator-fn": "^2.0.0", - "jest-each": "^29.6.3", - "jest-matcher-utils": "^29.6.4", - "jest-message-util": "^29.6.3", - "jest-runtime": "^29.6.4", - "jest-snapshot": "^29.6.4", - "jest-util": "^29.6.3", + "jest-each": "^29.7.0", + "jest-matcher-utils": "^29.7.0", + "jest-message-util": "^29.7.0", + "jest-runtime": "^29.7.0", + "jest-snapshot": "^29.7.0", + "jest-util": "^29.7.0", "p-limit": "^3.1.0", - "pretty-format": "^29.6.3", + "pretty-format": "^29.7.0", "pure-rand": "^6.0.0", "slash": "^3.0.0", "stack-utils": "^2.0.3" @@ -30824,15 +31411,11 @@ "color-name": { "version": "1.1.4" }, - "dedent": { - "version": "1.5.1", - "requires": {} - }, "has-flag": { "version": "4.0.0" }, "pretty-format": { - "version": "29.6.3", + "version": "29.7.0", "requires": { "@jest/schemas": "^29.6.3", "ansi-styles": "^5.0.0", @@ -30856,19 +31439,18 @@ } }, "jest-cli": { - "version": "29.6.4", + "version": "29.7.0", "requires": { - "@jest/core": "^29.6.4", - "@jest/test-result": "^29.6.4", + "@jest/core": "^29.7.0", + "@jest/test-result": "^29.7.0", "@jest/types": "^29.6.3", "chalk": "^4.0.0", + "create-jest": "^29.7.0", "exit": "^0.1.2", - "graceful-fs": "^4.2.9", "import-local": "^3.0.2", - "jest-config": "^29.6.4", - "jest-util": "^29.6.3", - "jest-validate": "^29.6.3", - "prompts": "^2.0.1", + "jest-config": "^29.7.0", + "jest-util": "^29.7.0", + "jest-validate": "^29.7.0", "yargs": "^17.3.1" }, "dependencies": { @@ -30885,14 +31467,6 @@ "supports-color": "^7.1.0" } }, - "cliui": { - "version": "8.0.1", - "requires": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^7.0.0" - } - }, "color-convert": { "version": "2.0.1", "requires": { @@ -30910,55 +31484,32 @@ "requires": { "has-flag": "^4.0.0" } - }, - "wrap-ansi": { - "version": "7.0.0", - "requires": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - } - }, - "yargs": { - "version": "17.7.2", - "requires": { - "cliui": "^8.0.1", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.3", - "y18n": "^5.0.5", - "yargs-parser": "^21.1.1" - } - }, - "yargs-parser": { - "version": "21.1.1" } } }, "jest-config": { - "version": "29.6.4", + "version": "29.7.0", "requires": { "@babel/core": "^7.11.6", - "@jest/test-sequencer": "^29.6.4", + "@jest/test-sequencer": "^29.7.0", "@jest/types": "^29.6.3", - "babel-jest": "^29.6.4", + "babel-jest": "^29.7.0", "chalk": "^4.0.0", "ci-info": "^3.2.0", "deepmerge": "^4.2.2", "glob": "^7.1.3", "graceful-fs": "^4.2.9", - "jest-circus": "^29.6.4", - "jest-environment-node": "^29.6.4", + "jest-circus": "^29.7.0", + "jest-environment-node": "^29.7.0", "jest-get-type": "^29.6.3", "jest-regex-util": "^29.6.3", - "jest-resolve": "^29.6.4", - "jest-runner": "^29.6.4", - "jest-util": "^29.6.3", - "jest-validate": "^29.6.3", + "jest-resolve": "^29.7.0", + "jest-runner": "^29.7.0", + "jest-util": "^29.7.0", + "jest-validate": "^29.7.0", "micromatch": "^4.0.4", "parse-json": "^5.2.0", - "pretty-format": "^29.6.3", + "pretty-format": "^29.7.0", "slash": "^3.0.0", "strip-json-comments": "^3.1.1" }, @@ -30989,7 +31540,7 @@ "version": "4.0.0" }, "pretty-format": { - "version": "29.6.3", + "version": "29.7.0", "requires": { "@jest/schemas": "^29.6.3", "ansi-styles": "^5.0.0", @@ -31013,12 +31564,12 @@ } }, "jest-diff": { - "version": "29.6.4", + "version": "29.7.0", "requires": { "chalk": "^4.0.0", "diff-sequences": "^29.6.3", "jest-get-type": "^29.6.3", - "pretty-format": "^29.6.3" + "pretty-format": "^29.7.0" }, "dependencies": { "ansi-styles": { @@ -31047,7 +31598,7 @@ "version": "4.0.0" }, "pretty-format": { - "version": "29.6.3", + "version": "29.7.0", "requires": { "@jest/schemas": "^29.6.3", "ansi-styles": "^5.0.0", @@ -31071,19 +31622,19 @@ } }, "jest-docblock": { - "version": "29.6.3", + "version": "29.7.0", "requires": { "detect-newline": "^3.0.0" } }, "jest-each": { - "version": "29.6.3", + "version": "29.7.0", "requires": { "@jest/types": "^29.6.3", "chalk": "^4.0.0", "jest-get-type": "^29.6.3", - "jest-util": "^29.6.3", - "pretty-format": "^29.6.3" + "jest-util": "^29.7.0", + "pretty-format": "^29.7.0" }, "dependencies": { "ansi-styles": { @@ -31112,7 +31663,7 @@ "version": "4.0.0" }, "pretty-format": { - "version": "29.6.3", + "version": "29.7.0", "requires": { "@jest/schemas": "^29.6.3", "ansi-styles": "^5.0.0", @@ -31136,16 +31687,16 @@ } }, "jest-environment-jsdom": { - "version": "29.6.4", + "version": "29.7.0", "dev": true, "requires": { - "@jest/environment": "^29.6.4", - "@jest/fake-timers": "^29.6.4", + "@jest/environment": "^29.7.0", + "@jest/fake-timers": "^29.7.0", "@jest/types": "^29.6.3", "@types/jsdom": "^20.0.0", "@types/node": "*", - "jest-mock": "^29.6.3", - "jest-util": "^29.6.3", + "jest-mock": "^29.7.0", + "jest-util": "^29.7.0", "jsdom": "^20.0.0" }, "dependencies": { @@ -31210,10 +31761,6 @@ "punycode": "^2.1.1" } }, - "webidl-conversions": { - "version": "7.0.0", - "dev": true - }, "whatwg-url": { "version": "11.0.0", "dev": true, @@ -31225,21 +31772,21 @@ } }, "jest-environment-node": { - "version": "29.6.4", + "version": "29.7.0", "requires": { - "@jest/environment": "^29.6.4", - "@jest/fake-timers": "^29.6.4", + "@jest/environment": "^29.7.0", + "@jest/fake-timers": "^29.7.0", "@jest/types": "^29.6.3", "@types/node": "*", - "jest-mock": "^29.6.3", - "jest-util": "^29.6.3" + "jest-mock": "^29.7.0", + "jest-util": "^29.7.0" } }, "jest-get-type": { "version": "29.6.3" }, "jest-haste-map": { - "version": "29.6.4", + "version": "29.7.0", "requires": { "@jest/types": "^29.6.3", "@types/graceful-fs": "^4.1.3", @@ -31249,24 +31796,44 @@ "fsevents": "^2.3.2", "graceful-fs": "^4.2.9", "jest-regex-util": "^29.6.3", - "jest-util": "^29.6.3", - "jest-worker": "^29.6.4", + "jest-util": "^29.7.0", + "jest-worker": "^29.7.0", "micromatch": "^4.0.4", "walker": "^1.0.8" + }, + "dependencies": { + "has-flag": { + "version": "4.0.0" + }, + "jest-worker": { + "version": "29.7.0", + "requires": { + "@types/node": "*", + "jest-util": "^29.7.0", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" + } + }, + "supports-color": { + "version": "8.1.1", + "requires": { + "has-flag": "^4.0.0" + } + } } }, "jest-leak-detector": { - "version": "29.6.3", + "version": "29.7.0", "requires": { "jest-get-type": "^29.6.3", - "pretty-format": "^29.6.3" + "pretty-format": "^29.7.0" }, "dependencies": { "ansi-styles": { "version": "5.2.0" }, "pretty-format": { - "version": "29.6.3", + "version": "29.7.0", "requires": { "@jest/schemas": "^29.6.3", "ansi-styles": "^5.0.0", @@ -31279,12 +31846,12 @@ } }, "jest-matcher-utils": { - "version": "29.6.4", + "version": "29.7.0", "requires": { "chalk": "^4.0.0", - "jest-diff": "^29.6.4", + "jest-diff": "^29.7.0", "jest-get-type": "^29.6.3", - "pretty-format": "^29.6.3" + "pretty-format": "^29.7.0" }, "dependencies": { "ansi-styles": { @@ -31313,7 +31880,7 @@ "version": "4.0.0" }, "pretty-format": { - "version": "29.6.3", + "version": "29.7.0", "requires": { "@jest/schemas": "^29.6.3", "ansi-styles": "^5.0.0", @@ -31337,7 +31904,7 @@ } }, "jest-message-util": { - "version": "29.6.3", + "version": "29.7.0", "requires": { "@babel/code-frame": "^7.12.13", "@jest/types": "^29.6.3", @@ -31345,7 +31912,7 @@ "chalk": "^4.0.0", "graceful-fs": "^4.2.9", "micromatch": "^4.0.4", - "pretty-format": "^29.6.3", + "pretty-format": "^29.7.0", "slash": "^3.0.0", "stack-utils": "^2.0.3" }, @@ -31376,7 +31943,7 @@ "version": "4.0.0" }, "pretty-format": { - "version": "29.6.3", + "version": "29.7.0", "requires": { "@jest/schemas": "^29.6.3", "ansi-styles": "^5.0.0", @@ -31400,11 +31967,11 @@ } }, "jest-mock": { - "version": "29.6.3", + "version": "29.7.0", "requires": { "@jest/types": "^29.6.3", "@types/node": "*", - "jest-util": "^29.6.3" + "jest-util": "^29.7.0" } }, "jest-pnp-resolver": { @@ -31415,14 +31982,14 @@ "version": "29.6.3" }, "jest-resolve": { - "version": "29.6.4", + "version": "29.7.0", "requires": { "chalk": "^4.0.0", "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.6.4", + "jest-haste-map": "^29.7.0", "jest-pnp-resolver": "^1.2.2", - "jest-util": "^29.6.3", - "jest-validate": "^29.6.3", + "jest-util": "^29.7.0", + "jest-validate": "^29.7.0", "resolve": "^1.20.0", "resolve.exports": "^2.0.0", "slash": "^3.0.0" @@ -31462,34 +32029,34 @@ } }, "jest-resolve-dependencies": { - "version": "29.6.4", + "version": "29.7.0", "requires": { "jest-regex-util": "^29.6.3", - "jest-snapshot": "^29.6.4" + "jest-snapshot": "^29.7.0" } }, "jest-runner": { - "version": "29.6.4", + "version": "29.7.0", "requires": { - "@jest/console": "^29.6.4", - "@jest/environment": "^29.6.4", - "@jest/test-result": "^29.6.4", - "@jest/transform": "^29.6.4", + "@jest/console": "^29.7.0", + "@jest/environment": "^29.7.0", + "@jest/test-result": "^29.7.0", + "@jest/transform": "^29.7.0", "@jest/types": "^29.6.3", "@types/node": "*", "chalk": "^4.0.0", "emittery": "^0.13.1", "graceful-fs": "^4.2.9", - "jest-docblock": "^29.6.3", - "jest-environment-node": "^29.6.4", - "jest-haste-map": "^29.6.4", - "jest-leak-detector": "^29.6.3", - "jest-message-util": "^29.6.3", - "jest-resolve": "^29.6.4", - "jest-runtime": "^29.6.4", - "jest-util": "^29.6.3", - "jest-watcher": "^29.6.4", - "jest-worker": "^29.6.4", + "jest-docblock": "^29.7.0", + "jest-environment-node": "^29.7.0", + "jest-haste-map": "^29.7.0", + "jest-leak-detector": "^29.7.0", + "jest-message-util": "^29.7.0", + "jest-resolve": "^29.7.0", + "jest-runtime": "^29.7.0", + "jest-util": "^29.7.0", + "jest-watcher": "^29.7.0", + "jest-worker": "^29.7.0", "p-limit": "^3.1.0", "source-map-support": "0.5.13" }, @@ -31519,6 +32086,33 @@ "has-flag": { "version": "4.0.0" }, + "jest-worker": { + "version": "29.7.0", + "requires": { + "@types/node": "*", + "jest-util": "^29.7.0", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" + }, + "dependencies": { + "supports-color": { + "version": "8.1.1", + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "source-map": { + "version": "0.6.1" + }, + "source-map-support": { + "version": "0.5.13", + "requires": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, "supports-color": { "version": "7.2.0", "requires": { @@ -31528,14 +32122,14 @@ } }, "jest-runtime": { - "version": "29.6.4", + "version": "29.7.0", "requires": { - "@jest/environment": "^29.6.4", - "@jest/fake-timers": "^29.6.4", - "@jest/globals": "^29.6.4", + "@jest/environment": "^29.7.0", + "@jest/fake-timers": "^29.7.0", + "@jest/globals": "^29.7.0", "@jest/source-map": "^29.6.3", - "@jest/test-result": "^29.6.4", - "@jest/transform": "^29.6.4", + "@jest/test-result": "^29.7.0", + "@jest/transform": "^29.7.0", "@jest/types": "^29.6.3", "@types/node": "*", "chalk": "^4.0.0", @@ -31543,13 +32137,13 @@ "collect-v8-coverage": "^1.0.0", "glob": "^7.1.3", "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.6.4", - "jest-message-util": "^29.6.3", - "jest-mock": "^29.6.3", + "jest-haste-map": "^29.7.0", + "jest-message-util": "^29.7.0", + "jest-mock": "^29.7.0", "jest-regex-util": "^29.6.3", - "jest-resolve": "^29.6.4", - "jest-snapshot": "^29.6.4", - "jest-util": "^29.6.3", + "jest-resolve": "^29.7.0", + "jest-snapshot": "^29.7.0", + "jest-util": "^29.7.0", "slash": "^3.0.0", "strip-bom": "^4.0.0" }, @@ -31579,6 +32173,9 @@ "has-flag": { "version": "4.0.0" }, + "strip-bom": { + "version": "4.0.0" + }, "supports-color": { "version": "7.2.0", "requires": { @@ -31588,27 +32185,27 @@ } }, "jest-snapshot": { - "version": "29.6.4", + "version": "29.7.0", "requires": { "@babel/core": "^7.11.6", "@babel/generator": "^7.7.2", "@babel/plugin-syntax-jsx": "^7.7.2", "@babel/plugin-syntax-typescript": "^7.7.2", "@babel/types": "^7.3.3", - "@jest/expect-utils": "^29.6.4", - "@jest/transform": "^29.6.4", + "@jest/expect-utils": "^29.7.0", + "@jest/transform": "^29.7.0", "@jest/types": "^29.6.3", "babel-preset-current-node-syntax": "^1.0.0", "chalk": "^4.0.0", - "expect": "^29.6.4", + "expect": "^29.7.0", "graceful-fs": "^4.2.9", - "jest-diff": "^29.6.4", + "jest-diff": "^29.7.0", "jest-get-type": "^29.6.3", - "jest-matcher-utils": "^29.6.4", - "jest-message-util": "^29.6.3", - "jest-util": "^29.6.3", + "jest-matcher-utils": "^29.7.0", + "jest-message-util": "^29.7.0", + "jest-util": "^29.7.0", "natural-compare": "^1.4.0", - "pretty-format": "^29.6.3", + "pretty-format": "^29.7.0", "semver": "^7.5.3" }, "dependencies": { @@ -31644,7 +32241,7 @@ } }, "pretty-format": { - "version": "29.6.3", + "version": "29.7.0", "requires": { "@jest/schemas": "^29.6.3", "ansi-styles": "^5.0.0", @@ -31670,11 +32267,14 @@ "requires": { "has-flag": "^4.0.0" } + }, + "yallist": { + "version": "4.0.0" } } }, "jest-util": { - "version": "29.6.3", + "version": "29.7.0", "requires": { "@jest/types": "^29.6.3", "@types/node": "*", @@ -31718,14 +32318,14 @@ } }, "jest-validate": { - "version": "29.6.3", + "version": "29.7.0", "requires": { "@jest/types": "^29.6.3", "camelcase": "^6.2.0", "chalk": "^4.0.0", "jest-get-type": "^29.6.3", "leven": "^3.1.0", - "pretty-format": "^29.6.3" + "pretty-format": "^29.7.0" }, "dependencies": { "ansi-styles": { @@ -31734,9 +32334,6 @@ "color-convert": "^2.0.1" } }, - "camelcase": { - "version": "6.3.0" - }, "chalk": { "version": "4.1.2", "requires": { @@ -31757,7 +32354,7 @@ "version": "4.0.0" }, "pretty-format": { - "version": "29.6.3", + "version": "29.7.0", "requires": { "@jest/schemas": "^29.6.3", "ansi-styles": "^5.0.0", @@ -31781,15 +32378,15 @@ } }, "jest-watcher": { - "version": "29.6.4", + "version": "29.7.0", "requires": { - "@jest/test-result": "^29.6.4", + "@jest/test-result": "^29.7.0", "@jest/types": "^29.6.3", "@types/node": "*", "ansi-escapes": "^4.2.1", "chalk": "^4.0.0", "emittery": "^0.13.1", - "jest-util": "^29.6.3", + "jest-util": "^29.7.0", "string-length": "^4.0.1" }, "dependencies": { @@ -31827,10 +32424,9 @@ } }, "jest-worker": { - "version": "29.6.4", + "version": "27.5.1", "requires": { "@types/node": "*", - "jest-util": "^29.6.3", "merge-stream": "^2.0.0", "supports-color": "^8.0.0" }, @@ -31847,7 +32443,7 @@ } }, "joi": { - "version": "17.10.0", + "version": "17.11.0", "peer": true, "requires": { "@hapi/hoek": "^9.0.0", @@ -31975,27 +32571,6 @@ "whatwg-url": "^12.0.1", "ws": "^8.13.0", "xml-name-validator": "^4.0.0" - }, - "dependencies": { - "tr46": { - "version": "4.1.1", - "dev": true, - "requires": { - "punycode": "^2.3.0" - } - }, - "webidl-conversions": { - "version": "7.0.0", - "dev": true - }, - "whatwg-url": { - "version": "12.0.1", - "dev": true, - "requires": { - "tr46": "^4.1.1", - "webidl-conversions": "^7.0.0" - } - } } }, "jsdom-global": { @@ -32006,6 +32581,10 @@ "jsesc": { "version": "2.5.2" }, + "json-buffer": { + "version": "3.0.1", + "dev": true + }, "json-parse-better-errors": { "version": "1.0.2", "peer": true @@ -32024,12 +32603,28 @@ "json5": { "version": "2.2.3" }, + "jsonfile": { + "version": "4.0.0", + "peer": true, + "requires": { + "graceful-fs": "^4.1.6" + } + }, "jsx-ast-utils": { - "version": "3.3.0", + "version": "3.3.5", + "dev": true, + "requires": { + "array-includes": "^3.1.6", + "array.prototype.flat": "^1.3.1", + "object.assign": "^4.1.4", + "object.values": "^1.1.6" + } + }, + "keyv": { + "version": "4.5.4", "dev": true, "requires": { - "array-includes": "^3.1.4", - "object.assign": "^4.1.2" + "json-buffer": "3.0.1" } }, "kind-of": { @@ -32039,15 +32634,15 @@ "version": "3.0.3" }, "konva": { - "version": "9.2.0", + "version": "9.2.2", "peer": true }, "launch-editor": { - "version": "2.6.0", + "version": "2.6.1", "dev": true, "requires": { "picocolors": "^1.0.0", - "shell-quote": "^1.7.3" + "shell-quote": "^1.8.1" } }, "leven": { @@ -32061,6 +32656,9 @@ "type-check": "~0.4.0" } }, + "lines-and-columns": { + "version": "1.2.4" + }, "loader-runner": { "version": "4.3.0", "dev": true @@ -32185,6 +32783,17 @@ "yargs": "^15.1.0" }, "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "peer": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "camelcase": { + "version": "5.3.1", + "peer": true + }, "cliui": { "version": "6.0.0", "peer": true, @@ -32194,6 +32803,21 @@ "wrap-ansi": "^6.2.0" } }, + "color-convert": { + "version": "2.0.1", + "peer": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "peer": true + }, + "emoji-regex": { + "version": "8.0.0", + "peer": true + }, "find-up": { "version": "4.1.0", "peer": true, @@ -32223,6 +32847,24 @@ "p-limit": "^2.2.0" } }, + "string-width": { + "version": "4.2.3", + "peer": true, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + }, + "wrap-ansi": { + "version": "6.2.0", + "peer": true, + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + } + }, "y18n": { "version": "4.0.3", "peer": true @@ -32255,7 +32897,7 @@ } }, "loglevel": { - "version": "1.8.0", + "version": "1.8.1", "dev": true }, "loglevel-colored-level-prefix": { @@ -32312,13 +32954,38 @@ } }, "lru-cache": { - "version": "10.0.1", - "dev": true + "version": "5.1.1", + "requires": { + "yallist": "^3.0.2" + } }, "lz-string": { "version": "1.5.0", "dev": true }, + "make-dir": { + "version": "4.0.0", + "requires": { + "semver": "^7.5.3" + }, + "dependencies": { + "lru-cache": { + "version": "6.0.0", + "requires": { + "yallist": "^4.0.0" + } + }, + "semver": { + "version": "7.5.4", + "requires": { + "lru-cache": "^6.0.0" + } + }, + "yallist": { + "version": "4.0.0" + } + } + }, "make-error": { "version": "1.3.6", "devOptional": true @@ -32367,7 +33034,7 @@ "dev": true }, "metro": { - "version": "0.76.7", + "version": "0.76.8", "peer": true, "requires": { "@babel/code-frame": "^7.0.0", @@ -32392,22 +33059,22 @@ "jest-worker": "^27.2.0", "jsc-safe-url": "^0.2.2", "lodash.throttle": "^4.1.1", - "metro-babel-transformer": "0.76.7", - "metro-cache": "0.76.7", - "metro-cache-key": "0.76.7", - "metro-config": "0.76.7", - "metro-core": "0.76.7", - "metro-file-map": "0.76.7", - "metro-inspector-proxy": "0.76.7", - "metro-minify-terser": "0.76.7", - "metro-minify-uglify": "0.76.7", - "metro-react-native-babel-preset": "0.76.7", - "metro-resolver": "0.76.7", - "metro-runtime": "0.76.7", - "metro-source-map": "0.76.7", - "metro-symbolicate": "0.76.7", - "metro-transform-plugins": "0.76.7", - "metro-transform-worker": "0.76.7", + "metro-babel-transformer": "0.76.8", + "metro-cache": "0.76.8", + "metro-cache-key": "0.76.8", + "metro-config": "0.76.8", + "metro-core": "0.76.8", + "metro-file-map": "0.76.8", + "metro-inspector-proxy": "0.76.8", + "metro-minify-terser": "0.76.8", + "metro-minify-uglify": "0.76.8", + "metro-react-native-babel-preset": "0.76.8", + "metro-resolver": "0.76.8", + "metro-runtime": "0.76.8", + "metro-source-map": "0.76.8", + "metro-symbolicate": "0.76.8", + "metro-transform-plugins": "0.76.8", + "metro-transform-worker": "0.76.8", "mime-types": "^2.1.27", "node-fetch": "^2.2.0", "nullthrows": "^1.1.1", @@ -32439,15 +33106,6 @@ "version": "2.0.0", "peer": true }, - "cliui": { - "version": "8.0.1", - "peer": true, - "requires": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^7.0.0" - } - }, "color-convert": { "version": "2.0.1", "peer": true, @@ -32470,58 +33128,10 @@ "version": "4.0.0", "peer": true }, - "jest-worker": { - "version": "27.5.1", - "peer": true, - "requires": { - "@types/node": "*", - "merge-stream": "^2.0.0", - "supports-color": "^8.0.0" - }, - "dependencies": { - "supports-color": { - "version": "8.1.1", - "peer": true, - "requires": { - "has-flag": "^4.0.0" - } - } - } - }, - "metro-runtime": { - "version": "0.76.7", - "peer": true, - "requires": { - "@babel/runtime": "^7.0.0", - "react-refresh": "^0.4.0" - } - }, - "metro-source-map": { - "version": "0.76.7", - "peer": true, - "requires": { - "@babel/traverse": "^7.20.0", - "@babel/types": "^7.20.0", - "invariant": "^2.2.4", - "metro-symbolicate": "0.76.7", - "nullthrows": "^1.1.1", - "ob1": "0.76.7", - "source-map": "^0.5.6", - "vlq": "^1.0.0" - } - }, "ms": { "version": "2.0.0", "peer": true }, - "ob1": { - "version": "0.76.7", - "peer": true - }, - "react-refresh": { - "version": "0.4.3", - "peer": true - }, "source-map": { "version": "0.5.7", "peer": true @@ -32533,41 +33143,15 @@ "has-flag": "^4.0.0" } }, - "wrap-ansi": { - "version": "7.0.0", - "peer": true, - "requires": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - } - }, "ws": { "version": "7.5.9", "peer": true, "requires": {} - }, - "yargs": { - "version": "17.7.2", - "peer": true, - "requires": { - "cliui": "^8.0.1", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.3", - "y18n": "^5.0.5", - "yargs-parser": "^21.1.1" - } - }, - "yargs-parser": { - "version": "21.1.1", - "peer": true } } }, "metro-babel-transformer": { - "version": "0.76.7", + "version": "0.76.8", "peer": true, "requires": { "@babel/core": "^7.20.0", @@ -32576,28 +33160,28 @@ } }, "metro-cache": { - "version": "0.76.7", + "version": "0.76.8", "peer": true, "requires": { - "metro-core": "0.76.7", + "metro-core": "0.76.8", "rimraf": "^3.0.2" } }, "metro-cache-key": { - "version": "0.76.7", + "version": "0.76.8", "peer": true }, "metro-config": { - "version": "0.76.7", + "version": "0.76.8", "peer": true, "requires": { "connect": "^3.6.5", "cosmiconfig": "^5.0.5", "jest-validate": "^29.2.1", - "metro": "0.76.7", - "metro-cache": "0.76.7", - "metro-core": "0.76.7", - "metro-runtime": "0.76.7" + "metro": "0.76.8", + "metro-cache": "0.76.8", + "metro-core": "0.76.8", + "metro-runtime": "0.76.8" }, "dependencies": { "argparse": { @@ -32633,14 +33217,6 @@ "esprima": "^4.0.0" } }, - "metro-runtime": { - "version": "0.76.7", - "peer": true, - "requires": { - "@babel/runtime": "^7.0.0", - "react-refresh": "^0.4.0" - } - }, "parse-json": { "version": "4.0.0", "peer": true, @@ -32649,10 +33225,6 @@ "json-parse-better-errors": "^1.0.1" } }, - "react-refresh": { - "version": "0.4.3", - "peer": true - }, "resolve-from": { "version": "3.0.0", "peer": true @@ -32660,15 +33232,15 @@ } }, "metro-core": { - "version": "0.76.7", + "version": "0.76.8", "peer": true, "requires": { "lodash.throttle": "^4.1.1", - "metro-resolver": "0.76.7" + "metro-resolver": "0.76.8" } }, "metro-file-map": { - "version": "0.76.7", + "version": "0.76.8", "peer": true, "requires": { "anymatch": "^3.0.3", @@ -32698,7 +33270,7 @@ } }, "@types/yargs": { - "version": "16.0.5", + "version": "16.0.6", "peer": true, "requires": { "@types/yargs-parser": "*" @@ -32757,24 +33329,6 @@ "picomatch": "^2.2.3" } }, - "jest-worker": { - "version": "27.5.1", - "peer": true, - "requires": { - "@types/node": "*", - "merge-stream": "^2.0.0", - "supports-color": "^8.0.0" - }, - "dependencies": { - "supports-color": { - "version": "8.1.1", - "peer": true, - "requires": { - "has-flag": "^4.0.0" - } - } - } - }, "ms": { "version": "2.0.0", "peer": true @@ -32789,7 +33343,7 @@ } }, "metro-inspector-proxy": { - "version": "0.76.7", + "version": "0.76.8", "peer": true, "requires": { "connect": "^3.6.5", @@ -32799,33 +33353,6 @@ "yargs": "^17.6.2" }, "dependencies": { - "ansi-styles": { - "version": "4.3.0", - "peer": true, - "requires": { - "color-convert": "^2.0.1" - } - }, - "cliui": { - "version": "8.0.1", - "peer": true, - "requires": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^7.0.0" - } - }, - "color-convert": { - "version": "2.0.1", - "peer": true, - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "peer": true - }, "debug": { "version": "2.6.9", "peer": true, @@ -32837,55 +33364,29 @@ "version": "2.0.0", "peer": true }, - "wrap-ansi": { - "version": "7.0.0", - "peer": true, - "requires": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - } - }, "ws": { "version": "7.5.9", "peer": true, "requires": {} - }, - "yargs": { - "version": "17.7.2", - "peer": true, - "requires": { - "cliui": "^8.0.1", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.3", - "y18n": "^5.0.5", - "yargs-parser": "^21.1.1" - } - }, - "yargs-parser": { - "version": "21.1.1", - "peer": true } } }, "metro-minify-terser": { - "version": "0.76.7", + "version": "0.76.8", "peer": true, "requires": { "terser": "^5.15.0" } }, "metro-minify-uglify": { - "version": "0.76.7", + "version": "0.76.8", "peer": true, "requires": { "uglify-es": "^3.1.9" } }, "metro-react-native-babel-preset": { - "version": "0.76.7", + "version": "0.76.8", "peer": true, "requires": { "@babel/core": "^7.20.0", @@ -32936,18 +33437,18 @@ } }, "metro-react-native-babel-transformer": { - "version": "0.76.7", + "version": "0.76.8", "peer": true, "requires": { "@babel/core": "^7.20.0", "babel-preset-fbjs": "^3.4.0", "hermes-parser": "0.12.0", - "metro-react-native-babel-preset": "0.76.7", + "metro-react-native-babel-preset": "0.76.8", "nullthrows": "^1.1.1" } }, "metro-resolver": { - "version": "0.76.7", + "version": "0.76.8", "peer": true }, "metro-runtime": { @@ -32978,18 +33479,6 @@ "vlq": "^1.0.0" }, "dependencies": { - "metro-symbolicate": { - "version": "0.76.8", - "peer": true, - "requires": { - "invariant": "^2.2.4", - "metro-source-map": "0.76.8", - "nullthrows": "^1.1.1", - "source-map": "^0.5.6", - "through2": "^2.0.1", - "vlq": "^1.0.0" - } - }, "source-map": { "version": "0.5.7", "peer": true @@ -32997,35 +33486,17 @@ } }, "metro-symbolicate": { - "version": "0.76.7", + "version": "0.76.8", "peer": true, "requires": { "invariant": "^2.2.4", - "metro-source-map": "0.76.7", + "metro-source-map": "0.76.8", "nullthrows": "^1.1.1", "source-map": "^0.5.6", "through2": "^2.0.1", "vlq": "^1.0.0" }, "dependencies": { - "metro-source-map": { - "version": "0.76.7", - "peer": true, - "requires": { - "@babel/traverse": "^7.20.0", - "@babel/types": "^7.20.0", - "invariant": "^2.2.4", - "metro-symbolicate": "0.76.7", - "nullthrows": "^1.1.1", - "ob1": "0.76.7", - "source-map": "^0.5.6", - "vlq": "^1.0.0" - } - }, - "ob1": { - "version": "0.76.7", - "peer": true - }, "source-map": { "version": "0.5.7", "peer": true @@ -33033,7 +33504,7 @@ } }, "metro-transform-plugins": { - "version": "0.76.7", + "version": "0.76.8", "peer": true, "requires": { "@babel/core": "^7.20.0", @@ -33044,7 +33515,7 @@ } }, "metro-transform-worker": { - "version": "0.76.7", + "version": "0.76.8", "peer": true, "requires": { "@babel/core": "^7.20.0", @@ -33052,37 +33523,13 @@ "@babel/parser": "^7.20.0", "@babel/types": "^7.20.0", "babel-preset-fbjs": "^3.4.0", - "metro": "0.76.7", - "metro-babel-transformer": "0.76.7", - "metro-cache": "0.76.7", - "metro-cache-key": "0.76.7", - "metro-source-map": "0.76.7", - "metro-transform-plugins": "0.76.7", + "metro": "0.76.8", + "metro-babel-transformer": "0.76.8", + "metro-cache": "0.76.8", + "metro-cache-key": "0.76.8", + "metro-source-map": "0.76.8", + "metro-transform-plugins": "0.76.8", "nullthrows": "^1.1.1" - }, - "dependencies": { - "metro-source-map": { - "version": "0.76.7", - "peer": true, - "requires": { - "@babel/traverse": "^7.20.0", - "@babel/types": "^7.20.0", - "invariant": "^2.2.4", - "metro-symbolicate": "0.76.7", - "nullthrows": "^1.1.1", - "ob1": "0.76.7", - "source-map": "^0.5.6", - "vlq": "^1.0.0" - } - }, - "ob1": { - "version": "0.76.7", - "peer": true - }, - "source-map": { - "version": "0.5.7", - "peer": true - } } }, "micromatch": { @@ -33109,7 +33556,8 @@ } }, "mimic-fn": { - "version": "2.1.0" + "version": "4.0.0", + "dev": true }, "min-indent": { "version": "1.0.1", @@ -33133,11 +33581,18 @@ "version": "1.2.8" }, "minipass": { - "version": "5.0.0", + "version": "7.0.4", "dev": true }, + "mkdirp": { + "version": "0.5.6", + "peer": true, + "requires": { + "minimist": "^1.2.6" + } + }, "monaco-editor": { - "version": "0.41.0", + "version": "0.44.0", "peer": true }, "ms": { @@ -33187,10 +33642,28 @@ } }, "node-fetch": { - "version": "2.6.7", + "version": "2.7.0", "peer": true, "requires": { "whatwg-url": "^5.0.0" + }, + "dependencies": { + "tr46": { + "version": "0.0.3", + "peer": true + }, + "webidl-conversions": { + "version": "3.0.1", + "peer": true + }, + "whatwg-url": { + "version": "5.0.0", + "peer": true, + "requires": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + } } }, "node-forge": { @@ -33215,11 +33688,11 @@ "dev": true }, "npm": { - "version": "9.8.1", + "version": "9.9.0", "requires": { "@isaacs/string-locale-compare": "^1.1.0", - "@npmcli/arborist": "^6.3.0", - "@npmcli/config": "^6.2.1", + "@npmcli/arborist": "^6.5.0", + "@npmcli/config": "^6.4.0", "@npmcli/fs": "^3.1.0", "@npmcli/map-workspaces": "^3.0.4", "@npmcli/package-json": "^4.0.1", @@ -33243,12 +33716,12 @@ "is-cidr": "^4.0.2", "json-parse-even-better-errors": "^3.0.0", "libnpmaccess": "^7.0.2", - "libnpmdiff": "^5.0.19", - "libnpmexec": "^6.0.3", - "libnpmfund": "^4.0.19", + "libnpmdiff": "^5.0.20", + "libnpmexec": "^6.0.4", + "libnpmfund": "^4.2.1", "libnpmhook": "^9.0.3", "libnpmorg": "^5.0.4", - "libnpmpack": "^5.0.19", + "libnpmpack": "^5.0.20", "libnpmpublish": "^7.5.0", "libnpmsearch": "^6.0.2", "libnpmteam": "^5.0.3", @@ -33260,10 +33733,11 @@ "ms": "^2.1.2", "node-gyp": "^9.4.0", "nopt": "^7.2.0", + "normalize-package-data": "^5.0.0", "npm-audit-report": "^5.0.0", - "npm-install-checks": "^6.1.1", + "npm-install-checks": "^6.2.0", "npm-package-arg": "^10.1.0", - "npm-pick-manifest": "^8.0.1", + "npm-pick-manifest": "^8.0.2", "npm-profile": "^7.0.1", "npm-registry-fetch": "^14.0.5", "npm-user-validate": "^2.0.0", @@ -33275,7 +33749,8 @@ "qrcode-terminal": "^0.12.0", "read": "^2.1.0", "semver": "^7.5.4", - "sigstore": "^1.7.0", + "sigstore": "^1.9.0", + "spdx-expression-parse": "^3.0.1", "ssri": "^10.0.4", "supports-color": "^9.4.0", "tar": "^6.1.15", @@ -33335,7 +33810,7 @@ "bundled": true }, "@npmcli/arborist": { - "version": "6.3.0", + "version": "6.5.0", "bundled": true, "requires": { "@isaacs/string-locale-compare": "^1.1.0", @@ -33356,7 +33831,7 @@ "json-stringify-nice": "^1.1.4", "minimatch": "^9.0.0", "nopt": "^7.0.0", - "npm-install-checks": "^6.0.0", + "npm-install-checks": "^6.2.0", "npm-package-arg": "^10.1.0", "npm-pick-manifest": "^8.0.1", "npm-registry-fetch": "^14.0.3", @@ -33374,7 +33849,7 @@ } }, "@npmcli/config": { - "version": "6.2.1", + "version": "6.4.0", "bundled": true, "requires": { "@npmcli/map-workspaces": "^3.0.2", @@ -33494,15 +33969,31 @@ "bundled": true, "optional": true }, + "@sigstore/bundle": { + "version": "1.1.0", + "bundled": true, + "requires": { + "@sigstore/protobuf-specs": "^0.2.0" + } + }, "@sigstore/protobuf-specs": { - "version": "0.1.0", + "version": "0.2.1", "bundled": true }, + "@sigstore/sign": { + "version": "1.0.0", + "bundled": true, + "requires": { + "@sigstore/bundle": "^1.1.0", + "@sigstore/protobuf-specs": "^0.2.0", + "make-fetch-happen": "^11.0.1" + } + }, "@sigstore/tuf": { - "version": "1.0.2", + "version": "1.0.3", "bundled": true, "requires": { - "@sigstore/protobuf-specs": "^0.1.0", + "@sigstore/protobuf-specs": "^0.2.0", "tuf-js": "^1.1.7" } }, @@ -34047,10 +34538,10 @@ } }, "libnpmdiff": { - "version": "5.0.19", + "version": "5.0.20", "bundled": true, "requires": { - "@npmcli/arborist": "^6.3.0", + "@npmcli/arborist": "^6.5.0", "@npmcli/disparity-colors": "^3.0.0", "@npmcli/installed-package-contents": "^2.0.2", "binary-extensions": "^2.2.0", @@ -34062,10 +34553,10 @@ } }, "libnpmexec": { - "version": "6.0.3", + "version": "6.0.4", "bundled": true, "requires": { - "@npmcli/arborist": "^6.3.0", + "@npmcli/arborist": "^6.5.0", "@npmcli/run-script": "^6.0.0", "ci-info": "^3.7.1", "npm-package-arg": "^10.1.0", @@ -34079,10 +34570,10 @@ } }, "libnpmfund": { - "version": "4.0.19", + "version": "4.2.1", "bundled": true, "requires": { - "@npmcli/arborist": "^6.3.0" + "@npmcli/arborist": "^6.5.0" } }, "libnpmhook": { @@ -34102,10 +34593,10 @@ } }, "libnpmpack": { - "version": "5.0.19", + "version": "5.0.20", "bundled": true, "requires": { - "@npmcli/arborist": "^6.3.0", + "@npmcli/arborist": "^6.5.0", "@npmcli/run-script": "^6.0.0", "npm-package-arg": "^10.1.0", "pacote": "^15.0.8" @@ -34449,7 +34940,7 @@ } }, "npm-install-checks": { - "version": "6.1.1", + "version": "6.2.0", "bundled": true, "requires": { "semver": "^7.1.1" @@ -34477,7 +34968,7 @@ } }, "npm-pick-manifest": { - "version": "8.0.1", + "version": "8.0.2", "bundled": true, "requires": { "npm-install-checks": "^6.0.0", @@ -34761,11 +35252,13 @@ "bundled": true }, "sigstore": { - "version": "1.7.0", + "version": "1.9.0", "bundled": true, "requires": { - "@sigstore/protobuf-specs": "^0.1.0", - "@sigstore/tuf": "^1.0.1", + "@sigstore/bundle": "^1.1.0", + "@sigstore/protobuf-specs": "^0.2.0", + "@sigstore/sign": "^1.0.0", + "@sigstore/tuf": "^1.0.3", "make-fetch-happen": "^11.0.1" } }, @@ -35040,9 +35533,16 @@ } }, "npm-run-path": { - "version": "4.0.1", + "version": "5.1.0", + "dev": true, "requires": { - "path-key": "^3.0.0" + "path-key": "^4.0.0" + }, + "dependencies": { + "path-key": { + "version": "4.0.0", + "dev": true + } } }, "nth-check": { @@ -35157,17 +35657,19 @@ } }, "onetime": { - "version": "5.1.2", + "version": "6.0.0", + "dev": true, "requires": { - "mimic-fn": "^2.1.0" + "mimic-fn": "^4.0.0" } }, "open": { - "version": "8.4.2", + "version": "9.1.0", "dev": true, "requires": { - "define-lazy-prop": "^2.0.0", - "is-docker": "^2.1.1", + "default-browser": "^4.0.0", + "define-lazy-prop": "^3.0.0", + "is-inside-container": "^1.0.0", "is-wsl": "^2.2.0" } }, @@ -35255,12 +35757,6 @@ "requires": { "@types/retry": "0.12.0", "retry": "^0.13.1" - }, - "dependencies": { - "retry": { - "version": "0.13.1", - "dev": true - } } }, "p-try": { @@ -35283,11 +35779,6 @@ "error-ex": "^1.3.1", "json-parse-even-better-errors": "^2.3.0", "lines-and-columns": "^1.1.6" - }, - "dependencies": { - "lines-and-columns": { - "version": "1.2.4" - } } }, "parse5": { @@ -35318,6 +35809,12 @@ "requires": { "lru-cache": "^9.1.1 || ^10.0.0", "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + }, + "dependencies": { + "lru-cache": { + "version": "10.0.1", + "dev": true + } } }, "path-to-regexp": { @@ -35334,53 +35831,63 @@ "picomatch": { "version": "2.3.1" }, + "pify": { + "version": "4.0.1" + }, "pirates": { "version": "4.0.6" }, "pkg-dir": { - "version": "4.2.0", + "version": "7.0.0", + "dev": true, "requires": { - "find-up": "^4.0.0" + "find-up": "^6.3.0" }, "dependencies": { "find-up": { - "version": "4.1.0", + "version": "6.3.0", + "dev": true, "requires": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" + "locate-path": "^7.1.0", + "path-exists": "^5.0.0" } }, "locate-path": { - "version": "5.0.0", + "version": "7.2.0", + "dev": true, "requires": { - "p-locate": "^4.1.0" + "p-locate": "^6.0.0" } }, "p-limit": { - "version": "2.3.0", + "version": "4.0.0", + "dev": true, "requires": { - "p-try": "^2.0.0" + "yocto-queue": "^1.0.0" } }, "p-locate": { - "version": "4.1.0", + "version": "6.0.0", + "dev": true, "requires": { - "p-limit": "^2.2.0" + "p-limit": "^4.0.0" } + }, + "path-exists": { + "version": "5.0.0", + "dev": true + }, + "yocto-queue": { + "version": "1.0.0", + "dev": true } } }, - "pointer-events-polyfill": { - "version": "0.4.4-pre", - "peer": true - }, "popper.js": { "version": "1.16.1" }, "postcss": { "version": "8.4.31", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz", - "integrity": "sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==", "requires": { "nanoid": "^3.3.6", "picocolors": "^1.0.0", @@ -35431,7 +35938,7 @@ "dev": true }, "prettier": { - "version": "3.0.2", + "version": "3.0.3", "dev": true }, "prettier-eslint": { @@ -35522,6 +36029,10 @@ "typescript": { "version": "4.9.5", "dev": true + }, + "yallist": { + "version": "4.0.0", + "dev": true } } }, @@ -35594,7 +36105,7 @@ "dev": true }, "pure-rand": { - "version": "6.0.2" + "version": "6.0.4" }, "qs": { "version": "6.11.0", @@ -35628,9 +36139,6 @@ "quill-delta": "^3.6.2" }, "dependencies": { - "clone": { - "version": "2.1.2" - }, "deep-equal": { "version": "1.1.1", "requires": { @@ -35641,9 +36149,6 @@ "object-keys": "^1.1.1", "regexp.prototype.flags": "^1.2.0" } - }, - "eventemitter3": { - "version": "2.0.3" } } }, @@ -35716,18 +36221,18 @@ } }, "react-datepicker": { - "version": "4.16.0", + "version": "4.20.0", "requires": { "@popperjs/core": "^2.11.8", "classnames": "^2.2.6", "date-fns": "^2.30.0", "prop-types": "^15.7.2", - "react-onclickoutside": "^6.12.2", + "react-onclickoutside": "^6.13.0", "react-popper": "^2.3.0" } }, "react-devtools-core": { - "version": "4.28.0", + "version": "4.28.4", "peer": true, "requires": { "shell-quote": "^1.6.1", @@ -35781,7 +36286,7 @@ }, "dependencies": { "@types/react-reconciler": { - "version": "0.28.3", + "version": "0.28.5", "peer": true, "requires": { "@types/react": "*" @@ -35805,15 +36310,15 @@ "requires": {} }, "react-native": { - "version": "0.72.4", + "version": "0.72.5", "peer": true, "requires": { "@jest/create-cache-key-function": "^29.2.1", - "@react-native-community/cli": "11.3.6", - "@react-native-community/cli-platform-android": "11.3.6", - "@react-native-community/cli-platform-ios": "11.3.6", + "@react-native-community/cli": "11.3.7", + "@react-native-community/cli-platform-android": "11.3.7", + "@react-native-community/cli-platform-ios": "11.3.7", "@react-native/assets-registry": "^0.72.0", - "@react-native/codegen": "^0.72.6", + "@react-native/codegen": "^0.72.7", "@react-native/gradle-plugin": "^0.72.11", "@react-native/js-polyfills": "^0.72.1", "@react-native/normalize-colors": "^0.72.0", @@ -35858,7 +36363,7 @@ } }, "@types/yargs": { - "version": "15.0.15", + "version": "15.0.16", "peer": true, "requires": { "@types/yargs-parser": "*" @@ -35883,15 +36388,6 @@ "supports-color": "^7.1.0" } }, - "cliui": { - "version": "8.0.1", - "peer": true, - "requires": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^7.0.0" - } - }, "color-convert": { "version": "2.0.1", "peer": true, @@ -35907,13 +36403,6 @@ "version": "4.0.0", "peer": true }, - "mkdirp": { - "version": "0.5.6", - "peer": true, - "requires": { - "minimist": "^1.2.6" - } - }, "pretty-format": { "version": "26.6.2", "peer": true, @@ -35950,38 +36439,12 @@ "has-flag": "^4.0.0" } }, - "wrap-ansi": { - "version": "7.0.0", - "peer": true, - "requires": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - } - }, "ws": { "version": "6.2.2", "peer": true, "requires": { "async-limiter": "~1.0.0" } - }, - "yargs": { - "version": "17.7.2", - "peer": true, - "requires": { - "cliui": "^8.0.1", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.3", - "y18n": "^5.0.5", - "yargs-parser": "^21.1.1" - } - }, - "yargs-parser": { - "version": "21.1.1", - "peer": true } } }, @@ -36022,7 +36485,7 @@ } }, "react-redux": { - "version": "8.1.2", + "version": "8.1.3", "requires": { "@babel/runtime": "^7.12.1", "@types/hoist-non-react-statics": "^3.3.1", @@ -36053,16 +36516,16 @@ } }, "react-router": { - "version": "6.15.0", + "version": "6.16.0", "requires": { - "@remix-run/router": "1.8.0" + "@remix-run/router": "1.9.0" } }, "react-router-dom": { - "version": "6.15.0", + "version": "6.16.0", "requires": { - "@remix-run/router": "1.8.0", - "react-router": "6.15.0" + "@remix-run/router": "1.9.0", + "react-router": "6.16.0" } }, "react-shallow-renderer": { @@ -36074,7 +36537,7 @@ } }, "react-smooth": { - "version": "2.0.3", + "version": "2.0.5", "requires": { "fast-equals": "^5.0.0", "react-transition-group": "2.9.0" @@ -36098,7 +36561,7 @@ } }, "react-spring": { - "version": "9.7.2", + "version": "9.7.3", "requires": { "@react-spring/core": "~9.7.3", "@react-spring/konva": "~9.7.3", @@ -36122,45 +36585,12 @@ } }, "react-zdog": { - "version": "1.2.1", + "version": "1.2.2", "peer": true, "requires": { - "@babel/runtime": "^7.4.4", - "lodash-es": "^4.17.11", - "pointer-events-polyfill": "^0.4.4-pre", - "react-reconciler": "^0.20.4", - "resize-observer-polyfill": "^1.5.1", - "scheduler": "0.13.3" - }, - "dependencies": { - "react-reconciler": { - "version": "0.20.4", - "peer": true, - "requires": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1", - "prop-types": "^15.6.2", - "scheduler": "^0.13.6" - }, - "dependencies": { - "scheduler": { - "version": "0.13.6", - "peer": true, - "requires": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1" - } - } - } - }, - "scheduler": { - "version": "0.13.3", - "peer": true, - "requires": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1" - } - } + "react": "^18.2.0", + "react-dom": "^18.2.0", + "resize-observer-polyfill": "^1.5.1" } }, "reactcss": { @@ -36196,6 +36626,12 @@ "esprima": "~4.0.0", "source-map": "~0.6.1", "tslib": "^2.0.1" + }, + "dependencies": { + "source-map": { + "version": "0.6.1", + "peer": true + } } }, "recharts": { @@ -36210,6 +36646,11 @@ "recharts-scale": "^0.4.4", "reduce-css-calc": "^2.1.8", "victory-vendor": "^36.6.8" + }, + "dependencies": { + "eventemitter3": { + "version": "4.0.7" + } } }, "recharts-scale": { @@ -36256,13 +36697,13 @@ "requires": {} }, "reflect.getprototypeof": { - "version": "1.0.3", + "version": "1.0.4", "dev": true, "requires": { "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4", - "get-intrinsic": "^1.1.1", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "get-intrinsic": "^1.2.1", "globalthis": "^1.0.3", "which-builtin-type": "^1.1.3" } @@ -36271,7 +36712,7 @@ "version": "1.4.2" }, "regenerate-unicode-properties": { - "version": "10.1.0", + "version": "10.1.1", "requires": { "regenerate": "^1.4.2" } @@ -36286,11 +36727,11 @@ } }, "regexp.prototype.flags": { - "version": "1.5.0", + "version": "1.5.1", "requires": { "call-bind": "^1.0.2", "define-properties": "^1.2.0", - "functions-have-names": "^1.2.3" + "set-function-name": "^2.0.0" } }, "regexpu-core": { @@ -36344,7 +36785,7 @@ "peer": true }, "resolve": { - "version": "1.22.4", + "version": "1.22.8", "requires": { "is-core-module": "^2.13.0", "path-parse": "^1.0.7", @@ -36375,8 +36816,25 @@ "requires": { "onetime": "^5.1.0", "signal-exit": "^3.0.2" + }, + "dependencies": { + "mimic-fn": { + "version": "2.1.0", + "peer": true + }, + "onetime": { + "version": "5.1.2", + "peer": true, + "requires": { + "mimic-fn": "^2.1.0" + } + } } }, + "retry": { + "version": "0.13.1", + "dev": true + }, "reusify": { "version": "1.0.4", "dev": true @@ -36396,6 +36854,53 @@ "dev": true, "requires": { "execa": "^5.0.0" + }, + "dependencies": { + "execa": { + "version": "5.1.1", + "dev": true, + "requires": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + } + }, + "human-signals": { + "version": "2.1.0", + "dev": true + }, + "is-stream": { + "version": "2.0.1", + "dev": true + }, + "mimic-fn": { + "version": "2.1.0", + "dev": true + }, + "npm-run-path": { + "version": "4.0.1", + "dev": true, + "requires": { + "path-key": "^3.0.0" + } + }, + "onetime": { + "version": "5.1.2", + "dev": true, + "requires": { + "mimic-fn": "^2.1.0" + } + }, + "strip-final-newline": { + "version": "2.0.0", + "dev": true + } } }, "run-parallel": { @@ -36406,17 +36911,17 @@ } }, "safe-array-concat": { - "version": "1.0.0", + "version": "1.0.1", "dev": true, "requires": { "call-bind": "^1.0.2", - "get-intrinsic": "^1.2.0", + "get-intrinsic": "^1.2.1", "has-symbols": "^1.0.3", "isarray": "^2.0.5" } }, "safe-buffer": { - "version": "5.1.2" + "version": "5.2.1" }, "safe-regex-test": { "version": "1.0.0", @@ -36429,10 +36934,10 @@ }, "safer-buffer": { "version": "2.1.2", - "devOptional": true + "dev": true }, "sass": { - "version": "1.66.1", + "version": "1.69.3", "dev": true, "requires": { "chokidar": ">=3.0.0 <4.0.0", @@ -36454,12 +36959,36 @@ } }, "schema-utils": { - "version": "3.3.0", + "version": "4.2.0", "dev": true, "requires": { - "@types/json-schema": "^7.0.8", - "ajv": "^6.12.5", - "ajv-keywords": "^3.5.2" + "@types/json-schema": "^7.0.9", + "ajv": "^8.9.0", + "ajv-formats": "^2.1.1", + "ajv-keywords": "^5.1.0" + }, + "dependencies": { + "ajv": { + "version": "8.12.0", + "dev": true, + "requires": { + "fast-deep-equal": "^3.1.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", + "uri-js": "^4.2.2" + } + }, + "ajv-keywords": { + "version": "5.1.0", + "dev": true, + "requires": { + "fast-deep-equal": "^3.1.3" + } + }, + "json-schema-traverse": { + "version": "1.0.0", + "dev": true + } } }, "select-hose": { @@ -36474,9 +37003,7 @@ } }, "semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==" + "version": "6.3.1" }, "send": { "version": "0.18.0", @@ -36596,6 +37123,14 @@ "version": "2.0.0", "peer": true }, + "set-function-name": { + "version": "2.0.1", + "requires": { + "define-data-property": "^1.0.1", + "functions-have-names": "^1.2.3", + "has-property-descriptors": "^1.0.0" + } + }, "setprototypeof": { "version": "1.2.0" }, @@ -36680,16 +37215,21 @@ "version": "1.15.0" }, "source-map": { - "version": "0.6.1" + "version": "0.7.4" }, "source-map-js": { "version": "1.0.2" }, "source-map-support": { - "version": "0.5.13", + "version": "0.5.21", "requires": { "buffer-from": "^1.0.0", "source-map": "^0.6.0" + }, + "dependencies": { + "source-map": { + "version": "0.6.1" + } } }, "spdy": { @@ -36718,6 +37258,13 @@ "sprintf-js": { "version": "1.0.3" }, + "ssri": { + "version": "10.0.5", + "dev": true, + "requires": { + "minipass": "^7.0.3" + } + }, "stack-utils": { "version": "2.0.6", "requires": { @@ -36762,11 +37309,6 @@ "version": "1.3.0", "requires": { "safe-buffer": "~5.2.0" - }, - "dependencies": { - "safe-buffer": { - "version": "5.2.1" - } } }, "string-length": { @@ -36777,11 +37319,25 @@ } }, "string-width": { - "version": "4.2.3", + "version": "5.1.2", + "dev": true, "requires": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "dependencies": { + "ansi-regex": { + "version": "6.0.1", + "dev": true + }, + "strip-ansi": { + "version": "7.1.0", + "dev": true, + "requires": { + "ansi-regex": "^6.0.1" + } + } } }, "string-width-cjs": { @@ -36791,10 +37347,16 @@ "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", "strip-ansi": "^6.0.1" + }, + "dependencies": { + "emoji-regex": { + "version": "8.0.0", + "dev": true + } } }, "string.prototype.matchall": { - "version": "4.0.9", + "version": "4.0.10", "dev": true, "requires": { "call-bind": "^1.0.2", @@ -36804,34 +37366,35 @@ "has-symbols": "^1.0.3", "internal-slot": "^1.0.5", "regexp.prototype.flags": "^1.5.0", + "set-function-name": "^2.0.0", "side-channel": "^1.0.4" } }, "string.prototype.trim": { - "version": "1.2.7", + "version": "1.2.8", "dev": true, "requires": { "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1" } }, "string.prototype.trimend": { - "version": "1.0.6", + "version": "1.0.7", "dev": true, "requires": { "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1" } }, "string.prototype.trimstart": { - "version": "1.0.6", + "version": "1.0.7", "dev": true, "requires": { "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1" } }, "strip-ansi": { @@ -36859,10 +37422,12 @@ } }, "strip-bom": { - "version": "4.0.0" + "version": "3.0.0", + "dev": true }, "strip-final-newline": { - "version": "2.0.0" + "version": "3.0.0", + "dev": true }, "strip-indent": { "version": "3.0.0", @@ -36884,7 +37449,7 @@ "requires": {} }, "styled-components": { - "version": "6.0.7", + "version": "6.0.8", "requires": { "@babel/cli": "^7.21.0", "@babel/core": "^7.21.0", @@ -36915,7 +37480,7 @@ "peer": true }, "superjson": { - "version": "1.13.1", + "version": "1.13.3", "requires": { "copy-anything": "^3.0.2" } @@ -36989,24 +37554,12 @@ } }, "terser": { - "version": "5.19.2", + "version": "5.21.0", "requires": { "@jridgewell/source-map": "^0.3.3", "acorn": "^8.8.2", "commander": "^2.20.0", "source-map-support": "~0.5.20" - }, - "dependencies": { - "commander": { - "version": "2.20.3" - }, - "source-map-support": { - "version": "0.5.21", - "requires": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" - } - } } }, "terser-webpack-plugin": { @@ -37020,24 +37573,13 @@ "terser": "^5.16.8" }, "dependencies": { - "has-flag": { - "version": "4.0.0", - "dev": true - }, - "jest-worker": { - "version": "27.5.1", - "dev": true, - "requires": { - "@types/node": "*", - "merge-stream": "^2.0.0", - "supports-color": "^8.0.0" - } - }, - "supports-color": { - "version": "8.1.1", + "schema-utils": { + "version": "3.3.0", "dev": true, "requires": { - "has-flag": "^4.0.0" + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" } } } @@ -37055,7 +37597,7 @@ "dev": true }, "three": { - "version": "0.155.0", + "version": "0.157.0", "peer": true }, "throat": { @@ -37087,6 +37629,10 @@ "util-deprecate": "~1.0.1" } }, + "safe-buffer": { + "version": "5.1.2", + "peer": true + }, "string_decoder": { "version": "1.1.1", "peer": true, @@ -37139,65 +37685,20 @@ } }, "tr46": { - "version": "0.0.3", - "peer": true + "version": "4.1.1", + "dev": true, + "requires": { + "punycode": "^2.3.0" + } }, "transliteration": { "version": "2.3.5", "requires": { "yargs": "^17.5.1" - }, - "dependencies": { - "ansi-styles": { - "version": "4.3.0", - "requires": { - "color-convert": "^2.0.1" - } - }, - "cliui": { - "version": "8.0.1", - "requires": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^7.0.0" - } - }, - "color-convert": { - "version": "2.0.1", - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4" - }, - "wrap-ansi": { - "version": "7.0.0", - "requires": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - } - }, - "yargs": { - "version": "17.7.2", - "requires": { - "cliui": "^8.0.1", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.3", - "y18n": "^5.0.5", - "yargs-parser": "^21.1.1" - } - }, - "yargs-parser": { - "version": "21.1.1" - } } }, "ts-api-utils": { - "version": "1.0.2", + "version": "1.0.3", "dev": true, "requires": {} }, @@ -37229,20 +37730,21 @@ "lru-cache": "^6.0.0" } }, - "yargs-parser": { - "version": "21.1.1", + "yallist": { + "version": "4.0.0", "dev": true } } }, "ts-loader": { - "version": "9.4.4", + "version": "9.5.0", "dev": true, "requires": { "chalk": "^4.1.0", "enhanced-resolve": "^5.0.0", "micromatch": "^4.0.0", - "semver": "^7.3.4" + "semver": "^7.3.4", + "source-map": "^0.7.4" }, "dependencies": { "ansi-styles": { @@ -37295,6 +37797,10 @@ "requires": { "has-flag": "^4.0.0" } + }, + "yallist": { + "version": "4.0.0", + "dev": true } } }, @@ -37333,10 +37839,6 @@ "requires": { "minimist": "^1.2.0" } - }, - "strip-bom": { - "version": "3.0.0", - "dev": true } } }, @@ -37367,7 +37869,8 @@ "version": "4.0.8" }, "type-fest": { - "version": "0.21.3" + "version": "0.20.2", + "dev": true }, "type-is": { "version": "1.6.18", @@ -37436,6 +37939,10 @@ "commander": { "version": "2.13.0", "peer": true + }, + "source-map": { + "version": "0.6.1", + "peer": true } } }, @@ -37449,6 +37956,9 @@ "which-boxed-primitive": "^1.0.2" } }, + "undici-types": { + "version": "5.25.3" + }, "unicode-canonical-property-names-ecmascript": { "version": "2.0.0" }, @@ -37465,6 +37975,10 @@ "unicode-property-aliases-ecmascript": { "version": "2.1.0" }, + "universalify": { + "version": "0.1.2", + "peer": true + }, "unpipe": { "version": "1.0.0" }, @@ -37473,7 +37987,7 @@ "dev": true }, "update-browserslist-db": { - "version": "1.0.11", + "version": "1.0.13", "requires": { "escalade": "^3.1.1", "picocolors": "^1.0.0" @@ -37493,6 +38007,17 @@ "loader-utils": "^2.0.0", "mime-types": "^2.1.27", "schema-utils": "^3.0.0" + }, + "dependencies": { + "schema-utils": { + "version": "3.3.0", + "dev": true, + "requires": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" + } + } } }, "url-parse": { @@ -37513,18 +38038,18 @@ "version": "1.0.1" }, "uuid": { - "version": "9.0.0" + "version": "9.0.1" }, "v8-compile-cache-lib": { "version": "3.0.1", "devOptional": true }, "v8-to-istanbul": { - "version": "9.1.0", + "version": "9.1.3", "requires": { "@jridgewell/trace-mapping": "^0.3.12", "@types/istanbul-lib-coverage": "^2.0.1", - "convert-source-map": "^1.6.0" + "convert-source-map": "^2.0.0" } }, "vary": { @@ -37550,7 +38075,7 @@ }, "dependencies": { "@types/d3-shape": { - "version": "3.1.2", + "version": "3.1.3", "requires": { "@types/d3-path": "*" } @@ -37575,7 +38100,7 @@ }, "dependencies": { "eslint-scope": { - "version": "7.1.1", + "version": "7.2.2", "dev": true, "requires": { "esrecurse": "^4.3.0", @@ -37583,7 +38108,7 @@ } }, "eslint-visitor-keys": { - "version": "3.3.0", + "version": "3.4.3", "dev": true }, "lru-cache": { @@ -37595,12 +38120,14 @@ }, "semver": { "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dev": true, "requires": { "lru-cache": "^6.0.0" } + }, + "yallist": { + "version": "4.0.0", + "dev": true } } }, @@ -37646,8 +38173,8 @@ } }, "webidl-conversions": { - "version": "3.0.1", - "peer": true + "version": "7.0.0", + "dev": true }, "webpack": { "version": "5.88.2", @@ -37677,6 +38204,17 @@ "terser-webpack-plugin": "^5.3.7", "watchpack": "^2.4.0", "webpack-sources": "^3.2.3" + }, + "dependencies": { + "schema-utils": { + "version": "3.3.0", + "dev": true, + "requires": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" + } + } } }, "webpack-cli": { @@ -37698,10 +38236,6 @@ "webpack-merge": "^5.7.3" }, "dependencies": { - "colorette": { - "version": "2.0.20", - "dev": true - }, "commander": { "version": "10.0.1", "dev": true @@ -37717,43 +38251,6 @@ "mime-types": "^2.1.31", "range-parser": "^1.2.1", "schema-utils": "^4.0.0" - }, - "dependencies": { - "ajv": { - "version": "8.12.0", - "dev": true, - "requires": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - } - }, - "ajv-keywords": { - "version": "5.1.0", - "dev": true, - "requires": { - "fast-deep-equal": "^3.1.3" - } - }, - "colorette": { - "version": "2.0.20", - "dev": true - }, - "json-schema-traverse": { - "version": "1.0.0", - "dev": true - }, - "schema-utils": { - "version": "4.2.0", - "dev": true, - "requires": { - "@types/json-schema": "^7.0.9", - "ajv": "^8.9.0", - "ajv-formats": "^2.1.1", - "ajv-keywords": "^5.1.0" - } - } } }, "webpack-dev-server": { @@ -37792,39 +38289,21 @@ "ws": "^8.13.0" }, "dependencies": { - "ajv": { - "version": "8.12.0", - "dev": true, - "requires": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - } - }, - "ajv-keywords": { - "version": "5.1.0", - "dev": true, - "requires": { - "fast-deep-equal": "^3.1.3" - } - }, - "colorette": { - "version": "2.0.20", + "define-lazy-prop": { + "version": "2.0.0", "dev": true }, - "json-schema-traverse": { - "version": "1.0.0", + "is-docker": { + "version": "2.2.1", "dev": true }, - "schema-utils": { - "version": "4.2.0", + "open": { + "version": "8.4.2", "dev": true, "requires": { - "@types/json-schema": "^7.0.9", - "ajv": "^8.9.0", - "ajv-formats": "^2.1.1", - "ajv-keywords": "^5.1.0" + "define-lazy-prop": "^2.0.0", + "is-docker": "^2.1.1", + "is-wsl": "^2.2.0" } } } @@ -37871,7 +38350,7 @@ } }, "whatwg-fetch": { - "version": "3.6.18", + "version": "3.6.19", "peer": true }, "whatwg-mimetype": { @@ -37879,11 +38358,11 @@ "dev": true }, "whatwg-url": { - "version": "5.0.0", - "peer": true, + "version": "12.0.1", + "dev": true, "requires": { - "tr46": "~0.0.3", - "webidl-conversions": "^3.0.0" + "tr46": "^4.1.1", + "webidl-conversions": "^7.0.0" } }, "which": { @@ -37951,31 +38430,28 @@ "dev": true }, "wrap-ansi": { - "version": "6.2.0", - "peer": true, + "version": "8.1.0", + "dev": true, "requires": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" }, "dependencies": { + "ansi-regex": { + "version": "6.0.1", + "dev": true + }, "ansi-styles": { - "version": "4.3.0", - "peer": true, - "requires": { - "color-convert": "^2.0.1" - } + "version": "6.2.1", + "dev": true }, - "color-convert": { - "version": "2.0.1", - "peer": true, + "strip-ansi": { + "version": "7.1.0", + "dev": true, "requires": { - "color-name": "~1.1.4" + "ansi-regex": "^6.0.1" } - }, - "color-name": { - "version": "1.1.4", - "peer": true } } }, @@ -38005,14 +38481,34 @@ "color-name": { "version": "1.1.4", "dev": true + }, + "emoji-regex": { + "version": "8.0.0", + "dev": true + }, + "string-width": { + "version": "4.2.3", + "dev": true, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } } } }, "wrappy": { "version": "1.0.2" }, + "write-file-atomic": { + "version": "4.0.2", + "requires": { + "imurmurhash": "^0.1.4", + "signal-exit": "^3.0.7" + } + }, "ws": { - "version": "8.13.0", + "version": "8.14.2", "dev": true, "requires": {} }, @@ -38032,12 +38528,40 @@ "version": "5.0.8" }, "yallist": { - "version": "4.0.0" + "version": "3.1.1" }, "yaml": { "version": "2.3.2", "peer": true }, + "yargs": { + "version": "17.7.2", + "requires": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + }, + "dependencies": { + "emoji-regex": { + "version": "8.0.0" + }, + "string-width": { + "version": "4.2.3", + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + } + } + }, + "yargs-parser": { + "version": "21.1.1" + }, "yn": { "version": "3.1.1", "devOptional": true diff --git a/packages/client/src/app/components/form-controls/control-types/field-type/field-type.tsx b/packages/client/src/app/components/form-controls/control-types/field-type/field-type.tsx new file mode 100644 index 000000000..3d93962e8 --- /dev/null +++ b/packages/client/src/app/components/form-controls/control-types/field-type/field-type.tsx @@ -0,0 +1,56 @@ +import React from 'react'; +import { FormComponent } from '@components/form-controls'; +import type { ControlType } from '@components/form-controls/types'; +import { useAppDispatch } from '@editor/store'; +import type { Field } from '@editor/store/slices/layout/fields'; +import { fieldThunks } from '@editor/store/thunks/fields'; +import { + useFetchFieldTypes, + useFieldTypeSearch, +} from '@ff-client/queries/field-types'; +import type { FieldTypeProperty } from '@ff-client/types/properties'; +import { PropertyType } from '@ff-client/types/properties'; +import translate from '@ff-client/utils/translations'; + +const FieldType: React.FC> = ({ + property, + context, +}) => { + const dispatch = useAppDispatch(); + const searchFieldType = useFieldTypeSearch(); + const { data: types } = useFetchFieldTypes(); + const field = context as Field; + + return ( + ({ + label: type.name, + value: type.typeClass, + })), + }} + updateValue={(value) => { + if ( + !confirm( + translate( + 'Are you sure? You might potentially lose important data.' + ) + ) + ) { + return; + } + + dispatch( + fieldThunks.change.type(field, searchFieldType(value as string)) + ); + }} + /> + ); +}; + +export default FieldType; diff --git a/packages/client/src/app/components/form-controls/control-types/index.ts b/packages/client/src/app/components/form-controls/control-types/index.ts index ba1a919cd..506d1c580 100644 --- a/packages/client/src/app/components/form-controls/control-types/index.ts +++ b/packages/client/src/app/components/form-controls/control-types/index.ts @@ -6,6 +6,7 @@ export { default as colorPicker } from './color-picker/color-picker'; export { default as datePicker } from './date-picker/date-picker'; export { default as dynamicSelect } from './dynamic-select/dynamic-select'; export { default as field } from './field/field'; +export { default as fieldType } from './field-type/field-type'; export { default as hidden } from './hidden/hidden'; export { default as int } from './int/int'; export { default as label } from './label/label'; diff --git a/packages/client/src/app/pages/forms/edit/builder/tabs/layout/property-editor/editors/fields/field-properties.tsx b/packages/client/src/app/pages/forms/edit/builder/tabs/layout/property-editor/editors/fields/field-properties.tsx index 0a6ab21fc..b4661e8c9 100644 --- a/packages/client/src/app/pages/forms/edit/builder/tabs/layout/property-editor/editors/fields/field-properties.tsx +++ b/packages/client/src/app/pages/forms/edit/builder/tabs/layout/property-editor/editors/fields/field-properties.tsx @@ -1,27 +1,21 @@ import React from 'react'; import Skeleton from 'react-loading-skeleton'; import { useSelector } from 'react-redux'; -import { FormComponent } from '@components/form-controls'; import { useAppDispatch } from '@editor/store'; import { contextActions } from '@editor/store/slices/context'; import { fieldSelectors } from '@editor/store/slices/layout/fields/fields.selectors'; -import { fieldThunks } from '@editor/store/thunks/fields'; import CloseIcon from '@ff-client/assets/icons/circle-xmark-solid.svg'; import { useFetchFieldPropertySections, - useFetchFieldTypes, useFieldType, - useFieldTypeSearch, } from '@ff-client/queries/field-types'; -import { type Property, PropertyType } from '@ff-client/types/properties'; -import translate from '@ff-client/utils/translations'; +import { type Property } from '@ff-client/types/properties'; import { CloseLink, Icon, Title } from '../../property-editor.styles'; import { SectionBlock } from '../../section-block'; import { SectionWrapper } from '../../section-block.styles'; import { FavoriteButton } from './favorite/favorite.button'; -import AdvancedIcon from './icons/advanced.svg'; import { FieldComponent } from './field-component'; import { FieldPropertiesWrapper } from './field-properties.styles'; @@ -32,13 +26,10 @@ export const FieldProperties: React.FC<{ uid: string }> = ({ uid }) => { const dispatch = useAppDispatch(); const { data: sections, isFetching } = useFetchFieldPropertySections(); - const { data: types } = useFetchFieldTypes(); const field = useSelector(fieldSelectors.one(uid)); const type = useFieldType(field?.typeClass); - const searchFieldType = useFieldTypeSearch(); - if (!field || !type) { return ; } @@ -89,40 +80,7 @@ export const FieldProperties: React.FC<{ uid: string }> = ({ uid }) => { {type.name} - - {sectionBlocks} - - }> - ({ - label: type.name, - value: type.typeClass, - })), - }} - updateValue={(value) => { - if ( - !confirm( - translate( - 'Are you sure? You might potentially lose important data.' - ) - ) - ) { - return; - } - - dispatch( - fieldThunks.change.type(field, searchFieldType(value as string)) - ); - }} - /> - - + {sectionBlocks} ); }; diff --git a/packages/client/src/types/properties.ts b/packages/client/src/types/properties.ts index bb0d68b3b..586f4da85 100644 --- a/packages/client/src/types/properties.ts +++ b/packages/client/src/types/properties.ts @@ -21,6 +21,7 @@ export enum PropertyType { DateTime = 'dateTime', Field = 'field', FieldMapping = 'fieldMapping', + FieldType = 'fieldType', Hidden = 'hidden', Integer = 'int', Label = 'label', @@ -204,6 +205,7 @@ export type FieldMappingProperty = BaseProperty< source?: string; parameterFields?: string[]; }; +export type FieldTypeProperty = BaseProperty; export type WYSIWYGProperty = BaseProperty; export type CodeEditorProperty = BaseProperty< @@ -222,6 +224,7 @@ export type Property = | DateTimeProperty | DynamicSelectProperty | FieldMappingProperty + | FieldTypeProperty | FieldProperty | HiddenProperty | IntegerProperty diff --git a/packages/plugin/src/Attributes/Property/Input/FieldType.php b/packages/plugin/src/Attributes/Property/Input/FieldType.php new file mode 100644 index 000000000..956de5ed0 --- /dev/null +++ b/packages/plugin/src/Attributes/Property/Input/FieldType.php @@ -0,0 +1,14 @@ + + */ +#[\Attribute(\Attribute::TARGET_PROPERTY)] +class FieldType extends Property +{ + public ?string $type = 'fieldType'; +} diff --git a/packages/plugin/src/Bundles/Notifications/Export/ExportNotifications.php b/packages/plugin/src/Bundles/Notifications/Export/ExportNotifications.php index 530789125..0edf6e95b 100644 --- a/packages/plugin/src/Bundles/Notifications/Export/ExportNotifications.php +++ b/packages/plugin/src/Bundles/Notifications/Export/ExportNotifications.php @@ -7,10 +7,16 @@ use craft\web\Application; use Solspace\Freeform\Freeform; use Solspace\Freeform\Library\Bundles\FeatureBundle; +use Solspace\Freeform\Library\Exceptions\FreeformException; +use Solspace\Freeform\Library\Helpers\EncryptionHelper; use Solspace\Freeform\Records\NotificationLogRecord; use Solspace\Freeform\Records\NotificationTemplateRecord; use Solspace\Freeform\Records\Pro\ExportNotificationRecord; +use Twig\Error\LoaderError; +use Twig\Error\SyntaxError; use yii\base\Event; +use yii\base\Exception; +use yii\base\InvalidConfigException; class ExportNotifications extends FeatureBundle { @@ -24,6 +30,13 @@ public function __construct() Event::on(Application::class, Application::EVENT_AFTER_REQUEST, [$this, 'handleNotifications']); } + /** + * @throws InvalidConfigException + * @throws FreeformException + * @throws LoaderError + * @throws SyntaxError + * @throws Exception + */ public function handleNotifications(): void { if (Freeform::isLocked(self::CACHE_KEY, self::CACHE_TTL)) { @@ -70,6 +83,9 @@ public function handleNotifications(): void $data = $profile->getSubmissionData(); + $key = EncryptionHelper::getKey($form->getUid()); + $data = EncryptionHelper::decryptExportData($key, $data); + $exporter = $exportService->createExporter($notification->fileType, $form, $data); $fileName = $mailer->renderString( diff --git a/packages/plugin/src/Bundles/Routing/routes/cp/export.php b/packages/plugin/src/Bundles/Routing/routes/cp/export.php index 1f06a8122..2f8b92d36 100644 --- a/packages/plugin/src/Bundles/Routing/routes/cp/export.php +++ b/packages/plugin/src/Bundles/Routing/routes/cp/export.php @@ -3,7 +3,7 @@ return [ // quick export 'freeform/export/export-dialogue' => 'freeform/export/quick-export/export-dialogue', - 'freeform/export' => 'freeform/export/quick-export/index', + 'freeform/export/quick-export' => 'freeform/export/quick-export/index', // Export Profiles 'freeform/export/profiles' => 'freeform/export/profiles/index', diff --git a/packages/plugin/src/Bundles/Submissions/EncryptionBundle.php b/packages/plugin/src/Bundles/Submissions/EncryptionBundle.php new file mode 100644 index 000000000..2c8338985 --- /dev/null +++ b/packages/plugin/src/Bundles/Submissions/EncryptionBundle.php @@ -0,0 +1,59 @@ +getField(); + + $value = $event->getValue(); + + if ($this->plugin()->edition()->isBelow(Freeform::EDITION_PRO) || !$field instanceof EncryptionInterface || !$field->isEncrypted() || !$value) { + return; + } + + $key = EncryptionHelper::getKey($field->getForm()->getUid()); + + $value = EncryptionHelper::encrypt($key, $value); + + $event->setValue($value); + } + + public function decrypt(PopulateElementEvent $event): void + { + $form = Freeform::getInstance()->forms->getFormById($event->row['formId']); + + $key = EncryptionHelper::getKey($form->getUid()); + + foreach ($event->row as $field => $value) { + $event->row[$field] = EncryptionHelper::decrypt($key, $value); + } + } +} diff --git a/packages/plugin/src/Elements/Submission.php b/packages/plugin/src/Elements/Submission.php index 9bce8cf3c..76e2720a7 100644 --- a/packages/plugin/src/Elements/Submission.php +++ b/packages/plugin/src/Elements/Submission.php @@ -24,6 +24,7 @@ use Solspace\Freeform\Elements\Actions\SendNotificationAction; use Solspace\Freeform\Elements\Actions\SetSubmissionStatusAction; use Solspace\Freeform\Elements\Db\SubmissionQuery; +use Solspace\Freeform\Events\Submissions\ProcessFieldValueEvent; use Solspace\Freeform\Fields\AbstractField; use Solspace\Freeform\Fields\FieldInterface; use Solspace\Freeform\Fields\Implementations\CheckboxField; @@ -51,6 +52,7 @@ class Submission extends Element public const FIELD_COLUMN_PREFIX = 'field_'; public const EVENT_PROCESS_SUBMISSION = 'process-submission'; + public const EVENT_PROCESS_FIELD_VALUE = 'process-field-value'; public const OPT_IN_DATA_TOKEN_LENGTH = 100; @@ -417,7 +419,10 @@ public function afterSave(bool $isNew): void $value = LitEmoji::unicodeToShortcode($value); } - $contentData[self::getFieldColumnName($field)] = $value; + $event = new ProcessFieldValueEvent($field, $value); + Event::trigger(self::class, self::EVENT_PROCESS_FIELD_VALUE, $event); + + $contentData[self::getFieldColumnName($field)] = $event->getValue(); } $contentTable = self::getContentTableName($this->getForm()); @@ -521,6 +526,15 @@ public static function actions(string $source): array return $event->actions; } + public function getFieldCollection(): FieldCollection + { + if (null === $this->fieldCollection && $this->getForm()) { + $this->fieldCollection = Freeform::getInstance()->fields->getFieldCollection($this->getForm()); + } + + return $this->fieldCollection; + } + protected static function defineSources(string $context = null): array { static $sources; @@ -771,15 +785,6 @@ private function generateToken(): void $this->token = CryptoHelper::getUniqueToken(self::OPT_IN_DATA_TOKEN_LENGTH); } - private function getFieldCollection(): FieldCollection - { - if (null === $this->fieldCollection && $this->getForm()) { - $this->fieldCollection = Freeform::getInstance()->fields->getFieldCollection($this->getForm()); - } - - return $this->fieldCollection; - } - private function getNewIncrementalId(): int { $maxIncrementalId = (int) (new Query()) diff --git a/packages/plugin/src/Events/Submissions/ProcessFieldValueEvent.php b/packages/plugin/src/Events/Submissions/ProcessFieldValueEvent.php new file mode 100644 index 000000000..f4ff04ef5 --- /dev/null +++ b/packages/plugin/src/Events/Submissions/ProcessFieldValueEvent.php @@ -0,0 +1,29 @@ +field; + } + + public function getValue(): mixed + { + return $this->value; + } + + public function setValue(mixed $value): void + { + $this->value = $value; + } +} diff --git a/packages/plugin/src/Fields/AbstractField.php b/packages/plugin/src/Fields/AbstractField.php index 86f5886cb..6a950c2db 100644 --- a/packages/plugin/src/Fields/AbstractField.php +++ b/packages/plugin/src/Fields/AbstractField.php @@ -127,6 +127,19 @@ abstract class AbstractField implements FieldInterface, IdentificatorInterface )] protected FieldAttributesCollection $attributes; + #[Section( + handle: 'advanced', + label: 'Advanced', + icon: __DIR__.'/SectionIcons/advanced.svg', + order: 1000, + )] + #[Input\FieldType( + label: 'Field Type', + instructions: 'Change the type of this field.', + order: 2, + )] + protected ?string $fieldType = null; + protected Parameters $parameters; protected ?int $id = null; diff --git a/packages/plugin/src/Fields/BaseGeneratedOptionsField.php b/packages/plugin/src/Fields/BaseGeneratedOptionsField.php index 7ac38a898..a8c18b5cc 100644 --- a/packages/plugin/src/Fields/BaseGeneratedOptionsField.php +++ b/packages/plugin/src/Fields/BaseGeneratedOptionsField.php @@ -2,7 +2,6 @@ namespace Solspace\Freeform\Fields; -use Solspace\Freeform\Attributes\Property\Implementations\Options\Option; use Solspace\Freeform\Attributes\Property\Implementations\Options\OptionCollection; use Solspace\Freeform\Attributes\Property\Implementations\Options\OptionsTransformer; use Solspace\Freeform\Attributes\Property\Input; diff --git a/packages/plugin/src/Fields/BaseOptionsField.php b/packages/plugin/src/Fields/BaseOptionsField.php index 58e38064d..81edb7424 100644 --- a/packages/plugin/src/Fields/BaseOptionsField.php +++ b/packages/plugin/src/Fields/BaseOptionsField.php @@ -4,14 +4,18 @@ use Solspace\Freeform\Attributes\Property\Implementations\Options\Option; use Solspace\Freeform\Attributes\Property\Implementations\Options\OptionCollection; +use Solspace\Freeform\Fields\Interfaces\EncryptionInterface; use Solspace\Freeform\Fields\Interfaces\MultiValueInterface; use Solspace\Freeform\Fields\Interfaces\OptionsInterface; +use Solspace\Freeform\Fields\Traits\EncryptionTrait; /** * @implements \IteratorAggregate */ -abstract class BaseOptionsField extends AbstractField implements OptionsInterface +abstract class BaseOptionsField extends AbstractField implements OptionsInterface, EncryptionInterface { + use EncryptionTrait; + public function getLabels(): array { $labels = []; diff --git a/packages/plugin/src/Fields/Implementations/EmailField.php b/packages/plugin/src/Fields/Implementations/EmailField.php index 62931aaf7..4c2a60a4f 100644 --- a/packages/plugin/src/Fields/Implementations/EmailField.php +++ b/packages/plugin/src/Fields/Implementations/EmailField.php @@ -16,9 +16,11 @@ use Solspace\Freeform\Fields\AbstractField; use Solspace\Freeform\Fields\FieldInterface; use Solspace\Freeform\Fields\Interfaces\DefaultValueInterface; +use Solspace\Freeform\Fields\Interfaces\EncryptionInterface; use Solspace\Freeform\Fields\Interfaces\PlaceholderInterface; use Solspace\Freeform\Fields\Interfaces\RecipientInterface; use Solspace\Freeform\Fields\Traits\DefaultTextValueTrait; +use Solspace\Freeform\Fields\Traits\EncryptionTrait; use Solspace\Freeform\Fields\Traits\PlaceholderTrait; use Solspace\Freeform\Freeform; @@ -28,9 +30,10 @@ iconPath: __DIR__.'/Icons/email.svg', previewTemplatePath: __DIR__.'/PreviewTemplates/text.ejs', )] -class EmailField extends AbstractField implements RecipientInterface, PlaceholderInterface, DefaultValueInterface +class EmailField extends AbstractField implements RecipientInterface, PlaceholderInterface, DefaultValueInterface, EncryptionInterface { use DefaultTextValueTrait; + use EncryptionTrait; use PlaceholderTrait; /** diff --git a/packages/plugin/src/Fields/Implementations/FileUploadField.php b/packages/plugin/src/Fields/Implementations/FileUploadField.php index 52721df4a..39cc2c3b7 100644 --- a/packages/plugin/src/Fields/Implementations/FileUploadField.php +++ b/packages/plugin/src/Fields/Implementations/FileUploadField.php @@ -21,8 +21,10 @@ use Solspace\Freeform\Bundles\GraphQL\Types\FileUploadType; use Solspace\Freeform\Bundles\GraphQL\Types\Inputs\FileUploadInputType; use Solspace\Freeform\Fields\AbstractField; +use Solspace\Freeform\Fields\Interfaces\EncryptionInterface; use Solspace\Freeform\Fields\Interfaces\FileUploadInterface; use Solspace\Freeform\Fields\Interfaces\MultiValueInterface; +use Solspace\Freeform\Fields\Traits\EncryptionTrait; use Solspace\Freeform\Fields\Traits\FileUploadTrait; use Solspace\Freeform\Fields\Traits\MultipleValueTrait; @@ -32,8 +34,9 @@ iconPath: __DIR__.'/Icons/file-upload.svg', previewTemplatePath: __DIR__.'/PreviewTemplates/file-upload.ejs', )] -class FileUploadField extends AbstractField implements MultiValueInterface, FileUploadInterface +class FileUploadField extends AbstractField implements MultiValueInterface, FileUploadInterface, EncryptionInterface { + use EncryptionTrait; use FileUploadTrait; use MultipleValueTrait; diff --git a/packages/plugin/src/Fields/Implementations/Pro/ConfirmationField.php b/packages/plugin/src/Fields/Implementations/Pro/ConfirmationField.php index e016b4a60..cd4e82d2f 100644 --- a/packages/plugin/src/Fields/Implementations/Pro/ConfirmationField.php +++ b/packages/plugin/src/Fields/Implementations/Pro/ConfirmationField.php @@ -9,10 +9,12 @@ use Solspace\Freeform\Attributes\Property\ValueTransformer; use Solspace\Freeform\Fields\AbstractField; use Solspace\Freeform\Fields\FieldInterface; +use Solspace\Freeform\Fields\Interfaces\EncryptionInterface; use Solspace\Freeform\Fields\Interfaces\ExtraFieldInterface; use Solspace\Freeform\Fields\Interfaces\PlaceholderInterface; use Solspace\Freeform\Fields\Interfaces\RecipientInterface; use Solspace\Freeform\Fields\Interfaces\TextInterface; +use Solspace\Freeform\Fields\Traits\EncryptionTrait; use Solspace\Freeform\Fields\Traits\PlaceholderTrait; use Solspace\Freeform\Library\Exceptions\FreeformException; @@ -22,8 +24,9 @@ iconPath: __DIR__.'/../Icons/confirm.svg', previewTemplatePath: __DIR__.'/../PreviewTemplates/confirmation.ejs', )] -class ConfirmationField extends AbstractField implements ExtraFieldInterface, PlaceholderInterface +class ConfirmationField extends AbstractField implements ExtraFieldInterface, PlaceholderInterface, EncryptionInterface { + use EncryptionTrait; use PlaceholderTrait; #[ValueTransformer(FieldTransformer::class)] diff --git a/packages/plugin/src/Fields/Implementations/Pro/DatetimeField.php b/packages/plugin/src/Fields/Implementations/Pro/DatetimeField.php index 707a7d3e5..e0d61d235 100644 --- a/packages/plugin/src/Fields/Implementations/Pro/DatetimeField.php +++ b/packages/plugin/src/Fields/Implementations/Pro/DatetimeField.php @@ -12,8 +12,10 @@ use Solspace\Freeform\Attributes\Property\VisibilityFilter; use Solspace\Freeform\Fields\AbstractField; use Solspace\Freeform\Fields\Interfaces\DatetimeInterface; +use Solspace\Freeform\Fields\Interfaces\EncryptionInterface; use Solspace\Freeform\Fields\Interfaces\ExtraFieldInterface; use Solspace\Freeform\Fields\Interfaces\PlaceholderInterface; +use Solspace\Freeform\Fields\Traits\EncryptionTrait; #[Type( name: 'Date & Time', @@ -21,8 +23,10 @@ iconPath: __DIR__.'/../Icons/date-time.svg', previewTemplatePath: __DIR__.'/../PreviewTemplates/date-time.ejs', )] -class DatetimeField extends AbstractField implements PlaceholderInterface, DatetimeInterface, ExtraFieldInterface +class DatetimeField extends AbstractField implements PlaceholderInterface, DatetimeInterface, ExtraFieldInterface, EncryptionInterface { + use EncryptionTrait; + public const DATETIME_TYPE_BOTH = 'both'; public const DATETIME_TYPE_DATE = 'date'; public const DATETIME_TYPE_TIME = 'time'; diff --git a/packages/plugin/src/Fields/Implementations/Pro/PasswordField.php b/packages/plugin/src/Fields/Implementations/Pro/PasswordField.php index 0392f4adc..ea347e0f7 100644 --- a/packages/plugin/src/Fields/Implementations/Pro/PasswordField.php +++ b/packages/plugin/src/Fields/Implementations/Pro/PasswordField.php @@ -13,6 +13,7 @@ namespace Solspace\Freeform\Fields\Implementations\Pro; use Solspace\Freeform\Attributes\Field\Type; +use Solspace\Freeform\Attributes\Property\Input; use Solspace\Freeform\Fields\Implementations\TextField; use Solspace\Freeform\Fields\Interfaces\ExtraFieldInterface; use Solspace\Freeform\Fields\Interfaces\NoStorageInterface; @@ -26,6 +27,9 @@ )] class PasswordField extends TextField implements NoStorageInterface, ExtraFieldInterface, RememberPostedValueInterface { + #[Input\Hidden] + protected bool $encrypted = false; + public function getType(): string { return self::TYPE_PASSWORD; diff --git a/packages/plugin/src/Fields/Implementations/Pro/SignatureField.php b/packages/plugin/src/Fields/Implementations/Pro/SignatureField.php index 34ee4b54b..dbb7fced7 100644 --- a/packages/plugin/src/Fields/Implementations/Pro/SignatureField.php +++ b/packages/plugin/src/Fields/Implementations/Pro/SignatureField.php @@ -6,7 +6,9 @@ use Solspace\Freeform\Attributes\Field\Type; use Solspace\Freeform\Attributes\Property\Input; use Solspace\Freeform\Fields\AbstractField; +use Solspace\Freeform\Fields\Interfaces\EncryptionInterface; use Solspace\Freeform\Fields\Interfaces\ExtraFieldInterface; +use Solspace\Freeform\Fields\Traits\EncryptionTrait; use Solspace\Freeform\Library\Attributes\Attributes; #[Type( @@ -15,8 +17,10 @@ iconPath: __DIR__.'/../Icons/signature.svg', previewTemplatePath: __DIR__.'/../PreviewTemplates/signature.ejs', )] -class SignatureField extends AbstractField implements ExtraFieldInterface +class SignatureField extends AbstractField implements ExtraFieldInterface, EncryptionInterface { + use EncryptionTrait; + #[Input\Integer( label: 'Width of Pad', instructions: 'Specify a value in pixels.', diff --git a/packages/plugin/src/Fields/Implementations/Pro/TableField.php b/packages/plugin/src/Fields/Implementations/Pro/TableField.php index d1413bba0..87ca53b4d 100644 --- a/packages/plugin/src/Fields/Implementations/Pro/TableField.php +++ b/packages/plugin/src/Fields/Implementations/Pro/TableField.php @@ -10,10 +10,12 @@ use Solspace\Freeform\Attributes\Property\Section; use Solspace\Freeform\Attributes\Property\ValueTransformer; use Solspace\Freeform\Fields\AbstractField; +use Solspace\Freeform\Fields\Interfaces\EncryptionInterface; use Solspace\Freeform\Fields\Interfaces\ExtraFieldInterface; use Solspace\Freeform\Fields\Interfaces\MultiDimensionalValueInterface; use Solspace\Freeform\Fields\Interfaces\MultiValueInterface; use Solspace\Freeform\Fields\Properties\Table\TableLayout; +use Solspace\Freeform\Fields\Traits\EncryptionTrait; use Solspace\Freeform\Fields\Traits\MultipleValueTrait; use Solspace\Freeform\Form\Form; use Solspace\Freeform\Library\Attributes\Attributes; @@ -26,8 +28,9 @@ iconPath: __DIR__.'/../Icons/table.svg', previewTemplatePath: __DIR__.'/../PreviewTemplates/table.ejs', )] -class TableField extends AbstractField implements MultiValueInterface, MultiDimensionalValueInterface, ExtraFieldInterface +class TableField extends AbstractField implements MultiValueInterface, MultiDimensionalValueInterface, ExtraFieldInterface, EncryptionInterface { + use EncryptionTrait; use MultipleValueTrait; public const COLUMN_TYPE_STRING = 'string'; diff --git a/packages/plugin/src/Fields/Implementations/TextField.php b/packages/plugin/src/Fields/Implementations/TextField.php index 5caa5d7b3..458d2a0f7 100644 --- a/packages/plugin/src/Fields/Implementations/TextField.php +++ b/packages/plugin/src/Fields/Implementations/TextField.php @@ -16,9 +16,11 @@ use Solspace\Freeform\Attributes\Field\Type; use Solspace\Freeform\Fields\AbstractField; use Solspace\Freeform\Fields\Interfaces\DefaultValueInterface; +use Solspace\Freeform\Fields\Interfaces\EncryptionInterface; use Solspace\Freeform\Fields\Interfaces\PlaceholderInterface; use Solspace\Freeform\Fields\Interfaces\TextInterface; use Solspace\Freeform\Fields\Traits\DefaultTextValueTrait; +use Solspace\Freeform\Fields\Traits\EncryptionTrait; use Solspace\Freeform\Fields\Traits\PlaceholderTrait; use Symfony\Component\Serializer\Annotation\Ignore; @@ -31,9 +33,10 @@ iconPath: __DIR__.'/Icons/text.svg', previewTemplatePath: __DIR__.'/PreviewTemplates/text.ejs', )] -class TextField extends AbstractField implements PlaceholderInterface, DefaultValueInterface, TextInterface +class TextField extends AbstractField implements PlaceholderInterface, DefaultValueInterface, TextInterface, EncryptionInterface { use DefaultTextValueTrait; + use EncryptionTrait; use PlaceholderTrait; #[Ignore] diff --git a/packages/plugin/src/Fields/Implementations/TextareaField.php b/packages/plugin/src/Fields/Implementations/TextareaField.php index 97127da13..797726f88 100644 --- a/packages/plugin/src/Fields/Implementations/TextareaField.php +++ b/packages/plugin/src/Fields/Implementations/TextareaField.php @@ -17,8 +17,10 @@ use Solspace\Freeform\Attributes\Property\Input; use Solspace\Freeform\Fields\AbstractField; use Solspace\Freeform\Fields\Interfaces\DefaultValueInterface; +use Solspace\Freeform\Fields\Interfaces\EncryptionInterface; use Solspace\Freeform\Fields\Interfaces\PlaceholderInterface; use Solspace\Freeform\Fields\Traits\DefaultTextValueTrait; +use Solspace\Freeform\Fields\Traits\EncryptionTrait; use Solspace\Freeform\Fields\Traits\PlaceholderTrait; #[Type( @@ -27,9 +29,10 @@ iconPath: __DIR__.'/Icons/textarea.svg', previewTemplatePath: __DIR__.'/PreviewTemplates/textarea.ejs', )] -class TextareaField extends AbstractField implements PlaceholderInterface, DefaultValueInterface +class TextareaField extends AbstractField implements PlaceholderInterface, DefaultValueInterface, EncryptionInterface { use DefaultTextValueTrait; + use EncryptionTrait; use PlaceholderTrait; #[Input\TextArea( diff --git a/packages/plugin/src/Fields/Interfaces/EncryptionInterface.php b/packages/plugin/src/Fields/Interfaces/EncryptionInterface.php new file mode 100644 index 000000000..552bec5a7 --- /dev/null +++ b/packages/plugin/src/Fields/Interfaces/EncryptionInterface.php @@ -0,0 +1,18 @@ + \ No newline at end of file diff --git a/packages/plugin/src/Fields/Traits/EncryptionTrait.php b/packages/plugin/src/Fields/Traits/EncryptionTrait.php new file mode 100644 index 000000000..87d062db2 --- /dev/null +++ b/packages/plugin/src/Fields/Traits/EncryptionTrait.php @@ -0,0 +1,33 @@ +encrypted; + } +} diff --git a/packages/plugin/src/Library/Helpers/EncryptionHelper.php b/packages/plugin/src/Library/Helpers/EncryptionHelper.php new file mode 100644 index 000000000..baf5a342f --- /dev/null +++ b/packages/plugin/src/Library/Helpers/EncryptionHelper.php @@ -0,0 +1,67 @@ +settings->getSettingsModel()->getSessionContextSecret(); + + $key = $secret ?: \Craft::$app->getConfig()->getGeneral()->securityKey; + $key .= $formUid; + + return $key; + } + + public static function encrypt(string $key, mixed $value): string + { + $prefix = self::ENCRYPTION_PREFIX; + $value = self::encryptByKey($key, $value); + + return $prefix.$value; + } + + public static function decrypt(string $key, mixed $value): mixed + { + $prefix = self::ENCRYPTION_PREFIX; + + if (\is_string($value) && str_starts_with($value, $prefix)) { + $value = substr($value, \strlen($prefix)); + + return self::decryptByKey($key, $value); + } + + return $value; + } + + public static function decryptExportData(string $key, array $encryptedData): array + { + $decryptedData = []; + foreach ($encryptedData as $row) { + $decryptedRow = []; + + foreach ($row as $handle => $value) { + $decryptedRow[$handle] = self::decrypt($key, $value); + } + + $decryptedData[] = $decryptedRow; + } + + return $decryptedData; + } + + public static function encryptByKey(string $key, string $value): string + { + return base64_encode(\Craft::$app->getSecurity()->encryptByKey($value, $key)); + } + + public static function decryptByKey(string $key, string $value): string + { + return \Craft::$app->getSecurity()->decryptByKey(base64_decode($value), $key); + } +} diff --git a/packages/plugin/src/Models/Pro/ExportProfileModel.php b/packages/plugin/src/Models/Pro/ExportProfileModel.php index 5accd3bc6..8f4df6646 100644 --- a/packages/plugin/src/Models/Pro/ExportProfileModel.php +++ b/packages/plugin/src/Models/Pro/ExportProfileModel.php @@ -12,7 +12,6 @@ use Solspace\Freeform\Form\Form; use Solspace\Freeform\Freeform; use Solspace\Freeform\Library\Composer\Components\Properties\PaymentProperties; -use Solspace\Freeform\Library\Exceptions\FreeformException; use Solspace\Freeform\Records\StatusRecord; use yii\db\Expression; @@ -152,17 +151,14 @@ public function getFieldSettings(): array $isChecked = (bool) $item['checked']; if (is_numeric($fieldId)) { - try { - $field = $form->getLayout()->getField($fieldId); - if ($field instanceof CreditCardDetailsField) { - continue; - } - - $label = $field->getLabel(); - $storedFieldIds[] = $field->getId(); - } catch (FreeformException $e) { + $field = $form->getLayout()->getField($fieldId); + if (!$field || $field instanceof CreditCardDetailsField) { continue; } + + $label = $field->getLabel(); + + $storedFieldIds[] = $field->getId(); } $fieldSettings[$fieldId] = [ diff --git a/packages/plugin/src/Resources/js/client/client.js b/packages/plugin/src/Resources/js/client/client.js index 9bb90a3f6..9e9bba868 100644 --- a/packages/plugin/src/Resources/js/client/client.js +++ b/packages/plugin/src/Resources/js/client/client.js @@ -1 +1 @@ -!function(){var e,t,n,r={90729:function(e,t,n){"use strict";n.r(t);var r,o=n(2784);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t=n},isAtMost:function(e){var t=a.editions.tiers,n=t.indexOf(e);if(-1===n)throw new Error("Unknown edition: ".concat(e));return t.indexOf(a.editions.edition)<=n}})});t.default=a},84307:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(75831)},59071:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.queryClient=void 0;var r=n(79634);t.queryClient=new r.QueryClient({defaultOptions:{queries:{cacheTime:6e5,retry:!1,refetchOnWindowFocus:!1}}})},25201:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.AppWrapper=void 0;var i,a=o(n(55721));t.AppWrapper=a.default.div(i||(i=r([""],[""])))},85754:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(2784)),i=n(76034),a=n(21285),l=n(25201);n(90367);t.default=function(){return(0,a.useFreeformNavigation)(),o.default.createElement(l.AppWrapper,{id:"freeform-client-app"},o.default.createElement(i.Outlet,null))}},20811:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o10?"":"& > li {\n > label {\n padding-left: ".concat(10*e+20,"px;\n\n &.has-children {\n padding-left: ").concat(12*(e+1),"px;\n }\n }\n\n > ul {\n ").concat(p(e+1),"\n }\n }")};t.List=f.default.ul(i||(i=r(["\n margin: 0;\n padding: 0;\n\n ul {\n ","\n }\n"],["\n margin: 0;\n padding: 0;\n\n ul {\n ","\n }\n"])),p()),t.CheckMark=f.default.div(a||(a=r(["\n position: absolute;\n left: 8px;\n top: 7px;\n\n width: 16px;\n font-size: 18px;\n font-weight: bold;\n\n fill: ",";\n"],["\n position: absolute;\n left: 8px;\n top: 7px;\n\n width: 16px;\n font-size: 18px;\n font-weight: bold;\n\n fill: ",";\n"])),s.colors.gray500),t.LabelIcon=f.default.div(l||(l=r([""],[""]))),t.LabelContainer=f.default.div(u||(u=r(["\n display: inline-flex;\n justify-content: start;\n align-items: center;\n gap: ",";\n\n > svg {\n width: 16px;\n height: 16px;\n }\n"],["\n display: inline-flex;\n justify-content: start;\n align-items: center;\n gap: ",";\n\n > svg {\n width: 16px;\n height: 16px;\n }\n"])),s.spacings.sm),t.Label=f.default.label(c||(c=r(["\n display: block;\n padding: 5px 14px 5px 30px;\n\n user-select: none;\n\n &:hover {\n cursor: pointer;\n background-color: ",";\n color: ",";\n\n "," {\n fill: ",";\n }\n }\n\n &.has-children {\n position: relative;\n\n padding-left: 12px;\n\n text-transform: uppercase;\n font-weight: bold;\n\n font-size: 12px;\n\n color: #7d8c9d;\n fill: currentColor;\n\n > "," {\n position: relative;\n\n padding: 0 10px;\n background-color: ",";\n\n z-index: 1;\n }\n\n &:hover {\n cursor: default;\n background-color: transparent;\n }\n\n &:before {\n content: '';\n position: absolute;\n left: 0;\n right: 0;\n top: 13px;\n\n height: 1px;\n background-color: ",";\n }\n }\n"],["\n display: block;\n padding: 5px 14px 5px 30px;\n\n user-select: none;\n\n &:hover {\n cursor: pointer;\n background-color: ",";\n color: ",";\n\n "," {\n fill: ",";\n }\n }\n\n &.has-children {\n position: relative;\n\n padding-left: 12px;\n\n text-transform: uppercase;\n font-weight: bold;\n\n font-size: 12px;\n\n color: #7d8c9d;\n fill: currentColor;\n\n > "," {\n position: relative;\n\n padding: 0 10px;\n background-color: ",";\n\n z-index: 1;\n }\n\n &:hover {\n cursor: default;\n background-color: transparent;\n }\n\n &:before {\n content: '';\n position: absolute;\n left: 0;\n right: 0;\n top: 13px;\n\n height: 1px;\n background-color: ",";\n }\n }\n"])),s.colors.gray500,s.colors.white,t.CheckMark,s.colors.white,t.LabelContainer,s.colors.gray050,s.colors.gray200),t.Item=f.default.li(d||(d=r(["\n position: relative;\n\n &.focused {\n > "," {\n background-color: #cfd8e3;\n color: ",";\n\n > "," {\n fill: ",";\n }\n }\n }\n\n &.has-children {\n > "," {\n }\n }\n\n &.empty {\n > "," {\n color: ",";\n font-style: italic;\n\n &:hover {\n color: ",";\n }\n }\n\n &.focused {\n > "," {\n background-color: transparent;\n\n &:hover {\n background-color: ",";\n color: ",";\n }\n\n > "," {\n fill: transparent;\n }\n }\n }\n }\n"],["\n position: relative;\n\n &.focused {\n > "," {\n background-color: #cfd8e3;\n color: ",";\n\n > "," {\n fill: ",";\n }\n }\n }\n\n &.has-children {\n > "," {\n }\n }\n\n &.empty {\n > "," {\n color: ",";\n font-style: italic;\n\n &:hover {\n color: ",";\n }\n }\n\n &.focused {\n > "," {\n background-color: transparent;\n\n &:hover {\n background-color: ",";\n color: ",";\n }\n\n > "," {\n fill: transparent;\n }\n }\n }\n }\n"])),t.Label,s.colors.gray700,t.CheckMark,s.colors.gray700,t.Label,t.Label,s.colors.gray300,s.colors.white,t.Label,s.colors.gray500,s.colors.white,t.CheckMark)},29466:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Options=void 0;var l=i(n(2784)),u=a(n(26457)),c=a(n(90729)),d=n(41187);t.Options=function(e){var n=e.value,r=e.options,o=e.query,i=e.focusIndex,a=e.onChange,s=(0,l.useRef)([]);return(0,l.useEffect)((function(){s.current[i]&&s.current[i].scrollIntoView({behavior:"smooth",block:"nearest"})}),[i]),l.default.createElement(d.List,null,r&&r.map((function(e,r){var f,p,v;return"value"in e&&(f=e.value,p=e.shadowIndex),"children"in e&&(v=e.children),l.default.createElement(d.Item,{ref:function(e){void 0!==p&&(s.current[p]=e)},onClick:function(e){e.stopPropagation(),void 0!==f&&a&&a(f)},key:r,className:(0,u.default)(void 0!==v&&"has-children",f===n&&"selected",""===f&&"empty",p===i&&"focused")},l.default.createElement(d.Label,{className:(0,u.default)(void 0!==v&&"has-children")},!v&&n===f&&l.default.createElement(d.CheckMark,null,l.default.createElement(c.default,null)),l.default.createElement(d.LabelContainer,null,e.icon&&e.icon,e.label)),v&&l.default.createElement(t.Options,{options:v,value:n,query:o,focusIndex:i,onChange:a}))})))}},47022:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DropdownWrapper=t.CloseButton=t.DropdownRollout=t.SpinnerWrapper=t.CurrentValue=t.ListWrapper=t.Search=void 0;var i,a,l,u,c,d,s,f=n(79066),p=n(80159),v=n(51362),m=o(n(55721));t.Search=m.default.input(i||(i=r(["\n width: 100%;\n padding: 7px 30px 7px 10px;\n\n border-bottom: 1px solid ",";\n\n &:focus,\n &:active,\n &:hover {\n box-shadow: none;\n outline: none;\n }\n"],["\n width: 100%;\n padding: 7px 30px 7px 10px;\n\n border-bottom: 1px solid ",";\n\n &:focus,\n &:active,\n &:hover {\n box-shadow: none;\n outline: none;\n }\n"])),v.colors.hairline),t.ListWrapper=m.default.div(a||(a=r(["\n max-height: 300px;\n overflow-x: hidden;\n overflow-y: auto;\n\n ",";\n"],["\n max-height: 300px;\n overflow-x: hidden;\n overflow-y: auto;\n\n ",";\n"])),p.scrollBar),t.CurrentValue=m.default.div(l||(l=r(["\n cursor: pointer;\n position: relative;\n\n display: flex;\n justify-content: start;\n gap: ",";\n\n background-color: #dfe5ec;\n border-radius: ",";\n\n padding: 7px 22px 7px 10px;\n\n > span {\n min-height: 20px;\n }\n\n &:hover {\n box-shadow: var(--focus-ring);\n outline-color: transparent;\n }\n\n &:after {\n content: '';\n position: absolute;\n top: calc(50% - 5px);\n right: 9px;\n\n display: block;\n width: 7px;\n height: 7px;\n\n opacity: 0.8;\n border: solid;\n border-width: 0 2px 2px 0;\n\n font-size: 0;\n\n transform: rotate(45deg);\n\n user-select: none;\n pointer-events: none;\n }\n"],["\n cursor: pointer;\n position: relative;\n\n display: flex;\n justify-content: start;\n gap: ",";\n\n background-color: #dfe5ec;\n border-radius: ",";\n\n padding: 7px 22px 7px 10px;\n\n > span {\n min-height: 20px;\n }\n\n &:hover {\n box-shadow: var(--focus-ring);\n outline-color: transparent;\n }\n\n &:after {\n content: '';\n position: absolute;\n top: calc(50% - 5px);\n right: 9px;\n\n display: block;\n width: 7px;\n height: 7px;\n\n opacity: 0.8;\n border: solid;\n border-width: 0 2px 2px 0;\n\n font-size: 0;\n\n transform: rotate(45deg);\n\n user-select: none;\n pointer-events: none;\n }\n"])),v.spacings.sm,v.borderRadius.lg),t.SpinnerWrapper=m.default.div(u||(u=r(["\n > svg {\n fill: currentColor;\n width: 20px;\n height: 20px;\n }\n"],["\n > svg {\n fill: currentColor;\n width: 20px;\n height: 20px;\n }\n"]))),t.DropdownRollout=(0,m.default)(f.animated.div)(c||(c=r(["\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n\n background-color: ",";\n border-radius: ",";\n box-shadow: ",";\n\n overflow: hidden;\n"],["\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n\n background-color: ",";\n border-radius: ",";\n box-shadow: ",";\n\n overflow: hidden;\n"])),v.colors.gray050,v.borderRadius.lg,v.shadows.container),t.CloseButton=m.default.button(d||(d=r(["\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n\n display: flex;\n justify-content: center;\n align-items: center;\n\n width: 30px;\n height: 34px;\n\n cursor: pointer;\n\n &:hover {\n background-color: ",";\n }\n"],["\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n\n display: flex;\n justify-content: center;\n align-items: center;\n\n width: 30px;\n height: 34px;\n\n cursor: pointer;\n\n &:hover {\n background-color: ",";\n }\n"])),v.colors.gray050),t.DropdownWrapper=m.default.div(s||(s=r(["\n position: relative;\n\n &.open {\n "," {\n display: block;\n }\n\n "," {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n\n &:hover {\n box-shadow: none;\n outline-color: transparent;\n }\n }\n }\n"],["\n position: relative;\n\n &.open {\n "," {\n display: block;\n }\n\n "," {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n\n &:hover {\n box-shadow: none;\n outline-color: transparent;\n }\n }\n }\n"])),t.DropdownRollout,t.CurrentValue)},4500:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Dropdown=void 0;var l=i(n(2784)),u=n(11863),c=a(n(81606)),d=n(31070),s=n(9726),f=n(22920),p=a(n(26457)),v=n(13596),m=a(n(75456)),h=n(71408),g=n(29466),b=n(47022);t.Dropdown=function(e){var t=e.emptyOption,n=e.value,r=e.options,o=e.onChange,i=e.loading,a=void 0!==i&&i,y=(0,l.useState)(!1),_=y[0],x=y[1],w=(0,l.useState)(""),O=w[0],E=w[1],P=(0,l.useState)(0),j=P[0],M=P[1],k=(0,l.useRef)(null),C=(0,l.useRef)(null),S=(0,s.useClickOutside)({callback:function(){return x(!1)},isEnabled:_,excludeClassNames:["dropdown-rollout"]}),D=(0,u.useEditorAnimations)({wrapper:S.current,editor:C.current,isEditing:_}).editorAnimation,F=(0,l.useCallback)((function(){a||x(!_)}),[a,_]),T=(0,h.useFilteredOptions)(r,O,t),L=T[0],R=T[1],A=(0,l.useMemo)((function(){return(0,h.findLabelByValue)(r,n)||t}),[r,n,a]),B=(0,l.useMemo)((function(){return(0,h.findShadowIndexByValue)(L,n)}),[r,n,a]);(0,d.useEscapeStack)((function(){return x(!1)}),_),(0,f.useOnKeypress)({meetsCondition:_,type:"keydown",callback:function(e){"ArrowDown"===e.key&&j0&&M((function(e){return e-1}))}},[j,R]),(0,f.useOnKeypress)({meetsCondition:_,type:"keyup",callback:function(e){if("Enter"===e.key){var t=(0,h.findValueByShadowIndex)(L,j);o&&o(t),x(!1)}}},[L,j]),(0,l.useEffect)((function(){a&&_&&x(!1)}),[a]),(0,l.useEffect)((function(){var e;_?(null===(e=k.current)||void 0===e||e.focus(),M(B||0)):E("")}),[_,O]);var W=(0,l.useCallback)((function(e){o&&o(e),x(!1)}),[o]);return l.default.createElement(b.DropdownWrapper,{ref:S,className:(0,p.default)(_&&"open"),onClick:F},l.default.createElement(b.CurrentValue,{className:(0,p.default)(a&&"disabled")},l.default.createElement("span",null,A),a&&l.default.createElement(b.SpinnerWrapper,null,l.default.createElement(c.default,null))),l.default.createElement(v.PopUpPortal,null,_&&l.default.createElement(b.DropdownRollout,{className:"dropdown-rollout",ref:C,style:D},l.default.createElement(b.CloseButton,null,l.default.createElement(m.default,null)),l.default.createElement(b.Search,{placeholder:"Search...",ref:k,value:O,onClick:function(e){return e.stopPropagation()},onKeyDown:function(e){"Escape"===e.key&&(e.preventDefault(),x(!1)),["ArrowUp","ArrowDown"].includes(e.key)&&e.preventDefault()},onChange:function(e){return E(e.target.value)}}),l.default.createElement(b.ListWrapper,null,l.default.createElement(g.Options,{options:L,value:n,focusIndex:j,onChange:W})))))}},39384:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.HelpText=void 0;var i,a=o(n(2784)),l=n(51362),u=o(n(55721)).default.div(i||(i=r(["\n font-style: italic;\n font-size: 12px;\n line-height: 18px;\n padding-top: 6px;\n color: ",";\n"],["\n font-style: italic;\n font-size: 12px;\n line-height: 18px;\n padding-top: 6px;\n color: ",";\n"])),l.colors.gray300);t.HelpText=function(e){var t=e.children;return a.default.createElement(u,null,t)}},13596:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PopUpPortal=void 0;var r=n(28316),o=n(53084);t.PopUpPortal=function(e){var t=e.children,n=(0,o.usePortal)().element;return n?(0,r.createPortal)(t,n):null}},65631:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useRemoveAnimation=void 0;var r=n(79066),o=n(51362);t.useRemoveAnimation=function(e){var t=e.active,n=e.hovering;return(0,r.useSpring)({opacity:t?1:0,background:n?o.colors.error:"transparent",fill:n?"#fff":o.colors.gray300,scale:n?1.2:1,rotate:t?0:30,config:function(e){switch(e){case"background":case"color":return{tension:330,friction:20};default:return{tension:330,friction:15}}}})}},6403:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.RemoveButtonWrapper=void 0;var i,a=n(79066),l=o(n(55721));t.RemoveButtonWrapper=(0,l.default)(a.animated.button)(i||(i=r(["\n display: flex;\n justify-content: center;\n align-items: center;\n\n width: 20px;\n height: 20px;\n\n font-size: 16px;\n\n border-radius: 50%;\n padding: 3px;\n\n svg {\n color: currentColor;\n }\n"],["\n display: flex;\n justify-content: center;\n align-items: center;\n\n width: 20px;\n height: 20px;\n\n font-size: 16px;\n\n border-radius: 50%;\n padding: 3px;\n\n svg {\n color: currentColor;\n }\n"])))},54509:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.RemoveButton=void 0;var l=i(n(2784)),u=n(23934),c=a(n(83247)),d=n(65631),s=n(6403);t.RemoveButton=function(e){var t=e.active,n=e.onClick,r=(0,l.useRef)(null),o=(0,u.useHover)(r),i=(0,d.useRemoveAnimation)({active:t,hovering:o});return l.default.createElement(s.RemoveButtonWrapper,{ref:r,style:i,onClick:function(e){e.stopPropagation(),n&&n()}},l.default.createElement(c.default,null))}},63005:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.EmptyBlockWrapper=t.Subtitle=t.Title=t.Icon=void 0;var i,a,l,u,c=n(51362),d=o(n(55721));t.Icon=d.default.div(i||(i=r(["\n font-size: 20rem;\n margin: 0 0 1.5rem;\n"],["\n font-size: 20rem;\n margin: 0 0 1.5rem;\n"]))),t.Title=d.default.h2(a||(a=r(["\n margin: 0;\n padding: 0;\n\n font-size: 2.8rem;\n color: ",";\n"],["\n margin: 0;\n padding: 0;\n\n font-size: 2.8rem;\n color: ",";\n"])),c.colors.gray500),t.Subtitle=d.default.p(l||(l=r(["\n margin: 0;\n padding: 0;\n\n font-size: 1rem;\n color: ",";\n\n &:not(:last-child) {\n padding-bottom: 1.5rem;\n }\n"],["\n margin: 0;\n padding: 0;\n\n font-size: 1rem;\n color: ",";\n\n &:not(:last-child) {\n padding-bottom: 1.5rem;\n }\n"])),c.colors.gray300),t.EmptyBlockWrapper=d.default.div(u||(u=r(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: 5px;\n\n height: 100%;\n\n > * {\n position: relative;\n top: -40px;\n }\n"],["\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: 5px;\n\n height: 100%;\n\n > * {\n position: relative;\n top: -40px;\n }\n"])))},19002:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.EmptyBlock=void 0;var o=r(n(2784)),i=n(63005);t.EmptyBlock=function(e){var t=e.title,n=e.subtitle,r=e.icon,a=e.children;return o.default.createElement(i.EmptyBlockWrapper,null,r&&o.default.createElement(i.Icon,null,r),t&&o.default.createElement(i.Title,null,t),n&&o.default.createElement(i.Subtitle,null,n),a)}},12830:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ApiErrorsBlock=void 0;var o=r(n(2784));t.ApiErrorsBlock=function(e){var t,n,r=e.category,i=e.handle,a=null===(n=null===(t=e.error.errors)||void 0===t?void 0:t[r])||void 0===n?void 0:n[i];return a?o.default.createElement("ul",{className:"errors"},a.map((function(e,t){return o.default.createElement("li",{key:t},o.default.createElement("span",{className:"visually-hidden"},"Error:"),e)}))):null}},90163:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorBoundary=void 0;var a=i(n(2784)),l=function(e){function t(t){var n=e.call(this,t)||this;return n.state={hasError:!1},n}return o(t,e),t.getDerivedStateFromError=function(){return{hasError:!0}},t.prototype.componentDidCatch=function(e,t){console.error(e,t)},t.prototype.render=function(){return this.state.hasError?a.default.createElement("div",null,this.props.message):this.props.children},t}(a.default.Component);t.ErrorBoundary=l},79857:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.useRenderContext=t.RenderContextProvider=void 0;var a=n(2784),l=i(n(2784)),u=(0,l.createContext)({size:"normal"});t.RenderContextProvider=function(e){var t=e.size,n=e.children;return l.default.createElement(u.Provider,{value:{size:null!=t?t:"normal"}},n)};t.useRenderContext=function(){return(0,a.useContext)(u)}},42954:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.AttributeContainer=t.AttributeTabContent=t.AttributeTypeTabs=t.AttributeEditorWrapper=void 0;var i,a,l,u,c=n(64316),d=n(51362),s=o(n(55721)),f=n(10042);t.AttributeEditorWrapper=(0,s.default)(f.PreviewEditor)(i||(i=r(["\n gap: 0;\n padding: 0;\n"],["\n gap: 0;\n padding: 0;\n"]))),t.AttributeTypeTabs=(0,s.default)(c.TabsWrapper)(a||(a=r(["\n width: 100%;\n overflow: hidden;\n align-self: flex-start;\n\n padding: "," "," 0;\n box-shadow: ",";\n"],["\n width: 100%;\n overflow: hidden;\n align-self: flex-start;\n\n padding: "," "," 0;\n box-shadow: ",";\n"])),d.spacings.md,d.spacings.md,d.shadows.bottom),t.AttributeTabContent=s.default.div(l||(l=r(["\n padding: ",";\n\n background: ",";\n"],["\n padding: ",";\n\n background: ",";\n"])),d.spacings.md,d.colors.white),t.AttributeContainer=(0,s.default)(f.PreviewEditorContainer)(u||(u=r([""],[""])))},64276:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.AttributesEditor=void 0;var l=i(n(2784)),u=n(39384),c=a(n(52179)),d=a(n(26457)),s=a(n(2072)),f=n(57143),p=n(69412),v=n(42954),m=n(54243),h=n(35934);t.AttributesEditor=function(e){var t=e.property,n=e.attributes,r=e.updateValue,o=t.tabs||[],i=(0,l.useState)(o.at(0)),a=i[0],g=i[1],b=Object.entries(n).find((function(e){return e[0]===a.handle}))||[a.handle,[]],y=b[0],_=b[1],x=(0,f.useCellNavigation)(_.length,2),w=x.activeCell,O=x.setActiveCell,E=x.setCellRef,P=x.keyPressHandler;if((0,l.useEffect)((function(){O(0,0)}),[y]),!y||!_)return null;var j=function(e,t,o){O(void 0!==o?o+1:e,t),r((0,h.addAttribute)(y,n,void 0!==o?o:_.length-1))};return l.default.createElement(v.AttributeEditorWrapper,null,l.default.createElement(v.AttributeTypeTabs,null,t.tabs&&t.tabs.map((function(e){return l.default.createElement("a",{key:e.handle,className:(0,d.default)(e===a&&"active"),onClick:function(){return g(e)}},e.label)}))),l.default.createElement(v.AttributeTabContent,null,l.default.createElement(m.InputPreview,{tab:a,attributes:_}),l.default.createElement(v.AttributeContainer,null,l.default.createElement(p.TabularOptions,null,l.default.createElement("tbody",null,!_.length&&l.default.createElement(p.Row,null,l.default.createElement(p.Cell,null,l.default.createElement(p.Input,{type:"text",placeholder:(0,s.default)("Attribute"),onFocus:function(){j(0,0)}})),l.default.createElement(p.Cell,null,l.default.createElement(p.Input,{type:"text",placeholder:(0,s.default)("Value"),onFocus:function(){j(0,1)}}))),_.map((function(e,t){var o=e[0],i=e[1];return l.default.createElement(p.Row,{key:t},l.default.createElement(p.Cell,null,l.default.createElement(p.Input,{type:"text",value:String(o),placeholder:(0,s.default)("Attribute"),autoFocus:w==="".concat(t,":0"),ref:function(e){return E(e,t,0)},onFocus:function(){return O(t,0)},onKeyDown:P({onEnter:function(e){j(e.shiftKey?t:_.length,0,e.shiftKey?t:void 0)}}),onChange:function(e){r((0,h.updateAttribute)(t,y,[e.target.value,i],n))}})),l.default.createElement(p.Cell,null,l.default.createElement(p.Input,{type:"text",value:String(i),placeholder:(0,s.default)("Value"),autoFocus:w==="".concat(t,":1"),ref:function(e){return E(e,t,1)},onFocus:function(){return O(t,1)},onKeyDown:P({onEnter:function(e){j(e.shiftKey?t:_.length,1,e.shiftKey?t:void 0)}}),onChange:function(e){r((0,h.updateAttribute)(t,y,[o,e.target.value],n))}})),l.default.createElement(p.Cell,{$tiny:!0},l.default.createElement(p.Button,{tabIndex:-1,onClick:function(){r((0,h.deleteAttribute)(t,y,n)),O(Math.max(t-1,0),0)}},l.default.createElement(c.default,null))))}))))),l.default.createElement("br",null),l.default.createElement(u.HelpText,null,l.default.createElement("span",{dangerouslySetInnerHTML:{__html:(0,s.default)("Press enter while editing a cell to add a new row.")}}))))}},37562:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Value=t.Quote=t.Operator=t.Name=t.CodeBlock=void 0;var i,a,l,u,c,d=n(51362),s=o(n(55721));t.CodeBlock=s.default.div(i||(i=r(["\n position: relative;\n\n padding: "," ",";\n\n font-family: monospace;\n\n background: ",";\n border: 1px solid ",";\n border-bottom: none;\n border-radius: "," "," 0 0;\n"],["\n position: relative;\n\n padding: "," ",";\n\n font-family: monospace;\n\n background: ",";\n border: 1px solid ",";\n border-bottom: none;\n border-radius: "," "," 0 0;\n"])),d.spacings.sm,d.spacings.md,d.colors.gray050,d.colors.hairline,d.borderRadius.lg,d.borderRadius.lg),t.Name=s.default.span(a||(a=r(["\n color: ",";\n"],["\n color: ",";\n"])),d.colors.teal700),t.Operator=s.default.span(l||(l=r(["\n color: ",";\n"],["\n color: ",";\n"])),d.colors.gray300),t.Quote=s.default.span(u||(u=r(["\n &:before {\n content: '\"';\n color: ",";\n }\n"],["\n &:before {\n content: '\"';\n color: ",";\n }\n"])),d.colors.gray300),t.Value=s.default.span(c||(c=r(["\n color: ",";\n"],["\n color: ",";\n"])),d.colors.red300)},54243:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.InputPreview=void 0;var o=r(n(2784)),i=n(37562),a=n(35934);t.InputPreview=function(e){var t=e.tab,n=e.attributes;return o.default.createElement(i.CodeBlock,null,"<",t.previewTag,(0,a.attributesToArray)(n).map((function(e,t){var n=e[0],r=e[1];return o.default.createElement("span",{key:t},o.default.createElement(i.Name,null," ",n),!!r&&o.default.createElement(o.default.Fragment,null,o.default.createElement(i.Operator,null,"="),o.default.createElement(i.Quote,null),o.default.createElement(i.Value,null,r),o.default.createElement(i.Quote,null)))}))," />")}},35934:function(e,t){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n svg {\n width: 100%;\n height: 100%;\n\n color: ",";\n }\n"],["\n position: absolute;\n top: 0;\n right: -25px;\n\n opacity: 0;\n\n width: 20px;\n height: 20px;\n\n > svg {\n width: 100%;\n height: 100%;\n\n color: ",";\n }\n"])),d.colors.gray400),t.RemoveButton=(0,s.default)(c.animated.button)(l||(l=r(["\n position: absolute;\n top: 0;\n right: -50px;\n\n opacity: 0;\n\n width: 20px;\n height: 20px;\n\n > svg {\n width: 100%;\n height: 100%;\n\n color: ",";\n }\n"],["\n position: absolute;\n top: 0;\n right: -50px;\n\n opacity: 0;\n\n width: 20px;\n height: 20px;\n\n > svg {\n width: 100%;\n height: 100%;\n\n color: ",";\n }\n"])),d.colors.gray400),t.LabelElement=(0,s.default)(c.animated.h1)(u||(u=r(["\n cursor: pointer;\n\n min-height: 10px;\n\n margin: 0 0 0 -8px;\n padding: "," 40px "," ",";\n\n border: 0;\n border-radius: ",";\n\n > span {\n position: relative;\n display: inline-block;\n\n > span:empty:after {\n content: 'No Title';\n\n color: ",";\n font-style: italic;\n }\n }\n"],["\n cursor: pointer;\n\n min-height: 10px;\n\n margin: 0 0 0 -8px;\n padding: "," 40px "," ",";\n\n border: 0;\n border-radius: ",";\n\n > span {\n position: relative;\n display: inline-block;\n\n > span:empty:after {\n content: 'No Title';\n\n color: ",";\n font-style: italic;\n }\n }\n"])),d.spacings.sm,d.spacings.sm,d.spacings.sm,d.borderRadius.lg,d.colors.gray300)},9061:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var l=i(n(2784)),u=n(11767),c=a(n(26457)),d=a(n(71059)),s=n(88123),f=n(31175);t.default=function(e){var t=e.value,n=e.property,r=e.errors,o=e.updateValue,i=(0,l.useState)(!1),a=i[0],p=i[1],v=(0,l.useState)(!1),m=v[0],h=v[1],g=n.handle,b=(0,l.useRef)(null),y=(0,s.useLabelAnimation)(a),_=(0,s.useEditButtonAnimations)(a);return l.default.createElement(f.EditableLabelWrapper,{className:(0,c.default)((null==r?void 0:r.length)>0&&"errors")},m&&l.default.createElement("input",{id:g,ref:b,type:"text",className:"text fullwidth",value:t||"",onChange:function(e){return o(e.target.value)},onBlur:function(){return h(!1)},onKeyDown:function(e){"Enter"===e.key&&h(!1)}}),!m&&l.default.createElement(f.LabelElement,{style:y,onClick:function(){h(!0),p(!1),setTimeout((function(){var e;null===(e=b.current)||void 0===e||e.focus()}),3)},onMouseEnter:function(){return p(!0)},onMouseLeave:function(){return p(!1)}},l.default.createElement("span",null,l.default.createElement("span",null,t),l.default.createElement(f.EditButton,{style:_},l.default.createElement(d.default,null)))),l.default.createElement(u.FormErrorList,{errors:r}))}},78027:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.MaxInput=t.MinInput=t.Wrapper=void 0;var i=o(n(55721));t.Wrapper=i.default.div(a||(a=r(["\n display: flex;\n"],["\n display: flex;\n"])));var a,l,u,c,d=i.default.input(l||(l=r(["\n width: 100%;\n --focus-ring: 0;\n"],["\n width: 100%;\n --focus-ring: 0;\n"])));t.MinInput=(0,i.default)(d)(u||(u=r(["\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n"],["\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n"]))),t.MaxInput=(0,i.default)(d)(c||(c=r(["\n border-left: 0;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n"],["\n border-left: 0;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n"])))},79174:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(2784)),i=n(46425),a=n(78027);t.default=function(e){var t,n=e.value,r=e.property,l=e.errors,u=e.updateValue,c=e.context,d=n||[null,null],s=d[0],f=d[1],p=(null===(t=c.properties)||void 0===t?void 0:t.allowNegative)?null:0;return o.default.createElement(i.Control,{property:r,errors:l},o.default.createElement(a.Wrapper,null,o.default.createElement("div",null,o.default.createElement(a.MinInput,{id:"min",value:null===s?"":s,type:"number",min:p,className:"text",placeholder:"Min",onChange:function(e){var t=e.target,n=""!==t.value?Number(t.value):null;u([n,f])}})),o.default.createElement("div",null,o.default.createElement(a.MaxInput,{id:"max",value:null===f?"":f,type:"number",min:p,className:"text",placeholder:"Max",onChange:function(e){var t=e.target,n=""!==t.value?Number(t.value):null;u([s,n])}}))))}},86082:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FieldSelect=void 0;var o=r(n(2784)),i=n(4500),a=n(68991),l=r(n(2072));t.FieldSelect=function(e){var t=e.value,n=e.onChange,r=(0,a.useFieldOptionCollection)();return o.default.createElement(i.Dropdown,{options:r,emptyOption:(0,l.default)("Do not map this field"),value:t,onChange:n})}},47815:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n svg {\n fill: ",";\n\n animation: "," 2s infinite;\n transform-origin: 50% 50%;\n }\n"],["\n position: absolute;\n top: 0;\n right: 0;\n\n font-size: 16px;\n\n &[disabled] > svg {\n fill: ",";\n\n animation: "," 2s infinite;\n transform-origin: 50% 50%;\n }\n"])),l.colors.gray300,i.animations.spinner),t.MappingWrapper=u.default.div(d||(d=r(["\n display: grid;\n align-items: center;\n gap: ",";\n\n grid-template-columns: 1.5fr min-content 1fr;\n\n padding: 2px 0;\n\n > div:first-child {\n flex-grow: 1;\n }\n\n > div:last-child {\n flex-basis: 300px;\n }\n"],["\n display: grid;\n align-items: center;\n gap: ",";\n\n grid-template-columns: 1.5fr min-content 1fr;\n\n padding: 2px 0;\n\n > div:first-child {\n flex-grow: 1;\n }\n\n > div:last-child {\n flex-basis: 300px;\n }\n"])),l.spacings.sm),t.MappingContainer=u.default.div(s||(s=r(["\n max-width: 1000px;\n max-height: 454px;\n\n overflow-y: auto;\n overflow-x: hidden;\n\n border: 1px solid rgb(205 216 228 / 50%);\n border-radius: 5px;\n\n padding: "," ",";\n\n ",";\n"],["\n max-width: 1000px;\n max-height: 454px;\n\n overflow-y: auto;\n overflow-x: hidden;\n\n border: 1px solid rgb(205 216 228 / 50%);\n border-radius: 5px;\n\n padding: "," ",";\n\n ",";\n"])),l.spacings.sm,l.spacings.lg,a.scrollBar),t.SourceField=u.default.div(f||(f=r(["\n position: relative;\n\n &:after {\n content: '';\n position: absolute;\n left: 0;\n right: 0;\n top: 50%;\n\n display: block;\n\n width: 100%;\n height: 1px;\n\n background-color: ",";\n }\n\n > span {\n position: relative;\n z-index: 2;\n\n display: block;\n padding: 0 10px 0 0;\n width: fit-content;\n\n background-color: white;\n }\n\n &.required > span {\n &:after {\n content: '*';\n position: relative;\n right: -2px;\n\n color: ",";\n }\n }\n"],["\n position: relative;\n\n &:after {\n content: '';\n position: absolute;\n left: 0;\n right: 0;\n top: 50%;\n\n display: block;\n\n width: 100%;\n height: 1px;\n\n background-color: ",";\n }\n\n > span {\n position: relative;\n z-index: 2;\n\n display: block;\n padding: 0 10px 0 0;\n width: fit-content;\n\n background-color: white;\n }\n\n &.required > span {\n &:after {\n content: '*';\n position: relative;\n right: -2px;\n\n color: ",";\n }\n }\n"])),l.colors.gray100,l.colors.error),t.TypeButtonGroup=u.default.div(p||(p=r(["\n display: flex;\n"],["\n display: flex;\n"])));var c,d,s,f,p,v,m="8px";t.TypeButton=u.default.button(v||(v=r(["\n display: flex;\n justify-content: center;\n align-items: center;\n\n width: 34px;\n height: 28px;\n\n fill: ",";\n background-color: ",";\n\n &.active {\n fill: ",";\n background-color: ",";\n }\n\n &:first-child {\n border-top-left-radius: ",";\n border-bottom-left-radius: ",";\n }\n\n &:last-child {\n border-top-right-radius: ",";\n border-bottom-right-radius: ",";\n }\n\n svg {\n width: 16px;\n height: 16px;\n }\n"],["\n display: flex;\n justify-content: center;\n align-items: center;\n\n width: 34px;\n height: 28px;\n\n fill: ",";\n background-color: ",";\n\n &.active {\n fill: ",";\n background-color: ",";\n }\n\n &:first-child {\n border-top-left-radius: ",";\n border-bottom-left-radius: ",";\n }\n\n &:last-child {\n border-top-right-radius: ",";\n border-bottom-right-radius: ",";\n }\n\n svg {\n width: 16px;\n height: 16px;\n }\n"])),l.colors.gray550,l.colors.elements.dropdown,l.colors.gray050,l.colors.gray550,m,m,m,m)},49719:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(2784)),i=r(n(76257)),a=n(46425),l=n(79634),u=r(n(60014)),c=r(n(78376)),d=n(47815),s=n(37774),f=n(4562);t.default=function(e){var t=e.value,n=void 0===t?{}:t,r=e.property,p=e.errors,v=e.updateValue,m=e.context,h={};r.parameterFields&&Object.entries(r.parameterFields).forEach((function(e){var t=e[0],n=e[1];h[n]=(0,f.extractParameter)(m,t)}));var g=(0,l.useQuery)(["field-mapping",r.source,h],(function(){return u.default.get(r.source,{params:h}).then((function(e){return e.data}))}),{staleTime:1/0,cacheTime:1/0}),b=g.data,y=g.isFetching,_=g.refetch;return o.default.createElement(a.Control,{property:r,errors:p},o.default.createElement(s.RefreshButton,{className:"btn",disabled:y,onClick:function(){h.refresh="true",_(),delete h.refresh}},o.default.createElement(c.default,null)),b&&o.default.createElement(d.FieldMappingController,{sources:b,mapping:n,updateValue:v}),!b&&y&&o.default.createElement("div",null,o.default.createElement(i.default,{width:"40%"}),o.default.createElement(i.default,{width:"35%"}),o.default.createElement(i.default,{width:"42%"})))}},4562:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extractParameter=void 0;t.extractParameter=function(e,t){for(var n=e,r=0,o=t.split(".");r svg {\n position: absolute;\n left: 0;\n top: 2px;\n\n width: 18px;\n height: 18px;\n }\n"],["\n position: relative;\n\n padding: 0 0 0 24px;\n\n font-size: 12px;\n color: ",";\n\n max-lines: 1;\n max-height: 60px;\n overflow: hidden;\n\n > svg {\n position: absolute;\n left: 0;\n top: 2px;\n\n width: 18px;\n height: 18px;\n }\n"])),d.colors.gray300),t.Id=s.default.div(u||(u=r(["\n padding: 2px 0 1px;\n font-size: 10px !important;\n color: ",";\n"],["\n padding: 2px 0 1px;\n font-size: 10px !important;\n color: ",";\n"])),d.colors.gray300)},74292:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useSelectionAnimations=t.useEditorAnimations=void 0;var r=n(79066);t.useEditorAnimations=function(e,t){var n=210;return t>6?n=360:t>3&&(n=280),(0,r.useSpring)({height:e?n:36,config:{tension:500,friction:e?26:40}})};t.useSelectionAnimations=function(e){return(0,r.useSpring)({opacity:e?1:0,overflowY:e?"auto":"hidden",config:{tension:500}})}},26163:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useNotificationTemplates=void 0;var r=n(74740);t.useNotificationTemplates=function(e){var t,n,o,i=(0,r.useQueryNotificationTemplates)(),a=i.data,l=i.isFetching,u=(null==a?void 0:a.templates)||{database:[],files:[]},c="string"==typeof e;return"number"==typeof e?o=null===(t=null==u?void 0:u.database)||void 0===t?void 0:t.find((function(t){return t.id===e})):c&&(o=null===(n=null==u?void 0:u.files)||void 0===n?void 0:n.find((function(t){return t.id===e}))),{templates:u,isFetching:l,selectedTemplate:o}}},4002:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Button=t.ButtonRow=t.CategorySelectionWrapper=t.SelectedNotification=t.NotificationTemplateSelector=void 0;var i,a,l,u,c,d=n(79066),s=n(80159),f=n(51362),p=o(n(55721));t.NotificationTemplateSelector=(0,p.default)(d.animated.div)(i||(i=r(["\n display: flex;\n flex-direction: column;\n gap: 0;\n\n padding: 0;\n\n border: 1px solid ",";\n border-radius: ",";\n\n overflow: hidden;\n"],["\n display: flex;\n flex-direction: column;\n gap: 0;\n\n padding: 0;\n\n border: 1px solid ",";\n border-radius: ",";\n\n overflow: hidden;\n"])),f.colors.inputBorder,f.borderRadius.lg),t.SelectedNotification=p.default.div(a||(a=r(["\n position: relative;\n cursor: pointer;\n\n height: 36px;\n\n flex: 1 0 36px;\n padding: 7px 12px;\n\n overflow: hidden;\n background-color: var(--ui-control-bg-color);\n\n &:hover {\n background-color: var(--ui-control-hover-bg-color);\n }\n\n ","\n\n > span {\n &:empty {\n &:after {\n content: 'Please select...';\n color: ",";\n }\n }\n }\n\n > svg {\n position: absolute;\n right: 6px;\n top: calc(50% - 7px);\n\n display: block;\n width: 14px;\n height: 14px;\n stroke-width: 3px;\n fill: #e5e7eb;\n transition: transform 0.2s ease-in-out;\n }\n\n &.open {\n > svg {\n transform: rotate(-90deg);\n }\n }\n"],["\n position: relative;\n cursor: pointer;\n\n height: 36px;\n\n flex: 1 0 36px;\n padding: 7px 12px;\n\n overflow: hidden;\n background-color: var(--ui-control-bg-color);\n\n &:hover {\n background-color: var(--ui-control-hover-bg-color);\n }\n\n ","\n\n > span {\n &:empty {\n &:after {\n content: 'Please select...';\n color: ",";\n }\n }\n }\n\n > svg {\n position: absolute;\n right: 6px;\n top: calc(50% - 7px);\n\n display: block;\n width: 14px;\n height: 14px;\n stroke-width: 3px;\n fill: #e5e7eb;\n transition: transform 0.2s ease-in-out;\n }\n\n &.open {\n > svg {\n transform: rotate(-90deg);\n }\n }\n"])),(function(e){return e.empty&&"\n color: ".concat(f.colors.gray300,";\n font-style: italic;\n ")}),f.colors.gray600),t.CategorySelectionWrapper=(0,p.default)(d.animated.div)(l||(l=r(["\n display: flex;\n flex-direction: column;\n gap: ",";\n\n height: 100%;\n padding: "," "," "," ",";\n\n border-top: 1px solid ",";\n overflow-y: auto;\n overflow-x: hidden;\n\n ",";\n"],["\n display: flex;\n flex-direction: column;\n gap: ",";\n\n height: 100%;\n padding: "," "," "," ",";\n\n border-top: 1px solid ",";\n overflow-y: auto;\n overflow-x: hidden;\n\n ",";\n"])),f.spacings.lg,f.spacings.sm,f.spacings.lg,f.spacings.sm,f.spacings.sm,f.colors.inputBorder,s.scrollBar),t.ButtonRow=(0,p.default)(d.animated.div)(u||(u=r(["\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: start;\n gap: ",";\n\n border-top: 1px solid ",";\n\n padding: ",";\n background-color: ",";\n"],["\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: start;\n gap: ",";\n\n border-top: 1px solid ",";\n\n padding: ",";\n background-color: ",";\n"])),f.spacings.sm,f.colors.inputBorder,f.spacings.sm,f.colors.gray100),t.Button=p.default.button(c||(c=r(["\n padding-top: 2px;\n padding-bottom: 3px;\n background-color: var(--ui-control-bg-color);\n\n &:hover {\n background-color: var(--ui-control-hover-bg-color);\n }\n\n &.submit {\n margin-left: auto;\n }\n"],["\n padding-top: 2px;\n padding-bottom: 3px;\n background-color: var(--ui-control-bg-color);\n\n &:hover {\n background-color: var(--ui-control-hover-bg-color);\n }\n\n &.submit {\n margin-left: auto;\n }\n"])))},50352:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(2784)),i=n(46425),a=n(11767),l=n(57092),u=n(96788),c=n(51362),d=n(88863),s=r(n(26457)),f=r(n(2072)),p=n(70006),v=r(n(54224)),m=n(74292),h=n(26163),g=n(4002);t.default=function(e){var t,n,r=e.value,b=e.property,y=e.errors,_=e.updateValue,x=o.default.useState(!1),w=x[0],O=x[1],E=(0,h.useNotificationTemplates)(r),P=E.templates,j=E.isFetching,M=E.selectedTemplate,k=(0,m.useEditorAnimations)(w,(null===(t=null==P?void 0:P.database)||void 0===t?void 0:t.length)+(null===(n=null==P?void 0:P.files)||void 0===n?void 0:n.length)),C=(0,m.useSelectionAnimations)(w),S=(0,u.useNewNotificationMutation)();if(j&&!P)return o.default.createElement(i.Control,{property:b,errors:y},o.default.createElement(g.NotificationTemplateSelector,{style:{height:36}},o.default.createElement(g.SelectedNotification,{empty:!0},o.default.createElement("span",null,o.default.createElement(l.LoadingText,{spinner:!0,loading:!0,instant:!0},(0,f.default)("Loading Templates"))),o.default.createElement(v.default,null))));var D=function(e){S.reset(),_(e.id),O(!1)};return o.default.createElement(i.Control,{property:b,errors:y},o.default.createElement(g.NotificationTemplateSelector,{style:k},o.default.createElement(g.SelectedNotification,{onClick:function(){return O(!w)},className:(0,s.default)(w&&"open")},o.default.createElement("span",null,null==M?void 0:M.name),o.default.createElement(v.default,null)),o.default.createElement(g.CategorySelectionWrapper,{style:C},o.default.createElement(p.Category,{value:r,category:d.TemplateType.Database,templates:P.database,onClick:D}),o.default.createElement(p.Category,{value:r,category:d.TemplateType.File,templates:P.files,onClick:D})),o.default.createElement(g.ButtonRow,{style:{opacity:C.opacity}},o.default.createElement(g.Button,{className:(0,s.default)("btn",S.isLoading&&"disabled"),disabled:S.isLoading,onClick:function(){S.reset(),O(!1)}},(0,f.default)("Close")),o.default.createElement(g.Button,{className:(0,s.default)("btn",S.isLoading&&"disabled"),disabled:S.isLoading,onClick:function(){S.reset(),_(void 0),O(!1)}},(0,f.default)("Clear choice")),o.default.createElement(g.Button,{className:(0,s.default)("btn","submit",!S.isLoading&&"add",!S.isLoading&&"icon",S.isLoading&&"disabled"),disabled:S.isLoading,onClick:function(){return S.mutate({name:"New Template"},{onSuccess:function(e){var t=e.data;D(t)}})}},S.isLoading&&o.default.createElement(l.LoadingText,null,(0,f.default)("Creating a template")),!S.isLoading&&(0,f.default)("New template"))),S.isError&&o.default.createElement(a.FormErrorList,{style:{margin:"0 ".concat(c.spacings.sm," ").concat(c.spacings.sm)},errors:S.error.errors})))}},79335:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.BlockWrapper=void 0;var i,a=n(51362),l=o(n(55721));t.BlockWrapper=l.default.div(i||(i=r(["\n display: grid;\n align-items: center;\n gap: ",";\n\n grid-template-columns: 1.5fr 1fr 1.5fr;\n"],["\n display: grid;\n align-items: center;\n gap: ",";\n\n grid-template-columns: 1.5fr 1fr 1.5fr;\n"])),a.spacings.md)},11400:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;nenter while focusing an input to add a new set of inputs.")}})))}},36856:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.LayoutBlock=t.Button=t.ButtonGroup=t.ButtonLayoutWrapper=void 0;var i,a,l,u,c=n(51362),d=o(n(55721));t.ButtonLayoutWrapper=d.default.ul(i||(i=r(["\n display: grid;\n grid-template-columns: 1fr 1fr;\n gap: ",";\n\n margin-top: ",";\n"],["\n display: grid;\n grid-template-columns: 1fr 1fr;\n gap: ",";\n\n margin-top: ",";\n"])),c.spacings.sm,c.spacings.sm),t.ButtonGroup=d.default.div(a||(a=r(["\n display: flex;\n gap: 2px;\n"],["\n display: flex;\n gap: 2px;\n"]))),t.Button=d.default.button(l||(l=r(["\n display: block;\n padding: 3px 5px;\n\n border-radius: ",";\n font-size: 16px;\n\n &:not(.enabled) {\n opacity: 0.2;\n }\n\n &.submit {\n background-color: "," !important;\n fill: "," !important;\n }\n"],["\n display: block;\n padding: 3px 5px;\n\n border-radius: ",";\n font-size: 16px;\n\n &:not(.enabled) {\n opacity: 0.2;\n }\n\n &.submit {\n background-color: "," !important;\n fill: "," !important;\n }\n"])),c.borderRadius.md,c.colors.red500,c.colors.white),t.LayoutBlock=d.default.li(u||(u=r(["\n cursor: pointer;\n\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n padding: 3px;\n\n border: 1px solid ",";\n border-radius: ",";\n background-color: ",";\n\n transition: background-color 0.2s ease-in-out;\n\n "," {\n fill: ",";\n background: ",";\n }\n\n &.active {\n border-color: ",";\n background-color: ",";\n\n "," {\n background: ",";\n fill: ",";\n }\n }\n\n &:not(.active):hover {\n background-color: ",";\n }\n"],["\n cursor: pointer;\n\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n padding: 3px;\n\n border: 1px solid ",";\n border-radius: ",";\n background-color: ",";\n\n transition: background-color 0.2s ease-in-out;\n\n "," {\n fill: ",";\n background: ",";\n }\n\n &.active {\n border-color: ",";\n background-color: ",";\n\n "," {\n background: ",";\n fill: ",";\n }\n }\n\n &:not(.active):hover {\n background-color: ",";\n }\n"])),c.colors.gray100,c.borderRadius.md,c.colors.gray100,t.Button,c.colors.white,c.colors.gray300,c.colors.gray500,c.colors.gray500,t.Button,c.colors.white,c.colors.gray500,c.colors.gray200)},15715:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(2784)),i=n(46425),a=r(n(26457)),l=r(n(70460)),u=r(n(56346)),c=r(n(88622)),d=n(36856),s={save:o.default.createElement(u.default,null),back:o.default.createElement(l.default,null),submit:o.default.createElement(c.default,null)};t.default=function(e){var t,n,r,l,u,c,f=e.value,p=e.property,v=e.errors,m=e.updateValue,h=e.context,g=p.layouts,b={save:null===(n=null===(t=null==h?void 0:h.buttons)||void 0===t?void 0:t.save)||void 0===n?void 0:n.enabled,back:null===(l=null===(r=null==h?void 0:h.buttons)||void 0===r?void 0:r.back)||void 0===l?void 0:l.enabled,submit:null===(c=null===(u=null==h?void 0:h.buttons)||void 0===u?void 0:u.submit)||void 0===c?void 0:c.enabled};return o.default.createElement(i.Control,{property:p,errors:v},o.default.createElement(d.ButtonLayoutWrapper,null,g.map((function(e,t){return o.default.createElement(d.LayoutBlock,{key:t,onClick:function(){return m(e)},className:(0,a.default)(f===e&&"active")},e.split(" ").map((function(e,t){return o.default.createElement(d.ButtonGroup,{key:t},e.split("|").filter(Boolean).map((function(e,t){return o.default.createElement(d.Button,{className:(0,a.default)(e,(null==b?void 0:b[e])&&"enabled"),key:t},s[e])})))})))}))))}},96923:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PageButtonWrapper=void 0;var i,a=n(80286),l=o(n(55721));t.PageButtonWrapper=l.default.label(i||(i=r(["\n display: flex;\n justify-content: start;\n\n "," {\n margin-bottom: 2px;\n }\n"],["\n display: flex;\n justify-content: start;\n\n "," {\n margin-bottom: 2px;\n }\n"])),a.CheckboxWrapper)},42753:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n1&&c.default.createElement(c.default.Fragment,null,c.default.createElement(f.Cell,{$tiny:!0},c.default.createElement(s.default,{property:{label:"",handle:"".concat(u,"-check"),type:b.PropertyType.Boolean},value:a?o.includes(e.value):e.value===o,updateValue:function(){if(a){var t=o;i(t.includes(e.value)?t.filter((function(t){return t!==e.value})):l(l([],t,!0),[e.value],!1))}else i(e.value===o?"":e.value)}})),c.default.createElement(f.Cell,{$tiny:!0},c.default.createElement(f.Button,{ref:E.current[u],className:"handle"},c.default.createElement(h.default,null))),c.default.createElement(f.Cell,{$tiny:!0},c.default.createElement(f.Button,{onClick:function(){n((0,_.deleteOption)(u,t)),M(Math.max(u-1,0),0)}},c.default.createElement(m.default,null)))))}))))),c.default.createElement(d.HelpText,null,c.default.createElement("span",{dangerouslySetInnerHTML:{__html:(0,y.default)("Press enter while editing a cell to add a new row.")}})))}},53585:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n div {\n &:first-child {\n flex-grow: 1;\n }\n\n &:nth-child(2) {\n flex-shrink: 0;\n flex-basis: 100px;\n }\n }\n"],["\n display: flex;\n\n > div {\n &:first-child {\n flex-grow: 1;\n }\n\n &:nth-child(2) {\n flex-shrink: 0;\n flex-basis: 100px;\n }\n }\n"])))},89726:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CustomPreview=void 0;var o=r(n(2784)),i=n(97369),a=r(n(2072)),l=n(57482);t.CustomPreview=function(e){var t=e.value,n=t.options,r=void 0===n?[]:n,u=t.useCustomValues;return o.default.createElement(i.PreviewWrapper,{"data-edit":(0,a.default)("Click to edit data")},o.default.createElement(i.PreviewTable,null,!r.length&&o.default.createElement(i.NoContent,null,(0,a.default)("Not configured yet")),r.map((function(e,t){return o.default.createElement(l.PreviewRow,{key:t},o.default.createElement(i.PreviewData,{"data-empty":(0,a.default)("empty")},e.label),u&&o.default.createElement(i.PreviewData,{"data-empty":(0,a.default)("empty")},e.value))}))))}},1691:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(2784)),i=n(15738),a=n(33819),l=r(n(2072)),u=n(5355),c=n(53585),d=n(89726);t.default=function(e){var t=e.value,n=e.updateValue,r=e.defaultValue,s=e.updateDefaultValue,f=e.isMultiple;return o.default.createElement(o.default.Fragment,null,o.default.createElement(i.Label,null,(0,l.default)("Options")),o.default.createElement(a.PreviewableComponent,{preview:o.default.createElement(d.CustomPreview,{value:t,defaultValue:r,isMultiple:f}),onAfterEdit:function(){return n((0,c.cleanOptions)(t))},onEdit:function(){t.options.length||n((0,c.addOption)(t,0))}},o.default.createElement(u.CustomEditor,{value:t,updateValue:n,defaultValue:r,updateDefaultValue:s,isMultiple:f})))}},13866:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateDefaultValue=void 0;var r=n(69229);t.generateDefaultValue=function(e){switch(e){case r.Source.Elements:return{source:r.Source.Elements,typeClass:"",properties:{}};case r.Source.Predefined:return{source:r.Source.Predefined,typeClass:"",properties:{}};case r.Source.Custom:default:return{source:r.Source.Custom,useCustomValues:!1,options:[]}}}},78155:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.custom=t.predefined=t.elements=void 0;var o=n(39149);Object.defineProperty(t,"elements",{enumerable:!0,get:function(){return r(o).default}});var i=n(76238);Object.defineProperty(t,"predefined",{enumerable:!0,get:function(){return r(i).default}});var a=n(1691);Object.defineProperty(t,"custom",{enumerable:!0,get:function(){return r(a).default}})},23773:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SourceComponent=void 0;var a=i(n(2784)),l=n(90163),u=n(69229),c=i(n(78155));t.SourceComponent=function(e){var t=e.value,n=e.updateValue,r=e.defaultValue,o=e.updateDefaultValue,i=e.convertToCustomValues,d=e.isMultiple,s=t.source,f=void 0===s?u.Source.Custom:s,p=c[f];return void 0===p?a.default.createElement("div",null,f," not implemented..."):(p.displayName="Source <".concat(f,">"),a.default.createElement(l.ErrorBoundary,{message:"...".concat(f," not implemented")},a.default.createElement(a.Suspense,null,a.default.createElement(p,{value:t,updateValue:n,defaultValue:r,updateDefaultValue:o,convertToCustomValues:i,isMultiple:d}))))}},24658:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(2784)),i=n(4500),a=n(46425);t.default=function(e){var t=e.value,n=e.property,r=e.errors,l=e.updateValue,u=n.options,c=n.emptyOption;return o.default.createElement(a.Control,{property:n,errors:r},o.default.createElement(i.Dropdown,{value:null!=t?t:"",emptyOption:c,options:u,onChange:l}))}},60556:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(2784)),i=n(46425),a=r(n(26457));t.default=function(e){var t,n=e.value,r=e.property,l=e.errors,u=e.updateValue,c=e.autoFocus,d=r.handle;return o.default.createElement(i.Control,{property:r,errors:l},o.default.createElement("input",{id:d,type:"text",autoComplete:"off",autoFocus:c,"data-1p-ignore":!0,className:(0,a.default)("text","fullwidth",(null===(t=null==r?void 0:r.flags)||void 0===t?void 0:t.includes("code"))&&"code"),value:null!=n?n:"",placeholder:r.placeholder,onChange:function(e){return u(e.target.value)}}))}},69412:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Button=t.Select=t.Input=t.Cell=t.Row=t.TabularOptions=t.TableContainer=t.TableEditorWrapper=void 0;var i,a,l,u,c,d,s,f,p=n(51362),v=o(n(55721)),m=n(10042);t.TableEditorWrapper=(0,v.default)(m.PreviewEditor)(i||(i=r([""],[""]))),t.TableContainer=(0,v.default)(m.PreviewEditorContainer)(a||(a=r([""],[""]))),t.TabularOptions=v.default.table(l||(l=r(["\n width: 100%;\n"],["\n width: 100%;\n"]))),t.Row=v.default.tr(u||(u=r([""],[""]))),t.Cell=v.default.td(c||(c=r(["\n width: ",";\n\n padding: ",";\n\n border: 1px solid rgba(0, 0, 0, 0.1);\n\n label {\n display: none;\n }\n}\n"],["\n width: ",";\n\n padding: ",";\n\n border: 1px solid rgba(0, 0, 0, 0.1);\n\n label {\n display: none;\n }\n}\n"])),(function(e){var t=e.$tiny,n=e.$width;return t?"32px":n?"".concat(n,"px"):"auto"}),(function(e){return e.$tiny?"6px 9px !important":"0 !important"})),t.Input=v.default.input(d||(d=r(["\n width: 100%;\n height: 34px;\n\n padding: 6px 9px;\n\n background: ",";\n\n &:focus {\n box-shadow: var(--inner-focus-ring);\n }\n\n &::placeholder {\n color: ",";\n }\n"],["\n width: 100%;\n height: 34px;\n\n padding: 6px 9px;\n\n background: ",";\n\n &:focus {\n box-shadow: var(--inner-focus-ring);\n }\n\n &::placeholder {\n color: ",";\n }\n"])),p.colors.white,p.colors.gray200),t.Select=v.default.select(s||(s=r(["\n width: 100%;\n height: 34px;\n\n padding: 6px 9px;\n\n &:focus {\n box-shadow: var(--inner-focus-ring);\n }\n"],["\n width: 100%;\n height: 34px;\n\n padding: 6px 9px;\n\n &:focus {\n box-shadow: var(--inner-focus-ring);\n }\n"]))),t.Button=v.default.button(f||(f=r(["\n padding: 1px;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n\n &.handle {\n cursor: move;\n }\n\n &:disabled {\n cursor: not-allowed;\n color: lightgray;\n }\n\n > svg {\n fill: currentColor;\n }\n"],["\n padding: 1px;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n\n &.handle {\n cursor: move;\n }\n\n &:disabled {\n cursor: not-allowed;\n color: lightgray;\n }\n\n > svg {\n fill: currentColor;\n }\n"])))},42026:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n1&&u.default.createElement(u.default.Fragment,null,u.default.createElement(d.Cell,{$tiny:!0},u.default.createElement(d.Button,{ref:i.current[a],className:"handle"},u.default.createElement(m.default,null))),u.default.createElement(d.Cell,{$tiny:!0},u.default.createElement(d.Button,{onClick:function(){o((0,s.deleteColumn)(a,n)),g(Math.max(a-1,0),0)}},u.default.createElement(v.default,null)))))}))))),u.default.createElement(c.HelpText,null,u.default.createElement("span",{dangerouslySetInnerHTML:{__html:(0,h.default)("Press enter while editing a cell to add a new row.")}})))}},48807:function(e,t,n){"use strict";var r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o div {\n white-space: nowrap;\n overflow: hidden;\n\n padding: 7px "," 7px 0;\n\n &:last-child {\n padding-right: 0;\n }\n }\n"],["\n position: relative;\n\n display: grid;\n grid-template-columns: auto 100px;\n gap: 10px;\n\n justify-items: stretch;\n align-items: center;\n\n border-bottom: 1px solid ",";\n\n &:after {\n content: attr(data-title);\n\n position: absolute;\n left: calc(100% - 105px);\n bottom: -7px;\n\n padding: 0 5px;\n background: ",";\n\n ",";\n font-size: 8px;\n }\n\n > div {\n white-space: nowrap;\n overflow: hidden;\n\n padding: 7px "," 7px 0;\n\n &:last-child {\n padding-right: 0;\n }\n }\n"])),f.colors.gray100,f.colors.white,s.labelText,f.spacings.xs),t.PreviewData=p.default.div(d||(d=r(["\n &:empty {\n &:after {\n content: attr(data-empty);\n color: ",";\n font-size: 12px;\n font-style: italic;\n }\n }\n"],["\n &:empty {\n &:after {\n content: attr(data-empty);\n color: ",";\n font-size: 12px;\n font-style: italic;\n }\n }\n"])),f.colors.gray200)},98652:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TablePreview=void 0;var o=r(n(2784)),i=r(n(2072)),a=n(97369),l=function(e,t){var n;return(null===(n=e.find((function(e){return e.value===t})))||void 0===n?void 0:n.label)||t};t.TablePreview=function(e){var t=e.columnTypes,n=e.columns;return o.default.createElement(a.PreviewWrapper,{"data-edit":(0,i.default)("Click to edit data")},o.default.createElement(a.PreviewTable,null,!n.length&&o.default.createElement(a.NoContent,null,(0,i.default)("Not configured yet")),n.map((function(e,n){return o.default.createElement(a.PreviewRow,{key:n,"data-title":l(t,e.type)},o.default.createElement(a.PreviewData,{"data-empty":(0,i.default)("empty")},e.label),o.default.createElement(a.PreviewData,{"data-empty":(0,i.default)("empty")},e.value))}))))}},32346:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(2784)),i=n(46425),a=n(33819),l=n(42026),u=n(48807),c=n(98652);t.default=function(e){var t=e.value,n=e.property,r=e.errors,d=e.updateValue,s=n.options;return o.default.createElement(i.Control,{property:n,errors:r},o.default.createElement(a.PreviewableComponent,{preview:o.default.createElement(c.TablePreview,{columnTypes:s,columns:t}),onAfterEdit:function(){return d((0,u.cleanColumns)(t))},onEdit:function(){t.length||d((0,u.addColumn)(t,0))}},o.default.createElement(l.TableEditor,{columnTypes:s,columns:t,updateValue:d})))}},79250:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o1&&u.default.createElement(u.default.Fragment,null,u.default.createElement(d.Cell,{$tiny:!0},u.default.createElement(d.Button,{ref:o.current[i],className:"handle"},u.default.createElement(v.default,null))),u.default.createElement(d.Cell,{$tiny:!0},u.default.createElement(d.Button,{onClick:function(){r((0,h.deleteRow)(i,n)),g(Math.max(i-1,0),0)}},u.default.createElement(p.default,null)))))}))))),u.default.createElement(c.HelpText,null,u.default.createElement("span",{dangerouslySetInnerHTML:{__html:(0,m.default)("Press enter while editing a cell to add a new row.")}})))}},43219:function(e,t,n){"use strict";var r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o div {\n white-space: nowrap;\n overflow: hidden;\n\n padding: 7px "," 7px 0;\n\n &:last-child {\n padding-right: 0;\n }\n }\n"],["\n position: relative;\n\n display: grid;\n grid-template-columns: auto 100px;\n gap: 10px;\n\n justify-items: stretch;\n align-items: center;\n\n border-bottom: 1px solid ",";\n\n &:after {\n content: attr(data-title);\n\n position: absolute;\n left: calc(100% - 105px);\n bottom: -7px;\n\n padding: 0 5px;\n background: ",";\n\n ",";\n font-size: 8px;\n }\n\n > div {\n white-space: nowrap;\n overflow: hidden;\n\n padding: 7px "," 7px 0;\n\n &:last-child {\n padding-right: 0;\n }\n }\n"])),f.colors.gray100,f.colors.white,s.labelText,f.spacings.xs),t.PreviewData=p.default.div(d||(d=r(["\n &:empty {\n &:after {\n content: attr(data-empty);\n color: ",";\n font-size: 12px;\n font-style: italic;\n }\n }\n"],["\n &:empty {\n &:after {\n content: attr(data-empty);\n color: ",";\n font-size: 12px;\n font-style: italic;\n }\n }\n"])),f.colors.gray200)},48190:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TabularDataPreview=void 0;var o=r(n(2784)),i=r(n(2072)),a=n(49982);t.TabularDataPreview=function(e){var t=e.configuration,n=e.values;return o.default.createElement(a.PreviewWrapper,{"data-edit":(0,i.default)("Click to edit data")},o.default.createElement(a.PreviewTable,null,!n.length&&o.default.createElement(a.NoContent,null,(0,i.default)("Not configured yet")),n.map((function(e,n){return o.default.createElement(a.PreviewRow,{key:n},t.map((function(t,n){return o.default.createElement(a.PreviewData,{key:n,"data-empty":(0,i.default)("empty"),"data-title":t.label},e[n])})))}))))}},66135:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(2784)),i=n(46425),a=n(33819),l=n(79250),u=n(43219),c=n(48190);t.default=function(e){var t=e.value,n=e.property,r=e.errors,d=e.updateValue,s=n.configuration;return o.default.createElement(i.Control,{property:n,errors:r},o.default.createElement(a.PreviewableComponent,{preview:o.default.createElement(c.TabularDataPreview,{configuration:s,values:t}),onAfterEdit:function(){return d((0,u.cleanRows)(t))},onEdit:function(){t.length||d((0,u.addRow)(t,s,0))}},o.default.createElement(l.TabularDataEditor,{configuration:s,values:t,updateValue:d})))}},27542:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(2784)),i=n(46425),a=r(n(26457));t.default=function(e){var t=e.value,n=e.property,r=e.errors,l=e.updateValue,u=e.autoFocus,c=n.handle,d=n.rows;return o.default.createElement(i.Control,{property:n,errors:r},o.default.createElement("textarea",{id:c,className:(0,a.default)("text","fullwidth",n.flags.includes("code")&&"code"),rows:d,value:null!=t?t:"",placeholder:n.placeholder,autoFocus:u,onChange:function(e){return l(e.target.value)}}))}},73966:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.QuillEditorWrapper=void 0;var i,a=o(n(55721));t.QuillEditorWrapper=a.default.div(i||(i=r(["\n .ql-editor {\n min-height: 300px;\n }\n"],["\n .ql-editor {\n min-height: 300px;\n }\n"])))},6003:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.WysiwygEditor=void 0;var o=r(n(2784)),i=r(n(8617)),a=n(10042),l=n(73966);n(61632);t.WysiwygEditor=function(e){var t=e.value,n=e.updateValue;return o.default.createElement(a.PreviewEditor,null,o.default.createElement(a.PreviewContainer,null,o.default.createElement(l.QuillEditorWrapper,null,o.default.createElement(i.default,{theme:"snow",value:t,onChange:n,style:{background:"white"}}))))}},85254:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PreviewContainer=t.Pre=void 0;var i,a,l=n(51362),u=o(n(55721)),c=n(97369);t.Pre=u.default.pre(i||(i=r(["\n font-size: 10px;\n"],["\n font-size: 10px;\n"]))),t.PreviewContainer=(0,u.default)(c.PreviewTable)(a||(a=r(["\n padding: ",";\n"],["\n padding: ",";\n"])),l.spacings.sm)},87186:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.WysiwygPreview=void 0;var o=r(n(2784)),i=r(n(2072)),a=n(97369),l=n(85254);t.WysiwygPreview=function(e){var t=e.value;return o.default.createElement(a.PreviewWrapper,{"data-edit":(0,i.default)("Click to edit data")},o.default.createElement(l.PreviewContainer,null,!t&&o.default.createElement(a.NoContent,null,(0,i.default)("Not configured yet")),o.default.createElement("div",{dangerouslySetInnerHTML:{__html:t}})))}},47939:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(2784)),i=n(46425),a=n(33819),l=n(6003),u=n(87186);t.default=function(e){var t=e.value,n=e.property,r=e.errors,c=e.updateValue;return o.default.createElement(i.Control,{property:n,errors:r},o.default.createElement(a.PreviewableComponent,{preview:o.default.createElement(u.WysiwygPreview,{value:t})},o.default.createElement(l.WysiwygEditor,{value:t,updateValue:c})))}},15738:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ControlWrapper=t.FormField=t.Instructions=t.Label=void 0;var i,a,l,u,c=n(51362),d=o(n(55721));t.Label=d.default.label(i||(i=r(["\n display: block;\n\n color: ",";\n font-weight: "," !important;\n\n &.is-required {\n &:after {\n content: '*';\n padding-left: 2px;\n\n color: ",";\n }\n }\n"],["\n display: block;\n\n color: ",";\n font-weight: "," !important;\n\n &.is-required {\n &:after {\n content: '*';\n padding-left: 2px;\n\n color: ",";\n }\n }\n"])),c.colors.gray550,(function(e){return e.$regular?"normal":"bold"}),c.colors.error),t.Instructions=d.default.span(a||(a=r(["\n display: block;\n\n color: ",";\n padding-top: 0;\n line-height: 16px;\n font-size: 12px;\n font-style: italic;\n\n &:not(:last-child) {\n padding-bottom: 6px;\n }\n"],["\n display: block;\n\n color: ",";\n padding-top: 0;\n line-height: 16px;\n font-size: 12px;\n font-style: italic;\n\n &:not(:last-child) {\n padding-bottom: 6px;\n }\n"])),c.colors.gray300),t.FormField=d.default.div(l||(l=r(["\n margin: 0;\n padding: 0;\n width: 100%;\n display: block;\n\n &.disabled {\n user-select: none;\n pointer-events: none;\n opacity: 0.5;\n }\n"],["\n margin: 0;\n padding: 0;\n width: 100%;\n display: block;\n\n &.disabled {\n user-select: none;\n pointer-events: none;\n opacity: 0.5;\n }\n"]))),t.ControlWrapper=d.default.div(u||(u=r(["\n display: flex;\n position: relative;\n flex-direction: column;\n align-items: flex-start;\n justify-content: flex-start;\n\n width: ",";\n\n &.disabled {\n opacity: 0.5;\n user-select: none;\n pointer-events: none;\n }\n\n &.errors {\n "," {\n color: ",";\n }\n\n "," {\n input,\n textarea,\n select {\n border: 1px solid ",";\n }\n\n select {\n background-color: var(--ui-control-bg-color);\n\n &:hover {\n background-color: var(--ui-control-hover-bg-color);\n }\n }\n }\n }\n\n &.spacing-small {\n padding-top: 6px;\n }\n\n .btn {\n background-color: var(--ui-control-bg-color);\n\n &:hover {\n background-color: var(--ui-control-hover-bg-color);\n }\n }\n"],["\n display: flex;\n position: relative;\n flex-direction: column;\n align-items: flex-start;\n justify-content: flex-start;\n\n width: ",";\n\n &.disabled {\n opacity: 0.5;\n user-select: none;\n pointer-events: none;\n }\n\n &.errors {\n "," {\n color: ",";\n }\n\n "," {\n input,\n textarea,\n select {\n border: 1px solid ",";\n }\n\n select {\n background-color: var(--ui-control-bg-color);\n\n &:hover {\n background-color: var(--ui-control-hover-bg-color);\n }\n }\n }\n }\n\n &.spacing-small {\n padding-top: 6px;\n }\n\n .btn {\n background-color: var(--ui-control-bg-color);\n\n &:hover {\n background-color: var(--ui-control-hover-bg-color);\n }\n }\n"])),(function(e){var t=e.$width;return t?"".concat(t,"%"):"100%"}),t.Label,c.colors.error,t.FormField,c.colors.error)},46425:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Control=void 0;var o=r(n(2784)),i=n(15738),a=r(n(37033)),l=r(n(22299)),u=r(n(26457)),c=n(11767);t.Control=function(e){var t=e.children,n=e.property,r=e.errors,d=n.label,s=n.handle,f=n.required,p=n.instructions,v=n.width,m=n.disabled;return o.default.createElement(i.ControlWrapper,{className:(0,u.default)(!!r&&"errors",m&&"disabled"),$width:v},o.default.createElement(l.default,{label:d,handle:s,required:f}),o.default.createElement(a.default,{instructions:p}),o.default.createElement(i.FormField,null,t),o.default.createElement(c.FormErrorList,{errors:r}))}},9256:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DraggableRow=void 0;var l=i(n(2784)),u=n(69412),c=n(25141),d=n(76930),s=a(n(26457));t.DraggableRow=function(e){var t=e.index,n=e.dragRef,r=e.onDrop,o=e.children,i=(0,l.useRef)(null),a=(0,d.useRowDrop)(t,i,r),f=a.handlerId,p=a.drop,v=(0,c.useRowDrag)(t),m=v.isDragging,h=v.drag,g=v.preview;return h(n),p(g(i)),l.default.createElement(u.Row,{ref:i,className:(0,s.default)(m&&"dragging"),"data-handler-id":f},o)}},11767:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&v--,"ArrowDown"===o.key&&i0&&g.start&&(p=!0,m--),"ArrowRight"===o.key&&ua&&d>c||(n(l,a),r.index=a)}}}}}),[t,n]);return{handlerId:i[0].handlerId,drop:i[1]}}},86837:function(e,t,n){"use strict";var r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o")):(m.displayName="FormComponent: <".concat(p,">"),h?a.default.createElement(u.ErrorBoundary,{message:"...".concat(f," <").concat(p,">")},a.default.createElement(a.Suspense,null,a.default.createElement(m,{value:t,property:r,updateValue:n,errors:o,context:i,autoFocus:s}))):null)}},37033:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(2784)),i=n(15738);t.default=function(e){var t=e.instructions;return t?o.default.createElement(i.Instructions,null,t):null}},22299:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(2784)),i=r(n(26457)),a=n(15738);t.default=function(e){var t=e.label,n=e.handle,r=e.required;return t?o.default.createElement(a.Label,{className:(0,i.default)(r&&"is-required"),htmlFor:n},t):null}},11863:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useEditorAnimations=void 0;var r=n(2784),o=n(79066),i=n(57305);t.useEditorAnimations=function(e){var t=e.wrapper,n=e.editor,a=e.isEditing,l=(0,i.usePosition)(t,n,a),u=l.top,c=l.left,d=null==t?void 0:t.offsetWidth,s=(0,r.useState)(!1),f=s[0],p=s[1];return{editorAnimation:(0,o.useSpring)({immediate:function(e){return["top","left","width","pointerEvents","transformOrigin"].includes(e)},to:{top:u,left:c,width:d,opacity:a?1:0,transformOrigin:"top left",transform:a?"scaleY(1)":"scaleY(0.5)",pointerEvents:a?"initial":"none"},config:{tension:700,friction:40}}),isVisible:f,setVisible:p}}},57305:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.usePosition=void 0;var r=n(2784),o=n(53084),i=n(71485),a=n(92853);t.usePosition=function(e,t,n){var l=(0,o.usePortal)().dimensions,u=(0,r.useState)(0),c=u[0],d=u[1],s=(0,r.useState)(0),f=s[0],p=s[1],v=function(){var n;d((0,a.calculateTopOffset)(e,t));var r=null===(n=null==e?void 0:e.getBoundingClientRect())||void 0===n?void 0:n.left;r&&p(r-l.left)};return(0,r.useEffect)((function(){v()}),[n]),(0,r.useEffect)((function(){var e=function(){v()};if(t){var n=document.querySelector(i.SectionWrapper.toString()),r=new ResizeObserver(e);return r.observe(t),window.addEventListener("resize",e),window.addEventListener("scroll",e),null==n||n.addEventListener("scroll",e),function(){r.disconnect(),window.removeEventListener("resize",e),window.removeEventListener("scroll",e),null==n||n.addEventListener("scroll",e)}}}),[t]),{top:c,left:f}}},92853:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.calculateTopOffset=void 0;t.calculateTopOffset=function(e,t){var n=null==e?void 0:e.getBoundingClientRect().top,r=window.innerHeight,o=null==t?void 0:t.offsetHeight;return void 0===o?n:n&&o&&r?n+o>r-20?n-(n+o-r+20):n:0}},10042:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PreviewEditorContainer=t.PreviewEditor=t.PreviewContainer=t.EditableContentWrapper=t.PreviewWrapper=void 0;var i,a,l,u,c,d=n(79066),s=n(80159),f=n(51362),p=o(n(55721));t.PreviewWrapper=p.default.div(i||(i=r(["\n position: relative;\n width: 100%;\n"],["\n position: relative;\n width: 100%;\n"]))),t.EditableContentWrapper=(0,p.default)(d.animated.div)(a||(a=r(["\n position: absolute;\n left: 0;\n top: 0;\n z-index: 3;\n\n box-shadow: ",";\n\n pointer-events: none;\n\n &.active {\n pointer-events: all;\n }\n"],["\n position: absolute;\n left: 0;\n top: 0;\n z-index: 3;\n\n box-shadow: ",";\n\n pointer-events: none;\n\n &.active {\n pointer-events: all;\n }\n"])),f.shadows.panel),t.PreviewContainer=p.default.div(l||(l=r(["\n cursor: pointer;\n\n input,\n select,\n textarea {\n pointer-events: none;\n }\n"],["\n cursor: pointer;\n\n input,\n select,\n textarea {\n pointer-events: none;\n }\n"]))),t.PreviewEditor=p.default.div(u||(u=r(["\n width: 100%;\n min-width: 800px;\n\n display: flex;\n flex-direction: column;\n gap: ",";\n\n padding: ",";\n\n box-shadow: ",";\n border-radius: ",";\n background: ",";\n"],["\n width: 100%;\n min-width: 800px;\n\n display: flex;\n flex-direction: column;\n gap: ",";\n\n padding: ",";\n\n box-shadow: ",";\n border-radius: ",";\n background: ",";\n"])),f.spacings.lg,f.spacings.lg,f.shadows.box,f.borderRadius.lg,f.colors.gray050),t.PreviewEditorContainer=p.default.div(c||(c=r(["\n max-height: 600px;\n overflow-x: hidden;\n overflow-y: auto;\n\n ",";\n"],["\n max-height: 600px;\n overflow-x: hidden;\n overflow-y: auto;\n\n ",";\n"])),s.scrollBar)},33819:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0?document.body.style.overflow="hidden":document.body.style.overflow="auto"}),[r]);var l=(0,f.useAnimateOverlay)(r.length>0),m=(0,f.useAnimateModals)(r);return u.default.createElement(v.Provider,{value:{openModal:function(e){o(a(a([],r,!0),[e],!1))},closeModal:i}},t,(0,c.createPortal)(u.default.createElement(p.ModalHub,null,u.default.createElement(p.ModalOverlay,{style:l,className:(0,d.default)(!r.length&&"inactive")},m((function(e,t,n,r){return u.default.createElement(s.Modal,{key:r,closeModal:i,style:e},u.default.createElement(t,{closeModal:i}))})))),document.body))}},4679:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ModalFooter=t.ModalHeader=t.ModalContainer=t.ModalWrapper=t.ModalOverlay=t.ModalHub=void 0;var i,a,l,u,c,d,s=n(79066),f=n(51362),p=o(n(55721));t.ModalHub=p.default.div(i||(i=r([""],[""]))),t.ModalOverlay=(0,p.default)(s.animated.div)(a||(a=r(["\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n z-index: 1000;\n\n background-color: rgba(123, 135, 147, 0);\n\n &.inactive {\n pointer-events: none;\n }\n"],["\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n z-index: 1000;\n\n background-color: rgba(123, 135, 147, 0);\n\n &.inactive {\n pointer-events: none;\n }\n"]))),t.ModalWrapper=(0,p.default)(s.animated.div)(l||(l=r(["\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n z-index: 1001;\n\n display: flex;\n justify-content: center;\n align-items: center;\n"],["\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n z-index: 1001;\n\n display: flex;\n justify-content: center;\n align-items: center;\n"]))),t.ModalContainer=p.default.div(u||(u=r(["\n width: 100%;\n max-width: 500px;\n\n background-color: #fff;\n border-radius: ",";\n box-shadow: 0 25px 100px rgba(31, 41, 51, 0.5);\n"],["\n width: 100%;\n max-width: 500px;\n\n background-color: #fff;\n border-radius: ",";\n box-shadow: 0 25px 100px rgba(31, 41, 51, 0.5);\n"])),f.borderRadius.lg),t.ModalHeader=p.default.header(c||(c=r(["\n padding: "," ",";\n\n background-color: ",";\n box-shadow: inset 0 -1px 0 ",";\n\n border-radius: "," "," 0 0;\n"],["\n padding: "," ",";\n\n background-color: ",";\n box-shadow: inset 0 -1px 0 ",";\n\n border-radius: "," "," 0 0;\n"])),f.spacings.lg,f.spacings.xl,f.colors.gray100,f.colors.hairline,f.borderRadius.lg,f.borderRadius.lg),t.ModalFooter=p.default.footer(d||(d=r(["\n display: flex;\n justify-content: end;\n align-items: center;\n gap: ",";\n\n padding: "," ",";\n\n background-color: ",";\n box-shadow: inset 0 1px 0 ",";\n\n border-radius: 0 0 "," ",";\n"],["\n display: flex;\n justify-content: end;\n align-items: center;\n gap: ",";\n\n padding: "," ",";\n\n background-color: ",";\n box-shadow: inset 0 1px 0 ",";\n\n border-radius: 0 0 "," ",";\n"])),f.spacings.sm,f.spacings.sm,f.spacings.xl,f.colors.gray100,f.colors.hairline,f.borderRadius.lg,f.borderRadius.lg)},33134:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Modal=void 0;var o=r(n(2784)),i=n(31070),a=n(4679);t.Modal=function(e){var t=e.children,n=e.closeModal,r=e.style;return(0,i.useEscapeStack)(n),o.default.createElement(a.ModalWrapper,{style:r},t)}},50822:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Wrapper=void 0;var i,a=o(n(55721));t.Wrapper=a.default.div(i||(i=r(["\n color: white;\n background: red;\n border: 1px solid darkred;\n"],["\n color: white;\n background: red;\n border: 1px solid darkred;\n"])))},27562:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorBlock=void 0;var o=r(n(2784)),i=n(50822);t.ErrorBlock=function(e){var t=e.children;return o.default.createElement(i.Wrapper,null,t)}},12415:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{u(r.next(e))}catch(e){i(e)}}function l(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}u((r=r.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(u){return function(l){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,l[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&l[0]?r.return:l[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,l[1])).done)return o;switch(r=0,o&&(l=[2&l[0],o.value]),l[0]){case 0:case 1:o=l;break;case 4:return a.label++,{value:l[1],done:!1};case 5:a.label++,r=l[1],l=[0];continue;case 7:l=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==l[0]&&2!==l[0])){a=0;continue}if(3===l[0]&&(!o||l[1]>o[0]&&l[1] a {\n display: flex;\n align-items: center;\n gap: ",";\n\n padding: "," ",";\n border-radius: ",";\n\n color: ",";\n font-size: 12px;\n line-height: 12px;\n\n transition: background-color 0.2s ease-out;\n text-decoration: none;\n\n &.active {\n color: ",";\n background-color: ",";\n }\n\n &.active.inactive {\n .status-dot {\n border-color: ",";\n }\n }\n\n &:hover:not(.active) {\n background-color: ",";\n }\n }\n"],["\n > a {\n display: flex;\n align-items: center;\n gap: ",";\n\n padding: "," ",";\n border-radius: ",";\n\n color: ",";\n font-size: 12px;\n line-height: 12px;\n\n transition: background-color 0.2s ease-out;\n text-decoration: none;\n\n &.active {\n color: ",";\n background-color: ",";\n }\n\n &.active.inactive {\n .status-dot {\n border-color: ",";\n }\n }\n\n &:hover:not(.active) {\n background-color: ",";\n }\n }\n"])),c.spacings.sm,c.spacings.sm,c.spacings.md,c.borderRadius.lg,c.colors.gray700,c.colors.white,c.colors.gray500,c.colors.white,c.colors.gray200),t.Icon=d.default.div(a||(a=r(["\n display: block;\n width: 20px;\n height: 20px;\n"],["\n display: block;\n width: 20px;\n height: 20px;\n"]))),t.Name=d.default.div(l||(l=r(["\n flex-grow: 1;\n max-width: 90%;\n\n padding: 1px 0;\n\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n"],["\n flex-grow: 1;\n max-width: 90%;\n\n padding: 1px 0;\n\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n"]))),t.Status=d.default.div(u||(u=r(["\n content: '';\n\n flex-shrink: 0;\n justify-self: flex-end;\n\n width: 10px;\n height: 10px;\n\n border: 1px solid\n ",";\n border-radius: 100%;\n\n background-color: ",";\n\n transition: all 0.3s ease-out;\n"],["\n content: '';\n\n flex-shrink: 0;\n justify-self: flex-end;\n\n width: 10px;\n height: 10px;\n\n border: 1px solid\n ",";\n border-radius: 100%;\n\n background-color: ",";\n\n transition: all 0.3s ease-out;\n"])),(function(e){return e.$enabled?"transparent":c.colors.gray550}),(function(e){return e.$enabled?c.colors.teal550:"transparent"}))},70177:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Integration=void 0;var o=r(n(2784)),i=n(86993),a=n(76034),l=n(66583),u=r(n(26457)),c=r(n(83190)),d=n(87570);t.Integration=function(e){var t=e.id,n=e.name,r=e.handle,s=e.icon,f=(0,i.useSelector)(l.integrationSelectors.one(t));return f?o.default.createElement(d.Wrapper,null,o.default.createElement(a.NavLink,{to:"".concat(t,"/").concat(r),className:(0,u.default)(!f.enabled&&"inactive")},o.default.createElement(d.Icon,null,!!s&&o.default.createElement("img",{src:s}),!s&&o.default.createElement(c.default,null)),o.default.createElement(d.Name,null,n),o.default.createElement(d.Status,{$enabled:f.enabled,className:(0,u.default)("status-dot")}))):null}},40098:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Wrapper=void 0;var i,a=n(51362),l=o(n(55721));t.Wrapper=l.default.ul(i||(i=r(["\n display: flex;\n flex-direction: column;\n gap: ",";\n\n list-style: none;\n"],["\n display: flex;\n flex-direction: column;\n gap: ",";\n\n list-style: none;\n"])),a.spacings.sm)},50058:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;no?on){if(d>=t&&t>n)return-r}else if(d<=t&&t span {\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n }\n\n &.active {\n color: ",";\n border-bottom-color: ",";\n }\n\n &.errors {\n color: ",";\n\n ",";\n }\n\n &.can-drop {\n box-shadow: 0 2px 12px ",";\n transform: scale(1.1);\n z-index: 2;\n }\n\n &.is-dragging {\n z-index: 1;\n }\n\n &.is-editing {\n padding: 4px 6px;\n }\n\n &:hover {\n cursor: pointer;\n\n "," {\n opacity: 1;\n }\n }\n"],["\n display: flex;\n align-items: center;\n justify-content: center;\n\n max-width: 160px;\n height: 100%;\n padding: 10px 5px;\n margin: 0 5px;\n\n color: ",";\n border-bottom: 2px solid ",";\n\n overflow: hidden;\n\n > span {\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n }\n\n &.active {\n color: ",";\n border-bottom-color: ",";\n }\n\n &.errors {\n color: ",";\n\n ",";\n }\n\n &.can-drop {\n box-shadow: 0 2px 12px ",";\n transform: scale(1.1);\n z-index: 2;\n }\n\n &.is-dragging {\n z-index: 1;\n }\n\n &.is-editing {\n padding: 4px 6px;\n }\n\n &:hover {\n cursor: pointer;\n\n "," {\n opacity: 1;\n }\n }\n"])),f.colors.gray400,f.colors.gray100,f.colors.gray800,f.colors.blue600,f.colors.error,s.errorAlert,f.colors.gray500,t.RemoveTabButton),t.TabDrop=p.default.div(u||(u=r(["\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n z-index: 2;\n\n width: 100%;\n"],["\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n z-index: 2;\n\n width: 100%;\n"]))),t.Input=p.default.input(c||(c=r(["\n border: 0;\n padding: 0 !important;\n line-height: 1rem;\n font-size: 0.75rem;\n box-shadow: none !important;\n\n &:hover,\n &:active {\n box-shadow: none !important;\n }\n"],["\n border: 0;\n padding: 0 !important;\n line-height: 1rem;\n font-size: 0.75rem;\n box-shadow: none !important;\n\n &:hover,\n &:active {\n box-shadow: none !important;\n }\n"])))},33336:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Tab=void 0;var l=i(n(2784)),u=n(86993),c=n(36450),d=n(8697),s=n(72671),f=n(97240),p=n(60719),v=n(77209),m=n(9726),h=a(n(26457)),g=a(n(2072)),b=n(37430),y=n(36253),_=n(73680),x=n(13534),w=n(21573),O=a(n(87661));t.Tab=function(e){var t=e.page,n=e.index,r=(0,u.useSelector)(s.contextSelectors.currentPage),o=(0,u.useSelector)(p.pageSelecors.count),i=(0,c.useAppDispatch)(),a=(0,b.useDragContext)().dragType,E=(0,u.useSelector)(s.contextSelectors.hasErrors(t.uid)),P=(0,l.useRef)(null),j=(0,l.useRef)(null),M=(0,l.useState)(!1),k=M[0],C=M[1],S=(0,x.useTabDrop)(null==r?void 0:r.uid,t),D=S.canDrop,F=S.ref,T=(0,y.useTabDrag)(n,t),L=T.isDragging,R=T.ref,A=(0,x.useTabPageDrop)(P,t,n),B=A.ref,W=A.dragItemIndex,I=F(R(P)),N=(0,_.useTabDragAnimation)(P,n,W,L),z=function(){i(f.pageActions.updateLabel({uid:t.uid,label:j.current.value||t.label}))},Q=(0,m.useClickOutside)({callback:function(){z(),C(!1)},isEnabled:k});return l.default.createElement(w.TabWrapper,{ref:I,className:"page-tab"},(!!a||L)&&l.default.createElement(w.TabDrop,{ref:B}),l.default.createElement(w.PageTab,{ref:Q,className:(0,h.default)((null==r?void 0:r.uid)===t.uid&&"active",E&&"errors",D&&"can-drop",k&&"is-editing",L&&"is-dragging"),style:N,onClick:function(){C(!1),i(d.contextActions.setPage(t.uid))},onDoubleClick:function(){return C(!0)}},k?l.default.createElement(w.Input,{type:"text",ref:j,autoFocus:!0,className:"text small",placeholder:t.label,defaultValue:t.label,onKeyUp:function(e){"Enter"===e.key&&(z(),C(!1)),"Escape"===e.key&&C(!1)}}):l.default.createElement("span",null,t.label),o>1&&l.default.createElement(w.RemoveTabButton,{onClick:function(e){e.stopPropagation(),confirm((0,g.default)("Are you sure?"))&&i((0,v.deletePage)(t))}},l.default.createElement(O.default,null))))}},21976:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.LoaderPageButtons=void 0;var o=r(n(2784)),i=r(n(76257)),a=n(49023);t.LoaderPageButtons=function(){return o.default.createElement(a.ButtonGroupWrapper,null,o.default.createElement(a.ButtonGroup,null),o.default.createElement(a.ButtonGroup,null,o.default.createElement("button",{className:"btn submit"},o.default.createElement(i.default,{width:50,baseColor:"#e12d39"}))))}},49023:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Button=t.ButtonGroup=t.ButtonGroupWrapper=void 0;var i,a,l,u=n(51362),c=o(n(55721));t.ButtonGroupWrapper=c.default.div(i||(i=r(["\n display: flex;\n justify-content: space-between;\n\n padding: "," ",";\n\n border: 1px solid transparent;\n border-radius: ",";\n\n cursor: pointer;\n\n transition:\n border-color 0.2s ease-out,\n background-color 0.2s ease-out;\n\n &.active {\n border: 1px dashed #5782ef;\n }\n\n &:hover {\n background: #f3f7fd;\n\n &:not(.active) {\n border: 1px solid #cdd8e4;\n }\n }\n"],["\n display: flex;\n justify-content: space-between;\n\n padding: "," ",";\n\n border: 1px solid transparent;\n border-radius: ",";\n\n cursor: pointer;\n\n transition:\n border-color 0.2s ease-out,\n background-color 0.2s ease-out;\n\n &.active {\n border: 1px dashed #5782ef;\n }\n\n &:hover {\n background: #f3f7fd;\n\n &:not(.active) {\n border: 1px solid #cdd8e4;\n }\n }\n"])),u.spacings.sm,u.spacings.md,u.borderRadius.md),t.ButtonGroup=c.default.div(a||(a=r(["\n display: flex;\n gap: ",";\n"],["\n display: flex;\n gap: ",";\n"])),u.spacings.md),t.Button=c.default.button(l||(l=r([""],[""])))},65462:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=c.default.limits.fields;return l.default.createElement(g.FieldListWrapper,{className:(0,f.default)(t&&"fields-disabled")},l.default.createElement(h.Search,null),l.default.createElement(v.FavoriteFields,null),l.default.createElement(p.BaseFields,null),l.default.createElement(m.FormsFields,null))}},36985:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0})):t}),[e])}},94657:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.BaseFields=void 0;var o=r(n(2784)),i=n(27562),a=n(15443),l=r(n(2072)),u=n(51044),c=n(50417),d=n(36985),s=n(55383),f=(0,l.default)("Field Types");t.BaseFields=function(){var e=(0,d.useSelectSearchedFields)(),t=(0,a.useFetchFieldTypes)({select:e}),n=t.data,r=t.isFetching,l=t.isError,p=t.error;return!n&&r?o.default.createElement(c.LoaderFieldGroup,{words:[50,70],items:16}):l?o.default.createElement(i.ErrorBlock,null,p.message):n.length?o.default.createElement(u.FieldGroup,{title:f},n.map((function(e){return o.default.createElement(s.FieldItem,{key:e.typeClass,fieldType:e})}))):null}},58363:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useBaseFieldDrag=void 0;var r=n(2784),o=n(8134),i=n(35653),a=n(37430);t.useBaseFieldDrag=function(e){var t=(0,a.useDragContext)(),n=t.dragOn,l=t.dragOff,u=(0,o.useDrag)((function(){return{type:i.Drag.FieldType,collect:function(e){return{isDragging:e.isDragging()}},item:{type:i.Drag.FieldType,data:e}}})),c=u[0].isDragging,d=u[1];return(0,r.useEffect)((function(){c?n(i.Drag.FieldType):l()}),[c]),{ref:d}}},55383:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FieldItem=void 0;var o=r(n(2784)),i=n(36450),a=n(59305),l=n(20890),u=n(58363);t.FieldItem=function(e){var t=e.fieldType,n=t.icon,r=t.name,c=(0,i.useAppDispatch)(),d=(0,u.useBaseFieldDrag)(t).ref;return o.default.createElement(l.Field,{icon:n,label:r,onClick:function(){c(a.fieldThunks.move.newField.newRow({fieldType:t}))},dragRef:d})}},12379:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FavoriteFields=void 0;var o=r(n(2784)),i=n(27562),a=n(87087),l=r(n(2072)),u=n(51044),c=n(50417),d=n(36985),s=n(17454),f=r(n(24944)),p=n(19073),v=(0,l.default)("Favorites");t.FavoriteFields=function(){var e=(0,d.useSelectSearchedFavorites)(),t=(0,a.useFetchFavorites)({select:e}),n=t.data,r=t.isFetching,m=t.isError,h=t.error,g=(0,s.useCreateModal)();return!n&&r?o.default.createElement(c.LoaderFieldGroup,{words:[60],items:2}):m?o.default.createElement(i.ErrorBlock,null,h.message):n.length?o.default.createElement(u.FieldGroup,{title:v,button:{icon:o.default.createElement(f.default,null),title:(0,l.default)("Edit Favorites"),onClick:g}},n.map((function(e){return o.default.createElement(p.FieldItem,{key:e.uid,favorite:e})}))):null}},37699:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneFieldTypeFromFavorite=void 0;var o=r(n(9907));t.cloneFieldTypeFromFavorite=function(e,t){var n=(0,o.default)(t);return Object.entries(e.properties).map((function(e){var t,r=e[0],o=e[1],i=null===(t=null==n?void 0:n.properties)||void 0===t?void 0:t.find((function(e){return e.handle===r}));i&&(i.value=o)})),n}},19073:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FieldItem=void 0;var o=r(n(2784)),i=n(36450),a=n(59305),l=n(15443),u=n(20890),c=n(58363),d=n(37699);t.FieldItem=function(e){var t=e.favorite,n=t.typeClass,r=t.label,s=(0,l.useFieldType)(n),f=(0,d.cloneFieldTypeFromFavorite)(t,s),p=(0,i.useAppDispatch)(),v=(0,c.useBaseFieldDrag)(f).ref;if(!s)return null;var m=s.icon;return o.default.createElement(u.Field,{icon:m,label:r,onClick:function(){p(a.fieldThunks.move.newField.newRow({fieldType:f}))},dragRef:v})}},59348:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FavoriteFieldComponent=void 0;var o=r(n(2784)),i=n(94774),a=n(27487);t.FavoriteFieldComponent=function(e){var t=e.property,n=e.siblingProperties,r=e.state,l=e.errors,u=e.updateValueCallback,c=(0,a.useValueUpdateGenerator)(n,r,u);return o.default.createElement(i.FormComponent,{value:(null==r?void 0:r[t.handle])||"",property:t,updateValue:c(t),errors:l,context:{properties:r}})}},91768:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FavoritesEditor=void 0;var o=r(n(2784)),i=n(79857),a=n(59285),l=n(85227),u=n(77274),c=n(15443),d=n(59348);t.FavoritesEditor=function(e){var t=e.field,n=e.errors,r=e.values,s=e.updateValueCallback,f=(0,c.useFetchFieldPropertySections)().data,p=(0,c.useFieldType)(null==t?void 0:t.typeClass);if(!t||!p||!f)return null;var v=[];return f.sort((function(e,t){return e.order-t.order})).forEach((function(e){var t=e.handle,i=e.label,a=e.icon,l=p.properties.filter(function(e){return function(t){return t.section===e}}(t));l.length&&v.push(o.default.createElement(u.SectionBlock,{label:i,icon:a,key:t},l.map((function(e){return o.default.createElement(d.FavoriteFieldComponent,{key:e.handle,errors:null==n?void 0:n[e.handle],state:r,siblingProperties:p.properties,property:e,updateValueCallback:s})}))))})),o.default.createElement(o.default.Fragment,null,o.default.createElement(l.Title,null,o.default.createElement(l.Icon,{dangerouslySetInnerHTML:{__html:p.icon}}),o.default.createElement("span",null,(null==r?void 0:r.label)||p.name)),o.default.createElement(i.RenderContextProvider,{size:"small"},o.default.createElement(a.SectionWrapper,null,v)))}},41407:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FavoriteListItem=void 0;var l=i(n(2784)),u=n(54509),c=n(23934),d=n(15443),s=a(n(26457)),f=n(52271);t.FavoriteListItem=function(e){var t=e.favorite,n=e.label,r=e.errors,o=e.isActive,i=e.onClick,a=e.onDelete,p=(0,l.useRef)(null),v=(0,c.useHover)(p),m=(0,d.useFieldType)(t.typeClass);if(!m)return null;var h=void 0!==r&&r.length;return l.default.createElement(f.FieldListItem,{key:t.id,ref:p,onClick:i,className:(0,s.default)(o&&"active",h&&"errors")},l.default.createElement(f.Icon,{dangerouslySetInnerHTML:{__html:m.icon}}),l.default.createElement("span",null,n),l.default.createElement(u.RemoveButton,{active:v,onClick:a}))}},52271:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DeleteButton=t.Icon=t.FieldListItem=t.FieldList=t.FavoritesEditorWrapper=t.FavoritesWrapper=void 0;var i=n(85227),a=n(71485),l=n(80159),u=n(51362),c=o(n(55721));t.FavoritesWrapper=c.default.div(d||(d=r(["\n display: flex;\n justify-content: space-between;\n\n height: 600px;\n"],["\n display: flex;\n justify-content: space-between;\n\n height: 600px;\n"])));var d,s,f,p,v,m;t.FavoritesEditorWrapper=c.default.div(s||(s=r(["\n flex: 1;\n\n height: 100%;\n padding: 0 ",";\n\n overflow-x: hidden;\n overflow-y: auto;\n ",";\n\n "," {\n padding-left: 0;\n font-size: 18px;\n\n "," {\n width: ","px;\n height: ","px;\n\n svg {\n max-width: ","px;\n max-height: ","px;\n }\n }\n }\n\n "," {\n &:after {\n background-color: white;\n }\n }\n"],["\n flex: 1;\n\n height: 100%;\n padding: 0 ",";\n\n overflow-x: hidden;\n overflow-y: auto;\n ",";\n\n "," {\n padding-left: 0;\n font-size: 18px;\n\n "," {\n width: ","px;\n height: ","px;\n\n svg {\n max-width: ","px;\n max-height: ","px;\n }\n }\n }\n\n "," {\n &:after {\n background-color: white;\n }\n }\n"])),u.spacings.lg,l.scrollBar,i.Title,i.Icon,22,22,22,22,a.SectionBlockContainer),t.FieldList=c.default.ul(f||(f=r(["\n display: flex;\n flex-direction: column;\n gap: 2px;\n\n padding: ",";\n\n overflow-y: auto;\n overflow-x: hidden;\n\n background: ",";\n box-shadow: ",";\n\n ",";\n"],["\n display: flex;\n flex-direction: column;\n gap: 2px;\n\n padding: ",";\n\n overflow-y: auto;\n overflow-x: hidden;\n\n background: ",";\n box-shadow: ",";\n\n ",";\n"])),u.spacings.sm,u.colors.gray050,u.shadows.right,l.scrollBar),t.FieldListItem=c.default.li(p||(p=r(["\n cursor: pointer;\n position: relative;\n\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 10px;\n\n width: 250px;\n padding: "," "," "," ",";\n\n border: 1px solid transparent;\n border-radius: ",";\n font-size: 13px;\n\n user-select: none;\n transition: all 0.2s ease-in-out;\n\n > span {\n flex: 1;\n\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n &:hover {\n background-color: ",";\n }\n\n &.active {\n background: ",";\n color: ",";\n fill: currentColor;\n }\n\n &.errors {\n color: ",";\n fill: currentColor;\n\n ",";\n }\n"],["\n cursor: pointer;\n position: relative;\n\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 10px;\n\n width: 250px;\n padding: "," "," "," ",";\n\n border: 1px solid transparent;\n border-radius: ",";\n font-size: 13px;\n\n user-select: none;\n transition: all 0.2s ease-in-out;\n\n > span {\n flex: 1;\n\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n &:hover {\n background-color: ",";\n }\n\n &.active {\n background: ",";\n color: ",";\n fill: currentColor;\n }\n\n &.errors {\n color: ",";\n fill: currentColor;\n\n ",";\n }\n"])),u.spacings.xs,u.spacings.xs,u.spacings.xs,u.spacings.md,u.borderRadius.lg,u.colors.gray200,u.colors.gray500,u.colors.white,u.colors.error,l.errorAlert),t.Icon=c.default.div(v||(v=r(["\n font-size: 10px;\n\n &,\n svg {\n height: 20px;\n width: 20px;\n }\n"],["\n font-size: 10px;\n\n &,\n svg {\n height: 20px;\n width: 20px;\n }\n"]))),t.DeleteButton=c.default.button(m||(m=r(["\n position: absolute;\n top: 0;\n right: 0;\n"],["\n position: absolute;\n top: 0;\n right: 0;\n"])))},53318:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0,g=(0,m.useFormBlockAnimations)(a);return t.fields.length?l.default.createElement(h.FormBlockWrapper,{className:(0,s.default)(a&&"open")},l.default.createElement(h.FormTitle,{onClick:function(){return o(!r)}},t.name,l.default.createElement(h.ExpandedState,null,l.default.createElement(p.default,null))),l.default.createElement(h.FieldListContainer,{style:g},l.default.createElement(f.List,null,t.fields.map((function(e){return l.default.createElement(v.FieldItem,{key:e.uid,field:e})}))))):null}},1801:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FormFieldsWrapper=void 0;var i,a=n(51362),l=o(n(55721));t.FormFieldsWrapper=l.default.div(i||(i=r(["\n display: flex;\n flex-direction: column;\n gap: ",";\n"],["\n display: flex;\n flex-direction: column;\n gap: ",";\n"])),a.spacings.sm)},97708:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FormsFields=void 0;var o=r(n(2784)),i=n(86993),a=n(27562),l=n(35382),u=n(64725),c=r(n(2072)),d=n(21218),s=n(36985),f=n(82183),p=n(1801);t.FormsFields=function(){var e=(0,i.useSelector)(l.formSelectors.current).uid,t=(0,s.useSelectSearchedForms)(),n=(0,u.useFetchForms)({select:t}),r=n.data,v=n.isFetching,m=n.isError,h=n.error;if(!r&&v)return null;if(m)return o.default.createElement(a.ErrorBlock,null,h.message);if(!r.length)return null;var g=r.filter((function(t){return t.uid!==e}));return g.length?o.default.createElement(p.FormFieldsWrapper,null,o.default.createElement(d.GroupTitle,null,(0,c.default)("Fields from other Forms")),g.map((function(e){return o.default.createElement(f.FormBlock,{key:e.uid,form:e})}))):null}},88786:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useFieldSearch=void 0;var r=n(2784),o=n(86993),i=n(96636),a=n(88901);t.useFieldSearch=function(){var e=(0,o.useDispatch)(),t=(0,r.useState)(""),n=t[0],l=t[1],u=(0,a.useDebounce)(n,1e3);return(0,r.useEffect)((function(){e(i.searchActions.update({type:i.Search.Fields,query:u}))}),[u]),[n,l]}},82866:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.LoaderSearch=void 0;var o=r(n(2784)),i=r(n(2072)),a=n(64e3),l=r(n(17218));t.LoaderSearch=function(){return o.default.createElement(a.Wrapper,null,o.default.createElement(a.SearchBlock,null,o.default.createElement(a.SearchIcon,null,o.default.createElement(l.default,null)),o.default.createElement(a.SearchBar,{disabled:!0,className:"fullwidth text",placeholder:(0,i.default)("Search")})))}},64e3:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SearchIcon=t.IconStyle=t.SearchBar=t.SearchBlock=t.Wrapper=void 0;var l=n(51362),u=a(n(55721));t.Wrapper=u.default.div(c||(c=r(["\n position: relative;\n z-index: 1;\n\n margin-bottom: ",";\n"],["\n position: relative;\n z-index: 1;\n\n margin-bottom: ",";\n"])),l.spacings.lg),t.SearchBlock=u.default.div(d||(d=r(["\n display: flex;\n"],["\n display: flex;\n"]))),t.SearchBar=u.default.input(s||(s=r(["\n padding: 6px 38px 6px 30px !important;\n\n border-radius: 5px;\n\n &::placeholder {\n font-style: italic;\n color: ",";\n }\n"],["\n padding: 6px 38px 6px 30px !important;\n\n border-radius: 5px;\n\n &::placeholder {\n font-style: italic;\n color: ",";\n }\n"])),l.colors.gray200);var c,d,s,f,p,v="14px";t.IconStyle=(0,u.css)(f||(f=r(["\n position: absolute;\n top: 1px;\n bottom: 1px;\n z-index: 2;\n\n display: flex;\n flex-direction: column;\n justify-content: center;\n\n padding: 0 8px;\n\n box-sizing: border-box;\n user-select: none;\n\n > svg {\n width: ",";\n height: ",";\n }\n"],["\n position: absolute;\n top: 1px;\n bottom: 1px;\n z-index: 2;\n\n display: flex;\n flex-direction: column;\n justify-content: center;\n\n padding: 0 8px;\n\n box-sizing: border-box;\n user-select: none;\n\n > svg {\n width: ",";\n height: ",";\n }\n"])),v,v),t.SearchIcon=u.default.div(p||(p=r(["\n left: 1px;\n\n ","\n\n color: ",";\n"],["\n left: 1px;\n\n ","\n\n color: ",";\n"])),t.IconStyle,l.colors.gray400)},7002:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Search=void 0;var o=r(n(2784)),i=r(n(2072)),a=n(88786),l=n(64e3),u=r(n(17218));t.Search=function(){var e=(0,a.useFieldSearch)(),t=e[0],n=e[1];return o.default.createElement(l.Wrapper,null,o.default.createElement(l.SearchBlock,null,o.default.createElement(l.SearchIcon,null,o.default.createElement(u.default,null)),o.default.createElement(l.SearchBar,{type:"text",placeholder:(0,i.default)("Search"),className:"fullwidth text",value:t,onChange:function(e){n(e.target.value)}})))}},50202:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.LoaderFormLayout=void 0;var o=r(n(2784)),i=n(95802),a=n(33810);t.LoaderFormLayout=function(){return o.default.createElement(o.default.Fragment,null,o.default.createElement(a.LoaderFieldList,null),o.default.createElement(i.LoaderFieldLayout,null))}},28733:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Grid=void 0;var i,a=o(n(55721));t.Grid=a.default.div(i||(i=r(["\n position: relative;\n display: flex;\n gap: 0;\n\n height: 100%;\n overflow: hidden;\n\n background: #fff;\n"],["\n position: relative;\n display: flex;\n gap: 0;\n\n height: 100%;\n overflow: hidden;\n\n background: #fff;\n"])))},89888:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.LayoutEditor=void 0;var o=r(n(2784)),i=n(76034),a=n(11455),l=n(32165),u=r(n(2072)),c=n(62873),d=n(88041),s=n(84054),f=n(37430),p=n(28733);t.LayoutEditor=function(){var e=(0,i.useResolvedPath)("");return o.default.createElement(f.DragContextProvider,null,o.default.createElement(a.Breadcrumb,{label:(0,u.default)("Layout"),url:e.pathname}),o.default.createElement(p.Grid,null,o.default.createElement(l.Sidebar,{$noPadding:!0},o.default.createElement(s.PropertyEditor,null),o.default.createElement(d.FieldList,null)),o.default.createElement(c.FieldLayout,null)))}},76305:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FavoriteButton=void 0;var l=i(n(2784)),u=n(79066),c=n(31070),d=n(9726),s=n(15443),f=a(n(26457)),p=a(n(33424)),v=a(n(19772)),m=n(93748),h=n(91123),g=n(27312);t.FavoriteButton=function(e){var t=e.field,n=(0,s.useFieldType)(null==t?void 0:t.typeClass),r=(0,h.useFavoritesMutation)(),o=(0,l.useState)(!1),i=o[0],a=o[1],b=(0,l.useState)(!1),y=b[0],_=b[1];(0,l.useEffect)((function(){a(!1),_(!1),r.reset()}),[null==t?void 0:t.uid]);var x=(0,u.useSpring)({to:{opacity:i?1:0,scale:i?1:1.1,rotate:i?0:-10},config:{tension:700}}),w=(0,u.useSpring)({to:{scale:y?1.2:1},config:{tension:600,mass:3}}),O=(0,d.useClickOutside)({callback:function(){a(!1),_(!1)},isEnabled:i});return(0,c.useEscapeStack)((function(){a(!1),_(!1)}),i),(null==t?void 0:t.uid)?l.default.createElement(g.FavoriteButtonWrapper,{className:(0,f.default)(i&&"active"),ref:O},l.default.createElement(g.Button,{style:w,onClick:function(){return a(!i)},onMouseOver:function(){return _(!0)},onMouseOut:function(){return _(!1)}},r.isSuccess&&l.default.createElement(p.default,null),!r.isSuccess&&l.default.createElement(v.default,null)),l.default.createElement(g.PopUpWrapper,{style:x},l.default.createElement(g.IconBox,null),l.default.createElement(g.InfoBlock,null,l.default.createElement(m.FavoriteForm,{field:t,type:n,mutation:r})))):null}},69588:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ButtonContainer=t.FavoriteFormWrapper=void 0;var i,a,l=n(51362),u=o(n(55721));t.FavoriteFormWrapper=u.default.div(i||(i=r(["\n display: flex;\n justify-content: space-between;\n flex-direction: column;\n gap: ",";\n"],["\n display: flex;\n justify-content: space-between;\n flex-direction: column;\n gap: ",";\n"])),l.spacings.lg),t.ButtonContainer=u.default.div(a||(a=r(["\n display: flex;\n justify-content: center;\n"],["\n display: flex;\n justify-content: center;\n"])))},93748:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FavoriteForm=void 0;var l=i(n(2784)),u=n(12830),c=n(15738),d=a(n(60556)),s=n(57092),f=n(83287),p=a(n(26457)),v=a(n(2072)),m=n(69588);t.FavoriteForm=function(e){var t,n,r=e.field,o=e.type,i=e.mutation,a=(0,l.useState)(""),h=a[0],g=a[1];return(0,l.useEffect)((function(){g(r.properties.label||(null==o?void 0:o.name)),i.reset()}),[r.uid]),l.default.createElement(m.FavoriteFormWrapper,null,l.default.createElement(c.ControlWrapper,null,l.default.createElement(d.default,{property:{label:(0,v.default)("Create a favorite"),handle:null===(t=r.properties)||void 0===t?void 0:t.handle,flags:[],placeholder:null===(n=r.properties)||void 0===n?void 0:n.label,type:f.PropertyType.String},value:h,updateValue:function(e){return g(e)}})),l.default.createElement(m.ButtonContainer,null,l.default.createElement("button",{onClick:function(){i.mutate({label:h,field:r,type:o})},disabled:i.isLoading,className:(0,p.default)("btn fullwidth",!i.isSuccess&&"submit",i.isLoading&&"disabled")},l.default.createElement(s.LoadingText,{spinner:!0,loading:i.isLoading,loadingText:"Saving..."},(0,v.default)(i.isSuccess?"Saved!":"Favorite")))),i.isError&&l.default.createElement(u.ApiErrorsBlock,{category:"favorites",handle:"name",error:i.error}))}},91123:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useFavoritesDeleteMutation=t.useFavoritesUpdateMutation=t.useFavoritesMutation=void 0;var o=n(87087),i=n(79634),a=n(79634),l=r(n(60014)),u=function(e){var t=e.label,n=e.field,r=e.type,o={label:t,properties:n.properties,typeClass:r.typeClass};return l.default.post("/api/fields/favorites",o)};t.useFavoritesMutation=function(){var e=(0,i.useQueryClient)();return(0,a.useMutation)(u,{onSuccess:function(){e.invalidateQueries({queryKey:o.QKFavorites.all})}})};t.useFavoritesUpdateMutation=function(e){void 0===e&&(e={});var t=(0,i.useQueryClient)(),n=null==e?void 0:e.onSuccess;return e.onSuccess=function(e,r,i){n&&n(e,r,i),t.invalidateQueries(o.QKFavorites.all)},(0,a.useMutation)((function(e){return l.default.put("/api/fields/favorites",e)}),e)};t.useFavoritesDeleteMutation=function(e){void 0===e&&(e={});var t=(0,i.useQueryClient)(),n=null==e?void 0:e.onSuccess;return e.onSuccess=function(e,r,i){n&&n(e,r,i);var a=r;t.setQueryData(o.QKFavorites.all,(function(e){return e.filter((function(e){return e.id!==a}))}))},(0,a.useMutation)((function(e){return l.default.delete("/api/fields/favorites/".concat(e))}),e)}},27312:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FavoriteButtonWrapper=t.Button=t.InfoBlock=t.IconBox=t.PopUpWrapper=void 0;var i,a,l,u,c,d=n(79066),s=n(51362),f=o(n(55721));t.PopUpWrapper=(0,f.default)(d.animated.div)(i||(i=r(["\n position: absolute;\n top: 24px;\n right: -16px;\n\n transform-origin: 90% -20%;\n"],["\n position: absolute;\n top: 24px;\n right: -16px;\n\n transform-origin: 90% -20%;\n"]))),t.IconBox=f.default.div(a||(a=r(["\n position: absolute;\n top: -30px;\n right: 10px;\n z-index: 2;\n\n display: flex;\n justify-content: center;\n align-content: center;\n\n width: 32px;\n height: 32px;\n\n padding: 5px;\n\n background: ",";\n\n border-style: solid;\n border-width: 1px;\n border-color: ",";\n border-bottom-color: transparent;\n border-radius: "," "," 0 0;\n\n transform-origin: center bottom;\n"],["\n position: absolute;\n top: -30px;\n right: 10px;\n z-index: 2;\n\n display: flex;\n justify-content: center;\n align-content: center;\n\n width: 32px;\n height: 32px;\n\n padding: 5px;\n\n background: ",";\n\n border-style: solid;\n border-width: 1px;\n border-color: ",";\n border-bottom-color: transparent;\n border-radius: "," "," 0 0;\n\n transform-origin: center bottom;\n"])),s.colors.gray050,s.colors.barelyVisible,s.borderRadius.md,s.borderRadius.md),t.InfoBlock=f.default.div(l||(l=r(["\n position: relative;\n z-index: 1;\n\n width: 240px;\n padding: ",";\n\n background: ",";\n border: 1px solid ",";\n border-radius: ",";\n\n box-shadow: 4px 12px 8px rgb(205 216 228 / 80%);\n"],["\n position: relative;\n z-index: 1;\n\n width: 240px;\n padding: ",";\n\n background: ",";\n border: 1px solid ",";\n border-radius: ",";\n\n box-shadow: 4px 12px 8px rgb(205 216 228 / 80%);\n"])),s.spacings.lg,s.colors.gray050,s.colors.barelyVisible,s.borderRadius.md),t.Button=(0,f.default)(d.animated.button)(u||(u=r(["\n position: relative;\n z-index: 5;\n\n width: 20px;\n height: 20px;\n\n svg {\n fill: ",";\n }\n"],["\n position: relative;\n z-index: 5;\n\n width: 20px;\n height: 20px;\n\n svg {\n fill: ",";\n }\n"])),s.colors.barelyVisible),t.FavoriteButtonWrapper=f.default.div(c||(c=r(["\n position: absolute;\n top: 17px;\n right: 40px;\n z-index: 3;\n\n background: none;\n border: none;\n\n display: flex;\n justify-content: center;\n align-content: center;\n\n &:not(.active) {\n "," {\n pointer-events: none;\n }\n }\n"],["\n position: absolute;\n top: 17px;\n right: 40px;\n z-index: 3;\n\n background: none;\n border: none;\n\n display: flex;\n justify-content: center;\n align-content: center;\n\n &:not(.active) {\n "," {\n pointer-events: none;\n }\n }\n"])),t.PopUpWrapper)},60440:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FieldComponent=void 0;var o=r(n(2784)),i=n(86993),a=n(94774),l=n(36450),u=n(27487),c=n(9202),d=n(4165),s=n(15443);t.FieldComponent=function(e){var t,n,r,f=e.property,p=e.field,v=(0,l.useAppDispatch)(),m=(0,s.useFieldType)(p.typeClass),h=(null===(t=(0,i.useSelector)(d.fieldSelectors.one(p.uid)))||void 0===t?void 0:t.properties)||{},g=(0,u.useValueUpdateGenerator)(m.properties,h,(function(e,t){v(c.fieldActions.edit({uid:p.uid,handle:e,value:t}))})),b=null===(n=p.properties)||void 0===n?void 0:n[f.handle];return o.default.createElement(a.FormComponent,{value:b,property:f,updateValue:g(f),errors:null===(r=p.errors)||void 0===r?void 0:r[f.handle],context:p})}},69707:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FieldPropertiesWrapper=void 0;var i,a=n(51362),l=o(n(55721));t.FieldPropertiesWrapper=l.default.div(i||(i=r(["\n display: flex;\n flex-direction: column;\n\n height: 100%;\n background: ",";\n"],["\n display: flex;\n flex-direction: column;\n\n height: 100%;\n background: ",";\n"])),a.colors.gray050)},77309:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FieldProperties=void 0;var o=r(n(2784)),i=r(n(76257)),a=n(86993),l=n(94774),u=n(36450),c=n(8697),d=n(4165),s=n(59305),f=r(n(86022)),p=n(15443),v=n(83287),m=r(n(2072)),h=n(85227),g=n(77274),b=n(71485),y=n(76305),_=r(n(17561)),x=n(60440),w=n(69707);t.FieldProperties=function(e){var t=e.uid,n=(0,u.useAppDispatch)(),r=(0,p.useFetchFieldPropertySections)(),O=r.data,E=r.isFetching,P=(0,p.useFetchFieldTypes)().data,j=(0,a.useSelector)(d.fieldSelectors.one(t)),M=(0,p.useFieldType)(null==j?void 0:j.typeClass),k=(0,p.useFieldTypeSearch)();if(!j||!M)return o.default.createElement(w.FieldPropertiesWrapper,null);if(!O&&E)return o.default.createElement(w.FieldPropertiesWrapper,null,o.default.createElement(h.Title,null,o.default.createElement(h.Icon,{dangerouslySetInnerHTML:{__html:M.icon}}),o.default.createElement("span",null,M.name)),o.default.createElement(b.SectionWrapper,null,o.default.createElement(i.default,null)));var C=[];return O.sort((function(e,t){return e.order-t.order})).forEach((function(e){var t=e.handle,n=e.label,r=e.icon,i=M.properties.filter(function(e){return function(t){return t.section===e}}(t));i.length&&C.push(o.default.createElement(g.SectionBlock,{label:n,icon:r,key:t},i.map((function(e){return o.default.createElement(x.FieldComponent,{key:e.handle,field:j,property:e})}))))})),o.default.createElement(w.FieldPropertiesWrapper,null,o.default.createElement(h.CloseLink,{onClick:function(){return n(c.contextActions.unfocus())}},o.default.createElement(f.default,null)),o.default.createElement(y.FavoriteButton,{field:j}),o.default.createElement(h.Title,null,o.default.createElement(h.Icon,{dangerouslySetInnerHTML:{__html:M.icon}}),o.default.createElement("span",null,M.name)),o.default.createElement(b.SectionWrapper,null,C,o.default.createElement(g.SectionBlock,{label:(0,m.default)("Advanced"),icon:o.default.createElement(_.default,null)},o.default.createElement(l.FormComponent,{value:j.typeClass,property:{type:v.PropertyType.Select,handle:"typeClass",label:(0,m.default)("Field type"),instructions:(0,m.default)("Change the type of this field."),options:P.map((function(e){return{label:e.name,value:e.typeClass}}))},updateValue:function(e){confirm((0,m.default)("Are you sure? You might potentially lose important data."))&&n(s.fieldThunks.change.type(j,k(e)))}}))))}},85189:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PageComponent=void 0;var o=r(n(2784)),i=n(94774),a=n(36450),l=n(97240);t.PageComponent=function(e){var t,n=e.property,r=e.page,u=(0,a.useAppDispatch)(),c=null===(t=r.buttons)||void 0===t?void 0:t[n.handle];return o.default.createElement(i.FormComponent,{value:c,property:n,updateValue:function(e){u(l.pageActions.editButtons({uid:r.uid,key:n.handle,value:e}))},context:r})}},85747:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PagePropertiesWrapper=void 0;var i,a=n(51362),l=o(n(55721));t.PagePropertiesWrapper=l.default.div(i||(i=r(["\n display: flex;\n flex-direction: column;\n\n height: 100%;\n background: ",";\n"],["\n display: flex;\n flex-direction: column;\n\n height: 100%;\n background: ",";\n"])),a.colors.gray050)},94362:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PageProperties=void 0;var o=r(n(2784)),i=r(n(76257)),a=n(86993),l=n(36450),u=n(8697),c=n(60719),d=r(n(86022)),s=n(56790),f=n(85227),p=n(77274),v=n(71485),m=n(85189),h=n(85747);t.PageProperties=function(e){var t=e.uid,n=(0,l.useAppDispatch)(),r=(0,a.useSelector)(c.pageSelecors.one(t)),g=(0,s.useFetchPageButtonType)(),b=g.data,y=g.isFetching;if(!b&&y)return o.default.createElement(h.PagePropertiesWrapper,null,o.default.createElement(f.CloseLink,{onClick:function(){return n(u.contextActions.unfocus())}},o.default.createElement(d.default,null)),o.default.createElement(f.Title,null,o.default.createElement("span",null,r.label)),o.default.createElement(v.SectionWrapper,{style:{paddingTop:20}},o.default.createElement(i.default,{height:30}),o.default.createElement(i.default,{height:30}),o.default.createElement(i.default,{height:30})));if(!r)return null;var _=[];return b.sections.forEach((function(e){var t=e.handle,n=e.label,i=e.icon,a=b.properties.filter(function(e){return function(t){return t.section===e}}(t));a.length&&_.push(o.default.createElement(p.SectionBlock,{label:n,icon:i,key:t},a.map((function(e){return o.default.createElement(m.PageComponent,{key:e.handle,page:r,property:e})}))))})),o.default.createElement(h.PagePropertiesWrapper,null,o.default.createElement(f.CloseLink,{onClick:function(){return n(u.contextActions.unfocus())}},o.default.createElement(d.default,null)),o.default.createElement(f.Title,null,o.default.createElement("span",null,r.label)),o.default.createElement(v.SectionWrapper,null,_))}},85227:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Icon=t.Title=t.CloseLink=t.AnimatedBlock=t.PropertyEditorWrapper=void 0;var i,a,l,u,c,d=n(79066),s=n(51362),f=o(n(55721));t.PropertyEditorWrapper=f.default.div(i||(i=r(["\n position: absolute;\n\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n\n z-index: 2;\n\n overflow: hidden;\n border-right: 1px solid rgb(154 165 177 / 25%);\n\n pointer-events: ",";\n background: ",";\n\n transition: background-color 0.2s ease-in-out;\n"],["\n position: absolute;\n\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n\n z-index: 2;\n\n overflow: hidden;\n border-right: 1px solid rgb(154 165 177 / 25%);\n\n pointer-events: ",";\n background: ",";\n\n transition: background-color 0.2s ease-in-out;\n"])),(function(e){return e.$active?"auto":"none"}),(function(e){return e.$active?s.colors.gray050:"transparent"})),t.AnimatedBlock=(0,f.default)(d.animated.div)(a||(a=r(["\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n\n z-index: 2;\n"],["\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n\n z-index: 2;\n"]))),t.CloseLink=f.default.a(l||(l=r(["\n position: absolute;\n right: 10px;\n top: 17px;\n\n z-index: 5;\n\n display: block;\n width: 20px;\n height: 20px;\n"],["\n position: absolute;\n right: 10px;\n top: 17px;\n\n z-index: 5;\n\n display: block;\n width: 20px;\n height: 20px;\n"]))),t.Title=f.default.h3(u||(u=r(["\n position: relative;\n\n display: flex;\n justify-content: flex-start;\n align-items: end;\n gap: ",";\n\n margin: 0;\n padding: ",";\n\n font-size: 16px;\n box-shadow: ",";\n\n > span {\n display: block;\n }\n"],["\n position: relative;\n\n display: flex;\n justify-content: flex-start;\n align-items: end;\n gap: ",";\n\n margin: 0;\n padding: ",";\n\n font-size: 16px;\n box-shadow: ",";\n\n > span {\n display: block;\n }\n"])),s.spacings.sm,s.spacings.lg,s.shadows.bottom),t.Icon=f.default.div(c||(c=r(["\n display: flex;\n justify-content: center;\n align-items: center;\n\n width: 20px;\n height: 20px;\n\n svg {\n max-width: 20px;\n max-height: 20px;\n }\n"],["\n display: flex;\n justify-content: center;\n align-items: center;\n\n width: 20px;\n height: 20px;\n\n svg {\n max-width: 20px;\n max-height: 20px;\n }\n"])))},84054:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PropertyEditor=void 0;var o=r(n(2784)),i=n(86993),a=n(79066),l=n(90163),u=n(79857),c=n(36450),d=n(8697),s=n(72671),f=n(31070),p=n(9726),v=n(77309),m=n(94362),h=n(85227);t.PropertyEditor=function(){var e=(0,c.useAppDispatch)(),t=(0,i.useSelector)(s.contextSelectors.focus),n=t.active,r=t.type;(0,f.useEscapeStack)((function(){return e(d.contextActions.unfocus())}),n);var g=(0,p.useClickOutside)({callback:function(){e(d.contextActions.unfocus())},isEnabled:n,excludeClassNames:["field-layout","page-buttons","page-tab","save-button","main-tabs","editable-content","dropdown-rollout"]}),b=(0,a.useTransition)(n?[t]:null,{from:{transform:"translate3d(100%, 0, 0)",opacity:1},enter:{transform:"translate3d(0%, 0, 0)",opacity:1,zIndex:2},leave:{transform:"translate3d(-100%, 0, 0)"},config:{tension:500,friction:50}});return o.default.createElement(u.RenderContextProvider,{size:"small"},o.default.createElement(h.PropertyEditorWrapper,{$active:n,ref:g},o.default.createElement(l.ErrorBoundary,{message:'Could not load property editor for "'.concat(r,'" type')},b((function(e,t){return o.default.createElement(h.AnimatedBlock,{style:e},!!t&&"field"===t.type&&o.default.createElement(v.FieldProperties,{uid:t.uid}),!!t&&"page"===t.type&&o.default.createElement(m.PageProperties,{uid:t.uid}))})))))}},71485:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SectionBlockWrapper=t.SectionBlockContainer=t.SectionBlockIcon=t.SectionWrapper=void 0;var i,a,l,u,c=n(80159),d=n(51362),s=o(n(55721)),f=n(85227);t.SectionWrapper=s.default.div(i||(i=r(["\n display: flex;\n flex-direction: column;\n\n padding: 0 "," ",";\n\n overflow-y: auto;\n overflow-x: hidden;\n ",";\n"],["\n display: flex;\n flex-direction: column;\n\n padding: 0 "," ",";\n\n overflow-y: auto;\n overflow-x: hidden;\n ",";\n"])),d.spacings.lg,d.spacings.lg,c.scrollBar),t.SectionBlockIcon=(0,s.default)(f.Icon)(a||(a=r(["\n position: absolute;\n left: 2px;\n top: 12px;\n z-index: 1;\n\n width: 14px;\n height: 14px;\n\n fill: rgb(154 165 177 / 75%);\n"],["\n position: absolute;\n left: 2px;\n top: 12px;\n z-index: 1;\n\n width: 14px;\n height: 14px;\n\n fill: rgb(154 165 177 / 75%);\n"]))),t.SectionBlockContainer=s.default.section(l||(l=r(["\n position: relative;\n\n display: flex;\n flex-direction: column;\n gap: ",";\n\n margin-top: ",";\n padding-top: ",";\n padding-bottom: ",";\n\n &:empty {\n display: none;\n\n & + "," {\n display: none;\n }\n }\n\n &:before {\n content: '';\n\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n\n display: block;\n height: 1px;\n\n margin: 0 -18px;\n\n box-shadow: ",";\n }\n\n &:after {\n content: attr(data-label);\n\n position: absolute;\n left: -5px;\n top: -7px;\n\n display: block;\n padding: 0 5px 0 26px;\n\n background-color: ",";\n\n ",";\n font-size: 11px;\n }\n"],["\n position: relative;\n\n display: flex;\n flex-direction: column;\n gap: ",";\n\n margin-top: ",";\n padding-top: ",";\n padding-bottom: ",";\n\n &:empty {\n display: none;\n\n & + "," {\n display: none;\n }\n }\n\n &:before {\n content: '';\n\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n\n display: block;\n height: 1px;\n\n margin: 0 -18px;\n\n box-shadow: ",";\n }\n\n &:after {\n content: attr(data-label);\n\n position: absolute;\n left: -5px;\n top: -7px;\n\n display: block;\n padding: 0 5px 0 26px;\n\n background-color: ",";\n\n ",";\n font-size: 11px;\n }\n"])),d.spacings.md,d.spacings.lg,d.spacings.lg,d.spacings.lg,t.SectionBlockIcon,d.shadows.bottom,d.colors.gray050,c.labelText),t.SectionBlockWrapper=s.default.div(u||(u=r(["\n position: relative;\n\n &:first-child {\n "," {\n margin-top: 0;\n\n &:before,\n &:after {\n display: none;\n }\n }\n\n "," {\n display: none;\n }\n }\n"],["\n position: relative;\n\n &:first-child {\n "," {\n margin-top: 0;\n\n &:before,\n &:after {\n display: none;\n }\n }\n\n "," {\n display: none;\n }\n }\n"])),t.SectionBlockContainer,t.SectionBlockIcon)},77274:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SectionBlock=void 0;var o=r(n(2784)),i=n(71485);t.SectionBlock=function(e){var t=e.label,n=e.icon,r=e.children;return o.default.createElement(i.SectionBlockWrapper,null,o.default.createElement(i.SectionBlockContainer,{"data-label":t},r),function(e){return e?"string"==typeof e?o.default.createElement(i.SectionBlockIcon,{dangerouslySetInnerHTML:{__html:e}}):o.default.createElement(i.SectionBlockIcon,null,e):null}(n))}},39977:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationsWrapper=void 0;var i,a=o(n(55721));t.NotificationsWrapper=a.default.div(i||(i=r(["\n display: flex;\n height: 100%;\n"],["\n display: flex;\n height: 100%;\n"])))},84085:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Notifications=void 0;var o=r(n(2784)),i=n(76034),a=n(11455),l=r(n(2072)),u=n(78177),c=n(39977);t.Notifications=function(){var e=(0,i.useResolvedPath)("");return o.default.createElement(c.NotificationsWrapper,null,o.default.createElement(a.Breadcrumb,{label:(0,l.default)("Notifications"),url:e.pathname}),o.default.createElement(u.List,null),o.default.createElement(i.Outlet,null))}},33255:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FieldComponent=void 0;var o=r(n(2784)),i=n(94774),a=n(36450),l=n(12163);t.FieldComponent=function(e){var t,n=e.notification,r=e.property,u=(0,a.useAppDispatch)(),c=n.uid,d=r.handle,s=null==n?void 0:n[r.handle];return o.default.createElement(i.FormComponent,{value:s,property:r,updateValue:function(e){u(l.notificationActions.modify({uid:c,key:d,value:e}))},errors:null===(t=n.errors)||void 0===t?void 0:t[r.handle],context:n})}},80407:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.EmptyEditor=t.Inline=void 0;var i=o(n(2784)),a=n(19002),l=n(51362),u=o(n(2072)),c=o(n(55721)),d=o(n(90622)),s=n(91326);t.Inline=c.default.div(f||(f=r(["\n display: flex;\n gap: ",";\n"],["\n display: flex;\n gap: ",";\n"])),l.spacings.md);var f;t.EmptyEditor=function(){return i.default.createElement(s.PropertyEditorWrapper,null,i.default.createElement(a.EmptyBlock,{title:(0,u.default)("No notifications found"),subtitle:(0,u.default)("To add a notification, use the sidebar on the left"),icon:i.default.createElement(d.default,null)}))}},13919:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.LoadingEditor=t.Inline=void 0;var i=o(n(2784)),a=o(n(76257)),l=n(91176),u=n(51362),c=o(n(55721)),d=n(91326);t.Inline=c.default.div(s||(s=r(["\n display: flex;\n gap: ",";\n"],["\n display: flex;\n gap: ",";\n"])),u.spacings.md);var s;t.LoadingEditor=function(){return i.default.createElement(d.PropertyEditorWrapper,null,i.default.createElement(l.ThemedSkeleton,null,i.default.createElement(a.default,{width:120,height:20}),i.default.createElement("br",null),i.default.createElement(a.default,{width:100,height:10}),i.default.createElement(a.default,{width:50,height:20}),i.default.createElement("br",null),i.default.createElement(a.default,{width:200,height:10}),i.default.createElement(a.default,{width:500,height:10}),i.default.createElement(a.default,{height:30}),i.default.createElement("br",null),i.default.createElement(a.default,{width:150,height:10}),i.default.createElement(a.default,{width:300,height:10}),i.default.createElement(a.default,{height:30})))}},91326:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SettingsWrapper=t.PropertyEditorWrapper=void 0;var i,a,l=n(80159),u=n(51362),c=o(n(55721));t.PropertyEditorWrapper=c.default.div(i||(i=r(["\n position: relative;\n flex: 1;\n\n display: flex;\n flex-direction: column;\n gap: ",";\n\n background: ",";\n padding: ",";\n\n overflow-y: auto;\n\n ",";\n"],["\n position: relative;\n flex: 1;\n\n display: flex;\n flex-direction: column;\n gap: ",";\n\n background: ",";\n padding: ",";\n\n overflow-y: auto;\n\n ",";\n"])),u.spacings.xl,u.colors.white,u.spacings.xl,l.scrollBar),t.SettingsWrapper=c.default.div(a||(a=r(["\n display: flex;\n flex-direction: column;\n gap: ",";\n"],["\n display: flex;\n flex-direction: column;\n gap: ",";\n"])),u.spacings.md)},42820:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PropertyEditor=void 0;var o=r(n(2784)),i=n(86993),a=n(76034),l=n(90022),u=n(74740),c=n(69397),d=n(33255),s=n(80407),f=n(13919),p=n(91326);t.PropertyEditor=function(){var e,t=(0,a.useParams)(),n=t.formId,r=t.uid,v=(0,u.useQueryNotificationTypes)().data,m=(0,u.useQueryFormNotifications)(n?Number(n):void 0),h=m.data,g=m.isFetching,b=(0,i.useSelector)(l.notificationSelectors.one(r));if(!h&&g)return o.default.createElement(f.LoadingEditor,null);if(!b)return o.default.createElement(s.EmptyEditor,null);var y=(null===(e=null==v?void 0:v.find((function(e){return e.className===b.className})))||void 0===e?void 0:e.properties)||[];return o.default.createElement(p.PropertyEditorWrapper,null,o.default.createElement(c.Remove,{notification:b}),o.default.createElement(p.SettingsWrapper,null,y.map((function(e){return o.default.createElement(d.FieldComponent,{key:e.handle,notification:b,property:e})}))))}},79811:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useRemoveAnimation=void 0;var r=n(79066),o=n(51362);t.useRemoveAnimation=function(e){var t=e.hovering;return(0,r.useSpring)({opacity:1,background:t?o.colors.error:"transparent",color:t?"#fff":o.colors.gray300,scale:t?1.2:1,config:function(e){switch(e){case"background":case"color":return{tension:330,friction:20};default:return{tension:330,friction:15}}}})}},6325:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.RemoveButtonWrapper=void 0;var i,a=n(79066),l=o(n(55721));t.RemoveButtonWrapper=(0,l.default)(a.animated.button)(i||(i=r(["\n position: absolute;\n top: 15px;\n right: 20px;\n z-index: 2;\n\n display: flex;\n justify-content: center;\n align-items: center;\n\n border-radius: 50%;\n padding: 3px;\n\n svg {\n width: 20px;\n height: 20px;\n\n color: currentColor;\n }\n"],["\n position: absolute;\n top: 15px;\n right: 20px;\n z-index: 2;\n\n display: flex;\n justify-content: center;\n align-items: center;\n\n border-radius: 50%;\n padding: 3px;\n\n svg {\n width: 20px;\n height: 20px;\n\n color: currentColor;\n }\n"])))},69397:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Remove=void 0;var l=i(n(2784)),u=n(76034),c=n(36450),d=n(19007),s=a(n(11411)),f=n(79811),p=n(6325);t.Remove=function(e){var t=e.notification,n=(0,u.useNavigate)(),r=(0,c.useAppDispatch)(),o=(0,l.useState)(!1),i=o[0],a=o[1],v=(0,f.useRemoveAnimation)({hovering:i});return l.default.createElement(p.RemoveButtonWrapper,{style:v,onMouseEnter:function(){return a(!0)},onMouseLeave:function(){return a(!1)},onClick:function(e){e.stopPropagation(),r((0,d.removeNotification)(t)),n("..")}},l.default.createElement(s.default,null))}},19056:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Status=t.Name=t.Icon=t.Link=void 0;var i=n(76034),a=n(51362),l=o(n(55721));t.Link=(0,l.default)(i.NavLink)(u||(u=r(["\n display: flex;\n align-items: center;\n gap: ",";\n\n padding: "," ",";\n border-radius: ",";\n\n color: ",";\n font-size: 12px;\n line-height: 12px;\n\n transition: background-color 0.2s ease-out;\n text-decoration: none;\n\n &.active {\n color: ",";\n background-color: ",";\n }\n\n &.active.inactive {\n .status-dot {\n border-color: ",";\n }\n }\n\n &:hover {\n text-decoration: none;\n }\n\n &:hover:not(.active) {\n background-color: ",";\n }\n\n &.errors {\n color: ",";\n }\n"],["\n display: flex;\n align-items: center;\n gap: ",";\n\n padding: "," ",";\n border-radius: ",";\n\n color: ",";\n font-size: 12px;\n line-height: 12px;\n\n transition: background-color 0.2s ease-out;\n text-decoration: none;\n\n &.active {\n color: ",";\n background-color: ",";\n }\n\n &.active.inactive {\n .status-dot {\n border-color: ",";\n }\n }\n\n &:hover {\n text-decoration: none;\n }\n\n &:hover:not(.active) {\n background-color: ",";\n }\n\n &.errors {\n color: ",";\n }\n"])),a.spacings.sm,a.spacings.sm,a.spacings.md,a.borderRadius.lg,a.colors.gray700,a.colors.white,a.colors.gray500,a.colors.white,a.colors.gray200,a.colors.error);var u,c,d,s;t.Icon=l.default.div(c||(c=r(["\n display: block;\n width: ","px;\n height: ","px;\n fill: ",";\n"],["\n display: block;\n width: ","px;\n height: ","px;\n fill: ",";\n"])),20,20,a.colors.gray550),t.Name=l.default.div(d||(d=r(["\n flex-grow: 1;\n max-width: 90%;\n overflow: hidden;\n\n &:empty:after {\n content: 'No Title';\n color: ",";\n font-style: italic;\n }\n"],["\n flex-grow: 1;\n max-width: 90%;\n overflow: hidden;\n\n &:empty:after {\n content: 'No Title';\n color: ",";\n font-style: italic;\n }\n"])),a.colors.gray400),t.Status=l.default.div(s||(s=r(["\n content: '';\n\n flex-shrink: 0;\n justify-self: flex-end;\n\n width: 10px;\n height: 10px;\n\n border: 1px solid\n ",";\n border-radius: 100%;\n\n background-color: ",";\n\n transition: all 0.3s ease-out;\n"],["\n content: '';\n\n flex-shrink: 0;\n justify-self: flex-end;\n\n width: 10px;\n height: 10px;\n\n border: 1px solid\n ",";\n border-radius: 100%;\n\n background-color: ",";\n\n transition: all 0.3s ease-out;\n"])),(function(e){return e.$enabled?"transparent":a.colors.gray550}),(function(e){return e.$enabled?a.colors.teal550:"transparent"}))},67584:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationItem=void 0;var o=r(n(2784)),i=n(86993),a=n(90022),l=r(n(26457)),u=n(75482),c=n(19056);t.NotificationItem=function(e){var t=e.icon,n=e.notification.uid,r=(0,i.useSelector)(a.notificationSelectors.one(n)),d=r.name,s=r.enabled,f=r.errors;return o.default.createElement(c.Link,{to:"".concat(n),className:(0,l.default)((0,u.hasErrors)(f)&&"errors",!s&&"inactive")},t&&o.default.createElement(c.Icon,{dangerouslySetInnerHTML:{__html:t}}),o.default.createElement(c.Name,null,d),o.default.createElement(c.Status,{$enabled:s,className:(0,l.default)("status-dot")}))}},53846:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CategorySkeleton=void 0;var o=r(n(2784)),i=r(n(76257)),a=n(91176),l=n(91560);t.CategorySkeleton=function(){return o.default.createElement(a.ThemedSkeleton,null,o.default.createElement(l.Wrapper,null,o.default.createElement(l.LabelWrapper,null,o.default.createElement(i.default,{width:50})),o.default.createElement(l.NotificationItemWrapper,{style:{padding:14}},[0,1,2].map((function(e){return o.default.createElement("div",{key:e,style:{display:"flex",gap:10,alignItems:"center"}},o.default.createElement(i.default,{width:20,height:20,circle:!0}),o.default.createElement("div",{style:{flexGrow:2}},o.default.createElement(i.default,{width:100,style:{top:2}})),o.default.createElement(i.default,{width:10,height:10,circle:!0,style:{top:6}}))})))))}},91560:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationItemWrapper=t.Button=t.Label=t.LabelWrapper=t.Wrapper=void 0;var i,a,l,u,c,d=n(51362),s=o(n(55721));t.Wrapper=s.default.div(i||(i=r([""],[""]))),t.LabelWrapper=s.default.div(a||(a=r(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 5px;\n line-height: 22px;\n"],["\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 5px;\n line-height: 22px;\n"]))),t.Label=s.default.span(l||(l=r(["\n padding-left: ",";\n font-weight: 700;\n font-size: 11px;\n color: ",";\n text-transform: uppercase;\n"],["\n padding-left: ",";\n font-weight: 700;\n font-size: 11px;\n color: ",";\n text-transform: uppercase;\n"])),d.spacings.md,d.colors.gray550),t.Button=s.default.button(u||(u=r(["\n align-self: end;\n\n &:hover {\n background-color: ",";\n }\n"],["\n align-self: end;\n\n &:hover {\n background-color: ",";\n }\n"])),d.colors.gray200),t.NotificationItemWrapper=s.default.div(c||(c=r(["\n display: flex;\n flex-direction: column;\n gap: ",";\n padding: "," 0;\n\n &:empty {\n &:after {\n content: 'None configured';\n\n padding: 2px};\n margin-left: 12px;\n\n font-style: italic;\n font-size: 12px;\n\n color: ",";\n }\n }\n"],["\n display: flex;\n flex-direction: column;\n gap: ",";\n padding: "," 0;\n\n &:empty {\n &:after {\n content: 'None configured';\n\n padding: 2px};\n margin-left: 12px;\n\n font-style: italic;\n font-size: 12px;\n\n color: ",";\n }\n }\n"])),d.spacings.xs,d.spacings.xs,d.colors.gray300)},41200:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationTypeItem=void 0;var o=r(n(2784)),i=n(76034),a=n(36450),l=n(19007),u=r(n(26457)),c=r(n(2072)),d=n(60130),s=n(91560);t.NotificationTypeItem=function(e){var t=e.type,n=e.children,r=(0,i.useNavigate)(),f=(0,a.useAppDispatch)(),p=t.name;return o.default.createElement(s.Wrapper,null,o.default.createElement(s.LabelWrapper,null,o.default.createElement(s.Label,null,p),o.default.createElement(s.Button,{className:(0,u.default)("btn","add","icon","small","dashed"),onClick:function(){var e=(0,d.v4)();f((0,l.addNewNotification)(t,e)),r(e)}},(0,c.default)("New"))),o.default.createElement(s.NotificationItemWrapper,null,n))}},17458:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ScrollableList=void 0;var i,a=n(80159),l=n(51362),u=o(n(55721));t.ScrollableList=u.default.div(i||(i=r(["\n display: flex;\n flex-direction: column;\n gap: ",";\n height: 100%;\n\n overflow-x: hidden;\n overflow-y: auto;\n ",";\n"],["\n display: flex;\n flex-direction: column;\n gap: ",";\n height: 100%;\n\n overflow-x: hidden;\n overflow-y: auto;\n ",";\n"])),l.spacings.sm,a.scrollBar)},78177:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.List=void 0;var a=i(n(2784)),l=n(86993),u=n(76034),c=n(32165),d=n(41200),s=n(53846),f=n(90022),p=n(74740),v=n(67584),m=n(17458);t.List=function(){var e=(0,u.useParams)(),t=e.formId,n=e.uid,r=(0,u.useNavigate)(),o=(0,p.useQueryNotificationTypes)(),i=o.data,h=o.isFetching;(0,p.useQueryFormNotifications)(t?Number(t):void 0);var g=(0,l.useSelector)(f.notificationSelectors.all);return(0,a.useEffect)((function(){if(!n&&i&&g){var e=g.find(Boolean);e&&r(e.uid)}}),[n,i,g]),!i&&h?a.default.createElement(c.Sidebar,null,a.default.createElement(s.CategorySkeleton,null)):i||h?a.default.createElement(c.Sidebar,{$lean:!0},a.default.createElement(m.ScrollableList,null,i.map((function(e){return a.default.createElement(d.NotificationTypeItem,{key:e.className,type:e},g&&(null==g?void 0:g.filter((function(t){return t.className===e.className})).map((function(t){return a.default.createElement(v.NotificationItem,{key:t.uid,icon:e.icon,notification:t})}))))})))):a.default.createElement(a.default.Fragment,null,"Empty")}},83837:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CombinatorSelect=void 0;var o=r(n(2784)),i=n(75094),a=r(n(2072));t.CombinatorSelect=function(e){var t=e.value,n=e.onChange;return o.default.createElement("div",{className:"select"},o.default.createElement("select",{value:t,onChange:function(e){return n&&n(e.target.value)}},o.default.createElement("option",{value:i.Combinator.Or},(0,a.default)("any")),o.default.createElement("option",{value:i.Combinator.And},(0,a.default)("all"))))}},86804:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DisplaySelect=void 0;var o=r(n(2784)),i=n(75094),a=r(n(2072));t.DisplaySelect=function(e){var t=e.value,n=e.onChange;return o.default.createElement("div",{className:"select"},o.default.createElement("select",{value:t,onChange:function(e){return n&&n(e.target.value)}},o.default.createElement("option",{value:i.Display.Show},(0,a.default)("show")),o.default.createElement("option",{value:i.Display.Hide},(0,a.default)("hide"))))}},18273:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DisplaySend=void 0;var o,i=r(n(2784)),a=r(n(2072));!function(e){e.Send="send",e.NotSend="not-send"}(o||(o={}));t.DisplaySend=function(e){var t=e.value,n=e.onChange;return i.default.createElement("div",{className:"select"},i.default.createElement("select",{value:t?o.Send:o.NotSend,onChange:function(e){return n&&n(e.target.value===o.Send)}},i.default.createElement("option",{value:o.Send},(0,a.default)("Send")),i.default.createElement("option",{value:o.NotSend},(0,a.default)("Don't send"))))}},36394:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Action=t.Table=void 0;var i,a,l=n(51362),u=o(n(55721));t.Table=u.default.table(i||(i=r(["\n width: 100%;\n\n margin: 0;\n border-spacing: 0;\n border-collapse: separate;\n\n td {\n &:nth-child(1) {\n width: 25%;\n }\n\n &:nth-child(2) {\n width: 20%;\n }\n\n &:last-child {\n width: 20px;\n }\n }\n\n tbody {\n tr {\n td {\n padding: 0 !important;\n padding-top: 7px !important;\n padding-right: 7px !important;\n padding-bottom: 7px !important;\n border-bottom: 1px solid ",";\n background-color: ",";\n }\n\n td:first-child {\n padding-left: 7px !important;\n border-left: 1px solid ",";\n }\n\n td:last-child {\n border-right: 1px solid ",";\n }\n }\n\n tr:first-child {\n td {\n border-top: 1px solid ",";\n }\n\n td:first-child {\n border-top-left-radius: ",";\n border-top: 1px solid ",";\n }\n\n td:last-child {\n border-top: 1px solid ",";\n border-top-right-radius: ",";\n }\n }\n\n tr:last-child {\n td {\n padding: 0 !important;\n background-color: ",";\n\n .btn {\n border: 0 !important;\n border-radius: 0 !important;\n background-color: transparent !important;\n }\n }\n\n td:last-child {\n border-left: 1px dashed ",";\n border-right: 1px dashed ",";\n border-bottom: 1px dashed ",";\n border-bottom-left-radius: ",";\n border-bottom-right-radius: ",";\n }\n }\n\n tr:first-child:last-child {\n td {\n border-top: 1px dashed ",";\n }\n }\n }\n"],["\n width: 100%;\n\n margin: 0;\n border-spacing: 0;\n border-collapse: separate;\n\n td {\n &:nth-child(1) {\n width: 25%;\n }\n\n &:nth-child(2) {\n width: 20%;\n }\n\n &:last-child {\n width: 20px;\n }\n }\n\n tbody {\n tr {\n td {\n padding: 0 !important;\n padding-top: 7px !important;\n padding-right: 7px !important;\n padding-bottom: 7px !important;\n border-bottom: 1px solid ",";\n background-color: ",";\n }\n\n td:first-child {\n padding-left: 7px !important;\n border-left: 1px solid ",";\n }\n\n td:last-child {\n border-right: 1px solid ",";\n }\n }\n\n tr:first-child {\n td {\n border-top: 1px solid ",";\n }\n\n td:first-child {\n border-top-left-radius: ",";\n border-top: 1px solid ",";\n }\n\n td:last-child {\n border-top: 1px solid ",";\n border-top-right-radius: ",";\n }\n }\n\n tr:last-child {\n td {\n padding: 0 !important;\n background-color: ",";\n\n .btn {\n border: 0 !important;\n border-radius: 0 !important;\n background-color: transparent !important;\n }\n }\n\n td:last-child {\n border-left: 1px dashed ",";\n border-right: 1px dashed ",";\n border-bottom: 1px dashed ",";\n border-bottom-left-radius: ",";\n border-bottom-right-radius: ",";\n }\n }\n\n tr:first-child:last-child {\n td {\n border-top: 1px dashed ",";\n }\n }\n }\n"])),l.colors.inputBorder,l.colors.gray050,l.colors.inputBorder,l.colors.inputBorder,l.colors.inputBorder,l.borderRadius.lg,l.colors.inputBorder,l.colors.inputBorder,l.borderRadius.lg,l.colors.white,l.colors.inputBorder,l.colors.inputBorder,l.colors.inputBorder,l.borderRadius.lg,l.borderRadius.lg,l.colors.inputBorder),t.Action=u.default.button(a||(a=r(["\n margin: 0;\n padding: 0;\n border: none;\n display: flex;\n align-items: center;\n justify-content: center;\n\n svg {\n width: 16px;\n height: 16px;\n stroke-width: 3px;\n fill: #e5e7eb;\n }\n"],["\n margin: 0;\n padding: 0;\n border: none;\n display: flex;\n align-items: center;\n justify-content: center;\n\n svg {\n width: 16px;\n height: 16px;\n stroke-width: 3px;\n fill: #e5e7eb;\n }\n"])))},12804:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n "," "," {\n display: none;\n }\n\n "," {\n color: ",";\n }\n }\n\n &:hover {\n background-color: ",";\n border-color: ",";\n }\n\n &.active {\n background-color: #5b6573;\n border-color: #5b6573;\n color: white;\n }\n\n &.is-in-condition {\n position: relative;\n\n &:after {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n z-index: 2;\n\n width: 0;\n border-left: 10px solid transparent;\n border-bottom: 10px solid transparent;\n border-left: 10px solid ",";\n }\n\n &-active:after {\n border-left-color: ",";\n }\n }\n"],["\n display: flex;\n flex-direction: column;\n justify-content: center;\n gap: ",";\n\n flex: 1;\n\n overflow: hidden;\n padding: 5px 7px;\n\n width: 100%;\n height: 100%;\n\n background: ",";\n border: 1px solid ",";\n border-radius: ",";\n\n transition: all 0.2s ease-out;\n\n &,\n * {\n cursor: pointer;\n }\n\n &.has-rule:not(.active) {\n border-color: ",";\n background-color: ",";\n }\n\n &.group {\n background-color: ",";\n border-color: ",";\n\n > "," "," {\n display: none;\n }\n\n "," {\n color: ",";\n }\n }\n\n &:hover {\n background-color: ",";\n border-color: ",";\n }\n\n &.active {\n background-color: #5b6573;\n border-color: #5b6573;\n color: white;\n }\n\n &.is-in-condition {\n position: relative;\n\n &:after {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n z-index: 2;\n\n width: 0;\n border-left: 10px solid transparent;\n border-bottom: 10px solid transparent;\n border-left: 10px solid ",";\n }\n\n &-active:after {\n border-left-color: ",";\n }\n }\n"])),s.spacings.sm,s.colors.gray100,s.colors.gray100,s.borderRadius.md,s.colors.teal550,s.colors.teal050,s.colors.white,s.colors.gray100,t.FieldInfo,t.Icon,t.GroupWrapper,s.colors.gray800,s.colors.gray200,s.colors.gray200,s.colors.gray200,s.colors.teal550)},95800:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Field=void 0;var o=r(n(2784)),i=n(86993),a=n(76034),l=n(18884),u=n(40790),c=n(15443),d=n(75094),s=r(n(26457)),f=n(72757),p=n(7178);t.Field=function(e){var t=e.field,n=(0,a.useParams)().uid,r=(0,a.useNavigate)(),v=(0,c.useFieldType)(null==t?void 0:t.typeClass),m=n===t.uid,h=(0,i.useSelector)(l.fieldRuleSelectors.one(n)),g=(0,i.useSelector)(u.pageRuleSelectors.one(n)),b=(0,i.useSelector)(l.fieldRuleSelectors.hasRule(t.uid)),y=(0,i.useSelector)(u.pageRuleSelectors.hasRule(t.uid)),_=(0,i.useSelector)(l.fieldRuleSelectors.isInCondition(t.uid)),x=(null==h?void 0:h.conditions.find((function(e){return e.field===t.uid})))||(null==g?void 0:g.conditions.find((function(e){return e.field===t.uid})));return void 0===(null==t?void 0:t.properties)?null:o.default.createElement(p.FieldWrapper,{onClick:function(e){e.stopPropagation(),r(n===t.uid?"":"field/".concat(t.uid))},className:(0,s.default)("group"===(null==v?void 0:v.type)&&"group",m&&"active",(b||y)&&"has-rule",_&&"is-in-condition",x&&"is-in-condition-active",d.operatorTypes.negative.includes(null==x?void 0:x.operator)&&"not-equals")},o.default.createElement(p.FieldInfo,null,o.default.createElement(p.Icon,{dangerouslySetInnerHTML:{__html:null==v?void 0:v.icon}}),o.default.createElement(p.Label,null,t.properties.label||(null==v?void 0:v.name))),"group"===(null==v?void 0:v.type)&&o.default.createElement(p.GroupWrapper,null,o.default.createElement(f.Layout,{layoutUid:t.properties.layout})))}},49862:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FieldLayoutWrapper=void 0;var i,a=n(51362),l=o(n(55721));t.FieldLayoutWrapper=l.default.div(i||(i=r(["\n display: flex;\n flex-direction: column;\n gap: ",";\n"],["\n display: flex;\n flex-direction: column;\n gap: ",";\n"])),a.spacings.xs)},72757:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Layout=void 0;var o=r(n(2784)),i=n(36450),a=n(44271),l=n(41294),u=n(74899),c=n(49862);t.Layout=function(e){var t=e.layoutUid,n=(0,i.useAppSelector)((function(e){return a.layoutSelectors.one(e,t)})),r=(0,i.useAppSelector)((function(e){return l.rowSelectors.inLayout(e,null==n?void 0:n.uid)}));return n&&r.length?o.default.createElement(c.FieldLayoutWrapper,null,r.map((function(e){return o.default.createElement(u.Row,{row:e,key:e.uid})}))):null}},88889:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.LoaderMiniMap=void 0;var o=r(n(2784)),i=r(n(76257)),a=n(86993),l=n(91176),u=n(44271),c=n(24496);t.LoaderMiniMap=function(){var e=(0,a.useSelector)(u.layoutSelectors.cartographed.fullLayoutList);return o.default.createElement(l.ThemedSkeleton,null,e.map((function(e,t){return o.default.createElement("div",{key:t},o.default.createElement("div",{style:{marginBottom:14}},o.default.createElement(i.default,{width:"100%",height:30})),e.map((function(e,t){return o.default.createElement(c.LoadingRow,{key:t,style:{display:"flex"}},e.map((function(e,t){return o.default.createElement(i.default,{key:t,width:"100%",height:28})})))})))})))}},24496:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.LoadingRow=t.MiniMapWrapper=void 0;var i,a,l=n(51362),u=o(n(55721)),c=n(79681);t.MiniMapWrapper=u.default.div(i||(i=r(["\n display: flex;\n flex-direction: column;\n gap: ",";\n"],["\n display: flex;\n flex-direction: column;\n gap: ",";\n"])),l.spacings.xl),t.LoadingRow=(0,u.default)(c.RowWrapper)(a||(a=r(["\n > span {\n width: 100%;\n }\n"],["\n > span {\n width: 100%;\n }\n"])))},19438:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.MiniMap=void 0;var o=r(n(2784)),i=n(86993),a=n(76034),l=n(32165),u=n(60719),c=n(34837),d=n(58328),s=n(88889),f=n(24496);t.MiniMap=function(){var e=(0,a.useParams)().formId,t=(0,c.useQueryFormRules)(Number(e||0)).isFetching,n=(0,i.useSelector)(u.pageSelecors.all);return o.default.createElement(l.Sidebar,null,o.default.createElement(f.MiniMapWrapper,null,t&&o.default.createElement(s.LoaderMiniMap,null),!t&&n.map((function(e){return o.default.createElement(d.Page,{key:e.uid,page:e})}))))}},58328:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Page=void 0;var o=r(n(2784)),i=n(86993),a=n(76034),l=n(40790),u=r(n(26457)),c=n(72757),d=r(n(94399)),s=n(93713);t.Page=function(e){var t=e.page,n=(0,a.useParams)().uid,r=(0,a.useNavigate)(),f=(0,i.useSelector)(l.pageRuleSelectors.hasRule(t.uid)),p=t.label,v=t.uid,m=n===v;return o.default.createElement(s.PageWrapper,null,o.default.createElement(s.PageButton,{onClick:function(){return r(n===v?"":"page/".concat(v))},className:(0,u.default)(m&&"active",f&&"has-rule")},o.default.createElement(s.PageIcon,null,o.default.createElement(d.default,null)),o.default.createElement(s.PageLabel,null,p)),o.default.createElement(s.PageBody,{className:(0,u.default)(m&&"active",f&&"has-rule")},o.default.createElement(c.Layout,{layoutUid:t.layoutUid})))}},93713:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PageLabel=t.PageIcon=t.PageBody=t.PageButton=t.PageWrapper=void 0;var i,a,l,u,c,d=n(51362),s=o(n(55721));t.PageWrapper=s.default.div(i||(i=r(["\n display: flex;\n flex: 1;\n flex-direction: column;\n"],["\n display: flex;\n flex: 1;\n flex-direction: column;\n"]))),t.PageButton=s.default.button(a||(a=r(["\n position: relative;\n bottom: -1px;\n\n display: inline-flex;\n justify-content: start;\n align-items: center;\n flex-wrap: nowrap;\n gap: ",";\n\n max-width: 150px;\n padding: "," ",";\n\n background-color: ",";\n\n border: 1px solid #cdd8e4;\n border-bottom: none;\n border-radius: "," "," 0 0;\n\n text-align: left;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n\n transition: all 0.2s ease-out;\n\n &.has-rule {\n border-color: ",";\n background-color: ",";\n\n &.active {\n border-right-color: ",";\n }\n }\n\n &.active {\n background-color: ",";\n border-color: ",";\n color: ",";\n }\n\n &,\n &:active,\n &:focus {\n outline: none;\n }\n\n svg {\n width: 18px;\n height: 18px;\n fill: currentColor;\n }\n"],["\n position: relative;\n bottom: -1px;\n\n display: inline-flex;\n justify-content: start;\n align-items: center;\n flex-wrap: nowrap;\n gap: ",";\n\n max-width: 150px;\n padding: "," ",";\n\n background-color: ",";\n\n border: 1px solid #cdd8e4;\n border-bottom: none;\n border-radius: "," "," 0 0;\n\n text-align: left;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n\n transition: all 0.2s ease-out;\n\n &.has-rule {\n border-color: ",";\n background-color: ",";\n\n &.active {\n border-right-color: ",";\n }\n }\n\n &.active {\n background-color: ",";\n border-color: ",";\n color: ",";\n }\n\n &,\n &:active,\n &:focus {\n outline: none;\n }\n\n svg {\n width: 18px;\n height: 18px;\n fill: currentColor;\n }\n"])),d.spacings.sm,d.spacings.xs,d.spacings.sm,d.colors.white,d.borderRadius.md,d.borderRadius.md,d.colors.teal550,d.colors.teal050,d.colors.teal700,d.colors.gray500,d.colors.gray700,d.colors.white),t.PageBody=s.default.div(l||(l=r(["\n padding: ",";\n border: 1px solid #cdd8e4;\n background-color: ",";\n\n border-radius: 0 "," "," ",";\n\n transition: all 0.2s ease-out;\n\n &.has-rule {\n border-color: ",";\n background-color: ",";\n }\n\n &.active {\n background-color: ",";\n border-color: ",";\n }\n"],["\n padding: ",";\n border: 1px solid #cdd8e4;\n background-color: ",";\n\n border-radius: 0 "," "," ",";\n\n transition: all 0.2s ease-out;\n\n &.has-rule {\n border-color: ",";\n background-color: ",";\n }\n\n &.active {\n background-color: ",";\n border-color: ",";\n }\n"])),d.spacings.sm,d.colors.white,d.borderRadius.md,d.borderRadius.md,d.borderRadius.md,d.colors.teal550,d.colors.teal050,d.colors.gray500,d.colors.gray700),t.PageIcon=s.default.div(u||(u=r([""],[""]))),t.PageLabel=s.default.label(c||(c=r(["\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n"],["\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n"])))},79681:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.RowWrapper=void 0;var i,a=n(51362),l=o(n(55721));t.RowWrapper=l.default.div(i||(i=r(["\n display: flex;\n flex-direction: row;\n justify-content: stretch;\n align-items: stretch;\n gap: ",";\n"],["\n display: flex;\n flex-direction: row;\n justify-content: stretch;\n align-items: stretch;\n gap: ",";\n"])),a.spacings.xs)},74899:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Row=void 0;var o=r(n(2784)),i=n(86993),a=n(4165),l=n(95800),u=n(79681);t.Row=function(e){var t=e.row,n=(0,i.useSelector)(a.fieldSelectors.inRow(t));return o.default.createElement(u.RowWrapper,null,n.map((function(e){return o.default.createElement(l.Field,{key:e.uid,field:e})})))}},72089:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.LoaderTabs=void 0;var l=a(n(2784)),u=i(n(76257)),c=i(n(65884)),d=n(51362),s=n(64316);t.LoaderTabs=function(){return l.default.createElement(u.SkeletonTheme,{baseColor:d.colors.gray300,highlightColor:d.colors.gray200,height:10},l.default.createElement(s.TabWrapper,null,l.default.createElement(s.Heading,null,l.default.createElement(s.FormName,null,l.default.createElement(u.default,{width:"50%",height:20}))),l.default.createElement(s.TabsWrapper,null,l.default.createElement("a",{className:"active"},l.default.createElement("span",null,l.default.createElement(u.default,{width:43}))),l.default.createElement("a",null,l.default.createElement("span",null,l.default.createElement(u.default,{width:82}))),c.default.editions.is(c.Edition.Pro)&&l.default.createElement("a",null,l.default.createElement("span",null,l.default.createElement(u.default,{width:36}))),l.default.createElement("a",null,l.default.createElement("span",null,l.default.createElement(u.default,{width:77}))),l.default.createElement("a",null,l.default.createElement("span",null,l.default.createElement(u.default,{width:54})))),l.default.createElement(s.SaveButtonWrapper,null,l.default.createElement(u.default,null))))}},64316:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SaveButton=t.SaveButtonWrapper=t.TabsWrapper=t.FormName=t.Heading=t.TabWrapper=void 0;var i,a,l,u,c,d,s=n(80159),f=n(51362),p=o(n(55721));t.TabWrapper=p.default.nav(i||(i=r(["\n position: relative;\n\n display: grid;\n grid-template-columns: 300px min-content auto;\n align-items: center;\n\n height: 50px;\n flex: 0 0 50px;\n\n box-sizing: border-box;\n overflow-x: hidden;\n"],["\n position: relative;\n\n display: grid;\n grid-template-columns: 300px min-content auto;\n align-items: center;\n\n height: 50px;\n flex: 0 0 50px;\n\n box-sizing: border-box;\n overflow-x: hidden;\n"]))),t.Heading=p.default.h1(a||(a=r(["\n position: relative;\n margin: 0;\n"],["\n position: relative;\n margin: 0;\n"]))),t.FormName=p.default.span(l||(l=r(["\n font-size: 18px;\n font-weight: 700;\n line-height: 1.2;\n color: ",";\n"],["\n font-size: 18px;\n font-weight: 700;\n line-height: 1.2;\n color: ",";\n"])),f.colors.gray700),t.TabsWrapper=p.default.div(u||(u=r(["\n display: flex;\n align-self: flex-end;\n\n background-color: ",";\n border-radius: "," "," 0 0;\n box-shadow:\n inset 0 -1px 0 0 rgba(154, 165, 177, 0.25),\n 0 0 0 1px rgba(154, 165, 177, 0.25);\n\n a {\n display: flex;\n align-items: center;\n\n height: 49px;\n padding: 0 ",";\n\n white-space: nowrap;\n\n color: var(--light-text-color);\n border-radius: "," "," 0 0;\n\n &:hover {\n text-decoration: none;\n background-color: rgba(154, 165, 177, 0.15);\n\n &:not(.active) {\n &:not(:first-child) {\n border-top-left-radius: 0;\n }\n\n &:not(:last-child) {\n border-top-right-radius: 0;\n }\n }\n }\n\n &.active {\n background: ",";\n color: ",";\n box-shadow:\n inset 0 2px 0 ",",\n 0 0 0 1px rgba(51, 64, 77, 0.1),\n 0 2px 12px rgba(205, 216, 228, 0.5) !important;\n }\n\n &.errors {\n position: relative;\n color: ",";\n\n ",";\n }\n\n > span[data-icon] {\n position: relative;\n left: 5px;\n }\n }\n"],["\n display: flex;\n align-self: flex-end;\n\n background-color: ",";\n border-radius: "," "," 0 0;\n box-shadow:\n inset 0 -1px 0 0 rgba(154, 165, 177, 0.25),\n 0 0 0 1px rgba(154, 165, 177, 0.25);\n\n a {\n display: flex;\n align-items: center;\n\n height: 49px;\n padding: 0 ",";\n\n white-space: nowrap;\n\n color: var(--light-text-color);\n border-radius: "," "," 0 0;\n\n &:hover {\n text-decoration: none;\n background-color: rgba(154, 165, 177, 0.15);\n\n &:not(.active) {\n &:not(:first-child) {\n border-top-left-radius: 0;\n }\n\n &:not(:last-child) {\n border-top-right-radius: 0;\n }\n }\n }\n\n &.active {\n background: ",";\n color: ",";\n box-shadow:\n inset 0 2px 0 ",",\n 0 0 0 1px rgba(51, 64, 77, 0.1),\n 0 2px 12px rgba(205, 216, 228, 0.5) !important;\n }\n\n &.errors {\n position: relative;\n color: ",";\n\n ",";\n }\n\n > span[data-icon] {\n position: relative;\n left: 5px;\n }\n }\n"])),f.colors.gray050,f.borderRadius.lg,f.borderRadius.lg,f.spacings.xl,f.borderRadius.md,f.borderRadius.md,f.colors.white,f.colors.gray700,f.colors.gray500,f.colors.error,s.errorAlert),t.SaveButtonWrapper=p.default.div(c||(c=r(["\n display: flex;\n justify-content: end;\n"],["\n display: flex;\n justify-content: end;\n"]))),t.SaveButton=p.default.button(d||(d=r([""],[""])))},45470:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Tabs=void 0;var l=a(n(2784)),u=n(86993),c=n(76034),d=n(11455),s=n(57092),f=i(n(65884)),p=n(36450),v=n(35701),m=n(8697),h=n(72671),g=n(35382),b=n(4165),y=n(90022),_=n(22920),x=n(40319),w=a(n(26457)),O=n(75482),E=a(n(2072)),P=n(64316);t.Tabs=function(){var e=(0,p.useAppDispatch)(),t=(0,u.useSelector)(g.formSelectors.current),n=(0,u.useSelector)(h.contextSelectors.state),r=(0,u.useSelector)(g.formSelectors.errors),o=(0,u.useSelector)(b.fieldSelectors.hasErrors),i=(0,u.useSelector)(y.notificationSelectors.errors.any),a=(0,x.useQueryFormSettings)().data,j=function(){e((0,v.save)())};return(0,_.useOnKeypress)({callback:function(e){if("s"===e.key){var t=window.navigator.platform.match(/Mac/);if(t&&!e.metaKey)return;if(!t&&!e.ctrlKey)return;return e.preventDefault(),j(),!1}},type:"keydown"}),l.default.createElement(P.TabWrapper,null,l.default.createElement(d.Breadcrumb,{label:t.name||"New Form",url:"/forms/".concat(t.id)}),l.default.createElement(P.Heading,null,l.default.createElement(P.FormName,null,t.name||(0,E.default)("New Form"))),l.default.createElement(P.TabsWrapper,{className:"main-tabs"},l.default.createElement(c.NavLink,{to:"",end:!0,className:(0,w.default)(o&&"errors")},l.default.createElement("span",null,(0,E.default)("Layout"))),l.default.createElement(c.NavLink,{to:"notifications",className:(0,w.default)(i&&"errors")},l.default.createElement("span",null,(0,E.default)("Notifications"))),f.default.editions.is(f.Edition.Pro)&&l.default.createElement(c.NavLink,{to:"rules"},l.default.createElement("span",null,(0,E.default)("Rules"))),l.default.createElement(c.NavLink,{to:"integrations"},l.default.createElement("span",null,(0,E.default)("Integrations"))),a&&l.default.createElement(c.NavLink,{to:"settings",className:(0,w.default)(((0,O.hasErrors)(null==r?void 0:r.general)||(0,O.hasErrors)(null==r?void 0:r.behavior))&&"errors")},l.default.createElement("span",null,(0,E.default)("Settings")))),l.default.createElement(P.SaveButtonWrapper,null,l.default.createElement(P.SaveButton,{onClick:j,disabled:n===m.State.Processing,className:(0,w.default)("btn","submit","save-button")},l.default.createElement(s.LoadingText,{loadingText:(0,E.default)("Saving"),loading:n===m.State.Processing,spinner:!0},(0,E.default)("Save")))))}},35653:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Drag=void 0,function(e){e.FieldType="field-type",e.FavoriteField="favorite-field",e.Field="field",e.Row="row",e.OptionRow="option-row",e.Page="page"}(n||(t.Drag=n={}))},37796:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0}),t.EditorGlobalStyles=void 0;var o,i=n(55721);t.EditorGlobalStyles=(0,i.createGlobalStyle)(o||(o=r(["\n #freeform-client-app {\n height: calc(100vh - 100px);\n }\n"],["\n #freeform-client-app {\n height: calc(100vh - 100px);\n }\n"])))},85898:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Edit=void 0;var a=i(n(2784)),l=n(76034),u=n(8697),c=n(35430),d=n(9202),s=n(41533),f=n(40319),p=n(28924),v=n(58604),m=n(9363),h=n(97240),g=n(76064),b=n(12163),y=n(77209),_=n(36450);t.Edit=function(){var e=(0,l.useParams)().formId,t=(0,_.useAppDispatch)();(0,f.useQueryFormSettings)();var n=(0,f.useQuerySingleForm)(e&&Number(e)),r=n.data,o=n.isFetching,i=n.isError,x=n.error;return(0,a.useEffect)((function(){var n;if(void 0!==e&&r){var o=r.layout,i=o.fields,a=o.pages,l=o.layouts,f=o.rows;t(c.formActions.update(r)),t(d.fieldActions.set(i)),t(h.pageActions.set(a)),t(s.layoutActions.set(l)),t(g.rowActions.set(f)),t(b.notificationActions.set([])),t(m.integrationActions.emptyIntegrations()),0===a.length?t((0,y.addNewPage)()):t(u.contextActions.setPage(null===(n=a.find(Boolean))||void 0===n?void 0:n.uid))}}),[r,e]),o?a.default.createElement(v.LoaderBuilder,null):i?a.default.createElement("div",null,"ERROR: ",x.message):a.default.createElement(p.Builder,null)}},70988:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.EditProvider=void 0;var o=r(n(2784)),i=n(86993),a=n(11455),l=n(85797),u=n(85898),c=n(37796),d=n(36450);t.EditProvider=function(){return o.default.createElement(i.Provider,{store:d.store},o.default.createElement(a.Breadcrumb,{label:"Forms",url:"/forms"}),o.default.createElement(c.EditorGlobalStyles,null),o.default.createElement(l.ModalProvider,null,o.default.createElement(u.Edit,null)))}},35701:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.save=void 0;var r=n(410);t.save=(0,r.createAction)("form/save")},27487:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useValueUpdateGenerator=void 0;var r=n(2784),o=n(11692);t.useValueUpdateGenerator=function(e,t,n){return(0,r.useCallback)((function(r){if(!r.disabled)return function(i){n(r.handle,(0,o.applyMiddleware)(i,r.middleware,t,(function(r,i){var a=e.find((function(e){return e.handle===r}));a&&!a.disabled&&n(a.handle,(0,o.applyMiddleware)(i,a.middleware,t))})))}}),[e,t,n])}},36450:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useAppStore=t.useAppSelector=t.useAppDispatch=t.store=void 0;var o=n(86993),i=n(410),a=r(n(43292)),l=n(50489),u=r(n(8697)),c=r(n(35430)),d=r(n(9363)),s=r(n(56169)),f=r(n(12163)),p=r(n(82919)),v=r(n(96636));t.store=(0,i.configureStore)({middleware:[a.default,l.statePersistMiddleware],reducer:{form:c.default,layout:s.default,integrations:d.default,notifications:f.default,rules:p.default,context:u.default,search:v.default}});t.useAppDispatch=function(){return(0,o.useDispatch)()},t.useAppSelector=o.useSelector;t.useAppStore=function(){return(0,o.useStore)()}},50489:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.statePersistMiddleware=t.TOPIC_UPSERTED=t.TOPIC_UPDATED=t.TOPIC_CREATED=t.TOPIC_ERRORS=t.TOPIC_SAVE=void 0;var o=r(n(60014)),i=r(n(98641)),a=n(35701),l=n(8697);t.TOPIC_SAVE=Symbol("form.save"),t.TOPIC_ERRORS=Symbol("form.save.errors"),t.TOPIC_CREATED=Symbol("form.save.crated"),t.TOPIC_UPDATED=Symbol("form.save.updated"),t.TOPIC_UPSERTED=Symbol("form.save.upserted"),i.default.clearAllSubscriptions();var u=function(e,n){i.default.publish(t.TOPIC_ERRORS,{dispatch:e,response:n}),e(l.contextActions.setState(l.State.Idle))};t.statePersistMiddleware=function(e){return function(n){return function(r){if(r&&(n(r),r.type===String(a.save))){var c=e.dispatch;c(l.contextActions.setState(l.State.Processing));var d={dispatch:c,state:e.getState(),persist:{}};i.default.publishSync(t.TOPIC_SAVE,d);var s=d.state.form.id;s?o.default.put("/api/forms/".concat(s),d.persist).then((function(e){return function(e,n){i.default.publish(t.TOPIC_UPDATED,{dispatch:e,response:n}),i.default.publish(t.TOPIC_UPSERTED,{dispatch:e,response:n}),e(l.contextActions.setState(l.State.Idle))}(c,e)})).catch((function(e){return u(c,e)})):o.default.post("/api/forms",d.persist).then((function(e){return function(e,n){i.default.publish(t.TOPIC_CREATED,{dispatch:e,response:n}),i.default.publish(t.TOPIC_UPSERTED,{dispatch:e,response:n}),e(l.contextActions.setState(l.State.Idle))}(c,e)})).catch((function(e){return u(c,e)}))}}}}},72671:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.contextSelectors=void 0;var r=n(75482);t.contextSelectors={currentPage:function(e){var t=e.context.page;return t?e.layout.pages.find((function(e){return e.uid===t})):e.layout.pages.find(Boolean)},hasErrors:function(e){return function(t){var n=t.layout.pages.find((function(t){return t.uid===e})).layoutUid;return t.layout.rows.filter((function(e){return e.layoutUid===n})).some((function(e){return t.layout.fields.filter((function(t){return t.rowUid===e.uid})).some((function(e){return(0,r.hasErrors)(e.errors)}))})),!1}},focus:function(e){return e.context.focus},state:function(e){return e.context.state}}},8697:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0)){for(var n=0,r=t.payload;n=u&&(e.order+=1)}))},remove:function(e,t){var n=t.payload;e.splice(e.findIndex((function(e){return e.uid===n})),1)},removeBatch:function(e,t){t.payload.forEach((function(t){e.splice(e.findIndex((function(e){return e.uid===t})),1)}))},edit:function(e,t){var n=t.payload,r=n.uid,o=n.handle,i=n.value;e.find((function(e){return e.uid===r})).properties[o]=i},batchEdit:function(e,t){var n=t.payload,r=n.uid,o=n.typeClass,i=n.properties,a=e.find((function(e){return e.uid===r}));a.typeClass=o,a.properties=i},clearErrors:function(e){for(var t=0,n=e;t=u;e.order-=t?1:0})),e.filter((function(e){return e.rowUid===o})).filter((function(e){return e.uid!==a.uid})).forEach((function(e){var t=e.order>=a.order;e.order+=t?1:0}))),c&&e.filter((function(e){return e.rowUid===o})).filter((function(e){return e.uid!==a.uid})).forEach((function(e){e.order>u&&e.order<=i&&(e.order-=1),e.order=i&&(e.order+=1)})))}}});var l=t.fieldsSlice.actions;t.fieldActions=l,t.default=t.fieldsSlice.reducer},56169:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=n(74081),i=r(n(9202)),a=r(n(41533)),l=r(n(97240)),u=r(n(76064)),c=(0,o.combineReducers)({fields:i.default,pages:l.default,rows:u.default,layouts:a.default});t.default=c},41533:function(e,t,n){"use strict";var r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;oa&&(e.order-=1),o=a&&(t+=1),e.order=t}))},remove:function(e,t){var n=e.findIndex((function(e){return e.uid===t.payload}));e.splice(n,1)},swap:function(e,t){var n=e.find((function(e){return e.uid===t.payload.currentUid})),r=e.find((function(e){return e.uid===t.payload.targetUid})),o=n.order;n.order=r.order,r.order=o}}});var i=t.rowsSlice.actions;t.rowActions=i,t.default=t.rowsSlice.reducer},41294:function(e,t,n){"use strict";var r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o=a.default.limits.fields)){var o=e.fieldType,i=e.row,s=e.layoutUid;if(!s){var f=n();s=i?i.layoutUid:null===(r=u.layoutSelectors.currentPageLayout(f))||void 0===r?void 0:r.uid}var p=(0,d.v4)(),v=(0,d.v4)();t(c.rowActions.add({layoutUid:s,uid:v,order:null==i?void 0:i.order})),t(l.fieldActions.add({fieldType:o,uid:p,rowUid:v}))}}},existingRow:function(e){return function(t){var n=e.fieldType,r=e.row,o=e.order,i=(0,d.v4)();t(l.fieldActions.add({fieldType:n,uid:i,rowUid:r.uid,order:o}))}}}},38143:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9202),o=n(33523);t.default=function(e){return function(t,n){t(r.fieldActions.remove(e.uid)),(0,o.removeEmptyRows)(n(),t)}}},19007:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n.9?8:4,Math.floor(Math.random()*(t-e+1))+e)};var e,t}));return o.default.createElement(l.CardWrapper,null,o.default.createElement(l.CardBody,null,o.default.createElement(i.default,{height:20,width:"50%"}),o.default.createElement(i.default,{height:10,width:"80%"}),o.default.createElement(l.LinkList,null,o.default.createElement("li",null,o.default.createElement(i.default,{height:8,width:90})),o.default.createElement("li",null,o.default.createElement(i.default,{height:8,width:50})))),o.default.createElement(a.ResponsiveContainer,{width:"100%",height:40},o.default.createElement(a.AreaChart,{data:t,margin:{top:10,bottom:3,left:0,right:0}},o.default.createElement("defs",null,o.default.createElement("linearGradient",{id:"colorGradient",x1:0,y1:0,x2:0,y2:1},o.default.createElement("stop",{offset:"5%",stopColor:e,stopOpacity:.4}),o.default.createElement("stop",{offset:"95%",stopColor:e,stopOpacity:.3}))),o.default.createElement(a.Area,{type:"monotone",dataKey:"value",stroke:e,strokeWidth:1,strokeOpacity:1,fillOpacity:1,fill:"url(#colorGradient)",isAnimationActive:!1}))),o.default.createElement(l.PaddedChartFooter,{$color:e}))}},78303:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PaddedChartFooter=t.CardWrapper=t.LinkList=t.ControlButton=t.Controls=t.Subtitle=t.Title=t.CardBody=void 0;var i,a,l,u,c,d,s,f,p=n(51362),v=o(n(55721));t.CardBody=v.default.div(i||(i=r(["\n flex: 1;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n\n padding: "," "," 0;\n"],["\n flex: 1;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n\n padding: "," "," 0;\n"])),p.spacings.xl,p.spacings.xl),t.Title=v.default.h2(a||(a=r(["\n cursor: pointer;\n\n margin: 0;\n\n color: #3d464e;\n\n font-size: 20px;\n font-weight: 700;\n text-align: left;\n\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n\n transition: all 0.2s ease-out;\n"],["\n cursor: pointer;\n\n margin: 0;\n\n color: #3d464e;\n\n font-size: 20px;\n font-weight: 700;\n text-align: left;\n\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n\n transition: all 0.2s ease-out;\n"]))),t.Subtitle=v.default.span(l||(l=r(["\n display: inline-block;\n\n color: #868f96;\n font-size: 14px;\n\n max-width: 100%;\n\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n"],["\n display: inline-block;\n\n color: #868f96;\n font-size: 14px;\n\n max-width: 100%;\n\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n"]))),t.Controls=v.default.div(u||(u=r(["\n position: absolute;\n right: ",";\n top: ",";\n z-index: 2;\n\n display: flex;\n justify-content: end;\n align-items: stretch;\n gap: ",";\n\n opacity: 0;\n transform: translateY(-20px);\n transition: all 0.2s ease-out;\n"],["\n position: absolute;\n right: ",";\n top: ",";\n z-index: 2;\n\n display: flex;\n justify-content: end;\n align-items: stretch;\n gap: ",";\n\n opacity: 0;\n transform: translateY(-20px);\n transition: all 0.2s ease-out;\n"])),p.spacings.sm,p.spacings.sm,p.spacings.sm),t.ControlButton=v.default.button(c||(c=r(["\n font-size: 14px;\n color: #868f96;\n\n > svg {\n fill: currentColor;\n }\n"],["\n font-size: 14px;\n color: #868f96;\n\n > svg {\n fill: currentColor;\n }\n"]))),t.LinkList=v.default.ul(d||(d=r(["\n margin: "," 0 0;\n padding: 0;\n"],["\n margin: "," 0 0;\n padding: 0;\n"])),p.spacings.sm),t.CardWrapper=v.default.li(s||(s=r(["\n position: relative;\n\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n\n overflow: hidden;\n\n background-color: #fcfdff;\n border: 1px solid #e7eef7;\n border-radius: var(--large-border-radius);\n\n opacity: 1;\n pointer-events: auto;\n\n transition:\n background-color 0.2s ease-out,\n border-color 0.2s ease-out;\n\n &.disabled {\n opacity: 0.5;\n pointer-events: none;\n }\n\n &:not(.dragging):hover {\n background-color: #f3f7fd;\n border-color: #9eb0c5;\n\n "," {\n color: #0161f3;\n }\n\n "," {\n opacity: 1;\n transform: translateY(0);\n }\n }\n"],["\n position: relative;\n\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n\n overflow: hidden;\n\n background-color: #fcfdff;\n border: 1px solid #e7eef7;\n border-radius: var(--large-border-radius);\n\n opacity: 1;\n pointer-events: auto;\n\n transition:\n background-color 0.2s ease-out,\n border-color 0.2s ease-out;\n\n &.disabled {\n opacity: 0.5;\n pointer-events: none;\n }\n\n &:not(.dragging):hover {\n background-color: #f3f7fd;\n border-color: #9eb0c5;\n\n "," {\n color: #0161f3;\n }\n\n "," {\n opacity: 1;\n transform: translateY(0);\n }\n }\n"])),t.Title,t.Controls),t.PaddedChartFooter=v.default.div(f||(f=r(["\n margin-top: -3px;\n\n background-color: ",";\n opacity: 0.3;\n\n height: 5px;\n\n font-size: 1px;\n line-height: 1px;\n\n overflow: hidden;\n"],["\n margin-top: -3px;\n\n background-color: ",";\n opacity: 0.3;\n\n height: 5px;\n\n font-size: 1px;\n line-height: 1px;\n\n overflow: hidden;\n"])),(function(e){return e.$color}))},72003:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n.9?50:20,Math.floor(Math.random()*(t-e+1))+e)};var e,t})),D=t.id,F=t.name,T=t.settings.general,L=T.color,R=T.description,A=o.isLoading&&o.context===D,B=x.isLoading&&x.context===D,W=A||B,I=function(){O.invalidateQueries(c.QKForms.single(Number(D))),w("".concat(D))};return i.default.createElement(y.CardWrapper,{"data-id":t.id,className:(0,d.default)(W&&"disabled",n&&"dragging")},i.default.createElement(y.Controls,null,i.default.createElement(l.Tooltip,r({title:(0,s.default)("Move")},_),i.default.createElement(y.ControlButton,{className:"handle"},i.default.createElement(b.default,null))),i.default.createElement(l.Tooltip,r({title:(0,s.default)("Duplicate this Form")},_),i.default.createElement(y.ControlButton,{onClick:function(){x.mutate(D)}},i.default.createElement(h.default,null))),i.default.createElement(l.Tooltip,r({title:(0,s.default)("Delete this Form")},_),i.default.createElement(y.ControlButton,{onClick:function(){confirm((0,s.default)("Are you sure you want to delete this form?"))&&o.mutate(D)}},i.default.createElement(g.default,null)))),i.default.createElement(y.CardBody,null,j?i.default.createElement(l.Tooltip,r({title:F},_),i.default.createElement(y.Title,{ref:P,onClick:I},F)):i.default.createElement(y.Title,{ref:P,onClick:I},F),!!R&&(C?i.default.createElement(l.Tooltip,r({title:R},_),i.default.createElement(y.Subtitle,{ref:k},R)):i.default.createElement(y.Subtitle,{ref:k,title:R},R)),i.default.createElement(y.LinkList,null,i.default.createElement("li",null,i.default.createElement("a",{href:(0,f.generateUrl)("submissions/".concat(t.handle),!1)},t.counters.submissions," ",(0,s.default)("Submissions"))),i.default.createElement("li",null,i.default.createElement("a",{href:(0,f.generateUrl)("spam/".concat(t.handle),!1)},t.counters.spam," ",(0,s.default)("Spam"))))),i.default.createElement(v.ResponsiveContainer,{width:"100%",height:40},i.default.createElement(v.AreaChart,{data:t.chartData||S,margin:{top:10,bottom:3,left:0,right:0}},i.default.createElement("defs",null,i.default.createElement("linearGradient",{id:"color".concat(t.id),x1:0,y1:0,x2:0,y2:1},i.default.createElement("stop",{offset:"5%",stopColor:L,stopOpacity:.4}),i.default.createElement("stop",{offset:"95%",stopColor:L,stopOpacity:.3}))),i.default.createElement(v.Area,{type:"monotone",dataKey:"uv",stroke:L,strokeWidth:1,strokeOpacity:1,fillOpacity:1,fill:"url(#color".concat(t.id,")"),isAnimationActive:!1}))),i.default.createElement(y.PaddedChartFooter,{$color:L}))}},80992:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ListProvider=void 0;var o=r(n(2784)),i=n(11455),a=n(85797),l=n(15443),u=n(79634),c=n(51567);t.ListProvider=function(){var e=(0,u.useQueryClient)();return e.prefetchQuery(l.QKFieldTypes.all,l.fetchFieldTypes),e.prefetchQuery(l.QKFieldTypes.propertySections(),l.fetchFieldPropertySections),o.default.createElement(a.ModalProvider,null,o.default.createElement(i.Breadcrumb,{label:"Forms",url:"/forms"}),o.default.createElement(c.List,null))}},54552:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.chartDataset=void 0,t.chartDataset=[[{uv:0},{uv:2},{uv:0},{uv:6},{uv:0},{uv:0},{uv:1},{uv:0},{uv:0},{uv:4},{uv:0},{uv:3}],[{uv:9},{uv:6},{uv:3},{uv:4},{uv:0},{uv:6},{uv:1}],[{uv:0},{uv:25},{uv:0},{uv:32},{uv:0},{uv:0}]]},17794:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.MutedWrapper=void 0;var i,a=n(51362),l=o(n(55721)),u=n(78303),c=n(3489);t.MutedWrapper=(0,l.default)(c.Wrapper)(i||(i=r(["\n position: relative;\n margin-top: ",";\n\n &:after {\n content: '';\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n\n z-index: 2;\n\n background: linear-gradient(\n to right,\n transparent 0%,\n transparent 40%,\n white 65%,\n white 100%\n );\n }\n\n &,\n * {\n pointer-events: none;\n user-select: none;\n }\n\n "," {\n border-color: #fbfcfd;\n background: #fefeff;\n }\n\n ",", "," a {\n color: #cfd1d2;\n }\n\n "," {\n color: #e2e4e5;\n }\n"],["\n position: relative;\n margin-top: ",";\n\n &:after {\n content: '';\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n\n z-index: 2;\n\n background: linear-gradient(\n to right,\n transparent 0%,\n transparent 40%,\n white 65%,\n white 100%\n );\n }\n\n &,\n * {\n pointer-events: none;\n user-select: none;\n }\n\n "," {\n border-color: #fbfcfd;\n background: #fefeff;\n }\n\n ",", "," a {\n color: #cfd1d2;\n }\n\n "," {\n color: #e2e4e5;\n }\n"])),a.spacings.xl,u.CardWrapper,u.Title,u.LinkList,u.Subtitle)},93633:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.EmptyList=void 0;var o=r(n(2784)),i=r(n(2072)),a=n(72003),l=n(16817),u=n(54552),c=n(17794),d=function(e,t,n,r,o){return{uid:"",type:"",name:e,handle:"",chartData:n,counters:{submissions:r,spam:o},settings:{general:{description:t,color:"#e0e0e0"}}}};t.EmptyList=function(){var e=(0,l.useCreateFormModal)();return o.default.createElement(o.default.Fragment,null,o.default.createElement("p",null,(0,i.default)("You don't have any forms yet. Create your first form now...")),o.default.createElement("button",{className:"btn submit add icon",onClick:e},(0,i.default)("New Form")),o.default.createElement(c.MutedWrapper,null,o.default.createElement(a.Card,{form:d("Contact Form","Main contact form.",u.chartDataset[0],14,5)}),o.default.createElement(a.Card,{form:d("Customer Survey","Customer satisfaction survey.",u.chartDataset[1],72,18)}),o.default.createElement(a.Card,{form:d("Newsletter","Newsletter signup form.",u.chartDataset[2],138,7)})))}},48962:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useCloneFormMutation=t.useDeleteFormMutation=void 0;var o=n(40319),i=n(79634),a=n(79634),l=r(n(60014));t.useDeleteFormMutation=function(){var e=(0,i.useQueryClient)();return(0,a.useMutation)((function(e){return l.default.delete("/api/forms/".concat(e))}),{onMutate:function(e){return e},onSuccess:function(t,n){e.setQueryData(o.QKForms.all,(function(e){return e.filter((function(e){return e.id!==n}))}))}})};t.useCloneFormMutation=function(){var e=(0,i.useQueryClient)();return(0,a.useMutation)((function(e){return l.default.post("/api/forms/".concat(e,"/clone"))}),{onMutate:function(e){return e},onSuccess:function(){e.invalidateQueries(o.QKForms.all)}})}},3489:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Title=t.Header=t.Wrapper=void 0;var i,a,l,u=n(51362),c=o(n(55721));t.Wrapper=c.default.ul(i||(i=r(["\n display: grid;\n grid-template-columns: repeat(4, 1fr);\n gap: ",";\n"],["\n display: grid;\n grid-template-columns: repeat(4, 1fr);\n gap: ",";\n"])),u.spacings.lg),t.Header=c.default.header(a||(a=r(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n"],["\n display: flex;\n justify-content: space-between;\n align-items: center;\n"]))),t.Title=c.default.h1(l||(l=r(["\n padding: "," 0;\n margin: 0;\n\n font-size: 18px;\n font-weight: 700;\n line-height: 34px;\n"],["\n padding: "," 0;\n margin: 0;\n\n font-size: 18px;\n font-weight: 700;\n line-height: 34px;\n"])),u.spacings.sm)},51567:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.List=void 0;var l=i(n(2784)),u=a(n(65884)),c=n(40319),d=a(n(26457)),s=a(n(2072)),f=a(n(60014)),p=a(n(10324)),v=n(72003),m=n(20511),h=n(16817),g=n(58778),b=n(93633),y=n(3489);t.List=function(){var e=(0,c.useQueryFormsWithStats)(),t=e.data,n=e.isFetching,r=(0,h.useCreateFormModal)(),o=u.default.limits.forms,i=(null==t?void 0:t.length)||1,a=!n&&t&&!t.length,_=(0,l.useRef)(null),x=(0,l.useRef)(null),w=(0,l.useState)(!1),O=w[0],E=w[1],P=function(){var e=x.current.toArray();f.default.post("/api/forms/sort",{orderedFormIds:e}),E(!1)};return(0,l.useEffect)((function(){x.current=new p.default(_.current,{animation:150,onEnd:P,handle:".handle",onStart:function(){E(!0)}})}),[]),l.default.createElement(l.default.Fragment,null,l.default.createElement(y.Header,null,l.default.createElement(y.Title,null,(0,s.default)("Forms")),(!o||i0&&o[o.length-1])||6!==l[0]&&2!==l[0])){a=0;continue}if(3===l[0]&&(!o||l[1]>o[0]&&l[1]{errors} logged errors in the Freeform error log.',{link:(0,l.generateUrl)("settings/error-log"),errors:t.errors})}}))):null:null}},58361:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useLogoAnimation=void 0;var r=n(79066);t.useLogoAnimation=function(){var e=(0,r.useSpring)({from:{opacity:0,scale:0},to:{opacity:1,scale:1}}),t=(0,r.useSpringRef)(),n=(0,r.useSpring)({ref:t,from:{opacity:0,scale:0},to:{opacity:1,scale:1},config:{tension:300}}),o=(0,r.useSpringRef)(),i=(0,r.useTrail)(5,{ref:o,from:{opacity:0,x:-30,y:10},to:{opacity:1,x:0,y:0},config:{tension:300}}),a=(0,r.useSpringRef)(),l=(0,r.useSpring)({ref:a,from:{opacity:0,scale:0,x:-30,y:10},to:{opacity:1,scale:1,x:0,y:0},config:{tension:200}}),u=(0,r.useSpringRef)(),c=(0,r.useSpring)({ref:u,from:{opacity:0,scale:.6,x:30,y:-40},to:{opacity:1,scale:1,x:0,y:0},config:{tension:130}}),d=(0,r.useSpringRef)(),s=(0,r.useTrail)(8,{ref:d,from:{opacity:0,scale:1.05},to:{opacity:1,scale:1}});return(0,r.useChain)([t,o,a,u,d],[0,.8,.6,1,.8]),{background:e,border:n,lines:i,check:l,pencil:c,letters:s}}},56919:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0;var i,a=o(n(2784)),l=n(79066),u=o(n(55721)),c=n(58361),d=(0,u.default)(l.animated.path)(i||(i=r(["\n transform-origin: 54px;\n"],["\n transform-origin: 54px;\n"])));t.Logo=function(){var e=(0,c.useLogoAnimation)(),t=e.border,n=e.lines,r=e.check,o=e.pencil,i=e.letters;return a.default.createElement(a.default.Fragment,null,a.default.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0",y:"0",width:"581",height:"121",viewBox:"0, 0, 581, 121"},a.default.createElement("g",null,a.default.createElement(l.animated.path,{style:i[0],d:"M137.033,21 L137.033,97.284 L153.807,97.284 L153.807,65.766 L185.752,65.766 L185.752,52.732 L153.807,52.732 L153.807,35.103 L190.667,35.103 L190.667,21 z",fill:"#058FFE"}),a.default.createElement(l.animated.path,{style:i[1],d:"M196.65,42.047 L196.65,97.284 L211.821,97.284 L211.821,72.39 Q211.821,68.651 212.569,65.445 Q213.317,62.24 215.08,59.836 Q216.842,57.432 219.727,56.044 Q222.612,54.655 226.779,54.655 Q228.167,54.655 229.663,54.815 Q231.159,54.975 232.227,55.189 L232.227,41.086 Q230.411,40.552 228.915,40.552 Q226.031,40.552 223.36,41.406 Q220.689,42.261 218.338,43.81 Q215.988,45.36 214.171,47.55 Q212.355,49.74 211.287,52.304 L211.073,52.304 L211.073,42.047 z",fill:"#058FFE"}),a.default.createElement(l.animated.path,{style:i[2],d:"M273.468,63.736 L248.788,63.736 Q248.894,62.133 249.482,60.103 Q250.07,58.074 251.512,56.257 Q252.954,54.441 255.358,53.212 Q257.762,51.984 261.395,51.984 Q266.95,51.984 269.675,54.975 Q272.399,57.967 273.468,63.736 z M248.788,73.352 L288.639,73.352 Q289.066,66.941 287.571,61.065 Q286.075,55.189 282.709,50.595 Q279.344,46.001 274.109,43.276 Q268.874,40.552 261.822,40.552 Q255.518,40.552 250.337,42.795 Q245.155,45.039 241.416,48.939 Q237.676,52.838 235.646,58.18 Q233.616,63.522 233.616,69.719 Q233.616,76.129 235.593,81.471 Q237.569,86.813 241.202,90.66 Q244.834,94.506 250.07,96.589 Q255.305,98.673 261.822,98.673 Q271.224,98.673 277.848,94.399 Q284.472,90.126 287.677,80.189 L274.322,80.189 Q273.574,82.754 270.262,85.051 Q266.95,87.348 262.356,87.348 Q255.946,87.348 252.527,84.036 Q249.108,80.724 248.788,73.352 z",fill:"#058FFE"}),a.default.createElement(l.animated.path,{style:i[3],d:"M334.794,63.736 L310.114,63.736 Q310.221,62.133 310.808,60.103 Q311.396,58.074 312.838,56.257 Q314.281,54.441 316.684,53.212 Q319.088,51.984 322.721,51.984 Q328.277,51.984 331.001,54.975 Q333.725,57.967 334.794,63.736 z M310.114,73.352 L349.965,73.352 Q350.392,66.941 348.897,61.065 Q347.401,55.189 344.035,50.595 Q340.67,46.001 335.435,43.276 Q330.2,40.552 323.148,40.552 Q316.845,40.552 311.663,42.795 Q306.481,45.039 302.742,48.939 Q299.002,52.838 296.972,58.18 Q294.942,63.522 294.942,69.719 Q294.942,76.129 296.919,81.471 Q298.896,86.813 302.528,90.66 Q306.161,94.506 311.396,96.589 Q316.631,98.673 323.148,98.673 Q332.55,98.673 339.174,94.399 Q345.798,90.126 349.004,80.189 L335.649,80.189 Q334.901,82.754 331.589,85.051 Q328.277,87.348 323.682,87.348 Q317.272,87.348 313.853,84.036 Q310.434,80.724 310.114,73.352 z",fill:"#058FFE"}),a.default.createElement(l.animated.path,{style:i[4],d:"M362.252,52.197 L362.252,97.284 L377.423,97.284 L377.423,52.197 L387.893,52.197 L387.893,42.047 L377.423,42.047 L377.423,38.735 Q377.423,35.317 378.759,33.874 Q380.094,32.432 383.192,32.432 Q386.077,32.432 388.748,32.752 L388.748,21.427 Q386.825,21.321 384.795,21.16 Q382.765,21 380.735,21 Q371.44,21 366.846,25.701 Q362.252,30.402 362.252,37.774 L362.252,42.047 L353.17,42.047 L353.17,52.197 z",fill:"#058FFE"}),a.default.createElement(l.animated.path,{style:i[5],d:"M405.842,69.719 Q405.842,66.407 406.484,63.202 Q407.125,59.997 408.674,57.539 Q410.223,55.082 412.787,53.533 Q415.351,51.984 419.197,51.984 Q423.044,51.984 425.661,53.533 Q428.279,55.082 429.828,57.539 Q431.377,59.997 432.018,63.202 Q432.659,66.407 432.659,69.719 Q432.659,73.031 432.018,76.183 Q431.377,79.335 429.828,81.845 Q428.279,84.356 425.661,85.852 Q423.044,87.348 419.197,87.348 Q415.351,87.348 412.787,85.852 Q410.223,84.356 408.674,81.845 Q407.125,79.335 406.484,76.183 Q405.842,73.031 405.842,69.719 z M390.671,69.719 Q390.671,76.343 392.701,81.685 Q394.731,87.027 398.471,90.82 Q402.21,94.613 407.445,96.643 Q412.68,98.673 419.197,98.673 Q425.715,98.673 431.003,96.643 Q436.292,94.613 440.031,90.82 Q443.771,87.027 445.801,81.685 Q447.831,76.343 447.831,69.719 Q447.831,63.095 445.801,57.7 Q443.771,52.304 440.031,48.511 Q436.292,44.719 431.003,42.635 Q425.715,40.552 419.197,40.552 Q412.68,40.552 407.445,42.635 Q402.21,44.719 398.471,48.511 Q394.731,52.304 392.701,57.7 Q390.671,63.095 390.671,69.719 z",fill:"#058FFE"}),a.default.createElement(l.animated.path,{style:i[6],d:"M454.455,42.048 L454.455,97.284 L469.626,97.284 L469.626,72.39 Q469.626,68.651 470.374,65.445 Q471.122,62.24 472.885,59.836 Q474.647,57.432 477.532,56.044 Q480.417,54.655 484.584,54.655 Q485.973,54.655 487.468,54.815 Q488.964,54.975 490.032,55.189 L490.032,41.086 Q488.216,40.552 486.72,40.552 Q483.836,40.552 481.165,41.406 Q478.494,42.261 476.143,43.81 Q473.793,45.36 471.976,47.55 Q470.16,49.74 469.092,52.304 L468.878,52.304 L468.878,42.048 z",fill:"#058FFE"}),a.default.createElement(l.animated.path,{style:i[7],d:"M495.374,42.048 L495.374,97.284 L510.546,97.284 L510.546,65.232 Q510.546,61.172 511.721,58.661 Q512.896,56.15 514.552,54.815 Q516.208,53.479 517.971,52.999 Q519.734,52.518 520.802,52.518 Q524.435,52.518 526.305,53.746 Q528.174,54.975 528.976,57.005 Q529.777,59.035 529.884,61.439 Q529.991,63.843 529.991,66.3 L529.991,97.284 L545.162,97.284 L545.162,66.514 Q545.162,63.95 545.536,61.439 Q545.91,58.928 547.032,56.952 Q548.153,54.975 550.13,53.746 Q552.107,52.518 555.312,52.518 Q558.517,52.518 560.387,53.586 Q562.256,54.655 563.218,56.471 Q564.179,58.287 564.393,60.745 Q564.607,63.202 564.607,65.98 L564.607,97.284 L579.778,97.284 L579.778,60.317 Q579.778,54.975 578.282,51.182 Q576.787,47.39 574.116,45.039 Q571.445,42.689 567.705,41.62 Q563.966,40.552 559.585,40.552 Q553.816,40.552 549.596,43.33 Q545.376,46.107 542.918,49.74 Q540.675,44.612 536.348,42.582 Q532.021,40.552 526.785,40.552 Q521.337,40.552 517.116,42.902 Q512.896,45.253 509.905,49.526 L509.691,49.526 L509.691,42.048 z",fill:"#058FFE"})),a.default.createElement("g",null,a.default.createElement(d,{id:"border",style:t,d:"M38.21,8.235 C55.991,3.485 48.257,5.547 61.41,2.045 C81.122,-3.121 85.308,12.293 86.733,17.316 C87.578,20.376 88.397,23.444 89.221,26.511 L85.846,39.107 C84.005,32.333 82.23,25.54 80.268,18.799 C77.299,8.891 73.26,6.026 62.542,8.526 C52.269,11.295 21.955,19.37 18.061,20.461 C11.917,22.214 5.241,25.568 8.378,37.778 C11.495,49.432 20.359,82.504 25.555,101.889 C29.226,116.009 37.094,114.185 43.274,112.875 C48.704,111.465 80.987,102.813 87.871,100.899 C98.428,97.964 99.959,92.397 97.461,82.748 L96.649,79.683 L100.059,66.957 C101.32,71.668 102.579,76.379 103.838,81.09 C108.849,99.83 97.949,104.671 89.358,107.378 C84.703,108.639 62.438,114.602 45.371,119.171 C25.355,124.656 20.772,109.079 19.296,103.67 C17.82,98.262 5.477,52.147 2.127,39.56 C-3.194,19.969 11.809,15.443 16.267,14.164 C23.57,12.146 30.892,10.198 38.21,8.235 z",fill:"#058FFE"}),a.default.createElement(d,{id:"Pencil",style:o,d:"M104.896,9.029 C108.021,9.788 109.983,12.498 109.216,15.366 C108.45,18.234 91.809,79.661 91.809,79.661 L91.809,79.661 C89.131,83.319 86.452,86.977 83.789,90.648 C83.326,91.289 82.471,91.069 82.416,90.222 L80.555,76.613 C80.555,76.613 97.181,15.201 97.968,12.32 C98.754,9.438 101.772,8.27 104.896,9.029 z",fill:"#FF6624"}),a.default.createElement(d,{id:"line-5",style:n[4],d:"M33.991,89.16 L55.133,83.495 L57.764,93.316 L36.622,98.981 z",fill:"#058FFE"}),a.default.createElement(d,{id:"line-1",style:n[0],d:"M50.225,33.282 L71.367,27.617 L72.77,32.85 L51.628,38.516 z",fill:"#058FFE"}),a.default.createElement(d,{id:"line-2",style:n[1],d:"M53.591,45.845 L74.734,40.18 L76.137,45.416 L54.994,51.081 z",fill:"#058FFE"}),a.default.createElement(d,{id:"check",style:r,d:"M44.691,24.459 L34.761,41.811 L30.887,39.484 L28.718,43.126 L36.268,47.485 L39.034,42.686 L41.193,50.742 L28.637,54.107 L24.459,38.516 L33.43,36 L36.34,30.96 L19.598,35.446 L25.878,58.883 L45.968,53.499 L41.793,37.916 L48.4,26.471 z",fill:"#058FFE"}),a.default.createElement(d,{id:"line-4",style:n[3],d:"M30.933,77.748 L79.11,64.818 L77.427,70.967 L32.335,82.981 z",fill:"#058FFE"}),a.default.createElement(d,{id:"line-3",style:n[2],d:"M27.662,65.888 L78.053,52.385 L79.456,57.619 L29.064,71.122 z",fill:"#058FFE"}))))}},85490:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useWelcomeAnimations=void 0;var r=n(79066);t.useWelcomeAnimations=function(){var e=(0,r.useSpring)({from:{opacity:0,scale:.5},to:{opacity:1,scale:1},delay:1e3}),t=(0,r.useSpringRef)(),n=(0,r.useSpring)({ref:t,from:{opacity:0,y:10},to:{opacity:1,y:0},delay:1e3}),o=(0,r.useSpringRef)(),i=(0,r.useSpring)({ref:o,from:{opacity:0,y:10},to:{opacity:1,y:0}}),a=(0,r.useSpringRef)(),l=(0,r.useTrail)(4,{ref:a,from:{opacity:0,y:20},to:{opacity:1,y:0}});return(0,r.useChain)([t,o,a],[0,2,2.2]),{installed:{icon:e,text:n},extra:i,buttons:l}}},40632:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Button=t.ButtonsWrapper=t.ExtraContentWrapper=t.InstallText=t.InstallIcon=t.InstallWrapper=t.LogoWrapper=t.WelcomeWrapper=void 0;var i,a,l,u,c,d,s,f,p=n(79066),v=n(51362),m=o(n(55721));t.WelcomeWrapper=m.default.div(i||(i=r(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: 20px;\n\n height: 80vh;\n padding: 40px;\n\n background-color: ",";\n border-radius: ",";\n box-shadow: ",", ",";\n"],["\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: 20px;\n\n height: 80vh;\n padding: 40px;\n\n background-color: ",";\n border-radius: ",";\n box-shadow: ",", ",";\n"])),v.colors.white,v.borderRadius.lg,v.shadows.panel,v.shadows.box),t.LogoWrapper=m.default.div(a||(a=r([""],[""]))),t.InstallWrapper=m.default.div(l||(l=r(["\n display: flex;\n align-items: center;\n gap: ",";\n\n margin-top: 20px;\n\n font-size: 22px;\n fill: ",";\n"],["\n display: flex;\n align-items: center;\n gap: ",";\n\n margin-top: 20px;\n\n font-size: 22px;\n fill: ",";\n"])),v.spacings.sm,v.colors.teal500),t.InstallIcon=(0,m.default)(p.animated.div)(u||(u=r(["\n font-size: 30px;\n"],["\n font-size: 30px;\n"]))),t.InstallText=(0,m.default)(p.animated.div)(c||(c=r([""],[""]))),t.ExtraContentWrapper=(0,m.default)(p.animated.div)(d||(d=r(["\n max-width: 60%;\n margin-top: 20px;\n\n color: ",";\n font-style: italic;\n text-align: center;\n"],["\n max-width: 60%;\n margin-top: 20px;\n\n color: ",";\n font-style: italic;\n text-align: center;\n"])),v.colors.gray400),t.ButtonsWrapper=m.default.div(s||(s=r(["\n display: flex;\n justify-content: center;\n gap: ",";\n\n margin-top: 40px;\n"],["\n display: flex;\n justify-content: center;\n gap: ",";\n\n margin-top: 40px;\n"])),v.spacings.sm),t.Button=(0,m.default)(p.animated.div)(f||(f=r(["\n a {\n color: inherit;\n text-decoration: none;\n }\n"],["\n a {\n color: inherit;\n text-decoration: none;\n }\n"])))},44278:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Welcome=void 0;var o=r(n(2784)),i=n(76034),a=n(11455),l=r(n(2072)),u=n(23656),c=r(n(75935)),d=n(56919),s=n(85490),f=n(40632);t.Welcome=function(){var e=(0,s.useWelcomeAnimations)(),t=e.installed,n=e.extra,r=e.buttons;return o.default.createElement(f.WelcomeWrapper,null,o.default.createElement(a.Breadcrumb,{label:"Welcome",url:"/forms"}),o.default.createElement(f.LogoWrapper,null,o.default.createElement(d.Logo,null)),o.default.createElement(f.InstallWrapper,null,o.default.createElement(f.InstallIcon,{style:t.icon},o.default.createElement(c.default,null)),o.default.createElement(f.InstallText,{style:t.text},o.default.createElement("span",null,(0,l.default)("Freeform installed successfully!")))),o.default.createElement(f.ExtraContentWrapper,{style:n},(0,l.default)("\n Thank you for choosing Freeform! Craft will install the free\n Express edition by default. If you wish to maximize your\n experience, be sure to manually switch the edition to Lite or\n Pro. Below are a few helpful links to get you started.\n ")),o.default.createElement(f.ButtonsWrapper,null,o.default.createElement(f.Button,{style:r[0],className:"btn"},o.default.createElement(i.NavLink,{to:"/forms"},(0,l.default)("Create Forms"))),o.default.createElement(f.Button,{style:r[2],className:"btn"},o.default.createElement("a",{href:(0,u.generateUrl)("/settings/demo-templates")},(0,l.default)("Install Demo"))),o.default.createElement(f.Button,{style:r[1],className:"btn submit"},o.default.createElement("a",{href:(0,u.generateUrl)("/settings")},(0,l.default)("Configure Freeform")))))}},31070:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.EscapeStackProvider=t.useEscapeStack=void 0;var a=i(n(2784)),l=(0,a.createContext)({stack:[],push:function(){},pop:function(){}});t.useEscapeStack=function(e,t){void 0===t&&(t=!0);var n=(0,a.useContext)(l),r=n.push,o=n.pop;(0,a.useEffect)((function(){return t?r(e):o(e),function(){o(e)}}),[t])};t.EscapeStackProvider=function(e){var t=e.children,n=[];return(0,a.useEffect)((function(){var e=function(e){if("Escape"===e.key){var t=n.at(-1);t&&t()}};return document.addEventListener("keydown",e),function(){document.removeEventListener("keydown",e)}}),[]),a.default.createElement(l.Provider,{value:{stack:n,push:function(e){n.push(e)},pop:function(e){if(!e)return n.pop();var t=n.indexOf(e);return-1!==t?n.splice(t,1)[0]:void 0}}},t)}},12828:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useCheckOverflow=void 0;var r=n(2784);t.useCheckOverflow=function(){var e=(0,r.useRef)(null),t=(0,r.useState)(!1),n=t[0],o=t[1];return(0,r.useEffect)((function(){var t=function(){var t=e.current;t&&o(t.scrollWidth>t.clientWidth)};return window.addEventListener("resize",t),t(),function(){return window.removeEventListener("resize",t)}}),[e]),[e,n]}},9726:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useClickOutside=void 0;var r=n(2784),o=n(26457);t.useClickOutside=function(e){var t=e.callback,n=e.isEnabled,i=e.refObject,a=e.excludeClassNames,l=(0,r.useRef)(),u=i||l;return(0,r.useEffect)((function(){var e=function(e){n&&n&&u.current&&!u.current.contains(e.target)&&!(0,o.elementTreeHasClass)(e.target,a)&&"function"==typeof t&&t()};return document.addEventListener("click",e,!0),function(){document.removeEventListener("click",e,!0)}}),[u,n]),u}},88901:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDebounce=void 0;var r=n(2784);t.useDebounce=function(e,t){void 0===t&&(t=500);var n=(0,r.useState)(e),o=n[0],i=n[1];return(0,r.useEffect)((function(){var n=setTimeout((function(){return i(e)}),t);return function(){return clearTimeout(n)}}),[e,t]),o}},21285:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useFreeformNavigation=void 0;var r=n(2784),o=n(76034),i=n(40319),a=n(91423),l=n(74740),u=n(79634);t.useFreeformNavigation=function(){var e=(0,o.useParams)().formId,t=(0,o.useNavigate)(),n=(0,u.useQueryClient)();(0,r.useEffect)((function(){var r=document.querySelector('ul.subnav li a[href*="/freeform/forms"]'),o=function(r){return r.preventDefault(),e&&(n.invalidateQueries(i.QKForms.single(Number(e))),n.invalidateQueries(l.QKNotifications.single(Number(e))),n.invalidateQueries(a.QKIntegrations.single(Number(e)))),t("/forms"),!1};return r.addEventListener("click",o),function(){r.removeEventListener("click",o)}}))}},19136:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDimensionsObserver=void 0;var r=n(2784);t.useDimensionsObserver=function(){var e=(0,r.useRef)(null),t=(0,r.useState)({height:0,width:0,x:0,y:0}),n=t[0],o=t[1],i=(0,r.useState)((function(){return new ResizeObserver((function(e){var t=e[0].target.getBoundingClientRect(),n=t.width,r=t.height,i=t.x,a=t.y;o({width:n,height:r,x:i,y:a})}))}))[0];return(0,r.useEffect)((function(){return e.current&&i.observe(e.current),function(){return i.disconnect()}}),[i]),{ref:e,dimensions:n}}},23934:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useHover=void 0;var r=n(2784);t.useHover=function(e){var t,n,o=(0,r.useState)(!1),i=o[0],a=o[1];return null===(t=e.current)||void 0===t||t.addEventListener("mouseenter",(function(){return a(!0)})),null===(n=e.current)||void 0===n||n.addEventListener("mouseleave",(function(){return a(!1)})),i}},22920:function(e,t,n){"use strict";var r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o * {\n > label {\n display: block;\n padding: 6px 12px;\n margin: 0 0 5px;\n\n border: 1px solid ",";\n border-left: none;\n\n white-space: nowrap;\n text-align: center;\n color: black !important;\n cursor: pointer;\n }\n\n input {\n position: absolute;\n left: -9999px;\n top: -9999px;\n width: 1px;\n height: 1px;\n overflow: hidden;\n visibility: hidden;\n\n &:checked ~ label {\n background: #e6e6e6;\n }\n }\n\n &:first-child {\n > label {\n border-left: 1px solid ",";\n\n border-top-left-radius: ",";\n border-bottom-left-radius: ",";\n }\n }\n\n &:last-child {\n > label {\n border-top-right-radius: ",";\n border-bottom-right-radius: ",";\n }\n }\n }\n }\n\n ul.opinion-scale-legends {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));\n grid-gap: 0;\n\n li {\n text-align: center;\n }\n\n li:first-child {\n text-align: left;\n }\n\n li:last-child {\n text-align: right;\n }\n }\n}\n\n"],["\n\n.opinion-scale {\n ul {\n list-style: none;\n margin: 0;\n padding: 0;\n }\n\n .opinion-scale-scales {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));\n grid-gap: 0;\n\n > * {\n > label {\n display: block;\n padding: 6px 12px;\n margin: 0 0 5px;\n\n border: 1px solid ",";\n border-left: none;\n\n white-space: nowrap;\n text-align: center;\n color: black !important;\n cursor: pointer;\n }\n\n input {\n position: absolute;\n left: -9999px;\n top: -9999px;\n width: 1px;\n height: 1px;\n overflow: hidden;\n visibility: hidden;\n\n &:checked ~ label {\n background: #e6e6e6;\n }\n }\n\n &:first-child {\n > label {\n border-left: 1px solid ",";\n\n border-top-left-radius: ",";\n border-bottom-left-radius: ",";\n }\n }\n\n &:last-child {\n > label {\n border-top-right-radius: ",";\n border-bottom-right-radius: ",";\n }\n }\n }\n }\n\n ul.opinion-scale-legends {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));\n grid-gap: 0;\n\n li {\n text-align: center;\n }\n\n li:first-child {\n text-align: left;\n }\n\n li:last-child {\n text-align: right;\n }\n }\n}\n\n"])),i,i,a,a,a,a);t.default=l},80159:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0}),t.errorAlert=t.labelText=t.scrollBar=void 0;var o,i,a,l=n(55721),u=n(51362),c=u.colors.gray100,d=u.colors.gray300;t.scrollBar=(0,l.css)(o||(o=r(["\n scrollbar-width: thin;\n scrollbar-color: "," ",";\n -webkit-overflow-scrolling: touch;\n\n &::-webkit-scrollbar {\n width: 6px;\n height: 6px;\n }\n\n &::-webkit-scrollbar-track {\n background-color: ",";\n }\n\n &::-webkit-scrollbar-thumb {\n background-color: ",";\n }\n"],["\n scrollbar-width: thin;\n scrollbar-color: "," ",";\n -webkit-overflow-scrolling: touch;\n\n &::-webkit-scrollbar {\n width: 6px;\n height: 6px;\n }\n\n &::-webkit-scrollbar-track {\n background-color: ",";\n }\n\n &::-webkit-scrollbar-thumb {\n background-color: ",";\n }\n"])),d,c,c,d),t.labelText=(0,l.css)(i||(i=r(["\n font-family:\n system-ui,\n BlinkMacSystemFont,\n -apple-system,\n Segoe UI,\n Roboto,\n Oxygen,\n Ubuntu,\n Cantarell,\n Fira Sans,\n Droid Sans,\n Helvetica Neue,\n sans-serif;\n font-weight: bold;\n text-transform: uppercase;\n color: rgb(154 165 177 / 75%);\n"],["\n font-family:\n system-ui,\n BlinkMacSystemFont,\n -apple-system,\n Segoe UI,\n Roboto,\n Oxygen,\n Ubuntu,\n Cantarell,\n Fira Sans,\n Droid Sans,\n Helvetica Neue,\n sans-serif;\n font-weight: bold;\n text-transform: uppercase;\n color: rgb(154 165 177 / 75%);\n"]))),t.errorAlert=(0,l.css)(a||(a=r(["\n span:after {\n content: 'alert';\n\n position: relative;\n top: 1px;\n\n padding-left: 5px;\n\n -webkit-font-smoothing: antialiased;\n font-feature-settings: 'liga', 'dlig';\n font-family: Craft;\n }\n"],["\n span:after {\n content: 'alert';\n\n position: relative;\n top: 1px;\n\n padding-left: 5px;\n\n -webkit-font-smoothing: antialiased;\n font-feature-settings: 'liga', 'dlig';\n font-family: Craft;\n }\n"])))},51362:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.colors=t.beziers=t.shadows=t.borderRadius=t.spacings=t.BoxShadow=void 0;var i,a=o(n(55721));t.BoxShadow=a.default.div(i||(i=r(["\n box-shadow:\n 0 0 0 1px #cdd8e4,\n 0 2px 12px rgb(205 216 228 / 50%);\n"],["\n box-shadow:\n 0 0 0 1px #cdd8e4,\n 0 2px 12px rgb(205 216 228 / 50%);\n"]))),t.spacings={xs:"var(--xs)",sm:"var(--s)",md:"var(--m)",lg:"var(--l)",xl:"var(--xl)"},t.borderRadius={sm:"var(--small-border-radius)",md:"var(--medium-border-radius)",lg:"var(--large-border-radius)"},t.shadows={panel:"0 0 20px 10px rgb(205 216 228 / 50%)",box:"0 0 0 1px #cdd8e4, 0 2px 12px rgb(205 216 228 / 50%)",bottom:"inset 0 -1px 0 0 rgb(154 165 177 / 25%)",top:"inset 0 1px 0 0 rgb(154 165 177 / 25%)",left:"inset 1px 0 0 0 rgb(154 165 177 / 25%)",right:"inset -1px 0 0 0 rgb(154 165 177 / 25%)",container:"0 0 0 1px rgba(31, 41, 51, 0.1), 0 5px 20px rgba(31, 41, 51, 0.25)"},t.beziers={easeOut:"cubic-bezier(0.25, 0.1, 0.25, 1)",easeIn:"cubic-bezier(0.42, 0, 1, 1)",easeInOut:"cubic-bezier(0.42, 0, 0.58, 1)",bounce:{easeOut:"cubic-bezier(0.175, 0.885, 0.32, 1.275)"}},t.colors={hairline:"rgba(51,64,77,.1)",inputBorder:"rgba(96,125,159,0.25)",barelyVisible:"rgb(154 165 177 / 75%)",elements:{dropdown:"#dfe5ec"},error:"#cf1124",warning:"var(--warning-color)",success:"var(--success-color)",notice:"var(--notice-color)",enabled:"var(--enabled-color)",pending:"var(--pending-color)",disabled:"var(--disabled-color)",white:"var(--white)",black:"var(--black)",gray050:"var(--gray-050)",gray100:"var(--gray-100)",gray200:"var(--gray-200)",gray300:"var(--gray-300)",gray350:"var(--gray-350)",gray400:"var(--gray-400)",gray500:"var(--gray-500)",gray550:"var(--gray-550)",gray600:"var(--gray-600)",gray700:"var(--gray-700)",gray800:"var(--gray-800)",gray900:"var(--gray-900)",gray1000:"var(--gray-1000)",blue050:"var(--blue-050)",blue100:"var(--blue-100)",blue200:"var(--blue-200)",blue300:"var(--blue-300)",blue400:"var(--blue-400)",blue500:"var(--blue-500)",blue600:"var(--blue-600)",blue700:"var(--blue-700)",blue800:"var(--blue-800)",blue900:"var(--blue-900)",cyan050:"var(--cyan-050)",cyan100:"var(--cyan-100)",cyan200:"var(--cyan-200)",cyan300:"var(--cyan-300)",cyan400:"var(--cyan-400)",cyan500:"var(--cyan-500)",cyan600:"var(--cyan-600)",cyan700:"var(--cyan-700)",cyan800:"var(--cyan-800)",cyan900:"var(--cyan-900)",pink050:"var(--pink-050)",pink100:"var(--pink-100)",pink200:"var(--pink-200)",pink300:"var(--pink-300)",pink400:"var(--pink-400)",pink500:"var(--pink-500)",pink600:"var(--pink-600)",pink700:"var(--pink-700)",pink800:"var(--pink-800)",pink900:"var(--pink-900)",red050:"var(--red-050)",red100:"var(--red-100)",red200:"var(--red-200)",red300:"var(--red-300)",red400:"var(--red-400)",red500:"var(--red-500)",red600:"var(--red-600)",red700:"var(--red-700)",red800:"var(--red-800)",red900:"var(--red-900)",yellow050:"var(--yellow-050)",yellow100:"var(--yellow-100)",yellow200:"var(--yellow-200)",yellow300:"var(--yellow-300)",yellow400:"var(--yellow-400)",yellow500:"var(--yellow-500)",yellow600:"var(--yellow-600)",yellow700:"var(--yellow-700)",yellow800:"var(--yellow-800)",yellow900:"var(--yellow-900)",teal050:"var(--teal-050)",teal100:"var(--teal-100)",teal200:"var(--teal-200)",teal300:"var(--teal-300)",teal400:"var(--teal-400)",teal500:"var(--teal-500)",teal550:"var(--teal-550)",teal600:"var(--teal-600)",teal700:"var(--teal-700)",teal800:"var(--teal-800)",teal900:"var(--teal-900)"}},36260:function(e,t){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.APIError=t.API_ERROR=void 0,t.API_ERROR="api_error";var o=function(e){function n(n,r){var o=e.call(this,n)||this;return o.errors={},o.name=t.API_ERROR,o.errors=r,o}return r(n,e),n}(Error);t.APIError=o},94234:function(e,t){"use strict";var n,r,o;Object.defineProperty(t,"__esModule",{value:!0}),t.Type=t.Implementation=void 0,function(e){e.Options="options",e.GeneratedOptions="generatedOptions"}(n||(t.Implementation=n={})),function(e){e.Group="group",e.Rating="rating",e.OpinionScale="opinion-scale"}(r||(t.Type=r={})),function(e){e[e.NewField=0]="NewField",e[e.ExistingField=1]="ExistingField"}(o||(o={}))},39319:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.TargetFieldType=void 0,function(e){e.Relation="relation",e.Custom="custom"}(n||(t.TargetFieldType=n={}))},88863:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.TemplateType=void 0,function(e){e.Database="database",e.File="file"}(n||(t.TemplateType=n={}))},83287:function(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.PropertyType=void 0,function(e){e.Attributes="attributes",e.Boolean="bool",e.Checkboxes="checkboxes",e.Color="color",e.ConditionalRules="conditionalRules",e.DateTime="dateTime",e.Field="field",e.FieldMapping="fieldMapping",e.Hidden="hidden",e.Integer="int",e.Label="label",e.MinMax="minMax",e.NotificationTemplate="notificationTemplate",e.Options="options",e.PageButton="pageButton",e.PageButtonsLayout="pageButtonsLayout",e.RecipientMapping="recipientMapping",e.Recipients="recipients",e.Select="select",e.DynamicSelect="dynamicSelect",e.String="string",e.Table="table",e.TabularData="tabularData",e.Textarea="textarea",e.WYSIWYG="wysiwyg",e.CodeEditor="codeEditor"}(n||(t.PropertyType=n={})),function(e){e[e.NewField=0]="NewField",e[e.ExistingField=1]="ExistingField"}(r||(r={}))},75094:function(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.Combinator=t.Display=t.operatorTypes=void 0,t.operatorTypes={boolean:["equals","notEquals"],numeric:["greaterThan","greaterThanOrEquals","lessThan","lessThanOrEquals"],string:["equals","notEquals","contains","notContains","startsWith","endsWith"],negative:["notEquals","notContains"]},function(e){e.Show="show",e.Hide="hide"}(n||(t.Display=n={})),function(e){e.And="and",e.Or="or"}(r||(t.Combinator=r={}))},8454:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.range=void 0;t.range=function(e,t){void 0===t&&(e>1?(t=e,e=1):(t=e,e=0));for(var n=[],r=e;r<=t;r++)n.push(r);return n}},26457:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.classes=t.elementTreeHasClass=void 0;t.elementTreeHasClass=function(e,t){if(void 0===t)return!1;if("string"==typeof t&&(t=t.split(" ")),!e||!e.classList)return!1;for(;e;){for(var n=0,r=t;no?o:e}},82538:function(){Number.prototype.inRange=function(e,t,n){void 0===n&&(n=!0);var r=Math.min(e,t),o=Math.max(e,t);return n?this>=r&&this<=o:this>r&&this=o)&&Object.keys(i.O).every((function(e){return i.O[e](n[u])}))?n.splice(u--,1):(l=!1,o0&&e[d-1][2]>o;d--)e[d]=e[d-1];e[d]=[n,r,o]},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,{a:t}),t},n=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},i.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var o=Object.create(null);i.r(o);var a={};t=t||[null,n({}),n([]),n(n)];for(var l=2&r&&e;"object"==typeof l&&!~t.indexOf(l);l=n(l))Object.getOwnPropertyNames(l).forEach((function(t){a[t]=function(){return e[t]}}));return a.default=function(){return e},i.d(o,a),o},i.d=function(e,t){for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},function(){var e={47:0};i.O.j=function(t){return 0===e[t]};var t=function(t,n){var r,o,a=n[0],l=n[1],u=n[2],c=0;if(a.some((function(t){return 0!==e[t]}))){for(r in l)i.o(l,r)&&(i.m[r]=l[r]);if(u)var d=u(i)}for(t&&t(n);c=n},isAtMost:function(e){var t=a.editions.tiers,n=t.indexOf(e);if(-1===n)throw new Error("Unknown edition: ".concat(e));return t.indexOf(a.editions.edition)<=n}})});t.default=a},84307:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(75831)},59071:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.queryClient=void 0;var r=n(79634);t.queryClient=new r.QueryClient({defaultOptions:{queries:{cacheTime:6e5,retry:!1,refetchOnWindowFocus:!1}}})},25201:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.AppWrapper=void 0;var i,a=o(n(55721));t.AppWrapper=a.default.div(i||(i=r([""],[""])))},85754:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(2784)),i=n(76034),a=n(21285),l=n(25201);n(90367);t.default=function(){return(0,a.useFreeformNavigation)(),o.default.createElement(l.AppWrapper,{id:"freeform-client-app"},o.default.createElement(i.Outlet,null))}},20811:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o10?"":"& > li {\n > label {\n padding-left: ".concat(10*e+20,"px;\n\n &.has-children {\n padding-left: ").concat(12*(e+1),"px;\n }\n }\n\n > ul {\n ").concat(p(e+1),"\n }\n }")};t.List=f.default.ul(i||(i=r(["\n margin: 0;\n padding: 0;\n\n ul {\n ","\n }\n"],["\n margin: 0;\n padding: 0;\n\n ul {\n ","\n }\n"])),p()),t.CheckMark=f.default.div(a||(a=r(["\n position: absolute;\n left: 8px;\n top: 7px;\n\n width: 16px;\n font-size: 18px;\n font-weight: bold;\n\n fill: ",";\n"],["\n position: absolute;\n left: 8px;\n top: 7px;\n\n width: 16px;\n font-size: 18px;\n font-weight: bold;\n\n fill: ",";\n"])),s.colors.gray500),t.LabelIcon=f.default.div(l||(l=r([""],[""]))),t.LabelContainer=f.default.div(u||(u=r(["\n display: inline-flex;\n justify-content: start;\n align-items: center;\n gap: ",";\n\n > svg {\n width: 16px;\n height: 16px;\n }\n"],["\n display: inline-flex;\n justify-content: start;\n align-items: center;\n gap: ",";\n\n > svg {\n width: 16px;\n height: 16px;\n }\n"])),s.spacings.sm),t.Label=f.default.label(c||(c=r(["\n display: block;\n padding: 5px 14px 5px 30px;\n\n user-select: none;\n\n &:hover {\n cursor: pointer;\n background-color: ",";\n color: ",";\n\n "," {\n fill: ",";\n }\n }\n\n &.has-children {\n position: relative;\n\n padding-left: 12px;\n\n text-transform: uppercase;\n font-weight: bold;\n\n font-size: 12px;\n\n color: #7d8c9d;\n fill: currentColor;\n\n > "," {\n position: relative;\n\n padding: 0 10px;\n background-color: ",";\n\n z-index: 1;\n }\n\n &:hover {\n cursor: default;\n background-color: transparent;\n }\n\n &:before {\n content: '';\n position: absolute;\n left: 0;\n right: 0;\n top: 13px;\n\n height: 1px;\n background-color: ",";\n }\n }\n"],["\n display: block;\n padding: 5px 14px 5px 30px;\n\n user-select: none;\n\n &:hover {\n cursor: pointer;\n background-color: ",";\n color: ",";\n\n "," {\n fill: ",";\n }\n }\n\n &.has-children {\n position: relative;\n\n padding-left: 12px;\n\n text-transform: uppercase;\n font-weight: bold;\n\n font-size: 12px;\n\n color: #7d8c9d;\n fill: currentColor;\n\n > "," {\n position: relative;\n\n padding: 0 10px;\n background-color: ",";\n\n z-index: 1;\n }\n\n &:hover {\n cursor: default;\n background-color: transparent;\n }\n\n &:before {\n content: '';\n position: absolute;\n left: 0;\n right: 0;\n top: 13px;\n\n height: 1px;\n background-color: ",";\n }\n }\n"])),s.colors.gray500,s.colors.white,t.CheckMark,s.colors.white,t.LabelContainer,s.colors.gray050,s.colors.gray200),t.Item=f.default.li(d||(d=r(["\n position: relative;\n\n &.focused {\n > "," {\n background-color: #cfd8e3;\n color: ",";\n\n > "," {\n fill: ",";\n }\n }\n }\n\n &.has-children {\n > "," {\n }\n }\n\n &.empty {\n > "," {\n color: ",";\n font-style: italic;\n\n &:hover {\n color: ",";\n }\n }\n\n &.focused {\n > "," {\n background-color: transparent;\n\n &:hover {\n background-color: ",";\n color: ",";\n }\n\n > "," {\n fill: transparent;\n }\n }\n }\n }\n"],["\n position: relative;\n\n &.focused {\n > "," {\n background-color: #cfd8e3;\n color: ",";\n\n > "," {\n fill: ",";\n }\n }\n }\n\n &.has-children {\n > "," {\n }\n }\n\n &.empty {\n > "," {\n color: ",";\n font-style: italic;\n\n &:hover {\n color: ",";\n }\n }\n\n &.focused {\n > "," {\n background-color: transparent;\n\n &:hover {\n background-color: ",";\n color: ",";\n }\n\n > "," {\n fill: transparent;\n }\n }\n }\n }\n"])),t.Label,s.colors.gray700,t.CheckMark,s.colors.gray700,t.Label,t.Label,s.colors.gray300,s.colors.white,t.Label,s.colors.gray500,s.colors.white,t.CheckMark)},29466:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Options=void 0;var l=i(n(2784)),u=a(n(26457)),c=a(n(90729)),d=n(41187);t.Options=function(e){var n=e.value,r=e.options,o=e.query,i=e.focusIndex,a=e.onChange,s=(0,l.useRef)([]);return(0,l.useEffect)((function(){s.current[i]&&s.current[i].scrollIntoView({behavior:"smooth",block:"nearest"})}),[i]),l.default.createElement(d.List,null,r&&r.map((function(e,r){var f,p,v;return"value"in e&&(f=e.value,p=e.shadowIndex),"children"in e&&(v=e.children),l.default.createElement(d.Item,{ref:function(e){void 0!==p&&(s.current[p]=e)},onClick:function(e){e.stopPropagation(),void 0!==f&&a&&a(f)},key:r,className:(0,u.default)(void 0!==v&&"has-children",f===n&&"selected",""===f&&"empty",p===i&&"focused")},l.default.createElement(d.Label,{className:(0,u.default)(void 0!==v&&"has-children")},!v&&n===f&&l.default.createElement(d.CheckMark,null,l.default.createElement(c.default,null)),l.default.createElement(d.LabelContainer,null,e.icon&&e.icon,e.label)),v&&l.default.createElement(t.Options,{options:v,value:n,query:o,focusIndex:i,onChange:a}))})))}},47022:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DropdownWrapper=t.CloseButton=t.DropdownRollout=t.SpinnerWrapper=t.CurrentValue=t.ListWrapper=t.Search=void 0;var i,a,l,u,c,d,s,f=n(79066),p=n(80159),v=n(51362),m=o(n(55721));t.Search=m.default.input(i||(i=r(["\n width: 100%;\n padding: 7px 30px 7px 10px;\n\n border-bottom: 1px solid ",";\n\n &:focus,\n &:active,\n &:hover {\n box-shadow: none;\n outline: none;\n }\n"],["\n width: 100%;\n padding: 7px 30px 7px 10px;\n\n border-bottom: 1px solid ",";\n\n &:focus,\n &:active,\n &:hover {\n box-shadow: none;\n outline: none;\n }\n"])),v.colors.hairline),t.ListWrapper=m.default.div(a||(a=r(["\n max-height: 300px;\n overflow-x: hidden;\n overflow-y: auto;\n\n ",";\n"],["\n max-height: 300px;\n overflow-x: hidden;\n overflow-y: auto;\n\n ",";\n"])),p.scrollBar),t.CurrentValue=m.default.div(l||(l=r(["\n cursor: pointer;\n position: relative;\n\n display: flex;\n justify-content: start;\n gap: ",";\n\n background-color: #dfe5ec;\n border-radius: ",";\n\n padding: 7px 22px 7px 10px;\n\n > span {\n min-height: 20px;\n }\n\n &:hover {\n box-shadow: var(--focus-ring);\n outline-color: transparent;\n }\n\n &:after {\n content: '';\n position: absolute;\n top: calc(50% - 5px);\n right: 9px;\n\n display: block;\n width: 7px;\n height: 7px;\n\n opacity: 0.8;\n border: solid;\n border-width: 0 2px 2px 0;\n\n font-size: 0;\n\n transform: rotate(45deg);\n\n user-select: none;\n pointer-events: none;\n }\n"],["\n cursor: pointer;\n position: relative;\n\n display: flex;\n justify-content: start;\n gap: ",";\n\n background-color: #dfe5ec;\n border-radius: ",";\n\n padding: 7px 22px 7px 10px;\n\n > span {\n min-height: 20px;\n }\n\n &:hover {\n box-shadow: var(--focus-ring);\n outline-color: transparent;\n }\n\n &:after {\n content: '';\n position: absolute;\n top: calc(50% - 5px);\n right: 9px;\n\n display: block;\n width: 7px;\n height: 7px;\n\n opacity: 0.8;\n border: solid;\n border-width: 0 2px 2px 0;\n\n font-size: 0;\n\n transform: rotate(45deg);\n\n user-select: none;\n pointer-events: none;\n }\n"])),v.spacings.sm,v.borderRadius.lg),t.SpinnerWrapper=m.default.div(u||(u=r(["\n > svg {\n fill: currentColor;\n width: 20px;\n height: 20px;\n }\n"],["\n > svg {\n fill: currentColor;\n width: 20px;\n height: 20px;\n }\n"]))),t.DropdownRollout=(0,m.default)(f.animated.div)(c||(c=r(["\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n\n background-color: ",";\n border-radius: ",";\n box-shadow: ",";\n\n overflow: hidden;\n"],["\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n\n background-color: ",";\n border-radius: ",";\n box-shadow: ",";\n\n overflow: hidden;\n"])),v.colors.gray050,v.borderRadius.lg,v.shadows.container),t.CloseButton=m.default.button(d||(d=r(["\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n\n display: flex;\n justify-content: center;\n align-items: center;\n\n width: 30px;\n height: 34px;\n\n cursor: pointer;\n\n &:hover {\n background-color: ",";\n }\n"],["\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n\n display: flex;\n justify-content: center;\n align-items: center;\n\n width: 30px;\n height: 34px;\n\n cursor: pointer;\n\n &:hover {\n background-color: ",";\n }\n"])),v.colors.gray050),t.DropdownWrapper=m.default.div(s||(s=r(["\n position: relative;\n\n &.open {\n "," {\n display: block;\n }\n\n "," {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n\n &:hover {\n box-shadow: none;\n outline-color: transparent;\n }\n }\n }\n"],["\n position: relative;\n\n &.open {\n "," {\n display: block;\n }\n\n "," {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n\n &:hover {\n box-shadow: none;\n outline-color: transparent;\n }\n }\n }\n"])),t.DropdownRollout,t.CurrentValue)},4500:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Dropdown=void 0;var l=i(n(2784)),u=n(11863),c=a(n(81606)),d=n(31070),s=n(9726),f=n(22920),p=a(n(26457)),v=n(13596),m=a(n(75456)),h=n(71408),g=n(29466),b=n(47022);t.Dropdown=function(e){var t=e.emptyOption,n=e.value,r=e.options,o=e.onChange,i=e.loading,a=void 0!==i&&i,y=(0,l.useState)(!1),_=y[0],x=y[1],w=(0,l.useState)(""),O=w[0],E=w[1],P=(0,l.useState)(0),j=P[0],M=P[1],k=(0,l.useRef)(null),C=(0,l.useRef)(null),S=(0,s.useClickOutside)({callback:function(){return x(!1)},isEnabled:_,excludeClassNames:["dropdown-rollout"]}),D=(0,u.useEditorAnimations)({wrapper:S.current,editor:C.current,isEditing:_}).editorAnimation,F=(0,l.useCallback)((function(){a||x(!_)}),[a,_]),T=(0,h.useFilteredOptions)(r,O,t),L=T[0],R=T[1],A=(0,l.useMemo)((function(){return(0,h.findLabelByValue)(r,n)||t}),[r,n,a]),B=(0,l.useMemo)((function(){return(0,h.findShadowIndexByValue)(L,n)}),[r,n,a]);(0,d.useEscapeStack)((function(){return x(!1)}),_),(0,f.useOnKeypress)({meetsCondition:_,type:"keydown",callback:function(e){"ArrowDown"===e.key&&j0&&M((function(e){return e-1}))}},[j,R]),(0,f.useOnKeypress)({meetsCondition:_,type:"keyup",callback:function(e){if("Enter"===e.key){var t=(0,h.findValueByShadowIndex)(L,j);o&&o(t),x(!1)}}},[L,j]),(0,l.useEffect)((function(){a&&_&&x(!1)}),[a]),(0,l.useEffect)((function(){var e;_?(null===(e=k.current)||void 0===e||e.focus(),M(B||0)):E("")}),[_,O]);var W=(0,l.useCallback)((function(e){o&&o(e),x(!1)}),[o]);return l.default.createElement(b.DropdownWrapper,{ref:S,className:(0,p.default)(_&&"open"),onClick:F},l.default.createElement(b.CurrentValue,{className:(0,p.default)(a&&"disabled")},l.default.createElement("span",null,A),a&&l.default.createElement(b.SpinnerWrapper,null,l.default.createElement(c.default,null))),l.default.createElement(v.PopUpPortal,null,_&&l.default.createElement(b.DropdownRollout,{className:"dropdown-rollout",ref:C,style:D},l.default.createElement(b.CloseButton,null,l.default.createElement(m.default,null)),l.default.createElement(b.Search,{placeholder:"Search...",ref:k,value:O,onClick:function(e){return e.stopPropagation()},onKeyDown:function(e){"Escape"===e.key&&(e.preventDefault(),x(!1)),["ArrowUp","ArrowDown"].includes(e.key)&&e.preventDefault()},onChange:function(e){return E(e.target.value)}}),l.default.createElement(b.ListWrapper,null,l.default.createElement(g.Options,{options:L,value:n,focusIndex:j,onChange:W})))))}},39384:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.HelpText=void 0;var i,a=o(n(2784)),l=n(51362),u=o(n(55721)).default.div(i||(i=r(["\n font-style: italic;\n font-size: 12px;\n line-height: 18px;\n padding-top: 6px;\n color: ",";\n"],["\n font-style: italic;\n font-size: 12px;\n line-height: 18px;\n padding-top: 6px;\n color: ",";\n"])),l.colors.gray300);t.HelpText=function(e){var t=e.children;return a.default.createElement(u,null,t)}},13596:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PopUpPortal=void 0;var r=n(28316),o=n(53084);t.PopUpPortal=function(e){var t=e.children,n=(0,o.usePortal)().element;return n?(0,r.createPortal)(t,n):null}},65631:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useRemoveAnimation=void 0;var r=n(79066),o=n(51362);t.useRemoveAnimation=function(e){var t=e.active,n=e.hovering;return(0,r.useSpring)({opacity:t?1:0,background:n?o.colors.error:"transparent",fill:n?"#fff":o.colors.gray300,scale:n?1.2:1,rotate:t?0:30,config:function(e){switch(e){case"background":case"color":return{tension:330,friction:20};default:return{tension:330,friction:15}}}})}},6403:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.RemoveButtonWrapper=void 0;var i,a=n(79066),l=o(n(55721));t.RemoveButtonWrapper=(0,l.default)(a.animated.button)(i||(i=r(["\n display: flex;\n justify-content: center;\n align-items: center;\n\n width: 20px;\n height: 20px;\n\n font-size: 16px;\n\n border-radius: 50%;\n padding: 3px;\n\n svg {\n color: currentColor;\n }\n"],["\n display: flex;\n justify-content: center;\n align-items: center;\n\n width: 20px;\n height: 20px;\n\n font-size: 16px;\n\n border-radius: 50%;\n padding: 3px;\n\n svg {\n color: currentColor;\n }\n"])))},54509:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.RemoveButton=void 0;var l=i(n(2784)),u=n(23934),c=a(n(83247)),d=n(65631),s=n(6403);t.RemoveButton=function(e){var t=e.active,n=e.onClick,r=(0,l.useRef)(null),o=(0,u.useHover)(r),i=(0,d.useRemoveAnimation)({active:t,hovering:o});return l.default.createElement(s.RemoveButtonWrapper,{ref:r,style:i,onClick:function(e){e.stopPropagation(),n&&n()}},l.default.createElement(c.default,null))}},63005:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.EmptyBlockWrapper=t.Subtitle=t.Title=t.Icon=void 0;var i,a,l,u,c=n(51362),d=o(n(55721));t.Icon=d.default.div(i||(i=r(["\n font-size: 20rem;\n margin: 0 0 1.5rem;\n"],["\n font-size: 20rem;\n margin: 0 0 1.5rem;\n"]))),t.Title=d.default.h2(a||(a=r(["\n margin: 0;\n padding: 0;\n\n font-size: 2.8rem;\n color: ",";\n"],["\n margin: 0;\n padding: 0;\n\n font-size: 2.8rem;\n color: ",";\n"])),c.colors.gray500),t.Subtitle=d.default.p(l||(l=r(["\n margin: 0;\n padding: 0;\n\n font-size: 1rem;\n color: ",";\n\n &:not(:last-child) {\n padding-bottom: 1.5rem;\n }\n"],["\n margin: 0;\n padding: 0;\n\n font-size: 1rem;\n color: ",";\n\n &:not(:last-child) {\n padding-bottom: 1.5rem;\n }\n"])),c.colors.gray300),t.EmptyBlockWrapper=d.default.div(u||(u=r(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: 5px;\n\n height: 100%;\n\n > * {\n position: relative;\n top: -40px;\n }\n"],["\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: 5px;\n\n height: 100%;\n\n > * {\n position: relative;\n top: -40px;\n }\n"])))},19002:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.EmptyBlock=void 0;var o=r(n(2784)),i=n(63005);t.EmptyBlock=function(e){var t=e.title,n=e.subtitle,r=e.icon,a=e.children;return o.default.createElement(i.EmptyBlockWrapper,null,r&&o.default.createElement(i.Icon,null,r),t&&o.default.createElement(i.Title,null,t),n&&o.default.createElement(i.Subtitle,null,n),a)}},12830:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ApiErrorsBlock=void 0;var o=r(n(2784));t.ApiErrorsBlock=function(e){var t,n,r=e.category,i=e.handle,a=null===(n=null===(t=e.error.errors)||void 0===t?void 0:t[r])||void 0===n?void 0:n[i];return a?o.default.createElement("ul",{className:"errors"},a.map((function(e,t){return o.default.createElement("li",{key:t},o.default.createElement("span",{className:"visually-hidden"},"Error:"),e)}))):null}},90163:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorBoundary=void 0;var a=i(n(2784)),l=function(e){function t(t){var n=e.call(this,t)||this;return n.state={hasError:!1},n}return o(t,e),t.getDerivedStateFromError=function(){return{hasError:!0}},t.prototype.componentDidCatch=function(e,t){console.error(e,t)},t.prototype.render=function(){return this.state.hasError?a.default.createElement("div",null,this.props.message):this.props.children},t}(a.default.Component);t.ErrorBoundary=l},79857:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.useRenderContext=t.RenderContextProvider=void 0;var a=n(2784),l=i(n(2784)),u=(0,l.createContext)({size:"normal"});t.RenderContextProvider=function(e){var t=e.size,n=e.children;return l.default.createElement(u.Provider,{value:{size:null!=t?t:"normal"}},n)};t.useRenderContext=function(){return(0,a.useContext)(u)}},42954:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.AttributeContainer=t.AttributeTabContent=t.AttributeTypeTabs=t.AttributeEditorWrapper=void 0;var i,a,l,u,c=n(64316),d=n(51362),s=o(n(55721)),f=n(10042);t.AttributeEditorWrapper=(0,s.default)(f.PreviewEditor)(i||(i=r(["\n gap: 0;\n padding: 0;\n"],["\n gap: 0;\n padding: 0;\n"]))),t.AttributeTypeTabs=(0,s.default)(c.TabsWrapper)(a||(a=r(["\n width: 100%;\n overflow: hidden;\n align-self: flex-start;\n\n padding: "," "," 0;\n box-shadow: ",";\n"],["\n width: 100%;\n overflow: hidden;\n align-self: flex-start;\n\n padding: "," "," 0;\n box-shadow: ",";\n"])),d.spacings.md,d.spacings.md,d.shadows.bottom),t.AttributeTabContent=s.default.div(l||(l=r(["\n padding: ",";\n\n background: ",";\n"],["\n padding: ",";\n\n background: ",";\n"])),d.spacings.md,d.colors.white),t.AttributeContainer=(0,s.default)(f.PreviewEditorContainer)(u||(u=r([""],[""])))},64276:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.AttributesEditor=void 0;var l=i(n(2784)),u=n(39384),c=a(n(52179)),d=a(n(26457)),s=a(n(2072)),f=n(57143),p=n(69412),v=n(42954),m=n(54243),h=n(35934);t.AttributesEditor=function(e){var t=e.property,n=e.attributes,r=e.updateValue,o=t.tabs||[],i=(0,l.useState)(o.at(0)),a=i[0],g=i[1],b=Object.entries(n).find((function(e){return e[0]===a.handle}))||[a.handle,[]],y=b[0],_=b[1],x=(0,f.useCellNavigation)(_.length,2),w=x.activeCell,O=x.setActiveCell,E=x.setCellRef,P=x.keyPressHandler;if((0,l.useEffect)((function(){O(0,0)}),[y]),!y||!_)return null;var j=function(e,t,o){O(void 0!==o?o+1:e,t),r((0,h.addAttribute)(y,n,void 0!==o?o:_.length-1))};return l.default.createElement(v.AttributeEditorWrapper,null,l.default.createElement(v.AttributeTypeTabs,null,t.tabs&&t.tabs.map((function(e){return l.default.createElement("a",{key:e.handle,className:(0,d.default)(e===a&&"active"),onClick:function(){return g(e)}},e.label)}))),l.default.createElement(v.AttributeTabContent,null,l.default.createElement(m.InputPreview,{tab:a,attributes:_}),l.default.createElement(v.AttributeContainer,null,l.default.createElement(p.TabularOptions,null,l.default.createElement("tbody",null,!_.length&&l.default.createElement(p.Row,null,l.default.createElement(p.Cell,null,l.default.createElement(p.Input,{type:"text",placeholder:(0,s.default)("Attribute"),onFocus:function(){j(0,0)}})),l.default.createElement(p.Cell,null,l.default.createElement(p.Input,{type:"text",placeholder:(0,s.default)("Value"),onFocus:function(){j(0,1)}}))),_.map((function(e,t){var o=e[0],i=e[1];return l.default.createElement(p.Row,{key:t},l.default.createElement(p.Cell,null,l.default.createElement(p.Input,{type:"text",value:String(o),placeholder:(0,s.default)("Attribute"),autoFocus:w==="".concat(t,":0"),ref:function(e){return E(e,t,0)},onFocus:function(){return O(t,0)},onKeyDown:P({onEnter:function(e){j(e.shiftKey?t:_.length,0,e.shiftKey?t:void 0)}}),onChange:function(e){r((0,h.updateAttribute)(t,y,[e.target.value,i],n))}})),l.default.createElement(p.Cell,null,l.default.createElement(p.Input,{type:"text",value:String(i),placeholder:(0,s.default)("Value"),autoFocus:w==="".concat(t,":1"),ref:function(e){return E(e,t,1)},onFocus:function(){return O(t,1)},onKeyDown:P({onEnter:function(e){j(e.shiftKey?t:_.length,1,e.shiftKey?t:void 0)}}),onChange:function(e){r((0,h.updateAttribute)(t,y,[o,e.target.value],n))}})),l.default.createElement(p.Cell,{$tiny:!0},l.default.createElement(p.Button,{tabIndex:-1,onClick:function(){r((0,h.deleteAttribute)(t,y,n)),O(Math.max(t-1,0),0)}},l.default.createElement(c.default,null))))}))))),l.default.createElement("br",null),l.default.createElement(u.HelpText,null,l.default.createElement("span",{dangerouslySetInnerHTML:{__html:(0,s.default)("Press enter while editing a cell to add a new row.")}}))))}},37562:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Value=t.Quote=t.Operator=t.Name=t.CodeBlock=void 0;var i,a,l,u,c,d=n(51362),s=o(n(55721));t.CodeBlock=s.default.div(i||(i=r(["\n position: relative;\n\n padding: "," ",";\n\n font-family: monospace;\n\n background: ",";\n border: 1px solid ",";\n border-bottom: none;\n border-radius: "," "," 0 0;\n"],["\n position: relative;\n\n padding: "," ",";\n\n font-family: monospace;\n\n background: ",";\n border: 1px solid ",";\n border-bottom: none;\n border-radius: "," "," 0 0;\n"])),d.spacings.sm,d.spacings.md,d.colors.gray050,d.colors.hairline,d.borderRadius.lg,d.borderRadius.lg),t.Name=s.default.span(a||(a=r(["\n color: ",";\n"],["\n color: ",";\n"])),d.colors.teal700),t.Operator=s.default.span(l||(l=r(["\n color: ",";\n"],["\n color: ",";\n"])),d.colors.gray300),t.Quote=s.default.span(u||(u=r(["\n &:before {\n content: '\"';\n color: ",";\n }\n"],["\n &:before {\n content: '\"';\n color: ",";\n }\n"])),d.colors.gray300),t.Value=s.default.span(c||(c=r(["\n color: ",";\n"],["\n color: ",";\n"])),d.colors.red300)},54243:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.InputPreview=void 0;var o=r(n(2784)),i=n(37562),a=n(35934);t.InputPreview=function(e){var t=e.tab,n=e.attributes;return o.default.createElement(i.CodeBlock,null,"<",t.previewTag,(0,a.attributesToArray)(n).map((function(e,t){var n=e[0],r=e[1];return o.default.createElement("span",{key:t},o.default.createElement(i.Name,null," ",n),!!r&&o.default.createElement(o.default.Fragment,null,o.default.createElement(i.Operator,null,"="),o.default.createElement(i.Quote,null),o.default.createElement(i.Value,null,r),o.default.createElement(i.Quote,null)))}))," />")}},35934:function(e,t){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n svg {\n width: 100%;\n height: 100%;\n\n color: ",";\n }\n"],["\n position: absolute;\n top: 0;\n right: -25px;\n\n opacity: 0;\n\n width: 20px;\n height: 20px;\n\n > svg {\n width: 100%;\n height: 100%;\n\n color: ",";\n }\n"])),d.colors.gray400),t.RemoveButton=(0,s.default)(c.animated.button)(l||(l=r(["\n position: absolute;\n top: 0;\n right: -50px;\n\n opacity: 0;\n\n width: 20px;\n height: 20px;\n\n > svg {\n width: 100%;\n height: 100%;\n\n color: ",";\n }\n"],["\n position: absolute;\n top: 0;\n right: -50px;\n\n opacity: 0;\n\n width: 20px;\n height: 20px;\n\n > svg {\n width: 100%;\n height: 100%;\n\n color: ",";\n }\n"])),d.colors.gray400),t.LabelElement=(0,s.default)(c.animated.h1)(u||(u=r(["\n cursor: pointer;\n\n min-height: 10px;\n\n margin: 0 0 0 -8px;\n padding: "," 40px "," ",";\n\n border: 0;\n border-radius: ",";\n\n > span {\n position: relative;\n display: inline-block;\n\n > span:empty:after {\n content: 'No Title';\n\n color: ",";\n font-style: italic;\n }\n }\n"],["\n cursor: pointer;\n\n min-height: 10px;\n\n margin: 0 0 0 -8px;\n padding: "," 40px "," ",";\n\n border: 0;\n border-radius: ",";\n\n > span {\n position: relative;\n display: inline-block;\n\n > span:empty:after {\n content: 'No Title';\n\n color: ",";\n font-style: italic;\n }\n }\n"])),d.spacings.sm,d.spacings.sm,d.spacings.sm,d.borderRadius.lg,d.colors.gray300)},9061:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var l=i(n(2784)),u=n(11767),c=a(n(26457)),d=a(n(71059)),s=n(88123),f=n(31175);t.default=function(e){var t=e.value,n=e.property,r=e.errors,o=e.updateValue,i=(0,l.useState)(!1),a=i[0],p=i[1],v=(0,l.useState)(!1),m=v[0],h=v[1],g=n.handle,b=(0,l.useRef)(null),y=(0,s.useLabelAnimation)(a),_=(0,s.useEditButtonAnimations)(a);return l.default.createElement(f.EditableLabelWrapper,{className:(0,c.default)((null==r?void 0:r.length)>0&&"errors")},m&&l.default.createElement("input",{id:g,ref:b,type:"text",className:"text fullwidth",value:t||"",onChange:function(e){return o(e.target.value)},onBlur:function(){return h(!1)},onKeyDown:function(e){"Enter"===e.key&&h(!1)}}),!m&&l.default.createElement(f.LabelElement,{style:y,onClick:function(){h(!0),p(!1),setTimeout((function(){var e;null===(e=b.current)||void 0===e||e.focus()}),3)},onMouseEnter:function(){return p(!0)},onMouseLeave:function(){return p(!1)}},l.default.createElement("span",null,l.default.createElement("span",null,t),l.default.createElement(f.EditButton,{style:_},l.default.createElement(d.default,null)))),l.default.createElement(u.FormErrorList,{errors:r}))}},78027:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.MaxInput=t.MinInput=t.Wrapper=void 0;var i=o(n(55721));t.Wrapper=i.default.div(a||(a=r(["\n display: flex;\n"],["\n display: flex;\n"])));var a,l,u,c,d=i.default.input(l||(l=r(["\n width: 100%;\n --focus-ring: 0;\n"],["\n width: 100%;\n --focus-ring: 0;\n"])));t.MinInput=(0,i.default)(d)(u||(u=r(["\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n"],["\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n"]))),t.MaxInput=(0,i.default)(d)(c||(c=r(["\n border-left: 0;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n"],["\n border-left: 0;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n"])))},79174:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(2784)),i=n(46425),a=n(78027);t.default=function(e){var t,n=e.value,r=e.property,l=e.errors,u=e.updateValue,c=e.context,d=n||[null,null],s=d[0],f=d[1],p=(null===(t=c.properties)||void 0===t?void 0:t.allowNegative)?null:0;return o.default.createElement(i.Control,{property:r,errors:l},o.default.createElement(a.Wrapper,null,o.default.createElement("div",null,o.default.createElement(a.MinInput,{id:"min",value:null===s?"":s,type:"number",min:p,className:"text",placeholder:"Min",onChange:function(e){var t=e.target,n=""!==t.value?Number(t.value):null;u([n,f])}})),o.default.createElement("div",null,o.default.createElement(a.MaxInput,{id:"max",value:null===f?"":f,type:"number",min:p,className:"text",placeholder:"Max",onChange:function(e){var t=e.target,n=""!==t.value?Number(t.value):null;u([s,n])}}))))}},86082:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FieldSelect=void 0;var o=r(n(2784)),i=n(4500),a=n(68991),l=r(n(2072));t.FieldSelect=function(e){var t=e.value,n=e.onChange,r=(0,a.useFieldOptionCollection)();return o.default.createElement(i.Dropdown,{options:r,emptyOption:(0,l.default)("Do not map this field"),value:t,onChange:n})}},47815:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n svg {\n fill: ",";\n\n animation: "," 2s infinite;\n transform-origin: 50% 50%;\n }\n"],["\n position: absolute;\n top: 0;\n right: 0;\n\n font-size: 16px;\n\n &[disabled] > svg {\n fill: ",";\n\n animation: "," 2s infinite;\n transform-origin: 50% 50%;\n }\n"])),l.colors.gray300,i.animations.spinner),t.MappingWrapper=u.default.div(d||(d=r(["\n display: grid;\n align-items: center;\n gap: ",";\n\n grid-template-columns: 1.5fr min-content 1fr;\n\n padding: 2px 0;\n\n > div:first-child {\n flex-grow: 1;\n }\n\n > div:last-child {\n flex-basis: 300px;\n }\n"],["\n display: grid;\n align-items: center;\n gap: ",";\n\n grid-template-columns: 1.5fr min-content 1fr;\n\n padding: 2px 0;\n\n > div:first-child {\n flex-grow: 1;\n }\n\n > div:last-child {\n flex-basis: 300px;\n }\n"])),l.spacings.sm),t.MappingContainer=u.default.div(s||(s=r(["\n max-width: 1000px;\n max-height: 454px;\n\n overflow-y: auto;\n overflow-x: hidden;\n\n border: 1px solid rgb(205 216 228 / 50%);\n border-radius: 5px;\n\n padding: "," ",";\n\n ",";\n"],["\n max-width: 1000px;\n max-height: 454px;\n\n overflow-y: auto;\n overflow-x: hidden;\n\n border: 1px solid rgb(205 216 228 / 50%);\n border-radius: 5px;\n\n padding: "," ",";\n\n ",";\n"])),l.spacings.sm,l.spacings.lg,a.scrollBar),t.SourceField=u.default.div(f||(f=r(["\n position: relative;\n\n &:after {\n content: '';\n position: absolute;\n left: 0;\n right: 0;\n top: 50%;\n\n display: block;\n\n width: 100%;\n height: 1px;\n\n background-color: ",";\n }\n\n > span {\n position: relative;\n z-index: 2;\n\n display: block;\n padding: 0 10px 0 0;\n width: fit-content;\n\n background-color: white;\n }\n\n &.required > span {\n &:after {\n content: '*';\n position: relative;\n right: -2px;\n\n color: ",";\n }\n }\n"],["\n position: relative;\n\n &:after {\n content: '';\n position: absolute;\n left: 0;\n right: 0;\n top: 50%;\n\n display: block;\n\n width: 100%;\n height: 1px;\n\n background-color: ",";\n }\n\n > span {\n position: relative;\n z-index: 2;\n\n display: block;\n padding: 0 10px 0 0;\n width: fit-content;\n\n background-color: white;\n }\n\n &.required > span {\n &:after {\n content: '*';\n position: relative;\n right: -2px;\n\n color: ",";\n }\n }\n"])),l.colors.gray100,l.colors.error),t.TypeButtonGroup=u.default.div(p||(p=r(["\n display: flex;\n"],["\n display: flex;\n"])));var c,d,s,f,p,v,m="8px";t.TypeButton=u.default.button(v||(v=r(["\n display: flex;\n justify-content: center;\n align-items: center;\n\n width: 34px;\n height: 28px;\n\n fill: ",";\n background-color: ",";\n\n &.active {\n fill: ",";\n background-color: ",";\n }\n\n &:first-child {\n border-top-left-radius: ",";\n border-bottom-left-radius: ",";\n }\n\n &:last-child {\n border-top-right-radius: ",";\n border-bottom-right-radius: ",";\n }\n\n svg {\n width: 16px;\n height: 16px;\n }\n"],["\n display: flex;\n justify-content: center;\n align-items: center;\n\n width: 34px;\n height: 28px;\n\n fill: ",";\n background-color: ",";\n\n &.active {\n fill: ",";\n background-color: ",";\n }\n\n &:first-child {\n border-top-left-radius: ",";\n border-bottom-left-radius: ",";\n }\n\n &:last-child {\n border-top-right-radius: ",";\n border-bottom-right-radius: ",";\n }\n\n svg {\n width: 16px;\n height: 16px;\n }\n"])),l.colors.gray550,l.colors.elements.dropdown,l.colors.gray050,l.colors.gray550,m,m,m,m)},49719:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(2784)),i=r(n(76257)),a=n(46425),l=n(79634),u=r(n(60014)),c=r(n(78376)),d=n(47815),s=n(37774),f=n(4562);t.default=function(e){var t=e.value,n=void 0===t?{}:t,r=e.property,p=e.errors,v=e.updateValue,m=e.context,h={};r.parameterFields&&Object.entries(r.parameterFields).forEach((function(e){var t=e[0],n=e[1];h[n]=(0,f.extractParameter)(m,t)}));var g=(0,l.useQuery)(["field-mapping",r.source,h],(function(){return u.default.get(r.source,{params:h}).then((function(e){return e.data}))}),{staleTime:1/0,cacheTime:1/0}),b=g.data,y=g.isFetching,_=g.refetch;return o.default.createElement(a.Control,{property:r,errors:p},o.default.createElement(s.RefreshButton,{className:"btn",disabled:y,onClick:function(){h.refresh="true",_(),delete h.refresh}},o.default.createElement(c.default,null)),b&&o.default.createElement(d.FieldMappingController,{sources:b,mapping:n,updateValue:v}),!b&&y&&o.default.createElement("div",null,o.default.createElement(i.default,{width:"40%"}),o.default.createElement(i.default,{width:"35%"}),o.default.createElement(i.default,{width:"42%"})))}},4562:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extractParameter=void 0;t.extractParameter=function(e,t){for(var n=e,r=0,o=t.split(".");r svg {\n position: absolute;\n left: 0;\n top: 2px;\n\n width: 18px;\n height: 18px;\n }\n"],["\n position: relative;\n\n padding: 0 0 0 24px;\n\n font-size: 12px;\n color: ",";\n\n max-lines: 1;\n max-height: 60px;\n overflow: hidden;\n\n > svg {\n position: absolute;\n left: 0;\n top: 2px;\n\n width: 18px;\n height: 18px;\n }\n"])),d.colors.gray300),t.Id=s.default.div(u||(u=r(["\n padding: 2px 0 1px;\n font-size: 10px !important;\n color: ",";\n"],["\n padding: 2px 0 1px;\n font-size: 10px !important;\n color: ",";\n"])),d.colors.gray300)},74292:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useSelectionAnimations=t.useEditorAnimations=void 0;var r=n(79066);t.useEditorAnimations=function(e,t){var n=210;return t>6?n=360:t>3&&(n=280),(0,r.useSpring)({height:e?n:36,config:{tension:500,friction:e?26:40}})};t.useSelectionAnimations=function(e){return(0,r.useSpring)({opacity:e?1:0,overflowY:e?"auto":"hidden",config:{tension:500}})}},26163:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useNotificationTemplates=void 0;var r=n(74740);t.useNotificationTemplates=function(e){var t,n,o,i=(0,r.useQueryNotificationTemplates)(),a=i.data,l=i.isFetching,u=(null==a?void 0:a.templates)||{database:[],files:[]},c="string"==typeof e;return"number"==typeof e?o=null===(t=null==u?void 0:u.database)||void 0===t?void 0:t.find((function(t){return t.id===e})):c&&(o=null===(n=null==u?void 0:u.files)||void 0===n?void 0:n.find((function(t){return t.id===e}))),{templates:u,isFetching:l,selectedTemplate:o}}},4002:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Button=t.ButtonRow=t.CategorySelectionWrapper=t.SelectedNotification=t.NotificationTemplateSelector=void 0;var i,a,l,u,c,d=n(79066),s=n(80159),f=n(51362),p=o(n(55721));t.NotificationTemplateSelector=(0,p.default)(d.animated.div)(i||(i=r(["\n display: flex;\n flex-direction: column;\n gap: 0;\n\n padding: 0;\n\n border: 1px solid ",";\n border-radius: ",";\n\n overflow: hidden;\n"],["\n display: flex;\n flex-direction: column;\n gap: 0;\n\n padding: 0;\n\n border: 1px solid ",";\n border-radius: ",";\n\n overflow: hidden;\n"])),f.colors.inputBorder,f.borderRadius.lg),t.SelectedNotification=p.default.div(a||(a=r(["\n position: relative;\n cursor: pointer;\n\n height: 36px;\n\n flex: 1 0 36px;\n padding: 7px 12px;\n\n overflow: hidden;\n background-color: var(--ui-control-bg-color);\n\n &:hover {\n background-color: var(--ui-control-hover-bg-color);\n }\n\n ","\n\n > span {\n &:empty {\n &:after {\n content: 'Please select...';\n color: ",";\n }\n }\n }\n\n > svg {\n position: absolute;\n right: 6px;\n top: calc(50% - 7px);\n\n display: block;\n width: 14px;\n height: 14px;\n stroke-width: 3px;\n fill: #e5e7eb;\n transition: transform 0.2s ease-in-out;\n }\n\n &.open {\n > svg {\n transform: rotate(-90deg);\n }\n }\n"],["\n position: relative;\n cursor: pointer;\n\n height: 36px;\n\n flex: 1 0 36px;\n padding: 7px 12px;\n\n overflow: hidden;\n background-color: var(--ui-control-bg-color);\n\n &:hover {\n background-color: var(--ui-control-hover-bg-color);\n }\n\n ","\n\n > span {\n &:empty {\n &:after {\n content: 'Please select...';\n color: ",";\n }\n }\n }\n\n > svg {\n position: absolute;\n right: 6px;\n top: calc(50% - 7px);\n\n display: block;\n width: 14px;\n height: 14px;\n stroke-width: 3px;\n fill: #e5e7eb;\n transition: transform 0.2s ease-in-out;\n }\n\n &.open {\n > svg {\n transform: rotate(-90deg);\n }\n }\n"])),(function(e){return e.empty&&"\n color: ".concat(f.colors.gray300,";\n font-style: italic;\n ")}),f.colors.gray600),t.CategorySelectionWrapper=(0,p.default)(d.animated.div)(l||(l=r(["\n display: flex;\n flex-direction: column;\n gap: ",";\n\n height: 100%;\n padding: "," "," "," ",";\n\n border-top: 1px solid ",";\n overflow-y: auto;\n overflow-x: hidden;\n\n ",";\n"],["\n display: flex;\n flex-direction: column;\n gap: ",";\n\n height: 100%;\n padding: "," "," "," ",";\n\n border-top: 1px solid ",";\n overflow-y: auto;\n overflow-x: hidden;\n\n ",";\n"])),f.spacings.lg,f.spacings.sm,f.spacings.lg,f.spacings.sm,f.spacings.sm,f.colors.inputBorder,s.scrollBar),t.ButtonRow=(0,p.default)(d.animated.div)(u||(u=r(["\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: start;\n gap: ",";\n\n border-top: 1px solid ",";\n\n padding: ",";\n background-color: ",";\n"],["\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: start;\n gap: ",";\n\n border-top: 1px solid ",";\n\n padding: ",";\n background-color: ",";\n"])),f.spacings.sm,f.colors.inputBorder,f.spacings.sm,f.colors.gray100),t.Button=p.default.button(c||(c=r(["\n padding-top: 2px;\n padding-bottom: 3px;\n background-color: var(--ui-control-bg-color);\n\n &:hover {\n background-color: var(--ui-control-hover-bg-color);\n }\n\n &.submit {\n margin-left: auto;\n }\n"],["\n padding-top: 2px;\n padding-bottom: 3px;\n background-color: var(--ui-control-bg-color);\n\n &:hover {\n background-color: var(--ui-control-hover-bg-color);\n }\n\n &.submit {\n margin-left: auto;\n }\n"])))},50352:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(2784)),i=n(46425),a=n(11767),l=n(57092),u=n(96788),c=n(51362),d=n(88863),s=r(n(26457)),f=r(n(2072)),p=n(70006),v=r(n(54224)),m=n(74292),h=n(26163),g=n(4002);t.default=function(e){var t,n,r=e.value,b=e.property,y=e.errors,_=e.updateValue,x=o.default.useState(!1),w=x[0],O=x[1],E=(0,h.useNotificationTemplates)(r),P=E.templates,j=E.isFetching,M=E.selectedTemplate,k=(0,m.useEditorAnimations)(w,(null===(t=null==P?void 0:P.database)||void 0===t?void 0:t.length)+(null===(n=null==P?void 0:P.files)||void 0===n?void 0:n.length)),C=(0,m.useSelectionAnimations)(w),S=(0,u.useNewNotificationMutation)();if(j&&!P)return o.default.createElement(i.Control,{property:b,errors:y},o.default.createElement(g.NotificationTemplateSelector,{style:{height:36}},o.default.createElement(g.SelectedNotification,{empty:!0},o.default.createElement("span",null,o.default.createElement(l.LoadingText,{spinner:!0,loading:!0,instant:!0},(0,f.default)("Loading Templates"))),o.default.createElement(v.default,null))));var D=function(e){S.reset(),_(e.id),O(!1)};return o.default.createElement(i.Control,{property:b,errors:y},o.default.createElement(g.NotificationTemplateSelector,{style:k},o.default.createElement(g.SelectedNotification,{onClick:function(){return O(!w)},className:(0,s.default)(w&&"open")},o.default.createElement("span",null,null==M?void 0:M.name),o.default.createElement(v.default,null)),o.default.createElement(g.CategorySelectionWrapper,{style:C},o.default.createElement(p.Category,{value:r,category:d.TemplateType.Database,templates:P.database,onClick:D}),o.default.createElement(p.Category,{value:r,category:d.TemplateType.File,templates:P.files,onClick:D})),o.default.createElement(g.ButtonRow,{style:{opacity:C.opacity}},o.default.createElement(g.Button,{className:(0,s.default)("btn",S.isLoading&&"disabled"),disabled:S.isLoading,onClick:function(){S.reset(),O(!1)}},(0,f.default)("Close")),o.default.createElement(g.Button,{className:(0,s.default)("btn",S.isLoading&&"disabled"),disabled:S.isLoading,onClick:function(){S.reset(),_(void 0),O(!1)}},(0,f.default)("Clear choice")),o.default.createElement(g.Button,{className:(0,s.default)("btn","submit",!S.isLoading&&"add",!S.isLoading&&"icon",S.isLoading&&"disabled"),disabled:S.isLoading,onClick:function(){return S.mutate({name:"New Template"},{onSuccess:function(e){var t=e.data;D(t)}})}},S.isLoading&&o.default.createElement(l.LoadingText,null,(0,f.default)("Creating a template")),!S.isLoading&&(0,f.default)("New template"))),S.isError&&o.default.createElement(a.FormErrorList,{style:{margin:"0 ".concat(c.spacings.sm," ").concat(c.spacings.sm)},errors:S.error.errors})))}},79335:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.BlockWrapper=void 0;var i,a=n(51362),l=o(n(55721));t.BlockWrapper=l.default.div(i||(i=r(["\n display: grid;\n align-items: center;\n gap: ",";\n\n grid-template-columns: 1.5fr 1fr 1.5fr;\n"],["\n display: grid;\n align-items: center;\n gap: ",";\n\n grid-template-columns: 1.5fr 1fr 1.5fr;\n"])),a.spacings.md)},11400:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;nenter while focusing an input to add a new set of inputs.")}})))}},36856:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.LayoutBlock=t.Button=t.ButtonGroup=t.ButtonLayoutWrapper=void 0;var i,a,l,u,c=n(51362),d=o(n(55721));t.ButtonLayoutWrapper=d.default.ul(i||(i=r(["\n display: grid;\n grid-template-columns: 1fr 1fr;\n gap: ",";\n\n margin-top: ",";\n"],["\n display: grid;\n grid-template-columns: 1fr 1fr;\n gap: ",";\n\n margin-top: ",";\n"])),c.spacings.sm,c.spacings.sm),t.ButtonGroup=d.default.div(a||(a=r(["\n display: flex;\n gap: 2px;\n"],["\n display: flex;\n gap: 2px;\n"]))),t.Button=d.default.button(l||(l=r(["\n display: block;\n padding: 3px 5px;\n\n border-radius: ",";\n font-size: 16px;\n\n &:not(.enabled) {\n opacity: 0.2;\n }\n\n &.submit {\n background-color: "," !important;\n fill: "," !important;\n }\n"],["\n display: block;\n padding: 3px 5px;\n\n border-radius: ",";\n font-size: 16px;\n\n &:not(.enabled) {\n opacity: 0.2;\n }\n\n &.submit {\n background-color: "," !important;\n fill: "," !important;\n }\n"])),c.borderRadius.md,c.colors.red500,c.colors.white),t.LayoutBlock=d.default.li(u||(u=r(["\n cursor: pointer;\n\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n padding: 3px;\n\n border: 1px solid ",";\n border-radius: ",";\n background-color: ",";\n\n transition: background-color 0.2s ease-in-out;\n\n "," {\n fill: ",";\n background: ",";\n }\n\n &.active {\n border-color: ",";\n background-color: ",";\n\n "," {\n background: ",";\n fill: ",";\n }\n }\n\n &:not(.active):hover {\n background-color: ",";\n }\n"],["\n cursor: pointer;\n\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n padding: 3px;\n\n border: 1px solid ",";\n border-radius: ",";\n background-color: ",";\n\n transition: background-color 0.2s ease-in-out;\n\n "," {\n fill: ",";\n background: ",";\n }\n\n &.active {\n border-color: ",";\n background-color: ",";\n\n "," {\n background: ",";\n fill: ",";\n }\n }\n\n &:not(.active):hover {\n background-color: ",";\n }\n"])),c.colors.gray100,c.borderRadius.md,c.colors.gray100,t.Button,c.colors.white,c.colors.gray300,c.colors.gray500,c.colors.gray500,t.Button,c.colors.white,c.colors.gray500,c.colors.gray200)},15715:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(2784)),i=n(46425),a=r(n(26457)),l=r(n(70460)),u=r(n(56346)),c=r(n(88622)),d=n(36856),s={save:o.default.createElement(u.default,null),back:o.default.createElement(l.default,null),submit:o.default.createElement(c.default,null)};t.default=function(e){var t,n,r,l,u,c,f=e.value,p=e.property,v=e.errors,m=e.updateValue,h=e.context,g=p.layouts,b={save:null===(n=null===(t=null==h?void 0:h.buttons)||void 0===t?void 0:t.save)||void 0===n?void 0:n.enabled,back:null===(l=null===(r=null==h?void 0:h.buttons)||void 0===r?void 0:r.back)||void 0===l?void 0:l.enabled,submit:null===(c=null===(u=null==h?void 0:h.buttons)||void 0===u?void 0:u.submit)||void 0===c?void 0:c.enabled};return o.default.createElement(i.Control,{property:p,errors:v},o.default.createElement(d.ButtonLayoutWrapper,null,g.map((function(e,t){return o.default.createElement(d.LayoutBlock,{key:t,onClick:function(){return m(e)},className:(0,a.default)(f===e&&"active")},e.split(" ").map((function(e,t){return o.default.createElement(d.ButtonGroup,{key:t},e.split("|").filter(Boolean).map((function(e,t){return o.default.createElement(d.Button,{className:(0,a.default)(e,(null==b?void 0:b[e])&&"enabled"),key:t},s[e])})))})))}))))}},96923:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PageButtonWrapper=void 0;var i,a=n(80286),l=o(n(55721));t.PageButtonWrapper=l.default.label(i||(i=r(["\n display: flex;\n justify-content: start;\n\n "," {\n margin-bottom: 2px;\n }\n"],["\n display: flex;\n justify-content: start;\n\n "," {\n margin-bottom: 2px;\n }\n"])),a.CheckboxWrapper)},42753:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n1&&c.default.createElement(c.default.Fragment,null,c.default.createElement(f.Cell,{$tiny:!0},c.default.createElement(s.default,{property:{label:"",handle:"".concat(u,"-check"),type:b.PropertyType.Boolean},value:a?o.includes(e.value):e.value===o,updateValue:function(){if(a){var t=o;i(t.includes(e.value)?t.filter((function(t){return t!==e.value})):l(l([],t,!0),[e.value],!1))}else i(e.value===o?"":e.value)}})),c.default.createElement(f.Cell,{$tiny:!0},c.default.createElement(f.Button,{ref:E.current[u],className:"handle"},c.default.createElement(h.default,null))),c.default.createElement(f.Cell,{$tiny:!0},c.default.createElement(f.Button,{onClick:function(){n((0,_.deleteOption)(u,t)),M(Math.max(u-1,0),0)}},c.default.createElement(m.default,null)))))}))))),c.default.createElement(d.HelpText,null,c.default.createElement("span",{dangerouslySetInnerHTML:{__html:(0,y.default)("Press enter while editing a cell to add a new row.")}})))}},53585:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n div {\n &:first-child {\n flex-grow: 1;\n }\n\n &:nth-child(2) {\n flex-shrink: 0;\n flex-basis: 100px;\n }\n }\n"],["\n display: flex;\n\n > div {\n &:first-child {\n flex-grow: 1;\n }\n\n &:nth-child(2) {\n flex-shrink: 0;\n flex-basis: 100px;\n }\n }\n"])))},89726:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CustomPreview=void 0;var o=r(n(2784)),i=n(97369),a=r(n(2072)),l=n(57482);t.CustomPreview=function(e){var t=e.value,n=t.options,r=void 0===n?[]:n,u=t.useCustomValues;return o.default.createElement(i.PreviewWrapper,{"data-edit":(0,a.default)("Click to edit data")},o.default.createElement(i.PreviewTable,null,!r.length&&o.default.createElement(i.NoContent,null,(0,a.default)("Not configured yet")),r.map((function(e,t){return o.default.createElement(l.PreviewRow,{key:t},o.default.createElement(i.PreviewData,{"data-empty":(0,a.default)("empty")},e.label),u&&o.default.createElement(i.PreviewData,{"data-empty":(0,a.default)("empty")},e.value))}))))}},1691:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(2784)),i=n(15738),a=n(33819),l=r(n(2072)),u=n(5355),c=n(53585),d=n(89726);t.default=function(e){var t=e.value,n=e.updateValue,r=e.defaultValue,s=e.updateDefaultValue,f=e.isMultiple;return o.default.createElement(o.default.Fragment,null,o.default.createElement(i.Label,null,(0,l.default)("Options")),o.default.createElement(a.PreviewableComponent,{preview:o.default.createElement(d.CustomPreview,{value:t,defaultValue:r,isMultiple:f}),onAfterEdit:function(){return n((0,c.cleanOptions)(t))},onEdit:function(){t.options.length||n((0,c.addOption)(t,0))}},o.default.createElement(u.CustomEditor,{value:t,updateValue:n,defaultValue:r,updateDefaultValue:s,isMultiple:f})))}},13866:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateDefaultValue=void 0;var r=n(69229);t.generateDefaultValue=function(e){switch(e){case r.Source.Elements:return{source:r.Source.Elements,typeClass:"",properties:{}};case r.Source.Predefined:return{source:r.Source.Predefined,typeClass:"",properties:{}};case r.Source.Custom:default:return{source:r.Source.Custom,useCustomValues:!1,options:[]}}}},78155:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.custom=t.predefined=t.elements=void 0;var o=n(39149);Object.defineProperty(t,"elements",{enumerable:!0,get:function(){return r(o).default}});var i=n(76238);Object.defineProperty(t,"predefined",{enumerable:!0,get:function(){return r(i).default}});var a=n(1691);Object.defineProperty(t,"custom",{enumerable:!0,get:function(){return r(a).default}})},23773:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SourceComponent=void 0;var a=i(n(2784)),l=n(90163),u=n(69229),c=i(n(78155));t.SourceComponent=function(e){var t=e.value,n=e.updateValue,r=e.defaultValue,o=e.updateDefaultValue,i=e.convertToCustomValues,d=e.isMultiple,s=t.source,f=void 0===s?u.Source.Custom:s,p=c[f];return void 0===p?a.default.createElement("div",null,f," not implemented..."):(p.displayName="Source <".concat(f,">"),a.default.createElement(l.ErrorBoundary,{message:"...".concat(f," not implemented")},a.default.createElement(a.Suspense,null,a.default.createElement(p,{value:t,updateValue:n,defaultValue:r,updateDefaultValue:o,convertToCustomValues:i,isMultiple:d}))))}},24658:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(2784)),i=n(4500),a=n(46425);t.default=function(e){var t=e.value,n=e.property,r=e.errors,l=e.updateValue,u=n.options,c=n.emptyOption;return o.default.createElement(a.Control,{property:n,errors:r},o.default.createElement(i.Dropdown,{value:null!=t?t:"",emptyOption:c,options:u,onChange:l}))}},60556:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(2784)),i=n(46425),a=r(n(26457));t.default=function(e){var t,n=e.value,r=e.property,l=e.errors,u=e.updateValue,c=e.autoFocus,d=r.handle;return o.default.createElement(i.Control,{property:r,errors:l},o.default.createElement("input",{id:d,type:"text",autoComplete:"off",autoFocus:c,"data-1p-ignore":!0,className:(0,a.default)("text","fullwidth",(null===(t=null==r?void 0:r.flags)||void 0===t?void 0:t.includes("code"))&&"code"),value:null!=n?n:"",placeholder:r.placeholder,onChange:function(e){return u(e.target.value)}}))}},69412:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Button=t.Select=t.Input=t.Cell=t.Row=t.TabularOptions=t.TableContainer=t.TableEditorWrapper=void 0;var i,a,l,u,c,d,s,f,p=n(51362),v=o(n(55721)),m=n(10042);t.TableEditorWrapper=(0,v.default)(m.PreviewEditor)(i||(i=r([""],[""]))),t.TableContainer=(0,v.default)(m.PreviewEditorContainer)(a||(a=r([""],[""]))),t.TabularOptions=v.default.table(l||(l=r(["\n width: 100%;\n"],["\n width: 100%;\n"]))),t.Row=v.default.tr(u||(u=r([""],[""]))),t.Cell=v.default.td(c||(c=r(["\n width: ",";\n\n padding: ",";\n\n border: 1px solid rgba(0, 0, 0, 0.1);\n\n label {\n display: none;\n }\n}\n"],["\n width: ",";\n\n padding: ",";\n\n border: 1px solid rgba(0, 0, 0, 0.1);\n\n label {\n display: none;\n }\n}\n"])),(function(e){var t=e.$tiny,n=e.$width;return t?"32px":n?"".concat(n,"px"):"auto"}),(function(e){return e.$tiny?"6px 9px !important":"0 !important"})),t.Input=v.default.input(d||(d=r(["\n width: 100%;\n height: 34px;\n\n padding: 6px 9px;\n\n background: ",";\n\n &:focus {\n box-shadow: var(--inner-focus-ring);\n }\n\n &::placeholder {\n color: ",";\n }\n"],["\n width: 100%;\n height: 34px;\n\n padding: 6px 9px;\n\n background: ",";\n\n &:focus {\n box-shadow: var(--inner-focus-ring);\n }\n\n &::placeholder {\n color: ",";\n }\n"])),p.colors.white,p.colors.gray200),t.Select=v.default.select(s||(s=r(["\n width: 100%;\n height: 34px;\n\n padding: 6px 9px;\n\n &:focus {\n box-shadow: var(--inner-focus-ring);\n }\n"],["\n width: 100%;\n height: 34px;\n\n padding: 6px 9px;\n\n &:focus {\n box-shadow: var(--inner-focus-ring);\n }\n"]))),t.Button=v.default.button(f||(f=r(["\n padding: 1px;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n\n &.handle {\n cursor: move;\n }\n\n &:disabled {\n cursor: not-allowed;\n color: lightgray;\n }\n\n > svg {\n fill: currentColor;\n }\n"],["\n padding: 1px;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n\n &.handle {\n cursor: move;\n }\n\n &:disabled {\n cursor: not-allowed;\n color: lightgray;\n }\n\n > svg {\n fill: currentColor;\n }\n"])))},42026:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n1&&u.default.createElement(u.default.Fragment,null,u.default.createElement(d.Cell,{$tiny:!0},u.default.createElement(d.Button,{ref:i.current[a],className:"handle"},u.default.createElement(m.default,null))),u.default.createElement(d.Cell,{$tiny:!0},u.default.createElement(d.Button,{onClick:function(){o((0,s.deleteColumn)(a,n)),g(Math.max(a-1,0),0)}},u.default.createElement(v.default,null)))))}))))),u.default.createElement(c.HelpText,null,u.default.createElement("span",{dangerouslySetInnerHTML:{__html:(0,h.default)("Press enter while editing a cell to add a new row.")}})))}},48807:function(e,t,n){"use strict";var r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o div {\n white-space: nowrap;\n overflow: hidden;\n\n padding: 7px "," 7px 0;\n\n &:last-child {\n padding-right: 0;\n }\n }\n"],["\n position: relative;\n\n display: grid;\n grid-template-columns: auto 100px;\n gap: 10px;\n\n justify-items: stretch;\n align-items: center;\n\n border-bottom: 1px solid ",";\n\n &:after {\n content: attr(data-title);\n\n position: absolute;\n left: calc(100% - 105px);\n bottom: -7px;\n\n padding: 0 5px;\n background: ",";\n\n ",";\n font-size: 8px;\n }\n\n > div {\n white-space: nowrap;\n overflow: hidden;\n\n padding: 7px "," 7px 0;\n\n &:last-child {\n padding-right: 0;\n }\n }\n"])),f.colors.gray100,f.colors.white,s.labelText,f.spacings.xs),t.PreviewData=p.default.div(d||(d=r(["\n &:empty {\n &:after {\n content: attr(data-empty);\n color: ",";\n font-size: 12px;\n font-style: italic;\n }\n }\n"],["\n &:empty {\n &:after {\n content: attr(data-empty);\n color: ",";\n font-size: 12px;\n font-style: italic;\n }\n }\n"])),f.colors.gray200)},98652:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TablePreview=void 0;var o=r(n(2784)),i=r(n(2072)),a=n(97369),l=function(e,t){var n;return(null===(n=e.find((function(e){return e.value===t})))||void 0===n?void 0:n.label)||t};t.TablePreview=function(e){var t=e.columnTypes,n=e.columns;return o.default.createElement(a.PreviewWrapper,{"data-edit":(0,i.default)("Click to edit data")},o.default.createElement(a.PreviewTable,null,!n.length&&o.default.createElement(a.NoContent,null,(0,i.default)("Not configured yet")),n.map((function(e,n){return o.default.createElement(a.PreviewRow,{key:n,"data-title":l(t,e.type)},o.default.createElement(a.PreviewData,{"data-empty":(0,i.default)("empty")},e.label),o.default.createElement(a.PreviewData,{"data-empty":(0,i.default)("empty")},e.value))}))))}},32346:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(2784)),i=n(46425),a=n(33819),l=n(42026),u=n(48807),c=n(98652);t.default=function(e){var t=e.value,n=e.property,r=e.errors,d=e.updateValue,s=n.options;return o.default.createElement(i.Control,{property:n,errors:r},o.default.createElement(a.PreviewableComponent,{preview:o.default.createElement(c.TablePreview,{columnTypes:s,columns:t}),onAfterEdit:function(){return d((0,u.cleanColumns)(t))},onEdit:function(){t.length||d((0,u.addColumn)(t,0))}},o.default.createElement(l.TableEditor,{columnTypes:s,columns:t,updateValue:d})))}},79250:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o1&&u.default.createElement(u.default.Fragment,null,u.default.createElement(d.Cell,{$tiny:!0},u.default.createElement(d.Button,{ref:o.current[i],className:"handle"},u.default.createElement(v.default,null))),u.default.createElement(d.Cell,{$tiny:!0},u.default.createElement(d.Button,{onClick:function(){r((0,h.deleteRow)(i,n)),g(Math.max(i-1,0),0)}},u.default.createElement(p.default,null)))))}))))),u.default.createElement(c.HelpText,null,u.default.createElement("span",{dangerouslySetInnerHTML:{__html:(0,m.default)("Press enter while editing a cell to add a new row.")}})))}},43219:function(e,t,n){"use strict";var r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o div {\n white-space: nowrap;\n overflow: hidden;\n\n padding: 7px "," 7px 0;\n\n &:last-child {\n padding-right: 0;\n }\n }\n"],["\n position: relative;\n\n display: grid;\n grid-template-columns: auto 100px;\n gap: 10px;\n\n justify-items: stretch;\n align-items: center;\n\n border-bottom: 1px solid ",";\n\n &:after {\n content: attr(data-title);\n\n position: absolute;\n left: calc(100% - 105px);\n bottom: -7px;\n\n padding: 0 5px;\n background: ",";\n\n ",";\n font-size: 8px;\n }\n\n > div {\n white-space: nowrap;\n overflow: hidden;\n\n padding: 7px "," 7px 0;\n\n &:last-child {\n padding-right: 0;\n }\n }\n"])),f.colors.gray100,f.colors.white,s.labelText,f.spacings.xs),t.PreviewData=p.default.div(d||(d=r(["\n &:empty {\n &:after {\n content: attr(data-empty);\n color: ",";\n font-size: 12px;\n font-style: italic;\n }\n }\n"],["\n &:empty {\n &:after {\n content: attr(data-empty);\n color: ",";\n font-size: 12px;\n font-style: italic;\n }\n }\n"])),f.colors.gray200)},48190:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TabularDataPreview=void 0;var o=r(n(2784)),i=r(n(2072)),a=n(49982);t.TabularDataPreview=function(e){var t=e.configuration,n=e.values;return o.default.createElement(a.PreviewWrapper,{"data-edit":(0,i.default)("Click to edit data")},o.default.createElement(a.PreviewTable,null,!n.length&&o.default.createElement(a.NoContent,null,(0,i.default)("Not configured yet")),n.map((function(e,n){return o.default.createElement(a.PreviewRow,{key:n},t.map((function(t,n){return o.default.createElement(a.PreviewData,{key:n,"data-empty":(0,i.default)("empty"),"data-title":t.label},e[n])})))}))))}},66135:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(2784)),i=n(46425),a=n(33819),l=n(79250),u=n(43219),c=n(48190);t.default=function(e){var t=e.value,n=e.property,r=e.errors,d=e.updateValue,s=n.configuration;return o.default.createElement(i.Control,{property:n,errors:r},o.default.createElement(a.PreviewableComponent,{preview:o.default.createElement(c.TabularDataPreview,{configuration:s,values:t}),onAfterEdit:function(){return d((0,u.cleanRows)(t))},onEdit:function(){t.length||d((0,u.addRow)(t,s,0))}},o.default.createElement(l.TabularDataEditor,{configuration:s,values:t,updateValue:d})))}},27542:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(2784)),i=n(46425),a=r(n(26457));t.default=function(e){var t=e.value,n=e.property,r=e.errors,l=e.updateValue,u=e.autoFocus,c=n.handle,d=n.rows;return o.default.createElement(i.Control,{property:n,errors:r},o.default.createElement("textarea",{id:c,className:(0,a.default)("text","fullwidth",n.flags.includes("code")&&"code"),rows:d,value:null!=t?t:"",placeholder:n.placeholder,autoFocus:u,onChange:function(e){return l(e.target.value)}}))}},73966:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.QuillEditorWrapper=void 0;var i,a=o(n(55721));t.QuillEditorWrapper=a.default.div(i||(i=r(["\n .ql-editor {\n min-height: 300px;\n }\n"],["\n .ql-editor {\n min-height: 300px;\n }\n"])))},6003:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.WysiwygEditor=void 0;var o=r(n(2784)),i=r(n(8617)),a=n(10042),l=n(73966);n(61632);t.WysiwygEditor=function(e){var t=e.value,n=e.updateValue;return o.default.createElement(a.PreviewEditor,null,o.default.createElement(a.PreviewContainer,null,o.default.createElement(l.QuillEditorWrapper,null,o.default.createElement(i.default,{theme:"snow",value:t,onChange:n,style:{background:"white"}}))))}},85254:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PreviewContainer=t.Pre=void 0;var i,a,l=n(51362),u=o(n(55721)),c=n(97369);t.Pre=u.default.pre(i||(i=r(["\n font-size: 10px;\n"],["\n font-size: 10px;\n"]))),t.PreviewContainer=(0,u.default)(c.PreviewTable)(a||(a=r(["\n padding: ",";\n"],["\n padding: ",";\n"])),l.spacings.sm)},87186:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.WysiwygPreview=void 0;var o=r(n(2784)),i=r(n(2072)),a=n(97369),l=n(85254);t.WysiwygPreview=function(e){var t=e.value;return o.default.createElement(a.PreviewWrapper,{"data-edit":(0,i.default)("Click to edit data")},o.default.createElement(l.PreviewContainer,null,!t&&o.default.createElement(a.NoContent,null,(0,i.default)("Not configured yet")),o.default.createElement("div",{dangerouslySetInnerHTML:{__html:t}})))}},47939:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(2784)),i=n(46425),a=n(33819),l=n(6003),u=n(87186);t.default=function(e){var t=e.value,n=e.property,r=e.errors,c=e.updateValue;return o.default.createElement(i.Control,{property:n,errors:r},o.default.createElement(a.PreviewableComponent,{preview:o.default.createElement(u.WysiwygPreview,{value:t})},o.default.createElement(l.WysiwygEditor,{value:t,updateValue:c})))}},15738:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ControlWrapper=t.FormField=t.Instructions=t.Label=void 0;var i,a,l,u,c=n(51362),d=o(n(55721));t.Label=d.default.label(i||(i=r(["\n display: block;\n\n color: ",";\n font-weight: "," !important;\n\n &.is-required {\n &:after {\n content: '*';\n padding-left: 2px;\n\n color: ",";\n }\n }\n"],["\n display: block;\n\n color: ",";\n font-weight: "," !important;\n\n &.is-required {\n &:after {\n content: '*';\n padding-left: 2px;\n\n color: ",";\n }\n }\n"])),c.colors.gray550,(function(e){return e.$regular?"normal":"bold"}),c.colors.error),t.Instructions=d.default.span(a||(a=r(["\n display: block;\n\n color: ",";\n padding-top: 0;\n line-height: 16px;\n font-size: 12px;\n font-style: italic;\n\n &:not(:last-child) {\n padding-bottom: 6px;\n }\n"],["\n display: block;\n\n color: ",";\n padding-top: 0;\n line-height: 16px;\n font-size: 12px;\n font-style: italic;\n\n &:not(:last-child) {\n padding-bottom: 6px;\n }\n"])),c.colors.gray300),t.FormField=d.default.div(l||(l=r(["\n margin: 0;\n padding: 0;\n width: 100%;\n display: block;\n\n &.disabled {\n user-select: none;\n pointer-events: none;\n opacity: 0.5;\n }\n"],["\n margin: 0;\n padding: 0;\n width: 100%;\n display: block;\n\n &.disabled {\n user-select: none;\n pointer-events: none;\n opacity: 0.5;\n }\n"]))),t.ControlWrapper=d.default.div(u||(u=r(["\n display: flex;\n position: relative;\n flex-direction: column;\n align-items: flex-start;\n justify-content: flex-start;\n\n width: ",";\n\n &.disabled {\n opacity: 0.5;\n user-select: none;\n pointer-events: none;\n }\n\n &.errors {\n "," {\n color: ",";\n }\n\n "," {\n input,\n textarea,\n select {\n border: 1px solid ",";\n }\n\n select {\n background-color: var(--ui-control-bg-color);\n\n &:hover {\n background-color: var(--ui-control-hover-bg-color);\n }\n }\n }\n }\n\n &.spacing-small {\n padding-top: 6px;\n }\n\n .btn {\n background-color: var(--ui-control-bg-color);\n\n &:hover {\n background-color: var(--ui-control-hover-bg-color);\n }\n }\n"],["\n display: flex;\n position: relative;\n flex-direction: column;\n align-items: flex-start;\n justify-content: flex-start;\n\n width: ",";\n\n &.disabled {\n opacity: 0.5;\n user-select: none;\n pointer-events: none;\n }\n\n &.errors {\n "," {\n color: ",";\n }\n\n "," {\n input,\n textarea,\n select {\n border: 1px solid ",";\n }\n\n select {\n background-color: var(--ui-control-bg-color);\n\n &:hover {\n background-color: var(--ui-control-hover-bg-color);\n }\n }\n }\n }\n\n &.spacing-small {\n padding-top: 6px;\n }\n\n .btn {\n background-color: var(--ui-control-bg-color);\n\n &:hover {\n background-color: var(--ui-control-hover-bg-color);\n }\n }\n"])),(function(e){var t=e.$width;return t?"".concat(t,"%"):"100%"}),t.Label,c.colors.error,t.FormField,c.colors.error)},46425:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Control=void 0;var o=r(n(2784)),i=n(15738),a=r(n(37033)),l=r(n(22299)),u=r(n(26457)),c=n(11767);t.Control=function(e){var t=e.children,n=e.property,r=e.errors,d=n.label,s=n.handle,f=n.required,p=n.instructions,v=n.width,m=n.disabled;return o.default.createElement(i.ControlWrapper,{className:(0,u.default)(!!r&&"errors",m&&"disabled"),$width:v},o.default.createElement(l.default,{label:d,handle:s,required:f}),o.default.createElement(a.default,{instructions:p}),o.default.createElement(i.FormField,null,t),o.default.createElement(c.FormErrorList,{errors:r}))}},9256:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DraggableRow=void 0;var l=i(n(2784)),u=n(69412),c=n(25141),d=n(76930),s=a(n(26457));t.DraggableRow=function(e){var t=e.index,n=e.dragRef,r=e.onDrop,o=e.children,i=(0,l.useRef)(null),a=(0,d.useRowDrop)(t,i,r),f=a.handlerId,p=a.drop,v=(0,c.useRowDrag)(t),m=v.isDragging,h=v.drag,g=v.preview;return h(n),p(g(i)),l.default.createElement(u.Row,{ref:i,className:(0,s.default)(m&&"dragging"),"data-handler-id":f},o)}},11767:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&v--,"ArrowDown"===o.key&&i0&&g.start&&(p=!0,m--),"ArrowRight"===o.key&&ua&&d>c||(n(l,a),r.index=a)}}}}}),[t,n]);return{handlerId:i[0].handlerId,drop:i[1]}}},86837:function(e,t,n){"use strict";var r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o")):(m.displayName="FormComponent: <".concat(p,">"),h?a.default.createElement(u.ErrorBoundary,{message:"...".concat(f," <").concat(p,">")},a.default.createElement(a.Suspense,null,a.default.createElement(m,{value:t,property:r,updateValue:n,errors:o,context:i,autoFocus:s}))):null)}},37033:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(2784)),i=n(15738);t.default=function(e){var t=e.instructions;return t?o.default.createElement(i.Instructions,null,t):null}},22299:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(2784)),i=r(n(26457)),a=n(15738);t.default=function(e){var t=e.label,n=e.handle,r=e.required;return t?o.default.createElement(a.Label,{className:(0,i.default)(r&&"is-required"),htmlFor:n},t):null}},11863:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useEditorAnimations=void 0;var r=n(2784),o=n(79066),i=n(57305);t.useEditorAnimations=function(e){var t=e.wrapper,n=e.editor,a=e.isEditing,l=(0,i.usePosition)(t,n,a),u=l.top,c=l.left,d=null==t?void 0:t.offsetWidth,s=(0,r.useState)(!1),f=s[0],p=s[1];return{editorAnimation:(0,o.useSpring)({immediate:function(e){return["top","left","width","pointerEvents","transformOrigin"].includes(e)},to:{top:u,left:c,width:d,opacity:a?1:0,transformOrigin:"top left",transform:a?"scaleY(1)":"scaleY(0.5)",pointerEvents:a?"initial":"none"},config:{tension:700,friction:40}}),isVisible:f,setVisible:p}}},57305:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.usePosition=void 0;var r=n(2784),o=n(53084),i=n(71485),a=n(92853);t.usePosition=function(e,t,n){var l=(0,o.usePortal)().dimensions,u=(0,r.useState)(0),c=u[0],d=u[1],s=(0,r.useState)(0),f=s[0],p=s[1],v=function(){var n;d((0,a.calculateTopOffset)(e,t));var r=null===(n=null==e?void 0:e.getBoundingClientRect())||void 0===n?void 0:n.left;r&&p(r-l.left)};return(0,r.useEffect)((function(){v()}),[n]),(0,r.useEffect)((function(){var e=function(){v()};if(t){var n=document.querySelector(i.SectionWrapper.toString()),r=new ResizeObserver(e);return r.observe(t),window.addEventListener("resize",e),window.addEventListener("scroll",e),null==n||n.addEventListener("scroll",e),function(){r.disconnect(),window.removeEventListener("resize",e),window.removeEventListener("scroll",e),null==n||n.addEventListener("scroll",e)}}}),[t]),{top:c,left:f}}},92853:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.calculateTopOffset=void 0;t.calculateTopOffset=function(e,t){var n=null==e?void 0:e.getBoundingClientRect().top,r=window.innerHeight,o=null==t?void 0:t.offsetHeight;return void 0===o?n:n&&o&&r?n+o>r-20?n-(n+o-r+20):n:0}},10042:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PreviewEditorContainer=t.PreviewEditor=t.PreviewContainer=t.EditableContentWrapper=t.PreviewWrapper=void 0;var i,a,l,u,c,d=n(79066),s=n(80159),f=n(51362),p=o(n(55721));t.PreviewWrapper=p.default.div(i||(i=r(["\n position: relative;\n width: 100%;\n"],["\n position: relative;\n width: 100%;\n"]))),t.EditableContentWrapper=(0,p.default)(d.animated.div)(a||(a=r(["\n position: absolute;\n left: 0;\n top: 0;\n z-index: 3;\n\n box-shadow: ",";\n\n pointer-events: none;\n\n &.active {\n pointer-events: all;\n }\n"],["\n position: absolute;\n left: 0;\n top: 0;\n z-index: 3;\n\n box-shadow: ",";\n\n pointer-events: none;\n\n &.active {\n pointer-events: all;\n }\n"])),f.shadows.panel),t.PreviewContainer=p.default.div(l||(l=r(["\n cursor: pointer;\n\n input,\n select,\n textarea {\n pointer-events: none;\n }\n"],["\n cursor: pointer;\n\n input,\n select,\n textarea {\n pointer-events: none;\n }\n"]))),t.PreviewEditor=p.default.div(u||(u=r(["\n width: 100%;\n min-width: 800px;\n\n display: flex;\n flex-direction: column;\n gap: ",";\n\n padding: ",";\n\n box-shadow: ",";\n border-radius: ",";\n background: ",";\n"],["\n width: 100%;\n min-width: 800px;\n\n display: flex;\n flex-direction: column;\n gap: ",";\n\n padding: ",";\n\n box-shadow: ",";\n border-radius: ",";\n background: ",";\n"])),f.spacings.lg,f.spacings.lg,f.shadows.box,f.borderRadius.lg,f.colors.gray050),t.PreviewEditorContainer=p.default.div(c||(c=r(["\n max-height: 600px;\n overflow-x: hidden;\n overflow-y: auto;\n\n ",";\n"],["\n max-height: 600px;\n overflow-x: hidden;\n overflow-y: auto;\n\n ",";\n"])),s.scrollBar)},33819:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0?document.body.style.overflow="hidden":document.body.style.overflow="auto"}),[r]);var l=(0,f.useAnimateOverlay)(r.length>0),m=(0,f.useAnimateModals)(r);return u.default.createElement(v.Provider,{value:{openModal:function(e){o(a(a([],r,!0),[e],!1))},closeModal:i}},t,(0,c.createPortal)(u.default.createElement(p.ModalHub,null,u.default.createElement(p.ModalOverlay,{style:l,className:(0,d.default)(!r.length&&"inactive")},m((function(e,t,n,r){return u.default.createElement(s.Modal,{key:r,closeModal:i,style:e},u.default.createElement(t,{closeModal:i}))})))),document.body))}},4679:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ModalFooter=t.ModalHeader=t.ModalContainer=t.ModalWrapper=t.ModalOverlay=t.ModalHub=void 0;var i,a,l,u,c,d,s=n(79066),f=n(51362),p=o(n(55721));t.ModalHub=p.default.div(i||(i=r([""],[""]))),t.ModalOverlay=(0,p.default)(s.animated.div)(a||(a=r(["\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n z-index: 1000;\n\n background-color: rgba(123, 135, 147, 0);\n\n &.inactive {\n pointer-events: none;\n }\n"],["\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n z-index: 1000;\n\n background-color: rgba(123, 135, 147, 0);\n\n &.inactive {\n pointer-events: none;\n }\n"]))),t.ModalWrapper=(0,p.default)(s.animated.div)(l||(l=r(["\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n z-index: 1001;\n\n display: flex;\n justify-content: center;\n align-items: center;\n"],["\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n z-index: 1001;\n\n display: flex;\n justify-content: center;\n align-items: center;\n"]))),t.ModalContainer=p.default.div(u||(u=r(["\n width: 100%;\n max-width: 500px;\n\n background-color: #fff;\n border-radius: ",";\n box-shadow: 0 25px 100px rgba(31, 41, 51, 0.5);\n"],["\n width: 100%;\n max-width: 500px;\n\n background-color: #fff;\n border-radius: ",";\n box-shadow: 0 25px 100px rgba(31, 41, 51, 0.5);\n"])),f.borderRadius.lg),t.ModalHeader=p.default.header(c||(c=r(["\n padding: "," ",";\n\n background-color: ",";\n box-shadow: inset 0 -1px 0 ",";\n\n border-radius: "," "," 0 0;\n"],["\n padding: "," ",";\n\n background-color: ",";\n box-shadow: inset 0 -1px 0 ",";\n\n border-radius: "," "," 0 0;\n"])),f.spacings.lg,f.spacings.xl,f.colors.gray100,f.colors.hairline,f.borderRadius.lg,f.borderRadius.lg),t.ModalFooter=p.default.footer(d||(d=r(["\n display: flex;\n justify-content: end;\n align-items: center;\n gap: ",";\n\n padding: "," ",";\n\n background-color: ",";\n box-shadow: inset 0 1px 0 ",";\n\n border-radius: 0 0 "," ",";\n"],["\n display: flex;\n justify-content: end;\n align-items: center;\n gap: ",";\n\n padding: "," ",";\n\n background-color: ",";\n box-shadow: inset 0 1px 0 ",";\n\n border-radius: 0 0 "," ",";\n"])),f.spacings.sm,f.spacings.sm,f.spacings.xl,f.colors.gray100,f.colors.hairline,f.borderRadius.lg,f.borderRadius.lg)},33134:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Modal=void 0;var o=r(n(2784)),i=n(31070),a=n(4679);t.Modal=function(e){var t=e.children,n=e.closeModal,r=e.style;return(0,i.useEscapeStack)(n),o.default.createElement(a.ModalWrapper,{style:r},t)}},50822:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Wrapper=void 0;var i,a=o(n(55721));t.Wrapper=a.default.div(i||(i=r(["\n color: white;\n background: red;\n border: 1px solid darkred;\n"],["\n color: white;\n background: red;\n border: 1px solid darkred;\n"])))},27562:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorBlock=void 0;var o=r(n(2784)),i=n(50822);t.ErrorBlock=function(e){var t=e.children;return o.default.createElement(i.Wrapper,null,t)}},12415:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{u(r.next(e))}catch(e){i(e)}}function l(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}u((r=r.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(u){return function(l){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,l[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&l[0]?r.return:l[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,l[1])).done)return o;switch(r=0,o&&(l=[2&l[0],o.value]),l[0]){case 0:case 1:o=l;break;case 4:return a.label++,{value:l[1],done:!1};case 5:a.label++,r=l[1],l=[0];continue;case 7:l=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==l[0]&&2!==l[0])){a=0;continue}if(3===l[0]&&(!o||l[1]>o[0]&&l[1] a {\n display: flex;\n align-items: center;\n gap: ",";\n\n padding: "," ",";\n border-radius: ",";\n\n color: ",";\n font-size: 12px;\n line-height: 12px;\n\n transition: background-color 0.2s ease-out;\n text-decoration: none;\n\n &.active {\n color: ",";\n background-color: ",";\n }\n\n &.active.inactive {\n .status-dot {\n border-color: ",";\n }\n }\n\n &:hover:not(.active) {\n background-color: ",";\n }\n }\n"],["\n > a {\n display: flex;\n align-items: center;\n gap: ",";\n\n padding: "," ",";\n border-radius: ",";\n\n color: ",";\n font-size: 12px;\n line-height: 12px;\n\n transition: background-color 0.2s ease-out;\n text-decoration: none;\n\n &.active {\n color: ",";\n background-color: ",";\n }\n\n &.active.inactive {\n .status-dot {\n border-color: ",";\n }\n }\n\n &:hover:not(.active) {\n background-color: ",";\n }\n }\n"])),c.spacings.sm,c.spacings.sm,c.spacings.md,c.borderRadius.lg,c.colors.gray700,c.colors.white,c.colors.gray500,c.colors.white,c.colors.gray200),t.Icon=d.default.div(a||(a=r(["\n display: block;\n width: 20px;\n height: 20px;\n"],["\n display: block;\n width: 20px;\n height: 20px;\n"]))),t.Name=d.default.div(l||(l=r(["\n flex-grow: 1;\n max-width: 90%;\n\n padding: 1px 0;\n\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n"],["\n flex-grow: 1;\n max-width: 90%;\n\n padding: 1px 0;\n\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n"]))),t.Status=d.default.div(u||(u=r(["\n content: '';\n\n flex-shrink: 0;\n justify-self: flex-end;\n\n width: 10px;\n height: 10px;\n\n border: 1px solid\n ",";\n border-radius: 100%;\n\n background-color: ",";\n\n transition: all 0.3s ease-out;\n"],["\n content: '';\n\n flex-shrink: 0;\n justify-self: flex-end;\n\n width: 10px;\n height: 10px;\n\n border: 1px solid\n ",";\n border-radius: 100%;\n\n background-color: ",";\n\n transition: all 0.3s ease-out;\n"])),(function(e){return e.$enabled?"transparent":c.colors.gray550}),(function(e){return e.$enabled?c.colors.teal550:"transparent"}))},70177:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Integration=void 0;var o=r(n(2784)),i=n(86993),a=n(76034),l=n(66583),u=r(n(26457)),c=r(n(83190)),d=n(87570);t.Integration=function(e){var t=e.id,n=e.name,r=e.handle,s=e.icon,f=(0,i.useSelector)(l.integrationSelectors.one(t));return f?o.default.createElement(d.Wrapper,null,o.default.createElement(a.NavLink,{to:"".concat(t,"/").concat(r),className:(0,u.default)(!f.enabled&&"inactive")},o.default.createElement(d.Icon,null,!!s&&o.default.createElement("img",{src:s}),!s&&o.default.createElement(c.default,null)),o.default.createElement(d.Name,null,n),o.default.createElement(d.Status,{$enabled:f.enabled,className:(0,u.default)("status-dot")}))):null}},40098:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Wrapper=void 0;var i,a=n(51362),l=o(n(55721));t.Wrapper=l.default.ul(i||(i=r(["\n display: flex;\n flex-direction: column;\n gap: ",";\n\n list-style: none;\n"],["\n display: flex;\n flex-direction: column;\n gap: ",";\n\n list-style: none;\n"])),a.spacings.sm)},50058:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;no?on){if(d>=t&&t>n)return-r}else if(d<=t&&t span {\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n }\n\n &.active {\n color: ",";\n border-bottom-color: ",";\n }\n\n &.errors {\n color: ",";\n\n ",";\n }\n\n &.can-drop {\n box-shadow: 0 2px 12px ",";\n transform: scale(1.1);\n z-index: 2;\n }\n\n &.is-dragging {\n z-index: 1;\n }\n\n &.is-editing {\n padding: 4px 6px;\n }\n\n &:hover {\n cursor: pointer;\n\n "," {\n opacity: 1;\n }\n }\n"],["\n display: flex;\n align-items: center;\n justify-content: center;\n\n max-width: 160px;\n height: 100%;\n padding: 10px 5px;\n margin: 0 5px;\n\n color: ",";\n border-bottom: 2px solid ",";\n\n overflow: hidden;\n\n > span {\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n }\n\n &.active {\n color: ",";\n border-bottom-color: ",";\n }\n\n &.errors {\n color: ",";\n\n ",";\n }\n\n &.can-drop {\n box-shadow: 0 2px 12px ",";\n transform: scale(1.1);\n z-index: 2;\n }\n\n &.is-dragging {\n z-index: 1;\n }\n\n &.is-editing {\n padding: 4px 6px;\n }\n\n &:hover {\n cursor: pointer;\n\n "," {\n opacity: 1;\n }\n }\n"])),f.colors.gray400,f.colors.gray100,f.colors.gray800,f.colors.blue600,f.colors.error,s.errorAlert,f.colors.gray500,t.RemoveTabButton),t.TabDrop=p.default.div(u||(u=r(["\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n z-index: 2;\n\n width: 100%;\n"],["\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n z-index: 2;\n\n width: 100%;\n"]))),t.Input=p.default.input(c||(c=r(["\n border: 0;\n padding: 0 !important;\n line-height: 1rem;\n font-size: 0.75rem;\n box-shadow: none !important;\n\n &:hover,\n &:active {\n box-shadow: none !important;\n }\n"],["\n border: 0;\n padding: 0 !important;\n line-height: 1rem;\n font-size: 0.75rem;\n box-shadow: none !important;\n\n &:hover,\n &:active {\n box-shadow: none !important;\n }\n"])))},33336:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Tab=void 0;var l=i(n(2784)),u=n(86993),c=n(36450),d=n(8697),s=n(72671),f=n(97240),p=n(60719),v=n(77209),m=n(9726),h=a(n(26457)),g=a(n(2072)),b=n(37430),y=n(36253),_=n(73680),x=n(13534),w=n(21573),O=a(n(87661));t.Tab=function(e){var t=e.page,n=e.index,r=(0,u.useSelector)(s.contextSelectors.currentPage),o=(0,u.useSelector)(p.pageSelecors.count),i=(0,c.useAppDispatch)(),a=(0,b.useDragContext)().dragType,E=(0,u.useSelector)(s.contextSelectors.hasErrors(t.uid)),P=(0,l.useRef)(null),j=(0,l.useRef)(null),M=(0,l.useState)(!1),k=M[0],C=M[1],S=(0,x.useTabDrop)(null==r?void 0:r.uid,t),D=S.canDrop,F=S.ref,T=(0,y.useTabDrag)(n,t),L=T.isDragging,R=T.ref,A=(0,x.useTabPageDrop)(P,t,n),B=A.ref,W=A.dragItemIndex,I=F(R(P)),N=(0,_.useTabDragAnimation)(P,n,W,L),z=function(){i(f.pageActions.updateLabel({uid:t.uid,label:j.current.value||t.label}))},Q=(0,m.useClickOutside)({callback:function(){z(),C(!1)},isEnabled:k});return l.default.createElement(w.TabWrapper,{ref:I,className:"page-tab"},(!!a||L)&&l.default.createElement(w.TabDrop,{ref:B}),l.default.createElement(w.PageTab,{ref:Q,className:(0,h.default)((null==r?void 0:r.uid)===t.uid&&"active",E&&"errors",D&&"can-drop",k&&"is-editing",L&&"is-dragging"),style:N,onClick:function(){C(!1),i(d.contextActions.setPage(t.uid))},onDoubleClick:function(){return C(!0)}},k?l.default.createElement(w.Input,{type:"text",ref:j,autoFocus:!0,className:"text small",placeholder:t.label,defaultValue:t.label,onKeyUp:function(e){"Enter"===e.key&&(z(),C(!1)),"Escape"===e.key&&C(!1)}}):l.default.createElement("span",null,t.label),o>1&&l.default.createElement(w.RemoveTabButton,{onClick:function(e){e.stopPropagation(),confirm((0,g.default)("Are you sure?"))&&i((0,v.deletePage)(t))}},l.default.createElement(O.default,null))))}},21976:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.LoaderPageButtons=void 0;var o=r(n(2784)),i=r(n(76257)),a=n(49023);t.LoaderPageButtons=function(){return o.default.createElement(a.ButtonGroupWrapper,null,o.default.createElement(a.ButtonGroup,null),o.default.createElement(a.ButtonGroup,null,o.default.createElement("button",{className:"btn submit"},o.default.createElement(i.default,{width:50,baseColor:"#e12d39"}))))}},49023:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Button=t.ButtonGroup=t.ButtonGroupWrapper=void 0;var i,a,l,u=n(51362),c=o(n(55721));t.ButtonGroupWrapper=c.default.div(i||(i=r(["\n display: flex;\n justify-content: space-between;\n\n padding: "," ",";\n\n border: 1px solid transparent;\n border-radius: ",";\n\n cursor: pointer;\n\n transition:\n border-color 0.2s ease-out,\n background-color 0.2s ease-out;\n\n &.active {\n border: 1px dashed #5782ef;\n }\n\n &:hover {\n background: #f3f7fd;\n\n &:not(.active) {\n border: 1px solid #cdd8e4;\n }\n }\n"],["\n display: flex;\n justify-content: space-between;\n\n padding: "," ",";\n\n border: 1px solid transparent;\n border-radius: ",";\n\n cursor: pointer;\n\n transition:\n border-color 0.2s ease-out,\n background-color 0.2s ease-out;\n\n &.active {\n border: 1px dashed #5782ef;\n }\n\n &:hover {\n background: #f3f7fd;\n\n &:not(.active) {\n border: 1px solid #cdd8e4;\n }\n }\n"])),u.spacings.sm,u.spacings.md,u.borderRadius.md),t.ButtonGroup=c.default.div(a||(a=r(["\n display: flex;\n gap: ",";\n"],["\n display: flex;\n gap: ",";\n"])),u.spacings.md),t.Button=c.default.button(l||(l=r([""],[""])))},65462:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=c.default.limits.fields;return l.default.createElement(g.FieldListWrapper,{className:(0,f.default)(t&&"fields-disabled")},l.default.createElement(h.Search,null),l.default.createElement(v.FavoriteFields,null),l.default.createElement(p.BaseFields,null),l.default.createElement(m.FormsFields,null))}},36985:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0})):t}),[e])}},94657:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.BaseFields=void 0;var o=r(n(2784)),i=n(27562),a=n(15443),l=r(n(2072)),u=n(51044),c=n(50417),d=n(36985),s=n(55383),f=(0,l.default)("Field Types");t.BaseFields=function(){var e=(0,d.useSelectSearchedFields)(),t=(0,a.useFetchFieldTypes)({select:e}),n=t.data,r=t.isFetching,l=t.isError,p=t.error;return!n&&r?o.default.createElement(c.LoaderFieldGroup,{words:[50,70],items:16}):l?o.default.createElement(i.ErrorBlock,null,p.message):n.length?o.default.createElement(u.FieldGroup,{title:f},n.map((function(e){return o.default.createElement(s.FieldItem,{key:e.typeClass,fieldType:e})}))):null}},58363:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useBaseFieldDrag=void 0;var r=n(2784),o=n(8134),i=n(35653),a=n(37430);t.useBaseFieldDrag=function(e){var t=(0,a.useDragContext)(),n=t.dragOn,l=t.dragOff,u=(0,o.useDrag)((function(){return{type:i.Drag.FieldType,collect:function(e){return{isDragging:e.isDragging()}},item:{type:i.Drag.FieldType,data:e}}})),c=u[0].isDragging,d=u[1];return(0,r.useEffect)((function(){c?n(i.Drag.FieldType):l()}),[c]),{ref:d}}},55383:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FieldItem=void 0;var o=r(n(2784)),i=n(36450),a=n(59305),l=n(20890),u=n(58363);t.FieldItem=function(e){var t=e.fieldType,n=t.icon,r=t.name,c=(0,i.useAppDispatch)(),d=(0,u.useBaseFieldDrag)(t).ref;return o.default.createElement(l.Field,{icon:n,label:r,onClick:function(){c(a.fieldThunks.move.newField.newRow({fieldType:t}))},dragRef:d})}},12379:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FavoriteFields=void 0;var o=r(n(2784)),i=n(27562),a=n(87087),l=r(n(2072)),u=n(51044),c=n(50417),d=n(36985),s=n(17454),f=r(n(24944)),p=n(19073),v=(0,l.default)("Favorites");t.FavoriteFields=function(){var e=(0,d.useSelectSearchedFavorites)(),t=(0,a.useFetchFavorites)({select:e}),n=t.data,r=t.isFetching,m=t.isError,h=t.error,g=(0,s.useCreateModal)();return!n&&r?o.default.createElement(c.LoaderFieldGroup,{words:[60],items:2}):m?o.default.createElement(i.ErrorBlock,null,h.message):n.length?o.default.createElement(u.FieldGroup,{title:v,button:{icon:o.default.createElement(f.default,null),title:(0,l.default)("Edit Favorites"),onClick:g}},n.map((function(e){return o.default.createElement(p.FieldItem,{key:e.uid,favorite:e})}))):null}},37699:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneFieldTypeFromFavorite=void 0;var o=r(n(9907));t.cloneFieldTypeFromFavorite=function(e,t){var n=(0,o.default)(t);return Object.entries(e.properties).map((function(e){var t,r=e[0],o=e[1],i=null===(t=null==n?void 0:n.properties)||void 0===t?void 0:t.find((function(e){return e.handle===r}));i&&(i.value=o)})),n}},19073:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FieldItem=void 0;var o=r(n(2784)),i=n(36450),a=n(59305),l=n(15443),u=n(20890),c=n(58363),d=n(37699);t.FieldItem=function(e){var t=e.favorite,n=t.typeClass,r=t.label,s=(0,l.useFieldType)(n),f=(0,d.cloneFieldTypeFromFavorite)(t,s),p=(0,i.useAppDispatch)(),v=(0,c.useBaseFieldDrag)(f).ref;if(!s)return null;var m=s.icon;return o.default.createElement(u.Field,{icon:m,label:r,onClick:function(){p(a.fieldThunks.move.newField.newRow({fieldType:f}))},dragRef:v})}},59348:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FavoriteFieldComponent=void 0;var o=r(n(2784)),i=n(94774),a=n(27487);t.FavoriteFieldComponent=function(e){var t=e.property,n=e.siblingProperties,r=e.state,l=e.errors,u=e.updateValueCallback,c=(0,a.useValueUpdateGenerator)(n,r,u);return o.default.createElement(i.FormComponent,{value:(null==r?void 0:r[t.handle])||"",property:t,updateValue:c(t),errors:l,context:{properties:r}})}},91768:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FavoritesEditor=void 0;var o=r(n(2784)),i=n(79857),a=n(59285),l=n(85227),u=n(77274),c=n(15443),d=n(59348);t.FavoritesEditor=function(e){var t=e.field,n=e.errors,r=e.values,s=e.updateValueCallback,f=(0,c.useFetchFieldPropertySections)().data,p=(0,c.useFieldType)(null==t?void 0:t.typeClass);if(!t||!p||!f)return null;var v=[];return f.sort((function(e,t){return e.order-t.order})).forEach((function(e){var t=e.handle,i=e.label,a=e.icon,l=p.properties.filter(function(e){return function(t){return t.section===e}}(t));l.length&&v.push(o.default.createElement(u.SectionBlock,{label:i,icon:a,key:t},l.map((function(e){return o.default.createElement(d.FavoriteFieldComponent,{key:e.handle,errors:null==n?void 0:n[e.handle],state:r,siblingProperties:p.properties,property:e,updateValueCallback:s})}))))})),o.default.createElement(o.default.Fragment,null,o.default.createElement(l.Title,null,o.default.createElement(l.Icon,{dangerouslySetInnerHTML:{__html:p.icon}}),o.default.createElement("span",null,(null==r?void 0:r.label)||p.name)),o.default.createElement(i.RenderContextProvider,{size:"small"},o.default.createElement(a.SectionWrapper,null,v)))}},41407:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FavoriteListItem=void 0;var l=i(n(2784)),u=n(54509),c=n(23934),d=n(15443),s=a(n(26457)),f=n(52271);t.FavoriteListItem=function(e){var t=e.favorite,n=e.label,r=e.errors,o=e.isActive,i=e.onClick,a=e.onDelete,p=(0,l.useRef)(null),v=(0,c.useHover)(p),m=(0,d.useFieldType)(t.typeClass);if(!m)return null;var h=void 0!==r&&r.length;return l.default.createElement(f.FieldListItem,{key:t.id,ref:p,onClick:i,className:(0,s.default)(o&&"active",h&&"errors")},l.default.createElement(f.Icon,{dangerouslySetInnerHTML:{__html:m.icon}}),l.default.createElement("span",null,n),l.default.createElement(u.RemoveButton,{active:v,onClick:a}))}},52271:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DeleteButton=t.Icon=t.FieldListItem=t.FieldList=t.FavoritesEditorWrapper=t.FavoritesWrapper=void 0;var i=n(85227),a=n(71485),l=n(80159),u=n(51362),c=o(n(55721));t.FavoritesWrapper=c.default.div(d||(d=r(["\n display: flex;\n justify-content: space-between;\n\n height: 600px;\n"],["\n display: flex;\n justify-content: space-between;\n\n height: 600px;\n"])));var d,s,f,p,v,m;t.FavoritesEditorWrapper=c.default.div(s||(s=r(["\n flex: 1;\n\n height: 100%;\n padding: 0 ",";\n\n overflow-x: hidden;\n overflow-y: auto;\n ",";\n\n "," {\n padding-left: 0;\n font-size: 18px;\n\n "," {\n width: ","px;\n height: ","px;\n\n svg {\n max-width: ","px;\n max-height: ","px;\n }\n }\n }\n\n "," {\n &:after {\n background-color: white;\n }\n }\n"],["\n flex: 1;\n\n height: 100%;\n padding: 0 ",";\n\n overflow-x: hidden;\n overflow-y: auto;\n ",";\n\n "," {\n padding-left: 0;\n font-size: 18px;\n\n "," {\n width: ","px;\n height: ","px;\n\n svg {\n max-width: ","px;\n max-height: ","px;\n }\n }\n }\n\n "," {\n &:after {\n background-color: white;\n }\n }\n"])),u.spacings.lg,l.scrollBar,i.Title,i.Icon,22,22,22,22,a.SectionBlockContainer),t.FieldList=c.default.ul(f||(f=r(["\n display: flex;\n flex-direction: column;\n gap: 2px;\n\n padding: ",";\n\n overflow-y: auto;\n overflow-x: hidden;\n\n background: ",";\n box-shadow: ",";\n\n ",";\n"],["\n display: flex;\n flex-direction: column;\n gap: 2px;\n\n padding: ",";\n\n overflow-y: auto;\n overflow-x: hidden;\n\n background: ",";\n box-shadow: ",";\n\n ",";\n"])),u.spacings.sm,u.colors.gray050,u.shadows.right,l.scrollBar),t.FieldListItem=c.default.li(p||(p=r(["\n cursor: pointer;\n position: relative;\n\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 10px;\n\n width: 250px;\n padding: "," "," "," ",";\n\n border: 1px solid transparent;\n border-radius: ",";\n font-size: 13px;\n\n user-select: none;\n transition: all 0.2s ease-in-out;\n\n > span {\n flex: 1;\n\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n &:hover {\n background-color: ",";\n }\n\n &.active {\n background: ",";\n color: ",";\n fill: currentColor;\n }\n\n &.errors {\n color: ",";\n fill: currentColor;\n\n ",";\n }\n"],["\n cursor: pointer;\n position: relative;\n\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 10px;\n\n width: 250px;\n padding: "," "," "," ",";\n\n border: 1px solid transparent;\n border-radius: ",";\n font-size: 13px;\n\n user-select: none;\n transition: all 0.2s ease-in-out;\n\n > span {\n flex: 1;\n\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n &:hover {\n background-color: ",";\n }\n\n &.active {\n background: ",";\n color: ",";\n fill: currentColor;\n }\n\n &.errors {\n color: ",";\n fill: currentColor;\n\n ",";\n }\n"])),u.spacings.xs,u.spacings.xs,u.spacings.xs,u.spacings.md,u.borderRadius.lg,u.colors.gray200,u.colors.gray500,u.colors.white,u.colors.error,l.errorAlert),t.Icon=c.default.div(v||(v=r(["\n font-size: 10px;\n\n &,\n svg {\n height: 20px;\n width: 20px;\n }\n"],["\n font-size: 10px;\n\n &,\n svg {\n height: 20px;\n width: 20px;\n }\n"]))),t.DeleteButton=c.default.button(m||(m=r(["\n position: absolute;\n top: 0;\n right: 0;\n"],["\n position: absolute;\n top: 0;\n right: 0;\n"])))},53318:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0,g=(0,m.useFormBlockAnimations)(a);return t.fields.length?l.default.createElement(h.FormBlockWrapper,{className:(0,s.default)(a&&"open")},l.default.createElement(h.FormTitle,{onClick:function(){return o(!r)}},t.name,l.default.createElement(h.ExpandedState,null,l.default.createElement(p.default,null))),l.default.createElement(h.FieldListContainer,{style:g},l.default.createElement(f.List,null,t.fields.map((function(e){return l.default.createElement(v.FieldItem,{key:e.uid,field:e})}))))):null}},1801:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FormFieldsWrapper=void 0;var i,a=n(51362),l=o(n(55721));t.FormFieldsWrapper=l.default.div(i||(i=r(["\n display: flex;\n flex-direction: column;\n gap: ",";\n"],["\n display: flex;\n flex-direction: column;\n gap: ",";\n"])),a.spacings.sm)},97708:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FormsFields=void 0;var o=r(n(2784)),i=n(86993),a=n(27562),l=n(35382),u=n(64725),c=r(n(2072)),d=n(21218),s=n(36985),f=n(82183),p=n(1801);t.FormsFields=function(){var e=(0,i.useSelector)(l.formSelectors.current).uid,t=(0,s.useSelectSearchedForms)(),n=(0,u.useFetchForms)({select:t}),r=n.data,v=n.isFetching,m=n.isError,h=n.error;if(!r&&v)return null;if(m)return o.default.createElement(a.ErrorBlock,null,h.message);if(!r.length)return null;var g=r.filter((function(t){return t.uid!==e}));return g.length?o.default.createElement(p.FormFieldsWrapper,null,o.default.createElement(d.GroupTitle,null,(0,c.default)("Fields from other Forms")),g.map((function(e){return o.default.createElement(f.FormBlock,{key:e.uid,form:e})}))):null}},88786:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useFieldSearch=void 0;var r=n(2784),o=n(86993),i=n(96636),a=n(88901);t.useFieldSearch=function(){var e=(0,o.useDispatch)(),t=(0,r.useState)(""),n=t[0],l=t[1],u=(0,a.useDebounce)(n,1e3);return(0,r.useEffect)((function(){e(i.searchActions.update({type:i.Search.Fields,query:u}))}),[u]),[n,l]}},82866:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.LoaderSearch=void 0;var o=r(n(2784)),i=r(n(2072)),a=n(64e3),l=r(n(17218));t.LoaderSearch=function(){return o.default.createElement(a.Wrapper,null,o.default.createElement(a.SearchBlock,null,o.default.createElement(a.SearchIcon,null,o.default.createElement(l.default,null)),o.default.createElement(a.SearchBar,{disabled:!0,className:"fullwidth text",placeholder:(0,i.default)("Search")})))}},64e3:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SearchIcon=t.IconStyle=t.SearchBar=t.SearchBlock=t.Wrapper=void 0;var l=n(51362),u=a(n(55721));t.Wrapper=u.default.div(c||(c=r(["\n position: relative;\n z-index: 1;\n\n margin-bottom: ",";\n"],["\n position: relative;\n z-index: 1;\n\n margin-bottom: ",";\n"])),l.spacings.lg),t.SearchBlock=u.default.div(d||(d=r(["\n display: flex;\n"],["\n display: flex;\n"]))),t.SearchBar=u.default.input(s||(s=r(["\n padding: 6px 38px 6px 30px !important;\n\n border-radius: 5px;\n\n &::placeholder {\n font-style: italic;\n color: ",";\n }\n"],["\n padding: 6px 38px 6px 30px !important;\n\n border-radius: 5px;\n\n &::placeholder {\n font-style: italic;\n color: ",";\n }\n"])),l.colors.gray200);var c,d,s,f,p,v="14px";t.IconStyle=(0,u.css)(f||(f=r(["\n position: absolute;\n top: 1px;\n bottom: 1px;\n z-index: 2;\n\n display: flex;\n flex-direction: column;\n justify-content: center;\n\n padding: 0 8px;\n\n box-sizing: border-box;\n user-select: none;\n\n > svg {\n width: ",";\n height: ",";\n }\n"],["\n position: absolute;\n top: 1px;\n bottom: 1px;\n z-index: 2;\n\n display: flex;\n flex-direction: column;\n justify-content: center;\n\n padding: 0 8px;\n\n box-sizing: border-box;\n user-select: none;\n\n > svg {\n width: ",";\n height: ",";\n }\n"])),v,v),t.SearchIcon=u.default.div(p||(p=r(["\n left: 1px;\n\n ","\n\n color: ",";\n"],["\n left: 1px;\n\n ","\n\n color: ",";\n"])),t.IconStyle,l.colors.gray400)},7002:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Search=void 0;var o=r(n(2784)),i=r(n(2072)),a=n(88786),l=n(64e3),u=r(n(17218));t.Search=function(){var e=(0,a.useFieldSearch)(),t=e[0],n=e[1];return o.default.createElement(l.Wrapper,null,o.default.createElement(l.SearchBlock,null,o.default.createElement(l.SearchIcon,null,o.default.createElement(u.default,null)),o.default.createElement(l.SearchBar,{type:"text",placeholder:(0,i.default)("Search"),className:"fullwidth text",value:t,onChange:function(e){n(e.target.value)}})))}},50202:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.LoaderFormLayout=void 0;var o=r(n(2784)),i=n(95802),a=n(33810);t.LoaderFormLayout=function(){return o.default.createElement(o.default.Fragment,null,o.default.createElement(a.LoaderFieldList,null),o.default.createElement(i.LoaderFieldLayout,null))}},28733:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Grid=void 0;var i,a=o(n(55721));t.Grid=a.default.div(i||(i=r(["\n position: relative;\n display: flex;\n gap: 0;\n\n height: 100%;\n overflow: hidden;\n\n background: #fff;\n"],["\n position: relative;\n display: flex;\n gap: 0;\n\n height: 100%;\n overflow: hidden;\n\n background: #fff;\n"])))},89888:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.LayoutEditor=void 0;var o=r(n(2784)),i=n(76034),a=n(11455),l=n(32165),u=r(n(2072)),c=n(62873),d=n(88041),s=n(84054),f=n(37430),p=n(28733);t.LayoutEditor=function(){var e=(0,i.useResolvedPath)("");return o.default.createElement(f.DragContextProvider,null,o.default.createElement(a.Breadcrumb,{label:(0,u.default)("Layout"),url:e.pathname}),o.default.createElement(p.Grid,null,o.default.createElement(l.Sidebar,{$noPadding:!0},o.default.createElement(s.PropertyEditor,null),o.default.createElement(d.FieldList,null)),o.default.createElement(c.FieldLayout,null)))}},76305:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FavoriteButton=void 0;var l=i(n(2784)),u=n(79066),c=n(31070),d=n(9726),s=n(15443),f=a(n(26457)),p=a(n(33424)),v=a(n(19772)),m=n(93748),h=n(91123),g=n(27312);t.FavoriteButton=function(e){var t=e.field,n=(0,s.useFieldType)(null==t?void 0:t.typeClass),r=(0,h.useFavoritesMutation)(),o=(0,l.useState)(!1),i=o[0],a=o[1],b=(0,l.useState)(!1),y=b[0],_=b[1];(0,l.useEffect)((function(){a(!1),_(!1),r.reset()}),[null==t?void 0:t.uid]);var x=(0,u.useSpring)({to:{opacity:i?1:0,scale:i?1:1.1,rotate:i?0:-10},config:{tension:700}}),w=(0,u.useSpring)({to:{scale:y?1.2:1},config:{tension:600,mass:3}}),O=(0,d.useClickOutside)({callback:function(){a(!1),_(!1)},isEnabled:i});return(0,c.useEscapeStack)((function(){a(!1),_(!1)}),i),(null==t?void 0:t.uid)?l.default.createElement(g.FavoriteButtonWrapper,{className:(0,f.default)(i&&"active"),ref:O},l.default.createElement(g.Button,{style:w,onClick:function(){return a(!i)},onMouseOver:function(){return _(!0)},onMouseOut:function(){return _(!1)}},r.isSuccess&&l.default.createElement(p.default,null),!r.isSuccess&&l.default.createElement(v.default,null)),l.default.createElement(g.PopUpWrapper,{style:x},l.default.createElement(g.IconBox,null),l.default.createElement(g.InfoBlock,null,l.default.createElement(m.FavoriteForm,{field:t,type:n,mutation:r})))):null}},69588:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ButtonContainer=t.FavoriteFormWrapper=void 0;var i,a,l=n(51362),u=o(n(55721));t.FavoriteFormWrapper=u.default.div(i||(i=r(["\n display: flex;\n justify-content: space-between;\n flex-direction: column;\n gap: ",";\n"],["\n display: flex;\n justify-content: space-between;\n flex-direction: column;\n gap: ",";\n"])),l.spacings.lg),t.ButtonContainer=u.default.div(a||(a=r(["\n display: flex;\n justify-content: center;\n"],["\n display: flex;\n justify-content: center;\n"])))},93748:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FavoriteForm=void 0;var l=i(n(2784)),u=n(12830),c=n(15738),d=a(n(60556)),s=n(57092),f=n(83287),p=a(n(26457)),v=a(n(2072)),m=n(69588);t.FavoriteForm=function(e){var t,n,r=e.field,o=e.type,i=e.mutation,a=(0,l.useState)(""),h=a[0],g=a[1];return(0,l.useEffect)((function(){g(r.properties.label||(null==o?void 0:o.name)),i.reset()}),[r.uid]),l.default.createElement(m.FavoriteFormWrapper,null,l.default.createElement(c.ControlWrapper,null,l.default.createElement(d.default,{property:{label:(0,v.default)("Create a favorite"),handle:null===(t=r.properties)||void 0===t?void 0:t.handle,flags:[],placeholder:null===(n=r.properties)||void 0===n?void 0:n.label,type:f.PropertyType.String},value:h,updateValue:function(e){return g(e)}})),l.default.createElement(m.ButtonContainer,null,l.default.createElement("button",{onClick:function(){i.mutate({label:h,field:r,type:o})},disabled:i.isLoading,className:(0,p.default)("btn fullwidth",!i.isSuccess&&"submit",i.isLoading&&"disabled")},l.default.createElement(s.LoadingText,{spinner:!0,loading:i.isLoading,loadingText:"Saving..."},(0,v.default)(i.isSuccess?"Saved!":"Favorite")))),i.isError&&l.default.createElement(u.ApiErrorsBlock,{category:"favorites",handle:"name",error:i.error}))}},91123:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useFavoritesDeleteMutation=t.useFavoritesUpdateMutation=t.useFavoritesMutation=void 0;var o=n(87087),i=n(79634),a=n(79634),l=r(n(60014)),u=function(e){var t=e.label,n=e.field,r=e.type,o={label:t,properties:n.properties,typeClass:r.typeClass};return l.default.post("/api/fields/favorites",o)};t.useFavoritesMutation=function(){var e=(0,i.useQueryClient)();return(0,a.useMutation)(u,{onSuccess:function(){e.invalidateQueries({queryKey:o.QKFavorites.all})}})};t.useFavoritesUpdateMutation=function(e){void 0===e&&(e={});var t=(0,i.useQueryClient)(),n=null==e?void 0:e.onSuccess;return e.onSuccess=function(e,r,i){n&&n(e,r,i),t.invalidateQueries(o.QKFavorites.all)},(0,a.useMutation)((function(e){return l.default.put("/api/fields/favorites",e)}),e)};t.useFavoritesDeleteMutation=function(e){void 0===e&&(e={});var t=(0,i.useQueryClient)(),n=null==e?void 0:e.onSuccess;return e.onSuccess=function(e,r,i){n&&n(e,r,i);var a=r;t.setQueryData(o.QKFavorites.all,(function(e){return e.filter((function(e){return e.id!==a}))}))},(0,a.useMutation)((function(e){return l.default.delete("/api/fields/favorites/".concat(e))}),e)}},27312:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FavoriteButtonWrapper=t.Button=t.InfoBlock=t.IconBox=t.PopUpWrapper=void 0;var i,a,l,u,c,d=n(79066),s=n(51362),f=o(n(55721));t.PopUpWrapper=(0,f.default)(d.animated.div)(i||(i=r(["\n position: absolute;\n top: 24px;\n right: -16px;\n\n transform-origin: 90% -20%;\n"],["\n position: absolute;\n top: 24px;\n right: -16px;\n\n transform-origin: 90% -20%;\n"]))),t.IconBox=f.default.div(a||(a=r(["\n position: absolute;\n top: -30px;\n right: 10px;\n z-index: 2;\n\n display: flex;\n justify-content: center;\n align-content: center;\n\n width: 32px;\n height: 32px;\n\n padding: 5px;\n\n background: ",";\n\n border-style: solid;\n border-width: 1px;\n border-color: ",";\n border-bottom-color: transparent;\n border-radius: "," "," 0 0;\n\n transform-origin: center bottom;\n"],["\n position: absolute;\n top: -30px;\n right: 10px;\n z-index: 2;\n\n display: flex;\n justify-content: center;\n align-content: center;\n\n width: 32px;\n height: 32px;\n\n padding: 5px;\n\n background: ",";\n\n border-style: solid;\n border-width: 1px;\n border-color: ",";\n border-bottom-color: transparent;\n border-radius: "," "," 0 0;\n\n transform-origin: center bottom;\n"])),s.colors.gray050,s.colors.barelyVisible,s.borderRadius.md,s.borderRadius.md),t.InfoBlock=f.default.div(l||(l=r(["\n position: relative;\n z-index: 1;\n\n width: 240px;\n padding: ",";\n\n background: ",";\n border: 1px solid ",";\n border-radius: ",";\n\n box-shadow: 4px 12px 8px rgb(205 216 228 / 80%);\n"],["\n position: relative;\n z-index: 1;\n\n width: 240px;\n padding: ",";\n\n background: ",";\n border: 1px solid ",";\n border-radius: ",";\n\n box-shadow: 4px 12px 8px rgb(205 216 228 / 80%);\n"])),s.spacings.lg,s.colors.gray050,s.colors.barelyVisible,s.borderRadius.md),t.Button=(0,f.default)(d.animated.button)(u||(u=r(["\n position: relative;\n z-index: 5;\n\n width: 20px;\n height: 20px;\n\n svg {\n fill: ",";\n }\n"],["\n position: relative;\n z-index: 5;\n\n width: 20px;\n height: 20px;\n\n svg {\n fill: ",";\n }\n"])),s.colors.barelyVisible),t.FavoriteButtonWrapper=f.default.div(c||(c=r(["\n position: absolute;\n top: 17px;\n right: 40px;\n z-index: 3;\n\n background: none;\n border: none;\n\n display: flex;\n justify-content: center;\n align-content: center;\n\n &:not(.active) {\n "," {\n pointer-events: none;\n }\n }\n"],["\n position: absolute;\n top: 17px;\n right: 40px;\n z-index: 3;\n\n background: none;\n border: none;\n\n display: flex;\n justify-content: center;\n align-content: center;\n\n &:not(.active) {\n "," {\n pointer-events: none;\n }\n }\n"])),t.PopUpWrapper)},60440:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FieldComponent=void 0;var o=r(n(2784)),i=n(86993),a=n(94774),l=n(36450),u=n(27487),c=n(9202),d=n(4165),s=n(15443);t.FieldComponent=function(e){var t,n,r,f=e.property,p=e.field,v=(0,l.useAppDispatch)(),m=(0,s.useFieldType)(p.typeClass),h=(null===(t=(0,i.useSelector)(d.fieldSelectors.one(p.uid)))||void 0===t?void 0:t.properties)||{},g=(0,u.useValueUpdateGenerator)(m.properties,h,(function(e,t){v(c.fieldActions.edit({uid:p.uid,handle:e,value:t}))})),b=null===(n=p.properties)||void 0===n?void 0:n[f.handle];return o.default.createElement(a.FormComponent,{value:b,property:f,updateValue:g(f),errors:null===(r=p.errors)||void 0===r?void 0:r[f.handle],context:p})}},69707:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FieldPropertiesWrapper=void 0;var i,a=n(51362),l=o(n(55721));t.FieldPropertiesWrapper=l.default.div(i||(i=r(["\n display: flex;\n flex-direction: column;\n\n height: 100%;\n background: ",";\n"],["\n display: flex;\n flex-direction: column;\n\n height: 100%;\n background: ",";\n"])),a.colors.gray050)},77309:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FieldProperties=void 0;var o=r(n(2784)),i=r(n(76257)),a=n(86993),l=n(36450),u=n(8697),c=n(4165),d=r(n(86022)),s=n(15443),f=n(85227),p=n(77274),v=n(71485),m=n(76305),h=n(60440),g=n(69707);t.FieldProperties=function(e){var t=e.uid,n=(0,l.useAppDispatch)(),r=(0,s.useFetchFieldPropertySections)(),b=r.data,y=r.isFetching,_=(0,a.useSelector)(c.fieldSelectors.one(t)),x=(0,s.useFieldType)(null==_?void 0:_.typeClass);if(!_||!x)return o.default.createElement(g.FieldPropertiesWrapper,null);if(!b&&y)return o.default.createElement(g.FieldPropertiesWrapper,null,o.default.createElement(f.Title,null,o.default.createElement(f.Icon,{dangerouslySetInnerHTML:{__html:x.icon}}),o.default.createElement("span",null,x.name)),o.default.createElement(v.SectionWrapper,null,o.default.createElement(i.default,null)));var w=[];return b.sort((function(e,t){return e.order-t.order})).forEach((function(e){var t=e.handle,n=e.label,r=e.icon,i=x.properties.filter(function(e){return function(t){return t.section===e}}(t));i.length&&w.push(o.default.createElement(p.SectionBlock,{label:n,icon:r,key:t},i.map((function(e){return o.default.createElement(h.FieldComponent,{key:e.handle,field:_,property:e})}))))})),o.default.createElement(g.FieldPropertiesWrapper,null,o.default.createElement(f.CloseLink,{onClick:function(){return n(u.contextActions.unfocus())}},o.default.createElement(d.default,null)),o.default.createElement(m.FavoriteButton,{field:_}),o.default.createElement(f.Title,null,o.default.createElement(f.Icon,{dangerouslySetInnerHTML:{__html:x.icon}}),o.default.createElement("span",null,x.name)),o.default.createElement(v.SectionWrapper,null,w))}},85189:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PageComponent=void 0;var o=r(n(2784)),i=n(94774),a=n(36450),l=n(97240);t.PageComponent=function(e){var t,n=e.property,r=e.page,u=(0,a.useAppDispatch)(),c=null===(t=r.buttons)||void 0===t?void 0:t[n.handle];return o.default.createElement(i.FormComponent,{value:c,property:n,updateValue:function(e){u(l.pageActions.editButtons({uid:r.uid,key:n.handle,value:e}))},context:r})}},85747:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PagePropertiesWrapper=void 0;var i,a=n(51362),l=o(n(55721));t.PagePropertiesWrapper=l.default.div(i||(i=r(["\n display: flex;\n flex-direction: column;\n\n height: 100%;\n background: ",";\n"],["\n display: flex;\n flex-direction: column;\n\n height: 100%;\n background: ",";\n"])),a.colors.gray050)},94362:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PageProperties=void 0;var o=r(n(2784)),i=r(n(76257)),a=n(86993),l=n(36450),u=n(8697),c=n(60719),d=r(n(86022)),s=n(56790),f=n(85227),p=n(77274),v=n(71485),m=n(85189),h=n(85747);t.PageProperties=function(e){var t=e.uid,n=(0,l.useAppDispatch)(),r=(0,a.useSelector)(c.pageSelecors.one(t)),g=(0,s.useFetchPageButtonType)(),b=g.data,y=g.isFetching;if(!b&&y)return o.default.createElement(h.PagePropertiesWrapper,null,o.default.createElement(f.CloseLink,{onClick:function(){return n(u.contextActions.unfocus())}},o.default.createElement(d.default,null)),o.default.createElement(f.Title,null,o.default.createElement("span",null,r.label)),o.default.createElement(v.SectionWrapper,{style:{paddingTop:20}},o.default.createElement(i.default,{height:30}),o.default.createElement(i.default,{height:30}),o.default.createElement(i.default,{height:30})));if(!r)return null;var _=[];return b.sections.forEach((function(e){var t=e.handle,n=e.label,i=e.icon,a=b.properties.filter(function(e){return function(t){return t.section===e}}(t));a.length&&_.push(o.default.createElement(p.SectionBlock,{label:n,icon:i,key:t},a.map((function(e){return o.default.createElement(m.PageComponent,{key:e.handle,page:r,property:e})}))))})),o.default.createElement(h.PagePropertiesWrapper,null,o.default.createElement(f.CloseLink,{onClick:function(){return n(u.contextActions.unfocus())}},o.default.createElement(d.default,null)),o.default.createElement(f.Title,null,o.default.createElement("span",null,r.label)),o.default.createElement(v.SectionWrapper,null,_))}},85227:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Icon=t.Title=t.CloseLink=t.AnimatedBlock=t.PropertyEditorWrapper=void 0;var i,a,l,u,c,d=n(79066),s=n(51362),f=o(n(55721));t.PropertyEditorWrapper=f.default.div(i||(i=r(["\n position: absolute;\n\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n\n z-index: 2;\n\n overflow: hidden;\n border-right: 1px solid rgb(154 165 177 / 25%);\n\n pointer-events: ",";\n background: ",";\n\n transition: background-color 0.2s ease-in-out;\n"],["\n position: absolute;\n\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n\n z-index: 2;\n\n overflow: hidden;\n border-right: 1px solid rgb(154 165 177 / 25%);\n\n pointer-events: ",";\n background: ",";\n\n transition: background-color 0.2s ease-in-out;\n"])),(function(e){return e.$active?"auto":"none"}),(function(e){return e.$active?s.colors.gray050:"transparent"})),t.AnimatedBlock=(0,f.default)(d.animated.div)(a||(a=r(["\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n\n z-index: 2;\n"],["\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n\n z-index: 2;\n"]))),t.CloseLink=f.default.a(l||(l=r(["\n position: absolute;\n right: 10px;\n top: 17px;\n\n z-index: 5;\n\n display: block;\n width: 20px;\n height: 20px;\n"],["\n position: absolute;\n right: 10px;\n top: 17px;\n\n z-index: 5;\n\n display: block;\n width: 20px;\n height: 20px;\n"]))),t.Title=f.default.h3(u||(u=r(["\n position: relative;\n\n display: flex;\n justify-content: flex-start;\n align-items: end;\n gap: ",";\n\n margin: 0;\n padding: ",";\n\n font-size: 16px;\n box-shadow: ",";\n\n > span {\n display: block;\n }\n"],["\n position: relative;\n\n display: flex;\n justify-content: flex-start;\n align-items: end;\n gap: ",";\n\n margin: 0;\n padding: ",";\n\n font-size: 16px;\n box-shadow: ",";\n\n > span {\n display: block;\n }\n"])),s.spacings.sm,s.spacings.lg,s.shadows.bottom),t.Icon=f.default.div(c||(c=r(["\n display: flex;\n justify-content: center;\n align-items: center;\n\n width: 20px;\n height: 20px;\n\n svg {\n max-width: 20px;\n max-height: 20px;\n }\n"],["\n display: flex;\n justify-content: center;\n align-items: center;\n\n width: 20px;\n height: 20px;\n\n svg {\n max-width: 20px;\n max-height: 20px;\n }\n"])))},84054:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PropertyEditor=void 0;var o=r(n(2784)),i=n(86993),a=n(79066),l=n(90163),u=n(79857),c=n(36450),d=n(8697),s=n(72671),f=n(31070),p=n(9726),v=n(77309),m=n(94362),h=n(85227);t.PropertyEditor=function(){var e=(0,c.useAppDispatch)(),t=(0,i.useSelector)(s.contextSelectors.focus),n=t.active,r=t.type;(0,f.useEscapeStack)((function(){return e(d.contextActions.unfocus())}),n);var g=(0,p.useClickOutside)({callback:function(){e(d.contextActions.unfocus())},isEnabled:n,excludeClassNames:["field-layout","page-buttons","page-tab","save-button","main-tabs","editable-content","dropdown-rollout"]}),b=(0,a.useTransition)(n?[t]:null,{from:{transform:"translate3d(100%, 0, 0)",opacity:1},enter:{transform:"translate3d(0%, 0, 0)",opacity:1,zIndex:2},leave:{transform:"translate3d(-100%, 0, 0)"},config:{tension:500,friction:50}});return o.default.createElement(u.RenderContextProvider,{size:"small"},o.default.createElement(h.PropertyEditorWrapper,{$active:n,ref:g},o.default.createElement(l.ErrorBoundary,{message:'Could not load property editor for "'.concat(r,'" type')},b((function(e,t){return o.default.createElement(h.AnimatedBlock,{style:e},!!t&&"field"===t.type&&o.default.createElement(v.FieldProperties,{uid:t.uid}),!!t&&"page"===t.type&&o.default.createElement(m.PageProperties,{uid:t.uid}))})))))}},71485:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SectionBlockWrapper=t.SectionBlockContainer=t.SectionBlockIcon=t.SectionWrapper=void 0;var i,a,l,u,c=n(80159),d=n(51362),s=o(n(55721)),f=n(85227);t.SectionWrapper=s.default.div(i||(i=r(["\n display: flex;\n flex-direction: column;\n\n padding: 0 "," ",";\n\n overflow-y: auto;\n overflow-x: hidden;\n ",";\n"],["\n display: flex;\n flex-direction: column;\n\n padding: 0 "," ",";\n\n overflow-y: auto;\n overflow-x: hidden;\n ",";\n"])),d.spacings.lg,d.spacings.lg,c.scrollBar),t.SectionBlockIcon=(0,s.default)(f.Icon)(a||(a=r(["\n position: absolute;\n left: 2px;\n top: 12px;\n z-index: 1;\n\n width: 14px;\n height: 14px;\n\n fill: rgb(154 165 177 / 75%);\n"],["\n position: absolute;\n left: 2px;\n top: 12px;\n z-index: 1;\n\n width: 14px;\n height: 14px;\n\n fill: rgb(154 165 177 / 75%);\n"]))),t.SectionBlockContainer=s.default.section(l||(l=r(["\n position: relative;\n\n display: flex;\n flex-direction: column;\n gap: ",";\n\n margin-top: ",";\n padding-top: ",";\n padding-bottom: ",";\n\n &:empty {\n display: none;\n\n & + "," {\n display: none;\n }\n }\n\n &:before {\n content: '';\n\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n\n display: block;\n height: 1px;\n\n margin: 0 -18px;\n\n box-shadow: ",";\n }\n\n &:after {\n content: attr(data-label);\n\n position: absolute;\n left: -5px;\n top: -7px;\n\n display: block;\n padding: 0 5px 0 26px;\n\n background-color: ",";\n\n ",";\n font-size: 11px;\n }\n"],["\n position: relative;\n\n display: flex;\n flex-direction: column;\n gap: ",";\n\n margin-top: ",";\n padding-top: ",";\n padding-bottom: ",";\n\n &:empty {\n display: none;\n\n & + "," {\n display: none;\n }\n }\n\n &:before {\n content: '';\n\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n\n display: block;\n height: 1px;\n\n margin: 0 -18px;\n\n box-shadow: ",";\n }\n\n &:after {\n content: attr(data-label);\n\n position: absolute;\n left: -5px;\n top: -7px;\n\n display: block;\n padding: 0 5px 0 26px;\n\n background-color: ",";\n\n ",";\n font-size: 11px;\n }\n"])),d.spacings.md,d.spacings.lg,d.spacings.lg,d.spacings.lg,t.SectionBlockIcon,d.shadows.bottom,d.colors.gray050,c.labelText),t.SectionBlockWrapper=s.default.div(u||(u=r(["\n position: relative;\n\n &:first-child {\n "," {\n margin-top: 0;\n\n &:before,\n &:after {\n display: none;\n }\n }\n\n "," {\n display: none;\n }\n }\n"],["\n position: relative;\n\n &:first-child {\n "," {\n margin-top: 0;\n\n &:before,\n &:after {\n display: none;\n }\n }\n\n "," {\n display: none;\n }\n }\n"])),t.SectionBlockContainer,t.SectionBlockIcon)},77274:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SectionBlock=void 0;var o=r(n(2784)),i=n(71485);t.SectionBlock=function(e){var t=e.label,n=e.icon,r=e.children;return o.default.createElement(i.SectionBlockWrapper,null,o.default.createElement(i.SectionBlockContainer,{"data-label":t},r),function(e){return e?"string"==typeof e?o.default.createElement(i.SectionBlockIcon,{dangerouslySetInnerHTML:{__html:e}}):o.default.createElement(i.SectionBlockIcon,null,e):null}(n))}},39977:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationsWrapper=void 0;var i,a=o(n(55721));t.NotificationsWrapper=a.default.div(i||(i=r(["\n display: flex;\n height: 100%;\n"],["\n display: flex;\n height: 100%;\n"])))},84085:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Notifications=void 0;var o=r(n(2784)),i=n(76034),a=n(11455),l=r(n(2072)),u=n(78177),c=n(39977);t.Notifications=function(){var e=(0,i.useResolvedPath)("");return o.default.createElement(c.NotificationsWrapper,null,o.default.createElement(a.Breadcrumb,{label:(0,l.default)("Notifications"),url:e.pathname}),o.default.createElement(u.List,null),o.default.createElement(i.Outlet,null))}},33255:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FieldComponent=void 0;var o=r(n(2784)),i=n(94774),a=n(36450),l=n(12163);t.FieldComponent=function(e){var t,n=e.notification,r=e.property,u=(0,a.useAppDispatch)(),c=n.uid,d=r.handle,s=null==n?void 0:n[r.handle];return o.default.createElement(i.FormComponent,{value:s,property:r,updateValue:function(e){u(l.notificationActions.modify({uid:c,key:d,value:e}))},errors:null===(t=n.errors)||void 0===t?void 0:t[r.handle],context:n})}},80407:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.EmptyEditor=t.Inline=void 0;var i=o(n(2784)),a=n(19002),l=n(51362),u=o(n(2072)),c=o(n(55721)),d=o(n(90622)),s=n(91326);t.Inline=c.default.div(f||(f=r(["\n display: flex;\n gap: ",";\n"],["\n display: flex;\n gap: ",";\n"])),l.spacings.md);var f;t.EmptyEditor=function(){return i.default.createElement(s.PropertyEditorWrapper,null,i.default.createElement(a.EmptyBlock,{title:(0,u.default)("No notifications found"),subtitle:(0,u.default)("To add a notification, use the sidebar on the left"),icon:i.default.createElement(d.default,null)}))}},13919:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.LoadingEditor=t.Inline=void 0;var i=o(n(2784)),a=o(n(76257)),l=n(91176),u=n(51362),c=o(n(55721)),d=n(91326);t.Inline=c.default.div(s||(s=r(["\n display: flex;\n gap: ",";\n"],["\n display: flex;\n gap: ",";\n"])),u.spacings.md);var s;t.LoadingEditor=function(){return i.default.createElement(d.PropertyEditorWrapper,null,i.default.createElement(l.ThemedSkeleton,null,i.default.createElement(a.default,{width:120,height:20}),i.default.createElement("br",null),i.default.createElement(a.default,{width:100,height:10}),i.default.createElement(a.default,{width:50,height:20}),i.default.createElement("br",null),i.default.createElement(a.default,{width:200,height:10}),i.default.createElement(a.default,{width:500,height:10}),i.default.createElement(a.default,{height:30}),i.default.createElement("br",null),i.default.createElement(a.default,{width:150,height:10}),i.default.createElement(a.default,{width:300,height:10}),i.default.createElement(a.default,{height:30})))}},91326:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SettingsWrapper=t.PropertyEditorWrapper=void 0;var i,a,l=n(80159),u=n(51362),c=o(n(55721));t.PropertyEditorWrapper=c.default.div(i||(i=r(["\n position: relative;\n flex: 1;\n\n display: flex;\n flex-direction: column;\n gap: ",";\n\n background: ",";\n padding: ",";\n\n overflow-y: auto;\n\n ",";\n"],["\n position: relative;\n flex: 1;\n\n display: flex;\n flex-direction: column;\n gap: ",";\n\n background: ",";\n padding: ",";\n\n overflow-y: auto;\n\n ",";\n"])),u.spacings.xl,u.colors.white,u.spacings.xl,l.scrollBar),t.SettingsWrapper=c.default.div(a||(a=r(["\n display: flex;\n flex-direction: column;\n gap: ",";\n"],["\n display: flex;\n flex-direction: column;\n gap: ",";\n"])),u.spacings.md)},42820:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PropertyEditor=void 0;var o=r(n(2784)),i=n(86993),a=n(76034),l=n(90022),u=n(74740),c=n(69397),d=n(33255),s=n(80407),f=n(13919),p=n(91326);t.PropertyEditor=function(){var e,t=(0,a.useParams)(),n=t.formId,r=t.uid,v=(0,u.useQueryNotificationTypes)().data,m=(0,u.useQueryFormNotifications)(n?Number(n):void 0),h=m.data,g=m.isFetching,b=(0,i.useSelector)(l.notificationSelectors.one(r));if(!h&&g)return o.default.createElement(f.LoadingEditor,null);if(!b)return o.default.createElement(s.EmptyEditor,null);var y=(null===(e=null==v?void 0:v.find((function(e){return e.className===b.className})))||void 0===e?void 0:e.properties)||[];return o.default.createElement(p.PropertyEditorWrapper,null,o.default.createElement(c.Remove,{notification:b}),o.default.createElement(p.SettingsWrapper,null,y.map((function(e){return o.default.createElement(d.FieldComponent,{key:e.handle,notification:b,property:e})}))))}},79811:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useRemoveAnimation=void 0;var r=n(79066),o=n(51362);t.useRemoveAnimation=function(e){var t=e.hovering;return(0,r.useSpring)({opacity:1,background:t?o.colors.error:"transparent",color:t?"#fff":o.colors.gray300,scale:t?1.2:1,config:function(e){switch(e){case"background":case"color":return{tension:330,friction:20};default:return{tension:330,friction:15}}}})}},6325:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.RemoveButtonWrapper=void 0;var i,a=n(79066),l=o(n(55721));t.RemoveButtonWrapper=(0,l.default)(a.animated.button)(i||(i=r(["\n position: absolute;\n top: 15px;\n right: 20px;\n z-index: 2;\n\n display: flex;\n justify-content: center;\n align-items: center;\n\n border-radius: 50%;\n padding: 3px;\n\n svg {\n width: 20px;\n height: 20px;\n\n color: currentColor;\n }\n"],["\n position: absolute;\n top: 15px;\n right: 20px;\n z-index: 2;\n\n display: flex;\n justify-content: center;\n align-items: center;\n\n border-radius: 50%;\n padding: 3px;\n\n svg {\n width: 20px;\n height: 20px;\n\n color: currentColor;\n }\n"])))},69397:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Remove=void 0;var l=i(n(2784)),u=n(76034),c=n(36450),d=n(19007),s=a(n(11411)),f=n(79811),p=n(6325);t.Remove=function(e){var t=e.notification,n=(0,u.useNavigate)(),r=(0,c.useAppDispatch)(),o=(0,l.useState)(!1),i=o[0],a=o[1],v=(0,f.useRemoveAnimation)({hovering:i});return l.default.createElement(p.RemoveButtonWrapper,{style:v,onMouseEnter:function(){return a(!0)},onMouseLeave:function(){return a(!1)},onClick:function(e){e.stopPropagation(),r((0,d.removeNotification)(t)),n("..")}},l.default.createElement(s.default,null))}},19056:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Status=t.Name=t.Icon=t.Link=void 0;var i=n(76034),a=n(51362),l=o(n(55721));t.Link=(0,l.default)(i.NavLink)(u||(u=r(["\n display: flex;\n align-items: center;\n gap: ",";\n\n padding: "," ",";\n border-radius: ",";\n\n color: ",";\n font-size: 12px;\n line-height: 12px;\n\n transition: background-color 0.2s ease-out;\n text-decoration: none;\n\n &.active {\n color: ",";\n background-color: ",";\n }\n\n &.active.inactive {\n .status-dot {\n border-color: ",";\n }\n }\n\n &:hover {\n text-decoration: none;\n }\n\n &:hover:not(.active) {\n background-color: ",";\n }\n\n &.errors {\n color: ",";\n }\n"],["\n display: flex;\n align-items: center;\n gap: ",";\n\n padding: "," ",";\n border-radius: ",";\n\n color: ",";\n font-size: 12px;\n line-height: 12px;\n\n transition: background-color 0.2s ease-out;\n text-decoration: none;\n\n &.active {\n color: ",";\n background-color: ",";\n }\n\n &.active.inactive {\n .status-dot {\n border-color: ",";\n }\n }\n\n &:hover {\n text-decoration: none;\n }\n\n &:hover:not(.active) {\n background-color: ",";\n }\n\n &.errors {\n color: ",";\n }\n"])),a.spacings.sm,a.spacings.sm,a.spacings.md,a.borderRadius.lg,a.colors.gray700,a.colors.white,a.colors.gray500,a.colors.white,a.colors.gray200,a.colors.error);var u,c,d,s;t.Icon=l.default.div(c||(c=r(["\n display: block;\n width: ","px;\n height: ","px;\n fill: ",";\n"],["\n display: block;\n width: ","px;\n height: ","px;\n fill: ",";\n"])),20,20,a.colors.gray550),t.Name=l.default.div(d||(d=r(["\n flex-grow: 1;\n max-width: 90%;\n overflow: hidden;\n\n &:empty:after {\n content: 'No Title';\n color: ",";\n font-style: italic;\n }\n"],["\n flex-grow: 1;\n max-width: 90%;\n overflow: hidden;\n\n &:empty:after {\n content: 'No Title';\n color: ",";\n font-style: italic;\n }\n"])),a.colors.gray400),t.Status=l.default.div(s||(s=r(["\n content: '';\n\n flex-shrink: 0;\n justify-self: flex-end;\n\n width: 10px;\n height: 10px;\n\n border: 1px solid\n ",";\n border-radius: 100%;\n\n background-color: ",";\n\n transition: all 0.3s ease-out;\n"],["\n content: '';\n\n flex-shrink: 0;\n justify-self: flex-end;\n\n width: 10px;\n height: 10px;\n\n border: 1px solid\n ",";\n border-radius: 100%;\n\n background-color: ",";\n\n transition: all 0.3s ease-out;\n"])),(function(e){return e.$enabled?"transparent":a.colors.gray550}),(function(e){return e.$enabled?a.colors.teal550:"transparent"}))},67584:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationItem=void 0;var o=r(n(2784)),i=n(86993),a=n(90022),l=r(n(26457)),u=n(75482),c=n(19056);t.NotificationItem=function(e){var t=e.icon,n=e.notification.uid,r=(0,i.useSelector)(a.notificationSelectors.one(n)),d=r.name,s=r.enabled,f=r.errors;return o.default.createElement(c.Link,{to:"".concat(n),className:(0,l.default)((0,u.hasErrors)(f)&&"errors",!s&&"inactive")},t&&o.default.createElement(c.Icon,{dangerouslySetInnerHTML:{__html:t}}),o.default.createElement(c.Name,null,d),o.default.createElement(c.Status,{$enabled:s,className:(0,l.default)("status-dot")}))}},53846:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CategorySkeleton=void 0;var o=r(n(2784)),i=r(n(76257)),a=n(91176),l=n(91560);t.CategorySkeleton=function(){return o.default.createElement(a.ThemedSkeleton,null,o.default.createElement(l.Wrapper,null,o.default.createElement(l.LabelWrapper,null,o.default.createElement(i.default,{width:50})),o.default.createElement(l.NotificationItemWrapper,{style:{padding:14}},[0,1,2].map((function(e){return o.default.createElement("div",{key:e,style:{display:"flex",gap:10,alignItems:"center"}},o.default.createElement(i.default,{width:20,height:20,circle:!0}),o.default.createElement("div",{style:{flexGrow:2}},o.default.createElement(i.default,{width:100,style:{top:2}})),o.default.createElement(i.default,{width:10,height:10,circle:!0,style:{top:6}}))})))))}},91560:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationItemWrapper=t.Button=t.Label=t.LabelWrapper=t.Wrapper=void 0;var i,a,l,u,c,d=n(51362),s=o(n(55721));t.Wrapper=s.default.div(i||(i=r([""],[""]))),t.LabelWrapper=s.default.div(a||(a=r(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 5px;\n line-height: 22px;\n"],["\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 5px;\n line-height: 22px;\n"]))),t.Label=s.default.span(l||(l=r(["\n padding-left: ",";\n font-weight: 700;\n font-size: 11px;\n color: ",";\n text-transform: uppercase;\n"],["\n padding-left: ",";\n font-weight: 700;\n font-size: 11px;\n color: ",";\n text-transform: uppercase;\n"])),d.spacings.md,d.colors.gray550),t.Button=s.default.button(u||(u=r(["\n align-self: end;\n\n &:hover {\n background-color: ",";\n }\n"],["\n align-self: end;\n\n &:hover {\n background-color: ",";\n }\n"])),d.colors.gray200),t.NotificationItemWrapper=s.default.div(c||(c=r(["\n display: flex;\n flex-direction: column;\n gap: ",";\n padding: "," 0;\n\n &:empty {\n &:after {\n content: 'None configured';\n\n padding: 2px};\n margin-left: 12px;\n\n font-style: italic;\n font-size: 12px;\n\n color: ",";\n }\n }\n"],["\n display: flex;\n flex-direction: column;\n gap: ",";\n padding: "," 0;\n\n &:empty {\n &:after {\n content: 'None configured';\n\n padding: 2px};\n margin-left: 12px;\n\n font-style: italic;\n font-size: 12px;\n\n color: ",";\n }\n }\n"])),d.spacings.xs,d.spacings.xs,d.colors.gray300)},41200:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationTypeItem=void 0;var o=r(n(2784)),i=n(76034),a=n(36450),l=n(19007),u=r(n(26457)),c=r(n(2072)),d=n(60130),s=n(91560);t.NotificationTypeItem=function(e){var t=e.type,n=e.children,r=(0,i.useNavigate)(),f=(0,a.useAppDispatch)(),p=t.name;return o.default.createElement(s.Wrapper,null,o.default.createElement(s.LabelWrapper,null,o.default.createElement(s.Label,null,p),o.default.createElement(s.Button,{className:(0,u.default)("btn","add","icon","small","dashed"),onClick:function(){var e=(0,d.v4)();f((0,l.addNewNotification)(t,e)),r(e)}},(0,c.default)("New"))),o.default.createElement(s.NotificationItemWrapper,null,n))}},17458:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ScrollableList=void 0;var i,a=n(80159),l=n(51362),u=o(n(55721));t.ScrollableList=u.default.div(i||(i=r(["\n display: flex;\n flex-direction: column;\n gap: ",";\n height: 100%;\n\n overflow-x: hidden;\n overflow-y: auto;\n ",";\n"],["\n display: flex;\n flex-direction: column;\n gap: ",";\n height: 100%;\n\n overflow-x: hidden;\n overflow-y: auto;\n ",";\n"])),l.spacings.sm,a.scrollBar)},78177:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.List=void 0;var a=i(n(2784)),l=n(86993),u=n(76034),c=n(32165),d=n(41200),s=n(53846),f=n(90022),p=n(74740),v=n(67584),m=n(17458);t.List=function(){var e=(0,u.useParams)(),t=e.formId,n=e.uid,r=(0,u.useNavigate)(),o=(0,p.useQueryNotificationTypes)(),i=o.data,h=o.isFetching;(0,p.useQueryFormNotifications)(t?Number(t):void 0);var g=(0,l.useSelector)(f.notificationSelectors.all);return(0,a.useEffect)((function(){if(!n&&i&&g){var e=g.find(Boolean);e&&r(e.uid)}}),[n,i,g]),!i&&h?a.default.createElement(c.Sidebar,null,a.default.createElement(s.CategorySkeleton,null)):i||h?a.default.createElement(c.Sidebar,{$lean:!0},a.default.createElement(m.ScrollableList,null,i.map((function(e){return a.default.createElement(d.NotificationTypeItem,{key:e.className,type:e},g&&(null==g?void 0:g.filter((function(t){return t.className===e.className})).map((function(t){return a.default.createElement(v.NotificationItem,{key:t.uid,icon:e.icon,notification:t})}))))})))):a.default.createElement(a.default.Fragment,null,"Empty")}},83837:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CombinatorSelect=void 0;var o=r(n(2784)),i=n(75094),a=r(n(2072));t.CombinatorSelect=function(e){var t=e.value,n=e.onChange;return o.default.createElement("div",{className:"select"},o.default.createElement("select",{value:t,onChange:function(e){return n&&n(e.target.value)}},o.default.createElement("option",{value:i.Combinator.Or},(0,a.default)("any")),o.default.createElement("option",{value:i.Combinator.And},(0,a.default)("all"))))}},86804:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DisplaySelect=void 0;var o=r(n(2784)),i=n(75094),a=r(n(2072));t.DisplaySelect=function(e){var t=e.value,n=e.onChange;return o.default.createElement("div",{className:"select"},o.default.createElement("select",{value:t,onChange:function(e){return n&&n(e.target.value)}},o.default.createElement("option",{value:i.Display.Show},(0,a.default)("show")),o.default.createElement("option",{value:i.Display.Hide},(0,a.default)("hide"))))}},18273:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DisplaySend=void 0;var o,i=r(n(2784)),a=r(n(2072));!function(e){e.Send="send",e.NotSend="not-send"}(o||(o={}));t.DisplaySend=function(e){var t=e.value,n=e.onChange;return i.default.createElement("div",{className:"select"},i.default.createElement("select",{value:t?o.Send:o.NotSend,onChange:function(e){return n&&n(e.target.value===o.Send)}},i.default.createElement("option",{value:o.Send},(0,a.default)("Send")),i.default.createElement("option",{value:o.NotSend},(0,a.default)("Don't send"))))}},36394:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Action=t.Table=void 0;var i,a,l=n(51362),u=o(n(55721));t.Table=u.default.table(i||(i=r(["\n width: 100%;\n\n margin: 0;\n border-spacing: 0;\n border-collapse: separate;\n\n td {\n &:nth-child(1) {\n width: 25%;\n }\n\n &:nth-child(2) {\n width: 20%;\n }\n\n &:last-child {\n width: 20px;\n }\n }\n\n tbody {\n tr {\n td {\n padding: 0 !important;\n padding-top: 7px !important;\n padding-right: 7px !important;\n padding-bottom: 7px !important;\n border-bottom: 1px solid ",";\n background-color: ",";\n }\n\n td:first-child {\n padding-left: 7px !important;\n border-left: 1px solid ",";\n }\n\n td:last-child {\n border-right: 1px solid ",";\n }\n }\n\n tr:first-child {\n td {\n border-top: 1px solid ",";\n }\n\n td:first-child {\n border-top-left-radius: ",";\n border-top: 1px solid ",";\n }\n\n td:last-child {\n border-top: 1px solid ",";\n border-top-right-radius: ",";\n }\n }\n\n tr:last-child {\n td {\n padding: 0 !important;\n background-color: ",";\n\n .btn {\n border: 0 !important;\n border-radius: 0 !important;\n background-color: transparent !important;\n }\n }\n\n td:last-child {\n border-left: 1px dashed ",";\n border-right: 1px dashed ",";\n border-bottom: 1px dashed ",";\n border-bottom-left-radius: ",";\n border-bottom-right-radius: ",";\n }\n }\n\n tr:first-child:last-child {\n td {\n border-top: 1px dashed ",";\n }\n }\n }\n"],["\n width: 100%;\n\n margin: 0;\n border-spacing: 0;\n border-collapse: separate;\n\n td {\n &:nth-child(1) {\n width: 25%;\n }\n\n &:nth-child(2) {\n width: 20%;\n }\n\n &:last-child {\n width: 20px;\n }\n }\n\n tbody {\n tr {\n td {\n padding: 0 !important;\n padding-top: 7px !important;\n padding-right: 7px !important;\n padding-bottom: 7px !important;\n border-bottom: 1px solid ",";\n background-color: ",";\n }\n\n td:first-child {\n padding-left: 7px !important;\n border-left: 1px solid ",";\n }\n\n td:last-child {\n border-right: 1px solid ",";\n }\n }\n\n tr:first-child {\n td {\n border-top: 1px solid ",";\n }\n\n td:first-child {\n border-top-left-radius: ",";\n border-top: 1px solid ",";\n }\n\n td:last-child {\n border-top: 1px solid ",";\n border-top-right-radius: ",";\n }\n }\n\n tr:last-child {\n td {\n padding: 0 !important;\n background-color: ",";\n\n .btn {\n border: 0 !important;\n border-radius: 0 !important;\n background-color: transparent !important;\n }\n }\n\n td:last-child {\n border-left: 1px dashed ",";\n border-right: 1px dashed ",";\n border-bottom: 1px dashed ",";\n border-bottom-left-radius: ",";\n border-bottom-right-radius: ",";\n }\n }\n\n tr:first-child:last-child {\n td {\n border-top: 1px dashed ",";\n }\n }\n }\n"])),l.colors.inputBorder,l.colors.gray050,l.colors.inputBorder,l.colors.inputBorder,l.colors.inputBorder,l.borderRadius.lg,l.colors.inputBorder,l.colors.inputBorder,l.borderRadius.lg,l.colors.white,l.colors.inputBorder,l.colors.inputBorder,l.colors.inputBorder,l.borderRadius.lg,l.borderRadius.lg,l.colors.inputBorder),t.Action=u.default.button(a||(a=r(["\n margin: 0;\n padding: 0;\n border: none;\n display: flex;\n align-items: center;\n justify-content: center;\n\n svg {\n width: 16px;\n height: 16px;\n stroke-width: 3px;\n fill: #e5e7eb;\n }\n"],["\n margin: 0;\n padding: 0;\n border: none;\n display: flex;\n align-items: center;\n justify-content: center;\n\n svg {\n width: 16px;\n height: 16px;\n stroke-width: 3px;\n fill: #e5e7eb;\n }\n"])))},12804:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n "," "," {\n display: none;\n }\n\n "," {\n color: ",";\n }\n }\n\n &:hover {\n background-color: ",";\n border-color: ",";\n }\n\n &.active {\n background-color: #5b6573;\n border-color: #5b6573;\n color: white;\n }\n\n &.is-in-condition {\n position: relative;\n\n &:after {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n z-index: 2;\n\n width: 0;\n border-left: 10px solid transparent;\n border-bottom: 10px solid transparent;\n border-left: 10px solid ",";\n }\n\n &-active:after {\n border-left-color: ",";\n }\n }\n"],["\n display: flex;\n flex-direction: column;\n justify-content: center;\n gap: ",";\n\n flex: 1;\n\n overflow: hidden;\n padding: 5px 7px;\n\n width: 100%;\n height: 100%;\n\n background: ",";\n border: 1px solid ",";\n border-radius: ",";\n\n transition: all 0.2s ease-out;\n\n &,\n * {\n cursor: pointer;\n }\n\n &.has-rule:not(.active) {\n border-color: ",";\n background-color: ",";\n }\n\n &.group {\n background-color: ",";\n border-color: ",";\n\n > "," "," {\n display: none;\n }\n\n "," {\n color: ",";\n }\n }\n\n &:hover {\n background-color: ",";\n border-color: ",";\n }\n\n &.active {\n background-color: #5b6573;\n border-color: #5b6573;\n color: white;\n }\n\n &.is-in-condition {\n position: relative;\n\n &:after {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n z-index: 2;\n\n width: 0;\n border-left: 10px solid transparent;\n border-bottom: 10px solid transparent;\n border-left: 10px solid ",";\n }\n\n &-active:after {\n border-left-color: ",";\n }\n }\n"])),s.spacings.sm,s.colors.gray100,s.colors.gray100,s.borderRadius.md,s.colors.teal550,s.colors.teal050,s.colors.white,s.colors.gray100,t.FieldInfo,t.Icon,t.GroupWrapper,s.colors.gray800,s.colors.gray200,s.colors.gray200,s.colors.gray200,s.colors.teal550)},95800:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Field=void 0;var o=r(n(2784)),i=n(86993),a=n(76034),l=n(18884),u=n(40790),c=n(15443),d=n(75094),s=r(n(26457)),f=n(72757),p=n(7178);t.Field=function(e){var t=e.field,n=(0,a.useParams)().uid,r=(0,a.useNavigate)(),v=(0,c.useFieldType)(null==t?void 0:t.typeClass),m=n===t.uid,h=(0,i.useSelector)(l.fieldRuleSelectors.one(n)),g=(0,i.useSelector)(u.pageRuleSelectors.one(n)),b=(0,i.useSelector)(l.fieldRuleSelectors.hasRule(t.uid)),y=(0,i.useSelector)(u.pageRuleSelectors.hasRule(t.uid)),_=(0,i.useSelector)(l.fieldRuleSelectors.isInCondition(t.uid)),x=(null==h?void 0:h.conditions.find((function(e){return e.field===t.uid})))||(null==g?void 0:g.conditions.find((function(e){return e.field===t.uid})));return void 0===(null==t?void 0:t.properties)?null:o.default.createElement(p.FieldWrapper,{onClick:function(e){e.stopPropagation(),r(n===t.uid?"":"field/".concat(t.uid))},className:(0,s.default)("group"===(null==v?void 0:v.type)&&"group",m&&"active",(b||y)&&"has-rule",_&&"is-in-condition",x&&"is-in-condition-active",d.operatorTypes.negative.includes(null==x?void 0:x.operator)&&"not-equals")},o.default.createElement(p.FieldInfo,null,o.default.createElement(p.Icon,{dangerouslySetInnerHTML:{__html:null==v?void 0:v.icon}}),o.default.createElement(p.Label,null,t.properties.label||(null==v?void 0:v.name))),"group"===(null==v?void 0:v.type)&&o.default.createElement(p.GroupWrapper,null,o.default.createElement(f.Layout,{layoutUid:t.properties.layout})))}},49862:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FieldLayoutWrapper=void 0;var i,a=n(51362),l=o(n(55721));t.FieldLayoutWrapper=l.default.div(i||(i=r(["\n display: flex;\n flex-direction: column;\n gap: ",";\n"],["\n display: flex;\n flex-direction: column;\n gap: ",";\n"])),a.spacings.xs)},72757:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Layout=void 0;var o=r(n(2784)),i=n(36450),a=n(44271),l=n(41294),u=n(74899),c=n(49862);t.Layout=function(e){var t=e.layoutUid,n=(0,i.useAppSelector)((function(e){return a.layoutSelectors.one(e,t)})),r=(0,i.useAppSelector)((function(e){return l.rowSelectors.inLayout(e,null==n?void 0:n.uid)}));return n&&r.length?o.default.createElement(c.FieldLayoutWrapper,null,r.map((function(e){return o.default.createElement(u.Row,{row:e,key:e.uid})}))):null}},88889:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.LoaderMiniMap=void 0;var o=r(n(2784)),i=r(n(76257)),a=n(86993),l=n(91176),u=n(44271),c=n(24496);t.LoaderMiniMap=function(){var e=(0,a.useSelector)(u.layoutSelectors.cartographed.fullLayoutList);return o.default.createElement(l.ThemedSkeleton,null,e.map((function(e,t){return o.default.createElement("div",{key:t},o.default.createElement("div",{style:{marginBottom:14}},o.default.createElement(i.default,{width:"100%",height:30})),e.map((function(e,t){return o.default.createElement(c.LoadingRow,{key:t,style:{display:"flex"}},e.map((function(e,t){return o.default.createElement(i.default,{key:t,width:"100%",height:28})})))})))})))}},24496:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.LoadingRow=t.MiniMapWrapper=void 0;var i,a,l=n(51362),u=o(n(55721)),c=n(79681);t.MiniMapWrapper=u.default.div(i||(i=r(["\n display: flex;\n flex-direction: column;\n gap: ",";\n"],["\n display: flex;\n flex-direction: column;\n gap: ",";\n"])),l.spacings.xl),t.LoadingRow=(0,u.default)(c.RowWrapper)(a||(a=r(["\n > span {\n width: 100%;\n }\n"],["\n > span {\n width: 100%;\n }\n"])))},19438:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.MiniMap=void 0;var o=r(n(2784)),i=n(86993),a=n(76034),l=n(32165),u=n(60719),c=n(34837),d=n(58328),s=n(88889),f=n(24496);t.MiniMap=function(){var e=(0,a.useParams)().formId,t=(0,c.useQueryFormRules)(Number(e||0)).isFetching,n=(0,i.useSelector)(u.pageSelecors.all);return o.default.createElement(l.Sidebar,null,o.default.createElement(f.MiniMapWrapper,null,t&&o.default.createElement(s.LoaderMiniMap,null),!t&&n.map((function(e){return o.default.createElement(d.Page,{key:e.uid,page:e})}))))}},58328:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Page=void 0;var o=r(n(2784)),i=n(86993),a=n(76034),l=n(40790),u=r(n(26457)),c=n(72757),d=r(n(94399)),s=n(93713);t.Page=function(e){var t=e.page,n=(0,a.useParams)().uid,r=(0,a.useNavigate)(),f=(0,i.useSelector)(l.pageRuleSelectors.hasRule(t.uid)),p=t.label,v=t.uid,m=n===v;return o.default.createElement(s.PageWrapper,null,o.default.createElement(s.PageButton,{onClick:function(){return r(n===v?"":"page/".concat(v))},className:(0,u.default)(m&&"active",f&&"has-rule")},o.default.createElement(s.PageIcon,null,o.default.createElement(d.default,null)),o.default.createElement(s.PageLabel,null,p)),o.default.createElement(s.PageBody,{className:(0,u.default)(m&&"active",f&&"has-rule")},o.default.createElement(c.Layout,{layoutUid:t.layoutUid})))}},93713:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PageLabel=t.PageIcon=t.PageBody=t.PageButton=t.PageWrapper=void 0;var i,a,l,u,c,d=n(51362),s=o(n(55721));t.PageWrapper=s.default.div(i||(i=r(["\n display: flex;\n flex: 1;\n flex-direction: column;\n"],["\n display: flex;\n flex: 1;\n flex-direction: column;\n"]))),t.PageButton=s.default.button(a||(a=r(["\n position: relative;\n bottom: -1px;\n\n display: inline-flex;\n justify-content: start;\n align-items: center;\n flex-wrap: nowrap;\n gap: ",";\n\n max-width: 150px;\n padding: "," ",";\n\n background-color: ",";\n\n border: 1px solid #cdd8e4;\n border-bottom: none;\n border-radius: "," "," 0 0;\n\n text-align: left;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n\n transition: all 0.2s ease-out;\n\n &.has-rule {\n border-color: ",";\n background-color: ",";\n\n &.active {\n border-right-color: ",";\n }\n }\n\n &.active {\n background-color: ",";\n border-color: ",";\n color: ",";\n }\n\n &,\n &:active,\n &:focus {\n outline: none;\n }\n\n svg {\n width: 18px;\n height: 18px;\n fill: currentColor;\n }\n"],["\n position: relative;\n bottom: -1px;\n\n display: inline-flex;\n justify-content: start;\n align-items: center;\n flex-wrap: nowrap;\n gap: ",";\n\n max-width: 150px;\n padding: "," ",";\n\n background-color: ",";\n\n border: 1px solid #cdd8e4;\n border-bottom: none;\n border-radius: "," "," 0 0;\n\n text-align: left;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n\n transition: all 0.2s ease-out;\n\n &.has-rule {\n border-color: ",";\n background-color: ",";\n\n &.active {\n border-right-color: ",";\n }\n }\n\n &.active {\n background-color: ",";\n border-color: ",";\n color: ",";\n }\n\n &,\n &:active,\n &:focus {\n outline: none;\n }\n\n svg {\n width: 18px;\n height: 18px;\n fill: currentColor;\n }\n"])),d.spacings.sm,d.spacings.xs,d.spacings.sm,d.colors.white,d.borderRadius.md,d.borderRadius.md,d.colors.teal550,d.colors.teal050,d.colors.teal700,d.colors.gray500,d.colors.gray700,d.colors.white),t.PageBody=s.default.div(l||(l=r(["\n padding: ",";\n border: 1px solid #cdd8e4;\n background-color: ",";\n\n border-radius: 0 "," "," ",";\n\n transition: all 0.2s ease-out;\n\n &.has-rule {\n border-color: ",";\n background-color: ",";\n }\n\n &.active {\n background-color: ",";\n border-color: ",";\n }\n"],["\n padding: ",";\n border: 1px solid #cdd8e4;\n background-color: ",";\n\n border-radius: 0 "," "," ",";\n\n transition: all 0.2s ease-out;\n\n &.has-rule {\n border-color: ",";\n background-color: ",";\n }\n\n &.active {\n background-color: ",";\n border-color: ",";\n }\n"])),d.spacings.sm,d.colors.white,d.borderRadius.md,d.borderRadius.md,d.borderRadius.md,d.colors.teal550,d.colors.teal050,d.colors.gray500,d.colors.gray700),t.PageIcon=s.default.div(u||(u=r([""],[""]))),t.PageLabel=s.default.label(c||(c=r(["\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n"],["\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n"])))},79681:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.RowWrapper=void 0;var i,a=n(51362),l=o(n(55721));t.RowWrapper=l.default.div(i||(i=r(["\n display: flex;\n flex-direction: row;\n justify-content: stretch;\n align-items: stretch;\n gap: ",";\n"],["\n display: flex;\n flex-direction: row;\n justify-content: stretch;\n align-items: stretch;\n gap: ",";\n"])),a.spacings.xs)},74899:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Row=void 0;var o=r(n(2784)),i=n(86993),a=n(4165),l=n(95800),u=n(79681);t.Row=function(e){var t=e.row,n=(0,i.useSelector)(a.fieldSelectors.inRow(t));return o.default.createElement(u.RowWrapper,null,n.map((function(e){return o.default.createElement(l.Field,{key:e.uid,field:e})})))}},72089:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.LoaderTabs=void 0;var l=a(n(2784)),u=i(n(76257)),c=i(n(65884)),d=n(51362),s=n(64316);t.LoaderTabs=function(){return l.default.createElement(u.SkeletonTheme,{baseColor:d.colors.gray300,highlightColor:d.colors.gray200,height:10},l.default.createElement(s.TabWrapper,null,l.default.createElement(s.Heading,null,l.default.createElement(s.FormName,null,l.default.createElement(u.default,{width:"50%",height:20}))),l.default.createElement(s.TabsWrapper,null,l.default.createElement("a",{className:"active"},l.default.createElement("span",null,l.default.createElement(u.default,{width:43}))),l.default.createElement("a",null,l.default.createElement("span",null,l.default.createElement(u.default,{width:82}))),c.default.editions.is(c.Edition.Pro)&&l.default.createElement("a",null,l.default.createElement("span",null,l.default.createElement(u.default,{width:36}))),l.default.createElement("a",null,l.default.createElement("span",null,l.default.createElement(u.default,{width:77}))),l.default.createElement("a",null,l.default.createElement("span",null,l.default.createElement(u.default,{width:54})))),l.default.createElement(s.SaveButtonWrapper,null,l.default.createElement(u.default,null))))}},64316:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SaveButton=t.SaveButtonWrapper=t.TabsWrapper=t.FormName=t.Heading=t.TabWrapper=void 0;var i,a,l,u,c,d,s=n(80159),f=n(51362),p=o(n(55721));t.TabWrapper=p.default.nav(i||(i=r(["\n position: relative;\n\n display: grid;\n grid-template-columns: 300px min-content auto;\n align-items: center;\n\n height: 50px;\n flex: 0 0 50px;\n\n box-sizing: border-box;\n overflow-x: hidden;\n"],["\n position: relative;\n\n display: grid;\n grid-template-columns: 300px min-content auto;\n align-items: center;\n\n height: 50px;\n flex: 0 0 50px;\n\n box-sizing: border-box;\n overflow-x: hidden;\n"]))),t.Heading=p.default.h1(a||(a=r(["\n position: relative;\n margin: 0;\n"],["\n position: relative;\n margin: 0;\n"]))),t.FormName=p.default.span(l||(l=r(["\n font-size: 18px;\n font-weight: 700;\n line-height: 1.2;\n color: ",";\n"],["\n font-size: 18px;\n font-weight: 700;\n line-height: 1.2;\n color: ",";\n"])),f.colors.gray700),t.TabsWrapper=p.default.div(u||(u=r(["\n display: flex;\n align-self: flex-end;\n\n background-color: ",";\n border-radius: "," "," 0 0;\n box-shadow:\n inset 0 -1px 0 0 rgba(154, 165, 177, 0.25),\n 0 0 0 1px rgba(154, 165, 177, 0.25);\n\n a {\n display: flex;\n align-items: center;\n\n height: 49px;\n padding: 0 ",";\n\n white-space: nowrap;\n\n color: var(--light-text-color);\n border-radius: "," "," 0 0;\n\n &:hover {\n text-decoration: none;\n background-color: rgba(154, 165, 177, 0.15);\n\n &:not(.active) {\n &:not(:first-child) {\n border-top-left-radius: 0;\n }\n\n &:not(:last-child) {\n border-top-right-radius: 0;\n }\n }\n }\n\n &.active {\n background: ",";\n color: ",";\n box-shadow:\n inset 0 2px 0 ",",\n 0 0 0 1px rgba(51, 64, 77, 0.1),\n 0 2px 12px rgba(205, 216, 228, 0.5) !important;\n }\n\n &.errors {\n position: relative;\n color: ",";\n\n ",";\n }\n\n > span[data-icon] {\n position: relative;\n left: 5px;\n }\n }\n"],["\n display: flex;\n align-self: flex-end;\n\n background-color: ",";\n border-radius: "," "," 0 0;\n box-shadow:\n inset 0 -1px 0 0 rgba(154, 165, 177, 0.25),\n 0 0 0 1px rgba(154, 165, 177, 0.25);\n\n a {\n display: flex;\n align-items: center;\n\n height: 49px;\n padding: 0 ",";\n\n white-space: nowrap;\n\n color: var(--light-text-color);\n border-radius: "," "," 0 0;\n\n &:hover {\n text-decoration: none;\n background-color: rgba(154, 165, 177, 0.15);\n\n &:not(.active) {\n &:not(:first-child) {\n border-top-left-radius: 0;\n }\n\n &:not(:last-child) {\n border-top-right-radius: 0;\n }\n }\n }\n\n &.active {\n background: ",";\n color: ",";\n box-shadow:\n inset 0 2px 0 ",",\n 0 0 0 1px rgba(51, 64, 77, 0.1),\n 0 2px 12px rgba(205, 216, 228, 0.5) !important;\n }\n\n &.errors {\n position: relative;\n color: ",";\n\n ",";\n }\n\n > span[data-icon] {\n position: relative;\n left: 5px;\n }\n }\n"])),f.colors.gray050,f.borderRadius.lg,f.borderRadius.lg,f.spacings.xl,f.borderRadius.md,f.borderRadius.md,f.colors.white,f.colors.gray700,f.colors.gray500,f.colors.error,s.errorAlert),t.SaveButtonWrapper=p.default.div(c||(c=r(["\n display: flex;\n justify-content: end;\n"],["\n display: flex;\n justify-content: end;\n"]))),t.SaveButton=p.default.button(d||(d=r([""],[""])))},45470:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Tabs=void 0;var l=a(n(2784)),u=n(86993),c=n(76034),d=n(11455),s=n(57092),f=i(n(65884)),p=n(36450),v=n(35701),m=n(8697),h=n(72671),g=n(35382),b=n(4165),y=n(90022),_=n(22920),x=n(40319),w=a(n(26457)),O=n(75482),E=a(n(2072)),P=n(64316);t.Tabs=function(){var e=(0,p.useAppDispatch)(),t=(0,u.useSelector)(g.formSelectors.current),n=(0,u.useSelector)(h.contextSelectors.state),r=(0,u.useSelector)(g.formSelectors.errors),o=(0,u.useSelector)(b.fieldSelectors.hasErrors),i=(0,u.useSelector)(y.notificationSelectors.errors.any),a=(0,x.useQueryFormSettings)().data,j=function(){e((0,v.save)())};return(0,_.useOnKeypress)({callback:function(e){if("s"===e.key){var t=window.navigator.platform.match(/Mac/);if(t&&!e.metaKey)return;if(!t&&!e.ctrlKey)return;return e.preventDefault(),j(),!1}},type:"keydown"}),l.default.createElement(P.TabWrapper,null,l.default.createElement(d.Breadcrumb,{label:t.name||"New Form",url:"/forms/".concat(t.id)}),l.default.createElement(P.Heading,null,l.default.createElement(P.FormName,null,t.name||(0,E.default)("New Form"))),l.default.createElement(P.TabsWrapper,{className:"main-tabs"},l.default.createElement(c.NavLink,{to:"",end:!0,className:(0,w.default)(o&&"errors")},l.default.createElement("span",null,(0,E.default)("Layout"))),l.default.createElement(c.NavLink,{to:"notifications",className:(0,w.default)(i&&"errors")},l.default.createElement("span",null,(0,E.default)("Notifications"))),f.default.editions.is(f.Edition.Pro)&&l.default.createElement(c.NavLink,{to:"rules"},l.default.createElement("span",null,(0,E.default)("Rules"))),l.default.createElement(c.NavLink,{to:"integrations"},l.default.createElement("span",null,(0,E.default)("Integrations"))),a&&l.default.createElement(c.NavLink,{to:"settings",className:(0,w.default)(((0,O.hasErrors)(null==r?void 0:r.general)||(0,O.hasErrors)(null==r?void 0:r.behavior))&&"errors")},l.default.createElement("span",null,(0,E.default)("Settings")))),l.default.createElement(P.SaveButtonWrapper,null,l.default.createElement(P.SaveButton,{onClick:j,disabled:n===m.State.Processing,className:(0,w.default)("btn","submit","save-button")},l.default.createElement(s.LoadingText,{loadingText:(0,E.default)("Saving"),loading:n===m.State.Processing,spinner:!0},(0,E.default)("Save")))))}},35653:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Drag=void 0,function(e){e.FieldType="field-type",e.FavoriteField="favorite-field",e.Field="field",e.Row="row",e.OptionRow="option-row",e.Page="page"}(n||(t.Drag=n={}))},37796:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0}),t.EditorGlobalStyles=void 0;var o,i=n(55721);t.EditorGlobalStyles=(0,i.createGlobalStyle)(o||(o=r(["\n #freeform-client-app {\n height: calc(100vh - 100px);\n }\n"],["\n #freeform-client-app {\n height: calc(100vh - 100px);\n }\n"])))},85898:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Edit=void 0;var a=i(n(2784)),l=n(76034),u=n(8697),c=n(35430),d=n(9202),s=n(41533),f=n(40319),p=n(28924),v=n(58604),m=n(9363),h=n(97240),g=n(76064),b=n(12163),y=n(77209),_=n(36450);t.Edit=function(){var e=(0,l.useParams)().formId,t=(0,_.useAppDispatch)();(0,f.useQueryFormSettings)();var n=(0,f.useQuerySingleForm)(e&&Number(e)),r=n.data,o=n.isFetching,i=n.isError,x=n.error;return(0,a.useEffect)((function(){var n;if(void 0!==e&&r){var o=r.layout,i=o.fields,a=o.pages,l=o.layouts,f=o.rows;t(c.formActions.update(r)),t(d.fieldActions.set(i)),t(h.pageActions.set(a)),t(s.layoutActions.set(l)),t(g.rowActions.set(f)),t(b.notificationActions.set([])),t(m.integrationActions.emptyIntegrations()),0===a.length?t((0,y.addNewPage)()):t(u.contextActions.setPage(null===(n=a.find(Boolean))||void 0===n?void 0:n.uid))}}),[r,e]),o?a.default.createElement(v.LoaderBuilder,null):i?a.default.createElement("div",null,"ERROR: ",x.message):a.default.createElement(p.Builder,null)}},70988:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.EditProvider=void 0;var o=r(n(2784)),i=n(86993),a=n(11455),l=n(85797),u=n(85898),c=n(37796),d=n(36450);t.EditProvider=function(){return o.default.createElement(i.Provider,{store:d.store},o.default.createElement(a.Breadcrumb,{label:"Forms",url:"/forms"}),o.default.createElement(c.EditorGlobalStyles,null),o.default.createElement(l.ModalProvider,null,o.default.createElement(u.Edit,null)))}},35701:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.save=void 0;var r=n(410);t.save=(0,r.createAction)("form/save")},27487:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useValueUpdateGenerator=void 0;var r=n(2784),o=n(11692);t.useValueUpdateGenerator=function(e,t,n){return(0,r.useCallback)((function(r){if(!r.disabled)return function(i){n(r.handle,(0,o.applyMiddleware)(i,r.middleware,t,(function(r,i){var a=e.find((function(e){return e.handle===r}));a&&!a.disabled&&n(a.handle,(0,o.applyMiddleware)(i,a.middleware,t))})))}}),[e,t,n])}},36450:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useAppStore=t.useAppSelector=t.useAppDispatch=t.store=void 0;var o=n(86993),i=n(410),a=r(n(43292)),l=n(50489),u=r(n(8697)),c=r(n(35430)),d=r(n(9363)),s=r(n(56169)),f=r(n(12163)),p=r(n(82919)),v=r(n(96636));t.store=(0,i.configureStore)({middleware:[a.default,l.statePersistMiddleware],reducer:{form:c.default,layout:s.default,integrations:d.default,notifications:f.default,rules:p.default,context:u.default,search:v.default}});t.useAppDispatch=function(){return(0,o.useDispatch)()},t.useAppSelector=o.useSelector;t.useAppStore=function(){return(0,o.useStore)()}},50489:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.statePersistMiddleware=t.TOPIC_UPSERTED=t.TOPIC_UPDATED=t.TOPIC_CREATED=t.TOPIC_ERRORS=t.TOPIC_SAVE=void 0;var o=r(n(60014)),i=r(n(98641)),a=n(35701),l=n(8697);t.TOPIC_SAVE=Symbol("form.save"),t.TOPIC_ERRORS=Symbol("form.save.errors"),t.TOPIC_CREATED=Symbol("form.save.crated"),t.TOPIC_UPDATED=Symbol("form.save.updated"),t.TOPIC_UPSERTED=Symbol("form.save.upserted"),i.default.clearAllSubscriptions();var u=function(e,n){i.default.publish(t.TOPIC_ERRORS,{dispatch:e,response:n}),e(l.contextActions.setState(l.State.Idle))};t.statePersistMiddleware=function(e){return function(n){return function(r){if(r&&(n(r),r.type===String(a.save))){var c=e.dispatch;c(l.contextActions.setState(l.State.Processing));var d={dispatch:c,state:e.getState(),persist:{}};i.default.publishSync(t.TOPIC_SAVE,d);var s=d.state.form.id;s?o.default.put("/api/forms/".concat(s),d.persist).then((function(e){return function(e,n){i.default.publish(t.TOPIC_UPDATED,{dispatch:e,response:n}),i.default.publish(t.TOPIC_UPSERTED,{dispatch:e,response:n}),e(l.contextActions.setState(l.State.Idle))}(c,e)})).catch((function(e){return u(c,e)})):o.default.post("/api/forms",d.persist).then((function(e){return function(e,n){i.default.publish(t.TOPIC_CREATED,{dispatch:e,response:n}),i.default.publish(t.TOPIC_UPSERTED,{dispatch:e,response:n}),e(l.contextActions.setState(l.State.Idle))}(c,e)})).catch((function(e){return u(c,e)}))}}}}},72671:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.contextSelectors=void 0;var r=n(75482);t.contextSelectors={currentPage:function(e){var t=e.context.page;return t?e.layout.pages.find((function(e){return e.uid===t})):e.layout.pages.find(Boolean)},hasErrors:function(e){return function(t){var n=t.layout.pages.find((function(t){return t.uid===e})).layoutUid;return t.layout.rows.filter((function(e){return e.layoutUid===n})).some((function(e){return t.layout.fields.filter((function(t){return t.rowUid===e.uid})).some((function(e){return(0,r.hasErrors)(e.errors)}))})),!1}},focus:function(e){return e.context.focus},state:function(e){return e.context.state}}},8697:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0)){for(var n=0,r=t.payload;n=u&&(e.order+=1)}))},remove:function(e,t){var n=t.payload;e.splice(e.findIndex((function(e){return e.uid===n})),1)},removeBatch:function(e,t){t.payload.forEach((function(t){e.splice(e.findIndex((function(e){return e.uid===t})),1)}))},edit:function(e,t){var n=t.payload,r=n.uid,o=n.handle,i=n.value;e.find((function(e){return e.uid===r})).properties[o]=i},batchEdit:function(e,t){var n=t.payload,r=n.uid,o=n.typeClass,i=n.properties,a=e.find((function(e){return e.uid===r}));a.typeClass=o,a.properties=i},clearErrors:function(e){for(var t=0,n=e;t=u;e.order-=t?1:0})),e.filter((function(e){return e.rowUid===o})).filter((function(e){return e.uid!==a.uid})).forEach((function(e){var t=e.order>=a.order;e.order+=t?1:0}))),c&&e.filter((function(e){return e.rowUid===o})).filter((function(e){return e.uid!==a.uid})).forEach((function(e){e.order>u&&e.order<=i&&(e.order-=1),e.order=i&&(e.order+=1)})))}}});var l=t.fieldsSlice.actions;t.fieldActions=l,t.default=t.fieldsSlice.reducer},56169:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=n(74081),i=r(n(9202)),a=r(n(41533)),l=r(n(97240)),u=r(n(76064)),c=(0,o.combineReducers)({fields:i.default,pages:l.default,rows:u.default,layouts:a.default});t.default=c},41533:function(e,t,n){"use strict";var r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;oa&&(e.order-=1),o=a&&(t+=1),e.order=t}))},remove:function(e,t){var n=e.findIndex((function(e){return e.uid===t.payload}));e.splice(n,1)},swap:function(e,t){var n=e.find((function(e){return e.uid===t.payload.currentUid})),r=e.find((function(e){return e.uid===t.payload.targetUid})),o=n.order;n.order=r.order,r.order=o}}});var i=t.rowsSlice.actions;t.rowActions=i,t.default=t.rowsSlice.reducer},41294:function(e,t,n){"use strict";var r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o=a.default.limits.fields)){var o=e.fieldType,i=e.row,s=e.layoutUid;if(!s){var f=n();s=i?i.layoutUid:null===(r=u.layoutSelectors.currentPageLayout(f))||void 0===r?void 0:r.uid}var p=(0,d.v4)(),v=(0,d.v4)();t(c.rowActions.add({layoutUid:s,uid:v,order:null==i?void 0:i.order})),t(l.fieldActions.add({fieldType:o,uid:p,rowUid:v}))}}},existingRow:function(e){return function(t){var n=e.fieldType,r=e.row,o=e.order,i=(0,d.v4)();t(l.fieldActions.add({fieldType:n,uid:i,rowUid:r.uid,order:o}))}}}},38143:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9202),o=n(33523);t.default=function(e){return function(t,n){t(r.fieldActions.remove(e.uid)),(0,o.removeEmptyRows)(n(),t)}}},19007:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n.9?8:4,Math.floor(Math.random()*(t-e+1))+e)};var e,t}));return o.default.createElement(l.CardWrapper,null,o.default.createElement(l.CardBody,null,o.default.createElement(i.default,{height:20,width:"50%"}),o.default.createElement(i.default,{height:10,width:"80%"}),o.default.createElement(l.LinkList,null,o.default.createElement("li",null,o.default.createElement(i.default,{height:8,width:90})),o.default.createElement("li",null,o.default.createElement(i.default,{height:8,width:50})))),o.default.createElement(a.ResponsiveContainer,{width:"100%",height:40},o.default.createElement(a.AreaChart,{data:t,margin:{top:10,bottom:3,left:0,right:0}},o.default.createElement("defs",null,o.default.createElement("linearGradient",{id:"colorGradient",x1:0,y1:0,x2:0,y2:1},o.default.createElement("stop",{offset:"5%",stopColor:e,stopOpacity:.4}),o.default.createElement("stop",{offset:"95%",stopColor:e,stopOpacity:.3}))),o.default.createElement(a.Area,{type:"monotone",dataKey:"value",stroke:e,strokeWidth:1,strokeOpacity:1,fillOpacity:1,fill:"url(#colorGradient)",isAnimationActive:!1}))),o.default.createElement(l.PaddedChartFooter,{$color:e}))}},78303:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PaddedChartFooter=t.CardWrapper=t.LinkList=t.ControlButton=t.Controls=t.Subtitle=t.Title=t.CardBody=void 0;var i,a,l,u,c,d,s,f,p=n(51362),v=o(n(55721));t.CardBody=v.default.div(i||(i=r(["\n flex: 1;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n\n padding: "," "," 0;\n"],["\n flex: 1;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n\n padding: "," "," 0;\n"])),p.spacings.xl,p.spacings.xl),t.Title=v.default.h2(a||(a=r(["\n cursor: pointer;\n\n margin: 0;\n\n color: #3d464e;\n\n font-size: 20px;\n font-weight: 700;\n text-align: left;\n\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n\n transition: all 0.2s ease-out;\n"],["\n cursor: pointer;\n\n margin: 0;\n\n color: #3d464e;\n\n font-size: 20px;\n font-weight: 700;\n text-align: left;\n\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n\n transition: all 0.2s ease-out;\n"]))),t.Subtitle=v.default.span(l||(l=r(["\n display: inline-block;\n\n color: #868f96;\n font-size: 14px;\n\n max-width: 100%;\n\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n"],["\n display: inline-block;\n\n color: #868f96;\n font-size: 14px;\n\n max-width: 100%;\n\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n"]))),t.Controls=v.default.div(u||(u=r(["\n position: absolute;\n right: ",";\n top: ",";\n z-index: 2;\n\n display: flex;\n justify-content: end;\n align-items: stretch;\n gap: ",";\n\n opacity: 0;\n transform: translateY(-20px);\n transition: all 0.2s ease-out;\n"],["\n position: absolute;\n right: ",";\n top: ",";\n z-index: 2;\n\n display: flex;\n justify-content: end;\n align-items: stretch;\n gap: ",";\n\n opacity: 0;\n transform: translateY(-20px);\n transition: all 0.2s ease-out;\n"])),p.spacings.sm,p.spacings.sm,p.spacings.sm),t.ControlButton=v.default.button(c||(c=r(["\n font-size: 14px;\n color: #868f96;\n\n > svg {\n fill: currentColor;\n }\n"],["\n font-size: 14px;\n color: #868f96;\n\n > svg {\n fill: currentColor;\n }\n"]))),t.LinkList=v.default.ul(d||(d=r(["\n margin: "," 0 0;\n padding: 0;\n"],["\n margin: "," 0 0;\n padding: 0;\n"])),p.spacings.sm),t.CardWrapper=v.default.li(s||(s=r(["\n position: relative;\n\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n\n overflow: hidden;\n\n background-color: #fcfdff;\n border: 1px solid #e7eef7;\n border-radius: var(--large-border-radius);\n\n opacity: 1;\n pointer-events: auto;\n\n transition:\n background-color 0.2s ease-out,\n border-color 0.2s ease-out;\n\n &.disabled {\n opacity: 0.5;\n pointer-events: none;\n }\n\n &:not(.dragging):hover {\n background-color: #f3f7fd;\n border-color: #9eb0c5;\n\n "," {\n color: #0161f3;\n }\n\n "," {\n opacity: 1;\n transform: translateY(0);\n }\n }\n"],["\n position: relative;\n\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n\n overflow: hidden;\n\n background-color: #fcfdff;\n border: 1px solid #e7eef7;\n border-radius: var(--large-border-radius);\n\n opacity: 1;\n pointer-events: auto;\n\n transition:\n background-color 0.2s ease-out,\n border-color 0.2s ease-out;\n\n &.disabled {\n opacity: 0.5;\n pointer-events: none;\n }\n\n &:not(.dragging):hover {\n background-color: #f3f7fd;\n border-color: #9eb0c5;\n\n "," {\n color: #0161f3;\n }\n\n "," {\n opacity: 1;\n transform: translateY(0);\n }\n }\n"])),t.Title,t.Controls),t.PaddedChartFooter=v.default.div(f||(f=r(["\n margin-top: -3px;\n\n background-color: ",";\n opacity: 0.3;\n\n height: 5px;\n\n font-size: 1px;\n line-height: 1px;\n\n overflow: hidden;\n"],["\n margin-top: -3px;\n\n background-color: ",";\n opacity: 0.3;\n\n height: 5px;\n\n font-size: 1px;\n line-height: 1px;\n\n overflow: hidden;\n"])),(function(e){return e.$color}))},72003:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n.9?50:20,Math.floor(Math.random()*(t-e+1))+e)};var e,t})),D=t.id,F=t.name,T=t.settings.general,L=T.color,R=T.description,A=o.isLoading&&o.context===D,B=x.isLoading&&x.context===D,W=A||B,I=function(){O.invalidateQueries(c.QKForms.single(Number(D))),w("".concat(D))};return i.default.createElement(y.CardWrapper,{"data-id":t.id,className:(0,d.default)(W&&"disabled",n&&"dragging")},i.default.createElement(y.Controls,null,i.default.createElement(l.Tooltip,r({title:(0,s.default)("Move")},_),i.default.createElement(y.ControlButton,{className:"handle"},i.default.createElement(b.default,null))),i.default.createElement(l.Tooltip,r({title:(0,s.default)("Duplicate this Form")},_),i.default.createElement(y.ControlButton,{onClick:function(){x.mutate(D)}},i.default.createElement(h.default,null))),i.default.createElement(l.Tooltip,r({title:(0,s.default)("Delete this Form")},_),i.default.createElement(y.ControlButton,{onClick:function(){confirm((0,s.default)("Are you sure you want to delete this form?"))&&o.mutate(D)}},i.default.createElement(g.default,null)))),i.default.createElement(y.CardBody,null,j?i.default.createElement(l.Tooltip,r({title:F},_),i.default.createElement(y.Title,{ref:P,onClick:I},F)):i.default.createElement(y.Title,{ref:P,onClick:I},F),!!R&&(C?i.default.createElement(l.Tooltip,r({title:R},_),i.default.createElement(y.Subtitle,{ref:k},R)):i.default.createElement(y.Subtitle,{ref:k,title:R},R)),i.default.createElement(y.LinkList,null,i.default.createElement("li",null,i.default.createElement("a",{href:(0,f.generateUrl)("submissions/".concat(t.handle),!1)},t.counters.submissions," ",(0,s.default)("Submissions"))),i.default.createElement("li",null,i.default.createElement("a",{href:(0,f.generateUrl)("spam/".concat(t.handle),!1)},t.counters.spam," ",(0,s.default)("Spam"))))),i.default.createElement(v.ResponsiveContainer,{width:"100%",height:40},i.default.createElement(v.AreaChart,{data:t.chartData||S,margin:{top:10,bottom:3,left:0,right:0}},i.default.createElement("defs",null,i.default.createElement("linearGradient",{id:"color".concat(t.id),x1:0,y1:0,x2:0,y2:1},i.default.createElement("stop",{offset:"5%",stopColor:L,stopOpacity:.4}),i.default.createElement("stop",{offset:"95%",stopColor:L,stopOpacity:.3}))),i.default.createElement(v.Area,{type:"monotone",dataKey:"uv",stroke:L,strokeWidth:1,strokeOpacity:1,fillOpacity:1,fill:"url(#color".concat(t.id,")"),isAnimationActive:!1}))),i.default.createElement(y.PaddedChartFooter,{$color:L}))}},80992:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ListProvider=void 0;var o=r(n(2784)),i=n(11455),a=n(85797),l=n(15443),u=n(79634),c=n(51567);t.ListProvider=function(){var e=(0,u.useQueryClient)();return e.prefetchQuery(l.QKFieldTypes.all,l.fetchFieldTypes),e.prefetchQuery(l.QKFieldTypes.propertySections(),l.fetchFieldPropertySections),o.default.createElement(a.ModalProvider,null,o.default.createElement(i.Breadcrumb,{label:"Forms",url:"/forms"}),o.default.createElement(c.List,null))}},54552:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.chartDataset=void 0,t.chartDataset=[[{uv:0},{uv:2},{uv:0},{uv:6},{uv:0},{uv:0},{uv:1},{uv:0},{uv:0},{uv:4},{uv:0},{uv:3}],[{uv:9},{uv:6},{uv:3},{uv:4},{uv:0},{uv:6},{uv:1}],[{uv:0},{uv:25},{uv:0},{uv:32},{uv:0},{uv:0}]]},17794:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.MutedWrapper=void 0;var i,a=n(51362),l=o(n(55721)),u=n(78303),c=n(3489);t.MutedWrapper=(0,l.default)(c.Wrapper)(i||(i=r(["\n position: relative;\n margin-top: ",";\n\n &:after {\n content: '';\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n\n z-index: 2;\n\n background: linear-gradient(\n to right,\n transparent 0%,\n transparent 40%,\n white 65%,\n white 100%\n );\n }\n\n &,\n * {\n pointer-events: none;\n user-select: none;\n }\n\n "," {\n border-color: #fbfcfd;\n background: #fefeff;\n }\n\n ",", "," a {\n color: #cfd1d2;\n }\n\n "," {\n color: #e2e4e5;\n }\n"],["\n position: relative;\n margin-top: ",";\n\n &:after {\n content: '';\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n\n z-index: 2;\n\n background: linear-gradient(\n to right,\n transparent 0%,\n transparent 40%,\n white 65%,\n white 100%\n );\n }\n\n &,\n * {\n pointer-events: none;\n user-select: none;\n }\n\n "," {\n border-color: #fbfcfd;\n background: #fefeff;\n }\n\n ",", "," a {\n color: #cfd1d2;\n }\n\n "," {\n color: #e2e4e5;\n }\n"])),a.spacings.xl,u.CardWrapper,u.Title,u.LinkList,u.Subtitle)},93633:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.EmptyList=void 0;var o=r(n(2784)),i=r(n(2072)),a=n(72003),l=n(16817),u=n(54552),c=n(17794),d=function(e,t,n,r,o){return{uid:"",type:"",name:e,handle:"",chartData:n,counters:{submissions:r,spam:o},settings:{general:{description:t,color:"#e0e0e0"}}}};t.EmptyList=function(){var e=(0,l.useCreateFormModal)();return o.default.createElement(o.default.Fragment,null,o.default.createElement("p",null,(0,i.default)("You don't have any forms yet. Create your first form now...")),o.default.createElement("button",{className:"btn submit add icon",onClick:e},(0,i.default)("New Form")),o.default.createElement(c.MutedWrapper,null,o.default.createElement(a.Card,{form:d("Contact Form","Main contact form.",u.chartDataset[0],14,5)}),o.default.createElement(a.Card,{form:d("Customer Survey","Customer satisfaction survey.",u.chartDataset[1],72,18)}),o.default.createElement(a.Card,{form:d("Newsletter","Newsletter signup form.",u.chartDataset[2],138,7)})))}},48962:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useCloneFormMutation=t.useDeleteFormMutation=void 0;var o=n(40319),i=n(79634),a=n(79634),l=r(n(60014));t.useDeleteFormMutation=function(){var e=(0,i.useQueryClient)();return(0,a.useMutation)((function(e){return l.default.delete("/api/forms/".concat(e))}),{onMutate:function(e){return e},onSuccess:function(t,n){e.setQueryData(o.QKForms.all,(function(e){return e.filter((function(e){return e.id!==n}))}))}})};t.useCloneFormMutation=function(){var e=(0,i.useQueryClient)();return(0,a.useMutation)((function(e){return l.default.post("/api/forms/".concat(e,"/clone"))}),{onMutate:function(e){return e},onSuccess:function(){e.invalidateQueries(o.QKForms.all)}})}},3489:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Title=t.Header=t.Wrapper=void 0;var i,a,l,u=n(51362),c=o(n(55721));t.Wrapper=c.default.ul(i||(i=r(["\n display: grid;\n grid-template-columns: repeat(4, 1fr);\n gap: ",";\n"],["\n display: grid;\n grid-template-columns: repeat(4, 1fr);\n gap: ",";\n"])),u.spacings.lg),t.Header=c.default.header(a||(a=r(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n"],["\n display: flex;\n justify-content: space-between;\n align-items: center;\n"]))),t.Title=c.default.h1(l||(l=r(["\n padding: "," 0;\n margin: 0;\n\n font-size: 18px;\n font-weight: 700;\n line-height: 34px;\n"],["\n padding: "," 0;\n margin: 0;\n\n font-size: 18px;\n font-weight: 700;\n line-height: 34px;\n"])),u.spacings.sm)},51567:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.List=void 0;var l=i(n(2784)),u=a(n(65884)),c=n(40319),d=a(n(26457)),s=a(n(2072)),f=a(n(60014)),p=a(n(10324)),v=n(72003),m=n(20511),h=n(16817),g=n(58778),b=n(93633),y=n(3489);t.List=function(){var e=(0,c.useQueryFormsWithStats)(),t=e.data,n=e.isFetching,r=(0,h.useCreateFormModal)(),o=u.default.limits.forms,i=(null==t?void 0:t.length)||1,a=!n&&t&&!t.length,_=(0,l.useRef)(null),x=(0,l.useRef)(null),w=(0,l.useState)(!1),O=w[0],E=w[1],P=function(){var e=x.current.toArray();f.default.post("/api/forms/sort",{orderedFormIds:e}),E(!1)};return(0,l.useEffect)((function(){x.current=new p.default(_.current,{animation:150,onEnd:P,handle:".handle",onStart:function(){E(!0)}})}),[]),l.default.createElement(l.default.Fragment,null,l.default.createElement(y.Header,null,l.default.createElement(y.Title,null,(0,s.default)("Forms")),(!o||i0&&o[o.length-1])||6!==l[0]&&2!==l[0])){a=0;continue}if(3===l[0]&&(!o||l[1]>o[0]&&l[1]{errors} logged errors in the Freeform error log.',{link:(0,l.generateUrl)("settings/error-log"),errors:t.errors})}}))):null:null}},58361:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useLogoAnimation=void 0;var r=n(79066);t.useLogoAnimation=function(){var e=(0,r.useSpring)({from:{opacity:0,scale:0},to:{opacity:1,scale:1}}),t=(0,r.useSpringRef)(),n=(0,r.useSpring)({ref:t,from:{opacity:0,scale:0},to:{opacity:1,scale:1},config:{tension:300}}),o=(0,r.useSpringRef)(),i=(0,r.useTrail)(5,{ref:o,from:{opacity:0,x:-30,y:10},to:{opacity:1,x:0,y:0},config:{tension:300}}),a=(0,r.useSpringRef)(),l=(0,r.useSpring)({ref:a,from:{opacity:0,scale:0,x:-30,y:10},to:{opacity:1,scale:1,x:0,y:0},config:{tension:200}}),u=(0,r.useSpringRef)(),c=(0,r.useSpring)({ref:u,from:{opacity:0,scale:.6,x:30,y:-40},to:{opacity:1,scale:1,x:0,y:0},config:{tension:130}}),d=(0,r.useSpringRef)(),s=(0,r.useTrail)(8,{ref:d,from:{opacity:0,scale:1.05},to:{opacity:1,scale:1}});return(0,r.useChain)([t,o,a,u,d],[0,.8,.6,1,.8]),{background:e,border:n,lines:i,check:l,pencil:c,letters:s}}},56919:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0;var i,a=o(n(2784)),l=n(79066),u=o(n(55721)),c=n(58361),d=(0,u.default)(l.animated.path)(i||(i=r(["\n transform-origin: 54px;\n"],["\n transform-origin: 54px;\n"])));t.Logo=function(){var e=(0,c.useLogoAnimation)(),t=e.border,n=e.lines,r=e.check,o=e.pencil,i=e.letters;return a.default.createElement(a.default.Fragment,null,a.default.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0",y:"0",width:"581",height:"121",viewBox:"0, 0, 581, 121"},a.default.createElement("g",null,a.default.createElement(l.animated.path,{style:i[0],d:"M137.033,21 L137.033,97.284 L153.807,97.284 L153.807,65.766 L185.752,65.766 L185.752,52.732 L153.807,52.732 L153.807,35.103 L190.667,35.103 L190.667,21 z",fill:"#058FFE"}),a.default.createElement(l.animated.path,{style:i[1],d:"M196.65,42.047 L196.65,97.284 L211.821,97.284 L211.821,72.39 Q211.821,68.651 212.569,65.445 Q213.317,62.24 215.08,59.836 Q216.842,57.432 219.727,56.044 Q222.612,54.655 226.779,54.655 Q228.167,54.655 229.663,54.815 Q231.159,54.975 232.227,55.189 L232.227,41.086 Q230.411,40.552 228.915,40.552 Q226.031,40.552 223.36,41.406 Q220.689,42.261 218.338,43.81 Q215.988,45.36 214.171,47.55 Q212.355,49.74 211.287,52.304 L211.073,52.304 L211.073,42.047 z",fill:"#058FFE"}),a.default.createElement(l.animated.path,{style:i[2],d:"M273.468,63.736 L248.788,63.736 Q248.894,62.133 249.482,60.103 Q250.07,58.074 251.512,56.257 Q252.954,54.441 255.358,53.212 Q257.762,51.984 261.395,51.984 Q266.95,51.984 269.675,54.975 Q272.399,57.967 273.468,63.736 z M248.788,73.352 L288.639,73.352 Q289.066,66.941 287.571,61.065 Q286.075,55.189 282.709,50.595 Q279.344,46.001 274.109,43.276 Q268.874,40.552 261.822,40.552 Q255.518,40.552 250.337,42.795 Q245.155,45.039 241.416,48.939 Q237.676,52.838 235.646,58.18 Q233.616,63.522 233.616,69.719 Q233.616,76.129 235.593,81.471 Q237.569,86.813 241.202,90.66 Q244.834,94.506 250.07,96.589 Q255.305,98.673 261.822,98.673 Q271.224,98.673 277.848,94.399 Q284.472,90.126 287.677,80.189 L274.322,80.189 Q273.574,82.754 270.262,85.051 Q266.95,87.348 262.356,87.348 Q255.946,87.348 252.527,84.036 Q249.108,80.724 248.788,73.352 z",fill:"#058FFE"}),a.default.createElement(l.animated.path,{style:i[3],d:"M334.794,63.736 L310.114,63.736 Q310.221,62.133 310.808,60.103 Q311.396,58.074 312.838,56.257 Q314.281,54.441 316.684,53.212 Q319.088,51.984 322.721,51.984 Q328.277,51.984 331.001,54.975 Q333.725,57.967 334.794,63.736 z M310.114,73.352 L349.965,73.352 Q350.392,66.941 348.897,61.065 Q347.401,55.189 344.035,50.595 Q340.67,46.001 335.435,43.276 Q330.2,40.552 323.148,40.552 Q316.845,40.552 311.663,42.795 Q306.481,45.039 302.742,48.939 Q299.002,52.838 296.972,58.18 Q294.942,63.522 294.942,69.719 Q294.942,76.129 296.919,81.471 Q298.896,86.813 302.528,90.66 Q306.161,94.506 311.396,96.589 Q316.631,98.673 323.148,98.673 Q332.55,98.673 339.174,94.399 Q345.798,90.126 349.004,80.189 L335.649,80.189 Q334.901,82.754 331.589,85.051 Q328.277,87.348 323.682,87.348 Q317.272,87.348 313.853,84.036 Q310.434,80.724 310.114,73.352 z",fill:"#058FFE"}),a.default.createElement(l.animated.path,{style:i[4],d:"M362.252,52.197 L362.252,97.284 L377.423,97.284 L377.423,52.197 L387.893,52.197 L387.893,42.047 L377.423,42.047 L377.423,38.735 Q377.423,35.317 378.759,33.874 Q380.094,32.432 383.192,32.432 Q386.077,32.432 388.748,32.752 L388.748,21.427 Q386.825,21.321 384.795,21.16 Q382.765,21 380.735,21 Q371.44,21 366.846,25.701 Q362.252,30.402 362.252,37.774 L362.252,42.047 L353.17,42.047 L353.17,52.197 z",fill:"#058FFE"}),a.default.createElement(l.animated.path,{style:i[5],d:"M405.842,69.719 Q405.842,66.407 406.484,63.202 Q407.125,59.997 408.674,57.539 Q410.223,55.082 412.787,53.533 Q415.351,51.984 419.197,51.984 Q423.044,51.984 425.661,53.533 Q428.279,55.082 429.828,57.539 Q431.377,59.997 432.018,63.202 Q432.659,66.407 432.659,69.719 Q432.659,73.031 432.018,76.183 Q431.377,79.335 429.828,81.845 Q428.279,84.356 425.661,85.852 Q423.044,87.348 419.197,87.348 Q415.351,87.348 412.787,85.852 Q410.223,84.356 408.674,81.845 Q407.125,79.335 406.484,76.183 Q405.842,73.031 405.842,69.719 z M390.671,69.719 Q390.671,76.343 392.701,81.685 Q394.731,87.027 398.471,90.82 Q402.21,94.613 407.445,96.643 Q412.68,98.673 419.197,98.673 Q425.715,98.673 431.003,96.643 Q436.292,94.613 440.031,90.82 Q443.771,87.027 445.801,81.685 Q447.831,76.343 447.831,69.719 Q447.831,63.095 445.801,57.7 Q443.771,52.304 440.031,48.511 Q436.292,44.719 431.003,42.635 Q425.715,40.552 419.197,40.552 Q412.68,40.552 407.445,42.635 Q402.21,44.719 398.471,48.511 Q394.731,52.304 392.701,57.7 Q390.671,63.095 390.671,69.719 z",fill:"#058FFE"}),a.default.createElement(l.animated.path,{style:i[6],d:"M454.455,42.048 L454.455,97.284 L469.626,97.284 L469.626,72.39 Q469.626,68.651 470.374,65.445 Q471.122,62.24 472.885,59.836 Q474.647,57.432 477.532,56.044 Q480.417,54.655 484.584,54.655 Q485.973,54.655 487.468,54.815 Q488.964,54.975 490.032,55.189 L490.032,41.086 Q488.216,40.552 486.72,40.552 Q483.836,40.552 481.165,41.406 Q478.494,42.261 476.143,43.81 Q473.793,45.36 471.976,47.55 Q470.16,49.74 469.092,52.304 L468.878,52.304 L468.878,42.048 z",fill:"#058FFE"}),a.default.createElement(l.animated.path,{style:i[7],d:"M495.374,42.048 L495.374,97.284 L510.546,97.284 L510.546,65.232 Q510.546,61.172 511.721,58.661 Q512.896,56.15 514.552,54.815 Q516.208,53.479 517.971,52.999 Q519.734,52.518 520.802,52.518 Q524.435,52.518 526.305,53.746 Q528.174,54.975 528.976,57.005 Q529.777,59.035 529.884,61.439 Q529.991,63.843 529.991,66.3 L529.991,97.284 L545.162,97.284 L545.162,66.514 Q545.162,63.95 545.536,61.439 Q545.91,58.928 547.032,56.952 Q548.153,54.975 550.13,53.746 Q552.107,52.518 555.312,52.518 Q558.517,52.518 560.387,53.586 Q562.256,54.655 563.218,56.471 Q564.179,58.287 564.393,60.745 Q564.607,63.202 564.607,65.98 L564.607,97.284 L579.778,97.284 L579.778,60.317 Q579.778,54.975 578.282,51.182 Q576.787,47.39 574.116,45.039 Q571.445,42.689 567.705,41.62 Q563.966,40.552 559.585,40.552 Q553.816,40.552 549.596,43.33 Q545.376,46.107 542.918,49.74 Q540.675,44.612 536.348,42.582 Q532.021,40.552 526.785,40.552 Q521.337,40.552 517.116,42.902 Q512.896,45.253 509.905,49.526 L509.691,49.526 L509.691,42.048 z",fill:"#058FFE"})),a.default.createElement("g",null,a.default.createElement(d,{id:"border",style:t,d:"M38.21,8.235 C55.991,3.485 48.257,5.547 61.41,2.045 C81.122,-3.121 85.308,12.293 86.733,17.316 C87.578,20.376 88.397,23.444 89.221,26.511 L85.846,39.107 C84.005,32.333 82.23,25.54 80.268,18.799 C77.299,8.891 73.26,6.026 62.542,8.526 C52.269,11.295 21.955,19.37 18.061,20.461 C11.917,22.214 5.241,25.568 8.378,37.778 C11.495,49.432 20.359,82.504 25.555,101.889 C29.226,116.009 37.094,114.185 43.274,112.875 C48.704,111.465 80.987,102.813 87.871,100.899 C98.428,97.964 99.959,92.397 97.461,82.748 L96.649,79.683 L100.059,66.957 C101.32,71.668 102.579,76.379 103.838,81.09 C108.849,99.83 97.949,104.671 89.358,107.378 C84.703,108.639 62.438,114.602 45.371,119.171 C25.355,124.656 20.772,109.079 19.296,103.67 C17.82,98.262 5.477,52.147 2.127,39.56 C-3.194,19.969 11.809,15.443 16.267,14.164 C23.57,12.146 30.892,10.198 38.21,8.235 z",fill:"#058FFE"}),a.default.createElement(d,{id:"Pencil",style:o,d:"M104.896,9.029 C108.021,9.788 109.983,12.498 109.216,15.366 C108.45,18.234 91.809,79.661 91.809,79.661 L91.809,79.661 C89.131,83.319 86.452,86.977 83.789,90.648 C83.326,91.289 82.471,91.069 82.416,90.222 L80.555,76.613 C80.555,76.613 97.181,15.201 97.968,12.32 C98.754,9.438 101.772,8.27 104.896,9.029 z",fill:"#FF6624"}),a.default.createElement(d,{id:"line-5",style:n[4],d:"M33.991,89.16 L55.133,83.495 L57.764,93.316 L36.622,98.981 z",fill:"#058FFE"}),a.default.createElement(d,{id:"line-1",style:n[0],d:"M50.225,33.282 L71.367,27.617 L72.77,32.85 L51.628,38.516 z",fill:"#058FFE"}),a.default.createElement(d,{id:"line-2",style:n[1],d:"M53.591,45.845 L74.734,40.18 L76.137,45.416 L54.994,51.081 z",fill:"#058FFE"}),a.default.createElement(d,{id:"check",style:r,d:"M44.691,24.459 L34.761,41.811 L30.887,39.484 L28.718,43.126 L36.268,47.485 L39.034,42.686 L41.193,50.742 L28.637,54.107 L24.459,38.516 L33.43,36 L36.34,30.96 L19.598,35.446 L25.878,58.883 L45.968,53.499 L41.793,37.916 L48.4,26.471 z",fill:"#058FFE"}),a.default.createElement(d,{id:"line-4",style:n[3],d:"M30.933,77.748 L79.11,64.818 L77.427,70.967 L32.335,82.981 z",fill:"#058FFE"}),a.default.createElement(d,{id:"line-3",style:n[2],d:"M27.662,65.888 L78.053,52.385 L79.456,57.619 L29.064,71.122 z",fill:"#058FFE"}))))}},85490:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useWelcomeAnimations=void 0;var r=n(79066);t.useWelcomeAnimations=function(){var e=(0,r.useSpring)({from:{opacity:0,scale:.5},to:{opacity:1,scale:1},delay:1e3}),t=(0,r.useSpringRef)(),n=(0,r.useSpring)({ref:t,from:{opacity:0,y:10},to:{opacity:1,y:0},delay:1e3}),o=(0,r.useSpringRef)(),i=(0,r.useSpring)({ref:o,from:{opacity:0,y:10},to:{opacity:1,y:0}}),a=(0,r.useSpringRef)(),l=(0,r.useTrail)(4,{ref:a,from:{opacity:0,y:20},to:{opacity:1,y:0}});return(0,r.useChain)([t,o,a],[0,2,2.2]),{installed:{icon:e,text:n},extra:i,buttons:l}}},40632:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Button=t.ButtonsWrapper=t.ExtraContentWrapper=t.InstallText=t.InstallIcon=t.InstallWrapper=t.LogoWrapper=t.WelcomeWrapper=void 0;var i,a,l,u,c,d,s,f,p=n(79066),v=n(51362),m=o(n(55721));t.WelcomeWrapper=m.default.div(i||(i=r(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: 20px;\n\n height: 80vh;\n padding: 40px;\n\n background-color: ",";\n border-radius: ",";\n box-shadow: ",", ",";\n"],["\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: 20px;\n\n height: 80vh;\n padding: 40px;\n\n background-color: ",";\n border-radius: ",";\n box-shadow: ",", ",";\n"])),v.colors.white,v.borderRadius.lg,v.shadows.panel,v.shadows.box),t.LogoWrapper=m.default.div(a||(a=r([""],[""]))),t.InstallWrapper=m.default.div(l||(l=r(["\n display: flex;\n align-items: center;\n gap: ",";\n\n margin-top: 20px;\n\n font-size: 22px;\n fill: ",";\n"],["\n display: flex;\n align-items: center;\n gap: ",";\n\n margin-top: 20px;\n\n font-size: 22px;\n fill: ",";\n"])),v.spacings.sm,v.colors.teal500),t.InstallIcon=(0,m.default)(p.animated.div)(u||(u=r(["\n font-size: 30px;\n"],["\n font-size: 30px;\n"]))),t.InstallText=(0,m.default)(p.animated.div)(c||(c=r([""],[""]))),t.ExtraContentWrapper=(0,m.default)(p.animated.div)(d||(d=r(["\n max-width: 60%;\n margin-top: 20px;\n\n color: ",";\n font-style: italic;\n text-align: center;\n"],["\n max-width: 60%;\n margin-top: 20px;\n\n color: ",";\n font-style: italic;\n text-align: center;\n"])),v.colors.gray400),t.ButtonsWrapper=m.default.div(s||(s=r(["\n display: flex;\n justify-content: center;\n gap: ",";\n\n margin-top: 40px;\n"],["\n display: flex;\n justify-content: center;\n gap: ",";\n\n margin-top: 40px;\n"])),v.spacings.sm),t.Button=(0,m.default)(p.animated.div)(f||(f=r(["\n a {\n color: inherit;\n text-decoration: none;\n }\n"],["\n a {\n color: inherit;\n text-decoration: none;\n }\n"])))},44278:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Welcome=void 0;var o=r(n(2784)),i=n(76034),a=n(11455),l=r(n(2072)),u=n(23656),c=r(n(75935)),d=n(56919),s=n(85490),f=n(40632);t.Welcome=function(){var e=(0,s.useWelcomeAnimations)(),t=e.installed,n=e.extra,r=e.buttons;return o.default.createElement(f.WelcomeWrapper,null,o.default.createElement(a.Breadcrumb,{label:"Welcome",url:"/forms"}),o.default.createElement(f.LogoWrapper,null,o.default.createElement(d.Logo,null)),o.default.createElement(f.InstallWrapper,null,o.default.createElement(f.InstallIcon,{style:t.icon},o.default.createElement(c.default,null)),o.default.createElement(f.InstallText,{style:t.text},o.default.createElement("span",null,(0,l.default)("Freeform installed successfully!")))),o.default.createElement(f.ExtraContentWrapper,{style:n},(0,l.default)("\n Thank you for choosing Freeform! Craft will install the free\n Express edition by default. If you wish to maximize your\n experience, be sure to manually switch the edition to Lite or\n Pro. Below are a few helpful links to get you started.\n ")),o.default.createElement(f.ButtonsWrapper,null,o.default.createElement(f.Button,{style:r[0],className:"btn"},o.default.createElement(i.NavLink,{to:"/forms"},(0,l.default)("Create Forms"))),o.default.createElement(f.Button,{style:r[2],className:"btn"},o.default.createElement("a",{href:(0,u.generateUrl)("/settings/demo-templates")},(0,l.default)("Install Demo"))),o.default.createElement(f.Button,{style:r[1],className:"btn submit"},o.default.createElement("a",{href:(0,u.generateUrl)("/settings")},(0,l.default)("Configure Freeform")))))}},31070:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.EscapeStackProvider=t.useEscapeStack=void 0;var a=i(n(2784)),l=(0,a.createContext)({stack:[],push:function(){},pop:function(){}});t.useEscapeStack=function(e,t){void 0===t&&(t=!0);var n=(0,a.useContext)(l),r=n.push,o=n.pop;(0,a.useEffect)((function(){return t?r(e):o(e),function(){o(e)}}),[t])};t.EscapeStackProvider=function(e){var t=e.children,n=[];return(0,a.useEffect)((function(){var e=function(e){if("Escape"===e.key){var t=n.at(-1);t&&t()}};return document.addEventListener("keydown",e),function(){document.removeEventListener("keydown",e)}}),[]),a.default.createElement(l.Provider,{value:{stack:n,push:function(e){n.push(e)},pop:function(e){if(!e)return n.pop();var t=n.indexOf(e);return-1!==t?n.splice(t,1)[0]:void 0}}},t)}},12828:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useCheckOverflow=void 0;var r=n(2784);t.useCheckOverflow=function(){var e=(0,r.useRef)(null),t=(0,r.useState)(!1),n=t[0],o=t[1];return(0,r.useEffect)((function(){var t=function(){var t=e.current;t&&o(t.scrollWidth>t.clientWidth)};return window.addEventListener("resize",t),t(),function(){return window.removeEventListener("resize",t)}}),[e]),[e,n]}},9726:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useClickOutside=void 0;var r=n(2784),o=n(26457);t.useClickOutside=function(e){var t=e.callback,n=e.isEnabled,i=e.refObject,a=e.excludeClassNames,l=(0,r.useRef)(),u=i||l;return(0,r.useEffect)((function(){var e=function(e){n&&n&&u.current&&!u.current.contains(e.target)&&!(0,o.elementTreeHasClass)(e.target,a)&&"function"==typeof t&&t()};return document.addEventListener("click",e,!0),function(){document.removeEventListener("click",e,!0)}}),[u,n]),u}},88901:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDebounce=void 0;var r=n(2784);t.useDebounce=function(e,t){void 0===t&&(t=500);var n=(0,r.useState)(e),o=n[0],i=n[1];return(0,r.useEffect)((function(){var n=setTimeout((function(){return i(e)}),t);return function(){return clearTimeout(n)}}),[e,t]),o}},21285:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useFreeformNavigation=void 0;var r=n(2784),o=n(76034),i=n(40319),a=n(91423),l=n(74740),u=n(79634);t.useFreeformNavigation=function(){var e=(0,o.useParams)().formId,t=(0,o.useNavigate)(),n=(0,u.useQueryClient)();(0,r.useEffect)((function(){var r=document.querySelector('ul.subnav li a[href*="/freeform/forms"]'),o=function(r){return r.preventDefault(),e&&(n.invalidateQueries(i.QKForms.single(Number(e))),n.invalidateQueries(l.QKNotifications.single(Number(e))),n.invalidateQueries(a.QKIntegrations.single(Number(e)))),t("/forms"),!1};return r.addEventListener("click",o),function(){r.removeEventListener("click",o)}}))}},19136:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDimensionsObserver=void 0;var r=n(2784);t.useDimensionsObserver=function(){var e=(0,r.useRef)(null),t=(0,r.useState)({height:0,width:0,x:0,y:0}),n=t[0],o=t[1],i=(0,r.useState)((function(){return new ResizeObserver((function(e){var t=e[0].target.getBoundingClientRect(),n=t.width,r=t.height,i=t.x,a=t.y;o({width:n,height:r,x:i,y:a})}))}))[0];return(0,r.useEffect)((function(){return e.current&&i.observe(e.current),function(){return i.disconnect()}}),[i]),{ref:e,dimensions:n}}},23934:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useHover=void 0;var r=n(2784);t.useHover=function(e){var t,n,o=(0,r.useState)(!1),i=o[0],a=o[1];return null===(t=e.current)||void 0===t||t.addEventListener("mouseenter",(function(){return a(!0)})),null===(n=e.current)||void 0===n||n.addEventListener("mouseleave",(function(){return a(!1)})),i}},22920:function(e,t,n){"use strict";var r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o * {\n > label {\n display: block;\n padding: 6px 12px;\n margin: 0 0 5px;\n\n border: 1px solid ",";\n border-left: none;\n\n white-space: nowrap;\n text-align: center;\n color: black !important;\n cursor: pointer;\n }\n\n input {\n position: absolute;\n left: -9999px;\n top: -9999px;\n width: 1px;\n height: 1px;\n overflow: hidden;\n visibility: hidden;\n\n &:checked ~ label {\n background: #e6e6e6;\n }\n }\n\n &:first-child {\n > label {\n border-left: 1px solid ",";\n\n border-top-left-radius: ",";\n border-bottom-left-radius: ",";\n }\n }\n\n &:last-child {\n > label {\n border-top-right-radius: ",";\n border-bottom-right-radius: ",";\n }\n }\n }\n }\n\n ul.opinion-scale-legends {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));\n grid-gap: 0;\n\n li {\n text-align: center;\n }\n\n li:first-child {\n text-align: left;\n }\n\n li:last-child {\n text-align: right;\n }\n }\n}\n\n"],["\n\n.opinion-scale {\n ul {\n list-style: none;\n margin: 0;\n padding: 0;\n }\n\n .opinion-scale-scales {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));\n grid-gap: 0;\n\n > * {\n > label {\n display: block;\n padding: 6px 12px;\n margin: 0 0 5px;\n\n border: 1px solid ",";\n border-left: none;\n\n white-space: nowrap;\n text-align: center;\n color: black !important;\n cursor: pointer;\n }\n\n input {\n position: absolute;\n left: -9999px;\n top: -9999px;\n width: 1px;\n height: 1px;\n overflow: hidden;\n visibility: hidden;\n\n &:checked ~ label {\n background: #e6e6e6;\n }\n }\n\n &:first-child {\n > label {\n border-left: 1px solid ",";\n\n border-top-left-radius: ",";\n border-bottom-left-radius: ",";\n }\n }\n\n &:last-child {\n > label {\n border-top-right-radius: ",";\n border-bottom-right-radius: ",";\n }\n }\n }\n }\n\n ul.opinion-scale-legends {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));\n grid-gap: 0;\n\n li {\n text-align: center;\n }\n\n li:first-child {\n text-align: left;\n }\n\n li:last-child {\n text-align: right;\n }\n }\n}\n\n"])),i,i,a,a,a,a);t.default=l},80159:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0}),t.errorAlert=t.labelText=t.scrollBar=void 0;var o,i,a,l=n(55721),u=n(51362),c=u.colors.gray100,d=u.colors.gray300;t.scrollBar=(0,l.css)(o||(o=r(["\n scrollbar-width: thin;\n scrollbar-color: "," ",";\n -webkit-overflow-scrolling: touch;\n\n &::-webkit-scrollbar {\n width: 6px;\n height: 6px;\n }\n\n &::-webkit-scrollbar-track {\n background-color: ",";\n }\n\n &::-webkit-scrollbar-thumb {\n background-color: ",";\n }\n"],["\n scrollbar-width: thin;\n scrollbar-color: "," ",";\n -webkit-overflow-scrolling: touch;\n\n &::-webkit-scrollbar {\n width: 6px;\n height: 6px;\n }\n\n &::-webkit-scrollbar-track {\n background-color: ",";\n }\n\n &::-webkit-scrollbar-thumb {\n background-color: ",";\n }\n"])),d,c,c,d),t.labelText=(0,l.css)(i||(i=r(["\n font-family:\n system-ui,\n BlinkMacSystemFont,\n -apple-system,\n Segoe UI,\n Roboto,\n Oxygen,\n Ubuntu,\n Cantarell,\n Fira Sans,\n Droid Sans,\n Helvetica Neue,\n sans-serif;\n font-weight: bold;\n text-transform: uppercase;\n color: rgb(154 165 177 / 75%);\n"],["\n font-family:\n system-ui,\n BlinkMacSystemFont,\n -apple-system,\n Segoe UI,\n Roboto,\n Oxygen,\n Ubuntu,\n Cantarell,\n Fira Sans,\n Droid Sans,\n Helvetica Neue,\n sans-serif;\n font-weight: bold;\n text-transform: uppercase;\n color: rgb(154 165 177 / 75%);\n"]))),t.errorAlert=(0,l.css)(a||(a=r(["\n span:after {\n content: 'alert';\n\n position: relative;\n top: 1px;\n\n padding-left: 5px;\n\n -webkit-font-smoothing: antialiased;\n font-feature-settings: 'liga', 'dlig';\n font-family: Craft;\n }\n"],["\n span:after {\n content: 'alert';\n\n position: relative;\n top: 1px;\n\n padding-left: 5px;\n\n -webkit-font-smoothing: antialiased;\n font-feature-settings: 'liga', 'dlig';\n font-family: Craft;\n }\n"])))},51362:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.colors=t.beziers=t.shadows=t.borderRadius=t.spacings=t.BoxShadow=void 0;var i,a=o(n(55721));t.BoxShadow=a.default.div(i||(i=r(["\n box-shadow:\n 0 0 0 1px #cdd8e4,\n 0 2px 12px rgb(205 216 228 / 50%);\n"],["\n box-shadow:\n 0 0 0 1px #cdd8e4,\n 0 2px 12px rgb(205 216 228 / 50%);\n"]))),t.spacings={xs:"var(--xs)",sm:"var(--s)",md:"var(--m)",lg:"var(--l)",xl:"var(--xl)"},t.borderRadius={sm:"var(--small-border-radius)",md:"var(--medium-border-radius)",lg:"var(--large-border-radius)"},t.shadows={panel:"0 0 20px 10px rgb(205 216 228 / 50%)",box:"0 0 0 1px #cdd8e4, 0 2px 12px rgb(205 216 228 / 50%)",bottom:"inset 0 -1px 0 0 rgb(154 165 177 / 25%)",top:"inset 0 1px 0 0 rgb(154 165 177 / 25%)",left:"inset 1px 0 0 0 rgb(154 165 177 / 25%)",right:"inset -1px 0 0 0 rgb(154 165 177 / 25%)",container:"0 0 0 1px rgba(31, 41, 51, 0.1), 0 5px 20px rgba(31, 41, 51, 0.25)"},t.beziers={easeOut:"cubic-bezier(0.25, 0.1, 0.25, 1)",easeIn:"cubic-bezier(0.42, 0, 1, 1)",easeInOut:"cubic-bezier(0.42, 0, 0.58, 1)",bounce:{easeOut:"cubic-bezier(0.175, 0.885, 0.32, 1.275)"}},t.colors={hairline:"rgba(51,64,77,.1)",inputBorder:"rgba(96,125,159,0.25)",barelyVisible:"rgb(154 165 177 / 75%)",elements:{dropdown:"#dfe5ec"},error:"#cf1124",warning:"var(--warning-color)",success:"var(--success-color)",notice:"var(--notice-color)",enabled:"var(--enabled-color)",pending:"var(--pending-color)",disabled:"var(--disabled-color)",white:"var(--white)",black:"var(--black)",gray050:"var(--gray-050)",gray100:"var(--gray-100)",gray200:"var(--gray-200)",gray300:"var(--gray-300)",gray350:"var(--gray-350)",gray400:"var(--gray-400)",gray500:"var(--gray-500)",gray550:"var(--gray-550)",gray600:"var(--gray-600)",gray700:"var(--gray-700)",gray800:"var(--gray-800)",gray900:"var(--gray-900)",gray1000:"var(--gray-1000)",blue050:"var(--blue-050)",blue100:"var(--blue-100)",blue200:"var(--blue-200)",blue300:"var(--blue-300)",blue400:"var(--blue-400)",blue500:"var(--blue-500)",blue600:"var(--blue-600)",blue700:"var(--blue-700)",blue800:"var(--blue-800)",blue900:"var(--blue-900)",cyan050:"var(--cyan-050)",cyan100:"var(--cyan-100)",cyan200:"var(--cyan-200)",cyan300:"var(--cyan-300)",cyan400:"var(--cyan-400)",cyan500:"var(--cyan-500)",cyan600:"var(--cyan-600)",cyan700:"var(--cyan-700)",cyan800:"var(--cyan-800)",cyan900:"var(--cyan-900)",pink050:"var(--pink-050)",pink100:"var(--pink-100)",pink200:"var(--pink-200)",pink300:"var(--pink-300)",pink400:"var(--pink-400)",pink500:"var(--pink-500)",pink600:"var(--pink-600)",pink700:"var(--pink-700)",pink800:"var(--pink-800)",pink900:"var(--pink-900)",red050:"var(--red-050)",red100:"var(--red-100)",red200:"var(--red-200)",red300:"var(--red-300)",red400:"var(--red-400)",red500:"var(--red-500)",red600:"var(--red-600)",red700:"var(--red-700)",red800:"var(--red-800)",red900:"var(--red-900)",yellow050:"var(--yellow-050)",yellow100:"var(--yellow-100)",yellow200:"var(--yellow-200)",yellow300:"var(--yellow-300)",yellow400:"var(--yellow-400)",yellow500:"var(--yellow-500)",yellow600:"var(--yellow-600)",yellow700:"var(--yellow-700)",yellow800:"var(--yellow-800)",yellow900:"var(--yellow-900)",teal050:"var(--teal-050)",teal100:"var(--teal-100)",teal200:"var(--teal-200)",teal300:"var(--teal-300)",teal400:"var(--teal-400)",teal500:"var(--teal-500)",teal550:"var(--teal-550)",teal600:"var(--teal-600)",teal700:"var(--teal-700)",teal800:"var(--teal-800)",teal900:"var(--teal-900)"}},36260:function(e,t){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.APIError=t.API_ERROR=void 0,t.API_ERROR="api_error";var o=function(e){function n(n,r){var o=e.call(this,n)||this;return o.errors={},o.name=t.API_ERROR,o.errors=r,o}return r(n,e),n}(Error);t.APIError=o},94234:function(e,t){"use strict";var n,r,o;Object.defineProperty(t,"__esModule",{value:!0}),t.Type=t.Implementation=void 0,function(e){e.Options="options",e.GeneratedOptions="generatedOptions"}(n||(t.Implementation=n={})),function(e){e.Group="group",e.Rating="rating",e.OpinionScale="opinion-scale"}(r||(t.Type=r={})),function(e){e[e.NewField=0]="NewField",e[e.ExistingField=1]="ExistingField"}(o||(o={}))},39319:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.TargetFieldType=void 0,function(e){e.Relation="relation",e.Custom="custom"}(n||(t.TargetFieldType=n={}))},88863:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.TemplateType=void 0,function(e){e.Database="database",e.File="file"}(n||(t.TemplateType=n={}))},83287:function(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.PropertyType=void 0,function(e){e.Attributes="attributes",e.Boolean="bool",e.Checkboxes="checkboxes",e.Color="color",e.ConditionalRules="conditionalRules",e.DateTime="dateTime",e.Field="field",e.FieldMapping="fieldMapping",e.FieldType="fieldType",e.Hidden="hidden",e.Integer="int",e.Label="label",e.MinMax="minMax",e.NotificationTemplate="notificationTemplate",e.Options="options",e.PageButton="pageButton",e.PageButtonsLayout="pageButtonsLayout",e.RecipientMapping="recipientMapping",e.Recipients="recipients",e.Select="select",e.DynamicSelect="dynamicSelect",e.String="string",e.Table="table",e.TabularData="tabularData",e.Textarea="textarea",e.WYSIWYG="wysiwyg",e.CodeEditor="codeEditor"}(n||(t.PropertyType=n={})),function(e){e[e.NewField=0]="NewField",e[e.ExistingField=1]="ExistingField"}(r||(r={}))},75094:function(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.Combinator=t.Display=t.operatorTypes=void 0,t.operatorTypes={boolean:["equals","notEquals"],numeric:["greaterThan","greaterThanOrEquals","lessThan","lessThanOrEquals"],string:["equals","notEquals","contains","notContains","startsWith","endsWith"],negative:["notEquals","notContains"]},function(e){e.Show="show",e.Hide="hide"}(n||(t.Display=n={})),function(e){e.And="and",e.Or="or"}(r||(t.Combinator=r={}))},8454:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.range=void 0;t.range=function(e,t){void 0===t&&(e>1?(t=e,e=1):(t=e,e=0));for(var n=[],r=e;r<=t;r++)n.push(r);return n}},26457:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.classes=t.elementTreeHasClass=void 0;t.elementTreeHasClass=function(e,t){if(void 0===t)return!1;if("string"==typeof t&&(t=t.split(" ")),!e||!e.classList)return!1;for(;e;){for(var n=0,r=t;no?o:e}},82538:function(){Number.prototype.inRange=function(e,t,n){void 0===n&&(n=!0);var r=Math.min(e,t),o=Math.max(e,t);return n?this>=r&&this<=o:this>r&&this=o)&&Object.keys(i.O).every((function(e){return i.O[e](n[u])}))?n.splice(u--,1):(l=!1,o0&&e[d-1][2]>o;d--)e[d]=e[d-1];e[d]=[n,r,o]},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,{a:t}),t},n=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},i.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var o=Object.create(null);i.r(o);var a={};t=t||[null,n({}),n([]),n(n)];for(var l=2&r&&e;"object"==typeof l&&!~t.indexOf(l);l=n(l))Object.getOwnPropertyNames(l).forEach((function(t){a[t]=function(){return e[t]}}));return a.default=function(){return e},i.d(o,a),o},i.d=function(e,t){for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},function(){var e={47:0};i.O.j=function(t){return 0===e[t]};var t=function(t,n){var r,o,a=n[0],l=n[1],u=n[2],c=0;if(a.some((function(t){return 0!==e[t]}))){for(r in l)i.o(l,r)&&(i.m[r]=l[r]);if(u)var d=u(i)}for(t&&t(n);c=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["fill","width","height","style"]);return a.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:n,width:i,height:s},c)},f),a.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))}},16331:function(e,t,n){"use strict";var r,o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["fill","width","height","style"]);return a.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:n,width:i,height:s},c)},f),a.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))}},25447:function(e,t,n){"use strict";e.exports=n(44868)},99550:function(e,t,n){"use strict";e.exports=n(22360)},6901:function(e,t,n){"use strict";e.exports=n(78476)},8669:function(e,t,n){"use strict";e.exports=n(19455)},53609:function(e,t,n){"use strict";e.exports=n(96721)},410:function(e,t,n){"use strict";function r(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r3?t.i-4:t.i:Array.isArray(e)?1:p(e)?2:h(e)?3:0}function l(e,t){return 2===s(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function c(e,t){return 2===s(e)?e.get(t):e[t]}function f(e,t,n){var r=s(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function d(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function p(e){return H&&e instanceof Map}function h(e){return J&&e instanceof Set}function g(e){return e.o||e.t}function y(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=K(e);delete t[W];for(var n=G(t),r=0;r1&&(e.set=e.add=e.clear=e.delete=b),Object.freeze(e),t&&u(e,(function(e,t){return m(t,!0)}),!0)),e}function b(){r(2)}function v(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function w(e){var t=V[e];return t||r(18,e),t}function x(e,t){V[e]||(V[e]=t)}function k(){return F}function S(e,t){t&&(w("Patches"),e.u=[],e.s=[],e.v=t)}function j(e){O(e),e.p.forEach(_),e.p=null}function O(e){e===F&&(F=e.l)}function E(e){return F={p:[],l:F,h:e,m:!0,_:0}}function _(e){var t=e[W];0===t.i||1===t.i?t.j():t.g=!0}function C(e,t){t._=t.p.length;var n=t.p[0],o=void 0!==e&&e!==n;return t.h.O||w("ES5").S(t,e,o),o?(n[W].P&&(j(t),r(4)),i(e)&&(e=P(t,e),t.l||T(t,e)),t.u&&w("Patches").M(n[W].t,e,t.u,t.s)):e=P(t,n,[]),j(t),t.u&&t.v(t.u,t.s),e!==Q?e:void 0}function P(e,t,n){if(v(t))return t;var r=t[W];if(!r)return u(t,(function(o,i){return D(e,r,t,o,i,n)}),!0),t;if(r.A!==e)return t;if(!r.P)return T(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=4===r.i||5===r.i?r.o=y(r.k):r.o,i=o,a=!1;3===r.i&&(i=new Set(o),o.clear(),a=!0),u(i,(function(t,i){return D(e,r,o,t,i,n,a)})),T(e,o,!1),n&&e.u&&w("Patches").N(r,n,e.u,e.s)}return r.o}function D(e,t,n,r,a,u,s){if(o(a)){var c=P(e,a,u&&t&&3!==t.i&&!l(t.R,r)?u.concat(r):void 0);if(f(n,r,c),!o(c))return;e.m=!1}else s&&n.add(a);if(i(a)&&!v(a)){if(!e.h.D&&e._<1)return;P(e,a),t&&t.A.l||T(e,a)}}function T(e,t,n){void 0===n&&(n=!1),!e.l&&e.h.D&&e.m&&m(t,n)}function M(e,t){var n=e[W];return(n?g(n):e)[t]}function A(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function L(e){e.P||(e.P=!0,e.l&&L(e.l))}function N(e){e.o||(e.o=y(e.t))}function R(e,t,n){var r=p(t)?w("MapSet").F(t,n):h(t)?w("MapSet").T(t,n):e.O?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:k(),P:!1,I:!1,R:{},l:t,t:e,k:null,o:null,j:null,C:!1},o=r,i=$;n&&(o=[r],i=ee);var a=Proxy.revocable(o,i),u=a.revoke,s=a.proxy;return r.k=s,r.j=u,s}(t,n):w("ES5").J(t,n);return(n?n.A:k()).p.push(r),r}function Y(e){return o(e)||r(22,e),function e(t){if(!i(t))return t;var n,r=t[W],o=s(t);if(r){if(!r.P&&(r.i<4||!w("ES5").K(r)))return r.t;r.I=!0,n=I(t,o),r.I=!1}else n=I(t,o);return u(n,(function(t,o){r&&c(r.t,t)===o||f(n,t,e(o))})),3===o?new Set(n):n}(e)}function I(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return y(e)}function Z(){function e(e,t){var n=i[e];return n?n.enumerable=t:i[e]=n={configurable:!0,enumerable:t,get:function(){var t=this[W];return $.get(t,e)},set:function(t){var n=this[W];$.set(n,e,t)}},n}function t(e){for(var t=e.length-1;t>=0;t--){var o=e[t][W];if(!o.P)switch(o.i){case 5:r(o)&&L(o);break;case 4:n(o)&&L(o)}}}function n(e){for(var t=e.t,n=e.k,r=G(n),o=r.length-1;o>=0;o--){var i=r[o];if(i!==W){var a=t[i];if(void 0===a&&!l(t,i))return!0;var u=n[i],s=u&&u[W];if(s?s.t!==a:!d(u,a))return!0}}var c=!!t[W];return r.length!==G(t).length+(c?0:1)}function r(e){var t=e.k;if(t.length!==e.t.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);if(n&&!n.get)return!0;for(var r=0;r1?r-1:0),i=1;i1?r-1:0),i=1;i=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));var i=w("Patches").$;return o(e)?i(e,t):this.produce(e,(function(e){return i(e,t)}))},e}(),ne=new te,re=ne.produce,oe=(ne.produceWithPatches.bind(ne),ne.setAutoFreeze.bind(ne),ne.setUseProxies.bind(ne),ne.applyPatches.bind(ne),ne.createDraft.bind(ne),ne.finishDraft.bind(ne),re),ie=n(74081),ae="NOT_FOUND";var ue=function(e,t){return e===t};function se(e,t){var n,r,o="object"==typeof t?t:{equalityCheck:t},i=o.equalityCheck,a=void 0===i?ue:i,u=o.maxSize,s=void 0===u?1:u,l=o.resultEqualityCheck,c=function(e){return function(t,n){if(null===t||null===n||t.length!==n.length)return!1;for(var r=t.length,o=0;o-1){var o=n[r];return r>0&&(n.splice(r,1),n.unshift(o)),o.value}return ae}return{get:r,put:function(t,o){r(t)===ae&&(n.unshift({key:t,value:o}),n.length>e&&n.pop())},getEntries:function(){return n},clear:function(){n=[]}}}(s,c);function d(){var t=f.get(arguments);if(t===ae){if(t=e.apply(null,arguments),l){var n=f.getEntries().find((function(e){return l(e.value,t)}));n&&(t=n.value)}f.put(arguments,t)}return t}return d.clearCache=function(){return f.clear()},d}function le(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]",value:e};if("object"!=typeof e||null===e)return!1;if(null==i?void 0:i.has(e))return!1;for(var u=null!=r?r(e):Object.entries(e),s=o.length>0,l=function(e,u){var l=t?t+"."+e:e;if(s&&o.some((function(e){return e instanceof RegExp?e.test(l):l===e})))return"continue";return n(u)?"object"==typeof u&&(a=Ne(u,l,n,r,o,i))?{value:a}:void 0:{value:{keyPath:l,value:u}}},c=0,f=u;c-1}function Xe(e){return""+e}function Qe(e){var t,n={},r=[],o={addCase:function(e,t){var r="string"==typeof e?e:e.type;if(r in n)throw new Error("addCase cannot be called with two reducers for the same action type");return n[r]=t,o},addMatcher:function(e,t){return r.push({matcher:e,reducer:t}),o},addDefaultCase:function(e){return t=e,o}};return e(o),[n,r,t]}function ze(e,t,n,r){void 0===n&&(n=[]);var a,u="function"==typeof t?Qe(t):[t,n,r],s=u[0],l=u[1],c=u[2];if(function(e){return"function"==typeof e}(e))a=function(){return Te(e())};else{var f=Te(e);a=function(){return f}}function d(e,t){void 0===e&&(e=a());var n=ge([s[t.type]],l.filter((function(e){return(0,e.matcher)(t)})).map((function(e){return e.reducer})));return 0===n.filter((function(e){return!!e})).length&&(n=[c]),n.reduce((function(e,n){if(n){var r;if(o(e))return void 0===(r=n(e,t))?e:r;if(i(e))return oe(e,(function(e){return n(e,t)}));if(void 0===(r=n(e,t))){if(null===e)return e;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return e}),e)}return d.getInitialState=a,d}function We(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");var n,r="function"==typeof e.initialState?e.initialState:Te(e.initialState),o=e.reducers||{},i=Object.keys(o),a={},u={},s={};function l(){var t="function"==typeof e.extraReducers?Qe(e.extraReducers):[e.extraReducers],n=t[0],o=void 0===n?{}:n,i=t[1],a=void 0===i?[]:i,s=t[2],l=void 0===s?void 0:s,c=Se(Se({},o),u);return ze(r,(function(e){for(var t in c)e.addCase(t,c[t]);for(var n=0,r=a;n0){var i=t.filter((function(t){return function(t,n,r){var o=r.entities[n.id],i=Object.assign({},o,n.changes),a=Ge(i,e),u=a!==n.id;return u&&(t[n.id]=a,delete r.entities[n.id]),r.entities[a]=i,u}(r,t,n)})).length>0;i&&(n.ids=Object.keys(n.entities))}}function a(t,r){var o=Ve(t,e,r),a=o[0];i(o[1],r),n(a,r)}return{removeAll:(u=function(e){Object.assign(e,{ids:[],entities:{}})},s=Ue((function(e,t){return u(t)})),function(e){return s(e,void 0)}),addOne:Ue(t),addMany:Ue(n),setOne:Ue(r),setMany:Ue((function(e,t){for(var n=0,o=e=Ke(e);n-1;return n&&r}function dt(e){return"function"==typeof e[0]&&"pending"in e[0]&&"fulfilled"in e[0]&&"rejected"in e[0]}function pt(){for(var e=[],t=0;t0)for(var d=e.getState(),p=Array.from(n.values()),h=0,g=p;he.length?o.NO_MATCH:e===t?o.CASE_SENSITIVE_EQUAL:(e=e.toLowerCase())===(t=t.toLowerCase())?o.EQUAL:e.startsWith(t)?o.STARTS_WITH:e.includes(` ${t}`)?o.WORD_STARTS_WITH:e.includes(t)?o.CONTAINS:1===t.length?o.NO_MATCH:function(e){let t="";return e.split(" ").forEach((e=>{e.split("-").forEach((e=>{t+=e.substr(0,1)}))})),t}(e).includes(t)?o.ACRONYM:function(e,t){let n=0,r=0;function i(e,t,r){for(let o=r,i=t.length;o-1))return o.NO_MATCH}return a(r-u)}(e,t)}function a(e,t){let{keepDiacritics:n}=t;return e=`${e}`,n||(e=r.removeAccents(e)),e}function u(e,t){let n=t;"object"==typeof t&&(n=t.accessor);const r=n(e);return null==r?[]:Array.isArray(r)?r:[String(r)]}const s={maxRanking:1/0,minRanking:-1/0};function l(e){return"function"==typeof e?s:{...s,...e}}t.compareItems=function(e,t){return e.rank===t.rank?0:e.rank>t.rank?-1:1},t.rankItem=function(e,t,n){var r;if((n=n||{}).threshold=null!=(r=n.threshold)?r:o.MATCHES,!n.accessors){const r=i(e,t,n);return{rankedValue:e,rank:r,accessorIndex:-1,accessorThreshold:n.threshold,passed:r>=n.threshold}}const a=function(e,t){const n=[];for(let r=0,o=t.length;r=o.MATCHES?u=l:u>c&&(u=c),u=Math.min(u,c),u>=f&&u>s.rank&&(s.rank=u,s.passed=!0,s.accessorIndex=e,s.accessorThreshold=f,s.rankedValue=r.itemValue)}return s},t.rankings=o},64864:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",Ấ:"A",Ắ:"A",Ẳ:"A",Ẵ:"A",Ặ:"A",Æ:"AE",Ầ:"A",Ằ:"A",Ȃ:"A",Ç:"C",Ḉ:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ế:"E",Ḗ:"E",Ề:"E",Ḕ:"E",Ḝ:"E",Ȇ:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ḯ:"I",Ȋ:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",Ố:"O",Ṍ:"O",Ṓ:"O",Ȏ:"O",Ù:"U",Ú:"U",Û:"U",Ü:"U",Ý:"Y",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",ấ:"a",ắ:"a",ẳ:"a",ẵ:"a",ặ:"a",æ:"ae",ầ:"a",ằ:"a",ȃ:"a",ç:"c",ḉ:"c",è:"e",é:"e",ê:"e",ë:"e",ế:"e",ḗ:"e",ề:"e",ḕ:"e",ḝ:"e",ȇ:"e",ì:"i",í:"i",î:"i",ï:"i",ḯ:"i",ȋ:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",ố:"o",ṍ:"o",ṓ:"o",ȏ:"o",ù:"u",ú:"u",û:"u",ü:"u",ý:"y",ÿ:"y",Ā:"A",ā:"a",Ă:"A",ă:"a",Ą:"A",ą:"a",Ć:"C",ć:"c",Ĉ:"C",ĉ:"c",Ċ:"C",ċ:"c",Č:"C",č:"c",C̆:"C",c̆:"c",Ď:"D",ď:"d",Đ:"D",đ:"d",Ē:"E",ē:"e",Ĕ:"E",ĕ:"e",Ė:"E",ė:"e",Ę:"E",ę:"e",Ě:"E",ě:"e",Ĝ:"G",Ǵ:"G",ĝ:"g",ǵ:"g",Ğ:"G",ğ:"g",Ġ:"G",ġ:"g",Ģ:"G",ģ:"g",Ĥ:"H",ĥ:"h",Ħ:"H",ħ:"h",Ḫ:"H",ḫ:"h",Ĩ:"I",ĩ:"i",Ī:"I",ī:"i",Ĭ:"I",ĭ:"i",Į:"I",į:"i",İ:"I",ı:"i",IJ:"IJ",ij:"ij",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",Ḱ:"K",ḱ:"k",K̆:"K",k̆:"k",Ĺ:"L",ĺ:"l",Ļ:"L",ļ:"l",Ľ:"L",ľ:"l",Ŀ:"L",ŀ:"l",Ł:"l",ł:"l",Ḿ:"M",ḿ:"m",M̆:"M",m̆:"m",Ń:"N",ń:"n",Ņ:"N",ņ:"n",Ň:"N",ň:"n",ʼn:"n",N̆:"N",n̆:"n",Ō:"O",ō:"o",Ŏ:"O",ŏ:"o",Ő:"O",ő:"o",Œ:"OE",œ:"oe",P̆:"P",p̆:"p",Ŕ:"R",ŕ:"r",Ŗ:"R",ŗ:"r",Ř:"R",ř:"r",R̆:"R",r̆:"r",Ȓ:"R",ȓ:"r",Ś:"S",ś:"s",Ŝ:"S",ŝ:"s",Ş:"S",Ș:"S",ș:"s",ş:"s",Š:"S",š:"s",Ţ:"T",ţ:"t",ț:"t",Ț:"T",Ť:"T",ť:"t",Ŧ:"T",ŧ:"t",T̆:"T",t̆:"t",Ũ:"U",ũ:"u",Ū:"U",ū:"u",Ŭ:"U",ŭ:"u",Ů:"U",ů:"u",Ű:"U",ű:"u",Ų:"U",ų:"u",Ȗ:"U",ȗ:"u",V̆:"V",v̆:"v",Ŵ:"W",ŵ:"w",Ẃ:"W",ẃ:"w",X̆:"X",x̆:"x",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Y̆:"Y",y̆:"y",Ź:"Z",ź:"z",Ż:"Z",ż:"z",Ž:"Z",ž:"z",ſ:"s",ƒ:"f",Ơ:"O",ơ:"o",Ư:"U",ư:"u",Ǎ:"A",ǎ:"a",Ǐ:"I",ǐ:"i",Ǒ:"O",ǒ:"o",Ǔ:"U",ǔ:"u",Ǖ:"U",ǖ:"u",Ǘ:"U",ǘ:"u",Ǚ:"U",ǚ:"u",Ǜ:"U",ǜ:"u",Ứ:"U",ứ:"u",Ṹ:"U",ṹ:"u",Ǻ:"A",ǻ:"a",Ǽ:"AE",ǽ:"ae",Ǿ:"O",ǿ:"o",Þ:"TH",þ:"th",Ṕ:"P",ṕ:"p",Ṥ:"S",ṥ:"s",X́:"X",x́:"x",Ѓ:"Г",ѓ:"г",Ќ:"К",ќ:"к",A̋:"A",a̋:"a",E̋:"E",e̋:"e",I̋:"I",i̋:"i",Ǹ:"N",ǹ:"n",Ồ:"O",ồ:"o",Ṑ:"O",ṑ:"o",Ừ:"U",ừ:"u",Ẁ:"W",ẁ:"w",Ỳ:"Y",ỳ:"y",Ȁ:"A",ȁ:"a",Ȅ:"E",ȅ:"e",Ȉ:"I",ȉ:"i",Ȍ:"O",ȍ:"o",Ȑ:"R",ȑ:"r",Ȕ:"U",ȕ:"u",B̌:"B",b̌:"b",Č̣:"C",č̣:"c",Ê̌:"E",ê̌:"e",F̌:"F",f̌:"f",Ǧ:"G",ǧ:"g",Ȟ:"H",ȟ:"h",J̌:"J",ǰ:"j",Ǩ:"K",ǩ:"k",M̌:"M",m̌:"m",P̌:"P",p̌:"p",Q̌:"Q",q̌:"q",Ř̩:"R",ř̩:"r",Ṧ:"S",ṧ:"s",V̌:"V",v̌:"v",W̌:"W",w̌:"w",X̌:"X",x̌:"x",Y̌:"Y",y̌:"y",A̧:"A",a̧:"a",B̧:"B",b̧:"b",Ḑ:"D",ḑ:"d",Ȩ:"E",ȩ:"e",Ɛ̧:"E",ɛ̧:"e",Ḩ:"H",ḩ:"h",I̧:"I",i̧:"i",Ɨ̧:"I",ɨ̧:"i",M̧:"M",m̧:"m",O̧:"O",o̧:"o",Q̧:"Q",q̧:"q",U̧:"U",u̧:"u",X̧:"X",x̧:"x",Z̧:"Z",z̧:"z"},r=Object.keys(n).join("|"),o=new RegExp(r,"g");t.removeAccents=function(e){return e.replace(o,(e=>n[e]))}},71143:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(48254),o=n(84492);class i extends r.Subscribable{constructor(){super(),this.setup=e=>{if(!o.isServer&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),window.addEventListener("focus",t,!1),()=>{window.removeEventListener("visibilitychange",t),window.removeEventListener("focus",t)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)}setEventListener(e){var t;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()}))}setFocused(e){this.focused!==e&&(this.focused=e,this.onFocus())}onFocus(){this.listeners.forEach((({listener:e})=>{e()}))}isFocused(){return"boolean"==typeof this.focused?this.focused:"undefined"==typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)}}const a=new i;t.FocusManager=i,t.focusManager=a},85246:function(e,t){"use strict";function n(e){return e.state.isPaused}function r(e){return"success"===e.state.status}Object.defineProperty(t,"__esModule",{value:!0}),t.defaultShouldDehydrateMutation=n,t.defaultShouldDehydrateQuery=r,t.dehydrate=function(e,t={}){const o=[],i=[];if(!1!==t.dehydrateMutations){const r=t.shouldDehydrateMutation||n;e.getMutationCache().getAll().forEach((e=>{r(e)&&o.push(function(e){return{mutationKey:e.options.mutationKey,state:e.state}}(e))}))}if(!1!==t.dehydrateQueries){const n=t.shouldDehydrateQuery||r;e.getQueryCache().getAll().forEach((e=>{n(e)&&i.push(function(e){return{state:e.state,queryKey:e.queryKey,queryHash:e.queryHash}}(e))}))}return{mutations:o,queries:i}},t.hydrate=function(e,t,n){if("object"!=typeof t||null===t)return;const r=e.getMutationCache(),o=e.getQueryCache(),i=t.mutations||[],a=t.queries||[];i.forEach((t=>{var o;r.build(e,{...null==n||null==(o=n.defaultOptions)?void 0:o.mutations,mutationKey:t.mutationKey},t.state)})),a.forEach((t=>{var r;const i=o.get(t.queryHash),a={...t.state,fetchStatus:"idle"};i?i.state.dataUpdatedAt{e.fetchFn=()=>{var t,o,i,a,u,s;const l=null==(t=e.fetchOptions)||null==(o=t.meta)?void 0:o.refetchPage,c=null==(i=e.fetchOptions)||null==(a=i.meta)?void 0:a.fetchMore,f=null==c?void 0:c.pageParam,d="forward"===(null==c?void 0:c.direction),p="backward"===(null==c?void 0:c.direction),h=(null==(u=e.state.data)?void 0:u.pages)||[],g=(null==(s=e.state.data)?void 0:s.pageParams)||[];let y=g,m=!1;const b=e.options.queryFn||(()=>Promise.reject("Missing queryFn for queryKey '"+e.options.queryHash+"'")),v=(e,t,n,r)=>(y=r?[t,...y]:[...y,t],r?[n,...e]:[...e,n]),w=(t,n,r,o)=>{if(m)return Promise.reject("Cancelled");if(void 0===r&&!n&&t.length)return Promise.resolve(t);const i={queryKey:e.queryKey,pageParam:r,meta:e.options.meta};var a;a=i,Object.defineProperty(a,"signal",{enumerable:!0,get:()=>{var t,n;return null!=(t=e.signal)&&t.aborted?m=!0:null==(n=e.signal)||n.addEventListener("abort",(()=>{m=!0})),e.signal}});const u=b(i);return Promise.resolve(u).then((e=>v(t,r,e,o)))};let x;if(h.length)if(d){const t=void 0!==f,r=t?f:n(e.options,h);x=w(h,t,r)}else if(p){const t=void 0!==f,n=t?f:r(e.options,h);x=w(h,t,n,!0)}else{y=[];const t=void 0===e.options.getNextPageParam;x=!l||!h[0]||l(h[0],0,h)?w([],t,g[0]):Promise.resolve(v([],g[0],h[0]));for(let r=1;r{if(!l||!h[r]||l(h[r],r,h)){const i=t?g[r]:n(e.options,o);return w(o,t,i)}return Promise.resolve(v(o,g[r],h[r]))}))}else x=w([]);return x.then((e=>({pages:e,pageParams:y})))}}}}},56784:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(22849),o=n(71415);class i extends r.QueryObserver{constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e,t){super.setOptions({...e,behavior:o.infiniteQueryBehavior()},t)}getOptimisticResult(e){return e.behavior=o.infiniteQueryBehavior(),super.getOptimisticResult(e)}fetchNextPage({pageParam:e,...t}={}){return this.fetch({...t,meta:{fetchMore:{direction:"forward",pageParam:e}}})}fetchPreviousPage({pageParam:e,...t}={}){return this.fetch({...t,meta:{fetchMore:{direction:"backward",pageParam:e}}})}createResult(e,t){var n,r,i,a,u,s;const{state:l}=e,c=super.createResult(e,t),{isFetching:f,isRefetching:d}=c,p=f&&"forward"===(null==(n=l.fetchMeta)||null==(r=n.fetchMore)?void 0:r.direction),h=f&&"backward"===(null==(i=l.fetchMeta)||null==(a=i.fetchMore)?void 0:a.direction);return{...c,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:o.hasNextPage(t,null==(u=l.data)?void 0:u.pages),hasPreviousPage:o.hasPreviousPage(t,null==(s=l.data)?void 0:s.pages),isFetchingNextPage:p,isFetchingPreviousPage:h,isRefetching:d&&!p&&!h}}}t.InfiniteQueryObserver=i},46727:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=console;t.defaultLogger=n},58968:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(46727),o=n(73349),i=n(39849),a=n(12268);class u extends i.Removable{constructor(e){super(),this.defaultOptions=e.defaultOptions,this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.logger=e.logger||r.defaultLogger,this.observers=[],this.state=e.state||s(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options={...this.defaultOptions,...e},this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(e){this.dispatch({type:"setState",state:e})}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.observers=this.observers.filter((t=>t!==e)),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.observers.length||("loading"===this.state.status?this.scheduleGc():this.mutationCache.remove(this))}continue(){var e,t;return null!=(e=null==(t=this.retryer)?void 0:t.continue())?e:this.execute()}async execute(){const e=()=>{var e;return this.retryer=a.createRetryer({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(e,t)=>{this.dispatch({type:"failed",failureCount:e,error:t})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:null!=(e=this.options.retry)?e:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},t="loading"===this.state.status;try{var n,r,o,i,u,s,l,c;if(!t){var f,d,p,h;this.dispatch({type:"loading",variables:this.options.variables}),await(null==(f=(d=this.mutationCache.config).onMutate)?void 0:f.call(d,this.state.variables,this));const e=await(null==(p=(h=this.options).onMutate)?void 0:p.call(h,this.state.variables));e!==this.state.context&&this.dispatch({type:"loading",context:e,variables:this.state.variables})}const a=await e();return await(null==(n=(r=this.mutationCache.config).onSuccess)?void 0:n.call(r,a,this.state.variables,this.state.context,this)),await(null==(o=(i=this.options).onSuccess)?void 0:o.call(i,a,this.state.variables,this.state.context)),await(null==(u=(s=this.mutationCache.config).onSettled)?void 0:u.call(s,a,null,this.state.variables,this.state.context,this)),await(null==(l=(c=this.options).onSettled)?void 0:l.call(c,a,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:a}),a}catch(e){try{var g,y,m,b,v,w,x,k;throw await(null==(g=(y=this.mutationCache.config).onError)?void 0:g.call(y,e,this.state.variables,this.state.context,this)),await(null==(m=(b=this.options).onError)?void 0:m.call(b,e,this.state.variables,this.state.context)),await(null==(v=(w=this.mutationCache.config).onSettled)?void 0:v.call(w,void 0,e,this.state.variables,this.state.context,this)),await(null==(x=(k=this.options).onSettled)?void 0:x.call(k,void 0,e,this.state.variables,this.state.context)),e}finally{this.dispatch({type:"error",error:e})}}}dispatch(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"loading":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!a.canFetch(this.options.networkMode),status:"loading",variables:e.variables};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"};case"setState":return{...t,...e.state}}})(this.state),o.notifyManager.batch((()=>{this.observers.forEach((t=>{t.onMutationUpdate(e)})),this.mutationCache.notify({mutation:this,type:"updated",action:e})}))}}function s(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0}}t.Mutation=u,t.getDefaultState=s},18684:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(73349),o=n(58968),i=n(84492),a=n(48254);class u extends a.Subscribable{constructor(e){super(),this.config=e||{},this.mutations=[],this.mutationId=0}build(e,t,n){const r=new o.Mutation({mutationCache:this,logger:e.getLogger(),mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:n,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0});return this.add(r),r}add(e){this.mutations.push(e),this.notify({type:"added",mutation:e})}remove(e){this.mutations=this.mutations.filter((t=>t!==e)),this.notify({type:"removed",mutation:e})}clear(){r.notifyManager.batch((()=>{this.mutations.forEach((e=>{this.remove(e)}))}))}getAll(){return this.mutations}find(e){return void 0===e.exact&&(e.exact=!0),this.mutations.find((t=>i.matchMutation(e,t)))}findAll(e){return this.mutations.filter((t=>i.matchMutation(e,t)))}notify(e){r.notifyManager.batch((()=>{this.listeners.forEach((({listener:t})=>{t(e)}))}))}resumePausedMutations(){var e;return this.resuming=(null!=(e=this.resuming)?e:Promise.resolve()).then((()=>{const e=this.mutations.filter((e=>e.state.isPaused));return r.notifyManager.batch((()=>e.reduce(((e,t)=>e.then((()=>t.continue().catch(i.noop)))),Promise.resolve())))})).then((()=>{this.resuming=void 0})),this.resuming}}t.MutationCache=u},28442:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(58968),o=n(73349),i=n(48254),a=n(84492);class u extends i.Subscribable{constructor(e,t){super(),this.client=e,this.setOptions(t),this.bindMethods(),this.updateResult()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){var t;const n=this.options;this.options=this.client.defaultMutationOptions(e),a.shallowEqualObjects(n,this.options)||this.client.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.currentMutation,observer:this}),null==(t=this.currentMutation)||t.setOptions(this.options)}onUnsubscribe(){var e;this.hasListeners()||(null==(e=this.currentMutation)||e.removeObserver(this))}onMutationUpdate(e){this.updateResult();const t={listeners:!0};"success"===e.type?t.onSuccess=!0:"error"===e.type&&(t.onError=!0),this.notify(t)}getCurrentResult(){return this.currentResult}reset(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})}mutate(e,t){return this.mutateOptions=t,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,{...this.options,variables:void 0!==e?e:this.options.variables}),this.currentMutation.addObserver(this),this.currentMutation.execute()}updateResult(){const e=this.currentMutation?this.currentMutation.state:r.getDefaultState(),t={...e,isLoading:"loading"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset};this.currentResult=t}notify(e){o.notifyManager.batch((()=>{var t,n,r,o;if(this.mutateOptions&&this.hasListeners())if(e.onSuccess)null==(t=(n=this.mutateOptions).onSuccess)||t.call(n,this.currentResult.data,this.currentResult.variables,this.currentResult.context),null==(r=(o=this.mutateOptions).onSettled)||r.call(o,this.currentResult.data,null,this.currentResult.variables,this.currentResult.context);else if(e.onError){var i,a,u,s;null==(i=(a=this.mutateOptions).onError)||i.call(a,this.currentResult.error,this.currentResult.variables,this.currentResult.context),null==(u=(s=this.mutateOptions).onSettled)||u.call(s,void 0,this.currentResult.error,this.currentResult.variables,this.currentResult.context)}e.listeners&&this.listeners.forEach((({listener:e})=>{e(this.currentResult)}))}))}}t.MutationObserver=u},73349:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(84492);function o(){let e=[],t=0,n=e=>{e()},o=e=>{e()};const i=o=>{t?e.push(o):r.scheduleMicrotask((()=>{n(o)}))},a=()=>{const t=e;e=[],t.length&&r.scheduleMicrotask((()=>{o((()=>{t.forEach((e=>{n(e)}))}))}))};return{batch:e=>{let n;t++;try{n=e()}finally{t--,t||a()}return n},batchCalls:e=>(...t)=>{i((()=>{e(...t)}))},schedule:i,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{o=e}}}const i=o();t.createNotifyManager=o,t.notifyManager=i},59357:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(48254),o=n(84492);const i=["online","offline"];class a extends r.Subscribable{constructor(){super(),this.setup=e=>{if(!o.isServer&&window.addEventListener){const t=()=>e();return i.forEach((e=>{window.addEventListener(e,t,!1)})),()=>{i.forEach((e=>{window.removeEventListener(e,t)}))}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)}setEventListener(e){var t;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((e=>{"boolean"==typeof e?this.setOnline(e):this.onOnline()}))}setOnline(e){this.online!==e&&(this.online=e,this.onOnline())}onOnline(){this.listeners.forEach((({listener:e})=>{e()}))}isOnline(){return"boolean"==typeof this.online?this.online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine}}const u=new a;t.OnlineManager=a,t.onlineManager=u},74844:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(84492),o=n(73349),i=n(22849),a=n(48254);class u extends a.Subscribable{constructor(e,t){super(),this.client=e,this.queries=[],this.result=[],this.observers=[],this.observersMap={},t&&this.setQueries(t)}onSubscribe(){1===this.listeners.size&&this.observers.forEach((e=>{e.subscribe((t=>{this.onUpdate(e,t)}))}))}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,this.observers.forEach((e=>{e.destroy()}))}setQueries(e,t){this.queries=e,o.notifyManager.batch((()=>{const e=this.observers,n=this.findMatchingObservers(this.queries);n.forEach((e=>e.observer.setOptions(e.defaultedQueryOptions,t)));const o=n.map((e=>e.observer)),i=Object.fromEntries(o.map((e=>[e.options.queryHash,e]))),a=o.map((e=>e.getCurrentResult())),u=o.some(((t,n)=>t!==e[n]));(e.length!==o.length||u)&&(this.observers=o,this.observersMap=i,this.result=a,this.hasListeners()&&(r.difference(e,o).forEach((e=>{e.destroy()})),r.difference(o,e).forEach((e=>{e.subscribe((t=>{this.onUpdate(e,t)}))})),this.notify()))}))}getCurrentResult(){return this.result}getQueries(){return this.observers.map((e=>e.getCurrentQuery()))}getObservers(){return this.observers}getOptimisticResult(e){return this.findMatchingObservers(e).map((e=>e.observer.getOptimisticResult(e.defaultedQueryOptions)))}findMatchingObservers(e){const t=this.observers,n=new Map(t.map((e=>[e.options.queryHash,e]))),r=e.map((e=>this.client.defaultQueryOptions(e))),o=r.flatMap((e=>{const t=n.get(e.queryHash);return null!=t?[{defaultedQueryOptions:e,observer:t}]:[]})),a=new Set(o.map((e=>e.defaultedQueryOptions.queryHash))),u=r.filter((e=>!a.has(e.queryHash))),s=new Set(o.map((e=>e.observer))),l=t.filter((e=>!s.has(e))),c=e=>{const t=this.client.defaultQueryOptions(e),n=this.observersMap[t.queryHash];return null!=n?n:new i.QueryObserver(this.client,t)},f=u.map(((e,t)=>{if(e.keepPreviousData){const n=l[t];if(void 0!==n)return{defaultedQueryOptions:e,observer:n}}return{defaultedQueryOptions:e,observer:c(e)}}));return o.concat(f).sort(((e,t)=>r.indexOf(e.defaultedQueryOptions)-r.indexOf(t.defaultedQueryOptions)))}onUpdate(e,t){const n=this.observers.indexOf(e);-1!==n&&(this.result=r.replaceAt(this.result,n,t),this.notify())}notify(){o.notifyManager.batch((()=>{this.listeners.forEach((({listener:e})=>{e(this.result)}))}))}}t.QueriesObserver=u},54728:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(84492),o=n(46727),i=n(73349),a=n(12268),u=n(39849);class s extends u.Removable{constructor(e){super(),this.abortSignalConsumed=!1,this.defaultOptions=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.cache=e.cache,this.logger=e.logger||o.defaultLogger,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.initialState=e.state||function(e){const t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==t,r=n?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?null!=r?r:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"loading",fetchStatus:"idle"}}(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(e){this.options={...this.defaultOptions,...e},this.updateCacheTime(this.options.cacheTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.cache.remove(this)}setData(e,t){const n=r.replaceData(this.state.data,e,this.options);return this.dispatch({data:n,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt,manual:null==t?void 0:t.manual}),n}setState(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})}cancel(e){var t;const n=this.promise;return null==(t=this.retryer)||t.cancel(e),n?n.then(r.noop).catch(r.noop):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some((e=>!1!==e.options.enabled))}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some((e=>e.getCurrentResult().isStale))}isStaleByTime(e=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!r.timeUntilStale(this.state.dataUpdatedAt,e)}onFocus(){var e;const t=this.observers.find((e=>e.shouldFetchOnWindowFocus()));t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}onOnline(){var e;const t=this.observers.find((e=>e.shouldFetchOnReconnect()));t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter((t=>t!==e)),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(e,t){var n,o;if("idle"!==this.state.fetchStatus)if(this.state.dataUpdatedAt&&null!=t&&t.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var i;return null==(i=this.retryer)||i.continueRetry(),this.promise}if(e&&this.setOptions(e),!this.options.queryFn){const e=this.observers.find((e=>e.options.queryFn));e&&this.setOptions(e.options)}Array.isArray(this.options.queryKey);const u=r.getAbortController(),s={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},l=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>{if(u)return this.abortSignalConsumed=!0,u.signal}})};l(s);const c={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(s)):Promise.reject("Missing queryFn for queryKey '"+this.options.queryHash+"'")};var f;(l(c),null==(n=this.options.behavior)||n.onFetch(c),this.revertState=this.state,"idle"===this.state.fetchStatus||this.state.fetchMeta!==(null==(o=c.fetchOptions)?void 0:o.meta))&&this.dispatch({type:"fetch",meta:null==(f=c.fetchOptions)?void 0:f.meta});const d=e=>{var t,n,r,o;(a.isCancelledError(e)&&e.silent||this.dispatch({type:"error",error:e}),a.isCancelledError(e))||(null==(t=(n=this.cache.config).onError)||t.call(n,e,this),null==(r=(o=this.cache.config).onSettled)||r.call(o,this.state.data,e,this));this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=a.createRetryer({fn:c.fetchFn,abort:null==u?void 0:u.abort.bind(u),onSuccess:e=>{var t,n,r,o;void 0!==e?(this.setData(e),null==(t=(n=this.cache.config).onSuccess)||t.call(n,e,this),null==(r=(o=this.cache.config).onSettled)||r.call(o,e,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1):d(new Error(this.queryHash+" data is undefined"))},onError:d,onFail:(e,t)=>{this.dispatch({type:"failed",failureCount:e,error:t})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:c.options.retry,retryDelay:c.options.retryDelay,networkMode:c.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(e){this.state=(t=>{var n,r;switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null!=(n=e.meta)?n:null,fetchStatus:a.canFetch(this.options.networkMode)?"fetching":"paused",...!t.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:null!=(r=e.dataUpdatedAt)?r:Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const o=e.error;return a.isCancelledError(o)&&o.revert&&this.revertState?{...this.revertState}:{...t,error:o,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),i.notifyManager.batch((()=>{this.observers.forEach((t=>{t.onQueryUpdate(e)})),this.cache.notify({query:this,type:"updated",action:e})}))}}t.Query=s},5416:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(84492),o=n(54728),i=n(73349),a=n(48254);class u extends a.Subscribable{constructor(e){super(),this.config=e||{},this.queries=[],this.queriesMap={}}build(e,t,n){var i;const a=t.queryKey,u=null!=(i=t.queryHash)?i:r.hashQueryKeyByOptions(a,t);let s=this.get(u);return s||(s=new o.Query({cache:this,logger:e.getLogger(),queryKey:a,queryHash:u,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(a)}),this.add(s)),s}add(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"added",query:e}))}remove(e){const t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter((t=>t!==e)),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"removed",query:e}))}clear(){i.notifyManager.batch((()=>{this.queries.forEach((e=>{this.remove(e)}))}))}get(e){return this.queriesMap[e]}getAll(){return this.queries}find(e,t){const[n]=r.parseFilterArgs(e,t);return void 0===n.exact&&(n.exact=!0),this.queries.find((e=>r.matchQuery(n,e)))}findAll(e,t){const[n]=r.parseFilterArgs(e,t);return Object.keys(n).length>0?this.queries.filter((e=>r.matchQuery(n,e))):this.queries}notify(e){i.notifyManager.batch((()=>{this.listeners.forEach((({listener:t})=>{t(e)}))}))}onFocus(){i.notifyManager.batch((()=>{this.queries.forEach((e=>{e.onFocus()}))}))}onOnline(){i.notifyManager.batch((()=>{this.queries.forEach((e=>{e.onOnline()}))}))}}t.QueryCache=u},3170:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(84492),o=n(5416),i=n(18684),a=n(71143),u=n(59357),s=n(73349),l=n(71415),c=n(46727);t.QueryClient=class{constructor(e={}){this.queryCache=e.queryCache||new o.QueryCache,this.mutationCache=e.mutationCache||new i.MutationCache,this.logger=e.logger||c.defaultLogger,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0}mount(){this.mountCount++,1===this.mountCount&&(this.unsubscribeFocus=a.focusManager.subscribe((()=>{a.focusManager.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())})),this.unsubscribeOnline=u.onlineManager.subscribe((()=>{u.onlineManager.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())})))}unmount(){var e,t;this.mountCount--,0===this.mountCount&&(null==(e=this.unsubscribeFocus)||e.call(this),this.unsubscribeFocus=void 0,null==(t=this.unsubscribeOnline)||t.call(this),this.unsubscribeOnline=void 0)}isFetching(e,t){const[n]=r.parseFilterArgs(e,t);return n.fetchStatus="fetching",this.queryCache.findAll(n).length}isMutating(e){return this.mutationCache.findAll({...e,fetching:!0}).length}getQueryData(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state.data}ensureQueryData(e,t,n){const o=r.parseQueryArgs(e,t,n),i=this.getQueryData(o.queryKey);return i?Promise.resolve(i):this.fetchQuery(o)}getQueriesData(e){return this.getQueryCache().findAll(e).map((({queryKey:e,state:t})=>[e,t.data]))}setQueryData(e,t,n){const o=this.queryCache.find(e),i=null==o?void 0:o.state.data,a=r.functionalUpdate(t,i);if(void 0===a)return;const u=r.parseQueryArgs(e),s=this.defaultQueryOptions(u);return this.queryCache.build(this,s).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return s.notifyManager.batch((()=>this.getQueryCache().findAll(e).map((({queryKey:e})=>[e,this.setQueryData(e,t,n)]))))}getQueryState(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state}removeQueries(e,t){const[n]=r.parseFilterArgs(e,t),o=this.queryCache;s.notifyManager.batch((()=>{o.findAll(n).forEach((e=>{o.remove(e)}))}))}resetQueries(e,t,n){const[o,i]=r.parseFilterArgs(e,t,n),a=this.queryCache,u={type:"active",...o};return s.notifyManager.batch((()=>(a.findAll(o).forEach((e=>{e.reset()})),this.refetchQueries(u,i))))}cancelQueries(e,t,n){const[o,i={}]=r.parseFilterArgs(e,t,n);void 0===i.revert&&(i.revert=!0);const a=s.notifyManager.batch((()=>this.queryCache.findAll(o).map((e=>e.cancel(i)))));return Promise.all(a).then(r.noop).catch(r.noop)}invalidateQueries(e,t,n){const[o,i]=r.parseFilterArgs(e,t,n);return s.notifyManager.batch((()=>{var e,t;if(this.queryCache.findAll(o).forEach((e=>{e.invalidate()})),"none"===o.refetchType)return Promise.resolve();const n={...o,type:null!=(e=null!=(t=o.refetchType)?t:o.type)?e:"active"};return this.refetchQueries(n,i)}))}refetchQueries(e,t,n){const[o,i]=r.parseFilterArgs(e,t,n),a=s.notifyManager.batch((()=>this.queryCache.findAll(o).filter((e=>!e.isDisabled())).map((e=>{var t;return e.fetch(void 0,{...i,cancelRefetch:null==(t=null==i?void 0:i.cancelRefetch)||t,meta:{refetchPage:o.refetchPage}})}))));let u=Promise.all(a).then(r.noop);return null!=i&&i.throwOnError||(u=u.catch(r.noop)),u}fetchQuery(e,t,n){const o=r.parseQueryArgs(e,t,n),i=this.defaultQueryOptions(o);void 0===i.retry&&(i.retry=!1);const a=this.queryCache.build(this,i);return a.isStaleByTime(i.staleTime)?a.fetch(i):Promise.resolve(a.state.data)}prefetchQuery(e,t,n){return this.fetchQuery(e,t,n).then(r.noop).catch(r.noop)}fetchInfiniteQuery(e,t,n){const o=r.parseQueryArgs(e,t,n);return o.behavior=l.infiniteQueryBehavior(),this.fetchQuery(o)}prefetchInfiniteQuery(e,t,n){return this.fetchInfiniteQuery(e,t,n).then(r.noop).catch(r.noop)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(e){this.defaultOptions=e}setQueryDefaults(e,t){const n=this.queryDefaults.find((t=>r.hashQueryKey(e)===r.hashQueryKey(t.queryKey)));n?n.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})}getQueryDefaults(e){if(!e)return;const t=this.queryDefaults.find((t=>r.partialMatchKey(e,t.queryKey)));return null==t?void 0:t.defaultOptions}setMutationDefaults(e,t){const n=this.mutationDefaults.find((t=>r.hashQueryKey(e)===r.hashQueryKey(t.mutationKey)));n?n.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})}getMutationDefaults(e){if(!e)return;const t=this.mutationDefaults.find((t=>r.partialMatchKey(e,t.mutationKey)));return null==t?void 0:t.defaultOptions}defaultQueryOptions(e){if(null!=e&&e._defaulted)return e;const t={...this.defaultOptions.queries,...this.getQueryDefaults(null==e?void 0:e.queryKey),...e,_defaulted:!0};return!t.queryHash&&t.queryKey&&(t.queryHash=r.hashQueryKeyByOptions(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.useErrorBoundary&&(t.useErrorBoundary=!!t.suspense),t}defaultMutationOptions(e){return null!=e&&e._defaulted?e:{...this.defaultOptions.mutations,...this.getMutationDefaults(null==e?void 0:e.mutationKey),...e,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}}},22849:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(84492),o=n(73349),i=n(71143),a=n(48254),u=n(12268);class s extends a.Subscribable{constructor(e,t){super(),this.client=e,this.options=t,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(t)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.currentQuery.addObserver(this),l(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return c(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return c(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(e,t){const n=this.options,o=this.currentQuery;if(this.options=this.client.defaultQueryOptions(e),r.shallowEqualObjects(n,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=n.queryKey),this.updateQuery();const i=this.hasListeners();i&&f(this.currentQuery,o,this.options,n)&&this.executeFetch(),this.updateResult(t),!i||this.currentQuery===o&&this.options.enabled===n.enabled&&this.options.staleTime===n.staleTime||this.updateStaleTimeout();const a=this.computeRefetchInterval();!i||this.currentQuery===o&&this.options.enabled===n.enabled&&a===this.currentRefetchInterval||this.updateRefetchInterval(a)}getOptimisticResult(e){const t=this.client.getQueryCache().build(this.client,e),n=this.createResult(t,e);return function(e,t,n){if(n.keepPreviousData)return!1;if(void 0!==n.placeholderData)return t.isPlaceholderData;if(!r.shallowEqualObjects(e.getCurrentResult(),t))return!0;return!1}(this,n,e)&&(this.currentResult=n,this.currentResultOptions=this.options,this.currentResultState=this.currentQuery.state),n}getCurrentResult(){return this.currentResult}trackResult(e){const t={};return Object.keys(e).forEach((n=>{Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(n),e[n])})})),t}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch({refetchPage:e,...t}={}){return this.fetch({...t,meta:{refetchPage:e}})}fetchOptimistic(e){const t=this.client.defaultQueryOptions(e),n=this.client.getQueryCache().build(this.client,t);return n.isFetchingOptimistic=!0,n.fetch().then((()=>this.createResult(n,t)))}fetch(e){var t;return this.executeFetch({...e,cancelRefetch:null==(t=e.cancelRefetch)||t}).then((()=>(this.updateResult(),this.currentResult)))}executeFetch(e){this.updateQuery();let t=this.currentQuery.fetch(this.options,e);return null!=e&&e.throwOnError||(t=t.catch(r.noop)),t}updateStaleTimeout(){if(this.clearStaleTimeout(),r.isServer||this.currentResult.isStale||!r.isValidTimeout(this.options.staleTime))return;const e=r.timeUntilStale(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout((()=>{this.currentResult.isStale||this.updateResult()}),e)}computeRefetchInterval(){var e;return"function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(e=this.options.refetchInterval)&&e}updateRefetchInterval(e){this.clearRefetchInterval(),this.currentRefetchInterval=e,!r.isServer&&!1!==this.options.enabled&&r.isValidTimeout(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval((()=>{(this.options.refetchIntervalInBackground||i.focusManager.isFocused())&&this.executeFetch()}),this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(e,t){const n=this.currentQuery,o=this.options,i=this.currentResult,a=this.currentResultState,s=this.currentResultOptions,c=e!==n,p=c?e.state:this.currentQueryInitialState,h=c?this.currentResult:this.previousQueryResult,{state:g}=e;let y,{dataUpdatedAt:m,error:b,errorUpdatedAt:v,fetchStatus:w,status:x}=g,k=!1,S=!1;if(t._optimisticResults){const r=this.hasListeners(),i=!r&&l(e,t),a=r&&f(e,n,t,o);(i||a)&&(w=u.canFetch(e.options.networkMode)?"fetching":"paused",m||(x="loading")),"isRestoring"===t._optimisticResults&&(w="idle")}if(t.keepPreviousData&&!g.dataUpdatedAt&&null!=h&&h.isSuccess&&"error"!==x)y=h.data,m=h.dataUpdatedAt,x=h.status,k=!0;else if(t.select&&void 0!==g.data)if(i&&g.data===(null==a?void 0:a.data)&&t.select===this.selectFn)y=this.selectResult;else try{this.selectFn=t.select,y=t.select(g.data),y=r.replaceData(null==i?void 0:i.data,y,t),this.selectResult=y,this.selectError=null}catch(e){0,this.selectError=e}else y=g.data;if(void 0!==t.placeholderData&&void 0===y&&"loading"===x){let e;if(null!=i&&i.isPlaceholderData&&t.placeholderData===(null==s?void 0:s.placeholderData))e=i.data;else if(e="function"==typeof t.placeholderData?t.placeholderData():t.placeholderData,t.select&&void 0!==e)try{e=t.select(e),this.selectError=null}catch(e){0,this.selectError=e}void 0!==e&&(x="success",y=r.replaceData(null==i?void 0:i.data,e,t),S=!0)}this.selectError&&(b=this.selectError,y=this.selectResult,v=Date.now(),x="error");const j="fetching"===w,O="loading"===x,E="error"===x;return{status:x,fetchStatus:w,isLoading:O,isSuccess:"success"===x,isError:E,isInitialLoading:O&&j,data:y,dataUpdatedAt:m,error:b,errorUpdatedAt:v,failureCount:g.fetchFailureCount,failureReason:g.fetchFailureReason,errorUpdateCount:g.errorUpdateCount,isFetched:g.dataUpdateCount>0||g.errorUpdateCount>0,isFetchedAfterMount:g.dataUpdateCount>p.dataUpdateCount||g.errorUpdateCount>p.errorUpdateCount,isFetching:j,isRefetching:j&&!O,isLoadingError:E&&0===g.dataUpdatedAt,isPaused:"paused"===w,isPlaceholderData:S,isPreviousData:k,isRefetchError:E&&0!==g.dataUpdatedAt,isStale:d(e,t),refetch:this.refetch,remove:this.remove}}updateResult(e){const t=this.currentResult,n=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,r.shallowEqualObjects(n,t))return;this.currentResult=n;const o={cache:!0};!1!==(null==e?void 0:e.listeners)&&(()=>{if(!t)return!0;const{notifyOnChangeProps:e}=this.options,n="function"==typeof e?e():e;if("all"===n||!n&&!this.trackedProps.size)return!0;const r=new Set(null!=n?n:this.trackedProps);return this.options.useErrorBoundary&&r.add("error"),Object.keys(this.currentResult).some((e=>{const n=e;return this.currentResult[n]!==t[n]&&r.has(n)}))})()&&(o.listeners=!0),this.notify({...o,...e})}updateQuery(){const e=this.client.getQueryCache().build(this.client,this.options);if(e===this.currentQuery)return;const t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}onQueryUpdate(e){const t={};"success"===e.type?t.onSuccess=!e.manual:"error"!==e.type||u.isCancelledError(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()}notify(e){o.notifyManager.batch((()=>{var t,n,r,o;if(e.onSuccess)null==(t=(n=this.options).onSuccess)||t.call(n,this.currentResult.data),null==(r=(o=this.options).onSettled)||r.call(o,this.currentResult.data,null);else if(e.onError){var i,a,u,s;null==(i=(a=this.options).onError)||i.call(a,this.currentResult.error),null==(u=(s=this.options).onSettled)||u.call(s,void 0,this.currentResult.error)}e.listeners&&this.listeners.forEach((({listener:e})=>{e(this.currentResult)})),e.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})}))}}function l(e,t){return function(e,t){return!(!1===t.enabled||e.state.dataUpdatedAt||"error"===e.state.status&&!1===t.retryOnMount)}(e,t)||e.state.dataUpdatedAt>0&&c(e,t,t.refetchOnMount)}function c(e,t,n){if(!1!==t.enabled){const r="function"==typeof n?n(e):n;return"always"===r||!1!==r&&d(e,t)}return!1}function f(e,t,n,r){return!1!==n.enabled&&(e!==t||!1===r.enabled)&&(!n.suspense||"error"!==e.state.status)&&d(e,n)}function d(e,t){return e.isStaleByTime(t.staleTime)}t.QueryObserver=s},39849:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(84492);t.Removable=class{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),r.isValidTimeout(this.cacheTime)&&(this.gcTimeout=setTimeout((()=>{this.optionalRemove()}),this.cacheTime))}updateCacheTime(e){this.cacheTime=Math.max(this.cacheTime||0,null!=e?e:r.isServer?1/0:3e5)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}},12268:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(71143),o=n(59357),i=n(84492);function a(e){return Math.min(1e3*2**e,3e4)}function u(e){return"online"!==(null!=e?e:"online")||o.onlineManager.isOnline()}class s{constructor(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent}}t.CancelledError=s,t.canFetch=u,t.createRetryer=function(e){let t,n,l,c=!1,f=0,d=!1;const p=new Promise(((e,t)=>{n=e,l=t})),h=()=>!r.focusManager.isFocused()||"always"!==e.networkMode&&!o.onlineManager.isOnline(),g=r=>{d||(d=!0,null==e.onSuccess||e.onSuccess(r),null==t||t(),n(r))},y=n=>{d||(d=!0,null==e.onError||e.onError(n),null==t||t(),l(n))},m=()=>new Promise((n=>{t=e=>{const t=d||!h();return t&&n(e),t},null==e.onPause||e.onPause()})).then((()=>{t=void 0,d||null==e.onContinue||e.onContinue()})),b=()=>{if(d)return;let t;try{t=e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(g).catch((t=>{var n,r;if(d)return;const o=null!=(n=e.retry)?n:3,u=null!=(r=e.retryDelay)?r:a,s="function"==typeof u?u(f,t):u,l=!0===o||"number"==typeof o&&f{if(h())return m()})).then((()=>{c?y(t):b()}))):y(t)}))};return u(e.networkMode)?b():m().then(b),{promise:p,cancel:t=>{d||(y(new s(t)),null==e.abort||e.abort())},continue:()=>(null==t?void 0:t())?p:Promise.resolve(),cancelRetry:()=>{c=!0},continueRetry:()=>{c=!1}}},t.isCancelledError=function(e){return e instanceof s}},48254:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.Subscribable=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){const t={listener:e};return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}},84492:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n="undefined"==typeof window||"Deno"in window;function r(e,t){return((null==t?void 0:t.queryKeyHashFn)||o)(e)}function o(e){return JSON.stringify(e,((e,t)=>l(t)?Object.keys(t).sort().reduce(((e,n)=>(e[n]=t[n],e)),{}):t))}function i(e,t){return a(e,t)}function a(e,t){return e===t||typeof e==typeof t&&(!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&!Object.keys(t).some((n=>!a(e[n],t[n]))))}function u(e,t){if(e===t)return e;const n=s(e)&&s(t);if(n||l(e)&&l(t)){const r=n?e.length:Object.keys(e).length,o=n?t:Object.keys(t),i=o.length,a=n?[]:{};let s=0;for(let r=0;r{setTimeout(t,e)}))}t.difference=function(e,t){return e.filter((e=>!t.includes(e)))},t.functionalUpdate=function(e,t){return"function"==typeof e?e(t):e},t.getAbortController=function(){if("function"==typeof AbortController)return new AbortController},t.hashQueryKey=o,t.hashQueryKeyByOptions=r,t.isError=function(e){return e instanceof Error},t.isPlainArray=s,t.isPlainObject=l,t.isQueryKey=f,t.isServer=n,t.isValidTimeout=function(e){return"number"==typeof e&&e>=0&&e!==1/0},t.matchMutation=function(e,t){const{exact:n,fetching:r,predicate:a,mutationKey:u}=e;if(f(u)){if(!t.options.mutationKey)return!1;if(n){if(o(t.options.mutationKey)!==o(u))return!1}else if(!i(t.options.mutationKey,u))return!1}return("boolean"!=typeof r||"loading"===t.state.status===r)&&!(a&&!a(t))},t.matchQuery=function(e,t){const{type:n="all",exact:o,fetchStatus:a,predicate:u,queryKey:s,stale:l}=e;if(f(s))if(o){if(t.queryHash!==r(s,t.options))return!1}else if(!i(t.queryKey,s))return!1;if("all"!==n){const e=t.isActive();if("active"===n&&!e)return!1;if("inactive"===n&&e)return!1}return("boolean"!=typeof l||t.isStale()===l)&&((void 0===a||a===t.state.fetchStatus)&&!(u&&!u(t)))},t.noop=function(){},t.parseFilterArgs=function(e,t,n){return f(e)?[{...t,queryKey:e},n]:[e||{},t]},t.parseMutationArgs=function(e,t,n){return f(e)?"function"==typeof t?{...n,mutationKey:e,mutationFn:t}:{...t,mutationKey:e}:"function"==typeof e?{...t,mutationFn:e}:{...e}},t.parseMutationFilterArgs=function(e,t,n){return f(e)?[{...t,mutationKey:e},n]:[e||{},t]},t.parseQueryArgs=function(e,t,n){return f(e)?"function"==typeof t?{...n,queryKey:e,queryFn:t}:{...t,queryKey:e}:e},t.partialDeepEqual=a,t.partialMatchKey=i,t.replaceAt=function(e,t,n){const r=e.slice(0);return r[t]=n,r},t.replaceData=function(e,t,n){return null!=n.isDataEqual&&n.isDataEqual(e,t)?e:"function"==typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?u(e,t):t},t.replaceEqualDeep=u,t.scheduleMicrotask=function(e){d(0).then(e)},t.shallowEqualObjects=function(e,t){if(e&&!t||t&&!e)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0},t.sleep=d,t.timeUntilStale=function(e,t){return Math.max(e+(t||0)-Date.now(),0)}},49904:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3196),o=n(2784),i=n(36131),a=n(36339);function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function s(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var l=s(o),c=u(i);const f=a.styled("div",{fontFamily:"Menlo, monospace",fontSize:"1em",lineHeight:"1.7",outline:"none",wordBreak:"break-word"}),d=a.styled("span",{color:"white"}),p=a.styled("button",{cursor:"pointer",color:"white"}),h=a.styled("button",{cursor:"pointer",color:"inherit",font:"inherit",outline:"inherit",background:"transparent",border:"none",padding:0}),g=({value:e})=>{const[t,n]=l.useState("NoCopy");return l.createElement("button",{onClick:"NoCopy"===t?()=>{navigator.clipboard.writeText(c.default.stringify(e)).then((()=>{n("SuccessCopy"),setTimeout((()=>{n("NoCopy")}),1500)}),(e=>{console.error("Failed to copy: ",e),n("ErrorCopy"),setTimeout((()=>{n("NoCopy")}),1500)}))}:void 0,style:{cursor:"pointer",color:"inherit",font:"inherit",outline:"inherit",background:"transparent",border:"none",padding:0}},"NoCopy"===t?l.createElement(w,null):"SuccessCopy"===t?l.createElement(k,null):l.createElement(x,null))},y=a.styled("span",((e,t)=>({color:t.danger}))),m=a.styled("div",{marginLeft:".1em",paddingLeft:"1em",borderLeft:"2px solid rgba(0,0,0,.15)"}),b=a.styled("span",{color:"grey",fontSize:".7em"}),v=({expanded:e,style:t={}})=>l.createElement("span",{style:{display:"inline-block",transition:"all .1s ease",transform:"rotate("+(e?90:0)+"deg) "+(t.transform||""),...t}},"▶"),w=()=>l.createElement("span",{"aria-label":"Copy object to clipboard",title:"Copy object to clipboard",style:{paddingLeft:"1em"}},l.createElement("svg",{height:"12",viewBox:"0 0 16 12",width:"10"},l.createElement("path",{fill:"currentColor",d:"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 010 1.5h-1.5a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-1.5a.75.75 0 011.5 0v1.5A1.75 1.75 0 019.25 16h-7.5A1.75 1.75 0 010 14.25v-7.5z"}),l.createElement("path",{fill:"currentColor",d:"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0114.25 11h-7.5A1.75 1.75 0 015 9.25v-7.5zm1.75-.25a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-7.5a.25.25 0 00-.25-.25h-7.5z"}))),x=()=>l.createElement("span",{"aria-label":"Failed copying to clipboard",title:"Failed copying to clipboard",style:{paddingLeft:"1em",display:"flex",alignItems:"center"}},l.createElement("svg",{height:"12",viewBox:"0 0 16 12",width:"10",display:"block"},l.createElement("path",{fill:"red",d:"M3.72 3.72a.75.75 0 011.06 0L8 6.94l3.22-3.22a.75.75 0 111.06 1.06L9.06 8l3.22 3.22a.75.75 0 11-1.06 1.06L8 9.06l-3.22 3.22a.75.75 0 01-1.06-1.06L6.94 8 3.72 4.78a.75.75 0 010-1.06z"})),l.createElement("span",{style:{color:"red",fontSize:"12px",paddingLeft:"4px",position:"relative",top:"2px"}},"See console")),k=()=>l.createElement("span",{"aria-label":"Object copied to clipboard",title:"Object copied to clipboard",style:{paddingLeft:"1em",display:"inline-block",verticalAlign:"middle"}},l.createElement("svg",{height:"16",viewBox:"0 0 16 16",width:"16",display:"block"},l.createElement("path",{fill:"green",d:"M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z"})));function S(e,t){if(t<1)return[];let n=0;const r=[];for(;n{const[x,k]=l.useState([]);return l.createElement(f,{key:t},o.length?l.createElement(l.Fragment,null,l.createElement(h,{onClick:()=>c()},l.createElement(v,{expanded:u})," ",t," ",l.createElement(b,null,"iterable"===String(i).toLowerCase()?"(Iterable) ":"",r.length," ",r.length>1?"items":"item")),s?l.createElement(g,{value:n}):null,u?1===o.length?l.createElement(m,null,r.map(e)):l.createElement(m,null,o.map(((t,n)=>l.createElement("div",{key:n},l.createElement(f,null,l.createElement(p,{onClick:()=>k((e=>e.includes(n)?e.filter((e=>e!==n)):[...e,n]))},l.createElement(v,{expanded:u})," [",n*w," ..."," ",n*w+w-1,"]"),x.includes(n)?l.createElement(m,null,t.map(e)):null))))):null):l.createElement(l.Fragment,null,l.createElement(d,null,t,":")," ",l.createElement(y,null,a.displayValue(n))))};t.CopyButton=g,t.DefaultRenderer=j,t.Entry=f,t.ExpandButton=h,t.Expander=v,t.Info=b,t.Label=d,t.LabelButton=p,t.SubEntries=m,t.Value=y,t.chunkArray=S,t.default=function e({value:t,defaultExpanded:n,renderer:o=j,pageSize:i=100,copyable:a=!1,...u}){const[s,c]=l.useState(Boolean(n)),f=l.useCallback((()=>c((e=>!e))),[]);let d=typeof t,p=[];const h=e=>{const t=!0===n?{[e.label]:!0}:null==n?void 0:n[e.label];return{...e,defaultExpanded:t}};var g;Array.isArray(t)?(d="array",p=t.map(((e,t)=>h({label:t.toString(),value:e})))):null!==t&&"object"==typeof t&&(g=t,Symbol.iterator in g)&&"function"==typeof t[Symbol.iterator]?(d="Iterable",p=Array.from(t,((e,t)=>h({label:t.toString(),value:e})))):"object"==typeof t&&null!==t&&(d="object",p=Object.entries(t).map((([e,t])=>h({label:e,value:t}))));const y=S(p,i);return o({handleEntry:n=>l.createElement(e,r.extends({key:n.label,value:t,renderer:o,copyable:a},u,n)),type:d,subEntries:p,subEntryPages:y,value:t,expanded:s,copyable:a,toggleExpanded:f,pageSize:i,...u})}},86769:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3196);function o(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var i=o(n(2784));t.default=function(e){return i.createElement("svg",r.extends({width:"40px",height:"40px",viewBox:"0 0 190 190",version:"1.1"},e),i.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},i.createElement("g",{transform:"translate(-33.000000, 0.000000)"},i.createElement("path",{d:"M72.7239712,61.3436237 C69.631224,46.362877 68.9675112,34.8727722 70.9666331,26.5293551 C72.1555965,21.5671678 74.3293088,17.5190846 77.6346064,14.5984631 C81.1241394,11.5150478 85.5360327,10.0020122 90.493257,10.0020122 C98.6712013,10.0020122 107.26826,13.7273214 116.455725,20.8044264 C120.20312,23.6910458 124.092437,27.170411 128.131651,31.2444746 C128.45314,30.8310265 128.816542,30.4410453 129.22143,30.0806152 C140.64098,19.9149716 150.255245,13.5989272 158.478408,11.1636507 C163.367899,9.715636 167.958526,9.57768202 172.138936,10.983031 C176.551631,12.4664684 180.06766,15.5329489 182.548314,19.8281091 C186.642288,26.9166735 187.721918,36.2310983 186.195595,47.7320243 C185.573451,52.4199112 184.50985,57.5263831 183.007094,63.0593153 C183.574045,63.1277086 184.142416,63.2532808 184.705041,63.4395297 C199.193932,68.2358678 209.453582,73.3937462 215.665021,79.2882839 C219.360669,82.7953831 221.773972,86.6998434 222.646365,91.0218204 C223.567176,95.5836746 222.669313,100.159332 220.191548,104.451297 C216.105211,111.529614 208.591643,117.11221 197.887587,121.534031 C193.589552,123.309539 188.726579,124.917559 183.293259,126.363748 C183.541176,126.92292 183.733521,127.516759 183.862138,128.139758 C186.954886,143.120505 187.618598,154.61061 185.619477,162.954027 C184.430513,167.916214 182.256801,171.964297 178.951503,174.884919 C175.46197,177.968334 171.050077,179.48137 166.092853,179.48137 C157.914908,179.48137 149.31785,175.756061 140.130385,168.678956 C136.343104,165.761613 132.410866,162.238839 128.325434,158.108619 C127.905075,158.765474 127.388968,159.376011 126.77857,159.919385 C115.35902,170.085028 105.744755,176.401073 97.5215915,178.836349 C92.6321009,180.284364 88.0414736,180.422318 83.8610636,179.016969 C79.4483686,177.533532 75.9323404,174.467051 73.4516862,170.171891 C69.3577116,163.083327 68.2780823,153.768902 69.8044053,142.267976 C70.449038,137.410634 71.56762,132.103898 73.1575891,126.339009 C72.5361041,126.276104 71.9120754,126.144816 71.2949591,125.940529 C56.8060684,121.144191 46.5464184,115.986312 40.3349789,110.091775 C36.6393312,106.584675 34.2260275,102.680215 33.3536352,98.3582381 C32.4328237,93.7963839 33.3306866,89.2207269 35.8084524,84.9287618 C39.8947886,77.8504443 47.4083565,72.2678481 58.1124133,67.8460273 C62.5385143,66.0176154 67.5637208,64.366822 73.1939394,62.8874674 C72.9933393,62.3969171 72.8349374,61.8811235 72.7239712,61.3436237 Z",fill:"#002C4B",fillRule:"nonzero",transform:"translate(128.000000, 95.000000) scale(-1, 1) translate(-128.000000, -95.000000) "}),i.createElement("path",{d:"M113.396882,64 L142.608177,64 C144.399254,64 146.053521,64.958025 146.944933,66.5115174 L161.577138,92.0115174 C162.461464,93.5526583 162.461464,95.4473417 161.577138,96.9884826 L146.944933,122.488483 C146.053521,124.041975 144.399254,125 142.608177,125 L113.396882,125 C111.605806,125 109.951539,124.041975 109.060126,122.488483 L94.4279211,96.9884826 C93.543596,95.4473417 93.543596,93.5526583 94.4279211,92.0115174 L109.060126,66.5115174 C109.951539,64.958025 111.605806,64 113.396882,64 Z M138.987827,70.2765273 C140.779849,70.2765273 142.434839,71.2355558 143.325899,72.7903404 L154.343038,92.0138131 C155.225607,93.5537825 155.225607,95.4462175 154.343038,96.9861869 L143.325899,116.20966 C142.434839,117.764444 140.779849,118.723473 138.987827,118.723473 L117.017233,118.723473 C115.225211,118.723473 113.570221,117.764444 112.67916,116.20966 L101.662022,96.9861869 C100.779452,95.4462175 100.779452,93.5537825 101.662022,92.0138131 L112.67916,72.7903404 C113.570221,71.2355558 115.225211,70.2765273 117.017233,70.2765273 L138.987827,70.2765273 Z M135.080648,77.1414791 L120.924411,77.1414791 C119.134228,77.1414791 117.480644,78.0985567 116.5889,79.6508285 L116.5889,79.6508285 L109.489217,92.0093494 C108.603232,93.5515958 108.603232,95.4484042 109.489217,96.9906506 L109.489217,96.9906506 L116.5889,109.349172 C117.480644,110.901443 119.134228,111.858521 120.924411,111.858521 L120.924411,111.858521 L135.080648,111.858521 C136.870831,111.858521 138.524416,110.901443 139.41616,109.349172 L139.41616,109.349172 L146.515843,96.9906506 C147.401828,95.4484042 147.401828,93.5515958 146.515843,92.0093494 L146.515843,92.0093494 L139.41616,79.6508285 C138.524416,78.0985567 136.870831,77.1414791 135.080648,77.1414791 L135.080648,77.1414791 Z M131.319186,83.7122186 C133.108028,83.7122186 134.760587,84.6678753 135.652827,86.2183156 L138.983552,92.0060969 C139.87203,93.5500005 139.87203,95.4499995 138.983552,96.9939031 L135.652827,102.781684 C134.760587,104.332125 133.108028,105.287781 131.319186,105.287781 L124.685874,105.287781 C122.897032,105.287781 121.244473,104.332125 120.352233,102.781684 L117.021508,96.9939031 C116.13303,95.4499995 116.13303,93.5500005 117.021508,92.0060969 L120.352233,86.2183156 C121.244473,84.6678753 122.897032,83.7122186 124.685874,83.7122186 L131.319186,83.7122186 Z M128.003794,90.1848875 C126.459294,90.1848875 125.034382,91.0072828 124.263005,92.3424437 C123.491732,93.6774232 123.491732,95.3225768 124.263005,96.6575563 C125.034382,97.9927172 126.459294,98.8151125 128.001266,98.8151125 L128.001266,98.8151125 C129.545766,98.8151125 130.970678,97.9927172 131.742055,96.6575563 C132.513327,95.3225768 132.513327,93.6774232 131.742055,92.3424437 C130.970678,91.0072828 129.545766,90.1848875 128.003794,90.1848875 L128.003794,90.1848875 Z M93,94.5009646 L100.767764,94.5009646",fill:"#FFD94C"}),i.createElement("path",{d:"M87.8601729,108.357758 C89.1715224,107.608286 90.8360246,108.074601 91.5779424,109.399303 L91.5779424,109.399303 L92.0525843,110.24352 C95.8563392,116.982993 99.8190116,123.380176 103.940602,129.435068 C108.807881,136.585427 114.28184,143.82411 120.362479,151.151115 C121.316878,152.30114 121.184944,154.011176 120.065686,154.997937 L120.065686,154.997937 L119.454208,155.534625 C99.3465389,173.103314 86.2778188,176.612552 80.2480482,166.062341 C74.3500652,155.742717 76.4844915,136.982888 86.6513274,109.782853 C86.876818,109.179582 87.3045861,108.675291 87.8601729,108.357758 Z M173.534177,129.041504 C174.986131,128.785177 176.375496,129.742138 176.65963,131.194242 L176.65963,131.194242 L176.812815,131.986376 C181.782365,157.995459 178.283348,171 166.315764,171 C154.609745,171 139.708724,159.909007 121.612702,137.727022 C121.211349,137.235047 120.994572,136.617371 121,135.981509 C121.013158,134.480686 122.235785,133.274651 123.730918,133.287756 L123.730918,133.287756 L124.684654,133.294531 C132.305698,133.335994 139.714387,133.071591 146.910723,132.501323 C155.409039,131.82788 164.283523,130.674607 173.534177,129.041504 Z M180.408726,73.8119663 C180.932139,72.4026903 182.508386,71.6634537 183.954581,72.149012 L183.954581,72.149012 L184.742552,72.4154854 C210.583763,81.217922 220.402356,90.8916805 214.198332,101.436761 C208.129904,111.751366 190.484347,119.260339 161.26166,123.963678 C160.613529,124.067994 159.948643,123.945969 159.382735,123.618843 C158.047025,122.846729 157.602046,121.158214 158.388848,119.847438 L158.388848,119.847438 L158.889328,119.0105 C162.877183,112.31633 166.481358,105.654262 169.701854,99.0242957 C173.50501,91.1948179 177.073967,82.7907081 180.408726,73.8119663 Z M94.7383398,66.0363218 C95.3864708,65.9320063 96.0513565,66.0540315 96.6172646,66.3811573 C97.9529754,67.153271 98.3979538,68.8417862 97.6111517,70.1525615 L97.6111517,70.1525615 L97.1106718,70.9895001 C93.1228168,77.6836699 89.5186416,84.3457379 86.2981462,90.9757043 C82.49499,98.8051821 78.9260328,107.209292 75.5912744,116.188034 C75.0678608,117.59731 73.4916142,118.336546 72.045419,117.850988 L72.045419,117.850988 L71.2574475,117.584515 C45.4162372,108.782078 35.597644,99.1083195 41.8016679,88.5632391 C47.8700957,78.2486335 65.515653,70.7396611 94.7383398,66.0363218 Z M136.545792,34.4653746 C156.653461,16.8966864 169.722181,13.3874478 175.751952,23.9376587 C181.649935,34.2572826 179.515508,53.0171122 169.348673,80.2171474 C169.123182,80.8204179 168.695414,81.324709 168.139827,81.6422422 C166.828478,82.3917144 165.163975,81.9253986 164.422058,80.6006966 L164.422058,80.6006966 L163.947416,79.7564798 C160.143661,73.0170065 156.180988,66.6198239 152.059398,60.564932 C147.192119,53.4145727 141.71816,46.1758903 135.637521,38.8488847 C134.683122,37.6988602 134.815056,35.9888243 135.934314,35.0020629 L135.934314,35.0020629 Z M90.6842361,18 C102.390255,18 117.291276,29.0909926 135.387298,51.2729777 C135.788651,51.7649527 136.005428,52.3826288 136,53.0184911 C135.986842,54.5193144 134.764215,55.7253489 133.269082,55.7122445 L133.269082,55.7122445 L132.315346,55.7054689 C124.694302,55.6640063 117.285613,55.9284091 110.089277,56.4986773 C101.590961,57.17212 92.7164767,58.325393 83.4658235,59.9584962 C82.0138691,60.2148231 80.6245044,59.2578618 80.3403697,57.805758 L80.3403697,57.805758 L80.1871846,57.0136235 C75.2176347,31.0045412 78.7166519,18 90.6842361,18 Z",fill:"#FF4154"}))))}},3196:function(e,t){"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;th.useSyncExternalStore(y.useCallback((t=>n?()=>{}:e.subscribe(i.notifyManager.batchCalls(t))),[e,n]),t,t),b=y.forwardRef((function(e,t){const{isOpen:n=!0,styleNonce:o,setIsOpen:d,context:h,onDragStart:g,onPositionChange:b,showCloseButton:k,position:S,closeButtonProps:j={},errorTypes:O=[],...E}=e,{onClick:_,...C}=j,P=i.useQueryClient({context:h}),D=P.getQueryCache(),[T,M]=u.default("reactQueryDevtoolsSortFn",Object.keys(s.sortFns)[0]),[A,L]=u.default("reactQueryDevtoolsFilter",""),[N,R]=u.default("reactQueryDevtoolsBaseSort",1),Y=y.useMemo((()=>s.sortFns[T]),[T]),I=m(D,(()=>D.getAll().length),!n),[Z,q]=u.default("reactQueryDevtoolsActiveQueryHash",""),F=y.useMemo((()=>{const e=D.getAll();if(0===I)return[];const t=A?e.filter((e=>a.rankItem(e.queryHash,A).passed)):[...e];return Y?t.sort(((e,t)=>Y(e,t)*N)):t}),[N,Y,A,I,D]),[B,H]=y.useState(!1);return y.createElement(f.ThemeProvider,{theme:f.defaultTheme},y.createElement(l.Panel,r.extends({ref:t,className:"ReactQueryDevtoolsPanel","aria-label":"React Query Devtools Panel",id:"ReactQueryDevtoolsPanel"},E,{style:{height:s.defaultPanelSize,position:"relative",...E.style}}),y.createElement("style",{nonce:o,dangerouslySetInnerHTML:{__html:"\n .ReactQueryDevtoolsPanel * {\n scrollbar-color: "+f.defaultTheme.backgroundAlt+" "+f.defaultTheme.gray+";\n }\n\n .ReactQueryDevtoolsPanel *::-webkit-scrollbar, .ReactQueryDevtoolsPanel scrollbar {\n width: 1em;\n height: 1em;\n }\n\n .ReactQueryDevtoolsPanel *::-webkit-scrollbar-track, .ReactQueryDevtoolsPanel scrollbar-track {\n background: "+f.defaultTheme.backgroundAlt+";\n }\n\n .ReactQueryDevtoolsPanel *::-webkit-scrollbar-thumb, .ReactQueryDevtoolsPanel scrollbar-thumb {\n background: "+f.defaultTheme.gray+";\n border-radius: .5em;\n border: 3px solid "+f.defaultTheme.backgroundAlt+";\n }\n "}}),y.createElement("div",{style:s.getResizeHandleStyle(S),onMouseDown:g}),n&&y.createElement("div",{style:{flex:"1 1 500px",minHeight:"40%",maxHeight:"100%",overflow:"auto",borderRight:"1px solid "+f.defaultTheme.grayAlt,display:"flex",flexDirection:"column"}},y.createElement("div",{style:{padding:".5em",background:f.defaultTheme.backgroundAlt,display:"flex",justifyContent:"space-between",alignItems:"center"}},y.createElement("button",{type:"button","aria-label":"Close React Query Devtools","aria-controls":"ReactQueryDevtoolsPanel","aria-haspopup":"true","aria-expanded":"true",onClick:()=>d(!1),style:{display:"inline-flex",background:"none",border:0,padding:0,marginRight:".5em",cursor:"pointer"}},y.createElement(p.default,{"aria-hidden":!0}),y.createElement(c.default,{text:"Close React Query Devtools"})),y.createElement("div",{style:{display:"flex",flexDirection:"column"}},y.createElement("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:".5em"}},y.createElement(w,{queryCache:D}),S&&b?y.createElement(l.Select,{"aria-label":"Panel position",value:S,style:{marginInlineStart:".5em"},onChange:e=>b(e.target.value)},y.createElement("option",{value:"left"},"Left"),y.createElement("option",{value:"right"},"Right"),y.createElement("option",{value:"top"},"Top"),y.createElement("option",{value:"bottom"},"Bottom")):null),y.createElement("div",{style:{display:"flex",alignItems:"center",flexWrap:"wrap",gap:"0.5em"}},y.createElement(l.Input,{placeholder:"Filter","aria-label":"Filter by queryhash",value:null!=A?A:"",onChange:e=>L(e.target.value),onKeyDown:e=>{"Escape"===e.key&&L("")},style:{flex:"1",width:"100%"}}),y.createElement(l.Select,{"aria-label":"Sort queries",value:T,onChange:e=>M(e.target.value),style:{flex:"1",minWidth:75,marginRight:".5em"}},Object.keys(s.sortFns).map((e=>y.createElement("option",{key:e,value:e},"Sort by ",e)))),y.createElement(l.Button,{type:"button",onClick:()=>R((e=>-1*e)),style:{padding:".3em .4em",marginRight:".5em"}},1===N?"⬆ Asc":"⬇ Desc"),y.createElement(l.Button,{title:"Clear cache","aria-label":"Clear cache",type:"button",onClick:()=>D.clear(),style:{padding:".3em .4em",marginRight:".5em"}},"Clear"),y.createElement(l.Button,{type:"button",onClick:()=>{B?(i.onlineManager.setOnline(void 0),H(!1),window.dispatchEvent(new Event("online"))):(i.onlineManager.setOnline(!1),H(!0))},"aria-label":B?"Restore offline mock":"Mock offline behavior",title:B?"Restore offline mock":"Mock offline behavior",style:{padding:"0",height:"2em"}},y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"2em",height:"2em",viewBox:"0 0 24 24",stroke:B?f.defaultTheme.danger:"currentColor",fill:"none"},B?y.createElement(y.Fragment,null,y.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),y.createElement("line",{x1:"12",y1:"18",x2:"12.01",y2:"18"}),y.createElement("path",{d:"M9.172 15.172a4 4 0 0 1 5.656 0"}),y.createElement("path",{d:"M6.343 12.343a7.963 7.963 0 0 1 3.864 -2.14m4.163 .155a7.965 7.965 0 0 1 3.287 2"}),y.createElement("path",{d:"M3.515 9.515a12 12 0 0 1 3.544 -2.455m3.101 -.92a12 12 0 0 1 10.325 3.374"}),y.createElement("line",{x1:"3",y1:"3",x2:"21",y2:"21"})):y.createElement(y.Fragment,null,y.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),y.createElement("line",{x1:"12",y1:"18",x2:"12.01",y2:"18"}),y.createElement("path",{d:"M9.172 15.172a4 4 0 0 1 5.656 0"}),y.createElement("path",{d:"M6.343 12.343a8 8 0 0 1 11.314 0"}),y.createElement("path",{d:"M3.515 9.515c4.686 -4.687 12.284 -4.687 17 0"}))),y.createElement(c.default,{text:B?"Restore offline mock":"Mock offline behavior"}))))),y.createElement("div",{style:{overflowY:"auto",flex:"1"}},F.map((e=>y.createElement(x,{queryKey:e.queryKey,activeQueryHash:Z,setActiveQueryHash:q,key:e.queryHash,queryCache:D}))))),Z&&n?y.createElement(v,{activeQueryHash:Z,queryCache:D,queryClient:P,errorTypes:O}):null,k?y.createElement(l.Button,r.extends({type:"button","aria-controls":"ReactQueryDevtoolsPanel","aria-haspopup":"true","aria-expanded":"true"},C,{style:{position:"absolute",zIndex:99999,margin:".5em",bottom:0,left:0,...C.style},onClick:e=>{d(!1),null==_||_(e)}}),"Close"):null))})),v=({queryCache:e,activeQueryHash:t,queryClient:n,errorTypes:r})=>{var i,a;const u=m(e,(()=>e.getAll().find((e=>e.queryHash===t)))),c=m(e,(()=>{var n;return null==(n=e.getAll().find((e=>e.queryHash===t)))?void 0:n.state})),p=null!=(i=m(e,(()=>{var n;return null==(n=e.getAll().find((e=>e.queryHash===t)))?void 0:n.isStale()})))&&i,h=null!=(a=m(e,(()=>{var n;return null==(n=e.getAll().find((e=>e.queryHash===t)))?void 0:n.getObserversCount()})))?a:0,g=o.useMemo((()=>{if(u&&null!=c&&c.error){const e=r.find((e=>{var t;return e.initializer(u).toString()===(null==(t=c.error)?void 0:t.toString())}));return null==e?void 0:e.name}}),[u,null==c?void 0:c.error,r]);if(!u||!c)return null;const b=e=>{var t;const n=null!=(t=null==e?void 0:e.initializer(u))?t:new Error("Unknown error from devtools"),r=u.options;u.setState({status:"error",error:n,fetchMeta:{...u.state.fetchMeta,__previousQueryOptions:r}})};return y.createElement(l.ActiveQueryPanel,null,y.createElement("div",{style:{padding:".5em",background:f.defaultTheme.backgroundAlt,position:"sticky",top:0,zIndex:1}},"Query Details"),y.createElement("div",{style:{padding:".5em"}},y.createElement("div",{style:{marginBottom:".5em",display:"flex",alignItems:"flex-start",justifyContent:"space-between"}},y.createElement(l.Code,{style:{lineHeight:"1.8em"}},y.createElement("pre",{style:{margin:0,padding:0,overflow:"auto"}},s.displayValue(u.queryKey,!0))),y.createElement("span",{style:{padding:"0.3em .6em",borderRadius:"0.4em",fontWeight:"bold",textShadow:"0 2px 10px black",background:s.getQueryStatusColor({queryState:c,isStale:p,observerCount:h,theme:f.defaultTheme}),flexShrink:0}},s.getQueryStatusLabel(u))),y.createElement("div",{style:{marginBottom:".5em",display:"flex",alignItems:"center",justifyContent:"space-between"}},"Observers: ",y.createElement(l.Code,null,h)),y.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},"Last Updated:"," ",y.createElement(l.Code,null,new Date(c.dataUpdatedAt).toLocaleTimeString()))),y.createElement("div",{style:{background:f.defaultTheme.backgroundAlt,padding:".5em",position:"sticky",top:0,zIndex:1}},"Actions"),y.createElement("div",{style:{padding:"0.5em",display:"flex",flexWrap:"wrap",gap:"0.5em",alignItems:"flex-end"}},y.createElement(l.Button,{type:"button",onClick:()=>{const e=null==u?void 0:u.fetch();null==e||e.catch(k)},disabled:"fetching"===c.fetchStatus,style:{background:f.defaultTheme.active}},"Refetch")," ",y.createElement(l.Button,{type:"button",onClick:()=>n.invalidateQueries(u),style:{background:f.defaultTheme.warning,color:f.defaultTheme.inputTextColor}},"Invalidate")," ",y.createElement(l.Button,{type:"button",onClick:()=>n.resetQueries(u),style:{background:f.defaultTheme.gray}},"Reset")," ",y.createElement(l.Button,{type:"button",onClick:()=>n.removeQueries(u),style:{background:f.defaultTheme.danger}},"Remove")," ",y.createElement(l.Button,{type:"button",onClick:()=>{var e;if("fetching"!==u.state.fetchStatus||void 0!==(null==(e=u.state.fetchMeta)?void 0:e.__previousQueryOptions))if(void 0===u.state.data)u.fetch(u.state.fetchMeta.__previousQueryOptions,{cancelRefetch:!0});else{const e=u.options;u.fetch({...e,queryFn:()=>new Promise((()=>{})),cacheTime:-1}),u.setState({data:void 0,status:"loading",fetchMeta:{...u.state.fetchMeta,__previousQueryOptions:e}})}},style:{background:f.defaultTheme.paused}},"loading"===u.state.status?"Restore":"Trigger"," ","loading")," ",0===r.length||"error"===u.state.status?y.createElement(l.Button,{type:"button",onClick:()=>{u.state.error?n.resetQueries(u):b()},style:{background:f.defaultTheme.danger}},"error"===u.state.status?"Restore":"Trigger"," error"):y.createElement("label",null,"Trigger error:",y.createElement(l.Select,{value:null!=g?g:"",style:{marginInlineStart:".5em"},onChange:e=>{const t=r.find((t=>t.name===e.target.value));b(t)}},y.createElement("option",{key:"",value:""}),r.map((e=>y.createElement("option",{key:e.name,value:e.name},e.name)))))),y.createElement("div",{style:{background:f.defaultTheme.backgroundAlt,padding:".5em",position:"sticky",top:0,zIndex:1}},"Data Explorer"),y.createElement("div",{style:{padding:".5em"}},y.createElement(d.default,{label:"Data",value:c.data,defaultExpanded:{},copyable:!0})),y.createElement("div",{style:{background:f.defaultTheme.backgroundAlt,padding:".5em",position:"sticky",top:0,zIndex:1}},"Query Explorer"),y.createElement("div",{style:{padding:".5em"}},y.createElement(d.default,{label:"Query",value:u,defaultExpanded:{queryKey:!0}})))},w=({queryCache:e})=>{const t=m(e,(()=>e.getAll().filter((e=>"fresh"===s.getQueryStatusLabel(e))).length)),n=m(e,(()=>e.getAll().filter((e=>"fetching"===s.getQueryStatusLabel(e))).length)),r=m(e,(()=>e.getAll().filter((e=>"paused"===s.getQueryStatusLabel(e))).length)),o=m(e,(()=>e.getAll().filter((e=>"stale"===s.getQueryStatusLabel(e))).length)),i=m(e,(()=>e.getAll().filter((e=>"inactive"===s.getQueryStatusLabel(e))).length));return y.createElement(l.QueryKeys,null,y.createElement(l.QueryKey,{style:{background:f.defaultTheme.success,opacity:t?1:.3}},"fresh ",y.createElement(l.Code,null,"(",t,")"))," ",y.createElement(l.QueryKey,{style:{background:f.defaultTheme.active,opacity:n?1:.3}},"fetching ",y.createElement(l.Code,null,"(",n,")"))," ",y.createElement(l.QueryKey,{style:{background:f.defaultTheme.paused,opacity:r?1:.3}},"paused ",y.createElement(l.Code,null,"(",r,")"))," ",y.createElement(l.QueryKey,{style:{background:f.defaultTheme.warning,color:"black",textShadow:"0",opacity:o?1:.3}},"stale ",y.createElement(l.Code,null,"(",o,")"))," ",y.createElement(l.QueryKey,{style:{background:f.defaultTheme.gray,opacity:i?1:.3}},"inactive ",y.createElement(l.Code,null,"(",i,")")))},x=y.memo((({queryKey:e,setActiveQueryHash:t,activeQueryHash:n,queryCache:r})=>{var o,i,a,u;const c=null!=(o=m(r,(()=>{var t;return null==(t=r.find(e))?void 0:t.queryHash})))?o:"",d=m(r,(()=>{var t;return null==(t=r.find(e))?void 0:t.state})),p=null!=(i=m(r,(()=>{var t;return null==(t=r.find(e))?void 0:t.isStale()})))&&i,h=null!=(a=m(r,(()=>{var t;return null==(t=r.find(e))?void 0:t.isDisabled()})))&&a,g=null!=(u=m(r,(()=>{var t;return null==(t=r.find(e))?void 0:t.getObserversCount()})))?u:0;return d?y.createElement("div",{role:"button","aria-label":"Open query details for "+c,onClick:()=>t(n===c?"":c),style:{display:"flex",borderBottom:"solid 1px "+f.defaultTheme.grayAlt,cursor:"pointer",background:c===n?"rgba(255,255,255,.1)":void 0}},y.createElement("div",{style:{flex:"0 0 auto",width:"2em",height:"2em",background:s.getQueryStatusColor({queryState:d,isStale:p,observerCount:g,theme:f.defaultTheme}),display:"flex",alignItems:"center",justifyContent:"center",fontWeight:"bold",textShadow:p?"0":"0 0 10px black",color:p?"black":"white"}},g),h?y.createElement("div",{style:{flex:"0 0 auto",height:"2em",background:f.defaultTheme.gray,display:"flex",alignItems:"center",fontWeight:"bold",padding:"0 0.5em"}},"disabled"):null,y.createElement(l.Code,{style:{padding:".5em"}},""+c)):null}));function k(){}x.displayName="QueryRow",t.ReactQueryDevtools=function({initialIsOpen:e,panelProps:t={},closeButtonProps:n={},toggleButtonProps:o={},position:i="bottom-left",containerElement:a="aside",context:l,styleNonce:d,panelPosition:h="bottom",errorTypes:g=[]}){const m=y.useRef(null),v=y.useRef(null),[w,x]=u.default("reactQueryDevtoolsOpen",e),[k,S]=u.default("reactQueryDevtoolsHeight",s.defaultPanelSize),[j,O]=u.default("reactQueryDevtoolsWidth",s.defaultPanelSize),[E="bottom",_]=u.default("reactQueryDevtoolsPanelPosition",h),[C,P]=y.useState(!1),[D,T]=y.useState(!1),M=s.useIsMounted();y.useEffect((()=>{P(null!=w&&w)}),[w,C,P]),y.useEffect((()=>{const e=v.current;if(e){const t=()=>{C&&(e.style.visibility="visible")},n=()=>{C||(e.style.visibility="hidden")};return e.addEventListener("transitionstart",t),e.addEventListener("transitionend",n),()=>{e.removeEventListener("transitionstart",t),e.removeEventListener("transitionend",n)}}}),[C]),y.useEffect((()=>{var e;if(C&&null!=(e=m.current)&&e.parentElement){const{parentElement:e}=m.current,t=s.getSidedProp("padding",E),n=s.isVerticalSide(E),r=(({padding:e,paddingTop:t,paddingBottom:n,paddingLeft:r,paddingRight:o})=>({padding:e,paddingTop:t,paddingBottom:n,paddingLeft:r,paddingRight:o}))(e.style),o=()=>{e.style.padding="0px",e.style.paddingTop="0px",e.style.paddingBottom="0px",e.style.paddingLeft="0px",e.style.paddingRight="0px",e.style[t]=(n?j:k)+"px"};if(o(),"undefined"!=typeof window)return window.addEventListener("resize",o),()=>{window.removeEventListener("resize",o),Object.entries(r).forEach((([t,n])=>{e.style[t]=n}))}}}),[C,E,k,j]);const{style:A={},...L}=t,{style:N={},onClick:R,...Y}=o,I=s.getSidePanelStyle({position:E,devtoolsTheme:f.defaultTheme,isOpen:C,height:k,width:j,isResizing:D,panelStyle:A});return M()?y.createElement(a,{ref:m,className:"ReactQueryDevtools","aria-label":"React Query Devtools"},y.createElement(f.ThemeProvider,{theme:f.defaultTheme},y.createElement(b,r.extends({ref:v,context:l,styleNonce:d,position:E,onPositionChange:_,showCloseButton:!0,closeButtonProps:n},L,{style:I,isOpen:C,setIsOpen:x,onDragStart:e=>((e,t)=>{if(!e)return;if(0!==t.button)return;const n=s.isVerticalSide(E);T(!0);const{height:r,width:o}=e.getBoundingClientRect(),i=t.clientX,a=t.clientY;let u=0;const l=e=>{e.preventDefault(),n?(u=o+("right"===E?i-e.clientX:e.clientX-i),O(u)):(u=r+("bottom"===E?a-e.clientY:e.clientY-a),S(u)),u{D&&T(!1),document.removeEventListener("mousemove",l,!1),document.removeEventListener("mouseUp",c,!1)};document.addEventListener("mousemove",l,!1),document.addEventListener("mouseup",c,!1)})(v.current,e),errorTypes:g}))),C?null:y.createElement("button",r.extends({type:"button"},Y,{"aria-label":"Open React Query Devtools","aria-controls":"ReactQueryDevtoolsPanel","aria-haspopup":"true","aria-expanded":"false",onClick:e=>{x(!0),null==R||R(e)},style:{background:"none",border:0,padding:0,position:"fixed",zIndex:99999,display:"inline-flex",fontSize:"1.5em",margin:".5em",cursor:"pointer",width:"fit-content",..."top-right"===i?{top:"0",right:"0"}:"top-left"===i?{top:"0",left:"0"}:"bottom-right"===i?{bottom:"0",right:"0"}:{bottom:"0",left:"0"},...N}}),y.createElement(p.default,{"aria-hidden":!0}),y.createElement(c.default,{text:"Open React Query Devtools"}))):null},t.ReactQueryDevtoolsPanel=b},78600:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(55238);const r=function(){return null},o=function(){return null};t.ReactQueryDevtools=r,t.ReactQueryDevtoolsPanel=o},91673:function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(2784));t.default=function({text:e}){return o.createElement("span",{style:{position:"absolute",width:"0.1px",height:"0.1px",overflow:"hidden"}},e)}},84450:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(36339);const o=r.styled("div",((e,t)=>({fontSize:"clamp(12px, 1.5vw, 14px)",fontFamily:"sans-serif",display:"flex",backgroundColor:t.background,color:t.foreground})),{"(max-width: 700px)":{flexDirection:"column"},"(max-width: 600px)":{fontSize:".9em"}}),i=r.styled("div",(()=>({flex:"1 1 500px",display:"flex",flexDirection:"column",overflow:"auto",height:"100%"})),{"(max-width: 700px)":(e,t)=>({borderTop:"2px solid "+t.gray})}),a=r.styled("button",((e,t)=>({appearance:"none",fontSize:".9em",fontWeight:"bold",background:t.gray,border:"0",borderRadius:".3em",color:"white",padding:".5em",opacity:e.disabled?".5":void 0,cursor:"pointer"}))),u=r.styled("span",{display:"flex",flexWrap:"wrap",gap:"0.5em",fontSize:"0.9em"}),s=r.styled("span",{display:"inline-flex",alignItems:"center",padding:".2em .4em",fontWeight:"bold",textShadow:"0 0 10px black",borderRadius:".2em"}),l=r.styled("code",{fontSize:".9em",color:"inherit",background:"inherit"}),c=r.styled("input",((e,t)=>({backgroundColor:t.inputBackgroundColor,border:0,borderRadius:".2em",color:t.inputTextColor,fontSize:".9em",lineHeight:"1.3",padding:".3em .4em"}))),f=r.styled("select",((e,t)=>({display:"inline-block",fontSize:".9em",fontFamily:"sans-serif",fontWeight:"normal",lineHeight:"1.3",padding:".3em 1.5em .3em .5em",height:"auto",border:0,borderRadius:".2em",appearance:"none",WebkitAppearance:"none",backgroundColor:t.inputBackgroundColor,backgroundImage:"url(\"data:image/svg+xml;utf8,\")",backgroundRepeat:"no-repeat",backgroundPosition:"right .55em center",backgroundSize:".65em auto, 100%",color:t.inputTextColor})),{"(max-width: 500px)":{display:"none"}});t.ActiveQueryPanel=i,t.Button=a,t.Code=l,t.Input=c,t.Panel=o,t.QueryKey=s,t.QueryKeys=u,t.Select=f},26823:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3196);function o(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var i=o(n(2784));const a={background:"#0b1521",backgroundAlt:"#132337",foreground:"white",gray:"#3f4e60",grayAlt:"#222e3e",inputBackgroundColor:"#fff",inputTextColor:"#000",success:"#00ab52",danger:"#ff0085",active:"#006bff",paused:"#8c49eb",warning:"#ffb200"},u=i.createContext(a);t.ThemeProvider=function({theme:e,...t}){return i.createElement(u.Provider,r.extends({value:e},t))},t.defaultTheme=a,t.useTheme=function(){return i.useContext(u)}},63100:function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(2784));t.default=function(e,t){const[n,r]=o.useState();return o.useEffect((()=>{const n=(e=>{try{const t=localStorage.getItem(e);return"string"==typeof t?JSON.parse(t):void 0}catch{return}})(e);r(null==n?"function"==typeof t?t():t:n)}),[t,e]),[n,o.useCallback((t=>{r((n=>{let r=t;"function"==typeof t&&(r=t(n));try{localStorage.setItem(e,JSON.stringify(r))}catch{}return r}))}),[e])]}},7594:function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(2784));t.default=function(e){const[t,n]=o.useState((()=>{if("undefined"!=typeof window)return window.matchMedia(e).matches}));return o.useEffect((()=>{if("undefined"!=typeof window){const t=window.matchMedia(e),r=({matches:e})=>n(e);return t.addListener(r),()=>{t.removeListener(r)}}}),[t,e,n]),t}},36339:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2784),o=n(36131),i=n(26823),a=n(7594);function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function s(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var l=s(r),c=u(o);const f=e=>"idle"!==e.state.fetchStatus?0:e.getObserversCount()?e.isStale()?2:1:3,d=(e,t)=>e.state.dataUpdatedAt Last Updated":(e,t)=>f(e)===f(t)?d(e,t):f(e)>f(t)?1:-1,"Query Hash":(e,t)=>e.queryHash.localeCompare(t.queryHash),"Last Updated":d},h={top:"bottom",bottom:"top",left:"right",right:"left"};function g(e){return["left","right"].includes(e)}function y(e){return h[e]}function m(e,t){return""+e+(t.charAt(0).toUpperCase()+t.slice(1))}t.defaultPanelSize=500,t.displayValue=(e,t=!1)=>{const{json:n}=c.default.serialize(e);return JSON.stringify(n,null,t?2:void 0)},t.getOppositeSide=y,t.getQueryStatusColor=function({queryState:e,observerCount:t,isStale:n,theme:r}){return"fetching"===e.fetchStatus?r.active:t?"paused"===e.fetchStatus?r.paused:n?r.warning:r.success:r.gray},t.getQueryStatusLabel=function(e){return"fetching"===e.state.fetchStatus?"fetching":e.getObserversCount()?"paused"===e.state.fetchStatus?"paused":e.isStale()?"stale":"fresh":"inactive"},t.getResizeHandleStyle=function(e="bottom"){const t=g(e),n=y(e);return{position:"absolute",cursor:t?"col-resize":"row-resize",zIndex:1e5,[n]:0,[m("margin",n)]:"-4px",...t?{top:0,height:"100%",width:"4px"}:{width:"100%",height:"4px"}}},t.getSidePanelStyle=function({position:e="bottom",height:t,width:n,devtoolsTheme:r,isOpen:o,isResizing:i,panelStyle:a}){const u=y(e),s=m("border",u),l=g(e);return{...a,direction:"ltr",position:"fixed",[e]:0,[s]:"1px solid "+r.gray,transformOrigin:u,boxShadow:"0 0 20px rgba(0,0,0,.3)",zIndex:99999,visibility:o?"visible":"hidden",...i?{transition:"none"}:{transition:"all .2s ease"},...o?{opacity:1,pointerEvents:"all",transform:l?"translateX(0) scale(1)":"translateY(0) scale(1)"}:{opacity:0,pointerEvents:"none",transform:l?"translateX(15px) scale(1.02)":"translateY(15px) scale(1.02)"},...l?{top:0,height:"100vh",maxWidth:"90%",width:"number"==typeof n&&n>=70?n:500}:{left:0,width:"100%",maxHeight:"90%",height:"number"==typeof t&&t>=70?t:500}}},t.getSidedProp=m,t.isVerticalSide=g,t.minPanelSize=70,t.sides=h,t.sortFns=p,t.styled=function(e,t,n={}){return l.forwardRef((({style:r,...o},u)=>{const s=i.useTheme(),c=Object.entries(n).reduce(((e,[t,n])=>a.default(t)?{...e,..."function"==typeof n?n(o,s):n}:e),{});return l.createElement(e,{...o,style:{..."function"==typeof t?t(o,s):t,...r,...c},ref:u})}))},t.useIsMounted=function(){const e=l.useRef(!1),t=l.useCallback((()=>e.current),[]);return l.useEffect((()=>(e.current=!0,()=>{e.current=!1})),[]),t}},19828:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2784),o=n(75630),i=n(47171);function a(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var u=a(r);function s(e,t={}){const n=i.useQueryClient({context:t.context}),r=u.useRef(t);r.current=t,u.useMemo((()=>{e&&o.hydrate(n,e,r.current)}),[n,e])}t.Hydrate=({children:e,options:t,state:n})=>(s(n,t),e),t.useHydrate=s},47171:function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(2784));const i=o.createContext(void 0),a=o.createContext(!1);function u(e,t){return e||(t&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=i),window.ReactQueryClientContext):i)}t.QueryClientProvider=({client:e,children:t,context:n,contextSharing:r=!1})=>{o.useEffect((()=>(e.mount(),()=>{e.unmount()})),[e]);const i=u(n,r);return o.createElement(a.Provider,{value:!n&&r},o.createElement(i.Provider,{value:e},t))},t.defaultContext=i,t.useQueryClient=({context:e}={})=>{const t=o.useContext(u(e,o.useContext(a)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t}},77835:function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(2784));function i(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}const a=o.createContext(i());t.QueryErrorResetBoundary=({children:e})=>{const[t]=o.useState((()=>i()));return o.createElement(a.Provider,{value:t},"function"==typeof e?e(t):e)},t.useQueryErrorResetBoundary=()=>o.useContext(a)},73288:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2784),o=n(78186);function i(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var a=i(r);t.ensurePreventErrorBoundaryRetry=(e,t)=>{(e.suspense||e.useErrorBoundary)&&(t.isReset()||(e.retryOnMount=!1))},t.getHasError=({result:e,errorResetBoundary:t,useErrorBoundary:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&o.shouldThrowError(n,[e.error,r]),t.useClearResetErrorBoundary=e=>{a.useEffect((()=>{e.clearReset()}),[e])}},79634:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(32993);var r=n(75630),o=n(45677),i=n(70963),a=n(47171),u=n(19828),s=n(77835),l=n(82349),c=n(7171),f=n(82711),d=n(47005),p=n(1909);t.useQueries=o.useQueries,t.useQuery=i.useQuery,t.QueryClientProvider=a.QueryClientProvider,t.defaultContext=a.defaultContext,t.useQueryClient=a.useQueryClient,t.Hydrate=u.Hydrate,t.useHydrate=u.useHydrate,t.QueryErrorResetBoundary=s.QueryErrorResetBoundary,t.useQueryErrorResetBoundary=s.useQueryErrorResetBoundary,t.useIsFetching=l.useIsFetching,t.useIsMutating=c.useIsMutating,t.useMutation=f.useMutation,t.useInfiniteQuery=d.useInfiniteQuery,t.IsRestoringProvider=p.IsRestoringProvider,t.useIsRestoring=p.useIsRestoring,Object.keys(r).forEach((function(e){"default"===e||t.hasOwnProperty(e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})}))},1909:function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(2784));const i=o.createContext(!1),a=i.Provider;t.IsRestoringProvider=a,t.useIsRestoring=()=>o.useContext(i)},34596:function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(28316)).unstable_batchedUpdates;t.unstable_batchedUpdates=o},32993:function(e,t,n){"use strict";var r=n(75630),o=n(34596);r.notifyManager.setBatchNotifyFunction(o.unstable_batchedUpdates)},10870:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=(e,t)=>e.isLoading&&e.isFetching&&!t;t.ensureStaleTime=e=>{e.suspense&&"number"!=typeof e.staleTime&&(e.staleTime=1e3)},t.fetchOptimistic=(e,t,n)=>t.fetchOptimistic(e).then((({data:t})=>{null==e.onSuccess||e.onSuccess(t),null==e.onSettled||e.onSettled(t,null)})).catch((t=>{n.clearReset(),null==e.onError||e.onError(t),null==e.onSettled||e.onSettled(void 0,t)})),t.shouldSuspend=(e,t,r)=>(null==e?void 0:e.suspense)&&n(t,r),t.willFetch=n},34145:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2784),o=n(75630),i=n(39964),a=n(77835),u=n(47171),s=n(1909),l=n(73288),c=n(10870);function f(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var d=f(r);t.useBaseQuery=function(e,t){const n=u.useQueryClient({context:e.context}),r=s.useIsRestoring(),f=a.useQueryErrorResetBoundary(),p=n.defaultQueryOptions(e);p._optimisticResults=r?"isRestoring":"optimistic",p.onError&&(p.onError=o.notifyManager.batchCalls(p.onError)),p.onSuccess&&(p.onSuccess=o.notifyManager.batchCalls(p.onSuccess)),p.onSettled&&(p.onSettled=o.notifyManager.batchCalls(p.onSettled)),c.ensureStaleTime(p),l.ensurePreventErrorBoundaryRetry(p,f),l.useClearResetErrorBoundary(f);const[h]=d.useState((()=>new t(n,p))),g=h.getOptimisticResult(p);if(i.useSyncExternalStore(d.useCallback((e=>{const t=r?()=>{}:h.subscribe(o.notifyManager.batchCalls(e));return h.updateResult(),t}),[h,r]),(()=>h.getCurrentResult()),(()=>h.getCurrentResult())),d.useEffect((()=>{h.setOptions(p,{listeners:!1})}),[p,h]),c.shouldSuspend(p,g,r))throw c.fetchOptimistic(p,h,f);if(l.getHasError({result:g,errorResetBoundary:f,useErrorBoundary:p.useErrorBoundary,query:h.getCurrentQuery()}))throw g.error;return p.notifyOnChangeProps?g:h.trackResult(g)}},47005:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(75630),o=n(34145);t.useInfiniteQuery=function(e,t,n){const i=r.parseQueryArgs(e,t,n);return o.useBaseQuery(i,r.InfiniteQueryObserver)}},82349:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2784),o=n(75630),i=n(39964),a=n(47171);function u(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var s=u(r);t.useIsFetching=function(e,t,n){const[r,u={}]=o.parseFilterArgs(e,t,n),l=a.useQueryClient({context:u.context}),c=l.getQueryCache();return i.useSyncExternalStore(s.useCallback((e=>c.subscribe(o.notifyManager.batchCalls(e))),[c]),(()=>l.isFetching(r)),(()=>l.isFetching(r)))}},7171:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2784),o=n(75630),i=n(39964),a=n(47171);function u(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var s=u(r);t.useIsMutating=function(e,t,n){const[r,u={}]=o.parseMutationFilterArgs(e,t,n),l=a.useQueryClient({context:u.context}),c=l.getMutationCache();return i.useSyncExternalStore(s.useCallback((e=>c.subscribe(o.notifyManager.batchCalls(e))),[c]),(()=>l.isMutating(r)),(()=>l.isMutating(r)))}},82711:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2784),o=n(75630),i=n(39964),a=n(47171),u=n(78186);function s(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var l=s(r);function c(){}t.useMutation=function(e,t,n){const r=o.parseMutationArgs(e,t,n),s=a.useQueryClient({context:r.context}),[f]=l.useState((()=>new o.MutationObserver(s,r)));l.useEffect((()=>{f.setOptions(r)}),[f,r]);const d=i.useSyncExternalStore(l.useCallback((e=>f.subscribe(o.notifyManager.batchCalls(e))),[f]),(()=>f.getCurrentResult()),(()=>f.getCurrentResult())),p=l.useCallback(((e,t)=>{f.mutate(e,t).catch(c)}),[f]);if(d.error&&u.shouldThrowError(f.options.useErrorBoundary,[d.error]))throw d.error;return{...d,mutate:p,mutateAsync:d.mutate}}},45677:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2784),o=n(75630),i=n(39964),a=n(47171),u=n(1909),s=n(77835),l=n(73288),c=n(10870);function f(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var d=f(r);t.useQueries=function({queries:e,context:t}){const n=a.useQueryClient({context:t}),r=u.useIsRestoring(),f=s.useQueryErrorResetBoundary(),p=d.useMemo((()=>e.map((e=>{const t=n.defaultQueryOptions(e);return t._optimisticResults=r?"isRestoring":"optimistic",t}))),[e,n,r]);p.forEach((e=>{c.ensureStaleTime(e),l.ensurePreventErrorBoundaryRetry(e,f)})),l.useClearResetErrorBoundary(f);const[h]=d.useState((()=>new o.QueriesObserver(n,p))),g=h.getOptimisticResult(p);i.useSyncExternalStore(d.useCallback((e=>r?()=>{}:h.subscribe(o.notifyManager.batchCalls(e))),[h,r]),(()=>h.getCurrentResult()),(()=>h.getCurrentResult())),d.useEffect((()=>{h.setQueries(p,{listeners:!1})}),[p,h]);const y=g.some(((e,t)=>c.shouldSuspend(p[t],e,r)))?g.flatMap(((e,t)=>{const n=p[t],o=h.getObservers()[t];if(n&&o){if(c.shouldSuspend(n,e,r))return c.fetchOptimistic(n,o,f);c.willFetch(e,r)&&c.fetchOptimistic(n,o,f)}return[]})):[];if(y.length>0)throw Promise.all(y);const m=h.getQueries(),b=g.find(((e,t)=>{var n,r;return l.getHasError({result:e,errorResetBoundary:f,useErrorBoundary:null!=(n=null==(r=p[t])?void 0:r.useErrorBoundary)&&n,query:m[t]})}));if(null!=b&&b.error)throw b.error;return g}},70963:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(75630),o=n(34145);t.useQuery=function(e,t,n){const i=r.parseQueryArgs(e,t,n);return o.useBaseQuery(i,r.QueryObserver)}},39964:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(43100).useSyncExternalStore;t.useSyncExternalStore=r},78186:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shouldThrowError=function(e,t){return"function"==typeof e?e(...t):!!e}},72779:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t