@tanstack/react-router 0.0.1-beta.195 → 0.0.1-beta.196

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.
@@ -4024,7 +4024,7 @@ var drawChart = (function (exports) {
4024
4024
  </script>
4025
4025
  <script>
4026
4026
  /*<!--*/
4027
- const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.production.js","children":[{"name":"node_modules/.pnpm","children":[{"name":"@tanstack+store@0.0.1/node_modules/@tanstack/store/build/esm/index.js","uid":"435c-137"},{"name":"@tanstack+react-store@0.0.1/node_modules/@tanstack/react-store/build/esm/index.js","uid":"435c-139"},{"name":"tiny-invariant@1.3.1/node_modules/tiny-invariant/dist/esm/tiny-invariant.js","uid":"435c-141"},{"name":"tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js","uid":"435c-143"}]},{"name":"packages","children":[{"name":"router-core/build/esm/index.js","uid":"435c-145"},{"name":"react-router/src","children":[{"uid":"435c-149","name":"react.tsx"},{"uid":"435c-151","name":"scroll-restoration.tsx"},{"uid":"435c-153","name":"awaited.tsx"},{"uid":"435c-155","name":"index.tsx"}]}]},{"uid":"435c-147","name":"\u0000rollupPluginBabelHelpers.js"}]}],"isRoot":true},"nodeParts":{"435c-137":{"renderedLength":1843,"gzipLength":644,"brotliLength":0,"mainUid":"435c-136"},"435c-139":{"renderedLength":1006,"gzipLength":479,"brotliLength":0,"mainUid":"435c-138"},"435c-141":{"renderedLength":181,"gzipLength":129,"brotliLength":0,"mainUid":"435c-140"},"435c-143":{"renderedLength":44,"gzipLength":62,"brotliLength":0,"mainUid":"435c-142"},"435c-145":{"renderedLength":71807,"gzipLength":17229,"brotliLength":0,"mainUid":"435c-144"},"435c-147":{"renderedLength":429,"gzipLength":238,"brotliLength":0,"mainUid":"435c-146"},"435c-149":{"renderedLength":17157,"gzipLength":3785,"brotliLength":0,"mainUid":"435c-148"},"435c-151":{"renderedLength":466,"gzipLength":228,"brotliLength":0,"mainUid":"435c-150"},"435c-153":{"renderedLength":641,"gzipLength":305,"brotliLength":0,"mainUid":"435c-152"},"435c-155":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"435c-154"}},"nodeMetas":{"435c-136":{"id":"/node_modules/.pnpm/@tanstack+store@0.0.1/node_modules/@tanstack/store/build/esm/index.js","moduleParts":{"index.production.js":"435c-137"},"imported":[],"importedBy":[{"uid":"435c-138"},{"uid":"435c-144"}]},"435c-138":{"id":"/node_modules/.pnpm/@tanstack+react-store@0.0.1/node_modules/@tanstack/react-store/build/esm/index.js","moduleParts":{"index.production.js":"435c-139"},"imported":[{"uid":"435c-156"},{"uid":"435c-136"}],"importedBy":[{"uid":"435c-154"},{"uid":"435c-148"}]},"435c-140":{"id":"/node_modules/.pnpm/tiny-invariant@1.3.1/node_modules/tiny-invariant/dist/esm/tiny-invariant.js","moduleParts":{"index.production.js":"435c-141"},"imported":[],"importedBy":[{"uid":"435c-144"},{"uid":"435c-148"}]},"435c-142":{"id":"/node_modules/.pnpm/tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js","moduleParts":{"index.production.js":"435c-143"},"imported":[],"importedBy":[{"uid":"435c-144"},{"uid":"435c-148"}]},"435c-144":{"id":"/packages/router-core/build/esm/index.js","moduleParts":{"index.production.js":"435c-145"},"imported":[{"uid":"435c-140"},{"uid":"435c-142"},{"uid":"435c-136"}],"importedBy":[{"uid":"435c-154"},{"uid":"435c-148"},{"uid":"435c-150"},{"uid":"435c-152"}]},"435c-146":{"id":"\u0000rollupPluginBabelHelpers.js","moduleParts":{"index.production.js":"435c-147"},"imported":[],"importedBy":[{"uid":"435c-148"}]},"435c-148":{"id":"/packages/react-router/src/react.tsx","moduleParts":{"index.production.js":"435c-149"},"imported":[{"uid":"435c-146"},{"uid":"435c-157"},{"uid":"435c-138"},{"uid":"435c-140"},{"uid":"435c-142"},{"uid":"435c-144"}],"importedBy":[{"uid":"435c-154"},{"uid":"435c-150"},{"uid":"435c-152"}]},"435c-150":{"id":"/packages/react-router/src/scroll-restoration.tsx","moduleParts":{"index.production.js":"435c-151"},"imported":[{"uid":"435c-157"},{"uid":"435c-144"},{"uid":"435c-148"}],"importedBy":[{"uid":"435c-154"}]},"435c-152":{"id":"/packages/react-router/src/awaited.tsx","moduleParts":{"index.production.js":"435c-153"},"imported":[{"uid":"435c-144"},{"uid":"435c-148"}],"importedBy":[{"uid":"435c-154"}]},"435c-154":{"id":"/packages/react-router/src/index.tsx","moduleParts":{"index.production.js":"435c-155"},"imported":[{"uid":"435c-138"},{"uid":"435c-144"},{"uid":"435c-148"},{"uid":"435c-150"},{"uid":"435c-152"}],"importedBy":[],"isEntry":true},"435c-156":{"id":"use-sync-external-store/shim/with-selector","moduleParts":{},"imported":[],"importedBy":[{"uid":"435c-138"}],"isExternal":true},"435c-157":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"435c-148"},{"uid":"435c-150"}],"isExternal":true}},"env":{"rollup":"2.79.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
4027
+ const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.production.js","children":[{"name":"node_modules/.pnpm","children":[{"name":"@tanstack+store@0.0.1/node_modules/@tanstack/store/build/esm/index.js","uid":"85f5-169"},{"name":"@tanstack+react-store@0.0.1/node_modules/@tanstack/react-store/build/esm/index.js","uid":"85f5-171"},{"name":"tiny-invariant@1.3.1/node_modules/tiny-invariant/dist/esm/tiny-invariant.js","uid":"85f5-175"},{"name":"tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js","uid":"85f5-177"}]},{"name":"packages","children":[{"name":"history/build/esm/index.js","uid":"85f5-173"},{"name":"router-core/build/esm/index.js","uid":"85f5-179"},{"name":"react-router/src","children":[{"uid":"85f5-183","name":"react.tsx"},{"uid":"85f5-185","name":"scroll-restoration.tsx"},{"uid":"85f5-187","name":"awaited.tsx"},{"uid":"85f5-189","name":"index.tsx"}]}]},{"uid":"85f5-181","name":"\u0000rollupPluginBabelHelpers.js"}]}],"isRoot":true},"nodeParts":{"85f5-169":{"renderedLength":1843,"gzipLength":644,"brotliLength":0,"mainUid":"85f5-168"},"85f5-171":{"renderedLength":1006,"gzipLength":479,"brotliLength":0,"mainUid":"85f5-170"},"85f5-173":{"renderedLength":9468,"gzipLength":2759,"brotliLength":0,"mainUid":"85f5-172"},"85f5-175":{"renderedLength":181,"gzipLength":129,"brotliLength":0,"mainUid":"85f5-174"},"85f5-177":{"renderedLength":44,"gzipLength":62,"brotliLength":0,"mainUid":"85f5-176"},"85f5-179":{"renderedLength":62496,"gzipLength":14907,"brotliLength":0,"mainUid":"85f5-178"},"85f5-181":{"renderedLength":429,"gzipLength":238,"brotliLength":0,"mainUid":"85f5-180"},"85f5-183":{"renderedLength":17157,"gzipLength":3785,"brotliLength":0,"mainUid":"85f5-182"},"85f5-185":{"renderedLength":466,"gzipLength":228,"brotliLength":0,"mainUid":"85f5-184"},"85f5-187":{"renderedLength":641,"gzipLength":305,"brotliLength":0,"mainUid":"85f5-186"},"85f5-189":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"85f5-188"}},"nodeMetas":{"85f5-168":{"id":"/node_modules/.pnpm/@tanstack+store@0.0.1/node_modules/@tanstack/store/build/esm/index.js","moduleParts":{"index.production.js":"85f5-169"},"imported":[],"importedBy":[{"uid":"85f5-170"},{"uid":"85f5-178"}]},"85f5-170":{"id":"/node_modules/.pnpm/@tanstack+react-store@0.0.1/node_modules/@tanstack/react-store/build/esm/index.js","moduleParts":{"index.production.js":"85f5-171"},"imported":[{"uid":"85f5-190"},{"uid":"85f5-168"}],"importedBy":[{"uid":"85f5-188"},{"uid":"85f5-182"}]},"85f5-172":{"id":"/packages/history/build/esm/index.js","moduleParts":{"index.production.js":"85f5-173"},"imported":[],"importedBy":[{"uid":"85f5-178"}]},"85f5-174":{"id":"/node_modules/.pnpm/tiny-invariant@1.3.1/node_modules/tiny-invariant/dist/esm/tiny-invariant.js","moduleParts":{"index.production.js":"85f5-175"},"imported":[],"importedBy":[{"uid":"85f5-178"},{"uid":"85f5-182"}]},"85f5-176":{"id":"/node_modules/.pnpm/tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js","moduleParts":{"index.production.js":"85f5-177"},"imported":[],"importedBy":[{"uid":"85f5-178"},{"uid":"85f5-182"}]},"85f5-178":{"id":"/packages/router-core/build/esm/index.js","moduleParts":{"index.production.js":"85f5-179"},"imported":[{"uid":"85f5-172"},{"uid":"85f5-174"},{"uid":"85f5-176"},{"uid":"85f5-168"}],"importedBy":[{"uid":"85f5-188"},{"uid":"85f5-182"},{"uid":"85f5-184"},{"uid":"85f5-186"}]},"85f5-180":{"id":"\u0000rollupPluginBabelHelpers.js","moduleParts":{"index.production.js":"85f5-181"},"imported":[],"importedBy":[{"uid":"85f5-182"}]},"85f5-182":{"id":"/packages/react-router/src/react.tsx","moduleParts":{"index.production.js":"85f5-183"},"imported":[{"uid":"85f5-180"},{"uid":"85f5-191"},{"uid":"85f5-170"},{"uid":"85f5-174"},{"uid":"85f5-176"},{"uid":"85f5-178"}],"importedBy":[{"uid":"85f5-188"},{"uid":"85f5-184"},{"uid":"85f5-186"}]},"85f5-184":{"id":"/packages/react-router/src/scroll-restoration.tsx","moduleParts":{"index.production.js":"85f5-185"},"imported":[{"uid":"85f5-191"},{"uid":"85f5-178"},{"uid":"85f5-182"}],"importedBy":[{"uid":"85f5-188"}]},"85f5-186":{"id":"/packages/react-router/src/awaited.tsx","moduleParts":{"index.production.js":"85f5-187"},"imported":[{"uid":"85f5-178"},{"uid":"85f5-182"}],"importedBy":[{"uid":"85f5-188"}]},"85f5-188":{"id":"/packages/react-router/src/index.tsx","moduleParts":{"index.production.js":"85f5-189"},"imported":[{"uid":"85f5-170"},{"uid":"85f5-178"},{"uid":"85f5-182"},{"uid":"85f5-184"},{"uid":"85f5-186"}],"importedBy":[],"isEntry":true},"85f5-190":{"id":"use-sync-external-store/shim/with-selector","moduleParts":{},"imported":[],"importedBy":[{"uid":"85f5-170"}],"isExternal":true},"85f5-191":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"85f5-182"},{"uid":"85f5-184"}],"isExternal":true}},"env":{"rollup":"2.79.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
4028
4028
 
4029
4029
  const run = () => {
4030
4030
  const width = window.innerWidth;
@@ -11,46 +11,50 @@
11
11
  "children": [
12
12
  {
13
13
  "name": "@tanstack+store@0.0.1/node_modules/@tanstack/store/build/esm/index.js",
14
- "uid": "435c-159"
14
+ "uid": "85f5-193"
15
15
  },
16
16
  {
17
17
  "name": "@tanstack+react-store@0.0.1/node_modules/@tanstack/react-store/build/esm/index.js",
18
- "uid": "435c-161"
18
+ "uid": "85f5-195"
19
19
  },
20
20
  {
21
21
  "name": "tiny-invariant@1.3.1/node_modules/tiny-invariant/dist/esm/tiny-invariant.js",
22
- "uid": "435c-163"
22
+ "uid": "85f5-199"
23
23
  },
24
24
  {
25
25
  "name": "tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js",
26
- "uid": "435c-165"
26
+ "uid": "85f5-201"
27
27
  }
28
28
  ]
29
29
  },
30
30
  {
31
31
  "name": "packages",
32
32
  "children": [
33
+ {
34
+ "name": "history/build/esm/index.js",
35
+ "uid": "85f5-197"
36
+ },
33
37
  {
34
38
  "name": "router-core/build/esm/index.js",
35
- "uid": "435c-167"
39
+ "uid": "85f5-203"
36
40
  },
37
41
  {
38
42
  "name": "react-router/src",
39
43
  "children": [
40
44
  {
41
- "uid": "435c-171",
45
+ "uid": "85f5-207",
42
46
  "name": "react.tsx"
43
47
  },
44
48
  {
45
- "uid": "435c-173",
49
+ "uid": "85f5-209",
46
50
  "name": "scroll-restoration.tsx"
47
51
  },
48
52
  {
49
- "uid": "435c-175",
53
+ "uid": "85f5-211",
50
54
  "name": "awaited.tsx"
51
55
  },
52
56
  {
53
- "uid": "435c-177",
57
+ "uid": "85f5-213",
54
58
  "name": "index.tsx"
55
59
  }
56
60
  ]
@@ -58,7 +62,7 @@
58
62
  ]
59
63
  },
60
64
  {
61
- "uid": "435c-169",
65
+ "uid": "85f5-205",
62
66
  "name": "\u0000rollupPluginBabelHelpers.js"
63
67
  }
64
68
  ]
@@ -67,302 +71,323 @@
67
71
  "isRoot": true
68
72
  },
69
73
  "nodeParts": {
70
- "435c-159": {
74
+ "85f5-193": {
71
75
  "renderedLength": 1843,
72
76
  "gzipLength": 644,
73
77
  "brotliLength": 0,
74
- "mainUid": "435c-158"
78
+ "mainUid": "85f5-192"
75
79
  },
76
- "435c-161": {
80
+ "85f5-195": {
77
81
  "renderedLength": 1006,
78
82
  "gzipLength": 479,
79
83
  "brotliLength": 0,
80
- "mainUid": "435c-160"
84
+ "mainUid": "85f5-194"
85
+ },
86
+ "85f5-197": {
87
+ "renderedLength": 9468,
88
+ "gzipLength": 2759,
89
+ "brotliLength": 0,
90
+ "mainUid": "85f5-196"
81
91
  },
82
- "435c-163": {
92
+ "85f5-199": {
83
93
  "renderedLength": 181,
84
94
  "gzipLength": 129,
85
95
  "brotliLength": 0,
86
- "mainUid": "435c-162"
96
+ "mainUid": "85f5-198"
87
97
  },
88
- "435c-165": {
98
+ "85f5-201": {
89
99
  "renderedLength": 44,
90
100
  "gzipLength": 62,
91
101
  "brotliLength": 0,
92
- "mainUid": "435c-164"
102
+ "mainUid": "85f5-200"
93
103
  },
94
- "435c-167": {
95
- "renderedLength": 71807,
96
- "gzipLength": 17229,
104
+ "85f5-203": {
105
+ "renderedLength": 62496,
106
+ "gzipLength": 14907,
97
107
  "brotliLength": 0,
98
- "mainUid": "435c-166"
108
+ "mainUid": "85f5-202"
99
109
  },
100
- "435c-169": {
110
+ "85f5-205": {
101
111
  "renderedLength": 429,
102
112
  "gzipLength": 238,
103
113
  "brotliLength": 0,
104
- "mainUid": "435c-168"
114
+ "mainUid": "85f5-204"
105
115
  },
106
- "435c-171": {
116
+ "85f5-207": {
107
117
  "renderedLength": 17157,
108
118
  "gzipLength": 3785,
109
119
  "brotliLength": 0,
110
- "mainUid": "435c-170"
120
+ "mainUid": "85f5-206"
111
121
  },
112
- "435c-173": {
122
+ "85f5-209": {
113
123
  "renderedLength": 466,
114
124
  "gzipLength": 228,
115
125
  "brotliLength": 0,
116
- "mainUid": "435c-172"
126
+ "mainUid": "85f5-208"
117
127
  },
118
- "435c-175": {
128
+ "85f5-211": {
119
129
  "renderedLength": 641,
120
130
  "gzipLength": 305,
121
131
  "brotliLength": 0,
122
- "mainUid": "435c-174"
132
+ "mainUid": "85f5-210"
123
133
  },
124
- "435c-177": {
134
+ "85f5-213": {
125
135
  "renderedLength": 0,
126
136
  "gzipLength": 0,
127
137
  "brotliLength": 0,
128
- "mainUid": "435c-176"
138
+ "mainUid": "85f5-212"
129
139
  }
130
140
  },
131
141
  "nodeMetas": {
132
- "435c-158": {
142
+ "85f5-192": {
133
143
  "id": "/node_modules/.pnpm/@tanstack+store@0.0.1/node_modules/@tanstack/store/build/esm/index.js",
134
144
  "moduleParts": {
135
- "index.production.js": "435c-159"
145
+ "index.production.js": "85f5-193"
136
146
  },
137
147
  "imported": [],
138
148
  "importedBy": [
139
149
  {
140
- "uid": "435c-160"
150
+ "uid": "85f5-194"
141
151
  },
142
152
  {
143
- "uid": "435c-166"
153
+ "uid": "85f5-202"
144
154
  }
145
155
  ]
146
156
  },
147
- "435c-160": {
157
+ "85f5-194": {
148
158
  "id": "/node_modules/.pnpm/@tanstack+react-store@0.0.1/node_modules/@tanstack/react-store/build/esm/index.js",
149
159
  "moduleParts": {
150
- "index.production.js": "435c-161"
160
+ "index.production.js": "85f5-195"
151
161
  },
152
162
  "imported": [
153
163
  {
154
- "uid": "435c-178"
164
+ "uid": "85f5-214"
155
165
  },
156
166
  {
157
- "uid": "435c-158"
167
+ "uid": "85f5-192"
158
168
  }
159
169
  ],
160
170
  "importedBy": [
161
171
  {
162
- "uid": "435c-176"
172
+ "uid": "85f5-212"
163
173
  },
164
174
  {
165
- "uid": "435c-170"
175
+ "uid": "85f5-206"
176
+ }
177
+ ]
178
+ },
179
+ "85f5-196": {
180
+ "id": "/packages/history/build/esm/index.js",
181
+ "moduleParts": {
182
+ "index.production.js": "85f5-197"
183
+ },
184
+ "imported": [],
185
+ "importedBy": [
186
+ {
187
+ "uid": "85f5-202"
166
188
  }
167
189
  ]
168
190
  },
169
- "435c-162": {
191
+ "85f5-198": {
170
192
  "id": "/node_modules/.pnpm/tiny-invariant@1.3.1/node_modules/tiny-invariant/dist/esm/tiny-invariant.js",
171
193
  "moduleParts": {
172
- "index.production.js": "435c-163"
194
+ "index.production.js": "85f5-199"
173
195
  },
174
196
  "imported": [],
175
197
  "importedBy": [
176
198
  {
177
- "uid": "435c-166"
199
+ "uid": "85f5-202"
178
200
  },
179
201
  {
180
- "uid": "435c-170"
202
+ "uid": "85f5-206"
181
203
  }
182
204
  ]
183
205
  },
184
- "435c-164": {
206
+ "85f5-200": {
185
207
  "id": "/node_modules/.pnpm/tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js",
186
208
  "moduleParts": {
187
- "index.production.js": "435c-165"
209
+ "index.production.js": "85f5-201"
188
210
  },
189
211
  "imported": [],
190
212
  "importedBy": [
191
213
  {
192
- "uid": "435c-166"
214
+ "uid": "85f5-202"
193
215
  },
194
216
  {
195
- "uid": "435c-170"
217
+ "uid": "85f5-206"
196
218
  }
197
219
  ]
198
220
  },
199
- "435c-166": {
221
+ "85f5-202": {
200
222
  "id": "/packages/router-core/build/esm/index.js",
201
223
  "moduleParts": {
202
- "index.production.js": "435c-167"
224
+ "index.production.js": "85f5-203"
203
225
  },
204
226
  "imported": [
205
227
  {
206
- "uid": "435c-162"
228
+ "uid": "85f5-196"
229
+ },
230
+ {
231
+ "uid": "85f5-198"
207
232
  },
208
233
  {
209
- "uid": "435c-164"
234
+ "uid": "85f5-200"
210
235
  },
211
236
  {
212
- "uid": "435c-158"
237
+ "uid": "85f5-192"
213
238
  }
214
239
  ],
215
240
  "importedBy": [
216
241
  {
217
- "uid": "435c-176"
242
+ "uid": "85f5-212"
218
243
  },
219
244
  {
220
- "uid": "435c-170"
245
+ "uid": "85f5-206"
221
246
  },
222
247
  {
223
- "uid": "435c-172"
248
+ "uid": "85f5-208"
224
249
  },
225
250
  {
226
- "uid": "435c-174"
251
+ "uid": "85f5-210"
227
252
  }
228
253
  ]
229
254
  },
230
- "435c-168": {
255
+ "85f5-204": {
231
256
  "id": "\u0000rollupPluginBabelHelpers.js",
232
257
  "moduleParts": {
233
- "index.production.js": "435c-169"
258
+ "index.production.js": "85f5-205"
234
259
  },
235
260
  "imported": [],
236
261
  "importedBy": [
237
262
  {
238
- "uid": "435c-170"
263
+ "uid": "85f5-206"
239
264
  }
240
265
  ]
241
266
  },
242
- "435c-170": {
267
+ "85f5-206": {
243
268
  "id": "/packages/react-router/src/react.tsx",
244
269
  "moduleParts": {
245
- "index.production.js": "435c-171"
270
+ "index.production.js": "85f5-207"
246
271
  },
247
272
  "imported": [
248
273
  {
249
- "uid": "435c-168"
274
+ "uid": "85f5-204"
250
275
  },
251
276
  {
252
- "uid": "435c-179"
277
+ "uid": "85f5-215"
253
278
  },
254
279
  {
255
- "uid": "435c-160"
280
+ "uid": "85f5-194"
256
281
  },
257
282
  {
258
- "uid": "435c-162"
283
+ "uid": "85f5-198"
259
284
  },
260
285
  {
261
- "uid": "435c-164"
286
+ "uid": "85f5-200"
262
287
  },
263
288
  {
264
- "uid": "435c-166"
289
+ "uid": "85f5-202"
265
290
  }
266
291
  ],
267
292
  "importedBy": [
268
293
  {
269
- "uid": "435c-176"
294
+ "uid": "85f5-212"
270
295
  },
271
296
  {
272
- "uid": "435c-172"
297
+ "uid": "85f5-208"
273
298
  },
274
299
  {
275
- "uid": "435c-174"
300
+ "uid": "85f5-210"
276
301
  }
277
302
  ]
278
303
  },
279
- "435c-172": {
304
+ "85f5-208": {
280
305
  "id": "/packages/react-router/src/scroll-restoration.tsx",
281
306
  "moduleParts": {
282
- "index.production.js": "435c-173"
307
+ "index.production.js": "85f5-209"
283
308
  },
284
309
  "imported": [
285
310
  {
286
- "uid": "435c-179"
311
+ "uid": "85f5-215"
287
312
  },
288
313
  {
289
- "uid": "435c-166"
314
+ "uid": "85f5-202"
290
315
  },
291
316
  {
292
- "uid": "435c-170"
317
+ "uid": "85f5-206"
293
318
  }
294
319
  ],
295
320
  "importedBy": [
296
321
  {
297
- "uid": "435c-176"
322
+ "uid": "85f5-212"
298
323
  }
299
324
  ]
300
325
  },
301
- "435c-174": {
326
+ "85f5-210": {
302
327
  "id": "/packages/react-router/src/awaited.tsx",
303
328
  "moduleParts": {
304
- "index.production.js": "435c-175"
329
+ "index.production.js": "85f5-211"
305
330
  },
306
331
  "imported": [
307
332
  {
308
- "uid": "435c-166"
333
+ "uid": "85f5-202"
309
334
  },
310
335
  {
311
- "uid": "435c-170"
336
+ "uid": "85f5-206"
312
337
  }
313
338
  ],
314
339
  "importedBy": [
315
340
  {
316
- "uid": "435c-176"
341
+ "uid": "85f5-212"
317
342
  }
318
343
  ]
319
344
  },
320
- "435c-176": {
345
+ "85f5-212": {
321
346
  "id": "/packages/react-router/src/index.tsx",
322
347
  "moduleParts": {
323
- "index.production.js": "435c-177"
348
+ "index.production.js": "85f5-213"
324
349
  },
325
350
  "imported": [
326
351
  {
327
- "uid": "435c-160"
352
+ "uid": "85f5-194"
328
353
  },
329
354
  {
330
- "uid": "435c-166"
355
+ "uid": "85f5-202"
331
356
  },
332
357
  {
333
- "uid": "435c-170"
358
+ "uid": "85f5-206"
334
359
  },
335
360
  {
336
- "uid": "435c-172"
361
+ "uid": "85f5-208"
337
362
  },
338
363
  {
339
- "uid": "435c-174"
364
+ "uid": "85f5-210"
340
365
  }
341
366
  ],
342
367
  "importedBy": [],
343
368
  "isEntry": true
344
369
  },
345
- "435c-178": {
370
+ "85f5-214": {
346
371
  "id": "use-sync-external-store/shim/with-selector",
347
372
  "moduleParts": {},
348
373
  "imported": [],
349
374
  "importedBy": [
350
375
  {
351
- "uid": "435c-160"
376
+ "uid": "85f5-194"
352
377
  }
353
378
  ],
354
379
  "isExternal": true
355
380
  },
356
- "435c-179": {
381
+ "85f5-215": {
357
382
  "id": "react",
358
383
  "moduleParts": {},
359
384
  "imported": [],
360
385
  "importedBy": [
361
386
  {
362
- "uid": "435c-170"
387
+ "uid": "85f5-206"
363
388
  },
364
389
  {
365
- "uid": "435c-172"
390
+ "uid": "85f5-208"
366
391
  }
367
392
  ],
368
393
  "isExternal": true
@@ -134,36 +134,8 @@
134
134
  return true;
135
135
  }
136
136
 
137
- var prefix = 'Invariant failed';
138
- function invariant(condition, message) {
139
- if (condition) {
140
- return;
141
- }
142
- var provided = typeof message === 'function' ? message() : message;
143
- var value = provided ? "".concat(prefix, ": ").concat(provided) : prefix;
144
- throw new Error(value);
145
- }
146
-
147
- function warning(condition, message) {
148
- {
149
- if (condition) {
150
- return;
151
- }
152
-
153
- var text = "Warning: " + message;
154
-
155
- if (typeof console !== 'undefined') {
156
- console.warn(text);
157
- }
158
-
159
- try {
160
- throw Error(text);
161
- } catch (x) {}
162
- }
163
- }
164
-
165
137
  /**
166
- * @tanstack/router-core/src/index.ts
138
+ * @tanstack/history/src/index.ts
167
139
  *
168
140
  * Copyright (c) TanStack
169
141
  *
@@ -172,7 +144,6 @@
172
144
  *
173
145
  * @license MIT
174
146
  */
175
-
176
147
  // While the public API was clearly inspired by the "history" npm package,
177
148
  // This implementation attempts to be more lightweight by
178
149
  // making assumptions about the way TanStack Router works
@@ -236,13 +207,13 @@
236
207
  };
237
208
  },
238
209
  push: (path, state) => {
239
- assignKey(state);
210
+ state = assignKey(state);
240
211
  queueTask(() => {
241
212
  opts.pushState(path, state, onUpdate);
242
213
  });
243
214
  },
244
215
  replace: (path, state) => {
245
- assignKey(state);
216
+ state = assignKey(state);
246
217
  queueTask(() => {
247
218
  opts.replaceState(path, state, onUpdate);
248
219
  });
@@ -281,13 +252,11 @@
281
252
  };
282
253
  }
283
254
  function assignKey(state) {
255
+ if (!state) {
256
+ state = {};
257
+ }
284
258
  state.key = createRandomKey();
285
- // if (state.__actualLocation) {
286
- // state.__actualLocation.state = {
287
- // ...state.__actualLocation.state,
288
- // key,
289
- // }
290
- // }
259
+ return state;
291
260
  }
292
261
 
293
262
  /**
@@ -456,6 +425,45 @@
456
425
  return (Math.random() + 1).toString(36).substring(7);
457
426
  }
458
427
 
428
+ var prefix = 'Invariant failed';
429
+ function invariant(condition, message) {
430
+ if (condition) {
431
+ return;
432
+ }
433
+ var provided = typeof message === 'function' ? message() : message;
434
+ var value = provided ? "".concat(prefix, ": ").concat(provided) : prefix;
435
+ throw new Error(value);
436
+ }
437
+
438
+ function warning(condition, message) {
439
+ {
440
+ if (condition) {
441
+ return;
442
+ }
443
+
444
+ var text = "Warning: " + message;
445
+
446
+ if (typeof console !== 'undefined') {
447
+ console.warn(text);
448
+ }
449
+
450
+ try {
451
+ throw Error(text);
452
+ } catch (x) {}
453
+ }
454
+ }
455
+
456
+ /**
457
+ * @tanstack/router-core/src/index.ts
458
+ *
459
+ * Copyright (c) TanStack
460
+ *
461
+ * This source code is licensed under the MIT license found in the
462
+ * LICENSE.md file in the root directory of this source tree.
463
+ *
464
+ * @license MIT
465
+ */
466
+
459
467
  // export type Expand<T> = T
460
468
 
461
469
  // type Compute<T> = { [K in keyof T]: T[K] } | never