@g9tm/lynxcontrols-native 2.8.3 → 2.8.4
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/README.md +2 -1
- package/android/src/main/java/com/g9lynx/g9native/input/G9InputUI.kt +17 -1
- package/android/src/main/java/com/g9lynx/g9native/input/G9LineDirection.kt +153 -0
- package/android/src/main/java/com/g9lynx/g9native/input/core/G9LineDirectionCore.kt +121 -0
- package/catalog/catalog.json +1 -1
- package/catalog/index.md +1 -1
- package/dist/.tsbuildinfo +1 -1
- package/ios/Tests/G9NativeTestSuite.h +2 -0
- package/ios/Tests/G9NativeTestSuite.m +26 -0
- package/ios/Tests/G9NativeTests.m +4 -0
- package/ios/g9lynx-native-swift.podspec +1 -1
- package/ios/g9lynx-native.podspec +1 -1
- package/ios/src/G9InputUI.m +106 -1
- package/ios/src/core/G9LineDirectionCore.h +24 -0
- package/ios/src/core/G9LineDirectionCore.m +132 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -14,6 +14,7 @@ Android and iOS platform layer for G9: four Lynx native modules and one element
|
|
|
14
14
|
| `<g9-canvas>` element (2.5.8) | `G9Canvas` (`@g9tm/lynxcontrols-canvas`) | `G9CanvasUI`: a view drawing the board's items (rough shapes, free drawing, text, pictures fetched by `G9NativeImages.fetch`), gestures and collaborators' pointers; exports through `G9CanvasFiles.register`; register `G9CanvasBehaviors.create()`; fonts `fonts/Excalifont.ttf`, `Nunito.ttf`, `ComicShanns.ttf` in the app's assets | `G9LCCanvasUI` → `G9LCCanvasView` (Swift); `G9LCImages.session` for pictures, `G9LCCanvasFiles.register` for exports, the same fonts in the bundle; the host registers it: `[config registerUI:G9LCCanvasUI.class withName:@"g9-canvas"]`. Web: `registerG9Canvas({ fonts, registerFile })` (`@g9tm/lynxcontrols-web`) |
|
|
15
15
|
| `<g9-blurhash>` element (2.5.8) | `G9BlurhashView` with `native` (`@g9tm/lynxcontrols-media`) | `G9BlurhashUI`: an `ImageView` showing a 32×32 decode (cached by hash) stretched with filtering; register `G9BlurhashBehaviors.create()` | `G9LCBlurhashUI` → `G9LCBlurhashView` (Swift, decoded off the main thread); the host registers it: `[config registerUI:G9LCBlurhashUI.class withName:@"g9-blurhash"]`. Web: none (the JSX draws its own SVG placeholder) |
|
|
16
16
|
| `<input>` / `<textarea>` drawing the culture's digits (`g9-digits`, set by the library's fields) | none | `G9InputBehaviors.create()`: xelement-input's fields with a `ReplacementTransformationMethod` | `[G9InputBehaviors registerOn:config]`: XElement's fields with a digits font in front of their own (a `UIFontDescriptor` cascade list; the fonts in `ios/fonts`, from Vazirmatn, SIL OFL 1.1) |
|
|
17
|
+
| `<textarea>` lines by the majority of their letters (`g9-line-direction="majority"`, `g9-line-fallback`; `lineDirection` of the library's multi-line fields, 2.8.4) | none | the same `G9UITextArea`: a per-paragraph `TextDirectionHeuristic` through `setTextMetricsParams`, START gravity, a pre-draw check that puts it back (Android 9+; the text never changes) | the same `G9UITextArea`: each paragraph's `baseWritingDirection` and alignment in the text storage, XElement's writing-direction embedding removed (attributes only; nothing while an IME composes) |
|
|
17
18
|
|
|
18
19
|
```ts
|
|
19
20
|
import { createG9Sqlite, singleFileDatabaseLocator } from '@g9tm/lynxcontrols-sqlite';
|
|
@@ -139,7 +140,7 @@ Since 2.5.8 the Swift views (`G9LCRichTextView`, `G9LCCanvasView`, `G9LCBlurhash
|
|
|
139
140
|
| `npm run test:android-jvm` | Kotlin core: contract 27/27 over both transports (JDBC engine), unit tests, JaCoCo gate (lines ≥ 95 %, branches ≥ 85 %) |
|
|
140
141
|
| `gradle -p packages/native/jvm check -Pg9.bundled=true` | The same on androidx `BundledSQLiteDriver` (needs Google Maven) |
|
|
141
142
|
| `npm run check:android-module` | Module and host compile against Lynx 4.2.0, and the Autolink provider is generated |
|
|
142
|
-
| `npm run test:ios-core` | iOS core on Linux (clang + GNUstep, also in WSL or Docker): contract 27/27 × 2, golden byte-identical with Kotlin, interrupt, the video rules, the digits plan, ARC syntax (and `G9InputUI.m` against `Tests/linux/stubs`) |
|
|
143
|
+
| `npm run test:ios-core` | iOS core on Linux (clang + GNUstep, also in WSL or Docker): contract 27/27 × 2, golden byte-identical with Kotlin, interrupt, the video rules, the digits plan, the line-direction golden, ARC syntax (and `G9InputUI.m` against `Tests/linux/stubs`) |
|
|
143
144
|
| `npm run bench:transport` | JS decode cost of `columnar` vs `rows` |
|
|
144
145
|
|
|
145
146
|
Host integration: [`docs/integration/android.md`](../../docs/integration/android.md) and
|
|
@@ -82,9 +82,24 @@ class G9UIInput(context: LynxContext) : LynxUIInput(context) {
|
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
/**
|
|
85
|
+
/**
|
|
86
|
+
* xelement-input's `<textarea>` with the same digit props (G9Editor), and `g9-line-direction` / `g9-line-fallback`:
|
|
87
|
+
* `"majority"` gives each line the direction of most of its letters (G9FieldLineDirection), `"native"` (or none) keeps
|
|
88
|
+
* Android's first-strong direction.
|
|
89
|
+
*/
|
|
86
90
|
class G9UITextArea(context: LynxContext) : LynxUITextArea(context) {
|
|
87
91
|
private val digits = G9FieldDigits(singleLine = false)
|
|
92
|
+
private val lines = G9FieldLineDirection()
|
|
93
|
+
|
|
94
|
+
@LynxProp(name = "g9-line-direction")
|
|
95
|
+
fun setG9LineDirection(value: String?) {
|
|
96
|
+
lines.mode = value
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
@LynxProp(name = "g9-line-fallback")
|
|
100
|
+
fun setG9LineFallback(value: String?) {
|
|
101
|
+
lines.fallbackRtl = value == "rtl"
|
|
102
|
+
}
|
|
88
103
|
|
|
89
104
|
@LynxProp(name = "g9-digits")
|
|
90
105
|
fun setG9Digits(value: String?) {
|
|
@@ -104,6 +119,7 @@ class G9UITextArea(context: LynxContext) : LynxUITextArea(context) {
|
|
|
104
119
|
override fun afterPropsUpdated(props: StylesDiffMap?) {
|
|
105
120
|
super.afterPropsUpdated(props)
|
|
106
121
|
digits.apply(view)
|
|
122
|
+
lines.apply(view)
|
|
107
123
|
}
|
|
108
124
|
}
|
|
109
125
|
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
package com.g9lynx.g9native.input
|
|
2
|
+
|
|
3
|
+
import android.os.Build
|
|
4
|
+
import android.text.Editable
|
|
5
|
+
import android.text.Layout
|
|
6
|
+
import android.text.PrecomputedText
|
|
7
|
+
import android.text.TextDirectionHeuristic
|
|
8
|
+
import android.text.TextWatcher
|
|
9
|
+
import android.view.Gravity
|
|
10
|
+
import android.view.View
|
|
11
|
+
import android.view.ViewTreeObserver
|
|
12
|
+
import android.widget.TextView
|
|
13
|
+
import com.g9lynx.g9native.input.core.G9LineDirectionCore
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Each paragraph's direction by the majority of its strong letters ([G9LineDirectionCore]). Android's layout asks the
|
|
17
|
+
* view's `TextDirectionHeuristic` once PER PARAGRAPH (MeasuredParagraph), so this one decision gives every line its
|
|
18
|
+
* own direction and its own start alignment, and the caret, selection, IME and arrow keys follow the layout as they do
|
|
19
|
+
* for any text. The text is never changed: nothing is inserted, the value, maxLength and counter see what was typed.
|
|
20
|
+
*/
|
|
21
|
+
internal class G9MajorityDirection(val fallbackRtl: Boolean) : TextDirectionHeuristic {
|
|
22
|
+
override fun isRtl(array: CharArray, start: Int, count: Int): Boolean =
|
|
23
|
+
G9LineDirectionCore.isRtl(String(array, start, count), fallbackRtl)
|
|
24
|
+
|
|
25
|
+
override fun isRtl(cs: CharSequence, start: Int, count: Int): Boolean =
|
|
26
|
+
G9LineDirectionCore.isRtl(cs.subSequence(start, start + count), fallbackRtl)
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* `g9-line-direction` / `g9-line-fallback` of one multi-line field. `"majority"` puts [G9MajorityDirection] on the
|
|
31
|
+
* view through the public `setTextMetricsParams` (API 28; the view class is xelement-input's final LynxEditTextView,
|
|
32
|
+
* so `getTextDirectionHeuristic` cannot be overridden) and the horizontal gravity to START (each paragraph at its own
|
|
33
|
+
* start; ALIGN_NORMAL).
|
|
34
|
+
*
|
|
35
|
+
* TextView swaps its own heuristic back whenever its RTL properties resolve again (a `direction` prop, attaching to a
|
|
36
|
+
* window, a parent's direction) and then builds a new layout. Which heuristic a layout used is public only from API 33,
|
|
37
|
+
* so the guard checks what matters instead: whenever the text or the layout changed, before the frame is drawn, every
|
|
38
|
+
* paragraph's drawn direction (`Layout.getParagraphDirection`) must be the rule's; if one is not, the rule goes back on
|
|
39
|
+
* and that frame is skipped. Android 8 and lower keep the native first-strong direction.
|
|
40
|
+
*/
|
|
41
|
+
internal class G9FieldLineDirection {
|
|
42
|
+
var mode: String? = null
|
|
43
|
+
var fallbackRtl: Boolean = false
|
|
44
|
+
|
|
45
|
+
private var heuristic: G9MajorityDirection? = null
|
|
46
|
+
private var target: TextView? = null
|
|
47
|
+
private var checkedLayout: Layout? = null
|
|
48
|
+
private var textChanged = true
|
|
49
|
+
private val watcher =
|
|
50
|
+
object : TextWatcher {
|
|
51
|
+
override fun beforeTextChanged(s: CharSequence?, start: Int, count: Int, after: Int) {}
|
|
52
|
+
|
|
53
|
+
override fun onTextChanged(s: CharSequence?, start: Int, before: Int, count: Int) {}
|
|
54
|
+
|
|
55
|
+
override fun afterTextChanged(s: Editable?) {
|
|
56
|
+
textChanged = true
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
private val preDraw =
|
|
60
|
+
ViewTreeObserver.OnPreDrawListener {
|
|
61
|
+
val view = target
|
|
62
|
+
val wanted = heuristic
|
|
63
|
+
if (view == null || wanted == null) true else check(view, wanted)
|
|
64
|
+
}
|
|
65
|
+
private val attachment =
|
|
66
|
+
object : View.OnAttachStateChangeListener {
|
|
67
|
+
override fun onViewAttachedToWindow(v: View) {
|
|
68
|
+
v.viewTreeObserver.addOnPreDrawListener(preDraw)
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
override fun onViewDetachedFromWindow(v: View) {
|
|
72
|
+
v.viewTreeObserver.removeOnPreDrawListener(preDraw)
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
val active: Boolean
|
|
77
|
+
get() = heuristic != null
|
|
78
|
+
|
|
79
|
+
fun apply(view: TextView) {
|
|
80
|
+
val on = mode == G9LineDirectionCore.MAJORITY && Build.VERSION.SDK_INT >= Build.VERSION_CODES.P
|
|
81
|
+
if (!on) {
|
|
82
|
+
if (heuristic != null) stop(view)
|
|
83
|
+
return
|
|
84
|
+
}
|
|
85
|
+
val previous = heuristic
|
|
86
|
+
val wanted = previous?.takeIf { it.fallbackRtl == fallbackRtl } ?: G9MajorityDirection(fallbackRtl)
|
|
87
|
+
heuristic = wanted
|
|
88
|
+
if (target !== view) start(view)
|
|
89
|
+
// xelement-input's text-align sets LEFT / RIGHT gravity (absolute): each paragraph aligns to its own start instead.
|
|
90
|
+
if ((view.gravity and Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK) != Gravity.START) {
|
|
91
|
+
view.gravity = (view.gravity and Gravity.VERTICAL_GRAVITY_MASK) or Gravity.START
|
|
92
|
+
}
|
|
93
|
+
if (view.textAlignment != View.TEXT_ALIGNMENT_GRAVITY) view.textAlignment = View.TEXT_ALIGNMENT_GRAVITY
|
|
94
|
+
// a prop (direction, text-align) may have resolved the view's own heuristic again: the rule goes back on when the
|
|
95
|
+
// drawn lines disagree with it (and the pre-draw check catches every later disagreement)
|
|
96
|
+
val layout = view.layout
|
|
97
|
+
if (layout == null || previous !== wanted || !agrees(layout, wanted)) put(view, wanted)
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
private fun start(view: TextView) {
|
|
101
|
+
target = view
|
|
102
|
+
view.addTextChangedListener(watcher)
|
|
103
|
+
view.addOnAttachStateChangeListener(attachment)
|
|
104
|
+
if (view.isAttachedToWindow) view.viewTreeObserver.addOnPreDrawListener(preDraw)
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
private fun stop(view: TextView) {
|
|
108
|
+
heuristic = null
|
|
109
|
+
view.removeTextChangedListener(watcher)
|
|
110
|
+
view.removeOnAttachStateChangeListener(attachment)
|
|
111
|
+
view.viewTreeObserver.removeOnPreDrawListener(preDraw)
|
|
112
|
+
target = null
|
|
113
|
+
checkedLayout = null
|
|
114
|
+
// the view's own heuristic again (getTextMetricsParams reports the resolved native one)
|
|
115
|
+
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) view.setTextMetricsParams(PrecomputedText.Params.Builder(view.textMetricsParams).build())
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/** Pre-draw: `true` draws; `false` after putting the rule back (the next frame has it). */
|
|
119
|
+
private fun check(view: TextView, wanted: G9MajorityDirection): Boolean {
|
|
120
|
+
val layout = view.layout ?: return true
|
|
121
|
+
if (layout === checkedLayout && !textChanged) return true
|
|
122
|
+
textChanged = false
|
|
123
|
+
if (agrees(layout, wanted)) {
|
|
124
|
+
checkedLayout = layout
|
|
125
|
+
return true
|
|
126
|
+
}
|
|
127
|
+
checkedLayout = null
|
|
128
|
+
put(view, wanted)
|
|
129
|
+
return false
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
private fun put(view: TextView, wanted: TextDirectionHeuristic) {
|
|
133
|
+
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.P) return
|
|
134
|
+
view.setTextMetricsParams(PrecomputedText.Params.Builder(view.textMetricsParams).setTextDirection(wanted).build())
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
companion object {
|
|
138
|
+
/** Whether every paragraph of `layout` is drawn in the direction `rule` gives it (the empty last line included). */
|
|
139
|
+
fun agrees(layout: Layout, rule: TextDirectionHeuristic): Boolean {
|
|
140
|
+
val text = layout.text
|
|
141
|
+
for (line in 0 until layout.lineCount) {
|
|
142
|
+
val start = layout.getLineStart(line)
|
|
143
|
+
if (line > 0 && text[start - 1] != '\n') continue // not a paragraph's first line
|
|
144
|
+
var end = start
|
|
145
|
+
while (end < text.length && text[end] != '\n') end++
|
|
146
|
+
if (end < text.length) end++ // the paragraph with its break, as the layout measures it
|
|
147
|
+
val rtl = rule.isRtl(text, start, end - start)
|
|
148
|
+
if ((layout.getParagraphDirection(line) == Layout.DIR_RIGHT_TO_LEFT) != rtl) return false
|
|
149
|
+
}
|
|
150
|
+
return true
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
package com.g9lynx.g9native.input.core
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* One line's direction by the MAJORITY of its strong letters (`g9-line-direction="majority"`, `@g9tm/lynxcontrols`
|
|
5
|
+
* `lineDirection: 'majority'`): a Persian line right-to-left and an English one left-to-right in the same box, where
|
|
6
|
+
* Android and iOS take a paragraph's direction from its FIRST strong letter («Didban رو تست کردم» went left-to-right).
|
|
7
|
+
*
|
|
8
|
+
* The rule is the owner's prompt editor's (G9AgentDeck), asserted against its outputs in
|
|
9
|
+
* `packages/native/contract/line-direction-golden.json`:
|
|
10
|
+
* - Arabic-script (and Hebrew, Syriac, Thaana, NKo) letters vote right-to-left, Latin and every other letter left-to-right;
|
|
11
|
+
* - digits (Persian and Arabic-Indic too), combining marks, `code`, URLs, paths with slashes and tags do not vote;
|
|
12
|
+
* - a line without a vote, or a tie, takes the field's own direction (`fallbackRtl`);
|
|
13
|
+
* - an RLM / LRM at the line's start (after spaces) is the person's own choice and wins over the vote.
|
|
14
|
+
*
|
|
15
|
+
* Pure, so the JVM suite tests it; the field applies it per paragraph as a `TextDirectionHeuristic` (the text itself
|
|
16
|
+
* never changes).
|
|
17
|
+
*/
|
|
18
|
+
object G9LineDirectionCore {
|
|
19
|
+
const val RLM = ''
|
|
20
|
+
const val LRM = ''
|
|
21
|
+
|
|
22
|
+
/** `g9-line-direction` values. */
|
|
23
|
+
const val NATIVE = "native"
|
|
24
|
+
const val MAJORITY = "majority"
|
|
25
|
+
|
|
26
|
+
private val RTL_RANGES =
|
|
27
|
+
intArrayOf(
|
|
28
|
+
0x0590, 0x05ff, 0x0600, 0x06ff, 0x0700, 0x074f, 0x0750, 0x077f, 0x0780, 0x07bf, 0x07c0, 0x07ff,
|
|
29
|
+
0x0860, 0x086f, 0x08a0, 0x08ff, 0xfb1d, 0xfb4f, 0xfb50, 0xfdff, 0xfe70, 0xfeff,
|
|
30
|
+
)
|
|
31
|
+
|
|
32
|
+
// JavaScript's \s (the reference rule's whitespace), which Java's \s is not.
|
|
33
|
+
private const val SPACE = "\\t\\n\\u000B\\f\\r \\u00A0\\u1680\\u2000-\\u200A\\u2028\\u2029\\u202F\\u205F\\u3000\\uFEFF"
|
|
34
|
+
|
|
35
|
+
// stripNonVoting of the reference, in the same order. JavaScript's `$` without the m flag is the end of the input
|
|
36
|
+
// (\z), its \b and \w are ASCII.
|
|
37
|
+
private val NON_VOTING: List<Pair<Regex, String>> =
|
|
38
|
+
listOf(
|
|
39
|
+
Regex("```[\\s\\S]*?(```|\\z)") to " ",
|
|
40
|
+
Regex("~~~[\\s\\S]*?(~~~|\\z)") to " ",
|
|
41
|
+
Regex("`[^`\\n]*`?") to " ",
|
|
42
|
+
Regex("\\]\\([^)]*\\)") to "] ",
|
|
43
|
+
Regex("<[^>\\n]+>") to " ",
|
|
44
|
+
Regex("(?<![A-Za-z0-9_])https?://[^$SPACE]+", RegexOption.IGNORE_CASE) to " ",
|
|
45
|
+
Regex("(?:[A-Za-z]:)?(?:[\\\\/][A-Za-z0-9_.\\-]+){2,}") to " ",
|
|
46
|
+
)
|
|
47
|
+
|
|
48
|
+
fun isSpace(c: Char): Boolean =
|
|
49
|
+
c == '\t' || c == '\n' || c == '\u000B' || c == '\u000C' || c == '\r' || c == ' ' || c == ' ' ||
|
|
50
|
+
c == ' ' || c in ' '..' ' || c == '
' || c == '
' || c == ' ' ||
|
|
51
|
+
c == ' ' || c == ' ' || c == ''
|
|
52
|
+
|
|
53
|
+
/** Strong right-to-left: the scripts above, without their combining marks and digits. */
|
|
54
|
+
fun isRtlStrong(cp: Int): Boolean {
|
|
55
|
+
if (cp in 0x064b..0x065f) return false // harakat
|
|
56
|
+
if (cp == 0x0670) return false
|
|
57
|
+
if (cp in 0x0660..0x0669) return false // Arabic-Indic digits
|
|
58
|
+
if (cp in 0x06f0..0x06f9) return false // Persian digits
|
|
59
|
+
if (cp in 0x06d6..0x06ed) return false // Quranic marks
|
|
60
|
+
var i = 0
|
|
61
|
+
while (i < RTL_RANGES.size) {
|
|
62
|
+
if (cp >= RTL_RANGES[i] && cp <= RTL_RANGES[i + 1]) return true
|
|
63
|
+
i += 2
|
|
64
|
+
}
|
|
65
|
+
return false
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/** Strong left-to-right: an ASCII letter, or any other letter (\p{L}) that is not right-to-left. */
|
|
69
|
+
fun isLtrStrong(cp: Int): Boolean {
|
|
70
|
+
if (cp < 0x41) return false
|
|
71
|
+
if (cp < 0x80) return cp in 0x41..0x5a || cp in 0x61..0x7a
|
|
72
|
+
if (isRtlStrong(cp)) return false
|
|
73
|
+
return Character.isLetter(cp)
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/** The text without the parts that never vote. */
|
|
77
|
+
fun stripNonVoting(text: String): String {
|
|
78
|
+
// Every pattern needs one of these characters: most lines skip the regular expressions.
|
|
79
|
+
if (text.none { it == '`' || it == '~' || it == '<' || it == ']' || it == '/' || it == '\\' }) return text
|
|
80
|
+
var t = text
|
|
81
|
+
for ((re, by) in NON_VOTING) t = re.replace(t, by)
|
|
82
|
+
return t
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/** The strong letters of each side: `[rtl, ltr]`. */
|
|
86
|
+
fun countStrong(text: String): IntArray {
|
|
87
|
+
var rtl = 0
|
|
88
|
+
var ltr = 0
|
|
89
|
+
var i = 0
|
|
90
|
+
while (i < text.length) {
|
|
91
|
+
val cp = text.codePointAt(i)
|
|
92
|
+
if (isRtlStrong(cp)) rtl++ else if (isLtrStrong(cp)) ltr++
|
|
93
|
+
i += Character.charCount(cp)
|
|
94
|
+
}
|
|
95
|
+
return intArrayOf(rtl, ltr)
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/** The direction the line's leading mark asks for: `true` RTL, `false` LTR, `null` none. */
|
|
99
|
+
fun manual(text: CharSequence): Boolean? {
|
|
100
|
+
for (c in text) {
|
|
101
|
+
if (c == RLM) return true
|
|
102
|
+
if (c == LRM) return false
|
|
103
|
+
if (!isSpace(c)) return null
|
|
104
|
+
}
|
|
105
|
+
return null
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/** Whether `line` reads right to left: its own mark, else the majority, else `fallbackRtl` (a tie too). */
|
|
109
|
+
fun isRtl(line: CharSequence, fallbackRtl: Boolean): Boolean {
|
|
110
|
+
manual(line)?.let { return it }
|
|
111
|
+
val (rtl, ltr) = countStrong(stripNonVoting(line.toString())).let { it[0] to it[1] }
|
|
112
|
+
return when {
|
|
113
|
+
rtl > ltr -> true
|
|
114
|
+
ltr > rtl -> false
|
|
115
|
+
else -> fallbackRtl
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/** `"rtl"` / `"ltr"` (the golden's words). */
|
|
120
|
+
fun lineDir(line: CharSequence, fallback: String): String = if (isRtl(line, fallback == "rtl")) "rtl" else "ltr"
|
|
121
|
+
}
|
package/catalog/catalog.json
CHANGED
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.dom.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","../../sqlite/dist/values/ids.d.ts","../../sqlite/dist/values/int64.d.ts","../../sqlite/dist/values/local-date-time.d.ts","../../sqlite/dist/values/sql-value.d.ts","../../sqlite/dist/codecs/codecs.d.ts","../../foundation/dist/collections.d.ts","../../foundation/dist/culture/bidi.d.ts","../../foundation/dist/culture/digits.d.ts","../../foundation/dist/culture/culture.d.ts","../../foundation/dist/culture/calendar.d.ts","../../foundation/dist/culture/coordinates.d.ts","../../foundation/dist/culture/date-format.d.ts","../../foundation/dist/culture/duration.d.ts","../../foundation/dist/culture/natural-date.d.ts","../../foundation/dist/culture/numbers.d.ts","../../foundation/dist/culture/strings.d.ts","../../foundation/dist/culture/relative-time.d.ts","../../foundation/dist/culture/text.d.ts","../../foundation/dist/culture/words.d.ts","../../foundation/dist/culture/index.d.ts","../../foundation/dist/enums/index.d.ts","../../foundation/dist/errors.d.ts","../../foundation/dist/exec/diagnostics.d.ts","../../foundation/dist/services/abort.d.ts","../../foundation/dist/exec/options.d.ts","../../foundation/dist/services/clock.d.ts","../../foundation/dist/exec/trace.d.ts","../../foundation/dist/exec/safe-executor.d.ts","../../foundation/dist/exec/index.d.ts","../../foundation/dist/icons/generated/glyph-svg.d.ts","../../foundation/dist/icons/glyph.d.ts","../../foundation/dist/icons/icon.d.ts","../../foundation/dist/icons/glyph-slots.d.ts","../../foundation/dist/icons/icon-fonts.d.ts","../../foundation/dist/icons/packs.d.ts","../../foundation/dist/icons/svg.d.ts","../../foundation/dist/icons/index.d.ts","../../foundation/dist/layout/index.d.ts","../../foundation/dist/route/address.d.ts","../../foundation/dist/route/catalogue.d.ts","../../foundation/dist/route/journey.d.ts","../../foundation/dist/route/sink.d.ts","../../foundation/dist/route/resolve.d.ts","../../foundation/dist/route/view.d.ts","../../foundation/dist/route/index.d.ts","../../foundation/dist/services/feedback.d.ts","../../foundation/dist/services/preferences.d.ts","../../foundation/dist/services/contracts.d.ts","../../foundation/dist/services/image-src.d.ts","../../foundation/dist/services/keys.d.ts","../../foundation/dist/services/motion.d.ts","../../foundation/dist/services/index.d.ts","../../foundation/dist/tokens/generated/palettes.d.ts","../../foundation/dist/theme/aliases.d.ts","../../foundation/dist/tokens/shape.d.ts","../../foundation/dist/theme/color.d.ts","../../foundation/dist/theme/theme.d.ts","../../foundation/dist/theme/brand.d.ts","../../foundation/dist/theme/appearance.d.ts","../../foundation/dist/theme/token-themes.d.ts","../../foundation/dist/theme/sanitize.d.ts","../../foundation/dist/theme/appearance-kit.d.ts","../../foundation/dist/theme/contrast.d.ts","../../foundation/dist/theme/control-colors.d.ts","../../foundation/dist/theme/css-color.d.ts","../../foundation/dist/theme/design.d.ts","../../foundation/dist/theme/oklch.d.ts","../../foundation/dist/theme/recipe.d.ts","../../foundation/dist/tokens/generated/metrics.d.ts","../../foundation/dist/tokens/layout-metrics.d.ts","../../foundation/dist/tokens/css-vars.d.ts","../../foundation/dist/tokens/derived.d.ts","../../foundation/dist/theme/variants.d.ts","../../foundation/dist/theme/index.d.ts","../../foundation/dist/tokens/root.d.ts","../../foundation/dist/tokens/index.d.ts","../../foundation/dist/index.d.ts","../../sqlite/dist/driver/types.d.ts","../../sqlite/dist/contract/run-contract.d.ts","../../sqlite/dist/errors.d.ts","../../sqlite/dist/schema/columns.d.ts","../../sqlite/dist/query/expr.d.ts","../../sqlite/dist/schema/policies.d.ts","../../sqlite/dist/schema/entity.d.ts","../../sqlite/dist/query/compile.d.ts","../../sqlite/dist/query/builders.d.ts","../../sqlite/dist/repo/audit.d.ts","../../sqlite/dist/session/ambient.d.ts","../../sqlite/dist/session/locator.d.ts","../../sqlite/dist/session/migrations.d.ts","../../sqlite/dist/session/mutex.d.ts","../../sqlite/dist/session/write-hooks.d.ts","../../sqlite/dist/session/database.d.ts","../../sqlite/dist/session/cache.d.ts","../../sqlite/dist/session/scope.d.ts","../../sqlite/dist/repo/repository.d.ts","../../sqlite/dist/session/schema-setup.d.ts","../../sqlite/dist/index.d.ts","../src/protocol.ts","../src/transport.ts","../src/driver.ts","../src/image.ts","../src/services.ts","../src/speech.ts","../src/index.ts","../../../node_modules/@lynx-js/react/runtime/lib/runtime-marker.d.ts","../../../node_modules/preact/src/jsx.d.ts","../../../node_modules/preact/src/dom.d.ts","../../../node_modules/preact/src/index.d.ts","../../../node_modules/preact/hooks/src/index.d.ts","../../../node_modules/@lynx-js/react/runtime/lib/core/hooks/react.d.ts","../../../node_modules/@lynx-js/react/runtime/lib/snapshot/lynx/runwithforce.d.ts","../../../node_modules/@lynx-js/react/runtime/lib/lynx.d.ts","../../../node_modules/preact/compat/src/suspense.d.ts","../../../node_modules/preact/compat/src/index.d.ts","../../../node_modules/@lynx-js/react/runtime/lib/snapshot/lynx/children.d.ts","../../../node_modules/@lynx-js/react/runtime/lib/snapshot/lynx/element.d.ts","../../../node_modules/@lynx-js/react/runtime/lib/snapshot/lynx/portalspending.d.ts","../../../node_modules/@lynx-js/react/runtime/lib/snapshot/lynx/portals.d.ts","../../../node_modules/@lynx-js/react/runtime/lib/snapshot/lynx/suspense.d.ts","../../../node_modules/@lynx-js/react/runtime/lib/core/hooks/uselynxglobaleventlistener.d.ts","../../../node_modules/@lynx-js/react/runtime/lib/core/globalprops.d.ts","../../../node_modules/@lynx-js/react/runtime/lib/core/initdata.d.ts","../../../node_modules/@lynx-js/react/runtime/lib/core/lynx-data-processors.d.ts","../../../node_modules/@lynx-js/react/runtime/lib/core/background-function/run-on-background.d.ts","../../../node_modules/@lynx-js/react/runtime/lib/snapshot/worklet/call/runonmainthread.d.ts","../../../node_modules/@lynx-js/react/runtime/lib/worklet-runtime/api/animation/effect.d.ts","../../../node_modules/@lynx-js/react/runtime/lib/worklet-runtime/api/animation/animation.d.ts","../../../node_modules/@lynx-js/react/runtime/lib/worklet-runtime/api/element.d.ts","../../../node_modules/@lynx-js/react/runtime/lib/worklet-runtime/bindings/types.d.ts","../../../node_modules/@lynx-js/react/runtime/lib/core/main-thread-ref.d.ts","../../../node_modules/@lynx-js/react/runtime/lib/core/main-thread-object.d.ts","../../../node_modules/@lynx-js/react/runtime/lib/lynx-api.d.ts","../../../node_modules/@lynx-js/react/runtime/lib/index.d.ts","../../../node_modules/@lynx-js/react/types/react.docs.d.ts","../../../node_modules/@lynx-js/react/types/react.d.ts","../src/media.tsx"],"fileIdsList":[[41,96,97,234,235],[207,208,213,219],[41,208],[41,207,208,213,219],[41,228],[204,207,209,211,213,214,215,217,218,231],[41,219,220,221,222,223,224,229,230],[209,210],[207,213],[41,96,234,235],[41,96,207,216,234,235],[207],[225],[227],[226],[41,96,98,233,234,235],[41,209,231,232],[42,86,87,88],[53],[42,78,87,88,89,90,92,93,94],[42,86,87,88,90,91],[86,88],[42,86],[49,78],[43],[44],[51,55],[47],[41,51,55,56,57,58,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,79,80],[47,51,55,78],[47,51,55],[56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,79,80,81,82,83],[58,59],[47,51,55,59],[47,61,64],[46],[48,52,53,95],[44,47,48,49,51,53,54,55,84,85],[44,47],[52,86,95],[45,86],[46,47,55],[45,46,50,51],[49,86],[38,39,40],[41],[205,207,208,212],[205,206],[107],[106],[106,107,108],[105,106,107,108,109,110,111,112,113,114,115,116,117],[108],[114],[121,123,125,126],[122],[114,121,122,123,124,125],[121,124],[130],[129],[128,129,130,131,132,133,134],[104,118,119,120,127,135,136,143,150,172,174],[120],[120,137],[137,138,139,140,141,142],[138],[137,138,140],[137],[120,122,124,140,144,145],[122,124,144,145,146,147,148,149],[151],[151,153,155,157,158,159],[151,153,155,156],[151,154,155],[154,155],[154],[153,155],[152,154,155,156,157,158,160,161,162,163,164,165,166,171],[151,154],[151,155,157],[119,151,154,170],[151,167,168],[151,169],[151,153,167,168,169,170,173],[151,153,169],[98,196,197,198],[98,175,197],[98,197,198,199,200,201,202],[96,98,175,197,234],[98],[98,196,197],[99,100,101,102],[102,176],[102,175],[175],[99,100,101,102,103,176,177,178,179,180,181,182,183,184,185,186,187,188,190,191,192,193,194,195],[102,103,180,182,183],[102,103,180],[102,103,179],[99,101,182],[101,102,175,176,180,181,182,184,190,191,192,193,196],[100,101,103],[179,180,181],[180],[99,101,175],[181,182,191],[99,101,103,175,176,182,184,186,187,188,189,190,192],[175,182],[103,176,182,191],[176,181,182,184,190,191,192,194],[175,178,180,182],[100]],"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":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"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},"bbe47f7ebb177015803b69bad47ecf0e5987449cae5dd498664a9e4885d7cdff","4f260a074507a0065f3cd71d1adc1b361f5337b3db9e8d01589d5872e9387a4a","7674dcae15d29bcba5a7e8c26defdb06bf75297bfaa3025037bcc1e4df7b0ae1","fd99d077c946173acf9d955de97346ce70eee272fad895a7859cbf0846a9c16e","c93a8b906c128dec5e80e64404e21ea7a083f71c58de46d0b9b3c144a99a8f24","d533d1fe3018752aa47ee74ae5dbdca34377441b891176ad99bd33366a64372f","577287aa28cdd2976297531706a5baea4ba5171512f500731d3feba37057d851","44b82e4f46178400732ea809a906f7ffb9dd38efab331ca23e7ca4586bf903ef","d3dcff003bac57338c3e60be409d0ff167ec1ff513539a5534c7679332dbc992","16d64c89cec74fa23e8cee7c72acc7549f117dcf7845051870c40366c7522d09","706c787ed201e67534e550d765eecfb18a8c39f46e04fcec600d0bb9d1bb6231","11f9f682c02d51de68eed569f8de1e91c56df296a78f3a6c520b93d52aac2308","28b43630d8d29a300e1e5b0f5efb04c8f994d372fff1b653ce8bb70d4e011e1a","08521f5befe6ec3f1c3a881651321f875ca6fc79db15a6130283d409f5d47d1b","b06c48902c3d127098839c1a6500f41d3e21b2f07f277ba7de23ec730df7275d","946d8fa2088c22a4cbc85875ec7c700c93cf53d7b52057fe4e6730fd613c7925","a7a0e658ca429cfb5268d4bf2e2e6e9fe871ffd06b6588d65424ba4eba35338f","d2c14eeaa5c837048a6ef04e2c1a4f3a53bad9a1a8c34e7584c2fc760c53b877","995ad7257ddc7f156739058b64eeb7589ef7886ae4b6b769adffd5eca2cf0aa7","68a17e1da58e68e0921d31489ac6731167bd14aef9e10136f7a8c3cfc46abf72","5e621ae454f5ff6bfea91a558b93eb3dee64eac6f66ad8d6739a4a7c396a42f7","ccd708c3fff99b4ec315e14315dce6b9e85f4c96d10131e9fd219edb6efbdb26","abc924fce33b86b9f8588de3a5be04c609fafa6cb1dc42629b3e9e3e18f7d018","f919e3a8b2d274b631ee4fee0c50eba1d3f39ceaccba04dff915e9f61e9f153c","3ae17ae844491c7326d070c3e70a94a9239394e7a1e84eb203eb1d57470e752e","d1b2970d348eb9f89ef0f0c6730d27e9331067a28f21c8bd667ba1138d5d3e93","b2c4833e6308888c3947953770b3343deaf4276c803bb36148991a3fb90b4f6a","41b7c8204ea79a93e380a228f5c744e9c9a80183133ac62633a4c76e3fdbd7db","d0a441df587b0632c16a813117f110574d903ddd0bc4d28599cc82ff8af7c094","b24ac81f4fcff56ed9827736abcf2f92ea5f86e16d66eb2ee3ccfa0bb8143bc9","068309ff581d08c276c4a772ddf3ab9c8090e591fc9917fdc6cdffc12c95a5bf","bc3f7915b03647e3e83822de983d6e9c12b42e70fac64f6083a656615d4608b2","bb3ccaacf5c19a7170939b7f735c6a94537fd95ad16b4247a6ad572b23183e74","932cf396945e35e7462ca1cddc06353805dfad9108f52dd63d7a63ee0c126ed3","7ec540fd5fb0761576c417b27ea61ec08123412487b020942c893510dce970db","f858a10d167e011155bfe5a3532f599e677bced6727c07366f380c02010650d4","465f5d53f09ac1978002bc264b8a4c0aea749c79dd2bd1917dffe57fddcb9543","cf4ef9c41637cb6995fee096890a0e6113141bcce82cc7d5754c281f03ad889e","40f34f36aba872decb7540030db33dc84f1a53d4778fd8c8ad840d68f2023f3a","10347593c1b262343845f577673e5956217a8a571c859d83e2de50a54729541f","e0a192de84052b553230c5f649307dfb49df6dce54fdc538de15078d895f5f66","228e7d711e429183ddf7fc8c331d00540557ade296fb8132d5bfc48d5c933f89","e8906c76ded4f87db27adfe3e8f9e1a729be51a6a0c2c458f31662c6278b1925","49bca6d49d9c5a525146bba60a48e448e1eabe79be789a7b5238ac10a2f620b3","08fe86bcae8e02f769d215958438d6858dc19aeed2a61c7d7327f052b0db25fc","cd3a9799c8e0996b4d31d5235a8ae105b79a7fa31ba8f660ca35b043048ef757","ee4e73f46ce2f6517e82434bd9fc63c8b6b2179d37d74525899f124a76d06669","bdf4198c8184d08a5f3c270beeebd39e25fe6a296c1c49e9397ca64b00eaff93","eb14fd861c19490984176eb4d5174447ffe26259c005ec0e5ff7aaed5b14d4d1","5f96841314e358366bcb3b3d07c8b8d924e90dcd00dcf2202900cbfaeefc1a03","216aa3f63d62f13b158445ff6a3bea8ccfd110f2bf219d607175518c9cc5b29d","50e18e1d1cd61d9748be189663736f32ffbed5b20df882ab96bcf1fc14f4140a","faa64d270fa523f80fd31bc7340ee7f6a21632c2ea0cea6535bf5a34bcc6adf7","931d70c96033881193232b90c39210c6cd14865f28b339843c56b5688e7fd10d","6687ad856daa2112d8a29e1eaa432b5f50a359c137d8fa103856cb082fa37d73","29e6e980f179ac2981d68954462dfd4a4545f73c021f6a4c8a5f442c0e16e56c","2c4d14bebf5c2fdddef90b2e6e49ce0b2adea7429d2900f1848f3d01b8a845c7","d4924e2b191fee9b43aaeef651c87a7084281d425a30a9a8cf50de8f92b64f6d","73f7f257234435f66832b1c05ce78d071f41475fb7fbac76f5a71bf1ea1321b8","293e5036d0dd23f18b391ca6f878bc1116a5482d1f26e8535765291553eb9f57","a324358754f94c05fa3bd4748c35928c38ffc911e454d4fc076c7aff6c428c15","b86da197c889098bd93ce46049240f5580827b24e6c2ce9919ed4cffd81b4756","a59554ba3751ea9ad27f6948f1c71ef57f1e28bb526a53eacb0dfa76bc1df452","ea5a5d5873c239b97d846fb8c78437e08ffd731924764f746c0ebcb7731d7648","da401323d4c96e3f5b8fa8b7ecd200d47a9e340b09cefbea553d2b2b5a345e60","ead4a7fd25e5e2b756a5e71546bd8eae855c7b0ecbffd891f7fb0b6f7d80c0c1","4a81e2e28cab8b353156bef9c19c0b3640958945d655fd3798756d468b50707a","cc44cf86b3ddb7d61f7de3fd32116089decb662a8b6421013bd4a8ee9a079881","ab7ed47f18899e74299db14911a028a0aaf1acae17f870a64ead7d91953d40b3","298f8d2584216932ea238927177ef343d0b8da735eb40a5ba96b1f92e3675e33","c8082c78975419ed5a9f7daa655643425cdd98fee91bb82fd92d25f908c78465","24a588d942a36d853d18dfe63711e9b180ea0448b956dadce7833f4d6455f0c8","c263cc53a55cc822c360481e94d0fe999acebf92f01f2ca84225a168a182657f","bd0e9a77d36caab3832f67ccdb482a8db24294efd149cb881061517dd6cc7da4","09dbd5c05f35b9ca743ea2a908c48be0d0b685e8ec1c1bcbb76443762fec1131","54b0b4ef21d120cb5267b91ed038d20d0905ba5d928c6eda2b546a0f03572dd7","56cac1d8d4be53381e236d675f43c1b2342161ca45d31dfaaf340b0612d14bc5","ec5e4d7021c750ea1b5b29b6c5d40e3cdbc180762b0806f0d0cbe117327162b9","594145b6622d5b02a40942c1a17fa6bb4fdb13a277ec703ee38018fc22d45034","a244408662b901d15567a5bcff4b29cd13a2a6c9bb2c27329eec616c48c8f144","4445f683ff67d2a80f6cbb5ae52039753c899890ebc27086ad17ffd005a8330d","050e9264752c154aa4f2d64f89c66a6e53dbf13a829c462aaa88eecc6e2e64b7","7cd6162b58f9275f44dc4e2293e0b7965680c2c271f7a2f8cece0b90ec61627c","6c2207dbeb0be8f55f38992b4b780ec29a8a0a0787b7076d8460ea71a27d5187","da3481884a0bbe5a9dfb44c1819ca7ad109cc1712d8a793eeef8742d94322ac1","f007826b8993773396aea70f1ad8b3e812aa33ee356b4c4034125efbc727ebb4","d25b3f0682520845fa1a1f42cdc23fbf5c0f7f8dc9806ec74d47f075d29b06dd","0a9f595404a498a83031f74e28f9fb3218038195f032a83da72146b3f8b5fb8c","54f9c37e150e434622cff5d71fb87237c48497141cb379fc1ab4d019a4a43e2e","0a0bb371deaec9e4e6580408c196fe5f0b668764c7a774f3f3f8a1447df0316f","6f5878e8666a8abbb560dcc15b19c95ac5b0f4f85aabab2e804abb6a145030e4","42997ccaad776930cb3b67f9585e680fb600e60c4464004d79eb2811869d047b","f341bef577fe12a6a779c986f89598855b39fe27810f12b2a181df6182cfc986","ebb1f50c2d70bc6310ac7eb99218ae3c0aba56d532964aff7a6872c668345d06","e34992c536be7eba4356e76d29f0cea34c8ef825ebe5f7f57841e48c38a6db17","e4f379e50c84ebb1be3476e4318c27597a0fcd518d7afca038f43a7ba4798c3c","09a9cb77ae0718ba8ccac3503fad79a896f071a24a64f8d40414d9c4f49e1b31","09ecbb99c6068a330c19d3c2efba4061bc1f3f7c55c1ae792398cc072d8a0dee",{"version":"44ee65e9ab2650bc368f2b2535d83e2cca0c1f3d3e86d8520ec693ea3faee21a","signature":"b5f22cf98ed547f6f125e9d9ac6d448d899fea8c8e6bcb453f994fda9ea11fa7"},{"version":"b196a892a7087bc69d5e14a1647aaf5acfcdf995c1935a55afe405253c153b4c","signature":"f63a428eadbfdbc8c9137c4bdaa77a23988f7e82d1b01b5ef7d13e2f37d3d044"},{"version":"bb4df5f784c131c8fc70cfb1868ab99b883347d48c7260450d3c56958a996d60","signature":"b2b0e3e6fd8b425abfb54a11133c8b9abfc186d61ac86adc8deaba0b8c2f4e8f"},{"version":"a10bd8b59188a044058b7e0279c4e310fac2bc6a5210e6c92d0c7d098b89eb90","signature":"7be9344f079fb02e6b6d28230b29ebd2ef163c808fb7e9ddc145d90952a71719"},{"version":"806e6a96d6ab05753d3b4096f635af030a033610f453a49873a984eac3e0d232","signature":"b21d045012e762ef93941edb54fa4d08344dfc57247f96fcb5f0039972d61ff7"},{"version":"a6ed2271e6d0d4530f902777df5c4123b86c872f50ef6796ec63b77f56ac11b9","signature":"46ec089d57ddc32a6869f7cdfb6a81e37a8b93eb3d4c15798ea7c2de2ff947d4"},{"version":"0d59b623a6be6aea8b0c53a0557253062dd7acee9216d76a629fcdfa03735ed8","signature":"0f66fab0c9a0fa6b8b98e51363a0b4edfd42d514eda1ca413e37f69e8d55b18d"},{"version":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","impliedFormat":99},{"version":"8a2ef120c4da7aab664148ed8d283aa0b98df4d5f15c570d830c8998ef05718b","impliedFormat":1},{"version":"4433d18f82991634feae5150a68f9b30f5b05b55416af8ff9f7251fb29431ed5","impliedFormat":1},{"version":"cc5d0b221824b7d8597e8a2bbdad2383af877eb564eaca392992049839e88c9e","impliedFormat":1},{"version":"21898d939444825cee1232af435330610b09171bea22a2f892cf2058d764b63d","impliedFormat":1},{"version":"2baebea93983e898000858daeeeb2ac29938891b6b8db72ebce294837fc9499f","impliedFormat":99},{"version":"d9d320cf31f6d63659484f6c9ca4db4ae673daefa65118dd8589838925ff1397","impliedFormat":99},{"version":"027cf2216d065a97bf5a8ea126b3ea2734fab6cfe32adaff81ab4e94a1b51bbe","impliedFormat":99},{"version":"f6e6313fad233c5141220f7d25eae120cdd6e5079fbe0aba56821a1e99d05df8","impliedFormat":1},{"version":"9534c35b4577c193e499178deb47419fdadddd5e53af5ec8cb88218848013f65","impliedFormat":1},{"version":"97f43a6558157a3abae4e32256cc74ba34f69ab30473008ffa13011bf0932986","impliedFormat":99},{"version":"45b8adde5735e97329752dd5598b7ecd85202f221a1d0e8aa90137ce5810f21c","impliedFormat":99},{"version":"dfe6945467765f8e7843442a9dfbcf6b5526b6465b07b4c75a54a750329b5f17","impliedFormat":99},{"version":"7f9f6c9fe0e48c401d855d849e28112ffe2425569eca01b08b8c6112b8200695","impliedFormat":99},{"version":"68fcdc663627d12d336b420b19b3e54258844d0cbca0879f711c22aafd853352","impliedFormat":99},{"version":"d3dd47deefa1cc5dd6f1b866132506ec8dfd678ae0ddaa44de188505df14fcc4","impliedFormat":99},{"version":"a5946bc88dac85da2afacdfa3471ff3bc2bbda7c0e34efde184cf17e6bceb6bc","impliedFormat":99},{"version":"75b68165b9bcc07579562f182d327e83583b89b91d62e76b86f4001feee699ba","impliedFormat":99},{"version":"a9d1030f6773d29b383f49e2c647a7e6e464906e1de97a6bc33d2528d957c4d7","impliedFormat":99},{"version":"37b997d60987b68ce8117da783442b4602c8a85d47680823d469fdc90d29e3b8","impliedFormat":99},{"version":"600850ecc310012e3b1a562629d97a1d78662ae8c477357513dd2e6aa704079b","impliedFormat":99},{"version":"335226d599a9382c9bea07d37e23bf998c1022c0f67e4d6d2b69633de6ac118f","impliedFormat":99},{"version":"ae430fd9bac320e71c3fe9299d90dcf67555d9a4f97ecaa35947b430ba8648ea","impliedFormat":99},{"version":"9061ff14146280f47d740b344ddd641c16df526ecaa868c348852277a9fb8686","impliedFormat":99},{"version":"49ee4555c2fafa01119cccc62436baad88ed937ff55d6a655e764ada6b0721e3","impliedFormat":99},{"version":"e059fb9064bc023bc06945ddda6b00e711c18e8657c82514b51c1c1b828642e9","impliedFormat":99},{"version":"f01b3b376946defc432893dcbbbc79472076b6a55a316b0a461a1b38d09e961c","impliedFormat":99},{"version":"da74d8af20172cfee988a2daf92c560f3fdc816fb9c0537f2cc37ef27b1552a8","impliedFormat":99},{"version":"feed66ae8815d1981ad575482766fb9a82385e75cce35ae2f13be58e50c4349f","impliedFormat":99},{"version":"21305b3c41b1e29c0f0d8f43fe227bca82493f6e4c6407a3363c6f729f1c04ba","affectsGlobalScope":true,"impliedFormat":99},{"version":"20c1041fbd4f1537686af4b707872b87c90a22201f8979e5def4554d28b46a5b","impliedFormat":99},{"version":"6b36d087dc104d9405d15bad3486ed5cc3f2e051264fdae060a89996c3fc4072","signature":"a803340e437aa5a6accfd83f659fb9fffae339f7fde991b61d1025313f9c79cd"}],"root":[[197,203],235],"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":[[98,1],[220,2],[209,3],[221,4],[229,5],[232,6],[231,7],[211,8],[214,9],[215,10],[217,11],[218,12],[226,13],[225,14],[227,15],[228,14],[234,16],[233,17],[89,18],[91,19],[95,20],[92,21],[93,22],[88,23],[90,24],[44,25],[83,26],[74,27],[59,28],[56,27],[81,29],[57,27],[79,30],[58,31],[84,32],[60,33],[67,31],[62,27],[61,34],[76,31],[82,35],[80,31],[63,27],[71,31],[72,31],[64,34],[70,31],[65,34],[68,31],[69,27],[77,31],[66,27],[73,31],[75,31],[47,36],[54,37],[86,38],[55,39],[96,40],[45,36],[46,41],[51,42],[52,43],[50,44],[41,45],[97,46],[213,47],[212,12],[208,12],[206,12],[207,48],[205,12],[108,49],[109,50],[107,50],[110,51],[118,52],[112,53],[113,50],[115,54],[114,49],[116,50],[127,55],[123,56],[126,57],[125,58],[131,59],[132,59],[130,60],[135,61],[134,60],[175,62],[137,63],[138,64],[143,65],[139,66],[141,67],[140,68],[146,69],[150,70],[152,71],[160,72],[157,73],[156,74],[154,63],[161,71],[162,75],[163,76],[164,77],[172,78],[165,76],[166,73],[155,79],[158,80],[171,81],[169,82],[170,83],[174,84],[173,85],[199,86],[200,87],[203,88],[235,89],[197,90],[201,87],[202,87],[198,91],[103,92],[177,93],[176,94],[178,95],[196,96],[184,97],[183,98],[180,99],[185,100],[194,101],[179,102],[182,103],[181,104],[186,105],[192,106],[191,107],[188,108],[195,109],[193,110],[190,111],[102,112]],"latestChangedDtsFile":"./media.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.dom.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","../../sqlite/dist/values/ids.d.ts","../../sqlite/dist/values/int64.d.ts","../../sqlite/dist/values/local-date-time.d.ts","../../sqlite/dist/values/sql-value.d.ts","../../sqlite/dist/codecs/codecs.d.ts","../../foundation/dist/collections.d.ts","../../foundation/dist/culture/bidi.d.ts","../../foundation/dist/culture/digits.d.ts","../../foundation/dist/culture/culture.d.ts","../../foundation/dist/culture/calendar.d.ts","../../foundation/dist/culture/coordinates.d.ts","../../foundation/dist/culture/date-format.d.ts","../../foundation/dist/culture/duration.d.ts","../../foundation/dist/culture/natural-date.d.ts","../../foundation/dist/culture/numbers.d.ts","../../foundation/dist/culture/strings.d.ts","../../foundation/dist/culture/relative-time.d.ts","../../foundation/dist/culture/text.d.ts","../../foundation/dist/culture/words.d.ts","../../foundation/dist/culture/index.d.ts","../../foundation/dist/enums/index.d.ts","../../foundation/dist/errors.d.ts","../../foundation/dist/exec/diagnostics.d.ts","../../foundation/dist/services/abort.d.ts","../../foundation/dist/exec/options.d.ts","../../foundation/dist/services/clock.d.ts","../../foundation/dist/exec/trace.d.ts","../../foundation/dist/exec/safe-executor.d.ts","../../foundation/dist/exec/index.d.ts","../../foundation/dist/icons/generated/glyph-svg.d.ts","../../foundation/dist/icons/glyph.d.ts","../../foundation/dist/icons/icon.d.ts","../../foundation/dist/icons/glyph-slots.d.ts","../../foundation/dist/icons/icon-fonts.d.ts","../../foundation/dist/icons/packs.d.ts","../../foundation/dist/icons/svg.d.ts","../../foundation/dist/icons/index.d.ts","../../foundation/dist/layout/index.d.ts","../../foundation/dist/route/address.d.ts","../../foundation/dist/route/catalogue.d.ts","../../foundation/dist/route/journey.d.ts","../../foundation/dist/route/sink.d.ts","../../foundation/dist/route/resolve.d.ts","../../foundation/dist/route/view.d.ts","../../foundation/dist/route/index.d.ts","../../foundation/dist/services/feedback.d.ts","../../foundation/dist/services/preferences.d.ts","../../foundation/dist/services/contracts.d.ts","../../foundation/dist/services/image-src.d.ts","../../foundation/dist/services/keys.d.ts","../../foundation/dist/services/motion.d.ts","../../foundation/dist/services/index.d.ts","../../foundation/dist/tokens/generated/palettes.d.ts","../../foundation/dist/theme/aliases.d.ts","../../foundation/dist/tokens/shape.d.ts","../../foundation/dist/theme/color.d.ts","../../foundation/dist/theme/theme.d.ts","../../foundation/dist/theme/brand.d.ts","../../foundation/dist/theme/appearance.d.ts","../../foundation/dist/theme/token-themes.d.ts","../../foundation/dist/theme/sanitize.d.ts","../../foundation/dist/theme/appearance-kit.d.ts","../../foundation/dist/theme/contrast.d.ts","../../foundation/dist/theme/control-colors.d.ts","../../foundation/dist/theme/css-color.d.ts","../../foundation/dist/theme/design.d.ts","../../foundation/dist/theme/oklch.d.ts","../../foundation/dist/theme/recipe.d.ts","../../foundation/dist/tokens/generated/metrics.d.ts","../../foundation/dist/tokens/layout-metrics.d.ts","../../foundation/dist/tokens/css-vars.d.ts","../../foundation/dist/tokens/derived.d.ts","../../foundation/dist/theme/variants.d.ts","../../foundation/dist/theme/index.d.ts","../../foundation/dist/tokens/root.d.ts","../../foundation/dist/tokens/index.d.ts","../../foundation/dist/index.d.ts","../../sqlite/dist/driver/types.d.ts","../../sqlite/dist/contract/run-contract.d.ts","../../sqlite/dist/errors.d.ts","../../sqlite/dist/schema/columns.d.ts","../../sqlite/dist/query/expr.d.ts","../../sqlite/dist/schema/policies.d.ts","../../sqlite/dist/schema/entity.d.ts","../../sqlite/dist/query/compile.d.ts","../../sqlite/dist/query/builders.d.ts","../../sqlite/dist/repo/audit.d.ts","../../sqlite/dist/session/ambient.d.ts","../../sqlite/dist/session/locator.d.ts","../../sqlite/dist/session/migrations.d.ts","../../sqlite/dist/session/mutex.d.ts","../../sqlite/dist/session/write-hooks.d.ts","../../sqlite/dist/session/database.d.ts","../../sqlite/dist/session/cache.d.ts","../../sqlite/dist/session/scope.d.ts","../../sqlite/dist/repo/repository.d.ts","../../sqlite/dist/session/schema-setup.d.ts","../../sqlite/dist/index.d.ts","../src/protocol.ts","../src/transport.ts","../src/driver.ts","../src/image.ts","../src/services.ts","../src/speech.ts","../src/index.ts","../../../node_modules/@lynx-js/react/runtime/lib/runtime-marker.d.ts","../../../node_modules/preact/src/jsx.d.ts","../../../node_modules/preact/src/dom.d.ts","../../../node_modules/preact/src/index.d.ts","../../../node_modules/preact/hooks/src/index.d.ts","../../../node_modules/@lynx-js/react/runtime/lib/core/hooks/react.d.ts","../../../node_modules/@lynx-js/react/runtime/lib/snapshot/lynx/runwithforce.d.ts","../../../node_modules/@lynx-js/react/runtime/lib/lynx.d.ts","../../../node_modules/preact/compat/src/suspense.d.ts","../../../node_modules/preact/compat/src/index.d.ts","../../../node_modules/@lynx-js/react/runtime/lib/snapshot/lynx/children.d.ts","../../../node_modules/@lynx-js/react/runtime/lib/snapshot/lynx/element.d.ts","../../../node_modules/@lynx-js/react/runtime/lib/snapshot/lynx/portalspending.d.ts","../../../node_modules/@lynx-js/react/runtime/lib/snapshot/lynx/portals.d.ts","../../../node_modules/@lynx-js/react/runtime/lib/snapshot/lynx/suspense.d.ts","../../../node_modules/@lynx-js/react/runtime/lib/core/hooks/uselynxglobaleventlistener.d.ts","../../../node_modules/@lynx-js/react/runtime/lib/core/globalprops.d.ts","../../../node_modules/@lynx-js/react/runtime/lib/core/initdata.d.ts","../../../node_modules/@lynx-js/react/runtime/lib/core/lynx-data-processors.d.ts","../../../node_modules/@lynx-js/react/runtime/lib/core/background-function/run-on-background.d.ts","../../../node_modules/@lynx-js/react/runtime/lib/snapshot/worklet/call/runonmainthread.d.ts","../../../node_modules/@lynx-js/react/runtime/lib/worklet-runtime/api/animation/effect.d.ts","../../../node_modules/@lynx-js/react/runtime/lib/worklet-runtime/api/animation/animation.d.ts","../../../node_modules/@lynx-js/react/runtime/lib/worklet-runtime/api/element.d.ts","../../../node_modules/@lynx-js/react/runtime/lib/worklet-runtime/bindings/types.d.ts","../../../node_modules/@lynx-js/react/runtime/lib/core/main-thread-ref.d.ts","../../../node_modules/@lynx-js/react/runtime/lib/core/main-thread-object.d.ts","../../../node_modules/@lynx-js/react/runtime/lib/lynx-api.d.ts","../../../node_modules/@lynx-js/react/runtime/lib/index.d.ts","../../../node_modules/@lynx-js/react/types/react.docs.d.ts","../../../node_modules/@lynx-js/react/types/react.d.ts","../src/media.tsx"],"fileIdsList":[[41,96,97,234,235],[207,208,213,219],[41,208],[41,207,208,213,219],[41,228],[204,207,209,211,213,214,215,217,218,231],[41,219,220,221,222,223,224,229,230],[209,210],[207,213],[41,96,234,235],[41,96,207,216,234,235],[207],[225],[227],[226],[41,96,98,233,234,235],[41,209,231,232],[42,86,87,88],[53],[42,78,87,88,89,90,92,93,94],[42,86,87,88,90,91],[86,88],[42,86],[49,78],[43],[44],[51,55],[47],[41,51,55,56,57,58,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,79,80],[47,51,55,78],[47,51,55],[56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,79,80,81,82,83],[58,59],[47,51,55,59],[47,61,64],[46],[48,52,53,95],[44,47,48,49,51,53,54,55,84,85],[44,47],[52,86,95],[45,86],[46,47,55],[45,46,50,51],[49,86],[38,39,40],[41],[205,207,208,212],[205,206],[107],[106],[106,107,108],[105,106,107,108,109,110,111,112,113,114,115,116,117],[108],[114],[121,123,125,126],[122],[114,121,122,123,124,125],[121,124],[130],[129],[128,129,130,131,132,133,134],[104,118,119,120,127,135,136,143,150,172,174],[120],[120,137],[137,138,139,140,141,142],[138],[137,138,140],[137],[120,122,124,140,144,145],[122,124,144,145,146,147,148,149],[151],[151,153,155,157,158,159],[151,153,155,156],[151,154,155],[154,155],[154],[153,155],[152,154,155,156,157,158,160,161,162,163,164,165,166,171],[151,154],[151,155,157],[119,151,154,170],[151,167,168],[151,169],[151,153,167,168,169,170,173],[151,153,169],[98,196,197,198],[98,175,197],[98,197,198,199,200,201,202],[96,98,175,197,234],[98],[98,196,197],[99,100,101,102],[102,176],[102,175],[175],[99,100,101,102,103,176,177,178,179,180,181,182,183,184,185,186,187,188,190,191,192,193,194,195],[102,103,180,182,183],[102,103,180],[102,103,179],[99,101,182],[101,102,175,176,180,181,182,184,190,191,192,193,196],[100,101,103],[179,180,181],[180],[99,101,175],[181,182,191],[99,101,103,175,176,182,184,186,187,188,189,190,192],[175,182],[103,176,182,191],[176,181,182,184,190,191,192,194],[175,178,180,182],[100]],"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":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"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},"bbe47f7ebb177015803b69bad47ecf0e5987449cae5dd498664a9e4885d7cdff","4f260a074507a0065f3cd71d1adc1b361f5337b3db9e8d01589d5872e9387a4a","7674dcae15d29bcba5a7e8c26defdb06bf75297bfaa3025037bcc1e4df7b0ae1","97ff954e351fb81e182a8bc0d7c6e3625054e2c37ea5df0ad0ea12952bd5d9c0","c65ecf314f579465ceba2eb45ec7529f977a7809480ff6119c7c129022472cca","d533d1fe3018752aa47ee74ae5dbdca34377441b891176ad99bd33366a64372f","577287aa28cdd2976297531706a5baea4ba5171512f500731d3feba37057d851","44b82e4f46178400732ea809a906f7ffb9dd38efab331ca23e7ca4586bf903ef","d3dcff003bac57338c3e60be409d0ff167ec1ff513539a5534c7679332dbc992","16d64c89cec74fa23e8cee7c72acc7549f117dcf7845051870c40366c7522d09","706c787ed201e67534e550d765eecfb18a8c39f46e04fcec600d0bb9d1bb6231","11f9f682c02d51de68eed569f8de1e91c56df296a78f3a6c520b93d52aac2308","28b43630d8d29a300e1e5b0f5efb04c8f994d372fff1b653ce8bb70d4e011e1a","08521f5befe6ec3f1c3a881651321f875ca6fc79db15a6130283d409f5d47d1b","b06c48902c3d127098839c1a6500f41d3e21b2f07f277ba7de23ec730df7275d","946d8fa2088c22a4cbc85875ec7c700c93cf53d7b52057fe4e6730fd613c7925","a7a0e658ca429cfb5268d4bf2e2e6e9fe871ffd06b6588d65424ba4eba35338f","d2c14eeaa5c837048a6ef04e2c1a4f3a53bad9a1a8c34e7584c2fc760c53b877","995ad7257ddc7f156739058b64eeb7589ef7886ae4b6b769adffd5eca2cf0aa7","68a17e1da58e68e0921d31489ac6731167bd14aef9e10136f7a8c3cfc46abf72","5e621ae454f5ff6bfea91a558b93eb3dee64eac6f66ad8d6739a4a7c396a42f7","ccd708c3fff99b4ec315e14315dce6b9e85f4c96d10131e9fd219edb6efbdb26","abc924fce33b86b9f8588de3a5be04c609fafa6cb1dc42629b3e9e3e18f7d018","f919e3a8b2d274b631ee4fee0c50eba1d3f39ceaccba04dff915e9f61e9f153c","3ae17ae844491c7326d070c3e70a94a9239394e7a1e84eb203eb1d57470e752e","d1b2970d348eb9f89ef0f0c6730d27e9331067a28f21c8bd667ba1138d5d3e93","b2c4833e6308888c3947953770b3343deaf4276c803bb36148991a3fb90b4f6a","41b7c8204ea79a93e380a228f5c744e9c9a80183133ac62633a4c76e3fdbd7db","d0a441df587b0632c16a813117f110574d903ddd0bc4d28599cc82ff8af7c094","b24ac81f4fcff56ed9827736abcf2f92ea5f86e16d66eb2ee3ccfa0bb8143bc9","068309ff581d08c276c4a772ddf3ab9c8090e591fc9917fdc6cdffc12c95a5bf","bc3f7915b03647e3e83822de983d6e9c12b42e70fac64f6083a656615d4608b2","bb3ccaacf5c19a7170939b7f735c6a94537fd95ad16b4247a6ad572b23183e74","932cf396945e35e7462ca1cddc06353805dfad9108f52dd63d7a63ee0c126ed3","7ec540fd5fb0761576c417b27ea61ec08123412487b020942c893510dce970db","f858a10d167e011155bfe5a3532f599e677bced6727c07366f380c02010650d4","465f5d53f09ac1978002bc264b8a4c0aea749c79dd2bd1917dffe57fddcb9543","cf4ef9c41637cb6995fee096890a0e6113141bcce82cc7d5754c281f03ad889e","40f34f36aba872decb7540030db33dc84f1a53d4778fd8c8ad840d68f2023f3a","10347593c1b262343845f577673e5956217a8a571c859d83e2de50a54729541f","e0a192de84052b553230c5f649307dfb49df6dce54fdc538de15078d895f5f66","228e7d711e429183ddf7fc8c331d00540557ade296fb8132d5bfc48d5c933f89","e8906c76ded4f87db27adfe3e8f9e1a729be51a6a0c2c458f31662c6278b1925","49bca6d49d9c5a525146bba60a48e448e1eabe79be789a7b5238ac10a2f620b3","08fe86bcae8e02f769d215958438d6858dc19aeed2a61c7d7327f052b0db25fc","cd3a9799c8e0996b4d31d5235a8ae105b79a7fa31ba8f660ca35b043048ef757","ee4e73f46ce2f6517e82434bd9fc63c8b6b2179d37d74525899f124a76d06669","bdf4198c8184d08a5f3c270beeebd39e25fe6a296c1c49e9397ca64b00eaff93","eb14fd861c19490984176eb4d5174447ffe26259c005ec0e5ff7aaed5b14d4d1","5f96841314e358366bcb3b3d07c8b8d924e90dcd00dcf2202900cbfaeefc1a03","216aa3f63d62f13b158445ff6a3bea8ccfd110f2bf219d607175518c9cc5b29d","50e18e1d1cd61d9748be189663736f32ffbed5b20df882ab96bcf1fc14f4140a","faa64d270fa523f80fd31bc7340ee7f6a21632c2ea0cea6535bf5a34bcc6adf7","931d70c96033881193232b90c39210c6cd14865f28b339843c56b5688e7fd10d","6687ad856daa2112d8a29e1eaa432b5f50a359c137d8fa103856cb082fa37d73","29e6e980f179ac2981d68954462dfd4a4545f73c021f6a4c8a5f442c0e16e56c","2c4d14bebf5c2fdddef90b2e6e49ce0b2adea7429d2900f1848f3d01b8a845c7","d4924e2b191fee9b43aaeef651c87a7084281d425a30a9a8cf50de8f92b64f6d","73f7f257234435f66832b1c05ce78d071f41475fb7fbac76f5a71bf1ea1321b8","293e5036d0dd23f18b391ca6f878bc1116a5482d1f26e8535765291553eb9f57","a324358754f94c05fa3bd4748c35928c38ffc911e454d4fc076c7aff6c428c15","b86da197c889098bd93ce46049240f5580827b24e6c2ce9919ed4cffd81b4756","a59554ba3751ea9ad27f6948f1c71ef57f1e28bb526a53eacb0dfa76bc1df452","ea5a5d5873c239b97d846fb8c78437e08ffd731924764f746c0ebcb7731d7648","da401323d4c96e3f5b8fa8b7ecd200d47a9e340b09cefbea553d2b2b5a345e60","ead4a7fd25e5e2b756a5e71546bd8eae855c7b0ecbffd891f7fb0b6f7d80c0c1","4a81e2e28cab8b353156bef9c19c0b3640958945d655fd3798756d468b50707a","cc44cf86b3ddb7d61f7de3fd32116089decb662a8b6421013bd4a8ee9a079881","ab7ed47f18899e74299db14911a028a0aaf1acae17f870a64ead7d91953d40b3","298f8d2584216932ea238927177ef343d0b8da735eb40a5ba96b1f92e3675e33","c8082c78975419ed5a9f7daa655643425cdd98fee91bb82fd92d25f908c78465","24a588d942a36d853d18dfe63711e9b180ea0448b956dadce7833f4d6455f0c8","c263cc53a55cc822c360481e94d0fe999acebf92f01f2ca84225a168a182657f","bd0e9a77d36caab3832f67ccdb482a8db24294efd149cb881061517dd6cc7da4","09dbd5c05f35b9ca743ea2a908c48be0d0b685e8ec1c1bcbb76443762fec1131","54b0b4ef21d120cb5267b91ed038d20d0905ba5d928c6eda2b546a0f03572dd7","56cac1d8d4be53381e236d675f43c1b2342161ca45d31dfaaf340b0612d14bc5","efb30c7f5b1e7e2c8941c95355161907fdd6f3f28941cceacf81edc11db89bad","37700ef2907cfee5d680c1ceb83ba8355223f375c8093f523b9ee2ce108c1044","a244408662b901d15567a5bcff4b29cd13a2a6c9bb2c27329eec616c48c8f144","cf4c01af6890db612fcb2eda144fa7a947a0fd005052f41485459d195cd7396d","770c7abd7f2b17ff392e7179ad9b14518bc284f18834ec6efc00b4c62b8a4846","f29c840652a2d49e5b24debe0c06f9dd6ca15f96421cbac112ba982258b16a94","44a3d19d7e208acb0261a1f718c047854d0794683a0d5c2193522d310e36bdec","090ce3b05198a4c287542354fcedbfd570d87b2f32d0363cab0eb48989aecd2e","ad4b4e5abb5f01f966304dfa08c347137a3fe77329c7ae6c17c824c3d4babf33","b78cb18aa49943470bbab837676a7c35d1dfbfae7241c144f1d7fbd183989022","024aeda8ac048f7b98839a2b806e2034fe2fa1db797418cf8923a06fb32358c8","54f9c37e150e434622cff5d71fb87237c48497141cb379fc1ab4d019a4a43e2e","0d912ede0e33119759d7a3eee223fcbb83f1ca4c229719c62d54aa071487ceca","6f5878e8666a8abbb560dcc15b19c95ac5b0f4f85aabab2e804abb6a145030e4","ac683a7d8aa2506a3d5a3243ed94348867c85307ba54e46e6dd4a440b6a3012d","cf08b5dd44744b109ed2ddb8968bc8cbd4c6192b74180e5fb0fb1671f38d5dbc","efa3706b88ec75d05bfa7fa44d39af58305b7affda1b3789cf6d3688bb83070b","0a589d620f1d4719925c345e3c6e17dde3137765ea8db58c5a790f52ccdc58a6","8a3a12f093b91e0e3ca5f9909fb0cbaed59e2d864f04f103487f8f87095dfbfb","07d6a4c577cad80d9c1a2cf5d0e0ddae1aafadb264f5e41396999edd5963c94d","ba23c12c72c1523b39716c37b20fddaaab05f3f82139c8cdc33d552c3de70684",{"version":"44ee65e9ab2650bc368f2b2535d83e2cca0c1f3d3e86d8520ec693ea3faee21a","signature":"b5f22cf98ed547f6f125e9d9ac6d448d899fea8c8e6bcb453f994fda9ea11fa7"},{"version":"b196a892a7087bc69d5e14a1647aaf5acfcdf995c1935a55afe405253c153b4c","signature":"f63a428eadbfdbc8c9137c4bdaa77a23988f7e82d1b01b5ef7d13e2f37d3d044"},{"version":"bb4df5f784c131c8fc70cfb1868ab99b883347d48c7260450d3c56958a996d60","signature":"b2b0e3e6fd8b425abfb54a11133c8b9abfc186d61ac86adc8deaba0b8c2f4e8f"},{"version":"a10bd8b59188a044058b7e0279c4e310fac2bc6a5210e6c92d0c7d098b89eb90","signature":"7be9344f079fb02e6b6d28230b29ebd2ef163c808fb7e9ddc145d90952a71719"},{"version":"806e6a96d6ab05753d3b4096f635af030a033610f453a49873a984eac3e0d232","signature":"b21d045012e762ef93941edb54fa4d08344dfc57247f96fcb5f0039972d61ff7"},{"version":"a6ed2271e6d0d4530f902777df5c4123b86c872f50ef6796ec63b77f56ac11b9","signature":"46ec089d57ddc32a6869f7cdfb6a81e37a8b93eb3d4c15798ea7c2de2ff947d4"},{"version":"0d59b623a6be6aea8b0c53a0557253062dd7acee9216d76a629fcdfa03735ed8","signature":"0f66fab0c9a0fa6b8b98e51363a0b4edfd42d514eda1ca413e37f69e8d55b18d"},{"version":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","impliedFormat":99},{"version":"8a2ef120c4da7aab664148ed8d283aa0b98df4d5f15c570d830c8998ef05718b","impliedFormat":1},{"version":"4433d18f82991634feae5150a68f9b30f5b05b55416af8ff9f7251fb29431ed5","impliedFormat":1},{"version":"cc5d0b221824b7d8597e8a2bbdad2383af877eb564eaca392992049839e88c9e","impliedFormat":1},{"version":"21898d939444825cee1232af435330610b09171bea22a2f892cf2058d764b63d","impliedFormat":1},{"version":"2baebea93983e898000858daeeeb2ac29938891b6b8db72ebce294837fc9499f","impliedFormat":99},{"version":"d9d320cf31f6d63659484f6c9ca4db4ae673daefa65118dd8589838925ff1397","impliedFormat":99},{"version":"027cf2216d065a97bf5a8ea126b3ea2734fab6cfe32adaff81ab4e94a1b51bbe","impliedFormat":99},{"version":"f6e6313fad233c5141220f7d25eae120cdd6e5079fbe0aba56821a1e99d05df8","impliedFormat":1},{"version":"9534c35b4577c193e499178deb47419fdadddd5e53af5ec8cb88218848013f65","impliedFormat":1},{"version":"97f43a6558157a3abae4e32256cc74ba34f69ab30473008ffa13011bf0932986","impliedFormat":99},{"version":"45b8adde5735e97329752dd5598b7ecd85202f221a1d0e8aa90137ce5810f21c","impliedFormat":99},{"version":"dfe6945467765f8e7843442a9dfbcf6b5526b6465b07b4c75a54a750329b5f17","impliedFormat":99},{"version":"7f9f6c9fe0e48c401d855d849e28112ffe2425569eca01b08b8c6112b8200695","impliedFormat":99},{"version":"68fcdc663627d12d336b420b19b3e54258844d0cbca0879f711c22aafd853352","impliedFormat":99},{"version":"d3dd47deefa1cc5dd6f1b866132506ec8dfd678ae0ddaa44de188505df14fcc4","impliedFormat":99},{"version":"a5946bc88dac85da2afacdfa3471ff3bc2bbda7c0e34efde184cf17e6bceb6bc","impliedFormat":99},{"version":"75b68165b9bcc07579562f182d327e83583b89b91d62e76b86f4001feee699ba","impliedFormat":99},{"version":"a9d1030f6773d29b383f49e2c647a7e6e464906e1de97a6bc33d2528d957c4d7","impliedFormat":99},{"version":"37b997d60987b68ce8117da783442b4602c8a85d47680823d469fdc90d29e3b8","impliedFormat":99},{"version":"600850ecc310012e3b1a562629d97a1d78662ae8c477357513dd2e6aa704079b","impliedFormat":99},{"version":"335226d599a9382c9bea07d37e23bf998c1022c0f67e4d6d2b69633de6ac118f","impliedFormat":99},{"version":"ae430fd9bac320e71c3fe9299d90dcf67555d9a4f97ecaa35947b430ba8648ea","impliedFormat":99},{"version":"9061ff14146280f47d740b344ddd641c16df526ecaa868c348852277a9fb8686","impliedFormat":99},{"version":"49ee4555c2fafa01119cccc62436baad88ed937ff55d6a655e764ada6b0721e3","impliedFormat":99},{"version":"e059fb9064bc023bc06945ddda6b00e711c18e8657c82514b51c1c1b828642e9","impliedFormat":99},{"version":"f01b3b376946defc432893dcbbbc79472076b6a55a316b0a461a1b38d09e961c","impliedFormat":99},{"version":"da74d8af20172cfee988a2daf92c560f3fdc816fb9c0537f2cc37ef27b1552a8","impliedFormat":99},{"version":"feed66ae8815d1981ad575482766fb9a82385e75cce35ae2f13be58e50c4349f","impliedFormat":99},{"version":"21305b3c41b1e29c0f0d8f43fe227bca82493f6e4c6407a3363c6f729f1c04ba","affectsGlobalScope":true,"impliedFormat":99},{"version":"20c1041fbd4f1537686af4b707872b87c90a22201f8979e5def4554d28b46a5b","impliedFormat":99},{"version":"6b36d087dc104d9405d15bad3486ed5cc3f2e051264fdae060a89996c3fc4072","signature":"a803340e437aa5a6accfd83f659fb9fffae339f7fde991b61d1025313f9c79cd"}],"root":[[197,203],235],"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":[[98,1],[220,2],[209,3],[221,4],[229,5],[232,6],[231,7],[211,8],[214,9],[215,10],[217,11],[218,12],[226,13],[225,14],[227,15],[228,14],[234,16],[233,17],[89,18],[91,19],[95,20],[92,21],[93,22],[88,23],[90,24],[44,25],[83,26],[74,27],[59,28],[56,27],[81,29],[57,27],[79,30],[58,31],[84,32],[60,33],[67,31],[62,27],[61,34],[76,31],[82,35],[80,31],[63,27],[71,31],[72,31],[64,34],[70,31],[65,34],[68,31],[69,27],[77,31],[66,27],[73,31],[75,31],[47,36],[54,37],[86,38],[55,39],[96,40],[45,36],[46,41],[51,42],[52,43],[50,44],[41,45],[97,46],[213,47],[212,12],[208,12],[206,12],[207,48],[205,12],[108,49],[109,50],[107,50],[110,51],[118,52],[112,53],[113,50],[115,54],[114,49],[116,50],[127,55],[123,56],[126,57],[125,58],[131,59],[132,59],[130,60],[135,61],[134,60],[175,62],[137,63],[138,64],[143,65],[139,66],[141,67],[140,68],[146,69],[150,70],[152,71],[160,72],[157,73],[156,74],[154,63],[161,71],[162,75],[163,76],[164,77],[172,78],[165,76],[166,73],[155,79],[158,80],[171,81],[169,82],[170,83],[174,84],[173,85],[199,86],[200,87],[203,88],[235,89],[197,90],[201,87],[202,87],[198,91],[103,92],[177,93],[176,94],[178,95],[196,96],[184,97],[183,98],[180,99],[185,100],[194,101],[179,102],[182,103],[181,104],[186,105],[192,106],[191,107],[188,108],[195,109],[193,110],[190,111],[102,112]],"latestChangedDtsFile":"./media.d.ts","version":"5.9.3"}
|
|
@@ -22,6 +22,8 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
22
22
|
+ (NSArray *)videoCore;
|
|
23
23
|
/** G9DigitsCore: the same answers as the Android core (G9DigitsCoreTest.kt), and the fonts each plan names. */
|
|
24
24
|
+ (NSArray *)digitsCore;
|
|
25
|
+
/** G9LineDirectionCore: every case of `packages/native/contract/line-direction-golden.json` (the Kotlin core's too). */
|
|
26
|
+
+ (NSArray *)lineDirectionWithRepo:(NSString *)repo;
|
|
25
27
|
/** G9ImageCore: orientation 1–8 corners, the raw box, subsample, preview size (G9ImageModule, 2.7.0). */
|
|
26
28
|
+ (NSArray *)imageGeometry;
|
|
27
29
|
/** G9ImageCore: the maxBytes quality search (fake encoder), the scale step, formats, redaction sizes, weights. */
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
#import "../src/core/G9PreferencesCore.h"
|
|
8
8
|
#import "../src/core/G9VideoCore.h"
|
|
9
9
|
#import "../src/core/G9DigitsCore.h"
|
|
10
|
+
#import "../src/core/G9LineDirectionCore.h"
|
|
10
11
|
#import "../src/core/G9ImageCore.h"
|
|
11
12
|
#import "../src/core/G9SqliteCore.h"
|
|
12
13
|
#import "../src/core/G9SqliteTransport.h"
|
|
@@ -623,6 +624,31 @@ static NSString *G9U(unichar c) {
|
|
|
623
624
|
return f;
|
|
624
625
|
}
|
|
625
626
|
|
|
627
|
+
#pragma mark - G9LineDirectionCore
|
|
628
|
+
|
|
629
|
+
+ (NSArray *)lineDirectionWithRepo:(NSString *)repo {
|
|
630
|
+
NSMutableArray *f = [NSMutableArray array];
|
|
631
|
+
NSData *json = [NSData dataWithContentsOfFile:[repo stringByAppendingPathComponent:@"packages/native/contract/line-direction-golden.json"]];
|
|
632
|
+
NSDictionary *golden = json != nil ? [NSJSONSerialization JSONObjectWithData:json options:0 error:NULL] : nil;
|
|
633
|
+
NSArray *cases = [golden objectForKey:@"cases"];
|
|
634
|
+
if ([cases count] < 50) return [NSArray arrayWithObject:@"line-direction-golden.json not found"];
|
|
635
|
+
for (NSDictionary *c in cases) {
|
|
636
|
+
NSString *got = [G9LineDirectionCore lineDir:[c objectForKey:@"line"] fallback:[c objectForKey:@"fallback"]];
|
|
637
|
+
if (![got isEqualToString:[c objectForKey:@"expect"]]) {
|
|
638
|
+
[f addObject:[NSString stringWithFormat:@"%@ (%@): %@", [c objectForKey:@"line"], [c objectForKey:@"fallback"], got]];
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
// the layout hands a paragraph over with its line break; a supplementary letter is one vote
|
|
642
|
+
NSString *withBreak = [NSString stringWithFormat:@"ok %@%@%@%@\n", G9U(0x0633), G9U(0x0644), G9U(0x0627), G9U(0x0645)];
|
|
643
|
+
if (![G9LineDirectionCore isRtl:withBreak fallbackRtl:NO]) [f addObject:@"paragraph with its break"];
|
|
644
|
+
if ([G9LineDirectionCore isRtl:@"\n" fallbackRtl:NO] || ![G9LineDirectionCore isRtl:@"\n" fallbackRtl:YES]) [f addObject:@"empty paragraph"];
|
|
645
|
+
unichar bold[] = {0xD835, 0xDC00, 0xD835, 0xDC01, 0xD835, 0xDC02, ' ', 0x0633, 0x0644};
|
|
646
|
+
if ([G9LineDirectionCore isRtl:[NSString stringWithCharacters:bold length:9] fallbackRtl:YES]) [f addObject:@"supplementary letters"];
|
|
647
|
+
if (![G9LineDirectionCore isSpace:0xFEFF] || [G9LineDirectionCore isSpace:'a']) [f addObject:@"spaces"];
|
|
648
|
+
if ([G9LineDirectionCore manual:@""] != nil) [f addObject:@"no mark in an empty line"];
|
|
649
|
+
return f;
|
|
650
|
+
}
|
|
651
|
+
|
|
626
652
|
#pragma mark - G9ImageCore
|
|
627
653
|
|
|
628
654
|
static BOOL G9Near(double a, double b) {
|
|
@@ -58,6 +58,10 @@
|
|
|
58
58
|
XCTAssertEqualObjects([G9NativeTestSuite digitsCore], @[]);
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
+
- (void)testLineDirectionCore {
|
|
62
|
+
XCTAssertEqualObjects([G9NativeTestSuite lineDirectionWithRepo:self.repo], @[]);
|
|
63
|
+
}
|
|
64
|
+
|
|
61
65
|
- (void)testImageGeometry {
|
|
62
66
|
XCTAssertEqualObjects([G9NativeTestSuite imageGeometry], @[]);
|
|
63
67
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# same :path. Its version is the family's (npm run check:versions).
|
|
7
7
|
Pod::Spec.new do |s|
|
|
8
8
|
s.name = 'g9lynx-native-swift'
|
|
9
|
-
s.version = '2.8.
|
|
9
|
+
s.version = '2.8.4'
|
|
10
10
|
s.summary = 'The Swift views of the G9 <g9-richtext>, <g9-canvas>, <g9-blurhash> and <g9-protected-video> Lynx elements.'
|
|
11
11
|
s.homepage = 'https://github.com/imankari/g9lynxcontrols'
|
|
12
12
|
s.license = { :type => 'MIT' }
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# package version — the family's own LYNX_VERSION (scripts/lynx-version.mjs; npm run check:versions).
|
|
5
5
|
Pod::Spec.new do |s|
|
|
6
6
|
s.name = 'g9lynx-native'
|
|
7
|
-
s.version = '2.8.
|
|
7
|
+
s.version = '2.8.4'
|
|
8
8
|
s.summary = 'G9 SQLite, host, speech and image native modules, the <g9-video>, <g9-richtext>, <g9-canvas> and <g9-blurhash> elements and the digit-drawing <input>/<textarea> for Lynx (sqlite3, NSUserDefaults, UIKit, AVFoundation, Speech, Core Text, ImageIO, Core Image).'
|
|
9
9
|
s.homepage = 'https://github.com/imankari/g9lynxcontrols'
|
|
10
10
|
s.license = { :type => 'MIT' }
|
package/ios/src/G9InputUI.m
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
#import <Lynx/LynxConfig.h>
|
|
4
4
|
#import <Lynx/LynxPropsProcessor.h>
|
|
5
5
|
#import "core/G9DigitsCore.h"
|
|
6
|
+
#import "core/G9LineDirectionCore.h"
|
|
6
7
|
|
|
7
8
|
static NSString *const G9FontsBundleName = @"G9LynxNativeFonts";
|
|
8
9
|
|
|
@@ -134,8 +135,18 @@ LYNX_PROP_SETTER("g9-group-separator", setG9GroupSeparator, NSString *) {
|
|
|
134
135
|
|
|
135
136
|
@end
|
|
136
137
|
|
|
138
|
+
// XElement's textarea is its text view's delegate; these are its callbacks G9UITextArea extends.
|
|
139
|
+
@interface LynxUITextArea (G9TextViewDelegate)
|
|
140
|
+
- (void)textViewDidChange:(UITextView *)textView;
|
|
141
|
+
- (void)textViewDidChangeSelection:(UITextView *)textView;
|
|
142
|
+
@end
|
|
143
|
+
|
|
137
144
|
@implementation G9UITextArea {
|
|
138
145
|
G9FieldDigits *_digits;
|
|
146
|
+
/** `g9-line-direction="majority"`: each paragraph takes the direction of most of its letters (G9LineDirectionCore). */
|
|
147
|
+
BOOL _majority;
|
|
148
|
+
/** `g9-line-fallback="rtl"`: a paragraph without a vote (empty, digits only, a tie) reads right to left. */
|
|
149
|
+
BOOL _fallbackRtl;
|
|
139
150
|
}
|
|
140
151
|
|
|
141
152
|
- (instancetype)init {
|
|
@@ -155,6 +166,96 @@ LYNX_PROP_SETTER("g9-group-separator", setG9GroupSeparator, NSString *) {
|
|
|
155
166
|
_digits.groupSeparator = requestReset ? nil : value;
|
|
156
167
|
}
|
|
157
168
|
|
|
169
|
+
LYNX_PROP_SETTER("g9-line-direction", setG9LineDirection, NSString *) {
|
|
170
|
+
_majority = !requestReset && [value isEqualToString:@"majority"];
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
LYNX_PROP_SETTER("g9-line-fallback", setG9LineFallback, NSString *) {
|
|
174
|
+
_fallbackRtl = !requestReset && [value isEqualToString:@"rtl"];
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/** Whether the paragraph `range` of `text` reads right to left; an empty range (the empty last line) takes the fallback. */
|
|
178
|
+
- (BOOL)g9_rtl:(NSString *)text range:(NSRange)range {
|
|
179
|
+
return range.length == 0 ? _fallbackRtl : [G9LineDirectionCore isRtl:[text substringWithRange:range] fallbackRtl:_fallbackRtl];
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/** The paragraph the caret stands in; after a final line break that is the empty last line (an empty range). */
|
|
183
|
+
- (NSRange)g9_caretParagraph:(NSString *)text {
|
|
184
|
+
NSUInteger length = text.length;
|
|
185
|
+
NSUInteger at = MIN(self.view.selectedRange.location, length);
|
|
186
|
+
if (at == length && (length == 0 || [[NSCharacterSet newlineCharacterSet] characterIsMember:[text characterAtIndex:length - 1]])) {
|
|
187
|
+
return NSMakeRange(length, 0);
|
|
188
|
+
}
|
|
189
|
+
return [text paragraphRangeForRange:NSMakeRange(at, 0)];
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
/** What is typed next: the field's attributes in the caret's paragraph's direction, without XElement's embedding. */
|
|
193
|
+
- (void)g9_applyTypingDirection {
|
|
194
|
+
UITextView *view = self.view;
|
|
195
|
+
NSString *text = view.textStorage.string;
|
|
196
|
+
NSMutableDictionary *typing = [self.inputAttrs mutableCopy];
|
|
197
|
+
[typing removeObjectForKey:NSWritingDirectionAttributeName];
|
|
198
|
+
BOOL rtl = [self g9_rtl:text range:[self g9_caretParagraph:text]];
|
|
199
|
+
NSMutableParagraphStyle *style = [(self.inputParagraphStyle ?: [NSParagraphStyle defaultParagraphStyle]) mutableCopy];
|
|
200
|
+
style.baseWritingDirection = rtl ? NSWritingDirectionRightToLeft : NSWritingDirectionLeftToRight;
|
|
201
|
+
style.alignment = rtl ? NSTextAlignmentRight : NSTextAlignmentLeft;
|
|
202
|
+
typing[NSParagraphStyleAttributeName] = style;
|
|
203
|
+
view.typingAttributes = typing;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* `majority`: every paragraph's base writing direction from G9LineDirectionCore, aligned to its own start, and XElement's
|
|
208
|
+
* whole-text `NSWritingDirectionAttributeName` embedding taken off (it would push every run into the field's direction).
|
|
209
|
+
* Only attributes change — the characters, the selection, the value events and maxlength never do. Mid-composition
|
|
210
|
+
* (marked text of an IME) nothing is touched; the commit's change applies it.
|
|
211
|
+
*/
|
|
212
|
+
- (void)g9_applyLineDirection {
|
|
213
|
+
if (!_majority) return;
|
|
214
|
+
UITextView *view = self.view;
|
|
215
|
+
if (view.markedTextRange != nil) return;
|
|
216
|
+
NSTextStorage *storage = view.textStorage;
|
|
217
|
+
NSString *text = storage.string;
|
|
218
|
+
NSUInteger length = text.length;
|
|
219
|
+
NSParagraphStyle *base = self.inputParagraphStyle ?: [NSParagraphStyle defaultParagraphStyle];
|
|
220
|
+
NSRange selection = view.selectedRange;
|
|
221
|
+
[storage beginEditing];
|
|
222
|
+
if (length > 0) {
|
|
223
|
+
NSRange all = NSMakeRange(0, length), run;
|
|
224
|
+
id embedding = [storage attribute:NSWritingDirectionAttributeName atIndex:0 longestEffectiveRange:&run inRange:all];
|
|
225
|
+
if (embedding != nil || run.length < length) [storage removeAttribute:NSWritingDirectionAttributeName range:all];
|
|
226
|
+
}
|
|
227
|
+
NSUInteger at = 0;
|
|
228
|
+
while (at < length) {
|
|
229
|
+
NSRange paragraph = [text paragraphRangeForRange:NSMakeRange(at, 0)];
|
|
230
|
+
BOOL rtl = [self g9_rtl:text range:paragraph];
|
|
231
|
+
NSWritingDirection direction = rtl ? NSWritingDirectionRightToLeft : NSWritingDirectionLeftToRight;
|
|
232
|
+
NSTextAlignment alignment = rtl ? NSTextAlignmentRight : NSTextAlignmentLeft;
|
|
233
|
+
NSRange styled;
|
|
234
|
+
NSParagraphStyle *current = [storage attribute:NSParagraphStyleAttributeName atIndex:paragraph.location longestEffectiveRange:&styled inRange:paragraph];
|
|
235
|
+
if (current == nil || current.baseWritingDirection != direction || current.alignment != alignment || styled.length < paragraph.length) {
|
|
236
|
+
NSMutableParagraphStyle *style = [(current ?: base) mutableCopy];
|
|
237
|
+
style.baseWritingDirection = direction;
|
|
238
|
+
style.alignment = alignment;
|
|
239
|
+
[storage addAttribute:NSParagraphStyleAttributeName value:style range:paragraph];
|
|
240
|
+
}
|
|
241
|
+
at = NSMaxRange(paragraph);
|
|
242
|
+
}
|
|
243
|
+
[storage endEditing];
|
|
244
|
+
view.selectedRange = selection;
|
|
245
|
+
[self g9_applyTypingDirection];
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
- (void)textViewDidChange:(UITextView *)textView {
|
|
249
|
+
[super textViewDidChange:textView];
|
|
250
|
+
[self g9_applyLineDirection];
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
- (void)textViewDidChangeSelection:(UITextView *)textView {
|
|
254
|
+
[super textViewDidChangeSelection:textView];
|
|
255
|
+
// the caret moved to another line: what is typed there starts in that line's direction
|
|
256
|
+
if (_majority && textView.markedTextRange == nil) [self g9_applyTypingDirection];
|
|
257
|
+
}
|
|
258
|
+
|
|
158
259
|
/** The text view's text and typing attributes in the digits font (XElement's propsDidUpdate does the same with its own). */
|
|
159
260
|
- (void)g9_applyFont {
|
|
160
261
|
UIFont *base = self.font;
|
|
@@ -171,12 +272,16 @@ LYNX_PROP_SETTER("g9-group-separator", setG9GroupSeparator, NSString *) {
|
|
|
171
272
|
- (void)propsDidUpdate {
|
|
172
273
|
[super propsDidUpdate];
|
|
173
274
|
[self g9_applyFont];
|
|
275
|
+
[self g9_applyLineDirection];
|
|
174
276
|
}
|
|
175
277
|
|
|
176
278
|
- (BOOL)setTextValue:(NSString *)value {
|
|
177
279
|
// `setText:` gives the new text the view's plain font: the digits font goes back on.
|
|
178
280
|
BOOL set = [super setTextValue:value];
|
|
179
|
-
if (set)
|
|
281
|
+
if (set) {
|
|
282
|
+
[self g9_applyFont];
|
|
283
|
+
[self g9_applyLineDirection];
|
|
284
|
+
}
|
|
180
285
|
return set;
|
|
181
286
|
}
|
|
182
287
|
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// One line's direction by the MAJORITY of its strong letters (`g9-line-direction="majority"`): the iOS twin of
|
|
2
|
+
// android/.../input/core/G9LineDirectionCore.kt, asserted against the same packages/native/contract/line-direction-golden.json
|
|
3
|
+
// (the outputs of the owner's prompt editor rule, G9AgentDeck). Arabic-script letters vote right-to-left, every other
|
|
4
|
+
// letter left-to-right; digits, combining marks, `code`, URLs, paths and tags do not vote; no vote or a tie takes the
|
|
5
|
+
// field's direction; an RLM / LRM at the line's start (after spaces) is the person's own choice and wins. Foundation
|
|
6
|
+
// only, so the Linux harness runs it; the UIKit part is G9InputUI.m.
|
|
7
|
+
#import <Foundation/Foundation.h>
|
|
8
|
+
|
|
9
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
10
|
+
|
|
11
|
+
@interface G9LineDirectionCore : NSObject
|
|
12
|
+
/** Whether `line` reads right to left: its own leading mark, else the majority, else `fallbackRtl` (a tie too). */
|
|
13
|
+
+ (BOOL)isRtl:(NSString *)line fallbackRtl:(BOOL)fallbackRtl;
|
|
14
|
+
/** `@"rtl"` / `@"ltr"` for `fallback` `@"rtl"` / anything else (the golden's words). */
|
|
15
|
+
+ (NSString *)lineDir:(NSString *)line fallback:(NSString *)fallback;
|
|
16
|
+
/** The direction the line's leading mark asks for: `@YES` RTL, `@NO` LTR, nil for none. */
|
|
17
|
+
+ (nullable NSNumber *)manual:(NSString *)line;
|
|
18
|
+
/** The text without the parts that never vote. */
|
|
19
|
+
+ (NSString *)stripNonVoting:(NSString *)text;
|
|
20
|
+
/** JavaScript's `\s` (the reference rule's whitespace). */
|
|
21
|
+
+ (BOOL)isSpace:(unichar)c;
|
|
22
|
+
@end
|
|
23
|
+
|
|
24
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
#import "G9LineDirectionCore.h"
|
|
2
|
+
|
|
3
|
+
static const unichar G9RLM = 0x200F;
|
|
4
|
+
static const unichar G9LRM = 0x200E;
|
|
5
|
+
|
|
6
|
+
static const uint32_t G9RtlRanges[] = {
|
|
7
|
+
0x0590, 0x05ff, 0x0600, 0x06ff, 0x0700, 0x074f, 0x0750, 0x077f, 0x0780, 0x07bf, 0x07c0, 0x07ff,
|
|
8
|
+
0x0860, 0x086f, 0x08a0, 0x08ff, 0xfb1d, 0xfb4f, 0xfb50, 0xfdff, 0xfe70, 0xfeff,
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
static BOOL G9IsRtlStrong(uint32_t cp) {
|
|
12
|
+
if (cp >= 0x064b && cp <= 0x065f) return NO; // harakat
|
|
13
|
+
if (cp == 0x0670) return NO;
|
|
14
|
+
if (cp >= 0x0660 && cp <= 0x0669) return NO; // Arabic-Indic digits
|
|
15
|
+
if (cp >= 0x06f0 && cp <= 0x06f9) return NO; // Persian digits
|
|
16
|
+
if (cp >= 0x06d6 && cp <= 0x06ed) return NO; // Quranic marks
|
|
17
|
+
for (size_t i = 0; i < sizeof(G9RtlRanges) / sizeof(G9RtlRanges[0]); i += 2) {
|
|
18
|
+
if (cp >= G9RtlRanges[i] && cp <= G9RtlRanges[i + 1]) return YES;
|
|
19
|
+
}
|
|
20
|
+
return NO;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
// \p{L}: Foundation's letter set also holds the marks (M*), so they are taken out.
|
|
24
|
+
static BOOL G9IsLetter(uint32_t cp) {
|
|
25
|
+
// Built once and kept (`copy`: the Linux harness compiles the cores without ARC or blocks); a race builds them twice.
|
|
26
|
+
static NSCharacterSet *letters;
|
|
27
|
+
static NSCharacterSet *marks;
|
|
28
|
+
if (letters == nil) {
|
|
29
|
+
marks = [[NSCharacterSet nonBaseCharacterSet] copy];
|
|
30
|
+
letters = [[NSCharacterSet letterCharacterSet] copy];
|
|
31
|
+
}
|
|
32
|
+
return [letters longCharacterIsMember:cp] && ![marks longCharacterIsMember:cp];
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
static BOOL G9IsLtrStrong(uint32_t cp) {
|
|
36
|
+
if (cp < 0x41) return NO;
|
|
37
|
+
if (cp < 0x80) return (cp >= 0x41 && cp <= 0x5a) || (cp >= 0x61 && cp <= 0x7a);
|
|
38
|
+
if (G9IsRtlStrong(cp)) return NO;
|
|
39
|
+
return G9IsLetter(cp);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
// JavaScript's \s as an ICU class body (ICU's own \s is another set).
|
|
43
|
+
#define G9_SPACE @"\\t\\n\\u000B\\f\\r \\u00A0\\u1680\\u2000-\\u200A\\u2028\\u2029\\u202F\\u205F\\u3000\\uFEFF"
|
|
44
|
+
|
|
45
|
+
@implementation G9LineDirectionCore
|
|
46
|
+
|
|
47
|
+
+ (BOOL)isSpace:(unichar)c {
|
|
48
|
+
return c == '\t' || c == '\n' || c == 0x000B || c == 0x000C || c == '\r' || c == ' ' || c == 0x00A0 || c == 0x1680 ||
|
|
49
|
+
(c >= 0x2000 && c <= 0x200A) || c == 0x2028 || c == 0x2029 || c == 0x202F || c == 0x205F || c == 0x3000 ||
|
|
50
|
+
c == 0xFEFF;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
// stripNonVoting of the reference, in its order. JavaScript's `$` without the m flag is the end of the input (\z),
|
|
54
|
+
// its \b and \w are ASCII.
|
|
55
|
+
+ (NSArray *)nonVoting {
|
|
56
|
+
static NSArray *patterns;
|
|
57
|
+
if (patterns == nil) {
|
|
58
|
+
NSArray *sources = [NSArray arrayWithObjects:
|
|
59
|
+
@"```[\\s\\S]*?(```|\\z)", @" ",
|
|
60
|
+
@"~~~[\\s\\S]*?(~~~|\\z)", @" ",
|
|
61
|
+
@"`[^`\\n]*`?", @" ",
|
|
62
|
+
@"\\]\\([^)]*\\)", @"] ",
|
|
63
|
+
@"<[^>\\n]+>", @" ",
|
|
64
|
+
[@"(?<![A-Za-z0-9_])[hH][tT][tT][pP][sS]?://[^" stringByAppendingString:[G9_SPACE stringByAppendingString:@"]+"]], @" ",
|
|
65
|
+
@"(?:[A-Za-z]:)?(?:[\\\\/][A-Za-z0-9_.\\-]+){2,}", @" ",
|
|
66
|
+
nil];
|
|
67
|
+
NSMutableArray *built = [NSMutableArray array];
|
|
68
|
+
for (NSUInteger i = 0; i + 1 < [sources count]; i += 2) {
|
|
69
|
+
NSRegularExpression *re = [NSRegularExpression regularExpressionWithPattern:[sources objectAtIndex:i] options:0 error:NULL];
|
|
70
|
+
if (re) [built addObject:[NSArray arrayWithObjects:re, [sources objectAtIndex:i + 1], nil]];
|
|
71
|
+
}
|
|
72
|
+
patterns = [built copy];
|
|
73
|
+
}
|
|
74
|
+
return patterns;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
+ (NSString *)stripNonVoting:(NSString *)text {
|
|
78
|
+
// Every pattern needs one of these characters: most lines skip the regular expressions.
|
|
79
|
+
static NSCharacterSet *triggers;
|
|
80
|
+
if (triggers == nil) triggers = [[NSCharacterSet characterSetWithCharactersInString:@"`~<]/\\"] copy];
|
|
81
|
+
if ([text rangeOfCharacterFromSet:triggers].location == NSNotFound) return text;
|
|
82
|
+
NSString *t = text;
|
|
83
|
+
for (NSArray *pair in [self nonVoting]) {
|
|
84
|
+
NSRegularExpression *re = [pair objectAtIndex:0];
|
|
85
|
+
NSString *by = [pair objectAtIndex:1];
|
|
86
|
+
t = [re stringByReplacingMatchesInString:t
|
|
87
|
+
options:0
|
|
88
|
+
range:NSMakeRange(0, [t length])
|
|
89
|
+
withTemplate:by]; // " " and "] ": nothing to escape
|
|
90
|
+
}
|
|
91
|
+
return t;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
+ (nullable NSNumber *)manual:(NSString *)line {
|
|
95
|
+
NSUInteger length = [line length];
|
|
96
|
+
for (NSUInteger i = 0; i < length; i++) {
|
|
97
|
+
unichar c = [line characterAtIndex:i];
|
|
98
|
+
if (c == G9RLM) return [NSNumber numberWithBool:YES];
|
|
99
|
+
if (c == G9LRM) return [NSNumber numberWithBool:NO];
|
|
100
|
+
if (![self isSpace:c]) return nil;
|
|
101
|
+
}
|
|
102
|
+
return nil;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
+ (BOOL)isRtl:(NSString *)line fallbackRtl:(BOOL)fallbackRtl {
|
|
106
|
+
NSNumber *mark = [self manual:line];
|
|
107
|
+
if (mark != nil) return [mark boolValue];
|
|
108
|
+
NSString *voting = [self stripNonVoting:line];
|
|
109
|
+
NSUInteger length = [voting length];
|
|
110
|
+
NSUInteger rtl = 0, ltr = 0;
|
|
111
|
+
for (NSUInteger i = 0; i < length; i++) {
|
|
112
|
+
uint32_t cp = [voting characterAtIndex:i];
|
|
113
|
+
if (cp >= 0xD800 && cp <= 0xDBFF && i + 1 < length) {
|
|
114
|
+
unichar low = [voting characterAtIndex:i + 1];
|
|
115
|
+
if (low >= 0xDC00 && low <= 0xDFFF) {
|
|
116
|
+
cp = 0x10000 + ((cp - 0xD800) << 10) + (low - 0xDC00);
|
|
117
|
+
i++;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
if (G9IsRtlStrong(cp)) rtl++;
|
|
121
|
+
else if (G9IsLtrStrong(cp)) ltr++;
|
|
122
|
+
}
|
|
123
|
+
if (rtl > ltr) return YES;
|
|
124
|
+
if (ltr > rtl) return NO;
|
|
125
|
+
return fallbackRtl;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
+ (NSString *)lineDir:(NSString *)line fallback:(NSString *)fallback {
|
|
129
|
+
return [self isRtl:line fallbackRtl:[fallback isEqualToString:@"rtl"]] ? @"rtl" : @"ltr";
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
@end
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@g9tm/lynxcontrols-native",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.4",
|
|
4
4
|
"description": "Android and iOS platform layer: the G9SqliteModule and G9HostModule native modules (Autolink) and their JS adapters.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -44,14 +44,14 @@
|
|
|
44
44
|
"check:android-types": "node scripts/android-bridge-types.mjs"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@g9tm/lynxcontrols-foundation": "2.8.
|
|
48
|
-
"@g9tm/lynxcontrols-sqlite": "2.8.
|
|
47
|
+
"@g9tm/lynxcontrols-foundation": "2.8.4",
|
|
48
|
+
"@g9tm/lynxcontrols-sqlite": "2.8.4"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"@lynx-js/react": ">=0.129.3 <0.130.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@g9tm/lynxcontrols-lynxtron": "2.8.
|
|
54
|
+
"@g9tm/lynxcontrols-lynxtron": "2.8.4",
|
|
55
55
|
"@lynx-js/autolink-codegen": "0.6.0"
|
|
56
56
|
}
|
|
57
57
|
}
|