summaryrefslogtreecommitdiff
path: root/dist/wipfel/wipfel.js
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2026-10-27 19:13:03 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2026-10-27 19:13:03 +0100
commit2df51e89039b9b160aafb52b700e874411eb0555 (patch)
treeffed8ff63fb39a422f7d14d1c6da3e8281997631 /dist/wipfel/wipfel.js
parent2d3cba97ff6ffbfe094ed0045329d875c6d1960b (diff)
wipfel: PWA — manifest, service worker, Web Share Target
- manifest.webmanifest: standalone, dark theme, mountain icons (regular + maskable) - sw.js: network-first with cache fallback -> full offline after first visit (wasm + hill DB included); versioned cache, stale caches pruned - share_target: images shared to the installed app are POSTed to __share; the SW stashes the bytes at __shared and redirects with ?shared=1; the app picks them up on startup and cleans the URL - index.html: manifest link, theme-color, icons, SW registration - build/serve scripts ship the new files; dist refreshed Note: sharing does not bypass AOSP GPS redaction when the share source passes a MediaStore URI (the browser is still the reader) — the .nomedia/rename trick remains the way to get GPS EXIF into a browser.
Diffstat (limited to 'dist/wipfel/wipfel.js')
-rw-r--r--dist/wipfel/wipfel.js22
1 files changed, 20 insertions, 2 deletions
diff --git a/dist/wipfel/wipfel.js b/dist/wipfel/wipfel.js
index e1eedc0..9e90bc5 100644
--- a/dist/wipfel/wipfel.js
+++ b/dist/wipfel/wipfel.js
@@ -210,6 +210,10 @@ function __wbg_get_imports() {
const ret = arg0.height;
return ret;
},
+ __wbg_history_4128e7793fa4758c: function() { return handleError(function (arg0) {
+ const ret = arg0.history;
+ return ret;
+ }, arguments); },
__wbg_host_c1e5897b2ece281c: function(arg0) {
const ret = arg0.host;
return ret;
@@ -313,6 +317,10 @@ function __wbg_get_imports() {
const ret = arg0.__yew_listener_id;
return isLikeNone(ret) ? Number.MAX_SAFE_INTEGER : (ret) >>> 0;
},
+ __wbg_location_9c46e8ada95d3174: function(arg0) {
+ const ret = arg0.location;
+ return ret;
+ },
__wbg_measureText_1035b288be51876c: function() { return handleError(function (arg0, arg1, arg2) {
const ret = arg0.measureText(getStringFromWasm0(arg1, arg2));
return ret;
@@ -441,10 +449,20 @@ function __wbg_get_imports() {
const ret = arg0.removeChild(arg1);
return ret;
}, arguments); },
+ __wbg_replaceState_8814bbf1e44e1990: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
+ arg0.replaceState(arg1, getStringFromWasm0(arg2, arg3), arg4 === 0 ? undefined : getStringFromWasm0(arg4, arg5));
+ }, arguments); },
__wbg_resolve_0076e10020304ede: function(arg0) {
const ret = Promise.resolve(arg0);
return ret;
},
+ __wbg_search_31c06ba77ebf51f4: function() { return handleError(function (arg0, arg1) {
+ const ret = arg1.search;
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
+ const len1 = WASM_VECTOR_LEN;
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
+ }, arguments); },
__wbg_setAttribute_9e7d603908f63705: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
arg0.setAttribute(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
}, arguments); },
@@ -605,7 +623,7 @@ function __wbg_get_imports() {
return ret;
},
__wbindgen_generic_0000000000000002: function(arg0, arg1) {
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 75, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 70, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
const ret = makeClosure(arg0, arg1, wasm_bindgen_f1f668f83a5f514b___convert__closures_____invoke___js_sys_351dd7d36d5f7033___Array__web_sys_d6718dd818f67bd6___features__gen_ResizeObserver__ResizeObserver______true_);
return ret;
},
@@ -615,7 +633,7 @@ function __wbg_get_imports() {
return ret;
},
__wbindgen_generic_0000000000000004: function(arg0, arg1) {
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 77, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 72, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
const ret = makeClosure(arg0, arg1, wasm_bindgen_f1f668f83a5f514b___convert__closures_____invoke_______true_);
return ret;
},