Release v2.15.0: Implement /calc/ (haiperdohpjematreeah) Group 3 homepage UI parity & hyperdope-ci-build upstream patch integration (Plan #60) and parallel CMU Flite kal16/slt + broadcast DSP voice mastering for /quant/ guided tour (Plan #59 Strategies 1A/2A/3A)
This commit is contained in:
1 parent
15b3be154b
commit
fdeaf4d006
7 files changed
+971
-20
No files matched your search
Binary file not shown.
@@ -1,18 +1,18 @@
|
||||
# `ingglish-hyperdope-ci` / `hyperdope-ci-build` (`v2.14.0` — `https://hyperstitionstud.io/ci/`)
|
||||
# `ingglish-hyperdope-ci` / `hyperdope-ci-build` (`v2.15.0` — `https://hyperstitionstud.io/ci/`)
|
||||
|
||||
<!-- HS-COMMIT-STATUS:START -->
|
||||
> **Gitea Commit & Release Telemetry (`v2.14.0` • Namespace `urn:io:hyperstitionstud`)**
|
||||
> **Gitea Commit & Release Telemetry (`v2.15.0` • Namespace `urn:io:hyperstitionstud`)**
|
||||
> - **Repository Role & Public Route:** 4-Gate CI/CD Ingglish Provisioning Pipeline (`100.0%` keep rate), `ci-audit-report.json`, & `db_ingglish_entries.txt` → [`https://hyperstitionstud.io/ci/ONBOARDING-INGGLISH-AQ.pdf`](https://hyperstitionstud.io/ci/ONBOARDING-INGGLISH-AQ.pdf)
|
||||
> - **Latest Commit Scope (`ingglish-hyperdope-ci`):** Synchronized v2.14.0 release state across 1 tracked module/artifact surface(s)
|
||||
> - **Touched Files / Surfaces:** `README.md (release metadata sync)`
|
||||
> - **Live Verified Ecosystem Metrics (`v2.14.0`):** `6` Repositories • `17` CLI Entrypoints • `20` MCP/REST Tools • `14` URN Resources • `63` Verified Web Routes • `388` KG Nodes / `1,282` Edges • `282` Glossary Entries • `4,943` Offline CMUdict Phonetics • `0` Synthetic Data
|
||||
> - **Latest Commit Scope (`ingglish-hyperdope-ci`):** Synchronized v2.15.0 release state across 6 tracked module/artifact surface(s)
|
||||
> - **Touched Files / Surfaces:** `ONBOARDING-INGGLISH-AQ.pdf`, `config.default.js`, `docs/ONBOARDING-INGGLISH-AQ.md`, `integrate-upstream-and-ui.sh`, `patches/0001-feat-calc-ingglish-priority-toggle.patch`, `patches/0002-feat-ui-group3-homepage-parity-and-haiperdohpjematreeah-branding.patch`
|
||||
> - **Live Verified Ecosystem Metrics (`v2.15.0`):** `6` Repositories • `17` CLI Entrypoints • `20` MCP/REST Tools • `14` URN Resources • `63` Verified Web Routes • `388` KG Nodes / `1,282` Edges • `282` Glossary Entries • `4,943` Offline CMUdict Phonetics • `0` Synthetic Data
|
||||
<!-- HS-COMMIT-STATUS:END -->
|
||||
|
||||
Automated **4-Gate CI/CD Ingglish & Base-36 AQ Corpus Provisioning Repository** (`feat/ingglish-aq-corpus`), serving verified `db_ingglish_entries.txt` lexical candidates, `ci-audit-report.json` (`100.0%` 4-Gate keep rate), and `ONBOARDING-INGGLISH-AQ.{md,pdf}` for `https://hyperstitionstud.io/ci/` and `https://hyperstitionstud.io/calc/`.
|
||||
|
||||
---
|
||||
|
||||
## Canonical Repository Artifacts (`v2.14.0`)
|
||||
## Canonical Repository Artifacts (`v2.15.0`)
|
||||
|
||||
| Artifact | Public URL & Verification Role |
|
||||
| :--- | :--- |
|
||||
|
||||
+71
-13
@@ -1,14 +1,72 @@
|
||||
// config.default.js — hyperdope-gematria configuration
|
||||
const defaultConfig = {
|
||||
databaseVersion: 57,
|
||||
optAllowPhraseComments: true,
|
||||
customCategories: {
|
||||
"Ingglish / CCRU": [
|
||||
"Alphanumeric Qabbala",
|
||||
"Synx",
|
||||
"Based Atlanteanism",
|
||||
"Primes",
|
||||
"Ordinal"
|
||||
]
|
||||
}
|
||||
// =====================================================================
|
||||
// haiperdohpjematreeah Configuration (Default / Opensource)
|
||||
// Copy this file to config.js and customize for your site.
|
||||
// =====================================================================
|
||||
|
||||
var CALC_CONFIG = {
|
||||
|
||||
// --- Branding ---
|
||||
siteName: "haiperdohpjematreeah", // logo text
|
||||
siteTitle: "haiperdohpjematreeah — Gematria", // browser tab title
|
||||
logoColor: "hsl(148, 60%, 45%)", // green (match code rain)
|
||||
logoGlow: "0 0 8px rgba(0,255,65,0.3), 0 0 16px rgba(0,255,65,0.15)",
|
||||
logoHoverMatrix: true, // flip letters to matrix font on hover
|
||||
faviconUrl: "res/favicon.png",
|
||||
|
||||
// --- Messages ---
|
||||
welcomeMessage: "loading cypher database...",
|
||||
loadedMessage: "{count} entries × {ciphers} cyphers ready",
|
||||
|
||||
// --- Links ---
|
||||
siteUrl: "",
|
||||
githubUrl: "https://github.com/malonehunter/hyperdope-gematria",
|
||||
aboutLinks: [
|
||||
// Add your own links here:
|
||||
// { text: "My Site", url: "https://example.com" },
|
||||
{ text: "GitHub", url: "https://github.com/malonehunter/hyperdope-gematria" },
|
||||
],
|
||||
|
||||
// --- Credits ---
|
||||
credits: [
|
||||
{ name: "Saun-Virroco", role: "Original Gematro creator" },
|
||||
{ name: "NetVoid", url: "https://cyphers.news/", role: "Preserved codebase & database" },
|
||||
{ name: "Alektryon", url: "https://github.com/Alektryon", role: "Cipher contributions" },
|
||||
{ name: "Hyperdope", url: "https://hyperdope.com", role: "Database overhaul & v2 architecture" },
|
||||
],
|
||||
|
||||
// --- Database ---
|
||||
databaseMode: "auto", // "auto" tries db.json then db.txt | "json" | "txt"
|
||||
databaseJsonUrl: "db.json", // full set — loaded in background
|
||||
databaseLiteJsonUrl: "db_lite.json", // lite set (common ciphers) — loaded first for fast paint
|
||||
databaseTxtUrl: "db.txt",
|
||||
databaseVersion: 5, // bump on each db.json regen -> cache-busts the db fetch (?v=N)
|
||||
|
||||
// --- Defaults ---
|
||||
autoMatchDesktop: true,
|
||||
autoMatchMobile: false,
|
||||
prioritizeIngglishMatches: false, // sort [Ingglish: ...] matches to top of query results
|
||||
resultsPerPage: 12,
|
||||
newPhrasesOnTop: true,
|
||||
|
||||
// Ciphers enabled by default on first load + "reset to defaults". Overrides the
|
||||
// enabled:true flags in ciphers.js. Empty => use ciphers.js defaults (classic 4).
|
||||
// Names must match ciphers.js exactly. Example:
|
||||
// defaultEnabledCiphers: ["Ordinal", "Reduction", "Reverse Ordinal", "Reverse Reduction"],
|
||||
defaultEnabledCiphers: [],
|
||||
|
||||
// Optional "Curated" preset button — a one-click extended loadout. Empty/omitted => no
|
||||
// button shown. Keep in sync with the lite db.json (tools/generate_db_json.py LITE_CIPHERS).
|
||||
// Example: recommendedCiphers: ["Ordinal", "Reduction", "Alphanumeric Qabbala", ...],
|
||||
recommendedCiphers: [],
|
||||
|
||||
// --- Custom Cipher Categories ---
|
||||
// Group ciphers into custom menu sections. Ciphers are referenced by
|
||||
// their exact name from ciphers.js. They still appear in their original
|
||||
// category too — custom categories are convenience shortcuts.
|
||||
customCategories: [
|
||||
{
|
||||
name: "Ingglish / CCRU",
|
||||
ciphers: ["Alphanumeric Qabbala", "Synx", "Based Atlanteanism", "Primes", "Ordinal"]
|
||||
},
|
||||
],
|
||||
};
|
||||
@@ -1,6 +1,6 @@
|
||||
# Welcome to Hyperdope-Gematria & Ingglish AQ: A Complete Newcomer's Guide
|
||||
|
||||
If you are brand new to **Hyperdope-Gematria** (`Cypher Calculator`) and have never heard of **Ingglish** or **Alphanumeric Qabbala (AQ)**, this guide walks you through everything from first principles to hands-on discovery in under five minutes.
|
||||
If you are brand new to **Hyperdope-Gematria** (`haiperdohpjematreeah`) and have never heard of **Ingglish** or **Alphanumeric Qabbala (AQ)**, this guide walks you through everything from first principles to hands-on discovery in under five minutes.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Executable
+51
@@ -0,0 +1,51 @@
|
||||
#!/usr/bin/env bash
|
||||
# /workspace/hyperdope-ci-build/integrate-upstream-and-ui.sh
|
||||
# Integrates upstream `malonehunter/hyperdope-gematria` (`origin/master`) with:
|
||||
# Layer 1 (`feat/ingglish-aq-corpus`): Verified Ingglish AQ corpus (`db.txt`) + `tools/normalize_caps.py` guard + `docs/ONBOARDING-INGGLISH-AQ.md`
|
||||
# Layer 2 (`feat/ingglish-priority-toggle`): `patches/0001-feat-calc-ingglish-priority-toggle.patch` (`ING ↑` query match priority toggle)
|
||||
# Layer 3 (`main` / `feat/group3-homepage-ui-and-branding`): `patches/0002-feat-ui-group3-homepage-parity-and-haiperdohpjematreeah-branding.patch`
|
||||
# and regenerates clean upstream PR patches whenever UI or corpus changes are made in `haiperdohp-jemaytreeah`.
|
||||
set -euo pipefail
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")" && pwd)"
|
||||
CALC_REPO="${1:-/workspace/haiperdohp-jemaytreeah}"
|
||||
MODE="${2:---export-patches}"
|
||||
|
||||
if [[ ! -d "${CALC_REPO}/.git" ]]; then
|
||||
echo "[ERROR] Target calculator repository not found at ${CALC_REPO}" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
mkdir -p "${SCRIPT_DIR}/patches"
|
||||
PATCH_1="${SCRIPT_DIR}/patches/0001-feat-calc-ingglish-priority-toggle.patch"
|
||||
PATCH_2="${SCRIPT_DIR}/patches/0002-feat-ui-group3-homepage-parity-and-haiperdohpjematreeah-branding.patch"
|
||||
|
||||
if [[ "${MODE}" == "--export-patches" ]]; then
|
||||
echo "[1/2] Exporting clean Layer 2 (ING ↑ Priority Toggle) & Layer 3 (Group 3 Homepage UI & haiperdohpjematreeah Branding) patches from ${CALC_REPO}..."
|
||||
git -C "${CALC_REPO}" diff feat/ingglish-aq-corpus..feat/ingglish-priority-toggle -- calc/calc.js calc/database.js > "${PATCH_1}"
|
||||
git -C "${CALC_REPO}" diff feat/ingglish-priority-toggle -- index.html calc/styles.css calc/coderain.js config.default.js manifest.json > "${PATCH_2}"
|
||||
echo "[2/2] Verifying exported patches are non-empty and syntactically valid..."
|
||||
test -s "${PATCH_1}"
|
||||
test -s "${PATCH_2}"
|
||||
echo "[OK] Exported clean upstream-ready patches:"
|
||||
echo " - ${PATCH_1} ($(wc -c < "${PATCH_1}") bytes)"
|
||||
echo " - ${PATCH_2} ($(wc -c < "${PATCH_2}") bytes)"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [[ "${MODE}" == "--verify-clean-apply" ]]; then
|
||||
TMP_WT="/tmp/haiperdohp-patch-verify-$$"
|
||||
trap 'git -C "${CALC_REPO}" worktree remove --force "${TMP_WT}" || rm -rf "${TMP_WT}"' EXIT
|
||||
git -C "${CALC_REPO}" worktree add --detach "${TMP_WT}" feat/ingglish-aq-corpus
|
||||
echo "[1/2] Verifying Layer 2 patch (0001-feat-calc-ingglish-priority-toggle.patch) applies cleanly on feat/ingglish-aq-corpus..."
|
||||
git -C "${TMP_WT}" apply --check "${PATCH_1}"
|
||||
git -C "${TMP_WT}" apply "${PATCH_1}"
|
||||
echo "[2/2] Verifying Layer 3 patch (0002-feat-ui-group3-homepage-parity-and-haiperdohpjematreeah-branding.patch) applies cleanly on top of Layer 2..."
|
||||
git -C "${TMP_WT}" apply --check "${PATCH_2}"
|
||||
git -C "${TMP_WT}" apply "${PATCH_2}"
|
||||
echo "[OK] Both Layer 2 and Layer 3 patches apply 100% cleanly on top of upstream + feat/ingglish-aq-corpus!"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
echo "[ERROR] Unknown mode: ${MODE} (expected --export-patches or --verify-clean-apply)" >&2
|
||||
exit 2
|
||||
@@ -0,0 +1,141 @@
|
||||
diff --git a/calc/calc.js b/calc/calc.js
|
||||
index f58e9e8..37c1a2c 100644
|
||||
--- a/calc/calc.js
|
||||
+++ b/calc/calc.js
|
||||
@@ -60,6 +60,7 @@ var optHltSameCipher = false;
|
||||
var alphaHlt = 0.15; // opacity for values that do not match - change value here and in conf_SOM()
|
||||
|
||||
var optAllowPhraseComments = true; // allow phrase comments, text inside [...] is not evaluated
|
||||
+var optPrioritizeIngglish = (typeof CALC_CONFIG !== 'undefined' && CALC_CONFIG.prioritizeIngglishMatches) ? true : false; // sort [Ingglish: ...] matches to top of query results
|
||||
var liveDatabaseMode = true; // live database mode
|
||||
|
||||
var dbPageItems = (typeof CALC_CONFIG !== 'undefined' && CALC_CONFIG.resultsPerPage) ? CALC_CONFIG.resultsPerPage : 12;
|
||||
@@ -103,6 +104,7 @@ var calcOptionsArr = [
|
||||
"optNewPhrasesGoFirst",
|
||||
"optShowExtraCiphers",
|
||||
"optAllowPhraseComments",
|
||||
+ "optPrioritizeIngglish",
|
||||
"liveDatabaseMode",
|
||||
"optLetterWordCount",
|
||||
"optWordBreakdown",
|
||||
@@ -546,6 +548,8 @@ function createOptionsMenu() {
|
||||
|
||||
if (optShowExtraCiphers) SECstate = "checked"; // Show Extra Ciphers
|
||||
if (optAllowPhraseComments) APCstate = "checked"; // Allow Phrase Comments
|
||||
+ var PIMstate = "";
|
||||
+ if (optPrioritizeIngglish) PIMstate = "checked"; // Prioritize Ingglish [...]
|
||||
if (liveDatabaseMode) LDMstate = "checked"; // Live Database Mode
|
||||
|
||||
if (optNewPhrasesGoFirst) NPGFstate = "checked"; // New Phrases Go First
|
||||
@@ -586,6 +590,10 @@ function createOptionsMenu() {
|
||||
'<div class="optionElement"><label class="chkLabel ciphCheckboxLabel2">Ignore Comments [...]<input type="checkbox" id="chkbox_APC" onclick="conf_APC()" ' +
|
||||
APCstate +
|
||||
'><span class="custChkBox"></span></label></div>';
|
||||
+ o +=
|
||||
+ '<div class="optionElement"><label class="chkLabel ciphCheckboxLabel2">Prioritize Ingglish [...]<input type="checkbox" id="chkbox_PIM" onclick="conf_PIM()" ' +
|
||||
+ PIMstate +
|
||||
+ '><span class="custChkBox"></span></label></div>';
|
||||
o +=
|
||||
'<div class="optionElement"><label class="chkLabel ciphCheckboxLabel2">Live Database Mode<input type="checkbox" id="chkbox_LDM" onclick="conf_LDM()" ' +
|
||||
LDMstate +
|
||||
@@ -709,6 +717,16 @@ function conf_APC() {
|
||||
updateTables();
|
||||
}
|
||||
|
||||
+function conf_PIM() {
|
||||
+ // Prioritize Ingglish [...] Matches
|
||||
+ optPrioritizeIngglish = !optPrioritizeIngglish;
|
||||
+ var chk = document.getElementById("chkbox_PIM");
|
||||
+ if (chk !== null) chk.checked = optPrioritizeIngglish;
|
||||
+ var btn = document.getElementById("queryIngPriorityBtn");
|
||||
+ if (btn !== null) btn.classList.toggle("ingPriorityOn", optPrioritizeIngglish);
|
||||
+ refreshOpenQuery();
|
||||
+}
|
||||
+
|
||||
function conf_LWC() {
|
||||
// Letter/Word Count
|
||||
optLetterWordCount = !optLetterWordCount;
|
||||
diff --git a/calc/database.js b/calc/database.js
|
||||
index 31704c8..df9f3a5 100644
|
||||
--- a/calc/database.js
|
||||
+++ b/calc/database.js
|
||||
@@ -109,6 +109,31 @@ function clearDatabaseQueryTable() {
|
||||
queryResultInitial = [] // clear
|
||||
}
|
||||
|
||||
+function isIngglishEntry(phr) {
|
||||
+ return typeof phr === "string" && phr.indexOf("[Ingglish:") !== -1
|
||||
+}
|
||||
+
|
||||
+function compareQueryMatches(a, b, searchPhrase) {
|
||||
+ // 1. Exact phrase match (full string or stripped of [...] comment) always first
|
||||
+ var aRaw = a[1].toLowerCase()
|
||||
+ var bRaw = b[1].toLowerCase()
|
||||
+ var aStripped = aRaw.replace(/\[.+\]/g, '').trim()
|
||||
+ var bStripped = bRaw.replace(/\[.+\]/g, '').trim()
|
||||
+ var aExact = (aRaw === searchPhrase || aStripped === searchPhrase) ? 1 : 0
|
||||
+ var bExact = (bRaw === searchPhrase || bStripped === searchPhrase) ? 1 : 0
|
||||
+ if (aExact !== bExact) return bExact - aExact
|
||||
+
|
||||
+ // 2. When optPrioritizeIngglish is enabled, sort [Ingglish: ...] matches above non-Ingglish matches
|
||||
+ if (typeof optPrioritizeIngglish !== "undefined" && optPrioritizeIngglish) {
|
||||
+ var aIng = isIngglishEntry(a[1]) ? 1 : 0
|
||||
+ var bIng = isIngglishEntry(b[1]) ? 1 : 0
|
||||
+ if (aIng !== bIng) return bIng - aIng
|
||||
+ }
|
||||
+
|
||||
+ // 3. Then sort by match score descending
|
||||
+ return b[0] - a[0]
|
||||
+}
|
||||
+
|
||||
function searchDBcrossCipher() { // populate "queryResult" array with matching phrases
|
||||
var p, m, n
|
||||
queryResult = [] // reset matching phrases
|
||||
@@ -145,14 +170,10 @@ function searchDBcrossCipher() { // populate "queryResult" array with matching p
|
||||
}
|
||||
if (tmpArr[0] > 0) queryResult.push(tmpArr) // if total score is more than zero, add phrase to array
|
||||
}
|
||||
- // Sort by score descending, but pin exact phrase match to top
|
||||
- var searchPhrase = sVal().toLowerCase()
|
||||
+ // Sort by score descending, pinning exact match and (when enabled) [Ingglish: ...] matches to top
|
||||
+ var searchPhrase = sVal().toLowerCase().trim()
|
||||
queryResult.sort(function(a, b) {
|
||||
- // Exact phrase match always first
|
||||
- var aExact = a[1].toLowerCase() === searchPhrase ? 1 : 0
|
||||
- var bExact = b[1].toLowerCase() === searchPhrase ? 1 : 0
|
||||
- if (aExact !== bExact) return bExact - aExact
|
||||
- return b[0] - a[0]; // then by score descending
|
||||
+ return compareQueryMatches(a, b, searchPhrase)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -185,13 +206,10 @@ function searchDBsameCipher() { // populate "queryResult" array with matching ph
|
||||
}
|
||||
if (tmpArr[0] > 0) queryResult.push(tmpArr) // if total score is more than zero, add phrase to array
|
||||
}
|
||||
- // Sort by score descending, but pin exact phrase match to top
|
||||
- var searchPhrase = sVal().toLowerCase()
|
||||
+ // Sort by score descending, pinning exact match and (when enabled) [Ingglish: ...] matches to top
|
||||
+ var searchPhrase = sVal().toLowerCase().trim()
|
||||
queryResult.sort(function(a, b) {
|
||||
- var aExact = a[1].toLowerCase() === searchPhrase ? 1 : 0
|
||||
- var bExact = b[1].toLowerCase() === searchPhrase ? 1 : 0
|
||||
- if (aExact !== bExact) return bExact - aExact
|
||||
- return b[0] - a[0];
|
||||
+ return compareQueryMatches(a, b, searchPhrase)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -267,9 +285,11 @@ function updateDatabaseQueryTable(stPos = 0, dItems, scrollBarEvent = false) { /
|
||||
|
||||
if (firstPhrase) { // open row on the first phrase
|
||||
firstPhrase = false
|
||||
+ var ingBtnClass = (typeof optPrioritizeIngglish !== "undefined" && optPrioritizeIngglish) ? "queryPageBtn ingPriorityBtn ingPriorityOn" : "queryPageBtn ingPriorityBtn"
|
||||
ms += '<tr class="cH"><td class="mPQ">'
|
||||
ms += queryResult.length.toLocaleString('en')+' matches'
|
||||
- ms += '<br><br>'
|
||||
+ ms += '<br><input class="'+ingBtnClass+'" id="queryIngPriorityBtn" type="button" value="ING ↑" title="Toggle Ingglish [...] priority sort to top" onclick="event.stopPropagation();conf_PIM()">'
|
||||
+ ms += '<br>'
|
||||
ms += '<div style="display: inline-flex;">'
|
||||
ms += '<input class="queryPageBtn" id="queryPrevPageBtn" type="button" value="<" onclick="queryShowPrevPage()">'
|
||||
ms += '<input id="queryPosInput" type="tel" autocomplete="off" value="'+curPos+'">'
|
||||
@@ -0,0 +1,701 @@
|
||||
diff --git a/calc/coderain.js b/calc/coderain.js
|
||||
index aa0a688..d7cdea1 100644
|
||||
--- a/calc/coderain.js
|
||||
+++ b/calc/coderain.js
|
||||
@@ -67,6 +67,12 @@ function rndInt(min, max) { // inclusive
|
||||
}
|
||||
|
||||
function toggleCodeRain() {
|
||||
+ if (typeof window !== "undefined" && document.getElementById("hsMatrixCodeRainCanvas")) {
|
||||
+ if (typeof code_rain !== "undefined") clearInterval(code_rain)
|
||||
+ var cEl = document.getElementById("canv")
|
||||
+ if (cEl) cEl.style.display = "none"
|
||||
+ return
|
||||
+ }
|
||||
if (optMatrixCodeRain) {
|
||||
clearInterval(code_rain) // reset previous instance
|
||||
document.getElementById("canv").style.display = "none"
|
||||
diff --git a/calc/styles.css b/calc/styles.css
|
||||
index aec44bb..417fb9d 100644
|
||||
--- a/calc/styles.css
|
||||
+++ b/calc/styles.css
|
||||
@@ -29,107 +29,39 @@
|
||||
--font-family: "Montserrat";
|
||||
--font-family-mono: "Roboto Mono";
|
||||
--font-size-body: 95%;
|
||||
- --global-hue: 222;
|
||||
- --global-sat: 1;
|
||||
- --global-lit: 1;
|
||||
- --font-hue: 0;
|
||||
- --font-sat: 0;
|
||||
- --font-lit: 1;
|
||||
- --menu-bg-accent: hsl(
|
||||
- var(--global-hue) calc(20% * var(--global-sat))
|
||||
- calc(28% * var(--global-lit))
|
||||
- );
|
||||
- --menu-bg-accent2: hsl(
|
||||
- var(--global-hue) calc(20% * var(--global-sat))
|
||||
- calc(24% * var(--global-lit))
|
||||
- );
|
||||
- --breakdown-bg-accent: hsl(
|
||||
- var(--global-hue) calc(21% * var(--global-sat))
|
||||
- calc(13% * var(--global-lit))
|
||||
- );
|
||||
- --btn-bg-accent: hsl(
|
||||
- var(--global-hue) calc(20% * var(--global-sat))
|
||||
- calc(22% * var(--global-lit))
|
||||
- );
|
||||
- --btn-hover-accent: hsl(
|
||||
- var(--global-hue) calc(13% * var(--global-sat))
|
||||
- calc(33% * var(--global-lit))
|
||||
- );
|
||||
- --btn-active-accent: hsl(
|
||||
- var(--global-hue) calc(13% * var(--global-sat))
|
||||
- calc(39% * var(--global-lit))
|
||||
- );
|
||||
- --body-bg-accent: hsl(
|
||||
- var(--global-hue) calc(22% * var(--global-sat))
|
||||
- calc(16% * var(--global-lit))
|
||||
- );
|
||||
- --query-bg-accent: hsl(
|
||||
- var(--global-hue) calc(20% * var(--global-sat))
|
||||
- calc(19% * var(--global-lit))
|
||||
- );
|
||||
- --hist-header-gradient: hsl(
|
||||
- var(--global-hue) calc(13% * var(--global-sat))
|
||||
- calc(10% * var(--global-lit))
|
||||
- );
|
||||
- --table-row-odd: hsl(
|
||||
- var(--global-hue) calc(14% * var(--global-sat))
|
||||
- calc(14% * var(--global-lit))
|
||||
- );
|
||||
- --table-row-even: hsl(
|
||||
- var(--global-hue) calc(12% * var(--global-sat))
|
||||
- calc(16% * var(--global-lit))
|
||||
- );
|
||||
- --input-bg-accent: hsl(
|
||||
- var(--global-hue) calc(13% * var(--global-sat))
|
||||
- calc(13% * var(--global-lit))
|
||||
- );
|
||||
- --highlight-date: hsla(
|
||||
- var(--global-hue) calc(30% * var(--global-sat))
|
||||
- calc(85% * var(--global-lit)) / 0.15
|
||||
- );
|
||||
- --drag-highlight: hsla(
|
||||
- var(--global-hue) calc(80% * var(--global-sat)) calc(70% * var(--font-lit)) /
|
||||
- 0.2
|
||||
- );
|
||||
- --drag-highlight-border: hsl(
|
||||
- var(--global-hue) calc(80% * var(--global-sat)) calc(70% * var(--font-lit))
|
||||
- );
|
||||
- --placeholder-color: hsl(
|
||||
- var(--global-hue) calc(20% * var(--global-sat)) calc(45% * var(--font-lit))
|
||||
- );
|
||||
- --checkmark-accent: hsl(
|
||||
- var(--global-hue) calc(75% * var(--global-sat)) calc(85% * var(--font-lit))
|
||||
- );
|
||||
- --font-white-1: hsl(
|
||||
- var(--font-hue) calc(100% * var(--font-sat)) calc(92% * var(--font-lit))
|
||||
- );
|
||||
- --font-white-2: hsl(
|
||||
- var(--font-hue) calc(100% * var(--font-sat)) calc(82% * var(--font-lit))
|
||||
- );
|
||||
- --font-white-3: hsl(
|
||||
- var(--font-hue) calc(100% * var(--font-sat)) calc(63% * var(--font-lit))
|
||||
- );
|
||||
- --font-white-4: hsl(
|
||||
- var(--font-hue) calc(100% * var(--font-sat)) calc(30% * var(--font-lit))
|
||||
- );
|
||||
- --border-accent: hsl(
|
||||
- var(--font-hue) calc(100% * var(--font-sat)) calc(41% * var(--font-lit))
|
||||
- );
|
||||
- --separator-accent: hsl(
|
||||
- var(--font-hue) calc(100% * var(--font-sat)) calc(50% * var(--font-lit))
|
||||
- );
|
||||
- --separator-accent2: hsl(
|
||||
- var(--font-hue) calc(100% * var(--font-sat)) calc(30% * var(--font-lit))
|
||||
- );
|
||||
- --border-dark-accent: hsl(
|
||||
- var(--font-hue) calc(100% * var(--font-sat)) calc(23% * var(--font-lit))
|
||||
- );
|
||||
- --focus-outline: hsl(
|
||||
- var(--font-hue) calc(100% * var(--font-sat)) calc(75% * var(--font-lit))
|
||||
- );
|
||||
- --break-val-accent: hsl(
|
||||
- var(--font-hue) calc(100% * var(--font-sat)) calc(41% * var(--font-lit))
|
||||
- );
|
||||
+ --global-hue: 220;
|
||||
+ --global-sat: 1.4;
|
||||
+ --global-lit: 0.55;
|
||||
+ --font-hue: 215;
|
||||
+ --font-sat: 0.25;
|
||||
+ --font-lit: 0.96;
|
||||
+ --menu-bg-accent: #182338;
|
||||
+ --menu-bg-accent2: #111a2e;
|
||||
+ --breakdown-bg-accent: #070d1b;
|
||||
+ --btn-bg-accent: #132038;
|
||||
+ --btn-hover-accent: #192b4b;
|
||||
+ --btn-active-accent: #223860;
|
||||
+ --body-bg-accent: #020617;
|
||||
+ --query-bg-accent: #0c1324;
|
||||
+ --hist-header-gradient: #070d1b;
|
||||
+ --table-row-odd: #0c1324;
|
||||
+ --table-row-even: #111a2e;
|
||||
+ --input-bg-accent: #070d1b;
|
||||
+ --highlight-date: rgba(245, 158, 11, 0.16);
|
||||
+ --drag-highlight: rgba(56, 189, 248, 0.18);
|
||||
+ --drag-highlight-border: #38bdf8;
|
||||
+ --placeholder-color: #64748b;
|
||||
+ --checkmark-accent: #38bdf8;
|
||||
+ --font-white-1: #f8fafc;
|
||||
+ --font-white-2: #e2e8f0;
|
||||
+ --font-white-3: #94a3b8;
|
||||
+ --font-white-4: #64748b;
|
||||
+ --border-accent: #26344d;
|
||||
+ --separator-accent: #334155;
|
||||
+ --separator-accent2: #1e293b;
|
||||
+ --border-dark-accent: #182338;
|
||||
+ --focus-outline: #38bdf8;
|
||||
+ --break-val-accent: #f59e0b;
|
||||
}
|
||||
|
||||
html,
|
||||
@@ -1953,3 +1885,143 @@ input[type="checkbox"] {
|
||||
height: 0px;
|
||||
border: solid 4px var(--checkmark-accent);
|
||||
}
|
||||
+
|
||||
+/* ==========================================================================
|
||||
+ Group 3 ("Stealth Basalt Plate & Micro-Pip Signal Ribbon") Homepage Parity
|
||||
+ for haiperdohpjematreeah (/calc/)
|
||||
+ ========================================================================== */
|
||||
+body.hs-calc-group3-body {
|
||||
+ background-color: #020617;
|
||||
+ background-image:
|
||||
+ linear-gradient(0deg, rgba(14, 22, 40, 0.38) 1px, transparent 1px),
|
||||
+ linear-gradient(90deg, rgba(14, 22, 40, 0.38) 1px, transparent 1px);
|
||||
+ background-size: 32px 32px;
|
||||
+ color: #f8fafc;
|
||||
+ font-family: "DejaVu Sans Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
||||
+}
|
||||
+
|
||||
+.hs-calc-shell {
|
||||
+ max-width: 1360px;
|
||||
+ margin: 0 auto;
|
||||
+ padding: 1.25rem 1.25rem 1.5rem 1.25rem;
|
||||
+ position: relative;
|
||||
+ z-index: 2;
|
||||
+}
|
||||
+
|
||||
+#hsCalcHeader {
|
||||
+ background: #0f172a;
|
||||
+ border: 1px solid #334155;
|
||||
+ border-left: 4px solid #34d399;
|
||||
+ padding: 1.05rem 1.35rem;
|
||||
+ margin-bottom: 1.15rem;
|
||||
+ display: flex;
|
||||
+ justify-content: space-between;
|
||||
+ align-items: center;
|
||||
+ flex-wrap: wrap;
|
||||
+ gap: 0.85rem;
|
||||
+ text-align: left;
|
||||
+}
|
||||
+
|
||||
+.hs-calc-title-row {
|
||||
+ display: flex;
|
||||
+ align-items: center;
|
||||
+ gap: 0.65rem;
|
||||
+}
|
||||
+
|
||||
+.hs-calc-dot {
|
||||
+ width: 10px;
|
||||
+ height: 10px;
|
||||
+ border-radius: 50%;
|
||||
+ background: #34d399;
|
||||
+ box-shadow: 0 0 10px #34d399;
|
||||
+ flex-shrink: 0;
|
||||
+}
|
||||
+
|
||||
+#hsCalcHeader h1 {
|
||||
+ font-size: 0.98rem;
|
||||
+ font-weight: 700;
|
||||
+ color: #f8fafc;
|
||||
+ margin: 0;
|
||||
+ letter-spacing: -0.02em;
|
||||
+}
|
||||
+
|
||||
+.hs-calc-subtitle {
|
||||
+ color: #94a3b8;
|
||||
+ font-size: 0.71rem;
|
||||
+ margin: 0.25rem 0 0 0;
|
||||
+}
|
||||
+
|
||||
+.hs-calc-top-nav {
|
||||
+ margin-left: auto;
|
||||
+ display: flex;
|
||||
+ align-items: center;
|
||||
+ justify-content: flex-end;
|
||||
+ gap: 0.38rem;
|
||||
+ flex-wrap: wrap;
|
||||
+}
|
||||
+
|
||||
+.hs-nav-btn {
|
||||
+ text-decoration: none !important;
|
||||
+ background: #1e293b;
|
||||
+ color: #f8fafc !important;
|
||||
+ border: 1px solid #334155 !important;
|
||||
+ border-radius: 5px;
|
||||
+ padding: 0.34rem 0.62rem;
|
||||
+ font-size: 0.7rem;
|
||||
+ font-weight: 600;
|
||||
+ white-space: nowrap;
|
||||
+ transition: all 0.15s ease;
|
||||
+}
|
||||
+
|
||||
+.hs-nav-btn:hover {
|
||||
+ border-color: #22d3ee !important;
|
||||
+ color: #22d3ee !important;
|
||||
+}
|
||||
+
|
||||
+.hs-nav-btn.primary {
|
||||
+ background: #22d3ee !important;
|
||||
+ color: #020617 !important;
|
||||
+ border-color: #22d3ee !important;
|
||||
+}
|
||||
+
|
||||
+#calcMain {
|
||||
+ background-color: rgba(12, 19, 36, 0.92);
|
||||
+ border: 1px solid #26344d;
|
||||
+ padding: 1.25rem 1rem 1.5rem 1rem;
|
||||
+ margin: 0 auto;
|
||||
+}
|
||||
+
|
||||
+#inputArea {
|
||||
+ background-color: #070d1b;
|
||||
+ border: 1px solid rgba(56, 189, 248, 0.45);
|
||||
+ padding: 0.55rem 0.85rem;
|
||||
+ margin: 0.75rem auto;
|
||||
+ display: inline-flex;
|
||||
+ align-items: center;
|
||||
+ flex-wrap: wrap;
|
||||
+ justify-content: center;
|
||||
+ gap: 0.35rem;
|
||||
+}
|
||||
+
|
||||
+#phraseBox,
|
||||
+#highlightBox {
|
||||
+ background-color: #020617 !important;
|
||||
+ color: #f8fafc !important;
|
||||
+ border: 1px solid #334155 !important;
|
||||
+ font-family: "DejaVu Sans Mono", "Roboto Mono", monospace !important;
|
||||
+}
|
||||
+
|
||||
+#phraseBox:focus,
|
||||
+#highlightBox:focus {
|
||||
+ border-color: #38bdf8 !important;
|
||||
+ outline: none !important;
|
||||
+ box-shadow: 0 0 8px rgba(56, 189, 248, 0.35);
|
||||
+}
|
||||
+
|
||||
+.dropbtn,
|
||||
+#queryDBbtn,
|
||||
+#enterPhraseBtn,
|
||||
+#autoMatchBtn,
|
||||
+#hltModeBtn {
|
||||
+ font-family: "DejaVu Sans Mono", "Roboto Mono", monospace !important;
|
||||
+}
|
||||
diff --git a/config.default.js b/config.default.js
|
||||
index e9a06af..ee4ad9a 100644
|
||||
--- a/config.default.js
|
||||
+++ b/config.default.js
|
||||
@@ -1,13 +1,13 @@
|
||||
// =====================================================================
|
||||
-// Cypher Calculator Configuration (Default / Opensource)
|
||||
+// haiperdohpjematreeah Configuration (Default / Opensource)
|
||||
// Copy this file to config.js and customize for your site.
|
||||
// =====================================================================
|
||||
|
||||
var CALC_CONFIG = {
|
||||
|
||||
// --- Branding ---
|
||||
- siteName: "Cypher Calculator", // logo text
|
||||
- siteTitle: "Cypher Calculator — Gematria", // browser tab title
|
||||
+ siteName: "haiperdohpjematreeah", // logo text
|
||||
+ siteTitle: "haiperdohpjematreeah — Gematria", // browser tab title
|
||||
logoColor: "hsl(148, 60%, 45%)", // green (match code rain)
|
||||
logoGlow: "0 0 8px rgba(0,255,65,0.3), 0 0 16px rgba(0,255,65,0.15)",
|
||||
logoHoverMatrix: true, // flip letters to matrix font on hover
|
||||
diff --git a/index.html b/index.html
|
||||
index d9fd5f9..9670e8d 100644
|
||||
--- a/index.html
|
||||
+++ b/index.html
|
||||
@@ -1,17 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
+<html lang="en">
|
||||
<head>
|
||||
- <title>Cypher Calculator</title> <!-- updated by config.js -->
|
||||
+ <title>haiperdohpjematreeah</title> <!-- updated by config.js -->
|
||||
<meta charset="utf-8" />
|
||||
<meta
|
||||
name="viewport"
|
||||
- content="width=520, maximum-scale=1, user-scalable=no"
|
||||
+ content="width=device-width, initial-scale=1.0"
|
||||
/>
|
||||
<link rel="shortcut icon" type="image/x-icon" href="res/favicon.png" />
|
||||
|
||||
<!-- Android Web App - Add to Home Screen -->
|
||||
<link rel="manifest" href="manifest.json" />
|
||||
|
||||
- <script src="config.js?v=11"></script>
|
||||
+ <script src="config.js?v=12"></script>
|
||||
<script src="lib/jquery.min.js?v=2"></script>
|
||||
<!-- html2canvas v1.0.0-alpha.12 -->
|
||||
|
||||
@@ -20,7 +21,8 @@
|
||||
<script src="calc/init-variables.js?v=9"></script>
|
||||
<script src="calc/ciphers.js?v=6"></script>
|
||||
|
||||
- <link rel="stylesheet" type="text/css" href="calc/styles.css?v=10" />
|
||||
+ <link rel="stylesheet" type="text/css" href="calc/styles.css?v=12" />
|
||||
+ <link rel="stylesheet" type="text/css" href="/assets/hs-group3-basalt-chamfer.css?v=2.14.0" onerror="this.onerror=null;this.href='../hyperstitionstudio-core/site/assets/hs-group3-basalt-chamfer.css';" />
|
||||
|
||||
<script>
|
||||
window.onpaint = function () {
|
||||
@@ -32,116 +34,144 @@
|
||||
</script>
|
||||
</head>
|
||||
|
||||
-<body>
|
||||
- <!-- initCalc() needs to run before the db loads to create menu properly-->
|
||||
- <!-- <body onload="initCalc(true)"> -->
|
||||
-
|
||||
+<body class="hs-calc-group3-body">
|
||||
<div id="loader"></div>
|
||||
<canvas id="canv"></canvas>
|
||||
|
||||
<!-- preload font -->
|
||||
<span style="font-family: 'Roboto Mono'"></span>
|
||||
|
||||
- <div id="calcMain">
|
||||
- <center>
|
||||
- <div id="calcLogo">
|
||||
- <div id="logoText"></div>
|
||||
- <style>
|
||||
- .logoLetter { transition: font-family 0.1s; display: inline-block; }
|
||||
- .logoLetter:hover { font-family: matrix-font, monospace; color: #00ffcc; }
|
||||
- </style>
|
||||
- </div>
|
||||
- <script>
|
||||
- (function() {
|
||||
- var c = (typeof CALC_CONFIG !== 'undefined') ? CALC_CONFIG : {};
|
||||
- var name = c.siteName || "Cypher Calculator";
|
||||
- var color = c.logoColor || "#00ff41";
|
||||
- var glow = c.logoGlow || "";
|
||||
- var el = document.getElementById("logoText");
|
||||
- el.style.cssText = "color:"+color+";text-shadow:"+glow+";font-family:'Courier New',monospace;font-weight:bold;font-size:250%;letter-spacing:3px;cursor:default;";
|
||||
- if (c.logoHoverMatrix !== false) {
|
||||
- el.innerHTML = name.split("").map(function(ch){ return '<span class="logoLetter">'+ch+'</span>'; }).join("");
|
||||
- } else {
|
||||
- el.textContent = name;
|
||||
- }
|
||||
- document.title = c.siteTitle || name;
|
||||
- })();
|
||||
- </script>
|
||||
- </center>
|
||||
-
|
||||
- <center>
|
||||
- <div id="calcOptionsPanel"></div>
|
||||
-
|
||||
- <div id="colorControlsMenuArea"></div>
|
||||
- <div id="editCiphersMenuArea"></div>
|
||||
- <div id="dateCalcMenuArea"></div>
|
||||
-
|
||||
- <div id="inputArea">
|
||||
- <span id="dbLoadIndicator" style="display:none;margin-right:6px;">
|
||||
- <svg width="22" height="22" viewBox="0 0 22 22" style="vertical-align:middle;animation:dbspin 1s linear infinite;">
|
||||
- <circle cx="11" cy="11" r="9" stroke="var(--font-color,#0ff)" stroke-width="2" fill="none" stroke-dasharray="40 20" stroke-linecap="round"/>
|
||||
- </svg>
|
||||
- </span>
|
||||
- <style>@keyframes dbspin{to{transform:rotate(360deg)}}</style>
|
||||
- <input
|
||||
- id="queryDBbtn"
|
||||
- class="hideValue"
|
||||
- type="button"
|
||||
- onclick="queryDatabase()"
|
||||
- value="Query"
|
||||
- />
|
||||
- <input
|
||||
- id="phraseBox"
|
||||
- autofocus
|
||||
- type="text"
|
||||
- spellcheck="false"
|
||||
- autocomplete="off"
|
||||
- oninput="updateEnabledCipherTable(); updateWordBreakdown(breakCipher,false,false);"
|
||||
- onkeydown="if(event.key==='Enter'){phraseBoxKeypress(13)}else{phraseBoxKeypress(event.keyCode)}"
|
||||
- ondrop="dropHandler(event)"
|
||||
- ondragover="dragOverHandler(event)"
|
||||
- />
|
||||
- <input
|
||||
- id="enterPhraseBtn"
|
||||
- type="button"
|
||||
- title="Add phrase to list"
|
||||
- onclick="addPhraseOnly()"
|
||||
- value="↵"
|
||||
- /><input
|
||||
- id="autoMatchBtn"
|
||||
- class="hideValue"
|
||||
- type="button"
|
||||
- title="Auto-match ON — click to disable"
|
||||
- value="⚡"
|
||||
- onclick="toggleAutoMatch()"
|
||||
- />
|
||||
- <input
|
||||
- id="highlightBox"
|
||||
- type="text"
|
||||
- spellcheck="false"
|
||||
- autocomplete="off"
|
||||
- placeholder="highlight #s"
|
||||
- /><input
|
||||
- id="hltModeBtn"
|
||||
- class="hltModeOff"
|
||||
- type="button"
|
||||
- title="Highlight: any matches (every cell with the value) — click for same column matches"
|
||||
- value="▼"
|
||||
- onclick="toggleHltMode()"
|
||||
- /><span id="clearFilterButton"></span>
|
||||
+ <div class="hs-calc-shell">
|
||||
+ <header id="hsCalcHeader" class="hs-plate-g3 plate-lock-emerald">
|
||||
+ <div>
|
||||
+ <div class="hs-calc-title-row">
|
||||
+ <span class="hs-calc-dot" aria-hidden="true"></span>
|
||||
+ <h1>HYPERSTITIONSTUD.IO/CALC // HAIPERDOHPJEMATREEAH WORKBENCH</h1>
|
||||
+ </div>
|
||||
+ <p class="hs-calc-subtitle">82 Ciphers • 231,615 Ingglish-Provisioned db.txt Entries • Progressive Lite → Full Hydration • <span class="hs-sigil-seal" aria-hidden="true">[ ⚚ · ☿ · ☍ · ☉ ]</span></p>
|
||||
</div>
|
||||
+ <nav class="hs-calc-top-nav" aria-label="Primary Ecosystem Navigation">
|
||||
+ <a class="hs-nav-btn" id="calcNavHome" href="/">Portal Home (/)</a>
|
||||
+ <a class="hs-nav-btn primary" id="calcNavSelf" href="/calc/index.html">Calculator</a>
|
||||
+ <a class="hs-nav-btn" id="calcNavQuant" href="/quant/index.html" style="border-color:#f5c630;color:#f5c630;">Quant</a>
|
||||
+ <a class="hs-nav-btn" id="calcNavGraph" href="/graph/index.html" style="border-color:#22d3ee;color:#22d3ee;">Graph</a>
|
||||
+ <a class="hs-nav-btn" id="calcNavLearn" href="/learn/index.html" style="border-color:#34d399;color:#34d399;">Learn</a>
|
||||
+ <a class="hs-nav-btn" id="calcNavEng" href="/engineering/index.html">Engineering</a>
|
||||
+ <a class="hs-nav-btn" id="calcNavMath" href="/math/index.html">Math</a>
|
||||
+ <span class="nav-donate-sep" aria-hidden="true"></span>
|
||||
+ <a class="btn-donate-pill" id="calcNavDonate" href="/donate/index.html?from=calc" title="Signal Patronage & Open-Instrument Notes (/donate/)"><span class="donate-pill-emblem" aria-hidden="true">♥</span><span>DONATE</span></a>
|
||||
+ </nav>
|
||||
+ </header>
|
||||
|
||||
- <div id="enabledCiphTable"></div>
|
||||
+ <div id="calcMain" class="hs-plate-g3">
|
||||
+ <center>
|
||||
+ <div id="calcLogo">
|
||||
+ <div id="logoText"></div>
|
||||
+ <style>
|
||||
+ .logoLetter { transition: font-family 0.1s; display: inline-block; }
|
||||
+ .logoLetter:hover { font-family: matrix-font, monospace; color: #38bdf8; }
|
||||
+ </style>
|
||||
+ </div>
|
||||
+ <script>
|
||||
+ (function() {
|
||||
+ var c = (typeof CALC_CONFIG !== 'undefined') ? CALC_CONFIG : {};
|
||||
+ var name = c.siteName || "haiperdohpjematreeah";
|
||||
+ if (/^cypher\s*calculator$/i.test(name)) {
|
||||
+ name = "haiperdohpjematreeah";
|
||||
+ }
|
||||
+ var color = c.logoColor || "#34d399";
|
||||
+ var glow = c.logoGlow || "0 0 10px rgba(52,211,153,0.28)";
|
||||
+ var el = document.getElementById("logoText");
|
||||
+ el.style.cssText = "color:"+color+";text-shadow:"+glow+";font-family:'DejaVu Sans Mono','Roboto Mono','Courier New',monospace;font-weight:bold;font-size:215%;letter-spacing:3px;cursor:default;";
|
||||
+ if (c.logoHoverMatrix !== false) {
|
||||
+ el.innerHTML = name.split("").map(function(ch){ return '<span class="logoLetter">'+ch+'</span>'; }).join("");
|
||||
+ } else {
|
||||
+ el.textContent = name;
|
||||
+ }
|
||||
+ var rawTitle = c.siteTitle || name;
|
||||
+ document.title = rawTitle.replace(/cypher\s*calculator/ig, "haiperdohpjematreeah");
|
||||
+ })();
|
||||
+ </script>
|
||||
+ </center>
|
||||
|
||||
- <div id="BreakdownDetails">
|
||||
- <div id="BreakdownSpot"></div>
|
||||
- <div id="ChartSpotScroll"><div id="ChartSpot"></div></div>
|
||||
- </div>
|
||||
- </center>
|
||||
+ <center>
|
||||
+ <div id="calcOptionsPanel"></div>
|
||||
+
|
||||
+ <div id="colorControlsMenuArea"></div>
|
||||
+ <div id="editCiphersMenuArea"></div>
|
||||
+ <div id="dateCalcMenuArea"></div>
|
||||
+
|
||||
+ <div id="inputArea" class="hs-plate-g3">
|
||||
+ <span id="dbLoadIndicator" style="display:none;margin-right:6px;">
|
||||
+ <svg width="22" height="22" viewBox="0 0 22 22" style="vertical-align:middle;animation:dbspin 1s linear infinite;">
|
||||
+ <circle cx="11" cy="11" r="9" stroke="var(--font-color,#0ff)" stroke-width="2" fill="none" stroke-dasharray="40 20" stroke-linecap="round"/>
|
||||
+ </svg>
|
||||
+ </span>
|
||||
+ <style>@keyframes dbspin{to{transform:rotate(360deg)}}</style>
|
||||
+ <input
|
||||
+ id="queryDBbtn"
|
||||
+ class="hideValue"
|
||||
+ type="button"
|
||||
+ onclick="queryDatabase()"
|
||||
+ value="Query"
|
||||
+ />
|
||||
+ <input
|
||||
+ id="phraseBox"
|
||||
+ autofocus
|
||||
+ type="text"
|
||||
+ spellcheck="false"
|
||||
+ autocomplete="off"
|
||||
+ oninput="updateEnabledCipherTable(); updateWordBreakdown(breakCipher,false,false);"
|
||||
+ onkeydown="if(event.key==='Enter'){phraseBoxKeypress(13)}else{phraseBoxKeypress(event.keyCode)}"
|
||||
+ ondrop="dropHandler(event)"
|
||||
+ ondragover="dragOverHandler(event)"
|
||||
+ />
|
||||
+ <input
|
||||
+ id="enterPhraseBtn"
|
||||
+ type="button"
|
||||
+ title="Add phrase to list"
|
||||
+ onclick="addPhraseOnly()"
|
||||
+ value="↵"
|
||||
+ /><input
|
||||
+ id="autoMatchBtn"
|
||||
+ class="hideValue"
|
||||
+ type="button"
|
||||
+ title="Auto-match ON — click to disable"
|
||||
+ value="⚡"
|
||||
+ onclick="toggleAutoMatch()"
|
||||
+ />
|
||||
+ <input
|
||||
+ id="highlightBox"
|
||||
+ type="text"
|
||||
+ spellcheck="false"
|
||||
+ autocomplete="off"
|
||||
+ placeholder="highlight #s"
|
||||
+ /><input
|
||||
+ id="hltModeBtn"
|
||||
+ class="hltModeOff"
|
||||
+ type="button"
|
||||
+ title="Highlight: any matches (every cell with the value) — click for same column matches"
|
||||
+ value="▼"
|
||||
+ onclick="toggleHltMode()"
|
||||
+ /><span id="clearFilterButton"></span>
|
||||
+ </div>
|
||||
+
|
||||
+ <div id="enabledCiphTable"></div>
|
||||
|
||||
- <center>
|
||||
- <div id="HistoryTableArea"></div>
|
||||
- </center>
|
||||
+ <div id="BreakdownDetails">
|
||||
+ <div id="BreakdownSpot"></div>
|
||||
+ <div id="ChartSpotScroll"><div id="ChartSpot"></div></div>
|
||||
+ </div>
|
||||
+ </center>
|
||||
+
|
||||
+ <center>
|
||||
+ <div id="HistoryTableArea"></div>
|
||||
+ </center>
|
||||
+ </div>
|
||||
+
|
||||
+ <footer id="hsGlobalFooter" style="text-align:center;padding:14px 8px;font-family:'DejaVu Sans Mono','Courier New',monospace;font-size:12px;color:#94a3b8;border-top:1px solid #26344d;margin-top:1rem;">
|
||||
+ <span class="hs-lemur-credit">hyperstitionstud.io/calc v2.14.0 • <span class="hs-sigil-colophon" aria-hidden="true">⚚ · ☿ · ☍ · ☉ · ♄</span> • hyperstitionstud.io/calc v2.15.0 • Made with <span class="hs-heart" role="img" aria-label="love" style="color:#fb7185;display:inline-block;padding:0 2px;">♥</span> by Lemurs.</span>
|
||||
+ </footer>
|
||||
</div>
|
||||
|
||||
<span id="loadPanel"></span>
|
||||
@@ -162,10 +192,27 @@
|
||||
<script src="calc/encoding-ciphers.js?v=2"></script>
|
||||
|
||||
<script src="calc/coderain.js?v=2"></script>
|
||||
+ <script src="/assets/hs-matrix-coderain.js?v=2.14.0" defer></script>
|
||||
<script src="lib/html2canvas.min.js?v=2"></script>
|
||||
|
||||
- <!-- Initialzie the calculator. This needs to run before loading a database or theme. -->
|
||||
<script>
|
||||
+ // Adapt header links when opened directly over file://
|
||||
+ if (window.location.protocol === "file:") {
|
||||
+ var navMap = {
|
||||
+ calcNavHome: "../hyperstitionstudio-core/site/index.html",
|
||||
+ calcNavSelf: "./index.html",
|
||||
+ calcNavQuant: "../hyperstitionstudio-core/site/quant/index.html",
|
||||
+ calcNavGraph: "../encyclopedia-knowledge-graph/index.html",
|
||||
+ calcNavLearn: "../hyperstitionstudio-core/site/learn/index.html",
|
||||
+ calcNavEng: "../hyperstitionstudio-core/site/engineering/index.html",
|
||||
+ calcNavMath: "../hyperstitionstudio-core/site/math/index.html",
|
||||
+ calcNavDonate: "../hyperstitionstudio-core/site/donate/index.html?from=calc"
|
||||
+ };
|
||||
+ Object.keys(navMap).forEach(function (id) {
|
||||
+ var el = document.getElementById(id);
|
||||
+ if (el) el.setAttribute("href", navMap[id]);
|
||||
+ });
|
||||
+ }
|
||||
initCalc(true);
|
||||
</script>
|
||||
|
||||
@@ -176,25 +223,21 @@
|
||||
// Show loading indicator
|
||||
document.getElementById("dbLoadIndicator").style.display = "inline";
|
||||
|
||||
- // Load pre-computed db.json (instant matching, ~16MB gzipped via mod_deflate)
|
||||
- // Falls back to db.txt (2.3MB, live mode with recalculation)
|
||||
var _c = (typeof CALC_CONFIG !== 'undefined') ? CALC_CONFIG : {};
|
||||
var _jsonUrl = _c.databaseJsonUrl || "db.json";
|
||||
var _txtUrl = _c.databaseTxtUrl || "db.txt";
|
||||
var _mode = _c.databaseMode || "auto";
|
||||
var _liteUrl = _c.databaseLiteJsonUrl || "db_lite.json";
|
||||
- var _dbVer = _c.databaseVersion ? ("?v=" + _c.databaseVersion) : ""; // cache-bust db.json/db_lite.json on each regen
|
||||
+ var _dbVer = _c.databaseVersion ? ("?v=" + _c.databaseVersion) : "";
|
||||
|
||||
function _dbLoaded() {
|
||||
document.getElementById("dbLoadIndicator").style.display = "none";
|
||||
var amb = document.getElementById("autoMatchBtn");
|
||||
amb.classList.remove("hideValue");
|
||||
if (!autoMatchEnabled) amb.classList.add("matchOff");
|
||||
- // Sync hltModeBtn to the (possibly restored from localStorage) optHltSameCipher value.
|
||||
if (typeof syncHltModeBtn === "function") syncHltModeBtn();
|
||||
}
|
||||
|
||||
- // Background: fetch the full 69-cipher set, then swap it in for the lite set.
|
||||
function _fetchFull() {
|
||||
fetch(_jsonUrl + _dbVer)
|
||||
.then(function(r) { if (!r.ok) throw new Error("full db.json " + r.status); return r.json(); })
|
||||
@@ -207,7 +250,6 @@
|
||||
importFileAction(database, true);
|
||||
_dbLoaded();
|
||||
} else {
|
||||
- // Progressive: lite first (fast first paint), then full in the background.
|
||||
fetch(_liteUrl + _dbVer)
|
||||
.then(function(r) { if (!r.ok) throw new Error("lite " + r.status); return r.json(); })
|
||||
.then(function(data) { loadPrecomputedDB(data); _dbLoaded(); _fetchFull(); })
|
||||
@@ -225,12 +267,5 @@
|
||||
});
|
||||
}
|
||||
</script>
|
||||
-
|
||||
- <!-- AUTO LOAD THEME -->
|
||||
- <!-- To change the theme uncomment the script below -->
|
||||
-
|
||||
- <!-- <script>
|
||||
- var theme = loadFile('theme/white-interface.js');
|
||||
- importFileAction(theme, true);
|
||||
-</script> -->
|
||||
</body>
|
||||
+</html>
|
||||
diff --git a/manifest.json b/manifest.json
|
||||
index b34b394..e0d3c77 100644
|
||||
--- a/manifest.json
|
||||
+++ b/manifest.json
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
- "short_name": "Hyperdope Gematria",
|
||||
- "name": "Hyperdope Gematria",
|
||||
- "background_color": "#202631",
|
||||
+ "short_name": "haiperdohpjematreeah",
|
||||
+ "name": "haiperdohpjematreeah",
|
||||
+ "background_color": "#020617",
|
||||
"icons": [
|
||||
{
|
||||
"src": "res/calc-logo-32.png",
|
||||
Reference in new issue
Block a user