From cd421bd15d8c02db383e72a4043989f619c02f2a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 16 Feb 2026 17:53:23 +0000 Subject: [PATCH] This build was committed by a bot. --- dist/assets/{index-KdN4AvZR.js => index-CN7yZXw2.js} | 12 ++++++------ dist/index.html | 2 +- dist/sw.js | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) rename dist/assets/{index-KdN4AvZR.js => index-CN7yZXw2.js} (99%) diff --git a/dist/assets/index-KdN4AvZR.js b/dist/assets/index-CN7yZXw2.js similarity index 99% rename from dist/assets/index-KdN4AvZR.js rename to dist/assets/index-CN7yZXw2.js index 80734c3..f9739cb 100644 --- a/dist/assets/index-KdN4AvZR.js +++ b/dist/assets/index-CN7yZXw2.js @@ -1,3 +1,4 @@ +import mathjax3 from "https://esm.sh/markdown-it-mathjax3"; (function polyfill() { const relList = document.createElement("link").relList; if (relList && relList.supports && relList.supports("modulepreload")) return; @@ -35,7 +36,7 @@ const seen = {}; const __vitePreload = function preload(baseModule, deps, importerUrl) { let promise = Promise.resolve(); if (deps && deps.length > 0) { - let allSettled2 = function(promises$2) { + let allSettled = function(promises$2) { return Promise.all(promises$2.map((p) => Promise.resolve(p).then((value$1) => ({ status: "fulfilled", value: value$1 @@ -44,11 +45,10 @@ const __vitePreload = function preload(baseModule, deps, importerUrl) { reason })))); }; - var allSettled = allSettled2; document.getElementsByTagName("link"); const cspNonceMeta = document.querySelector("meta[property=csp-nonce]"); const cspNonce = cspNonceMeta?.nonce || cspNonceMeta?.getAttribute("nonce"); - promise = allSettled2(deps.map((dep) => { + promise = allSettled(deps.map((dep) => { dep = assetsURL(dep); if (dep in seen) return; seen[dep] = true; @@ -528,7 +528,7 @@ function enhanceCodeBlocks(root, doHL = true) { if (doHL && window.hljs && code.textContent.length < 1e5) hljs.highlightElement(code); }); } -const md = window.markdownit({ html: false, linkify: true, typographer: true, breaks: true }); +const md = window.markdownit({ html: false, linkify: true, typographer: true, breaks: true }).use(mathjax3); const getSuneLabel = (m) => { const name = m && m.sune_name || SUNE.name, modelShort = getModelShort(m && m.model); return `${name} · ${modelShort}`; @@ -1539,8 +1539,8 @@ $(el.threadSyncBtn).on("click", async () => { if (remoteMap[t.id] && remoteMap[t.id].name !== newName) { await ghApi(`${info.apiPath}/${remoteMap[t.id].name}`, "DELETE", { message: `Rename thread ${t.id}`, sha: remoteMap[t.id].sha, branch: info.branch }); } - const ex = await ghApi(`${info.apiPath}/${newName}?ref=${info.branch}`); - await ghApi(`${info.apiPath}/${newName}`, "PUT", { message: `Sync thread ${t.id}`, content: utob(JSON.stringify(msgs, null, 2)), branch: info.branch, sha: ex?.sha }); + const x = await ghApi(`${info.apiPath}/${newName}?ref=${info.branch}`); + await ghApi(`${info.apiPath}/${newName}`, "PUT", { message: `Sync thread ${t.id}`, content: utob(JSON.stringify(msgs, null, 2)), branch: info.branch, sha: x?.sha }); t.status = "synced"; } } diff --git a/dist/index.html b/dist/index.html index 0840c8b..2c1294e 100644 --- a/dist/index.html +++ b/dist/index.html @@ -15,7 +15,7 @@ - + diff --git a/dist/sw.js b/dist/sw.js index 36a39e8..f2edad2 100644 --- a/dist/sw.js +++ b/dist/sw.js @@ -1 +1 @@ -if(!self.define){let e,s={};const i=(i,n)=>(i=new URL(i+".js",n).href,s[i]||new Promise(s=>{if("document"in self){const e=document.createElement("script");e.src=i,e.onload=s,document.head.appendChild(e)}else e=i,importScripts(i),s()}).then(()=>{let e=s[i];if(!e)throw new Error(`Module ${i} didn’t register its module`);return e}));self.define=(n,r)=>{const t=e||("document"in self?document.currentScript.src:"")||location.href;if(s[t])return;let o={};const c=e=>i(e,t),l={module:{uri:t},exports:o,require:c};s[t]=Promise.all(n.map(e=>l[e]||c(e))).then(e=>(r(...e),o))}}define(["./workbox-8c29f6e4"],function(e){"use strict";self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"registerSW.js",revision:"1872c500de691dce40960bb85481de07"},{url:"index.html",revision:"021350f084d145f338c0bbe9352c22c8"},{url:"assets/index-KdN4AvZR.js",revision:null},{url:"assets/index-JLEDB1oP.css",revision:null},{url:"manifest.webmanifest",revision:"7a6c5c6ab9cb5d3605d21df44c6b17a2"}],{}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("index.html")))}); +if(!self.define){let e,s={};const i=(i,n)=>(i=new URL(i+".js",n).href,s[i]||new Promise(s=>{if("document"in self){const e=document.createElement("script");e.src=i,e.onload=s,document.head.appendChild(e)}else e=i,importScripts(i),s()}).then(()=>{let e=s[i];if(!e)throw new Error(`Module ${i} didn’t register its module`);return e}));self.define=(n,r)=>{const t=e||("document"in self?document.currentScript.src:"")||location.href;if(s[t])return;let o={};const l=e=>i(e,t),c={module:{uri:t},exports:o,require:l};s[t]=Promise.all(n.map(e=>c[e]||l(e))).then(e=>(r(...e),o))}}define(["./workbox-8c29f6e4"],function(e){"use strict";self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"registerSW.js",revision:"1872c500de691dce40960bb85481de07"},{url:"index.html",revision:"a81bf68a6e156d8998369853ee11f36f"},{url:"assets/index-JLEDB1oP.css",revision:null},{url:"assets/index-CN7yZXw2.js",revision:null},{url:"manifest.webmanifest",revision:"7a6c5c6ab9cb5d3605d21df44c6b17a2"}],{}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("index.html")))});