Merge 8a3b106d96 into 76a19d218d
				
					
				
			This commit is contained in:
		
						commit
						59c7298408
					
				| @ -61,6 +61,7 @@ | |||||||
|     "figlet": "^1.7.0", |     "figlet": "^1.7.0", | ||||||
|     "figue": "^1.2.0", |     "figue": "^1.2.0", | ||||||
|     "fuse.js": "^6.6.2", |     "fuse.js": "^6.6.2", | ||||||
|  |     "hash-wasm": "^4.11.0", | ||||||
|     "highlight.js": "^11.7.0", |     "highlight.js": "^11.7.0", | ||||||
|     "iarna-toml-esm": "^3.0.5", |     "iarna-toml-esm": "^3.0.5", | ||||||
|     "ibantools": "^4.3.3", |     "ibantools": "^4.3.3", | ||||||
|  | |||||||
							
								
								
									
										175
									
								
								pnpm-lock.yaml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										175
									
								
								pnpm-lock.yaml
									
									
									
										generated
									
									
									
								
							| @ -83,6 +83,9 @@ dependencies: | |||||||
|   fuse.js: |   fuse.js: | ||||||
|     specifier: ^6.6.2 |     specifier: ^6.6.2 | ||||||
|     version: 6.6.2 |     version: 6.6.2 | ||||||
|  |   hash-wasm: | ||||||
|  |     specifier: ^4.11.0 | ||||||
|  |     version: 4.11.0 | ||||||
|   highlight.js: |   highlight.js: | ||||||
|     specifier: ^11.7.0 |     specifier: ^11.7.0 | ||||||
|     version: 11.7.0 |     version: 11.7.0 | ||||||
| @ -3354,7 +3357,7 @@ packages: | |||||||
|     dependencies: |     dependencies: | ||||||
|       '@unhead/dom': 0.5.1 |       '@unhead/dom': 0.5.1 | ||||||
|       '@unhead/schema': 0.5.1 |       '@unhead/schema': 0.5.1 | ||||||
|       '@vueuse/shared': 10.8.0(vue@3.3.4) |       '@vueuse/shared': 10.11.0(vue@3.3.4) | ||||||
|       unhead: 0.5.1 |       unhead: 0.5.1 | ||||||
|       vue: 3.3.4 |       vue: 3.3.4 | ||||||
|     transitivePeerDependencies: |     transitivePeerDependencies: | ||||||
| @ -3987,19 +3990,19 @@ packages: | |||||||
|       - vue |       - vue | ||||||
|     dev: false |     dev: false | ||||||
| 
 | 
 | ||||||
|   /@vueuse/shared@10.3.0(vue@3.3.4): |   /@vueuse/shared@10.11.0(vue@3.3.4): | ||||||
|     resolution: {integrity: sha512-kGqCTEuFPMK4+fNWy6dUOiYmxGcUbtznMwBZLC1PubidF4VZY05B+Oht7Jh7/6x4VOWGpvu3R37WHi81cKpiqg==} |     resolution: {integrity: sha512-fyNoIXEq3PfX1L3NkNhtVQUSRtqYwJtJg+Bp9rIzculIZWHTkKSysujrOk2J+NrRulLTQH9+3gGSfYLWSEWU1A==} | ||||||
|     dependencies: |     dependencies: | ||||||
|       vue-demi: 0.14.5(vue@3.3.4) |       vue-demi: 0.14.8(vue@3.3.4) | ||||||
|     transitivePeerDependencies: |     transitivePeerDependencies: | ||||||
|       - '@vue/composition-api' |       - '@vue/composition-api' | ||||||
|       - vue |       - vue | ||||||
|     dev: false |     dev: false | ||||||
| 
 | 
 | ||||||
|   /@vueuse/shared@10.8.0(vue@3.3.4): |   /@vueuse/shared@10.3.0(vue@3.3.4): | ||||||
|     resolution: {integrity: sha512-dUdy6zwHhULGxmr9YUg8e+EnB39gcM4Fe2oKBSrh3cOsV30JcMPtsyuspgFCUo5xxFNaeMf/W2yyKfST7Bg8oQ==} |     resolution: {integrity: sha512-kGqCTEuFPMK4+fNWy6dUOiYmxGcUbtznMwBZLC1PubidF4VZY05B+Oht7Jh7/6x4VOWGpvu3R37WHi81cKpiqg==} | ||||||
|     dependencies: |     dependencies: | ||||||
|       vue-demi: 0.14.7(vue@3.3.4) |       vue-demi: 0.14.5(vue@3.3.4) | ||||||
|     transitivePeerDependencies: |     transitivePeerDependencies: | ||||||
|       - '@vue/composition-api' |       - '@vue/composition-api' | ||||||
|       - vue |       - vue | ||||||
| @ -4116,7 +4119,7 @@ packages: | |||||||
|   /array-buffer-byte-length@1.0.0: |   /array-buffer-byte-length@1.0.0: | ||||||
|     resolution: {integrity: sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==} |     resolution: {integrity: sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==} | ||||||
|     dependencies: |     dependencies: | ||||||
|       call-bind: 1.0.5 |       call-bind: 1.0.7 | ||||||
|       is-array-buffer: 3.0.2 |       is-array-buffer: 3.0.2 | ||||||
|     dev: true |     dev: true | ||||||
| 
 | 
 | ||||||
| @ -4130,10 +4133,10 @@ packages: | |||||||
|     engines: {node: '>= 0.4'} |     engines: {node: '>= 0.4'} | ||||||
|     dependencies: |     dependencies: | ||||||
|       array-buffer-byte-length: 1.0.0 |       array-buffer-byte-length: 1.0.0 | ||||||
|       call-bind: 1.0.5 |       call-bind: 1.0.7 | ||||||
|       define-properties: 1.2.1 |       define-properties: 1.2.1 | ||||||
|       es-abstract: 1.22.3 |       es-abstract: 1.22.3 | ||||||
|       get-intrinsic: 1.2.2 |       get-intrinsic: 1.2.4 | ||||||
|       is-array-buffer: 3.0.2 |       is-array-buffer: 3.0.2 | ||||||
|       is-shared-array-buffer: 1.0.2 |       is-shared-array-buffer: 1.0.2 | ||||||
|     dev: true |     dev: true | ||||||
| @ -4300,12 +4303,15 @@ packages: | |||||||
|     engines: {node: '>=8'} |     engines: {node: '>=8'} | ||||||
|     dev: true |     dev: true | ||||||
| 
 | 
 | ||||||
|   /call-bind@1.0.5: |   /call-bind@1.0.7: | ||||||
|     resolution: {integrity: sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ==} |     resolution: {integrity: sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==} | ||||||
|  |     engines: {node: '>= 0.4'} | ||||||
|     dependencies: |     dependencies: | ||||||
|  |       es-define-property: 1.0.0 | ||||||
|  |       es-errors: 1.3.0 | ||||||
|       function-bind: 1.1.2 |       function-bind: 1.1.2 | ||||||
|       get-intrinsic: 1.2.2 |       get-intrinsic: 1.2.4 | ||||||
|       set-function-length: 1.1.1 |       set-function-length: 1.2.2 | ||||||
|     dev: true |     dev: true | ||||||
| 
 | 
 | ||||||
|   /callsites@3.1.0: |   /callsites@3.1.0: | ||||||
| @ -4818,13 +4824,13 @@ packages: | |||||||
|       clone: 1.0.4 |       clone: 1.0.4 | ||||||
|     dev: true |     dev: true | ||||||
| 
 | 
 | ||||||
|   /define-data-property@1.1.1: |   /define-data-property@1.1.4: | ||||||
|     resolution: {integrity: sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ==} |     resolution: {integrity: sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==} | ||||||
|     engines: {node: '>= 0.4'} |     engines: {node: '>= 0.4'} | ||||||
|     dependencies: |     dependencies: | ||||||
|       get-intrinsic: 1.2.2 |       es-define-property: 1.0.0 | ||||||
|  |       es-errors: 1.3.0 | ||||||
|       gopd: 1.0.1 |       gopd: 1.0.1 | ||||||
|       has-property-descriptors: 1.0.1 |  | ||||||
|     dev: true |     dev: true | ||||||
| 
 | 
 | ||||||
|   /define-lazy-prop@2.0.0: |   /define-lazy-prop@2.0.0: | ||||||
| @ -4836,8 +4842,8 @@ packages: | |||||||
|     resolution: {integrity: sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==} |     resolution: {integrity: sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==} | ||||||
|     engines: {node: '>= 0.4'} |     engines: {node: '>= 0.4'} | ||||||
|     dependencies: |     dependencies: | ||||||
|       define-data-property: 1.1.1 |       define-data-property: 1.1.4 | ||||||
|       has-property-descriptors: 1.0.1 |       has-property-descriptors: 1.0.2 | ||||||
|       object-keys: 1.1.1 |       object-keys: 1.1.1 | ||||||
|     dev: true |     dev: true | ||||||
| 
 | 
 | ||||||
| @ -5027,15 +5033,15 @@ packages: | |||||||
|       array-buffer-byte-length: 1.0.0 |       array-buffer-byte-length: 1.0.0 | ||||||
|       arraybuffer.prototype.slice: 1.0.2 |       arraybuffer.prototype.slice: 1.0.2 | ||||||
|       available-typed-arrays: 1.0.5 |       available-typed-arrays: 1.0.5 | ||||||
|       call-bind: 1.0.5 |       call-bind: 1.0.7 | ||||||
|       es-set-tostringtag: 2.0.2 |       es-set-tostringtag: 2.0.2 | ||||||
|       es-to-primitive: 1.2.1 |       es-to-primitive: 1.2.1 | ||||||
|       function.prototype.name: 1.1.6 |       function.prototype.name: 1.1.6 | ||||||
|       get-intrinsic: 1.2.2 |       get-intrinsic: 1.2.4 | ||||||
|       get-symbol-description: 1.0.0 |       get-symbol-description: 1.0.0 | ||||||
|       globalthis: 1.0.3 |       globalthis: 1.0.3 | ||||||
|       gopd: 1.0.1 |       gopd: 1.0.1 | ||||||
|       has-property-descriptors: 1.0.1 |       has-property-descriptors: 1.0.2 | ||||||
|       has-proto: 1.0.1 |       has-proto: 1.0.1 | ||||||
|       has-symbols: 1.0.3 |       has-symbols: 1.0.3 | ||||||
|       hasown: 2.0.0 |       hasown: 2.0.0 | ||||||
| @ -5065,11 +5071,23 @@ packages: | |||||||
|       which-typed-array: 1.1.13 |       which-typed-array: 1.1.13 | ||||||
|     dev: true |     dev: true | ||||||
| 
 | 
 | ||||||
|  |   /es-define-property@1.0.0: | ||||||
|  |     resolution: {integrity: sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==} | ||||||
|  |     engines: {node: '>= 0.4'} | ||||||
|  |     dependencies: | ||||||
|  |       get-intrinsic: 1.2.4 | ||||||
|  |     dev: true | ||||||
|  | 
 | ||||||
|  |   /es-errors@1.3.0: | ||||||
|  |     resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==} | ||||||
|  |     engines: {node: '>= 0.4'} | ||||||
|  |     dev: true | ||||||
|  | 
 | ||||||
|   /es-set-tostringtag@2.0.2: |   /es-set-tostringtag@2.0.2: | ||||||
|     resolution: {integrity: sha512-BuDyupZt65P9D2D2vA/zqcI3G5xRsklm5N3xCwuiy+/vKy8i0ifdsQP1sLgO4tZDSCaQUSnmC48khknGMV3D2Q==} |     resolution: {integrity: sha512-BuDyupZt65P9D2D2vA/zqcI3G5xRsklm5N3xCwuiy+/vKy8i0ifdsQP1sLgO4tZDSCaQUSnmC48khknGMV3D2Q==} | ||||||
|     engines: {node: '>= 0.4'} |     engines: {node: '>= 0.4'} | ||||||
|     dependencies: |     dependencies: | ||||||
|       get-intrinsic: 1.2.2 |       get-intrinsic: 1.2.4 | ||||||
|       has-tostringtag: 1.0.0 |       has-tostringtag: 1.0.0 | ||||||
|       hasown: 2.0.0 |       hasown: 2.0.0 | ||||||
|     dev: true |     dev: true | ||||||
| @ -5750,7 +5768,7 @@ packages: | |||||||
|     resolution: {integrity: sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==} |     resolution: {integrity: sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==} | ||||||
|     engines: {node: '>= 0.4'} |     engines: {node: '>= 0.4'} | ||||||
|     dependencies: |     dependencies: | ||||||
|       call-bind: 1.0.5 |       call-bind: 1.0.7 | ||||||
|       define-properties: 1.2.1 |       define-properties: 1.2.1 | ||||||
|       es-abstract: 1.22.3 |       es-abstract: 1.22.3 | ||||||
|       functions-have-names: 1.2.3 |       functions-have-names: 1.2.3 | ||||||
| @ -5778,9 +5796,11 @@ packages: | |||||||
|     resolution: {integrity: sha512-Hm0ixYtaSZ/V7C8FJrtZIuBBI+iSgL+1Aq82zSu8VQNB4S3Gk8e7Qs3VwBDJAhmRZcFqkl3tQu36g/Foh5I5ig==} |     resolution: {integrity: sha512-Hm0ixYtaSZ/V7C8FJrtZIuBBI+iSgL+1Aq82zSu8VQNB4S3Gk8e7Qs3VwBDJAhmRZcFqkl3tQu36g/Foh5I5ig==} | ||||||
|     dev: true |     dev: true | ||||||
| 
 | 
 | ||||||
|   /get-intrinsic@1.2.2: |   /get-intrinsic@1.2.4: | ||||||
|     resolution: {integrity: sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA==} |     resolution: {integrity: sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==} | ||||||
|  |     engines: {node: '>= 0.4'} | ||||||
|     dependencies: |     dependencies: | ||||||
|  |       es-errors: 1.3.0 | ||||||
|       function-bind: 1.1.2 |       function-bind: 1.1.2 | ||||||
|       has-proto: 1.0.1 |       has-proto: 1.0.1 | ||||||
|       has-symbols: 1.0.3 |       has-symbols: 1.0.3 | ||||||
| @ -5805,8 +5825,8 @@ packages: | |||||||
|     resolution: {integrity: sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==} |     resolution: {integrity: sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==} | ||||||
|     engines: {node: '>= 0.4'} |     engines: {node: '>= 0.4'} | ||||||
|     dependencies: |     dependencies: | ||||||
|       call-bind: 1.0.5 |       call-bind: 1.0.7 | ||||||
|       get-intrinsic: 1.2.2 |       get-intrinsic: 1.2.4 | ||||||
|     dev: true |     dev: true | ||||||
| 
 | 
 | ||||||
|   /get-tsconfig@4.7.2: |   /get-tsconfig@4.7.2: | ||||||
| @ -5901,7 +5921,7 @@ packages: | |||||||
|   /gopd@1.0.1: |   /gopd@1.0.1: | ||||||
|     resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==} |     resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==} | ||||||
|     dependencies: |     dependencies: | ||||||
|       get-intrinsic: 1.2.2 |       get-intrinsic: 1.2.4 | ||||||
|     dev: true |     dev: true | ||||||
| 
 | 
 | ||||||
|   /graceful-fs@4.2.11: |   /graceful-fs@4.2.11: | ||||||
| @ -5942,10 +5962,10 @@ packages: | |||||||
|     engines: {node: '>=8'} |     engines: {node: '>=8'} | ||||||
|     dev: true |     dev: true | ||||||
| 
 | 
 | ||||||
|   /has-property-descriptors@1.0.1: |   /has-property-descriptors@1.0.2: | ||||||
|     resolution: {integrity: sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg==} |     resolution: {integrity: sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==} | ||||||
|     dependencies: |     dependencies: | ||||||
|       get-intrinsic: 1.2.2 |       es-define-property: 1.0.0 | ||||||
|     dev: true |     dev: true | ||||||
| 
 | 
 | ||||||
|   /has-proto@1.0.1: |   /has-proto@1.0.1: | ||||||
| @ -5972,6 +5992,10 @@ packages: | |||||||
|       function-bind: 1.1.2 |       function-bind: 1.1.2 | ||||||
|     dev: true |     dev: true | ||||||
| 
 | 
 | ||||||
|  |   /hash-wasm@4.11.0: | ||||||
|  |     resolution: {integrity: sha512-HVusNXlVqHe0fzIzdQOGolnFN6mX/fqcrSAOcTBXdvzrXVHwTz11vXeKRmkR5gTuwVpvHZEIyKoePDvuAR+XwQ==} | ||||||
|  |     dev: false | ||||||
|  | 
 | ||||||
|   /hasown@2.0.0: |   /hasown@2.0.0: | ||||||
|     resolution: {integrity: sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==} |     resolution: {integrity: sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==} | ||||||
|     engines: {node: '>= 0.4'} |     engines: {node: '>= 0.4'} | ||||||
| @ -6167,9 +6191,9 @@ packages: | |||||||
|     resolution: {integrity: sha512-Xj6dv+PsbtwyPpEflsejS+oIZxmMlV44zAhG479uYu89MsjcYOhCFnNyKrkJrihbsiasQyY0afoCl/9BLR65bg==} |     resolution: {integrity: sha512-Xj6dv+PsbtwyPpEflsejS+oIZxmMlV44zAhG479uYu89MsjcYOhCFnNyKrkJrihbsiasQyY0afoCl/9BLR65bg==} | ||||||
|     engines: {node: '>= 0.4'} |     engines: {node: '>= 0.4'} | ||||||
|     dependencies: |     dependencies: | ||||||
|       get-intrinsic: 1.2.2 |       get-intrinsic: 1.2.4 | ||||||
|       hasown: 2.0.0 |       hasown: 2.0.0 | ||||||
|       side-channel: 1.0.4 |       side-channel: 1.0.6 | ||||||
|     dev: true |     dev: true | ||||||
| 
 | 
 | ||||||
|   /ip-address@7.1.0: |   /ip-address@7.1.0: | ||||||
| @ -6202,8 +6226,8 @@ packages: | |||||||
|   /is-array-buffer@3.0.2: |   /is-array-buffer@3.0.2: | ||||||
|     resolution: {integrity: sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==} |     resolution: {integrity: sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==} | ||||||
|     dependencies: |     dependencies: | ||||||
|       call-bind: 1.0.5 |       call-bind: 1.0.7 | ||||||
|       get-intrinsic: 1.2.2 |       get-intrinsic: 1.2.4 | ||||||
|       is-typed-array: 1.1.12 |       is-typed-array: 1.1.12 | ||||||
|     dev: true |     dev: true | ||||||
| 
 | 
 | ||||||
| @ -6227,7 +6251,7 @@ packages: | |||||||
|     resolution: {integrity: sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==} |     resolution: {integrity: sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==} | ||||||
|     engines: {node: '>= 0.4'} |     engines: {node: '>= 0.4'} | ||||||
|     dependencies: |     dependencies: | ||||||
|       call-bind: 1.0.5 |       call-bind: 1.0.7 | ||||||
|       has-tostringtag: 1.0.0 |       has-tostringtag: 1.0.0 | ||||||
|     dev: true |     dev: true | ||||||
| 
 | 
 | ||||||
| @ -6364,7 +6388,7 @@ packages: | |||||||
|     resolution: {integrity: sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==} |     resolution: {integrity: sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==} | ||||||
|     engines: {node: '>= 0.4'} |     engines: {node: '>= 0.4'} | ||||||
|     dependencies: |     dependencies: | ||||||
|       call-bind: 1.0.5 |       call-bind: 1.0.7 | ||||||
|       has-tostringtag: 1.0.0 |       has-tostringtag: 1.0.0 | ||||||
|     dev: true |     dev: true | ||||||
| 
 | 
 | ||||||
| @ -6376,7 +6400,7 @@ packages: | |||||||
|   /is-shared-array-buffer@1.0.2: |   /is-shared-array-buffer@1.0.2: | ||||||
|     resolution: {integrity: sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==} |     resolution: {integrity: sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==} | ||||||
|     dependencies: |     dependencies: | ||||||
|       call-bind: 1.0.5 |       call-bind: 1.0.7 | ||||||
|     dev: true |     dev: true | ||||||
| 
 | 
 | ||||||
|   /is-stream@2.0.1: |   /is-stream@2.0.1: | ||||||
| @ -6419,7 +6443,7 @@ packages: | |||||||
|   /is-weakref@1.0.2: |   /is-weakref@1.0.2: | ||||||
|     resolution: {integrity: sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==} |     resolution: {integrity: sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==} | ||||||
|     dependencies: |     dependencies: | ||||||
|       call-bind: 1.0.5 |       call-bind: 1.0.7 | ||||||
|     dev: true |     dev: true | ||||||
| 
 | 
 | ||||||
|   /is-what@3.14.1: |   /is-what@3.14.1: | ||||||
| @ -7130,7 +7154,7 @@ packages: | |||||||
|     resolution: {integrity: sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==} |     resolution: {integrity: sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==} | ||||||
|     engines: {node: '>= 0.4'} |     engines: {node: '>= 0.4'} | ||||||
|     dependencies: |     dependencies: | ||||||
|       call-bind: 1.0.5 |       call-bind: 1.0.7 | ||||||
|       define-properties: 1.2.1 |       define-properties: 1.2.1 | ||||||
|       has-symbols: 1.0.3 |       has-symbols: 1.0.3 | ||||||
|       object-keys: 1.1.1 |       object-keys: 1.1.1 | ||||||
| @ -7782,7 +7806,7 @@ packages: | |||||||
|     resolution: {integrity: sha512-sy6TXMN+hnP/wMy+ISxg3krXx7BAtWVO4UouuCN/ziM9UEne0euamVNafDfvC83bRNr95y0V5iijeDQFUNpvrg==} |     resolution: {integrity: sha512-sy6TXMN+hnP/wMy+ISxg3krXx7BAtWVO4UouuCN/ziM9UEne0euamVNafDfvC83bRNr95y0V5iijeDQFUNpvrg==} | ||||||
|     engines: {node: '>= 0.4'} |     engines: {node: '>= 0.4'} | ||||||
|     dependencies: |     dependencies: | ||||||
|       call-bind: 1.0.5 |       call-bind: 1.0.7 | ||||||
|       define-properties: 1.2.1 |       define-properties: 1.2.1 | ||||||
|       set-function-name: 2.0.1 |       set-function-name: 2.0.1 | ||||||
|     dev: true |     dev: true | ||||||
| @ -7933,8 +7957,8 @@ packages: | |||||||
|     resolution: {integrity: sha512-6XbUAseYE2KtOuGueyeobCySj9L4+66Tn6KQMOPQJrAJEowYKW/YR/MGJZl7FdydUdaFu4LYyDZjxf4/Nmo23Q==} |     resolution: {integrity: sha512-6XbUAseYE2KtOuGueyeobCySj9L4+66Tn6KQMOPQJrAJEowYKW/YR/MGJZl7FdydUdaFu4LYyDZjxf4/Nmo23Q==} | ||||||
|     engines: {node: '>=0.4'} |     engines: {node: '>=0.4'} | ||||||
|     dependencies: |     dependencies: | ||||||
|       call-bind: 1.0.5 |       call-bind: 1.0.7 | ||||||
|       get-intrinsic: 1.2.2 |       get-intrinsic: 1.2.4 | ||||||
|       has-symbols: 1.0.3 |       has-symbols: 1.0.3 | ||||||
|       isarray: 2.0.5 |       isarray: 2.0.5 | ||||||
|     dev: true |     dev: true | ||||||
| @ -7946,8 +7970,8 @@ packages: | |||||||
|   /safe-regex-test@1.0.0: |   /safe-regex-test@1.0.0: | ||||||
|     resolution: {integrity: sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==} |     resolution: {integrity: sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==} | ||||||
|     dependencies: |     dependencies: | ||||||
|       call-bind: 1.0.5 |       call-bind: 1.0.7 | ||||||
|       get-intrinsic: 1.2.2 |       get-intrinsic: 1.2.4 | ||||||
|       is-regex: 1.1.4 |       is-regex: 1.1.4 | ||||||
|     dev: true |     dev: true | ||||||
| 
 | 
 | ||||||
| @ -8037,23 +8061,25 @@ packages: | |||||||
|     resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==} |     resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==} | ||||||
|     dev: false |     dev: false | ||||||
| 
 | 
 | ||||||
|   /set-function-length@1.1.1: |   /set-function-length@1.2.2: | ||||||
|     resolution: {integrity: sha512-VoaqjbBJKiWtg4yRcKBQ7g7wnGnLV3M8oLvVWwOk2PdYY6PEFegR1vezXR0tw6fZGF9csVakIRjrJiy2veSBFQ==} |     resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==} | ||||||
|     engines: {node: '>= 0.4'} |     engines: {node: '>= 0.4'} | ||||||
|     dependencies: |     dependencies: | ||||||
|       define-data-property: 1.1.1 |       define-data-property: 1.1.4 | ||||||
|       get-intrinsic: 1.2.2 |       es-errors: 1.3.0 | ||||||
|  |       function-bind: 1.1.2 | ||||||
|  |       get-intrinsic: 1.2.4 | ||||||
|       gopd: 1.0.1 |       gopd: 1.0.1 | ||||||
|       has-property-descriptors: 1.0.1 |       has-property-descriptors: 1.0.2 | ||||||
|     dev: true |     dev: true | ||||||
| 
 | 
 | ||||||
|   /set-function-name@2.0.1: |   /set-function-name@2.0.1: | ||||||
|     resolution: {integrity: sha512-tMNCiqYVkXIZgc2Hnoy2IvC/f8ezc5koaRFkCjrpWzGpCd3qbZXPzVy9MAZzK1ch/X0jvSkojys3oqJN0qCmdA==} |     resolution: {integrity: sha512-tMNCiqYVkXIZgc2Hnoy2IvC/f8ezc5koaRFkCjrpWzGpCd3qbZXPzVy9MAZzK1ch/X0jvSkojys3oqJN0qCmdA==} | ||||||
|     engines: {node: '>= 0.4'} |     engines: {node: '>= 0.4'} | ||||||
|     dependencies: |     dependencies: | ||||||
|       define-data-property: 1.1.1 |       define-data-property: 1.1.4 | ||||||
|       functions-have-names: 1.2.3 |       functions-have-names: 1.2.3 | ||||||
|       has-property-descriptors: 1.0.1 |       has-property-descriptors: 1.0.2 | ||||||
|     dev: true |     dev: true | ||||||
| 
 | 
 | ||||||
|   /set-value@4.1.0: |   /set-value@4.1.0: | ||||||
| @ -8076,11 +8102,13 @@ packages: | |||||||
|     engines: {node: '>=8'} |     engines: {node: '>=8'} | ||||||
|     dev: true |     dev: true | ||||||
| 
 | 
 | ||||||
|   /side-channel@1.0.4: |   /side-channel@1.0.6: | ||||||
|     resolution: {integrity: sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==} |     resolution: {integrity: sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==} | ||||||
|  |     engines: {node: '>= 0.4'} | ||||||
|     dependencies: |     dependencies: | ||||||
|       call-bind: 1.0.5 |       call-bind: 1.0.7 | ||||||
|       get-intrinsic: 1.2.2 |       es-errors: 1.3.0 | ||||||
|  |       get-intrinsic: 1.2.4 | ||||||
|       object-inspect: 1.13.1 |       object-inspect: 1.13.1 | ||||||
|     dev: true |     dev: true | ||||||
| 
 | 
 | ||||||
| @ -8231,22 +8259,22 @@ packages: | |||||||
|   /string.prototype.matchall@4.0.10: |   /string.prototype.matchall@4.0.10: | ||||||
|     resolution: {integrity: sha512-rGXbGmOEosIQi6Qva94HUjgPs9vKW+dkG7Y8Q5O2OYkWL6wFaTRZO8zM4mhP94uX55wgyrXzfS2aGtGzUL7EJQ==} |     resolution: {integrity: sha512-rGXbGmOEosIQi6Qva94HUjgPs9vKW+dkG7Y8Q5O2OYkWL6wFaTRZO8zM4mhP94uX55wgyrXzfS2aGtGzUL7EJQ==} | ||||||
|     dependencies: |     dependencies: | ||||||
|       call-bind: 1.0.5 |       call-bind: 1.0.7 | ||||||
|       define-properties: 1.2.1 |       define-properties: 1.2.1 | ||||||
|       es-abstract: 1.22.3 |       es-abstract: 1.22.3 | ||||||
|       get-intrinsic: 1.2.2 |       get-intrinsic: 1.2.4 | ||||||
|       has-symbols: 1.0.3 |       has-symbols: 1.0.3 | ||||||
|       internal-slot: 1.0.6 |       internal-slot: 1.0.6 | ||||||
|       regexp.prototype.flags: 1.5.1 |       regexp.prototype.flags: 1.5.1 | ||||||
|       set-function-name: 2.0.1 |       set-function-name: 2.0.1 | ||||||
|       side-channel: 1.0.4 |       side-channel: 1.0.6 | ||||||
|     dev: true |     dev: true | ||||||
| 
 | 
 | ||||||
|   /string.prototype.trim@1.2.8: |   /string.prototype.trim@1.2.8: | ||||||
|     resolution: {integrity: sha512-lfjY4HcixfQXOfaqCvcBuOIapyaroTXhbkfJN3gcB1OtyupngWK4sEET9Knd0cXd28kTUqu/kHoV4HKSJdnjiQ==} |     resolution: {integrity: sha512-lfjY4HcixfQXOfaqCvcBuOIapyaroTXhbkfJN3gcB1OtyupngWK4sEET9Knd0cXd28kTUqu/kHoV4HKSJdnjiQ==} | ||||||
|     engines: {node: '>= 0.4'} |     engines: {node: '>= 0.4'} | ||||||
|     dependencies: |     dependencies: | ||||||
|       call-bind: 1.0.5 |       call-bind: 1.0.7 | ||||||
|       define-properties: 1.2.1 |       define-properties: 1.2.1 | ||||||
|       es-abstract: 1.22.3 |       es-abstract: 1.22.3 | ||||||
|     dev: true |     dev: true | ||||||
| @ -8254,7 +8282,7 @@ packages: | |||||||
|   /string.prototype.trimend@1.0.7: |   /string.prototype.trimend@1.0.7: | ||||||
|     resolution: {integrity: sha512-Ni79DqeB72ZFq1uH/L6zJ+DKZTkOtPIHovb3YZHQViE+HDouuU4mBrLOLDn5Dde3RF8qw5qVETEjhu9locMLvA==} |     resolution: {integrity: sha512-Ni79DqeB72ZFq1uH/L6zJ+DKZTkOtPIHovb3YZHQViE+HDouuU4mBrLOLDn5Dde3RF8qw5qVETEjhu9locMLvA==} | ||||||
|     dependencies: |     dependencies: | ||||||
|       call-bind: 1.0.5 |       call-bind: 1.0.7 | ||||||
|       define-properties: 1.2.1 |       define-properties: 1.2.1 | ||||||
|       es-abstract: 1.22.3 |       es-abstract: 1.22.3 | ||||||
|     dev: true |     dev: true | ||||||
| @ -8262,7 +8290,7 @@ packages: | |||||||
|   /string.prototype.trimstart@1.0.7: |   /string.prototype.trimstart@1.0.7: | ||||||
|     resolution: {integrity: sha512-NGhtDFu3jCEm7B4Fy0DpLewdJQOZcQ0rGbwQ/+stjnrp2i+rlKeCvos9hOIeCmqwratM47OBxY7uFZzjxHXmrg==} |     resolution: {integrity: sha512-NGhtDFu3jCEm7B4Fy0DpLewdJQOZcQ0rGbwQ/+stjnrp2i+rlKeCvos9hOIeCmqwratM47OBxY7uFZzjxHXmrg==} | ||||||
|     dependencies: |     dependencies: | ||||||
|       call-bind: 1.0.5 |       call-bind: 1.0.7 | ||||||
|       define-properties: 1.2.1 |       define-properties: 1.2.1 | ||||||
|       es-abstract: 1.22.3 |       es-abstract: 1.22.3 | ||||||
|     dev: true |     dev: true | ||||||
| @ -8559,8 +8587,8 @@ packages: | |||||||
|     resolution: {integrity: sha512-Y8KTSIglk9OZEr8zywiIHG/kmQ7KWyjseXs1CbSo8vC42w7hg2HgYTxSWwP0+is7bWDc1H+Fo026CpHFwm8tkw==} |     resolution: {integrity: sha512-Y8KTSIglk9OZEr8zywiIHG/kmQ7KWyjseXs1CbSo8vC42w7hg2HgYTxSWwP0+is7bWDc1H+Fo026CpHFwm8tkw==} | ||||||
|     engines: {node: '>= 0.4'} |     engines: {node: '>= 0.4'} | ||||||
|     dependencies: |     dependencies: | ||||||
|       call-bind: 1.0.5 |       call-bind: 1.0.7 | ||||||
|       get-intrinsic: 1.2.2 |       get-intrinsic: 1.2.4 | ||||||
|       is-typed-array: 1.1.12 |       is-typed-array: 1.1.12 | ||||||
|     dev: true |     dev: true | ||||||
| 
 | 
 | ||||||
| @ -8568,7 +8596,7 @@ packages: | |||||||
|     resolution: {integrity: sha512-Or/+kvLxNpeQ9DtSydonMxCx+9ZXOswtwJn17SNLvhptaXYDJvkFFP5zbfU/uLmvnBJlI4yrnXRxpdWH/M5tNA==} |     resolution: {integrity: sha512-Or/+kvLxNpeQ9DtSydonMxCx+9ZXOswtwJn17SNLvhptaXYDJvkFFP5zbfU/uLmvnBJlI4yrnXRxpdWH/M5tNA==} | ||||||
|     engines: {node: '>= 0.4'} |     engines: {node: '>= 0.4'} | ||||||
|     dependencies: |     dependencies: | ||||||
|       call-bind: 1.0.5 |       call-bind: 1.0.7 | ||||||
|       for-each: 0.3.3 |       for-each: 0.3.3 | ||||||
|       has-proto: 1.0.1 |       has-proto: 1.0.1 | ||||||
|       is-typed-array: 1.1.12 |       is-typed-array: 1.1.12 | ||||||
| @ -8579,7 +8607,7 @@ packages: | |||||||
|     engines: {node: '>= 0.4'} |     engines: {node: '>= 0.4'} | ||||||
|     dependencies: |     dependencies: | ||||||
|       available-typed-arrays: 1.0.5 |       available-typed-arrays: 1.0.5 | ||||||
|       call-bind: 1.0.5 |       call-bind: 1.0.7 | ||||||
|       for-each: 0.3.3 |       for-each: 0.3.3 | ||||||
|       has-proto: 1.0.1 |       has-proto: 1.0.1 | ||||||
|       is-typed-array: 1.1.12 |       is-typed-array: 1.1.12 | ||||||
| @ -8588,7 +8616,7 @@ packages: | |||||||
|   /typed-array-length@1.0.4: |   /typed-array-length@1.0.4: | ||||||
|     resolution: {integrity: sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==} |     resolution: {integrity: sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==} | ||||||
|     dependencies: |     dependencies: | ||||||
|       call-bind: 1.0.5 |       call-bind: 1.0.7 | ||||||
|       for-each: 0.3.3 |       for-each: 0.3.3 | ||||||
|       is-typed-array: 1.1.12 |       is-typed-array: 1.1.12 | ||||||
|     dev: true |     dev: true | ||||||
| @ -8624,7 +8652,7 @@ packages: | |||||||
|   /unbox-primitive@1.0.2: |   /unbox-primitive@1.0.2: | ||||||
|     resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} |     resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} | ||||||
|     dependencies: |     dependencies: | ||||||
|       call-bind: 1.0.5 |       call-bind: 1.0.7 | ||||||
|       has-bigints: 1.0.2 |       has-bigints: 1.0.2 | ||||||
|       has-symbols: 1.0.3 |       has-symbols: 1.0.3 | ||||||
|       which-boxed-primitive: 1.0.2 |       which-boxed-primitive: 1.0.2 | ||||||
| @ -9158,8 +9186,8 @@ packages: | |||||||
|       vue: 3.3.4 |       vue: 3.3.4 | ||||||
|     dev: false |     dev: false | ||||||
| 
 | 
 | ||||||
|   /vue-demi@0.14.7(vue@3.3.4): |   /vue-demi@0.14.8(vue@3.3.4): | ||||||
|     resolution: {integrity: sha512-EOG8KXDQNwkJILkx/gPcoL/7vH+hORoBaKgGe+6W7VFMvCYJfmF2dGbvgDroVnI8LU7/kTu8mbjRZGBU1z9NTA==} |     resolution: {integrity: sha512-Uuqnk9YE9SsWeReYqK2alDI5YzciATE0r2SkA6iMAtuXvNTMNACJLJEXNXaEy94ECuBe4Sk6RzRU80kjdbIo1Q==} | ||||||
|     engines: {node: '>=12'} |     engines: {node: '>=12'} | ||||||
|     hasBin: true |     hasBin: true | ||||||
|     requiresBuild: true |     requiresBuild: true | ||||||
| @ -9343,7 +9371,7 @@ packages: | |||||||
|     engines: {node: '>= 0.4'} |     engines: {node: '>= 0.4'} | ||||||
|     dependencies: |     dependencies: | ||||||
|       available-typed-arrays: 1.0.5 |       available-typed-arrays: 1.0.5 | ||||||
|       call-bind: 1.0.5 |       call-bind: 1.0.7 | ||||||
|       for-each: 0.3.3 |       for-each: 0.3.3 | ||||||
|       gopd: 1.0.1 |       gopd: 1.0.1 | ||||||
|       has-tostringtag: 1.0.0 |       has-tostringtag: 1.0.0 | ||||||
| @ -9449,6 +9477,7 @@ packages: | |||||||
| 
 | 
 | ||||||
|   /workbox-google-analytics@7.0.0: |   /workbox-google-analytics@7.0.0: | ||||||
|     resolution: {integrity: sha512-MEYM1JTn/qiC3DbpvP2BVhyIH+dV/5BjHk756u9VbwuAhu0QHyKscTnisQuz21lfRpOwiS9z4XdqeVAKol0bzg==} |     resolution: {integrity: sha512-MEYM1JTn/qiC3DbpvP2BVhyIH+dV/5BjHk756u9VbwuAhu0QHyKscTnisQuz21lfRpOwiS9z4XdqeVAKol0bzg==} | ||||||
|  |     deprecated: It is not compatible with newer versions of GA starting with v4, as long as you are using GAv3 it should be ok, but the package is not longer being maintained | ||||||
|     dependencies: |     dependencies: | ||||||
|       workbox-background-sync: 7.0.0 |       workbox-background-sync: 7.0.0 | ||||||
|       workbox-core: 7.0.0 |       workbox-core: 7.0.0 | ||||||
|  | |||||||
| @ -1,7 +1,8 @@ | |||||||
| import { useRouteQuery } from '@vueuse/router'; | import { useRouteQuery } from '@vueuse/router'; | ||||||
| import { computed } from 'vue'; | import { computed } from 'vue'; | ||||||
|  | import { useStorage } from '@vueuse/core'; | ||||||
| 
 | 
 | ||||||
| export { useQueryParam }; | export { useQueryParam, useQueryParamOrStorage }; | ||||||
| 
 | 
 | ||||||
| const transformers = { | const transformers = { | ||||||
|   number: { |   number: { | ||||||
| @ -16,6 +17,12 @@ const transformers = { | |||||||
|     fromQuery: (value: string) => value.toLowerCase() === 'true', |     fromQuery: (value: string) => value.toLowerCase() === 'true', | ||||||
|     toQuery: (value: boolean) => (value ? 'true' : 'false'), |     toQuery: (value: boolean) => (value ? 'true' : 'false'), | ||||||
|   }, |   }, | ||||||
|  |   object: { | ||||||
|  |     fromQuery: (value: string) => { | ||||||
|  |       return JSON.parse(value); | ||||||
|  |     }, | ||||||
|  |     toQuery: (value: object) => JSON.stringify(value), | ||||||
|  |   }, | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| function useQueryParam<T>({ name, defaultValue }: { name: string; defaultValue: T }) { | function useQueryParam<T>({ name, defaultValue }: { name: string; defaultValue: T }) { | ||||||
| @ -33,3 +40,27 @@ function useQueryParam<T>({ name, defaultValue }: { name: string; defaultValue: | |||||||
|     }, |     }, | ||||||
|   }); |   }); | ||||||
| } | } | ||||||
|  | 
 | ||||||
|  | function useQueryParamOrStorage<T>({ name, storageName, defaultValue }: { name: string; storageName: string; defaultValue: T }) { | ||||||
|  |   const type = typeof defaultValue; | ||||||
|  |   const transformer = transformers[type as keyof typeof transformers] ?? transformers.string; | ||||||
|  | 
 | ||||||
|  |   const storageRef = useStorage(storageName, defaultValue); | ||||||
|  |   const proxyDefaultValue = transformer.toQuery(defaultValue as never); | ||||||
|  |   const proxy = useRouteQuery(name, proxyDefaultValue); | ||||||
|  | 
 | ||||||
|  |   const r = ref(defaultValue); | ||||||
|  | 
 | ||||||
|  |   watch(r, | ||||||
|  |     (value) => { | ||||||
|  |       proxy.value = transformer.toQuery(value as never); | ||||||
|  |       storageRef.value = value as never; | ||||||
|  |     }, | ||||||
|  |     { deep: true }); | ||||||
|  | 
 | ||||||
|  |   r.value = (proxy.value && proxy.value !== proxyDefaultValue | ||||||
|  |     ? transformer.fromQuery(proxy.value) as unknown as T | ||||||
|  |     : storageRef.value as T) as never; | ||||||
|  | 
 | ||||||
|  |   return r; | ||||||
|  | } | ||||||
|  | |||||||
| @ -2,9 +2,30 @@ | |||||||
| import type { lib } from 'crypto-js'; | import type { lib } from 'crypto-js'; | ||||||
| import { MD5, RIPEMD160, SHA1, SHA224, SHA256, SHA3, SHA384, SHA512, enc } from 'crypto-js'; | import { MD5, RIPEMD160, SHA1, SHA224, SHA256, SHA3, SHA384, SHA512, enc } from 'crypto-js'; | ||||||
| 
 | 
 | ||||||
|  | import { | ||||||
|  |   adler32, | ||||||
|  |   argon2d, | ||||||
|  |   argon2i, | ||||||
|  |   argon2id, | ||||||
|  |   blake2b, | ||||||
|  |   blake2s, | ||||||
|  |   blake3, | ||||||
|  |   crc32, | ||||||
|  |   crc32c, | ||||||
|  |   createSHA256, | ||||||
|  |   keccak, | ||||||
|  |   pbkdf2, | ||||||
|  |   sm3, | ||||||
|  |   whirlpool, | ||||||
|  |   xxhash128, | ||||||
|  |   xxhash3, | ||||||
|  |   xxhash32, | ||||||
|  |   xxhash64, | ||||||
|  | } from 'hash-wasm'; | ||||||
|  | 
 | ||||||
| import InputCopyable from '../../components/InputCopyable.vue'; | import InputCopyable from '../../components/InputCopyable.vue'; | ||||||
| import { convertHexToBin } from './hash-text.service'; | import { convertHexToBin } from './hash-text.service'; | ||||||
| import { useQueryParam } from '@/composable/queryParams'; | import { useQueryParamOrStorage } from '@/composable/queryParams'; | ||||||
| 
 | 
 | ||||||
| const algos = { | const algos = { | ||||||
|   MD5, |   MD5, | ||||||
| @ -20,7 +41,27 @@ const algos = { | |||||||
| type AlgoNames = keyof typeof algos; | type AlgoNames = keyof typeof algos; | ||||||
| type Encoding = keyof typeof enc | 'Bin'; | type Encoding = keyof typeof enc | 'Bin'; | ||||||
| const algoNames = Object.keys(algos) as AlgoNames[]; | const algoNames = Object.keys(algos) as AlgoNames[]; | ||||||
| const encoding = useQueryParam<Encoding>({ defaultValue: 'Hex', name: 'encoding' }); | 
 | ||||||
|  | const algosWasm = { | ||||||
|  |   adler32, | ||||||
|  |   crc32, | ||||||
|  |   crc32c, | ||||||
|  |   blake2b, | ||||||
|  |   blake2s, | ||||||
|  |   blake3, | ||||||
|  |   keccak, | ||||||
|  |   xxhash32, | ||||||
|  |   xxhash64, | ||||||
|  |   xxhash3, | ||||||
|  |   xxhash128, | ||||||
|  |   sm3, | ||||||
|  |   whirlpool, | ||||||
|  | } as const; | ||||||
|  | 
 | ||||||
|  | type AlgoWasmNames = keyof typeof algosWasm; | ||||||
|  | const algoWasmNames = Object.keys(algosWasm) as AlgoWasmNames[]; | ||||||
|  | 
 | ||||||
|  | const encoding = useQueryParamOrStorage<Encoding>({ defaultValue: 'Hex', storageName: 'hash-text:encoding', name: 'encoding' }); | ||||||
| const clearText = ref(''); | const clearText = ref(''); | ||||||
| 
 | 
 | ||||||
| function formatWithEncoding(words: lib.WordArray, encoding: Encoding) { | function formatWithEncoding(words: lib.WordArray, encoding: Encoding) { | ||||||
| @ -32,12 +73,91 @@ function formatWithEncoding(words: lib.WordArray, encoding: Encoding) { | |||||||
| } | } | ||||||
| 
 | 
 | ||||||
| const hashText = (algo: AlgoNames, value: string) => formatWithEncoding(algos[algo](value), encoding.value); | const hashText = (algo: AlgoNames, value: string) => formatWithEncoding(algos[algo](value), encoding.value); | ||||||
|  | 
 | ||||||
|  | const defaultHashWasmValues = { | ||||||
|  |   adler32: '', | ||||||
|  |   crc32: '', | ||||||
|  |   crc32c: '', | ||||||
|  |   blake2b: '', | ||||||
|  |   blake2s: '', | ||||||
|  |   blake3: '', | ||||||
|  |   keccak: '', | ||||||
|  |   xxhash32: '', | ||||||
|  |   xxhash64: '', | ||||||
|  |   xxhash3: '', | ||||||
|  |   xxhash128: '', | ||||||
|  |   sm3: '', | ||||||
|  |   whirlpool: '', | ||||||
|  | }; | ||||||
|  | const hashWasmValues = computedAsync(async () => { | ||||||
|  |   const encodingValue = encoding.value; | ||||||
|  |   const clearTextValue = clearText.value; | ||||||
|  |   const ret = defaultHashWasmValues; | ||||||
|  |   for (const algo of algoWasmNames) { | ||||||
|  |     ret[algo] = formatWithEncoding(enc.Hex.parse(await algosWasm[algo](clearTextValue)), encodingValue); | ||||||
|  |   } | ||||||
|  |   return ret; | ||||||
|  | }, defaultHashWasmValues); | ||||||
|  | 
 | ||||||
|  | const salt = new Uint8Array(16); | ||||||
|  | window.crypto.getRandomValues(salt); | ||||||
|  | const hashWasmArgon2i = computedAsync(async () => { | ||||||
|  |   const clearTextValue = clearText.value; | ||||||
|  |   return await argon2i({ | ||||||
|  |     password: clearTextValue, | ||||||
|  |     salt, | ||||||
|  |     parallelism: 1, | ||||||
|  |     memorySize: 128, | ||||||
|  |     iterations: 4, | ||||||
|  |     hashLength: 16, | ||||||
|  |     outputType: 'encoded', | ||||||
|  |   }); | ||||||
|  | }); | ||||||
|  | const hashWasmArgon2d = computedAsync(async () => { | ||||||
|  |   const clearTextValue = clearText.value; | ||||||
|  |   return await argon2d({ | ||||||
|  |     password: clearTextValue, | ||||||
|  |     salt, | ||||||
|  |     parallelism: 1, | ||||||
|  |     memorySize: 128, | ||||||
|  |     iterations: 4, | ||||||
|  |     hashLength: 16, | ||||||
|  |     outputType: 'encoded', | ||||||
|  |   }); | ||||||
|  | }); | ||||||
|  | const hashWasmArgon2id = computedAsync(async () => { | ||||||
|  |   const clearTextValue = clearText.value; | ||||||
|  |   return await argon2id({ | ||||||
|  |     password: clearTextValue, | ||||||
|  |     salt, | ||||||
|  |     parallelism: 1, | ||||||
|  |     memorySize: 128, | ||||||
|  |     iterations: 4, | ||||||
|  |     hashLength: 16, | ||||||
|  |     outputType: 'encoded', | ||||||
|  |   }); | ||||||
|  | }); | ||||||
|  | const hashWasmPBKDF2 = computedAsync(async () => { | ||||||
|  |   const clearTextValue = clearText.value; | ||||||
|  |   return await pbkdf2({ | ||||||
|  |     password: clearTextValue, | ||||||
|  |     salt, | ||||||
|  |     iterations: 16, | ||||||
|  |     hashLength: 32, | ||||||
|  |     hashFunction: createSHA256(), | ||||||
|  |   }); | ||||||
|  | }); | ||||||
| </script> | </script> | ||||||
| 
 | 
 | ||||||
| <template> | <template> | ||||||
|   <div> |   <div> | ||||||
|     <c-card> |     <c-card> | ||||||
|       <c-input-text v-model:value="clearText" multiline raw-text placeholder="Your string to hash..." rows="3" autosize autofocus label="Your text to hash:" /> |       <c-input-text | ||||||
|  |         v-model:value="clearText" | ||||||
|  |         multiline raw-text | ||||||
|  |         placeholder="Your string to hash..." rows="3" | ||||||
|  |         autosize autofocus label="Your text to hash:" | ||||||
|  |       /> | ||||||
| 
 | 
 | ||||||
|       <n-divider /> |       <n-divider /> | ||||||
| 
 | 
 | ||||||
| @ -73,6 +193,44 @@ const hashText = (algo: AlgoNames, value: string) => formatWithEncoding(algos[al | |||||||
|           <InputCopyable :value="hashText(algo, clearText)" readonly /> |           <InputCopyable :value="hashText(algo, clearText)" readonly /> | ||||||
|         </n-input-group> |         </n-input-group> | ||||||
|       </div> |       </div> | ||||||
|  | 
 | ||||||
|  |       <div v-for="algo in algoWasmNames" :key="algo" style="margin: 5px 0"> | ||||||
|  |         <n-input-group> | ||||||
|  |           <n-input-group-label style="flex: 0 0 120px"> | ||||||
|  |             {{ algo.toUpperCase() }} | ||||||
|  |           </n-input-group-label> | ||||||
|  |           <InputCopyable :value="hashWasmValues[algo]" readonly /> | ||||||
|  |         </n-input-group> | ||||||
|  |       </div> | ||||||
|  | 
 | ||||||
|  |       <n-divider /> | ||||||
|  | 
 | ||||||
|  |       <div style="margin: 5px 0"> | ||||||
|  |         <n-input-group> | ||||||
|  |           <n-input-group-label style="flex: 0 0 120px"> | ||||||
|  |             Argon2d | ||||||
|  |           </n-input-group-label> | ||||||
|  |           <InputCopyable :value="hashWasmArgon2d" readonly /> | ||||||
|  |         </n-input-group> | ||||||
|  |         <n-input-group> | ||||||
|  |           <n-input-group-label style="flex: 0 0 120px"> | ||||||
|  |             Argon2i | ||||||
|  |           </n-input-group-label> | ||||||
|  |           <InputCopyable :value="hashWasmArgon2i" readonly /> | ||||||
|  |         </n-input-group> | ||||||
|  |         <n-input-group> | ||||||
|  |           <n-input-group-label style="flex: 0 0 120px"> | ||||||
|  |             Argon2id | ||||||
|  |           </n-input-group-label> | ||||||
|  |           <InputCopyable :value="hashWasmArgon2id" readonly /> | ||||||
|  |         </n-input-group> | ||||||
|  |         <n-input-group> | ||||||
|  |           <n-input-group-label style="flex: 0 0 120px"> | ||||||
|  |             PBKDF2 | ||||||
|  |           </n-input-group-label> | ||||||
|  |           <InputCopyable :value="hashWasmPBKDF2" readonly /> | ||||||
|  |         </n-input-group> | ||||||
|  |       </div> | ||||||
|     </c-card> |     </c-card> | ||||||
|   </div> |   </div> | ||||||
| </template> | </template> | ||||||
|  | |||||||
| @ -5,7 +5,8 @@ import { translate } from '@/plugins/i18n.plugin'; | |||||||
| export const tool = defineTool({ | export const tool = defineTool({ | ||||||
|   name: translate('tools.hash-text.title'), |   name: translate('tools.hash-text.title'), | ||||||
|   path: '/hash-text', |   path: '/hash-text', | ||||||
|   description: translate('tools.hash-text.description'), |   description: | ||||||
|  |     'Hash a text string using the function you need : MD5, SHA1, SHA256, SHA224, SHA512, SHA384, SHA3, RIPEMD160, ADLER32, CRC32, CRC32C, BLAKE, KECCAK, XXHASH, SM3, WHIRLPOOL or Argon2(i/d/id)', | ||||||
|   keywords: [ |   keywords: [ | ||||||
|     'hash', |     'hash', | ||||||
|     'digest', |     'digest', | ||||||
| @ -20,6 +21,24 @@ export const tool = defineTool({ | |||||||
|     'SHA384', |     'SHA384', | ||||||
|     'SHA3', |     'SHA3', | ||||||
|     'RIPEMD160', |     'RIPEMD160', | ||||||
|  |     'ADLER32', | ||||||
|  |     'BLAKE2B', | ||||||
|  |     'BLAKE2S', | ||||||
|  |     'BLAKE3', | ||||||
|  |     'CRC32', | ||||||
|  |     'CRC32C', | ||||||
|  |     'KECCAK', | ||||||
|  |     'PBKDF2', | ||||||
|  |     'SM3', | ||||||
|  |     'WHIRLPOOL', | ||||||
|  |     'XXHASH128', | ||||||
|  |     'XXHASH3', | ||||||
|  |     'XXHASH32', | ||||||
|  |     'XXHASH64', | ||||||
|  |     'Argon2', | ||||||
|  |     'Argon2i', | ||||||
|  |     'Argon2d', | ||||||
|  |     'Argon2id', | ||||||
|   ], |   ], | ||||||
|   component: () => import('./hash-text.vue'), |   component: () => import('./hash-text.vue'), | ||||||
|   icon: EyeOff, |   icon: EyeOff, | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user