Inkspring / website / commits / 5bffdf96
Website: current files (part 1 of 11) new
written by Branchwell · 5bffdf96ef1270b6efc7a26e168164d5bb2c3b49
157 files changed
.gitignore added
| 1 | + node_modules/ | |
| 2 | + dist/ | |
| 3 | + .ssr/ | |
| 4 | + .vercel/ | |
| 5 | + *.log | |
| 6 | + .DS_Store | |
| 7 | + .env* | |
| 8 | + .vercel | |
| 9 | + | |
| 10 | + !.env.example | |
| 11 | + .env*.local | |
| 12 | + | |
| 13 | + .wrangler/ |
README.md added
| 1 | + # Inkspring website | |
| 2 | + | |
| 3 | + The standalone **marketing website and desktop connection service** for [inkspring.ai](https://inkspring.ai). The homepage presents Inkspring as a native Apple Silicon Mac app, with an iPhone and iPad companion, for research, text and single-image posts, and witty replies to pasted posts, separate from the desktop application. | |
| 4 | + | |
| 5 | + **Production is live at https://inkspring.ai.** It includes the marketing site, own-app desktop OAuth return page, and shared connection service. | |
| 6 | + | |
| 7 | + ## Local preview | |
| 8 | + | |
| 9 | + ```sh | |
| 10 | + npm ci | |
| 11 | + npm test | |
| 12 | + npm run build | |
| 13 | + npm run preview | |
| 14 | + ``` | |
| 15 | + | |
| 16 | + Open **http://localhost:4178/**. Privacy and terms are available at **http://localhost:4178/privacy** and **http://localhost:4178/terms**. | |
| 17 | + | |
| 18 | + The preview serves `dist/`. The homepage and legal pages are prerendered into complete HTML during the build, and React hydrates the interactive reply-studio demo. The SSR build in `.ssr/` is a build-time tool only and is not deployed. | |
| 19 | + | |
| 20 | + ## What was removed | |
| 21 | + | |
| 22 | + There are no Next.js runtime routes, application screens, Supabase clients, website account sign-in or database connections, signup/waitlist submission, Turnstile, Resend, analytics, or externally hosted fonts. The page has no forms and makes no API calls. Public download buttons are not faked: the website presents Inkspring as a native Apple Silicon Mac app with an iPhone and iPad companion, with downloads marked as coming soon. | |
| 23 | + | |
| 24 | + Reply and post examples use imagined accounts and brands and are labeled as illustrative. Image generation is described as requiring the user’s own OpenAI key. | |
| 25 | + | |
| 26 | + ## Cloudflare deployment | |
| 27 | + | |
| 28 | + Push website changes to `main` on [projectatomai/inkspring-website](https://github.com/projectatomai/inkspring-website). GitHub triggers [Cloudflare Pages](https://inkspring-website.pages.dev/). Check the successful build and its commit, then verify the affected route. The public domains `inkspring.ai` and `www.inkspring.ai` still use the pinned Vercel deployment pending the credential checks and cutover in OpenTalon **AUT-015**. Send new builds and configuration changes to Cloudflare. | |
| 29 | + | |
| 30 | + Pages runs `npm run build` and serves `dist/`. The `functions/_middleware.js` adapter handles redirects, response headers, desktop connections and retirement responses for legacy media. It still reads the existing redirects and headers from `vercel.json` for parity. The managed connection service runs in Pages Functions, with server-only OAuth credentials and `CONNECT_SECRET`. | |
| 31 | + | |
| 32 | + The build ends with `scripts/indexnow.mjs`, which compares sitemap content with the public site, submits changed pages for production builds and keeps local runs offline. Keep `public/66365049776433ceca35572e03fca658.txt`: IndexNow uses it to verify the submission. | |
| 33 | + | |
| 34 | + The iPhone and iPad companion ships through the public TestFlight beta at https://testflight.apple.com/join/Gg8AQT4A. The site links TestFlight, not the App Store. | |
| 35 | + | |
| 36 | + ## Free to use. Open source. | |
| 37 | + | |
| 38 | + Inkspring is open source under the MIT license. Third-party components retain their own terms. The public app repository is **https://github.com/projectatomai/inkspring**. The app license applies to the desktop app’s first-party material. | |
| 39 | + | |
| 40 | + ## Application repository | |
| 41 | + | |
| 42 | + The desktop prototype is on **[projectatomai/inkspring-site, branch `prototype/local-desktop`](https://github.com/projectatomai/inkspring-site/tree/prototype/local-desktop)**. It is a separate build and is not embedded in this website. | |
| 43 | + | |
| 44 | + ## Validation | |
| 45 | + | |
| 46 | + `npm test` covers the absence of carousels, the text, single-image and post-reply copy, absence of signup/tracker integrations on marketing pages, and accurate platform availability copy. The build validates prerendered content, canonical URLs, local assets, and absence of trackers/forms/backend endpoints in emitted HTML. Browser verification confirmed the reply-studio example picker updates the reply and the page has no console errors or warnings. | |
| 47 | + | |
| 48 | + ## Desktop social sign-in return | |
| 49 | + | |
| 50 | + `public/desktop-connect/` is a static OAuth return page for the desktop app. It validates the return shape, removes the code from browser history, and offers an `inkspring://oauth/...` link. It performs no token exchange and uses no cookies, browser persistence, analytics, database, or network calls. The desktop app validates one-time state and exchanges the code locally. HTTPS hosting can observe the initial code-bearing callback URL; access/refresh tokens and client secrets never pass through the static page. | |
| 51 | + | |
| 52 | + The page is live at `https://inkspring.ai/desktop-connect/` and was verified in the browser. Local preview: http://localhost:4178/desktop-connect/. Provider credentials and account permissions are still needed for real Instagram/LinkedIn sign-in. X uses its official developer app through the desktop loopback listener. | |
| 53 | + | |
| 54 | + ## Product naming | |
| 55 | + | |
| 56 | + Write the product name as **Inkspring**: capital I, lowercase s. Keep the ink mark paired with this wordmark, with their visible artwork aligned. In About, the heading sits on its own line above the logo and wordmark. | |
| 57 | + | |
| 58 | + | |
| 59 | + ## Shared desktop connection service | |
| 60 | + | |
| 61 | + `api/connect.js` and `server/` implement a stateless OAuth broker at `https://inkspring.ai/api/desktop/connect/`. The desktop opens `start` in the system browser. Shared provider callbacks use `https://inkspring.ai/api/auth/callback/{instagram|linkedin}`. X publishing requires each user’s own X developer app. The shared service rejects X sign-in, callback and refresh requests, even if old credentials are still present. Retired providers cannot start, exchange, or refresh a connection through this service. Requests expire after ten minutes and are bound to an HttpOnly, Secure, SameSite=Lax browser cookie. | |
| 62 | + | |
| 63 | + App secrets are server-side runtime bindings. Store them in Bitwarden Secrets Manager and use the Cloudflare Pages production environment for the migration. The broker exchanges the platform code, encrypts the result to an ephemeral X25519 key generated inside the desktop main process, and signs the envelope with Ed25519. The custom-protocol return carries encrypted ciphertext in its fragment; it never contains plaintext account tokens or app secrets. The desktop verifies the signature, decrypts the result, consumes its pending state once, verifies the platform identity, and stores account tokens using OS credential protection. The service retains no account database, drafts or publishing jobs. Tokens briefly pass through server memory during authorization and refresh. Hosting logs may retain request metadata and OAuth callback codes; codes are exchanged immediately and are single-use at the provider. | |
| 64 | + | |
| 65 | + Refresh requires a service-issued encrypted ticket bound to the provider, client ID and exact refresh token. Tickets expire after 90 days. Reconnect if a provider revokes a session or the service key changes. Do not rotate `CONNECT_SECRET` during routine deployments. | |
| 66 | + | |
| 67 | + See `.env.example` for names only. Never put these values in `VITE_*`, the static `dist/` output, the native app bundle, source control, logs, or API error messages. Scope bindings to the intended Cloudflare Pages environment. A provider is advertised as available only when its required credentials exist. Availability does not establish platform approval or a successful live user authorization. | |
| 68 | + | |
| 69 | + ### Production secret inventory and operations | |
| 70 | + | |
| 71 | + Use the existing, verified production OAuth apps and keep their original callback URLs. Retrieve application credentials through Bitwarden Secrets Manager and bind them to the same-named variables in the Cloudflare Pages production environment. Keep the existing managed signing and refresh-ticket key. Credential values belong in Secrets Manager and Cloudflare’s encrypted runtime bindings. | |
| 72 | + | |
| 73 | + | Variable names | Purpose | | |
| 74 | + | --- | --- | | |
| 75 | + | `CONNECT_SECRET` | Encrypts state/refresh tickets and derives the service signing key. Preserve across deployments. | | |
| 76 | + | `IG_APP_ID`, `IG_APP_SECRET` | Dedicated Inkspring-IG Instagram Login app, rather than a generic Facebook app credential pair. | | |
| 77 | + | `LINKEDIN_CLIENT_ID`, `LINKEDIN_CLIENT_SECRET` | Not configured; shared LinkedIn sign-in remains unavailable. | | |
| 78 | + | |
| 79 | + Verify `/api/desktop/connect/config` first on the Cloudflare host and then on the public domain after cutover. Compare the signing public key and provider availability to the pinned production deployment. Test the permitted broker paths using simulated credentials; use `410` for former managed media and retired OAuth paths. No managed Instagram hosting is available from this broker. Changing `CONNECT_SECRET` requires users with affected sessions to reconnect. | |
| 80 | + | |
| 81 | + | |
| 82 | + ### Retired media and native scheduling | |
| 83 | + | |
| 84 | + The previous media endpoint is closed to upload, fetch, and deletion. The existing private bucket and lifecycle configuration are not altered. Do not repurpose its credentials or bucket for another provider. Current Instagram posting needs an existing reachable media URL or a user-configured private R2 bucket. The website does not store or dispatch the native queue; native app versions must enforce the same platform restrictions locally. | |
| 85 | + | |
| 86 | + Both repositories ignore real `.env*` files and `.vercel/`. Only `.env.example`, with empty values, is intended for source control. Tests use simulated credentials and do not need production secrets. `npm test` covers the server handlers, cryptographic protocol, refresh binding, legacy callback handling, and rejection of shared X authorization. Instagram requires a professional account. Accepted live grants and real publishing remain unverified. |
api/connect.js added
| 1 | + import { callbackPage, createConnector, providers, isRetiredProvider, ReconnectRequired, RetiredProvider } from '../server/connect.mjs'; | |
| 2 | + export default async function handler(request, response, options = {}) { | |
| 3 | + response.setHeader('Cache-Control', 'no-store'); | |
| 4 | + response.setHeader('Referrer-Policy', 'no-referrer'); | |
| 5 | + response.setHeader('X-Content-Type-Options', 'nosniff'); | |
| 6 | + response.setHeader('X-Robots-Tag', 'noindex, nofollow'); | |
| 7 | + response.setHeader('Content-Security-Policy', "default-src 'none'; style-src 'unsafe-inline'; frame-ancestors 'none'; base-uri 'none'; form-action 'none'"); | |
| 8 | + const connector = createConnector({ env: options.env }); | |
| 9 | + const url = new URL(request.url, 'https://inkspring.ai'); | |
| 10 | + const action = request.query?.action || url.searchParams.get('action'); | |
| 11 | + const parameter = name => { const raw = request.query?.[name] ?? url.searchParams.get(name); if (Array.isArray(raw)) throw new Error('Invalid connection request.'); return raw; }; | |
| 12 | + try { | |
| 13 | + if (action === 'config' && request.method === 'GET') return response.status(200).json(connector.config()); | |
| 14 | + if (action === 'start' && request.method === 'GET') { | |
| 15 | + const result = await connector.start({ provider: parameter('provider'), state: parameter('state'), publicKey: parameter('publicKey') }); | |
| 16 | + response.setHeader('Set-Cookie', result.cookie); return response.redirect(302, result.location); | |
| 17 | + } | |
| 18 | + if (action === 'callback' && request.method === 'GET') { | |
| 19 | + const result = await connector.callback({ provider: parameter('provider'), state: parameter('state'), code: parameter('code'), error: parameter('error'), cookie: request.headers.cookie }); | |
| 20 | + response.setHeader('Set-Cookie', result.cookie); return response.status(200).send(callbackPage(result)); | |
| 21 | + } | |
| 22 | + if (action === 'refresh' && request.method === 'POST') { | |
| 23 | + if (Number(request.headers['content-length']) > 24000 || !String(request.headers['content-type']).startsWith('application/json')) return response.status(400).json({ error: 'Invalid connection request.' }); | |
| 24 | + const body = typeof request.body === 'string' ? JSON.parse(request.body) : request.body; | |
| 25 | + if (body && isRetiredProvider(body.provider)) throw new RetiredProvider(); | |
| 26 | + if (!body || JSON.stringify(body).length > 24000 || !Object.hasOwn(providers, body.provider)) return response.status(400).json({ error: 'Invalid connection request.' }); | |
| 27 | + return response.status(200).json(await connector.refresh(body)); | |
| 28 | + } | |
| 29 | + response.setHeader('Allow', action === 'refresh' ? 'POST' : 'GET'); | |
| 30 | + return response.status(405).json({ error: 'Unsupported connection action or method.' }); | |
| 31 | + } catch (error) { | |
| 32 | + // Never log request URLs, cookies, provider responses, or token-bearing bodies. | |
| 33 | + if (error instanceof RetiredProvider) return response.status(410).json({ error: error.message }); | |
| 34 | + if (error instanceof ReconnectRequired) return response.status(401).json({ error: error.message }); | |
| 35 | + return response.status(400).json({ error: 'Connection could not be completed. Start again from Inkspring, or contact support if it continues.' }); | |
| 36 | + } | |
| 37 | + } |
api/media.js added
| 1 | + // The former TikTok media endpoint is disabled on this host and its aliases. | |
| 2 | + export default async function handler(_request, response) { | |
| 3 | + response.setHeader('Cache-Control', 'no-store'); | |
| 4 | + response.setHeader('X-Content-Type-Options', 'nosniff'); | |
| 5 | + response.setHeader('X-Robots-Tag', 'noindex, nofollow'); | |
| 6 | + return response.status(410).json({ error: 'This media publishing endpoint is retired.' }); | |
| 7 | + } |
docs/sponsored-services.md added
| 1 | + # Sponsored access (source-only, off by default) | |
| 2 | + | |
| 3 | + This is an invite-only, capped rollout. A participant uses one revocable InkSpring invitation, not an AI provider key. Never ship an invite shared across installations. The Mac validates an invitation against this service, stores it in this device's Keychain, and asks for disclosure consent before enabling sponsored AI. It does not silently fall back to personal credentials on a sponsored failure. Native iPhone/iPad can only access this through a connected home Mac's authorized companion workflow; there is no standalone hosted login/signup in this change. | |
| 4 | + | |
| 5 | + ## Gates and environment | |
| 6 | + | |
| 7 | + Keep both feature flags at the committed `false` values until a controlled rollout is explicitly authorized. Use a dedicated Cloudflare D1 database, apply `migrations/0001_sponsored.sql` and bind it as `SPONSORED_DB` on the existing Pages project. No database IDs or secret values belong in source. Provision a separate R2 bucket and bind it as `SPONSORED_INSTAGRAM_R2` only for a sponsored photo rollout; configure a one-day lifecycle deletion rule on that private bucket before setting the separate `SPONSORED_INSTAGRAM_IMAGE_ENABLED=true` flag. The image URL stops working after one hour even before deletion, is unlisted with 128 bits of randomness, isn't indexed or cached, and can be fetched by whoever has the exact URL until it expires. Meta's crawler cannot authenticate, so it is not technically restricted to Meta's IPs. Never log or share asset URLs. This supports JPEG feed photos, not Reels or video covers. | |
| 8 | + | |
| 9 | + Configure each paid vendor independently using dedicated least-privilege app credentials under Cloudflare encrypted bindings (not in desktop bundles, `VITE_*`, provider responses, logs or public config). Only configure models that were cost-reviewed and tested; missing credentials/model settings fail closed: | |
| 10 | + | |
| 11 | + | Vendor | Secret | Fixed model options | | |
| 12 | + | --- | --- | --- | | |
| 13 | + | OpenAI | `SPONSORED_OPENAI_API_KEY` | `SPONSORED_OPENAI_TEXT_MODEL`, `SPONSORED_OPENAI_IMAGE_MODEL` | | |
| 14 | + | Anthropic | `SPONSORED_ANTHROPIC_API_KEY` | `SPONSORED_ANTHROPIC_TEXT_MODEL` | | |
| 15 | + | Google Gemini | `SPONSORED_GEMINI_API_KEY` | `SPONSORED_GEMINI_TEXT_MODEL`, `SPONSORED_GEMINI_IMAGE_MODEL` | | |
| 16 | + | |
| 17 | + Create each member with a stable internal opaque ID, the lowercase SHA-256 hex digest of a unique invitation (the string `is1_` followed by 32 cryptographically random bytes encoded as 43 base64url characters), an expiry in integer UNIX milliseconds, and `enabled=1`. Exchange the raw invitation with its intended recipient through an approved private channel; never store it in D1. Rotate a participant by changing that row's digest and expiry without changing their internal subject. Revoke the row with `enabled=0`. The app caps writing at 4,000 requested output tokens and forbids client-controlled upstream URLs, model IDs or extra tools. Apify and X search are not sponsored or exposed. | |
| 18 | + | |
| 19 | + ## Volume and cost | |
| 20 | + | |
| 21 | + There are 12 credits per member per UTC day and hard shared counters at 8 paid requests per minute, 120 credits per day, and 1,200 credits per UTC month. A write is 1 credit; generating one 1K image or temporarily hosting one JPEG is 4. Failed upstream calls consume their reservation because they may have been billed. Each check and reservation is one conditional SQLite write; these are usage quotas, not a guaranteed dollar cap. Keep provider-specific spend/rate caps and alerts. Before enabling, estimate and verify the most expensive allowed request rather than relying on dashboard budget alerts. Keep usage rows through the end of the current billing month; add reviewed retention/cleanup rules before scaling. Logs and the D1 tables store no prompts, social posts, provider responses, email addresses, or raw invitations. Quota records contain internal member ID, timestamp buckets, operation, reservation ID and credit count. | |
| 22 | + | |
| 23 | + Recommended first option: paid [Gemini 3.5 Flash-Lite for text](https://aistudio.google.com/docs/pricing#gemini-3.5-flash-lite), optionally [Gemini 3.1 Flash Lite Image](https://aistudio.google.com/docs/pricing#gemini-3.1-flash-lite-image), keeping Anthropic/OpenAI off until quality/cost estimates justify them. As checked November 29, 2026, Google lists text at $0.30 per million input tokens and $2.50 per million output tokens, and 1K image output is $0.0336 per image before inputs and extras. At 1,200 all-text calls of 4,000 input and 4,000 output tokens, illustrative vendor usage is $13.44/month; at 300 all-image calls, base image output is $10.08/month, excluding inputs/thinking. Neither is a guarantee. Provider billing keys, account verification and production connectivity were not checked. | |
| 24 | + | |
| 25 | + ## Rollout checklist (not performed) | |
| 26 | + | |
| 27 | + Confirm paid vendor terms, costs, available models and privacy disclosures; credential access scope; D1/R2 isolation, lifecycle and resource limits; staging app consent UI, auth, denial, real test-provider responses and screenshot proof; then deploy with activation disabled first. Verify no provider calls can occur while disabled. Exercise one synthetic staging request per approved provider only with an explicit budget; don't test on a real social account or publish a post. A public rollout requires actual enrollment identity and an abuse response/rotation process instead of distributing pilot invites broadly. Disable through the feature flag when needed. |
functions/_middleware.js added
| 1 | + import { serveSponsoredInstagramImage, sponsored, sponsoredInstagramImage } from '../server/sponsored.mjs'; | |
| 2 | + import connect from '../api/connect.js'; | |
| 3 | + import media from '../api/media.js'; | |
| 4 | + import config from '../vercel.json'; | |
| 5 | + | |
| 6 | + const canonical = 'https://inkspring.ai'; | |
| 7 | + const globalHeaders = config.headers.find(rule => rule.source === '/(.*)'); | |
| 8 | + const desktopHeaders = config.headers.find(rule => rule.source === '/desktop-connect/:path*'); | |
| 9 | + | |
| 10 | + function redirect(location, status, original) { | |
| 11 | + if (original?.search) { | |
| 12 | + const destination = new URL(location, original); | |
| 13 | + for (const [key, value] of original.searchParams) destination.searchParams.append(key, value); | |
| 14 | + location = location.startsWith('/') ? destination.pathname + destination.search + destination.hash : destination.href; | |
| 15 | + } | |
| 16 | + return new Response(null, { status, headers: { Location: location, 'Cache-Control': 'public, max-age=0, must-revalidate' } }); | |
| 17 | + } | |
| 18 | + | |
| 19 | + function headersFor(url, actual) { | |
| 20 | + const headers = new Headers(actual); | |
| 21 | + const rules = [globalHeaders]; | |
| 22 | + if (url.pathname === '/desktop-connect' || url.pathname.startsWith('/desktop-connect/')) { | |
| 23 | + rules.push(desktopHeaders); | |
| 24 | + } | |
| 25 | + for (const rule of rules) { | |
| 26 | + for (const { key, value } of rule.headers) { | |
| 27 | + if (key === 'Set-Cookie') headers.append(key, value); | |
| 28 | + else if (key === 'Cache-Control' || rule !== globalHeaders || !headers.has(key)) headers.set(key, value); | |
| 29 | + } | |
| 30 | + } | |
| 31 | + return headers; | |
| 32 | + } | |
| 33 | + | |
| 34 | + async function boundedText(request) { | |
| 35 | + if (!request.body) return ''; | |
| 36 | + const reader = request.body.getReader(); | |
| 37 | + const decoder = new TextDecoder(); | |
| 38 | + let count = 0; | |
| 39 | + let text = ''; | |
| 40 | + for (;;) { | |
| 41 | + const { done, value } = await reader.read(); | |
| 42 | + if (done) return text + decoder.decode(); | |
| 43 | + count += value.length; | |
| 44 | + if (count > 24000) { | |
| 45 | + await reader.cancel(); | |
| 46 | + throw new Error('Invalid connection request.'); | |
| 47 | + } | |
| 48 | + text += decoder.decode(value, { stream: true }); | |
| 49 | + } | |
| 50 | + } | |
| 51 | + | |
| 52 | + async function handleApi(handler, request, url, env) { | |
| 53 | + let status = 200; | |
| 54 | + const headers = new Headers(); | |
| 55 | + const send = body => new Response(body, { status, headers }); | |
| 56 | + const response = { | |
| 57 | + setHeader: (key, value) => headers.set(key, value), | |
| 58 | + status(code) { status = code; return this; }, | |
| 59 | + json(value) { | |
| 60 | + headers.set('Content-Type', 'application/json; charset=utf-8'); | |
| 61 | + return send(JSON.stringify(value)); | |
| 62 | + }, | |
| 63 | + redirect(code, location) { | |
| 64 | + status = code; | |
| 65 | + headers.set('Location', location); | |
| 66 | + return send(null); | |
| 67 | + }, | |
| 68 | + send(value) { | |
| 69 | + headers.set('Content-Type', 'text/html; charset=utf-8'); | |
| 70 | + return send(value); | |
| 71 | + }, | |
| 72 | + end: () => send(null), | |
| 73 | + }; | |
| 74 | + const query = Object.fromEntries([...new Set(url.searchParams.keys())].map(key => { | |
| 75 | + const values = url.searchParams.getAll(key); | |
| 76 | + return [key, values.length === 1 ? values[0] : values]; | |
| 77 | + })); | |
| 78 | + const input = { | |
| 79 | + method: request.method, | |
| 80 | + url: url.href, | |
| 81 | + query, | |
| 82 | + headers: Object.fromEntries(request.headers), | |
| 83 | + [Symbol.asyncIterator]: () => request.body[Symbol.asyncIterator](), | |
| 84 | + }; | |
| 85 | + if (handler === connect && request.method === 'POST' && query.action === 'refresh') { | |
| 86 | + try { | |
| 87 | + input.body = await boundedText(request); | |
| 88 | + } catch { | |
| 89 | + status = 400; | |
| 90 | + headers.set('Cache-Control', 'no-store'); | |
| 91 | + return response.json({ error: 'Invalid connection request.' }); | |
| 92 | + } | |
| 93 | + } | |
| 94 | + return handler(input, response, { env, sendStream: send }); | |
| 95 | + } | |
| 96 | + | |
| 97 | + // /careers was removed (2026-12-02). Answer it here with the normal 404 page so a stale | |
| 98 | + // copy in the Pages asset layer can never be served again. | |
| 99 | + async function notFoundPage(context) { | |
| 100 | + let page = await context.env.ASSETS.fetch(new URL('/404.html', context.request.url)); | |
| 101 | + const moved = page.status >= 300 && page.status < 400 && page.headers.get('Location'); | |
| 102 | + if (moved) page = await context.env.ASSETS.fetch(new URL(moved, context.request.url)); | |
| 103 | + return new Response(page.body, { status: 404, headers: { 'Content-Type': 'text/html; charset=utf-8', 'Cache-Control': 'no-store' } }); | |
| 104 | + } | |
| 105 | + | |
| 106 | + async function route(context, url) { | |
| 107 | + const { request, env } = context; | |
| 108 | + if (/^\/careers\/?$/i.test(url.pathname)) return notFoundPage(context); | |
| 109 | + if (url.hostname === 'www.inkspring.ai') return redirect(canonical + url.pathname + url.search, 308); | |
| 110 | + if (url.pathname === '/' && url.searchParams.has('state') && (url.searchParams.has('code') || url.searchParams.has('error'))) { | |
| 111 | + const destination = new URL(canonical + '/api/connect'); | |
| 112 | + destination.searchParams.set('action', 'callback'); | |
| 113 | + destination.searchParams.set('provider', 'x'); | |
| 114 | + for (const key of ['state', 'code', 'error']) if (url.searchParams.has(key)) destination.searchParams.set(key, url.searchParams.get(key)); | |
| 115 | + return new Response(null, { status: 302, headers: { Location: destination.href, 'Cache-Control': 'no-store', 'Referrer-Policy': 'no-referrer' } }); | |
| 116 | + } | |
| 117 | + const old = config.redirects.find(rule => !rule.has && rule.source === url.pathname); | |
| 118 | + if (old) return redirect(old.destination, old.permanent ? 308 : 307, url); | |
| 119 | + if (/^\/(?:about|about-us)\/?$/.test(url.pathname)) return redirect('/', 308, url); | |
| 120 | + if (/^\/(?:account\/?|auth(?:\/.*)?)$/.test(url.pathname)) return redirect('/#desktop', 307, url); | |
| 121 | + | |
| 122 | + if (url.pathname === '/api/desktop/sponsored') return sponsored(request, env); | |
| 123 | + if (url.pathname === '/api/desktop/sponsored/instagram-image') return sponsoredInstagramImage(request, env); | |
| 124 | + if (url.pathname.startsWith('/instagram-sponsor-media/')) return serveSponsoredInstagramImage(request, env); | |
| 125 | + const connectPath = url.pathname.match(/^\/api\/desktop\/connect\/([^/]+)$/); | |
| 126 | + const callbackPath = url.pathname.match(/^\/api\/auth\/callback\/([^/]+)$/); | |
| 127 | + const legacyMediaPath = /^\/tiktok-media(?:\/|$)/.test(url.pathname); | |
| 128 | + if (connectPath || callbackPath || url.pathname === '/api/connect') { | |
| 129 | + if (connectPath) url.searchParams.set('action', decodeURIComponent(connectPath[1])); | |
| 130 | + if (callbackPath) { | |
| 131 | + url.searchParams.set('action', 'callback'); | |
| 132 | + url.searchParams.set('provider', decodeURIComponent(callbackPath[1])); | |
| 133 | + } | |
| 134 | + return handleApi(connect, request, url, env); | |
| 135 | + } | |
| 136 | + if (legacyMediaPath || ['/api/media', '/api/desktop/media', '/api/desktop/media/delete'].includes(url.pathname)) { | |
| 137 | + return handleApi(media, request, url, env); | |
| 138 | + } | |
| 139 | + return context.next(); | |
| 140 | + } | |
| 141 | + | |
| 142 | + export async function onRequest(context) { | |
| 143 | + const url = new URL(context.request.url); | |
| 144 | + let response; | |
| 145 | + try { | |
| 146 | + response = await route(context, url); | |
| 147 | + } catch (error) { | |
| 148 | + if (!(error instanceof URIError)) throw error; | |
| 149 | + response = new Response('Invalid URL encoding', { status: 400 }); | |
| 150 | + } | |
| 151 | + if (response.status === 307 || response.status === 308 || url.pathname.startsWith('/api/desktop/sponsored') || url.pathname.startsWith('/instagram-sponsor-media/')) return response; | |
| 152 | + return new Response(response.body, { status: response.status, statusText: response.statusText, headers: headersFor(url, response.headers) }); | |
| 153 | + } |
index.html added
| 1 | + <!doctype html> | |
| 2 | + <html lang="en"><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><title>Inkspring · Craft and schedule social posts on your Mac</title><!--seo--><link rel="icon" href="/favicon.svg?v=mono1" type="image/svg+xml"/><link rel="icon" href="/icons/inkspring-48.png" type="image/png" sizes="48x48"/><link rel="apple-touch-icon" href="/icons/inkspring-180.png" sizes="180x180"/><meta name="theme-color" content="#F2F2F2"/><style> | |
| 3 | + /* Give the masthead its final geometry before the site stylesheet arrives. */ | |
| 4 | + html, body { margin: 0; } | |
| 5 | + html { filter: grayscale(1); background: #F2F2F2; } | |
| 6 | + .site-header { position: sticky; top: 0; z-index: 50; } | |
| 7 | + .site-header .site-header-inner { | |
| 8 | + box-sizing: border-box; | |
| 9 | + display: flex; | |
| 10 | + align-items: center; | |
| 11 | + justify-content: space-between; | |
| 12 | + max-width: 1200px; | |
| 13 | + height: 72px; | |
| 14 | + margin-inline: auto; | |
| 15 | + padding-inline: 40px; | |
| 16 | + } | |
| 17 | + .brand-link { | |
| 18 | + display: inline-flex; | |
| 19 | + align-items: center; | |
| 20 | + flex: none; | |
| 21 | + gap: 6px; | |
| 22 | + white-space: nowrap; | |
| 23 | + text-decoration: none; | |
| 24 | + } | |
| 25 | + .brand-link svg.inkspring-logo { | |
| 26 | + box-sizing: border-box; | |
| 27 | + width: 26px; | |
| 28 | + height: 26px; | |
| 29 | + padding: 4px; | |
| 30 | + position: relative; | |
| 31 | + top: -2px; | |
| 32 | + background: #FAFAFA; | |
| 33 | + border-radius: 24%; | |
| 34 | + box-shadow: 0 1px 2px rgb(43 43 43 / 12%), 0 3px 7px rgb(43 43 43 / 15%); | |
| 35 | + } | |
| 36 | + @media (min-width: 651px) { html { scrollbar-gutter: stable; } } | |
| 37 | + @media (max-width: 650px) { | |
| 38 | + .site-header .site-header-inner { height: 62px; padding-inline: 22px; } | |
| 39 | + } | |
| 40 | + </style><link rel="stylesheet" href="/assets/visitor-odometer.v1.css"><script defer src="/assets/visitor-odometer.v1.js"></script><!-- no-orphans --><link rel="stylesheet" href="/no-orphans.css"><script src="/no-orphans.js" defer></script><!-- /no-orphans --></head><body><div id="root"><!--app-html--></div><script src="/share.js" defer></script><script type="module" src="/src/main.tsx"></script></body></html> |
middleware.js added
| 1 | + import { next } from '@vercel/functions'; | |
| 2 | + export const config = { runtime: 'nodejs', matcher: '/' }; | |
| 3 | + export default function middleware(request) { | |
| 4 | + const url = new URL(request.url); | |
| 5 | + // X already registers the site root. Intercept only complete OAuth returns | |
| 6 | + // before the static homepage/cache; ordinary page visits remain static. | |
| 7 | + if (url.pathname === '/' && url.searchParams.has('state') && (url.searchParams.has('code') || url.searchParams.has('error'))) { | |
| 8 | + const destination = new URL('https://inkspring.ai/api/connect'); | |
| 9 | + destination.searchParams.set('action', 'callback'); | |
| 10 | + destination.searchParams.set('provider', 'x'); | |
| 11 | + for (const key of ['state', 'code', 'error']) if (url.searchParams.has(key)) destination.searchParams.set(key, url.searchParams.get(key)); | |
| 12 | + return new Response(null, { status: 302, headers: { Location: destination.href, 'Cache-Control': 'no-store', 'Referrer-Policy': 'no-referrer' } }); | |
| 13 | + } | |
| 14 | + return next(); | |
| 15 | + } |
migrations/0001_sponsored.sql added
| 1 | + -- This is a dedicated, optional database, not the social connection service. | |
| 2 | + CREATE TABLE sponsored_members ( | |
| 3 | + subject TEXT PRIMARY KEY, | |
| 4 | + token_digest TEXT NOT NULL UNIQUE, | |
| 5 | + enabled INTEGER NOT NULL DEFAULT 1 CHECK (enabled IN (0, 1)), | |
| 6 | + expires_at INTEGER NOT NULL | |
| 7 | + ); | |
| 8 | + CREATE TABLE sponsored_usage ( | |
| 9 | + id TEXT PRIMARY KEY, | |
| 10 | + subject TEXT NOT NULL, | |
| 11 | + minute INTEGER NOT NULL, | |
| 12 | + day TEXT NOT NULL, | |
| 13 | + month TEXT NOT NULL, | |
| 14 | + operation TEXT NOT NULL, | |
| 15 | + credits INTEGER NOT NULL CHECK (credits > 0) | |
| 16 | + ); | |
| 17 | + CREATE INDEX sponsored_usage_member_day ON sponsored_usage(subject, day); | |
| 18 | + CREATE INDEX sponsored_usage_day ON sponsored_usage(day); | |
| 19 | + CREATE INDEX sponsored_usage_month ON sponsored_usage(month); | |
| 20 | + CREATE INDEX sponsored_usage_minute ON sponsored_usage(minute); |
package-lock.json added
| 1 | + { | |
| 2 | + "name": "inkspring-website", | |
| 3 | + "version": "1.0.0", | |
| 4 | + "lockfileVersion": 3, | |
| 5 | + "requires": true, | |
| 6 | + "packages": { | |
| 7 | + "": { | |
| 8 | + "name": "inkspring-website", | |
| 9 | + "version": "1.0.0", | |
| 10 | + "dependencies": { | |
| 11 | + "@fontsource-variable/geist": "5.3.0", | |
| 12 | + "@fontsource-variable/jetbrains-mono": "5.3.0", | |
| 13 | + "@fontsource-variable/newsreader": "5.3.0", | |
| 14 | + "@vercel/functions": "3.10.1", | |
| 15 | + "react": "19.3.1", | |
| 16 | + "react-dom": "19.3.1" | |
| 17 | + }, | |
| 18 | + "devDependencies": { | |
| 19 | + "vite": "8.3.4", | |
| 20 | + "wrangler": "^4.168.0" | |
| 21 | + } | |
| 22 | + }, | |
| 23 | + "node_modules/@cloudflare/kv-asset-handler": { | |
| 24 | + "version": "0.5.1", | |
| 25 | + "resolved": "https://registry.npmjs.org/@cloudflare/kv-asset-handler/-/kv-asset-handler-0.5.1.tgz", | |
| 26 | + "integrity": "sha512-48OysfSW3MkQY1XjkhkpPkgrEkOvgfoyHzA2eyX5wpzFpijC02uWigv3hkNdJdT3C7ybW/U17yYHXeR68pLeww==", | |
| 27 | + "dev": true, | |
| 28 | + "license": "MIT OR Apache-2.0", | |
| 29 | + "engines": { | |
| 30 | + "node": ">=22.0.0" | |
| 31 | + } | |
| 32 | + }, | |
| 33 | + "node_modules/@cloudflare/unenv-preset": { | |
| 34 | + "version": "2.16.2", | |
| 35 | + "resolved": "https://registry.npmjs.org/@cloudflare/unenv-preset/-/unenv-preset-2.16.2.tgz", | |
| 36 | + "integrity": "sha512-JBP1+Z7ZSNG/d4mRP+y8VC5dka3tZVMLEZRvS+rzQ4DGV1EoxRFQckcJTTkXbHSQiTj0DtNI01Zwb/V2fX0mvQ==", | |
| 37 | + "dev": true, | |
| 38 | + "license": "MIT OR Apache-2.0", | |
| 39 | + "peerDependencies": { | |
| 40 | + "unenv": "2.0.0-rc.24", | |
| 41 | + "workerd": ">1.20260305.0 <2.0.0-0" | |
| 42 | + }, | |
| 43 | + "peerDependenciesMeta": { | |
| 44 | + "workerd": { | |
| 45 | + "optional": true | |
| 46 | + } | |
| 47 | + } | |
| 48 | + }, | |
| 49 | + "node_modules/@cloudflare/workerd-darwin-64": { | |
| 50 | + "version": "1.20261123.1", | |
| 51 | + "resolved": "https://registry.npmjs.org/@cloudflare/workerd-darwin-64/-/workerd-darwin-64-1.20261123.1.tgz", | |
| 52 | + "integrity": "sha512-eHJEySbW8swWiAYYaOn4LdtHQEPfug9oetPATkaXbsYxjsMX+nfyJ16//2ghXws8npxA+ZJkt5RYpimFfVdgkQ==", | |
| 53 | + "cpu": [ | |
| 54 | + "x64" | |
| 55 | + ], | |
| 56 | + "dev": true, | |
| 57 | + "license": "Apache-2.0", | |
| 58 | + "optional": true, | |
| 59 | + "os": [ | |
| 60 | + "darwin" | |
| 61 | + ], | |
| 62 | + "engines": { | |
| 63 | + "node": ">=16" | |
| 64 | + } | |
| 65 | + }, | |
| 66 | + "node_modules/@cloudflare/workerd-darwin-arm64": { | |
| 67 | + "version": "1.20261123.1", | |
| 68 | + "resolved": "https://registry.npmjs.org/@cloudflare/workerd-darwin-arm64/-/workerd-darwin-arm64-1.20261123.1.tgz", | |
| 69 | + "integrity": "sha512-rDj5iScvzFD/6/pk01GqyIWa78DOGYLf18WCNG4bzfw1Z+VE/pG8msAllduLh0F/1WGD/PYxXJn03CCeSQPOUw==", | |
| 70 | + "cpu": [ | |
| 71 | + "arm64" | |
| 72 | + ], | |
| 73 | + "dev": true, | |
| 74 | + "license": "Apache-2.0", | |
| 75 | + "optional": true, | |
| 76 | + "os": [ | |
| 77 | + "darwin" | |
| 78 | + ], | |
| 79 | + "engines": { | |
| 80 | + "node": ">=16" | |
| 81 | + } | |
| 82 | + }, | |
| 83 | + "node_modules/@cloudflare/workerd-linux-64": { | |
| 84 | + "version": "1.20261123.1", | |
| 85 | + "resolved": "https://registry.npmjs.org/@cloudflare/workerd-linux-64/-/workerd-linux-64-1.20261123.1.tgz", | |
| 86 | + "integrity": "sha512-hQs6svgH3YxdgKw7K0IVZ/gmeW49/z4UEHcxpsQHEa6Y2ZabUQef7YCI/BVcaCoHHp8p3cE/cziU3qh9ALIICw==", | |
| 87 | + "cpu": [ | |
| 88 | + "x64" | |
| 89 | + ], | |
| 90 | + "dev": true, | |
| 91 | + "license": "Apache-2.0", | |
| 92 | + "optional": true, | |
| 93 | + "os": [ | |
| 94 | + "linux" | |
| 95 | + ], | |
| 96 | + "engines": { | |
| 97 | + "node": ">=16" | |
| 98 | + } | |
| 99 | + }, | |
| 100 | + "node_modules/@cloudflare/workerd-linux-arm64": { | |
| 101 | + "version": "1.20261123.1", | |
| 102 | + "resolved": "https://registry.npmjs.org/@cloudflare/workerd-linux-arm64/-/workerd-linux-arm64-1.20261123.1.tgz", | |
| 103 | + "integrity": "sha512-LLsuu+ZIcppjDNU4A9QGIbotqkiSXP2QF3HD9kCaateQUxB5GOJ6GRx+qKIu/1A+UBDKR3JutXpT9kKWe5PzEA==", | |
| 104 | + "cpu": [ | |
| 105 | + "arm64" | |
| 106 | + ], | |
| 107 | + "dev": true, | |
| 108 | + "license": "Apache-2.0", | |
| 109 | + "optional": true, | |
| 110 | + "os": [ | |
| 111 | + "linux" | |
| 112 | + ], | |
| 113 | + "engines": { | |
| 114 | + "node": ">=16" | |
| 115 | + } | |
| 116 | + }, | |
| 117 | + "node_modules/@cloudflare/workerd-windows-64": { | |
| 118 | + "version": "1.20261123.1", | |
| 119 | + "resolved": "https://registry.npmjs.org/@cloudflare/workerd-windows-64/-/workerd-windows-64-1.20261123.1.tgz", | |
| 120 | + "integrity": "sha512-/zl++/e/0JLMttdz4lUsCo58NaLKQZKancI2YPciaLH9iLHq6UOP2BQZt+dejGRrV9UxdpPYPHUYU9Km5PcALA==", | |
| 121 | + "cpu": [ | |
| 122 | + "x64" | |
| 123 | + ], | |
| 124 | + "dev": true, | |
| 125 | + "license": "Apache-2.0", | |
| 126 | + "optional": true, | |
| 127 | + "os": [ | |
| 128 | + "win32" | |
| 129 | + ], | |
| 130 | + "engines": { | |
| 131 | + "node": ">=16" | |
| 132 | + } | |
| 133 | + }, | |
| 134 | + "node_modules/@cloudflare/workers-utils": { | |
| 135 | + "version": "0.57.0", | |
| 136 | + "resolved": "https://registry.npmjs.org/@cloudflare/workers-utils/-/workers-utils-0.57.0.tgz", | |
| 137 | + "integrity": "sha512-6NulTDuddhxZUvCmDeyIVtn54Wo0rTV58YztF46V8NKBpH+PISm3aiudkCn0vLlRWeyYReNu5XmdE7hyvTwoLg==", | |
| 138 | + "dev": true, | |
| 139 | + "license": "MIT OR Apache-2.0", | |
| 140 | + "dependencies": { | |
| 141 | + "@cspotcode/source-map-support": "0.8.1", | |
| 142 | + "chalk": "5.3.0", | |
| 143 | + "dotenv": "16.3.1", | |
| 144 | + "undici": "7.30.2" | |
| 145 | + }, | |
| 146 | + "peerDependencies": { | |
| 147 | + "vitest": "^4.1.0 || ^5.0.0" | |
| 148 | + }, | |
| 149 | + "peerDependenciesMeta": { | |
| 150 | + "vitest": { | |
| 151 | + "optional": true | |
| 152 | + } | |
| 153 | + } | |
| 154 | + }, | |
| 155 | + "node_modules/@cloudflare/workers-utils/node_modules/undici": { | |
| 156 | + "version": "7.30.2", | |
| 157 | + "resolved": "https://registry.npmjs.org/undici/-/undici-7.30.2.tgz", | |
| 158 | + "integrity": "sha512-mLyPQnHwUxaM/rideoK/+KL8DaAJLRl4aBCfmX444aCSLnIaomqPLtNRe2jdCYcsk5wZzXrDIQC8ZeYNRAYyIA==", | |
| 159 | + "dev": true, | |
| 160 | + "license": "MIT", | |
| 161 | + "engines": { | |
| 162 | + "node": ">=20.18.1" | |
| 163 | + } | |
| 164 | + }, | |
| 165 | + "node_modules/@cspotcode/source-map-support": { | |
| 166 | + "version": "0.8.1", | |
| 167 | + "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", | |
| 168 | + "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==", | |
| 169 | + "dev": true, | |
| 170 | + "license": "MIT", | |
| 171 | + "dependencies": { | |
| 172 | + "@jridgewell/trace-mapping": "0.3.9" | |
| 173 | + }, | |
| 174 | + "engines": { | |
| 175 | + "node": ">=12" | |
| 176 | + } | |
| 177 | + }, | |
| 178 | + "node_modules/@emnapi/runtime": { | |
| 179 | + "version": "1.11.3", | |
| 180 | + "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.11.3.tgz", | |
| 181 | + "integrity": "sha512-Xz4Tpyki7XyrpbUK1jR1AhdAdaXyhhY4lZ3neLodmhpuWfy2PAQN5B46sAiU4liOXGLkHypn/qU+jvfWSCYYLA==", | |
| 182 | + "dev": true, | |
| 183 | + "license": "MIT", | |
| 184 | + "optional": true, | |
| 185 | + "dependencies": { | |
| 186 | + "tslib": "^2.4.0" | |
| 187 | + } | |
| 188 | + }, | |
| 189 | + "node_modules/@esbuild/aix-ppc64": { | |
| 190 | + "version": "0.28.2", | |
| 191 | + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.28.2.tgz", | |
| 192 | + "integrity": "sha512-XExcO+dvLKvVtNTibSTBej1NCAbaGhWn9Ww1ZPx80qsahhPFe/8jgWP0IchNe0F3HwkU7n8ejhH8bjonqht8mQ==", | |
| 193 | + "cpu": [ | |
| 194 | + "ppc64" | |
| 195 | + ], | |
| 196 | + "dev": true, | |
| 197 | + "license": "MIT", | |
| 198 | + "optional": true, | |
| 199 | + "os": [ | |
| 200 | + "aix" | |
| 201 | + ], | |
| 202 | + "engines": { | |
| 203 | + "node": ">=18" | |
| 204 | + } | |
| 205 | + }, | |
| 206 | + "node_modules/@esbuild/android-arm": { | |
| 207 | + "version": "0.28.2", | |
| 208 | + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.28.2.tgz", | |
| 209 | + "integrity": "sha512-kXXoiPVVGQcnIYGOeaovwOURpniDBpSq4A03qkQ+BMQqtGG6HYap3xne9C1O1yo4TR3qxlCX5IqqmX6fFo2Lqg==", | |
| 210 | + "cpu": [ | |
| 211 | + "arm" | |
| 212 | + ], | |
| 213 | + "dev": true, | |
| 214 | + "license": "MIT", | |
| 215 | + "optional": true, | |
| 216 | + "os": [ | |
| 217 | + "android" | |
| 218 | + ], | |
| 219 | + "engines": { | |
| 220 | + "node": ">=18" | |
| 221 | + } | |
| 222 | + }, | |
| 223 | + "node_modules/@esbuild/android-arm64": { | |
| 224 | + "version": "0.28.2", | |
| 225 | + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.28.2.tgz", | |
| 226 | + "integrity": "sha512-5YfKeeI8qWfBZIX+u2xZC3Zlb3Os/gLS2sbEKM+I4ZOcsWmHS2WLysCcQZDAFRslDUU5Oiq44gf6PYN1vGwG5A==", | |
| 227 | + "cpu": [ | |
| 228 | + "arm64" | |
| 229 | + ], | |
| 230 | + "dev": true, | |
| 231 | + "license": "MIT", | |
| 232 | + "optional": true, | |
| 233 | + "os": [ | |
| 234 | + "android" | |
| 235 | + ], | |
| 236 | + "engines": { | |
| 237 | + "node": ">=18" | |
| 238 | + } | |
| 239 | + }, | |
| 240 | + "node_modules/@esbuild/android-x64": { | |
| 241 | + "version": "0.28.2", | |
| 242 | + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.28.2.tgz", | |
| 243 | + "integrity": "sha512-O387ite7SzUyCcy3JQX4P4bLtEA7bLLkx+esve5JHnyYfNTxcVpXZo9jhdB0lTKN44gztELTdU7nS8Nr16Fs1Q==", | |
| 244 | + "cpu": [ | |
| 245 | + "x64" | |
| 246 | + ], | |
| 247 | + "dev": true, | |
| 248 | + "license": "MIT", | |
| 249 | + "optional": true, | |
| 250 | + "os": [ | |
| 251 | + "android" | |
| 252 | + ], | |
| 253 | + "engines": { | |
| 254 | + "node": ">=18" | |
| 255 | + } | |
| 256 | + }, | |
| 257 | + "node_modules/@esbuild/darwin-arm64": { | |
| 258 | + "version": "0.28.2", | |
| 259 | + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.28.2.tgz", | |
| 260 | + "integrity": "sha512-n4KqkOQrraxHJcgjM1RvwbigfQKIKJVpM7xp+KsxiyUSrRdIXnt73VhrPAx0fV44hgfmIVKjxMN9J1t5jySVkw==", | |
| 261 | + "cpu": [ | |
| 262 | + "arm64" | |
| 263 | + ], | |
| 264 | + "dev": true, | |
| 265 | + "license": "MIT", | |
| 266 | + "optional": true, | |
| 267 | + "os": [ | |
| 268 | + "darwin" | |
| 269 | + ], | |
| 270 | + "engines": { | |
| 271 | + "node": ">=18" | |
| 272 | + } | |
| 273 | + }, | |
| 274 | + "node_modules/@esbuild/darwin-x64": { | |
| 275 | + "version": "0.28.2", | |
| 276 | + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.28.2.tgz", | |
| 277 | + "integrity": "sha512-uq6suIWYP37qzGddBKPw5QEQPi6HiLGsO7UmkpfyaYNQ3D+rN6w6WfwH+nuqcGXWvawGwxOEroO4YGnFh95azw==", | |
| 278 | + "cpu": [ | |
| 279 | + "x64" | |
| 280 | + ], | |
| 281 | + "dev": true, | |
| 282 | + "license": "MIT", | |
| 283 | + "optional": true, | |
| 284 | + "os": [ | |
| 285 | + "darwin" | |
| 286 | + ], | |
| 287 | + "engines": { | |
| 288 | + "node": ">=18" | |
| 289 | + } | |
| 290 | + }, | |
| 291 | + "node_modules/@esbuild/freebsd-arm64": { | |
| 292 | + "version": "0.28.2", | |
| 293 | + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.28.2.tgz", | |
| 294 | + "integrity": "sha512-n+I0BTSRIoy+d6RPKnEVwql5UwBJolytvY4mAOIEJorKlqgPII8ix6slVVrfZ5Tnj7glIZvloylbB/EJPMWEXw==", | |
| 295 | + "cpu": [ | |
| 296 | + "arm64" | |
| 297 | + ], | |
| 298 | + "dev": true, | |
| 299 | + "license": "MIT", | |
| 300 | + "optional": true, | |
| 301 | + "os": [ | |
| 302 | + "freebsd" | |
| 303 | + ], | |
| 304 | + "engines": { | |
| 305 | + "node": ">=18" | |
| 306 | + } | |
| 307 | + }, | |
| 308 | + "node_modules/@esbuild/freebsd-x64": { | |
| 309 | + "version": "0.28.2", | |
| 310 | + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.28.2.tgz", | |
| 311 | + "integrity": "sha512-78XJTJkvPs0kz2w61301PJjXl4g7q3JqiYMZ/M/yVI73EHBrCRTgkhu9oqG7vPqq+a/yadEW8aD+agKlk5xrmg==", | |
| 312 | + "cpu": [ | |
| 313 | + "x64" | |
| 314 | + ], | |
| 315 | + "dev": true, | |
| 316 | + "license": "MIT", | |
| 317 | + "optional": true, | |
| 318 | + "os": [ | |
| 319 | + "freebsd" | |
| 320 | + ], | |
| 321 | + "engines": { | |
| 322 | + "node": ">=18" | |
| 323 | + } | |
| 324 | + }, | |
| 325 | + "node_modules/@esbuild/linux-arm": { | |
| 326 | + "version": "0.28.2", | |
| 327 | + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.28.2.tgz", | |
| 328 | + "integrity": "sha512-XlDnu2q5yoqems+xay6wSAcg9DDD7K9RLKZEBOMZm3ckNpJBvOX20tSfby8KfrrhINDyv9V2YVZKY/SpoGJI8w==", | |
| 329 | + "cpu": [ | |
| 330 | + "arm" | |
| 331 | + ], | |
| 332 | + "dev": true, | |
| 333 | + "license": "MIT", | |
| 334 | + "optional": true, | |
| 335 | + "os": [ | |
| 336 | + "linux" | |
| 337 | + ], | |
| 338 | + "engines": { | |
| 339 | + "node": ">=18" | |
| 340 | + } | |
| 341 | + }, | |
| 342 | + "node_modules/@esbuild/linux-arm64": { | |
| 343 | + "version": "0.28.2", | |
| 344 | + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.28.2.tgz", | |
| 345 | + "integrity": "sha512-pW4AC0P3it8c7do9MVM4p51FzHzdM/TZrerurgRcHJ2WTa1VQ1CIq18xncfpBJw4ojkiZZrKW2yIBWBP92j6Ug==", | |
| 346 | + "cpu": [ | |
| 347 | + "arm64" | |
| 348 | + ], | |
| 349 | + "dev": true, | |
| 350 | + "license": "MIT", | |
| 351 | + "optional": true, | |
| 352 | + "os": [ | |
| 353 | + "linux" | |
| 354 | + ], | |
| 355 | + "engines": { | |
| 356 | + "node": ">=18" | |
| 357 | + } | |
| 358 | + }, | |
| 359 | + "node_modules/@esbuild/linux-ia32": { | |
| 360 | + "version": "0.28.2", | |
| 361 | + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.28.2.tgz", | |
| 362 | + "integrity": "sha512-CYbnj78HsIeA+DhgUKgFCfvNsTHFhMMrinUrMZpDXJXKN8T3XViTZ/+wtHeVxEWY8ewSzTFN+nRmSwO2tZaLUQ==", | |
| 363 | + "cpu": [ | |
| 364 | + "ia32" | |
| 365 | + ], | |
| 366 | + "dev": true, | |
| 367 | + "license": "MIT", | |
| 368 | + "optional": true, | |
| 369 | + "os": [ | |
| 370 | + "linux" | |
| 371 | + ], | |
| 372 | + "engines": { | |
| 373 | + "node": ">=18" | |
| 374 | + } | |
| 375 | + }, | |
| 376 | + "node_modules/@esbuild/linux-loong64": { | |
| 377 | + "version": "0.28.2", | |
| 378 | + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.28.2.tgz", | |
| 379 | + "integrity": "sha512-buwkd8nsph4R+ajRvw0qM5Hja/TXQow3ptzWO2EbG/cqcIkHloRrdlBtQlshyYGTNFvfkfJ5tpPLVkY4DtsPfQ==", | |
| 380 | + "cpu": [ | |
| 381 | + "loong64" | |
| 382 | + ], | |
| 383 | + "dev": true, | |
| 384 | + "license": "MIT", | |
| 385 | + "optional": true, | |
| 386 | + "os": [ | |
| 387 | + "linux" | |
| 388 | + ], | |
| 389 | + "engines": { | |
| 390 | + "node": ">=18" | |
| 391 | + } | |
| 392 | + }, | |
| 393 | + "node_modules/@esbuild/linux-mips64el": { | |
| 394 | + "version": "0.28.2", | |
| 395 | + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.28.2.tgz", | |
| 396 | + "integrity": "sha512-ZVykbDyk7519VwiNb9Lcj9m8XM6v5V9uKPvrEMkkEedVewf+0itkhahp4HDpgERXhwLRpWFypsGbG/J8s0QjJA==", | |
| 397 | + "cpu": [ | |
| 398 | + "mips64el" | |
| 399 | + ], | |
| 400 | + "dev": true, | |
| 401 | + "license": "MIT", | |
| 402 | + "optional": true, | |
| 403 | + "os": [ | |
| 404 | + "linux" | |
| 405 | + ], | |
| 406 | + "engines": { | |
| 407 | + "node": ">=18" | |
| 408 | + } | |
| 409 | + }, | |
| 410 | + "node_modules/@esbuild/linux-ppc64": { | |
| 411 | + "version": "0.28.2", | |
| 412 | + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.28.2.tgz", | |
| 413 | + "integrity": "sha512-CAXl+Dtd9UUuJd8pKKdwh6MLm3MUMiqMPmhZ3tTSXPqfyQ3vDl6R5hZdZ/kYojK4ofXtdfSv1tFq8XzWx3heNQ==", | |
| 414 | + "cpu": [ | |
| 415 | + "ppc64" | |
| 416 | + ], | |
| 417 | + "dev": true, | |
| 418 | + "license": "MIT", | |
| 419 | + "optional": true, | |
| 420 | + "os": [ | |
| 421 | + "linux" | |
| 422 | + ], | |
| 423 | + "engines": { | |
| 424 | + "node": ">=18" | |
| 425 | + } | |
| 426 | + }, | |
| 427 | + "node_modules/@esbuild/linux-riscv64": { | |
| 428 | + "version": "0.28.2", | |
| 429 | + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.28.2.tgz", | |
| 430 | + "integrity": "sha512-GeXCej4IQtU1B+QlDV8W/RRvbzI3O/Stss+/bCXv4lZls5WGRtu2a+3JkA3i4qIUlMXpcHebWpF8AkJhATowuA==", | |
| 431 | + "cpu": [ | |
| 432 | + "riscv64" | |
| 433 | + ], | |
| 434 | + "dev": true, | |
| 435 | + "license": "MIT", | |
| 436 | + "optional": true, | |
| 437 | + "os": [ | |
| 438 | + "linux" | |
| 439 | + ], | |
| 440 | + "engines": { | |
| 441 | + "node": ">=18" | |
| 442 | + } | |
| 443 | + }, | |
| 444 | + "node_modules/@esbuild/linux-s390x": { | |
| 445 | + "version": "0.28.2", | |
| 446 | + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.28.2.tgz", | |
| 447 | + "integrity": "sha512-3H1weTYZPxt/WOhByszQZybS9w5lKzUn1FDMsgEChbHWQwHYQQRfBxgCcZvPhjHfKyJjIievvMmEUawJrdY9Dg==", | |
| 448 | + "cpu": [ | |
| 449 | + "s390x" | |
| 450 | + ], | |
| 451 | + "dev": true, | |
| 452 | + "license": "MIT", | |
| 453 | + "optional": true, | |
| 454 | + "os": [ | |
| 455 | + "linux" | |
| 456 | + ], | |
| 457 | + "engines": { | |
| 458 | + "node": ">=18" | |
| 459 | + } | |
| 460 | + }, | |
| 461 | + "node_modules/@esbuild/linux-x64": { | |
| 462 | + "version": "0.28.2", | |
| 463 | + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.28.2.tgz", | |
| 464 | + "integrity": "sha512-4xTZr1FUmSoQW4XIWmit3tzQrUTZM+N3P0XV8xROKYF50XfI7xeO90+1bZvNwxIufQ9hDQVRJH5YhgPVF8A/HQ==", | |
| 465 | + "cpu": [ | |
| 466 | + "x64" | |
| 467 | + ], | |
| 468 | + "dev": true, | |
| 469 | + "license": "MIT", | |
| 470 | + "optional": true, | |
| 471 | + "os": [ | |
| 472 | + "linux" | |
| 473 | + ], | |
| 474 | + "engines": { | |
| 475 | + "node": ">=18" | |
| 476 | + } | |
| 477 | + }, | |
| 478 | + "node_modules/@esbuild/netbsd-arm64": { | |
| 479 | + "version": "0.28.2", | |
| 480 | + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.28.2.tgz", | |
| 481 | + "integrity": "sha512-sSATRjPeDBg3pdgHoQfoYBob11Kk1FGa9lui5RIHZCoCkJa9QKlvl3/vKz2usCmYYjs7ymJR/2Nnsqe+Hjt5nw==", | |
| 482 | + "cpu": [ | |
| 483 | + "arm64" | |
| 484 | + ], | |
| 485 | + "dev": true, | |
| 486 | + "license": "MIT", | |
| 487 | + "optional": true, | |
| 488 | + "os": [ | |
| 489 | + "netbsd" | |
| 490 | + ], | |
| 491 | + "engines": { | |
| 492 | + "node": ">=18" | |
| 493 | + } | |
| 494 | + }, | |
| 495 | + "node_modules/@esbuild/netbsd-x64": { | |
| 496 | + "version": "0.28.2", | |
| 497 | + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.28.2.tgz", | |
| 498 | + "integrity": "sha512-lqnzCV+mM0gIADaKihiCg6ifgfU2L3h5E33rNQBN1Y4MaVGnzryzmvvf7UHxprpQdE8hpqLolJ9Rl+SkIRDpyw==", | |
| 499 | + "cpu": [ | |
| 500 | + "x64" | |
| 501 | + ], | |
| 502 | + "dev": true, | |
| 503 | + "license": "MIT", | |
| 504 | + "optional": true, | |
| 505 | + "os": [ | |
| 506 | + "netbsd" | |
| 507 | + ], | |
| 508 | + "engines": { | |
| 509 | + "node": ">=18" | |
| 510 | + } | |
| 511 | + }, | |
| 512 | + "node_modules/@esbuild/openbsd-arm64": { | |
| 513 | + "version": "0.28.2", | |
| 514 | + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.28.2.tgz", | |
| 515 | + "integrity": "sha512-AL2qJILH7lNjrDmCQDvdxMfAUIv8KMNZOvrwAQ8i8//ntL9FflhOyMJ8OZSMBb8/AWXe3/5v5S20y3zCoZWKoQ==", | |
| 516 | + "cpu": [ | |
| 517 | + "arm64" | |
| 518 | + ], | |
| 519 | + "dev": true, | |
| 520 | + "license": "MIT", | |
| 521 | + "optional": true, | |
| 522 | + "os": [ | |
| 523 | + "openbsd" | |
| 524 | + ], | |
| 525 | + "engines": { | |
| 526 | + "node": ">=18" | |
| 527 | + } | |
| 528 | + }, | |
| 529 | + "node_modules/@esbuild/openbsd-x64": { | |
| 530 | + "version": "0.28.2", | |
| 531 | + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.28.2.tgz", | |
| 532 | + "integrity": "sha512-QtiuPytchRyC4rwUKhexJdQKvDuZ6hWloi3igqPQNUJCS1/v9EiO3UTOXR6A3FoMo4fnAKbWJdqaIwhOzh8qEw==", | |
| 533 | + "cpu": [ | |
| 534 | + "x64" | |
| 535 | + ], | |
| 536 | + "dev": true, | |
| 537 | + "license": "MIT", | |
| 538 | + "optional": true, | |
| 539 | + "os": [ | |
| 540 | + "openbsd" | |
| 541 | + ], | |
| 542 | + "engines": { | |
| 543 | + "node": ">=18" | |
| 544 | + } | |
| 545 | + }, | |
| 546 | + "node_modules/@esbuild/openharmony-arm64": { | |
| 547 | + "version": "0.28.2", | |
| 548 | + "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.28.2.tgz", | |
| 549 | + "integrity": "sha512-WkhYDmpTjLvGlScA1rwjRUmhl4k8oXR3cIbtqWmELgU/dFeHHlEllxDvdWcNJV9rbzCexB5vz8gtNewWLgCT7Q==", | |
| 550 | + "cpu": [ | |
| 551 | + "arm64" | |
| 552 | + ], | |
| 553 | + "dev": true, | |
| 554 | + "license": "MIT", | |
| 555 | + "optional": true, | |
| 556 | + "os": [ | |
| 557 | + "openharmony" | |
| 558 | + ], | |
| 559 | + "engines": { | |
| 560 | + "node": ">=18" | |
| 561 | + } | |
| 562 | + }, | |
| 563 | + "node_modules/@esbuild/sunos-x64": { | |
| 564 | + "version": "0.28.2", | |
| 565 | + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.28.2.tgz", | |
| 566 | + "integrity": "sha512-GPMSkTOtMnv2U2F8gxe4Io6qmVs+YKyp832Etqqxr0hFngmXQ3rzwytelm3GIn7T4VviRUlf3sOgBOiTdvaf7g==", | |
| 567 | + "cpu": [ | |
| 568 | + "x64" | |
| 569 | + ], | |
| 570 | + "dev": true, | |
| 571 | + "license": "MIT", | |
| 572 | + "optional": true, | |
| 573 | + "os": [ | |
| 574 | + "sunos" | |
| 575 | + ], | |
| 576 | + "engines": { | |
| 577 | + "node": ">=18" | |
| 578 | + } | |
| 579 | + }, | |
| 580 | + "node_modules/@esbuild/win32-arm64": { | |
| 581 | + "version": "0.28.2", | |
| 582 | + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.28.2.tgz", | |
| 583 | + "integrity": "sha512-PIhhEkE9uPBleRBrQEJpUn7MBnibZzbGzYWPmY3x+YoVg/95zbjB4CxPPOQ8l5tYYM4mMaCthF8/1DIfBQQyWQ==", | |
| 584 | + "cpu": [ | |
| 585 | + "arm64" | |
| 586 | + ], | |
| 587 | + "dev": true, | |
| 588 | + "license": "MIT", | |
| 589 | + "optional": true, | |
| 590 | + "os": [ | |
| 591 | + "win32" | |
| 592 | + ], | |
| 593 | + "engines": { | |
| 594 | + "node": ">=18" | |
| 595 | + } | |
| 596 | + }, | |
| 597 | + "node_modules/@esbuild/win32-ia32": { | |
| 598 | + "version": "0.28.2", | |
| 599 | + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.28.2.tgz", | |
| 600 | + "integrity": "sha512-YmJbfTlvU7Sdn9BB+4PRES4oB6pxgS37MAONj+hBr/cpXS1aBPKXxNnDbu+QCWPj0o9dgyxeq79g6c5P8KeuYA==", | |
| 601 | + "cpu": [ | |
| 602 | + "ia32" | |
| 603 | + ], | |
| 604 | + "dev": true, | |
| 605 | + "license": "MIT", | |
| 606 | + "optional": true, | |
| 607 | + "os": [ | |
| 608 | + "win32" | |
| 609 | + ], | |
| 610 | + "engines": { | |
| 611 | + "node": ">=18" | |
| 612 | + } | |
| 613 | + }, | |
| 614 | + "node_modules/@esbuild/win32-x64": { | |
| 615 | + "version": "0.28.2", | |
| 616 | + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.28.2.tgz", | |
| 617 | + "integrity": "sha512-5ebpxr3nWMzrL/rnUI755Jkuee0bHL/Gq0WTF9lvcpv73wAp5eu8MfBUgWK9bhWvZjj7yX8etf/8tI8Ney695g==", | |
| 618 | + "cpu": [ | |
| 619 | + "x64" | |
| 620 | + ], | |
| 621 | + "dev": true, | |
| 622 | + "license": "MIT", | |
| 623 | + "optional": true, | |
| 624 | + "os": [ | |
| 625 | + "win32" | |
| 626 | + ], | |
| 627 | + "engines": { | |
| 628 | + "node": ">=18" | |
| 629 | + } | |
| 630 | + }, | |
| 631 | + "node_modules/@fontsource-variable/geist": { | |
| 632 | + "version": "5.3.0", | |
| 633 | + "resolved": "https://registry.npmjs.org/@fontsource-variable/geist/-/geist-5.3.0.tgz", | |
| 634 | + "integrity": "sha512-j0m+vLQuG5XAYoHtGCVu0spvlGreR3EzpECUVzkFmI1mTVnAO38l/NEPDCFgZ177JxzYJCLSmTQibIiYPilGrA==", | |
| 635 | + "license": "OFL-1.1", | |
| 636 | + "funding": { | |
| 637 | + "url": "https://github.com/sponsors/ayuhito" | |
| 638 | + } | |
| 639 | + }, | |
| 640 | + "node_modules/@fontsource-variable/jetbrains-mono": { | |
| 641 | + "version": "5.3.0", | |
| 642 | + "resolved": "https://registry.npmjs.org/@fontsource-variable/jetbrains-mono/-/jetbrains-mono-5.3.0.tgz", | |
| 643 | + "integrity": "sha512-F32xpS2NsGYoQi2ADSkKTgpJj7ozajsGgDJ8woTnqjmIB+dxDIqImjl4pXZVEExu8UFZ2ndhmX18EBS/hdz3Lw==", | |
| 644 | + "license": "OFL-1.1", | |
| 645 | + "funding": { | |
| 646 | + "url": "https://github.com/sponsors/ayuhito" | |
| 647 | + } | |
| 648 | + }, | |
| 649 | + "node_modules/@fontsource-variable/newsreader": { | |
| 650 | + "version": "5.3.0", | |
| 651 | + "resolved": "https://registry.npmjs.org/@fontsource-variable/newsreader/-/newsreader-5.3.0.tgz", | |
| 652 | + "integrity": "sha512-rrzYi43qMpbzwuFtf9OkWH8sxAPVPcQQQEwXpPtwaKYeJ8yVg5aLs5kawmo1f2Q1t1M38TLmEKCkGVDsYwgdFw==", | |
| 653 | + "license": "OFL-1.1", | |
| 654 | + "funding": { | |
| 655 | + "url": "https://github.com/sponsors/ayuhito" | |
| 656 | + } | |
| 657 | + }, | |
| 658 | + "node_modules/@img/colour": { | |
| 659 | + "version": "1.1.0", | |
| 660 | + "resolved": "https://registry.npmjs.org/@img/colour/-/colour-1.1.0.tgz", | |
| 661 | + "integrity": "sha512-Td76q7j57o/tLVdgS746cYARfSyxk8iEfRxewL9h4OMzYhbW4TAcppl0mT4eyqXddh6L/jwoM75mo7ixa/pCeQ==", | |
| 662 | + "dev": true, | |
| 663 | + "license": "MIT", | |
| 664 | + "engines": { | |
| 665 | + "node": ">=18" | |
| 666 | + } | |
| 667 | + }, | |
| 668 | + "node_modules/@img/sharp-darwin-arm64": { | |
| 669 | + "version": "0.35.5", | |
| 670 | + "resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.35.5.tgz", | |
| 671 | + "integrity": "sha512-QRUlFQ0WxvdWyqqG/WtI3iupfD5rBzmCHXSdPsY91sAtVtTo7Q4cb6zOccZ3gqEqkr0f1As1ehLqmEpDsRf+lg==", | |
| 672 | + "cpu": [ | |
| 673 | + "arm64" | |
| 674 | + ], | |
| 675 | + "dev": true, | |
| 676 | + "license": "Apache-2.0", | |
| 677 | + "optional": true, | |
| 678 | + "os": [ | |
| 679 | + "darwin" | |
| 680 | + ], | |
| 681 | + "engines": { | |
| 682 | + "node": ">=20.9.0" | |
| 683 | + }, | |
| 684 | + "funding": { | |
| 685 | + "url": "https://opencollective.com/libvips" | |
| 686 | + }, | |
| 687 | + "optionalDependencies": { | |
| 688 | + "@img/sharp-libvips-darwin-arm64": "1.3.4" | |
| 689 | + } | |
| 690 | + }, | |
| 691 | + "node_modules/@img/sharp-darwin-x64": { | |
| 692 | + "version": "0.35.5", | |
| 693 | + "resolved": "https://registry.npmjs.org/@img/sharp-darwin-x64/-/sharp-darwin-x64-0.35.5.tgz", | |
| 694 | + "integrity": "sha512-+BR255RhDlpygUpOc/Jdt1nT6DQ3XG/ERo5wbcdOf5Q320dKtPCKPLR1LJs9VGXRaMa8l1uUa0tkCNOXiAxZUw==", | |
| 695 | + "cpu": [ | |
| 696 | + "x64" | |
| 697 | + ], | |
| 698 | + "dev": true, | |
| 699 | + "license": "Apache-2.0", | |
| 700 | + "optional": true, | |
| 701 | + "os": [ | |
| 702 | + "darwin" | |
| 703 | + ], | |
| 704 | + "engines": { | |
| 705 | + "node": ">=20.9.0" | |
| 706 | + }, | |
| 707 | + "funding": { | |
| 708 | + "url": "https://opencollective.com/libvips" | |
| 709 | + }, | |
| 710 | + "optionalDependencies": { | |
| 711 | + "@img/sharp-libvips-darwin-x64": "1.3.4" | |
| 712 | + } | |
| 713 | + }, | |
| 714 | + "node_modules/@img/sharp-freebsd-wasm32": { | |
| 715 | + "version": "0.35.5", | |
| 716 | + "resolved": "https://registry.npmjs.org/@img/sharp-freebsd-wasm32/-/sharp-freebsd-wasm32-0.35.5.tgz", | |
| 717 | + "integrity": "sha512-Y/z91nEZ4uIBX5X3nfTovjU9lHNKFYbL2lpHCLVNmXQK03VIZvXBBt0KxbPGp2SdGSF+2mQU4e+hQaWOt86iAw==", | |
| 718 | + "dev": true, | |
| 719 | + "license": "Apache-2.0", | |
| 720 | + "optional": true, | |
| 721 | + "os": [ | |
| 722 | + "freebsd" | |
| 723 | + ], | |
| 724 | + "dependencies": { | |
| 725 | + "@img/sharp-wasm32": "0.35.5" | |
| 726 | + }, | |
| 727 | + "engines": { | |
| 728 | + "node": ">=20.9.0" | |
| 729 | + }, | |
| 730 | + "funding": { | |
| 731 | + "url": "https://opencollective.com/libvips" | |
| 732 | + } | |
| 733 | + }, | |
| 734 | + "node_modules/@img/sharp-libvips-darwin-arm64": { | |
| 735 | + "version": "1.3.4", | |
| 736 | + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-arm64/-/sharp-libvips-darwin-arm64-1.3.4.tgz", | |
| 737 | + "integrity": "sha512-5R89nBYiRdUlSWJxPhO+GVtaXzXSxKnRu/xqMn3KTA3L9EB9Oy/P+Nn2f2vlhPuUdy/Zusb2DarbyTpGCfEDuw==", | |
| 738 | + "cpu": [ | |
| 739 | + "arm64" | |
| 740 | + ], | |
| 741 | + "dev": true, | |
| 742 | + "license": "LGPL-3.0-or-later", | |
| 743 | + "optional": true, | |
| 744 | + "os": [ | |
| 745 | + "darwin" | |
| 746 | + ], | |
| 747 | + "funding": { | |
| 748 | + "url": "https://opencollective.com/libvips" | |
| 749 | + } | |
| 750 | + }, | |
| 751 | + "node_modules/@img/sharp-libvips-darwin-x64": { | |
| 752 | + "version": "1.3.4", | |
| 753 | + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-x64/-/sharp-libvips-darwin-x64-1.3.4.tgz", | |
| 754 | + "integrity": "sha512-iR2OKH80yi0U+dUplyh3/xdpFvps6YkCwsXenIJxqxR1v9o+xtKTGbS9H7cps+2Vxjc8B1j96p75NmTGjIhtpQ==", | |
| 755 | + "cpu": [ | |
| 756 | + "x64" | |
| 757 | + ], | |
| 758 | + "dev": true, | |
| 759 | + "license": "LGPL-3.0-or-later", | |
| 760 | + "optional": true, | |
| 761 | + "os": [ | |
| 762 | + "darwin" | |
| 763 | + ], | |
| 764 | + "funding": { | |
| 765 | + "url": "https://opencollective.com/libvips" | |
| 766 | + } | |
| 767 | + }, | |
| 768 | + "node_modules/@img/sharp-libvips-linux-arm": { | |
| 769 | + "version": "1.3.4", | |
| 770 | + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm/-/sharp-libvips-linux-arm-1.3.4.tgz", | |
| 771 | + "integrity": "sha512-LmRtTsOHuvM2+wlO2Db37dx5MiZhB0FvSunciw48YjdOkZz9KAiRbm8ujeMOA1INqmei5NapFxYEK1D1ZSidmw==", | |
| 772 | + "cpu": [ | |
| 773 | + "arm" | |
| 774 | + ], | |
| 775 | + "dev": true, | |
| 776 | + "libc": [ | |
| 777 | + "glibc" | |
| 778 | + ], | |
| 779 | + "license": "LGPL-3.0-or-later", | |
| 780 | + "optional": true, | |
| 781 | + "os": [ | |
| 782 | + "linux" | |
| 783 | + ], | |
| 784 | + "funding": { | |
| 785 | + "url": "https://opencollective.com/libvips" | |
| 786 | + } | |
| 787 | + }, | |
| 788 | + "node_modules/@img/sharp-libvips-linux-arm64": { | |
| 789 | + "version": "1.3.4", | |
| 790 | + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm64/-/sharp-libvips-linux-arm64-1.3.4.tgz", | |
| 791 | + "integrity": "sha512-Y3dgX/6lE2QhQb+Gxy0WZxfg9MEm/JBjamZpS2IklP7xIQoKN4hzAm7KcMVGtaVDt3neE9OKBC7vAfonA/Lr1A==", | |
| 792 | + "cpu": [ | |
| 793 | + "arm64" | |
| 794 | + ], | |
| 795 | + "dev": true, | |
| 796 | + "libc": [ | |
| 797 | + "glibc" | |
| 798 | + ], | |
| 799 | + "license": "LGPL-3.0-or-later", | |
| 800 | + "optional": true, | |
| 801 | + "os": [ | |
| 802 | + "linux" | |
| 803 | + ], | |
| 804 | + "funding": { | |
| 805 | + "url": "https://opencollective.com/libvips" | |
| 806 | + } | |
| 807 | + }, | |
| 808 | + "node_modules/@img/sharp-libvips-linux-ppc64": { | |
| 809 | + "version": "1.3.4", | |
| 810 | + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-ppc64/-/sharp-libvips-linux-ppc64-1.3.4.tgz", | |
| 811 | + "integrity": "sha512-Le6boB8Tai0Nis+gIxIpKx68UDVVIqdR8Tin5Yf1z2LJJQLDJvCDRqRu+jC2qCoD+eIomonmOwB4smBRxfVpYQ==", | |
| 812 | + "cpu": [ | |
| 813 | + "ppc64" | |
| 814 | + ], | |
| 815 | + "dev": true, | |
| 816 | + "libc": [ | |
| 817 | + "glibc" | |
| 818 | + ], | |
| 819 | + "license": "LGPL-3.0-or-later", | |
| 820 | + "optional": true, | |
| 821 | + "os": [ | |
| 822 | + "linux" | |
| 823 | + ], | |
| 824 | + "funding": { | |
| 825 | + "url": "https://opencollective.com/libvips" | |
| 826 | + } | |
| 827 | + }, | |
| 828 | + "node_modules/@img/sharp-libvips-linux-riscv64": { | |
| 829 | + "version": "1.3.4", | |
| 830 | + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-riscv64/-/sharp-libvips-linux-riscv64-1.3.4.tgz", | |
| 831 | + "integrity": "sha512-aHkkIEHPRdQEegJN20MLmGtxYD9R2wQr3Cwpddnu5+YKMt6Uzax7S9h5gpZTo8wyrGuZSlfQ63OevL5mTyOC7Q==", | |
| 832 | + "cpu": [ | |
| 833 | + "riscv64" | |
| 834 | + ], | |
| 835 | + "dev": true, | |
| 836 | + "libc": [ | |
| 837 | + "glibc" | |
| 838 | + ], | |
| 839 | + "license": "LGPL-3.0-or-later", | |
| 840 | + "optional": true, | |
| 841 | + "os": [ | |
| 842 | + "linux" | |
| 843 | + ], | |
| 844 | + "funding": { | |
| 845 | + "url": "https://opencollective.com/libvips" | |
| 846 | + } | |
| 847 | + }, | |
| 848 | + "node_modules/@img/sharp-libvips-linux-s390x": { | |
| 849 | + "version": "1.3.4", | |
| 850 | + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-s390x/-/sharp-libvips-linux-s390x-1.3.4.tgz", | |
| 851 | + "integrity": "sha512-ra/mB6MikESDUO7Yg+Mi95bFBb9GsObURuhnOv3OqknjGe9sZrG8tCe9q0xSIGrtLgvgw0gKnFWcK4blSgQOuQ==", | |
| 852 | + "cpu": [ | |
| 853 | + "s390x" | |
| 854 | + ], | |
| 855 | + "dev": true, | |
| 856 | + "libc": [ | |
| 857 | + "glibc" | |
| 858 | + ], | |
| 859 | + "license": "LGPL-3.0-or-later", | |
| 860 | + "optional": true, | |
| 861 | + "os": [ | |
| 862 | + "linux" | |
| 863 | + ], | |
| 864 | + "funding": { | |
| 865 | + "url": "https://opencollective.com/libvips" | |
| 866 | + } | |
| 867 | + }, | |
| 868 | + "node_modules/@img/sharp-libvips-linux-x64": { | |
| 869 | + "version": "1.3.4", | |
| 870 | + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.3.4.tgz", | |
| 871 | + "integrity": "sha512-GJ//SSXbnwSDes02umB3nDJLFcQzw8a18V8fyhqr6tV515tOEMdImjjxj1AoafMRz56F3PHgftnj1QEKSU1zkw==", | |
| 872 | + "cpu": [ | |
| 873 | + "x64" | |
| 874 | + ], | |
| 875 | + "dev": true, | |
| 876 | + "libc": [ | |
| 877 | + "glibc" | |
| 878 | + ], | |
| 879 | + "license": "LGPL-3.0-or-later", | |
| 880 | + "optional": true, | |
| 881 | + "os": [ | |
| 882 | + "linux" | |
| 883 | + ], | |
| 884 | + "funding": { | |
| 885 | + "url": "https://opencollective.com/libvips" | |
| 886 | + } | |
| 887 | + }, | |
| 888 | + "node_modules/@img/sharp-libvips-linuxmusl-arm64": { | |
| 889 | + "version": "1.3.4", | |
| 890 | + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-arm64/-/sharp-libvips-linuxmusl-arm64-1.3.4.tgz", | |
| 891 | + "integrity": "sha512-hvulFwtjUcagsis6BBxHwGFwWoNZjgYmULGVrZcyfNbjA8hKILbRxGg15/7w5HDyXHXUos/j6baAWqnCyQ2DWA==", | |
| 892 | + "cpu": [ | |
| 893 | + "arm64" | |
| 894 | + ], | |
| 895 | + "dev": true, | |
| 896 | + "libc": [ | |
| 897 | + "musl" | |
| 898 | + ], | |
| 899 | + "license": "LGPL-3.0-or-later", | |
| 900 | + "optional": true, | |
| 901 | + "os": [ | |
| 902 | + "linux" | |
| 903 | + ], | |
| 904 | + "funding": { | |
| 905 | + "url": "https://opencollective.com/libvips" | |
| 906 | + } | |
| 907 | + }, | |
| 908 | + "node_modules/@img/sharp-libvips-linuxmusl-x64": { | |
| 909 | + "version": "1.3.4", | |
| 910 | + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-x64/-/sharp-libvips-linuxmusl-x64-1.3.4.tgz", | |
| 911 | + "integrity": "sha512-6zXKeE/p39I1AmA3cJG35eyBGNqNddLnUXjhwBnsGjFPWqf5VKkDBEqaEkPDoTEtkxwi2vv8Tcr2mDyP4So7Fg==", | |
| 912 | + "cpu": [ | |
| 913 | + "x64" | |
| 914 | + ], | |
| 915 | + "dev": true, | |
| 916 | + "libc": [ | |
| 917 | + "musl" | |
| 918 | + ], | |
| 919 | + "license": "LGPL-3.0-or-later", | |
| 920 | + "optional": true, | |
| 921 | + "os": [ | |
| 922 | + "linux" | |
| 923 | + ], | |
| 924 | + "funding": { | |
| 925 | + "url": "https://opencollective.com/libvips" | |
| 926 | + } | |
| 927 | + }, | |
| 928 | + "node_modules/@img/sharp-linux-arm": { | |
| 929 | + "version": "0.35.5", | |
| 930 | + "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm/-/sharp-linux-arm-0.35.5.tgz", | |
| 931 | + "integrity": "sha512-LEaXK2WdXVK5ykcw0buWyPMsmLLL2vpHLD6yrNSW+JGEL3BZPA4tpKN6iaMc4AxTTAoaX/sU1rOL51lcIz48ZQ==", | |
| 932 | + "cpu": [ | |
| 933 | + "arm" | |
| 934 | + ], | |
| 935 | + "dev": true, | |
| 936 | + "libc": [ | |
| 937 | + "glibc" | |
| 938 | + ], | |
| 939 | + "license": "Apache-2.0", | |
| 940 | + "optional": true, | |
| 941 | + "os": [ | |
| 942 | + "linux" | |
| 943 | + ], | |
| 944 | + "engines": { | |
| 945 | + "node": ">=20.9.0" | |
| 946 | + }, | |
| 947 | + "funding": { | |
| 948 | + "url": "https://opencollective.com/libvips" | |
| 949 | + }, | |
| 950 | + "optionalDependencies": { | |
| 951 | + "@img/sharp-libvips-linux-arm": "1.3.4" | |
| 952 | + } | |
| 953 | + }, | |
| 954 | + "node_modules/@img/sharp-linux-arm64": { | |
| 955 | + "version": "0.35.5", | |
| 956 | + "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm64/-/sharp-linux-arm64-0.35.5.tgz", | |
| 957 | + "integrity": "sha512-LYVx5JTsOM2CBzmxreh+nl64/3H6Xb09iSLknqH47z2T2DFFxDeFLP5y4dJwe6H7uGQlHPyEEtIqyo3DYsRwdQ==", | |
| 958 | + "cpu": [ | |
| 959 | + "arm64" | |
| 960 | + ], | |
| 961 | + "dev": true, | |
| 962 | + "libc": [ | |
| 963 | + "glibc" | |
| 964 | + ], | |
| 965 | + "license": "Apache-2.0", | |
| 966 | + "optional": true, | |
| 967 | + "os": [ | |
| 968 | + "linux" | |
| 969 | + ], | |
| 970 | + "engines": { | |
| 971 | + "node": ">=20.9.0" | |
| 972 | + }, | |
| 973 | + "funding": { | |
| 974 | + "url": "https://opencollective.com/libvips" | |
| 975 | + }, | |
| 976 | + "optionalDependencies": { | |
| 977 | + "@img/sharp-libvips-linux-arm64": "1.3.4" | |
| 978 | + } | |
| 979 | + }, | |
| 980 | + "node_modules/@img/sharp-linux-ppc64": { | |
| 981 | + "version": "0.35.5", | |
| 982 | + "resolved": "https://registry.npmjs.org/@img/sharp-linux-ppc64/-/sharp-linux-ppc64-0.35.5.tgz", | |
| 983 | + "integrity": "sha512-QVxAAq8evVRI9ia2vqgwrmWucn5Dfv+JdWzj75pD8omHLPSP7f8p20O8jxzjCcuCEQEOtYOZUmX1hkiZ0kdevA==", | |
| 984 | + "cpu": [ | |
| 985 | + "ppc64" | |
| 986 | + ], | |
| 987 | + "dev": true, | |
| 988 | + "libc": [ | |
| 989 | + "glibc" | |
| 990 | + ], | |
| 991 | + "license": "Apache-2.0", | |
| 992 | + "optional": true, | |
| 993 | + "os": [ | |
| 994 | + "linux" | |
| 995 | + ], | |
| 996 | + "engines": { | |
| 997 | + "node": ">=20.9.0" | |
| 998 | + }, | |
| 999 | + "funding": { | |
| 1000 | + "url": "https://opencollective.com/libvips" | |
| 1001 | + }, | |
| 1002 | + "optionalDependencies": { | |
| 1003 | + "@img/sharp-libvips-linux-ppc64": "1.3.4" | |
| 1004 | + } | |
| 1005 | + }, | |
| 1006 | + "node_modules/@img/sharp-linux-riscv64": { | |
| 1007 | + "version": "0.35.5", | |
| 1008 | + "resolved": "https://registry.npmjs.org/@img/sharp-linux-riscv64/-/sharp-linux-riscv64-0.35.5.tgz", | |
| 1009 | + "integrity": "sha512-LtdreXguaavKODPIfzJ4kffx7UNt1omwtK0rch4EBbbSTXPnxWmYSayXdLJw0fJzQ97kHt1gL/yh4tvU+nCyRQ==", | |
| 1010 | + "cpu": [ | |
| 1011 | + "riscv64" | |
| 1012 | + ], | |
| 1013 | + "dev": true, | |
| 1014 | + "libc": [ | |
| 1015 | + "glibc" | |
| 1016 | + ], | |
| 1017 | + "license": "Apache-2.0", | |
| 1018 | + "optional": true, | |
| 1019 | + "os": [ | |
| 1020 | + "linux" | |
| 1021 | + ], | |
| 1022 | + "engines": { | |
| 1023 | + "node": ">=20.9.0" | |
| 1024 | + }, | |
| 1025 | + "funding": { | |
| 1026 | + "url": "https://opencollective.com/libvips" | |
| 1027 | + }, | |
| 1028 | + "optionalDependencies": { | |
| 1029 | + "@img/sharp-libvips-linux-riscv64": "1.3.4" | |
| 1030 | + } | |
| 1031 | + }, | |
| 1032 | + "node_modules/@img/sharp-linux-s390x": { | |
| 1033 | + "version": "0.35.5", | |
| 1034 | + "resolved": "https://registry.npmjs.org/@img/sharp-linux-s390x/-/sharp-linux-s390x-0.35.5.tgz", | |
| 1035 | + "integrity": "sha512-UZasTOFiYzotTsGOCu42BfUzP6Tu6Do/947iRm1RsLKvlllxwGcn4RN27LibGWceix4Y+Pmw3jsnTcCQIgWjqA==", | |
| 1036 | + "cpu": [ | |
| 1037 | + "s390x" | |
| 1038 | + ], | |
| 1039 | + "dev": true, | |
| 1040 | + "libc": [ | |
| 1041 | + "glibc" | |
| 1042 | + ], | |
| 1043 | + "license": "Apache-2.0", | |
| 1044 | + "optional": true, | |
| 1045 | + "os": [ | |
| 1046 | + "linux" | |
| 1047 | + ], | |
| 1048 | + "engines": { | |
| 1049 | + "node": ">=20.9.0" | |
| 1050 | + }, | |
| 1051 | + "funding": { | |
| 1052 | + "url": "https://opencollective.com/libvips" | |
| 1053 | + }, | |
| 1054 | + "optionalDependencies": { | |
| 1055 | + "@img/sharp-libvips-linux-s390x": "1.3.4" | |
| 1056 | + } | |
| 1057 | + }, | |
| 1058 | + "node_modules/@img/sharp-linux-x64": { | |
| 1059 | + "version": "0.35.5", | |
| 1060 | + "resolved": "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.35.5.tgz", | |
| 1061 | + "integrity": "sha512-SxFtLTeJInhAA9Q836kux2vZNeOBQEx658qvbboZScr0wIARym3IcGmW7KpVD5sbVg0Ojy+udFQdayYIZyoNog==", | |
| 1062 | + "cpu": [ | |
| 1063 | + "x64" | |
| 1064 | + ], | |
| 1065 | + "dev": true, | |
| 1066 | + "libc": [ | |
| 1067 | + "glibc" | |
| 1068 | + ], | |
| 1069 | + "license": "Apache-2.0", | |
| 1070 | + "optional": true, | |
| 1071 | + "os": [ | |
| 1072 | + "linux" | |
| 1073 | + ], | |
| 1074 | + "engines": { | |
| 1075 | + "node": ">=20.9.0" | |
| 1076 | + }, | |
| 1077 | + "funding": { | |
| 1078 | + "url": "https://opencollective.com/libvips" | |
| 1079 | + }, | |
| 1080 | + "optionalDependencies": { | |
| 1081 | + "@img/sharp-libvips-linux-x64": "1.3.4" | |
| 1082 | + } | |
| 1083 | + }, | |
| 1084 | + "node_modules/@img/sharp-linuxmusl-arm64": { | |
| 1085 | + "version": "0.35.5", | |
| 1086 | + "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-arm64/-/sharp-linuxmusl-arm64-0.35.5.tgz", | |
| 1087 | + "integrity": "sha512-9HbMclmI1zlNkFRs3z9/eBtDjfD0sGlrX1z6b1qwmiFY5ElDLh4BC0LPBdVp7z1DXFiKlIcznf+ZlsuZzLxQqg==", | |
| 1088 | + "cpu": [ | |
| 1089 | + "arm64" | |
| 1090 | + ], | |
| 1091 | + "dev": true, | |
| 1092 | + "libc": [ | |
| 1093 | + "musl" | |
| 1094 | + ], | |
| 1095 | + "license": "Apache-2.0", | |
| 1096 | + "optional": true, | |
| 1097 | + "os": [ | |
| 1098 | + "linux" | |
| 1099 | + ], | |
| 1100 | + "engines": { | |
| 1101 | + "node": ">=20.9.0" | |
| 1102 | + }, | |
| 1103 | + "funding": { | |
| 1104 | + "url": "https://opencollective.com/libvips" | |
| 1105 | + }, | |
| 1106 | + "optionalDependencies": { | |
| 1107 | + "@img/sharp-libvips-linuxmusl-arm64": "1.3.4" | |
| 1108 | + } | |
| 1109 | + }, | |
| 1110 | + "node_modules/@img/sharp-linuxmusl-x64": { | |
| 1111 | + "version": "0.35.5", | |
| 1112 | + "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-x64/-/sharp-linuxmusl-x64-0.35.5.tgz", | |
| 1113 | + "integrity": "sha512-4KOphqB035HrVdqLZfCgMzzERrQkkzOwRhl4OAkRO1YCldbaFjySXMaK534Mo0V+LndnlJk+sbUyLeU0ULyD1A==", | |
| 1114 | + "cpu": [ | |
| 1115 | + "x64" | |
| 1116 | + ], | |
| 1117 | + "dev": true, | |
| 1118 | + "libc": [ | |
| 1119 | + "musl" | |
| 1120 | + ], | |
| 1121 | + "license": "Apache-2.0", | |
| 1122 | + "optional": true, | |
| 1123 | + "os": [ | |
| 1124 | + "linux" | |
| 1125 | + ], | |
| 1126 | + "engines": { | |
| 1127 | + "node": ">=20.9.0" | |
| 1128 | + }, | |
| 1129 | + "funding": { | |
| 1130 | + "url": "https://opencollective.com/libvips" | |
| 1131 | + }, | |
| 1132 | + "optionalDependencies": { | |
| 1133 | + "@img/sharp-libvips-linuxmusl-x64": "1.3.4" | |
| 1134 | + } | |
| 1135 | + }, | |
| 1136 | + "node_modules/@img/sharp-wasm32": { | |
| 1137 | + "version": "0.35.5", | |
| 1138 | + "resolved": "https://registry.npmjs.org/@img/sharp-wasm32/-/sharp-wasm32-0.35.5.tgz", | |
| 1139 | + "integrity": "sha512-Ptsga1su4tQx+LLF1ECS9U6nz5kmrXKo6XVbtR48Ke3ZRxxgaWBu7IDtEe1quo8hiupwm6WFqxVlXaSf7IINGQ==", | |
| 1140 | + "dev": true, | |
| 1141 | + "license": "Apache-2.0 AND LGPL-3.0-or-later AND MIT", | |
| 1142 | + "optional": true, | |
| 1143 | + "dependencies": { | |
| 1144 | + "@emnapi/runtime": "^1.11.3" | |
| 1145 | + }, | |
| 1146 | + "engines": { | |
| 1147 | + "node": ">=20.9.0" | |
| 1148 | + }, | |
| 1149 | + "funding": { | |
| 1150 | + "url": "https://opencollective.com/libvips" | |
| 1151 | + } | |
| 1152 | + }, | |
| 1153 | + "node_modules/@img/sharp-webcontainers-wasm32": { | |
| 1154 | + "version": "0.35.5", | |
| 1155 | + "resolved": "https://registry.npmjs.org/@img/sharp-webcontainers-wasm32/-/sharp-webcontainers-wasm32-0.35.5.tgz", | |
| 1156 | + "integrity": "sha512-hfhF/FmoQyTUkA0bIKFOtw536BQSeBMe6BF6QyWlrPxT754+TFLaZ7sKKTfvvM0yJgKgaYTwnFCIZ/GuDw5SUA==", | |
| 1157 | + "cpu": [ | |
| 1158 | + "wasm32" | |
| 1159 | + ], | |
| 1160 | + "dev": true, | |
| 1161 | + "license": "Apache-2.0", | |
| 1162 | + "optional": true, | |
| 1163 | + "dependencies": { | |
| 1164 | + "@img/sharp-wasm32": "0.35.5" | |
| 1165 | + }, | |
| 1166 | + "engines": { | |
| 1167 | + "node": ">=20.9.0" | |
| 1168 | + }, | |
| 1169 | + "funding": { | |
| 1170 | + "url": "https://opencollective.com/libvips" | |
| 1171 | + } | |
| 1172 | + }, | |
| 1173 | + "node_modules/@img/sharp-win32-arm64": { | |
| 1174 | + "version": "0.35.5", | |
| 1175 | + "resolved": "https://registry.npmjs.org/@img/sharp-win32-arm64/-/sharp-win32-arm64-0.35.5.tgz", | |
| 1176 | + "integrity": "sha512-X4t7g+7ZA5DKblCBEXGjUqqemj4vczING/5viFwAL8h4N3qYeyjwdCvRLHi4EdOUI+2Z7UFlp1VM+p/AuEtm6Q==", | |
| 1177 | + "cpu": [ | |
| 1178 | + "arm64" | |
| 1179 | + ], | |
| 1180 | + "dev": true, | |
| 1181 | + "license": "Apache-2.0 AND LGPL-3.0-or-later", | |
| 1182 | + "optional": true, | |
| 1183 | + "os": [ | |
| 1184 | + "win32" | |
| 1185 | + ], | |
| 1186 | + "engines": { | |
| 1187 | + "node": ">=20.9.0" | |
| 1188 | + }, | |
| 1189 | + "funding": { | |
| 1190 | + "url": "https://opencollective.com/libvips" | |
| 1191 | + } | |
| 1192 | + }, | |
| 1193 | + "node_modules/@img/sharp-win32-ia32": { | |
| 1194 | + "version": "0.35.5", | |
| 1195 | + "resolved": "https://registry.npmjs.org/@img/sharp-win32-ia32/-/sharp-win32-ia32-0.35.5.tgz", | |
| 1196 | + "integrity": "sha512-5Zm82LoBc43nhwNybZlG7Y1KO//Zhsn306fQl29ZOuStHLGTo3BWL83q3cznX0poxSAMuYL1On/BHBxkBeKr6A==", | |
| 1197 | + "cpu": [ | |
| 1198 | + "ia32" | |
| 1199 | + ], | |
| 1200 | + "dev": true, | |
| 1201 | + "license": "Apache-2.0 AND LGPL-3.0-or-later", | |
| 1202 | + "optional": true, | |
| 1203 | + "os": [ | |
| 1204 | + "win32" | |
| 1205 | + ], | |
| 1206 | + "engines": { | |
| 1207 | + "node": "^20.9.0" | |
| 1208 | + }, | |
| 1209 | + "funding": { | |
| 1210 | + "url": "https://opencollective.com/libvips" | |
| 1211 | + } | |
| 1212 | + }, | |
| 1213 | + "node_modules/@img/sharp-win32-x64": { | |
| 1214 | + "version": "0.35.5", | |
| 1215 | + "resolved": "https://registry.npmjs.org/@img/sharp-win32-x64/-/sharp-win32-x64-0.35.5.tgz", | |
| 1216 | + "integrity": "sha512-x76eH0vEiHlcMQu8Y8IenntaACtddpT6W0wmXtWrnKcnKI7ME5DdgqhAD6SEWOEl1v2zDvkZDhFA9KnURwpfqg==", | |
| 1217 | + "cpu": [ | |
| 1218 | + "x64" | |
| 1219 | + ], | |
| 1220 | + "dev": true, | |
| 1221 | + "license": "Apache-2.0 AND LGPL-3.0-or-later", | |
| 1222 | + "optional": true, | |
| 1223 | + "os": [ | |
| 1224 | + "win32" | |
| 1225 | + ], | |
| 1226 | + "engines": { | |
| 1227 | + "node": ">=20.9.0" | |
| 1228 | + }, | |
| 1229 | + "funding": { | |
| 1230 | + "url": "https://opencollective.com/libvips" | |
| 1231 | + } | |
| 1232 | + }, | |
| 1233 | + "node_modules/@jridgewell/resolve-uri": { | |
| 1234 | + "version": "3.1.3", | |
| 1235 | + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.3.tgz", | |
| 1236 | + "integrity": "sha512-lhTtjtoEArWBjismtfS761S9Hlyn+nIZqOZVYoZ1Xn82PMNMVnk+jj/NhC4fAXGTs7ydONcJiR5vyQBTMDu27g==", | |
| 1237 | + "dev": true, | |
| 1238 | + "license": "MIT", | |
| 1239 | + "engines": { | |
| 1240 | + "node": ">=6.0.0" | |
| 1241 | + } | |
| 1242 | + }, | |
| 1243 | + "node_modules/@jridgewell/sourcemap-codec": { | |
| 1244 | + "version": "1.6.0", | |
| 1245 | + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.6.0.tgz", | |
| 1246 | + "integrity": "sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw==", | |
| 1247 | + "dev": true, | |
| 1248 | + "license": "MIT" | |
| 1249 | + }, | |
| 1250 | + "node_modules/@jridgewell/trace-mapping": { | |
| 1251 | + "version": "0.3.9", | |
| 1252 | + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz", | |
| 1253 | + "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==", | |
| 1254 | + "dev": true, | |
| 1255 | + "license": "MIT", | |
| 1256 | + "dependencies": { | |
| 1257 | + "@jridgewell/resolve-uri": "^3.0.3", | |
| 1258 | + "@jridgewell/sourcemap-codec": "^1.4.10" | |
| 1259 | + } | |
| 1260 | + }, | |
| 1261 | + "node_modules/@oxc-project/types": { | |
| 1262 | + "version": "0.154.0", | |
| 1263 | + "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.154.0.tgz", | |
| 1264 | + "integrity": "sha512-KYOUGQFlLWR+s4QMV2Q9ko38TZm7EdO87Qm7rvZLqk/webse/cDjtyxKhg/47l0byCbs/k46LT8qc4PKjAikzA==", | |
| 1265 | + "dev": true, | |
| 1266 | + "license": "MIT", | |
| 1267 | + "funding": { | |
| 1268 | + "url": "https://github.com/sponsors/oxc-project" | |
| 1269 | + } | |
| 1270 | + }, | |
| 1271 | + "node_modules/@poppinss/colors": { | |
| 1272 | + "version": "4.1.6", | |
| 1273 | + "resolved": "https://registry.npmjs.org/@poppinss/colors/-/colors-4.1.6.tgz", | |
| 1274 | + "integrity": "sha512-H9xkIdFswbS8n1d6vmRd8+c10t2Qe+rZITbbDHHkQixH5+2x1FDGmi/0K+WgWiqQFKPSlIYB7jlH6Kpfn6Fleg==", | |
| 1275 | + "dev": true, | |
| 1276 | + "license": "MIT", | |
| 1277 | + "dependencies": { | |
| 1278 | + "kleur": "^4.1.5" | |
| 1279 | + } | |
| 1280 | + }, | |
| 1281 | + "node_modules/@poppinss/dumper": { | |
| 1282 | + "version": "0.6.5", | |
| 1283 | + "resolved": "https://registry.npmjs.org/@poppinss/dumper/-/dumper-0.6.5.tgz", | |
| 1284 | + "integrity": "sha512-NBdYIb90J7LfOI32dOewKI1r7wnkiH6m920puQ3qHUeZkxNkQiFnXVWoE6YtFSv6QOiPPf7ys6i+HWWecDz7sw==", | |
| 1285 | + "dev": true, | |
| 1286 | + "license": "MIT", | |
| 1287 | + "dependencies": { | |
| 1288 | + "@poppinss/colors": "^4.1.5", | |
| 1289 | + "@sindresorhus/is": "^7.0.2", | |
| 1290 | + "supports-color": "^10.0.0" | |
| 1291 | + } | |
| 1292 | + }, | |
| 1293 | + "node_modules/@poppinss/exception": { | |
| 1294 | + "version": "1.2.3", | |
| 1295 | + "resolved": "https://registry.npmjs.org/@poppinss/exception/-/exception-1.2.3.tgz", | |
| 1296 | + "integrity": "sha512-dCED+QRChTVatE9ibtoaxc+WkdzOSjYTKi/+uacHWIsfodVfpsueo3+DKpgU5Px8qXjgmXkSvhXvSCz3fnP9lw==", | |
| 1297 | + "dev": true, | |
| 1298 | + "license": "MIT" | |
| 1299 | + }, | |
| 1300 | + "node_modules/@rolldown/binding-android-arm-eabi": { | |
| 1301 | + "version": "1.2.14", | |
| 1302 | + "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm-eabi/-/binding-android-arm-eabi-1.2.14.tgz", | |
| 1303 | + "integrity": "sha512-aWR+XKH9+rW7m5fWq/5360J3mHycrx/o6xZM2DQFdJnTMdyP7/WzxPjhtLbVWdKo2y612/4U1bWqb3HQhiF7vg==", | |
| 1304 | + "cpu": [ | |
| 1305 | + "arm" | |
| 1306 | + ], | |
| 1307 | + "dev": true, | |
| 1308 | + "license": "MIT", | |
| 1309 | + "optional": true, | |
| 1310 | + "os": [ | |
| 1311 | + "android" | |
| 1312 | + ], | |
| 1313 | + "engines": { | |
| 1314 | + "node": "^20.19.0 || >=22.12.0" | |
| 1315 | + } | |
| 1316 | + }, | |
| 1317 | + "node_modules/@rolldown/binding-android-arm64": { | |
| 1318 | + "version": "1.2.14", | |
| 1319 | + "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.2.14.tgz", | |
| 1320 | + "integrity": "sha512-QiVxHofl6A8lQU7WAtOUY4QMVZXohxwz7WJJoeh8NBEUyKfIkMRKhYyq8az/1RypNiIXzNTtiS6KwHz0erxYRQ==", | |
| 1321 | + "cpu": [ | |
| 1322 | + "arm64" | |
| 1323 | + ], | |
| 1324 | + "dev": true, | |
| 1325 | + "license": "MIT", | |
| 1326 | + "optional": true, | |
| 1327 | + "os": [ | |
| 1328 | + "android" | |
| 1329 | + ], | |
| 1330 | + "engines": { | |
| 1331 | + "node": "^20.19.0 || >=22.12.0" | |
| 1332 | + } | |
| 1333 | + }, | |
| 1334 | + "node_modules/@rolldown/binding-darwin-arm64": { | |
| 1335 | + "version": "1.2.14", | |
| 1336 | + "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.2.14.tgz", | |
| 1337 | + "integrity": "sha512-lTQOzHuBIooh3jIr5XINQkjPGEuGy+Dsy0meXDr6Sjty0b99kYgGh4uBC/8mJX1T0kC8d6S0aPP1Y+bHkh6aBw==", | |
| 1338 | + "cpu": [ | |
| 1339 | + "arm64" | |
| 1340 | + ], | |
| 1341 | + "dev": true, | |
| 1342 | + "license": "MIT", | |
| 1343 | + "optional": true, | |
| 1344 | + "os": [ | |
| 1345 | + "darwin" | |
| 1346 | + ], | |
| 1347 | + "engines": { | |
| 1348 | + "node": "^20.19.0 || >=22.12.0" | |
| 1349 | + } | |
| 1350 | + }, | |
| 1351 | + "node_modules/@rolldown/binding-darwin-x64": { | |
| 1352 | + "version": "1.2.14", | |
| 1353 | + "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.2.14.tgz", | |
| 1354 | + "integrity": "sha512-hyMKEGatjmBYCs/Q4sbIcL/GqpFEqsX3wc+HYVQ/85A4rxc1o7rPm4DUI4GV4k/h0ITddwFSGpqQunI14GXjTA==", | |
| 1355 | + "cpu": [ | |
| 1356 | + "x64" | |
| 1357 | + ], | |
| 1358 | + "dev": true, | |
| 1359 | + "license": "MIT", | |
| 1360 | + "optional": true, | |
| 1361 | + "os": [ | |
| 1362 | + "darwin" | |
| 1363 | + ], | |
| 1364 | + "engines": { | |
| 1365 | + "node": "^20.19.0 || >=22.12.0" | |
| 1366 | + } | |
| 1367 | + }, | |
| 1368 | + "node_modules/@rolldown/binding-freebsd-x64": { | |
| 1369 | + "version": "1.2.14", | |
| 1370 | + "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.2.14.tgz", | |
| 1371 | + "integrity": "sha512-u371GbXoVXrEgP20PwzoGNOdAOqAMhzo19JzzY+V4YmmnC+DTOoqdbMu+O+54emM59Mik/UdrtWgcuEDKWRPKA==", | |
| 1372 | + "cpu": [ | |
| 1373 | + "x64" | |
| 1374 | + ], | |
| 1375 | + "dev": true, | |
| 1376 | + "license": "MIT", | |
| 1377 | + "optional": true, | |
| 1378 | + "os": [ | |
| 1379 | + "freebsd" | |
| 1380 | + ], | |
| 1381 | + "engines": { | |
| 1382 | + "node": "^20.19.0 || >=22.12.0" | |
| 1383 | + } | |
| 1384 | + }, | |
| 1385 | + "node_modules/@rolldown/binding-linux-arm-gnueabihf": { | |
| 1386 | + "version": "1.2.14", | |
| 1387 | + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.2.14.tgz", | |
| 1388 | + "integrity": "sha512-BqwKsdZQf6EqVWr8fv2MrDYzAvOZ7+NYFSJESRGs87fkseEhs0TU9TXgRJTkZoRRkxTizyEg1LKUXfU3/78uqg==", | |
| 1389 | + "cpu": [ | |
| 1390 | + "arm" | |
| 1391 | + ], | |
| 1392 | + "dev": true, | |
| 1393 | + "license": "MIT", | |
| 1394 | + "optional": true, | |
| 1395 | + "os": [ | |
| 1396 | + "linux" | |
| 1397 | + ], | |
| 1398 | + "engines": { | |
| 1399 | + "node": "^20.19.0 || >=22.12.0" | |
| 1400 | + } | |
| 1401 | + }, | |
| 1402 | + "node_modules/@rolldown/binding-linux-arm64-gnu": { | |
| 1403 | + "version": "1.2.14", | |
| 1404 | + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.2.14.tgz", | |
| 1405 | + "integrity": "sha512-SD9kY8M009x/7s57Z1dgUVlP5+uYBgKQK0Tkr1WIWngrtUJmRCW1RJFMY7QDla2khXhmg2i5Io7MUjcmZNZ/KQ==", | |
| 1406 | + "cpu": [ | |
| 1407 | + "arm64" | |
| 1408 | + ], | |
| 1409 | + "dev": true, | |
| 1410 | + "libc": [ | |
| 1411 | + "glibc" | |
| 1412 | + ], | |
| 1413 | + "license": "MIT", | |
| 1414 | + "optional": true, | |
| 1415 | + "os": [ | |
| 1416 | + "linux" | |
| 1417 | + ], | |
| 1418 | + "engines": { | |
| 1419 | + "node": "^20.19.0 || >=22.12.0" | |
| 1420 | + } | |
| 1421 | + }, | |
| 1422 | + "node_modules/@rolldown/binding-linux-arm64-musl": { | |
| 1423 | + "version": "1.2.14", | |
| 1424 | + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.2.14.tgz", | |
| 1425 | + "integrity": "sha512-BJ2CL19M6uuWesMgnqJzgxoI+N+eV7b0A9O9vLV42y+gitC41fNa8KElau1tHVzuLWX5GzEuxMPhAO0tQXQMkg==", | |
| 1426 | + "cpu": [ | |
| 1427 | + "arm64" | |
| 1428 | + ], | |
| 1429 | + "dev": true, | |
| 1430 | + "libc": [ | |
| 1431 | + "musl" | |
| 1432 | + ], | |
| 1433 | + "license": "MIT", | |
| 1434 | + "optional": true, | |
| 1435 | + "os": [ | |
| 1436 | + "linux" | |
| 1437 | + ], | |
| 1438 | + "engines": { | |
| 1439 | + "node": "^20.19.0 || >=22.12.0" | |
| 1440 | + } | |
| 1441 | + }, | |
| 1442 | + "node_modules/@rolldown/binding-linux-ppc64-gnu": { | |
| 1443 | + "version": "1.2.14", | |
| 1444 | + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.2.14.tgz", | |
| 1445 | + "integrity": "sha512-4+Kl8daPV8NDHaD7mfCcc1pRM+Qg7ab8DyMm5FG5WoZgv4h2i3KFN1CybYBNbQqmuYm7ftJLvmMI1eHYJ22S/Q==", | |
| 1446 | + "cpu": [ | |
| 1447 | + "ppc64" | |
| 1448 | + ], | |
| 1449 | + "dev": true, | |
| 1450 | + "libc": [ | |
| 1451 | + "glibc" | |
| 1452 | + ], | |
| 1453 | + "license": "MIT", | |
| 1454 | + "optional": true, | |
| 1455 | + "os": [ | |
| 1456 | + "linux" | |
| 1457 | + ], | |
| 1458 | + "engines": { | |
| 1459 | + "node": "^20.19.0 || >=22.12.0" | |
| 1460 | + } | |
| 1461 | + }, | |
| 1462 | + "node_modules/@rolldown/binding-linux-s390x-gnu": { | |
| 1463 | + "version": "1.2.14", | |
| 1464 | + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.2.14.tgz", | |
| 1465 | + "integrity": "sha512-V/h8ePq1fKDrmtFMz6xcCN3DKvuvMRrwwD1q0PkBeeo4DpK64biaKvqWGVxqCeYKqeRk7gE7/iKPxLCn08O97A==", | |
| 1466 | + "cpu": [ | |
| 1467 | + "s390x" | |
| 1468 | + ], | |
| 1469 | + "dev": true, | |
| 1470 | + "libc": [ | |
| 1471 | + "glibc" | |
| 1472 | + ], | |
| 1473 | + "license": "MIT", | |
| 1474 | + "optional": true, | |
| 1475 | + "os": [ | |
| 1476 | + "linux" | |
| 1477 | + ], | |
| 1478 | + "engines": { | |
| 1479 | + "node": "^20.19.0 || >=22.12.0" | |
| 1480 | + } | |
| 1481 | + }, | |
| 1482 | + "node_modules/@rolldown/binding-linux-x64-gnu": { | |
| 1483 | + "version": "1.2.14", | |
| 1484 | + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.2.14.tgz", | |
| 1485 | + "integrity": "sha512-WxalXzgrLVpKC93xfpaJ3gCXUWzeCr+FRCbDVD2mUAy4L6Vo3lNVz0epUEUpxPWJkLNYUwM4OSIikv36OJ9mLg==", | |
| 1486 | + "cpu": [ | |
| 1487 | + "x64" | |
| 1488 | + ], | |
| 1489 | + "dev": true, | |
| 1490 | + "libc": [ | |
| 1491 | + "glibc" | |
| 1492 | + ], | |
| 1493 | + "license": "MIT", | |
| 1494 | + "optional": true, | |
| 1495 | + "os": [ | |
| 1496 | + "linux" | |
| 1497 | + ], | |
| 1498 | + "engines": { | |
| 1499 | + "node": "^20.19.0 || >=22.12.0" | |
| 1500 | + } | |
| 1501 | + }, |
package.json added
| 1 | + { | |
| 2 | + "name": "inkspring-website", | |
| 3 | + "version": "1.0.0", | |
| 4 | + "private": true, | |
| 5 | + "type": "module", | |
| 6 | + "description": "Inkspring product website and stateless desktop social connection service.", | |
| 7 | + "scripts": { | |
| 8 | + "dev": "vite --host 127.0.0.1 --port 4178", | |
| 9 | + "build": "vite build && vite build --ssr src/render.tsx --outDir .ssr && node scripts/prerender.mjs && node scripts/check.mjs && node scripts/indexnow.mjs dist/sitemap.xml dist", | |
| 10 | + "preview": "vite preview --host 127.0.0.1 --port 4178", | |
| 11 | + "test": "node --test tests/*.test.mjs", | |
| 12 | + "generate:og": "node scripts/generate-og.mjs", | |
| 13 | + "preview:cloudflare": "npm run build && wrangler pages dev dist" | |
| 14 | + }, | |
| 15 | + "dependencies": { | |
| 16 | + "@fontsource-variable/geist": "5.3.0", | |
| 17 | + "@fontsource-variable/jetbrains-mono": "5.3.0", | |
| 18 | + "@fontsource-variable/newsreader": "5.3.0", | |
| 19 | + "@vercel/functions": "3.10.1", | |
| 20 | + "react": "19.3.1", | |
| 21 | + "react-dom": "19.3.1" | |
| 22 | + }, | |
| 23 | + "devDependencies": { | |
| 24 | + "vite": "8.3.4", | |
| 25 | + "wrangler": "^4.168.0" | |
| 26 | + } | |
| 27 | + } |
public/66365049776433ceca35572e03fca658.txt added
| 1 | + 66365049776433ceca35572e03fca658 |
public/_redirects added
| 1 | + /terms /app-notices 301 | |
| 2 | + /terms/ /app-notices 301 | |
| 3 | + /pay-and-pricing / 301 | |
| 4 | + /pay-and-pricing/ / 301 |
public/analytics.css added
| 1 | + /* Inkspring analytics consent banner, added by analytics.js. */ | |
| 2 | + .analytics-choice { | |
| 3 | + --ga-accent: color-mix(in srgb, var(--accent) 65%, var(--accent-2)); | |
| 4 | + position: fixed; | |
| 5 | + z-index: 1000; | |
| 6 | + bottom: 20px; | |
| 7 | + left: 50%; | |
| 8 | + transform: translateX(-50%); | |
| 9 | + width: min(980px, calc(100% - 40px)); | |
| 10 | + display: flex; | |
| 11 | + align-items: center; | |
| 12 | + gap: 18px; | |
| 13 | + padding: 24px; | |
| 14 | + color: var(--ink); | |
| 15 | + background: var(--paper); | |
| 16 | + border: 1px solid var(--ink-line); | |
| 17 | + border-radius: 20px; | |
| 18 | + box-shadow: 0 12px 36px rgb(64 37 22 / 18%); | |
| 19 | + font: inherit; | |
| 20 | + text-align: left; | |
| 21 | + } | |
| 22 | + .analytics-choice[hidden] { display: none; } | |
| 23 | + .analytics-choice-mark { | |
| 24 | + align-self: start; | |
| 25 | + flex: none; | |
| 26 | + border-radius: 24%; | |
| 27 | + box-shadow: 0 1px 2px rgb(64 37 22 / 12%), 0 3px 7px rgb(64 37 22 / 15%); | |
| 28 | + } | |
| 29 | + .analytics-choice h2 { margin: 0 0 5px; font: 500 26px/1.1 var(--serif); } | |
| 30 | + .analytics-choice p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--ink-3); } | |
| 31 | + .analytics-choice p a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; } | |
| 32 | + .analytics-choice-actions { display: flex; gap: 8px; flex-shrink: 0; } | |
| 33 | + .analytics-choice-actions button { | |
| 34 | + padding: 12px 18px; | |
| 35 | + min-height: 44px; | |
| 36 | + border: 1px solid var(--ink-line); | |
| 37 | + border-radius: 999px; | |
| 38 | + background: transparent; | |
| 39 | + color: var(--accent-2); | |
| 40 | + font: inherit; | |
| 41 | + font-size: 13px; | |
| 42 | + font-weight: 600; | |
| 43 | + cursor: pointer; | |
| 44 | + } | |
| 45 | + .analytics-choice-actions button:hover { border-color: var(--ga-accent); background: var(--paper-2); } | |
| 46 | + .analytics-choice-actions .analytics-allow { background: var(--ga-accent); color: white; border-color: var(--ga-accent); } | |
| 47 | + .analytics-choice-actions .analytics-allow:hover { background: var(--accent-2); border-color: var(--accent-2); } | |
| 48 | + .analytics-choice :focus-visible, .analytics-settings-link:focus-visible { outline: 3px solid var(--ga-accent, currentColor); outline-offset: 4px; } | |
| 49 | + .analytics-settings-link { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-align: left; } | |
| 50 | + .analytics-settings-link:hover { text-decoration: underline; text-underline-offset: 3px; } | |
| 51 | + @media (max-width: 768px) { | |
| 52 | + .analytics-choice { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 14px; padding: 16px; max-height: calc(100dvh - 40px); overflow: auto; } | |
| 53 | + .analytics-choice-actions { grid-column: 1 / -1; flex-wrap: wrap; } | |
| 54 | + .analytics-choice-actions button { flex: 1; } | |
| 55 | + } |
public/apple-touch-icon.png added
Not a text file.
public/assets/visitor-odometer.v1.css added
| 1 | + /* Self-host with visitor-odometer.v1.js. No fonts, images, or other requests. */ | |
| 2 | + .visitor-odometer { | |
| 3 | + --visitor-accent: #ffad64; | |
| 4 | + display: flex; flex-wrap: wrap; align-items: center; gap: 8px 13px; | |
| 5 | + margin-block: 1rem; font: inherit; | |
| 6 | + } | |
| 7 | + .visitor-odometer-label { | |
| 8 | + font: 600 .72rem/1.25 ui-monospace, monospace; | |
| 9 | + letter-spacing: .16em; text-transform: uppercase; | |
| 10 | + } | |
| 11 | + .visitor-odometer-tiles { | |
| 12 | + display: inline-flex; gap: clamp(2px, 1vw, 4px); max-width: 100%; padding: 5px; | |
| 13 | + border: 1px solid #ffffff20; border-radius: 9px; background: linear-gradient(#18191c, #070708); | |
| 14 | + box-shadow: 0 8px 25px -12px #0009; | |
| 15 | + } | |
| 16 | + .visitor-odometer-tile { | |
| 17 | + position: relative; display: grid; overflow: hidden; place-items: center; | |
| 18 | + min-width: 0; width: clamp(13px, 7vw, 29px); height: clamp(26px, 9vw, 39px); | |
| 19 | + border-radius: 4px; background: linear-gradient(#24252a 0%, #17181b 49%, #0b0c0d 51%, #18191c); | |
| 20 | + box-shadow: inset 0 0 0 1px #ffffff12, inset 0 -6px 10px #0007; | |
| 21 | + } | |
| 22 | + .visitor-odometer-tile::after { | |
| 23 | + position: absolute; inset-inline: 0; top: 50%; height: 1px; content: ""; background: #0009; | |
| 24 | + } | |
| 25 | + .visitor-odometer-face { | |
| 26 | + color: var(--visitor-accent); font: 600 clamp(14px, 5vw, 24px)/1 ui-monospace, monospace; | |
| 27 | + font-variant-numeric: tabular-nums; text-shadow: 0 0 7px #f580256e; | |
| 28 | + animation: visitor-odometer-roll .6s cubic-bezier(.2, .8, .2, 1) both; | |
| 29 | + } | |
| 30 | + .visitor-odometer-note { font-size: .875rem; } | |
| 31 | + .visitor-odometer-number { font-weight: 650; } | |
| 32 | + .visitor-odometer-sr { | |
| 33 | + position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; | |
| 34 | + clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); | |
| 35 | + } | |
| 36 | + @keyframes visitor-odometer-roll { | |
| 37 | + from { transform: translateY(-90%); opacity: 0; } | |
| 38 | + to { transform: none; opacity: 1; } | |
| 39 | + } | |
| 40 | + @media (prefers-reduced-motion: reduce) { .visitor-odometer-face { animation: none; } } |
public/assets/visitor-odometer.v1.js added
| 1 | + // Aggregate-only visitor odometer: no cookies, referrer, identifiers or beacons. | |
| 2 | + (() => { | |
| 3 | + 'use strict'; | |
| 4 | + const endpoint = 'https://projectatom.ai/api/visits'; | |
| 5 | + const selector = '[data-visitor-odometer][data-visitor-site]'; | |
| 6 | + const siteIDs = new Set(['projectatom', 'protomota', 'airesourcepro', 'skillfarm', 'portfolio', 'opentalon', 'inkspring', 'jotley', | |
| 7 | + 'glimmer', 'pulsecanvas', 'graphley', 'bucksley', 'jobley', 'voxley', 'textley', 'moontrace', 'sunlaid', 'cypress', 'lightwell', 'lumengesso', 'clearwake', 'krahn', 'chewandrinse', 'carryspan', 'commonwakemarine', 'rootwardgardens', 'evenharbor', 'clearmeadow', 'fieldofwhy', | |
| 8 | + 'watchencyclopedia', 'paywell', 'makeaclip', 'groundroom', 'brightpatchstories', 'calendarley', 'champagnedamage', | |
| 9 | + 'neverwastv', 'noctvrne', 'otherworldvision', 'quillflow', 'tradenook', 'trendii', 'vexley', 'laceless', 'kindpaw', 'petgrove', | |
| 10 | + 'homegrove', 'cyclical', 'commongrocer', 'brightiris', 'homeandroad', 'clothworks', 'jotkey']); | |
| 11 | + const pending = new Map(); | |
| 12 | + const minimumDigits = 7; | |
| 13 | + const ordinal = n => Number.isSafeInteger(n) && n > 0; | |
| 14 | + const keyFor = site => site === 'projectatom' ? 'atom-visitor-no' : `visitor-odometer-v1:${site}`; | |
| 15 | + function element(tag, name, text = '') { | |
| 16 | + const node = document.createElement(tag); | |
| 17 | + node.className = name; | |
| 18 | + node.textContent = text; | |
| 19 | + return node; | |
| 20 | + } | |
| 21 | + function paint(node, count, mine, unavailable = false) { | |
| 22 | + const numeral = count == null ? (unavailable ? '–' : '·').repeat(minimumDigits) : String(count).padStart(minimumDigits, '0'); | |
| 23 | + const description = count == null ? (unavailable ? 'Visitor count unavailable' : 'Loading visitor count') : `${count.toLocaleString()} visitors`; | |
| 24 | + const accessibleTotal = element('span', 'visitor-odometer-sr', description); | |
| 25 | + accessibleTotal.setAttribute('role', 'status'); | |
| 26 | + const label = element('span', 'visitor-odometer-label', 'Visitors'); | |
| 27 | + label.setAttribute('aria-hidden', 'true'); | |
| 28 | + const digits = element('span', 'visitor-odometer-tiles'); | |
| 29 | + digits.setAttribute('aria-hidden', 'true'); | |
| 30 | + for (const character of numeral) { | |
| 31 | + const digit = element('span', 'visitor-odometer-tile'); | |
| 32 | + digit.append(element('span', 'visitor-odometer-face', character)); | |
| 33 | + digits.append(digit); | |
| 34 | + } | |
| 35 | + const note = element('span', 'visitor-odometer-note', ordinal(mine) ? 'You’re visitor ' : 'Thank you for being here.'); | |
| 36 | + if (ordinal(mine)) { | |
| 37 | + note.append(element('strong', 'visitor-odometer-number', `No. ${mine.toLocaleString()}`), '. Thank you for being here.'); | |
| 38 | + } | |
| 39 | + node.classList.add('visitor-odometer'); | |
| 40 | + node.setAttribute('role', 'group'); | |
| 41 | + node.setAttribute('aria-label', 'Visitor counter'); | |
| 42 | + node.replaceChildren(label, digits, accessibleTotal, note); | |
| 43 | + } | |
| 44 | + function browserNumber(site) { | |
| 45 | + try { | |
| 46 | + const n = Number(window.localStorage.getItem(keyFor(site))); | |
| 47 | + return ordinal(n) ? n : null; | |
| 48 | + } catch { return null; } | |
| 49 | + } | |
| 50 | + async function request(site, method) { | |
| 51 | + const response = await fetch(site === 'projectatom' ? '/api/visits' : `${endpoint}?site=${encodeURIComponent(site)}`, { | |
| 52 | + method, | |
| 53 | + signal: typeof AbortSignal.timeout === 'function' ? AbortSignal.timeout(4500) : undefined, | |
| 54 | + mode: 'cors', | |
| 55 | + credentials: 'omit', | |
| 56 | + referrerPolicy: 'no-referrer', | |
| 57 | + cache: 'no-store', | |
| 58 | + redirect: 'error', | |
| 59 | + }); | |
| 60 | + if (!response.ok) throw new Error('Counter unavailable'); | |
| 61 | + const result = await response.json(); | |
| 62 | + if (!Number.isSafeInteger(result?.count) || result.count < 0) throw new Error('Counter unavailable'); | |
| 63 | + return result; | |
| 64 | + } | |
| 65 | + async function load(site, mine) { | |
| 66 | + const read = () => request(site, 'GET').catch(async () => { | |
| 67 | + await new Promise(resolve => setTimeout(resolve, 400)); | |
| 68 | + return request(site, 'GET'); | |
| 69 | + }); | |
| 70 | + const run = async () => { | |
| 71 | + mine = browserNumber(site) ?? mine; | |
| 72 | + const data = await (mine ? read() : request(site, 'POST').catch(read)); | |
| 73 | + if (ordinal(data.you) && data.you <= data.count) { | |
| 74 | + try { window.localStorage.setItem(keyFor(site), String(data.you)); } catch { /* storage disabled */ } | |
| 75 | + } | |
| 76 | + return data; | |
| 77 | + }; | |
| 78 | + const locks = site === 'projectatom' ? window.navigator?.locks : null; | |
| 79 | + const result = await (locks ? locks.request(keyFor(site), run) : run()); | |
| 80 | + if (ordinal(result.you) && result.you <= result.count) { | |
| 81 | + mine = result.you; | |
| 82 | + // Keep the number only on this browser, for the current site. It is | |
| 83 | + // never placed in the URL or otherwise sent back to the counter. | |
| 84 | + try { window.localStorage.setItem(keyFor(site), String(mine)); } catch { /* storage disabled */ } | |
| 85 | + } | |
| 86 | + return { count: result.count, mine }; | |
| 87 | + } | |
| 88 | + function mount(widget) { | |
| 89 | + if (!widget.isConnected || widget.firstElementChild) return; | |
| 90 | + const site = widget.getAttribute('data-visitor-site'); | |
| 91 | + if (!siteIDs.has(site)) return; | |
| 92 | + const mine = browserNumber(site); | |
| 93 | + paint(widget, null, mine); | |
| 94 | + if (!pending.has(site)) pending.set(site, load(site, mine)); | |
| 95 | + pending.get(site).then(result => { if (widget.isConnected) paint(widget, result.count, result.mine); }) | |
| 96 | + .catch(() => { if (widget.isConnected) paint(widget, null, mine, true); }); | |
| 97 | + } | |
| 98 | + | |
| 99 | + // Hydrating or navigating an SPA can replace server-rendered placeholders. | |
| 100 | + // Reuse the previous request: remounting must not count a second visit. | |
| 101 | + document.querySelectorAll(selector).forEach(mount); | |
| 102 | + new MutationObserver(records => { | |
| 103 | + for (const record of records) { | |
| 104 | + if (record.target.matches?.(selector)) mount(record.target); | |
| 105 | + for (const node of record.addedNodes) { | |
| 106 | + if (node.matches?.(selector)) mount(node); | |
| 107 | + node.querySelectorAll?.(selector).forEach(mount); | |
| 108 | + } | |
| 109 | + } | |
| 110 | + }).observe(document.body, { childList: true, subtree: true }); | |
| 111 | + })(); |
public/desktop-connect.html added
| 1 | + <!doctype html> | |
| 2 | + <html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="robots" content="noindex,nofollow"><meta name="referrer" content="no-referrer"><meta http-equiv="Content-Security-Policy" content="default-src 'none'; script-src 'self'; style-src 'unsafe-inline'; connect-src 'none'; object-src 'none'; base-uri 'none'; form-action 'none'"><title>Return to Inkspring</title><style>body{margin:0;background:#f5f2ec;color:#292b25;font:16px/1.7 system-ui,sans-serif}main{max-width:580px;margin:12vh auto;padding:32px}h1{font:42px/1.1 Georgia,serif;letter-spacing:-1px}p{color:#726e62}a{display:inline-block;background:#b75635;color:#fff9ef;padding:12px 20px;border-radius:999px;text-decoration:none}small{display:block;margin-top:24px;color:#837b6e}a[hidden]{display:none}</style><script src="/desktop-connect/callback.js" defer></script><!-- no-orphans --><link rel="stylesheet" href="/no-orphans.css"><script src="/no-orphans.js" defer></script><!-- /no-orphans --></head><body><main><h1>Return to your studio.</h1><p id="message">Open Inkspring to finish connecting your social account.</p><a id="return" hidden>Return to Inkspring</a><small>This page has no account database or token storage. Inkspring validates the return and completes sign-in on your computer.</small><noscript>JavaScript is needed to return to the desktop app. Enable it for this page, then start sign-in again from Inkspring.</noscript></main></body></html> |
public/desktop-connect/callback.js added
| 1 | + 'use strict'; | |
| 2 | + (() => { | |
| 3 | + const current = new URL(window.location.href); | |
| 4 | + const state = current.searchParams.get('state') || ''; | |
| 5 | + const provider = state.match(/^(x|instagram|linkedin)\.[A-Za-z0-9_-]{40,100}$/)?.[1]; | |
| 6 | + const code = current.searchParams.get('code'); | |
| 7 | + const error = current.searchParams.get('error'); | |
| 8 | + // Remove the authorization code from browser history before opening the application. | |
| 9 | + window.history.replaceState(null, '', window.location.pathname); | |
| 10 | + if (!provider || ((!code || code.length > 8000) && !error) || (error && error.length > 200)) { | |
| 11 | + document.getElementById('message').textContent = 'This sign-in return is missing or invalid. Open Inkspring and start connecting the account again.'; | |
| 12 | + return; | |
| 13 | + } | |
| 14 | + const target = new URL(`inkspring://oauth/${provider}`); | |
| 15 | + target.searchParams.set('state', state); | |
| 16 | + if (error) target.searchParams.set('error', error); else target.searchParams.set('code', code); | |
| 17 | + const link = document.getElementById('return'); | |
| 18 | + link.href = target.href; | |
| 19 | + link.hidden = false; | |
| 20 | + document.getElementById('message').textContent = error ? 'Sign-in was canceled. Return to Inkspring to continue.' : 'Your browser can now return the sign-in result to Inkspring. Select the button and allow your browser to open the installed app.'; | |
| 21 | + })(); |
public/ex-books.jpg added
Not a text file.
public/ex-desk.jpg added
Not a text file.
public/ex-hoodies.jpg added
Not a text file.
public/ex-meeting.jpg added
Not a text file.
public/ex-phone.jpg added
Not a text file.
public/ex-sunrise.jpg added
Not a text file.
public/ex-whiteboard.jpg added
Not a text file.
public/favicon.svg added
| 1 | + <svg xmlns="http://www.w3.org/2000/svg" viewBox="850 850 2200 2200"> | |
| 2 | + <rect x="850" y="850" width="2200" height="2200" rx="280" fill="#EDEDED"/> | |
| 3 | + <g transform="translate(0, 4000) scale(1, -1)" fill="#686868"> | |
| 4 | + <path d="M2115 2866 c-168 -43 -296 -194 -357 -421 -31 -116 -31 -367 0 -512 51 -237 164 -500 302 -706 35 -53 65 -95 67 -94 1 1 -8 40 -19 87 -29 118 -31 377 -4 500 37 169 83 267 227 481 54 80 113 177 131 215 29 62 32 79 33 164 0 79 -4 102 -22 136 -63 119 -223 185 -358 150z m26 -126 c12 -7 19 -21 19 -40 0 -23 -14 -41 -68 -90 -85 -76 -134 -139 -183 -238 -22 -42 -39 -72 -40 -67 -8 103 22 223 79 311 73 110 138 153 193 124z"/> | |
| 5 | + <path d="M1264 2326 c-85 -37 -148 -131 -159 -237 -22 -200 141 -508 380 -719 148 -130 370 -243 540 -274 l39 -8 -80 84 c-187 195 -284 397 -339 708 -44 250 -63 305 -129 378 -68 75 -172 103 -252 68z m46 -156 c8 -16 6 -38 -11 -97 -17 -62 -20 -96 -17 -174 2 -56 0 -95 -5 -92 -16 10 -54 106 -67 166 -22 106 11 217 65 217 14 0 29 -8 35 -20z"/> | |
| 6 | + <path d="M2604 2215 c-213 -48 -377 -320 -408 -675 l-5 -65 24 47 c62 118 181 194 389 247 65 17 137 39 160 49 181 81 196 290 26 374 -66 32 -117 39 -186 23z m90 -65 c30 -11 35 -45 9 -58 -10 -5 -43 -12 -73 -15 -30 -4 -82 -20 -116 -37 -34 -16 -64 -30 -68 -30 -4 0 6 16 21 35 34 43 94 84 148 101 50 16 49 16 79 4z"/> | |
| 7 | + <path d="M2445 1516 c-78 -35 -111 -117 -76 -189 52 -107 216 -116 275 -16 20 34 23 107 7 138 -34 63 -140 98 -206 67z"/> | |
| 8 | + </g> | |
| 9 | + </svg> |
public/icons/inkspring-180.png added
Not a text file.
public/icons/inkspring-48.png added
Not a text file.
public/inkspring-icon-black-gradient.png added
Not a text file.
public/inkspring-logo-black-on-gradient.png added
Not a text file.
public/inkspring-logo-cyan.png added
Not a text file.
public/inkspring-logo-flat.png added
Not a text file.
public/inkspring-logo-styled.png added
Not a text file.
public/inkspring-logo-white.png added
Not a text file.
public/inkspring-logo.png added
Not a text file.
public/inkspring-mac-icon.png added
Not a text file.
public/inkspring-splash-black.png added
Not a text file.
public/install/installer.png added
Not a text file.
public/install/writing-studio.jpg added
Not a text file.
public/llms.txt added
| 1 | + # Inkspring | |
| 2 | + | |
| 3 | + > Inkspring is a free social media studio for Mac. Write with references you bring, schedule your week, and publish through the official LinkedIn, X, and Instagram APIs. Your workspace stays on your Mac. | |
| 4 | + | |
| 5 | + Key facts: | |
| 6 | + | |
| 7 | + - Price: free. Every feature is included, with no Inkspring account. Any paid AI or social API provider you use bills you directly. | |
| 8 | + - Source: open source (public domain) | |
| 9 | + - Platform: a native Mac app for Apple Silicon, macOS 14 or later. The iPhone and iPad app is a companion to the Mac app (public TestFlight beta: https://testflight.apple.com/join/Gg8AQT4A): the Mac does the work and the companion syncs with it through your own iCloud. | |
| 10 | + - Install: a signed disk image from https://inkspring.ai/download with automatic updates. | |
| 11 | + - References: save your own notes and links or paste in a post you want to reply to. | |
| 12 | + - Writing: posts, threads, and single-image posts in your voice. Paste a post from X and get a witty reply in 280 characters or less. | |
| 13 | + - AI: hosted AI is not available yet. You can draft, review and schedule without an AI account. Help documents existing optional integrations. | |
| 14 | + - Publishing: LinkedIn, X, and Instagram only, through official APIs. X needs your own developer app. Instagram requires a professional account and separately configured media hosting for local uploads. Scheduled LinkedIn and X posts can send with Automatic posting enabled while your Mac is awake. | |
| 15 | + - Data: projects, references, and drafts are saved in a local database on the Mac, and saved work opens offline. Inkspring has no server that holds your workspace. Keys are saved in the Mac's Keychain. When you ask for a draft, your brief and selected references go to the provider you chose. | |
| 16 | + - Mobile: the companion shows what is scheduled, lets you cancel a post, review recent drafts, and capture new ideas. | |
| 17 | + | |
| 18 | + ## Pages | |
| 19 | + | |
| 20 | + - [Inkspring](https://inkspring.ai/): what the studio does, the reply studio, and how the Mac and iPhone apps connect | |
| 21 | + - [Download and install](https://inkspring.ai/download): the Mac installer, install steps, and the SHA-256 checksum | |
| 22 | + - [Help](https://inkspring.ai/help): existing optional integrations, official social connections and Instagram media hosting | |
| 23 | + - [Compare](https://inkspring.ai/compare): how Inkspring differs from Buffer and Postiz, two browser-based social schedulers | |
| 24 | + - [Privacy](https://inkspring.ai/privacy): how the apps and the website handle information | |
| 25 | + - [App notices](https://inkspring.ai/app-notices): software license and the Unlicense (public domain) | |
| 26 | + | |
| 27 | + ## Common questions | |
| 28 | + | |
| 29 | + - What is Inkspring? A free Mac studio for writing and scheduling social posts. Use your own references and keep your workspace local. | |
| 30 | + - Is Inkspring free? Yes. Every feature is free, there is no Inkspring account, and the source is open on GitHub and in the public domain (Unlicense). Any paid AI or social API provider you use bills you directly. | |
| 31 | + - Which devices does Inkspring run on? The Mac app needs an Apple Silicon Mac running macOS 14 or later. The iPhone and iPad app is a companion to the Mac app (public TestFlight beta: https://testflight.apple.com/join/Gg8AQT4A): the Mac does the work and the companion syncs with it through your own iCloud. | |
| 32 | + - Is hosted AI available? Not yet. You can draft, review and schedule without connecting an AI agent. | |
| 33 | + - Where is my work stored? Projects, references, and drafts are saved in a local database on your Mac, and saved work opens without an internet connection. Inkspring has no server that holds your workspace. When you ask for a draft, your brief and the references you selected go to the AI provider you chose. | |
| 34 | + - Where can Inkspring publish? LinkedIn, X, and Instagram only. See Help for official sign-in requirements and Instagram media hosting. | |
| 35 | + | |
| 36 | + ## Optional | |
| 37 | + |
public/no-orphans.css added
| 1 | + /* No orphans: balanced headings, no lone last words in body text. Pairs with no-orphans.js. */ | |
| 2 | + h1,h2,h3,h4,h5,h6,summary,legend,caption,blockquote{text-wrap:balance} | |
| 3 | + p,li,dd,dt,figcaption,td,th,label,small{text-wrap:pretty} |
public/no-orphans.js added
| 1 | + /* No orphans: never leave one word alone on the last line of a paragraph, card or heading. | |
| 2 | + Joins the last two words of each block of text with a non-breaking space, on load and for text added later. | |
| 3 | + Pairs with no-orphans.css (text-wrap: pretty / balance). Public domain (CC0). */ | |
| 4 | + (function () { | |
| 5 | + if (window.__noOrphans) return; | |
| 6 | + window.__noOrphans = 1; | |
| 7 | + var SKIP = /^(SCRIPT|STYLE|PRE|CODE|TEXTAREA|INPUT|SELECT|OPTION|SVG|MATH|KBD|SAMP|NOSCRIPT|TEMPLATE|IFRAME|CANVAS|TITLE)$/; | |
| 8 | + var NB = ' '; | |
| 9 | + var WS = /[ \t\n\r]/; | |
| 10 | + | |
| 11 | + function skipped(el) { | |
| 12 | + for (var n = el; n && n.nodeType === 1; n = n.parentNode) { | |
| 13 | + if (SKIP.test(n.nodeName.toUpperCase()) || n.isContentEditable || n.hasAttribute('data-orphans-ok')) return true; | |
| 14 | + } | |
| 15 | + return false; | |
| 16 | + } | |
| 17 | + | |
| 18 | + // The box a run of text wraps inside: the nearest ancestor that is not an inline element. | |
| 19 | + function blockOf(node, cache) { | |
| 20 | + for (var el = node.parentNode; el && el.nodeType === 1; el = el.parentNode) { | |
| 21 | + var d = cache.get(el); | |
| 22 | + if (d === undefined) { d = getComputedStyle(el).display; cache.set(el, d); } | |
| 23 | + if (d !== 'inline' && d !== 'contents') return el; | |
| 24 | + } | |
| 25 | + return null; | |
| 26 | + } | |
| 27 | + | |
| 28 | + function fix(block, nodes) { | |
| 29 | + var text = ''; | |
| 30 | + for (var i = 0; i < nodes.length; i++) text += nodes[i].nodeValue; | |
| 31 | + var words = text.trim().split(/\s+/); | |
| 32 | + if (words.length < 3) return; | |
| 33 | + var last = words[words.length - 1], prev = words[words.length - 2]; | |
| 34 | + if (last.indexOf(NB) >= 0 || last.length + prev.length > 30) return; | |
| 35 | + var seenWord = false; | |
| 36 | + for (i = nodes.length - 1; i >= 0; i--) { | |
| 37 | + var s = nodes[i].nodeValue; | |
| 38 | + for (var j = s.length - 1; j >= 0; j--) { | |
| 39 | + var c = s.charAt(j); | |
| 40 | + if (c === NB) { if (seenWord) return; continue; } | |
| 41 | + if (WS.test(c)) { | |
| 42 | + if (!seenWord) continue; | |
| 43 | + var k = j; | |
| 44 | + while (k > 0 && WS.test(s.charAt(k - 1))) k--; | |
| 45 | + var node = nodes[i], before = s; | |
| 46 | + node.nodeValue = s.slice(0, k) + NB + s.slice(j + 1); | |
| 47 | + // A long pair could push past a narrow box; put the space back if it does. | |
| 48 | + if (last.length + prev.length > 14) { | |
| 49 | + var de = document.documentElement; | |
| 50 | + if (block.scrollWidth > block.clientWidth + 1 || de.scrollWidth > de.clientWidth + 1) node.nodeValue = before; | |
| 51 | + } | |
| 52 | + return; | |
| 53 | + } | |
| 54 | + seenWord = true; | |
| 55 | + } | |
| 56 | + } | |
| 57 | + } | |
| 58 | + | |
| 59 | + function run(root) { | |
| 60 | + if (!root || root.nodeType !== 1 || skipped(root)) return; | |
| 61 | + var cache = new Map(), blocks = [], groups = new Map(); | |
| 62 | + var w = document.createTreeWalker(root, NodeFilter.SHOW_TEXT, { | |
| 63 | + acceptNode: function (t) { return t.nodeValue.trim() && !skipped(t.parentNode) ? 1 : 3; } | |
| 64 | + }); | |
| 65 | + for (var t = w.nextNode(); t; t = w.nextNode()) { | |
| 66 | + var b = blockOf(t, cache); | |
| 67 | + if (!b) continue; | |
| 68 | + var g = groups.get(b); | |
| 69 | + if (!g) { g = []; groups.set(b, g); blocks.push(b); } | |
| 70 | + g.push(t); | |
| 71 | + } | |
| 72 | + for (var i = 0; i < blocks.length; i++) { | |
| 73 | + var blk = blocks[i]; | |
| 74 | + // When only part of a block was handed in, read the whole block. | |
| 75 | + if (!root.contains(blk) || blk === root.parentNode) continue; | |
| 76 | + fix(blk, groups.get(blk)); | |
| 77 | + } | |
| 78 | + } | |
| 79 | + | |
| 80 | + var queued = [], timer = 0; | |
| 81 | + function flush() { | |
| 82 | + timer = 0; | |
| 83 | + var q = queued; queued = []; | |
| 84 | + var cache = new Map(), seen = new Set(); | |
| 85 | + for (var i = 0; i < q.length; i++) { | |
| 86 | + var n = q[i]; | |
| 87 | + if (!n || !n.isConnected) continue; | |
| 88 | + // Re-run from the text's own block so a new word at the end of a paragraph is handled. | |
| 89 | + var b = n.nodeType === 3 ? blockOf(n, cache) : (n.nodeType === 1 ? (getComputedStyle(n).display === 'inline' ? blockOf(n, cache) : n) : null); | |
| 90 | + if (b && !seen.has(b)) { seen.add(b); run(b); } | |
| 91 | + } | |
| 92 | + } | |
| 93 | + function start() { | |
| 94 | + run(document.body); | |
| 95 | + if (!window.MutationObserver) return; | |
| 96 | + new MutationObserver(function (muts) { | |
| 97 | + for (var i = 0; i < muts.length; i++) { | |
| 98 | + var m = muts[i]; | |
| 99 | + if (m.type === 'characterData') queued.push(m.target); | |
| 100 | + for (var j = 0; j < m.addedNodes.length; j++) queued.push(m.addedNodes[j]); | |
| 101 | + } | |
| 102 | + if (queued.length && !timer) timer = setTimeout(flush, 60); | |
| 103 | + }).observe(document.body, { childList: true, subtree: true, characterData: true }); | |
| 104 | + } | |
| 105 | + // Wait for the page (and any app framework) to finish its first render. | |
| 106 | + if (document.readyState === 'complete') setTimeout(start, 0); | |
| 107 | + else window.addEventListener('load', function () { setTimeout(start, 0); }); | |
| 108 | + })(); |
public/og/inkspring-monochrome.png added
Not a text file.
public/og/inkspring-terracotta.png added
Not a text file.
public/og/inkspring.png added
Not a text file.
public/robots.txt added
| 1 | + # Inkspring welcomes search engines and AI assistants. | |
| 2 | + # A plain-text summary for language models: https://inkspring.ai/llms.txt | |
| 3 | + | |
| 4 | + User-agent: * | |
| 5 | + Allow: / | |
| 6 | + | |
| 7 | + # AI search, assistant and training crawlers, allowed by name. | |
| 8 | + User-agent: OAI-SearchBot | |
| 9 | + User-agent: ChatGPT-User | |
| 10 | + User-agent: GPTBot | |
| 11 | + User-agent: ClaudeBot | |
| 12 | + User-agent: Claude-SearchBot | |
| 13 | + User-agent: Claude-User | |
| 14 | + User-agent: PerplexityBot | |
| 15 | + User-agent: Perplexity-User | |
| 16 | + User-agent: Google-Extended | |
| 17 | + User-agent: GoogleOther | |
| 18 | + User-agent: Applebot | |
| 19 | + User-agent: Applebot-Extended | |
| 20 | + User-agent: bingbot | |
| 21 | + User-agent: Amazonbot | |
| 22 | + User-agent: meta-externalagent | |
| 23 | + User-agent: meta-externalfetcher | |
| 24 | + User-agent: DuckAssistBot | |
| 25 | + User-agent: MistralAI-User | |
| 26 | + User-agent: CCBot | |
| 27 | + User-agent: cohere-ai | |
| 28 | + User-agent: YouBot | |
| 29 | + Allow: / | |
| 30 | + | |
| 31 | + Sitemap: https://inkspring.ai/sitemap.xml |
public/share.js added
| 1 | + /* Share (2026-11-21) | |
| 2 | + One small script shared by every one of our sites. | |
| 3 | + Any element with [data-pm-share] becomes a Share button: | |
| 4 | + - phones and tablets (touch) open the native share sheet (Web Share API) | |
| 5 | + - desktops get a small menu: Copy link, X, LinkedIn, Facebook, Email | |
| 6 | + (plus "More options" when the browser has its own share sheet) | |
| 7 | + Optional attributes: data-share-url, data-share-title, data-share-text. | |
| 8 | + A child with [data-pm-share-label] shows "Link copied" after a copy. */ | |
| 9 | + (function () { | |
| 10 | + if (typeof window === 'undefined' || window.__pmShareReady) return; | |
| 11 | + window.__pmShareReady = true; | |
| 12 | + | |
| 13 | + var CSS = [ | |
| 14 | + '.pm-share-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;padding:0 18px 0 15px;border-radius:999px;border:1px solid var(--pm-share-line,rgba(245,128,37,.6));background:var(--pm-share-bg,transparent);color:var(--pm-share-ink,inherit);font:inherit;font-size:15px;font-weight:600;line-height:1;cursor:pointer;white-space:nowrap;text-decoration:none;box-shadow:0 0 18px var(--pm-share-glow,rgba(245,128,37,.22));transition:border-color .2s,box-shadow .2s,transform .2s,background .2s}', | |
| 15 | + '.pm-share-btn:hover{border-color:var(--pm-share-accent,#f58025);box-shadow:0 0 26px var(--pm-share-glow-hover,rgba(245,128,37,.42))}', | |
| 16 | + '.pm-share-btn:active{transform:translateY(1px)}', | |
| 17 | + '.pm-share-btn:focus-visible{outline:2px solid var(--pm-share-accent,#f58025);outline-offset:3px}', | |
| 18 | + '.pm-share-btn svg{width:17px;height:17px;flex:none;color:var(--pm-share-accent,#f58025)}', | |
| 19 | + '.pm-share-btn.is-small{height:36px;padding:0 14px 0 12px;font-size:13.5px;gap:7px}', | |
| 20 | + '.pm-share-btn.is-small svg{width:15px;height:15px}', | |
| 21 | + '.pm-share-pop{position:fixed;z-index:2147483000;min-width:228px;padding:8px;border-radius:18px;background:rgba(16,18,24,.97);color:#f4f4f6;border:1px solid rgba(255,255,255,.12);box-shadow:0 24px 60px -18px rgba(0,0,0,.6),0 0 0 1px rgba(0,0,0,.25);font:500 14.5px/1.2 -apple-system,BlinkMacSystemFont,"Inter","Segoe UI",Roboto,sans-serif;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);opacity:0;transform:translateY(-4px) scale(.98);transform-origin:top center;transition:opacity .14s,transform .14s}', | |
| 22 | + '.pm-share-pop.is-open{opacity:1;transform:none}', | |
| 23 | + '.pm-share-pop .pm-share-head{padding:8px 12px 8px;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:rgba(244,244,246,.6)}', | |
| 24 | + '.pm-share-pop a,.pm-share-pop button{display:flex;align-items:center;gap:12px;width:100%;padding:10px 12px;border:0;border-radius:999px;background:transparent;color:inherit;font:inherit;text-align:left;text-decoration:none;cursor:pointer}', | |
| 25 | + '.pm-share-pop a:hover,.pm-share-pop button:hover,.pm-share-pop a:focus-visible,.pm-share-pop button:focus-visible{background:rgba(255,255,255,.09);outline:none}', | |
| 26 | + '.pm-share-pop svg{width:18px;height:18px;flex:none;color:var(--pm-pop-accent,#f58025)}', | |
| 27 | + '.pm-share-pop svg[fill=currentColor],.pm-share-pop svg[fill=currentColor] *{fill:currentColor!important;stroke:none!important}', | |
| 28 | + '.pm-share-pop svg[fill=none],.pm-share-pop svg[fill=none] *,.pm-share-btn svg[fill=none],.pm-share-btn svg[fill=none] *{fill:none!important;stroke:currentColor!important}', | |
| 29 | + '.pm-share-pop .pm-share-sep{height:1px;margin:6px 10px;background:rgba(255,255,255,.1)}', | |
| 30 | + '.pm-share-toast{position:fixed;left:50%;bottom:28px;z-index:2147483001;transform:translate(-50%,12px);padding:12px 20px;border-radius:999px;background:rgba(16,18,24,.96);color:#fff;font:600 14px/1 -apple-system,BlinkMacSystemFont,"Inter","Segoe UI",Roboto,sans-serif;border:1px solid rgba(245,128,37,.55);box-shadow:0 0 22px rgba(245,128,37,.3);opacity:0;transition:opacity .2s,transform .2s;pointer-events:none}', | |
| 31 | + '.pm-share-toast.is-on{opacity:1;transform:translate(-50%,0)}' | |
| 32 | + ].join('\n'); | |
| 33 | + | |
| 34 | + var ICON = { | |
| 35 | + link: '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 13a5 5 0 0 0 7.07 0l3-3a5 5 0 0 0-7.07-7.07l-1.5 1.5"/><path d="M14 11a5 5 0 0 0-7.07 0l-3 3a5 5 0 0 0 7.07 7.07l1.5-1.5"/></svg>', | |
| 36 | + check: '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M20 6 9 17l-5-5"/></svg>', | |
| 37 | + x: '<svg viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M18.24 2.25h3.31l-7.23 8.26 8.5 11.24h-6.66l-5.21-6.82-5.97 6.82H1.67l7.73-8.84L1.25 2.25h6.83l4.71 6.23 5.45-6.23Zm-1.16 17.52h1.83L7.08 4.13H5.12l11.96 15.64Z"/></svg>', | |
| 38 | + linkedin: '<svg viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M20.45 20.45h-3.56v-5.57c0-1.33-.02-3.04-1.85-3.04-1.85 0-2.14 1.45-2.14 2.94v5.67H9.35V9h3.41v1.56h.05c.48-.9 1.64-1.85 3.37-1.85 3.6 0 4.27 2.37 4.27 5.46v6.28ZM5.34 7.43a2.06 2.06 0 1 1 0-4.13 2.06 2.06 0 0 1 0 4.13ZM7.12 20.45H3.56V9h3.56v11.45ZM22.22 0H1.77C.79 0 0 .77 0 1.73v20.54C0 23.23.79 24 1.77 24h20.45c.98 0 1.78-.77 1.78-1.73V1.73C24 .77 23.2 0 22.22 0Z"/></svg>', | |
| 39 | + facebook: '<svg viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M24 12.07C24 5.41 18.63 0 12 0S0 5.41 0 12.07C0 18.1 4.39 23.1 10.13 24v-8.44H7.08v-3.49h3.05V9.41c0-3.02 1.79-4.69 4.53-4.69 1.31 0 2.68.24 2.68.24v2.97h-1.51c-1.49 0-1.96.93-1.96 1.89v2.25h3.33l-.53 3.49h-2.8V24C19.61 23.1 24 18.1 24 12.07Z"/></svg>', | |
| 40 | + mail: '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="2.5" y="4.5" width="19" height="15" rx="3"/><path d="m3.5 6.5 8.5 6 8.5-6"/></svg>', | |
| 41 | + more: '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 3v12"/><path d="m7.5 7.5 4.5-4.5 4.5 4.5"/><path d="M5 12v6.5A2.5 2.5 0 0 0 7.5 21h9a2.5 2.5 0 0 0 2.5-2.5V12"/></svg>' | |
| 42 | + }; | |
| 43 | + | |
| 44 | + function injectCss() { | |
| 45 | + if (document.getElementById('pm-share-css')) return; | |
| 46 | + var s = document.createElement('style'); | |
| 47 | + s.id = 'pm-share-css'; | |
| 48 | + s.textContent = CSS; | |
| 49 | + // in <body>, not <head>: some frameworks (Next.js) rebuild <head> after load | |
| 50 | + (document.body || document.documentElement).insertBefore(s, (document.body || document.documentElement).firstChild); | |
| 51 | + } | |
| 52 | + | |
| 53 | + function dataFor(btn) { | |
| 54 | + var d = btn.dataset || {}; | |
| 55 | + var canon = document.querySelector('link[rel="canonical"]'); | |
| 56 | + var url = d.shareUrl || (canon && canon.href) || location.href; | |
| 57 | + var title = d.shareTitle || document.title || ''; | |
| 58 | + var text = d.shareText || ''; | |
| 59 | + return { url: url, title: title, text: text }; | |
| 60 | + } | |
| 61 | + | |
| 62 | + function isTouch() { | |
| 63 | + try { | |
| 64 | + return window.matchMedia('(pointer: coarse)').matches || /Android|iPhone|iPad|iPod|Mobile/i.test(navigator.userAgent); | |
| 65 | + } catch (e) { return false; } | |
| 66 | + } | |
| 67 | + | |
| 68 | + var toastTimer; | |
| 69 | + function toast(msg) { | |
| 70 | + var t = document.querySelector('.pm-share-toast'); | |
| 71 | + if (!t) { | |
| 72 | + t = document.createElement('div'); | |
| 73 | + t.className = 'pm-share-toast'; | |
| 74 | + t.setAttribute('role', 'status'); | |
| 75 | + t.setAttribute('aria-live', 'polite'); | |
| 76 | + document.body.appendChild(t); | |
| 77 | + } | |
| 78 | + t.textContent = msg; | |
| 79 | + requestAnimationFrame(function () { t.classList.add('is-on'); }); | |
| 80 | + clearTimeout(toastTimer); | |
| 81 | + toastTimer = setTimeout(function () { t.classList.remove('is-on'); }, 2200); | |
| 82 | + } | |
| 83 | + | |
| 84 | + function flashLabel(btn) { | |
| 85 | + var label = btn && btn.querySelector('[data-pm-share-label]'); | |
| 86 | + if (!label) return; | |
| 87 | + if (!label.dataset.pmOrig) label.dataset.pmOrig = label.textContent; | |
| 88 | + label.textContent = 'Link copied'; | |
| 89 | + clearTimeout(label.__pmT); | |
| 90 | + label.__pmT = setTimeout(function () { label.textContent = label.dataset.pmOrig; }, 2200); | |
| 91 | + } | |
| 92 | + | |
| 93 | + function copy(text) { | |
| 94 | + if (navigator.clipboard && window.isSecureContext) { | |
| 95 | + return navigator.clipboard.writeText(text); | |
| 96 | + } | |
| 97 | + return new Promise(function (resolve, reject) { | |
| 98 | + var ta = document.createElement('textarea'); | |
| 99 | + ta.value = text; | |
| 100 | + ta.setAttribute('readonly', ''); | |
| 101 | + ta.style.position = 'fixed'; | |
| 102 | + ta.style.opacity = '0'; | |
| 103 | + document.body.appendChild(ta); | |
| 104 | + ta.select(); | |
| 105 | + try { document.execCommand('copy') ? resolve() : reject(); } catch (e) { reject(e); } | |
| 106 | + document.body.removeChild(ta); | |
| 107 | + }); | |
| 108 | + } | |
| 109 | + | |
| 110 | + function doCopy(btn, data) { | |
| 111 | + copy(data.url).then(function () { | |
| 112 | + flashLabel(btn); | |
| 113 | + toast('Link copied'); | |
| 114 | + }, function () { | |
| 115 | + window.prompt('Copy this link:', data.url); | |
| 116 | + }); | |
| 117 | + } | |
| 118 | + | |
| 119 | + var pop = null, popBtn = null; | |
| 120 | + function closePop() { | |
| 121 | + if (!pop) return; | |
| 122 | + var p = pop; | |
| 123 | + pop = null; | |
| 124 | + if (popBtn) popBtn.setAttribute('aria-expanded', 'false'); | |
| 125 | + popBtn = null; | |
| 126 | + p.classList.remove('is-open'); | |
| 127 | + setTimeout(function () { if (p.parentNode) p.parentNode.removeChild(p); }, 160); | |
| 128 | + } | |
| 129 | + | |
| 130 | + function place(p, btn) { | |
| 131 | + var r = btn.getBoundingClientRect(); | |
| 132 | + var w = p.offsetWidth, h = p.offsetHeight; | |
| 133 | + var vw = document.documentElement.clientWidth, vh = window.innerHeight; | |
| 134 | + var left = Math.min(Math.max(12, r.left + r.width / 2 - w / 2), vw - w - 12); | |
| 135 | + var top = r.bottom + 10; | |
| 136 | + if (top + h > vh - 12 && r.top - h - 10 > 12) top = r.top - h - 10; | |
| 137 | + p.style.left = left + 'px'; | |
| 138 | + p.style.top = Math.max(12, top) + 'px'; | |
| 139 | + } | |
| 140 | + | |
| 141 | + function openPop(btn, data) { | |
| 142 | + closePop(); | |
| 143 | + var enc = encodeURIComponent; | |
| 144 | + var line = data.text ? data.title + ' - ' + data.text : data.title; | |
| 145 | + var items = [ | |
| 146 | + { k: 'copy', icon: ICON.link, label: 'Copy link' }, | |
| 147 | + { k: 'x', icon: ICON.x, label: 'Post on X', href: 'https://x.com/intent/post?text=' + enc(line) + '&url=' + enc(data.url) }, | |
| 148 | + { k: 'linkedin', icon: ICON.linkedin, label: 'Share on LinkedIn', href: 'https://www.linkedin.com/sharing/share-offsite/?url=' + enc(data.url) }, | |
| 149 | + { k: 'facebook', icon: ICON.facebook, label: 'Share on Facebook', href: 'https://www.facebook.com/sharer/sharer.php?u=' + enc(data.url) }, | |
| 150 | + { k: 'email', icon: ICON.mail, label: 'Email', href: 'mailto:?subject=' + enc(data.title) + '&body=' + enc((data.text ? data.text + '\n\n' : '') + data.url) } | |
| 151 | + ]; | |
| 152 | + if (navigator.share) items.push({ k: 'more', icon: ICON.more, label: 'More options', sep: true }); | |
| 153 | + | |
| 154 | + var p = document.createElement('div'); | |
| 155 | + p.className = 'pm-share-pop'; | |
| 156 | + p.setAttribute('role', 'menu'); | |
| 157 | + p.setAttribute('aria-label', 'Share'); | |
| 158 | + var html = '<div class="pm-share-head">Share</div>'; | |
| 159 | + items.forEach(function (it) { | |
| 160 | + if (it.sep) html += '<div class="pm-share-sep"></div>'; | |
| 161 | + if (it.href) { | |
| 162 | + var ext = it.k !== 'email'; | |
| 163 | + html += '<a role="menuitem" data-k="' + it.k + '" href="' + it.href.replace(/"/g, '"') + '"' + (ext ? ' target="_blank" rel="noopener noreferrer"' : '') + '>' + it.icon + '<span>' + it.label + '</span></a>'; | |
| 164 | + } else { | |
| 165 | + html += '<button type="button" role="menuitem" data-k="' + it.k + '">' + it.icon + '<span>' + it.label + '</span></button>'; | |
| 166 | + } | |
| 167 | + }); | |
| 168 | + p.innerHTML = html; | |
| 169 | + try { | |
| 170 | + var acc = getComputedStyle(btn).getPropertyValue('--pm-share-accent').trim(); | |
| 171 | + if (acc) p.style.setProperty('--pm-pop-accent', acc); | |
| 172 | + } catch (e) {} | |
| 173 | + document.body.appendChild(p); | |
| 174 | + place(p, btn); | |
| 175 | + pop = p; | |
| 176 | + popBtn = btn; | |
| 177 | + btn.setAttribute('aria-expanded', 'true'); | |
| 178 | + requestAnimationFrame(function () { p.classList.add('is-open'); }); | |
| 179 | + var first = p.querySelector('[role="menuitem"]'); | |
| 180 | + if (first) first.focus({ preventScroll: true }); | |
| 181 | + | |
| 182 | + p.addEventListener('click', function (e) { | |
| 183 | + var el = e.target.closest('[data-k]'); | |
| 184 | + if (!el) return; | |
| 185 | + var k = el.getAttribute('data-k'); | |
| 186 | + if (k === 'copy') { | |
| 187 | + e.preventDefault(); | |
| 188 | + doCopy(btn, data); | |
| 189 | + el.innerHTML = ICON.check + '<span>Copied</span>'; | |
| 190 | + setTimeout(closePop, 650); | |
| 191 | + } else if (k === 'more') { | |
| 192 | + e.preventDefault(); | |
| 193 | + closePop(); | |
| 194 | + navigator.share(data).catch(function () {}); | |
| 195 | + } else if (k === 'x' || k === 'linkedin' || k === 'facebook') { | |
| 196 | + e.preventDefault(); | |
| 197 | + window.open(el.href, 'pm-share', 'noopener,noreferrer,width=640,height=640'); | |
| 198 | + closePop(); | |
| 199 | + } else { | |
| 200 | + setTimeout(closePop, 50); | |
| 201 | + } | |
| 202 | + }); | |
| 203 | + } | |
| 204 | + | |
| 205 | + function onClick(e) { | |
| 206 | + var btn = e.target.closest && e.target.closest('[data-pm-share]'); | |
| 207 | + if (!btn) { | |
| 208 | + if (pop && !pop.contains(e.target)) closePop(); | |
| 209 | + return; | |
| 210 | + } | |
| 211 | + e.preventDefault(); | |
| 212 | + e.stopPropagation(); | |
| 213 | + injectCss(); | |
| 214 | + if (pop && popBtn === btn) { closePop(); return; } | |
| 215 | + var data = dataFor(btn); | |
| 216 | + if (navigator.share && isTouch()) { | |
| 217 | + navigator.share(data).catch(function (err) { | |
| 218 | + if (err && err.name === 'AbortError') return; | |
| 219 | + doCopy(btn, data); | |
| 220 | + }); | |
| 221 | + return; | |
| 222 | + } | |
| 223 | + openPop(btn, data); | |
| 224 | + } | |
| 225 | + | |
| 226 | + function init() { | |
| 227 | + injectCss(); | |
| 228 | + // re-add the styles if a framework swaps the page out after load | |
| 229 | + setTimeout(injectCss, 1500); | |
| 230 | + setTimeout(injectCss, 4000); | |
| 231 | + document.addEventListener('click', onClick, true); | |
| 232 | + document.addEventListener('keydown', function (e) { if (e.key === 'Escape' && pop) { var b = popBtn; closePop(); if (b) b.focus(); } }); | |
| 233 | + window.addEventListener('resize', closePop); | |
| 234 | + window.addEventListener('scroll', function () { if (pop && popBtn) place(pop, popBtn); }, { passive: true }); | |
| 235 | + } | |
| 236 | + | |
| 237 | + if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', init); | |
| 238 | + else init(); | |
| 239 | + })(); |
public/sitemap.xml added
| 1 | + <?xml version="1.0" encoding="UTF-8"?> | |
| 2 | + <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><url><loc>https://inkspring.ai/</loc></url><url><loc>https://inkspring.ai/download</loc></url><url><loc>https://inkspring.ai/privacy</loc></url><url><loc>https://inkspring.ai/app-notices</loc></url><url><loc>https://inkspring.ai/help</loc></url><url><loc>https://inkspring.ai/compare</loc></url> <url><loc>https://inkspring.ai/research</loc></url> | |
| 3 | + </urlset> |
public/social-card.png added
Not a text file.
107 more files changed.