@dust-tt/sparkle 0.2.213 → 0.2.214-pr

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.
package/dist/esm/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import React__default, { createContext, useRef, useState, useEffect, useContext, useCallback, Children, cloneElement, useLayoutEffect, useMemo, forwardRef, Fragment, isValidElement, createElement, useReducer, createRef } from 'react';
3
3
  import url from 'url';
4
- import { Fragment as Fragment$1, jsx, jsxs } from 'react/jsx-runtime';
4
+ import require$$1, { Fragment as Fragment$1, jsx, jsxs } from 'react/jsx-runtime';
5
5
 
6
6
  function styleInject(css, ref) {
7
7
  if ( ref === void 0 ) ref = {};
@@ -39777,7 +39777,7 @@ function createEmojiAndBackgroundUrlSuffix(_a) {
39777
39777
  return "emojis/".concat(backgroundColor, "/").concat(id, "/").concat(unified);
39778
39778
  }
39779
39779
 
39780
- var utils = /*#__PURE__*/Object.freeze({
39780
+ var utils$2 = /*#__PURE__*/Object.freeze({
39781
39781
  __proto__: null,
39782
39782
  createEmojiAndBackgroundUrlSuffix: createEmojiAndBackgroundUrlSuffix,
39783
39783
  getEmojiAndBackgroundFromUrl: getEmojiAndBackgroundFromUrl
@@ -120050,7 +120050,7 @@ function linkReference(state, node) {
120050
120050
  * @returns {Element}
120051
120051
  * hast node.
120052
120052
  */
120053
- function link(state, node) {
120053
+ function link$2(state, node) {
120054
120054
  /** @type {Properties} */
120055
120055
  const properties = {href: normalizeUri(node.url)};
120056
120056
 
@@ -120633,7 +120633,7 @@ const handlers = {
120633
120633
  image,
120634
120634
  inlineCode,
120635
120635
  linkReference,
120636
- link,
120636
+ link: link$2,
120637
120637
  listItem,
120638
120638
  list,
120639
120639
  paragraph,
@@ -129162,6 +129162,2744 @@ DataTable.Caption = function Caption(_a) {
129162
129162
  return (React__default.createElement("caption", __assign({ className: className }, props), children));
129163
129163
  };
129164
129164
 
129165
+ var link$1 = {exports: {}};
129166
+
129167
+ var _interop_require_default$1 = {};
129168
+
129169
+ _interop_require_default$1._ = _interop_require_default$1._interop_require_default = _interop_require_default;
129170
+ function _interop_require_default(obj) {
129171
+ return obj && obj.__esModule ? obj : { default: obj };
129172
+ }
129173
+
129174
+ var resolveHref = {exports: {}};
129175
+
129176
+ var querystring = {};
129177
+
129178
+ var hasRequiredQuerystring;
129179
+
129180
+ function requireQuerystring () {
129181
+ if (hasRequiredQuerystring) return querystring;
129182
+ hasRequiredQuerystring = 1;
129183
+ (function (exports) {
129184
+ Object.defineProperty(exports, "__esModule", {
129185
+ value: true
129186
+ });
129187
+ function _export(target, all) {
129188
+ for(var name in all)Object.defineProperty(target, name, {
129189
+ enumerable: true,
129190
+ get: all[name]
129191
+ });
129192
+ }
129193
+ _export(exports, {
129194
+ assign: function() {
129195
+ return assign;
129196
+ },
129197
+ searchParamsToUrlQuery: function() {
129198
+ return searchParamsToUrlQuery;
129199
+ },
129200
+ urlQueryToSearchParams: function() {
129201
+ return urlQueryToSearchParams;
129202
+ }
129203
+ });
129204
+ function searchParamsToUrlQuery(searchParams) {
129205
+ const query = {};
129206
+ searchParams.forEach((value, key)=>{
129207
+ if (typeof query[key] === "undefined") {
129208
+ query[key] = value;
129209
+ } else if (Array.isArray(query[key])) {
129210
+ query[key].push(value);
129211
+ } else {
129212
+ query[key] = [
129213
+ query[key],
129214
+ value
129215
+ ];
129216
+ }
129217
+ });
129218
+ return query;
129219
+ }
129220
+ function stringifyUrlQueryParam(param) {
129221
+ if (typeof param === "string" || typeof param === "number" && !isNaN(param) || typeof param === "boolean") {
129222
+ return String(param);
129223
+ } else {
129224
+ return "";
129225
+ }
129226
+ }
129227
+ function urlQueryToSearchParams(urlQuery) {
129228
+ const result = new URLSearchParams();
129229
+ Object.entries(urlQuery).forEach((param)=>{
129230
+ let [key, value] = param;
129231
+ if (Array.isArray(value)) {
129232
+ value.forEach((item)=>result.append(key, stringifyUrlQueryParam(item)));
129233
+ } else {
129234
+ result.set(key, stringifyUrlQueryParam(value));
129235
+ }
129236
+ });
129237
+ return result;
129238
+ }
129239
+ function assign(target) {
129240
+ for(var _len = arguments.length, searchParamsList = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
129241
+ searchParamsList[_key - 1] = arguments[_key];
129242
+ }
129243
+ searchParamsList.forEach((searchParams)=>{
129244
+ Array.from(searchParams.keys()).forEach((key)=>target.delete(key));
129245
+ searchParams.forEach((value, key)=>target.append(key, value));
129246
+ });
129247
+ return target;
129248
+ }
129249
+
129250
+
129251
+ } (querystring));
129252
+ return querystring;
129253
+ }
129254
+
129255
+ var formatUrl = {};
129256
+
129257
+ var _interop_require_wildcard = {};
129258
+
129259
+ var hasRequired_interop_require_wildcard;
129260
+
129261
+ function require_interop_require_wildcard () {
129262
+ if (hasRequired_interop_require_wildcard) return _interop_require_wildcard;
129263
+ hasRequired_interop_require_wildcard = 1;
129264
+
129265
+ function _getRequireWildcardCache(nodeInterop) {
129266
+ if (typeof WeakMap !== "function") return null;
129267
+
129268
+ var cacheBabelInterop = new WeakMap();
129269
+ var cacheNodeInterop = new WeakMap();
129270
+
129271
+ return (_getRequireWildcardCache = function(nodeInterop) {
129272
+ return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
129273
+ })(nodeInterop);
129274
+ }
129275
+ _interop_require_wildcard._ = _interop_require_wildcard._interop_require_wildcard = _interop_require_wildcard$1;
129276
+ function _interop_require_wildcard$1(obj, nodeInterop) {
129277
+ if (!nodeInterop && obj && obj.__esModule) return obj;
129278
+ if (obj === null || typeof obj !== "object" && typeof obj !== "function") return { default: obj };
129279
+
129280
+ var cache = _getRequireWildcardCache(nodeInterop);
129281
+
129282
+ if (cache && cache.has(obj)) return cache.get(obj);
129283
+
129284
+ var newObj = { __proto__: null };
129285
+ var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
129286
+
129287
+ for (var key in obj) {
129288
+ if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
129289
+ var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
129290
+ if (desc && (desc.get || desc.set)) Object.defineProperty(newObj, key, desc);
129291
+ else newObj[key] = obj[key];
129292
+ }
129293
+ }
129294
+
129295
+ newObj.default = obj;
129296
+
129297
+ if (cache) cache.set(obj, newObj);
129298
+
129299
+ return newObj;
129300
+ }
129301
+ return _interop_require_wildcard;
129302
+ }
129303
+
129304
+ var hasRequiredFormatUrl;
129305
+
129306
+ function requireFormatUrl () {
129307
+ if (hasRequiredFormatUrl) return formatUrl;
129308
+ hasRequiredFormatUrl = 1;
129309
+ (function (exports) {
129310
+ Object.defineProperty(exports, "__esModule", {
129311
+ value: true
129312
+ });
129313
+ function _export(target, all) {
129314
+ for(var name in all)Object.defineProperty(target, name, {
129315
+ enumerable: true,
129316
+ get: all[name]
129317
+ });
129318
+ }
129319
+ _export(exports, {
129320
+ formatUrl: function() {
129321
+ return formatUrl;
129322
+ },
129323
+ formatWithValidation: function() {
129324
+ return formatWithValidation;
129325
+ },
129326
+ urlObjectKeys: function() {
129327
+ return urlObjectKeys;
129328
+ }
129329
+ });
129330
+ const _interop_require_wildcard = require_interop_require_wildcard();
129331
+ const _querystring = /*#__PURE__*/ _interop_require_wildcard._(requireQuerystring());
129332
+ const slashedProtocols = /https?|ftp|gopher|file/;
129333
+ function formatUrl(urlObj) {
129334
+ let { auth, hostname } = urlObj;
129335
+ let protocol = urlObj.protocol || "";
129336
+ let pathname = urlObj.pathname || "";
129337
+ let hash = urlObj.hash || "";
129338
+ let query = urlObj.query || "";
129339
+ let host = false;
129340
+ auth = auth ? encodeURIComponent(auth).replace(/%3A/i, ":") + "@" : "";
129341
+ if (urlObj.host) {
129342
+ host = auth + urlObj.host;
129343
+ } else if (hostname) {
129344
+ host = auth + (~hostname.indexOf(":") ? "[" + hostname + "]" : hostname);
129345
+ if (urlObj.port) {
129346
+ host += ":" + urlObj.port;
129347
+ }
129348
+ }
129349
+ if (query && typeof query === "object") {
129350
+ query = String(_querystring.urlQueryToSearchParams(query));
129351
+ }
129352
+ let search = urlObj.search || query && "?" + query || "";
129353
+ if (protocol && !protocol.endsWith(":")) protocol += ":";
129354
+ if (urlObj.slashes || (!protocol || slashedProtocols.test(protocol)) && host !== false) {
129355
+ host = "//" + (host || "");
129356
+ if (pathname && pathname[0] !== "/") pathname = "/" + pathname;
129357
+ } else if (!host) {
129358
+ host = "";
129359
+ }
129360
+ if (hash && hash[0] !== "#") hash = "#" + hash;
129361
+ if (search && search[0] !== "?") search = "?" + search;
129362
+ pathname = pathname.replace(/[?#]/g, encodeURIComponent);
129363
+ search = search.replace("#", "%23");
129364
+ return "" + protocol + host + pathname + search + hash;
129365
+ }
129366
+ const urlObjectKeys = [
129367
+ "auth",
129368
+ "hash",
129369
+ "host",
129370
+ "hostname",
129371
+ "href",
129372
+ "path",
129373
+ "pathname",
129374
+ "port",
129375
+ "protocol",
129376
+ "query",
129377
+ "search",
129378
+ "slashes"
129379
+ ];
129380
+ function formatWithValidation(url) {
129381
+ if (process.env.NODE_ENV === "development") {
129382
+ if (url !== null && typeof url === "object") {
129383
+ Object.keys(url).forEach((key)=>{
129384
+ if (!urlObjectKeys.includes(key)) {
129385
+ console.warn("Unknown key passed via urlObject into url.format: " + key);
129386
+ }
129387
+ });
129388
+ }
129389
+ }
129390
+ return formatUrl(url);
129391
+ }
129392
+
129393
+
129394
+ } (formatUrl));
129395
+ return formatUrl;
129396
+ }
129397
+
129398
+ var omit = {};
129399
+
129400
+ var hasRequiredOmit;
129401
+
129402
+ function requireOmit () {
129403
+ if (hasRequiredOmit) return omit;
129404
+ hasRequiredOmit = 1;
129405
+ (function (exports) {
129406
+ Object.defineProperty(exports, "__esModule", {
129407
+ value: true
129408
+ });
129409
+ Object.defineProperty(exports, "omit", {
129410
+ enumerable: true,
129411
+ get: function() {
129412
+ return omit;
129413
+ }
129414
+ });
129415
+ function omit(object, keys) {
129416
+ const omitted = {};
129417
+ Object.keys(object).forEach((key)=>{
129418
+ if (!keys.includes(key)) {
129419
+ omitted[key] = object[key];
129420
+ }
129421
+ });
129422
+ return omitted;
129423
+ }
129424
+
129425
+
129426
+ } (omit));
129427
+ return omit;
129428
+ }
129429
+
129430
+ var utils$1 = {};
129431
+
129432
+ var hasRequiredUtils$1;
129433
+
129434
+ function requireUtils$1 () {
129435
+ if (hasRequiredUtils$1) return utils$1;
129436
+ hasRequiredUtils$1 = 1;
129437
+ (function (exports) {
129438
+ Object.defineProperty(exports, "__esModule", {
129439
+ value: true
129440
+ });
129441
+ function _export(target, all) {
129442
+ for(var name in all)Object.defineProperty(target, name, {
129443
+ enumerable: true,
129444
+ get: all[name]
129445
+ });
129446
+ }
129447
+ _export(exports, {
129448
+ DecodeError: function() {
129449
+ return DecodeError;
129450
+ },
129451
+ MiddlewareNotFoundError: function() {
129452
+ return MiddlewareNotFoundError;
129453
+ },
129454
+ MissingStaticPage: function() {
129455
+ return MissingStaticPage;
129456
+ },
129457
+ NormalizeError: function() {
129458
+ return NormalizeError;
129459
+ },
129460
+ PageNotFoundError: function() {
129461
+ return PageNotFoundError;
129462
+ },
129463
+ SP: function() {
129464
+ return SP;
129465
+ },
129466
+ ST: function() {
129467
+ return ST;
129468
+ },
129469
+ WEB_VITALS: function() {
129470
+ return WEB_VITALS;
129471
+ },
129472
+ execOnce: function() {
129473
+ return execOnce;
129474
+ },
129475
+ getDisplayName: function() {
129476
+ return getDisplayName;
129477
+ },
129478
+ getLocationOrigin: function() {
129479
+ return getLocationOrigin;
129480
+ },
129481
+ getURL: function() {
129482
+ return getURL;
129483
+ },
129484
+ isAbsoluteUrl: function() {
129485
+ return isAbsoluteUrl;
129486
+ },
129487
+ isResSent: function() {
129488
+ return isResSent;
129489
+ },
129490
+ loadGetInitialProps: function() {
129491
+ return loadGetInitialProps;
129492
+ },
129493
+ normalizeRepeatedSlashes: function() {
129494
+ return normalizeRepeatedSlashes;
129495
+ },
129496
+ stringifyError: function() {
129497
+ return stringifyError;
129498
+ }
129499
+ });
129500
+ const WEB_VITALS = [
129501
+ "CLS",
129502
+ "FCP",
129503
+ "FID",
129504
+ "INP",
129505
+ "LCP",
129506
+ "TTFB"
129507
+ ];
129508
+ function execOnce(fn) {
129509
+ let used = false;
129510
+ let result;
129511
+ return function() {
129512
+ for(var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++){
129513
+ args[_key] = arguments[_key];
129514
+ }
129515
+ if (!used) {
129516
+ used = true;
129517
+ result = fn(...args);
129518
+ }
129519
+ return result;
129520
+ };
129521
+ }
129522
+ // Scheme: https://tools.ietf.org/html/rfc3986#section-3.1
129523
+ // Absolute URL: https://tools.ietf.org/html/rfc3986#section-4.3
129524
+ const ABSOLUTE_URL_REGEX = /^[a-zA-Z][a-zA-Z\d+\-.]*?:/;
129525
+ const isAbsoluteUrl = (url)=>ABSOLUTE_URL_REGEX.test(url);
129526
+ function getLocationOrigin() {
129527
+ const { protocol, hostname, port } = window.location;
129528
+ return protocol + "//" + hostname + (port ? ":" + port : "");
129529
+ }
129530
+ function getURL() {
129531
+ const { href } = window.location;
129532
+ const origin = getLocationOrigin();
129533
+ return href.substring(origin.length);
129534
+ }
129535
+ function getDisplayName(Component) {
129536
+ return typeof Component === "string" ? Component : Component.displayName || Component.name || "Unknown";
129537
+ }
129538
+ function isResSent(res) {
129539
+ return res.finished || res.headersSent;
129540
+ }
129541
+ function normalizeRepeatedSlashes(url) {
129542
+ const urlParts = url.split("?");
129543
+ const urlNoQuery = urlParts[0];
129544
+ return urlNoQuery// first we replace any non-encoded backslashes with forward
129545
+ // then normalize repeated forward slashes
129546
+ .replace(/\\/g, "/").replace(/\/\/+/g, "/") + (urlParts[1] ? "?" + urlParts.slice(1).join("?") : "");
129547
+ }
129548
+ async function loadGetInitialProps(App, ctx) {
129549
+ if (process.env.NODE_ENV !== "production") {
129550
+ var _App_prototype;
129551
+ if ((_App_prototype = App.prototype) == null ? void 0 : _App_prototype.getInitialProps) {
129552
+ const message = '"' + getDisplayName(App) + '.getInitialProps()" is defined as an instance method - visit https://nextjs.org/docs/messages/get-initial-props-as-an-instance-method for more information.';
129553
+ throw new Error(message);
129554
+ }
129555
+ }
129556
+ // when called from _app `ctx` is nested in `ctx`
129557
+ const res = ctx.res || ctx.ctx && ctx.ctx.res;
129558
+ if (!App.getInitialProps) {
129559
+ if (ctx.ctx && ctx.Component) {
129560
+ // @ts-ignore pageProps default
129561
+ return {
129562
+ pageProps: await loadGetInitialProps(ctx.Component, ctx.ctx)
129563
+ };
129564
+ }
129565
+ return {};
129566
+ }
129567
+ const props = await App.getInitialProps(ctx);
129568
+ if (res && isResSent(res)) {
129569
+ return props;
129570
+ }
129571
+ if (!props) {
129572
+ const message = '"' + getDisplayName(App) + '.getInitialProps()" should resolve to an object. But found "' + props + '" instead.';
129573
+ throw new Error(message);
129574
+ }
129575
+ if (process.env.NODE_ENV !== "production") {
129576
+ if (Object.keys(props).length === 0 && !ctx.ctx) {
129577
+ console.warn("" + getDisplayName(App) + " returned an empty object from `getInitialProps`. This de-optimizes and prevents automatic static optimization. https://nextjs.org/docs/messages/empty-object-getInitialProps");
129578
+ }
129579
+ }
129580
+ return props;
129581
+ }
129582
+ const SP = typeof performance !== "undefined";
129583
+ const ST = SP && [
129584
+ "mark",
129585
+ "measure",
129586
+ "getEntriesByName"
129587
+ ].every((method)=>typeof performance[method] === "function");
129588
+ class DecodeError extends Error {
129589
+ }
129590
+ class NormalizeError extends Error {
129591
+ }
129592
+ class PageNotFoundError extends Error {
129593
+ constructor(page){
129594
+ super();
129595
+ this.code = "ENOENT";
129596
+ this.name = "PageNotFoundError";
129597
+ this.message = "Cannot find module for page: " + page;
129598
+ }
129599
+ }
129600
+ class MissingStaticPage extends Error {
129601
+ constructor(page, message){
129602
+ super();
129603
+ this.message = "Failed to load static file for page: " + page + " " + message;
129604
+ }
129605
+ }
129606
+ class MiddlewareNotFoundError extends Error {
129607
+ constructor(){
129608
+ super();
129609
+ this.code = "ENOENT";
129610
+ this.message = "Cannot find the middleware module";
129611
+ }
129612
+ }
129613
+ function stringifyError(error) {
129614
+ return JSON.stringify({
129615
+ message: error.message,
129616
+ stack: error.stack
129617
+ });
129618
+ }
129619
+
129620
+
129621
+ } (utils$1));
129622
+ return utils$1;
129623
+ }
129624
+
129625
+ var normalizeTrailingSlash = {exports: {}};
129626
+
129627
+ var removeTrailingSlash = {};
129628
+
129629
+ /**
129630
+ * Removes the trailing slash for a given route or page path. Preserves the
129631
+ * root page. Examples:
129632
+ * - `/foo/bar/` -> `/foo/bar`
129633
+ * - `/foo/bar` -> `/foo/bar`
129634
+ * - `/` -> `/`
129635
+ */
129636
+
129637
+ var hasRequiredRemoveTrailingSlash;
129638
+
129639
+ function requireRemoveTrailingSlash () {
129640
+ if (hasRequiredRemoveTrailingSlash) return removeTrailingSlash;
129641
+ hasRequiredRemoveTrailingSlash = 1;
129642
+ (function (exports) {
129643
+ Object.defineProperty(exports, "__esModule", {
129644
+ value: true
129645
+ });
129646
+ Object.defineProperty(exports, "removeTrailingSlash", {
129647
+ enumerable: true,
129648
+ get: function() {
129649
+ return removeTrailingSlash;
129650
+ }
129651
+ });
129652
+ function removeTrailingSlash(route) {
129653
+ return route.replace(/\/$/, "") || "/";
129654
+ }
129655
+
129656
+
129657
+ } (removeTrailingSlash));
129658
+ return removeTrailingSlash;
129659
+ }
129660
+
129661
+ var parsePath = {};
129662
+
129663
+ /**
129664
+ * Given a path this function will find the pathname, query and hash and return
129665
+ * them. This is useful to parse full paths on the client side.
129666
+ * @param path A path to parse e.g. /foo/bar?id=1#hash
129667
+ */
129668
+
129669
+ var hasRequiredParsePath;
129670
+
129671
+ function requireParsePath () {
129672
+ if (hasRequiredParsePath) return parsePath;
129673
+ hasRequiredParsePath = 1;
129674
+ (function (exports) {
129675
+ Object.defineProperty(exports, "__esModule", {
129676
+ value: true
129677
+ });
129678
+ Object.defineProperty(exports, "parsePath", {
129679
+ enumerable: true,
129680
+ get: function() {
129681
+ return parsePath;
129682
+ }
129683
+ });
129684
+ function parsePath(path) {
129685
+ const hashIndex = path.indexOf("#");
129686
+ const queryIndex = path.indexOf("?");
129687
+ const hasQuery = queryIndex > -1 && (hashIndex < 0 || queryIndex < hashIndex);
129688
+ if (hasQuery || hashIndex > -1) {
129689
+ return {
129690
+ pathname: path.substring(0, hasQuery ? queryIndex : hashIndex),
129691
+ query: hasQuery ? path.substring(queryIndex, hashIndex > -1 ? hashIndex : undefined) : "",
129692
+ hash: hashIndex > -1 ? path.slice(hashIndex) : ""
129693
+ };
129694
+ }
129695
+ return {
129696
+ pathname: path,
129697
+ query: "",
129698
+ hash: ""
129699
+ };
129700
+ }
129701
+
129702
+
129703
+ } (parsePath));
129704
+ return parsePath;
129705
+ }
129706
+
129707
+ var hasRequiredNormalizeTrailingSlash;
129708
+
129709
+ function requireNormalizeTrailingSlash () {
129710
+ if (hasRequiredNormalizeTrailingSlash) return normalizeTrailingSlash.exports;
129711
+ hasRequiredNormalizeTrailingSlash = 1;
129712
+ (function (module, exports) {
129713
+ Object.defineProperty(exports, "__esModule", {
129714
+ value: true
129715
+ });
129716
+ Object.defineProperty(exports, "normalizePathTrailingSlash", {
129717
+ enumerable: true,
129718
+ get: function() {
129719
+ return normalizePathTrailingSlash;
129720
+ }
129721
+ });
129722
+ const _removetrailingslash = requireRemoveTrailingSlash();
129723
+ const _parsepath = requireParsePath();
129724
+ const normalizePathTrailingSlash = (path)=>{
129725
+ if (!path.startsWith("/") || process.env.__NEXT_MANUAL_TRAILING_SLASH) {
129726
+ return path;
129727
+ }
129728
+ const { pathname, query, hash } = (0, _parsepath.parsePath)(path);
129729
+ if (process.env.__NEXT_TRAILING_SLASH) {
129730
+ if (/\.[^/]+\/?$/.test(pathname)) {
129731
+ return "" + (0, _removetrailingslash.removeTrailingSlash)(pathname) + query + hash;
129732
+ } else if (pathname.endsWith("/")) {
129733
+ return "" + pathname + query + hash;
129734
+ } else {
129735
+ return pathname + "/" + query + hash;
129736
+ }
129737
+ }
129738
+ return "" + (0, _removetrailingslash.removeTrailingSlash)(pathname) + query + hash;
129739
+ };
129740
+
129741
+ if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
129742
+ Object.defineProperty(exports.default, '__esModule', { value: true });
129743
+ Object.assign(exports.default, exports);
129744
+ module.exports = exports.default;
129745
+ }
129746
+
129747
+
129748
+ } (normalizeTrailingSlash, normalizeTrailingSlash.exports));
129749
+ return normalizeTrailingSlash.exports;
129750
+ }
129751
+
129752
+ var isLocalUrl = {};
129753
+
129754
+ var hasBasePath = {exports: {}};
129755
+
129756
+ var pathHasPrefix = {};
129757
+
129758
+ var hasRequiredPathHasPrefix;
129759
+
129760
+ function requirePathHasPrefix () {
129761
+ if (hasRequiredPathHasPrefix) return pathHasPrefix;
129762
+ hasRequiredPathHasPrefix = 1;
129763
+ (function (exports) {
129764
+ Object.defineProperty(exports, "__esModule", {
129765
+ value: true
129766
+ });
129767
+ Object.defineProperty(exports, "pathHasPrefix", {
129768
+ enumerable: true,
129769
+ get: function() {
129770
+ return pathHasPrefix;
129771
+ }
129772
+ });
129773
+ const _parsepath = requireParsePath();
129774
+ function pathHasPrefix(path, prefix) {
129775
+ if (typeof path !== "string") {
129776
+ return false;
129777
+ }
129778
+ const { pathname } = (0, _parsepath.parsePath)(path);
129779
+ return pathname === prefix || pathname.startsWith(prefix + "/");
129780
+ }
129781
+
129782
+
129783
+ } (pathHasPrefix));
129784
+ return pathHasPrefix;
129785
+ }
129786
+
129787
+ var hasRequiredHasBasePath;
129788
+
129789
+ function requireHasBasePath () {
129790
+ if (hasRequiredHasBasePath) return hasBasePath.exports;
129791
+ hasRequiredHasBasePath = 1;
129792
+ (function (module, exports) {
129793
+ Object.defineProperty(exports, "__esModule", {
129794
+ value: true
129795
+ });
129796
+ Object.defineProperty(exports, "hasBasePath", {
129797
+ enumerable: true,
129798
+ get: function() {
129799
+ return hasBasePath;
129800
+ }
129801
+ });
129802
+ const _pathhasprefix = requirePathHasPrefix();
129803
+ const basePath = process.env.__NEXT_ROUTER_BASEPATH || "";
129804
+ function hasBasePath(path) {
129805
+ return (0, _pathhasprefix.pathHasPrefix)(path, basePath);
129806
+ }
129807
+
129808
+ if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
129809
+ Object.defineProperty(exports.default, '__esModule', { value: true });
129810
+ Object.assign(exports.default, exports);
129811
+ module.exports = exports.default;
129812
+ }
129813
+
129814
+
129815
+ } (hasBasePath, hasBasePath.exports));
129816
+ return hasBasePath.exports;
129817
+ }
129818
+
129819
+ var hasRequiredIsLocalUrl;
129820
+
129821
+ function requireIsLocalUrl () {
129822
+ if (hasRequiredIsLocalUrl) return isLocalUrl;
129823
+ hasRequiredIsLocalUrl = 1;
129824
+ (function (exports) {
129825
+ Object.defineProperty(exports, "__esModule", {
129826
+ value: true
129827
+ });
129828
+ Object.defineProperty(exports, "isLocalURL", {
129829
+ enumerable: true,
129830
+ get: function() {
129831
+ return isLocalURL;
129832
+ }
129833
+ });
129834
+ const _utils = requireUtils$1();
129835
+ const _hasbasepath = requireHasBasePath();
129836
+ function isLocalURL(url) {
129837
+ // prevent a hydration mismatch on href for url with anchor refs
129838
+ if (!(0, _utils.isAbsoluteUrl)(url)) return true;
129839
+ try {
129840
+ // absolute urls can be local if they are on the same origin
129841
+ const locationOrigin = (0, _utils.getLocationOrigin)();
129842
+ const resolved = new URL(url, locationOrigin);
129843
+ return resolved.origin === locationOrigin && (0, _hasbasepath.hasBasePath)(resolved.pathname);
129844
+ } catch (_) {
129845
+ return false;
129846
+ }
129847
+ }
129848
+
129849
+
129850
+ } (isLocalUrl));
129851
+ return isLocalUrl;
129852
+ }
129853
+
129854
+ var utils = {};
129855
+
129856
+ var sortedRoutes = {};
129857
+
129858
+ var hasRequiredSortedRoutes;
129859
+
129860
+ function requireSortedRoutes () {
129861
+ if (hasRequiredSortedRoutes) return sortedRoutes;
129862
+ hasRequiredSortedRoutes = 1;
129863
+ (function (exports) {
129864
+ Object.defineProperty(exports, "__esModule", {
129865
+ value: true
129866
+ });
129867
+ Object.defineProperty(exports, "getSortedRoutes", {
129868
+ enumerable: true,
129869
+ get: function() {
129870
+ return getSortedRoutes;
129871
+ }
129872
+ });
129873
+ class UrlNode {
129874
+ insert(urlPath) {
129875
+ this._insert(urlPath.split("/").filter(Boolean), [], false);
129876
+ }
129877
+ smoosh() {
129878
+ return this._smoosh();
129879
+ }
129880
+ _smoosh(prefix) {
129881
+ if (prefix === void 0) prefix = "/";
129882
+ const childrenPaths = [
129883
+ ...this.children.keys()
129884
+ ].sort();
129885
+ if (this.slugName !== null) {
129886
+ childrenPaths.splice(childrenPaths.indexOf("[]"), 1);
129887
+ }
129888
+ if (this.restSlugName !== null) {
129889
+ childrenPaths.splice(childrenPaths.indexOf("[...]"), 1);
129890
+ }
129891
+ if (this.optionalRestSlugName !== null) {
129892
+ childrenPaths.splice(childrenPaths.indexOf("[[...]]"), 1);
129893
+ }
129894
+ const routes = childrenPaths.map((c)=>this.children.get(c)._smoosh("" + prefix + c + "/")).reduce((prev, curr)=>[
129895
+ ...prev,
129896
+ ...curr
129897
+ ], []);
129898
+ if (this.slugName !== null) {
129899
+ routes.push(...this.children.get("[]")._smoosh(prefix + "[" + this.slugName + "]/"));
129900
+ }
129901
+ if (!this.placeholder) {
129902
+ const r = prefix === "/" ? "/" : prefix.slice(0, -1);
129903
+ if (this.optionalRestSlugName != null) {
129904
+ throw new Error('You cannot define a route with the same specificity as a optional catch-all route ("' + r + '" and "' + r + "[[..." + this.optionalRestSlugName + ']]").');
129905
+ }
129906
+ routes.unshift(r);
129907
+ }
129908
+ if (this.restSlugName !== null) {
129909
+ routes.push(...this.children.get("[...]")._smoosh(prefix + "[..." + this.restSlugName + "]/"));
129910
+ }
129911
+ if (this.optionalRestSlugName !== null) {
129912
+ routes.push(...this.children.get("[[...]]")._smoosh(prefix + "[[..." + this.optionalRestSlugName + "]]/"));
129913
+ }
129914
+ return routes;
129915
+ }
129916
+ _insert(urlPaths, slugNames, isCatchAll) {
129917
+ if (urlPaths.length === 0) {
129918
+ this.placeholder = false;
129919
+ return;
129920
+ }
129921
+ if (isCatchAll) {
129922
+ throw new Error("Catch-all must be the last part of the URL.");
129923
+ }
129924
+ // The next segment in the urlPaths list
129925
+ let nextSegment = urlPaths[0];
129926
+ // Check if the segment matches `[something]`
129927
+ if (nextSegment.startsWith("[") && nextSegment.endsWith("]")) {
129928
+ // Strip `[` and `]`, leaving only `something`
129929
+ let segmentName = nextSegment.slice(1, -1);
129930
+ let isOptional = false;
129931
+ if (segmentName.startsWith("[") && segmentName.endsWith("]")) {
129932
+ // Strip optional `[` and `]`, leaving only `something`
129933
+ segmentName = segmentName.slice(1, -1);
129934
+ isOptional = true;
129935
+ }
129936
+ if (segmentName.startsWith("...")) {
129937
+ // Strip `...`, leaving only `something`
129938
+ segmentName = segmentName.substring(3);
129939
+ isCatchAll = true;
129940
+ }
129941
+ if (segmentName.startsWith("[") || segmentName.endsWith("]")) {
129942
+ throw new Error("Segment names may not start or end with extra brackets ('" + segmentName + "').");
129943
+ }
129944
+ if (segmentName.startsWith(".")) {
129945
+ throw new Error("Segment names may not start with erroneous periods ('" + segmentName + "').");
129946
+ }
129947
+ function handleSlug(previousSlug, nextSlug) {
129948
+ if (previousSlug !== null) {
129949
+ // If the specific segment already has a slug but the slug is not `something`
129950
+ // This prevents collisions like:
129951
+ // pages/[post]/index.js
129952
+ // pages/[id]/index.js
129953
+ // Because currently multiple dynamic params on the same segment level are not supported
129954
+ if (previousSlug !== nextSlug) {
129955
+ // TODO: This error seems to be confusing for users, needs an error link, the description can be based on above comment.
129956
+ throw new Error("You cannot use different slug names for the same dynamic path ('" + previousSlug + "' !== '" + nextSlug + "').");
129957
+ }
129958
+ }
129959
+ slugNames.forEach((slug)=>{
129960
+ if (slug === nextSlug) {
129961
+ throw new Error('You cannot have the same slug name "' + nextSlug + '" repeat within a single dynamic path');
129962
+ }
129963
+ if (slug.replace(/\W/g, "") === nextSegment.replace(/\W/g, "")) {
129964
+ throw new Error('You cannot have the slug names "' + slug + '" and "' + nextSlug + '" differ only by non-word symbols within a single dynamic path');
129965
+ }
129966
+ });
129967
+ slugNames.push(nextSlug);
129968
+ }
129969
+ if (isCatchAll) {
129970
+ if (isOptional) {
129971
+ if (this.restSlugName != null) {
129972
+ throw new Error('You cannot use both an required and optional catch-all route at the same level ("[...' + this.restSlugName + ']" and "' + urlPaths[0] + '" ).');
129973
+ }
129974
+ handleSlug(this.optionalRestSlugName, segmentName);
129975
+ // slugName is kept as it can only be one particular slugName
129976
+ this.optionalRestSlugName = segmentName;
129977
+ // nextSegment is overwritten to [[...]] so that it can later be sorted specifically
129978
+ nextSegment = "[[...]]";
129979
+ } else {
129980
+ if (this.optionalRestSlugName != null) {
129981
+ throw new Error('You cannot use both an optional and required catch-all route at the same level ("[[...' + this.optionalRestSlugName + ']]" and "' + urlPaths[0] + '").');
129982
+ }
129983
+ handleSlug(this.restSlugName, segmentName);
129984
+ // slugName is kept as it can only be one particular slugName
129985
+ this.restSlugName = segmentName;
129986
+ // nextSegment is overwritten to [...] so that it can later be sorted specifically
129987
+ nextSegment = "[...]";
129988
+ }
129989
+ } else {
129990
+ if (isOptional) {
129991
+ throw new Error('Optional route parameters are not yet supported ("' + urlPaths[0] + '").');
129992
+ }
129993
+ handleSlug(this.slugName, segmentName);
129994
+ // slugName is kept as it can only be one particular slugName
129995
+ this.slugName = segmentName;
129996
+ // nextSegment is overwritten to [] so that it can later be sorted specifically
129997
+ nextSegment = "[]";
129998
+ }
129999
+ }
130000
+ // If this UrlNode doesn't have the nextSegment yet we create a new child UrlNode
130001
+ if (!this.children.has(nextSegment)) {
130002
+ this.children.set(nextSegment, new UrlNode());
130003
+ }
130004
+ this.children.get(nextSegment)._insert(urlPaths.slice(1), slugNames, isCatchAll);
130005
+ }
130006
+ constructor(){
130007
+ this.placeholder = true;
130008
+ this.children = new Map();
130009
+ this.slugName = null;
130010
+ this.restSlugName = null;
130011
+ this.optionalRestSlugName = null;
130012
+ }
130013
+ }
130014
+ function getSortedRoutes(normalizedPages) {
130015
+ // First the UrlNode is created, and every UrlNode can have only 1 dynamic segment
130016
+ // Eg you can't have pages/[post]/abc.js and pages/[hello]/something-else.js
130017
+ // Only 1 dynamic segment per nesting level
130018
+ // So in the case that is test/integration/dynamic-routing it'll be this:
130019
+ // pages/[post]/comments.js
130020
+ // pages/blog/[post]/comment/[id].js
130021
+ // Both are fine because `pages/[post]` and `pages/blog` are on the same level
130022
+ // So in this case `UrlNode` created here has `this.slugName === 'post'`
130023
+ // And since your PR passed through `slugName` as an array basically it'd including it in too many possibilities
130024
+ // Instead what has to be passed through is the upwards path's dynamic names
130025
+ const root = new UrlNode();
130026
+ // Here the `root` gets injected multiple paths, and insert will break them up into sublevels
130027
+ normalizedPages.forEach((pagePath)=>root.insert(pagePath));
130028
+ // Smoosh will then sort those sublevels up to the point where you get the correct route definition priority
130029
+ return root.smoosh();
130030
+ }
130031
+
130032
+
130033
+ } (sortedRoutes));
130034
+ return sortedRoutes;
130035
+ }
130036
+
130037
+ var isDynamic = {};
130038
+
130039
+ var interceptionRoutes = {};
130040
+
130041
+ var appPaths = {};
130042
+
130043
+ var ensureLeadingSlash = {};
130044
+
130045
+ /**
130046
+ * For a given page path, this function ensures that there is a leading slash.
130047
+ * If there is not a leading slash, one is added, otherwise it is noop.
130048
+ */
130049
+
130050
+ var hasRequiredEnsureLeadingSlash;
130051
+
130052
+ function requireEnsureLeadingSlash () {
130053
+ if (hasRequiredEnsureLeadingSlash) return ensureLeadingSlash;
130054
+ hasRequiredEnsureLeadingSlash = 1;
130055
+ (function (exports) {
130056
+ Object.defineProperty(exports, "__esModule", {
130057
+ value: true
130058
+ });
130059
+ Object.defineProperty(exports, "ensureLeadingSlash", {
130060
+ enumerable: true,
130061
+ get: function() {
130062
+ return ensureLeadingSlash;
130063
+ }
130064
+ });
130065
+ function ensureLeadingSlash(path) {
130066
+ return path.startsWith("/") ? path : "/" + path;
130067
+ }
130068
+
130069
+
130070
+ } (ensureLeadingSlash));
130071
+ return ensureLeadingSlash;
130072
+ }
130073
+
130074
+ var segment = {};
130075
+
130076
+ var hasRequiredSegment;
130077
+
130078
+ function requireSegment () {
130079
+ if (hasRequiredSegment) return segment;
130080
+ hasRequiredSegment = 1;
130081
+ (function (exports) {
130082
+ Object.defineProperty(exports, "__esModule", {
130083
+ value: true
130084
+ });
130085
+ function _export(target, all) {
130086
+ for(var name in all)Object.defineProperty(target, name, {
130087
+ enumerable: true,
130088
+ get: all[name]
130089
+ });
130090
+ }
130091
+ _export(exports, {
130092
+ DEFAULT_SEGMENT_KEY: function() {
130093
+ return DEFAULT_SEGMENT_KEY;
130094
+ },
130095
+ PAGE_SEGMENT_KEY: function() {
130096
+ return PAGE_SEGMENT_KEY;
130097
+ },
130098
+ isGroupSegment: function() {
130099
+ return isGroupSegment;
130100
+ }
130101
+ });
130102
+ function isGroupSegment(segment) {
130103
+ // Use array[0] for performant purpose
130104
+ return segment[0] === "(" && segment.endsWith(")");
130105
+ }
130106
+ const PAGE_SEGMENT_KEY = "__PAGE__";
130107
+ const DEFAULT_SEGMENT_KEY = "__DEFAULT__";
130108
+
130109
+
130110
+ } (segment));
130111
+ return segment;
130112
+ }
130113
+
130114
+ var hasRequiredAppPaths;
130115
+
130116
+ function requireAppPaths () {
130117
+ if (hasRequiredAppPaths) return appPaths;
130118
+ hasRequiredAppPaths = 1;
130119
+ (function (exports) {
130120
+ Object.defineProperty(exports, "__esModule", {
130121
+ value: true
130122
+ });
130123
+ function _export(target, all) {
130124
+ for(var name in all)Object.defineProperty(target, name, {
130125
+ enumerable: true,
130126
+ get: all[name]
130127
+ });
130128
+ }
130129
+ _export(exports, {
130130
+ normalizeAppPath: function() {
130131
+ return normalizeAppPath;
130132
+ },
130133
+ normalizeRscURL: function() {
130134
+ return normalizeRscURL;
130135
+ }
130136
+ });
130137
+ const _ensureleadingslash = requireEnsureLeadingSlash();
130138
+ const _segment = requireSegment();
130139
+ function normalizeAppPath(route) {
130140
+ return (0, _ensureleadingslash.ensureLeadingSlash)(route.split("/").reduce((pathname, segment, index, segments)=>{
130141
+ // Empty segments are ignored.
130142
+ if (!segment) {
130143
+ return pathname;
130144
+ }
130145
+ // Groups are ignored.
130146
+ if ((0, _segment.isGroupSegment)(segment)) {
130147
+ return pathname;
130148
+ }
130149
+ // Parallel segments are ignored.
130150
+ if (segment[0] === "@") {
130151
+ return pathname;
130152
+ }
130153
+ // The last segment (if it's a leaf) should be ignored.
130154
+ if ((segment === "page" || segment === "route") && index === segments.length - 1) {
130155
+ return pathname;
130156
+ }
130157
+ return pathname + "/" + segment;
130158
+ }, ""));
130159
+ }
130160
+ function normalizeRscURL(url) {
130161
+ return url.replace(/\.rsc($|\?)/, // $1 ensures `?` is preserved
130162
+ "$1");
130163
+ }
130164
+
130165
+
130166
+ } (appPaths));
130167
+ return appPaths;
130168
+ }
130169
+
130170
+ var hasRequiredInterceptionRoutes;
130171
+
130172
+ function requireInterceptionRoutes () {
130173
+ if (hasRequiredInterceptionRoutes) return interceptionRoutes;
130174
+ hasRequiredInterceptionRoutes = 1;
130175
+ (function (exports) {
130176
+ Object.defineProperty(exports, "__esModule", {
130177
+ value: true
130178
+ });
130179
+ function _export(target, all) {
130180
+ for(var name in all)Object.defineProperty(target, name, {
130181
+ enumerable: true,
130182
+ get: all[name]
130183
+ });
130184
+ }
130185
+ _export(exports, {
130186
+ INTERCEPTION_ROUTE_MARKERS: function() {
130187
+ return INTERCEPTION_ROUTE_MARKERS;
130188
+ },
130189
+ extractInterceptionRouteInformation: function() {
130190
+ return extractInterceptionRouteInformation;
130191
+ },
130192
+ isInterceptionRouteAppPath: function() {
130193
+ return isInterceptionRouteAppPath;
130194
+ }
130195
+ });
130196
+ const _apppaths = requireAppPaths();
130197
+ const INTERCEPTION_ROUTE_MARKERS = [
130198
+ "(..)(..)",
130199
+ "(.)",
130200
+ "(..)",
130201
+ "(...)"
130202
+ ];
130203
+ function isInterceptionRouteAppPath(path) {
130204
+ // TODO-APP: add more serious validation
130205
+ return path.split("/").find((segment)=>INTERCEPTION_ROUTE_MARKERS.find((m)=>segment.startsWith(m))) !== undefined;
130206
+ }
130207
+ function extractInterceptionRouteInformation(path) {
130208
+ let interceptingRoute, marker, interceptedRoute;
130209
+ for (const segment of path.split("/")){
130210
+ marker = INTERCEPTION_ROUTE_MARKERS.find((m)=>segment.startsWith(m));
130211
+ if (marker) {
130212
+ [interceptingRoute, interceptedRoute] = path.split(marker, 2);
130213
+ break;
130214
+ }
130215
+ }
130216
+ if (!interceptingRoute || !marker || !interceptedRoute) {
130217
+ throw new Error(`Invalid interception route: ${path}. Must be in the format /<intercepting route>/(..|...|..)(..)/<intercepted route>`);
130218
+ }
130219
+ interceptingRoute = (0, _apppaths.normalizeAppPath)(interceptingRoute) // normalize the path, e.g. /(blog)/feed -> /feed
130220
+ ;
130221
+ switch(marker){
130222
+ case "(.)":
130223
+ // (.) indicates that we should match with sibling routes, so we just need to append the intercepted route to the intercepting route
130224
+ if (interceptingRoute === "/") {
130225
+ interceptedRoute = `/${interceptedRoute}`;
130226
+ } else {
130227
+ interceptedRoute = interceptingRoute + "/" + interceptedRoute;
130228
+ }
130229
+ break;
130230
+ case "(..)":
130231
+ // (..) indicates that we should match at one level up, so we need to remove the last segment of the intercepting route
130232
+ if (interceptingRoute === "/") {
130233
+ throw new Error(`Invalid interception route: ${path}. Cannot use (..) marker at the root level, use (.) instead.`);
130234
+ }
130235
+ interceptedRoute = interceptingRoute.split("/").slice(0, -1).concat(interceptedRoute).join("/");
130236
+ break;
130237
+ case "(...)":
130238
+ // (...) will match the route segment in the root directory, so we need to use the root directory to prepend the intercepted route
130239
+ interceptedRoute = "/" + interceptedRoute;
130240
+ break;
130241
+ case "(..)(..)":
130242
+ // (..)(..) indicates that we should match at two levels up, so we need to remove the last two segments of the intercepting route
130243
+ const splitInterceptingRoute = interceptingRoute.split("/");
130244
+ if (splitInterceptingRoute.length <= 2) {
130245
+ throw new Error(`Invalid interception route: ${path}. Cannot use (..)(..) marker at the root level or one level up.`);
130246
+ }
130247
+ interceptedRoute = splitInterceptingRoute.slice(0, -2).concat(interceptedRoute).join("/");
130248
+ break;
130249
+ default:
130250
+ throw new Error("Invariant: unexpected marker");
130251
+ }
130252
+ return {
130253
+ interceptingRoute,
130254
+ interceptedRoute
130255
+ };
130256
+ }
130257
+
130258
+
130259
+ } (interceptionRoutes));
130260
+ return interceptionRoutes;
130261
+ }
130262
+
130263
+ var hasRequiredIsDynamic;
130264
+
130265
+ function requireIsDynamic () {
130266
+ if (hasRequiredIsDynamic) return isDynamic;
130267
+ hasRequiredIsDynamic = 1;
130268
+ (function (exports) {
130269
+ Object.defineProperty(exports, "__esModule", {
130270
+ value: true
130271
+ });
130272
+ Object.defineProperty(exports, "isDynamicRoute", {
130273
+ enumerable: true,
130274
+ get: function() {
130275
+ return isDynamicRoute;
130276
+ }
130277
+ });
130278
+ const _interceptionroutes = requireInterceptionRoutes();
130279
+ // Identify /[param]/ in route string
130280
+ const TEST_ROUTE = /\/\[[^/]+?\](?=\/|$)/;
130281
+ function isDynamicRoute(route) {
130282
+ if ((0, _interceptionroutes.isInterceptionRouteAppPath)(route)) {
130283
+ route = (0, _interceptionroutes.extractInterceptionRouteInformation)(route).interceptedRoute;
130284
+ }
130285
+ return TEST_ROUTE.test(route);
130286
+ }
130287
+
130288
+
130289
+ } (isDynamic));
130290
+ return isDynamic;
130291
+ }
130292
+
130293
+ var hasRequiredUtils;
130294
+
130295
+ function requireUtils () {
130296
+ if (hasRequiredUtils) return utils;
130297
+ hasRequiredUtils = 1;
130298
+ (function (exports) {
130299
+ Object.defineProperty(exports, "__esModule", {
130300
+ value: true
130301
+ });
130302
+ function _export(target, all) {
130303
+ for(var name in all)Object.defineProperty(target, name, {
130304
+ enumerable: true,
130305
+ get: all[name]
130306
+ });
130307
+ }
130308
+ _export(exports, {
130309
+ getSortedRoutes: function() {
130310
+ return _sortedroutes.getSortedRoutes;
130311
+ },
130312
+ isDynamicRoute: function() {
130313
+ return _isdynamic.isDynamicRoute;
130314
+ }
130315
+ });
130316
+ const _sortedroutes = requireSortedRoutes();
130317
+ const _isdynamic = requireIsDynamic();
130318
+
130319
+
130320
+ } (utils));
130321
+ return utils;
130322
+ }
130323
+
130324
+ var interpolateAs = {};
130325
+
130326
+ var routeMatcher = {};
130327
+
130328
+ var hasRequiredRouteMatcher;
130329
+
130330
+ function requireRouteMatcher () {
130331
+ if (hasRequiredRouteMatcher) return routeMatcher;
130332
+ hasRequiredRouteMatcher = 1;
130333
+ (function (exports) {
130334
+ Object.defineProperty(exports, "__esModule", {
130335
+ value: true
130336
+ });
130337
+ Object.defineProperty(exports, "getRouteMatcher", {
130338
+ enumerable: true,
130339
+ get: function() {
130340
+ return getRouteMatcher;
130341
+ }
130342
+ });
130343
+ const _utils = requireUtils$1();
130344
+ function getRouteMatcher(param) {
130345
+ let { re, groups } = param;
130346
+ return (pathname)=>{
130347
+ const routeMatch = re.exec(pathname);
130348
+ if (!routeMatch) {
130349
+ return false;
130350
+ }
130351
+ const decode = (param)=>{
130352
+ try {
130353
+ return decodeURIComponent(param);
130354
+ } catch (_) {
130355
+ throw new _utils.DecodeError("failed to decode param");
130356
+ }
130357
+ };
130358
+ const params = {};
130359
+ Object.keys(groups).forEach((slugName)=>{
130360
+ const g = groups[slugName];
130361
+ const m = routeMatch[g.pos];
130362
+ if (m !== undefined) {
130363
+ params[slugName] = ~m.indexOf("/") ? m.split("/").map((entry)=>decode(entry)) : g.repeat ? [
130364
+ decode(m)
130365
+ ] : decode(m);
130366
+ }
130367
+ });
130368
+ return params;
130369
+ };
130370
+ }
130371
+
130372
+
130373
+ } (routeMatcher));
130374
+ return routeMatcher;
130375
+ }
130376
+
130377
+ var routeRegex = {};
130378
+
130379
+ var escapeRegexp = {};
130380
+
130381
+ var hasRequiredEscapeRegexp;
130382
+
130383
+ function requireEscapeRegexp () {
130384
+ if (hasRequiredEscapeRegexp) return escapeRegexp;
130385
+ hasRequiredEscapeRegexp = 1;
130386
+ (function (exports) {
130387
+ Object.defineProperty(exports, "__esModule", {
130388
+ value: true
130389
+ });
130390
+ Object.defineProperty(exports, "escapeStringRegexp", {
130391
+ enumerable: true,
130392
+ get: function() {
130393
+ return escapeStringRegexp;
130394
+ }
130395
+ });
130396
+ const reHasRegExp = /[|\\{}()[\]^$+*?.-]/;
130397
+ const reReplaceRegExp = /[|\\{}()[\]^$+*?.-]/g;
130398
+ function escapeStringRegexp(str) {
130399
+ // see also: https://github.com/lodash/lodash/blob/2da024c3b4f9947a48517639de7560457cd4ec6c/escapeRegExp.js#L23
130400
+ if (reHasRegExp.test(str)) {
130401
+ return str.replace(reReplaceRegExp, "\\$&");
130402
+ }
130403
+ return str;
130404
+ }
130405
+
130406
+
130407
+ } (escapeRegexp));
130408
+ return escapeRegexp;
130409
+ }
130410
+
130411
+ var hasRequiredRouteRegex;
130412
+
130413
+ function requireRouteRegex () {
130414
+ if (hasRequiredRouteRegex) return routeRegex;
130415
+ hasRequiredRouteRegex = 1;
130416
+ (function (exports) {
130417
+ Object.defineProperty(exports, "__esModule", {
130418
+ value: true
130419
+ });
130420
+ function _export(target, all) {
130421
+ for(var name in all)Object.defineProperty(target, name, {
130422
+ enumerable: true,
130423
+ get: all[name]
130424
+ });
130425
+ }
130426
+ _export(exports, {
130427
+ getNamedMiddlewareRegex: function() {
130428
+ return getNamedMiddlewareRegex;
130429
+ },
130430
+ getNamedRouteRegex: function() {
130431
+ return getNamedRouteRegex;
130432
+ },
130433
+ getRouteRegex: function() {
130434
+ return getRouteRegex;
130435
+ }
130436
+ });
130437
+ const _interceptionroutes = requireInterceptionRoutes();
130438
+ const _escaperegexp = requireEscapeRegexp();
130439
+ const _removetrailingslash = requireRemoveTrailingSlash();
130440
+ const NEXT_QUERY_PARAM_PREFIX = "nxtP";
130441
+ const NEXT_INTERCEPTION_MARKER_PREFIX = "nxtI";
130442
+ /**
130443
+ * Parses a given parameter from a route to a data structure that can be used
130444
+ * to generate the parametrized route. Examples:
130445
+ * - `[...slug]` -> `{ key: 'slug', repeat: true, optional: true }`
130446
+ * - `...slug` -> `{ key: 'slug', repeat: true, optional: false }`
130447
+ * - `[foo]` -> `{ key: 'foo', repeat: false, optional: true }`
130448
+ * - `bar` -> `{ key: 'bar', repeat: false, optional: false }`
130449
+ */ function parseParameter(param) {
130450
+ const optional = param.startsWith("[") && param.endsWith("]");
130451
+ if (optional) {
130452
+ param = param.slice(1, -1);
130453
+ }
130454
+ const repeat = param.startsWith("...");
130455
+ if (repeat) {
130456
+ param = param.slice(3);
130457
+ }
130458
+ return {
130459
+ key: param,
130460
+ repeat,
130461
+ optional
130462
+ };
130463
+ }
130464
+ function getParametrizedRoute(route) {
130465
+ const segments = (0, _removetrailingslash.removeTrailingSlash)(route).slice(1).split("/");
130466
+ const groups = {};
130467
+ let groupIndex = 1;
130468
+ return {
130469
+ parameterizedRoute: segments.map((segment)=>{
130470
+ const markerMatch = _interceptionroutes.INTERCEPTION_ROUTE_MARKERS.find((m)=>segment.startsWith(m));
130471
+ const paramMatches = segment.match(/\[((?:\[.*\])|.+)\]/) // Check for parameters
130472
+ ;
130473
+ if (markerMatch && paramMatches) {
130474
+ const { key, optional, repeat } = parseParameter(paramMatches[1]);
130475
+ groups[key] = {
130476
+ pos: groupIndex++,
130477
+ repeat,
130478
+ optional
130479
+ };
130480
+ return "/" + (0, _escaperegexp.escapeStringRegexp)(markerMatch) + "([^/]+?)";
130481
+ } else if (paramMatches) {
130482
+ const { key, repeat, optional } = parseParameter(paramMatches[1]);
130483
+ groups[key] = {
130484
+ pos: groupIndex++,
130485
+ repeat,
130486
+ optional
130487
+ };
130488
+ return repeat ? optional ? "(?:/(.+?))?" : "/(.+?)" : "/([^/]+?)";
130489
+ } else {
130490
+ return "/" + (0, _escaperegexp.escapeStringRegexp)(segment);
130491
+ }
130492
+ }).join(""),
130493
+ groups
130494
+ };
130495
+ }
130496
+ function getRouteRegex(normalizedRoute) {
130497
+ const { parameterizedRoute, groups } = getParametrizedRoute(normalizedRoute);
130498
+ return {
130499
+ re: new RegExp("^" + parameterizedRoute + "(?:/)?$"),
130500
+ groups: groups
130501
+ };
130502
+ }
130503
+ /**
130504
+ * Builds a function to generate a minimal routeKey using only a-z and minimal
130505
+ * number of characters.
130506
+ */ function buildGetSafeRouteKey() {
130507
+ let i = 0;
130508
+ return ()=>{
130509
+ let routeKey = "";
130510
+ let j = ++i;
130511
+ while(j > 0){
130512
+ routeKey += String.fromCharCode(97 + (j - 1) % 26);
130513
+ j = Math.floor((j - 1) / 26);
130514
+ }
130515
+ return routeKey;
130516
+ };
130517
+ }
130518
+ function getSafeKeyFromSegment(param) {
130519
+ let { interceptionMarker, getSafeRouteKey, segment, routeKeys, keyPrefix } = param;
130520
+ const { key, optional, repeat } = parseParameter(segment);
130521
+ // replace any non-word characters since they can break
130522
+ // the named regex
130523
+ let cleanedKey = key.replace(/\W/g, "");
130524
+ if (keyPrefix) {
130525
+ cleanedKey = "" + keyPrefix + cleanedKey;
130526
+ }
130527
+ let invalidKey = false;
130528
+ // check if the key is still invalid and fallback to using a known
130529
+ // safe key
130530
+ if (cleanedKey.length === 0 || cleanedKey.length > 30) {
130531
+ invalidKey = true;
130532
+ }
130533
+ if (!isNaN(parseInt(cleanedKey.slice(0, 1)))) {
130534
+ invalidKey = true;
130535
+ }
130536
+ if (invalidKey) {
130537
+ cleanedKey = getSafeRouteKey();
130538
+ }
130539
+ if (keyPrefix) {
130540
+ routeKeys[cleanedKey] = "" + keyPrefix + key;
130541
+ } else {
130542
+ routeKeys[cleanedKey] = key;
130543
+ }
130544
+ // if the segment has an interception marker, make sure that's part of the regex pattern
130545
+ // this is to ensure that the route with the interception marker doesn't incorrectly match
130546
+ // the non-intercepted route (ie /app/(.)[username] should not match /app/[username])
130547
+ const interceptionPrefix = interceptionMarker ? (0, _escaperegexp.escapeStringRegexp)(interceptionMarker) : "";
130548
+ return repeat ? optional ? "(?:/" + interceptionPrefix + "(?<" + cleanedKey + ">.+?))?" : "/" + interceptionPrefix + "(?<" + cleanedKey + ">.+?)" : "/" + interceptionPrefix + "(?<" + cleanedKey + ">[^/]+?)";
130549
+ }
130550
+ function getNamedParametrizedRoute(route, prefixRouteKeys) {
130551
+ const segments = (0, _removetrailingslash.removeTrailingSlash)(route).slice(1).split("/");
130552
+ const getSafeRouteKey = buildGetSafeRouteKey();
130553
+ const routeKeys = {};
130554
+ return {
130555
+ namedParameterizedRoute: segments.map((segment)=>{
130556
+ const hasInterceptionMarker = _interceptionroutes.INTERCEPTION_ROUTE_MARKERS.some((m)=>segment.startsWith(m));
130557
+ const paramMatches = segment.match(/\[((?:\[.*\])|.+)\]/) // Check for parameters
130558
+ ;
130559
+ if (hasInterceptionMarker && paramMatches) {
130560
+ const [usedMarker] = segment.split(paramMatches[0]);
130561
+ return getSafeKeyFromSegment({
130562
+ getSafeRouteKey,
130563
+ interceptionMarker: usedMarker,
130564
+ segment: paramMatches[1],
130565
+ routeKeys,
130566
+ keyPrefix: prefixRouteKeys ? NEXT_INTERCEPTION_MARKER_PREFIX : undefined
130567
+ });
130568
+ } else if (paramMatches) {
130569
+ return getSafeKeyFromSegment({
130570
+ getSafeRouteKey,
130571
+ segment: paramMatches[1],
130572
+ routeKeys,
130573
+ keyPrefix: prefixRouteKeys ? NEXT_QUERY_PARAM_PREFIX : undefined
130574
+ });
130575
+ } else {
130576
+ return "/" + (0, _escaperegexp.escapeStringRegexp)(segment);
130577
+ }
130578
+ }).join(""),
130579
+ routeKeys
130580
+ };
130581
+ }
130582
+ function getNamedRouteRegex(normalizedRoute, prefixRouteKey) {
130583
+ const result = getNamedParametrizedRoute(normalizedRoute, prefixRouteKey);
130584
+ return {
130585
+ ...getRouteRegex(normalizedRoute),
130586
+ namedRegex: "^" + result.namedParameterizedRoute + "(?:/)?$",
130587
+ routeKeys: result.routeKeys
130588
+ };
130589
+ }
130590
+ function getNamedMiddlewareRegex(normalizedRoute, options) {
130591
+ const { parameterizedRoute } = getParametrizedRoute(normalizedRoute);
130592
+ const { catchAll = true } = options;
130593
+ if (parameterizedRoute === "/") {
130594
+ let catchAllRegex = catchAll ? ".*" : "";
130595
+ return {
130596
+ namedRegex: "^/" + catchAllRegex + "$"
130597
+ };
130598
+ }
130599
+ const { namedParameterizedRoute } = getNamedParametrizedRoute(normalizedRoute, false);
130600
+ let catchAllGroupedRegex = catchAll ? "(?:(/.*)?)" : "";
130601
+ return {
130602
+ namedRegex: "^" + namedParameterizedRoute + catchAllGroupedRegex + "$"
130603
+ };
130604
+ }
130605
+
130606
+
130607
+ } (routeRegex));
130608
+ return routeRegex;
130609
+ }
130610
+
130611
+ var hasRequiredInterpolateAs;
130612
+
130613
+ function requireInterpolateAs () {
130614
+ if (hasRequiredInterpolateAs) return interpolateAs;
130615
+ hasRequiredInterpolateAs = 1;
130616
+ (function (exports) {
130617
+ Object.defineProperty(exports, "__esModule", {
130618
+ value: true
130619
+ });
130620
+ Object.defineProperty(exports, "interpolateAs", {
130621
+ enumerable: true,
130622
+ get: function() {
130623
+ return interpolateAs;
130624
+ }
130625
+ });
130626
+ const _routematcher = requireRouteMatcher();
130627
+ const _routeregex = requireRouteRegex();
130628
+ function interpolateAs(route, asPathname, query) {
130629
+ let interpolatedRoute = "";
130630
+ const dynamicRegex = (0, _routeregex.getRouteRegex)(route);
130631
+ const dynamicGroups = dynamicRegex.groups;
130632
+ const dynamicMatches = // Try to match the dynamic route against the asPath
130633
+ (asPathname !== route ? (0, _routematcher.getRouteMatcher)(dynamicRegex)(asPathname) : "") || // Fall back to reading the values from the href
130634
+ // TODO: should this take priority; also need to change in the router.
130635
+ query;
130636
+ interpolatedRoute = route;
130637
+ const params = Object.keys(dynamicGroups);
130638
+ if (!params.every((param)=>{
130639
+ let value = dynamicMatches[param] || "";
130640
+ const { repeat, optional } = dynamicGroups[param];
130641
+ // support single-level catch-all
130642
+ // TODO: more robust handling for user-error (passing `/`)
130643
+ let replaced = "[" + (repeat ? "..." : "") + param + "]";
130644
+ if (optional) {
130645
+ replaced = (!value ? "/" : "") + "[" + replaced + "]";
130646
+ }
130647
+ if (repeat && !Array.isArray(value)) value = [
130648
+ value
130649
+ ];
130650
+ return (optional || param in dynamicMatches) && // Interpolate group into data URL if present
130651
+ (interpolatedRoute = interpolatedRoute.replace(replaced, repeat ? value.map(// these values should be fully encoded instead of just
130652
+ // path delimiter escaped since they are being inserted
130653
+ // into the URL and we expect URL encoded segments
130654
+ // when parsing dynamic route params
130655
+ (segment)=>encodeURIComponent(segment)).join("/") : encodeURIComponent(value)) || "/");
130656
+ })) {
130657
+ interpolatedRoute = "" // did not satisfy all requirements
130658
+ ;
130659
+ // n.b. We ignore this error because we handle warning for this case in
130660
+ // development in the `<Link>` component directly.
130661
+ }
130662
+ return {
130663
+ params,
130664
+ result: interpolatedRoute
130665
+ };
130666
+ }
130667
+
130668
+
130669
+ } (interpolateAs));
130670
+ return interpolateAs;
130671
+ }
130672
+
130673
+ var hasRequiredResolveHref;
130674
+
130675
+ function requireResolveHref () {
130676
+ if (hasRequiredResolveHref) return resolveHref.exports;
130677
+ hasRequiredResolveHref = 1;
130678
+ (function (module, exports) {
130679
+ Object.defineProperty(exports, "__esModule", {
130680
+ value: true
130681
+ });
130682
+ Object.defineProperty(exports, "resolveHref", {
130683
+ enumerable: true,
130684
+ get: function() {
130685
+ return resolveHref;
130686
+ }
130687
+ });
130688
+ const _querystring = requireQuerystring();
130689
+ const _formaturl = requireFormatUrl();
130690
+ const _omit = requireOmit();
130691
+ const _utils = requireUtils$1();
130692
+ const _normalizetrailingslash = requireNormalizeTrailingSlash();
130693
+ const _islocalurl = requireIsLocalUrl();
130694
+ const _utils1 = requireUtils();
130695
+ const _interpolateas = requireInterpolateAs();
130696
+ function resolveHref(router, href, resolveAs) {
130697
+ // we use a dummy base url for relative urls
130698
+ let base;
130699
+ let urlAsString = typeof href === "string" ? href : (0, _formaturl.formatWithValidation)(href);
130700
+ // repeated slashes and backslashes in the URL are considered
130701
+ // invalid and will never match a Next.js page/file
130702
+ const urlProtoMatch = urlAsString.match(/^[a-zA-Z]{1,}:\/\//);
130703
+ const urlAsStringNoProto = urlProtoMatch ? urlAsString.slice(urlProtoMatch[0].length) : urlAsString;
130704
+ const urlParts = urlAsStringNoProto.split("?", 1);
130705
+ if ((urlParts[0] || "").match(/(\/\/|\\)/)) {
130706
+ console.error("Invalid href '" + urlAsString + "' passed to next/router in page: '" + router.pathname + "'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");
130707
+ const normalizedUrl = (0, _utils.normalizeRepeatedSlashes)(urlAsStringNoProto);
130708
+ urlAsString = (urlProtoMatch ? urlProtoMatch[0] : "") + normalizedUrl;
130709
+ }
130710
+ // Return because it cannot be routed by the Next.js router
130711
+ if (!(0, _islocalurl.isLocalURL)(urlAsString)) {
130712
+ return resolveAs ? [
130713
+ urlAsString
130714
+ ] : urlAsString;
130715
+ }
130716
+ try {
130717
+ base = new URL(urlAsString.startsWith("#") ? router.asPath : router.pathname, "http://n");
130718
+ } catch (_) {
130719
+ // fallback to / for invalid asPath values e.g. //
130720
+ base = new URL("/", "http://n");
130721
+ }
130722
+ try {
130723
+ const finalUrl = new URL(urlAsString, base);
130724
+ finalUrl.pathname = (0, _normalizetrailingslash.normalizePathTrailingSlash)(finalUrl.pathname);
130725
+ let interpolatedAs = "";
130726
+ if ((0, _utils1.isDynamicRoute)(finalUrl.pathname) && finalUrl.searchParams && resolveAs) {
130727
+ const query = (0, _querystring.searchParamsToUrlQuery)(finalUrl.searchParams);
130728
+ const { result, params } = (0, _interpolateas.interpolateAs)(finalUrl.pathname, finalUrl.pathname, query);
130729
+ if (result) {
130730
+ interpolatedAs = (0, _formaturl.formatWithValidation)({
130731
+ pathname: result,
130732
+ hash: finalUrl.hash,
130733
+ query: (0, _omit.omit)(query, params)
130734
+ });
130735
+ }
130736
+ }
130737
+ // if the origin didn't change, it means we received a relative href
130738
+ const resolvedHref = finalUrl.origin === base.origin ? finalUrl.href.slice(finalUrl.origin.length) : finalUrl.href;
130739
+ return resolveAs ? [
130740
+ resolvedHref,
130741
+ interpolatedAs || resolvedHref
130742
+ ] : resolvedHref;
130743
+ } catch (_) {
130744
+ return resolveAs ? [
130745
+ urlAsString
130746
+ ] : urlAsString;
130747
+ }
130748
+ }
130749
+
130750
+ if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
130751
+ Object.defineProperty(exports.default, '__esModule', { value: true });
130752
+ Object.assign(exports.default, exports);
130753
+ module.exports = exports.default;
130754
+ }
130755
+
130756
+
130757
+ } (resolveHref, resolveHref.exports));
130758
+ return resolveHref.exports;
130759
+ }
130760
+
130761
+ var addLocale$1 = {exports: {}};
130762
+
130763
+ var addLocale = {};
130764
+
130765
+ var addPathPrefix = {};
130766
+
130767
+ var hasRequiredAddPathPrefix;
130768
+
130769
+ function requireAddPathPrefix () {
130770
+ if (hasRequiredAddPathPrefix) return addPathPrefix;
130771
+ hasRequiredAddPathPrefix = 1;
130772
+ (function (exports) {
130773
+ Object.defineProperty(exports, "__esModule", {
130774
+ value: true
130775
+ });
130776
+ Object.defineProperty(exports, "addPathPrefix", {
130777
+ enumerable: true,
130778
+ get: function() {
130779
+ return addPathPrefix;
130780
+ }
130781
+ });
130782
+ const _parsepath = requireParsePath();
130783
+ function addPathPrefix(path, prefix) {
130784
+ if (!path.startsWith("/") || !prefix) {
130785
+ return path;
130786
+ }
130787
+ const { pathname, query, hash } = (0, _parsepath.parsePath)(path);
130788
+ return "" + prefix + pathname + query + hash;
130789
+ }
130790
+
130791
+
130792
+ } (addPathPrefix));
130793
+ return addPathPrefix;
130794
+ }
130795
+
130796
+ var hasRequiredAddLocale$1;
130797
+
130798
+ function requireAddLocale$1 () {
130799
+ if (hasRequiredAddLocale$1) return addLocale;
130800
+ hasRequiredAddLocale$1 = 1;
130801
+ (function (exports) {
130802
+ Object.defineProperty(exports, "__esModule", {
130803
+ value: true
130804
+ });
130805
+ Object.defineProperty(exports, "addLocale", {
130806
+ enumerable: true,
130807
+ get: function() {
130808
+ return addLocale;
130809
+ }
130810
+ });
130811
+ const _addpathprefix = requireAddPathPrefix();
130812
+ const _pathhasprefix = requirePathHasPrefix();
130813
+ function addLocale(path, locale, defaultLocale, ignorePrefix) {
130814
+ // If no locale was given or the locale is the default locale, we don't need
130815
+ // to prefix the path.
130816
+ if (!locale || locale === defaultLocale) return path;
130817
+ const lower = path.toLowerCase();
130818
+ // If the path is an API path or the path already has the locale prefix, we
130819
+ // don't need to prefix the path.
130820
+ if (!ignorePrefix) {
130821
+ if ((0, _pathhasprefix.pathHasPrefix)(lower, "/api")) return path;
130822
+ if ((0, _pathhasprefix.pathHasPrefix)(lower, "/" + locale.toLowerCase())) return path;
130823
+ }
130824
+ // Add the locale prefix to the path.
130825
+ return (0, _addpathprefix.addPathPrefix)(path, "/" + locale);
130826
+ }
130827
+
130828
+
130829
+ } (addLocale));
130830
+ return addLocale;
130831
+ }
130832
+
130833
+ var hasRequiredAddLocale;
130834
+
130835
+ function requireAddLocale () {
130836
+ if (hasRequiredAddLocale) return addLocale$1.exports;
130837
+ hasRequiredAddLocale = 1;
130838
+ (function (module, exports) {
130839
+ Object.defineProperty(exports, "__esModule", {
130840
+ value: true
130841
+ });
130842
+ Object.defineProperty(exports, "addLocale", {
130843
+ enumerable: true,
130844
+ get: function() {
130845
+ return addLocale;
130846
+ }
130847
+ });
130848
+ const _normalizetrailingslash = requireNormalizeTrailingSlash();
130849
+ const addLocale = function(path) {
130850
+ for(var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
130851
+ args[_key - 1] = arguments[_key];
130852
+ }
130853
+ if (process.env.__NEXT_I18N_SUPPORT) {
130854
+ return (0, _normalizetrailingslash.normalizePathTrailingSlash)(requireAddLocale$1().addLocale(path, ...args));
130855
+ }
130856
+ return path;
130857
+ };
130858
+
130859
+ if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
130860
+ Object.defineProperty(exports.default, '__esModule', { value: true });
130861
+ Object.assign(exports.default, exports);
130862
+ module.exports = exports.default;
130863
+ }
130864
+
130865
+
130866
+ } (addLocale$1, addLocale$1.exports));
130867
+ return addLocale$1.exports;
130868
+ }
130869
+
130870
+ var routerContext_sharedRuntime = {};
130871
+
130872
+ var hasRequiredRouterContext_sharedRuntime;
130873
+
130874
+ function requireRouterContext_sharedRuntime () {
130875
+ if (hasRequiredRouterContext_sharedRuntime) return routerContext_sharedRuntime;
130876
+ hasRequiredRouterContext_sharedRuntime = 1;
130877
+ (function (exports) {
130878
+ Object.defineProperty(exports, "__esModule", {
130879
+ value: true
130880
+ });
130881
+ Object.defineProperty(exports, "RouterContext", {
130882
+ enumerable: true,
130883
+ get: function() {
130884
+ return RouterContext;
130885
+ }
130886
+ });
130887
+ const _interop_require_default = _interop_require_default$1;
130888
+ const _react = /*#__PURE__*/ _interop_require_default._(React__default);
130889
+ const RouterContext = _react.default.createContext(null);
130890
+ if (process.env.NODE_ENV !== "production") {
130891
+ RouterContext.displayName = "RouterContext";
130892
+ }
130893
+
130894
+
130895
+ } (routerContext_sharedRuntime));
130896
+ return routerContext_sharedRuntime;
130897
+ }
130898
+
130899
+ var appRouterContext_sharedRuntime = {};
130900
+
130901
+ var hasRequiredAppRouterContext_sharedRuntime;
130902
+
130903
+ function requireAppRouterContext_sharedRuntime () {
130904
+ if (hasRequiredAppRouterContext_sharedRuntime) return appRouterContext_sharedRuntime;
130905
+ hasRequiredAppRouterContext_sharedRuntime = 1;
130906
+ (function (exports) {
130907
+ "use client";
130908
+ Object.defineProperty(exports, "__esModule", {
130909
+ value: true
130910
+ });
130911
+ function _export(target, all) {
130912
+ for(var name in all)Object.defineProperty(target, name, {
130913
+ enumerable: true,
130914
+ get: all[name]
130915
+ });
130916
+ }
130917
+ _export(exports, {
130918
+ AppRouterContext: function() {
130919
+ return AppRouterContext;
130920
+ },
130921
+ GlobalLayoutRouterContext: function() {
130922
+ return GlobalLayoutRouterContext;
130923
+ },
130924
+ LayoutRouterContext: function() {
130925
+ return LayoutRouterContext;
130926
+ },
130927
+ MissingSlotContext: function() {
130928
+ return MissingSlotContext;
130929
+ },
130930
+ TemplateContext: function() {
130931
+ return TemplateContext;
130932
+ }
130933
+ });
130934
+ const _interop_require_default = _interop_require_default$1;
130935
+ const _react = /*#__PURE__*/ _interop_require_default._(React__default);
130936
+ const AppRouterContext = _react.default.createContext(null);
130937
+ const LayoutRouterContext = _react.default.createContext(null);
130938
+ const GlobalLayoutRouterContext = _react.default.createContext(null);
130939
+ const TemplateContext = _react.default.createContext(null);
130940
+ if (process.env.NODE_ENV !== "production") {
130941
+ AppRouterContext.displayName = "AppRouterContext";
130942
+ LayoutRouterContext.displayName = "LayoutRouterContext";
130943
+ GlobalLayoutRouterContext.displayName = "GlobalLayoutRouterContext";
130944
+ TemplateContext.displayName = "TemplateContext";
130945
+ }
130946
+ const MissingSlotContext = _react.default.createContext(new Set());
130947
+
130948
+
130949
+ } (appRouterContext_sharedRuntime));
130950
+ return appRouterContext_sharedRuntime;
130951
+ }
130952
+
130953
+ var useIntersection = {exports: {}};
130954
+
130955
+ var requestIdleCallback = {exports: {}};
130956
+
130957
+ var hasRequiredRequestIdleCallback;
130958
+
130959
+ function requireRequestIdleCallback () {
130960
+ if (hasRequiredRequestIdleCallback) return requestIdleCallback.exports;
130961
+ hasRequiredRequestIdleCallback = 1;
130962
+ (function (module, exports) {
130963
+ Object.defineProperty(exports, "__esModule", {
130964
+ value: true
130965
+ });
130966
+ function _export(target, all) {
130967
+ for(var name in all)Object.defineProperty(target, name, {
130968
+ enumerable: true,
130969
+ get: all[name]
130970
+ });
130971
+ }
130972
+ _export(exports, {
130973
+ cancelIdleCallback: function() {
130974
+ return cancelIdleCallback;
130975
+ },
130976
+ requestIdleCallback: function() {
130977
+ return requestIdleCallback;
130978
+ }
130979
+ });
130980
+ const requestIdleCallback = typeof self !== "undefined" && self.requestIdleCallback && self.requestIdleCallback.bind(window) || function(cb) {
130981
+ let start = Date.now();
130982
+ return self.setTimeout(function() {
130983
+ cb({
130984
+ didTimeout: false,
130985
+ timeRemaining: function() {
130986
+ return Math.max(0, 50 - (Date.now() - start));
130987
+ }
130988
+ });
130989
+ }, 1);
130990
+ };
130991
+ const cancelIdleCallback = typeof self !== "undefined" && self.cancelIdleCallback && self.cancelIdleCallback.bind(window) || function(id) {
130992
+ return clearTimeout(id);
130993
+ };
130994
+
130995
+ if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
130996
+ Object.defineProperty(exports.default, '__esModule', { value: true });
130997
+ Object.assign(exports.default, exports);
130998
+ module.exports = exports.default;
130999
+ }
131000
+
131001
+
131002
+ } (requestIdleCallback, requestIdleCallback.exports));
131003
+ return requestIdleCallback.exports;
131004
+ }
131005
+
131006
+ var hasRequiredUseIntersection;
131007
+
131008
+ function requireUseIntersection () {
131009
+ if (hasRequiredUseIntersection) return useIntersection.exports;
131010
+ hasRequiredUseIntersection = 1;
131011
+ (function (module, exports) {
131012
+ Object.defineProperty(exports, "__esModule", {
131013
+ value: true
131014
+ });
131015
+ Object.defineProperty(exports, "useIntersection", {
131016
+ enumerable: true,
131017
+ get: function() {
131018
+ return useIntersection;
131019
+ }
131020
+ });
131021
+ const _react = React__default;
131022
+ const _requestidlecallback = requireRequestIdleCallback();
131023
+ const hasIntersectionObserver = typeof IntersectionObserver === "function";
131024
+ const observers = new Map();
131025
+ const idList = [];
131026
+ function createObserver(options) {
131027
+ const id = {
131028
+ root: options.root || null,
131029
+ margin: options.rootMargin || ""
131030
+ };
131031
+ const existing = idList.find((obj)=>obj.root === id.root && obj.margin === id.margin);
131032
+ let instance;
131033
+ if (existing) {
131034
+ instance = observers.get(existing);
131035
+ if (instance) {
131036
+ return instance;
131037
+ }
131038
+ }
131039
+ const elements = new Map();
131040
+ const observer = new IntersectionObserver((entries)=>{
131041
+ entries.forEach((entry)=>{
131042
+ const callback = elements.get(entry.target);
131043
+ const isVisible = entry.isIntersecting || entry.intersectionRatio > 0;
131044
+ if (callback && isVisible) {
131045
+ callback(isVisible);
131046
+ }
131047
+ });
131048
+ }, options);
131049
+ instance = {
131050
+ id,
131051
+ observer,
131052
+ elements
131053
+ };
131054
+ idList.push(id);
131055
+ observers.set(id, instance);
131056
+ return instance;
131057
+ }
131058
+ function observe(element, callback, options) {
131059
+ const { id, observer, elements } = createObserver(options);
131060
+ elements.set(element, callback);
131061
+ observer.observe(element);
131062
+ return function unobserve() {
131063
+ elements.delete(element);
131064
+ observer.unobserve(element);
131065
+ // Destroy observer when there's nothing left to watch:
131066
+ if (elements.size === 0) {
131067
+ observer.disconnect();
131068
+ observers.delete(id);
131069
+ const index = idList.findIndex((obj)=>obj.root === id.root && obj.margin === id.margin);
131070
+ if (index > -1) {
131071
+ idList.splice(index, 1);
131072
+ }
131073
+ }
131074
+ };
131075
+ }
131076
+ function useIntersection(param) {
131077
+ let { rootRef, rootMargin, disabled } = param;
131078
+ const isDisabled = disabled || !hasIntersectionObserver;
131079
+ const [visible, setVisible] = (0, _react.useState)(false);
131080
+ const elementRef = (0, _react.useRef)(null);
131081
+ const setElement = (0, _react.useCallback)((element)=>{
131082
+ elementRef.current = element;
131083
+ }, []);
131084
+ (0, _react.useEffect)(()=>{
131085
+ if (hasIntersectionObserver) {
131086
+ if (isDisabled || visible) return;
131087
+ const element = elementRef.current;
131088
+ if (element && element.tagName) {
131089
+ const unobserve = observe(element, (isVisible)=>isVisible && setVisible(isVisible), {
131090
+ root: rootRef == null ? void 0 : rootRef.current,
131091
+ rootMargin
131092
+ });
131093
+ return unobserve;
131094
+ }
131095
+ } else {
131096
+ if (!visible) {
131097
+ const idleCallback = (0, _requestidlecallback.requestIdleCallback)(()=>setVisible(true));
131098
+ return ()=>(0, _requestidlecallback.cancelIdleCallback)(idleCallback);
131099
+ }
131100
+ }
131101
+ // eslint-disable-next-line react-hooks/exhaustive-deps
131102
+ }, [
131103
+ isDisabled,
131104
+ rootMargin,
131105
+ rootRef,
131106
+ visible,
131107
+ elementRef.current
131108
+ ]);
131109
+ const resetVisible = (0, _react.useCallback)(()=>{
131110
+ setVisible(false);
131111
+ }, []);
131112
+ return [
131113
+ setElement,
131114
+ visible,
131115
+ resetVisible
131116
+ ];
131117
+ }
131118
+
131119
+ if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
131120
+ Object.defineProperty(exports.default, '__esModule', { value: true });
131121
+ Object.assign(exports.default, exports);
131122
+ module.exports = exports.default;
131123
+ }
131124
+
131125
+
131126
+ } (useIntersection, useIntersection.exports));
131127
+ return useIntersection.exports;
131128
+ }
131129
+
131130
+ var getDomainLocale = {exports: {}};
131131
+
131132
+ var normalizeLocalePath$1 = {exports: {}};
131133
+
131134
+ var normalizeLocalePath = {};
131135
+
131136
+ var hasRequiredNormalizeLocalePath$1;
131137
+
131138
+ function requireNormalizeLocalePath$1 () {
131139
+ if (hasRequiredNormalizeLocalePath$1) return normalizeLocalePath;
131140
+ hasRequiredNormalizeLocalePath$1 = 1;
131141
+ (function (exports) {
131142
+ Object.defineProperty(exports, "__esModule", {
131143
+ value: true
131144
+ });
131145
+ Object.defineProperty(exports, "normalizeLocalePath", {
131146
+ enumerable: true,
131147
+ get: function() {
131148
+ return normalizeLocalePath;
131149
+ }
131150
+ });
131151
+ function normalizeLocalePath(pathname, locales) {
131152
+ let detectedLocale;
131153
+ // first item will be empty string from splitting at first char
131154
+ const pathnameParts = pathname.split("/");
131155
+ (locales || []).some((locale)=>{
131156
+ if (pathnameParts[1] && pathnameParts[1].toLowerCase() === locale.toLowerCase()) {
131157
+ detectedLocale = locale;
131158
+ pathnameParts.splice(1, 1);
131159
+ pathname = pathnameParts.join("/") || "/";
131160
+ return true;
131161
+ }
131162
+ return false;
131163
+ });
131164
+ return {
131165
+ pathname,
131166
+ detectedLocale
131167
+ };
131168
+ }
131169
+
131170
+
131171
+ } (normalizeLocalePath));
131172
+ return normalizeLocalePath;
131173
+ }
131174
+
131175
+ var hasRequiredNormalizeLocalePath;
131176
+
131177
+ function requireNormalizeLocalePath () {
131178
+ if (hasRequiredNormalizeLocalePath) return normalizeLocalePath$1.exports;
131179
+ hasRequiredNormalizeLocalePath = 1;
131180
+ (function (module, exports) {
131181
+ Object.defineProperty(exports, "__esModule", {
131182
+ value: true
131183
+ });
131184
+ Object.defineProperty(exports, "normalizeLocalePath", {
131185
+ enumerable: true,
131186
+ get: function() {
131187
+ return normalizeLocalePath;
131188
+ }
131189
+ });
131190
+ const normalizeLocalePath = (pathname, locales)=>{
131191
+ if (process.env.__NEXT_I18N_SUPPORT) {
131192
+ return requireNormalizeLocalePath$1().normalizeLocalePath(pathname, locales);
131193
+ }
131194
+ return {
131195
+ pathname,
131196
+ detectedLocale: undefined
131197
+ };
131198
+ };
131199
+
131200
+ if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
131201
+ Object.defineProperty(exports.default, '__esModule', { value: true });
131202
+ Object.assign(exports.default, exports);
131203
+ module.exports = exports.default;
131204
+ }
131205
+
131206
+
131207
+ } (normalizeLocalePath$1, normalizeLocalePath$1.exports));
131208
+ return normalizeLocalePath$1.exports;
131209
+ }
131210
+
131211
+ var detectDomainLocale$1 = {exports: {}};
131212
+
131213
+ var detectDomainLocale = {};
131214
+
131215
+ var hasRequiredDetectDomainLocale$1;
131216
+
131217
+ function requireDetectDomainLocale$1 () {
131218
+ if (hasRequiredDetectDomainLocale$1) return detectDomainLocale;
131219
+ hasRequiredDetectDomainLocale$1 = 1;
131220
+ (function (exports) {
131221
+ Object.defineProperty(exports, "__esModule", {
131222
+ value: true
131223
+ });
131224
+ Object.defineProperty(exports, "detectDomainLocale", {
131225
+ enumerable: true,
131226
+ get: function() {
131227
+ return detectDomainLocale;
131228
+ }
131229
+ });
131230
+ function detectDomainLocale(domainItems, hostname, detectedLocale) {
131231
+ if (!domainItems) return;
131232
+ if (detectedLocale) {
131233
+ detectedLocale = detectedLocale.toLowerCase();
131234
+ }
131235
+ for (const item of domainItems){
131236
+ var _item_domain, _item_locales;
131237
+ // remove port if present
131238
+ const domainHostname = (_item_domain = item.domain) == null ? void 0 : _item_domain.split(":", 1)[0].toLowerCase();
131239
+ if (hostname === domainHostname || detectedLocale === item.defaultLocale.toLowerCase() || ((_item_locales = item.locales) == null ? void 0 : _item_locales.some((locale)=>locale.toLowerCase() === detectedLocale))) {
131240
+ return item;
131241
+ }
131242
+ }
131243
+ }
131244
+
131245
+
131246
+ } (detectDomainLocale));
131247
+ return detectDomainLocale;
131248
+ }
131249
+
131250
+ var hasRequiredDetectDomainLocale;
131251
+
131252
+ function requireDetectDomainLocale () {
131253
+ if (hasRequiredDetectDomainLocale) return detectDomainLocale$1.exports;
131254
+ hasRequiredDetectDomainLocale = 1;
131255
+ (function (module, exports) {
131256
+ Object.defineProperty(exports, "__esModule", {
131257
+ value: true
131258
+ });
131259
+ Object.defineProperty(exports, "detectDomainLocale", {
131260
+ enumerable: true,
131261
+ get: function() {
131262
+ return detectDomainLocale;
131263
+ }
131264
+ });
131265
+ const detectDomainLocale = function() {
131266
+ for(var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++){
131267
+ args[_key] = arguments[_key];
131268
+ }
131269
+ if (process.env.__NEXT_I18N_SUPPORT) {
131270
+ return requireDetectDomainLocale$1().detectDomainLocale(...args);
131271
+ }
131272
+ };
131273
+
131274
+ if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
131275
+ Object.defineProperty(exports.default, '__esModule', { value: true });
131276
+ Object.assign(exports.default, exports);
131277
+ module.exports = exports.default;
131278
+ }
131279
+
131280
+
131281
+ } (detectDomainLocale$1, detectDomainLocale$1.exports));
131282
+ return detectDomainLocale$1.exports;
131283
+ }
131284
+
131285
+ var hasRequiredGetDomainLocale;
131286
+
131287
+ function requireGetDomainLocale () {
131288
+ if (hasRequiredGetDomainLocale) return getDomainLocale.exports;
131289
+ hasRequiredGetDomainLocale = 1;
131290
+ (function (module, exports) {
131291
+ Object.defineProperty(exports, "__esModule", {
131292
+ value: true
131293
+ });
131294
+ Object.defineProperty(exports, "getDomainLocale", {
131295
+ enumerable: true,
131296
+ get: function() {
131297
+ return getDomainLocale;
131298
+ }
131299
+ });
131300
+ const _normalizetrailingslash = requireNormalizeTrailingSlash();
131301
+ const basePath = process.env.__NEXT_ROUTER_BASEPATH || "";
131302
+ function getDomainLocale(path, locale, locales, domainLocales) {
131303
+ if (process.env.__NEXT_I18N_SUPPORT) {
131304
+ const normalizeLocalePath = requireNormalizeLocalePath().normalizeLocalePath;
131305
+ const detectDomainLocale = requireDetectDomainLocale().detectDomainLocale;
131306
+ const target = locale || normalizeLocalePath(path, locales).detectedLocale;
131307
+ const domain = detectDomainLocale(domainLocales, undefined, target);
131308
+ if (domain) {
131309
+ const proto = "http" + (domain.http ? "" : "s") + "://";
131310
+ const finalLocale = target === domain.defaultLocale ? "" : "/" + target;
131311
+ return "" + proto + domain.domain + (0, _normalizetrailingslash.normalizePathTrailingSlash)("" + basePath + finalLocale + path);
131312
+ }
131313
+ return false;
131314
+ } else {
131315
+ return false;
131316
+ }
131317
+ }
131318
+
131319
+ if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
131320
+ Object.defineProperty(exports.default, '__esModule', { value: true });
131321
+ Object.assign(exports.default, exports);
131322
+ module.exports = exports.default;
131323
+ }
131324
+
131325
+
131326
+ } (getDomainLocale, getDomainLocale.exports));
131327
+ return getDomainLocale.exports;
131328
+ }
131329
+
131330
+ var addBasePath = {exports: {}};
131331
+
131332
+ var hasRequiredAddBasePath;
131333
+
131334
+ function requireAddBasePath () {
131335
+ if (hasRequiredAddBasePath) return addBasePath.exports;
131336
+ hasRequiredAddBasePath = 1;
131337
+ (function (module, exports) {
131338
+ Object.defineProperty(exports, "__esModule", {
131339
+ value: true
131340
+ });
131341
+ Object.defineProperty(exports, "addBasePath", {
131342
+ enumerable: true,
131343
+ get: function() {
131344
+ return addBasePath;
131345
+ }
131346
+ });
131347
+ const _addpathprefix = requireAddPathPrefix();
131348
+ const _normalizetrailingslash = requireNormalizeTrailingSlash();
131349
+ const basePath = process.env.__NEXT_ROUTER_BASEPATH || "";
131350
+ function addBasePath(path, required) {
131351
+ return (0, _normalizetrailingslash.normalizePathTrailingSlash)(process.env.__NEXT_MANUAL_CLIENT_BASE_PATH && !required ? path : (0, _addpathprefix.addPathPrefix)(path, basePath));
131352
+ }
131353
+
131354
+ if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
131355
+ Object.defineProperty(exports.default, '__esModule', { value: true });
131356
+ Object.assign(exports.default, exports);
131357
+ module.exports = exports.default;
131358
+ }
131359
+
131360
+
131361
+ } (addBasePath, addBasePath.exports));
131362
+ return addBasePath.exports;
131363
+ }
131364
+
131365
+ var routerReducerTypes = {exports: {}};
131366
+
131367
+ var hasRequiredRouterReducerTypes;
131368
+
131369
+ function requireRouterReducerTypes () {
131370
+ if (hasRequiredRouterReducerTypes) return routerReducerTypes.exports;
131371
+ hasRequiredRouterReducerTypes = 1;
131372
+ (function (module, exports) {
131373
+ Object.defineProperty(exports, "__esModule", {
131374
+ value: true
131375
+ });
131376
+ function _export(target, all) {
131377
+ for(var name in all)Object.defineProperty(target, name, {
131378
+ enumerable: true,
131379
+ get: all[name]
131380
+ });
131381
+ }
131382
+ _export(exports, {
131383
+ ACTION_FAST_REFRESH: function() {
131384
+ return ACTION_FAST_REFRESH;
131385
+ },
131386
+ ACTION_NAVIGATE: function() {
131387
+ return ACTION_NAVIGATE;
131388
+ },
131389
+ ACTION_PREFETCH: function() {
131390
+ return ACTION_PREFETCH;
131391
+ },
131392
+ ACTION_REFRESH: function() {
131393
+ return ACTION_REFRESH;
131394
+ },
131395
+ ACTION_RESTORE: function() {
131396
+ return ACTION_RESTORE;
131397
+ },
131398
+ ACTION_SERVER_ACTION: function() {
131399
+ return ACTION_SERVER_ACTION;
131400
+ },
131401
+ ACTION_SERVER_PATCH: function() {
131402
+ return ACTION_SERVER_PATCH;
131403
+ },
131404
+ PrefetchCacheEntryStatus: function() {
131405
+ return PrefetchCacheEntryStatus;
131406
+ },
131407
+ PrefetchKind: function() {
131408
+ return PrefetchKind;
131409
+ },
131410
+ isThenable: function() {
131411
+ return isThenable;
131412
+ }
131413
+ });
131414
+ const ACTION_REFRESH = "refresh";
131415
+ const ACTION_NAVIGATE = "navigate";
131416
+ const ACTION_RESTORE = "restore";
131417
+ const ACTION_SERVER_PATCH = "server-patch";
131418
+ const ACTION_PREFETCH = "prefetch";
131419
+ const ACTION_FAST_REFRESH = "fast-refresh";
131420
+ const ACTION_SERVER_ACTION = "server-action";
131421
+ var PrefetchKind;
131422
+ (function(PrefetchKind) {
131423
+ PrefetchKind["AUTO"] = "auto";
131424
+ PrefetchKind["FULL"] = "full";
131425
+ PrefetchKind["TEMPORARY"] = "temporary";
131426
+ })(PrefetchKind || (PrefetchKind = {}));
131427
+ var PrefetchCacheEntryStatus;
131428
+ (function(PrefetchCacheEntryStatus) {
131429
+ PrefetchCacheEntryStatus["fresh"] = "fresh";
131430
+ PrefetchCacheEntryStatus["reusable"] = "reusable";
131431
+ PrefetchCacheEntryStatus["expired"] = "expired";
131432
+ PrefetchCacheEntryStatus["stale"] = "stale";
131433
+ })(PrefetchCacheEntryStatus || (PrefetchCacheEntryStatus = {}));
131434
+ function isThenable(value) {
131435
+ // TODO: We don't gain anything from this abstraction. It's unsound, and only
131436
+ // makes sense in the specific places where we use it. So it's better to keep
131437
+ // the type coercion inline, instead of leaking this to other places in
131438
+ // the codebase.
131439
+ return value && (typeof value === "object" || typeof value === "function") && typeof value.then === "function";
131440
+ }
131441
+
131442
+ if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
131443
+ Object.defineProperty(exports.default, '__esModule', { value: true });
131444
+ Object.assign(exports.default, exports);
131445
+ module.exports = exports.default;
131446
+ }
131447
+
131448
+
131449
+ } (routerReducerTypes, routerReducerTypes.exports));
131450
+ return routerReducerTypes.exports;
131451
+ }
131452
+
131453
+ (function (module, exports) {
131454
+ "use client";
131455
+ Object.defineProperty(exports, "__esModule", {
131456
+ value: true
131457
+ });
131458
+ Object.defineProperty(exports, "default", {
131459
+ enumerable: true,
131460
+ get: function() {
131461
+ return _default;
131462
+ }
131463
+ });
131464
+ const _interop_require_default = _interop_require_default$1;
131465
+ const _jsxruntime = require$$1;
131466
+ const _react = /*#__PURE__*/ _interop_require_default._(React__default);
131467
+ const _resolvehref = requireResolveHref();
131468
+ const _islocalurl = requireIsLocalUrl();
131469
+ const _formaturl = requireFormatUrl();
131470
+ const _utils = requireUtils$1();
131471
+ const _addlocale = requireAddLocale();
131472
+ const _routercontextsharedruntime = requireRouterContext_sharedRuntime();
131473
+ const _approutercontextsharedruntime = requireAppRouterContext_sharedRuntime();
131474
+ const _useintersection = requireUseIntersection();
131475
+ const _getdomainlocale = requireGetDomainLocale();
131476
+ const _addbasepath = requireAddBasePath();
131477
+ const _routerreducertypes = requireRouterReducerTypes();
131478
+ const prefetched = new Set();
131479
+ function prefetch(router, href, as, options, appOptions, isAppRouter) {
131480
+ if (typeof window === "undefined") {
131481
+ return;
131482
+ }
131483
+ // app-router supports external urls out of the box so it shouldn't short-circuit here as support for e.g. `replace` is added in the app-router.
131484
+ if (!isAppRouter && !(0, _islocalurl.isLocalURL)(href)) {
131485
+ return;
131486
+ }
131487
+ // We should only dedupe requests when experimental.optimisticClientCache is
131488
+ // disabled.
131489
+ if (!options.bypassPrefetchedCheck) {
131490
+ const locale = // Let the link's locale prop override the default router locale.
131491
+ typeof options.locale !== "undefined" ? options.locale : "locale" in router ? router.locale : undefined;
131492
+ const prefetchedKey = href + "%" + as + "%" + locale;
131493
+ // If we've already fetched the key, then don't prefetch it again!
131494
+ if (prefetched.has(prefetchedKey)) {
131495
+ return;
131496
+ }
131497
+ // Mark this URL as prefetched.
131498
+ prefetched.add(prefetchedKey);
131499
+ }
131500
+ const doPrefetch = async ()=>{
131501
+ if (isAppRouter) {
131502
+ // note that `appRouter.prefetch()` is currently sync,
131503
+ // so we have to wrap this call in an async function to be able to catch() errors below.
131504
+ return router.prefetch(href, appOptions);
131505
+ } else {
131506
+ return router.prefetch(href, as, options);
131507
+ }
131508
+ };
131509
+ // Prefetch the JSON page if asked (only in the client)
131510
+ // We need to handle a prefetch error here since we may be
131511
+ // loading with priority which can reject but we don't
131512
+ // want to force navigation since this is only a prefetch
131513
+ doPrefetch().catch((err)=>{
131514
+ if (process.env.NODE_ENV !== "production") {
131515
+ // rethrow to show invalid URL errors
131516
+ throw err;
131517
+ }
131518
+ });
131519
+ }
131520
+ function isModifiedEvent(event) {
131521
+ const eventTarget = event.currentTarget;
131522
+ const target = eventTarget.getAttribute("target");
131523
+ return target && target !== "_self" || event.metaKey || event.ctrlKey || event.shiftKey || event.altKey || // triggers resource download
131524
+ event.nativeEvent && event.nativeEvent.which === 2;
131525
+ }
131526
+ function linkClicked(e, router, href, as, replace, shallow, scroll, locale, isAppRouter) {
131527
+ const { nodeName } = e.currentTarget;
131528
+ // anchors inside an svg have a lowercase nodeName
131529
+ const isAnchorNodeName = nodeName.toUpperCase() === "A";
131530
+ if (isAnchorNodeName && (isModifiedEvent(e) || // app-router supports external urls out of the box so it shouldn't short-circuit here as support for e.g. `replace` is added in the app-router.
131531
+ !isAppRouter && !(0, _islocalurl.isLocalURL)(href))) {
131532
+ // ignore click for browser’s default behavior
131533
+ return;
131534
+ }
131535
+ e.preventDefault();
131536
+ const navigate = ()=>{
131537
+ // If the router is an NextRouter instance it will have `beforePopState`
131538
+ const routerScroll = scroll != null ? scroll : true;
131539
+ if ("beforePopState" in router) {
131540
+ router[replace ? "replace" : "push"](href, as, {
131541
+ shallow,
131542
+ locale,
131543
+ scroll: routerScroll
131544
+ });
131545
+ } else {
131546
+ router[replace ? "replace" : "push"](as || href, {
131547
+ scroll: routerScroll
131548
+ });
131549
+ }
131550
+ };
131551
+ if (isAppRouter) {
131552
+ _react.default.startTransition(navigate);
131553
+ } else {
131554
+ navigate();
131555
+ }
131556
+ }
131557
+ function formatStringOrUrl(urlObjOrString) {
131558
+ if (typeof urlObjOrString === "string") {
131559
+ return urlObjOrString;
131560
+ }
131561
+ return (0, _formaturl.formatUrl)(urlObjOrString);
131562
+ }
131563
+ /**
131564
+ * A React component that extends the HTML `<a>` element to provide [prefetching](https://nextjs.org/docs/app/building-your-application/routing/linking-and-navigating#2-prefetching)
131565
+ * and client-side navigation between routes.
131566
+ *
131567
+ * It is the primary way to navigate between routes in Next.js.
131568
+ *
131569
+ * Read more: [Next.js docs: `<Link>`](https://nextjs.org/docs/app/api-reference/components/link)
131570
+ */ const Link = /*#__PURE__*/ _react.default.forwardRef(function LinkComponent(props, forwardedRef) {
131571
+ let children;
131572
+ const { href: hrefProp, as: asProp, children: childrenProp, prefetch: prefetchProp = null, passHref, replace, shallow, scroll, locale, onClick, onMouseEnter: onMouseEnterProp, onTouchStart: onTouchStartProp, legacyBehavior = false, ...restProps } = props;
131573
+ children = childrenProp;
131574
+ if (legacyBehavior && (typeof children === "string" || typeof children === "number")) {
131575
+ children = /*#__PURE__*/ (0, _jsxruntime.jsx)("a", {
131576
+ children: children
131577
+ });
131578
+ }
131579
+ const pagesRouter = _react.default.useContext(_routercontextsharedruntime.RouterContext);
131580
+ const appRouter = _react.default.useContext(_approutercontextsharedruntime.AppRouterContext);
131581
+ const router = pagesRouter != null ? pagesRouter : appRouter;
131582
+ // We're in the app directory if there is no pages router.
131583
+ const isAppRouter = !pagesRouter;
131584
+ const prefetchEnabled = prefetchProp !== false;
131585
+ /**
131586
+ * The possible states for prefetch are:
131587
+ * - null: this is the default "auto" mode, where we will prefetch partially if the link is in the viewport
131588
+ * - true: we will prefetch if the link is visible and prefetch the full page, not just partially
131589
+ * - false: we will not prefetch if in the viewport at all
131590
+ */ const appPrefetchKind = prefetchProp === null ? _routerreducertypes.PrefetchKind.AUTO : _routerreducertypes.PrefetchKind.FULL;
131591
+ if (process.env.NODE_ENV !== "production") {
131592
+ function createPropError(args) {
131593
+ return new Error("Failed prop type: The prop `" + args.key + "` expects a " + args.expected + " in `<Link>`, but got `" + args.actual + "` instead." + (typeof window !== "undefined" ? "\nOpen your browser's console to view the Component stack trace." : ""));
131594
+ }
131595
+ // TypeScript trick for type-guarding:
131596
+ const requiredPropsGuard = {
131597
+ href: true
131598
+ };
131599
+ const requiredProps = Object.keys(requiredPropsGuard);
131600
+ requiredProps.forEach((key)=>{
131601
+ if (key === "href") {
131602
+ if (props[key] == null || typeof props[key] !== "string" && typeof props[key] !== "object") {
131603
+ throw createPropError({
131604
+ key,
131605
+ expected: "`string` or `object`",
131606
+ actual: props[key] === null ? "null" : typeof props[key]
131607
+ });
131608
+ }
131609
+ }
131610
+ });
131611
+ // TypeScript trick for type-guarding:
131612
+ const optionalPropsGuard = {
131613
+ as: true,
131614
+ replace: true,
131615
+ scroll: true,
131616
+ shallow: true,
131617
+ passHref: true,
131618
+ prefetch: true,
131619
+ locale: true,
131620
+ onClick: true,
131621
+ onMouseEnter: true,
131622
+ onTouchStart: true,
131623
+ legacyBehavior: true
131624
+ };
131625
+ const optionalProps = Object.keys(optionalPropsGuard);
131626
+ optionalProps.forEach((key)=>{
131627
+ const valType = typeof props[key];
131628
+ if (key === "as") {
131629
+ if (props[key] && valType !== "string" && valType !== "object") {
131630
+ throw createPropError({
131631
+ key,
131632
+ expected: "`string` or `object`",
131633
+ actual: valType
131634
+ });
131635
+ }
131636
+ } else if (key === "locale") {
131637
+ if (props[key] && valType !== "string") {
131638
+ throw createPropError({
131639
+ key,
131640
+ expected: "`string`",
131641
+ actual: valType
131642
+ });
131643
+ }
131644
+ } else if (key === "onClick" || key === "onMouseEnter" || key === "onTouchStart") {
131645
+ if (props[key] && valType !== "function") {
131646
+ throw createPropError({
131647
+ key,
131648
+ expected: "`function`",
131649
+ actual: valType
131650
+ });
131651
+ }
131652
+ } else if (key === "replace" || key === "scroll" || key === "shallow" || key === "passHref" || key === "prefetch" || key === "legacyBehavior") {
131653
+ if (props[key] != null && valType !== "boolean") {
131654
+ throw createPropError({
131655
+ key,
131656
+ expected: "`boolean`",
131657
+ actual: valType
131658
+ });
131659
+ }
131660
+ } else ;
131661
+ });
131662
+ // This hook is in a conditional but that is ok because `process.env.NODE_ENV` never changes
131663
+ // eslint-disable-next-line react-hooks/rules-of-hooks
131664
+ const hasWarned = _react.default.useRef(false);
131665
+ if (props.prefetch && !hasWarned.current && !isAppRouter) {
131666
+ hasWarned.current = true;
131667
+ console.warn("Next.js auto-prefetches automatically based on viewport. The prefetch attribute is no longer needed. More: https://nextjs.org/docs/messages/prefetch-true-deprecated");
131668
+ }
131669
+ }
131670
+ if (process.env.NODE_ENV !== "production") {
131671
+ if (isAppRouter && !asProp) {
131672
+ let href;
131673
+ if (typeof hrefProp === "string") {
131674
+ href = hrefProp;
131675
+ } else if (typeof hrefProp === "object" && typeof hrefProp.pathname === "string") {
131676
+ href = hrefProp.pathname;
131677
+ }
131678
+ if (href) {
131679
+ const hasDynamicSegment = href.split("/").some((segment)=>segment.startsWith("[") && segment.endsWith("]"));
131680
+ if (hasDynamicSegment) {
131681
+ throw new Error("Dynamic href `" + href + "` found in <Link> while using the `/app` router, this is not supported. Read more: https://nextjs.org/docs/messages/app-dir-dynamic-href");
131682
+ }
131683
+ }
131684
+ }
131685
+ }
131686
+ const { href, as } = _react.default.useMemo(()=>{
131687
+ if (!pagesRouter) {
131688
+ const resolvedHref = formatStringOrUrl(hrefProp);
131689
+ return {
131690
+ href: resolvedHref,
131691
+ as: asProp ? formatStringOrUrl(asProp) : resolvedHref
131692
+ };
131693
+ }
131694
+ const [resolvedHref, resolvedAs] = (0, _resolvehref.resolveHref)(pagesRouter, hrefProp, true);
131695
+ return {
131696
+ href: resolvedHref,
131697
+ as: asProp ? (0, _resolvehref.resolveHref)(pagesRouter, asProp) : resolvedAs || resolvedHref
131698
+ };
131699
+ }, [
131700
+ pagesRouter,
131701
+ hrefProp,
131702
+ asProp
131703
+ ]);
131704
+ const previousHref = _react.default.useRef(href);
131705
+ const previousAs = _react.default.useRef(as);
131706
+ // This will return the first child, if multiple are provided it will throw an error
131707
+ let child;
131708
+ if (legacyBehavior) {
131709
+ if (process.env.NODE_ENV === "development") {
131710
+ if (onClick) {
131711
+ console.warn('"onClick" was passed to <Link> with `href` of `' + hrefProp + '` but "legacyBehavior" was set. The legacy behavior requires onClick be set on the child of next/link');
131712
+ }
131713
+ if (onMouseEnterProp) {
131714
+ console.warn('"onMouseEnter" was passed to <Link> with `href` of `' + hrefProp + '` but "legacyBehavior" was set. The legacy behavior requires onMouseEnter be set on the child of next/link');
131715
+ }
131716
+ try {
131717
+ child = _react.default.Children.only(children);
131718
+ } catch (err) {
131719
+ if (!children) {
131720
+ throw new Error("No children were passed to <Link> with `href` of `" + hrefProp + "` but one child is required https://nextjs.org/docs/messages/link-no-children");
131721
+ }
131722
+ throw new Error("Multiple children were passed to <Link> with `href` of `" + hrefProp + "` but only one child is supported https://nextjs.org/docs/messages/link-multiple-children" + (typeof window !== "undefined" ? " \nOpen your browser's console to view the Component stack trace." : ""));
131723
+ }
131724
+ } else {
131725
+ child = _react.default.Children.only(children);
131726
+ }
131727
+ } else {
131728
+ if (process.env.NODE_ENV === "development") {
131729
+ if ((children == null ? void 0 : children.type) === "a") {
131730
+ throw new Error("Invalid <Link> with <a> child. Please remove <a> or use <Link legacyBehavior>.\nLearn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor");
131731
+ }
131732
+ }
131733
+ }
131734
+ const childRef = legacyBehavior ? child && typeof child === "object" && child.ref : forwardedRef;
131735
+ const [setIntersectionRef, isVisible, resetVisible] = (0, _useintersection.useIntersection)({
131736
+ rootMargin: "200px"
131737
+ });
131738
+ const setRef = _react.default.useCallback((el)=>{
131739
+ // Before the link getting observed, check if visible state need to be reset
131740
+ if (previousAs.current !== as || previousHref.current !== href) {
131741
+ resetVisible();
131742
+ previousAs.current = as;
131743
+ previousHref.current = href;
131744
+ }
131745
+ setIntersectionRef(el);
131746
+ if (childRef) {
131747
+ if (typeof childRef === "function") childRef(el);
131748
+ else if (typeof childRef === "object") {
131749
+ childRef.current = el;
131750
+ }
131751
+ }
131752
+ }, [
131753
+ as,
131754
+ childRef,
131755
+ href,
131756
+ resetVisible,
131757
+ setIntersectionRef
131758
+ ]);
131759
+ // Prefetch the URL if we haven't already and it's visible.
131760
+ _react.default.useEffect(()=>{
131761
+ // in dev, we only prefetch on hover to avoid wasting resources as the prefetch will trigger compiling the page.
131762
+ if (process.env.NODE_ENV !== "production") {
131763
+ return;
131764
+ }
131765
+ if (!router) {
131766
+ return;
131767
+ }
131768
+ // If we don't need to prefetch the URL, don't do prefetch.
131769
+ if (!isVisible || !prefetchEnabled) {
131770
+ return;
131771
+ }
131772
+ // Prefetch the URL.
131773
+ prefetch(router, href, as, {
131774
+ locale
131775
+ }, {
131776
+ kind: appPrefetchKind
131777
+ }, isAppRouter);
131778
+ }, [
131779
+ as,
131780
+ href,
131781
+ isVisible,
131782
+ locale,
131783
+ prefetchEnabled,
131784
+ pagesRouter == null ? void 0 : pagesRouter.locale,
131785
+ router,
131786
+ isAppRouter,
131787
+ appPrefetchKind
131788
+ ]);
131789
+ const childProps = {
131790
+ ref: setRef,
131791
+ onClick (e) {
131792
+ if (process.env.NODE_ENV !== "production") {
131793
+ if (!e) {
131794
+ throw new Error('Component rendered inside next/link has to pass click event to "onClick" prop.');
131795
+ }
131796
+ }
131797
+ if (!legacyBehavior && typeof onClick === "function") {
131798
+ onClick(e);
131799
+ }
131800
+ if (legacyBehavior && child.props && typeof child.props.onClick === "function") {
131801
+ child.props.onClick(e);
131802
+ }
131803
+ if (!router) {
131804
+ return;
131805
+ }
131806
+ if (e.defaultPrevented) {
131807
+ return;
131808
+ }
131809
+ linkClicked(e, router, href, as, replace, shallow, scroll, locale, isAppRouter);
131810
+ },
131811
+ onMouseEnter (e) {
131812
+ if (!legacyBehavior && typeof onMouseEnterProp === "function") {
131813
+ onMouseEnterProp(e);
131814
+ }
131815
+ if (legacyBehavior && child.props && typeof child.props.onMouseEnter === "function") {
131816
+ child.props.onMouseEnter(e);
131817
+ }
131818
+ if (!router) {
131819
+ return;
131820
+ }
131821
+ if ((!prefetchEnabled || process.env.NODE_ENV === "development") && isAppRouter) {
131822
+ return;
131823
+ }
131824
+ prefetch(router, href, as, {
131825
+ locale,
131826
+ priority: true,
131827
+ // @see {https://github.com/vercel/next.js/discussions/40268?sort=top#discussioncomment-3572642}
131828
+ bypassPrefetchedCheck: true
131829
+ }, {
131830
+ kind: appPrefetchKind
131831
+ }, isAppRouter);
131832
+ },
131833
+ onTouchStart: process.env.__NEXT_LINK_NO_TOUCH_START ? undefined : function onTouchStart(e) {
131834
+ if (!legacyBehavior && typeof onTouchStartProp === "function") {
131835
+ onTouchStartProp(e);
131836
+ }
131837
+ if (legacyBehavior && child.props && typeof child.props.onTouchStart === "function") {
131838
+ child.props.onTouchStart(e);
131839
+ }
131840
+ if (!router) {
131841
+ return;
131842
+ }
131843
+ if (!prefetchEnabled && isAppRouter) {
131844
+ return;
131845
+ }
131846
+ prefetch(router, href, as, {
131847
+ locale,
131848
+ priority: true,
131849
+ // @see {https://github.com/vercel/next.js/discussions/40268?sort=top#discussioncomment-3572642}
131850
+ bypassPrefetchedCheck: true
131851
+ }, {
131852
+ kind: appPrefetchKind
131853
+ }, isAppRouter);
131854
+ }
131855
+ };
131856
+ // If child is an <a> tag and doesn't have a href attribute, or if the 'passHref' property is
131857
+ // defined, we specify the current 'href', so that repetition is not needed by the user.
131858
+ // If the url is absolute, we can bypass the logic to prepend the domain and locale.
131859
+ if ((0, _utils.isAbsoluteUrl)(as)) {
131860
+ childProps.href = as;
131861
+ } else if (!legacyBehavior || passHref || child.type === "a" && !("href" in child.props)) {
131862
+ const curLocale = typeof locale !== "undefined" ? locale : pagesRouter == null ? void 0 : pagesRouter.locale;
131863
+ // we only render domain locales if we are currently on a domain locale
131864
+ // so that locale links are still visitable in development/preview envs
131865
+ const localeDomain = (pagesRouter == null ? void 0 : pagesRouter.isLocaleDomain) && (0, _getdomainlocale.getDomainLocale)(as, curLocale, pagesRouter == null ? void 0 : pagesRouter.locales, pagesRouter == null ? void 0 : pagesRouter.domainLocales);
131866
+ childProps.href = localeDomain || (0, _addbasepath.addBasePath)((0, _addlocale.addLocale)(as, curLocale, pagesRouter == null ? void 0 : pagesRouter.defaultLocale));
131867
+ }
131868
+ return legacyBehavior ? /*#__PURE__*/ _react.default.cloneElement(child, childProps) : /*#__PURE__*/ (0, _jsxruntime.jsx)("a", {
131869
+ ...restProps,
131870
+ ...childProps,
131871
+ children: children
131872
+ });
131873
+ });
131874
+ const _default = Link;
131875
+
131876
+ if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
131877
+ Object.defineProperty(exports.default, '__esModule', { value: true });
131878
+ Object.assign(exports.default, exports);
131879
+ module.exports = exports.default;
131880
+ }
131881
+
131882
+
131883
+ } (link$1, link$1.exports));
131884
+
131885
+ var linkExports = link$1.exports;
131886
+
131887
+ var link = linkExports;
131888
+
131889
+ var Link = /*@__PURE__*/getDefaultExportFromCjs(link);
131890
+
131891
+ function Breadcrumbs(_a) {
131892
+ var items = _a.items;
131893
+ return (React__default.createElement("div", { className: "gap-2 s-flex s-flex-row s-items-center" }, items.map(function (item, index) { return (React__default.createElement("div", { key: index, className: "s-flex s-flex-row s-items-center s-gap-1" },
131894
+ React__default.createElement(Icon, { visual: item.icon, className: "s-text-brand" }),
131895
+ React__default.createElement("div", null, item.href ? (React__default.createElement(Link, { href: item.href, className: index === items.length - 1
131896
+ ? "s-text-element-900"
131897
+ : "s-text-element-700" }, item.label)) : (React__default.createElement("span", { className: index === items.length - 1
131898
+ ? "s-text-element-900"
131899
+ : "s-text-element-700" }, item.label))),
131900
+ index === items.length - 1 ? null : (React__default.createElement(SvgChevronRight$1, { className: "s-text-element-500" })))); })));
131901
+ }
131902
+
129165
131903
  var SvgLogoHorizontalColor = function (props) { return (React.createElement("svg", __assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 96 24" }, props),
129166
131904
  React.createElement("path", { fill: "#FCD34D", d: "M84 12H72v12h12V12Z" }),
129167
131905
  React.createElement("path", { fill: "#6EE7B7", d: "M12 24c6.627 0 12-5.373 12-12S18.627 0 12 0 0 5.373 0 12s5.373 12 12 12Z" }),
@@ -129218,5 +131956,5 @@ var SvgLogoSquareWhite = function (props) { return (React.createElement("svg", _
129218
131956
  React.createElement("path", { fill: "#fff", fillOpacity: 0.7, fillRule: "evenodd", d: "M12 24c6.627 0 12-5.373 12-12 0 6.627 5.373 12 12 12s12-5.373 12-12S42.627 0 36 0 24 5.373 24 12c0-6.627-5.373-12-12-12S0 5.373 0 12s5.373 12 12 12Zm24 12H24v12h12V36ZM12 48a6 6 0 0 0 0-12H0v12h12Z", clipRule: "evenodd" }),
129219
131957
  React.createElement("path", { fill: "#fff", fillRule: "evenodd", d: "M12 0H0v24h12a6 6 0 0 0 0 12h36V24H12V0Zm12 0h24v12H24V0Z", clipRule: "evenodd" }))); };
129220
131958
 
129221
- export { SvgAi21 as Ai21Logo, SvgAnthropic as AnthropicLogo, SvgAnthropicWhite as AnthropicWhiteLogo, SvgArrowDownCircle$1 as ArrowDownCircleIcon, SvgArrowDownCircle as ArrowDownCircleStrokeIcon, SvgArrowDown$1 as ArrowDownIcon, SvgArrowDownOnSquare$1 as ArrowDownOnSquareIcon, SvgArrowDownOnSquare as ArrowDownOnSquareStrokeIcon, SvgArrowDownS$1 as ArrowDownSIcon, SvgArrowDownS as ArrowDownSStrokeIcon, SvgArrowDown as ArrowDownStrokeIcon, SvgArrowLeft$1 as ArrowLeftIcon, SvgArrowLeftS$1 as ArrowLeftSIcon, SvgArrowLeftS as ArrowLeftSStrokeIcon, SvgArrowLeft as ArrowLeftStrokeIcon, SvgArrowPath$1 as ArrowPathIcon, SvgArrowPath as ArrowPathStrokeIcon, SvgArrowRight$1 as ArrowRightIcon, SvgArrowRightS$1 as ArrowRightSIcon, SvgArrowRightS as ArrowRightSStrokeIcon, SvgArrowRight as ArrowRightStrokeIcon, SvgArrowUp$1 as ArrowUpIcon, SvgArrowUpOnSquare$1 as ArrowUpOnSquareIcon, SvgArrowUpOnSquare as ArrowUpOnSquareStrokeIcon, SvgArrowUpS$1 as ArrowUpSIcon, SvgArrowUpS as ArrowUpSStrokeIcon, SvgArrowUp as ArrowUpStrokeIcon, AssistantPreview, SvgAttachment$1 as AttachmentIcon, SvgAttachment as AttachmentStrokeIcon, Avatar, SvgBackspace$1 as BackspaceIcon, SvgBackspace as BackspaceStrokeIcon, Banner, BarHeader, SvgBookOpen$1 as BookOpenIcon, SvgBookOpen as BookOpenStrokeIcon, SvgBookmark$1 as BookmarkIcon, SvgBookmark as BookmarkStrokeIcon, SvgBraces$1 as BracesIcon, SvgBraces as BracesStrokeIcon, Button, CardButton, SvgCard$1 as CardIcon, SvgCard as CardStrokeIcon, SvgChatBubbleBottomCenterPlus$1 as ChatBubbleBottomCenterPlusIcon, SvgChatBubbleBottomCenterPlus as ChatBubbleBottomCenterPlusStrokeIcon, SvgChatBubbleBottomCenterText$1 as ChatBubbleBottomCenterTextIcon, SvgChatBubbleBottomCenterText as ChatBubbleBottomCenterTextStrokeIcon, SvgChatBubbleLeftRight$1 as ChatBubbleLeftRightIcon, SvgChatBubbleLeftRight as ChatBubbleLeftRightStrokeIcon, SvgChatBubbleThought$1 as ChatBubbleThoughtIcon, SvgChatBubbleThought as ChatBubbleThoughtStrokeIcon, SvgCheckCircle$1 as CheckCircleIcon, SvgCheckCircle as CheckCircleStrokeIcon, SvgCheck$1 as CheckIcon, SvgCheck as CheckStrokeIcon, Checkbox, SvgChevronDoubleLeft$1 as ChevronDoubleLeftIcon, SvgChevronDoubleLeft as ChevronDoubleLeftStrokeIcon, SvgChevronDoubleRight$1 as ChevronDoubleRightIcon, SvgChevronDoubleRight as ChevronDoubleRightStrokeIcon, SvgChevronDown$1 as ChevronDownIcon, SvgChevronDown as ChevronDownStrokeIcon, SvgChevronLeft$1 as ChevronLeftIcon, SvgChevronLeft as ChevronLeftStrokeIcon, SvgChevronRight$1 as ChevronRightIcon, SvgChevronRight as ChevronRightStrokeIcon, SvgChevronUpDown$1 as ChevronUpDownIcon, SvgChevronUpDown as ChevronUpDownStrokeIcon, SvgChevronUp$1 as ChevronUpIcon, SvgChevronUp as ChevronUpStrokeIcon, Chip, SvgCircle$1 as CircleIcon, SvgCircle as CircleStrokeIcon, Citation, SvgClaude as ClaudeLogo, SvgClipboardCheck$1 as ClipboardCheckIcon, SvgClipboardCheck as ClipboardCheckStrokeIcon, SvgClipboard$1 as ClipboardIcon, SvgClipboard as ClipboardStrokeIcon, SvgClock$1 as ClockIcon, SvgClock as ClockStrokeIcon, SvgCloudArrowDown$1 as CloudArrowDownIcon, SvgCloudArrowDown as CloudArrowDownStrokeIcon, SvgCloudArrowLeftRight$1 as CloudArrowLeftRightIcon, SvgCloudArrowLeftRight as CloudArrowLeftRightStrokeIcon, SvgCloudArrowUp$1 as CloudArrowUpIcon, SvgCloudArrowUp as CloudArrowUpStrokeIcon, SvgCloudX$1 as CloudXIcon, SvgCloudX as CloudXStrokeIcon, SvgCog6Tooth$1 as Cog6ToothIcon, SvgCog6Tooth as Cog6ToothStrokeIcon, SvgCohere as CohereLogo, CollapseButton, Collapsible, ColorPicker, SvgCommand$1 as CommandIcon, SvgCommandLine$1 as CommandLineIcon, SvgCommandLine as CommandLineStrokeIcon, SvgCommand as CommandStrokeIcon, SvgCompany$1 as CompanyIcon, SvgCompany as CompanyStrokeIcon, ConfettiBackground, SvgConfluence as ConfluenceLogo, ContentMessage, ContextItem, SvgCube$1 as CubeIcon, SvgCube as CubeStrokeIcon, SvgDash$1 as DashIcon, SvgDash as DashStrokeIcon, DataTable, Dialog, Div3D, SvgDocumentDuplicate$1 as DocumentDuplicateIcon, SvgDocumentDuplicate as DocumentDuplicateStrokeIcon, SvgDocument$1 as DocumentIcon, SvgDocumentPile$1 as DocumentPileIcon, SvgDocumentPile as DocumentPileStrokeIcon, SvgDocumentPlus$1 as DocumentPlusIcon, SvgDocumentPlus as DocumentPlusStrokeIcon, SvgDocument as DocumentStrokeIcon, SvgDocumentText$1 as DocumentTextIcon, SvgDocumentText as DocumentTextStrokeIcon, SvgDrive as DriveLogo, DropdownMenu, DropzoneOverlay, SvgDust$1 as DustIcon, SvgDust as DustStrokeIcon, ElementDialog, ElementModal, EmojiPicker, SvgEmotionLaugh$1 as EmotionLaughIcon, SvgEmotionLaugh as EmotionLaughStrokeIcon, SvgEqualizer$1 as EqualizerIcon, SvgEqualizer as EqualizerStrokeIcon, SvgExclamationCircle$1 as ExclamationCircleIcon, SvgExclamationCircle as ExclamationCircleStrokeIcon, SvgExternalLink$1 as ExternalLinkIcon, SvgExternalLink as ExternalLinkStrokeIcon, SvgEye$1 as EyeIcon, SvgEyeSlash$1 as EyeSlashIcon, SvgEyeSlash as EyeSlashStrokeIcon, SvgEye as EyeStrokeIcon, FilterChips, SvgFilter$1 as FilterIcon, SvgFilter as FilterStrokeIcon, SvgFire$1 as FireIcon, SvgFire as FireStrokeIcon, SvgFlag$1 as FlagIcon, SvgFlag as FlagStrokeIcon, SvgFolder$1 as FolderIcon, SvgFolderOpen$1 as FolderOpenIcon, SvgFolderOpen as FolderOpenStrokeIcon, SvgFolder as FolderStrokeIcon, SvgFullscreenExit$1 as FullscreenExitIcon, SvgFullscreenExit as FullscreenExitStrokeIcon, SvgFullscreen$1 as FullscreenIcon, SvgFullscreen as FullscreenStrokeIcon, SvgGemini as GeminiLogo, SvgGithub as GithubLogo, SvgGithubWhite as GithubWhiteLogo, SvgGlobeAlt$1 as GlobeAltIcon, SvgGlobeAlt as GlobeAltStrokeIcon, SvgGong as GongLogo, SvgGoogleDoc as GoogleDocLogo, SvgGoogle as GoogleLogo, SvgGooglePdf as GooglePdfLogo, SvgGoogleSlide as GoogleSlideLogo, SvgGoogleSpreadsheet as GoogleSpreadsheetLogo, SvgGpt3 as Gpt3Logo, SvgGpt4 as Gpt4Logo, SvgGrab$1 as GrabIcon, SvgGrab as GrabStrokeIcon, SvgHandThumbDown$1 as HandThumbDownIcon, SvgHandThumbDown as HandThumbDownStrokeIcon, SvgHandThumbUp$1 as HandThumbUpIcon, SvgHandThumbUp as HandThumbUpStrokeIcon, SvgHeartAlt$1 as HeartAltIcon, SvgHeartAlt as HeartAltStrokeIcon, SvgHeart$1 as HeartIcon, SvgHeart as HeartStrokeIcon, SvgHexagon$1 as HexagonIcon, SvgHexagon as HexagonStrokeIcon, SvgHistory$1 as HistoryIcon, SvgHistory as HistoryStrokeIcon, SvgHome$1 as HomeIcon, SvgHome as HomeStrokeIcon, Hover3D, Hoverable, SvgHuggingFace as HuggingFaceLogo, Icon, IconButton, IconToggleButton, SvgImage$1 as ImageIcon, SvgImage as ImageStrokeIcon, SvgInformationCircle$1 as InformationCircleIcon, SvgInformationCircle as InformationCircleStrokeIcon, Input, SvgIntercom as IntercomLogo, Item, SvgKey$1 as KeyIcon, SvgKey as KeyStrokeIcon, SvgLightbulb$1 as LightbulbIcon, SvgLightbulb as LightbulbStrokeIcon, SvgLink$1 as LinkIcon, SvgLink as LinkStrokeIcon, SvgListAdd$1 as ListAddIcon, SvgListAdd as ListAddStrokeIcon, SvgListCheck$1 as ListCheckIcon, SvgListCheck as ListCheckStrokeIcon, SvgList$1 as ListIcon, SvgListRemove$1 as ListRemoveIcon, SvgListRemove as ListRemoveStrokeIcon, SvgList as ListStrokeIcon, SvgLock$1 as LockIcon, SvgLock as LockStrokeIcon, SvgLogin$1 as LoginIcon, SvgLogin as LoginStrokeIcon, Logo, SvgLogoHorizontalColor as LogoHorizontalColorLogo, SvgLogoHorizontalColorLayer1 as LogoHorizontalColorLogoLayer1, SvgLogoHorizontalColorLayer2 as LogoHorizontalColorLogoLayer2, SvgLogoHorizontalDark as LogoHorizontalDarkLogo, SvgLogoHorizontalWhite as LogoHorizontalWhiteLogo, SvgLogoSquareColor as LogoSquareColorLogo, SvgLogoSquareColorLayer1 as LogoSquareColorLogoLayer1, SvgLogoSquareColorLayer2 as LogoSquareColorLogoLayer2, SvgLogoSquareDark as LogoSquareDarkLogo, SvgLogoSquareWhite as LogoSquareWhiteLogo, SvgLogout$1 as LogoutIcon, SvgLogout as LogoutStrokeIcon, SvgMagic$1 as MagicIcon, SvgMagic as MagicStrokeIcon, SvgMagnifyingGlass$1 as MagnifyingGlassIcon, SvgMagnifyingGlass as MagnifyingGlassStrokeIcon, SvgMarkPen$1 as MarkPenIcon, SvgMarkPen as MarkPenStrokeIcon, Markdown, SvgMenu$1 as MenuIcon, SvgMenu as MenuStrokeIcon, SvgMicrosoftExcel as MicrosoftExcelLogo, SvgMicrosoft as MicrosoftLogo, SvgMicrosoftPowerpoint as MicrosoftPowerpointLogo, SvgMicrosoftWord as MicrosoftWordLogo, SvgMistral as MistralLogo, Modal, SvgMore$1 as MoreIcon, SvgMore as MoreStrokeIcon, SvgMovingMail$1 as MovingMailIcon, SvgMovingMail as MovingMailStrokeIcon, Notification, SvgNotion as NotionLogo, SvgOffice as OfficeLogo, SvgOpenai as OpenaiLogo, SvgOpenaiWhite as OpenaiWhiteLogo, Page, PaginatedCitationsGrid, Pagination, SvgPaint$1 as PaintIcon, SvgPaint as PaintStrokeIcon, SvgPaperAirplane$1 as PaperAirplaneIcon, SvgPaperAirplane as PaperAirplaneStrokeIcon, SvgPause$1 as PauseIcon, SvgPause as PauseStrokeIcon, SvgPencilSquare$1 as PencilSquareIcon, SvgPencilSquare as PencilSquareStrokeIcon, SvgPlanet$1 as PlanetIcon, SvgPlanet as PlanetStrokeIcon, SvgPlay$1 as PlayIcon, SvgPlay as PlayStrokeIcon, SvgPlusCircle$1 as PlusCircleIcon, SvgPlusCircle as PlusCircleStrokeIcon, SvgPlus$1 as PlusIcon, SvgPlus as PlusStrokeIcon, Popup, PriceTable, SvgPushpin$1 as PushpinIcon, SvgPushpin as PushpinStrokeIcon, SvgPuzzle$1 as PuzzleIcon, SvgPuzzle as PuzzleStrokeIcon, SvgQuestionMarkCircle$1 as QuestionMarkCircleIcon, SvgQuestionMarkCircle as QuestionMarkCircleStrokeIcon, RadioButton, SvgReaction$1 as ReactionIcon, SvgReaction as ReactionStrokeIcon, SvgRectangle$1 as RectangleIcon, SvgRectangle as RectangleStrokeIcon, SvgReplicate as ReplicateLogo, SvgRobot$1 as RobotIcon, SvgRobot as RobotStrokeIcon, SvgRocket$1 as RocketIcon, SvgRocket as RocketStrokeIcon, SvgSalesforce as SalesforceLogo, SvgScan$1 as ScanIcon, SvgScan as ScanStrokeIcon, Searchbar, SvgServer$1 as ServerIcon, SvgServer as ServerStrokeIcon, SvgShakeHands$1 as ShakeHandsIcon, SvgShakeHands as ShakeHandsStrokeIcon, SvgShapes$1 as ShapesIcon, SvgShapes as ShapesStrokeIcon, SvgSlack as SlackLogo, SliderToggle, SparkleContext, SvgSparkles$1 as SparklesIcon, SvgSparkles as SparklesStrokeIcon, Spinner, SvgSquare3Stack3D$1 as Square3Stack3DIcon, SvgSquare3Stack3D as Square3Stack3DStrokeIcon, SvgSquare$1 as SquareIcon, SvgSquare as SquareStrokeIcon, SvgStar$1 as StarIcon, SvgStar as StarStrokeIcon, SvgStop$1 as StopIcon, SvgStop as StopStrokeIcon, Tab, SvgTable$1 as TableIcon, SvgTable as TableStrokeIcon, SvgTag$1 as TagIcon, SvgTag as TagStrokeIcon, SvgTemplate$1 as TemplateIcon, SvgTemplate as TemplateStrokeIcon, SvgTestTube$1 as TestTubeIcon, SvgTestTube as TestTubeStrokeIcon, TextArea, SvgTime$1 as TimeIcon, SvgTime as TimeStrokeIcon, Tooltip, SvgTranslate$1 as TranslateIcon, SvgTranslate as TranslateStrokeIcon, SvgTrash$1 as TrashIcon, SvgTrash as TrashStrokeIcon, Tree, SvgTriangle$1 as TriangleIcon, SvgTriangle as TriangleStrokeIcon, SvgUserArrow$1 as UserArrowIcon, SvgUserArrow as UserArrowStrokeIcon, SvgUserGroup$1 as UserGroupIcon, SvgUserGroup as UserGroupStrokeIcon, SvgUser$1 as UserIcon, SvgUserPlus$1 as UserPlusIcon, SvgUserPlus as UserPlusStrokeIcon, SvgUser as UserStrokeIcon, SvgWrench$1 as WrenchIcon, SvgWrench as WrenchStrokeIcon, SvgXCircle$1 as XCircleIcon, SvgXCircle as XCircleStrokeIcon, SvgXMark$1 as XMarkIcon, SvgXMark as XMarkStrokeIcon, SvgZapier$1 as ZapierLogo, SvgZapier as ZendeskLogo, ZoomableImageCitationWrapper, utils as avatarUtils };
131959
+ export { SvgAi21 as Ai21Logo, SvgAnthropic as AnthropicLogo, SvgAnthropicWhite as AnthropicWhiteLogo, SvgArrowDownCircle$1 as ArrowDownCircleIcon, SvgArrowDownCircle as ArrowDownCircleStrokeIcon, SvgArrowDown$1 as ArrowDownIcon, SvgArrowDownOnSquare$1 as ArrowDownOnSquareIcon, SvgArrowDownOnSquare as ArrowDownOnSquareStrokeIcon, SvgArrowDownS$1 as ArrowDownSIcon, SvgArrowDownS as ArrowDownSStrokeIcon, SvgArrowDown as ArrowDownStrokeIcon, SvgArrowLeft$1 as ArrowLeftIcon, SvgArrowLeftS$1 as ArrowLeftSIcon, SvgArrowLeftS as ArrowLeftSStrokeIcon, SvgArrowLeft as ArrowLeftStrokeIcon, SvgArrowPath$1 as ArrowPathIcon, SvgArrowPath as ArrowPathStrokeIcon, SvgArrowRight$1 as ArrowRightIcon, SvgArrowRightS$1 as ArrowRightSIcon, SvgArrowRightS as ArrowRightSStrokeIcon, SvgArrowRight as ArrowRightStrokeIcon, SvgArrowUp$1 as ArrowUpIcon, SvgArrowUpOnSquare$1 as ArrowUpOnSquareIcon, SvgArrowUpOnSquare as ArrowUpOnSquareStrokeIcon, SvgArrowUpS$1 as ArrowUpSIcon, SvgArrowUpS as ArrowUpSStrokeIcon, SvgArrowUp as ArrowUpStrokeIcon, AssistantPreview, SvgAttachment$1 as AttachmentIcon, SvgAttachment as AttachmentStrokeIcon, Avatar, SvgBackspace$1 as BackspaceIcon, SvgBackspace as BackspaceStrokeIcon, Banner, BarHeader, SvgBookOpen$1 as BookOpenIcon, SvgBookOpen as BookOpenStrokeIcon, SvgBookmark$1 as BookmarkIcon, SvgBookmark as BookmarkStrokeIcon, SvgBraces$1 as BracesIcon, SvgBraces as BracesStrokeIcon, Breadcrumbs, Button, CardButton, SvgCard$1 as CardIcon, SvgCard as CardStrokeIcon, SvgChatBubbleBottomCenterPlus$1 as ChatBubbleBottomCenterPlusIcon, SvgChatBubbleBottomCenterPlus as ChatBubbleBottomCenterPlusStrokeIcon, SvgChatBubbleBottomCenterText$1 as ChatBubbleBottomCenterTextIcon, SvgChatBubbleBottomCenterText as ChatBubbleBottomCenterTextStrokeIcon, SvgChatBubbleLeftRight$1 as ChatBubbleLeftRightIcon, SvgChatBubbleLeftRight as ChatBubbleLeftRightStrokeIcon, SvgChatBubbleThought$1 as ChatBubbleThoughtIcon, SvgChatBubbleThought as ChatBubbleThoughtStrokeIcon, SvgCheckCircle$1 as CheckCircleIcon, SvgCheckCircle as CheckCircleStrokeIcon, SvgCheck$1 as CheckIcon, SvgCheck as CheckStrokeIcon, Checkbox, SvgChevronDoubleLeft$1 as ChevronDoubleLeftIcon, SvgChevronDoubleLeft as ChevronDoubleLeftStrokeIcon, SvgChevronDoubleRight$1 as ChevronDoubleRightIcon, SvgChevronDoubleRight as ChevronDoubleRightStrokeIcon, SvgChevronDown$1 as ChevronDownIcon, SvgChevronDown as ChevronDownStrokeIcon, SvgChevronLeft$1 as ChevronLeftIcon, SvgChevronLeft as ChevronLeftStrokeIcon, SvgChevronRight$1 as ChevronRightIcon, SvgChevronRight as ChevronRightStrokeIcon, SvgChevronUpDown$1 as ChevronUpDownIcon, SvgChevronUpDown as ChevronUpDownStrokeIcon, SvgChevronUp$1 as ChevronUpIcon, SvgChevronUp as ChevronUpStrokeIcon, Chip, SvgCircle$1 as CircleIcon, SvgCircle as CircleStrokeIcon, Citation, SvgClaude as ClaudeLogo, SvgClipboardCheck$1 as ClipboardCheckIcon, SvgClipboardCheck as ClipboardCheckStrokeIcon, SvgClipboard$1 as ClipboardIcon, SvgClipboard as ClipboardStrokeIcon, SvgClock$1 as ClockIcon, SvgClock as ClockStrokeIcon, SvgCloudArrowDown$1 as CloudArrowDownIcon, SvgCloudArrowDown as CloudArrowDownStrokeIcon, SvgCloudArrowLeftRight$1 as CloudArrowLeftRightIcon, SvgCloudArrowLeftRight as CloudArrowLeftRightStrokeIcon, SvgCloudArrowUp$1 as CloudArrowUpIcon, SvgCloudArrowUp as CloudArrowUpStrokeIcon, SvgCloudX$1 as CloudXIcon, SvgCloudX as CloudXStrokeIcon, SvgCog6Tooth$1 as Cog6ToothIcon, SvgCog6Tooth as Cog6ToothStrokeIcon, SvgCohere as CohereLogo, CollapseButton, Collapsible, ColorPicker, SvgCommand$1 as CommandIcon, SvgCommandLine$1 as CommandLineIcon, SvgCommandLine as CommandLineStrokeIcon, SvgCommand as CommandStrokeIcon, SvgCompany$1 as CompanyIcon, SvgCompany as CompanyStrokeIcon, ConfettiBackground, SvgConfluence as ConfluenceLogo, ContentMessage, ContextItem, SvgCube$1 as CubeIcon, SvgCube as CubeStrokeIcon, SvgDash$1 as DashIcon, SvgDash as DashStrokeIcon, DataTable, Dialog, Div3D, SvgDocumentDuplicate$1 as DocumentDuplicateIcon, SvgDocumentDuplicate as DocumentDuplicateStrokeIcon, SvgDocument$1 as DocumentIcon, SvgDocumentPile$1 as DocumentPileIcon, SvgDocumentPile as DocumentPileStrokeIcon, SvgDocumentPlus$1 as DocumentPlusIcon, SvgDocumentPlus as DocumentPlusStrokeIcon, SvgDocument as DocumentStrokeIcon, SvgDocumentText$1 as DocumentTextIcon, SvgDocumentText as DocumentTextStrokeIcon, SvgDrive as DriveLogo, DropdownMenu, DropzoneOverlay, SvgDust$1 as DustIcon, SvgDust as DustStrokeIcon, ElementDialog, ElementModal, EmojiPicker, SvgEmotionLaugh$1 as EmotionLaughIcon, SvgEmotionLaugh as EmotionLaughStrokeIcon, SvgEqualizer$1 as EqualizerIcon, SvgEqualizer as EqualizerStrokeIcon, SvgExclamationCircle$1 as ExclamationCircleIcon, SvgExclamationCircle as ExclamationCircleStrokeIcon, SvgExternalLink$1 as ExternalLinkIcon, SvgExternalLink as ExternalLinkStrokeIcon, SvgEye$1 as EyeIcon, SvgEyeSlash$1 as EyeSlashIcon, SvgEyeSlash as EyeSlashStrokeIcon, SvgEye as EyeStrokeIcon, FilterChips, SvgFilter$1 as FilterIcon, SvgFilter as FilterStrokeIcon, SvgFire$1 as FireIcon, SvgFire as FireStrokeIcon, SvgFlag$1 as FlagIcon, SvgFlag as FlagStrokeIcon, SvgFolder$1 as FolderIcon, SvgFolderOpen$1 as FolderOpenIcon, SvgFolderOpen as FolderOpenStrokeIcon, SvgFolder as FolderStrokeIcon, SvgFullscreenExit$1 as FullscreenExitIcon, SvgFullscreenExit as FullscreenExitStrokeIcon, SvgFullscreen$1 as FullscreenIcon, SvgFullscreen as FullscreenStrokeIcon, SvgGemini as GeminiLogo, SvgGithub as GithubLogo, SvgGithubWhite as GithubWhiteLogo, SvgGlobeAlt$1 as GlobeAltIcon, SvgGlobeAlt as GlobeAltStrokeIcon, SvgGong as GongLogo, SvgGoogleDoc as GoogleDocLogo, SvgGoogle as GoogleLogo, SvgGooglePdf as GooglePdfLogo, SvgGoogleSlide as GoogleSlideLogo, SvgGoogleSpreadsheet as GoogleSpreadsheetLogo, SvgGpt3 as Gpt3Logo, SvgGpt4 as Gpt4Logo, SvgGrab$1 as GrabIcon, SvgGrab as GrabStrokeIcon, SvgHandThumbDown$1 as HandThumbDownIcon, SvgHandThumbDown as HandThumbDownStrokeIcon, SvgHandThumbUp$1 as HandThumbUpIcon, SvgHandThumbUp as HandThumbUpStrokeIcon, SvgHeartAlt$1 as HeartAltIcon, SvgHeartAlt as HeartAltStrokeIcon, SvgHeart$1 as HeartIcon, SvgHeart as HeartStrokeIcon, SvgHexagon$1 as HexagonIcon, SvgHexagon as HexagonStrokeIcon, SvgHistory$1 as HistoryIcon, SvgHistory as HistoryStrokeIcon, SvgHome$1 as HomeIcon, SvgHome as HomeStrokeIcon, Hover3D, Hoverable, SvgHuggingFace as HuggingFaceLogo, Icon, IconButton, IconToggleButton, SvgImage$1 as ImageIcon, SvgImage as ImageStrokeIcon, SvgInformationCircle$1 as InformationCircleIcon, SvgInformationCircle as InformationCircleStrokeIcon, Input, SvgIntercom as IntercomLogo, Item, SvgKey$1 as KeyIcon, SvgKey as KeyStrokeIcon, SvgLightbulb$1 as LightbulbIcon, SvgLightbulb as LightbulbStrokeIcon, SvgLink$1 as LinkIcon, SvgLink as LinkStrokeIcon, SvgListAdd$1 as ListAddIcon, SvgListAdd as ListAddStrokeIcon, SvgListCheck$1 as ListCheckIcon, SvgListCheck as ListCheckStrokeIcon, SvgList$1 as ListIcon, SvgListRemove$1 as ListRemoveIcon, SvgListRemove as ListRemoveStrokeIcon, SvgList as ListStrokeIcon, SvgLock$1 as LockIcon, SvgLock as LockStrokeIcon, SvgLogin$1 as LoginIcon, SvgLogin as LoginStrokeIcon, Logo, SvgLogoHorizontalColor as LogoHorizontalColorLogo, SvgLogoHorizontalColorLayer1 as LogoHorizontalColorLogoLayer1, SvgLogoHorizontalColorLayer2 as LogoHorizontalColorLogoLayer2, SvgLogoHorizontalDark as LogoHorizontalDarkLogo, SvgLogoHorizontalWhite as LogoHorizontalWhiteLogo, SvgLogoSquareColor as LogoSquareColorLogo, SvgLogoSquareColorLayer1 as LogoSquareColorLogoLayer1, SvgLogoSquareColorLayer2 as LogoSquareColorLogoLayer2, SvgLogoSquareDark as LogoSquareDarkLogo, SvgLogoSquareWhite as LogoSquareWhiteLogo, SvgLogout$1 as LogoutIcon, SvgLogout as LogoutStrokeIcon, SvgMagic$1 as MagicIcon, SvgMagic as MagicStrokeIcon, SvgMagnifyingGlass$1 as MagnifyingGlassIcon, SvgMagnifyingGlass as MagnifyingGlassStrokeIcon, SvgMarkPen$1 as MarkPenIcon, SvgMarkPen as MarkPenStrokeIcon, Markdown, SvgMenu$1 as MenuIcon, SvgMenu as MenuStrokeIcon, SvgMicrosoftExcel as MicrosoftExcelLogo, SvgMicrosoft as MicrosoftLogo, SvgMicrosoftPowerpoint as MicrosoftPowerpointLogo, SvgMicrosoftWord as MicrosoftWordLogo, SvgMistral as MistralLogo, Modal, SvgMore$1 as MoreIcon, SvgMore as MoreStrokeIcon, SvgMovingMail$1 as MovingMailIcon, SvgMovingMail as MovingMailStrokeIcon, Notification, SvgNotion as NotionLogo, SvgOffice as OfficeLogo, SvgOpenai as OpenaiLogo, SvgOpenaiWhite as OpenaiWhiteLogo, Page, PaginatedCitationsGrid, Pagination, SvgPaint$1 as PaintIcon, SvgPaint as PaintStrokeIcon, SvgPaperAirplane$1 as PaperAirplaneIcon, SvgPaperAirplane as PaperAirplaneStrokeIcon, SvgPause$1 as PauseIcon, SvgPause as PauseStrokeIcon, SvgPencilSquare$1 as PencilSquareIcon, SvgPencilSquare as PencilSquareStrokeIcon, SvgPlanet$1 as PlanetIcon, SvgPlanet as PlanetStrokeIcon, SvgPlay$1 as PlayIcon, SvgPlay as PlayStrokeIcon, SvgPlusCircle$1 as PlusCircleIcon, SvgPlusCircle as PlusCircleStrokeIcon, SvgPlus$1 as PlusIcon, SvgPlus as PlusStrokeIcon, Popup, PriceTable, SvgPushpin$1 as PushpinIcon, SvgPushpin as PushpinStrokeIcon, SvgPuzzle$1 as PuzzleIcon, SvgPuzzle as PuzzleStrokeIcon, SvgQuestionMarkCircle$1 as QuestionMarkCircleIcon, SvgQuestionMarkCircle as QuestionMarkCircleStrokeIcon, RadioButton, SvgReaction$1 as ReactionIcon, SvgReaction as ReactionStrokeIcon, SvgRectangle$1 as RectangleIcon, SvgRectangle as RectangleStrokeIcon, SvgReplicate as ReplicateLogo, SvgRobot$1 as RobotIcon, SvgRobot as RobotStrokeIcon, SvgRocket$1 as RocketIcon, SvgRocket as RocketStrokeIcon, SvgSalesforce as SalesforceLogo, SvgScan$1 as ScanIcon, SvgScan as ScanStrokeIcon, Searchbar, SvgServer$1 as ServerIcon, SvgServer as ServerStrokeIcon, SvgShakeHands$1 as ShakeHandsIcon, SvgShakeHands as ShakeHandsStrokeIcon, SvgShapes$1 as ShapesIcon, SvgShapes as ShapesStrokeIcon, SvgSlack as SlackLogo, SliderToggle, SparkleContext, SvgSparkles$1 as SparklesIcon, SvgSparkles as SparklesStrokeIcon, Spinner, SvgSquare3Stack3D$1 as Square3Stack3DIcon, SvgSquare3Stack3D as Square3Stack3DStrokeIcon, SvgSquare$1 as SquareIcon, SvgSquare as SquareStrokeIcon, SvgStar$1 as StarIcon, SvgStar as StarStrokeIcon, SvgStop$1 as StopIcon, SvgStop as StopStrokeIcon, Tab, SvgTable$1 as TableIcon, SvgTable as TableStrokeIcon, SvgTag$1 as TagIcon, SvgTag as TagStrokeIcon, SvgTemplate$1 as TemplateIcon, SvgTemplate as TemplateStrokeIcon, SvgTestTube$1 as TestTubeIcon, SvgTestTube as TestTubeStrokeIcon, TextArea, SvgTime$1 as TimeIcon, SvgTime as TimeStrokeIcon, Tooltip, SvgTranslate$1 as TranslateIcon, SvgTranslate as TranslateStrokeIcon, SvgTrash$1 as TrashIcon, SvgTrash as TrashStrokeIcon, Tree, SvgTriangle$1 as TriangleIcon, SvgTriangle as TriangleStrokeIcon, SvgUserArrow$1 as UserArrowIcon, SvgUserArrow as UserArrowStrokeIcon, SvgUserGroup$1 as UserGroupIcon, SvgUserGroup as UserGroupStrokeIcon, SvgUser$1 as UserIcon, SvgUserPlus$1 as UserPlusIcon, SvgUserPlus as UserPlusStrokeIcon, SvgUser as UserStrokeIcon, SvgWrench$1 as WrenchIcon, SvgWrench as WrenchStrokeIcon, SvgXCircle$1 as XCircleIcon, SvgXCircle as XCircleStrokeIcon, SvgXMark$1 as XMarkIcon, SvgXMark as XMarkStrokeIcon, SvgZapier$1 as ZapierLogo, SvgZapier as ZendeskLogo, ZoomableImageCitationWrapper, utils$2 as avatarUtils };
129222
131960
  //# sourceMappingURL=index.js.map