@anoki/fse-ui 1.0.0-beta1.39.8 → 1.0.0-beta1.40

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 (295) hide show
  1. package/dist/index.cjs.js +1 -1
  2. package/dist/index.cjs134.js +1 -1
  3. package/dist/index.cjs134.js.map +1 -1
  4. package/dist/index.cjs153.js +1 -1
  5. package/dist/index.cjs153.js.map +1 -1
  6. package/dist/index.cjs218.js +1 -1
  7. package/dist/index.cjs218.js.map +1 -1
  8. package/dist/index.cjs219.js +1 -1
  9. package/dist/index.cjs219.js.map +1 -1
  10. package/dist/index.cjs223.js +1 -1
  11. package/dist/index.cjs223.js.map +1 -1
  12. package/dist/index.cjs232.js +1 -1
  13. package/dist/index.cjs232.js.map +1 -1
  14. package/dist/index.cjs236.js +1 -1
  15. package/dist/index.cjs236.js.map +1 -1
  16. package/dist/index.cjs254.js.map +1 -1
  17. package/dist/index.cjs255.js +1 -1
  18. package/dist/index.cjs256.js +1 -1
  19. package/dist/index.cjs256.js.map +1 -1
  20. package/dist/index.cjs257.js +1 -1
  21. package/dist/index.cjs257.js.map +1 -1
  22. package/dist/index.cjs285.js +1 -1
  23. package/dist/index.cjs290.js +1 -1
  24. package/dist/index.cjs298.js +1 -1
  25. package/dist/index.cjs315.js +1 -1
  26. package/dist/index.cjs32.js +1 -1
  27. package/dist/index.cjs322.js +1 -1
  28. package/dist/index.cjs327.js +1 -1
  29. package/dist/index.cjs33.js +1 -1
  30. package/dist/index.cjs338.js +1 -1
  31. package/dist/index.cjs346.js +1 -1
  32. package/dist/index.cjs387.js +1 -1
  33. package/dist/index.cjs393.js +1 -1
  34. package/dist/index.cjs427.js +1 -1
  35. package/dist/index.cjs447.js +12 -3
  36. package/dist/index.cjs447.js.map +1 -1
  37. package/dist/index.cjs453.js +1 -1
  38. package/dist/index.cjs453.js.map +1 -1
  39. package/dist/index.cjs454.js +1 -1
  40. package/dist/index.cjs454.js.map +1 -1
  41. package/dist/index.cjs455.js +1 -1
  42. package/dist/index.cjs455.js.map +1 -1
  43. package/dist/index.cjs457.js +1 -1
  44. package/dist/index.cjs457.js.map +1 -1
  45. package/dist/index.cjs458.js +2 -0
  46. package/dist/index.cjs458.js.map +1 -0
  47. package/dist/index.cjs459.js +2 -0
  48. package/dist/index.cjs459.js.map +1 -0
  49. package/dist/index.cjs460.js +1 -1
  50. package/dist/index.cjs460.js.map +1 -1
  51. package/dist/index.cjs461.js +1 -1
  52. package/dist/index.cjs461.js.map +1 -1
  53. package/dist/index.cjs462.js +1 -1
  54. package/dist/index.cjs462.js.map +1 -1
  55. package/dist/index.cjs463.js +1 -1
  56. package/dist/index.cjs463.js.map +1 -1
  57. package/dist/index.cjs464.js +1 -1
  58. package/dist/index.cjs464.js.map +1 -1
  59. package/dist/index.cjs468.js +1 -1
  60. package/dist/index.cjs469.js +1 -1
  61. package/dist/index.cjs475.js +1 -1
  62. package/dist/index.cjs475.js.map +1 -1
  63. package/dist/index.cjs476.js +1 -1
  64. package/dist/index.cjs476.js.map +1 -1
  65. package/dist/index.cjs477.js +1 -1
  66. package/dist/index.cjs477.js.map +1 -1
  67. package/dist/index.cjs478.js +1 -1
  68. package/dist/index.cjs478.js.map +1 -1
  69. package/dist/index.cjs479.js +2 -0
  70. package/dist/index.cjs479.js.map +1 -0
  71. package/dist/index.cjs480.js +2 -0
  72. package/dist/index.cjs480.js.map +1 -0
  73. package/dist/index.cjs481.js +2 -0
  74. package/dist/index.cjs481.js.map +1 -0
  75. package/dist/{index.cjs482.js → index.cjs487.js} +2 -2
  76. package/dist/{index.cjs482.js.map → index.cjs487.js.map} +1 -1
  77. package/dist/index.cjs488.js +2 -0
  78. package/dist/{index.cjs483.js.map → index.cjs488.js.map} +1 -1
  79. package/dist/{index.cjs484.js → index.cjs489.js} +1 -1
  80. package/dist/{index.cjs484.js.map → index.cjs489.js.map} +1 -1
  81. package/dist/{index.cjs485.js → index.cjs490.js} +1 -1
  82. package/dist/{index.cjs485.js.map → index.cjs490.js.map} +1 -1
  83. package/dist/{index.cjs501.js → index.cjs491.js} +1 -1
  84. package/dist/{index.cjs501.js.map → index.cjs491.js.map} +1 -1
  85. package/dist/{index.cjs502.js → index.cjs492.js} +2 -2
  86. package/dist/{index.cjs502.js.map → index.cjs492.js.map} +1 -1
  87. package/dist/{index.cjs503.js → index.cjs493.js} +1 -1
  88. package/dist/{index.cjs503.js.map → index.cjs493.js.map} +1 -1
  89. package/dist/{index.cjs504.js → index.cjs494.js} +2 -2
  90. package/dist/{index.cjs504.js.map → index.cjs494.js.map} +1 -1
  91. package/dist/{index.cjs505.js → index.cjs495.js} +2 -2
  92. package/dist/{index.cjs505.js.map → index.cjs495.js.map} +1 -1
  93. package/dist/{index.cjs506.js → index.cjs496.js} +1 -1
  94. package/dist/{index.cjs506.js.map → index.cjs496.js.map} +1 -1
  95. package/dist/index.cjs507.js +1 -1
  96. package/dist/index.cjs509.js +1 -1
  97. package/dist/index.cjs510.js +1 -1
  98. package/dist/index.cjs515.js +1 -1
  99. package/dist/index.cjs520.js +1 -1
  100. package/dist/index.cjs525.js +1 -1
  101. package/dist/index.cjs529.js +1 -1
  102. package/dist/index.cjs530.js +1 -1
  103. package/dist/index.cjs537.js +1 -1
  104. package/dist/index.cjs542.js +1 -1
  105. package/dist/index.cjs544.js +1 -1
  106. package/dist/index.cjs545.js +1 -1
  107. package/dist/index.cjs545.js.map +1 -1
  108. package/dist/index.cjs546.js +1 -1
  109. package/dist/index.cjs546.js.map +1 -1
  110. package/dist/index.cjs547.js +1 -1
  111. package/dist/index.cjs547.js.map +1 -1
  112. package/dist/index.cjs548.js +1 -1
  113. package/dist/index.cjs548.js.map +1 -1
  114. package/dist/index.cjs549.js +1 -1
  115. package/dist/index.cjs550.js +1 -1
  116. package/dist/index.cjs559.js +1 -1
  117. package/dist/index.cjs559.js.map +1 -1
  118. package/dist/index.cjs560.js +1 -1
  119. package/dist/index.cjs560.js.map +1 -1
  120. package/dist/index.cjs568.js +1 -1
  121. package/dist/index.cjs568.js.map +1 -1
  122. package/dist/index.cjs569.js +2 -0
  123. package/dist/index.cjs569.js.map +1 -0
  124. package/dist/index.cjs584.js +1 -1
  125. package/dist/index.cjs584.js.map +1 -1
  126. package/dist/index.cjs585.js +1 -1
  127. package/dist/index.cjs585.js.map +1 -1
  128. package/dist/index.cjs586.js +1 -1
  129. package/dist/index.cjs586.js.map +1 -1
  130. package/dist/index.cjs587.js +1 -1
  131. package/dist/index.cjs587.js.map +1 -1
  132. package/dist/index.d.ts +9 -2
  133. package/dist/index.es.js +141 -140
  134. package/dist/index.es134.js +29 -24
  135. package/dist/index.es134.js.map +1 -1
  136. package/dist/index.es153.js +36 -26
  137. package/dist/index.es153.js.map +1 -1
  138. package/dist/index.es218.js +71 -76
  139. package/dist/index.es218.js.map +1 -1
  140. package/dist/index.es219.js +1 -11
  141. package/dist/index.es219.js.map +1 -1
  142. package/dist/index.es223.js +58 -63
  143. package/dist/index.es223.js.map +1 -1
  144. package/dist/index.es232.js +26 -29
  145. package/dist/index.es232.js.map +1 -1
  146. package/dist/index.es236.js +15 -18
  147. package/dist/index.es236.js.map +1 -1
  148. package/dist/index.es254.js.map +1 -1
  149. package/dist/index.es255.js +2 -2
  150. package/dist/index.es256.js +18 -18
  151. package/dist/index.es256.js.map +1 -1
  152. package/dist/index.es257.js +21 -21
  153. package/dist/index.es257.js.map +1 -1
  154. package/dist/index.es285.js +7 -7
  155. package/dist/index.es290.js +1 -1
  156. package/dist/index.es298.js +5 -5
  157. package/dist/index.es315.js +13 -13
  158. package/dist/index.es32.js +1 -1
  159. package/dist/index.es322.js +1 -1
  160. package/dist/index.es327.js +1 -1
  161. package/dist/index.es33.js +1 -1
  162. package/dist/index.es338.js +1 -1
  163. package/dist/index.es346.js +5 -5
  164. package/dist/index.es387.js +4 -4
  165. package/dist/index.es393.js +1 -1
  166. package/dist/index.es427.js +1 -1
  167. package/dist/index.es447.js +307 -146
  168. package/dist/index.es447.js.map +1 -1
  169. package/dist/index.es453.js +11 -17
  170. package/dist/index.es453.js.map +1 -1
  171. package/dist/index.es454.js +29 -29
  172. package/dist/index.es454.js.map +1 -1
  173. package/dist/index.es455.js +20 -19
  174. package/dist/index.es455.js.map +1 -1
  175. package/dist/index.es457.js +7 -15
  176. package/dist/index.es457.js.map +1 -1
  177. package/dist/index.es458.js +30 -0
  178. package/dist/index.es458.js.map +1 -0
  179. package/dist/index.es459.js +71 -0
  180. package/dist/index.es459.js.map +1 -0
  181. package/dist/index.es460.js +29 -6
  182. package/dist/index.es460.js.map +1 -1
  183. package/dist/index.es461.js +32 -26
  184. package/dist/index.es461.js.map +1 -1
  185. package/dist/index.es462.js +617 -63
  186. package/dist/index.es462.js.map +1 -1
  187. package/dist/index.es463.js +10 -29
  188. package/dist/index.es463.js.map +1 -1
  189. package/dist/index.es464.js +15 -33
  190. package/dist/index.es464.js.map +1 -1
  191. package/dist/index.es468.js +1 -1
  192. package/dist/index.es469.js +2 -2
  193. package/dist/index.es475.js +122 -12
  194. package/dist/index.es475.js.map +1 -1
  195. package/dist/index.es476.js +134 -8
  196. package/dist/index.es476.js.map +1 -1
  197. package/dist/index.es477.js +14 -50
  198. package/dist/index.es477.js.map +1 -1
  199. package/dist/index.es478.js +13 -54
  200. package/dist/index.es478.js.map +1 -1
  201. package/dist/index.es479.js +12 -0
  202. package/dist/index.es479.js.map +1 -0
  203. package/dist/index.es480.js +53 -0
  204. package/dist/index.es480.js.map +1 -0
  205. package/dist/index.es481.js +59 -0
  206. package/dist/index.es481.js.map +1 -0
  207. package/dist/{index.es482.js → index.es487.js} +2 -2
  208. package/dist/{index.es482.js.map → index.es487.js.map} +1 -1
  209. package/dist/index.es488.js +187 -0
  210. package/dist/{index.es483.js.map → index.es488.js.map} +1 -1
  211. package/dist/{index.es484.js → index.es489.js} +1 -1
  212. package/dist/{index.es484.js.map → index.es489.js.map} +1 -1
  213. package/dist/{index.es485.js → index.es490.js} +1 -1
  214. package/dist/{index.es485.js.map → index.es490.js.map} +1 -1
  215. package/dist/{index.es501.js → index.es491.js} +1 -1
  216. package/dist/{index.es501.js.map → index.es491.js.map} +1 -1
  217. package/dist/{index.es502.js → index.es492.js} +4 -4
  218. package/dist/{index.es502.js.map → index.es492.js.map} +1 -1
  219. package/dist/{index.es503.js → index.es493.js} +1 -1
  220. package/dist/{index.es503.js.map → index.es493.js.map} +1 -1
  221. package/dist/{index.es504.js → index.es494.js} +6 -6
  222. package/dist/{index.es504.js.map → index.es494.js.map} +1 -1
  223. package/dist/{index.es505.js → index.es495.js} +10 -10
  224. package/dist/{index.es505.js.map → index.es495.js.map} +1 -1
  225. package/dist/{index.es506.js → index.es496.js} +1 -1
  226. package/dist/{index.es506.js.map → index.es496.js.map} +1 -1
  227. package/dist/index.es507.js +1 -1
  228. package/dist/index.es509.js +1 -1
  229. package/dist/index.es510.js +3 -3
  230. package/dist/index.es515.js +1 -1
  231. package/dist/index.es520.js +3 -3
  232. package/dist/index.es525.js +1 -1
  233. package/dist/index.es529.js +2 -2
  234. package/dist/index.es530.js +14 -14
  235. package/dist/index.es537.js +7 -7
  236. package/dist/index.es542.js +7 -7
  237. package/dist/index.es544.js +1 -1
  238. package/dist/index.es545.js +54 -512
  239. package/dist/index.es545.js.map +1 -1
  240. package/dist/index.es546.js +509 -113
  241. package/dist/index.es546.js.map +1 -1
  242. package/dist/index.es547.js +121 -123
  243. package/dist/index.es547.js.map +1 -1
  244. package/dist/index.es548.js +125 -61
  245. package/dist/index.es548.js.map +1 -1
  246. package/dist/index.es549.js +1 -1
  247. package/dist/index.es550.js +1 -1
  248. package/dist/index.es559.js +6 -16
  249. package/dist/index.es559.js.map +1 -1
  250. package/dist/index.es560.js +16 -6
  251. package/dist/index.es560.js.map +1 -1
  252. package/dist/index.es568.js +74 -2
  253. package/dist/index.es568.js.map +1 -1
  254. package/dist/index.es569.js +5 -0
  255. package/dist/index.es569.js.map +1 -0
  256. package/dist/index.es584.js +11 -21
  257. package/dist/index.es584.js.map +1 -1
  258. package/dist/index.es585.js +26 -11
  259. package/dist/index.es585.js.map +1 -1
  260. package/dist/index.es586.js +4 -27
  261. package/dist/index.es586.js.map +1 -1
  262. package/dist/index.es587.js +22 -4
  263. package/dist/index.es587.js.map +1 -1
  264. package/dist/sections/TableList/TableList.css +1 -1
  265. package/dist/styles/index.css +1 -1
  266. package/dist/styles/typography.css +1 -1
  267. package/package.json +1 -1
  268. package/dist/index.cjs465.js +0 -2
  269. package/dist/index.cjs465.js.map +0 -1
  270. package/dist/index.cjs466.js +0 -2
  271. package/dist/index.cjs466.js.map +0 -1
  272. package/dist/index.cjs472.js +0 -2
  273. package/dist/index.cjs472.js.map +0 -1
  274. package/dist/index.cjs473.js +0 -2
  275. package/dist/index.cjs473.js.map +0 -1
  276. package/dist/index.cjs474.js +0 -2
  277. package/dist/index.cjs474.js.map +0 -1
  278. package/dist/index.cjs483.js +0 -2
  279. package/dist/index.cjs567.js +0 -2
  280. package/dist/index.cjs567.js.map +0 -1
  281. package/dist/index.es465.js +0 -625
  282. package/dist/index.es465.js.map +0 -1
  283. package/dist/index.es466.js +0 -14
  284. package/dist/index.es466.js.map +0 -1
  285. package/dist/index.es472.js +0 -128
  286. package/dist/index.es472.js.map +0 -1
  287. package/dist/index.es473.js +0 -138
  288. package/dist/index.es473.js.map +0 -1
  289. package/dist/index.es474.js +0 -17
  290. package/dist/index.es474.js.map +0 -1
  291. package/dist/index.es483.js +0 -181
  292. package/dist/index.es567.js +0 -77
  293. package/dist/index.es567.js.map +0 -1
  294. /package/dist/components/ui/{CardMapDoctor/CardMapDoctor.css → CardMapDoctorV2/CardMapDoctorV2.css} +0 -0
  295. /package/dist/components/ui/{DoctorModal/DoctorModalFooter/DoctorModalFooter.css → ConsentModal/ConsentModalFooter/ConsentModalFooter.css} +0 -0
@@ -1,68 +1,132 @@
1
- import { __assign as d } from "./index.es511.js";
2
- function l(r) {
3
- return r;
4
- }
5
- function h(r, t) {
6
- t === void 0 && (t = l);
7
- var e = [], o = !1, c = {
8
- read: function() {
9
- if (o)
10
- throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");
11
- return e.length ? e[e.length - 1] : r;
12
- },
13
- useMedium: function(u) {
14
- var n = t(u, o);
15
- return e.push(n), function() {
16
- e = e.filter(function(i) {
17
- return i !== n;
18
- });
19
- };
20
- },
21
- assignSyncMedium: function(u) {
22
- for (o = !0; e.length; ) {
23
- var n = e;
24
- e = [], n.forEach(u);
25
- }
26
- e = {
27
- push: function(i) {
28
- return u(i);
29
- },
30
- filter: function() {
31
- return e;
32
- }
33
- };
34
- },
35
- assignMedium: function(u) {
36
- o = !0;
37
- var n = [];
38
- if (e.length) {
39
- var i = e;
40
- e = [], i.forEach(u), n = e;
41
- }
42
- var s = function() {
43
- var f = n;
44
- n = [], f.forEach(u);
45
- }, a = function() {
46
- return Promise.resolve().then(s);
47
- };
48
- a(), e = {
49
- push: function(f) {
50
- n.push(f), a();
51
- },
52
- filter: function(f) {
53
- return n = n.filter(f), e;
54
- }
55
- };
1
+ function c() {
2
+ return typeof window < "u";
3
+ }
4
+ function s(n) {
5
+ return p(n) ? (n.nodeName || "").toLowerCase() : "#document";
6
+ }
7
+ function i(n) {
8
+ var t;
9
+ return (n == null || (t = n.ownerDocument) == null ? void 0 : t.defaultView) || window;
10
+ }
11
+ function E(n) {
12
+ var t;
13
+ return (t = (p(n) ? n.ownerDocument : n.document) || window.document) == null ? void 0 : t.documentElement;
14
+ }
15
+ function p(n) {
16
+ return c() ? n instanceof Node || n instanceof i(n).Node : !1;
17
+ }
18
+ function m(n) {
19
+ return c() ? n instanceof Element || n instanceof i(n).Element : !1;
20
+ }
21
+ function w(n) {
22
+ return c() ? n instanceof HTMLElement || n instanceof i(n).HTMLElement : !1;
23
+ }
24
+ function a(n) {
25
+ return !c() || typeof ShadowRoot > "u" ? !1 : n instanceof ShadowRoot || n instanceof i(n).ShadowRoot;
26
+ }
27
+ function y(n) {
28
+ const {
29
+ overflow: t,
30
+ overflowX: e,
31
+ overflowY: o,
32
+ display: r
33
+ } = b(n);
34
+ return /auto|scroll|overlay|hidden|clip/.test(t + o + e) && !["inline", "contents"].includes(r);
35
+ }
36
+ function D(n) {
37
+ return ["table", "td", "th"].includes(s(n));
38
+ }
39
+ function N(n) {
40
+ return [":popover-open", ":modal"].some((t) => {
41
+ try {
42
+ return n.matches(t);
43
+ } catch {
44
+ return !1;
56
45
  }
46
+ });
47
+ }
48
+ function T(n) {
49
+ const t = L(), e = m(n) ? b(n) : n;
50
+ return ["transform", "translate", "scale", "rotate", "perspective"].some((o) => e[o] ? e[o] !== "none" : !1) || (e.containerType ? e.containerType !== "normal" : !1) || !t && (e.backdropFilter ? e.backdropFilter !== "none" : !1) || !t && (e.filter ? e.filter !== "none" : !1) || ["transform", "translate", "scale", "rotate", "perspective", "filter"].some((o) => (e.willChange || "").includes(o)) || ["paint", "layout", "strict", "content"].some((o) => (e.contain || "").includes(o));
51
+ }
52
+ function k(n) {
53
+ let t = u(n);
54
+ for (; w(t) && !g(t); ) {
55
+ if (T(t))
56
+ return t;
57
+ if (N(t))
58
+ return null;
59
+ t = u(t);
60
+ }
61
+ return null;
62
+ }
63
+ function L() {
64
+ return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
65
+ }
66
+ function g(n) {
67
+ return ["html", "body", "#document"].includes(s(n));
68
+ }
69
+ function b(n) {
70
+ return i(n).getComputedStyle(n);
71
+ }
72
+ function C(n) {
73
+ return m(n) ? {
74
+ scrollLeft: n.scrollLeft,
75
+ scrollTop: n.scrollTop
76
+ } : {
77
+ scrollLeft: n.scrollX,
78
+ scrollTop: n.scrollY
57
79
  };
58
- return c;
59
80
  }
60
- function v(r) {
61
- r === void 0 && (r = {});
62
- var t = h(null);
63
- return t.options = d({ async: !0, ssr: !1 }, r), t;
81
+ function u(n) {
82
+ if (s(n) === "html")
83
+ return n;
84
+ const t = (
85
+ // Step into the shadow DOM of the parent of a slotted node.
86
+ n.assignedSlot || // DOM Element detected.
87
+ n.parentNode || // ShadowRoot detected.
88
+ a(n) && n.host || // Fallback.
89
+ E(n)
90
+ );
91
+ return a(t) ? t.host : t;
92
+ }
93
+ function h(n) {
94
+ const t = u(n);
95
+ return g(t) ? n.ownerDocument ? n.ownerDocument.body : n.body : w(t) && y(t) ? t : h(t);
96
+ }
97
+ function d(n, t, e) {
98
+ var o;
99
+ t === void 0 && (t = []), e === void 0 && (e = !0);
100
+ const r = h(n), S = r === ((o = n.ownerDocument) == null ? void 0 : o.body), l = i(r);
101
+ if (S) {
102
+ const f = v(l);
103
+ return t.concat(l, l.visualViewport || [], y(r) ? r : [], f && e ? d(f) : []);
104
+ }
105
+ return t.concat(r, d(r, [], e));
106
+ }
107
+ function v(n) {
108
+ return n.parent && Object.getPrototypeOf(n.parent) ? n.frameElement : null;
64
109
  }
65
110
  export {
66
- v as createSidecarMedium
111
+ b as getComputedStyle,
112
+ k as getContainingBlock,
113
+ E as getDocumentElement,
114
+ v as getFrameElement,
115
+ h as getNearestOverflowAncestor,
116
+ s as getNodeName,
117
+ C as getNodeScroll,
118
+ d as getOverflowAncestors,
119
+ u as getParentNode,
120
+ i as getWindow,
121
+ T as isContainingBlock,
122
+ m as isElement,
123
+ w as isHTMLElement,
124
+ g as isLastTraversableNode,
125
+ p as isNode,
126
+ y as isOverflowElement,
127
+ a as isShadowRoot,
128
+ D as isTableElement,
129
+ N as isTopLayer,
130
+ L as isWebKit
67
131
  };
68
132
  //# sourceMappingURL=index.es548.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es548.js","sources":["../node_modules/use-sidecar/dist/es2015/medium.js"],"sourcesContent":["import { __assign } from \"tslib\";\nfunction ItoI(a) {\n return a;\n}\nfunction innerCreateMedium(defaults, middleware) {\n if (middleware === void 0) { middleware = ItoI; }\n var buffer = [];\n var assigned = false;\n var medium = {\n read: function () {\n if (assigned) {\n throw new Error('Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.');\n }\n if (buffer.length) {\n return buffer[buffer.length - 1];\n }\n return defaults;\n },\n useMedium: function (data) {\n var item = middleware(data, assigned);\n buffer.push(item);\n return function () {\n buffer = buffer.filter(function (x) { return x !== item; });\n };\n },\n assignSyncMedium: function (cb) {\n assigned = true;\n while (buffer.length) {\n var cbs = buffer;\n buffer = [];\n cbs.forEach(cb);\n }\n buffer = {\n push: function (x) { return cb(x); },\n filter: function () { return buffer; },\n };\n },\n assignMedium: function (cb) {\n assigned = true;\n var pendingQueue = [];\n if (buffer.length) {\n var cbs = buffer;\n buffer = [];\n cbs.forEach(cb);\n pendingQueue = buffer;\n }\n var executeQueue = function () {\n var cbs = pendingQueue;\n pendingQueue = [];\n cbs.forEach(cb);\n };\n var cycle = function () { return Promise.resolve().then(executeQueue); };\n cycle();\n buffer = {\n push: function (x) {\n pendingQueue.push(x);\n cycle();\n },\n filter: function (filter) {\n pendingQueue = pendingQueue.filter(filter);\n return buffer;\n },\n };\n },\n };\n return medium;\n}\nexport function createMedium(defaults, middleware) {\n if (middleware === void 0) { middleware = ItoI; }\n return innerCreateMedium(defaults, middleware);\n}\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport function createSidecarMedium(options) {\n if (options === void 0) { options = {}; }\n var medium = innerCreateMedium(null);\n medium.options = __assign({ async: true, ssr: false }, options);\n return medium;\n}\n"],"names":["ItoI","a","innerCreateMedium","defaults","middleware","buffer","assigned","medium","data","item","x","cb","cbs","pendingQueue","executeQueue","cycle","filter","createSidecarMedium","options","__assign"],"mappings":";AACA,SAASA,EAAKC,GAAG;AACb,SAAOA;AACX;AACA,SAASC,EAAkBC,GAAUC,GAAY;AAC7C,EAAIA,MAAe,WAAUA,IAAaJ;AAC1C,MAAIK,IAAS,CAAE,GACXC,IAAW,IACXC,IAAS;AAAA,IACT,MAAM,WAAY;AACd,UAAID;AACA,cAAM,IAAI,MAAM,kGAAkG;AAEtH,aAAID,EAAO,SACAA,EAAOA,EAAO,SAAS,CAAC,IAE5BF;AAAA,IACV;AAAA,IACD,WAAW,SA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IX,IAASL,EAAkB,IAAI;AACnC,SAAAK,EAAO,UAAUY,EAAS,EAAE,OAAO,IAAM,KAAK,GAAO,GAAED,CAAO,GACvDX;AACX;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es548.js","sources":["../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs"],"sourcesContent":["function hasWindow() {\n return typeof window !== 'undefined';\n}\nfunction getNodeName(node) {\n if (isNode(node)) {\n return (node.nodeName || '').toLowerCase();\n }\n // Mocked nodes in testing environments may not be instances of Node. By\n // returning `#document` an infinite loop won't occur.\n // https://github.com/floating-ui/floating-ui/issues/2317\n return '#document';\n}\nfunction getWindow(node) {\n var _node$ownerDocument;\n return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;\n}\nfunction getDocumentElement(node) {\n var _ref;\n return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;\n}\nfunction isNode(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Node || value instanceof getWindow(value).Node;\n}\nfunction isElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Element || value instanceof getWindow(value).Element;\n}\nfunction isHTMLElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;\n}\nfunction isShadowRoot(value) {\n if (!hasWindow() || typeof ShadowRoot === 'undefined') {\n return false;\n }\n return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;\n}\nfunction isOverflowElement(element) {\n const {\n overflow,\n overflowX,\n overflowY,\n display\n } = getComputedStyle(element);\n return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !['inline', 'contents'].includes(display);\n}\nfunction isTableElement(element) {\n return ['table', 'td', 'th'].includes(getNodeName(element));\n}\nfunction isTopLayer(element) {\n return [':popover-open', ':modal'].some(selector => {\n try {\n return element.matches(selector);\n } catch (e) {\n return false;\n }\n });\n}\nfunction isContainingBlock(elementOrCss) {\n const webkit = isWebKit();\n const css = isElement(elementOrCss) ? getComputedStyle(elementOrCss) : elementOrCss;\n\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n // https://drafts.csswg.org/css-transforms-2/#individual-transforms\n return ['transform', 'translate', 'scale', 'rotate', 'perspective'].some(value => css[value] ? css[value] !== 'none' : false) || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || ['transform', 'translate', 'scale', 'rotate', 'perspective', 'filter'].some(value => (css.willChange || '').includes(value)) || ['paint', 'layout', 'strict', 'content'].some(value => (css.contain || '').includes(value));\n}\nfunction getContainingBlock(element) {\n let currentNode = getParentNode(element);\n while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {\n if (isContainingBlock(currentNode)) {\n return currentNode;\n } else if (isTopLayer(currentNode)) {\n return null;\n }\n currentNode = getParentNode(currentNode);\n }\n return null;\n}\nfunction isWebKit() {\n if (typeof CSS === 'undefined' || !CSS.supports) return false;\n return CSS.supports('-webkit-backdrop-filter', 'none');\n}\nfunction isLastTraversableNode(node) {\n return ['html', 'body', '#document'].includes(getNodeName(node));\n}\nfunction getComputedStyle(element) {\n return getWindow(element).getComputedStyle(element);\n}\nfunction getNodeScroll(element) {\n if (isElement(element)) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop\n };\n }\n return {\n scrollLeft: element.scrollX,\n scrollTop: element.scrollY\n };\n}\nfunction getParentNode(node) {\n if (getNodeName(node) === 'html') {\n return node;\n }\n const result =\n // Step into the shadow DOM of the parent of a slotted node.\n node.assignedSlot ||\n // DOM Element detected.\n node.parentNode ||\n // ShadowRoot detected.\n isShadowRoot(node) && node.host ||\n // Fallback.\n getDocumentElement(node);\n return isShadowRoot(result) ? result.host : result;\n}\nfunction getNearestOverflowAncestor(node) {\n const parentNode = getParentNode(node);\n if (isLastTraversableNode(parentNode)) {\n return node.ownerDocument ? node.ownerDocument.body : node.body;\n }\n if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {\n return parentNode;\n }\n return getNearestOverflowAncestor(parentNode);\n}\nfunction getOverflowAncestors(node, list, traverseIframes) {\n var _node$ownerDocument2;\n if (list === void 0) {\n list = [];\n }\n if (traverseIframes === void 0) {\n traverseIframes = true;\n }\n const scrollableAncestor = getNearestOverflowAncestor(node);\n const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);\n const win = getWindow(scrollableAncestor);\n if (isBody) {\n const frameElement = getFrameElement(win);\n return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);\n }\n return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));\n}\nfunction getFrameElement(win) {\n return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;\n}\n\nexport { getComputedStyle, getContainingBlock, getDocumentElement, getFrameElement, getNearestOverflowAncestor, getNodeName, getNodeScroll, getOverflowAncestors, getParentNode, getWindow, isContainingBlock, isElement, isHTMLElement, isLastTraversableNode, isNode, isOverflowElement, isShadowRoot, isTableElement, isTopLayer, isWebKit };\n"],"names":["hasWindow","getNodeName","node","isNode","getWindow","_node$ownerDocument","getDocumentElement","_ref","value","isElement","isHTMLElement","isShadowRoot","isOverflowElement","element","overflow","overflowX","overflowY","display","getComputedStyle","isTableElement","isTopLayer","selector","isContainingBlock","elementOrCss","webkit","isWebKit","css","getContainingBlock","currentNode","getParentNode","isLastTraversableNode","getNodeScroll","result","getNearestOverflowAncestor","parentNode","getOverflowAncestors","list","traverseIframes","_node$ownerDocument2","scrollableAncestor","isBody","win","frameElement","getFrameElement"],"mappings":"AAAA,SAASA,IAAY;AACnB,SAAO,OAAO,SAAW;AAC3B;AACA,SAASC,EAAYC,GAAM;AACzB,SAAIC,E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AAA,GAAIF,CAAe,CAAC;AACtG;AACA,SAASM,EAAgBF,GAAK;AAC5B,SAAOA,EAAI,UAAU,OAAO,eAAeA,EAAI,MAAM,IAAIA,EAAI,eAAe;AAC9E;","x_google_ignoreList":[0]}
@@ -1,7 +1,7 @@
1
1
  import * as d from "react";
2
2
  import { styleSingleton as f } from "./index.es550.js";
3
3
  import { noScrollbarsClassName as p, zeroRightClassName as g, fullWidthClassName as l, removedBarSizeVariable as v } from "./index.es514.js";
4
- import { getGapWidth as m } from "./index.es584.js";
4
+ import { getGapWidth as m } from "./index.es587.js";
5
5
  var b = f(), e = "data-scroll-locked", h = function(n, a, o, t) {
6
6
  var r = n.left, i = n.top, s = n.right, c = n.gap;
7
7
  return o === void 0 && (o = "margin"), `
@@ -1,4 +1,4 @@
1
- import { styleHookSingleton as o } from "./index.es585.js";
1
+ import { styleHookSingleton as o } from "./index.es584.js";
2
2
  var s = function() {
3
3
  var e = o(), n = function(t) {
4
4
  var r = t.styles, l = t.dynamic;
@@ -1,19 +1,9 @@
1
- function s(e, r) {
2
- if (e !== void 0) return typeof e == "string" ? r(e) : Object.fromEntries(Object.entries(e).map(([n, t]) => [n, r(t)]));
3
- }
4
- function i(e) {
5
- switch (e) {
6
- case "1":
7
- return "1";
8
- case "2":
9
- case "3":
10
- return "2";
11
- case "4":
12
- return "3";
13
- }
14
- }
1
+ import { asChildPropDef as a } from "./index.es561.js";
2
+ import { accentColorPropDef as s } from "./index.es576.js";
3
+ import { highContrastPropDef as o } from "./index.es577.js";
4
+ import { radiusPropDef as e } from "./index.es570.js";
5
+ const r = ["1", "2", "3", "4"], t = ["classic", "solid", "soft", "surface", "outline", "ghost"], m = { ...a, size: { type: "enum", className: "rt-r-size", values: r, default: "2", responsive: !0 }, variant: { type: "enum", className: "rt-variant", values: t, default: "solid" }, ...s, ...o, ...e, loading: { type: "boolean", className: "rt-loading", default: !1 } };
15
6
  export {
16
- i as mapButtonSizeToSpinnerSize,
17
- s as mapResponsiveProp
7
+ m as baseButtonPropDefs
18
8
  };
19
9
  //# sourceMappingURL=index.es559.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es559.js","sources":["../node_modules/@radix-ui/themes/dist/esm/helpers/map-prop-values.js"],"sourcesContent":["function s(e,t){if(e!==void 0)return typeof e==\"string\"?t(e):Object.fromEntries(Object.entries(e).map(([n,o])=>[n,t(o)]))}function p(e){return e===\"3\"?\"3\":\"2\"}function r(e){switch(e){case\"1\":return\"1\";case\"2\":case\"3\":return\"2\";case\"4\":return\"3\"}}export{r as mapButtonSizeToSpinnerSize,p as mapCalloutSizeToTextSize,s as mapResponsiveProp};\n//# sourceMappingURL=map-prop-values.js.map\n"],"names":["t","o","r"],"mappings":"AAAA,SAAS,EAAE,GAAEA,GAAE;AAAC,MAAG,MAAI,OAAO,QAAO,OAAO,KAAG,WAASA,EAAE,CAAC,IAAE,OAAO,YAAY,OAAO,QAAQ,CAAC,EAAE,IAAI,CAAC,CAAC,GAAEC,CAAC,MAAI,CAAC,GAAED,EAAEC,CAAC,CAAC,CAAC,CAAC;AAAC;AAAsC,SAASC,EAAE,GAAE;AAAC,UAAO,GAAC;AAAA,IAAE,KAAI;AAAI,aAAM;AAAA,IAAI,KAAI;AAAA,IAAI,KAAI;AAAI,aAAM;AAAA,IAAI,KAAI;AAAI,aAAM;AAAA,EAAG;AAAC;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es559.js","sources":["../node_modules/@radix-ui/themes/dist/esm/components/_internal/base-button.props.js"],"sourcesContent":["import{asChildPropDef as o}from\"../../props/as-child.prop.js\";import{accentColorPropDef as e}from\"../../props/color.prop.js\";import{highContrastPropDef as s}from\"../../props/high-contrast.prop.js\";import{radiusPropDef as r}from\"../../props/radius.prop.js\";const t=[\"1\",\"2\",\"3\",\"4\"],a=[\"classic\",\"solid\",\"soft\",\"surface\",\"outline\",\"ghost\"],i={...o,size:{type:\"enum\",className:\"rt-r-size\",values:t,default:\"2\",responsive:!0},variant:{type:\"enum\",className:\"rt-variant\",values:a,default:\"solid\"},...e,...s,...r,loading:{type:\"boolean\",className:\"rt-loading\",default:!1}};export{i as baseButtonPropDefs};\n//# sourceMappingURL=base-button.props.js.map\n"],"names":["t","a","i","o","e","s","r"],"mappings":";;;;AAAqQ,MAACA,IAAE,CAAC,KAAI,KAAI,KAAI,GAAG,GAAEC,IAAE,CAAC,WAAU,SAAQ,QAAO,WAAU,WAAU,OAAO,GAAEC,IAAE,EAAC,GAAGC,GAAE,MAAK,EAAC,MAAK,QAAO,WAAU,aAAY,QAAOH,GAAE,SAAQ,KAAI,YAAW,GAAE,GAAE,SAAQ,EAAC,MAAK,QAAO,WAAU,cAAa,QAAOC,GAAE,SAAQ,QAAO,GAAE,GAAGG,GAAE,GAAGC,GAAE,GAAGC,GAAE,SAAQ,EAAC,MAAK,WAAU,WAAU,cAAa,SAAQ,GAAE,EAAC;","x_google_ignoreList":[0]}
@@ -1,9 +1,19 @@
1
- import { asChildPropDef as a } from "./index.es561.js";
2
- import { accentColorPropDef as s } from "./index.es576.js";
3
- import { highContrastPropDef as o } from "./index.es577.js";
4
- import { radiusPropDef as e } from "./index.es570.js";
5
- const r = ["1", "2", "3", "4"], t = ["classic", "solid", "soft", "surface", "outline", "ghost"], m = { ...a, size: { type: "enum", className: "rt-r-size", values: r, default: "2", responsive: !0 }, variant: { type: "enum", className: "rt-variant", values: t, default: "solid" }, ...s, ...o, ...e, loading: { type: "boolean", className: "rt-loading", default: !1 } };
1
+ function s(e, r) {
2
+ if (e !== void 0) return typeof e == "string" ? r(e) : Object.fromEntries(Object.entries(e).map(([n, t]) => [n, r(t)]));
3
+ }
4
+ function i(e) {
5
+ switch (e) {
6
+ case "1":
7
+ return "1";
8
+ case "2":
9
+ case "3":
10
+ return "2";
11
+ case "4":
12
+ return "3";
13
+ }
14
+ }
6
15
  export {
7
- m as baseButtonPropDefs
16
+ i as mapButtonSizeToSpinnerSize,
17
+ s as mapResponsiveProp
8
18
  };
9
19
  //# sourceMappingURL=index.es560.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es560.js","sources":["../node_modules/@radix-ui/themes/dist/esm/components/_internal/base-button.props.js"],"sourcesContent":["import{asChildPropDef as o}from\"../../props/as-child.prop.js\";import{accentColorPropDef as e}from\"../../props/color.prop.js\";import{highContrastPropDef as s}from\"../../props/high-contrast.prop.js\";import{radiusPropDef as r}from\"../../props/radius.prop.js\";const t=[\"1\",\"2\",\"3\",\"4\"],a=[\"classic\",\"solid\",\"soft\",\"surface\",\"outline\",\"ghost\"],i={...o,size:{type:\"enum\",className:\"rt-r-size\",values:t,default:\"2\",responsive:!0},variant:{type:\"enum\",className:\"rt-variant\",values:a,default:\"solid\"},...e,...s,...r,loading:{type:\"boolean\",className:\"rt-loading\",default:!1}};export{i as baseButtonPropDefs};\n//# sourceMappingURL=base-button.props.js.map\n"],"names":["t","a","i","o","e","s","r"],"mappings":";;;;AAAqQ,MAACA,IAAE,CAAC,KAAI,KAAI,KAAI,GAAG,GAAEC,IAAE,CAAC,WAAU,SAAQ,QAAO,WAAU,WAAU,OAAO,GAAEC,IAAE,EAAC,GAAGC,GAAE,MAAK,EAAC,MAAK,QAAO,WAAU,aAAY,QAAOH,GAAE,SAAQ,KAAI,YAAW,GAAE,GAAE,SAAQ,EAAC,MAAK,QAAO,WAAU,cAAa,QAAOC,GAAE,SAAQ,QAAO,GAAE,GAAGG,GAAE,GAAGC,GAAE,GAAGC,GAAE,SAAQ,EAAC,MAAK,WAAU,WAAU,cAAa,SAAQ,GAAE,EAAC;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es560.js","sources":["../node_modules/@radix-ui/themes/dist/esm/helpers/map-prop-values.js"],"sourcesContent":["function s(e,t){if(e!==void 0)return typeof e==\"string\"?t(e):Object.fromEntries(Object.entries(e).map(([n,o])=>[n,t(o)]))}function p(e){return e===\"3\"?\"3\":\"2\"}function r(e){switch(e){case\"1\":return\"1\";case\"2\":case\"3\":return\"2\";case\"4\":return\"3\"}}export{r as mapButtonSizeToSpinnerSize,p as mapCalloutSizeToTextSize,s as mapResponsiveProp};\n//# sourceMappingURL=map-prop-values.js.map\n"],"names":["t","o","r"],"mappings":"AAAA,SAAS,EAAE,GAAEA,GAAE;AAAC,MAAG,MAAI,OAAO,QAAO,OAAO,KAAG,WAASA,EAAE,CAAC,IAAE,OAAO,YAAY,OAAO,QAAQ,CAAC,EAAE,IAAI,CAAC,CAAC,GAAEC,CAAC,MAAI,CAAC,GAAED,EAAEC,CAAC,CAAC,CAAC,CAAC;AAAC;AAAsC,SAASC,EAAE,GAAE;AAAC,UAAO,GAAC;AAAA,IAAE,KAAI;AAAI,aAAM;AAAA,IAAI,KAAI;AAAA,IAAI,KAAI;AAAI,aAAM;AAAA,IAAI,KAAI;AAAI,aAAM;AAAA,EAAG;AAAC;","x_google_ignoreList":[0]}
@@ -1,5 +1,77 @@
1
- var e = { exports: {} };
1
+ import { commonjsGlobal as u } from "./index.es449.js";
2
+ import { __module as f } from "./index.es569.js";
3
+ var j = f.exports, E;
4
+ function S() {
5
+ return E ? f.exports : (E = 1, function(R, L) {
6
+ (function(v, i) {
7
+ i();
8
+ })(j, function() {
9
+ function v(e, t) {
10
+ return typeof t > "u" ? t = { autoBom: !1 } : typeof t != "object" && (console.warn("Deprecated: Expected third argument to be a object"), t = { autoBom: !t }), t.autoBom && /^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type) ? new Blob(["\uFEFF", e], { type: e.type }) : e;
11
+ }
12
+ function i(e, t, r) {
13
+ var n = new XMLHttpRequest();
14
+ n.open("GET", e), n.responseType = "blob", n.onload = function() {
15
+ l(n.response, t, r);
16
+ }, n.onerror = function() {
17
+ console.error("could not download file");
18
+ }, n.send();
19
+ }
20
+ function m(e) {
21
+ var t = new XMLHttpRequest();
22
+ t.open("HEAD", e, !1);
23
+ try {
24
+ t.send();
25
+ } catch {
26
+ }
27
+ return 200 <= t.status && 299 >= t.status;
28
+ }
29
+ function c(e) {
30
+ try {
31
+ e.dispatchEvent(new MouseEvent("click"));
32
+ } catch {
33
+ var t = document.createEvent("MouseEvents");
34
+ t.initMouseEvent("click", !0, !0, window, 0, 0, 0, 80, 20, !1, !1, !1, !1, 0, null), e.dispatchEvent(t);
35
+ }
36
+ }
37
+ var a = typeof window == "object" && window.window === window ? window : typeof self == "object" && self.self === self ? self : typeof u == "object" && u.global === u ? u : void 0, w = a.navigator && /Macintosh/.test(navigator.userAgent) && /AppleWebKit/.test(navigator.userAgent) && !/Safari/.test(navigator.userAgent), l = a.saveAs || (typeof window != "object" || window !== a ? function() {
38
+ } : "download" in HTMLAnchorElement.prototype && !w ? function(e, t, r) {
39
+ var n = a.URL || a.webkitURL, o = document.createElement("a");
40
+ t = t || e.name || "download", o.download = t, o.rel = "noopener", typeof e == "string" ? (o.href = e, o.origin === location.origin ? c(o) : m(o.href) ? i(e, t, r) : c(o, o.target = "_blank")) : (o.href = n.createObjectURL(e), setTimeout(function() {
41
+ n.revokeObjectURL(o.href);
42
+ }, 4e4), setTimeout(function() {
43
+ c(o);
44
+ }, 0));
45
+ } : "msSaveOrOpenBlob" in navigator ? function(e, t, r) {
46
+ if (t = t || e.name || "download", typeof e != "string") navigator.msSaveOrOpenBlob(v(e, r), t);
47
+ else if (m(e)) i(e, t, r);
48
+ else {
49
+ var n = document.createElement("a");
50
+ n.href = e, n.target = "_blank", setTimeout(function() {
51
+ c(n);
52
+ });
53
+ }
54
+ } : function(e, t, r, n) {
55
+ if (n = n || open("", "_blank"), n && (n.document.title = n.document.body.innerText = "downloading..."), typeof e == "string") return i(e, t, r);
56
+ var o = e.type === "application/octet-stream", b = /constructor/i.test(a.HTMLElement) || a.safari, y = /CriOS\/[\d]+/.test(navigator.userAgent);
57
+ if ((y || o && b || w) && typeof FileReader < "u") {
58
+ var d = new FileReader();
59
+ d.onloadend = function() {
60
+ var s = d.result;
61
+ s = y ? s : s.replace(/^data:[^;]*;/, "data:attachment/file;"), n ? n.location.href = s : location = s, n = null;
62
+ }, d.readAsDataURL(e);
63
+ } else {
64
+ var h = a.URL || a.webkitURL, p = h.createObjectURL(e);
65
+ n ? n.location = p : location.href = p, n = null, setTimeout(function() {
66
+ h.revokeObjectURL(p);
67
+ }, 4e4);
68
+ }
69
+ });
70
+ a.saveAs = l.saveAs = l, R.exports = l;
71
+ });
72
+ }(f), f.exports);
73
+ }
2
74
  export {
3
- e as __module
75
+ S as __require
4
76
  };
5
77
  //# sourceMappingURL=index.es568.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es568.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
1
+ {"version":3,"file":"index.es568.js","sources":["../node_modules/file-saver/dist/FileSaver.min.js"],"sourcesContent":["(function(a,b){if(\"function\"==typeof define&&define.amd)define([],b);else if(\"undefined\"!=typeof exports)b();else{b(),a.FileSaver={exports:{}}.exports}})(this,function(){\"use strict\";function b(a,b){return\"undefined\"==typeof b?b={autoBom:!1}:\"object\"!=typeof b&&(console.warn(\"Deprecated: Expected third argument to be a object\"),b={autoBom:!b}),b.autoBom&&/^\\s*(?:text\\/\\S*|application\\/xml|\\S*\\/\\S*\\+xml)\\s*;.*charset\\s*=\\s*utf-8/i.test(a.type)?new Blob([\"\\uFEFF\",a],{type:a.type}):a}function c(a,b,c){var d=new XMLHttpRequest;d.open(\"GET\",a),d.responseType=\"blob\",d.onload=function(){g(d.response,b,c)},d.onerror=function(){console.error(\"could not download file\")},d.send()}function d(a){var b=new XMLHttpRequest;b.open(\"HEAD\",a,!1);try{b.send()}catch(a){}return 200<=b.status&&299>=b.status}function e(a){try{a.dispatchEvent(new MouseEvent(\"click\"))}catch(c){var b=document.createEvent(\"MouseEvents\");b.initMouseEvent(\"click\",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),a.dispatchEvent(b)}}var f=\"object\"==typeof window&&window.window===window?window:\"object\"==typeof self&&self.self===self?self:\"object\"==typeof global&&global.global===global?global:void 0,a=f.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),g=f.saveAs||(\"object\"!=typeof window||window!==f?function(){}:\"download\"in HTMLAnchorElement.prototype&&!a?function(b,g,h){var i=f.URL||f.webkitURL,j=document.createElement(\"a\");g=g||b.name||\"download\",j.download=g,j.rel=\"noopener\",\"string\"==typeof b?(j.href=b,j.origin===location.origin?e(j):d(j.href)?c(b,g,h):e(j,j.target=\"_blank\")):(j.href=i.createObjectURL(b),setTimeout(function(){i.revokeObjectURL(j.href)},4E4),setTimeout(function(){e(j)},0))}:\"msSaveOrOpenBlob\"in navigator?function(f,g,h){if(g=g||f.name||\"download\",\"string\"!=typeof f)navigator.msSaveOrOpenBlob(b(f,h),g);else if(d(f))c(f,g,h);else{var i=document.createElement(\"a\");i.href=f,i.target=\"_blank\",setTimeout(function(){e(i)})}}:function(b,d,e,g){if(g=g||open(\"\",\"_blank\"),g&&(g.document.title=g.document.body.innerText=\"downloading...\"),\"string\"==typeof b)return c(b,d,e);var h=\"application/octet-stream\"===b.type,i=/constructor/i.test(f.HTMLElement)||f.safari,j=/CriOS\\/[\\d]+/.test(navigator.userAgent);if((j||h&&i||a)&&\"undefined\"!=typeof FileReader){var k=new FileReader;k.onloadend=function(){var a=k.result;a=j?a:a.replace(/^data:[^;]*;/,\"data:attachment/file;\"),g?g.location.href=a:location=a,g=null},k.readAsDataURL(b)}else{var l=f.URL||f.webkitURL,m=l.createObjectURL(b);g?g.location=m:location.href=m,g=null,setTimeout(function(){l.revokeObjectURL(m)},4E4)}});f.saveAs=g.saveAs=g,\"undefined\"!=typeof module&&(module.exports=g)});\n\n//# sourceMappingURL=FileSaver.min.js.map"],"names":["a","b","this","c","d","g","e","f","global","h","i","j","k","l","m","module"],"mappings":";;;;;AAAA,KAAC,SAASA,GAAEC,GAAE;AAA2F,MAAAA,EAAC;AAAA,IAA6C,GAAGC,GAAK,WAAU;AAAc,eAASD,EAAED,GAAEC,GAAE;AAAC,eAAmB,OAAOA,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AA,QAAC;AAAA,MAAC,IAAE,SAAST,GAAEG,GAAEE,GAAED,GAAE;AAAC,YAAGA,IAAEA,KAAG,KAAK,IAAG,QAAQ,GAAEA,MAAIA,EAAE,SAAS,QAAMA,EAAE,SAAS,KAAK,YAAU,mBAA4B,OAAOJ,KAAjB,SAAmB,QAAOE,EAAEF,GAAEG,GAAEE,CAAC;AAAE,YAAIG,IAA+BR,EAAE,SAA/B,4BAAoCS,IAAE,eAAe,KAAKH,EAAE,WAAW,KAAGA,EAAE,QAAOI,IAAE,eAAe,KAAK,UAAU,SAAS;AAAE,aAAIA,KAAGF,KAAGC,KAAGV,MAAiB,OAAO,aAApB,KAA+B;AAAC,cAAIY,IAAE,IAAI;AAAW,UAAAA,EAAE,YAAU,WAAU;AAAC,gBAAIZ,IAAEY,EAAE;AAAO,YAAAZ,IAAEW,IAAEX,IAAEA,EAAE,QAAQ,gBAAe,uBAAuB,GAAEK,IAAEA,EAAE,SAAS,OAAKL,IAAE,WAASA,GAAEK,IAAE;AAAA,UAAI,GAAEO,EAAE,cAAcX,CAAC;AAAA,QAAC,OAAK;AAAC,cAAIY,IAAEN,EAAE,OAAKA,EAAE,WAAUO,IAAED,EAAE,gBAAgBZ,CAAC;AAAE,UAAAI,IAAEA,EAAE,WAASS,IAAE,SAAS,OAAKA,GAAET,IAAE,MAAK,WAAW,WAAU;AAAC,YAAAQ,EAAE,gBAAgBC,CAAC;AAAA,UAAC,GAAE,GAAG;AAAA,QAAC;AAAA,MAAC;AAAG,MAAAP,EAAE,SAAOF,EAAE,SAAOA,GAA+BU,EAAe,UAAAV;AAAA,IAAE,CAAC;AAAA;;","x_google_ignoreList":[0]}
@@ -0,0 +1,5 @@
1
+ var e = { exports: {} };
2
+ export {
3
+ e as __module
4
+ };
5
+ //# sourceMappingURL=index.es569.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es569.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,26 +1,16 @@
1
- var a = {
2
- left: 0,
3
- top: 0,
4
- right: 0,
5
- gap: 0
6
- }, e = function(t) {
7
- return parseInt(t || "", 10) || 0;
8
- }, o = function(t) {
9
- var n = window.getComputedStyle(document.body), i = n[t === "padding" ? "paddingLeft" : "marginLeft"], r = n[t === "padding" ? "paddingTop" : "marginTop"], d = n[t === "padding" ? "paddingRight" : "marginRight"];
10
- return [e(i), e(r), e(d)];
11
- }, f = function(t) {
12
- if (t === void 0 && (t = "margin"), typeof window > "u")
13
- return a;
14
- var n = o(t), i = document.documentElement.clientWidth, r = window.innerWidth;
15
- return {
16
- left: n[0],
17
- top: n[1],
18
- right: n[2],
19
- gap: Math.max(0, r - i + n[2] - n[0])
1
+ import * as o from "react";
2
+ import { stylesheetSingleton as r } from "./index.es585.js";
3
+ var i = function() {
4
+ var t = r();
5
+ return function(e, n) {
6
+ o.useEffect(function() {
7
+ return t.add(e), function() {
8
+ t.remove();
9
+ };
10
+ }, [e && n]);
20
11
  };
21
12
  };
22
13
  export {
23
- f as getGapWidth,
24
- a as zeroGap
14
+ i as styleHookSingleton
25
15
  };
26
16
  //# sourceMappingURL=index.es584.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es584.js","sources":["../node_modules/react-remove-scroll-bar/dist/es2015/utils.js"],"sourcesContent":["export var zeroGap = {\n left: 0,\n top: 0,\n right: 0,\n gap: 0,\n};\nvar parse = function (x) { return parseInt(x || '', 10) || 0; };\nvar getOffset = function (gapMode) {\n var cs = window.getComputedStyle(document.body);\n var left = cs[gapMode === 'padding' ? 'paddingLeft' : 'marginLeft'];\n var top = cs[gapMode === 'padding' ? 'paddingTop' : 'marginTop'];\n var right = cs[gapMode === 'padding' ? 'paddingRight' : 'marginRight'];\n return [parse(left), parse(top), parse(right)];\n};\nexport var getGapWidth = function (gapMode) {\n if (gapMode === void 0) { gapMode = 'margin'; }\n if (typeof window === 'undefined') {\n return zeroGap;\n }\n var offsets = getOffset(gapMode);\n var documentWidth = document.documentElement.clientWidth;\n var windowWidth = window.innerWidth;\n return {\n left: offsets[0],\n top: offsets[1],\n right: offsets[2],\n gap: Math.max(0, windowWidth - documentWidth + offsets[2] - offsets[0]),\n };\n};\n"],"names":["zeroGap","parse","x","getOffset","gapMode","cs","left","top","right","getGapWidth","offsets","documentWidth","windowWidth"],"mappings":"AAAU,IAACA,IAAU;AAAA,EACjB,MAAM;AAAA,EACN,KAAK;AAAA,EACL,OAAO;AAAA,EACP,KAAK;AACT,GACIC,IAAQ,SAAUC,GAAG;AAAE,SAAO,SAASA,KAAK,IAAI,EAAE,KAAK;AAAI,GAC3DC,IAAY,SAAUC,GAAS;AAC/B,MAAIC,IAAK,OAAO,iBAAiB,SAAS,IAAI,GAC1CC,IAAOD,EAAGD,MAAY,YAAY,gBAAgB,YAAY,GAC9DG,IAAMF,EAAGD,MAAY,YAAY,eAAe,WAAW,GAC3DI,IAAQH,EAAGD,MAAY,YAAY,iBAAiB,aAAa;AACrE,SAAO,CAACH,EAAMK,CAAI,GAAGL,EAAMM,CAAG,GAAGN,EAAMO,CAAK,CAAC;AACjD,GACWC,IAAc,SAAUL,GAAS;AAExC,MADIA,MAAY,WAAUA,IAAU,WAChC,OAAO,SAAW;AAClB,WAAOJ;AAEX,MAAIU,IAAUP,EAAUC,CAAO,GAC3BO,IAAgB,SAAS,gBAAgB,aACzCC,IAAc,OAAO;AACzB,SAAO;AAAA,IACH,MAAMF,EAAQ,CAAC;AAAA,IACf,KAAKA,EAAQ,CAAC;AAAA,IACd,OAAOA,EAAQ,CAAC;AAAA,IAChB,KAAK,KAAK,IAAI,GAAGE,IAAcD,IAAgBD,EAAQ,CAAC,IAAIA,EAAQ,CAAC,CAAC;AAAA,EACzE;AACL;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es584.js","sources":["../node_modules/react-style-singleton/dist/es2015/hook.js"],"sourcesContent":["import * as React from 'react';\nimport { stylesheetSingleton } from './singleton';\n/**\n * creates a hook to control style singleton\n * @see {@link styleSingleton} for a safer component version\n * @example\n * ```tsx\n * const useStyle = styleHookSingleton();\n * ///\n * useStyle('body { overflow: hidden}');\n */\nexport var styleHookSingleton = function () {\n var sheet = stylesheetSingleton();\n return function (styles, isDynamic) {\n React.useEffect(function () {\n sheet.add(styles);\n return function () {\n sheet.remove();\n };\n }, [styles && isDynamic]);\n };\n};\n"],"names":["styleHookSingleton","sheet","stylesheetSingleton","styles","isDynamic","React"],"mappings":";;AAWU,IAACA,IAAqB,WAAY;AACxC,MAAIC,IAAQC,EAAqB;AACjC,SAAO,SAAUC,GAAQC,GAAW;AAChC,IAAAC,EAAM,UAAU,WAAY;AACxB,aAAAJ,EAAM,IAAIE,CAAM,GACT,WAAY;AACf,QAAAF,EAAM,OAAQ;AAAA,MACjB;AAAA,IACb,GAAW,CAACE,KAAUC,CAAS,CAAC;AAAA,EAC3B;AACL;","x_google_ignoreList":[0]}
@@ -1,16 +1,31 @@
1
- import * as o from "react";
2
- import { stylesheetSingleton as r } from "./index.es586.js";
3
- var i = function() {
4
- var t = r();
5
- return function(e, n) {
6
- o.useEffect(function() {
7
- return t.add(e), function() {
8
- t.remove();
9
- };
10
- }, [e && n]);
1
+ import { getNonce as o } from "./index.es586.js";
2
+ function r() {
3
+ if (!document)
4
+ return null;
5
+ var t = document.createElement("style");
6
+ t.type = "text/css";
7
+ var e = o();
8
+ return e && t.setAttribute("nonce", e), t;
9
+ }
10
+ function l(t, e) {
11
+ t.styleSheet ? t.styleSheet.cssText = e : t.appendChild(document.createTextNode(e));
12
+ }
13
+ function a(t) {
14
+ var e = document.head || document.getElementsByTagName("head")[0];
15
+ e.appendChild(t);
16
+ }
17
+ var c = function() {
18
+ var t = 0, e = null;
19
+ return {
20
+ add: function(n) {
21
+ t == 0 && (e = r()) && (l(e, n), a(e)), t++;
22
+ },
23
+ remove: function() {
24
+ t--, !t && e && (e.parentNode && e.parentNode.removeChild(e), e = null);
25
+ }
11
26
  };
12
27
  };
13
28
  export {
14
- i as styleHookSingleton
29
+ c as stylesheetSingleton
15
30
  };
16
31
  //# sourceMappingURL=index.es585.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es585.js","sources":["../node_modules/react-style-singleton/dist/es2015/hook.js"],"sourcesContent":["import * as React from 'react';\nimport { stylesheetSingleton } from './singleton';\n/**\n * creates a hook to control style singleton\n * @see {@link styleSingleton} for a safer component version\n * @example\n * ```tsx\n * const useStyle = styleHookSingleton();\n * ///\n * useStyle('body { overflow: hidden}');\n */\nexport var styleHookSingleton = function () {\n var sheet = stylesheetSingleton();\n return function (styles, isDynamic) {\n React.useEffect(function () {\n sheet.add(styles);\n return function () {\n sheet.remove();\n };\n }, [styles && isDynamic]);\n };\n};\n"],"names":["styleHookSingleton","sheet","stylesheetSingleton","styles","isDynamic","React"],"mappings":";;AAWU,IAACA,IAAqB,WAAY;AACxC,MAAIC,IAAQC,EAAqB;AACjC,SAAO,SAAUC,GAAQC,GAAW;AAChC,IAAAC,EAAM,UAAU,WAAY;AACxB,aAAAJ,EAAM,IAAIE,CAAM,GACT,WAAY;AACf,QAAAF,EAAM,OAAQ;AAAA,MACjB;AAAA,IACb,GAAW,CAACE,KAAUC,CAAS,CAAC;AAAA,EAC3B;AACL;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es585.js","sources":["../node_modules/react-style-singleton/dist/es2015/singleton.js"],"sourcesContent":["import { getNonce } from 'get-nonce';\nfunction makeStyleTag() {\n if (!document)\n return null;\n var tag = document.createElement('style');\n tag.type = 'text/css';\n var nonce = getNonce();\n if (nonce) {\n tag.setAttribute('nonce', nonce);\n }\n return tag;\n}\nfunction injectStyles(tag, css) {\n // @ts-ignore\n if (tag.styleSheet) {\n // @ts-ignore\n tag.styleSheet.cssText = css;\n }\n else {\n tag.appendChild(document.createTextNode(css));\n }\n}\nfunction insertStyleTag(tag) {\n var head = document.head || document.getElementsByTagName('head')[0];\n head.appendChild(tag);\n}\nexport var stylesheetSingleton = function () {\n var counter = 0;\n var stylesheet = null;\n return {\n add: function (style) {\n if (counter == 0) {\n if ((stylesheet = makeStyleTag())) {\n injectStyles(stylesheet, style);\n insertStyleTag(stylesheet);\n }\n }\n counter++;\n },\n remove: function () {\n counter--;\n if (!counter && stylesheet) {\n stylesheet.parentNode && stylesheet.parentNode.removeChild(stylesheet);\n stylesheet = null;\n }\n },\n };\n};\n"],"names":["makeStyleTag","tag","nonce","getNonce","injectStyles","css","insertStyleTag","head","stylesheetSingleton","counter","stylesheet","style"],"mappings":";AACA,SAASA,IAAe;AACpB,MAAI,CAAC;AACD,WAAO;AACX,MAAIC,IAAM,SAAS,cAAc,OAAO;AACxC,EAAAA,EAAI,OAAO;AACX,MAAIC,IAAQC,EAAU;AACtB,SAAID,KACAD,EAAI,aAAa,SAASC,CAAK,GAE5BD;AACX;AACA,SAASG,EAAaH,GAAKI,GAAK;AAE5B,EAAIJ,EAAI,aAEJA,EAAI,WAAW,UAAUI,IAGzBJ,EAAI,YAAY,SAAS,eAAeI,CAAG,CAAC;AAEpD;AACA,SAASC,EAAeL,GAAK;AACzB,MAAIM,IAAO,SAAS,QAAQ,SAAS,qBAAqB,MAAM,EAAE,CAAC;AACnE,EAAAA,EAAK,YAAYN,CAAG;AACxB;AACU,IAACO,IAAsB,WAAY;AACzC,MAAIC,IAAU,GACVC,IAAa;AACjB,SAAO;AAAA,IACH,KAAK,SAAUC,GAAO;AAClB,MAAIF,KAAW,MACNC,IAAaV,SACdI,EAAaM,GAAYC,CAAK,GAC9BL,EAAeI,CAAU,IAGjCD;AAAA,IACH;AAAA,IACD,QAAQ,WAAY;AAChB,MAAAA,KACI,CAACA,KAAWC,MACZA,EAAW,cAAcA,EAAW,WAAW,YAAYA,CAAU,GACrEA,IAAa;AAAA,IAEpB;AAAA,EACJ;AACL;","x_google_ignoreList":[0]}
@@ -1,31 +1,8 @@
1
- import { getNonce as o } from "./index.es587.js";
2
- function r() {
3
- if (!document)
4
- return null;
5
- var t = document.createElement("style");
6
- t.type = "text/css";
7
- var e = o();
8
- return e && t.setAttribute("nonce", e), t;
9
- }
10
- function l(t, e) {
11
- t.styleSheet ? t.styleSheet.cssText = e : t.appendChild(document.createTextNode(e));
12
- }
13
- function a(t) {
14
- var e = document.head || document.getElementsByTagName("head")[0];
15
- e.appendChild(t);
16
- }
17
- var c = function() {
18
- var t = 0, e = null;
19
- return {
20
- add: function(n) {
21
- t == 0 && (e = r()) && (l(e, n), a(e)), t++;
22
- },
23
- remove: function() {
24
- t--, !t && e && (e.parentNode && e.parentNode.removeChild(e), e = null);
25
- }
26
- };
1
+ var e = function() {
2
+ if (typeof __webpack_nonce__ < "u")
3
+ return __webpack_nonce__;
27
4
  };
28
5
  export {
29
- c as stylesheetSingleton
6
+ e as getNonce
30
7
  };
31
8
  //# sourceMappingURL=index.es586.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es586.js","sources":["../node_modules/react-style-singleton/dist/es2015/singleton.js"],"sourcesContent":["import { getNonce } from 'get-nonce';\nfunction makeStyleTag() {\n if (!document)\n return null;\n var tag = document.createElement('style');\n tag.type = 'text/css';\n var nonce = getNonce();\n if (nonce) {\n tag.setAttribute('nonce', nonce);\n }\n return tag;\n}\nfunction injectStyles(tag, css) {\n // @ts-ignore\n if (tag.styleSheet) {\n // @ts-ignore\n tag.styleSheet.cssText = css;\n }\n else {\n tag.appendChild(document.createTextNode(css));\n }\n}\nfunction insertStyleTag(tag) {\n var head = document.head || document.getElementsByTagName('head')[0];\n head.appendChild(tag);\n}\nexport var stylesheetSingleton = function () {\n var counter = 0;\n var stylesheet = null;\n return {\n add: function (style) {\n if (counter == 0) {\n if ((stylesheet = makeStyleTag())) {\n injectStyles(stylesheet, style);\n insertStyleTag(stylesheet);\n }\n }\n counter++;\n },\n remove: function () {\n counter--;\n if (!counter && stylesheet) {\n stylesheet.parentNode && stylesheet.parentNode.removeChild(stylesheet);\n stylesheet = null;\n }\n },\n };\n};\n"],"names":["makeStyleTag","tag","nonce","getNonce","injectStyles","css","insertStyleTag","head","stylesheetSingleton","counter","stylesheet","style"],"mappings":";AACA,SAASA,IAAe;AACpB,MAAI,CAAC;AACD,WAAO;AACX,MAAIC,IAAM,SAAS,cAAc,OAAO;AACxC,EAAAA,EAAI,OAAO;AACX,MAAIC,IAAQC,EAAU;AACtB,SAAID,KACAD,EAAI,aAAa,SAASC,CAAK,GAE5BD;AACX;AACA,SAASG,EAAaH,GAAKI,GAAK;AAE5B,EAAIJ,EAAI,aAEJA,EAAI,WAAW,UAAUI,IAGzBJ,EAAI,YAAY,SAAS,eAAeI,CAAG,CAAC;AAEpD;AACA,SAASC,EAAeL,GAAK;AACzB,MAAIM,IAAO,SAAS,QAAQ,SAAS,qBAAqB,MAAM,EAAE,CAAC;AACnE,EAAAA,EAAK,YAAYN,CAAG;AACxB;AACU,IAACO,IAAsB,WAAY;AACzC,MAAIC,IAAU,GACVC,IAAa;AACjB,SAAO;AAAA,IACH,KAAK,SAAUC,GAAO;AAClB,MAAIF,KAAW,MACNC,IAAaV,SACdI,EAAaM,GAAYC,CAAK,GAC9BL,EAAeI,CAAU,IAGjCD;AAAA,IACH;AAAA,IACD,QAAQ,WAAY;AAChB,MAAAA,KACI,CAACA,KAAWC,MACZA,EAAW,cAAcA,EAAW,WAAW,YAAYA,CAAU,GACrEA,IAAa;AAAA,IAEpB;AAAA,EACJ;AACL;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es586.js","sources":["../node_modules/get-nonce/dist/es2015/index.js"],"sourcesContent":["var currentNonce;\nexport var setNonce = function (nonce) {\n currentNonce = nonce;\n};\nexport var getNonce = function () {\n if (currentNonce) {\n return currentNonce;\n }\n if (typeof __webpack_nonce__ !== 'undefined') {\n return __webpack_nonce__;\n }\n return undefined;\n};\n"],"names":["getNonce"],"mappings":"AAIU,IAACA,IAAW,WAAY;AAI9B,MAAI,OAAO,oBAAsB;AAC7B,WAAO;AAGf;","x_google_ignoreList":[0]}