@streamlayer/react 1.24.5 → 1.24.6

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 (103) hide show
  1. package/lib/cjs/Question.js +1 -1
  2. package/lib/cjs/advertisement.js +26 -26
  3. package/lib/cjs/bet-pack.js +1 -1
  4. package/lib/cjs/feature.js +1 -1
  5. package/lib/cjs/{index-DvqmgCor.js → index-CfSdnrfA.js} +1 -1
  6. package/lib/cjs/index10.js +1 -1
  7. package/lib/cjs/index11.js +1 -1
  8. package/lib/cjs/index12.js +1 -1
  9. package/lib/cjs/index13.js +4 -1
  10. package/lib/cjs/index14.js +1 -4
  11. package/lib/cjs/index15.js +1 -1
  12. package/lib/cjs/index16.js +2 -2
  13. package/lib/cjs/index2.js +1 -1
  14. package/lib/cjs/index4.js +3 -3
  15. package/lib/cjs/index6.js +1 -1
  16. package/lib/cjs/index7.js +1 -1
  17. package/lib/cjs/index9.js +2 -2
  18. package/lib/cjs/insight.js +1 -1
  19. package/lib/cjs/masters2.js +3 -3
  20. package/lib/cjs/notification.js +1 -1
  21. package/lib/cjs/pause-ad.js +1 -1
  22. package/lib/cjs/points.js +1 -1
  23. package/lib/cjs/polymarket.js +1 -1
  24. package/lib/cjs/storage.js +1 -1
  25. package/lib/cjs/useStreamLayerApp2.js +13 -13
  26. package/lib/classic/cjs/Question.js +1 -1
  27. package/lib/classic/cjs/advertisement.js +26 -26
  28. package/lib/classic/cjs/bet-pack.js +3 -3
  29. package/lib/classic/cjs/feature.js +1 -1
  30. package/lib/classic/cjs/{index-DvqmgCor.js → index-CfSdnrfA.js} +1 -1
  31. package/lib/classic/cjs/index10.js +1 -1
  32. package/lib/classic/cjs/index11.js +1 -1
  33. package/lib/classic/cjs/index12.js +1 -1
  34. package/lib/classic/cjs/index13.js +1 -1
  35. package/lib/classic/cjs/index2.js +2 -2
  36. package/lib/classic/cjs/index5.js +1 -1
  37. package/lib/classic/cjs/index7.js +2 -2
  38. package/lib/classic/cjs/index8.js +1 -1
  39. package/lib/classic/cjs/index9.js +1 -1
  40. package/lib/classic/cjs/insight.js +1 -1
  41. package/lib/classic/cjs/notification2.js +1 -1
  42. package/lib/classic/cjs/pause-ad.js +1 -1
  43. package/lib/classic/cjs/points.js +1 -1
  44. package/lib/classic/cjs/polymarket.js +1 -1
  45. package/lib/classic/cjs/useStreamLayerApp2.js +13 -13
  46. package/lib/classic/es/Question.js +313 -198
  47. package/lib/classic/es/advertisement.js +1988 -1955
  48. package/lib/classic/es/bet-pack.js +12 -13
  49. package/lib/classic/es/feature.js +188 -37
  50. package/lib/{es/index-DvqmgCor.js → classic/es/index-CfSdnrfA.js} +1 -1
  51. package/lib/classic/es/index10.js +309 -2580
  52. package/lib/classic/es/index11.js +2580 -305
  53. package/lib/classic/es/index12.js +12 -12
  54. package/lib/classic/es/index13.js +2 -2
  55. package/lib/classic/es/index2.js +129 -121
  56. package/lib/classic/es/index5.js +0 -1
  57. package/lib/classic/es/index7.js +2 -2
  58. package/lib/classic/es/index8.js +1 -1
  59. package/lib/classic/es/index9.js +1 -1
  60. package/lib/classic/es/insight.js +1 -1
  61. package/lib/classic/es/notification2.js +137 -138
  62. package/lib/classic/es/pause-ad.js +124 -149
  63. package/lib/classic/es/points.js +3 -4
  64. package/lib/classic/es/polymarket.js +1 -1
  65. package/lib/classic/es/useStreamLayerApp2.js +2931 -2877
  66. package/lib/classic/source.css +1 -1
  67. package/lib/dist/cjs/{index-DvqmgCor.js → index-CfSdnrfA.js} +1 -1
  68. package/lib/dist/cjs/masters.js +31 -31
  69. package/lib/dist/es/{index-DvqmgCor.js → index-CfSdnrfA.js} +1 -1
  70. package/lib/dist/es/masters.js +7957 -7774
  71. package/lib/dist/index.d.ts +2 -0
  72. package/lib/es/Question.js +66 -65
  73. package/lib/es/advertisement.js +1988 -1955
  74. package/lib/es/bet-pack.js +1 -1
  75. package/lib/es/feature.js +188 -37
  76. package/lib/{classic/es/index-DvqmgCor.js → es/index-CfSdnrfA.js} +1 -1
  77. package/lib/es/index10.js +1 -1
  78. package/lib/es/index11.js +12 -12
  79. package/lib/es/index12.js +366 -2579
  80. package/lib/es/index13.js +789 -234
  81. package/lib/es/index14.js +293 -792
  82. package/lib/es/index15.js +2580 -305
  83. package/lib/es/index16.js +41 -42
  84. package/lib/es/index2.js +279 -271
  85. package/lib/es/index4.js +15 -16
  86. package/lib/es/index6.js +0 -1
  87. package/lib/es/index7.js +1 -1
  88. package/lib/es/index9.js +2 -2
  89. package/lib/es/insight.js +1 -1
  90. package/lib/es/masters2.js +194 -183
  91. package/lib/es/notification.js +22 -23
  92. package/lib/es/pause-ad.js +124 -149
  93. package/lib/es/points.js +20 -21
  94. package/lib/es/polymarket.js +1 -1
  95. package/lib/es/storage.js +1 -1
  96. package/lib/es/useStreamLayerApp2.js +2931 -2877
  97. package/lib/source.css +1 -1
  98. package/lib/style.css +1 -1
  99. package/package.json +72 -53
  100. package/lib/cjs/sl-types.js +0 -1
  101. package/lib/classic/cjs/sl-types.js +0 -1
  102. package/lib/classic/es/sl-types.js +0 -156
  103. package/lib/es/sl-types.js +0 -156
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamlayer/react",
3
- "version": "1.24.5",
3
+ "version": "1.24.6",
4
4
  "author": "StreamLayer, Inc (https://streamlayer.io)",
5
5
  "maintainers": [
6
6
  {
@@ -12,103 +12,122 @@
12
12
  "types": "./lib/index.d.ts",
13
13
  "exports": {
14
14
  "./classic": {
15
+ "types": "./lib/classic/index.d.ts",
16
+ "import": "./lib/classic/es/index.js",
15
17
  "module": "./lib/classic/es/index.js",
16
- "require": "./lib/classic/cjs/index.js",
17
- "types": "./lib/classic/index.d.ts"
18
+ "default": "./lib/classic/cjs/index.js"
18
19
  },
19
20
  "./classic/auth": {
21
+ "types": "./lib/classic/app/auth.d.ts",
22
+ "import": "./lib/classic/es/auth.js",
20
23
  "module": "./lib/classic/es/auth.js",
21
- "require": "./lib/classic/cjs/auth.js",
22
- "types": "./lib/classic/app/auth.d.ts"
24
+ "default": "./lib/classic/cjs/auth.js"
23
25
  },
24
26
  "./classic/pause-ad": {
27
+ "types": "./lib/classic/app/pause-ad.d.ts",
28
+ "import": "./lib/classic/es/pause-ad.js",
25
29
  "module": "./lib/classic/es/pause-ad.js",
26
- "require": "./lib/classic/cjs/pause-ad.js",
27
- "types": "./lib/classic/app/pause-ad.d.ts"
30
+ "default": "./lib/classic/cjs/pause-ad.js"
28
31
  },
29
32
  "./classic/points": {
33
+ "types": "./lib/classic/app/points.d.ts",
34
+ "import": "./lib/classic/es/points.js",
30
35
  "module": "./lib/classic/es/points.js",
31
- "require": "./lib/classic/cjs/points.js",
32
- "types": "./lib/classic/app/points.d.ts"
36
+ "default": "./lib/classic/cjs/points.js"
33
37
  },
34
38
  "./classic/polymarket": {
39
+ "types": "./lib/classic/app/polymarket.d.ts",
40
+ "import": "./lib/classic/es/polymarket.js",
35
41
  "module": "./lib/classic/es/polymarket.js",
36
- "require": "./lib/classic/cjs/polymarket.js",
37
- "types": "./lib/classic/app/polymarket.d.ts"
42
+ "default": "./lib/classic/cjs/polymarket.js"
38
43
  },
39
44
  "./classic/advertisement": {
45
+ "types": "./lib/classic/app/advertisement.d.ts",
46
+ "import": "./lib/classic/es/advertisement.js",
40
47
  "module": "./lib/classic/es/advertisement.js",
41
- "require": "./lib/classic/cjs/advertisement.js",
42
- "types": "./lib/classic/app/advertisement.d.ts"
48
+ "default": "./lib/classic/cjs/advertisement.js"
43
49
  },
44
50
  "./classic/insight": {
51
+ "types": "./lib/classic/app/insight.d.ts",
52
+ "import": "./lib/classic/es/insight.js",
45
53
  "module": "./lib/classic/es/insight.js",
46
- "require": "./lib/classic/cjs/insight.js",
47
- "types": "./lib/classic/app/insight.d.ts"
54
+ "default": "./lib/classic/cjs/insight.js"
48
55
  },
49
56
  "./classic/notification": {
57
+ "types": "./lib/classic/app/notification.d.ts",
58
+ "import": "./lib/classic/es/notification.js",
50
59
  "module": "./lib/classic/es/notification.js",
51
- "require": "./lib/classic/cjs/notification.js",
52
- "types": "./lib/classic/app/notification.d.ts"
60
+ "default": "./lib/classic/cjs/notification.js"
53
61
  },
54
62
  "./classic/useStreamLayerApp": {
63
+ "types": "./lib/classic/app/useStreamLayerApp.d.ts",
64
+ "import": "./lib/classic/es/useStreamLayerApp.js",
55
65
  "module": "./lib/classic/es/useStreamLayerApp.js",
56
- "require": "./lib/classic/cjs/useStreamLayerApp.js",
57
- "types": "./lib/classic/app/useStreamLayerApp.d.ts"
66
+ "default": "./lib/classic/cjs/useStreamLayerApp.js"
58
67
  },
59
68
  ".": {
69
+ "types": "./lib/index.d.ts",
70
+ "import": "./lib/es/index.js",
60
71
  "module": "./lib/es/index.js",
61
- "require": "./lib/cjs/index.js",
62
- "types": "./lib/index.d.ts"
72
+ "default": "./lib/cjs/index.js"
63
73
  },
64
74
  "./masters": {
75
+ "types": "./lib/masters.d.ts",
76
+ "import": "./lib/dist/es/index.js",
65
77
  "module": "./lib/dist/es/index.js",
66
- "require": "./lib/dist/cjs/index.js",
67
- "types": "./lib/masters.d.ts"
78
+ "default": "./lib/dist/cjs/index.js"
68
79
  },
69
80
  "./auth": {
81
+ "types": "./lib/app/auth.d.ts",
82
+ "import": "./lib/es/auth.js",
70
83
  "module": "./lib/es/auth.js",
71
- "require": "./lib/cjs/auth.js",
72
- "types": "./lib/app/auth.d.ts"
84
+ "default": "./lib/cjs/auth.js"
73
85
  },
74
86
  "./pause-ad": {
87
+ "types": "./lib/app/pause-ad.d.ts",
88
+ "import": "./lib/es/pause-ad.js",
75
89
  "module": "./lib/es/pause-ad.js",
76
- "require": "./lib/cjs/pause-ad.js",
77
- "types": "./lib/app/pause-ad.d.ts"
90
+ "default": "./lib/cjs/pause-ad.js"
78
91
  },
79
92
  "./points": {
93
+ "types": "./lib/app/points.d.ts",
94
+ "import": "./lib/es/points.js",
80
95
  "module": "./lib/es/points.js",
81
- "require": "./lib/cjs/points.js",
82
- "types": "./lib/app/points.d.ts"
96
+ "default": "./lib/cjs/points.js"
83
97
  },
84
98
  "./polymarket": {
99
+ "types": "./lib/app/polymarket.d.ts",
100
+ "import": "./lib/es/polymarket.js",
85
101
  "module": "./lib/es/polymarket.js",
86
- "require": "./lib/cjs/polymarket.js",
87
- "types": "./lib/app/polymarket.d.ts"
102
+ "default": "./lib/cjs/polymarket.js"
88
103
  },
89
104
  "./advertisement": {
105
+ "types": "./lib/app/advertisement.d.ts",
106
+ "import": "./lib/es/advertisement.js",
90
107
  "module": "./lib/es/advertisement.js",
91
- "require": "./lib/cjs/advertisement.js",
92
- "types": "./lib/app/advertisement.d.ts"
108
+ "default": "./lib/cjs/advertisement.js"
93
109
  },
94
110
  "./insight": {
111
+ "types": "./lib/app/insight.d.ts",
112
+ "import": "./lib/es/insight.js",
95
113
  "module": "./lib/es/insight.js",
96
- "require": "./lib/cjs/insight.js",
97
- "types": "./lib/app/insight.d.ts"
114
+ "default": "./lib/cjs/insight.js"
98
115
  },
99
116
  "./notification": {
117
+ "types": "./lib/app/notification.d.ts",
118
+ "import": "./lib/es/notification.js",
100
119
  "module": "./lib/es/notification.js",
101
- "require": "./lib/cjs/notification.js",
102
- "types": "./lib/app/notification.d.ts"
120
+ "default": "./lib/cjs/notification.js"
103
121
  },
104
122
  "./useStreamLayerApp": {
123
+ "types": "./lib/app/useStreamLayerApp.d.ts",
124
+ "import": "./lib/es/useStreamLayerApp.js",
105
125
  "module": "./lib/es/useStreamLayerApp.js",
106
- "require": "./lib/cjs/useStreamLayerApp.js",
107
- "types": "./lib/app/useStreamLayerApp.d.ts"
126
+ "default": "./lib/cjs/useStreamLayerApp.js"
108
127
  },
109
128
  "./style.css": {
110
129
  "import": "./lib/style.css",
111
- "require": "./lib/style.css"
130
+ "default": "./lib/style.css"
112
131
  }
113
132
  },
114
133
  "files": [
@@ -146,19 +165,19 @@
146
165
  "@streamlayer/sl-eslib": "^5.229.1",
147
166
  "@connectrpc/connect": "^2.0.0",
148
167
  "@connectrpc/connect-web": "^2.0.0",
149
- "@streamlayer/feature-gamification": "^1.25.5",
150
- "@streamlayer/react-polyfills": "^0.2.13",
151
- "@streamlayer/sdk-web": "^1.18.5",
152
- "@streamlayer/sdk-web-analytics": "^1.16.5",
153
- "@streamlayer/sdk-web-api": "^1.16.5",
154
- "@streamlayer/sdk-web-core": "^1.21.5",
155
- "@streamlayer/sdk-web-features": "^1.0.107",
156
- "@streamlayer/sdk-web-interfaces": "^1.9.13",
157
- "@streamlayer/sdk-web-logger": "^1.0.107",
158
- "@streamlayer/sdk-web-notifications": "^1.3.69",
159
- "@streamlayer/sdk-web-storage": "^1.0.107",
160
- "@streamlayer/sdk-web-types": "^1.17.5",
161
- "@streamlayer/react-ui": "^1.36.5"
168
+ "@streamlayer/feature-gamification": "^1.26.0",
169
+ "@streamlayer/react-polyfills": "^0.2.14",
170
+ "@streamlayer/sdk-web": "^1.18.6",
171
+ "@streamlayer/sdk-web-analytics": "^1.16.6",
172
+ "@streamlayer/sdk-web-api": "^1.16.6",
173
+ "@streamlayer/sdk-web-core": "^1.21.6",
174
+ "@streamlayer/sdk-web-features": "^1.0.108",
175
+ "@streamlayer/sdk-web-interfaces": "^1.9.14",
176
+ "@streamlayer/sdk-web-logger": "^1.0.108",
177
+ "@streamlayer/sdk-web-notifications": "^1.3.70",
178
+ "@streamlayer/sdk-web-storage": "^1.0.108",
179
+ "@streamlayer/sdk-web-types": "^1.17.6",
180
+ "@streamlayer/react-ui": "^1.37.0"
162
181
  },
163
182
  "peerDependencies": {
164
183
  "@fastify/deepmerge": "^2.0.0",
@@ -1 +0,0 @@
1
- "use strict";const p=require("react"),C=require("nanostores");var P=function(){const r=Array.prototype.slice.call(arguments).filter(Boolean),t={},a=[];r.forEach(n=>{(n?n.split(" "):[]).forEach(c=>{if(c.startsWith("atm_")){const[,m]=c.split("_");t[m]=c}else a.push(c)})});const s=[];for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&s.push(t[n]);return s.push(...a),s.join(" ")},E=P;function I(e){var r=Object.create(null);return function(t){return r[t]===void 0&&(r[t]=e(t)),r[t]}}var U=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,S=I(function(e){return U.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),L=e=>e.toUpperCase()===e,_=e=>r=>e.indexOf(r)===-1,A=(e,r)=>{const t={};return Object.keys(e).filter(_(r)).forEach(a=>{t[a]=e[a]}),t};function N(e,r,t){const a=A(r,t);if(!e){const s=typeof S=="function"?{default:S}:S;Object.keys(a).forEach(n=>{s.default(n)||delete a[n]})}return a}var D=(e,r)=>{};function M(e){let r="";return t=>{const a=(n,d)=>{const{as:c=e,class:m=r}=n,g=t.propsAsIs===void 0?!(typeof c=="string"&&c.indexOf("-")===-1&&!L(c[0])):t.propsAsIs,u=N(g,n,["as","class"]);u.ref=d,u.className=t.atomic?E(t.class,u.className||m):E(u.className||m,t.class);const{vars:i}=t;if(i){const o={};for(const l in i){const y=i[l],v=y[0],T=y[1]||"",w=typeof v=="function"?v(n):v;D(w,t.name),o[`--${l}`]=`${w}${T}`}const f=u.style||{},h=Object.keys(f);h.length>0&&h.forEach(l=>{o[l]=f[l]}),u.style=o}return e.__wyw_meta&&e!==c?(u.as=c,p.createElement(e,u)):p.createElement(c,u)},s=p.forwardRef?p.forwardRef(a):(n=>{const d=A(n,["innerRef"]);return a(d,n.innerRef)});return s.displayName=t.name,s.__wyw_meta={className:t.class||r,extends:e},s}}var q=M,x={exports:{}},k={};var O;function H(){if(O)return k;O=1;var e=p;function r(i,o){return i===o&&(i!==0||1/i===1/o)||i!==i&&o!==o}var t=typeof Object.is=="function"?Object.is:r,a=e.useState,s=e.useEffect,n=e.useLayoutEffect,d=e.useDebugValue;function c(i,o){var f=o(),h=a({inst:{value:f,getSnapshot:o}}),l=h[0].inst,y=h[1];return n(function(){l.value=f,l.getSnapshot=o,m(l)&&y({inst:l})},[i,f,o]),s(function(){return m(l)&&y({inst:l}),i(function(){m(l)&&y({inst:l})})},[i]),d(f),f}function m(i){var o=i.getSnapshot;i=i.value;try{var f=o();return!t(i,f)}catch{return!0}}function g(i,o){return o()}var u=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?g:c;return k.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:u,k}var R;function z(){return R||(R=1,x.exports=H()),x.exports}var V=z();const b=(e,r)=>t=>{e.current!==t&&(e.current=t,r())};function j(e,{keys:r,deps:t=[e,r]}={}){const a=p.useRef();a.current=e.get();const s=p.useCallback(d=>(b(a,d)(e.value),r?.length>0?C.listenKeys(e,r,b(a,d)):e.listen(b(a,d))),t),n=()=>a.current;return p.useSyncExternalStore?p.useSyncExternalStore(s,n,n):V.useSyncExternalStore(s,n,n)}const B=j,F=()=>[!1,e=>{window.requestAnimationFrame(()=>e())}],W=p.useTransition||F;exports.NotificationType=void 0;(function(e){e[e.ONBOARDING=1]="ONBOARDING",e[e.QUESTION=2]="QUESTION",e[e.QUESTION_RESOLVED=3]="QUESTION_RESOLVED"})(exports.NotificationType||(exports.NotificationType={}));exports.cx_default=E;exports.styled_default=q;exports.useStore=B;exports.useTransition=W;
@@ -1 +0,0 @@
1
- "use strict";const p=require("react"),C=require("nanostores");var P=function(){const r=Array.prototype.slice.call(arguments).filter(Boolean),t={},a=[];r.forEach(n=>{(n?n.split(" "):[]).forEach(c=>{if(c.startsWith("atm_")){const[,m]=c.split("_");t[m]=c}else a.push(c)})});const s=[];for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&s.push(t[n]);return s.push(...a),s.join(" ")},E=P;function I(e){var r=Object.create(null);return function(t){return r[t]===void 0&&(r[t]=e(t)),r[t]}}var U=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,S=I(function(e){return U.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),L=e=>e.toUpperCase()===e,_=e=>r=>e.indexOf(r)===-1,A=(e,r)=>{const t={};return Object.keys(e).filter(_(r)).forEach(a=>{t[a]=e[a]}),t};function N(e,r,t){const a=A(r,t);if(!e){const s=typeof S=="function"?{default:S}:S;Object.keys(a).forEach(n=>{s.default(n)||delete a[n]})}return a}var D=(e,r)=>{};function M(e){let r="";return t=>{const a=(n,d)=>{const{as:c=e,class:m=r}=n,g=t.propsAsIs===void 0?!(typeof c=="string"&&c.indexOf("-")===-1&&!L(c[0])):t.propsAsIs,u=N(g,n,["as","class"]);u.ref=d,u.className=t.atomic?E(t.class,u.className||m):E(u.className||m,t.class);const{vars:i}=t;if(i){const o={};for(const l in i){const y=i[l],v=y[0],T=y[1]||"",w=typeof v=="function"?v(n):v;D(w,t.name),o[`--${l}`]=`${w}${T}`}const f=u.style||{},h=Object.keys(f);h.length>0&&h.forEach(l=>{o[l]=f[l]}),u.style=o}return e.__wyw_meta&&e!==c?(u.as=c,p.createElement(e,u)):p.createElement(c,u)},s=p.forwardRef?p.forwardRef(a):(n=>{const d=A(n,["innerRef"]);return a(d,n.innerRef)});return s.displayName=t.name,s.__wyw_meta={className:t.class||r,extends:e},s}}var q=M,x={exports:{}},k={};var O;function H(){if(O)return k;O=1;var e=p;function r(i,o){return i===o&&(i!==0||1/i===1/o)||i!==i&&o!==o}var t=typeof Object.is=="function"?Object.is:r,a=e.useState,s=e.useEffect,n=e.useLayoutEffect,d=e.useDebugValue;function c(i,o){var f=o(),h=a({inst:{value:f,getSnapshot:o}}),l=h[0].inst,y=h[1];return n(function(){l.value=f,l.getSnapshot=o,m(l)&&y({inst:l})},[i,f,o]),s(function(){return m(l)&&y({inst:l}),i(function(){m(l)&&y({inst:l})})},[i]),d(f),f}function m(i){var o=i.getSnapshot;i=i.value;try{var f=o();return!t(i,f)}catch{return!0}}function g(i,o){return o()}var u=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?g:c;return k.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:u,k}var R;function z(){return R||(R=1,x.exports=H()),x.exports}var V=z();const b=(e,r)=>t=>{e.current!==t&&(e.current=t,r())};function j(e,{keys:r,deps:t=[e,r]}={}){const a=p.useRef();a.current=e.get();const s=p.useCallback(d=>(b(a,d)(e.value),r?.length>0?C.listenKeys(e,r,b(a,d)):e.listen(b(a,d))),t),n=()=>a.current;return p.useSyncExternalStore?p.useSyncExternalStore(s,n,n):V.useSyncExternalStore(s,n,n)}const B=j,F=()=>[!1,e=>{window.requestAnimationFrame(()=>e())}],W=p.useTransition||F;exports.NotificationType=void 0;(function(e){e[e.ONBOARDING=1]="ONBOARDING",e[e.QUESTION=2]="QUESTION",e[e.QUESTION_RESOLVED=3]="QUESTION_RESOLVED"})(exports.NotificationType||(exports.NotificationType={}));exports.cx_default=E;exports.styled_default=q;exports.useStore=B;exports.useTransition=W;
@@ -1,156 +0,0 @@
1
- import y, { forwardRef as w, createElement as O } from "react";
2
- import { listenKeys as U } from "nanostores";
3
- var L = function() {
4
- const r = Array.prototype.slice.call(arguments).filter(Boolean), t = {}, a = [];
5
- r.forEach((n) => {
6
- (n ? n.split(" ") : []).forEach((c) => {
7
- if (c.startsWith("atm_")) {
8
- const [, p] = c.split("_");
9
- t[p] = c;
10
- } else
11
- a.push(c);
12
- });
13
- });
14
- const s = [];
15
- for (const n in t)
16
- Object.prototype.hasOwnProperty.call(t, n) && s.push(t[n]);
17
- return s.push(...a), s.join(" ");
18
- }, R = L;
19
- function _(e) {
20
- var r = /* @__PURE__ */ Object.create(null);
21
- return function(t) {
22
- return r[t] === void 0 && (r[t] = e(t)), r[t];
23
- };
24
- }
25
- var N = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, S = /* @__PURE__ */ _(
26
- function(e) {
27
- return N.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
28
- }
29
- /* Z+1 */
30
- ), D = (e) => e.toUpperCase() === e, M = (e) => (r) => e.indexOf(r) === -1, P = (e, r) => {
31
- const t = {};
32
- return Object.keys(e).filter(M(r)).forEach((a) => {
33
- t[a] = e[a];
34
- }), t;
35
- };
36
- function H(e, r, t) {
37
- const a = P(r, t);
38
- if (!e) {
39
- const s = typeof S == "function" ? { default: S } : S;
40
- Object.keys(a).forEach((n) => {
41
- s.default(n) || delete a[n];
42
- });
43
- }
44
- return a;
45
- }
46
- var q = (e, r) => {
47
- };
48
- function z(e) {
49
- let r = "";
50
- return (t) => {
51
- const a = (n, d) => {
52
- const { as: c = e, class: p = r } = n, g = t.propsAsIs === void 0 ? !(typeof c == "string" && c.indexOf("-") === -1 && !D(c[0])) : t.propsAsIs, u = H(g, n, [
53
- "as",
54
- "class"
55
- ]);
56
- u.ref = d, u.className = t.atomic ? R(t.class, u.className || p) : R(u.className || p, t.class);
57
- const { vars: i } = t;
58
- if (i) {
59
- const o = {};
60
- for (const l in i) {
61
- const h = i[l], v = h[0], I = h[1] || "", E = typeof v == "function" ? v(n) : v;
62
- q(E, t.name), o[`--${l}`] = `${E}${I}`;
63
- }
64
- const f = u.style || {}, m = Object.keys(f);
65
- m.length > 0 && m.forEach((l) => {
66
- o[l] = f[l];
67
- }), u.style = o;
68
- }
69
- return e.__wyw_meta && e !== c ? (u.as = c, O(e, u)) : O(c, u);
70
- }, s = w ? w(a) : (
71
- // React.forwardRef won't available on older React versions and in Preact
72
- // Fallback to a innerRef prop in that case
73
- ((n) => {
74
- const d = P(n, ["innerRef"]);
75
- return a(d, n.innerRef);
76
- })
77
- );
78
- return s.displayName = t.name, s.__wyw_meta = {
79
- className: t.class || r,
80
- extends: e
81
- }, s;
82
- };
83
- }
84
- var G = z, x = { exports: {} }, k = {};
85
- var A;
86
- function V() {
87
- if (A) return k;
88
- A = 1;
89
- var e = y;
90
- function r(i, o) {
91
- return i === o && (i !== 0 || 1 / i === 1 / o) || i !== i && o !== o;
92
- }
93
- var t = typeof Object.is == "function" ? Object.is : r, a = e.useState, s = e.useEffect, n = e.useLayoutEffect, d = e.useDebugValue;
94
- function c(i, o) {
95
- var f = o(), m = a({ inst: { value: f, getSnapshot: o } }), l = m[0].inst, h = m[1];
96
- return n(
97
- function() {
98
- l.value = f, l.getSnapshot = o, p(l) && h({ inst: l });
99
- },
100
- [i, f, o]
101
- ), s(
102
- function() {
103
- return p(l) && h({ inst: l }), i(function() {
104
- p(l) && h({ inst: l });
105
- });
106
- },
107
- [i]
108
- ), d(f), f;
109
- }
110
- function p(i) {
111
- var o = i.getSnapshot;
112
- i = i.value;
113
- try {
114
- var f = o();
115
- return !t(i, f);
116
- } catch {
117
- return !0;
118
- }
119
- }
120
- function g(i, o) {
121
- return o();
122
- }
123
- var u = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? g : c;
124
- return k.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : u, k;
125
- }
126
- var C;
127
- function j() {
128
- return C || (C = 1, x.exports = V()), x.exports;
129
- }
130
- var B = j();
131
- const b = (e, r) => (t) => {
132
- e.current !== t && (e.current = t, r());
133
- };
134
- function F(e, { keys: r, deps: t = [e, r] } = {}) {
135
- const a = y.useRef();
136
- a.current = e.get();
137
- const s = y.useCallback((d) => (b(a, d)(e.value), r?.length > 0 ? U(e, r, b(a, d)) : e.listen(b(a, d))), t), n = () => a.current;
138
- return y.useSyncExternalStore ? y.useSyncExternalStore(s, n, n) : B.useSyncExternalStore(s, n, n);
139
- }
140
- const K = F, W = () => [
141
- !1,
142
- (e) => {
143
- window.requestAnimationFrame(() => e());
144
- }
145
- ], Y = y.useTransition || W;
146
- var T;
147
- (function(e) {
148
- e[e.ONBOARDING = 1] = "ONBOARDING", e[e.QUESTION = 2] = "QUESTION", e[e.QUESTION_RESOLVED = 3] = "QUESTION_RESOLVED";
149
- })(T || (T = {}));
150
- export {
151
- T as N,
152
- Y as a,
153
- R as c,
154
- G as s,
155
- K as u
156
- };
@@ -1,156 +0,0 @@
1
- import y, { forwardRef as w, createElement as O } from "react";
2
- import { listenKeys as U } from "nanostores";
3
- var L = function() {
4
- const r = Array.prototype.slice.call(arguments).filter(Boolean), t = {}, a = [];
5
- r.forEach((n) => {
6
- (n ? n.split(" ") : []).forEach((c) => {
7
- if (c.startsWith("atm_")) {
8
- const [, p] = c.split("_");
9
- t[p] = c;
10
- } else
11
- a.push(c);
12
- });
13
- });
14
- const s = [];
15
- for (const n in t)
16
- Object.prototype.hasOwnProperty.call(t, n) && s.push(t[n]);
17
- return s.push(...a), s.join(" ");
18
- }, R = L;
19
- function _(e) {
20
- var r = /* @__PURE__ */ Object.create(null);
21
- return function(t) {
22
- return r[t] === void 0 && (r[t] = e(t)), r[t];
23
- };
24
- }
25
- var N = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, S = /* @__PURE__ */ _(
26
- function(e) {
27
- return N.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
28
- }
29
- /* Z+1 */
30
- ), D = (e) => e.toUpperCase() === e, M = (e) => (r) => e.indexOf(r) === -1, P = (e, r) => {
31
- const t = {};
32
- return Object.keys(e).filter(M(r)).forEach((a) => {
33
- t[a] = e[a];
34
- }), t;
35
- };
36
- function H(e, r, t) {
37
- const a = P(r, t);
38
- if (!e) {
39
- const s = typeof S == "function" ? { default: S } : S;
40
- Object.keys(a).forEach((n) => {
41
- s.default(n) || delete a[n];
42
- });
43
- }
44
- return a;
45
- }
46
- var q = (e, r) => {
47
- };
48
- function z(e) {
49
- let r = "";
50
- return (t) => {
51
- const a = (n, d) => {
52
- const { as: c = e, class: p = r } = n, g = t.propsAsIs === void 0 ? !(typeof c == "string" && c.indexOf("-") === -1 && !D(c[0])) : t.propsAsIs, u = H(g, n, [
53
- "as",
54
- "class"
55
- ]);
56
- u.ref = d, u.className = t.atomic ? R(t.class, u.className || p) : R(u.className || p, t.class);
57
- const { vars: i } = t;
58
- if (i) {
59
- const o = {};
60
- for (const l in i) {
61
- const h = i[l], v = h[0], I = h[1] || "", E = typeof v == "function" ? v(n) : v;
62
- q(E, t.name), o[`--${l}`] = `${E}${I}`;
63
- }
64
- const f = u.style || {}, m = Object.keys(f);
65
- m.length > 0 && m.forEach((l) => {
66
- o[l] = f[l];
67
- }), u.style = o;
68
- }
69
- return e.__wyw_meta && e !== c ? (u.as = c, O(e, u)) : O(c, u);
70
- }, s = w ? w(a) : (
71
- // React.forwardRef won't available on older React versions and in Preact
72
- // Fallback to a innerRef prop in that case
73
- ((n) => {
74
- const d = P(n, ["innerRef"]);
75
- return a(d, n.innerRef);
76
- })
77
- );
78
- return s.displayName = t.name, s.__wyw_meta = {
79
- className: t.class || r,
80
- extends: e
81
- }, s;
82
- };
83
- }
84
- var G = z, x = { exports: {} }, k = {};
85
- var A;
86
- function V() {
87
- if (A) return k;
88
- A = 1;
89
- var e = y;
90
- function r(i, o) {
91
- return i === o && (i !== 0 || 1 / i === 1 / o) || i !== i && o !== o;
92
- }
93
- var t = typeof Object.is == "function" ? Object.is : r, a = e.useState, s = e.useEffect, n = e.useLayoutEffect, d = e.useDebugValue;
94
- function c(i, o) {
95
- var f = o(), m = a({ inst: { value: f, getSnapshot: o } }), l = m[0].inst, h = m[1];
96
- return n(
97
- function() {
98
- l.value = f, l.getSnapshot = o, p(l) && h({ inst: l });
99
- },
100
- [i, f, o]
101
- ), s(
102
- function() {
103
- return p(l) && h({ inst: l }), i(function() {
104
- p(l) && h({ inst: l });
105
- });
106
- },
107
- [i]
108
- ), d(f), f;
109
- }
110
- function p(i) {
111
- var o = i.getSnapshot;
112
- i = i.value;
113
- try {
114
- var f = o();
115
- return !t(i, f);
116
- } catch {
117
- return !0;
118
- }
119
- }
120
- function g(i, o) {
121
- return o();
122
- }
123
- var u = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? g : c;
124
- return k.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : u, k;
125
- }
126
- var C;
127
- function j() {
128
- return C || (C = 1, x.exports = V()), x.exports;
129
- }
130
- var B = j();
131
- const b = (e, r) => (t) => {
132
- e.current !== t && (e.current = t, r());
133
- };
134
- function F(e, { keys: r, deps: t = [e, r] } = {}) {
135
- const a = y.useRef();
136
- a.current = e.get();
137
- const s = y.useCallback((d) => (b(a, d)(e.value), r?.length > 0 ? U(e, r, b(a, d)) : e.listen(b(a, d))), t), n = () => a.current;
138
- return y.useSyncExternalStore ? y.useSyncExternalStore(s, n, n) : B.useSyncExternalStore(s, n, n);
139
- }
140
- const K = F, W = () => [
141
- !1,
142
- (e) => {
143
- window.requestAnimationFrame(() => e());
144
- }
145
- ], Y = y.useTransition || W;
146
- var T;
147
- (function(e) {
148
- e[e.ONBOARDING = 1] = "ONBOARDING", e[e.QUESTION = 2] = "QUESTION", e[e.QUESTION_RESOLVED = 3] = "QUESTION_RESOLVED";
149
- })(T || (T = {}));
150
- export {
151
- T as N,
152
- Y as a,
153
- R as c,
154
- G as s,
155
- K as u
156
- };