twins-diff 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. package/.next/BUILD_ID +1 -0
  2. package/.next/build-manifest.json +44 -0
  3. package/.next/cache/.tsbuildinfo +4350 -0
  4. package/.next/cache/eslint/.cache_18nhe9h +1 -0
  5. package/.next/cache/images/+Zw1yoIG58LhIbctWRJdnQ20Z33pxbv8Yx89yrrciig=/60.1660968780361.d0iuU8b1wK62QwdNTR3vF5OZnxX6XATD-2vLv5TWwM8=.webp +0 -0
  6. package/.next/cache/images/0xrgerf2ZzbcHEdoZ6TefISPxVGUUwuubfMubk-igXo=/60.1660970309382.oIVEJjaP88sNsekqHnnCxrtoTUVUOqT-ppQh5eEncuY=.webp +0 -0
  7. package/.next/cache/images/ENeE-64Do7fhlw5Gk82Wto6PXV9E53BoxLs5ULxRohY=/60.1660971805622.d0iuU8b1wK62QwdNTR3vF5OZnxX6XATD-2vLv5TWwM8=.webp +0 -0
  8. package/.next/cache/images/Ghi7tRvantuGRp1m-+8-64lETnFLX+Q23Ll34d1nWtg=/60.1660970309379.fW1M942fm1xC+j9+iGqJt36i25Jf7pOGou-AdC3NlVg=.webp +0 -0
  9. package/.next/cache/images/djH9cbmwUR1zP2VXTmdKD9RwTSn+jA+VpI3hDxyS4XI=/60.1660958430370.i3Z3MaWNKTvr8tu2TXTk46jxcSV1Umd6-M6QSHP+OjE=.webp +0 -0
  10. package/.next/cache/images/fE+LgDsCYzEUTEBf-Rt5SBZ9LMs3+Db9s8+cpDl4ncs=/60.1660970829151.i3Z3MaWNKTvr8tu2TXTk46jxcSV1Umd6-M6QSHP+OjE=.webp +0 -0
  11. package/.next/cache/images/ke6V98CYccvU2wnYjDciblCJAfTb0TZ01Ms2-WtUFIc=/60.1660971774982.yw18+VKryEXvNd+vU+N8HNkudpammH-NzGTLSkie+UY=.webp +0 -0
  12. package/.next/cache/images/qapnXyYMlxWECRvxBOkbwPvEfMPi4DSs+m42kVgveC4=/60.1660958452182.o9GzFQM0A3kGmNW6pzXqwHo4WxICmDl40ZkDKJ8L9k0=.webp +0 -0
  13. package/.next/cache/next-server.js.nft.json +1 -0
  14. package/.next/cache/webpack/client-development/0.pack +0 -0
  15. package/.next/cache/webpack/client-development/1.pack +0 -0
  16. package/.next/cache/webpack/client-development/10.pack +0 -0
  17. package/.next/cache/webpack/client-development/11.pack +0 -0
  18. package/.next/cache/webpack/client-development/12.pack +0 -0
  19. package/.next/cache/webpack/client-development/13.pack +0 -0
  20. package/.next/cache/webpack/client-development/14.pack +0 -0
  21. package/.next/cache/webpack/client-development/15.pack +0 -0
  22. package/.next/cache/webpack/client-development/16.pack +0 -0
  23. package/.next/cache/webpack/client-development/17.pack +0 -0
  24. package/.next/cache/webpack/client-development/2.pack +0 -0
  25. package/.next/cache/webpack/client-development/3.pack +0 -0
  26. package/.next/cache/webpack/client-development/4.pack +0 -0
  27. package/.next/cache/webpack/client-development/5.pack +0 -0
  28. package/.next/cache/webpack/client-development/6.pack +0 -0
  29. package/.next/cache/webpack/client-development/7.pack +0 -0
  30. package/.next/cache/webpack/client-development/8.pack +0 -0
  31. package/.next/cache/webpack/client-development/9.pack +0 -0
  32. package/.next/cache/webpack/client-development/index.pack +0 -0
  33. package/.next/cache/webpack/client-development/index.pack.old +0 -0
  34. package/.next/cache/webpack/client-development-fallback/0.pack +0 -0
  35. package/.next/cache/webpack/client-development-fallback/1.pack +0 -0
  36. package/.next/cache/webpack/client-development-fallback/index.pack +0 -0
  37. package/.next/cache/webpack/client-development-fallback/index.pack.old +0 -0
  38. package/.next/cache/webpack/client-production/0.pack +0 -0
  39. package/.next/cache/webpack/client-production/1.pack +0 -0
  40. package/.next/cache/webpack/client-production/10.pack +0 -0
  41. package/.next/cache/webpack/client-production/2.pack +0 -0
  42. package/.next/cache/webpack/client-production/3.pack +0 -0
  43. package/.next/cache/webpack/client-production/4.pack +0 -0
  44. package/.next/cache/webpack/client-production/5.pack +0 -0
  45. package/.next/cache/webpack/client-production/6.pack +0 -0
  46. package/.next/cache/webpack/client-production/7.pack +0 -0
  47. package/.next/cache/webpack/client-production/8.pack +0 -0
  48. package/.next/cache/webpack/client-production/9.pack +0 -0
  49. package/.next/cache/webpack/client-production/index.pack +0 -0
  50. package/.next/cache/webpack/client-production/index.pack.old +0 -0
  51. package/.next/cache/webpack/server-development/0.pack +0 -0
  52. package/.next/cache/webpack/server-development/1.pack +0 -0
  53. package/.next/cache/webpack/server-development/10.pack +0 -0
  54. package/.next/cache/webpack/server-development/11.pack +0 -0
  55. package/.next/cache/webpack/server-development/12.pack +0 -0
  56. package/.next/cache/webpack/server-development/13.pack +0 -0
  57. package/.next/cache/webpack/server-development/14.pack +0 -0
  58. package/.next/cache/webpack/server-development/15.pack +0 -0
  59. package/.next/cache/webpack/server-development/16.pack +0 -0
  60. package/.next/cache/webpack/server-development/17.pack +0 -0
  61. package/.next/cache/webpack/server-development/2.pack +0 -0
  62. package/.next/cache/webpack/server-development/3.pack +0 -0
  63. package/.next/cache/webpack/server-development/4.pack +0 -0
  64. package/.next/cache/webpack/server-development/5.pack +0 -0
  65. package/.next/cache/webpack/server-development/6.pack +0 -0
  66. package/.next/cache/webpack/server-development/7.pack +0 -0
  67. package/.next/cache/webpack/server-development/8.pack +0 -0
  68. package/.next/cache/webpack/server-development/9.pack +0 -0
  69. package/.next/cache/webpack/server-development/index.pack +0 -0
  70. package/.next/cache/webpack/server-development/index.pack.old +0 -0
  71. package/.next/cache/webpack/server-production/0.pack +0 -0
  72. package/.next/cache/webpack/server-production/1.pack +0 -0
  73. package/.next/cache/webpack/server-production/2.pack +0 -0
  74. package/.next/cache/webpack/server-production/3.pack +0 -0
  75. package/.next/cache/webpack/server-production/4.pack +0 -0
  76. package/.next/cache/webpack/server-production/5.pack +0 -0
  77. package/.next/cache/webpack/server-production/index.pack +0 -0
  78. package/.next/cache/webpack/server-production/index.pack.old +0 -0
  79. package/.next/export-marker.json +1 -0
  80. package/.next/images-manifest.json +1 -0
  81. package/.next/next-server.js.nft.json +1 -0
  82. package/.next/package.json +1 -0
  83. package/.next/prerender-manifest.json +1 -0
  84. package/.next/react-loadable-manifest.json +1 -0
  85. package/.next/required-server-files.json +1 -0
  86. package/.next/routes-manifest.json +1 -0
  87. package/.next/server/chunks/476.js +163 -0
  88. package/.next/server/chunks/664.js +2356 -0
  89. package/.next/server/chunks/952.js +490 -0
  90. package/.next/server/chunks/font-manifest.json +1 -0
  91. package/.next/server/font-manifest.json +1 -0
  92. package/.next/server/middleware-build-manifest.js +1 -0
  93. package/.next/server/middleware-manifest.json +6 -0
  94. package/.next/server/middleware-react-loadable-manifest.js +1 -0
  95. package/.next/server/pages/404.html +12 -0
  96. package/.next/server/pages/500.html +12 -0
  97. package/.next/server/pages/_app.js +48 -0
  98. package/.next/server/pages/_app.js.nft.json +1 -0
  99. package/.next/server/pages/_document.js +805 -0
  100. package/.next/server/pages/_document.js.nft.json +1 -0
  101. package/.next/server/pages/_error.js +148 -0
  102. package/.next/server/pages/_error.js.nft.json +1 -0
  103. package/.next/server/pages/api/list-files.js +62 -0
  104. package/.next/server/pages/api/list-files.js.nft.json +1 -0
  105. package/.next/server/pages/api/read-files.js +55 -0
  106. package/.next/server/pages/api/read-files.js.nft.json +1 -0
  107. package/.next/server/pages/diff.html +1 -0
  108. package/.next/server/pages/diff.js.nft.json +1 -0
  109. package/.next/server/pages/index.html +1 -0
  110. package/.next/server/pages/index.js.nft.json +1 -0
  111. package/.next/server/pages-manifest.json +10 -0
  112. package/.next/server/webpack-api-runtime.js +160 -0
  113. package/.next/server/webpack-runtime.js +229 -0
  114. package/.next/static/VAt3CPLu1afAlvOHzkCoH/_buildManifest.js +1 -0
  115. package/.next/static/VAt3CPLu1afAlvOHzkCoH/_ssgManifest.js +1 -0
  116. package/.next/static/chunks/0e226fb0-00ab5d79f793009b.js +1 -0
  117. package/.next/static/chunks/899-0ca12ffda618fea1.js +5 -0
  118. package/.next/static/chunks/903-c300b11b24cd4fba.js +14 -0
  119. package/.next/static/chunks/framework-9b5d6ec4444c80fa.js +35 -0
  120. package/.next/static/chunks/main-3123a443c688934f.js +1 -0
  121. package/.next/static/chunks/pages/_app-1afd9bee96321e29.js +1 -0
  122. package/.next/static/chunks/pages/_error-7397496ca01950b1.js +1 -0
  123. package/.next/static/chunks/pages/diff-f4630dbf204984ba.js +1 -0
  124. package/.next/static/chunks/pages/index-9a3fffac4032ef82.js +1 -0
  125. package/.next/static/chunks/polyfills-c67a75d1b6f99dc8.js +1 -0
  126. package/.next/static/chunks/webpack-f58abffb4e180982.js +1 -0
  127. package/.next/static/css/2baeaa3c21764938.css +1 -0
  128. package/.next/trace +2 -0
  129. package/README.md +1 -0
  130. package/cli.js +5 -0
  131. package/package.json +39 -0
@@ -0,0 +1,490 @@
1
+ "use strict";
2
+ exports.id = 952;
3
+ exports.ids = [952];
4
+ exports.modules = {
5
+
6
+ /***/ 6495:
7
+ /***/ ((__unused_webpack_module, exports) => {
8
+
9
+ var __webpack_unused_export__;
10
+
11
+ __webpack_unused_export__ = ({
12
+ value: true
13
+ });
14
+ exports.Z = _extends;
15
+ function _extends() {
16
+ return extends_.apply(this, arguments);
17
+ }
18
+ function extends_() {
19
+ extends_ = Object.assign || function(target) {
20
+ for(var i = 1; i < arguments.length; i++){
21
+ var source = arguments[i];
22
+ for(var key in source){
23
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
24
+ target[key] = source[key];
25
+ }
26
+ }
27
+ }
28
+ return target;
29
+ };
30
+ return extends_.apply(this, arguments);
31
+ }
32
+
33
+
34
+ /***/ }),
35
+
36
+ /***/ 1598:
37
+ /***/ ((__unused_webpack_module, exports) => {
38
+
39
+ var __webpack_unused_export__;
40
+
41
+ __webpack_unused_export__ = ({
42
+ value: true
43
+ });
44
+ exports.Z = _interopRequireWildcard;
45
+ function _interopRequireWildcard(obj) {
46
+ if (obj && obj.__esModule) {
47
+ return obj;
48
+ }
49
+ if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
50
+ return {
51
+ default: obj
52
+ };
53
+ }
54
+ var cache = _getRequireWildcardCache();
55
+ if (cache && cache.has(obj)) {
56
+ return cache.get(obj);
57
+ }
58
+ var newObj = {};
59
+ var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
60
+ for(var key in obj){
61
+ if (Object.prototype.hasOwnProperty.call(obj, key)) {
62
+ var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
63
+ if (desc && (desc.get || desc.set)) {
64
+ Object.defineProperty(newObj, key, desc);
65
+ } else {
66
+ newObj[key] = obj[key];
67
+ }
68
+ }
69
+ }
70
+ newObj.default = obj;
71
+ if (cache) {
72
+ cache.set(obj, newObj);
73
+ }
74
+ return newObj;
75
+ }
76
+ function _getRequireWildcardCache() {
77
+ if (typeof WeakMap !== "function") return null;
78
+ var cache = new WeakMap();
79
+ _getRequireWildcardCache = function() {
80
+ return cache;
81
+ };
82
+ return cache;
83
+ }
84
+
85
+
86
+ /***/ }),
87
+
88
+ /***/ 7273:
89
+ /***/ ((__unused_webpack_module, exports) => {
90
+
91
+ var __webpack_unused_export__;
92
+
93
+ __webpack_unused_export__ = ({
94
+ value: true
95
+ });
96
+ exports.Z = _objectWithoutPropertiesLoose;
97
+ function _objectWithoutPropertiesLoose(source, excluded) {
98
+ if (source == null) return {};
99
+ var target = {};
100
+ var sourceKeys = Object.keys(source);
101
+ var key, i;
102
+ for(i = 0; i < sourceKeys.length; i++){
103
+ key = sourceKeys[i];
104
+ if (excluded.indexOf(key) >= 0) continue;
105
+ target[key] = source[key];
106
+ }
107
+ return target;
108
+ }
109
+
110
+
111
+ /***/ }),
112
+
113
+ /***/ 6007:
114
+ /***/ ((module, exports) => {
115
+
116
+
117
+ Object.defineProperty(exports, "__esModule", ({
118
+ value: true
119
+ }));
120
+ exports["default"] = initHeadManager;
121
+ exports.isEqualNode = isEqualNode;
122
+ exports.DOMAttributeNames = void 0;
123
+ function initHeadManager() {
124
+ return {
125
+ mountedInstances: new Set(),
126
+ updateHead: (head)=>{
127
+ const tags = {};
128
+ head.forEach((h)=>{
129
+ if (// it won't be inlined. In this case revert to the original behavior
130
+ h.type === "link" && h.props["data-optimized-fonts"]) {
131
+ if (document.querySelector(`style[data-href="${h.props["data-href"]}"]`)) {
132
+ return;
133
+ } else {
134
+ h.props.href = h.props["data-href"];
135
+ h.props["data-href"] = undefined;
136
+ }
137
+ }
138
+ const components = tags[h.type] || [];
139
+ components.push(h);
140
+ tags[h.type] = components;
141
+ });
142
+ const titleComponent = tags.title ? tags.title[0] : null;
143
+ let title = "";
144
+ if (titleComponent) {
145
+ const { children } = titleComponent.props;
146
+ title = typeof children === "string" ? children : Array.isArray(children) ? children.join("") : "";
147
+ }
148
+ if (title !== document.title) document.title = title;
149
+ [
150
+ "meta",
151
+ "base",
152
+ "link",
153
+ "style",
154
+ "script"
155
+ ].forEach((type)=>{
156
+ updateElements(type, tags[type] || []);
157
+ });
158
+ }
159
+ };
160
+ }
161
+ const DOMAttributeNames = {
162
+ acceptCharset: "accept-charset",
163
+ className: "class",
164
+ htmlFor: "for",
165
+ httpEquiv: "http-equiv",
166
+ noModule: "noModule"
167
+ };
168
+ exports.DOMAttributeNames = DOMAttributeNames;
169
+ function reactElementToDOM({ type , props }) {
170
+ const el = document.createElement(type);
171
+ for(const p in props){
172
+ if (!props.hasOwnProperty(p)) continue;
173
+ if (p === "children" || p === "dangerouslySetInnerHTML") continue;
174
+ // we don't render undefined props to the DOM
175
+ if (props[p] === undefined) continue;
176
+ const attr = DOMAttributeNames[p] || p.toLowerCase();
177
+ if (type === "script" && (attr === "async" || attr === "defer" || attr === "noModule")) {
178
+ el[attr] = !!props[p];
179
+ } else {
180
+ el.setAttribute(attr, props[p]);
181
+ }
182
+ }
183
+ const { children , dangerouslySetInnerHTML } = props;
184
+ if (dangerouslySetInnerHTML) {
185
+ el.innerHTML = dangerouslySetInnerHTML.__html || "";
186
+ } else if (children) {
187
+ el.textContent = typeof children === "string" ? children : Array.isArray(children) ? children.join("") : "";
188
+ }
189
+ return el;
190
+ }
191
+ function isEqualNode(oldTag, newTag) {
192
+ if (oldTag instanceof HTMLElement && newTag instanceof HTMLElement) {
193
+ const nonce = newTag.getAttribute("nonce");
194
+ // Only strip the nonce if `oldTag` has had it stripped. An element's nonce attribute will not
195
+ // be stripped if there is no content security policy response header that includes a nonce.
196
+ if (nonce && !oldTag.getAttribute("nonce")) {
197
+ const cloneTag = newTag.cloneNode(true);
198
+ cloneTag.setAttribute("nonce", "");
199
+ cloneTag.nonce = nonce;
200
+ return nonce === oldTag.nonce && oldTag.isEqualNode(cloneTag);
201
+ }
202
+ }
203
+ return oldTag.isEqualNode(newTag);
204
+ }
205
+ function updateElements(type, components) {
206
+ const headEl = document.getElementsByTagName("head")[0];
207
+ const headCountEl = headEl.querySelector("meta[name=next-head-count]");
208
+ if (false) {}
209
+ const headCount = Number(headCountEl.content);
210
+ const oldTags = [];
211
+ for(let i = 0, j = headCountEl.previousElementSibling; i < headCount; i++, j = (j == null ? void 0 : j.previousElementSibling) || null){
212
+ var ref;
213
+ if ((j == null ? void 0 : (ref = j.tagName) == null ? void 0 : ref.toLowerCase()) === type) {
214
+ oldTags.push(j);
215
+ }
216
+ }
217
+ const newTags = components.map(reactElementToDOM).filter((newTag)=>{
218
+ for(let k = 0, len = oldTags.length; k < len; k++){
219
+ const oldTag = oldTags[k];
220
+ if (isEqualNode(oldTag, newTag)) {
221
+ oldTags.splice(k, 1);
222
+ return false;
223
+ }
224
+ }
225
+ return true;
226
+ });
227
+ oldTags.forEach((t)=>{
228
+ var ref;
229
+ return (ref = t.parentNode) == null ? void 0 : ref.removeChild(t);
230
+ });
231
+ newTags.forEach((t)=>headEl.insertBefore(t, headCountEl));
232
+ headCountEl.content = (headCount - oldTags.length + newTags.length).toString();
233
+ }
234
+ if ((typeof exports.default === "function" || typeof exports.default === "object" && exports.default !== null) && typeof exports.default.__esModule === "undefined") {
235
+ Object.defineProperty(exports.default, "__esModule", {
236
+ value: true
237
+ });
238
+ Object.assign(exports.default, exports);
239
+ module.exports = exports.default;
240
+ } //# sourceMappingURL=head-manager.js.map
241
+
242
+
243
+ /***/ }),
244
+
245
+ /***/ 9311:
246
+ /***/ ((module, exports) => {
247
+
248
+
249
+ Object.defineProperty(exports, "__esModule", ({
250
+ value: true
251
+ }));
252
+ exports.cancelIdleCallback = exports.requestIdleCallback = void 0;
253
+ const requestIdleCallback = typeof self !== "undefined" && self.requestIdleCallback && self.requestIdleCallback.bind(window) || function(cb) {
254
+ let start = Date.now();
255
+ return setTimeout(function() {
256
+ cb({
257
+ didTimeout: false,
258
+ timeRemaining: function() {
259
+ return Math.max(0, 50 - (Date.now() - start));
260
+ }
261
+ });
262
+ }, 1);
263
+ };
264
+ exports.requestIdleCallback = requestIdleCallback;
265
+ const cancelIdleCallback = typeof self !== "undefined" && self.cancelIdleCallback && self.cancelIdleCallback.bind(window) || function(id) {
266
+ return clearTimeout(id);
267
+ };
268
+ exports.cancelIdleCallback = cancelIdleCallback;
269
+ if ((typeof exports.default === "function" || typeof exports.default === "object" && exports.default !== null) && typeof exports.default.__esModule === "undefined") {
270
+ Object.defineProperty(exports.default, "__esModule", {
271
+ value: true
272
+ });
273
+ Object.assign(exports.default, exports);
274
+ module.exports = exports.default;
275
+ } //# sourceMappingURL=request-idle-callback.js.map
276
+
277
+
278
+ /***/ }),
279
+
280
+ /***/ 699:
281
+ /***/ ((module, exports, __webpack_require__) => {
282
+
283
+
284
+ Object.defineProperty(exports, "__esModule", ({
285
+ value: true
286
+ }));
287
+ exports.handleClientScriptLoad = handleClientScriptLoad;
288
+ exports.initScriptLoader = initScriptLoader;
289
+ exports["default"] = void 0;
290
+ var _extends = (__webpack_require__(6495)/* ["default"] */ .Z);
291
+ var _interop_require_wildcard = (__webpack_require__(1598)/* ["default"] */ .Z);
292
+ var _object_without_properties_loose = (__webpack_require__(7273)/* ["default"] */ .Z);
293
+ var _react = _interop_require_wildcard(__webpack_require__(6689));
294
+ var _headManagerContext = __webpack_require__(2796);
295
+ var _headManager = __webpack_require__(6007);
296
+ var _requestIdleCallback = __webpack_require__(9311);
297
+ const ScriptCache = new Map();
298
+ const LoadCache = new Set();
299
+ const ignoreProps = [
300
+ "onLoad",
301
+ "onReady",
302
+ "dangerouslySetInnerHTML",
303
+ "children",
304
+ "onError",
305
+ "strategy",
306
+ ];
307
+ const loadScript = (props)=>{
308
+ const { src , id , onLoad =()=>{} , onReady =null , dangerouslySetInnerHTML , children ="" , strategy ="afterInteractive" , onError , } = props;
309
+ const cacheKey = id || src;
310
+ // Script has already loaded
311
+ if (cacheKey && LoadCache.has(cacheKey)) {
312
+ return;
313
+ }
314
+ // Contents of this script are already loading/loaded
315
+ if (ScriptCache.has(src)) {
316
+ LoadCache.add(cacheKey);
317
+ // Execute onLoad since the script loading has begun
318
+ ScriptCache.get(src).then(onLoad, onError);
319
+ return;
320
+ }
321
+ const el = document.createElement("script");
322
+ const loadPromise = new Promise((resolve, reject)=>{
323
+ el.addEventListener("load", function(e) {
324
+ resolve();
325
+ if (onLoad) {
326
+ onLoad.call(this, e);
327
+ }
328
+ // Run onReady for the first time after load event
329
+ if (onReady) {
330
+ onReady();
331
+ }
332
+ });
333
+ el.addEventListener("error", function(e) {
334
+ reject(e);
335
+ });
336
+ }).catch(function(e) {
337
+ if (onError) {
338
+ onError(e);
339
+ }
340
+ });
341
+ if (src) {
342
+ ScriptCache.set(src, loadPromise);
343
+ }
344
+ LoadCache.add(cacheKey);
345
+ if (dangerouslySetInnerHTML) {
346
+ el.innerHTML = dangerouslySetInnerHTML.__html || "";
347
+ } else if (children) {
348
+ el.textContent = typeof children === "string" ? children : Array.isArray(children) ? children.join("") : "";
349
+ } else if (src) {
350
+ el.src = src;
351
+ }
352
+ for (const [k, value] of Object.entries(props)){
353
+ if (value === undefined || ignoreProps.includes(k)) {
354
+ continue;
355
+ }
356
+ const attr = _headManager.DOMAttributeNames[k] || k.toLowerCase();
357
+ el.setAttribute(attr, value);
358
+ }
359
+ if (strategy === "worker") {
360
+ el.setAttribute("type", "text/partytown");
361
+ }
362
+ el.setAttribute("data-nscript", strategy);
363
+ document.body.appendChild(el);
364
+ };
365
+ function handleClientScriptLoad(props) {
366
+ const { strategy ="afterInteractive" } = props;
367
+ if (strategy === "lazyOnload") {
368
+ window.addEventListener("load", ()=>{
369
+ (0, _requestIdleCallback).requestIdleCallback(()=>loadScript(props));
370
+ });
371
+ } else {
372
+ loadScript(props);
373
+ }
374
+ }
375
+ function loadLazyScript(props) {
376
+ if (document.readyState === "complete") {
377
+ (0, _requestIdleCallback).requestIdleCallback(()=>loadScript(props));
378
+ } else {
379
+ window.addEventListener("load", ()=>{
380
+ (0, _requestIdleCallback).requestIdleCallback(()=>loadScript(props));
381
+ });
382
+ }
383
+ }
384
+ function addBeforeInteractiveToCache() {
385
+ const scripts = [
386
+ ...document.querySelectorAll('[data-nscript="beforeInteractive"]'),
387
+ ...document.querySelectorAll('[data-nscript="beforePageRender"]'),
388
+ ];
389
+ scripts.forEach((script)=>{
390
+ const cacheKey = script.id || script.getAttribute("src");
391
+ LoadCache.add(cacheKey);
392
+ });
393
+ }
394
+ function initScriptLoader(scriptLoaderItems) {
395
+ scriptLoaderItems.forEach(handleClientScriptLoad);
396
+ addBeforeInteractiveToCache();
397
+ }
398
+ function Script(props) {
399
+ const { id , src ="" , onLoad =()=>{} , onReady =null , strategy ="afterInteractive" , onError } = props, restProps = _object_without_properties_loose(props, [
400
+ "id",
401
+ "src",
402
+ "onLoad",
403
+ "onReady",
404
+ "strategy",
405
+ "onError"
406
+ ]);
407
+ // Context is available only during SSR
408
+ const { updateScripts , scripts , getIsSsr } = (0, _react).useContext(_headManagerContext.HeadManagerContext);
409
+ (0, _react).useEffect(()=>{
410
+ const cacheKey = id || src;
411
+ // Run onReady if script has loaded before but component is re-mounted
412
+ if (onReady && cacheKey && LoadCache.has(cacheKey)) {
413
+ onReady();
414
+ }
415
+ }, [
416
+ onReady,
417
+ id,
418
+ src
419
+ ]);
420
+ (0, _react).useEffect(()=>{
421
+ if (strategy === "afterInteractive") {
422
+ loadScript(props);
423
+ } else if (strategy === "lazyOnload") {
424
+ loadLazyScript(props);
425
+ }
426
+ }, [
427
+ props,
428
+ strategy
429
+ ]);
430
+ if (strategy === "beforeInteractive" || strategy === "worker") {
431
+ if (updateScripts) {
432
+ scripts[strategy] = (scripts[strategy] || []).concat([
433
+ _extends({
434
+ id,
435
+ src,
436
+ onLoad,
437
+ onReady,
438
+ onError
439
+ }, restProps),
440
+ ]);
441
+ updateScripts(scripts);
442
+ } else if (getIsSsr && getIsSsr()) {
443
+ // Script has already loaded during SSR
444
+ LoadCache.add(id || src);
445
+ } else if (getIsSsr && !getIsSsr()) {
446
+ loadScript(props);
447
+ }
448
+ }
449
+ return null;
450
+ }
451
+ var _default = Script;
452
+ exports["default"] = _default;
453
+ if ((typeof exports.default === "function" || typeof exports.default === "object" && exports.default !== null) && typeof exports.default.__esModule === "undefined") {
454
+ Object.defineProperty(exports.default, "__esModule", {
455
+ value: true
456
+ });
457
+ Object.assign(exports.default, exports);
458
+ module.exports = exports.default;
459
+ } //# sourceMappingURL=script.js.map
460
+
461
+
462
+ /***/ }),
463
+
464
+ /***/ 676:
465
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
466
+
467
+
468
+ Object.defineProperty(exports, "__esModule", ({
469
+ value: true
470
+ }));
471
+ exports["default"] = isError;
472
+ exports.getProperError = getProperError;
473
+ var _isPlainObject = __webpack_require__(8524);
474
+ function isError(err) {
475
+ return typeof err === "object" && err !== null && "name" in err && "message" in err;
476
+ }
477
+ function getProperError(err) {
478
+ if (isError(err)) {
479
+ return err;
480
+ }
481
+ if (false) {}
482
+ return new Error((0, _isPlainObject).isPlainObject(err) ? JSON.stringify(err) : err + "");
483
+ }
484
+
485
+ //# sourceMappingURL=is-error.js.map
486
+
487
+ /***/ })
488
+
489
+ };
490
+ ;
@@ -0,0 +1 @@
1
+ []
@@ -0,0 +1 @@
1
+ []
@@ -0,0 +1 @@
1
+ self.__BUILD_MANIFEST={polyfillFiles:["static/chunks/polyfills-c67a75d1b6f99dc8.js"],devFiles:[],ampDevFiles:[],lowPriorityFiles:["static/VAt3CPLu1afAlvOHzkCoH/_buildManifest.js","static/VAt3CPLu1afAlvOHzkCoH/_ssgManifest.js"],rootMainFiles:[],pages:{"/":["static/chunks/webpack-f58abffb4e180982.js","static/chunks/framework-9b5d6ec4444c80fa.js","static/chunks/main-3123a443c688934f.js","static/chunks/0e226fb0-00ab5d79f793009b.js","static/chunks/903-c300b11b24cd4fba.js","static/chunks/pages/index-9a3fffac4032ef82.js"],"/_app":["static/chunks/webpack-f58abffb4e180982.js","static/chunks/framework-9b5d6ec4444c80fa.js","static/chunks/main-3123a443c688934f.js","static/css/2baeaa3c21764938.css","static/chunks/pages/_app-1afd9bee96321e29.js"],"/_error":["static/chunks/webpack-f58abffb4e180982.js","static/chunks/framework-9b5d6ec4444c80fa.js","static/chunks/main-3123a443c688934f.js","static/chunks/pages/_error-7397496ca01950b1.js"],"/diff":["static/chunks/webpack-f58abffb4e180982.js","static/chunks/framework-9b5d6ec4444c80fa.js","static/chunks/main-3123a443c688934f.js","static/chunks/903-c300b11b24cd4fba.js","static/chunks/899-0ca12ffda618fea1.js","static/chunks/pages/diff-f4630dbf204984ba.js"]},ampFirstPages:[]}
@@ -0,0 +1,6 @@
1
+ {
2
+ "sortedMiddleware": [],
3
+ "middleware": {},
4
+ "functions": {},
5
+ "version": 1
6
+ }
@@ -0,0 +1 @@
1
+ self.__REACT_LOADABLE_MANIFEST={}
@@ -0,0 +1,12 @@
1
+ <!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><title>404: This page could not be found</title><meta name="next-head-count" content="3"/><link rel="preload" href="/_next/static/css/2baeaa3c21764938.css" as="style"/><link rel="stylesheet" href="/_next/static/css/2baeaa3c21764938.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script><script src="/_next/static/chunks/webpack-f58abffb4e180982.js" defer=""></script><script src="/_next/static/chunks/framework-9b5d6ec4444c80fa.js" defer=""></script><script src="/_next/static/chunks/main-3123a443c688934f.js" defer=""></script><script src="/_next/static/chunks/pages/_app-1afd9bee96321e29.js" defer=""></script><script src="/_next/static/chunks/pages/_error-7397496ca01950b1.js" defer=""></script><script src="/_next/static/VAt3CPLu1afAlvOHzkCoH/_buildManifest.js" defer=""></script><script src="/_next/static/VAt3CPLu1afAlvOHzkCoH/_ssgManifest.js" defer=""></script></head><body><div id="__next"><div style="font-family:-apple-system, BlinkMacSystemFont, Roboto, &quot;Segoe UI&quot;, &quot;Fira Sans&quot;, Avenir, &quot;Helvetica Neue&quot;, &quot;Lucida Grande&quot;, sans-serif;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>
2
+ body { margin: 0; color: #000; background: #fff; }
3
+ .next-error-h1 {
4
+ border-right: 1px solid rgba(0, 0, 0, .3);
5
+ }
6
+
7
+ @media (prefers-color-scheme: dark) {
8
+ body { color: #fff; background: #000; }
9
+ .next-error-h1 {
10
+ border-right: 1px solid rgba(255, 255, 255, .3);
11
+ }
12
+ }</style><h1 class="next-error-h1" style="display:inline-block;margin:0;margin-right:20px;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block;text-align:left;line-height:49px;height:49px;vertical-align:middle"><h2 style="font-size:14px;font-weight:normal;line-height:49px;margin:0;padding:0">This page could not be found<!-- -->.</h2></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":404}},"page":"/_error","query":{},"buildId":"VAt3CPLu1afAlvOHzkCoH","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
@@ -0,0 +1,12 @@
1
+ <!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><title>500: Internal Server Error</title><meta name="next-head-count" content="3"/><link rel="preload" href="/_next/static/css/2baeaa3c21764938.css" as="style"/><link rel="stylesheet" href="/_next/static/css/2baeaa3c21764938.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script><script src="/_next/static/chunks/webpack-f58abffb4e180982.js" defer=""></script><script src="/_next/static/chunks/framework-9b5d6ec4444c80fa.js" defer=""></script><script src="/_next/static/chunks/main-3123a443c688934f.js" defer=""></script><script src="/_next/static/chunks/pages/_app-1afd9bee96321e29.js" defer=""></script><script src="/_next/static/chunks/pages/_error-7397496ca01950b1.js" defer=""></script><script src="/_next/static/VAt3CPLu1afAlvOHzkCoH/_buildManifest.js" defer=""></script><script src="/_next/static/VAt3CPLu1afAlvOHzkCoH/_ssgManifest.js" defer=""></script></head><body><div id="__next"><div style="font-family:-apple-system, BlinkMacSystemFont, Roboto, &quot;Segoe UI&quot;, &quot;Fira Sans&quot;, Avenir, &quot;Helvetica Neue&quot;, &quot;Lucida Grande&quot;, sans-serif;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>
2
+ body { margin: 0; color: #000; background: #fff; }
3
+ .next-error-h1 {
4
+ border-right: 1px solid rgba(0, 0, 0, .3);
5
+ }
6
+
7
+ @media (prefers-color-scheme: dark) {
8
+ body { color: #fff; background: #000; }
9
+ .next-error-h1 {
10
+ border-right: 1px solid rgba(255, 255, 255, .3);
11
+ }
12
+ }</style><h1 class="next-error-h1" style="display:inline-block;margin:0;margin-right:20px;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">500</h1><div style="display:inline-block;text-align:left;line-height:49px;height:49px;vertical-align:middle"><h2 style="font-size:14px;font-weight:normal;line-height:49px;margin:0;padding:0">Internal Server Error<!-- -->.</h2></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":500}},"page":"/_error","query":{},"buildId":"VAt3CPLu1afAlvOHzkCoH","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ (() => {
3
+ var exports = {};
4
+ exports.id = 888;
5
+ exports.ids = [888];
6
+ exports.modules = {
7
+
8
+ /***/ 5656:
9
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
10
+
11
+ __webpack_require__.r(__webpack_exports__);
12
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
13
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
14
+ /* harmony export */ });
15
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(997);
16
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__);
17
+
18
+
19
+ function MyApp({ Component , pageProps }) {
20
+ return /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
21
+ children: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(Component, {
22
+ ...pageProps
23
+ })
24
+ });
25
+ }
26
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MyApp);
27
+
28
+
29
+ /***/ }),
30
+
31
+ /***/ 997:
32
+ /***/ ((module) => {
33
+
34
+ module.exports = require("react/jsx-runtime");
35
+
36
+ /***/ })
37
+
38
+ };
39
+ ;
40
+
41
+ // load runtime
42
+ var __webpack_require__ = require("../webpack-runtime.js");
43
+ __webpack_require__.C(exports);
44
+ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
45
+ var __webpack_exports__ = (__webpack_exec__(5656));
46
+ module.exports = __webpack_exports__;
47
+
48
+ })();
@@ -0,0 +1 @@
1
+ {"version":1,"files":["../webpack-runtime.js","../../package.json","../../../node_modules/react/package.json","../../../node_modules/react/jsx-runtime.js","../../../node_modules/react/index.js","../../../node_modules/react/cjs/react-jsx-runtime.production.min.js","../../../node_modules/react/cjs/react-jsx-runtime.development.js","../../../node_modules/react/cjs/react.production.min.js","../../../node_modules/react/cjs/react.development.js","../../../package.json"]}