@g9tm/lynxcontrols-foundation 2.5.10 → 2.5.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/catalog/catalog.json +3 -3
- package/catalog/index.md +1 -1
- package/dist/.tsbuildinfo +1 -1
- package/dist/theme/appearance-kit.d.ts +1 -1
- package/dist/theme/appearance-kit.d.ts.map +1 -1
- package/dist/theme/appearance-kit.js +2 -1
- package/dist/theme/appearance-kit.js.map +1 -1
- package/docs/api.md +1 -1
- package/package.json +1 -1
package/catalog/catalog.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"catalogVersion": 1,
|
|
3
3
|
"package": "@g9tm/lynxcontrols-foundation",
|
|
4
|
-
"version": "2.5.
|
|
4
|
+
"version": "2.5.11",
|
|
5
5
|
"generatedBy": "node scripts/check-docs.mjs --write",
|
|
6
6
|
"components": [],
|
|
7
7
|
"exports": [
|
|
@@ -2786,7 +2786,7 @@
|
|
|
2786
2786
|
"export": "g9ScaledType",
|
|
2787
2787
|
"from": "@g9tm/lynxcontrols-foundation/theme",
|
|
2788
2788
|
"kind": "function",
|
|
2789
|
-
"signature": "(scale: number | G9FontScale, base?: { readonly label: G9TypeRole; readonly title: G9TypeRole; readonly
|
|
2789
|
+
"signature": "(scale: number | G9FontScale, base?: { readonly label: G9TypeRole; readonly title: G9TypeRole; readonly section: G9TypeRole; readonly display: G9TypeRole; readonly body: G9TypeRole; readonly caption: G9TypeRole; readonly price: G9TypeRole; readonly mono: G9TypeRole; }): { readonly label: G9TypeRole; readonly title: G9TypeRole; readonly section: G9TypeRole; readonly display: G9TypeRole; readonly bo",
|
|
2790
2790
|
"summary": "The type scale at a text size (sizes and line heights rounded), for G9Provider's `shape.type`."
|
|
2791
2791
|
},
|
|
2792
2792
|
{
|
|
@@ -3107,7 +3107,7 @@
|
|
|
3107
3107
|
"from": "@g9tm/lynxcontrols-foundation/theme",
|
|
3108
3108
|
"kind": "function",
|
|
3109
3109
|
"signature": "(name: string): string",
|
|
3110
|
-
"summary": "A file name for a theme export (letters, digits
|
|
3110
|
+
"summary": "A file name for a theme export (letters, marks and digits of any script, dashes)."
|
|
3111
3111
|
},
|
|
3112
3112
|
{
|
|
3113
3113
|
"id": "foundation.tokens.G9ThemeFonts",
|
package/catalog/index.md
CHANGED
package/dist/.tsbuildinfo
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/@types/react/global.d.ts","../../../node_modules/@types/react/node_modules/csstype/index.d.ts","../../../node_modules/@types/prop-types/index.d.ts","../../../node_modules/@types/react/index.d.ts","../../../node_modules/@lynx-js/types/types/background-thread/animation.d.ts","../../../node_modules/csstype/index.d.ts","../../../node_modules/@lynx-js/types/types/common/csstype.d.ts","../../../node_modules/@lynx-js/types/types/main-thread/animation.d.ts","../../../node_modules/@lynx-js/types/types/main-thread/element.d.ts","../../../node_modules/@lynx-js/types/types/common/events.d.ts","../../../node_modules/@lynx-js/types/types/common/system-info.d.ts","../../../node_modules/@lynx-js/types/types/common/performance.d.ts","../../../node_modules/@lynx-js/types/types/main-thread/lynx.d.ts","../../../node_modules/@lynx-js/types/types/main-thread/events.d.ts","../../../node_modules/@lynx-js/types/types/main-thread/index.d.ts","../../../node_modules/@lynx-js/types/types/common/lynx.d.ts","../../../node_modules/@lynx-js/types/types/common/global.d.ts","../../../node_modules/@lynx-js/types/types/common/props.d.ts","../../../node_modules/@lynx-js/types/types/common/element/component.d.ts","../../../node_modules/@lynx-js/types/types/common/element/filter-image.d.ts","../../../node_modules/@lynx-js/types/types/common/element/image.d.ts","../../../node_modules/@lynx-js/types/types/common/element/common.d.ts","../../../node_modules/@lynx-js/types/types/common/element/inline-image.d.ts","../../../node_modules/@lynx-js/types/types/common/element/list.d.ts","../../../node_modules/@lynx-js/types/types/common/element/list-item.d.ts","../../../node_modules/@lynx-js/types/types/common/element/page.d.ts","../../../node_modules/@lynx-js/types/types/common/element/scroll-view.d.ts","../../../node_modules/@lynx-js/types/types/common/element/text.d.ts","../../../node_modules/@lynx-js/types/types/common/element/view.d.ts","../../../node_modules/@lynx-js/types/types/common/element/input.d.ts","../../../node_modules/@lynx-js/types/types/common/element/textarea.d.ts","../../../node_modules/@lynx-js/types/types/common/element/title-bar-view.d.ts","../../../node_modules/@lynx-js/types/types/common/element/svg.d.ts","../../../node_modules/@lynx-js/types/types/common/element/refresh.d.ts","../../../node_modules/@lynx-js/types/types/common/element/scroll-coordinator.d.ts","../../../node_modules/@lynx-js/types/types/common/element/viewpager.d.ts","../../../node_modules/@lynx-js/types/types/common/element/blur-view.d.ts","../../../node_modules/@lynx-js/types/types/common/element/webview.d.ts","../../../node_modules/@lynx-js/types/types/common/element/markdown.d.ts","../../../node_modules/@lynx-js/types/types/common/element/video.d.ts","../../../node_modules/@lynx-js/types/types/background-thread/lynx-performance-entry.d.ts","../../../node_modules/@lynx-js/types/types/common/element/frame.d.ts","../../../node_modules/@lynx-js/types/types/common/element/overlay.d.ts","../../../node_modules/@lynx-js/types/types/common/element/element.d.ts","../../../node_modules/@lynx-js/types/types/common/element/methods.d.ts","../../../node_modules/@lynx-js/types/types/common/element/attributes.d.ts","../../../node_modules/@lynx-js/types/types/common/element/index.d.ts","../../../node_modules/@lynx-js/types/types/common/console.d.ts","../../../node_modules/@lynx-js/types/types/common/index.d.ts","../../../node_modules/@lynx-js/types/types/background-thread/event.d.ts","../../../node_modules/@lynx-js/types/types/background-thread/nodes-ref.d.ts","../../../node_modules/@lynx-js/types/types/background-thread/app.d.ts","../../../node_modules/@lynx-js/types/types/background-thread/performance.d.ts","../../../node_modules/@lynx-js/types/types/background-thread/fetch.d.ts","../../../node_modules/@lynx-js/types/types/background-thread/lynx.d.ts","../../../node_modules/@lynx-js/types/types/background-thread/native-modules.d.ts","../../../node_modules/@lynx-js/types/types/background-thread/text-encoder-decoder.d.ts","../../../node_modules/@lynx-js/types/types/background-thread/index.d.ts","../../../node_modules/@lynx-js/types/types/index.d.ts","../../../node_modules/@types/react/jsx-runtime.d.ts","../../../node_modules/@lynx-js/react/runtime/jsx-runtime/index.d.ts","../src/collections.ts","../src/errors.ts","../src/culture/bidi.ts","../../../node_modules/@internationalized/date/dist/types/src/calendardate.d.ts","../../../node_modules/@internationalized/date/dist/types/src/types.d.ts","../../../node_modules/@internationalized/date/dist/types/src/queries.d.ts","../../../node_modules/@internationalized/date/dist/types/src/utils.d.ts","../../../node_modules/@internationalized/date/dist/types/src/calendars/gregoriancalendar.d.ts","../../../node_modules/@internationalized/date/dist/types/src/calendars/japanesecalendar.d.ts","../../../node_modules/@internationalized/date/dist/types/src/calendars/buddhistcalendar.d.ts","../../../node_modules/@internationalized/date/dist/types/src/calendars/taiwancalendar.d.ts","../../../node_modules/@internationalized/date/dist/types/src/calendars/persiancalendar.d.ts","../../../node_modules/@internationalized/date/dist/types/src/calendars/indiancalendar.d.ts","../../../node_modules/@internationalized/date/dist/types/src/calendars/islamiccalendar.d.ts","../../../node_modules/@internationalized/date/dist/types/src/calendars/hebrewcalendar.d.ts","../../../node_modules/@internationalized/date/dist/types/src/calendars/ethiopiccalendar.d.ts","../../../node_modules/@internationalized/date/dist/types/src/createcalendar.d.ts","../../../node_modules/@internationalized/date/dist/types/src/conversion.d.ts","../../../node_modules/@internationalized/date/dist/types/src/string.d.ts","../../../node_modules/@internationalized/date/dist/types/src/dateformatter.d.ts","../../../node_modules/@internationalized/date/dist/types/src/index.d.ts","../src/culture/digits.ts","../src/culture/culture.ts","../src/culture/calendar.ts","../src/culture/numbers.ts","../src/culture/text.ts","../src/culture/coordinates.ts","../src/culture/date-format.ts","../src/culture/duration.ts","../src/culture/natural-date.ts","../src/culture/strings.ts","../src/culture/relative-time.ts","../src/culture/index.ts","../src/enums/index.ts","../src/exec/diagnostics.ts","../src/services/abort.ts","../src/exec/options.ts","../src/services/clock.ts","../src/exec/trace.ts","../src/exec/safe-executor.ts","../src/exec/index.ts","../src/icons/generated/glyph-svg.ts","../src/icons/glyph.ts","../src/icons/icon.ts","../src/icons/glyph-slots.ts","../src/icons/icon-fonts.ts","../src/icons/packs.ts","../src/theme/color.ts","../src/icons/svg.ts","../src/icons/index.ts","../src/layout/index.ts","../src/route/address.ts","../src/route/catalogue.ts","../src/route/journey.ts","../src/route/sink.ts","../src/route/resolve.ts","../src/route/view.ts","../src/route/index.ts","../src/services/feedback.ts","../src/services/preferences.ts","../src/services/contracts.ts","../src/services/keys.ts","../src/services/motion.ts","../src/services/index.ts","../src/tokens/generated/metrics.ts","../src/tokens/generated/palettes.ts","../src/tokens/layout-metrics.ts","../src/tokens/css-vars.ts","../src/theme/aliases.ts","../src/tokens/shape.ts","../src/theme/oklch.ts","../src/theme/theme.ts","../src/theme/brand.ts","../src/theme/recipe.ts","../src/theme/sanitize.ts","../src/theme/appearance.ts","../src/theme/css-color.ts","../src/theme/token-themes.ts","../src/theme/appearance-kit.ts","../src/theme/contrast.ts","../src/theme/control-colors.ts","../src/theme/design.ts","../src/tokens/derived.ts","../src/theme/variants.ts","../src/theme/index.ts","../src/tokens/root.ts","../src/tokens/index.ts","../src/index.ts"],"fileIdsList":[[102],[101,102,105],[101,102,104],[101,102],[101,102,104,105],[101,102,103,105,106,107,108,109,110,111,112,113,114,115,116,117],[101],[40,95,96],[41,85,86,87],[52],[41,77,86,87,88,89,91,92,93],[41,85,86,87,89,90],[85,87],[41,85],[48,77],[42],[43],[50,54],[46],[40,50,54,55,56,57,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,78,79],[46,50,54,77],[46,50,54],[55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,78,79,80,81,82],[57,58],[46,50,54,58],[46,60,63],[45],[47,51,52,94],[43,46,47,48,50,52,53,54,83,84],[43,46],[51,85,94],[44,85],[45,46,54],[44,45,49,50],[48,85],[37,38,39],[40],[97],[97,99,118,120],[97,119,122,123],[97,99,119],[97,99,119,120,121],[97,99],[97,100,119,120,121,122,123,124,125,126,127,128,129],[97,121,123],[97,99,121,125,128],[97,99,120,122],[97,119,122],[97,132,134,136,137],[97,99,133],[97,99,128,132,133,134,135,136],[97,132,135],[97,99,141],[97,99,140,141],[97,99,140],[97,139,140,141,142,143,144,146],[97,99,139,140,145],[97,98,99,130,131,138,147,148,155,161,182,184],[97,99,149],[97,149,150,151,152,153,154],[97,149,150],[97,149,150,152],[97,149],[97,99,133,135,152,156,157],[97,133,135,156,157,158,159,160],[97,163,165],[97,145,163,167,168,169,172,173,175],[97,99,145,163,167,169,170,171,172],[97,145,163,168,169],[97,145,163],[97,145,169],[97,145,168],[97,145,163,167,169,174],[97,145,166,168,169,170,171,173,174,175,176,177,178,179,181],[97,145],[97,99,163,167,168,169,170],[97,99,145,163],[97,145,163,168,169,172,173,174],[97,131,145,163,165,180],[97,162,163,164],[97,145,163,165],[97,162,163,164,165,167,180,183],[97,163,165,167,180],[97,165]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb5b19b86227ace1d29ea4cf81387279d04bb34051e944bc53df69f58914b788","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6fdd3074ba01fc8aff89a11055a33516aff7a42a3599fc0e7dce64047a5e3fd","impliedFormat":1},{"version":"87d9d29dbc745f182683f63187bf3d53fd8673e5fca38ad5eaab69798ed29fbc","impliedFormat":1},{"version":"035312d4945d13efa134ae482f6dc56a1a9346f7ac3be7ccbad5741058ce87f3","affectsGlobalScope":true,"impliedFormat":1},{"version":"07b03f752ae52a7130e06c5a8399d3a0dde07a1a634f8430b80cd6236c56b5c8","impliedFormat":1},{"version":"8a8eb4ebffd85e589a1cc7c178e291626c359543403d58c9cd22b81fab5b1fb9","impliedFormat":1},{"version":"acbac4ca6cd4b2b459debc4a274535775cb6278a8315be383fafa623ab78f18e","impliedFormat":1},{"version":"e421d0b097c78304a2597c1f33da586630e1dc665ae381c0c36e5ebc4aaf4566","impliedFormat":1},{"version":"adf624c89a0d509a789f3c0bf522969d2c47033dbeb50920b37cd89be475a65e","impliedFormat":1},{"version":"f4664d05efc95a0fb8ee228d391e5271a1c8fc9bc3452c7bd760f9ca18b5a837","impliedFormat":1},{"version":"b32b532dcbe0a91d71fd94cb780e94bdfdce10be21608d914c29fb4b8939b24a","impliedFormat":1},{"version":"eb2b64881998b562a4fe9330e55aa2466cd3a41a1a57e93feac6555218cec06f","impliedFormat":1},{"version":"6db1694d205177322d792d924335b046b80607445a45c0d2de1fcffd190b48c0","impliedFormat":1},{"version":"d5465281e0aaffe267f46382c5f014740dc16e7fd8e1c57a0b0ddf8a2eab9be4","impliedFormat":1},{"version":"f7e5c3960dd9df65d83408b9be446f7119fa1db1dd8266dd343349d90c3bf2ce","impliedFormat":1},{"version":"09c6491ed74af89a4155feafedecaf77780f5751c66d4b65b18d30fc0e053a75","impliedFormat":1},{"version":"188b01044640e5ef65f6edf0dd6e6454f02dd19f4ead66b9e03ebe26cc7298ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d34d6de13412a24e8d9252040d972edce68b4db8d8a64a3f7fd63ca1fda3a67f","impliedFormat":1},{"version":"5bf51107315834a209b08395b141e262b7d143d14f6b4e4d403d8e020cef7e32","impliedFormat":1},{"version":"db0dcbe48d5cb38315083b412c8ab6995b0d42dc73b286833e296827feb0e5b4","impliedFormat":1},{"version":"b3e4a49a3ba19463662e7b821544948b953d2f6708370d42406bda558084000c","impliedFormat":1},{"version":"7c5e49b3d96da389b07d4ae3705c9f33a03dadcd04e6c0e76edece6d636f4ce7","impliedFormat":1},{"version":"24e9add3c802e7c9431b2c99edbbda02c1899901fd955dfb2e9ee3e9cdc93c4c","impliedFormat":1},{"version":"cd6611fd8cd9d40de1bdec02a3c5027c968c4aaf7639ee88ee48b2c41edeaddc","impliedFormat":1},{"version":"32d1e153cac16ca3a3f5f6b68fae76cddcda509950fa00d038c465776359db0c","impliedFormat":1},{"version":"0d85d0fa55dd433acf924675d7e976c025c8521c91a76079844cd15e52855ccf","impliedFormat":1},{"version":"89da6ea3ee9735e712691227b0e5ee74381779f9ad8b0f4fb7ced0247b16735a","impliedFormat":1},{"version":"77fbe475cb649a3598aa8f932ab5f6fe011444d94b52d329078c1f6d63c5d3bd","impliedFormat":1},{"version":"7618f7fdf0abf7f712cefe766ac1ab7fcd1f8e753c513e57d3ada9ada3a57257","impliedFormat":1},{"version":"db0441149b37984c225e945a112713d07616b34552d64f814c5cbf8e8c95f165","impliedFormat":1},{"version":"51f5a8fa3de5f13b21ba2604b4de8f0aae3d97acadab981d536a282ea26257af","impliedFormat":1},{"version":"0e323630cbfda771430e2720f6a2f02f257becd8fb9722aa975ae773fb572210","impliedFormat":1},{"version":"56dbc770513baae28f7cfbadeba5078bb13a37a13132a5292e98a8b103312b98","impliedFormat":1},{"version":"84ff906032fe12e816bfb7441cee6726243e5a7316c4f2d6b0a6c149f1a91a16","impliedFormat":1},{"version":"446e9432c63958893f65b4f7eea86fb5b506c2e0e7dd971a1f75e361b333a3db","impliedFormat":1},{"version":"dcbbe1fb0f2c0efc12e29db8bbccb5b82513384d01d7a55342065cb0611da272","impliedFormat":1},{"version":"af209189a194cf5ad1f7b22dd680b52843fec2e30f1283be20b2977872fd4424","impliedFormat":1},{"version":"18e37ffc10db360e66b0af639e55bcc66496830994734f64a97c6751458f7f3a","impliedFormat":1},{"version":"14137199a98201c616a7ee925bfaa9809b659dfbec733f86fa5dc5348a897de6","impliedFormat":1},{"version":"f64cd565aca17df45f4666473da75e4ce51a2610e2ed1c31198e9f9325747a24","impliedFormat":1},{"version":"e415a17ab6a413d6be640457231e045541405eab1f0f370c7dd1e5567aa25999","impliedFormat":1},{"version":"8c03a41d6dc701b6648db83d71a92dc27147d7677ab5d70f32675e7e37b3795a","impliedFormat":1},{"version":"e27b62f2410bb10697800d1c09ae2c48db46cd1eca18ffdd35022b1802bfd6d5","impliedFormat":1},{"version":"2ec0bfa713f313f8b2dc2bf64c5962433722ea7b413f69428106a65584656dc9","impliedFormat":1},{"version":"b2d74af681f440a07e714ae9a33e3ea49c79870b9674058114c0404d2aa2f190","impliedFormat":1},{"version":"24f31e43eb3505e5d2946315e7b8ee8b426dfbe92c3031e435a4eb2d9dd8d69f","affectsGlobalScope":true,"impliedFormat":1},{"version":"5b6a59d1e98f908badf07f243deb42ebd926b4e3d33ec00a5f50cbb8d0464488","impliedFormat":1},{"version":"c669ee7ba01fa6a60b17c3535f96b65fa82dfd2a475a8760364f2f3952f9bcbd","impliedFormat":1},{"version":"a8b121f6a75d603075e62793ff0c109112e882dd6ca2b70bdccbd8d8f753429b","impliedFormat":1},{"version":"f378d7ed5e3ecbe382ade55127a9c98e826c76f786e06effad6fde91a7023d55","impliedFormat":1},{"version":"4e3e9539df72b3bfcc56fa13140070020dac72f1eff39237b11253482cb99847","impliedFormat":1},{"version":"5a47b3a2bbe2c9b015fe356462afe0abe391c592fffbe277126e2415e0811967","impliedFormat":1},{"version":"b1248e5931d2a49c697203e69449c58dacd3d19f12d76bf11d816600a0cf423b","impliedFormat":1},{"version":"0b02aebd8c41453aefd3b1f33b9b9862a57770f8b21e916ecc5b35c0bedcc52b","impliedFormat":1},{"version":"e52840670587e82e129c9bfc6a2f42d9c2f2e1fd6ce176fea998383a8c941ea5","impliedFormat":1},{"version":"31ca1ee726f5d7c7709913b98be76fc40fdfaaca6ad7fafc222108981e11227c","impliedFormat":1},{"version":"556db73da59f5162cdf5c7ea1bc3b063b6ccb758078ef6517ad6f6e4ae7b199a","impliedFormat":1},{"version":"0a2c8ef08611f5a5f711c7b10ba70d10dc1c6af0c9dba8168cbbf34911b74188","impliedFormat":1},{"version":"1d6ef45145a9939a43062fe18188d4f7bdfdf4547978e1f6b7c9089fe53e81e5","impliedFormat":1},{"version":"42c169fb8c2d42f4f668c624a9a11e719d5d07dacbebb63cbcf7ef365b0a75b3","impliedFormat":1},{"version":"509a86836776d5c821901abc16a2d21de674d2c8943ceb8d018049bf324bc56c","impliedFormat":99},{"version":"42204f4543c2a8d92bdee756d5e3f09e2612497ad26b5c36a285d99d34efa377","signature":"d533d1fe3018752aa47ee74ae5dbdca34377441b891176ad99bd33366a64372f"},{"version":"18609e84384328c186664b8c5b407e379ee197a4bc40d0e985b5c8050ce29df7","signature":"ccd708c3fff99b4ec315e14315dce6b9e85f4c96d10131e9fd219edb6efbdb26"},{"version":"714560fb0e2ff57d67dcb3337a40ed0d9acddd7bcfad0e80ca3f0da9537dadaf","signature":"577287aa28cdd2976297531706a5baea4ba5171512f500731d3feba37057d851"},{"version":"217c6f6adcf5111e57a516f20bb0f3624f4a0c8c95b4dfd757b2c191439d3aa4","impliedFormat":1},{"version":"302d0816f71d30d6615895a696aab24cf074ac8e9d5b90021c9a4a29f4121d27","impliedFormat":1},{"version":"a68e0e4868a1f61702c5b91cc2b0437168acc49e318896a891368f52e0420781","impliedFormat":1},{"version":"eb57169d1ef4957f9322372942255786231714bfd3475dec56980d4075a99bb8","impliedFormat":1},{"version":"d13b4c54324181a93a23ce284b3a7a1a2148a35aecc95c562353e28a799cbeab","impliedFormat":1},{"version":"3ec9cc2c9621174a735593a03b48415ce4e0e4002a1fd5e56fffa029739561c5","impliedFormat":1},{"version":"a9b763da625de15e560fa1d58de51694c5cc45ac84f942bf85bd022b03806d9b","impliedFormat":1},{"version":"801d799959670d8a15b3dfc95d4b11dc2a0dbdb288c1de56404022ee45206302","impliedFormat":1},{"version":"dc1897f61ef7cd55f6e7572332ff23225661fa8814f9f2137655a724445dfcc9","impliedFormat":1},{"version":"af4a925b523e9c391ee4d4451cf658849e9d92e2c6fb63ac39024b6264916751","impliedFormat":1},{"version":"d0139e18847aa6b6e33b8b8fa43ca8c6fc24baa26cfc6b845078500d5810e392","impliedFormat":1},{"version":"4d22f9e46854d0e44f827c33ed9b7da2d407a4ef6dc962a53345b1f9d0c75b13","impliedFormat":1},{"version":"6c60775bbec04bff8661a7601d0fe26e696dbd1d5287ffd7cba68e8978b4cf4c","impliedFormat":1},{"version":"1185a5e4d82d7b64bd5438019fcd6eec765a64f0cc36c3af738c5ae317c7b957","impliedFormat":1},{"version":"bf4a94dcf6335c0bb4ab927fb56a646ea9ac57123b2677c2eb9841302dc3f1da","impliedFormat":1},{"version":"10175cdd19d960f50473c229d98659a5b2534a48bd86acf647e8f2878aa25d29","impliedFormat":1},{"version":"7721b07afcc035f4aff3af52d1a982d7fbd2525a9ab82b197b67d8eefc915de6","impliedFormat":1},{"version":"e943098dc1cc3574e0d903a7ac2d90d6863d243dea9295b4a8fd34223a8277e1","impliedFormat":1},{"version":"a142f5afe12787e110a2e7ff7ee4a02647c022ff0839e7c7ae0f4a41278ae1f1","signature":"44b82e4f46178400732ea809a906f7ffb9dd38efab331ca23e7ca4586bf903ef"},{"version":"7db764083fb927c05340e42cae128a68b53ce9d4bddfc7845e4f7c4d22772a9f","signature":"d5621f942ab05c1c3594b5b59070c2f44d411f01ba97eae6bd60cd99ab6be102"},{"version":"bdfd4a2c14afeeb21b587929fcf19c8f90ef4b3b659415724b1fcb4375b537b9","signature":"69af30b9df408f844bd30e26ade1ba783c7624bd505ecef61a7e178624ece0eb"},{"version":"2c0754ee9b1637e850da1e2fa4e7b98e7eb30fc2b10a84c42fe33d9302383038","signature":"2064567cac7c44696477d8faeb79ec714624c341bee71ea7237ea2ef2e26e8a4"},{"version":"e4f055733edd90b02d1683c88b4461b744cef922ef9668a07e280da95fcf5562","signature":"b3575fc6f742fdcb7c500e826958dc5aabea5c7120a02373172ef934f3881084"},{"version":"3ac0b6ea92d871267625ea34f72a3090a7638a1d01c466c0ba7666e63c54c586","signature":"9d4e2786d2e8c5c304e5f5f282f38deff75dddf26d89e53c1c4872a7f9a7ecbc"},{"version":"521f08c786cd4cdaab2da57ce3dd6454f47a8edc501f8ba36c9b6ce4e223b6a6","signature":"3dd51a4b01e4a63709253bf28547f961d6bc64df7b7ced76bc0771800446ecd4"},{"version":"6c8dfe4a5ac25365b0c5c0817051732acead3f788f3567815ec775029b1661d2","signature":"28b43630d8d29a300e1e5b0f5efb04c8f994d372fff1b653ce8bb70d4e011e1a"},{"version":"24f4573a7b128e7a5f50de724a02ab69b27df707cdcfe044e6df2cccd3afe7c9","signature":"36f2fc7f6b07a9966273bda82f2b0b450b42d3320a9edaf91730c333ad86e257"},{"version":"b67192c27290fe55623013054f6c0ff6a63311e1266467c2f675dc4d7aab93b8","signature":"07477fef265592fa976f17bca69f4d03c112e321357c49d17232b5b5e493caf5"},{"version":"7bb7ff36e4fae5f3f2eeb2d1e70b46fac0412da4e4b65efd28fc95e5ba622995","signature":"ddb01c2474a47c2411bde75e969c547fd52dd0de9d39837970a6ec5effea934f"},{"version":"6ae5951518734cdb23962dd5f23d745ba729d6d5026b2b41194d0c8bc95f739b","signature":"1018d59d45ae46221f677d09749ba2a98fc0adc11871eac85aacb4564fa3da1d"},{"version":"e983009f8ace928b08216908294b679b05ba261050e72803bfda43726b2219aa","signature":"5e621ae454f5ff6bfea91a558b93eb3dee64eac6f66ad8d6739a4a7c396a42f7"},{"version":"16307e253df4bb417223e5814bcc5742d1b7d9b893bd72418b8cfe8e6f7ab474","signature":"abc924fce33b86b9f8588de3a5be04c609fafa6cb1dc42629b3e9e3e18f7d018"},{"version":"cc74809c9fbebdf300941acce9a07ea6ff52bf91840e738014d4dc2645f153bb","signature":"f919e3a8b2d274b631ee4fee0c50eba1d3f39ceaccba04dff915e9f61e9f153c"},{"version":"38ccbb46155bf41c02e47d4bd2167b1a0f6b5429be49596da7e6b203cd7176eb","signature":"db505b070be7771c50bb80800e4a16333bea91619030d33e9d1b1d6d245fde72"},{"version":"3c106b0a8bab93d06df0fb9fb79a4814e9d333aca28138f2e8f053f9260cea38","signature":"d1b2970d348eb9f89ef0f0c6730d27e9331067a28f21c8bd667ba1138d5d3e93"},{"version":"23f824bd861a6cf696a4571ffeca7cd5130ff1b4d30ade235d6fed7fbc6fc78f","signature":"cefcb1f078d33a40c707d4a239ee518a595d7553b4205a4a23c1bf84a743a94e"},{"version":"5ab239682bfcdf7c0d429cfed2f0bd83489103ffab0e2be6b6f3014af19dc316","signature":"4f83143f730ad8fd66ec8f779b2f43399ed4b84aec6f5df5fdc4a2436739e934"},{"version":"4719b38ecf1f698d62ba291298047877c04dbc1848a27307a4edeaeee1bc66c7","signature":"830e8c15e2893c5864835fe97bad3fdc5d46bb9b72a66851365b8411347dda10"},{"version":"f2175ae864cb2550da788b15fc4a39aa398df0665466213d25371c5d7b685c21","signature":"b24ac81f4fcff56ed9827736abcf2f92ea5f86e16d66eb2ee3ccfa0bb8143bc9"},{"version":"26c1a7b48b53476c1dc0e107d0b0fe71b6148f4e320f660a0bfb7d20e67c1835","signature":"068309ff581d08c276c4a772ddf3ab9c8090e591fc9917fdc6cdffc12c95a5bf"},{"version":"854f9b8c6d757b73f1c168038e3a5b24e2ca973d803c49ad43949447d4615f07","signature":"4285e8b8ec9bdea3ca2630c4d79f715587cc3262e5613fbd7bea8ffd32cc097c"},{"version":"03b57a8957f6cf8905df145665b4e64b8368c98e8b6802f8cff765ffc25e27c8","signature":"2b8a3fa14f4b24cbb3c2c783ae0805bc1a857cdf7d35308956f3660ef0229c3c"},{"version":"24189dadf4ca8b95ef97800d08ca7c98abdf1d6f0a1955fe66d94608fce724f8","signature":"f55ab5598602804a77bd7ff4f8442ceb29c6603120e1e6fe39b346dbcea9a438"},{"version":"f1172c2e3d40c9560d42e228cc14af529d8353de8df93caea82ce03fdffe4464","signature":"7ec540fd5fb0761576c417b27ea61ec08123412487b020942c893510dce970db"},{"version":"4e86b93241304e96d9fdc6554c7bf88dac95b8ea2484327a899a677a25d5e5ca","signature":"c15fea45b893c73bcad76ae565d59a0472ae0f74713ead9a9e7eb37085260c09"},{"version":"c71d509a443c45af8cd7bd84ea979bd5410677deaaf1983921949cb4cd952a05","signature":"344f7de9b0f6fa5ff42d99bac404c169596a2272a8b3d225beec056e4106bcb9"},{"version":"4815ef09b602fc55d4316ff4f04a7ead013f3827fcdd2436c3179a90ad9a45b9","signature":"ee2cc74d84f07861cccd51753c16296dfa24d6a19443262b4ec957bd451c46eb"},{"version":"9633cfd1413933ac2b54fc9959dc1591dc7b3d3b502b1fa3b3165407adb99002","signature":"cf4ef9c41637cb6995fee096890a0e6113141bcce82cc7d5754c281f03ad889e"},{"version":"52ba4ecb0b6a0c7250b7a10edf12ed75bafeb7ce812ae78255e3a149658dfe41","signature":"0fe3cc2e808353835af39798e6e169bbc1ce0cf473122316a019376a1d6d98cb"},{"version":"6069d1262128233eb04fb50264af01eb16258a8ba9a5bef9ebbaa8133459ec91","signature":"67b7d490a2cf3547f783c6f8e3019a6864f12cc657d17cf378146e7073cceb0c"},{"version":"b5f6738fc61eefd5acebabba48278250c0de84074f5c04a4c60414554d8f672b","signature":"6365c6701ad1cf8d99205387000a0324a573890107b2f475fd6a82174f0389c3"},{"version":"11fd46a411f0b66dd99a50a2274a73929d973614a5fa81bb9fb51aa6ee0cce92","signature":"d89fd83960c2343d5af55b3c174b5997272cd89af982d41bc21af8b8332cf149"},{"version":"79e9f560eae83744faa3e53154ee9bdb9f3941506eadd8d3a87935b2f90ccf4a","signature":"86a386c8741a08a24b2491c0d160bc2ee271b728c1f152d6705ffd69024679ee"},{"version":"10cf6b1e023bbb169c90ad7ff1c792552bdb73baf9f277ee1ca3e213b9b37452","signature":"49bca6d49d9c5a525146bba60a48e448e1eabe79be789a7b5238ac10a2f620b3"},{"version":"1238f61c8db8e5ab8beaf5a9dbe5cad66661666e4e944fe92c38694c6a20cc1c","signature":"6f8692b9b0416b85506884f641a30a8f75b0b035c9948020a7117ca2faa6a840"},{"version":"b278c7dbac38a0c57ebcde6b848e7cd017a59f9ca770d9aaa4c83d6c09cf86ef","signature":"cd3a9799c8e0996b4d31d5235a8ae105b79a7fa31ba8f660ca35b043048ef757"},{"version":"cb8bba022b800c1acb8ef8bfe465bfef7e43d22d06f20a8d6e7503aca0f4d570","signature":"ee4e73f46ce2f6517e82434bd9fc63c8b6b2179d37d74525899f124a76d06669"},{"version":"69c39cdb2e91af538c7e6f54dd653864e0bc3eb765ba4f394d80f945eb1bfdcf","signature":"fd74286e0037339f88fdc437ede3c31139164faf238651e54abb805732d4b541"},{"version":"34b8960c9c9618b4742beb6198843f0e58ad8669864dac868507480ea6d8b10b","signature":"5f96841314e358366bcb3b3d07c8b8d924e90dcd00dcf2202900cbfaeefc1a03"},{"version":"db8a43eda6f42311a421d8839efe110a9436be9bc55eb5cd9ccd53c687b52537","signature":"216aa3f63d62f13b158445ff6a3bea8ccfd110f2bf219d607175518c9cc5b29d"},{"version":"94b5279df6c3abe97e185b85128e29c68da26025d99317deb539810f628a36ce","signature":"f50eafec22168e69b6138149fbee4eacb5dbd53fbc15f9daa37558705d1a6bc7"},{"version":"028144708663445c29ad9ca6be95694108a6d4decaff0709a9245977fef98e8e","signature":"ab7ed47f18899e74299db14911a028a0aaf1acae17f870a64ead7d91953d40b3"},{"version":"21c4b66fbb8ad882f52c2825c45cb59ced1017b9bfc531fb8a0ef60d1240b882","signature":"faa64d270fa523f80fd31bc7340ee7f6a21632c2ea0cea6535bf5a34bcc6adf7"},{"version":"fe66054b645111cf483c589411e2bd9e2c0ccbde0ba365e029c6c20653f02112","signature":"298f8d2584216932ea238927177ef343d0b8da735eb40a5ba96b1f92e3675e33"},{"version":"d615cba0a460f5568ce3473a1434f6ccf4511042824ce281682e499a95a676c8","signature":"1862daa6bc69b267a2b595149c5bced13ce2440d0d6625d291a5450d9d3118ae"},{"version":"4c3cbd29af3564f4aca3daaf5ca047f485b217af41f529815002a98933dab476","signature":"ed24498d7fe499efeb2a3f2df83a29cd3b8b83a982d01e7d73f4cc0166e3982b"},{"version":"4cad49c0abb6ef01a06892e461a9c03f61207fcb1cd90aed9ffd1953aebe582a","signature":"15d3a796bb9e54d4712a6a461964c8ecfd7182b09714f3bd7d0b9d954fe3393b"},{"version":"3cfad95bc4e3a7cae2da5cb4b5747145754f734c50aed196f681c08081f4e61a","signature":"93d15026bf4213d204b0ed4bd102a82945c519a716d51c245dca01d6ca7d0222"},{"version":"a440fc408fef832b41e8dd4988e1ab8d06c6d82a849c33efc9f59af0b8a35994","signature":"27c5013992e6c2d1a82395d90ac5877a70066f03f74b2a91d70e9eafa0666655"},{"version":"183c11473cd567bc10ae010c8db5e4205a91754bc0a3cb6db7dcdcd644d137b6","signature":"b1dff8567dd02ba98547471feb38597022193ca26b6ce853d28d2092b36669f6"},{"version":"b0740410649ef8daf5925d4bbac60c8f4f79a31c61e8ce02e5ad26c8c11705ad","signature":"264dc4b816ffdeabcb52d9698df80b809d3d616e1d394b9891f8163acdc69140"},{"version":"fa790fa82a01d9f729f941c5c80e4eec51314ce7afacfad53025970fe495d321","signature":"a324358754f94c05fa3bd4748c35928c38ffc911e454d4fc076c7aff6c428c15"},{"version":"76f792c697c5ac05595d1ce061ae0b1b98296a76a5535868071d622455425a7c","signature":"dca501d8eff2db8c8309ccb2667b3b70f6e80290b91081bd740fe933fadc0c03"},{"version":"89921042d23f5b525d2b269e3754f7fdccd12dccd4491363248c5e79bb88e02e","signature":"718f81461dec01a5272f4ccf5efb006306f28ccd8f70b3c49e0221b9db21fdbe"},{"version":"73f46861ae92cd4ccac31f5045c6b548952a844d84fcbf63499c1a59c986619f","signature":"f484e0e4fa693a32c3ec182f8cd0ad3994c5efdc44c5969fd8c236c00a772d30"},{"version":"e44191d54e102ad0baf9cf2c52123b25becbbdeaf5c436a71c59630bd2930408","signature":"b247d3d58402d6944124265d74af0226f617628631dc4317eef8f876d9ab9104"},{"version":"312605bae92cef4d14e1c11bd9d624a907302f2360c43764ccb63437b8eabce0","signature":"e6c6e5af757c1a353c031cbd0e917586fe9ee9767a80937c7763718431cefb17"},{"version":"8c1ccf55df4d01257496b438fa372bea784e018d9b7327bd1fbeb90ad1f0aaf9","signature":"edc33c8870895bd9b0255d99fc8213efeddc0acf0031b7fa6cd8cc372f446c46"},{"version":"05874ba226e10081ca4c853d185e1f88701abdc601bd661f00338a730805824b","signature":"29ffac17044f96c464965f99ecb812783d5b524d6187cc9cc55b784abdf95fb2"},{"version":"59d217109d70b75a91c57fee208242e56bb535687f2092c373885aae511fc42e","signature":"c742b17e5e316108f45f793bdfe9e074092b12cb6e8d8a1683f6c62af6b0465c"},{"version":"aff24855ea3fba97546860cda5e8d435e40a5d2f02b93342dcc7d8b694131c05","signature":"ec73711a5e3798a36346e15ad1c2c3521a5e3e1515436835fd37986c8cd3c7fe"},{"version":"e89f8cb160b8a1855b3bd6ec67d8443f5174b1359af01e9da73ef7e2d79f39db","signature":"5479876a6d0549f1536798428c4dcd46e8d7a5e5dcfb7d5b48da5aa237b8160f"},{"version":"36bd279cafc26def48a052ec89b8fc1676e1d055c73c8c9fb6e736883dad1ff8","signature":"9d34e36b56059d024baeb63a17467d01f2327d9568af58a7bbb168726a0b0503"},{"version":"60c5ea3628c3e2d99052a4f4de39019d4b316e40b970f722728ec678b8be1257","signature":"a438a2ecbecc0d1939a52439ca0150297820fc9d68bd9bddb6af5e9db7ab9457"},"40b6395de64bf52ad2043d18ae16bcca9b437a874dcb4c1c6829448b260a69ad"],"root":[[98,100],[119,185]],"options":{"composite":true,"declaration":true,"declarationDir":"./","declarationMap":true,"emitDeclarationOnly":true,"exactOptionalPropertyTypes":true,"jsx":4,"jsxImportSource":"@lynx-js/react","module":99,"noFallthroughCasesInSwitch":true,"noImplicitOverride":true,"noUncheckedIndexedAccess":true,"outDir":"./","rootDir":"../src","skipLibCheck":true,"strict":true,"target":6,"tsBuildInfoFile":"./.tsbuildinfo","verbatimModuleSyntax":true},"referencedMap":[[101,1],[107,2],[113,3],[105,3],[112,3],[110,2],[111,4],[106,5],[109,4],[108,5],[115,4],[114,1],[118,6],[103,4],[116,4],[102,7],[97,8],[88,9],[90,10],[94,11],[91,12],[92,13],[87,14],[89,15],[43,16],[82,17],[73,18],[58,19],[55,18],[80,20],[56,18],[78,21],[57,22],[83,23],[59,24],[66,22],[61,18],[60,25],[75,22],[81,26],[79,22],[62,18],[70,22],[71,22],[63,25],[69,22],[64,25],[67,22],[68,18],[76,22],[65,18],[72,22],[74,22],[46,27],[53,28],[85,29],[54,30],[95,31],[44,27],[45,32],[50,33],[51,34],[49,35],[40,36],[96,37],[98,38],[100,38],[121,39],[124,40],[120,41],[125,42],[119,43],[126,43],[130,44],[127,45],[122,41],[129,46],[128,47],[123,48],[131,38],[99,38],[132,38],[138,49],[134,50],[137,51],[136,52],[139,38],[142,53],[140,43],[143,54],[141,55],[147,56],[144,38],[146,57],[185,58],[148,38],[149,43],[150,59],[155,60],[151,61],[153,62],[152,63],[154,63],[133,38],[135,38],[158,64],[156,38],[161,65],[159,38],[160,38],[157,43],[166,66],[176,67],[173,68],[170,69],[145,43],[177,70],[178,71],[174,72],[179,73],[182,74],[168,75],[171,76],[172,38],[169,77],[175,78],[181,79],[165,80],[180,81],[162,38],[163,38],[184,82],[164,43],[183,83],[167,84]],"latestChangedDtsFile":"./index.d.ts","version":"5.9.3"}
|
|
1
|
+
{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/@types/react/global.d.ts","../../../node_modules/@types/react/node_modules/csstype/index.d.ts","../../../node_modules/@types/prop-types/index.d.ts","../../../node_modules/@types/react/index.d.ts","../../../node_modules/@lynx-js/types/types/background-thread/animation.d.ts","../../../node_modules/csstype/index.d.ts","../../../node_modules/@lynx-js/types/types/common/csstype.d.ts","../../../node_modules/@lynx-js/types/types/main-thread/animation.d.ts","../../../node_modules/@lynx-js/types/types/main-thread/element.d.ts","../../../node_modules/@lynx-js/types/types/common/events.d.ts","../../../node_modules/@lynx-js/types/types/common/system-info.d.ts","../../../node_modules/@lynx-js/types/types/common/performance.d.ts","../../../node_modules/@lynx-js/types/types/main-thread/lynx.d.ts","../../../node_modules/@lynx-js/types/types/main-thread/events.d.ts","../../../node_modules/@lynx-js/types/types/main-thread/index.d.ts","../../../node_modules/@lynx-js/types/types/common/lynx.d.ts","../../../node_modules/@lynx-js/types/types/common/global.d.ts","../../../node_modules/@lynx-js/types/types/common/props.d.ts","../../../node_modules/@lynx-js/types/types/common/element/component.d.ts","../../../node_modules/@lynx-js/types/types/common/element/filter-image.d.ts","../../../node_modules/@lynx-js/types/types/common/element/image.d.ts","../../../node_modules/@lynx-js/types/types/common/element/common.d.ts","../../../node_modules/@lynx-js/types/types/common/element/inline-image.d.ts","../../../node_modules/@lynx-js/types/types/common/element/list.d.ts","../../../node_modules/@lynx-js/types/types/common/element/list-item.d.ts","../../../node_modules/@lynx-js/types/types/common/element/page.d.ts","../../../node_modules/@lynx-js/types/types/common/element/scroll-view.d.ts","../../../node_modules/@lynx-js/types/types/common/element/text.d.ts","../../../node_modules/@lynx-js/types/types/common/element/view.d.ts","../../../node_modules/@lynx-js/types/types/common/element/input.d.ts","../../../node_modules/@lynx-js/types/types/common/element/textarea.d.ts","../../../node_modules/@lynx-js/types/types/common/element/title-bar-view.d.ts","../../../node_modules/@lynx-js/types/types/common/element/svg.d.ts","../../../node_modules/@lynx-js/types/types/common/element/refresh.d.ts","../../../node_modules/@lynx-js/types/types/common/element/scroll-coordinator.d.ts","../../../node_modules/@lynx-js/types/types/common/element/viewpager.d.ts","../../../node_modules/@lynx-js/types/types/common/element/blur-view.d.ts","../../../node_modules/@lynx-js/types/types/common/element/webview.d.ts","../../../node_modules/@lynx-js/types/types/common/element/markdown.d.ts","../../../node_modules/@lynx-js/types/types/common/element/video.d.ts","../../../node_modules/@lynx-js/types/types/background-thread/lynx-performance-entry.d.ts","../../../node_modules/@lynx-js/types/types/common/element/frame.d.ts","../../../node_modules/@lynx-js/types/types/common/element/overlay.d.ts","../../../node_modules/@lynx-js/types/types/common/element/element.d.ts","../../../node_modules/@lynx-js/types/types/common/element/methods.d.ts","../../../node_modules/@lynx-js/types/types/common/element/attributes.d.ts","../../../node_modules/@lynx-js/types/types/common/element/index.d.ts","../../../node_modules/@lynx-js/types/types/common/console.d.ts","../../../node_modules/@lynx-js/types/types/common/index.d.ts","../../../node_modules/@lynx-js/types/types/background-thread/event.d.ts","../../../node_modules/@lynx-js/types/types/background-thread/nodes-ref.d.ts","../../../node_modules/@lynx-js/types/types/background-thread/app.d.ts","../../../node_modules/@lynx-js/types/types/background-thread/performance.d.ts","../../../node_modules/@lynx-js/types/types/background-thread/fetch.d.ts","../../../node_modules/@lynx-js/types/types/background-thread/lynx.d.ts","../../../node_modules/@lynx-js/types/types/background-thread/native-modules.d.ts","../../../node_modules/@lynx-js/types/types/background-thread/text-encoder-decoder.d.ts","../../../node_modules/@lynx-js/types/types/background-thread/index.d.ts","../../../node_modules/@lynx-js/types/types/index.d.ts","../../../node_modules/@types/react/jsx-runtime.d.ts","../../../node_modules/@lynx-js/react/runtime/jsx-runtime/index.d.ts","../src/collections.ts","../src/errors.ts","../src/culture/bidi.ts","../../../node_modules/@internationalized/date/dist/types/src/calendardate.d.ts","../../../node_modules/@internationalized/date/dist/types/src/types.d.ts","../../../node_modules/@internationalized/date/dist/types/src/queries.d.ts","../../../node_modules/@internationalized/date/dist/types/src/utils.d.ts","../../../node_modules/@internationalized/date/dist/types/src/calendars/gregoriancalendar.d.ts","../../../node_modules/@internationalized/date/dist/types/src/calendars/japanesecalendar.d.ts","../../../node_modules/@internationalized/date/dist/types/src/calendars/buddhistcalendar.d.ts","../../../node_modules/@internationalized/date/dist/types/src/calendars/taiwancalendar.d.ts","../../../node_modules/@internationalized/date/dist/types/src/calendars/persiancalendar.d.ts","../../../node_modules/@internationalized/date/dist/types/src/calendars/indiancalendar.d.ts","../../../node_modules/@internationalized/date/dist/types/src/calendars/islamiccalendar.d.ts","../../../node_modules/@internationalized/date/dist/types/src/calendars/hebrewcalendar.d.ts","../../../node_modules/@internationalized/date/dist/types/src/calendars/ethiopiccalendar.d.ts","../../../node_modules/@internationalized/date/dist/types/src/createcalendar.d.ts","../../../node_modules/@internationalized/date/dist/types/src/conversion.d.ts","../../../node_modules/@internationalized/date/dist/types/src/string.d.ts","../../../node_modules/@internationalized/date/dist/types/src/dateformatter.d.ts","../../../node_modules/@internationalized/date/dist/types/src/index.d.ts","../src/culture/digits.ts","../src/culture/culture.ts","../src/culture/calendar.ts","../src/culture/numbers.ts","../src/culture/text.ts","../src/culture/coordinates.ts","../src/culture/date-format.ts","../src/culture/duration.ts","../src/culture/natural-date.ts","../src/culture/strings.ts","../src/culture/relative-time.ts","../src/culture/index.ts","../src/enums/index.ts","../src/exec/diagnostics.ts","../src/services/abort.ts","../src/exec/options.ts","../src/services/clock.ts","../src/exec/trace.ts","../src/exec/safe-executor.ts","../src/exec/index.ts","../src/icons/generated/glyph-svg.ts","../src/icons/glyph.ts","../src/icons/icon.ts","../src/icons/glyph-slots.ts","../src/icons/icon-fonts.ts","../src/icons/packs.ts","../src/theme/color.ts","../src/icons/svg.ts","../src/icons/index.ts","../src/layout/index.ts","../src/route/address.ts","../src/route/catalogue.ts","../src/route/journey.ts","../src/route/sink.ts","../src/route/resolve.ts","../src/route/view.ts","../src/route/index.ts","../src/services/feedback.ts","../src/services/preferences.ts","../src/services/contracts.ts","../src/services/keys.ts","../src/services/motion.ts","../src/services/index.ts","../src/tokens/generated/metrics.ts","../src/tokens/generated/palettes.ts","../src/tokens/layout-metrics.ts","../src/tokens/css-vars.ts","../src/theme/aliases.ts","../src/tokens/shape.ts","../src/theme/oklch.ts","../src/theme/theme.ts","../src/theme/brand.ts","../src/theme/recipe.ts","../src/theme/sanitize.ts","../src/theme/appearance.ts","../src/theme/css-color.ts","../src/theme/token-themes.ts","../src/theme/appearance-kit.ts","../src/theme/contrast.ts","../src/theme/control-colors.ts","../src/theme/design.ts","../src/tokens/derived.ts","../src/theme/variants.ts","../src/theme/index.ts","../src/tokens/root.ts","../src/tokens/index.ts","../src/index.ts"],"fileIdsList":[[102],[101,102,105],[101,102,104],[101,102],[101,102,104,105],[101,102,103,105,106,107,108,109,110,111,112,113,114,115,116,117],[101],[40,95,96],[41,85,86,87],[52],[41,77,86,87,88,89,91,92,93],[41,85,86,87,89,90],[85,87],[41,85],[48,77],[42],[43],[50,54],[46],[40,50,54,55,56,57,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,78,79],[46,50,54,77],[46,50,54],[55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,78,79,80,81,82],[57,58],[46,50,54,58],[46,60,63],[45],[47,51,52,94],[43,46,47,48,50,52,53,54,83,84],[43,46],[51,85,94],[44,85],[45,46,54],[44,45,49,50],[48,85],[37,38,39],[40],[97],[97,99,118,120],[97,119,122,123],[97,99,119],[97,99,119,120,121],[97,99],[97,100,119,120,121,122,123,124,125,126,127,128,129],[97,121,123],[97,99,121,125,128],[97,99,120,122],[97,119,122],[97,132,134,136,137],[97,99,133],[97,99,128,132,133,134,135,136],[97,132,135],[97,99,141],[97,99,140,141],[97,99,140],[97,139,140,141,142,143,144,146],[97,99,139,140,145],[97,98,99,130,131,138,147,148,155,161,182,184],[97,99,149],[97,149,150,151,152,153,154],[97,149,150],[97,149,150,152],[97,149],[97,99,133,135,152,156,157],[97,133,135,156,157,158,159,160],[97,163,165],[97,145,163,167,168,169,172,173,175],[97,99,145,163,167,169,170,171,172],[97,145,163,168,169],[97,145,163],[97,145,169],[97,145,168],[97,145,163,167,169,174],[97,145,166,168,169,170,171,173,174,175,176,177,178,179,181],[97,145],[97,99,163,167,168,169,170],[97,99,145,163],[97,145,163,168,169,172,173,174],[97,131,145,163,165,180],[97,162,163,164],[97,145,163,165],[97,162,163,164,165,167,180,183],[97,163,165,167,180],[97,165]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb5b19b86227ace1d29ea4cf81387279d04bb34051e944bc53df69f58914b788","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6fdd3074ba01fc8aff89a11055a33516aff7a42a3599fc0e7dce64047a5e3fd","impliedFormat":1},{"version":"87d9d29dbc745f182683f63187bf3d53fd8673e5fca38ad5eaab69798ed29fbc","impliedFormat":1},{"version":"035312d4945d13efa134ae482f6dc56a1a9346f7ac3be7ccbad5741058ce87f3","affectsGlobalScope":true,"impliedFormat":1},{"version":"07b03f752ae52a7130e06c5a8399d3a0dde07a1a634f8430b80cd6236c56b5c8","impliedFormat":1},{"version":"8a8eb4ebffd85e589a1cc7c178e291626c359543403d58c9cd22b81fab5b1fb9","impliedFormat":1},{"version":"acbac4ca6cd4b2b459debc4a274535775cb6278a8315be383fafa623ab78f18e","impliedFormat":1},{"version":"e421d0b097c78304a2597c1f33da586630e1dc665ae381c0c36e5ebc4aaf4566","impliedFormat":1},{"version":"adf624c89a0d509a789f3c0bf522969d2c47033dbeb50920b37cd89be475a65e","impliedFormat":1},{"version":"f4664d05efc95a0fb8ee228d391e5271a1c8fc9bc3452c7bd760f9ca18b5a837","impliedFormat":1},{"version":"b32b532dcbe0a91d71fd94cb780e94bdfdce10be21608d914c29fb4b8939b24a","impliedFormat":1},{"version":"eb2b64881998b562a4fe9330e55aa2466cd3a41a1a57e93feac6555218cec06f","impliedFormat":1},{"version":"6db1694d205177322d792d924335b046b80607445a45c0d2de1fcffd190b48c0","impliedFormat":1},{"version":"d5465281e0aaffe267f46382c5f014740dc16e7fd8e1c57a0b0ddf8a2eab9be4","impliedFormat":1},{"version":"f7e5c3960dd9df65d83408b9be446f7119fa1db1dd8266dd343349d90c3bf2ce","impliedFormat":1},{"version":"09c6491ed74af89a4155feafedecaf77780f5751c66d4b65b18d30fc0e053a75","impliedFormat":1},{"version":"188b01044640e5ef65f6edf0dd6e6454f02dd19f4ead66b9e03ebe26cc7298ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d34d6de13412a24e8d9252040d972edce68b4db8d8a64a3f7fd63ca1fda3a67f","impliedFormat":1},{"version":"5bf51107315834a209b08395b141e262b7d143d14f6b4e4d403d8e020cef7e32","impliedFormat":1},{"version":"db0dcbe48d5cb38315083b412c8ab6995b0d42dc73b286833e296827feb0e5b4","impliedFormat":1},{"version":"b3e4a49a3ba19463662e7b821544948b953d2f6708370d42406bda558084000c","impliedFormat":1},{"version":"7c5e49b3d96da389b07d4ae3705c9f33a03dadcd04e6c0e76edece6d636f4ce7","impliedFormat":1},{"version":"24e9add3c802e7c9431b2c99edbbda02c1899901fd955dfb2e9ee3e9cdc93c4c","impliedFormat":1},{"version":"cd6611fd8cd9d40de1bdec02a3c5027c968c4aaf7639ee88ee48b2c41edeaddc","impliedFormat":1},{"version":"32d1e153cac16ca3a3f5f6b68fae76cddcda509950fa00d038c465776359db0c","impliedFormat":1},{"version":"0d85d0fa55dd433acf924675d7e976c025c8521c91a76079844cd15e52855ccf","impliedFormat":1},{"version":"89da6ea3ee9735e712691227b0e5ee74381779f9ad8b0f4fb7ced0247b16735a","impliedFormat":1},{"version":"77fbe475cb649a3598aa8f932ab5f6fe011444d94b52d329078c1f6d63c5d3bd","impliedFormat":1},{"version":"7618f7fdf0abf7f712cefe766ac1ab7fcd1f8e753c513e57d3ada9ada3a57257","impliedFormat":1},{"version":"db0441149b37984c225e945a112713d07616b34552d64f814c5cbf8e8c95f165","impliedFormat":1},{"version":"51f5a8fa3de5f13b21ba2604b4de8f0aae3d97acadab981d536a282ea26257af","impliedFormat":1},{"version":"0e323630cbfda771430e2720f6a2f02f257becd8fb9722aa975ae773fb572210","impliedFormat":1},{"version":"56dbc770513baae28f7cfbadeba5078bb13a37a13132a5292e98a8b103312b98","impliedFormat":1},{"version":"84ff906032fe12e816bfb7441cee6726243e5a7316c4f2d6b0a6c149f1a91a16","impliedFormat":1},{"version":"446e9432c63958893f65b4f7eea86fb5b506c2e0e7dd971a1f75e361b333a3db","impliedFormat":1},{"version":"dcbbe1fb0f2c0efc12e29db8bbccb5b82513384d01d7a55342065cb0611da272","impliedFormat":1},{"version":"af209189a194cf5ad1f7b22dd680b52843fec2e30f1283be20b2977872fd4424","impliedFormat":1},{"version":"18e37ffc10db360e66b0af639e55bcc66496830994734f64a97c6751458f7f3a","impliedFormat":1},{"version":"14137199a98201c616a7ee925bfaa9809b659dfbec733f86fa5dc5348a897de6","impliedFormat":1},{"version":"f64cd565aca17df45f4666473da75e4ce51a2610e2ed1c31198e9f9325747a24","impliedFormat":1},{"version":"e415a17ab6a413d6be640457231e045541405eab1f0f370c7dd1e5567aa25999","impliedFormat":1},{"version":"8c03a41d6dc701b6648db83d71a92dc27147d7677ab5d70f32675e7e37b3795a","impliedFormat":1},{"version":"e27b62f2410bb10697800d1c09ae2c48db46cd1eca18ffdd35022b1802bfd6d5","impliedFormat":1},{"version":"2ec0bfa713f313f8b2dc2bf64c5962433722ea7b413f69428106a65584656dc9","impliedFormat":1},{"version":"b2d74af681f440a07e714ae9a33e3ea49c79870b9674058114c0404d2aa2f190","impliedFormat":1},{"version":"24f31e43eb3505e5d2946315e7b8ee8b426dfbe92c3031e435a4eb2d9dd8d69f","affectsGlobalScope":true,"impliedFormat":1},{"version":"5b6a59d1e98f908badf07f243deb42ebd926b4e3d33ec00a5f50cbb8d0464488","impliedFormat":1},{"version":"c669ee7ba01fa6a60b17c3535f96b65fa82dfd2a475a8760364f2f3952f9bcbd","impliedFormat":1},{"version":"a8b121f6a75d603075e62793ff0c109112e882dd6ca2b70bdccbd8d8f753429b","impliedFormat":1},{"version":"f378d7ed5e3ecbe382ade55127a9c98e826c76f786e06effad6fde91a7023d55","impliedFormat":1},{"version":"4e3e9539df72b3bfcc56fa13140070020dac72f1eff39237b11253482cb99847","impliedFormat":1},{"version":"5a47b3a2bbe2c9b015fe356462afe0abe391c592fffbe277126e2415e0811967","impliedFormat":1},{"version":"b1248e5931d2a49c697203e69449c58dacd3d19f12d76bf11d816600a0cf423b","impliedFormat":1},{"version":"0b02aebd8c41453aefd3b1f33b9b9862a57770f8b21e916ecc5b35c0bedcc52b","impliedFormat":1},{"version":"e52840670587e82e129c9bfc6a2f42d9c2f2e1fd6ce176fea998383a8c941ea5","impliedFormat":1},{"version":"31ca1ee726f5d7c7709913b98be76fc40fdfaaca6ad7fafc222108981e11227c","impliedFormat":1},{"version":"556db73da59f5162cdf5c7ea1bc3b063b6ccb758078ef6517ad6f6e4ae7b199a","impliedFormat":1},{"version":"0a2c8ef08611f5a5f711c7b10ba70d10dc1c6af0c9dba8168cbbf34911b74188","impliedFormat":1},{"version":"1d6ef45145a9939a43062fe18188d4f7bdfdf4547978e1f6b7c9089fe53e81e5","impliedFormat":1},{"version":"42c169fb8c2d42f4f668c624a9a11e719d5d07dacbebb63cbcf7ef365b0a75b3","impliedFormat":1},{"version":"509a86836776d5c821901abc16a2d21de674d2c8943ceb8d018049bf324bc56c","impliedFormat":99},{"version":"42204f4543c2a8d92bdee756d5e3f09e2612497ad26b5c36a285d99d34efa377","signature":"d533d1fe3018752aa47ee74ae5dbdca34377441b891176ad99bd33366a64372f"},{"version":"18609e84384328c186664b8c5b407e379ee197a4bc40d0e985b5c8050ce29df7","signature":"ccd708c3fff99b4ec315e14315dce6b9e85f4c96d10131e9fd219edb6efbdb26"},{"version":"714560fb0e2ff57d67dcb3337a40ed0d9acddd7bcfad0e80ca3f0da9537dadaf","signature":"577287aa28cdd2976297531706a5baea4ba5171512f500731d3feba37057d851"},{"version":"217c6f6adcf5111e57a516f20bb0f3624f4a0c8c95b4dfd757b2c191439d3aa4","impliedFormat":1},{"version":"302d0816f71d30d6615895a696aab24cf074ac8e9d5b90021c9a4a29f4121d27","impliedFormat":1},{"version":"a68e0e4868a1f61702c5b91cc2b0437168acc49e318896a891368f52e0420781","impliedFormat":1},{"version":"eb57169d1ef4957f9322372942255786231714bfd3475dec56980d4075a99bb8","impliedFormat":1},{"version":"d13b4c54324181a93a23ce284b3a7a1a2148a35aecc95c562353e28a799cbeab","impliedFormat":1},{"version":"3ec9cc2c9621174a735593a03b48415ce4e0e4002a1fd5e56fffa029739561c5","impliedFormat":1},{"version":"a9b763da625de15e560fa1d58de51694c5cc45ac84f942bf85bd022b03806d9b","impliedFormat":1},{"version":"801d799959670d8a15b3dfc95d4b11dc2a0dbdb288c1de56404022ee45206302","impliedFormat":1},{"version":"dc1897f61ef7cd55f6e7572332ff23225661fa8814f9f2137655a724445dfcc9","impliedFormat":1},{"version":"af4a925b523e9c391ee4d4451cf658849e9d92e2c6fb63ac39024b6264916751","impliedFormat":1},{"version":"d0139e18847aa6b6e33b8b8fa43ca8c6fc24baa26cfc6b845078500d5810e392","impliedFormat":1},{"version":"4d22f9e46854d0e44f827c33ed9b7da2d407a4ef6dc962a53345b1f9d0c75b13","impliedFormat":1},{"version":"6c60775bbec04bff8661a7601d0fe26e696dbd1d5287ffd7cba68e8978b4cf4c","impliedFormat":1},{"version":"1185a5e4d82d7b64bd5438019fcd6eec765a64f0cc36c3af738c5ae317c7b957","impliedFormat":1},{"version":"bf4a94dcf6335c0bb4ab927fb56a646ea9ac57123b2677c2eb9841302dc3f1da","impliedFormat":1},{"version":"10175cdd19d960f50473c229d98659a5b2534a48bd86acf647e8f2878aa25d29","impliedFormat":1},{"version":"7721b07afcc035f4aff3af52d1a982d7fbd2525a9ab82b197b67d8eefc915de6","impliedFormat":1},{"version":"e943098dc1cc3574e0d903a7ac2d90d6863d243dea9295b4a8fd34223a8277e1","impliedFormat":1},{"version":"a142f5afe12787e110a2e7ff7ee4a02647c022ff0839e7c7ae0f4a41278ae1f1","signature":"44b82e4f46178400732ea809a906f7ffb9dd38efab331ca23e7ca4586bf903ef"},{"version":"7db764083fb927c05340e42cae128a68b53ce9d4bddfc7845e4f7c4d22772a9f","signature":"d5621f942ab05c1c3594b5b59070c2f44d411f01ba97eae6bd60cd99ab6be102"},{"version":"bdfd4a2c14afeeb21b587929fcf19c8f90ef4b3b659415724b1fcb4375b537b9","signature":"69af30b9df408f844bd30e26ade1ba783c7624bd505ecef61a7e178624ece0eb"},{"version":"2c0754ee9b1637e850da1e2fa4e7b98e7eb30fc2b10a84c42fe33d9302383038","signature":"2064567cac7c44696477d8faeb79ec714624c341bee71ea7237ea2ef2e26e8a4"},{"version":"e4f055733edd90b02d1683c88b4461b744cef922ef9668a07e280da95fcf5562","signature":"b3575fc6f742fdcb7c500e826958dc5aabea5c7120a02373172ef934f3881084"},{"version":"3ac0b6ea92d871267625ea34f72a3090a7638a1d01c466c0ba7666e63c54c586","signature":"9d4e2786d2e8c5c304e5f5f282f38deff75dddf26d89e53c1c4872a7f9a7ecbc"},{"version":"521f08c786cd4cdaab2da57ce3dd6454f47a8edc501f8ba36c9b6ce4e223b6a6","signature":"3dd51a4b01e4a63709253bf28547f961d6bc64df7b7ced76bc0771800446ecd4"},{"version":"6c8dfe4a5ac25365b0c5c0817051732acead3f788f3567815ec775029b1661d2","signature":"28b43630d8d29a300e1e5b0f5efb04c8f994d372fff1b653ce8bb70d4e011e1a"},{"version":"24f4573a7b128e7a5f50de724a02ab69b27df707cdcfe044e6df2cccd3afe7c9","signature":"36f2fc7f6b07a9966273bda82f2b0b450b42d3320a9edaf91730c333ad86e257"},{"version":"b67192c27290fe55623013054f6c0ff6a63311e1266467c2f675dc4d7aab93b8","signature":"07477fef265592fa976f17bca69f4d03c112e321357c49d17232b5b5e493caf5"},{"version":"7bb7ff36e4fae5f3f2eeb2d1e70b46fac0412da4e4b65efd28fc95e5ba622995","signature":"ddb01c2474a47c2411bde75e969c547fd52dd0de9d39837970a6ec5effea934f"},{"version":"6ae5951518734cdb23962dd5f23d745ba729d6d5026b2b41194d0c8bc95f739b","signature":"1018d59d45ae46221f677d09749ba2a98fc0adc11871eac85aacb4564fa3da1d"},{"version":"e983009f8ace928b08216908294b679b05ba261050e72803bfda43726b2219aa","signature":"5e621ae454f5ff6bfea91a558b93eb3dee64eac6f66ad8d6739a4a7c396a42f7"},{"version":"16307e253df4bb417223e5814bcc5742d1b7d9b893bd72418b8cfe8e6f7ab474","signature":"abc924fce33b86b9f8588de3a5be04c609fafa6cb1dc42629b3e9e3e18f7d018"},{"version":"cc74809c9fbebdf300941acce9a07ea6ff52bf91840e738014d4dc2645f153bb","signature":"f919e3a8b2d274b631ee4fee0c50eba1d3f39ceaccba04dff915e9f61e9f153c"},{"version":"38ccbb46155bf41c02e47d4bd2167b1a0f6b5429be49596da7e6b203cd7176eb","signature":"db505b070be7771c50bb80800e4a16333bea91619030d33e9d1b1d6d245fde72"},{"version":"3c106b0a8bab93d06df0fb9fb79a4814e9d333aca28138f2e8f053f9260cea38","signature":"d1b2970d348eb9f89ef0f0c6730d27e9331067a28f21c8bd667ba1138d5d3e93"},{"version":"23f824bd861a6cf696a4571ffeca7cd5130ff1b4d30ade235d6fed7fbc6fc78f","signature":"cefcb1f078d33a40c707d4a239ee518a595d7553b4205a4a23c1bf84a743a94e"},{"version":"5ab239682bfcdf7c0d429cfed2f0bd83489103ffab0e2be6b6f3014af19dc316","signature":"4f83143f730ad8fd66ec8f779b2f43399ed4b84aec6f5df5fdc4a2436739e934"},{"version":"4719b38ecf1f698d62ba291298047877c04dbc1848a27307a4edeaeee1bc66c7","signature":"830e8c15e2893c5864835fe97bad3fdc5d46bb9b72a66851365b8411347dda10"},{"version":"f2175ae864cb2550da788b15fc4a39aa398df0665466213d25371c5d7b685c21","signature":"b24ac81f4fcff56ed9827736abcf2f92ea5f86e16d66eb2ee3ccfa0bb8143bc9"},{"version":"26c1a7b48b53476c1dc0e107d0b0fe71b6148f4e320f660a0bfb7d20e67c1835","signature":"068309ff581d08c276c4a772ddf3ab9c8090e591fc9917fdc6cdffc12c95a5bf"},{"version":"854f9b8c6d757b73f1c168038e3a5b24e2ca973d803c49ad43949447d4615f07","signature":"4285e8b8ec9bdea3ca2630c4d79f715587cc3262e5613fbd7bea8ffd32cc097c"},{"version":"03b57a8957f6cf8905df145665b4e64b8368c98e8b6802f8cff765ffc25e27c8","signature":"2b8a3fa14f4b24cbb3c2c783ae0805bc1a857cdf7d35308956f3660ef0229c3c"},{"version":"24189dadf4ca8b95ef97800d08ca7c98abdf1d6f0a1955fe66d94608fce724f8","signature":"f55ab5598602804a77bd7ff4f8442ceb29c6603120e1e6fe39b346dbcea9a438"},{"version":"f1172c2e3d40c9560d42e228cc14af529d8353de8df93caea82ce03fdffe4464","signature":"7ec540fd5fb0761576c417b27ea61ec08123412487b020942c893510dce970db"},{"version":"4e86b93241304e96d9fdc6554c7bf88dac95b8ea2484327a899a677a25d5e5ca","signature":"c15fea45b893c73bcad76ae565d59a0472ae0f74713ead9a9e7eb37085260c09"},{"version":"c71d509a443c45af8cd7bd84ea979bd5410677deaaf1983921949cb4cd952a05","signature":"344f7de9b0f6fa5ff42d99bac404c169596a2272a8b3d225beec056e4106bcb9"},{"version":"4815ef09b602fc55d4316ff4f04a7ead013f3827fcdd2436c3179a90ad9a45b9","signature":"ee2cc74d84f07861cccd51753c16296dfa24d6a19443262b4ec957bd451c46eb"},{"version":"9633cfd1413933ac2b54fc9959dc1591dc7b3d3b502b1fa3b3165407adb99002","signature":"cf4ef9c41637cb6995fee096890a0e6113141bcce82cc7d5754c281f03ad889e"},{"version":"52ba4ecb0b6a0c7250b7a10edf12ed75bafeb7ce812ae78255e3a149658dfe41","signature":"0fe3cc2e808353835af39798e6e169bbc1ce0cf473122316a019376a1d6d98cb"},{"version":"6069d1262128233eb04fb50264af01eb16258a8ba9a5bef9ebbaa8133459ec91","signature":"67b7d490a2cf3547f783c6f8e3019a6864f12cc657d17cf378146e7073cceb0c"},{"version":"b5f6738fc61eefd5acebabba48278250c0de84074f5c04a4c60414554d8f672b","signature":"6365c6701ad1cf8d99205387000a0324a573890107b2f475fd6a82174f0389c3"},{"version":"11fd46a411f0b66dd99a50a2274a73929d973614a5fa81bb9fb51aa6ee0cce92","signature":"d89fd83960c2343d5af55b3c174b5997272cd89af982d41bc21af8b8332cf149"},{"version":"79e9f560eae83744faa3e53154ee9bdb9f3941506eadd8d3a87935b2f90ccf4a","signature":"86a386c8741a08a24b2491c0d160bc2ee271b728c1f152d6705ffd69024679ee"},{"version":"10cf6b1e023bbb169c90ad7ff1c792552bdb73baf9f277ee1ca3e213b9b37452","signature":"49bca6d49d9c5a525146bba60a48e448e1eabe79be789a7b5238ac10a2f620b3"},{"version":"1238f61c8db8e5ab8beaf5a9dbe5cad66661666e4e944fe92c38694c6a20cc1c","signature":"6f8692b9b0416b85506884f641a30a8f75b0b035c9948020a7117ca2faa6a840"},{"version":"b278c7dbac38a0c57ebcde6b848e7cd017a59f9ca770d9aaa4c83d6c09cf86ef","signature":"cd3a9799c8e0996b4d31d5235a8ae105b79a7fa31ba8f660ca35b043048ef757"},{"version":"cb8bba022b800c1acb8ef8bfe465bfef7e43d22d06f20a8d6e7503aca0f4d570","signature":"ee4e73f46ce2f6517e82434bd9fc63c8b6b2179d37d74525899f124a76d06669"},{"version":"69c39cdb2e91af538c7e6f54dd653864e0bc3eb765ba4f394d80f945eb1bfdcf","signature":"fd74286e0037339f88fdc437ede3c31139164faf238651e54abb805732d4b541"},{"version":"34b8960c9c9618b4742beb6198843f0e58ad8669864dac868507480ea6d8b10b","signature":"5f96841314e358366bcb3b3d07c8b8d924e90dcd00dcf2202900cbfaeefc1a03"},{"version":"db8a43eda6f42311a421d8839efe110a9436be9bc55eb5cd9ccd53c687b52537","signature":"216aa3f63d62f13b158445ff6a3bea8ccfd110f2bf219d607175518c9cc5b29d"},{"version":"94b5279df6c3abe97e185b85128e29c68da26025d99317deb539810f628a36ce","signature":"f50eafec22168e69b6138149fbee4eacb5dbd53fbc15f9daa37558705d1a6bc7"},{"version":"028144708663445c29ad9ca6be95694108a6d4decaff0709a9245977fef98e8e","signature":"ab7ed47f18899e74299db14911a028a0aaf1acae17f870a64ead7d91953d40b3"},{"version":"21c4b66fbb8ad882f52c2825c45cb59ced1017b9bfc531fb8a0ef60d1240b882","signature":"faa64d270fa523f80fd31bc7340ee7f6a21632c2ea0cea6535bf5a34bcc6adf7"},{"version":"fe66054b645111cf483c589411e2bd9e2c0ccbde0ba365e029c6c20653f02112","signature":"298f8d2584216932ea238927177ef343d0b8da735eb40a5ba96b1f92e3675e33"},{"version":"d615cba0a460f5568ce3473a1434f6ccf4511042824ce281682e499a95a676c8","signature":"1862daa6bc69b267a2b595149c5bced13ce2440d0d6625d291a5450d9d3118ae"},{"version":"4c3cbd29af3564f4aca3daaf5ca047f485b217af41f529815002a98933dab476","signature":"ed24498d7fe499efeb2a3f2df83a29cd3b8b83a982d01e7d73f4cc0166e3982b"},{"version":"4cad49c0abb6ef01a06892e461a9c03f61207fcb1cd90aed9ffd1953aebe582a","signature":"15d3a796bb9e54d4712a6a461964c8ecfd7182b09714f3bd7d0b9d954fe3393b"},{"version":"3cfad95bc4e3a7cae2da5cb4b5747145754f734c50aed196f681c08081f4e61a","signature":"93d15026bf4213d204b0ed4bd102a82945c519a716d51c245dca01d6ca7d0222"},{"version":"a440fc408fef832b41e8dd4988e1ab8d06c6d82a849c33efc9f59af0b8a35994","signature":"27c5013992e6c2d1a82395d90ac5877a70066f03f74b2a91d70e9eafa0666655"},{"version":"183c11473cd567bc10ae010c8db5e4205a91754bc0a3cb6db7dcdcd644d137b6","signature":"b1dff8567dd02ba98547471feb38597022193ca26b6ce853d28d2092b36669f6"},{"version":"b0740410649ef8daf5925d4bbac60c8f4f79a31c61e8ce02e5ad26c8c11705ad","signature":"264dc4b816ffdeabcb52d9698df80b809d3d616e1d394b9891f8163acdc69140"},{"version":"fa790fa82a01d9f729f941c5c80e4eec51314ce7afacfad53025970fe495d321","signature":"a324358754f94c05fa3bd4748c35928c38ffc911e454d4fc076c7aff6c428c15"},{"version":"76f792c697c5ac05595d1ce061ae0b1b98296a76a5535868071d622455425a7c","signature":"dca501d8eff2db8c8309ccb2667b3b70f6e80290b91081bd740fe933fadc0c03"},{"version":"89921042d23f5b525d2b269e3754f7fdccd12dccd4491363248c5e79bb88e02e","signature":"718f81461dec01a5272f4ccf5efb006306f28ccd8f70b3c49e0221b9db21fdbe"},{"version":"73f46861ae92cd4ccac31f5045c6b548952a844d84fcbf63499c1a59c986619f","signature":"f484e0e4fa693a32c3ec182f8cd0ad3994c5efdc44c5969fd8c236c00a772d30"},{"version":"1cb16dd6dabd3a510cf89485546a34d38bb885f34f981627e46fdf7cebc3948f","signature":"2e3bd3aa1d6f941426e608169489cb33633ef7fb0294677e0d3151ef6c8dc913"},{"version":"312605bae92cef4d14e1c11bd9d624a907302f2360c43764ccb63437b8eabce0","signature":"e6c6e5af757c1a353c031cbd0e917586fe9ee9767a80937c7763718431cefb17"},{"version":"8c1ccf55df4d01257496b438fa372bea784e018d9b7327bd1fbeb90ad1f0aaf9","signature":"edc33c8870895bd9b0255d99fc8213efeddc0acf0031b7fa6cd8cc372f446c46"},{"version":"05874ba226e10081ca4c853d185e1f88701abdc601bd661f00338a730805824b","signature":"29ffac17044f96c464965f99ecb812783d5b524d6187cc9cc55b784abdf95fb2"},{"version":"59d217109d70b75a91c57fee208242e56bb535687f2092c373885aae511fc42e","signature":"c742b17e5e316108f45f793bdfe9e074092b12cb6e8d8a1683f6c62af6b0465c"},{"version":"aff24855ea3fba97546860cda5e8d435e40a5d2f02b93342dcc7d8b694131c05","signature":"ec73711a5e3798a36346e15ad1c2c3521a5e3e1515436835fd37986c8cd3c7fe"},{"version":"e89f8cb160b8a1855b3bd6ec67d8443f5174b1359af01e9da73ef7e2d79f39db","signature":"5479876a6d0549f1536798428c4dcd46e8d7a5e5dcfb7d5b48da5aa237b8160f"},{"version":"36bd279cafc26def48a052ec89b8fc1676e1d055c73c8c9fb6e736883dad1ff8","signature":"9d34e36b56059d024baeb63a17467d01f2327d9568af58a7bbb168726a0b0503"},{"version":"60c5ea3628c3e2d99052a4f4de39019d4b316e40b970f722728ec678b8be1257","signature":"a438a2ecbecc0d1939a52439ca0150297820fc9d68bd9bddb6af5e9db7ab9457"},"40b6395de64bf52ad2043d18ae16bcca9b437a874dcb4c1c6829448b260a69ad"],"root":[[98,100],[119,185]],"options":{"composite":true,"declaration":true,"declarationDir":"./","declarationMap":true,"emitDeclarationOnly":true,"exactOptionalPropertyTypes":true,"jsx":4,"jsxImportSource":"@lynx-js/react","module":99,"noFallthroughCasesInSwitch":true,"noImplicitOverride":true,"noUncheckedIndexedAccess":true,"outDir":"./","rootDir":"../src","skipLibCheck":true,"strict":true,"target":6,"tsBuildInfoFile":"./.tsbuildinfo","verbatimModuleSyntax":true},"referencedMap":[[101,1],[107,2],[113,3],[105,3],[112,3],[110,2],[111,4],[106,5],[109,4],[108,5],[115,4],[114,1],[118,6],[103,4],[116,4],[102,7],[97,8],[88,9],[90,10],[94,11],[91,12],[92,13],[87,14],[89,15],[43,16],[82,17],[73,18],[58,19],[55,18],[80,20],[56,18],[78,21],[57,22],[83,23],[59,24],[66,22],[61,18],[60,25],[75,22],[81,26],[79,22],[62,18],[70,22],[71,22],[63,25],[69,22],[64,25],[67,22],[68,18],[76,22],[65,18],[72,22],[74,22],[46,27],[53,28],[85,29],[54,30],[95,31],[44,27],[45,32],[50,33],[51,34],[49,35],[40,36],[96,37],[98,38],[100,38],[121,39],[124,40],[120,41],[125,42],[119,43],[126,43],[130,44],[127,45],[122,41],[129,46],[128,47],[123,48],[131,38],[99,38],[132,38],[138,49],[134,50],[137,51],[136,52],[139,38],[142,53],[140,43],[143,54],[141,55],[147,56],[144,38],[146,57],[185,58],[148,38],[149,43],[150,59],[155,60],[151,61],[153,62],[152,63],[154,63],[133,38],[135,38],[158,64],[156,38],[161,65],[159,38],[160,38],[157,43],[166,66],[176,67],[173,68],[170,69],[145,43],[177,70],[178,71],[174,72],[179,73],[182,74],[168,75],[171,76],[172,38],[169,77],[175,78],[181,79],[165,80],[180,81],[162,38],[163,38],[184,82],[164,43],[183,83],[167,84]],"latestChangedDtsFile":"./index.d.ts","version":"5.9.3"}
|
|
@@ -152,7 +152,7 @@ export declare function g9BuildPersonalTheme(draft: G9PersonalThemeDraft, palett
|
|
|
152
152
|
readonly light: G9PaletteValues;
|
|
153
153
|
readonly dark: G9PaletteValues;
|
|
154
154
|
}): G9ThemeDefinition;
|
|
155
|
-
/** A file name for a theme export (letters, digits
|
|
155
|
+
/** A file name for a theme export (letters, marks and digits of any script, dashes). */
|
|
156
156
|
export declare function g9ThemeFileName(name: string): string;
|
|
157
157
|
/** A chat wallpaper: layers drawn behind a thread, from the palette so it follows the theme and accent. */
|
|
158
158
|
export interface G9Wallpaper {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appearance-kit.d.ts","sourceRoot":"","sources":["../../src/theme/appearance-kit.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAgB,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAClF,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,UAAU,EAAE,KAAK,cAAc,EAAkB,MAAM,iBAAiB,CAAC;AACvG,OAAO,EAAE,KAAK,iBAAiB,EAAgC,MAAM,cAAc,CAAC;AAGpF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,YAAY,EACjB,KAAK,mBAAmB,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C3B,QAAQ,EAAE;IAAE,QAAQ,CAAC,KAAK,EAAE,eAAe,CAAC;IAAC,QAAQ,CAAC,IAAI,EAAE,eAAe,CAAA;CAAE,GAC5E,iBAAiB,CAyBnB;AASD,wFAAwF;AACxF,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAQpD;AAID,2GAA2G;AAC3G,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAChD,gHAAgH;IAChH,KAAK,CAAC,OAAO,EAAE,eAAe,EAAE,MAAM,EAAE,aAAa,GAAG;QAAE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CAC7G;AAID,sEAAsE;AACtE,eAAO,MAAM,YAAY,EAAE,SAAS,WAAW,EAsCrB,CAAC;AAE3B,8EAA8E;AAC9E,wBAAgB,WAAW,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,GAAE,SAAS,WAAW,EAAiB,GAAG,WAAW,GAAG,IAAI,CAEvG"}
|
|
@@ -371,8 +371,9 @@ function g9BuildPersonalTheme(draft, palettes) {
|
|
|
371
371
|
} : {}
|
|
372
372
|
});
|
|
373
373
|
}
|
|
374
|
+
const NOT_WORD = /[\s!-/:-@[-`{-~ -¿×÷ -₠-℀-⅏←-⯿⸀- -〿،؛؟٪-٭۔︐-!-/:-@\ud800-\udfff]+/g;
|
|
374
375
|
function g9ThemeFileName(name) {
|
|
375
|
-
const slug = name.trim().toLowerCase().replace(
|
|
376
|
+
const slug = name.trim().toLowerCase().replace(NOT_WORD, '-').replace(/^-+|-+$/g, '').slice(0, 40);
|
|
376
377
|
return `${slug || 'theme'}.g9theme.json`;
|
|
377
378
|
}
|
|
378
379
|
const glow = (c, a)=>css(withAlpha(c, a));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme/appearance-kit.js","sources":["../../src/theme/appearance-kit.ts"],"sourcesContent":["// The appearance kit (2.5.8, from G9Hub item 42): what an app's Settings → Appearance needs over the theme engine —\n// the tokens a messenger adds to a palette (hover / press, fields and skeletons, the accent's soft wash and glow,\n// glass, chat bubbles, presence colours), each derived from the palette so every theme and accent drives them; the\n// person's settings (theme, light and dark themes when following the device, accent, wallpaper, text size, effects,\n// density); a theme registry (built in, the organisation's from the server, the person's own on the device); a\n// personal theme built from a base theme, an accent and a surface tone; wallpapers; and a token sanitizer for themes\n// that come from outside. Pure: the app persists the settings and the personal themes.\nimport type { G9ColorToken, G9PaletteValues } from '../tokens/generated/palettes';\nimport { type G9Density, type G9TypeRole, type G9TypeRoleName, g9DefaultShape } from '../tokens/shape';\nimport { type G9ThemeDefinition, g9BuiltInThemes, importTheme } from './appearance';\nimport { formatColor, toHex, tryParseColor, withAlpha } from './color';\nimport { ensureContrast, mixOklch, readableOn } from './oklch';\nimport type { G9ColorScheme } from './theme';\nimport {\n type G9EffectsReason,\n type G9TokenTheme,\n type G9TokenThemeOptions,\n g9IsTokenTheme,\n g9ThemeFromTokens,\n g9ThemeTokenNames,\n} from './token-themes';\n\n// ------------------------------------------------------------------------------------------------ the app tokens\n\n/** The tokens an app (a messenger) adds to the library palette. */\nexport const g9AppTokenNames = [\n 'hover',\n 'press',\n 'field',\n 'skeleton',\n 'accent-soft',\n 'accent-glow',\n 'accent-gradient',\n 'text-on-accent',\n 'glass',\n 'glass-border',\n 'bubble-mine',\n 'bubble-mine-text',\n 'bubble-mine-meta',\n 'bubble-other',\n 'bubble-other-text',\n 'bubble-other-border',\n 'highlight',\n 'link',\n 'selection',\n 'focus-ring',\n 'online',\n 'away',\n 'busy',\n] as const;\n\n/** The name of an app token (`hover`, `bubble-mine`…). */\nexport type G9AppTokenName = (typeof g9AppTokenNames)[number];\n\n/** Every app token name the library knows: its own and a token theme's (2.5.10), for a sanitizer or an editor. */\nexport const g9AllAppTokenNames: readonly string[] = Object.freeze([\n ...new Set<string>([...g9AppTokenNames, ...g9ThemeTokenNames]),\n]);\n\n/** Options of {@link g9AppTokens}. */\nexport interface G9AppTokenOptions {\n /** The person's accent (`#rrggbb`) over the theme's primary; null / invalid: the theme's own. */\n readonly accent?: string | null;\n /** Values the app (or a theme) sets itself. */\n readonly overrides?: Partial<Record<G9AppTokenName, string>>;\n}\n\nconst css = (c: Parameters<typeof formatColor>[0]) => formatColor(c);\n\n/** The app tokens for a palette and scheme: plain colours (and one gradient), never variables. */\nexport function g9AppTokens(\n theme: { readonly palette: G9PaletteValues; readonly scheme: G9ColorScheme },\n options: G9AppTokenOptions = {},\n): Readonly<Record<G9AppTokenName, string>> {\n const p = theme.palette;\n const dark = theme.scheme === 'dark';\n const accent = options.accent && tryParseColor(options.accent) ? options.accent : p.Primary;\n const own = accent === p.Primary;\n const onAccent = own ? p.OnPrimary : readableOn(accent);\n const surface = p.Surface;\n const field = (p as Partial<Record<string, string>>).InputBackground ?? p.SurfaceContainerLow;\n const out: Record<G9AppTokenName, string> = {\n hover: css(withAlpha(p.TextPrimary, dark ? 0.08 : 0.06)),\n press: css(withAlpha(p.TextPrimary, dark ? 0.14 : 0.1)),\n field,\n skeleton: p.SurfaceContainerHigh,\n 'accent-soft': css(withAlpha(accent, dark ? 0.16 : 0.11)),\n 'accent-glow': css(withAlpha(accent, dark ? 0.48 : 0.34)),\n 'accent-gradient': `linear-gradient(135deg, ${mixOklch(accent, '#ffffff', 0.2)} 0%, ${accent} 50%, ${mixOklch(accent, '#000000', 0.2)} 100%)`,\n 'text-on-accent': onAccent,\n glass: css(withAlpha(surface, dark ? 0.6 : 0.72)),\n 'glass-border': css(withAlpha(p.OutlineVariant, 0.6)),\n 'bubble-mine': accent,\n 'bubble-mine-text': onAccent,\n 'bubble-mine-meta': css(withAlpha(onAccent, 0.76)),\n 'bubble-other': p.SurfaceContainer,\n 'bubble-other-text': p.TextPrimary,\n 'bubble-other-border': p.OutlineVariant,\n highlight: css(withAlpha(accent, dark ? 0.22 : 0.14)),\n link: ensureContrast(accent, surface, 4.5),\n selection: css(withAlpha(accent, dark ? 0.34 : 0.22)),\n 'focus-ring': css(withAlpha(accent, dark ? 0.72 : 0.55)),\n online: p.Success,\n away: p.Warning,\n busy: p.Error,\n };\n for (const [name, value] of Object.entries(options.overrides ?? {})) if (value) out[name as G9AppTokenName] = value;\n return Object.freeze(out);\n}\n\n/** The app tokens as CSS variables (`--g9-hover`…; `prefix` default `g9-`), for G9Provider's `themeExtras`. */\nexport function g9AppTokenVariables(\n theme: { readonly palette: G9PaletteValues; readonly scheme: G9ColorScheme },\n options: G9AppTokenOptions = {},\n prefix = 'g9-',\n): Readonly<Record<string, string>> {\n const out: Record<string, string> = {};\n for (const [name, value] of Object.entries(g9AppTokens(theme, options))) out[`--${prefix}${name}`] = value;\n return Object.freeze(out);\n}\n\n// ------------------------------------------------------------------------------------------------ the sanitizer\n\nexport { g9SanitizeTokens } from './sanitize';\n\n// ------------------------------------------------------------------------------------------------ the settings\n\n/** A text size step. */\nexport type G9FontScale = 'small' | 'normal' | 'large' | 'larger';\n/** Whether effects are on, off, or decided by the device. */\nexport type G9EffectsMode = 'auto' | 'on' | 'off';\n\n/** What a person chose on Settings → Appearance (kept per device by the app). */\nexport interface G9AppearanceSettings {\n /** A theme id, or `system`: follow the device between `light` and `dark`. */\n readonly theme: string;\n readonly light: string;\n readonly dark: string;\n /** `#rrggbb`, or null for the theme's own. */\n readonly accent: string | null;\n /** A wallpaper id; `theme` keeps the theme's own. */\n readonly wallpaper: string;\n readonly fontScale: G9FontScale;\n /** `auto`: off on low-end devices and when the system asks for reduced motion. */\n readonly effects: G9EffectsMode;\n readonly density: G9Density;\n}\n\n/** The settings of a new install. */\nexport const g9DefaultAppearance: G9AppearanceSettings = Object.freeze({\n theme: 'system',\n light: 'classic',\n dark: 'midnight',\n accent: null,\n wallpaper: 'theme',\n fontScale: 'normal',\n effects: 'auto',\n density: 'regular',\n});\n\nconst SCALES: readonly G9FontScale[] = ['small', 'normal', 'large', 'larger'];\nconst EFFECTS: readonly G9EffectsMode[] = ['auto', 'on', 'off'];\nconst DENSITIES: readonly G9Density[] = ['compact', 'regular', 'comfortable'];\n\n/** Stored settings read back loosely: every unknown or broken field takes its default. */\nexport function g9NormalizeAppearance(\n raw: unknown,\n defaults: G9AppearanceSettings = g9DefaultAppearance,\n): G9AppearanceSettings {\n const r = (raw && typeof raw === 'object' ? raw : {}) as Partial<Record<keyof G9AppearanceSettings, unknown>>;\n const text = (v: unknown, d: string) => (typeof v === 'string' && v.trim() ? v : d);\n const pick = <T extends string>(v: unknown, list: readonly T[], d: T) => (list.includes(v as T) ? (v as T) : d);\n const accent = typeof r.accent === 'string' && /^#[0-9a-f]{6}$/i.test(r.accent) ? r.accent.toLowerCase() : null;\n return Object.freeze({\n theme: text(r.theme, defaults.theme),\n light: text(r.light, defaults.light),\n dark: text(r.dark, defaults.dark),\n accent: r.accent === undefined ? defaults.accent : accent,\n wallpaper: text(r.wallpaper, defaults.wallpaper),\n fontScale: pick(r.fontScale, SCALES, defaults.fontScale),\n effects: pick(r.effects, EFFECTS, defaults.effects),\n density: pick(r.density, DENSITIES, defaults.density),\n });\n}\n\n/** Text size factors. */\nexport const g9FontScaleFactors: Readonly<Record<G9FontScale, number>> = Object.freeze({\n small: 0.9,\n normal: 1,\n large: 1.12,\n larger: 1.25,\n});\n\n/** The type scale at a text size (sizes and line heights rounded), for G9Provider's `shape.type`. */\nexport function g9ScaledType(\n scale: G9FontScale | number,\n base: { readonly [K in G9TypeRoleName]: G9TypeRole } = g9DefaultShape.type,\n): { readonly [K in G9TypeRoleName]: G9TypeRole } {\n const k = typeof scale === 'number' ? scale : g9FontScaleFactors[scale];\n const out = {} as Record<G9TypeRoleName, G9TypeRole>;\n for (const [role, t] of Object.entries(base) as [G9TypeRoleName, G9TypeRole][])\n out[role] = { ...t, size: Math.round(t.size * k), lineHeight: Math.round(t.lineHeight * k) };\n return Object.freeze(out);\n}\n\n/** Whether effects (blur, glow, motion flourishes) are on. */\nexport function g9EffectsEnabled(\n mode: G9EffectsMode,\n device: { readonly reducedMotion?: boolean; readonly lowEnd?: boolean } = {},\n): boolean {\n if (mode !== 'auto') return mode === 'on';\n return !device.reducedMotion && !device.lowEnd;\n}\n\n/**\n * Whether effects are on and, when they are off, why (2.5.10): the person turned them off (`setting`), or `auto` on a\n * low-end device (`lowEnd`) or a system that asks for less motion (`reducedMotion`).\n */\nexport function g9EffectsState(\n mode: G9EffectsMode,\n device: { readonly reducedMotion?: boolean; readonly lowEnd?: boolean } = {},\n): { readonly enabled: boolean; readonly reason: G9EffectsReason } {\n if (mode === 'on') return { enabled: true, reason: null };\n if (mode === 'off') return { enabled: false, reason: 'setting' };\n if (device.lowEnd) return { enabled: false, reason: 'lowEnd' };\n if (device.reducedMotion) return { enabled: false, reason: 'reducedMotion' };\n return { enabled: true, reason: null };\n}\n\n/**\n * The classes an app's root takes for the appearance in force (2.5.10, G9Hub's root classes): `g9-scheme-dark`,\n * `g9-density-compact`, `g9-effects-off`, `g9-effects-off--low-end` / `--reduced-motion`, `g9-text-large`.\n */\nexport function g9AppearanceClasses(\n settings: G9AppearanceSettings,\n scheme: G9ColorScheme,\n device: { readonly reducedMotion?: boolean; readonly lowEnd?: boolean } = {},\n): string[] {\n const effects = g9EffectsState(settings.effects, device);\n const out = [`g9-scheme-${scheme}`, `g9-density-${settings.density}`, `g9-text-${settings.fontScale}`];\n out.push(effects.enabled ? 'g9-effects-on' : 'g9-effects-off');\n if (effects.reason === 'lowEnd') out.push('g9-effects-off--low-end');\n if (effects.reason === 'reducedMotion') out.push('g9-effects-off--reduced-motion');\n return out;\n}\n\n/** The theme id in force: the chosen one, or the light / dark one for the device's scheme when following it. */\nexport function g9ActiveThemeId(settings: G9AppearanceSettings, systemScheme: G9ColorScheme): string {\n if (settings.theme !== 'system') return settings.theme;\n return systemScheme === 'dark' ? settings.dark : settings.light;\n}\n\n// ------------------------------------------------------------------------------------------------ the registry\n\n/** The themes a person can pick, by source. */\nexport interface G9ThemeRegistrySnapshot {\n readonly themes: readonly G9ThemeDefinition[];\n readonly revision: number;\n}\n\n/** Options of {@link createG9ThemeRegistry}. */\nexport interface G9ThemeRegistryOptions {\n /** Default {@link g9BuiltInThemes}. Token themes (`{ id, name, scheme, tokens }`, 2.5.10) are read as they come. */\n readonly builtins?: readonly (G9ThemeDefinition | G9TokenTheme)[];\n /** How token themes are read (2.5.10: the scheme defaults an organisation theme falls back to). */\n readonly tokenThemes?: G9TokenThemeOptions;\n /** The person's own themes as the app stored them (read before the first paint). */\n readonly personal?: readonly G9ThemeDefinition[];\n /** Saves the personal list (the device's preferences). */\n readonly savePersonal?: (themes: readonly G9ThemeDefinition[]) => void;\n /** The most personal themes kept. Default 12. */\n readonly maxPersonal?: number;\n}\n\n/** Every theme: built in, the organisation's, the person's own (a store an appearance page reads). */\nexport interface G9ThemeRegistry {\n get(): G9ThemeRegistrySnapshot;\n subscribe(listener: () => void): () => void;\n /** A theme by id, or null. */\n find(id: string): G9ThemeDefinition | null;\n /** A theme by id; one that disappeared (an admin deleted it) falls back to the first built-in theme. */\n themeOrDefault(id: string): G9ThemeDefinition;\n /** Replaces the organisation's themes (from the server; each read loosely, broken ones dropped). */\n setOrgThemes(inputs: readonly unknown[]): void;\n /** Adds or replaces a personal theme (the newest first; past the limit the oldest go). */\n savePersonal(theme: G9ThemeDefinition): void;\n removePersonal(id: string): void;\n readonly personal: () => readonly G9ThemeDefinition[];\n}\n\n/**\n * A theme from the server or a file, read loosely (a newer server never breaks the client); null when broken. A token\n * theme (`{ id, name, scheme, tokens }`, G9Hub's format; 2.5.10) is read with {@link g9ThemeFromTokens}.\n */\nexport function g9ThemeFromInput(\n input: unknown,\n source: G9ThemeDefinition['source'],\n tokenThemes: G9TokenThemeOptions = {},\n): G9ThemeDefinition | null {\n if (!input || typeof input !== 'object') return null;\n if (g9IsTokenTheme(input)) {\n if (typeof input.name !== 'string' && (typeof input.name !== 'object' || input.name === null)) return null;\n if (typeof input.name === 'string' && !input.name.trim()) return null;\n const def = g9ThemeFromTokens(input, { ...tokenThemes, source });\n return Object.freeze({ ...def, id: source === 'org' && !def.id.startsWith('org:') ? `org:${def.id}` : def.id });\n }\n const t = input as Partial<G9ThemeDefinition>;\n try {\n const def = importTheme(JSON.stringify({ format: 'g9-theme', version: 1, theme: t }));\n if (!def.name || (typeof def.name === 'string' && !def.name.trim())) return null;\n return Object.freeze({\n ...def,\n id: source === 'org' && !def.id.startsWith('org:') ? `org:${def.id}` : def.id,\n source,\n });\n } catch {\n return null;\n }\n}\n\n/** Creates a theme registry. */\nexport function createG9ThemeRegistry(options: G9ThemeRegistryOptions = {}): G9ThemeRegistry {\n const builtins: readonly G9ThemeDefinition[] = (options.builtins ?? g9BuiltInThemes).map((t) =>\n g9IsTokenTheme(t) ? g9ThemeFromTokens(t, { ...options.tokenThemes, source: 'builtin' }) : t,\n );\n const max = Math.max(1, options.maxPersonal ?? 12);\n let org: G9ThemeDefinition[] = [];\n let personal: G9ThemeDefinition[] = (options.personal ?? [])\n .map((t) => g9ThemeFromInput(t, 'personal', options.tokenThemes))\n .filter((t): t is G9ThemeDefinition => t !== null)\n .slice(0, max);\n const listeners = new Set<() => void>();\n let snapshot: G9ThemeRegistrySnapshot = { themes: [...builtins, ...personal], revision: 0 };\n const rebuild = () => {\n snapshot = { themes: [...builtins, ...org, ...personal], revision: snapshot.revision + 1 };\n for (const l of [...listeners]) l();\n };\n const find = (id: string) => snapshot.themes.find((t) => t.id === id) ?? null;\n return {\n get: () => snapshot,\n subscribe(listener) {\n listeners.add(listener);\n return () => listeners.delete(listener);\n },\n find,\n themeOrDefault: (id) => find(id) ?? (builtins[0] as G9ThemeDefinition),\n setOrgThemes(inputs) {\n org = inputs\n .map((i) => g9ThemeFromInput(i, 'org', options.tokenThemes))\n .filter((t): t is G9ThemeDefinition => t !== null);\n rebuild();\n },\n savePersonal(theme) {\n const own = Object.freeze({ ...theme, source: 'personal' as const });\n personal = [own, ...personal.filter((t) => t.id !== theme.id)].slice(0, max);\n options.savePersonal?.(personal);\n rebuild();\n },\n removePersonal(id) {\n if (!personal.some((t) => t.id === id)) return;\n personal = personal.filter((t) => t.id !== id);\n options.savePersonal?.(personal);\n rebuild();\n },\n personal: () => personal,\n };\n}\n\n// ------------------------------------------------------------------------------------------------ personal themes\n\n/** How a personal theme's surfaces are tinted. */\nexport type G9SurfaceTone = 'neutral' | 'cool' | 'warm' | 'tinted';\n\n/** What the personal theme editor edits. */\nexport interface G9PersonalThemeDraft {\n readonly id: string;\n readonly name: string;\n /** The theme it starts from. */\n readonly base: G9ThemeDefinition;\n /** `#rrggbb`. */\n readonly accent: string;\n readonly surfaces: G9SurfaceTone;\n /** A wallpaper id, or `theme`. */\n readonly wallpaper: string;\n /** Light or dark (default the base's own mode, else light). */\n readonly scheme?: G9ColorScheme;\n}\n\n/** A fresh personal id (`me:…`). */\nexport function g9NewPersonalThemeId(random: () => number = Math.random): string {\n let id = '';\n for (let i = 0; i < 12; i++) id += Math.floor(random() * 36).toString(36);\n return `me:${id}`;\n}\n\n/** A draft starting from `base`. */\nexport function g9PersonalDraft(\n base: G9ThemeDefinition,\n name: string,\n id: string = g9NewPersonalThemeId(),\n): G9PersonalThemeDraft {\n return {\n id,\n name,\n base,\n accent: toHex(base.brand.primary),\n surfaces: 'neutral',\n wallpaper: base.wallpaper ?? 'theme',\n };\n}\n\nconst TINTS: Readonly<Record<'cool' | 'warm', string>> = { cool: '#3b82f6', warm: '#f59e0b' };\nconst SURFACES: readonly [G9ColorToken, number, number][] = [\n // token, tint in dark, tint in light (fractions)\n ['Background', 0.07, 0.04],\n ['BackgroundSecondary', 0.08, 0.05],\n ['Surface', 0.09, 0.05],\n ['SurfaceContainerLow', 0.09, 0.05],\n ['SurfaceContainer', 0.1, 0.06],\n ['SurfaceContainerHigh', 0.12, 0.08],\n];\n\n/**\n * The theme a draft describes: the base's recipe with the draft's accent, its surfaces tinted (cool, warm, or by the\n * accent) through overrides measured on `palettes` (the base's palettes for the accent: `recipePalettes(...)`).\n */\nexport function g9BuildPersonalTheme(\n draft: G9PersonalThemeDraft,\n palettes: { readonly light: G9PaletteValues; readonly dark: G9PaletteValues },\n): G9ThemeDefinition {\n const accent = tryParseColor(draft.accent) ? draft.accent : draft.base.brand.primary;\n const scheme: G9ColorScheme = draft.scheme ?? (draft.base.mode === 'dark' ? 'dark' : 'light');\n let overrides: G9ThemeDefinition['overrides'];\n if (draft.surfaces !== 'neutral') {\n const tint = draft.surfaces === 'tinted' ? accent : TINTS[draft.surfaces];\n const of = (s: G9ColorScheme) => {\n const o: Partial<Record<G9ColorToken, string>> = {};\n for (const [token, d, l] of SURFACES) o[token] = mixOklch(palettes[s][token], tint, s === 'dark' ? d : l);\n return o;\n };\n overrides = { light: of('light'), dark: of('dark') };\n }\n const name = draft.name.trim().slice(0, 60);\n return Object.freeze({\n id: draft.id,\n name: name || draft.base.name,\n source: 'personal' as const,\n recipe: draft.base.recipe,\n brand: { ...draft.base.brand, primary: accent },\n ...(overrides ? { overrides } : {}),\n ...(draft.base.shape ? { shape: draft.base.shape } : {}),\n mode: scheme,\n ...(draft.wallpaper !== 'theme' ? { wallpaper: draft.wallpaper } : {}),\n });\n}\n\n/** A file name for a theme export (letters, digits, dashes; any script). */\nexport function g9ThemeFileName(name: string): string {\n const slug = name\n .trim()\n .toLowerCase()\n .replace(/[\\s!-/:-@[-`{-~،؛؟«»]+/g, '-')\n .replace(/^-+|-+$/g, '')\n .slice(0, 40);\n return `${slug || 'theme'}.g9theme.json`;\n}\n\n// ------------------------------------------------------------------------------------------------ wallpapers\n\n/** A chat wallpaper: layers drawn behind a thread, from the palette so it follows the theme and accent. */\nexport interface G9Wallpaper {\n readonly id: string;\n readonly name: Readonly<Record<string, string>>;\n /** The background for a palette and scheme: a colour and optional gradient layers (Lynx `background-image`). */\n paint(palette: G9PaletteValues, scheme: G9ColorScheme): { readonly color: string; readonly image?: string };\n}\n\nconst glow = (c: string, a: number) => css(withAlpha(c, a));\n\n/** Wallpapers drawn with gradients only (no pictures, no network). */\nexport const g9Wallpapers: readonly G9Wallpaper[] = Object.freeze([\n { id: 'none', name: { en: 'None', fa: 'هیچ' }, paint: (p) => ({ color: p.Background }) },\n {\n id: 'aurora',\n name: { en: 'Aurora', fa: 'شفق' },\n paint: (p, s) => ({\n color: p.Background,\n image: `radial-gradient(circle at 0% 0%, ${glow(p.Primary, s === 'dark' ? 0.18 : 0.12)} 0%, transparent 60%), radial-gradient(circle at 100% 100%, ${glow(p.Tertiary, s === 'dark' ? 0.16 : 0.1)} 0%, transparent 60%)`,\n }),\n },\n {\n id: 'dusk',\n name: { en: 'Dusk', fa: 'غروب' },\n paint: (p, s) => ({\n color: p.Background,\n image: `linear-gradient(180deg, ${glow(p.Primary, s === 'dark' ? 0.12 : 0.08)} 0%, transparent 45%, ${glow(p.Secondary, s === 'dark' ? 0.1 : 0.06)} 100%)`,\n }),\n },\n {\n id: 'mesh',\n name: { en: 'Mesh', fa: 'توری' },\n paint: (p, s) => {\n const k = s === 'dark' ? 1 : 0.75;\n return {\n color: p.Background,\n image: [\n `radial-gradient(circle at 15% 20%, ${glow(p.Primary, 0.14 * k)} 0%, transparent 55%)`,\n `radial-gradient(circle at 85% 30%, ${glow(p.Tertiary, 0.14 * k)} 0%, transparent 55%)`,\n `radial-gradient(circle at 50% 95%, ${glow(p.Secondary, 0.14 * k)} 0%, transparent 55%)`,\n ].join(', '),\n };\n },\n },\n {\n id: 'paper',\n name: { en: 'Paper', fa: 'کاغذی' },\n paint: (p, s) => ({ color: mixOklch(p.Background, s === 'dark' ? '#000000' : '#f5ecd7', 0.25) }),\n },\n] satisfies G9Wallpaper[]);\n\n/** A wallpaper by id (from `list`, default {@link g9Wallpapers}), or null. */\nexport function g9Wallpaper(id: string, list: readonly G9Wallpaper[] = g9Wallpapers): G9Wallpaper | null {\n return list.find((w) => w.id === id) ?? null;\n}\n"],"names":["g9AppTokenNames","g9AllAppTokenNames","Object","Set","g9ThemeTokenNames","css","c","formatColor","g9AppTokens","theme","options","_p_InputBackground","_options_overrides","p","dark","accent","tryParseColor","own","onAccent","readableOn","surface","field","out","withAlpha","mixOklch","ensureContrast","name","value","g9AppTokenVariables","prefix","g9DefaultAppearance","SCALES","EFFECTS","DENSITIES","g9NormalizeAppearance","raw","defaults","r","text","v","d","pick","list","undefined","g9FontScaleFactors","g9ScaledType","scale","base","g9DefaultShape","k","role","t","Math","g9EffectsEnabled","mode","device","g9EffectsState","g9AppearanceClasses","settings","scheme","effects","g9ActiveThemeId","systemScheme","g9ThemeFromInput","input","source","tokenThemes","g9IsTokenTheme","def","g9ThemeFromTokens","importTheme","JSON","createG9ThemeRegistry","_options_builtins","_options_maxPersonal","_options_personal","builtins","g9BuiltInThemes","max","org","personal","listeners","snapshot","rebuild","l","find","id","_snapshot_themes_find","listener","_find","inputs","i","g9NewPersonalThemeId","random","g9PersonalDraft","_base_wallpaper","toHex","TINTS","SURFACES","g9BuildPersonalTheme","draft","palettes","_draft_scheme","overrides","tint","of","s","o","token","g9ThemeFileName","slug","glow","a","g9Wallpapers","g9Wallpaper","_list_find","w"],"mappings":";;;;;AAyBO,MAAMA,kBAAkB;IAC7B;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;CACD;AAMM,MAAMC,qBAAwCC,OAAO,MAAM,CAAC;OAC9D,IAAIC,IAAY;WAAIH;WAAoBI;KAAkB;CAC9D;AAUD,MAAMC,MAAM,CAACC,IAAyCC,YAAYD;AAG3D,SAASE,YACdC,KAA4E,EAC5EC,UAA6B,CAAC,CAAC;QAQjBC,oBA0B6BC;IAhC3C,MAAMC,IAAIJ,MAAM,OAAO;IACvB,MAAMK,OAAOL,AAAiB,WAAjBA,MAAM,MAAM;IACzB,MAAMM,SAASL,QAAQ,MAAM,IAAIM,cAAcN,QAAQ,MAAM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,MAAMzD,IAAIyD,AAAM,WAANA,IAAe,IAAI;YAC7B,OAAO;gBACL,OAAO7F,EAAE,UAAU;gBACnB,OAAO;oBACL,CAAC,mCAAmC,EAAEkG,KAAKlG,EAAE,OAAO,EAAE,OAAOoC,GAAG,qBAAqB,CAAC;oBACtF,CAAC,mCAAmC,EAAE8D,KAAKlG,EAAE,QAAQ,EAAE,OAAOoC,GAAG,qBAAqB,CAAC;oBACvF,CAAC,mCAAmC,EAAE8D,KAAKlG,EAAE,SAAS,EAAE,OAAOoC,GAAG,qBAAqB,CAAC;iBACzF,CAAC,IAAI,CAAC;YACT;QACF;IACF;IACA;QACE,IAAI;QACJ,MAAM;YAAE,IAAI;YAAS,IAAI;QAAQ;QACjC,OAAO,CAACpC,GAAG6F,IAAO;gBAAE,OAAOlF,SAASX,EAAE,UAAU,EAAE6F,AAAM,WAANA,IAAe,YAAY,WAAW;YAAM;IAChG;CACD;AAGM,SAASQ,YAAY5B,EAAU,EAAE5C,OAA+BuE,YAAY;QAC1EE;IAAP,OAAO,QAAAA,CAAAA,aAAAA,KAAK,IAAI,CAAC,CAACC,IAAMA,EAAE,EAAE,KAAK9B,GAAE,IAA5B6B,aAAiC;AAC1C"}
|
|
1
|
+
{"version":3,"file":"theme/appearance-kit.js","sources":["../../src/theme/appearance-kit.ts"],"sourcesContent":["// The appearance kit (2.5.8, from G9Hub item 42): what an app's Settings → Appearance needs over the theme engine —\n// the tokens a messenger adds to a palette (hover / press, fields and skeletons, the accent's soft wash and glow,\n// glass, chat bubbles, presence colours), each derived from the palette so every theme and accent drives them; the\n// person's settings (theme, light and dark themes when following the device, accent, wallpaper, text size, effects,\n// density); a theme registry (built in, the organisation's from the server, the person's own on the device); a\n// personal theme built from a base theme, an accent and a surface tone; wallpapers; and a token sanitizer for themes\n// that come from outside. Pure: the app persists the settings and the personal themes.\nimport type { G9ColorToken, G9PaletteValues } from '../tokens/generated/palettes';\nimport { type G9Density, type G9TypeRole, type G9TypeRoleName, g9DefaultShape } from '../tokens/shape';\nimport { type G9ThemeDefinition, g9BuiltInThemes, importTheme } from './appearance';\nimport { formatColor, toHex, tryParseColor, withAlpha } from './color';\nimport { ensureContrast, mixOklch, readableOn } from './oklch';\nimport type { G9ColorScheme } from './theme';\nimport {\n type G9EffectsReason,\n type G9TokenTheme,\n type G9TokenThemeOptions,\n g9IsTokenTheme,\n g9ThemeFromTokens,\n g9ThemeTokenNames,\n} from './token-themes';\n\n// ------------------------------------------------------------------------------------------------ the app tokens\n\n/** The tokens an app (a messenger) adds to the library palette. */\nexport const g9AppTokenNames = [\n 'hover',\n 'press',\n 'field',\n 'skeleton',\n 'accent-soft',\n 'accent-glow',\n 'accent-gradient',\n 'text-on-accent',\n 'glass',\n 'glass-border',\n 'bubble-mine',\n 'bubble-mine-text',\n 'bubble-mine-meta',\n 'bubble-other',\n 'bubble-other-text',\n 'bubble-other-border',\n 'highlight',\n 'link',\n 'selection',\n 'focus-ring',\n 'online',\n 'away',\n 'busy',\n] as const;\n\n/** The name of an app token (`hover`, `bubble-mine`…). */\nexport type G9AppTokenName = (typeof g9AppTokenNames)[number];\n\n/** Every app token name the library knows: its own and a token theme's (2.5.10), for a sanitizer or an editor. */\nexport const g9AllAppTokenNames: readonly string[] = Object.freeze([\n ...new Set<string>([...g9AppTokenNames, ...g9ThemeTokenNames]),\n]);\n\n/** Options of {@link g9AppTokens}. */\nexport interface G9AppTokenOptions {\n /** The person's accent (`#rrggbb`) over the theme's primary; null / invalid: the theme's own. */\n readonly accent?: string | null;\n /** Values the app (or a theme) sets itself. */\n readonly overrides?: Partial<Record<G9AppTokenName, string>>;\n}\n\nconst css = (c: Parameters<typeof formatColor>[0]) => formatColor(c);\n\n/** The app tokens for a palette and scheme: plain colours (and one gradient), never variables. */\nexport function g9AppTokens(\n theme: { readonly palette: G9PaletteValues; readonly scheme: G9ColorScheme },\n options: G9AppTokenOptions = {},\n): Readonly<Record<G9AppTokenName, string>> {\n const p = theme.palette;\n const dark = theme.scheme === 'dark';\n const accent = options.accent && tryParseColor(options.accent) ? options.accent : p.Primary;\n const own = accent === p.Primary;\n const onAccent = own ? p.OnPrimary : readableOn(accent);\n const surface = p.Surface;\n const field = (p as Partial<Record<string, string>>).InputBackground ?? p.SurfaceContainerLow;\n const out: Record<G9AppTokenName, string> = {\n hover: css(withAlpha(p.TextPrimary, dark ? 0.08 : 0.06)),\n press: css(withAlpha(p.TextPrimary, dark ? 0.14 : 0.1)),\n field,\n skeleton: p.SurfaceContainerHigh,\n 'accent-soft': css(withAlpha(accent, dark ? 0.16 : 0.11)),\n 'accent-glow': css(withAlpha(accent, dark ? 0.48 : 0.34)),\n 'accent-gradient': `linear-gradient(135deg, ${mixOklch(accent, '#ffffff', 0.2)} 0%, ${accent} 50%, ${mixOklch(accent, '#000000', 0.2)} 100%)`,\n 'text-on-accent': onAccent,\n glass: css(withAlpha(surface, dark ? 0.6 : 0.72)),\n 'glass-border': css(withAlpha(p.OutlineVariant, 0.6)),\n 'bubble-mine': accent,\n 'bubble-mine-text': onAccent,\n 'bubble-mine-meta': css(withAlpha(onAccent, 0.76)),\n 'bubble-other': p.SurfaceContainer,\n 'bubble-other-text': p.TextPrimary,\n 'bubble-other-border': p.OutlineVariant,\n highlight: css(withAlpha(accent, dark ? 0.22 : 0.14)),\n link: ensureContrast(accent, surface, 4.5),\n selection: css(withAlpha(accent, dark ? 0.34 : 0.22)),\n 'focus-ring': css(withAlpha(accent, dark ? 0.72 : 0.55)),\n online: p.Success,\n away: p.Warning,\n busy: p.Error,\n };\n for (const [name, value] of Object.entries(options.overrides ?? {})) if (value) out[name as G9AppTokenName] = value;\n return Object.freeze(out);\n}\n\n/** The app tokens as CSS variables (`--g9-hover`…; `prefix` default `g9-`), for G9Provider's `themeExtras`. */\nexport function g9AppTokenVariables(\n theme: { readonly palette: G9PaletteValues; readonly scheme: G9ColorScheme },\n options: G9AppTokenOptions = {},\n prefix = 'g9-',\n): Readonly<Record<string, string>> {\n const out: Record<string, string> = {};\n for (const [name, value] of Object.entries(g9AppTokens(theme, options))) out[`--${prefix}${name}`] = value;\n return Object.freeze(out);\n}\n\n// ------------------------------------------------------------------------------------------------ the sanitizer\n\nexport { g9SanitizeTokens } from './sanitize';\n\n// ------------------------------------------------------------------------------------------------ the settings\n\n/** A text size step. */\nexport type G9FontScale = 'small' | 'normal' | 'large' | 'larger';\n/** Whether effects are on, off, or decided by the device. */\nexport type G9EffectsMode = 'auto' | 'on' | 'off';\n\n/** What a person chose on Settings → Appearance (kept per device by the app). */\nexport interface G9AppearanceSettings {\n /** A theme id, or `system`: follow the device between `light` and `dark`. */\n readonly theme: string;\n readonly light: string;\n readonly dark: string;\n /** `#rrggbb`, or null for the theme's own. */\n readonly accent: string | null;\n /** A wallpaper id; `theme` keeps the theme's own. */\n readonly wallpaper: string;\n readonly fontScale: G9FontScale;\n /** `auto`: off on low-end devices and when the system asks for reduced motion. */\n readonly effects: G9EffectsMode;\n readonly density: G9Density;\n}\n\n/** The settings of a new install. */\nexport const g9DefaultAppearance: G9AppearanceSettings = Object.freeze({\n theme: 'system',\n light: 'classic',\n dark: 'midnight',\n accent: null,\n wallpaper: 'theme',\n fontScale: 'normal',\n effects: 'auto',\n density: 'regular',\n});\n\nconst SCALES: readonly G9FontScale[] = ['small', 'normal', 'large', 'larger'];\nconst EFFECTS: readonly G9EffectsMode[] = ['auto', 'on', 'off'];\nconst DENSITIES: readonly G9Density[] = ['compact', 'regular', 'comfortable'];\n\n/** Stored settings read back loosely: every unknown or broken field takes its default. */\nexport function g9NormalizeAppearance(\n raw: unknown,\n defaults: G9AppearanceSettings = g9DefaultAppearance,\n): G9AppearanceSettings {\n const r = (raw && typeof raw === 'object' ? raw : {}) as Partial<Record<keyof G9AppearanceSettings, unknown>>;\n const text = (v: unknown, d: string) => (typeof v === 'string' && v.trim() ? v : d);\n const pick = <T extends string>(v: unknown, list: readonly T[], d: T) => (list.includes(v as T) ? (v as T) : d);\n const accent = typeof r.accent === 'string' && /^#[0-9a-f]{6}$/i.test(r.accent) ? r.accent.toLowerCase() : null;\n return Object.freeze({\n theme: text(r.theme, defaults.theme),\n light: text(r.light, defaults.light),\n dark: text(r.dark, defaults.dark),\n accent: r.accent === undefined ? defaults.accent : accent,\n wallpaper: text(r.wallpaper, defaults.wallpaper),\n fontScale: pick(r.fontScale, SCALES, defaults.fontScale),\n effects: pick(r.effects, EFFECTS, defaults.effects),\n density: pick(r.density, DENSITIES, defaults.density),\n });\n}\n\n/** Text size factors. */\nexport const g9FontScaleFactors: Readonly<Record<G9FontScale, number>> = Object.freeze({\n small: 0.9,\n normal: 1,\n large: 1.12,\n larger: 1.25,\n});\n\n/** The type scale at a text size (sizes and line heights rounded), for G9Provider's `shape.type`. */\nexport function g9ScaledType(\n scale: G9FontScale | number,\n base: { readonly [K in G9TypeRoleName]: G9TypeRole } = g9DefaultShape.type,\n): { readonly [K in G9TypeRoleName]: G9TypeRole } {\n const k = typeof scale === 'number' ? scale : g9FontScaleFactors[scale];\n const out = {} as Record<G9TypeRoleName, G9TypeRole>;\n for (const [role, t] of Object.entries(base) as [G9TypeRoleName, G9TypeRole][])\n out[role] = { ...t, size: Math.round(t.size * k), lineHeight: Math.round(t.lineHeight * k) };\n return Object.freeze(out);\n}\n\n/** Whether effects (blur, glow, motion flourishes) are on. */\nexport function g9EffectsEnabled(\n mode: G9EffectsMode,\n device: { readonly reducedMotion?: boolean; readonly lowEnd?: boolean } = {},\n): boolean {\n if (mode !== 'auto') return mode === 'on';\n return !device.reducedMotion && !device.lowEnd;\n}\n\n/**\n * Whether effects are on and, when they are off, why (2.5.10): the person turned them off (`setting`), or `auto` on a\n * low-end device (`lowEnd`) or a system that asks for less motion (`reducedMotion`).\n */\nexport function g9EffectsState(\n mode: G9EffectsMode,\n device: { readonly reducedMotion?: boolean; readonly lowEnd?: boolean } = {},\n): { readonly enabled: boolean; readonly reason: G9EffectsReason } {\n if (mode === 'on') return { enabled: true, reason: null };\n if (mode === 'off') return { enabled: false, reason: 'setting' };\n if (device.lowEnd) return { enabled: false, reason: 'lowEnd' };\n if (device.reducedMotion) return { enabled: false, reason: 'reducedMotion' };\n return { enabled: true, reason: null };\n}\n\n/**\n * The classes an app's root takes for the appearance in force (2.5.10, G9Hub's root classes): `g9-scheme-dark`,\n * `g9-density-compact`, `g9-effects-off`, `g9-effects-off--low-end` / `--reduced-motion`, `g9-text-large`.\n */\nexport function g9AppearanceClasses(\n settings: G9AppearanceSettings,\n scheme: G9ColorScheme,\n device: { readonly reducedMotion?: boolean; readonly lowEnd?: boolean } = {},\n): string[] {\n const effects = g9EffectsState(settings.effects, device);\n const out = [`g9-scheme-${scheme}`, `g9-density-${settings.density}`, `g9-text-${settings.fontScale}`];\n out.push(effects.enabled ? 'g9-effects-on' : 'g9-effects-off');\n if (effects.reason === 'lowEnd') out.push('g9-effects-off--low-end');\n if (effects.reason === 'reducedMotion') out.push('g9-effects-off--reduced-motion');\n return out;\n}\n\n/** The theme id in force: the chosen one, or the light / dark one for the device's scheme when following it. */\nexport function g9ActiveThemeId(settings: G9AppearanceSettings, systemScheme: G9ColorScheme): string {\n if (settings.theme !== 'system') return settings.theme;\n return systemScheme === 'dark' ? settings.dark : settings.light;\n}\n\n// ------------------------------------------------------------------------------------------------ the registry\n\n/** The themes a person can pick, by source. */\nexport interface G9ThemeRegistrySnapshot {\n readonly themes: readonly G9ThemeDefinition[];\n readonly revision: number;\n}\n\n/** Options of {@link createG9ThemeRegistry}. */\nexport interface G9ThemeRegistryOptions {\n /** Default {@link g9BuiltInThemes}. Token themes (`{ id, name, scheme, tokens }`, 2.5.10) are read as they come. */\n readonly builtins?: readonly (G9ThemeDefinition | G9TokenTheme)[];\n /** How token themes are read (2.5.10: the scheme defaults an organisation theme falls back to). */\n readonly tokenThemes?: G9TokenThemeOptions;\n /** The person's own themes as the app stored them (read before the first paint). */\n readonly personal?: readonly G9ThemeDefinition[];\n /** Saves the personal list (the device's preferences). */\n readonly savePersonal?: (themes: readonly G9ThemeDefinition[]) => void;\n /** The most personal themes kept. Default 12. */\n readonly maxPersonal?: number;\n}\n\n/** Every theme: built in, the organisation's, the person's own (a store an appearance page reads). */\nexport interface G9ThemeRegistry {\n get(): G9ThemeRegistrySnapshot;\n subscribe(listener: () => void): () => void;\n /** A theme by id, or null. */\n find(id: string): G9ThemeDefinition | null;\n /** A theme by id; one that disappeared (an admin deleted it) falls back to the first built-in theme. */\n themeOrDefault(id: string): G9ThemeDefinition;\n /** Replaces the organisation's themes (from the server; each read loosely, broken ones dropped). */\n setOrgThemes(inputs: readonly unknown[]): void;\n /** Adds or replaces a personal theme (the newest first; past the limit the oldest go). */\n savePersonal(theme: G9ThemeDefinition): void;\n removePersonal(id: string): void;\n readonly personal: () => readonly G9ThemeDefinition[];\n}\n\n/**\n * A theme from the server or a file, read loosely (a newer server never breaks the client); null when broken. A token\n * theme (`{ id, name, scheme, tokens }`, G9Hub's format; 2.5.10) is read with {@link g9ThemeFromTokens}.\n */\nexport function g9ThemeFromInput(\n input: unknown,\n source: G9ThemeDefinition['source'],\n tokenThemes: G9TokenThemeOptions = {},\n): G9ThemeDefinition | null {\n if (!input || typeof input !== 'object') return null;\n if (g9IsTokenTheme(input)) {\n if (typeof input.name !== 'string' && (typeof input.name !== 'object' || input.name === null)) return null;\n if (typeof input.name === 'string' && !input.name.trim()) return null;\n const def = g9ThemeFromTokens(input, { ...tokenThemes, source });\n return Object.freeze({ ...def, id: source === 'org' && !def.id.startsWith('org:') ? `org:${def.id}` : def.id });\n }\n const t = input as Partial<G9ThemeDefinition>;\n try {\n const def = importTheme(JSON.stringify({ format: 'g9-theme', version: 1, theme: t }));\n if (!def.name || (typeof def.name === 'string' && !def.name.trim())) return null;\n return Object.freeze({\n ...def,\n id: source === 'org' && !def.id.startsWith('org:') ? `org:${def.id}` : def.id,\n source,\n });\n } catch {\n return null;\n }\n}\n\n/** Creates a theme registry. */\nexport function createG9ThemeRegistry(options: G9ThemeRegistryOptions = {}): G9ThemeRegistry {\n const builtins: readonly G9ThemeDefinition[] = (options.builtins ?? g9BuiltInThemes).map((t) =>\n g9IsTokenTheme(t) ? g9ThemeFromTokens(t, { ...options.tokenThemes, source: 'builtin' }) : t,\n );\n const max = Math.max(1, options.maxPersonal ?? 12);\n let org: G9ThemeDefinition[] = [];\n let personal: G9ThemeDefinition[] = (options.personal ?? [])\n .map((t) => g9ThemeFromInput(t, 'personal', options.tokenThemes))\n .filter((t): t is G9ThemeDefinition => t !== null)\n .slice(0, max);\n const listeners = new Set<() => void>();\n let snapshot: G9ThemeRegistrySnapshot = { themes: [...builtins, ...personal], revision: 0 };\n const rebuild = () => {\n snapshot = { themes: [...builtins, ...org, ...personal], revision: snapshot.revision + 1 };\n for (const l of [...listeners]) l();\n };\n const find = (id: string) => snapshot.themes.find((t) => t.id === id) ?? null;\n return {\n get: () => snapshot,\n subscribe(listener) {\n listeners.add(listener);\n return () => listeners.delete(listener);\n },\n find,\n themeOrDefault: (id) => find(id) ?? (builtins[0] as G9ThemeDefinition),\n setOrgThemes(inputs) {\n org = inputs\n .map((i) => g9ThemeFromInput(i, 'org', options.tokenThemes))\n .filter((t): t is G9ThemeDefinition => t !== null);\n rebuild();\n },\n savePersonal(theme) {\n const own = Object.freeze({ ...theme, source: 'personal' as const });\n personal = [own, ...personal.filter((t) => t.id !== theme.id)].slice(0, max);\n options.savePersonal?.(personal);\n rebuild();\n },\n removePersonal(id) {\n if (!personal.some((t) => t.id === id)) return;\n personal = personal.filter((t) => t.id !== id);\n options.savePersonal?.(personal);\n rebuild();\n },\n personal: () => personal,\n };\n}\n\n// ------------------------------------------------------------------------------------------------ personal themes\n\n/** How a personal theme's surfaces are tinted. */\nexport type G9SurfaceTone = 'neutral' | 'cool' | 'warm' | 'tinted';\n\n/** What the personal theme editor edits. */\nexport interface G9PersonalThemeDraft {\n readonly id: string;\n readonly name: string;\n /** The theme it starts from. */\n readonly base: G9ThemeDefinition;\n /** `#rrggbb`. */\n readonly accent: string;\n readonly surfaces: G9SurfaceTone;\n /** A wallpaper id, or `theme`. */\n readonly wallpaper: string;\n /** Light or dark (default the base's own mode, else light). */\n readonly scheme?: G9ColorScheme;\n}\n\n/** A fresh personal id (`me:…`). */\nexport function g9NewPersonalThemeId(random: () => number = Math.random): string {\n let id = '';\n for (let i = 0; i < 12; i++) id += Math.floor(random() * 36).toString(36);\n return `me:${id}`;\n}\n\n/** A draft starting from `base`. */\nexport function g9PersonalDraft(\n base: G9ThemeDefinition,\n name: string,\n id: string = g9NewPersonalThemeId(),\n): G9PersonalThemeDraft {\n return {\n id,\n name,\n base,\n accent: toHex(base.brand.primary),\n surfaces: 'neutral',\n wallpaper: base.wallpaper ?? 'theme',\n };\n}\n\nconst TINTS: Readonly<Record<'cool' | 'warm', string>> = { cool: '#3b82f6', warm: '#f59e0b' };\nconst SURFACES: readonly [G9ColorToken, number, number][] = [\n // token, tint in dark, tint in light (fractions)\n ['Background', 0.07, 0.04],\n ['BackgroundSecondary', 0.08, 0.05],\n ['Surface', 0.09, 0.05],\n ['SurfaceContainerLow', 0.09, 0.05],\n ['SurfaceContainer', 0.1, 0.06],\n ['SurfaceContainerHigh', 0.12, 0.08],\n];\n\n/**\n * The theme a draft describes: the base's recipe with the draft's accent, its surfaces tinted (cool, warm, or by the\n * accent) through overrides measured on `palettes` (the base's palettes for the accent: `recipePalettes(...)`).\n */\nexport function g9BuildPersonalTheme(\n draft: G9PersonalThemeDraft,\n palettes: { readonly light: G9PaletteValues; readonly dark: G9PaletteValues },\n): G9ThemeDefinition {\n const accent = tryParseColor(draft.accent) ? draft.accent : draft.base.brand.primary;\n const scheme: G9ColorScheme = draft.scheme ?? (draft.base.mode === 'dark' ? 'dark' : 'light');\n let overrides: G9ThemeDefinition['overrides'];\n if (draft.surfaces !== 'neutral') {\n const tint = draft.surfaces === 'tinted' ? accent : TINTS[draft.surfaces];\n const of = (s: G9ColorScheme) => {\n const o: Partial<Record<G9ColorToken, string>> = {};\n for (const [token, d, l] of SURFACES) o[token] = mixOklch(palettes[s][token], tint, s === 'dark' ? d : l);\n return o;\n };\n overrides = { light: of('light'), dark: of('dark') };\n }\n const name = draft.name.trim().slice(0, 60);\n return Object.freeze({\n id: draft.id,\n name: name || draft.base.name,\n source: 'personal' as const,\n recipe: draft.base.recipe,\n brand: { ...draft.base.brand, primary: accent },\n ...(overrides ? { overrides } : {}),\n ...(draft.base.shape ? { shape: draft.base.shape } : {}),\n mode: scheme,\n ...(draft.wallpaper !== 'theme' ? { wallpaper: draft.wallpaper } : {}),\n });\n}\n\n// What is not a letter, a mark or a digit (the web's class, \\p{L}\\p{M}\\p{N}; 2.5.11). Lynx has no Unicode property\n// escapes, so the class is spelled out: white space, ASCII and Latin-1 punctuation and symbols, the general\n// punctuation, currency, arrows, mathematical, technical, box, geometric and miscellaneous symbols and dingbats\n// (★ ☆ ✓ …), CJK punctuation, the Arabic script's own punctuation, and every astral character (emoji) — letters,\n// marks and digits of any script stay.\nconst NOT_WORD = /[\\s!-/:-@[-`{-~ -¿×÷ -₠-℀-⅏←-⯿⸀- -〿،؛؟٪-٭۔︐-!-/:-@\\ud800-\\udfff]+/g;\n\n/** A file name for a theme export (letters, marks and digits of any script, dashes). */\nexport function g9ThemeFileName(name: string): string {\n const slug = name\n .trim()\n .toLowerCase()\n .replace(NOT_WORD, '-')\n .replace(/^-+|-+$/g, '')\n .slice(0, 40);\n return `${slug || 'theme'}.g9theme.json`;\n}\n\n// ------------------------------------------------------------------------------------------------ wallpapers\n\n/** A chat wallpaper: layers drawn behind a thread, from the palette so it follows the theme and accent. */\nexport interface G9Wallpaper {\n readonly id: string;\n readonly name: Readonly<Record<string, string>>;\n /** The background for a palette and scheme: a colour and optional gradient layers (Lynx `background-image`). */\n paint(palette: G9PaletteValues, scheme: G9ColorScheme): { readonly color: string; readonly image?: string };\n}\n\nconst glow = (c: string, a: number) => css(withAlpha(c, a));\n\n/** Wallpapers drawn with gradients only (no pictures, no network). */\nexport const g9Wallpapers: readonly G9Wallpaper[] = Object.freeze([\n { id: 'none', name: { en: 'None', fa: 'هیچ' }, paint: (p) => ({ color: p.Background }) },\n {\n id: 'aurora',\n name: { en: 'Aurora', fa: 'شفق' },\n paint: (p, s) => ({\n color: p.Background,\n image: `radial-gradient(circle at 0% 0%, ${glow(p.Primary, s === 'dark' ? 0.18 : 0.12)} 0%, transparent 60%), radial-gradient(circle at 100% 100%, ${glow(p.Tertiary, s === 'dark' ? 0.16 : 0.1)} 0%, transparent 60%)`,\n }),\n },\n {\n id: 'dusk',\n name: { en: 'Dusk', fa: 'غروب' },\n paint: (p, s) => ({\n color: p.Background,\n image: `linear-gradient(180deg, ${glow(p.Primary, s === 'dark' ? 0.12 : 0.08)} 0%, transparent 45%, ${glow(p.Secondary, s === 'dark' ? 0.1 : 0.06)} 100%)`,\n }),\n },\n {\n id: 'mesh',\n name: { en: 'Mesh', fa: 'توری' },\n paint: (p, s) => {\n const k = s === 'dark' ? 1 : 0.75;\n return {\n color: p.Background,\n image: [\n `radial-gradient(circle at 15% 20%, ${glow(p.Primary, 0.14 * k)} 0%, transparent 55%)`,\n `radial-gradient(circle at 85% 30%, ${glow(p.Tertiary, 0.14 * k)} 0%, transparent 55%)`,\n `radial-gradient(circle at 50% 95%, ${glow(p.Secondary, 0.14 * k)} 0%, transparent 55%)`,\n ].join(', '),\n };\n },\n },\n {\n id: 'paper',\n name: { en: 'Paper', fa: 'کاغذی' },\n paint: (p, s) => ({ color: mixOklch(p.Background, s === 'dark' ? '#000000' : '#f5ecd7', 0.25) }),\n },\n] satisfies G9Wallpaper[]);\n\n/** A wallpaper by id (from `list`, default {@link g9Wallpapers}), or null. */\nexport function g9Wallpaper(id: string, list: readonly G9Wallpaper[] = g9Wallpapers): G9Wallpaper | null {\n return list.find((w) => w.id === id) ?? null;\n}\n"],"names":["g9AppTokenNames","g9AllAppTokenNames","Object","Set","g9ThemeTokenNames","css","c","formatColor","g9AppTokens","theme","options","_p_InputBackground","_options_overrides","p","dark","accent","tryParseColor","own","onAccent","readableOn","surface","field","out","withAlpha","mixOklch","ensureContrast","name","value","g9AppTokenVariables","prefix","g9DefaultAppearance","SCALES","EFFECTS","DENSITIES","g9NormalizeAppearance","raw","defaults","r","text","v","d","pick","list","undefined","g9FontScaleFactors","g9ScaledType","scale","base","g9DefaultShape","k","role","t","Math","g9EffectsEnabled","mode","device","g9EffectsState","g9AppearanceClasses","settings","scheme","effects","g9ActiveThemeId","systemScheme","g9ThemeFromInput","input","source","tokenThemes","g9IsTokenTheme","def","g9ThemeFromTokens","importTheme","JSON","createG9ThemeRegistry","_options_builtins","_options_maxPersonal","_options_personal","builtins","g9BuiltInThemes","max","org","personal","listeners","snapshot","rebuild","l","find","id","_snapshot_themes_find","listener","_find","inputs","i","g9NewPersonalThemeId","random","g9PersonalDraft","_base_wallpaper","toHex","TINTS","SURFACES","g9BuildPersonalTheme","draft","palettes","_draft_scheme","overrides","tint","of","s","o","token","NOT_WORD","g9ThemeFileName","slug","glow","a","g9Wallpapers","g9Wallpaper","_list_find","w"],"mappings":";;;;;AAyBO,MAAMA,kBAAkB;IAC7B;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;CACD;AAMM,MAAMC,qBAAwCC,OAAO,MAAM,CAAC;OAC9D,IAAIC,IAAY;WAAIH;WAAoBI;KAAkB;CAC9D;AAUD,MAAMC,MAAM,CAACC,IAAyCC,YAAYD;AAG3D,SAASE,YACdC,KAA4E,EAC5EC,UAA6B,CAAC,CAAC;QAQjBC,oBA0B6BC;IAhC3C,MAAMC,IAAIJ,MAAM,OAAO;IACvB,MAAMK,OAAOL,AAAiB,WAAjBA,MAAM,MAAM;IACzB,MAAMM,SAASL,QAAQ,MAAM,IAAIM,cAAcN,QAAQ,MAAM,IAAIA,QAAQ,MAAM,GAAGG,EAAE,OAAO;IAC3F,MAAMI,MAAMF,WAAWF,EAAE,OAAO;IAChC,MAAMK,WAAWD,MAAMJ,EAAE,SAAS,GAAGM,WAAWJ;IAChD,MAAMK,UAAU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AAO,EAAE,OAAOoC,GAAG,qBAAqB,CAAC;oBACtF,CAAC,mCAAmC,EAAE+D,KAAKnG,EAAE,QAAQ,EAAE,OAAOoC,GAAG,qBAAqB,CAAC;oBACvF,CAAC,mCAAmC,EAAE+D,KAAKnG,EAAE,SAAS,EAAE,OAAOoC,GAAG,qBAAqB,CAAC;iBACzF,CAAC,IAAI,CAAC;YACT;QACF;IACF;IACA;QACE,IAAI;QACJ,MAAM;YAAE,IAAI;YAAS,IAAI;QAAQ;QACjC,OAAO,CAACpC,GAAG6F,IAAO;gBAAE,OAAOlF,SAASX,EAAE,UAAU,EAAE6F,AAAM,WAANA,IAAe,YAAY,WAAW;YAAM;IAChG;CACD;AAGM,SAASS,YAAY7B,EAAU,EAAE5C,OAA+BwE,YAAY;QAC1EE;IAAP,OAAO,QAAAA,CAAAA,aAAAA,KAAK,IAAI,CAAC,CAACC,IAAMA,EAAE,EAAE,KAAK/B,GAAE,IAA5B8B,aAAiC;AAC1C"}
|
package/docs/api.md
CHANGED
|
@@ -127,7 +127,7 @@ folder) explain how the pieces fit; the migration tables map every MAUI member.
|
|
|
127
127
|
| `g9SanitizeTokens` | function | Only well-formed tokens of `allowed` names (a leading `--g9-` is dropped first; without `allowed`, any lower-case token name), from a theme that came from outside (the server, a file): values that cannot break out of a declaration, and pictures only as inline `data:` images. |
|
|
128
128
|
| `g9ScaledType` | function | The type scale at a text size (sizes and line heights rounded), for G9Provider's `shape.type`. |
|
|
129
129
|
| `g9SubstituteTokens` | function | `var(--<token>)` (and `var(--<token>, fallback)`) replaced by the token's value, nested ones too. |
|
|
130
|
-
| `g9ThemeFileName` | function | A file name for a theme export (letters, digits
|
|
130
|
+
| `g9ThemeFileName` | function | A file name for a theme export (letters, marks and digits of any script, dashes). |
|
|
131
131
|
| `g9ThemeFromInput` | function | A theme from the server or a file, read loosely (a newer server never breaks the client); null when broken. A token theme (`{ id, name, scheme, tokens }`, G9Hub's format; 2.5.10) is read with `g9ThemeFromTokens`. |
|
|
132
132
|
| `g9ThemeFromTokens` | function | A token theme as a G9ThemeDefinition (2.5.10): its colours as the palette of its scheme (overrides over a recipe branded with its accent), every token as an app token of that scheme (`--g9-<name>` through G9Provider), and its scheme as the forced mode. Organisation themes that list only some tokens take the rest from `options.defaults`. |
|
|
133
133
|
| `g9TokenForPalette` | function | The design token a palette token takes its colour from in a token theme (a contrast fix sets that token), or null. |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@g9tm/lynxcontrols-foundation",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.11",
|
|
4
4
|
"description": "Pure TypeScript core: design tokens, theme model, culture (strings, digits, calendars, relative time, durations), icon model, safe execution, diagnostics, preference and capability contracts. No React, no UI.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|