Files
rose-ash/shared/static/wasm/sx/boot-helpers.sxbc
giles 59ac51a8ba
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 46s
kernel+bundle: fix nil-bytecode .sxbc (compile-blob serializer dropped Integer)
Every .sxbc shipped with `:bytecode (nil nil ...)` and `:arity nil`, so the WASM
kernel's vm.sx hit "VM: unknown opcode 0" on every module and fell back to .sx
source (slower, noisy console). Root cause: `raw_serialize` in the `compile-blob`
command (sx_server.ml) handles `Number` but not `Integer`, and bytecode opcodes +
arity/upvalue-count are `Integer`s — so they fell through to the `_ -> "nil"`
catch-all and serialized as nil. Same class of bug as the value_to_js Integer gap
(689dae7d). It went unnoticed because source-fallback masks it. Add the Integer
case and regenerate: the web stack now loads entirely from bytecode (0 unknown-
opcode warnings, 0 source fallbacks), boost + SPA unchanged. compiler.sx in the
bundle was also stale — re-synced to the canonical lib/compiler.sx.

Verified: native host conformance 271/271; chromium boots with 0 unknown-opcode
warnings + 0 source-fallback loads; spa-check still passes (boost 6/6, fragment
swap). Prereq for content-addressing the assets (caching real bytecode, not nil).
2026-06-29 13:17:20 +00:00

4 lines
23 KiB
Plaintext

(sxbc 1 "5928b113ea488a86"
(code
:constants ("_sx-bound-prefix" "_sxBound" "mark-processed!" {:upvalue-count 0 :arity 2 :constants ("_sx-bound-prefix" "str" "host-set!") :bytecode (16 0 20 0 0 16 1 52 1 0 2 3 52 2 0 3 50)} "is-processed?" {:upvalue-count 0 :arity 2 :constants ("_sx-bound-prefix" "str" "host-get") :bytecode (16 0 20 0 0 16 1 52 1 0 2 52 2 0 2 17 2 16 2 33 4 0 3 32 1 0 4 50)} "clear-processed!" {:upvalue-count 0 :arity 2 :constants ("_sx-bound-prefix" "str" "host-set!") :bytecode (16 0 20 0 0 16 1 52 1 0 2 2 52 2 0 3 50)} "callable?" {:upvalue-count 0 :arity 1 :constants ("type-of" "lambda" "function" "continuation") :bytecode (16 0 52 0 0 1 17 1 16 1 1 1 0 164 6 34 18 0 5 16 1 1 2 0 164 6 34 7 0 5 16 1 1 3 0 164 50)} "to-kebab" {:upvalue-count 0 :arity 1 :constants ("Convert camelCase to kebab-case." "list" 0 {:upvalue-count 3 :arity 1 :constants ("nth" "A" ">=" "Z" "<=" 0 "-" "append!" "lower" 1) :bytecode (16 0 18 0 168 165 33 96 0 18 0 16 0 52 0 0 2 17 1 16 1 1 1 0 52 2 0 2 6 33 10 0 5 16 1 1 3 0 52 4 0 2 33 38 0 16 0 1 5 0 166 33 12 0 18 1 1 6 0 52 7 0 2 32 1 0 2 5 18 1 16 1 52 8 0 1 52 7 0 2 32 8 0 18 1 16 1 52 7 0 2 5 18 2 16 0 1 9 0 160 49 1 32 1 0 2 50)} "" "join") :bytecode (1 0 0 5 52 1 0 0 17 1 1 2 0 17 2 2 17 3 51 3 0 1 0 1 1 1 3 17 3 16 3 1 2 0 48 1 5 1 4 0 16 1 52 5 0 2 50)} "sx-load-components" {:upvalue-count 0 :arity 1 :constants ("Parse and evaluate component definitions from text." 0 "sx-parse" {:upvalue-count 0 :arity 1 :constants ("cek-eval") :bytecode (20 0 0 16 0 49 1 50)} "for-each") :bytecode (1 0 0 5 16 0 6 33 8 0 5 16 0 168 1 1 0 166 33 21 0 20 2 0 16 0 48 1 17 1 51 3 0 16 1 52 4 0 2 32 1 0 2 50)} "call-expr" {:upvalue-count 0 :arity 2 :constants ("Parse and evaluate an SX expression string." "sx-parse" "empty?" "cek-eval") :bytecode (1 0 0 5 20 1 0 16 0 48 1 17 2 16 2 52 2 0 1 167 33 11 0 20 3 0 16 2 169 49 1 32 1 0 2 50)} "base-env" {:upvalue-count 0 :arity 0 :constants ("Return the current global environment." "global-env") :bytecode (1 0 0 5 20 1 0 49 0 50)} "get-render-env" {:upvalue-count 0 :arity 1 :constants ("Get the rendering environment (global env, optionally merged with extra)." "base-env" "nil?" "env-merge") :bytecode (1 0 0 5 20 1 0 48 0 17 1 16 0 6 33 8 0 5 16 0 52 2 0 1 167 33 11 0 16 1 16 0 52 3 0 2 32 2 0 16 1 50)} "merge-envs" {:upvalue-count 0 :arity 2 :constants ("Merge two environments." "env-merge" "global-env") :bytecode (1 0 0 5 16 0 6 33 3 0 5 16 1 33 11 0 16 0 16 1 52 1 0 2 32 19 0 16 0 6 34 13 0 5 16 1 6 34 6 0 5 20 2 0 49 0 50)} "sx-render-with-env" {:upvalue-count 0 :arity 2 :constants ("Parse SX source and render to DOM fragment." "document" "host-global" "createDocumentFragment" "host-call" "sx-parse" {:upvalue-count 2 :arity 1 :constants ("render-to-html" 0 "createElement" "template" "host-call" "innerHTML" "host-set!" "appendChild" "content" "host-get") :bytecode (20 0 0 16 0 48 1 17 1 16 1 6 33 8 0 5 16 1 168 1 1 0 166 33 47 0 18 0 1 2 0 1 3 0 52 4 0 3 17 2 16 2 1 5 0 16 1 52 6 0 3 5 18 1 1 7 0 16 2 1 8 0 52 9 0 2 52 4 0 3 32 1 0 2 50)} "for-each") :bytecode (1 0 0 5 1 1 0 52 2 0 1 17 2 16 2 1 3 0 52 4 0 2 17 3 20 5 0 16 0 48 1 17 4 51 6 0 1 2 1 3 16 4 52 7 0 2 5 16 3 50)} "parse-env-attr" {:upvalue-count 0 :arity 1 :constants ("Parse data-sx-env attribute (JSON key-value pairs).") :bytecode (1 0 0 5 2 50)} "store-env-attr" {:upvalue-count 0 :arity 3 :constants () :bytecode (2 50)} "resolve-mount-target" {:upvalue-count 0 :arity 1 :constants ("Resolve a CSS selector string to a DOM element." "string?" "dom-query") :bytecode (1 0 0 5 16 0 52 1 0 1 33 10 0 20 2 0 16 0 49 1 32 2 0 16 0 50)} "remove-head-element" {:upvalue-count 0 :arity 1 :constants ("Remove a <head> element matching selector." "dom-query" "dom-remove") :bytecode (1 0 0 5 20 1 0 16 0 48 1 17 1 16 1 33 10 0 20 2 0 16 1 49 1 32 1 0 2 50)} "set-sx-comp-cookie" {:upvalue-count 0 :arity 1 :constants ("sx-components" "set-cookie") :bytecode (1 0 0 16 0 52 1 0 2 50)} "clear-sx-comp-cookie" {:upvalue-count 0 :arity 0 :constants ("sx-components" "" "set-cookie") :bytecode (1 0 0 1 1 0 52 2 0 2 50)} "log-parse-error" {:upvalue-count 0 :arity 3 :constants ("log-error" "Parse error in " ": " "str") :bytecode (20 0 0 1 1 0 16 0 1 2 0 16 2 52 3 0 4 49 1 50)} "loaded-component-names" {:upvalue-count 0 :arity 0 :constants ("dom-query-all" "dom-body" "script[data-components]" "list" {:upvalue-count 1 :arity 1 :constants ("dom-get-attr" "data-components" "" 0 {:upvalue-count 1 :arity 1 :constants ("trim" 0 "append!") :bytecode (16 0 52 0 0 1 168 1 1 0 166 33 15 0 18 0 16 0 52 0 0 1 52 2 0 2 32 1 0 2 50)} "," "split" "for-each") :bytecode (20 0 0 16 0 1 1 0 48 2 6 34 4 0 5 1 2 0 17 1 16 1 168 1 3 0 166 33 21 0 51 4 0 0 0 16 1 1 5 0 52 6 0 2 52 7 0 2 32 1 0 2 50)} "for-each") :bytecode (20 0 0 20 1 0 48 0 1 2 0 48 2 17 0 52 3 0 0 17 1 51 4 0 1 1 16 0 52 5 0 2 5 16 1 50)} "csrf-token" {:upvalue-count 0 :arity 0 :constants ("dom-query" "meta[name=\"csrf-token\"]" "dom-get-attr" "content") :bytecode (20 0 0 1 1 0 48 1 17 0 16 0 33 13 0 20 2 0 16 0 1 3 0 49 2 32 1 0 2 50)} "validate-for-request" {:upvalue-count 0 :arity 1 :constants () :bytecode (3 50)} "build-request-body" {:upvalue-count 0 :arity 3 :constants ("upper" "GET" "HEAD" "dom-tag-name" "" "FORM" "FormData" "host-new" "URLSearchParams" "toString" "host-call" "url" 0 "?" "contains?" "&" "str" "body" "content-type" "dict" "dom-get-attr" "enctype" "application/x-www-form-urlencoded" "multipart/form-data") :bytecode (16 1 52 0 0 1 17 3 16 3 1 1 0 164 6 34 7 0 5 16 3 1 2 0 164 33 155 0 16 0 6 33 24 0 5 20 3 0 16 0 48 1 6 34 4 0 5 1 4 0 52 0 0 1 1 5 0 164 33 102 0 1 6 0 16 0 52 7 0 2 17 4 1 8 0 16 4 52 7 0 2 17 5 16 5 1 9 0 52 10 0 2 17 6 1 11 0 16 6 6 33 8 0 5 16 6 168 1 12 0 166 33 32 0 16 2 16 2 1 13 0 52 14 0 2 33 6 0 1 15 0 32 3 0 1 13 0 16 6 52 16 0 3 32 2 0 16 2 1 17 0 2 1 18 0 2 52 19 0 6 32 17 0 1 11 0 16 2 1 17 0 2 1 18 0 2 52 19 0 6 32 163 0 16 0 6 33 24 0 5 20 3 0 16 0 48 1 6 34 4 0 5 1 4 0 52 0 0 1 1 5 0 164 33 113 0 20 20 0 16 0 1 21 0 48 2 6 34 4 0 5 1 22 0 17 4 16 4 1 23 0 164 33 32 0 1 6 0 16 0 52 7 0 2 17 5 1 11 0 16 2 1 17 0 16 5 1 18 0 2 52 19 0 6 32 49 0 1 6 0 16 0 52 7 0 2 17 5 1 8 0 16 5 52 7 0 2 17 6 1 11 0 16 2 1 17 0 16 6 1 9 0 52 10 0 2 1 18 0 1 22 0 52 19 0 6 32 17 0 1 11 0 16 2 1 17 0 2 1 18 0 2 52 19 0 6 50)} "abort-previous-target" {:upvalue-count 0 :arity 1 :constants () :bytecode (2 50)} "abort-previous" "track-controller" {:upvalue-count 0 :arity 2 :constants () :bytecode (2 50)} "track-controller-target" "new-abort-controller" {:upvalue-count 0 :arity 0 :constants ("AbortController" "host-new") :bytecode (1 0 0 52 1 0 1 50)} "abort-signal" {:upvalue-count 0 :arity 1 :constants ("signal" "host-get") :bytecode (16 0 1 0 0 52 1 0 2 50)} "apply-optimistic" "revert-optimistic" "dom-has-attr?" {:upvalue-count 0 :arity 2 :constants ("hasAttribute" "host-call") :bytecode (16 0 1 0 0 16 1 52 1 0 3 50)} "show-indicator" {:upvalue-count 0 :arity 1 :constants ("dom-get-attr" "sx-indicator" "dom-query" "dom-remove-class" "hidden" "dom-add-class" "sx-indicator-visible") :bytecode (20 0 0 16 0 1 1 0 48 2 17 1 16 1 33 42 0 20 2 0 16 1 48 1 17 2 16 2 33 24 0 20 3 0 16 2 1 4 0 48 2 5 20 5 0 16 2 1 6 0 48 2 32 1 0 2 32 1 0 2 5 16 1 50)} "disable-elements" {:upvalue-count 0 :arity 1 :constants ("dom-get-attr" "sx-disabled-elt" "dom-query-all" "dom-body" {:upvalue-count 0 :arity 1 :constants ("dom-set-attr" "disabled" "") :bytecode (20 0 0 16 0 1 1 0 1 2 0 49 3 50)} "for-each" "list") :bytecode (20 0 0 16 0 1 1 0 48 2 17 1 16 1 33 29 0 20 2 0 20 3 0 48 0 16 1 48 2 17 2 51 4 0 16 2 52 5 0 2 5 16 2 32 4 0 52 6 0 0 50)} "clear-loading-state" {:upvalue-count 0 :arity 3 :constants ("dom-remove-class" "sx-request" "dom-remove-attr" "aria-busy" "dom-query" "dom-add-class" "hidden" "sx-indicator-visible" {:upvalue-count 0 :arity 1 :constants ("dom-remove-attr" "disabled") :bytecode (20 0 0 16 0 1 1 0 49 2 50)} "for-each") :bytecode (20 0 0 16 0 1 1 0 48 2 5 20 2 0 16 0 1 3 0 48 2 5 16 1 33 42 0 20 4 0 16 1 48 1 17 3 16 3 33 24 0 20 5 0 16 3 1 6 0 48 2 5 20 0 0 16 3 1 7 0 48 2 32 1 0 2 32 1 0 2 5 16 2 33 12 0 51 8 0 16 2 52 9 0 2 32 1 0 2 50)} "abort-error?" {:upvalue-count 0 :arity 1 :constants ("name" "host-get" "AbortError") :bytecode (16 0 1 0 0 52 1 0 2 1 2 0 164 50)} "promise-catch" {:upvalue-count 0 :arity 2 :constants ("host-callback" "catch" "host-call") :bytecode (16 1 52 0 0 1 17 2 16 0 1 1 0 16 2 52 2 0 3 50)} "fetch-request" {:upvalue-count 0 :arity 3 :constants ("url" "get" "method" "GET" "headers" "dict" "body" "signal" "preloaded" 200 {:upvalue-count 0 :arity 1 :constants () :bytecode (2 50)} "Headers" "host-new" "Object" {:upvalue-count 2 :arity 1 :constants ("set" "get" "host-call") :bytecode (18 0 1 0 0 16 0 18 1 16 0 52 1 0 2 52 2 0 4 50)} "keys" "for-each" "host-set!" "promise-then" "dom-window" "fetch" "host-call" {:upvalue-count 2 :arity 1 :constants ("ok" "host-get" "status" {:upvalue-count 1 :arity 1 :constants ("headers" "host-get" "get" "host-call") :bytecode (18 0 1 0 0 52 1 0 2 1 2 0 16 0 52 3 0 3 50)} "promise-then" "text" "host-call" {:upvalue-count 4 :arity 1 :constants () :bytecode (18 0 18 1 18 2 18 3 16 0 49 4 50)}) :bytecode (16 0 1 0 0 52 1 0 2 17 1 16 0 1 2 0 52 1 0 2 17 2 51 3 0 1 0 17 3 20 4 0 16 0 1 5 0 52 6 0 2 51 7 0 0 0 1 1 1 2 1 3 18 1 49 3 50)}) :bytecode (16 0 1 0 0 52 1 0 2 17 3 16 0 1 2 0 52 1 0 2 6 34 4 0 5 1 3 0 17 4 16 0 1 4 0 52 1 0 2 6 34 5 0 5 52 5 0 0 17 5 16 0 1 6 0 52 1 0 2 17 6 16 0 1 7 0 52 1 0 2 17 7 16 0 1 8 0 52 1 0 2 17 8 16 8 33 16 0 16 1 3 1 9 0 51 10 0 16 8 49 4 32 132 0 1 11 0 52 12 0 1 17 9 1 13 0 52 12 0 1 17 10 51 14 0 1 9 1 5 16 5 52 15 0 1 52 16 0 2 5 16 10 1 2 0 16 4 52 17 0 3 5 16 10 1 4 0 16 9 52 17 0 3 5 16 6 33 14 0 16 10 1 6 0 16 6 52 17 0 3 32 1 0 2 5 16 7 33 14 0 16 10 1 7 0 16 7 52 17 0 3 32 1 0 2 5 20 18 0 20 19 0 48 0 1 20 0 16 3 16 10 52 21 0 4 51 22 0 1 1 1 2 16 2 49 3 50)} "fetch-location" {:upvalue-count 0 :arity 1 :constants ("dom-query" "[sx-boost]" "#main-panel" "browser-navigate") :bytecode (20 0 0 1 1 0 48 1 6 34 9 0 5 20 0 0 1 2 0 48 1 17 1 16 1 33 10 0 20 3 0 16 0 49 1 32 1 0 2 50)} "fetch-and-restore" {:upvalue-count 0 :arity 4 :constants ("fetch-request" "url" "method" "GET" "headers" "body" "signal" "dict" {:upvalue-count 2 :arity 4 :constants ("content-type" "" "text/html" "contains?" "DOMParser" "host-new" "parseFromString" "host-call" "querySelector" "#sx-content" "dom-set-inner-html" "innerHTML" "host-get" "dom-create-element" "div" "sx-render" "dom-append" "process-oob-swaps" {:upvalue-count 0 :arity 3 :constants ("dispose-islands-in" "swap-dom-nodes" "innerHTML" "children-to-fragment" "post-swap") :bytecode (20 0 0 16 0 48 1 5 20 1 0 16 0 16 2 1 2 0 164 33 10 0 20 3 0 16 1 48 1 32 2 0 16 1 16 2 48 3 5 20 4 0 16 0 49 1 50)} "select-from-container" "dispose-islands-in" "dom-get-inner-html" "post-swap" "dom-window" "scrollTo" 0) :bytecode (16 0 33 252 0 16 2 1 0 0 48 1 6 34 4 0 5 1 1 0 17 4 16 4 1 2 0 52 3 0 2 33 75 0 1 4 0 52 5 0 1 17 5 16 5 1 6 0 16 3 1 2 0 52 7 0 4 17 6 16 6 1 8 0 1 9 0 52 7 0 3 17 7 16 7 33 19 0 20 10 0 18 0 16 7 1 11 0 52 12 0 2 48 2 32 9 0 20 10 0 18 0 16 3 48 2 32 119 0 20 13 0 1 14 0 48 1 17 5 20 15 0 16 3 48 1 17 6 16 6 33 94 0 20 16 0 16 5 16 6 48 2 5 20 17 0 16 5 51 18 0 48 2 5 20 19 0 16 5 1 9 0 48 2 17 7 16 7 33 31 0 20 20 0 18 0 48 1 5 20 10 0 18 0 1 1 0 48 2 5 20 16 0 18 0 16 7 48 2 32 22 0 20 20 0 18 0 48 1 5 20 10 0 18 0 20 21 0 16 5 48 1 48 2 32 1 0 2 5 20 22 0 18 0 48 1 5 20 23 0 48 0 1 24 0 1 25 0 18 1 52 7 0 4 32 1 0 2 50)} {:upvalue-count 0 :arity 1 :constants ("log-warn" "fetch-and-restore error: " "str") :bytecode (20 0 0 1 1 0 16 0 52 2 0 2 49 1 50)}) :bytecode (20 0 0 1 1 0 16 1 1 2 0 1 3 0 1 4 0 16 2 1 5 0 2 1 6 0 2 52 7 0 10 51 8 0 1 0 1 3 51 9 0 49 3 50)} "fetch-preload" {:upvalue-count 0 :arity 3 :constants ("fetch-request" "url" "method" "GET" "headers" "body" "signal" "dict" {:upvalue-count 2 :arity 4 :constants ("preload-cache-set") :bytecode (16 0 33 14 0 20 0 0 18 0 18 1 16 3 49 3 32 1 0 2 50)} {:upvalue-count 0 :arity 1 :constants () :bytecode (2 50)}) :bytecode (20 0 0 1 1 0 16 0 1 2 0 1 3 0 1 4 0 16 1 1 5 0 2 1 6 0 2 52 7 0 10 51 8 0 1 2 1 0 51 9 0 49 3 50)} "fetch-streaming" {:upvalue-count 0 :arity 4 :constants ("fetch-and-restore" 0) :bytecode (20 0 0 16 0 16 1 16 2 1 1 0 49 4 50)} "dom-parse-html-document" {:upvalue-count 0 :arity 1 :constants ("DOMParser" "host-new" "parseFromString" "text/html" "host-call") :bytecode (1 0 0 52 1 0 1 17 1 16 1 1 2 0 16 0 1 3 0 52 4 0 4 50)} "dom-body-inner-html" {:upvalue-count 0 :arity 1 :constants ("body" "host-get" "innerHTML") :bytecode (16 0 1 0 0 52 1 0 2 1 2 0 52 1 0 2 50)} "create-script-clone" {:upvalue-count 0 :arity 1 :constants ("document" "host-global" "createElement" "script" "host-call" "attributes" "host-get" {:upvalue-count 3 :arity 1 :constants ("length" "host-get" "item" "host-call" "setAttribute" "name" "value" 1) :bytecode (16 0 18 0 1 0 0 52 1 0 2 165 33 54 0 18 0 1 2 0 16 0 52 3 0 3 17 1 18 1 1 4 0 16 1 1 5 0 52 1 0 2 16 1 1 6 0 52 1 0 2 52 3 0 4 5 18 2 16 0 1 7 0 160 49 1 32 1 0 2 50)} 0 "textContent" "host-set!") :bytecode (1 0 0 52 1 0 1 17 1 16 1 1 2 0 1 3 0 52 4 0 3 17 2 16 0 1 5 0 52 6 0 2 17 3 2 17 4 51 7 0 1 3 1 2 1 4 17 4 16 4 1 8 0 48 1 5 16 2 1 9 0 16 0 1 9 0 52 6 0 2 52 10 0 3 5 16 2 50)} "cross-origin?" {:upvalue-count 0 :arity 1 :constants ("http://" "starts-with?" "https://" "browser-location-origin") :bytecode (16 0 1 0 0 52 1 0 2 6 34 10 0 5 16 0 1 2 0 52 1 0 2 33 15 0 16 0 20 3 0 48 0 52 1 0 2 167 32 1 0 4 50)} "browser-scroll-to" {:upvalue-count 0 :arity 2 :constants ("dom-window" "scrollTo" "host-call") :bytecode (20 0 0 48 0 1 1 0 16 0 16 1 52 2 0 4 50)} "with-transition" {:upvalue-count 0 :arity 2 :constants ("document" "host-global" "startViewTransition" "host-get" "host-callback" "host-call") :bytecode (16 0 6 33 15 0 5 1 0 0 52 1 0 1 1 2 0 52 3 0 2 33 23 0 1 0 0 52 1 0 1 1 2 0 16 1 52 4 0 1 52 5 0 3 32 4 0 16 1 49 0 50)} "event-source-connect" {:upvalue-count 0 :arity 2 :constants ("EventSource" "host-new" "_sxElement" "host-set!") :bytecode (1 0 0 16 0 52 1 0 2 17 2 16 2 1 2 0 16 1 52 3 0 3 5 16 2 50)} "event-source-listen" {:upvalue-count 0 :arity 3 :constants ("addEventListener" {:upvalue-count 1 :arity 1 :constants () :bytecode (18 0 16 0 49 1 50)} "host-callback" "host-call") :bytecode (16 0 1 0 0 16 1 51 1 0 1 2 52 2 0 1 52 3 0 4 50)} "bind-boost-link" {:upvalue-count 0 :arity 2 :constants ("dom-listen" "click" {:upvalue-count 2 :arity 1 :constants ("event-modifier-key?" "prevent-default" "dom-has-attr?" "sx-get" "dom-set-attr" "sx-push-url" "true" "execute-request") :bytecode (20 0 0 16 0 48 1 167 33 83 0 20 1 0 16 0 48 1 5 20 2 0 18 0 1 3 0 48 2 167 33 15 0 20 4 0 18 0 1 3 0 18 1 48 3 32 1 0 2 5 20 2 0 18 0 1 5 0 48 2 167 33 16 0 20 4 0 18 0 1 5 0 1 6 0 48 3 32 1 0 2 5 20 7 0 18 0 2 2 49 3 32 1 0 2 50)}) :bytecode (20 0 0 16 0 1 1 0 51 2 0 1 0 1 1 49 3 50)} "bind-boost-form" {:upvalue-count 0 :arity 3 :constants ("dom-listen" "submit" {:upvalue-count 1 :arity 1 :constants ("prevent-default" "execute-request") :bytecode (20 0 0 16 0 48 1 5 20 1 0 18 0 2 2 49 3 50)}) :bytecode (20 0 0 16 0 1 1 0 51 2 0 1 0 49 3 50)} "bind-client-route-click" {:upvalue-count 0 :arity 3 :constants ("dom-listen" "click" {:upvalue-count 2 :arity 1 :constants ("event-modifier-key?" "prevent-default" "dom-query" "[sx-boost]" "dom-get-attr" "sx-boost" "true" "#sx-content" "try-client-route" "url-pathname" "save-scroll-position" "browser-push-state" "" "browser-scroll-to" 0 "log-info" "sx:route server fetch " "str" "dom-set-attr" "sx-get" "sx-target" "sx-select" "sx-push-url" "execute-request") :bytecode (20 0 0 16 0 48 1 167 33 197 0 20 1 0 16 0 48 1 5 20 2 0 1 3 0 48 1 17 1 16 1 33 40 0 20 4 0 16 1 1 5 0 48 2 17 2 16 2 6 33 8 0 5 16 2 1 6 0 164 167 33 5 0 16 2 32 3 0 1 7 0 32 3 0 1 7 0 17 2 20 8 0 20 9 0 18 0 48 1 16 2 48 2 33 32 0 20 10 0 48 0 5 20 11 0 2 1 12 0 18 0 48 3 5 20 13 0 1 14 0 1 14 0 49 2 32 77 0 20 15 0 1 16 0 18 0 52 17 0 2 48 1 5 20 18 0 18 1 1 19 0 18 0 48 3 5 20 18 0 18 1 1 20 0 16 2 48 3 5 20 18 0 18 1 1 21 0 16 2 48 3 5 20 18 0 18 1 1 22 0 1 6 0 48 3 5 20 23 0 18 1 2 2 49 3 32 1 0 2 50)}) :bytecode (20 0 0 16 0 1 1 0 51 2 0 1 1 1 0 49 3 50)} "sw-post-message" "try-parse-json" {:upvalue-count 0 :arity 1 :constants ("json-parse") :bytecode (20 0 0 16 0 49 1 50)} "strip-component-scripts" {:upvalue-count 0 :arity 1 :constants ("<script type=\"text/sx\" data-components>" "<\\//script>" {:upvalue-count 4 :arity 1 :constants ("index-of" -1 "slice" 0 "sx-load-components" "str") :bytecode (16 0 18 0 52 0 0 2 17 1 16 1 1 1 0 164 33 7 0 16 0 19 1 32 108 0 16 1 18 0 168 160 17 2 16 0 16 1 18 0 168 160 52 2 0 2 17 3 16 3 18 2 52 0 0 2 17 4 16 4 1 1 0 164 33 7 0 16 0 19 1 32 60 0 16 3 1 3 0 16 4 52 2 0 3 17 5 16 0 1 3 0 16 1 52 2 0 3 17 6 16 3 16 4 18 2 168 160 52 2 0 2 17 7 20 4 0 16 5 48 1 5 18 3 16 6 16 7 52 5 0 2 49 1 50)}) :bytecode (16 0 17 1 1 0 0 17 2 1 1 0 17 3 2 17 4 51 2 0 1 2 1 1 1 3 1 4 17 4 16 4 16 1 48 1 5 16 1 50)} "extract-response-css" {:upvalue-count 0 :arity 1 :constants ("<style data-sx-css>" "</style>" {:upvalue-count 4 :arity 1 :constants ("index-of" -1 "slice" 0 "document" "host-global" "createElement" "style" "host-call" "textContent" "host-set!" "dom-append-to-head" "str") :bytecode (16 0 18 0 52 0 0 2 17 1 16 1 1 1 0 164 33 7 0 16 0 19 1 32 135 0 16 0 16 1 18 0 168 160 52 2 0 2 17 2 16 2 18 2 52 0 0 2 17 3 16 3 1 1 0 164 33 7 0 16 0 19 1 32 95 0 16 2 1 3 0 16 3 52 2 0 3 17 4 16 0 1 3 0 16 1 52 2 0 3 17 5 16 2 16 3 18 2 168 160 52 2 0 2 17 6 1 4 0 52 5 0 1 17 7 16 7 1 6 0 1 7 0 52 8 0 3 17 8 16 8 1 9 0 16 4 52 10 0 3 5 20 11 0 16 8 48 1 5 18 3 16 5 16 6 52 12 0 2 49 1 50)}) :bytecode (16 0 17 1 1 0 0 17 2 1 1 0 17 3 2 17 4 51 2 0 1 2 1 1 1 3 1 4 17 4 16 4 16 1 48 1 5 16 1 50)} "sx-render" {:upvalue-count 0 :arity 1 :constants ("document" "host-global" "createDocumentFragment" "host-call" "sx-parse" "sx-render-markers" "scope-push!" {:upvalue-count 1 :arity 1 :constants ({:upvalue-count 1 :arity 0 :constants ("render-to-dom" "get-render-env") :bytecode (20 0 0 18 0 20 1 0 2 48 1 2 49 3 50)} {:upvalue-count 0 :arity 1 :constants ("log-error" "sx-render: " "str" "dom-create-element" "div" "dom-set-attr" "class" "sx-render-error" "style" "color:red;font-size:0.875rem;padding:0.5rem;border:1px solid red;border-radius:4px;margin:0.25rem 0;" "dom-set-text-content" "Render error: ") :bytecode (20 0 0 1 1 0 16 0 52 2 0 2 48 1 5 20 3 0 1 4 0 2 48 2 17 1 20 5 0 16 1 1 6 0 1 7 0 48 3 5 20 5 0 16 1 1 8 0 1 9 0 48 3 5 20 10 0 16 1 1 11 0 16 0 52 2 0 2 48 2 5 16 1 50)} "try-catch" "dom-append") :bytecode (51 0 0 1 0 51 1 0 52 2 0 2 17 1 16 1 33 12 0 20 3 0 18 0 16 1 49 2 32 1 0 2 50)} "for-each" "scope-pop!") :bytecode (1 0 0 52 1 0 1 17 1 16 1 1 2 0 52 3 0 2 17 2 20 4 0 16 0 48 1 17 3 1 5 0 3 52 6 0 2 5 51 7 0 1 2 16 3 52 8 0 2 5 1 5 0 52 9 0 1 5 16 2 50)} "sx-hydrate" {:upvalue-count 0 :arity 1 :constants ("sx-hydrate-elements" "dom-body") :bytecode (20 0 0 16 0 6 34 6 0 5 20 1 0 48 0 49 1 50)} "sx-process-scripts" {:upvalue-count 0 :arity 1 :constants ("dom-query-all" "dom-body" "script[type=\"text/sx\"]" {:upvalue-count 0 :arity 1 :constants ("is-processed?" "sx-script" "mark-processed!" "textContent" "host-get" 0 "sx-parse" {:upvalue-count 0 :arity 1 :constants ({:upvalue-count 1 :arity 0 :constants ("cek-eval") :bytecode (20 0 0 18 0 49 1 50)} {:upvalue-count 0 :arity 1 :constants ("log-error" "sx-process-scripts: " "str") :bytecode (20 0 0 1 1 0 16 0 52 2 0 2 49 1 50)} "try-catch") :bytecode (51 0 0 1 0 51 1 0 52 2 0 2 50)} "for-each") :bytecode (20 0 0 16 0 1 1 0 48 2 167 33 64 0 20 2 0 16 0 1 1 0 48 2 5 16 0 1 3 0 52 4 0 2 17 1 16 1 6 33 8 0 5 16 1 168 1 5 0 166 33 21 0 20 6 0 16 1 48 1 17 2 51 7 0 16 2 52 8 0 2 32 1 0 2 32 1 0 2 50)} "for-each") :bytecode (20 0 0 16 0 6 34 6 0 5 20 1 0 48 0 1 2 0 48 2 17 1 51 3 0 16 1 52 4 0 2 50)} "select-from-container" {:upvalue-count 0 :arity 2 :constants ("dom-query" "children-to-fragment") :bytecode (16 1 33 36 0 20 0 0 16 0 16 1 48 2 17 2 16 2 33 10 0 20 1 0 16 2 49 1 32 7 0 20 1 0 16 0 49 1 32 7 0 20 1 0 16 0 49 1 50)} "children-to-fragment" {:upvalue-count 0 :arity 1 :constants ("document" "host-global" "createDocumentFragment" "host-call" {:upvalue-count 3 :arity 0 :constants ("dom-first-child" "dom-append") :bytecode (20 0 0 18 0 48 1 17 0 16 0 33 17 0 20 1 0 18 1 16 0 48 2 5 18 2 49 0 32 1 0 2 50)}) :bytecode (1 0 0 52 1 0 1 17 1 16 1 1 2 0 52 3 0 2 17 2 2 17 3 51 4 0 1 0 1 2 1 3 17 3 16 3 48 0 5 16 2 50)} "select-html-from-doc" {:upvalue-count 0 :arity 2 :constants ("dom-query" "dom-inner-html" "dom-body-inner-html") :bytecode (16 1 33 36 0 20 0 0 16 0 16 1 48 2 17 2 16 2 33 10 0 20 1 0 16 2 49 1 32 7 0 20 2 0 16 0 49 1 32 7 0 20 2 0 16 0 49 1 50)} "register-io-deps" "resolve-page-data" "parse-sx-data" {:upvalue-count 0 :arity 1 :constants (0 "sx-parse" "empty?") :bytecode (16 0 6 33 8 0 5 16 0 168 1 0 0 166 33 29 0 20 1 0 16 0 48 1 17 1 16 1 52 2 0 1 167 33 6 0 16 1 169 32 1 0 2 32 1 0 2 50)} "try-eval-content" {:upvalue-count 0 :arity 2 :constants ("sx-parse" "empty?" "create-fragment" {:upvalue-count 2 :arity 1 :constants ("render-to-dom" "dom-append") :bytecode (20 0 0 16 0 18 0 2 48 3 17 1 16 1 33 12 0 20 1 0 18 1 16 1 49 2 32 1 0 2 50)} "for-each") :bytecode (20 0 0 16 0 48 1 17 2 16 2 52 1 0 1 33 4 0 2 32 23 0 20 2 0 48 0 17 3 51 3 0 1 1 1 3 16 2 52 4 0 2 5 16 3 50)} "try-async-eval-content" {:upvalue-count 0 :arity 3 :constants ("try-eval-content") :bytecode (20 0 0 16 0 16 1 49 2 50)} "try-rerender-page" "execute-action" {:upvalue-count 0 :arity 0 :constants () :bytecode (2 50)} "bind-preload" "persist-offline-data" "retrieve-offline-data" {:library (web boot-helpers) :op "import"}) :bytecode (1 1 0 128 0 0 5 51 3 0 128 2 0 5 51 5 0 128 4 0 5 51 7 0 128 6 0 5 51 9 0 128 8 0 5 51 11 0 128 10 0 5 51 13 0 128 12 0 5 51 15 0 128 14 0 5 51 17 0 128 16 0 5 51 19 0 128 18 0 5 51 21 0 128 20 0 5 51 23 0 128 22 0 5 51 25 0 128 24 0 5 51 27 0 128 26 0 5 51 29 0 128 28 0 5 51 31 0 128 30 0 5 51 33 0 128 32 0 5 51 35 0 128 34 0 5 51 37 0 128 36 0 5 51 39 0 128 38 0 5 51 41 0 128 40 0 5 51 43 0 128 42 0 5 51 45 0 128 44 0 5 51 47 0 128 46 0 5 51 47 0 128 48 0 5 51 50 0 128 49 0 5 51 50 0 128 51 0 5 51 53 0 128 52 0 5 51 55 0 128 54 0 5 51 47 0 128 56 0 5 51 47 0 128 57 0 5 51 59 0 128 58 0 5 51 61 0 128 60 0 5 51 63 0 128 62 0 5 51 65 0 128 64 0 5 51 67 0 128 66 0 5 51 69 0 128 68 0 5 51 71 0 128 70 0 5 51 73 0 128 72 0 5 51 75 0 128 74 0 5 51 77 0 128 76 0 5 51 79 0 128 78 0 5 51 81 0 128 80 0 5 51 83 0 128 82 0 5 51 85 0 128 84 0 5 51 87 0 128 86 0 5 51 89 0 128 88 0 5 51 91 0 128 90 0 5 51 93 0 128 92 0 5 51 95 0 128 94 0 5 51 97 0 128 96 0 5 51 99 0 128 98 0 5 51 101 0 128 100 0 5 51 47 0 128 102 0 5 51 104 0 128 103 0 5 51 106 0 128 105 0 5 51 108 0 128 107 0 5 51 110 0 128 109 0 5 51 112 0 128 111 0 5 51 114 0 128 113 0 5 51 116 0 128 115 0 5 51 118 0 128 117 0 5 51 120 0 128 119 0 5 51 47 0 128 121 0 5 51 27 0 128 122 0 5 51 124 0 128 123 0 5 51 126 0 128 125 0 5 51 128 0 128 127 0 5 51 27 0 128 129 0 5 51 131 0 128 130 0 5 51 131 0 128 132 0 5 51 131 0 128 133 0 5 51 131 0 128 134 0 5 1 135 0 112 50)))