@kky42/pievo-server 2.3.0 → 2.4.2

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.
Files changed (199) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/assets/MachinesModal-CSbnrUER.js +1 -0
  3. package/.output/public/assets/SignIn-0Tjqs-Ma.js +1 -0
  4. package/.output/public/assets/actionUi-DpwGIGpw.js +1 -0
  5. package/.output/public/assets/app-CaZpuwOS.css +2 -0
  6. package/.output/public/assets/index-CaS_SmDq.js +10 -0
  7. package/.output/public/assets/invite._token-Btg_0aLp.js +1 -0
  8. package/.output/public/assets/invite._token-KMD2JAgE.js +1 -0
  9. package/.output/public/assets/lifecycleUi-C7dwHtbw.js +1 -0
  10. package/.output/public/assets/loops._loopId-D5usF3DO.js +67 -0
  11. package/.output/public/assets/loops._loopId_.runs._runId-DRCgXaCq.js +3 -0
  12. package/.output/public/assets/preload-helper-DsxECZIS.js +5 -0
  13. package/.output/public/assets/routes-CtFgwdgW.js +1 -0
  14. package/.output/public/assets/routes-LDbnnQ3f.js +1 -0
  15. package/.output/public/assets/t._teamId-D41xcbsF.js +1 -0
  16. package/.output/public/assets/t._teamId-DUena1pV.js +1 -0
  17. package/.output/public/assets/ui-Do4gqMyP.js +1 -0
  18. package/.output/server/_libs/@base-ui/react+[...].mjs +4130 -4130
  19. package/.output/server/_libs/@tanstack/react-router+[...].mjs +1 -1
  20. package/.output/server/_libs/drizzle-orm+postgres.mjs +28 -1
  21. package/.output/server/_ssr/DashboardView-C2LdV6J0.mjs +914 -0
  22. package/.output/server/_ssr/{notifyFns-DuPR1zd7.mjs → MachinesModal-BjkcVjjx.mjs} +55 -35
  23. package/.output/server/_ssr/{SignIn-RmpWm9uy.mjs → SignIn-DEGrvJvb.mjs} +10 -24
  24. package/.output/server/_ssr/SocialLinks-Cm4H8pUJ.mjs +1044 -0
  25. package/.output/server/_ssr/{actionUi-BN55TNYE.mjs → actionUi-DJBWuNwr.mjs} +3 -3
  26. package/.output/server/_ssr/{artifactFiles-BCaIIrrT.mjs → artifactFiles-DtpRidFZ.mjs} +7 -8
  27. package/.output/server/_ssr/{artifactKind-BW0isV8L.mjs → artifactKind-FBYbgSuf.mjs} +27 -2
  28. package/.output/server/_ssr/artifacts-BR3jj0NC.mjs +2 -0
  29. package/.output/server/_ssr/{auth-30Z4lV1w.mjs → auth-C0zoZCGe.mjs} +16 -19
  30. package/.output/server/_ssr/boot-CdOO4xOo.mjs +2 -0
  31. package/.output/server/_ssr/{boot-3BNKujyp.mjs → boot-sNlIkoLe.mjs} +1331 -3927
  32. package/.output/server/_ssr/{bun-sqlite-dialect-BW9W1_Ps-_7tfuNRi.mjs → bun-sqlite-dialect-BW9W1_Ps-DmlZWqO7.mjs} +2 -2
  33. package/.output/server/_ssr/{d1-sqlite-dialect-BLC8LXE6-ucDUbeBk.mjs → d1-sqlite-dialect-BLC8LXE6-CCNzqZwZ.mjs} +2 -2
  34. package/.output/server/_ssr/db-CwLD-5w1.mjs +2 -0
  35. package/.output/server/_ssr/{dist-Cd6nlLlO.mjs → dist-B3SxDOpW.mjs} +2 -2
  36. package/.output/server/_ssr/{factory-CWWwV7XZ.mjs → factory-Dv3Zopis.mjs} +2 -2
  37. package/.output/server/_ssr/invite._token-CJ6-H-s3.mjs +20 -0
  38. package/.output/server/_ssr/{invite._token-SdWXemIc.mjs → invite._token-dLKDJKVs.mjs} +9 -17
  39. package/.output/server/_ssr/{invite._token-BKlz0R2f.mjs → invite._token-l1SjouDz.mjs} +6 -15
  40. package/.output/server/_ssr/{kysely-adapter-C8iS51DB.mjs → kysely-adapter-nL7WKSgw.mjs} +1 -1
  41. package/.output/server/_ssr/{lifecycleUi-DgBQAYzp.mjs → lifecycleUi-Dad3hvhm.mjs} +11 -11
  42. package/.output/server/_ssr/logger-B8m8F1Qu.mjs +2 -0
  43. package/.output/server/_ssr/loopApi-BKyFB4KM.mjs +342 -0
  44. package/.output/server/_ssr/{adapters-BoLkOf1T.mjs → loopProjection-B8a829ij.mjs} +25 -55
  45. package/.output/server/_ssr/loops._loopId-DS16Phmq.mjs +1271 -0
  46. package/.output/server/_ssr/{loops._loopId_.runs._runId-PUGBrD5q.mjs → loops._loopId_.runs._runId-BEJI6iK5.mjs} +23 -74
  47. package/.output/server/_ssr/{loops._loopId_.runs._runId-Ymy4lwee.mjs → loops._loopId_.runs._runId-CduETLqH.mjs} +4 -5
  48. package/.output/server/_ssr/{machineFns-BZ9puxDt.mjs → machineFns-ByMsgG12.mjs} +3 -5
  49. package/.output/server/_ssr/{node-sqlite-dialect-D_3JmkMo.mjs → node-sqlite-dialect-CjNineno.mjs} +2 -2
  50. package/.output/server/_ssr/router-CXyrnvx-.mjs +565 -0
  51. package/.output/server/_ssr/{routes-ClZEdsnB.mjs → routes-BulNEUEE.mjs} +6 -10
  52. package/.output/server/_ssr/{routes-ComqHvCL.mjs → routes-DD94baie.mjs} +3 -3
  53. package/.output/server/_ssr/{routes-D5jJJ-30.mjs → routes-Wjexi35W.mjs} +6 -6
  54. package/.output/server/_ssr/runDiff-Ba8Lg1vg.mjs +2 -0
  55. package/.output/server/_ssr/ssr.mjs +60 -100
  56. package/.output/server/_ssr/store-Cujtg2QE.mjs +2 -0
  57. package/.output/server/_ssr/{t._teamId-BgHV_KFP.mjs → t._teamId-1CreIlPV.mjs} +7 -11
  58. package/.output/server/_ssr/{t._teamId-DDERNgfn.mjs → t._teamId-Bd6-zZsy.mjs} +4 -4
  59. package/.output/server/_ssr/{t._teamId-DRJvKHZn.mjs → t._teamId-COuMKQ4r.mjs} +7 -7
  60. package/.output/server/_ssr/{teamFns-Bp81UO-x.mjs → teamFns-H438WnZC.mjs} +12 -30
  61. package/.output/server/_ssr/{teamFns-bm82twd5.mjs → teamFns-j2JKjorZ.mjs} +2 -2
  62. package/.output/server/_ssr/tokens-DgG_Syq3.mjs +2 -0
  63. package/.output/server/_ssr/{ui-Ww2tTM2u.mjs → ui-D5KWstlb.mjs} +26 -48
  64. package/.output/server/{_tanstack-start-manifest_v-DwKENYCN.mjs → _tanstack-start-manifest_v-3H7yBKLz.mjs} +25 -35
  65. package/{drizzle/0000_round_marauders.sql → .output/server/drizzle/0000_baseline.sql} +102 -44
  66. package/.output/server/drizzle/meta/_journal.json +3 -115
  67. package/.output/server/index.mjs +83 -132
  68. package/{.output/server/drizzle/0000_round_marauders.sql → drizzle/0000_baseline.sql} +102 -44
  69. package/drizzle/meta/_journal.json +3 -115
  70. package/package.json +2 -11
  71. package/scripts/pievo-server.mjs +3 -1
  72. package/scripts/server-cli-lib.mjs +23 -16
  73. package/.output/public/assets/CodeField-dOzyFQNH.js +0 -34
  74. package/.output/public/assets/LoopView-DjVHUyrR.js +0 -59
  75. package/.output/public/assets/Modal-CCRvx959.js +0 -1
  76. package/.output/public/assets/SignIn-Qxw5zDFq.js +0 -1
  77. package/.output/public/assets/actionUi-CXxhzYe2.js +0 -1
  78. package/.output/public/assets/app-D1cij_NJ.css +0 -2
  79. package/.output/public/assets/artifactView-Cd5wWPil.js +0 -66
  80. package/.output/public/assets/index-BRN_CQ8U.js +0 -12
  81. package/.output/public/assets/invite._token-BIxr8DlP.js +0 -1
  82. package/.output/public/assets/invite._token-j2BTCeG1.js +0 -1
  83. package/.output/public/assets/jsx-runtime-BseJUIpC.js +0 -1
  84. package/.output/public/assets/lifecycleUi-Qy_8beQK.js +0 -1
  85. package/.output/public/assets/loopApi-CT1mMhlb.js +0 -3
  86. package/.output/public/assets/loops._loopId-BRBQzioy.js +0 -4
  87. package/.output/public/assets/loops._loopId_.runs._runId-CMnOJkem.js +0 -3
  88. package/.output/public/assets/notifyFns-DYD4EKaG.js +0 -1
  89. package/.output/public/assets/preload-helper-DFkkpP6W.js +0 -3
  90. package/.output/public/assets/routes-3nuEJGdo.js +0 -1
  91. package/.output/public/assets/routes-DORLim-C.js +0 -1
  92. package/.output/public/assets/t._teamId-F5f4K8kd.js +0 -1
  93. package/.output/public/assets/t._teamId-XfE_S1Fo.js +0 -1
  94. package/.output/public/assets/ui-Dhsx6SW0.js +0 -1
  95. package/.output/public/assets/useRouter-DsjH8G0p.js +0 -1
  96. package/.output/server/_libs/@codemirror/autocomplete+[...].mjs +0 -19713
  97. package/.output/server/_libs/@codemirror/lang-css+[...].mjs +0 -2636
  98. package/.output/server/_libs/@codemirror/lang-html+[...].mjs +0 -2247
  99. package/.output/server/_libs/@codemirror/lang-json+[...].mjs +0 -79
  100. package/.output/server/_libs/@reduxjs/toolkit+[...].mjs +0 -1736
  101. package/.output/server/_libs/@uiw/codemirror-extensions-basic-setup+[...].mjs +0 -76
  102. package/.output/server/_libs/babel__runtime.mjs +0 -30
  103. package/.output/server/_libs/clsx.mjs +0 -16
  104. package/.output/server/_libs/codemirror__commands.mjs +0 -1725
  105. package/.output/server/_libs/codemirror__lint.mjs +0 -565
  106. package/.output/server/_libs/codemirror__search.mjs +0 -1138
  107. package/.output/server/_libs/codemirror__theme-one-dark.mjs +0 -161
  108. package/.output/server/_libs/d3-array.mjs +0 -231
  109. package/.output/server/_libs/d3-color.mjs +0 -330
  110. package/.output/server/_libs/d3-format.mjs +0 -252
  111. package/.output/server/_libs/d3-interpolate.mjs +0 -163
  112. package/.output/server/_libs/d3-path.mjs +0 -77
  113. package/.output/server/_libs/d3-scale+[...].mjs +0 -1907
  114. package/.output/server/_libs/d3-shape.mjs +0 -818
  115. package/.output/server/_libs/decimal.js-light.mjs +0 -884
  116. package/.output/server/_libs/dom-serializer+[...].mjs +0 -708
  117. package/.output/server/_libs/domhandler.mjs +0 -461
  118. package/.output/server/_libs/domutils.mjs +0 -868
  119. package/.output/server/_libs/es-toolkit.mjs +0 -1737
  120. package/.output/server/_libs/eventemitter3.mjs +0 -236
  121. package/.output/server/_libs/html-dom-parser+htmlparser2.mjs +0 -1560
  122. package/.output/server/_libs/html-react-parser+[...].mjs +0 -1360
  123. package/.output/server/_libs/react-is.mjs +0 -48
  124. package/.output/server/_libs/react-redux+[...].mjs +0 -205
  125. package/.output/server/_libs/recharts+victory-vendor.mjs +0 -17303
  126. package/.output/server/_libs/uiw__codemirror-themes.mjs +0 -32
  127. package/.output/server/_libs/uiw__react-codemirror.mjs +0 -354
  128. package/.output/server/_ssr/CodeField-B7oOmmwH.mjs +0 -143
  129. package/.output/server/_ssr/DashboardView-BF7PciP7.mjs +0 -2736
  130. package/.output/server/_ssr/LoopPlaybook-DC7QVvPY.mjs +0 -2105
  131. package/.output/server/_ssr/LoopView-DwSrm9Ja.mjs +0 -1300
  132. package/.output/server/_ssr/Modal-MaCG52Pv.mjs +0 -49
  133. package/.output/server/_ssr/artifactView-iuPsp5aa.mjs +0 -304
  134. package/.output/server/_ssr/artifacts-jQ-bfdhI.mjs +0 -2
  135. package/.output/server/_ssr/boot-CsEFT53K.mjs +0 -2
  136. package/.output/server/_ssr/db-CXownd1H.mjs +0 -2
  137. package/.output/server/_ssr/invite._token-CWl6kipD.mjs +0 -28
  138. package/.output/server/_ssr/logger-Gy-47z3k.mjs +0 -2
  139. package/.output/server/_ssr/loopApi-8_KgBapr.mjs +0 -109
  140. package/.output/server/_ssr/loopApi-ABi9SgWS.mjs +0 -564
  141. package/.output/server/_ssr/loops._loopId-SON_t43g.mjs +0 -30
  142. package/.output/server/_ssr/loops._loopId-p1KWsvMM.mjs +0 -1477
  143. package/.output/server/_ssr/notifyFns-BUCePuF3.mjs +0 -118
  144. package/.output/server/_ssr/router-Czxvra6l.mjs +0 -685
  145. package/.output/server/_ssr/runDiff--qLtU4FI.mjs +0 -2
  146. package/.output/server/_ssr/store-40eVzW1S.mjs +0 -2
  147. package/.output/server/_ssr/tokens-CbfoRC_s.mjs +0 -2
  148. package/.output/server/drizzle/0001_naive_silver_fox.sql +0 -25
  149. package/.output/server/drizzle/0002_funny_sage.sql +0 -12
  150. package/.output/server/drizzle/0003_optimal_slapstick.sql +0 -102
  151. package/.output/server/drizzle/0004_remove_grok_agent.sql +0 -5
  152. package/.output/server/drizzle/0005_heavy_gauntlet.sql +0 -8
  153. package/.output/server/drizzle/0006_tranquil_sharon_carter.sql +0 -1
  154. package/.output/server/drizzle/0007_faulty_starbolt.sql +0 -30
  155. package/.output/server/drizzle/0008_durable_lifecycle_evidence.sql +0 -15
  156. package/.output/server/drizzle/0009_ordinary_electro.sql +0 -1
  157. package/.output/server/drizzle/0010_workable_rage.sql +0 -14
  158. package/.output/server/drizzle/0011_steep_marvel_zombies.sql +0 -3
  159. package/.output/server/drizzle/0012_blocked_run_status.sql +0 -12
  160. package/.output/server/drizzle/0013_drop_run_outcome.sql +0 -2
  161. package/.output/server/drizzle/0014_luxuriant_scrambler.sql +0 -5
  162. package/.output/server/drizzle/0015_run_history_foundation.sql +0 -43
  163. package/.output/server/drizzle/0016_plural_machine_runs.sql +0 -4
  164. package/.output/server/drizzle/meta/0000_snapshot.json +0 -1333
  165. package/.output/server/drizzle/meta/0001_snapshot.json +0 -1498
  166. package/.output/server/drizzle/meta/0002_snapshot.json +0 -1576
  167. package/.output/server/drizzle/meta/0003_snapshot.json +0 -1666
  168. package/.output/server/drizzle/meta/0005_snapshot.json +0 -1666
  169. package/.output/server/drizzle/meta/0006_snapshot.json +0 -1672
  170. package/.output/server/drizzle/meta/0007_snapshot.json +0 -1787
  171. package/.output/server/drizzle/meta/0009_snapshot.json +0 -1793
  172. package/.output/server/drizzle/meta/0010_snapshot.json +0 -1891
  173. package/.output/server/drizzle/meta/0011_snapshot.json +0 -1872
  174. package/drizzle/0001_naive_silver_fox.sql +0 -25
  175. package/drizzle/0002_funny_sage.sql +0 -12
  176. package/drizzle/0003_optimal_slapstick.sql +0 -102
  177. package/drizzle/0004_remove_grok_agent.sql +0 -5
  178. package/drizzle/0005_heavy_gauntlet.sql +0 -8
  179. package/drizzle/0006_tranquil_sharon_carter.sql +0 -1
  180. package/drizzle/0007_faulty_starbolt.sql +0 -30
  181. package/drizzle/0008_durable_lifecycle_evidence.sql +0 -15
  182. package/drizzle/0009_ordinary_electro.sql +0 -1
  183. package/drizzle/0010_workable_rage.sql +0 -14
  184. package/drizzle/0011_steep_marvel_zombies.sql +0 -3
  185. package/drizzle/0012_blocked_run_status.sql +0 -12
  186. package/drizzle/0013_drop_run_outcome.sql +0 -2
  187. package/drizzle/0014_luxuriant_scrambler.sql +0 -5
  188. package/drizzle/0015_run_history_foundation.sql +0 -43
  189. package/drizzle/0016_plural_machine_runs.sql +0 -4
  190. package/drizzle/meta/0000_snapshot.json +0 -1333
  191. package/drizzle/meta/0001_snapshot.json +0 -1498
  192. package/drizzle/meta/0002_snapshot.json +0 -1576
  193. package/drizzle/meta/0003_snapshot.json +0 -1666
  194. package/drizzle/meta/0005_snapshot.json +0 -1666
  195. package/drizzle/meta/0006_snapshot.json +0 -1672
  196. package/drizzle/meta/0007_snapshot.json +0 -1787
  197. package/drizzle/meta/0009_snapshot.json +0 -1793
  198. package/drizzle/meta/0010_snapshot.json +0 -1891
  199. package/drizzle/meta/0011_snapshot.json +0 -1872
@@ -1,1360 +0,0 @@
1
- import { a as __toCommonJS, o as __toESM, t as __commonJSMin } from "../_runtime.mjs";
2
- import { h as require_react } from "./@base-ui/react+[...].mjs";
3
- import { t as require_lib$2 } from "./html-dom-parser+htmlparser2.mjs";
4
- import { n as dist_exports, r as init_dist } from "./domhandler.mjs";
5
- //#region ../../node_modules/.pnpm/react-property@2.0.2/node_modules/react-property/lib/possibleStandardNamesOptimized.js
6
- var require_possibleStandardNamesOptimized = /* @__PURE__ */ __commonJSMin(((exports) => {
7
- exports.SAME = 0;
8
- exports.CAMELCASE = 1;
9
- exports.possibleStandardNames = {
10
- accept: 0,
11
- acceptCharset: 1,
12
- "accept-charset": "acceptCharset",
13
- accessKey: 1,
14
- action: 0,
15
- allowFullScreen: 1,
16
- alt: 0,
17
- as: 0,
18
- async: 0,
19
- autoCapitalize: 1,
20
- autoComplete: 1,
21
- autoCorrect: 1,
22
- autoFocus: 1,
23
- autoPlay: 1,
24
- autoSave: 1,
25
- capture: 0,
26
- cellPadding: 1,
27
- cellSpacing: 1,
28
- challenge: 0,
29
- charSet: 1,
30
- checked: 0,
31
- children: 0,
32
- cite: 0,
33
- class: "className",
34
- classID: 1,
35
- className: 1,
36
- cols: 0,
37
- colSpan: 1,
38
- content: 0,
39
- contentEditable: 1,
40
- contextMenu: 1,
41
- controls: 0,
42
- controlsList: 1,
43
- coords: 0,
44
- crossOrigin: 1,
45
- dangerouslySetInnerHTML: 1,
46
- data: 0,
47
- dateTime: 1,
48
- default: 0,
49
- defaultChecked: 1,
50
- defaultValue: 1,
51
- defer: 0,
52
- dir: 0,
53
- disabled: 0,
54
- disablePictureInPicture: 1,
55
- disableRemotePlayback: 1,
56
- download: 0,
57
- draggable: 0,
58
- encType: 1,
59
- enterKeyHint: 1,
60
- for: "htmlFor",
61
- form: 0,
62
- formMethod: 1,
63
- formAction: 1,
64
- formEncType: 1,
65
- formNoValidate: 1,
66
- formTarget: 1,
67
- frameBorder: 1,
68
- headers: 0,
69
- height: 0,
70
- hidden: 0,
71
- high: 0,
72
- href: 0,
73
- hrefLang: 1,
74
- htmlFor: 1,
75
- httpEquiv: 1,
76
- "http-equiv": "httpEquiv",
77
- icon: 0,
78
- id: 0,
79
- innerHTML: 1,
80
- inputMode: 1,
81
- integrity: 0,
82
- is: 0,
83
- itemID: 1,
84
- itemProp: 1,
85
- itemRef: 1,
86
- itemScope: 1,
87
- itemType: 1,
88
- keyParams: 1,
89
- keyType: 1,
90
- kind: 0,
91
- label: 0,
92
- lang: 0,
93
- list: 0,
94
- loop: 0,
95
- low: 0,
96
- manifest: 0,
97
- marginWidth: 1,
98
- marginHeight: 1,
99
- max: 0,
100
- maxLength: 1,
101
- media: 0,
102
- mediaGroup: 1,
103
- method: 0,
104
- min: 0,
105
- minLength: 1,
106
- multiple: 0,
107
- muted: 0,
108
- name: 0,
109
- noModule: 1,
110
- nonce: 0,
111
- noValidate: 1,
112
- open: 0,
113
- optimum: 0,
114
- pattern: 0,
115
- placeholder: 0,
116
- playsInline: 1,
117
- poster: 0,
118
- preload: 0,
119
- profile: 0,
120
- radioGroup: 1,
121
- readOnly: 1,
122
- referrerPolicy: 1,
123
- rel: 0,
124
- required: 0,
125
- reversed: 0,
126
- role: 0,
127
- rows: 0,
128
- rowSpan: 1,
129
- sandbox: 0,
130
- scope: 0,
131
- scoped: 0,
132
- scrolling: 0,
133
- seamless: 0,
134
- selected: 0,
135
- shape: 0,
136
- size: 0,
137
- sizes: 0,
138
- span: 0,
139
- spellCheck: 1,
140
- src: 0,
141
- srcDoc: 1,
142
- srcLang: 1,
143
- srcSet: 1,
144
- start: 0,
145
- step: 0,
146
- style: 0,
147
- summary: 0,
148
- tabIndex: 1,
149
- target: 0,
150
- title: 0,
151
- type: 0,
152
- useMap: 1,
153
- value: 0,
154
- width: 0,
155
- wmode: 0,
156
- wrap: 0,
157
- about: 0,
158
- accentHeight: 1,
159
- "accent-height": "accentHeight",
160
- accumulate: 0,
161
- additive: 0,
162
- alignmentBaseline: 1,
163
- "alignment-baseline": "alignmentBaseline",
164
- allowReorder: 1,
165
- alphabetic: 0,
166
- amplitude: 0,
167
- arabicForm: 1,
168
- "arabic-form": "arabicForm",
169
- ascent: 0,
170
- attributeName: 1,
171
- attributeType: 1,
172
- autoReverse: 1,
173
- azimuth: 0,
174
- baseFrequency: 1,
175
- baselineShift: 1,
176
- "baseline-shift": "baselineShift",
177
- baseProfile: 1,
178
- bbox: 0,
179
- begin: 0,
180
- bias: 0,
181
- by: 0,
182
- calcMode: 1,
183
- capHeight: 1,
184
- "cap-height": "capHeight",
185
- clip: 0,
186
- clipPath: 1,
187
- "clip-path": "clipPath",
188
- clipPathUnits: 1,
189
- clipRule: 1,
190
- "clip-rule": "clipRule",
191
- color: 0,
192
- colorInterpolation: 1,
193
- "color-interpolation": "colorInterpolation",
194
- colorInterpolationFilters: 1,
195
- "color-interpolation-filters": "colorInterpolationFilters",
196
- colorProfile: 1,
197
- "color-profile": "colorProfile",
198
- colorRendering: 1,
199
- "color-rendering": "colorRendering",
200
- contentScriptType: 1,
201
- contentStyleType: 1,
202
- cursor: 0,
203
- cx: 0,
204
- cy: 0,
205
- d: 0,
206
- datatype: 0,
207
- decelerate: 0,
208
- descent: 0,
209
- diffuseConstant: 1,
210
- direction: 0,
211
- display: 0,
212
- divisor: 0,
213
- dominantBaseline: 1,
214
- "dominant-baseline": "dominantBaseline",
215
- dur: 0,
216
- dx: 0,
217
- dy: 0,
218
- edgeMode: 1,
219
- elevation: 0,
220
- enableBackground: 1,
221
- "enable-background": "enableBackground",
222
- end: 0,
223
- exponent: 0,
224
- externalResourcesRequired: 1,
225
- fill: 0,
226
- fillOpacity: 1,
227
- "fill-opacity": "fillOpacity",
228
- fillRule: 1,
229
- "fill-rule": "fillRule",
230
- filter: 0,
231
- filterRes: 1,
232
- filterUnits: 1,
233
- floodOpacity: 1,
234
- "flood-opacity": "floodOpacity",
235
- floodColor: 1,
236
- "flood-color": "floodColor",
237
- focusable: 0,
238
- fontFamily: 1,
239
- "font-family": "fontFamily",
240
- fontSize: 1,
241
- "font-size": "fontSize",
242
- fontSizeAdjust: 1,
243
- "font-size-adjust": "fontSizeAdjust",
244
- fontStretch: 1,
245
- "font-stretch": "fontStretch",
246
- fontStyle: 1,
247
- "font-style": "fontStyle",
248
- fontVariant: 1,
249
- "font-variant": "fontVariant",
250
- fontWeight: 1,
251
- "font-weight": "fontWeight",
252
- format: 0,
253
- from: 0,
254
- fx: 0,
255
- fy: 0,
256
- g1: 0,
257
- g2: 0,
258
- glyphName: 1,
259
- "glyph-name": "glyphName",
260
- glyphOrientationHorizontal: 1,
261
- "glyph-orientation-horizontal": "glyphOrientationHorizontal",
262
- glyphOrientationVertical: 1,
263
- "glyph-orientation-vertical": "glyphOrientationVertical",
264
- glyphRef: 1,
265
- gradientTransform: 1,
266
- gradientUnits: 1,
267
- hanging: 0,
268
- horizAdvX: 1,
269
- "horiz-adv-x": "horizAdvX",
270
- horizOriginX: 1,
271
- "horiz-origin-x": "horizOriginX",
272
- ideographic: 0,
273
- imageRendering: 1,
274
- "image-rendering": "imageRendering",
275
- in2: 0,
276
- in: 0,
277
- inlist: 0,
278
- intercept: 0,
279
- k1: 0,
280
- k2: 0,
281
- k3: 0,
282
- k4: 0,
283
- k: 0,
284
- kernelMatrix: 1,
285
- kernelUnitLength: 1,
286
- kerning: 0,
287
- keyPoints: 1,
288
- keySplines: 1,
289
- keyTimes: 1,
290
- lengthAdjust: 1,
291
- letterSpacing: 1,
292
- "letter-spacing": "letterSpacing",
293
- lightingColor: 1,
294
- "lighting-color": "lightingColor",
295
- limitingConeAngle: 1,
296
- local: 0,
297
- markerEnd: 1,
298
- "marker-end": "markerEnd",
299
- markerHeight: 1,
300
- markerMid: 1,
301
- "marker-mid": "markerMid",
302
- markerStart: 1,
303
- "marker-start": "markerStart",
304
- markerUnits: 1,
305
- markerWidth: 1,
306
- mask: 0,
307
- maskContentUnits: 1,
308
- maskUnits: 1,
309
- mathematical: 0,
310
- mode: 0,
311
- numOctaves: 1,
312
- offset: 0,
313
- opacity: 0,
314
- operator: 0,
315
- order: 0,
316
- orient: 0,
317
- orientation: 0,
318
- origin: 0,
319
- overflow: 0,
320
- overlinePosition: 1,
321
- "overline-position": "overlinePosition",
322
- overlineThickness: 1,
323
- "overline-thickness": "overlineThickness",
324
- paintOrder: 1,
325
- "paint-order": "paintOrder",
326
- panose1: 0,
327
- "panose-1": "panose1",
328
- pathLength: 1,
329
- patternContentUnits: 1,
330
- patternTransform: 1,
331
- patternUnits: 1,
332
- pointerEvents: 1,
333
- "pointer-events": "pointerEvents",
334
- points: 0,
335
- pointsAtX: 1,
336
- pointsAtY: 1,
337
- pointsAtZ: 1,
338
- prefix: 0,
339
- preserveAlpha: 1,
340
- preserveAspectRatio: 1,
341
- primitiveUnits: 1,
342
- property: 0,
343
- r: 0,
344
- radius: 0,
345
- refX: 1,
346
- refY: 1,
347
- renderingIntent: 1,
348
- "rendering-intent": "renderingIntent",
349
- repeatCount: 1,
350
- repeatDur: 1,
351
- requiredExtensions: 1,
352
- requiredFeatures: 1,
353
- resource: 0,
354
- restart: 0,
355
- result: 0,
356
- results: 0,
357
- rotate: 0,
358
- rx: 0,
359
- ry: 0,
360
- scale: 0,
361
- security: 0,
362
- seed: 0,
363
- shapeRendering: 1,
364
- "shape-rendering": "shapeRendering",
365
- slope: 0,
366
- spacing: 0,
367
- specularConstant: 1,
368
- specularExponent: 1,
369
- speed: 0,
370
- spreadMethod: 1,
371
- startOffset: 1,
372
- stdDeviation: 1,
373
- stemh: 0,
374
- stemv: 0,
375
- stitchTiles: 1,
376
- stopColor: 1,
377
- "stop-color": "stopColor",
378
- stopOpacity: 1,
379
- "stop-opacity": "stopOpacity",
380
- strikethroughPosition: 1,
381
- "strikethrough-position": "strikethroughPosition",
382
- strikethroughThickness: 1,
383
- "strikethrough-thickness": "strikethroughThickness",
384
- string: 0,
385
- stroke: 0,
386
- strokeDasharray: 1,
387
- "stroke-dasharray": "strokeDasharray",
388
- strokeDashoffset: 1,
389
- "stroke-dashoffset": "strokeDashoffset",
390
- strokeLinecap: 1,
391
- "stroke-linecap": "strokeLinecap",
392
- strokeLinejoin: 1,
393
- "stroke-linejoin": "strokeLinejoin",
394
- strokeMiterlimit: 1,
395
- "stroke-miterlimit": "strokeMiterlimit",
396
- strokeWidth: 1,
397
- "stroke-width": "strokeWidth",
398
- strokeOpacity: 1,
399
- "stroke-opacity": "strokeOpacity",
400
- suppressContentEditableWarning: 1,
401
- suppressHydrationWarning: 1,
402
- surfaceScale: 1,
403
- systemLanguage: 1,
404
- tableValues: 1,
405
- targetX: 1,
406
- targetY: 1,
407
- textAnchor: 1,
408
- "text-anchor": "textAnchor",
409
- textDecoration: 1,
410
- "text-decoration": "textDecoration",
411
- textLength: 1,
412
- textRendering: 1,
413
- "text-rendering": "textRendering",
414
- to: 0,
415
- transform: 0,
416
- typeof: 0,
417
- u1: 0,
418
- u2: 0,
419
- underlinePosition: 1,
420
- "underline-position": "underlinePosition",
421
- underlineThickness: 1,
422
- "underline-thickness": "underlineThickness",
423
- unicode: 0,
424
- unicodeBidi: 1,
425
- "unicode-bidi": "unicodeBidi",
426
- unicodeRange: 1,
427
- "unicode-range": "unicodeRange",
428
- unitsPerEm: 1,
429
- "units-per-em": "unitsPerEm",
430
- unselectable: 0,
431
- vAlphabetic: 1,
432
- "v-alphabetic": "vAlphabetic",
433
- values: 0,
434
- vectorEffect: 1,
435
- "vector-effect": "vectorEffect",
436
- version: 0,
437
- vertAdvY: 1,
438
- "vert-adv-y": "vertAdvY",
439
- vertOriginX: 1,
440
- "vert-origin-x": "vertOriginX",
441
- vertOriginY: 1,
442
- "vert-origin-y": "vertOriginY",
443
- vHanging: 1,
444
- "v-hanging": "vHanging",
445
- vIdeographic: 1,
446
- "v-ideographic": "vIdeographic",
447
- viewBox: 1,
448
- viewTarget: 1,
449
- visibility: 0,
450
- vMathematical: 1,
451
- "v-mathematical": "vMathematical",
452
- vocab: 0,
453
- widths: 0,
454
- wordSpacing: 1,
455
- "word-spacing": "wordSpacing",
456
- writingMode: 1,
457
- "writing-mode": "writingMode",
458
- x1: 0,
459
- x2: 0,
460
- x: 0,
461
- xChannelSelector: 1,
462
- xHeight: 1,
463
- "x-height": "xHeight",
464
- xlinkActuate: 1,
465
- "xlink:actuate": "xlinkActuate",
466
- xlinkArcrole: 1,
467
- "xlink:arcrole": "xlinkArcrole",
468
- xlinkHref: 1,
469
- "xlink:href": "xlinkHref",
470
- xlinkRole: 1,
471
- "xlink:role": "xlinkRole",
472
- xlinkShow: 1,
473
- "xlink:show": "xlinkShow",
474
- xlinkTitle: 1,
475
- "xlink:title": "xlinkTitle",
476
- xlinkType: 1,
477
- "xlink:type": "xlinkType",
478
- xmlBase: 1,
479
- "xml:base": "xmlBase",
480
- xmlLang: 1,
481
- "xml:lang": "xmlLang",
482
- xmlns: 0,
483
- "xml:space": "xmlSpace",
484
- xmlnsXlink: 1,
485
- "xmlns:xlink": "xmlnsXlink",
486
- xmlSpace: 1,
487
- y1: 0,
488
- y2: 0,
489
- y: 0,
490
- yChannelSelector: 1,
491
- z: 0,
492
- zoomAndPan: 1
493
- };
494
- }));
495
- //#endregion
496
- //#region ../../node_modules/.pnpm/react-property@2.0.2/node_modules/react-property/lib/index.js
497
- var require_lib$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
498
- /**
499
- * Copyright (c) Facebook, Inc. and its affiliates.
500
- *
501
- * This source code is licensed under the MIT license found in the
502
- * LICENSE file in the root directory of this source tree.
503
- *
504
- *
505
- */
506
- var RESERVED = 0;
507
- var STRING = 1;
508
- var BOOLEANISH_STRING = 2;
509
- var BOOLEAN = 3;
510
- var OVERLOADED_BOOLEAN = 4;
511
- var NUMERIC = 5;
512
- var POSITIVE_NUMERIC = 6;
513
- function getPropertyInfo(name) {
514
- return properties.hasOwnProperty(name) ? properties[name] : null;
515
- }
516
- function PropertyInfoRecord(name, type, mustUseProperty, attributeName, attributeNamespace, sanitizeURL, removeEmptyString) {
517
- this.acceptsBooleans = type === BOOLEANISH_STRING || type === BOOLEAN || type === OVERLOADED_BOOLEAN;
518
- this.attributeName = attributeName;
519
- this.attributeNamespace = attributeNamespace;
520
- this.mustUseProperty = mustUseProperty;
521
- this.propertyName = name;
522
- this.type = type;
523
- this.sanitizeURL = sanitizeURL;
524
- this.removeEmptyString = removeEmptyString;
525
- }
526
- var properties = {};
527
- [
528
- "children",
529
- "dangerouslySetInnerHTML",
530
- "defaultValue",
531
- "defaultChecked",
532
- "innerHTML",
533
- "suppressContentEditableWarning",
534
- "suppressHydrationWarning",
535
- "style"
536
- ].forEach((name) => {
537
- properties[name] = new PropertyInfoRecord(name, RESERVED, false, name, null, false, false);
538
- });
539
- [
540
- ["acceptCharset", "accept-charset"],
541
- ["className", "class"],
542
- ["htmlFor", "for"],
543
- ["httpEquiv", "http-equiv"]
544
- ].forEach(([name, attributeName]) => {
545
- properties[name] = new PropertyInfoRecord(name, STRING, false, attributeName, null, false, false);
546
- });
547
- [
548
- "contentEditable",
549
- "draggable",
550
- "spellCheck",
551
- "value"
552
- ].forEach((name) => {
553
- properties[name] = new PropertyInfoRecord(name, BOOLEANISH_STRING, false, name.toLowerCase(), null, false, false);
554
- });
555
- [
556
- "autoReverse",
557
- "externalResourcesRequired",
558
- "focusable",
559
- "preserveAlpha"
560
- ].forEach((name) => {
561
- properties[name] = new PropertyInfoRecord(name, BOOLEANISH_STRING, false, name, null, false, false);
562
- });
563
- [
564
- "allowFullScreen",
565
- "async",
566
- "autoFocus",
567
- "autoPlay",
568
- "controls",
569
- "default",
570
- "defer",
571
- "disabled",
572
- "disablePictureInPicture",
573
- "disableRemotePlayback",
574
- "formNoValidate",
575
- "hidden",
576
- "loop",
577
- "noModule",
578
- "noValidate",
579
- "open",
580
- "playsInline",
581
- "readOnly",
582
- "required",
583
- "reversed",
584
- "scoped",
585
- "seamless",
586
- "itemScope"
587
- ].forEach((name) => {
588
- properties[name] = new PropertyInfoRecord(name, BOOLEAN, false, name.toLowerCase(), null, false, false);
589
- });
590
- [
591
- "checked",
592
- "multiple",
593
- "muted",
594
- "selected"
595
- ].forEach((name) => {
596
- properties[name] = new PropertyInfoRecord(name, BOOLEAN, true, name, null, false, false);
597
- });
598
- ["capture", "download"].forEach((name) => {
599
- properties[name] = new PropertyInfoRecord(name, OVERLOADED_BOOLEAN, false, name, null, false, false);
600
- });
601
- [
602
- "cols",
603
- "rows",
604
- "size",
605
- "span"
606
- ].forEach((name) => {
607
- properties[name] = new PropertyInfoRecord(name, POSITIVE_NUMERIC, false, name, null, false, false);
608
- });
609
- ["rowSpan", "start"].forEach((name) => {
610
- properties[name] = new PropertyInfoRecord(name, NUMERIC, false, name.toLowerCase(), null, false, false);
611
- });
612
- var CAMELIZE = /[\-\:]([a-z])/g;
613
- var capitalize = (token) => token[1].toUpperCase();
614
- [
615
- "accent-height",
616
- "alignment-baseline",
617
- "arabic-form",
618
- "baseline-shift",
619
- "cap-height",
620
- "clip-path",
621
- "clip-rule",
622
- "color-interpolation",
623
- "color-interpolation-filters",
624
- "color-profile",
625
- "color-rendering",
626
- "dominant-baseline",
627
- "enable-background",
628
- "fill-opacity",
629
- "fill-rule",
630
- "flood-color",
631
- "flood-opacity",
632
- "font-family",
633
- "font-size",
634
- "font-size-adjust",
635
- "font-stretch",
636
- "font-style",
637
- "font-variant",
638
- "font-weight",
639
- "glyph-name",
640
- "glyph-orientation-horizontal",
641
- "glyph-orientation-vertical",
642
- "horiz-adv-x",
643
- "horiz-origin-x",
644
- "image-rendering",
645
- "letter-spacing",
646
- "lighting-color",
647
- "marker-end",
648
- "marker-mid",
649
- "marker-start",
650
- "overline-position",
651
- "overline-thickness",
652
- "paint-order",
653
- "panose-1",
654
- "pointer-events",
655
- "rendering-intent",
656
- "shape-rendering",
657
- "stop-color",
658
- "stop-opacity",
659
- "strikethrough-position",
660
- "strikethrough-thickness",
661
- "stroke-dasharray",
662
- "stroke-dashoffset",
663
- "stroke-linecap",
664
- "stroke-linejoin",
665
- "stroke-miterlimit",
666
- "stroke-opacity",
667
- "stroke-width",
668
- "text-anchor",
669
- "text-decoration",
670
- "text-rendering",
671
- "underline-position",
672
- "underline-thickness",
673
- "unicode-bidi",
674
- "unicode-range",
675
- "units-per-em",
676
- "v-alphabetic",
677
- "v-hanging",
678
- "v-ideographic",
679
- "v-mathematical",
680
- "vector-effect",
681
- "vert-adv-y",
682
- "vert-origin-x",
683
- "vert-origin-y",
684
- "word-spacing",
685
- "writing-mode",
686
- "xmlns:xlink",
687
- "x-height"
688
- ].forEach((attributeName) => {
689
- const name = attributeName.replace(CAMELIZE, capitalize);
690
- properties[name] = new PropertyInfoRecord(name, STRING, false, attributeName, null, false, false);
691
- });
692
- [
693
- "xlink:actuate",
694
- "xlink:arcrole",
695
- "xlink:role",
696
- "xlink:show",
697
- "xlink:title",
698
- "xlink:type"
699
- ].forEach((attributeName) => {
700
- const name = attributeName.replace(CAMELIZE, capitalize);
701
- properties[name] = new PropertyInfoRecord(name, STRING, false, attributeName, "http://www.w3.org/1999/xlink", false, false);
702
- });
703
- [
704
- "xml:base",
705
- "xml:lang",
706
- "xml:space"
707
- ].forEach((attributeName) => {
708
- const name = attributeName.replace(CAMELIZE, capitalize);
709
- properties[name] = new PropertyInfoRecord(name, STRING, false, attributeName, "http://www.w3.org/XML/1998/namespace", false, false);
710
- });
711
- ["tabIndex", "crossOrigin"].forEach((attributeName) => {
712
- properties[attributeName] = new PropertyInfoRecord(attributeName, STRING, false, attributeName.toLowerCase(), null, false, false);
713
- });
714
- var xlinkHref = "xlinkHref";
715
- properties[xlinkHref] = new PropertyInfoRecord("xlinkHref", STRING, false, "xlink:href", "http://www.w3.org/1999/xlink", true, false);
716
- [
717
- "src",
718
- "href",
719
- "action",
720
- "formAction"
721
- ].forEach((attributeName) => {
722
- properties[attributeName] = new PropertyInfoRecord(attributeName, STRING, false, attributeName.toLowerCase(), null, true, true);
723
- });
724
- var { CAMELCASE, SAME, possibleStandardNames: possibleStandardNamesOptimized } = require_possibleStandardNamesOptimized();
725
- /**
726
- * Checks whether a property name is a custom attribute.
727
- *
728
- * @see https://github.com/facebook/react/blob/15-stable/src/renderers/dom/shared/HTMLDOMPropertyConfig.js#L23-L25
729
- *
730
- * @type {(attribute: string) => boolean}
731
- */
732
- var isCustomAttribute = RegExp.prototype.test.bind(/* @__PURE__ */ new RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"));
733
- /**
734
- * @type {Record<string, string>}
735
- */
736
- var possibleStandardNames = Object.keys(possibleStandardNamesOptimized).reduce((accumulator, standardName) => {
737
- const propName = possibleStandardNamesOptimized[standardName];
738
- if (propName === SAME) accumulator[standardName] = standardName;
739
- else if (propName === CAMELCASE) accumulator[standardName.toLowerCase()] = standardName;
740
- else accumulator[standardName] = propName;
741
- return accumulator;
742
- }, {});
743
- exports.BOOLEAN = BOOLEAN;
744
- exports.BOOLEANISH_STRING = BOOLEANISH_STRING;
745
- exports.NUMERIC = NUMERIC;
746
- exports.OVERLOADED_BOOLEAN = OVERLOADED_BOOLEAN;
747
- exports.POSITIVE_NUMERIC = POSITIVE_NUMERIC;
748
- exports.RESERVED = RESERVED;
749
- exports.STRING = STRING;
750
- exports.getPropertyInfo = getPropertyInfo;
751
- exports.isCustomAttribute = isCustomAttribute;
752
- exports.possibleStandardNames = possibleStandardNames;
753
- }));
754
- //#endregion
755
- //#region ../../node_modules/.pnpm/inline-style-parser@0.2.7/node_modules/inline-style-parser/cjs/index.js
756
- var require_cjs$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
757
- var COMMENT_REGEX = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g;
758
- var NEWLINE_REGEX = /\n/g;
759
- var WHITESPACE_REGEX = /^\s*/;
760
- var PROPERTY_REGEX = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/;
761
- var COLON_REGEX = /^:\s*/;
762
- var VALUE_REGEX = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/;
763
- var SEMICOLON_REGEX = /^[;\s]*/;
764
- var TRIM_REGEX = /^\s+|\s+$/g;
765
- var NEWLINE = "\n";
766
- var FORWARD_SLASH = "/";
767
- var ASTERISK = "*";
768
- var EMPTY_STRING = "";
769
- var TYPE_COMMENT = "comment";
770
- var TYPE_DECLARATION = "declaration";
771
- /**
772
- * @param {String} style
773
- * @param {Object} [options]
774
- * @return {Object[]}
775
- * @throws {TypeError}
776
- * @throws {Error}
777
- */
778
- function index(style, options) {
779
- if (typeof style !== "string") throw new TypeError("First argument must be a string");
780
- if (!style) return [];
781
- options = options || {};
782
- /**
783
- * Positional.
784
- */
785
- var lineno = 1;
786
- var column = 1;
787
- /**
788
- * Update lineno and column based on `str`.
789
- *
790
- * @param {String} str
791
- */
792
- function updatePosition(str) {
793
- var lines = str.match(NEWLINE_REGEX);
794
- if (lines) lineno += lines.length;
795
- var i = str.lastIndexOf(NEWLINE);
796
- column = ~i ? str.length - i : column + str.length;
797
- }
798
- /**
799
- * Mark position and patch `node.position`.
800
- *
801
- * @return {Function}
802
- */
803
- function position() {
804
- var start = {
805
- line: lineno,
806
- column
807
- };
808
- return function(node) {
809
- node.position = new Position(start);
810
- whitespace();
811
- return node;
812
- };
813
- }
814
- /**
815
- * Store position information for a node.
816
- *
817
- * @constructor
818
- * @property {Object} start
819
- * @property {Object} end
820
- * @property {undefined|String} source
821
- */
822
- function Position(start) {
823
- this.start = start;
824
- this.end = {
825
- line: lineno,
826
- column
827
- };
828
- this.source = options.source;
829
- }
830
- /**
831
- * Non-enumerable source string.
832
- */
833
- Position.prototype.content = style;
834
- /**
835
- * Error `msg`.
836
- *
837
- * @param {String} msg
838
- * @throws {Error}
839
- */
840
- function error(msg) {
841
- var err = /* @__PURE__ */ new Error(options.source + ":" + lineno + ":" + column + ": " + msg);
842
- err.reason = msg;
843
- err.filename = options.source;
844
- err.line = lineno;
845
- err.column = column;
846
- err.source = style;
847
- if (options.silent);
848
- else throw err;
849
- }
850
- /**
851
- * Match `re` and return captures.
852
- *
853
- * @param {RegExp} re
854
- * @return {undefined|Array}
855
- */
856
- function match(re) {
857
- var m = re.exec(style);
858
- if (!m) return;
859
- var str = m[0];
860
- updatePosition(str);
861
- style = style.slice(str.length);
862
- return m;
863
- }
864
- /**
865
- * Parse whitespace.
866
- */
867
- function whitespace() {
868
- match(WHITESPACE_REGEX);
869
- }
870
- /**
871
- * Parse comments.
872
- *
873
- * @param {Object[]} [rules]
874
- * @return {Object[]}
875
- */
876
- function comments(rules) {
877
- var c;
878
- rules = rules || [];
879
- while (c = comment()) if (c !== false) rules.push(c);
880
- return rules;
881
- }
882
- /**
883
- * Parse comment.
884
- *
885
- * @return {Object}
886
- * @throws {Error}
887
- */
888
- function comment() {
889
- var pos = position();
890
- if (FORWARD_SLASH != style.charAt(0) || ASTERISK != style.charAt(1)) return;
891
- var i = 2;
892
- while (EMPTY_STRING != style.charAt(i) && (ASTERISK != style.charAt(i) || FORWARD_SLASH != style.charAt(i + 1))) ++i;
893
- i += 2;
894
- if (EMPTY_STRING === style.charAt(i - 1)) return error("End of comment missing");
895
- var str = style.slice(2, i - 2);
896
- column += 2;
897
- updatePosition(str);
898
- style = style.slice(i);
899
- column += 2;
900
- return pos({
901
- type: TYPE_COMMENT,
902
- comment: str
903
- });
904
- }
905
- /**
906
- * Parse declaration.
907
- *
908
- * @return {Object}
909
- * @throws {Error}
910
- */
911
- function declaration() {
912
- var pos = position();
913
- var prop = match(PROPERTY_REGEX);
914
- if (!prop) return;
915
- comment();
916
- if (!match(COLON_REGEX)) return error("property missing ':'");
917
- var val = match(VALUE_REGEX);
918
- var ret = pos({
919
- type: TYPE_DECLARATION,
920
- property: trim(prop[0].replace(COMMENT_REGEX, EMPTY_STRING)),
921
- value: val ? trim(val[0].replace(COMMENT_REGEX, EMPTY_STRING)) : EMPTY_STRING
922
- });
923
- match(SEMICOLON_REGEX);
924
- return ret;
925
- }
926
- /**
927
- * Parse declarations.
928
- *
929
- * @return {Object[]}
930
- */
931
- function declarations() {
932
- var decls = [];
933
- comments(decls);
934
- var decl;
935
- while (decl = declaration()) if (decl !== false) {
936
- decls.push(decl);
937
- comments(decls);
938
- }
939
- return decls;
940
- }
941
- whitespace();
942
- return declarations();
943
- }
944
- /**
945
- * Trim `str`.
946
- *
947
- * @param {String} str
948
- * @return {String}
949
- */
950
- function trim(str) {
951
- return str ? str.replace(TRIM_REGEX, EMPTY_STRING) : EMPTY_STRING;
952
- }
953
- module.exports = index;
954
- }));
955
- //#endregion
956
- //#region ../../node_modules/.pnpm/style-to-object@1.0.14/node_modules/style-to-object/cjs/index.js
957
- var require_cjs = /* @__PURE__ */ __commonJSMin(((exports) => {
958
- var __importDefault = exports && exports.__importDefault || function(mod) {
959
- return mod && mod.__esModule ? mod : { "default": mod };
960
- };
961
- Object.defineProperty(exports, "__esModule", { value: true });
962
- exports.default = StyleToObject;
963
- var inline_style_parser_1 = __importDefault(require_cjs$1());
964
- /**
965
- * Parses inline style to object.
966
- *
967
- * @param style - Inline style.
968
- * @param iterator - Iterator.
969
- * @returns - Style object or null.
970
- *
971
- * @example Parsing inline style to object:
972
- *
973
- * ```js
974
- * import parse from 'style-to-object';
975
- * parse('line-height: 42;'); // { 'line-height': '42' }
976
- * ```
977
- */
978
- function StyleToObject(style, iterator) {
979
- let styleObject = null;
980
- if (!style || typeof style !== "string") return styleObject;
981
- const declarations = (0, inline_style_parser_1.default)(style);
982
- const hasIterator = typeof iterator === "function";
983
- declarations.forEach((declaration) => {
984
- if (declaration.type !== "declaration") return;
985
- const { property, value } = declaration;
986
- if (hasIterator) iterator(property, value, declaration);
987
- else if (value) {
988
- styleObject = styleObject || {};
989
- styleObject[property] = value;
990
- }
991
- });
992
- return styleObject;
993
- }
994
- }));
995
- //#endregion
996
- //#region ../../node_modules/.pnpm/style-to-js@2.0.0/node_modules/style-to-js/dist/index.js
997
- var require_dist = /* @__PURE__ */ __commonJSMin(((exports, module) => {
998
- var __create = Object.create;
999
- var __defProp = Object.defineProperty;
1000
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
1001
- var __getOwnPropNames = Object.getOwnPropertyNames;
1002
- var __getProtoOf = Object.getPrototypeOf;
1003
- var __hasOwnProp = Object.prototype.hasOwnProperty;
1004
- var __copyProps = (to, from, except, desc) => {
1005
- if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
1006
- key = keys[i];
1007
- if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
1008
- get: ((k) => from[k]).bind(null, key),
1009
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
1010
- });
1011
- }
1012
- return to;
1013
- };
1014
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
1015
- value: mod,
1016
- enumerable: true
1017
- }) : target, mod));
1018
- var style_to_object = require_cjs();
1019
- style_to_object = __toESM(style_to_object);
1020
- var CUSTOM_PROPERTY_REGEX = /^--[a-zA-Z0-9_-]+$/;
1021
- var HYPHEN_REGEX = /-([a-z])/g;
1022
- var NO_HYPHEN_REGEX = /^[^-]+$/;
1023
- var VENDOR_PREFIX_REGEX = /^-(webkit|moz|ms|o|khtml)-/;
1024
- var MS_VENDOR_PREFIX_REGEX = /^-(ms)-/;
1025
- /**
1026
- * Checks whether to skip camelCase.
1027
- */
1028
- var skipCamelCase = (property) => !property || NO_HYPHEN_REGEX.test(property) || CUSTOM_PROPERTY_REGEX.test(property);
1029
- /**
1030
- * Replacer that capitalizes first character.
1031
- */
1032
- var capitalize = (match, character) => character.toUpperCase();
1033
- /**
1034
- * Replacer that removes beginning hyphen of vendor prefix property.
1035
- */
1036
- var trimHyphen = (match, prefix) => `${prefix}-`;
1037
- /**
1038
- * CamelCases a CSS property.
1039
- */
1040
- var camelCase = (property, options = {}) => {
1041
- if (skipCamelCase(property)) return property;
1042
- property = property.toLowerCase();
1043
- if (options.reactCompat) property = property.replace(MS_VENDOR_PREFIX_REGEX, trimHyphen);
1044
- else property = property.replace(VENDOR_PREFIX_REGEX, trimHyphen);
1045
- return property.replace(HYPHEN_REGEX, capitalize);
1046
- };
1047
- /**
1048
- * Parses CSS inline style to JavaScript object (camelCased).
1049
- */
1050
- function StyleToJS(style, options) {
1051
- const output = {};
1052
- if (!style || typeof style !== "string") return output;
1053
- (0, style_to_object.default)(style, (property, value) => {
1054
- if (property && value) output[camelCase(property, options)] = value;
1055
- });
1056
- return output;
1057
- }
1058
- module.exports = StyleToJS;
1059
- }));
1060
- //#endregion
1061
- //#region ../../node_modules/.pnpm/html-react-parser@6.1.3_@types+react@19.2.17_react@19.2.7/node_modules/html-react-parser/lib/utilities.js
1062
- var require_utilities = /* @__PURE__ */ __commonJSMin(((exports) => {
1063
- var __importDefault = exports && exports.__importDefault || function(mod) {
1064
- return mod && mod.__esModule ? mod : { "default": mod };
1065
- };
1066
- Object.defineProperty(exports, "__esModule", { value: true });
1067
- exports.returnFirstArg = exports.canTextBeChildOfNode = exports.ELEMENTS_WITH_NO_TEXT_CHILDREN = exports.PRESERVE_CUSTOM_ATTRIBUTES = void 0;
1068
- exports.isCustomComponent = isCustomComponent;
1069
- exports.setStyleProp = setStyleProp;
1070
- var react_1 = require_react();
1071
- var style_to_js_1 = __importDefault(require_dist());
1072
- var RESERVED_SVG_MATHML_ELEMENTS = new Set([
1073
- "annotation-xml",
1074
- "color-profile",
1075
- "font-face",
1076
- "font-face-src",
1077
- "font-face-uri",
1078
- "font-face-format",
1079
- "font-face-name",
1080
- "missing-glyph"
1081
- ]);
1082
- /**
1083
- * Check if a tag is a custom component.
1084
- *
1085
- * @see {@link https://github.com/facebook/react/blob/v16.6.3/packages/react-dom/src/shared/isCustomComponent.js}
1086
- *
1087
- * @param tagName - Tag name.
1088
- * @param props - Props passed to the element.
1089
- * @returns - Whether the tag is custom component.
1090
- */
1091
- function isCustomComponent(tagName, props) {
1092
- if (!tagName.includes("-")) return Boolean(props && typeof props.is === "string");
1093
- if (RESERVED_SVG_MATHML_ELEMENTS.has(tagName)) return false;
1094
- return true;
1095
- }
1096
- var styleOptions = { reactCompat: true };
1097
- /**
1098
- * Sets style prop.
1099
- *
1100
- * @param style - Inline style.
1101
- * @param props - Props object.
1102
- */
1103
- function setStyleProp(style, props) {
1104
- if (typeof style !== "string") return;
1105
- if (!style.trim()) {
1106
- props.style = {};
1107
- return;
1108
- }
1109
- try {
1110
- props.style = (0, style_to_js_1.default)(style, styleOptions);
1111
- } catch (error) {
1112
- props.style = {};
1113
- }
1114
- }
1115
- /**
1116
- * @see https://reactjs.org/blog/2017/09/08/dom-attributes-in-react-16.html
1117
- */
1118
- exports.PRESERVE_CUSTOM_ATTRIBUTES = Number(react_1.version.split(".")[0]) >= 16;
1119
- /**
1120
- * @see https://github.com/facebook/react/blob/cae635054e17a6f107a39d328649137b83f25972/packages/react-dom/src/client/validateDOMNesting.js#L213
1121
- */
1122
- exports.ELEMENTS_WITH_NO_TEXT_CHILDREN = new Set([
1123
- "tr",
1124
- "tbody",
1125
- "thead",
1126
- "tfoot",
1127
- "colgroup",
1128
- "table",
1129
- "head",
1130
- "html",
1131
- "frameset"
1132
- ]);
1133
- /**
1134
- * Checks if the given node can contain text nodes
1135
- *
1136
- * @param node - Element node.
1137
- * @returns - Whether the node can contain text nodes.
1138
- */
1139
- var canTextBeChildOfNode = (node) => !exports.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(node.name);
1140
- exports.canTextBeChildOfNode = canTextBeChildOfNode;
1141
- /**
1142
- * Returns the first argument as is.
1143
- *
1144
- * @param arg - The argument to be returned.
1145
- * @returns - The input argument `arg`.
1146
- */
1147
- var returnFirstArg = (arg) => arg;
1148
- exports.returnFirstArg = returnFirstArg;
1149
- }));
1150
- //#endregion
1151
- //#region ../../node_modules/.pnpm/html-react-parser@6.1.3_@types+react@19.2.17_react@19.2.7/node_modules/html-react-parser/lib/attributes-to-props.js
1152
- var require_attributes_to_props = /* @__PURE__ */ __commonJSMin(((exports) => {
1153
- Object.defineProperty(exports, "__esModule", { value: true });
1154
- exports.default = attributesToProps;
1155
- var react_property_1 = require_lib$1();
1156
- var utilities_1 = require_utilities();
1157
- var UNCONTROLLED_COMPONENT_ATTRIBUTES = ["checked", "value"];
1158
- var UNCONTROLLED_COMPONENT_NAMES = [
1159
- "input",
1160
- "select",
1161
- "textarea"
1162
- ];
1163
- var valueOnlyInputs = {
1164
- reset: true,
1165
- submit: true
1166
- };
1167
- /**
1168
- * Converts HTML/SVG DOM attributes to React props.
1169
- *
1170
- * @param attributes - HTML/SVG DOM attributes.
1171
- * @param nodeName - DOM node name.
1172
- * @returns - React props.
1173
- */
1174
- function attributesToProps(attributes = {}, nodeName) {
1175
- const props = {};
1176
- const isInputValueOnly = Boolean(attributes.type && valueOnlyInputs[attributes.type]);
1177
- for (const attributeName in attributes) {
1178
- const attributeValue = attributes[attributeName];
1179
- if ((0, react_property_1.isCustomAttribute)(attributeName)) {
1180
- props[attributeName] = attributeValue;
1181
- continue;
1182
- }
1183
- const attributeNameLowerCased = attributeName.toLowerCase();
1184
- let propName = getPropName(attributeNameLowerCased);
1185
- if (propName) {
1186
- const propertyInfo = (0, react_property_1.getPropertyInfo)(propName);
1187
- if (UNCONTROLLED_COMPONENT_ATTRIBUTES.includes(propName) && UNCONTROLLED_COMPONENT_NAMES.includes(nodeName) && !isInputValueOnly) propName = getPropName("default" + attributeNameLowerCased);
1188
- props[propName] = attributeValue;
1189
- switch (propertyInfo === null || propertyInfo === void 0 ? void 0 : propertyInfo.type) {
1190
- case react_property_1.BOOLEAN:
1191
- props[propName] = true;
1192
- break;
1193
- case react_property_1.OVERLOADED_BOOLEAN:
1194
- if (attributeValue === "") props[propName] = true;
1195
- break;
1196
- }
1197
- continue;
1198
- }
1199
- if (utilities_1.PRESERVE_CUSTOM_ATTRIBUTES) props[attributeName] = attributeValue;
1200
- }
1201
- (0, utilities_1.setStyleProp)(attributes.style, props);
1202
- return props;
1203
- }
1204
- /**
1205
- * Gets prop name from lowercased attribute name.
1206
- *
1207
- * @param attributeName - Lowercased attribute name.
1208
- * @returns - Prop name.
1209
- */
1210
- function getPropName(attributeName) {
1211
- return react_property_1.possibleStandardNames[attributeName];
1212
- }
1213
- }));
1214
- //#endregion
1215
- //#region ../../node_modules/.pnpm/html-react-parser@6.1.3_@types+react@19.2.17_react@19.2.7/node_modules/html-react-parser/lib/dom-to-react.js
1216
- var require_dom_to_react = /* @__PURE__ */ __commonJSMin(((exports) => {
1217
- var __importDefault = exports && exports.__importDefault || function(mod) {
1218
- return mod && mod.__esModule ? mod : { "default": mod };
1219
- };
1220
- Object.defineProperty(exports, "__esModule", { value: true });
1221
- exports.default = domToReact;
1222
- var domhandler_1 = (init_dist(), __toCommonJS(dist_exports));
1223
- var react_1 = require_react();
1224
- var attributes_to_props_1 = __importDefault(require_attributes_to_props());
1225
- var utilities_1 = require_utilities();
1226
- var React = {
1227
- cloneElement: react_1.cloneElement,
1228
- createElement: react_1.createElement,
1229
- isValidElement: react_1.isValidElement
1230
- };
1231
- /**
1232
- * Converts DOM nodes to JSX element(s).
1233
- *
1234
- * @param nodes - DOM nodes.
1235
- * @param options - Options.
1236
- * @returns - String or JSX element(s).
1237
- */
1238
- function domToReact(nodes, options = {}) {
1239
- var _a, _b, _c, _d, _e;
1240
- const reactElements = [];
1241
- const hasReplace = typeof options.replace === "function";
1242
- const transform = (_a = options.transform) !== null && _a !== void 0 ? _a : utilities_1.returnFirstArg;
1243
- const { cloneElement, createElement, isValidElement } = (_b = options.library) !== null && _b !== void 0 ? _b : React;
1244
- const nodesLength = nodes.length;
1245
- normalizeDOMNodes(nodes);
1246
- for (let index = 0; index < nodesLength; index++) {
1247
- const node = nodes[index];
1248
- if (hasReplace) {
1249
- let replaceElement = (_c = options.replace) === null || _c === void 0 ? void 0 : _c.call(options, node, index);
1250
- if (isValidElement(replaceElement)) {
1251
- if (nodesLength > 1) replaceElement = cloneElement(replaceElement, { key: (_d = replaceElement.key) !== null && _d !== void 0 ? _d : index });
1252
- reactElements.push(transform(replaceElement, node, index));
1253
- continue;
1254
- }
1255
- }
1256
- if (node.type === "text") {
1257
- const isWhitespace = !node.data.trim().length;
1258
- if (isWhitespace && node.parent && !(0, utilities_1.canTextBeChildOfNode)(node.parent)) continue;
1259
- if (options.trim && isWhitespace) continue;
1260
- reactElements.push(transform(node.data, node, index));
1261
- continue;
1262
- }
1263
- const element = node;
1264
- let props = {};
1265
- if (skipAttributesToProps(element)) {
1266
- (0, utilities_1.setStyleProp)(element.attribs.style, element.attribs);
1267
- props = element.attribs;
1268
- } else if (element.attribs) props = (0, attributes_to_props_1.default)(element.attribs, element.name);
1269
- let children;
1270
- switch (node.type) {
1271
- case "script":
1272
- case "style":
1273
- if (node.children[0]) props.dangerouslySetInnerHTML = { __html: node.children[0].data };
1274
- break;
1275
- case "tag":
1276
- if (node.name === "textarea" && node.children[0]) props.defaultValue = node.children[0].data;
1277
- else if ((_e = node.children) === null || _e === void 0 ? void 0 : _e.length) children = domToReact(node.children, options);
1278
- break;
1279
- default: continue;
1280
- }
1281
- if (nodesLength > 1) props.key = index;
1282
- reactElements.push(transform(createElement(node.name, props, children), node, index));
1283
- }
1284
- return reactElements.length === 1 ? reactElements[0] : reactElements;
1285
- }
1286
- function normalizeDOMNodes(nodes) {
1287
- for (const node of nodes) if (node.type === "tag" || node.type === "script" || node.type === "style") {
1288
- Object.setPrototypeOf(node, domhandler_1.Element.prototype);
1289
- normalizeDOMNodes(node.children);
1290
- }
1291
- }
1292
- /**
1293
- * Determines whether DOM element attributes should be transformed to props.
1294
- * Web Components should not have their attributes transformed except for `style`.
1295
- *
1296
- * @param node - Element node.
1297
- * @returns - Whether the node attributes should be converted to props.
1298
- */
1299
- function skipAttributesToProps(node) {
1300
- return utilities_1.PRESERVE_CUSTOM_ATTRIBUTES && node.type === "tag" && (0, utilities_1.isCustomComponent)(node.name, node.attribs);
1301
- }
1302
- }));
1303
- //#endregion
1304
- //#region ../../node_modules/.pnpm/html-react-parser@6.1.3_@types+react@19.2.17_react@19.2.7/node_modules/html-react-parser/esm/index.mjs
1305
- var import_lib = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports) => {
1306
- var __importDefault = exports && exports.__importDefault || function(mod) {
1307
- return mod && mod.__esModule ? mod : { "default": mod };
1308
- };
1309
- Object.defineProperty(exports, "__esModule", { value: true });
1310
- exports.htmlToDOM = exports.domToReact = exports.attributesToProps = exports.Text = exports.ProcessingInstruction = exports.Element = exports.Comment = void 0;
1311
- exports.default = HTMLReactParser;
1312
- var html_dom_parser_1 = __importDefault(require_lib$2());
1313
- exports.htmlToDOM = html_dom_parser_1.default;
1314
- exports.attributesToProps = __importDefault(require_attributes_to_props()).default;
1315
- var dom_to_react_1 = __importDefault(require_dom_to_react());
1316
- exports.domToReact = dom_to_react_1.default;
1317
- var domhandler_1 = (init_dist(), __toCommonJS(dist_exports));
1318
- Object.defineProperty(exports, "Comment", {
1319
- enumerable: true,
1320
- get: function() {
1321
- return domhandler_1.Comment;
1322
- }
1323
- });
1324
- Object.defineProperty(exports, "Element", {
1325
- enumerable: true,
1326
- get: function() {
1327
- return domhandler_1.Element;
1328
- }
1329
- });
1330
- Object.defineProperty(exports, "ProcessingInstruction", {
1331
- enumerable: true,
1332
- get: function() {
1333
- return domhandler_1.ProcessingInstruction;
1334
- }
1335
- });
1336
- Object.defineProperty(exports, "Text", {
1337
- enumerable: true,
1338
- get: function() {
1339
- return domhandler_1.Text;
1340
- }
1341
- });
1342
- var domParserOptions = { lowerCaseAttributeNames: false };
1343
- /**
1344
- * Converts HTML string to React elements.
1345
- *
1346
- * @param html - HTML string.
1347
- * @param options - Parser options.
1348
- * @returns - React element(s), empty array, or string.
1349
- */
1350
- function HTMLReactParser(html, options) {
1351
- var _a;
1352
- if (typeof html !== "string") throw new TypeError("First argument must be a string");
1353
- if (!html) return [];
1354
- const htmlToDOMOptions = Object.assign(Object.assign({}, (_a = options === null || options === void 0 ? void 0 : options.htmlparser2) !== null && _a !== void 0 ? _a : domParserOptions), { trustedTypePolicy: options === null || options === void 0 ? void 0 : options.trustedTypePolicy });
1355
- return (0, dom_to_react_1.default)((0, html_dom_parser_1.default)(html, htmlToDOMOptions), options);
1356
- }
1357
- })))(), 1);
1358
- var esm_default = import_lib.default.default || import_lib.default;
1359
- //#endregion
1360
- export { import_lib as n, esm_default as t };