@burdenoff/fe-libs 2026.1114.9 → 2026.1114.10
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/chrome/DynamicFooter.d.ts +15 -1
- package/dist/chrome/DynamicFooter.js +65 -70
- package/dist/chrome/Footer.d.ts +43 -1
- package/dist/chrome/Footer.js +121 -125
- package/dist/chrome/footerLegalLinks.d.ts +17 -0
- package/dist/chrome/footerLegalLinks.js +23 -0
- package/dist/shared/utils/index.d.ts +2 -0
- package/dist/shared/utils/productSiteLinks.d.ts +57 -0
- package/dist/shared/utils/productSiteLinks.js +53 -0
- package/dist/shared-utils.js +10 -9
- package/dist/shared.js +116 -115
- package/dist/utils/index.js +6 -5
- package/package.json +1 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { FooterLink } from './Footer';
|
|
2
|
+
import { LegalPathOverrides } from '../shared/utils/productSiteLinks';
|
|
3
|
+
/** The fields of a published CMS content page the footer needs. */
|
|
4
|
+
export interface FooterLegalPage {
|
|
5
|
+
slug: string;
|
|
6
|
+
title: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Footer Legal links for a product's published CMS legal pages.
|
|
10
|
+
*
|
|
11
|
+
* Policies are published on the product's marketing site, not in the shell:
|
|
12
|
+
* the old `/legal/<slug>` links sat behind sign-in with no content
|
|
13
|
+
* (BOFF-7244). Each page is linked at its marketing-site route, in
|
|
14
|
+
* `order`. A slug with no public route is left out; on a host with no public
|
|
15
|
+
* site (local development) the label is kept but inert.
|
|
16
|
+
*/
|
|
17
|
+
export declare function buildFooterLegalLinks(pages: readonly FooterLegalPage[], order: readonly string[], overrides?: LegalPathOverrides, hostname?: string): FooterLink[];
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { resolveLegalPath as e, resolveMarketingUrl as t } from "../shared/utils/productSiteLinks.js";
|
|
2
|
+
// src/chrome/footerLegalLinks.ts
|
|
3
|
+
function n(n, r, i, a) {
|
|
4
|
+
let o = [];
|
|
5
|
+
for (let s of r) {
|
|
6
|
+
let r = n.find((e) => e.slug === s), c = r ? e(r.slug, i) : null;
|
|
7
|
+
if (!r || !c) continue;
|
|
8
|
+
let l = t(c, a);
|
|
9
|
+
o.push(l ? {
|
|
10
|
+
id: r.slug,
|
|
11
|
+
label: r.title,
|
|
12
|
+
href: l,
|
|
13
|
+
external: !0
|
|
14
|
+
} : {
|
|
15
|
+
id: r.slug,
|
|
16
|
+
label: r.title,
|
|
17
|
+
href: "",
|
|
18
|
+
inert: !0
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
return o;
|
|
22
|
+
}
|
|
23
|
+
export { n as buildFooterLegalLinks };
|
|
@@ -26,6 +26,8 @@ export { setSSoCookie, getSSoCookie, clearSSoCookie, setShellSsoCookies, readShe
|
|
|
26
26
|
export type { ShellSsoCookieData } from './authCookie';
|
|
27
27
|
export { isAllowedRedirectUrl, replaceLocationWithAllowlist, assignLocationWithAllowlist, openUrlInNewTabWithAllowlist, } from './redirectAllowlist';
|
|
28
28
|
export type { RedirectAllowlistOptions } from './redirectAllowlist';
|
|
29
|
+
export { resolveProductDomain, resolveMarketingOrigin, resolveDocsOrigin, resolveMarketingUrl, resolveDocsUrl, resolveLegalPath, MARKETING_LEGAL_PATHS, } from './productSiteLinks';
|
|
30
|
+
export type { LegalPathOverrides } from './productSiteLinks';
|
|
29
31
|
export { SSO_DEPOSITED_PARAM, beginSsoNavigation, isSsoNavigationPending, clearSsoNavigation, readSsoDepositState, markSsoDepositPending, markSsoDepositDone, clearSsoDepositState, shouldAttemptSsoDeposit, mintSsoSessionTokens, buildSsoDepositUrl, consumeSsoDepositMarker, } from './ssoDeposit';
|
|
30
32
|
export type { MintedSsoTokens, MintSsoSessionResult, SsoDepositPayload, SsoDepositState, } from './ssoDeposit';
|
|
31
33
|
export { createProfileScopedStorage, getProfileScopedKey } from './profileScopedStorage';
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Public site links for the product the shell is currently serving.
|
|
3
|
+
*
|
|
4
|
+
* fe-libs is mounted by every Burdenoff product shell, so it cannot hardcode
|
|
5
|
+
* one product's marketing or documentation domain: doing so would send every
|
|
6
|
+
* other product's users to the wrong company's terms or docs. Instead the
|
|
7
|
+
* product domain is DERIVED from the shell's own host:
|
|
8
|
+
*
|
|
9
|
+
* app.fluidgrids.ai -> fluidgrids.ai -> https://www.fluidgrids.ai
|
|
10
|
+
* alphaapp.fluidgrids.ai -> fluidgrids.ai -> https://www.fluidgrids.ai
|
|
11
|
+
* admin.burdenoff.com -> burdenoff.com -> https://docs.burdenoff.com
|
|
12
|
+
*
|
|
13
|
+
* Alpha shells link to the production sites on purpose: the alpha twins sit
|
|
14
|
+
* behind Cloudflare Access, and the production sites are the only targets
|
|
15
|
+
* guaranteed to exist for every viewer.
|
|
16
|
+
*
|
|
17
|
+
* Local development (localhost, IP literals, `*.local.burdenoff.com`) has no
|
|
18
|
+
* public site to link to, so every resolver returns `null` there and callers
|
|
19
|
+
* leave the link inert rather than invent a production domain.
|
|
20
|
+
*
|
|
21
|
+
* This is the shared home of the resolver first written for the signup consent
|
|
22
|
+
* links in microfe-auth (`src/auth/utils/legalUrls.ts`, BOFF-7175); the footer
|
|
23
|
+
* uses it for its Resources and Legal links (BOFF-7244).
|
|
24
|
+
*/
|
|
25
|
+
/**
|
|
26
|
+
* The bare product domain (e.g. `fluidgrids.ai`) for the given host, or `null`
|
|
27
|
+
* when it cannot be determined (local development, IP literals, or a host with
|
|
28
|
+
* no registrable domain). Defaults to the current page's host.
|
|
29
|
+
*/
|
|
30
|
+
export declare function resolveProductDomain(hostname?: string): string | null;
|
|
31
|
+
/** `https://www.<product-domain>`, or `null` when the domain is unknown. */
|
|
32
|
+
export declare function resolveMarketingOrigin(hostname?: string): string | null;
|
|
33
|
+
/** `https://docs.<product-domain>`, or `null` when the domain is unknown. */
|
|
34
|
+
export declare function resolveDocsOrigin(hostname?: string): string | null;
|
|
35
|
+
/** Absolute marketing-site URL for `path`, or `null` when the domain is unknown. */
|
|
36
|
+
export declare function resolveMarketingUrl(path: string, hostname?: string): string | null;
|
|
37
|
+
/** Absolute documentation-site URL for `path`, or `null` when the domain is unknown. */
|
|
38
|
+
export declare function resolveDocsUrl(path: string, hostname?: string): string | null;
|
|
39
|
+
/**
|
|
40
|
+
* Where each global-CMS legal page slug lives on the product marketing sites.
|
|
41
|
+
*
|
|
42
|
+
* These are the route names most product sites use (checked against the live
|
|
43
|
+
* sites on 2026-11-14). A slug that is not listed here has no public page, so
|
|
44
|
+
* the footer leaves it out rather than link to a dead route. Products whose
|
|
45
|
+
* site uses a different route pass an override (`legalPaths` on
|
|
46
|
+
* `DynamicFooter`); for example Workspaces serves its cookie policy at
|
|
47
|
+
* `/cookies`.
|
|
48
|
+
*/
|
|
49
|
+
export declare const MARKETING_LEGAL_PATHS: Readonly<Record<string, string>>;
|
|
50
|
+
/**
|
|
51
|
+
* Per-product overrides for `MARKETING_LEGAL_PATHS`. A string replaces the
|
|
52
|
+
* route for that slug; `null` drops the slug from the footer because the
|
|
53
|
+
* product's site does not serve it.
|
|
54
|
+
*/
|
|
55
|
+
export type LegalPathOverrides = Readonly<Record<string, string | null>>;
|
|
56
|
+
/** Marketing-site route for a legal slug, or `null` when it has none. */
|
|
57
|
+
export declare function resolveLegalPath(slug: string, overrides?: LegalPathOverrides): string | null;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
// src/shared/utils/productSiteLinks.ts
|
|
2
|
+
var e = [
|
|
3
|
+
"app.",
|
|
4
|
+
"alphaapp.",
|
|
5
|
+
"admin.",
|
|
6
|
+
"alphaadmin.",
|
|
7
|
+
"www."
|
|
8
|
+
];
|
|
9
|
+
function t() {
|
|
10
|
+
return typeof window < "u" && window.location ? window.location.hostname : "";
|
|
11
|
+
}
|
|
12
|
+
function n(n) {
|
|
13
|
+
let r = (n ?? t()).toLowerCase().trim();
|
|
14
|
+
if (!r || r === "localhost" || r === "127.0.0.1" || r === "0.0.0.0" || r.startsWith("[") || r.endsWith(".local.burdenoff.com") || /^\d+\.\d+\.\d+\.\d+$/.test(r)) return null;
|
|
15
|
+
let i = r;
|
|
16
|
+
for (let t of e) if (i.startsWith(t)) {
|
|
17
|
+
i = i.slice(t.length);
|
|
18
|
+
break;
|
|
19
|
+
}
|
|
20
|
+
return i.includes(".") ? i : null;
|
|
21
|
+
}
|
|
22
|
+
function r(e) {
|
|
23
|
+
let t = n(e);
|
|
24
|
+
return t ? `https://www.${t}` : null;
|
|
25
|
+
}
|
|
26
|
+
function i(e) {
|
|
27
|
+
let t = n(e);
|
|
28
|
+
return t ? `https://docs.${t}` : null;
|
|
29
|
+
}
|
|
30
|
+
function a(e, t) {
|
|
31
|
+
return e ? !t || t === "/" ? e : `${e}${t.startsWith("/") ? t : `/${t}`}` : null;
|
|
32
|
+
}
|
|
33
|
+
function o(e, t) {
|
|
34
|
+
return a(r(t), e);
|
|
35
|
+
}
|
|
36
|
+
function s(e, t) {
|
|
37
|
+
return a(i(t), e);
|
|
38
|
+
}
|
|
39
|
+
var c = {
|
|
40
|
+
"terms-of-service": "/terms",
|
|
41
|
+
"privacy-policy": "/privacy",
|
|
42
|
+
security: "/security",
|
|
43
|
+
"cookie-policy": "/cookie",
|
|
44
|
+
"acceptable-use-policy": "/aup",
|
|
45
|
+
"refund-policy": "/refund-policy",
|
|
46
|
+
"data-processing-addendum": "/dpa",
|
|
47
|
+
subprocessors: "/subprocessors",
|
|
48
|
+
"ai-product-terms": "/ai-terms"
|
|
49
|
+
};
|
|
50
|
+
function l(e, t) {
|
|
51
|
+
return t && Object.prototype.hasOwnProperty.call(t, e) ? t[e] ?? null : c[e] ?? null;
|
|
52
|
+
}
|
|
53
|
+
export { c as MARKETING_LEGAL_PATHS, i as resolveDocsOrigin, s as resolveDocsUrl, l as resolveLegalPath, r as resolveMarketingOrigin, o as resolveMarketingUrl, n as resolveProductDomain };
|
package/dist/shared-utils.js
CHANGED
|
@@ -10,14 +10,15 @@ import { AppInitializer as he, useRegistryHelpers as ge, useShellNavigate as _e
|
|
|
10
10
|
import { clearUserContext as ve, initializeLogger as ye, setUserContext as be } from "./shared/utils/loggerInit.js";
|
|
11
11
|
import { clearSSoCookie as xe, clearShellSsoCookies as Se, getSSoCookie as Ce, isSharedSsoCookieDomain as we, isTrustedSsoOrigin as Te, readShellSsoCookie as Ee, setSSoCookie as De, setShellSsoCookies as Oe } from "./shared/utils/authCookie.js";
|
|
12
12
|
import { assignLocationWithAllowlist as ke, isAllowedRedirectUrl as Ae, openUrlInNewTabWithAllowlist as je, replaceLocationWithAllowlist as Me } from "./shared/utils/redirectAllowlist.js";
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
13
|
+
import { MARKETING_LEGAL_PATHS as Ne, resolveDocsOrigin as Pe, resolveDocsUrl as Fe, resolveLegalPath as Ie, resolveMarketingOrigin as Le, resolveMarketingUrl as Re, resolveProductDomain as ze } from "./shared/utils/productSiteLinks.js";
|
|
14
|
+
import { SSO_DEPOSITED_PARAM as Be, beginSsoNavigation as Ve, buildSsoDepositUrl as He, clearSsoDepositState as Ue, clearSsoNavigation as We, consumeSsoDepositMarker as Ge, isSsoNavigationPending as Ke, markSsoDepositDone as qe, markSsoDepositPending as Je, mintSsoSessionTokens as Ye, readSsoDepositState as Xe, shouldAttemptSsoDeposit as Ze } from "./shared/utils/ssoDeposit.js";
|
|
15
|
+
import { createProfileScopedStorage as Qe, getProfileScopedKey as $e } from "./shared/utils/profileScopedStorage.js";
|
|
16
|
+
import { QUOTA_EXHAUSTED_CODE as et, RESOURCE_CAP_EXCEEDED_CODE as tt, STORAGE_QUOTA_EXCEEDED_CODE as nt, UPGRADE_ERROR_CODES as rt, buildQuotaExhaustedMessage as it, extractQuotaExhaustedExtensions as at, extractUpgradeErrorExtensions as ot, isQuotaExhaustedError as st, isUpgradeError as ct } from "./shared/utils/quotaErrors.js";
|
|
17
|
+
import { INLINE_ENCODE as lt, downscaleImage as ut, selectInlineBase64 as dt } from "./shared/utils/imageDownscale.js";
|
|
18
|
+
import { clsx as ft } from "clsx";
|
|
19
|
+
import { twMerge as pt } from "tailwind-merge";
|
|
19
20
|
// src/shared/utils/index.ts
|
|
20
|
-
function
|
|
21
|
-
return
|
|
21
|
+
function mt(...e) {
|
|
22
|
+
return pt(ft(e));
|
|
22
23
|
}
|
|
23
|
-
export { he as AppInitializer, oe as BACKEND_ERROR_EVENT, f as CHART_SERIES_COUNT, se as CONNECTION_STATUS_EVENT, p as DATA_TYPES, m as EDGE_KINDS,
|
|
24
|
+
export { he as AppInitializer, oe as BACKEND_ERROR_EVENT, f as CHART_SERIES_COUNT, se as CONNECTION_STATUS_EVENT, p as DATA_TYPES, m as EDGE_KINDS, lt as INLINE_ENCODE, Ne as MARKETING_LEGAL_PATHS, h as NODE_CATEGORIES, g as NODE_STATES, et as QUOTA_EXHAUSTED_CODE, tt as RESOURCE_CAP_EXCEEDED_CODE, Be as SSO_DEPOSITED_PARAM, nt as STORAGE_QUOTA_EXCEEDED_CODE, rt as UPGRADE_ERROR_CODES, t as alertTokens, ke as assignLocationWithAllowlist, ee as attemptTokenRefresh, Ve as beginSsoNavigation, it as buildQuotaExhaustedMessage, He as buildSsoDepositUrl, k as capitalizeFirst, A as capitalizeWords, n as categoryTokens, _ as chartSeriesColor, v as chartSeriesIndex, te as clearAuthSessionStorage, xe as clearSSoCookie, Se as clearShellSsoCookies, Ue as clearSsoDepositState, We as clearSsoNavigation, ve as clearUserContext, mt as cn, Ge as consumeSsoDepositMarker, e as createApolloClient, Qe as createProfileScopedStorage, y as dataTypeColor, b as dataTypeTextClasses, ce as dispatchBackendErrorEvent, ut as downscaleImage, x as edgeColor, le as extractBackendError, at as extractQuotaExhaustedExtensions, ot as extractUpgradeErrorExtensions, j as formatBytes, M as formatCompactNumber, N as formatCurrency, P as formatCurrencyCompact, F as formatDate, I as formatDateTime, L as formatDuration, R as formatList, z as formatNumber, B as formatOrdinal, V as formatPercentage, H as formatRelativeTime, U as formatTime, r as getAlertTokens, i as getCategoryTokens, $e as getProfileScopedKey, a as getProgressTokens, Ce as getSSoCookie, o as getStatusBadgeTokens, s as getStatusTokens, c as getTrendTokens, ne as hasAuthGraphQLErrors, ye as initializeLogger, Z as installGatewayFetchRewrite, ue as isAbortError, Ae as isAllowedRedirectUrl, re as isAuthGraphQLError, ie as isAuthNetworkError, de as isBackendErrorDisplay, Y as isChunkLoadError, st as isQuotaExhaustedError, we as isSharedSsoCookieDomain, Ke as isSsoNavigationPending, fe as isTransportError, Te as isTrustedSsoOrigin, ct as isUpgradeError, X as lazyWithRetry, pe as markConnectionHealthy, qe as markSsoDepositDone, Je as markSsoDepositPending, Ye as mintSsoSessionTokens, S as nodeCategoryClasses, C as nodeCategoryColor, w as nodeCategorySubtleColor, T as nodeStateColor, E as nodeStateRingClasses, je as openUrlInNewTabWithAllowlist, W as pluralize, l as progressTokens, Ee as readShellSsoCookie, Xe as readSsoDepositState, ae as redirectToLogin, Me as replaceLocationWithAllowlist, Pe as resolveDocsOrigin, Fe as resolveDocsUrl, Q as resolveGatewayBases, Ie as resolveLegalPath, Le as resolveMarketingOrigin, Re as resolveMarketingUrl, ze as resolveProductDomain, dt as selectInlineBase64, De as setSSoCookie, Oe as setShellSsoCookies, be as setUserContext, Ze as shouldAttemptSsoDeposit, me as shouldToastBackendError, G as slugify, u as statusTokens, $ as suppressConsole, K as toCamelCase, D as toDataType, O as toNodeCategory, q as toPascalCase, d as trendTokens, J as truncateText, ge as useRegistryHelpers, _e as useShellNavigate };
|
package/dist/shared.js
CHANGED
|
@@ -38,120 +38,121 @@ import { Logger as ur } from "./shared/logger/Logger.js";
|
|
|
38
38
|
import { LogManager as dr, logManager as fr } from "./shared/logger/LogManager.js";
|
|
39
39
|
import { ConsoleTransport as pr } from "./shared/logger/ConsoleTransport.js";
|
|
40
40
|
import { clearUserContext as mr, initializeLogger as hr, setUserContext as gr } from "./shared/utils/loggerInit.js";
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import {
|
|
112
|
-
import {
|
|
113
|
-
import {
|
|
114
|
-
import {
|
|
115
|
-
import {
|
|
116
|
-
import {
|
|
117
|
-
import {
|
|
118
|
-
import {
|
|
119
|
-
import {
|
|
120
|
-
import {
|
|
121
|
-
import {
|
|
122
|
-
import {
|
|
123
|
-
import {
|
|
124
|
-
import {
|
|
125
|
-
import {
|
|
126
|
-
import {
|
|
127
|
-
import {
|
|
128
|
-
import {
|
|
129
|
-
import {
|
|
130
|
-
import {
|
|
131
|
-
import {
|
|
132
|
-
import {
|
|
133
|
-
import {
|
|
134
|
-
import {
|
|
135
|
-
import {
|
|
136
|
-
import {
|
|
137
|
-
import {
|
|
138
|
-
import {
|
|
139
|
-
import {
|
|
140
|
-
import {
|
|
141
|
-
import {
|
|
142
|
-
import {
|
|
143
|
-
import {
|
|
144
|
-
import {
|
|
145
|
-
import {
|
|
146
|
-
import {
|
|
147
|
-
import {
|
|
148
|
-
import {
|
|
149
|
-
import {
|
|
150
|
-
import {
|
|
151
|
-
import {
|
|
152
|
-
import {
|
|
153
|
-
import {
|
|
41
|
+
import { MARKETING_LEGAL_PATHS as _r, resolveDocsOrigin as vr, resolveDocsUrl as yr, resolveLegalPath as br, resolveMarketingOrigin as xr, resolveMarketingUrl as Sr, resolveProductDomain as Cr } from "./shared/utils/productSiteLinks.js";
|
|
42
|
+
import { createProfileScopedStorage as wr, getProfileScopedKey as Tr } from "./shared/utils/profileScopedStorage.js";
|
|
43
|
+
import { QUOTA_EXHAUSTED_CODE as Er, RESOURCE_CAP_EXCEEDED_CODE as Dr, STORAGE_QUOTA_EXCEEDED_CODE as Or, UPGRADE_ERROR_CODES as kr, buildQuotaExhaustedMessage as Ar, extractQuotaExhaustedExtensions as jr, extractUpgradeErrorExtensions as Mr, isQuotaExhaustedError as Nr, isUpgradeError as Pr } from "./shared/utils/quotaErrors.js";
|
|
44
|
+
import { INLINE_ENCODE as Fr, downscaleImage as Ir, selectInlineBase64 as Lr } from "./shared/utils/imageDownscale.js";
|
|
45
|
+
import { ApolloClient as Rr, ApolloProvider as zr, InMemoryCache as Br, gql as Vr, skipToken as Hr, useApolloClient as Ur, useLazyQuery as Wr, useMutation as Gr, useQuery as Kr, useSubscription as qr, useSuspenseQuery as Jr } from "./shared-graphql.js";
|
|
46
|
+
import { useMediaQuery as Yr } from "./shared/hooks/useMediaQuery.js";
|
|
47
|
+
import { nativeActionSheet as Xr, nativeConfirm as Zr, nativeCopyText as Qr, nativeImpact as $r, nativeNotify as ei, nativeOpenUrl as ti, nativeSelection as ni, nativeShare as ri, nativeToast as ii } from "./shared/native/consumers.js";
|
|
48
|
+
import { MAIN_CONTENT_ID as ai, MainLandmark as oi, PublicLayout as si, SkipToContentLink as ci, focusSkipTarget as li, useInsideMainLandmark as ui } from "./shared/components/SkipToContent.js";
|
|
49
|
+
import { SafeAreaView as di } from "./shared/native/SafeAreaView.js";
|
|
50
|
+
import { readInitialNetworkStatus as fi, reduceNetworkStatus as pi, useNetworkStatus as mi } from "./shared/native/hooks/useNetworkStatus.js";
|
|
51
|
+
import { PULL_TO_REFRESH_THRESHOLD as hi, computePullOffset as gi, computePullProgress as _i, usePullToRefresh as vi } from "./shared/native/hooks/usePullToRefresh.js";
|
|
52
|
+
import { useReturnFocus as yi } from "./shared/hooks/useReturnFocus.js";
|
|
53
|
+
import { ActorIdentity as bi } from "./shared/actors/ActorIdentity.js";
|
|
54
|
+
import { buildActorFallback as xi, useActorProfiles as Si } from "./shared/actors/useActorProfiles.js";
|
|
55
|
+
import { getPushOptInController as Ci, recordPushPermissionPromptDismissed as wi, registerPushOptInController as Ti, shouldPromptForPushPermission as Ei } from "./shared/native/push-optin.js";
|
|
56
|
+
import { PUSH_DEVICE_ID_STORAGE_KEY as Di, getOrCreatePushDeviceId as Oi, registerPushDevice as ki, unregisterPushDevice as Ai } from "./shared/native/push-registration.js";
|
|
57
|
+
import { ErrorBoundary as ji } from "./shared/components/ErrorBoundary.js";
|
|
58
|
+
import { RequireAuth as Mi, RequireGuest as Ni } from "./shared/components/RequireAuth.js";
|
|
59
|
+
import { PermissionButton as Pi, PermissionGate as Fi, PermissionLink as Ii } from "./shared/components/PermissionGate.js";
|
|
60
|
+
import { AccessDenied as Li, PermissionDenied as Ri } from "./shared/components/AccessDenied.js";
|
|
61
|
+
import { ErrorFallback as zi } from "./shared/components/ErrorFallback.js";
|
|
62
|
+
import { LoadingFallback as Bi, PageLoadingFallback as Vi, SectionLoadingFallback as Hi } from "./shared/components/LoadingFallback.js";
|
|
63
|
+
import { MicrofrontendErrorBoundary as Ui } from "./shared/components/MicrofrontendErrorBoundary.js";
|
|
64
|
+
import { ConditionalShell as Wi } from "./shared/components/ConditionalShell.js";
|
|
65
|
+
import { usePWA as Gi } from "./shared/hooks/usePWA.js";
|
|
66
|
+
import { PWAInstallBanner as Ki } from "./shared/components/PWAInstallBanner.js";
|
|
67
|
+
import { ErrorBoundary as qi } from "./shared/components/AppErrorBoundary.js";
|
|
68
|
+
import { FeatureFlagProvider as Ji, useFeatureFlags as Yi, useOptionalFeatureFlags as Xi } from "./shared/feature-flags/FeatureFlagProvider.js";
|
|
69
|
+
import { useFeatureFlag as Zi, useFeatureFlagDetails as Qi, useFeatureFlagValue as $i, useOptionalFeatureFlag as ea } from "./shared/feature-flags/useFeatureFlag.js";
|
|
70
|
+
import { FeatureGate as ta } from "./shared/feature-flags/FeatureGate.js";
|
|
71
|
+
import { SEMANTICFED_ANALYTICS_ROUTES as na, SEMANTICFED_RYBBIT_EVENTS as ra } from "./shared/events/semanticfed.js";
|
|
72
|
+
import { BUILDMYIQ_RYBBIT_EVENTS as ia } from "./shared/events/buildmyiq.js";
|
|
73
|
+
import { GGNOMAD_RYBBIT_EVENTS as aa } from "./shared/events/ggnomad.js";
|
|
74
|
+
import { ATHELETEBRIDGE_ANALYTICS_ROUTES as oa, ATHELETEBRIDGE_RYBBIT_EVENTS as sa } from "./shared/events/atheletebridge.js";
|
|
75
|
+
import { TIMECAMPUS_RYBBIT_EVENTS as ca } from "./shared/events/timecampus.js";
|
|
76
|
+
import { THECULTUREPOST_RYBBIT_EVENTS as la } from "./shared/events/theculturepost.js";
|
|
77
|
+
import { FLUIDGRIDS_RYBBIT_EVENTS as ua } from "./shared/events/fluidgrids.js";
|
|
78
|
+
import { DevtoolsSink as da } from "./shared/events/sinks/DevtoolsSink.js";
|
|
79
|
+
import { BroadcastChannelSink as fa } from "./shared/events/sinks/BroadcastChannelSink.js";
|
|
80
|
+
import { BackendAuditSink as pa } from "./shared/events/sinks/BackendAuditSink.js";
|
|
81
|
+
import { compileRybbitRoutePattern as ma, isRybbitSkippedRoute as ha } from "./shared/events/sinks/rybbitRoutes.js";
|
|
82
|
+
import { OtelBrowserSink as ga } from "./shared/events/sinks/OtelBrowserSink.js";
|
|
83
|
+
import { MicrofrontendContext as _a, useMicrofrontendContext as va } from "./shared-hooks.js";
|
|
84
|
+
import { AnalyticsConsentBanner as ya, CONSENT_BANNER_OFFSET_VAR as ba, RybbitSink as xa, publishConsentBannerOffset as Sa, readAnalyticsConsent as Ca, readAnalyticsConsentChoice as wa, setAnalyticsConsent as Ta } from "./shared/events/sinks/RybbitSink.js";
|
|
85
|
+
import { ContextConversationWidget as Ea } from "./shared/components/ContextConversationWidget.js";
|
|
86
|
+
import { detectPlatform as Da, formatKeyCombo as Oa, getDisplayKeysForPlatform as ka, getShortcutLabel as Aa, isMac as ja, isMobileDevice as Ma, isTabletDevice as Na, matchesKeyCombo as Pa, normalizeKey as Fa, normalizePlatformCombo as Ia, parseKeyCombo as La, shouldEnableKeyboardShortcuts as Ra, shouldIgnoreShortcut as za } from "./shared/keyboard/utils.js";
|
|
87
|
+
import { KeyboardHelpDialogWrapper as Ba } from "./shared/components/KeyboardHelpDialogWrapper.js";
|
|
88
|
+
import { QuotaMeter as Va } from "./shared/components/QuotaMeter.js";
|
|
89
|
+
import { UPGRADE_PROMPT_EVENT as Ha, UpgradePromptModal as Ua, dispatchUpgradePrompt as Wa } from "./shared/components/UpgradePromptModal.js";
|
|
90
|
+
import { UpgradeInlineBanner as Ga } from "./shared/components/UpgradeInlineBanner.js";
|
|
91
|
+
import { DEFAULT_QUOTA_UPGRADE_COPY as Ka, QuotaUpgradeBridge as qa, captureQuotaDialogOwners as Ja, claimQuotaDialog as Ya, dispatchProductQuotaExhausted as Xa, quotaEventKind as Za, resolveQuotaUpgradeCopy as Qa, useQuotaDialogOwnership as $a, useQuotaUpgradeBridge as eo, withQuotaDialogOwnership as to } from "./shared/components/QuotaUpgradeBridge.js";
|
|
92
|
+
import { DocsLink as no, PUBLIC_PRODUCT_DOCS_URL_QUERY as ro, fetchRegistryDocsUrl as io, readRegistryDocsUrl as ao, useProductDocsOrigin as oo, useProductDocsUrl as so } from "./shared/components/DocsLink.js";
|
|
93
|
+
import { getNativeEntryRoutes as co, shouldShowNativeWelcome as lo } from "./shared/native/entry.js";
|
|
94
|
+
import { PRODUCT_SWITCH_HANDOFF_PARAM as uo, hasProductSwitchHandoff as fo, stripProductSwitchHandoff as po, withProductSwitchHandoff as mo } from "./shared/navigation/productSwitchHandoff.js";
|
|
95
|
+
import { LandingGateView as ho, LandingOrDashboardRedirect as go, hasStoredValidSession as _o, resolveLandingGate as vo, startProductSwitchHandoff as yo } from "./shared/components/LandingOrDashboardRedirect.js";
|
|
96
|
+
import { useVoiceInput as bo } from "./shared/components/assistantWidget/useVoiceInput.js";
|
|
97
|
+
import { ASSISTANT_WIDGET_TOGGLE_EVENT as xo, AssistantWidget as So } from "./shared/components/assistantWidget/AssistantWidget.js";
|
|
98
|
+
import { Markdown as Co } from "./shared/components/Markdown.js";
|
|
99
|
+
import { useNativePlatform as wo } from "./shared/native/hooks/useNativePlatform.js";
|
|
100
|
+
import { useSafeArea as To } from "./shared/native/hooks/useSafeArea.js";
|
|
101
|
+
import { useNativeKeyboard as Eo } from "./shared/native/hooks/useNativeKeyboard.js";
|
|
102
|
+
import { useAppState as Do } from "./shared/native/hooks/useAppState.js";
|
|
103
|
+
import { useDeviceInfo as Oo } from "./shared/native/hooks/useDeviceInfo.js";
|
|
104
|
+
import { useHaptics as ko } from "./shared/native/hooks/useHaptics.js";
|
|
105
|
+
import { useStatusBar as Ao } from "./shared/native/hooks/useStatusBar.js";
|
|
106
|
+
import { resolveActionSheetOutcome as jo, useActionSheet as Mo } from "./shared/native/hooks/useActionSheet.js";
|
|
107
|
+
import { useDesktop as No } from "./shared/native/hooks/useDesktop.js";
|
|
108
|
+
import { useDesktopUpdateState as Po } from "./shared/native/hooks/useDesktopUpdateState.js";
|
|
109
|
+
import { useDesktopWindowState as Fo } from "./shared/native/hooks/useDesktopWindowState.js";
|
|
110
|
+
import { DesktopUpdateToast as Io } from "./shared/components/DesktopUpdateToast.js";
|
|
111
|
+
import { useDebounce as Lo } from "./shared/hooks/useDebounce.js";
|
|
112
|
+
import { useThrottle as Ro } from "./shared/hooks/useThrottle.js";
|
|
113
|
+
import { BREAKPOINTS as zo, useBreakpoint as Bo, useMobileBreakpoint as Vo } from "./shared/hooks/useBreakpoint.js";
|
|
114
|
+
import { useOnClickOutside as Ho, useOnClickOutsideWithRef as Uo } from "./shared/hooks/useOnClickOutside.js";
|
|
115
|
+
import { useKeyPress as Wo, useKeyboardShortcut as Go } from "./shared/hooks/useKeyPress.js";
|
|
116
|
+
import { useExclusiveMenu as Ko } from "./shared/hooks/useExclusiveMenu.js";
|
|
117
|
+
import { useLocalStorage as qo } from "./shared/hooks/useLocalStorage.js";
|
|
118
|
+
import { useSessionStorage as Jo } from "./shared/hooks/useSessionStorage.js";
|
|
119
|
+
import { usePrevious as Yo, usePreviousDistinct as Xo, usePreviousHistory as Zo } from "./shared/hooks/usePrevious.js";
|
|
120
|
+
import { useConditionalToggle as Qo, useToggle as $o, useToggleObject as es } from "./shared/hooks/useToggle.js";
|
|
121
|
+
import { usePagination as ts } from "./shared/hooks/usePagination.js";
|
|
122
|
+
import { useAsync as ns, useAsyncImmediate as rs } from "./shared/hooks/useAsync.js";
|
|
123
|
+
import { MODIFIER_KEYS as is, PLATFORM_TYPES as as } from "./shared/keyboard/types.js";
|
|
124
|
+
import { useKeyboardShortcuts as os } from "./shared/keyboard/useKeyboardShortcuts.js";
|
|
125
|
+
import { useHotkeys as ss } from "./shared/keyboard/useHotkeys.js";
|
|
126
|
+
import { useShortcutHelp as cs } from "./shared/keyboard/useShortcutHelp.js";
|
|
127
|
+
import { GLOBAL_SHORTCUT_CATEGORIES as ls, createGlobalShortcuts as us, getGlobalShortcutsByCategory as ds, mergeShortcuts as fs } from "./shared/keyboard/globalShortcuts.js";
|
|
128
|
+
import { COMMAND_CHORD_ID_PREFIX as ps, commandChordShortcuts as ms, isChordShortcut as hs, normalizeChord as gs, withCommandChords as _s } from "./shared/keyboard/commandChords.js";
|
|
129
|
+
import { useLogger as vs } from "./shared/logger/useLogger.js";
|
|
130
|
+
import { useHasAnimated as ys } from "./shared/hooks/useHasAnimated.js";
|
|
131
|
+
import { useReferralAttribution as bs } from "./shared/hooks/useReferralAttribution.js";
|
|
132
|
+
import { useRecordProductVisit as xs } from "./shared/hooks/useRecordProductVisit.js";
|
|
133
|
+
import { usePushDeviceRegistration as Ss } from "./shared/hooks/usePushDeviceRegistration.js";
|
|
134
|
+
import { QUOTA_EXHAUSTED_EVENT as Cs, dispatchQuotaExhausted as ws, useQuotaErrorToast as Ts } from "./shared/hooks/useQuotaErrorToast.js";
|
|
135
|
+
import { PLAN_USAGE_SNAPSHOT_EVENT as Es, publishPlanUsageSnapshot as Ds, useUpgradePrompt as Os } from "./shared/hooks/useUpgradePrompt.js";
|
|
136
|
+
import { appendContextToPath as ks, useCurrentContextSearchParams as As } from "./shared/hooks/useCurrentContextSearchParams.js";
|
|
137
|
+
import { UNSAVED_CHANGE_LABEL_MAX as js, listUnsavedChanges as Ms, registerUnsavedChange as Ns, unsavedChangesBlocking as Ps, useUnsavedChanges as Fs } from "./shared/navigation/unsavedChanges.js";
|
|
138
|
+
import { MicrofrontendProvider as Is } from "./shared-providers.js";
|
|
139
|
+
import { withTourProgressStatus as Ls } from "./shared/tours/progress.js";
|
|
140
|
+
import { detectDeviceType as Rs, getResponsiveSelector as zs } from "./shared/tours/types.js";
|
|
141
|
+
import { useTourPlayer as Bs } from "./shared/tours/useTourPlayer.js";
|
|
142
|
+
import { TourSpotlight as Vs } from "./shared/tours/TourSpotlight.js";
|
|
143
|
+
import { TourTooltip as Hs } from "./shared/tours/TourTooltip.js";
|
|
144
|
+
import { TourPlayerProvider as Us, useIsTourPlaying as Ws, useStartTour as Gs, useStopTour as Ks, useTourPlayerContext as qs } from "./shared/tours/TourPlayerProvider.js";
|
|
145
|
+
import { TourPlayer as Js, TourTriggerButton as Ys, usePlayTour as Xs } from "./shared/tours/TourPlayer.js";
|
|
146
|
+
import { BIGCONSOLE_TOUR_ROUTE_CATALOG as Zs, BUILDMYIQ_TOUR_ROUTE_CATALOG as Qs, BUILT_IN_TOUR_ROUTE_CATALOGS as $s, COLLABKIN_TOUR_ROUTE_CATALOG as ec, FLUIDGRIDS_TOUR_ROUTE_CATALOG as tc, INTELWATCHTOWER_TOUR_ROUTE_CATALOG as nc, MANUFACTUREDOPS_TOUR_ROUTE_CATALOG as rc, VIBECONTROLS_TOUR_ROUTE_CATALOG as ic, getBuiltInTourRouteCatalog as ac, listBuiltInTourRouteCatalogProductIds as oc } from "./shared/tours/catalogs.js";
|
|
147
|
+
import { createTourPageIdResolver as sc, getTourContextRank as cc, getTourRouteCatalog as lc, getTourRouteCatalogVersion as uc, getTourRouteModules as dc, getTourRoutePages as fc, hasRegisteredTourRouteCatalog as pc, isTourVisibleForContext as mc, normalizeTourPath as hc, registerTourRouteCatalog as gc, resolveTourTargetPath as _c, subscribeTourRouteCatalogs as vc } from "./shared/tours/routeCatalog.js";
|
|
148
|
+
import { ToursProvider as yc, useAutoStartTour as bc, useSafeToursContext as xc, useTours as Sc, useToursContext as Cc } from "./shared/tours/ToursContext.js";
|
|
149
|
+
import { TourInitializer as wc } from "./shared/tours/TourInitializer.js";
|
|
150
|
+
import { useRegisterTourRouteCatalog as Tc, useTourRouteCatalog as Ec } from "./shared/tours/useTourRouteCatalog.js";
|
|
151
|
+
import { AppShellProvider as Dc, resolveAppShellObservabilityConfig as Oc } from "./shared/providers/AppShellProvider.js";
|
|
152
|
+
import { cn as kc } from "./shared-utils.js";
|
|
153
|
+
import { TourTrigger as Ac } from "./shared/tours/TourTrigger.js";
|
|
154
|
+
import { acknowledgeNativePurchase as jc, getNativeProducts as Mc, getNativePurchases as Nc, installNativeIAP as Pc, isNativeIAPAvailable as Fc, purchaseNativeProduct as Ic, restoreNativePurchases as Lc } from "./shared/native/purchases.js";
|
|
154
155
|
import "./shared-native.js";
|
|
155
156
|
// src/shared/index.ts
|
|
156
|
-
var
|
|
157
|
-
export { mo as ASSISTANT_WIDGET_TOGGLE_EVENT, $i as ATHELETEBRIDGE_ANALYTICS_ROUTES, ea as ATHELETEBRIDGE_RYBBIT_EVENTS, Ai as AccessDenied, pi as ActorIdentity, fa as AnalyticsConsentBanner, jr as ApolloClient, Mr as ApolloProvider, Bi as AppErrorBoundary, or as AppInitializer, bc as AppShellProvider, ho as AssistantWidget, Dt as BACKEND_ERROR_EVENT, Ws as BIGCONSOLE_TOUR_ROUTE_CATALOG, Ue as BOTMANOR_PRODUCT_SLUG, Mo as BREAKPOINTS, Zi as BUILDMYIQ_RYBBIT_EVENTS, Gs as BUILDMYIQ_TOUR_ROUTE_CATALOG, Ks as BUILT_IN_TOUR_ROUTE_CATALOGS, qt as BYPASS_FETCH_RESPONSE_CACHE_CONTEXT_KEY, oa as BackendAuditSink, aa as BroadcastChannelSink, Qe as CANONICAL_DOCS_HOSTS, p as CHART_SERIES_COUNT, qs as COLLABKIN_TOUR_ROUTE_CATALOG, os as COMMAND_CHORD_ID_PREFIX, st as COMMON_SHELL_LESS_ROUTES, Ot as CONNECTION_STATUS_EVENT, pa as CONSENT_BANNER_OFFSET_VAR, Li as ConditionalShell, pr as ConsoleTransport, ya as ContextConversationWidget, m as DATA_TYPES, pt as DEFAULT_PAGE_SIZE, za as DEFAULT_QUOTA_UPGRADE_COPY, ct as DEFAULT_SHELL_CONFIG, te as DESKTOP_UPDATE_UNSUPPORTED, ne as DESKTOP_WINDOW_STATE_DEFAULT, ko as DesktopUpdateToast, ia as DevtoolsSink, Ya as DocsLink, h as EDGE_KINDS, wi as ErrorBoundary, Mi as ErrorFallback, ln as EventBusProvider, jc as FE_SHARED_VERSION, ra as FLUIDGRIDS_RYBBIT_EVENTS, Js as FLUIDGRIDS_TOUR_ROUTE_CATALOG, Vi as FeatureFlagProvider, Ji as FeatureGate, mt as GATEWAYS, Qi as GGNOMAD_RYBBIT_EVENTS, ns as GLOBAL_SHORTCUT_CATEGORIES, en as GatewayProvider, Or as INLINE_ENCODE, Ys as INTELWATCHTOWER_TOUR_ROUTE_CATALOG, Nr as InMemoryCache, Na as KeyboardHelpDialogWrapper, so as LandingGateView, co as LandingOrDashboardRedirect, Ni as LoadingFallback, lr as LogLevel, dr as LogManager, ur as Logger, Qr as MAIN_CONTENT_ID, Xs as MANUFACTUREDOPS_TOUR_ROUTE_CATALOG, Zo as MODIFIER_KEYS, $r as MainLandmark, go as Markdown, ua as MicrofrontendContext, Ii as MicrofrontendErrorBoundary, ks as MicrofrontendProvider, g as NODE_CATEGORIES, _ as NODE_STATES, la as OtelBrowserSink, ys as PLAN_USAGE_SNAPSHOT_EVENT, Qo as PLATFORM_TYPES, We as PRODUCTS, Le as PRODUCT_SLUG_EMIT, Re as PRODUCT_SLUG_RENAMES, ro as PRODUCT_SWITCH_HANDOFF_PARAM, Ge as PRODUCT_URLS, Xa as PUBLIC_PRODUCT_DOCS_URL_QUERY, ci as PULL_TO_REFRESH_THRESHOLD, bi as PUSH_DEVICE_ID_STORAGE_KEY, zi as PWAInstallBanner, Pi as PageLoadingFallback, Di as PermissionButton, ji as PermissionDenied, Oi as PermissionGate, ki as PermissionLink, ei as PublicLayout, yr as QUOTA_EXHAUSTED_CODE, gs as QUOTA_EXHAUSTED_EVENT, Pa as QuotaMeter, Ba as QuotaUpgradeBridge, br as RESOURCE_CAP_EXCEEDED_CODE, Ti as RequireAuth, Ei as RequireGuest, ma as RybbitSink, Yi as SEMANTICFED_ANALYTICS_ROUTES, Xi as SEMANTICFED_RYBBIT_EVENTS, Jt as SEND_UNBATCHED_CONTEXT_KEY, Me as SESSION_BRIDGE_PAGE_PATH, Ne as SESSION_BRIDGE_ROUTE_PATH, Kt as SSELink, Hn as SSORedirectSpinner, Jn as SSO_DEPOSITED_PARAM, xr as STORAGE_QUOTA_EXCEEDED_CODE, ii as SafeAreaView, Fi as SectionLoadingFallback, ti as SkipToContentLink, na as THECULTUREPOST_RYBBIT_EVENTS, ta as TIMECAMPUS_RYBBIT_EVENTS, _c as TourInitializer, Vs as TourPlayer, Is as TourPlayerProvider, Ps as TourSpotlight, Fs as TourTooltip, Cc as TourTrigger, Hs as TourTriggerButton, fc as ToursProvider, ws as UNSAVED_CHANGE_LABEL_MAX, Sr as UPGRADE_ERROR_CODES, Fa as UPGRADE_PROMPT_EVENT, Ra as UpgradeInlineBanner, Ia as UpgradePromptModal, Zs as VIBECONTROLS_TOUR_ROUTE_CATALOG, bt as WORKSPACE_CONTEXT_CHANGED, xt as WORKSPACE_CONTEXT_MISMATCH_EVENT, St as WORKSPACE_WRITE_REFUSED_EVENT, Ct as WORKSPACE_WRITE_REFUSED_MESSAGE, wt as WorkspaceContextChangedError, sn as WsLink, wc as acknowledgeNativePurchase, n as alertTokens, Ss as appendContextToPath, Rn as assignLocationWithAllowlist, mn as attemptTokenRefresh, Yn as beginSsoNavigation, re as bootDesktopShell, mi as buildActorFallback, $e as buildProductDocsUrl, Cr as buildQuotaExhaustedMessage, Xn as buildSsoDepositUrl, et as canonicalizeDocsOrigin, A as capitalizeFirst, j as capitalizeWords, Va as captureQuotaDialogOwners, r as categoryTokens, v as chartSeriesColor, y as chartSeriesIndex, Un as checkRemoteSLO, Wn as checkSLO, Ha as claimQuotaDialog, hn as clearAuthSessionStorage, It as clearGraphqlFetchResponseCache, Gn as clearLocalAuthState, bn as clearSSoCookie, xn as clearShellSsoCookies, Zn as clearSsoDepositState, Qn as clearSsoNavigation, mr as clearUserContext, Sc as cn, ss as commandChordShortcuts, sa as compileRybbitRoutePattern, li as computePullOffset, ui as computePullProgress, $n as consumeSsoDepositMarker, t as createApolloClient, un as createEventBus, rs as createGlobalShortcuts, Yt as createGraphQLClient, _r as createProfileScopedStorage, ec as createTourPageIdResolver, b as dataTypeColor, x as dataTypeTextClasses, ie as desktopCheckForUpdates, ae as desktopDeepLinkToPath, oe as desktopInstallUpdate, se as desktopNotify, ce as desktopOpenExternal, le as desktopSetBadgeCount, ue as desktopSetLocale, de as desktopSetTheme, fe as desktopSetTrayQuickActions, js as detectDeviceType, ba as detectPlatform, kt as dispatchBackendErrorEvent, Ua as dispatchProductQuotaExhausted, _s as dispatchQuotaExhausted, La as dispatchUpgradePrompt, kr as downscaleImage, S as edgeColor, ze as emitProductSlug, At as extractBackendError, wr as extractQuotaExhaustedExtensions, Tr as extractUpgradeErrorExtensions, Za as fetchRegistryDocsUrl, Ke as findProductConfig, ni as focusSkipTarget, M as formatBytes, N as formatCompactNumber, P as formatCurrency, F as formatCurrencyCompact, I as formatDate, L as formatDateTime, R as formatDuration, xa as formatKeyCombo, z as formatList, B as formatNumber, V as formatOrdinal, H as formatPercentage, U as formatRelativeTime, W as formatTime, i as getAlertTokens, Qs as getBuiltInTourRouteCatalog, Q as getCapacitorPlatform, tt as getCatalogDocsOrigin, a as getCategoryTokens, pe as getDesktopAuthBridgeConfig, me as getDesktopBridge, he as getDesktopGatewayBases, ge as getDesktopGatewayUrls, _e as getDesktopRuntimeConfig, ve as getDesktopUpdateState, ye as getDesktopWindowState, Sa as getDisplayKeysForPlatform, ht as getGatewayConfig, gt as getGatewayUrl, Xt as getGlobalClient, is as getGlobalShortcutsByCategory, _t as getGraphQLEndpoint, be as getLegacyDesktopRuntime, $ as getNativeAppIdHeader, On as getNativeBridge, to as getNativeEntryRoutes, Tc as getNativeProducts, Ec as getNativePurchases, xi as getOrCreatePushDeviceId, kn as getPlatform, qe as getProductUrl, Je as getProductsWithUrls, vr as getProfileScopedKey, o as getProgressTokens, gi as getPushOptInController, Ms as getResponsiveSelector, Kn as getSSORedirectUrl, Sn as getSSoCookie, lt as getShellConfig, Ca as getShortcutLabel, s as getStatusBadgeTokens, c as getStatusTokens, Lt as getStoredAuthToken, Rt as getStoredLocale, zt as getStoredOrganizationId, Bt as getStoredProjectId, Vt as getStoredWorkspaceId, Ht as getStoredWorkspaceToken, tc as getTourContextRank, nc as getTourRouteCatalog, rc as getTourRouteCatalogVersion, ic as getTourRouteModules, ac as getTourRoutePages, l as getTrendTokens, Zt as getWorkspaceClient, vt as getWorkspaceTokenPayload, Pr as gql, Ut as graphqlFetch, Wt as graphqlFetchPinned, gn as hasAuthGraphQLErrors, io as hasProductSwitchHandoff, oc as hasRegisteredTourRouteCatalog, lo as hasStoredValidSession, Qt as initializeAppClients, hr as initializeLogger, xe as installDesktopDeepLinkHandler, Se as installDesktopNavigateHandler, ke as installGatewayFetchRewrite, Dc as installNativeIAP, jt as isAbortError, zn as isAllowedRedirectUrl, Ye as isAlphaAppShell, An as isAndroid, _n as isAuthGraphQLError, vn as isAuthNetworkError, Mt as isBackendErrorDisplay, ee as isCapacitorNative, cs as isChordShortcut, X as isChunkLoadError, Ce as isDesktop, jn as isElectron, Mn as isIOS, Nn as isInstalledApp, wa as isMac, Ta as isMobileDevice, Pn as isNative, Oc as isNativeIAPAvailable, Er as isQuotaExhaustedError, ca as isRybbitSkippedRoute, Be as isSameProductSlug, Pe as isSessionBridgePath, Cn as isSharedSsoCookieDomain, ut as isShellLessRoute, er as isSsoNavigationPending, Fn as isStandalonePWA, Ea as isTabletDevice, sc as isTourVisibleForContext, Nt as isTransportError, wn as isTrustedSsoOrigin, Dr as isUpgradeError, In as isWeb, Ln as isWebBrowser, Tt as isWorkspaceContextChangedError, yt as isWorkspaceTokenValidForContext, Z as lazyWithRetry, Ve as legacyProductSlug, $s as listBuiltInTourRouteCatalogProductIds, Ts as listUnsavedChanges, fr as logManager, Pt as markConnectionHealthy, tr as markSsoDepositDone, nr as markSsoDepositPending, Da as matchesKeyCombo, as as mergeShortcuts, rr as mintSsoSessionTokens, Ur as nativeActionSheet, Wr as nativeConfirm, Gr as nativeCopyText, Kr as nativeImpact, qr as nativeNotify, Jr as nativeOpenUrl, Yr as nativeSelection, Xr as nativeShare, Zr as nativeToast, C as nodeCategoryClasses, w as nodeCategoryColor, T as nodeCategorySubtleColor, E as nodeStateColor, D as nodeStateRingClasses, ls as normalizeChord, nt as normalizeDocsPath, Oa as normalizeKey, ka as normalizePlatformCombo, He as normalizeProductSlug, cc as normalizeTourPath, we as onDesktopUpdateState, Te as onDesktopWindowState, Bn as openUrlInNewTabWithAllowlist, Aa as parseKeyCombo, G as pluralize, cn as prepareWorkspaceRequest, u as progressTokens, ha as publishConsentBannerOffset, bs as publishPlanUsageSnapshot, kc as purchaseNativeProduct, Wa as quotaEventKind, ga as readAnalyticsConsent, _a as readAnalyticsConsentChoice, Et as readContextInputWorkspaceId, ai as readInitialNetworkStatus, Qa as readRegistryDocsUrl, Tn as readShellSsoCookie, ir as readSsoDepositState, _i as recordPushPermissionPromptDismissed, yn as redirectToLogin, qn as redirectToSSO, oi as reduceNetworkStatus, Ee as registerDesktopNavigator, Si as registerPushDevice, vi as registerPushOptInController, lc as registerTourRouteCatalog, Es as registerUnsavedChange, Vn as replaceLocationWithAllowlist, $t as resetAppClients, wo as resolveActionSheetOutcome, xc as resolveAppShellObservabilityConfig, Fe as resolveAuthBridgeConfig, rt as resolveDocsEnvironment, De as resolveExternalGatewayUrls, Ae as resolveGatewayBases, Gt as resolveGatewayUrl, Oe as resolveGatewayUrls, uo as resolveLandingGate, it as resolveProductDocsOrigin, Ga as resolveQuotaUpgradeCopy, Ie as resolveShellAuthBridgeConfig, uc as resolveTourTargetPath, Ac as restoreNativePurchases, Ar as selectInlineBase64, va as setAnalyticsConsent, En as setSSoCookie, Dn as setShellSsoCookies, gr as setUserContext, ar as shouldAttemptSsoDeposit, ja as shouldEnableKeyboardShortcuts, Ma as shouldIgnoreShortcut, yi as shouldPromptForPushPermission, dt as shouldShowBreadcrumb, no as shouldShowNativeWelcome, ft as shouldShowSidebar, Ft as shouldToastBackendError, Fr as skipToken, K as slugify, fo as startProductSwitchHandoff, d as statusTokens, ao as stripProductSwitchHandoff, dc as subscribeTourRouteCatalogs, je as suppressConsole, Xe as toAlphaAppUrl, q as toCamelCase, Ze as toCurrentEstateAppUrl, O as toDataType, at as toEnvironmentDocsOrigin, k as toNodeCategory, J as toPascalCase, ot as toTrustedDocsOrigin, f as trendTokens, Y as truncateText, Ci as unregisterPushDevice, Ds as unsavedChangesBlocking, To as useActionSheet, hi as useActorProfiles, Ir as useApolloClient, bo as useAppState, Yo as useAsync, Xo as useAsyncImmediate, pc as useAutoStartTour, No as useBreakpoint, Go as useConditionalToggle, e as useCopyToClipboard, Cs as useCurrentContextSearchParams, Ao as useDebounce, Eo as useDesktop, Do as useDesktopUpdateState, Oo as useDesktopWindowState, xo as useDeviceInfo, dn as useEvent, fn as useEventBus, pn as useEventEmitter, zo as useExclusiveMenu, Wi as useFeatureFlag, Gi as useFeatureFlagDetails, Ki as useFeatureFlagValue, Hi as useFeatureFlags, tn as useGateway, nn as useGatewayClient, So as useHaptics, fs as useHasAnimated, on as useHasAuthToken, es as useHotkeys, ri as useInsideMainLandmark, Ls as useIsTourPlaying, Lo as useKeyPress, Ro as useKeyboardShortcut, $o as useKeyboardShortcuts, Lr as useLazyQuery, Bo as useLocalStorage, ds as useLogger, Hr as useMediaQuery, da as useMicrofrontendContext, Po as useMobileBreakpoint, Rr as useMutation, yo as useNativeKeyboard, _o as useNativePlatform, si as useNetworkStatus, Fo as useOnClickOutside, Io as useOnClickOutsideWithRef, qi as useOptionalFeatureFlag, Ui as useOptionalFeatureFlags, Ri as usePWA, Jo as usePagination, Us as usePlayTour, Ho as usePrevious, Uo as usePreviousDistinct, Wo as usePreviousHistory, $a as useProductDocsOrigin, eo as useProductDocsUrl, di as usePullToRefresh, hs as usePushDeviceRegistration, zr as useQuery, Ka as useQuotaDialogOwnership, vs as useQuotaErrorToast, qa as useQuotaUpgradeBridge, ms as useRecordProductVisit, ps as useReferralAttribution, vc as useRegisterTourRouteCatalog, sr as useRegistryHelpers, fi as useReturnFocus, vo as useSafeArea, rn as useSafeGateway, an as useSafeGatewayClient, mc as useSafeToursContext, Vo as useSessionStorage, cr as useShellNavigate, ts as useShortcutHelp, Rs as useStartTour, Co as useStatusBar, zs as useStopTour, Br as useSubscription, Vr as useSuspenseQuery, jo as useThrottle, Ko as useToggle, qo as useToggleObject, Ns as useTourPlayer, Bs as useTourPlayerContext, yc as useTourRouteCatalog, hc as useTours, gc as useToursContext, Os as useUnsavedChanges, xs as useUpgradePrompt, po as useVoiceInput, us as withCommandChords, oo as withProductSwitchHandoff, Ja as withQuotaDialogOwnership, As as withTourProgressStatus };
|
|
157
|
+
var Rc = "1.0.0";
|
|
158
|
+
export { xo as ASSISTANT_WIDGET_TOGGLE_EVENT, oa as ATHELETEBRIDGE_ANALYTICS_ROUTES, sa as ATHELETEBRIDGE_RYBBIT_EVENTS, Li as AccessDenied, bi as ActorIdentity, ya as AnalyticsConsentBanner, Rr as ApolloClient, zr as ApolloProvider, qi as AppErrorBoundary, or as AppInitializer, Dc as AppShellProvider, So as AssistantWidget, Dt as BACKEND_ERROR_EVENT, Zs as BIGCONSOLE_TOUR_ROUTE_CATALOG, Ue as BOTMANOR_PRODUCT_SLUG, zo as BREAKPOINTS, ia as BUILDMYIQ_RYBBIT_EVENTS, Qs as BUILDMYIQ_TOUR_ROUTE_CATALOG, $s as BUILT_IN_TOUR_ROUTE_CATALOGS, qt as BYPASS_FETCH_RESPONSE_CACHE_CONTEXT_KEY, pa as BackendAuditSink, fa as BroadcastChannelSink, Qe as CANONICAL_DOCS_HOSTS, p as CHART_SERIES_COUNT, ec as COLLABKIN_TOUR_ROUTE_CATALOG, ps as COMMAND_CHORD_ID_PREFIX, st as COMMON_SHELL_LESS_ROUTES, Ot as CONNECTION_STATUS_EVENT, ba as CONSENT_BANNER_OFFSET_VAR, Wi as ConditionalShell, pr as ConsoleTransport, Ea as ContextConversationWidget, m as DATA_TYPES, pt as DEFAULT_PAGE_SIZE, Ka as DEFAULT_QUOTA_UPGRADE_COPY, ct as DEFAULT_SHELL_CONFIG, te as DESKTOP_UPDATE_UNSUPPORTED, ne as DESKTOP_WINDOW_STATE_DEFAULT, Io as DesktopUpdateToast, da as DevtoolsSink, no as DocsLink, h as EDGE_KINDS, ji as ErrorBoundary, zi as ErrorFallback, ln as EventBusProvider, Rc as FE_SHARED_VERSION, ua as FLUIDGRIDS_RYBBIT_EVENTS, tc as FLUIDGRIDS_TOUR_ROUTE_CATALOG, Ji as FeatureFlagProvider, ta as FeatureGate, mt as GATEWAYS, aa as GGNOMAD_RYBBIT_EVENTS, ls as GLOBAL_SHORTCUT_CATEGORIES, en as GatewayProvider, Fr as INLINE_ENCODE, nc as INTELWATCHTOWER_TOUR_ROUTE_CATALOG, Br as InMemoryCache, Ba as KeyboardHelpDialogWrapper, ho as LandingGateView, go as LandingOrDashboardRedirect, Bi as LoadingFallback, lr as LogLevel, dr as LogManager, ur as Logger, ai as MAIN_CONTENT_ID, rc as MANUFACTUREDOPS_TOUR_ROUTE_CATALOG, _r as MARKETING_LEGAL_PATHS, is as MODIFIER_KEYS, oi as MainLandmark, Co as Markdown, _a as MicrofrontendContext, Ui as MicrofrontendErrorBoundary, Is as MicrofrontendProvider, g as NODE_CATEGORIES, _ as NODE_STATES, ga as OtelBrowserSink, Es as PLAN_USAGE_SNAPSHOT_EVENT, as as PLATFORM_TYPES, We as PRODUCTS, Le as PRODUCT_SLUG_EMIT, Re as PRODUCT_SLUG_RENAMES, uo as PRODUCT_SWITCH_HANDOFF_PARAM, Ge as PRODUCT_URLS, ro as PUBLIC_PRODUCT_DOCS_URL_QUERY, hi as PULL_TO_REFRESH_THRESHOLD, Di as PUSH_DEVICE_ID_STORAGE_KEY, Ki as PWAInstallBanner, Vi as PageLoadingFallback, Pi as PermissionButton, Ri as PermissionDenied, Fi as PermissionGate, Ii as PermissionLink, si as PublicLayout, Er as QUOTA_EXHAUSTED_CODE, Cs as QUOTA_EXHAUSTED_EVENT, Va as QuotaMeter, qa as QuotaUpgradeBridge, Dr as RESOURCE_CAP_EXCEEDED_CODE, Mi as RequireAuth, Ni as RequireGuest, xa as RybbitSink, na as SEMANTICFED_ANALYTICS_ROUTES, ra as SEMANTICFED_RYBBIT_EVENTS, Jt as SEND_UNBATCHED_CONTEXT_KEY, Me as SESSION_BRIDGE_PAGE_PATH, Ne as SESSION_BRIDGE_ROUTE_PATH, Kt as SSELink, Hn as SSORedirectSpinner, Jn as SSO_DEPOSITED_PARAM, Or as STORAGE_QUOTA_EXCEEDED_CODE, di as SafeAreaView, Hi as SectionLoadingFallback, ci as SkipToContentLink, la as THECULTUREPOST_RYBBIT_EVENTS, ca as TIMECAMPUS_RYBBIT_EVENTS, wc as TourInitializer, Js as TourPlayer, Us as TourPlayerProvider, Vs as TourSpotlight, Hs as TourTooltip, Ac as TourTrigger, Ys as TourTriggerButton, yc as ToursProvider, js as UNSAVED_CHANGE_LABEL_MAX, kr as UPGRADE_ERROR_CODES, Ha as UPGRADE_PROMPT_EVENT, Ga as UpgradeInlineBanner, Ua as UpgradePromptModal, ic as VIBECONTROLS_TOUR_ROUTE_CATALOG, bt as WORKSPACE_CONTEXT_CHANGED, xt as WORKSPACE_CONTEXT_MISMATCH_EVENT, St as WORKSPACE_WRITE_REFUSED_EVENT, Ct as WORKSPACE_WRITE_REFUSED_MESSAGE, wt as WorkspaceContextChangedError, sn as WsLink, jc as acknowledgeNativePurchase, n as alertTokens, ks as appendContextToPath, Rn as assignLocationWithAllowlist, mn as attemptTokenRefresh, Yn as beginSsoNavigation, re as bootDesktopShell, xi as buildActorFallback, $e as buildProductDocsUrl, Ar as buildQuotaExhaustedMessage, Xn as buildSsoDepositUrl, et as canonicalizeDocsOrigin, A as capitalizeFirst, j as capitalizeWords, Ja as captureQuotaDialogOwners, r as categoryTokens, v as chartSeriesColor, y as chartSeriesIndex, Un as checkRemoteSLO, Wn as checkSLO, Ya as claimQuotaDialog, hn as clearAuthSessionStorage, It as clearGraphqlFetchResponseCache, Gn as clearLocalAuthState, bn as clearSSoCookie, xn as clearShellSsoCookies, Zn as clearSsoDepositState, Qn as clearSsoNavigation, mr as clearUserContext, kc as cn, ms as commandChordShortcuts, ma as compileRybbitRoutePattern, gi as computePullOffset, _i as computePullProgress, $n as consumeSsoDepositMarker, t as createApolloClient, un as createEventBus, us as createGlobalShortcuts, Yt as createGraphQLClient, wr as createProfileScopedStorage, sc as createTourPageIdResolver, b as dataTypeColor, x as dataTypeTextClasses, ie as desktopCheckForUpdates, ae as desktopDeepLinkToPath, oe as desktopInstallUpdate, se as desktopNotify, ce as desktopOpenExternal, le as desktopSetBadgeCount, ue as desktopSetLocale, de as desktopSetTheme, fe as desktopSetTrayQuickActions, Rs as detectDeviceType, Da as detectPlatform, kt as dispatchBackendErrorEvent, Xa as dispatchProductQuotaExhausted, ws as dispatchQuotaExhausted, Wa as dispatchUpgradePrompt, Ir as downscaleImage, S as edgeColor, ze as emitProductSlug, At as extractBackendError, jr as extractQuotaExhaustedExtensions, Mr as extractUpgradeErrorExtensions, io as fetchRegistryDocsUrl, Ke as findProductConfig, li as focusSkipTarget, M as formatBytes, N as formatCompactNumber, P as formatCurrency, F as formatCurrencyCompact, I as formatDate, L as formatDateTime, R as formatDuration, Oa as formatKeyCombo, z as formatList, B as formatNumber, V as formatOrdinal, H as formatPercentage, U as formatRelativeTime, W as formatTime, i as getAlertTokens, ac as getBuiltInTourRouteCatalog, Q as getCapacitorPlatform, tt as getCatalogDocsOrigin, a as getCategoryTokens, pe as getDesktopAuthBridgeConfig, me as getDesktopBridge, he as getDesktopGatewayBases, ge as getDesktopGatewayUrls, _e as getDesktopRuntimeConfig, ve as getDesktopUpdateState, ye as getDesktopWindowState, ka as getDisplayKeysForPlatform, ht as getGatewayConfig, gt as getGatewayUrl, Xt as getGlobalClient, ds as getGlobalShortcutsByCategory, _t as getGraphQLEndpoint, be as getLegacyDesktopRuntime, $ as getNativeAppIdHeader, On as getNativeBridge, co as getNativeEntryRoutes, Mc as getNativeProducts, Nc as getNativePurchases, Oi as getOrCreatePushDeviceId, kn as getPlatform, qe as getProductUrl, Je as getProductsWithUrls, Tr as getProfileScopedKey, o as getProgressTokens, Ci as getPushOptInController, zs as getResponsiveSelector, Kn as getSSORedirectUrl, Sn as getSSoCookie, lt as getShellConfig, Aa as getShortcutLabel, s as getStatusBadgeTokens, c as getStatusTokens, Lt as getStoredAuthToken, Rt as getStoredLocale, zt as getStoredOrganizationId, Bt as getStoredProjectId, Vt as getStoredWorkspaceId, Ht as getStoredWorkspaceToken, cc as getTourContextRank, lc as getTourRouteCatalog, uc as getTourRouteCatalogVersion, dc as getTourRouteModules, fc as getTourRoutePages, l as getTrendTokens, Zt as getWorkspaceClient, vt as getWorkspaceTokenPayload, Vr as gql, Ut as graphqlFetch, Wt as graphqlFetchPinned, gn as hasAuthGraphQLErrors, fo as hasProductSwitchHandoff, pc as hasRegisteredTourRouteCatalog, _o as hasStoredValidSession, Qt as initializeAppClients, hr as initializeLogger, xe as installDesktopDeepLinkHandler, Se as installDesktopNavigateHandler, ke as installGatewayFetchRewrite, Pc as installNativeIAP, jt as isAbortError, zn as isAllowedRedirectUrl, Ye as isAlphaAppShell, An as isAndroid, _n as isAuthGraphQLError, vn as isAuthNetworkError, Mt as isBackendErrorDisplay, ee as isCapacitorNative, hs as isChordShortcut, X as isChunkLoadError, Ce as isDesktop, jn as isElectron, Mn as isIOS, Nn as isInstalledApp, ja as isMac, Ma as isMobileDevice, Pn as isNative, Fc as isNativeIAPAvailable, Nr as isQuotaExhaustedError, ha as isRybbitSkippedRoute, Be as isSameProductSlug, Pe as isSessionBridgePath, Cn as isSharedSsoCookieDomain, ut as isShellLessRoute, er as isSsoNavigationPending, Fn as isStandalonePWA, Na as isTabletDevice, mc as isTourVisibleForContext, Nt as isTransportError, wn as isTrustedSsoOrigin, Pr as isUpgradeError, In as isWeb, Ln as isWebBrowser, Tt as isWorkspaceContextChangedError, yt as isWorkspaceTokenValidForContext, Z as lazyWithRetry, Ve as legacyProductSlug, oc as listBuiltInTourRouteCatalogProductIds, Ms as listUnsavedChanges, fr as logManager, Pt as markConnectionHealthy, tr as markSsoDepositDone, nr as markSsoDepositPending, Pa as matchesKeyCombo, fs as mergeShortcuts, rr as mintSsoSessionTokens, Xr as nativeActionSheet, Zr as nativeConfirm, Qr as nativeCopyText, $r as nativeImpact, ei as nativeNotify, ti as nativeOpenUrl, ni as nativeSelection, ri as nativeShare, ii as nativeToast, C as nodeCategoryClasses, w as nodeCategoryColor, T as nodeCategorySubtleColor, E as nodeStateColor, D as nodeStateRingClasses, gs as normalizeChord, nt as normalizeDocsPath, Fa as normalizeKey, Ia as normalizePlatformCombo, He as normalizeProductSlug, hc as normalizeTourPath, we as onDesktopUpdateState, Te as onDesktopWindowState, Bn as openUrlInNewTabWithAllowlist, La as parseKeyCombo, G as pluralize, cn as prepareWorkspaceRequest, u as progressTokens, Sa as publishConsentBannerOffset, Ds as publishPlanUsageSnapshot, Ic as purchaseNativeProduct, Za as quotaEventKind, Ca as readAnalyticsConsent, wa as readAnalyticsConsentChoice, Et as readContextInputWorkspaceId, fi as readInitialNetworkStatus, ao as readRegistryDocsUrl, Tn as readShellSsoCookie, ir as readSsoDepositState, wi as recordPushPermissionPromptDismissed, yn as redirectToLogin, qn as redirectToSSO, pi as reduceNetworkStatus, Ee as registerDesktopNavigator, ki as registerPushDevice, Ti as registerPushOptInController, gc as registerTourRouteCatalog, Ns as registerUnsavedChange, Vn as replaceLocationWithAllowlist, $t as resetAppClients, jo as resolveActionSheetOutcome, Oc as resolveAppShellObservabilityConfig, Fe as resolveAuthBridgeConfig, rt as resolveDocsEnvironment, vr as resolveDocsOrigin, yr as resolveDocsUrl, De as resolveExternalGatewayUrls, Ae as resolveGatewayBases, Gt as resolveGatewayUrl, Oe as resolveGatewayUrls, vo as resolveLandingGate, br as resolveLegalPath, xr as resolveMarketingOrigin, Sr as resolveMarketingUrl, it as resolveProductDocsOrigin, Cr as resolveProductDomain, Qa as resolveQuotaUpgradeCopy, Ie as resolveShellAuthBridgeConfig, _c as resolveTourTargetPath, Lc as restoreNativePurchases, Lr as selectInlineBase64, Ta as setAnalyticsConsent, En as setSSoCookie, Dn as setShellSsoCookies, gr as setUserContext, ar as shouldAttemptSsoDeposit, Ra as shouldEnableKeyboardShortcuts, za as shouldIgnoreShortcut, Ei as shouldPromptForPushPermission, dt as shouldShowBreadcrumb, lo as shouldShowNativeWelcome, ft as shouldShowSidebar, Ft as shouldToastBackendError, Hr as skipToken, K as slugify, yo as startProductSwitchHandoff, d as statusTokens, po as stripProductSwitchHandoff, vc as subscribeTourRouteCatalogs, je as suppressConsole, Xe as toAlphaAppUrl, q as toCamelCase, Ze as toCurrentEstateAppUrl, O as toDataType, at as toEnvironmentDocsOrigin, k as toNodeCategory, J as toPascalCase, ot as toTrustedDocsOrigin, f as trendTokens, Y as truncateText, Ai as unregisterPushDevice, Ps as unsavedChangesBlocking, Mo as useActionSheet, Si as useActorProfiles, Ur as useApolloClient, Do as useAppState, ns as useAsync, rs as useAsyncImmediate, bc as useAutoStartTour, Bo as useBreakpoint, Qo as useConditionalToggle, e as useCopyToClipboard, As as useCurrentContextSearchParams, Lo as useDebounce, No as useDesktop, Po as useDesktopUpdateState, Fo as useDesktopWindowState, Oo as useDeviceInfo, dn as useEvent, fn as useEventBus, pn as useEventEmitter, Ko as useExclusiveMenu, Zi as useFeatureFlag, Qi as useFeatureFlagDetails, $i as useFeatureFlagValue, Yi as useFeatureFlags, tn as useGateway, nn as useGatewayClient, ko as useHaptics, ys as useHasAnimated, on as useHasAuthToken, ss as useHotkeys, ui as useInsideMainLandmark, Ws as useIsTourPlaying, Wo as useKeyPress, Go as useKeyboardShortcut, os as useKeyboardShortcuts, Wr as useLazyQuery, qo as useLocalStorage, vs as useLogger, Yr as useMediaQuery, va as useMicrofrontendContext, Vo as useMobileBreakpoint, Gr as useMutation, Eo as useNativeKeyboard, wo as useNativePlatform, mi as useNetworkStatus, Ho as useOnClickOutside, Uo as useOnClickOutsideWithRef, ea as useOptionalFeatureFlag, Xi as useOptionalFeatureFlags, Gi as usePWA, ts as usePagination, Xs as usePlayTour, Yo as usePrevious, Xo as usePreviousDistinct, Zo as usePreviousHistory, oo as useProductDocsOrigin, so as useProductDocsUrl, vi as usePullToRefresh, Ss as usePushDeviceRegistration, Kr as useQuery, $a as useQuotaDialogOwnership, Ts as useQuotaErrorToast, eo as useQuotaUpgradeBridge, xs as useRecordProductVisit, bs as useReferralAttribution, Tc as useRegisterTourRouteCatalog, sr as useRegistryHelpers, yi as useReturnFocus, To as useSafeArea, rn as useSafeGateway, an as useSafeGatewayClient, xc as useSafeToursContext, Jo as useSessionStorage, cr as useShellNavigate, cs as useShortcutHelp, Gs as useStartTour, Ao as useStatusBar, Ks as useStopTour, qr as useSubscription, Jr as useSuspenseQuery, Ro as useThrottle, $o as useToggle, es as useToggleObject, Bs as useTourPlayer, qs as useTourPlayerContext, Ec as useTourRouteCatalog, Sc as useTours, Cc as useToursContext, Fs as useUnsavedChanges, Os as useUpgradePrompt, bo as useVoiceInput, _s as withCommandChords, mo as withProductSwitchHandoff, to as withQuotaDialogOwnership, Ls as withTourProgressStatus };
|
package/dist/utils/index.js
CHANGED
|
@@ -11,9 +11,10 @@ import { assignLocationWithAllowlist as Ce, isAllowedRedirectUrl as we, openUrlI
|
|
|
11
11
|
import { SSO_DEPOSITED_PARAM as De, beginSsoNavigation as Oe, buildSsoDepositUrl as ke, clearSsoDepositState as Ae, clearSsoNavigation as je, consumeSsoDepositMarker as Me, isSsoNavigationPending as Ne, markSsoDepositDone as Pe, markSsoDepositPending as Fe, mintSsoSessionTokens as Ie, readSsoDepositState as Le, shouldAttemptSsoDeposit as Re } from "../shared/utils/ssoDeposit.js";
|
|
12
12
|
import { AppInitializer as ze, useRegistryHelpers as Be, useShellNavigate as Ve } from "../shared/utils/appHelpers.js";
|
|
13
13
|
import { clearUserContext as He, initializeLogger as Ue, setUserContext as We } from "../shared/utils/loggerInit.js";
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
14
|
+
import { MARKETING_LEGAL_PATHS as Ge, resolveDocsOrigin as Ke, resolveDocsUrl as qe, resolveLegalPath as Je, resolveMarketingOrigin as Ye, resolveMarketingUrl as Xe, resolveProductDomain as Ze } from "../shared/utils/productSiteLinks.js";
|
|
15
|
+
import { createProfileScopedStorage as Qe, getProfileScopedKey as $e } from "../shared/utils/profileScopedStorage.js";
|
|
16
|
+
import { QUOTA_EXHAUSTED_CODE as et, RESOURCE_CAP_EXCEEDED_CODE as tt, STORAGE_QUOTA_EXCEEDED_CODE as nt, UPGRADE_ERROR_CODES as rt, buildQuotaExhaustedMessage as it, extractQuotaExhaustedExtensions as at, extractUpgradeErrorExtensions as ot, isQuotaExhaustedError as st, isUpgradeError as ct } from "../shared/utils/quotaErrors.js";
|
|
17
|
+
import { INLINE_ENCODE as lt, downscaleImage as ut, selectInlineBase64 as dt } from "../shared/utils/imageDownscale.js";
|
|
17
18
|
import "../shared-utils.js";
|
|
18
|
-
import { cn as
|
|
19
|
-
export { ze as AppInitializer, ee as BACKEND_ERROR_EVENT, f as CHART_SERIES_COUNT, te as CONNECTION_STATUS_EVENT, p as DATA_TYPES, m as EDGE_KINDS,
|
|
19
|
+
import { cn as ft } from "./cn.js";
|
|
20
|
+
export { ze as AppInitializer, ee as BACKEND_ERROR_EVENT, f as CHART_SERIES_COUNT, te as CONNECTION_STATUS_EVENT, p as DATA_TYPES, m as EDGE_KINDS, lt as INLINE_ENCODE, Ge as MARKETING_LEGAL_PATHS, h as NODE_CATEGORIES, g as NODE_STATES, et as QUOTA_EXHAUSTED_CODE, tt as RESOURCE_CAP_EXCEEDED_CODE, De as SSO_DEPOSITED_PARAM, nt as STORAGE_QUOTA_EXCEEDED_CODE, rt as UPGRADE_ERROR_CODES, t as alertTokens, Ce as assignLocationWithAllowlist, le as attemptTokenRefresh, Oe as beginSsoNavigation, it as buildQuotaExhaustedMessage, ke as buildSsoDepositUrl, k as capitalizeFirst, A as capitalizeWords, n as categoryTokens, _ as chartSeriesColor, v as chartSeriesIndex, ue as clearAuthSessionStorage, he as clearSSoCookie, ge as clearShellSsoCookies, Ae as clearSsoDepositState, je as clearSsoNavigation, He as clearUserContext, ft as cn, Me as consumeSsoDepositMarker, e as createApolloClient, Qe as createProfileScopedStorage, y as dataTypeColor, b as dataTypeTextClasses, ne as dispatchBackendErrorEvent, ut as downscaleImage, x as edgeColor, re as extractBackendError, at as extractQuotaExhaustedExtensions, ot as extractUpgradeErrorExtensions, j as formatBytes, M as formatCompactNumber, N as formatCurrency, P as formatCurrencyCompact, F as formatDate, I as formatDateTime, L as formatDuration, R as formatList, z as formatNumber, B as formatOrdinal, V as formatPercentage, H as formatRelativeTime, U as formatTime, r as getAlertTokens, i as getCategoryTokens, $e as getProfileScopedKey, a as getProgressTokens, _e as getSSoCookie, o as getStatusBadgeTokens, s as getStatusTokens, c as getTrendTokens, de as hasAuthGraphQLErrors, Ue as initializeLogger, Z as installGatewayFetchRewrite, ie as isAbortError, we as isAllowedRedirectUrl, fe as isAuthGraphQLError, pe as isAuthNetworkError, ae as isBackendErrorDisplay, Y as isChunkLoadError, st as isQuotaExhaustedError, ve as isSharedSsoCookieDomain, Ne as isSsoNavigationPending, oe as isTransportError, ye as isTrustedSsoOrigin, ct as isUpgradeError, X as lazyWithRetry, se as markConnectionHealthy, Pe as markSsoDepositDone, Fe as markSsoDepositPending, Ie as mintSsoSessionTokens, S as nodeCategoryClasses, C as nodeCategoryColor, w as nodeCategorySubtleColor, T as nodeStateColor, E as nodeStateRingClasses, Te as openUrlInNewTabWithAllowlist, W as pluralize, l as progressTokens, be as readShellSsoCookie, Le as readSsoDepositState, me as redirectToLogin, Ee as replaceLocationWithAllowlist, Ke as resolveDocsOrigin, qe as resolveDocsUrl, Q as resolveGatewayBases, Je as resolveLegalPath, Ye as resolveMarketingOrigin, Xe as resolveMarketingUrl, Ze as resolveProductDomain, dt as selectInlineBase64, xe as setSSoCookie, Se as setShellSsoCookies, We as setUserContext, Re as shouldAttemptSsoDeposit, ce as shouldToastBackendError, G as slugify, u as statusTokens, $ as suppressConsole, K as toCamelCase, D as toDataType, O as toNodeCategory, q as toPascalCase, d as trendTokens, J as truncateText, Be as useRegistryHelpers, Ve as useShellNavigate };
|