From d89b325294201d95498ae9d08f102e12ac2f2876 Mon Sep 17 00:00:00 2001 From: Rose Hogenson Date: Sun, 5 Oct 2025 18:00:06 -0700 Subject: Implement a "magic wormhole" file-sharing solution --- static/htmx-ext-sse.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 static/htmx-ext-sse.js (limited to 'static/htmx-ext-sse.js') diff --git a/static/htmx-ext-sse.js b/static/htmx-ext-sse.js new file mode 100644 index 0000000..6d087ec --- /dev/null +++ b/static/htmx-ext-sse.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.37.0. + * Original file: /npm/htmx-ext-sse@2.2.2/sse.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +!function(){var e;function t(e){return new EventSource(e,{withCredentials:!0})}function n(t){if(e.getAttributeValue(t,"sse-swap")){if(null==(u=e.getClosestMatch(t,i)))return null;for(var n=e.getInternalData(u).sseEventSource,r=e.getAttributeValue(t,"sse-swap").split(","),o=0;o0){const e=t.querySelectorAll("[sse-swap], [data-sse-swap], [hx-trigger], [data-hx-trigger]");for(let t=0;t