mirror of
				https://github.com/searxng/searxng.git
				synced 2025-10-31 10:37:06 -04:00 
			
		
		
		
	[upd] web-client (simple): Bump the minor group across 1 directory with 6 updates (#5128)
* [upd] web-client (simple): Bump the minor group across 1 directory with 6 updates Bumps the minor group with 6 updates in the /client/simple directory: | Package | From | To | | --- | --- | --- | | [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) | `2.1.3` | `2.2.0` | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `24.2.0` | `24.3.0` | | [browserslist](https://github.com/browserslist/browserslist) | `4.25.1` | `4.25.2` | | [edge.js](https://github.com/edge-js/edge) | `6.2.1` | `6.3.0` | | [stylelint](https://github.com/stylelint/stylelint) | `16.23.0` | `16.23.1` | | [vite-bundle-analyzer](https://github.com/nonzzz/vite-bundle-analyzer) | `1.1.0` | `1.2.1` | Updates `@biomejs/biome` from 2.1.3 to 2.2.0 - [Release notes](https://github.com/biomejs/biome/releases) - [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md) - [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.2.0/packages/@biomejs/biome) Updates `@types/node` from 24.2.0 to 24.3.0 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `browserslist` from 4.25.1 to 4.25.2 - [Release notes](https://github.com/browserslist/browserslist/releases) - [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md) - [Commits](https://github.com/browserslist/browserslist/compare/4.25.1...4.25.2) Updates `edge.js` from 6.2.1 to 6.3.0 - [Release notes](https://github.com/edge-js/edge/releases) - [Changelog](https://github.com/edge-js/edge/blob/6.x/CHANGELOG.md) - [Commits](https://github.com/edge-js/edge/compare/v6.2.1...v6.3.0) Updates `stylelint` from 16.23.0 to 16.23.1 - [Release notes](https://github.com/stylelint/stylelint/releases) - [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md) - [Commits](https://github.com/stylelint/stylelint/compare/16.23.0...16.23.1) Updates `vite-bundle-analyzer` from 1.1.0 to 1.2.1 - [Release notes](https://github.com/nonzzz/vite-bundle-analyzer/releases) - [Changelog](https://github.com/nonzzz/vite-bundle-analyzer/blob/master/CHANGELOG.md) - [Commits](https://github.com/nonzzz/vite-bundle-analyzer/compare/v1.1.0...v1.2.1) --- updated-dependencies: - dependency-name: "@biomejs/biome" dependency-version: 2.2.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor - dependency-name: "@types/node" dependency-version: 24.3.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor - dependency-name: browserslist dependency-version: 4.25.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor - dependency-name: edge.js dependency-version: 6.3.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor - dependency-name: stylelint dependency-version: 16.23.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor - dependency-name: vite-bundle-analyzer dependency-version: 1.2.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor ... Signed-off-by: dependabot[bot] <support@github.com> * [fix] themes/simple: recreate lock * [fix] themes/simple: promote from nursery - noAwaitInLoop - noBitwiseOperators - noConstantBinaryExpression - noGlobalDirnameFilename - noImplicitCoercion - noUnassignedVariables - noUselessBackrefInRegex - noUselessEscapeInString - useAdjacentGetterSetter - useConsistentObjectDefinition - useConsistentResponse - useIndexOf - useIterableCallbackReturn - useJsonImportAttribute - useNumericSeparators - useObjectSpread - useParseIntRadix - useReadonlyClassProperties - useSingleJsDocAsterisk - useUnifiedTypeSignature * [fix] themes/simple: build static --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ivan Gabaldon <igabaldon@inetol.net>
This commit is contained in:
		
							parent
							
								
									5f364ad999
								
							
						
					
					
						commit
						9bb04e288d
					
				| @ -1,7 +1,7 @@ | ||||
| { | ||||
|   "$schema": "https://biomejs.dev/schemas/2.1.3/schema.json", | ||||
|   "$schema": "https://biomejs.dev/schemas/2.2.0/schema.json", | ||||
|   "files": { | ||||
|     "includes": ["**", "!dist/**", "!node_modules/**"], | ||||
|     "includes": ["**", "!dist", "!node_modules"], | ||||
|     "ignoreUnknown": true | ||||
|   }, | ||||
|   "vcs": { | ||||
| @ -31,49 +31,29 @@ | ||||
|       "recommended": true, | ||||
|       "complexity": { | ||||
|         "noForEach": "error", | ||||
|         "noImplicitCoercions": "error", | ||||
|         "useSimplifiedLogicExpression": "error" | ||||
|       }, | ||||
|       "correctness": { | ||||
|         "noGlobalDirnameFilename": "error", | ||||
|         "noUndeclaredVariables": { | ||||
|           "level": "error", | ||||
|           "options": { | ||||
|             "checkTypes": true | ||||
|           } | ||||
|         }, | ||||
|         "useImportExtensions": "error" | ||||
|         "useImportExtensions": "error", | ||||
|         "useJsonImportAttributes": "error", | ||||
|         "useSingleJsDocAsterisk": "error" | ||||
|       }, | ||||
|       "nursery": { | ||||
|         "noAwaitInLoop": "warn", | ||||
|         "noBitwiseOperators": "warn", | ||||
|         "noConstantBinaryExpression": "warn", | ||||
|         "noGlobalDirnameFilename": "warn", | ||||
|         "noImplicitCoercion": "warn", | ||||
|         "noMisusedPromises": "warn", | ||||
|         "noUnassignedVariables": "warn", | ||||
|         "noUselessBackrefInRegex": "warn", | ||||
|         "noUselessEscapeInString": "warn", | ||||
|         "noUselessUndefined": "warn", | ||||
|         "useAdjacentGetterSetter": "warn", | ||||
|         "useConsistentObjectDefinition": { | ||||
|           "level": "warn", | ||||
|           "options": { | ||||
|             "syntax": "explicit" | ||||
|           } | ||||
|         }, | ||||
|         "useConsistentResponse": "warn", | ||||
|         "useExhaustiveSwitchCases": "warn", | ||||
|         "useExplicitType": "warn", | ||||
|         "useIndexOf": "warn", | ||||
|         "useIterableCallbackReturn": "warn", | ||||
|         "useJsonImportAttribute": "warn", | ||||
|         "useNumericSeparators": "warn", | ||||
|         "useObjectSpread": "warn", | ||||
|         "useParseIntRadix": "warn", | ||||
|         "useReadonlyClassProperties": "warn", | ||||
|         "useSingleJsDocAsterisk": "warn", | ||||
|         "useUnifiedTypeSignature": "warn" | ||||
|         "useExplicitType": "warn" | ||||
|       }, | ||||
|       "performance": { | ||||
|         "noAwaitInLoops": "error", | ||||
|         "noBarrelFile": "error", | ||||
|         "noDelete": "error", | ||||
|         "noNamespaceImport": "error", | ||||
| @ -121,22 +101,37 @@ | ||||
|             "accessibility": "explicit" | ||||
|           } | ||||
|         }, | ||||
|         "useConsistentObjectDefinitions": { | ||||
|           "level": "error", | ||||
|           "options": { | ||||
|             "syntax": "explicit" | ||||
|           } | ||||
|         }, | ||||
|         "useDefaultSwitchClause": "error", | ||||
|         "useExplicitLengthCheck": "error", | ||||
|         "useForOf": "error", | ||||
|         "useGroupedAccessorPairs": "error", | ||||
|         "useNumberNamespace": "error", | ||||
|         "useNumericSeparators": "error", | ||||
|         "useObjectSpread": "error", | ||||
|         "useReadonlyClassProperties": "error", | ||||
|         "useShorthandAssign": "error", | ||||
|         "useSingleVarDeclarator": "error", | ||||
|         "useThrowNewError": "error", | ||||
|         "useThrowOnlyError": "error", | ||||
|         "useTrimStartEnd": "error" | ||||
|         "useTrimStartEnd": "error", | ||||
|         "useUnifiedTypeSignatures": "error" | ||||
|       }, | ||||
|       "suspicious": { | ||||
|         "noAlert": "error", | ||||
|         "noBitwiseOperators": "error", | ||||
|         "noConstantBinaryExpressions": "error", | ||||
|         "noEmptyBlockStatements": "error", | ||||
|         "noEvolvingTypes": "error", | ||||
|         "noUnassignedVariables": "error", | ||||
|         "noVar": "error", | ||||
|         "useNumberToFixedDigitsArgument": "error" | ||||
|         "useNumberToFixedDigitsArgument": "error", | ||||
|         "useStaticResponseMethods": "error" | ||||
|       } | ||||
|     } | ||||
|   }, | ||||
|  | ||||
							
								
								
									
										356
									
								
								client/simple/package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										356
									
								
								client/simple/package-lock.json
									
									
									
										generated
									
									
									
								
							| @ -15,22 +15,22 @@ | ||||
|         "swiped-events": "1.2.0" | ||||
|       }, | ||||
|       "devDependencies": { | ||||
|         "@biomejs/biome": "2.1.3", | ||||
|         "@types/node": "~24.2.0", | ||||
|         "browserslist": "~4.25.0", | ||||
|         "@biomejs/biome": "2.2.0", | ||||
|         "@types/node": "~24.3.0", | ||||
|         "browserslist": "~4.25.2", | ||||
|         "browserslist-to-esbuild": "~2.1.0", | ||||
|         "edge.js": "~6.2.0", | ||||
|         "edge.js": "~6.3.0", | ||||
|         "less": "~4.4.0", | ||||
|         "lightningcss": "~1.30.0", | ||||
|         "sharp": "~0.34.0", | ||||
|         "sort-package-json": "~3.4.0", | ||||
|         "stylelint": "~16.23.0", | ||||
|         "stylelint": "~16.23.1", | ||||
|         "stylelint-config-standard-less": "~3.0.0", | ||||
|         "stylelint-prettier": "~5.0.0", | ||||
|         "svgo": "~4.0.0", | ||||
|         "typescript": "~5.9.0", | ||||
|         "vite": "npm:rolldown-vite@7.0.12", | ||||
|         "vite-bundle-analyzer": "~1.1.0" | ||||
|         "vite": "npm:rolldown-vite@7.1.3", | ||||
|         "vite-bundle-analyzer": "~1.2.1" | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/@babel/code-frame": { | ||||
| @ -59,9 +59,9 @@ | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/@biomejs/biome": { | ||||
|       "version": "2.1.3", | ||||
|       "resolved": "https://registry.npmjs.org/@biomejs/biome/-/biome-2.1.3.tgz", | ||||
|       "integrity": "sha512-KE/tegvJIxTkl7gJbGWSgun7G6X/n2M6C35COT6ctYrAy7SiPyNvi6JtoQERVK/VRbttZfgGq96j2bFmhmnH4w==", | ||||
|       "version": "2.2.0", | ||||
|       "resolved": "https://registry.npmjs.org/@biomejs/biome/-/biome-2.2.0.tgz", | ||||
|       "integrity": "sha512-3On3RSYLsX+n9KnoSgfoYlckYBoU6VRM22cw1gB4Y0OuUVSYd/O/2saOJMrA4HFfA1Ff0eacOvMN1yAAvHtzIw==", | ||||
|       "dev": true, | ||||
|       "license": "MIT OR Apache-2.0", | ||||
|       "bin": { | ||||
| @ -75,20 +75,20 @@ | ||||
|         "url": "https://opencollective.com/biome" | ||||
|       }, | ||||
|       "optionalDependencies": { | ||||
|         "@biomejs/cli-darwin-arm64": "2.1.3", | ||||
|         "@biomejs/cli-darwin-x64": "2.1.3", | ||||
|         "@biomejs/cli-linux-arm64": "2.1.3", | ||||
|         "@biomejs/cli-linux-arm64-musl": "2.1.3", | ||||
|         "@biomejs/cli-linux-x64": "2.1.3", | ||||
|         "@biomejs/cli-linux-x64-musl": "2.1.3", | ||||
|         "@biomejs/cli-win32-arm64": "2.1.3", | ||||
|         "@biomejs/cli-win32-x64": "2.1.3" | ||||
|         "@biomejs/cli-darwin-arm64": "2.2.0", | ||||
|         "@biomejs/cli-darwin-x64": "2.2.0", | ||||
|         "@biomejs/cli-linux-arm64": "2.2.0", | ||||
|         "@biomejs/cli-linux-arm64-musl": "2.2.0", | ||||
|         "@biomejs/cli-linux-x64": "2.2.0", | ||||
|         "@biomejs/cli-linux-x64-musl": "2.2.0", | ||||
|         "@biomejs/cli-win32-arm64": "2.2.0", | ||||
|         "@biomejs/cli-win32-x64": "2.2.0" | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/@biomejs/cli-darwin-arm64": { | ||||
|       "version": "2.1.3", | ||||
|       "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-2.1.3.tgz", | ||||
|       "integrity": "sha512-LFLkSWRoSGS1wVUD/BE6Nlt2dSn0ulH3XImzg2O/36BoToJHKXjSxzPEMAqT9QvwVtk7/9AQhZpTneERU9qaXA==", | ||||
|       "version": "2.2.0", | ||||
|       "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-2.2.0.tgz", | ||||
|       "integrity": "sha512-zKbwUUh+9uFmWfS8IFxmVD6XwqFcENjZvEyfOxHs1epjdH3wyyMQG80FGDsmauPwS2r5kXdEM0v/+dTIA9FXAg==", | ||||
|       "cpu": [ | ||||
|         "arm64" | ||||
|       ], | ||||
| @ -103,9 +103,9 @@ | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/@biomejs/cli-darwin-x64": { | ||||
|       "version": "2.1.3", | ||||
|       "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-x64/-/cli-darwin-x64-2.1.3.tgz", | ||||
|       "integrity": "sha512-Q/4OTw8P9No9QeowyxswcWdm0n2MsdCwWcc5NcKQQvzwPjwuPdf8dpPPf4r+x0RWKBtl1FLiAUtJvBlri6DnYw==", | ||||
|       "version": "2.2.0", | ||||
|       "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-x64/-/cli-darwin-x64-2.2.0.tgz", | ||||
|       "integrity": "sha512-+OmT4dsX2eTfhD5crUOPw3RPhaR+SKVspvGVmSdZ9y9O/AgL8pla6T4hOn1q+VAFBHuHhsdxDRJgFCSC7RaMOw==", | ||||
|       "cpu": [ | ||||
|         "x64" | ||||
|       ], | ||||
| @ -120,9 +120,9 @@ | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/@biomejs/cli-linux-arm64": { | ||||
|       "version": "2.1.3", | ||||
|       "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64/-/cli-linux-arm64-2.1.3.tgz", | ||||
|       "integrity": "sha512-2hS6LgylRqMFmAZCOFwYrf77QMdUwJp49oe8PX/O8+P2yKZMSpyQTf3Eo5ewnsMFUEmYbPOskafdV1ds1MZMJA==", | ||||
|       "version": "2.2.0", | ||||
|       "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64/-/cli-linux-arm64-2.2.0.tgz", | ||||
|       "integrity": "sha512-6eoRdF2yW5FnW9Lpeivh7Mayhq0KDdaDMYOJnH9aT02KuSIX5V1HmWJCQQPwIQbhDh68Zrcpl8inRlTEan0SXw==", | ||||
|       "cpu": [ | ||||
|         "arm64" | ||||
|       ], | ||||
| @ -137,9 +137,9 @@ | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/@biomejs/cli-linux-arm64-musl": { | ||||
|       "version": "2.1.3", | ||||
|       "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.1.3.tgz", | ||||
|       "integrity": "sha512-KXouFSBnoxAWZYDQrnNRzZBbt5s9UJkIm40hdvSL9mBxSSoxRFQJbtg1hP3aa8A2SnXyQHxQfpiVeJlczZt76w==", | ||||
|       "version": "2.2.0", | ||||
|       "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.2.0.tgz", | ||||
|       "integrity": "sha512-egKpOa+4FL9YO+SMUMLUvf543cprjevNc3CAgDNFLcjknuNMcZ0GLJYa3EGTCR2xIkIUJDVneBV3O9OcIlCEZQ==", | ||||
|       "cpu": [ | ||||
|         "arm64" | ||||
|       ], | ||||
| @ -154,9 +154,9 @@ | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/@biomejs/cli-linux-x64": { | ||||
|       "version": "2.1.3", | ||||
|       "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64/-/cli-linux-x64-2.1.3.tgz", | ||||
|       "integrity": "sha512-NxlSCBhLvQtWGagEztfAZ4WcE1AkMTntZV65ZvR+J9jp06+EtOYEBPQndA70ZGhHbEDG57bR6uNvqkd1WrEYVA==", | ||||
|       "version": "2.2.0", | ||||
|       "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64/-/cli-linux-x64-2.2.0.tgz", | ||||
|       "integrity": "sha512-5UmQx/OZAfJfi25zAnAGHUMuOd+LOsliIt119x2soA2gLggQYrVPA+2kMUxR6Mw5M1deUF/AWWP2qpxgH7Nyfw==", | ||||
|       "cpu": [ | ||||
|         "x64" | ||||
|       ], | ||||
| @ -171,9 +171,9 @@ | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/@biomejs/cli-linux-x64-musl": { | ||||
|       "version": "2.1.3", | ||||
|       "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-2.1.3.tgz", | ||||
|       "integrity": "sha512-KaLAxnROouzIWtl6a0Y88r/4hW5oDUJTIqQorOTVQITaKQsKjZX4XCUmHIhdEk8zMnaiLZzRTAwk1yIAl+mIew==", | ||||
|       "version": "2.2.0", | ||||
|       "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-2.2.0.tgz", | ||||
|       "integrity": "sha512-I5J85yWwUWpgJyC1CcytNSGusu2p9HjDnOPAFG4Y515hwRD0jpR9sT9/T1cKHtuCvEQ/sBvx+6zhz9l9wEJGAg==", | ||||
|       "cpu": [ | ||||
|         "x64" | ||||
|       ], | ||||
| @ -188,9 +188,9 @@ | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/@biomejs/cli-win32-arm64": { | ||||
|       "version": "2.1.3", | ||||
|       "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-arm64/-/cli-win32-arm64-2.1.3.tgz", | ||||
|       "integrity": "sha512-V9CUZCtWH4u0YwyCYbQ3W5F4ZGPWp2C2TYcsiWFNNyRfmOW1j/TY/jAurl33SaRjgZPO5UUhGyr9m6BN9t84NQ==", | ||||
|       "version": "2.2.0", | ||||
|       "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-arm64/-/cli-win32-arm64-2.2.0.tgz", | ||||
|       "integrity": "sha512-n9a1/f2CwIDmNMNkFs+JI0ZjFnMO0jdOyGNtihgUNFnlmd84yIYY2KMTBmMV58ZlVHjgmY5Y6E1hVTnSRieggA==", | ||||
|       "cpu": [ | ||||
|         "arm64" | ||||
|       ], | ||||
| @ -205,9 +205,9 @@ | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/@biomejs/cli-win32-x64": { | ||||
|       "version": "2.1.3", | ||||
|       "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-x64/-/cli-win32-x64-2.1.3.tgz", | ||||
|       "integrity": "sha512-dxy599q6lgp8ANPpR8sDMscwdp9oOumEsVXuVCVT9N2vAho8uYXlCz53JhxX6LtJOXaE73qzgkGQ7QqvFlMC0g==", | ||||
|       "version": "2.2.0", | ||||
|       "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-x64/-/cli-win32-x64-2.2.0.tgz", | ||||
|       "integrity": "sha512-Nawu5nHjP/zPKTIryh2AavzTc/KEg4um/MxWdXW0A6P/RZOyIpa7+QSjeXwAwX/utJGaCoXRPWtF3m5U/bB3Ww==", | ||||
|       "cpu": [ | ||||
|         "x64" | ||||
|       ], | ||||
| @ -814,9 +814,9 @@ | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/@napi-rs/wasm-runtime": { | ||||
|       "version": "1.0.1", | ||||
|       "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.0.1.tgz", | ||||
|       "integrity": "sha512-KVlQ/jgywZpixGCKMNwxStmmbYEMyokZpCf2YuIChhfJA2uqfAKNEM8INz7zzTo55iEXfBhIIs3VqYyqzDLj8g==", | ||||
|       "version": "1.0.3", | ||||
|       "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.0.3.tgz", | ||||
|       "integrity": "sha512-rZxtMsLwjdXkMUGC3WwsPwLNVqVqnTJT6MNIB6e+5fhMcSCPP0AOsNWuMQ5mdCq6HNjs/ZeWAEchpqeprqBD2Q==", | ||||
|       "dev": true, | ||||
|       "license": "MIT", | ||||
|       "optional": true, | ||||
| @ -865,9 +865,9 @@ | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/@oxc-project/runtime": { | ||||
|       "version": "0.78.0", | ||||
|       "resolved": "https://registry.npmjs.org/@oxc-project/runtime/-/runtime-0.78.0.tgz", | ||||
|       "integrity": "sha512-jOU7sDFMyq5ShGJC21UobalVzqcdtWGfySVp8ELvKoVLzMpLHb4kv1bs9VKxaP8XC7Z9hlAXwEKVhCTN+j21aQ==", | ||||
|       "version": "0.82.2", | ||||
|       "resolved": "https://registry.npmjs.org/@oxc-project/runtime/-/runtime-0.82.2.tgz", | ||||
|       "integrity": "sha512-cYxcj5CPn/vo5QSpCZcYzBiLidU5+GlFSqIeNaMgBDtcVRBsBJHZg3pHw999W6nHamFQ1EHuPPByB26tjaJiJw==", | ||||
|       "dev": true, | ||||
|       "license": "MIT", | ||||
|       "engines": { | ||||
| @ -875,9 +875,9 @@ | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/@oxc-project/types": { | ||||
|       "version": "0.78.0", | ||||
|       "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.78.0.tgz", | ||||
|       "integrity": "sha512-8FvExh0WRWN1FoSTjah1xa9RlavZcJQ8/yxRbZ7ElmSa2Ij5f5Em7MvRbSthE6FbwC6Wh8iAw0Gpna7QdoqLGg==", | ||||
|       "version": "0.82.2", | ||||
|       "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.82.2.tgz", | ||||
|       "integrity": "sha512-WMGSwd9FsNBs/WfqIOH0h3k1LBdjZJQGYjGnC+vla/fh6HUsu5HzGPerRljiq1hgMQ6gs031YJR12VyP57b/hQ==", | ||||
|       "dev": true, | ||||
|       "license": "MIT", | ||||
|       "funding": { | ||||
| @ -960,9 +960,9 @@ | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/@rolldown/binding-android-arm64": { | ||||
|       "version": "1.0.0-beta.30", | ||||
|       "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.0.0-beta.30.tgz", | ||||
|       "integrity": "sha512-4j7QBitb/WMT1fzdJo7BsFvVNaFR5WCQPdf/RPDHEsgQIYwBaHaL47KTZxncGFQDD1UAKN3XScJ0k7LAsZfsvg==", | ||||
|       "version": "1.0.0-beta.33", | ||||
|       "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.0.0-beta.33.tgz", | ||||
|       "integrity": "sha512-xhDQXKftRkEULIxCddrKMR8y0YO/Y+6BKk/XrQP2B29YjV2wr8DByoEz+AHX9BfLHb2srfpdN46UquBW2QXWpQ==", | ||||
|       "cpu": [ | ||||
|         "arm64" | ||||
|       ], | ||||
| @ -974,9 +974,9 @@ | ||||
|       ] | ||||
|     }, | ||||
|     "node_modules/@rolldown/binding-darwin-arm64": { | ||||
|       "version": "1.0.0-beta.30", | ||||
|       "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.0.0-beta.30.tgz", | ||||
|       "integrity": "sha512-4vWFTe1o5LXeitI2lW8qMGRxxwrH/LhKd2HDLa/QPhdxohvdnfKyDZWN96XUhDyje2bHFCFyhMs3ak2lg2mJFA==", | ||||
|       "version": "1.0.0-beta.33", | ||||
|       "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.0.0-beta.33.tgz", | ||||
|       "integrity": "sha512-7lhhY08v5ZtRq8JJQaJ49fnJombAPnqllKKCDLU/UvaqNAOEyTGC8J1WVOLC4EA4zbXO5U3CCRgVGyAFNH2VtQ==", | ||||
|       "cpu": [ | ||||
|         "arm64" | ||||
|       ], | ||||
| @ -988,9 +988,9 @@ | ||||
|       ] | ||||
|     }, | ||||
|     "node_modules/@rolldown/binding-darwin-x64": { | ||||
|       "version": "1.0.0-beta.30", | ||||
|       "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.0.0-beta.30.tgz", | ||||
|       "integrity": "sha512-MxrfodqImbsDFFFU/8LxyFPZjt7s4ht8g2Zb76EmIQ+xlmit46L9IzvWiuMpEaSJ5WbnjO7fCDWwakMGyJJ+Dw==", | ||||
|       "version": "1.0.0-beta.33", | ||||
|       "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.0.0-beta.33.tgz", | ||||
|       "integrity": "sha512-U2iGjcDV7NWyYyhap8YuY0nwrLX6TvX/9i7gBtdEMPm9z3wIUVGNMVdGlA43uqg7xDpRGpEqGnxbeDgiEwYdnA==", | ||||
|       "cpu": [ | ||||
|         "x64" | ||||
|       ], | ||||
| @ -1002,9 +1002,9 @@ | ||||
|       ] | ||||
|     }, | ||||
|     "node_modules/@rolldown/binding-freebsd-x64": { | ||||
|       "version": "1.0.0-beta.30", | ||||
|       "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.0.0-beta.30.tgz", | ||||
|       "integrity": "sha512-c/TQXcATKoO8qE1bCjCOkymZTu7yVUAxBSNLp42Q97XHCb0Cu9v6MjZpB6c7Hq9NQ9NzW44uglak9D/r77JeDw==", | ||||
|       "version": "1.0.0-beta.33", | ||||
|       "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.0.0-beta.33.tgz", | ||||
|       "integrity": "sha512-gd6ASromVHFLlzrjJWMG5CXHkS7/36DEZ8HhvGt2NN8eZALCIuyEx8HMMLqvKA7z4EAztVkdToVrdxpGMsKZxw==", | ||||
|       "cpu": [ | ||||
|         "x64" | ||||
|       ], | ||||
| @ -1016,9 +1016,9 @@ | ||||
|       ] | ||||
|     }, | ||||
|     "node_modules/@rolldown/binding-linux-arm-gnueabihf": { | ||||
|       "version": "1.0.0-beta.30", | ||||
|       "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.0.0-beta.30.tgz", | ||||
|       "integrity": "sha512-Vxci4xylM11zVqvrmezAaRjGBDyOlMRtlt7TDgxaBmSYLuiokXbZpD8aoSuOyjUAeN0/tmWItkxNGQza8UWGNQ==", | ||||
|       "version": "1.0.0-beta.33", | ||||
|       "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.0.0-beta.33.tgz", | ||||
|       "integrity": "sha512-xmeLfkfGthuynO1EpCdyTVr0r4G+wqvnKCuyR6rXOet+hLrq5HNAC2XtP/jU2TB4Bc6aiLYxl868B8CGtFDhcw==", | ||||
|       "cpu": [ | ||||
|         "arm" | ||||
|       ], | ||||
| @ -1030,9 +1030,9 @@ | ||||
|       ] | ||||
|     }, | ||||
|     "node_modules/@rolldown/binding-linux-arm64-gnu": { | ||||
|       "version": "1.0.0-beta.30", | ||||
|       "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.0.0-beta.30.tgz", | ||||
|       "integrity": "sha512-iEBEdSs25Ol0lXyVNs763f7YPAIP0t1EAjoXME81oJ94DesJslaLTj71Rn1shoMDVA+dfkYA286w5uYnOs9ZNA==", | ||||
|       "version": "1.0.0-beta.33", | ||||
|       "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.0.0-beta.33.tgz", | ||||
|       "integrity": "sha512-cHGp8yfHL4pes6uaLbO5L58ceFkUK4efd8iE86jClD1QPPDLKiqEXJCFYeuK3OfODuF5EBOmf0SlcUZNEYGdmw==", | ||||
|       "cpu": [ | ||||
|         "arm64" | ||||
|       ], | ||||
| @ -1044,9 +1044,9 @@ | ||||
|       ] | ||||
|     }, | ||||
|     "node_modules/@rolldown/binding-linux-arm64-musl": { | ||||
|       "version": "1.0.0-beta.30", | ||||
|       "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.0.0-beta.30.tgz", | ||||
|       "integrity": "sha512-Ny684Sn1X8c+gGLuDlxkOuwiEE3C7eEOqp1/YVBzQB4HO7U/b4n7alvHvShboOEY5DP1fFUjq6Z+sBLYlCIZbQ==", | ||||
|       "version": "1.0.0-beta.33", | ||||
|       "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.0.0-beta.33.tgz", | ||||
|       "integrity": "sha512-wZ1t7JAvVeFgskH1L9y7c47ITitPytpL0s8FmAT8pVfXcaTmS58ZyoXT+y6cz8uCkQnETjrX3YezTGI18u3ecg==", | ||||
|       "cpu": [ | ||||
|         "arm64" | ||||
|       ], | ||||
| @ -1057,24 +1057,10 @@ | ||||
|         "linux" | ||||
|       ] | ||||
|     }, | ||||
|     "node_modules/@rolldown/binding-linux-arm64-ohos": { | ||||
|       "version": "1.0.0-beta.30", | ||||
|       "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-ohos/-/binding-linux-arm64-ohos-1.0.0-beta.30.tgz", | ||||
|       "integrity": "sha512-6moyULHDPKwt5RDEV72EqYw5n+s46AerTwtEBau5wCsZd1wuHS1L9z6wqhKISXAFTK9sneN0TEjvYKo+sgbbiA==", | ||||
|       "cpu": [ | ||||
|         "arm64" | ||||
|       ], | ||||
|       "dev": true, | ||||
|       "license": "MIT", | ||||
|       "optional": true, | ||||
|       "os": [ | ||||
|         "openharmony" | ||||
|       ] | ||||
|     }, | ||||
|     "node_modules/@rolldown/binding-linux-x64-gnu": { | ||||
|       "version": "1.0.0-beta.30", | ||||
|       "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.0.0-beta.30.tgz", | ||||
|       "integrity": "sha512-p0yoPdoGg5Ow2YZKKB5Ypbn58i7u4XFk3PvMkriFnEcgtVk40c5u7miaX7jH0JdzahyXVBJ/KT5yEpJrzQn8yg==", | ||||
|       "version": "1.0.0-beta.33", | ||||
|       "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.0.0-beta.33.tgz", | ||||
|       "integrity": "sha512-cDndWo3VEYbm7yeujOV6Ie2XHz0K8YX/R/vbNmMo03m1QwtBKKvbYNSyJb3B9+8igltDjd8zNM9mpiNNrq/ekQ==", | ||||
|       "cpu": [ | ||||
|         "x64" | ||||
|       ], | ||||
| @ -1086,9 +1072,9 @@ | ||||
|       ] | ||||
|     }, | ||||
|     "node_modules/@rolldown/binding-linux-x64-musl": { | ||||
|       "version": "1.0.0-beta.30", | ||||
|       "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.0.0-beta.30.tgz", | ||||
|       "integrity": "sha512-sM/KhCrsT0YdHX10mFSr0cvbfk1+btG6ftepAfqhbcDfhi0s65J4dTOxGmklJnJL9i1LXZ8WA3N4wmnqsfoK8Q==", | ||||
|       "version": "1.0.0-beta.33", | ||||
|       "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.0.0-beta.33.tgz", | ||||
|       "integrity": "sha512-bl7uzi6es/l6LT++NZcBpiX43ldLyKXCPwEZGY1rZJ99HQ7m1g3KxWwYCcGxtKjlb2ExVvDZicF6k+96vxOJKg==", | ||||
|       "cpu": [ | ||||
|         "x64" | ||||
|       ], | ||||
| @ -1099,10 +1085,24 @@ | ||||
|         "linux" | ||||
|       ] | ||||
|     }, | ||||
|     "node_modules/@rolldown/binding-openharmony-arm64": { | ||||
|       "version": "1.0.0-beta.33", | ||||
|       "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.0.0-beta.33.tgz", | ||||
|       "integrity": "sha512-TrgzQanpLgcmmzolCbYA9BPZgF1gYxkIGZhU/HROnJPsq67gcyaYw/JBLioqQLjIwMipETkn25YY799D2OZzJA==", | ||||
|       "cpu": [ | ||||
|         "arm64" | ||||
|       ], | ||||
|       "dev": true, | ||||
|       "license": "MIT", | ||||
|       "optional": true, | ||||
|       "os": [ | ||||
|         "openharmony" | ||||
|       ] | ||||
|     }, | ||||
|     "node_modules/@rolldown/binding-wasm32-wasi": { | ||||
|       "version": "1.0.0-beta.30", | ||||
|       "resolved": "https://registry.npmjs.org/@rolldown/binding-wasm32-wasi/-/binding-wasm32-wasi-1.0.0-beta.30.tgz", | ||||
|       "integrity": "sha512-i3kD5OWs8PQP0V+JW3TFyCLuyjuNzrB45em0g84Jc+gvnDsGVlzVjMNPo7txE/yT8CfE90HC/lDs3ry9FvaUyw==", | ||||
|       "version": "1.0.0-beta.33", | ||||
|       "resolved": "https://registry.npmjs.org/@rolldown/binding-wasm32-wasi/-/binding-wasm32-wasi-1.0.0-beta.33.tgz", | ||||
|       "integrity": "sha512-z0LltdUfvoKak9SuaLz/M9AVSg+RTOZjFksbZXzC6Svl1odyW4ai21VHhZy3m2Faeeb/rl/9efVLayj+qYEGxw==", | ||||
|       "cpu": [ | ||||
|         "wasm32" | ||||
|       ], | ||||
| @ -1110,16 +1110,16 @@ | ||||
|       "license": "MIT", | ||||
|       "optional": true, | ||||
|       "dependencies": { | ||||
|         "@napi-rs/wasm-runtime": "^1.0.1" | ||||
|         "@napi-rs/wasm-runtime": "^1.0.3" | ||||
|       }, | ||||
|       "engines": { | ||||
|         "node": ">=14.0.0" | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/@rolldown/binding-win32-arm64-msvc": { | ||||
|       "version": "1.0.0-beta.30", | ||||
|       "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.0.0-beta.30.tgz", | ||||
|       "integrity": "sha512-q7mrYln30V35VrCqnBVQQvNPQm8Om9HC59I3kMYiOWogvJobzSPyO+HA1MP363+Qgwe39I2I1nqBKPOtWZ33AQ==", | ||||
|       "version": "1.0.0-beta.33", | ||||
|       "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.0.0-beta.33.tgz", | ||||
|       "integrity": "sha512-CpvOHyqDNOYx9riD4giyXQDIu72bWRU2Dwt1xFSPlBudk6NumK0OJl6Ch+LPnkp5podQHcQg0mMauAXPVKct7g==", | ||||
|       "cpu": [ | ||||
|         "arm64" | ||||
|       ], | ||||
| @ -1131,9 +1131,9 @@ | ||||
|       ] | ||||
|     }, | ||||
|     "node_modules/@rolldown/binding-win32-ia32-msvc": { | ||||
|       "version": "1.0.0-beta.30", | ||||
|       "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-ia32-msvc/-/binding-win32-ia32-msvc-1.0.0-beta.30.tgz", | ||||
|       "integrity": "sha512-nUqGBt39XTpbBEREEnyKofdP3uz+SN/x2884BH+N3B2NjSUrP6NXwzltM35C0wKK42hX/nthRrwSgj715m99Jw==", | ||||
|       "version": "1.0.0-beta.33", | ||||
|       "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-ia32-msvc/-/binding-win32-ia32-msvc-1.0.0-beta.33.tgz", | ||||
|       "integrity": "sha512-/tNTvZTWHz6HiVuwpR3zR0kGIyCNb+/tFhnJmti+Aw2fAXs3l7Aj0DcXd0646eFKMX8L2w5hOW9H08FXTUkN0g==", | ||||
|       "cpu": [ | ||||
|         "ia32" | ||||
|       ], | ||||
| @ -1145,9 +1145,9 @@ | ||||
|       ] | ||||
|     }, | ||||
|     "node_modules/@rolldown/binding-win32-x64-msvc": { | ||||
|       "version": "1.0.0-beta.30", | ||||
|       "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.0.0-beta.30.tgz", | ||||
|       "integrity": "sha512-lbnvUwAXIVWSXAeZrCa4b1KvV/DW0rBnMHuX0T7I6ey1IsXZ90J37dEgt3j48Ex1Cw1E+5H7VDNP2gyOX8iu3w==", | ||||
|       "version": "1.0.0-beta.33", | ||||
|       "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.0.0-beta.33.tgz", | ||||
|       "integrity": "sha512-Bb2qK3z7g2mf4zaKRvkohHzweaP1lLbaoBmXZFkY6jJWMm0Z8Pfnh8cOoRlH1IVM1Ufbo8ZZ1WXp1LbOpRMtXw==", | ||||
|       "cpu": [ | ||||
|         "x64" | ||||
|       ], | ||||
| @ -1159,9 +1159,9 @@ | ||||
|       ] | ||||
|     }, | ||||
|     "node_modules/@rolldown/pluginutils": { | ||||
|       "version": "1.0.0-beta.30", | ||||
|       "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-beta.30.tgz", | ||||
|       "integrity": "sha512-whXaSoNUFiyDAjkUF8OBpOm77Szdbk5lGNqFe6CbVbJFrhCCPinCbRA3NjawwlNHla1No7xvXXh+CpSxnPfUEw==", | ||||
|       "version": "1.0.0-beta.33", | ||||
|       "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-beta.33.tgz", | ||||
|       "integrity": "sha512-she25NCG6NoEPC/SEB4pHs5STcnfI4VBFOzjeI63maSPrWME5J2XC8ogrBgp8NaE/xzj28/kbpSaebiMvFRj+w==", | ||||
|       "dev": true, | ||||
|       "license": "MIT" | ||||
|     }, | ||||
| @ -1311,9 +1311,9 @@ | ||||
|       "license": "MIT" | ||||
|     }, | ||||
|     "node_modules/@types/node": { | ||||
|       "version": "24.2.0", | ||||
|       "resolved": "https://registry.npmjs.org/@types/node/-/node-24.2.0.tgz", | ||||
|       "integrity": "sha512-3xyG3pMCq3oYCNg7/ZP+E1ooTaGB4cG8JWRsqqOYQdbWNY4zbaV0Ennrd7stjiJEFZCaybcIgpTjJWHRfBSIDw==", | ||||
|       "version": "24.3.0", | ||||
|       "resolved": "https://registry.npmjs.org/@types/node/-/node-24.3.0.tgz", | ||||
|       "integrity": "sha512-aPTXCrfwnDLj4VvXrm+UUCQjNEvJgNA8s5F1cvwQU+3KNltTOkBm1j30uNLyqqPNe7gE3KFzImYoZEfLhp4Yow==", | ||||
|       "dev": true, | ||||
|       "license": "MIT", | ||||
|       "dependencies": { | ||||
| @ -1464,9 +1464,9 @@ | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/browserslist": { | ||||
|       "version": "4.25.1", | ||||
|       "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.25.1.tgz", | ||||
|       "integrity": "sha512-KGj0KoOMXLpSNkkEI6Z6mShmQy0bc1I+T7K9N81k4WWMrfz+6fQ6es80B/YLAeRoKvjYE1YSHHOW1qe9xIVzHw==", | ||||
|       "version": "4.25.2", | ||||
|       "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.25.2.tgz", | ||||
|       "integrity": "sha512-0si2SJK3ooGzIawRu61ZdPCO1IncZwS8IzuX73sPZsXW6EQ/w/DAfPyKI8l1ETTCr2MnvqWitmlCUxgdul45jA==", | ||||
|       "dev": true, | ||||
|       "funding": [ | ||||
|         { | ||||
| @ -1484,8 +1484,8 @@ | ||||
|       ], | ||||
|       "license": "MIT", | ||||
|       "dependencies": { | ||||
|         "caniuse-lite": "^1.0.30001726", | ||||
|         "electron-to-chromium": "^1.5.173", | ||||
|         "caniuse-lite": "^1.0.30001733", | ||||
|         "electron-to-chromium": "^1.5.199", | ||||
|         "node-releases": "^2.0.19", | ||||
|         "update-browserslist-db": "^1.1.3" | ||||
|       }, | ||||
| @ -1526,14 +1526,14 @@ | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/cacheable": { | ||||
|       "version": "1.10.3", | ||||
|       "resolved": "https://registry.npmjs.org/cacheable/-/cacheable-1.10.3.tgz", | ||||
|       "integrity": "sha512-M6p10iJ/VT0wT7TLIGUnm958oVrU2cUK8pQAVU21Zu7h8rbk/PeRtRWrvHJBql97Bhzk3g1N6+2VKC+Rjxna9Q==", | ||||
|       "version": "1.10.4", | ||||
|       "resolved": "https://registry.npmjs.org/cacheable/-/cacheable-1.10.4.tgz", | ||||
|       "integrity": "sha512-Gd7ccIUkZ9TE2odLQVS+PDjIvQCdJKUlLdJRVvZu0aipj07Qfx+XIej7hhDrKGGoIxV5m5fT/kOJNJPQhQneRg==", | ||||
|       "dev": true, | ||||
|       "license": "MIT", | ||||
|       "dependencies": { | ||||
|         "hookified": "^1.10.0", | ||||
|         "keyv": "^5.4.0" | ||||
|         "hookified": "^1.11.0", | ||||
|         "keyv": "^5.5.0" | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/callsites": { | ||||
| @ -1547,9 +1547,9 @@ | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/caniuse-lite": { | ||||
|       "version": "1.0.30001731", | ||||
|       "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001731.tgz", | ||||
|       "integrity": "sha512-lDdp2/wrOmTRWuoB5DpfNkC0rJDU8DqRa6nYL6HK6sytw70QMopt/NIc/9SM7ylItlBWfACXk0tEn37UWM/+mg==", | ||||
|       "version": "1.0.30001735", | ||||
|       "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001735.tgz", | ||||
|       "integrity": "sha512-EV/laoX7Wq2J9TQlyIXRxTJqIw4sxfXS4OYgudGxBYRuTv0q7AM6yMEpU/Vo1I94thg9U6EZ2NfZx9GJq83u7w==", | ||||
|       "dev": true, | ||||
|       "funding": [ | ||||
|         { | ||||
| @ -1962,9 +1962,9 @@ | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/edge.js": { | ||||
|       "version": "6.2.1", | ||||
|       "resolved": "https://registry.npmjs.org/edge.js/-/edge.js-6.2.1.tgz", | ||||
|       "integrity": "sha512-me875zh6YA0V429hywgQIpHgMvQkondv5XHaP6EsL2yIBpLcBWCl7Ba1cai0SwYhp8iD0IyV3KjpxLrnW7S2Ag==", | ||||
|       "version": "6.3.0", | ||||
|       "resolved": "https://registry.npmjs.org/edge.js/-/edge.js-6.3.0.tgz", | ||||
|       "integrity": "sha512-Xm7XW6J2+6cvfRK6AJEKV5hBF230iCvwQRg5wattg+RAzQ6tRwWSe4gqCsvvCaHt4xp10xkm8+ZdhApF1FVCzA==", | ||||
|       "dev": true, | ||||
|       "license": "MIT", | ||||
|       "dependencies": { | ||||
| @ -1986,9 +1986,9 @@ | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/electron-to-chromium": { | ||||
|       "version": "1.5.197", | ||||
|       "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.197.tgz", | ||||
|       "integrity": "sha512-m1xWB3g7vJ6asIFz+2pBUbq3uGmfmln1M9SSvBe4QIFWYrRHylP73zL/3nMjDmwz8V+1xAXQDfBd6+HPW0WvDQ==", | ||||
|       "version": "1.5.204", | ||||
|       "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.204.tgz", | ||||
|       "integrity": "sha512-s9VbBXWxfDrl67PlO4avwh0/GU2vcwx8Fph3wlR8LJl7ySGYId59EFE17VWVcuC3sLWNPENm6Z/uGqKbkPCcXA==", | ||||
|       "dev": true, | ||||
|       "license": "ISC" | ||||
|     }, | ||||
| @ -2145,13 +2145,13 @@ | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/file-entry-cache": { | ||||
|       "version": "10.1.3", | ||||
|       "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-10.1.3.tgz", | ||||
|       "integrity": "sha512-D+w75Ub8T55yor7fPgN06rkCAUbAYw2vpxJmmjv/GDAcvCnv9g7IvHhIZoxzRZThrXPFI2maeY24pPbtyYU7Lg==", | ||||
|       "version": "10.1.4", | ||||
|       "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-10.1.4.tgz", | ||||
|       "integrity": "sha512-5XRUFc0WTtUbjfGzEwXc42tiGxQHBmtbUG1h9L2apu4SulCGN3Hqm//9D6FAolf8MYNL7f/YlJl9vy08pj5JuA==", | ||||
|       "dev": true, | ||||
|       "license": "MIT", | ||||
|       "dependencies": { | ||||
|         "flat-cache": "^6.1.12" | ||||
|         "flat-cache": "^6.1.13" | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/fill-range": { | ||||
| @ -2168,15 +2168,15 @@ | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/flat-cache": { | ||||
|       "version": "6.1.12", | ||||
|       "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-6.1.12.tgz", | ||||
|       "integrity": "sha512-U+HqqpZPPXP5d24bWuRzjGqVqUcw64k4nZAbruniDwdRg0H10tvN7H6ku1tjhA4rg5B9GS3siEvwO2qjJJ6f8Q==", | ||||
|       "version": "6.1.13", | ||||
|       "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-6.1.13.tgz", | ||||
|       "integrity": "sha512-gmtS2PaUjSPa4zjObEIn4WWliKyZzYljgxODBfxugpK6q6HU9ClXzgCJ+nlcPKY9Bt090ypTOLIFWkV0jbKFjw==", | ||||
|       "dev": true, | ||||
|       "license": "MIT", | ||||
|       "dependencies": { | ||||
|         "cacheable": "^1.10.3", | ||||
|         "cacheable": "^1.10.4", | ||||
|         "flatted": "^3.3.3", | ||||
|         "hookified": "^1.10.0" | ||||
|         "hookified": "^1.11.0" | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/flatted": { | ||||
| @ -3445,35 +3445,35 @@ | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/rolldown": { | ||||
|       "version": "1.0.0-beta.30", | ||||
|       "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.0.0-beta.30.tgz", | ||||
|       "integrity": "sha512-H/LmDTUPlm65hWOTjXvd1k0qrGinNi8LrG3JsHVm6Oit7STg0upBmgoG5PZUHbAnGTHr0MLoLyzjmH261lIqSg==", | ||||
|       "version": "1.0.0-beta.33", | ||||
|       "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.0.0-beta.33.tgz", | ||||
|       "integrity": "sha512-mgu118ZuRguC8unhPCbdZbyRbjQfEMiWqlojBA5aRIncBelRaBomnHNpGKYkYWeK7twRz5Cql30xgqqrA3Xelw==", | ||||
|       "dev": true, | ||||
|       "license": "MIT", | ||||
|       "dependencies": { | ||||
|         "@oxc-project/runtime": "=0.78.0", | ||||
|         "@oxc-project/types": "=0.78.0", | ||||
|         "@rolldown/pluginutils": "1.0.0-beta.30", | ||||
|         "@oxc-project/runtime": "=0.82.2", | ||||
|         "@oxc-project/types": "=0.82.2", | ||||
|         "@rolldown/pluginutils": "1.0.0-beta.33", | ||||
|         "ansis": "^4.0.0" | ||||
|       }, | ||||
|       "bin": { | ||||
|         "rolldown": "bin/cli.mjs" | ||||
|       }, | ||||
|       "optionalDependencies": { | ||||
|         "@rolldown/binding-android-arm64": "1.0.0-beta.30", | ||||
|         "@rolldown/binding-darwin-arm64": "1.0.0-beta.30", | ||||
|         "@rolldown/binding-darwin-x64": "1.0.0-beta.30", | ||||
|         "@rolldown/binding-freebsd-x64": "1.0.0-beta.30", | ||||
|         "@rolldown/binding-linux-arm-gnueabihf": "1.0.0-beta.30", | ||||
|         "@rolldown/binding-linux-arm64-gnu": "1.0.0-beta.30", | ||||
|         "@rolldown/binding-linux-arm64-musl": "1.0.0-beta.30", | ||||
|         "@rolldown/binding-linux-arm64-ohos": "1.0.0-beta.30", | ||||
|         "@rolldown/binding-linux-x64-gnu": "1.0.0-beta.30", | ||||
|         "@rolldown/binding-linux-x64-musl": "1.0.0-beta.30", | ||||
|         "@rolldown/binding-wasm32-wasi": "1.0.0-beta.30", | ||||
|         "@rolldown/binding-win32-arm64-msvc": "1.0.0-beta.30", | ||||
|         "@rolldown/binding-win32-ia32-msvc": "1.0.0-beta.30", | ||||
|         "@rolldown/binding-win32-x64-msvc": "1.0.0-beta.30" | ||||
|         "@rolldown/binding-android-arm64": "1.0.0-beta.33", | ||||
|         "@rolldown/binding-darwin-arm64": "1.0.0-beta.33", | ||||
|         "@rolldown/binding-darwin-x64": "1.0.0-beta.33", | ||||
|         "@rolldown/binding-freebsd-x64": "1.0.0-beta.33", | ||||
|         "@rolldown/binding-linux-arm-gnueabihf": "1.0.0-beta.33", | ||||
|         "@rolldown/binding-linux-arm64-gnu": "1.0.0-beta.33", | ||||
|         "@rolldown/binding-linux-arm64-musl": "1.0.0-beta.33", | ||||
|         "@rolldown/binding-linux-x64-gnu": "1.0.0-beta.33", | ||||
|         "@rolldown/binding-linux-x64-musl": "1.0.0-beta.33", | ||||
|         "@rolldown/binding-openharmony-arm64": "1.0.0-beta.33", | ||||
|         "@rolldown/binding-wasm32-wasi": "1.0.0-beta.33", | ||||
|         "@rolldown/binding-win32-arm64-msvc": "1.0.0-beta.33", | ||||
|         "@rolldown/binding-win32-ia32-msvc": "1.0.0-beta.33", | ||||
|         "@rolldown/binding-win32-x64-msvc": "1.0.0-beta.33" | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/run-parallel": { | ||||
| @ -3778,9 +3778,9 @@ | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/stylelint": { | ||||
|       "version": "16.23.0", | ||||
|       "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-16.23.0.tgz", | ||||
|       "integrity": "sha512-69T5aS2LUY306ekt1Q1oaSPwz/jaG9HjyMix3UMrai1iEbuOafBe2Dh8xlyczrxFAy89qcKyZWWtc42XLx3Bbw==", | ||||
|       "version": "16.23.1", | ||||
|       "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-16.23.1.tgz", | ||||
|       "integrity": "sha512-dNvDTsKV1U2YtiUDfe9d2gp902veFeo3ecCWdGlmLm2WFrAV0+L5LoOj/qHSBABQwMsZPJwfC4bf39mQm1S5zw==", | ||||
|       "dev": true, | ||||
|       "funding": [ | ||||
|         { | ||||
| @ -4055,11 +4055,14 @@ | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/tinyglobby/node_modules/fdir": { | ||||
|       "version": "6.4.6", | ||||
|       "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.4.6.tgz", | ||||
|       "integrity": "sha512-hiFoqpyZcfNm1yc4u8oWCf9A2c4D3QjCrks3zmoVKVxpQRzmPNar1hUJcBG2RQHvEVGDN+Jm81ZheVLAQMK6+w==", | ||||
|       "version": "6.5.0", | ||||
|       "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", | ||||
|       "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", | ||||
|       "dev": true, | ||||
|       "license": "MIT", | ||||
|       "engines": { | ||||
|         "node": ">=12.0.0" | ||||
|       }, | ||||
|       "peerDependencies": { | ||||
|         "picomatch": "^3 || ^4" | ||||
|       }, | ||||
| @ -4170,9 +4173,9 @@ | ||||
|     }, | ||||
|     "node_modules/vite": { | ||||
|       "name": "rolldown-vite", | ||||
|       "version": "7.0.12", | ||||
|       "resolved": "https://registry.npmjs.org/rolldown-vite/-/rolldown-vite-7.0.12.tgz", | ||||
|       "integrity": "sha512-Gr40FRnE98FwPJcMwcJgBwP6U7Qxw/VEtDsFdFjvGUTdgI/tTmF7z7dbVo/ajItM54G+Zo9w5BIrUmat6MbuWQ==", | ||||
|       "version": "7.1.3", | ||||
|       "resolved": "https://registry.npmjs.org/rolldown-vite/-/rolldown-vite-7.1.3.tgz", | ||||
|       "integrity": "sha512-J22JlCJQbIRxR6KGwpf76Uq3R4wk6avQHCijXGPsXsbVpPt+Uavg5M5dvzP7XdlAKL8uZE5Xof9j4Y9yu+cxxg==", | ||||
|       "dev": true, | ||||
|       "license": "MIT", | ||||
|       "dependencies": { | ||||
| @ -4180,7 +4183,7 @@ | ||||
|         "lightningcss": "^1.30.1", | ||||
|         "picomatch": "^4.0.3", | ||||
|         "postcss": "^8.5.6", | ||||
|         "rolldown": "1.0.0-beta.30", | ||||
|         "rolldown": "1.0.0-beta.33", | ||||
|         "tinyglobby": "^0.2.14" | ||||
|       }, | ||||
|       "bin": { | ||||
| @ -4245,9 +4248,9 @@ | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/vite-bundle-analyzer": { | ||||
|       "version": "1.1.0", | ||||
|       "resolved": "https://registry.npmjs.org/vite-bundle-analyzer/-/vite-bundle-analyzer-1.1.0.tgz", | ||||
|       "integrity": "sha512-f/9m+6S5yPOHf/QS00rLOkyQ0icZeF67roM3O5LZZMPTOZFU1bHJTptNHCKMJc2yxXzj0Hunwcetrc+vM2LEQQ==", | ||||
|       "version": "1.2.1", | ||||
|       "resolved": "https://registry.npmjs.org/vite-bundle-analyzer/-/vite-bundle-analyzer-1.2.1.tgz", | ||||
|       "integrity": "sha512-dpJMQBnVjieMirpHILmgGsZAWU8fGyqK3ckj6O48wdy3fARlH7Mnz7BfYFUsd3ZdbuXjsYe7t5I/q2zsMOd5ig==", | ||||
|       "dev": true, | ||||
|       "license": "MIT", | ||||
|       "bin": { | ||||
| @ -4255,11 +4258,14 @@ | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/vite/node_modules/fdir": { | ||||
|       "version": "6.4.6", | ||||
|       "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.4.6.tgz", | ||||
|       "integrity": "sha512-hiFoqpyZcfNm1yc4u8oWCf9A2c4D3QjCrks3zmoVKVxpQRzmPNar1hUJcBG2RQHvEVGDN+Jm81ZheVLAQMK6+w==", | ||||
|       "version": "6.5.0", | ||||
|       "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", | ||||
|       "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", | ||||
|       "dev": true, | ||||
|       "license": "MIT", | ||||
|       "engines": { | ||||
|         "node": ">=12.0.0" | ||||
|       }, | ||||
|       "peerDependencies": { | ||||
|         "picomatch": "^3 || ^4" | ||||
|       }, | ||||
|  | ||||
| @ -31,21 +31,21 @@ | ||||
|     "swiped-events": "1.2.0" | ||||
|   }, | ||||
|   "devDependencies": { | ||||
|     "@biomejs/biome": "2.1.3", | ||||
|     "@types/node": "~24.2.0", | ||||
|     "browserslist": "~4.25.0", | ||||
|     "@biomejs/biome": "2.2.0", | ||||
|     "@types/node": "~24.3.0", | ||||
|     "browserslist": "~4.25.2", | ||||
|     "browserslist-to-esbuild": "~2.1.0", | ||||
|     "edge.js": "~6.2.0", | ||||
|     "edge.js": "~6.3.0", | ||||
|     "less": "~4.4.0", | ||||
|     "lightningcss": "~1.30.0", | ||||
|     "sharp": "~0.34.0", | ||||
|     "sort-package-json": "~3.4.0", | ||||
|     "stylelint": "~16.23.0", | ||||
|     "stylelint": "~16.23.1", | ||||
|     "stylelint-config-standard-less": "~3.0.0", | ||||
|     "stylelint-prettier": "~5.0.0", | ||||
|     "svgo": "~4.0.0", | ||||
|     "typescript": "~5.9.0", | ||||
|     "vite": "npm:rolldown-vite@7.0.12", | ||||
|     "vite-bundle-analyzer": "~1.1.0" | ||||
|     "vite": "npm:rolldown-vite@7.1.3", | ||||
|     "vite-bundle-analyzer": "~1.2.1" | ||||
|   } | ||||
| } | ||||
|  | ||||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| @ -1 +1 @@ | ||||
| {"version":3,"mappings":";iDAIA,EAAO,QAAS,oBAAqB,eAAmCA,EAAc,CACpF,EAAM,gBAAgB,CACtB,KAAK,UAAU,OAAO,mBAAmB,CAEzC,GAAM,CACJ,OACA,QACA,YACA,cACA,MACA,eACA,QACA,SACA,OACA,SACA,aACA,UACA,UACA,QACD,sBAfK,CACJ,OACA,QACA,YACA,cACA,MACA,eACA,QACA,SACA,OACA,SACA,aACA,UACA,UACA,QACD,CAAG,MAAM,OAAO,sBAdf,OACA,QACA,YACA,cACA,MACA,eACA,QACA,SACA,OACA,SACA,aACA,UACA,UACA,oBAEF,mBAAO,uBAEP,GAAM,CAAE,cAAe,EAAQ,SAAQ,SAAQ,aAAY,CAAG,KAAK,QAE7D,EAAM,OAAO,WAAW,GAAU,IAAI,CACtC,EAAM,OAAO,WAAW,GAAU,IAAI,CACtC,EAAO,IAAI,EAAK,CAAE,QAAS,GAAI,eAAgB,EAAO,GACtD,EAAM,IAAI,EAAM,CACZ,SACR,OAAQ,CAAC,IAAI,EAAU,CAAE,OAAQ,IAAI,EAAI,CAAE,QAAS,EAAI,EAAG,EAAE,EACvD,MACP,GAED,GAAI,CACF,IAAM,EAAe,IAAI,EAAa,CACpC,SAAU,CACR,IAAI,EAAQ,CACV,SAAU,IAAI,EAAM,EAAW,CAAC,EAAK,CAAI,EAAC,CAC3C,EACF,CACF,GAEK,EAAc,IAAI,EAAY,CAClC,OAAQ,EACR,MAAO,IAAI,EAAM,CACf,MAAO,IAAI,EAAO,CAChB,OAAQ,EACR,KAAM,IAAI,EAAK,CAAE,MAAO,SAAW,EACpC,EACF,EACF,GAED,EAAI,SAAS,EAAY,CAC1B,MAAQ,EAAO,CACd,QAAQ,MAAM,iCAAkC,EAAM,CAGxD,GAAI,EACF,GAAI,CACF,IAAM,EAAY,IAAI,EAAa,CACjC,SAAU,IAAI,IAAU,aAAa,KAAK,MAAM,EAAW,CAAE,CAC3D,eAAgB,YAChB,kBAAmB,WACpB,EAAC,CACH,EAEK,EAAW,IAAI,EAAY,CAC/B,OAAQ,EACR,MAAO,IAAI,EAAM,CACf,OAAQ,IAAI,EAAO,CAAE,MAAO,UAAW,MAAO,CAAG,GACjD,KAAM,IAAI,EAAK,CAAE,MAAO,WAAa,EACtC,EACF,GAED,EAAI,SAAS,EAAS,CAEtB,EAAK,IAAI,EAAU,WAAW,CAAE,CAAE,QAAS,CAAC,GAAI,GAAI,GAAI,EAAG,CAAE,EAAC,CAC/D,MAAQ,EAAO,CACd,QAAQ,MAAM,kCAAmC,EAAM,CAG5D,EAAC","names":["event: Event"],"ignoreList":[],"sources":["../../../../../client/simple/src/js/main/mapresult.ts"],"sourcesContent":["// SPDX-License-Identifier: AGPL-3.0-or-later\n\nimport { listen } from \"../core/toolkit.ts\";\n\nlisten(\"click\", \".searxng_init_map\", async function (this: HTMLElement, event: Event) {\n  event.preventDefault();\n  this.classList.remove(\"searxng_init_map\");\n\n  const {\n    View,\n    OlMap,\n    TileLayer,\n    VectorLayer,\n    OSM,\n    VectorSource,\n    Style,\n    Stroke,\n    Fill,\n    Circle,\n    fromLonLat,\n    GeoJSON,\n    Feature,\n    Point\n  } = await import(\"../pkg/ol.ts\");\n  import(\"ol/ol.css\");\n\n  const { leafletTarget: target, mapLon, mapLat, mapGeojson } = this.dataset;\n\n  const lon = Number.parseFloat(mapLon || \"0\");\n  const lat = Number.parseFloat(mapLat || \"0\");\n  const view = new View({ maxZoom: 16, enableRotation: false });\n  const map = new OlMap({\n    target: target,\n    layers: [new TileLayer({ source: new OSM({ maxZoom: 16 }) })],\n    view: view\n  });\n\n  try {\n    const markerSource = new VectorSource({\n      features: [\n        new Feature({\n          geometry: new Point(fromLonLat([lon, lat]))\n        })\n      ]\n    });\n\n    const markerLayer = new VectorLayer({\n      source: markerSource,\n      style: new Style({\n        image: new Circle({\n          radius: 6,\n          fill: new Fill({ color: \"#3050ff\" })\n        })\n      })\n    });\n\n    map.addLayer(markerLayer);\n  } catch (error) {\n    console.error(\"Failed to create marker layer:\", error);\n  }\n\n  if (mapGeojson) {\n    try {\n      const geoSource = new VectorSource({\n        features: new GeoJSON().readFeatures(JSON.parse(mapGeojson), {\n          dataProjection: \"EPSG:4326\",\n          featureProjection: \"EPSG:3857\"\n        })\n      });\n\n      const geoLayer = new VectorLayer({\n        source: geoSource,\n        style: new Style({\n          stroke: new Stroke({ color: \"#3050ff\", width: 2 }),\n          fill: new Fill({ color: \"#3050ff33\" })\n        })\n      });\n\n      map.addLayer(geoLayer);\n\n      view.fit(geoSource.getExtent(), { padding: [20, 20, 20, 20] });\n    } catch (error) {\n      console.error(\"Failed to create GeoJSON layer:\", error);\n    }\n  }\n});\n"],"file":"js/mapresult.min.js"} | ||||
| {"version":3,"mappings":";iDAIA,EAAO,QAAS,oBAAqB,eAAmC,EAAc,CACpF,EAAM,iBACN,KAAK,UAAU,OAAO,oBAEtB,GAAM,CACJ,OACA,QACA,YACA,cACA,MACA,eACA,QACA,SACA,OACA,SACA,aACA,UACA,UACA,QACD,sBAfK,CACJ,OACA,QACA,YACA,cACA,MACA,eACA,QACA,SACA,OACA,SACA,aACA,UACA,UACA,QACD,CAAG,MAAM,OAAO,sBAdf,OACA,QACA,YACA,cACA,MACA,eACA,QACA,SACA,OACA,SACA,aACA,UACA,UACA,cAEF,yBAAO,uBAEP,GAAM,CAAE,cAAe,EAAQ,SAAQ,SAAQ,aAAY,CAAG,KAAK,QAE7D,EAAM,OAAO,WAAW,GAAU,KAClC,EAAM,OAAO,WAAW,GAAU,KAClC,EAAO,IAAI,EAAK,CAAE,QAAS,GAAI,eAAgB,GAAO,EACtD,EAAM,IAAI,EAAM,CACZ,SACR,OAAQ,CAAC,IAAI,EAAU,CAAE,OAAQ,IAAI,EAAI,CAAE,QAAS,GAAI,EAAG,EAAE,CACvD,OACP,EAED,GAAI,CACF,IAAM,EAAe,IAAI,EAAa,CACpC,SAAU,CACR,IAAI,EAAQ,CACV,SAAU,IAAI,EAAM,EAAW,CAAC,EAAK,EAAI,GAC1C,EACF,CACF,EAEK,EAAc,IAAI,EAAY,CAClC,OAAQ,EACR,MAAO,IAAI,EAAM,CACf,MAAO,IAAI,EAAO,CAChB,OAAQ,EACR,KAAM,IAAI,EAAK,CAAE,MAAO,UAAW,EACpC,EACF,EACF,EAED,EAAI,SAAS,EACd,OAAQ,EAAO,CACd,QAAQ,MAAM,iCAAkC,EACjD,CAED,GAAI,EACF,GAAI,CACF,IAAM,EAAY,IAAI,EAAa,CACjC,SAAU,IAAI,IAAU,aAAa,KAAK,MAAM,GAAa,CAC3D,eAAgB,YAChB,kBAAmB,YACpB,EACF,EAEK,EAAW,IAAI,EAAY,CAC/B,OAAQ,EACR,MAAO,IAAI,EAAM,CACf,OAAQ,IAAI,EAAO,CAAE,MAAO,UAAW,MAAO,EAAG,EACjD,KAAM,IAAI,EAAK,CAAE,MAAO,YAAa,EACtC,EACF,EAED,EAAI,SAAS,GAEb,EAAK,IAAI,EAAU,YAAa,CAAE,QAAS,CAAC,GAAI,GAAI,GAAI,GAAG,CAAE,CAC9D,OAAQ,EAAO,CACd,QAAQ,MAAM,kCAAmC,EAClD,CAEJ","names":[],"ignoreList":[],"sources":["../../../../../client/simple/src/js/main/mapresult.ts"],"sourcesContent":["// SPDX-License-Identifier: AGPL-3.0-or-later\n\nimport { listen } from \"../core/toolkit.ts\";\n\nlisten(\"click\", \".searxng_init_map\", async function (this: HTMLElement, event: Event) {\n  event.preventDefault();\n  this.classList.remove(\"searxng_init_map\");\n\n  const {\n    View,\n    OlMap,\n    TileLayer,\n    VectorLayer,\n    OSM,\n    VectorSource,\n    Style,\n    Stroke,\n    Fill,\n    Circle,\n    fromLonLat,\n    GeoJSON,\n    Feature,\n    Point\n  } = await import(\"../pkg/ol.ts\");\n  import(\"ol/ol.css\");\n\n  const { leafletTarget: target, mapLon, mapLat, mapGeojson } = this.dataset;\n\n  const lon = Number.parseFloat(mapLon || \"0\");\n  const lat = Number.parseFloat(mapLat || \"0\");\n  const view = new View({ maxZoom: 16, enableRotation: false });\n  const map = new OlMap({\n    target: target,\n    layers: [new TileLayer({ source: new OSM({ maxZoom: 16 }) })],\n    view: view\n  });\n\n  try {\n    const markerSource = new VectorSource({\n      features: [\n        new Feature({\n          geometry: new Point(fromLonLat([lon, lat]))\n        })\n      ]\n    });\n\n    const markerLayer = new VectorLayer({\n      source: markerSource,\n      style: new Style({\n        image: new Circle({\n          radius: 6,\n          fill: new Fill({ color: \"#3050ff\" })\n        })\n      })\n    });\n\n    map.addLayer(markerLayer);\n  } catch (error) {\n    console.error(\"Failed to create marker layer:\", error);\n  }\n\n  if (mapGeojson) {\n    try {\n      const geoSource = new VectorSource({\n        features: new GeoJSON().readFeatures(JSON.parse(mapGeojson), {\n          dataProjection: \"EPSG:4326\",\n          featureProjection: \"EPSG:3857\"\n        })\n      });\n\n      const geoLayer = new VectorLayer({\n        source: geoSource,\n        style: new Style({\n          stroke: new Stroke({ color: \"#3050ff\", width: 2 }),\n          fill: new Fill({ color: \"#3050ff33\" })\n        })\n      });\n\n      map.addLayer(geoLayer);\n\n      view.fit(geoSource.getExtent(), { padding: [20, 20, 20, 20] });\n    } catch (error) {\n      console.error(\"Failed to create GeoJSON layer:\", error);\n    }\n  }\n});\n"],"file":"js/mapresult.min.js"} | ||||
							
								
								
									
										14
									
								
								searx/static/themes/simple/js/ol.min.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										14
									
								
								searx/static/themes/simple/js/ol.min.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| @ -1 +1 @@ | ||||
| {"version":3,"file":"preferences.min.js","names":["engineDescriptions: Record<string, [string, string]> | undefined","enable: boolean","engineToggles: NodeListOf<HTMLInputElement>","engineElements: NodeListOf<HTMLElement>","enableAllEngines: NodeListOf<HTMLElement>","disableAllEngines: NodeListOf<HTMLElement>","copyHashButton: HTMLElement | null","event: Event"],"sources":["../../../../../client/simple/src/js/main/preferences.ts"],"sourcesContent":["// SPDX-License-Identifier: AGPL-3.0-or-later\n\nimport { http, listen, settings } from \"../core/toolkit.ts\";\n\nlet engineDescriptions: Record<string, [string, string]> | undefined;\n\nconst loadEngineDescriptions = async (): Promise<void> => {\n  if (engineDescriptions) return;\n  try {\n    const res = await http(\"GET\", \"engine_descriptions.json\");\n    engineDescriptions = await res.json();\n  } catch (error) {\n    console.error(\"Error fetching engineDescriptions:\", error);\n  }\n  if (!engineDescriptions) return;\n\n  for (const [engine_name, [description, source]] of Object.entries(engineDescriptions)) {\n    const elements = document.querySelectorAll<HTMLElement>(`[data-engine-name=\"${engine_name}\"] .engine-description`);\n    const sourceText = ` (<i>${settings.translations?.Source}: ${source}</i>)`;\n\n    for (const element of elements) {\n      element.innerHTML = description + sourceText;\n    }\n  }\n};\n\nconst toggleEngines = (enable: boolean, engineToggles: NodeListOf<HTMLInputElement>): void => {\n  for (const engineToggle of engineToggles) {\n    // check if element visible, so that only engines of the current category are modified\n    if (engineToggle.offsetParent) {\n      engineToggle.checked = !enable;\n    }\n  }\n};\n\nconst engineElements: NodeListOf<HTMLElement> = document.querySelectorAll<HTMLElement>(\"[data-engine-name]\");\nfor (const engineElement of engineElements) {\n  listen(\"mouseenter\", engineElement, loadEngineDescriptions);\n}\n\nconst engineToggles: NodeListOf<HTMLInputElement> = document.querySelectorAll<HTMLInputElement>(\n  \"tbody input[type=checkbox][class~=checkbox-onoff]\"\n);\n\nconst enableAllEngines: NodeListOf<HTMLElement> = document.querySelectorAll<HTMLElement>(\".enable-all-engines\");\nfor (const engine of enableAllEngines) {\n  listen(\"click\", engine, () => toggleEngines(true, engineToggles));\n}\n\nconst disableAllEngines: NodeListOf<HTMLElement> = document.querySelectorAll<HTMLElement>(\".disable-all-engines\");\nfor (const engine of disableAllEngines) {\n  listen(\"click\", engine, () => toggleEngines(false, engineToggles));\n}\n\nconst copyHashButton: HTMLElement | null = document.querySelector<HTMLElement>(\"#copy-hash\");\nif (copyHashButton) {\n  listen(\"click\", copyHashButton, async (event: Event) => {\n    event.preventDefault();\n\n    const { copiedText, hash } = copyHashButton.dataset;\n    if (!(copiedText && hash)) return;\n\n    try {\n      await navigator.clipboard.writeText(hash);\n      copyHashButton.innerText = copiedText;\n    } catch (error) {\n      console.error(\"Failed to copy hash:\", error);\n    }\n  });\n}\n"],"mappings":"wDAIA,IAAIA,EAEJ,MAAM,EAAyB,SAA2B,CACpD,MACJ,IAAI,CACF,IAAM,EAAM,MAAM,EAAK,MAAO,2BAA2B,CACzD,EAAqB,MAAM,EAAI,MAAM,AACtC,OAAQ,EAAO,CACd,QAAQ,MAAM,qCAAsC,EAAM,AAC3D,CACI,KAEL,IAAK,GAAM,CAAC,EAAa,CAAC,EAAa,EAAO,CAAC,GAAI,OAAO,QAAQ,EAAmB,CAAE,CACrF,IAAM,EAAW,SAAS,iBAA8B,CAAC,mBAAmB,EAAE,EAAY,sBAAsB,CAAC,CAAC,CAC5G,EAAa,CAAC,KAAK,EAAE,EAAS,cAAc,OAAO,OAAO,EAAE,EAAO,KAAK,CAAC,CAE/E,IAAK,IAAM,KAAW,EACpB,EAAQ,UAAY,EAAc,CAErC,CAVA,CAWF,EAEK,EAAgB,CAACC,EAAiBC,IAAsD,CAC5F,IAAK,IAAM,KAAgB,EAErB,EAAa,eACf,EAAa,QAAU,CAAC,EAG7B,EAEKC,EAA0C,SAAS,iBAA8B,qBAAqB,CAC5G,IAAK,IAAM,KAAiB,EAC1B,EAAO,aAAc,EAAe,EAAuB,CAG7D,MAAMD,EAA8C,SAAS,iBAC3D,oDACD,CAEKE,EAA4C,SAAS,iBAA8B,sBAAsB,CAC/G,IAAK,IAAM,KAAU,EACnB,EAAO,QAAS,EAAQ,IAAM,EAAc,GAAM,EAAc,CAAC,CAGnE,MAAMC,EAA6C,SAAS,iBAA8B,uBAAuB,CACjH,IAAK,IAAM,KAAU,EACnB,EAAO,QAAS,EAAQ,IAAM,EAAc,GAAO,EAAc,CAAC,CAGpE,MAAMC,EAAqC,SAAS,cAA2B,aAAa,CACxF,GACF,EAAO,QAAS,EAAgB,MAAOC,GAAiB,CACtD,EAAM,gBAAgB,CAEtB,GAAM,CAAE,aAAY,OAAM,CAAG,EAAe,QACtC,MAAc,EAEpB,GAAI,CACF,MAAM,UAAU,UAAU,UAAU,EAAK,CACzC,EAAe,UAAY,CAC5B,OAAQ,EAAO,CACd,QAAQ,MAAM,uBAAwB,EAAM,AAC7C,CACF,EAAC"} | ||||
| {"version":3,"file":"preferences.min.js","names":["engineDescriptions: Record<string, [string, string]> | undefined","engineElements: NodeListOf<HTMLElement>","engineToggles: NodeListOf<HTMLInputElement>","enableAllEngines: NodeListOf<HTMLElement>","disableAllEngines: NodeListOf<HTMLElement>","copyHashButton: HTMLElement | null"],"sources":["../../../../../client/simple/src/js/main/preferences.ts"],"sourcesContent":["// SPDX-License-Identifier: AGPL-3.0-or-later\n\nimport { http, listen, settings } from \"../core/toolkit.ts\";\n\nlet engineDescriptions: Record<string, [string, string]> | undefined;\n\nconst loadEngineDescriptions = async (): Promise<void> => {\n  if (engineDescriptions) return;\n  try {\n    const res = await http(\"GET\", \"engine_descriptions.json\");\n    engineDescriptions = await res.json();\n  } catch (error) {\n    console.error(\"Error fetching engineDescriptions:\", error);\n  }\n  if (!engineDescriptions) return;\n\n  for (const [engine_name, [description, source]] of Object.entries(engineDescriptions)) {\n    const elements = document.querySelectorAll<HTMLElement>(`[data-engine-name=\"${engine_name}\"] .engine-description`);\n    const sourceText = ` (<i>${settings.translations?.Source}: ${source}</i>)`;\n\n    for (const element of elements) {\n      element.innerHTML = description + sourceText;\n    }\n  }\n};\n\nconst toggleEngines = (enable: boolean, engineToggles: NodeListOf<HTMLInputElement>): void => {\n  for (const engineToggle of engineToggles) {\n    // check if element visible, so that only engines of the current category are modified\n    if (engineToggle.offsetParent) {\n      engineToggle.checked = !enable;\n    }\n  }\n};\n\nconst engineElements: NodeListOf<HTMLElement> = document.querySelectorAll<HTMLElement>(\"[data-engine-name]\");\nfor (const engineElement of engineElements) {\n  listen(\"mouseenter\", engineElement, loadEngineDescriptions);\n}\n\nconst engineToggles: NodeListOf<HTMLInputElement> = document.querySelectorAll<HTMLInputElement>(\n  \"tbody input[type=checkbox][class~=checkbox-onoff]\"\n);\n\nconst enableAllEngines: NodeListOf<HTMLElement> = document.querySelectorAll<HTMLElement>(\".enable-all-engines\");\nfor (const engine of enableAllEngines) {\n  listen(\"click\", engine, () => toggleEngines(true, engineToggles));\n}\n\nconst disableAllEngines: NodeListOf<HTMLElement> = document.querySelectorAll<HTMLElement>(\".disable-all-engines\");\nfor (const engine of disableAllEngines) {\n  listen(\"click\", engine, () => toggleEngines(false, engineToggles));\n}\n\nconst copyHashButton: HTMLElement | null = document.querySelector<HTMLElement>(\"#copy-hash\");\nif (copyHashButton) {\n  listen(\"click\", copyHashButton, async (event: Event) => {\n    event.preventDefault();\n\n    const { copiedText, hash } = copyHashButton.dataset;\n    if (!(copiedText && hash)) return;\n\n    try {\n      await navigator.clipboard.writeText(hash);\n      copyHashButton.innerText = copiedText;\n    } catch (error) {\n      console.error(\"Failed to copy hash:\", error);\n    }\n  });\n}\n"],"mappings":"wDAIA,IAAIA,EAEJ,MAAM,EAAyB,SAA2B,CACpD,MACJ,IAAI,CACF,IAAM,EAAM,MAAM,EAAK,MAAO,4BAC9B,EAAqB,MAAM,EAAI,MAChC,OAAQ,EAAO,CACd,QAAQ,MAAM,qCAAsC,EACrD,CACI,KAEL,IAAK,GAAM,CAAC,EAAa,CAAC,EAAa,EAAO,CAAC,GAAI,OAAO,QAAQ,GAAqB,CACrF,IAAM,EAAW,SAAS,iBAA8B,sBAAsB,EAAY,yBACpF,EAAa,QAAQ,EAAS,cAAc,OAAO,SAAS,EAAO,OAEzE,IAAK,IAAM,KAAW,EACpB,EAAQ,UAAY,EAAc,CAErC,CAVA,CAWF,EAEK,GAAiB,EAAiB,IAAsD,CAC5F,IAAK,IAAM,KAAgB,EAErB,EAAa,eACf,EAAa,QAAU,CAAC,EAG7B,EAEKC,EAA0C,SAAS,iBAA8B,sBACvF,IAAK,IAAM,KAAiB,EAC1B,EAAO,aAAc,EAAe,GAGtC,MAAMC,EAA8C,SAAS,iBAC3D,qDAGIC,EAA4C,SAAS,iBAA8B,uBACzF,IAAK,IAAM,KAAU,EACnB,EAAO,QAAS,MAAc,EAAc,GAAM,IAGpD,MAAMC,EAA6C,SAAS,iBAA8B,wBAC1F,IAAK,IAAM,KAAU,EACnB,EAAO,QAAS,MAAc,EAAc,GAAO,IAGrD,MAAMC,EAAqC,SAAS,cAA2B,cAC3E,GACF,EAAO,QAAS,EAAgB,KAAO,IAAiB,CACtD,EAAM,iBAEN,GAAM,CAAE,aAAY,OAAM,CAAG,EAAe,QACtC,MAAc,EAEpB,GAAI,CACF,MAAM,UAAU,UAAU,UAAU,GACpC,EAAe,UAAY,CAC5B,OAAQ,EAAO,CACd,QAAQ,MAAM,uBAAwB,EACvC,CACF"} | ||||
							
								
								
									
										2
									
								
								searx/static/themes/simple/js/results.min.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								searx/static/themes/simple/js/results.min.js
									
									
									
									
										vendored
									
									
								
							| @ -7,5 +7,5 @@ import{c as e,e as t,f as n,g as r}from"./searxng.core.min.js"; | ||||
| * @author John Doherty <www.johndoherty.info> | ||||
| * @license MIT | ||||
| */ | ||||
| (function(e,t){"use strict";typeof e.CustomEvent!=`function`&&(e.CustomEvent=function(e,n){n||={bubbles:!1,cancelable:!1,detail:void 0};var r=t.createEvent(`CustomEvent`);return r.initCustomEvent(e,n.bubbles,n.cancelable,n.detail),r},e.CustomEvent.prototype=e.Event.prototype),t.addEventListener(`touchstart`,u,!1),t.addEventListener(`touchmove`,d,!1),t.addEventListener(`touchend`,l,!1);var n=null,r=null,i=null,a=null,o=null,s=null,c=0;function l(e){if(s===e.target){var l=parseInt(f(s,`data-swipe-threshold`,`20`),10),u=f(s,`data-swipe-unit`,`px`),d=parseInt(f(s,`data-swipe-timeout`,`500`),10),p=Date.now()-o,m=``,h=e.changedTouches||e.touches||[];if(u===`vh`&&(l=Math.round(l/100*t.documentElement.clientHeight)),u===`vw`&&(l=Math.round(l/100*t.documentElement.clientWidth)),Math.abs(i)>Math.abs(a)?Math.abs(i)>l&&p<d&&(m=i>0?`swiped-left`:`swiped-right`):Math.abs(a)>l&&p<d&&(m=a>0?`swiped-up`:`swiped-down`),m!==``){var g={dir:m.replace(/swiped-/,``),touchType:(h[0]||{}).touchType||`direct`,fingers:c,xStart:parseInt(n,10),xEnd:parseInt((h[0]||{}).clientX||-1,10),yStart:parseInt(r,10),yEnd:parseInt((h[0]||{}).clientY||-1,10)};s.dispatchEvent(new CustomEvent(`swiped`,{bubbles:!0,cancelable:!0,detail:g})),s.dispatchEvent(new CustomEvent(m,{bubbles:!0,cancelable:!0,detail:g}))}n=null,r=null,o=null}}function u(e){e.target.getAttribute(`data-swipe-ignore`)!==`true`&&(s=e.target,o=Date.now(),n=e.touches[0].clientX,r=e.touches[0].clientY,i=0,a=0,c=e.touches.length)}function d(e){if(!(!n||!r)){var t=e.touches[0].clientX,o=e.touches[0].clientY;i=n-t,a=r-o}}function f(e,n,r){for(;e&&e!==t.documentElement;){var i=e.getAttribute(n);if(i)return i;e=e.parentNode}return r}})(window,document);let i;const a=e=>{i&&clearTimeout(i);let t=e.querySelector(`.result-images-source img`);if(!t)return;let n=e.querySelector(`.image_thumbnail`);if(n){if(n.src===`${r.theme_static_path}/img/img_load_error.svg`)return;t.onerror=()=>{t.src=n.src},t.src=n.src}let a=t.getAttribute(`data-src`);a&&(i=setTimeout(()=>{t.src=a,t.removeAttribute(`data-src`)},1e3))},o=document.querySelectorAll(`#urls img.image_thumbnail`);for(let e of o)e.complete&&e.naturalWidth===0&&(e.src=`${r.theme_static_path}/img/img_load_error.svg`),e.onerror=()=>{e.src=`${r.theme_static_path}/img/img_load_error.svg`};const s=document.querySelector(`#search_url button#copy_url`);s?.style.setProperty(`display`,`block`),n.selectImage=e=>{let t=document.getElementById(`results`);t?.classList.add(`image-detail-open`),window.location.hash=`#image-viewer`,n.scrollPageToSelected?.(),e&&a(e)},n.closeDetail=()=>{let e=document.getElementById(`results`);e?.classList.remove(`image-detail-open`),window.location.hash===`#image-viewer`&&window.history.back(),n.scrollPageToSelected?.()},t(`click`,`.btn-collapse`,function(){let t=this.getAttribute(`data-btn-text-collapsed`),n=this.getAttribute(`data-btn-text-not-collapsed`),r=this.getAttribute(`data-target`);if(!(r&&t&&n))return;let i=document.querySelector(r);e(i);let a=this.classList.contains(`collapsed`),o=a?n:t,s=a?t:n;this.innerHTML=this.innerHTML.replace(s,o),this.classList.toggle(`collapsed`),i.classList.toggle(`invisible`)}),t(`click`,`.media-loader`,function(){let t=this.getAttribute(`data-target`);if(!t)return;let n=document.querySelector(`${t} > iframe`);e(n);let r=n.getAttribute(`src`);if(!r){let e=n.getAttribute(`data-src`);e&&n.setAttribute(`src`,e)}}),t(`click`,`#copy_url`,async function(){let t=this.parentElement?.querySelector(`pre`);e(t),await navigator.clipboard.writeText(t.innerText);let n=this.dataset.copiedText;n&&(this.innerText=n)}),t(`click`,`.result-detail-close`,e=>{e.preventDefault(),n.closeDetail?.()}),t(`click`,`.result-detail-previous`,e=>{e.preventDefault(),n.selectPrevious?.(!1)}),t(`click`,`.result-detail-next`,e=>{e.preventDefault(),n.selectNext?.(!1)}),window.addEventListener(`hashchange`,()=>{window.location.hash!==`#image-viewer`&&n.closeDetail?.()});const c=document.querySelectorAll(`.swipe-horizontal`);for(let e of c)t(`swiped-left`,e,()=>{n.selectNext?.(!1)}),t(`swiped-right`,e,()=>{n.selectPrevious?.(!1)});window.addEventListener(`scroll`,()=>{let e=document.getElementById(`backToTop`),t=document.getElementById(`results`);if(e&&t){let e=document.documentElement.scrollTop||document.body.scrollTop,n=e>=100;t.classList.toggle(`scrolling`,n)}},!0); | ||||
| (function(e,t){typeof e.CustomEvent!=`function`&&(e.CustomEvent=function(e,n){n||={bubbles:!1,cancelable:!1,detail:void 0};var r=t.createEvent(`CustomEvent`);return r.initCustomEvent(e,n.bubbles,n.cancelable,n.detail),r},e.CustomEvent.prototype=e.Event.prototype),t.addEventListener(`touchstart`,u,!1),t.addEventListener(`touchmove`,d,!1),t.addEventListener(`touchend`,l,!1);var n=null,r=null,i=null,a=null,o=null,s=null,c=0;function l(e){if(s===e.target){var l=parseInt(f(s,`data-swipe-threshold`,`20`),10),u=f(s,`data-swipe-unit`,`px`),d=parseInt(f(s,`data-swipe-timeout`,`500`),10),p=Date.now()-o,m=``,h=e.changedTouches||e.touches||[];if(u===`vh`&&(l=Math.round(l/100*t.documentElement.clientHeight)),u===`vw`&&(l=Math.round(l/100*t.documentElement.clientWidth)),Math.abs(i)>Math.abs(a)?Math.abs(i)>l&&p<d&&(m=i>0?`swiped-left`:`swiped-right`):Math.abs(a)>l&&p<d&&(m=a>0?`swiped-up`:`swiped-down`),m!==``){var g={dir:m.replace(/swiped-/,``),touchType:(h[0]||{}).touchType||`direct`,fingers:c,xStart:parseInt(n,10),xEnd:parseInt((h[0]||{}).clientX||-1,10),yStart:parseInt(r,10),yEnd:parseInt((h[0]||{}).clientY||-1,10)};s.dispatchEvent(new CustomEvent(`swiped`,{bubbles:!0,cancelable:!0,detail:g})),s.dispatchEvent(new CustomEvent(m,{bubbles:!0,cancelable:!0,detail:g}))}n=null,r=null,o=null}}function u(e){e.target.getAttribute(`data-swipe-ignore`)!==`true`&&(s=e.target,o=Date.now(),n=e.touches[0].clientX,r=e.touches[0].clientY,i=0,a=0,c=e.touches.length)}function d(e){if(!(!n||!r)){var t=e.touches[0].clientX,o=e.touches[0].clientY;i=n-t,a=r-o}}function f(e,n,r){for(;e&&e!==t.documentElement;){var i=e.getAttribute(n);if(i)return i;e=e.parentNode}return r}})(window,document);let i;const a=e=>{i&&clearTimeout(i);let t=e.querySelector(`.result-images-source img`);if(!t)return;let n=e.querySelector(`.image_thumbnail`);if(n){if(n.src===`${r.theme_static_path}/img/img_load_error.svg`)return;t.onerror=()=>{t.src=n.src},t.src=n.src}let a=t.getAttribute(`data-src`);a&&(i=setTimeout(()=>{t.src=a,t.removeAttribute(`data-src`)},1e3))},o=document.querySelectorAll(`#urls img.image_thumbnail`);for(let e of o)e.complete&&e.naturalWidth===0&&(e.src=`${r.theme_static_path}/img/img_load_error.svg`),e.onerror=()=>{e.src=`${r.theme_static_path}/img/img_load_error.svg`};const s=document.querySelector(`#search_url button#copy_url`);s?.style.setProperty(`display`,`block`),n.selectImage=e=>{let t=document.getElementById(`results`);t?.classList.add(`image-detail-open`),window.location.hash=`#image-viewer`,n.scrollPageToSelected?.(),e&&a(e)},n.closeDetail=()=>{let e=document.getElementById(`results`);e?.classList.remove(`image-detail-open`),window.location.hash===`#image-viewer`&&window.history.back(),n.scrollPageToSelected?.()},t(`click`,`.btn-collapse`,function(){let t=this.getAttribute(`data-btn-text-collapsed`),n=this.getAttribute(`data-btn-text-not-collapsed`),r=this.getAttribute(`data-target`);if(!(r&&t&&n))return;let i=document.querySelector(r);e(i);let a=this.classList.contains(`collapsed`),o=a?n:t,s=a?t:n;this.innerHTML=this.innerHTML.replace(s,o),this.classList.toggle(`collapsed`),i.classList.toggle(`invisible`)}),t(`click`,`.media-loader`,function(){let t=this.getAttribute(`data-target`);if(!t)return;let n=document.querySelector(`${t} > iframe`);e(n);let r=n.getAttribute(`src`);if(!r){let e=n.getAttribute(`data-src`);e&&n.setAttribute(`src`,e)}}),t(`click`,`#copy_url`,async function(){let t=this.parentElement?.querySelector(`pre`);e(t),await navigator.clipboard.writeText(t.innerText);let n=this.dataset.copiedText;n&&(this.innerText=n)}),t(`click`,`.result-detail-close`,e=>{e.preventDefault(),n.closeDetail?.()}),t(`click`,`.result-detail-previous`,e=>{e.preventDefault(),n.selectPrevious?.(!1)}),t(`click`,`.result-detail-next`,e=>{e.preventDefault(),n.selectNext?.(!1)}),window.addEventListener(`hashchange`,()=>{window.location.hash!==`#image-viewer`&&n.closeDetail?.()});const c=document.querySelectorAll(`.swipe-horizontal`);for(let e of c)t(`swiped-left`,e,()=>{n.selectNext?.(!1)}),t(`swiped-right`,e,()=>{n.selectPrevious?.(!1)});window.addEventListener(`scroll`,()=>{let e=document.getElementById(`backToTop`),t=document.getElementById(`results`);if(e&&t){let e=document.documentElement.scrollTop||document.body.scrollTop,n=e>=100;t.classList.toggle(`scrolling`,n)}},!0); | ||||
| //# sourceMappingURL=results.min.js.map
 | ||||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| @ -1,2 +1,2 @@ | ||||
| const e={index:`index`,results:`results`,preferences:`preferences`,unknown:`unknown`},t={closeDetail:void 0,scrollPageToSelected:void 0,selectImage:void 0,selectNext:void 0,selectPrevious:void 0},n=()=>{let t=document.querySelector(`meta[name="endpoint"]`)?.getAttribute(`content`);return t&&t in e?t:e.unknown},r=()=>{let e=document.querySelector(`script[client_settings]`)?.getAttribute(`client_settings`);if(!e)return{};try{return JSON.parse(atob(e))}catch(e){return console.error(`Failed to load client_settings:`,e),{}}},i=e=>{if(!e)throw Error(`Bad assertion: DOM element not found`)},a=async(e,t,n)=>{let r=new AbortController,i=setTimeout(()=>r.abort(),n?.timeout??3e4),a=await fetch(t,{body:n?.body,method:e,signal:r.signal}).finally(()=>clearTimeout(i));if(!a.ok)throw Error(a.statusText);return a},o=(e,t,n,r)=>{if(typeof t!=`string`){t.addEventListener(e,n,r);return}document.addEventListener(e,e=>{for(let r of e.composedPath())if(r instanceof HTMLElement&&r.matches(t)){try{n.call(r,e)}catch(e){console.error(e)}break}},r)},s=(e,t)=>{for(let e of t?.on??[])if(!e)return;document.readyState===`loading`?o(`DOMContentLoaded`,document,e,{once:!0}):e()},c=n(),l=r(),u=`modulepreload`,d=function(e){return`/static/themes/simple/`+e},f={},p=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}r=o(t.map(t=>{if(t=d(t,n),t in f)return;f[t]=!0;let r=t.endsWith(`.css`),i=r?`[rel="stylesheet"]`:``,o=!!n;if(o)for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}else if(document.querySelector(`link[href="${t}"]${i}`))return;let s=document.createElement(`link`);if(s.rel=r?`stylesheet`:u,r||(s.as=`script`),s.crossOrigin=``,s.href=t,a&&s.setAttribute(`nonce`,a),document.head.appendChild(s),r)return new Promise((e,n)=>{s.addEventListener(`load`,e),s.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[]){if(e.status!==`rejected`)continue;i(e.reason)}return e().catch(i)})};s(()=>{p(()=>import(`./keyboard.min.js`),[]),p(()=>import(`./search.min.js`),[]),l.autocomplete&&p(()=>import(`./autocomplete.min.js`),[])},{on:[c===e.index]}),s(()=>{p(()=>import(`./keyboard.min.js`),[]),p(()=>import(`./mapresult.min.js`),[]),p(()=>import(`./results.min.js`),[]),p(()=>import(`./search.min.js`),[]),l.infinite_scroll&&p(()=>import(`./infinite_scroll.min.js`),[]),l.autocomplete&&p(()=>import(`./autocomplete.min.js`),[])},{on:[c===e.results]}),s(()=>{p(()=>import(`./preferences.min.js`),[])},{on:[c===e.preferences]}),o(`click`,`.close`,function(){this.parentNode?.classList.add(`invisible`)});export{p as b,i as c,a as d,o as e,t as f,l as g}; | ||||
| const e={index:`index`,results:`results`,preferences:`preferences`,unknown:`unknown`},t={closeDetail:void 0,scrollPageToSelected:void 0,selectImage:void 0,selectNext:void 0,selectPrevious:void 0},n=()=>{let t=document.querySelector(`meta[name="endpoint"]`)?.getAttribute(`content`);return t&&t in e?t:e.unknown},r=()=>{let e=document.querySelector(`script[client_settings]`)?.getAttribute(`client_settings`);if(!e)return{};try{return JSON.parse(atob(e))}catch(e){return console.error(`Failed to load client_settings:`,e),{}}},i=e=>{if(!e)throw Error(`Bad assertion: DOM element not found`)},a=async(e,t,n)=>{let r=new AbortController,i=setTimeout(()=>r.abort(),n?.timeout??3e4),a=await fetch(t,{body:n?.body,method:e,signal:r.signal}).finally(()=>clearTimeout(i));if(!a.ok)throw Error(a.statusText);return a},o=(e,t,n,r)=>{if(typeof t!=`string`){t.addEventListener(e,n,r);return}document.addEventListener(e,e=>{for(let r of e.composedPath())if(r instanceof HTMLElement&&r.matches(t)){try{n.call(r,e)}catch(e){console.error(e)}break}},r)},s=(e,t)=>{for(let e of t?.on??[])if(!e)return;document.readyState===`loading`?o(`DOMContentLoaded`,document,e,{once:!0}):e()},c=n(),l=r(),u=function(e){return`/static/themes/simple/`+e},d={},f=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}r=o(t.map(t=>{if(t=u(t,n),t in d)return;d[t]=!0;let r=t.endsWith(`.css`),i=r?`[rel="stylesheet"]`:``,o=!!n;if(o)for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}else if(document.querySelector(`link[href="${t}"]${i}`))return;let s=document.createElement(`link`);if(s.rel=r?`stylesheet`:`modulepreload`,r||(s.as=`script`),s.crossOrigin=``,s.href=t,a&&s.setAttribute(`nonce`,a),document.head.appendChild(s),r)return new Promise((e,n)=>{s.addEventListener(`load`,e),s.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[]){if(e.status!==`rejected`)continue;i(e.reason)}return e().catch(i)})};s(()=>{f(()=>import(`./keyboard.min.js`),[]),f(()=>import(`./search.min.js`),[]),l.autocomplete&&f(()=>import(`./autocomplete.min.js`),[])},{on:[c===e.index]}),s(()=>{f(()=>import(`./keyboard.min.js`),[]),f(()=>import(`./mapresult.min.js`),[]),f(()=>import(`./results.min.js`),[]),f(()=>import(`./search.min.js`),[]),l.infinite_scroll&&f(()=>import(`./infinite_scroll.min.js`),[]),l.autocomplete&&f(()=>import(`./autocomplete.min.js`),[])},{on:[c===e.results]}),s(()=>{f(()=>import(`./preferences.min.js`),[])},{on:[c===e.preferences]}),o(`click`,`.close`,function(){this.parentNode?.classList.add(`invisible`)});export{f as b,i as c,a as d,o as e,t as f,l as g}; | ||||
| //# sourceMappingURL=searxng.core.min.js.map
 | ||||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| @ -1,7 +1,11 @@ | ||||
| { | ||||
|   "node_modules/ol/ol.css": { | ||||
|     "file": "css/ol.min.css", | ||||
|     "src": "node_modules/ol/ol.css" | ||||
|     "names": [ | ||||
|       "ol.css" | ||||
|     ], | ||||
|     "src": "node_modules/ol/ol.css", | ||||
|     "isEntry": true | ||||
|   }, | ||||
|   "src/js/core/index.ts": { | ||||
|     "file": "js/searxng.core.min.js", | ||||
| @ -92,14 +96,26 @@ | ||||
|   }, | ||||
|   "src/less/rss.less": { | ||||
|     "file": "css/rss.min.css", | ||||
|     "src": "src/less/rss.less" | ||||
|     "names": [ | ||||
|       "rss.css" | ||||
|     ], | ||||
|     "src": "src/less/rss.less", | ||||
|     "isEntry": true | ||||
|   }, | ||||
|   "src/less/style-ltr.less": { | ||||
|     "file": "css/searxng-ltr.min.css", | ||||
|     "src": "src/less/style-ltr.less" | ||||
|     "names": [ | ||||
|       "searxng-ltr.css" | ||||
|     ], | ||||
|     "src": "src/less/style-ltr.less", | ||||
|     "isEntry": true | ||||
|   }, | ||||
|   "src/less/style-rtl.less": { | ||||
|     "file": "css/searxng-rtl.min.css", | ||||
|     "src": "src/less/style-rtl.less" | ||||
|     "names": [ | ||||
|       "searxng-rtl.css" | ||||
|     ], | ||||
|     "src": "src/less/style-rtl.less", | ||||
|     "isEntry": true | ||||
|   } | ||||
| } | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user