@techdocs/cli 0.0.0-nightly-20261027023041 → 0.0.0-nightly-20261028022344

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @techdocs/cli
2
2
 
3
- ## 0.0.0-nightly-20261027023041
3
+ ## 0.0.0-nightly-20261028022344
4
4
 
5
5
  ### Minor Changes
6
6
 
@@ -11,14 +11,29 @@
11
11
  ### Patch Changes
12
12
 
13
13
  - Updated dependencies
14
- - @backstage/backend-defaults@0.0.0-nightly-20261027023041
15
- - @backstage/plugin-techdocs-node@0.0.0-nightly-20261027023041
16
- - @backstage/backend-plugin-api@1.11.0
14
+ - @backstage/backend-defaults@0.0.0-nightly-20261028022344
15
+ - @backstage/plugin-techdocs-node@0.0.0-nightly-20261028022344
16
+ - @backstage/backend-plugin-api@0.0.0-nightly-20261028022344
17
17
  - @backstage/catalog-model@1.10.2
18
18
  - @backstage/cli-common@0.3.2
19
19
  - @backstage/config@1.3.10
20
20
  - @backstage/errors@1.3.2
21
21
 
22
+ ## 1.14.0-next.0
23
+
24
+ ### Minor Changes
25
+
26
+ - a4604d2: Add Zensical support to `serve`, `serve:raw` and `generate` via `--engine zensical` (or the `backstage.io/techdocs-engine` annotation in `catalog-info.yaml`), including live reload in the preview app. The default `--docker-image` is now chosen per engine instead of always being `spotify/techdocs`, and matches the image the TechDocs backend uses for that engine, so MkDocs previews now use `spotify/techdocs:v1.2.8` instead of `latest`. Passing `--docker-image` explicitly behaves as before.
27
+
28
+ The `serve` flags `--mkdocs-port`, `--mkdocs-config-file-name` and `--mkdocs-parameter-*` are deprecated in favor of `--engine-port`, `--config-file-name` and `--parameter-*`. If both the old and new flag are given, the new one wins and the warning says the old one is ignored.
29
+
30
+ ### Patch Changes
31
+
32
+ - Updated dependencies
33
+ - @backstage/backend-defaults@0.18.2-next.0
34
+ - @backstage/plugin-techdocs-node@2.2.0-next.0
35
+ - @backstage/backend-plugin-api@1.11.1-next.0
36
+
22
37
  ## 1.13.0
23
38
 
24
39
  ### Minor Changes
@@ -1633,105 +1633,6 @@
1633
1633
  },
1634
1634
  "packageName": "@backstage/plugin-auth-backend-module-guest-provider"
1635
1635
  },
1636
- {
1637
- "path": "../backend-app-api/config.d.ts",
1638
- "value": {
1639
- "$schema": "http://json-schema.org/draft-07/schema#",
1640
- "type": "object",
1641
- "properties": {
1642
- "backend": {
1643
- "type": "object",
1644
- "properties": {
1645
- "packages": {
1646
- "anyOf": [
1647
- {
1648
- "type": "string",
1649
- "const": "all"
1650
- },
1651
- {
1652
- "type": "object",
1653
- "properties": {
1654
- "include": {
1655
- "type": "array",
1656
- "items": {
1657
- "type": "string"
1658
- }
1659
- },
1660
- "exclude": {
1661
- "type": "array",
1662
- "items": {
1663
- "type": "string"
1664
- }
1665
- }
1666
- }
1667
- }
1668
- ],
1669
- "description": "Used by the feature discovery service"
1670
- },
1671
- "startup": {
1672
- "type": "object",
1673
- "properties": {
1674
- "default": {
1675
- "type": "object",
1676
- "properties": {
1677
- "onPluginBootFailure": {
1678
- "type": "string",
1679
- "enum": [
1680
- "continue",
1681
- "abort"
1682
- ],
1683
- "description": "The default value for `onPluginBootFailure` if not specified for a particular plugin. This defaults to 'abort', which means `onPluginBootFailure: continue` must be specified for backend startup to continue on plugin boot failure. This can also be set to 'continue', which flips the logic for individual plugins so that they must be set to `onPluginBootFailure: abort` to be required."
1684
- },
1685
- "onPluginModuleBootFailure": {
1686
- "type": "string",
1687
- "enum": [
1688
- "continue",
1689
- "abort"
1690
- ],
1691
- "description": "The default value for `onPluginModuleBootFailure` if not specified for a particular plugin module. This defaults to 'abort', which means `onPluginModuleBootFailure: continue` must be specified for backend startup to continue on plugin module boot failure. This can also be set to 'continue', which flips the logic for individual plugin modules so that they must be set to `onPluginModuleBootFailure: abort` to be required."
1692
- }
1693
- }
1694
- },
1695
- "plugins": {
1696
- "type": "object",
1697
- "additionalProperties": {
1698
- "type": "object",
1699
- "properties": {
1700
- "onPluginBootFailure": {
1701
- "type": "string",
1702
- "enum": [
1703
- "continue",
1704
- "abort"
1705
- ],
1706
- "description": "Used to control backend startup behavior when this plugin fails to boot up. Setting this to `continue` allows the backend to continue starting up, even if this plugin fails. This can enable leaving a crashing plugin installed, but still permit backend startup, which may help troubleshoot data-dependent issues. Plugin failures for plugins set to `abort` are fatal (this is the default unless overridden by the `default` setting)."
1707
- },
1708
- "modules": {
1709
- "type": "object",
1710
- "additionalProperties": {
1711
- "type": "object",
1712
- "properties": {
1713
- "onPluginModuleBootFailure": {
1714
- "type": "string",
1715
- "enum": [
1716
- "continue",
1717
- "abort"
1718
- ],
1719
- "description": "Used to control backend startup behavior when this plugin module fails to boot up. Setting this to `continue` allows the backend to continue starting up, even if this plugin module fails. This can enable leaving a crashing plugin installed, but still permit backend startup, which may help troubleshoot data-dependent issues. Plugin module failures for plugin modules set to `abort` are fatal (this is the default unless overridden by the `default` setting)."
1720
- }
1721
- }
1722
- }
1723
- }
1724
- }
1725
- }
1726
- }
1727
- }
1728
- }
1729
- }
1730
- }
1731
- }
1732
- },
1733
- "packageName": "@backstage/backend-app-api"
1734
- },
1735
1636
  {
1736
1637
  "path": "../backend-defaults/config.d.ts",
1737
1638
  "value": {
@@ -4192,6 +4093,105 @@
4192
4093
  },
4193
4094
  "packageName": "@backstage/plugin-events-node"
4194
4095
  },
4096
+ {
4097
+ "path": "../backend-app-api/config.d.ts",
4098
+ "value": {
4099
+ "$schema": "http://json-schema.org/draft-07/schema#",
4100
+ "type": "object",
4101
+ "properties": {
4102
+ "backend": {
4103
+ "type": "object",
4104
+ "properties": {
4105
+ "packages": {
4106
+ "anyOf": [
4107
+ {
4108
+ "type": "string",
4109
+ "const": "all"
4110
+ },
4111
+ {
4112
+ "type": "object",
4113
+ "properties": {
4114
+ "include": {
4115
+ "type": "array",
4116
+ "items": {
4117
+ "type": "string"
4118
+ }
4119
+ },
4120
+ "exclude": {
4121
+ "type": "array",
4122
+ "items": {
4123
+ "type": "string"
4124
+ }
4125
+ }
4126
+ }
4127
+ }
4128
+ ],
4129
+ "description": "Used by the feature discovery service"
4130
+ },
4131
+ "startup": {
4132
+ "type": "object",
4133
+ "properties": {
4134
+ "default": {
4135
+ "type": "object",
4136
+ "properties": {
4137
+ "onPluginBootFailure": {
4138
+ "type": "string",
4139
+ "enum": [
4140
+ "continue",
4141
+ "abort"
4142
+ ],
4143
+ "description": "The default value for `onPluginBootFailure` if not specified for a particular plugin. This defaults to 'abort', which means `onPluginBootFailure: continue` must be specified for backend startup to continue on plugin boot failure. This can also be set to 'continue', which flips the logic for individual plugins so that they must be set to `onPluginBootFailure: abort` to be required."
4144
+ },
4145
+ "onPluginModuleBootFailure": {
4146
+ "type": "string",
4147
+ "enum": [
4148
+ "continue",
4149
+ "abort"
4150
+ ],
4151
+ "description": "The default value for `onPluginModuleBootFailure` if not specified for a particular plugin module. This defaults to 'abort', which means `onPluginModuleBootFailure: continue` must be specified for backend startup to continue on plugin module boot failure. This can also be set to 'continue', which flips the logic for individual plugin modules so that they must be set to `onPluginModuleBootFailure: abort` to be required."
4152
+ }
4153
+ }
4154
+ },
4155
+ "plugins": {
4156
+ "type": "object",
4157
+ "additionalProperties": {
4158
+ "type": "object",
4159
+ "properties": {
4160
+ "onPluginBootFailure": {
4161
+ "type": "string",
4162
+ "enum": [
4163
+ "continue",
4164
+ "abort"
4165
+ ],
4166
+ "description": "Used to control backend startup behavior when this plugin fails to boot up. Setting this to `continue` allows the backend to continue starting up, even if this plugin fails. This can enable leaving a crashing plugin installed, but still permit backend startup, which may help troubleshoot data-dependent issues. Plugin failures for plugins set to `abort` are fatal (this is the default unless overridden by the `default` setting)."
4167
+ },
4168
+ "modules": {
4169
+ "type": "object",
4170
+ "additionalProperties": {
4171
+ "type": "object",
4172
+ "properties": {
4173
+ "onPluginModuleBootFailure": {
4174
+ "type": "string",
4175
+ "enum": [
4176
+ "continue",
4177
+ "abort"
4178
+ ],
4179
+ "description": "Used to control backend startup behavior when this plugin module fails to boot up. Setting this to `continue` allows the backend to continue starting up, even if this plugin module fails. This can enable leaving a crashing plugin installed, but still permit backend startup, which may help troubleshoot data-dependent issues. Plugin module failures for plugin modules set to `abort` are fatal (this is the default unless overridden by the `default` setting)."
4180
+ }
4181
+ }
4182
+ }
4183
+ }
4184
+ }
4185
+ }
4186
+ }
4187
+ }
4188
+ }
4189
+ }
4190
+ }
4191
+ }
4192
+ },
4193
+ "packageName": "@backstage/backend-app-api"
4194
+ },
4195
4195
  {
4196
4196
  "path": "../../plugins/auth-backend-module-google-provider/config.d.ts",
4197
4197
  "value": {
@@ -1,4 +1,4 @@
1
- <!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="color-scheme" content="light dark"/><meta name="description" content="Backstage is an open source framework for building developer portals"/><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"/><link rel="icon" href="/favicon.ico"/><link rel="shortcut icon" href="/favicon.ico"/><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"/><link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"/><link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"/><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5"/><title>Techdocs Preview App</title><meta name="backstage-app-mode" content="public"><script defer="defer" src="/static/runtime.f28bc7c1d738.js"></script><script defer="defer" src="/static/module-react-aria.4e4d92cfdfed.js"></script><script defer="defer" src="/static/module-motion-dom.3c999f2a9b4e.js"></script><script defer="defer" src="/static/module-material-ui.b35df36d98d6.js"></script><script defer="defer" src="/static/module-lodash.26f0cc0617c0.js"></script><script defer="defer" src="/static/module-framer-motion.f34ff33a9d5f.js"></script><script defer="defer" src="/static/module-mui.9c07ad9e010f.js"></script><script defer="defer" src="/static/module-react-stately.dbcd4edbb271.js"></script><script defer="defer" src="/static/module-zod.410b00c4067e.js"></script><script defer="defer" src="/static/module-react-aria-components.27a8b47829ea.js"></script><script defer="defer" src="/static/module-micromark-core-commonmark.d049c8fc059e.js"></script><script defer="defer" src="/static/module-parse5.94980036c2b0.js"></script><script defer="defer" src="/static/module-react-dom.c631e87dd2a2.js"></script><script defer="defer" src="/static/module-i18next.c154323c180d.js"></script><script defer="defer" src="/static/module-remixicon.4e40b5b6bde1.js"></script><script defer="defer" src="/static/module-remix-run.32d1d7665115.js"></script><script defer="defer" src="/static/vendor.e2d917c57ed9.js"></script><script defer="defer" src="/static/main.7dc68125121e.js"></script><link href="/static/main.de8066da456c.css" rel="stylesheet"><script type="backstage.io/config">[
1
+ <!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="color-scheme" content="light dark"/><meta name="description" content="Backstage is an open source framework for building developer portals"/><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"/><link rel="icon" href="/favicon.ico"/><link rel="shortcut icon" href="/favicon.ico"/><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"/><link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"/><link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"/><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5"/><title>Techdocs Preview App</title><meta name="backstage-app-mode" content="public"><script defer="defer" src="/static/runtime.e08c082bdb69.js"></script><script defer="defer" src="/static/module-react-aria.4e4d92cfdfed.js"></script><script defer="defer" src="/static/module-motion-dom.3c999f2a9b4e.js"></script><script defer="defer" src="/static/module-material-ui.b35df36d98d6.js"></script><script defer="defer" src="/static/module-lodash.26f0cc0617c0.js"></script><script defer="defer" src="/static/module-framer-motion.f34ff33a9d5f.js"></script><script defer="defer" src="/static/module-mui.9c07ad9e010f.js"></script><script defer="defer" src="/static/module-react-stately.dbcd4edbb271.js"></script><script defer="defer" src="/static/module-zod.410b00c4067e.js"></script><script defer="defer" src="/static/module-react-aria-components.27a8b47829ea.js"></script><script defer="defer" src="/static/module-micromark-core-commonmark.d049c8fc059e.js"></script><script defer="defer" src="/static/module-parse5.94980036c2b0.js"></script><script defer="defer" src="/static/module-react-dom.c631e87dd2a2.js"></script><script defer="defer" src="/static/module-i18next.c154323c180d.js"></script><script defer="defer" src="/static/module-remixicon.4e40b5b6bde1.js"></script><script defer="defer" src="/static/module-remix-run.32d1d7665115.js"></script><script defer="defer" src="/static/vendor.e2d917c57ed9.js"></script><script defer="defer" src="/static/main.7dc68125121e.js"></script><link href="/static/main.de8066da456c.css" rel="stylesheet"><script type="backstage.io/config">[
2
2
  {
3
3
  "context": "app-config.yaml",
4
4
  "data": {
@@ -43,7 +43,7 @@
43
43
  color="#5bbad5"
44
44
  />
45
45
  <title><%= config.getString('app.title') %></title>
46
- <meta name="backstage-app-mode" content="public"><meta name="backstage-public-path" content="<%= publicPath %>/"><script defer src="<%= publicPath %>/static/runtime.f28bc7c1d738.js"></script><script defer src="<%= publicPath %>/static/module-react-aria.4e4d92cfdfed.js"></script><script defer src="<%= publicPath %>/static/module-motion-dom.3c999f2a9b4e.js"></script><script defer src="<%= publicPath %>/static/module-material-ui.b35df36d98d6.js"></script><script defer src="<%= publicPath %>/static/module-lodash.26f0cc0617c0.js"></script><script defer src="<%= publicPath %>/static/module-framer-motion.f34ff33a9d5f.js"></script><script defer src="<%= publicPath %>/static/module-mui.9c07ad9e010f.js"></script><script defer src="<%= publicPath %>/static/module-react-stately.dbcd4edbb271.js"></script><script defer src="<%= publicPath %>/static/module-zod.410b00c4067e.js"></script><script defer src="<%= publicPath %>/static/module-react-aria-components.27a8b47829ea.js"></script><script defer src="<%= publicPath %>/static/module-micromark-core-commonmark.d049c8fc059e.js"></script><script defer src="<%= publicPath %>/static/module-parse5.94980036c2b0.js"></script><script defer src="<%= publicPath %>/static/module-react-dom.c631e87dd2a2.js"></script><script defer src="<%= publicPath %>/static/module-i18next.c154323c180d.js"></script><script defer src="<%= publicPath %>/static/module-remixicon.4e40b5b6bde1.js"></script><script defer src="<%= publicPath %>/static/module-remix-run.32d1d7665115.js"></script><script defer src="<%= publicPath %>/static/vendor.e2d917c57ed9.js"></script><script defer src="<%= publicPath %>/static/main.7dc68125121e.js"></script><link href="<%= publicPath %>/static/main.de8066da456c.css" rel="stylesheet"></head>
46
+ <meta name="backstage-app-mode" content="public"><meta name="backstage-public-path" content="<%= publicPath %>/"><script defer src="<%= publicPath %>/static/runtime.e08c082bdb69.js"></script><script defer src="<%= publicPath %>/static/module-react-aria.4e4d92cfdfed.js"></script><script defer src="<%= publicPath %>/static/module-motion-dom.3c999f2a9b4e.js"></script><script defer src="<%= publicPath %>/static/module-material-ui.b35df36d98d6.js"></script><script defer src="<%= publicPath %>/static/module-lodash.26f0cc0617c0.js"></script><script defer src="<%= publicPath %>/static/module-framer-motion.f34ff33a9d5f.js"></script><script defer src="<%= publicPath %>/static/module-mui.9c07ad9e010f.js"></script><script defer src="<%= publicPath %>/static/module-react-stately.dbcd4edbb271.js"></script><script defer src="<%= publicPath %>/static/module-zod.410b00c4067e.js"></script><script defer src="<%= publicPath %>/static/module-react-aria-components.27a8b47829ea.js"></script><script defer src="<%= publicPath %>/static/module-micromark-core-commonmark.d049c8fc059e.js"></script><script defer src="<%= publicPath %>/static/module-parse5.94980036c2b0.js"></script><script defer src="<%= publicPath %>/static/module-react-dom.c631e87dd2a2.js"></script><script defer src="<%= publicPath %>/static/module-i18next.c154323c180d.js"></script><script defer src="<%= publicPath %>/static/module-remixicon.4e40b5b6bde1.js"></script><script defer src="<%= publicPath %>/static/module-remix-run.32d1d7665115.js"></script><script defer src="<%= publicPath %>/static/vendor.e2d917c57ed9.js"></script><script defer src="<%= publicPath %>/static/main.7dc68125121e.js"></script><link href="<%= publicPath %>/static/main.de8066da456c.css" rel="stylesheet"></head>
47
47
  <body>
48
48
  <noscript>You need to enable JavaScript to run this app.</noscript>
49
49
  <div id="root"></div>
@@ -1,2 +1,2 @@
1
- "use strict";(self.webpackChunktechdocs_cli_embedded_app=self.webpackChunktechdocs_cli_embedded_app||[]).push([["123"],{79894(a){a.exports=JSON.parse('{"name":"@backstage/plugin-catalog","version":"0.0.0-nightly-20261027023041","description":"The Backstage plugin for browsing the Backstage catalog","backstage":{"role":"frontend-plugin","pluginId":"catalog","pluginPackages":["@backstage/plugin-catalog","@backstage/plugin-catalog-backend","@backstage/plugin-catalog-common","@backstage/plugin-catalog-node","@backstage/plugin-catalog-react"]},"publishConfig":{"access":"public"},"keywords":["backstage"],"homepage":"https://backstage.io","repository":{"type":"git","url":"https://github.com/backstage/backstage","directory":"plugins/catalog"},"license":"Apache-2.0","sideEffects":false,"exports":{".":"./src/index.ts","./alpha":"./src/alpha/index.ts","./package.json":"./package.json"},"main":"src/index.ts","types":"src/index.ts","typesVersions":{"*":{"alpha":["src/alpha/index.ts"],"package.json":["package.json"]}},"files":["dist","config.d.ts"],"scripts":{"build":"backstage-cli package build","clean":"backstage-cli package clean","lint":"backstage-cli package lint","prepack":"backstage-cli package prepack","postpack":"backstage-cli package postpack","start":"backstage-cli package start","test":"backstage-cli package test"},"dependencies":{"@backstage/catalog-client":"workspace:*","@backstage/catalog-model":"workspace:*","@backstage/core-compat-api":"workspace:*","@backstage/core-components":"workspace:*","@backstage/core-plugin-api":"workspace:*","@backstage/errors":"workspace:*","@backstage/filter-predicates":"workspace:*","@backstage/frontend-plugin-api":"workspace:*","@backstage/integration-react":"workspace:*","@backstage/plugin-catalog-common":"workspace:*","@backstage/plugin-catalog-react":"workspace:*","@backstage/plugin-permission-react":"workspace:*","@backstage/plugin-scaffolder-common":"workspace:*","@backstage/plugin-search-common":"workspace:*","@backstage/plugin-search-react":"workspace:*","@backstage/plugin-techdocs-common":"workspace:*","@backstage/plugin-techdocs-react":"workspace:*","@backstage/types":"workspace:*","@backstage/ui":"workspace:*","@backstage/version-bridge":"workspace:*","@material-ui/core":"^4.12.2","@material-ui/icons":"^4.9.1","@material-ui/lab":"4.0.0-alpha.61","@mui/utils":"^5.14.15","@remixicon/react":"^4.6.0","classnames":"^2.3.1","csv-stringify":"^5.6.5","dataloader":"^2.0.0","lodash":"^4.17.21","pluralize":"^8.0.0","react-helmet":"6.1.0","react-use":"^17.2.4","zen-observable":"^0.10.0","zod":"^4.0.0"},"devDependencies":{"@backstage/cli":"workspace:*","@backstage/core-app-api":"workspace:*","@backstage/dev-utils":"workspace:*","@backstage/frontend-test-utils":"workspace:*","@backstage/plugin-permission-common":"workspace:*","@backstage/test-utils":"workspace:*","@testing-library/dom":"^10.0.0","@testing-library/jest-dom":"^6.0.0","@testing-library/react":"^16.0.0","@testing-library/user-event":"^14.0.0","@types/pluralize":"^0.0.33","@types/react":"^18.0.0","react":"^18.0.2","react-dom":"^18.0.2","react-router-dom":"^6.30.2","swr":"^2.2.5"},"peerDependencies":{"@types/react":"^17.0.0 || ^18.0.0","react":"^17.0.0 || ^18.0.0","react-dom":"^17.0.0 || ^18.0.0","react-router-dom":"^6.30.2"},"peerDependenciesMeta":{"@types/react":{"optional":true}},"configSchema":"config.d.ts"}')}}]);
2
- //# sourceMappingURL=123.a4dadbb04f8d.chunk.js.map
1
+ "use strict";(self.webpackChunktechdocs_cli_embedded_app=self.webpackChunktechdocs_cli_embedded_app||[]).push([["123"],{79894(a){a.exports=JSON.parse('{"name":"@backstage/plugin-catalog","version":"0.0.0-nightly-20261028022344","description":"The Backstage plugin for browsing the Backstage catalog","backstage":{"role":"frontend-plugin","pluginId":"catalog","pluginPackages":["@backstage/plugin-catalog","@backstage/plugin-catalog-backend","@backstage/plugin-catalog-common","@backstage/plugin-catalog-node","@backstage/plugin-catalog-react"]},"publishConfig":{"access":"public"},"keywords":["backstage"],"homepage":"https://backstage.io","repository":{"type":"git","url":"https://github.com/backstage/backstage","directory":"plugins/catalog"},"license":"Apache-2.0","sideEffects":false,"exports":{".":"./src/index.ts","./alpha":"./src/alpha/index.ts","./package.json":"./package.json"},"main":"src/index.ts","types":"src/index.ts","typesVersions":{"*":{"alpha":["src/alpha/index.ts"],"package.json":["package.json"]}},"files":["dist","config.d.ts"],"scripts":{"build":"backstage-cli package build","clean":"backstage-cli package clean","lint":"backstage-cli package lint","prepack":"backstage-cli package prepack","postpack":"backstage-cli package postpack","start":"backstage-cli package start","test":"backstage-cli package test"},"dependencies":{"@backstage/catalog-client":"workspace:*","@backstage/catalog-model":"workspace:*","@backstage/core-compat-api":"workspace:*","@backstage/core-components":"workspace:*","@backstage/core-plugin-api":"workspace:*","@backstage/errors":"workspace:*","@backstage/filter-predicates":"workspace:*","@backstage/frontend-plugin-api":"workspace:*","@backstage/integration-react":"workspace:*","@backstage/plugin-catalog-common":"workspace:*","@backstage/plugin-catalog-react":"workspace:*","@backstage/plugin-permission-react":"workspace:*","@backstage/plugin-scaffolder-common":"workspace:*","@backstage/plugin-search-common":"workspace:*","@backstage/plugin-search-react":"workspace:*","@backstage/plugin-techdocs-common":"workspace:*","@backstage/plugin-techdocs-react":"workspace:*","@backstage/types":"workspace:*","@backstage/ui":"workspace:*","@backstage/version-bridge":"workspace:*","@material-ui/core":"^4.12.2","@material-ui/icons":"^4.9.1","@material-ui/lab":"4.0.0-alpha.61","@mui/utils":"^5.14.15","@remixicon/react":"^4.6.0","classnames":"^2.3.1","csv-stringify":"^5.6.5","dataloader":"^2.0.0","lodash":"^4.17.21","pluralize":"^8.0.0","react-helmet":"6.1.0","react-use":"^17.2.4","zen-observable":"^0.10.0","zod":"^4.0.0"},"devDependencies":{"@backstage/cli":"workspace:*","@backstage/core-app-api":"workspace:*","@backstage/dev-utils":"workspace:*","@backstage/frontend-test-utils":"workspace:*","@backstage/plugin-permission-common":"workspace:*","@backstage/test-utils":"workspace:*","@testing-library/dom":"^10.0.0","@testing-library/jest-dom":"^6.0.0","@testing-library/react":"^16.0.0","@testing-library/user-event":"^14.0.0","@types/pluralize":"^0.0.33","@types/react":"^18.0.0","react":"^18.0.2","react-dom":"^18.0.2","react-router-dom":"^6.30.2","swr":"^2.2.5"},"peerDependencies":{"@types/react":"^17.0.0 || ^18.0.0","react":"^17.0.0 || ^18.0.0","react-dom":"^17.0.0 || ^18.0.0","react-router-dom":"^6.30.2"},"peerDependenciesMeta":{"@types/react":{"optional":true}},"configSchema":"config.d.ts"}')}}]);
2
+ //# sourceMappingURL=123.483ba5e8b3cb.chunk.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"static/123.a4dadbb04f8d.chunk.js","sources":["webpack://techdocs-cli-embedded-app/json|/home/runner/work/publishing/publishing/plugins/catalog/package.json"],"sourcesContent":["module.exports = JSON.parse('{\"name\":\"@backstage/plugin-catalog\",\"version\":\"0.0.0-nightly-20261027023041\",\"description\":\"The Backstage plugin for browsing the Backstage catalog\",\"backstage\":{\"role\":\"frontend-plugin\",\"pluginId\":\"catalog\",\"pluginPackages\":[\"@backstage/plugin-catalog\",\"@backstage/plugin-catalog-backend\",\"@backstage/plugin-catalog-common\",\"@backstage/plugin-catalog-node\",\"@backstage/plugin-catalog-react\"]},\"publishConfig\":{\"access\":\"public\"},\"keywords\":[\"backstage\"],\"homepage\":\"https://backstage.io\",\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/backstage/backstage\",\"directory\":\"plugins/catalog\"},\"license\":\"Apache-2.0\",\"sideEffects\":false,\"exports\":{\".\":\"./src/index.ts\",\"./alpha\":\"./src/alpha/index.ts\",\"./package.json\":\"./package.json\"},\"main\":\"src/index.ts\",\"types\":\"src/index.ts\",\"typesVersions\":{\"*\":{\"alpha\":[\"src/alpha/index.ts\"],\"package.json\":[\"package.json\"]}},\"files\":[\"dist\",\"config.d.ts\"],\"scripts\":{\"build\":\"backstage-cli package build\",\"clean\":\"backstage-cli package clean\",\"lint\":\"backstage-cli package lint\",\"prepack\":\"backstage-cli package prepack\",\"postpack\":\"backstage-cli package postpack\",\"start\":\"backstage-cli package start\",\"test\":\"backstage-cli package test\"},\"dependencies\":{\"@backstage/catalog-client\":\"workspace:*\",\"@backstage/catalog-model\":\"workspace:*\",\"@backstage/core-compat-api\":\"workspace:*\",\"@backstage/core-components\":\"workspace:*\",\"@backstage/core-plugin-api\":\"workspace:*\",\"@backstage/errors\":\"workspace:*\",\"@backstage/filter-predicates\":\"workspace:*\",\"@backstage/frontend-plugin-api\":\"workspace:*\",\"@backstage/integration-react\":\"workspace:*\",\"@backstage/plugin-catalog-common\":\"workspace:*\",\"@backstage/plugin-catalog-react\":\"workspace:*\",\"@backstage/plugin-permission-react\":\"workspace:*\",\"@backstage/plugin-scaffolder-common\":\"workspace:*\",\"@backstage/plugin-search-common\":\"workspace:*\",\"@backstage/plugin-search-react\":\"workspace:*\",\"@backstage/plugin-techdocs-common\":\"workspace:*\",\"@backstage/plugin-techdocs-react\":\"workspace:*\",\"@backstage/types\":\"workspace:*\",\"@backstage/ui\":\"workspace:*\",\"@backstage/version-bridge\":\"workspace:*\",\"@material-ui/core\":\"^4.12.2\",\"@material-ui/icons\":\"^4.9.1\",\"@material-ui/lab\":\"4.0.0-alpha.61\",\"@mui/utils\":\"^5.14.15\",\"@remixicon/react\":\"^4.6.0\",\"classnames\":\"^2.3.1\",\"csv-stringify\":\"^5.6.5\",\"dataloader\":\"^2.0.0\",\"lodash\":\"^4.17.21\",\"pluralize\":\"^8.0.0\",\"react-helmet\":\"6.1.0\",\"react-use\":\"^17.2.4\",\"zen-observable\":\"^0.10.0\",\"zod\":\"^4.0.0\"},\"devDependencies\":{\"@backstage/cli\":\"workspace:*\",\"@backstage/core-app-api\":\"workspace:*\",\"@backstage/dev-utils\":\"workspace:*\",\"@backstage/frontend-test-utils\":\"workspace:*\",\"@backstage/plugin-permission-common\":\"workspace:*\",\"@backstage/test-utils\":\"workspace:*\",\"@testing-library/dom\":\"^10.0.0\",\"@testing-library/jest-dom\":\"^6.0.0\",\"@testing-library/react\":\"^16.0.0\",\"@testing-library/user-event\":\"^14.0.0\",\"@types/pluralize\":\"^0.0.33\",\"@types/react\":\"^18.0.0\",\"react\":\"^18.0.2\",\"react-dom\":\"^18.0.2\",\"react-router-dom\":\"^6.30.2\",\"swr\":\"^2.2.5\"},\"peerDependencies\":{\"@types/react\":\"^17.0.0 || ^18.0.0\",\"react\":\"^17.0.0 || ^18.0.0\",\"react-dom\":\"^17.0.0 || ^18.0.0\",\"react-router-dom\":\"^6.30.2\"},\"peerDependenciesMeta\":{\"@types/react\":{\"optional\":true}},\"configSchema\":\"config.d.ts\"}')"],"names":["JSON"],"mappings":"iIAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,8oG"}
1
+ {"version":3,"file":"static/123.483ba5e8b3cb.chunk.js","sources":["webpack://techdocs-cli-embedded-app/json|/home/runner/work/publishing/publishing/plugins/catalog/package.json"],"sourcesContent":["module.exports = JSON.parse('{\"name\":\"@backstage/plugin-catalog\",\"version\":\"0.0.0-nightly-20261028022344\",\"description\":\"The Backstage plugin for browsing the Backstage catalog\",\"backstage\":{\"role\":\"frontend-plugin\",\"pluginId\":\"catalog\",\"pluginPackages\":[\"@backstage/plugin-catalog\",\"@backstage/plugin-catalog-backend\",\"@backstage/plugin-catalog-common\",\"@backstage/plugin-catalog-node\",\"@backstage/plugin-catalog-react\"]},\"publishConfig\":{\"access\":\"public\"},\"keywords\":[\"backstage\"],\"homepage\":\"https://backstage.io\",\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/backstage/backstage\",\"directory\":\"plugins/catalog\"},\"license\":\"Apache-2.0\",\"sideEffects\":false,\"exports\":{\".\":\"./src/index.ts\",\"./alpha\":\"./src/alpha/index.ts\",\"./package.json\":\"./package.json\"},\"main\":\"src/index.ts\",\"types\":\"src/index.ts\",\"typesVersions\":{\"*\":{\"alpha\":[\"src/alpha/index.ts\"],\"package.json\":[\"package.json\"]}},\"files\":[\"dist\",\"config.d.ts\"],\"scripts\":{\"build\":\"backstage-cli package build\",\"clean\":\"backstage-cli package clean\",\"lint\":\"backstage-cli package lint\",\"prepack\":\"backstage-cli package prepack\",\"postpack\":\"backstage-cli package postpack\",\"start\":\"backstage-cli package start\",\"test\":\"backstage-cli package test\"},\"dependencies\":{\"@backstage/catalog-client\":\"workspace:*\",\"@backstage/catalog-model\":\"workspace:*\",\"@backstage/core-compat-api\":\"workspace:*\",\"@backstage/core-components\":\"workspace:*\",\"@backstage/core-plugin-api\":\"workspace:*\",\"@backstage/errors\":\"workspace:*\",\"@backstage/filter-predicates\":\"workspace:*\",\"@backstage/frontend-plugin-api\":\"workspace:*\",\"@backstage/integration-react\":\"workspace:*\",\"@backstage/plugin-catalog-common\":\"workspace:*\",\"@backstage/plugin-catalog-react\":\"workspace:*\",\"@backstage/plugin-permission-react\":\"workspace:*\",\"@backstage/plugin-scaffolder-common\":\"workspace:*\",\"@backstage/plugin-search-common\":\"workspace:*\",\"@backstage/plugin-search-react\":\"workspace:*\",\"@backstage/plugin-techdocs-common\":\"workspace:*\",\"@backstage/plugin-techdocs-react\":\"workspace:*\",\"@backstage/types\":\"workspace:*\",\"@backstage/ui\":\"workspace:*\",\"@backstage/version-bridge\":\"workspace:*\",\"@material-ui/core\":\"^4.12.2\",\"@material-ui/icons\":\"^4.9.1\",\"@material-ui/lab\":\"4.0.0-alpha.61\",\"@mui/utils\":\"^5.14.15\",\"@remixicon/react\":\"^4.6.0\",\"classnames\":\"^2.3.1\",\"csv-stringify\":\"^5.6.5\",\"dataloader\":\"^2.0.0\",\"lodash\":\"^4.17.21\",\"pluralize\":\"^8.0.0\",\"react-helmet\":\"6.1.0\",\"react-use\":\"^17.2.4\",\"zen-observable\":\"^0.10.0\",\"zod\":\"^4.0.0\"},\"devDependencies\":{\"@backstage/cli\":\"workspace:*\",\"@backstage/core-app-api\":\"workspace:*\",\"@backstage/dev-utils\":\"workspace:*\",\"@backstage/frontend-test-utils\":\"workspace:*\",\"@backstage/plugin-permission-common\":\"workspace:*\",\"@backstage/test-utils\":\"workspace:*\",\"@testing-library/dom\":\"^10.0.0\",\"@testing-library/jest-dom\":\"^6.0.0\",\"@testing-library/react\":\"^16.0.0\",\"@testing-library/user-event\":\"^14.0.0\",\"@types/pluralize\":\"^0.0.33\",\"@types/react\":\"^18.0.0\",\"react\":\"^18.0.2\",\"react-dom\":\"^18.0.2\",\"react-router-dom\":\"^6.30.2\",\"swr\":\"^2.2.5\"},\"peerDependencies\":{\"@types/react\":\"^17.0.0 || ^18.0.0\",\"react\":\"^17.0.0 || ^18.0.0\",\"react-dom\":\"^17.0.0 || ^18.0.0\",\"react-router-dom\":\"^6.30.2\"},\"peerDependenciesMeta\":{\"@types/react\":{\"optional\":true}},\"configSchema\":\"config.d.ts\"}')"],"names":["JSON"],"mappings":"iIAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,8oG"}
@@ -1,2 +1,2 @@
1
- "use strict";(self.webpackChunktechdocs_cli_embedded_app=self.webpackChunktechdocs_cli_embedded_app||[]).push([["1659"],{23494(e){e.exports=JSON.parse('{"name":"@backstage/plugin-techdocs","version":"0.0.0-nightly-20261027023041","description":"The Backstage plugin that renders technical documentation for your components","backstage":{"role":"frontend-plugin","pluginId":"techdocs","pluginPackages":["@backstage/plugin-techdocs","@backstage/plugin-techdocs-backend","@backstage/plugin-techdocs-common","@backstage/plugin-techdocs-node","@backstage/plugin-techdocs-react"]},"publishConfig":{"access":"public"},"keywords":["backstage","techdocs"],"homepage":"https://backstage.io","repository":{"type":"git","url":"https://github.com/backstage/backstage","directory":"plugins/techdocs"},"license":"Apache-2.0","sideEffects":false,"exports":{".":"./src/index.ts","./alpha":"./src/alpha/index.tsx","./package.json":"./package.json"},"main":"src/index.ts","types":"src/index.ts","typesVersions":{"*":{"alpha":["src/alpha/index.tsx"],"package.json":["package.json"]}},"files":["dist","config.d.ts"],"scripts":{"build":"backstage-cli package build","clean":"backstage-cli package clean","lint":"backstage-cli package lint","prepack":"backstage-cli package prepack","postpack":"backstage-cli package postpack","start":"backstage-cli package start","test":"backstage-cli package test"},"dependencies":{"@backstage/catalog-client":"workspace:*","@backstage/catalog-model":"workspace:*","@backstage/config":"workspace:*","@backstage/core-components":"workspace:*","@backstage/core-plugin-api":"workspace:*","@backstage/errors":"workspace:*","@backstage/filter-predicates":"workspace:*","@backstage/frontend-plugin-api":"workspace:*","@backstage/integration":"workspace:*","@backstage/integration-react":"workspace:*","@backstage/plugin-auth-react":"workspace:*","@backstage/plugin-catalog-react":"workspace:*","@backstage/plugin-search-common":"workspace:*","@backstage/plugin-search-react":"workspace:*","@backstage/plugin-techdocs-common":"workspace:*","@backstage/plugin-techdocs-react":"workspace:*","@backstage/theme":"workspace:*","@backstage/ui":"workspace:*","@material-ui/core":"^4.12.2","@material-ui/icons":"^4.9.1","@material-ui/lab":"4.0.0-alpha.61","@material-ui/styles":"^4.10.0","@microsoft/fetch-event-source":"^2.0.1","@remixicon/react":">=4.6.0 <4.9.0","dompurify":"^3.4.12","git-url-parse":"^15.0.0","lodash":"^4.17.21","react-helmet":"6.1.0","react-use":"^17.2.4","zod":"^4.0.0"},"devDependencies":{"@backstage/cli":"workspace:*","@backstage/core-app-api":"workspace:*","@backstage/dev-utils":"workspace:*","@backstage/plugin-catalog":"workspace:*","@backstage/plugin-techdocs-module-addons-contrib":"workspace:*","@backstage/test-utils":"workspace:*","@testing-library/dom":"^10.0.0","@testing-library/jest-dom":"^6.0.0","@testing-library/react":"^16.0.0","@testing-library/user-event":"^14.0.0","@types/dompurify":"^3.0.0","@types/react":"^18.0.0","react":"^18.0.2","react-dom":"^18.0.2","react-router-dom":"^6.30.2"},"peerDependencies":{"@types/react":"^17.0.0 || ^18.0.0","react":"^17.0.0 || ^18.0.0","react-dom":"^17.0.0 || ^18.0.0","react-router-dom":"^6.30.2"},"peerDependenciesMeta":{"@types/react":{"optional":true}},"configSchema":"config.d.ts"}')}}]);
2
- //# sourceMappingURL=1659.222b6ec09d53.chunk.js.map
1
+ "use strict";(self.webpackChunktechdocs_cli_embedded_app=self.webpackChunktechdocs_cli_embedded_app||[]).push([["1659"],{23494(e){e.exports=JSON.parse('{"name":"@backstage/plugin-techdocs","version":"0.0.0-nightly-20261028022344","description":"The Backstage plugin that renders technical documentation for your components","backstage":{"role":"frontend-plugin","pluginId":"techdocs","pluginPackages":["@backstage/plugin-techdocs","@backstage/plugin-techdocs-backend","@backstage/plugin-techdocs-common","@backstage/plugin-techdocs-node","@backstage/plugin-techdocs-react"]},"publishConfig":{"access":"public"},"keywords":["backstage","techdocs"],"homepage":"https://backstage.io","repository":{"type":"git","url":"https://github.com/backstage/backstage","directory":"plugins/techdocs"},"license":"Apache-2.0","sideEffects":false,"exports":{".":"./src/index.ts","./alpha":"./src/alpha/index.tsx","./package.json":"./package.json"},"main":"src/index.ts","types":"src/index.ts","typesVersions":{"*":{"alpha":["src/alpha/index.tsx"],"package.json":["package.json"]}},"files":["dist","config.d.ts"],"scripts":{"build":"backstage-cli package build","clean":"backstage-cli package clean","lint":"backstage-cli package lint","prepack":"backstage-cli package prepack","postpack":"backstage-cli package postpack","start":"backstage-cli package start","test":"backstage-cli package test"},"dependencies":{"@backstage/catalog-client":"workspace:*","@backstage/catalog-model":"workspace:*","@backstage/config":"workspace:*","@backstage/core-components":"workspace:*","@backstage/core-plugin-api":"workspace:*","@backstage/errors":"workspace:*","@backstage/filter-predicates":"workspace:*","@backstage/frontend-plugin-api":"workspace:*","@backstage/integration":"workspace:*","@backstage/integration-react":"workspace:*","@backstage/plugin-auth-react":"workspace:*","@backstage/plugin-catalog-react":"workspace:*","@backstage/plugin-search-common":"workspace:*","@backstage/plugin-search-react":"workspace:*","@backstage/plugin-techdocs-common":"workspace:*","@backstage/plugin-techdocs-react":"workspace:*","@backstage/theme":"workspace:*","@backstage/ui":"workspace:*","@material-ui/core":"^4.12.2","@material-ui/icons":"^4.9.1","@material-ui/lab":"4.0.0-alpha.61","@material-ui/styles":"^4.10.0","@microsoft/fetch-event-source":"^2.0.1","@remixicon/react":">=4.6.0 <4.9.0","dompurify":"^3.4.12","git-url-parse":"^15.0.0","lodash":"^4.17.21","react-helmet":"6.1.0","react-use":"^17.2.4","zod":"^4.0.0"},"devDependencies":{"@backstage/cli":"workspace:*","@backstage/core-app-api":"workspace:*","@backstage/dev-utils":"workspace:*","@backstage/plugin-catalog":"workspace:*","@backstage/plugin-techdocs-module-addons-contrib":"workspace:*","@backstage/test-utils":"workspace:*","@testing-library/dom":"^10.0.0","@testing-library/jest-dom":"^6.0.0","@testing-library/react":"^16.0.0","@testing-library/user-event":"^14.0.0","@types/dompurify":"^3.0.0","@types/react":"^18.0.0","react":"^18.0.2","react-dom":"^18.0.2","react-router-dom":"^6.30.2"},"peerDependencies":{"@types/react":"^17.0.0 || ^18.0.0","react":"^17.0.0 || ^18.0.0","react-dom":"^17.0.0 || ^18.0.0","react-router-dom":"^6.30.2"},"peerDependenciesMeta":{"@types/react":{"optional":true}},"configSchema":"config.d.ts"}')}}]);
2
+ //# sourceMappingURL=1659.89ebece98606.chunk.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"static/1659.222b6ec09d53.chunk.js","sources":["webpack://techdocs-cli-embedded-app/json|/home/runner/work/publishing/publishing/plugins/techdocs/package.json"],"sourcesContent":["module.exports = JSON.parse('{\"name\":\"@backstage/plugin-techdocs\",\"version\":\"0.0.0-nightly-20261027023041\",\"description\":\"The Backstage plugin that renders technical documentation for your components\",\"backstage\":{\"role\":\"frontend-plugin\",\"pluginId\":\"techdocs\",\"pluginPackages\":[\"@backstage/plugin-techdocs\",\"@backstage/plugin-techdocs-backend\",\"@backstage/plugin-techdocs-common\",\"@backstage/plugin-techdocs-node\",\"@backstage/plugin-techdocs-react\"]},\"publishConfig\":{\"access\":\"public\"},\"keywords\":[\"backstage\",\"techdocs\"],\"homepage\":\"https://backstage.io\",\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/backstage/backstage\",\"directory\":\"plugins/techdocs\"},\"license\":\"Apache-2.0\",\"sideEffects\":false,\"exports\":{\".\":\"./src/index.ts\",\"./alpha\":\"./src/alpha/index.tsx\",\"./package.json\":\"./package.json\"},\"main\":\"src/index.ts\",\"types\":\"src/index.ts\",\"typesVersions\":{\"*\":{\"alpha\":[\"src/alpha/index.tsx\"],\"package.json\":[\"package.json\"]}},\"files\":[\"dist\",\"config.d.ts\"],\"scripts\":{\"build\":\"backstage-cli package build\",\"clean\":\"backstage-cli package clean\",\"lint\":\"backstage-cli package lint\",\"prepack\":\"backstage-cli package prepack\",\"postpack\":\"backstage-cli package postpack\",\"start\":\"backstage-cli package start\",\"test\":\"backstage-cli package test\"},\"dependencies\":{\"@backstage/catalog-client\":\"workspace:*\",\"@backstage/catalog-model\":\"workspace:*\",\"@backstage/config\":\"workspace:*\",\"@backstage/core-components\":\"workspace:*\",\"@backstage/core-plugin-api\":\"workspace:*\",\"@backstage/errors\":\"workspace:*\",\"@backstage/filter-predicates\":\"workspace:*\",\"@backstage/frontend-plugin-api\":\"workspace:*\",\"@backstage/integration\":\"workspace:*\",\"@backstage/integration-react\":\"workspace:*\",\"@backstage/plugin-auth-react\":\"workspace:*\",\"@backstage/plugin-catalog-react\":\"workspace:*\",\"@backstage/plugin-search-common\":\"workspace:*\",\"@backstage/plugin-search-react\":\"workspace:*\",\"@backstage/plugin-techdocs-common\":\"workspace:*\",\"@backstage/plugin-techdocs-react\":\"workspace:*\",\"@backstage/theme\":\"workspace:*\",\"@backstage/ui\":\"workspace:*\",\"@material-ui/core\":\"^4.12.2\",\"@material-ui/icons\":\"^4.9.1\",\"@material-ui/lab\":\"4.0.0-alpha.61\",\"@material-ui/styles\":\"^4.10.0\",\"@microsoft/fetch-event-source\":\"^2.0.1\",\"@remixicon/react\":\">=4.6.0 <4.9.0\",\"dompurify\":\"^3.4.12\",\"git-url-parse\":\"^15.0.0\",\"lodash\":\"^4.17.21\",\"react-helmet\":\"6.1.0\",\"react-use\":\"^17.2.4\",\"zod\":\"^4.0.0\"},\"devDependencies\":{\"@backstage/cli\":\"workspace:*\",\"@backstage/core-app-api\":\"workspace:*\",\"@backstage/dev-utils\":\"workspace:*\",\"@backstage/plugin-catalog\":\"workspace:*\",\"@backstage/plugin-techdocs-module-addons-contrib\":\"workspace:*\",\"@backstage/test-utils\":\"workspace:*\",\"@testing-library/dom\":\"^10.0.0\",\"@testing-library/jest-dom\":\"^6.0.0\",\"@testing-library/react\":\"^16.0.0\",\"@testing-library/user-event\":\"^14.0.0\",\"@types/dompurify\":\"^3.0.0\",\"@types/react\":\"^18.0.0\",\"react\":\"^18.0.2\",\"react-dom\":\"^18.0.2\",\"react-router-dom\":\"^6.30.2\"},\"peerDependencies\":{\"@types/react\":\"^17.0.0 || ^18.0.0\",\"react\":\"^17.0.0 || ^18.0.0\",\"react-dom\":\"^17.0.0 || ^18.0.0\",\"react-router-dom\":\"^6.30.2\"},\"peerDependenciesMeta\":{\"@types/react\":{\"optional\":true}},\"configSchema\":\"config.d.ts\"}')"],"names":["JSON"],"mappings":"kIAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,8iG"}
1
+ {"version":3,"file":"static/1659.89ebece98606.chunk.js","sources":["webpack://techdocs-cli-embedded-app/json|/home/runner/work/publishing/publishing/plugins/techdocs/package.json"],"sourcesContent":["module.exports = JSON.parse('{\"name\":\"@backstage/plugin-techdocs\",\"version\":\"0.0.0-nightly-20261028022344\",\"description\":\"The Backstage plugin that renders technical documentation for your components\",\"backstage\":{\"role\":\"frontend-plugin\",\"pluginId\":\"techdocs\",\"pluginPackages\":[\"@backstage/plugin-techdocs\",\"@backstage/plugin-techdocs-backend\",\"@backstage/plugin-techdocs-common\",\"@backstage/plugin-techdocs-node\",\"@backstage/plugin-techdocs-react\"]},\"publishConfig\":{\"access\":\"public\"},\"keywords\":[\"backstage\",\"techdocs\"],\"homepage\":\"https://backstage.io\",\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/backstage/backstage\",\"directory\":\"plugins/techdocs\"},\"license\":\"Apache-2.0\",\"sideEffects\":false,\"exports\":{\".\":\"./src/index.ts\",\"./alpha\":\"./src/alpha/index.tsx\",\"./package.json\":\"./package.json\"},\"main\":\"src/index.ts\",\"types\":\"src/index.ts\",\"typesVersions\":{\"*\":{\"alpha\":[\"src/alpha/index.tsx\"],\"package.json\":[\"package.json\"]}},\"files\":[\"dist\",\"config.d.ts\"],\"scripts\":{\"build\":\"backstage-cli package build\",\"clean\":\"backstage-cli package clean\",\"lint\":\"backstage-cli package lint\",\"prepack\":\"backstage-cli package prepack\",\"postpack\":\"backstage-cli package postpack\",\"start\":\"backstage-cli package start\",\"test\":\"backstage-cli package test\"},\"dependencies\":{\"@backstage/catalog-client\":\"workspace:*\",\"@backstage/catalog-model\":\"workspace:*\",\"@backstage/config\":\"workspace:*\",\"@backstage/core-components\":\"workspace:*\",\"@backstage/core-plugin-api\":\"workspace:*\",\"@backstage/errors\":\"workspace:*\",\"@backstage/filter-predicates\":\"workspace:*\",\"@backstage/frontend-plugin-api\":\"workspace:*\",\"@backstage/integration\":\"workspace:*\",\"@backstage/integration-react\":\"workspace:*\",\"@backstage/plugin-auth-react\":\"workspace:*\",\"@backstage/plugin-catalog-react\":\"workspace:*\",\"@backstage/plugin-search-common\":\"workspace:*\",\"@backstage/plugin-search-react\":\"workspace:*\",\"@backstage/plugin-techdocs-common\":\"workspace:*\",\"@backstage/plugin-techdocs-react\":\"workspace:*\",\"@backstage/theme\":\"workspace:*\",\"@backstage/ui\":\"workspace:*\",\"@material-ui/core\":\"^4.12.2\",\"@material-ui/icons\":\"^4.9.1\",\"@material-ui/lab\":\"4.0.0-alpha.61\",\"@material-ui/styles\":\"^4.10.0\",\"@microsoft/fetch-event-source\":\"^2.0.1\",\"@remixicon/react\":\">=4.6.0 <4.9.0\",\"dompurify\":\"^3.4.12\",\"git-url-parse\":\"^15.0.0\",\"lodash\":\"^4.17.21\",\"react-helmet\":\"6.1.0\",\"react-use\":\"^17.2.4\",\"zod\":\"^4.0.0\"},\"devDependencies\":{\"@backstage/cli\":\"workspace:*\",\"@backstage/core-app-api\":\"workspace:*\",\"@backstage/dev-utils\":\"workspace:*\",\"@backstage/plugin-catalog\":\"workspace:*\",\"@backstage/plugin-techdocs-module-addons-contrib\":\"workspace:*\",\"@backstage/test-utils\":\"workspace:*\",\"@testing-library/dom\":\"^10.0.0\",\"@testing-library/jest-dom\":\"^6.0.0\",\"@testing-library/react\":\"^16.0.0\",\"@testing-library/user-event\":\"^14.0.0\",\"@types/dompurify\":\"^3.0.0\",\"@types/react\":\"^18.0.0\",\"react\":\"^18.0.2\",\"react-dom\":\"^18.0.2\",\"react-router-dom\":\"^6.30.2\"},\"peerDependencies\":{\"@types/react\":\"^17.0.0 || ^18.0.0\",\"react\":\"^17.0.0 || ^18.0.0\",\"react-dom\":\"^17.0.0 || ^18.0.0\",\"react-router-dom\":\"^6.30.2\"},\"peerDependenciesMeta\":{\"@types/react\":{\"optional\":true}},\"configSchema\":\"config.d.ts\"}')"],"names":["JSON"],"mappings":"kIAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,8iG"}
@@ -1,2 +1,2 @@
1
- "use strict";(self.webpackChunktechdocs_cli_embedded_app=self.webpackChunktechdocs_cli_embedded_app||[]).push([["4587"],{20534(e){e.exports=JSON.parse('{"name":"@backstage/plugin-app","version":"0.0.0-nightly-20261027023041","backstage":{"role":"frontend-plugin","pluginId":"app","pluginPackages":["@backstage/plugin-app","@backstage/plugin-app-backend","@backstage/plugin-app-node","@backstage/plugin-app-react"]},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"https://github.com/backstage/backstage","directory":"plugins/app"},"license":"Apache-2.0","sideEffects":false,"exports":{".":"./src/index.ts","./alpha":"./src/alpha/index.ts","./package.json":"./package.json"},"main":"src/index.ts","types":"src/index.ts","typesVersions":{"*":{"alpha":["src/alpha/index.ts"],"package.json":["package.json"]}},"files":["dist"],"scripts":{"build":"backstage-cli package build","clean":"backstage-cli package clean","lint":"backstage-cli package lint","prepack":"backstage-cli package prepack","postpack":"backstage-cli package postpack","start":"backstage-cli package start","test":"backstage-cli package test"},"dependencies":{"@backstage/config":"workspace:*","@backstage/core-components":"workspace:*","@backstage/core-plugin-api":"workspace:*","@backstage/filter-predicates":"workspace:*","@backstage/frontend-plugin-api":"workspace:*","@backstage/integration-react":"workspace:*","@backstage/plugin-app-react":"workspace:*","@backstage/plugin-permission-react":"workspace:*","@backstage/theme":"workspace:*","@backstage/types":"workspace:*","@backstage/ui":"workspace:*","@backstage/version-bridge":"workspace:*","@material-ui/core":"^4.9.13","@material-ui/icons":"^4.9.1","@material-ui/lab":"^4.0.0-alpha.61","@react-hookz/web":"^24.0.0","@remixicon/react":">=4.6.0 <4.9.0","i18next":"^22.4.15","lodash":"^4.17.21","motion":"^12.0.0","prop-types":"^15.7.2","react-aria":"~3.53.0","react-stately":"~3.51.0","react-use":"^17.2.4","use-sync-external-store":"^1.4.0","zen-observable":"^0.10.0","zod":"^4.0.0"},"devDependencies":{"@backstage/cli":"workspace:*","@backstage/dev-utils":"workspace:*","@backstage/frontend-defaults":"workspace:*","@backstage/frontend-test-utils":"workspace:*","@backstage/test-utils":"workspace:*","@testing-library/dom":"^10.0.0","@testing-library/jest-dom":"^6.0.0","@testing-library/react":"^16.0.0","@testing-library/user-event":"^14.0.0","@types/react":"^18.0.0","react":"^18.0.2","react-dom":"^18.0.2","react-router-dom":"^6.30.2"},"peerDependencies":{"@types/react":"^17.0.0 || ^18.0.0","react":"^17.0.0 || ^18.0.0","react-dom":"^17.0.0 || ^18.0.0","react-router-dom":"^6.30.2"},"peerDependenciesMeta":{"@types/react":{"optional":true}}}')}}]);
2
- //# sourceMappingURL=4587.54e722dc7e9a.chunk.js.map
1
+ "use strict";(self.webpackChunktechdocs_cli_embedded_app=self.webpackChunktechdocs_cli_embedded_app||[]).push([["4587"],{20534(e){e.exports=JSON.parse('{"name":"@backstage/plugin-app","version":"0.0.0-nightly-20261028022344","backstage":{"role":"frontend-plugin","pluginId":"app","pluginPackages":["@backstage/plugin-app","@backstage/plugin-app-backend","@backstage/plugin-app-node","@backstage/plugin-app-react"]},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"https://github.com/backstage/backstage","directory":"plugins/app"},"license":"Apache-2.0","sideEffects":false,"exports":{".":"./src/index.ts","./alpha":"./src/alpha/index.ts","./package.json":"./package.json"},"main":"src/index.ts","types":"src/index.ts","typesVersions":{"*":{"alpha":["src/alpha/index.ts"],"package.json":["package.json"]}},"files":["dist"],"scripts":{"build":"backstage-cli package build","clean":"backstage-cli package clean","lint":"backstage-cli package lint","prepack":"backstage-cli package prepack","postpack":"backstage-cli package postpack","start":"backstage-cli package start","test":"backstage-cli package test"},"dependencies":{"@backstage/config":"workspace:*","@backstage/core-components":"workspace:*","@backstage/core-plugin-api":"workspace:*","@backstage/filter-predicates":"workspace:*","@backstage/frontend-plugin-api":"workspace:*","@backstage/integration-react":"workspace:*","@backstage/plugin-app-react":"workspace:*","@backstage/plugin-permission-react":"workspace:*","@backstage/theme":"workspace:*","@backstage/types":"workspace:*","@backstage/ui":"workspace:*","@backstage/version-bridge":"workspace:*","@material-ui/core":"^4.9.13","@material-ui/icons":"^4.9.1","@material-ui/lab":"^4.0.0-alpha.61","@react-hookz/web":"^24.0.0","@remixicon/react":">=4.6.0 <4.9.0","i18next":"^22.4.15","lodash":"^4.17.21","motion":"^12.0.0","prop-types":"^15.7.2","react-aria":"~3.53.0","react-stately":"~3.51.0","react-use":"^17.2.4","use-sync-external-store":"^1.4.0","zen-observable":"^0.10.0","zod":"^4.0.0"},"devDependencies":{"@backstage/cli":"workspace:*","@backstage/dev-utils":"workspace:*","@backstage/frontend-defaults":"workspace:*","@backstage/frontend-test-utils":"workspace:*","@backstage/test-utils":"workspace:*","@testing-library/dom":"^10.0.0","@testing-library/jest-dom":"^6.0.0","@testing-library/react":"^16.0.0","@testing-library/user-event":"^14.0.0","@types/react":"^18.0.0","react":"^18.0.2","react-dom":"^18.0.2","react-router-dom":"^6.30.2"},"peerDependencies":{"@types/react":"^17.0.0 || ^18.0.0","react":"^17.0.0 || ^18.0.0","react-dom":"^17.0.0 || ^18.0.0","react-router-dom":"^6.30.2"},"peerDependenciesMeta":{"@types/react":{"optional":true}}}')}}]);
2
+ //# sourceMappingURL=4587.80688c1b9461.chunk.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"static/4587.54e722dc7e9a.chunk.js","sources":["webpack://techdocs-cli-embedded-app/json|/home/runner/work/publishing/publishing/plugins/app/package.json"],"sourcesContent":["module.exports = JSON.parse('{\"name\":\"@backstage/plugin-app\",\"version\":\"0.0.0-nightly-20261027023041\",\"backstage\":{\"role\":\"frontend-plugin\",\"pluginId\":\"app\",\"pluginPackages\":[\"@backstage/plugin-app\",\"@backstage/plugin-app-backend\",\"@backstage/plugin-app-node\",\"@backstage/plugin-app-react\"]},\"publishConfig\":{\"access\":\"public\"},\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/backstage/backstage\",\"directory\":\"plugins/app\"},\"license\":\"Apache-2.0\",\"sideEffects\":false,\"exports\":{\".\":\"./src/index.ts\",\"./alpha\":\"./src/alpha/index.ts\",\"./package.json\":\"./package.json\"},\"main\":\"src/index.ts\",\"types\":\"src/index.ts\",\"typesVersions\":{\"*\":{\"alpha\":[\"src/alpha/index.ts\"],\"package.json\":[\"package.json\"]}},\"files\":[\"dist\"],\"scripts\":{\"build\":\"backstage-cli package build\",\"clean\":\"backstage-cli package clean\",\"lint\":\"backstage-cli package lint\",\"prepack\":\"backstage-cli package prepack\",\"postpack\":\"backstage-cli package postpack\",\"start\":\"backstage-cli package start\",\"test\":\"backstage-cli package test\"},\"dependencies\":{\"@backstage/config\":\"workspace:*\",\"@backstage/core-components\":\"workspace:*\",\"@backstage/core-plugin-api\":\"workspace:*\",\"@backstage/filter-predicates\":\"workspace:*\",\"@backstage/frontend-plugin-api\":\"workspace:*\",\"@backstage/integration-react\":\"workspace:*\",\"@backstage/plugin-app-react\":\"workspace:*\",\"@backstage/plugin-permission-react\":\"workspace:*\",\"@backstage/theme\":\"workspace:*\",\"@backstage/types\":\"workspace:*\",\"@backstage/ui\":\"workspace:*\",\"@backstage/version-bridge\":\"workspace:*\",\"@material-ui/core\":\"^4.9.13\",\"@material-ui/icons\":\"^4.9.1\",\"@material-ui/lab\":\"^4.0.0-alpha.61\",\"@react-hookz/web\":\"^24.0.0\",\"@remixicon/react\":\">=4.6.0 <4.9.0\",\"i18next\":\"^22.4.15\",\"lodash\":\"^4.17.21\",\"motion\":\"^12.0.0\",\"prop-types\":\"^15.7.2\",\"react-aria\":\"~3.53.0\",\"react-stately\":\"~3.51.0\",\"react-use\":\"^17.2.4\",\"use-sync-external-store\":\"^1.4.0\",\"zen-observable\":\"^0.10.0\",\"zod\":\"^4.0.0\"},\"devDependencies\":{\"@backstage/cli\":\"workspace:*\",\"@backstage/dev-utils\":\"workspace:*\",\"@backstage/frontend-defaults\":\"workspace:*\",\"@backstage/frontend-test-utils\":\"workspace:*\",\"@backstage/test-utils\":\"workspace:*\",\"@testing-library/dom\":\"^10.0.0\",\"@testing-library/jest-dom\":\"^6.0.0\",\"@testing-library/react\":\"^16.0.0\",\"@testing-library/user-event\":\"^14.0.0\",\"@types/react\":\"^18.0.0\",\"react\":\"^18.0.2\",\"react-dom\":\"^18.0.2\",\"react-router-dom\":\"^6.30.2\"},\"peerDependencies\":{\"@types/react\":\"^17.0.0 || ^18.0.0\",\"react\":\"^17.0.0 || ^18.0.0\",\"react-dom\":\"^17.0.0 || ^18.0.0\",\"react-router-dom\":\"^6.30.2\"},\"peerDependenciesMeta\":{\"@types/react\":{\"optional\":true}}}')"],"names":["JSON"],"mappings":"kIAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,8+E"}
1
+ {"version":3,"file":"static/4587.80688c1b9461.chunk.js","sources":["webpack://techdocs-cli-embedded-app/json|/home/runner/work/publishing/publishing/plugins/app/package.json"],"sourcesContent":["module.exports = JSON.parse('{\"name\":\"@backstage/plugin-app\",\"version\":\"0.0.0-nightly-20261028022344\",\"backstage\":{\"role\":\"frontend-plugin\",\"pluginId\":\"app\",\"pluginPackages\":[\"@backstage/plugin-app\",\"@backstage/plugin-app-backend\",\"@backstage/plugin-app-node\",\"@backstage/plugin-app-react\"]},\"publishConfig\":{\"access\":\"public\"},\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/backstage/backstage\",\"directory\":\"plugins/app\"},\"license\":\"Apache-2.0\",\"sideEffects\":false,\"exports\":{\".\":\"./src/index.ts\",\"./alpha\":\"./src/alpha/index.ts\",\"./package.json\":\"./package.json\"},\"main\":\"src/index.ts\",\"types\":\"src/index.ts\",\"typesVersions\":{\"*\":{\"alpha\":[\"src/alpha/index.ts\"],\"package.json\":[\"package.json\"]}},\"files\":[\"dist\"],\"scripts\":{\"build\":\"backstage-cli package build\",\"clean\":\"backstage-cli package clean\",\"lint\":\"backstage-cli package lint\",\"prepack\":\"backstage-cli package prepack\",\"postpack\":\"backstage-cli package postpack\",\"start\":\"backstage-cli package start\",\"test\":\"backstage-cli package test\"},\"dependencies\":{\"@backstage/config\":\"workspace:*\",\"@backstage/core-components\":\"workspace:*\",\"@backstage/core-plugin-api\":\"workspace:*\",\"@backstage/filter-predicates\":\"workspace:*\",\"@backstage/frontend-plugin-api\":\"workspace:*\",\"@backstage/integration-react\":\"workspace:*\",\"@backstage/plugin-app-react\":\"workspace:*\",\"@backstage/plugin-permission-react\":\"workspace:*\",\"@backstage/theme\":\"workspace:*\",\"@backstage/types\":\"workspace:*\",\"@backstage/ui\":\"workspace:*\",\"@backstage/version-bridge\":\"workspace:*\",\"@material-ui/core\":\"^4.9.13\",\"@material-ui/icons\":\"^4.9.1\",\"@material-ui/lab\":\"^4.0.0-alpha.61\",\"@react-hookz/web\":\"^24.0.0\",\"@remixicon/react\":\">=4.6.0 <4.9.0\",\"i18next\":\"^22.4.15\",\"lodash\":\"^4.17.21\",\"motion\":\"^12.0.0\",\"prop-types\":\"^15.7.2\",\"react-aria\":\"~3.53.0\",\"react-stately\":\"~3.51.0\",\"react-use\":\"^17.2.4\",\"use-sync-external-store\":\"^1.4.0\",\"zen-observable\":\"^0.10.0\",\"zod\":\"^4.0.0\"},\"devDependencies\":{\"@backstage/cli\":\"workspace:*\",\"@backstage/dev-utils\":\"workspace:*\",\"@backstage/frontend-defaults\":\"workspace:*\",\"@backstage/frontend-test-utils\":\"workspace:*\",\"@backstage/test-utils\":\"workspace:*\",\"@testing-library/dom\":\"^10.0.0\",\"@testing-library/jest-dom\":\"^6.0.0\",\"@testing-library/react\":\"^16.0.0\",\"@testing-library/user-event\":\"^14.0.0\",\"@types/react\":\"^18.0.0\",\"react\":\"^18.0.2\",\"react-dom\":\"^18.0.2\",\"react-router-dom\":\"^6.30.2\"},\"peerDependencies\":{\"@types/react\":\"^17.0.0 || ^18.0.0\",\"react\":\"^17.0.0 || ^18.0.0\",\"react-dom\":\"^17.0.0 || ^18.0.0\",\"react-router-dom\":\"^6.30.2\"},\"peerDependenciesMeta\":{\"@types/react\":{\"optional\":true}}}')"],"names":["JSON"],"mappings":"kIAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,8+E"}
@@ -524,8 +524,8 @@ ${N.reduce((t,a)=>{let r=e.typography.htmlFontSize??16,{lineHeight:n,fontFamily:
524
524
  ${P[e.palette.type].map(e=>`img[src$="${e}"]`).join(", ")} {
525
525
  display: none;
526
526
  }
527
- `],R=async(e,t)=>{let a;if("string"==typeof e)a=new DOMParser().parseFromString(e,"text/html").documentElement;else if(e instanceof Element)a=e;else throw Error("dom is not a recognized type");for(let e of t)a=await e(a);return a},B=(e,t,a)=>{let r=new URL(t,"https://ignored.com").pathname,n="src"===e&&r.endsWith(".svg"),i=!t.match(/^([a-z]*:)?\/\//i),o=t.startsWith(a);return n&&(i||o)};function $(e){let t=new URL(e);return t.pathname.endsWith("/")||t.pathname.endsWith(".html")||(t.pathname+="/"),t.toString()}var z=a(27326);function O(e,t){r.then(a=>{"createRoot"in a?a.createRoot(t).render(e):a.render(e,t)})}r=Promise.resolve().then(a.t.bind(a,25873,19));var H=a(87393),F=a(90292),M=a(52536),_=a.n(M),D=a(31085),K=a(58837),U=a(38097),Y=a(64947),V=a(89595),q=a(64009);let W=(0,K.A)(e=>({button:{color:e.palette.primary.light,textDecoration:"underline"}})),G=({message:e,handleButtonClick:t,autoHideDuration:a})=>{let r=W(),[i,o]=(0,n.useState)(!0),{t:l}=(0,V.i)(q.M),s=()=>o(!1);return(0,D.jsx)(U.A,{open:i,anchorOrigin:{vertical:"top",horizontal:"right"},autoHideDuration:a,color:"primary",onClose:s,message:e,action:(0,D.jsx)(Y.A,{classes:{root:r.button},size:"small",onClick:()=>{s(),t()},children:l("redirectNotification.redirectNow")})})};var Q=a(50868),Z=a(10437),X=a(71677),J=a(7031),ee=a(29365),et=a(11688);let ea=(0,J.A)(e=>({tooltip:{fontSize:"inherit",color:e.palette.text.primary,margin:0,padding:e.spacing(.5),backgroundColor:"transparent",boxShadow:"none"}}))(X.Ay),er=()=>(0,D.jsx)(Z.A,{children:(0,D.jsx)("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"})}),en=({text:e})=>{let[t,a]=(0,n.useState)(!1),[,r]=(0,et.A)(),i=(0,n.useCallback)(()=>{r(e),a(!0)},[e,r]),o=(0,n.useCallback)(()=>{a(!1)},[a]);return(0,D.jsx)(ea,{title:"Copied to clipboard",placement:"left",open:t,onClose:o,leaveDelay:1e3,children:(0,D.jsx)(ee.A,{style:{position:"absolute",top:"0.5rem",right:"0.5rem"},className:"md-clipboard md-icon",onClick:i,"aria-label":"Copy to clipboard",children:(0,D.jsx)(er,{})})})},ei=({onLoading:e,onLoaded:t})=>a=>(e(),a.addEventListener(l.K$,function e(){t(),a.removeEventListener(l.K$,e)}),a);function eo(e){let{defaultPath:t,onReady:a,withFeedbackLink:r}=e,{entityMetadata:{value:b,loading:x},entityRef:j,setShadowRoot:C}=(0,o.V)(),{state:E}=(0,v.wz)(),N=((e,t)=>{let a,r,o,s,c,b,x,j,{defaultPath:C,withFeedbackLink:E=!0}=t??{},N=(a=(0,n.useRef)((0,i.useNavigate)()),r=(0,m.gf)(h.U).getOptionalString("app.baseUrl"),(0,n.useCallback)(e=>{let t=e;if(r)try{let a,n,i,o;a=new URL(r),n=`${a.origin}${a.pathname.replace(/\/$/,"")}`,i=e.replace(n,"").replace(/^\/+/,""),o=new URL(`http://localhost/${i}`),t=`${o.pathname}${o.search}${o.hash}`}catch(e){}a.current(t)},[r])),L=(0,u.A)(),T=(0,d.A)("screen and (max-width: 76.1875em)"),P=(o=(0,m.gf)(h.U),s=(0,n.useMemo)(()=>o.getOptionalConfig("techdocs.sanitizer"),[o]),c=(0,n.useMemo)(()=>{let e=(0,y.A)();e.addHook("beforeSanitizeElements",w);let t=s?.getOptionalStringArray("allowedIframeHosts");return t&&e.addHook("beforeSanitizeElements",e=>{e.nodeType===Node.ELEMENT_NODE&&("IFRAME"!==e.nodeName||((e,t)=>{let a=e.getAttribute("src")||"";try{let{host:e}=new URL(a);return t.includes(e)}catch{return!1}})(e,t)||e.remove())}),e.addHook("uponSanitizeElement",A),e.addHook("uponSanitizeAttribute",k),e},[s]),(0,n.useCallback)(async e=>{let t=s?.getOptionalStringArray("allowedIframeHosts"),a=["link","meta"];t&&a.push("iframe");let r=s?.getOptionalString("allowedCustomElementTagNameRegExp"),n=s?.getOptionalString("allowedCustomElementAttributeNameRegExp"),i=["callto","cid","ftp","ftps","http","https","mailto","matrix","sms","tel","xmpp",...s?.getOptionalStringArray("additionalAllowedURIProtocols")||[]].filter(Boolean),o=RegExp(`^(?:${i.join("|")}:|[^a-z]|[a-z+.-]+(?:[^a-z+.\\-:]|$))`,"i");return c.sanitize(e.outerHTML,{ADD_TAGS:a,FORBID_TAGS:["style"],ADD_ATTR:["http-equiv","content","dominant-baseline"],WHOLE_DOCUMENT:!0,RETURN_DOM:!0,ALLOWED_URI_REGEXP:o,CUSTOM_ELEMENT_HANDLING:{tagNameCheck:r?new RegExp(r):void 0,attributeNameCheck:n?new RegExp(n):void 0}})},[s,c])),M=(b=(0,S.Ut)(),x=(0,u.A)(),j=(0,n.useMemo)(()=>{let e={theme:x,sidebar:b};return I.reduce((t,a)=>t+a(e),"")},[x,b]),(0,n.useCallback)(e=>(e.getElementsByTagName("head")[0].insertAdjacentHTML("beforeend",`<style>${j}</style>`),e),[j])),K=(0,p.s)(),U=(0,m.gf)(f.s),Y=(0,m.gf)(g.Y),V=(0,m.gf)(h.U),{state:q,path:W,content:Z}=(0,v.wz)(),{"*":X=""}=(0,i.useParams)(),[J,ee]=(0,n.useState)(null),et=(0,l._$)(J);(e=>{let t=(0,i.useLocation)(),a=(0,i.useNavigate)(),{"*":r=""}=(0,i.useParams)();(0,n.useLayoutEffect)(()=>{""===r&&e&&a(`${t.pathname}${e}`,{replace:!0})},[])})(C);let ea=(0,n.useCallback)(()=>{J&&J.querySelectorAll(".md-sidebar").forEach(e=>{if(T)e.style.top="0px";else{let t=document?.querySelector(".techdocs-reader-page"),a=t?.getBoundingClientRect().top??0,r=J.getBoundingClientRect().top??0,n=J.querySelector(".md-container > .md-tabs"),i=n?.getBoundingClientRect().height??0;r<a&&(r=a);let o=Math.max(r,0)+i;e.style.top=`${o}px`;let l=J.querySelector(".md-container > .md-footer"),s=l?.getBoundingClientRect().top??window.innerHeight;e.style.height=`${s-o}px`}e.style.setProperty("opacity","1")})},[J,T]);(0,n.useEffect)(()=>(window.addEventListener("resize",ea),window.addEventListener("scroll",ea,!0),()=>{window.removeEventListener("resize",ea),window.removeEventListener("scroll",ea,!0)}),[J,ea]);let er=(0,n.useCallback)(()=>{if(!J)return;let e=J.querySelector(".md-footer");e&&(e.style.width=`${J.getBoundingClientRect().width}px`)},[J]);(0,n.useEffect)(()=>(window.addEventListener("resize",er),()=>{window.removeEventListener("resize",er)}),[J,er]),(0,n.useEffect)(()=>{et||(er(),ea())},[q,et,er,ea]);let eo=(0,n.useCallback)((t,a)=>R(t,[P,(({techdocsStorageApi:e,entityId:t,path:a})=>async r=>{let n=await e.getApiOrigin(),i=async(r,i)=>{for(let o of r)if(o.hasAttribute(i)){let r=o.getAttribute(i);if(!r)return;let l=await e.getBaseUrl(r,t,a);if(B(i,r,n))try{let e=await fetch(l,{credentials:"include"}),t=await e.text();o.setAttribute(i,`data:image/svg+xml;base64,${btoa(unescape(encodeURIComponent(t)))}`)}catch(e){o.setAttribute("alt",`Error: ${r}`)}else o.setAttribute(i,l)}};return await Promise.all([i(r.querySelectorAll("img"),"src"),i(r.querySelectorAll("script"),"src"),i(r.querySelectorAll("source"),"src"),i(r.querySelectorAll("link"),"href"),i(r.querySelectorAll("a[download]"),"href")]),r})({techdocsStorageApi:U,entityId:e,path:a}),e=>{var t,a;return t=Array.from(e.getElementsByTagName("a")),a="href",Array.from(t).filter(e=>e.hasAttribute(a)).forEach(e=>{let t=e.getAttribute(a);if(t){t.match(/^https?:\/\//i)&&e.setAttribute("target","_blank");try{let r=$(window.location.href);e.setAttribute(a,new URL(t,r).toString())}catch(a){e.replaceWith(e.textContent||t)}}}),e},e=>{let t=e.querySelector('.md-header label[for="__drawer"]'),a=e.querySelector("article");if(!t||!a)return e;let r=t.cloneNode();return O((0,n.createElement)(z.default),r),r.id="toggle-sidebar",r.title="Toggle Sidebar",r.classList.add("md-content__button"),r.style.setProperty("padding","0 0 0 5px"),r.style.setProperty("margin","0.4rem 0 0.4rem 0.4rem"),a?.prepend(r),e},e=>(e.querySelector(".md-header")?.remove(),e),e=>(e.querySelector(".md-footer .md-copyright")?.remove(),e.querySelector(".md-footer-copyright")?.remove(),e),...E?[e=>{let t=e.querySelector('[title="Edit this page"]');if(!t||!t.href)return e;let a=new URL(t.href),r=Y.byUrl(a);if(r?.type!=="github"&&r?.type!=="gitlab")return e;let i=e.querySelector("article>h1")?.childNodes[0].textContent||"",o=encodeURIComponent(`Documentation Feedback: ${i}`),l=encodeURIComponent(`Page source:
527
+ `],R=async(e,t)=>{let a;if("string"==typeof e)a=new DOMParser().parseFromString(e,"text/html").documentElement;else if(e instanceof Element)a=e;else throw Error("dom is not a recognized type");for(let e of t)a=await e(a);return a},B=(e,t,a)=>{let r=new URL(t,"https://ignored.com").pathname,n="src"===e&&r.endsWith(".svg"),i=!t.match(/^([a-z]*:)?\/\//i),o=t.startsWith(a);return n&&(i||o)};function $(e){let t=new URL(e);return t.pathname.endsWith("/")||t.pathname.endsWith(".html")||(t.pathname+="/"),t.toString()}var z=a(27326);function O(e,t){r.then(a=>{"createRoot"in a?a.createRoot(t).render(e):a.render(e,t)})}r=Promise.resolve().then(a.t.bind(a,25873,19));var H=a(87393),F=a(90292),M=a(52536),_=a.n(M),D=a(31085),K=a(58837),U=a(38097),Y=a(64947),V=a(89595),q=a(64009);let W=(0,K.A)(e=>({button:{color:e.palette.primary.light,textDecoration:"underline"}})),G=({message:e,handleButtonClick:t,autoHideDuration:a})=>{let r=W(),[i,o]=(0,n.useState)(!0),{t:l}=(0,V.i)(q.M),s=()=>o(!1);return(0,D.jsx)(U.A,{open:i,anchorOrigin:{vertical:"top",horizontal:"right"},autoHideDuration:a,color:"primary",onClose:s,message:e,action:(0,D.jsx)(Y.A,{classes:{root:r.button},size:"small",onClick:()=>{s(),t()},children:l("redirectNotification.redirectNow")})})};var Q=a(50868),Z=a(10437),X=a(71677),J=a(7031),ee=a(29365),et=a(11688);let ea=(0,J.A)(e=>({tooltip:{fontSize:"inherit",color:e.palette.text.primary,margin:0,padding:e.spacing(.5),backgroundColor:"transparent",boxShadow:"none"}}))(X.Ay),er=()=>(0,D.jsx)(Z.A,{children:(0,D.jsx)("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"})}),en=({text:e})=>{let[t,a]=(0,n.useState)(!1),[,r]=(0,et.A)(),i=(0,n.useCallback)(()=>{r(e),a(!0)},[e,r]),o=(0,n.useCallback)(()=>{a(!1)},[a]);return(0,D.jsx)(ea,{title:"Copied to clipboard",placement:"left",open:t,onClose:o,leaveDelay:1e3,children:(0,D.jsx)(ee.A,{style:{position:"absolute",top:"0.5rem",right:"0.5rem"},className:"md-clipboard md-icon",onClick:i,"aria-label":"Copy to clipboard",children:(0,D.jsx)(er,{})})})},ei=({onLoading:e,onLoaded:t})=>a=>(e(),a.addEventListener(l.K$,function e(){t(),a.removeEventListener(l.K$,e)}),a);function eo(e){let{defaultPath:t,onReady:a,withFeedbackLink:r}=e,{entityMetadata:{value:b,loading:x},entityRef:j,setShadowRoot:C}=(0,o.V)(),{state:E}=(0,v.wz)(),N=((e,t)=>{let a,r,o,s,c,b,x,j,{defaultPath:C,withFeedbackLink:E=!0}=t??{},N=(a=(0,n.useRef)((0,i.useNavigate)()),r=(0,m.gf)(h.U).getOptionalString("app.baseUrl"),(0,n.useCallback)(e=>{let t=e;if(r)try{let a,n,i,o;a=new URL(r),n=`${a.origin}${a.pathname.replace(/\/$/,"")}`,i=e.replace(n,"").replace(/^\/+/,""),o=new URL(`http://localhost/${i}`),t=`${o.pathname}${o.search}${o.hash}`}catch(e){}a.current(t)},[r])),L=(0,u.A)(),T=(0,d.A)("screen and (max-width: 76.1875em)"),P=(o=(0,m.gf)(h.U),s=(0,n.useMemo)(()=>o.getOptionalConfig("techdocs.sanitizer"),[o]),c=(0,n.useMemo)(()=>{let e=(0,y.A)();e.addHook("beforeSanitizeElements",w);let t=s?.getOptionalStringArray("allowedIframeHosts");return t&&e.addHook("beforeSanitizeElements",e=>{e.nodeType===Node.ELEMENT_NODE&&("IFRAME"!==e.nodeName||((e,t)=>{let a=e.getAttribute("src")||"";try{let{host:e}=new URL(a);return t.includes(e)}catch{return!1}})(e,t)||e.remove())}),e.addHook("uponSanitizeElement",A),e.addHook("uponSanitizeAttribute",k),e},[s]),(0,n.useCallback)(async e=>{let t=s?.getOptionalStringArray("allowedIframeHosts"),a=["link","meta"];t&&a.push("iframe");let r=s?.getOptionalString("allowedCustomElementTagNameRegExp"),n=s?.getOptionalString("allowedCustomElementAttributeNameRegExp"),i=["callto","cid","ftp","ftps","http","https","mailto","matrix","sms","tel","xmpp",...s?.getOptionalStringArray("additionalAllowedURIProtocols")||[]].filter(Boolean),o=RegExp(`^(?:${i.join("|")}:|[^a-z]|[a-z+.-]+(?:[^a-z+.\\-:]|$))`,"i");return c.sanitize(e.outerHTML,{ADD_TAGS:a,FORBID_TAGS:["style"],ADD_ATTR:["http-equiv","content","dominant-baseline"],WHOLE_DOCUMENT:!0,RETURN_DOM:!0,ALLOWED_URI_REGEXP:o,CUSTOM_ELEMENT_HANDLING:{tagNameCheck:r?new RegExp(r):void 0,attributeNameCheck:n?new RegExp(n):void 0}})},[s,c])),M=(b=(0,S.Ut)(),x=(0,u.A)(),j=(0,n.useMemo)(()=>{let e={theme:x,sidebar:b};return I.reduce((t,a)=>t+a(e),"")},[x,b]),(0,n.useCallback)(e=>(e.getElementsByTagName("head")[0].insertAdjacentHTML("beforeend",`<style>${j}</style>`),e),[j])),K=(0,p.s)(),U=(0,m.gf)(f.s),Y=(0,m.gf)(g.Y),V=(0,m.gf)(h.U),{state:q,path:W,content:Z}=(0,v.wz)(),{"*":X=""}=(0,i.useParams)(),[J,ee]=(0,n.useState)(null),et=(0,l._$)(J);(e=>{let t=(0,i.useLocation)(),a=(0,i.useNavigate)(),{"*":r=""}=(0,i.useParams)();(0,n.useLayoutEffect)(()=>{""===r&&e&&a(`${t.pathname}${e}`,{replace:!0})},[])})(C);let ea=(0,n.useCallback)(()=>{J&&J.querySelectorAll(".md-sidebar").forEach(e=>{if(T)e.style.top="0px";else{let a=document?.querySelector(".techdocs-reader-page"),r=a?.getBoundingClientRect().top??0,n=J.getBoundingClientRect().top??0,i=J.querySelector(".md-container > .md-tabs"),o=i?.getBoundingClientRect().height??0;n<r&&(n=r);let l=Math.max(n,0)+o;e.style.top=`${l}px`;let s=J.querySelector(".md-container > .md-footer"),c=s?.getBoundingClientRect().top??window.innerHeight;if(e.style.height=`${c-l}px`,e.classList.contains("md-sidebar--secondary")){var t;let a=(t=L.spacing(3),Math.max(t,document.documentElement.clientWidth-J.getBoundingClientRect().right));e.style.right=`${a}px`}}e.style.setProperty("opacity","1")})},[J,T,L]);(0,n.useEffect)(()=>(window.addEventListener("resize",ea),window.addEventListener("scroll",ea,!0),()=>{window.removeEventListener("resize",ea),window.removeEventListener("scroll",ea,!0)}),[J,ea]);let er=(0,n.useCallback)(()=>{if(!J)return;let e=J.querySelector(".md-footer");e&&(e.style.width=`${J.getBoundingClientRect().width}px`)},[J]);(0,n.useEffect)(()=>(window.addEventListener("resize",er),()=>{window.removeEventListener("resize",er)}),[J,er]),(0,n.useEffect)(()=>{et||(er(),ea())},[q,et,er,ea]);let eo=(0,n.useCallback)((t,a)=>R(t,[P,(({techdocsStorageApi:e,entityId:t,path:a})=>async r=>{let n=await e.getApiOrigin(),i=async(r,i)=>{for(let o of r)if(o.hasAttribute(i)){let r=o.getAttribute(i);if(!r)return;let l=await e.getBaseUrl(r,t,a);if(B(i,r,n))try{let e=await fetch(l,{credentials:"include"}),t=await e.text();o.setAttribute(i,`data:image/svg+xml;base64,${btoa(unescape(encodeURIComponent(t)))}`)}catch(e){o.setAttribute("alt",`Error: ${r}`)}else o.setAttribute(i,l)}};return await Promise.all([i(r.querySelectorAll("img"),"src"),i(r.querySelectorAll("script"),"src"),i(r.querySelectorAll("source"),"src"),i(r.querySelectorAll("link"),"href"),i(r.querySelectorAll("a[download]"),"href")]),r})({techdocsStorageApi:U,entityId:e,path:a}),e=>{var t,a;return t=Array.from(e.getElementsByTagName("a")),a="href",Array.from(t).filter(e=>e.hasAttribute(a)).forEach(e=>{let t=e.getAttribute(a);if(t){t.match(/^https?:\/\//i)&&e.setAttribute("target","_blank");try{let r=$(window.location.href);e.setAttribute(a,new URL(t,r).toString())}catch(a){e.replaceWith(e.textContent||t)}}}),e},e=>{let t=e.querySelector('.md-header label[for="__drawer"]'),a=e.querySelector("article");if(!t||!a)return e;let r=t.cloneNode();return O((0,n.createElement)(z.default),r),r.id="toggle-sidebar",r.title="Toggle Sidebar",r.classList.add("md-content__button"),r.style.setProperty("padding","0 0 0 5px"),r.style.setProperty("margin","0.4rem 0 0.4rem 0.4rem"),a?.prepend(r),e},e=>(e.querySelector(".md-header")?.remove(),e),e=>(e.querySelector(".md-footer .md-copyright")?.remove(),e.querySelector(".md-footer-copyright")?.remove(),e),...E?[e=>{let t=e.querySelector('[title="Edit this page"]');if(!t||!t.href)return e;let a=new URL(t.href),r=Y.byUrl(a);if(r?.type!=="github"&&r?.type!=="gitlab")return e;let i=e.querySelector("article>h1")?.childNodes[0].textContent||"",o=encodeURIComponent(`Documentation Feedback: ${i}`),l=encodeURIComponent(`Page source:
528
528
  ${t.href}
529
529
 
530
530
  Feedback:`),s=r?.type==="github"?(0,H.F)(a.href,"blob"):a.href,c=_()(s),d=`/${c.organization}/${c.name}`,u=t.cloneNode();switch(r?.type){case"gitlab":u.href=`${a.origin}${d}/issues/new?issue[title]=${o}&issue[description]=${l}`;break;case"github":u.href=`${a.origin}${d}/issues/new?title=${o}&body=${l}`;break;default:return e}return O((0,n.createElement)(F.default),u),u.style.paddingLeft="5px",u.title="Leave feedback for this page",u.id="git-feedback-link",t?.insertAdjacentElement("beforebegin",u),e}]:[],M]),[e,Y,U,P,M,E]),el=(0,n.useCallback)(async t=>{var a;let r;return R(t,[(a=e.name,r=e=>{let t=$(window.location.href),r=new URL(e,t);if(r.hostname!==window.location.hostname){let e=window.location.pathname,r=e.indexOf(a);return new URL(e.slice(0,r+a.length),t).href}return r.href},e=>{for(let t of Array.from(e.querySelectorAll("meta")))if("refresh"===t.getAttribute("http-equiv")){let a=t.getAttribute("content")?.split("url=");if(!a||a.length<2)return e;let n=r(a[1]);if(window.location.href===n)return e;let i=document.createElement("div");O((0,D.jsx)(G,{message:"This TechDocs page is no longer maintained. Will automatically redirect to the designated replacement.",handleButtonClick:()=>N(n),autoHideDuration:3e3}),i),document.body.appendChild(i),setTimeout(()=>{N(n)},3e3);break}return e}),e=>(setTimeout(()=>{let t=e?.querySelectorAll("li.md-nav__item--active");0!==t.length&&(t.forEach(e=>{let t=e?.querySelector("input");t?.checked||t?.click()}),t[t.length-1].scrollIntoView())},200),e),e=>{for(let t of e.querySelectorAll("pre > code")){let e=t.textContent||"",a=document.createElement("div");t?.parentElement?.prepend(a),O((0,D.jsx)(Q.A,{theme:L,children:(0,D.jsx)(en,{text:e})}),a)}return e},(({baseUrl:e,onClick:t})=>a=>(Array.from(a.getElementsByTagName("a")).forEach(a=>{a.addEventListener("click",r=>{let n=a.getAttribute("href");n&&n.startsWith(e)&&!a.hasAttribute("download")&&(r.preventDefault(),t(r,n))})}),a))({baseUrl:V.getOptionalString("app.baseUrl")||window.location.origin,onClick:(e,a)=>{let r=e.ctrlKey||e.metaKey,n=new URL(a),i=e.target?.innerText||a,o=a.replace(window.location.origin,"");K.captureEvent("click",i,{attributes:{to:o}}),n.hash?r?window.open(a,"_blank"):(window.location.pathname!==n.pathname?N(a):window.history.pushState(null,document.title,n.hash),t?.querySelector(`[id="${n.hash.slice(1)}"]`)?.scrollIntoView(),t?.querySelector(`[id="${n.hash.slice(1)}"]`)?.querySelector("a, button, [tabindex]")?.focus()):r?window.open(a,"_blank"):N(a)}}),ei({onLoading:()=>{},onLoaded:()=>{t.querySelector(".md-nav__title")?.removeAttribute("for")}}),ei({onLoading:()=>{Array.from(t.querySelectorAll(".md-sidebar")).forEach(e=>{e.style.setProperty("opacity","0")})},onLoaded:()=>{}}),e=>(e.querySelectorAll("label.md-nav__link[for]").forEach(t=>{t.setAttribute("tabIndex","0"),t.addEventListener("keydown",a=>{if("Enter"===a.key||" "===a.key){let r=t.getAttribute("for");if(!r)return;let n=e.querySelector(`#${r}`);n&&"checkbox"===n.type&&(n.checked=!n.checked,n.dispatchEvent(new Event("change",{bubbles:!0})),a.preventDefault(),a.stopPropagation())}})}),e)])},[L,N,K,e.name,V]);return(0,n.useEffect)(()=>{if(!Z)return()=>{};let e=!0;return eo(Z,W).then(async t=>{t?.innerHTML&&e&&X===W&&(window.scroll({top:0}),ee(await el(t)))}),()=>{e=!1}},[Z,X,W,eo,el]),J})(j,{defaultPath:t,withFeedbackLink:r}),L=(0,i.useLocation)(),T=L.pathname,P=L.hash,M=(0,l._$)(N),[K]=(0,s.$r)([`[id="${P.slice(1)}"]`]),{NotFoundErrorPage:U}=(0,c.n)().getComponents();(0,n.useEffect)(()=>{if(!M)if(P){if(K){K.scrollIntoView();let e=K.querySelector("a.headerlink");e&&e.focus()}}else document?.querySelector("header")?.scrollIntoView()},[T,P,K,M]);let Y=(0,n.useCallback)(e=>{C(e),a instanceof Function&&a()},[C,a]),V=!!N;return{entityRef:j,entityMetadata:b,dom:N,handleAppend:Y,isNotFound:!1===x&&!b,isDomReady:V,showProgress:"CHECKING"===E||M,NotFoundErrorPage:U}}},59535(e,t,a){a.d(t,{f:()=>m});var r=a(14041),n=a(18690),i=a(58077),o=a(50509),l=a(19735),s=a(90479),c=a(63401),d=a(87623),u=a(56005),p=a.n(u);function m(){let e=(0,s.YR)(),t=(0,o.gf)(l.U),a=(0,o.gf)(d.n),{"*":u=""}=(0,n.useParams)(),{title:m,setTitle:h,subtitle:g,setSubtitle:f,entityRef:v,metadata:{value:y,loading:b},entityMetadata:{value:x,loading:j}}=(0,c.V)();(0,r.useEffect)(()=>{y&&(h(y.site_name),f(()=>{let{site_description:e}=y;return e&&"None"!==e||(e=""),e}))},[y,h,f]);let w=t.getOptionalString("app.title")||"Backstage",A=x?.locationMetadata,k=!!A&&"dir"!==A.type&&"file"!==A.type,S=!b&&void 0===y,C=!j&&void 0===x||S,E=w;if(!C){let e=(0,i.U2)(v),t=a.forEntity(e).snapshot.primaryTitle,r=[];""!==u&&(r=u.replace(/\/$/,"").split("/").map(e=>e.replace(/[-_]/g," ").split(" ").map(p()).join(" "))),E=[t,...r,w].join(" | ")}return{title:m,subtitle:g,entityRef:v,entityMetadata:x,tabTitle:E,hidden:C,showSourceLink:k,sourceLink:A?.target,addons:e}}},36985(e,t,a){a.d(t,{F:()=>i});var r=a(14041),n=a(63489);function i(e){let{setFilters:t,setTerm:a,term:i,result:{loading:o,value:l}}=(0,n.SQ)(),[s,c]=(0,r.useState)([]),[d,u]=(0,r.useState)(!1),p=(0,r.useRef)();(0,r.useEffect)(()=>{l&&c(l.results.slice(0,10))},[o,l]),(0,r.useEffect)(()=>(clearTimeout(p.current),u(!1),o&&(p.current=setTimeout(()=>u(!0),200)),()=>clearTimeout(p.current)),[i,o]);let{kind:m,name:h,namespace:g}=e;return(0,r.useEffect)(()=>{t(e=>({...e,kind:m,namespace:g,name:h}))},[m,g,h,t]),{results:s,term:i,setTerm:a,loading:o,deferredLoading:d}}},81697(e,t,a){a.d(t,{W:()=>et});var r=a(31085),n=a(14041),i=a(18690),o=a(12439),l=a(55489),s=a(90479),c=a(63401),d=a(59177),u=a(93285),p=a(42899),m=a(4387),h=a(13660),g=a(10337),f=a(53320),v=a(3438),y=a(53987),b=a(49185),x=a(27231),j=a(70111),w=a(89595),A=a(81219),k=a(56005),S=a.n(k),C=a(90898),E=a(64009),N=a(59535);let L=(0,r.jsx)(m.A,{animation:"wave",variant:"text",height:40}),T=e=>{let{children:t}=e,{t:a}=(0,w.i)(E.M),{title:n,subtitle:i,entityRef:o,entityMetadata:l,tabTitle:s,hidden:c,showSourceLink:d,sourceLink:m,addons:k}=(0,N.f)(),T=(0,A.S)(C.rQ)();if(c)return null;let{spec:P}=l||{},I=P?.lifecycle,R=l?(0,f.t)(l,b.vv):[],B=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(x.S,{label:S()(l?.kind||"entity"),value:(0,r.jsx)(v.z,{color:"inherit",entityRef:o,defaultKind:"Component"})}),R.length>0&&(0,r.jsx)(x.S,{label:a("readerPageHeader.owner"),value:(0,r.jsx)(y.i,{color:"inherit",entityRefs:R,defaultKind:"group"})}),I?(0,r.jsx)(x.S,{label:a("readerPageHeader.lifecycle"),value:String(I)}):null,d?(0,r.jsx)(x.S,{label:"",value:(0,r.jsxs)(p.A,{container:!0,direction:"column",alignItems:"center",children:[(0,r.jsx)(p.A,{style:{padding:0},item:!0,children:(0,r.jsx)(h.default,{style:{marginTop:"-25px"}})}),(0,r.jsx)(p.A,{style:{padding:0},item:!0,children:a("readerPageHeader.source")})]}),url:m}):null]});return(0,r.jsxs)(j.Y,{type:"Documentation",typeLink:T,title:n||L,subtitle:""===i?void 0:i||L,children:[(0,r.jsx)(u.A,{titleTemplate:"%s",children:(0,r.jsx)("title",{children:s})}),B,t,k.renderComponentsByLocation(g.e.Header)]})};var P=a(4518),I=a(90615),R=a(65605),B=a(60691),$=a(91189),z=a(64947),O=a(50509),H=a(76637),F=a(71531),M=a(91042),_=a(76842),D=a(33947);function K(e){let{children:t,...a}=e,{Progress:i}=(0,$.n)().getComponents(),o=function(e){let{pluginId:t}=e??{},a=(0,O.gf)(H.a),r=(0,O.gf)(F.I),i=(0,n.useMemo)(()=>"BroadcastChannel"in window?new BroadcastChannel(`${t}-auth-cookie-expires-at`):null,[t]),[o,l]=(0,M.Y)(async()=>{let e=await r.getBaseUrl(t),n=`${e}/.backstage/auth/v1/cookie`,i=await a.fetch(`${n}`,{credentials:"include"});if(!i.ok){if(404===i.status)return{expiresAt:new Date(Date.now()+31536e6)};throw await D.o.fromResponse(i)}let o=await i.json();if(!o.expiresAt)throw Error("No expiration date found in response");return o});(0,_.u)(l.execute);let s=(0,n.useCallback)(()=>{l.execute()},[l]),c=(0,n.useCallback)(e=>{let t=(1+3*Math.random())*6e4,a=setTimeout(s,Date.parse(e.expiresAt)-Date.now()-t);return()=>clearTimeout(a)},[s]);return((0,n.useEffect)(()=>{if("success"!==o.status||!o.result)return()=>{};i?.postMessage({action:"COOKIE_REFRESH_SUCCESS",payload:o.result});let e=c(o.result),t=t=>{let{action:a,payload:r}=t.data;"COOKIE_REFRESH_SUCCESS"===a&&(e(),e=c(r))};return i?.addEventListener("message",t),()=>{e(),i?.removeEventListener("message",t)}},[o,c,i]),"not-executed"===o.status||"loading"===o.status&&!o.result||"loading"===o.status&&o.error)?{status:"loading"}:"error"===o.status&&o.error?{status:"error",error:o.error,retry:s}:{status:"success",data:o.result}}(a);return"loading"===o.status?(0,r.jsx)(i,{}):"error"===o.status?(0,r.jsx)(B.b,{error:o.error,children:(0,r.jsx)(z.A,{variant:"outlined",onClick:o.retry,children:"Retry"})}):(0,r.jsx)(r.Fragment,{children:t})}var U=a(60882),Y=a(54917),V=a(41329),q=a(50868),W=a(73466),G=a(76272),Q=a(58077),Z=a(95269),X=a(78931);let J=e=>{let{withSearch:t,withHeader:a=!0}=e;return(0,r.jsxs)(o.Y,{themeId:"documentation",children:[a&&(0,r.jsx)(T,{}),(0,r.jsx)(P.Z,{}),(0,r.jsx)(d.p,{withSearch:t})]})},ee=(0,U.A)(o.Y)({height:"inherit",overflowY:"visible"}),et=e=>{let t,a,o,d,u,p,m,h,g=(0,Y.A)(),f=(0,n.useMemo)(()=>(0,V.A)({...g,...e.overrideThemeOptions||{}}),[g,e.overrideThemeOptions]),{kind:v,name:y,namespace:b}=(0,I.K)(C.Oc),{children:x,entityRef:j={kind:v,name:y,namespace:b}}=e,w=(0,i.useOutlet)(),k=(0,n.useMemo)(()=>({kind:j.kind,name:j.name,namespace:j.namespace}),[j.kind,j.name,j.namespace]),{shouldShowProgress:S}=(t=(0,O.gf)(G.v),a=(0,i.useNavigate)(),o=(0,A.S)(C.Oc),d=(0,Q.U2)(k),p=(u=(0,n.useRef)(null)).current!==d,m=(0,W.A)(async()=>{try{let e=await t.getEntityByRef(k);if(e?.metadata?.annotations?.[X.GO])return(0,Z.b1)(e,o)}catch(e){}},[d,t]),(0,n.useEffect)(()=>{!m.loading&&m.value&&a(m.value,{replace:!0}),m.loading||m.value||(u.current=d)},[m.loading,m.value,a,d]),h=p&&m.loading||!!m.value,{loading:m.loading,shouldShowProgress:h}),E=(0,n.useMemo)(()=>x?null:(w?n.Children.toArray(w.props.children):[]).flatMap(e=>e?.props?.children??[]).find(e=>!(0,R.E)(e,s.AF)&&!(0,R.E)(e,s.Wm)),[x,w]);return S?(0,r.jsx)(l.k,{}):x?(0,r.jsx)(q.A,{theme:f,children:(0,r.jsx)(K,{pluginId:"techdocs",children:(0,r.jsx)(c.R,{entityRef:k,children:({metadata:e,entityMetadata:t,onReady:a})=>(0,r.jsx)(ee,{themeId:"documentation",className:"techdocs-reader-page",children:x instanceof Function?x({entityRef:k,techdocsMetadataValue:e.value,entityMetadataValue:t.value,onReady:a}):x})})})}):(0,r.jsx)(q.A,{theme:f,children:(0,r.jsx)(K,{pluginId:"techdocs",children:(0,r.jsx)(c.R,{entityRef:k,children:E||(0,r.jsx)(J,{})})})})}},59177(e,t,a){let r;a.d(t,{p:()=>D});var n=a(31085),i=a(42899),o=a(58837),l=a(96741),s=a(84391),c=a(55489),d=a(14041),u=a(78467),p=a(62683),m=a(63489),h=a(50509),g=a(19735),f=a(91189),v=a(92829),y=a(29365),b=a(34839),x=a(16249),j=a(64947),w=a(45917),A=a(48240),k=a(89595);let S=(0,a(97386).h)({id:"search-react",messages:{searchBar:{title:"Search",placeholder:"Search in {{org}}",clearButtonTitle:"Clear"},searchFilter:{allOptionTitle:"All"},searchPagination:{limitLabel:"Results per page:",limitText:"of {{num}}"},noResultsDescription:"Sorry, no results were found",searchResultGroup:{linkTitle:"See All",addFilterButtonTitle:"Add filter"},searchResultPager:{previous:"Previous",next:"Next"}}}),C=(0,d.forwardRef)((e,t)=>{let{onChange:a,onKeyDown:r=()=>{},onClear:i=()=>{},onSubmit:o=()=>{},debounceTime:l=200,clearButton:s=!0,fullWidth:c=!0,value:u,label:p,placeholder:v,inputProps:C={},InputProps:E={},endAdornment:N,...L}=e,T=(0,h.gf)(g.U),[P,I]=(0,d.useState)(""),R=(0,d.useRef)(""),{t:B}=(0,k.i)(S);(0,d.useEffect)(()=>{I(e=>e===R.current?String(u):e)},[u,R]),(0,A.A)(()=>{R.current=P,a(P)},l,[P]);let $=(0,d.useCallback)(e=>{I(e.target.value)},[I]),z=(0,d.useCallback)(e=>{r&&r(e),o&&"Enter"===e.key&&o()},[r,o]),O=(0,d.useCallback)(()=>{R.current="",a(""),I(""),i&&i()},[a,i]),H=p?void 0:B("searchBar.title"),F=v??B("searchBar.placeholder",{org:T.getOptionalString("app.title")||"Backstage"}),M=(0,f.n)().getSystemIcon("search")||w.default,_=(0,n.jsx)(b.A,{position:"start",children:(0,n.jsx)(y.A,{"aria-label":"Query",size:"small",disabled:!0,children:(0,n.jsx)(M,{})})}),D=(0,n.jsx)(b.A,{position:"end",children:(0,n.jsx)(j.A,{"aria-label":B("searchBar.clearButtonTitle"),size:"small",onClick:O,onKeyDown:e=>{"Enter"===e.key&&e.stopPropagation()},children:B("searchBar.clearButtonTitle")})});return(0,n.jsx)(m.Lt,{inheritParentContextIfAvailable:!0,children:(0,n.jsx)(x.A,{id:"search-bar-text-field","data-testid":"search-bar-next",variant:"outlined",margin:"normal",inputRef:t,value:P,label:p,placeholder:F,InputProps:{startAdornment:_,endAdornment:s?D:N,...E},inputProps:{"aria-label":H,...C},fullWidth:c,onChange:$,onKeyDown:z,...L})})}),E=(0,d.forwardRef)((e,t)=>{let{value:a="",onChange:r,...i}=e,{term:o,setTerm:l}=(0,m.SQ)();(0,d.useEffect)(()=>{a&&l(String(a))},[a,l]);let s=(0,d.useCallback)(e=>{r?r(e):l(e)},[r,l]);return(0,n.jsx)(m.Lt,{inheritParentContextIfAvailable:!0,children:(0,n.jsx)(v.Ig,{attributes:{pluginId:"search",extension:"SearchBar"},children:(0,n.jsx)(C,{...i,ref:t,value:o,onChange:s})})})}),N=(0,o.A)(e=>({loading:{right:e.spacing(1),position:"absolute"}})),L=()=>{let e=N();return(0,n.jsx)(u.A,{className:e.loading,"data-testid":"search-autocomplete-progressbar",color:"inherit",size:20})},T=(r=function(e){let{loading:t,value:a,onChange:r=()=>{},options:i=[],getOptionLabel:o=e=>String(e),inputPlaceholder:l,inputDebounceTime:s,freeSolo:c=!0,fullWidth:u=!0,clearOnBlur:h=!1,"data-testid":g="search-autocomplete",...f}=e,{setTerm:v}=(0,m.SQ)(),y=(0,d.useCallback)(e=>e?"string"==typeof e?e:o(e):"",[o]),b=(0,d.useMemo)(()=>y(a),[a,y]),x=(0,d.useCallback)((e,t,a,n)=>{v(y(t)),r(e,t,a,n)},[y,v,r]),j=(0,d.useCallback)(({InputProps:{ref:e,className:a,endAdornment:r},InputLabelProps:i,...o})=>(0,n.jsx)(E,{...o,ref:e,clearButton:!1,value:b,placeholder:l,debounceTime:s,endAdornment:t?(0,n.jsx)(L,{}):r,InputProps:{className:a}}),[t,b,l,s]);return(0,n.jsx)(p.Ay,{...f,"data-testid":g,value:a,onChange:x,options:i,getOptionLabel:o,renderInput:j,freeSolo:c,fullWidth:u,clearOnBlur:h})},e=>(0,n.jsx)(m.Lt,{inheritParentContextIfAvailable:!0,children:(0,n.jsx)(r,{...e})}));var P=a(18690),I=a(64009),R=a(26761),B=a(36985);let $=e=>{let{entityId:t,entityTitle:a,debounceTime:r=150,searchResultUrlMapper:i}=e,[o,l]=(0,d.useState)(!1),s=(0,P.useNavigate)(),{t:c}=(0,k.i)(I.M),{results:u,term:p,loading:m}=(0,B.F)(t);return(0,n.jsx)(T,{"data-testid":"techdocs-search-bar",size:"small",open:o&&!!p,getOptionLabel:()=>"",filterOptions:e=>e,onClose:()=>{l(!1)},onOpen:()=>{l(!0)},onChange:(e,t)=>{if(t?.document){let{location:e}=t.document;s(i?i(e):e)}},blurOnSelect:!0,noOptionsText:c("search.noResults"),value:null,options:u,renderOption:({document:e,highlight:t})=>(0,n.jsx)(R.TechDocsSearchResultListItem,{result:e,lineClamp:3,asListItem:!1,asLink:!1,title:e.title,highlight:t}),loading:m,inputDebounceTime:r,inputPlaceholder:c("search.placeholder",{entityTitle:a||t.name}),freeSolo:!1})},z=e=>{let t={term:"",types:["techdocs"],pageCursor:"",filters:e.entityId};return(0,n.jsx)(m.Lt,{initialState:t,children:(0,n.jsx)($,{...e})})};var O=a(3905),H=a(4723),F=a(73455),M=a(31035);let _=(0,o.A)({search:{width:"100%","@media (min-width: 76.1875em)":{width:"calc(100% - 34.4rem)",margin:"0 auto"},"@media print":{display:"none"}}}),D=(0,H.sh)(e=>{let{withSearch:t=!0,searchResultUrlMapper:a}=e,r=_(),{entityRef:o,entityMetadata:d,dom:u,handleAppend:p,isNotFound:m,isDomReady:h,showProgress:g,NotFoundErrorPage:f}=(0,M.t)({defaultPath:e.defaultPath,onReady:e.onReady,withFeedbackLink:e.withFeedbackLink});return m?(0,n.jsx)(f,{}):h?(0,n.jsx)(s.U,{children:(0,n.jsxs)(i.A,{container:!0,children:[(0,n.jsx)(i.A,{xs:12,item:!0,children:(0,n.jsx)(O.W,{})}),t&&(0,n.jsx)(i.A,{className:r.search,xs:"auto",item:!0,children:(0,n.jsx)(z,{entityId:o,entityTitle:d?.metadata?.title,searchResultUrlMapper:a})}),(0,n.jsxs)(i.A,{xs:12,item:!0,children:[g&&(0,n.jsx)(c.k,{}),(0,n.jsx)(l.eh,{element:u,onAppend:p,children:(0,n.jsx)(F.k,{})})]})]})}):(0,n.jsx)(s.U,{children:(0,n.jsx)(i.A,{container:!0,children:(0,n.jsx)(i.A,{xs:12,item:!0,children:(0,n.jsx)(O.W,{})})})})})},73455(e,t,a){a.d(t,{k:()=>s});var r=a(31085),n=a(41883),i=a(90479),o=a(63401),l=a(10337);let s=()=>{let e=(0,i.YR)(),{shadowRoot:t}=(0,o.V)(),a=t?.querySelector('[data-md-component="content"]'),s=t?.querySelector('div[data-md-component="sidebar"][data-md-type="navigation"], div[data-md-component="navigation"]'),c=s?.querySelector('[data-techdocs-addons-location="primary sidebar"]');c||((c=document.createElement("div")).setAttribute("data-techdocs-addons-location","primary sidebar"),s?.prepend(c));let d=t?.querySelector('div[data-md-component="sidebar"][data-md-type="toc"], div[data-md-component="toc"]'),u=d?.querySelector('[data-techdocs-addons-location="secondary sidebar"]');return u||((u=document.createElement("div")).setAttribute("data-techdocs-addons-location","secondary sidebar"),d?.prepend(u)),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.A,{container:c,children:e.renderComponentsByLocation(l.e.PrimarySidebar)}),(0,r.jsx)(n.A,{container:a,children:e.renderComponentsByLocation(l.e.Content)}),(0,r.jsx)(n.A,{container:u,children:e.renderComponentsByLocation(l.e.SecondarySidebar)})]})}},4518(e,t,a){a.d(t,{Z:()=>y});var r=a(31085),n=a(14041),i=a(58837),o=a(29365),l=a(75173),s=a(71677),c=a(37757),d=a(77125),u=a(9684),p=a(63401),m=a(90479),h=a(10337),g=a(89595),f=a(64009);let v=(0,i.A)(e=>({root:{gridArea:"pageSubheader",flexDirection:"column",minHeight:"auto",padding:e.spacing(3,3,0),"@media print":{display:"none"}}})),y=e=>{let t=v(),{t:a}=(0,g.i)(f.M),[i,y]=(0,n.useState)(null),b=(0,n.useCallback)(e=>{y(e.currentTarget)},[]),x=(0,n.useCallback)(()=>{y(null)},[]),{entityMetadata:{value:j,loading:w}}=(0,p.V)(),A=(0,m.YR)(),k=A.renderComponentsByLocation(h.e.Subheader),S=A.renderComponentsByLocation(h.e.Settings);return(k||S)&&(!1!==w||j)?(0,r.jsx)(l.A,{classes:t,...e.toolbarProps,children:(0,r.jsxs)(d.A,{display:"flex",justifyContent:"flex-end",width:"100%",flexWrap:"wrap",children:[k,S?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.Ay,{title:a("reader.settings"),children:(0,r.jsx)(o.A,{"aria-controls":"tech-docs-reader-page-settings","aria-haspopup":"true",onClick:b,children:(0,r.jsx)(u.default,{})})}),(0,r.jsx)(c.A,{id:"tech-docs-reader-page-settings",getContentAnchorEl:null,anchorEl:i,anchorOrigin:{vertical:"bottom",horizontal:"right"},open:!!i,onClose:x,keepMounted:!0,children:(0,r.jsx)("div",{children:S})})]}):null]})}):null}},4723(e,t,a){a.d(t,{sh:()=>g,wz:()=>m});var r=a(31085),n=a(14041),i=a(18690),o=a(63401),l=a(50509),s=a(73466),c=a(28966),d=a(18288);function u(e,t){let a={...e};switch(t.type){case"sync":"CHECKING"===t.state&&(a.buildLog=[]),a.activeSyncState=t.state,a.syncError=t.syncError;break;case"contentLoading":a.contentLoading=!0,a.contentError=void 0;break;case"content":"string"==typeof t.path&&(a.path=t.path),a.contentLoading=!1,a.content=t.content,a.contentError=t.contentError;break;case"buildLog":a.buildLog=a.buildLog.concat(t.log);break;default:throw Error()}return["BUILD_READY","BUILD_READY_RELOAD"].includes(a.activeSyncState)&&["contentLoading","content"].includes(t.type)&&(a.activeSyncState="UP_TO_DATE",a.buildLog=[]),a}let p=(0,n.createContext)({}),m=()=>(0,n.useContext)(p),h=e=>{let{children:t}=e,{"*":a=""}=(0,i.useParams)(),{entityRef:m}=(0,o.V)(),{kind:h,namespace:g,name:f}=m,v=function(e,t,a,r){let[i,o]=(0,n.useReducer)(u,{activeSyncState:"CHECKING",path:r,contentLoading:!0,buildLog:[]}),p=(0,l.gf)(d.s),{retry:m}=(0,c.A)(async()=>{o({type:"contentLoading"});try{let n=await p.getEntityDocs({kind:e,namespace:t,name:a},r);return o({type:"content",content:n,path:r}),n}catch(e){o({type:"content",contentError:e,path:r})}},[p,e,t,a,r]),h=(0,n.useRef)({content:void 0,reload:()=>{}});h.current={content:i.content,reload:m},(0,s.A)(async()=>{o({type:"sync",state:"CHECKING"});let r=setTimeout(()=>{o({type:"sync",state:"BUILDING"})},1e3);try{switch(await p.syncEntityDocs({kind:e,namespace:t,name:a},e=>{o({type:"buildLog",log:e})})){case"updated":h.current.content?o({type:"sync",state:"BUILD_READY"}):(h.current.reload(),o({type:"sync",state:"BUILD_READY_RELOAD"}));break;case"cached":o({type:"sync",state:"UP_TO_DATE"});break;default:o({type:"sync",state:"ERROR",syncError:Error("Unexpected return state")})}}catch(e){o({type:"sync",state:"ERROR",syncError:e})}finally{clearTimeout(r)}},[e,a,t,p,o,h]);let g=(0,n.useMemo)(()=>(function({contentLoading:e,content:t,activeSyncState:a}){return e||"BUILD_READY_RELOAD"===a||!t&&"CHECKING"===a?"CHECKING":t||"BUILDING"!==a?t?"BUILDING"===a?"CONTENT_STALE_REFRESHING":"BUILD_READY"===a?"CONTENT_STALE_READY":"ERROR"===a?"CONTENT_STALE_ERROR":"CONTENT_FRESH":"CONTENT_NOT_FOUND":"INITIAL_BUILD"})({activeSyncState:i.activeSyncState,contentLoading:i.contentLoading,content:i.content}),[i.activeSyncState,i.content,i.contentLoading]);return(0,n.useMemo)(()=>({state:g,contentReload:m,path:i.path,content:i.content,contentErrorMessage:i.contentError?.toString(),syncErrorMessage:i.syncError?.toString(),buildLog:i.buildLog}),[g,m,i.path,i.content,i.contentError,i.syncError,i.buildLog])}(h,g,f,a);return(0,r.jsx)(p.Provider,{value:v,children:t instanceof Function?t(v):t})},g=e=>t=>(0,r.jsx)(h,{children:(0,r.jsx)(e,{...t})})},3905(e,t,a){a.d(t,{W:()=>L});var r=a(31085),n=a(78467),i=a(64947),o=a(58837),l=a(48209),s=a(89595),c=a(14041),d=a(91189);let u=(0,c.lazy)(()=>Promise.all([a.e("1767"),a.e("4591")]).then(a.bind(a,69890)).then(e=>({default:e.RealLogViewer})));function p(e){let{Progress:t}=(0,d.n)().getComponents();return(0,r.jsx)(c.Suspense,{fallback:(0,r.jsx)(t,{}),children:(0,r.jsx)(u,{...e})})}var m=a(73845),h=a(42899),g=a(29365),f=a(72501),v=a(99703),y=a(32881),b=a(64009);let x=(0,o.A)(e=>(0,v.A)({paper:{width:"100%",[e.breakpoints.up("sm")]:{width:"75%"},[e.breakpoints.up("md")]:{width:"50%"},padding:e.spacing(2.5)},root:{height:"100%",overflow:"hidden"},logs:{background:e.palette.background.default}})),j=({buildLog:e,onClose:t})=>{let a=x(),{t:n}=(0,s.i)(b.M),i=0===e.length?n("buildLogs.waitingForLogs"):e.join("\n");return(0,r.jsxs)(h.A,{container:!0,direction:"column",className:a.root,spacing:0,wrap:"nowrap",children:[(0,r.jsxs)(h.A,{item:!0,container:!0,justifyContent:"space-between",alignItems:"center",spacing:0,wrap:"nowrap",children:[(0,r.jsx)(f.A,{variant:"h5",children:n("buildLogs.title")}),(0,r.jsx)(g.A,{title:n("buildLogs.closeDrawer"),onClick:t,color:"inherit",children:(0,r.jsx)(y.default,{})},"dismiss")]}),(0,r.jsx)(h.A,{item:!0,xs:!0,children:(0,r.jsx)(p,{text:i,classes:{root:a.logs}})})]})},w=({buildLog:e})=>{let t=x(),[a,n]=(0,c.useState)(!1),{t:o}=(0,s.i)(b.M);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.A,{color:"inherit",onClick:()=>n(!0),children:o("buildLogs.showBuildLogs")}),(0,r.jsx)(m.Ay,{classes:{paper:t.paper},anchor:"right",open:a,onClose:()=>n(!1),children:(0,r.jsx)(j,{buildLog:e,onClose:()=>n(!1)})})]})};var A=a(53996),k=a(63401),S=a(18690);let C=()=>{let{NotFoundErrorPage:e}=(0,d.n)().getComponents(),t=(0,A.s)(),{entityRef:a}=(0,k.V)(),n=(0,S.useLocation)();return(0,c.useEffect)(()=>{let{pathname:e,search:r,hash:i}=n;t.captureEvent("not-found",`${e}${r}${i}`,{attributes:a})},[t,a,n]),(0,r.jsx)(e,{})};var E=a(4723);let N=(0,o.A)(e=>({root:{marginBottom:e.spacing(2)},message:{wordBreak:"break-word",overflowWrap:"anywhere"}})),L=()=>{let e=null,t=N(),{t:a}=(0,s.i)(b.M),{state:o,contentReload:c,syncErrorMessage:d,buildLog:u}=(0,E.wz)();return"INITIAL_BUILD"===o&&(e=(0,r.jsx)(l.A,{classes:{root:t.root},variant:"outlined",severity:"info",icon:(0,r.jsx)(n.A,{size:"24px"}),action:(0,r.jsx)(w,{buildLog:u}),children:a("stateIndicator.initialBuild.message")})),"CONTENT_STALE_REFRESHING"===o&&(e=(0,r.jsx)(l.A,{variant:"outlined",severity:"info",icon:(0,r.jsx)(n.A,{size:"24px"}),action:(0,r.jsx)(w,{buildLog:u}),classes:{root:t.root},children:a("stateIndicator.contentStaleRefreshing.message")})),"CONTENT_STALE_READY"===o&&(e=(0,r.jsx)(l.A,{variant:"outlined",severity:"success",action:(0,r.jsx)(i.A,{color:"inherit",onClick:()=>c(),children:a("stateIndicator.contentStaleReady.refreshButton")}),classes:{root:t.root},children:a("stateIndicator.contentStaleReady.message")})),"CONTENT_STALE_ERROR"===o&&(e=(0,r.jsxs)(l.A,{variant:"outlined",severity:"error",action:(0,r.jsx)(w,{buildLog:u}),classes:{root:t.root,message:t.message},children:[a("stateIndicator.contentStaleError.message")," ",d]})),"CONTENT_NOT_FOUND"===o&&(e=(0,r.jsxs)(r.Fragment,{children:[d&&(0,r.jsxs)(l.A,{variant:"outlined",severity:"error",action:(0,r.jsx)(w,{buildLog:u}),classes:{root:t.root,message:t.message},children:[a("stateIndicator.contentStaleError.message")," ",d]}),(0,r.jsx)(C,{})]})),e}},26761(e,t,a){a.d(t,{TechDocsSearchResultListItem:()=>u});var r=a(31085),n=a(68804),i=a(5951),o=a(58837),l=a(72501),s=a(60603),c=a(7613);let d=(0,o.A)({flexContainer:{flexWrap:"wrap"},itemText:{width:"100%",marginBottom:"1rem"}}),u=e=>{let{result:t,highlight:a,lineClamp:o=5,asListItem:u=!0,asLink:p=!0,title:m,icon:h}=e,g=d(),f=({children:e})=>p?(0,r.jsx)(s.N_,{noTrack:!0,to:t.location,children:e}):(0,r.jsx)(r.Fragment,{children:e});return(0,r.jsx)(({children:e})=>u?(0,r.jsxs)(r.Fragment,{children:[h&&(0,r.jsx)(n.A,{children:"function"==typeof h?h(t):h}),(0,r.jsx)("div",{className:g.flexContainer,children:e})]}):(0,r.jsx)(r.Fragment,{children:e}),{children:(0,r.jsx)(()=>{let e=a?.fields.title?(0,r.jsx)(c.e,{text:a.fields.title,preTag:a.preTag,postTag:a.postTag}):t.title,n=a?.fields.entityTitle?(0,r.jsx)(c.e,{text:a.fields.entityTitle,preTag:a.preTag,postTag:a.postTag}):t.entityTitle,s=a?.fields.name?(0,r.jsx)(c.e,{text:a.fields.name,preTag:a.preTag,postTag:a.postTag}):t.name;return t?(0,r.jsx)(i.A,{className:g.itemText,primaryTypographyProps:{variant:"h6"},primary:(0,r.jsx)(f,{children:m||(0,r.jsxs)(r.Fragment,{children:[e," | ",n??s," docs"]})}),secondary:(0,r.jsx)(l.A,{component:"span",style:{display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:o,overflow:"hidden"},color:"textSecondary",variant:"body2",children:a?.fields.text?(0,r.jsx)(c.e,{text:a.fields.text,preTag:a.preTag,postTag:a.postTag}):t.text})}):null},{})})}}}]);
531
- //# sourceMappingURL=4609.afdaf67e3d37.chunk.js.map
531
+ //# sourceMappingURL=4609.cac0ebf6bb92.chunk.js.map